@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
  SidenavComponent</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/sidenav/sidenav.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/sidenav/sidenav.component.ts</code>
124
- </p>
125
-
126
-
153
+ <div class="tab-pane fade active in" id="info">
127
154
 
128
155
 
129
156
 
@@ -157,16 +184,26 @@
157
184
  <tr>
158
185
  <td class="col-md-3">imports</td>
159
186
  <td class="col-md-9">
160
- <code>MatIcon</code>
161
- <code>MatIconButton</code>
162
- <code>MatSidenav</code>
163
- <code>MatSidenavContainer</code>
164
- <code>MatSidenavContent</code>
165
- <code><a href="../components/NavigationComponent.html" target="_self" >NavigationComponent</a></code>
166
- <code>NgClass</code>
167
- <code>NgStyle</code>
168
- <code>MatDivider</code>
169
- <code>NgTemplateOutlet</code>
187
+ <div> <code>MatIcon</code>
188
+ </div>
189
+ <div> <code>MatIconButton</code>
190
+ </div>
191
+ <div> <code>MatSidenav</code>
192
+ </div>
193
+ <div> <code>MatSidenavContainer</code>
194
+ </div>
195
+ <div> <code>MatSidenavContent</code>
196
+ </div>
197
+ <div> <code><a href="../components/NavigationComponent.html" target="_self" >NavigationComponent</a></code>
198
+ </div>
199
+ <div> <code><a href="https://angular.dev/api/common/NgClass" target="_blank" >NgClass</a></code>
200
+ </div>
201
+ <div> <code><a href="https://angular.dev/api/common/NgStyle" target="_blank" >NgStyle</a></code>
202
+ </div>
203
+ <div> <code>MatDivider</code>
204
+ </div>
205
+ <div> <code><a href="https://angular.dev/api/common/NgTemplateOutlet" target="_blank" >NgTemplateOutlet</a></code>
206
+ </div>
170
207
  </td>
171
208
  </tr>
172
209
 
@@ -177,6 +214,7 @@
177
214
 
178
215
 
179
216
 
217
+
180
218
  <tr>
181
219
  <td class="col-md-3">templateUrl</td>
182
220
  <td class="col-md-9"><code>./sidenav.component.html</code></td>
@@ -193,74 +231,136 @@
193
231
  </table>
194
232
  </section>
195
233
 
196
- <section data-compodoc="block-index">
234
+ <section data-compodoc="block-relationships">
235
+ <h3>Relationships</h3>
236
+
237
+ <div class="row pt-3">
238
+ <div class="col-sm-6">
239
+ <h4>Used by</h4>
240
+ <ul class="list-unstyled relationships-list">
241
+ <li>
242
+ <code><a href="../components/LayoutComponent.html" target="_self" >LayoutComponent</a></code>
243
+ </li>
244
+ </ul>
245
+ </div>
246
+
247
+ <div class="col-sm-6">
248
+ <h4>Depends on</h4>
249
+ <ul class="list-unstyled relationships-list">
250
+ <li>
251
+ <code>MatIcon</code>
252
+ </li>
253
+ <li>
254
+ <code>MatIconButton</code>
255
+ </li>
256
+ <li>
257
+ <code>MatSidenav</code>
258
+ </li>
259
+ <li>
260
+ <code>MatSidenavContainer</code>
261
+ </li>
262
+ <li>
263
+ <code>MatSidenavContent</code>
264
+ </li>
265
+ <li>
266
+ <code><a href="../components/NavigationComponent.html" target="_self" >NavigationComponent</a></code>
267
+ </li>
268
+ <li>
269
+ <code><a href="https://angular.dev/api/common/NgClass" target="_blank" >NgClass</a></code>
270
+ </li>
271
+ <li>
272
+ <code><a href="https://angular.dev/api/common/NgStyle" target="_blank" >NgStyle</a></code>
273
+ </li>
274
+ <li>
275
+ <code>MatDivider</code>
276
+ </li>
277
+ <li>
278
+ <code><a href="https://angular.dev/api/common/NgTemplateOutlet" target="_blank" >NgTemplateOutlet</a></code>
279
+ </li>
280
+ </ul>
281
+ </div>
282
+ </div>
283
+ </section>
284
+ </div>
285
+
286
+ <div class="tab-pane fade " id="api"> <section data-compodoc="block-index">
197
287
  <h3 id="index">Index</h3>
