@rxap/layout 19.2.6 → 21.0.1-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (280) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/compodoc/changelog.html +53 -0
  3. package/compodoc/components/AppsButtonComponent.html +26 -15
  4. package/compodoc/components/LayoutComponent.html +23 -31
  5. package/compodoc/components/NavigationComponent.html +46 -89
  6. package/compodoc/components/NavigationItemComponent.html +98 -214
  7. package/compodoc/components/SettingsButtonComponent.html +46 -46
  8. package/compodoc/components/SidenavComponent.html +43 -44
  9. package/compodoc/components/SidenavToggleButtonComponent.html +15 -5
  10. package/compodoc/dependencies.html +20 -20
  11. package/compodoc/directives/SidenavFooterDirective.html +4 -74
  12. package/compodoc/directives/SidenavHeaderDirective.html +4 -74
  13. package/compodoc/injectables/LayoutService.html +24 -67
  14. package/compodoc/injectables/NavigationService.html +20 -72
  15. package/compodoc/js/search/search_index.js +2 -2
  16. package/compodoc/properties.html +1 -1
  17. package/docs/documentation.json +1916 -2607
  18. package/docs/html/assets/search.js +1 -1
  19. package/docs/html/classes/AppsButtonComponent.html +4 -10
  20. package/docs/html/classes/BaseLayoutComponent.html +2 -2
  21. package/docs/html/classes/DefaultHeaderComponent.html +2 -2
  22. package/docs/html/classes/DefaultHeaderService.html +5 -5
  23. package/docs/html/classes/ExternalAppsService.html +2 -2
  24. package/docs/html/classes/FooterComponent.html +2 -2
  25. package/docs/html/classes/FooterDirective.html +3 -3
  26. package/docs/html/classes/FooterService.html +5 -5
  27. package/docs/html/classes/HeaderComponent.html +2 -2
  28. package/docs/html/classes/HeaderDirective.html +3 -3
  29. package/docs/html/classes/HeaderService.html +5 -5
  30. package/docs/html/classes/LayoutComponent.html +2 -2
  31. package/docs/html/classes/LayoutService.html +2 -2
  32. package/docs/html/classes/LogoService.html +2 -2
  33. package/docs/html/classes/MinimalLayoutComponent.html +2 -2
  34. package/docs/html/classes/NavigationComponent.html +2 -9
  35. package/docs/html/classes/NavigationItemComponent.html +3 -19
  36. package/docs/html/classes/NavigationProgressBarComponent.html +2 -2
  37. package/docs/html/classes/NavigationService.html +3 -3
  38. package/docs/html/classes/ReleaseInfoComponent.html +2 -2
  39. package/docs/html/classes/SettingsButtonComponent.html +2 -2
  40. package/docs/html/classes/SidenavComponent.html +3 -3
  41. package/docs/html/classes/SidenavFooterDirective.html +2 -2
  42. package/docs/html/classes/SidenavHeaderDirective.html +2 -2
  43. package/docs/html/classes/SidenavToggleButtonComponent.html +2 -2
  44. package/docs/html/classes/UserProfileIconComponent.html +2 -2
  45. package/docs/html/functions/IsNavigationDividerItem.html +1 -1
  46. package/docs/html/functions/IsNavigationInsertItem.html +1 -1
  47. package/docs/html/functions/IsNavigationItem.html +1 -1
  48. package/docs/html/functions/provideExternalApps.html +1 -1
  49. package/docs/html/functions/provideLayout.html +1 -1
  50. package/docs/html/functions/withDefaultHeaderComponent.html +1 -1
  51. package/docs/html/functions/withDefaultHeaderItems.html +1 -1
  52. package/docs/html/functions/withFooterComponents.html +1 -1
  53. package/docs/html/functions/withHeaderComponents.html +1 -1
  54. package/docs/html/functions/withNavigationConfig.html +1 -1
  55. package/docs/html/functions/withNavigationInserts.html +1 -1
  56. package/docs/html/functions/withReleaseInfoModules.html +1 -1
  57. package/docs/html/functions/withSettingsMenuItems.html +1 -1
  58. package/docs/html/functions/withUserProfileDataSource.html +1 -1
  59. package/docs/html/index.html +2 -2
  60. package/docs/html/interfaces/NavigationDividerItem.html +2 -2
  61. package/docs/html/interfaces/NavigationInsertItem.html +2 -2
  62. package/docs/html/interfaces/NavigationItem.html +2 -2
  63. package/docs/html/interfaces/NavigationStatus.html +2 -2
  64. package/docs/html/interfaces/ReleaseInfoModule.html +2 -2
  65. package/docs/html/interfaces/SettingsMenuItem.html +2 -2
  66. package/docs/html/modules.html +1 -1
  67. package/docs/html/types/DefaultHeaderItemComponent.html +1 -1
  68. package/docs/html/types/ExternalApp.html +1 -1
  69. package/docs/html/types/ExtractUsernameFromProfileFn.html +1 -1
  70. package/docs/html/types/Navigation.html +1 -1
  71. package/docs/html/types/NavigationWithInserts.html +1 -1
  72. package/docs/html/types/SettingsMenuItemComponent.html +1 -1
  73. package/docs/html/variables/EXTRACT_USERNAME_FROM_PROFILE.html +1 -1
  74. package/docs/html/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.html +1 -1
  75. package/docs/html/variables/RXAP_EXTERNAL_APP.html +1 -1
  76. package/docs/html/variables/RXAP_EXTERNAL_APP_FILTER.html +1 -1
  77. package/docs/html/variables/RXAP_FOOTER_COMPONENT.html +1 -1
  78. package/docs/html/variables/RXAP_HEADER_COMPONENT.html +1 -1
  79. package/docs/html/variables/RXAP_LAYOUT_APPS_GRID.html +1 -1
  80. package/docs/html/variables/RXAP_LOGO_CONFIG.html +1 -1
  81. package/docs/html/variables/RXAP_LOGO_CONFIG_DEFAULTS.html +1 -1
  82. package/docs/html/variables/RXAP_NAVIGATION_CONFIG.html +1 -1
  83. package/docs/html/variables/RXAP_NAVIGATION_CONFIG_INSERTS.html +1 -1
  84. package/docs/html/variables/RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.html +1 -1
  85. package/docs/html/variables/RXAP_RELEASE_INFO_MODULE.html +1 -1
  86. package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM.html +1 -1
  87. package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.html +1 -1
  88. package/docs/html/variables/RXAP_USER_PROFILE_DATA_SOURCE.html +1 -1
  89. package/docs/markdown/README.md +1 -1
  90. package/docs/markdown/classes/AppsButtonComponent.md +9 -33
  91. package/docs/markdown/classes/BaseLayoutComponent.md +2 -2
  92. package/docs/markdown/classes/DefaultHeaderComponent.md +10 -10
  93. package/docs/markdown/classes/DefaultHeaderService.md +6 -6
  94. package/docs/markdown/classes/ExternalAppsService.md +18 -18
  95. package/docs/markdown/classes/FooterComponent.md +5 -5
  96. package/docs/markdown/classes/FooterDirective.md +4 -4
  97. package/docs/markdown/classes/FooterService.md +6 -6
  98. package/docs/markdown/classes/HeaderComponent.md +6 -6
  99. package/docs/markdown/classes/HeaderDirective.md +4 -4
  100. package/docs/markdown/classes/HeaderService.md +6 -6
  101. package/docs/markdown/classes/LayoutComponent.md +6 -6
  102. package/docs/markdown/classes/LayoutService.md +18 -24
  103. package/docs/markdown/classes/LogoService.md +6 -6
  104. package/docs/markdown/classes/MinimalLayoutComponent.md +2 -2
  105. package/docs/markdown/classes/NavigationComponent.md +16 -50
  106. package/docs/markdown/classes/NavigationItemComponent.md +19 -117
  107. package/docs/markdown/classes/NavigationProgressBarComponent.md +4 -4
  108. package/docs/markdown/classes/NavigationService.md +16 -26
  109. package/docs/markdown/classes/ReleaseInfoComponent.md +6 -6
  110. package/docs/markdown/classes/SettingsButtonComponent.md +19 -19
  111. package/docs/markdown/classes/SidenavComponent.md +18 -18
  112. package/docs/markdown/classes/SidenavFooterDirective.md +4 -12
  113. package/docs/markdown/classes/SidenavHeaderDirective.md +4 -12
  114. package/docs/markdown/classes/SidenavToggleButtonComponent.md +5 -5
  115. package/docs/markdown/classes/UserProfileIconComponent.md +7 -7
  116. package/docs/markdown/functions/IsNavigationDividerItem.md +2 -2
  117. package/docs/markdown/functions/IsNavigationInsertItem.md +2 -2
  118. package/docs/markdown/functions/IsNavigationItem.md +2 -2
  119. package/docs/markdown/functions/provideExternalApps.md +2 -2
  120. package/docs/markdown/functions/provideLayout.md +2 -2
  121. package/docs/markdown/functions/withDefaultHeaderComponent.md +2 -2
  122. package/docs/markdown/functions/withDefaultHeaderItems.md +2 -2
  123. package/docs/markdown/functions/withFooterComponents.md +2 -2
  124. package/docs/markdown/functions/withHeaderComponents.md +2 -2
  125. package/docs/markdown/functions/withNavigationConfig.md +2 -2
  126. package/docs/markdown/functions/withNavigationInserts.md +2 -2
  127. package/docs/markdown/functions/withReleaseInfoModules.md +2 -2
  128. package/docs/markdown/functions/withSettingsMenuItems.md +2 -2
  129. package/docs/markdown/functions/withUserProfileDataSource.md +2 -2
  130. package/docs/markdown/globals.md +2 -2
  131. package/docs/markdown/interfaces/NavigationDividerItem.md +4 -4
  132. package/docs/markdown/interfaces/NavigationInsertItem.md +3 -3
  133. package/docs/markdown/interfaces/NavigationItem.md +8 -8
  134. package/docs/markdown/interfaces/NavigationStatus.md +3 -3
  135. package/docs/markdown/interfaces/ReleaseInfoModule.md +5 -5
  136. package/docs/markdown/interfaces/SettingsMenuItem.md +5 -5
  137. package/docs/markdown/type-aliases/DefaultHeaderItemComponent.md +2 -2
  138. package/docs/markdown/type-aliases/ExternalApp.md +2 -2
  139. package/docs/markdown/type-aliases/ExtractUsernameFromProfileFn.md +2 -2
  140. package/docs/markdown/type-aliases/Navigation.md +2 -2
  141. package/docs/markdown/type-aliases/NavigationWithInserts.md +2 -2
  142. package/docs/markdown/type-aliases/SettingsMenuItemComponent.md +2 -2
  143. package/docs/markdown/variables/EXTRACT_USERNAME_FROM_PROFILE.md +2 -2
  144. package/docs/markdown/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.md +2 -2
  145. package/docs/markdown/variables/RXAP_EXTERNAL_APP.md +2 -2
  146. package/docs/markdown/variables/RXAP_EXTERNAL_APP_FILTER.md +2 -2
  147. package/docs/markdown/variables/RXAP_FOOTER_COMPONENT.md +2 -2
  148. package/docs/markdown/variables/RXAP_HEADER_COMPONENT.md +2 -2
  149. package/docs/markdown/variables/RXAP_LAYOUT_APPS_GRID.md +2 -2
  150. package/docs/markdown/variables/RXAP_LOGO_CONFIG.md +2 -2
  151. package/docs/markdown/variables/RXAP_LOGO_CONFIG_DEFAULTS.md +2 -2
  152. package/docs/markdown/variables/RXAP_NAVIGATION_CONFIG.md +2 -2
  153. package/docs/markdown/variables/RXAP_NAVIGATION_CONFIG_INSERTS.md +2 -2
  154. package/docs/markdown/variables/RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.md +2 -2
  155. package/docs/markdown/variables/RXAP_RELEASE_INFO_MODULE.md +2 -2
  156. package/docs/markdown/variables/RXAP_SETTINGS_MENU_ITEM.md +2 -2
  157. package/docs/markdown/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.md +2 -2
  158. package/docs/markdown/variables/RXAP_USER_PROFILE_DATA_SOURCE.md +2 -2
  159. package/docs/wiki/Class.AppsButtonComponent.md +8 -32
  160. package/docs/wiki/Class.BaseLayoutComponent.md +1 -1
  161. package/docs/wiki/Class.DefaultHeaderComponent.md +9 -9
  162. package/docs/wiki/Class.DefaultHeaderService.md +5 -5
  163. package/docs/wiki/Class.ExternalAppsService.md +17 -17
  164. package/docs/wiki/Class.FooterComponent.md +4 -4
  165. package/docs/wiki/Class.FooterDirective.md +3 -3
  166. package/docs/wiki/Class.FooterService.md +5 -5
  167. package/docs/wiki/Class.HeaderComponent.md +5 -5
  168. package/docs/wiki/Class.HeaderDirective.md +3 -3
  169. package/docs/wiki/Class.HeaderService.md +5 -5
  170. package/docs/wiki/Class.LayoutComponent.md +5 -5
  171. package/docs/wiki/Class.LayoutService.md +17 -23
  172. package/docs/wiki/Class.LogoService.md +5 -5
  173. package/docs/wiki/Class.MinimalLayoutComponent.md +1 -1
  174. package/docs/wiki/Class.NavigationComponent.md +15 -49
  175. package/docs/wiki/Class.NavigationItemComponent.md +18 -116
  176. package/docs/wiki/Class.NavigationProgressBarComponent.md +3 -3
  177. package/docs/wiki/Class.NavigationService.md +15 -25
  178. package/docs/wiki/Class.ReleaseInfoComponent.md +5 -5
  179. package/docs/wiki/Class.SettingsButtonComponent.md +18 -18
  180. package/docs/wiki/Class.SidenavComponent.md +17 -17
  181. package/docs/wiki/Class.SidenavFooterDirective.md +3 -11
  182. package/docs/wiki/Class.SidenavHeaderDirective.md +3 -11
  183. package/docs/wiki/Class.SidenavToggleButtonComponent.md +4 -4
  184. package/docs/wiki/Class.UserProfileIconComponent.md +6 -6
  185. package/docs/wiki/Function.IsNavigationDividerItem.md +1 -1
  186. package/docs/wiki/Function.IsNavigationInsertItem.md +1 -1
  187. package/docs/wiki/Function.IsNavigationItem.md +1 -1
  188. package/docs/wiki/Function.provideExternalApps.md +1 -1
  189. package/docs/wiki/Function.provideLayout.md +1 -1
  190. package/docs/wiki/Function.withDefaultHeaderComponent.md +1 -1
  191. package/docs/wiki/Function.withDefaultHeaderItems.md +1 -1
  192. package/docs/wiki/Function.withFooterComponents.md +1 -1
  193. package/docs/wiki/Function.withHeaderComponents.md +1 -1
  194. package/docs/wiki/Function.withNavigationConfig.md +1 -1
  195. package/docs/wiki/Function.withNavigationInserts.md +1 -1
  196. package/docs/wiki/Function.withReleaseInfoModules.md +1 -1
  197. package/docs/wiki/Function.withSettingsMenuItems.md +1 -1
  198. package/docs/wiki/Function.withUserProfileDataSource.md +1 -1
  199. package/docs/wiki/Interface.NavigationDividerItem.md +3 -3
  200. package/docs/wiki/Interface.NavigationInsertItem.md +2 -2
  201. package/docs/wiki/Interface.NavigationItem.md +7 -7
  202. package/docs/wiki/Interface.NavigationStatus.md +2 -2
  203. package/docs/wiki/Interface.ReleaseInfoModule.md +4 -4
  204. package/docs/wiki/Interface.SettingsMenuItem.md +4 -4
  205. package/docs/wiki/TypeAlias.DefaultHeaderItemComponent.md +1 -1
  206. package/docs/wiki/TypeAlias.ExternalApp.md +1 -1
  207. package/docs/wiki/TypeAlias.ExtractUsernameFromProfileFn.md +1 -1
  208. package/docs/wiki/TypeAlias.Navigation.md +1 -1
  209. package/docs/wiki/TypeAlias.NavigationWithInserts.md +1 -1
  210. package/docs/wiki/TypeAlias.SettingsMenuItemComponent.md +1 -1
  211. package/docs/wiki/Variable.EXTRACT_USERNAME_FROM_PROFILE.md +1 -1
  212. package/docs/wiki/Variable.RXAP_DEFAULT_HEADER_ITEM_COMPONENT.md +1 -1
  213. package/docs/wiki/Variable.RXAP_EXTERNAL_APP.md +1 -1
  214. package/docs/wiki/Variable.RXAP_EXTERNAL_APP_FILTER.md +1 -1
  215. package/docs/wiki/Variable.RXAP_FOOTER_COMPONENT.md +1 -1
  216. package/docs/wiki/Variable.RXAP_HEADER_COMPONENT.md +1 -1
  217. package/docs/wiki/Variable.RXAP_LAYOUT_APPS_GRID.md +1 -1
  218. package/docs/wiki/Variable.RXAP_LOGO_CONFIG.md +1 -1
  219. package/docs/wiki/Variable.RXAP_LOGO_CONFIG_DEFAULTS.md +1 -1
  220. package/docs/wiki/Variable.RXAP_NAVIGATION_CONFIG.md +1 -1
  221. package/docs/wiki/Variable.RXAP_NAVIGATION_CONFIG_INSERTS.md +1 -1
  222. package/docs/wiki/Variable.RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.md +1 -1
  223. package/docs/wiki/Variable.RXAP_RELEASE_INFO_MODULE.md +1 -1
  224. package/docs/wiki/Variable.RXAP_SETTINGS_MENU_ITEM.md +1 -1
  225. package/docs/wiki/Variable.RXAP_SETTINGS_MENU_ITEM_COMPONENT.md +1 -1
  226. package/docs/wiki/Variable.RXAP_USER_PROFILE_DATA_SOURCE.md +1 -1
  227. package/docs/wiki/globals.md +1 -1
  228. package/fesm2022/rxap-layout.mjs +219 -294
  229. package/fesm2022/rxap-layout.mjs.map +1 -1
  230. package/package.json +47 -46
  231. package/src/generators/init/generator.spec.ts +228 -0
  232. package/src/generators/init/generator.ts +139 -0
  233. package/src/generators/init/index.ts +5 -0
  234. package/src/generators/init/schema.d.ts +2 -0
  235. package/src/generators/init/schema.json +8 -0
  236. package/{index.d.ts → src/index.ts} +47 -0
  237. package/src/migrations/18.0.0/add-seperate-external-apps-provider/__snapshots__/add-seperate-external-apps-provider.spec.ts.snap +1 -1
  238. package/src/migrations/18.0.0/add-seperate-external-apps-provider/add-seperate-external-apps-provider.spec.ts +63 -0
  239. package/src/migrations/18.0.0/add-seperate-external-apps-provider/add-seperate-external-apps-provider.ts +59 -0
  240. package/src/migrations/18.0.0/add-theme-provider-to-app-config/__snapshots__/add-theme-provider-to-app-config.spec.ts.snap +1 -1
  241. package/src/migrations/18.0.0/add-theme-provider-to-app-config/add-theme-provider-to-app-config.spec.ts +61 -0
  242. package/src/migrations/18.0.0/add-theme-provider-to-app-config/add-theme-provider-to-app-config.ts +44 -0
  243. package/src/migrations/18.0.0/add-user-theme-provider-to-layout-providers/__snapshots__/add-user-theme-provider-to-layout-providers.spec.ts.snap +1 -1
  244. package/src/migrations/18.0.0/add-user-theme-provider-to-layout-providers/add-user-theme-provider-to-layout-providers.spec.ts +94 -0
  245. package/src/migrations/18.0.0/add-user-theme-provider-to-layout-providers/add-user-theme-provider-to-layout-providers.ts +51 -0
  246. package/src/migrations/18.0.0/add-with-user-profile-provider/__snapshots__/add-with-user-profile-provider.spec.ts.snap +1 -1
  247. package/src/migrations/18.0.0/add-with-user-profile-provider/add-with-user-profile-provider.spec.ts +94 -0
  248. package/src/migrations/18.0.0/add-with-user-profile-provider/add-with-user-profile-provider.ts +53 -0
  249. package/src/test-setup.ts +25 -0
  250. package/types/rxap-layout.d.ts +507 -0
  251. package/lib/base-layout/base-layout.component.d.ts +0 -5
  252. package/lib/default-header/apps-button/apps-button.component.d.ts +0 -16
  253. package/lib/default-header/default-header.component.d.ts +0 -15
  254. package/lib/default-header/default-header.service.d.ts +0 -36
  255. package/lib/default-header/settings-button/settings-button.component.d.ts +0 -33
  256. package/lib/default-header/sidenav-toggle-button/sidenav-toggle-button.component.d.ts +0 -9
  257. package/lib/default-header/user-profile-icon/user-profile-icon.component.d.ts +0 -12
  258. package/lib/external-apps.service.d.ts +0 -26
  259. package/lib/footer/footer.component.d.ts +0 -9
  260. package/lib/footer/footer.directive.d.ts +0 -12
  261. package/lib/footer.service.d.ts +0 -32
  262. package/lib/header/header.component.d.ts +0 -11
  263. package/lib/header/header.directive.d.ts +0 -12
  264. package/lib/header.service.d.ts +0 -34
  265. package/lib/layout/layout.component.d.ts +0 -11
  266. package/lib/layout.service.d.ts +0 -27
  267. package/lib/logo.service.d.ts +0 -10
  268. package/lib/minimal-layout/minimal-layout.component.d.ts +0 -5
  269. package/lib/navigation/navigation-item/navigation-item.component.d.ts +0 -28
  270. package/lib/navigation/navigation-item.d.ts +0 -25
  271. package/lib/navigation/navigation.component.d.ts +0 -21
  272. package/lib/navigation-progress-bar/navigation-progress-bar.component.d.ts +0 -8
  273. package/lib/navigation.service.d.ts +0 -36
  274. package/lib/provide.d.ts +0 -17
  275. package/lib/release-info/release-info.component.d.ts +0 -10
  276. package/lib/sidenav/sidenav-footer.directive.d.ts +0 -8
  277. package/lib/sidenav/sidenav-header.directive.d.ts +0 -8
  278. package/lib/sidenav/sidenav.component.d.ts +0 -31
  279. package/lib/tokens.d.ts +0 -22
  280. package/lib/types.d.ts +0 -17
