@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
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
- import { TemplateRef, Directive, Inject, InjectionToken, inject, signal, computed, isDevMode, Injectable, effect, Optional, INJECTOR, input, ElementRef, Renderer2, Component, ChangeDetectionStrategy, ViewEncapsulation, forwardRef, runInInjectionContext, viewChild, contentChild, ViewContainerRef, Injector, LOCALE_ID } from '@angular/core';
3
- import { NgClass, NgIf, NgFor, AsyncPipe, NgStyle, NgTemplateOutlet, NgOptimizedImage } from '@angular/common';
2
+ import { inject, TemplateRef, Directive, InjectionToken, signal, computed, isDevMode, Injectable, effect, INJECTOR, input, ViewEncapsulation, ChangeDetectionStrategy, Component, forwardRef, viewChild, contentChild, ViewContainerRef, Injector, runInInjectionContext, LOCALE_ID } from '@angular/core';
3
+ import { NgClass, AsyncPipe, NgStyle, NgTemplateOutlet, NgOptimizedImage } from '@angular/common';
4
4
  import { MatIconButton, MatButton, MatButtonModule, MatAnchor } from '@angular/material/button';
5
5
  import * as i3 from '@angular/material/divider';
6
6
  import { MatDividerModule, MatDivider } from '@angular/material/divider';
@@ -8,15 +8,15 @@ import * as i2 from '@angular/material/icon';
8
8
  import { MatIconModule, MatIcon } from '@angular/material/icon';
9
9
  import { MatSidenav, MatSidenavContainer, MatSidenavContent, MatSidenavModule } from '@angular/material/sidenav';
10
10
  import { MediaMatcher } from '@angular/cdk/layout';
11
- import { toSignal } from '@angular/core/rxjs-interop';
11
+ import { toSignal, toObservable } from '@angular/core/rxjs-interop';
12
12
  import { ConfigService } from '@rxap/config';
13
13
  import { ObserveCurrentThemeDensity, ThemeService } from '@rxap/ngx-theme';
14
- import { Observable, ReplaySubject, of, from, combineLatest, Subscription, debounceTime } from 'rxjs';
14
+ import { Observable, ReplaySubject, of, from, combineLatest, debounceTime, switchMap as switchMap$1, EMPTY } from 'rxjs';
15
15
  import * as i2$1 from '@angular/cdk/portal';
16
16
  import { ComponentPortal, PortalModule, CdkPortalOutlet, TemplatePortal } from '@angular/cdk/portal';
17
17
  import { staticDataSource } from '@rxap/data-source';
18
18
  import { coerceArray, IsFunction, clone, JoinPath } from '@rxap/utilities';
19
- import { switchMap, map, catchError, filter, startWith, tap } from 'rxjs/operators';
19
+ import { switchMap, map, catchError, filter, startWith } from 'rxjs/operators';
20
20
  import { trigger, transition, style, animate } from '@angular/animations';
21
21
  import * as i1 from '@angular/material/core';
22
22
  import { MatRippleModule } from '@angular/material/core';
@@ -30,44 +30,36 @@ import { MatToolbarModule, MatToolbar, MatToolbarRow } from '@angular/material/t
30
30
  import * as i1$2 from '@angular/material/menu';
31
31
  import { MatMenuModule, MatMenu, MatMenuTrigger, MatMenuItem } from '@angular/material/menu';
32
32
  import { PubSubService, RXAP_TOPICS } from '@rxap/ngx-pub-sub';
33
+ import { __decorate } from 'tslib';
33
34
  import { ClickOnLink } from '@rxap/browser-utilities';
34
-
35
35
  class SidenavFooterDirective {
36
- constructor(template) {
37
- this.template = template;
36
+ constructor() {
37
+ this.template = inject(TemplateRef);
38
38
  }
39
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SidenavFooterDirective, deps: [{ token: TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
40
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.16", type: SidenavFooterDirective, isStandalone: true, selector: "[rxapSidenavFooter]", ngImport: i0 }); }
39
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: SidenavFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
40
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: SidenavFooterDirective, isStandalone: true, selector: "[rxapSidenavFooter]", ngImport: i0 }); }
41
41
  }
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SidenavFooterDirective, decorators: [{
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: SidenavFooterDirective, decorators: [{
43
43
  type: Directive,
44
44
  args: [{
45
45
  selector: '[rxapSidenavFooter]',
46
46
  standalone: true,
47
47
  }]
48
- }], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
49
- type: Inject,
50
- args: [TemplateRef]
51
- }] }] });
52
-
48
+ }] });
53
49
  class SidenavHeaderDirective {
54
- constructor(template) {
55
- this.template = template;
50
+ constructor() {
51
+ this.template = inject(TemplateRef);
56
52
  }
57
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SidenavHeaderDirective, deps: [{ token: TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
58
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.16", type: SidenavHeaderDirective, isStandalone: true, selector: "[rxapSidenavHeader]", ngImport: i0 }); }
53
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: SidenavHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
54
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: SidenavHeaderDirective, isStandalone: true, selector: "[rxapSidenavHeader]", ngImport: i0 }); }
59
55
  }
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SidenavHeaderDirective, decorators: [{
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: SidenavHeaderDirective, decorators: [{
61
57
  type: Directive,
62
58
  args: [{
63
59
  selector: '[rxapSidenavHeader]',
64
60
  standalone: true,
65
61
  }]
66
- }], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
67
- type: Inject,
68
- args: [TemplateRef]
69
- }] }] });
70
-
62
+ }] });
71
63
  const RXAP_NAVIGATION_CONFIG = new InjectionToken('rxap/layout/navigation-config');
72
64
  const RXAP_NAVIGATION_CONFIG_INSERTS = new InjectionToken('rxap/layout/navigation-config-inserts');
73
65
  const RXAP_FOOTER_COMPONENT = new InjectionToken('rxap/layout/footer-component');
@@ -90,20 +82,19 @@ const RXAP_DEFAULT_HEADER_ITEM_COMPONENT = new InjectionToken('rxap/layout/defau
90
82
  const RXAP_SETTINGS_MENU_ITEM = new InjectionToken('rxap/layout/settings-menu-item');
91
83
  const RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS = new InjectionToken('rxap/layout/navigation-config/defaults');
92
84
  const RXAP_LOGO_CONFIG_DEFAULTS = new InjectionToken('rxap/layout/logo-config/defaults');
93
-
94
85
  class FooterService {
95
86
  constructor() {
96
87
  this.components = coerceArray(inject(RXAP_FOOTER_COMPONENT, { optional: true }));
97
88
  /**
98
89
  * Represents an array of `Portal` objects with unknown type.
99
90
  */
100
- this.portals = signal(this.components.map(component => new ComponentPortal(component)));
91
+ this.portals = signal(this.components.map(component => new ComponentPortal(component)), ...(ngDevMode ? [{ debugName: "portals" }] : /* istanbul ignore next */ []));
101
92
  /**
102
93
  * Computes the count of portals.
103
94
  *
104
95
  * @returns {number} The count of portals.
105
96
  */
106
- this.portalCount = computed(() => this.portals().length);
97
+ this.portalCount = computed(() => this.portals().length, ...(ngDevMode ? [{ debugName: "portalCount" }] : /* istanbul ignore next */ []));
107
98
  }
108
99
  /**
109
100
  * Adds a portal to the list of portals.
@@ -137,13 +128,12 @@ class FooterService {
137
128
  });
138
129
  }
139
130
  }
140
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: FooterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
141
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: FooterService }); }
131
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: FooterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
132
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: FooterService }); }
142
133
  }
143
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: FooterService, decorators: [{
134
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: FooterService, decorators: [{
144
135
  type: Injectable
145
136
  }] });
146
-
147
137
  class HeaderService {
148
138
  constructor() {
149
139
  this.components = coerceArray(inject(RXAP_HEADER_COMPONENT, { optional: true }));
@@ -152,13 +142,13 @@ class HeaderService {
152
142
  *
153
143
  * @typedef {Array<Portal<unknown>>} SignalPortals
154
144
  */
155
- this.portals = signal(this.components.map(component => new ComponentPortal(component)));
145
+ this.portals = signal(this.components.map(component => new ComponentPortal(component)), ...(ngDevMode ? [{ debugName: "portals" }] : /* istanbul ignore next */ []));
156
146
  /**
157
147
  * Computes the count of portals.
158
148
  *
159
149
  * @returns {number} The count of portals.
160
150
  */
161
- this.portalCount = computed(() => this.portals().length);
151
+ this.portalCount = computed(() => this.portals().length, ...(ngDevMode ? [{ debugName: "portalCount" }] : /* istanbul ignore next */ []));
162
152
  }
163
153
  /**
164
154
  * Adds a portal to the list of portals.
@@ -192,20 +182,20 @@ class HeaderService {
192
182
  });
193
183
  }
194
184
  }
195
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: HeaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
196
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: HeaderService }); }
185
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: HeaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
186
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: HeaderService }); }
197
187
  }
198
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: HeaderService, decorators: [{
188
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: HeaderService, decorators: [{
199
189
  type: Injectable
200
190
  }] });
201
-
202
191
  class LayoutService {
203
- constructor(navigationConfigDefaults = null) {
192
+ constructor() {
204
193
  this.currentThemeDensity = toSignal(ObserveCurrentThemeDensity());
205
194
  this.footerService = inject(FooterService);
206
195
  this.headerService = inject(HeaderService);
207
196
  this.config = inject(ConfigService);
208
197
  this.mediaMatcher = inject(MediaMatcher);
198
+ const navigationConfigDefaults = inject(RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS, { optional: true }) ?? null;
209
199
  const mobileQuery = this.mediaMatcher.matchMedia(navigationConfigDefaults?.mobileQuery ?? '(max-width: 959px)');
210
200
  this.isMobile = toSignal(new Observable(subscriber => {
211
201
  mobileQuery.addEventListener('change', (event) => {
@@ -228,22 +218,22 @@ class LayoutService {
228
218
  fixedInViewport,
229
219
  });
230
220
  }
231
- this.opened = signal(opened);
232
- this.mode = signal(mode);
233
- this.pinned = signal(pinned);
234
- this.collapsable = signal(collapsable);
235
- this.fixedInViewport = signal(fixedInViewport);
236
- this.collapsed = computed(() => this.collapsable() && !this.opened() && !this.pinned());
221
+ this.opened = signal(opened, ...(ngDevMode ? [{ debugName: "opened" }] : /* istanbul ignore next */ []));
222
+ this.mode = signal(mode, ...(ngDevMode ? [{ debugName: "mode" }] : /* istanbul ignore next */ []));
223
+ this.pinned = signal(pinned, ...(ngDevMode ? [{ debugName: "pinned" }] : /* istanbul ignore next */ []));
224
+ this.collapsable = signal(collapsable, ...(ngDevMode ? [{ debugName: "collapsable" }] : /* istanbul ignore next */ []));
225
+ this.fixedInViewport = signal(fixedInViewport, ...(ngDevMode ? [{ debugName: "fixedInViewport" }] : /* istanbul ignore next */ []));
226
+ this.collapsed = computed(() => this.collapsable() && !this.opened() && !this.pinned(), ...(ngDevMode ? [{ debugName: "collapsed" }] : /* istanbul ignore next */ []));
237
227
  this.fixedBottomGap = computed(() => {
238
228
  const footerPortalCount = this.footerService.portalCount();
239
229
  const currentThemeDensity = this.currentThemeDensity() ?? 0;
240
230
  return footerPortalCount * (currentThemeDensity * 4 + 64);
241
- });
231
+ }, ...(ngDevMode ? [{ debugName: "fixedBottomGap" }] : /* istanbul ignore next */ []));
242
232
  this.fixedTopGap = computed(() => {
243
233
  const headerPortalCount = this.headerService.portalCount();
244
234
  const currentThemeDensity = this.currentThemeDensity() ?? 0;
245
235
  return headerPortalCount * (currentThemeDensity * 4 + 64);
246
- });
236
+ }, ...(ngDevMode ? [{ debugName: "fixedTopGap" }] : /* istanbul ignore next */ []));
247
237
  if (initialCollapsable) {
248
238
  effect(() => {
249
239
  const isMobile = this.isMobile();
@@ -276,18 +266,12 @@ class LayoutService {
276
266
  closeSidenav() {
277
267
  this.opened.set(false);
278
268
  }
279
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LayoutService, deps: [{ token: RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
280
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LayoutService }); }
269
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: LayoutService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
270
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: LayoutService }); }
281
271
  }
282
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LayoutService, decorators: [{
272
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: LayoutService, decorators: [{
283
273
  type: Injectable
284
- }], ctorParameters: () => [{ type: undefined, decorators: [{
285
- type: Inject,
286
- args: [RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS]
287
- }, {
288
- type: Optional
289
- }] }] });
290
-
274
+ }], ctorParameters: () => [] });
291
275
  function IsNavigationDividerItem(item) {
292
276
  return !!item && !!item['divider'];
293
277
  }
@@ -297,12 +281,13 @@ function IsNavigationInsertItem(item) {
297
281
  function IsNavigationItem(item) {
298
282
  return (!!item && !!item['routerLink'] && !!item['label']);
299
283
  }
300
-
301
284
  class NavigationService {
302
- constructor(navigation, inserts = null) {
285
+ constructor() {
303
286
  this.inserts = new Map();
304
287
  this.navigation$ = new ReplaySubject(1);
305
288
  this.injector = inject(INJECTOR);
289
+ const navigation = inject(RXAP_NAVIGATION_CONFIG);
290
+ const inserts = inject(RXAP_NAVIGATION_CONFIG_INSERTS, { optional: true }) ?? null;
306
291
  if (typeof navigation === 'function') {
307
292
  this.navigation = navigation();
308
293
  }
@@ -427,58 +412,36 @@ class NavigationService {
427
412
  }
428
413
  return navigation;
429
414
  }
430
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: NavigationService, deps: [{ token: RXAP_NAVIGATION_CONFIG }, { token: RXAP_NAVIGATION_CONFIG_INSERTS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
431
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: NavigationService }); }
415
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NavigationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
416
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NavigationService }); }
432
417
  }
433
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: NavigationService, decorators: [{
418
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NavigationService, decorators: [{
434
419
  type: Injectable
435
- }], ctorParameters: () => [{ type: undefined, decorators: [{
436
- type: Inject,
437
- args: [RXAP_NAVIGATION_CONFIG]
438
- }] }, { type: undefined, decorators: [{
439
- type: Optional
440
- }, {
441
- type: Inject,
442
- args: [RXAP_NAVIGATION_CONFIG_INSERTS]
443
- }] }] });
444
-
420
+ }], ctorParameters: () => [] });
445
421
  class NavigationItemComponent {
446
422
  constructor() {
447
- this.level = input(0);
448
- this.children = null;
449
- this.item = input.required();
450
- this.active = signal(false);
423
+ this.level = input(0, ...(ngDevMode ? [{ debugName: "level" }] : /* istanbul ignore next */ []));
424
+ this.children = computed(() => {
425
+ const item = this.item();
426
+ return item.children && item.children.length ? item.children : null;
427
+ }, ...(ngDevMode ? [{ debugName: "children" }] : /* istanbul ignore next */ []));
428
+ this.item = input.required(...(ngDevMode ? [{ debugName: "item" }] : /* istanbul ignore next */ []));
451
429
  this.itemClasses = computed(() => {
452
430
  let classes = `level-${this.level() * 4}`;
453
431
  if (this.collapsed()) {
454
432
  classes += ' invisible';
455
433
  }
456
434
  return classes;
457
- });
435
+ }, ...(ngDevMode ? [{ debugName: "itemClasses" }] : /* istanbul ignore next */ []));
458
436
  this.layoutService = inject(LayoutService);
