layerpro 0.6.9 → 0.6.85

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.
@@ -0,0 +1,40 @@
1
+ /*!
2
+ * jQuery JavaScript Library v3.7.1
3
+ * https://jquery.com/
4
+ *
5
+ * Copyright OpenJS Foundation and other contributors
6
+ * Released under the MIT license
7
+ * https://jquery.org/license
8
+ *
9
+ * Date: 2023-08-28T13:37Z
10
+ */
11
+
12
+ /**
13
+ * @license React
14
+ * react-dom.production.min.js
15
+ *
16
+ * Copyright (c) Facebook, Inc. and its affiliates.
17
+ *
18
+ * This source code is licensed under the MIT license found in the
19
+ * LICENSE file in the root directory of this source tree.
20
+ */
21
+
22
+ /**
23
+ * @license React
24
+ * react.production.min.js
25
+ *
26
+ * Copyright (c) Facebook, Inc. and its affiliates.
27
+ *
28
+ * This source code is licensed under the MIT license found in the
29
+ * LICENSE file in the root directory of this source tree.
30
+ */
31
+
32
+ /**
33
+ * @license React
34
+ * scheduler.production.min.js
35
+ *
36
+ * Copyright (c) Facebook, Inc. and its affiliates.
37
+ *
38
+ * This source code is licensed under the MIT license found in the
39
+ * LICENSE file in the root directory of this source tree.
40
+ */
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "layerpro",
3
3
  "displayName": "layerpro",
4
- "version": "0.6.9",
5
- "description": "Custom popups, alert, confirmn, prompt... by Dario Passariello",
4
+ "version": "0.6.85",
5
+ "description": "Manage your popups and customize them",
6
6
  "copyright": "Dario Passariello",
7
7
  "license": "MIT",
8
8
  "relaseType": "gold",
@@ -84,7 +84,9 @@
84
84
  },
85
85
  "typings": "./types/*",
86
86
  "globals": {
87
- "layerpro": {}
87
+ "layerpro": {},
88
+ "jQuery": {},
89
+ "$": {}
88
90
  },
89
91
  "browserslist": {
90
92
  "production": [
@@ -208,5 +210,8 @@
208
210
  "webpack": "^5.93.0",
209
211
  "webpack-cli": "^5.1.4",
210
212
  "webpack-dev-server": "^5.0.4"
213
+ },
214
+ "dependencies": {
215
+ "moment": "2.30.1"
211
216
  }
212
217
  }
@@ -12,21 +12,39 @@ declare function prompt(f1?, string?)
12
12
 
13
13
  interface dpLayerPro {
14
14
 
15
+ readonly credits: (name: string) => any
16
+ readonly purge: (name: Any) => any
17
+
15
18
  readonly alert: (txt: String) => any
16
19
  readonly prompt: (txt: String, function_: Function, event: Event) => any
17
20
  readonly message: (txt: String, function_: Function) => any
18
21
  readonly confirm: (txt: String, function_: Function, noFunction_: Func) => any
19
22
 
20
23
  readonly popup: {
21
- readonly open: ({
24
+ readonly close: (value: any) => {}
25
+ readonly center: (value: any) => {}
26
+ readonly maximize: (value: any) => {}
27
+ readonly iconize: (value: any) => {}
28
+ readonly raised: (value: any) => {}
29
+ readonly movable: (value: any) => {}
30
+ readonly resizable: (value: any) => {}
31
+ readonly dockable: (value: any) => {}
32
+ readonly store: (value: any) => {}
33
+ readonly index: (value: any) => {}
34
+ readonly zIndex: (value: any) => {}
35
+ readonly open: (prop: {
22
36
  id: string
23
37
  name: string
24
38
  body: any
25
39
  width: string | percentage
26
40
  height: string | percentage
41
+ top: string | percentage
42
+ left: string | percentage
43
+
44
+ source?: ""
27
45
  icon?: string
28
46
  maximize?: boolean
29
- iconize?: boolean
47
+ iconize: boolean
30
48
  close?: any
31
49
  raised?: boolean
32
50
  movable?: boolean
@@ -36,6 +54,7 @@ interface dpLayerPro {
36
54
  store?: boolean
37
55
  fadeIn?: number
38
56
  fadeOut?: number
57
+
39
58
  top?: number | percentage
40
59
  left?: number | percentage
41
60
  right?: number | percentage
@@ -46,23 +65,10 @@ interface dpLayerPro {
46
65
  maxHeight?: number | percentage
47
66
 
48
67
  // TODO
49
- source?: ""
50
68
  className?: string
51
69
  style?: string
52
- }),
53
- readonly close: (value: any) => {}
54
- // readonly credits: (name: string) => any
55
- // readonly purge: (name: Any) => any
56
- // readonly center: (value: any) => {}
57
- // readonly maximize: (value: any) => {}
58
- // readonly iconize: (value: any) => {}
59
- // readonly raised: (value: any) => {}
60
- // readonly movable: (value: any) => {}
61
- // readonly resizable: (value: any) => {}
62
- // readonly dockable: (value: any) => {}
63
- // readonly store: (value: any) => {}
64
- // readonly index: (value: any) => {}
65
- // readonly zIndex: (value: any) => {}
70
+ }) => {}
71
+
66
72
  }
67
73
  }
68
74