package/CHANGELOG.md CHANGED
@@ -1,3 +1,58 @@
1
+ ## 21.0.1-dev.1 (2026-11-22)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **angular:** add ng-prism showcases from the leaf library outwards
6
+ - **angular:** add ng-prism styleguide targets and environment showcase
7
+
8
+ ### 🧱 Updated Dependencies
9
+
10
+ - Updated angular-material-directives to 21.0.1-dev.1
11
+ - Updated angular-data-source to 21.0.1-dev.1
12
+ - Updated angular-environment to 21.0.1-dev.1
13
+ - Updated workspace-utilities to 22.0.1-dev.1
14
+ - Updated workspace-ts-morph to 22.0.1-dev.1
15
+ - Updated browser-utilities to 1.1.15-dev.1
16
+ - Updated angular-pub-sub to 21.0.1-dev.1
17
+ - Updated angular-config to 21.0.1-dev.1
18
+ - Updated angular-theme to 21.0.1-dev.1
19
+ - Updated angular-icon to 21.0.1-dev.1
20
+ - Updated utilities to 16.5.2-dev.1
21
+ - Updated ts-morph to 1.7.1-dev.1
22
+ - Updated pattern to 1.1.16-dev.1
23
+
24
+ ### ❤️ Thank You
25
+
26
+ - Claude Opus 5.5
27
+ - Merzough Münker
28
+
29
+ ## 21.0.1-dev.0 (2026-11-20)
30
+
31
+ ### 🩹 Fixes
32
+
33
+ - **upgrade:** TestBed.get->inject (removed in angular) + dedupe rxjs to single version
34
+ - **upgrade:** jest30 env + ora ESM stub + TextEncoder polyfill casts (test infra)
35
+
36
+ ### 🧱 Updated Dependencies
37
+
38
+ - Updated angular-material-directives to 21.0.1-dev.0
39
+ - Updated angular-data-source to 21.0.1-dev.0
40
+ - Updated angular-environment to 21.0.1-dev.0
41
+ - Updated workspace-utilities to 22.0.1-dev.0
42
+ - Updated workspace-ts-morph to 22.0.1-dev.0
43
+ - Updated browser-utilities to 1.1.15-dev.0
44
+ - Updated angular-pub-sub to 21.0.1-dev.0
45
+ - Updated angular-config to 21.0.1-dev.0
46
+ - Updated angular-theme to 21.0.1-dev.0
47
+ - Updated angular-icon to 21.0.1-dev.0
48
+ - Updated utilities to 16.5.2-dev.0
49
+ - Updated ts-morph to 1.7.1-dev.0
50
+ - Updated pattern to 1.1.16-dev.0
51
+
52
+ ### ❤️ Thank You
53
+
54
+ - Merzough Münker
55
+
1
56
  ## 19.2.6 (2026-11-20)
