@rxap/layout 19.0.0-dev.1 → 19.0.0-dev.3

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 (112) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +1 -1
  3. package/compodoc/changelog.html +91 -0
  4. package/compodoc/components/AppsButtonComponent.html +18 -23
  5. package/compodoc/components/BaseLayoutComponent.html +8 -13
  6. package/compodoc/components/DefaultHeaderComponent.html +76 -35
  7. package/compodoc/components/FooterComponent.html +7 -12
  8. package/compodoc/components/HeaderComponent.html +13 -18
  9. package/compodoc/components/LayoutComponent.html +29 -72
  10. package/compodoc/components/MinimalLayoutComponent.html +5 -10
  11. package/compodoc/components/NavigationComponent.html +31 -36
  12. package/compodoc/components/NavigationItemComponent.html +52 -51
  13. package/compodoc/components/NavigationProgressBarComponent.html +9 -14
  14. package/compodoc/components/ReleaseInfoComponent.html +11 -16
  15. package/compodoc/components/SettingsButtonComponent.html +64 -53
  16. package/compodoc/components/SidenavComponent.html +35 -40
  17. package/compodoc/components/SidenavToggleButtonComponent.html +11 -16
  18. package/compodoc/components/UserProfileIconComponent.html +18 -20
  19. package/compodoc/dependencies.html +23 -17
  20. package/compodoc/index.html +1 -1
  21. package/compodoc/injectables/DefaultHeaderService.html +585 -0
  22. package/compodoc/interfaces/NavigationDividerItem.html +1 -1
  23. package/compodoc/interfaces/NavigationInsertItem.html +1 -1
  24. package/compodoc/interfaces/NavigationItem.html +3 -3
  25. package/compodoc/interfaces/NavigationStatus.html +1 -1
  26. package/compodoc/interfaces/ReleaseInfoModule.html +2 -0
  27. package/compodoc/interfaces/SettingsMenuItem.html +2 -0
  28. package/compodoc/js/menu-wc.js +3 -0
  29. package/compodoc/js/menu-wc_es5.js +2 -2
  30. package/compodoc/js/search/search_index.js +2 -2
  31. package/compodoc/miscellaneous/functions.html +387 -6
  32. package/compodoc/miscellaneous/typealiases.html +19 -0
  33. package/compodoc/miscellaneous/variables.html +50 -1
  34. package/compodoc/overview.html +1 -1
  35. package/compodoc/properties.html +1 -1
  36. package/docs/assets/navigation.js +1 -1
  37. package/docs/assets/search.js +1 -1
  38. package/docs/classes/AppsButtonComponent.html +3 -3
  39. package/docs/classes/BaseLayoutComponent.html +1 -1
  40. package/docs/classes/DefaultHeaderComponent.html +5 -2
  41. package/docs/classes/DefaultHeaderService.html +16 -0
  42. package/docs/classes/ExternalAppsService.html +2 -2
  43. package/docs/classes/FooterComponent.html +2 -2
  44. package/docs/classes/FooterDirective.html +2 -2
  45. package/docs/classes/FooterService.html +6 -6
  46. package/docs/classes/HeaderComponent.html +2 -2
  47. package/docs/classes/HeaderDirective.html +2 -2
  48. package/docs/classes/HeaderService.html +6 -6
  49. package/docs/classes/LayoutComponent.html +2 -2
  50. package/docs/classes/LayoutService.html +2 -2
  51. package/docs/classes/LogoService.html +2 -2
  52. package/docs/classes/MinimalLayoutComponent.html +1 -1
  53. package/docs/classes/NavigationComponent.html +2 -2
  54. package/docs/classes/NavigationItemComponent.html +2 -2
  55. package/docs/classes/NavigationProgressBarComponent.html +2 -2
  56. package/docs/classes/NavigationService.html +3 -3
  57. package/docs/classes/ReleaseInfoComponent.html +2 -2
  58. package/docs/classes/SettingsButtonComponent.html +2 -2
  59. package/docs/classes/SidenavComponent.html +2 -2
  60. package/docs/classes/SidenavFooterDirective.html +2 -2
  61. package/docs/classes/SidenavHeaderDirective.html +2 -2
  62. package/docs/classes/SidenavToggleButtonComponent.html +2 -2
  63. package/docs/classes/UserProfileIconComponent.html +2 -2
  64. package/docs/documentation.json +2279 -1170
  65. package/docs/functions/IsNavigationDividerItem.html +1 -1
  66. package/docs/functions/IsNavigationInsertItem.html +1 -1
  67. package/docs/functions/IsNavigationItem.html +1 -1
  68. package/docs/functions/provideExternalApps.html +1 -1
  69. package/docs/functions/provideLayout.html +1 -1
  70. package/docs/functions/withDefaultHeaderComponent.html +1 -1
  71. package/docs/functions/withDefaultHeaderItems.html +1 -0
  72. package/docs/functions/withFooterComponents.html +1 -1
  73. package/docs/functions/withHeaderComponents.html +1 -1
  74. package/docs/functions/withNavigationConfig.html +1 -1
  75. package/docs/functions/withNavigationInserts.html +1 -1
  76. package/docs/functions/withReleaseInfoModules.html +1 -1
  77. package/docs/functions/withSettingsMenuItems.html +1 -1
  78. package/docs/functions/withUserProfileDataSource.html +1 -1
  79. package/docs/index.html +1 -1
  80. package/docs/interfaces/NavigationDividerItem.html +2 -2
  81. package/docs/interfaces/NavigationInsertItem.html +2 -2
  82. package/docs/interfaces/NavigationItem.html +2 -2
  83. package/docs/interfaces/NavigationStatus.html +2 -2
  84. package/docs/interfaces/ReleaseInfoModule.html +2 -2
  85. package/docs/interfaces/SettingsMenuItem.html +2 -2
  86. package/docs/modules.html +5 -1
  87. package/docs/types/DefaultHeaderItemComponent.html +1 -0
  88. package/docs/types/ExternalApp.html +1 -1
  89. package/docs/types/ExtractUsernameFromProfileFn.html +1 -1
  90. package/docs/types/Navigation.html +1 -1
  91. package/docs/types/NavigationWithInserts.html +1 -1
  92. package/docs/types/SettingsMenuItemComponent.html +1 -1
  93. package/docs/variables/EXTRACT_USERNAME_FROM_PROFILE.html +1 -1
  94. package/docs/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.html +1 -0
  95. package/docs/variables/RXAP_EXTERNAL_APP.html +1 -1
  96. package/docs/variables/RXAP_EXTERNAL_APP_FILTER.html +1 -1
  97. package/docs/variables/RXAP_FOOTER_COMPONENT.html +1 -1
  98. package/docs/variables/RXAP_HEADER_COMPONENT.html +1 -1
  99. package/docs/variables/RXAP_LAYOUT_APPS_GRID.html +1 -1
  100. package/docs/variables/RXAP_LOGO_CONFIG.html +1 -1
  101. package/docs/variables/RXAP_NAVIGATION_CONFIG.html +1 -1
  102. package/docs/variables/RXAP_NAVIGATION_CONFIG_INSERTS.html +1 -1
  103. package/docs/variables/RXAP_RELEASE_INFO_MODULE.html +1 -1
  104. package/docs/variables/RXAP_SETTINGS_MENU_ITEM.html +1 -1
  105. package/docs/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.html +1 -1
  106. package/docs/variables/RXAP_USER_PROFILE_DATA_SOURCE.html +1 -1
  107. package/package.json +35 -36
  108. package/src/migrations/18.0.0/add-seperate-external-apps-provider/__snapshots__/add-seperate-external-apps-provider.spec.ts.snap +22 -0
  109. package/src/migrations/18.0.0/add-theme-provider-to-app-config/__snapshots__/add-theme-provider-to-app-config.spec.ts.snap +18 -0
  110. package/src/migrations/18.0.0/add-user-theme-provider-to-layout-providers/__snapshots__/add-user-theme-provider-to-layout-providers.spec.ts.snap +51 -0
  111. package/src/migrations/18.0.0/add-with-user-profile-provider/__snapshots__/add-with-user-profile-provider.spec.ts.snap +53 -0
  112. package/theme.css +425 -1
