@rxap/layout 22.0.0-dev.1 → 22.0.0-dev.2

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 (247) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +5 -3
  3. package/compodoc/changelog.html +26 -0
  4. package/compodoc/dependencies.html +12 -12
  5. package/compodoc/index.html +4 -3
  6. package/compodoc/js/search/search_index.js +2 -2
  7. package/compodoc/llms.txt +3 -1
  8. package/compodoc/miscellaneous/functions.html +81 -0
  9. package/compodoc/properties.html +1 -1
  10. package/docs/documentation.json +343 -319
  11. package/docs/html/classes/AppsButtonComponent.html +10 -10
  12. package/docs/html/classes/BaseLayoutComponent.html +4 -4
  13. package/docs/html/classes/DefaultHeaderComponent.html +12 -12
  14. package/docs/html/classes/DefaultHeaderService.html +8 -8
  15. package/docs/html/classes/ExternalAppsService.html +20 -20
  16. package/docs/html/classes/FooterComponent.html +7 -7
  17. package/docs/html/classes/FooterDirective.html +6 -6
  18. package/docs/html/classes/FooterService.html +8 -8
  19. package/docs/html/classes/HeaderComponent.html +8 -8
  20. package/docs/html/classes/HeaderDirective.html +6 -6
  21. package/docs/html/classes/HeaderService.html +8 -8
  22. package/docs/html/classes/LayoutComponent.html +8 -8
  23. package/docs/html/classes/LayoutService.html +19 -19
  24. package/docs/html/classes/LogoService.html +8 -8
  25. package/docs/html/classes/MinimalLayoutComponent.html +4 -4
  26. package/docs/html/classes/NavigationComponent.html +14 -14
  27. package/docs/html/classes/NavigationItemComponent.html +16 -16
  28. package/docs/html/classes/NavigationProgressBarComponent.html +6 -6
  29. package/docs/html/classes/NavigationService.html +14 -14
  30. package/docs/html/classes/ReleaseInfoComponent.html +8 -8
  31. package/docs/html/classes/SettingsButtonComponent.html +21 -21
  32. package/docs/html/classes/SidenavComponent.html +20 -20
  33. package/docs/html/classes/SidenavFooterDirective.html +5 -5
  34. package/docs/html/classes/SidenavHeaderDirective.html +5 -5
  35. package/docs/html/classes/SidenavToggleButtonComponent.html +7 -7
  36. package/docs/html/classes/UserProfileIconComponent.html +9 -9
  37. package/docs/html/functions/IsNavigationDividerItem.html +4 -4
  38. package/docs/html/functions/IsNavigationInsertItem.html +4 -4
  39. package/docs/html/functions/IsNavigationItem.html +4 -4
  40. package/docs/html/functions/provideExternalApps.html +4 -4
  41. package/docs/html/functions/provideLayout.html +4 -4
  42. package/docs/html/functions/withDefaultHeaderComponent.html +4 -4
  43. package/docs/html/functions/withDefaultHeaderItems.html +4 -4
  44. package/docs/html/functions/withFooterComponents.html +4 -4
  45. package/docs/html/functions/withHeaderComponents.html +4 -4
  46. package/docs/html/functions/withNavigationConfig.html +4 -4
  47. package/docs/html/functions/withNavigationInserts.html +4 -4
  48. package/docs/html/functions/withReleaseInfoModules.html +4 -4
  49. package/docs/html/functions/withSettingsMenuItems.html +4 -4
  50. package/docs/html/functions/withUserProfileDataSource.html +4 -4
  51. package/docs/html/hierarchy.html +4 -4
  52. package/docs/html/index.html +8 -7
  53. package/docs/html/interfaces/NavigationDividerItem.html +6 -6
  54. package/docs/html/interfaces/NavigationInsertItem.html +5 -5
  55. package/docs/html/interfaces/NavigationItem.html +9 -9
  56. package/docs/html/interfaces/NavigationStatus.html +5 -5
  57. package/docs/html/interfaces/ReleaseInfoModule.html +7 -7
  58. package/docs/html/interfaces/SettingsMenuItem.html +7 -7
  59. package/docs/html/modules.html +4 -4
  60. package/docs/html/types/DefaultHeaderItemComponent.html +4 -4
  61. package/docs/html/types/ExternalApp.html +4 -4
  62. package/docs/html/types/ExtractUsernameFromProfileFn.html +4 -4
  63. package/docs/html/types/Navigation.html +4 -4
  64. package/docs/html/types/NavigationWithInserts.html +4 -4
  65. package/docs/html/types/SettingsMenuItemComponent.html +4 -4
  66. package/docs/html/variables/EXTRACT_USERNAME_FROM_PROFILE.html +4 -4
  67. package/docs/html/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.html +4 -4
  68. package/docs/html/variables/RXAP_EXTERNAL_APP.html +4 -4
  69. package/docs/html/variables/RXAP_EXTERNAL_APP_FILTER.html +4 -4
  70. package/docs/html/variables/RXAP_FOOTER_COMPONENT.html +4 -4
  71. package/docs/html/variables/RXAP_HEADER_COMPONENT.html +4 -4
  72. package/docs/html/variables/RXAP_LAYOUT_APPS_GRID.html +4 -4
  73. package/docs/html/variables/RXAP_LOGO_CONFIG.html +4 -4
  74. package/docs/html/variables/RXAP_LOGO_CONFIG_DEFAULTS.html +4 -4
  75. package/docs/html/variables/RXAP_NAVIGATION_CONFIG.html +4 -4
  76. package/docs/html/variables/RXAP_NAVIGATION_CONFIG_INSERTS.html +4 -4
  77. package/docs/html/variables/RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.html +4 -4
  78. package/docs/html/variables/RXAP_RELEASE_INFO_MODULE.html +4 -4
  79. package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM.html +4 -4
  80. package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.html +4 -4
  81. package/docs/html/variables/RXAP_USER_PROFILE_DATA_SOURCE.html +4 -4
  82. package/docs/markdown/README.md +6 -4
  83. package/docs/markdown/classes/AppsButtonComponent.md +8 -8
  84. package/docs/markdown/classes/BaseLayoutComponent.md +2 -2
  85. package/docs/markdown/classes/DefaultHeaderComponent.md +10 -10
  86. package/docs/markdown/classes/DefaultHeaderService.md +6 -6
  87. package/docs/markdown/classes/ExternalAppsService.md +18 -18
  88. package/docs/markdown/classes/FooterComponent.md +5 -5
  89. package/docs/markdown/classes/FooterDirective.md +4 -4
  90. package/docs/markdown/classes/FooterService.md +6 -6
  91. package/docs/markdown/classes/HeaderComponent.md +6 -6
  92. package/docs/markdown/classes/HeaderDirective.md +4 -4
  93. package/docs/markdown/classes/HeaderService.md +6 -6
  94. package/docs/markdown/classes/LayoutComponent.md +6 -6
  95. package/docs/markdown/classes/LayoutService.md +17 -17
  96. package/docs/markdown/classes/LogoService.md +6 -6
  97. package/docs/markdown/classes/MinimalLayoutComponent.md +2 -2
  98. package/docs/markdown/classes/NavigationComponent.md +12 -12
  99. package/docs/markdown/classes/NavigationItemComponent.md +14 -14
  100. package/docs/markdown/classes/NavigationProgressBarComponent.md +4 -4
  101. package/docs/markdown/classes/NavigationService.md +12 -12
  102. package/docs/markdown/classes/ReleaseInfoComponent.md +6 -6
  103. package/docs/markdown/classes/SettingsButtonComponent.md +19 -19
  104. package/docs/markdown/classes/SidenavComponent.md +18 -18
  105. package/docs/markdown/classes/SidenavFooterDirective.md +3 -3
  106. package/docs/markdown/classes/SidenavHeaderDirective.md +3 -3
  107. package/docs/markdown/classes/SidenavToggleButtonComponent.md +5 -5
  108. package/docs/markdown/classes/UserProfileIconComponent.md +7 -7
  109. package/docs/markdown/functions/IsNavigationDividerItem.md +2 -2
  110. package/docs/markdown/functions/IsNavigationInsertItem.md +2 -2
  111. package/docs/markdown/functions/IsNavigationItem.md +2 -2
  112. package/docs/markdown/functions/provideExternalApps.md +2 -2
  113. package/docs/markdown/functions/provideLayout.md +2 -2
  114. package/docs/markdown/functions/withDefaultHeaderComponent.md +2 -2
  115. package/docs/markdown/functions/withDefaultHeaderItems.md +2 -2
  116. package/docs/markdown/functions/withFooterComponents.md +2 -2
  117. package/docs/markdown/functions/withHeaderComponents.md +2 -2
  118. package/docs/markdown/functions/withNavigationConfig.md +2 -2
  119. package/docs/markdown/functions/withNavigationInserts.md +2 -2
  120. package/docs/markdown/functions/withReleaseInfoModules.md +2 -2
  121. package/docs/markdown/functions/withSettingsMenuItems.md +2 -2
  122. package/docs/markdown/functions/withUserProfileDataSource.md +2 -2
  123. package/docs/markdown/globals.md +2 -2
  124. package/docs/markdown/interfaces/NavigationDividerItem.md +4 -4
  125. package/docs/markdown/interfaces/NavigationInsertItem.md +3 -3
  126. package/docs/markdown/interfaces/NavigationItem.md +7 -7
  127. package/docs/markdown/interfaces/NavigationStatus.md +3 -3
  128. package/docs/markdown/interfaces/ReleaseInfoModule.md +5 -5
  129. package/docs/markdown/interfaces/SettingsMenuItem.md +5 -5
  130. package/docs/markdown/type-aliases/DefaultHeaderItemComponent.md +2 -2
  131. package/docs/markdown/type-aliases/ExternalApp.md +2 -2
  132. package/docs/markdown/type-aliases/ExtractUsernameFromProfileFn.md +2 -2
  133. package/docs/markdown/type-aliases/Navigation.md +2 -2
  134. package/docs/markdown/type-aliases/NavigationWithInserts.md +2 -2
  135. package/docs/markdown/type-aliases/SettingsMenuItemComponent.md +2 -2
  136. package/docs/markdown/variables/EXTRACT_USERNAME_FROM_PROFILE.md +2 -2
  137. package/docs/markdown/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.md +2 -2
  138. package/docs/markdown/variables/RXAP_EXTERNAL_APP.md +2 -2
  139. package/docs/markdown/variables/RXAP_EXTERNAL_APP_FILTER.md +2 -2
  140. package/docs/markdown/variables/RXAP_FOOTER_COMPONENT.md +2 -2
  141. package/docs/markdown/variables/RXAP_HEADER_COMPONENT.md +2 -2
  142. package/docs/markdown/variables/RXAP_LAYOUT_APPS_GRID.md +2 -2
  143. package/docs/markdown/variables/RXAP_LOGO_CONFIG.md +2 -2
  144. package/docs/markdown/variables/RXAP_LOGO_CONFIG_DEFAULTS.md +2 -2
  145. package/docs/markdown/variables/RXAP_NAVIGATION_CONFIG.md +2 -2
  146. package/docs/markdown/variables/RXAP_NAVIGATION_CONFIG_INSERTS.md +2 -2
  147. package/docs/markdown/variables/RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.md +2 -2
  148. package/docs/markdown/variables/RXAP_RELEASE_INFO_MODULE.md +2 -2
  149. package/docs/markdown/variables/RXAP_SETTINGS_MENU_ITEM.md +2 -2
  150. package/docs/markdown/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.md +2 -2
  151. package/docs/markdown/variables/RXAP_USER_PROFILE_DATA_SOURCE.md +2 -2
  152. package/docs/wiki/Class.AppsButtonComponent.md +7 -7
  153. package/docs/wiki/Class.BaseLayoutComponent.md +1 -1
  154. package/docs/wiki/Class.DefaultHeaderComponent.md +9 -9
  155. package/docs/wiki/Class.DefaultHeaderService.md +5 -5
  156. package/docs/wiki/Class.ExternalAppsService.md +17 -17
  157. package/docs/wiki/Class.FooterComponent.md +4 -4
  158. package/docs/wiki/Class.FooterDirective.md +3 -3
  159. package/docs/wiki/Class.FooterService.md +5 -5
  160. package/docs/wiki/Class.HeaderComponent.md +5 -5
  161. package/docs/wiki/Class.HeaderDirective.md +3 -3
  162. package/docs/wiki/Class.HeaderService.md +5 -5
  163. package/docs/wiki/Class.LayoutComponent.md +5 -5
  164. package/docs/wiki/Class.LayoutService.md +16 -16
  165. package/docs/wiki/Class.LogoService.md +5 -5
  166. package/docs/wiki/Class.MinimalLayoutComponent.md +1 -1
  167. package/docs/wiki/Class.NavigationComponent.md +11 -11
  168. package/docs/wiki/Class.NavigationItemComponent.md +13 -13
  169. package/docs/wiki/Class.NavigationProgressBarComponent.md +3 -3
  170. package/docs/wiki/Class.NavigationService.md +11 -11
  171. package/docs/wiki/Class.ReleaseInfoComponent.md +5 -5
  172. package/docs/wiki/Class.SettingsButtonComponent.md +18 -18
  173. package/docs/wiki/Class.SidenavComponent.md +17 -17
  174. package/docs/wiki/Class.SidenavFooterDirective.md +2 -2
  175. package/docs/wiki/Class.SidenavHeaderDirective.md +2 -2
  176. package/docs/wiki/Class.SidenavToggleButtonComponent.md +4 -4
  177. package/docs/wiki/Class.UserProfileIconComponent.md +6 -6
  178. package/docs/wiki/Function.IsNavigationDividerItem.md +1 -1
  179. package/docs/wiki/Function.IsNavigationInsertItem.md +1 -1
  180. package/docs/wiki/Function.IsNavigationItem.md +1 -1
  181. package/docs/wiki/Function.provideExternalApps.md +1 -1
  182. package/docs/wiki/Function.provideLayout.md +1 -1
  183. package/docs/wiki/Function.withDefaultHeaderComponent.md +1 -1
  184. package/docs/wiki/Function.withDefaultHeaderItems.md +1 -1
  185. package/docs/wiki/Function.withFooterComponents.md +1 -1
  186. package/docs/wiki/Function.withHeaderComponents.md +1 -1
  187. package/docs/wiki/Function.withNavigationConfig.md +1 -1
  188. package/docs/wiki/Function.withNavigationInserts.md +1 -1
  189. package/docs/wiki/Function.withReleaseInfoModules.md +1 -1
  190. package/docs/wiki/Function.withSettingsMenuItems.md +1 -1
  191. package/docs/wiki/Function.withUserProfileDataSource.md +1 -1
  192. package/docs/wiki/Home.md +5 -3
  193. package/docs/wiki/Interface.NavigationDividerItem.md +3 -3
  194. package/docs/wiki/Interface.NavigationInsertItem.md +2 -2
  195. package/docs/wiki/Interface.NavigationItem.md +6 -6
  196. package/docs/wiki/Interface.NavigationStatus.md +2 -2
  197. package/docs/wiki/Interface.ReleaseInfoModule.md +4 -4
  198. package/docs/wiki/Interface.SettingsMenuItem.md +4 -4
  199. package/docs/wiki/TypeAlias.DefaultHeaderItemComponent.md +1 -1
  200. package/docs/wiki/TypeAlias.ExternalApp.md +1 -1
  201. package/docs/wiki/TypeAlias.ExtractUsernameFromProfileFn.md +1 -1
  202. package/docs/wiki/TypeAlias.Navigation.md +1 -1
  203. package/docs/wiki/TypeAlias.NavigationWithInserts.md +1 -1
  204. package/docs/wiki/TypeAlias.SettingsMenuItemComponent.md +1 -1
  205. package/docs/wiki/Variable.EXTRACT_USERNAME_FROM_PROFILE.md +1 -1
  206. package/docs/wiki/Variable.RXAP_DEFAULT_HEADER_ITEM_COMPONENT.md +1 -1
  207. package/docs/wiki/Variable.RXAP_EXTERNAL_APP.md +1 -1
  208. package/docs/wiki/Variable.RXAP_EXTERNAL_APP_FILTER.md +1 -1
  209. package/docs/wiki/Variable.RXAP_FOOTER_COMPONENT.md +1 -1
  210. package/docs/wiki/Variable.RXAP_HEADER_COMPONENT.md +1 -1
  211. package/docs/wiki/Variable.RXAP_LAYOUT_APPS_GRID.md +1 -1
  212. package/docs/wiki/Variable.RXAP_LOGO_CONFIG.md +1 -1
  213. package/docs/wiki/Variable.RXAP_LOGO_CONFIG_DEFAULTS.md +1 -1
  214. package/docs/wiki/Variable.RXAP_NAVIGATION_CONFIG.md +1 -1
  215. package/docs/wiki/Variable.RXAP_NAVIGATION_CONFIG_INSERTS.md +1 -1
  216. package/docs/wiki/Variable.RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.md +1 -1
  217. package/docs/wiki/Variable.RXAP_RELEASE_INFO_MODULE.md +1 -1
  218. package/docs/wiki/Variable.RXAP_SETTINGS_MENU_ITEM.md +1 -1
  219. package/docs/wiki/Variable.RXAP_SETTINGS_MENU_ITEM_COMPONENT.md +1 -1
  220. package/docs/wiki/Variable.RXAP_USER_PROFILE_DATA_SOURCE.md +1 -1
  221. package/docs/wiki/globals.md +1 -1
  222. package/package.json +30 -32
  223. package/src/generators/init/generator.js +120 -0
  224. package/src/generators/init/index.js +6 -0
  225. package/src/generators/package.json +3 -0
  226. package/compodoc/components/LanguageSelectorComponent.html +0 -478
  227. package/compodoc/components/ResetButtonComponent.html +0 -486
  228. package/compodoc/components/SignOutComponent.html +0 -440
  229. package/compodoc/components/ToggleWindowSidenavButtonComponent.html +0 -549
  230. package/compodoc/components/VersionComponent.html +0 -524
  231. package/compodoc/components/WindowContainerSidenavComponent.html +0 -687
  232. package/compodoc/directives/FooterDirective-1.html +0 -293
  233. package/compodoc/injectables/AppUrlService.html +0 -829
  234. package/compodoc/injectables/AuthenticationServiceMock.html +0 -303
  235. package/compodoc/injectables/LayoutComponentService.html +0 -848
  236. package/compodoc/injectables/ReplaceRouterPathsService.html +0 -337
  237. package/compodoc/injectables/SidenavComponentService.html +0 -408
  238. package/compodoc/interfaces/ExternalApps.html +0 -634
  239. package/compodoc/interfaces/LogoConfig.html +0 -381
  240. package/compodoc/js/libs/vis.min.js +0 -47
  241. package/compodoc/js/menu-wc_es5.js +0 -40
  242. package/compodoc/pipes/ReplaceRouterPathsPipe.html +0 -363
  243. package/src/generators/init/generator.spec.ts +0 -228
  244. package/src/generators/init/generator.ts +0 -139
  245. package/src/generators/init/index.ts +0 -5
  246. package/src/generators/init/schema.d.ts +0 -2
  247. package/theme.css +0 -425