459
- this.collapsed = computed(() => this.layoutService.collapsed());
460
- this._subscription = new Subscription();
437
+ this.collapsed = computed(() => this.layoutService.collapsed(), ...(ngDevMode ? [{ debugName: "collapsed" }] : /* istanbul ignore next */ []));
461
438
  this.router = inject(Router);
462
- this.elementRef = inject(ElementRef);
463
- this.renderer = inject(Renderer2);
464
- }
465
- onClick() {
466
- if (this.layoutService.isMobile() || this.layoutService.collapsed()) {
467
- this.layoutService.opened.set(false);
468
- }
469
- }
470
- ngOnChanges(changes) {
471
- if (changes['item']) {
472
- const item = changes['item'].currentValue;
473
- this.children =
474
- item.children && item.children.length ? item.children : null;
475
- }
476
- }
477
- ngAfterViewInit() {
478
- this._subscription.add(this.router.events
479
- .pipe(filter((event) => event instanceof NavigationEnd), debounceTime(100), startWith(true), tap(() => {
480
- let isActive = true;
481
- const urlParts = this.router.url.split('/');
439
+ /**
440
+ * The current router url. Updated (debounced) after each navigation.
441
+ */
442
+ this.currentUrl = toSignal(this.router.events.pipe(filter((event) => event instanceof NavigationEnd), debounceTime(100), startWith(true), map(() => this.router.url)), { initialValue: this.router.url });
443
+ this.active = computed(() => {
444
+ const urlParts = this.currentUrl().split('/');
482
445
  if (urlParts[0] === '') {
483
446
  urlParts[0] = '/';
484
447
  }
@@ -488,22 +451,16 @@ class NavigationItemComponent {
488
451
  }
489
452
  for (let i = 0; i < routerLink.length; i++) {
490
453
  if (urlParts[i] !== routerLink[i]) {
491
- isActive = false;
492
- break;
454
+ return false;
493
455
  }
494
456
  }
495
- this.active.set(isActive);
496
- if (isActive) {
497
- this.renderer.addClass(this.elementRef.nativeElement, 'active');
498
- }
499
- else {
500
- this.renderer.removeClass(this.elementRef.nativeElement, 'active');
501
- }
502
- }))
503
- .subscribe());
457
+ return true;
458
+ }, ...(ngDevMode ? [{ debugName: "active" }] : /* istanbul ignore next */ []));
504
459
  }
505
- ngOnDestroy() {
506
- this._subscription?.unsubscribe();
460
+ onClick() {
461
+ if (this.layoutService.isMobile() || this.layoutService.collapsed()) {
462
+ this.layoutService.opened.set(false);
463
+ }
507
464
  }
508
465
  // region type save item property
509
466
  // required to check the type of the item property in the ngFor loop
@@ -519,26 +476,28 @@ class NavigationItemComponent {
519
476
  }
520
477
  return item;
521
478
  }
522
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: NavigationItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
523
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.16", type: NavigationItemComponent, isStandalone: true, selector: "li[rxap-navigation-item]", inputs: { level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, item: { classPropertyName: "item", publicName: "item", isSignal: true, isRequired: true, transformFunction: null } }, usesOnChanges: true, ngImport: i0, template: "<div [ngClass]=\"{\n 'border-l-4 text-accent-400 border-accent-600': active(),\n }\">\n <a [routerLink]=\"item().routerLink\"\n class=\"h-12 pl-4 pr-5 flex flex-row justify-between items-center gap-x-4 text-black\"\n matRipple\n routerLinkActive\n (click)=\"onClick()\"\n >\n <span\n [ngClass]=\"itemClasses()\"\n class=\"grow whitespace-nowrap\"\n >\n {{ item().label }}\n </span>\n @if (item().icon; as icon) {\n <mat-icon [rxapIcon]=\"icon\"></mat-icon>\n }\n </a>\n\n @if (item().children?.length && active()) {\n <mat-divider></mat-divider>\n\n <ul [@sub-nav]\n [items]=\"children ?? []\"\n [level]=\"level() + 1\"\n rxap-navigation\n >\n </ul>\n\n <mat-divider></mat-divider>\n }\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i0.forwardRef(() => RouterLinkActive), selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: i0.forwardRef(() => RouterLink), selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: i0.forwardRef(() => MatRippleModule) }, { kind: "directive", type: i0.forwardRef(() => i1.MatRipple), selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "ngmodule", type: i0.forwardRef(() => MatIconModule) }, { kind: "component", type: i0.forwardRef(() => i2.MatIcon), selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i0.forwardRef(() => IconDirective), selector: "mat-icon[rxapIcon]", inputs: ["rxapIcon"] }, { kind: "ngmodule", type: i0.forwardRef(() => MatDividerModule) }, { kind: "component", type: i0.forwardRef(() => i3.MatDivider), selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: i0.forwardRef(() => NavigationComponent), selector: "ul[rxap-navigation]", inputs: ["items", "level", "root"] }, { kind: "directive", type: i0.forwardRef(() => NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [
524
- trigger('sub-nav', [
525
- transition(':enter', [
526
- style({
527
- display: 'block',
528
- height: '0',
529
- overflow: 'hidden',
530
- }),
531
- animate(150, style({ height: '*' })),
479
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NavigationItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
480
+ static {
481
+ this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: NavigationItemComponent, isStandalone: true, selector: "li[rxap-navigation-item]", inputs: { level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, item: { classPropertyName: "item", publicName: "item", isSignal: true, isRequired: true, transformFunction: null } }, host: { properties: { "class.active": "active()" } }, ngImport: i0, template: "<div [ngClass]=\"{\n 'border-l-4 text-accent-400 border-accent-600': active(),\n }\">\n <a [routerLink]=\"item().routerLink\"\n class=\"h-12 pl-4 pr-5 flex flex-row justify-between items-center gap-x-4 text-black\"\n matRipple\n routerLinkActive\n (click)=\"onClick()\"\n >\n <span\n [ngClass]=\"itemClasses()\"\n class=\"grow whitespace-nowrap\"\n >\n {{ item().label }}\n </span>\n @if (item().icon; as icon) {\n <mat-icon [rxapIcon]=\"icon\"></mat-icon>\n }\n </a>\n\n @if (item().children?.length && active()) {\n <mat-divider></mat-divider>\n\n <ul [@sub-nav]\n [items]=\"children() ?? []\"\n [level]=\"level() + 1\"\n rxap-navigation\n >\n </ul>\n\n <mat-divider></mat-divider>\n }\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i0.forwardRef(() => RouterLinkActive), selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: i0.forwardRef(() => RouterLink), selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: i0.forwardRef(() => MatRippleModule) }, { kind: "directive", type: i0.forwardRef(() => i1.MatRipple), selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "ngmodule", type: i0.forwardRef(() => MatIconModule) }, { kind: "component", type: i0.forwardRef(() => i2.MatIcon), selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i0.forwardRef(() => IconDirective), selector: "mat-icon[rxapIcon]", inputs: ["rxapIcon"] }, { kind: "ngmodule", type: i0.forwardRef(() => MatDividerModule) }, { kind: "component", type: i0.forwardRef(() => i3.MatDivider), selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: i0.forwardRef(() => NavigationComponent), selector: "ul[rxap-navigation]", inputs: ["items", "level", "root"] }, { kind: "directive", type: i0.forwardRef(() => NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [
482
+ trigger('sub-nav', [
483
+ transition(':enter', [
484
+ style({
485
+ display: 'block',
486
+ height: '0',
487
+ overflow: 'hidden',
488
+ }),
489
+ animate(150, style({ height: '*' })),
490
+ ]),
491
+ transition(':leave', [
492
+ style({ overflow: 'hidden' }),
493
+ animate(300, style({ height: '0' })),
494
+ style({ display: 'none' }),
495
+ ]),
532
496
  ]),
533
- transition(':leave', [
534
- style({ overflow: 'hidden' }),
535
- animate(300, style({ height: '0' })),
536
- style({ display: 'none' }),
537
- ]),
538
- ]),
539
- ], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
497
+ ], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
498
+ }
540
499
  }
541
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: NavigationItemComponent, decorators: [{
500
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NavigationItemComponent, decorators: [{
542
501
  type: Component,
543
502
  args: [{ selector: 'li[rxap-navigation-item]', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, animations: [
544
503
  trigger('sub-nav', [
@@ -556,36 +515,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
556
515
  style({ display: 'none' }),
557
516
  ]),
558
517
  ]),
559
- ], imports: [
518
+ ], host: {
519
+ '[class.active]': 'active()',
520
+ }, imports: [
560
521
  RouterLinkActive,
561
522
  RouterLink,
562
- NgIf,
563
523
  MatRippleModule,
564
524
  MatIconModule,
565
525
  IconDirective,
566
526
  MatDividerModule,
567
527
  forwardRef(() => NavigationComponent),
568
- NgClass,
569
- ], template: "<div [ngClass]=\"{\n 'border-l-4 text-accent-400 border-accent-600': active(),\n }\">\n <a [routerLink]=\"item().routerLink\"\n class=\"h-12 pl-4 pr-5 flex flex-row justify-between items-center gap-x-4 text-black\"\n matRipple\n routerLinkActive\n (click)=\"onClick()\"\n >\n <span\n [ngClass]=\"itemClasses()\"\n class=\"grow whitespace-nowrap\"\n >\n {{ item().label }}\n </span>\n @if (item().icon; as icon) {\n <mat-icon [rxapIcon]=\"icon\"></mat-icon>\n }\n </a>\n\n @if (item().children?.length && active()) {\n <mat-divider></mat-divider>\n\n <ul [@sub-nav]\n [items]=\"children ?? []\"\n [level]=\"level() + 1\"\n rxap-navigation\n >\n </ul>\n\n <mat-divider></mat-divider>\n }\n</div>\n" }]
570
- }] });
571
-
528
+ NgClass
529
+ ], template: "<div [ngClass]=\"{\n 'border-l-4 text-accent-400 border-accent-600': active(),\n }\">\n <a [routerLink]=\"item().routerLink\"\n class=\"h-12 pl-4 pr-5 flex flex-row justify-between items-center gap-x-4 text-black\"\n matRipple\n routerLinkActive\n (click)=\"onClick()\"\n >\n <span\n [ngClass]=\"itemClasses()\"\n class=\"grow whitespace-nowrap\"\n >\n {{ item().label }}\n </span>\n @if (item().icon; as icon) {\n <mat-icon [rxapIcon]=\"icon\"></mat-icon>\n }\n </a>\n\n @if (item().children?.length && active()) {\n <mat-divider></mat-divider>\n\n <ul [@sub-nav]\n [items]=\"children() ?? []\"\n [level]=\"level() + 1\"\n rxap-navigation\n >\n </ul>\n\n <mat-divider></mat-divider>\n }\n</div>\n" }]
530
+ }], propDecorators: { level: [{ type: i0.Input, args: [{ isSignal: true, alias: "level", required: false }] }], item: [{ type: i0.Input, args: [{ isSignal: true, alias: "item", required: true }] }] } });
572
531
  class NavigationComponent {
573
532
  constructor() {
574
- this.items = input();
575
- this.level = input(0);
533
+ this.items = input(...(ngDevMode ? [undefined, { debugName: "items" }] : /* istanbul ignore next */ []));
534
+ this.level = input(0, ...(ngDevMode ? [{ debugName: "level" }] : /* istanbul ignore next */ []));
576
535
  this.navigationService = inject(NavigationService);
577
536
  this.layoutService = inject(LayoutService);
578
- this.collapsed = computed(() => this.layoutService.collapsed());
579
- this.navigationItems = computed(() => this.items() ?? []);
580
- this.root = input(false);
581
- this.injector = inject(INJECTOR);
582
- }
583
- ngOnInit() {
584
- if (this.root()) {
585
- runInInjectionContext(this.injector, () => {
586
- this.navigationItems = toSignal(this.navigationService.config$, { initialValue: [] });
587
- });
588
- }
537
+ this.collapsed = computed(() => this.layoutService.collapsed(), ...(ngDevMode ? [{ debugName: "collapsed" }] : /* istanbul ignore next */ []));
538
+ this.root = input(false, ...(ngDevMode ? [{ debugName: "root" }] : /* istanbul ignore next */ []));
539
+ /**
540
+ * the navigation items of the configured navigation. Only subscribed if the component is the root navigation
541
+ */
542
+ this.rootItems = toSignal(toObservable(this.root).pipe(switchMap$1(root => root ? this.navigationService.config$ : EMPTY)), { initialValue: [] });
543
+ this.navigationItems = computed(() => this.root() ? this.rootItems() : (this.items() ?? []), ...(ngDevMode ? [{ debugName: "navigationItems" }] : /* istanbul ignore next */ []));
589
544
  }
590
545
  // region type save item property
591
546
  // required to check the type of the item property in the ngFor loop
@@ -601,36 +556,33 @@ class NavigationComponent {
601
556
  }
602
557
  return item;
603
558
  }
