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.
Files changed (63) hide show
  1. package/.editorconfig +13 -0
  2. package/.env +3 -0
  3. package/.eslintignore +12 -0
  4. package/.eslintrc.json +110 -0
  5. package/.gitattributes +2 -0
  6. package/.jsbeautifyrc +26 -0
  7. package/.prettierignore +2 -0
  8. package/.prettierrc +7 -0
  9. package/.vscode/launch.json +22 -0
  10. package/.vscode/settings.json +84 -0
  11. package/.vscodeignore +28 -0
  12. package/__mocks__/fileMock.js +3 -0
  13. package/__mocks__/styleMock.js +3 -0
  14. package/babel.config.js +34 -0
  15. package/backup.bat +43 -0
  16. package/coverage/clover.xml +6 -0
  17. package/coverage/coverage-final.json +1 -0
  18. package/coverage/lcov-report/base.css +224 -0
  19. package/coverage/lcov-report/block-navigation.js +87 -0
  20. package/coverage/lcov-report/favicon.png +0 -0
  21. package/coverage/lcov-report/index.html +101 -0
  22. package/coverage/lcov-report/prettify.css +1 -0
  23. package/coverage/lcov-report/prettify.js +2 -0
  24. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  25. package/coverage/lcov-report/sorter.js +196 -0
  26. package/coverage/lcov.info +0 -0
  27. package/{LICENSE.txt → dist/LICENSE.txt} +0 -0
  28. package/{README.md → dist/README.md} +0 -0
  29. package/documents/LICENSE.txt +21 -0
  30. package/documents/README.md +7 -0
  31. package/{SECURITY.md → documents/SECURITY.md} +0 -0
  32. package/index.js +7 -2
  33. package/init.js +35 -0
  34. package/jest.config.js +61 -0
  35. package/jsconfig.json +10 -0
  36. package/node/createTag.js +7 -0
  37. package/node/gitDeploy.js +7 -0
  38. package/node/goLive.js +7 -0
  39. package/package.json +40 -28
  40. package/scripts/GenLayer.jsx +234 -0
  41. package/scripts/message.jsx +280 -0
  42. package/scripts/mouseCoords.jsx +45 -0
  43. package/scripts/popup.jsx +604 -0
  44. package/scripts/purge.jsx +29 -0
  45. package/scripts/smoothScroll.js +69 -0
  46. package/scripts/window.js +28 -0
  47. package/styles/dock.scss +100 -0
  48. package/styles/general.scss +241 -0
  49. package/styles/icons.scss +33 -0
  50. package/styles/input.scss +35 -0
  51. package/styles/messages.scss +76 -0
  52. package/styles/resize.scss +99 -0
  53. package/styles/root.scss +14 -0
  54. package/styles/scrollbar.scss +24 -0
  55. package/tests/setupJest.tsx +4 -0
  56. package/tsconfig.json +69 -0
  57. package/typings/image.d.ts +9 -0
  58. package/typings/index.d.ts +7 -0
  59. package/typings/layerpro.d.ts +22 -0
  60. package/typings/styles.d.ts +27 -0
  61. package/typings/vscode.d.ts +14724 -0
  62. package/webpack.config.js +239 -0
  63. 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,9 @@
1
+ /*
2
+ Copyright: © 2022 Dario Passariello <dariopassariello@gmail.com>
3
+ License: CC BY-NC-ND 4.0
4
+ */
5
+
6
+ declare module "*.svg" {
7
+ const value: any
8
+ export default value
9
+ }
@@ -0,0 +1,7 @@
1
+ /*
2
+ Copyright: © 2022 Dario Passariello <dariopassariello@gmail.com>
3
+ License: CC BY-NC-ND 4.0
4
+ */
5
+
6
+ declare module 'jquery'
7
+ declare var $: any
@@ -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
+