@@ -126,13 +126,6 @@
126
126
 
127
127
 
128
128
 
129
- <p class="comment">
130
- <h3>Implements</h3>
131
- </p>
132
- <p class="comment">
133
- <code>OnInit</code>
134
- <code>OnDestroy</code>
135
- </p>
136
129
 
137
130
 
138
131
  <section data-compodoc="block-metadata">
@@ -160,10 +153,6 @@
160
153
  <td class="col-md-9"><code>rxap-layout</code></td>
161
154
  </tr>
162
155
 
163
- <tr>
164
- <td class="col-md-3">standalone</td>
165
- <td class="col-md-9"><code>true</code></td>
166
- </tr>
167
156
 
168
157
  <tr>
169
158
  <td class="col-md-3">imports</td>
@@ -289,7 +278,7 @@
289
278
  </tr>
290
279
  <tr>
291
280
  <td class="col-md-4">
292
- <div class="io-line">Defined in <a href="" data-line="75" class="link-to-prism">src/lib/layout/layout.component.ts:75</a></div>
281
+ <div class="io-line">Defined in <a href="" data-line="64" class="link-to-prism">src/lib/layout/layout.component.ts:64</a></div>
293
282
  </td>
294
283
  </tr>
295
284
 
@@ -322,7 +311,7 @@
322
311
  </tr>
323
312
  <tr>
324
313
  <td class="col-md-4">
325
- <div class="io-line">Defined in <a href="" data-line="73" class="link-to-prism">src/lib/layout/layout.component.ts:73</a></div>
314
+ <div class="io-line">Defined in <a href="" data-line="62" class="link-to-prism">src/lib/layout/layout.component.ts:62</a></div>
326
315
  </td>
327
316
  </tr>
328
317
 
@@ -355,7 +344,7 @@
355
344
  </tr>
356
345
  <tr>
357
346
  <td class="col-md-4">
358
- <div class="io-line">Defined in <a href="" data-line="74" class="link-to-prism">src/lib/layout/layout.component.ts:74</a></div>
347
+ <div class="io-line">Defined in <a href="" data-line="63" class="link-to-prism">src/lib/layout/layout.component.ts:63</a></div>
359
348
  </td>
360
349
  </tr>
361
350
 
@@ -380,8 +369,6 @@ import {
380
369
  Component,
381
370
  computed,
382
371
  inject,
383
- OnDestroy,
384
- OnInit,
385
372
  Signal,
386
373
  } from &#x27;@angular/core&#x27;;