604
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: NavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
605
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.16", type: NavigationComponent, isStandalone: true, selector: "ul[rxap-navigation]", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, root: { classPropertyName: "root", publicName: "root", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "list-none dark:text-neutral-400 text-neutral-700" }, ngImport: i0, template: "@for (item of navigationItems(); track item) {\n\n @if (isNavigationDividerItem(item)) {\n <mat-divider></mat-divider>\n <div *ngIf=\"!collapsed() && item.title\" class=\"pl-5 h-6\">\n {{item.title}}\n </div>\n } @else if (isNavigationItem(item)) {\n <li [item]=\"asNavigationItem(item)\"\n [level]=\"level()\"\n rxap-navigation-item>\n </li>\n }\n\n}\n", styles: [""], dependencies: [{ kind: "directive", type: i0.forwardRef(() => NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: i0.forwardRef(() => MatDividerModule) }, { kind: "component", type: i0.forwardRef(() => i3.MatDivider), selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: i0.forwardRef(() => NavigationItemComponent), selector: "li[rxap-navigation-item]", inputs: ["level", "item"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
559
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
560
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: NavigationComponent, isStandalone: true, selector: "ul[rxap-navigation]", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, root: { classPropertyName: "root", publicName: "root", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "list-none dark:text-neutral-400 text-neutral-700" }, ngImport: i0, template: "@for (item of navigationItems(); track item) {\n\n @if (isNavigationDividerItem(item)) {\n <mat-divider></mat-divider>\n @if (!collapsed() && item.title) {\n <div class=\"pl-5 h-6\">\n {{item.title}}\n </div>\n }\n } @else if (isNavigationItem(item)) {\n <li [item]=\"asNavigationItem(item)\"\n [level]=\"level()\"\n rxap-navigation-item>\n </li>\n }\n\n}\n", styles: [""], dependencies: [{ kind: "ngmodule", type: i0.forwardRef(() => MatDividerModule) }, { kind: "component", type: i0.forwardRef(() => i3.MatDivider), selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: i0.forwardRef(() => NavigationItemComponent), selector: "li[rxap-navigation-item]", inputs: ["level", "item"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
606
561
  }
607
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: NavigationComponent, decorators: [{
562
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NavigationComponent, decorators: [{
608
563
  type: Component,
609
564
  args: [{ selector: 'ul[rxap-navigation]', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
610
565
  class: 'list-none dark:text-neutral-400 text-neutral-700',
611
566
  }, imports: [
612
- NgFor,
613
- NgIf,
614
567
  MatDividerModule,
615
568
  forwardRef(() => NavigationItemComponent),
616
- AsyncPipe,
617
- ], template: "@for (item of navigationItems(); track item) {\n\n @if (isNavigationDividerItem(item)) {\n <mat-divider></mat-divider>\n <div *ngIf=\"!collapsed() && item.title\" class=\"pl-5 h-6\">\n {{item.title}}\n </div>\n } @else if (isNavigationItem(item)) {\n <li [item]=\"asNavigationItem(item)\"\n [level]=\"level()\"\n rxap-navigation-item>\n </li>\n }\n\n}\n" }]
618
- }] });
619
-
569
+ AsyncPipe
570
+ ], template: "@for (item of navigationItems(); track item) {\n\n @if (isNavigationDividerItem(item)) {\n <mat-divider></mat-divider>\n @if (!collapsed() && item.title) {\n <div class=\"pl-5 h-6\">\n {{item.title}}\n </div>\n }\n } @else if (isNavigationItem(item)) {\n <li [item]=\"asNavigationItem(item)\"\n [level]=\"level()\"\n rxap-navigation-item>\n </li>\n }\n\n}\n" }]
571
+ }], propDecorators: { items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], level: [{ type: i0.Input, args: [{ isSignal: true, alias: "level", required: false }] }], root: [{ type: i0.Input, args: [{ isSignal: true, alias: "root", required: false }] }] } });
620
572
  class SidenavComponent {
621
573
  constructor() {
622
574
  this.layoutService = inject(LayoutService);
623
- this.sidenav = viewChild(MatSidenav);
624
- this.sidenavMode = computed(() => this.layoutService.mode());
625
- this.fixedBottomGap = computed(() => this.layoutService.fixedBottomGap());
626
- this.fixedTopGap = computed(() => this.layoutService.fixedTopGap());
627
- this.fixedInViewport = computed(() => this.layoutService.fixedInViewport());
628
- this.pinned = computed(() => this.layoutService.pinned());
629
- this.collapsed = computed(() => this.layoutService.collapsed());
630
- this.collapsable = computed(() => this.layoutService.collapsable());
631
- this.opened = computed(() => this.layoutService.opened());
632
- this.sidenavFooterDirective = contentChild(SidenavFooterDirective);
633
- this.sidenavHeaderDirective = contentChild(SidenavHeaderDirective);
575
+ this.sidenav = viewChild(MatSidenav, ...(ngDevMode ? [{ debugName: "sidenav" }] : /* istanbul ignore next */ []));
576
+ this.sidenavMode = computed(() => this.layoutService.mode(), ...(ngDevMode ? [{ debugName: "sidenavMode" }] : /* istanbul ignore next */ []));
577
+ this.fixedBottomGap = computed(() => this.layoutService.fixedBottomGap(), ...(ngDevMode ? [{ debugName: "fixedBottomGap" }] : /* istanbul ignore next */ []));
578
+ this.fixedTopGap = computed(() => this.layoutService.fixedTopGap(), ...(ngDevMode ? [{ debugName: "fixedTopGap" }] : /* istanbul ignore next */ []));
579
+ this.fixedInViewport = computed(() => this.layoutService.fixedInViewport(), ...(ngDevMode ? [{ debugName: "fixedInViewport" }] : /* istanbul ignore next */ []));
580
+ this.pinned = computed(() => this.layoutService.pinned(), ...(ngDevMode ? [{ debugName: "pinned" }] : /* istanbul ignore next */ []));
581
+ this.collapsed = computed(() => this.layoutService.collapsed(), ...(ngDevMode ? [{ debugName: "collapsed" }] : /* istanbul ignore next */ []));
582
+ this.collapsable = computed(() => this.layoutService.collapsable(), ...(ngDevMode ? [{ debugName: "collapsable" }] : /* istanbul ignore next */ []));
583
+ this.opened = computed(() => this.layoutService.opened(), ...(ngDevMode ? [{ debugName: "opened" }] : /* istanbul ignore next */ []));
584
+ this.sidenavFooterDirective = contentChild(SidenavFooterDirective, ...(ngDevMode ? [{ debugName: "sidenavFooterDirective" }] : /* istanbul ignore next */ []));
585
+ this.sidenavHeaderDirective = contentChild(SidenavHeaderDirective, ...(ngDevMode ? [{ debugName: "sidenavHeaderDirective" }] : /* istanbul ignore next */ []));
634
586
  }
635
587
  togglePinned() {
636
588
  this.layoutService.togglePinned();
@@ -653,10 +605,10 @@ class SidenavComponent {
653
605
  await this.sidenav()?.close();
654
606
  this.layoutService.closeSidenav();
655
607
  }
656
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SidenavComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
657
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.16", type: SidenavComponent, isStandalone: true, selector: "rxap-sidenav", queries: [{ propertyName: "sidenavFooterDirective", first: true, predicate: SidenavFooterDirective, descendants: true, isSignal: true }, { propertyName: "sidenavHeaderDirective", first: true, predicate: SidenavHeaderDirective, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "sidenav", first: true, predicate: MatSidenav, descendants: true, isSignal: true }], ngImport: i0, template: "<mat-sidenav-container [ngStyle]=\"{\n 'padding-top.px': fixedTopGap(),\n 'padding-bottom.px': fixedBottomGap(),\n }\" class=\"h-full\">\n <mat-sidenav\n [fixedBottomGap]=\"fixedBottomGap()\"\n [fixedInViewport]=\"fixedInViewport()\"\n [fixedTopGap]=\"fixedTopGap()\"\n [mode]=\"sidenavMode()\"\n [ngClass]=\"{ collapsable: collapsable() }\"\n [opened]=\"opened()\"\n (openedChange)=\"onOpenedChanged($event)\"\n >\n <div (mouseleave)=\"collapsable() && !pinned() && closeSidenav()\"\n class=\"h-full py-2 flex flex-col items-center gap-y-5 justify-items-stretch\">\n\n <div (click)=\"togglePinned()\" *ngIf=\"collapsable()\"\n class=\"pl-2 self-stretch grow-0 flex flex-row justify-between items-center\">\n <span class=\"text-lg\" i18n>Navigation</span>\n <div class=\"flex flex-row items-center justify-center\" style=\"width: 64px\">\n <button mat-icon-button>\n <mat-icon *ngIf=\"!pinned()\">radio_button_unchecked</mat-icon>\n <mat-icon *ngIf=\"pinned()\">radio_button_checked</mat-icon>\n </button>\n </div>\n </div>\n\n @if (sidenavHeaderDirective()?.template; as template) {\n <div [ngClass]=\"{ hidden: collapsed() }\" class=\"header grow-0\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n <mat-divider [ngClass]=\"{ hidden: collapsed() }\" class=\"grow-0\"></mat-divider>\n }\n\n <ul\n (mouseenter)=\"collapsable() && !pinned() && openSidenav()\"\n class=\"grow self-stretch\"\n [root]=\"true\"\n rxap-navigation\n >\n </ul>\n\n @if (sidenavFooterDirective()?.template; as template) {\n <mat-divider [ngClass]=\"{ hidden: collapsed() }\" class=\"grow-0\"></mat-divider>\n <div [ngClass]=\"{ hidden: collapsed() }\" class=\"footer grow-0\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n }\n </div>\n </mat-sidenav>\n <mat-sidenav-content [ngClass]=\"{ 'ml-16': collapsable() }\" class=\"p-4\">\n <ng-content></ng-content>\n </mat-sidenav-content>\n</mat-sidenav-container>\n", styles: [":host .collapsable.mat-drawer:not(.mat-drawer-opened){transform:translate(calc(-100% + 64px))!important;visibility:visible!important;box-shadow:inherit!important;transition-property:transform;transition-delay:.25s;display:flex;border-right:solid 1px rgba(0,0,0,.12)}:host .collapsable.mat-drawer:not(.mat-drawer-opened) ::ng-deep .mat-drawer-inner-container{display:block}:host .collapsable.mat-drawer ::ng-deep .mat-drawer-inner-container::-webkit-scrollbar{display:none}\n"], dependencies: [{ kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: MatSidenav, selector: "mat-sidenav", inputs: ["fixedInViewport", "fixedTopGap", "fixedBottomGap"], exportAs: ["matSidenav"] }, { kind: "component", type: MatSidenavContainer, selector: "mat-sidenav-container", exportAs: ["matSidenavContainer"] }, { kind: "component", type: MatSidenavContent, selector: "mat-sidenav-content" }, { kind: "component", type: NavigationComponent, selector: "ul[rxap-navigation]", inputs: ["items", "level", "root"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
608
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: SidenavComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
609
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: SidenavComponent, isStandalone: true, selector: "rxap-sidenav", queries: [{ propertyName: "sidenavFooterDirective", first: true, predicate: SidenavFooterDirective, descendants: true, isSignal: true }, { propertyName: "sidenavHeaderDirective", first: true, predicate: SidenavHeaderDirective, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "sidenav", first: true, predicate: MatSidenav, descendants: true, isSignal: true }], ngImport: i0, template: "<mat-sidenav-container [ngStyle]=\"{\n 'padding-top.px': fixedTopGap(),\n 'padding-bottom.px': fixedBottomGap(),\n }\" class=\"h-full\">\n <mat-sidenav\n [fixedBottomGap]=\"fixedBottomGap()\"\n [fixedInViewport]=\"fixedInViewport()\"\n [fixedTopGap]=\"fixedTopGap()\"\n [mode]=\"sidenavMode()\"\n [ngClass]=\"{ collapsable: collapsable() }\"\n [opened]=\"opened()\"\n (openedChange)=\"onOpenedChanged($event)\"\n >\n <div (mouseleave)=\"collapsable() && !pinned() && closeSidenav()\"\n class=\"h-full py-2 flex flex-col items-center gap-y-5 justify-items-stretch\">\n\n @if (collapsable()) {\n <div (click)=\"togglePinned()\"\n class=\"pl-2 self-stretch grow-0 flex flex-row justify-between items-center\">\n <span class=\"text-lg\" i18n>Navigation</span>\n <div class=\"flex flex-row items-center justify-center\" style=\"width: 64px\">\n <button mat-icon-button>\n @if (!pinned()) {\n <mat-icon>radio_button_unchecked</mat-icon>\n }\n @if (pinned()) {\n <mat-icon>radio_button_checked</mat-icon>\n }\n </button>\n </div>\n </div>\n }\n\n @if (sidenavHeaderDirective()?.template; as template) {\n <div [ngClass]=\"{ hidden: collapsed() }\" class=\"header grow-0\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n <mat-divider [ngClass]=\"{ hidden: collapsed() }\" class=\"grow-0\"></mat-divider>\n }\n\n <ul\n (mouseenter)=\"collapsable() && !pinned() && openSidenav()\"\n class=\"grow self-stretch\"\n [root]=\"true\"\n rxap-navigation\n >\n </ul>\n\n @if (sidenavFooterDirective()?.template; as template) {\n <mat-divider [ngClass]=\"{ hidden: collapsed() }\" class=\"grow-0\"></mat-divider>\n <div [ngClass]=\"{ hidden: collapsed() }\" class=\"footer grow-0\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n }\n </div>\n </mat-sidenav>\n <mat-sidenav-content [ngClass]=\"{ 'ml-16': collapsable() }\" class=\"p-4\">\n <ng-content></ng-content>\n </mat-sidenav-content>\n</mat-sidenav-container>\n", styles: [":host .collapsable.mat-drawer:not(.mat-drawer-opened){transform:translate(calc(-100% + 64px))!important;visibility:visible!important;box-shadow:inherit!important;transition-property:transform;transition-delay:.25s;display:flex;border-right:solid 1px rgba(0,0,0,.12)}:host .collapsable.mat-drawer:not(.mat-drawer-opened) ::ng-deep .mat-drawer-inner-container{display:block}:host .collapsable.mat-drawer ::ng-deep .mat-drawer-inner-container::-webkit-scrollbar{display:none}\n"], dependencies: [{ kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: MatSidenav, selector: "mat-sidenav", inputs: ["fixedInViewport", "fixedTopGap", "fixedBottomGap"], exportAs: ["matSidenav"] }, { kind: "component", type: MatSidenavContainer, selector: "mat-sidenav-container", exportAs: ["matSidenavContainer"] }, { kind: "component", type: MatSidenavContent, selector: "mat-sidenav-content" }, { kind: "component", type: NavigationComponent, selector: "ul[rxap-navigation]", inputs: ["items", "level", "root"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
658
610
  }
659
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SidenavComponent, decorators: [{
611
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: SidenavComponent, decorators: [{
660
612
  type: Component,
661
613
  args: [{ selector: 'rxap-sidenav', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
662
614
  MatIcon,
@@ -665,14 +617,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
665
617
  MatSidenavContainer,
666
618
  MatSidenavContent,
667
619
  NavigationComponent,
668
- NgIf,
669
620
  NgClass,
670
621
  NgStyle,
671
622
  MatDivider,
672
- NgTemplateOutlet,
673
- ], template: "<mat-sidenav-container [ngStyle]=\"{\n 'padding-top.px': fixedTopGap(),\n 'padding-bottom.px': fixedBottomGap(),\n }\" class=\"h-full\">\n <mat-sidenav\n [fixedBottomGap]=\"fixedBottomGap()\"\n [fixedInViewport]=\"fixedInViewport()\"\n [fixedTopGap]=\"fixedTopGap()\"\n [mode]=\"sidenavMode()\"\n [ngClass]=\"{ collapsable: collapsable() }\"\n [opened]=\"opened()\"\n (openedChange)=\"onOpenedChanged($event)\"\n >\n <div (mouseleave)=\"collapsable() && !pinned() && closeSidenav()\"\n class=\"h-full py-2 flex flex-col items-center gap-y-5 justify-items-stretch\">\n\n <div (click)=\"togglePinned()\" *ngIf=\"collapsable()\"\n class=\"pl-2 self-stretch grow-0 flex flex-row justify-between items-center\">\n <span class=\"text-lg\" i18n>Navigation</span>\n <div class=\"flex flex-row items-center justify-center\" style=\"width: 64px\">\n <button mat-icon-button>\n <mat-icon *ngIf=\"!pinned()\">radio_button_unchecked</mat-icon>\n <mat-icon *ngIf=\"pinned()\">radio_button_checked</mat-icon>\n </button>\n </div>\n </div>\n\n @if (sidenavHeaderDirective()?.template; as template) {\n <div [ngClass]=\"{ hidden: collapsed() }\" class=\"header grow-0\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n <mat-divider [ngClass]=\"{ hidden: collapsed() }\" class=\"grow-0\"></mat-divider>\n }\n\n <ul\n (mouseenter)=\"collapsable() && !pinned() && openSidenav()\"\n class=\"grow self-stretch\"\n [root]=\"true\"\n rxap-navigation\n >\n </ul>\n\n @if (sidenavFooterDirective()?.template; as template) {\n <mat-divider [ngClass]=\"{ hidden: collapsed() }\" class=\"grow-0\"></mat-divider>\n <div [ngClass]=\"{ hidden: collapsed() }\" class=\"footer grow-0\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n }\n </div>\n </mat-sidenav>\n <mat-sidenav-content [ngClass]=\"{ 'ml-16': collapsable() }\" class=\"p-4\">\n <ng-content></ng-content>\n </mat-sidenav-content>\n</mat-sidenav-container>\n", styles: [":host .collapsable.mat-drawer:not(.mat-drawer-opened){transform:translate(calc(-100% + 64px))!important;visibility:visible!important;box-shadow:inherit!important;transition-property:transform;transition-delay:.25s;display:flex;border-right:solid 1px rgba(0,0,0,.12)}:host .collapsable.mat-drawer:not(.mat-drawer-opened) ::ng-deep .mat-drawer-inner-container{display:block}:host .collapsable.mat-drawer ::ng-deep .mat-drawer-inner-container::-webkit-scrollbar{display:none}\n"] }]
674
- }] });
675
-
623
+ NgTemplateOutlet
624
+ ], template: "<mat-sidenav-container [ngStyle]=\"{\n 'padding-top.px': fixedTopGap(),\n 'padding-bottom.px': fixedBottomGap(),\n }\" class=\"h-full\">\n <mat-sidenav\n [fixedBottomGap]=\"fixedBottomGap()\"\n [fixedInViewport]=\"fixedInViewport()\"\n [fixedTopGap]=\"fixedTopGap()\"\n [mode]=\"sidenavMode()\"\n [ngClass]=\"{ collapsable: collapsable() }\"\n [opened]=\"opened()\"\n (openedChange)=\"onOpenedChanged($event)\"\n >\n <div (mouseleave)=\"collapsable() && !pinned() && closeSidenav()\"\n class=\"h-full py-2 flex flex-col items-center gap-y-5 justify-items-stretch\">\n\n @if (collapsable()) {\n <div (click)=\"togglePinned()\"\n class=\"pl-2 self-stretch grow-0 flex flex-row justify-between items-center\">\n <span class=\"text-lg\" i18n>Navigation</span>\n <div class=\"flex flex-row items-center justify-center\" style=\"width: 64px\">\n <button mat-icon-button>\n @if (!pinned()) {\n <mat-icon>radio_button_unchecked</mat-icon>\n }\n @if (pinned()) {\n <mat-icon>radio_button_checked</mat-icon>\n }\n </button>\n </div>\n </div>\n }\n\n @if (sidenavHeaderDirective()?.template; as template) {\n <div [ngClass]=\"{ hidden: collapsed() }\" class=\"header grow-0\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n <mat-divider [ngClass]=\"{ hidden: collapsed() }\" class=\"grow-0\"></mat-divider>\n }\n\n <ul\n (mouseenter)=\"collapsable() && !pinned() && openSidenav()\"\n class=\"grow self-stretch\"\n [root]=\"true\"\n rxap-navigation\n >\n </ul>\n\n @if (sidenavFooterDirective()?.template; as template) {\n <mat-divider [ngClass]=\"{ hidden: collapsed() }\" class=\"grow-0\"></mat-divider>\n <div [ngClass]=\"{ hidden: collapsed() }\" class=\"footer grow-0\">\n <ng-container *ngTemplateOutlet=\"template\"></ng-container>\n </div>\n }\n </div>\n </mat-sidenav>\n <mat-sidenav-content [ngClass]=\"{ 'ml-16': collapsable() }\" class=\"p-4\">\n <ng-content></ng-content>\n </mat-sidenav-content>\n</mat-sidenav-container>\n", styles: [":host .collapsable.mat-drawer:not(.mat-drawer-opened){transform:translate(calc(-100% + 64px))!important;visibility:visible!important;box-shadow:inherit!important;transition-property:transform;transition-delay:.25s;display:flex;border-right:solid 1px rgba(0,0,0,.12)}:host .collapsable.mat-drawer:not(.mat-drawer-opened) ::ng-deep .mat-drawer-inner-container{display:block}:host .collapsable.mat-drawer ::ng-deep .mat-drawer-inner-container::-webkit-scrollbar{display:none}\n"] }]
625
+ }], propDecorators: { sidenav: [{ type: i0.ViewChild, args: [i0.forwardRef(() => MatSidenav), { isSignal: true }] }], sidenavFooterDirective: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SidenavFooterDirective), { isSignal: true }] }], sidenavHeaderDirective: [{ type: i0.ContentChild, args: [i0.forwardRef(() => SidenavHeaderDirective), { isSignal: true }] }] } });
676
626
  class ReleaseInfoComponent {
677
627
  constructor() {
678
628
  this.modules = coerceArray(inject(RXAP_RELEASE_INFO_MODULE, { optional: true }));
@@ -684,16 +634,15 @@ class ReleaseInfoComponent {
684
634
  closeOnNavigation: true,
685
635
  });
686
636
  }
