@rxap/layout 12.2.3 → 13.0.0-next.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/_theming.scss +1 -1
  2. package/esm2020/index.mjs +59 -0
  3. package/{esm2015/lib/footer/footer.component.js → esm2020/lib/footer/footer.component.mjs} +2 -7
  4. package/esm2020/lib/footer/footer.component.module.mjs +31 -0
  5. package/esm2020/lib/footer.directive.mjs +52 -0
  6. package/esm2020/lib/header/apps-button/apps-button.component.mjs +106 -0
  7. package/esm2020/lib/header/apps-button/apps-button.component.module.mjs +47 -0
  8. package/esm2020/lib/header/header.component.mjs +130 -0
  9. package/esm2020/lib/header/header.component.module.mjs +71 -0
  10. package/esm2020/lib/header/language-selector/language-selector.component.mjs +111 -0
  11. package/esm2020/lib/header/language-selector/language-selector.component.module.mjs +31 -0
  12. package/esm2020/lib/header/navigation-progress-bar/navigation-progress-bar.component.mjs +33 -0
  13. package/esm2020/lib/header/navigation-progress-bar/navigation-progress-bar.component.module.mjs +27 -0
  14. package/esm2020/lib/header/reset-button/reset-button.component.mjs +27 -0
  15. package/esm2020/lib/header/reset-button/reset-button.component.module.mjs +27 -0
  16. package/esm2020/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.mjs +44 -0
  17. package/esm2020/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.module.mjs +31 -0
  18. package/esm2020/lib/header/sign-out/sign-out.component.mjs +31 -0
  19. package/esm2020/lib/header/sign-out/sign-out.component.module.mjs +31 -0
  20. package/esm2020/lib/header/user-profile-icon/user-profile-icon.component.mjs +111 -0
  21. package/esm2020/lib/header/user-profile-icon/user-profile-icon.component.module.mjs +39 -0
  22. package/esm2020/lib/layout/layout.component.mjs +78 -0
  23. package/esm2020/lib/layout/layout.component.module.mjs +71 -0
  24. package/esm2020/lib/layout/layout.component.service.mjs +43 -0
  25. package/esm2020/lib/navigation/navigation-item/navigation-item.component.mjs +286 -0
  26. package/esm2020/lib/navigation/navigation-item.mjs +10 -0
  27. package/esm2020/lib/navigation/navigation.component.mjs +130 -0
  28. package/esm2020/lib/navigation/navigation.component.module.mjs +76 -0
  29. package/esm2020/lib/navigation/navigation.service.mjs +143 -0
  30. package/{esm2015/lib/navigation/replace-router-paths.pipe.js → esm2020/lib/navigation/replace-router-paths.pipe.mjs} +1 -1
  31. package/esm2020/lib/navigation/replace-router-paths.service.mjs +15 -0
  32. package/esm2020/lib/sidenav/sidenav-footer.directive.mjs +19 -0
  33. package/esm2020/lib/sidenav/sidenav-header.directive.mjs +19 -0
  34. package/esm2020/lib/sidenav/sidenav.component.mjs +120 -0
  35. package/esm2020/lib/sidenav/sidenav.component.module.mjs +45 -0
  36. package/esm2020/lib/sidenav/sidenav.component.service.mjs +22 -0
  37. package/esm2020/lib/sidenav/version/version.component.mjs +62 -0
  38. package/esm2020/lib/sidenav/version/version.component.module.mjs +27 -0
  39. package/esm2020/lib/sidenav-content/sidenav-content.component.mjs +45 -0
  40. package/esm2020/lib/sidenav-content/sidenav-content.component.module.mjs +27 -0
  41. package/esm2020/lib/sidenav-content/sidenav-content.component.service.mjs +36 -0
  42. package/esm2020/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.mjs +50 -0
  43. package/esm2020/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.module.mjs +31 -0
  44. package/esm2020/lib/tokens.mjs +8 -0
  45. package/esm2020/lib/types.mjs +2 -0
  46. package/esm2020/lib/window-container-sidenav/window-container-sidenav.component.mjs +73 -0
  47. package/esm2020/lib/window-container-sidenav/window-container-sidenav.component.module.mjs +31 -0
  48. package/esm2020/rxap-layout.mjs +5 -0
  49. package/fesm2015/rxap-layout.mjs +2577 -0
  50. package/fesm2015/rxap-layout.mjs.map +1 -0
  51. package/{fesm2015/rxap-layout.js → fesm2020/rxap-layout.mjs} +212 -355
  52. package/fesm2020/rxap-layout.mjs.map +1 -0
  53. package/package.json +45 -31
  54. package/src/schematics/ng-add/index.js +1 -1
  55. package/src/schematics/ng-add/index.js.map +1 -1
  56. package/bundles/rxap-layout.umd.js +0 -3232
  57. package/bundles/rxap-layout.umd.js.map +0 -1
  58. package/esm2015/index.js +0 -59
  59. package/esm2015/index.js.map +0 -1
  60. package/esm2015/lib/footer/footer.component.js.map +0 -1
  61. package/esm2015/lib/footer/footer.component.module.js +0 -31
  62. package/esm2015/lib/footer/footer.component.module.js.map +0 -1
  63. package/esm2015/lib/footer.directive.js +0 -52
  64. package/esm2015/lib/footer.directive.js.map +0 -1
  65. package/esm2015/lib/header/apps-button/apps-button.component.js +0 -119
  66. package/esm2015/lib/header/apps-button/apps-button.component.js.map +0 -1
  67. package/esm2015/lib/header/apps-button/apps-button.component.module.js +0 -47
  68. package/esm2015/lib/header/apps-button/apps-button.component.module.js.map +0 -1
  69. package/esm2015/lib/header/header.component.js +0 -144
  70. package/esm2015/lib/header/header.component.js.map +0 -1
  71. package/esm2015/lib/header/header.component.module.js +0 -71
  72. package/esm2015/lib/header/header.component.module.js.map +0 -1
  73. package/esm2015/lib/header/language-selector/language-selector.component.js +0 -119
  74. package/esm2015/lib/header/language-selector/language-selector.component.js.map +0 -1
  75. package/esm2015/lib/header/language-selector/language-selector.component.module.js +0 -31
  76. package/esm2015/lib/header/language-selector/language-selector.component.module.js.map +0 -1
  77. package/esm2015/lib/header/navigation-progress-bar/navigation-progress-bar.component.js +0 -39
  78. package/esm2015/lib/header/navigation-progress-bar/navigation-progress-bar.component.js.map +0 -1
  79. package/esm2015/lib/header/navigation-progress-bar/navigation-progress-bar.component.module.js +0 -27
  80. package/esm2015/lib/header/navigation-progress-bar/navigation-progress-bar.component.module.js.map +0 -1
  81. package/esm2015/lib/header/reset-button/reset-button.component.js +0 -34
  82. package/esm2015/lib/header/reset-button/reset-button.component.js.map +0 -1
  83. package/esm2015/lib/header/reset-button/reset-button.component.module.js +0 -27
  84. package/esm2015/lib/header/reset-button/reset-button.component.module.js.map +0 -1
  85. package/esm2015/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.js +0 -50
  86. package/esm2015/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.js.map +0 -1
  87. package/esm2015/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.module.js +0 -31
  88. package/esm2015/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.module.js.map +0 -1
  89. package/esm2015/lib/header/sign-out/sign-out.component.js +0 -38
  90. package/esm2015/lib/header/sign-out/sign-out.component.js.map +0 -1
  91. package/esm2015/lib/header/sign-out/sign-out.component.module.js +0 -31
  92. package/esm2015/lib/header/sign-out/sign-out.component.module.js.map +0 -1
  93. package/esm2015/lib/header/user-profile-icon/user-profile-icon.component.js +0 -126
  94. package/esm2015/lib/header/user-profile-icon/user-profile-icon.component.js.map +0 -1
  95. package/esm2015/lib/header/user-profile-icon/user-profile-icon.component.module.js +0 -39
  96. package/esm2015/lib/header/user-profile-icon/user-profile-icon.component.module.js.map +0 -1
  97. package/esm2015/lib/layout/layout.component.js +0 -89
  98. package/esm2015/lib/layout/layout.component.js.map +0 -1
  99. package/esm2015/lib/layout/layout.component.module.js +0 -71
  100. package/esm2015/lib/layout/layout.component.module.js.map +0 -1
  101. package/esm2015/lib/layout/layout.component.service.js +0 -43
  102. package/esm2015/lib/layout/layout.component.service.js.map +0 -1
  103. package/esm2015/lib/navigation/navigation-item/navigation-item.component.js +0 -299
  104. package/esm2015/lib/navigation/navigation-item/navigation-item.component.js.map +0 -1
  105. package/esm2015/lib/navigation/navigation-item.js +0 -10
  106. package/esm2015/lib/navigation/navigation-item.js.map +0 -1
  107. package/esm2015/lib/navigation/navigation.component.js +0 -138
  108. package/esm2015/lib/navigation/navigation.component.js.map +0 -1
  109. package/esm2015/lib/navigation/navigation.component.module.js +0 -76
  110. package/esm2015/lib/navigation/navigation.component.module.js.map +0 -1
  111. package/esm2015/lib/navigation/navigation.service.js +0 -139
  112. package/esm2015/lib/navigation/navigation.service.js.map +0 -1
  113. package/esm2015/lib/navigation/replace-router-paths.pipe.js.map +0 -1
  114. package/esm2015/lib/navigation/replace-router-paths.service.js +0 -15
  115. package/esm2015/lib/navigation/replace-router-paths.service.js.map +0 -1
  116. package/esm2015/lib/sidenav/sidenav-footer.directive.js +0 -19
  117. package/esm2015/lib/sidenav/sidenav-footer.directive.js.map +0 -1
  118. package/esm2015/lib/sidenav/sidenav-header.directive.js +0 -19
  119. package/esm2015/lib/sidenav/sidenav-header.directive.js.map +0 -1
  120. package/esm2015/lib/sidenav/sidenav.component.js +0 -127
  121. package/esm2015/lib/sidenav/sidenav.component.js.map +0 -1
  122. package/esm2015/lib/sidenav/sidenav.component.module.js +0 -45
  123. package/esm2015/lib/sidenav/sidenav.component.module.js.map +0 -1
  124. package/esm2015/lib/sidenav/sidenav.component.service.js +0 -22
  125. package/esm2015/lib/sidenav/sidenav.component.service.js.map +0 -1
  126. package/esm2015/lib/sidenav/version/version.component.js +0 -70
  127. package/esm2015/lib/sidenav/version/version.component.js.map +0 -1
  128. package/esm2015/lib/sidenav/version/version.component.module.js +0 -27
  129. package/esm2015/lib/sidenav/version/version.component.module.js.map +0 -1
  130. package/esm2015/lib/sidenav-content/sidenav-content.component.js +0 -51
  131. package/esm2015/lib/sidenav-content/sidenav-content.component.js.map +0 -1
  132. package/esm2015/lib/sidenav-content/sidenav-content.component.module.js +0 -27
  133. package/esm2015/lib/sidenav-content/sidenav-content.component.module.js.map +0 -1
  134. package/esm2015/lib/sidenav-content/sidenav-content.component.service.js +0 -36
  135. package/esm2015/lib/sidenav-content/sidenav-content.component.service.js.map +0 -1
  136. package/esm2015/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.js +0 -58
  137. package/esm2015/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.js.map +0 -1
  138. package/esm2015/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.module.js +0 -31
  139. package/esm2015/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.module.js.map +0 -1
  140. package/esm2015/lib/tokens.js +0 -8
  141. package/esm2015/lib/tokens.js.map +0 -1
  142. package/esm2015/lib/types.js +0 -2
  143. package/esm2015/lib/types.js.map +0 -1
  144. package/esm2015/lib/window-container-sidenav/window-container-sidenav.component.js +0 -78
  145. package/esm2015/lib/window-container-sidenav/window-container-sidenav.component.js.map +0 -1
  146. package/esm2015/lib/window-container-sidenav/window-container-sidenav.component.module.js +0 -31
  147. package/esm2015/lib/window-container-sidenav/window-container-sidenav.component.module.js.map +0 -1
  148. package/esm2015/rxap-layout.js +0 -5
  149. package/esm2015/rxap-layout.js.map +0 -1
  150. package/fesm2015/rxap-layout.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, Component, ChangeDetectionStrategy, NgModule, Injectable, Inject, Optional, Input, TemplateRef, Directive, INJECTOR, ElementRef, Renderer2, ViewContainerRef, ViewEncapsulation, ViewChild, HostBinding, HostListener, ChangeDetectorRef, ContentChild, EventEmitter, Output, Pipe } from '@angular/core';
2
+ import { InjectionToken, Component, ChangeDetectionStrategy, NgModule, Input, Injectable, Inject, Optional, TemplateRef, Directive, INJECTOR, ElementRef, Renderer2, ViewContainerRef, ViewEncapsulation, ViewChild, HostBinding, HostListener, ChangeDetectorRef, ContentChild, EventEmitter, Output, Pipe } from '@angular/core';
3
3
  import * as i1 from '@rxap/services';
4
4
  import { HeaderService, ResetService, FooterService, WindowContainerSidenavService, VersionService } from '@rxap/services';
5
5
  import * as i2 from '@angular/common';
@@ -9,45 +9,45 @@ import { MatToolbarModule } from '@angular/material/toolbar';
9
9
  import * as i4 from '@angular/cdk/portal';
10
10
  import { PortalModule, TemplatePortal, ComponentPortal } from '@angular/cdk/portal';
11
11
  import { Subscription, BehaviorSubject, ReplaySubject, of, from, combineLatest } from 'rxjs';
12
- import { filter, map, tap, switchMap, catchError, startWith, delay, skip, distinctUntilChanged } from 'rxjs/operators';
12
+ import { map, filter, tap, switchMap, catchError, startWith, delay, skip, distinctUntilChanged } from 'rxjs/operators';
13
13
  import * as i3$5 from '@angular/material/sidenav';
14
14
  import { MatSidenav, MatSidenavModule } from '@angular/material/sidenav';
15
- import * as i2$2 from '@rxap/authentication';
15
+ import * as i6$1 from '@rxap/authentication';
16
16
  import { UserService, SignOutDirectiveModule } from '@rxap/authentication';
17
17
  import * as i2$1 from '@angular/flex-layout/extended';
18
18
  import * as i1$3 from '@angular/flex-layout/flex';
19
- import * as i1$1 from '@rxap/config';
19
+ import { __decorate, __metadata } from 'tslib';
20
+ import { Required, DebounceCall, coerceBoolean } from '@rxap/utilities';
21
+ import * as i1$1 from '@angular/material/button';
22
+ import { MatButtonModule } from '@angular/material/button';
23
+ import * as i3$1 from '@angular/material/icon';
24
+ import { MatIconModule } from '@angular/material/icon';
25
+ import * as i1$2 from '@rxap/config';
20
26
  import { ConfigService } from '@rxap/config';
