layerpro 0.6.7 → 0.6.9
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/.github/HISTORY.md +5 -1
- package/.github/{LICENSE.md → LICENSE.txt} +1 -1
- package/.github/README.md +46 -14
- package/CHANGELOG.md +9 -0
- package/FUNDING.yml +12 -0
- package/HISTORY.md +30 -0
- package/LICENSE.txt +21 -0
- package/README.md +118 -0
- package/SECURITY.md +3 -0
- package/index.js +39 -2
- package/index.js.map +1 -0
- package/package.json +3 -8
- package/types/layerpro.d.ts +17 -23
- package/index.js.LICENSE.txt +0 -40
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "layerpro",
|
|
3
3
|
"displayName": "layerpro",
|
|
4
|
-
"version": "0.6.
|
|
5
|
-
"description": "
|
|
4
|
+
"version": "0.6.9",
|
|
5
|
+
"description": "Custom popups, alert, confirmn, prompt... by Dario Passariello",
|
|
6
6
|
"copyright": "Dario Passariello",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"relaseType": "gold",
|
|
@@ -84,9 +84,7 @@
|
|
|
84
84
|
},
|
|
85
85
|
"typings": "./types/*",
|
|
86
86
|
"globals": {
|
|
87
|
-
"layerpro": {}
|
|
88
|
-
"jQuery": {},
|
|
89
|
-
"$": {}
|
|
87
|
+
"layerpro": {}
|
|
90
88
|
},
|
|
91
89
|
"browserslist": {
|
|
92
90
|
"production": [
|
|
@@ -210,8 +208,5 @@
|
|
|
210
208
|
"webpack": "^5.93.0",
|
|
211
209
|
"webpack-cli": "^5.1.4",
|
|
212
210
|
"webpack-dev-server": "^5.0.4"
|
|
213
|
-
},
|
|
214
|
-
"dependencies": {
|
|
215
|
-
"moment": "2.30.1"
|
|
216
211
|
}
|
|
217
212
|
}
|
package/types/layerpro.d.ts
CHANGED
|
@@ -12,39 +12,21 @@ 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
|
-
|
|
18
15
|
readonly alert: (txt: String) => any
|
|
19
16
|
readonly prompt: (txt: String, function_: Function, event: Event) => any
|
|
20
17
|
readonly message: (txt: String, function_: Function) => any
|
|
21
18
|
readonly confirm: (txt: String, function_: Function, noFunction_: Func) => any
|
|
22
19
|
|
|
23
20
|
readonly popup: {
|
|
24
|
-
readonly
|
|
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: {
|
|
21
|
+
readonly open: ({
|
|
36
22
|
id: string
|
|
37
23
|
name: string
|
|
38
24
|
body: any
|
|
39
25
|
width: string | percentage
|
|
40
26
|
height: string | percentage
|
|
41
|
-
top: string | percentage
|
|
42
|
-
left: string | percentage
|
|
43
|
-
|
|
44
|
-
source?: ""
|
|
45
27
|
icon?: string
|
|
46
28
|
maximize?: boolean
|
|
47
|
-
iconize
|
|
29
|
+
iconize?: boolean
|
|
48
30
|
close?: any
|
|
49
31
|
raised?: boolean
|
|
50
32
|
movable?: boolean
|
|
@@ -54,7 +36,6 @@ interface dpLayerPro {
|
|
|
54
36
|
store?: boolean
|
|
55
37
|
fadeIn?: number
|
|
56
38
|
fadeOut?: number
|
|
57
|
-
|
|
58
39
|
top?: number | percentage
|
|
59
40
|
left?: number | percentage
|
|
60
41
|
right?: number | percentage
|
|
@@ -65,10 +46,23 @@ interface dpLayerPro {
|
|
|
65
46
|
maxHeight?: number | percentage
|
|
66
47
|
|
|
67
48
|
// TODO
|
|
49
|
+
source?: ""
|
|
68
50
|
className?: string
|
|
69
51
|
style?: string
|
|
70
|
-
})
|
|
71
|
-
|
|
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) => {}
|
|
72
66
|
}
|
|
73
67
|
}
|
|
74
68
|
|
package/index.js.LICENSE.txt
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
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
|
-
*/
|