198
- <table class="table table-sm table-bordered index-table">
199
- <tbody>
288
+ <table class="table table-sm table-bordered index-table">
289
+ <tbody>
200
290
  <tr>
201
- <td class="col-md-4">
291
+ <td class="col-md-3">
202
292
  <h6><b>Properties</b></h6>
203
293
  </td>
204
- </tr>
205
- <tr>
206
- <td class="col-md-4">
294
+ <td class="col-md-9">
207
295
  <ul class="index-list">
208
296
  <li>
297
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
209
298
  <span class="modifier">Public</span>
210
299
  <span class="modifier">Readonly</span>
211
300
  <a href="#collapsable" >collapsable</a>
212
301
  </li>
213
302
  <li>
303
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
214
304
  <span class="modifier">Public</span>
215
305
  <span class="modifier">Readonly</span>
216
306
  <a href="#collapsed" >collapsed</a>
217
307
  </li>
218
308
  <li>
309
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
219
310
  <span class="modifier">Public</span>
220
311
  <span class="modifier">Readonly</span>
221
312
  <a href="#fixedBottomGap" >fixedBottomGap</a>
222
313
  </li>
223
314
  <li>
315
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
224
316
  <span class="modifier">Public</span>
225
317
  <span class="modifier">Readonly</span>
226
318
  <a href="#fixedInViewport" >fixedInViewport</a>
227
319
  </li>
228
320
  <li>
321
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
229
322
  <span class="modifier">Public</span>
230
323
  <span class="modifier">Readonly</span>
231
324
  <a href="#fixedTopGap" >fixedTopGap</a>
232
325
  </li>
233
326
  <li>
327
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
234
328
  <span class="modifier">Protected</span>
235
329
  <span class="modifier">Readonly</span>
236
330
  <a href="#layoutService" >layoutService</a>
237
331
  </li>
238
332
  <li>
333
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
239
334
  <span class="modifier">Public</span>
240
335
  <span class="modifier">Readonly</span>
241
336
  <a href="#opened" >opened</a>
242
337
  </li>
243
338
  <li>
339
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
244
340
  <span class="modifier">Public</span>
245
341
  <span class="modifier">Readonly</span>
246
342
  <a href="#pinned" >pinned</a>
247
343
  </li>
248
344
  <li>
345
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
249
346
  <span class="modifier">Protected</span>
250
347
  <span class="modifier">Readonly</span>
251
348
  <a href="#sidenav" >sidenav</a>
252
349
  </li>
253
350
  <li>
351
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
254
352
  <span class="modifier">Public</span>
255
353
  <span class="modifier">Readonly</span>
256
354
  <a href="#sidenavFooterDirective" >sidenavFooterDirective</a>
257
355
  </li>
258
356
  <li>
357
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
259
358
  <span class="modifier">Public</span>
260
359
  <span class="modifier">Readonly</span>
261
360
  <a href="#sidenavHeaderDirective" >sidenavHeaderDirective</a>
262
361
  </li>
263
362
  <li>
363
+ <span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
264
364
  <span class="modifier">Public</span>
265
365
  <span class="modifier">Readonly</span>
266
366
  <a href="#sidenavMode" >sidenavMode</a>
@@ -268,39 +368,45 @@
268
368
  </ul>
269
369
  </td>
270
370
  </tr>
371
+ </tbody>
372
+ </table>
271
373
 
