@rxap/layout 22.0.0-dev.0 → 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 (322) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/README.md +5 -3
  3. package/compodoc/{directives/FooterDirective-1.html → architecture.html} +68 -139
  4. package/compodoc/changelog.html +98 -5
  5. package/compodoc/components/AppsButtonComponent.html +174 -40
  6. package/compodoc/components/BaseLayoutComponent.html +115 -23
  7. package/compodoc/components/DefaultHeaderComponent.html +205 -36
  8. package/compodoc/components/FooterComponent.html +142 -27
  9. package/compodoc/components/HeaderComponent.html +165 -61
  10. package/compodoc/components/LayoutComponent.html +194 -44
  11. package/compodoc/components/MinimalLayoutComponent.html +120 -26
  12. package/compodoc/components/NavigationComponent.html +220 -133
  13. package/compodoc/components/NavigationItemComponent.html +248 -115
  14. package/compodoc/components/NavigationProgressBarComponent.html +121 -25
  15. package/compodoc/components/ReleaseInfoComponent.html +149 -32
  16. package/compodoc/components/SettingsButtonComponent.html +220 -62
  17. package/compodoc/components/SidenavComponent.html +222 -56
  18. package/compodoc/components/SidenavToggleButtonComponent.html +117 -27
  19. package/compodoc/components/UserProfileIconComponent.html +155 -66
  20. package/compodoc/dependencies.html +152 -49
  21. package/compodoc/directives/FooterDirective.html +74 -20
  22. package/compodoc/directives/HeaderDirective.html +74 -20
  23. package/compodoc/directives/SidenavFooterDirective.html +91 -19
  24. package/compodoc/directives/SidenavHeaderDirective.html +72 -19
  25. package/compodoc/index.html +50 -8
  26. package/compodoc/injectables/DefaultHeaderService.html +91 -25
  27. package/compodoc/injectables/ExternalAppsService.html +123 -21
  28. package/compodoc/injectables/FooterService.html +91 -25
  29. package/compodoc/injectables/HeaderService.html +91 -25
  30. package/compodoc/injectables/LayoutService.html +91 -21
  31. package/compodoc/injectables/LogoService.html +103 -17
  32. package/compodoc/injectables/NavigationService.html +84 -24
  33. package/compodoc/interfaces/NavigationDividerItem.html +155 -100
  34. package/compodoc/interfaces/NavigationInsertItem.html +114 -64
  35. package/compodoc/interfaces/NavigationItem.html +305 -216
  36. package/compodoc/interfaces/NavigationStatus.html +80 -35
  37. package/compodoc/interfaces/ReleaseInfoModule.html +197 -137
  38. package/compodoc/interfaces/SettingsMenuItem.html +197 -137
  39. package/compodoc/js/architecture-graph.js +288 -0
  40. package/compodoc/js/libs/bootstrap-native.js +4 -2
  41. package/compodoc/js/libs/jszip.min.js +13 -0
  42. package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
  43. package/compodoc/js/libs/tablesort.min.js +3 -3
  44. package/compodoc/js/libs/tablesort.number.min.js +3 -3
  45. package/compodoc/js/libs/vis-network.min.js +78 -0
  46. package/compodoc/js/menu-wc.js +26 -13
  47. package/compodoc/js/menu.js +10 -11
  48. package/compodoc/js/routes/routes_index.js +1 -0
  49. package/compodoc/js/routes.js +142 -34
  50. package/compodoc/js/search/search-lunr.js +6 -8
  51. package/compodoc/js/search/search.js +118 -66
  52. package/compodoc/js/search/search_index.js +2 -2
  53. package/compodoc/js/tabs.js +98 -15
  54. package/compodoc/js/tree.js +44 -7
  55. package/compodoc/license.html +48 -6
  56. package/compodoc/llms.txt +525 -0
  57. package/compodoc/miscellaneous/functions.html +171 -41
  58. package/compodoc/miscellaneous/typealiases.html +55 -12
  59. package/compodoc/miscellaneous/variables.html +163 -20
  60. package/compodoc/modules.html +44 -3
  61. package/compodoc/overview.html +54 -3
  62. package/compodoc/properties.html +45 -4
  63. package/compodoc/routes.html +227 -0
  64. package/compodoc/styles/compodoc.css +365 -44
  65. package/compodoc/styles/dark.css +16 -0
  66. package/compodoc/template-playground/default-templates.json +192 -0
  67. package/compodoc/template-playground/hbs-render.service.ts +217 -0
  68. package/compodoc/template-playground/main.ts +9 -0
  69. package/compodoc/template-playground/template-editor.service.ts +173 -0
  70. package/compodoc/template-playground/template-playground.component.ts +614 -0
  71. package/compodoc/template-playground/template-playground.module.ts +29 -0
  72. package/compodoc/template-playground/zip-export.service.ts +86 -0
  73. package/compodoc/template-playground-app/app.js +1389 -0
  74. package/compodoc/template-playground-app/index.html +462 -0
  75. package/docs/documentation.json +1700 -1219
  76. package/docs/html/assets/highlight.css +1 -1
  77. package/docs/html/assets/icons.js +1 -1
  78. package/docs/html/assets/icons.svg +1 -1
  79. package/docs/html/assets/main.js +5 -5
  80. package/docs/html/assets/search.js +1 -1
  81. package/docs/html/assets/style.css +265 -228
  82. package/docs/html/classes/AppsButtonComponent.html +110 -8
  83. package/docs/html/classes/BaseLayoutComponent.html +56 -2
  84. package/docs/html/classes/DefaultHeaderComponent.html +112 -10
  85. package/docs/html/classes/DefaultHeaderService.html +128 -13
  86. package/docs/html/classes/ExternalAppsService.html +240 -19
  87. package/docs/html/classes/FooterComponent.html +82 -5
  88. package/docs/html/classes/FooterDirective.html +95 -6
  89. package/docs/html/classes/FooterService.html +128 -13
  90. package/docs/html/classes/HeaderComponent.html +88 -6
  91. package/docs/html/classes/HeaderDirective.html +95 -6
  92. package/docs/html/classes/HeaderService.html +128 -13
  93. package/docs/html/classes/LayoutComponent.html +88 -6
  94. package/docs/html/classes/LayoutService.html +174 -16
  95. package/docs/html/classes/LogoService.html +88 -6
  96. package/docs/html/classes/MinimalLayoutComponent.html +56 -2
  97. package/docs/html/classes/NavigationComponent.html +156 -12
  98. package/docs/html/classes/NavigationItemComponent.html +172 -14
  99. package/docs/html/classes/NavigationProgressBarComponent.html +76 -4
  100. package/docs/html/classes/NavigationService.html +197 -12
  101. package/docs/html/classes/ReleaseInfoComponent.html +100 -6
  102. package/docs/html/classes/SettingsButtonComponent.html +242 -19
  103. package/docs/html/classes/SidenavComponent.html +190 -19
  104. package/docs/html/classes/SidenavFooterDirective.html +70 -3
  105. package/docs/html/classes/SidenavHeaderDirective.html +70 -3
  106. package/docs/html/classes/SidenavToggleButtonComponent.html +94 -5
  107. package/docs/html/classes/UserProfileIconComponent.html +106 -7
  108. package/docs/html/functions/IsNavigationDividerItem.html +42 -1
  109. package/docs/html/functions/IsNavigationInsertItem.html +42 -1
  110. package/docs/html/functions/IsNavigationItem.html +42 -1
  111. package/docs/html/functions/provideExternalApps.html +42 -1
  112. package/docs/html/functions/provideLayout.html +42 -1
  113. package/docs/html/functions/withDefaultHeaderComponent.html +38 -1
  114. package/docs/html/functions/withDefaultHeaderItems.html +42 -1
  115. package/docs/html/functions/withFooterComponents.html +42 -1
  116. package/docs/html/functions/withHeaderComponents.html +42 -1
  117. package/docs/html/functions/withNavigationConfig.html +42 -1
  118. package/docs/html/functions/withNavigationInserts.html +42 -1
  119. package/docs/html/functions/withReleaseInfoModules.html +42 -1
  120. package/docs/html/functions/withSettingsMenuItems.html +42 -1
  121. package/docs/html/functions/withUserProfileDataSource.html +43 -1
  122. package/docs/html/hierarchy.html +29 -0
  123. package/docs/html/index.html +96 -21
  124. package/docs/html/interfaces/NavigationDividerItem.html +61 -3
  125. package/docs/html/interfaces/NavigationInsertItem.html +55 -2
  126. package/docs/html/interfaces/NavigationItem.html +94 -6
  127. package/docs/html/interfaces/NavigationStatus.html +63 -2
  128. package/docs/html/interfaces/ReleaseInfoModule.html +67 -4
  129. package/docs/html/interfaces/SettingsMenuItem.html +67 -4
  130. package/docs/html/modules.html +52 -1
  131. package/docs/html/types/DefaultHeaderItemComponent.html +33 -1
  132. package/docs/html/types/ExternalApp.html +33 -1
  133. package/docs/html/types/ExtractUsernameFromProfileFn.html +49 -1
  134. package/docs/html/types/Navigation.html +33 -1
  135. package/docs/html/types/NavigationWithInserts.html +33 -1
  136. package/docs/html/types/SettingsMenuItemComponent.html +33 -1
  137. package/docs/html/variables/EXTRACT_USERNAME_FROM_PROFILE.html +33 -1
  138. package/docs/html/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.html +33 -1
  139. package/docs/html/variables/RXAP_EXTERNAL_APP.html +33 -1
  140. package/docs/html/variables/RXAP_EXTERNAL_APP_FILTER.html +33 -1
  141. package/docs/html/variables/RXAP_FOOTER_COMPONENT.html +33 -1
  142. package/docs/html/variables/RXAP_HEADER_COMPONENT.html +33 -1
  143. package/docs/html/variables/RXAP_LAYOUT_APPS_GRID.html +33 -1
  144. package/docs/html/variables/RXAP_LOGO_CONFIG.html +33 -1
  145. package/docs/html/variables/RXAP_LOGO_CONFIG_DEFAULTS.html +33 -1
  146. package/docs/html/variables/RXAP_NAVIGATION_CONFIG.html +33 -1
  147. package/docs/html/variables/RXAP_NAVIGATION_CONFIG_INSERTS.html +33 -1
  148. package/docs/html/variables/RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.html +33 -1
  149. package/docs/html/variables/RXAP_RELEASE_INFO_MODULE.html +33 -1
  150. package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM.html +33 -1
  151. package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.html +33 -1
  152. package/docs/html/variables/RXAP_USER_PROFILE_DATA_SOURCE.html +33 -1
  153. package/docs/markdown/README.md +6 -4
  154. package/docs/markdown/classes/AppsButtonComponent.md +11 -11
  155. package/docs/markdown/classes/BaseLayoutComponent.md +5 -5
  156. package/docs/markdown/classes/DefaultHeaderComponent.md +13 -13
  157. package/docs/markdown/classes/DefaultHeaderService.md +9 -9
  158. package/docs/markdown/classes/ExternalAppsService.md +29 -29
  159. package/docs/markdown/classes/FooterComponent.md +8 -8
  160. package/docs/markdown/classes/FooterDirective.md +7 -7
  161. package/docs/markdown/classes/FooterService.md +9 -9
  162. package/docs/markdown/classes/HeaderComponent.md +9 -9
  163. package/docs/markdown/classes/HeaderDirective.md +7 -7
  164. package/docs/markdown/classes/HeaderService.md +9 -9
  165. package/docs/markdown/classes/LayoutComponent.md +9 -9
  166. package/docs/markdown/classes/LayoutService.md +21 -21
  167. package/docs/markdown/classes/LogoService.md +9 -9
  168. package/docs/markdown/classes/MinimalLayoutComponent.md +5 -5
  169. package/docs/markdown/classes/NavigationComponent.md +19 -19
  170. package/docs/markdown/classes/NavigationItemComponent.md +21 -21
  171. package/docs/markdown/classes/NavigationProgressBarComponent.md +7 -7
  172. package/docs/markdown/classes/NavigationService.md +26 -26
  173. package/docs/markdown/classes/ReleaseInfoComponent.md +9 -9
  174. package/docs/markdown/classes/SettingsButtonComponent.md +24 -24
  175. package/docs/markdown/classes/SidenavComponent.md +24 -24
  176. package/docs/markdown/classes/SidenavFooterDirective.md +6 -6
  177. package/docs/markdown/classes/SidenavHeaderDirective.md +6 -6
  178. package/docs/markdown/classes/SidenavToggleButtonComponent.md +8 -8
  179. package/docs/markdown/classes/UserProfileIconComponent.md +11 -11
  180. package/docs/markdown/functions/IsNavigationDividerItem.md +2 -2
  181. package/docs/markdown/functions/IsNavigationInsertItem.md +2 -2
  182. package/docs/markdown/functions/IsNavigationItem.md +2 -2
  183. package/docs/markdown/functions/provideExternalApps.md +2 -2
  184. package/docs/markdown/functions/provideLayout.md +2 -2
  185. package/docs/markdown/functions/withDefaultHeaderComponent.md +2 -2
  186. package/docs/markdown/functions/withDefaultHeaderItems.md +3 -3
  187. package/docs/markdown/functions/withFooterComponents.md +2 -2
  188. package/docs/markdown/functions/withHeaderComponents.md +2 -2
  189. package/docs/markdown/functions/withNavigationConfig.md +3 -3
  190. package/docs/markdown/functions/withNavigationInserts.md +2 -2
  191. package/docs/markdown/functions/withReleaseInfoModules.md +2 -2
  192. package/docs/markdown/functions/withSettingsMenuItems.md +3 -3
  193. package/docs/markdown/functions/withUserProfileDataSource.md +4 -4
  194. package/docs/markdown/globals.md +2 -2
  195. package/docs/markdown/interfaces/NavigationDividerItem.md +5 -5
  196. package/docs/markdown/interfaces/NavigationInsertItem.md +3 -3
  197. package/docs/markdown/interfaces/NavigationItem.md +14 -12
  198. package/docs/markdown/interfaces/NavigationStatus.md +3 -3
  199. package/docs/markdown/interfaces/ReleaseInfoModule.md +6 -6
  200. package/docs/markdown/interfaces/SettingsMenuItem.md +7 -7
  201. package/docs/markdown/type-aliases/DefaultHeaderItemComponent.md +3 -3
  202. package/docs/markdown/type-aliases/ExternalApp.md +3 -3
  203. package/docs/markdown/type-aliases/ExtractUsernameFromProfileFn.md +7 -5
  204. package/docs/markdown/type-aliases/Navigation.md +3 -3
  205. package/docs/markdown/type-aliases/NavigationWithInserts.md +3 -3
  206. package/docs/markdown/type-aliases/SettingsMenuItemComponent.md +3 -3
  207. package/docs/markdown/variables/EXTRACT_USERNAME_FROM_PROFILE.md +2 -2
  208. package/docs/markdown/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.md +3 -3
  209. package/docs/markdown/variables/RXAP_EXTERNAL_APP.md +2 -2
  210. package/docs/markdown/variables/RXAP_EXTERNAL_APP_FILTER.md +2 -2
  211. package/docs/markdown/variables/RXAP_FOOTER_COMPONENT.md +2 -2
  212. package/docs/markdown/variables/RXAP_HEADER_COMPONENT.md +2 -2
  213. package/docs/markdown/variables/RXAP_LAYOUT_APPS_GRID.md +2 -2
  214. package/docs/markdown/variables/RXAP_LOGO_CONFIG.md +2 -2
  215. package/docs/markdown/variables/RXAP_LOGO_CONFIG_DEFAULTS.md +2 -2
  216. package/docs/markdown/variables/RXAP_NAVIGATION_CONFIG.md +3 -3
  217. package/docs/markdown/variables/RXAP_NAVIGATION_CONFIG_INSERTS.md +2 -2
  218. package/docs/markdown/variables/RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.md +2 -2
  219. package/docs/markdown/variables/RXAP_RELEASE_INFO_MODULE.md +2 -2
  220. package/docs/markdown/variables/RXAP_SETTINGS_MENU_ITEM.md +2 -2
  221. package/docs/markdown/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.md +3 -3
  222. package/docs/markdown/variables/RXAP_USER_PROFILE_DATA_SOURCE.md +2 -2
  223. package/docs/wiki/Class.AppsButtonComponent.md +10 -10
  224. package/docs/wiki/Class.BaseLayoutComponent.md +4 -4
  225. package/docs/wiki/Class.DefaultHeaderComponent.md +12 -12
  226. package/docs/wiki/Class.DefaultHeaderService.md +8 -8
  227. package/docs/wiki/Class.ExternalAppsService.md +28 -28
  228. package/docs/wiki/Class.FooterComponent.md +7 -7
  229. package/docs/wiki/Class.FooterDirective.md +6 -6
  230. package/docs/wiki/Class.FooterService.md +8 -8
  231. package/docs/wiki/Class.HeaderComponent.md +8 -8
  232. package/docs/wiki/Class.HeaderDirective.md +6 -6
  233. package/docs/wiki/Class.HeaderService.md +8 -8
  234. package/docs/wiki/Class.LayoutComponent.md +8 -8
  235. package/docs/wiki/Class.LayoutService.md +20 -20
  236. package/docs/wiki/Class.LogoService.md +8 -8
  237. package/docs/wiki/Class.MinimalLayoutComponent.md +4 -4
  238. package/docs/wiki/Class.NavigationComponent.md +18 -18
  239. package/docs/wiki/Class.NavigationItemComponent.md +20 -20
  240. package/docs/wiki/Class.NavigationProgressBarComponent.md +6 -6
  241. package/docs/wiki/Class.NavigationService.md +25 -25
  242. package/docs/wiki/Class.ReleaseInfoComponent.md +8 -8
  243. package/docs/wiki/Class.SettingsButtonComponent.md +23 -23
  244. package/docs/wiki/Class.SidenavComponent.md +23 -23
  245. package/docs/wiki/Class.SidenavFooterDirective.md +5 -5
  246. package/docs/wiki/Class.SidenavHeaderDirective.md +5 -5
  247. package/docs/wiki/Class.SidenavToggleButtonComponent.md +7 -7
  248. package/docs/wiki/Class.UserProfileIconComponent.md +10 -10
  249. package/docs/wiki/Function.IsNavigationDividerItem.md +1 -1
  250. package/docs/wiki/Function.IsNavigationInsertItem.md +1 -1
  251. package/docs/wiki/Function.IsNavigationItem.md +1 -1
  252. package/docs/wiki/Function.provideExternalApps.md +1 -1
  253. package/docs/wiki/Function.provideLayout.md +1 -1
  254. package/docs/wiki/Function.withDefaultHeaderComponent.md +1 -1
  255. package/docs/wiki/Function.withDefaultHeaderItems.md +2 -2
  256. package/docs/wiki/Function.withFooterComponents.md +1 -1
  257. package/docs/wiki/Function.withHeaderComponents.md +1 -1
  258. package/docs/wiki/Function.withNavigationConfig.md +2 -2
  259. package/docs/wiki/Function.withNavigationInserts.md +1 -1
  260. package/docs/wiki/Function.withReleaseInfoModules.md +1 -1
  261. package/docs/wiki/Function.withSettingsMenuItems.md +2 -2
  262. package/docs/wiki/Function.withUserProfileDataSource.md +3 -3
  263. package/docs/wiki/Home.md +5 -3
  264. package/docs/wiki/Interface.NavigationDividerItem.md +4 -4
  265. package/docs/wiki/Interface.NavigationInsertItem.md +2 -2
  266. package/docs/wiki/Interface.NavigationItem.md +13 -11
  267. package/docs/wiki/Interface.NavigationStatus.md +2 -2
  268. package/docs/wiki/Interface.ReleaseInfoModule.md +5 -5
  269. package/docs/wiki/Interface.SettingsMenuItem.md +6 -6
  270. package/docs/wiki/TypeAlias.DefaultHeaderItemComponent.md +2 -2
  271. package/docs/wiki/TypeAlias.ExternalApp.md +2 -2
  272. package/docs/wiki/TypeAlias.ExtractUsernameFromProfileFn.md +6 -4
  273. package/docs/wiki/TypeAlias.Navigation.md +2 -2
  274. package/docs/wiki/TypeAlias.NavigationWithInserts.md +2 -2
  275. package/docs/wiki/TypeAlias.SettingsMenuItemComponent.md +2 -2
  276. package/docs/wiki/Variable.EXTRACT_USERNAME_FROM_PROFILE.md +1 -1
  277. package/docs/wiki/Variable.RXAP_DEFAULT_HEADER_ITEM_COMPONENT.md +2 -2
  278. package/docs/wiki/Variable.RXAP_EXTERNAL_APP.md +1 -1
  279. package/docs/wiki/Variable.RXAP_EXTERNAL_APP_FILTER.md +1 -1
  280. package/docs/wiki/Variable.RXAP_FOOTER_COMPONENT.md +1 -1
  281. package/docs/wiki/Variable.RXAP_HEADER_COMPONENT.md +1 -1
  282. package/docs/wiki/Variable.RXAP_LAYOUT_APPS_GRID.md +1 -1
  283. package/docs/wiki/Variable.RXAP_LOGO_CONFIG.md +1 -1
  284. package/docs/wiki/Variable.RXAP_LOGO_CONFIG_DEFAULTS.md +1 -1
  285. package/docs/wiki/Variable.RXAP_NAVIGATION_CONFIG.md +2 -2
  286. package/docs/wiki/Variable.RXAP_NAVIGATION_CONFIG_INSERTS.md +1 -1
  287. package/docs/wiki/Variable.RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.md +1 -1
  288. package/docs/wiki/Variable.RXAP_RELEASE_INFO_MODULE.md +1 -1
  289. package/docs/wiki/Variable.RXAP_SETTINGS_MENU_ITEM.md +1 -1
  290. package/docs/wiki/Variable.RXAP_SETTINGS_MENU_ITEM_COMPONENT.md +2 -2
  291. package/docs/wiki/Variable.RXAP_USER_PROFILE_DATA_SOURCE.md +1 -1
  292. package/docs/wiki/globals.md +1 -1
  293. package/fesm2022/rxap-layout.mjs +19 -17
  294. package/fesm2022/rxap-layout.mjs.map +1 -1
  295. package/package.json +38 -40
  296. package/src/generators/init/generator.js +120 -0
  297. package/src/generators/init/index.js +6 -0
  298. package/src/generators/package.json +3 -0
  299. package/src/migrations/18.0.0/add-user-theme-provider-to-layout-providers/add-user-theme-provider-to-layout-providers.spec.ts +9 -0
  300. package/src/migrations/18.0.0/add-with-user-profile-provider/add-with-user-profile-provider.spec.ts +9 -0
  301. package/src/test-setup.ts +4 -17
  302. package/compodoc/components/LanguageSelectorComponent.html +0 -478
  303. package/compodoc/components/ResetButtonComponent.html +0 -486
  304. package/compodoc/components/SignOutComponent.html +0 -440
  305. package/compodoc/components/ToggleWindowSidenavButtonComponent.html +0 -549
  306. package/compodoc/components/VersionComponent.html +0 -524
  307. package/compodoc/components/WindowContainerSidenavComponent.html +0 -687
  308. package/compodoc/injectables/AppUrlService.html +0 -829
  309. package/compodoc/injectables/AuthenticationServiceMock.html +0 -303
  310. package/compodoc/injectables/LayoutComponentService.html +0 -848
  311. package/compodoc/injectables/ReplaceRouterPathsService.html +0 -337
  312. package/compodoc/injectables/SidenavComponentService.html +0 -408
  313. package/compodoc/interfaces/ExternalApps.html +0 -634
  314. package/compodoc/interfaces/LogoConfig.html +0 -381
  315. package/compodoc/js/libs/vis.min.js +0 -47
  316. package/compodoc/js/menu-wc_es5.js +0 -40
  317. package/compodoc/pipes/ReplaceRouterPathsPipe.html +0 -363
  318. package/src/generators/init/generator.spec.ts +0 -228
  319. package/src/generators/init/generator.ts +0 -139
  320. package/src/generators/init/index.ts +0 -5
  321. package/src/generators/init/schema.d.ts +0 -2
  322. package/theme.css +0 -425
