@rxap/layout 16.0.0-dev.1 → 16.0.0-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/index.mjs +1 -15
- package/esm2022/lib/footer/footer.component.mjs +8 -6
- package/esm2022/lib/footer.directive.mjs +4 -17
- package/esm2022/lib/header/apps-button/apps-button.component.mjs +32 -11
- package/esm2022/lib/header/header.component.mjs +56 -22
- package/esm2022/lib/header/language-selector/language-selector.component.mjs +25 -10
- package/esm2022/lib/header/navigation-progress-bar/navigation-progress-bar.component.mjs +9 -8
- package/esm2022/lib/header/reset-button/reset-button.component.mjs +8 -6
- package/esm2022/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.mjs +9 -7
- package/esm2022/lib/header/sign-out/sign-out.component.mjs +10 -8
- package/esm2022/lib/header/user-profile-icon/user-profile-icon.component.mjs +23 -11
- package/esm2022/lib/layout/layout.component.mjs +33 -14
- package/esm2022/lib/layout/layout.component.module.mjs +4 -42
- package/esm2022/lib/navigation/navigation-item/navigation-item.component.mjs +51 -22
- package/esm2022/lib/navigation/navigation.component.mjs +24 -12
- package/esm2022/lib/sidenav/sidenav-footer.directive.mjs +3 -2
- package/esm2022/lib/sidenav/sidenav-header.directive.mjs +3 -2
- package/esm2022/lib/sidenav/sidenav.component.mjs +31 -11
- package/esm2022/lib/sidenav/version/version.component.mjs +8 -7
- package/esm2022/lib/sidenav-content/sidenav-content.component.mjs +6 -6
- package/esm2022/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.mjs +8 -6
- package/esm2022/lib/window-container-sidenav/window-container-sidenav.component.mjs +10 -9
- package/fesm2022/rxap-layout.mjs +520 -879
- 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 +1 -6
- package/lib/header/apps-button/apps-button.component.d.ts +1 -1
- package/lib/header/header.component.d.ts +2 -2
- 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 +1 -1
- package/lib/navigation/navigation.component.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 +1 -1
- package/lib/sidenav-content/sidenav-content.component.d.ts +1 -1
- package/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.d.ts +1 -1
- package/lib/window-container-sidenav/window-container-sidenav.component.d.ts +1 -1
- package/package.json +9 -9
- 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/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';
|
|
24
|
+
import * as i1$2 from '@angular/material/button';
|
|
25
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
23
26
|
import { isDefined } from '@rxap/utilities/rxjs';
|
|
24
|
-
import
|
|
25
|
-
import { MatLegacyMenuModule } from '@angular/material/legacy-menu';
|
|
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');
|
|
@@ -90,40 +87,43 @@ class FooterComponent {
|
|
|
90
87
|
this.footerService = footerService;
|
|
91
88
|
}
|
|
92
89
|
static { this.ɵfac = function FooterComponent_Factory(t) { return new (t || FooterComponent)(i0.ɵɵdirectiveInject(i1.FooterService)); }; }
|
|
93
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["rxap-footer"]], decls: 2, vars: 3, consts: [[3, "ngIf"], ["class", "footer mat-elevation-z1", 4, "ngIf"], [1, "footer", "mat-elevation-z1"], [4, "ngFor", "ngForOf"], [3, "cdkPortalOutlet"]], template: function FooterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
90
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FooterComponent, selectors: [["rxap-footer"]], standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 2, vars: 3, consts: [[3, "ngIf"], ["class", "footer mat-elevation-z1", 4, "ngIf"], [1, "footer", "mat-elevation-z1"], [4, "ngFor", "ngForOf"], [3, "cdkPortalOutlet"]], template: function FooterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
94
91
|
i0.ɵɵtemplate(0, FooterComponent_ng_template_0_Template, 1, 1, "ng-template", 0);
|
|
95
92
|
i0.ɵɵpipe(1, "async");
|
|
96
93
|
} if (rf & 2) {
|
|
97
94
|
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 1, ctx.footerService.portals$));
|
|
98
|
-
} }, dependencies: [i2.MatToolbar, i2.MatToolbarRow,
|
|
95
|
+
} }, dependencies: [NgIf, MatToolbarModule, i2.MatToolbar, i2.MatToolbarRow, NgFor, PortalModule, i3.CdkPortalOutlet, AsyncPipe], changeDetection: 0 }); }
|
|
99
96
|
}
|
|
100
97
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FooterComponent, [{
|
|
101
98
|
type: Component,
|
|
102
|
-
args: [{ selector: 'rxap-footer', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template [ngIf]=\"footerService.portals$ | async\" let-portals>\n <mat-toolbar *ngIf=\"portals.length\" class=\"footer mat-elevation-z1\">\n <mat-toolbar-row *ngFor=\"let portal of portals\">\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n </mat-toolbar-row>\n </mat-toolbar>\n</ng-template>\n" }]
|
|
99
|
+
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" }]
|
|
103
100
|
}], function () { return [{ type: i1.FooterService }]; }, null); })();
|
|
104
101
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
102
|
+
function NavigationProgressBarComponent_mat_progress_bar_0_Template(rf, ctx) { if (rf & 1) {
|
|
103
|
+
i0.ɵɵelement(0, "mat-progress-bar", 1);
|
|
104
|
+
} }
|
|
105
|
+
class NavigationProgressBarComponent {
|
|
106
|
+
constructor(router) {
|
|
107
|
+
this.router = router;
|
|
108
|
+
this.navigating$ = this.router.events.pipe(filter(event => event instanceof NavigationStart ||
|
|
109
|
+
event instanceof NavigationEnd ||
|
|
110
|
+
event instanceof NavigationCancel), map(event => event instanceof NavigationStart));
|
|
111
|
+
}
|
|
112
|
+
static { this.ɵfac = function NavigationProgressBarComponent_Factory(t) { return new (t || NavigationProgressBarComponent)(i0.ɵɵdirectiveInject(Router)); }; }
|
|
113
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationProgressBarComponent, selectors: [["rxap-navigation-progress-bar"]], hostAttrs: [1, "rxap-navigation-progress-bar"], standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 2, vars: 3, consts: [["mode", "indeterminate", "color", "accent", 4, "ngIf"], ["mode", "indeterminate", "color", "accent"]], template: function NavigationProgressBarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
114
|
+
i0.ɵɵtemplate(0, NavigationProgressBarComponent_mat_progress_bar_0_Template, 1, 0, "mat-progress-bar", 0);
|
|
115
|
+
i0.ɵɵpipe(1, "async");
|
|
116
|
+
} if (rf & 2) {
|
|
117
|
+
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 1, ctx.navigating$));
|
|
118
|
+
} }, dependencies: [NgIf, MatProgressBarModule, i1$1.MatProgressBar, AsyncPipe], changeDetection: 0 }); }
|
|
111
119
|
}
|
|
112
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(
|
|
113
|
-
type:
|
|
114
|
-
args: [{
|
|
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] }); })();
|
|
120
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigationProgressBarComponent, [{
|
|
121
|
+
type: Component,
|
|
122
|
+
args: [{ selector: 'rxap-navigation-progress-bar', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-navigation-progress-bar' }, standalone: true, imports: [NgIf, MatProgressBarModule, AsyncPipe], template: "<mat-progress-bar\n *ngIf=\"navigating$ | async\"\n mode=\"indeterminate\"\n color=\"accent\"\n></mat-progress-bar>\n" }]
|
|
123
|
+
}], function () { return [{ type: i2$1.Router, decorators: [{
|
|
124
|
+
type: Inject,
|
|
125
|
+
args: [Router]
|
|
126
|
+
}] }]; }, null); })();
|
|
127
127
|
|
|
128
128
|
class SignOutComponent {
|
|
129
129
|
constructor(router) {
|
|
@@ -133,18 +133,18 @@ class SignOutComponent {
|
|
|
133
133
|
this.router.navigate(['/']);
|
|
134
134
|
}
|
|
135
135
|
static { this.ɵfac = function SignOutComponent_Factory(t) { return new (t || SignOutComponent)(i0.ɵɵdirectiveInject(Router)); }; }
|
|
136
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutComponent, selectors: [["rxap-sign-out"]], hostAttrs: [1, "rxap-sign-out"], decls: 3, vars: 0, consts: [["rxapSignOut", "", "mat-icon-button", "", 3, "successful"]], template: function SignOutComponent_Template(rf, ctx) { if (rf & 1) {
|
|
136
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutComponent, selectors: [["rxap-sign-out"]], hostAttrs: [1, "rxap-sign-out"], standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 3, vars: 0, consts: [["rxapSignOut", "", "mat-icon-button", "", 3, "successful"]], template: function SignOutComponent_Template(rf, ctx) { if (rf & 1) {
|
|
137
137
|
i0.ɵɵelementStart(0, "button", 0);
|
|
138
138
|
i0.ɵɵlistener("successful", function SignOutComponent_Template_button_successful_0_listener() { return ctx.redirectToRoot(); });
|
|
139
139
|
i0.ɵɵelementStart(1, "mat-icon");
|
|
140
140
|
i0.ɵɵtext(2, "login");
|
|
141
141
|
i0.ɵɵelementEnd()();
|
|
142
|
-
} }, dependencies: [i1$
|
|
142
|
+
} }, dependencies: [MatButtonModule, i1$2.MatIconButton, SignOutDirective, MatIconModule, i2$2.MatIcon], changeDetection: 0 }); }
|
|
143
143
|
}
|
|
144
144
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignOutComponent, [{
|
|
145
145
|
type: Component,
|
|
146
|
-
args: [{ selector: 'rxap-sign-out', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-sign-out' }, template: "<button\n rxapSignOut\n (successful)=\"redirectToRoot()\"\n mat-icon-button\n>\n <mat-icon>login</mat-icon>\n</button>\n" }]
|
|
147
|
-
}], function () { return [{ type:
|
|
146
|
+
args: [{ selector: 'rxap-sign-out', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-sign-out' }, standalone: true, imports: [MatButtonModule, SignOutDirective, MatIconModule], template: "<button\n rxapSignOut\n (successful)=\"redirectToRoot()\"\n mat-icon-button\n>\n <mat-icon>login</mat-icon>\n</button>\n" }]
|
|
147
|
+
}], function () { return [{ type: i2$1.Router, decorators: [{
|
|
148
148
|
type: Inject,
|
|
149
149
|
args: [Router]
|
|
150
150
|
}] }]; }, null); })();
|
|
@@ -223,7 +223,7 @@ class UserProfileIconComponent {
|
|
|
223
223
|
user.username));
|
|
224
224
|
}
|
|
225
225
|
static { this.ɵfac = function UserProfileIconComponent_Factory(t) { return new (t || UserProfileIconComponent)(i0.ɵɵdirectiveInject(UserService)); }; }
|
|
226
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserProfileIconComponent, selectors: [["rxap-user-profile-icon"]], hostAttrs: [1, "rxap-user-profile-icon"], decls: 7, vars: 11, consts: [["fxLayout", "row", "fxLayoutAlign", "center center", 1, "profile-icon", 3, "matMenuTriggerFor", "rxapAvatarBackgroundImage", "name"], [3, "yPosition"], ["menu", "matMenu"], [3, "ngIf"], ["mat-menu-item", "", 4, "ngIf"], ["mat-menu-item", ""]], template: function UserProfileIconComponent_Template(rf, ctx) { if (rf & 1) {
|
|
226
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UserProfileIconComponent, selectors: [["rxap-user-profile-icon"]], hostAttrs: [1, "rxap-user-profile-icon"], standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 7, vars: 11, consts: [["fxLayout", "row", "fxLayoutAlign", "center center", 1, "profile-icon", 3, "matMenuTriggerFor", "rxapAvatarBackgroundImage", "name"], [3, "yPosition"], ["menu", "matMenu"], [3, "ngIf"], ["mat-menu-item", "", 4, "ngIf"], ["mat-menu-item", ""]], template: function UserProfileIconComponent_Template(rf, ctx) { if (rf & 1) {
|
|
227
227
|
i0.ɵɵelement(0, "button", 0);
|
|
228
228
|
i0.ɵɵpipe(1, "async");
|
|
229
229
|
i0.ɵɵpipe(2, "async");
|
|
@@ -239,78 +239,25 @@ class UserProfileIconComponent {
|
|
|
239
239
|
i0.ɵɵproperty("yPosition", "below");
|
|
240
240
|
i0.ɵɵadvance(2);
|
|
241
241
|
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(6, 9, ctx.userService.user$));
|
|
242
|
-
} }, dependencies: [
|
|
242
|
+
} }, dependencies: [FlexModule, i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutAlignDirective, MatMenuModule, i2$3.MatMenu, i2$3.MatMenuItem, i2$3.MatMenuTrigger, AvatarBackgroundImageDirective,
|
|
243
|
+
NgIf,
|
|
244
|
+
MatIconModule, i2$2.MatIcon, AsyncPipe], styles: [".profile-icon[_ngcontent-%COMP%]{border-radius:100%;border:none;height:32px;width:32px;overflow:hidden;background-position:center center;background-repeat:no-repeat;background-size:cover}.profile-icon[_ngcontent-%COMP%]:hover{cursor:pointer}.profile-icon[_ngcontent-%COMP%]:focus{outline:none}"], changeDetection: 0 }); }
|
|
243
245
|
}
|
|
244
246
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UserProfileIconComponent, [{
|
|
245
247
|
type: Component,
|
|
246
|
-
args: [{ selector: 'rxap-user-profile-icon', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-user-profile-icon' },
|
|
247
|
-
|
|
248
|
+
args: [{ selector: 'rxap-user-profile-icon', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-user-profile-icon' }, standalone: true, imports: [
|
|
249
|
+
FlexModule,
|
|
250
|
+
MatMenuModule,
|
|
251
|
+
AvatarBackgroundImageDirective,
|
|
252
|
+
NgIf,
|
|
253
|
+
MatIconModule,
|
|
254
|
+
AsyncPipe
|
|
255
|
+
], template: "<button [matMenuTriggerFor]=\"menu\"\n [rxapAvatarBackgroundImage]=\"userProfileUrl$ | async\"\n [name]=\"(userName$ | async) ?? ''\"\n class=\"profile-icon\"\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\">\n</button>\n\n<mat-menu #menu=\"matMenu\" [yPosition]=\"'below'\">\n <ng-template [ngIf]=\"userService.user$ | async\" let-user>\n <button *ngIf=\"user.firstname && user.lastname\" mat-menu-item>\n <mat-icon>person</mat-icon>\n <span>{{user.firstname}} {{user.lastname}}</span>\n </button>\n <button *ngIf=\"user.name\" mat-menu-item>\n <mat-icon>person</mat-icon>\n <span>{{user.name}}</span>\n </button>\n <button *ngIf=\"user.username\" mat-menu-item>\n <mat-icon>account_circle</mat-icon>\n <span>{{user.username}}</span>\n </button>\n <button *ngIf=\"user.email\" mat-menu-item>\n <mat-icon>email</mat-icon>\n <span>{{user.email}}</span>\n </button>\n </ng-template>\n</mat-menu>\n", styles: [".profile-icon{border-radius:100%;border:none;height:32px;width:32px;overflow:hidden;background-position:center center;background-repeat:no-repeat;background-size:cover}.profile-icon:hover{cursor:pointer}.profile-icon:focus{outline:none}\n"] }]
|
|
256
|
+
}], function () { return [{ type: i4.UserService, decorators: [{
|
|
248
257
|
type: Inject,
|
|
249
258
|
args: [UserService]
|
|
250
259
|
}] }]; }, null); })();
|
|
251
260
|
|
|
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
261
|
function AppsButtonComponent_ng_template_0_ng_template_4_li_2_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
315
262
|
i0.ɵɵelementStart(0, "a", 9)(1, "span", 10);
|
|
316
263
|
i0.ɵɵelement(2, "img", 11);
|
|
@@ -387,21 +334,38 @@ class AppsButtonComponent {
|
|
|
387
334
|
this.grid = grid ?? this.config.get('navigation.apps') ?? [];
|
|
388
335
|
}
|
|
389
336
|
static { this.ɵfac = function AppsButtonComponent_Factory(t) { return new (t || AppsButtonComponent)(i0.ɵɵdirectiveInject(RXAP_LAYOUT_APPS_GRID, 8), i0.ɵɵdirectiveInject(ConfigService)); }; }
|
|
390
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AppsButtonComponent, selectors: [["rxap-apps-button"]], hostAttrs: [1, "rxap-apps-button"], decls: 1, vars: 1, consts: [[3, "ngIf"], ["cdkOverlayOrigin", "", "mat-icon-button", "", 3, "click"], ["trigger", "cdkOverlayOrigin"], ["cdkConnectedOverlay", "", 3, "cdkConnectedOverlayOpen", "cdkConnectedOverlayOrigin", "overlayOutsideClick"], [1, "grid-container"], [1, "grid", 3, "ngStyle"], [3, "ngClass", 4, "ngFor", "ngForOf"], [3, "ngClass"], [3, "href", 4, "ngIf"], [3, "href"], ["fxLayout", "column", "fxLayoutAlign", "start center", "fxLayoutGap", "12px"], ["width", "53px", 3, "src"]], template: function AppsButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
337
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AppsButtonComponent, selectors: [["rxap-apps-button"]], hostAttrs: [1, "rxap-apps-button"], standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 1, vars: 1, consts: [[3, "ngIf"], ["cdkOverlayOrigin", "", "mat-icon-button", "", 3, "click"], ["trigger", "cdkOverlayOrigin"], ["cdkConnectedOverlay", "", 3, "cdkConnectedOverlayOpen", "cdkConnectedOverlayOrigin", "overlayOutsideClick"], [1, "grid-container"], [1, "grid", 3, "ngStyle"], [3, "ngClass", 4, "ngFor", "ngForOf"], [3, "ngClass"], [3, "href", 4, "ngIf"], [3, "href"], ["fxLayout", "column", "fxLayoutAlign", "start center", "fxLayoutGap", "12px"], ["width", "53px", 3, "src"]], template: function AppsButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
391
338
|
i0.ɵɵtemplate(0, AppsButtonComponent_ng_template_0_Template, 5, 2, "ng-template", 0);
|
|
392
339
|
} if (rf & 2) {
|
|
393
340
|
i0.ɵɵproperty("ngIf", ctx.grid && ctx.grid.length);
|
|
394
|
-
} }, dependencies: [
|
|
341
|
+
} }, dependencies: [NgIf,
|
|
342
|
+
MatButtonModule, i1$2.MatIconButton, CdkOverlayOrigin,
|
|
343
|
+
MatIconModule, i2$2.MatIcon, CdkConnectedOverlay,
|
|
344
|
+
ExtendedModule, i2$4.DefaultClassDirective, i2$4.DefaultStyleDirective, NgStyle,
|
|
345
|
+
NgFor,
|
|
346
|
+
NgClass,
|
|
347
|
+
FlexModule, i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutGapDirective, i1$3.DefaultLayoutAlignDirective], styles: [".grid-container[_ngcontent-%COMP%]{padding:8px;border:1px solid rgba(0,0,0,.2);border-radius:8px;box-shadow:0 1px 2px #3c40434d,0 2px 6px 2px #3c404326}.grid[_ngcontent-%COMP%]{list-style-type:none;margin:0;padding:0}.grid[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{border-radius:8px;padding:6px;height:84px;width:84px;transition-delay:0s;transition-duration:.2s;transition-property:tramsform;transition-timing-function:cubic-bezier(.333,0,0,1);position:relative}.grid[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{position:absolute;inset:6px;text-align:center;text-decoration:none;color:#000}"], changeDetection: 0 }); }
|
|
395
348
|
}
|
|
396
349
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AppsButtonComponent, [{
|
|
397
350
|
type: Component,
|
|
398
|
-
args: [{ selector: 'rxap-apps-button', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-apps-button' },
|
|
351
|
+
args: [{ selector: 'rxap-apps-button', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-apps-button' }, standalone: true, imports: [
|
|
352
|
+
NgIf,
|
|
353
|
+
MatButtonModule,
|
|
354
|
+
CdkOverlayOrigin,
|
|
355
|
+
MatIconModule,
|
|
356
|
+
CdkConnectedOverlay,
|
|
357
|
+
ExtendedModule,
|
|
358
|
+
NgStyle,
|
|
359
|
+
NgFor,
|
|
360
|
+
NgClass,
|
|
361
|
+
FlexModule
|
|
362
|
+
], 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"] }]
|
|
399
363
|
}], function () { return [{ type: undefined, decorators: [{
|
|
400
364
|
type: Optional
|
|
401
365
|
}, {
|
|
402
366
|
type: Inject,
|
|
403
367
|
args: [RXAP_LAYOUT_APPS_GRID]
|
|
404
|
-
}] }, { type: i1$
|
|
368
|
+
}] }, { type: i1$4.ConfigService, decorators: [{
|
|
405
369
|
type: Inject,
|
|
406
370
|
args: [ConfigService]
|
|
407
371
|
}] }]; }, null); })();
|
|
@@ -487,7 +451,7 @@ class LanguageSelectorService {
|
|
|
487
451
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LanguageSelectorService, [{
|
|
488
452
|
type: Injectable,
|
|
489
453
|
args: [{ providedIn: 'root' }]
|
|
490
|
-
}], function () { return [{ type: i1$
|
|
454
|
+
}], function () { return [{ type: i1$4.ConfigService, decorators: [{
|
|
491
455
|
type: Inject,
|
|
492
456
|
args: [ConfigService]
|
|
493
457
|
}] }]; }, null); })();
|
|
@@ -496,18 +460,65 @@ class LanguageSelectorComponent {
|
|
|
496
460
|
this.language = language;
|
|
497
461
|
}
|
|
498
462
|
static { this.ɵfac = function LanguageSelectorComponent_Factory(t) { return new (t || LanguageSelectorComponent)(i0.ɵɵdirectiveInject(LanguageSelectorService)); }; }
|
|
499
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LanguageSelectorComponent, selectors: [["rxap-language-selector"]], hostAttrs: [1, "rxap-language-selector"], decls: 2, vars: 3, consts: [[3, "ngIf"], ["appearance", "outline", 1, "language-selector"], [3, "ngModel", "ngModelChange"], [3, "value", 4, "ngFor", "ngForOf"], [3, "value"]], template: function LanguageSelectorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
463
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LanguageSelectorComponent, selectors: [["rxap-language-selector"]], hostAttrs: [1, "rxap-language-selector"], standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 2, vars: 3, consts: [[3, "ngIf"], ["appearance", "outline", 1, "language-selector"], [3, "ngModel", "ngModelChange"], [3, "value", 4, "ngFor", "ngForOf"], [3, "value"]], template: function LanguageSelectorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
500
464
|
i0.ɵɵtemplate(0, LanguageSelectorComponent_ng_template_0_Template, 5, 4, "ng-template", 0);
|
|
501
465
|
i0.ɵɵpipe(1, "keyvalue");
|
|
502
466
|
} if (rf & 2) {
|
|
503
467
|
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 1, ctx.language.languages).length);
|
|
504
|
-
} }, dependencies: [
|
|
468
|
+
} }, dependencies: [NgIf,
|
|
469
|
+
MatFormFieldModule, i2$5.MatFormField, MatSelectModule, i3$1.MatSelect, i4$1.MatOption, FormsModule, i5.NgControlStatus, i5.NgModel, NgFor,
|
|
470
|
+
MatOptionModule,
|
|
471
|
+
KeyValuePipe], styles: [".language-selector[_ngcontent-%COMP%]{width:142px}.language-selector[_ngcontent-%COMP%] .mat-form-field-wrapper{padding-bottom:0}.language-selector[_ngcontent-%COMP%] .mat-form-field-wrapper .mat-form-field-infix{padding:12px 0;border-width:6px}.language-selector[_ngcontent-%COMP%] .mat-form-field-wrapper .mat-form-field-infix .mat-select-arrow-wrapper{transform:translateY(0)}"], changeDetection: 0 }); }
|
|
505
472
|
}
|
|
506
473
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LanguageSelectorComponent, [{
|
|
507
474
|
type: Component,
|
|
508
|
-
args: [{ selector: 'rxap-language-selector', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-language-selector' },
|
|
475
|
+
args: [{ selector: 'rxap-language-selector', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-language-selector' }, standalone: true, imports: [
|
|
476
|
+
NgIf,
|
|
477
|
+
MatFormFieldModule,
|
|
478
|
+
MatSelectModule,
|
|
479
|
+
FormsModule,
|
|
480
|
+
NgFor,
|
|
481
|
+
MatOptionModule,
|
|
482
|
+
KeyValuePipe
|
|
483
|
+
], template: "<ng-template [ngIf]=\"(language.languages | keyvalue).length\">\n <div>\n <mat-form-field appearance=\"outline\" class=\"language-selector\">\n <mat-select (ngModelChange)=\"language.setLanguage($event)\" [ngModel]=\"language.selectedLanguage\">\n <mat-option *ngFor=\"let item of language.languages | keyvalue\" [value]=\"item.key\">{{item.value}}</mat-option>\n </mat-select>\n </mat-form-field>\n </div>\n</ng-template>\n", styles: [".language-selector{width:142px}.language-selector ::ng-deep .mat-form-field-wrapper{padding-bottom:0}.language-selector ::ng-deep .mat-form-field-wrapper .mat-form-field-infix{padding:12px 0;border-width:6px}.language-selector ::ng-deep .mat-form-field-wrapper .mat-form-field-infix .mat-select-arrow-wrapper{transform:translateY(0)}\n"] }]
|
|
509
484
|
}], function () { return [{ type: LanguageSelectorService }]; }, null); })();
|
|
510
485
|
|
|
486
|
+
function SidenavToggleButtonComponent_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
|
|
487
|
+
i0.ɵɵelementStart(0, "mat-icon");
|
|
488
|
+
i0.ɵɵtext(1, "menu");
|
|
489
|
+
i0.ɵɵelementEnd();
|
|
490
|
+
} }
|
|
491
|
+
function SidenavToggleButtonComponent_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
|
|
492
|
+
i0.ɵɵelementStart(0, "mat-icon");
|
|
493
|
+
i0.ɵɵtext(1, "menu_open");
|
|
494
|
+
i0.ɵɵelementEnd();
|
|
495
|
+
} }
|
|
496
|
+
class SidenavToggleButtonComponent {
|
|
497
|
+
static { this.ɵfac = function SidenavToggleButtonComponent_Factory(t) { return new (t || SidenavToggleButtonComponent)(); }; }
|
|
498
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SidenavToggleButtonComponent, selectors: [["rxap-sidenav-toggle-button"]], hostAttrs: [1, "rxap-sidenav-toggle-button"], inputs: { sidenav: "sidenav" }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 3, vars: 2, consts: [["mat-icon-button", "", 3, "click"], [4, "ngIf"]], template: function SidenavToggleButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
499
|
+
i0.ɵɵelementStart(0, "button", 0);
|
|
500
|
+
i0.ɵɵlistener("click", function SidenavToggleButtonComponent_Template_button_click_0_listener() { return ctx.sidenav.toggle(); });
|
|
501
|
+
i0.ɵɵtemplate(1, SidenavToggleButtonComponent_mat_icon_1_Template, 2, 0, "mat-icon", 1);
|
|
502
|
+
i0.ɵɵtemplate(2, SidenavToggleButtonComponent_mat_icon_2_Template, 2, 0, "mat-icon", 1);
|
|
503
|
+
i0.ɵɵelementEnd();
|
|
504
|
+
} if (rf & 2) {
|
|
505
|
+
i0.ɵɵadvance(1);
|
|
506
|
+
i0.ɵɵproperty("ngIf", !ctx.sidenav.opened);
|
|
507
|
+
i0.ɵɵadvance(1);
|
|
508
|
+
i0.ɵɵproperty("ngIf", ctx.sidenav.opened);
|
|
509
|
+
} }, dependencies: [MatButtonModule, i1$2.MatIconButton, NgIf, MatIconModule, i2$2.MatIcon], changeDetection: 0 }); }
|
|
510
|
+
}
|
|
511
|
+
__decorate([
|
|
512
|
+
Required,
|
|
513
|
+
__metadata("design:type", MatSidenav)
|
|
514
|
+
], SidenavToggleButtonComponent.prototype, "sidenav", void 0);
|
|
515
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidenavToggleButtonComponent, [{
|
|
516
|
+
type: Component,
|
|
517
|
+
args: [{ selector: 'rxap-sidenav-toggle-button', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-sidenav-toggle-button' }, 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" }]
|
|
518
|
+
}], null, { sidenav: [{
|
|
519
|
+
type: Input
|
|
520
|
+
}] }); })();
|
|
521
|
+
|
|
511
522
|
function HeaderComponent_mat_toolbar_row_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
512
523
|
i0.ɵɵelementContainer(0);
|
|
513
524
|
} }
|
|
@@ -563,7 +574,7 @@ class HeaderComponent {
|
|
|
563
574
|
this.subscriptions.unsubscribe();
|
|
564
575
|
}
|
|
565
576
|
static { this.ɵfac = function HeaderComponent_Factory(t) { return new (t || HeaderComponent)(i0.ɵɵdirectiveInject(HeaderService), i0.ɵɵdirectiveInject(UserService), i0.ɵɵdirectiveInject(RXAP_HEADER_COMPONENT, 8)); }; }
|
|
566
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderComponent, selectors: [["rxap-header"]], hostAttrs: [1, "rxap-layout-header"], inputs: { sidenav: "sidenav", color: "color", settingsMenuPanel: "settingsMenuPanel" }, ngContentSelectors: _c1$3, decls: 14, vars: 10, consts: [[1, "mat-elevation-z3", 3, "ngClass", "color"], [4, "ngFor", "ngForOf"], ["fxLayout", "row", "fxLayoutAlign", "space-between center", "fxLayoutGap", "16px", 1, "content"], ["fxFlex", "nogrow", 3, "sidenav", 4, "ngIf"], ["fxFlex", "grow"], ["fxFlex", "nogrow"], ["fxFlex", "nogrow", 4, "ngIf"], [4, "ngComponentOutlet"], ["fxFlex", "nogrow", 3, "sidenav"], ["mat-icon-button", "", 3, "matMenuTriggerFor"]], template: function HeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
577
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderComponent, selectors: [["rxap-header"]], hostAttrs: [1, "rxap-layout-header"], inputs: { sidenav: "sidenav", color: "color", settingsMenuPanel: "settingsMenuPanel" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c1$3, decls: 14, vars: 10, consts: [[1, "mat-elevation-z3", 3, "ngClass", "color"], [4, "ngFor", "ngForOf"], ["fxLayout", "row", "fxLayoutAlign", "space-between center", "fxLayoutGap", "16px", 1, "content"], ["fxFlex", "nogrow", 3, "sidenav", 4, "ngIf"], ["fxFlex", "grow"], ["fxFlex", "nogrow"], ["fxFlex", "nogrow", 4, "ngIf"], [4, "ngComponentOutlet"], ["fxFlex", "nogrow", 3, "sidenav"], ["mat-icon-button", "", 3, "matMenuTriggerFor"]], template: function HeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
567
578
|
i0.ɵɵprojectionDef();
|
|
568
579
|
i0.ɵɵelementStart(0, "mat-toolbar", 0);
|
|
569
580
|
i0.ɵɵtemplate(1, HeaderComponent_mat_toolbar_row_1_Template, 2, 1, "mat-toolbar-row", 1);
|
|
@@ -589,17 +600,45 @@ class HeaderComponent {
|
|
|
589
600
|
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(10, 6, ctx.hasUser$));
|
|
590
601
|
i0.ɵɵadvance(2);
|
|
591
602
|
i0.ɵɵproperty("ngIf", ctx.settingsMenuPanel);
|
|
592
|
-
} }, dependencies: [i2.MatToolbar, i2.MatToolbarRow,
|
|
603
|
+
} }, dependencies: [MatToolbarModule, i2.MatToolbar, i2.MatToolbarRow, ExtendedModule, i2$4.DefaultClassDirective, NgClass,
|
|
604
|
+
NgFor,
|
|
605
|
+
NgComponentOutlet,
|
|
606
|
+
FlexModule, i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutGapDirective, i1$3.DefaultLayoutAlignDirective, i1$3.DefaultFlexDirective, NgIf,
|
|
607
|
+
SidenavToggleButtonComponent,
|
|
608
|
+
LanguageSelectorComponent,
|
|
609
|
+
AppsButtonComponent,
|
|
610
|
+
UserProfileIconComponent,
|
|
611
|
+
MatButtonModule, i1$2.MatIconButton, MatMenuModule, i2$3.MatMenuTrigger, MatIconModule, i2$2.MatIcon, SignOutComponent,
|
|
612
|
+
NavigationProgressBarComponent,
|
|
613
|
+
AsyncPipe], styles: [".content[_ngcontent-%COMP%]{width:100%;height:64px}"], changeDetection: 0 }); }
|
|
593
614
|
}
|
|
594
615
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HeaderComponent, [{
|
|
595
616
|
type: Component,
|
|
596
617
|
args: [{ selector: 'rxap-header', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
597
|
-
class: 'rxap-layout-header'
|
|
598
|
-
},
|
|
618
|
+
class: 'rxap-layout-header'
|
|
619
|
+
}, standalone: true, imports: [
|
|
620
|
+
MatToolbarModule,
|
|
621
|
+
ExtendedModule,
|
|
622
|
+
NgClass,
|
|
623
|
+
NgFor,
|
|
624
|
+
NgComponentOutlet,
|
|
625
|
+
FlexModule,
|
|
626
|
+
NgIf,
|
|
627
|
+
SidenavToggleButtonComponent,
|
|
628
|
+
LanguageSelectorComponent,
|
|
629
|
+
AppsButtonComponent,
|
|
630
|
+
UserProfileIconComponent,
|
|
631
|
+
MatButtonModule,
|
|
632
|
+
MatMenuModule,
|
|
633
|
+
MatIconModule,
|
|
634
|
+
SignOutComponent,
|
|
635
|
+
NavigationProgressBarComponent,
|
|
636
|
+
AsyncPipe
|
|
637
|
+
], 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
638
|
}], function () { return [{ type: i1.HeaderService, decorators: [{
|
|
600
639
|
type: Inject,
|
|
601
640
|
args: [HeaderService]
|
|
602
|
-
}] }, { type:
|
|
641
|
+
}] }, { type: i4.UserService, decorators: [{
|
|
603
642
|
type: Inject,
|
|
604
643
|
args: [UserService]
|
|
605
644
|
}] }, { type: undefined, decorators: [{
|
|
@@ -615,253 +654,27 @@ class HeaderComponent {
|
|
|
615
654
|
type: Input
|
|
616
655
|
}] }); })();
|
|
617
656
|
|
|
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] }); }
|
|
624
|
-
}
|
|
625
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignOutComponentModule, [{
|
|
626
|
-
type: NgModule,
|
|
627
|
-
args: [{
|
|
628
|
-
declarations: [SignOutComponent],
|
|
629
|
-
imports: [
|
|
630
|
-
MatLegacyButtonModule,
|
|
631
|
-
MatIconModule,
|
|
632
|
-
SignOutDirectiveModule,
|
|
633
|
-
],
|
|
634
|
-
exports: [SignOutComponent]
|
|
635
|
-
}]
|
|
636
|
-
}], null, null); })();
|
|
637
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(SignOutComponentModule, { declarations: [SignOutComponent], imports: [MatLegacyButtonModule,
|
|
638
|
-
MatIconModule,
|
|
639
|
-
SignOutDirectiveModule], exports: [SignOutComponent] }); })();
|
|
640
|
-
|
|
641
|
-
class UserProfileIconComponentModule {
|
|
642
|
-
static { this.ɵfac = function UserProfileIconComponentModule_Factory(t) { return new (t || UserProfileIconComponentModule)(); }; }
|
|
643
|
-
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: UserProfileIconComponentModule }); }
|
|
644
|
-
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [MatLegacyMenuModule,
|
|
645
|
-
MatIconModule,
|
|
646
|
-
CommonModule,
|
|
647
|
-
FlexLayoutModule,
|
|
648
|
-
AvatarBackgroundImageDirectiveModule] }); }
|
|
649
|
-
}
|
|
650
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UserProfileIconComponentModule, [{
|
|
651
|
-
type: NgModule,
|
|
652
|
-
args: [{
|
|
653
|
-
declarations: [UserProfileIconComponent],
|
|
654
|
-
imports: [
|
|
655
|
-
MatLegacyMenuModule,
|
|
656
|
-
MatIconModule,
|
|
657
|
-
CommonModule,
|
|
658
|
-
FlexLayoutModule,
|
|
659
|
-
AvatarBackgroundImageDirectiveModule,
|
|
660
|
-
],
|
|
661
|
-
exports: [UserProfileIconComponent]
|
|
662
|
-
}]
|
|
663
|
-
}], null, null); })();
|
|
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] }); })();
|
|
712
|
-
|
|
713
657
|
class ResetButtonComponent {
|
|
714
658
|
constructor(resetService) {
|
|
715
659
|
this.resetService = resetService;
|
|
716
660
|
}
|
|
717
661
|
static { this.ɵfac = function ResetButtonComponent_Factory(t) { return new (t || ResetButtonComponent)(i0.ɵɵdirectiveInject(ResetService)); }; }
|
|
718
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ResetButtonComponent, selectors: [["rxap-reset-button"]], hostAttrs: [1, "rxap-reset-button"], decls: 3, vars: 0, consts: [["mat-icon-button", "", 3, "click"]], template: function ResetButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
662
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ResetButtonComponent, selectors: [["rxap-reset-button"]], hostAttrs: [1, "rxap-reset-button"], standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 3, vars: 0, consts: [["mat-icon-button", "", 3, "click"]], template: function ResetButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
719
663
|
i0.ɵɵelementStart(0, "button", 0);
|
|
720
664
|
i0.ɵɵlistener("click", function ResetButtonComponent_Template_button_click_0_listener() { return ctx.resetService.resetAll(); });
|
|
721
665
|
i0.ɵɵelementStart(1, "mat-icon");
|
|
722
666
|
i0.ɵɵtext(2, "refresh");
|
|
723
667
|
i0.ɵɵelementEnd()();
|
|
724
|
-
} }, dependencies: [
|
|
668
|
+
} }, dependencies: [MatButtonModule, i1$2.MatIconButton, MatIconModule, i2$2.MatIcon], changeDetection: 0 }); }
|
|
725
669
|
}
|
|
726
670
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ResetButtonComponent, [{
|
|
727
671
|
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" }]
|
|
672
|
+
args: [{ selector: 'rxap-reset-button', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-reset-button' }, standalone: true, imports: [MatButtonModule, MatIconModule], template: "<button (click)=\"resetService.resetAll()\" mat-icon-button>\n <mat-icon>refresh</mat-icon>\n</button>\n" }]
|
|
729
673
|
}], function () { return [{ type: i1.ResetService, decorators: [{
|
|
730
674
|
type: Inject,
|
|
731
675
|
args: [ResetService]
|
|
732
676
|
}] }]; }, null); })();
|
|
733
677
|
|
|
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] }); }
|
|
739
|
-
}
|
|
740
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ResetButtonComponentModule, [{
|
|
741
|
-
type: NgModule,
|
|
742
|
-
args: [{
|
|
743
|
-
declarations: [ResetButtonComponent],
|
|
744
|
-
imports: [
|
|
745
|
-
MatIconModule,
|
|
746
|
-
MatLegacyButtonModule
|
|
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] }); })();
|
|
864
|
-
|
|
865
678
|
class LayoutComponentService {
|
|
866
679
|
constructor(footerComponentService, headerComponentService, logoConfig = null, config) {
|
|
867
680
|
this.footerComponentService = footerComponentService;
|
|
@@ -891,61 +704,237 @@ class LayoutComponentService {
|
|
|
891
704
|
}, {
|
|
892
705
|
type: Inject,
|
|
893
706
|
args: [RXAP_LOGO_CONFIG]
|
|
894
|
-
}] }, { type: i1$
|
|
707
|
+
}] }, { type: i1$4.ConfigService, decorators: [{
|
|
895
708
|
type: Inject,
|
|
896
709
|
args: [ConfigService]
|
|
897
710
|
}] }]; }, null); })();
|
|
898
711
|
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
712
|
+
function WindowContainerSidenavComponent_div_1_ng_template_1_Template(rf, ctx) { }
|
|
713
|
+
function WindowContainerSidenavComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
714
|
+
i0.ɵɵelementStart(0, "div", 2);
|
|
715
|
+
i0.ɵɵtemplate(1, WindowContainerSidenavComponent_div_1_ng_template_1_Template, 0, 0, "ng-template", 3);
|
|
716
|
+
i0.ɵɵelementEnd();
|
|
717
|
+
} if (rf & 2) {
|
|
718
|
+
const portalId_r1 = ctx.$implicit;
|
|
719
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
720
|
+
i0.ɵɵadvance(1);
|
|
721
|
+
i0.ɵɵproperty("cdkPortalOutlet", ctx_r0.portals.get(portalId_r1));
|
|
722
|
+
} }
|
|
723
|
+
class WindowContainerSidenavComponent {
|
|
724
|
+
constructor(service) {
|
|
725
|
+
this.service = service;
|
|
726
|
+
this.portals = new Map();
|
|
727
|
+
this.subscription = new Subscription();
|
|
902
728
|
}
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
(
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
}]
|
|
911
|
-
}], function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
912
|
-
type: Inject,
|
|
913
|
-
args: [TemplateRef]
|
|
914
|
-
}] }]; }, null); })();
|
|
915
|
-
|
|
916
|
-
class SidenavHeaderDirective {
|
|
917
|
-
constructor(template) {
|
|
918
|
-
this.template = template;
|
|
729
|
+
ngOnInit() {
|
|
730
|
+
const components = this.service.getAll();
|
|
731
|
+
for (const component of components) {
|
|
732
|
+
this.add(component);
|
|
733
|
+
}
|
|
734
|
+
this.subscription.add(this.service.add$.pipe(tap(component => this.add(component))).subscribe());
|
|
735
|
+
this.subscription.add(this.service.remove$.pipe(tap(component => this.remove(component))).subscribe());
|
|
919
736
|
}
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
}
|
|
923
|
-
(
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
737
|
+
ngOnDestroy() {
|
|
738
|
+
this.subscription.unsubscribe();
|
|
739
|
+
}
|
|
740
|
+
trackBy(index, id) {
|
|
741
|
+
return id;
|
|
742
|
+
}
|
|
743
|
+
add(component) {
|
|
744
|
+
if (this.portals.has(component.id)) {
|
|
745
|
+
throw new Error(`Component portal with id ${component.id} already exists`);
|
|
746
|
+
}
|
|
747
|
+
const portal = new ComponentPortal(component.component, component.viewContainerRef, component.injector, component.componentFactoryResolver);
|
|
748
|
+
this.portals.set(component.id, portal);
|
|
749
|
+
}
|
|
750
|
+
remove(component) {
|
|
751
|
+
if (this.portals.has(component.id)) {
|
|
752
|
+
const portal = this.portals.get(component.id);
|
|
753
|
+
this.portals.delete(component.id);
|
|
754
|
+
portal.detach();
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
static { this.ɵfac = function WindowContainerSidenavComponent_Factory(t) { return new (t || WindowContainerSidenavComponent)(i0.ɵɵdirectiveInject(WindowContainerSidenavService)); }; }
|
|
758
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WindowContainerSidenavComponent, selectors: [["rxap-window-container-sidenav"]], standalone: true, features: [i0.ɵɵStandaloneFeature], 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) {
|
|
759
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
760
|
+
i0.ɵɵtemplate(1, WindowContainerSidenavComponent_div_1_Template, 2, 1, "div", 1);
|
|
761
|
+
i0.ɵɵelementEnd();
|
|
762
|
+
} if (rf & 2) {
|
|
763
|
+
i0.ɵɵadvance(1);
|
|
764
|
+
i0.ɵɵproperty("ngForOf", ctx.portals.keys())("ngForTrackBy", ctx.trackBy);
|
|
765
|
+
} }, dependencies: [FlexModule, i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutGapDirective, i1$3.DefaultFlexDirective, NgFor, PortalModule, i3.CdkPortalOutlet], styles: [".container[_ngcontent-%COMP%]{padding:8px}"], changeDetection: 0 }); }
|
|
766
|
+
}
|
|
767
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WindowContainerSidenavComponent, [{
|
|
768
|
+
type: Component,
|
|
769
|
+
args: [{ selector: 'rxap-window-container-sidenav', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [FlexModule, NgFor, PortalModule], template: "<div fxLayout=\"column\" fxLayoutGap=\"16px\" class=\"container\">\n\n <div fxFlex=\"nogrow\" *ngFor=\"let portalId of portals.keys(); trackBy: trackBy\">\n <ng-template [cdkPortalOutlet]=\"portals.get(portalId)\"></ng-template>\n </div>\n\n</div>\n", styles: [".container{padding:8px}\n"] }]
|
|
770
|
+
}], function () { return [{ type: i1.WindowContainerSidenavService, decorators: [{
|
|
771
|
+
type: Inject,
|
|
772
|
+
args: [WindowContainerSidenavService]
|
|
773
|
+
}] }]; }, null); })();
|
|
774
|
+
|
|
775
|
+
function ToggleWindowSidenavButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
776
|
+
i0.ɵɵelementStart(0, "mat-icon");
|
|
777
|
+
i0.ɵɵtext(1, "keyboard_arrow_left");
|
|
778
|
+
i0.ɵɵelementEnd();
|
|
779
|
+
} }
|
|
780
|
+
function ToggleWindowSidenavButtonComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
781
|
+
i0.ɵɵelementStart(0, "mat-icon");
|
|
782
|
+
i0.ɵɵtext(1, "keyboard_arrow_right");
|
|
783
|
+
i0.ɵɵelementEnd();
|
|
784
|
+
} }
|
|
785
|
+
class ToggleWindowSidenavButtonComponent {
|
|
786
|
+
constructor() {
|
|
787
|
+
this.openWindowSidenav = false;
|
|
788
|
+
this.openWindowSidenavChange = new EventEmitter();
|
|
789
|
+
}
|
|
790
|
+
ngOnInit() {
|
|
791
|
+
}
|
|
792
|
+
toggle() {
|
|
793
|
+
this.openWindowSidenav = !this.openWindowSidenav;
|
|
794
|
+
this.openWindowSidenavChange.emit(this.openWindowSidenav);
|
|
795
|
+
}
|
|
796
|
+
static { this.ɵfac = function ToggleWindowSidenavButtonComponent_Factory(t) { return new (t || ToggleWindowSidenavButtonComponent)(); }; }
|
|
797
|
+
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" }, standalone: true, features: [i0.ɵɵStandaloneFeature], 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) {
|
|
798
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "button", 1);
|
|
799
|
+
i0.ɵɵlistener("click", function ToggleWindowSidenavButtonComponent_Template_button_click_1_listener() { return ctx.toggle(); });
|
|
800
|
+
i0.ɵɵtemplate(2, ToggleWindowSidenavButtonComponent_ng_template_2_Template, 2, 0, "ng-template", 2);
|
|
801
|
+
i0.ɵɵtemplate(3, ToggleWindowSidenavButtonComponent_ng_template_3_Template, 2, 0, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
802
|
+
i0.ɵɵelementEnd()();
|
|
803
|
+
} if (rf & 2) {
|
|
804
|
+
const _r1 = i0.ɵɵreference(4);
|
|
805
|
+
i0.ɵɵadvance(2);
|
|
806
|
+
i0.ɵɵproperty("ngIfElse", _r1)("ngIf", !ctx.openWindowSidenav);
|
|
807
|
+
} }, dependencies: [MatButtonModule, i1$2.MatIconButton, NgIf, MatIconModule, i2$2.MatIcon], styles: [".toggle-button[_ngcontent-%COMP%]{position:absolute;top:70px;right:0;z-index:10000;border-radius:15px 0 0 15px;border:1px solid black;background:black}"], changeDetection: 0 }); }
|
|
808
|
+
}
|
|
809
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToggleWindowSidenavButtonComponent, [{
|
|
810
|
+
type: Component,
|
|
811
|
+
args: [{ selector: 'rxap-toggle-window-sidenav-button', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
812
|
+
class: 'rxap-toggle-window-sidenav-button'
|
|
813
|
+
}, 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"] }]
|
|
814
|
+
}], function () { return []; }, { openWindowSidenav: [{
|
|
815
|
+
type: Input
|
|
816
|
+
}], openWindowSidenavChange: [{
|
|
817
|
+
type: Output
|
|
818
|
+
}] }); })();
|
|
819
|
+
|
|
820
|
+
class SidenavContentComponentService {
|
|
821
|
+
constructor(footerComponentService, headerComponentService) {
|
|
822
|
+
this.footerComponentService = footerComponentService;
|
|
823
|
+
this.headerComponentService = headerComponentService;
|
|
824
|
+
this.headerRows$ = new BehaviorSubject(1);
|
|
825
|
+
this.headerRows$.next(this.headerComponentService.countComponent);
|
|
826
|
+
this.footerComponentService.portalCount$.pipe().subscribe();
|
|
827
|
+
this.footerRows$ = this.footerComponentService.portalCount$;
|
|
828
|
+
this.headerComponentService.update$.pipe(tap(() => this.headerRows$.next(this.headerComponentService.countComponent))).subscribe();
|
|
829
|
+
this.innerHeight$ = combineLatest([
|
|
830
|
+
this.headerRows$,
|
|
831
|
+
this.footerRows$
|
|
832
|
+
]).pipe(map(([headerRows, footerRows]) => `calc(100% - ${64 * (headerRows + footerRows)}px)`));
|
|
833
|
+
this.marginTop$ = this.headerRows$.pipe(map(headerRows => `${headerRows * 64}px`));
|
|
834
|
+
this.marginBottom$ = this.footerRows$.pipe(map(footerRows => `${footerRows * 64}px`));
|
|
835
|
+
}
|
|
836
|
+
static { this.ɵfac = function SidenavContentComponentService_Factory(t) { return new (t || SidenavContentComponentService)(i0.ɵɵinject(FooterService), i0.ɵɵinject(HeaderService)); }; }
|
|
837
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: SidenavContentComponentService, factory: SidenavContentComponentService.ɵfac, providedIn: 'root' }); }
|
|
838
|
+
}
|
|
839
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidenavContentComponentService, [{
|
|
840
|
+
type: Injectable,
|
|
841
|
+
args: [{ providedIn: 'root' }]
|
|
842
|
+
}], function () { return [{ type: i1.FooterService, decorators: [{
|
|
843
|
+
type: Inject,
|
|
844
|
+
args: [FooterService]
|
|
845
|
+
}] }, { type: i1.HeaderService, decorators: [{
|
|
846
|
+
type: Inject,
|
|
847
|
+
args: [HeaderService]
|
|
848
|
+
}] }]; }, null); })();
|
|
849
|
+
|
|
850
|
+
const _c0$3 = function (a0) { return { "open": a0 }; };
|
|
851
|
+
const _c1$2 = function (a0, a1, a2) { return { height: a0, marginTop: a1, marginBottom: a2 }; };
|
|
852
|
+
const _c2$1 = ["*"];
|
|
853
|
+
class SidenavContentComponent {
|
|
854
|
+
constructor(sccs) {
|
|
855
|
+
this.sccs = sccs;
|
|
856
|
+
}
|
|
857
|
+
ngOnInit() {
|
|
858
|
+
}
|
|
859
|
+
static { this.ɵfac = function SidenavContentComponent_Factory(t) { return new (t || SidenavContentComponent)(i0.ɵɵdirectiveInject(SidenavContentComponentService)); }; }
|
|
860
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SidenavContentComponent, selectors: [["rxap-sidenav-content"]], inputs: { sidenav: "sidenav" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c2$1, decls: 8, vars: 16, consts: [[1, "container", 3, "ngClass", "ngStyle"], [1, "inner"]], template: function SidenavContentComponent_Template(rf, ctx) { if (rf & 1) {
|
|
861
|
+
i0.ɵɵprojectionDef();
|
|
862
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
863
|
+
i0.ɵɵpipe(1, "async");
|
|
864
|
+
i0.ɵɵpipe(2, "async");
|
|
865
|
+
i0.ɵɵpipe(3, "async");
|
|
866
|
+
i0.ɵɵpipe(4, "async");
|
|
867
|
+
i0.ɵɵelementStart(5, "div", 1);
|
|
868
|
+
i0.ɵɵelement(6, "router-outlet");
|
|
869
|
+
i0.ɵɵprojection(7);
|
|
870
|
+
i0.ɵɵelementEnd()();
|
|
871
|
+
} if (rf & 2) {
|
|
872
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$3, i0.ɵɵpipeBind1(1, 2, ctx.sidenav.openedChange)))("ngStyle", i0.ɵɵpureFunction3(12, _c1$2, i0.ɵɵpipeBind1(2, 4, ctx.sccs.innerHeight$), i0.ɵɵpipeBind1(3, 6, ctx.sccs.marginTop$), i0.ɵɵpipeBind1(4, 8, ctx.sccs.marginBottom$)));
|
|
873
|
+
} }, dependencies: [NgClass, NgStyle, RouterOutlet, AsyncPipe], styles: [".container[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%]{padding:0;overflow:auto;height:100%}"], changeDetection: 0 }); }
|
|
874
|
+
}
|
|
875
|
+
__decorate([
|
|
876
|
+
Required,
|
|
877
|
+
__metadata("design:type", MatSidenav)
|
|
878
|
+
], SidenavContentComponent.prototype, "sidenav", void 0);
|
|
879
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidenavContentComponent, [{
|
|
880
|
+
type: Component,
|
|
881
|
+
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"] }]
|
|
882
|
+
}], function () { return [{ type: SidenavContentComponentService }]; }, { sidenav: [{
|
|
883
|
+
type: Input
|
|
884
|
+
}] }); })();
|
|
885
|
+
|
|
886
|
+
class SidenavHeaderDirective {
|
|
887
|
+
constructor(template) {
|
|
888
|
+
this.template = template;
|
|
889
|
+
}
|
|
890
|
+
static { this.ɵfac = function SidenavHeaderDirective_Factory(t) { return new (t || SidenavHeaderDirective)(i0.ɵɵdirectiveInject(TemplateRef)); }; }
|
|
891
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: SidenavHeaderDirective, selectors: [["", "rxapSidenavHeader", ""]], standalone: true }); }
|
|
892
|
+
}
|
|
893
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidenavHeaderDirective, [{
|
|
894
|
+
type: Directive,
|
|
895
|
+
args: [{
|
|
896
|
+
selector: '[rxapSidenavHeader]',
|
|
897
|
+
standalone: true
|
|
898
|
+
}]
|
|
899
|
+
}], function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
900
|
+
type: Inject,
|
|
901
|
+
args: [TemplateRef]
|
|
902
|
+
}] }]; }, null); })();
|
|
903
|
+
|
|
904
|
+
class SidenavFooterDirective {
|
|
905
|
+
constructor(template) {
|
|
906
|
+
this.template = template;
|
|
907
|
+
}
|
|
908
|
+
static { this.ɵfac = function SidenavFooterDirective_Factory(t) { return new (t || SidenavFooterDirective)(i0.ɵɵdirectiveInject(TemplateRef)); }; }
|
|
909
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: SidenavFooterDirective, selectors: [["", "rxapSidenavFooter", ""]], standalone: true }); }
|
|
910
|
+
}
|
|
911
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidenavFooterDirective, [{
|
|
912
|
+
type: Directive,
|
|
913
|
+
args: [{
|
|
914
|
+
selector: '[rxapSidenavFooter]',
|
|
915
|
+
standalone: true
|
|
916
|
+
}]
|
|
917
|
+
}], function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
918
|
+
type: Inject,
|
|
919
|
+
args: [TemplateRef]
|
|
920
|
+
}] }]; }, null); })();
|
|
921
|
+
|
|
922
|
+
class SidenavComponentService {
|
|
923
|
+
constructor(config) {
|
|
924
|
+
this.config = config;
|
|
925
|
+
this.collapsed$ = new BehaviorSubject(true);
|
|
926
|
+
this.collapsed$.next(this.config.get('navigation.collapsed', this.collapsed$.value));
|
|
938
927
|
}
|
|
939
928
|
toggleNavigationCollapse() {
|
|
940
929
|
this.collapsed$.next(!this.collapsed$.value);
|
|
941
930
|
}
|
|
942
|
-
static { this.ɵfac = function SidenavComponentService_Factory(t) { return new (t || SidenavComponentService)(i0.ɵɵinject(i1$
|
|
931
|
+
static { this.ɵfac = function SidenavComponentService_Factory(t) { return new (t || SidenavComponentService)(i0.ɵɵinject(i1$4.ConfigService)); }; }
|
|
943
932
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: SidenavComponentService, factory: SidenavComponentService.ɵfac, providedIn: 'root' }); }
|
|
944
933
|
}
|
|
945
934
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidenavComponentService, [{
|
|
946
935
|
type: Injectable,
|
|
947
936
|
args: [{ providedIn: 'root' }]
|
|
948
|
-
}], function () { return [{ type: i1$
|
|
937
|
+
}], function () { return [{ type: i1$4.ConfigService }]; }, null); })();
|
|
949
938
|
|
|
950
939
|
function IsNavigationDividerItem(item) {
|
|
951
940
|
return item && item.hasOwnProperty('divider') && item.divider;
|
|
@@ -1094,8 +1083,8 @@ class NavigationService {
|
|
|
1094
1083
|
args: [RXAP_NAVIGATION_CONFIG_INSERTS]
|
|
1095
1084
|
}] }]; }, null); })();
|
|
1096
1085
|
|
|
1097
|
-
const _c0$
|
|
1098
|
-
const _c1$
|
|
1086
|
+
const _c0$2 = ["navigationOverlay"];
|
|
1087
|
+
const _c1$1 = ["rxap-navigation-item", ""];
|
|
1099
1088
|
function NavigationItemComponent_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
|
|
1100
1089
|
i0.ɵɵelement(0, "mat-icon", 5);
|
|
1101
1090
|
} if (rf & 2) {
|
|
@@ -1258,7 +1247,7 @@ class NavigationItemComponent {
|
|
|
1258
1247
|
static { this.ɵfac = function NavigationItemComponent_Factory(t) { return new (t || NavigationItemComponent)(i0.ɵɵdirectiveInject(Router), i0.ɵɵdirectiveInject(SidenavComponentService), i0.ɵɵdirectiveInject(ElementRef), i0.ɵɵdirectiveInject(Renderer2), i0.ɵɵdirectiveInject(Overlay), i0.ɵɵdirectiveInject(ViewContainerRef)); }; }
|
|
1259
1248
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationItemComponent, selectors: [["li", "rxap-navigation-item", ""]], viewQuery: function NavigationItemComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1260
1249
|
i0.ɵɵviewQuery(RouterLinkActive, 7);
|
|
1261
|
-
i0.ɵɵviewQuery(_c0$
|
|
1250
|
+
i0.ɵɵviewQuery(_c0$2, 5);
|
|
1262
1251
|
} if (rf & 2) {
|
|
1263
1252
|
let _t;
|
|
1264
1253
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.routerLinkActive = _t.first);
|
|
@@ -1267,7 +1256,7 @@ class NavigationItemComponent {
|
|
|
1267
1256
|
i0.ɵɵlistener("mouseenter", function NavigationItemComponent_mouseenter_HostBindingHandler() { return ctx.onMouseenter(); })("mouseleave", function NavigationItemComponent_mouseleave_HostBindingHandler() { return ctx.onMouseleave(); });
|
|
1268
1257
|
} if (rf & 2) {
|
|
1269
1258
|
i0.ɵɵclassProp("active", ctx.isActive);
|
|
1270
|
-
} }, inputs: { item: "item", level: "level" }, features: [i0.ɵɵNgOnChangesFeature], attrs: _c1$
|
|
1259
|
+
} }, inputs: { item: "item", level: "level" }, standalone: true, features: [i0.ɵɵNgOnChangesFeature, i0.ɵɵStandaloneFeature], attrs: _c1$1, 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-subtitle-2 mat-body-strong", "matRipple", "", 3, "routerLink", 4, "ngIf"], ["matRipple", "", 1, "navigation-link", "mat-subtitle-2", "mat-body-strong", 3, "routerLink"]], template: function NavigationItemComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1271
1260
|
i0.ɵɵelementStart(0, "a", 0);
|
|
1272
1261
|
i0.ɵɵpipe(1, "async");
|
|
1273
1262
|
i0.ɵɵtemplate(2, NavigationItemComponent_mat_icon_2_Template, 1, 1, "mat-icon", 1);
|
|
@@ -1286,18 +1275,24 @@ class NavigationItemComponent {
|
|
|
1286
1275
|
i0.ɵɵproperty("ngIf", !i0.ɵɵpipeBind1(4, 11, ctx.sidenav.collapsed$));
|
|
1287
1276
|
i0.ɵɵadvance(2);
|
|
1288
1277
|
i0.ɵɵproperty("ngIf", ctx.routerLinkActive.isActive && !i0.ɵɵpipeBind1(6, 13, ctx.sidenav.collapsed$) && ctx.children);
|
|
1289
|
-
} },
|
|
1278
|
+
} }, dependencies: [RouterLinkActive,
|
|
1279
|
+
MatRippleModule, i4$1.MatRipple, RouterLink,
|
|
1280
|
+
MatTooltipModule, i2$6.MatTooltip, NgIf,
|
|
1281
|
+
MatIconModule, i2$2.MatIcon, IconDirective,
|
|
1282
|
+
NavigationComponent,
|
|
1283
|
+
FlexModule, i1$3.DefaultFlexDirective, NgFor,
|
|
1284
|
+
AsyncPipe], styles: [".rxap-navigation-item,.navigation-overlay-container{display:flex;flex-direction:column;min-height:48px}.rxap-navigation-item .navigation-link,.navigation-overlay-container .navigation-link{display:flex;flex-direction:row;align-items:center;text-decoration:none;height:48px}.rxap-navigation-item .navigation-link .icon,.navigation-overlay-container .navigation-link .icon{margin:0 16px}.rxap-navigation-item .navigation-link .label,.navigation-overlay-container .navigation-link .label{padding-right:12px}.rxap-navigation-item .navigation-link.navigation-level-1,.navigation-overlay-container .navigation-link.navigation-level-1{padding-left:52px}.rxap-navigation-item .navigation-link.navigation-level-1 .icon,.navigation-overlay-container .navigation-link.navigation-level-1 .icon{padding-left:0}.rxap-navigation-item .navigation-link.navigation-level-2,.navigation-overlay-container .navigation-link.navigation-level-2{padding-left:88px}.rxap-navigation-item .navigation-link.navigation-level-2 .icon,.navigation-overlay-container .navigation-link.navigation-level-2 .icon{padding-left:0}.navigation-overlay-container{padding:0 16px}.navigation-overlay-container ul{list-style-type:none;margin:0;padding:0}.navigation-overlay-container ul .navigation-link .label{padding-right:0}.navigation-overlay-container ul .navigation-link .icon{margin-left:0}\n"], encapsulation: 2, data: { animation: [
|
|
1290
1285
|
trigger('sub-nav', [
|
|
1291
1286
|
transition(':enter', [
|
|
1292
1287
|
style({ display: 'block', height: '0', overflow: 'hidden' }),
|
|
1293
|
-
animate(150, style({ height: '*' }))
|
|
1288
|
+
animate(150, style({ height: '*' }))
|
|
1294
1289
|
]),
|
|
1295
1290
|
transition(':leave', [
|
|
1296
1291
|
style({ overflow: 'hidden' }),
|
|
1297
1292
|
animate(300, style({ height: '0' })),
|
|
1298
|
-
style({ display: 'none' })
|
|
1299
|
-
])
|
|
1300
|
-
])
|
|
1293
|
+
style({ display: 'none' })
|
|
1294
|
+
])
|
|
1295
|
+
])
|
|
1301
1296
|
] }, changeDetection: 0 }); }
|
|
1302
1297
|
}
|
|
1303
1298
|
__decorate([
|
|
@@ -1313,21 +1308,33 @@ __decorate([
|
|
|
1313
1308
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigationItemComponent, [{
|
|
1314
1309
|
type: Component,
|
|
1315
1310
|
args: [{ selector: 'li[rxap-navigation-item]', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
|
|
1316
|
-
class: 'rxap-navigation-item'
|
|
1311
|
+
class: 'rxap-navigation-item'
|
|
1317
1312
|
}, animations: [
|
|
1318
1313
|
trigger('sub-nav', [
|
|
1319
1314
|
transition(':enter', [
|
|
1320
1315
|
style({ display: 'block', height: '0', overflow: 'hidden' }),
|
|
1321
|
-
animate(150, style({ height: '*' }))
|
|
1316
|
+
animate(150, style({ height: '*' }))
|
|
1322
1317
|
]),
|
|
1323
1318
|
transition(':leave', [
|
|
1324
1319
|
style({ overflow: 'hidden' }),
|
|
1325
1320
|
animate(300, style({ height: '0' })),
|
|
1326
|
-
style({ display: 'none' })
|
|
1327
|
-
])
|
|
1328
|
-
])
|
|
1329
|
-
],
|
|
1330
|
-
|
|
1321
|
+
style({ display: 'none' })
|
|
1322
|
+
])
|
|
1323
|
+
])
|
|
1324
|
+
], standalone: true, imports: [
|
|
1325
|
+
RouterLinkActive,
|
|
1326
|
+
MatRippleModule,
|
|
1327
|
+
RouterLink,
|
|
1328
|
+
MatTooltipModule,
|
|
1329
|
+
NgIf,
|
|
1330
|
+
MatIconModule,
|
|
1331
|
+
IconDirective,
|
|
1332
|
+
NavigationComponent,
|
|
1333
|
+
FlexModule,
|
|
1334
|
+
NgFor,
|
|
1335
|
+
AsyncPipe
|
|
1336
|
+
], template: "<a [routerLink]=\"item.routerLink\"\n routerLinkActive=\"link-active\"\n [matTooltipDisabled]=\"!(sidenav.collapsed$ | async)\"\n [matTooltip]=\"item.label\"\n class=\"navigation-link mat-body-2 mat-body-strong navigation-level-{{level}}\" matRipple>\n <mat-icon *ngIf=\"item.icon\" [rxapIcon]=\"item.icon\" class=\"icon\"></mat-icon>\n <ng-template [ngIf]=\"!(sidenav.collapsed$ | async)\">\n <span class=\"label\">{{ item.label }}</span>\n </ng-template>\n</a>\n\n<ul rxap-navigation\n *ngIf=\"routerLinkActive.isActive && !(sidenav.collapsed$ | async) && children\"\n [@sub-nav]\n [items]=\"children\"\n [level]=\"level + 1\"\n class=\"sub-items\"\n fxFlex=\"nogrow\"\n>\n</ul>\n\n<ng-template #navigationOverlay>\n <div class=\"navigation-overlay-container mat-elevation-z1\"\n (mouseenter)=\"lockeOverlay = true\" (mouseleave)=\"lockeOverlay = false; onMouseleave()\">\n <ul>\n <li *ngFor=\"let child of children\">\n <a *ngIf=\"isNavigationItem(child)\" [routerLink]=\"asNavigationItem(child).routerLink\"\n class=\"navigation-link mat-subtitle-2 mat-body-strong\" matRipple>\n <mat-icon *ngIf=\"asNavigationItem(child).icon\" [rxapIcon]=\"asNavigationItem(child).icon\" class=\"icon\"></mat-icon>\n <span class=\"label\">{{ asNavigationItem(child).label }}</span>\n </a>\n </li>\n </ul>\n </div>\n</ng-template>\n", styles: [".rxap-navigation-item,.navigation-overlay-container{display:flex;flex-direction:column;min-height:48px}.rxap-navigation-item .navigation-link,.navigation-overlay-container .navigation-link{display:flex;flex-direction:row;align-items:center;text-decoration:none;height:48px}.rxap-navigation-item .navigation-link .icon,.navigation-overlay-container .navigation-link .icon{margin:0 16px}.rxap-navigation-item .navigation-link .label,.navigation-overlay-container .navigation-link .label{padding-right:12px}.rxap-navigation-item .navigation-link.navigation-level-1,.navigation-overlay-container .navigation-link.navigation-level-1{padding-left:52px}.rxap-navigation-item .navigation-link.navigation-level-1 .icon,.navigation-overlay-container .navigation-link.navigation-level-1 .icon{padding-left:0}.rxap-navigation-item .navigation-link.navigation-level-2,.navigation-overlay-container .navigation-link.navigation-level-2{padding-left:88px}.rxap-navigation-item .navigation-link.navigation-level-2 .icon,.navigation-overlay-container .navigation-link.navigation-level-2 .icon{padding-left:0}.navigation-overlay-container{padding:0 16px}.navigation-overlay-container ul{list-style-type:none;margin:0;padding:0}.navigation-overlay-container ul .navigation-link .label{padding-right:0}.navigation-overlay-container ul .navigation-link .icon{margin-left:0}\n"] }]
|
|
1337
|
+
}], function () { return [{ type: i2$1.Router, decorators: [{
|
|
1331
1338
|
type: Inject,
|
|
1332
1339
|
args: [Router]
|
|
1333
1340
|
}] }, { type: SidenavComponentService, decorators: [{
|
|
@@ -1339,7 +1346,7 @@ __decorate([
|
|
|
1339
1346
|
}] }, { type: i0.Renderer2, decorators: [{
|
|
1340
1347
|
type: Inject,
|
|
1341
1348
|
args: [Renderer2]
|
|
1342
|
-
}] }, { type:
|
|
1349
|
+
}] }, { type: i7.Overlay, decorators: [{
|
|
1343
1350
|
type: Inject,
|
|
1344
1351
|
args: [Overlay]
|
|
1345
1352
|
}] }, { type: i0.ViewContainerRef, decorators: [{
|
|
@@ -1366,7 +1373,7 @@ __decorate([
|
|
|
1366
1373
|
args: ['mouseleave']
|
|
1367
1374
|
}] }); })();
|
|
1368
1375
|
|
|
1369
|
-
const _c0$
|
|
1376
|
+
const _c0$1 = ["rxap-navigation", ""];
|
|
1370
1377
|
function NavigationComponent_ng_template_0_ng_template_0_div_1_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
1371
1378
|
i0.ɵɵelementStart(0, "span", 2);
|
|
1372
1379
|
i0.ɵɵtext(1);
|
|
@@ -1450,11 +1457,14 @@ class NavigationComponent {
|
|
|
1450
1457
|
static { this.ɵfac = function NavigationComponent_Factory(t) { return new (t || NavigationComponent)(i0.ɵɵdirectiveInject(NavigationService), i0.ɵɵdirectiveInject(ChangeDetectorRef), i0.ɵɵdirectiveInject(SidenavComponentService)); }; }
|
|
1451
1458
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationComponent, selectors: [["ul", "rxap-navigation", ""]], hostAttrs: [1, "rxap-navigation"], hostVars: 2, hostBindings: function NavigationComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
1452
1459
|
i0.ɵɵclassProp("rxap-root-navigation", ctx._root);
|
|
1453
|
-
} }, inputs: { root: "root", items: "items", level: "level" }, attrs: _c0$
|
|
1460
|
+
} }, inputs: { root: "root", items: "items", level: "level" }, standalone: true, features: [i0.ɵɵStandaloneFeature], attrs: _c0$1, decls: 1, vars: 1, consts: [["ngFor", "", 3, "ngForOf"], [3, "ngIf"], ["fxFlex", "nogrow"], ["class", "divider-title", "fxFlex", "nogrow", "fxLayout", "row", "fxLayoutAlign", "start end", 4, "ngIf"], ["fxFlex", "nogrow", "fxLayout", "row", "fxLayoutAlign", "start end", 1, "divider-title"], ["fxFlex", "nogrow", 4, "ngIf"], ["rxap-navigation-item", "", 1, "item", 3, "level", "item"]], template: function NavigationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1454
1461
|
i0.ɵɵtemplate(0, NavigationComponent_ng_template_0_Template, 2, 2, "ng-template", 0);
|
|
1455
1462
|
} if (rf & 2) {
|
|
1456
1463
|
i0.ɵɵproperty("ngForOf", ctx.items);
|
|
1457
|
-
} }, dependencies: [
|
|
1464
|
+
} }, dependencies: [NgFor,
|
|
1465
|
+
NgIf,
|
|
1466
|
+
MatDividerModule, i1$5.MatDivider, FlexModule, i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutAlignDirective, i1$3.DefaultFlexDirective, NavigationItemComponent,
|
|
1467
|
+
AsyncPipe], styles: [".rxap-navigation{list-style-type:none;padding:0}.rxap-navigation .divider-title{padding-left:18px;height:28px;align-content:center}\n"], encapsulation: 2, changeDetection: 0 }); }
|
|
1458
1468
|
}
|
|
1459
1469
|
__decorate([
|
|
1460
1470
|
Required,
|
|
@@ -1462,7 +1472,14 @@ __decorate([
|
|
|
1462
1472
|
], NavigationComponent.prototype, "items", void 0);
|
|
1463
1473
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigationComponent, [{
|
|
1464
1474
|
type: Component,
|
|
1465
|
-
args: [{ selector: 'ul[rxap-navigation]', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'rxap-navigation' },
|
|
1475
|
+
args: [{ selector: 'ul[rxap-navigation]', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'rxap-navigation' }, standalone: true, imports: [
|
|
1476
|
+
NgFor,
|
|
1477
|
+
NgIf,
|
|
1478
|
+
MatDividerModule,
|
|
1479
|
+
FlexModule,
|
|
1480
|
+
NavigationItemComponent,
|
|
1481
|
+
AsyncPipe
|
|
1482
|
+
], template: "<ng-template [ngForOf]=\"items\" let-item ngFor>\n <ng-template [ngIf]=\"isNavigationDividerItem(item)\">\n <mat-divider fxFlex=\"nogrow\"></mat-divider>\n <div *ngIf=\"!(sidenav.collapsed$ | async)\" class=\"divider-title\" fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"start end\">\n <span fxFlex=\"nogrow\" *ngIf=\"item.title\">{{item.title}}</span>\n </div>\n </ng-template>\n <ng-template [ngIf]=\"isNavigationItem(item)\">\n <li class=\"item\" rxap-navigation-item [level]=\"level\" [item]=\"asNavigationItem(item)\"></li>\n </ng-template>\n</ng-template>\n", styles: [".rxap-navigation{list-style-type:none;padding:0}.rxap-navigation .divider-title{padding-left:18px;height:28px;align-content:center}\n"] }]
|
|
1466
1483
|
}], function () { return [{ type: NavigationService, decorators: [{
|
|
1467
1484
|
type: Inject,
|
|
1468
1485
|
args: [NavigationService]
|
|
@@ -1521,7 +1538,7 @@ function SidenavComponent_ng_template_15_Template(rf, ctx) { if (rf & 1) {
|
|
|
1521
1538
|
i0.ɵɵadvance(2);
|
|
1522
1539
|
i0.ɵɵproperty("ngTemplateOutlet", (tmp_2_0 = ctx_r1.sidenavFooterDirective == null ? null : ctx_r1.sidenavFooterDirective.template) !== null && tmp_2_0 !== undefined ? tmp_2_0 : null);
|
|
1523
1540
|
} }
|
|
1524
|
-
const _c2
|
|
1541
|
+
const _c2 = function (a0) { return { "collapsed": a0 }; };
|
|
1525
1542
|
class SidenavComponent {
|
|
1526
1543
|
constructor(sidenav) {
|
|
1527
1544
|
this.sidenav = sidenav;
|
|
@@ -1534,7 +1551,7 @@ class SidenavComponent {
|
|
|
1534
1551
|
let _t;
|
|
1535
1552
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sidenavFooterDirective = _t.first);
|
|
1536
1553
|
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) {
|
|
1554
|
+
} }, hostAttrs: [1, "rxap-layout-sidenav"], standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 16, vars: 15, consts: function () { let i18n_0; if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
|
|
1538
1555
|
/**
|
|
1539
1556
|
* @suppress {msgDescriptions}
|
|
1540
1557
|
*/
|
|
@@ -1566,22 +1583,37 @@ class SidenavComponent {
|
|
|
1566
1583
|
i0.ɵɵelementEnd()();
|
|
1567
1584
|
} if (rf & 2) {
|
|
1568
1585
|
let tmp_4_0;
|
|
1569
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c2
|
|
1586
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c2, i0.ɵɵpipeBind1(1, 5, ctx.sidenav.collapsed$)));
|
|
1570
1587
|
i0.ɵɵadvance(3);
|
|
1571
1588
|
i0.ɵɵproperty("ngIf", ctx.sidenavHeaderDirective == null ? null : ctx.sidenavHeaderDirective.template);
|
|
1572
1589
|
i0.ɵɵadvance(4);
|
|
1573
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c2
|
|
1590
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c2, i0.ɵɵpipeBind1(8, 7, ctx.sidenav.collapsed$)));
|
|
1574
1591
|
i0.ɵɵadvance(5);
|
|
1575
1592
|
i0.ɵɵproperty("fxHide", i0.ɵɵpipeBind1(14, 9, ctx.sidenav.collapsed$));
|
|
1576
1593
|
i0.ɵɵadvance(3);
|
|
1577
1594
|
i0.ɵɵproperty("ngIf", (tmp_4_0 = ctx.sidenavFooterDirective == null ? null : ctx.sidenavFooterDirective.template) !== null && tmp_4_0 !== undefined ? tmp_4_0 : null);
|
|
1578
|
-
} }, dependencies: [
|
|
1595
|
+
} }, dependencies: [ExtendedModule, i2$4.DefaultShowHideDirective, i2$4.DefaultClassDirective, NgClass,
|
|
1596
|
+
FlexModule, i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutGapDirective, i1$3.DefaultLayoutAlignDirective, i1$3.DefaultFlexDirective, NgIf,
|
|
1597
|
+
NgTemplateOutlet,
|
|
1598
|
+
MatDividerModule, i1$5.MatDivider, NavigationComponent,
|
|
1599
|
+
MatButtonModule, i1$2.MatButton, MatIconModule, i2$2.MatIcon, AsyncPipe], styles: [".container[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%]{height:100%}.container[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{padding-bottom:12px}.container[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%]{padding-top:12px}.container[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%] .nav-container[_ngcontent-%COMP%]{overflow-y:scroll;padding-top:12px}.container[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%] .nav-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:6px}.container[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%] .nav-container[_ngcontent-%COMP%]::-webkit-scrollbar-track{border-radius:2px}.container[_ngcontent-%COMP%] .inner[_ngcontent-%COMP%] .nav-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:10px}.container[_ngcontent-%COMP%] .sidebar-toggle[_ngcontent-%COMP%]{min-height:48px}.container[_ngcontent-%COMP%] .sidebar-toggle[_ngcontent-%COMP%] .sidebar-toggle-inner[_ngcontent-%COMP%]{padding:0}.container[_ngcontent-%COMP%] .sidebar-toggle[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]{transform:rotate(180deg)}.container[_ngcontent-%COMP%] .sidebar-toggle.collapsed[_ngcontent-%COMP%] .arrow[_ngcontent-%COMP%]{transform:initial}.container[_ngcontent-%COMP%] .sidebar-toggle.collapsed[_ngcontent-%COMP%] .sidebar-toggle-inner[_ngcontent-%COMP%]{justify-content:space-around!important}"], changeDetection: 0 }); }
|
|
1579
1600
|
}
|
|
1580
1601
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidenavComponent, [{
|
|
1581
1602
|
type: Component,
|
|
1582
1603
|
args: [{ selector: 'rxap-sidenav', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
1583
1604
|
class: 'rxap-layout-sidenav'
|
|
1584
|
-
},
|
|
1605
|
+
}, standalone: true, imports: [
|
|
1606
|
+
ExtendedModule,
|
|
1607
|
+
NgClass,
|
|
1608
|
+
FlexModule,
|
|
1609
|
+
NgIf,
|
|
1610
|
+
NgTemplateOutlet,
|
|
1611
|
+
MatDividerModule,
|
|
1612
|
+
NavigationComponent,
|
|
1613
|
+
MatButtonModule,
|
|
1614
|
+
MatIconModule,
|
|
1615
|
+
AsyncPipe
|
|
1616
|
+
], 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
1617
|
}], function () { return [{ type: SidenavComponentService }]; }, { sidenavFooterDirective: [{
|
|
1586
1618
|
type: ContentChild,
|
|
1587
1619
|
args: [SidenavFooterDirective]
|
|
@@ -1590,180 +1622,6 @@ class SidenavComponent {
|
|
|
1590
1622
|
args: [SidenavHeaderDirective]
|
|
1591
1623
|
}] }); })();
|
|
1592
1624
|
|
|
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 }); }
|
|
1713
|
-
}
|
|
1714
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WindowContainerSidenavComponent, [{
|
|
1715
|
-
type: Component,
|
|
1716
|
-
args: [{ selector: 'rxap-window-container-sidenav', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div fxLayout=\"column\" fxLayoutGap=\"16px\" class=\"container\">\n\n <div fxFlex=\"nogrow\" *ngFor=\"let portalId of portals.keys(); trackBy: trackBy\">\n <ng-template [cdkPortalOutlet]=\"portals.get(portalId)\"></ng-template>\n </div>\n\n</div>\n", styles: [".container{padding:8px}\n"] }]
|
|
1717
|
-
}], function () { return [{ type: i1.WindowContainerSidenavService, decorators: [{
|
|
1718
|
-
type: Inject,
|
|
1719
|
-
args: [WindowContainerSidenavService]
|
|
1720
|
-
}] }]; }, null); })();
|
|
1721
|
-
|
|
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
1625
|
const _c0 = function () { return ["/"]; };
|
|
1768
1626
|
function LayoutComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
1769
1627
|
i0.ɵɵelement(0, "img", 9);
|
|
@@ -1783,7 +1641,7 @@ class LayoutComponent {
|
|
|
1783
1641
|
} if (rf & 2) {
|
|
1784
1642
|
let _t;
|
|
1785
1643
|
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) {
|
|
1644
|
+
} }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c1, decls: 18, vars: 24, consts: [[1, "header", 3, "sidenav"], ["autosize", "", 1, "container"], [1, "sidenav", 3, "fixedBottomGap", "fixedInViewport", "fixedTopGap", "mode", "opened"], ["rxapSidenavHeader", ""], [1, "content"], [3, "sidenav"], [3, "openWindowSidenav", "openWindowSidenavChange"], ["mode", "side", "position", "end", 1, "window-container-sidenav", 3, "fixedBottomGap", "fixedInViewport", "fixedTopGap", "opened"], [1, "footer"], ["alt", "logo", 1, "logo", 3, "routerLink", "width", "src"]], template: function LayoutComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1787
1645
|
i0.ɵɵprojectionDef();
|
|
1788
1646
|
i0.ɵɵelement(0, "rxap-header", 0);
|
|
1789
1647
|
i0.ɵɵelementStart(1, "mat-sidenav-container", 1)(2, "mat-sidenav", 2);
|
|
@@ -1817,204 +1675,35 @@ class LayoutComponent {
|
|
|
1817
1675
|
i0.ɵɵproperty("openWindowSidenav", ctx.openWindowSidenav);
|
|
1818
1676
|
i0.ɵɵadvance(1);
|
|
1819
1677
|
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: [
|
|
1678
|
+
} }, dependencies: [HeaderComponent,
|
|
1679
|
+
MatSidenavModule, i2$7.MatSidenav, i2$7.MatSidenavContainer, i2$7.MatSidenavContent, SidenavComponent,
|
|
1680
|
+
SidenavHeaderDirective,
|
|
1681
|
+
RouterLink,
|
|
1682
|
+
SidenavContentComponent,
|
|
1683
|
+
ToggleWindowSidenavButtonComponent,
|
|
1684
|
+
WindowContainerSidenavComponent,
|
|
1685
|
+
FooterComponent,
|
|
1686
|
+
AsyncPipe], styles: [".container[_ngcontent-%COMP%], .content[_ngcontent-%COMP%]{height:100%}.sidenav[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:auto}.sidenav[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{padding:16px}.footer[_ngcontent-%COMP%]{position:fixed;bottom:0;left:0;right:0;z-index:100}.header[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;z-index:100}"], changeDetection: 0 }); }
|
|
1821
1687
|
}
|
|
1822
1688
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LayoutComponent, [{
|
|
1823
1689
|
type: Component,
|
|
1824
|
-
args: [{ selector: 'rxap-layout', changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1690
|
+
args: [{ selector: 'rxap-layout', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
1691
|
+
HeaderComponent,
|
|
1692
|
+
MatSidenavModule,
|
|
1693
|
+
SidenavComponent,
|
|
1694
|
+
SidenavHeaderDirective,
|
|
1695
|
+
RouterLink,
|
|
1696
|
+
SidenavContentComponent,
|
|
1697
|
+
ToggleWindowSidenavButtonComponent,
|
|
1698
|
+
WindowContainerSidenavComponent,
|
|
1699
|
+
FooterComponent,
|
|
1700
|
+
AsyncPipe
|
|
1701
|
+
], template: "<rxap-header [sidenav]=\"sidenav\" class=\"header\"></rxap-header>\n<mat-sidenav-container autosize class=\"container\">\n <mat-sidenav\n [fixedBottomGap]=\"layoutComponentService.fixedBottomGap$ | async\"\n [fixedInViewport]=\"true\"\n [fixedTopGap]=\"layoutComponentService.fixedTopGap$ | async\"\n [mode]=\"(layoutComponentService.mode$ | async) ?? 'side'\"\n [opened]=\"(layoutComponentService.opened$ | async) ?? true\"\n class=\"sidenav\"\n >\n <rxap-sidenav>\n <ng-template rxapSidenavHeader>\n <img\n [routerLink]=\"['/']\"\n alt=\"logo\"\n class=\"logo\"\n [width]=\"layoutComponentService.logo.width\"\n [src]=\"layoutComponentService.logo.src\"\n />\n </ng-template>\n </rxap-sidenav>\n </mat-sidenav>\n <mat-sidenav-content class=\"content\">\n <rxap-sidenav-content [sidenav]=\"sidenav\">\n <ng-content></ng-content>\n <rxap-toggle-window-sidenav-button [(openWindowSidenav)]=\"openWindowSidenav\"></rxap-toggle-window-sidenav-button>\n </rxap-sidenav-content>\n </mat-sidenav-content>\n <mat-sidenav\n [fixedBottomGap]=\"layoutComponentService.fixedBottomGap$ | async\"\n [fixedInViewport]=\"true\"\n [fixedTopGap]=\"layoutComponentService.fixedTopGap$ | async\"\n [opened]=\"openWindowSidenav\"\n mode=\"side\"\n class=\"window-container-sidenav\"\n position=\"end\"\n >\n <rxap-window-container-sidenav></rxap-window-container-sidenav>\n </mat-sidenav>\n</mat-sidenav-container>\n<rxap-footer class=\"footer\"></rxap-footer>\n", styles: [".container,.content{height:100%}.sidenav{display:flex;align-items:center;justify-content:center;width:auto}.sidenav .logo{padding:16px}.footer{position:fixed;bottom:0;left:0;right:0;z-index:100}.header{position:fixed;top:0;left:0;right:0;z-index:100}\n"] }]
|
|
1825
1702
|
}], function () { return [{ type: LayoutComponentService }]; }, { sidenav: [{
|
|
1826
1703
|
type: ViewChild,
|
|
1827
1704
|
args: [MatSidenav, { static: true }]
|
|
1828
1705
|
}] }); })();
|
|
1829
1706
|
|
|
1830
|
-
class ReplaceRouterPathsService {
|
|
1831
|
-
transform(routerLink) {
|
|
1832
|
-
return of(routerLink);
|
|
1833
|
-
}
|
|
1834
|
-
static { this.ɵfac = function ReplaceRouterPathsService_Factory(t) { return new (t || ReplaceRouterPathsService)(); }; }
|
|
1835
|
-
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ReplaceRouterPathsService, factory: ReplaceRouterPathsService.ɵfac, providedIn: 'root' }); }
|
|
1836
|
-
}
|
|
1837
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReplaceRouterPathsService, [{
|
|
1838
|
-
type: Injectable,
|
|
1839
|
-
args: [{ providedIn: 'root' }]
|
|
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] }); })();
|
|
2017
|
-
|
|
2018
1707
|
class LayoutModule {
|
|
2019
1708
|
static withNavigation(navigation) {
|
|
2020
1709
|
return {
|
|
@@ -2029,46 +1718,30 @@ class LayoutModule {
|
|
|
2029
1718
|
}
|
|
2030
1719
|
static { this.ɵfac = function LayoutModule_Factory(t) { return new (t || LayoutModule)(); }; }
|
|
2031
1720
|
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: LayoutModule }); }
|
|
2032
|
-
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
|
|
2033
|
-
FooterModule,
|
|
2034
|
-
HeaderModule,
|
|
2035
|
-
CommonModule,
|
|
2036
|
-
SidenavModule,
|
|
2037
|
-
SidenavContentModule,
|
|
2038
|
-
WindowContainerSidenavModule,
|
|
2039
|
-
ToggleWindowSidenavButtonModule,
|
|
2040
|
-
FlexLayoutModule,
|
|
2041
|
-
RouterModule] }); }
|
|
1721
|
+
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [LayoutComponent] }); }
|
|
2042
1722
|
}
|
|
2043
1723
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LayoutModule, [{
|
|
2044
1724
|
type: NgModule,
|
|
2045
1725
|
args: [{
|
|
2046
|
-
declarations: [LayoutComponent],
|
|
2047
1726
|
imports: [
|
|
2048
|
-
|
|
2049
|
-
FooterModule,
|
|
2050
|
-
HeaderModule,
|
|
2051
|
-
CommonModule,
|
|
2052
|
-
SidenavModule,
|
|
2053
|
-
SidenavContentModule,
|
|
2054
|
-
WindowContainerSidenavModule,
|
|
2055
|
-
ToggleWindowSidenavButtonModule,
|
|
2056
|
-
FlexLayoutModule,
|
|
2057
|
-
RouterModule
|
|
1727
|
+
LayoutComponent
|
|
2058
1728
|
],
|
|
2059
1729
|
exports: [LayoutComponent]
|
|
2060
1730
|
}]
|
|
2061
1731
|
}], null, null); })();
|
|
2062
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(LayoutModule, {
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
1732
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(LayoutModule, { imports: [LayoutComponent], exports: [LayoutComponent] }); })();
|
|
1733
|
+
|
|
1734
|
+
class ReplaceRouterPathsService {
|
|
1735
|
+
transform(routerLink) {
|
|
1736
|
+
return of(routerLink);
|
|
1737
|
+
}
|
|
1738
|
+
static { this.ɵfac = function ReplaceRouterPathsService_Factory(t) { return new (t || ReplaceRouterPathsService)(); }; }
|
|
1739
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ReplaceRouterPathsService, factory: ReplaceRouterPathsService.ɵfac, providedIn: 'root' }); }
|
|
1740
|
+
}
|
|
1741
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReplaceRouterPathsService, [{
|
|
1742
|
+
type: Injectable,
|
|
1743
|
+
args: [{ providedIn: 'root' }]
|
|
1744
|
+
}], null, null); })();
|
|
2072
1745
|
|
|
2073
1746
|
function VersionComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
2074
1747
|
i0.ɵɵelementStart(0, "div", 2)(1, "span", 3);
|
|
@@ -2101,7 +1774,7 @@ class VersionComponent {
|
|
|
2101
1774
|
this.subscription?.unsubscribe();
|
|
2102
1775
|
}
|
|
2103
1776
|
static { this.ɵfac = function VersionComponent_Factory(t) { return new (t || VersionComponent)(i0.ɵɵdirectiveInject(VersionService)); }; }
|
|
2104
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: VersionComponent, selectors: [["rxap-version"]], decls: 3, vars: 3, consts: [["fxFlex", "nogrow", "fxLayout", "column", "fxLayoutAlign", "start start", "fxLayoutGap", "8px", 1, "version"], ["fxFlex", "nogrow", "fxLayout", "column", 4, "ngFor", "ngForOf"], ["fxFlex", "nogrow", "fxLayout", "column"], ["fxFlex", "nogrow", 1, "name"], ["fxFlex", "nogrow", 1, "semantic"], ["fxFlex", "nogrow", 1, "hash"]], template: function VersionComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1777
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: VersionComponent, selectors: [["rxap-version"]], standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 3, vars: 3, consts: [["fxFlex", "nogrow", "fxLayout", "column", "fxLayoutAlign", "start start", "fxLayoutGap", "8px", 1, "version"], ["fxFlex", "nogrow", "fxLayout", "column", 4, "ngFor", "ngForOf"], ["fxFlex", "nogrow", "fxLayout", "column"], ["fxFlex", "nogrow", 1, "name"], ["fxFlex", "nogrow", 1, "semantic"], ["fxFlex", "nogrow", 1, "hash"]], template: function VersionComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2105
1778
|
i0.ɵɵelementStart(0, "div", 0);
|
|
2106
1779
|
i0.ɵɵtemplate(1, VersionComponent_div_1_Template, 7, 3, "div", 1);
|
|
2107
1780
|
i0.ɵɵpipe(2, "keyvalue");
|
|
@@ -2109,7 +1782,7 @@ class VersionComponent {
|
|
|
2109
1782
|
} if (rf & 2) {
|
|
2110
1783
|
i0.ɵɵadvance(1);
|
|
2111
1784
|
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(2, 1, ctx.modules));
|
|
2112
|
-
} }, dependencies: [i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutGapDirective, i1$3.DefaultLayoutAlignDirective, i1$3.DefaultFlexDirective,
|
|
1785
|
+
} }, dependencies: [FlexModule, i1$3.DefaultLayoutDirective, i1$3.DefaultLayoutGapDirective, i1$3.DefaultLayoutAlignDirective, i1$3.DefaultFlexDirective, NgFor, KeyValuePipe], styles: [".version[_ngcontent-%COMP%]{width:100%;font-size:9px;padding:8px}.version[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{padding-bottom:12px;font-size:10px}"], changeDetection: 0 }); }
|
|
2113
1786
|
}
|
|
2114
1787
|
__decorate([
|
|
2115
1788
|
Required,
|
|
@@ -2117,32 +1790,12 @@ __decorate([
|
|
|
2117
1790
|
], VersionComponent.prototype, "modules", void 0);
|
|
2118
1791
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(VersionComponent, [{
|
|
2119
1792
|
type: Component,
|
|
2120
|
-
args: [{ selector: 'rxap-version', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"version\" fxFlex=\"nogrow\" fxLayout=\"column\" fxLayoutAlign=\"start start\" fxLayoutGap=\"8px\">\n <div *ngFor=\"let module of modules | keyvalue\" fxFlex=\"nogrow\" fxLayout=\"column\">\n <span class=\"name\" fxFlex=\"nogrow\">{{module.value.name}}</span>\n <span class=\"semantic\" fxFlex=\"nogrow\">{{module.value.semantic}}</span>\n <span class=\"hash\" fxFlex=\"nogrow\">{{module.value.hash}}</span>\n </div>\n</div>\n", styles: [".version{width:100%;font-size:9px;padding:8px}.version .name{padding-bottom:12px;font-size:10px}\n"] }]
|
|
1793
|
+
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"] }]
|
|
2121
1794
|
}], function () { return [{ type: i1.VersionService, decorators: [{
|
|
2122
1795
|
type: Inject,
|
|
2123
1796
|
args: [VersionService]
|
|
2124
1797
|
}] }]; }, { modules: [] }); })();
|
|
2125
1798
|
|
|
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] }); })();
|
|
2145
|
-
|
|
2146
1799
|
class FooterDirective {
|
|
2147
1800
|
constructor(footerService, template, viewContainerRef) {
|
|
2148
1801
|
this.footerService = footerService;
|
|
@@ -2159,12 +1812,13 @@ class FooterDirective {
|
|
|
2159
1812
|
}
|
|
2160
1813
|
}
|
|
2161
1814
|
static { this.ɵfac = function FooterDirective_Factory(t) { return new (t || FooterDirective)(i0.ɵɵdirectiveInject(FooterService), i0.ɵɵdirectiveInject(TemplateRef), i0.ɵɵdirectiveInject(ViewContainerRef)); }; }
|
|
2162
|
-
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: FooterDirective, selectors: [["", "rxapFooter", ""]] }); }
|
|
1815
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: FooterDirective, selectors: [["", "rxapFooter", ""]], standalone: true }); }
|
|
2163
1816
|
}
|
|
2164
1817
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FooterDirective, [{
|
|
2165
1818
|
type: Directive,
|
|
2166
1819
|
args: [{
|
|
2167
1820
|
selector: '[rxapFooter]',
|
|
1821
|
+
standalone: true
|
|
2168
1822
|
}]
|
|
2169
1823
|
}], function () { return [{ type: i1.FooterService, decorators: [{
|
|
2170
1824
|
type: Inject,
|
|
@@ -2176,23 +1830,10 @@ class FooterDirective {
|
|
|
2176
1830
|
type: Inject,
|
|
2177
1831
|
args: [ViewContainerRef]
|
|
2178
1832
|
}] }]; }, 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({}); }
|
|
2183
|
-
}
|
|
2184
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FooterDirectiveModule, [{
|
|
2185
|
-
type: NgModule,
|
|
2186
|
-
args: [{
|
|
2187
|
-
declarations: [FooterDirective],
|
|
2188
|
-
exports: [FooterDirective],
|
|
2189
|
-
}]
|
|
2190
|
-
}], null, null); })();
|
|
2191
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(FooterDirectiveModule, { declarations: [FooterDirective], exports: [FooterDirective] }); })();
|
|
2192
1833
|
|
|
2193
1834
|
/**
|
|
2194
1835
|
* Generated bundle index. Do not edit.
|
|
2195
1836
|
*/
|
|
2196
1837
|
|
|
2197
|
-
export { AppsButtonComponent,
|
|
1838
|
+
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
1839
|
//# sourceMappingURL=rxap-layout.mjs.map
|