687
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ReleaseInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
688
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.16", type: ReleaseInfoComponent, isStandalone: true, selector: "rxap-release-info", ngImport: i0, template: "<div class=\"flex flex-col gap-2 w-full justify-center\">\n <button (click)=\"openEnvironmentInfo()\" mat-button>{{ release }}</button>\n @if (modules.length) {\n <table class=\"table-auto border-separate border-spacing-2 bg-white dark:bg-slate-800 text-sm shadow-sm\">\n <thead class=\"bg-slate-50 dark:bg-slate-700\">\n <th class=\"text-sm border-slate-300 dark:border-slate-600 text-slate-900 dark:text-slate-200 border p-2\">Module</th>\n <th class=\"text-sm border-slate-300 dark:border-slate-600 text-slate-900 dark:text-slate-200 border p-2\">Version</th>\n <th class=\"text-sm border-slate-300 dark:border-slate-600 text-slate-900 dark:text-slate-200 border p-2\">Hash</th>\n </thead>\n <tbody>\n @for (module of modules; track module.name) {\n <tr>\n <th class=\"text-sm border border-slate-300 dark:border-slate-700 text-slate-500 dark:text-slate-400 py-2 px-4\">{{ module.name }}</th>\n <td class=\"text-sm border border-slate-300 dark:border-slate-700 text-slate-500 dark:text-slate-400 p-2\">{{ module.version }}</td>\n <td class=\"text-sm border border-slate-300 dark:border-slate-700 text-slate-500 dark:text-slate-400 p-2\">{{ module.hash }}</td>\n </tr>\n }\n </tbody>\n </table>\n }\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
637
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ReleaseInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
638
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: ReleaseInfoComponent, isStandalone: true, selector: "rxap-release-info", ngImport: i0, template: "<div class=\"flex flex-col gap-2 w-full justify-center\">\n <button (click)=\"openEnvironmentInfo()\" mat-button>{{ release }}</button>\n @if (modules.length) {\n <table class=\"table-auto border-separate border-spacing-2 bg-white dark:bg-slate-800 text-sm shadow-sm\">\n <thead class=\"bg-slate-50 dark:bg-slate-700\">\n <th class=\"text-sm border-slate-300 dark:border-slate-600 text-slate-900 dark:text-slate-200 border p-2\">Module</th>\n <th class=\"text-sm border-slate-300 dark:border-slate-600 text-slate-900 dark:text-slate-200 border p-2\">Version</th>\n <th class=\"text-sm border-slate-300 dark:border-slate-600 text-slate-900 dark:text-slate-200 border p-2\">Hash</th>\n </thead>\n <tbody>\n @for (module of modules; track module.name) {\n <tr>\n <th class=\"text-sm border border-slate-300 dark:border-slate-700 text-slate-500 dark:text-slate-400 py-2 px-4\">{{ module.name }}</th>\n <td class=\"text-sm border border-slate-300 dark:border-slate-700 text-slate-500 dark:text-slate-400 p-2\">{{ module.version }}</td>\n <td class=\"text-sm border border-slate-300 dark:border-slate-700 text-slate-500 dark:text-slate-400 p-2\">{{ module.hash }}</td>\n </tr>\n }\n </tbody>\n </table>\n }\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
689
639
  }
690
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ReleaseInfoComponent, decorators: [{
640
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ReleaseInfoComponent, decorators: [{
691
641
  type: Component,
692
642
  args: [{ selector: 'rxap-release-info', imports: [
693
643
  MatButton,
694
644
  ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"flex flex-col gap-2 w-full justify-center\">\n <button (click)=\"openEnvironmentInfo()\" mat-button>{{ release }}</button>\n @if (modules.length) {\n <table class=\"table-auto border-separate border-spacing-2 bg-white dark:bg-slate-800 text-sm shadow-sm\">\n <thead class=\"bg-slate-50 dark:bg-slate-700\">\n <th class=\"text-sm border-slate-300 dark:border-slate-600 text-slate-900 dark:text-slate-200 border p-2\">Module</th>\n <th class=\"text-sm border-slate-300 dark:border-slate-600 text-slate-900 dark:text-slate-200 border p-2\">Version</th>\n <th class=\"text-sm border-slate-300 dark:border-slate-600 text-slate-900 dark:text-slate-200 border p-2\">Hash</th>\n </thead>\n <tbody>\n @for (module of modules; track module.name) {\n <tr>\n <th class=\"text-sm border border-slate-300 dark:border-slate-700 text-slate-500 dark:text-slate-400 py-2 px-4\">{{ module.name }}</th>\n <td class=\"text-sm border border-slate-300 dark:border-slate-700 text-slate-500 dark:text-slate-400 p-2\">{{ module.version }}</td>\n <td class=\"text-sm border border-slate-300 dark:border-slate-700 text-slate-500 dark:text-slate-400 p-2\">{{ module.hash }}</td>\n </tr>\n }\n </tbody>\n </table>\n }\n</div>\n" }]
695
645
  }] });
696
-
697
646
  class NavigationProgressBarComponent {
698
647
  constructor() {
699
648
  this.router = inject(Router);
@@ -701,70 +650,65 @@ class NavigationProgressBarComponent {
701
650
  event instanceof NavigationEnd ||
702
651
  event instanceof NavigationCancel), map(event => event instanceof NavigationStart)), { initialValue: true });
703
652
  }