@@ -61,6 +61,20 @@
61
61
  }
62
62
  toggleDarkMode(darkModeState);
63
63
  </script>
64
+ <script>
65
+ // --- Iframe navigation tracking for Template Playground ---
66
+ function sendCurrentUrlToParent() {
67
+ if (window.parent && window.parent !== window) {
68
+ window.parent.postMessage({
69
+ type: 'compodoc-iframe-navigate',
70
+ url: window.location.pathname + window.location.hash
71
+ }, '*');
72
+ }
73
+ }
74
+ window.addEventListener('hashchange', sendCurrentUrlToParent, false);
75
+ window.addEventListener('popstate', sendCurrentUrlToParent, false);
76
+ window.addEventListener('DOMContentLoaded', sendCurrentUrlToParent, false);
77
+ </script>
64
78
 
65
79
  <div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
66
80
  <div class="d-flex">
@@ -70,7 +84,14 @@
70
84
  </div>
71
85
 
72
86
  <div class="xs-menu menu" id="mobile-menu">
73
- <div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
87
+ <div id="book-search-input" role="search">
88
+ <input type="text" placeholder="Type to search">
89
+ <button type="button"
90
+ class="search-input-clear"
91
+ aria-label="Clear search"
92
+ data-search-input-clear>&times;</button>
93
+ </div>
94
+ <compodoc-menu></compodoc-menu>
74
95
  </div>
