@rxap/layout 16.0.0-dev.1 → 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 -15
- package/esm2022/lib/footer/footer.component.mjs +13 -42
- package/esm2022/lib/footer.directive.mjs +21 -35
- package/esm2022/lib/header/apps-button/apps-button.component.mjs +37 -79
- package/esm2022/lib/header/header.component.mjs +66 -103
- package/esm2022/lib/header/language-selector/language-selector.component.mjs +37 -56
- package/esm2022/lib/header/navigation-progress-bar/navigation-progress-bar.component.mjs +18 -26
- package/esm2022/lib/header/reset-button/reset-button.component.mjs +16 -21
- package/esm2022/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.mjs +16 -36
- package/esm2022/lib/header/sign-out/sign-out.component.mjs +17 -22
- package/esm2022/lib/header/user-profile-icon/user-profile-icon.component.mjs +29 -99
- package/esm2022/lib/layout/layout.component.mjs +33 -70
- package/esm2022/lib/layout/layout.component.module.mjs +18 -58
- package/esm2022/lib/layout/layout.component.service.mjs +21 -22
- package/esm2022/lib/navigation/navigation-item/navigation-item.component.mjs +111 -178
- package/esm2022/lib/navigation/navigation-item.mjs +4 -4
- package/esm2022/lib/navigation/navigation.component.mjs +43 -86
- 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 -15
- package/esm2022/lib/sidenav/sidenav-header.directive.mjs +15 -15
- package/esm2022/lib/sidenav/sidenav.component.mjs +40 -112
- package/esm2022/lib/sidenav/sidenav.component.service.mjs +8 -9
- package/esm2022/lib/sidenav/version/version.component.mjs +17 -44
- package/esm2022/lib/sidenav-content/sidenav-content.component.mjs +13 -32
- 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 +19 -40
- 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 +18 -36
- package/esm2022/rxap-layout.mjs +1 -1
- package/fesm2022/rxap-layout.mjs +608 -1662
- package/fesm2022/rxap-layout.mjs.map +1 -1
- package/index.d.ts +0 -14
- package/lib/footer/footer.component.d.ts +1 -1
- package/lib/footer.directive.d.ts +2 -7
- package/lib/header/apps-button/apps-button.component.d.ts +1 -1
- package/lib/header/header.component.d.ts +4 -4
- package/lib/header/language-selector/language-selector.component.d.ts +1 -1
- package/lib/header/navigation-progress-bar/navigation-progress-bar.component.d.ts +1 -1
- package/lib/header/reset-button/reset-button.component.d.ts +1 -1
- package/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.d.ts +1 -1
- package/lib/header/sign-out/sign-out.component.d.ts +1 -1
- package/lib/header/user-profile-icon/user-profile-icon.component.d.ts +1 -1
- package/lib/layout/layout.component.d.ts +1 -1
- package/lib/layout/layout.component.module.d.ts +1 -11
- package/lib/navigation/navigation-item/navigation-item.component.d.ts +4 -4
- package/lib/navigation/navigation-item.d.ts +1 -1
- package/lib/navigation/navigation.component.d.ts +3 -3
- package/lib/navigation/navigation.service.d.ts +1 -1
- package/lib/sidenav/sidenav-footer.directive.d.ts +1 -1
- package/lib/sidenav/sidenav-header.directive.d.ts +1 -1
- package/lib/sidenav/sidenav.component.d.ts +1 -1
- package/lib/sidenav/version/version.component.d.ts +3 -3
- package/lib/sidenav-content/sidenav-content.component.d.ts +2 -4
- 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 +3 -5
- package/lib/window-container-sidenav/window-container-sidenav.component.d.ts +2 -2
- 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/esm2022/lib/footer/footer.component.module.mjs +0 -30
- package/esm2022/lib/header/apps-button/apps-button.component.module.mjs +0 -46
- package/esm2022/lib/header/header.component.module.mjs +0 -70
- package/esm2022/lib/header/language-selector/language-selector.component.module.mjs +0 -30
- package/esm2022/lib/header/navigation-progress-bar/navigation-progress-bar.component.module.mjs +0 -26
- package/esm2022/lib/header/reset-button/reset-button.component.module.mjs +0 -26
- package/esm2022/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.module.mjs +0 -30
- package/esm2022/lib/header/sign-out/sign-out.component.module.mjs +0 -30
- package/esm2022/lib/header/user-profile-icon/user-profile-icon.component.module.mjs +0 -38
- package/esm2022/lib/navigation/navigation.component.module.mjs +0 -71
- package/esm2022/lib/navigation/replace-router-paths.pipe.mjs +0 -36
- package/esm2022/lib/sidenav/sidenav.component.module.mjs +0 -44
- package/esm2022/lib/sidenav/version/version.component.module.mjs +0 -26
- package/esm2022/lib/sidenav-content/sidenav-content.component.module.mjs +0 -26
- package/esm2022/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.module.mjs +0 -30
- package/esm2022/lib/window-container-sidenav/window-container-sidenav.component.module.mjs +0 -30
- package/lib/footer/footer.component.module.d.ts +0 -10
- package/lib/header/apps-button/apps-button.component.module.d.ts +0 -14
- package/lib/header/header.component.module.d.ts +0 -20
- package/lib/header/language-selector/language-selector.component.module.d.ts +0 -10
- package/lib/header/navigation-progress-bar/navigation-progress-bar.component.module.d.ts +0 -9
- package/lib/header/reset-button/reset-button.component.module.d.ts +0 -9
- package/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.module.d.ts +0 -10
- package/lib/header/sign-out/sign-out.component.module.d.ts +0 -10
- package/lib/header/user-profile-icon/user-profile-icon.component.module.d.ts +0 -12
- package/lib/navigation/navigation.component.module.d.ts +0 -19
- package/lib/navigation/replace-router-paths.pipe.d.ts +0 -16
- package/lib/sidenav/sidenav.component.module.d.ts +0 -15
- package/lib/sidenav/version/version.component.module.d.ts +0 -9
- package/lib/sidenav-content/sidenav-content.component.module.d.ts +0 -9
- package/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.module.d.ts +0 -10
- package/lib/window-container-sidenav/window-container-sidenav.component.module.d.ts +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
|
@@ -1,57 +1,54 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, Component, ChangeDetectionStrategy,
|
|
2
|
+
import { InjectionToken, Component, ChangeDetectionStrategy, Inject, Optional, Injectable, Input, EventEmitter, Output, TemplateRef, Directive, INJECTOR, ElementRef, Renderer2, ViewContainerRef, ViewEncapsulation, ViewChild, HostBinding, HostListener, ChangeDetectorRef, ContentChild, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1 from '@rxap/services';
|
|
4
|
-
import { HeaderService, ResetService,
|
|
4
|
+
import { HeaderService, ResetService, WindowContainerSidenavService, FooterService, VersionService } from '@rxap/services';
|
|
5
|
+
import * as i3 from '@angular/cdk/portal';
|
|
6
|
+
import { PortalModule, ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
|
|
5
7
|
import * as i2 from '@angular/material/toolbar';
|
|
6
8
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { Subscription, BehaviorSubject, ReplaySubject, of, from, combineLatest } from 'rxjs';
|
|
12
|
-
import { map, filter, tap, switchMap, catchError, startWith, delay, skip, distinctUntilChanged } from 'rxjs/operators';
|
|
13
|
-
import * as i2$4 from '@angular/material/sidenav';
|
|
9
|
+
import { NgIf, NgFor, AsyncPipe, NgStyle, NgClass, KeyValuePipe, NgComponentOutlet, NgTemplateOutlet } from '@angular/common';
|
|
10
|
+
import { Subscription, BehaviorSubject, combineLatest, ReplaySubject, of, from } from 'rxjs';
|
|
11
|
+
import { filter, map, tap, switchMap, catchError, startWith, delay, skip, distinctUntilChanged } from 'rxjs/operators';
|
|
12
|
+
import * as i2$7 from '@angular/material/sidenav';
|
|
14
13
|
import { MatSidenav, MatSidenavModule } from '@angular/material/sidenav';
|
|
15
|
-
import * as
|
|
16
|
-
import {
|
|
17
|
-
import * as
|
|
18
|
-
import {
|
|
19
|
-
import * as
|
|
20
|
-
import {
|
|
14
|
+
import * as i4 from '@rxap/authentication';
|
|
15
|
+
import { SignOutDirective, UserService } from '@rxap/authentication';
|
|
16
|
+
import * as i2$3 from '@angular/material/menu';
|
|
17
|
+
import { MatMenuModule } from '@angular/material/menu';
|
|
18
|
+
import * as i2$1 from '@angular/router';
|
|
19
|
+
import { NavigationStart, NavigationEnd, NavigationCancel, Router, RouterOutlet, RouterLinkActive, RouterLink } from '@angular/router';
|
|
20
|
+
import * as i1$1 from '@angular/material/progress-bar';
|
|
21
|
+
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
21
22
|
import * as i2$2 from '@angular/material/icon';
|
|
22
23
|
import { MatIconModule } from '@angular/material/icon';
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import {
|
|
24
|
+
import * as i1$2 from '@angular/material/button';
|
|
25
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
26
|
+
import { isDefined } from '@rxap/rxjs';
|
|
27
|
+
import { AvatarBackgroundImageDirective } from '@rxap/directives';
|
|
26
28
|
import * as i1$3 from '@angular/flex-layout/flex';
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import * as i1$4 from '@angular/material/legacy-progress-bar';
|
|
30
|
-
import { MatLegacyProgressBarModule } from '@angular/material/legacy-progress-bar';
|
|
31
|
-
import { __decorate, __metadata } from 'tslib';
|
|
32
|
-
import { Required, DebounceCall, coerceBoolean } from '@rxap/utilities';
|
|
33
|
-
import * as i5$1 from '@angular/flex-layout/extended';
|
|
34
|
-
import * as i1$5 from '@rxap/config';
|
|
29
|
+
import { FlexModule } from '@angular/flex-layout/flex';
|
|
30
|
+
import * as i1$4 from '@rxap/config';
|
|
35
31
|
import { ConfigService } from '@rxap/config';
|
|
36
|
-
import * as
|
|
37
|
-
import {
|
|
38
|
-
import * as
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import * as
|
|
32
|
+
import * as i2$4 from '@angular/flex-layout/extended';
|
|
33
|
+
import { ExtendedModule } from '@angular/flex-layout/extended';
|
|
34
|
+
import * as i7 from '@angular/cdk/overlay';
|
|
35
|
+
import { CdkOverlayOrigin, CdkConnectedOverlay, Overlay } from '@angular/cdk/overlay';
|
|
36
|
+
import * as i4$1 from '@angular/material/core';
|
|
37
|
+
import { MatOptionModule, MatRippleModule } from '@angular/material/core';
|
|
38
|
+
import * as i5 from '@angular/forms';
|
|
43
39
|
import { FormsModule } from '@angular/forms';
|
|
44
|
-
import
|
|
45
|
-
import {
|
|
46
|
-
import * as
|
|
47
|
-
import {
|
|
40
|
+
import * as i3$1 from '@angular/material/select';
|
|
41
|
+
import { MatSelectModule } from '@angular/material/select';
|
|
42
|
+
import * as i2$5 from '@angular/material/form-field';
|
|
43
|
+
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
44
|
+
import { __decorate, __metadata } from 'tslib';
|
|
45
|
+
import { Required, DebounceCall, coerceBoolean } from '@rxap/utilities';
|
|
48
46
|
import { trigger, transition, style, animate } from '@angular/animations';
|
|
49
|
-
import
|
|
50
|
-
import
|
|
51
|
-
import
|
|
52
|
-
import
|
|
53
|
-
import
|
|
54
|
-
import { MatLegacyTooltipModule } from '@angular/material/legacy-tooltip';
|
|
47
|
+
import { IconDirective } from '@rxap/material-directives/icon';
|
|
48
|
+
import * as i2$6 from '@angular/material/tooltip';
|
|
49
|
+
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
50
|
+
import * as i1$5 from '@angular/material/divider';
|
|
51
|
+
import { MatDividerModule } from '@angular/material/divider';
|
|
55
52
|
|
|
56
53
|
const RXAP_NAVIGATION_CONFIG = new InjectionToken('rxap/layout/navigation-config');
|
|
57
54
|
const RXAP_NAVIGATION_CONFIG_INSERTS = new InjectionToken('rxap/layout/navigation-config-inserts');
|
|
@@ -60,70 +57,35 @@ const RXAP_HEADER_COMPONENT = new InjectionToken('rxap/layout/header-component')
|
|
|
60
57
|
const RXAP_LOGO_CONFIG = new InjectionToken('rxap/layout/logo-config');
|
|
61
58
|
const RXAP_LAYOUT_APPS_GRID = new InjectionToken('rxap/layout/apps-grid');
|
|
62
59
|
|
|
63
|
-
function FooterComponent_ng_template_0_mat_toolbar_0_mat_toolbar_row_1_ng_template_1_Template(rf, ctx) { }
|
|
64
|
-
function FooterComponent_ng_template_0_mat_toolbar_0_mat_toolbar_row_1_Template(rf, ctx) { if (rf & 1) {
|
|
65
|
-
i0.ɵɵelementStart(0, "mat-toolbar-row");
|
|
66
|
-
i0.ɵɵtemplate(1, FooterComponent_ng_template_0_mat_toolbar_0_mat_toolbar_row_1_ng_template_1_Template, 0, 0, "ng-template", 4);
|
|
67
|
-
i0.ɵɵelementEnd();
|
|
68
|
-
} if (rf & 2) {
|
|
69
|
-
const portal_r4 = ctx.$implicit;
|
|
70
|
-
i0.ɵɵadvance(1);
|
|
71
|
-
i0.ɵɵproperty("cdkPortalOutlet", portal_r4);
|
|
72
|
-
} }
|
|
73
|
-
function FooterComponent_ng_template_0_mat_toolbar_0_Template(rf, ctx) { if (rf & 1) {
|
|
74
|
-
i0.ɵɵelementStart(0, "mat-toolbar", 2);
|
|
75
|
-
i0.ɵɵtemplate(1, FooterComponent_ng_template_0_mat_toolbar_0_mat_toolbar_row_1_Template, 2, 1, "mat-toolbar-row", 3);
|
|
76
|
-
i0.ɵɵelementEnd();
|
|
77
|
-
} if (rf & 2) {
|
|
78
|
-
const portals_r1 = i0.ɵɵnextContext().$implicit;
|
|
79
|
-
i0.ɵɵadvance(1);
|
|
80
|
-
i0.ɵɵproperty("ngForOf", portals_r1);
|
|
81
|
-
} }
|
|
82
|
-
function FooterComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
83
|
-
i0.ɵɵtemplate(0, FooterComponent_ng_template_0_mat_toolbar_0_Template, 2, 1, "mat-toolbar", 1);
|
|
84
|
-
} if (rf & 2) {
|
|
85
|
-
const portals_r1 = ctx.$implicit;
|
|
86
|
-
i0.ɵɵproperty("ngIf", portals_r1.length);
|
|
87
|
-
} }
|
|
88
60
|
class FooterComponent {
|
|
89
61
|
constructor(footerService) {
|
|
90
62
|
this.footerService = footerService;
|
|
91
63
|
}
|
|
92
|
-
static { this.ɵfac =
|
|
93
|
-
static { this.ɵcmp =
|
|
94
|
-
i0.ɵɵtemplate(0, FooterComponent_ng_template_0_Template, 1, 1, "ng-template", 0);
|
|
95
|
-
i0.ɵɵpipe(1, "async");
|
|
96
|
-
} if (rf & 2) {
|
|
97
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 1, ctx.footerService.portals$));
|
|
98
|
-
} }, dependencies: [i2.MatToolbar, i2.MatToolbarRow, i2$1.NgForOf, i2$1.NgIf, i4.CdkPortalOutlet, i2$1.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 }); }
|
|
99
66
|
}
|
|
100
|
-
(
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
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 }]; } });
|
|
104
71
|
|
|
105
|
-
class
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
72
|
+
class NavigationProgressBarComponent {
|
|
73
|
+
constructor(router) {
|
|
74
|
+
this.router = router;
|
|
75
|
+
this.navigating$ = this.router.events.pipe(filter(event => event instanceof NavigationStart ||
|
|
76
|
+
event instanceof NavigationEnd ||
|
|
77
|
+
event instanceof NavigationCancel), map(event => event instanceof NavigationStart));
|
|
78
|
+
}
|
|
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 }); }
|
|
111
81
|
}
|
|
112
|
-
(
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
PortalModule
|
|
120
|
-
],
|
|
121
|
-
exports: [FooterComponent]
|
|
122
|
-
}]
|
|
123
|
-
}], null, null); })();
|
|
124
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(FooterModule, { declarations: [FooterComponent], imports: [MatToolbarModule,
|
|
125
|
-
CommonModule,
|
|
126
|
-
PortalModule], exports: [FooterComponent] }); })();
|
|
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: [i1$1.MatLegacyButton, i2$2.MatIcon, i3.SignOutDirective], 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,147 +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: [i1$2.MatLegacyMenu, i1$2.MatLegacyMenuItem, i1$2.MatLegacyMenuTrigger, i2$2.MatIcon, i2$1.NgIf, i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutAlignDirective, i5.AvatarBackgroundImageDirective, i2$1.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 }); }
|
|
243
120
|
}
|
|
244
|
-
(
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
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
|
+
}] }]; } });
|
|
251
135
|
|
|
252
|
-
function NavigationProgressBarComponent_mat_progress_bar_0_Template(rf, ctx) { if (rf & 1) {
|
|
253
|
-
i0.ɵɵelement(0, "mat-progress-bar", 1);
|
|
254
|
-
} }
|
|
255
|
-
class NavigationProgressBarComponent {
|
|
256
|
-
constructor(router) {
|
|
257
|
-
this.router = router;
|
|
258
|
-
this.navigating$ = this.router.events.pipe(filter(event => event instanceof NavigationStart ||
|
|
259
|
-
event instanceof NavigationEnd ||
|
|
260
|
-
event instanceof NavigationCancel), map(event => event instanceof NavigationStart));
|
|
261
|
-
}
|
|
262
|
-
static { this.ɵfac = function NavigationProgressBarComponent_Factory(t) { return new (t || NavigationProgressBarComponent)(i0.ɵɵdirectiveInject(Router)); }; }
|
|
263
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationProgressBarComponent, selectors: [["rxap-navigation-progress-bar"]], hostAttrs: [1, "rxap-navigation-progress-bar"], decls: 2, vars: 3, consts: [["mode", "indeterminate", "color", "accent", 4, "ngIf"], ["mode", "indeterminate", "color", "accent"]], template: function NavigationProgressBarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
264
|
-
i0.ɵɵtemplate(0, NavigationProgressBarComponent_mat_progress_bar_0_Template, 1, 0, "mat-progress-bar", 0);
|
|
265
|
-
i0.ɵɵpipe(1, "async");
|
|
266
|
-
} if (rf & 2) {
|
|
267
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 1, ctx.navigating$));
|
|
268
|
-
} }, dependencies: [i1$4.MatLegacyProgressBar, i2$1.NgIf, i2$1.AsyncPipe], changeDetection: 0 }); }
|
|
269
|
-
}
|
|
270
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigationProgressBarComponent, [{
|
|
271
|
-
type: Component,
|
|
272
|
-
args: [{ selector: 'rxap-navigation-progress-bar', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-navigation-progress-bar' }, template: "<mat-progress-bar\n *ngIf=\"navigating$ | async\"\n mode=\"indeterminate\"\n color=\"accent\"\n></mat-progress-bar>\n" }]
|
|
273
|
-
}], function () { return [{ type: i3$1.Router, decorators: [{
|
|
274
|
-
type: Inject,
|
|
275
|
-
args: [Router]
|
|
276
|
-
}] }]; }, null); })();
|
|
277
|
-
|
|
278
|
-
function SidenavToggleButtonComponent_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
|
|
279
|
-
i0.ɵɵelementStart(0, "mat-icon");
|
|
280
|
-
i0.ɵɵtext(1, "menu");
|
|
281
|
-
i0.ɵɵelementEnd();
|
|
282
|
-
} }
|
|
283
|
-
function SidenavToggleButtonComponent_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
|
|
284
|
-
i0.ɵɵelementStart(0, "mat-icon");
|
|
285
|
-
i0.ɵɵtext(1, "menu_open");
|
|
286
|
-
i0.ɵɵelementEnd();
|
|
287
|
-
} }
|
|
288
|
-
class SidenavToggleButtonComponent {
|
|
289
|
-
static { this.ɵfac = function SidenavToggleButtonComponent_Factory(t) { return new (t || SidenavToggleButtonComponent)(); }; }
|
|
290
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SidenavToggleButtonComponent, selectors: [["rxap-sidenav-toggle-button"]], hostAttrs: [1, "rxap-sidenav-toggle-button"], inputs: { sidenav: "sidenav" }, decls: 3, vars: 2, consts: [["mat-icon-button", "", 3, "click"], [4, "ngIf"]], template: function SidenavToggleButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
291
|
-
i0.ɵɵelementStart(0, "button", 0);
|
|
292
|
-
i0.ɵɵlistener("click", function SidenavToggleButtonComponent_Template_button_click_0_listener() { return ctx.sidenav.toggle(); });
|
|
293
|
-
i0.ɵɵtemplate(1, SidenavToggleButtonComponent_mat_icon_1_Template, 2, 0, "mat-icon", 1);
|
|
294
|
-
i0.ɵɵtemplate(2, SidenavToggleButtonComponent_mat_icon_2_Template, 2, 0, "mat-icon", 1);
|
|
295
|
-
i0.ɵɵelementEnd();
|
|
296
|
-
} if (rf & 2) {
|
|
297
|
-
i0.ɵɵadvance(1);
|
|
298
|
-
i0.ɵɵproperty("ngIf", !ctx.sidenav.opened);
|
|
299
|
-
i0.ɵɵadvance(1);
|
|
300
|
-
i0.ɵɵproperty("ngIf", ctx.sidenav.opened);
|
|
301
|
-
} }, dependencies: [i2$2.MatIcon, i2$1.NgIf, i1$1.MatLegacyButton], changeDetection: 0 }); }
|
|
302
|
-
}
|
|
303
|
-
__decorate([
|
|
304
|
-
Required,
|
|
305
|
-
__metadata("design:type", MatSidenav)
|
|
306
|
-
], SidenavToggleButtonComponent.prototype, "sidenav", void 0);
|
|
307
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidenavToggleButtonComponent, [{
|
|
308
|
-
type: Component,
|
|
309
|
-
args: [{ selector: 'rxap-sidenav-toggle-button', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-sidenav-toggle-button' }, template: "<button (click)=\"sidenav.toggle()\" mat-icon-button>\n <mat-icon *ngIf=\"!sidenav.opened\">menu</mat-icon>\n <mat-icon *ngIf=\"sidenav.opened\">menu_open</mat-icon>\n</button>\n" }]
|
|
310
|
-
}], null, { sidenav: [{
|
|
311
|
-
type: Input
|
|
312
|
-
}] }); })();
|
|
313
|
-
|
|
314
|
-
function AppsButtonComponent_ng_template_0_ng_template_4_li_2_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
315
|
-
i0.ɵɵelementStart(0, "a", 9)(1, "span", 10);
|
|
316
|
-
i0.ɵɵelement(2, "img", 11);
|
|
317
|
-
i0.ɵɵelementStart(3, "span");
|
|
318
|
-
i0.ɵɵtext(4);
|
|
319
|
-
i0.ɵɵelementEnd()()();
|
|
320
|
-
} if (rf & 2) {
|
|
321
|
-
const item_r4 = i0.ɵɵnextContext().$implicit;
|
|
322
|
-
i0.ɵɵproperty("href", item_r4.href, i0.ɵɵsanitizeUrl);
|
|
323
|
-
i0.ɵɵadvance(2);
|
|
324
|
-
i0.ɵɵproperty("src", item_r4.image, i0.ɵɵsanitizeUrl);
|
|
325
|
-
i0.ɵɵadvance(2);
|
|
326
|
-
i0.ɵɵtextInterpolate(item_r4.label);
|
|
327
|
-
} }
|
|
328
|
-
const _c0$5 = function (a0) { return { empty: a0 }; };
|
|
329
|
-
function AppsButtonComponent_ng_template_0_ng_template_4_li_2_Template(rf, ctx) { if (rf & 1) {
|
|
330
|
-
i0.ɵɵelementStart(0, "li", 7);
|
|
331
|
-
i0.ɵɵtemplate(1, AppsButtonComponent_ng_template_0_ng_template_4_li_2_a_1_Template, 5, 3, "a", 8);
|
|
332
|
-
i0.ɵɵelementEnd();
|
|
333
|
-
} if (rf & 2) {
|
|
334
|
-
const item_r4 = ctx.$implicit;
|
|
335
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$5, item_r4.empty));
|
|
336
|
-
i0.ɵɵadvance(1);
|
|
337
|
-
i0.ɵɵproperty("ngIf", !item_r4.empty);
|
|
338
|
-
} }
|
|
339
|
-
const _c1$4 = function (a0) { return { columns: a0 }; };
|
|
340
|
-
function AppsButtonComponent_ng_template_0_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
341
|
-
i0.ɵɵelementStart(0, "div", 4)(1, "ul", 5);
|
|
342
|
-
i0.ɵɵtemplate(2, AppsButtonComponent_ng_template_0_ng_template_4_li_2_Template, 2, 4, "li", 6);
|
|
343
|
-
i0.ɵɵelementEnd()();
|
|
344
|
-
} if (rf & 2) {
|
|
345
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
346
|
-
i0.ɵɵadvance(1);
|
|
347
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2, _c1$4, ctx_r2.columns));
|
|
348
|
-
i0.ɵɵadvance(1);
|
|
349
|
-
i0.ɵɵproperty("ngForOf", ctx_r2.gridWithPadding);
|
|
350
|
-
} }
|
|
351
|
-
function AppsButtonComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
352
|
-
const _r8 = i0.ɵɵgetCurrentView();
|
|
353
|
-
i0.ɵɵelementStart(0, "button", 1, 2);
|
|
354
|
-
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); });
|
|
355
|
-
i0.ɵɵelementStart(2, "mat-icon");
|
|
356
|
-
i0.ɵɵtext(3, "apps");
|
|
357
|
-
i0.ɵɵelementEnd()();
|
|
358
|
-
i0.ɵɵtemplate(4, AppsButtonComponent_ng_template_0_ng_template_4_Template, 3, 4, "ng-template", 3);
|
|
359
|
-
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); });
|
|
360
|
-
} if (rf & 2) {
|
|
361
|
-
const _r1 = i0.ɵɵreference(1);
|
|
362
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
363
|
-
i0.ɵɵadvance(4);
|
|
364
|
-
i0.ɵɵproperty("cdkConnectedOverlayOpen", ctx_r0.isOpen)("cdkConnectedOverlayOrigin", _r1);
|
|
365
|
-
} }
|
|
366
136
|
class AppsButtonComponent {
|
|
367
137
|
get gridWithPadding() {
|
|
368
138
|
const gridWithPadding = this.grid.slice();
|
|
@@ -386,50 +156,33 @@ class AppsButtonComponent {
|
|
|
386
156
|
this.grid = [];
|
|
387
157
|
this.grid = grid ?? this.config.get('navigation.apps') ?? [];
|
|
388
158
|
}
|
|
389
|
-
static { this.ɵfac =
|
|
390
|
-
static { this.ɵcmp =
|
|
391
|
-
i0.ɵɵtemplate(0, AppsButtonComponent_ng_template_0_Template, 5, 2, "ng-template", 0);
|
|
392
|
-
} if (rf & 2) {
|
|
393
|
-
i0.ɵɵproperty("ngIf", ctx.grid && ctx.grid.length);
|
|
394
|
-
} }, dependencies: [i1$1.MatLegacyButton, i2$2.MatIcon, i3$2.CdkConnectedOverlay, i3$2.CdkOverlayOrigin, i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutGapDirective, i1$3.DefaultLayoutAlignDirective, i5$1.DefaultClassDirective, i5$1.DefaultStyleDirective, i2$1.NgClass, i2$1.NgForOf, i2$1.NgIf, i2$1.NgStyle], 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 }); }
|
|
395
161
|
}
|
|
396
|
-
(
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
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
|
+
}] }]; } });
|
|
408
185
|
|
|
409
|
-
function LanguageSelectorComponent_ng_template_0_mat_option_3_Template(rf, ctx) { if (rf & 1) {
|
|
410
|
-
i0.ɵɵelementStart(0, "mat-option", 4);
|
|
411
|
-
i0.ɵɵtext(1);
|
|
412
|
-
i0.ɵɵelementEnd();
|
|
413
|
-
} if (rf & 2) {
|
|
414
|
-
const item_r2 = ctx.$implicit;
|
|
415
|
-
i0.ɵɵproperty("value", item_r2.key);
|
|
416
|
-
i0.ɵɵadvance(1);
|
|
417
|
-
i0.ɵɵtextInterpolate(item_r2.value);
|
|
418
|
-
} }
|
|
419
|
-
function LanguageSelectorComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
420
|
-
const _r4 = i0.ɵɵgetCurrentView();
|
|
421
|
-
i0.ɵɵelementStart(0, "div")(1, "mat-form-field", 1)(2, "mat-select", 2);
|
|
422
|
-
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)); });
|
|
423
|
-
i0.ɵɵtemplate(3, LanguageSelectorComponent_ng_template_0_mat_option_3_Template, 2, 2, "mat-option", 3);
|
|
424
|
-
i0.ɵɵpipe(4, "keyvalue");
|
|
425
|
-
i0.ɵɵelementEnd()()();
|
|
426
|
-
} if (rf & 2) {
|
|
427
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
428
|
-
i0.ɵɵadvance(2);
|
|
429
|
-
i0.ɵɵproperty("ngModel", ctx_r0.language.selectedLanguage);
|
|
430
|
-
i0.ɵɵadvance(1);
|
|
431
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(4, 2, ctx_r0.language.languages));
|
|
432
|
-
} }
|
|
433
186
|
const RXAP_SELECTED_LANGUAGE_LOCAL_STORAGE_KEY = 'rxap__selected_language';
|
|
434
187
|
const RXAP_SELECTED_LANGUAGE_CHANGE_LOCAL_STORAGE_KEY = 'rxap__selected_language_last_change';
|
|
435
188
|
class LanguageSelectorService {
|
|
@@ -458,7 +211,7 @@ class LanguageSelectorService {
|
|
|
458
211
|
const currentUrl = location.origin + location.pathname + location.search;
|
|
459
212
|
const redirectUrl = location.origin +
|
|
460
213
|
`/${language}` +
|
|
461
|
-
location.pathname.replace(new RegExp(
|
|
214
|
+
location.pathname.replace(new RegExp(`^/${this.selectedLanguage}`), '') +
|
|
462
215
|
location.search;
|
|
463
216
|
this.selectedLanguage = language;
|
|
464
217
|
localStorage.setItem(RXAP_SELECTED_LANGUAGE_LOCAL_STORAGE_KEY, language);
|
|
@@ -481,65 +234,51 @@ class LanguageSelectorService {
|
|
|
481
234
|
localStorage.setItem(RXAP_SELECTED_LANGUAGE_CHANGE_LOCAL_STORAGE_KEY, Date.now().toFixed(0));
|
|
482
235
|
return true;
|
|
483
236
|
}
|
|
484
|
-
static { this.ɵfac =
|
|
485
|
-
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' }); }
|
|
486
239
|
}
|
|
487
|
-
(
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
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
|
+
}] }]; } });
|
|
494
247
|
class LanguageSelectorComponent {
|
|
495
248
|
constructor(language) {
|
|
496
249
|
this.language = language;
|
|
497
250
|
}
|
|
498
|
-
static { this.ɵfac =
|
|
499
|
-
static { this.ɵcmp =
|
|
500
|
-
i0.ɵɵtemplate(0, LanguageSelectorComponent_ng_template_0_Template, 5, 4, "ng-template", 0);
|
|
501
|
-
i0.ɵɵpipe(1, "keyvalue");
|
|
502
|
-
} if (rf & 2) {
|
|
503
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 1, ctx.language.languages).length);
|
|
504
|
-
} }, dependencies: [i2$3.MatLegacyFormField, i3$3.MatLegacySelect, i4$1.MatLegacyOption, i2$1.NgForOf, i2$1.NgIf, i6.NgControlStatus, i6.NgModel, i2$1.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 }); }
|
|
505
253
|
}
|
|
506
|
-
(
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
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 }]; } });
|
|
266
|
+
|
|
267
|
+
class SidenavToggleButtonComponent {
|
|
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 }); }
|
|
270
|
+
}
|
|
271
|
+
__decorate([
|
|
272
|
+
Required,
|
|
273
|
+
__metadata("design:type", MatSidenav)
|
|
274
|
+
], SidenavToggleButtonComponent.prototype, "sidenav", void 0);
|
|
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
|
+
}] } });
|
|
510
281
|
|
|
511
|
-
function HeaderComponent_mat_toolbar_row_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
512
|
-
i0.ɵɵelementContainer(0);
|
|
513
|
-
} }
|
|
514
|
-
function HeaderComponent_mat_toolbar_row_1_Template(rf, ctx) { if (rf & 1) {
|
|
515
|
-
i0.ɵɵelementStart(0, "mat-toolbar-row");
|
|
516
|
-
i0.ɵɵtemplate(1, HeaderComponent_mat_toolbar_row_1_ng_container_1_Template, 1, 0, "ng-container", 7);
|
|
517
|
-
i0.ɵɵelementEnd();
|
|
518
|
-
} if (rf & 2) {
|
|
519
|
-
const headerComponent_r4 = ctx.$implicit;
|
|
520
|
-
i0.ɵɵadvance(1);
|
|
521
|
-
i0.ɵɵproperty("ngComponentOutlet", headerComponent_r4);
|
|
522
|
-
} }
|
|
523
|
-
function HeaderComponent_rxap_sidenav_toggle_button_4_Template(rf, ctx) { if (rf & 1) {
|
|
524
|
-
i0.ɵɵelement(0, "rxap-sidenav-toggle-button", 8);
|
|
525
|
-
} if (rf & 2) {
|
|
526
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
527
|
-
i0.ɵɵproperty("sidenav", ctx_r1.sidenav);
|
|
528
|
-
} }
|
|
529
|
-
function HeaderComponent_rxap_user_profile_icon_9_Template(rf, ctx) { if (rf & 1) {
|
|
530
|
-
i0.ɵɵelement(0, "rxap-user-profile-icon", 5);
|
|
531
|
-
} }
|
|
532
|
-
function HeaderComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
533
|
-
i0.ɵɵelementStart(0, "div", 5)(1, "button", 9)(2, "mat-icon");
|
|
534
|
-
i0.ɵɵtext(3, "settings");
|
|
535
|
-
i0.ɵɵelementEnd()()();
|
|
536
|
-
} if (rf & 2) {
|
|
537
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
|
538
|
-
i0.ɵɵadvance(1);
|
|
539
|
-
i0.ɵɵproperty("matMenuTriggerFor", ctx_r3.settingsMenuPanel);
|
|
540
|
-
} }
|
|
541
|
-
const _c0$4 = function (a0) { return { open: a0 }; };
|
|
542
|
-
const _c1$3 = ["*"];
|
|
543
282
|
class HeaderComponent {
|
|
544
283
|
constructor(headerComponentService, userService, headerComponent) {
|
|
545
284
|
this.headerComponentService = headerComponentService;
|
|
@@ -562,305 +301,63 @@ class HeaderComponent {
|
|
|
562
301
|
ngOnDestroy() {
|
|
563
302
|
this.subscriptions.unsubscribe();
|
|
564
303
|
}
|
|
565
|
-
static { this.ɵfac =
|
|
566
|
-
static { this.ɵcmp =
|
|
567
|
-
i0.ɵɵprojectionDef();
|
|
568
|
-
i0.ɵɵelementStart(0, "mat-toolbar", 0);
|
|
569
|
-
i0.ɵɵtemplate(1, HeaderComponent_mat_toolbar_row_1_Template, 2, 1, "mat-toolbar-row", 1);
|
|
570
|
-
i0.ɵɵelementStart(2, "mat-toolbar-row")(3, "div", 2);
|
|
571
|
-
i0.ɵɵtemplate(4, HeaderComponent_rxap_sidenav_toggle_button_4_Template, 1, 1, "rxap-sidenav-toggle-button", 3);
|
|
572
|
-
i0.ɵɵelementStart(5, "div", 4);
|
|
573
|
-
i0.ɵɵprojection(6);
|
|
574
|
-
i0.ɵɵelementEnd();
|
|
575
|
-
i0.ɵɵelement(7, "rxap-language-selector", 5)(8, "rxap-apps-button", 5);
|
|
576
|
-
i0.ɵɵtemplate(9, HeaderComponent_rxap_user_profile_icon_9_Template, 1, 0, "rxap-user-profile-icon", 6);
|
|
577
|
-
i0.ɵɵpipe(10, "async");
|
|
578
|
-
i0.ɵɵtemplate(11, HeaderComponent_div_11_Template, 4, 1, "div", 6);
|
|
579
|
-
i0.ɵɵelement(12, "rxap-sign-out", 5);
|
|
580
|
-
i0.ɵɵelementEnd()()();
|
|
581
|
-
i0.ɵɵelement(13, "rxap-navigation-progress-bar");
|
|
582
|
-
} if (rf & 2) {
|
|
583
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0$4, ctx.sidenav == null ? null : ctx.sidenav.opened))("color", ctx.color);
|
|
584
|
-
i0.ɵɵadvance(1);
|
|
585
|
-
i0.ɵɵproperty("ngForOf", ctx.components);
|
|
586
|
-
i0.ɵɵadvance(3);
|
|
587
|
-
i0.ɵɵproperty("ngIf", ctx.sidenav);
|
|
588
|
-
i0.ɵɵadvance(5);
|
|
589
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(10, 6, ctx.hasUser$));
|
|
590
|
-
i0.ɵɵadvance(2);
|
|
591
|
-
i0.ɵɵproperty("ngIf", ctx.settingsMenuPanel);
|
|
592
|
-
} }, dependencies: [i2.MatToolbar, i2.MatToolbarRow, SignOutComponent, UserProfileIconComponent, NavigationProgressBarComponent, SidenavToggleButtonComponent, i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutGapDirective, i1$3.DefaultLayoutAlignDirective, i1$3.DefaultFlexDirective, i5$1.DefaultClassDirective, i2$1.NgClass, i2$1.NgComponentOutlet, i2$1.NgForOf, i2$1.NgIf, i1$1.MatLegacyButton, i2$2.MatIcon, i1$2.MatLegacyMenuTrigger, AppsButtonComponent, LanguageSelectorComponent, i2$1.AsyncPipe], styles: [".content[_ngcontent-%COMP%]{width:100%;height:64px}"], changeDetection: 0 }); }
|
|
593
|
-
}
|
|
594
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HeaderComponent, [{
|
|
595
|
-
type: Component,
|
|
596
|
-
args: [{ selector: 'rxap-header', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
597
|
-
class: 'rxap-layout-header',
|
|
598
|
-
}, template: "<mat-toolbar [ngClass]=\"{ open: sidenav?.opened }\" [color]=\"color\" class=\"mat-elevation-z3\">\n <mat-toolbar-row *ngFor=\"let headerComponent of components\">\n <ng-container *ngComponentOutlet=\"headerComponent\"></ng-container>\n </mat-toolbar-row>\n <mat-toolbar-row>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"space-between center\"\n fxLayoutGap=\"16px\"\n class=\"content\"\n >\n <rxap-sidenav-toggle-button *ngIf=\"sidenav\" fxFlex=\"nogrow\" [sidenav]=\"sidenav\"></rxap-sidenav-toggle-button>\n <div fxFlex=\"grow\">\n <ng-content></ng-content>\n </div>\n <rxap-language-selector fxFlex=\"nogrow\"></rxap-language-selector>\n <rxap-apps-button fxFlex=\"nogrow\"></rxap-apps-button>\n <rxap-user-profile-icon *ngIf=\"hasUser$ | async\" fxFlex=\"nogrow\"></rxap-user-profile-icon>\n <div fxFlex=\"nogrow\" *ngIf=\"settingsMenuPanel\">\n <button mat-icon-button [matMenuTriggerFor]=\"settingsMenuPanel\">\n <mat-icon>settings</mat-icon>\n </button>\n </div>\n <rxap-sign-out fxFlex=\"nogrow\"></rxap-sign-out>\n </div>\n </mat-toolbar-row>\n</mat-toolbar>\n<rxap-navigation-progress-bar></rxap-navigation-progress-bar>\n", styles: [".content{width:100%;height:64px}\n"] }]
|
|
599
|
-
}], function () { return [{ type: i1.HeaderService, decorators: [{
|
|
600
|
-
type: Inject,
|
|
601
|
-
args: [HeaderService]
|
|
602
|
-
}] }, { type: i3.UserService, decorators: [{
|
|
603
|
-
type: Inject,
|
|
604
|
-
args: [UserService]
|
|
605
|
-
}] }, { type: undefined, decorators: [{
|
|
606
|
-
type: Optional
|
|
607
|
-
}, {
|
|
608
|
-
type: Inject,
|
|
609
|
-
args: [RXAP_HEADER_COMPONENT]
|
|
610
|
-
}] }]; }, { sidenav: [{
|
|
611
|
-
type: Input
|
|
612
|
-
}], color: [{
|
|
613
|
-
type: Input
|
|
614
|
-
}], settingsMenuPanel: [{
|
|
615
|
-
type: Input
|
|
616
|
-
}] }); })();
|
|
617
|
-
|
|
618
|
-
class SignOutComponentModule {
|
|
619
|
-
static { this.ɵfac = function SignOutComponentModule_Factory(t) { return new (t || SignOutComponentModule)(); }; }
|
|
620
|
-
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: SignOutComponentModule }); }
|
|
621
|
-
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [MatLegacyButtonModule,
|
|
622
|
-
MatIconModule,
|
|
623
|
-
SignOutDirectiveModule] }); }
|
|
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 }); }
|
|
624
306
|
}
|
|
625
|
-
(
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(UserProfileIconComponentModule, { declarations: [UserProfileIconComponent], imports: [MatLegacyMenuModule,
|
|
665
|
-
MatIconModule,
|
|
666
|
-
CommonModule,
|
|
667
|
-
FlexLayoutModule,
|
|
668
|
-
AvatarBackgroundImageDirectiveModule], exports: [UserProfileIconComponent] }); })();
|
|
669
|
-
|
|
670
|
-
class NavigationProgressBarComponentModule {
|
|
671
|
-
static { this.ɵfac = function NavigationProgressBarComponentModule_Factory(t) { return new (t || NavigationProgressBarComponentModule)(); }; }
|
|
672
|
-
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: NavigationProgressBarComponentModule }); }
|
|
673
|
-
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [MatLegacyProgressBarModule,
|
|
674
|
-
CommonModule] }); }
|
|
675
|
-
}
|
|
676
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigationProgressBarComponentModule, [{
|
|
677
|
-
type: NgModule,
|
|
678
|
-
args: [{
|
|
679
|
-
declarations: [NavigationProgressBarComponent],
|
|
680
|
-
imports: [
|
|
681
|
-
MatLegacyProgressBarModule,
|
|
682
|
-
CommonModule
|
|
683
|
-
],
|
|
684
|
-
exports: [NavigationProgressBarComponent]
|
|
685
|
-
}]
|
|
686
|
-
}], null, null); })();
|
|
687
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(NavigationProgressBarComponentModule, { declarations: [NavigationProgressBarComponent], imports: [MatLegacyProgressBarModule,
|
|
688
|
-
CommonModule], exports: [NavigationProgressBarComponent] }); })();
|
|
689
|
-
|
|
690
|
-
class SidenavToggleButtonComponentModule {
|
|
691
|
-
static { this.ɵfac = function SidenavToggleButtonComponentModule_Factory(t) { return new (t || SidenavToggleButtonComponentModule)(); }; }
|
|
692
|
-
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: SidenavToggleButtonComponentModule }); }
|
|
693
|
-
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [MatIconModule,
|
|
694
|
-
CommonModule,
|
|
695
|
-
MatLegacyButtonModule] }); }
|
|
696
|
-
}
|
|
697
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidenavToggleButtonComponentModule, [{
|
|
698
|
-
type: NgModule,
|
|
699
|
-
args: [{
|
|
700
|
-
declarations: [SidenavToggleButtonComponent],
|
|
701
|
-
imports: [
|
|
702
|
-
MatIconModule,
|
|
703
|
-
CommonModule,
|
|
704
|
-
MatLegacyButtonModule
|
|
705
|
-
],
|
|
706
|
-
exports: [SidenavToggleButtonComponent]
|
|
707
|
-
}]
|
|
708
|
-
}], null, null); })();
|
|
709
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(SidenavToggleButtonComponentModule, { declarations: [SidenavToggleButtonComponent], imports: [MatIconModule,
|
|
710
|
-
CommonModule,
|
|
711
|
-
MatLegacyButtonModule], exports: [SidenavToggleButtonComponent] }); })();
|
|
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
|
+
}] } });
|
|
712
346
|
|
|
713
347
|
class ResetButtonComponent {
|
|
714
348
|
constructor(resetService) {
|
|
715
349
|
this.resetService = resetService;
|
|
716
350
|
}
|
|
717
|
-
static { this.ɵfac =
|
|
718
|
-
static { this.ɵcmp =
|
|
719
|
-
i0.ɵɵelementStart(0, "button", 0);
|
|
720
|
-
i0.ɵɵlistener("click", function ResetButtonComponent_Template_button_click_0_listener() { return ctx.resetService.resetAll(); });
|
|
721
|
-
i0.ɵɵelementStart(1, "mat-icon");
|
|
722
|
-
i0.ɵɵtext(2, "refresh");
|
|
723
|
-
i0.ɵɵelementEnd()();
|
|
724
|
-
} }, dependencies: [i2$2.MatIcon, i1$1.MatLegacyButton], changeDetection: 0 }); }
|
|
725
|
-
}
|
|
726
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ResetButtonComponent, [{
|
|
727
|
-
type: Component,
|
|
728
|
-
args: [{ selector: 'rxap-reset-button', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-reset-button' }, template: "<button (click)=\"resetService.resetAll()\" mat-icon-button>\n <mat-icon>refresh</mat-icon>\n</button>\n" }]
|
|
729
|
-
}], function () { return [{ type: i1.ResetService, decorators: [{
|
|
730
|
-
type: Inject,
|
|
731
|
-
args: [ResetService]
|
|
732
|
-
}] }]; }, null); })();
|
|
733
|
-
|
|
734
|
-
class ResetButtonComponentModule {
|
|
735
|
-
static { this.ɵfac = function ResetButtonComponentModule_Factory(t) { return new (t || ResetButtonComponentModule)(); }; }
|
|
736
|
-
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: ResetButtonComponentModule }); }
|
|
737
|
-
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [MatIconModule,
|
|
738
|
-
MatLegacyButtonModule] }); }
|
|
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 }); }
|
|
739
353
|
}
|
|
740
|
-
(
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
],
|
|
748
|
-
exports: [ResetButtonComponent]
|
|
749
|
-
}]
|
|
750
|
-
}], null, null); })();
|
|
751
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ResetButtonComponentModule, { declarations: [ResetButtonComponent], imports: [MatIconModule,
|
|
752
|
-
MatLegacyButtonModule], exports: [ResetButtonComponent] }); })();
|
|
753
|
-
|
|
754
|
-
class AppsButtonComponentModule {
|
|
755
|
-
static { this.ɵfac = function AppsButtonComponentModule_Factory(t) { return new (t || AppsButtonComponentModule)(); }; }
|
|
756
|
-
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: AppsButtonComponentModule }); }
|
|
757
|
-
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [MatLegacyButtonModule,
|
|
758
|
-
MatIconModule,
|
|
759
|
-
MatGridListModule,
|
|
760
|
-
OverlayModule,
|
|
761
|
-
FlexLayoutModule,
|
|
762
|
-
CommonModule,
|
|
763
|
-
RouterModule] }); }
|
|
764
|
-
}
|
|
765
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AppsButtonComponentModule, [{
|
|
766
|
-
type: NgModule,
|
|
767
|
-
args: [{
|
|
768
|
-
declarations: [AppsButtonComponent],
|
|
769
|
-
imports: [
|
|
770
|
-
MatLegacyButtonModule,
|
|
771
|
-
MatIconModule,
|
|
772
|
-
MatGridListModule,
|
|
773
|
-
OverlayModule,
|
|
774
|
-
FlexLayoutModule,
|
|
775
|
-
CommonModule,
|
|
776
|
-
RouterModule
|
|
777
|
-
],
|
|
778
|
-
exports: [AppsButtonComponent]
|
|
779
|
-
}]
|
|
780
|
-
}], null, null); })();
|
|
781
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(AppsButtonComponentModule, { declarations: [AppsButtonComponent], imports: [MatLegacyButtonModule,
|
|
782
|
-
MatIconModule,
|
|
783
|
-
MatGridListModule,
|
|
784
|
-
OverlayModule,
|
|
785
|
-
FlexLayoutModule,
|
|
786
|
-
CommonModule,
|
|
787
|
-
RouterModule], exports: [AppsButtonComponent] }); })();
|
|
788
|
-
|
|
789
|
-
class LanguageSelectorComponentModule {
|
|
790
|
-
static { this.ɵfac = function LanguageSelectorComponentModule_Factory(t) { return new (t || LanguageSelectorComponentModule)(); }; }
|
|
791
|
-
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: LanguageSelectorComponentModule }); }
|
|
792
|
-
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [MatLegacySelectModule,
|
|
793
|
-
CommonModule,
|
|
794
|
-
FormsModule] }); }
|
|
795
|
-
}
|
|
796
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LanguageSelectorComponentModule, [{
|
|
797
|
-
type: NgModule,
|
|
798
|
-
args: [{
|
|
799
|
-
declarations: [LanguageSelectorComponent],
|
|
800
|
-
imports: [
|
|
801
|
-
MatLegacySelectModule,
|
|
802
|
-
CommonModule,
|
|
803
|
-
FormsModule
|
|
804
|
-
],
|
|
805
|
-
exports: [LanguageSelectorComponent]
|
|
806
|
-
}]
|
|
807
|
-
}], null, null); })();
|
|
808
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(LanguageSelectorComponentModule, { declarations: [LanguageSelectorComponent], imports: [MatLegacySelectModule,
|
|
809
|
-
CommonModule,
|
|
810
|
-
FormsModule], exports: [LanguageSelectorComponent] }); })();
|
|
811
|
-
|
|
812
|
-
class HeaderModule {
|
|
813
|
-
static { this.ɵfac = function HeaderModule_Factory(t) { return new (t || HeaderModule)(); }; }
|
|
814
|
-
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: HeaderModule }); }
|
|
815
|
-
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [MatToolbarModule,
|
|
816
|
-
SignOutComponentModule,
|
|
817
|
-
UserProfileIconComponentModule,
|
|
818
|
-
NavigationProgressBarComponentModule,
|
|
819
|
-
SidenavToggleButtonComponentModule,
|
|
820
|
-
ResetButtonComponentModule,
|
|
821
|
-
FlexLayoutModule,
|
|
822
|
-
CommonModule,
|
|
823
|
-
MatLegacyButtonModule,
|
|
824
|
-
MatIconModule,
|
|
825
|
-
MatLegacyMenuModule,
|
|
826
|
-
AppsButtonComponentModule,
|
|
827
|
-
LanguageSelectorComponentModule] }); }
|
|
828
|
-
}
|
|
829
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HeaderModule, [{
|
|
830
|
-
type: NgModule,
|
|
831
|
-
args: [{
|
|
832
|
-
declarations: [HeaderComponent],
|
|
833
|
-
imports: [
|
|
834
|
-
MatToolbarModule,
|
|
835
|
-
SignOutComponentModule,
|
|
836
|
-
UserProfileIconComponentModule,
|
|
837
|
-
NavigationProgressBarComponentModule,
|
|
838
|
-
SidenavToggleButtonComponentModule,
|
|
839
|
-
ResetButtonComponentModule,
|
|
840
|
-
FlexLayoutModule,
|
|
841
|
-
CommonModule,
|
|
842
|
-
MatLegacyButtonModule,
|
|
843
|
-
MatIconModule,
|
|
844
|
-
MatLegacyMenuModule,
|
|
845
|
-
AppsButtonComponentModule,
|
|
846
|
-
LanguageSelectorComponentModule
|
|
847
|
-
],
|
|
848
|
-
exports: [HeaderComponent]
|
|
849
|
-
}]
|
|
850
|
-
}], null, null); })();
|
|
851
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(HeaderModule, { declarations: [HeaderComponent], imports: [MatToolbarModule,
|
|
852
|
-
SignOutComponentModule,
|
|
853
|
-
UserProfileIconComponentModule,
|
|
854
|
-
NavigationProgressBarComponentModule,
|
|
855
|
-
SidenavToggleButtonComponentModule,
|
|
856
|
-
ResetButtonComponentModule,
|
|
857
|
-
FlexLayoutModule,
|
|
858
|
-
CommonModule,
|
|
859
|
-
MatLegacyButtonModule,
|
|
860
|
-
MatIconModule,
|
|
861
|
-
MatLegacyMenuModule,
|
|
862
|
-
AppsButtonComponentModule,
|
|
863
|
-
LanguageSelectorComponentModule], exports: [HeaderComponent] }); })();
|
|
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
|
+
}] }]; } });
|
|
864
361
|
|
|
865
362
|
class LayoutComponentService {
|
|
866
363
|
constructor(footerComponentService, headerComponentService, logoConfig = null, config) {
|
|
@@ -877,58 +374,176 @@ class LayoutComponentService {
|
|
|
877
374
|
this.headerComponentService.update$.pipe(tap(() => this.fixedTopGap$.next(this.headerComponentService.countComponent * 64))).subscribe();
|
|
878
375
|
this.logo = logoConfig ?? {
|
|
879
376
|
src: '/assets/logo.png',
|
|
880
|
-
width: '192'
|
|
377
|
+
width: '192',
|
|
881
378
|
};
|
|
882
379
|
}
|
|
883
|
-
static { this.ɵfac =
|
|
884
|
-
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' }); }
|
|
885
382
|
}
|
|
886
|
-
(
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
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
|
+
}] }]; } });
|
|
898
395
|
|
|
899
|
-
class
|
|
396
|
+
class WindowContainerSidenavComponent {
|
|
397
|
+
constructor(service) {
|
|
398
|
+
this.service = service;
|
|
399
|
+
this.portals = new Map();
|
|
400
|
+
this.subscription = new Subscription();
|
|
401
|
+
}
|
|
402
|
+
ngOnInit() {
|
|
403
|
+
const components = this.service.getAll();
|
|
404
|
+
for (const component of components) {
|
|
405
|
+
this.add(component);
|
|
406
|
+
}
|
|
407
|
+
this.subscription.add(this.service.add$.pipe(tap(component => this.add(component))).subscribe());
|
|
408
|
+
this.subscription.add(this.service.remove$.pipe(tap(component => this.remove(component))).subscribe());
|
|
409
|
+
}
|
|
410
|
+
ngOnDestroy() {
|
|
411
|
+
this.subscription.unsubscribe();
|
|
412
|
+
}
|
|
413
|
+
trackBy(index, id) {
|
|
414
|
+
return id;
|
|
415
|
+
}
|
|
416
|
+
add(component) {
|
|
417
|
+
if (this.portals.has(component.id)) {
|
|
418
|
+
throw new Error(`Component portal with id ${component.id} already exists`);
|
|
419
|
+
}
|
|
420
|
+
const portal = new ComponentPortal(component.component, component.viewContainerRef, component.injector, component.componentFactoryResolver);
|
|
421
|
+
this.portals.set(component.id, portal);
|
|
422
|
+
}
|
|
423
|
+
remove(component) {
|
|
424
|
+
if (this.portals.has(component.id)) {
|
|
425
|
+
const portal = this.portals.get(component.id);
|
|
426
|
+
this.portals.delete(component.id);
|
|
427
|
+
portal.detach();
|
|
428
|
+
}
|
|
429
|
+
}
|
|
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 }); }
|
|
432
|
+
}
|
|
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
|
+
}] }]; } });
|
|
440
|
+
|
|
441
|
+
class ToggleWindowSidenavButtonComponent {
|
|
442
|
+
constructor() {
|
|
443
|
+
this.openWindowSidenav = false;
|
|
444
|
+
this.openWindowSidenavChange = new EventEmitter();
|
|
445
|
+
}
|
|
446
|
+
toggle() {
|
|
447
|
+
this.openWindowSidenav = !this.openWindowSidenav;
|
|
448
|
+
this.openWindowSidenavChange.emit(this.openWindowSidenav);
|
|
449
|
+
}
|
|
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 }); }
|
|
452
|
+
}
|
|
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
|
+
}] } });
|
|
463
|
+
|
|
464
|
+
class SidenavContentComponentService {
|
|
465
|
+
constructor(footerComponentService, headerComponentService) {
|
|
466
|
+
this.footerComponentService = footerComponentService;
|
|
467
|
+
this.headerComponentService = headerComponentService;
|
|
468
|
+
this.headerRows$ = new BehaviorSubject(1);
|
|
469
|
+
this.headerRows$.next(this.headerComponentService.countComponent);
|
|
470
|
+
this.footerComponentService.portalCount$.pipe().subscribe();
|
|
471
|
+
this.footerRows$ = this.footerComponentService.portalCount$;
|
|
472
|
+
this.headerComponentService.update$.pipe(tap(() => this.headerRows$.next(this.headerComponentService.countComponent))).subscribe();
|
|
473
|
+
this.innerHeight$ = combineLatest([
|
|
474
|
+
this.headerRows$,
|
|
475
|
+
this.footerRows$,
|
|
476
|
+
]).pipe(map(([headerRows, footerRows]) => `calc(100% - ${64 * (headerRows + footerRows)}px)`));
|
|
477
|
+
this.marginTop$ = this.headerRows$.pipe(map(headerRows => `${headerRows * 64}px`));
|
|
478
|
+
this.marginBottom$ = this.footerRows$.pipe(map(footerRows => `${footerRows * 64}px`));
|
|
479
|
+
}
|
|
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' }); }
|
|
482
|
+
}
|
|
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
|
+
}] }]; } });
|
|
493
|
+
|
|
494
|
+
class SidenavContentComponent {
|
|
495
|
+
constructor(sccs) {
|
|
496
|
+
this.sccs = sccs;
|
|
497
|
+
}
|
|
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 }); }
|
|
500
|
+
}
|
|
501
|
+
__decorate([
|
|
502
|
+
Required,
|
|
503
|
+
__metadata("design:type", MatSidenav)
|
|
504
|
+
], SidenavContentComponent.prototype, "sidenav", void 0);
|
|
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
|
+
}] } });
|
|
511
|
+
|
|
512
|
+
class SidenavHeaderDirective {
|
|
900
513
|
constructor(template) {
|
|
901
514
|
this.template = template;
|
|
902
515
|
}
|
|
903
|
-
static { this.ɵfac =
|
|
904
|
-
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 }); }
|
|
905
518
|
}
|
|
906
|
-
(
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
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
|
+
}] }]; } });
|
|
915
529
|
|
|
916
|
-
class
|
|
530
|
+
class SidenavFooterDirective {
|
|
917
531
|
constructor(template) {
|
|
918
532
|
this.template = template;
|
|
919
533
|
}
|
|
920
|
-
static { this.ɵfac =
|
|
921
|
-
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 }); }
|
|
922
536
|
}
|
|
923
|
-
(
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
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
|
+
}] }]; } });
|
|
932
547
|
|
|
933
548
|
class SidenavComponentService {
|
|
934
549
|
constructor(config) {
|
|
@@ -939,22 +554,22 @@ class SidenavComponentService {
|
|
|
939
554
|
toggleNavigationCollapse() {
|
|
940
555
|
this.collapsed$.next(!this.collapsed$.value);
|
|
941
556
|
}
|
|
942
|
-
static { this.ɵfac =
|
|
943
|
-
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' }); }
|
|
944
559
|
}
|
|
945
|
-
(
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
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 }]; } });
|
|
949
564
|
|
|
950
565
|
function IsNavigationDividerItem(item) {
|
|
951
|
-
return item && item
|
|
566
|
+
return !!item && !!item['divider'];
|
|
952
567
|
}
|
|
953
568
|
function IsNavigationInsertItem(item) {
|
|
954
|
-
return item && item
|
|
569
|
+
return !!item && !!item['insert'];
|
|
955
570
|
}
|
|
956
571
|
function IsNavigationItem(item) {
|
|
957
|
-
return (item && item
|
|
572
|
+
return (!!item && !!item['routerLink'] && !!item['label']);
|
|
958
573
|
}
|
|
959
574
|
|
|
960
575
|
class NavigationService {
|
|
@@ -1022,8 +637,10 @@ class NavigationService {
|
|
|
1022
637
|
else {
|
|
1023
638
|
return from(isVisible);
|
|
1024
639
|
}
|
|
1025
|
-
})
|
|
1026
|
-
|
|
640
|
+
})
|
|
641
|
+
.map(isVisible$ => isVisible$.pipe(catchError(e => {
|
|
642
|
+
console.error('isVisible method failed: ' +
|
|
643
|
+
e.message);
|
|
1027
644
|
return of(false);
|
|
1028
645
|
})));
|
|
1029
646
|
// TODO : dont wait for all status services to complete, but cancel waiting if one returns false
|
|
@@ -1075,92 +692,25 @@ class NavigationService {
|
|
|
1075
692
|
}
|
|
1076
693
|
return navigation;
|
|
1077
694
|
}
|
|
1078
|
-
static { this.ɵfac =
|
|
1079
|
-
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' }); }
|
|
1080
697
|
}
|
|
1081
|
-
(
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
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
|
+
}] }]; } });
|
|
1096
713
|
|
|
1097
|
-
const _c0$3 = ["navigationOverlay"];
|
|
1098
|
-
const _c1$2 = ["rxap-navigation-item", ""];
|
|
1099
|
-
function NavigationItemComponent_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
|
|
1100
|
-
i0.ɵɵelement(0, "mat-icon", 5);
|
|
1101
|
-
} if (rf & 2) {
|
|
1102
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
1103
|
-
i0.ɵɵproperty("rxapIcon", ctx_r0.item.icon);
|
|
1104
|
-
} }
|
|
1105
|
-
function NavigationItemComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
1106
|
-
i0.ɵɵelementStart(0, "span", 6);
|
|
1107
|
-
i0.ɵɵtext(1);
|
|
1108
|
-
i0.ɵɵelementEnd();
|
|
1109
|
-
} if (rf & 2) {
|
|
1110
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
1111
|
-
i0.ɵɵadvance(1);
|
|
1112
|
-
i0.ɵɵtextInterpolate(ctx_r1.item.label);
|
|
1113
|
-
} }
|
|
1114
|
-
function NavigationItemComponent_ul_5_Template(rf, ctx) { if (rf & 1) {
|
|
1115
|
-
i0.ɵɵelement(0, "ul", 7);
|
|
1116
|
-
} if (rf & 2) {
|
|
1117
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
1118
|
-
i0.ɵɵproperty("@sub-nav", undefined)("items", ctx_r2.children)("level", ctx_r2.level + 1);
|
|
1119
|
-
} }
|
|
1120
|
-
function NavigationItemComponent_ng_template_7_li_2_a_1_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
|
|
1121
|
-
i0.ɵɵelement(0, "mat-icon", 5);
|
|
1122
|
-
} if (rf & 2) {
|
|
1123
|
-
const child_r6 = i0.ɵɵnextContext(2).$implicit;
|
|
1124
|
-
const ctx_r8 = i0.ɵɵnextContext(2);
|
|
1125
|
-
i0.ɵɵproperty("rxapIcon", ctx_r8.asNavigationItem(child_r6).icon);
|
|
1126
|
-
} }
|
|
1127
|
-
function NavigationItemComponent_ng_template_7_li_2_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
1128
|
-
i0.ɵɵelementStart(0, "a", 11);
|
|
1129
|
-
i0.ɵɵtemplate(1, NavigationItemComponent_ng_template_7_li_2_a_1_mat_icon_1_Template, 1, 1, "mat-icon", 1);
|
|
1130
|
-
i0.ɵɵelementStart(2, "span", 6);
|
|
1131
|
-
i0.ɵɵtext(3);
|
|
1132
|
-
i0.ɵɵelementEnd()();
|
|
1133
|
-
} if (rf & 2) {
|
|
1134
|
-
const child_r6 = i0.ɵɵnextContext().$implicit;
|
|
1135
|
-
const ctx_r7 = i0.ɵɵnextContext(2);
|
|
1136
|
-
i0.ɵɵproperty("routerLink", ctx_r7.asNavigationItem(child_r6).routerLink);
|
|
1137
|
-
i0.ɵɵadvance(1);
|
|
1138
|
-
i0.ɵɵproperty("ngIf", ctx_r7.asNavigationItem(child_r6).icon);
|
|
1139
|
-
i0.ɵɵadvance(2);
|
|
1140
|
-
i0.ɵɵtextInterpolate(ctx_r7.asNavigationItem(child_r6).label);
|
|
1141
|
-
} }
|
|
1142
|
-
function NavigationItemComponent_ng_template_7_li_2_Template(rf, ctx) { if (rf & 1) {
|
|
1143
|
-
i0.ɵɵelementStart(0, "li");
|
|
1144
|
-
i0.ɵɵtemplate(1, NavigationItemComponent_ng_template_7_li_2_a_1_Template, 4, 3, "a", 10);
|
|
1145
|
-
i0.ɵɵelementEnd();
|
|
1146
|
-
} if (rf & 2) {
|
|
1147
|
-
const child_r6 = ctx.$implicit;
|
|
1148
|
-
const ctx_r5 = i0.ɵɵnextContext(2);
|
|
1149
|
-
i0.ɵɵadvance(1);
|
|
1150
|
-
i0.ɵɵproperty("ngIf", ctx_r5.isNavigationItem(child_r6));
|
|
1151
|
-
} }
|
|
1152
|
-
function NavigationItemComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
1153
|
-
const _r12 = i0.ɵɵgetCurrentView();
|
|
1154
|
-
i0.ɵɵelementStart(0, "div", 8);
|
|
1155
|
-
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()); });
|
|
1156
|
-
i0.ɵɵelementStart(1, "ul");
|
|
1157
|
-
i0.ɵɵtemplate(2, NavigationItemComponent_ng_template_7_li_2_Template, 2, 1, "li", 9);
|
|
1158
|
-
i0.ɵɵelementEnd()();
|
|
1159
|
-
} if (rf & 2) {
|
|
1160
|
-
const ctx_r4 = i0.ɵɵnextContext();
|
|
1161
|
-
i0.ɵɵadvance(2);
|
|
1162
|
-
i0.ɵɵproperty("ngForOf", ctx_r4.children);
|
|
1163
|
-
} }
|
|
1164
714
|
class NavigationItemComponent {
|
|
1165
715
|
constructor(router, sidenav, elementRef, renderer, overlay, viewContainerRef) {
|
|
1166
716
|
this.router = router;
|
|
@@ -1179,8 +729,8 @@ class NavigationItemComponent {
|
|
|
1179
729
|
this.lockeOverlay = false;
|
|
1180
730
|
}
|
|
1181
731
|
ngOnChanges(changes) {
|
|
1182
|
-
if (changes
|
|
1183
|
-
const item = changes
|
|
732
|
+
if (changes['item']) {
|
|
733
|
+
const item = changes['item'].currentValue;
|
|
1184
734
|
this.children =
|
|
1185
735
|
item.children && item.children.length ? item.children : null;
|
|
1186
736
|
}
|
|
@@ -1255,50 +805,24 @@ class NavigationItemComponent {
|
|
|
1255
805
|
}
|
|
1256
806
|
return item;
|
|
1257
807
|
}
|
|
1258
|
-
static { this.ɵfac =
|
|
1259
|
-
static { this.ɵcmp =
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
} if (rf & 2) {
|
|
1269
|
-
i0.ɵɵclassProp("active", ctx.isActive);
|
|
1270
|
-
} }, inputs: { item: "item", level: "level" }, features: [i0.ɵɵNgOnChangesFeature], attrs: _c1$2, decls: 9, vars: 15, consts: [["routerLinkActive", "link-active", "matRipple", "", 3, "routerLink", "matTooltipDisabled", "matTooltip"], ["class", "icon", 3, "rxapIcon", 4, "ngIf"], [3, "ngIf"], ["rxap-navigation", "", "class", "sub-items", "fxFlex", "nogrow", 3, "items", "level", 4, "ngIf"], ["navigationOverlay", ""], [1, "icon", 3, "rxapIcon"], [1, "label"], ["rxap-navigation", "", "fxFlex", "nogrow", 1, "sub-items", 3, "items", "level"], [1, "navigation-overlay-container", "mat-elevation-z1", 3, "mouseenter", "mouseleave"], [4, "ngFor", "ngForOf"], ["class", "navigation-link mat-body-2 mat-body-strong", "matRipple", "", 3, "routerLink", 4, "ngIf"], ["matRipple", "", 1, "navigation-link", "mat-body-2", "mat-body-strong", 3, "routerLink"]], template: function NavigationItemComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1271
|
-
i0.ɵɵelementStart(0, "a", 0);
|
|
1272
|
-
i0.ɵɵpipe(1, "async");
|
|
1273
|
-
i0.ɵɵtemplate(2, NavigationItemComponent_mat_icon_2_Template, 1, 1, "mat-icon", 1);
|
|
1274
|
-
i0.ɵɵtemplate(3, NavigationItemComponent_ng_template_3_Template, 2, 1, "ng-template", 2);
|
|
1275
|
-
i0.ɵɵpipe(4, "async");
|
|
1276
|
-
i0.ɵɵelementEnd();
|
|
1277
|
-
i0.ɵɵtemplate(5, NavigationItemComponent_ul_5_Template, 1, 3, "ul", 3);
|
|
1278
|
-
i0.ɵɵpipe(6, "async");
|
|
1279
|
-
i0.ɵɵtemplate(7, NavigationItemComponent_ng_template_7_Template, 3, 1, "ng-template", null, 4, i0.ɵɵtemplateRefExtractor);
|
|
1280
|
-
} if (rf & 2) {
|
|
1281
|
-
i0.ɵɵclassMapInterpolate1("navigation-link mat-body-2 mat-body-strong navigation-level-", ctx.level, "");
|
|
1282
|
-
i0.ɵɵproperty("routerLink", ctx.item.routerLink)("matTooltipDisabled", !i0.ɵɵpipeBind1(1, 9, ctx.sidenav.collapsed$))("matTooltip", ctx.item.label);
|
|
1283
|
-
i0.ɵɵadvance(2);
|
|
1284
|
-
i0.ɵɵproperty("ngIf", ctx.item.icon);
|
|
1285
|
-
i0.ɵɵadvance(1);
|
|
1286
|
-
i0.ɵɵproperty("ngIf", !i0.ɵɵpipeBind1(4, 11, ctx.sidenav.collapsed$));
|
|
1287
|
-
i0.ɵɵadvance(2);
|
|
1288
|
-
i0.ɵɵproperty("ngIf", ctx.routerLinkActive.isActive && !i0.ɵɵpipeBind1(6, 13, ctx.sidenav.collapsed$) && ctx.children);
|
|
1289
|
-
} }, 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: [
|
|
1290
|
-
trigger('sub-nav', [
|
|
1291
|
-
transition(':enter', [
|
|
1292
|
-
style({ display: 'block', height: '0', overflow: 'hidden' }),
|
|
1293
|
-
animate(150, style({ height: '*' })),
|
|
1294
|
-
]),
|
|
1295
|
-
transition(':leave', [
|
|
1296
|
-
style({ overflow: 'hidden' }),
|
|
1297
|
-
animate(300, style({ height: '0' })),
|
|
1298
|
-
style({ display: 'none' }),
|
|
1299
|
-
]),
|
|
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: '*' })),
|
|
1300
818
|
]),
|
|
1301
|
-
|
|
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 }); }
|
|
1302
826
|
}
|
|
1303
827
|
__decorate([
|
|
1304
828
|
Required,
|
|
@@ -1310,107 +834,78 @@ __decorate([
|
|
|
1310
834
|
__metadata("design:paramtypes", []),
|
|
1311
835
|
__metadata("design:returntype", void 0)
|
|
1312
836
|
], NavigationItemComponent.prototype, "onMouseleave", null);
|
|
1313
|
-
(
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
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
|
+
]),
|
|
1327
856
|
]),
|
|
1328
|
-
]
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
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
|
+
}] } });
|
|
1368
908
|
|
|
1369
|
-
const _c0$2 = ["rxap-navigation", ""];
|
|
1370
|
-
function NavigationComponent_ng_template_0_ng_template_0_div_1_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
1371
|
-
i0.ɵɵelementStart(0, "span", 2);
|
|
1372
|
-
i0.ɵɵtext(1);
|
|
1373
|
-
i0.ɵɵelementEnd();
|
|
1374
|
-
} if (rf & 2) {
|
|
1375
|
-
const item_r1 = i0.ɵɵnextContext(3).$implicit;
|
|
1376
|
-
i0.ɵɵadvance(1);
|
|
1377
|
-
i0.ɵɵtextInterpolate(item_r1.title);
|
|
1378
|
-
} }
|
|
1379
|
-
function NavigationComponent_ng_template_0_ng_template_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
1380
|
-
i0.ɵɵelementStart(0, "div", 4);
|
|
1381
|
-
i0.ɵɵtemplate(1, NavigationComponent_ng_template_0_ng_template_0_div_1_span_1_Template, 2, 1, "span", 5);
|
|
1382
|
-
i0.ɵɵelementEnd();
|
|
1383
|
-
} if (rf & 2) {
|
|
1384
|
-
const item_r1 = i0.ɵɵnextContext(2).$implicit;
|
|
1385
|
-
i0.ɵɵadvance(1);
|
|
1386
|
-
i0.ɵɵproperty("ngIf", item_r1.title);
|
|
1387
|
-
} }
|
|
1388
|
-
function NavigationComponent_ng_template_0_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
1389
|
-
i0.ɵɵelement(0, "mat-divider", 2);
|
|
1390
|
-
i0.ɵɵtemplate(1, NavigationComponent_ng_template_0_ng_template_0_div_1_Template, 2, 1, "div", 3);
|
|
1391
|
-
i0.ɵɵpipe(2, "async");
|
|
1392
|
-
} if (rf & 2) {
|
|
1393
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
1394
|
-
i0.ɵɵadvance(1);
|
|
1395
|
-
i0.ɵɵproperty("ngIf", !i0.ɵɵpipeBind1(2, 1, ctx_r2.sidenav.collapsed$));
|
|
1396
|
-
} }
|
|
1397
|
-
function NavigationComponent_ng_template_0_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
1398
|
-
i0.ɵɵelement(0, "li", 6);
|
|
1399
|
-
} if (rf & 2) {
|
|
1400
|
-
const item_r1 = i0.ɵɵnextContext().$implicit;
|
|
1401
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
|
1402
|
-
i0.ɵɵproperty("level", ctx_r3.level)("item", ctx_r3.asNavigationItem(item_r1));
|
|
1403
|
-
} }
|
|
1404
|
-
function NavigationComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
1405
|
-
i0.ɵɵtemplate(0, NavigationComponent_ng_template_0_ng_template_0_Template, 3, 3, "ng-template", 1);
|
|
1406
|
-
i0.ɵɵtemplate(1, NavigationComponent_ng_template_0_ng_template_1_Template, 1, 2, "ng-template", 1);
|
|
1407
|
-
} if (rf & 2) {
|
|
1408
|
-
const item_r1 = ctx.$implicit;
|
|
1409
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
1410
|
-
i0.ɵɵproperty("ngIf", ctx_r0.isNavigationDividerItem(item_r1));
|
|
1411
|
-
i0.ɵɵadvance(1);
|
|
1412
|
-
i0.ɵɵproperty("ngIf", ctx_r0.isNavigationItem(item_r1));
|
|
1413
|
-
} }
|
|
1414
909
|
class NavigationComponent {
|
|
1415
910
|
set root(value) {
|
|
1416
911
|
this._root = coerceBoolean(value);
|
|
@@ -1447,573 +942,100 @@ class NavigationComponent {
|
|
|
1447
942
|
}
|
|
1448
943
|
return item;
|
|
1449
944
|
}
|
|
1450
|
-
static { this.ɵfac =
|
|
1451
|
-
static { this.ɵcmp =
|
|
1452
|
-
i0.ɵɵclassProp("rxap-root-navigation", ctx._root);
|
|
1453
|
-
} }, inputs: { root: "root", items: "items", level: "level" }, attrs: _c0$2, 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) {
|
|
1454
|
-
i0.ɵɵtemplate(0, NavigationComponent_ng_template_0_Template, 2, 2, "ng-template", 0);
|
|
1455
|
-
} if (rf & 2) {
|
|
1456
|
-
i0.ɵɵproperty("ngForOf", ctx.items);
|
|
1457
|
-
} }, dependencies: [i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutAlignDirective, i1$3.DefaultFlexDirective, i2$1.NgForOf, i2$1.NgIf, i3$4.MatDivider, NavigationItemComponent, i2$1.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 }); }
|
|
1458
947
|
}
|
|
1459
948
|
__decorate([
|
|
1460
949
|
Required,
|
|
1461
950
|
__metadata("design:type", Array)
|
|
1462
951
|
], NavigationComponent.prototype, "items", void 0);
|
|
1463
|
-
(
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
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
|
+
}] } });
|
|
1485
981
|
|
|
1486
|
-
function SidenavComponent_ng_template_3_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
1487
|
-
i0.ɵɵelementContainer(0);
|
|
1488
|
-
} }
|
|
1489
|
-
function SidenavComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
1490
|
-
i0.ɵɵelementStart(0, "div", 11);
|
|
1491
|
-
i0.ɵɵpipe(1, "async");
|
|
1492
|
-
i0.ɵɵtemplate(2, SidenavComponent_ng_template_3_ng_container_2_Template, 1, 0, "ng-container", 12);
|
|
1493
|
-
i0.ɵɵelementEnd();
|
|
1494
|
-
i0.ɵɵelement(3, "mat-divider", 13);
|
|
1495
|
-
i0.ɵɵpipe(4, "async");
|
|
1496
|
-
} if (rf & 2) {
|
|
1497
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
1498
|
-
let tmp_1_0;
|
|
1499
|
-
i0.ɵɵproperty("fxHide", i0.ɵɵpipeBind1(1, 3, ctx_r0.sidenav.collapsed$));
|
|
1500
|
-
i0.ɵɵadvance(2);
|
|
1501
|
-
i0.ɵɵproperty("ngTemplateOutlet", (tmp_1_0 = ctx_r0.sidenavHeaderDirective == null ? null : ctx_r0.sidenavHeaderDirective.template) !== null && tmp_1_0 !== undefined ? tmp_1_0 : null);
|
|
1502
|
-
i0.ɵɵadvance(1);
|
|
1503
|
-
i0.ɵɵproperty("fxHide", i0.ɵɵpipeBind1(4, 5, ctx_r0.sidenav.collapsed$));
|
|
1504
|
-
} }
|
|
1505
|
-
function SidenavComponent_ng_template_15_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
1506
|
-
i0.ɵɵelementContainer(0);
|
|
1507
|
-
} }
|
|
1508
|
-
function SidenavComponent_ng_template_15_Template(rf, ctx) { if (rf & 1) {
|
|
1509
|
-
i0.ɵɵelement(0, "mat-divider", 13);
|
|
1510
|
-
i0.ɵɵpipe(1, "async");
|
|
1511
|
-
i0.ɵɵelementStart(2, "div", 14);
|
|
1512
|
-
i0.ɵɵpipe(3, "async");
|
|
1513
|
-
i0.ɵɵtemplate(4, SidenavComponent_ng_template_15_ng_container_4_Template, 1, 0, "ng-container", 12);
|
|
1514
|
-
i0.ɵɵelementEnd();
|
|
1515
|
-
} if (rf & 2) {
|
|
1516
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
1517
|
-
let tmp_2_0;
|
|
1518
|
-
i0.ɵɵproperty("fxHide", i0.ɵɵpipeBind1(1, 3, ctx_r1.sidenav.collapsed$));
|
|
1519
|
-
i0.ɵɵadvance(2);
|
|
1520
|
-
i0.ɵɵproperty("fxHide", i0.ɵɵpipeBind1(3, 5, ctx_r1.sidenav.collapsed$));
|
|
1521
|
-
i0.ɵɵadvance(2);
|
|
1522
|
-
i0.ɵɵproperty("ngTemplateOutlet", (tmp_2_0 = ctx_r1.sidenavFooterDirective == null ? null : ctx_r1.sidenavFooterDirective.template) !== null && tmp_2_0 !== undefined ? tmp_2_0 : null);
|
|
1523
|
-
} }
|
|
1524
|
-
const _c2$1 = function (a0) { return { "collapsed": a0 }; };
|
|
1525
982
|
class SidenavComponent {
|
|
1526
983
|
constructor(sidenav) {
|
|
1527
984
|
this.sidenav = sidenav;
|
|
1528
985
|
}
|
|
1529
|
-
static { this.ɵfac =
|
|
1530
|
-
static { this.ɵcmp =
|
|
1531
|
-
i0.ɵɵcontentQuery(dirIndex, SidenavFooterDirective, 5);
|
|
1532
|
-
i0.ɵɵcontentQuery(dirIndex, SidenavHeaderDirective, 5);
|
|
1533
|
-
} if (rf & 2) {
|
|
1534
|
-
let _t;
|
|
1535
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sidenavFooterDirective = _t.first);
|
|
1536
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sidenavHeaderDirective = _t.first);
|
|
1537
|
-
} }, hostAttrs: [1, "rxap-layout-sidenav"], decls: 16, vars: 15, consts: function () { let i18n_0; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
1538
|
-
/**
|
|
1539
|
-
* @suppress {msgDescriptions}
|
|
1540
|
-
*/
|
|
1541
|
-
const MSG_EXTERNAL_1144722711335201698$$LIB_SIDENAV_SIDENAV_COMPONENT_TS_1 = goog.getMsg("Collapse sidebar");
|
|
1542
|
-
i18n_0 = MSG_EXTERNAL_1144722711335201698$$LIB_SIDENAV_SIDENAV_COMPONENT_TS_1;
|
|
1543
|
-
}
|
|
1544
|
-
else {
|
|
1545
|
-
i18n_0 = $localize `:␟98effe6eb558f87ab061ab608a31b44adec4e2ae␟1144722711335201698:Collapse sidebar`;
|
|
1546
|
-
} 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) {
|
|
1547
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
1548
|
-
i0.ɵɵpipe(1, "async");
|
|
1549
|
-
i0.ɵɵelementStart(2, "div", 1);
|
|
1550
|
-
i0.ɵɵtemplate(3, SidenavComponent_ng_template_3_Template, 5, 7, "ng-template", 2);
|
|
1551
|
-
i0.ɵɵelementStart(4, "div", 3);
|
|
1552
|
-
i0.ɵɵelement(5, "ul", 4);
|
|
1553
|
-
i0.ɵɵelementEnd();
|
|
1554
|
-
i0.ɵɵelement(6, "mat-divider", 5);
|
|
1555
|
-
i0.ɵɵelementStart(7, "button", 6);
|
|
1556
|
-
i0.ɵɵlistener("click", function SidenavComponent_Template_button_click_7_listener() { return ctx.sidenav.toggleNavigationCollapse(); });
|
|
1557
|
-
i0.ɵɵpipe(8, "async");
|
|
1558
|
-
i0.ɵɵelementStart(9, "span", 7)(10, "mat-icon", 8);
|
|
1559
|
-
i0.ɵɵtext(11, "double_arrow");
|
|
1560
|
-
i0.ɵɵelementEnd();
|
|
1561
|
-
i0.ɵɵelementStart(12, "span", 9);
|
|
1562
|
-
i0.ɵɵi18n(13, 10);
|
|
1563
|
-
i0.ɵɵpipe(14, "async");
|
|
1564
|
-
i0.ɵɵelementEnd()()();
|
|
1565
|
-
i0.ɵɵtemplate(15, SidenavComponent_ng_template_15_Template, 5, 7, "ng-template", 2);
|
|
1566
|
-
i0.ɵɵelementEnd()();
|
|
1567
|
-
} if (rf & 2) {
|
|
1568
|
-
let tmp_4_0;
|
|
1569
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c2$1, i0.ɵɵpipeBind1(1, 5, ctx.sidenav.collapsed$)));
|
|
1570
|
-
i0.ɵɵadvance(3);
|
|
1571
|
-
i0.ɵɵproperty("ngIf", ctx.sidenavHeaderDirective == null ? null : ctx.sidenavHeaderDirective.template);
|
|
1572
|
-
i0.ɵɵadvance(4);
|
|
1573
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c2$1, i0.ɵɵpipeBind1(8, 7, ctx.sidenav.collapsed$)));
|
|
1574
|
-
i0.ɵɵadvance(5);
|
|
1575
|
-
i0.ɵɵproperty("fxHide", i0.ɵɵpipeBind1(14, 9, ctx.sidenav.collapsed$));
|
|
1576
|
-
i0.ɵɵadvance(3);
|
|
1577
|
-
i0.ɵɵproperty("ngIf", (tmp_4_0 = ctx.sidenavFooterDirective == null ? null : ctx.sidenavFooterDirective.template) !== null && tmp_4_0 !== undefined ? tmp_4_0 : null);
|
|
1578
|
-
} }, dependencies: [i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutGapDirective, i1$3.DefaultLayoutAlignDirective, i1$3.DefaultFlexDirective, i5$1.DefaultShowHideDirective, i5$1.DefaultClassDirective, NavigationComponent, i2$1.NgClass, i2$1.NgIf, i2$1.NgTemplateOutlet, i3$4.MatDivider, i2$2.MatIcon, i1$1.MatLegacyButton, i2$1.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 }); }
|
|
1579
|
-
}
|
|
1580
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidenavComponent, [{
|
|
1581
|
-
type: Component,
|
|
1582
|
-
args: [{ selector: 'rxap-sidenav', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
1583
|
-
class: 'rxap-layout-sidenav'
|
|
1584
|
-
}, template: "<div class=\"container\" [ngClass]=\"{ 'collapsed': sidenav.collapsed$ | async }\">\n <div class=\"inner\"\n fxLayout=\"column\"\n fxLayoutAlign=\"space-between stretch\">\n <ng-template [ngIf]=\"sidenavHeaderDirective?.template\">\n <div fxFlex=\"nogrow\" class=\"header\" [fxHide]=\"sidenav.collapsed$ | async\">\n <ng-container *ngTemplateOutlet=\"sidenavHeaderDirective?.template ?? null\"></ng-container>\n </div>\n <mat-divider fxFlex=\"nogrow\" [fxHide]=\"sidenav.collapsed$ | async\"></mat-divider>\n </ng-template>\n <div fxFlex=\"grow\" class=\"nav-container\">\n <ul fxLayout=\"column\" root rxap-navigation></ul>\n </div>\n <mat-divider fxFlex=\"nogrow\"></mat-divider>\n <button mat-button class=\"sidebar-toggle\" [ngClass]=\"{ 'collapsed': sidenav.collapsed$ | async }\" fxFlex=\"nogrow\"\n (click)=\"sidenav.toggleNavigationCollapse()\">\n <span class=\"sidebar-toggle-inner\" fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"16px\">\n <mat-icon fxFlex=\"nogrow\" class=\"arrow\">double_arrow</mat-icon>\n <span [fxHide]=\"sidenav.collapsed$ | async\" class=\"label\" fxFlex=\"grow\" i18n>Collapse sidebar</span>\n </span>\n </button>\n <ng-template [ngIf]=\"sidenavFooterDirective?.template ?? null\">\n <mat-divider fxFlex=\"nogrow\" [fxHide]=\"sidenav.collapsed$ | async\"></mat-divider>\n <div fxFlex=\"nogrow\" class=\"footer\" [fxHide]=\"sidenav.collapsed$ | async\">\n <ng-container *ngTemplateOutlet=\"sidenavFooterDirective?.template ?? null\"></ng-container>\n </div>\n </ng-template>\n </div>\n</div>\n", styles: [".container,.container .inner{height:100%}.container .inner .header{padding-bottom:12px}.container .inner .footer{padding-top:12px}.container .inner .nav-container{overflow-y:scroll;padding-top:12px}.container .inner .nav-container::-webkit-scrollbar{width:6px}.container .inner .nav-container::-webkit-scrollbar-track{border-radius:2px}.container .inner .nav-container::-webkit-scrollbar-thumb{border-radius:10px}.container .sidebar-toggle{min-height:48px}.container .sidebar-toggle .sidebar-toggle-inner{padding:0}.container .sidebar-toggle .arrow{transform:rotate(180deg)}.container .sidebar-toggle.collapsed .arrow{transform:initial}.container .sidebar-toggle.collapsed .sidebar-toggle-inner{justify-content:space-around!important}\n"] }]
|
|
1585
|
-
}], function () { return [{ type: SidenavComponentService }]; }, { sidenavFooterDirective: [{
|
|
1586
|
-
type: ContentChild,
|
|
1587
|
-
args: [SidenavFooterDirective]
|
|
1588
|
-
}], sidenavHeaderDirective: [{
|
|
1589
|
-
type: ContentChild,
|
|
1590
|
-
args: [SidenavHeaderDirective]
|
|
1591
|
-
}] }); })();
|
|
1592
|
-
|
|
1593
|
-
class SidenavContentComponentService {
|
|
1594
|
-
constructor(footerComponentService, headerComponentService) {
|
|
1595
|
-
this.footerComponentService = footerComponentService;
|
|
1596
|
-
this.headerComponentService = headerComponentService;
|
|
1597
|
-
this.headerRows$ = new BehaviorSubject(1);
|
|
1598
|
-
this.headerRows$.next(this.headerComponentService.countComponent);
|
|
1599
|
-
this.footerComponentService.portalCount$.pipe().subscribe();
|
|
1600
|
-
this.footerRows$ = this.footerComponentService.portalCount$;
|
|
1601
|
-
this.headerComponentService.update$.pipe(tap(() => this.headerRows$.next(this.headerComponentService.countComponent))).subscribe();
|
|
1602
|
-
this.innerHeight$ = combineLatest([
|
|
1603
|
-
this.headerRows$,
|
|
1604
|
-
this.footerRows$
|
|
1605
|
-
]).pipe(map(([headerRows, footerRows]) => `calc(100% - ${64 * (headerRows + footerRows)}px)`));
|
|
1606
|
-
this.marginTop$ = this.headerRows$.pipe(map(headerRows => `${headerRows * 64}px`));
|
|
1607
|
-
this.marginBottom$ = this.footerRows$.pipe(map(footerRows => `${footerRows * 64}px`));
|
|
1608
|
-
}
|
|
1609
|
-
static { this.ɵfac = function SidenavContentComponentService_Factory(t) { return new (t || SidenavContentComponentService)(i0.ɵɵinject(FooterService), i0.ɵɵinject(HeaderService)); }; }
|
|
1610
|
-
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: SidenavContentComponentService, factory: SidenavContentComponentService.ɵfac, providedIn: 'root' }); }
|
|
1611
|
-
}
|
|
1612
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidenavContentComponentService, [{
|
|
1613
|
-
type: Injectable,
|
|
1614
|
-
args: [{ providedIn: 'root' }]
|
|
1615
|
-
}], function () { return [{ type: i1.FooterService, decorators: [{
|
|
1616
|
-
type: Inject,
|
|
1617
|
-
args: [FooterService]
|
|
1618
|
-
}] }, { type: i1.HeaderService, decorators: [{
|
|
1619
|
-
type: Inject,
|
|
1620
|
-
args: [HeaderService]
|
|
1621
|
-
}] }]; }, null); })();
|
|
1622
|
-
|
|
1623
|
-
const _c0$1 = function (a0) { return { "open": a0 }; };
|
|
1624
|
-
const _c1$1 = function (a0, a1, a2) { return { height: a0, marginTop: a1, marginBottom: a2 }; };
|
|
1625
|
-
const _c2 = ["*"];
|
|
1626
|
-
class SidenavContentComponent {
|
|
1627
|
-
constructor(sccs) {
|
|
1628
|
-
this.sccs = sccs;
|
|
1629
|
-
}
|
|
1630
|
-
ngOnInit() {
|
|
1631
|
-
}
|
|
1632
|
-
static { this.ɵfac = function SidenavContentComponent_Factory(t) { return new (t || SidenavContentComponent)(i0.ɵɵdirectiveInject(SidenavContentComponentService)); }; }
|
|
1633
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SidenavContentComponent, selectors: [["rxap-sidenav-content"]], inputs: { sidenav: "sidenav" }, ngContentSelectors: _c2, decls: 8, vars: 16, consts: [[1, "container", 3, "ngClass", "ngStyle"], [1, "inner"]], template: function SidenavContentComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1634
|
-
i0.ɵɵprojectionDef();
|
|
1635
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
1636
|
-
i0.ɵɵpipe(1, "async");
|
|
1637
|
-
i0.ɵɵpipe(2, "async");
|
|
1638
|
-
i0.ɵɵpipe(3, "async");
|
|
1639
|
-
i0.ɵɵpipe(4, "async");
|
|
1640
|
-
i0.ɵɵelementStart(5, "div", 1);
|
|
1641
|
-
i0.ɵɵelement(6, "router-outlet");
|
|
1642
|
-
i0.ɵɵprojection(7);
|
|
1643
|
-
i0.ɵɵelementEnd()();
|
|
1644
|
-
} if (rf & 2) {
|
|
1645
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$1, i0.ɵɵpipeBind1(1, 2, ctx.sidenav.openedChange)))("ngStyle", i0.ɵɵpureFunction3(12, _c1$1, i0.ɵɵpipeBind1(2, 4, ctx.sccs.innerHeight$), i0.ɵɵpipeBind1(3, 6, ctx.sccs.marginTop$), i0.ɵɵpipeBind1(4, 8, ctx.sccs.marginBottom$)));
|
|
1646
|
-
} }, dependencies: [i2$1.NgClass, i2$1.NgStyle, i3$1.RouterOutlet, i2$1.AsyncPipe], styles: [".container[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%]{padding:0;overflow:auto;height:100%}"], changeDetection: 0 }); }
|
|
1647
|
-
}
|
|
1648
|
-
__decorate([
|
|
1649
|
-
Required,
|
|
1650
|
-
__metadata("design:type", MatSidenav)
|
|
1651
|
-
], SidenavContentComponent.prototype, "sidenav", void 0);
|
|
1652
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidenavContentComponent, [{
|
|
1653
|
-
type: Component,
|
|
1654
|
-
args: [{ selector: 'rxap-sidenav-content', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"{ 'open': (sidenav.openedChange | async) }\" [ngStyle]=\"{\n height: sccs.innerHeight$ | async,\n marginTop: sccs.marginTop$ | async,\n marginBottom: sccs.marginBottom$ | async\n}\" class=\"container\">\n <!-- <dx-breadcrumb></dx-breadcrumb>-->\n <div class=\"inner\">\n <router-outlet></router-outlet>\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [".container .inner{padding:0;overflow:auto;height:100%}\n"] }]
|
|
1655
|
-
}], function () { return [{ type: SidenavContentComponentService }]; }, { sidenav: [{
|
|
1656
|
-
type: Input
|
|
1657
|
-
}] }); })();
|
|
1658
|
-
|
|
1659
|
-
function WindowContainerSidenavComponent_div_1_ng_template_1_Template(rf, ctx) { }
|
|
1660
|
-
function WindowContainerSidenavComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
1661
|
-
i0.ɵɵelementStart(0, "div", 2);
|
|
1662
|
-
i0.ɵɵtemplate(1, WindowContainerSidenavComponent_div_1_ng_template_1_Template, 0, 0, "ng-template", 3);
|
|
1663
|
-
i0.ɵɵelementEnd();
|
|
1664
|
-
} if (rf & 2) {
|
|
1665
|
-
const portalId_r1 = ctx.$implicit;
|
|
1666
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
1667
|
-
i0.ɵɵadvance(1);
|
|
1668
|
-
i0.ɵɵproperty("cdkPortalOutlet", ctx_r0.portals.get(portalId_r1));
|
|
1669
|
-
} }
|
|
1670
|
-
class WindowContainerSidenavComponent {
|
|
1671
|
-
constructor(service) {
|
|
1672
|
-
this.service = service;
|
|
1673
|
-
this.portals = new Map();
|
|
1674
|
-
this.subscription = new Subscription();
|
|
1675
|
-
}
|
|
1676
|
-
ngOnInit() {
|
|
1677
|
-
const components = this.service.getAll();
|
|
1678
|
-
for (const component of components) {
|
|
1679
|
-
this.add(component);
|
|
1680
|
-
}
|
|
1681
|
-
this.subscription.add(this.service.add$.pipe(tap(component => this.add(component))).subscribe());
|
|
1682
|
-
this.subscription.add(this.service.remove$.pipe(tap(component => this.remove(component))).subscribe());
|
|
1683
|
-
}
|
|
1684
|
-
ngOnDestroy() {
|
|
1685
|
-
this.subscription.unsubscribe();
|
|
1686
|
-
}
|
|
1687
|
-
trackBy(index, id) {
|
|
1688
|
-
return id;
|
|
1689
|
-
}
|
|
1690
|
-
add(component) {
|
|
1691
|
-
if (this.portals.has(component.id)) {
|
|
1692
|
-
throw new Error(`Component portal with id ${component.id} already exists`);
|
|
1693
|
-
}
|
|
1694
|
-
const portal = new ComponentPortal(component.component, component.viewContainerRef, component.injector, component.componentFactoryResolver);
|
|
1695
|
-
this.portals.set(component.id, portal);
|
|
1696
|
-
}
|
|
1697
|
-
remove(component) {
|
|
1698
|
-
if (this.portals.has(component.id)) {
|
|
1699
|
-
const portal = this.portals.get(component.id);
|
|
1700
|
-
this.portals.delete(component.id);
|
|
1701
|
-
portal.detach();
|
|
1702
|
-
}
|
|
1703
|
-
}
|
|
1704
|
-
static { this.ɵfac = function WindowContainerSidenavComponent_Factory(t) { return new (t || WindowContainerSidenavComponent)(i0.ɵɵdirectiveInject(WindowContainerSidenavService)); }; }
|
|
1705
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WindowContainerSidenavComponent, selectors: [["rxap-window-container-sidenav"]], decls: 2, vars: 2, consts: [["fxLayout", "column", "fxLayoutGap", "16px", 1, "container"], ["fxFlex", "nogrow", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["fxFlex", "nogrow"], [3, "cdkPortalOutlet"]], template: function WindowContainerSidenavComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1706
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
1707
|
-
i0.ɵɵtemplate(1, WindowContainerSidenavComponent_div_1_Template, 2, 1, "div", 1);
|
|
1708
|
-
i0.ɵɵelementEnd();
|
|
1709
|
-
} if (rf & 2) {
|
|
1710
|
-
i0.ɵɵadvance(1);
|
|
1711
|
-
i0.ɵɵproperty("ngForOf", ctx.portals.keys())("ngForTrackBy", ctx.trackBy);
|
|
1712
|
-
} }, dependencies: [i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutGapDirective, i1$3.DefaultFlexDirective, i2$1.NgForOf, i4.CdkPortalOutlet], styles: [".container[_ngcontent-%COMP%]{padding:8px}"], 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 }); }
|
|
1713
988
|
}
|
|
1714
|
-
(
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
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
|
+
}] } });
|
|
1721
1012
|
|
|
1722
|
-
function ToggleWindowSidenavButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
1723
|
-
i0.ɵɵelementStart(0, "mat-icon");
|
|
1724
|
-
i0.ɵɵtext(1, "keyboard_arrow_left");
|
|
1725
|
-
i0.ɵɵelementEnd();
|
|
1726
|
-
} }
|
|
1727
|
-
function ToggleWindowSidenavButtonComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
1728
|
-
i0.ɵɵelementStart(0, "mat-icon");
|
|
1729
|
-
i0.ɵɵtext(1, "keyboard_arrow_right");
|
|
1730
|
-
i0.ɵɵelementEnd();
|
|
1731
|
-
} }
|
|
1732
|
-
class ToggleWindowSidenavButtonComponent {
|
|
1733
|
-
constructor() {
|
|
1734
|
-
this.openWindowSidenav = false;
|
|
1735
|
-
this.openWindowSidenavChange = new EventEmitter();
|
|
1736
|
-
}
|
|
1737
|
-
ngOnInit() {
|
|
1738
|
-
}
|
|
1739
|
-
toggle() {
|
|
1740
|
-
this.openWindowSidenav = !this.openWindowSidenav;
|
|
1741
|
-
this.openWindowSidenavChange.emit(this.openWindowSidenav);
|
|
1742
|
-
}
|
|
1743
|
-
static { this.ɵfac = function ToggleWindowSidenavButtonComponent_Factory(t) { return new (t || ToggleWindowSidenavButtonComponent)(); }; }
|
|
1744
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ToggleWindowSidenavButtonComponent, selectors: [["rxap-toggle-window-sidenav-button"]], hostAttrs: [1, "rxap-toggle-window-sidenav-button"], inputs: { openWindowSidenav: "openWindowSidenav" }, outputs: { openWindowSidenavChange: "openWindowSidenavChange" }, decls: 5, vars: 2, consts: [[1, "toggle-button"], ["mat-icon-button", "", 3, "click"], [3, "ngIfElse", "ngIf"], ["hide", ""]], template: function ToggleWindowSidenavButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1745
|
-
i0.ɵɵelementStart(0, "div", 0)(1, "button", 1);
|
|
1746
|
-
i0.ɵɵlistener("click", function ToggleWindowSidenavButtonComponent_Template_button_click_1_listener() { return ctx.toggle(); });
|
|
1747
|
-
i0.ɵɵtemplate(2, ToggleWindowSidenavButtonComponent_ng_template_2_Template, 2, 0, "ng-template", 2);
|
|
1748
|
-
i0.ɵɵtemplate(3, ToggleWindowSidenavButtonComponent_ng_template_3_Template, 2, 0, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
1749
|
-
i0.ɵɵelementEnd()();
|
|
1750
|
-
} if (rf & 2) {
|
|
1751
|
-
const _r1 = i0.ɵɵreference(4);
|
|
1752
|
-
i0.ɵɵadvance(2);
|
|
1753
|
-
i0.ɵɵproperty("ngIfElse", _r1)("ngIf", !ctx.openWindowSidenav);
|
|
1754
|
-
} }, dependencies: [i1$1.MatLegacyButton, i2$2.MatIcon, i2$1.NgIf], 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 }); }
|
|
1755
|
-
}
|
|
1756
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToggleWindowSidenavButtonComponent, [{
|
|
1757
|
-
type: Component,
|
|
1758
|
-
args: [{ selector: 'rxap-toggle-window-sidenav-button', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
1759
|
-
class: 'rxap-toggle-window-sidenav-button'
|
|
1760
|
-
}, 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"] }]
|
|
1761
|
-
}], function () { return []; }, { openWindowSidenav: [{
|
|
1762
|
-
type: Input
|
|
1763
|
-
}], openWindowSidenavChange: [{
|
|
1764
|
-
type: Output
|
|
1765
|
-
}] }); })();
|
|
1766
|
-
|
|
1767
|
-
const _c0 = function () { return ["/"]; };
|
|
1768
|
-
function LayoutComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
1769
|
-
i0.ɵɵelement(0, "img", 9);
|
|
1770
|
-
} if (rf & 2) {
|
|
1771
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
1772
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction0(3, _c0))("width", ctx_r0.layoutComponentService.logo.width)("src", ctx_r0.layoutComponentService.logo.src, i0.ɵɵsanitizeUrl);
|
|
1773
|
-
} }
|
|
1774
|
-
const _c1 = ["*"];
|
|
1775
1013
|
class LayoutComponent {
|
|
1776
1014
|
constructor(layoutComponentService) {
|
|
1777
1015
|
this.layoutComponentService = layoutComponentService;
|
|
1778
1016
|
this.openWindowSidenav = false;
|
|
1779
1017
|
}
|
|
1780
|
-
static { this.ɵfac =
|
|
1781
|
-
static { this.ɵcmp =
|
|
1782
|
-
i0.ɵɵviewQuery(MatSidenav, 7);
|
|
1783
|
-
} if (rf & 2) {
|
|
1784
|
-
let _t;
|
|
1785
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sidenav = _t.first);
|
|
1786
|
-
} }, 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) {
|
|
1787
|
-
i0.ɵɵprojectionDef();
|
|
1788
|
-
i0.ɵɵelement(0, "rxap-header", 0);
|
|
1789
|
-
i0.ɵɵelementStart(1, "mat-sidenav-container", 1)(2, "mat-sidenav", 2);
|
|
1790
|
-
i0.ɵɵpipe(3, "async");
|
|
1791
|
-
i0.ɵɵpipe(4, "async");
|
|
1792
|
-
i0.ɵɵpipe(5, "async");
|
|
1793
|
-
i0.ɵɵpipe(6, "async");
|
|
1794
|
-
i0.ɵɵelementStart(7, "rxap-sidenav");
|
|
1795
|
-
i0.ɵɵtemplate(8, LayoutComponent_ng_template_8_Template, 1, 4, "ng-template", 3);
|
|
1796
|
-
i0.ɵɵelementEnd()();
|
|
1797
|
-
i0.ɵɵelementStart(9, "mat-sidenav-content", 4)(10, "rxap-sidenav-content", 5);
|
|
1798
|
-
i0.ɵɵprojection(11);
|
|
1799
|
-
i0.ɵɵelementStart(12, "rxap-toggle-window-sidenav-button", 6);
|
|
1800
|
-
i0.ɵɵlistener("openWindowSidenavChange", function LayoutComponent_Template_rxap_toggle_window_sidenav_button_openWindowSidenavChange_12_listener($event) { return ctx.openWindowSidenav = $event; });
|
|
1801
|
-
i0.ɵɵelementEnd()()();
|
|
1802
|
-
i0.ɵɵelementStart(13, "mat-sidenav", 7);
|
|
1803
|
-
i0.ɵɵpipe(14, "async");
|
|
1804
|
-
i0.ɵɵpipe(15, "async");
|
|
1805
|
-
i0.ɵɵelement(16, "rxap-window-container-sidenav");
|
|
1806
|
-
i0.ɵɵelementEnd()();
|
|
1807
|
-
i0.ɵɵelement(17, "rxap-footer", 8);
|
|
1808
|
-
} if (rf & 2) {
|
|
1809
|
-
let tmp_4_0;
|
|
1810
|
-
let tmp_5_0;
|
|
1811
|
-
i0.ɵɵproperty("sidenav", ctx.sidenav);
|
|
1812
|
-
i0.ɵɵadvance(2);
|
|
1813
|
-
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);
|
|
1814
|
-
i0.ɵɵadvance(8);
|
|
1815
|
-
i0.ɵɵproperty("sidenav", ctx.sidenav);
|
|
1816
|
-
i0.ɵɵadvance(2);
|
|
1817
|
-
i0.ɵɵproperty("openWindowSidenav", ctx.openWindowSidenav);
|
|
1818
|
-
i0.ɵɵadvance(1);
|
|
1819
|
-
i0.ɵɵproperty("fixedBottomGap", i0.ɵɵpipeBind1(14, 20, ctx.layoutComponentService.fixedBottomGap$))("fixedInViewport", true)("fixedTopGap", i0.ɵɵpipeBind1(15, 22, ctx.layoutComponentService.fixedTopGap$))("opened", ctx.openWindowSidenav);
|
|
1820
|
-
} }, dependencies: [i2$4.MatSidenav, i2$4.MatSidenavContainer, i2$4.MatSidenavContent, FooterComponent, HeaderComponent, SidenavComponent, SidenavHeaderDirective, SidenavContentComponent, WindowContainerSidenavComponent, ToggleWindowSidenavButtonComponent, i3$1.RouterLink, i2$1.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 }); }
|
|
1821
1020
|
}
|
|
1822
|
-
(
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
}
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
}], null, null); })();
|
|
1841
|
-
|
|
1842
|
-
class ReplaceRouterPathsPipe {
|
|
1843
|
-
constructor(rrp) {
|
|
1844
|
-
this.rrp = rrp;
|
|
1845
|
-
}
|
|
1846
|
-
transform(routerLink) {
|
|
1847
|
-
return this.rrp.transform(routerLink);
|
|
1848
|
-
}
|
|
1849
|
-
static { this.ɵfac = function ReplaceRouterPathsPipe_Factory(t) { return new (t || ReplaceRouterPathsPipe)(i0.ɵɵdirectiveInject(ReplaceRouterPathsService, 16)); }; }
|
|
1850
|
-
static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "replaceRouterPaths", type: ReplaceRouterPathsPipe, pure: true }); }
|
|
1851
|
-
}
|
|
1852
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReplaceRouterPathsPipe, [{
|
|
1853
|
-
type: Pipe,
|
|
1854
|
-
args: [{
|
|
1855
|
-
name: 'replaceRouterPaths'
|
|
1856
|
-
}]
|
|
1857
|
-
}], function () { return [{ type: ReplaceRouterPathsService }]; }, null); })();
|
|
1858
|
-
class ReplaceRouterPathsPipeModule {
|
|
1859
|
-
static { this.ɵfac = function ReplaceRouterPathsPipeModule_Factory(t) { return new (t || ReplaceRouterPathsPipeModule)(); }; }
|
|
1860
|
-
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: ReplaceRouterPathsPipeModule }); }
|
|
1861
|
-
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({}); }
|
|
1862
|
-
}
|
|
1863
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReplaceRouterPathsPipeModule, [{
|
|
1864
|
-
type: NgModule,
|
|
1865
|
-
args: [{
|
|
1866
|
-
declarations: [ReplaceRouterPathsPipe],
|
|
1867
|
-
exports: [ReplaceRouterPathsPipe]
|
|
1868
|
-
}]
|
|
1869
|
-
}], null, null); })();
|
|
1870
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ReplaceRouterPathsPipeModule, { declarations: [ReplaceRouterPathsPipe], exports: [ReplaceRouterPathsPipe] }); })();
|
|
1871
|
-
|
|
1872
|
-
class NavigationComponentModule {
|
|
1873
|
-
static { this.ɵfac = function NavigationComponentModule_Factory(t) { return new (t || NavigationComponentModule)(); }; }
|
|
1874
|
-
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: NavigationComponentModule }); }
|
|
1875
|
-
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [MatIconModule,
|
|
1876
|
-
MatLegacyButtonModule,
|
|
1877
|
-
FlexLayoutModule,
|
|
1878
|
-
RouterModule,
|
|
1879
|
-
CommonModule,
|
|
1880
|
-
IconDirectiveModule,
|
|
1881
|
-
MatRippleModule,
|
|
1882
|
-
MatDividerModule,
|
|
1883
|
-
StopPropagationDirectiveModule,
|
|
1884
|
-
MatLegacyTooltipModule,
|
|
1885
|
-
ReplaceRouterPathsPipeModule] }); }
|
|
1886
|
-
}
|
|
1887
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigationComponentModule, [{
|
|
1888
|
-
type: NgModule,
|
|
1889
|
-
args: [{
|
|
1890
|
-
declarations: [NavigationComponent, NavigationItemComponent],
|
|
1891
|
-
imports: [
|
|
1892
|
-
MatIconModule,
|
|
1893
|
-
MatLegacyButtonModule,
|
|
1894
|
-
FlexLayoutModule,
|
|
1895
|
-
RouterModule,
|
|
1896
|
-
CommonModule,
|
|
1897
|
-
IconDirectiveModule,
|
|
1898
|
-
MatRippleModule,
|
|
1899
|
-
MatDividerModule,
|
|
1900
|
-
StopPropagationDirectiveModule,
|
|
1901
|
-
MatLegacyTooltipModule,
|
|
1902
|
-
ReplaceRouterPathsPipeModule
|
|
1903
|
-
],
|
|
1904
|
-
exports: [NavigationComponent]
|
|
1905
|
-
}]
|
|
1906
|
-
}], null, null); })();
|
|
1907
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(NavigationComponentModule, { declarations: [NavigationComponent, NavigationItemComponent], imports: [MatIconModule,
|
|
1908
|
-
MatLegacyButtonModule,
|
|
1909
|
-
FlexLayoutModule,
|
|
1910
|
-
RouterModule,
|
|
1911
|
-
CommonModule,
|
|
1912
|
-
IconDirectiveModule,
|
|
1913
|
-
MatRippleModule,
|
|
1914
|
-
MatDividerModule,
|
|
1915
|
-
StopPropagationDirectiveModule,
|
|
1916
|
-
MatLegacyTooltipModule,
|
|
1917
|
-
ReplaceRouterPathsPipeModule], exports: [NavigationComponent] }); })();
|
|
1918
|
-
i0.ɵɵsetComponentScope(NavigationItemComponent, [i2$2.MatIcon, i1$3.DefaultFlexDirective, i3$1.RouterLink, i3$1.RouterLinkActive, i2$1.NgForOf, i2$1.NgIf, i5$2.IconDirective, i6$1.MatRipple, i7.MatLegacyTooltip, NavigationComponent], [i2$1.AsyncPipe]);
|
|
1919
|
-
|
|
1920
|
-
class SidenavModule {
|
|
1921
|
-
static { this.ɵfac = function SidenavModule_Factory(t) { return new (t || SidenavModule)(); }; }
|
|
1922
|
-
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: SidenavModule }); }
|
|
1923
|
-
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [FlexLayoutModule,
|
|
1924
|
-
NavigationComponentModule,
|
|
1925
|
-
CommonModule,
|
|
1926
|
-
MatDividerModule,
|
|
1927
|
-
MatIconModule,
|
|
1928
|
-
MatLegacyButtonModule] }); }
|
|
1929
|
-
}
|
|
1930
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidenavModule, [{
|
|
1931
|
-
type: NgModule,
|
|
1932
|
-
args: [{
|
|
1933
|
-
declarations: [SidenavComponent, SidenavHeaderDirective, SidenavFooterDirective],
|
|
1934
|
-
imports: [
|
|
1935
|
-
FlexLayoutModule,
|
|
1936
|
-
NavigationComponentModule,
|
|
1937
|
-
CommonModule,
|
|
1938
|
-
MatDividerModule,
|
|
1939
|
-
MatIconModule,
|
|
1940
|
-
MatLegacyButtonModule
|
|
1941
|
-
],
|
|
1942
|
-
exports: [SidenavComponent, SidenavHeaderDirective, SidenavFooterDirective],
|
|
1943
|
-
}]
|
|
1944
|
-
}], null, null); })();
|
|
1945
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(SidenavModule, { declarations: [SidenavComponent, SidenavHeaderDirective, SidenavFooterDirective], imports: [FlexLayoutModule,
|
|
1946
|
-
NavigationComponentModule,
|
|
1947
|
-
CommonModule,
|
|
1948
|
-
MatDividerModule,
|
|
1949
|
-
MatIconModule,
|
|
1950
|
-
MatLegacyButtonModule], exports: [SidenavComponent, SidenavHeaderDirective, SidenavFooterDirective] }); })();
|
|
1951
|
-
|
|
1952
|
-
class SidenavContentModule {
|
|
1953
|
-
static { this.ɵfac = function SidenavContentModule_Factory(t) { return new (t || SidenavContentModule)(); }; }
|
|
1954
|
-
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: SidenavContentModule }); }
|
|
1955
|
-
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
1956
|
-
RouterModule] }); }
|
|
1957
|
-
}
|
|
1958
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidenavContentModule, [{
|
|
1959
|
-
type: NgModule,
|
|
1960
|
-
args: [{
|
|
1961
|
-
declarations: [SidenavContentComponent],
|
|
1962
|
-
imports: [
|
|
1963
|
-
CommonModule,
|
|
1964
|
-
RouterModule
|
|
1965
|
-
],
|
|
1966
|
-
exports: [SidenavContentComponent]
|
|
1967
|
-
}]
|
|
1968
|
-
}], null, null); })();
|
|
1969
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(SidenavContentModule, { declarations: [SidenavContentComponent], imports: [CommonModule,
|
|
1970
|
-
RouterModule], exports: [SidenavContentComponent] }); })();
|
|
1971
|
-
|
|
1972
|
-
class WindowContainerSidenavModule {
|
|
1973
|
-
static { this.ɵfac = function WindowContainerSidenavModule_Factory(t) { return new (t || WindowContainerSidenavModule)(); }; }
|
|
1974
|
-
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: WindowContainerSidenavModule }); }
|
|
1975
|
-
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [FlexLayoutModule,
|
|
1976
|
-
CommonModule,
|
|
1977
|
-
PortalModule] }); }
|
|
1978
|
-
}
|
|
1979
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WindowContainerSidenavModule, [{
|
|
1980
|
-
type: NgModule,
|
|
1981
|
-
args: [{
|
|
1982
|
-
declarations: [WindowContainerSidenavComponent],
|
|
1983
|
-
imports: [
|
|
1984
|
-
FlexLayoutModule,
|
|
1985
|
-
CommonModule,
|
|
1986
|
-
PortalModule,
|
|
1987
|
-
],
|
|
1988
|
-
exports: [WindowContainerSidenavComponent],
|
|
1989
|
-
}]
|
|
1990
|
-
}], null, null); })();
|
|
1991
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(WindowContainerSidenavModule, { declarations: [WindowContainerSidenavComponent], imports: [FlexLayoutModule,
|
|
1992
|
-
CommonModule,
|
|
1993
|
-
PortalModule], exports: [WindowContainerSidenavComponent] }); })();
|
|
1994
|
-
|
|
1995
|
-
class ToggleWindowSidenavButtonModule {
|
|
1996
|
-
static { this.ɵfac = function ToggleWindowSidenavButtonModule_Factory(t) { return new (t || ToggleWindowSidenavButtonModule)(); }; }
|
|
1997
|
-
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: ToggleWindowSidenavButtonModule }); }
|
|
1998
|
-
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [MatLegacyButtonModule,
|
|
1999
|
-
MatIconModule,
|
|
2000
|
-
CommonModule] }); }
|
|
2001
|
-
}
|
|
2002
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToggleWindowSidenavButtonModule, [{
|
|
2003
|
-
type: NgModule,
|
|
2004
|
-
args: [{
|
|
2005
|
-
declarations: [ToggleWindowSidenavButtonComponent],
|
|
2006
|
-
imports: [
|
|
2007
|
-
MatLegacyButtonModule,
|
|
2008
|
-
MatIconModule,
|
|
2009
|
-
CommonModule,
|
|
2010
|
-
],
|
|
2011
|
-
exports: [ToggleWindowSidenavButtonComponent],
|
|
2012
|
-
}]
|
|
2013
|
-
}], null, null); })();
|
|
2014
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ToggleWindowSidenavButtonModule, { declarations: [ToggleWindowSidenavButtonComponent], imports: [MatLegacyButtonModule,
|
|
2015
|
-
MatIconModule,
|
|
2016
|
-
CommonModule], exports: [ToggleWindowSidenavButtonComponent] }); })();
|
|
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
|
+
}] } });
|
|
2017
1039
|
|
|
2018
1040
|
class LayoutModule {
|
|
2019
1041
|
static withNavigation(navigation) {
|
|
@@ -2022,73 +1044,37 @@ class LayoutModule {
|
|
|
2022
1044
|
providers: [
|
|
2023
1045
|
{
|
|
2024
1046
|
provide: RXAP_NAVIGATION_CONFIG,
|
|
2025
|
-
useValue: navigation
|
|
2026
|
-
}
|
|
2027
|
-
]
|
|
1047
|
+
useValue: navigation,
|
|
1048
|
+
},
|
|
1049
|
+
],
|
|
2028
1050
|
};
|
|
2029
1051
|
}
|
|
2030
|
-
static { this.ɵfac =
|
|
2031
|
-
static { this.ɵmod =
|
|
2032
|
-
static { this.ɵinj =
|
|
2033
|
-
FooterModule,
|
|
2034
|
-
HeaderModule,
|
|
2035
|
-
CommonModule,
|
|
2036
|
-
SidenavModule,
|
|
2037
|
-
SidenavContentModule,
|
|
2038
|
-
WindowContainerSidenavModule,
|
|
2039
|
-
ToggleWindowSidenavButtonModule,
|
|
2040
|
-
FlexLayoutModule,
|
|
2041
|
-
RouterModule] }); }
|
|
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] }); }
|
|
2042
1055
|
}
|
|
2043
|
-
(
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
HeaderModule,
|
|
2065
|
-
CommonModule,
|
|
2066
|
-
SidenavModule,
|
|
2067
|
-
SidenavContentModule,
|
|
2068
|
-
WindowContainerSidenavModule,
|
|
2069
|
-
ToggleWindowSidenavButtonModule,
|
|
2070
|
-
FlexLayoutModule,
|
|
2071
|
-
RouterModule], 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
|
+
}] });
|
|
1065
|
+
|
|
1066
|
+
class ReplaceRouterPathsService {
|
|
1067
|
+
transform(routerLink) {
|
|
1068
|
+
return of(routerLink);
|
|
1069
|
+
}
|
|
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' }); }
|
|
1072
|
+
}
|
|
1073
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ReplaceRouterPathsService, decorators: [{
|
|
1074
|
+
type: Injectable,
|
|
1075
|
+
args: [{ providedIn: 'root' }]
|
|
1076
|
+
}] });
|
|
2072
1077
|
|
|
2073
|
-
function VersionComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
2074
|
-
i0.ɵɵelementStart(0, "div", 2)(1, "span", 3);
|
|
2075
|
-
i0.ɵɵtext(2);
|
|
2076
|
-
i0.ɵɵelementEnd();
|
|
2077
|
-
i0.ɵɵelementStart(3, "span", 4);
|
|
2078
|
-
i0.ɵɵtext(4);
|
|
2079
|
-
i0.ɵɵelementEnd();
|
|
2080
|
-
i0.ɵɵelementStart(5, "span", 5);
|
|
2081
|
-
i0.ɵɵtext(6);
|
|
2082
|
-
i0.ɵɵelementEnd()();
|
|
2083
|
-
} if (rf & 2) {
|
|
2084
|
-
const module_r1 = ctx.$implicit;
|
|
2085
|
-
i0.ɵɵadvance(2);
|
|
2086
|
-
i0.ɵɵtextInterpolate(module_r1.value.name);
|
|
2087
|
-
i0.ɵɵadvance(2);
|
|
2088
|
-
i0.ɵɵtextInterpolate(module_r1.value.semantic);
|
|
2089
|
-
i0.ɵɵadvance(2);
|
|
2090
|
-
i0.ɵɵtextInterpolate(module_r1.value.hash);
|
|
2091
|
-
} }
|
|
2092
1078
|
class VersionComponent {
|
|
2093
1079
|
constructor(version) {
|
|
2094
1080
|
this.version = version;
|
|
@@ -2100,48 +1086,20 @@ class VersionComponent {
|
|
|
2100
1086
|
ngOnDestroy() {
|
|
2101
1087
|
this.subscription?.unsubscribe();
|
|
2102
1088
|
}
|
|
2103
|
-
static { this.ɵfac =
|
|
2104
|
-
static { this.ɵcmp =
|
|
2105
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
2106
|
-
i0.ɵɵtemplate(1, VersionComponent_div_1_Template, 7, 3, "div", 1);
|
|
2107
|
-
i0.ɵɵpipe(2, "keyvalue");
|
|
2108
|
-
i0.ɵɵelementEnd();
|
|
2109
|
-
} if (rf & 2) {
|
|
2110
|
-
i0.ɵɵadvance(1);
|
|
2111
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(2, 1, ctx.modules));
|
|
2112
|
-
} }, dependencies: [i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutGapDirective, i1$3.DefaultLayoutAlignDirective, i1$3.DefaultFlexDirective, i2$1.NgForOf, i2$1.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 }); }
|
|
2113
1091
|
}
|
|
2114
1092
|
__decorate([
|
|
2115
1093
|
Required,
|
|
2116
1094
|
__metadata("design:type", Object)
|
|
2117
1095
|
], VersionComponent.prototype, "modules", void 0);
|
|
2118
|
-
(
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
class VersionComponentModule {
|
|
2127
|
-
static { this.ɵfac = function VersionComponentModule_Factory(t) { return new (t || VersionComponentModule)(); }; }
|
|
2128
|
-
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: VersionComponentModule }); }
|
|
2129
|
-
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [FlexLayoutModule,
|
|
2130
|
-
CommonModule] }); }
|
|
2131
|
-
}
|
|
2132
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(VersionComponentModule, [{
|
|
2133
|
-
type: NgModule,
|
|
2134
|
-
args: [{
|
|
2135
|
-
declarations: [VersionComponent],
|
|
2136
|
-
imports: [
|
|
2137
|
-
FlexLayoutModule,
|
|
2138
|
-
CommonModule
|
|
2139
|
-
],
|
|
2140
|
-
exports: [VersionComponent]
|
|
2141
|
-
}]
|
|
2142
|
-
}], null, null); })();
|
|
2143
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(VersionComponentModule, { declarations: [VersionComponent], imports: [FlexLayoutModule,
|
|
2144
|
-
CommonModule], exports: [VersionComponent] }); })();
|
|
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: [] } });
|
|
2145
1103
|
|
|
2146
1104
|
class FooterDirective {
|
|
2147
1105
|
constructor(footerService, template, viewContainerRef) {
|
|
@@ -2158,41 +1116,29 @@ class FooterDirective {
|
|
|
2158
1116
|
this.footerService.removePortal(this._portal);
|
|
2159
1117
|
}
|
|
2160
1118
|
}
|
|
2161
|
-
static { this.ɵfac =
|
|
2162
|
-
static { this.ɵdir =
|
|
2163
|
-
}
|
|
2164
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FooterDirective, [{
|
|
2165
|
-
type: Directive,
|
|
2166
|
-
args: [{
|
|
2167
|
-
selector: '[rxapFooter]',
|
|
2168
|
-
}]
|
|
2169
|
-
}], function () { return [{ type: i1.FooterService, decorators: [{
|
|
2170
|
-
type: Inject,
|
|
2171
|
-
args: [FooterService]
|
|
2172
|
-
}] }, { type: i0.TemplateRef, decorators: [{
|
|
2173
|
-
type: Inject,
|
|
2174
|
-
args: [TemplateRef]
|
|
2175
|
-
}] }, { type: i0.ViewContainerRef, decorators: [{
|
|
2176
|
-
type: Inject,
|
|
2177
|
-
args: [ViewContainerRef]
|
|
2178
|
-
}] }]; }, null); })();
|
|
2179
|
-
class FooterDirectiveModule {
|
|
2180
|
-
static { this.ɵfac = function FooterDirectiveModule_Factory(t) { return new (t || FooterDirectiveModule)(); }; }
|
|
2181
|
-
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: FooterDirectiveModule }); }
|
|
2182
|
-
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({}); }
|
|
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 }); }
|
|
2183
1121
|
}
|
|
2184
|
-
(
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
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
|
+
}] }]; } });
|
|
2192
1138
|
|
|
2193
1139
|
/**
|
|
2194
1140
|
* Generated bundle index. Do not edit.
|
|
2195
1141
|
*/
|
|
2196
1142
|
|
|
2197
|
-
export { AppsButtonComponent,
|
|
1143
|
+
export { AppsButtonComponent, FooterComponent, FooterDirective, HeaderComponent, IsNavigationDividerItem, IsNavigationInsertItem, IsNavigationItem, LayoutComponent, LayoutComponentService, LayoutModule, NavigationComponent, NavigationItemComponent, NavigationProgressBarComponent, NavigationService, RXAP_FOOTER_COMPONENT, RXAP_HEADER_COMPONENT, RXAP_LAYOUT_APPS_GRID, RXAP_LOGO_CONFIG, RXAP_NAVIGATION_CONFIG, RXAP_NAVIGATION_CONFIG_INSERTS, ReplaceRouterPathsService, ResetButtonComponent, SidenavComponent, SidenavComponentService, SidenavContentComponent, SidenavContentComponentService, SidenavFooterDirective, SidenavHeaderDirective, SidenavToggleButtonComponent, SignOutComponent, ToggleWindowSidenavButtonComponent, UserProfileIconComponent, VersionComponent, WindowContainerSidenavComponent };
|
|
2198
1144
|
//# sourceMappingURL=rxap-layout.mjs.map
|