@genesislcap/blank-app-seed 5.7.0-prerelease.3 → 5.7.0-prerelease.30

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 (81) hide show
  1. package/.genx/configure.js +114 -0
  2. package/.genx/package.json +5 -2
  3. package/.genx/prompts/api.js +25 -0
  4. package/.genx/prompts/ui.js +12 -0
  5. package/.genx/prompts.js +8 -2
  6. package/.genx/static.js +1 -0
  7. package/.genx/templates/angular/component/component.hbs +31 -3
  8. package/.genx/templates/angular/entityManager.hbs +17 -6
  9. package/.genx/templates/angular/grid.hbs +5 -2
  10. package/.genx/templates/angular/slices/eventing.slice.hbs +41 -0
  11. package/.genx/templates/angular/store.hbs +16 -0
  12. package/.genx/templates/angular/tabsLayout.hbs +1 -1
  13. package/.genx/templates/react/component/component.hbs +84 -15
  14. package/.genx/templates/react/entityManager.hbs +11 -17
  15. package/.genx/templates/react/grid.hbs +5 -9
  16. package/.genx/templates/react/gridLayout.hbs +4 -4
  17. package/.genx/templates/react/horizontalLayout.hbs +1 -1
  18. package/.genx/templates/react/route.hbs +12 -1
  19. package/.genx/templates/react/slices/eventing.slice.hbs +39 -0
  20. package/.genx/templates/react/store.hbs +24 -0
  21. package/.genx/templates/react/tabsLayout.hbs +2 -2
  22. package/.genx/templates/web-components/component/component.hbs +26 -0
  23. package/.genx/templates/web-components/entityManager.hbs +17 -9
  24. package/.genx/templates/web-components/grid.hbs +13 -5
  25. package/.genx/templates/web-components/slices/eventing.slice.hbs +44 -0
  26. package/.genx/templates/web-components/store.hbs +18 -0
  27. package/.genx/utils/fontUtils.js +75 -0
  28. package/.genx/utils/formatRouteData.js +5 -0
  29. package/.genx/utils/generateRoute.js +1 -1
  30. package/.genx/utils/generateStore.js +98 -0
  31. package/.genx/utils/index.js +4 -0
  32. package/.genx/versions.json +3 -3
  33. package/.github/CODEOWNERS +1 -1
  34. package/.github/pull_request_template.md +6 -0
  35. package/.github/workflows/upgrade.yml +0 -1
  36. package/CHANGELOG.md +229 -0
  37. package/client-tmp/angular/package.json +5 -0
  38. package/client-tmp/angular/src/app/app.component.ts +2 -31
  39. package/client-tmp/angular/src/app/app.module.ts +3 -0
  40. package/client-tmp/angular/src/app/layouts/default/default.layout.css +8 -0
  41. package/client-tmp/angular/src/app/layouts/default/default.layout.html +3 -0
  42. package/client-tmp/angular/src/app/share/genesis-components.ts +12 -1
  43. package/client-tmp/angular/src/styles/design-tokens.json +1 -1
  44. package/client-tmp/angular/src/styles/styles.css +15 -1
  45. package/client-tmp/react/index.html +0 -1
  46. package/client-tmp/react/package.json +16 -28
  47. package/client-tmp/react/public/index.html +3 -1
  48. package/client-tmp/react/src/App.tsx +12 -29
  49. package/client-tmp/react/src/components/routes/AppRoutes.tsx +4 -4
  50. package/client-tmp/react/src/config.ts +1 -1
  51. package/client-tmp/react/src/layouts/blank/BlankLayout.tsx +1 -1
  52. package/client-tmp/react/src/layouts/default/DefaultLayout.module.css +8 -0
  53. package/client-tmp/react/src/layouts/default/DefaultLayout.tsx +7 -4
  54. package/client-tmp/react/src/main.tsx +1 -1
  55. package/client-tmp/react/src/pages/AuthPage/AuthPage.tsx +1 -1
  56. package/client-tmp/react/src/pages/NotFoundPage/NotFoundPage.tsx +1 -1
  57. package/client-tmp/react/src/pages/NotPermittedPage/NotPermittedPage.test.tsx +1 -1
  58. package/client-tmp/react/src/pages/NotPermittedPage/NotPermittedPage.tsx +1 -1
  59. package/client-tmp/react/src/pbc/container.tsx +1 -1
  60. package/client-tmp/react/src/share/foundation-login.ts +2 -2
  61. package/client-tmp/react/src/share/genesis-components.ts +12 -1
  62. package/client-tmp/react/src/store/RoutesContext.tsx +6 -6
  63. package/client-tmp/react/src/styles/design-tokens.json +1 -1
  64. package/client-tmp/react/src/styles/styles.css +15 -1
  65. package/client-tmp/react/src/utils/getLayoutNameByRoute.ts +1 -1
  66. package/client-tmp/react/src/utils/goldenLayout.helper.ts +59 -0
  67. package/client-tmp/react/test/e2e/fixture.ts +1 -1
  68. package/client-tmp/web-components/package.json +4 -0
  69. package/client-tmp/web-components/src/components/components.ts +18 -9
  70. package/client-tmp/web-components/src/layouts/default.ts +12 -2
  71. package/client-tmp/web-components/src/main/main.css +12 -0
  72. package/client-tmp/web-components/src/main/main.template.ts +0 -1
  73. package/client-tmp/web-components/src/main/main.ts +1 -34
  74. package/client-tmp/web-components/src/styles/design-tokens.json +1 -1
  75. package/client-tmp/web-components/src/styles/typography.ts +6 -4
  76. package/package.json +1 -1
  77. package/client-tmp/angular/src/app/store/store.ts +0 -34
  78. package/client-tmp/react/lint-css.ts +0 -19
  79. package/client-tmp/react/src/services/store.service.ts +0 -48
  80. package/client-tmp/react/vite.config.ts +0 -70
  81. package/client-tmp/web-components/src/store/store.ts +0 -29