374
+ <table class="table table-sm table-bordered index-table">
375
+ <tbody>
272
376
  <tr>
273
- <td class="col-md-4">
377
+ <td class="col-md-3">
274
378
  <h6><b>Methods</b></h6>
275
379
  </td>
276
- </tr>
277
- <tr>
278
- <td class="col-md-4">
380
+ <td class="col-md-9">
279
381
  <ul class="index-list">
280
382
  <li>
383
+ <span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
281
384
  <span class="modifier">Async</span>
282
385
  <a href="#closeSidenav" >closeSidenav</a>
283
386
  </li>
284
387
  <li>
388
+ <span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
285
389
  <a href="#onOpenedChanged" >onOpenedChanged</a>
286
390
  </li>
287
391
  <li>
392
+ <span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
288
393
  <span class="modifier">Async</span>
289
394
  <a href="#openSidenav" >openSidenav</a>
290
395
  </li>
291
396
  <li>
397
+ <span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
292
398
  <a href="#togglePinned" >togglePinned</a>
293
399
  </li>
294
400
  </ul>
295
401
  </td>
296
402
  </tr>
403
+ </tbody>
404
+ </table>
297
405
 
298
406
 
299
407
 
300
408
 
301
409
 
302
- </tbody>
303
- </table>
304
410
  </section>
305
411
 
306
412
 
@@ -335,8 +441,8 @@
335
441
 
336
442
  <tr>
337
443
  <td class="col-md-4">
338
- <div class="io-line">Defined in <a href="" data-line="80"
339
- class="link-to-prism">src/lib/sidenav/sidenav.component.ts:80</a></div>
444
+ <div class="io-line">Defined in <a href="" data-line="99"
445
+ class="link-to-prism">src/lib/sidenav/sidenav.component.ts:99</a></div>
340
446
  </td>
341
447
  </tr>
342
448
 
@@ -372,8 +478,8 @@
372
478
 
373
479
  <tr>
374
480
  <td class="col-md-4">
375
- <div class="io-line">Defined in <a href="" data-line="69"
376
- class="link-to-prism">src/lib/sidenav/sidenav.component.ts:69</a></div>
481
+ <div class="io-line">Defined in <a href="" data-line="88"
482
+ class="link-to-prism">src/lib/sidenav/sidenav.component.ts:88</a></div>
377
483
  </td>
378
484
  </tr>
379
485
 
@@ -444,8 +550,8 @@ it is required to manually update the state in the LayoutService.</p>
444
550
 
445
551
  <tr>
446
552
  <td class="col-md-4">
447
- <div class="io-line">Defined in <a href="" data-line="75"
448
- class="link-to-prism">src/lib/sidenav/sidenav.component.ts:75</a></div>
553
+ <div class="io-line">Defined in <a href="" data-line="94"
554
+ class="link-to-prism">src/lib/sidenav/sidenav.component.ts:94</a></div>
449
555
  </td>
450
556
  </tr>
451
557
 
@@ -481,8 +587,8 @@ it is required to manually update the state in the LayoutService.</p>
481
587
 
482
588
  <tr>
483
589
  <td class="col-md-4">
484
- <div class="io-line">Defined in <a href="" data-line="60"
485
- class="link-to-prism">src/lib/sidenav/sidenav.component.ts:60</a></div>
590
+ <div class="io-line">Defined in <a href="" data-line="79"
591
+ class="link-to-prism">src/lib/sidenav/sidenav.component.ts:79</a></div>
486
592
  </td>
487
593
  </tr>
488
594
 
@@ -499,6 +605,7 @@ it is required to manually update the state in the LayoutService.</p>
499
605
  </tbody>
500
606
  </table>
501
607
  </section>
608
+
502
609
  <section data-compodoc="block-properties">
503
610
 
504
611
  <h3 id="inputs">
@@ -530,7 +637,7 @@ it is required to manually update the state in the LayoutService.</p>
530
637
  </tr>