2
57
 
3
58
  ### 🧱 Updated Dependencies
@@ -82,6 +82,59 @@
82
82
  <div class="content getting-started">
83
83
  <div class="content-data">
84
84
 
85
+ <h2>21.0.1-dev.1 (2026-11-22)</h2>
86
+ <h3>🚀 Features</h3>
87
+ <ul>
88
+ <li><strong>angular:</strong> add ng-prism showcases from the leaf library outwards</li>
89
+ <li><strong>angular:</strong> add ng-prism styleguide targets and environment showcase</li>
90
+ </ul>
91
+ <h3>🧱 Updated Dependencies</h3>
92
+ <ul>
93
+ <li>Updated angular-material-directives to 21.0.1-dev.1</li>
94
+ <li>Updated angular-data-source to 21.0.1-dev.1</li>
95
+ <li>Updated angular-environment to 21.0.1-dev.1</li>
96
+ <li>Updated workspace-utilities to 22.0.1-dev.1</li>
97
+ <li>Updated workspace-ts-morph to 22.0.1-dev.1</li>
98
+ <li>Updated browser-utilities to 1.1.15-dev.1</li>
99
+ <li>Updated angular-pub-sub to 21.0.1-dev.1</li>
100
+ <li>Updated angular-config to 21.0.1-dev.1</li>
101
+ <li>Updated angular-theme to 21.0.1-dev.1</li>
102
+ <li>Updated angular-icon to 21.0.1-dev.1</li>
103
+ <li>Updated utilities to 16.5.2-dev.1</li>
104
+ <li>Updated ts-morph to 1.7.1-dev.1</li>
105
+ <li>Updated pattern to 1.1.16-dev.1</li>
106
+ </ul>
107
+ <h3>❤️ Thank You</h3>
108
+ <ul>
109
+ <li>Claude Opus 5.5</li>
110
+ <li>Merzough Münker</li>
111
+ </ul>
112
+ <h2>21.0.1-dev.0 (2026-11-20)</h2>
113
+ <h3>🩹 Fixes</h3>
114
+ <ul>
115
+ <li><strong>upgrade:</strong> TestBed.get-&gt;inject (removed in angular) + dedupe rxjs to single version</li>
116
+ <li><strong>upgrade:</strong> jest30 env + ora ESM stub + TextEncoder polyfill casts (test infra)</li>
117
+ </ul>
118
+ <h3>🧱 Updated Dependencies</h3>
119
+ <ul>
120
+ <li>Updated angular-material-directives to 21.0.1-dev.0</li>
121
+ <li>Updated angular-data-source to 21.0.1-dev.0</li>
122
+ <li>Updated angular-environment to 21.0.1-dev.0</li>
123
+ <li>Updated workspace-utilities to 22.0.1-dev.0</li>
124
+ <li>Updated workspace-ts-morph to 22.0.1-dev.0</li>
125
+ <li>Updated browser-utilities to 1.1.15-dev.0</li>
126
+ <li>Updated angular-pub-sub to 21.0.1-dev.0</li>
127
+ <li>Updated angular-config to 21.0.1-dev.0</li>
128
+ <li>Updated angular-theme to 21.0.1-dev.0</li>
129
+ <li>Updated angular-icon to 21.0.1-dev.0</li>
130
+ <li>Updated utilities to 16.5.2-dev.0</li>
131
+ <li>Updated ts-morph to 1.7.1-dev.0</li>
132
+ <li>Updated pattern to 1.1.16-dev.0</li>
133
+ </ul>
134
+ <h3>❤️ Thank You</h3>
135
+ <ul>
136
+ <li>Merzough Münker</li>
137
+ </ul>
85
138
  <h2>19.2.6 (2026-11-20)</h2>