@@ -1,70 +0,0 @@
1
- import { fileURLToPath } from 'node:url';
2
- import { resolve, dirname } from 'path';
3
- import { defineConfig, UserConfig } from 'vite';
4
- import react from '@vitejs/plugin-react';
5
- import visualizer from 'rollup-plugin-visualizer';
6
- import tsconfigPaths from 'vite-plugin-tsconfig-paths';
7
-
8
- const __dirname = dirname(fileURLToPath(import.meta.url));
9
-
10
- export default defineConfig(({ mode }: { mode: string }): UserConfig => {
11
- const https: boolean = process.env.HTTPS === 'true';
12
- const open: boolean = !(process.env.NO_OPEN === 'true');
13
- const environmentFile = mode === 'production'
14
- ? 'environment.prod.ts'
15
- : 'environment.ts';
16
- const environmentPath = resolve(__dirname, 'src/environments', environmentFile);
17
-
18
- const config: UserConfig = {
19
- define: {
20
- BUILDER: JSON.stringify('vite'),
21
- },
22
- server: {
23
- https,
24
- open,
25
- fs: {
26
- strict: false,
27
- }
28
- },
29
- plugins: [
30
- react(),
31
- tsconfigPaths(),
32
- ],
33
- build: {
34
- rollupOptions: {
35
- plugins: [],
36
- treeshake: false,
37
- },
38
- },
39
- resolve: {
40
- alias: {
41
- 'foundationZero/ZeroDesignSystem': resolve(__dirname, 'node_modules/@genesislcap/foundation-zero'),
42
- '@': resolve(__dirname, 'src'),
43
- '@environment': environmentPath,
44
- 'pbc': resolve(__dirname, 'src/pbc'),
45
- },
46
- preserveSymlinks: true,
47
- },
48
- esbuild: {
49
- tsconfigRaw: {
50
- compilerOptions: {
51
- experimentalDecorators: true,
52
- },
53
- },
54
- },
55
- };
56
-
57
- if (mode === 'stats') {
58
- config.build.rollupOptions.plugins.push(
59
- visualizer({
60
- template: 'raw-data',
61
- filename: 'stats.json',
62
- open: true,
63
- gzipSize: true,
64
- brotliSize: true,
65
- })
66
- );
67
- }
68
-
69
- return config;
70
- });
@@ -1,29 +0,0 @@
1
- import { CustomEventMap } from '@genesislcap/foundation-events';
2
- import { getApp } from '@genesislcap/foundation-shell/app';
3
- import {
4
- AbstractStoreRoot,
5
- registerStore,
6
- StoreRoot,
7
- StoreRootEventDetailMap,
8
- } from '@genesislcap/foundation-store';
9
-
10
- export interface Store extends StoreRoot {}
11
-
12
- export type StoreEventDetailMap = StoreRootEventDetailMap & {};
13
-
14
- declare global {
15
- interface HTMLElementEventMap extends CustomEventMap<StoreEventDetailMap> {}
16
- }
17
-
18
- class DefaultStore extends AbstractStoreRoot<Store, StoreEventDetailMap> implements Store {
19
- constructor() {
20
- super();
21
-
22
- /**
23
- * Register the store root
24
- */
25
- getApp().registerStoreRoot(this);
26
- }
27
- }
28
-
29
- export const Store = registerStore(DefaultStore, 'Store');