21
- import * as i3$1 from '@angular/material/form-field';
27
+ import * as i3$2 from '@angular/material/form-field';
22
28
  import * as i4$1 from '@angular/material/select';
23
29
  import { MatSelectModule } from '@angular/material/select';
24
30
  import * as i5 from '@angular/forms';
25
31
  import { FormsModule } from '@angular/forms';
26
32
  import * as i6 from '@angular/material/core';
27
33
  import { MatRippleModule } from '@angular/material/core';
28
- import * as i1$2 from '@angular/material/button';
29
- import { MatButtonModule } from '@angular/material/button';
30
- import * as i3$2 from '@angular/cdk/overlay';
34
+ import * as i3$3 from '@angular/cdk/overlay';
31
35
  import { OverlayModule, Overlay } from '@angular/cdk/overlay';
32
- import * as i3$3 from '@angular/material/icon';
33
- import { MatIconModule } from '@angular/material/icon';
34
- import * as i1$4 from '@angular/router';
35
- import { Router, NavigationStart, NavigationEnd, NavigationCancel, RouterModule, RouterLinkActive } from '@angular/router';
36
- import * as i2$3 from '@angular/material/progress-bar';
37
- import { MatProgressBarModule } from '@angular/material/progress-bar';
38
- import { __decorate, __metadata } from 'tslib';
39
- import { Required, DebounceCall, coerceBoolean } from '@rxap/utilities';
40
36
  import { isDefined } from '@rxap/utilities/rxjs';
41
- import * as i2$4 from '@angular/material/menu';
37
+ import * as i2$2 from '@angular/material/menu';
42
38
  import { MatMenuModule } from '@angular/material/menu';
43
39
  import * as i3$4 from '@rxap/directives';
44
40
  import { AvatarBackgroundImageDirectiveModule, StopPropagationDirectiveModule } from '@rxap/directives';
41
+ import * as i1$4 from '@angular/router';
42
+ import { Router, NavigationStart, NavigationEnd, NavigationCancel, RouterModule, RouterLinkActive } from '@angular/router';
43
+ import * as i2$3 from '@angular/material/progress-bar';
44
+ import { MatProgressBarModule } from '@angular/material/progress-bar';
45
45
  import { FlexLayoutModule } from '@angular/flex-layout';
46
46
  import { MatGridListModule } from '@angular/material/grid-list';
47
- import * as i2$5 from '@angular/material/divider';
47
+ import * as i2$4 from '@angular/material/divider';
48
48
  import { MatDividerModule } from '@angular/material/divider';
49
49
  import { trigger, transition, style, animate } from '@angular/animations';
50
- import * as i6$1 from '@rxap/material-directives/icon';
50
+ import * as i6$2 from '@rxap/material-directives/icon';
51
51
  import { IconDirectiveModule } from '@rxap/material-directives/icon';
52
52
  import { ButtonComponentModule } from '@rxap/components';
53
53
  import * as i3$6 from '@angular/material/tooltip';
@@ -99,12 +99,7 @@ FooterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FooterCompo
99
99
  } }, directives: [i2.NgIf, i3.MatToolbar, i2.NgForOf, i3.MatToolbarRow, i4.CdkPortalOutlet], pipes: [i2.AsyncPipe], styles: [""], changeDetection: 0 });
100
100
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FooterComponent, [{
101
101
  type: Component,
102
- args: [{
103
- selector: 'rxap-footer',
104
- templateUrl: './footer.component.html',
105
- styleUrls: ['./footer.component.scss'],
106
- changeDetection: ChangeDetectionStrategy.OnPush
107
- }]
102
+ args: [{ selector: 'rxap-footer', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template [ngIf]=\"footerService.portals$ | async\" let-portals>\n <mat-toolbar *ngIf=\"portals.length\" class=\"footer mat-elevation-z1\">\n <mat-toolbar-row *ngFor=\"let portal of portals\">\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n </mat-toolbar-row>\n </mat-toolbar>\n</ng-template>\n", styles: [""] }]
108
103
  }], function () { return [{ type: i1.FooterService }]; }, null); })();
109
104
 
110
105
  class FooterModule {
@@ -132,6 +127,42 @@ FooterModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
132
127
  CommonModule,
133
128
  PortalModule], exports: [FooterComponent] }); })();
134
129
 
130
+ function SidenavToggleButtonComponent_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
131
+ i0.ɵɵelementStart(0, "mat-icon");
132
+ i0.ɵɵtext(1, "menu");
133
+ i0.ɵɵelementEnd();
134
+ } }
135
+ function SidenavToggleButtonComponent_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
136
+ i0.ɵɵelementStart(0, "mat-icon");
137
+ i0.ɵɵtext(1, "menu_open");
138
+ i0.ɵɵelementEnd();
139
+ } }
140
+ class SidenavToggleButtonComponent {
141
+ }
142
+ SidenavToggleButtonComponent.ɵfac = function SidenavToggleButtonComponent_Factory(t) { return new (t || SidenavToggleButtonComponent)(); };
143
+ SidenavToggleButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SidenavToggleButtonComponent, selectors: [["rxap-sidenav-toggle-button"]], hostAttrs: [1, "rxap-sidenav-toggle-button"], inputs: { sidenav: "sidenav" }, decls: 3, vars: 2, consts: [["mat-icon-button", "", 3, "click"], [4, "ngIf"]], template: function SidenavToggleButtonComponent_Template(rf, ctx) { if (rf & 1) {
144
+ i0.ɵɵelementStart(0, "button", 0);
145
+ i0.ɵɵlistener("click", function SidenavToggleButtonComponent_Template_button_click_0_listener() { return ctx.sidenav.toggle(); });
146
+ i0.ɵɵtemplate(1, SidenavToggleButtonComponent_mat_icon_1_Template, 2, 0, "mat-icon", 1);
147
+ i0.ɵɵtemplate(2, SidenavToggleButtonComponent_mat_icon_2_Template, 2, 0, "mat-icon", 1);
148
+ i0.ɵɵelementEnd();
149
+ } if (rf & 2) {
150
+ i0.ɵɵadvance(1);
151
+ i0.ɵɵproperty("ngIf", !ctx.sidenav.opened);
152
+ i0.ɵɵadvance(1);
153
+ i0.ɵɵproperty("ngIf", ctx.sidenav.opened);
154
+ } }, directives: [i1$1.MatButton, i2.NgIf, i3$1.MatIcon], styles: [""], changeDetection: 0 });
155
+ __decorate([
156
+ Required,
157
+ __metadata("design:type", MatSidenav)
158
+ ], SidenavToggleButtonComponent.prototype, "sidenav", void 0);
159
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidenavToggleButtonComponent, [{
160
+ type: Component,
161
+ args: [{ selector: 'rxap-sidenav-toggle-button', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-sidenav-toggle-button' }, template: "<button (click)=\"sidenav.toggle()\" mat-icon-button>\n <mat-icon *ngIf=\"!sidenav.opened\">menu</mat-icon>\n <mat-icon *ngIf=\"sidenav.opened\">menu_open</mat-icon>\n</button>\n", styles: [""] }]
162
+ }], null, { sidenav: [{
163
+ type: Input
164
+ }] }); })();
165
+
135
166
  function LanguageSelectorComponent_ng_template_0_mat_option_3_Template(rf, ctx) { if (rf & 1) {
136
167
  i0.ɵɵelementStart(0, "mat-option", 4);
137
168
  i0.ɵɵtext(1);
@@ -144,15 +175,11 @@ function LanguageSelectorComponent_ng_template_0_mat_option_3_Template(rf, ctx)
144
175
  } }
145
176
  function LanguageSelectorComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
146
177
  const _r4 = i0.ɵɵgetCurrentView();
147
- i0.ɵɵelementStart(0, "div");
148
- i0.ɵɵelementStart(1, "mat-form-field", 1);
149
- i0.ɵɵelementStart(2, "mat-select", 2);
178
+ i0.ɵɵelementStart(0, "div")(1, "mat-form-field", 1)(2, "mat-select", 2);
150
179
  i0.ɵɵlistener("ngModelChange", function LanguageSelectorComponent_ng_template_0_Template_mat_select_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return ctx_r3.language.setLanguage($event); });
151
180
  i0.ɵɵtemplate(3, LanguageSelectorComponent_ng_template_0_mat_option_3_Template, 2, 2, "mat-option", 3);
152
181
  i0.ɵɵpipe(4, "keyvalue");
153
- i0.ɵɵelementEnd();
154
- i0.ɵɵelementEnd();
155
- i0.ɵɵelementEnd();
182
+ i0.ɵɵelementEnd()()();
156
183
  } if (rf & 2) {
157
184
  const ctx_r0 = i0.ɵɵnextContext();
158
185
  i0.ɵɵadvance(2);
@@ -164,13 +191,15 @@ const RXAP_SELECTED_LANGUAGE_LOCAL_STORAGE_KEY = 'rxap__selected_language';
164
191
  const RXAP_SELECTED_LANGUAGE_CHANGE_LOCAL_STORAGE_KEY = 'rxap__selected_language_last_change';
165
192
  class LanguageSelectorService {
166
193
  constructor(config) {
167
- var _a, _b, _c, _d;
168
194
  this.config = config;
169
- this.languages = (_a = this.config.get('i18n.languages')) !== null && _a !== void 0 ? _a : {};
195
+ this.languages = this.config.get('i18n.languages') ?? {};
170
196
  this.defaultLanguage =
171
- (_c = (_b = this.config.get('i18n.defaultLanguage')) !== null && _b !== void 0 ? _b : Object.keys(this.languages)[0]) !== null && _c !== void 0 ? _c : 'en';
197
+ this.config.get('i18n.defaultLanguage') ??
198
+ Object.keys(this.languages)[0] ??
199
+ 'en';
172
200
  this.selectedLanguage =
173
- (_d = localStorage.getItem(RXAP_SELECTED_LANGUAGE_LOCAL_STORAGE_KEY)) !== null && _d !== void 0 ? _d : this.defaultLanguage;
201
+ localStorage.getItem(RXAP_SELECTED_LANGUAGE_LOCAL_STORAGE_KEY) ??
202
+ this.defaultLanguage;
174
203
  }
175
204
  setLanguage(language) {
176
205
  if (language !== this.selectedLanguage) {
@@ -215,7 +244,7 @@ LanguageSelectorService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token:
215
244
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LanguageSelectorService, [{
216
245
  type: Injectable,
217
246
  args: [{ providedIn: 'root' }]
218
- }], function () { return [{ type: i1$1.ConfigService, decorators: [{
247
+ }], function () { return [{ type: i1$2.ConfigService, decorators: [{
219
248
  type: Inject,
220
249
  args: [ConfigService]
221
250
  }] }]; }, null); })();
@@ -230,27 +259,18 @@ LanguageSelectorComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: L
230
259
  i0.ɵɵpipe(1, "keyvalue");
231
260
  } if (rf & 2) {
232
261
  i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 1, ctx.language.languages).length);
233
- } }, directives: [i2.NgIf, i3$1.MatFormField, i4$1.MatSelect, i5.NgControlStatus, i5.NgModel, i2.NgForOf, i6.MatOption], pipes: [i2.KeyValuePipe], styles: [".language-selector[_ngcontent-%COMP%]{width:142px}.language-selector[_ngcontent-%COMP%] .mat-form-field-wrapper{padding-bottom:0}.language-selector[_ngcontent-%COMP%] .mat-form-field-wrapper .mat-form-field-infix{padding:12px 0;border-width:6px}.language-selector[_ngcontent-%COMP%] .mat-form-field-wrapper .mat-form-field-infix .mat-select-arrow-wrapper{transform:translateY(0)}"], changeDetection: 0 });
262
+ } }, directives: [i2.NgIf, i3$2.MatFormField, i4$1.MatSelect, i5.NgControlStatus, i5.NgModel, i2.NgForOf, i6.MatOption], pipes: [i2.KeyValuePipe], styles: [".language-selector[_ngcontent-%COMP%]{width:142px}.language-selector[_ngcontent-%COMP%] .mat-form-field-wrapper{padding-bottom:0}.language-selector[_ngcontent-%COMP%] .mat-form-field-wrapper .mat-form-field-infix{padding:12px 0;border-width:6px}.language-selector[_ngcontent-%COMP%] .mat-form-field-wrapper .mat-form-field-infix .mat-select-arrow-wrapper{transform:translateY(0)}"], changeDetection: 0 });
234
263
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LanguageSelectorComponent, [{
235
264
  type: Component,
236
- args: [{
237
- selector: 'rxap-language-selector',
238
- templateUrl: './language-selector.component.html',
239
- styleUrls: ['./language-selector.component.scss'],
240
- changeDetection: ChangeDetectionStrategy.OnPush,
241
- host: { class: 'rxap-language-selector' },
242
- }]
265
+ args: [{ selector: 'rxap-language-selector', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-language-selector' }, template: "<ng-template [ngIf]=\"(language.languages | keyvalue).length\">\n <div>\n <mat-form-field appearance=\"outline\" class=\"language-selector\">\n <mat-select (ngModelChange)=\"language.setLanguage($event)\" [ngModel]=\"language.selectedLanguage\">\n <mat-option *ngFor=\"let item of language.languages | keyvalue\" [value]=\"item.key\">{{item.value}}</mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n</ng-template>\n", styles: [".language-selector{width:142px}.language-selector ::ng-deep .mat-form-field-wrapper{padding-bottom:0}.language-selector ::ng-deep .mat-form-field-wrapper .mat-form-field-infix{padding:12px 0;border-width:6px}.language-selector ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-select-arrow-wrapper{transform:translateY(0)}\n"] }]
243
266
  }], function () { return [{ type: LanguageSelectorService }]; }, null); })();
244
267
 
245
268
  function AppsButtonComponent_ng_template_0_ng_template_4_li_2_a_1_Template(rf, ctx) { if (rf & 1) {
246
- i0.ɵɵelementStart(0, "a", 9);
247
- i0.ɵɵelementStart(1, "span", 10);
269
+ i0.ɵɵelementStart(0, "a", 9)(1, "span", 10);
248
270
  i0.ɵɵelement(2, "img", 11);
249
271
  i0.ɵɵelementStart(3, "span");
250
272
  i0.ɵɵtext(4);
251
- i0.ɵɵelementEnd();
252
- i0.ɵɵelementEnd();
253
- i0.ɵɵelementEnd();
273
+ i0.ɵɵelementEnd()()();
254
274
  } if (rf & 2) {
255
275
  const item_r4 = i0.ɵɵnextContext().$implicit;
256
276
  i0.ɵɵproperty("href", item_r4.href, i0.ɵɵsanitizeUrl);
@@ -272,11 +292,9 @@ function AppsButtonComponent_ng_template_0_ng_template_4_li_2_Template(rf, ctx)
272
292
  } }