86
139
  <h3>🧱 Updated Dependencies</h3>
87
140
  <ul>
@@ -126,12 +126,6 @@
126
126
 
127
127
 
128
128
 
129
- <p class="comment">
130
- <h3>Implements</h3>
131
- </p>
132
- <p class="comment">
133
- <code>OnInit</code>
134
- </p>
135
129
 
136
130
 
137
131
  <section data-compodoc="block-metadata">
@@ -256,6 +250,24 @@
256
250
  </table>
257
251
  </section>
258
252
 
253
+ <section data-compodoc="block-constructor">
254
+ <h3 id="constructor">Constructor</h3>
255
+ <table class="table table-sm table-bordered">
256
+ <tbody>
257
+ <tr>
258
+ <td class="col-md-4">
259
+ <code>constructor()</code>
260
+ </td>
261
+ </tr>
262
+ <tr>
263
+ <td class="col-md-4">
264
+ <div class="io-line">Defined in <a href="" data-line="46" class="link-to-prism">src/lib/default-header/apps-button/apps-button.component.ts:46</a></div>
265
+ </td>
266
+ </tr>
267
+
268
+ </tbody>
269
+ </table>
270
+ </section>
259
271
 
260
272
 
261
273
 
@@ -288,8 +300,8 @@
288
300
 