531
638
  <tr>
532
639
  <td class="col-md-4">
533
- <div class="io-line">Defined in <a href="" data-line="55" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:55</a></div>
640
+ <div class="io-line">Defined in <a href="" data-line="74" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:74</a></div>
534
641
  </td>
535
642
  </tr>
536
643
 
@@ -563,7 +670,7 @@ it is required to manually update the state in the LayoutService.</p>
563
670
  </tr>
564
671
  <tr>
565
672
  <td class="col-md-4">
566
- <div class="io-line">Defined in <a href="" data-line="54" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:54</a></div>
673
+ <div class="io-line">Defined in <a href="" data-line="73" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:73</a></div>
567
674
  </td>
568
675
  </tr>
569
676
 
@@ -596,7 +703,7 @@ it is required to manually update the state in the LayoutService.</p>
596
703
  </tr>
597
704
  <tr>
598
705
  <td class="col-md-4">
599
- <div class="io-line">Defined in <a href="" data-line="50" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:50</a></div>
706
+ <div class="io-line">Defined in <a href="" data-line="69" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:69</a></div>
600
707
  </td>
601
708
  </tr>
602
709
 
@@ -629,7 +736,7 @@ it is required to manually update the state in the LayoutService.</p>
629
736
  </tr>
630
737
  <tr>
631
738
  <td class="col-md-4">
632
- <div class="io-line">Defined in <a href="" data-line="52" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:52</a></div>
739
+ <div class="io-line">Defined in <a href="" data-line="71" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:71</a></div>
633
740
  </td>
634
741
  </tr>
635
742
 
@@ -662,7 +769,7 @@ it is required to manually update the state in the LayoutService.</p>
662
769
  </tr>
663
770
  <tr>
664
771
  <td class="col-md-4">
665
- <div class="io-line">Defined in <a href="" data-line="51" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:51</a></div>
772
+ <div class="io-line">Defined in <a href="" data-line="70" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:70</a></div>
666
773
  </td>
667
774
  </tr>
668
775
 
@@ -682,6 +789,12 @@ it is required to manually update the state in the LayoutService.</p>
682
789
  </span>
683
790
  </td>
684
791
  </tr>
792
+ <tr>
793
+ <td class="col-md-4">
794
+ <i>Type : </i> <code>unknown</code>
795
+
796
+ </td>
797
+ </tr>
685
798
  <tr>
686
799
  <td class="col-md-4">
687
800
  <i>Default value : </i><code>inject(LayoutService)</code>
@@ -689,7 +802,7 @@ it is required to manually update the state in the LayoutService.</p>
689
802
  </tr>
690
803
  <tr>
691
804
  <td class="col-md-4">
692
- <div class="io-line">Defined in <a href="" data-line="45" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:45</a></div>
805
+ <div class="io-line">Defined in <a href="" data-line="64" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:64</a></div>
693
806
  </td>
694
807
  </tr>
695
808
 
@@ -722,7 +835,7 @@ it is required to manually update the state in the LayoutService.</p>
722
835
  </tr>
723
836
  <tr>
724
837
  <td class="col-md-4">
725
- <div class="io-line">Defined in <a href="" data-line="56" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:56</a></div>
838
+ <div class="io-line">Defined in <a href="" data-line="75" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:75</a></div>
726
839
  </td>
727
840
  </tr>
728
841
 
@@ -755,7 +868,7 @@ it is required to manually update the state in the LayoutService.</p>
755
868
  </tr>
756
869
  <tr>
757
870
  <td class="col-md-4">
758
- <div class="io-line">Defined in <a href="" data-line="53" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:53</a></div>
871
+ <div class="io-line">Defined in <a href="" data-line="72" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:72</a></div>
759
872
  </td>
760
873
  </tr>
761
874
 
@@ -775,6 +888,12 @@ it is required to manually update the state in the LayoutService.</p>
775
888
  </span>