273
293
  const _c1$4 = function (a0) { return { columns: a0 }; };
274
294
  function AppsButtonComponent_ng_template_0_ng_template_4_Template(rf, ctx) { if (rf & 1) {
275
- i0.ɵɵelementStart(0, "div", 4);
276
- i0.ɵɵelementStart(1, "ul", 5);
295
+ i0.ɵɵelementStart(0, "div", 4)(1, "ul", 5);
277
296
  i0.ɵɵtemplate(2, AppsButtonComponent_ng_template_0_ng_template_4_li_2_Template, 2, 4, "li", 6);
278
- i0.ɵɵelementEnd();
279
- i0.ɵɵelementEnd();
297
+ i0.ɵɵelementEnd()();
280
298
  } if (rf & 2) {
281
299
  const ctx_r2 = i0.ɵɵnextContext(2);
282
300
  i0.ɵɵadvance(1);
@@ -290,8 +308,7 @@ function AppsButtonComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
290
308
  i0.ɵɵlistener("click", function AppsButtonComponent_ng_template_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(); return ctx_r7.isOpen = !ctx_r7.isOpen; });
291
309
  i0.ɵɵelementStart(2, "mat-icon");
292
310
  i0.ɵɵtext(3, "apps");
293
- i0.ɵɵelementEnd();
294
- i0.ɵɵelementEnd();
311
+ i0.ɵɵelementEnd()();
295
312
  i0.ɵɵtemplate(4, AppsButtonComponent_ng_template_0_ng_template_4_Template, 3, 4, "ng-template", 3);
296
313
  i0.ɵɵlistener("overlayOutsideClick", function AppsButtonComponent_ng_template_0_Template_ng_template_overlayOutsideClick_4_listener() { i0.ɵɵrestoreView(_r8); const ctx_r9 = i0.ɵɵnextContext(); return ctx_r9.isOpen = false; });
297
314
  } if (rf & 2) {
@@ -302,11 +319,10 @@ function AppsButtonComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
302
319
  } }
303
320
  class AppsButtonComponent {
304
321
  constructor(grid, config) {
305
- var _a;
306
322
  this.config = config;
307
323
  this.isOpen = false;
308
324
  this.grid = [];
309
- this.grid = (_a = grid !== null && grid !== void 0 ? grid : this.config.get('navigation.apps')) !== null && _a !== void 0 ? _a : [];
325
+ this.grid = grid ?? this.config.get('navigation.apps') ?? [];
310
326
  }
311
327
  get gridWithPadding() {
312
328
  const gridWithPadding = this.grid.slice();
@@ -330,182 +346,63 @@ AppsButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AppsBut
330
346
  i0.ɵɵtemplate(0, AppsButtonComponent_ng_template_0_Template, 5, 2, "ng-template", 0);
331
347
  } if (rf & 2) {
332
348
  i0.ɵɵproperty("ngIf", ctx.grid && ctx.grid.length);
333
- } }, directives: [i2.NgIf, i1$2.MatButton, i3$2.CdkOverlayOrigin, i3$3.MatIcon, i3$2.CdkConnectedOverlay, i2$1.DefaultStyleDirective, i2.NgStyle, i2.NgForOf, i2$1.DefaultClassDirective, i2.NgClass, i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutAlignDirective, i1$3.DefaultLayoutGapDirective], styles: [".grid-container[_ngcontent-%COMP%]{padding:8px;border:1px solid rgba(0,0,0,.2);border-radius:8px;box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}.grid[_ngcontent-%COMP%]{list-style-type:none;margin:0;padding:0}.grid[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{border-radius:8px;padding:6px;height:84px;width:84px;transition-delay:0s;transition-duration:.2s;transition-property:tramsform;transition-timing-function:cubic-bezier(.333,0,0,1);position:relative}.grid[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{position:absolute;top:6px;right:6px;left:6px;bottom:6px;text-align:center;text-decoration:none;color:#000}"], changeDetection: 0 });
349
+ } }, directives: [i2.NgIf, i1$1.MatButton, i3$3.CdkOverlayOrigin, i3$1.MatIcon, i3$3.CdkConnectedOverlay, i2$1.DefaultStyleDirective, i2.NgStyle, i2.NgForOf, i2$1.DefaultClassDirective, i2.NgClass, i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutAlignDirective, i1$3.DefaultLayoutGapDirective], styles: [".grid-container[_ngcontent-%COMP%]{padding:8px;border:1px solid rgba(0,0,0,.2);border-radius:8px;box-shadow:0 1px 2px #3c40434d,0 2px 6px 2px #3c404326}.grid[_ngcontent-%COMP%]{list-style-type:none;margin:0;padding:0}.grid[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{border-radius:8px;padding:6px;height:84px;width:84px;transition-delay:0s;transition-duration:.2s;transition-property:tramsform;transition-timing-function:cubic-bezier(.333,0,0,1);position:relative}.grid[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{position:absolute;top:6px;right:6px;left:6px;bottom:6px;text-align:center;text-decoration:none;color:#000}"], changeDetection: 0 });
334
350
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AppsButtonComponent, [{
335
351
  type: Component,
336
- args: [{
337
- selector: 'rxap-apps-button',
338
- templateUrl: './apps-button.component.html',
339
- styleUrls: ['./apps-button.component.scss'],
340
- changeDetection: ChangeDetectionStrategy.OnPush,
341
- host: { class: 'rxap-apps-button' },
342
- }]
352
+ args: [{ selector: 'rxap-apps-button', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-apps-button' }, template: "<ng-template [ngIf]=\"grid && grid.length\">\n <button #trigger=\"cdkOverlayOrigin\" (click)=\"isOpen = !isOpen\" cdkOverlayOrigin mat-icon-button>\n <mat-icon>apps</mat-icon>\n </button>\n\n <ng-template (overlayOutsideClick)=\"isOpen = false\"\n [cdkConnectedOverlayOpen]=\"isOpen\"\n [cdkConnectedOverlayOrigin]=\"trigger\"\n cdkConnectedOverlay>\n\n <div class=\"grid-container\">\n\n <ul [ngStyle]=\"{ columns: columns }\" class=\"grid\">\n <li *ngFor=\"let item of gridWithPadding\" [ngClass]=\"{ empty: item.empty }\">\n <a *ngIf=\"!item.empty\" [href]=\"item.href\">\n\n <span fxLayout=\"column\" fxLayoutAlign=\"start center\" fxLayoutGap=\"12px\">\n <img [src]=\"item.image\" width=\"53px\">\n <span>{{item.label}}</span>\n </span>\n\n </a>\n </li>\n </ul>\n\n </div>\n\n </ng-template>\n</ng-template>\n", styles: [".grid-container{padding:8px;border:1px solid rgba(0,0,0,.2);border-radius:8px;box-shadow:0 1px 2px #3c40434d,0 2px 6px 2px #3c404326}.grid{list-style-type:none;margin:0;padding:0}.grid li{border-radius:8px;padding:6px;height:84px;width:84px;transition-delay:0s;transition-duration:.2s;transition-property:tramsform;transition-timing-function:cubic-bezier(.333,0,0,1);position:relative}.grid li a{position:absolute;top:6px;right:6px;left:6px;bottom:6px;text-align:center;text-decoration:none;color:#000}\n"] }]
343
353
  }], function () { return [{ type: undefined, decorators: [{
344
354
  type: Optional
345
355
  }, {
346
356
  type: Inject,
347
357
  args: [RXAP_LAYOUT_APPS_GRID]
348
- }] }, { type: i1$1.ConfigService, decorators: [{
358
+ }] }, { type: i1$2.ConfigService, decorators: [{
349
359
  type: Inject,
350
360
  args: [ConfigService]
351
361
  }] }]; }, null); })();
352
362
 
353
- class SignOutComponent {
354
- constructor(router) {
355
- this.router = router;
356
- }
357
- redirectToRoot() {
358
- this.router.navigate(['/']);
359
- }
360
- }
361
- SignOutComponent.ɵfac = function SignOutComponent_Factory(t) { return new (t || SignOutComponent)(i0.ɵɵdirectiveInject(Router)); };
362
- SignOutComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutComponent, selectors: [["rxap-sign-out"]], hostAttrs: [1, "rxap-sign-out"], decls: 3, vars: 0, consts: [["rxapSignOut", "", "mat-icon-button", "", 3, "successful"]], template: function SignOutComponent_Template(rf, ctx) { if (rf & 1) {
363
- i0.ɵɵelementStart(0, "button", 0);
364
- i0.ɵɵlistener("successful", function SignOutComponent_Template_button_successful_0_listener() { return ctx.redirectToRoot(); });
365
- i0.ɵɵelementStart(1, "mat-icon");
366
- i0.ɵɵtext(2, "login");
367
- i0.ɵɵelementEnd();
368
- i0.ɵɵelementEnd();
369
- } }, directives: [i1$2.MatButton, i2$2.SignOutDirective, i3$3.MatIcon], styles: [""], changeDetection: 0 });
370
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignOutComponent, [{
371
- type: Component,
372
- args: [{
373
- selector: 'rxap-sign-out',
374
- templateUrl: './sign-out.component.html',
375
- styleUrls: ['./sign-out.component.scss'],
376
- changeDetection: ChangeDetectionStrategy.OnPush,
377
- host: { class: 'rxap-sign-out' }
378
- }]
379
- }], function () { return [{ type: i1$4.Router, decorators: [{
380
- type: Inject,
381
- args: [Router]
382
- }] }]; }, null); })();
383
-
384
- function NavigationProgressBarComponent_mat_progress_bar_0_Template(rf, ctx) { if (rf & 1) {
385
- i0.ɵɵelement(0, "mat-progress-bar", 1);
386
- } }
387
- class NavigationProgressBarComponent {
388
- constructor(router) {
389
- this.router = router;
390
- this.navigating$ = this.router.events.pipe(filter(event => event instanceof NavigationStart ||
391
- event instanceof NavigationEnd ||
392
- event instanceof NavigationCancel), map(event => event instanceof NavigationStart));
393
- }
394
- }
395
- NavigationProgressBarComponent.ɵfac = function NavigationProgressBarComponent_Factory(t) { return new (t || NavigationProgressBarComponent)(i0.ɵɵdirectiveInject(Router)); };
396
- NavigationProgressBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationProgressBarComponent, selectors: [["rxap-navigation-progress-bar"]], hostAttrs: [1, "rxap-navigation-progress-bar"], decls: 2, vars: 3, consts: [["mode", "indeterminate", "color", "accent", 4, "ngIf"], ["mode", "indeterminate", "color", "accent"]], template: function NavigationProgressBarComponent_Template(rf, ctx) { if (rf & 1) {
397
- i0.ɵɵtemplate(0, NavigationProgressBarComponent_mat_progress_bar_0_Template, 1, 0, "mat-progress-bar", 0);
398
- i0.ɵɵpipe(1, "async");
399
- } if (rf & 2) {
400
- i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 1, ctx.navigating$));
401
- } }, directives: [i2.NgIf, i2$3.MatProgressBar], pipes: [i2.AsyncPipe], styles: [""], changeDetection: 0 });
402
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigationProgressBarComponent, [{
403
- type: Component,
404
- args: [{
405
- selector: 'rxap-navigation-progress-bar',
406
- templateUrl: './navigation-progress-bar.component.html',
407
- styleUrls: ['./navigation-progress-bar.component.scss'],
408
- changeDetection: ChangeDetectionStrategy.OnPush,
409
- host: { class: 'rxap-navigation-progress-bar' }
410
- }]
411
- }], function () { return [{ type: i1$4.Router, decorators: [{
412
- type: Inject,
413
- args: [Router]
414
- }] }]; }, null); })();
415
-
416
- function SidenavToggleButtonComponent_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
417
- i0.ɵɵelementStart(0, "mat-icon");
418
- i0.ɵɵtext(1, "menu");
419
- i0.ɵɵelementEnd();
420
- } }
421
- function SidenavToggleButtonComponent_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
422
- i0.ɵɵelementStart(0, "mat-icon");
423
- i0.ɵɵtext(1, "menu_open");
424
- i0.ɵɵelementEnd();
425
- } }
426
- class SidenavToggleButtonComponent {
427
- }
428
- SidenavToggleButtonComponent.ɵfac = function SidenavToggleButtonComponent_Factory(t) { return new (t || SidenavToggleButtonComponent)(); };
429
- SidenavToggleButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SidenavToggleButtonComponent, selectors: [["rxap-sidenav-toggle-button"]], hostAttrs: [1, "rxap-sidenav-toggle-button"], inputs: { sidenav: "sidenav" }, decls: 3, vars: 2, consts: [["mat-icon-button", "", 3, "click"], [4, "ngIf"]], template: function SidenavToggleButtonComponent_Template(rf, ctx) { if (rf & 1) {
430
- i0.ɵɵelementStart(0, "button", 0);
431
- i0.ɵɵlistener("click", function SidenavToggleButtonComponent_Template_button_click_0_listener() { return ctx.sidenav.toggle(); });
432
- i0.ɵɵtemplate(1, SidenavToggleButtonComponent_mat_icon_1_Template, 2, 0, "mat-icon", 1);
433
- i0.ɵɵtemplate(2, SidenavToggleButtonComponent_mat_icon_2_Template, 2, 0, "mat-icon", 1);
434
- i0.ɵɵelementEnd();
435
- } if (rf & 2) {
436
- i0.ɵɵadvance(1);
437
- i0.ɵɵproperty("ngIf", !ctx.sidenav.opened);
438
- i0.ɵɵadvance(1);
439
- i0.ɵɵproperty("ngIf", ctx.sidenav.opened);
440
- } }, directives: [i1$2.MatButton, i2.NgIf, i3$3.MatIcon], styles: [""], changeDetection: 0 });
441
- __decorate([
442
- Required,
443
- __metadata("design:type", MatSidenav)
444
- ], SidenavToggleButtonComponent.prototype, "sidenav", void 0);
445
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidenavToggleButtonComponent, [{
446
- type: Component,
447
- args: [{
448
- selector: 'rxap-sidenav-toggle-button',
449
- templateUrl: './sidenav-toggle-button.component.html',
450
- styleUrls: ['./sidenav-toggle-button.component.scss'],
451
- changeDetection: ChangeDetectionStrategy.OnPush,
452
- host: { class: 'rxap-sidenav-toggle-button' }
453
- }]
454
- }], null, { sidenav: [{
455
- type: Input
456
- }] }); })();
457
-
458
363
  function UserProfileIconComponent_ng_template_5_button_0_Template(rf, ctx) { if (rf & 1) {
459
- i0.ɵɵelementStart(0, "button", 5);
460
- i0.ɵɵelementStart(1, "mat-icon");
364
+ i0.ɵɵelementStart(0, "button", 5)(1, "mat-icon");
461
365
  i0.ɵɵtext(2, "person");
462
366
  i0.ɵɵelementEnd();
463
367
  i0.ɵɵelementStart(3, "span");
464
368
  i0.ɵɵtext(4);
465
- i0.ɵɵelementEnd();
466
- i0.ɵɵelementEnd();
369
+ i0.ɵɵelementEnd()();
467
370
  } if (rf & 2) {
468
371
  const user_r2 = i0.ɵɵnextContext().$implicit;
469
372
  i0.ɵɵadvance(4);
470
373
  i0.ɵɵtextInterpolate2("", user_r2.firstname, " ", user_r2.lastname, "");
471
374
  } }