75
96
 
76
97
  <div class="container-fluid main">
@@ -85,6 +106,10 @@
85
106
 
86
107
 
87
108
 
109
+
110
+
111
+
112
+
88
113
  <ol class="breadcrumb">
89
114
  <li class="breadcrumb-item">Components</li>
90
115
  <li class="breadcrumb-item"
@@ -92,11 +117,20 @@
92
117
  LayoutComponent</li>
93
118
  </ol>
94
119
 
120
+ <div class="io-file io-file-path" data-compodoc="entity-file-path">
121
+ <span class="icon ion-ios-document" aria-hidden="true"></span>
122
+ <code>src/lib/layout/layout.component.ts</code>
123
+ </div>
124
+
95
125
  <ul class="nav nav-tabs" role="tablist">
96
126
  <li class="nav-item">
97
127
  <a href="#info" class="nav-link active"
98
128
  role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
99
129
  </li>
130
+ <li class="nav-item">
131
+ <a href="#api" class="nav-link"
132
+ role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
133
+ </li>
100
134
  <li class="nav-item">
101
135
  <a href="#source" class="nav-link"
102
136
  role="tab" id="source-tab" data-bs-toggle="tab" data-link="source">Source</a>
@@ -116,14 +150,7 @@
116
150
  </ul>