776
889
  </td>
777
890
  </tr>
891
+ <tr>
892
+ <td class="col-md-4">
893
+ <i>Type : </i> <code>unknown</code>
894
+
895
+ </td>
896
+ </tr>
778
897
  <tr>
779
898
  <td class="col-md-4">
780
899
  <i>Default value : </i><code>viewChild(MatSidenav)</code>
@@ -782,7 +901,7 @@ it is required to manually update the state in the LayoutService.</p>
782
901
  </tr>
783
902
  <tr>
784
903
  <td class="col-md-4">
785
- <div class="io-line">Defined in <a href="" data-line="47" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:47</a></div>
904
+ <div class="io-line">Defined in <a href="" data-line="66" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:66</a></div>
786
905
  </td>
787
906
  </tr>
788
907
 
@@ -802,6 +921,12 @@ it is required to manually update the state in the LayoutService.</p>
802
921
  </span>
803
922
  </td>
804
923
  </tr>
924
+ <tr>
925
+ <td class="col-md-4">
926
+ <i>Type : </i> <code>unknown</code>
927
+
928
+ </td>
929
+ </tr>
805
930
  <tr>
806
931
  <td class="col-md-4">
807
932
  <i>Default value : </i><code>contentChild(SidenavFooterDirective)</code>
@@ -809,7 +934,7 @@ it is required to manually update the state in the LayoutService.</p>
809
934
  </tr>
810
935
  <tr>
811
936
  <td class="col-md-4">
812
- <div class="io-line">Defined in <a href="" data-line="57" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:57</a></div>
937
+ <div class="io-line">Defined in <a href="" data-line="76" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:76</a></div>
813
938
  </td>
814
939
  </tr>
815
940
 
@@ -829,6 +954,12 @@ it is required to manually update the state in the LayoutService.</p>
829
954
  </span>
830
955
  </td>
831
956
  </tr>
957
+ <tr>
958
+ <td class="col-md-4">
959
+ <i>Type : </i> <code>unknown</code>
960
+
961
+ </td>
962
+ </tr>
832
963
  <tr>
833
964
  <td class="col-md-4">
834
965
  <i>Default value : </i><code>contentChild(SidenavHeaderDirective)</code>
@@ -836,7 +967,7 @@ it is required to manually update the state in the LayoutService.</p>
836
967
  </tr>
837
968
  <tr>
838
969
  <td class="col-md-4">
839
- <div class="io-line">Defined in <a href="" data-line="58" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:58</a></div>
970
+ <div class="io-line">Defined in <a href="" data-line="77" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:77</a></div>
840
971
  </td>
841
972
  </tr>
842
973
 
@@ -869,7 +1000,7 @@ it is required to manually update the state in the LayoutService.</p>
869
1000
  </tr>
870
1001
  <tr>
871
1002
  <td class="col-md-4">
872
- <div class="io-line">Defined in <a href="" data-line="49" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:49</a></div>
1003
+ <div class="io-line">Defined in <a href="" data-line="68" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:68</a></div>
873
1004
  </td>
874
1005
  </tr>
875
1006
 
@@ -905,7 +1036,26 @@ import { LayoutService } from &#x27;../layout.service&#x27;;
905
1036
  import { NavigationComponent } from &#x27;../navigation/navigation.component&#x27;;
906
1037
  import { SidenavFooterDirective } from &#x27;./sidenav-footer.directive&#x27;;
907
1038
  import { SidenavHeaderDirective } from &#x27;./sidenav-header.directive&#x27;;