472
375
  function UserProfileIconComponent_ng_template_5_button_1_Template(rf, ctx) { if (rf & 1) {
473
- i0.ɵɵelementStart(0, "button", 5);
474
- i0.ɵɵelementStart(1, "mat-icon");
376
+ i0.ɵɵelementStart(0, "button", 5)(1, "mat-icon");
475
377
  i0.ɵɵtext(2, "person");
476
378
  i0.ɵɵelementEnd();
477
379
  i0.ɵɵelementStart(3, "span");
478
380
  i0.ɵɵtext(4);
479
- i0.ɵɵelementEnd();
480
- i0.ɵɵelementEnd();
381
+ i0.ɵɵelementEnd()();
481
382
  } if (rf & 2) {
482
383
  const user_r2 = i0.ɵɵnextContext().$implicit;
483
384
  i0.ɵɵadvance(4);
484
385
  i0.ɵɵtextInterpolate(user_r2.name);
485
386
  } }
486
387
  function UserProfileIconComponent_ng_template_5_button_2_Template(rf, ctx) { if (rf & 1) {
487
- i0.ɵɵelementStart(0, "button", 5);
488
- i0.ɵɵelementStart(1, "mat-icon");
388
+ i0.ɵɵelementStart(0, "button", 5)(1, "mat-icon");
489
389
  i0.ɵɵtext(2, "account_circle");
490
390
  i0.ɵɵelementEnd();
491
391
  i0.ɵɵelementStart(3, "span");
492
392
  i0.ɵɵtext(4);
493
- i0.ɵɵelementEnd();
494
- i0.ɵɵelementEnd();
393
+ i0.ɵɵelementEnd()();
495
394
  } if (rf & 2) {
496
395
  const user_r2 = i0.ɵɵnextContext().$implicit;
497
396
  i0.ɵɵadvance(4);
498
397
  i0.ɵɵtextInterpolate(user_r2.username);
499
398
  } }
500
399
  function UserProfileIconComponent_ng_template_5_button_3_Template(rf, ctx) { if (rf & 1) {
501
- i0.ɵɵelementStart(0, "button", 5);
502
- i0.ɵɵelementStart(1, "mat-icon");
400
+ i0.ɵɵelementStart(0, "button", 5)(1, "mat-icon");
503
401
  i0.ɵɵtext(2, "email");
504
402
  i0.ɵɵelementEnd();
505
403
  i0.ɵɵelementStart(3, "span");
506
404
  i0.ɵɵtext(4);
507
- i0.ɵɵelementEnd();
508
- i0.ɵɵelementEnd();
405
+ i0.ɵɵelementEnd()();
509
406
  } if (rf & 2) {
510
407
  const user_r2 = i0.ɵɵnextContext().$implicit;
511
408
  i0.ɵɵadvance(4);
@@ -529,13 +426,12 @@ function UserProfileIconComponent_ng_template_5_Template(rf, ctx) { if (rf & 1)
529
426
  class UserProfileIconComponent {
530
427
  constructor(userService) {
531
428
  this.userService = userService;
532
- this.userProfileUrl$ = this.userService.user$.pipe(isDefined(), map((user) => { var _a; return (_a = user.photoURL) !== null && _a !== void 0 ? _a : user.avatarUrl; }));
533
- this.userName$ = this.userService.user$.pipe(isDefined(), map((user) => {
534
- var _a, _b;
535
- return (_b = (_a = user.name) !== null && _a !== void 0 ? _a : (user.firstname || user.lastname
429
+ this.userProfileUrl$ = this.userService.user$.pipe(isDefined(), map((user) => user.photoURL ?? user.avatarUrl));
430
+ this.userName$ = this.userService.user$.pipe(isDefined(), map((user) => user.name ??
431
+ (user.firstname || user.lastname
536
432
  ? [user.firstname, user.lastname].join(' ').trim()
537
- : null)) !== null && _b !== void 0 ? _b : user.username;
538
- }));
433
+ : null) ??
434
+ user.username));
539
435
  }
540
436
  }
541
437
  UserProfileIconComponent.ɵfac = function UserProfileIconComponent_Factory(t) { return new (t || UserProfileIconComponent)(i0.ɵɵdirectiveInject(UserService)); };
@@ -555,21 +451,65 @@ UserProfileIconComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Us
555
451
  i0.ɵɵproperty("yPosition", "below");
556
452
  i0.ɵɵadvance(2);
557
453
  i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(6, 9, ctx.userService.user$));
558
- } }, directives: [i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutAlignDirective, i2$4.MatMenuTrigger, i3$4.AvatarBackgroundImageDirective, i2$4.MatMenu, i2.NgIf, i2$4.MatMenuItem, i3$3.MatIcon], pipes: [i2.AsyncPipe], styles: [".profile-icon[_ngcontent-%COMP%]{border-radius:100%;border:none;height:32px;width:32px;overflow:hidden;background-position:50%;background-repeat:no-repeat;background-size:cover}.profile-icon[_ngcontent-%COMP%]:hover{cursor:pointer}.profile-icon[_ngcontent-%COMP%]:focus{outline:none}"], changeDetection: 0 });
454
+ } }, directives: [i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutAlignDirective, i2$2.MatMenuTrigger, i3$4.AvatarBackgroundImageDirective, i2$2.MatMenu, i2.NgIf, i2$2.MatMenuItem, i3$1.MatIcon], pipes: [i2.AsyncPipe], styles: [".profile-icon[_ngcontent-%COMP%]{border-radius:100%;border:none;height:32px;width:32px;overflow:hidden;background-position:center center;background-repeat:no-repeat;background-size:cover}.profile-icon[_ngcontent-%COMP%]:hover{cursor:pointer}.profile-icon[_ngcontent-%COMP%]:focus{outline:none}"], changeDetection: 0 });
559
455
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UserProfileIconComponent, [{
560
456
  type: Component,
561
- args: [{
562
- selector: 'rxap-user-profile-icon',
563
- templateUrl: './user-profile-icon.component.html',
564
- styleUrls: ['./user-profile-icon.component.scss'],
565
- changeDetection: ChangeDetectionStrategy.OnPush,
566
- host: { class: 'rxap-user-profile-icon' },
567
- }]
568
- }], function () { return [{ type: i2$2.UserService, decorators: [{
457
+ args: [{ selector: 'rxap-user-profile-icon', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-user-profile-icon' }, template: "<button [matMenuTriggerFor]=\"menu\"\n [rxapAvatarBackgroundImage]=\"userProfileUrl$ | async\"\n [name]=\"(userName$ | async) ?? ''\"\n class=\"profile-icon\"\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\">\n</button>\n\n<mat-menu #menu=\"matMenu\" [yPosition]=\"'below'\">\n <ng-template [ngIf]=\"userService.user$ | async\" let-user>\n <button *ngIf=\"user.firstname && user.lastname\" mat-menu-item>\n <mat-icon>person</mat-icon>\n <span>{{user.firstname}} {{user.lastname}}</span>\n </button>\n <button *ngIf=\"user.name\" mat-menu-item>\n <mat-icon>person</mat-icon>\n <span>{{user.name}}</span>\n </button>\n <button *ngIf=\"user.username\" mat-menu-item>\n <mat-icon>account_circle</mat-icon>\n <span>{{user.username}}</span>\n </button>\n <button *ngIf=\"user.email\" mat-menu-item>\n <mat-icon>email</mat-icon>\n <span>{{user.email}}</span>\n </button>\n </ng-template>\n</mat-menu>\n", styles: [".profile-icon{border-radius:100%;border:none;height:32px;width:32px;overflow:hidden;background-position:center center;background-repeat:no-repeat;background-size:cover}.profile-icon:hover{cursor:pointer}.profile-icon:focus{outline:none}\n"] }]
458
+ }], function () { return [{ type: i6$1.UserService, decorators: [{
569
459
  type: Inject,
570
460
  args: [UserService]
571
461
  }] }]; }, null); })();
572
462
 
463
+ class SignOutComponent {
464
+ constructor(router) {
465
+ this.router = router;
466
+ }
467
+ redirectToRoot() {
468
+ this.router.navigate(['/']);
469
+ }
470
+ }
471
+ SignOutComponent.ɵfac = function SignOutComponent_Factory(t) { return new (t || SignOutComponent)(i0.ɵɵdirectiveInject(Router)); };
472
+ SignOutComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutComponent, selectors: [["rxap-sign-out"]], hostAttrs: [1, "rxap-sign-out"], decls: 3, vars: 0, consts: [["rxapSignOut", "", "mat-icon-button", "", 3, "successful"]], template: function SignOutComponent_Template(rf, ctx) { if (rf & 1) {
473
+ i0.ɵɵelementStart(0, "button", 0);
474
+ i0.ɵɵlistener("successful", function SignOutComponent_Template_button_successful_0_listener() { return ctx.redirectToRoot(); });
475
+ i0.ɵɵelementStart(1, "mat-icon");
476
+ i0.ɵɵtext(2, "login");
477
+ i0.ɵɵelementEnd()();
478
+ } }, directives: [i1$1.MatButton, i6$1.SignOutDirective, i3$1.MatIcon], styles: [""], changeDetection: 0 });
479
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignOutComponent, [{
480
+ type: Component,
481
+ args: [{ selector: 'rxap-sign-out', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-sign-out' }, template: "<button\n rxapSignOut\n (successful)=\"redirectToRoot()\"\n mat-icon-button\n>\n <mat-icon>login</mat-icon>\n</button>\n", styles: [""] }]
482
+ }], function () { return [{ type: i1$4.Router, decorators: [{
483
+ type: Inject,
484
+ args: [Router]
485
+ }] }]; }, null); })();
486
+
487
+ function NavigationProgressBarComponent_mat_progress_bar_0_Template(rf, ctx) { if (rf & 1) {
488
+ i0.ɵɵelement(0, "mat-progress-bar", 1);
489
+ } }
490
+ class NavigationProgressBarComponent {
491
+ constructor(router) {
492
+ this.router = router;
493
+ this.navigating$ = this.router.events.pipe(filter(event => event instanceof NavigationStart ||
494
+ event instanceof NavigationEnd ||
495
+ event instanceof NavigationCancel), map(event => event instanceof NavigationStart));
496
+ }
497
+ }
498
+ NavigationProgressBarComponent.ɵfac = function NavigationProgressBarComponent_Factory(t) { return new (t || NavigationProgressBarComponent)(i0.ɵɵdirectiveInject(Router)); };
499
+ NavigationProgressBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationProgressBarComponent, selectors: [["rxap-navigation-progress-bar"]], hostAttrs: [1, "rxap-navigation-progress-bar"], decls: 2, vars: 3, consts: [["mode", "indeterminate", "color", "accent", 4, "ngIf"], ["mode", "indeterminate", "color", "accent"]], template: function NavigationProgressBarComponent_Template(rf, ctx) { if (rf & 1) {
500
+ i0.ɵɵtemplate(0, NavigationProgressBarComponent_mat_progress_bar_0_Template, 1, 0, "mat-progress-bar", 0);
501
+ i0.ɵɵpipe(1, "async");
502
+ } if (rf & 2) {
503
+ i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 1, ctx.navigating$));
504
+ } }, directives: [i2.NgIf, i2$3.MatProgressBar], pipes: [i2.AsyncPipe], styles: [""], changeDetection: 0 });
505
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigationProgressBarComponent, [{
506
+ type: Component,
507
+ args: [{ selector: 'rxap-navigation-progress-bar', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-navigation-progress-bar' }, template: "<mat-progress-bar\n *ngIf=\"navigating$ | async\"\n mode=\"indeterminate\"\n color=\"accent\"\n></mat-progress-bar>\n", styles: [""] }]
508
+ }], function () { return [{ type: i1$4.Router, decorators: [{
509
+ type: Inject,
510
+ args: [Router]
511
+ }] }]; }, null); })();
512
+
573
513
  function HeaderComponent_mat_toolbar_row_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
574
514
  i0.ɵɵelementContainer(0);
575
515
  } }
@@ -592,13 +532,9 @@ function HeaderComponent_rxap_user_profile_icon_9_Template(rf, ctx) { if (rf & 1
592
532
  i0.ɵɵelement(0, "rxap-user-profile-icon", 5);
593
533
  } }
594
534
  function HeaderComponent_div_11_Template(rf, ctx) { if (rf & 1) {
595
- i0.ɵɵelementStart(0, "div", 5);
596
- i0.ɵɵelementStart(1, "button", 9);
597
- i0.ɵɵelementStart(2, "mat-icon");
535
+ i0.ɵɵelementStart(0, "div", 5)(1, "button", 9)(2, "mat-icon");
598
536
  i0.ɵɵtext(3, "settings");
599
- i0.ɵɵelementEnd();
600
- i0.ɵɵelementEnd();
601
- i0.ɵɵelementEnd();
537
+ i0.ɵɵelementEnd()()();
602
538
  } if (rf & 2) {
603
539
  const ctx_r3 = i0.ɵɵnextContext();
604
540
  i0.ɵɵadvance(1);
@@ -634,21 +570,17 @@ HeaderComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderCompo
634
570
  i0.ɵɵprojectionDef();
635
571
  i0.ɵɵelementStart(0, "mat-toolbar", 0);
636
572
  i0.ɵɵtemplate(1, HeaderComponent_mat_toolbar_row_1_Template, 2, 1, "mat-toolbar-row", 1);
637
- i0.ɵɵelementStart(2, "mat-toolbar-row");
638
- i0.ɵɵelementStart(3, "div", 2);
573
+ i0.ɵɵelementStart(2, "mat-toolbar-row")(3, "div", 2);
639
574
  i0.ɵɵtemplate(4, HeaderComponent_rxap_sidenav_toggle_button_4_Template, 1, 1, "rxap-sidenav-toggle-button", 3);
640
575
  i0.ɵɵelementStart(5, "div", 4);
641
576
  i0.ɵɵprojection(6);
642
577
  i0.ɵɵelementEnd();
643
- i0.ɵɵelement(7, "rxap-language-selector", 5);
644
- i0.ɵɵelement(8, "rxap-apps-button", 5);
578
+ i0.ɵɵelement(7, "rxap-language-selector", 5)(8, "rxap-apps-button", 5);
645
579
  i0.ɵɵtemplate(9, HeaderComponent_rxap_user_profile_icon_9_Template, 1, 0, "rxap-user-profile-icon", 6);
646
580
  i0.ɵɵpipe(10, "async");
647
581
  i0.ɵɵtemplate(11, HeaderComponent_div_11_Template, 4, 1, "div", 6);
648
582
  i0.ɵɵelement(12, "rxap-sign-out", 5);
649
- i0.ɵɵelementEnd();
650
- i0.ɵɵelementEnd();
651
- i0.ɵɵelementEnd();
583
+ i0.ɵɵelementEnd()()();
652
584
  i0.ɵɵelement(13, "rxap-navigation-progress-bar");
653
585
  } if (rf & 2) {
654
586
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$4, ctx.sidenav == null ? null : ctx.sidenav.opened))("color", ctx.color);
@@ -660,22 +592,16 @@ HeaderComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderCompo
660
592
  i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(10, 6, ctx.hasUser$));
