@rxap/layout 16.0.0-dev.2 → 16.0.0-dev.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +334 -0
- package/README.md +7 -22
- package/esm2022/index.mjs +1 -1
- package/esm2022/lib/footer/footer.component.mjs +10 -41
- package/esm2022/lib/footer.directive.mjs +21 -22
- package/esm2022/lib/header/apps-button/apps-button.component.mjs +30 -93
- package/esm2022/lib/header/header.component.mjs +48 -119
- package/esm2022/lib/header/language-selector/language-selector.component.mjs +29 -63
- package/esm2022/lib/header/navigation-progress-bar/navigation-progress-bar.component.mjs +15 -24
- package/esm2022/lib/header/reset-button/reset-button.component.mjs +12 -19
- package/esm2022/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.mjs +11 -33
- package/esm2022/lib/header/sign-out/sign-out.component.mjs +12 -19
- package/esm2022/lib/header/user-profile-icon/user-profile-icon.component.mjs +21 -103
- package/esm2022/lib/layout/layout.component.mjs +24 -80
- package/esm2022/lib/layout/layout.component.module.mjs +18 -20
- package/esm2022/lib/layout/layout.component.service.mjs +21 -22
- package/esm2022/lib/navigation/navigation-item/navigation-item.component.mjs +99 -195
- package/esm2022/lib/navigation/navigation-item.mjs +4 -4
- package/esm2022/lib/navigation/navigation.component.mjs +36 -91
- package/esm2022/lib/navigation/navigation.service.mjs +28 -27
- package/esm2022/lib/navigation/replace-router-paths.service.mjs +9 -10
- package/esm2022/lib/sidenav/sidenav-footer.directive.mjs +15 -16
- package/esm2022/lib/sidenav/sidenav-header.directive.mjs +15 -16
- package/esm2022/lib/sidenav/sidenav.component.mjs +29 -121
- package/esm2022/lib/sidenav/sidenav.component.service.mjs +8 -9
- package/esm2022/lib/sidenav/version/version.component.mjs +15 -43
- package/esm2022/lib/sidenav-content/sidenav-content.component.mjs +12 -31
- package/esm2022/lib/sidenav-content/sidenav-content.component.service.mjs +19 -20
- package/esm2022/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.mjs +15 -38
- package/esm2022/lib/tokens.mjs +1 -1
- package/esm2022/lib/types.mjs +1 -1
- package/esm2022/lib/window-container-sidenav/window-container-sidenav.component.mjs +14 -33
- package/esm2022/rxap-layout.mjs +1 -1
- package/fesm2022/rxap-layout.mjs +473 -1168
- package/fesm2022/rxap-layout.mjs.map +1 -1
- package/lib/footer.directive.d.ts +1 -1
- package/lib/header/header.component.d.ts +2 -2
- package/lib/navigation/navigation-item/navigation-item.component.d.ts +3 -3
- package/lib/navigation/navigation-item.d.ts +1 -1
- package/lib/navigation/navigation.component.d.ts +2 -2
- package/lib/navigation/navigation.service.d.ts +1 -1
- package/lib/sidenav/version/version.component.d.ts +2 -2
- package/lib/sidenav-content/sidenav-content.component.d.ts +1 -3
- package/lib/sidenav-content/sidenav-content.component.service.d.ts +1 -1
- package/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.d.ts +2 -4
- package/lib/window-container-sidenav/window-container-sidenav.component.d.ts +1 -1
- package/package.json +73 -66
- package/src/lib/header/apps-button/_apps-button.component.theme.scss +45 -0
- package/src/lib/navigation/_navigation.component.theme.scss +33 -0
- package/src/lib/navigation/navigation-item/_navigation-item.component.theme.scss +45 -0
- package/src/lib/sidenav/_sidenav.component.theme.scss +65 -0
- package/src/lib/toggle-window-sidenav-button/_toggle-window-sidenav-button.component.theme.scss +15 -0
- package/LICENSE +0 -21
- package/collection.json +0 -10
- package/migration.json +0 -4
- package/src/schematics/ng-add/index.d.ts +0 -2
- package/src/schematics/ng-add/index.js +0 -8
- package/src/schematics/ng-add/index.js.map +0 -1
- package/src/schematics/ng-add/schema.json +0 -7
package/fesm2022/rxap-layout.mjs
CHANGED
|
@@ -23,7 +23,7 @@ import * as i2$2 from '@angular/material/icon';
|
|
|
23
23
|
import { MatIconModule } from '@angular/material/icon';
|
|
24
24
|
import * as i1$2 from '@angular/material/button';
|
|
25
25
|
import { MatButtonModule } from '@angular/material/button';
|
|
26
|
-
import { isDefined } from '@rxap/
|
|
26
|
+
import { isDefined } from '@rxap/rxjs';
|
|
27
27
|
import { AvatarBackgroundImageDirective } from '@rxap/directives';
|
|
28
28
|
import * as i1$3 from '@angular/flex-layout/flex';
|
|
29
29
|
import { FlexModule } from '@angular/flex-layout/flex';
|
|
@@ -57,51 +57,18 @@ const RXAP_HEADER_COMPONENT = new InjectionToken('rxap/layout/header-component')
|
|
|
57
57
|
const RXAP_LOGO_CONFIG = new InjectionToken('rxap/layout/logo-config');
|
|
58
58
|
const RXAP_LAYOUT_APPS_GRID = new InjectionToken('rxap/layout/apps-grid');
|
|
59
59
|
|
|
60
|
-
function FooterComponent_ng_template_0_mat_toolbar_0_mat_toolbar_row_1_ng_template_1_Template(rf, ctx) { }
|
|
61
|
-
function FooterComponent_ng_template_0_mat_toolbar_0_mat_toolbar_row_1_Template(rf, ctx) { if (rf & 1) {
|
|
62
|
-
i0.ɵɵelementStart(0, "mat-toolbar-row");
|
|
63
|
-
i0.ɵɵtemplate(1, FooterComponent_ng_template_0_mat_toolbar_0_mat_toolbar_row_1_ng_template_1_Template, 0, 0, "ng-template", 4);
|
|
64
|
-
i0.ɵɵelementEnd();
|
|
65
|
-
} if (rf & 2) {
|
|
66
|
-
const portal_r4 = ctx.$implicit;
|
|
67
|
-
i0.ɵɵadvance(1);
|
|
68
|
-
i0.ɵɵproperty("cdkPortalOutlet", portal_r4);
|
|
69
|
-
} }
|
|
70
|
-
function FooterComponent_ng_template_0_mat_toolbar_0_Template(rf, ctx) { if (rf & 1) {
|
|
71
|
-
i0.ɵɵelementStart(0, "mat-toolbar", 2);
|
|
72
|
-
i0.ɵɵtemplate(1, FooterComponent_ng_template_0_mat_toolbar_0_mat_toolbar_row_1_Template, 2, 1, "mat-toolbar-row", 3);
|
|
73
|
-
i0.ɵɵelementEnd();
|
|
74
|
-
} if (rf & 2) {
|
|
75
|
-
const portals_r1 = i0.ɵɵnextContext().$implicit;
|
|
76
|
-
i0.ɵɵadvance(1);
|
|
77
|
-
i0.ɵɵproperty("ngForOf", portals_r1);
|
|
78
|
-
} }
|
|
79
|
-
function FooterComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
80
|
-
i0.ɵɵtemplate(0, FooterComponent_ng_template_0_mat_toolbar_0_Template, 2, 1, "mat-toolbar", 1);
|
|
81
|
-
} if (rf & 2) {
|
|
82
|
-
const portals_r1 = ctx.$implicit;
|
|
83
|
-
i0.ɵɵproperty("ngIf", portals_r1.length);
|
|
84
|
-
} }
|
|
85
60
|
class FooterComponent {
|
|
86
61
|
constructor(footerService) {
|
|
87
62
|
this.footerService = footerService;
|
|
88
63
|
}
|
|
89
|
-
static { this.ɵfac =
|
|
90
|
-
static { this.ɵcmp =
|
|
91
|
-
i0.ɵɵtemplate(0, FooterComponent_ng_template_0_Template, 1, 1, "ng-template", 0);
|
|
92
|
-
i0.ɵɵpipe(1, "async");
|
|
93
|
-
} if (rf & 2) {
|
|
94
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 1, ctx.footerService.portals$));
|
|
95
|
-
} }, dependencies: [NgIf, MatToolbarModule, i2.MatToolbar, i2.MatToolbarRow, NgFor, PortalModule, i3.CdkPortalOutlet, AsyncPipe], changeDetection: 0 }); }
|
|
64
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: FooterComponent, deps: [{ token: i1.FooterService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
65
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: FooterComponent, isStandalone: true, selector: "rxap-footer", ngImport: i0, 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: [""], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i2.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "directive", type: i2.MatToolbarRow, selector: "mat-toolbar-row", exportAs: ["matToolbarRow"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
96
66
|
}
|
|
97
|
-
(
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
67
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: FooterComponent, decorators: [{
|
|
68
|
+
type: Component,
|
|
69
|
+
args: [{ selector: 'rxap-footer', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgIf, MatToolbarModule, NgFor, PortalModule, AsyncPipe], 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" }]
|
|
70
|
+
}], ctorParameters: function () { return [{ type: i1.FooterService }]; } });
|
|
101
71
|
|
|
102
|
-
function NavigationProgressBarComponent_mat_progress_bar_0_Template(rf, ctx) { if (rf & 1) {
|
|
103
|
-
i0.ɵɵelement(0, "mat-progress-bar", 1);
|
|
104
|
-
} }
|
|
105
72
|
class NavigationProgressBarComponent {
|
|
106
73
|
constructor(router) {
|
|
107
74
|
this.router = router;
|
|
@@ -109,21 +76,16 @@ class NavigationProgressBarComponent {
|
|
|
109
76
|
event instanceof NavigationEnd ||
|
|
110
77
|
event instanceof NavigationCancel), map(event => event instanceof NavigationStart));
|
|
111
78
|
}
|
|
112
|
-
static { this.ɵfac =
|
|
113
|
-
static { this.ɵcmp =
|
|
114
|
-
i0.ɵɵtemplate(0, NavigationProgressBarComponent_mat_progress_bar_0_Template, 1, 0, "mat-progress-bar", 0);
|
|
115
|
-
i0.ɵɵpipe(1, "async");
|
|
116
|
-
} if (rf & 2) {
|
|
117
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 1, ctx.navigating$));
|
|
118
|
-
} }, dependencies: [NgIf, MatProgressBarModule, i1$1.MatProgressBar, AsyncPipe], changeDetection: 0 }); }
|
|
79
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: NavigationProgressBarComponent, deps: [{ token: Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
80
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: NavigationProgressBarComponent, isStandalone: true, selector: "rxap-navigation-progress-bar", ngImport: i0, template: "<mat-progress-bar\n *ngIf=\"navigating$ | async\"\n color=\"accent\"\n mode=\"indeterminate\"\n></mat-progress-bar>\n", styles: [""], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i1$1.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
119
81
|
}
|
|
120
|
-
(
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
82
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: NavigationProgressBarComponent, decorators: [{
|
|
83
|
+
type: Component,
|
|
84
|
+
args: [{ selector: 'rxap-navigation-progress-bar', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgIf, MatProgressBarModule, AsyncPipe], template: "<mat-progress-bar\n *ngIf=\"navigating$ | async\"\n color=\"accent\"\n mode=\"indeterminate\"\n></mat-progress-bar>\n" }]
|
|
85
|
+
}], ctorParameters: function () { return [{ type: i2$1.Router, decorators: [{
|
|
86
|
+
type: Inject,
|
|
87
|
+
args: [Router]
|
|
88
|
+
}] }]; } });
|
|
127
89
|
|
|
128
90
|
class SignOutComponent {
|
|
129
91
|
constructor(router) {
|
|
@@ -132,86 +94,17 @@ class SignOutComponent {
|
|
|
132
94
|
redirectToRoot() {
|
|
133
95
|
this.router.navigate(['/']);
|
|
134
96
|
}
|
|
135
|
-
static { this.ɵfac =
|
|
136
|
-
static { this.ɵcmp =
|
|
137
|
-
i0.ɵɵelementStart(0, "button", 0);
|
|
138
|
-
i0.ɵɵlistener("successful", function SignOutComponent_Template_button_successful_0_listener() { return ctx.redirectToRoot(); });
|
|
139
|
-
i0.ɵɵelementStart(1, "mat-icon");
|
|
140
|
-
i0.ɵɵtext(2, "login");
|
|
141
|
-
i0.ɵɵelementEnd()();
|
|
142
|
-
} }, dependencies: [MatButtonModule, i1$2.MatIconButton, SignOutDirective, MatIconModule, i2$2.MatIcon], changeDetection: 0 }); }
|
|
97
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SignOutComponent, deps: [{ token: Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
98
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: SignOutComponent, isStandalone: true, selector: "rxap-sign-out", ngImport: i0, template: "<button\n (successful)=\"redirectToRoot()\"\n mat-icon-button\n rxapSignOut\n>\n <mat-icon>login</mat-icon>\n</button>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$2.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: SignOutDirective, selector: "[rxapSignOut]", outputs: ["successful", "failure"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
143
99
|
}
|
|
144
|
-
(
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
100
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SignOutComponent, decorators: [{
|
|
101
|
+
type: Component,
|
|
102
|
+
args: [{ selector: 'rxap-sign-out', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [MatButtonModule, SignOutDirective, MatIconModule], template: "<button\n (successful)=\"redirectToRoot()\"\n mat-icon-button\n rxapSignOut\n>\n <mat-icon>login</mat-icon>\n</button>\n" }]
|
|
103
|
+
}], ctorParameters: function () { return [{ type: i2$1.Router, decorators: [{
|
|
104
|
+
type: Inject,
|
|
105
|
+
args: [Router]
|
|
106
|
+
}] }]; } });
|
|
151
107
|
|
|
152
|
-
function UserProfileIconComponent_ng_template_5_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
153
|
-
i0.ɵɵelementStart(0, "button", 5)(1, "mat-icon");
|
|
154
|
-
i0.ɵɵtext(2, "person");
|
|
155
|
-
i0.ɵɵelementEnd();
|
|
156
|
-
i0.ɵɵelementStart(3, "span");
|
|
157
|
-
i0.ɵɵtext(4);
|
|
158
|
-
i0.ɵɵelementEnd()();
|
|
159
|
-
} if (rf & 2) {
|
|
160
|
-
const user_r2 = i0.ɵɵnextContext().$implicit;
|
|
161
|
-
i0.ɵɵadvance(4);
|
|
162
|
-
i0.ɵɵtextInterpolate2("", user_r2.firstname, " ", user_r2.lastname, "");
|
|
163
|
-
} }
|
|
164
|
-
function UserProfileIconComponent_ng_template_5_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
165
|
-
i0.ɵɵelementStart(0, "button", 5)(1, "mat-icon");
|
|
166
|
-
i0.ɵɵtext(2, "person");
|
|
167
|
-
i0.ɵɵelementEnd();
|
|
168
|
-
i0.ɵɵelementStart(3, "span");
|
|
169
|
-
i0.ɵɵtext(4);
|
|
170
|
-
i0.ɵɵelementEnd()();
|
|
171
|
-
} if (rf & 2) {
|
|
172
|
-
const user_r2 = i0.ɵɵnextContext().$implicit;
|
|
173
|
-
i0.ɵɵadvance(4);
|
|
174
|
-
i0.ɵɵtextInterpolate(user_r2.name);
|
|
175
|
-
} }
|
|
176
|
-
function UserProfileIconComponent_ng_template_5_button_2_Template(rf, ctx) { if (rf & 1) {
|
|
177
|
-
i0.ɵɵelementStart(0, "button", 5)(1, "mat-icon");
|
|
178
|
-
i0.ɵɵtext(2, "account_circle");
|
|
179
|
-
i0.ɵɵelementEnd();
|
|
180
|
-
i0.ɵɵelementStart(3, "span");
|
|
181
|
-
i0.ɵɵtext(4);
|
|
182
|
-
i0.ɵɵelementEnd()();
|
|
183
|
-
} if (rf & 2) {
|
|
184
|
-
const user_r2 = i0.ɵɵnextContext().$implicit;
|
|
185
|
-
i0.ɵɵadvance(4);
|
|
186
|
-
i0.ɵɵtextInterpolate(user_r2.username);
|
|
187
|
-
} }
|
|
188
|
-
function UserProfileIconComponent_ng_template_5_button_3_Template(rf, ctx) { if (rf & 1) {
|
|
189
|
-
i0.ɵɵelementStart(0, "button", 5)(1, "mat-icon");
|
|
190
|
-
i0.ɵɵtext(2, "email");
|
|
191
|
-
i0.ɵɵelementEnd();
|
|
192
|
-
i0.ɵɵelementStart(3, "span");
|
|
193
|
-
i0.ɵɵtext(4);
|
|
194
|
-
i0.ɵɵelementEnd()();
|
|
195
|
-
} if (rf & 2) {
|
|
196
|
-
const user_r2 = i0.ɵɵnextContext().$implicit;
|
|
197
|
-
i0.ɵɵadvance(4);
|
|
198
|
-
i0.ɵɵtextInterpolate(user_r2.email);
|
|
199
|
-
} }
|
|
200
|
-
function UserProfileIconComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
201
|
-
i0.ɵɵtemplate(0, UserProfileIconComponent_ng_template_5_button_0_Template, 5, 2, "button", 4);
|
|
202
|
-
i0.ɵɵtemplate(1, UserProfileIconComponent_ng_template_5_button_1_Template, 5, 1, "button", 4);
|
|
203
|
-
i0.ɵɵtemplate(2, UserProfileIconComponent_ng_template_5_button_2_Template, 5, 1, "button", 4);
|
|
204
|
-
i0.ɵɵtemplate(3, UserProfileIconComponent_ng_template_5_button_3_Template, 5, 1, "button", 4);
|
|
205
|
-
} if (rf & 2) {
|
|
206
|
-
const user_r2 = ctx.$implicit;
|
|
207
|
-
i0.ɵɵproperty("ngIf", user_r2.firstname && user_r2.lastname);
|
|
208
|
-
i0.ɵɵadvance(1);
|
|
209
|
-
i0.ɵɵproperty("ngIf", user_r2.name);
|
|
210
|
-
i0.ɵɵadvance(1);
|
|
211
|
-
i0.ɵɵproperty("ngIf", user_r2.username);
|
|
212
|
-
i0.ɵɵadvance(1);
|
|
213
|
-
i0.ɵɵproperty("ngIf", user_r2.email);
|
|
214
|
-
} }
|
|
215
108
|
class UserProfileIconComponent {
|
|
216
109
|
constructor(userService) {
|
|
217
110
|
this.userService = userService;
|
|
@@ -222,94 +115,24 @@ class UserProfileIconComponent {
|
|
|
222
115
|
: null) ??
|
|
223
116
|
user.username));
|
|
224
117
|
}
|
|
225
|
-
static { this.ɵfac =
|
|
226
|
-
static { this.ɵcmp =
|
|
227
|
-
i0.ɵɵelement(0, "button", 0);
|
|
228
|
-
i0.ɵɵpipe(1, "async");
|
|
229
|
-
i0.ɵɵpipe(2, "async");
|
|
230
|
-
i0.ɵɵelementStart(3, "mat-menu", 1, 2);
|
|
231
|
-
i0.ɵɵtemplate(5, UserProfileIconComponent_ng_template_5_Template, 4, 4, "ng-template", 3);
|
|
232
|
-
i0.ɵɵpipe(6, "async");
|
|
233
|
-
i0.ɵɵelementEnd();
|
|
234
|
-
} if (rf & 2) {
|
|
235
|
-
const _r0 = i0.ɵɵreference(4);
|
|
236
|
-
let tmp_2_0;
|
|
237
|
-
i0.ɵɵproperty("matMenuTriggerFor", _r0)("rxapAvatarBackgroundImage", i0.ɵɵpipeBind1(1, 5, ctx.userProfileUrl$))("name", (tmp_2_0 = i0.ɵɵpipeBind1(2, 7, ctx.userName$)) !== null && tmp_2_0 !== undefined ? tmp_2_0 : "");
|
|
238
|
-
i0.ɵɵadvance(3);
|
|
239
|
-
i0.ɵɵproperty("yPosition", "below");
|
|
240
|
-
i0.ɵɵadvance(2);
|
|
241
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(6, 9, ctx.userService.user$));
|
|
242
|
-
} }, dependencies: [FlexModule, i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutAlignDirective, MatMenuModule, i2$3.MatMenu, i2$3.MatMenuItem, i2$3.MatMenuTrigger, AvatarBackgroundImageDirective,
|
|
243
|
-
NgIf,
|
|
244
|
-
MatIconModule, i2$2.MatIcon, 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 }); }
|
|
118
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: UserProfileIconComponent, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
119
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: UserProfileIconComponent, isStandalone: true, selector: "rxap-user-profile-icon", ngImport: i0, template: "<button [matMenuTriggerFor]=\"menu\"\n [name]=\"(userName$ | async) ?? ''\"\n [rxapAvatarBackgroundImage]=\"userProfileUrl$ | 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"], dependencies: [{ kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i1$3.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i1$3.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i2$3.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i2$3.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i2$3.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "directive", type: AvatarBackgroundImageDirective, selector: "[rxapAvatarBackgroundImage]", inputs: ["rxapAvatarBackgroundImage", "name"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
245
120
|
}
|
|
246
|
-
(
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: UserProfileIconComponent, decorators: [{
|
|
122
|
+
type: Component,
|
|
123
|
+
args: [{ selector: 'rxap-user-profile-icon', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
124
|
+
FlexModule,
|
|
125
|
+
MatMenuModule,
|
|
126
|
+
AvatarBackgroundImageDirective,
|
|
127
|
+
NgIf,
|
|
128
|
+
MatIconModule,
|
|
129
|
+
AsyncPipe,
|
|
130
|
+
], template: "<button [matMenuTriggerFor]=\"menu\"\n [name]=\"(userName$ | async) ?? ''\"\n [rxapAvatarBackgroundImage]=\"userProfileUrl$ | 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"] }]
|
|
131
|
+
}], ctorParameters: function () { return [{ type: i4.UserService, decorators: [{
|
|
132
|
+
type: Inject,
|
|
133
|
+
args: [UserService]
|
|
134
|
+
}] }]; } });
|
|
260
135
|
|
|
261
|
-
function AppsButtonComponent_ng_template_0_ng_template_4_li_2_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
262
|
-
i0.ɵɵelementStart(0, "a", 9)(1, "span", 10);
|
|
263
|
-
i0.ɵɵelement(2, "img", 11);
|
|
264
|
-
i0.ɵɵelementStart(3, "span");
|
|
265
|
-
i0.ɵɵtext(4);
|
|
266
|
-
i0.ɵɵelementEnd()()();
|
|
267
|
-
} if (rf & 2) {
|
|
268
|
-
const item_r4 = i0.ɵɵnextContext().$implicit;
|
|
269
|
-
i0.ɵɵproperty("href", item_r4.href, i0.ɵɵsanitizeUrl);
|
|
270
|
-
i0.ɵɵadvance(2);
|
|
271
|
-
i0.ɵɵproperty("src", item_r4.image, i0.ɵɵsanitizeUrl);
|
|
272
|
-
i0.ɵɵadvance(2);
|
|
273
|
-
i0.ɵɵtextInterpolate(item_r4.label);
|
|
274
|
-
} }
|
|
275
|
-
const _c0$5 = function (a0) { return { empty: a0 }; };
|
|
276
|
-
function AppsButtonComponent_ng_template_0_ng_template_4_li_2_Template(rf, ctx) { if (rf & 1) {
|
|
277
|
-
i0.ɵɵelementStart(0, "li", 7);
|
|
278
|
-
i0.ɵɵtemplate(1, AppsButtonComponent_ng_template_0_ng_template_4_li_2_a_1_Template, 5, 3, "a", 8);
|
|
279
|
-
i0.ɵɵelementEnd();
|
|
280
|
-
} if (rf & 2) {
|
|
281
|
-
const item_r4 = ctx.$implicit;
|
|
282
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$5, item_r4.empty));
|
|
283
|
-
i0.ɵɵadvance(1);
|
|
284
|
-
i0.ɵɵproperty("ngIf", !item_r4.empty);
|
|
285
|
-
} }
|
|
286
|
-
const _c1$4 = function (a0) { return { columns: a0 }; };
|
|
287
|
-
function AppsButtonComponent_ng_template_0_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
288
|
-
i0.ɵɵelementStart(0, "div", 4)(1, "ul", 5);
|
|
289
|
-
i0.ɵɵtemplate(2, AppsButtonComponent_ng_template_0_ng_template_4_li_2_Template, 2, 4, "li", 6);
|
|
290
|
-
i0.ɵɵelementEnd()();
|
|
291
|
-
} if (rf & 2) {
|
|
292
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
293
|
-
i0.ɵɵadvance(1);
|
|
294
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2, _c1$4, ctx_r2.columns));
|
|
295
|
-
i0.ɵɵadvance(1);
|
|
296
|
-
i0.ɵɵproperty("ngForOf", ctx_r2.gridWithPadding);
|
|
297
|
-
} }
|
|
298
|
-
function AppsButtonComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
299
|
-
const _r8 = i0.ɵɵgetCurrentView();
|
|
300
|
-
i0.ɵɵelementStart(0, "button", 1, 2);
|
|
301
|
-
i0.ɵɵlistener("click", function AppsButtonComponent_ng_template_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r7.isOpen = !ctx_r7.isOpen); });
|
|
302
|
-
i0.ɵɵelementStart(2, "mat-icon");
|
|
303
|
-
i0.ɵɵtext(3, "apps");
|
|
304
|
-
i0.ɵɵelementEnd()();
|
|
305
|
-
i0.ɵɵtemplate(4, AppsButtonComponent_ng_template_0_ng_template_4_Template, 3, 4, "ng-template", 3);
|
|
306
|
-
i0.ɵɵlistener("overlayOutsideClick", function AppsButtonComponent_ng_template_0_Template_ng_template_overlayOutsideClick_4_listener() { i0.ɵɵrestoreView(_r8); const ctx_r9 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r9.isOpen = false); });
|
|
307
|
-
} if (rf & 2) {
|
|
308
|
-
const _r1 = i0.ɵɵreference(1);
|
|
309
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
310
|
-
i0.ɵɵadvance(4);
|
|
311
|
-
i0.ɵɵproperty("cdkConnectedOverlayOpen", ctx_r0.isOpen)("cdkConnectedOverlayOrigin", _r1);
|
|
312
|
-
} }
|
|
313
136
|
class AppsButtonComponent {
|
|
314
137
|
get gridWithPadding() {
|
|
315
138
|
const gridWithPadding = this.grid.slice();
|
|
@@ -333,67 +156,33 @@ class AppsButtonComponent {
|
|
|
333
156
|
this.grid = [];
|
|
334
157
|
this.grid = grid ?? this.config.get('navigation.apps') ?? [];
|
|
335
158
|
}
|
|
336
|
-
static { this.ɵfac =
|
|
337
|
-
static { this.ɵcmp =
|
|
338
|
-
i0.ɵɵtemplate(0, AppsButtonComponent_ng_template_0_Template, 5, 2, "ng-template", 0);
|
|
339
|
-
} if (rf & 2) {
|
|
340
|
-
i0.ɵɵproperty("ngIf", ctx.grid && ctx.grid.length);
|
|
341
|
-
} }, dependencies: [NgIf,
|
|
342
|
-
MatButtonModule, i1$2.MatIconButton, CdkOverlayOrigin,
|
|
343
|
-
MatIconModule, i2$2.MatIcon, CdkConnectedOverlay,
|
|
344
|
-
ExtendedModule, i2$4.DefaultClassDirective, i2$4.DefaultStyleDirective, NgStyle,
|
|
345
|
-
NgFor,
|
|
346
|
-
NgClass,
|
|
347
|
-
FlexModule, i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutGapDirective, i1$3.DefaultLayoutAlignDirective], 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;inset:6px;text-align:center;text-decoration:none;color:#000}"], changeDetection: 0 }); }
|
|
159
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AppsButtonComponent, deps: [{ token: RXAP_LAYOUT_APPS_GRID, optional: true }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
160
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: AppsButtonComponent, isStandalone: true, selector: "rxap-apps-button", host: { classAttribute: "rxap-apps-button" }, ngImport: i0, 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;inset:6px;text-align:center;text-decoration:none;color:#000}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$2.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: CdkOverlayOrigin, selector: "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]", exportAs: ["cdkOverlayOrigin"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: CdkConnectedOverlay, selector: "[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]", inputs: ["cdkConnectedOverlayOrigin", "cdkConnectedOverlayPositions", "cdkConnectedOverlayPositionStrategy", "cdkConnectedOverlayOffsetX", "cdkConnectedOverlayOffsetY", "cdkConnectedOverlayWidth", "cdkConnectedOverlayHeight", "cdkConnectedOverlayMinWidth", "cdkConnectedOverlayMinHeight", "cdkConnectedOverlayBackdropClass", "cdkConnectedOverlayPanelClass", "cdkConnectedOverlayViewportMargin", "cdkConnectedOverlayScrollStrategy", "cdkConnectedOverlayOpen", "cdkConnectedOverlayDisableClose", "cdkConnectedOverlayTransformOriginOn", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayLockPosition", "cdkConnectedOverlayFlexibleDimensions", "cdkConnectedOverlayGrowAfterOpen", "cdkConnectedOverlayPush"], outputs: ["backdropClick", "positionChange", "attach", "detach", "overlayKeydown", "overlayOutsideClick"], exportAs: ["cdkConnectedOverlay"] }, { kind: "ngmodule", type: ExtendedModule }, { kind: "directive", type: i2$4.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "directive", type: i2$4.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i1$3.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i1$3.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i1$3.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
348
161
|
}
|
|
349
|
-
(
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
162
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AppsButtonComponent, decorators: [{
|
|
163
|
+
type: Component,
|
|
164
|
+
args: [{ selector: 'rxap-apps-button', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-apps-button' }, standalone: true, imports: [
|
|
165
|
+
NgIf,
|
|
166
|
+
MatButtonModule,
|
|
167
|
+
CdkOverlayOrigin,
|
|
168
|
+
MatIconModule,
|
|
169
|
+
CdkConnectedOverlay,
|
|
170
|
+
ExtendedModule,
|
|
171
|
+
NgStyle,
|
|
172
|
+
NgFor,
|
|
173
|
+
NgClass,
|
|
174
|
+
FlexModule,
|
|
175
|
+
], 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;inset:6px;text-align:center;text-decoration:none;color:#000}\n"] }]
|
|
176
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
177
|
+
type: Optional
|
|
178
|
+
}, {
|
|
179
|
+
type: Inject,
|
|
180
|
+
args: [RXAP_LAYOUT_APPS_GRID]
|
|
181
|
+
}] }, { type: i1$4.ConfigService, decorators: [{
|
|
182
|
+
type: Inject,
|
|
183
|
+
args: [ConfigService]
|
|
184
|
+
}] }]; } });
|
|
372
185
|
|
|
373
|
-
function LanguageSelectorComponent_ng_template_0_mat_option_3_Template(rf, ctx) { if (rf & 1) {
|
|
374
|
-
i0.ɵɵelementStart(0, "mat-option", 4);
|
|
375
|
-
i0.ɵɵtext(1);
|
|
376
|
-
i0.ɵɵelementEnd();
|
|
377
|
-
} if (rf & 2) {
|
|
378
|
-
const item_r2 = ctx.$implicit;
|
|
379
|
-
i0.ɵɵproperty("value", item_r2.key);
|
|
380
|
-
i0.ɵɵadvance(1);
|
|
381
|
-
i0.ɵɵtextInterpolate(item_r2.value);
|
|
382
|
-
} }
|
|
383
|
-
function LanguageSelectorComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
384
|
-
const _r4 = i0.ɵɵgetCurrentView();
|
|
385
|
-
i0.ɵɵelementStart(0, "div")(1, "mat-form-field", 1)(2, "mat-select", 2);
|
|
386
|
-
i0.ɵɵlistener("ngModelChange", function LanguageSelectorComponent_ng_template_0_Template_mat_select_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.language.setLanguage($event)); });
|
|
387
|
-
i0.ɵɵtemplate(3, LanguageSelectorComponent_ng_template_0_mat_option_3_Template, 2, 2, "mat-option", 3);
|
|
388
|
-
i0.ɵɵpipe(4, "keyvalue");
|
|
389
|
-
i0.ɵɵelementEnd()()();
|
|
390
|
-
} if (rf & 2) {
|
|
391
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
392
|
-
i0.ɵɵadvance(2);
|
|
393
|
-
i0.ɵɵproperty("ngModel", ctx_r0.language.selectedLanguage);
|
|
394
|
-
i0.ɵɵadvance(1);
|
|
395
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(4, 2, ctx_r0.language.languages));
|
|
396
|
-
} }
|
|
397
186
|
const RXAP_SELECTED_LANGUAGE_LOCAL_STORAGE_KEY = 'rxap__selected_language';
|
|
398
187
|
const RXAP_SELECTED_LANGUAGE_CHANGE_LOCAL_STORAGE_KEY = 'rxap__selected_language_last_change';
|
|
399
188
|
class LanguageSelectorService {
|
|
@@ -422,7 +211,7 @@ class LanguageSelectorService {
|
|
|
422
211
|
const currentUrl = location.origin + location.pathname + location.search;
|
|
423
212
|
const redirectUrl = location.origin +
|
|
424
213
|
`/${language}` +
|
|
425
|
-
location.pathname.replace(new RegExp(
|
|
214
|
+
location.pathname.replace(new RegExp(`^/${this.selectedLanguage}`), '') +
|
|
426
215
|
location.search;
|
|
427
216
|
this.selectedLanguage = language;
|
|
428
217
|
localStorage.setItem(RXAP_SELECTED_LANGUAGE_LOCAL_STORAGE_KEY, language);
|
|
@@ -445,112 +234,51 @@ class LanguageSelectorService {
|
|
|
445
234
|
localStorage.setItem(RXAP_SELECTED_LANGUAGE_CHANGE_LOCAL_STORAGE_KEY, Date.now().toFixed(0));
|
|
446
235
|
return true;
|
|
447
236
|
}
|
|
448
|
-
static { this.ɵfac =
|
|
449
|
-
static { this.ɵprov =
|
|
237
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: LanguageSelectorService, deps: [{ token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
238
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: LanguageSelectorService, providedIn: 'root' }); }
|
|
450
239
|
}
|
|
451
|
-
(
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
240
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: LanguageSelectorService, decorators: [{
|
|
241
|
+
type: Injectable,
|
|
242
|
+
args: [{ providedIn: 'root' }]
|
|
243
|
+
}], ctorParameters: function () { return [{ type: i1$4.ConfigService, decorators: [{
|
|
244
|
+
type: Inject,
|
|
245
|
+
args: [ConfigService]
|
|
246
|
+
}] }]; } });
|
|
458
247
|
class LanguageSelectorComponent {
|
|
459
248
|
constructor(language) {
|
|
460
249
|
this.language = language;
|
|
461
250
|
}
|
|
462
|
-
static { this.ɵfac =
|
|
463
|
-
static { this.ɵcmp =
|
|
464
|
-
i0.ɵɵtemplate(0, LanguageSelectorComponent_ng_template_0_Template, 5, 4, "ng-template", 0);
|
|
465
|
-
i0.ɵɵpipe(1, "keyvalue");
|
|
466
|
-
} if (rf & 2) {
|
|
467
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 1, ctx.language.languages).length);
|
|
468
|
-
} }, dependencies: [NgIf,
|
|
469
|
-
MatFormFieldModule, i2$5.MatFormField, MatSelectModule, i3$1.MatSelect, i4$1.MatOption, FormsModule, i5.NgControlStatus, i5.NgModel, NgFor,
|
|
470
|
-
MatOptionModule,
|
|
471
|
-
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 }); }
|
|
251
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: LanguageSelectorComponent, deps: [{ token: LanguageSelectorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
252
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: LanguageSelectorComponent, isStandalone: true, selector: "rxap-language-selector", ngImport: i0, 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\"\n [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"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i2$5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i3$1.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex", "panelWidth", "hideSingleSelectionIndicator"], exportAs: ["matSelect"] }, { kind: "component", type: i4$1.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: MatOptionModule }, { kind: "pipe", type: KeyValuePipe, name: "keyvalue" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
472
253
|
}
|
|
473
|
-
(
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
254
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: LanguageSelectorComponent, decorators: [{
|
|
255
|
+
type: Component,
|
|
256
|
+
args: [{ selector: 'rxap-language-selector', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
257
|
+
NgIf,
|
|
258
|
+
MatFormFieldModule,
|
|
259
|
+
MatSelectModule,
|
|
260
|
+
FormsModule,
|
|
261
|
+
NgFor,
|
|
262
|
+
MatOptionModule,
|
|
263
|
+
KeyValuePipe,
|
|
264
|
+
], 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\"\n [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"] }]
|
|
265
|
+
}], ctorParameters: function () { return [{ type: LanguageSelectorService }]; } });
|
|
485
266
|
|
|
486
|
-
function SidenavToggleButtonComponent_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
|
|
487
|
-
i0.ɵɵelementStart(0, "mat-icon");
|
|
488
|
-
i0.ɵɵtext(1, "menu");
|
|
489
|
-
i0.ɵɵelementEnd();
|
|
490
|
-
} }
|
|
491
|
-
function SidenavToggleButtonComponent_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
|
|
492
|
-
i0.ɵɵelementStart(0, "mat-icon");
|
|
493
|
-
i0.ɵɵtext(1, "menu_open");
|
|
494
|
-
i0.ɵɵelementEnd();
|
|
495
|
-
} }
|
|
496
267
|
class SidenavToggleButtonComponent {
|
|
497
|
-
static { this.ɵfac =
|
|
498
|
-
static { this.ɵcmp =
|
|
499
|
-
i0.ɵɵelementStart(0, "button", 0);
|
|
500
|
-
i0.ɵɵlistener("click", function SidenavToggleButtonComponent_Template_button_click_0_listener() { return ctx.sidenav.toggle(); });
|
|
501
|
-
i0.ɵɵtemplate(1, SidenavToggleButtonComponent_mat_icon_1_Template, 2, 0, "mat-icon", 1);
|
|
502
|
-
i0.ɵɵtemplate(2, SidenavToggleButtonComponent_mat_icon_2_Template, 2, 0, "mat-icon", 1);
|
|
503
|
-
i0.ɵɵelementEnd();
|
|
504
|
-
} if (rf & 2) {
|
|
505
|
-
i0.ɵɵadvance(1);
|
|
506
|
-
i0.ɵɵproperty("ngIf", !ctx.sidenav.opened);
|
|
507
|
-
i0.ɵɵadvance(1);
|
|
508
|
-
i0.ɵɵproperty("ngIf", ctx.sidenav.opened);
|
|
509
|
-
} }, dependencies: [MatButtonModule, i1$2.MatIconButton, NgIf, MatIconModule, i2$2.MatIcon], changeDetection: 0 }); }
|
|
268
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SidenavToggleButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
269
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: SidenavToggleButtonComponent, isStandalone: true, selector: "rxap-sidenav-toggle-button", inputs: { sidenav: "sidenav" }, ngImport: i0, 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: [""], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$2.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
510
270
|
}
|
|
511
271
|
__decorate([
|
|
512
272
|
Required,
|
|
513
273
|
__metadata("design:type", MatSidenav)
|
|
514
274
|
], SidenavToggleButtonComponent.prototype, "sidenav", void 0);
|
|
515
|
-
(
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SidenavToggleButtonComponent, decorators: [{
|
|
276
|
+
type: Component,
|
|
277
|
+
args: [{ selector: 'rxap-sidenav-toggle-button', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [MatButtonModule, NgIf, MatIconModule], 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" }]
|
|
278
|
+
}], propDecorators: { sidenav: [{
|
|
279
|
+
type: Input
|
|
280
|
+
}] } });
|
|
521
281
|
|
|
522
|
-
function HeaderComponent_mat_toolbar_row_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
523
|
-
i0.ɵɵelementContainer(0);
|
|
524
|
-
} }
|
|
525
|
-
function HeaderComponent_mat_toolbar_row_1_Template(rf, ctx) { if (rf & 1) {
|
|
526
|
-
i0.ɵɵelementStart(0, "mat-toolbar-row");
|
|
527
|
-
i0.ɵɵtemplate(1, HeaderComponent_mat_toolbar_row_1_ng_container_1_Template, 1, 0, "ng-container", 7);
|
|
528
|
-
i0.ɵɵelementEnd();
|
|
529
|
-
} if (rf & 2) {
|
|
530
|
-
const headerComponent_r4 = ctx.$implicit;
|
|
531
|
-
i0.ɵɵadvance(1);
|
|
532
|
-
i0.ɵɵproperty("ngComponentOutlet", headerComponent_r4);
|
|
533
|
-
} }
|
|
534
|
-
function HeaderComponent_rxap_sidenav_toggle_button_4_Template(rf, ctx) { if (rf & 1) {
|
|
535
|
-
i0.ɵɵelement(0, "rxap-sidenav-toggle-button", 8);
|
|
536
|
-
} if (rf & 2) {
|
|
537
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
538
|
-
i0.ɵɵproperty("sidenav", ctx_r1.sidenav);
|
|
539
|
-
} }
|
|
540
|
-
function HeaderComponent_rxap_user_profile_icon_9_Template(rf, ctx) { if (rf & 1) {
|
|
541
|
-
i0.ɵɵelement(0, "rxap-user-profile-icon", 5);
|
|
542
|
-
} }
|
|
543
|
-
function HeaderComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
544
|
-
i0.ɵɵelementStart(0, "div", 5)(1, "button", 9)(2, "mat-icon");
|
|
545
|
-
i0.ɵɵtext(3, "settings");
|
|
546
|
-
i0.ɵɵelementEnd()()();
|
|
547
|
-
} if (rf & 2) {
|
|
548
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
|
549
|
-
i0.ɵɵadvance(1);
|
|
550
|
-
i0.ɵɵproperty("matMenuTriggerFor", ctx_r3.settingsMenuPanel);
|
|
551
|
-
} }
|
|
552
|
-
const _c0$4 = function (a0) { return { open: a0 }; };
|
|
553
|
-
const _c1$3 = ["*"];
|
|
554
282
|
class HeaderComponent {
|
|
555
283
|
constructor(headerComponentService, userService, headerComponent) {
|
|
556
284
|
this.headerComponentService = headerComponentService;
|
|
@@ -573,107 +301,63 @@ class HeaderComponent {
|
|
|
573
301
|
ngOnDestroy() {
|
|
574
302
|
this.subscriptions.unsubscribe();
|
|
575
303
|
}
|
|
576
|
-
static { this.ɵfac =
|
|
577
|
-
static { this.ɵcmp =
|
|
578
|
-
i0.ɵɵprojectionDef();
|
|
579
|
-
i0.ɵɵelementStart(0, "mat-toolbar", 0);
|
|
580
|
-
i0.ɵɵtemplate(1, HeaderComponent_mat_toolbar_row_1_Template, 2, 1, "mat-toolbar-row", 1);
|
|
581
|
-
i0.ɵɵelementStart(2, "mat-toolbar-row")(3, "div", 2);
|
|
582
|
-
i0.ɵɵtemplate(4, HeaderComponent_rxap_sidenav_toggle_button_4_Template, 1, 1, "rxap-sidenav-toggle-button", 3);
|
|
583
|
-
i0.ɵɵelementStart(5, "div", 4);
|
|
584
|
-
i0.ɵɵprojection(6);
|
|
585
|
-
i0.ɵɵelementEnd();
|
|
586
|
-
i0.ɵɵelement(7, "rxap-language-selector", 5)(8, "rxap-apps-button", 5);
|
|
587
|
-
i0.ɵɵtemplate(9, HeaderComponent_rxap_user_profile_icon_9_Template, 1, 0, "rxap-user-profile-icon", 6);
|
|
588
|
-
i0.ɵɵpipe(10, "async");
|
|
589
|
-
i0.ɵɵtemplate(11, HeaderComponent_div_11_Template, 4, 1, "div", 6);
|
|
590
|
-
i0.ɵɵelement(12, "rxap-sign-out", 5);
|
|
591
|
-
i0.ɵɵelementEnd()()();
|
|
592
|
-
i0.ɵɵelement(13, "rxap-navigation-progress-bar");
|
|
593
|
-
} if (rf & 2) {
|
|
594
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$4, ctx.sidenav == null ? null : ctx.sidenav.opened))("color", ctx.color);
|
|
595
|
-
i0.ɵɵadvance(1);
|
|
596
|
-
i0.ɵɵproperty("ngForOf", ctx.components);
|
|
597
|
-
i0.ɵɵadvance(3);
|
|
598
|
-
i0.ɵɵproperty("ngIf", ctx.sidenav);
|
|
599
|
-
i0.ɵɵadvance(5);
|
|
600
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(10, 6, ctx.hasUser$));
|
|
601
|
-
i0.ɵɵadvance(2);
|
|
602
|
-
i0.ɵɵproperty("ngIf", ctx.settingsMenuPanel);
|
|
603
|
-
} }, dependencies: [MatToolbarModule, i2.MatToolbar, i2.MatToolbarRow, ExtendedModule, i2$4.DefaultClassDirective, NgClass,
|
|
604
|
-
NgFor,
|
|
605
|
-
NgComponentOutlet,
|
|
606
|
-
FlexModule, i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutGapDirective, i1$3.DefaultLayoutAlignDirective, i1$3.DefaultFlexDirective, NgIf,
|
|
607
|
-
SidenavToggleButtonComponent,
|
|
608
|
-
LanguageSelectorComponent,
|
|
609
|
-
AppsButtonComponent,
|
|
610
|
-
UserProfileIconComponent,
|
|
611
|
-
MatButtonModule, i1$2.MatIconButton, MatMenuModule, i2$3.MatMenuTrigger, MatIconModule, i2$2.MatIcon, SignOutComponent,
|
|
612
|
-
NavigationProgressBarComponent,
|
|
613
|
-
AsyncPipe], styles: [".content[_ngcontent-%COMP%]{width:100%;height:64px}"], changeDetection: 0 }); }
|
|
304
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HeaderComponent, deps: [{ token: HeaderService }, { token: UserService }, { token: RXAP_HEADER_COMPONENT, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
305
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: HeaderComponent, isStandalone: true, selector: "rxap-header", inputs: { sidenav: "sidenav", color: "color", settingsMenuPanel: "settingsMenuPanel" }, ngImport: i0, template: "<mat-toolbar [color]=\"color\" [ngClass]=\"{ open: sidenav?.opened }\" 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 class=\"content\"\n fxLayout=\"row\"\n fxLayoutAlign=\"space-between center\"\n fxLayoutGap=\"16px\"\n >\n <rxap-sidenav-toggle-button *ngIf=\"sidenav\" [sidenav]=\"sidenav\"\n fxFlex=\"nogrow\"></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 *ngIf=\"settingsMenuPanel\" fxFlex=\"nogrow\">\n <button [matMenuTriggerFor]=\"settingsMenuPanel\" mat-icon-button>\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"], dependencies: [{ kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i2.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "directive", type: i2.MatToolbarRow, selector: "mat-toolbar-row", exportAs: ["matToolbarRow"] }, { kind: "ngmodule", type: ExtendedModule }, { kind: "directive", type: i2$4.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i1$3.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i1$3.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i1$3.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i1$3.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: SidenavToggleButtonComponent, selector: "rxap-sidenav-toggle-button", inputs: ["sidenav"] }, { kind: "component", type: LanguageSelectorComponent, selector: "rxap-language-selector" }, { kind: "component", type: AppsButtonComponent, selector: "rxap-apps-button" }, { kind: "component", type: UserProfileIconComponent, selector: "rxap-user-profile-icon" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$2.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "directive", type: i2$3.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: SignOutComponent, selector: "rxap-sign-out" }, { kind: "component", type: NavigationProgressBarComponent, selector: "rxap-navigation-progress-bar" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
614
306
|
}
|
|
615
|
-
(
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
type:
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
type:
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
}]
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
type: Input
|
|
655
|
-
}] }); })();
|
|
307
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HeaderComponent, decorators: [{
|
|
308
|
+
type: Component,
|
|
309
|
+
args: [{ selector: 'rxap-header', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
310
|
+
MatToolbarModule,
|
|
311
|
+
ExtendedModule,
|
|
312
|
+
NgClass,
|
|
313
|
+
NgFor,
|
|
314
|
+
NgComponentOutlet,
|
|
315
|
+
FlexModule,
|
|
316
|
+
NgIf,
|
|
317
|
+
SidenavToggleButtonComponent,
|
|
318
|
+
LanguageSelectorComponent,
|
|
319
|
+
AppsButtonComponent,
|
|
320
|
+
UserProfileIconComponent,
|
|
321
|
+
MatButtonModule,
|
|
322
|
+
MatMenuModule,
|
|
323
|
+
MatIconModule,
|
|
324
|
+
SignOutComponent,
|
|
325
|
+
NavigationProgressBarComponent,
|
|
326
|
+
AsyncPipe,
|
|
327
|
+
], template: "<mat-toolbar [color]=\"color\" [ngClass]=\"{ open: sidenav?.opened }\" 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 class=\"content\"\n fxLayout=\"row\"\n fxLayoutAlign=\"space-between center\"\n fxLayoutGap=\"16px\"\n >\n <rxap-sidenav-toggle-button *ngIf=\"sidenav\" [sidenav]=\"sidenav\"\n fxFlex=\"nogrow\"></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 *ngIf=\"settingsMenuPanel\" fxFlex=\"nogrow\">\n <button [matMenuTriggerFor]=\"settingsMenuPanel\" mat-icon-button>\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"] }]
|
|
328
|
+
}], ctorParameters: function () { return [{ type: i1.HeaderService, decorators: [{
|
|
329
|
+
type: Inject,
|
|
330
|
+
args: [HeaderService]
|
|
331
|
+
}] }, { type: i4.UserService, decorators: [{
|
|
332
|
+
type: Inject,
|
|
333
|
+
args: [UserService]
|
|
334
|
+
}] }, { type: undefined, decorators: [{
|
|
335
|
+
type: Optional
|
|
336
|
+
}, {
|
|
337
|
+
type: Inject,
|
|
338
|
+
args: [RXAP_HEADER_COMPONENT]
|
|
339
|
+
}] }]; }, propDecorators: { sidenav: [{
|
|
340
|
+
type: Input
|
|
341
|
+
}], color: [{
|
|
342
|
+
type: Input
|
|
343
|
+
}], settingsMenuPanel: [{
|
|
344
|
+
type: Input
|
|
345
|
+
}] } });
|
|
656
346
|
|
|
657
347
|
class ResetButtonComponent {
|
|
658
348
|
constructor(resetService) {
|
|
659
349
|
this.resetService = resetService;
|
|
660
350
|
}
|
|
661
|
-
static { this.ɵfac =
|
|
662
|
-
static { this.ɵcmp =
|
|
663
|
-
i0.ɵɵelementStart(0, "button", 0);
|
|
664
|
-
i0.ɵɵlistener("click", function ResetButtonComponent_Template_button_click_0_listener() { return ctx.resetService.resetAll(); });
|
|
665
|
-
i0.ɵɵelementStart(1, "mat-icon");
|
|
666
|
-
i0.ɵɵtext(2, "refresh");
|
|
667
|
-
i0.ɵɵelementEnd()();
|
|
668
|
-
} }, dependencies: [MatButtonModule, i1$2.MatIconButton, MatIconModule, i2$2.MatIcon], changeDetection: 0 }); }
|
|
351
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ResetButtonComponent, deps: [{ token: ResetService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
352
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: ResetButtonComponent, isStandalone: true, selector: "rxap-reset-button", ngImport: i0, template: "<button (click)=\"resetService.resetAll()\" mat-icon-button>\n <mat-icon>refresh</mat-icon>\n</button>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$2.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
669
353
|
}
|
|
670
|
-
(
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
354
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ResetButtonComponent, decorators: [{
|
|
355
|
+
type: Component,
|
|
356
|
+
args: [{ selector: 'rxap-reset-button', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [MatButtonModule, MatIconModule], template: "<button (click)=\"resetService.resetAll()\" mat-icon-button>\n <mat-icon>refresh</mat-icon>\n</button>\n" }]
|
|
357
|
+
}], ctorParameters: function () { return [{ type: i1.ResetService, decorators: [{
|
|
358
|
+
type: Inject,
|
|
359
|
+
args: [ResetService]
|
|
360
|
+
}] }]; } });
|
|
677
361
|
|
|
678
362
|
class LayoutComponentService {
|
|
679
363
|
constructor(footerComponentService, headerComponentService, logoConfig = null, config) {
|
|
@@ -690,36 +374,25 @@ class LayoutComponentService {
|
|
|
690
374
|
this.headerComponentService.update$.pipe(tap(() => this.fixedTopGap$.next(this.headerComponentService.countComponent * 64))).subscribe();
|
|
691
375
|
this.logo = logoConfig ?? {
|
|
692
376
|
src: '/assets/logo.png',
|
|
693
|
-
width: '192'
|
|
377
|
+
width: '192',
|
|
694
378
|
};
|
|
695
379
|
}
|
|
696
|
-
static { this.ɵfac =
|
|
697
|
-
static { this.ɵprov =
|
|
380
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: LayoutComponentService, deps: [{ token: i1.FooterService }, { token: i1.HeaderService }, { token: RXAP_LOGO_CONFIG, optional: true }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
381
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: LayoutComponentService, providedIn: 'root' }); }
|
|
698
382
|
}
|
|
699
|
-
(
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
383
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: LayoutComponentService, decorators: [{
|
|
384
|
+
type: Injectable,
|
|
385
|
+
args: [{ providedIn: 'root' }]
|
|
386
|
+
}], ctorParameters: function () { return [{ type: i1.FooterService }, { type: i1.HeaderService }, { type: undefined, decorators: [{
|
|
387
|
+
type: Optional
|
|
388
|
+
}, {
|
|
389
|
+
type: Inject,
|
|
390
|
+
args: [RXAP_LOGO_CONFIG]
|
|
391
|
+
}] }, { type: i1$4.ConfigService, decorators: [{
|
|
392
|
+
type: Inject,
|
|
393
|
+
args: [ConfigService]
|
|
394
|
+
}] }]; } });
|
|
711
395
|
|
|
712
|
-
function WindowContainerSidenavComponent_div_1_ng_template_1_Template(rf, ctx) { }
|
|
713
|
-
function WindowContainerSidenavComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
714
|
-
i0.ɵɵelementStart(0, "div", 2);
|
|
715
|
-
i0.ɵɵtemplate(1, WindowContainerSidenavComponent_div_1_ng_template_1_Template, 0, 0, "ng-template", 3);
|
|
716
|
-
i0.ɵɵelementEnd();
|
|
717
|
-
} if (rf & 2) {
|
|
718
|
-
const portalId_r1 = ctx.$implicit;
|
|
719
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
720
|
-
i0.ɵɵadvance(1);
|
|
721
|
-
i0.ɵɵproperty("cdkPortalOutlet", ctx_r0.portals.get(portalId_r1));
|
|
722
|
-
} }
|
|
723
396
|
class WindowContainerSidenavComponent {
|
|
724
397
|
constructor(service) {
|
|
725
398
|
this.service = service;
|
|
@@ -754,68 +427,39 @@ class WindowContainerSidenavComponent {
|
|
|
754
427
|
portal.detach();
|
|
755
428
|
}
|
|
756
429
|
}
|
|
757
|
-
static { this.ɵfac =
|
|
758
|
-
static { this.ɵcmp =
|
|
759
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
760
|
-
i0.ɵɵtemplate(1, WindowContainerSidenavComponent_div_1_Template, 2, 1, "div", 1);
|
|
761
|
-
i0.ɵɵelementEnd();
|
|
762
|
-
} if (rf & 2) {
|
|
763
|
-
i0.ɵɵadvance(1);
|
|
764
|
-
i0.ɵɵproperty("ngForOf", ctx.portals.keys())("ngForTrackBy", ctx.trackBy);
|
|
765
|
-
} }, dependencies: [FlexModule, i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutGapDirective, i1$3.DefaultFlexDirective, NgFor, PortalModule, i3.CdkPortalOutlet], styles: [".container[_ngcontent-%COMP%]{padding:8px}"], changeDetection: 0 }); }
|
|
430
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowContainerSidenavComponent, deps: [{ token: WindowContainerSidenavService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
431
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: WindowContainerSidenavComponent, isStandalone: true, selector: "rxap-window-container-sidenav", ngImport: i0, template: "<div class=\"container\" fxLayout=\"column\" fxLayoutGap=\"16px\">\n\n <div *ngFor=\"let portalId of portals.keys(); trackBy: trackBy\" fxFlex=\"nogrow\">\n <ng-template [cdkPortalOutlet]=\"portals.get(portalId)\"></ng-template>\n </div>\n\n</div>\n", styles: [".container{padding:8px}\n"], dependencies: [{ kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i1$3.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i1$3.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i1$3.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: PortalModule }, { kind: "directive", type: i3.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
766
432
|
}
|
|
767
|
-
(
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
433
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: WindowContainerSidenavComponent, decorators: [{
|
|
434
|
+
type: Component,
|
|
435
|
+
args: [{ selector: 'rxap-window-container-sidenav', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [FlexModule, NgFor, PortalModule], template: "<div class=\"container\" fxLayout=\"column\" fxLayoutGap=\"16px\">\n\n <div *ngFor=\"let portalId of portals.keys(); trackBy: trackBy\" fxFlex=\"nogrow\">\n <ng-template [cdkPortalOutlet]=\"portals.get(portalId)\"></ng-template>\n </div>\n\n</div>\n", styles: [".container{padding:8px}\n"] }]
|
|
436
|
+
}], ctorParameters: function () { return [{ type: i1.WindowContainerSidenavService, decorators: [{
|
|
437
|
+
type: Inject,
|
|
438
|
+
args: [WindowContainerSidenavService]
|
|
439
|
+
}] }]; } });
|
|
774
440
|
|
|
775
|
-
function ToggleWindowSidenavButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
776
|
-
i0.ɵɵelementStart(0, "mat-icon");
|
|
777
|
-
i0.ɵɵtext(1, "keyboard_arrow_left");
|
|
778
|
-
i0.ɵɵelementEnd();
|
|
779
|
-
} }
|
|
780
|
-
function ToggleWindowSidenavButtonComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
781
|
-
i0.ɵɵelementStart(0, "mat-icon");
|
|
782
|
-
i0.ɵɵtext(1, "keyboard_arrow_right");
|
|
783
|
-
i0.ɵɵelementEnd();
|
|
784
|
-
} }
|
|
785
441
|
class ToggleWindowSidenavButtonComponent {
|
|
786
442
|
constructor() {
|
|
787
443
|
this.openWindowSidenav = false;
|
|
788
444
|
this.openWindowSidenavChange = new EventEmitter();
|
|
789
445
|
}
|
|
790
|
-
ngOnInit() {
|
|
791
|
-
}
|
|
792
446
|
toggle() {
|
|
793
447
|
this.openWindowSidenav = !this.openWindowSidenav;
|
|
794
448
|
this.openWindowSidenavChange.emit(this.openWindowSidenav);
|
|
795
449
|
}
|
|
796
|
-
static { this.ɵfac =
|
|
797
|
-
static { this.ɵcmp =
|
|
798
|
-
i0.ɵɵelementStart(0, "div", 0)(1, "button", 1);
|
|
799
|
-
i0.ɵɵlistener("click", function ToggleWindowSidenavButtonComponent_Template_button_click_1_listener() { return ctx.toggle(); });
|
|
800
|
-
i0.ɵɵtemplate(2, ToggleWindowSidenavButtonComponent_ng_template_2_Template, 2, 0, "ng-template", 2);
|
|
801
|
-
i0.ɵɵtemplate(3, ToggleWindowSidenavButtonComponent_ng_template_3_Template, 2, 0, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
802
|
-
i0.ɵɵelementEnd()();
|
|
803
|
-
} if (rf & 2) {
|
|
804
|
-
const _r1 = i0.ɵɵreference(4);
|
|
805
|
-
i0.ɵɵadvance(2);
|
|
806
|
-
i0.ɵɵproperty("ngIfElse", _r1)("ngIf", !ctx.openWindowSidenav);
|
|
807
|
-
} }, dependencies: [MatButtonModule, i1$2.MatIconButton, NgIf, MatIconModule, i2$2.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 }); }
|
|
450
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ToggleWindowSidenavButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
451
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: ToggleWindowSidenavButtonComponent, isStandalone: true, selector: "rxap-toggle-window-sidenav-button", inputs: { openWindowSidenav: "openWindowSidenav" }, outputs: { openWindowSidenavChange: "openWindowSidenavChange" }, host: { classAttribute: "rxap-toggle-window-sidenav-button" }, ngImport: i0, 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"], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$2.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
808
452
|
}
|
|
809
|
-
(
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
453
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ToggleWindowSidenavButtonComponent, decorators: [{
|
|
454
|
+
type: Component,
|
|
455
|
+
args: [{ selector: 'rxap-toggle-window-sidenav-button', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
456
|
+
class: 'rxap-toggle-window-sidenav-button',
|
|
457
|
+
}, standalone: true, imports: [MatButtonModule, NgIf, MatIconModule], 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"] }]
|
|
458
|
+
}], propDecorators: { openWindowSidenav: [{
|
|
459
|
+
type: Input
|
|
460
|
+
}], openWindowSidenavChange: [{
|
|
461
|
+
type: Output
|
|
462
|
+
}] } });
|
|
819
463
|
|
|
820
464
|
class SidenavContentComponentService {
|
|
821
465
|
constructor(footerComponentService, headerComponentService) {
|
|
@@ -828,96 +472,78 @@ class SidenavContentComponentService {
|
|
|
828
472
|
this.headerComponentService.update$.pipe(tap(() => this.headerRows$.next(this.headerComponentService.countComponent))).subscribe();
|
|
829
473
|
this.innerHeight$ = combineLatest([
|
|
830
474
|
this.headerRows$,
|
|
831
|
-
this.footerRows
|
|
475
|
+
this.footerRows$,
|
|
832
476
|
]).pipe(map(([headerRows, footerRows]) => `calc(100% - ${64 * (headerRows + footerRows)}px)`));
|
|
833
477
|
this.marginTop$ = this.headerRows$.pipe(map(headerRows => `${headerRows * 64}px`));
|
|
834
478
|
this.marginBottom$ = this.footerRows$.pipe(map(footerRows => `${footerRows * 64}px`));
|
|
835
479
|
}
|
|
836
|
-
static { this.ɵfac =
|
|
837
|
-
static { this.ɵprov =
|
|
480
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SidenavContentComponentService, deps: [{ token: FooterService }, { token: HeaderService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
481
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SidenavContentComponentService, providedIn: 'root' }); }
|
|
838
482
|
}
|
|
839
|
-
(
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
483
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SidenavContentComponentService, decorators: [{
|
|
484
|
+
type: Injectable,
|
|
485
|
+
args: [{ providedIn: 'root' }]
|
|
486
|
+
}], ctorParameters: function () { return [{ type: i1.FooterService, decorators: [{
|
|
487
|
+
type: Inject,
|
|
488
|
+
args: [FooterService]
|
|
489
|
+
}] }, { type: i1.HeaderService, decorators: [{
|
|
490
|
+
type: Inject,
|
|
491
|
+
args: [HeaderService]
|
|
492
|
+
}] }]; } });
|
|
849
493
|
|
|
850
|
-
const _c0$3 = function (a0) { return { "open": a0 }; };
|
|
851
|
-
const _c1$2 = function (a0, a1, a2) { return { height: a0, marginTop: a1, marginBottom: a2 }; };
|
|
852
|
-
const _c2$1 = ["*"];
|
|
853
494
|
class SidenavContentComponent {
|
|
854
495
|
constructor(sccs) {
|
|
855
496
|
this.sccs = sccs;
|
|
856
497
|
}
|
|
857
|
-
|
|
858
|
-
}
|
|
859
|
-
static { this.ɵfac = function SidenavContentComponent_Factory(t) { return new (t || SidenavContentComponent)(i0.ɵɵdirectiveInject(SidenavContentComponentService)); }; }
|
|
860
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SidenavContentComponent, selectors: [["rxap-sidenav-content"]], inputs: { sidenav: "sidenav" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c2$1, decls: 8, vars: 16, consts: [[1, "container", 3, "ngClass", "ngStyle"], [1, "inner"]], template: function SidenavContentComponent_Template(rf, ctx) { if (rf & 1) {
|
|
861
|
-
i0.ɵɵprojectionDef();
|
|
862
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
863
|
-
i0.ɵɵpipe(1, "async");
|
|
864
|
-
i0.ɵɵpipe(2, "async");
|
|
865
|
-
i0.ɵɵpipe(3, "async");
|
|
866
|
-
i0.ɵɵpipe(4, "async");
|
|
867
|
-
i0.ɵɵelementStart(5, "div", 1);
|
|
868
|
-
i0.ɵɵelement(6, "router-outlet");
|
|
869
|
-
i0.ɵɵprojection(7);
|
|
870
|
-
i0.ɵɵelementEnd()();
|
|
871
|
-
} if (rf & 2) {
|
|
872
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$3, i0.ɵɵpipeBind1(1, 2, ctx.sidenav.openedChange)))("ngStyle", i0.ɵɵpureFunction3(12, _c1$2, i0.ɵɵpipeBind1(2, 4, ctx.sccs.innerHeight$), i0.ɵɵpipeBind1(3, 6, ctx.sccs.marginTop$), i0.ɵɵpipeBind1(4, 8, ctx.sccs.marginBottom$)));
|
|
873
|
-
} }, dependencies: [NgClass, NgStyle, RouterOutlet, AsyncPipe], styles: [".container[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%]{padding:0;overflow:auto;height:100%}"], changeDetection: 0 }); }
|
|
498
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SidenavContentComponent, deps: [{ token: SidenavContentComponentService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
499
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: SidenavContentComponent, isStandalone: true, selector: "rxap-sidenav-content", inputs: { sidenav: "sidenav" }, ngImport: i0, 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"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
874
500
|
}
|
|
875
501
|
__decorate([
|
|
876
502
|
Required,
|
|
877
503
|
__metadata("design:type", MatSidenav)
|
|
878
504
|
], SidenavContentComponent.prototype, "sidenav", void 0);
|
|
879
|
-
(
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
505
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SidenavContentComponent, decorators: [{
|
|
506
|
+
type: Component,
|
|
507
|
+
args: [{ selector: 'rxap-sidenav-content', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgClass, NgStyle, RouterOutlet, AsyncPipe], 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"] }]
|
|
508
|
+
}], ctorParameters: function () { return [{ type: SidenavContentComponentService }]; }, propDecorators: { sidenav: [{
|
|
509
|
+
type: Input
|
|
510
|
+
}] } });
|
|
885
511
|
|
|
886
512
|
class SidenavHeaderDirective {
|
|
887
513
|
constructor(template) {
|
|
888
514
|
this.template = template;
|
|
889
515
|
}
|
|
890
|
-
static { this.ɵfac =
|
|
891
|
-
static { this.ɵdir =
|
|
516
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SidenavHeaderDirective, deps: [{ token: TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
517
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: SidenavHeaderDirective, isStandalone: true, selector: "[rxapSidenavHeader]", ngImport: i0 }); }
|
|
892
518
|
}
|
|
893
|
-
(
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
519
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SidenavHeaderDirective, decorators: [{
|
|
520
|
+
type: Directive,
|
|
521
|
+
args: [{
|
|
522
|
+
selector: '[rxapSidenavHeader]',
|
|
523
|
+
standalone: true,
|
|
524
|
+
}]
|
|
525
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
526
|
+
type: Inject,
|
|
527
|
+
args: [TemplateRef]
|
|
528
|
+
}] }]; } });
|
|
903
529
|
|
|
904
530
|
class SidenavFooterDirective {
|
|
905
531
|
constructor(template) {
|
|
906
532
|
this.template = template;
|
|
907
533
|
}
|
|
908
|
-
static { this.ɵfac =
|
|
909
|
-
static { this.ɵdir =
|
|
534
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SidenavFooterDirective, deps: [{ token: TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
535
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: SidenavFooterDirective, isStandalone: true, selector: "[rxapSidenavFooter]", ngImport: i0 }); }
|
|
910
536
|
}
|
|
911
|
-
(
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
537
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SidenavFooterDirective, decorators: [{
|
|
538
|
+
type: Directive,
|
|
539
|
+
args: [{
|
|
540
|
+
selector: '[rxapSidenavFooter]',
|
|
541
|
+
standalone: true,
|
|
542
|
+
}]
|
|
543
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
544
|
+
type: Inject,
|
|
545
|
+
args: [TemplateRef]
|
|
546
|
+
}] }]; } });
|
|
921
547
|
|
|
922
548
|
class SidenavComponentService {
|
|
923
549
|
constructor(config) {
|
|
@@ -928,22 +554,22 @@ class SidenavComponentService {
|
|
|
928
554
|
toggleNavigationCollapse() {
|
|
929
555
|
this.collapsed$.next(!this.collapsed$.value);
|
|
930
556
|
}
|
|
931
|
-
static { this.ɵfac =
|
|
932
|
-
static { this.ɵprov =
|
|
557
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SidenavComponentService, deps: [{ token: i1$4.ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
558
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SidenavComponentService, providedIn: 'root' }); }
|
|
933
559
|
}
|
|
934
|
-
(
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
560
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SidenavComponentService, decorators: [{
|
|
561
|
+
type: Injectable,
|
|
562
|
+
args: [{ providedIn: 'root' }]
|
|
563
|
+
}], ctorParameters: function () { return [{ type: i1$4.ConfigService }]; } });
|
|
938
564
|
|
|
939
565
|
function IsNavigationDividerItem(item) {
|
|
940
|
-
return item && item
|
|
566
|
+
return !!item && !!item['divider'];
|
|
941
567
|
}
|
|
942
568
|
function IsNavigationInsertItem(item) {
|
|
943
|
-
return item && item
|
|
569
|
+
return !!item && !!item['insert'];
|
|
944
570
|
}
|
|
945
571
|
function IsNavigationItem(item) {
|
|
946
|
-
return (item && item
|
|
572
|
+
return (!!item && !!item['routerLink'] && !!item['label']);
|
|
947
573
|
}
|
|
948
574
|
|
|
949
575
|
class NavigationService {
|
|
@@ -1011,8 +637,10 @@ class NavigationService {
|
|
|
1011
637
|
else {
|
|
1012
638
|
return from(isVisible);
|
|
1013
639
|
}
|
|
1014
|
-
})
|
|
1015
|
-
|
|
640
|
+
})
|
|
641
|
+
.map(isVisible$ => isVisible$.pipe(catchError(e => {
|
|
642
|
+
console.error('isVisible method failed: ' +
|
|
643
|
+
e.message);
|
|
1016
644
|
return of(false);
|
|
1017
645
|
})));
|
|
1018
646
|
// TODO : dont wait for all status services to complete, but cancel waiting if one returns false
|
|
@@ -1064,92 +692,25 @@ class NavigationService {
|
|
|
1064
692
|
}
|
|
1065
693
|
return navigation;
|
|
1066
694
|
}
|
|
1067
|
-
static { this.ɵfac =
|
|
1068
|
-
static { this.ɵprov =
|
|
695
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: NavigationService, deps: [{ token: RXAP_NAVIGATION_CONFIG }, { token: INJECTOR }, { token: RXAP_NAVIGATION_CONFIG_INSERTS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
696
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: NavigationService, providedIn: 'root' }); }
|
|
1069
697
|
}
|
|
1070
|
-
(
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
698
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: NavigationService, decorators: [{
|
|
699
|
+
type: Injectable,
|
|
700
|
+
args: [{ providedIn: 'root' }]
|
|
701
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
702
|
+
type: Inject,
|
|
703
|
+
args: [RXAP_NAVIGATION_CONFIG]
|
|
704
|
+
}] }, { type: undefined, decorators: [{
|
|
705
|
+
type: Inject,
|
|
706
|
+
args: [INJECTOR]
|
|
707
|
+
}] }, { type: undefined, decorators: [{
|
|
708
|
+
type: Optional
|
|
709
|
+
}, {
|
|
710
|
+
type: Inject,
|
|
711
|
+
args: [RXAP_NAVIGATION_CONFIG_INSERTS]
|
|
712
|
+
}] }]; } });
|
|
1085
713
|
|
|
1086
|
-
const _c0$2 = ["navigationOverlay"];
|
|
1087
|
-
const _c1$1 = ["rxap-navigation-item", ""];
|
|
1088
|
-
function NavigationItemComponent_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
|
|
1089
|
-
i0.ɵɵelement(0, "mat-icon", 5);
|
|
1090
|
-
} if (rf & 2) {
|
|
1091
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
1092
|
-
i0.ɵɵproperty("rxapIcon", ctx_r0.item.icon);
|
|
1093
|
-
} }
|
|
1094
|
-
function NavigationItemComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
1095
|
-
i0.ɵɵelementStart(0, "span", 6);
|
|
1096
|
-
i0.ɵɵtext(1);
|
|
1097
|
-
i0.ɵɵelementEnd();
|
|
1098
|
-
} if (rf & 2) {
|
|
1099
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
1100
|
-
i0.ɵɵadvance(1);
|
|
1101
|
-
i0.ɵɵtextInterpolate(ctx_r1.item.label);
|
|
1102
|
-
} }
|
|
1103
|
-
function NavigationItemComponent_ul_5_Template(rf, ctx) { if (rf & 1) {
|
|
1104
|
-
i0.ɵɵelement(0, "ul", 7);
|
|
1105
|
-
} if (rf & 2) {
|
|
1106
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
1107
|
-
i0.ɵɵproperty("@sub-nav", undefined)("items", ctx_r2.children)("level", ctx_r2.level + 1);
|
|
1108
|
-
} }
|
|
1109
|
-
function NavigationItemComponent_ng_template_7_li_2_a_1_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
|
|
1110
|
-
i0.ɵɵelement(0, "mat-icon", 5);
|
|
1111
|
-
} if (rf & 2) {
|
|
1112
|
-
const child_r6 = i0.ɵɵnextContext(2).$implicit;
|
|
1113
|
-
const ctx_r8 = i0.ɵɵnextContext(2);
|
|
1114
|
-
i0.ɵɵproperty("rxapIcon", ctx_r8.asNavigationItem(child_r6).icon);
|
|
1115
|
-
} }
|
|
1116
|
-
function NavigationItemComponent_ng_template_7_li_2_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
1117
|
-
i0.ɵɵelementStart(0, "a", 11);
|
|
1118
|
-
i0.ɵɵtemplate(1, NavigationItemComponent_ng_template_7_li_2_a_1_mat_icon_1_Template, 1, 1, "mat-icon", 1);
|
|
1119
|
-
i0.ɵɵelementStart(2, "span", 6);
|
|
1120
|
-
i0.ɵɵtext(3);
|
|
1121
|
-
i0.ɵɵelementEnd()();
|
|
1122
|
-
} if (rf & 2) {
|
|
1123
|
-
const child_r6 = i0.ɵɵnextContext().$implicit;
|
|
1124
|
-
const ctx_r7 = i0.ɵɵnextContext(2);
|
|
1125
|
-
i0.ɵɵproperty("routerLink", ctx_r7.asNavigationItem(child_r6).routerLink);
|
|
1126
|
-
i0.ɵɵadvance(1);
|
|
1127
|
-
i0.ɵɵproperty("ngIf", ctx_r7.asNavigationItem(child_r6).icon);
|
|
1128
|
-
i0.ɵɵadvance(2);
|
|
1129
|
-
i0.ɵɵtextInterpolate(ctx_r7.asNavigationItem(child_r6).label);
|
|
1130
|
-
} }
|
|
1131
|
-
function NavigationItemComponent_ng_template_7_li_2_Template(rf, ctx) { if (rf & 1) {
|
|
1132
|
-
i0.ɵɵelementStart(0, "li");
|
|
1133
|
-
i0.ɵɵtemplate(1, NavigationItemComponent_ng_template_7_li_2_a_1_Template, 4, 3, "a", 10);
|
|
1134
|
-
i0.ɵɵelementEnd();
|
|
1135
|
-
} if (rf & 2) {
|
|
1136
|
-
const child_r6 = ctx.$implicit;
|
|
1137
|
-
const ctx_r5 = i0.ɵɵnextContext(2);
|
|
1138
|
-
i0.ɵɵadvance(1);
|
|
1139
|
-
i0.ɵɵproperty("ngIf", ctx_r5.isNavigationItem(child_r6));
|
|
1140
|
-
} }
|
|
1141
|
-
function NavigationItemComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
1142
|
-
const _r12 = i0.ɵɵgetCurrentView();
|
|
1143
|
-
i0.ɵɵelementStart(0, "div", 8);
|
|
1144
|
-
i0.ɵɵlistener("mouseenter", function NavigationItemComponent_ng_template_7_Template_div_mouseenter_0_listener() { i0.ɵɵrestoreView(_r12); const ctx_r11 = i0.ɵɵnextContext(); return i0.ɵɵresetView(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 i0.ɵɵresetView(ctx_r13.onMouseleave()); });
|
|
1145
|
-
i0.ɵɵelementStart(1, "ul");
|
|
1146
|
-
i0.ɵɵtemplate(2, NavigationItemComponent_ng_template_7_li_2_Template, 2, 1, "li", 9);
|
|
1147
|
-
i0.ɵɵelementEnd()();
|
|
1148
|
-
} if (rf & 2) {
|
|
1149
|
-
const ctx_r4 = i0.ɵɵnextContext();
|
|
1150
|
-
i0.ɵɵadvance(2);
|
|
1151
|
-
i0.ɵɵproperty("ngForOf", ctx_r4.children);
|
|
1152
|
-
} }
|
|
1153
714
|
class NavigationItemComponent {
|
|
1154
715
|
constructor(router, sidenav, elementRef, renderer, overlay, viewContainerRef) {
|
|
1155
716
|
this.router = router;
|
|
@@ -1168,8 +729,8 @@ class NavigationItemComponent {
|
|
|
1168
729
|
this.lockeOverlay = false;
|
|
1169
730
|
}
|
|
1170
731
|
ngOnChanges(changes) {
|
|
1171
|
-
if (changes
|
|
1172
|
-
const item = changes
|
|
732
|
+
if (changes['item']) {
|
|
733
|
+
const item = changes['item'].currentValue;
|
|
1173
734
|
this.children =
|
|
1174
735
|
item.children && item.children.length ? item.children : null;
|
|
1175
736
|
}
|
|
@@ -1244,56 +805,24 @@ class NavigationItemComponent {
|
|
|
1244
805
|
}
|
|
1245
806
|
return item;
|
|
1246
807
|
}
|
|
1247
|
-
static { this.ɵfac =
|
|
1248
|
-
static { this.ɵcmp =
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
i0.ɵɵelementEnd();
|
|
1266
|
-
i0.ɵɵtemplate(5, NavigationItemComponent_ul_5_Template, 1, 3, "ul", 3);
|
|
1267
|
-
i0.ɵɵpipe(6, "async");
|
|
1268
|
-
i0.ɵɵtemplate(7, NavigationItemComponent_ng_template_7_Template, 3, 1, "ng-template", null, 4, i0.ɵɵtemplateRefExtractor);
|
|
1269
|
-
} if (rf & 2) {
|
|
1270
|
-
i0.ɵɵclassMapInterpolate1("navigation-link mat-body-2 mat-body-strong navigation-level-", ctx.level, "");
|
|
1271
|
-
i0.ɵɵproperty("routerLink", ctx.item.routerLink)("matTooltipDisabled", !i0.ɵɵpipeBind1(1, 9, ctx.sidenav.collapsed$))("matTooltip", ctx.item.label);
|
|
1272
|
-
i0.ɵɵadvance(2);
|
|
1273
|
-
i0.ɵɵproperty("ngIf", ctx.item.icon);
|
|
1274
|
-
i0.ɵɵadvance(1);
|
|
1275
|
-
i0.ɵɵproperty("ngIf", !i0.ɵɵpipeBind1(4, 11, ctx.sidenav.collapsed$));
|
|
1276
|
-
i0.ɵɵadvance(2);
|
|
1277
|
-
i0.ɵɵproperty("ngIf", ctx.routerLinkActive.isActive && !i0.ɵɵpipeBind1(6, 13, ctx.sidenav.collapsed$) && ctx.children);
|
|
1278
|
-
} }, dependencies: [RouterLinkActive,
|
|
1279
|
-
MatRippleModule, i4$1.MatRipple, RouterLink,
|
|
1280
|
-
MatTooltipModule, i2$6.MatTooltip, NgIf,
|
|
1281
|
-
MatIconModule, i2$2.MatIcon, IconDirective,
|
|
1282
|
-
NavigationComponent,
|
|
1283
|
-
FlexModule, i1$3.DefaultFlexDirective, NgFor,
|
|
1284
|
-
AsyncPipe], 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: [
|
|
1285
|
-
trigger('sub-nav', [
|
|
1286
|
-
transition(':enter', [
|
|
1287
|
-
style({ display: 'block', height: '0', overflow: 'hidden' }),
|
|
1288
|
-
animate(150, style({ height: '*' }))
|
|
1289
|
-
]),
|
|
1290
|
-
transition(':leave', [
|
|
1291
|
-
style({ overflow: 'hidden' }),
|
|
1292
|
-
animate(300, style({ height: '0' })),
|
|
1293
|
-
style({ display: 'none' })
|
|
1294
|
-
])
|
|
1295
|
-
])
|
|
1296
|
-
] }, changeDetection: 0 }); }
|
|
808
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: NavigationItemComponent, deps: [{ token: Router }, { token: SidenavComponentService }, { token: ElementRef }, { token: Renderer2 }, { token: Overlay }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
809
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: NavigationItemComponent, isStandalone: true, selector: "li[rxap-navigation-item]", inputs: { item: "item", level: "level" }, host: { listeners: { "mouseenter": "onMouseenter()", "mouseleave": "onMouseleave()" }, properties: { "class.active": "this.isActive" }, classAttribute: "rxap-navigation-item" }, viewQueries: [{ propertyName: "routerLinkActive", first: true, predicate: RouterLinkActive, descendants: true, static: true }, { propertyName: "_navigationOverlay", first: true, predicate: ["navigationOverlay"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<a [matTooltipDisabled]=\"(sidenav.collapsed$ | async) === false\"\n [matTooltip]=\"item.label\"\n [routerLink]=\"item.routerLink\"\n class=\"navigation-link mat-body-2 mat-body-strong navigation-level-{{level}}\"\n matRipple routerLinkActive=\"link-active\">\n <mat-icon *ngIf=\"item.icon\" [rxapIcon]=\"item.icon\" class=\"icon\"></mat-icon>\n <ng-template [ngIf]=\"(sidenav.collapsed$ | async) === false\">\n <span class=\"label\">{{ item.label }}</span>\n </ng-template>\n</a>\n\n<ul *ngIf=\"routerLinkActive.isActive && (sidenav.collapsed$ | async) === false && children\"\n [@sub-nav]\n [items]=\"children\"\n [level]=\"level + 1\"\n class=\"sub-items\"\n fxFlex=\"nogrow\"\n rxap-navigation\n>\n</ul>\n\n<ng-template #navigationOverlay>\n <div (mouseenter)=\"lockeOverlay = true\"\n (mouseleave)=\"lockeOverlay = false; onMouseleave()\" class=\"navigation-overlay-container mat-elevation-z1\">\n <ul>\n <li *ngFor=\"let child of children\">\n <a *ngIf=\"isNavigationItem(child)\" [routerLink]=\"asNavigationItem(child).routerLink\"\n class=\"navigation-link mat-subtitle-2 mat-body-strong\" matRipple>\n <mat-icon *ngIf=\"asNavigationItem(child).icon\" [rxapIcon]=\"asNavigationItem(child).icon\"\n 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"], dependencies: [{ kind: "directive", type: RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "ngmodule", type: MatRippleModule }, { kind: "directive", type: i4$1.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i2$6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: IconDirective, selector: "mat-icon[rxapIcon]", inputs: ["rxapIcon"] }, { kind: "component", type: NavigationComponent, selector: "ul[rxap-navigation]", inputs: ["root", "items", "level"] }, { kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i1$3.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], animations: [
|
|
810
|
+
trigger('sub-nav', [
|
|
811
|
+
transition(':enter', [
|
|
812
|
+
style({
|
|
813
|
+
display: 'block',
|
|
814
|
+
height: '0',
|
|
815
|
+
overflow: 'hidden',
|
|
816
|
+
}),
|
|
817
|
+
animate(150, style({ height: '*' })),
|
|
818
|
+
]),
|
|
819
|
+
transition(':leave', [
|
|
820
|
+
style({ overflow: 'hidden' }),
|
|
821
|
+
animate(300, style({ height: '0' })),
|
|
822
|
+
style({ display: 'none' }),
|
|
823
|
+
]),
|
|
824
|
+
]),
|
|
825
|
+
], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1297
826
|
}
|
|
1298
827
|
__decorate([
|
|
1299
828
|
Required,
|
|
@@ -1305,119 +834,78 @@ __decorate([
|
|
|
1305
834
|
__metadata("design:paramtypes", []),
|
|
1306
835
|
__metadata("design:returntype", void 0)
|
|
1307
836
|
], NavigationItemComponent.prototype, "onMouseleave", null);
|
|
1308
|
-
(
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
837
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: NavigationItemComponent, decorators: [{
|
|
838
|
+
type: Component,
|
|
839
|
+
args: [{ selector: 'li[rxap-navigation-item]', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
840
|
+
class: 'rxap-navigation-item',
|
|
841
|
+
}, animations: [
|
|
842
|
+
trigger('sub-nav', [
|
|
843
|
+
transition(':enter', [
|
|
844
|
+
style({
|
|
845
|
+
display: 'block',
|
|
846
|
+
height: '0',
|
|
847
|
+
overflow: 'hidden',
|
|
848
|
+
}),
|
|
849
|
+
animate(150, style({ height: '*' })),
|
|
850
|
+
]),
|
|
851
|
+
transition(':leave', [
|
|
852
|
+
style({ overflow: 'hidden' }),
|
|
853
|
+
animate(300, style({ height: '0' })),
|
|
854
|
+
style({ display: 'none' }),
|
|
855
|
+
]),
|
|
1317
856
|
]),
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
type:
|
|
1351
|
-
args: [
|
|
1352
|
-
}]
|
|
1353
|
-
type:
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
type: HostListener,
|
|
1370
|
-
args: ['mouseenter']
|
|
1371
|
-
}], onMouseleave: [{
|
|
1372
|
-
type: HostListener,
|
|
1373
|
-
args: ['mouseleave']
|
|
1374
|
-
}] }); })();
|
|
857
|
+
], standalone: true, imports: [
|
|
858
|
+
RouterLinkActive,
|
|
859
|
+
MatRippleModule,
|
|
860
|
+
RouterLink,
|
|
861
|
+
MatTooltipModule,
|
|
862
|
+
NgIf,
|
|
863
|
+
MatIconModule,
|
|
864
|
+
IconDirective,
|
|
865
|
+
NavigationComponent,
|
|
866
|
+
FlexModule,
|
|
867
|
+
NgFor,
|
|
868
|
+
AsyncPipe,
|
|
869
|
+
], template: "<a [matTooltipDisabled]=\"(sidenav.collapsed$ | async) === false\"\n [matTooltip]=\"item.label\"\n [routerLink]=\"item.routerLink\"\n class=\"navigation-link mat-body-2 mat-body-strong navigation-level-{{level}}\"\n matRipple routerLinkActive=\"link-active\">\n <mat-icon *ngIf=\"item.icon\" [rxapIcon]=\"item.icon\" class=\"icon\"></mat-icon>\n <ng-template [ngIf]=\"(sidenav.collapsed$ | async) === false\">\n <span class=\"label\">{{ item.label }}</span>\n </ng-template>\n</a>\n\n<ul *ngIf=\"routerLinkActive.isActive && (sidenav.collapsed$ | async) === false && children\"\n [@sub-nav]\n [items]=\"children\"\n [level]=\"level + 1\"\n class=\"sub-items\"\n fxFlex=\"nogrow\"\n rxap-navigation\n>\n</ul>\n\n<ng-template #navigationOverlay>\n <div (mouseenter)=\"lockeOverlay = true\"\n (mouseleave)=\"lockeOverlay = false; onMouseleave()\" class=\"navigation-overlay-container mat-elevation-z1\">\n <ul>\n <li *ngFor=\"let child of children\">\n <a *ngIf=\"isNavigationItem(child)\" [routerLink]=\"asNavigationItem(child).routerLink\"\n class=\"navigation-link mat-subtitle-2 mat-body-strong\" matRipple>\n <mat-icon *ngIf=\"asNavigationItem(child).icon\" [rxapIcon]=\"asNavigationItem(child).icon\"\n 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"] }]
|
|
870
|
+
}], ctorParameters: function () { return [{ type: i2$1.Router, decorators: [{
|
|
871
|
+
type: Inject,
|
|
872
|
+
args: [Router]
|
|
873
|
+
}] }, { type: SidenavComponentService, decorators: [{
|
|
874
|
+
type: Inject,
|
|
875
|
+
args: [SidenavComponentService]
|
|
876
|
+
}] }, { type: i0.ElementRef, decorators: [{
|
|
877
|
+
type: Inject,
|
|
878
|
+
args: [ElementRef]
|
|
879
|
+
}] }, { type: i0.Renderer2, decorators: [{
|
|
880
|
+
type: Inject,
|
|
881
|
+
args: [Renderer2]
|
|
882
|
+
}] }, { type: i7.Overlay, decorators: [{
|
|
883
|
+
type: Inject,
|
|
884
|
+
args: [Overlay]
|
|
885
|
+
}] }, { type: i0.ViewContainerRef, decorators: [{
|
|
886
|
+
type: Inject,
|
|
887
|
+
args: [ViewContainerRef]
|
|
888
|
+
}] }]; }, propDecorators: { routerLinkActive: [{
|
|
889
|
+
type: ViewChild,
|
|
890
|
+
args: [RouterLinkActive, { static: true }]
|
|
891
|
+
}], item: [{
|
|
892
|
+
type: Input
|
|
893
|
+
}], level: [{
|
|
894
|
+
type: Input
|
|
895
|
+
}], isActive: [{
|
|
896
|
+
type: HostBinding,
|
|
897
|
+
args: ['class.active']
|
|
898
|
+
}], _navigationOverlay: [{
|
|
899
|
+
type: ViewChild,
|
|
900
|
+
args: ['navigationOverlay']
|
|
901
|
+
}], onMouseenter: [{
|
|
902
|
+
type: HostListener,
|
|
903
|
+
args: ['mouseenter']
|
|
904
|
+
}], onMouseleave: [{
|
|
905
|
+
type: HostListener,
|
|
906
|
+
args: ['mouseleave']
|
|
907
|
+
}] } });
|
|
1375
908
|
|
|
1376
|
-
const _c0$1 = ["rxap-navigation", ""];
|
|
1377
|
-
function NavigationComponent_ng_template_0_ng_template_0_div_1_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
1378
|
-
i0.ɵɵelementStart(0, "span", 2);
|
|
1379
|
-
i0.ɵɵtext(1);
|
|
1380
|
-
i0.ɵɵelementEnd();
|
|
1381
|
-
} if (rf & 2) {
|
|
1382
|
-
const item_r1 = i0.ɵɵnextContext(3).$implicit;
|
|
1383
|
-
i0.ɵɵadvance(1);
|
|
1384
|
-
i0.ɵɵtextInterpolate(item_r1.title);
|
|
1385
|
-
} }
|
|
1386
|
-
function NavigationComponent_ng_template_0_ng_template_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
1387
|
-
i0.ɵɵelementStart(0, "div", 4);
|
|
1388
|
-
i0.ɵɵtemplate(1, NavigationComponent_ng_template_0_ng_template_0_div_1_span_1_Template, 2, 1, "span", 5);
|
|
1389
|
-
i0.ɵɵelementEnd();
|
|
1390
|
-
} if (rf & 2) {
|
|
1391
|
-
const item_r1 = i0.ɵɵnextContext(2).$implicit;
|
|
1392
|
-
i0.ɵɵadvance(1);
|
|
1393
|
-
i0.ɵɵproperty("ngIf", item_r1.title);
|
|
1394
|
-
} }
|
|
1395
|
-
function NavigationComponent_ng_template_0_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
1396
|
-
i0.ɵɵelement(0, "mat-divider", 2);
|
|
1397
|
-
i0.ɵɵtemplate(1, NavigationComponent_ng_template_0_ng_template_0_div_1_Template, 2, 1, "div", 3);
|
|
1398
|
-
i0.ɵɵpipe(2, "async");
|
|
1399
|
-
} if (rf & 2) {
|
|
1400
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
1401
|
-
i0.ɵɵadvance(1);
|
|
1402
|
-
i0.ɵɵproperty("ngIf", !i0.ɵɵpipeBind1(2, 1, ctx_r2.sidenav.collapsed$));
|
|
1403
|
-
} }
|
|
1404
|
-
function NavigationComponent_ng_template_0_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
1405
|
-
i0.ɵɵelement(0, "li", 6);
|
|
1406
|
-
} if (rf & 2) {
|
|
1407
|
-
const item_r1 = i0.ɵɵnextContext().$implicit;
|
|
1408
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
|
1409
|
-
i0.ɵɵproperty("level", ctx_r3.level)("item", ctx_r3.asNavigationItem(item_r1));
|
|
1410
|
-
} }
|
|
1411
|
-
function NavigationComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
1412
|
-
i0.ɵɵtemplate(0, NavigationComponent_ng_template_0_ng_template_0_Template, 3, 3, "ng-template", 1);
|
|
1413
|
-
i0.ɵɵtemplate(1, NavigationComponent_ng_template_0_ng_template_1_Template, 1, 2, "ng-template", 1);
|
|
1414
|
-
} if (rf & 2) {
|
|
1415
|
-
const item_r1 = ctx.$implicit;
|
|
1416
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
1417
|
-
i0.ɵɵproperty("ngIf", ctx_r0.isNavigationDividerItem(item_r1));
|
|
1418
|
-
i0.ɵɵadvance(1);
|
|
1419
|
-
i0.ɵɵproperty("ngIf", ctx_r0.isNavigationItem(item_r1));
|
|
1420
|
-
} }
|
|
1421
909
|
class NavigationComponent {
|
|
1422
910
|
set root(value) {
|
|
1423
911
|
this._root = coerceBoolean(value);
|
|
@@ -1454,255 +942,100 @@ class NavigationComponent {
|
|
|
1454
942
|
}
|
|
1455
943
|
return item;
|
|
1456
944
|
}
|
|
1457
|
-
static { this.ɵfac =
|
|
1458
|
-
static { this.ɵcmp =
|
|
1459
|
-
i0.ɵɵclassProp("rxap-root-navigation", ctx._root);
|
|
1460
|
-
} }, inputs: { root: "root", items: "items", level: "level" }, standalone: true, features: [i0.ɵɵStandaloneFeature], attrs: _c0$1, decls: 1, vars: 1, consts: [["ngFor", "", 3, "ngForOf"], [3, "ngIf"], ["fxFlex", "nogrow"], ["class", "divider-title", "fxFlex", "nogrow", "fxLayout", "row", "fxLayoutAlign", "start end", 4, "ngIf"], ["fxFlex", "nogrow", "fxLayout", "row", "fxLayoutAlign", "start end", 1, "divider-title"], ["fxFlex", "nogrow", 4, "ngIf"], ["rxap-navigation-item", "", 1, "item", 3, "level", "item"]], template: function NavigationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1461
|
-
i0.ɵɵtemplate(0, NavigationComponent_ng_template_0_Template, 2, 2, "ng-template", 0);
|
|
1462
|
-
} if (rf & 2) {
|
|
1463
|
-
i0.ɵɵproperty("ngForOf", ctx.items);
|
|
1464
|
-
} }, dependencies: [NgFor,
|
|
1465
|
-
NgIf,
|
|
1466
|
-
MatDividerModule, i1$5.MatDivider, FlexModule, i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutAlignDirective, i1$3.DefaultFlexDirective, NavigationItemComponent,
|
|
1467
|
-
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 }); }
|
|
945
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: NavigationComponent, deps: [{ token: NavigationService }, { token: ChangeDetectorRef }, { token: SidenavComponentService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
946
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: NavigationComponent, isStandalone: true, selector: "ul[rxap-navigation]", inputs: { root: "root", items: "items", level: "level" }, host: { properties: { "class.rxap-root-navigation": "this._root" }, classAttribute: "rxap-navigation" }, ngImport: i0, 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) === false\" class=\"divider-title\" fxFlex=\"nogrow\" fxLayout=\"row\"\n fxLayoutAlign=\"start end\">\n <span *ngIf=\"item.title\" fxFlex=\"nogrow\">{{item.title}}</span>\n </div>\n </ng-template>\n <ng-template [ngIf]=\"isNavigationItem(item)\">\n <li [item]=\"asNavigationItem(item)\" [level]=\"level\" class=\"item\" rxap-navigation-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"], dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i1$5.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i1$3.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i1$3.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i1$3.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "component", type: NavigationItemComponent, selector: "li[rxap-navigation-item]", inputs: ["item", "level"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1468
947
|
}
|
|
1469
948
|
__decorate([
|
|
1470
949
|
Required,
|
|
1471
950
|
__metadata("design:type", Array)
|
|
1472
951
|
], NavigationComponent.prototype, "items", void 0);
|
|
1473
|
-
(
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
952
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: NavigationComponent, decorators: [{
|
|
953
|
+
type: Component,
|
|
954
|
+
args: [{ selector: 'ul[rxap-navigation]', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'rxap-navigation' }, standalone: true, imports: [
|
|
955
|
+
NgFor,
|
|
956
|
+
NgIf,
|
|
957
|
+
MatDividerModule,
|
|
958
|
+
FlexModule,
|
|
959
|
+
NavigationItemComponent,
|
|
960
|
+
AsyncPipe,
|
|
961
|
+
], 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) === false\" class=\"divider-title\" fxFlex=\"nogrow\" fxLayout=\"row\"\n fxLayoutAlign=\"start end\">\n <span *ngIf=\"item.title\" fxFlex=\"nogrow\">{{item.title}}</span>\n </div>\n </ng-template>\n <ng-template [ngIf]=\"isNavigationItem(item)\">\n <li [item]=\"asNavigationItem(item)\" [level]=\"level\" class=\"item\" rxap-navigation-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"] }]
|
|
962
|
+
}], ctorParameters: function () { return [{ type: NavigationService, decorators: [{
|
|
963
|
+
type: Inject,
|
|
964
|
+
args: [NavigationService]
|
|
965
|
+
}] }, { type: i0.ChangeDetectorRef, decorators: [{
|
|
966
|
+
type: Inject,
|
|
967
|
+
args: [ChangeDetectorRef]
|
|
968
|
+
}] }, { type: SidenavComponentService, decorators: [{
|
|
969
|
+
type: Inject,
|
|
970
|
+
args: [SidenavComponentService]
|
|
971
|
+
}] }]; }, propDecorators: { _root: [{
|
|
972
|
+
type: HostBinding,
|
|
973
|
+
args: ['class.rxap-root-navigation']
|
|
974
|
+
}], root: [{
|
|
975
|
+
type: Input
|
|
976
|
+
}], items: [{
|
|
977
|
+
type: Input
|
|
978
|
+
}], level: [{
|
|
979
|
+
type: Input
|
|
980
|
+
}] } });
|
|
1502
981
|
|
|
1503
|
-
function SidenavComponent_ng_template_3_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
1504
|
-
i0.ɵɵelementContainer(0);
|
|
1505
|
-
} }
|
|
1506
|
-
function SidenavComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
1507
|
-
i0.ɵɵelementStart(0, "div", 11);
|
|
1508
|
-
i0.ɵɵpipe(1, "async");
|
|
1509
|
-
i0.ɵɵtemplate(2, SidenavComponent_ng_template_3_ng_container_2_Template, 1, 0, "ng-container", 12);
|
|
1510
|
-
i0.ɵɵelementEnd();
|
|
1511
|
-
i0.ɵɵelement(3, "mat-divider", 13);
|
|
1512
|
-
i0.ɵɵpipe(4, "async");
|
|
1513
|
-
} if (rf & 2) {
|
|
1514
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
1515
|
-
let tmp_1_0;
|
|
1516
|
-
i0.ɵɵproperty("fxHide", i0.ɵɵpipeBind1(1, 3, ctx_r0.sidenav.collapsed$));
|
|
1517
|
-
i0.ɵɵadvance(2);
|
|
1518
|
-
i0.ɵɵproperty("ngTemplateOutlet", (tmp_1_0 = ctx_r0.sidenavHeaderDirective == null ? null : ctx_r0.sidenavHeaderDirective.template) !== null && tmp_1_0 !== undefined ? tmp_1_0 : null);
|
|
1519
|
-
i0.ɵɵadvance(1);
|
|
1520
|
-
i0.ɵɵproperty("fxHide", i0.ɵɵpipeBind1(4, 5, ctx_r0.sidenav.collapsed$));
|
|
1521
|
-
} }
|
|
1522
|
-
function SidenavComponent_ng_template_15_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
1523
|
-
i0.ɵɵelementContainer(0);
|
|
1524
|
-
} }
|
|
1525
|
-
function SidenavComponent_ng_template_15_Template(rf, ctx) { if (rf & 1) {
|
|
1526
|
-
i0.ɵɵelement(0, "mat-divider", 13);
|
|
1527
|
-
i0.ɵɵpipe(1, "async");
|
|
1528
|
-
i0.ɵɵelementStart(2, "div", 14);
|
|
1529
|
-
i0.ɵɵpipe(3, "async");
|
|
1530
|
-
i0.ɵɵtemplate(4, SidenavComponent_ng_template_15_ng_container_4_Template, 1, 0, "ng-container", 12);
|
|
1531
|
-
i0.ɵɵelementEnd();
|
|
1532
|
-
} if (rf & 2) {
|
|
1533
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
1534
|
-
let tmp_2_0;
|
|
1535
|
-
i0.ɵɵproperty("fxHide", i0.ɵɵpipeBind1(1, 3, ctx_r1.sidenav.collapsed$));
|
|
1536
|
-
i0.ɵɵadvance(2);
|
|
1537
|
-
i0.ɵɵproperty("fxHide", i0.ɵɵpipeBind1(3, 5, ctx_r1.sidenav.collapsed$));
|
|
1538
|
-
i0.ɵɵadvance(2);
|
|
1539
|
-
i0.ɵɵproperty("ngTemplateOutlet", (tmp_2_0 = ctx_r1.sidenavFooterDirective == null ? null : ctx_r1.sidenavFooterDirective.template) !== null && tmp_2_0 !== undefined ? tmp_2_0 : null);
|
|
1540
|
-
} }
|
|
1541
|
-
const _c2 = function (a0) { return { "collapsed": a0 }; };
|
|
1542
982
|
class SidenavComponent {
|
|
1543
983
|
constructor(sidenav) {
|
|
1544
984
|
this.sidenav = sidenav;
|
|
1545
985
|
}
|
|
1546
|
-
static { this.ɵfac =
|
|
1547
|
-
static { this.ɵcmp =
|
|
1548
|
-
i0.ɵɵcontentQuery(dirIndex, SidenavFooterDirective, 5);
|
|
1549
|
-
i0.ɵɵcontentQuery(dirIndex, SidenavHeaderDirective, 5);
|
|
1550
|
-
} if (rf & 2) {
|
|
1551
|
-
let _t;
|
|
1552
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sidenavFooterDirective = _t.first);
|
|
1553
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sidenavHeaderDirective = _t.first);
|
|
1554
|
-
} }, hostAttrs: [1, "rxap-layout-sidenav"], standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 16, vars: 15, consts: function () { let i18n_0; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
1555
|
-
/**
|
|
1556
|
-
* @suppress {msgDescriptions}
|
|
1557
|
-
*/
|
|
1558
|
-
const MSG_EXTERNAL_1144722711335201698$$LIB_SIDENAV_SIDENAV_COMPONENT_TS_1 = goog.getMsg("Collapse sidebar");
|
|
1559
|
-
i18n_0 = MSG_EXTERNAL_1144722711335201698$$LIB_SIDENAV_SIDENAV_COMPONENT_TS_1;
|
|
1560
|
-
}
|
|
1561
|
-
else {
|
|
1562
|
-
i18n_0 = $localize `:␟98effe6eb558f87ab061ab608a31b44adec4e2ae␟1144722711335201698:Collapse sidebar`;
|
|
1563
|
-
} return [[1, "container", 3, "ngClass"], ["fxLayout", "column", "fxLayoutAlign", "space-between stretch", 1, "inner"], [3, "ngIf"], ["fxFlex", "grow", 1, "nav-container"], ["fxLayout", "column", "root", "", "rxap-navigation", ""], ["fxFlex", "nogrow"], ["mat-button", "", "fxFlex", "nogrow", 1, "sidebar-toggle", 3, "ngClass", "click"], ["fxLayout", "row", "fxLayoutAlign", "start center", "fxLayoutGap", "16px", 1, "sidebar-toggle-inner"], ["fxFlex", "nogrow", 1, "arrow"], ["fxFlex", "grow", 1, "label", 3, "fxHide"], i18n_0, ["fxFlex", "nogrow", 1, "header", 3, "fxHide"], [4, "ngTemplateOutlet"], ["fxFlex", "nogrow", 3, "fxHide"], ["fxFlex", "nogrow", 1, "footer", 3, "fxHide"]]; }, template: function SidenavComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1564
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
1565
|
-
i0.ɵɵpipe(1, "async");
|
|
1566
|
-
i0.ɵɵelementStart(2, "div", 1);
|
|
1567
|
-
i0.ɵɵtemplate(3, SidenavComponent_ng_template_3_Template, 5, 7, "ng-template", 2);
|
|
1568
|
-
i0.ɵɵelementStart(4, "div", 3);
|
|
1569
|
-
i0.ɵɵelement(5, "ul", 4);
|
|
1570
|
-
i0.ɵɵelementEnd();
|
|
1571
|
-
i0.ɵɵelement(6, "mat-divider", 5);
|
|
1572
|
-
i0.ɵɵelementStart(7, "button", 6);
|
|
1573
|
-
i0.ɵɵlistener("click", function SidenavComponent_Template_button_click_7_listener() { return ctx.sidenav.toggleNavigationCollapse(); });
|
|
1574
|
-
i0.ɵɵpipe(8, "async");
|
|
1575
|
-
i0.ɵɵelementStart(9, "span", 7)(10, "mat-icon", 8);
|
|
1576
|
-
i0.ɵɵtext(11, "double_arrow");
|
|
1577
|
-
i0.ɵɵelementEnd();
|
|
1578
|
-
i0.ɵɵelementStart(12, "span", 9);
|
|
1579
|
-
i0.ɵɵi18n(13, 10);
|
|
1580
|
-
i0.ɵɵpipe(14, "async");
|
|
1581
|
-
i0.ɵɵelementEnd()()();
|
|
1582
|
-
i0.ɵɵtemplate(15, SidenavComponent_ng_template_15_Template, 5, 7, "ng-template", 2);
|
|
1583
|
-
i0.ɵɵelementEnd()();
|
|
1584
|
-
} if (rf & 2) {
|
|
1585
|
-
let tmp_4_0;
|
|
1586
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c2, i0.ɵɵpipeBind1(1, 5, ctx.sidenav.collapsed$)));
|
|
1587
|
-
i0.ɵɵadvance(3);
|
|
1588
|
-
i0.ɵɵproperty("ngIf", ctx.sidenavHeaderDirective == null ? null : ctx.sidenavHeaderDirective.template);
|
|
1589
|
-
i0.ɵɵadvance(4);
|
|
1590
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c2, i0.ɵɵpipeBind1(8, 7, ctx.sidenav.collapsed$)));
|
|
1591
|
-
i0.ɵɵadvance(5);
|
|
1592
|
-
i0.ɵɵproperty("fxHide", i0.ɵɵpipeBind1(14, 9, ctx.sidenav.collapsed$));
|
|
1593
|
-
i0.ɵɵadvance(3);
|
|
1594
|
-
i0.ɵɵproperty("ngIf", (tmp_4_0 = ctx.sidenavFooterDirective == null ? null : ctx.sidenavFooterDirective.template) !== null && tmp_4_0 !== undefined ? tmp_4_0 : null);
|
|
1595
|
-
} }, dependencies: [ExtendedModule, i2$4.DefaultShowHideDirective, i2$4.DefaultClassDirective, NgClass,
|
|
1596
|
-
FlexModule, i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutGapDirective, i1$3.DefaultLayoutAlignDirective, i1$3.DefaultFlexDirective, NgIf,
|
|
1597
|
-
NgTemplateOutlet,
|
|
1598
|
-
MatDividerModule, i1$5.MatDivider, NavigationComponent,
|
|
1599
|
-
MatButtonModule, i1$2.MatButton, MatIconModule, i2$2.MatIcon, 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 }); }
|
|
986
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SidenavComponent, deps: [{ token: SidenavComponentService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
987
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: SidenavComponent, isStandalone: true, selector: "rxap-sidenav", host: { classAttribute: "rxap-layout-sidenav" }, queries: [{ propertyName: "sidenavFooterDirective", first: true, predicate: SidenavFooterDirective, descendants: true }, { propertyName: "sidenavHeaderDirective", first: true, predicate: SidenavHeaderDirective, descendants: true }], ngImport: i0, template: "<div [ngClass]=\"{ 'collapsed': sidenav.collapsed$ | async }\" class=\"container\">\n <div class=\"inner\"\n fxLayout=\"column\"\n fxLayoutAlign=\"space-between stretch\">\n <ng-template [ngIf]=\"sidenavHeaderDirective?.template\">\n <div [fxHide]=\"sidenav.collapsed$ | async\" class=\"header\" fxFlex=\"nogrow\">\n <ng-container *ngTemplateOutlet=\"sidenavHeaderDirective?.template ?? null\"></ng-container>\n </div>\n <mat-divider [fxHide]=\"sidenav.collapsed$ | async\" fxFlex=\"nogrow\"></mat-divider>\n </ng-template>\n <div class=\"nav-container\" fxFlex=\"grow\">\n <ul fxLayout=\"column\" root rxap-navigation></ul>\n </div>\n <mat-divider fxFlex=\"nogrow\"></mat-divider>\n <button (click)=\"sidenav.toggleNavigationCollapse()\" [ngClass]=\"{ 'collapsed': sidenav.collapsed$ | async }\"\n class=\"sidebar-toggle\"\n fxFlex=\"nogrow\"\n mat-button>\n <span class=\"sidebar-toggle-inner\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"16px\">\n <mat-icon class=\"arrow\" fxFlex=\"nogrow\">double_arrow</mat-icon>\n <span [fxHide]=\"sidenav.collapsed$ | async\" class=\"label\" fxFlex=\"grow\" i18n>Collapse sidebar</span>\n </span>\n </button>\n <ng-template [ngIf]=\"sidenavFooterDirective?.template ?? null\">\n <mat-divider [fxHide]=\"sidenav.collapsed$ | async\" fxFlex=\"nogrow\"></mat-divider>\n <div [fxHide]=\"sidenav.collapsed$ | async\" class=\"footer\" fxFlex=\"nogrow\">\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"], dependencies: [{ kind: "ngmodule", type: ExtendedModule }, { kind: "directive", type: i2$4.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }, { kind: "directive", type: i2$4.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i1$3.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i1$3.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i1$3.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i1$3.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i1$5.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "component", type: NavigationComponent, selector: "ul[rxap-navigation]", inputs: ["root", "items", "level"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1$2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1600
988
|
}
|
|
1601
|
-
(
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
989
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SidenavComponent, decorators: [{
|
|
990
|
+
type: Component,
|
|
991
|
+
args: [{ selector: 'rxap-sidenav', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
992
|
+
class: 'rxap-layout-sidenav',
|
|
993
|
+
}, standalone: true, imports: [
|
|
994
|
+
ExtendedModule,
|
|
995
|
+
NgClass,
|
|
996
|
+
FlexModule,
|
|
997
|
+
NgIf,
|
|
998
|
+
NgTemplateOutlet,
|
|
999
|
+
MatDividerModule,
|
|
1000
|
+
NavigationComponent,
|
|
1001
|
+
MatButtonModule,
|
|
1002
|
+
MatIconModule,
|
|
1003
|
+
AsyncPipe,
|
|
1004
|
+
], template: "<div [ngClass]=\"{ 'collapsed': sidenav.collapsed$ | async }\" class=\"container\">\n <div class=\"inner\"\n fxLayout=\"column\"\n fxLayoutAlign=\"space-between stretch\">\n <ng-template [ngIf]=\"sidenavHeaderDirective?.template\">\n <div [fxHide]=\"sidenav.collapsed$ | async\" class=\"header\" fxFlex=\"nogrow\">\n <ng-container *ngTemplateOutlet=\"sidenavHeaderDirective?.template ?? null\"></ng-container>\n </div>\n <mat-divider [fxHide]=\"sidenav.collapsed$ | async\" fxFlex=\"nogrow\"></mat-divider>\n </ng-template>\n <div class=\"nav-container\" fxFlex=\"grow\">\n <ul fxLayout=\"column\" root rxap-navigation></ul>\n </div>\n <mat-divider fxFlex=\"nogrow\"></mat-divider>\n <button (click)=\"sidenav.toggleNavigationCollapse()\" [ngClass]=\"{ 'collapsed': sidenav.collapsed$ | async }\"\n class=\"sidebar-toggle\"\n fxFlex=\"nogrow\"\n mat-button>\n <span class=\"sidebar-toggle-inner\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"16px\">\n <mat-icon class=\"arrow\" fxFlex=\"nogrow\">double_arrow</mat-icon>\n <span [fxHide]=\"sidenav.collapsed$ | async\" class=\"label\" fxFlex=\"grow\" i18n>Collapse sidebar</span>\n </span>\n </button>\n <ng-template [ngIf]=\"sidenavFooterDirective?.template ?? null\">\n <mat-divider [fxHide]=\"sidenav.collapsed$ | async\" fxFlex=\"nogrow\"></mat-divider>\n <div [fxHide]=\"sidenav.collapsed$ | async\" class=\"footer\" fxFlex=\"nogrow\">\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"] }]
|
|
1005
|
+
}], ctorParameters: function () { return [{ type: SidenavComponentService }]; }, propDecorators: { sidenavFooterDirective: [{
|
|
1006
|
+
type: ContentChild,
|
|
1007
|
+
args: [SidenavFooterDirective]
|
|
1008
|
+
}], sidenavHeaderDirective: [{
|
|
1009
|
+
type: ContentChild,
|
|
1010
|
+
args: [SidenavHeaderDirective]
|
|
1011
|
+
}] } });
|
|
1624
1012
|
|
|
1625
|
-
const _c0 = function () { return ["/"]; };
|
|
1626
|
-
function LayoutComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
1627
|
-
i0.ɵɵelement(0, "img", 9);
|
|
1628
|
-
} if (rf & 2) {
|
|
1629
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
1630
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction0(3, _c0))("width", ctx_r0.layoutComponentService.logo.width)("src", ctx_r0.layoutComponentService.logo.src, i0.ɵɵsanitizeUrl);
|
|
1631
|
-
} }
|
|
1632
|
-
const _c1 = ["*"];
|
|
1633
1013
|
class LayoutComponent {
|
|
1634
1014
|
constructor(layoutComponentService) {
|
|
1635
1015
|
this.layoutComponentService = layoutComponentService;
|
|
1636
1016
|
this.openWindowSidenav = false;
|
|
1637
1017
|
}
|
|
1638
|
-
static { this.ɵfac =
|
|
1639
|
-
static { this.ɵcmp =
|
|
1640
|
-
i0.ɵɵviewQuery(MatSidenav, 7);
|
|
1641
|
-
} if (rf & 2) {
|
|
1642
|
-
let _t;
|
|
1643
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sidenav = _t.first);
|
|
1644
|
-
} }, standalone: true, features: [i0.ɵɵStandaloneFeature], 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) {
|
|
1645
|
-
i0.ɵɵprojectionDef();
|
|
1646
|
-
i0.ɵɵelement(0, "rxap-header", 0);
|
|
1647
|
-
i0.ɵɵelementStart(1, "mat-sidenav-container", 1)(2, "mat-sidenav", 2);
|
|
1648
|
-
i0.ɵɵpipe(3, "async");
|
|
1649
|
-
i0.ɵɵpipe(4, "async");
|
|
1650
|
-
i0.ɵɵpipe(5, "async");
|
|
1651
|
-
i0.ɵɵpipe(6, "async");
|
|
1652
|
-
i0.ɵɵelementStart(7, "rxap-sidenav");
|
|
1653
|
-
i0.ɵɵtemplate(8, LayoutComponent_ng_template_8_Template, 1, 4, "ng-template", 3);
|
|
1654
|
-
i0.ɵɵelementEnd()();
|
|
1655
|
-
i0.ɵɵelementStart(9, "mat-sidenav-content", 4)(10, "rxap-sidenav-content", 5);
|
|
1656
|
-
i0.ɵɵprojection(11);
|
|
1657
|
-
i0.ɵɵelementStart(12, "rxap-toggle-window-sidenav-button", 6);
|
|
1658
|
-
i0.ɵɵlistener("openWindowSidenavChange", function LayoutComponent_Template_rxap_toggle_window_sidenav_button_openWindowSidenavChange_12_listener($event) { return ctx.openWindowSidenav = $event; });
|
|
1659
|
-
i0.ɵɵelementEnd()()();
|
|
1660
|
-
i0.ɵɵelementStart(13, "mat-sidenav", 7);
|
|
1661
|
-
i0.ɵɵpipe(14, "async");
|
|
1662
|
-
i0.ɵɵpipe(15, "async");
|
|
1663
|
-
i0.ɵɵelement(16, "rxap-window-container-sidenav");
|
|
1664
|
-
i0.ɵɵelementEnd()();
|
|
1665
|
-
i0.ɵɵelement(17, "rxap-footer", 8);
|
|
1666
|
-
} if (rf & 2) {
|
|
1667
|
-
let tmp_4_0;
|
|
1668
|
-
let tmp_5_0;
|
|
1669
|
-
i0.ɵɵproperty("sidenav", ctx.sidenav);
|
|
1670
|
-
i0.ɵɵadvance(2);
|
|
1671
|
-
i0.ɵɵproperty("fixedBottomGap", i0.ɵɵpipeBind1(3, 12, ctx.layoutComponentService.fixedBottomGap$))("fixedInViewport", true)("fixedTopGap", i0.ɵɵpipeBind1(4, 14, ctx.layoutComponentService.fixedTopGap$))("mode", (tmp_4_0 = i0.ɵɵpipeBind1(5, 16, ctx.layoutComponentService.mode$)) !== null && tmp_4_0 !== undefined ? tmp_4_0 : "side")("opened", (tmp_5_0 = i0.ɵɵpipeBind1(6, 18, ctx.layoutComponentService.opened$)) !== null && tmp_5_0 !== undefined ? tmp_5_0 : true);
|
|
1672
|
-
i0.ɵɵadvance(8);
|
|
1673
|
-
i0.ɵɵproperty("sidenav", ctx.sidenav);
|
|
1674
|
-
i0.ɵɵadvance(2);
|
|
1675
|
-
i0.ɵɵproperty("openWindowSidenav", ctx.openWindowSidenav);
|
|
1676
|
-
i0.ɵɵadvance(1);
|
|
1677
|
-
i0.ɵɵproperty("fixedBottomGap", i0.ɵɵpipeBind1(14, 20, ctx.layoutComponentService.fixedBottomGap$))("fixedInViewport", true)("fixedTopGap", i0.ɵɵpipeBind1(15, 22, ctx.layoutComponentService.fixedTopGap$))("opened", ctx.openWindowSidenav);
|
|
1678
|
-
} }, dependencies: [HeaderComponent,
|
|
1679
|
-
MatSidenavModule, i2$7.MatSidenav, i2$7.MatSidenavContainer, i2$7.MatSidenavContent, SidenavComponent,
|
|
1680
|
-
SidenavHeaderDirective,
|
|
1681
|
-
RouterLink,
|
|
1682
|
-
SidenavContentComponent,
|
|
1683
|
-
ToggleWindowSidenavButtonComponent,
|
|
1684
|
-
WindowContainerSidenavComponent,
|
|
1685
|
-
FooterComponent,
|
|
1686
|
-
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 }); }
|
|
1018
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: LayoutComponent, deps: [{ token: LayoutComponentService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1019
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: LayoutComponent, isStandalone: true, selector: "rxap-layout", viewQueries: [{ propertyName: "sidenav", first: true, predicate: MatSidenav, descendants: true, static: true }], ngImport: i0, 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 [src]=\"layoutComponentService.logo.src\"\n [width]=\"layoutComponentService.logo.width\"\n alt=\"logo\"\n class=\"logo\"\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\n [(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 class=\"window-container-sidenav\"\n mode=\"side\"\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"], dependencies: [{ kind: "component", type: HeaderComponent, selector: "rxap-header", inputs: ["sidenav", "color", "settingsMenuPanel"] }, { kind: "ngmodule", type: MatSidenavModule }, { kind: "component", type: i2$7.MatSidenav, selector: "mat-sidenav", inputs: ["fixedInViewport", "fixedTopGap", "fixedBottomGap"], exportAs: ["matSidenav"] }, { kind: "component", type: i2$7.MatSidenavContainer, selector: "mat-sidenav-container", exportAs: ["matSidenavContainer"] }, { kind: "component", type: i2$7.MatSidenavContent, selector: "mat-sidenav-content" }, { kind: "component", type: SidenavComponent, selector: "rxap-sidenav" }, { kind: "directive", type: SidenavHeaderDirective, selector: "[rxapSidenavHeader]" }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: SidenavContentComponent, selector: "rxap-sidenav-content", inputs: ["sidenav"] }, { kind: "component", type: ToggleWindowSidenavButtonComponent, selector: "rxap-toggle-window-sidenav-button", inputs: ["openWindowSidenav"], outputs: ["openWindowSidenavChange"] }, { kind: "component", type: WindowContainerSidenavComponent, selector: "rxap-window-container-sidenav" }, { kind: "component", type: FooterComponent, selector: "rxap-footer" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1687
1020
|
}
|
|
1688
|
-
(
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1021
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: LayoutComponent, decorators: [{
|
|
1022
|
+
type: Component,
|
|
1023
|
+
args: [{ selector: 'rxap-layout', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
1024
|
+
HeaderComponent,
|
|
1025
|
+
MatSidenavModule,
|
|
1026
|
+
SidenavComponent,
|
|
1027
|
+
SidenavHeaderDirective,
|
|
1028
|
+
RouterLink,
|
|
1029
|
+
SidenavContentComponent,
|
|
1030
|
+
ToggleWindowSidenavButtonComponent,
|
|
1031
|
+
WindowContainerSidenavComponent,
|
|
1032
|
+
FooterComponent,
|
|
1033
|
+
AsyncPipe,
|
|
1034
|
+
], 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 [src]=\"layoutComponentService.logo.src\"\n [width]=\"layoutComponentService.logo.width\"\n alt=\"logo\"\n class=\"logo\"\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\n [(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 class=\"window-container-sidenav\"\n mode=\"side\"\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"] }]
|
|
1035
|
+
}], ctorParameters: function () { return [{ type: LayoutComponentService }]; }, propDecorators: { sidenav: [{
|
|
1036
|
+
type: ViewChild,
|
|
1037
|
+
args: [MatSidenav, { static: true }]
|
|
1038
|
+
}] } });
|
|
1706
1039
|
|
|
1707
1040
|
class LayoutModule {
|
|
1708
1041
|
static withNavigation(navigation) {
|
|
@@ -1711,57 +1044,37 @@ class LayoutModule {
|
|
|
1711
1044
|
providers: [
|
|
1712
1045
|
{
|
|
1713
1046
|
provide: RXAP_NAVIGATION_CONFIG,
|
|
1714
|
-
useValue: navigation
|
|
1715
|
-
}
|
|
1716
|
-
]
|
|
1047
|
+
useValue: navigation,
|
|
1048
|
+
},
|
|
1049
|
+
],
|
|
1717
1050
|
};
|
|
1718
1051
|
}
|
|
1719
|
-
static { this.ɵfac =
|
|
1720
|
-
static { this.ɵmod =
|
|
1721
|
-
static { this.ɵinj =
|
|
1052
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: LayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1053
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: LayoutModule, imports: [LayoutComponent], exports: [LayoutComponent] }); }
|
|
1054
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: LayoutModule, imports: [LayoutComponent] }); }
|
|
1722
1055
|
}
|
|
1723
|
-
(
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(LayoutModule, { imports: [LayoutComponent], exports: [LayoutComponent] }); })();
|
|
1056
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: LayoutModule, decorators: [{
|
|
1057
|
+
type: NgModule,
|
|
1058
|
+
args: [{
|
|
1059
|
+
imports: [
|
|
1060
|
+
LayoutComponent,
|
|
1061
|
+
],
|
|
1062
|
+
exports: [LayoutComponent],
|
|
1063
|
+
}]
|
|
1064
|
+
}] });
|
|
1733
1065
|
|
|
1734
1066
|
class ReplaceRouterPathsService {
|
|
1735
1067
|
transform(routerLink) {
|
|
1736
1068
|
return of(routerLink);
|
|
1737
1069
|
}
|
|
1738
|
-
static { this.ɵfac =
|
|
1739
|
-
static { this.ɵprov =
|
|
1070
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ReplaceRouterPathsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1071
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ReplaceRouterPathsService, providedIn: 'root' }); }
|
|
1740
1072
|
}
|
|
1741
|
-
(
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1073
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ReplaceRouterPathsService, decorators: [{
|
|
1074
|
+
type: Injectable,
|
|
1075
|
+
args: [{ providedIn: 'root' }]
|
|
1076
|
+
}] });
|
|
1745
1077
|
|
|
1746
|
-
function VersionComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
1747
|
-
i0.ɵɵelementStart(0, "div", 2)(1, "span", 3);
|
|
1748
|
-
i0.ɵɵtext(2);
|
|
1749
|
-
i0.ɵɵelementEnd();
|
|
1750
|
-
i0.ɵɵelementStart(3, "span", 4);
|
|
1751
|
-
i0.ɵɵtext(4);
|
|
1752
|
-
i0.ɵɵelementEnd();
|
|
1753
|
-
i0.ɵɵelementStart(5, "span", 5);
|
|
1754
|
-
i0.ɵɵtext(6);
|
|
1755
|
-
i0.ɵɵelementEnd()();
|
|
1756
|
-
} if (rf & 2) {
|
|
1757
|
-
const module_r1 = ctx.$implicit;
|
|
1758
|
-
i0.ɵɵadvance(2);
|
|
1759
|
-
i0.ɵɵtextInterpolate(module_r1.value.name);
|
|
1760
|
-
i0.ɵɵadvance(2);
|
|
1761
|
-
i0.ɵɵtextInterpolate(module_r1.value.semantic);
|
|
1762
|
-
i0.ɵɵadvance(2);
|
|
1763
|
-
i0.ɵɵtextInterpolate(module_r1.value.hash);
|
|
1764
|
-
} }
|
|
1765
1078
|
class VersionComponent {
|
|
1766
1079
|
constructor(version) {
|
|
1767
1080
|
this.version = version;
|
|
@@ -1773,28 +1086,20 @@ class VersionComponent {
|
|
|
1773
1086
|
ngOnDestroy() {
|
|
1774
1087
|
this.subscription?.unsubscribe();
|
|
1775
1088
|
}
|
|
1776
|
-
static { this.ɵfac =
|
|
1777
|
-
static { this.ɵcmp =
|
|
1778
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
1779
|
-
i0.ɵɵtemplate(1, VersionComponent_div_1_Template, 7, 3, "div", 1);
|
|
1780
|
-
i0.ɵɵpipe(2, "keyvalue");
|
|
1781
|
-
i0.ɵɵelementEnd();
|
|
1782
|
-
} if (rf & 2) {
|
|
1783
|
-
i0.ɵɵadvance(1);
|
|
1784
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(2, 1, ctx.modules));
|
|
1785
|
-
} }, dependencies: [FlexModule, i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutGapDirective, i1$3.DefaultLayoutAlignDirective, i1$3.DefaultFlexDirective, NgFor, KeyValuePipe], styles: [".version[_ngcontent-%COMP%]{width:100%;font-size:9px;padding:8px}.version[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{padding-bottom:12px;font-size:10px}"], changeDetection: 0 }); }
|
|
1089
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: VersionComponent, deps: [{ token: VersionService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1090
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: VersionComponent, isStandalone: true, selector: "rxap-version", ngImport: i0, 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"], dependencies: [{ kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i1$3.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i1$3.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i1$3.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i1$3.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: KeyValuePipe, name: "keyvalue" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1786
1091
|
}
|
|
1787
1092
|
__decorate([
|
|
1788
1093
|
Required,
|
|
1789
1094
|
__metadata("design:type", Object)
|
|
1790
1095
|
], VersionComponent.prototype, "modules", void 0);
|
|
1791
|
-
(
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1096
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: VersionComponent, decorators: [{
|
|
1097
|
+
type: Component,
|
|
1098
|
+
args: [{ selector: 'rxap-version', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [FlexModule, NgFor, KeyValuePipe], 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"] }]
|
|
1099
|
+
}], ctorParameters: function () { return [{ type: i1.VersionService, decorators: [{
|
|
1100
|
+
type: Inject,
|
|
1101
|
+
args: [VersionService]
|
|
1102
|
+
}] }]; }, propDecorators: { modules: [] } });
|
|
1798
1103
|
|
|
1799
1104
|
class FooterDirective {
|
|
1800
1105
|
constructor(footerService, template, viewContainerRef) {
|
|
@@ -1811,25 +1116,25 @@ class FooterDirective {
|
|
|
1811
1116
|
this.footerService.removePortal(this._portal);
|
|
1812
1117
|
}
|
|
1813
1118
|
}
|
|
1814
|
-
static { this.ɵfac =
|
|
1815
|
-
static { this.ɵdir =
|
|
1119
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: FooterDirective, deps: [{ token: FooterService }, { token: TemplateRef }, { token: ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1120
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: FooterDirective, isStandalone: true, selector: "[rxapFooter]", ngImport: i0 }); }
|
|
1816
1121
|
}
|
|
1817
|
-
(
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: FooterDirective, decorators: [{
|
|
1123
|
+
type: Directive,
|
|
1124
|
+
args: [{
|
|
1125
|
+
selector: '[rxapFooter]',
|
|
1126
|
+
standalone: true,
|
|
1127
|
+
}]
|
|
1128
|
+
}], ctorParameters: function () { return [{ type: i1.FooterService, decorators: [{
|
|
1129
|
+
type: Inject,
|
|
1130
|
+
args: [FooterService]
|
|
1131
|
+
}] }, { type: i0.TemplateRef, decorators: [{
|
|
1132
|
+
type: Inject,
|
|
1133
|
+
args: [TemplateRef]
|
|
1134
|
+
}] }, { type: i0.ViewContainerRef, decorators: [{
|
|
1135
|
+
type: Inject,
|
|
1136
|
+
args: [ViewContainerRef]
|
|
1137
|
+
}] }]; } });
|
|
1833
1138
|
|
|
1834
1139
|
/**
|
|
1835
1140
|
* Generated bundle index. Do not edit.
|