289
301
  <tr>
290
302
  <td class="col-md-4">
291
- <div class="io-line">Defined in <a href="" data-line="45"
292
- class="link-to-prism">src/lib/default-header/apps-button/apps-button.component.ts:45</a></div>
303
+ <div class="io-line">Defined in <a href="" data-line="44"
304
+ class="link-to-prism">src/lib/default-header/apps-button/apps-button.component.ts:44</a></div>
293
305
  </td>
294
306
  </tr>
295
307
 
@@ -331,7 +343,7 @@
331
343
  </tr>
332
344
  <tr>
333
345
  <td class="col-md-4">
334
- <div class="io-line">Defined in <a href="" data-line="42" class="link-to-prism">src/lib/default-header/apps-button/apps-button.component.ts:42</a></div>
346
+ <div class="io-line">Defined in <a href="" data-line="41" class="link-to-prism">src/lib/default-header/apps-button/apps-button.component.ts:41</a></div>
335
347
  </td>
336
348
  </tr>
337
349
 
@@ -358,7 +370,7 @@
358
370
  </tr>
359
371
  <tr>
360
372
  <td class="col-md-4">
361
- <div class="io-line">Defined in <a href="" data-line="41" class="link-to-prism">src/lib/default-header/apps-button/apps-button.component.ts:41</a></div>
373
+ <div class="io-line">Defined in <a href="" data-line="40" class="link-to-prism">src/lib/default-header/apps-button/apps-button.component.ts:40</a></div>
362
374
  </td>
363
375
  </tr>
364
376
 
@@ -385,7 +397,7 @@
385
397
  </tr>
386
398
  <tr>
387
399
  <td class="col-md-4">
388
- <div class="io-line">Defined in <a href="" data-line="43" class="link-to-prism">src/lib/default-header/apps-button/apps-button.component.ts:43</a></div>
400
+ <div class="io-line">Defined in <a href="" data-line="42" class="link-to-prism">src/lib/default-header/apps-button/apps-button.component.ts:42</a></div>
389
401
  </td>
390
402
  </tr>
391
403
 
@@ -412,7 +424,7 @@
412
424
  </tr>
413
425
  <tr>
414
426
  <td class="col-md-4">
415
- <div class="io-line">Defined in <a href="" data-line="39" class="link-to-prism">src/lib/default-header/apps-button/apps-button.component.ts:39</a></div>
427
+ <div class="io-line">Defined in <a href="" data-line="38" class="link-to-prism">src/lib/default-header/apps-button/apps-button.component.ts:38</a></div>
416
428
  </td>
417
429
  </tr>
418
430
 
@@ -437,7 +449,6 @@ import {
437
449
  Component,
438
450
  computed,
439
451
  inject,
440
- OnInit,
441
452
  signal,
442
453
  } from &#x27;@angular/core&#x27;;
443
454
  import {
@@ -465,7 +476,7 @@ import { ExternalAppsService } from &#x27;../../external-apps.service&#x27;;
465
476
  IconDirective,
466
477
  ]
467
478
  })