704
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: NavigationProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
705
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.16", type: NavigationProgressBarComponent, isStandalone: true, selector: "rxap-navigation-progress-bar", ngImport: i0, template: "@if (navigating()) {\n<mat-progress-bar color=\"accent\" mode=\"indeterminate\"></mat-progress-bar>\n}\n", styles: [""], dependencies: [{ kind: "component", type: MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
653
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NavigationProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
654
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: NavigationProgressBarComponent, isStandalone: true, selector: "rxap-navigation-progress-bar", ngImport: i0, template: "@if (navigating()) {\n<mat-progress-bar color=\"accent\" mode=\"indeterminate\"></mat-progress-bar>\n}\n", styles: [""], dependencies: [{ kind: "component", type: MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
706
655
  }
707
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: NavigationProgressBarComponent, decorators: [{
656
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: NavigationProgressBarComponent, decorators: [{
708
657
  type: Component,
709
658
  args: [{ selector: 'rxap-navigation-progress-bar', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
710
659
  MatProgressBar,
711
660
  ], template: "@if (navigating()) {\n<mat-progress-bar color=\"accent\" mode=\"indeterminate\"></mat-progress-bar>\n}\n" }]
712
661
  }] });
713
-
714
662
  class FooterComponent {
715
663
  constructor() {
716
664
  this.footerService = inject(FooterService);
717
- this.portals = computed(() => this.footerService.portals());
718
- this.hasPortals = computed(() => this.portals().length > 0);
665
+ this.portals = computed(() => this.footerService.portals(), ...(ngDevMode ? [{ debugName: "portals" }] : /* istanbul ignore next */ []));
666
+ this.hasPortals = computed(() => this.portals().length > 0, ...(ngDevMode ? [{ debugName: "hasPortals" }] : /* istanbul ignore next */ []));
719
667
  }
720
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: FooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
721
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.16", type: FooterComponent, isStandalone: true, selector: "rxap-footer", ngImport: i0, template: "@if (hasPortals()) {\n <mat-toolbar class=\"mat-elevation-z1\">\n @for (portal of portals(); track portal) {\n <mat-toolbar-row>\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n </mat-toolbar-row>\n }\n </mat-toolbar>\n}\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i1$1.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "directive", type: i1$1.MatToolbarRow, selector: "mat-toolbar-row", exportAs: ["matToolbarRow"] }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i2$1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
668
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: FooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
669
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: FooterComponent, isStandalone: true, selector: "rxap-footer", ngImport: i0, template: "@if (hasPortals()) {\n <mat-toolbar class=\"mat-elevation-z1\">\n @for (portal of portals(); track portal) {\n <mat-toolbar-row>\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n </mat-toolbar-row>\n }\n </mat-toolbar>\n}\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i1$1.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "directive", type: i1$1.MatToolbarRow, selector: "mat-toolbar-row", exportAs: ["matToolbarRow"] }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i2$1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
722
670
  }
723
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: FooterComponent, decorators: [{
671
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: FooterComponent, decorators: [{
724
672
  type: Component,
725
673
  args: [{ selector: 'rxap-footer', changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatToolbarModule, PortalModule], template: "@if (hasPortals()) {\n <mat-toolbar class=\"mat-elevation-z1\">\n @for (portal of portals(); track portal) {\n <mat-toolbar-row>\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n </mat-toolbar-row>\n }\n </mat-toolbar>\n}\n" }]
726
674
  }] });
727
-
728
675
  class HeaderComponent {
729
676
  constructor() {
730
- this.color = input();
677
+ this.color = input(...(ngDevMode ? [undefined, { debugName: "color" }] : /* istanbul ignore next */ []));
731
678
  this.headerService = inject(HeaderService);
732
- this.portals = computed(() => this.headerService.portals());
733
- this.hasPortals = computed(() => this.portals().length > 0);
679
+ this.portals = computed(() => this.headerService.portals(), ...(ngDevMode ? [{ debugName: "portals" }] : /* istanbul ignore next */ []));
680
+ this.hasPortals = computed(() => this.portals().length > 0, ...(ngDevMode ? [{ debugName: "hasPortals" }] : /* istanbul ignore next */ []));
734
681
  }
735
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: HeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
736
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.16", type: HeaderComponent, isStandalone: true, selector: "rxap-header", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (hasPortals()) {\n <mat-toolbar [color]=\"color()\" class=\"mat-elevation-z1\">\n @for (portal of portals(); track portal) {\n <mat-toolbar-row>\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n </mat-toolbar-row>\n }\n </mat-toolbar>\n}\n", styles: [""], dependencies: [{ kind: "component", type: MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "directive", type: MatToolbarRow, selector: "mat-toolbar-row", exportAs: ["matToolbarRow"] }, { kind: "directive", type: CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
682
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: HeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
683
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: HeaderComponent, isStandalone: true, selector: "rxap-header", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (hasPortals()) {\n <mat-toolbar [color]=\"color()\" class=\"mat-elevation-z1\">\n @for (portal of portals(); track portal) {\n <mat-toolbar-row>\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n </mat-toolbar-row>\n }\n </mat-toolbar>\n}\n", styles: [""], dependencies: [{ kind: "component", type: MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "directive", type: MatToolbarRow, selector: "mat-toolbar-row", exportAs: ["matToolbarRow"] }, { kind: "directive", type: CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
737
684
  }
738
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: HeaderComponent, decorators: [{
685
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: HeaderComponent, decorators: [{
739
686
  type: Component,
740
687
  args: [{ selector: 'rxap-header', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
741
688
  MatToolbar,
742
689
  MatToolbarRow,
743
690
  CdkPortalOutlet,
744
691
  ], template: "@if (hasPortals()) {\n <mat-toolbar [color]=\"color()\" class=\"mat-elevation-z1\">\n @for (portal of portals(); track portal) {\n <mat-toolbar-row>\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n </mat-toolbar-row>\n }\n </mat-toolbar>\n}\n" }]
745
- }] });
746
-
692
+ }], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }] } });
747
693
  class BaseLayoutComponent {
748
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: BaseLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
749
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.16", type: BaseLayoutComponent, isStandalone: true, selector: "rxap-base-layout", ngImport: i0, template: "<rxap-header class=\"z-10 w-full fixed top-0\"></rxap-header>\n<ng-content></ng-content>\n<rxap-footer class=\"z-10 w-full fixed bottom-0\"></rxap-footer>\n", styles: [""], dependencies: [{ kind: "component", type: HeaderComponent, selector: "rxap-header", inputs: ["color"] }, { kind: "component", type: FooterComponent, selector: "rxap-footer" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
694
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: BaseLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
695
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.9", type: BaseLayoutComponent, isStandalone: true, selector: "rxap-base-layout", ngImport: i0, template: "<rxap-header class=\"z-10 w-full fixed top-0\"></rxap-header>\n<ng-content></ng-content>\n<rxap-footer class=\"z-10 w-full fixed bottom-0\"></rxap-footer>\n", styles: [""], dependencies: [{ kind: "component", type: HeaderComponent, selector: "rxap-header", inputs: ["color"] }, { kind: "component", type: FooterComponent, selector: "rxap-footer" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
750
696
  }
751
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: BaseLayoutComponent, decorators: [{
697
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: BaseLayoutComponent, decorators: [{
752
698
  type: Component,
753
699
  args: [{ selector: 'rxap-base-layout', imports: [
754
700
  HeaderComponent,
755
701
  FooterComponent,
756
702
  ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<rxap-header class=\"z-10 w-full fixed top-0\"></rxap-header>\n<ng-content></ng-content>\n<rxap-footer class=\"z-10 w-full fixed bottom-0\"></rxap-footer>\n" }]
757
703
  }] });
758
-
759
704
  class MinimalLayoutComponent {
760
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: MinimalLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
761
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.16", type: MinimalLayoutComponent, isStandalone: true, selector: "rxap-minimal-layout", ngImport: i0, template: "<rxap-header class=\"z-10 w-full fixed top-0\"></rxap-header>\n<rxap-navigation-progress-bar></rxap-navigation-progress-bar>\n<router-outlet></router-outlet>\n<rxap-footer class=\"z-10 w-full fixed bottom-0\"></rxap-footer>\n", styles: [""], dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "component", type: NavigationProgressBarComponent, selector: "rxap-navigation-progress-bar" }, { kind: "component", type: HeaderComponent, selector: "rxap-header", inputs: ["color"] }, { kind: "component", type: FooterComponent, selector: "rxap-footer" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
705
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MinimalLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
706
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.9", type: MinimalLayoutComponent, isStandalone: true, selector: "rxap-minimal-layout", ngImport: i0, template: "<rxap-header class=\"z-10 w-full fixed top-0\"></rxap-header>\n<rxap-navigation-progress-bar></rxap-navigation-progress-bar>\n<router-outlet></router-outlet>\n<rxap-footer class=\"z-10 w-full fixed bottom-0\"></rxap-footer>\n", styles: [""], dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "component", type: NavigationProgressBarComponent, selector: "rxap-navigation-progress-bar" }, { kind: "component", type: HeaderComponent, selector: "rxap-header", inputs: ["color"] }, { kind: "component", type: FooterComponent, selector: "rxap-footer" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
762
707
  }
763
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: MinimalLayoutComponent, decorators: [{
708
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MinimalLayoutComponent, decorators: [{
764
709
  type: Component,
765
710
  args: [{ selector: 'rxap-minimal-layout', imports: [RouterOutlet, BaseLayoutComponent, NavigationProgressBarComponent, HeaderComponent, FooterComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<rxap-header class=\"z-10 w-full fixed top-0\"></rxap-header>\n<rxap-navigation-progress-bar></rxap-navigation-progress-bar>\n<router-outlet></router-outlet>\n<rxap-footer class=\"z-10 w-full fixed bottom-0\"></rxap-footer>\n" }]
766
711
  }] });
767
-
768
712
  class LogoService {
769
713
  constructor() {
770
714
  this.config = inject(ConfigService);
@@ -772,30 +716,29 @@ class LogoService {
772
716
  this.config.get('logo', inject(RXAP_LOGO_CONFIG_DEFAULTS, { optional: true }) ?? {
773
717
  src: 'logo.png',
774
718
  width: 192,
775
- }));
776
- this.src = computed(() => this.logo().src);
777
- this.width = computed(() => this.logo().width);
778
- this.height = computed(() => this.logo().height);
719
+ }), ...(ngDevMode ? [{ debugName: "logo" }] : /* istanbul ignore next */ []));
720
+ this.src = computed(() => this.logo().src, ...(ngDevMode ? [{ debugName: "src" }] : /* istanbul ignore next */ []));
721
+ this.width = computed(() => this.logo().width, ...(ngDevMode ? [{ debugName: "width" }] : /* istanbul ignore next */ []));
722
+ this.height = computed(() => this.logo().height, ...(ngDevMode ? [{ debugName: "height" }] : /* istanbul ignore next */ []));
779
723
  }
780
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LogoService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
781
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LogoService, providedIn: 'root' }); }
724
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: LogoService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
725
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: LogoService, providedIn: 'root' }); }
782
726
  }
783
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LogoService, decorators: [{
727
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: LogoService, decorators: [{
784
728
  type: Injectable,
785
729
  args: [{ providedIn: 'root' }]
786
730
  }] });
787
-
788
731
  class LayoutComponent {
789
732
  constructor() {
790
733
  this.logoService = inject(LogoService);
791
- this.logoSrc = computed(() => this.logoService.src());
792
- this.logoWidth = computed(() => this.logoService.width());
793
- this.logoHeight = computed(() => this.logoService.height());
734
+ this.logoSrc = computed(() => this.logoService.src(), ...(ngDevMode ? [{ debugName: "logoSrc" }] : /* istanbul ignore next */ []));
735
+ this.logoWidth = computed(() => this.logoService.width(), ...(ngDevMode ? [{ debugName: "logoWidth" }] : /* istanbul ignore next */ []));
736
+ this.logoHeight = computed(() => this.logoService.height(), ...(ngDevMode ? [{ debugName: "logoHeight" }] : /* istanbul ignore next */ []));
794
737
  }
795
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
796
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.16", type: LayoutComponent, isStandalone: true, selector: "rxap-layout", ngImport: i0, template: "<rxap-header class=\"z-10 w-full fixed top-0\"></rxap-header>\n<rxap-navigation-progress-bar></rxap-navigation-progress-bar>\n<rxap-sidenav>\n <router-outlet></router-outlet>\n <ng-template rxapSidenavFooter>\n <img\n [src]=\"logoSrc()\"\n [routerLink]=\"['/']\"\n [width]=\"logoWidth()\"\n [height]=\"logoHeight()\"\n alt=\"logo\"\n class=\"grow-0 mx-16 cursor-pointer\"\n />\n <div class=\"grow-0 px-16 mt-4\">\n <rxap-release-info></rxap-release-info>\n </div>\n </ng-template>\n</rxap-sidenav>\n<rxap-footer class=\"z-10 w-full fixed bottom-0\"></rxap-footer>\n", styles: [""], dependencies: [{ kind: "component", type: HeaderComponent, selector: "rxap-header", inputs: ["color"] }, { kind: "ngmodule", type: MatSidenavModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: FooterComponent, selector: "rxap-footer" }, { kind: "ngmodule", type: MatMenuModule }, { kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "component", type: SidenavComponent, selector: "rxap-sidenav" }, { kind: "component", type: ReleaseInfoComponent, selector: "rxap-release-info" }, { kind: "directive", type: SidenavFooterDirective, selector: "[rxapSidenavFooter]" }, { kind: "component", type: NavigationProgressBarComponent, selector: "rxap-navigation-progress-bar" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
738
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: LayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
739
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.9", type: LayoutComponent, isStandalone: true, selector: "rxap-layout", ngImport: i0, template: "<rxap-header class=\"z-10 w-full fixed top-0\"></rxap-header>\n<rxap-navigation-progress-bar></rxap-navigation-progress-bar>\n<rxap-sidenav>\n <router-outlet></router-outlet>\n <ng-template rxapSidenavFooter>\n <img\n [src]=\"logoSrc()\"\n [routerLink]=\"['/']\"\n [width]=\"logoWidth()\"\n [height]=\"logoHeight()\"\n alt=\"logo\"\n class=\"grow-0 mx-16 cursor-pointer\"\n />\n <div class=\"grow-0 px-16 mt-4\">\n <rxap-release-info></rxap-release-info>\n </div>\n </ng-template>\n</rxap-sidenav>\n<rxap-footer class=\"z-10 w-full fixed bottom-0\"></rxap-footer>\n", styles: [""], dependencies: [{ kind: "component", type: HeaderComponent, selector: "rxap-header", inputs: ["color"] }, { kind: "ngmodule", type: MatSidenavModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: FooterComponent, selector: "rxap-footer" }, { kind: "ngmodule", type: MatMenuModule }, { kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "component", type: SidenavComponent, selector: "rxap-sidenav" }, { kind: "component", type: ReleaseInfoComponent, selector: "rxap-release-info" }, { kind: "directive", type: SidenavFooterDirective, selector: "[rxapSidenavFooter]" }, { kind: "component", type: NavigationProgressBarComponent, selector: "rxap-navigation-progress-bar" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
797
740
  }
798
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: LayoutComponent, decorators: [{
741
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: LayoutComponent, decorators: [{
799
742
  type: Component,
800
743
  args: [{ selector: 'rxap-layout', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
801
744
  HeaderComponent,
@@ -804,7 +747,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
804
747
  MatIconModule,
805
748
  MatButtonModule,
806
749
  RouterLink,
807
- NgIf,
808
750
  FooterComponent,
809
751
  MatMenuModule,
810
752
  NgOptimizedImage,
@@ -815,10 +757,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
815
757
  SidenavComponent,
816
758
  ReleaseInfoComponent,
817
759
  SidenavFooterDirective,
818
- NavigationProgressBarComponent,
760
+ NavigationProgressBarComponent
819
761
  ], template: "<rxap-header class=\"z-10 w-full fixed top-0\"></rxap-header>\n<rxap-navigation-progress-bar></rxap-navigation-progress-bar>\n<rxap-sidenav>\n <router-outlet></router-outlet>\n <ng-template rxapSidenavFooter>\n <img\n [src]=\"logoSrc()\"\n [routerLink]=\"['/']\"\n [width]=\"logoWidth()\"\n [height]=\"logoHeight()\"\n alt=\"logo\"\n class=\"grow-0 mx-16 cursor-pointer\"\n />\n <div class=\"grow-0 px-16 mt-4\">\n <rxap-release-info></rxap-release-info>\n </div>\n </ng-template>\n</rxap-sidenav>\n<rxap-footer class=\"z-10 w-full fixed bottom-0\"></rxap-footer>\n" }]
820
762
  }] });
821
-
822
763
  class HeaderDirective {
823
764
  constructor() {
824
765
  this.headerService = inject(HeaderService);
@@ -834,17 +775,16 @@ class HeaderDirective {
834
775
  this.headerService.removePortal(this._portal);
835
776
  }
836
777
  }
837
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: HeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
838
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.16", type: HeaderDirective, isStandalone: true, selector: "[rxapHeader]", ngImport: i0 }); }
778
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: HeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
779
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: HeaderDirective, isStandalone: true, selector: "[rxapHeader]", ngImport: i0 }); }
839
780
  }
840
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: HeaderDirective, decorators: [{
781
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: HeaderDirective, decorators: [{
841
782
  type: Directive,
842
783
  args: [{
843
784
  selector: '[rxapHeader]',
844
785
  standalone: true,
845
786
  }]
846
787
  }] });
847
-
848
788
  class FooterDirective {
849
789
  constructor() {
850
790
  this.footerService = inject(FooterService);
@@ -860,63 +800,60 @@ class FooterDirective {
860
800
  this.footerService.removePortal(this._portal);
861
801
  }
862
802
  }
863
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: FooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
864
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.16", type: FooterDirective, isStandalone: true, selector: "[rxapFooter]", ngImport: i0 }); }
803
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: FooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
804
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: FooterDirective, isStandalone: true, selector: "[rxapFooter]", ngImport: i0 }); }
865
805
  }
866
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: FooterDirective, decorators: [{
806
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: FooterDirective, decorators: [{
867
807
  type: Directive,
868
808
  args: [{
869
809
  selector: '[rxapFooter]',
870
810
  standalone: true,
871
811
  }]
872
812
  }] });
