slicejs-web-framework 3.2.3 → 3.3.0

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 (117) hide show
  1. package/.opencode/opencode.json +13 -13
  2. package/LICENSE +21 -21
  3. package/README.md +97 -174
  4. package/Slice/Components/Structural/ContextManager/ContextManager.js +369 -369
  5. package/Slice/Components/Structural/ContextManager/ContextManagerDebugger.js +420 -297
  6. package/Slice/Components/Structural/Controller/Controller.js +1131 -1131
  7. package/Slice/Components/Structural/Debugger/Debugger.html +72 -72
  8. package/Slice/Components/Structural/Debugger/Debugger.js +1497 -1547
  9. package/Slice/Components/Structural/EventManager/EventManager.js +338 -338
  10. package/Slice/Components/Structural/EventManager/EventManagerDebugger.js +476 -361
  11. package/Slice/Components/Structural/Logger/Log.js +10 -10
  12. package/Slice/Components/Structural/Logger/Logger.js +146 -146
  13. package/Slice/Components/Structural/Router/Router.js +752 -721
  14. package/Slice/Components/Structural/StylesManager/StylesManager.js +78 -78
  15. package/Slice/Components/Structural/StylesManager/ThemeManager/ThemeManager.js +84 -84
  16. package/Slice/Slice.js +542 -542
  17. package/Slice/tests/build-bundled-component-without-category.test.js +103 -103
  18. package/Slice/tests/build-js-only-visual-components.test.js +144 -144
  19. package/Slice/tests/bundle-v2-runtime-contract.test.js +728 -728
  20. package/Slice/tests/public-env-runtime-accessors.test.js +44 -44
  21. package/Slice/tests/router-loading-finally.test.js +68 -68
  22. package/api/index.js +286 -286
  23. package/api/middleware/securityMiddleware.js +252 -252
  24. package/api/tests/public-env-resolver.test.js +193 -193
  25. package/api/utils/publicEnvResolver.js +117 -117
  26. package/package.json +40 -38
  27. package/sliceConfig.schema.json +109 -109
  28. package/src/App/index.html +16 -22
  29. package/src/App/index.js +20 -23
  30. package/src/App/style.css +11 -40
  31. package/src/Components/AppComponents/AboutSection/AboutSection.css +9 -0
  32. package/src/Components/AppComponents/AboutSection/AboutSection.html +8 -0
  33. package/src/Components/AppComponents/AboutSection/AboutSection.js +12 -0
  34. package/src/Components/AppComponents/AppShell/AppShell.css +10 -0
  35. package/src/Components/AppComponents/AppShell/AppShell.html +4 -0
  36. package/src/Components/AppComponents/AppShell/AppShell.js +36 -0
  37. package/src/Components/AppComponents/HomeSection/HomeSection.css +20 -0
  38. package/src/Components/AppComponents/HomeSection/HomeSection.html +10 -0
  39. package/src/Components/AppComponents/HomeSection/HomeSection.js +19 -0
  40. package/src/Components/Service/FetchManager/FetchManager.js +133 -133
  41. package/src/Components/Service/IndexedDbManager/IndexedDbManager.js +141 -141
  42. package/src/Components/Service/LocalStorageManager/LocalStorageManager.js +45 -45
  43. package/src/Components/Visual/Button/Button.css +47 -47
  44. package/src/Components/Visual/Button/Button.html +5 -5
  45. package/src/Components/Visual/Button/Button.js +92 -92
  46. package/src/Components/Visual/Card/Card.css +68 -68
  47. package/src/Components/Visual/Card/Card.html +7 -7
  48. package/src/Components/Visual/Card/Card.js +107 -107
  49. package/src/Components/Visual/Checkbox/Checkbox.css +87 -87
  50. package/src/Components/Visual/Checkbox/Checkbox.html +8 -8
  51. package/src/Components/Visual/Checkbox/Checkbox.js +86 -86
  52. package/src/Components/Visual/CodeVisualizer/CodeVisualizer.css +129 -129
  53. package/src/Components/Visual/CodeVisualizer/CodeVisualizer.html +3 -3
  54. package/src/Components/Visual/CodeVisualizer/CodeVisualizer.js +262 -262
  55. package/src/Components/Visual/Details/Details.css +70 -70
  56. package/src/Components/Visual/Details/Details.html +9 -9
  57. package/src/Components/Visual/Details/Details.js +76 -76
  58. package/src/Components/Visual/DropDown/DropDown.css +60 -60
  59. package/src/Components/Visual/DropDown/DropDown.html +5 -5
  60. package/src/Components/Visual/DropDown/DropDown.js +63 -63
  61. package/src/Components/Visual/Grid/Grid.css +7 -7
  62. package/src/Components/Visual/Grid/Grid.html +1 -1
  63. package/src/Components/Visual/Grid/Grid.js +57 -57
  64. package/src/Components/Visual/Icon/Icon.css +510 -510
  65. package/src/Components/Visual/Icon/Icon.js +89 -89
  66. package/src/Components/Visual/Icon/slc.json +554 -554
  67. package/src/Components/Visual/Icon/slc.styl +507 -507
  68. package/src/Components/Visual/Icon/slc.svg +1485 -1485
  69. package/src/Components/Visual/Icon/slc.symbol.svg +1058 -1058
  70. package/src/Components/Visual/Input/Input.css +91 -91
  71. package/src/Components/Visual/Input/Input.html +4 -4
  72. package/src/Components/Visual/Input/Input.js +215 -215
  73. package/src/Components/Visual/Layout/Layout.js +49 -49
  74. package/src/Components/Visual/Link/Link.css +8 -8
  75. package/src/Components/Visual/Link/Link.html +1 -1
  76. package/src/Components/Visual/Link/Link.js +63 -63
  77. package/src/Components/Visual/Loading/Loading.css +56 -56
  78. package/src/Components/Visual/Loading/Loading.html +83 -83
  79. package/src/Components/Visual/Loading/Loading.js +38 -38
  80. package/src/Components/Visual/MultiRoute/MultiRoute.js +100 -93
  81. package/src/Components/Visual/Navbar/Navbar.css +115 -115
  82. package/src/Components/Visual/Navbar/Navbar.html +44 -44
  83. package/src/Components/Visual/Navbar/Navbar.js +141 -141
  84. package/src/Components/Visual/NotFound/NotFound.css +116 -116
  85. package/src/Components/Visual/NotFound/NotFound.html +23 -23
  86. package/src/Components/Visual/NotFound/NotFound.js +16 -16
  87. package/src/Components/Visual/Route/Route.js +93 -93
  88. package/src/Components/Visual/Select/Select.css +84 -84
  89. package/src/Components/Visual/Select/Select.html +8 -8
  90. package/src/Components/Visual/Select/Select.js +195 -195
  91. package/src/Components/Visual/Switch/Switch.css +76 -76
  92. package/src/Components/Visual/Switch/Switch.html +8 -8
  93. package/src/Components/Visual/Switch/Switch.js +102 -102
  94. package/src/Components/Visual/TreeItem/TreeItem.css +36 -36
  95. package/src/Components/Visual/TreeItem/TreeItem.html +1 -1
  96. package/src/Components/Visual/TreeItem/TreeItem.js +126 -126
  97. package/src/Components/Visual/TreeView/TreeView.css +8 -8
  98. package/src/Components/Visual/TreeView/TreeView.html +1 -1
  99. package/src/Components/Visual/TreeView/TreeView.js +48 -48
  100. package/src/Components/components.js +15 -27
  101. package/src/Styles/sliceStyles.css +34 -34
  102. package/src/Themes/Dark.css +42 -42
  103. package/src/Themes/Light.css +31 -31
  104. package/src/Themes/Slice.css +47 -47
  105. package/src/routes.js +9 -15
  106. package/src/sliceConfig.json +74 -73
  107. package/types/index.d.ts +207 -207
  108. package/Slice/Components/Structural/Debugger/Debugger.css +0 -620
  109. package/src/Components/AppComponents/HomePage/HomePage.css +0 -201
  110. package/src/Components/AppComponents/HomePage/HomePage.html +0 -37
  111. package/src/Components/AppComponents/HomePage/HomePage.js +0 -210
  112. package/src/Components/AppComponents/Playground/Playground.css +0 -12
  113. package/src/Components/AppComponents/Playground/Playground.html +0 -0
  114. package/src/Components/AppComponents/Playground/Playground.js +0 -111
  115. package/src/images/Slice.js-logo.png +0 -0
  116. package/src/images/im2/Slice.js-logo.png +0 -0
  117. package/src/testing.js +0 -888