661
593
  i0.ɵɵadvance(2);
662
594
  i0.ɵɵproperty("ngIf", ctx.settingsMenuPanel);
663
- } }, directives: [i3.MatToolbar, i2$1.DefaultClassDirective, i2.NgClass, i2.NgForOf, i3.MatToolbarRow, i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutAlignDirective, i1$3.DefaultLayoutGapDirective, i2.NgIf, i1$3.DefaultFlexDirective, LanguageSelectorComponent, AppsButtonComponent, SignOutComponent, NavigationProgressBarComponent, i2.NgComponentOutlet, SidenavToggleButtonComponent, UserProfileIconComponent, i1$2.MatButton, i2$4.MatMenuTrigger, i3$3.MatIcon], pipes: [i2.AsyncPipe], styles: [".content[_ngcontent-%COMP%]{width:100%;height:64px}"], changeDetection: 0 });
595
+ } }, directives: [i3.MatToolbar, i2$1.DefaultClassDirective, i2.NgClass, i2.NgForOf, i3.MatToolbarRow, i2.NgComponentOutlet, i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutAlignDirective, i1$3.DefaultLayoutGapDirective, i2.NgIf, SidenavToggleButtonComponent, i1$3.DefaultFlexDirective, LanguageSelectorComponent, AppsButtonComponent, UserProfileIconComponent, i1$1.MatButton, i2$2.MatMenuTrigger, i3$1.MatIcon, SignOutComponent, NavigationProgressBarComponent], pipes: [i2.AsyncPipe], styles: [".content[_ngcontent-%COMP%]{width:100%;height:64px}"], changeDetection: 0 });
664
596
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HeaderComponent, [{
665
597
  type: Component,
666
- args: [{
667
- selector: 'rxap-header',
668
- templateUrl: './header.component.html',
669
- styleUrls: ['./header.component.scss'],
670
- changeDetection: ChangeDetectionStrategy.OnPush,
671
- host: {
598
+ args: [{ selector: 'rxap-header', changeDetection: ChangeDetectionStrategy.OnPush, host: {
672
599
  class: 'rxap-layout-header',
673
- },
674
- }]
600
+ }, template: "<mat-toolbar [ngClass]=\"{ open: sidenav?.opened }\" [color]=\"color\" class=\"mat-elevation-z3\">\n <mat-toolbar-row *ngFor=\"let headerComponent of components\">\n <ng-container *ngComponentOutlet=\"headerComponent\"></ng-container>\n </mat-toolbar-row>\n <mat-toolbar-row>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"space-between center\"\n fxLayoutGap=\"16px\"\n class=\"content\"\n >\n <rxap-sidenav-toggle-button *ngIf=\"sidenav\" fxFlex=\"nogrow\" [sidenav]=\"sidenav\"></rxap-sidenav-toggle-button>\n <div fxFlex=\"grow\">\n <ng-content></ng-content>\n </div>\n <rxap-language-selector fxFlex=\"nogrow\"></rxap-language-selector>\n <rxap-apps-button fxFlex=\"nogrow\"></rxap-apps-button>\n <rxap-user-profile-icon *ngIf=\"hasUser$ | async\" fxFlex=\"nogrow\"></rxap-user-profile-icon>\n <div fxFlex=\"nogrow\" *ngIf=\"settingsMenuPanel\">\n <button mat-icon-button [matMenuTriggerFor]=\"settingsMenuPanel\">\n <mat-icon>settings</mat-icon>\n </button>\n </div>\n <rxap-sign-out fxFlex=\"nogrow\"></rxap-sign-out>\n </div>\n </mat-toolbar-row>\n</mat-toolbar>\n<rxap-navigation-progress-bar></rxap-navigation-progress-bar>\n", styles: [".content{width:100%;height:64px}\n"] }]
675
601
  }], function () { return [{ type: i1.HeaderService, decorators: [{
676
602
  type: Inject,
677
603
  args: [HeaderService]
678
- }] }, { type: i2$2.UserService, decorators: [{
604
+ }] }, { type: i6$1.UserService, decorators: [{
679
605
  type: Inject,
680
606
  args: [UserService]
681
607
  }] }, { type: undefined, decorators: [{
@@ -805,18 +731,11 @@ ResetButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ResetB
805
731
  i0.ɵɵlistener("click", function ResetButtonComponent_Template_button_click_0_listener() { return ctx.resetService.resetAll(); });
806
732
  i0.ɵɵelementStart(1, "mat-icon");
807
733
  i0.ɵɵtext(2, "refresh");
808
- i0.ɵɵelementEnd();
809
- i0.ɵɵelementEnd();
810
- } }, directives: [i1$2.MatButton, i3$3.MatIcon], styles: [""], changeDetection: 0 });
734
+ i0.ɵɵelementEnd()();
735
+ } }, directives: [i1$1.MatButton, i3$1.MatIcon], styles: [""], changeDetection: 0 });
811
736
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ResetButtonComponent, [{
812
737
  type: Component,
813
- args: [{
814
- selector: 'rxap-reset-button',
815
- templateUrl: './reset-button.component.html',
816
- styleUrls: ['./reset-button.component.scss'],
817
- changeDetection: ChangeDetectionStrategy.OnPush,
818
- host: { class: 'rxap-reset-button' },
819
- }]
738
+ args: [{ selector: 'rxap-reset-button', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-reset-button' }, template: "<button (click)=\"resetService.resetAll()\" mat-icon-button>\n <mat-icon>refresh</mat-icon>\n</button>\n", styles: [""] }]
820
739
  }], function () { return [{ type: i1.ResetService, decorators: [{
821
740
  type: Inject,
822
741
  args: [ResetService]
@@ -974,7 +893,7 @@ class LayoutComponentService {
974
893
  this.fixedBottomGap$ = this.footerComponentService.portalCount$.pipe(map(count => count * 64));
975
894
  this.fixedTopGap$.next(this.headerComponentService.countComponent * 64);
976
895
  this.headerComponentService.update$.pipe(tap(() => this.fixedTopGap$.next(this.headerComponentService.countComponent * 64))).subscribe();
977
- this.logo = logoConfig !== null && logoConfig !== void 0 ? logoConfig : {
896
+ this.logo = logoConfig ?? {
978
897
  src: '/assets/logo.png',
979
898
  width: '192'
980
899
  };
@@ -990,7 +909,7 @@ LayoutComponentService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: L
990
909
  }, {
991
910
  type: Inject,
992
911
  args: [RXAP_LOGO_CONFIG]
993
- }] }, { type: i1$1.ConfigService, decorators: [{
912
+ }] }, { type: i1$2.ConfigService, decorators: [{
994
913
  type: Inject,
995
914
  args: [ConfigService]
996
915
  }] }]; }, null); })();
@@ -1039,12 +958,12 @@ class SidenavComponentService {
1039
958
  this.collapsed$.next(!this.collapsed$.value);
1040
959
  }
1041
960
  }
1042
- SidenavComponentService.ɵfac = function SidenavComponentService_Factory(t) { return new (t || SidenavComponentService)(i0.ɵɵinject(i1$1.ConfigService)); };
961
+ SidenavComponentService.ɵfac = function SidenavComponentService_Factory(t) { return new (t || SidenavComponentService)(i0.ɵɵinject(i1$2.ConfigService)); };
1043
962
  SidenavComponentService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: SidenavComponentService, factory: SidenavComponentService.ɵfac, providedIn: 'root' });
1044
963
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidenavComponentService, [{
1045
964
  type: Injectable,
1046
965
  args: [{ providedIn: 'root' }]
1047
- }], function () { return [{ type: i1$1.ConfigService }]; }, null); })();
966
+ }], function () { return [{ type: i1$2.ConfigService }]; }, null); })();
1048
967
 
1049
968
  function IsNavigationDividerItem(item) {
1050
969
  return item && item.hasOwnProperty('divider') && item.divider;
@@ -1127,10 +1046,12 @@ class NavigationService {
1127
1046
  })));
1128
1047
  // TODO : dont wait for all status services to complete, but cancel waiting if one returns false