468
- export class AppsButtonComponent implements OnInit {
479
+ export class AppsButtonComponent {
469
480
  /**
470
481
  * The signal that indicates if the app list is open
471
482
  */
@@ -479,7 +490,7 @@ export class AppsButtonComponent implements OnInit {
479
490
  this.isOpen.update(isOpen &#x3D;&gt; !isOpen);
480
491
  }
481
492
 
482
- public ngOnInit(): void {
493
+ constructor() {
483
494
  this.externalAppsService.getAppList();
484
495
  }
485
496
 
@@ -163,7 +163,6 @@
163
163
  <code>MatIconModule</code>
164
164
  <code>MatButtonModule</code>
165
165
  <code>RouterLink</code>
166
- <code>NgIf</code>
167
166
  <code><a href="../components/FooterComponent.html" target="_self" >FooterComponent</a></code>
168
167
  <code>MatMenuModule</code>
169
168
  <code>NgOptimizedImage</code>
@@ -283,7 +282,7 @@
283
282
  </tr>
284
283
  <tr>
285
284
  <td class="col-md-4">
286
- <div class="io-line">Defined in <a href="" data-line="64" class="link-to-prism">src/lib/layout/layout.component.ts:64</a></div>
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>
287
286
  </td>
288
287
  </tr>
289
288
 
@@ -310,7 +309,7 @@
310
309
  </tr>
311
310
  <tr>
312
311
  <td class="col-md-4">
313
- <div class="io-line">Defined in <a href="" data-line="61" class="link-to-prism">src/lib/layout/layout.component.ts:61</a></div>
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>
314
313
  </td>
315
314
  </tr>
316
315
 
@@ -343,7 +342,7 @@
343
342
  </tr>
344
343
  <tr>
345
344
  <td class="col-md-4">
346
- <div class="io-line">Defined in <a href="" data-line="62" class="link-to-prism">src/lib/layout/layout.component.ts:62</a></div>
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>
347
346
  </td>
348
347
  </tr>
349
348
 
@@ -376,7 +375,7 @@
376
375
  </tr>
377
376
  <tr>
378
377
  <td class="col-md-4">
379
- <div class="io-line">Defined in <a href="" data-line="63" class="link-to-prism">src/lib/layout/layout.component.ts:63</a></div>
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>
380
379
  </td>
381
380
  </tr>
382
381
 
@@ -389,13 +388,7 @@
389
388
 
390
389
 
391
390
  <div class="tab-pane fade tab-source-code" id="source">
392
- <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
393
- AsyncPipe,
394
- NgClass,
395
- NgIf,
396
- NgOptimizedImage,
397
- NgStyle,
398
- } from &#x27;@angular/common&#x27;;
391
+ <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { AsyncPipe, NgClass, NgOptimizedImage, NgStyle } from &#x27;@angular/common&#x27;;
399
392
  import {
400
393
  ChangeDetectionStrategy,
401
394
  Component,
@@ -427,25 +420,24 @@ import { SidenavComponent } from &#x27;../sidenav/sidenav.component&#x27;;
427
420
  styleUrls: [&#x27;./layout.component.scss&#x27;],
428
421
  changeDetection: ChangeDetectionStrategy.OnPush,
429
422
  imports: [
430
- HeaderComponent,
431
- MatSidenavModule,
432
- AsyncPipe,
433
- MatIconModule,
434
- MatButtonModule,
435
- RouterLink,
436
- NgIf,
437
- FooterComponent,
438
- MatMenuModule,
439
- NgOptimizedImage,
440
- NavigationComponent,
441
- RouterOutlet,
442
- NgStyle,
443
- NgClass,
444
- SidenavComponent,
445
- ReleaseInfoComponent,
446
- SidenavFooterDirective,
447
- NavigationProgressBarComponent,
448
- ]
423
+ HeaderComponent,
424
+ MatSidenavModule,
425
+ AsyncPipe,
426
+ MatIconModule,
427
+ MatButtonModule,
428
+ RouterLink,
429
+ FooterComponent,
430
+ MatMenuModule,
431
+ NgOptimizedImage,
432
+ NavigationComponent,
433
+ RouterOutlet,
434
+ NgStyle,
435
+ NgClass,
436
+ SidenavComponent,
437
+ ReleaseInfoComponent,
438
+ SidenavFooterDirective,
439
+ NavigationProgressBarComponent
440
+ ]
449
441
  })
450
442
  export class LayoutComponent {
451
443
 
@@ -126,12 +126,6 @@
126
126
 
127
127
 
128
128
 
129
- <p class="comment">
130
- <h3>Implements</h3>
131
- </p>
132
- <p class="comment">
133
- <code>OnInit</code>
134
- </p>
135
129
 
136
130
 
137
131
  <section data-compodoc="block-metadata">
@@ -171,8 +165,6 @@
171
165
  <tr>
172
166
  <td class="col-md-3">imports</td>
173
167
  <td class="col-md-9">
174
- <code>NgFor</code>
175
- <code>NgIf</code>
176
168
  <code>MatDividerModule</code>
177
169
  <code><a href="../interfaces/NavigationItem.html" target="_self" >forwardRef(() &#x3D;&gt; NavigationItemComponent)</a></code>
178
170
  <code>AsyncPipe</code>
@@ -219,11 +211,6 @@
219
211
  <span class="modifier">Readonly</span>
220
212
  <a href="#collapsed" >collapsed</a>
221
213
  </li>
222
- <li>
223
- <span class="modifier">Protected</span>
224
- <span class="modifier">Readonly</span>
225
- <a href="#injector" >injector</a>
226
- </li>
227
214
  <li>
228
215
  <span class="modifier">Public</span>
229
216
  <a href="#items" >items</a>
@@ -239,6 +226,7 @@
239
226
  </li>
240
227
  <li>
241
228
  <span class="modifier">Public</span>
229
+ <span class="modifier">Readonly</span>
242
230
  <a href="#navigationItems" >navigationItems</a>
243
231
  </li>
244
232
  <li>
@@ -320,7 +308,7 @@
320
308
  </tr>
321
309
  <tr>
322
310
  <td class="col-md-2" colspan="2">
323
- <div class="io-line">Defined in <a href="" data-line="50" class="link-to-prism">src/lib/navigation/navigation.component.ts:50</a></div>
311
+ <div class="io-line">Defined in <a href="" data-line="42" class="link-to-prism">src/lib/navigation/navigation.component.ts:42</a></div>
324
312
  </td>
325
313
  </tr>
326
314
  </tbody>
@@ -340,7 +328,7 @@
340
328
  </tr>
341
329
  <tr>
342
330
  <td class="col-md-2" colspan="2">
343
- <div class="io-line">Defined in <a href="" data-line="52" class="link-to-prism">src/lib/navigation/navigation.component.ts:52</a></div>
331
+ <div class="io-line">Defined in <a href="" data-line="44" class="link-to-prism">src/lib/navigation/navigation.component.ts:44</a></div>
344
332
  </td>
345
333
  </tr>
346
334
  </tbody>
@@ -360,7 +348,7 @@
360
348
  </tr>
361
349
  <tr>
362
350
  <td class="col-md-2" colspan="2">
363
- <div class="io-line">Defined in <a href="" data-line="62" class="link-to-prism">src/lib/navigation/navigation.component.ts:62</a></div>
351
+ <div class="io-line">Defined in <a href="" data-line="52" class="link-to-prism">src/lib/navigation/navigation.component.ts:52</a></div>
364
352
  </td>
365
353
  </tr>
366
354
  </tbody>
@@ -396,8 +384,8 @@
396
384
 
397
385
  <tr>
398
386
  <td class="col-md-4">
399
- <div class="io-line">Defined in <a href="" data-line="89"
400
- class="link-to-prism">src/lib/navigation/navigation.component.ts:89</a></div>
387
+ <div class="io-line">Defined in <a href="" data-line="82"
388
+ class="link-to-prism">src/lib/navigation/navigation.component.ts:82</a></div>
401
389
  </td>
402
390
  </tr>
403
391
 
@@ -465,8 +453,8 @@
465
453
 
466
454
  <tr>
467
455
  <td class="col-md-4">
468
- <div class="io-line">Defined in <a href="" data-line="77"
469
- class="link-to-prism">src/lib/navigation/navigation.component.ts:77</a></div>
456
+ <div class="io-line">Defined in <a href="" data-line="70"
457
+ class="link-to-prism">src/lib/navigation/navigation.component.ts:70</a></div>
470
458
  </td>
471
459
  </tr>
472
460
 
@@ -534,8 +522,8 @@
534
522
 
535
523
  <tr>
536
524
  <td class="col-md-4">
537
- <div class="io-line">Defined in <a href="" data-line="83"
538
- class="link-to-prism">src/lib/navigation/navigation.component.ts:83</a></div>
525
+ <div class="io-line">Defined in <a href="" data-line="76"
526
+ class="link-to-prism">src/lib/navigation/navigation.component.ts:76</a></div>
539
527
  </td>
540
528
  </tr>
541
529
 
@@ -607,34 +595,7 @@
607
595
  </tr>
608
596
  <tr>
609
597
  <td class="col-md-4">
610
- <div class="io-line">Defined in <a href="" data-line="58" class="link-to-prism">src/lib/navigation/navigation.component.ts:58</a></div>
611
- </td>
612
- </tr>
613
-
614
-
615
- </tbody>
616
- </table>
617
- <table class="table table-sm table-bordered">
618
- <tbody>
619
- <tr>
620
- <td class="col-md-4">
621
- <a name="injector"></a>
622
- <span class="name">
623
- <span class="modifier">Protected</span>
624
- <span class="modifier">Readonly</span>
625
- <span ><b>injector</b></span>
626
- <a href="#injector"><span class="icon ion-ios-link"></span></a>
627
- </span>
628
- </td>
629
- </tr>
630
- <tr>
631
- <td class="col-md-4">
632
- <i>Default value : </i><code>inject(INJECTOR)</code>
633
- </td>
634
- </tr>
635
- <tr>
636
- <td class="col-md-4">
637
- <div class="io-line">Defined in <a href="" data-line="64" class="link-to-prism">src/lib/navigation/navigation.component.ts:64</a></div>
598
+ <div class="io-line">Defined in <a href="" data-line="50" class="link-to-prism">src/lib/navigation/navigation.component.ts:50</a></div>
638
599
  </td>
639
600
  </tr>
640
601
 
@@ -655,7 +616,7 @@
655
616
  </tr>
656
617
  <tr>
657
618
  <td class="col-md-4">
658
- <div class="io-line">Defined in <a href="" data-line="50" class="link-to-prism">src/lib/navigation/navigation.component.ts:50</a></div>
619
+ <div class="io-line">Defined in <a href="" data-line="42" class="link-to-prism">src/lib/navigation/navigation.component.ts:42</a></div>
659
620
  </td>
660
621
  </tr>
661
622
 
@@ -682,7 +643,7 @@
682
643
  </tr>
683
644
  <tr>
684
645
  <td class="col-md-4">
685
- <div class="io-line">Defined in <a href="" data-line="56" class="link-to-prism">src/lib/navigation/navigation.component.ts:56</a></div>
646
+ <div class="io-line">Defined in <a href="" data-line="48" class="link-to-prism">src/lib/navigation/navigation.component.ts:48</a></div>
686
647
  </td>
687
648
  </tr>
688
649
 
@@ -708,7 +669,7 @@
708
669
  </tr>
709
670
  <tr>
710
671
  <td class="col-md-4">
711
- <div class="io-line">Defined in <a href="" data-line="52" class="link-to-prism">src/lib/navigation/navigation.component.ts:52</a></div>
672
+ <div class="io-line">Defined in <a href="" data-line="44" class="link-to-prism">src/lib/navigation/navigation.component.ts:44</a></div>
712
673
  </td>
713
674
  </tr>
714
675
 
@@ -722,6 +683,7 @@
722
683
  <a name="navigationItems"></a>
723
684
  <span class="name">
724
685
  <span class="modifier">Public</span>
686
+ <span class="modifier">Readonly</span>
725
687
  <span ><b>navigationItems</b></span>
726
688
  <a href="#navigationItems"><span class="icon ion-ios-link"></span></a>
727
689
  </span>
@@ -729,12 +691,12 @@
729
691
  </tr>
730
692
  <tr>
731
693
  <td class="col-md-4">
732
- <i>Default value : </i><code>computed(() &#x3D;&gt; this.items() ?? [])</code>
694
+ <i>Default value : </i><code>computed(() &#x3D;&gt; this.root() ? this.rootItems() : (this.items() ?? []))</code>
733
695
  </td>
734
696
  </tr>
735
697
  <tr>
736
698
  <td class="col-md-4">
737
- <div class="io-line">Defined in <a href="" data-line="60" class="link-to-prism">src/lib/navigation/navigation.component.ts:60</a></div>
699
+ <div class="io-line">Defined in <a href="" data-line="64" class="link-to-prism">src/lib/navigation/navigation.component.ts:64</a></div>
738
700
  </td>
739
701
  </tr>
740
702
 
@@ -761,7 +723,7 @@
761
723
  </tr>
762
724
  <tr>
763
725
  <td class="col-md-4">
764
- <div class="io-line">Defined in <a href="" data-line="54" class="link-to-prism">src/lib/navigation/navigation.component.ts:54</a></div>
726
+ <div class="io-line">Defined in <a href="" data-line="46" class="link-to-prism">src/lib/navigation/navigation.component.ts:46</a></div>
765
727
  </td>
766
728
  </tr>
767
729
 
@@ -788,7 +750,7 @@
788
750
  </tr>
789
751
  <tr>
790
752
  <td class="col-md-4">
791
- <div class="io-line">Defined in <a href="" data-line="62" class="link-to-prism">src/lib/navigation/navigation.component.ts:62</a></div>
753
+ <div class="io-line">Defined in <a href="" data-line="52" class="link-to-prism">src/lib/navigation/navigation.component.ts:52</a></div>
792
754
  </td>
793
755
  </tr>
794
756
 
@@ -801,24 +763,18 @@
801
763
 
802
764
 
803
765
  <div class="tab-pane fade tab-source-code" id="source">
804
- <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
805
- AsyncPipe,
806
- NgFor,
807
- NgIf,
808
- } from &#x27;@angular/common&#x27;;
766
+ <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { AsyncPipe } from &#x27;@angular/common&#x27;;
809
767
  import {
810
768
  ChangeDetectionStrategy,
811
769
  Component,
812
770
  computed,
813
771
  forwardRef,
814
772
  inject,
815
- INJECTOR,
816
773
  input,
817
- OnInit,
818
- runInInjectionContext,
819
774
  ViewEncapsulation,
820
775
  } from &#x27;@angular/core&#x27;;
821
- import { toSignal } from &#x27;@angular/core/rxjs-interop&#x27;;
776
+ import { toObservable, toSignal } from &#x27;@angular/core/rxjs-interop&#x27;;
777
+ import { EMPTY, switchMap } from &#x27;rxjs&#x27;;
822
778
  import { MatDividerModule } from &#x27;@angular/material/divider&#x27;;
823
779
  import { LayoutService } from &#x27;../layout.service&#x27;;
824
780
  import { NavigationService } from &#x27;../navigation.service&#x27;;
@@ -841,14 +797,12 @@ import { NavigationItemComponent } from &#x27;./navigation-item/navigation-item.
841
797
  class: &#x27;list-none dark:text-neutral-400 text-neutral-700&#x27;,
842
798
  },
843
799
  imports: [
844
- NgFor,
845
- NgIf,
846
- MatDividerModule,
847
- forwardRef(() &#x3D;&gt; NavigationItemComponent),
848
- AsyncPipe,
849
- ]
800
+ MatDividerModule,
801
+ forwardRef(() &#x3D;&gt; NavigationItemComponent),
802
+ AsyncPipe
803
+ ]
850
804
  })
851
- export class NavigationComponent implements OnInit {
805
+ export class NavigationComponent {
852
806
 
853
807
  public items &#x3D; input&lt;Navigation&gt;();
854
808
 
@@ -860,19 +814,20 @@ export class NavigationComponent implements OnInit {
860
814
 
861
815
  public readonly collapsed &#x3D; computed(() &#x3D;&gt; this.layoutService.collapsed());
862
816
 
863
- public navigationItems &#x3D; computed(() &#x3D;&gt; this.items() ?? []);
864
-
865
817
  public readonly root &#x3D; input(false);
866
818
 
867
- protected readonly injector &#x3D; inject(INJECTOR);
819
+ /**
820
+ * the navigation items of the configured navigation. Only subscribed if the component is the root navigation
821
+ */
822
+ private readonly rootItems &#x3D; toSignal(
823
+ toObservable(this.root).pipe(
824
+ switchMap(root &#x3D;&gt; root ? this.navigationService.config$ : EMPTY),
825
+ ),
826
+ { initialValue: [] as Navigation },
827
+ );
828
+
829
+ public readonly navigationItems &#x3D; computed(() &#x3D;&gt; this.root() ? this.rootItems() : (this.items() ?? []));
868
830
 
869
- public ngOnInit(): void {
870
- if (this.root()) {
871
- runInInjectionContext(this.injector, () &#x3D;&gt; {
872
- this.navigationItems &#x3D; toSignal(this.navigationService.config$, { initialValue: [] });
873
- });
874
- }
875
- }
876
831
  // region type save item property
877
832
 
878
833
  // required to check the type of the item property in the ngFor loop
@@ -908,13 +863,15 @@ export class NavigationComponent implements OnInit {
908
863
 
909
864
  @if (isNavigationDividerItem(item)) {
910
865
  &lt;mat-divider&gt;&lt;/mat-divider&gt;
911
- &lt;div *ngIf&#x3D;&quot;!collapsed() &amp;&amp; item.title&quot; class&#x3D;&quot;pl-5 h-6&quot;&gt;
912
- {{item.title}}
913
- &lt;/div&gt;
866
+ @if (!collapsed() &amp;&amp; item.title) {
867
+ &lt;div class&#x3D;&quot;pl-5 h-6&quot;&gt;
868
+ {{item.title}}
869
+ &lt;/div&gt;
870
+ }
914
871
  } @else if (isNavigationItem(item)) {
915
872
  &lt;li [item]&#x3D;&quot;asNavigationItem(item)&quot;
916
- [level]&#x3D;&quot;level()&quot;
917
- rxap-navigation-item&gt;
873
+ [level]&#x3D;&quot;level()&quot;
874
+ rxap-navigation-item&gt;
918
875
  &lt;/li&gt;
919
876
  }
920
877
 
@@ -954,7 +911,7 @@ export class NavigationComponent implements OnInit {
954
911
  <script src="../js/libs/htmlparser.js"></script>
955
912
  <script src="../js/libs/deep-iterator.js"></script>
956
913
  <script>
957
- var COMPONENT_TEMPLATE = '<div>@for (item of navigationItems(); track item) { @if (isNavigationDividerItem(item)) { <mat-divider></mat-divider> <div *ngIf="!collapsed() && item.title" class="pl-5 h-6"> {{item.title}} </div> } @else if (isNavigationItem(item)) { <li [item]="asNavigationItem(item)" [level]="level()" rxap-navigation-item> </li> }}</div>'
914
+ var COMPONENT_TEMPLATE = '<div>@for (item of navigationItems(); track item) { @if (isNavigationDividerItem(item)) { <mat-divider></mat-divider> @if (!collapsed() && item.title) { <div class="pl-5 h-6"> {{item.title}} </div> } } @else if (isNavigationItem(item)) { <li [item]="asNavigationItem(item)" [level]="level()" rxap-navigation-item> </li> }}</div>'
958
915
  var COMPONENTS = [{'name': 'AppsButtonComponent', 'selector': 'rxap-apps-button'},{'name': 'BaseLayoutComponent', 'selector': 'rxap-base-layout'},{'name': 'DefaultHeaderComponent', 'selector': 'rxap-default-header'},{'name': 'FooterComponent', 'selector': 'rxap-footer'},{'name': 'HeaderComponent', 'selector': 'rxap-header'},{'name': 'LayoutComponent', 'selector': 'rxap-layout'},{'name': 'MinimalLayoutComponent', 'selector': 'rxap-minimal-layout'},{'name': 'NavigationComponent', 'selector': 'ul[rxap-navigation]'},{'name': 'NavigationItemComponent', 'selector': 'li[rxap-navigation-item]'},{'name': 'NavigationProgressBarComponent', 'selector': 'rxap-navigation-progress-bar'},{'name': 'ReleaseInfoComponent', 'selector': 'rxap-release-info'},{'name': 'SettingsButtonComponent', 'selector': 'rxap-settings-button'},{'name': 'SidenavComponent', 'selector': 'rxap-sidenav'},{'name': 'SidenavToggleButtonComponent', 'selector': 'rxap-sidenav-toggle-button'},{'name': 'UserProfileIconComponent', 'selector': 'rxap-user-profile-icon'}];
959
916
  var DIRECTIVES = [{'name': 'FooterDirective', 'selector': '[rxapFooter]'},{'name': 'HeaderDirective', 'selector': '[rxapHeader]'},{'name': 'SidenavFooterDirective', 'selector': '[rxapSidenavFooter]'},{'name': 'SidenavHeaderDirective', 'selector': '[rxapSidenavHeader]'}];
960
917
  var ACTUAL_COMPONENT = {'name': 'NavigationComponent'};