873
-
874
813
  class UserProfileIconComponent {
875
814
  constructor() {
876
815
  this.extractUsernameFromProfile = inject(EXTRACT_USERNAME_FROM_PROFILE);
877
816
  this.pubSubService = inject(PubSubService);
878
- this.profile = input.required();
817
+ this.profile = input.required(...(ngDevMode ? [{ debugName: "profile" }] : /* istanbul ignore next */ []));
879
818
  this.username = computed(() => {
880
819
  const profile = this.profile();
881
820
  if (profile) {
882
821
  return this.extractUsernameFromProfile(profile);
883
822
  }
884
823
  return null;
885
- });
824
+ }, ...(ngDevMode ? [{ debugName: "username" }] : /* istanbul ignore next */ []));
886
825
  }
887
826
  logout() {
888
827
  this.pubSubService.publish(RXAP_TOPICS.authentication.logout);
889
828
  }
890
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: UserProfileIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
891
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.16", type: UserProfileIconComponent, isStandalone: true, selector: "rxap-user-profile-icon", inputs: { profile: { classPropertyName: "profile", publicName: "profile", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<button [matMenuTriggerFor]=\"menu\"\n class=\"rounded-full cursor-pointer outline-none overflow-hidden h-8 w-8 bg-center bg-no-repeat bg-cover flex flex-row justify-center items-center\">\n <mat-icon class=\"h-8 w-8 text-[32px]\" svgIcon=\"account-circle\"></mat-icon>\n</button>\n\n<mat-menu #menu=\"matMenu\" [yPosition]=\"'below'\" class=\"!max-w-none\">\n @if (this.username(); as username) {\n <button mat-menu-item>\n <span class=\"flex flex-row gap-2\">\n <mat-icon svgIcon=\"account\"></mat-icon>\n <span>{{username}}</span>\n </span>\n </button>\n }\n <button (click)=\"logout()\" mat-menu-item>\n <span class=\"flex flex-row gap-2\">\n <mat-icon svgIcon=\"logout\"></mat-icon>\n <span i18n>Logout</span>\n </span>\n </button>\n</mat-menu>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i1$2.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i1$2.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i1$2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
829
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: UserProfileIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
830
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: UserProfileIconComponent, isStandalone: true, selector: "rxap-user-profile-icon", inputs: { profile: { classPropertyName: "profile", publicName: "profile", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<button [matMenuTriggerFor]=\"menu\"\n class=\"rounded-full cursor-pointer outline-none overflow-hidden h-8 w-8 bg-center bg-no-repeat bg-cover flex flex-row justify-center items-center\">\n <mat-icon class=\"h-8 w-8 text-[32px]\" svgIcon=\"account-circle\"></mat-icon>\n</button>\n\n<mat-menu #menu=\"matMenu\" [yPosition]=\"'below'\" class=\"!max-w-none\">\n @if (this.username(); as username) {\n <button mat-menu-item>\n <span class=\"flex flex-row gap-2\">\n <mat-icon svgIcon=\"account\"></mat-icon>\n <span>{{username}}</span>\n </span>\n </button>\n }\n <button (click)=\"logout()\" mat-menu-item>\n <span class=\"flex flex-row gap-2\">\n <mat-icon svgIcon=\"logout\"></mat-icon>\n <span i18n>Logout</span>\n </span>\n </button>\n</mat-menu>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i1$2.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i1$2.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i1$2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
892
831
  }
893
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: UserProfileIconComponent, decorators: [{
832
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: UserProfileIconComponent, decorators: [{
894
833
  type: Component,
895
834
  args: [{ selector: 'rxap-user-profile-icon', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
896
835
  MatMenuModule,
897
836
  MatIconModule,
898
837
  ], template: "<button [matMenuTriggerFor]=\"menu\"\n class=\"rounded-full cursor-pointer outline-none overflow-hidden h-8 w-8 bg-center bg-no-repeat bg-cover flex flex-row justify-center items-center\">\n <mat-icon class=\"h-8 w-8 text-[32px]\" svgIcon=\"account-circle\"></mat-icon>\n</button>\n\n<mat-menu #menu=\"matMenu\" [yPosition]=\"'below'\" class=\"!max-w-none\">\n @if (this.username(); as username) {\n <button mat-menu-item>\n <span class=\"flex flex-row gap-2\">\n <mat-icon svgIcon=\"account\"></mat-icon>\n <span>{{username}}</span>\n </span>\n </button>\n }\n <button (click)=\"logout()\" mat-menu-item>\n <span class=\"flex flex-row gap-2\">\n <mat-icon svgIcon=\"logout\"></mat-icon>\n <span i18n>Logout</span>\n </span>\n </button>\n</mat-menu>\n" }]
899
- }] });
900
-
901
- class SidenavToggleButtonComponent {
838
+ }], propDecorators: { profile: [{ type: i0.Input, args: [{ isSignal: true, alias: "profile", required: true }] }] } });
839
+ let SidenavToggleButtonComponent = class SidenavToggleButtonComponent {
902
840
  constructor() {
903
841
  this.layoutComponentService = inject(LayoutService);
904
- this.opened = computed(() => this.layoutComponentService.opened());
842
+ this.opened = computed(() => this.layoutComponentService.opened(), ...(ngDevMode ? [{ debugName: "opened" }] : /* istanbul ignore next */ []));
905
843
  }
906
844
  toggle() {
907
845
  this.layoutComponentService.toggleOpened();
908
846
  }
909
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SidenavToggleButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
910
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.16", type: SidenavToggleButtonComponent, isStandalone: true, selector: "rxap-sidenav-toggle-button", ngImport: i0, template: "<button (click)=\"toggle()\" mat-icon-button>\n @if (opened()) {\n <mat-icon>menu_open</mat-icon>\n } @else {\n <mat-icon>menu</mat-icon>\n }\n</button>\n", styles: [""], dependencies: [{ kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
911
- }
912
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SidenavToggleButtonComponent, decorators: [{
847
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: SidenavToggleButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
848
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: SidenavToggleButtonComponent, isStandalone: true, selector: "rxap-sidenav-toggle-button", ngImport: i0, template: "<button (click)=\"toggle()\" mat-icon-button>\n @if (opened()) {\n <mat-icon>menu_open</mat-icon>\n } @else {\n <mat-icon>menu</mat-icon>\n }\n</button>\n", styles: [""], dependencies: [{ kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
849
+ };
850
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: SidenavToggleButtonComponent, decorators: [{
913
851
  type: Component,
914
852
  args: [{ selector: 'rxap-sidenav-toggle-button', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
915
853
  MatIcon,
916
854
  MatIconButton,
917
855
  ], template: "<button (click)=\"toggle()\" mat-icon-button>\n @if (opened()) {\n <mat-icon>menu_open</mat-icon>\n } @else {\n <mat-icon>menu</mat-icon>\n }\n</button>\n" }]
918
856
  }] });
919
-
920
857
  class SettingsButtonComponent {
921
858
  constructor() {
922
859
  this.isDevMode = isDevMode();
@@ -924,7 +861,7 @@ class SettingsButtonComponent {
924
861
  this.injector = inject(Injector);
925
862
  this.customItemComponents = toSignal(from(Promise.all(coerceArray(inject(RXAP_SETTINGS_MENU_ITEM_COMPONENT, { optional: true }))
926
863
  .map(item => IsFunction(item) ? item() : item))).pipe(map(items => items.map(item => new ComponentPortal(item, null, this.injector)))), { initialValue: [] });
927
- this.customItems = signal(coerceArray(inject(RXAP_SETTINGS_MENU_ITEM, { optional: true })));
864
+ this.customItems = signal(coerceArray(inject(RXAP_SETTINGS_MENU_ITEM, { optional: true })), ...(ngDevMode ? [{ debugName: "customItems" }] : /* istanbul ignore next */ []));
928
865
  this.savePreviewDensityValue = false;
929
866
  this.currentDensityValue = null;
930
867
  this.savePreviewTypographyValue = false;
@@ -964,10 +901,10 @@ class SettingsButtonComponent {
964
901
  clickItem(item) {
965
902
  runInInjectionContext(this.injector, () => item.action());
966
903
  }
967
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SettingsButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
968
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.16", type: SettingsButtonComponent, isStandalone: true, selector: "rxap-settings-button", ngImport: i0, template: "<button [matMenuTriggerFor]=\"menu\" mat-icon-button>\n <mat-icon svgIcon=\"cog\"></mat-icon>\n</button>\n\n<mat-menu #menu=\"matMenu\">\n <button (click)=\"theme.toggleDarkTheme()\" mat-menu-item>\n @if (theme.darkMode()) {\n <mat-icon svgIcon=\"brightness-2\"></mat-icon>\n } @else {\n <mat-icon svgIcon=\"brightness-5\"></mat-icon>\n }\n <span i18n>Mode</span>\n </button>\n <button [matMenuTriggerFor]=\"themeMenu\" mat-menu-item>\n <mat-icon svgIcon=\"compare\"></mat-icon>\n <span i18n>Theme</span>\n </button>\n @for (item of customItems(); track item.label) {\n <button (click)=\"clickItem(item)\" mat-menu-item>\n <mat-icon *ngIf=\"item.icon as icon\" [rxapIcon]=\"icon\"></mat-icon>\n <span>{{ item.label }}</span>\n </button>\n }\n @for (item of customItemComponents(); track item) {\n <ng-template [cdkPortalOutlet]=\"item\"></ng-template>\n }\n</mat-menu>\n\n<mat-menu #themeMenu=\"matMenu\" xPosition=\"before\">\n <button [matMenuTriggerFor]=\"themeDensityMenu\" mat-menu-item>\n <mat-icon svgIcon=\"move-resize\"></mat-icon>\n <span i18n>Density</span>\n </button>\n @if (availableTypographies?.length) {\n <button [matMenuTriggerFor]=\"themeFontMenu\" mat-menu-item>\n <mat-icon svgIcon=\"format-font\"></mat-icon>\n <span i18n>Font</span>\n </button>\n }\n @if (availableThemes?.length) {\n <button [matMenuTriggerFor]=\"themePresetMenu\" mat-menu-item>\n <mat-icon svgIcon=\"shape-outline\"></mat-icon>\n <span i18n>Preset</span>\n </button>\n }\n</mat-menu>\n\n<mat-menu #themeDensityMenu=\"matMenu\" xPosition=\"before\">\n <button (click)=\"setDensity(0)\" (mouseenter)=\"previewDensity(0)\" (mouseleave)=\"restoreDensity()\" mat-menu-item>\n <mat-icon svgIcon=\"size-l\"></mat-icon>\n <span i18n>Normal</span>\n </button>\n <button (click)=\"setDensity(-1)\" (mouseenter)=\"previewDensity(-1)\" (mouseleave)=\"restoreDensity()\" mat-menu-item>\n <mat-icon svgIcon=\"size-m\"></mat-icon>\n <span i18n>Dense</span>\n </button>\n <button (click)=\"setDensity(-2)\" (mouseenter)=\"previewDensity(-2)\" (mouseleave)=\"restoreDensity()\" mat-menu-item>\n <mat-icon svgIcon=\"size-s\"></mat-icon>\n <span i18n>Very Dense</span>\n </button>\n <button (click)=\"setDensity(-3)\" (mouseenter)=\"previewDensity(-3)\" (mouseleave)=\"restoreDensity()\" mat-menu-item>\n <mat-icon svgIcon=\"size-xs\"></mat-icon>\n <span i18n>Extreme Dense</span>\n </button>\n</mat-menu>\n<mat-menu #themeFontMenu=\"matMenu\" xPosition=\"before\">\n @for (typographyName of availableTypographies ?? []; track typographyName) {\n <button (click)=\"setTypography(typographyName)\"\n (mouseenter)=\"previewTypography(typographyName)\"\n (mouseleave)=\"restoreTypography()\"\n mat-menu-item>\n {{ typographyName }}\n </button>\n }\n</mat-menu>\n\n<mat-menu #themePresetMenu=\"matMenu\" xPosition=\"before\">\n @for (themeName of availableThemes ?? []; track themeName) {\n <button (click)=\"setTheme(themeName)\"\n (mouseenter)=\"previewTheme(themeName)\"\n (mouseleave)=\"restoreTheme()\"\n mat-menu-item>\n {{ themeName }}\n </button>\n }\n</mat-menu>\n", styles: [""], dependencies: [{ kind: "component", type: MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "directive", type: MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "component", type: MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: IconDirective, selector: "mat-icon[rxapIcon]", inputs: ["rxapIcon"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
904
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: SettingsButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
905
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: SettingsButtonComponent, isStandalone: true, selector: "rxap-settings-button", ngImport: i0, template: "<button [matMenuTriggerFor]=\"menu\" mat-icon-button>\n <mat-icon svgIcon=\"cog\"></mat-icon>\n</button>\n\n<mat-menu #menu=\"matMenu\">\n <button (click)=\"theme.toggleDarkTheme()\" mat-menu-item>\n @if (theme.darkMode()) {\n <mat-icon svgIcon=\"brightness-2\"></mat-icon>\n } @else {\n <mat-icon svgIcon=\"brightness-5\"></mat-icon>\n }\n <span i18n>Mode</span>\n </button>\n <button [matMenuTriggerFor]=\"themeMenu\" mat-menu-item>\n <mat-icon svgIcon=\"compare\"></mat-icon>\n <span i18n>Theme</span>\n </button>\n @for (item of customItems(); track item.label) {\n <button (click)=\"clickItem(item)\" mat-menu-item>\n @if (item.icon; as icon) {\n <mat-icon [rxapIcon]=\"icon\"></mat-icon>\n }\n <span>{{ item.label }}</span>\n </button>\n }\n @for (item of customItemComponents(); track item) {\n <ng-template [cdkPortalOutlet]=\"item\"></ng-template>\n }\n</mat-menu>\n\n<mat-menu #themeMenu=\"matMenu\" xPosition=\"before\">\n <button [matMenuTriggerFor]=\"themeDensityMenu\" mat-menu-item>\n <mat-icon svgIcon=\"move-resize\"></mat-icon>\n <span i18n>Density</span>\n </button>\n @if (availableTypographies?.length) {\n <button [matMenuTriggerFor]=\"themeFontMenu\" mat-menu-item>\n <mat-icon svgIcon=\"format-font\"></mat-icon>\n <span i18n>Font</span>\n </button>\n }\n @if (availableThemes?.length) {\n <button [matMenuTriggerFor]=\"themePresetMenu\" mat-menu-item>\n <mat-icon svgIcon=\"shape-outline\"></mat-icon>\n <span i18n>Preset</span>\n </button>\n }\n</mat-menu>\n\n<mat-menu #themeDensityMenu=\"matMenu\" xPosition=\"before\">\n <button (click)=\"setDensity(0)\" (mouseenter)=\"previewDensity(0)\" (mouseleave)=\"restoreDensity()\" mat-menu-item>\n <mat-icon svgIcon=\"size-l\"></mat-icon>\n <span i18n>Normal</span>\n </button>\n <button (click)=\"setDensity(-1)\" (mouseenter)=\"previewDensity(-1)\" (mouseleave)=\"restoreDensity()\" mat-menu-item>\n <mat-icon svgIcon=\"size-m\"></mat-icon>\n <span i18n>Dense</span>\n </button>\n <button (click)=\"setDensity(-2)\" (mouseenter)=\"previewDensity(-2)\" (mouseleave)=\"restoreDensity()\" mat-menu-item>\n <mat-icon svgIcon=\"size-s\"></mat-icon>\n <span i18n>Very Dense</span>\n </button>\n <button (click)=\"setDensity(-3)\" (mouseenter)=\"previewDensity(-3)\" (mouseleave)=\"restoreDensity()\" mat-menu-item>\n <mat-icon svgIcon=\"size-xs\"></mat-icon>\n <span i18n>Extreme Dense</span>\n </button>\n</mat-menu>\n<mat-menu #themeFontMenu=\"matMenu\" xPosition=\"before\">\n @for (typographyName of availableTypographies ?? []; track typographyName) {\n <button (click)=\"setTypography(typographyName)\"\n (mouseenter)=\"previewTypography(typographyName)\"\n (mouseleave)=\"restoreTypography()\"\n mat-menu-item>\n {{ typographyName }}\n </button>\n }\n</mat-menu>\n\n<mat-menu #themePresetMenu=\"matMenu\" xPosition=\"before\">\n @for (themeName of availableThemes ?? []; track themeName) {\n <button (click)=\"setTheme(themeName)\"\n (mouseenter)=\"previewTheme(themeName)\"\n (mouseleave)=\"restoreTheme()\"\n mat-menu-item>\n {{ themeName }}\n </button>\n }\n</mat-menu>\n", styles: [""], dependencies: [{ kind: "component", type: MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "directive", type: MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "component", type: MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: IconDirective, selector: "mat-icon[rxapIcon]", inputs: ["rxapIcon"] }] }); }
969
906
  }
970
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: SettingsButtonComponent, decorators: [{
907
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: SettingsButtonComponent, decorators: [{
971
908
  type: Component,
972
909
  args: [{ selector: 'rxap-settings-button', imports: [
973
910
  MatIconButton,
@@ -976,11 +913,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
976
913
  MatMenuTrigger,
977
914
  MatMenuItem,
978
915
  CdkPortalOutlet,
979
- IconDirective,
980
- NgIf,
981
- ], template: "<button [matMenuTriggerFor]=\"menu\" mat-icon-button>\n <mat-icon svgIcon=\"cog\"></mat-icon>\n</button>\n\n<mat-menu #menu=\"matMenu\">\n <button (click)=\"theme.toggleDarkTheme()\" mat-menu-item>\n @if (theme.darkMode()) {\n <mat-icon svgIcon=\"brightness-2\"></mat-icon>\n } @else {\n <mat-icon svgIcon=\"brightness-5\"></mat-icon>\n }\n <span i18n>Mode</span>\n </button>\n <button [matMenuTriggerFor]=\"themeMenu\" mat-menu-item>\n <mat-icon svgIcon=\"compare\"></mat-icon>\n <span i18n>Theme</span>\n </button>\n @for (item of customItems(); track item.label) {\n <button (click)=\"clickItem(item)\" mat-menu-item>\n <mat-icon *ngIf=\"item.icon as icon\" [rxapIcon]=\"icon\"></mat-icon>\n <span>{{ item.label }}</span>\n </button>\n }\n @for (item of customItemComponents(); track item) {\n <ng-template [cdkPortalOutlet]=\"item\"></ng-template>\n }\n</mat-menu>\n\n<mat-menu #themeMenu=\"matMenu\" xPosition=\"before\">\n <button [matMenuTriggerFor]=\"themeDensityMenu\" mat-menu-item>\n <mat-icon svgIcon=\"move-resize\"></mat-icon>\n <span i18n>Density</span>\n </button>\n @if (availableTypographies?.length) {\n <button [matMenuTriggerFor]=\"themeFontMenu\" mat-menu-item>\n <mat-icon svgIcon=\"format-font\"></mat-icon>\n <span i18n>Font</span>\n </button>\n }\n @if (availableThemes?.length) {\n <button [matMenuTriggerFor]=\"themePresetMenu\" mat-menu-item>\n <mat-icon svgIcon=\"shape-outline\"></mat-icon>\n <span i18n>Preset</span>\n </button>\n }\n</mat-menu>\n\n<mat-menu #themeDensityMenu=\"matMenu\" xPosition=\"before\">\n <button (click)=\"setDensity(0)\" (mouseenter)=\"previewDensity(0)\" (mouseleave)=\"restoreDensity()\" mat-menu-item>\n <mat-icon svgIcon=\"size-l\"></mat-icon>\n <span i18n>Normal</span>\n </button>\n <button (click)=\"setDensity(-1)\" (mouseenter)=\"previewDensity(-1)\" (mouseleave)=\"restoreDensity()\" mat-menu-item>\n <mat-icon svgIcon=\"size-m\"></mat-icon>\n <span i18n>Dense</span>\n </button>\n <button (click)=\"setDensity(-2)\" (mouseenter)=\"previewDensity(-2)\" (mouseleave)=\"restoreDensity()\" mat-menu-item>\n <mat-icon svgIcon=\"size-s\"></mat-icon>\n <span i18n>Very Dense</span>\n </button>\n <button (click)=\"setDensity(-3)\" (mouseenter)=\"previewDensity(-3)\" (mouseleave)=\"restoreDensity()\" mat-menu-item>\n <mat-icon svgIcon=\"size-xs\"></mat-icon>\n <span i18n>Extreme Dense</span>\n </button>\n</mat-menu>\n<mat-menu #themeFontMenu=\"matMenu\" xPosition=\"before\">\n @for (typographyName of availableTypographies ?? []; track typographyName) {\n <button (click)=\"setTypography(typographyName)\"\n (mouseenter)=\"previewTypography(typographyName)\"\n (mouseleave)=\"restoreTypography()\"\n mat-menu-item>\n {{ typographyName }}\n </button>\n }\n</mat-menu>\n\n<mat-menu #themePresetMenu=\"matMenu\" xPosition=\"before\">\n @for (themeName of availableThemes ?? []; track themeName) {\n <button (click)=\"setTheme(themeName)\"\n (mouseenter)=\"previewTheme(themeName)\"\n (mouseleave)=\"restoreTheme()\"\n mat-menu-item>\n {{ themeName }}\n </button>\n }\n</mat-menu>\n" }]
916
+ IconDirective
917
+ ], template: "<button [matMenuTriggerFor]=\"menu\" mat-icon-button>\n <mat-icon svgIcon=\"cog\"></mat-icon>\n</button>\n\n<mat-menu #menu=\"matMenu\">\n <button (click)=\"theme.toggleDarkTheme()\" mat-menu-item>\n @if (theme.darkMode()) {\n <mat-icon svgIcon=\"brightness-2\"></mat-icon>\n } @else {\n <mat-icon svgIcon=\"brightness-5\"></mat-icon>\n }\n <span i18n>Mode</span>\n </button>\n <button [matMenuTriggerFor]=\"themeMenu\" mat-menu-item>\n <mat-icon svgIcon=\"compare\"></mat-icon>\n <span i18n>Theme</span>\n </button>\n @for (item of customItems(); track item.label) {\n <button (click)=\"clickItem(item)\" mat-menu-item>\n @if (item.icon; as icon) {\n <mat-icon [rxapIcon]=\"icon\"></mat-icon>\n }\n <span>{{ item.label }}</span>\n </button>\n }\n @for (item of customItemComponents(); track item) {\n <ng-template [cdkPortalOutlet]=\"item\"></ng-template>\n }\n</mat-menu>\n\n<mat-menu #themeMenu=\"matMenu\" xPosition=\"before\">\n <button [matMenuTriggerFor]=\"themeDensityMenu\" mat-menu-item>\n <mat-icon svgIcon=\"move-resize\"></mat-icon>\n <span i18n>Density</span>\n </button>\n @if (availableTypographies?.length) {\n <button [matMenuTriggerFor]=\"themeFontMenu\" mat-menu-item>\n <mat-icon svgIcon=\"format-font\"></mat-icon>\n <span i18n>Font</span>\n </button>\n }\n @if (availableThemes?.length) {\n <button [matMenuTriggerFor]=\"themePresetMenu\" mat-menu-item>\n <mat-icon svgIcon=\"shape-outline\"></mat-icon>\n <span i18n>Preset</span>\n </button>\n }\n</mat-menu>\n\n<mat-menu #themeDensityMenu=\"matMenu\" xPosition=\"before\">\n <button (click)=\"setDensity(0)\" (mouseenter)=\"previewDensity(0)\" (mouseleave)=\"restoreDensity()\" mat-menu-item>\n <mat-icon svgIcon=\"size-l\"></mat-icon>\n <span i18n>Normal</span>\n </button>\n <button (click)=\"setDensity(-1)\" (mouseenter)=\"previewDensity(-1)\" (mouseleave)=\"restoreDensity()\" mat-menu-item>\n <mat-icon svgIcon=\"size-m\"></mat-icon>\n <span i18n>Dense</span>\n </button>\n <button (click)=\"setDensity(-2)\" (mouseenter)=\"previewDensity(-2)\" (mouseleave)=\"restoreDensity()\" mat-menu-item>\n <mat-icon svgIcon=\"size-s\"></mat-icon>\n <span i18n>Very Dense</span>\n </button>\n <button (click)=\"setDensity(-3)\" (mouseenter)=\"previewDensity(-3)\" (mouseleave)=\"restoreDensity()\" mat-menu-item>\n <mat-icon svgIcon=\"size-xs\"></mat-icon>\n <span i18n>Extreme Dense</span>\n </button>\n</mat-menu>\n<mat-menu #themeFontMenu=\"matMenu\" xPosition=\"before\">\n @for (typographyName of availableTypographies ?? []; track typographyName) {\n <button (click)=\"setTypography(typographyName)\"\n (mouseenter)=\"previewTypography(typographyName)\"\n (mouseleave)=\"restoreTypography()\"\n mat-menu-item>\n {{ typographyName }}\n </button>\n }\n</mat-menu>\n\n<mat-menu #themePresetMenu=\"matMenu\" xPosition=\"before\">\n @for (themeName of availableThemes ?? []; track themeName) {\n <button (click)=\"setTheme(themeName)\"\n (mouseenter)=\"previewTheme(themeName)\"\n (mouseleave)=\"restoreTheme()\"\n mat-menu-item>\n {{ themeName }}\n </button>\n }\n</mat-menu>\n" }]
982
918
  }] });
983
-
984
919
  class ExternalAppsService {
985
920
  constructor() {
986
921
  this.appFilterList = coerceArray(inject(RXAP_EXTERNAL_APP_FILTER, { optional: true }));
@@ -992,7 +927,7 @@ class ExternalAppsService {
992
927
  /**
993
928
  * The list of active apps that is processed by the getAppList method
994
929
  */
995
- this.activeAppList = signal([]);
930
+ this.activeAppList = signal([], ...(ngDevMode ? [{ debugName: "activeAppList" }] : /* istanbul ignore next */ []));
996
931
  }
997
932
  hasApp(appId) {
998
933
  return this.apps.some(app => app.id === appId);
@@ -1065,33 +1000,30 @@ class ExternalAppsService {
1065
1000
  }
1066
1001
  return '';
1067
1002
  }
1068
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ExternalAppsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1069
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ExternalAppsService }); }
1003
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ExternalAppsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1004
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ExternalAppsService }); }
1070
1005
  }