908
-
1039
+ import { Showcase } from &#x27;@ng-prism/core&#x27;;
1040
+
1041
+ @Showcase({
1042
+ title: &#x27;Sidenav&#x27;,
1043
+ category: &#x27;Layout&#x27;,
1044
+ description: &#x27;Collapsible sidenav with the navigation and the page content as projected content. A &#x60;rxapSidenavHeader&#x60; and a &#x60;rxapSidenavFooter&#x60; template are rendered above and below the navigation.&#x27;,
1045
+ status: &#x27;stable&#x27;,
1046
+ canvasLayout: &#x27;stretch&#x27;,
1047
+ host: { template: &#x27;&lt;div style&#x3D;&quot;height: 420px&quot;&gt;&lt;rxap-sidenav /&gt;&lt;/div&gt;&#x27; },
1048
+ variants: [
1049
+ {
1050
+ name: &#x27;Default&#x27;,
1051
+ template: &#x27;&lt;div style&#x3D;&quot;padding: 16px&quot;&gt;Page content&lt;/div&gt;&#x27;,
1052
+ },
1053
+ {
1054
+ name: &#x27;With header and footer&#x27;,
1055
+ template: &#x27;&lt;ng-template rxapSidenavHeader&gt;&lt;div style&#x3D;&quot;padding: 8px 16px&quot;&gt;Signed in as Jane Doe&lt;/div&gt;&lt;/ng-template&gt;&lt;ng-template rxapSidenavFooter&gt;&lt;div style&#x3D;&quot;padding: 8px 16px&quot;&gt;Version 1.4.2&lt;/div&gt;&lt;/ng-template&gt;&lt;div style&#x3D;&quot;padding: 16px&quot;&gt;Page content&lt;/div&gt;&#x27;,
1056
+ },
1057
+ ],
1058
+ })
909
1059
  @Component({
910
1060
  selector: &#x27;rxap-sidenav&#x27;,
911
1061
  templateUrl: &#x27;./sidenav.component.html&#x27;,
@@ -1086,7 +1236,7 @@ export class SidenavComponent {
1086
1236
 
1087
1237
  </div>
1088
1238
 
1089
- <script src="../js/libs/vis.min.js"></script>
1239
+ <script src="../js/libs/vis-network.min.js"></script>
1090
1240
  <script src="../js/libs/htmlparser.js"></script>
1091
1241
  <script src="../js/libs/deep-iterator.js"></script>
1092
1242
  <script>
@@ -1145,6 +1295,24 @@ export class SidenavComponent {
1145
1295
 
1146
1296
  <script>
1147
1297
  $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
1298
+ var updateDarkModeSwitchOffset = function () {
1299
+ var content = document.querySelector('.content');
1300
+ var scrollbarWidth = 0;
1301
+
1302
+ if (content) {
1303
+ scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
1304
+ }
1305
+
1306
+ document.documentElement.style.setProperty(
1307
+ '--content-scrollbar-width',
1308
+ scrollbarWidth + 'px'
1309
+ );
1310
+ };
1311
+
1312
+ updateDarkModeSwitchOffset();
1313
+ requestAnimationFrame(updateDarkModeSwitchOffset);
1314
+ window.addEventListener('resize', updateDarkModeSwitchOffset);
1315
+
1148
1316
  checkToggle(darkModeState);
1149
1317
  if ($darkModeToggleSwitchers.length > 0) {
1150
1318
  for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
@@ -1160,14 +1328,12 @@ export class SidenavComponent {
1160
1328
  <script src="../js/libs/lit-html.js"></script>
1161
1329
 
1162
1330
  <script src="../js/menu-wc.js" defer></script>
1163
- <script nomodule src="../js/menu-wc_es5.js" defer></script>
1164
1331
 
1165
1332
  <script src="../js/libs/bootstrap-native.js"></script>
1166
1333
 
1167
1334
  <script src="../js/libs/es6-shim.min.js"></script>
1168
1335
  <script src="../js/libs/EventDispatcher.js"></script>
1169
1336
  <script src="../js/libs/promise.min.js"></script>
1170
- <script src="../js/libs/zepto.min.js"></script>
1171
1337
 
1172
1338
  <script src="../js/compodoc.js"></script>
1173
1339