@rxap/layout 16.0.0-dev.1 → 16.0.0-dev.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +334 -0
- package/README.md +7 -22
- package/esm2022/index.mjs +1 -15
- package/esm2022/lib/footer/footer.component.mjs +13 -42
- package/esm2022/lib/footer.directive.mjs +21 -35
- package/esm2022/lib/header/apps-button/apps-button.component.mjs +37 -79
- package/esm2022/lib/header/header.component.mjs +66 -103
- package/esm2022/lib/header/language-selector/language-selector.component.mjs +37 -56
- package/esm2022/lib/header/navigation-progress-bar/navigation-progress-bar.component.mjs +18 -26
- package/esm2022/lib/header/reset-button/reset-button.component.mjs +16 -21
- package/esm2022/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.mjs +16 -36
- package/esm2022/lib/header/sign-out/sign-out.component.mjs +17 -22
- package/esm2022/lib/header/user-profile-icon/user-profile-icon.component.mjs +29 -99
- package/esm2022/lib/layout/layout.component.mjs +33 -70
- package/esm2022/lib/layout/layout.component.module.mjs +18 -58
- package/esm2022/lib/layout/layout.component.service.mjs +21 -22
- package/esm2022/lib/navigation/navigation-item/navigation-item.component.mjs +111 -178
- package/esm2022/lib/navigation/navigation-item.mjs +4 -4
- package/esm2022/lib/navigation/navigation.component.mjs +43 -86
- package/esm2022/lib/navigation/navigation.service.mjs +28 -27
- package/esm2022/lib/navigation/replace-router-paths.service.mjs +9 -10
- package/esm2022/lib/sidenav/sidenav-footer.directive.mjs +15 -15
- package/esm2022/lib/sidenav/sidenav-header.directive.mjs +15 -15
- package/esm2022/lib/sidenav/sidenav.component.mjs +40 -112
- package/esm2022/lib/sidenav/sidenav.component.service.mjs +8 -9
- package/esm2022/lib/sidenav/version/version.component.mjs +17 -44
- package/esm2022/lib/sidenav-content/sidenav-content.component.mjs +13 -32
- package/esm2022/lib/sidenav-content/sidenav-content.component.service.mjs +19 -20
- package/esm2022/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.mjs +19 -40
- package/esm2022/lib/tokens.mjs +1 -1
- package/esm2022/lib/types.mjs +1 -1
- package/esm2022/lib/window-container-sidenav/window-container-sidenav.component.mjs +18 -36
- package/esm2022/rxap-layout.mjs +1 -1
- package/fesm2022/rxap-layout.mjs +608 -1662
- package/fesm2022/rxap-layout.mjs.map +1 -1
- package/index.d.ts +0 -14
- package/lib/footer/footer.component.d.ts +1 -1
- package/lib/footer.directive.d.ts +2 -7
- package/lib/header/apps-button/apps-button.component.d.ts +1 -1
- package/lib/header/header.component.d.ts +4 -4
- package/lib/header/language-selector/language-selector.component.d.ts +1 -1
- package/lib/header/navigation-progress-bar/navigation-progress-bar.component.d.ts +1 -1
- package/lib/header/reset-button/reset-button.component.d.ts +1 -1
- package/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.d.ts +1 -1
- package/lib/header/sign-out/sign-out.component.d.ts +1 -1
- package/lib/header/user-profile-icon/user-profile-icon.component.d.ts +1 -1
- package/lib/layout/layout.component.d.ts +1 -1
- package/lib/layout/layout.component.module.d.ts +1 -11
- package/lib/navigation/navigation-item/navigation-item.component.d.ts +4 -4
- package/lib/navigation/navigation-item.d.ts +1 -1
- package/lib/navigation/navigation.component.d.ts +3 -3
- package/lib/navigation/navigation.service.d.ts +1 -1
- package/lib/sidenav/sidenav-footer.directive.d.ts +1 -1
- package/lib/sidenav/sidenav-header.directive.d.ts +1 -1
- package/lib/sidenav/sidenav.component.d.ts +1 -1
- package/lib/sidenav/version/version.component.d.ts +3 -3
- package/lib/sidenav-content/sidenav-content.component.d.ts +2 -4
- package/lib/sidenav-content/sidenav-content.component.service.d.ts +1 -1
- package/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.d.ts +3 -5
- package/lib/window-container-sidenav/window-container-sidenav.component.d.ts +2 -2
- package/package.json +73 -66
- package/src/lib/header/apps-button/_apps-button.component.theme.scss +45 -0
- package/src/lib/navigation/_navigation.component.theme.scss +33 -0
- package/src/lib/navigation/navigation-item/_navigation-item.component.theme.scss +45 -0
- package/src/lib/sidenav/_sidenav.component.theme.scss +65 -0
- package/src/lib/toggle-window-sidenav-button/_toggle-window-sidenav-button.component.theme.scss +15 -0
- package/LICENSE +0 -21
- package/collection.json +0 -10
- package/esm2022/lib/footer/footer.component.module.mjs +0 -30
- package/esm2022/lib/header/apps-button/apps-button.component.module.mjs +0 -46
- package/esm2022/lib/header/header.component.module.mjs +0 -70
- package/esm2022/lib/header/language-selector/language-selector.component.module.mjs +0 -30
- package/esm2022/lib/header/navigation-progress-bar/navigation-progress-bar.component.module.mjs +0 -26
- package/esm2022/lib/header/reset-button/reset-button.component.module.mjs +0 -26
- package/esm2022/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.module.mjs +0 -30
- package/esm2022/lib/header/sign-out/sign-out.component.module.mjs +0 -30
- package/esm2022/lib/header/user-profile-icon/user-profile-icon.component.module.mjs +0 -38
- package/esm2022/lib/navigation/navigation.component.module.mjs +0 -71
- package/esm2022/lib/navigation/replace-router-paths.pipe.mjs +0 -36
- package/esm2022/lib/sidenav/sidenav.component.module.mjs +0 -44
- package/esm2022/lib/sidenav/version/version.component.module.mjs +0 -26
- package/esm2022/lib/sidenav-content/sidenav-content.component.module.mjs +0 -26
- package/esm2022/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.module.mjs +0 -30
- package/esm2022/lib/window-container-sidenav/window-container-sidenav.component.module.mjs +0 -30
- package/lib/footer/footer.component.module.d.ts +0 -10
- package/lib/header/apps-button/apps-button.component.module.d.ts +0 -14
- package/lib/header/header.component.module.d.ts +0 -20
- package/lib/header/language-selector/language-selector.component.module.d.ts +0 -10
- package/lib/header/navigation-progress-bar/navigation-progress-bar.component.module.d.ts +0 -9
- package/lib/header/reset-button/reset-button.component.module.d.ts +0 -9
- package/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.module.d.ts +0 -10
- package/lib/header/sign-out/sign-out.component.module.d.ts +0 -10
- package/lib/header/user-profile-icon/user-profile-icon.component.module.d.ts +0 -12
- package/lib/navigation/navigation.component.module.d.ts +0 -19
- package/lib/navigation/replace-router-paths.pipe.d.ts +0 -16
- package/lib/sidenav/sidenav.component.module.d.ts +0 -15
- package/lib/sidenav/version/version.component.module.d.ts +0 -9
- package/lib/sidenav-content/sidenav-content.component.module.d.ts +0 -9
- package/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.module.d.ts +0 -10
- package/lib/window-container-sidenav/window-container-sidenav.component.module.d.ts +0 -10
- package/migration.json +0 -4
- package/src/schematics/ng-add/index.d.ts +0 -2
- package/src/schematics/ng-add/index.js +0 -8
- package/src/schematics/ng-add/index.js.map +0 -1
- package/src/schematics/ng-add/schema.json +0 -7
|
@@ -1,67 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Inject, Optional, } from '@angular/core';
|
|
2
2
|
import { RXAP_LAYOUT_APPS_GRID } from '../../tokens';
|
|
3
3
|
import { ConfigService } from '@rxap/config';
|
|
4
|
+
import { FlexModule } from '@angular/flex-layout/flex';
|
|
5
|
+
import { ExtendedModule } from '@angular/flex-layout/extended';
|
|
6
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
7
|
+
import { CdkConnectedOverlay, CdkOverlayOrigin, } from '@angular/cdk/overlay';
|
|
8
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
9
|
+
import { NgClass, NgFor, NgIf, NgStyle, } from '@angular/common';
|
|
4
10
|
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/material/
|
|
11
|
+
import * as i1 from "@angular/material/button";
|
|
6
12
|
import * as i2 from "@angular/material/icon";
|
|
7
|
-
import * as i3 from "@angular/
|
|
13
|
+
import * as i3 from "@angular/flex-layout/extended";
|
|
8
14
|
import * as i4 from "@angular/flex-layout/flex";
|
|
9
|
-
import * as i5 from "@
|
|
10
|
-
|
|
11
|
-
import * as i7 from "@rxap/config";
|
|
12
|
-
function AppsButtonComponent_ng_template_0_ng_template_4_li_2_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
13
|
-
i0.ɵɵelementStart(0, "a", 9)(1, "span", 10);
|
|
14
|
-
i0.ɵɵelement(2, "img", 11);
|
|
15
|
-
i0.ɵɵelementStart(3, "span");
|
|
16
|
-
i0.ɵɵtext(4);
|
|
17
|
-
i0.ɵɵelementEnd()()();
|
|
18
|
-
} if (rf & 2) {
|
|
19
|
-
const item_r4 = i0.ɵɵnextContext().$implicit;
|
|
20
|
-
i0.ɵɵproperty("href", item_r4.href, i0.ɵɵsanitizeUrl);
|
|
21
|
-
i0.ɵɵadvance(2);
|
|
22
|
-
i0.ɵɵproperty("src", item_r4.image, i0.ɵɵsanitizeUrl);
|
|
23
|
-
i0.ɵɵadvance(2);
|
|
24
|
-
i0.ɵɵtextInterpolate(item_r4.label);
|
|
25
|
-
} }
|
|
26
|
-
const _c0 = function (a0) { return { empty: a0 }; };
|
|
27
|
-
function AppsButtonComponent_ng_template_0_ng_template_4_li_2_Template(rf, ctx) { if (rf & 1) {
|
|
28
|
-
i0.ɵɵelementStart(0, "li", 7);
|
|
29
|
-
i0.ɵɵtemplate(1, AppsButtonComponent_ng_template_0_ng_template_4_li_2_a_1_Template, 5, 3, "a", 8);
|
|
30
|
-
i0.ɵɵelementEnd();
|
|
31
|
-
} if (rf & 2) {
|
|
32
|
-
const item_r4 = ctx.$implicit;
|
|
33
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0, item_r4.empty));
|
|
34
|
-
i0.ɵɵadvance(1);
|
|
35
|
-
i0.ɵɵproperty("ngIf", !item_r4.empty);
|
|
36
|
-
} }
|
|
37
|
-
const _c1 = function (a0) { return { columns: a0 }; };
|
|
38
|
-
function AppsButtonComponent_ng_template_0_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
39
|
-
i0.ɵɵelementStart(0, "div", 4)(1, "ul", 5);
|
|
40
|
-
i0.ɵɵtemplate(2, AppsButtonComponent_ng_template_0_ng_template_4_li_2_Template, 2, 4, "li", 6);
|
|
41
|
-
i0.ɵɵelementEnd()();
|
|
42
|
-
} if (rf & 2) {
|
|
43
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
44
|
-
i0.ɵɵadvance(1);
|
|
45
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2, _c1, ctx_r2.columns));
|
|
46
|
-
i0.ɵɵadvance(1);
|
|
47
|
-
i0.ɵɵproperty("ngForOf", ctx_r2.gridWithPadding);
|
|
48
|
-
} }
|
|
49
|
-
function AppsButtonComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
50
|
-
const _r8 = i0.ɵɵgetCurrentView();
|
|
51
|
-
i0.ɵɵelementStart(0, "button", 1, 2);
|
|
52
|
-
i0.ɵɵlistener("click", function AppsButtonComponent_ng_template_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r7.isOpen = !ctx_r7.isOpen); });
|
|
53
|
-
i0.ɵɵelementStart(2, "mat-icon");
|
|
54
|
-
i0.ɵɵtext(3, "apps");
|
|
55
|
-
i0.ɵɵelementEnd()();
|
|
56
|
-
i0.ɵɵtemplate(4, AppsButtonComponent_ng_template_0_ng_template_4_Template, 3, 4, "ng-template", 3);
|
|
57
|
-
i0.ɵɵlistener("overlayOutsideClick", function AppsButtonComponent_ng_template_0_Template_ng_template_overlayOutsideClick_4_listener() { i0.ɵɵrestoreView(_r8); const ctx_r9 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r9.isOpen = false); });
|
|
58
|
-
} if (rf & 2) {
|
|
59
|
-
const _r1 = i0.ɵɵreference(1);
|
|
60
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
61
|
-
i0.ɵɵadvance(4);
|
|
62
|
-
i0.ɵɵproperty("cdkConnectedOverlayOpen", ctx_r0.isOpen)("cdkConnectedOverlayOrigin", _r1);
|
|
63
|
-
} }
|
|
64
|
-
class AppsButtonComponent {
|
|
15
|
+
import * as i5 from "@rxap/config";
|
|
16
|
+
export class AppsButtonComponent {
|
|
65
17
|
get gridWithPadding() {
|
|
66
18
|
const gridWithPadding = this.grid.slice();
|
|
67
19
|
while (gridWithPadding.length % this.columns !== 0) {
|
|
@@ -84,24 +36,30 @@ class AppsButtonComponent {
|
|
|
84
36
|
this.grid = [];
|
|
85
37
|
this.grid = grid ?? this.config.get('navigation.apps') ?? [];
|
|
86
38
|
}
|
|
87
|
-
static { this.ɵfac =
|
|
88
|
-
static { this.ɵcmp =
|
|
89
|
-
i0.ɵɵtemplate(0, AppsButtonComponent_ng_template_0_Template, 5, 2, "ng-template", 0);
|
|
90
|
-
} if (rf & 2) {
|
|
91
|
-
i0.ɵɵproperty("ngIf", ctx.grid && ctx.grid.length);
|
|
92
|
-
} }, dependencies: [i1.MatLegacyButton, i2.MatIcon, i3.CdkConnectedOverlay, i3.CdkOverlayOrigin, i4.DefaultLayoutDirective, i4.DefaultLayoutGapDirective, i4.DefaultLayoutAlignDirective, i5.DefaultClassDirective, i5.DefaultStyleDirective, i6.NgClass, i6.NgForOf, i6.NgIf, i6.NgStyle], styles: [".grid-container[_ngcontent-%COMP%]{padding:8px;border:1px solid rgba(0,0,0,.2);border-radius:8px;box-shadow:0 1px 2px #3c40434d,0 2px 6px 2px #3c404326}.grid[_ngcontent-%COMP%]{list-style-type:none;margin:0;padding:0}.grid[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{border-radius:8px;padding:6px;height:84px;width:84px;transition-delay:0s;transition-duration:.2s;transition-property:tramsform;transition-timing-function:cubic-bezier(.333,0,0,1);position:relative}.grid[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{position:absolute;inset:6px;text-align:center;text-decoration:none;color:#000}"], changeDetection: 0 }); }
|
|
39
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AppsButtonComponent, deps: [{ token: RXAP_LAYOUT_APPS_GRID, optional: true }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
40
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: AppsButtonComponent, isStandalone: true, selector: "rxap-apps-button", host: { classAttribute: "rxap-apps-button" }, ngImport: i0, template: "<ng-template [ngIf]=\"grid && grid.length\">\n <button #trigger=\"cdkOverlayOrigin\" (click)=\"isOpen = !isOpen\" cdkOverlayOrigin mat-icon-button>\n <mat-icon>apps</mat-icon>\n </button>\n\n <ng-template (overlayOutsideClick)=\"isOpen = false\"\n [cdkConnectedOverlayOpen]=\"isOpen\"\n [cdkConnectedOverlayOrigin]=\"trigger\"\n cdkConnectedOverlay>\n\n <div class=\"grid-container\">\n\n <ul [ngStyle]=\"{ columns: columns }\" class=\"grid\">\n <li *ngFor=\"let item of gridWithPadding\" [ngClass]=\"{ empty: item.empty }\">\n <a *ngIf=\"!item.empty\" [href]=\"item.href\">\n\n <span fxLayout=\"column\" fxLayoutAlign=\"start center\" fxLayoutGap=\"12px\">\n <img [src]=\"item.image\" width=\"53px\">\n <span>{{item.label}}</span>\n </span>\n\n </a>\n </li>\n </ul>\n\n </div>\n\n </ng-template>\n</ng-template>\n", styles: [".grid-container{padding:8px;border:1px solid rgba(0,0,0,.2);border-radius:8px;box-shadow:0 1px 2px #3c40434d,0 2px 6px 2px #3c404326}.grid{list-style-type:none;margin:0;padding:0}.grid li{border-radius:8px;padding:6px;height:84px;width:84px;transition-delay:0s;transition-duration:.2s;transition-property:tramsform;transition-timing-function:cubic-bezier(.333,0,0,1);position:relative}.grid li a{position:absolute;inset:6px;text-align:center;text-decoration:none;color:#000}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: CdkOverlayOrigin, selector: "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]", exportAs: ["cdkOverlayOrigin"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: CdkConnectedOverlay, selector: "[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]", inputs: ["cdkConnectedOverlayOrigin", "cdkConnectedOverlayPositions", "cdkConnectedOverlayPositionStrategy", "cdkConnectedOverlayOffsetX", "cdkConnectedOverlayOffsetY", "cdkConnectedOverlayWidth", "cdkConnectedOverlayHeight", "cdkConnectedOverlayMinWidth", "cdkConnectedOverlayMinHeight", "cdkConnectedOverlayBackdropClass", "cdkConnectedOverlayPanelClass", "cdkConnectedOverlayViewportMargin", "cdkConnectedOverlayScrollStrategy", "cdkConnectedOverlayOpen", "cdkConnectedOverlayDisableClose", "cdkConnectedOverlayTransformOriginOn", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayLockPosition", "cdkConnectedOverlayFlexibleDimensions", "cdkConnectedOverlayGrowAfterOpen", "cdkConnectedOverlayPush"], outputs: ["backdropClick", "positionChange", "attach", "detach", "overlayKeydown", "overlayOutsideClick"], exportAs: ["cdkConnectedOverlay"] }, { kind: "ngmodule", type: ExtendedModule }, { kind: "directive", type: i3.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "directive", type: i3.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i4.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i4.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i4.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
93
41
|
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AppsButtonComponent, decorators: [{
|
|
43
|
+
type: Component,
|
|
44
|
+
args: [{ selector: 'rxap-apps-button', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-apps-button' }, standalone: true, imports: [
|
|
45
|
+
NgIf,
|
|
46
|
+
MatButtonModule,
|
|
47
|
+
CdkOverlayOrigin,
|
|
48
|
+
MatIconModule,
|
|
49
|
+
CdkConnectedOverlay,
|
|
50
|
+
ExtendedModule,
|
|
51
|
+
NgStyle,
|
|
52
|
+
NgFor,
|
|
53
|
+
NgClass,
|
|
54
|
+
FlexModule,
|
|
55
|
+
], 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"] }]
|
|
56
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
57
|
+
type: Optional
|
|
58
|
+
}, {
|
|
59
|
+
type: Inject,
|
|
60
|
+
args: [RXAP_LAYOUT_APPS_GRID]
|
|
61
|
+
}] }, { type: i5.ConfigService, decorators: [{
|
|
62
|
+
type: Inject,
|
|
63
|
+
args: [ConfigService]
|
|
64
|
+
}] }]; } });
|
|
65
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwcy1idXR0b24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYW5ndWxhci9sYXlvdXQvc3JjL2xpYi9oZWFkZXIvYXBwcy1idXR0b24vYXBwcy1idXR0b24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYW5ndWxhci9sYXlvdXQvc3JjL2xpYi9oZWFkZXIvYXBwcy1idXR0b24vYXBwcy1idXR0b24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsTUFBTSxFQUNOLFFBQVEsR0FDVCxNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFDckQsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUM3QyxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDdkQsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQy9ELE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUN2RCxPQUFPLEVBQ0wsbUJBQW1CLEVBQ25CLGdCQUFnQix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LWNvbnRhaW5lclwiPlxuXG4gICAgICA8dWwgW25nU3R5bGVdPVwieyBjb2x1bW5zOiBjb2x1bW5zIH1cIiBjbGFzcz1cImdyaWRcIj5cbiAgICAgICAgPGxpICpuZ0Zvcj1cImxldCBpdGVtIG9mIGdyaWRXaXRoUGFkZGluZ1wiIFtuZ0NsYXNzXT1cInsgZW1wdHk6IGl0ZW0uZW1wdHkgfVwiPlxuICAgICAgICAgIDxhICpuZ0lmPVwiIWl0ZW0uZW1wdHlcIiBbaHJlZl09XCJpdGVtLmhyZWZcIj5cblxuICAgICAgICA8c3BhbiBmeExheW91dD1cImNvbHVtblwiIGZ4TGF5b3V0QWxpZ249XCJzdGFydCBjZW50ZXJcIiBmeExheW91dEdhcD1cIjEycHhcIj5cbiAgICAgICAgICA8aW1nIFtzcmNdPVwiaXRlbS5pbWFnZVwiIHdpZHRoPVwiNTNweFwiPlxuICAgICAgICAgIDxzcGFuPnt7aXRlbS5sYWJlbH19PC9zcGFuPlxuICAgICAgICA8L3NwYW4+XG5cbiAgICAgICAgICA8L2E+XG4gICAgICAgIDwvbGk+XG4gICAgICA8L3VsPlxuXG4gICAgPC9kaXY+XG5cbiAgPC9uZy10ZW1wbGF0ZT5cbjwvbmctdGVtcGxhdGU+XG4iXX0=
|
|
@@ -1,59 +1,33 @@
|
|
|
1
|
-
import { Component,
|
|
2
|
-
import { Subscription } from 'rxjs';
|
|
3
|
-
import { tap,
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Inject, Input, Optional, } from '@angular/core';
|
|
2
|
+
import { Subscription, } from 'rxjs';
|
|
3
|
+
import { map, tap, } from 'rxjs/operators';
|
|
4
4
|
import { MatSidenav } from '@angular/material/sidenav';
|
|
5
5
|
import { UserService } from '@rxap/authentication';
|
|
6
6
|
import { RXAP_HEADER_COMPONENT } from '../tokens';
|
|
7
7
|
import { HeaderService } from '@rxap/services';
|
|
8
|
+
import { MatMenuModule, } from '@angular/material/menu';
|
|
9
|
+
import { NavigationProgressBarComponent } from './navigation-progress-bar/navigation-progress-bar.component';
|
|
10
|
+
import { SignOutComponent } from './sign-out/sign-out.component';
|
|
11
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
12
|
+
import { MatButtonModule } from '@angular/material/button';
|
|
13
|
+
import { UserProfileIconComponent } from './user-profile-icon/user-profile-icon.component';
|
|
14
|
+
import { AppsButtonComponent } from './apps-button/apps-button.component';
|
|
15
|
+
import { LanguageSelectorComponent } from './language-selector/language-selector.component';
|
|
16
|
+
import { SidenavToggleButtonComponent } from './sidenav-toggle-button/sidenav-toggle-button.component';
|
|
17
|
+
import { FlexModule } from '@angular/flex-layout/flex';
|
|
18
|
+
import { AsyncPipe, NgClass, NgComponentOutlet, NgFor, NgIf, } from '@angular/common';
|
|
19
|
+
import { ExtendedModule } from '@angular/flex-layout/extended';
|
|
20
|
+
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
8
21
|
import * as i0 from "@angular/core";
|
|
9
22
|
import * as i1 from "@angular/material/toolbar";
|
|
10
|
-
import * as i2 from "
|
|
11
|
-
import * as i3 from "
|
|
12
|
-
import * as i4 from "
|
|
13
|
-
import * as i5 from "
|
|
14
|
-
import * as i6 from "@angular/
|
|
15
|
-
import * as i7 from "@
|
|
16
|
-
import * as i8 from "@
|
|
17
|
-
|
|
18
|
-
import * as i10 from "@angular/material/icon";
|
|
19
|
-
import * as i11 from "@angular/material/legacy-menu";
|
|
20
|
-
import * as i12 from "./apps-button/apps-button.component";
|
|
21
|
-
import * as i13 from "./language-selector/language-selector.component";
|
|
22
|
-
import * as i14 from "@rxap/services";
|
|
23
|
-
import * as i15 from "@rxap/authentication";
|
|
24
|
-
function HeaderComponent_mat_toolbar_row_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
25
|
-
i0.ɵɵelementContainer(0);
|
|
26
|
-
} }
|
|
27
|
-
function HeaderComponent_mat_toolbar_row_1_Template(rf, ctx) { if (rf & 1) {
|
|
28
|
-
i0.ɵɵelementStart(0, "mat-toolbar-row");
|
|
29
|
-
i0.ɵɵtemplate(1, HeaderComponent_mat_toolbar_row_1_ng_container_1_Template, 1, 0, "ng-container", 7);
|
|
30
|
-
i0.ɵɵelementEnd();
|
|
31
|
-
} if (rf & 2) {
|
|
32
|
-
const headerComponent_r4 = ctx.$implicit;
|
|
33
|
-
i0.ɵɵadvance(1);
|
|
34
|
-
i0.ɵɵproperty("ngComponentOutlet", headerComponent_r4);
|
|
35
|
-
} }
|
|
36
|
-
function HeaderComponent_rxap_sidenav_toggle_button_4_Template(rf, ctx) { if (rf & 1) {
|
|
37
|
-
i0.ɵɵelement(0, "rxap-sidenav-toggle-button", 8);
|
|
38
|
-
} if (rf & 2) {
|
|
39
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
40
|
-
i0.ɵɵproperty("sidenav", ctx_r1.sidenav);
|
|
41
|
-
} }
|
|
42
|
-
function HeaderComponent_rxap_user_profile_icon_9_Template(rf, ctx) { if (rf & 1) {
|
|
43
|
-
i0.ɵɵelement(0, "rxap-user-profile-icon", 5);
|
|
44
|
-
} }
|
|
45
|
-
function HeaderComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
46
|
-
i0.ɵɵelementStart(0, "div", 5)(1, "button", 9)(2, "mat-icon");
|
|
47
|
-
i0.ɵɵtext(3, "settings");
|
|
48
|
-
i0.ɵɵelementEnd()()();
|
|
49
|
-
} if (rf & 2) {
|
|
50
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
|
51
|
-
i0.ɵɵadvance(1);
|
|
52
|
-
i0.ɵɵproperty("matMenuTriggerFor", ctx_r3.settingsMenuPanel);
|
|
53
|
-
} }
|
|
54
|
-
const _c0 = function (a0) { return { open: a0 }; };
|
|
55
|
-
const _c1 = ["*"];
|
|
56
|
-
class HeaderComponent {
|
|
23
|
+
import * as i2 from "@angular/flex-layout/extended";
|
|
24
|
+
import * as i3 from "@angular/flex-layout/flex";
|
|
25
|
+
import * as i4 from "@angular/material/button";
|
|
26
|
+
import * as i5 from "@angular/material/menu";
|
|
27
|
+
import * as i6 from "@angular/material/icon";
|
|
28
|
+
import * as i7 from "@rxap/services";
|
|
29
|
+
import * as i8 from "@rxap/authentication";
|
|
30
|
+
export class HeaderComponent {
|
|
57
31
|
constructor(headerComponentService, userService, headerComponent) {
|
|
58
32
|
this.headerComponentService = headerComponentService;
|
|
59
33
|
this.userService = userService;
|
|
@@ -75,57 +49,46 @@ class HeaderComponent {
|
|
|
75
49
|
ngOnDestroy() {
|
|
76
50
|
this.subscriptions.unsubscribe();
|
|
77
51
|
}
|
|
78
|
-
static { this.ɵfac =
|
|
79
|
-
static { this.ɵcmp =
|
|
80
|
-
i0.ɵɵprojectionDef();
|
|
81
|
-
i0.ɵɵelementStart(0, "mat-toolbar", 0);
|
|
82
|
-
i0.ɵɵtemplate(1, HeaderComponent_mat_toolbar_row_1_Template, 2, 1, "mat-toolbar-row", 1);
|
|
83
|
-
i0.ɵɵelementStart(2, "mat-toolbar-row")(3, "div", 2);
|
|
84
|
-
i0.ɵɵtemplate(4, HeaderComponent_rxap_sidenav_toggle_button_4_Template, 1, 1, "rxap-sidenav-toggle-button", 3);
|
|
85
|
-
i0.ɵɵelementStart(5, "div", 4);
|
|
86
|
-
i0.ɵɵprojection(6);
|
|
87
|
-
i0.ɵɵelementEnd();
|
|
88
|
-
i0.ɵɵelement(7, "rxap-language-selector", 5)(8, "rxap-apps-button", 5);
|
|
89
|
-
i0.ɵɵtemplate(9, HeaderComponent_rxap_user_profile_icon_9_Template, 1, 0, "rxap-user-profile-icon", 6);
|
|
90
|
-
i0.ɵɵpipe(10, "async");
|
|
91
|
-
i0.ɵɵtemplate(11, HeaderComponent_div_11_Template, 4, 1, "div", 6);
|
|
92
|
-
i0.ɵɵelement(12, "rxap-sign-out", 5);
|
|
93
|
-
i0.ɵɵelementEnd()()();
|
|
94
|
-
i0.ɵɵelement(13, "rxap-navigation-progress-bar");
|
|
95
|
-
} if (rf & 2) {
|
|
96
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0, ctx.sidenav == null ? null : ctx.sidenav.opened))("color", ctx.color);
|
|
97
|
-
i0.ɵɵadvance(1);
|
|
98
|
-
i0.ɵɵproperty("ngForOf", ctx.components);
|
|
99
|
-
i0.ɵɵadvance(3);
|
|
100
|
-
i0.ɵɵproperty("ngIf", ctx.sidenav);
|
|
101
|
-
i0.ɵɵadvance(5);
|
|
102
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(10, 6, ctx.hasUser$));
|
|
103
|
-
i0.ɵɵadvance(2);
|
|
104
|
-
i0.ɵɵproperty("ngIf", ctx.settingsMenuPanel);
|
|
105
|
-
} }, dependencies: [i1.MatToolbar, i1.MatToolbarRow, i2.SignOutComponent, i3.UserProfileIconComponent, i4.NavigationProgressBarComponent, i5.SidenavToggleButtonComponent, i6.DefaultLayoutDirective, i6.DefaultLayoutGapDirective, i6.DefaultLayoutAlignDirective, i6.DefaultFlexDirective, i7.DefaultClassDirective, i8.NgClass, i8.NgComponentOutlet, i8.NgForOf, i8.NgIf, i9.MatLegacyButton, i10.MatIcon, i11.MatLegacyMenuTrigger, i12.AppsButtonComponent, i13.LanguageSelectorComponent, i8.AsyncPipe], styles: [".content[_ngcontent-%COMP%]{width:100%;height:64px}"], changeDetection: 0 }); }
|
|
52
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HeaderComponent, deps: [{ token: HeaderService }, { token: UserService }, { token: RXAP_HEADER_COMPONENT, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
53
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: HeaderComponent, isStandalone: true, selector: "rxap-header", inputs: { sidenav: "sidenav", color: "color", settingsMenuPanel: "settingsMenuPanel" }, ngImport: i0, template: "<mat-toolbar [color]=\"color\" [ngClass]=\"{ open: sidenav?.opened }\" class=\"mat-elevation-z3\">\n <mat-toolbar-row *ngFor=\"let headerComponent of components\">\n <ng-container *ngComponentOutlet=\"headerComponent\"></ng-container>\n </mat-toolbar-row>\n <mat-toolbar-row>\n <div\n class=\"content\"\n fxLayout=\"row\"\n fxLayoutAlign=\"space-between center\"\n fxLayoutGap=\"16px\"\n >\n <rxap-sidenav-toggle-button *ngIf=\"sidenav\" [sidenav]=\"sidenav\"\n fxFlex=\"nogrow\"></rxap-sidenav-toggle-button>\n <div fxFlex=\"grow\">\n <ng-content></ng-content>\n </div>\n <rxap-language-selector fxFlex=\"nogrow\"></rxap-language-selector>\n <rxap-apps-button fxFlex=\"nogrow\"></rxap-apps-button>\n <rxap-user-profile-icon *ngIf=\"hasUser$ | async\" fxFlex=\"nogrow\"></rxap-user-profile-icon>\n <div *ngIf=\"settingsMenuPanel\" fxFlex=\"nogrow\">\n <button [matMenuTriggerFor]=\"settingsMenuPanel\" mat-icon-button>\n <mat-icon>settings</mat-icon>\n </button>\n </div>\n <rxap-sign-out fxFlex=\"nogrow\"></rxap-sign-out>\n </div>\n </mat-toolbar-row>\n</mat-toolbar>\n<rxap-navigation-progress-bar></rxap-navigation-progress-bar>\n", styles: [".content{width:100%;height:64px}\n"], dependencies: [{ kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i1.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "directive", type: i1.MatToolbarRow, selector: "mat-toolbar-row", exportAs: ["matToolbarRow"] }, { kind: "ngmodule", type: ExtendedModule }, { kind: "directive", type: i2.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i3.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i3.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i3.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i3.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: SidenavToggleButtonComponent, selector: "rxap-sidenav-toggle-button", inputs: ["sidenav"] }, { kind: "component", type: LanguageSelectorComponent, selector: "rxap-language-selector" }, { kind: "component", type: AppsButtonComponent, selector: "rxap-apps-button" }, { kind: "component", type: UserProfileIconComponent, selector: "rxap-user-profile-icon" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i4.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "directive", type: i5.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i6.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: SignOutComponent, selector: "rxap-sign-out" }, { kind: "component", type: NavigationProgressBarComponent, selector: "rxap-navigation-progress-bar" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
106
54
|
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
}],
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: HeaderComponent, decorators: [{
|
|
56
|
+
type: Component,
|
|
57
|
+
args: [{ selector: 'rxap-header', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
58
|
+
MatToolbarModule,
|
|
59
|
+
ExtendedModule,
|
|
60
|
+
NgClass,
|
|
61
|
+
NgFor,
|
|
62
|
+
NgComponentOutlet,
|
|
63
|
+
FlexModule,
|
|
64
|
+
NgIf,
|
|
65
|
+
SidenavToggleButtonComponent,
|
|
66
|
+
LanguageSelectorComponent,
|
|
67
|
+
AppsButtonComponent,
|
|
68
|
+
UserProfileIconComponent,
|
|
69
|
+
MatButtonModule,
|
|
70
|
+
MatMenuModule,
|
|
71
|
+
MatIconModule,
|
|
72
|
+
SignOutComponent,
|
|
73
|
+
NavigationProgressBarComponent,
|
|
74
|
+
AsyncPipe,
|
|
75
|
+
], template: "<mat-toolbar [color]=\"color\" [ngClass]=\"{ open: sidenav?.opened }\" class=\"mat-elevation-z3\">\n <mat-toolbar-row *ngFor=\"let headerComponent of components\">\n <ng-container *ngComponentOutlet=\"headerComponent\"></ng-container>\n </mat-toolbar-row>\n <mat-toolbar-row>\n <div\n class=\"content\"\n fxLayout=\"row\"\n fxLayoutAlign=\"space-between center\"\n fxLayoutGap=\"16px\"\n >\n <rxap-sidenav-toggle-button *ngIf=\"sidenav\" [sidenav]=\"sidenav\"\n fxFlex=\"nogrow\"></rxap-sidenav-toggle-button>\n <div fxFlex=\"grow\">\n <ng-content></ng-content>\n </div>\n <rxap-language-selector fxFlex=\"nogrow\"></rxap-language-selector>\n <rxap-apps-button fxFlex=\"nogrow\"></rxap-apps-button>\n <rxap-user-profile-icon *ngIf=\"hasUser$ | async\" fxFlex=\"nogrow\"></rxap-user-profile-icon>\n <div *ngIf=\"settingsMenuPanel\" fxFlex=\"nogrow\">\n <button [matMenuTriggerFor]=\"settingsMenuPanel\" mat-icon-button>\n <mat-icon>settings</mat-icon>\n </button>\n </div>\n <rxap-sign-out fxFlex=\"nogrow\"></rxap-sign-out>\n </div>\n </mat-toolbar-row>\n</mat-toolbar>\n<rxap-navigation-progress-bar></rxap-navigation-progress-bar>\n", styles: [".content{width:100%;height:64px}\n"] }]
|
|
76
|
+
}], ctorParameters: function () { return [{ type: i7.HeaderService, decorators: [{
|
|
77
|
+
type: Inject,
|
|
78
|
+
args: [HeaderService]
|
|
79
|
+
}] }, { type: i8.UserService, decorators: [{
|
|
80
|
+
type: Inject,
|
|
81
|
+
args: [UserService]
|
|
82
|
+
}] }, { type: undefined, decorators: [{
|
|
83
|
+
type: Optional
|
|
84
|
+
}, {
|
|
85
|
+
type: Inject,
|
|
86
|
+
args: [RXAP_HEADER_COMPONENT]
|
|
87
|
+
}] }]; }, propDecorators: { sidenav: [{
|
|
88
|
+
type: Input
|
|
89
|
+
}], color: [{
|
|
90
|
+
type: Input
|
|
91
|
+
}], settingsMenuPanel: [{
|
|
92
|
+
type: Input
|
|
93
|
+
}] } });
|
|
94
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2FuZ3VsYXIvbGF5b3V0L3NyYy9saWIvaGVhZGVyL2hlYWRlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9hbmd1bGFyL2xheW91dC9zcmMvbGliL2hlYWRlci9oZWFkZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsTUFBTSxFQUNOLEtBQUssRUFHTCxRQUFRLEdBQ1QsTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUVMLFlBQVksR0FDYixNQUFNLE1BQU0sQ0FBQztBQUNkLE9BQU8sRUFDTCxHQUFHLEVBQ0gsR0FBRyxHQUNKLE1BQU0sZ0JBQWdCLENBQUM7QUFDeEIsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQ3ZELE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUNuRCxPQUFPLEVBQUUsc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