@@ -1,27 +1,15 @@
1
- const components = {
2
- "HomePage": "AppComponents",
3
- "Playground": "AppComponents",
4
- "Button": "Visual",
5
- "Card": "Visual",
6
- "Checkbox": "Visual",
7
- "CodeVisualizer": "Visual",
8
- "Details": "Visual",
9
- "DropDown": "Visual",
10
- "Grid": "Visual",
11
- "Icon": "Visual",
12
- "Input": "Visual",
13
- "Layout": "Visual",
14
- "Loading": "Visual",
15
- "MultiRoute": "Visual",
16
- "Navbar": "Visual",
17
- "NotFound": "Visual",
18
- "Route": "Visual",
19
- "Link": "Visual",
20
- "Select": "Visual",
21
- "Switch": "Visual",
22
- "TreeItem": "Visual",
23
- "TreeView": "Visual",
24
- "FetchManager": "Service",
25
- "IndexedDbManager": "Service",
26
- "LocalStorageManager": "Service"
27
- }; export default components;
1
+ const components = {
2
+ "AppShell": "AppComponents",
3
+ "HomeSection": "AppComponents",
4
+ "AboutSection": "AppComponents",
5
+ "Button": "Visual",
6
+ "Link": "Visual",
7
+ "Loading": "Visual",
8
+ "MultiRoute": "Visual",
9
+ "Navbar": "Visual",
10
+ "NotFound": "Visual",
11
+ "Route": "Visual",
12
+ "FetchManager": "Service",
13
+ "IndexedDbManager": "Service",
14
+ "LocalStorageManager": "Service"
15
+ }; export default components;
@@ -1,34 +1,34 @@
1
- @import url("https://fonts.googleapis.com/css2?family=Montserrat&family=Poppins&family=Roboto&display=swap");
2
-
3
- :root {
4
- --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
5
- Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
6
- --border-radius-slice: 5px;
7
- --slice-border: 1px;
8
- }
9
- body {
10
- margin: 0;
11
- background-color: var(--primary-background-color);
12
- }
13
- .caret {
14
- cursor: pointer;
15
- width: 0;
16
- height: 0;
17
- border-left: 5px solid transparent;
18
- border-right: 5px solid transparent;
19
- border-top: 6px solid;
20
- transition: transform 0.3s;
21
- }
22
- .caret_open {
23
- transform: rotate(180deg);
24
- }
25
- *::-webkit-scrollbar {
26
- width: 5px;
27
- }
28
- *::-webkit-scrollbar:horizontal {
29
- height: 3px;
30
- }
31
- *::-webkit-scrollbar-thumb {
32
- background: var(--secondary-color);
33
- border-radius: var(--border-radius-slice);
34
- }
1
+ @import url("https://fonts.googleapis.com/css2?family=Montserrat&family=Poppins&family=Roboto&display=swap");
2
+
3
+ :root {
4
+ --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
5
+ Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
6
+ --border-radius-slice: 5px;
7
+ --slice-border: 1px;
8
+ }
9
+ body {
10
+ margin: 0;
11
+ background-color: var(--primary-background-color);
12
+ }
13
+ .caret {
14
+ cursor: pointer;
15
+ width: 0;
16
+ height: 0;
17
+ border-left: 5px solid transparent;
18
+ border-right: 5px solid transparent;
19
+ border-top: 6px solid;
20
+ transition: transform 0.3s;
21
+ }
22
+ .caret_open {
23
+ transform: rotate(180deg);
24
+ }
25
+ *::-webkit-scrollbar {
26
+ width: 5px;
27
+ }
28
+ *::-webkit-scrollbar:horizontal {
29
+ height: 3px;
30
+ }
31
+ *::-webkit-scrollbar-thumb {
32
+ background: var(--secondary-color);
33
+ border-radius: var(--border-radius-slice);
34
+ }
@@ -1,42 +1,42 @@
1
- :root {
2
- --font-primary-color: #fff;
3
-
4
- /** primary **/
5
- --primary-color: #0066ff;
6
- --primary-color-rgb: rgb(0, 102, 255);
7
- /* Se reemplaza el negro puro por un gris muy oscuro, más cálido y agradable */
8
- --primary-background-color: #282828; /* antes: #000 */
9
- --primary-color-contrast: #000;
10
- /* Ajustamos la sombra para que armonice con el fondo aclarado */
11
- --primary-color-shade: #383838; /* antes: #222 */
12
-
13
- /** secondary **/
14
- --secondary-color: #63ccfd;
15
- --secondary-color-rgb: rgb(99, 204, 253);
16
- /* Se aclara el fondo secundario para suavizar el efecto general */
17
- --secondary-background-color: #333333; /* antes: #222 */
18
- --secondary-color-contrast: #fff;
19
-
20
- /** tertiary **/
21
- /* Se levanta ligeramente el fondo terciario para mantener la coherencia visual */
22
- --tertiary-background-color: #555555; /* antes: #444 */
23
-
24
- /** success **/
25
- --success-color: #00ff40;
26
- --success-contrast: #000;
27
-
28
- /** warning **/
29
- --warning-color: #ffff40;
30
- --warning-contrast: #000;
31
-
32
- /** danger **/
33
- --danger-color: #ff0000;
34
- --danger-contrast: #000;
35
-
36
- /** medium **/
37
- --medium-color: #92949c;
38
- --medium-contrast: #fff;
39
-
40
- /* Disabled color */
41
- --disabled-color: #7f7f7f;
42
- }
1
+ :root {
2
+ --font-primary-color: #fff;
3
+
4
+ /** primary **/
5
+ --primary-color: #0066ff;
6
+ --primary-color-rgb: rgb(0, 102, 255);
7
+ /* Se reemplaza el negro puro por un gris muy oscuro, más cálido y agradable */
8
+ --primary-background-color: #282828; /* antes: #000 */
9
+ --primary-color-contrast: #000;
10
+ /* Ajustamos la sombra para que armonice con el fondo aclarado */
11
+ --primary-color-shade: #383838; /* antes: #222 */
12
+
13
+ /** secondary **/
14
+ --secondary-color: #63ccfd;
15
+ --secondary-color-rgb: rgb(99, 204, 253);
16
+ /* Se aclara el fondo secundario para suavizar el efecto general */
17
+ --secondary-background-color: #333333; /* antes: #222 */
18
+ --secondary-color-contrast: #fff;
19
+
20
+ /** tertiary **/
21
+ /* Se levanta ligeramente el fondo terciario para mantener la coherencia visual */
22
+ --tertiary-background-color: #555555; /* antes: #444 */
23
+
24
+ /** success **/
25
+ --success-color: #00ff40;
26
+ --success-contrast: #000;
27
+
28
+ /** warning **/
29
+ --warning-color: #ffff40;
30
+ --warning-contrast: #000;
31
+
32
+ /** danger **/
33
+ --danger-color: #ff0000;
34
+ --danger-contrast: #000;
35
+
36
+ /** medium **/
37
+ --medium-color: #92949c;
38
+ --medium-contrast: #fff;
39
+
40
+ /* Disabled color */
41
+ --disabled-color: #7f7f7f;
42
+ }
@@ -1,31 +1,31 @@
1
- :root {
2
- --font-primary-color: #000;
3
- --font-secondary-color: #474747;
4
- /** primary **/
5
- --primary-color: #0066ff;
6
- --primary-color-rgb: rgb(0, 102, 255);
7
- --primary-background-color: #fff;
8
- --primary-color-contrast: #fff;
9
- --primary-color-shade: #ddd;
10
- /** secondary **/
11
- --secondary-color: #63ccfd;
12
- --secondary-color-rgb: rgb(99, 204, 253);
13
- --secondary-background-color: #ddd;
14
- --secondary-color-contrast: #fff;
15
- /** tertiary **/
16
- --tertiary-background-color: #c4c4c4;
17
- /** success **/
18
- --success-color: #00ff40;
19
- --success-contrast: #fff;
20
- /** warning **/
21
- --warning-color: #ffff40;
22
- --warning-contrast: #000;
23
- /** danger **/
24
- --danger-color: #ff0000;
25
- --danger-contrast: #fff;
26
- /** medium **/
27
- --medium-color: #92949c;
28
- --medium--contrast: #000;
29
-
30
- --disabled-color: #7f7f7f;
31
- }
1
+ :root {
2
+ --font-primary-color: #000;
3
+ --font-secondary-color: #474747;
4
+ /** primary **/
5
+ --primary-color: #0066ff;
6
+ --primary-color-rgb: rgb(0, 102, 255);
7
+ --primary-background-color: #fff;
8
+ --primary-color-contrast: #fff;
9
+ --primary-color-shade: #ddd;
10
+ /** secondary **/
11
+ --secondary-color: #63ccfd;
12
+ --secondary-color-rgb: rgb(99, 204, 253);
13
+ --secondary-background-color: #ddd;
14
+ --secondary-color-contrast: #fff;
15
+ /** tertiary **/
16
+ --tertiary-background-color: #c4c4c4;
17
+ /** success **/
18
+ --success-color: #00ff40;
19
+ --success-contrast: #fff;
20
+ /** warning **/
21
+ --warning-color: #ffff40;
22
+ --warning-contrast: #000;
23
+ /** danger **/
24
+ --danger-color: #ff0000;
25
+ --danger-contrast: #fff;
26
+ /** medium **/
27
+ --medium-color: #92949c;
28
+ --medium--contrast: #000;
29
+
30
+ --disabled-color: #7f7f7f;
31
+ }
@@ -1,47 +1,47 @@
1
- :root {
2
- /* Tipografía */
3
- --font-primary-color: #2E1A47; /* Uva oscuro, elegante para lectura */
4
- --font-secondary-color: #7D3AC1; /* Uva brillante para títulos y resaltes */
5
-
6
- /** Primary - Uva intenso **/
7
- --primary-color: #7D3AC1;
8
- --primary-color-rgb: 125, 58, 193;
9
- --primary-background-color: #F8F4FF; /* Lila muy claro como fondo principal */
10
- --primary-color-contrast: #ffffff;
11
- --primary-color-shade: #4E2279;
12
-
13
- /** Secondary - Lima vibrante **/
14
- --secondary-color: #C6FF00; /* Amarillo lima brillante, capta la atención */
15
- --secondary-color-rgb: 198, 255, 0;
16
- --secondary-background-color: #F9FFE1;
17
- --secondary-color-contrast: #2E2E2E;
18
-
19
- /** Tertiary - Turquesa suave **/
20
- --tertiary-background-color: #D0F4F2; /* Fondo suave, fresco y moderno */
21
-
22
- /** Success - Verde esmeralda claro **/
23
- --success-color: #00B894;
24
- --success-contrast: #ffffff;
25
-
26
- /** Warning - Amarillo más tradicional pero suave **/
27
- --warning-color: #FFD54F;
28
- --warning-contrast: #3E2723;
29
-
30
- /** Danger - Coral vibrante (sin caer en rojo tradicional) **/
31
- --danger-color: #FF6F61;
32
- --danger-contrast: #ffffff;
33
-
34
- /** Medium - Gris lavanda para texto secundario **/
35
- --medium-color: #A89FB5;
36
- --medium-contrast: #000000;
37
-
38
- /** Disabled - Gris pastel lavanda **/
39
- --disabled-color: #E6E0F1;
40
-
41
- /** Accent - Turquesa brillante para detalles elegantes **/
42
- --accent-color: #00CFC1;
43
-
44
- /* Sombras */
45
- --box-shadow-primary: 0px 4px 12px rgba(125, 58, 193, 0.15);
46
- --box-shadow-secondary: 0px 3px 8px rgba(198, 255, 0, 0.1);
47
- }
1
+ :root {
2
+ /* Tipografía */
3
+ --font-primary-color: #2E1A47; /* Uva oscuro, elegante para lectura */
4
+ --font-secondary-color: #7D3AC1; /* Uva brillante para títulos y resaltes */
5
+
6
+ /** Primary - Uva intenso **/
7
+ --primary-color: #7D3AC1;
8
+ --primary-color-rgb: 125, 58, 193;
9
+ --primary-background-color: #F8F4FF; /* Lila muy claro como fondo principal */
10
+ --primary-color-contrast: #ffffff;
11
+ --primary-color-shade: #4E2279;
12
+
13
+ /** Secondary - Lima vibrante **/
14
+ --secondary-color: #C6FF00; /* Amarillo lima brillante, capta la atención */
15
+ --secondary-color-rgb: 198, 255, 0;
16
+ --secondary-background-color: #F9FFE1;
17
+ --secondary-color-contrast: #2E2E2E;
18
+
19
+ /** Tertiary - Turquesa suave **/
20
+ --tertiary-background-color: #D0F4F2; /* Fondo suave, fresco y moderno */
21
+
22
+ /** Success - Verde esmeralda claro **/
23
+ --success-color: #00B894;
24
+ --success-contrast: #ffffff;
25
+
26
+ /** Warning - Amarillo más tradicional pero suave **/
27
+ --warning-color: #FFD54F;
28
+ --warning-contrast: #3E2723;
29
+
30
+ /** Danger - Coral vibrante (sin caer en rojo tradicional) **/
31
+ --danger-color: #FF6F61;
32
+ --danger-contrast: #ffffff;
33
+
34
+ /** Medium - Gris lavanda para texto secundario **/
35
+ --medium-color: #A89FB5;
36
+ --medium-contrast: #000000;
37
+
38
+ /** Disabled - Gris pastel lavanda **/
39
+ --disabled-color: #E6E0F1;
40
+
41
+ /** Accent - Turquesa brillante para detalles elegantes **/
42
+ --accent-color: #00CFC1;
43
+
44
+ /* Sombras */
45
+ --box-shadow-primary: 0px 4px 12px rgba(125, 58, 193, 0.15);
46
+ --box-shadow-secondary: 0px 3px 8px rgba(198, 255, 0, 0.1);
47
+ }
package/src/routes.js CHANGED
@@ -1,16 +1,10 @@
1
- const routes = [
2
- // Rutas principales
3
- { path: '/', component: 'HomePage' },
4
- { path: '/404', component: 'NotFound' },
5
- {
6
- path: '/Docum/${category}/${id}',
7
- component: 'LandingPage',
8
- },
9
- {
10
- path: "/Playground",
11
- component: "Playground",
12
- }
13
-
14
- ];
15
-
1
+ // App Shell + MultiRoute starter.
2
+ // Every section URL renders AppShell, which swaps the content area via a MultiRoute.
3
+ // Dynamic params use ${name} (NOT :name). Keep the 404 route last.
4
+ const routes = [
5
+ { path: '/', component: 'AppShell', metadata: { title: 'Home' } },
6
+ { path: '/about', component: 'AppShell', metadata: { title: 'About' } },
7
+ { path: '/404', component: 'NotFound', metadata: { title: 'Not Found' } }
8
+ ];
9
+
16
10
  export default routes;
