layerpro 0.0.56 → 0.0.60
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/.editorconfig +13 -0
- package/.env +3 -0
- package/.eslintignore +12 -0
- package/.eslintrc.json +110 -0
- package/.gitattributes +2 -0
- package/.jsbeautifyrc +26 -0
- package/.prettierignore +2 -0
- package/.prettierrc +7 -0
- package/.vscode/launch.json +22 -0
- package/.vscode/settings.json +84 -0
- package/.vscodeignore +28 -0
- package/__mocks__/fileMock.js +3 -0
- package/__mocks__/styleMock.js +3 -0
- package/babel.config.js +34 -0
- package/backup.bat +43 -0
- package/coverage/clover.xml +6 -0
- package/coverage/coverage-final.json +1 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +101 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov.info +0 -0
- package/{LICENSE.txt → dist/LICENSE.txt} +0 -0
- package/{README.md → dist/README.md} +0 -0
- package/documents/LICENSE.txt +21 -0
- package/documents/README.md +7 -0
- package/{SECURITY.md → documents/SECURITY.md} +0 -0
- package/index.js +7 -2
- package/init.js +35 -0
- package/jest.config.js +61 -0
- package/jsconfig.json +10 -0
- package/node/createTag.js +7 -0
- package/node/gitDeploy.js +7 -0
- package/node/goLive.js +7 -0
- package/package.json +40 -28
- package/scripts/GenLayer.jsx +234 -0
- package/scripts/message.jsx +280 -0
- package/scripts/mouseCoords.jsx +45 -0
- package/scripts/popup.jsx +604 -0
- package/scripts/purge.jsx +29 -0
- package/scripts/smoothScroll.js +69 -0
- package/scripts/window.js +28 -0
- package/styles/dock.scss +100 -0
- package/styles/general.scss +241 -0
- package/styles/icons.scss +33 -0
- package/styles/input.scss +35 -0
- package/styles/messages.scss +76 -0
- package/styles/resize.scss +99 -0
- package/styles/root.scss +14 -0
- package/styles/scrollbar.scss +24 -0
- package/tests/setupJest.tsx +4 -0
- package/tsconfig.json +69 -0
- package/typings/image.d.ts +9 -0
- package/typings/index.d.ts +7 -0
- package/typings/layerpro.d.ts +22 -0
- package/typings/styles.d.ts +27 -0
- package/typings/vscode.d.ts +14724 -0
- package/webpack.config.js +239 -0
- package/index.js.LICENSE.txt +0 -29
package/tsconfig.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"lib": [
|
|
4
|
+
"es2022",
|
|
5
|
+
"es2020",
|
|
6
|
+
"es2016.array.include",
|
|
7
|
+
"es2017.object",
|
|
8
|
+
"es5",
|
|
9
|
+
"es6",
|
|
10
|
+
"dom",
|
|
11
|
+
"dom.iterable"
|
|
12
|
+
],
|
|
13
|
+
"importHelpers": true,
|
|
14
|
+
"skipLibCheck": true,
|
|
15
|
+
"allowSyntheticDefaultImports": true,
|
|
16
|
+
"forceConsistentCasingInFileNames": true,
|
|
17
|
+
"resolveJsonModule": true,
|
|
18
|
+
"isolatedModules": true,
|
|
19
|
+
"baseUrl": ".",
|
|
20
|
+
"outDir": "./dist/",
|
|
21
|
+
"module": "commonjs",
|
|
22
|
+
"preserveConstEnums": true,
|
|
23
|
+
"removeComments": true,
|
|
24
|
+
"sourceMap": true,
|
|
25
|
+
"target": "es2022",
|
|
26
|
+
"moduleResolution": "node",
|
|
27
|
+
"allowJs": true,
|
|
28
|
+
"noEmit": true,
|
|
29
|
+
"strict": true,
|
|
30
|
+
"esModuleInterop": true,
|
|
31
|
+
"jsx": "react-jsx",
|
|
32
|
+
"strictNullChecks": false,
|
|
33
|
+
"noImplicitAny": false,
|
|
34
|
+
"strictPropertyInitialization": false,
|
|
35
|
+
"paths": {
|
|
36
|
+
"Config/*": [
|
|
37
|
+
"src/config/*"
|
|
38
|
+
],
|
|
39
|
+
"Components/*": [
|
|
40
|
+
"src/components/*"
|
|
41
|
+
],
|
|
42
|
+
"Data/*": [
|
|
43
|
+
"src/data/*"
|
|
44
|
+
],
|
|
45
|
+
"Layout/*": [
|
|
46
|
+
"src/layout/*"
|
|
47
|
+
],
|
|
48
|
+
"Pages/*": [
|
|
49
|
+
"src/pages/*"
|
|
50
|
+
],
|
|
51
|
+
"Scripts/*": [
|
|
52
|
+
"src/scripts/*"
|
|
53
|
+
],
|
|
54
|
+
"Styles/*": [
|
|
55
|
+
"src/styles/*"
|
|
56
|
+
],
|
|
57
|
+
"Root/*": [
|
|
58
|
+
"src/*"
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"includes": [
|
|
63
|
+
"./*"
|
|
64
|
+
],
|
|
65
|
+
"exclude": [
|
|
66
|
+
"node_modules",
|
|
67
|
+
".OLD"
|
|
68
|
+
]
|
|
69
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright: © 2022 Dario Passariello <dariopassariello@gmail.com>
|
|
3
|
+
License: CC BY-NC-ND 4.0
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
declare module 'layerpro'
|
|
7
|
+
declare var layerpro: any
|
|
8
|
+
|
|
9
|
+
// Remove confirm error about number of paramentes
|
|
10
|
+
declare function confirm(f1?, func1?, func2?)
|
|
11
|
+
declare function prompt(f1?, string?)
|
|
12
|
+
declare function message(f1?)
|
|
13
|
+
|
|
14
|
+
////////////////////////////////////////////////////////////////
|
|
15
|
+
|
|
16
|
+
declare global {
|
|
17
|
+
interface Window {
|
|
18
|
+
layerpro: any
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
layerpro = window.layerpro || {}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright: © 2022 Dario Passariello <dariopassariello@gmail.com>
|
|
3
|
+
License: CC BY-NC-ND 4.0
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
declare module '*.less' {
|
|
7
|
+
const resource: { [key: string]: string }
|
|
8
|
+
export = resource
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare module '*.scss' {
|
|
12
|
+
const resource: { [key: string]: string }
|
|
13
|
+
export = resource
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
declare module '*.sass' {
|
|
17
|
+
const resource: { [key: string]: string }
|
|
18
|
+
export = resource
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
declare module '*.js' {
|
|
22
|
+
const resource: { [key: string]: string }
|
|
23
|
+
export = resource
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|