1071
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ExternalAppsService, decorators: [{
1006
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ExternalAppsService, decorators: [{
1072
1007
  type: Injectable
1073
1008
  }] });
1074
-
1075
1009
  class AppsButtonComponent {
1010
+ toggle() {
1011
+ this.isOpen.update(isOpen => !isOpen);
1012
+ }
1076
1013
  constructor() {
1077
1014
  /**
1078
1015
  * The signal that indicates if the app list is open
1079
1016
  */
1080
- this.isOpen = signal(false);
1017
+ this.isOpen = signal(false, ...(ngDevMode ? [{ debugName: "isOpen" }] : /* istanbul ignore next */ []));
1081
1018
  this.externalAppsService = inject(ExternalAppsService);
1082
- this.appList = computed(() => this.externalAppsService.activeAppList());
1083
- this.hasApps = computed(() => this.appList().length > 0);
1084
- }
1085
- toggle() {
1086
- this.isOpen.update(isOpen => !isOpen);
1087
- }
1088
- ngOnInit() {
1019
+ this.appList = computed(() => this.externalAppsService.activeAppList(), ...(ngDevMode ? [{ debugName: "appList" }] : /* istanbul ignore next */ []));
1020
+ this.hasApps = computed(() => this.appList().length > 0, ...(ngDevMode ? [{ debugName: "hasApps" }] : /* istanbul ignore next */ []));
1089
1021
  this.externalAppsService.getAppList();
1090
1022
  }
1091
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AppsButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1092
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.16", type: AppsButtonComponent, isStandalone: true, selector: "rxap-apps-button", ngImport: i0, template: "@if (hasApps()) {\n <div class=\"flex flex-row items-center gap-8\">\n\n @if (isOpen()) {\n <div class=\"flex flex-row items-center gap-6 h-10\">\n\n @for (app of appList(); track app.label) {\n @if (app.href) {\n <a [href]=\"app.href\" [target]=\"app.target ?? '_self'\" mat-stroked-button>\n <span class=\"flex flex-row items-center gap-4\">\n @if (app.icon) {\n <mat-icon [rxapIcon]=\"app.icon\"></mat-icon>\n }\n @if (app.image) {\n <img [alt]=\"app.label\" [ngSrc]=\"app.image\" height=\"40\" width=\"40\">\n }\n <span class=\"label grow-0\">{{ app.label }}</span>\n </span>\n </a>\n } @else if (app.routerLink) {\n <a mat-stroked-button [routerLink]=\"app.routerLink\">\n <span class=\"flex flex-row items-center gap-4\">\n @if (app.icon) {\n <mat-icon [rxapIcon]=\"app.icon\"></mat-icon>\n }\n @if (app.image) {\n <img [alt]=\"app.label\" [ngSrc]=\"app.image\" height=\"40\" width=\"40\">\n }\n <span class=\"label grow-0\">{{ app.label }}</span>\n </span>\n </a>\n } @else {\n <button mat-stroked-button [disabled]=\"true\">\n <span class=\"flex flex-row items-center gap-4\">\n @if (app.icon) {\n <mat-icon [rxapIcon]=\"app.icon\"></mat-icon>\n }\n @if (app.image) {\n <img [alt]=\"app.label\" [ngSrc]=\"app.image\" height=\"40\" width=\"40\">\n }\n <span class=\"label grow-0\">{{ app.label }}</span>\n </span>\n </button>\n }\n }\n\n </div>\n }\n\n <button (click)=\"toggle()\" mat-icon-button>\n <mat-icon svgIcon=\"apps\"></mat-icon>\n </button>\n\n </div>\n}\n", styles: [""], dependencies: [{ kind: "directive", type: NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "placeholder", "placeholderConfig", "src", "srcset"] }, { kind: "component", type: MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: MatAnchor, selector: "a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: IconDirective, selector: "mat-icon[rxapIcon]", inputs: ["rxapIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1023
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AppsButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1024
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AppsButtonComponent, isStandalone: true, selector: "rxap-apps-button", ngImport: i0, template: "@if (hasApps()) {\n <div class=\"flex flex-row items-center gap-8\">\n\n @if (isOpen()) {\n <div class=\"flex flex-row items-center gap-6 h-10\">\n\n @for (app of appList(); track app.label) {\n @if (app.href) {\n <a [href]=\"app.href\" [target]=\"app.target ?? '_self'\" mat-stroked-button>\n <span class=\"flex flex-row items-center gap-4\">\n @if (app.icon) {\n <mat-icon [rxapIcon]=\"app.icon\"></mat-icon>\n }\n @if (app.image) {\n <img [alt]=\"app.label\" [ngSrc]=\"app.image\" height=\"40\" width=\"40\">\n }\n <span class=\"label grow-0\">{{ app.label }}</span>\n </span>\n </a>\n } @else if (app.routerLink) {\n <a mat-stroked-button [routerLink]=\"app.routerLink\">\n <span class=\"flex flex-row items-center gap-4\">\n @if (app.icon) {\n <mat-icon [rxapIcon]=\"app.icon\"></mat-icon>\n }\n @if (app.image) {\n <img [alt]=\"app.label\" [ngSrc]=\"app.image\" height=\"40\" width=\"40\">\n }\n <span class=\"label grow-0\">{{ app.label }}</span>\n </span>\n </a>\n } @else {\n <button mat-stroked-button [disabled]=\"true\">\n <span class=\"flex flex-row items-center gap-4\">\n @if (app.icon) {\n <mat-icon [rxapIcon]=\"app.icon\"></mat-icon>\n }\n @if (app.image) {\n <img [alt]=\"app.label\" [ngSrc]=\"app.image\" height=\"40\" width=\"40\">\n }\n <span class=\"label grow-0\">{{ app.label }}</span>\n </span>\n </button>\n }\n }\n\n </div>\n }\n\n <button (click)=\"toggle()\" mat-icon-button>\n <mat-icon svgIcon=\"apps\"></mat-icon>\n </button>\n\n </div>\n}\n", styles: [""], dependencies: [{ kind: "directive", type: NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "decoding", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "placeholder", "placeholderConfig", "src", "srcset"] }, { kind: "component", type: MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: IconDirective, selector: "mat-icon[rxapIcon]", inputs: ["rxapIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1093
1025
  }
1094
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: AppsButtonComponent, decorators: [{
1026
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AppsButtonComponent, decorators: [{
1095
1027
  type: Component,
1096
1028
  args: [{ selector: 'rxap-apps-button', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
1097
1029
  NgOptimizedImage,
@@ -1102,26 +1034,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
1102
1034
  MatIcon,
1103
1035
  IconDirective,
1104
1036
  ], template: "@if (hasApps()) {\n <div class=\"flex flex-row items-center gap-8\">\n\n @if (isOpen()) {\n <div class=\"flex flex-row items-center gap-6 h-10\">\n\n @for (app of appList(); track app.label) {\n @if (app.href) {\n <a [href]=\"app.href\" [target]=\"app.target ?? '_self'\" mat-stroked-button>\n <span class=\"flex flex-row items-center gap-4\">\n @if (app.icon) {\n <mat-icon [rxapIcon]=\"app.icon\"></mat-icon>\n }\n @if (app.image) {\n <img [alt]=\"app.label\" [ngSrc]=\"app.image\" height=\"40\" width=\"40\">\n }\n <span class=\"label grow-0\">{{ app.label }}</span>\n </span>\n </a>\n } @else if (app.routerLink) {\n <a mat-stroked-button [routerLink]=\"app.routerLink\">\n <span class=\"flex flex-row items-center gap-4\">\n @if (app.icon) {\n <mat-icon [rxapIcon]=\"app.icon\"></mat-icon>\n }\n @if (app.image) {\n <img [alt]=\"app.label\" [ngSrc]=\"app.image\" height=\"40\" width=\"40\">\n }\n <span class=\"label grow-0\">{{ app.label }}</span>\n </span>\n </a>\n } @else {\n <button mat-stroked-button [disabled]=\"true\">\n <span class=\"flex flex-row items-center gap-4\">\n @if (app.icon) {\n <mat-icon [rxapIcon]=\"app.icon\"></mat-icon>\n }\n @if (app.image) {\n <img [alt]=\"app.label\" [ngSrc]=\"app.image\" height=\"40\" width=\"40\">\n }\n <span class=\"label grow-0\">{{ app.label }}</span>\n </span>\n </button>\n }\n }\n\n </div>\n }\n\n <button (click)=\"toggle()\" mat-icon-button>\n <mat-icon svgIcon=\"apps\"></mat-icon>\n </button>\n\n </div>\n}\n" }]
1105
- }] });
1106
-
1037
+ }], ctorParameters: () => [] });
1107
1038
  class DefaultHeaderService {
1108
1039
  constructor() {
1109
1040
  this.components = toSignal(from(Promise.all(coerceArray(inject(RXAP_DEFAULT_HEADER_ITEM_COMPONENT, { optional: true }))
1110
1041
  .map(item => IsFunction(item) ? item() : item))), { initialValue: [] });
1111
- this.injectedPortals = computed(() => this.components().map(component => new ComponentPortal(component)));
1112
- this.methodPortals = signal([]);
1042
+ this.injectedPortals = computed(() => this.components().map(component => new ComponentPortal(component)), ...(ngDevMode ? [{ debugName: "injectedPortals" }] : /* istanbul ignore next */ []));
1043
+ this.methodPortals = signal([], ...(ngDevMode ? [{ debugName: "methodPortals" }] : /* istanbul ignore next */ []));
1113
1044
  /**
1114
1045
  * Represents an array of `Portal` objects with unknown type.
1115
1046
  *
1116
1047
  * @typedef {Array<Portal<unknown>>} SignalPortals
1117
1048
  */
1118
- this.portals = computed(() => [...this.injectedPortals(), ...this.methodPortals()]);
1049
+ this.portals = computed(() => [...this.injectedPortals(), ...this.methodPortals()], ...(ngDevMode ? [{ debugName: "portals" }] : /* istanbul ignore next */ []));
1119
1050
  /**
1120
1051
  * Computes the count of portals.
1121
1052
  *
1122
1053
  * @returns {number} The count of portals.
1123
1054
  */
1124
- this.portalCount = computed(() => this.portals().length);
1055
+ this.portalCount = computed(() => this.portals().length, ...(ngDevMode ? [{ debugName: "portalCount" }] : /* istanbul ignore next */ []));
1125
1056
  }
1126
1057
  /**
1127
1058
  * Adds a portal to the list of portals.
@@ -1155,28 +1086,27 @@ class DefaultHeaderService {
1155
1086
  });
1156
1087
  }
1157
1088
  }
1158
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: DefaultHeaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1159
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: DefaultHeaderService }); }
1089
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DefaultHeaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1090
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DefaultHeaderService }); }
1160
1091
  }
1161
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: DefaultHeaderService, decorators: [{
1092
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DefaultHeaderService, decorators: [{
1162
1093
  type: Injectable
1163
1094
  }] });
1164
-
1165
1095
  class DefaultHeaderComponent {
1166
1096
  constructor() {
1167
1097
  this.layoutComponentService = inject(LayoutService);
1168
- this.collapsed = computed(() => this.layoutComponentService.collapsed());
1169
- this.isMobile = computed(() => this.layoutComponentService.isMobile());
1170
- this.opened = computed(() => this.layoutComponentService.opened());
1098
+ this.collapsed = computed(() => this.layoutComponentService.collapsed(), ...(ngDevMode ? [{ debugName: "collapsed" }] : /* istanbul ignore next */ []));
1099
+ this.isMobile = computed(() => this.layoutComponentService.isMobile(), ...(ngDevMode ? [{ debugName: "isMobile" }] : /* istanbul ignore next */ []));
1100
+ this.opened = computed(() => this.layoutComponentService.opened(), ...(ngDevMode ? [{ debugName: "opened" }] : /* istanbul ignore next */ []));
1171
1101
  this.profile = toSignal(inject(RXAP_USER_PROFILE_DATA_SOURCE).connect('user-profile'), { initialValue: null });
