slicejs-web-framework 4.0.0 → 4.0.1

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 (70) hide show
  1. package/.opencode/opencode.json +14 -14
  2. package/LICENSE +21 -21
  3. package/README.md +97 -97
  4. package/Slice/Components/Structural/ContextManager/ContextManager.js +422 -422
  5. package/Slice/Components/Structural/ContextManager/ContextManagerDebugger.js +470 -470
  6. package/Slice/Components/Structural/Controller/Controller.js +1406 -1406
  7. package/Slice/Components/Structural/Controller/allowedValuesValidation.js +52 -52
  8. package/Slice/Components/Structural/Debugger/Debugger.html +72 -72
  9. package/Slice/Components/Structural/Debugger/Debugger.js +1505 -1505
  10. package/Slice/Components/Structural/EventManager/EventManager.js +651 -651
  11. package/Slice/Components/Structural/EventManager/EventManagerDebugger.js +985 -985
  12. package/Slice/Components/Structural/LeakInspector/LeakInspector.js +296 -296
  13. package/Slice/Components/Structural/Logger/Log.js +10 -10
  14. package/Slice/Components/Structural/Logger/LogViewer/LogViewer.js +662 -662
  15. package/Slice/Components/Structural/Logger/Logger.js +225 -225
  16. package/Slice/Components/Structural/Router/Router.js +793 -793
  17. package/Slice/Components/Structural/StylesManager/StylesManager.js +82 -82
  18. package/Slice/Components/Structural/StylesManager/ThemeManager/ThemeManager.js +162 -162
  19. package/Slice/Slice.js +686 -697
  20. package/Slice/tests/build-bundled-component-without-category.test.js +103 -103
  21. package/Slice/tests/build-js-only-visual-components.test.js +144 -144
  22. package/Slice/tests/build-singleton.test.js +244 -244
  23. package/Slice/tests/bundle-v2-runtime-contract.test.js +738 -738
  24. package/Slice/tests/context-patch-use.test.js +95 -95
  25. package/Slice/tests/destroy-cascade.test.js +215 -215
  26. package/Slice/tests/event-emitters.test.js +79 -79
  27. package/Slice/tests/event-registry.test.js +141 -141
  28. package/Slice/tests/fixtures/real-runtime-loader.mjs +21 -21
  29. package/Slice/tests/leak-orphans.test.js +131 -131
  30. package/Slice/tests/props-allowed-values-validation.test.js +119 -119
  31. package/Slice/tests/public-env-runtime-accessors.test.js +44 -44
  32. package/Slice/tests/public-env-typed-accessors.test.js +66 -66
  33. package/Slice/tests/router-loading-finally.test.js +68 -68
  34. package/api/framework/devDepsOptimizer.js +335 -335
  35. package/api/framework/express.js +3 -3
  36. package/api/framework/precompressedStatic.js +93 -93
  37. package/api/framework/publicEnvResolver.js +123 -123
  38. package/api/framework/securityMiddleware.js +197 -197
  39. package/api/framework/server.js +411 -411
  40. package/api/index.js +7 -7
  41. package/api/tests/dev-deps-optimizer.test.js +137 -137
  42. package/api/tests/dev-server-external.test.js +56 -56
  43. package/api/tests/precompressed-static.test.js +119 -119
  44. package/api/tests/public-env-resolver.test.js +193 -193
  45. package/package.json +49 -49
  46. package/sliceConfig.schema.json +122 -122
  47. package/src/App/index.html +69 -69
  48. package/src/App/index.js +20 -20
  49. package/src/App/style.css +11 -11
  50. package/src/Components/AppComponents/AboutSection/AboutSection.css +9 -9
  51. package/src/Components/AppComponents/AboutSection/AboutSection.html +8 -8
  52. package/src/Components/AppComponents/AboutSection/AboutSection.js +12 -12
  53. package/src/Components/AppComponents/AppShell/AppShell.css +10 -10
  54. package/src/Components/AppComponents/AppShell/AppShell.html +4 -4
  55. package/src/Components/AppComponents/AppShell/AppShell.js +36 -36
  56. package/src/Components/AppComponents/HomeSection/HomeSection.css +20 -20
  57. package/src/Components/AppComponents/HomeSection/HomeSection.html +10 -10
  58. package/src/Components/AppComponents/HomeSection/HomeSection.js +19 -19
  59. package/src/Components/components.js +8 -8
  60. package/src/public/Styles/sliceStyles.css +34 -34
  61. package/src/public/Themes/Dark.css +42 -42
  62. package/src/public/Themes/Light.css +31 -31
  63. package/src/public/Themes/Slice.css +47 -47
  64. package/src/public/manifest.json +15 -15
  65. package/src/public/robots.txt +4 -4
  66. package/src/public/sitemap.xml +8 -8
  67. package/src/routes.js +9 -9
  68. package/src/sliceConfig.json +72 -72
  69. package/tests/router-emit-ordering.test.js +63 -63
  70. package/types/index.d.ts +219 -219