117
151
 
118
152
  <div class="tab-content">
119
- <div class="tab-pane fade active in" id="info"><p class="comment">
120
- <h3>File</h3>
121
- </p>
122
- <p class="comment">
123
- <code>src/lib/layout/layout.component.ts</code>
124
- </p>
125
-
126
-
153
+ <div class="tab-pane fade active in" id="info">
127
154
 
128
155
 
129
156
 
@@ -157,23 +184,40 @@
157
184
  <tr>
158
185
  <td class="col-md-3">imports</td>
159
186
  <td class="col-md-9">
160
- <code><a href="../components/HeaderComponent.html" target="_self" >HeaderComponent</a></code>
161
- <code>MatSidenavModule</code>
162
- <code>AsyncPipe</code>
163
- <code>MatIconModule</code>
164
- <code>MatButtonModule</code>
165
- <code>RouterLink</code>
166
- <code><a href="../components/FooterComponent.html" target="_self" >FooterComponent</a></code>
167
- <code>MatMenuModule</code>
168
- <code>NgOptimizedImage</code>
169
- <code><a href="../components/NavigationComponent.html" target="_self" >NavigationComponent</a></code>
170
- <code>RouterOutlet</code>
171
- <code>NgStyle</code>
172
- <code>NgClass</code>
173
- <code><a href="../components/SidenavComponent.html" target="_self" >SidenavComponent</a></code>
174
- <code><a href="../components/ReleaseInfoComponent.html" target="_self" >ReleaseInfoComponent</a></code>
175
- <code><a href="../directives/SidenavFooterDirective.html" target="_self" >SidenavFooterDirective</a></code>
176
- <code><a href="../components/NavigationProgressBarComponent.html" target="_self" >NavigationProgressBarComponent</a></code>
187
+ <div> <code><a href="../components/HeaderComponent.html" target="_self" >HeaderComponent</a></code>
188
+ </div>
189
+ <div> <code>MatSidenavModule</code>
190
+ </div>
191
+ <div> <code><a href="https://angular.dev/api/common/AsyncPipe" target="_blank" >AsyncPipe</a></code>
192
+ </div>
193
+ <div> <code>MatIconModule</code>
194
+ </div>
195
+ <div> <code>MatButtonModule</code>
196
+ </div>
197
+ <div> <code><a href="https://angular.dev/api/router/RouterLink" target="_blank" >RouterLink</a></code>
198
+ </div>
199
+ <div> <code><a href="../components/FooterComponent.html" target="_self" >FooterComponent</a></code>
200
+ </div>
201
+ <div> <code>MatMenuModule</code>
202
+ </div>
203
+ <div> <code><a href="https://angular.dev/api/common/NgOptimizedImage" target="_blank" >NgOptimizedImage</a></code>
204
+ </div>
205
+ <div> <code><a href="../components/NavigationComponent.html" target="_self" >NavigationComponent</a></code>
206
+ </div>
207
+ <div> <code><a href="https://angular.dev/api/router/RouterOutlet" target="_blank" >RouterOutlet</a></code>
208
+ </div>
209
+ <div> <code><a href="https://angular.dev/api/common/NgStyle" target="_blank" >NgStyle</a></code>
210
+ </div>
211
+ <div> <code><a href="https://angular.dev/api/common/NgClass" target="_blank" >NgClass</a></code>
212
+ </div>
213
+ <div> <code><a href="../components/SidenavComponent.html" target="_self" >SidenavComponent</a></code>
214
+ </div>
215
+ <div> <code><a href="../components/ReleaseInfoComponent.html" target="_self" >ReleaseInfoComponent</a></code>
216
+ </div>
217
+ <div> <code><a href="../directives/SidenavFooterDirective.html" target="_self" >SidenavFooterDirective</a></code>
218
+ </div>
219
+ <div> <code><a href="../components/NavigationProgressBarComponent.html" target="_self" >NavigationProgressBarComponent</a></code>
220
+ </div>
177
221
  </td>