@@ -1,73 +1,74 @@
1
- {
2
- "server": {
3
- "port": 3001,
4
- "host": "localhost"
5
- },
6
- "debugger": {
7
- "enabled": false,
8
- "click": "right"
9
- },
10
- "events": {
11
- "enabled": true,
12
- "ui": {
13
- "enabled": true,
14
- "shortcut": "alt+shift+e"
15
- }
16
- },
17
- "context": {
18
- "enabled": true,
19
- "ui": {
20
- "enabled": true,
21
- "shortcut": "alt+shift+c"
22
- }
23
- },
24
- "stylesManager": {
25
- "requestedStyles": ["sliceStyles"]
26
- },
27
- "themeManager": {
28
- "enabled": true,
29
- "defaultTheme": "Slice",
30
- "saveThemeLocally": false,
31
- "useBrowserTheme": false
32
- },
33
- "logger": {
34
- "enabled": true,
35
- "showLogs": {
36
- "console": {
37
- "error": true,
38
- "warning": true,
39
- "info": false
40
- }
41
- }
42
- },
43
- "paths": {
44
- "components": {
45
- "AppComponents": {
46
- "path": "/Components/AppComponents",
47
- "type": "Visual"
48
- },
49
- "Visual": {
50
- "path": "/Components/Visual",
51
- "type": "Visual"
52
- },
53
- "Service": {
54
- "path": "/Components/Service",
55
- "type": "Service"
56
- }
57
- },
58
- "themes": "/Themes",
59
- "styles": "/Styles",
60
- "routesFile": "/routes.js"
61
- },
62
- "router": {
63
- "defaultRoute": "/"
64
- },
65
- "loading": {
66
- "enabled": true
67
- },
68
- "publicFolders": [
69
- "/Themes",
70
- "/Styles",
71
- "/assets"
72
- ]
73
- }
1
+ {
2
+ "server": {
3
+ "port": 3001,
4
+ "host": "localhost"
5
+ },
6
+ "debugger": {
7
+ "enabled": false,
8
+ "click": "right"
9
+ },
10
+ "events": {
11
+ "enabled": true,
12
+ "ui": {
13
+ "enabled": true,
14
+ "shortcut": "alt+shift+e"
15
+ }
16
+ },
17
+ "context": {
18
+ "enabled": true,
19
+ "ui": {
20
+ "enabled": true,
21
+ "shortcut": "alt+shift+c"
22
+ }
23
+ },
24
+ "stylesManager": {
25
+ "requestedStyles": ["sliceStyles"]
26
+ },
27
+ "themeManager": {
28
+ "enabled": true,
29
+ "defaultTheme": "Slice",
30
+ "saveThemeLocally": false,
31
+ "useBrowserTheme": false
32
+ },
33
+ "logger": {
34
+ "enabled": true,
35
+ "showLogs": {
36
+ "console": {
37
+ "error": true,
38
+ "warning": true,
39
+ "info": false
40
+ }
41
+ }
42
+ },
43
+ "paths": {
44
+ "components": {
45
+ "AppComponents": {
46
+ "path": "/Components/AppComponents",
47
+ "type": "Visual"
48
+ },
49
+ "Visual": {
50
+ "path": "/Components/Visual",
51
+ "type": "Visual"
52
+ },
53
+ "Service": {
54
+ "path": "/Components/Service",
55
+ "type": "Service"
56
+ }
57
+ },
58
+ "themes": "/Themes",
59
+ "styles": "/Styles",
60
+ "routesFile": "/routes.js"
61
+ },
62
+ "router": {
63
+ "defaultRoute": "/"
64
+ },
65
+ "loading": {
66
+ "enabled": true
67
+ },
68
+ "publicFolders": [
69
+ "/Themes",
70
+ "/Styles",
71
+ "/assets",
72
+ "/images"
73
+ ]
74
+ }