387
374
  import { MatButtonModule } from &#x27;@angular/material/button&#x27;;
@@ -392,16 +379,10 @@ import {
392
379
  RouterLink,
393
380
  RouterOutlet,
394
381
  } from &#x27;@angular/router&#x27;;
395
- import { ThemeService } from &#x27;@rxap/ngx-theme&#x27;;
396
- import {
397
- IsThemeDensity,
398
- ThemeDensity,
399
- UserSettingsThemeService,
400
- } from &#x27;@rxap/ngx-user&#x27;;
401
382
  import { FooterComponent } from &#x27;../footer/footer.component&#x27;;
402
383
  import { HeaderComponent } from &#x27;../header/header.component&#x27;;
403
- import { NavigationProgressBarComponent } from &#x27;../navigation-progress-bar/navigation-progress-bar.component&#x27;;
404
384
  import { LogoService } from &#x27;../logo.service&#x27;;
385
+ import { NavigationProgressBarComponent } from &#x27;../navigation-progress-bar/navigation-progress-bar.component&#x27;;
405
386
  import { NavigationComponent } from &#x27;../navigation/navigation.component&#x27;;
406
387
  import { ReleaseInfoComponent } from &#x27;../release-info/release-info.component&#x27;;
407
388
  import { SidenavFooterDirective } from &#x27;../sidenav/sidenav-footer.directive&#x27;;
@@ -409,62 +390,38 @@ import { SidenavComponent } from &#x27;../sidenav/sidenav.component&#x27;;
409
390
 
410
391
 