178
222
  </tr>
179
223
 
@@ -184,6 +228,7 @@
184
228
 
185
229
 
186
230
 
231
+
187
232
  <tr>
188
233
  <td class="col-md-3">templateUrl</td>
189
234
  <td class="col-md-9"><code>./layout.component.html</code></td>
@@ -200,34 +245,105 @@
200
245
  </table>
201
246
  </section>
202
247
 
203
- <section data-compodoc="block-index">
248
+ <section data-compodoc="block-relationships">
249
+ <h3>Relationships</h3>
250
+
251
+ <div class="row pt-3">
252
+ <div class="col-sm-6">
253
+ <h4>Used by</h4>
254
+ <p class="comment"><i>No results matching.</i></p>
255
+ </div>
256
+
257
+ <div class="col-sm-6">
258
+ <h4>Depends on</h4>
259
+ <ul class="list-unstyled relationships-list">
260
+ <li>
261
+ <code><a href="../components/HeaderComponent.html" target="_self" >HeaderComponent</a></code>
262
+ </li>
263
+ <li>
264
+ <code>MatSidenavModule</code>
265
+ </li>
266
+ <li>
267
+ <code><a href="https://angular.dev/api/common/AsyncPipe" target="_blank" >AsyncPipe</a></code>
268
+ </li>
269
+ <li>
270
+ <code>MatIconModule</code>
271
+ </li>
272
+ <li>
273
+ <code>MatButtonModule</code>
274
+ </li>
275
+ <li>
276
+ <code><a href="https://angular.dev/api/router/RouterLink" target="_blank" >RouterLink</a></code>
277
+ </li>
278
+ <li>
279
+ <code><a href="../components/FooterComponent.html" target="_self" >FooterComponent</a></code>
280
+ </li>
281
+ <li>
282
+ <code>MatMenuModule</code>
283
+ </li>
284
+ <li>
285
+ <code><a href="https://angular.dev/api/common/NgOptimizedImage" target="_blank" >NgOptimizedImage</a></code>
286
+ </li>
287
+ <li>
288
+ <code><a href="../components/NavigationComponent.html" target="_self" >NavigationComponent</a></code>
289
+ </li>
290
+ <li>
291
+ <code><a href="https://angular.dev/api/router/RouterOutlet" target="_blank" >RouterOutlet</a></code>
292
+ </li>
293
+ <li>
294
+ <code><a href="https://angular.dev/api/common/NgStyle" target="_blank" >NgStyle</a></code>
295
+ </li>
296
+ <li>
297
+ <code><a href="https://angular.dev/api/common/NgClass" target="_blank" >NgClass</a></code>
298
+ </li>
299
+ <li>
300
+ <code><a href="../components/SidenavComponent.html" target="_self" >SidenavComponent</a></code>
301
+ </li>
302
+ <li>
303
+ <code><a href="../components/ReleaseInfoComponent.html" target="_self" >ReleaseInfoComponent</a></code>
304
+ </li>
305
+ <li>
306
+ <code><a href="../directives/SidenavFooterDirective.html" target="_self" >SidenavFooterDirective</a></code>
307
+ </li>
308
+ <li>
309
+ <code><a href="../components/NavigationProgressBarComponent.html" target="_self" >NavigationProgressBarComponent</a></code>
310
+ </li>
311
+ </ul>
312
+ </div>
313
+ </div>
314
+ </section>
315
+ </div>
316
+
317
+ <div class="tab-pane fade " id="api"> <section data-compodoc="block-index">
204
318
  <h3 id="index">Index</h3>