1129
1048
  return combineLatest(isVisibleArray$).pipe(map((isVisibleArray) => isVisibleArray.reduce((acc, isVisible) => acc && isVisible, true)), map((isVisible) => (isVisible ? navigationItem : null)), switchMap((navigationItemOrNull) => {
1130
- var _a;
1131
1049
  if (navigationItemOrNull) {
1132
- if ((_a = navigationItemOrNull.children) === null || _a === void 0 ? void 0 : _a.length) {
1133
- return this.checkNavigationStatusProviders(navigationItemOrNull.children).pipe(map((children) => (Object.assign(Object.assign({}, navigationItemOrNull), { children }))));
1050
+ if (navigationItemOrNull.children?.length) {
1051
+ return this.checkNavigationStatusProviders(navigationItemOrNull.children).pipe(map((children) => ({
1052
+ ...navigationItemOrNull,
1053
+ children,
1054
+ })));
1134
1055
  }
1135
1056
  return of(navigationItemOrNull);
1136
1057
  }
@@ -1153,7 +1074,6 @@ class NavigationService {
1153
1074
  }));
1154
1075
  }
1155
1076
  replaceInserts(navigationWithInserts) {
1156
- var _a;
1157
1077
  const navigation = [];
1158
1078
  for (const navigationItem of navigationWithInserts) {
1159
1079
  if (IsNavigationInsertItem(navigationItem)) {
@@ -1162,7 +1082,10 @@ class NavigationService {
1162
1082
  }
1163
1083
  }
1164
1084
  else if (IsNavigationItem(navigationItem)) {
1165
- navigation.push(Object.assign(Object.assign({}, navigationItem), { children: this.replaceInserts((_a = navigationItem.children) !== null && _a !== void 0 ? _a : []) }));
1085
+ navigation.push({
1086
+ ...navigationItem,
1087
+ children: this.replaceInserts(navigationItem.children ?? []),
1088
+ });
1166
1089
  }
1167
1090
  else if (IsNavigationDividerItem(navigationItem)) {
1168
1091
  navigation.push(navigationItem);
@@ -1224,8 +1147,7 @@ function NavigationItemComponent_ng_template_7_li_2_a_1_Template(rf, ctx) { if (
1224
1147
  i0.ɵɵtemplate(1, NavigationItemComponent_ng_template_7_li_2_a_1_mat_icon_1_Template, 1, 1, "mat-icon", 1);
1225
1148
  i0.ɵɵelementStart(2, "span", 6);
1226
1149
  i0.ɵɵtext(3);
1227
- i0.ɵɵelementEnd();
1228
- i0.ɵɵelementEnd();
1150
+ i0.ɵɵelementEnd()();
1229
1151
  } if (rf & 2) {
1230
1152
  const child_r6 = i0.ɵɵnextContext().$implicit;
1231
1153
  const ctx_r7 = i0.ɵɵnextContext(2);
@@ -1251,8 +1173,7 @@ function NavigationItemComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
1251
1173
  i0.ɵɵlistener("mouseenter", function NavigationItemComponent_ng_template_7_Template_div_mouseenter_0_listener() { i0.ɵɵrestoreView(_r12); const ctx_r11 = i0.ɵɵnextContext(); return ctx_r11.lockeOverlay = true; })("mouseleave", function NavigationItemComponent_ng_template_7_Template_div_mouseleave_0_listener() { i0.ɵɵrestoreView(_r12); const ctx_r13 = i0.ɵɵnextContext(); ctx_r13.lockeOverlay = false; return ctx_r13.onMouseleave(); });
1252
1174
  i0.ɵɵelementStart(1, "ul");
1253
1175
  i0.ɵɵtemplate(2, NavigationItemComponent_ng_template_7_li_2_Template, 2, 1, "li", 9);
1254
- i0.ɵɵelementEnd();
1255
- i0.ɵɵelementEnd();
1176
+ i0.ɵɵelementEnd()();
1256
1177
  } if (rf & 2) {
1257
1178
  const ctx_r4 = i0.ɵɵnextContext();
1258
1179
  i0.ɵɵadvance(2);
@@ -1285,11 +1206,10 @@ class NavigationItemComponent {
1285
1206
  ngAfterViewInit() {
1286
1207
  this._subscription.add(this.router.events
1287
1208
  .pipe(filter((event) => event instanceof NavigationEnd), startWith(true), delay(100), tap(() => {
1288
- var _a;
1289
1209
  if (this.routerLinkActive.isActive) {
1290
1210
  if (!this.sidenav.collapsed$.value) {
1291
1211
  // only close the overlay if sidenav collapsed
1292
- (_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.detach();
1212
+ this._overlayRef?.detach();
1293
1213
  }
1294
1214
  this.renderer.addClass(this.elementRef.nativeElement, 'active');
1295
1215
  }
@@ -1303,13 +1223,12 @@ class NavigationItemComponent {
1303
1223
  // detach the navigation overlay if the sidenav collapsed
1304
1224
  // state is changed
1305
1225
  this._subscription.add(this.sidenav.collapsed$
1306
- .pipe(skip(1), distinctUntilChanged(), tap(() => { var _a; return (_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.detach(); }))
1226
+ .pipe(skip(1), distinctUntilChanged(), tap(() => this._overlayRef?.detach()))
1307
1227
  .subscribe());
1308
1228
  }
1309
1229
  ngOnDestroy() {
1310
- var _a, _b;
1311
- (_a = this._subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
1312
- (_b = this._overlayRef) === null || _b === void 0 ? void 0 : _b.dispose();
1230
+ this._subscription?.unsubscribe();
1231
+ this._overlayRef?.dispose();
1313
1232
  }
1314
1233
  onMouseenter() {
1315
1234
  if (this.children) {
@@ -1336,9 +1255,8 @@ class NavigationItemComponent {
1336
1255
  }
1337
1256
  }
1338
1257
  onMouseleave() {
1339
- var _a;
1340
1258
  if (!this.lockeOverlay) {
1341
- (_a = this._overlayRef) === null || _a === void 0 ? void 0 : _a.detach();
1259
+ this._overlayRef?.detach();
1342
1260
  }
1343
1261
  }
1344
1262
  // region type save item property
@@ -1387,7 +1305,7 @@ NavigationItemComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Nav
1387
1305
  i0.ɵɵproperty("ngIf", !i0.ɵɵpipeBind1(4, 11, ctx.sidenav.collapsed$));
1388
1306
  i0.ɵɵadvance(2);
1389
1307
  i0.ɵɵproperty("ngIf", ctx.routerLinkActive.isActive && !i0.ɵɵpipeBind1(6, 13, ctx.sidenav.collapsed$) && ctx.children);
1390
- } }, styles: [".navigation-overlay-container,.rxap-navigation-item{display:flex;flex-direction:column;min-height:48px}.navigation-overlay-container .navigation-link,.rxap-navigation-item .navigation-link{display:flex;flex-direction:row;align-items:center;text-decoration:none;height:48px}.navigation-overlay-container .navigation-link .icon,.rxap-navigation-item .navigation-link .icon{margin:0 16px}.navigation-overlay-container .navigation-link .label,.rxap-navigation-item .navigation-link .label{padding-right:12px}.navigation-overlay-container .navigation-link.navigation-level-1,.rxap-navigation-item .navigation-link.navigation-level-1{padding-left:52px}.navigation-overlay-container .navigation-link.navigation-level-1 .icon,.rxap-navigation-item .navigation-link.navigation-level-1 .icon{padding-left:0}.navigation-overlay-container .navigation-link.navigation-level-2,.rxap-navigation-item .navigation-link.navigation-level-2{padding-left:88px}.navigation-overlay-container .navigation-link.navigation-level-2 .icon,.rxap-navigation-item .navigation-link.navigation-level-2 .icon{padding-left:0}.navigation-overlay-container{padding:0 16px}.navigation-overlay-container ul{list-style-type:none;margin:0;padding:0}.navigation-overlay-container ul .navigation-link .label{padding-right:0}.navigation-overlay-container ul .navigation-link .icon{margin-left:0}"], encapsulation: 2, data: { animation: [
1308
+ } }, styles: [".rxap-navigation-item,.navigation-overlay-container{display:flex;flex-direction:column;min-height:48px}.rxap-navigation-item .navigation-link,.navigation-overlay-container .navigation-link{display:flex;flex-direction:row;align-items:center;text-decoration:none;height:48px}.rxap-navigation-item .navigation-link .icon,.navigation-overlay-container .navigation-link .icon{margin:0 16px}.rxap-navigation-item .navigation-link .label,.navigation-overlay-container .navigation-link .label{padding-right:12px}.rxap-navigation-item .navigation-link.navigation-level-1,.navigation-overlay-container .navigation-link.navigation-level-1{padding-left:52px}.rxap-navigation-item .navigation-link.navigation-level-1 .icon,.navigation-overlay-container .navigation-link.navigation-level-1 .icon{padding-left:0}.rxap-navigation-item .navigation-link.navigation-level-2,.navigation-overlay-container .navigation-link.navigation-level-2{padding-left:88px}.rxap-navigation-item .navigation-link.navigation-level-2 .icon,.navigation-overlay-container .navigation-link.navigation-level-2 .icon{padding-left:0}.navigation-overlay-container{padding:0 16px}.navigation-overlay-container ul{list-style-type:none;margin:0;padding:0}.navigation-overlay-container ul .navigation-link .label{padding-right:0}.navigation-overlay-container ul .navigation-link .icon{margin-left:0}\n"], encapsulation: 2, data: { animation: [
1391
1309
  trigger('sub-nav', [
1392
1310
  transition(':enter', [
1393
1311
  style({ display: 'block', height: '0', overflow: 'hidden' }),
@@ -1412,16 +1330,9 @@ __decorate([
1412
1330
  ], NavigationItemComponent.prototype, "onMouseleave", null);
1413
1331
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigationItemComponent, [{
1414
1332
  type: Component,
1415
- args: [{
1416
- selector: 'li[rxap-navigation-item]',
1417
- templateUrl: './navigation-item.component.html',
1418
- styleUrls: ['./navigation-item.component.scss'],
1419
- changeDetection: ChangeDetectionStrategy.OnPush,
1420
- encapsulation: ViewEncapsulation.None,
1421
- host: {
1333
+ args: [{ selector: 'li[rxap-navigation-item]', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
1422
1334
  class: 'rxap-navigation-item',
1423
- },
1424
- animations: [
1335
+ }, animations: [
1425
1336
  trigger('sub-nav', [
1426
1337
  transition(':enter', [
1427
1338
  style({ display: 'block', height: '0', overflow: 'hidden' }),
@@ -1433,8 +1344,7 @@ __decorate([
1433
1344
  style({ display: 'none' }),
1434
1345
  ]),
1435
1346
  ]),
1436
- ],
1437
- }]
1347
+ ], template: "<a [routerLink]=\"item.routerLink\"\n routerLinkActive=\"link-active\"\n [matTooltipDisabled]=\"!(sidenav.collapsed$ | async)\"\n [matTooltip]=\"item.label\"\n class=\"navigation-link mat-body-2 mat-body-strong navigation-level-{{level}}\" matRipple>\n <mat-icon *ngIf=\"item.icon\" [rxapIcon]=\"item.icon\" class=\"icon\"></mat-icon>\n <ng-template [ngIf]=\"!(sidenav.collapsed$ | async)\">\n <span class=\"label\">{{ item.label }}</span>\n </ng-template>\n</a>\n\n<ul rxap-navigation\n *ngIf=\"routerLinkActive.isActive && !(sidenav.collapsed$ | async) && children\"\n [@sub-nav]\n [items]=\"children\"\n [level]=\"level + 1\"\n class=\"sub-items\"\n fxFlex=\"nogrow\"\n>\n</ul>\n\n<ng-template #navigationOverlay>\n <div class=\"navigation-overlay-container mat-elevation-z1\"\n (mouseenter)=\"lockeOverlay = true\" (mouseleave)=\"lockeOverlay = false; onMouseleave()\">\n <ul>\n <li *ngFor=\"let child of children\">\n <a *ngIf=\"isNavigationItem(child)\" [routerLink]=\"asNavigationItem(child).routerLink\"\n class=\"navigation-link mat-body-2 mat-body-strong\" matRipple>\n <mat-icon *ngIf=\"asNavigationItem(child).icon\" [rxapIcon]=\"asNavigationItem(child).icon\" class=\"icon\"></mat-icon>\n <span class=\"label\">{{ asNavigationItem(child).label }}</span>\n </a>\n </li>\n </ul>\n </div>\n</ng-template>\n", styles: [".rxap-navigation-item,.navigation-overlay-container{display:flex;flex-direction:column;min-height:48px}.rxap-navigation-item .navigation-link,.navigation-overlay-container .navigation-link{display:flex;flex-direction:row;align-items:center;text-decoration:none;height:48px}.rxap-navigation-item .navigation-link .icon,.navigation-overlay-container .navigation-link .icon{margin:0 16px}.rxap-navigation-item .navigation-link .label,.navigation-overlay-container .navigation-link .label{padding-right:12px}.rxap-navigation-item .navigation-link.navigation-level-1,.navigation-overlay-container .navigation-link.navigation-level-1{padding-left:52px}.rxap-navigation-item .navigation-link.navigation-level-1 .icon,.navigation-overlay-container .navigation-link.navigation-level-1 .icon{padding-left:0}.rxap-navigation-item .navigation-link.navigation-level-2,.navigation-overlay-container .navigation-link.navigation-level-2{padding-left:88px}.rxap-navigation-item .navigation-link.navigation-level-2 .icon,.navigation-overlay-container .navigation-link.navigation-level-2 .icon{padding-left:0}.navigation-overlay-container{padding:0 16px}.navigation-overlay-container ul{list-style-type:none;margin:0;padding:0}.navigation-overlay-container ul .navigation-link .label{padding-right:0}.navigation-overlay-container ul .navigation-link .icon{margin-left:0}\n"] }]
1438
1348
  }], function () { return [{ type: i1$4.Router, decorators: [{
1439
1349
  type: Inject,
1440
1350
  args: [Router]
@@ -1447,7 +1357,7 @@ __decorate([
1447
1357
  }] }, { type: i0.Renderer2, decorators: [{
1448
1358
  type: Inject,
1449
1359
  args: [Renderer2]
1450
- }] }, { type: i3$2.Overlay, decorators: [{
1360
+ }] }, { type: i3$3.Overlay, decorators: [{
1451
1361
  type: Inject,
1452
1362
  args: [Overlay]
1453
1363
  }] }, { type: i0.ViewContainerRef, decorators: [{
@@ -1539,8 +1449,7 @@ class NavigationComponent {
1539
1449
  }
1540
1450
  }
1541
1451
  ngOnDestroy() {
1542
- var _a;
1543
- (_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
1452
+ this.subscription?.unsubscribe();
1544
1453
  }
1545
1454
  // region type save item property
1546
1455
  // required to check the type of the item property in the ngFor loop
@@ -1564,21 +1473,14 @@ NavigationComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Navigat
1564
1473
  i0.ɵɵtemplate(0, NavigationComponent_ng_template_0_Template, 2, 2, "ng-template", 0);
1565
1474
  } if (rf & 2) {
1566
1475
  i0.ɵɵproperty("ngForOf", ctx.items);
1567
- } }, directives: [i2.NgForOf, i2.NgIf, i2$5.MatDivider, i1$3.DefaultFlexDirective, i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutAlignDirective, NavigationItemComponent], pipes: [i2.AsyncPipe], styles: [".rxap-navigation{list-style-type:none;padding:0}.rxap-navigation .divider-title{padding-left:18px;height:28px;align-content:center}"], encapsulation: 2, changeDetection: 0 });
1476
+ } }, directives: [i2.NgForOf, i2.NgIf, i2$4.MatDivider, i1$3.DefaultFlexDirective, i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutAlignDirective, NavigationItemComponent], pipes: [i2.AsyncPipe], styles: [".rxap-navigation{list-style-type:none;padding:0}.rxap-navigation .divider-title{padding-left:18px;height:28px;align-content:center}\n"], encapsulation: 2, changeDetection: 0 });
1568
1477
  __decorate([
1569
1478
  Required,
1570
1479
  __metadata("design:type", Array)
1571
1480
  ], NavigationComponent.prototype, "items", void 0);
1572
1481
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigationComponent, [{
1573
1482
  type: Component,
1574
- args: [{
1575
- selector: 'ul[rxap-navigation]',
1576
- templateUrl: './navigation.component.html',
1577
- styleUrls: ['./navigation.component.scss'],
1578
- changeDetection: ChangeDetectionStrategy.OnPush,
1579
- encapsulation: ViewEncapsulation.None,
1580
- host: { class: 'rxap-navigation' },
1581
- }]
1483
+ args: [{ selector: 'ul[rxap-navigation]', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'rxap-navigation' }, template: "<ng-template [ngForOf]=\"items\" let-item ngFor>\n <ng-template [ngIf]=\"isNavigationDividerItem(item)\">\n <mat-divider fxFlex=\"nogrow\"></mat-divider>\n <div *ngIf=\"!(sidenav.collapsed$ | async)\" class=\"divider-title\" fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start end\">\n <span fxFlex=\"nogrow\" *ngIf=\"item.title\">{{item.title}}</span>\n </div>\n </ng-template>\n <ng-template [ngIf]=\"isNavigationItem(item)\">\n <li class=\"item\" rxap-navigation-item [level]=\"level\" [item]=\"asNavigationItem(item)\"></li>\n </ng-template>\n</ng-template>\n", styles: [".rxap-navigation{list-style-type:none;padding:0}.rxap-navigation .divider-title{padding-left:18px;height:28px;align-content:center}\n"] }]
1582
1484
  }], function () { return [{ type: NavigationService, decorators: [{
1583
1485
  type: Inject,
1584
1486
  args: [NavigationService]
@@ -1652,6 +1554,9 @@ SidenavComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SidenavCom
1652
1554
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sidenavFooterDirective = _t.first);
1653
1555
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sidenavHeaderDirective = _t.first);
1654
1556
  } }, hostAttrs: [1, "rxap-layout-sidenav"], decls: 16, vars: 15, consts: function () { let i18n_0; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
1557
+ /**
1558
+ * @suppress {msgDescriptions}
1559
+ */
1655
1560
  const MSG_EXTERNAL_rxap_layout_navigation_collapse_sidebar$$LIB_SIDENAV_SIDENAV_COMPONENT_TS_1 = goog.getMsg("Collapse sidebar");
1656
1561
  i18n_0 = MSG_EXTERNAL_rxap_layout_navigation_collapse_sidebar$$LIB_SIDENAV_SIDENAV_COMPONENT_TS_1;
1657
1562
  }
@@ -1669,19 +1574,15 @@ SidenavComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SidenavCom
1669
1574
  i0.ɵɵelementStart(7, "button", 6);
1670
1575
  i0.ɵɵlistener("click", function SidenavComponent_Template_button_click_7_listener() { return ctx.sidenav.toggleNavigationCollapse(); });
1671
1576
  i0.ɵɵpipe(8, "async");
1672
- i0.ɵɵelementStart(9, "span", 7);
1673
- i0.ɵɵelementStart(10, "mat-icon", 8);
1577
+ i0.ɵɵelementStart(9, "span", 7)(10, "mat-icon", 8);
1674
1578
  i0.ɵɵtext(11, "double_arrow");
1675
1579
  i0.ɵɵelementEnd();
1676
1580
  i0.ɵɵelementStart(12, "span", 9);
1677
1581
  i0.ɵɵi18n(13, 10);
1678
1582
  i0.ɵɵpipe(14, "async");
1679
- i0.ɵɵelementEnd();
1680
- i0.ɵɵelementEnd();
1681
- i0.ɵɵelementEnd();
1583
+ i0.ɵɵelementEnd()()();
1682
1584
  i0.ɵɵtemplate(15, SidenavComponent_ng_template_15_Template, 5, 7, "ng-template", 2);
1683
- i0.ɵɵelementEnd();
1684
- i0.ɵɵelementEnd();
1585
+ i0.ɵɵelementEnd()();
1685
1586
  } if (rf & 2) {
1686
1587
  let tmp_4_0;
1687
1588
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c2$1, i0.ɵɵpipeBind1(1, 5, ctx.sidenav.collapsed$)));
@@ -1693,18 +1594,12 @@ SidenavComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SidenavCom
1693
1594
  i0.ɵɵproperty("fxHide", i0.ɵɵpipeBind1(14, 9, ctx.sidenav.collapsed$));
1694
1595
  i0.ɵɵadvance(3);
1695
1596
  i0.ɵɵproperty("ngIf", (tmp_4_0 = ctx.sidenavFooterDirective == null ? null : ctx.sidenavFooterDirective.template) !== null && tmp_4_0 !== undefined ? tmp_4_0 : null);
1696
- } }, directives: [i2$1.DefaultClassDirective, i2.NgClass, i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutAlignDirective, i2.NgIf, i1$3.DefaultFlexDirective, NavigationComponent, i2$5.MatDivider, i1$2.MatButton, i1$3.DefaultLayoutGapDirective, i3$3.MatIcon, i2$1.DefaultShowHideDirective, i2.NgTemplateOutlet], pipes: [i2.AsyncPipe], styles: [".container[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%]{height:100%}.container[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{padding-bottom:12px}.container[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%]{padding-top:12px}.container[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%] .nav-container[_ngcontent-%COMP%]{overflow-y:scroll;padding-top:12px}.container[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%] .nav-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:6px}.container[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%] .nav-container[_ngcontent-%COMP%]::-webkit-scrollbar-track{border-radius:2px}.container[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%] .nav-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:10px}.container[_ngcontent-%COMP%] .sidebar-toggle[_ngcontent-%COMP%]{min-height:48px}.container[_ngcontent-%COMP%] .sidebar-toggle[_ngcontent-%COMP%] .sidebar-toggle-inner[_ngcontent-%COMP%]{padding:0}.container[_ngcontent-%COMP%] .sidebar-toggle[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]{transform:rotate(180deg)}.container[_ngcontent-%COMP%] .sidebar-toggle.collapsed[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]{transform:none}.container[_ngcontent-%COMP%] .sidebar-toggle.collapsed[_ngcontent-%COMP%] .sidebar-toggle-inner[_ngcontent-%COMP%]{justify-content:space-around!important}"], changeDetection: 0 });
1597
+ } }, directives: [i2$1.DefaultClassDirective, i2.NgClass, i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutAlignDirective, i2.NgIf, i1$3.DefaultFlexDirective, i2$1.DefaultShowHideDirective, i2.NgTemplateOutlet, i2$4.MatDivider, NavigationComponent, i1$1.MatButton, i1$3.DefaultLayoutGapDirective, i3$1.MatIcon], pipes: [i2.AsyncPipe], styles: [".container[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%]{height:100%}.container[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{padding-bottom:12px}.container[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%]{padding-top:12px}.container[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%] .nav-container[_ngcontent-%COMP%]{overflow-y:scroll;padding-top:12px}.container[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%] .nav-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:6px}.container[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%] .nav-container[_ngcontent-%COMP%]::-webkit-scrollbar-track{border-radius:2px}.container[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%] .nav-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:10px}.container[_ngcontent-%COMP%] .sidebar-toggle[_ngcontent-%COMP%]{min-height:48px}.container[_ngcontent-%COMP%] .sidebar-toggle[_ngcontent-%COMP%] .sidebar-toggle-inner[_ngcontent-%COMP%]{padding:0}.container[_ngcontent-%COMP%] .sidebar-toggle[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]{transform:rotate(180deg)}.container[_ngcontent-%COMP%] .sidebar-toggle.collapsed[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]{transform:initial}.container[_ngcontent-%COMP%] .sidebar-toggle.collapsed[_ngcontent-%COMP%] .sidebar-toggle-inner[_ngcontent-%COMP%]{justify-content:space-around!important}"], changeDetection: 0 });
1697
1598
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidenavComponent, [{
1698
1599
  type: Component,
1699
- args: [{
1700
- selector: 'rxap-sidenav',
1701
- templateUrl: './sidenav.component.html',
1702
- styleUrls: ['./sidenav.component.scss'],
1703
- changeDetection: ChangeDetectionStrategy.OnPush,
1704
- host: {
1600
+ args: [{ selector: 'rxap-sidenav', changeDetection: ChangeDetectionStrategy.OnPush, host: {
1705
1601
  class: 'rxap-layout-sidenav'
1706
- }
1707
- }]
1602
+ }, template: "<div class=\"container\" [ngClass]=\"{ 'collapsed': sidenav.collapsed$ | async }\">\n <div class=\"inner\"\n fxLayout=\"column\"\n fxLayoutAlign=\"space-between stretch\">\n <ng-template [ngIf]=\"sidenavHeaderDirective?.template\">\n <div fxFlex=\"nogrow\" class=\"header\" [fxHide]=\"sidenav.collapsed$ | async\">\n <ng-container *ngTemplateOutlet=\"sidenavHeaderDirective?.template ?? null\"></ng-container>\n </div>\n <mat-divider fxFlex=\"nogrow\" [fxHide]=\"sidenav.collapsed$ | async\"></mat-divider>\n </ng-template>\n <div fxFlex=\"grow\" class=\"nav-container\">\n <ul fxLayout=\"column\" root rxap-navigation></ul>\n </div>\n <mat-divider fxFlex=\"nogrow\"></mat-divider>\n <button mat-button class=\"sidebar-toggle\" [ngClass]=\"{ 'collapsed': sidenav.collapsed$ | async }\" fxFlex=\"nogrow\"\n (click)=\"sidenav.toggleNavigationCollapse()\">\n <span class=\"sidebar-toggle-inner\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"16px\">\n <mat-icon fxFlex=\"nogrow\" class=\"arrow\">double_arrow</mat-icon>\n <span [fxHide]=\"sidenav.collapsed$ | async\" class=\"label\" fxFlex=\"grow\" i18n=\"@@rxap.layout.navigation.collapse-sidebar\">Collapse sidebar</span>\n </span>\n </button>\n <ng-template [ngIf]=\"sidenavFooterDirective?.template ?? null\">\n <mat-divider fxFlex=\"nogrow\" [fxHide]=\"sidenav.collapsed$ | async\"></mat-divider>\n <div fxFlex=\"nogrow\" class=\"footer\" [fxHide]=\"sidenav.collapsed$ | async\">\n <ng-container *ngTemplateOutlet=\"sidenavFooterDirective?.template ?? null\"></ng-container>\n </div>\n </ng-template>\n </div>\n</div>\n", styles: [".container,.container .inner{height:100%}.container .inner .header{padding-bottom:12px}.container .inner .footer{padding-top:12px}.container .inner .nav-container{overflow-y:scroll;padding-top:12px}.container .inner .nav-container::-webkit-scrollbar{width:6px}.container .inner .nav-container::-webkit-scrollbar-track{border-radius:2px}.container .inner .nav-container::-webkit-scrollbar-thumb{border-radius:10px}.container .sidebar-toggle{min-height:48px}.container .sidebar-toggle .sidebar-toggle-inner{padding:0}.container .sidebar-toggle .arrow{transform:rotate(180deg)}.container .sidebar-toggle.collapsed .arrow{transform:initial}.container .sidebar-toggle.collapsed .sidebar-toggle-inner{justify-content:space-around!important}\n"] }]
1708
1603
  }], function () { return [{ type: SidenavComponentService }]; }, { sidenavFooterDirective: [{
1709
1604
  type: ContentChild,
1710
1605
  args: [SidenavFooterDirective]
@@ -1764,8 +1659,7 @@ SidenavContentComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Sid
1764
1659
  i0.ɵɵelementStart(5, "div", 1);
1765
1660
  i0.ɵɵelement(6, "router-outlet");
1766
1661
  i0.ɵɵprojection(7);
1767
- i0.ɵɵelementEnd();
1768
- i0.ɵɵelementEnd();
1662
+ i0.ɵɵelementEnd()();
1769
1663
  } if (rf & 2) {
1770
1664
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$1, i0.ɵɵpipeBind1(1, 2, ctx.sidenav.openedChange)))("ngStyle", i0.ɵɵpureFunction3(12, _c1$1, i0.ɵɵpipeBind1(2, 4, ctx.sccs.innerHeight$), i0.ɵɵpipeBind1(3, 6, ctx.sccs.marginTop$), i0.ɵɵpipeBind1(4, 8, ctx.sccs.marginBottom$)));
1771
1665
  } }, directives: [i2.NgClass, i2.NgStyle, i1$4.RouterOutlet], pipes: [i2.AsyncPipe], styles: [".container[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%]{padding:0;overflow:auto;height:100%}"], changeDetection: 0 });
@@ -1775,12 +1669,7 @@ __decorate([
1775
1669
  ], SidenavContentComponent.prototype, "sidenav", void 0);
1776
1670
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidenavContentComponent, [{
1777
1671
  type: Component,
1778
- args: [{
1779
- selector: 'rxap-sidenav-content',
1780
- templateUrl: './sidenav-content.component.html',
1781
- styleUrls: ['./sidenav-content.component.scss'],
1782
- changeDetection: ChangeDetectionStrategy.OnPush
1783
- }]
1672
+ args: [{ selector: 'rxap-sidenav-content', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"{ 'open': (sidenav.openedChange | async) }\" [ngStyle]=\"{\n height: sccs.innerHeight$ | async,\n marginTop: sccs.marginTop$ | async,\n marginBottom: sccs.marginBottom$ | async\n}\" class=\"container\">\n <!-- <dx-breadcrumb></dx-breadcrumb>-->\n <div class=\"inner\">\n <router-outlet></router-outlet>\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [".container .inner{padding:0;overflow:auto;height:100%}\n"] }]
1784
1673
  }], function () { return [{ type: SidenavContentComponentService }]; }, { sidenav: [{
1785
1674
  type: Input
1786
1675
  }] }); })();
@@ -1809,29 +1698,21 @@ class ToggleWindowSidenavButtonComponent {
1809
1698
  }
1810
1699
  ToggleWindowSidenavButtonComponent.ɵfac = function ToggleWindowSidenavButtonComponent_Factory(t) { return new (t || ToggleWindowSidenavButtonComponent)(); };
1811
1700
  ToggleWindowSidenavButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ToggleWindowSidenavButtonComponent, selectors: [["rxap-toggle-window-sidenav-button"]], hostAttrs: [1, "rxap-toggle-window-sidenav-button"], inputs: { openWindowSidenav: "openWindowSidenav" }, outputs: { openWindowSidenavChange: "openWindowSidenavChange" }, decls: 5, vars: 2, consts: [[1, "toggle-button"], ["mat-icon-button", "", 3, "click"], [3, "ngIfElse", "ngIf"], ["hide", ""]], template: function ToggleWindowSidenavButtonComponent_Template(rf, ctx) { if (rf & 1) {
1812
- i0.ɵɵelementStart(0, "div", 0);
1813
- i0.ɵɵelementStart(1, "button", 1);
1701
+ i0.ɵɵelementStart(0, "div", 0)(1, "button", 1);
1814
1702
  i0.ɵɵlistener("click", function ToggleWindowSidenavButtonComponent_Template_button_click_1_listener() { return ctx.toggle(); });
1815
1703
  i0.ɵɵtemplate(2, ToggleWindowSidenavButtonComponent_ng_template_2_Template, 2, 0, "ng-template", 2);
1816
1704
  i0.ɵɵtemplate(3, ToggleWindowSidenavButtonComponent_ng_template_3_Template, 2, 0, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
1817
- i0.ɵɵelementEnd();
1818
- i0.ɵɵelementEnd();
1705
+ i0.ɵɵelementEnd()();
1819
1706
  } if (rf & 2) {
1820
1707
  const _r1 = i0.ɵɵreference(4);
1821
1708
  i0.ɵɵadvance(2);
1822
1709
  i0.ɵɵproperty("ngIfElse", _r1)("ngIf", !ctx.openWindowSidenav);
1823
- } }, directives: [i1$2.MatButton, i2.NgIf, i3$3.MatIcon], styles: [".toggle-button[_ngcontent-%COMP%]{position:absolute;top:70px;right:0;z-index:10000;border-radius:15px 0 0 15px;border:1px solid #000;background:#000}"], changeDetection: 0 });
1710
+ } }, directives: [i1$1.MatButton, i2.NgIf, i3$1.MatIcon], styles: [".toggle-button[_ngcontent-%COMP%]{position:absolute;top:70px;right:0;z-index:10000;border-radius:15px 0 0 15px;border:1px solid black;background:black}"], changeDetection: 0 });
1824
1711
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToggleWindowSidenavButtonComponent, [{
1825
1712
  type: Component,
1826
- args: [{
1827
- selector: 'rxap-toggle-window-sidenav-button',
1828
- templateUrl: './toggle-window-sidenav-button.component.html',
1829
- styleUrls: ['./toggle-window-sidenav-button.component.scss'],
1830
- changeDetection: ChangeDetectionStrategy.OnPush,
1831
- host: {
1713
+ args: [{ selector: 'rxap-toggle-window-sidenav-button', changeDetection: ChangeDetectionStrategy.OnPush, host: {
1832
1714
  class: 'rxap-toggle-window-sidenav-button'
1833
- }
1834
- }]
1715
+ }, template: "<div class=\"toggle-button\">\n <button (click)=\"toggle()\" mat-icon-button>\n <ng-template [ngIfElse]=\"hide\" [ngIf]=\"!openWindowSidenav\">\n <mat-icon>keyboard_arrow_left</mat-icon>\n </ng-template>\n <ng-template #hide>\n <mat-icon>keyboard_arrow_right</mat-icon>\n </ng-template>\n </button>\n</div>\n", styles: [".toggle-button{position:absolute;top:70px;right:0;z-index:10000;border-radius:15px 0 0 15px;border:1px solid black;background:black}\n"] }]
1835
1716
  }], function () { return []; }, { openWindowSidenav: [{
1836
1717
  type: Input
1837
1718
  }], openWindowSidenavChange: [{
@@ -1895,12 +1776,7 @@ WindowContainerSidenavComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ t
1895
1776
  } }, directives: [i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutGapDirective, i2.NgForOf, i1$3.DefaultFlexDirective, i4.CdkPortalOutlet], styles: [".container[_ngcontent-%COMP%]{padding:8px}"], changeDetection: 0 });