@@ -1,20 +1,20 @@
1
- .home {
2
- text-align: center;
3
- padding: 32px 0;
4
- }
5
-
6
- .home__title {
7
- font-size: 2rem;
8
- margin-bottom: 12px;
9
- }
10
-
11
- .home__lead {
12
- color: var(--font-secondary-color);
13
- max-width: 60ch;
14
- margin: 0 auto 24px;
15
- line-height: 1.6;
16
- }
17
-
18
- .home__lead code {
19
- color: var(--font-primary-color);
20
- }
1
+ .home {
2
+ text-align: center;
3
+ padding: 32px 0;
4
+ }
5
+
6
+ .home__title {
7
+ font-size: 2rem;
8
+ margin-bottom: 12px;
9
+ }
10
+
11
+ .home__lead {
12
+ color: var(--font-secondary-color);
13
+ max-width: 60ch;
14
+ margin: 0 auto 24px;
15
+ line-height: 1.6;
16
+ }
17
+
18
+ .home__lead code {
19
+ color: var(--font-primary-color);
20
+ }
@@ -1,10 +1,10 @@
1
- <section class="home">
2
- <h1 class="home__title">Welcome to your Slice app</h1>
3
- <p class="home__lead">
4
- This is the App Shell + MultiRoute starter. Edit
5
- <code>src/Components/AppComponents/HomeSection/</code> to change this page, or add a
6
- section: create an AppComponent, then register it in <code>src/routes.js</code> and in
7
- the AppShell's MultiRoute.
8
- </p>
9
- <div class="home__cta"></div>
10
- </section>
1
+ <section class="home">
2
+ <h1 class="home__title">Welcome to your Slice app</h1>
3
+ <p class="home__lead">
4
+ This is the App Shell + MultiRoute starter. Edit
5
+ <code>src/Components/AppComponents/HomeSection/</code> to change this page, or add a
6
+ section: create an AppComponent, then register it in <code>src/routes.js</code> and in
7
+ the AppShell's MultiRoute.
8
+ </p>
9
+ <div class="home__cta"></div>
10
+ </section>
@@ -1,19 +1,19 @@
1
- export default class HomeSection extends HTMLElement {
2
- constructor(props) {
3
- super();
4
- slice.attachTemplate(this);
5
- this.$cta = this.querySelector('.home__cta');
6
- slice.controller.setComponentProps(this, props);
7
- }
8
-
9
- async init() {
10
- // Build child components with slice.build (always await).
11
- const button = await slice.build('Button', {
12
- value: 'Go to About',
13
- onClickCallback: () => slice.router.navigate('/about')
14
- });
15
- this.$cta.appendChild(button);
16
- }
17
- }
18
-
19
- customElements.define('slice-home-section', HomeSection);
1
+ export default class HomeSection extends HTMLElement {
2
+ constructor(props) {
3
+ super();
4
+ slice.attachTemplate(this);
5
+ this.$cta = this.querySelector('.home__cta');
6
+ slice.controller.setComponentProps(this, props);
7
+ }
8
+
9
+ async init() {
10
+ // Build child components with slice.build (always await).
11
+ const button = await slice.build('Button', {
12
+ value: 'Go to About',
13
+ onClickCallback: () => slice.router.navigate('/about')
14
+ });
15
+ this.$cta.appendChild(button);
16
+ }
17
+ }
18
+
19
+ customElements.define('slice-home-section', HomeSection);
@@ -1,8 +1,8 @@
1
- // Template registry: only the AppComponents the starter ships in-tree.
2
- // Visual and Service components are installed from the registry by `slice init`
3
- // (and any later `slice get`), which registers them here automatically.
4
- const components = {
5
- "AppShell": "AppComponents",
6
- "HomeSection": "AppComponents",
7
- "AboutSection": "AppComponents"
8
- }; export default components;
1
+ // Template registry: only the AppComponents the starter ships in-tree.
2
+ // Visual and Service components are installed from the registry by `slice init`
3
+ // (and any later `slice get`), which registers them here automatically.
4
+ const components = {
5
+ "AppShell": "AppComponents",
6
+ "HomeSection": "AppComponents",
7
+ "AboutSection": "AppComponents"
8
+ }; 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
+ }
@@ -1,15 +1,15 @@
1
- {
2
- "name": "Slice.js Web Framework",
3
- "short_name": "Slice.js",
4
- "start_url": "/",
5
- "display": "standalone",
6
- "background_color": "#F8F4FF",
7
- "theme_color": "#F8F4FF",
8
- "icons": [
9
- {
10
- "src": "/images/favicon.ico",
11
- "sizes": "192x192 512x512",
12
- "type": "image/x-icon"
13
- }
14
- ]
15
- }
1
+ {
2
+ "name": "Slice.js Web Framework",
3
+ "short_name": "Slice.js",
4
+ "start_url": "/",
5
+ "display": "standalone",
6
+ "background_color": "#F8F4FF",
7
+ "theme_color": "#F8F4FF",
8
+ "icons": [
9
+ {
10
+ "src": "/images/favicon.ico",
11
+ "sizes": "192x192 512x512",
12
+ "type": "image/x-icon"
13
+ }
14
+ ]
15
+ }
@@ -1,4 +1,4 @@
1
- User-agent: *
2
- Allow: /
3
-
4
- Sitemap: https://slicejs.com/sitemap.xml
1
+ User-agent: *
2
+ Allow: /
3
+
4
+ Sitemap: https://slicejs.com/sitemap.xml
@@ -1,8 +1,8 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3
- <url>
4
- <loc>https://slicejs.com/</loc>
5
- <priority>1.0</priority>
6
- <changefreq>weekly</changefreq>
7
- </url>
8
- </urlset>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3
+ <url>
4
+ <loc>https://slicejs.com/</loc>
5
+ <priority>1.0</priority>
6
+ <changefreq>weekly</changefreq>
7
+ </url>
8
+ </urlset>
package/src/routes.js CHANGED
@@ -1,10 +1,10 @@
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
-
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
+
10
10
  export default routes;
