layerpro 1.1.14 → 1.1.20
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/README.md +0 -2
- package/index.js +1 -1
- package/package.json +164 -160
- package/types/jquery.d.ts +1 -1
- package/types/layerpro.d.ts +4 -1
package/package.json
CHANGED
|
@@ -1,160 +1,164 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "layerpro",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "Custom modals, alert, confirm, prompt... by Dario Passariello",
|
|
5
|
-
"copyright": "Dario Passariello",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"main": "./index.js",
|
|
8
|
-
"deprecated": false,
|
|
9
|
-
"preferGlobal": true,
|
|
10
|
-
"target": "web",
|
|
11
|
-
"language": {
|
|
12
|
-
"en": {}
|
|
13
|
-
},
|
|
14
|
-
"app": {
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
},
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
"
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
"last 2
|
|
77
|
-
"last 2
|
|
78
|
-
"last 2
|
|
79
|
-
"last 2
|
|
80
|
-
"last 2
|
|
81
|
-
"last
|
|
82
|
-
"last 1
|
|
83
|
-
"last 1
|
|
84
|
-
"last 1
|
|
85
|
-
"last 1
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"not
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
"last 1
|
|
94
|
-
"last 1
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
"
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
"@
|
|
134
|
-
"@eslint/
|
|
135
|
-
"@
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"
|
|
151
|
-
"
|
|
152
|
-
"
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
"
|
|
156
|
-
"
|
|
157
|
-
"
|
|
158
|
-
"
|
|
159
|
-
|
|
160
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "layerpro",
|
|
3
|
+
"version": "1.1.20",
|
|
4
|
+
"description": "Custom modals, alert, confirm, prompt... by Dario Passariello",
|
|
5
|
+
"copyright": "Dario Passariello",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"main": "./index.js",
|
|
8
|
+
"deprecated": false,
|
|
9
|
+
"preferGlobal": true,
|
|
10
|
+
"target": "web",
|
|
11
|
+
"language": {
|
|
12
|
+
"en": {}
|
|
13
|
+
},
|
|
14
|
+
"app": {
|
|
15
|
+
"folder": "/",
|
|
16
|
+
"port": 3000,
|
|
17
|
+
"code": "layerpro",
|
|
18
|
+
"type": "alpha",
|
|
19
|
+
"host": {
|
|
20
|
+
"dev": "http://localhost",
|
|
21
|
+
"prod": "https://examplepage.picla.net"
|
|
22
|
+
},
|
|
23
|
+
"proxy": {
|
|
24
|
+
"api": {
|
|
25
|
+
"dev": "http://localhost:5003/",
|
|
26
|
+
"pro": "https://api.a51.dev/"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"socket": {
|
|
30
|
+
"url": {
|
|
31
|
+
"tst": "wss://ws.a51.dev/",
|
|
32
|
+
"dev": "wss://ws.a51.dev/",
|
|
33
|
+
"pro": "wss://ws.a51.dev/"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"author": {
|
|
38
|
+
"name": "Dario Passariello",
|
|
39
|
+
"url": "https://dario.passariello.ca/",
|
|
40
|
+
"email": "dariopassariello@gmail.com"
|
|
41
|
+
},
|
|
42
|
+
"support": {
|
|
43
|
+
"name": "Dario Passariello",
|
|
44
|
+
"url": "https://dario.passariello.ca/",
|
|
45
|
+
"email": "dariopassariello@gmail.com"
|
|
46
|
+
},
|
|
47
|
+
"company": {},
|
|
48
|
+
"contributors": [
|
|
49
|
+
{
|
|
50
|
+
"name": "Dario Passariello",
|
|
51
|
+
"email": "dariopassarielloa@gmail.com"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "Valeria Cala Scaglitta",
|
|
55
|
+
"email": "valeriacalascaglitta@gmail.com"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"workspaces": [
|
|
59
|
+
".dev"
|
|
60
|
+
],
|
|
61
|
+
"npmName": "layerpro",
|
|
62
|
+
"npmFileMap": [
|
|
63
|
+
{
|
|
64
|
+
"basePath": "./dist/",
|
|
65
|
+
"files": [
|
|
66
|
+
"*.js"
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"globals": {
|
|
71
|
+
"layerpro": {}
|
|
72
|
+
},
|
|
73
|
+
"browserslist": {
|
|
74
|
+
"production": [
|
|
75
|
+
"last 2 Chrome major versions",
|
|
76
|
+
"last 2 Firefox major versions",
|
|
77
|
+
"last 2 Safari major versions",
|
|
78
|
+
"last 2 Edge major versions",
|
|
79
|
+
"last 2 Opera versions",
|
|
80
|
+
"last 2 iOS major versions",
|
|
81
|
+
"last 1 Explorer major version",
|
|
82
|
+
"last 1 ChromeAndroid version",
|
|
83
|
+
"last 1 UCAndroid version",
|
|
84
|
+
"last 1 Samsung version",
|
|
85
|
+
"last 1 OperaMini version",
|
|
86
|
+
"Firefox ESR",
|
|
87
|
+
">0.2%",
|
|
88
|
+
"not dead",
|
|
89
|
+
"not op_mini all"
|
|
90
|
+
],
|
|
91
|
+
"development": [
|
|
92
|
+
"last 1 chrome version",
|
|
93
|
+
"last 1 firefox version",
|
|
94
|
+
"last 1 safari version"
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
"keywords": [
|
|
98
|
+
"layer",
|
|
99
|
+
"popup",
|
|
100
|
+
"modal",
|
|
101
|
+
"passariello",
|
|
102
|
+
"layerpro",
|
|
103
|
+
"alert",
|
|
104
|
+
"confirmation",
|
|
105
|
+
"prompt",
|
|
106
|
+
"custom",
|
|
107
|
+
"dock",
|
|
108
|
+
"multi",
|
|
109
|
+
"window"
|
|
110
|
+
],
|
|
111
|
+
"funding": [
|
|
112
|
+
{
|
|
113
|
+
"type": "patreon",
|
|
114
|
+
"url": "https://www.patreon.com/passariello"
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
"scripts": {
|
|
118
|
+
"watch": "webpack --watch --progress --color --mode production --config webpack.ts",
|
|
119
|
+
"build": "webpack --progress --color --mode production --config webpack.ts",
|
|
120
|
+
"-----------": "",
|
|
121
|
+
"npm publish": "npm run build && cd dist && ls -al && npm publish"
|
|
122
|
+
},
|
|
123
|
+
"engines": {
|
|
124
|
+
"node": ">=18"
|
|
125
|
+
},
|
|
126
|
+
"types": "./index.d.ts",
|
|
127
|
+
"typings": "./types/*",
|
|
128
|
+
"typing": [
|
|
129
|
+
"types/*"
|
|
130
|
+
],
|
|
131
|
+
"devDependencies": {
|
|
132
|
+
"@types/node": "^25.0.6",
|
|
133
|
+
"@types/webpack-env": "1.18.8",
|
|
134
|
+
"@typescript-eslint/eslint-plugin": "8.52.0",
|
|
135
|
+
"@typescript-eslint/parser": "8.52.0",
|
|
136
|
+
"copy-webpack-plugin": "^13.0.1",
|
|
137
|
+
"css-loader": "7.1.2",
|
|
138
|
+
"file-loader": "6.2.0",
|
|
139
|
+
"jquery": "3.7.1",
|
|
140
|
+
"react": "19.2.3",
|
|
141
|
+
"react-dom": "19.2.3",
|
|
142
|
+
"sass": "^1.97.2",
|
|
143
|
+
"sass-loader": "^16.0.6",
|
|
144
|
+
"style-loader": "^4.0.0",
|
|
145
|
+
"terser-webpack-plugin": "^5.3.16",
|
|
146
|
+
"ts-jest": "29.4.6",
|
|
147
|
+
"ts-loader": "^9.5.4",
|
|
148
|
+
"ts-node": "10.9.2",
|
|
149
|
+
"tslib": "^2.8.1",
|
|
150
|
+
"typescript": "5.9.3",
|
|
151
|
+
"webpack": "^5.104.1",
|
|
152
|
+
"webpack-cli": "6.0.1",
|
|
153
|
+
"webpack-dev-server": "^5.2.2",
|
|
154
|
+
"@babel/eslint-parser": "^7.28.5",
|
|
155
|
+
"@eslint/js": "9.39.2",
|
|
156
|
+
"@playwright/test": "1.57.0",
|
|
157
|
+
"@testing-library/jest-dom": "6.9.1",
|
|
158
|
+
"@testing-library/react": "16.3.1",
|
|
159
|
+
"@types/jest": "30.0.0",
|
|
160
|
+
"eslint": "9.39.2",
|
|
161
|
+
"jest": "30.2.0",
|
|
162
|
+
"jest-environment-jsdom": "30.2.0"
|
|
163
|
+
}
|
|
164
|
+
}
|
package/types/jquery.d.ts
CHANGED
package/types/layerpro.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ declare function message(f1?: string, func1?: Function): any
|
|
|
18
18
|
/** Generate custom message using message([text],[callback]) and option callback */
|
|
19
19
|
declare function prompt(f1?: string, func1?: Function): any
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
///
|
|
22
22
|
|
|
23
23
|
interface GenLayerProps {
|
|
24
24
|
|
|
@@ -83,6 +83,7 @@ interface _layerpro {
|
|
|
83
83
|
readonly confirm: (txt: string, yesCallback: () => void, noCallback: () => void) => void
|
|
84
84
|
readonly purge: (document: Document) => void
|
|
85
85
|
readonly credits: (txt: string) => void
|
|
86
|
+
setProps: (obj, options?) => void
|
|
86
87
|
|
|
87
88
|
readonly popup: {
|
|
88
89
|
readonly open: (props: GenLayerProps) => GenLayerProps
|
|
@@ -98,9 +99,11 @@ interface _layerpro {
|
|
|
98
99
|
readonly zIndex: (props: any) => number
|
|
99
100
|
readonly close: (props: any) => any
|
|
100
101
|
}
|
|
102
|
+
|
|
101
103
|
}
|
|
102
104
|
|
|
103
105
|
declare var layerpro: _layerpro
|
|
104
106
|
type layerpro = _layerpro
|
|
105
107
|
|
|
108
|
+
declare var process: any
|
|
106
109
|
type process = {}
|