1896
1777
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WindowContainerSidenavComponent, [{
1897
1778
  type: Component,
1898
- args: [{
1899
- selector: 'rxap-window-container-sidenav',
1900
- templateUrl: './window-container-sidenav.component.html',
1901
- styleUrls: ['./window-container-sidenav.component.scss'],
1902
- changeDetection: ChangeDetectionStrategy.OnPush
1903
- }]
1779
+ args: [{ selector: 'rxap-window-container-sidenav', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div fxLayout=\"column\" fxLayoutGap=\"16px\" class=\"container\">\n\n <div fxFlex=\"nogrow\" *ngFor=\"let portalId of portals.keys(); trackBy: trackBy\">\n <ng-template [cdkPortalOutlet]=\"portals.get(portalId)\"></ng-template>\n </div>\n\n</div>\n", styles: [".container{padding:8px}\n"] }]
1904
1780
  }], function () { return [{ type: i1.WindowContainerSidenavService, decorators: [{
1905
1781
  type: Inject,
1906
1782
  args: [WindowContainerSidenavService]
@@ -1929,30 +1805,24 @@ LayoutComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LayoutCompo
1929
1805
  } }, ngContentSelectors: _c1, decls: 18, vars: 24, consts: [[1, "header", 3, "sidenav"], ["autosize", "", 1, "container"], [1, "sidenav", 3, "fixedBottomGap", "fixedInViewport", "fixedTopGap", "mode", "opened"], ["rxapSidenavHeader", ""], [1, "content"], [3, "sidenav"], [3, "openWindowSidenav", "openWindowSidenavChange"], ["mode", "side", "position", "end", 1, "window-container-sidenav", 3, "fixedBottomGap", "fixedInViewport", "fixedTopGap", "opened"], [1, "footer"], ["alt", "logo", 1, "logo", 3, "routerLink", "width", "src"]], template: function LayoutComponent_Template(rf, ctx) { if (rf & 1) {
1930
1806
  i0.ɵɵprojectionDef();
1931
1807
  i0.ɵɵelement(0, "rxap-header", 0);
1932
- i0.ɵɵelementStart(1, "mat-sidenav-container", 1);
1933
- i0.ɵɵelementStart(2, "mat-sidenav", 2);
1808
+ i0.ɵɵelementStart(1, "mat-sidenav-container", 1)(2, "mat-sidenav", 2);
1934
1809
  i0.ɵɵpipe(3, "async");
1935
1810
  i0.ɵɵpipe(4, "async");
1936
1811
  i0.ɵɵpipe(5, "async");
1937
1812
  i0.ɵɵpipe(6, "async");
1938
1813
  i0.ɵɵelementStart(7, "rxap-sidenav");
1939
1814
  i0.ɵɵtemplate(8, LayoutComponent_ng_template_8_Template, 1, 4, "ng-template", 3);
1940
- i0.ɵɵelementEnd();
1941
- i0.ɵɵelementEnd();
1942
- i0.ɵɵelementStart(9, "mat-sidenav-content", 4);
1943
- i0.ɵɵelementStart(10, "rxap-sidenav-content", 5);
1815
+ i0.ɵɵelementEnd()();
1816
+ i0.ɵɵelementStart(9, "mat-sidenav-content", 4)(10, "rxap-sidenav-content", 5);
1944
1817
  i0.ɵɵprojection(11);
1945
1818
  i0.ɵɵelementStart(12, "rxap-toggle-window-sidenav-button", 6);
1946
1819
  i0.ɵɵlistener("openWindowSidenavChange", function LayoutComponent_Template_rxap_toggle_window_sidenav_button_openWindowSidenavChange_12_listener($event) { return ctx.openWindowSidenav = $event; });
1947
- i0.ɵɵelementEnd();
1948
- i0.ɵɵelementEnd();
1949
- i0.ɵɵelementEnd();
1820
+ i0.ɵɵelementEnd()()();
1950
1821
  i0.ɵɵelementStart(13, "mat-sidenav", 7);
1951
1822
  i0.ɵɵpipe(14, "async");
1952
1823
  i0.ɵɵpipe(15, "async");
1953
1824
  i0.ɵɵelement(16, "rxap-window-container-sidenav");
1954
- i0.ɵɵelementEnd();
1955
- i0.ɵɵelementEnd();
1825
+ i0.ɵɵelementEnd()();
1956
1826
  i0.ɵɵelement(17, "rxap-footer", 8);
1957
1827
  } if (rf & 2) {
1958
1828
  let tmp_4_0;
@@ -1966,15 +1836,10 @@ LayoutComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LayoutCompo
1966
1836
  i0.ɵɵproperty("openWindowSidenav", ctx.openWindowSidenav);
1967
1837
  i0.ɵɵadvance(1);
1968
1838
  i0.ɵɵproperty("fixedBottomGap", i0.ɵɵpipeBind1(14, 20, ctx.layoutComponentService.fixedBottomGap$))("fixedInViewport", true)("fixedTopGap", i0.ɵɵpipeBind1(15, 22, ctx.layoutComponentService.fixedTopGap$))("opened", ctx.openWindowSidenav);
1969
- } }, directives: [HeaderComponent, i3$5.MatSidenavContainer, i3$5.MatSidenav, SidenavComponent, SidenavHeaderDirective, i3$5.MatSidenavContent, SidenavContentComponent, ToggleWindowSidenavButtonComponent, WindowContainerSidenavComponent, FooterComponent, i1$4.RouterLink], pipes: [i2.AsyncPipe], styles: [".container[_ngcontent-%COMP%], .content[_ngcontent-%COMP%]{height:100%}.sidenav[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:auto}.sidenav[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{padding:16px}.footer[_ngcontent-%COMP%]{bottom:0}.footer[_ngcontent-%COMP%], .header[_ngcontent-%COMP%]{position:fixed;left:0;right:0;z-index:100}.header[_ngcontent-%COMP%]{top:0}"], changeDetection: 0 });
1839
+ } }, directives: [HeaderComponent, i3$5.MatSidenavContainer, i3$5.MatSidenav, SidenavComponent, SidenavHeaderDirective, i1$4.RouterLink, i3$5.MatSidenavContent, SidenavContentComponent, ToggleWindowSidenavButtonComponent, WindowContainerSidenavComponent, FooterComponent], pipes: [i2.AsyncPipe], styles: [".container[_ngcontent-%COMP%], .content[_ngcontent-%COMP%]{height:100%}.sidenav[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:auto}.sidenav[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{padding:16px}.footer[_ngcontent-%COMP%]{position:fixed;bottom:0;left:0;right:0;z-index:100}.header[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;z-index:100}"], changeDetection: 0 });
1970
1840
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LayoutComponent, [{
1971
1841
  type: Component,
1972
- args: [{
1973
- selector: 'rxap-layout',
1974
- templateUrl: './layout.component.html',
1975
- styleUrls: ['./layout.component.scss'],
1976
- changeDetection: ChangeDetectionStrategy.OnPush,
1977
- }]
1842
+ args: [{ selector: 'rxap-layout', changeDetection: ChangeDetectionStrategy.OnPush, template: "<rxap-header [sidenav]=\"sidenav\" class=\"header\"></rxap-header>\n<mat-sidenav-container autosize class=\"container\">\n <mat-sidenav\n [fixedBottomGap]=\"layoutComponentService.fixedBottomGap$ | async\"\n [fixedInViewport]=\"true\"\n [fixedTopGap]=\"layoutComponentService.fixedTopGap$ | async\"\n [mode]=\"(layoutComponentService.mode$ | async) ?? 'side'\"\n [opened]=\"(layoutComponentService.opened$ | async) ?? true\"\n class=\"sidenav\"\n >\n <rxap-sidenav>\n <ng-template rxapSidenavHeader>\n <img\n [routerLink]=\"['/']\"\n alt=\"logo\"\n class=\"logo\"\n [width]=\"layoutComponentService.logo.width\"\n [src]=\"layoutComponentService.logo.src\"\n />\n </ng-template>\n </rxap-sidenav>\n </mat-sidenav>\n <mat-sidenav-content class=\"content\">\n <rxap-sidenav-content [sidenav]=\"sidenav\">\n <ng-content></ng-content>\n <rxap-toggle-window-sidenav-button [(openWindowSidenav)]=\"openWindowSidenav\"></rxap-toggle-window-sidenav-button>\n </rxap-sidenav-content>\n </mat-sidenav-content>\n <mat-sidenav\n [fixedBottomGap]=\"layoutComponentService.fixedBottomGap$ | async\"\n [fixedInViewport]=\"true\"\n [fixedTopGap]=\"layoutComponentService.fixedTopGap$ | async\"\n [opened]=\"openWindowSidenav\"\n mode=\"side\"\n class=\"window-container-sidenav\"\n position=\"end\"\n >\n <rxap-window-container-sidenav></rxap-window-container-sidenav>\n </mat-sidenav>\n</mat-sidenav-container>\n<rxap-footer class=\"footer\"></rxap-footer>\n", styles: [".container,.content{height:100%}.sidenav{display:flex;align-items:center;justify-content:center;width:auto}.sidenav .logo{padding:16px}.footer{position:fixed;bottom:0;left:0;right:0;z-index:100}.header{position:fixed;top:0;left:0;right:0;z-index:100}\n"] }]
1978
1843
  }], function () { return [{ type: LayoutComponentService }]; }, { sidenav: [{
1979
1844
  type: ViewChild,
1980
1845
  args: [MatSidenav, { static: true }]
@@ -2073,7 +1938,7 @@ NavigationComponentModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports:
2073
1938
  StopPropagationDirectiveModule,
2074
1939
  MatTooltipModule,
2075
1940
  ReplaceRouterPathsPipeModule], exports: [NavigationComponent] }); })();