@@ -1,72 +1,72 @@
1
- {
2
- "server": {
3
- "port": 3001,
4
- "host": "localhost"
5
- },
6
- "debugger": {
7
- "enabled": false,
8
- "click": "right",
9
- "leakInspector": {
10
- "enabled": true,
11
- "shortcut": "alt+shift+k"
12
- }
13
- },
14
- "events": {
15
- "enabled": true,
16
- "ui": {
17
- "enabled": true,
18
- "shortcut": "alt+shift+e"
19
- }
20
- },
21
- "context": {
22
- "enabled": true,
23
- "ui": {
24
- "enabled": true,
25
- "shortcut": "alt+shift+c"
26
- }
27
- },
28
- "stylesManager": {
29
- "requestedStyles": ["sliceStyles"]
30
- },
31
- "themeManager": {
32
- "enabled": true,
33
- "defaultTheme": "Slice",
34
- "saveThemeLocally": false,
35
- "useBrowserTheme": false
36
- },
37
- "logger": {
38
- "enabled": true,
39
- "showLogs": {
40
- "console": {
41
- "error": true,
42
- "warning": true,
43
- "info": false
44
- }
45
- }
46
- },
47
- "paths": {
48
- "components": {
49
- "AppComponents": {
50
- "path": "/Components/AppComponents",
51
- "type": "Visual"
52
- },
53
- "Visual": {
54
- "path": "/Components/Visual",
55
- "type": "Visual"
56
- },
57
- "Service": {
58
- "path": "/Components/Service",
59
- "type": "Service"
60
- }
61
- },
62
- "themes": "/Themes",
63
- "styles": "/Styles",
64
- "routesFile": "/routes.js"
65
- },
66
- "router": {
67
- "defaultRoute": "/"
68
- },
69
- "loading": {
70
- "enabled": true
71
- }
72
- }
1
+ {
2
+ "server": {
3
+ "port": 3001,
4
+ "host": "localhost"
5
+ },
6
+ "debugger": {
7
+ "enabled": false,
8
+ "click": "right",
9
+ "leakInspector": {
10
+ "enabled": true,
11
+ "shortcut": "alt+shift+k"
12
+ }
13
+ },
14
+ "events": {
15
+ "enabled": true,
16
+ "ui": {
17
+ "enabled": true,
18
+ "shortcut": "alt+shift+e"
19
+ }
20
+ },
21
+ "context": {
22
+ "enabled": true,
23
+ "ui": {
24
+ "enabled": true,
25
+ "shortcut": "alt+shift+c"
26
+ }
27
+ },
28
+ "stylesManager": {
29
+ "requestedStyles": ["sliceStyles"]
30
+ },
31
+ "themeManager": {
32
+ "enabled": true,
33
+ "defaultTheme": "Slice",
34
+ "saveThemeLocally": false,
35
+ "useBrowserTheme": false
36
+ },
37
+ "logger": {
38
+ "enabled": true,
39
+ "showLogs": {
40
+ "console": {
41
+ "error": true,
42
+ "warning": true,
43
+ "info": false
44
+ }
45
+ }
46
+ },
47
+ "paths": {
48
+ "components": {
49
+ "AppComponents": {
50
+ "path": "/Components/AppComponents",
51
+ "type": "Visual"
52
+ },
53
+ "Visual": {
54
+ "path": "/Components/Visual",
55
+ "type": "Visual"
56
+ },
57
+ "Service": {
58
+ "path": "/Components/Service",
59
+ "type": "Service"
60
+ }
61
+ },
62
+ "themes": "/Themes",
63
+ "styles": "/Styles",
64
+ "routesFile": "/routes.js"
65
+ },
66
+ "router": {
67
+ "defaultRoute": "/"
68
+ },
69
+ "loading": {
70
+ "enabled": true
71
+ }
72
+ }