@rxap/layout 12.2.2 → 13.0.0-next.0
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/_theming.scss +1 -1
- package/esm2020/index.mjs +59 -0
- package/{esm2015/lib/footer/footer.component.js → esm2020/lib/footer/footer.component.mjs} +2 -7
- package/esm2020/lib/footer/footer.component.module.mjs +31 -0
- package/esm2020/lib/footer.directive.mjs +52 -0
- package/esm2020/lib/header/apps-button/apps-button.component.mjs +106 -0
- package/esm2020/lib/header/apps-button/apps-button.component.module.mjs +47 -0
- package/esm2020/lib/header/header.component.mjs +130 -0
- package/esm2020/lib/header/header.component.module.mjs +71 -0
- package/esm2020/lib/header/language-selector/language-selector.component.mjs +111 -0
- package/esm2020/lib/header/language-selector/language-selector.component.module.mjs +31 -0
- package/esm2020/lib/header/navigation-progress-bar/navigation-progress-bar.component.mjs +33 -0
- package/esm2020/lib/header/navigation-progress-bar/navigation-progress-bar.component.module.mjs +27 -0
- package/esm2020/lib/header/reset-button/reset-button.component.mjs +27 -0
- package/esm2020/lib/header/reset-button/reset-button.component.module.mjs +27 -0
- package/esm2020/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.mjs +44 -0
- package/esm2020/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.module.mjs +31 -0
- package/esm2020/lib/header/sign-out/sign-out.component.mjs +31 -0
- package/esm2020/lib/header/sign-out/sign-out.component.module.mjs +31 -0
- package/esm2020/lib/header/user-profile-icon/user-profile-icon.component.mjs +111 -0
- package/esm2020/lib/header/user-profile-icon/user-profile-icon.component.module.mjs +39 -0
- package/esm2020/lib/layout/layout.component.mjs +78 -0
- package/esm2020/lib/layout/layout.component.module.mjs +71 -0
- package/esm2020/lib/layout/layout.component.service.mjs +43 -0
- package/esm2020/lib/navigation/navigation-item/navigation-item.component.mjs +286 -0
- package/esm2020/lib/navigation/navigation-item.mjs +10 -0
- package/esm2020/lib/navigation/navigation.component.mjs +130 -0
- package/esm2020/lib/navigation/navigation.component.module.mjs +73 -0
- package/esm2020/lib/navigation/navigation.service.mjs +143 -0
- package/esm2020/lib/navigation/replace-router-paths.pipe.mjs +21 -0
- package/esm2020/lib/navigation/replace-router-paths.service.mjs +15 -0
- package/esm2020/lib/sidenav/sidenav-footer.directive.mjs +19 -0
- package/esm2020/lib/sidenav/sidenav-header.directive.mjs +19 -0
- package/esm2020/lib/sidenav/sidenav.component.mjs +120 -0
- package/esm2020/lib/sidenav/sidenav.component.module.mjs +45 -0
- package/esm2020/lib/sidenav/sidenav.component.service.mjs +22 -0
- package/esm2020/lib/sidenav/version/version.component.mjs +62 -0
- package/esm2020/lib/sidenav/version/version.component.module.mjs +27 -0
- package/esm2020/lib/sidenav-content/sidenav-content.component.mjs +45 -0
- package/esm2020/lib/sidenav-content/sidenav-content.component.module.mjs +27 -0
- package/esm2020/lib/sidenav-content/sidenav-content.component.service.mjs +36 -0
- package/esm2020/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.mjs +50 -0
- package/esm2020/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.module.mjs +31 -0
- package/esm2020/lib/tokens.mjs +8 -0
- package/esm2020/lib/types.mjs +2 -0
- package/esm2020/lib/window-container-sidenav/window-container-sidenav.component.mjs +73 -0
- package/esm2020/lib/window-container-sidenav/window-container-sidenav.component.module.mjs +31 -0
- package/esm2020/rxap-layout.mjs +5 -0
- package/fesm2015/rxap-layout.mjs +2559 -0
- package/fesm2015/rxap-layout.mjs.map +1 -0
- package/{fesm2015/rxap-layout.js → fesm2020/rxap-layout.mjs} +212 -355
- package/fesm2020/rxap-layout.mjs.map +1 -0
- package/package.json +45 -31
- package/src/schematics/ng-add/index.js +1 -1
- package/src/schematics/ng-add/index.js.map +1 -1
- package/bundles/rxap-layout.umd.js +0 -3211
- package/bundles/rxap-layout.umd.js.map +0 -1
- package/esm2015/index.js +0 -59
- package/esm2015/index.js.map +0 -1
- package/esm2015/lib/footer/footer.component.js.map +0 -1
- package/esm2015/lib/footer/footer.component.module.js +0 -31
- package/esm2015/lib/footer/footer.component.module.js.map +0 -1
- package/esm2015/lib/footer.directive.js +0 -52
- package/esm2015/lib/footer.directive.js.map +0 -1
- package/esm2015/lib/header/apps-button/apps-button.component.js +0 -119
- package/esm2015/lib/header/apps-button/apps-button.component.js.map +0 -1
- package/esm2015/lib/header/apps-button/apps-button.component.module.js +0 -47
- package/esm2015/lib/header/apps-button/apps-button.component.module.js.map +0 -1
- package/esm2015/lib/header/header.component.js +0 -144
- package/esm2015/lib/header/header.component.js.map +0 -1
- package/esm2015/lib/header/header.component.module.js +0 -71
- package/esm2015/lib/header/header.component.module.js.map +0 -1
- package/esm2015/lib/header/language-selector/language-selector.component.js +0 -119
- package/esm2015/lib/header/language-selector/language-selector.component.js.map +0 -1
- package/esm2015/lib/header/language-selector/language-selector.component.module.js +0 -31
- package/esm2015/lib/header/language-selector/language-selector.component.module.js.map +0 -1
- package/esm2015/lib/header/navigation-progress-bar/navigation-progress-bar.component.js +0 -39
- package/esm2015/lib/header/navigation-progress-bar/navigation-progress-bar.component.js.map +0 -1
- package/esm2015/lib/header/navigation-progress-bar/navigation-progress-bar.component.module.js +0 -27
- package/esm2015/lib/header/navigation-progress-bar/navigation-progress-bar.component.module.js.map +0 -1
- package/esm2015/lib/header/reset-button/reset-button.component.js +0 -34
- package/esm2015/lib/header/reset-button/reset-button.component.js.map +0 -1
- package/esm2015/lib/header/reset-button/reset-button.component.module.js +0 -27
- package/esm2015/lib/header/reset-button/reset-button.component.module.js.map +0 -1
- package/esm2015/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.js +0 -50
- package/esm2015/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.js.map +0 -1
- package/esm2015/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.module.js +0 -31
- package/esm2015/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.module.js.map +0 -1
- package/esm2015/lib/header/sign-out/sign-out.component.js +0 -38
- package/esm2015/lib/header/sign-out/sign-out.component.js.map +0 -1
- package/esm2015/lib/header/sign-out/sign-out.component.module.js +0 -31
- package/esm2015/lib/header/sign-out/sign-out.component.module.js.map +0 -1
- package/esm2015/lib/header/user-profile-icon/user-profile-icon.component.js +0 -126
- package/esm2015/lib/header/user-profile-icon/user-profile-icon.component.js.map +0 -1
- package/esm2015/lib/header/user-profile-icon/user-profile-icon.component.module.js +0 -39
- package/esm2015/lib/header/user-profile-icon/user-profile-icon.component.module.js.map +0 -1
- package/esm2015/lib/layout/layout.component.js +0 -89
- package/esm2015/lib/layout/layout.component.js.map +0 -1
- package/esm2015/lib/layout/layout.component.module.js +0 -71
- package/esm2015/lib/layout/layout.component.module.js.map +0 -1
- package/esm2015/lib/layout/layout.component.service.js +0 -43
- package/esm2015/lib/layout/layout.component.service.js.map +0 -1
- package/esm2015/lib/navigation/navigation-item/navigation-item.component.js +0 -299
- package/esm2015/lib/navigation/navigation-item/navigation-item.component.js.map +0 -1
- package/esm2015/lib/navigation/navigation-item.js +0 -10
- package/esm2015/lib/navigation/navigation-item.js.map +0 -1
- package/esm2015/lib/navigation/navigation.component.js +0 -138
- package/esm2015/lib/navigation/navigation.component.js.map +0 -1
- package/esm2015/lib/navigation/navigation.component.module.js +0 -73
- package/esm2015/lib/navigation/navigation.component.module.js.map +0 -1
- package/esm2015/lib/navigation/navigation.service.js +0 -139
- package/esm2015/lib/navigation/navigation.service.js.map +0 -1
- package/esm2015/lib/navigation/replace-router-paths.pipe.js +0 -21
- package/esm2015/lib/navigation/replace-router-paths.pipe.js.map +0 -1
- package/esm2015/lib/navigation/replace-router-paths.service.js +0 -15
- package/esm2015/lib/navigation/replace-router-paths.service.js.map +0 -1
- package/esm2015/lib/sidenav/sidenav-footer.directive.js +0 -19
- package/esm2015/lib/sidenav/sidenav-footer.directive.js.map +0 -1
- package/esm2015/lib/sidenav/sidenav-header.directive.js +0 -19
- package/esm2015/lib/sidenav/sidenav-header.directive.js.map +0 -1
- package/esm2015/lib/sidenav/sidenav.component.js +0 -127
- package/esm2015/lib/sidenav/sidenav.component.js.map +0 -1
- package/esm2015/lib/sidenav/sidenav.component.module.js +0 -45
- package/esm2015/lib/sidenav/sidenav.component.module.js.map +0 -1
- package/esm2015/lib/sidenav/sidenav.component.service.js +0 -22
- package/esm2015/lib/sidenav/sidenav.component.service.js.map +0 -1
- package/esm2015/lib/sidenav/version/version.component.js +0 -70
- package/esm2015/lib/sidenav/version/version.component.js.map +0 -1
- package/esm2015/lib/sidenav/version/version.component.module.js +0 -27
- package/esm2015/lib/sidenav/version/version.component.module.js.map +0 -1
- package/esm2015/lib/sidenav-content/sidenav-content.component.js +0 -51
- package/esm2015/lib/sidenav-content/sidenav-content.component.js.map +0 -1
- package/esm2015/lib/sidenav-content/sidenav-content.component.module.js +0 -27
- package/esm2015/lib/sidenav-content/sidenav-content.component.module.js.map +0 -1
- package/esm2015/lib/sidenav-content/sidenav-content.component.service.js +0 -36
- package/esm2015/lib/sidenav-content/sidenav-content.component.service.js.map +0 -1
- package/esm2015/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.js +0 -58
- package/esm2015/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.js.map +0 -1
- package/esm2015/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.module.js +0 -31
- package/esm2015/lib/toggle-window-sidenav-button/toggle-window-sidenav-button.component.module.js.map +0 -1
- package/esm2015/lib/tokens.js +0 -8
- package/esm2015/lib/tokens.js.map +0 -1
- package/esm2015/lib/types.js +0 -2
- package/esm2015/lib/types.js.map +0 -1
- package/esm2015/lib/window-container-sidenav/window-container-sidenav.component.js +0 -78
- package/esm2015/lib/window-container-sidenav/window-container-sidenav.component.js.map +0 -1
- package/esm2015/lib/window-container-sidenav/window-container-sidenav.component.module.js +0 -31
- package/esm2015/lib/window-container-sidenav/window-container-sidenav.component.module.js.map +0 -1
- package/esm2015/rxap-layout.js +0 -5
- package/esm2015/rxap-layout.js.map +0 -1
- package/fesm2015/rxap-layout.js.map +0 -1
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { Component, ChangeDetectionStrategy, Inject } from '@angular/core';
|
|
2
|
-
import { Router, NavigationStart, NavigationEnd, NavigationCancel } from '@angular/router';
|
|
3
|
-
import { filter, map } from 'rxjs/operators';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/common";
|
|
6
|
-
import * as i2 from "@angular/material/progress-bar";
|
|
7
|
-
import * as i3 from "@angular/router";
|
|
8
|
-
function NavigationProgressBarComponent_mat_progress_bar_0_Template(rf, ctx) { if (rf & 1) {
|
|
9
|
-
i0.ɵɵelement(0, "mat-progress-bar", 1);
|
|
10
|
-
} }
|
|
11
|
-
export class NavigationProgressBarComponent {
|
|
12
|
-
constructor(router) {
|
|
13
|
-
this.router = router;
|
|
14
|
-
this.navigating$ = this.router.events.pipe(filter(event => event instanceof NavigationStart ||
|
|
15
|
-
event instanceof NavigationEnd ||
|
|
16
|
-
event instanceof NavigationCancel), map(event => event instanceof NavigationStart));
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
NavigationProgressBarComponent.ɵfac = function NavigationProgressBarComponent_Factory(t) { return new (t || NavigationProgressBarComponent)(i0.ɵɵdirectiveInject(Router)); };
|
|
20
|
-
NavigationProgressBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NavigationProgressBarComponent, selectors: [["rxap-navigation-progress-bar"]], hostAttrs: [1, "rxap-navigation-progress-bar"], decls: 2, vars: 3, consts: [["mode", "indeterminate", "color", "accent", 4, "ngIf"], ["mode", "indeterminate", "color", "accent"]], template: function NavigationProgressBarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
21
|
-
i0.ɵɵtemplate(0, NavigationProgressBarComponent_mat_progress_bar_0_Template, 1, 0, "mat-progress-bar", 0);
|
|
22
|
-
i0.ɵɵpipe(1, "async");
|
|
23
|
-
} if (rf & 2) {
|
|
24
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(1, 1, ctx.navigating$));
|
|
25
|
-
} }, directives: [i1.NgIf, i2.MatProgressBar], pipes: [i1.AsyncPipe], styles: [""], changeDetection: 0 });
|
|
26
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigationProgressBarComponent, [{
|
|
27
|
-
type: Component,
|
|
28
|
-
args: [{
|
|
29
|
-
selector: 'rxap-navigation-progress-bar',
|
|
30
|
-
templateUrl: './navigation-progress-bar.component.html',
|
|
31
|
-
styleUrls: ['./navigation-progress-bar.component.scss'],
|
|
32
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
33
|
-
host: { class: 'rxap-navigation-progress-bar' }
|
|
34
|
-
}]
|
|
35
|
-
}], function () { return [{ type: i3.Router, decorators: [{
|
|
36
|
-
type: Inject,
|
|
37
|
-
args: [Router]
|
|
38
|
-
}] }]; }, null); })();
|
|
39
|
-
//# sourceMappingURL=navigation-progress-bar.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"navigation-progress-bar.component.js","sourceRoot":"","sources":["../../../../../../../libs/layout/src/lib/header/navigation-progress-bar/navigation-progress-bar.component.ts","../../../../../../../libs/layout/src/lib/header/navigation-progress-bar/navigation-progress-bar.component.html"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,uBAAuB,EACvB,MAAM,EACP,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,MAAM,EACN,eAAe,EACf,aAAa,EACb,gBAAgB,EACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,MAAM,EACN,GAAG,EACJ,MAAM,gBAAgB,CAAC;;;;;;ICfxB,sCAIoB;;ADoBpB,MAAM,OAAO,8BAA8B;IAIzC,YACkC,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QAE9C,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CACxC,MAAM,CACJ,KAAK,CAAC,EAAE,CACN,KAAK,YAAY,eAAe;YAChC,KAAK,YAAY,aAAa;YAC9B,KAAK,YAAY,gBAAgB,CACpC,EACD,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,YAAY,eAAe,CAAC,CAC/C,CAAC;IACJ,CAAC;;4GAhBU,8BAA8B,uBAK/B,MAAM;iFALL,8BAA8B;QCxB3C,yGAIoB;;;QAHjB,4DAAyB;;uFDuBf,8BAA8B;cAP1C,SAAS;eAAC;gBACT,QAAQ,EAAS,8BAA8B;gBAC/C,WAAW,EAAM,0CAA0C;gBAC3D,SAAS,EAAQ,CAAE,0CAA0C,CAAE;gBAC/D,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,IAAI,EAAa,EAAE,KAAK,EAAE,8BAA8B,EAAE;aAC3D;;sBAMI,MAAM;uBAAC,MAAM","sourcesContent":["import {\n Component,\n ChangeDetectionStrategy,\n Inject\n} from '@angular/core';\nimport { Observable } from 'rxjs';\nimport {\n Router,\n NavigationStart,\n NavigationEnd,\n NavigationCancel\n} from '@angular/router';\nimport {\n filter,\n map\n} from 'rxjs/operators';\n\n@Component({\n selector: 'rxap-navigation-progress-bar',\n templateUrl: './navigation-progress-bar.component.html',\n styleUrls: [ './navigation-progress-bar.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'rxap-navigation-progress-bar' }\n})\nexport class NavigationProgressBarComponent {\n\n public navigating$: Observable<boolean>;\n\n public constructor(\n @Inject(Router) public readonly router: Router\n ) {\n this.navigating$ = this.router.events.pipe(\n filter(\n event =>\n event instanceof NavigationStart ||\n event instanceof NavigationEnd ||\n event instanceof NavigationCancel\n ),\n map(event => event instanceof NavigationStart)\n );\n }\n\n}\n","<mat-progress-bar\n *ngIf=\"navigating$ | async\"\n mode=\"indeterminate\"\n color=\"accent\"\n></mat-progress-bar>\n"]}
|
package/esm2015/lib/header/navigation-progress-bar/navigation-progress-bar.component.module.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { NavigationProgressBarComponent } from './navigation-progress-bar.component';
|
|
3
|
-
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class NavigationProgressBarComponentModule {
|
|
7
|
-
}
|
|
8
|
-
NavigationProgressBarComponentModule.ɵfac = function NavigationProgressBarComponentModule_Factory(t) { return new (t || NavigationProgressBarComponentModule)(); };
|
|
9
|
-
NavigationProgressBarComponentModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: NavigationProgressBarComponentModule });
|
|
10
|
-
NavigationProgressBarComponentModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
|
|
11
|
-
MatProgressBarModule,
|
|
12
|
-
CommonModule
|
|
13
|
-
]] });
|
|
14
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigationProgressBarComponentModule, [{
|
|
15
|
-
type: NgModule,
|
|
16
|
-
args: [{
|
|
17
|
-
declarations: [NavigationProgressBarComponent],
|
|
18
|
-
imports: [
|
|
19
|
-
MatProgressBarModule,
|
|
20
|
-
CommonModule
|
|
21
|
-
],
|
|
22
|
-
exports: [NavigationProgressBarComponent]
|
|
23
|
-
}]
|
|
24
|
-
}], null, null); })();
|
|
25
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(NavigationProgressBarComponentModule, { declarations: [NavigationProgressBarComponent], imports: [MatProgressBarModule,
|
|
26
|
-
CommonModule], exports: [NavigationProgressBarComponent] }); })();
|
|
27
|
-
//# sourceMappingURL=navigation-progress-bar.component.module.js.map
|
package/esm2015/lib/header/navigation-progress-bar/navigation-progress-bar.component.module.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"navigation-progress-bar.component.module.js","sourceRoot":"","sources":["../../../../../../../libs/layout/src/lib/header/navigation-progress-bar/navigation-progress-bar.component.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AACrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;;AAW/C,MAAM,OAAO,oCAAoC;;wHAApC,oCAAoC;sFAApC,oCAAoC;0FANtC;YACP,oBAAoB;YACpB,YAAY;SACb;uFAGU,oCAAoC;cARhD,QAAQ;eAAC;gBACR,YAAY,EAAE,CAAC,8BAA8B,CAAC;gBAC9C,OAAO,EAAE;oBACP,oBAAoB;oBACpB,YAAY;iBACb;gBACD,OAAO,EAAE,CAAC,8BAA8B,CAAC;aAC1C;;wFACY,oCAAoC,mBAPhC,8BAA8B,aAE3C,oBAAoB;QACpB,YAAY,aAEJ,8BAA8B","sourcesContent":["import { NgModule } from '@angular/core';\nimport { NavigationProgressBarComponent } from './navigation-progress-bar.component';\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\nimport { CommonModule } from '@angular/common';\n\n\n@NgModule({\n declarations: [NavigationProgressBarComponent],\n imports: [\n MatProgressBarModule,\n CommonModule\n ],\n exports: [NavigationProgressBarComponent]\n})\nexport class NavigationProgressBarComponentModule { }\n"]}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Component, ChangeDetectionStrategy, Inject } from '@angular/core';
|
|
2
|
-
import { ResetService } from '@rxap/services';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/material/button";
|
|
5
|
-
import * as i2 from "@angular/material/icon";
|
|
6
|
-
import * as i3 from "@rxap/services";
|
|
7
|
-
export class ResetButtonComponent {
|
|
8
|
-
constructor(resetService) {
|
|
9
|
-
this.resetService = resetService;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
ResetButtonComponent.ɵfac = function ResetButtonComponent_Factory(t) { return new (t || ResetButtonComponent)(i0.ɵɵdirectiveInject(ResetService)); };
|
|
13
|
-
ResetButtonComponent.ɵ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) {
|
|
14
|
-
i0.ɵɵelementStart(0, "button", 0);
|
|
15
|
-
i0.ɵɵlistener("click", function ResetButtonComponent_Template_button_click_0_listener() { return ctx.resetService.resetAll(); });
|
|
16
|
-
i0.ɵɵelementStart(1, "mat-icon");
|
|
17
|
-
i0.ɵɵtext(2, "refresh");
|
|
18
|
-
i0.ɵɵelementEnd();
|
|
19
|
-
i0.ɵɵelementEnd();
|
|
20
|
-
} }, directives: [i1.MatButton, i2.MatIcon], styles: [""], changeDetection: 0 });
|
|
21
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ResetButtonComponent, [{
|
|
22
|
-
type: Component,
|
|
23
|
-
args: [{
|
|
24
|
-
selector: 'rxap-reset-button',
|
|
25
|
-
templateUrl: './reset-button.component.html',
|
|
26
|
-
styleUrls: ['./reset-button.component.scss'],
|
|
27
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
28
|
-
host: { class: 'rxap-reset-button' },
|
|
29
|
-
}]
|
|
30
|
-
}], function () { return [{ type: i3.ResetService, decorators: [{
|
|
31
|
-
type: Inject,
|
|
32
|
-
args: [ResetService]
|
|
33
|
-
}] }]; }, null); })();
|
|
34
|
-
//# sourceMappingURL=reset-button.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reset-button.component.js","sourceRoot":"","sources":["../../../../../../../libs/layout/src/lib/header/reset-button/reset-button.component.ts","../../../../../../../libs/layout/src/lib/header/reset-button/reset-button.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;;;;;AAS9C,MAAM,OAAO,oBAAoB;IAC/B,YAEkB,YAA0B;QAA1B,iBAAY,GAAZ,YAAY,CAAc;IACzC,CAAC;;wFAJO,oBAAoB,uBAErB,YAAY;uEAFX,oBAAoB;QCVjC,iCAA0D;QAAlD,iGAAS,2BAAuB,IAAC;QACvC,gCAAU;QAAA,uBAAO;QAAA,iBAAW;QAC9B,iBAAS;;uFDQI,oBAAoB;cAPhC,SAAS;eAAC;gBACT,QAAQ,EAAE,mBAAmB;gBAC7B,WAAW,EAAE,+BAA+B;gBAC5C,SAAS,EAAE,CAAC,+BAA+B,CAAC;gBAC5C,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,IAAI,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE;aACrC;;sBAGI,MAAM;uBAAC,YAAY","sourcesContent":["import { Component, ChangeDetectionStrategy, Inject } from '@angular/core';\nimport { ResetService } from '@rxap/services';\n\n@Component({\n selector: 'rxap-reset-button',\n templateUrl: './reset-button.component.html',\n styleUrls: ['./reset-button.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'rxap-reset-button' },\n})\nexport class ResetButtonComponent {\n constructor(\n @Inject(ResetService)\n public readonly resetService: ResetService\n ) {}\n}\n","<button (click)=\"resetService.resetAll()\" mat-icon-button>\n <mat-icon>refresh</mat-icon>\n</button>\n"]}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { ResetButtonComponent } from './reset-button.component';
|
|
3
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
4
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class ResetButtonComponentModule {
|
|
7
|
-
}
|
|
8
|
-
ResetButtonComponentModule.ɵfac = function ResetButtonComponentModule_Factory(t) { return new (t || ResetButtonComponentModule)(); };
|
|
9
|
-
ResetButtonComponentModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: ResetButtonComponentModule });
|
|
10
|
-
ResetButtonComponentModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
|
|
11
|
-
MatIconModule,
|
|
12
|
-
MatButtonModule
|
|
13
|
-
]] });
|
|
14
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ResetButtonComponentModule, [{
|
|
15
|
-
type: NgModule,
|
|
16
|
-
args: [{
|
|
17
|
-
declarations: [ResetButtonComponent],
|
|
18
|
-
imports: [
|
|
19
|
-
MatIconModule,
|
|
20
|
-
MatButtonModule
|
|
21
|
-
],
|
|
22
|
-
exports: [ResetButtonComponent]
|
|
23
|
-
}]
|
|
24
|
-
}], null, null); })();
|
|
25
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ResetButtonComponentModule, { declarations: [ResetButtonComponent], imports: [MatIconModule,
|
|
26
|
-
MatButtonModule], exports: [ResetButtonComponent] }); })();
|
|
27
|
-
//# sourceMappingURL=reset-button.component.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reset-button.component.module.js","sourceRoot":"","sources":["../../../../../../../libs/layout/src/lib/header/reset-button/reset-button.component.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;;AAW3D,MAAM,OAAO,0BAA0B;;oGAA1B,0BAA0B;4EAA1B,0BAA0B;gFAN5B;YACP,aAAa;YACb,eAAe;SAChB;uFAGU,0BAA0B;cARtC,QAAQ;eAAC;gBACR,YAAY,EAAE,CAAC,oBAAoB,CAAC;gBACpC,OAAO,EAAE;oBACP,aAAa;oBACb,eAAe;iBAChB;gBACD,OAAO,EAAE,CAAC,oBAAoB,CAAC;aAChC;;wFACY,0BAA0B,mBAPtB,oBAAoB,aAEjC,aAAa;QACb,eAAe,aAEP,oBAAoB","sourcesContent":["import { NgModule } from '@angular/core';\nimport { ResetButtonComponent } from './reset-button.component';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatButtonModule } from '@angular/material/button';\n\n\n@NgModule({\n declarations: [ResetButtonComponent],\n imports: [\n MatIconModule,\n MatButtonModule\n ],\n exports: [ResetButtonComponent]\n})\nexport class ResetButtonComponentModule { }\n"]}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata } from "tslib";
|
|
2
|
-
import { Component, ChangeDetectionStrategy, Input } from '@angular/core';
|
|
3
|
-
import { MatSidenav } from '@angular/material/sidenav';
|
|
4
|
-
import { Required } from '@rxap/utilities';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@angular/material/button";
|
|
7
|
-
import * as i2 from "@angular/common";
|
|
8
|
-
import * as i3 from "@angular/material/icon";
|
|
9
|
-
function SidenavToggleButtonComponent_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
|
|
10
|
-
i0.ɵɵelementStart(0, "mat-icon");
|
|
11
|
-
i0.ɵɵtext(1, "menu");
|
|
12
|
-
i0.ɵɵelementEnd();
|
|
13
|
-
} }
|
|
14
|
-
function SidenavToggleButtonComponent_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
|
|
15
|
-
i0.ɵɵelementStart(0, "mat-icon");
|
|
16
|
-
i0.ɵɵtext(1, "menu_open");
|
|
17
|
-
i0.ɵɵelementEnd();
|
|
18
|
-
} }
|
|
19
|
-
export class SidenavToggleButtonComponent {
|
|
20
|
-
}
|
|
21
|
-
SidenavToggleButtonComponent.ɵfac = function SidenavToggleButtonComponent_Factory(t) { return new (t || SidenavToggleButtonComponent)(); };
|
|
22
|
-
SidenavToggleButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SidenavToggleButtonComponent, selectors: [["rxap-sidenav-toggle-button"]], hostAttrs: [1, "rxap-sidenav-toggle-button"], inputs: { sidenav: "sidenav" }, decls: 3, vars: 2, consts: [["mat-icon-button", "", 3, "click"], [4, "ngIf"]], template: function SidenavToggleButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23
|
-
i0.ɵɵelementStart(0, "button", 0);
|
|
24
|
-
i0.ɵɵlistener("click", function SidenavToggleButtonComponent_Template_button_click_0_listener() { return ctx.sidenav.toggle(); });
|
|
25
|
-
i0.ɵɵtemplate(1, SidenavToggleButtonComponent_mat_icon_1_Template, 2, 0, "mat-icon", 1);
|
|
26
|
-
i0.ɵɵtemplate(2, SidenavToggleButtonComponent_mat_icon_2_Template, 2, 0, "mat-icon", 1);
|
|
27
|
-
i0.ɵɵelementEnd();
|
|
28
|
-
} if (rf & 2) {
|
|
29
|
-
i0.ɵɵadvance(1);
|
|
30
|
-
i0.ɵɵproperty("ngIf", !ctx.sidenav.opened);
|
|
31
|
-
i0.ɵɵadvance(1);
|
|
32
|
-
i0.ɵɵproperty("ngIf", ctx.sidenav.opened);
|
|
33
|
-
} }, directives: [i1.MatButton, i2.NgIf, i3.MatIcon], styles: [""], changeDetection: 0 });
|
|
34
|
-
__decorate([
|
|
35
|
-
Required,
|
|
36
|
-
__metadata("design:type", MatSidenav)
|
|
37
|
-
], SidenavToggleButtonComponent.prototype, "sidenav", void 0);
|
|
38
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidenavToggleButtonComponent, [{
|
|
39
|
-
type: Component,
|
|
40
|
-
args: [{
|
|
41
|
-
selector: 'rxap-sidenav-toggle-button',
|
|
42
|
-
templateUrl: './sidenav-toggle-button.component.html',
|
|
43
|
-
styleUrls: ['./sidenav-toggle-button.component.scss'],
|
|
44
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
45
|
-
host: { class: 'rxap-sidenav-toggle-button' }
|
|
46
|
-
}]
|
|
47
|
-
}], null, { sidenav: [{
|
|
48
|
-
type: Input
|
|
49
|
-
}] }); })();
|
|
50
|
-
//# sourceMappingURL=sidenav-toggle-button.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sidenav-toggle-button.component.js","sourceRoot":"","sources":["../../../../../../../libs/layout/src/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.ts","../../../../../../../libs/layout/src/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.html"],"names":[],"mappings":";AAAA,OAAO,EACL,SAAS,EACT,uBAAuB,EACvB,KAAK,EACN,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;;;;;;ICLzC,gCAAkC;IAAA,oBAAI;IAAA,iBAAW;;;IACjD,gCAAiC;IAAA,yBAAS;IAAA,iBAAW;;ADavD,MAAM,OAAO,4BAA4B;;wGAA5B,4BAA4B;+EAA5B,4BAA4B;QCfzC,iCAAmD;QAA3C,yGAAS,oBAAgB,IAAC;QAChC,uFAAiD;QACjD,uFAAqD;QACvD,iBAAS;;QAFI,eAAqB;QAArB,0CAAqB;QACrB,eAAoB;QAApB,yCAAoB;;ADiB/B;IADC,QAAQ;8BACQ,UAAU;6DAAC;uFAJjB,4BAA4B;cAPxC,SAAS;eAAC;gBACT,QAAQ,EAAS,4BAA4B;gBAC7C,WAAW,EAAM,wCAAwC;gBACzD,SAAS,EAAQ,CAAE,wCAAwC,CAAE;gBAC7D,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,IAAI,EAAa,EAAE,KAAK,EAAE,4BAA4B,EAAE;aACzD;gBAKQ,OAAO;kBAFb,KAAK","sourcesContent":["import {\n Component,\n ChangeDetectionStrategy,\n Input\n} from '@angular/core';\nimport { MatSidenav } from '@angular/material/sidenav';\nimport { Required } from '@rxap/utilities';\n\n@Component({\n selector: 'rxap-sidenav-toggle-button',\n templateUrl: './sidenav-toggle-button.component.html',\n styleUrls: [ './sidenav-toggle-button.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'rxap-sidenav-toggle-button' }\n})\nexport class SidenavToggleButtonComponent {\n\n @Input()\n @Required\n public sidenav!: MatSidenav;\n\n}\n","<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"]}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { SidenavToggleButtonComponent } from './sidenav-toggle-button.component';
|
|
3
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class SidenavToggleButtonComponentModule {
|
|
8
|
-
}
|
|
9
|
-
SidenavToggleButtonComponentModule.ɵfac = function SidenavToggleButtonComponentModule_Factory(t) { return new (t || SidenavToggleButtonComponentModule)(); };
|
|
10
|
-
SidenavToggleButtonComponentModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: SidenavToggleButtonComponentModule });
|
|
11
|
-
SidenavToggleButtonComponentModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
|
|
12
|
-
MatIconModule,
|
|
13
|
-
CommonModule,
|
|
14
|
-
MatButtonModule
|
|
15
|
-
]] });
|
|
16
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SidenavToggleButtonComponentModule, [{
|
|
17
|
-
type: NgModule,
|
|
18
|
-
args: [{
|
|
19
|
-
declarations: [SidenavToggleButtonComponent],
|
|
20
|
-
imports: [
|
|
21
|
-
MatIconModule,
|
|
22
|
-
CommonModule,
|
|
23
|
-
MatButtonModule
|
|
24
|
-
],
|
|
25
|
-
exports: [SidenavToggleButtonComponent]
|
|
26
|
-
}]
|
|
27
|
-
}], null, null); })();
|
|
28
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(SidenavToggleButtonComponentModule, { declarations: [SidenavToggleButtonComponent], imports: [MatIconModule,
|
|
29
|
-
CommonModule,
|
|
30
|
-
MatButtonModule], exports: [SidenavToggleButtonComponent] }); })();
|
|
31
|
-
//# sourceMappingURL=sidenav-toggle-button.component.module.js.map
|
package/esm2015/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.module.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sidenav-toggle-button.component.module.js","sourceRoot":"","sources":["../../../../../../../libs/layout/src/lib/header/sidenav-toggle-button/sidenav-toggle-button.component.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;;AAY3D,MAAM,OAAO,kCAAkC;;oHAAlC,kCAAkC;oFAAlC,kCAAkC;wFAPpC;YACP,aAAa;YACb,YAAY;YACZ,eAAe;SAChB;uFAGU,kCAAkC;cAT9C,QAAQ;eAAC;gBACR,YAAY,EAAE,CAAC,4BAA4B,CAAC;gBAC5C,OAAO,EAAE;oBACP,aAAa;oBACb,YAAY;oBACZ,eAAe;iBAChB;gBACD,OAAO,EAAE,CAAC,4BAA4B,CAAC;aACxC;;wFACY,kCAAkC,mBAR9B,4BAA4B,aAEzC,aAAa;QACb,YAAY;QACZ,eAAe,aAEP,4BAA4B","sourcesContent":["import { NgModule } from '@angular/core';\nimport { SidenavToggleButtonComponent } from './sidenav-toggle-button.component';\nimport { MatIconModule } from '@angular/material/icon';\nimport { CommonModule } from '@angular/common';\nimport { MatButtonModule } from '@angular/material/button';\n\n\n@NgModule({\n declarations: [SidenavToggleButtonComponent],\n imports: [\n MatIconModule,\n CommonModule,\n MatButtonModule\n ],\n exports: [SidenavToggleButtonComponent]\n})\nexport class SidenavToggleButtonComponentModule { }\n"]}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { Component, ChangeDetectionStrategy, Inject } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/material/button";
|
|
5
|
-
import * as i2 from "@rxap/authentication";
|
|
6
|
-
import * as i3 from "@angular/material/icon";
|
|
7
|
-
import * as i4 from "@angular/router";
|
|
8
|
-
export class SignOutComponent {
|
|
9
|
-
constructor(router) {
|
|
10
|
-
this.router = router;
|
|
11
|
-
}
|
|
12
|
-
redirectToRoot() {
|
|
13
|
-
this.router.navigate(['/']);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
SignOutComponent.ɵfac = function SignOutComponent_Factory(t) { return new (t || SignOutComponent)(i0.ɵɵdirectiveInject(Router)); };
|
|
17
|
-
SignOutComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutComponent, selectors: [["rxap-sign-out"]], hostAttrs: [1, "rxap-sign-out"], decls: 3, vars: 0, consts: [["rxapSignOut", "", "mat-icon-button", "", 3, "successful"]], template: function SignOutComponent_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
-
i0.ɵɵelementStart(0, "button", 0);
|
|
19
|
-
i0.ɵɵlistener("successful", function SignOutComponent_Template_button_successful_0_listener() { return ctx.redirectToRoot(); });
|
|
20
|
-
i0.ɵɵelementStart(1, "mat-icon");
|
|
21
|
-
i0.ɵɵtext(2, "login");
|
|
22
|
-
i0.ɵɵelementEnd();
|
|
23
|
-
i0.ɵɵelementEnd();
|
|
24
|
-
} }, directives: [i1.MatButton, i2.SignOutDirective, i3.MatIcon], styles: [""], changeDetection: 0 });
|
|
25
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignOutComponent, [{
|
|
26
|
-
type: Component,
|
|
27
|
-
args: [{
|
|
28
|
-
selector: 'rxap-sign-out',
|
|
29
|
-
templateUrl: './sign-out.component.html',
|
|
30
|
-
styleUrls: ['./sign-out.component.scss'],
|
|
31
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
32
|
-
host: { class: 'rxap-sign-out' }
|
|
33
|
-
}]
|
|
34
|
-
}], function () { return [{ type: i4.Router, decorators: [{
|
|
35
|
-
type: Inject,
|
|
36
|
-
args: [Router]
|
|
37
|
-
}] }]; }, null); })();
|
|
38
|
-
//# sourceMappingURL=sign-out.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sign-out.component.js","sourceRoot":"","sources":["../../../../../../../libs/layout/src/lib/header/sign-out/sign-out.component.ts","../../../../../../../libs/layout/src/lib/header/sign-out/sign-out.component.html"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,uBAAuB,EACvB,MAAM,EACP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;;;;;;AASzC,MAAM,OAAO,gBAAgB;IAE3B,YAEmB,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;IAC9B,CAAC;IAEG,cAAc;QACnB,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAE,GAAG,CAAE,CAAC,CAAC;IAChC,CAAC;;gFATU,gBAAgB,uBAGjB,MAAM;mEAHL,gBAAgB;QCd7B,iCAIC;QAFC,uGAAc,oBAAgB,IAAC;QAG/B,gCAAU;QAAA,qBAAK;QAAA,iBAAW;QAC5B,iBAAS;;uFDQI,gBAAgB;cAP5B,SAAS;eAAC;gBACT,QAAQ,EAAS,eAAe;gBAChC,WAAW,EAAM,2BAA2B;gBAC5C,SAAS,EAAQ,CAAE,2BAA2B,CAAE;gBAChD,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,IAAI,EAAa,EAAE,KAAK,EAAE,eAAe,EAAE;aAC5C;;sBAII,MAAM;uBAAC,MAAM","sourcesContent":["import {\n Component,\n ChangeDetectionStrategy,\n Inject\n} from '@angular/core';\nimport { Router } from '@angular/router';\n\n@Component({\n selector: 'rxap-sign-out',\n templateUrl: './sign-out.component.html',\n styleUrls: [ './sign-out.component.scss' ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'rxap-sign-out' }\n})\nexport class SignOutComponent {\n\n constructor(\n @Inject(Router)\n private readonly router: Router\n ) {}\n\n public redirectToRoot() {\n this.router.navigate([ '/' ]);\n }\n\n}\n","<button\n rxapSignOut\n (successful)=\"redirectToRoot()\"\n mat-icon-button\n>\n <mat-icon>login</mat-icon>\n</button>\n"]}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { SignOutComponent } from './sign-out.component';
|
|
3
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
4
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
5
|
-
import { SignOutDirectiveModule } from '@rxap/authentication';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class SignOutComponentModule {
|
|
8
|
-
}
|
|
9
|
-
SignOutComponentModule.ɵfac = function SignOutComponentModule_Factory(t) { return new (t || SignOutComponentModule)(); };
|
|
10
|
-
SignOutComponentModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: SignOutComponentModule });
|
|
11
|
-
SignOutComponentModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
|
|
12
|
-
MatButtonModule,
|
|
13
|
-
MatIconModule,
|
|
14
|
-
SignOutDirectiveModule,
|
|
15
|
-
]] });
|
|
16
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignOutComponentModule, [{
|
|
17
|
-
type: NgModule,
|
|
18
|
-
args: [{
|
|
19
|
-
declarations: [SignOutComponent],
|
|
20
|
-
imports: [
|
|
21
|
-
MatButtonModule,
|
|
22
|
-
MatIconModule,
|
|
23
|
-
SignOutDirectiveModule,
|
|
24
|
-
],
|
|
25
|
-
exports: [SignOutComponent]
|
|
26
|
-
}]
|
|
27
|
-
}], null, null); })();
|
|
28
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(SignOutComponentModule, { declarations: [SignOutComponent], imports: [MatButtonModule,
|
|
29
|
-
MatIconModule,
|
|
30
|
-
SignOutDirectiveModule], exports: [SignOutComponent] }); })();
|
|
31
|
-
//# sourceMappingURL=sign-out.component.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sign-out.component.module.js","sourceRoot":"","sources":["../../../../../../../libs/layout/src/lib/header/sign-out/sign-out.component.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;;AAY9D,MAAM,OAAO,sBAAsB;;4FAAtB,sBAAsB;wEAAtB,sBAAsB;4EAPxB;YACP,eAAe;YACf,aAAa;YACb,sBAAsB;SACvB;uFAGU,sBAAsB;cATlC,QAAQ;eAAC;gBACR,YAAY,EAAE,CAAC,gBAAgB,CAAC;gBAChC,OAAO,EAAE;oBACP,eAAe;oBACf,aAAa;oBACb,sBAAsB;iBACvB;gBACD,OAAO,EAAE,CAAC,gBAAgB,CAAC;aAC5B;;wFACY,sBAAsB,mBARlB,gBAAgB,aAE7B,eAAe;QACf,aAAa;QACb,sBAAsB,aAEd,gBAAgB","sourcesContent":["import { NgModule } from '@angular/core';\nimport { SignOutComponent } from './sign-out.component';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { SignOutDirectiveModule } from '@rxap/authentication';\n\n\n@NgModule({\n declarations: [SignOutComponent],\n imports: [\n MatButtonModule,\n MatIconModule,\n SignOutDirectiveModule,\n ],\n exports: [SignOutComponent]\n})\nexport class SignOutComponentModule { }\n"]}
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import { Component, ChangeDetectionStrategy, Inject } from '@angular/core';
|
|
2
|
-
import { UserService } from '@rxap/authentication';
|
|
3
|
-
import { map } from 'rxjs/operators';
|
|
4
|
-
import { isDefined } from '@rxap/utilities/rxjs';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@angular/flex-layout/flex";
|
|
7
|
-
import * as i2 from "@angular/material/menu";
|
|
8
|
-
import * as i3 from "@rxap/directives";
|
|
9
|
-
import * as i4 from "@angular/common";
|
|
10
|
-
import * as i5 from "@angular/material/icon";
|
|
11
|
-
import * as i6 from "@rxap/authentication";
|
|
12
|
-
function UserProfileIconComponent_ng_template_5_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
13
|
-
i0.ɵɵelementStart(0, "button", 5);
|
|
14
|
-
i0.ɵɵelementStart(1, "mat-icon");
|
|
15
|
-
i0.ɵɵtext(2, "person");
|
|
16
|
-
i0.ɵɵelementEnd();
|
|
17
|
-
i0.ɵɵelementStart(3, "span");
|
|
18
|
-
i0.ɵɵtext(4);
|
|
19
|
-
i0.ɵɵelementEnd();
|
|
20
|
-
i0.ɵɵelementEnd();
|
|
21
|
-
} if (rf & 2) {
|
|
22
|
-
const user_r2 = i0.ɵɵnextContext().$implicit;
|
|
23
|
-
i0.ɵɵadvance(4);
|
|
24
|
-
i0.ɵɵtextInterpolate2("", user_r2.firstname, " ", user_r2.lastname, "");
|
|
25
|
-
} }
|
|
26
|
-
function UserProfileIconComponent_ng_template_5_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
-
i0.ɵɵelementStart(0, "button", 5);
|
|
28
|
-
i0.ɵɵelementStart(1, "mat-icon");
|
|
29
|
-
i0.ɵɵtext(2, "person");
|
|
30
|
-
i0.ɵɵelementEnd();
|
|
31
|
-
i0.ɵɵelementStart(3, "span");
|
|
32
|
-
i0.ɵɵtext(4);
|
|
33
|
-
i0.ɵɵelementEnd();
|
|
34
|
-
i0.ɵɵelementEnd();
|
|
35
|
-
} if (rf & 2) {
|
|
36
|
-
const user_r2 = i0.ɵɵnextContext().$implicit;
|
|
37
|
-
i0.ɵɵadvance(4);
|
|
38
|
-
i0.ɵɵtextInterpolate(user_r2.name);
|
|
39
|
-
} }
|
|
40
|
-
function UserProfileIconComponent_ng_template_5_button_2_Template(rf, ctx) { if (rf & 1) {
|
|
41
|
-
i0.ɵɵelementStart(0, "button", 5);
|
|
42
|
-
i0.ɵɵelementStart(1, "mat-icon");
|
|
43
|
-
i0.ɵɵtext(2, "account_circle");
|
|
44
|
-
i0.ɵɵelementEnd();
|
|
45
|
-
i0.ɵɵelementStart(3, "span");
|
|
46
|
-
i0.ɵɵtext(4);
|
|
47
|
-
i0.ɵɵelementEnd();
|
|
48
|
-
i0.ɵɵelementEnd();
|
|
49
|
-
} if (rf & 2) {
|
|
50
|
-
const user_r2 = i0.ɵɵnextContext().$implicit;
|
|
51
|
-
i0.ɵɵadvance(4);
|
|
52
|
-
i0.ɵɵtextInterpolate(user_r2.username);
|
|
53
|
-
} }
|
|
54
|
-
function UserProfileIconComponent_ng_template_5_button_3_Template(rf, ctx) { if (rf & 1) {
|
|
55
|
-
i0.ɵɵelementStart(0, "button", 5);
|
|
56
|
-
i0.ɵɵelementStart(1, "mat-icon");
|
|
57
|
-
i0.ɵɵtext(2, "email");
|
|
58
|
-
i0.ɵɵelementEnd();
|
|
59
|
-
i0.ɵɵelementStart(3, "span");
|
|
60
|
-
i0.ɵɵtext(4);
|
|
61
|
-
i0.ɵɵelementEnd();
|
|
62
|
-
i0.ɵɵelementEnd();
|
|
63
|
-
} if (rf & 2) {
|
|
64
|
-
const user_r2 = i0.ɵɵnextContext().$implicit;
|
|
65
|
-
i0.ɵɵadvance(4);
|
|
66
|
-
i0.ɵɵtextInterpolate(user_r2.email);
|
|
67
|
-
} }
|
|
68
|
-
function UserProfileIconComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
69
|
-
i0.ɵɵtemplate(0, UserProfileIconComponent_ng_template_5_button_0_Template, 5, 2, "button", 4);
|
|
70
|
-
i0.ɵɵtemplate(1, UserProfileIconComponent_ng_template_5_button_1_Template, 5, 1, "button", 4);
|
|
71
|
-
i0.ɵɵtemplate(2, UserProfileIconComponent_ng_template_5_button_2_Template, 5, 1, "button", 4);
|
|
72
|
-
i0.ɵɵtemplate(3, UserProfileIconComponent_ng_template_5_button_3_Template, 5, 1, "button", 4);
|
|
73
|
-
} if (rf & 2) {
|
|
74
|
-
const user_r2 = ctx.$implicit;
|
|
75
|
-
i0.ɵɵproperty("ngIf", user_r2.firstname && user_r2.lastname);
|
|
76
|
-
i0.ɵɵadvance(1);
|
|
77
|
-
i0.ɵɵproperty("ngIf", user_r2.name);
|
|
78
|
-
i0.ɵɵadvance(1);
|
|
79
|
-
i0.ɵɵproperty("ngIf", user_r2.username);
|
|
80
|
-
i0.ɵɵadvance(1);
|
|
81
|
-
i0.ɵɵproperty("ngIf", user_r2.email);
|
|
82
|
-
} }
|
|
83
|
-
export class UserProfileIconComponent {
|
|
84
|
-
constructor(userService) {
|
|
85
|
-
this.userService = userService;
|
|
86
|
-
this.userProfileUrl$ = this.userService.user$.pipe(isDefined(), map((user) => { var _a; return (_a = user.photoURL) !== null && _a !== void 0 ? _a : user.avatarUrl; }));
|
|
87
|
-
this.userName$ = this.userService.user$.pipe(isDefined(), map((user) => {
|
|
88
|
-
var _a, _b;
|
|
89
|
-
return (_b = (_a = user.name) !== null && _a !== void 0 ? _a : (user.firstname || user.lastname
|
|
90
|
-
? [user.firstname, user.lastname].join(' ').trim()
|
|
91
|
-
: null)) !== null && _b !== void 0 ? _b : user.username;
|
|
92
|
-
}));
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
UserProfileIconComponent.ɵfac = function UserProfileIconComponent_Factory(t) { return new (t || UserProfileIconComponent)(i0.ɵɵdirectiveInject(UserService)); };
|
|
96
|
-
UserProfileIconComponent.ɵ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) {
|
|
97
|
-
i0.ɵɵelement(0, "button", 0);
|
|
98
|
-
i0.ɵɵpipe(1, "async");
|
|
99
|
-
i0.ɵɵpipe(2, "async");
|
|
100
|
-
i0.ɵɵelementStart(3, "mat-menu", 1, 2);
|
|
101
|
-
i0.ɵɵtemplate(5, UserProfileIconComponent_ng_template_5_Template, 4, 4, "ng-template", 3);
|
|
102
|
-
i0.ɵɵpipe(6, "async");
|
|
103
|
-
i0.ɵɵelementEnd();
|
|
104
|
-
} if (rf & 2) {
|
|
105
|
-
const _r0 = i0.ɵɵreference(4);
|
|
106
|
-
let tmp_2_0;
|
|
107
|
-
i0.ɵɵproperty("matMenuTriggerFor", _r0)("rxapAvatarBackgroundImage", i0.ɵɵpipeBind1(1, 5, ctx.userProfileUrl$))("name", (tmp_2_0 = i0.ɵɵpipeBind1(2, 7, ctx.userName$)) !== null && tmp_2_0 !== undefined ? tmp_2_0 : "");
|
|
108
|
-
i0.ɵɵadvance(3);
|
|
109
|
-
i0.ɵɵproperty("yPosition", "below");
|
|
110
|
-
i0.ɵɵadvance(2);
|
|
111
|
-
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(6, 9, ctx.userService.user$));
|
|
112
|
-
} }, directives: [i1.DefaultLayoutDirective, i1.DefaultLayoutAlignDirective, i2.MatMenuTrigger, i3.AvatarBackgroundImageDirective, i2.MatMenu, i4.NgIf, i2.MatMenuItem, i5.MatIcon], pipes: [i4.AsyncPipe], styles: [".profile-icon[_ngcontent-%COMP%]{border-radius:100%;border:none;height:32px;width:32px;overflow:hidden;background-position:50%;background-repeat:no-repeat;background-size:cover}.profile-icon[_ngcontent-%COMP%]:hover{cursor:pointer}.profile-icon[_ngcontent-%COMP%]:focus{outline:none}"], changeDetection: 0 });
|
|
113
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UserProfileIconComponent, [{
|
|
114
|
-
type: Component,
|
|
115
|
-
args: [{
|
|
116
|
-
selector: 'rxap-user-profile-icon',
|
|
117
|
-
templateUrl: './user-profile-icon.component.html',
|
|
118
|
-
styleUrls: ['./user-profile-icon.component.scss'],
|
|
119
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
120
|
-
host: { class: 'rxap-user-profile-icon' },
|
|
121
|
-
}]
|
|
122
|
-
}], function () { return [{ type: i6.UserService, decorators: [{
|
|
123
|
-
type: Inject,
|
|
124
|
-
args: [UserService]
|
|
125
|
-
}] }]; }, null); })();
|
|
126
|
-
//# sourceMappingURL=user-profile-icon.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-profile-icon.component.js","sourceRoot":"","sources":["../../../../../../../libs/layout/src/lib/header/user-profile-icon/user-profile-icon.component.ts","../../../../../../../libs/layout/src/lib/header/user-profile-icon/user-profile-icon.component.html"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,uBAAuB,EACvB,MAAM,EACP,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;;;;;;;;;ICE7C,iCAA8D;IAC5D,gCAAU;IAAA,sBAAM;IAAA,iBAAW;IAC3B,4BAAM;IAAA,YAAoC;IAAA,iBAAO;IACnD,iBAAS;;;IADD,eAAoC;IAApC,uEAAoC;;;IAE5C,iCAAwC;IACtC,gCAAU;IAAA,sBAAM;IAAA,iBAAW;IAC3B,4BAAM;IAAA,YAAa;IAAA,iBAAO;IAC5B,iBAAS;;;IADD,eAAa;IAAb,kCAAa;;;IAErB,iCAA4C;IAC1C,gCAAU;IAAA,8BAAc;IAAA,iBAAW;IACnC,4BAAM;IAAA,YAAiB;IAAA,iBAAO;IAChC,iBAAS;;;IADD,eAAiB;IAAjB,sCAAiB;;;IAEzB,iCAAyC;IACvC,gCAAU;IAAA,qBAAK;IAAA,iBAAW;IAC1B,4BAAM;IAAA,YAAc;IAAA,iBAAO;IAC7B,iBAAS;;;IADD,eAAc;IAAd,mCAAc;;;IAdtB,6FAGS;IACT,6FAGS;IACT,6FAGS;IACT,6FAGS;;;IAfA,4DAAqC;IAIrC,eAAe;IAAf,mCAAe;IAIf,eAAmB;IAAnB,uCAAmB;IAInB,eAAgB;IAAhB,oCAAgB;;ADL7B,MAAM,OAAO,wBAAwB;IAInC,YAES,WAAwB;QAAxB,gBAAW,GAAX,WAAW,CAAa;QAE/B,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,IAAI,CAChD,SAAS,EAAE,EACX,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,WAAC,OAAA,MAAA,IAAI,CAAC,QAAQ,mCAAI,IAAI,CAAC,SAAS,CAAA,EAAA,CAAC,CAC/C,CAAC;QACF,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,IAAI,CAC1C,SAAS,EAAE,EACX,GAAG,CACD,CAAC,IAAI,EAAE,EAAE;;YACP,OAAA,MAAA,MAAA,IAAI,CAAC,IAAI,mCACT,CAAC,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,QAAQ;gBAC9B,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;gBAClD,CAAC,CAAC,IAAI,CAAC,mCACT,IAAI,CAAC,QAAQ,CAAA;SAAA,CAChB,CACF,CAAC;IACJ,CAAC;;gGAvBU,wBAAwB,uBAKzB,WAAW;2EALV,wBAAwB;QCjBrC,4BAMS;;;QAET,sCAAgD;QAC9C,yFAiBc;;QAChB,iBAAW;;;;QA3BH,uCAA0B,wEAAA,0GAAA;QAQR,eAAqB;QAArB,mCAAqB;QAChC,eAAkC;QAAlC,kEAAkC;;uFDQpC,wBAAwB;cAPpC,SAAS;eAAC;gBACT,QAAQ,EAAE,wBAAwB;gBAClC,WAAW,EAAE,oCAAoC;gBACjD,SAAS,EAAE,CAAC,oCAAoC,CAAC;gBACjD,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,IAAI,EAAE,EAAE,KAAK,EAAE,wBAAwB,EAAE;aAC1C;;sBAMI,MAAM;uBAAC,WAAW","sourcesContent":["import {\n Component,\n ChangeDetectionStrategy,\n Inject\n} from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { UserService } from '@rxap/authentication';\nimport { map } from 'rxjs/operators';\nimport { isDefined } from '@rxap/utilities/rxjs';\n\n@Component({\n selector: 'rxap-user-profile-icon',\n templateUrl: './user-profile-icon.component.html',\n styleUrls: ['./user-profile-icon.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'rxap-user-profile-icon' },\n})\nexport class UserProfileIconComponent {\n public userProfileUrl$: Observable<string | undefined>;\n public userName$: Observable<string>;\n\n constructor(\n @Inject(UserService)\n public userService: UserService\n ) {\n this.userProfileUrl$ = this.userService.user$.pipe(\n isDefined(),\n map((user) => user.photoURL ?? user.avatarUrl)\n );\n this.userName$ = this.userService.user$.pipe(\n isDefined(),\n map(\n (user) =>\n user.name ??\n (user.firstname || user.lastname\n ? [user.firstname, user.lastname].join(' ').trim()\n : null) ??\n user.username\n )\n );\n }\n}\n","<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"]}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { UserProfileIconComponent } from './user-profile-icon.component';
|
|
3
|
-
import { MatMenuModule } from '@angular/material/menu';
|
|
4
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
5
|
-
import { CommonModule } from '@angular/common';
|
|
6
|
-
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
7
|
-
import { AvatarBackgroundImageDirectiveModule } from '@rxap/directives';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export class UserProfileIconComponentModule {
|
|
10
|
-
}
|
|
11
|
-
UserProfileIconComponentModule.ɵfac = function UserProfileIconComponentModule_Factory(t) { return new (t || UserProfileIconComponentModule)(); };
|
|
12
|
-
UserProfileIconComponentModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: UserProfileIconComponentModule });
|
|
13
|
-
UserProfileIconComponentModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
|
|
14
|
-
MatMenuModule,
|
|
15
|
-
MatIconModule,
|
|
16
|
-
CommonModule,
|
|
17
|
-
FlexLayoutModule,
|
|
18
|
-
AvatarBackgroundImageDirectiveModule,
|
|
19
|
-
]] });
|
|
20
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UserProfileIconComponentModule, [{
|
|
21
|
-
type: NgModule,
|
|
22
|
-
args: [{
|
|
23
|
-
declarations: [UserProfileIconComponent],
|
|
24
|
-
imports: [
|
|
25
|
-
MatMenuModule,
|
|
26
|
-
MatIconModule,
|
|
27
|
-
CommonModule,
|
|
28
|
-
FlexLayoutModule,
|
|
29
|
-
AvatarBackgroundImageDirectiveModule,
|
|
30
|
-
],
|
|
31
|
-
exports: [UserProfileIconComponent]
|
|
32
|
-
}]
|
|
33
|
-
}], null, null); })();
|
|
34
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(UserProfileIconComponentModule, { declarations: [UserProfileIconComponent], imports: [MatMenuModule,
|
|
35
|
-
MatIconModule,
|
|
36
|
-
CommonModule,
|
|
37
|
-
FlexLayoutModule,
|
|
38
|
-
AvatarBackgroundImageDirectiveModule], exports: [UserProfileIconComponent] }); })();
|
|
39
|
-
//# sourceMappingURL=user-profile-icon.component.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user-profile-icon.component.module.js","sourceRoot":"","sources":["../../../../../../../libs/layout/src/lib/header/user-profile-icon/user-profile-icon.component.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,oCAAoC,EAAE,MAAM,kBAAkB,CAAC;;AAcxE,MAAM,OAAO,8BAA8B;;4GAA9B,8BAA8B;gFAA9B,8BAA8B;oFAThC;YACP,aAAa;YACb,aAAa;YACb,YAAY;YACZ,gBAAgB;YAChB,oCAAoC;SACrC;uFAGU,8BAA8B;cAX1C,QAAQ;eAAC;gBACR,YAAY,EAAE,CAAC,wBAAwB,CAAC;gBACxC,OAAO,EAAE;oBACP,aAAa;oBACb,aAAa;oBACb,YAAY;oBACZ,gBAAgB;oBAChB,oCAAoC;iBACrC;gBACD,OAAO,EAAE,CAAC,wBAAwB,CAAC;aACpC;;wFACY,8BAA8B,mBAV1B,wBAAwB,aAErC,aAAa;QACb,aAAa;QACb,YAAY;QACZ,gBAAgB;QAChB,oCAAoC,aAE5B,wBAAwB","sourcesContent":["import { NgModule } from '@angular/core';\nimport { UserProfileIconComponent } from './user-profile-icon.component';\nimport { MatMenuModule } from '@angular/material/menu';\nimport { MatIconModule } from '@angular/material/icon';\nimport { CommonModule } from '@angular/common';\nimport { FlexLayoutModule } from '@angular/flex-layout';\nimport { AvatarBackgroundImageDirectiveModule } from '@rxap/directives';\n\n\n@NgModule({\n declarations: [UserProfileIconComponent],\n imports: [\n MatMenuModule,\n MatIconModule,\n CommonModule,\n FlexLayoutModule,\n AvatarBackgroundImageDirectiveModule,\n ],\n exports: [UserProfileIconComponent]\n})\nexport class UserProfileIconComponentModule { }\n"]}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { Component, ChangeDetectionStrategy, ViewChild } from '@angular/core';
|
|
2
|
-
import { LayoutComponentService } from './layout.component.service';
|
|
3
|
-
import { MatSidenav } from '@angular/material/sidenav';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "./layout.component.service";
|
|
6
|
-
import * as i2 from "../header/header.component";
|
|
7
|
-
import * as i3 from "@angular/material/sidenav";
|
|
8
|
-
import * as i4 from "../sidenav/sidenav.component";
|
|
9
|
-
import * as i5 from "../sidenav/sidenav-header.directive";
|
|
10
|
-
import * as i6 from "../sidenav-content/sidenav-content.component";
|
|
11
|
-
import * as i7 from "../toggle-window-sidenav-button/toggle-window-sidenav-button.component";
|
|
12
|
-
import * as i8 from "../window-container-sidenav/window-container-sidenav.component";
|
|
13
|
-
import * as i9 from "../footer/footer.component";
|
|
14
|
-
import * as i10 from "@angular/router";
|
|
15
|
-
import * as i11 from "@angular/common";
|
|
16
|
-
const _c0 = function () { return ["/"]; };
|
|
17
|
-
function LayoutComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
-
i0.ɵɵelement(0, "img", 9);
|
|
19
|
-
} if (rf & 2) {
|
|
20
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
21
|
-
i0.ɵɵproperty("routerLink", i0.ɵɵpureFunction0(3, _c0))("width", ctx_r0.layoutComponentService.logo.width)("src", ctx_r0.layoutComponentService.logo.src, i0.ɵɵsanitizeUrl);
|
|
22
|
-
} }
|
|
23
|
-
const _c1 = ["*"];
|
|
24
|
-
export class LayoutComponent {
|
|
25
|
-
constructor(layoutComponentService) {
|
|
26
|
-
this.layoutComponentService = layoutComponentService;
|
|
27
|
-
this.openWindowSidenav = false;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
LayoutComponent.ɵfac = function LayoutComponent_Factory(t) { return new (t || LayoutComponent)(i0.ɵɵdirectiveInject(i1.LayoutComponentService)); };
|
|
31
|
-
LayoutComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LayoutComponent, selectors: [["rxap-layout"]], viewQuery: function LayoutComponent_Query(rf, ctx) { if (rf & 1) {
|
|
32
|
-
i0.ɵɵviewQuery(MatSidenav, 7);
|
|
33
|
-
} if (rf & 2) {
|
|
34
|
-
let _t;
|
|
35
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sidenav = _t.first);
|
|
36
|
-
} }, 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) {
|
|
37
|
-
i0.ɵɵprojectionDef();
|
|
38
|
-
i0.ɵɵelement(0, "rxap-header", 0);
|
|
39
|
-
i0.ɵɵelementStart(1, "mat-sidenav-container", 1);
|
|
40
|
-
i0.ɵɵelementStart(2, "mat-sidenav", 2);
|
|
41
|
-
i0.ɵɵpipe(3, "async");
|
|
42
|
-
i0.ɵɵpipe(4, "async");
|
|
43
|
-
i0.ɵɵpipe(5, "async");
|
|
44
|
-
i0.ɵɵpipe(6, "async");
|
|
45
|
-
i0.ɵɵelementStart(7, "rxap-sidenav");
|
|
46
|
-
i0.ɵɵtemplate(8, LayoutComponent_ng_template_8_Template, 1, 4, "ng-template", 3);
|
|
47
|
-
i0.ɵɵelementEnd();
|
|
48
|
-
i0.ɵɵelementEnd();
|
|
49
|
-
i0.ɵɵelementStart(9, "mat-sidenav-content", 4);
|
|
50
|
-
i0.ɵɵelementStart(10, "rxap-sidenav-content", 5);
|
|
51
|
-
i0.ɵɵprojection(11);
|
|
52
|
-
i0.ɵɵelementStart(12, "rxap-toggle-window-sidenav-button", 6);
|
|
53
|
-
i0.ɵɵlistener("openWindowSidenavChange", function LayoutComponent_Template_rxap_toggle_window_sidenav_button_openWindowSidenavChange_12_listener($event) { return ctx.openWindowSidenav = $event; });
|
|
54
|
-
i0.ɵɵelementEnd();
|
|
55
|
-
i0.ɵɵelementEnd();
|
|
56
|
-
i0.ɵɵelementEnd();
|
|
57
|
-
i0.ɵɵelementStart(13, "mat-sidenav", 7);
|
|
58
|
-
i0.ɵɵpipe(14, "async");
|
|
59
|
-
i0.ɵɵpipe(15, "async");
|
|
60
|
-
i0.ɵɵelement(16, "rxap-window-container-sidenav");
|
|
61
|
-
i0.ɵɵelementEnd();
|
|
62
|
-
i0.ɵɵelementEnd();
|
|
63
|
-
i0.ɵɵelement(17, "rxap-footer", 8);
|
|
64
|
-
} if (rf & 2) {
|
|
65
|
-
let tmp_4_0;
|
|
66
|
-
let tmp_5_0;
|
|
67
|
-
i0.ɵɵproperty("sidenav", ctx.sidenav);
|
|
68
|
-
i0.ɵɵadvance(2);
|
|
69
|
-
i0.ɵɵproperty("fixedBottomGap", i0.ɵɵpipeBind1(3, 12, ctx.layoutComponentService.fixedBottomGap$))("fixedInViewport", true)("fixedTopGap", i0.ɵɵpipeBind1(4, 14, ctx.layoutComponentService.fixedTopGap$))("mode", (tmp_4_0 = i0.ɵɵpipeBind1(5, 16, ctx.layoutComponentService.mode$)) !== null && tmp_4_0 !== undefined ? tmp_4_0 : "side")("opened", (tmp_5_0 = i0.ɵɵpipeBind1(6, 18, ctx.layoutComponentService.opened$)) !== null && tmp_5_0 !== undefined ? tmp_5_0 : true);
|
|
70
|
-
i0.ɵɵadvance(8);
|
|
71
|
-
i0.ɵɵproperty("sidenav", ctx.sidenav);
|
|
72
|
-
i0.ɵɵadvance(2);
|
|
73
|
-
i0.ɵɵproperty("openWindowSidenav", ctx.openWindowSidenav);
|
|
74
|
-
i0.ɵɵadvance(1);
|
|
75
|
-
i0.ɵɵproperty("fixedBottomGap", i0.ɵɵpipeBind1(14, 20, ctx.layoutComponentService.fixedBottomGap$))("fixedInViewport", true)("fixedTopGap", i0.ɵɵpipeBind1(15, 22, ctx.layoutComponentService.fixedTopGap$))("opened", ctx.openWindowSidenav);
|
|
76
|
-
} }, directives: [i2.HeaderComponent, i3.MatSidenavContainer, i3.MatSidenav, i4.SidenavComponent, i5.SidenavHeaderDirective, i3.MatSidenavContent, i6.SidenavContentComponent, i7.ToggleWindowSidenavButtonComponent, i8.WindowContainerSidenavComponent, i9.FooterComponent, i10.RouterLink], pipes: [i11.AsyncPipe], styles: [".container[_ngcontent-%COMP%], .content[_ngcontent-%COMP%]{height:100%}.sidenav[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:auto}.sidenav[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{padding:16px}.footer[_ngcontent-%COMP%]{bottom:0}.footer[_ngcontent-%COMP%], .header[_ngcontent-%COMP%]{position:fixed;left:0;right:0;z-index:100}.header[_ngcontent-%COMP%]{top:0}"], changeDetection: 0 });
|
|
77
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LayoutComponent, [{
|
|
78
|
-
type: Component,
|
|
79
|
-
args: [{
|
|
80
|
-
selector: 'rxap-layout',
|
|
81
|
-
templateUrl: './layout.component.html',
|
|
82
|
-
styleUrls: ['./layout.component.scss'],
|
|
83
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
84
|
-
}]
|
|
85
|
-
}], function () { return [{ type: i1.LayoutComponentService }]; }, { sidenav: [{
|
|
86
|
-
type: ViewChild,
|
|
87
|
-
args: [MatSidenav, { static: true }]
|
|
88
|
-
}] }); })();
|
|
89
|
-
//# sourceMappingURL=layout.component.js.map
|