layerpro 0.0.60 → 0.0.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/init.js CHANGED
@@ -7,8 +7,6 @@ License: MIT
7
7
 
8
8
  var layerpro = window.layerpro = {}
9
9
 
10
- require(__dirname + '/typings/layerpro.d.ts')
11
-
12
10
  // LOAD SETUP
13
11
  const pjson = require('./package.json')
14
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "layerpro",
3
- "version": "0.0.60",
3
+ "version": "0.0.61",
4
4
  "description": "Manage your popups and customize them",
5
5
  "deprecated": false,
6
6
  "appCode": "layerpro",
@@ -0,0 +1,12 @@
1
+ /*
2
+ Copyright: © 2022 Dario Passariello <dariopassariello@gmail.com>
3
+ License: CC BY-NC-ND 4.0
4
+ */
5
+
6
+ declare global {
7
+ interface Window {
8
+ cordova: any
9
+ }
10
+ }
11
+
12
+ cordova = window.cordova || false
@@ -0,0 +1,29 @@
1
+ /*
2
+ Copyright: © 2022 Dario Passariello <dariopassariello@gmail.com>
3
+ License: CC BY-NC-ND 4.0
4
+ */
5
+
6
+ declare module 'dphelper'
7
+ declare var dphelper: any
8
+ declare var store: any
9
+ declare var state: any
10
+ // declare var _dph: any;
11
+
12
+ declare module 'jquery'
13
+ declare var $: any
14
+
15
+ ////////////////////////////////////////////////////////////////
16
+
17
+ declare global {
18
+ interface Window {
19
+ dphelper: any
20
+ store: any
21
+ state: any
22
+ //_dph:any
23
+ }
24
+ }
25
+
26
+ dphelper = window.dphelper || []
27
+ store = window.store || []
28
+ state = window.state || []
29
+ //_dph = window._dph || [];
@@ -6,7 +6,7 @@ License: CC BY-NC-ND 4.0
6
6
  declare module 'layerpro'
7
7
  declare var layerpro: any
8
8
 
9
- // Remove confirm error about number of paramentes
9
+ // Remove popup errors about number of paramentes or existence
10
10
  declare function confirm(f1?, func1?, func2?)
11
11
  declare function prompt(f1?, string?)
12
12
  declare function message(f1?)
@@ -20,3 +20,4 @@ declare global {
20
20
  }
21
21
 
22
22
  layerpro = window.layerpro || {}
23
+
@@ -0,0 +1,18 @@
1
+ /*
2
+ Copyright: © 2022 Dario Passariello <dariopassariello@gmail.com>
3
+ License: CC BY-NC-ND 4.0
4
+ */
5
+
6
+ declare module 'menupro'
7
+ declare var menupro: any
8
+
9
+ ////////////////////////////////////////////////////////////////
10
+
11
+ declare global {
12
+ interface Window {
13
+ menupro: any
14
+ }
15
+ }
16
+
17
+ menupro = window.menupro || {}
18
+
@@ -0,0 +1,7 @@
1
+
2
+ declare namespace JSX {
3
+ export interface IntrinsicElements {
4
+ 'x-foo': any
5
+ }
6
+ }
7
+