411
392
  @Component({
412
- selector: &#x27;rxap-layout&#x27;,
413
- templateUrl: &#x27;./layout.component.html&#x27;,
414
- styleUrls: [ &#x27;./layout.component.scss&#x27; ],
415
- changeDetection: ChangeDetectionStrategy.OnPush,
416
- standalone: true,
417
- imports: [
418
- HeaderComponent,
419
- MatSidenavModule,
420
- AsyncPipe,
421
- MatIconModule,
422
- MatButtonModule,
423
- RouterLink,
424
- NgIf,
425
- FooterComponent,
426
- MatMenuModule,
427
- NgOptimizedImage,
428
- NavigationComponent,
429
- RouterOutlet,
430
- NgStyle,
431
- NgClass,
432
- SidenavComponent,
433
- ReleaseInfoComponent,
434
- SidenavFooterDirective,
435
- NavigationProgressBarComponent,
436
- ],
393
+ selector: &#x27;rxap-layout&#x27;,
394
+ templateUrl: &#x27;./layout.component.html&#x27;,
395
+ styleUrls: [&#x27;./layout.component.scss&#x27;],
396
+ changeDetection: ChangeDetectionStrategy.OnPush,
397
+ imports: [
398
+ HeaderComponent,
399
+ MatSidenavModule,
400
+ AsyncPipe,
401
+ MatIconModule,
402
+ MatButtonModule,
403
+ RouterLink,
404
+ NgIf,
405
+ FooterComponent,
406
+ MatMenuModule,
407
+ NgOptimizedImage,
408
+ NavigationComponent,
409
+ RouterOutlet,
410
+ NgStyle,
411
+ NgClass,
412
+ SidenavComponent,
413
+ ReleaseInfoComponent,
414
+ SidenavFooterDirective,
415
+ NavigationProgressBarComponent,
416
+ ]
437
417
  })
438
- export class LayoutComponent implements OnInit, OnDestroy {
418
+ export class LayoutComponent {
439
419
 
440
- private readonly userSettingsThemeService &#x3D; inject(UserSettingsThemeService);
441
- private readonly themeService &#x3D; inject(ThemeService);
442
420
  private readonly logoService &#x3D; inject(LogoService);
443
421
  public readonly logoSrc: Signal&lt;string&gt; &#x3D; computed(() &#x3D;&gt; this.logoService.src());
444
422
  public readonly logoWidth: Signal&lt;number&gt; &#x3D; computed(() &#x3D;&gt; this.logoService.width());
445
423
  public readonly logoHeight: Signal&lt;number&gt; &#x3D; computed(() &#x3D;&gt; this.logoService.height());
446
424
 
447
-
448
- ngOnDestroy() {
449
- this.userSettingsThemeService.stopSync();
450
- }
451
-
452
- ngOnInit() {
453
- this.userSettingsThemeService.startSync().then(() &#x3D;&gt; {
454
- this.userSettingsThemeService.get().then(theme &#x3D;&gt; {
455
- if (theme.preset &amp;&amp; theme.preset !&#x3D;&#x3D; &#x27;default&#x27;) {
456
- this.themeService.setTheme(theme.preset, true);
457
- }
458
- if (theme.density &amp;&amp; IsThemeDensity(theme.density) &amp;&amp; theme.density !&#x3D;&#x3D; ThemeDensity.Normal) {
459
- this.themeService.setDensity(theme.density, true);
460
- }
461
- if (theme.typography &amp;&amp; theme.typography !&#x3D;&#x3D; &#x27;default&#x27;) {
462
- this.themeService.setTypography(theme.typography, true);
463
- }
464
- });
465
- });
466
- }
467
-
468
425
  }
469
426
  </code></pre>
470
427
  </div>
@@ -149,10 +149,6 @@
149
149
  <td class="col-md-9"><code>rxap-minimal-layout</code></td>
150
150
  </tr>
151
151
 
152
- <tr>
153
- <td class="col-md-3">standalone</td>
154
- <td class="col-md-9"><code>true</code></td>
155
- </tr>
156
152
 
157
153
  <tr>
158
154
  <td class="col-md-3">imports</td>
@@ -211,12 +207,11 @@ import { HeaderComponent } from &#x27;../header/header.component&#x27;;
211
207
  import { NavigationProgressBarComponent } from &#x27;../navigation-progress-bar/navigation-progress-bar.component&#x27;;
212
208
 
213
209
  @Component({
214
- selector: &#x27;rxap-minimal-layout&#x27;,
215
- standalone: true,
216
- imports: [ RouterOutlet, BaseLayoutComponent, NavigationProgressBarComponent, HeaderComponent, FooterComponent ],
217
- templateUrl: &#x27;./minimal-layout.component.html&#x27;,
218
- styleUrl: &#x27;./minimal-layout.component.scss&#x27;,
219
- changeDetection: ChangeDetectionStrategy.OnPush,
210
+ selector: &#x27;rxap-minimal-layout&#x27;,
211
+ imports: [RouterOutlet, BaseLayoutComponent, NavigationProgressBarComponent, HeaderComponent, FooterComponent],
212
+ templateUrl: &#x27;./minimal-layout.component.html&#x27;,
213
+ styleUrl: &#x27;./minimal-layout.component.scss&#x27;,
214
+ changeDetection: ChangeDetectionStrategy.OnPush
220
215
  })
221
216
  export class MinimalLayoutComponent {}
222
217
  </code></pre>
@@ -167,10 +167,6 @@
167
167
  <td class="col-md-9"><code>ul[rxap-navigation]</code></td>
168
168
  </tr>
169
169
 
170
- <tr>
171
- <td class="col-md-3">standalone</td>
172
- <td class="col-md-9"><code>true</code></td>
173
- </tr>
174
170
 
175
171
  <tr>
176
172
  <td class="col-md-3">imports</td>
@@ -309,7 +305,7 @@
309
305
  </tr>
310
306
  <tr>
311
307
  <td class="col-md-2" colspan="2">
312
- <div class="io-line">Defined in <a href="" data-line="51" class="link-to-prism">src/lib/navigation/navigation.component.ts:51</a></div>
308
+ <div class="io-line">Defined in <a href="" data-line="50" class="link-to-prism">src/lib/navigation/navigation.component.ts:50</a></div>
313
309
  </td>
314
310
  </tr>
315
311
  </tbody>
@@ -329,7 +325,7 @@
329
325
  </tr>
330
326
  <tr>
331
327
  <td class="col-md-2" colspan="2">
332
- <div class="io-line">Defined in <a href="" data-line="53" class="link-to-prism">src/lib/navigation/navigation.component.ts:53</a></div>
328
+ <div class="io-line">Defined in <a href="" data-line="52" class="link-to-prism">src/lib/navigation/navigation.component.ts:52</a></div>
333
329
  </td>
334
330
  </tr>
335
331
  </tbody>
@@ -349,7 +345,7 @@
349
345
  </tr>
350
346
  <tr>
351
347
  <td class="col-md-2" colspan="2">
352
- <div class="io-line">Defined in <a href="" data-line="63" class="link-to-prism">src/lib/navigation/navigation.component.ts:63</a></div>
348
+ <div class="io-line">Defined in <a href="" data-line="62" class="link-to-prism">src/lib/navigation/navigation.component.ts:62</a></div>
353
349
  </td>
354
350
  </tr>
355
351
  </tbody>
@@ -385,8 +381,8 @@
385
381
 
386
382
  <tr>
387
383
  <td class="col-md-4">
388
- <div class="io-line">Defined in <a href="" data-line="90"
389
- class="link-to-prism">src/lib/navigation/navigation.component.ts:90</a></div>
384
+ <div class="io-line">Defined in <a href="" data-line="89"
385
+ class="link-to-prism">src/lib/navigation/navigation.component.ts:89</a></div>
390
386
  </td>
391
387
  </tr>
392
388
 
@@ -454,8 +450,8 @@
454
450
 
455
451
  <tr>
456
452
  <td class="col-md-4">
457
- <div class="io-line">Defined in <a href="" data-line="78"
458
- class="link-to-prism">src/lib/navigation/navigation.component.ts:78</a></div>
453
+ <div class="io-line">Defined in <a href="" data-line="77"
454
+ class="link-to-prism">src/lib/navigation/navigation.component.ts:77</a></div>
459
455
  </td>
460
456
  </tr>
461
457
 
@@ -523,8 +519,8 @@
523
519
 
524
520
  <tr>
525
521
  <td class="col-md-4">
526
- <div class="io-line">Defined in <a href="" data-line="84"
527
- class="link-to-prism">src/lib/navigation/navigation.component.ts:84</a></div>
522
+ <div class="io-line">Defined in <a href="" data-line="83"
523
+ class="link-to-prism">src/lib/navigation/navigation.component.ts:83</a></div>
528
524
  </td>
529
525
  </tr>
530
526
 
@@ -596,7 +592,7 @@
596
592
  </tr>
597
593
  <tr>
598
594
  <td class="col-md-4">
599
- <div class="io-line">Defined in <a href="" data-line="59" class="link-to-prism">src/lib/navigation/navigation.component.ts:59</a></div>
595
+ <div class="io-line">Defined in <a href="" data-line="58" class="link-to-prism">src/lib/navigation/navigation.component.ts:58</a></div>
600
596
  </td>
601
597
  </tr>
602
598
 
@@ -617,7 +613,7 @@
617
613
  </tr>
618
614
  <tr>
619
615
  <td class="col-md-4">
620
- <div class="io-line">Defined in <a href="" data-line="51" class="link-to-prism">src/lib/navigation/navigation.component.ts:51</a></div>
616
+ <div class="io-line">Defined in <a href="" data-line="50" class="link-to-prism">src/lib/navigation/navigation.component.ts:50</a></div>
621
617
  </td>
622
618
  </tr>
623
619
 
@@ -643,7 +639,7 @@
643
639
  </tr>
644
640
  <tr>
645
641
  <td class="col-md-4">
646
- <div class="io-line">Defined in <a href="" data-line="53" class="link-to-prism">src/lib/navigation/navigation.component.ts:53</a></div>
642
+ <div class="io-line">Defined in <a href="" data-line="52" class="link-to-prism">src/lib/navigation/navigation.component.ts:52</a></div>
647
643
  </td>
648
644
  </tr>
649
645
 
@@ -669,7 +665,7 @@
669
665
  </tr>
670
666
  <tr>
671
667
  <td class="col-md-4">
672
- <div class="io-line">Defined in <a href="" data-line="61" class="link-to-prism">src/lib/navigation/navigation.component.ts:61</a></div>
668
+ <div class="io-line">Defined in <a href="" data-line="60" class="link-to-prism">src/lib/navigation/navigation.component.ts:60</a></div>
673
669
  </td>
674
670
  </tr>
675
671
 
@@ -696,7 +692,7 @@
696
692
  </tr>
697
693
  <tr>
698
694
  <td class="col-md-4">
699
- <div class="io-line">Defined in <a href="" data-line="63" class="link-to-prism">src/lib/navigation/navigation.component.ts:63</a></div>
695
+ <div class="io-line">Defined in <a href="" data-line="62" class="link-to-prism">src/lib/navigation/navigation.component.ts:62</a></div>
700
696
  </td>
701
697
  </tr>
702
698
 
@@ -738,24 +734,23 @@ import {
738
734
  import { NavigationItemComponent } from &#x27;./navigation-item/navigation-item.component&#x27;;
739
735
 
740
736
  @Component({
741
- // eslint-disable-next-line @angular-eslint/component-selector
742
- selector: &#x27;ul[rxap-navigation]&#x27;,
743
- templateUrl: &#x27;./navigation.component.html&#x27;,
744
- styleUrls: [ &#x27;./navigation.component.scss&#x27; ],
745
- changeDetection: ChangeDetectionStrategy.OnPush,
746
- encapsulation: ViewEncapsulation.None,
747
- standalone: true,
748
- // eslint-disable-next-line @angular-eslint/no-host-metadata-property
749
- host: {
750
- class: &#x27;list-none dark:text-neutral-400 text-neutral-700&#x27;,
751
- },
752
- imports: [
753
- NgFor,
754
- NgIf,
755
- MatDividerModule,
756
- forwardRef(() &#x3D;&gt; NavigationItemComponent),
757
- AsyncPipe,
758
- ],
737
+ // eslint-disable-next-line @angular-eslint/component-selector
738
+ selector: &#x27;ul[rxap-navigation]&#x27;,
739
+ templateUrl: &#x27;./navigation.component.html&#x27;,
740
+ styleUrls: [&#x27;./navigation.component.scss&#x27;],
741
+ changeDetection: ChangeDetectionStrategy.OnPush,
742
+ encapsulation: ViewEncapsulation.None,
743
+
744
+ host: {
745
+ class: &#x27;list-none dark:text-neutral-400 text-neutral-700&#x27;,
746
+ },
747
+ imports: [
748
+ NgFor,
749
+ NgIf,
750
+ MatDividerModule,
751
+ forwardRef(() &#x3D;&gt; NavigationItemComponent),
752
+ AsyncPipe,
753
+ ]
759
754
  })
760
755
  export class NavigationComponent implements OnInit {
761
756
 
@@ -132,6 +132,7 @@
132
132
  <p class="comment">
133
133
  <code>OnChanges</code>
134
134
  <code>OnDestroy</code>
135
+ <code>AfterViewInit</code>
135
136
  </p>
136
137
 
137
138
 
@@ -164,10 +165,6 @@
164
165
  <td class="col-md-9"><code>li[rxap-navigation-item]</code></td>
165
166
  </tr>
166
167
 
167
- <tr>
168
- <td class="col-md-3">standalone</td>
169
- <td class="col-md-9"><code>true</code></td>
170
- </tr>
171
168
 
172
169
  <tr>
173
170
  <td class="col-md-3">imports</td>
@@ -375,8 +372,8 @@
375
372
 
376
373
  <tr>
377
374
  <td class="col-md-4">
378
- <div class="io-line">Defined in <a href="" data-line="178"
379
- class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:178</a></div>
375
+ <div class="io-line">Defined in <a href="" data-line="182"
376
+ class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:182</a></div>
380
377
  </td>
381
378
  </tr>
382
379
 
@@ -444,8 +441,8 @@
444
441
 
445
442
  <tr>
446
443
  <td class="col-md-4">
447
- <div class="io-line">Defined in <a href="" data-line="166"
448
- class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:166</a></div>
444
+ <div class="io-line">Defined in <a href="" data-line="170"
445
+ class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:170</a></div>
449
446
  </td>
450
447
  </tr>
451
448
 
@@ -513,8 +510,8 @@
513
510
 
514
511
  <tr>
515
512
  <td class="col-md-4">
516
- <div class="io-line">Defined in <a href="" data-line="172"
517
- class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:172</a></div>
513
+ <div class="io-line">Defined in <a href="" data-line="176"
514
+ class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:176</a></div>
518
515
  </td>
519
516
  </tr>
520
517
 
@@ -764,7 +761,7 @@ import {
764
761
  signal,
765
762
  SimpleChanges,
766
763
  viewChild,
767
- ViewEncapsulation,
764
+ ViewEncapsulation, AfterViewInit,
768
765
  } from &#x27;@angular/core&#x27;;
769
766
  import { MatRippleModule } from &#x27;@angular/material/core&#x27;;
770
767
  import { MatDividerModule } from &#x27;@angular/material/divider&#x27;;
@@ -776,6 +773,7 @@ import {
776
773
  RouterLinkActive,
777
774
  } from &#x27;@angular/router&#x27;;
778
775
  import { IconDirective } from &#x27;@rxap/material-directives/icon&#x27;;
776
+ import { coerceArray } from &#x27;@rxap/utilities&#x27;;
779
777
  import {
780
778
  debounceTime,
781
779
  Subscription,
@@ -794,44 +792,43 @@ import {
794
792
  import { NavigationComponent } from &#x27;../navigation.component&#x27;;
795
793
 
796
794
  @Component({
797
- // eslint-disable-next-line @angular-eslint/component-selector
798
- selector: &#x27;li[rxap-navigation-item]&#x27;,
799
- templateUrl: &#x27;./navigation-item.component.html&#x27;,
800
- styleUrls: [ &#x27;./navigation-item.component.scss&#x27; ],
801
- changeDetection: ChangeDetectionStrategy.OnPush,
802
- encapsulation: ViewEncapsulation.None,
803
- animations: [
804
- trigger(&#x27;sub-nav&#x27;, [
805
- transition(&#x27;:enter&#x27;, [
806
- style({
807
- display: &#x27;block&#x27;,
808
- height: &#x27;0&#x27;,
809
- overflow: &#x27;hidden&#x27;,
810
- }),
811
- animate(150, style({ height: &#x27;*&#x27; })),
812
- ]),
813
- transition(&#x27;:leave&#x27;, [
814
- style({ overflow: &#x27;hidden&#x27; }),
815
- animate(300, style({ height: &#x27;0&#x27; })),
816
- style({ display: &#x27;none&#x27; }),
817
- ]),
818
- ]),
819
- ],
820
- standalone: true,
821
- imports: [
822
- RouterLinkActive,
823
- RouterLink,
824
- NgIf,
825
- MatRippleModule,
826
- MatIconModule,
827
- IconDirective,
828
- MatDividerModule,
829
- forwardRef(() &#x3D;&gt; NavigationComponent),
830
- NgClass,
831
- ]
795
+ // eslint-disable-next-line @angular-eslint/component-selector
796
+ selector: &#x27;li[rxap-navigation-item]&#x27;,
797
+ templateUrl: &#x27;./navigation-item.component.html&#x27;,
798
+ styleUrls: [&#x27;./navigation-item.component.scss&#x27;],
799
+ changeDetection: ChangeDetectionStrategy.OnPush,
800
+ encapsulation: ViewEncapsulation.None,
801
+ animations: [
802
+ trigger(&#x27;sub-nav&#x27;, [
803
+ transition(&#x27;:enter&#x27;, [
804
+ style({
805
+ display: &#x27;block&#x27;,
806
+ height: &#x27;0&#x27;,
807
+ overflow: &#x27;hidden&#x27;,
808
+ }),
809
+ animate(150, style({ height: &#x27;*&#x27; })),
810
+ ]),
811
+ transition(&#x27;:leave&#x27;, [
812
+ style({ overflow: &#x27;hidden&#x27; }),
813
+ animate(300, style({ height: &#x27;0&#x27; })),
814
+ style({ display: &#x27;none&#x27; }),
815
+ ]),
816
+ ]),
817
+ ],
818
+ imports: [
819
+ RouterLinkActive,
820
+ RouterLink,
821
+ NgIf,
822
+ MatRippleModule,
823
+ MatIconModule,
824
+ IconDirective,
825
+ MatDividerModule,
826
+ forwardRef(() &#x3D;&gt; NavigationComponent),
827
+ NgClass,
828
+ ]
832
829
  })
833
830
  export class NavigationItemComponent
834
- implements OnChanges, OnDestroy {
831
+ implements OnChanges, OnDestroy, AfterViewInit {
835
832
 
836
833
  public readonly level &#x3D; input(0);
837
834
 
@@ -879,8 +876,12 @@ export class NavigationItemComponent
879
876
  if (urlParts[0] &#x3D;&#x3D;&#x3D; &#x27;&#x27;) {
880
877
  urlParts[0] &#x3D; &#x27;/&#x27;;
881
878
  }
882
- for (let i &#x3D; 0; i &lt; this.item().routerLink.length; i++) {
883
- if (urlParts[i] !&#x3D;&#x3D; this.item().routerLink[i]) {
879
+ const routerLink &#x3D; coerceArray(this.item().routerLink).map(fragment &#x3D;&gt; fragment.split(&#x27;/&#x27;)).flat();
880
+ if (routerLink[0] &#x3D;&#x3D;&#x3D; &#x27;&#x27;) {
881
+ routerLink[0] &#x3D; &#x27;/&#x27;;
882
+ }
883
+ for (let i &#x3D; 0; i &lt; routerLink.length; i++) {
884
+ if (urlParts[i] !&#x3D;&#x3D; routerLink[i]) {
884
885
  isActive &#x3D; false;
885
886
  break;
886
887
  }
@@ -947,7 +948,7 @@ export class NavigationItemComponent
947
948
  &gt;
948
949
  {{ item().label }}
949
950
  &lt;/span&gt;
950
- &lt;mat-icon *ngIf&#x3D;&quot;item().icon&quot; [rxapIcon]&#x3D;&quot;item().icon&quot;&gt;&lt;/mat-icon&gt;
951
+ &lt;mat-icon *ngIf&#x3D;&quot;item().icon as icon&quot; [rxapIcon]&#x3D;&quot;icon&quot;&gt;&lt;/mat-icon&gt;
951
952
  &lt;/a&gt;
952
953
 
953
954
  &lt;ng-container *ngIf&#x3D;&quot;item().children?.length &amp;&amp; active()&quot;&gt;
@@ -1000,7 +1001,7 @@ export class NavigationItemComponent
1000
1001
  <script src="../js/libs/htmlparser.js"></script>
1001
1002
  <script src="../js/libs/deep-iterator.js"></script>
1002
1003
  <script>
1003
- var COMPONENT_TEMPLATE = '<div><div [ngClass]="{ \'border-l-4 text-accent-400 border-accent-600\': active(), }"> <a [routerLink]="item().routerLink" class="h-12 pl-4 pr-5 flex flex-row justify-between items-center gap-x-4" matRipple routerLinkActive > <span [ngClass]="itemClasses()" class="grow whitespace-nowrap" > {{ item().label }} </span> <mat-icon *ngIf="item().icon" [rxapIcon]="item().icon"></mat-icon> </a> <ng-container *ngIf="item().children?.length && active()"> <mat-divider></mat-divider> <ul [@sub-nav] [items]="children ?? []" [level]="level() + 1" rxap-navigation > </ul> <mat-divider></mat-divider> </ng-container></div></div>'
1004
+ var COMPONENT_TEMPLATE = '<div><div [ngClass]="{ \'border-l-4 text-accent-400 border-accent-600\': active(), }"> <a [routerLink]="item().routerLink" class="h-12 pl-4 pr-5 flex flex-row justify-between items-center gap-x-4" matRipple routerLinkActive > <span [ngClass]="itemClasses()" class="grow whitespace-nowrap" > {{ item().label }} </span> <mat-icon *ngIf="item().icon as icon" [rxapIcon]="icon"></mat-icon> </a> <ng-container *ngIf="item().children?.length && active()"> <mat-divider></mat-divider> <ul [@sub-nav] [items]="children ?? []" [level]="level() + 1" rxap-navigation > </ul> <mat-divider></mat-divider> </ng-container></div></div>'
1004
1005
  var COMPONENTS = [{'name': 'AppsButtonComponent', 'selector': 'rxap-apps-button'},{'name': 'BaseLayoutComponent', 'selector': 'rxap-base-layout'},{'name': 'DefaultHeaderComponent', 'selector': 'rxap-default-header'},{'name': 'FooterComponent', 'selector': 'rxap-footer'},{'name': 'HeaderComponent', 'selector': 'rxap-header'},{'name': 'LayoutComponent', 'selector': 'rxap-layout'},{'name': 'MinimalLayoutComponent', 'selector': 'rxap-minimal-layout'},{'name': 'NavigationComponent', 'selector': 'ul[rxap-navigation]'},{'name': 'NavigationItemComponent', 'selector': 'li[rxap-navigation-item]'},{'name': 'NavigationProgressBarComponent', 'selector': 'rxap-navigation-progress-bar'},{'name': 'ReleaseInfoComponent', 'selector': 'rxap-release-info'},{'name': 'SettingsButtonComponent', 'selector': 'rxap-settings-button'},{'name': 'SidenavComponent', 'selector': 'rxap-sidenav'},{'name': 'SidenavToggleButtonComponent', 'selector': 'rxap-sidenav-toggle-button'},{'name': 'UserProfileIconComponent', 'selector': 'rxap-user-profile-icon'}];
1005
1006
  var DIRECTIVES = [{'name': 'FooterDirective', 'selector': '[rxapFooter]'},{'name': 'HeaderDirective', 'selector': '[rxapHeader]'},{'name': 'SidenavFooterDirective', 'selector': '[rxapSidenavFooter]'},{'name': 'SidenavHeaderDirective', 'selector': '[rxapSidenavHeader]'}];
1006
1007
  var ACTUAL_COMPONENT = {'name': 'NavigationItemComponent'};
@@ -153,10 +153,6 @@
153
153
  <td class="col-md-9"><code>rxap-navigation-progress-bar</code></td>
154
154
  </tr>
155
155
 
156
- <tr>
157
- <td class="col-md-3">standalone</td>
158
- <td class="col-md-9"><code>true</code></td>
159
- </tr>
160
156
 
161
157
  <tr>
162
158
  <td class="col-md-3">imports</td>
@@ -262,7 +258,7 @@
262
258
  </tr>
263
259
  <tr>
264
260
  <td class="col-md-4">
265
- <div class="io-line">Defined in <a href="" data-line="33" class="link-to-prism">src/lib/navigation-progress-bar/navigation-progress-bar.component.ts:33</a></div>
261
+ <div class="io-line">Defined in <a href="" data-line="32" class="link-to-prism">src/lib/navigation-progress-bar/navigation-progress-bar.component.ts:32</a></div>
266
262
  </td>
267
263
  </tr>
268
264
 
@@ -289,7 +285,7 @@
289
285
  </tr>
290
286
  <tr>
291
287
  <td class="col-md-4">
292
- <div class="io-line">Defined in <a href="" data-line="31" class="link-to-prism">src/lib/navigation-progress-bar/navigation-progress-bar.component.ts:31</a></div>
288
+ <div class="io-line">Defined in <a href="" data-line="30" class="link-to-prism">src/lib/navigation-progress-bar/navigation-progress-bar.component.ts:30</a></div>
293
289
  </td>
294
290
  </tr>
295
291
 
@@ -321,14 +317,13 @@ import {
321
317
  } from &#x27;rxjs/operators&#x27;;
322
318
 
323
319
  @Component({
324
- selector: &#x27;rxap-navigation-progress-bar&#x27;,
325
- templateUrl: &#x27;./navigation-progress-bar.component.html&#x27;,
326
- styleUrls: [ &#x27;./navigation-progress-bar.component.scss&#x27; ],
327
- changeDetection: ChangeDetectionStrategy.OnPush,
328
- standalone: true,
329
- imports: [
330
- MatProgressBar,
331
- ],
320
+ selector: &#x27;rxap-navigation-progress-bar&#x27;,
321
+ templateUrl: &#x27;./navigation-progress-bar.component.html&#x27;,
322
+ styleUrls: [&#x27;./navigation-progress-bar.component.scss&#x27;],
323
+ changeDetection: ChangeDetectionStrategy.OnPush,
324
+ imports: [
325
+ MatProgressBar,
326
+ ]
332
327
  })
333
328
  export class NavigationProgressBarComponent {
334
329
 
@@ -149,10 +149,6 @@
149
149
  <td class="col-md-9"><code>rxap-release-info</code></td>
150
150
  </tr>
151
151
 
152
- <tr>
153
- <td class="col-md-3">standalone</td>
154
- <td class="col-md-9"><code>true</code></td>
155
- </tr>
156
152
 
157
153
  <tr>
158
154
  <td class="col-md-3">imports</td>
@@ -263,8 +259,8 @@
263
259
 
264
260
  <tr>
265
261
  <td class="col-md-4">
266
- <div class="io-line">Defined in <a href="" data-line="33"
267
- class="link-to-prism">src/lib/release-info/release-info.component.ts:33</a></div>
262
+ <div class="io-line">Defined in <a href="" data-line="32"
263
+ class="link-to-prism">src/lib/release-info/release-info.component.ts:32</a></div>
268
264
  </td>
269
265
  </tr>
270
266
 
@@ -306,7 +302,7 @@
306
302
  </tr>
307
303
  <tr>
308
304
  <td class="col-md-4">
309
- <div class="io-line">Defined in <a href="" data-line="28" class="link-to-prism">src/lib/release-info/release-info.component.ts:28</a></div>
305
+ <div class="io-line">Defined in <a href="" data-line="27" class="link-to-prism">src/lib/release-info/release-info.component.ts:27</a></div>
310
306
  </td>
311
307
  </tr>
312
308
 
@@ -333,7 +329,7 @@
333
329
  </tr>
334
330
  <tr>
335
331
  <td class="col-md-4">
336
- <div class="io-line">Defined in <a href="" data-line="29" class="link-to-prism">src/lib/release-info/release-info.component.ts:29</a></div>
332
+ <div class="io-line">Defined in <a href="" data-line="28" class="link-to-prism">src/lib/release-info/release-info.component.ts:28</a></div>
337
333
  </td>
338
334
  </tr>
339
335
 
@@ -362,14 +358,13 @@ import { RXAP_RELEASE_INFO_MODULE } from &#x27;../tokens&#x27;;
362
358
  import { coerceArray } from &#x27;@rxap/utilities&#x27;;
363
359
 
364
360
  @Component({
365
- selector: &#x27;rxap-release-info&#x27;,
366
- standalone: true,
367
- imports: [
368
- MatButton,
369
- ],
370
- templateUrl: &#x27;./release-info.component.html&#x27;,
371
- styleUrl: &#x27;./release-info.component.scss&#x27;,
372
- changeDetection: ChangeDetectionStrategy.OnPush,
361
+ selector: &#x27;rxap-release-info&#x27;,
362
+ imports: [
363
+ MatButton,
364
+ ],
365
+ templateUrl: &#x27;./release-info.component.html&#x27;,
366
+ styleUrl: &#x27;./release-info.component.scss&#x27;,
367
+ changeDetection: ChangeDetectionStrategy.OnPush
373
368
  })
374
369
  export class ReleaseInfoComponent {
375
370