@@ -1,139 +0,0 @@
1
- import {
2
- addDependenciesToPackageJson,
3
- formatFiles,
4
- installPackagesTask,
5
- Tree,
6
- } from '@nx/devkit';
7
- import { existsSync, readFileSync } from 'fs';
8
- import { join } from 'path';
9
- import { InitGeneratorSchema } from './schema';
10
-
11
- export async function initGenerator(tree: Tree, options: InitGeneratorSchema) {
12
- // The package's own package.json lives on disk next to the compiled generator
13
- // (inside node_modules when installed), which the virtual Tree does not track.
14
- // Read it directly from the physical filesystem.
15
- const packageJsonFilePath = join(__dirname, '..', '..', '..', 'package.json');
16
- if (!existsSync(packageJsonFilePath)) {
17
- console.error('package.json not found in: ' + packageJsonFilePath);
18
- return;
19
- }
20
- const { peerDependencies, name: packageName } = JSON.parse(
21
- readFileSync(packageJsonFilePath, 'utf-8')
22
- );
23
-
24
- console.log(`Coerce peer dependencies for package: ${packageName}`);
25
- if (!peerDependencies || !Object.keys(peerDependencies).length) {
26
- console.log('No peer dependencies found');
27
- return;
28
- }
29
- console.log(`Peer dependencies: ${Object.keys(peerDependencies).join(', ')}`);
30
-
31
- const rootPackageJson = JSON.parse(tree.read('package.json', 'utf-8')!);
32
-
33
- let isDevDependency = !!rootPackageJson.devDependencies?.[packageName];
34
-
35
- if (
36
- isDevDependency &&
37
- [/^@rxap\/ngx/, /^@rxap\/nest/].some((rx) => rx.test(packageName))
38
- ) {
39
- rootPackageJson.dependencies ??= {};
40
- rootPackageJson.dependencies[packageName] =
41
- rootPackageJson.devDependencies[packageName];
42
- delete rootPackageJson.devDependencies[packageName];
43
- isDevDependency = false;
44
- tree.write('package.json', JSON.stringify(rootPackageJson, null, 2));
45
- }
46
- if (
47
- !isDevDependency &&
48
- [
49
- /^@rxap\/plugin/,
50
- /^@rxap\/workspace/,
51
- /@rxap\/schematic/,
52
- ].some((rx) => rx.test(packageName))
53
- ) {
54
- rootPackageJson.devDependencies ??= {};
55
- rootPackageJson.devDependencies[packageName] =
56
- rootPackageJson.dependencies[packageName];
57
- delete rootPackageJson.dependencies[packageName];
58
- isDevDependency = true;
59
- tree.write('package.json', JSON.stringify(rootPackageJson, null, 2));
60
- }
61
-
62
- const missingPeerDependencies = Object.entries(peerDependencies)
63
- .filter(
64
- ([dep]) =>
65
- !rootPackageJson.dependencies?.[dep] &&
66
- !rootPackageJson.devDependencies?.[dep]
67
- )
68
- .reduce((acc, [dep, version]) => ({ ...acc, [dep]: version }), {});
69
-
70
- if (!Object.keys(missingPeerDependencies).length) {
71
- console.log('No missing peer dependencies');
72
- return;
73
- }
74
-
75
- if (isDevDependency) {
76
- addDependenciesToPackageJson(tree, {}, missingPeerDependencies);
77
- } else {
78
- addDependenciesToPackageJson(tree, missingPeerDependencies, {});
79
- }
80
-
81
- await formatFiles(tree);
82
-
83
- installPackagesTask(tree);
84
-
85
- for (const peer of Object.keys(missingPeerDependencies)) {
86
- console.log(`Peer dependency ${peer} added to package.json`);
87
- // node_modules is physical and excluded from the virtual Tree, so resolve
88
- // peer files from disk relative to the workspace root.
89
- const peerPackageDir = join(tree.root, 'node_modules', ...peer.split('/'));
90
- const peerPackageJsonFilePath = join(peerPackageDir, 'package.json');
91
- if (!existsSync(peerPackageJsonFilePath)) {
92
- console.log(`Peer dependency ${peer} has no package.json`);
93
- continue;
94
- }
95
- const { generators, schematics } = JSON.parse(
96
- readFileSync(peerPackageJsonFilePath, 'utf-8')
97
- );
98
- if (!generators && !schematics) {
99
- console.log(`Peer dependency ${peer} has no generators or schematics`);
100
- continue;
101
- }
102
- const configFile = generators || schematics;
103
- const configFilePath = join(peerPackageDir, configFile);
104
- if (!existsSync(configFilePath)) {
105
- console.log(
106
- `Peer dependency ${peer} has no generators or schematics file`
107
- );
108
- continue;
109
- }
110
- const config = JSON.parse(readFileSync(configFilePath, 'utf-8'));
111
- if (!config.generators?.init) {
112
- console.log(`Peer dependency ${peer} has no init generator`);
113
- continue;
114
- }
115
- const initGeneratorFilePath = config.generators.init.factory;
116
- const fullInitGeneratorFilePath =
117
- join(peerPackageDir, initGeneratorFilePath) + '.js';
118
- if (!existsSync(fullInitGeneratorFilePath)) {
119
- console.log(
120
- `Peer dependency ${peer} has no init generator file: ` +
121
- fullInitGeneratorFilePath
122
- );
123
- continue;
124
- }
125
- // eslint-disable-next-line @typescript-eslint/no-var-requires
126
- const initGenerator = require(join(
127
- peerPackageDir,
128
- initGeneratorFilePath
129
- ))?.default;
130
- if (typeof initGenerator !== 'function') {
131
- console.log(`Peer dependency ${peer} has no init generator function`);
132
- continue;
133
- }
134
- console.log(`Run init generator for peer dependency ${peer}`);
135
- await initGenerator(tree, options);
136
- }
137
- }
138
-
139
- export default initGenerator;
@@ -1,5 +0,0 @@
1
- import { convertNxGenerator } from '@nx/devkit';
2
- import generator from './generator';
3
-
4
- const schematic = convertNxGenerator(generator);
5
- export default schematic;
@@ -1,2 +0,0 @@
1
- // eslint-disable-next-line @typescript-eslint/no-empty-interface
2
- export interface InitGeneratorSchema {}
package/theme.css DELETED
@@ -1,425 +0,0 @@
1
- .visible {
2
- visibility: visible
3
- }
4
-
5
- .invisible {
6
- visibility: hidden
7
- }
8
-
9
- .collapse {
10
- visibility: collapse
11
- }
12
-
13
- .static {
14
- position: static
15
- }
16
-
17
- .fixed {
18
- position: fixed
19
- }
20
-
21
- .absolute {
22
- position: absolute
23
- }
24
-
25
- .relative {
26
- position: relative
27
- }
28
-
29
- .sticky {
30
- position: sticky
31
- }
32
-
33
- .bottom-0 {
34
- bottom: 0px
35
- }
36
-
37
- .top-0 {
38
- top: 0px
39
- }
40
-
41
- .z-10 {
42
- z-index: 10
43
- }
44
-
45
- .mx-16 {
46
- margin-left: 4rem;
47
- margin-right: 4rem
48
- }
49
-
50
- .ml-16 {
51
- margin-left: 4rem
52
- }
53
-
54
- .mt-4 {
55
- margin-top: 1rem
56
- }
57
-
58
- .block {
59
- display: block
60
- }
61
-
62
- .inline {
63
- display: inline
64
- }
65
-
66
- .flex {
67
- display: flex
68
- }
69
-
70
- .table {
71
- display: table
72
- }
73
-
74
- .contents {
75
- display: contents
76
- }
77
-
78
- .hidden {
79
- display: none
80
- }
81
-
82
- .h-10 {
83
- height: 2.5rem
84
- }
85
-
86
- .h-12 {
87
- height: 3rem
88
- }
89
-
90
- .h-6 {
91
- height: 1.5rem
92
- }
93
-
94
- .h-8 {
95
- height: 2rem
96
- }
97
-
98
- .h-full {
99
- height: 100%
100
- }
101
-
102
- .w-8 {
103
- width: 2rem
104
- }
105
-
106
- .w-full {
107
- width: 100%
108
- }
109
-
110
- .\!max-w-none {
111
- max-width: none !important
112
- }
113
-
114
- .grow {
115
- flex-grow: 1
116
- }
117
-
118
- .grow-0 {
119
- flex-grow: 0
120
- }
121
-
122
- .table-auto {
123
- table-layout: auto
124
- }
125
-
126
- .border-separate {
127
- border-collapse: separate
128
- }
129
-
130
- .border-spacing-2 {
131
- --tw-border-spacing-x: 0.5rem;
132
- --tw-border-spacing-y: 0.5rem;
133
- border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y)
134
- }
135
-
136
- .transform {
137
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
138
- }
139
-
140
- .cursor-pointer {
141
- cursor: pointer
142
- }
143
-
144
- .list-none {
145
- list-style-type: none
146
- }
147
-
148
- .flex-row {
149
- flex-direction: row
150
- }
151
-
152
- .flex-col {
153
- flex-direction: column
154
- }
155
-
156
- .items-center {
157
- align-items: center
158
- }
159
-
160
- .justify-center {
161
- justify-content: center
162
- }
163
-
164
- .justify-between {
165
- justify-content: space-between
166
- }
167
-
168
- .justify-items-stretch {
169
- justify-items: stretch
170
- }
171
-
172
- .gap-2 {
173
- gap: 0.5rem
174
- }
175
-
176
- .gap-4 {
177
- gap: 1rem
178
- }
179
-
180
- .gap-6 {
181
- gap: 1.5rem
182
- }
183
-
184
- .gap-8 {
185
- gap: 2rem
186
- }
187
-
188
- .gap-x-4 {
189
- -moz-column-gap: 1rem;
190
- column-gap: 1rem
191
- }
192
-
193
- .gap-y-5 {
194
- row-gap: 1.25rem
195
- }
196
-
197
- .self-stretch {
198
- align-self: stretch
199
- }
200
-
201
- .overflow-hidden {
202
- overflow: hidden
203
- }
204
-
205
- .whitespace-nowrap {
206
- white-space: nowrap
207
- }
208
-
209
- .rounded-full {
210
- border-radius: 9999px
211
- }
212
-
213
- .border {
214
- border-width: 1px
215
- }
216
-
217
- .border-l-4 {
218
- border-left-width: 4px
219
- }
220
-
221
- .border-accent-600 {
222
- border-color: var(--accent-600)
223
- }
224
-
225
- .border-slate-300 {
226
- --tw-border-opacity: 1;
227
- border-color: rgb(203 213 225 / var(--tw-border-opacity, 1))
228
- }
229
-
230
- .bg-slate-50 {
231
- --tw-bg-opacity: 1;
232
- background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1))
233
- }
234
-
235
- .bg-white {
236
- --tw-bg-opacity: 1;
237
- background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1))
238
- }
239
-
240
- .bg-cover {
241
- background-size: cover
242
- }
243
-
244
- .bg-center {
245
- background-position: center
246
- }
247
-
248
- .bg-no-repeat {
249
- background-repeat: no-repeat
250
- }
251
-
252
- .p-10 {
253
- padding: 2.5rem
254
- }
255
-
256
- .p-2 {
257
- padding: 0.5rem
258
- }
259
-
260
- .p-4 {
261
- padding: 1rem
262
- }
263
-
264
- .px-16 {
265
- padding-left: 4rem;
266
- padding-right: 4rem
267
- }
268
-
269
- .px-4 {
270
- padding-left: 1rem;
271
- padding-right: 1rem
272
- }
273
-
274
- .py-2 {
275
- padding-top: 0.5rem;
276
- padding-bottom: 0.5rem
277
- }
278
-
279
- .pb-2 {
280
- padding-bottom: 0.5rem
281
- }
282
-
283
- .pl-2 {
284
- padding-left: 0.5rem
285
- }
286
-
287
- .pl-4 {
288
- padding-left: 1rem
289
- }
290
-
291
- .pl-5 {
292
- padding-left: 1.25rem
293
- }
294
-
295
- .pr-5 {
296
- padding-right: 1.25rem
297
- }
298
-
299
- .text-\[32px\] {
300
- font-size: 32px
301
- }
302
-
303
- .text-lg {
304
- font-size: 1.125rem;
305
- line-height: 1.75rem
306
- }
307
-
308
- .text-sm {
309
- font-size: 0.875rem;
310
- line-height: 1.25rem
311
- }
312
-
313
- .text-xl {
314
- font-size: 1.25rem;
315
- line-height: 1.75rem
316
- }
317
-
318
- .font-bold {
319
- font-weight: 700
320
- }
321
-
322
- .capitalize {
323
- text-transform: capitalize
324
- }
325
-
326
- .text-accent-400 {
327
- color: var(--accent-400)
328
- }
329
-
330
- .text-neutral-700 {
331
- --tw-text-opacity: 1;
332
- color: rgb(64 64 64 / var(--tw-text-opacity, 1))
333
- }
334
-
335
- .text-red-700 {
336
- --tw-text-opacity: 1;
337
- color: rgb(185 28 28 / var(--tw-text-opacity, 1))
338
- }
339
-
340
- .text-slate-500 {
341
- --tw-text-opacity: 1;
342
- color: rgb(100 116 139 / var(--tw-text-opacity, 1))
343
- }
344
-
345
- .text-slate-900 {
346
- --tw-text-opacity: 1;
347
- color: rgb(15 23 42 / var(--tw-text-opacity, 1))
348
- }
349
-
350
- .shadow-sm {
351
- --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
352
- --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
353
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
354
- }
355
-
356
- .outline-none {
357
- outline: 2px solid transparent;
358
- outline-offset: 2px
359
- }
360
-
361
- .invert {
362
- --tw-invert: invert(100%);
363
- filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)
364
- }
365
-
366
- .\!filter {
367
- filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important
368
- }
369
-
370
- .filter {
371
- filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)
372
- }
373
-
374
- .transition {
375
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
376
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
377
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
378
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
379
- transition-duration: 150ms
380
- }
381
-
382
- .hover\:text-black:hover {
383
- --tw-text-opacity: 1;
384
- color: rgb(0 0 0 / var(--tw-text-opacity, 1))
385
- }
386
-
387
- .dark\:border-slate-600:where(.dark, .dark *) {
388
- --tw-border-opacity: 1;
389
- border-color: rgb(71 85 105 / var(--tw-border-opacity, 1))
390
- }
391
-
392
- .dark\:border-slate-700:where(.dark, .dark *) {
393
- --tw-border-opacity: 1;
394
- border-color: rgb(51 65 85 / var(--tw-border-opacity, 1))
395
- }
396
-
397
- .dark\:bg-slate-700:where(.dark, .dark *) {
398
- --tw-bg-opacity: 1;
399
- background-color: rgb(51 65 85 / var(--tw-bg-opacity, 1))
400
- }
401
-
402
- .dark\:bg-slate-800:where(.dark, .dark *) {
403
- --tw-bg-opacity: 1;
404
- background-color: rgb(30 41 59 / var(--tw-bg-opacity, 1))
405
- }
406
-
407
- .dark\:text-neutral-400:where(.dark, .dark *) {
408
- --tw-text-opacity: 1;
409
- color: rgb(163 163 163 / var(--tw-text-opacity, 1))
410
- }
411
-
412
- .dark\:text-slate-200:where(.dark, .dark *) {
413
- --tw-text-opacity: 1;
414
- color: rgb(226 232 240 / var(--tw-text-opacity, 1))
415
- }
416
-
417
- .dark\:text-slate-400:where(.dark, .dark *) {
418
- --tw-text-opacity: 1;
419
- color: rgb(148 163 184 / var(--tw-text-opacity, 1))
420
- }
421
-
422
- .dark\:hover\:text-white:hover:where(.dark, .dark *) {
423
- --tw-text-opacity: 1;
424
- color: rgb(255 255 255 / var(--tw-text-opacity, 1))
425
- }