1172
1102
  this.defaultHeaderService = inject(DefaultHeaderService);
1173
- this.portals = computed(() => this.defaultHeaderService.portals());
1174
- this.hasPortals = computed(() => this.portals().length > 0);
1103
+ this.portals = computed(() => this.defaultHeaderService.portals(), ...(ngDevMode ? [{ debugName: "portals" }] : /* istanbul ignore next */ []));
1104
+ this.hasPortals = computed(() => this.portals().length > 0, ...(ngDevMode ? [{ debugName: "hasPortals" }] : /* istanbul ignore next */ []));
1175
1105
  }
1176
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: DefaultHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1177
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.16", type: DefaultHeaderComponent, isStandalone: true, selector: "rxap-default-header", host: { classAttribute: "grow" }, ngImport: i0, template: "<div class=\"w-full flex flex-row gap-x-4 justify-between items-center\">\n @if (collapsed() || isMobile()) {\n <rxap-sidenav-toggle-button></rxap-sidenav-toggle-button>\n }\n <div class=\"grow flex flex-row gap-x-4 items-center\">\n @for (portal of portals(); track portal) {\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n }\n <ng-content></ng-content>\n </div>\n <rxap-apps-button class=\"grow-0\"></rxap-apps-button>\n <rxap-settings-button class=\"grow-0\"></rxap-settings-button>\n @if (profile(); as profile) {\n <rxap-user-profile-icon [profile]=\"profile\" class=\"grow-0\"></rxap-user-profile-icon>\n }\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: AppsButtonComponent, selector: "rxap-apps-button" }, { kind: "component", type: SettingsButtonComponent, selector: "rxap-settings-button" }, { kind: "component", type: SidenavToggleButtonComponent, selector: "rxap-sidenav-toggle-button" }, { kind: "component", type: UserProfileIconComponent, selector: "rxap-user-profile-icon", inputs: ["profile"] }, { kind: "directive", type: CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1106
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DefaultHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1107
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: DefaultHeaderComponent, isStandalone: true, selector: "rxap-default-header", host: { classAttribute: "grow" }, ngImport: i0, template: "<div class=\"w-full flex flex-row gap-x-4 justify-between items-center\">\n @if (collapsed() || isMobile()) {\n <rxap-sidenav-toggle-button></rxap-sidenav-toggle-button>\n }\n <div class=\"grow flex flex-row gap-x-4 items-center\">\n @for (portal of portals(); track portal) {\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n }\n <ng-content></ng-content>\n </div>\n <rxap-apps-button class=\"grow-0\"></rxap-apps-button>\n <rxap-settings-button class=\"grow-0\"></rxap-settings-button>\n @if (profile(); as profile) {\n <rxap-user-profile-icon [profile]=\"profile\" class=\"grow-0\"></rxap-user-profile-icon>\n }\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: AppsButtonComponent, selector: "rxap-apps-button" }, { kind: "component", type: SettingsButtonComponent, selector: "rxap-settings-button" }, { kind: "component", type: SidenavToggleButtonComponent, selector: "rxap-sidenav-toggle-button" }, { kind: "component", type: UserProfileIconComponent, selector: "rxap-user-profile-icon", inputs: ["profile"] }, { kind: "directive", type: CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1178
1108
  }
1179
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: DefaultHeaderComponent, decorators: [{
1109
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DefaultHeaderComponent, decorators: [{
1180
1110
  type: Component,
1181
1111
  args: [{ selector: 'rxap-default-header', imports: [
1182
1112
  AppsButtonComponent,
@@ -1189,7 +1119,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
1189
1119
  'class': 'grow',
1190
1120
  }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"w-full flex flex-row gap-x-4 justify-between items-center\">\n @if (collapsed() || isMobile()) {\n <rxap-sidenav-toggle-button></rxap-sidenav-toggle-button>\n }\n <div class=\"grow flex flex-row gap-x-4 items-center\">\n @for (portal of portals(); track portal) {\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n }\n <ng-content></ng-content>\n </div>\n <rxap-apps-button class=\"grow-0\"></rxap-apps-button>\n <rxap-settings-button class=\"grow-0\"></rxap-settings-button>\n @if (profile(); as profile) {\n <rxap-user-profile-icon [profile]=\"profile\" class=\"grow-0\"></rxap-user-profile-icon>\n }\n</div>\n" }]
1191
1121
  }] });
1192
-
1193
1122
  function provideLayout(...additionalProviders) {
1194
1123
  return [
1195
1124
  LayoutService,
@@ -1286,13 +1215,9 @@ function withUserProfileDataSource(dataSource, useClass = false) {
1286
1215
  };
1287
1216
  }
1288
1217
  }
1289
-
1290
1218
  // region sidenav
1291
1219
  // endregion
1292
-
1293
1220
  /**
1294
1221
  * Generated bundle index. Do not edit.
1295
1222
  */
1296
-
1297
1223
  export { AppsButtonComponent, BaseLayoutComponent, DefaultHeaderComponent, DefaultHeaderService, EXTRACT_USERNAME_FROM_PROFILE, ExternalAppsService, FooterComponent, FooterDirective, FooterService, HeaderComponent, HeaderDirective, HeaderService, IsNavigationDividerItem, IsNavigationInsertItem, IsNavigationItem, LayoutComponent, LayoutService, LogoService, MinimalLayoutComponent, NavigationComponent, NavigationItemComponent, NavigationProgressBarComponent, NavigationService, RXAP_DEFAULT_HEADER_ITEM_COMPONENT, RXAP_EXTERNAL_APP, RXAP_EXTERNAL_APP_FILTER, RXAP_FOOTER_COMPONENT, RXAP_HEADER_COMPONENT, RXAP_LAYOUT_APPS_GRID, RXAP_LOGO_CONFIG, RXAP_LOGO_CONFIG_DEFAULTS, RXAP_NAVIGATION_CONFIG, RXAP_NAVIGATION_CONFIG_INSERTS, RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS, RXAP_RELEASE_INFO_MODULE, RXAP_SETTINGS_MENU_ITEM, RXAP_SETTINGS_MENU_ITEM_COMPONENT, RXAP_USER_PROFILE_DATA_SOURCE, ReleaseInfoComponent, SettingsButtonComponent, SidenavComponent, SidenavFooterDirective, SidenavHeaderDirective, SidenavToggleButtonComponent, UserProfileIconComponent, provideExternalApps, provideLayout, withDefaultHeaderComponent, withDefaultHeaderItems, withFooterComponents, withHeaderComponents, withNavigationConfig, withNavigationInserts, withReleaseInfoModules, withSettingsMenuItems, withUserProfileDataSource };
1298
- //# sourceMappingURL=rxap-layout.mjs.map