205
- <table class="table table-sm table-bordered index-table">
206
- <tbody>
319
+ <table class="table table-sm table-bordered index-table">
320
+ <tbody>
207
321
  <tr>
208
- <td class="col-md-4">
322
+ <td class="col-md-3">
209
323
  <h6><b>Properties</b></h6>
210
324
  </td>
211
- </tr>
212
- <tr>
213
- <td class="col-md-4">
325
+ <td class="col-md-9">
214
326
  <ul class="index-list">
215
327
  <li>
328
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
216
329
  <span class="modifier">Public</span>
217
330
  <span class="modifier">Readonly</span>
218
331
  <a href="#logoHeight" >logoHeight</a>
219
332
  </li>
220
333
  <li>
334
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
221
335
  <span class="modifier">Protected</span>
222
336
  <span class="modifier">Readonly</span>
223
337
  <a href="#logoService" >logoService</a>
224
338
  </li>
225
339
  <li>
340
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
226
341
  <span class="modifier">Public</span>
227
342
  <span class="modifier">Readonly</span>
228
343
  <a href="#logoSrc" >logoSrc</a>
229
344
  </li>
230
345
  <li>
346
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
231
347
  <span class="modifier">Public</span>
232
348
  <span class="modifier">Readonly</span>
233
349
  <a href="#logoWidth" >logoWidth</a>
@@ -235,14 +351,14 @@
235
351
  </ul>
236
352
  </td>
237
353
  </tr>
354
+ </tbody>
355
+ </table>
238
356
 
239
357
 
240
358
 
241
359
 
242
360
 
243
361
 
244
- </tbody>
245
- </table>
246
362
  </section>
247
363
 
248
364
 
@@ -282,7 +398,7 @@
282
398
  </tr>
283
399
  <tr>
284
400
  <td class="col-md-4">
285
- <div class="io-line">Defined in <a href="" data-line="57" class="link-to-prism">src/lib/layout/layout.component.ts:57</a></div>
401
+ <div class="io-line">Defined in <a href="" data-line="69" class="link-to-prism">src/lib/layout/layout.component.ts:69</a></div>
286
402
  </td>
287
403
  </tr>
288
404
 
@@ -302,6 +418,12 @@
302
418
  </span>
303
419
  </td>
304
420
  </tr>
421
+ <tr>
422
+ <td class="col-md-4">
423
+ <i>Type : </i> <code>unknown</code>
424
+
425
+ </td>
426
+ </tr>
305
427
  <tr>
306
428
  <td class="col-md-4">
307
429
  <i>Default value : </i><code>inject(LogoService)</code>
@@ -309,7 +431,7 @@
309
431
  </tr>
310
432
  <tr>
311
433
  <td class="col-md-4">
312
- <div class="io-line">Defined in <a href="" data-line="54" class="link-to-prism">src/lib/layout/layout.component.ts:54</a></div>
434
+ <div class="io-line">Defined in <a href="" data-line="66" class="link-to-prism">src/lib/layout/layout.component.ts:66</a></div>
313
435
  </td>
314
436
  </tr>
315
437
 
@@ -342,7 +464,7 @@
342
464
  </tr>
343
465
  <tr>
344
466
  <td class="col-md-4">
345
- <div class="io-line">Defined in <a href="" data-line="55" class="link-to-prism">src/lib/layout/layout.component.ts:55</a></div>
467
+ <div class="io-line">Defined in <a href="" data-line="67" class="link-to-prism">src/lib/layout/layout.component.ts:67</a></div>
346
468
  </td>
347
469
  </tr>
348
470
 
@@ -375,7 +497,7 @@
375
497
  </tr>
376
498
  <tr>
377
499
  <td class="col-md-4">
378
- <div class="io-line">Defined in <a href="" data-line="56" class="link-to-prism">src/lib/layout/layout.component.ts:56</a></div>
500
+ <div class="io-line">Defined in <a href="" data-line="68" class="link-to-prism">src/lib/layout/layout.component.ts:68</a></div>
379
501
  </td>
380
502
  </tr>
381
503
 
@@ -412,8 +534,20 @@ import { NavigationComponent } from &#x27;../navigation/navigation.component&#x2
412
534
  import { ReleaseInfoComponent } from &#x27;../release-info/release-info.component&#x27;;
413
535
  import { SidenavFooterDirective } from &#x27;../sidenav/sidenav-footer.directive&#x27;;
414
536
  import { SidenavComponent } from &#x27;../sidenav/sidenav.component&#x27;;