2076
- i0.ɵɵsetComponentScope(NavigationItemComponent, [i1$4.RouterLinkWithHref, i1$4.RouterLinkActive, i6.MatRipple, i3$6.MatTooltip, i2.NgIf, i3$3.MatIcon, i6$1.IconDirective, NavigationComponent, i1$3.DefaultFlexDirective, i2.NgForOf], [i2.AsyncPipe]);
1941
+ i0.ɵɵsetComponentScope(NavigationItemComponent, [i1$4.RouterLinkWithHref, i1$4.RouterLinkActive, i6.MatRipple, i3$6.MatTooltip, i2.NgIf, i3$1.MatIcon, i6$2.IconDirective, NavigationComponent, i1$3.DefaultFlexDirective, i2.NgForOf], [i2.AsyncPipe]);
2077
1942
 
2078
1943
  class SidenavModule {
2079
1944
  }
@@ -2239,8 +2104,7 @@ LayoutModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
2239
2104
  RouterModule], exports: [LayoutComponent] }); })();
2240
2105
 
2241
2106
  function VersionComponent_div_1_Template(rf, ctx) { if (rf & 1) {
2242
- i0.ɵɵelementStart(0, "div", 2);
2243
- i0.ɵɵelementStart(1, "span", 3);
2107
+ i0.ɵɵelementStart(0, "div", 2)(1, "span", 3);
2244
2108
  i0.ɵɵtext(2);
2245
2109
  i0.ɵɵelementEnd();
2246
2110
  i0.ɵɵelementStart(3, "span", 4);
@@ -2248,8 +2112,7 @@ function VersionComponent_div_1_Template(rf, ctx) { if (rf & 1) {
2248
2112
  i0.ɵɵelementEnd();
2249
2113
  i0.ɵɵelementStart(5, "span", 5);
2250
2114
  i0.ɵɵtext(6);
2251
- i0.ɵɵelementEnd();
2252
- i0.ɵɵelementEnd();
2115
+ i0.ɵɵelementEnd()();
2253
2116
  } if (rf & 2) {
2254
2117
  const module_r1 = ctx.$implicit;
2255
2118
  i0.ɵɵadvance(2);
@@ -2268,8 +2131,7 @@ class VersionComponent {
2268
2131
  this.subscription = this.version.update$.pipe(tap(() => this.modules = this.version.get())).subscribe();
2269
2132
  }
2270
2133
  ngOnDestroy() {
2271
- var _a;
2272
- (_a = this.subscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
2134
+ this.subscription?.unsubscribe();
2273
2135
  }
2274
2136
  }
2275
2137
  VersionComponent.ɵfac = function VersionComponent_Factory(t) { return new (t || VersionComponent)(i0.ɵɵdirectiveInject(VersionService)); };
@@ -2288,12 +2150,7 @@ __decorate([
2288
2150
  ], VersionComponent.prototype, "modules", void 0);
2289
2151
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(VersionComponent, [{
2290
2152
  type: Component,
2291
- args: [{
2292
- selector: 'rxap-version',
2293
- templateUrl: './version.component.html',
2294
- styleUrls: ['./version.component.scss'],
2295
- changeDetection: ChangeDetectionStrategy.OnPush
2296
- }]
2153
+ args: [{ selector: 'rxap-version', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"version\" fxFlex=\"nogrow\" fxLayout=\"column\" fxLayoutAlign=\"start start\" fxLayoutGap=\"8px\">\n <div *ngFor=\"let module of modules | keyvalue\" fxFlex=\"nogrow\" fxLayout=\"column\">\n <span class=\"name\" fxFlex=\"nogrow\">{{module.value.name}}</span>\n <span class=\"semantic\" fxFlex=\"nogrow\">{{module.value.semantic}}</span>\n <span class=\"hash\" fxFlex=\"nogrow\">{{module.value.hash}}</span>\n </div>\n</div>\n", styles: [".version{width:100%;font-size:9px;padding:8px}.version .name{padding-bottom:12px;font-size:10px}\n"] }]
2297
2154
  }], function () { return [{ type: i1.VersionService, decorators: [{
2298
2155
  type: Inject,
2299
2156
  args: [VersionService]
@@ -2373,4 +2230,4 @@ FooterDirectiveModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({});
2373
2230
  */
2374
2231
 
2375
2232
  export { AppsButtonComponent, AppsButtonComponentModule, FooterComponent, FooterDirective, FooterDirectiveModule, FooterModule, HeaderComponent, HeaderModule, IsNavigationDividerItem, IsNavigationInsertItem, IsNavigationItem, LayoutComponent, LayoutComponentService, LayoutModule, NavigationComponent, NavigationComponentModule, NavigationItemComponent, NavigationProgressBarComponent, NavigationProgressBarComponentModule, NavigationService, RXAP_FOOTER_COMPONENT, RXAP_HEADER_COMPONENT, RXAP_LAYOUT_APPS_GRID, RXAP_LOGO_CONFIG, RXAP_NAVIGATION_CONFIG, RXAP_NAVIGATION_CONFIG_INSERTS, ReplaceRouterPathsService, ResetButtonComponent, ResetButtonComponentModule, SidenavComponent, SidenavComponentService, SidenavContentComponent, SidenavContentComponentService, SidenavContentModule, SidenavFooterDirective, SidenavHeaderDirective, SidenavModule, SidenavToggleButtonComponent, SidenavToggleButtonComponentModule, SignOutComponent, SignOutComponentModule, ToggleWindowSidenavButtonComponent, ToggleWindowSidenavButtonModule, UserProfileIconComponent, UserProfileIconComponentModule, VersionComponent, VersionComponentModule, WindowContainerSidenavComponent, WindowContainerSidenavModule };
2376
- //# sourceMappingURL=rxap-layout.js.map
2233
+ //# sourceMappingURL=rxap-layout.mjs.map