415
-
416
-
537
+ import { Showcase } from &#x27;@ng-prism/core&#x27;;
538
+
539
+
540
+ @Showcase({
541
+ title: &#x27;Layout&#x27;,
542
+ category: &#x27;Layout&#x27;,
543
+ description: &#x27;Application shell with header, navigation sidenav, router outlet and footer. The sidenav footer shows the logo and the release info. The navigation, the logo and the release modules come from the layout tokens, which the styleguide host provides with demo data.&#x27;,
544
+ status: &#x27;stable&#x27;,
545
+ canvasLayout: &#x27;stretch&#x27;,
546
+ host: { template: &#x27;&lt;div style&#x3D;&quot;height: 480px&quot;&gt;&lt;rxap-layout /&gt;&lt;/div&gt;&#x27; },
547
+ variants: [
548
+ { name: &#x27;Default&#x27; },
549
+ ],
550
+ })
417
551
  @Component({
418
552
  selector: &#x27;rxap-layout&#x27;,
419
553
  templateUrl: &#x27;./layout.component.html&#x27;,
@@ -501,7 +635,7 @@ export class LayoutComponent {
501
635
 
502
636
  </div>
503
637
 
504
- <script src="../js/libs/vis.min.js"></script>
638
+ <script src="../js/libs/vis-network.min.js"></script>
505
639
  <script src="../js/libs/htmlparser.js"></script>
506
640
  <script src="../js/libs/deep-iterator.js"></script>
507
641
  <script>
@@ -560,6 +694,24 @@ export class LayoutComponent {
560
694
 
561
695
  <script>
562
696
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
697
+ var updateDarkModeSwitchOffset = function () {
698
+ var content = document.querySelector('.content');
699
+ var scrollbarWidth = 0;
700
+
701
+ if (content) {
702
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
703
+ }
704
+
705
+ document.documentElement.style.setProperty(
706
+ '--content-scrollbar-width',
707
+ scrollbarWidth + 'px'
708
+ );
709
+ };
710
+
711
+ updateDarkModeSwitchOffset();
712
+ requestAnimationFrame(updateDarkModeSwitchOffset);
713
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
714
+
563
715
  checkToggle(darkModeState);
564
716
  if ($darkModeToggleSwitchers.length > 0) {
565
717
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -575,14 +727,12 @@ export class LayoutComponent {
575
727
  <script src="../js/libs/lit-html.js"></script>
576
728
 
577
729
  <script src="../js/menu-wc.js" defer></script>
578
- <script nomodule src="../js/menu-wc_es5.js" defer></script>
579
730
 
580
731
  <script src="../js/libs/bootstrap-native.js"></script>
581
732
 
582
733
  <script src="../js/libs/es6-shim.min.js"></script>
583
734
  <script src="../js/libs/EventDispatcher.js"></script>
584
735
  <script src="../js/libs/promise.min.js"></script>
585
- <script src="../js/libs/zepto.min.js"></script>
586
736
 
587
737
  <script src="../js/compodoc.js"></script>
588
738
 
@@ -61,6 +61,20 @@
61
61
  }
62
62
  toggleDarkMode(darkModeState);
63
63
  </script>
64
+ <script>
65
+ // --- Iframe navigation tracking for Template Playground ---
66
+ function sendCurrentUrlToParent() {
67
+ if (window.parent && window.parent !== window) {
68
+ window.parent.postMessage({
69
+ type: 'compodoc-iframe-navigate',
70
+ url: window.location.pathname + window.location.hash
71
+ }, '*');
72
+ }
73
+ }
74
+ window.addEventListener('hashchange', sendCurrentUrlToParent, false);
75
+ window.addEventListener('popstate', sendCurrentUrlToParent, false);
76
+ window.addEventListener('DOMContentLoaded', sendCurrentUrlToParent, false);
77
+ </script>
64
78
 
65
79
  <div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
66
80
  <div class="d-flex">
@@ -70,7 +84,14 @@
70
84
  </div>
71
85
 
72
86
  <div class="xs-menu menu" id="mobile-menu">
73
- <div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
87
+ <div id="book-search-input" role="search">
88
+ <input type="text" placeholder="Type to search">
89
+ <button type="button"
90
+ class="search-input-clear"
91
+ aria-label="Clear search"
92
+ data-search-input-clear>&times;</button>
93
+ </div>
94
+ <compodoc-menu></compodoc-menu>
74
95
  </div>
75
96
 
76
97
  <div class="container-fluid main">
@@ -85,6 +106,10 @@
85
106
 
86
107
 
87
108
 
109
+
110
+
111
+
112
+
88
113
  <ol class="breadcrumb">
89
114
  <li class="breadcrumb-item">Components</li>
90
115
  <li class="breadcrumb-item"
@@ -92,6 +117,11 @@
92
117
  MinimalLayoutComponent</li>
93
118
  </ol>
94
119
 
120
+ <div class="io-file io-file-path" data-compodoc="entity-file-path">
121
+ <span class="icon ion-ios-document" aria-hidden="true"></span>
122
+ <code>src/lib/minimal-layout/minimal-layout.component.ts</code>
123
+ </div>
124
+
95
125
  <ul class="nav nav-tabs" role="tablist">
96
126
  <li class="nav-item">
97
127
  <a href="#info" class="nav-link active"
@@ -105,6 +135,10 @@
105
135
  <a href="#templateData" class="nav-link"
106
136
  role="tab" id="templateData-tab" data-bs-toggle="tab" data-link="template">Template</a>
107
137
  </li>
138
+ <li class="nav-item">
139
+ <a href="#styleData" class="nav-link"
140
+ role="tab" id="styleData-tab" data-bs-toggle="tab" data-link="style">Styles</a>
141
+ </li>
108
142
  <li class="nav-item">
109
143
  <a href="#tree" class="nav-link"
110
144
  role="tab" id="tree-tab" data-bs-toggle="tab" data-link="dom-tree">DOM Tree</a>
@@ -112,14 +146,7 @@
112
146
  </ul>
113
147
 
114
148
  <div class="tab-content">
115
- <div class="tab-pane fade active in" id="info"><p class="comment">
116
- <h3>File</h3>
117
- </p>
118
- <p class="comment">
119
- <code>src/lib/minimal-layout/minimal-layout.component.ts</code>
120
- </p>
121
-
122
-
149
+ <div class="tab-pane fade active in" id="info">
123
150
 
124
151
 
125
152
 
@@ -153,14 +180,24 @@
153
180
  <tr>
154
181
  <td class="col-md-3">imports</td>
155
182
  <td class="col-md-9">
156
- <code>RouterOutlet</code>
157
- <code><a href="../components/BaseLayoutComponent.html" target="_self" >BaseLayoutComponent</a></code>
158
- <code><a href="../components/NavigationProgressBarComponent.html" target="_self" >NavigationProgressBarComponent</a></code>
159
- <code><a href="../components/HeaderComponent.html" target="_self" >HeaderComponent</a></code>
160
- <code><a href="../components/FooterComponent.html" target="_self" >FooterComponent</a></code>
183
+ <div> <code><a href="https://angular.dev/api/router/RouterOutlet" target="_blank" >RouterOutlet</a></code>
184
+ </div>
185
+ <div> <code><a href="../components/BaseLayoutComponent.html" target="_self" >BaseLayoutComponent</a></code>
186
+ </div>
187
+ <div> <code><a href="../components/NavigationProgressBarComponent.html" target="_self" >NavigationProgressBarComponent</a></code>
188
+ </div>
189
+ <div> <code><a href="../components/HeaderComponent.html" target="_self" >HeaderComponent</a></code>
190
+ </div>
191
+ <div> <code><a href="../components/FooterComponent.html" target="_self" >FooterComponent</a></code>
192
+ </div>
161
193
  </td>
162
194
  </tr>
163
195
 
196
+ <tr>
197
+ <td class="col-md-3">styleUrls</td>
198
+ <td class="col-md-9"><code>./minimal-layout.component.scss</code></td>
199
+ </tr>
200
+
164
201
 
165
202
 
166
203
 
@@ -184,17 +221,41 @@
184
221
  </table>
185
222
  </section>
186
223
 
187
-
188
-
189
-
190
-
191
-
192
-
193
-
194
-
224
+ <section data-compodoc="block-relationships">
225
+ <h3>Relationships</h3>
226
+
227
+ <div class="row pt-3">
228
+ <div class="col-sm-6">
229
+ <h4>Used by</h4>
230
+ <p class="comment"><i>No results matching.</i></p>
231
+ </div>
232
+
233
+ <div class="col-sm-6">
234
+ <h4>Depends on</h4>
235
+ <ul class="list-unstyled relationships-list">
236
+ <li>
237
+ <code><a href="https://angular.dev/api/router/RouterOutlet" target="_blank" >RouterOutlet</a></code>
238
+ </li>
239
+ <li>
240
+ <code><a href="../components/BaseLayoutComponent.html" target="_self" >BaseLayoutComponent</a></code>
241
+ </li>
242
+ <li>
243
+ <code><a href="../components/NavigationProgressBarComponent.html" target="_self" >NavigationProgressBarComponent</a></code>
244
+ </li>
245
+ <li>
246
+ <code><a href="../components/HeaderComponent.html" target="_self" >HeaderComponent</a></code>
247
+ </li>
248
+ <li>
249
+ <code><a href="../components/FooterComponent.html" target="_self" >FooterComponent</a></code>
250
+ </li>
251
+ </ul>
252
+ </div>
253
+ </div>
254
+ </section>
195
255
  </div>
196
256
 
197
257
 
258
+
198
259
  <div class="tab-pane fade tab-source-code" id="source">
199
260
  <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
200
261
  ChangeDetectionStrategy,
@@ -205,7 +266,18 @@ import { BaseLayoutComponent } from &#x27;../base-layout/base-layout.component&#
205
266
  import { FooterComponent } from &#x27;../footer/footer.component&#x27;;
206
267
  import { HeaderComponent } from &#x27;../header/header.component&#x27;;
207
268
  import { NavigationProgressBarComponent } from &#x27;../navigation-progress-bar/navigation-progress-bar.component&#x27;;
208
-
269
+ import { Showcase } from &#x27;@ng-prism/core&#x27;;
270
+
271
+ @Showcase({
272
+ title: &#x27;Minimal Layout&#x27;,
273
+ category: &#x27;Layout&#x27;,
274
+ description: &#x27;Route shell without navigation: header, navigation progress bar, router outlet and footer. In the styleguide no navigation has completed yet, so the progress bar is shown.&#x27;,
275
+ status: &#x27;stable&#x27;,
276
+ canvasLayout: &#x27;stretch&#x27;,
277
+ variants: [
278
+ { name: &#x27;Default&#x27; },
279
+ ],
280
+ })
209
281
  @Component({
210
282
  selector: &#x27;rxap-minimal-layout&#x27;,
211
283
  imports: [RouterOutlet, BaseLayoutComponent, NavigationProgressBarComponent, HeaderComponent, FooterComponent],
@@ -225,6 +297,12 @@ export class MinimalLayoutComponent {}
225
297
  </code></pre>
226
298
  </div>
227
299
 
300
+ <div class="tab-pane fade " id="styleData">
301
+ <p class="comment">
302
+ <code>./minimal-layout.component.scss</code>
303
+ </p>
304
+ <pre class="line-numbers"><code class="language-scss"></code></pre>
305
+ </div>
228
306
 
229
307
  <div class="tab-pane fade " id="tree">
230
308
  <div id="tree-container"></div>
@@ -247,7 +325,7 @@ export class MinimalLayoutComponent {}
247
325
 
248
326
  </div>
249
327
 
250
- <script src="../js/libs/vis.min.js"></script>
328
+ <script src="../js/libs/vis-network.min.js"></script>
251
329
  <script src="../js/libs/htmlparser.js"></script>
252
330
  <script src="../js/libs/deep-iterator.js"></script>
253
331
  <script>
@@ -306,6 +384,24 @@ export class MinimalLayoutComponent {}
306
384
 
307
385
  <script>
308
386
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
387
+ var updateDarkModeSwitchOffset = function () {
388
+ var content = document.querySelector('.content');
389
+ var scrollbarWidth = 0;
390
+
391
+ if (content) {
392
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
393
+ }
394
+
395
+ document.documentElement.style.setProperty(
396
+ '--content-scrollbar-width',
397
+ scrollbarWidth + 'px'
398
+ );
399
+ };
400
+
401
+ updateDarkModeSwitchOffset();
402
+ requestAnimationFrame(updateDarkModeSwitchOffset);
403
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
404
+
309
405
  checkToggle(darkModeState);
310
406
  if ($darkModeToggleSwitchers.length > 0) {
311
407
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -321,14 +417,12 @@ export class MinimalLayoutComponent {}
321
417
  <script src="../js/libs/lit-html.js"></script>
322
418
 
323
419
  <script src="../js/menu-wc.js" defer></script>
324
- <script nomodule src="../js/menu-wc_es5.js" defer></script>
325
420
 
326
421
  <script src="../js/libs/bootstrap-native.js"></script>
327
422
 
328
423
  <script src="../js/libs/es6-shim.min.js"></script>
329
424
  <script src="../js/libs/EventDispatcher.js"></script>
330
425
  <script src="../js/libs/promise.min.js"></script>
331
- <script src="../js/libs/zepto.min.js"></script>
332
426
 
333
427
  <script src="../js/compodoc.js"></script>
334
428