@covalent/core 9.1.3 → 10.0.1
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/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +1 -1
- package/breadcrumbs/breadcrumbs.component.d.ts +1 -1
- package/breadcrumbs/breadcrumbs.module.d.ts +5 -3
- package/common/common.module.d.ts +5 -1
- package/common/directives/fullscreen/fullscreen.directive.d.ts +1 -1
- package/common/forms/auto-trim/auto-trim.directive.d.ts +1 -1
- package/common/material-icons.css +1 -1
- package/common/pipes/bytes/bytes.pipe.d.ts +1 -1
- package/common/pipes/decimal-bytes/decimal-bytes.pipe.d.ts +1 -1
- package/common/pipes/digits/digits.pipe.d.ts +1 -1
- package/common/pipes/time-ago/time-ago.pipe.d.ts +1 -1
- package/common/pipes/time-difference/time-difference.pipe.d.ts +1 -1
- package/common/pipes/time-until/time-until.pipe.d.ts +1 -1
- package/common/pipes/truncate/truncate.pipe.d.ts +1 -1
- package/common/platform.css +1 -1
- package/common/platform.css.map +1 -1
- package/dialogs/alert-dialog/alert-dialog.component.d.ts +1 -1
- package/dialogs/confirm-dialog/confirm-dialog.component.d.ts +1 -1
- package/dialogs/dialog.component.d.ts +5 -5
- package/dialogs/dialogs.module.d.ts +5 -9
- package/dialogs/prompt-dialog/prompt-dialog.component.d.ts +1 -1
- package/dialogs/status-dialog/status-dialog.component.d.ts +1 -1
- package/dialogs/window-dialog/window-dialog.component.d.ts +1 -1
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.d.ts +1 -1
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.d.ts +1 -1
- package/dynamic-menu/dynamic-menu.component.d.ts +1 -1
- package/dynamic-menu/dynamic-menu.module.d.ts +5 -7
- package/fesm2022/covalent-core-breadcrumbs.mjs +83 -44
- package/fesm2022/covalent-core-breadcrumbs.mjs.map +1 -1
- package/fesm2022/covalent-core-common.mjs +146 -138
- package/fesm2022/covalent-core-common.mjs.map +1 -1
- package/fesm2022/covalent-core-dialogs.mjs +448 -169
- package/fesm2022/covalent-core-dialogs.mjs.map +1 -1
- package/fesm2022/covalent-core-dynamic-menu.mjs +351 -82
- package/fesm2022/covalent-core-dynamic-menu.mjs.map +1 -1
- package/fesm2022/covalent-core-file.mjs +256 -181
- package/fesm2022/covalent-core-file.mjs.map +1 -1
- package/fesm2022/covalent-core-json-formatter.mjs +119 -31
- package/fesm2022/covalent-core-json-formatter.mjs.map +1 -1
- package/fesm2022/covalent-core-layout.mjs +738 -384
- package/fesm2022/covalent-core-layout.mjs.map +1 -1
- package/fesm2022/covalent-core-loading.mjs +98 -76
- package/fesm2022/covalent-core-loading.mjs.map +1 -1
- package/fesm2022/covalent-core-menu.mjs +33 -19
- package/fesm2022/covalent-core-menu.mjs.map +1 -1
- package/fesm2022/covalent-core-message.mjs +112 -53
- package/fesm2022/covalent-core-message.mjs.map +1 -1
- package/fesm2022/covalent-core-search.mjs +260 -193
- package/fesm2022/covalent-core-search.mjs.map +1 -1
- package/fesm2022/covalent-core-side-sheet.mjs +224 -192
- package/fesm2022/covalent-core-side-sheet.mjs.map +1 -1
- package/fesm2022/covalent-core-user-profile.mjs +118 -59
- package/fesm2022/covalent-core-user-profile.mjs.map +1 -1
- package/file/directives/file-drop.directive.d.ts +1 -1
- package/file/directives/file-select.directive.d.ts +1 -1
- package/file/file-input/file-input.component.d.ts +2 -2
- package/file/file-upload/file-upload.component.d.ts +1 -1
- package/file/file.module.d.ts +5 -6
- package/json-formatter/json-formatter.component.d.ts +1 -1
- package/json-formatter/json-formatter.module.d.ts +5 -4
- package/layout/layout-card-over/layout-card-over.component.d.ts +1 -1
- package/layout/layout-footer/layout-footer.component.d.ts +1 -1
- package/layout/layout-manage-list/layout-manage-list.component.d.ts +1 -1
- package/layout/layout-manage-list/layout-manage-list.directives.d.ts +3 -3
- package/layout/layout-nav/layout-nav.component.d.ts +1 -1
- package/layout/layout-nav-list/layout-nav-list.component.d.ts +1 -1
- package/layout/layout-nav-list/layout-nav-list.directives.d.ts +3 -3
- package/layout/layout-toggle.class.d.ts +1 -1
- package/layout/layout.component.d.ts +1 -1
- package/layout/layout.directives.d.ts +3 -3
- package/layout/layout.module.d.ts +5 -10
- package/layout/navigation-drawer/navigation-drawer.component.d.ts +3 -3
- package/loading/directives/loading.directive.d.ts +1 -1
- package/loading/loading.component.d.ts +1 -1
- package/loading/loading.module.d.ts +1 -6
- package/menu/menu.component.d.ts +1 -1
- package/menu/menu.module.d.ts +5 -4
- package/message/message.component.d.ts +2 -2
- package/message/message.module.d.ts +5 -3
- package/package.json +13 -38
- package/search/search-box/search-box.component.d.ts +1 -1
- package/search/search-input/search-input.component.d.ts +1 -1
- package/search/search.module.d.ts +5 -6
- package/side-sheet/side-sheet-container.d.ts +2 -2
- package/side-sheet/side-sheet.content-directives.d.ts +5 -5
- package/side-sheet/side-sheet.d.ts +1 -1
- package/side-sheet/side-sheet.module.d.ts +5 -4
- package/theming/prebuilt/all-theme-dark.css +1 -1
- package/theming/prebuilt/all-theme-dark.css.map +1 -1
- package/theming/prebuilt/all-theme-light.css +1 -1
- package/theming/prebuilt/all-theme-light.css.map +1 -1
- package/theming/prebuilt/blue-grey-deep-orange.css +1 -1
- package/theming/prebuilt/blue-grey-deep-orange.css.map +1 -1
- package/theming/prebuilt/blue-orange.css +1 -1
- package/theming/prebuilt/blue-orange.css.map +1 -1
- package/theming/prebuilt/indigo-pink.css +1 -1
- package/theming/prebuilt/indigo-pink.css.map +1 -1
- package/theming/prebuilt/orange-light-blue.css +1 -1
- package/theming/prebuilt/orange-light-blue.css.map +1 -1
- package/theming/prebuilt/teal-orange.css +1 -1
- package/theming/prebuilt/teal-orange.css.map +1 -1
- package/user-profile/user-profile-menu/user-profile-menu.component.d.ts +1 -1
- package/user-profile/user-profile.component.d.ts +1 -1
- package/user-profile/user-profile.module.d.ts +5 -8
- package/esm2022/breadcrumbs/breadcrumb/breadcrumb.component.mjs +0 -94
- package/esm2022/breadcrumbs/breadcrumbs.component.mjs +0 -142
- package/esm2022/breadcrumbs/breadcrumbs.module.mjs +0 -20
- package/esm2022/breadcrumbs/covalent-core-breadcrumbs.mjs +0 -5
- package/esm2022/breadcrumbs/public_api.mjs +0 -4
- package/esm2022/common/animations/bounce/bounce.animation.mjs +0 -70
- package/esm2022/common/animations/collapse/collapse.animation.mjs +0 -51
- package/esm2022/common/animations/common/interfaces.mjs +0 -2
- package/esm2022/common/animations/fade/fadeInOut.animation.mjs +0 -37
- package/esm2022/common/animations/flash/flash.animation.mjs +0 -34
- package/esm2022/common/animations/headshake/headshake.animation.mjs +0 -47
- package/esm2022/common/animations/jello/jello.animation.mjs +0 -59
- package/esm2022/common/animations/pulse/pulse.animation.mjs +0 -32
- package/esm2022/common/animations/rotate/rotate.animation.mjs +0 -30
- package/esm2022/common/behaviors/control-value-accesor.mixin.mjs +0 -43
- package/esm2022/common/behaviors/disable-ripple.mixin.mjs +0 -24
- package/esm2022/common/behaviors/disabled.mixin.mjs +0 -24
- package/esm2022/common/common.module.mjs +0 -83
- package/esm2022/common/covalent-core-common.mjs +0 -5
- package/esm2022/common/directives/fullscreen/fullscreen.directive.mjs +0 -87
- package/esm2022/common/forms/auto-trim/auto-trim.directive.mjs +0 -37
- package/esm2022/common/forms/validators/validators.mjs +0 -29
- package/esm2022/common/functions/clipboard.mjs +0 -23
- package/esm2022/common/functions/convert.mjs +0 -84
- package/esm2022/common/functions/download.mjs +0 -75
- package/esm2022/common/functions/file.mjs +0 -16
- package/esm2022/common/pipes/bytes/bytes.pipe.mjs +0 -42
- package/esm2022/common/pipes/decimal-bytes/decimal-bytes.pipe.mjs +0 -42
- package/esm2022/common/pipes/digits/digits.pipe.mjs +0 -41
- package/esm2022/common/pipes/time-ago/time-ago.pipe.mjs +0 -72
- package/esm2022/common/pipes/time-difference/time-difference.pipe.mjs +0 -51
- package/esm2022/common/pipes/time-until/time-until.pipe.mjs +0 -72
- package/esm2022/common/pipes/truncate/truncate.pipe.mjs +0 -27
- package/esm2022/common/public_api.mjs +0 -39
- package/esm2022/common/services/icon.service.mjs +0 -1087
- package/esm2022/common/services/router-path.service.mjs +0 -30
- package/esm2022/covalent-core.mjs +0 -5
- package/esm2022/dialogs/alert-dialog/alert-dialog.component.mjs +0 -26
- package/esm2022/dialogs/confirm-dialog/confirm-dialog.component.mjs +0 -31
- package/esm2022/dialogs/covalent-core-dialogs.mjs +0 -5
- package/esm2022/dialogs/dialog.component.mjs +0 -75
- package/esm2022/dialogs/dialogs.module.mjs +0 -94
- package/esm2022/dialogs/prompt-dialog/prompt-dialog.component.mjs +0 -84
- package/esm2022/dialogs/public_api.mjs +0 -10
- package/esm2022/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.mjs +0 -222
- package/esm2022/dialogs/services/dialog.service.mjs +0 -215
- package/esm2022/dialogs/status-dialog/status-dialog.component.mjs +0 -55
- package/esm2022/dialogs/window-dialog/window-dialog.component.mjs +0 -40
- package/esm2022/dynamic-menu/covalent-core-dynamic-menu.mjs +0 -5
- package/esm2022/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.mjs +0 -30
- package/esm2022/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.mjs +0 -23
- package/esm2022/dynamic-menu/dynamic-menu.component.mjs +0 -28
- package/esm2022/dynamic-menu/dynamic-menu.menu.mjs +0 -2
- package/esm2022/dynamic-menu/dynamic-menu.module.mjs +0 -55
- package/esm2022/dynamic-menu/public_api.mjs +0 -6
- package/esm2022/file/covalent-core-file.mjs +0 -5
- package/esm2022/file/directives/file-drop.directive.mjs +0 -145
- package/esm2022/file/directives/file-select.directive.mjs +0 -78
- package/esm2022/file/file-input/file-input.component.mjs +0 -146
- package/esm2022/file/file-upload/file-upload.component.mjs +0 -188
- package/esm2022/file/file.module.mjs +0 -56
- package/esm2022/file/public_api.mjs +0 -7
- package/esm2022/file/services/file.service.mjs +0 -66
- package/esm2022/json-formatter/collapse.animation.mjs +0 -51
- package/esm2022/json-formatter/covalent-core-json-formatter.mjs +0 -5
- package/esm2022/json-formatter/json-formatter.component.mjs +0 -222
- package/esm2022/json-formatter/json-formatter.module.mjs +0 -20
- package/esm2022/json-formatter/public_api.mjs +0 -3
- package/esm2022/layout/covalent-core-layout.mjs +0 -5
- package/esm2022/layout/layout-card-over/layout-card-over.component.mjs +0 -50
- package/esm2022/layout/layout-footer/layout-footer.component.mjs +0 -36
- package/esm2022/layout/layout-manage-list/layout-manage-list.component.mjs +0 -92
- package/esm2022/layout/layout-manage-list/layout-manage-list.directives.mjs +0 -84
- package/esm2022/layout/layout-nav/layout-nav.component.mjs +0 -76
- package/esm2022/layout/layout-nav-list/layout-nav-list.component.mjs +0 -154
- package/esm2022/layout/layout-nav-list/layout-nav-list.directives.mjs +0 -84
- package/esm2022/layout/layout-toggle.class.mjs +0 -96
- package/esm2022/layout/layout.component.mjs +0 -91
- package/esm2022/layout/layout.directives.mjs +0 -85
- package/esm2022/layout/layout.module.mjs +0 -115
- package/esm2022/layout/navigation-drawer/navigation-drawer.component.mjs +0 -221
- package/esm2022/layout/public_api.mjs +0 -13
- package/esm2022/loading/covalent-core-loading.mjs +0 -5
- package/esm2022/loading/directives/loading.directive.mjs +0 -133
- package/esm2022/loading/loading.component.mjs +0 -193
- package/esm2022/loading/loading.module.mjs +0 -41
- package/esm2022/loading/public_api.mjs +0 -6
- package/esm2022/loading/services/loading.factory.mjs +0 -210
- package/esm2022/loading/services/loading.service.mjs +0 -219
- package/esm2022/menu/covalent-core-menu.mjs +0 -5
- package/esm2022/menu/menu.component.mjs +0 -12
- package/esm2022/menu/menu.module.mjs +0 -21
- package/esm2022/menu/public_api.mjs +0 -3
- package/esm2022/message/collapse.animation.mjs +0 -51
- package/esm2022/message/covalent-core-message.mjs +0 -5
- package/esm2022/message/message.component.mjs +0 -222
- package/esm2022/message/message.module.mjs +0 -25
- package/esm2022/message/public_api.mjs +0 -3
- package/esm2022/public_api.mjs +0 -2
- package/esm2022/search/covalent-core-search.mjs +0 -5
- package/esm2022/search/public_api.mjs +0 -4
- package/esm2022/search/search-box/search-box.component.mjs +0 -198
- package/esm2022/search/search-input/search-input.component.mjs +0 -219
- package/esm2022/search/search.module.mjs +0 -37
- package/esm2022/side-sheet/covalent-core-side-sheet.mjs +0 -5
- package/esm2022/side-sheet/public_api.mjs +0 -6
- package/esm2022/side-sheet/side-sheet-container.mjs +0 -285
- package/esm2022/side-sheet/side-sheet-ref.mjs +0 -30
- package/esm2022/side-sheet/side-sheet.animation.mjs +0 -12
- package/esm2022/side-sheet/side-sheet.config.mjs +0 -11
- package/esm2022/side-sheet/side-sheet.content-directives.mjs +0 -206
- package/esm2022/side-sheet/side-sheet.mjs +0 -236
- package/esm2022/side-sheet/side-sheet.module.mjs +0 -45
- package/esm2022/user-profile/covalent-core-user-profile.mjs +0 -5
- package/esm2022/user-profile/public_api.mjs +0 -4
- package/esm2022/user-profile/user-profile-menu/user-profile-menu.component.mjs +0 -25
- package/esm2022/user-profile/user-profile.component.mjs +0 -21
- package/esm2022/user-profile/user-profile.module.mjs +0 -42
@@ -1,28 +1,22 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
2
|
import { Component, ViewChild, Input, Directive, HostListener, forwardRef, Optional, Inject, SecurityContext, ContentChildren, NgModule } from '@angular/core';
|
3
|
+
import { MatSidenav, MatSidenavContainer } from '@angular/material/sidenav';
|
4
|
+
import { mixinDisabled, tdCollapseAnimation } from '@covalent/core/common';
|
3
5
|
import * as i2 from '@angular/common';
|
4
6
|
import { CommonModule } from '@angular/common';
|
5
|
-
import
|
6
|
-
import {
|
7
|
-
import * as i1 from '@angular/
|
8
|
-
import
|
9
|
-
import * as i4 from '@angular/material/toolbar';
|
10
|
-
import { MatToolbarModule } from '@angular/material/toolbar';
|
11
|
-
import * as i5 from '@angular/material/button';
|
12
|
-
import { MatButtonModule } from '@angular/material/button';
|
13
|
-
import * as i6 from '@angular/material/icon';
|
14
|
-
import { MatIconModule } from '@angular/material/icon';
|
15
|
-
import * as i3$1 from '@angular/material/card';
|
7
|
+
import { MatIcon } from '@angular/material/icon';
|
8
|
+
import { MatToolbar } from '@angular/material/toolbar';
|
9
|
+
import * as i1 from '@angular/router';
|
10
|
+
import * as i2$1 from '@angular/material/card';
|
16
11
|
import { MatCardModule } from '@angular/material/card';
|
17
|
-
import
|
18
|
-
import
|
19
|
-
import { CovalentMenuModule } from '@covalent/core/menu';
|
20
|
-
import { mixinDisabled, tdCollapseAnimation } from '@covalent/core/common';
|
21
|
-
import * as i1$1 from '@angular/router';
|
22
|
-
import * as i2$1 from '@angular/platform-browser';
|
12
|
+
import { MatDivider } from '@angular/material/divider';
|
13
|
+
import * as i2$2 from '@angular/platform-browser';
|
23
14
|
import { Subject } from 'rxjs';
|
24
15
|
import { takeUntil } from 'rxjs/operators';
|
16
|
+
import { MatIconButton } from '@angular/material/button';
|
25
17
|
|
18
|
+
const _c0$6 = [[["td-navigation-drawer"]], [["", "td-sidenav-content", ""]], "*"];
|
19
|
+
const _c1$5 = ["td-navigation-drawer", "[td-sidenav-content]", "*"];
|
26
20
|
class TdLayoutComponent {
|
27
21
|
sidenav;
|
28
22
|
/**
|
@@ -91,24 +85,43 @@ class TdLayoutComponent {
|
|
91
85
|
close() {
|
92
86
|
return this.sidenav.close();
|
93
87
|
}
|
94
|
-
static ɵfac =
|
95
|
-
static ɵcmp = i0.ɵɵ
|
88
|
+
static ɵfac = function TdLayoutComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdLayoutComponent)(); };
|
89
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TdLayoutComponent, selectors: [["td-layout"]], viewQuery: function TdLayoutComponent_Query(rf, ctx) { if (rf & 1) {
|
90
|
+
i0.ɵɵviewQuery(MatSidenav, 7);
|
91
|
+
} if (rf & 2) {
|
92
|
+
let _t;
|
93
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sidenav = _t.first);
|
94
|
+
} }, inputs: { mode: "mode", opened: "opened", sidenavWidth: "sidenavWidth", containerAutosize: "containerAutosize" }, ngContentSelectors: _c1$5, decls: 6, vars: 8, consts: [["sidenav", ""], ["fullscreen", "", 3, "autosize"], [1, "td-layout-sidenav", 3, "mode", "opened", "disableClose"]], template: function TdLayoutComponent_Template(rf, ctx) { if (rf & 1) {
|
95
|
+
i0.ɵɵprojectionDef(_c0$6);
|
96
|
+
i0.ɵɵelementStart(0, "mat-sidenav-container", 1)(1, "mat-sidenav", 2, 0);
|
97
|
+
i0.ɵɵprojection(3);
|
98
|
+
i0.ɵɵprojection(4, 1);
|
99
|
+
i0.ɵɵelementEnd();
|
100
|
+
i0.ɵɵprojection(5, 2);
|
101
|
+
i0.ɵɵelementEnd();
|
102
|
+
} if (rf & 2) {
|
103
|
+
i0.ɵɵproperty("autosize", ctx.containerAutosize);
|
104
|
+
i0.ɵɵadvance();
|
105
|
+
i0.ɵɵstyleProp("max-width", ctx.sidenavWidth)("min-width", ctx.sidenavWidth);
|
106
|
+
i0.ɵɵproperty("mode", ctx.mode)("opened", ctx.opened)("disableClose", ctx.disableClose);
|
107
|
+
} }, dependencies: [MatSidenav, MatSidenavContainer], styles: ["[_nghost-%COMP%]{display:flex;margin:0;width:100%;min-height:100%;height:100%;overflow:hidden}[_nghost-%COMP%] >mat-sidenav-container .mat-drawer>.mat-drawer-inner-container{display:flex;flex-direction:column}"] });
|
96
108
|
}
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
109
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutComponent, [{
|
110
|
+
type: Component,
|
111
|
+
args: [{ selector: 'td-layout', imports: [MatSidenav, MatSidenavContainer], template: "<mat-sidenav-container fullscreen [autosize]=\"containerAutosize\">\n <mat-sidenav\n #sidenav\n class=\"td-layout-sidenav\"\n [mode]=\"mode\"\n [opened]=\"opened\"\n [style.max-width]=\"sidenavWidth\"\n [style.min-width]=\"sidenavWidth\"\n [disableClose]=\"disableClose\"\n >\n <ng-content select=\"td-navigation-drawer\"></ng-content>\n <ng-content select=\"[td-sidenav-content]\"></ng-content>\n </mat-sidenav>\n <ng-content></ng-content>\n</mat-sidenav-container>\n", styles: [":host{display:flex;margin:0;width:100%;min-height:100%;height:100%;overflow:hidden}:host ::ng-deep>mat-sidenav-container .mat-drawer>.mat-drawer-inner-container{display:flex;flex-direction:column}\n"] }]
|
112
|
+
}], null, { sidenav: [{
|
113
|
+
type: ViewChild,
|
114
|
+
args: [MatSidenav, { static: true }]
|
115
|
+
}], mode: [{
|
116
|
+
type: Input
|
117
|
+
}], opened: [{
|
118
|
+
type: Input
|
119
|
+
}], sidenavWidth: [{
|
120
|
+
type: Input
|
121
|
+
}], containerAutosize: [{
|
122
|
+
type: Input
|
123
|
+
}] }); })();
|
124
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdLayoutComponent, { className: "TdLayoutComponent", filePath: "layout.component.ts", lineNumber: 13 }); })();
|
112
125
|
|
113
126
|
class LayoutToggleBase {
|
114
127
|
}
|
@@ -191,17 +204,19 @@ class BaseLayoutToggleDirective extends _TdLayoutToggleMixinBase {
|
|
191
204
|
/* tslint:disable-next-line */
|
192
205
|
console.warn('Covalent: Parent layout not found for layout toggle directive');
|
193
206
|
}
|
194
|
-
static ɵfac =
|
195
|
-
static ɵdir = i0.ɵɵ
|
207
|
+
static ɵfac = function BaseLayoutToggleDirective_Factory(__ngFactoryType__) { i0.ɵɵinvalidFactory(); };
|
208
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: BaseLayoutToggleDirective, hostBindings: function BaseLayoutToggleDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
209
|
+
i0.ɵɵlistener("click", function BaseLayoutToggleDirective_click_HostBindingHandler($event) { return ctx.clickListener($event); });
|
210
|
+
} }, inputs: { hideWhenOpened: "hideWhenOpened" }, features: [i0.ɵɵInheritDefinitionFeature] });
|
196
211
|
}
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
212
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseLayoutToggleDirective, [{
|
213
|
+
type: Directive
|
214
|
+
}], () => [{ type: undefined }, { type: i0.Renderer2 }, { type: i0.ElementRef }], { hideWhenOpened: [{
|
215
|
+
type: Input
|
216
|
+
}], clickListener: [{
|
217
|
+
type: HostListener,
|
218
|
+
args: ['click', ['$event']]
|
219
|
+
}] }); })();
|
205
220
|
|
206
221
|
class TdLayoutToggleDirective extends BaseLayoutToggleDirective {
|
207
222
|
set tdLayoutToggle(tdLayoutToggle) {
|
@@ -213,22 +228,22 @@ class TdLayoutToggleDirective extends BaseLayoutToggleDirective {
|
|
213
228
|
onClick() {
|
214
229
|
this._layout.toggle();
|
215
230
|
}
|
216
|
-
static ɵfac =
|
217
|
-
static ɵdir = i0.ɵɵ
|
231
|
+
static ɵfac = function TdLayoutToggleDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdLayoutToggleDirective)(i0.ɵɵdirectiveInject(forwardRef(() => TdLayoutComponent), 8), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
232
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TdLayoutToggleDirective, selectors: [["", "tdLayoutToggle", ""]], inputs: { tdLayoutToggle: "tdLayoutToggle" }, features: [i0.ɵɵInheritDefinitionFeature] });
|
218
233
|
}
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
234
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutToggleDirective, [{
|
235
|
+
type: Directive,
|
236
|
+
args: [{
|
237
|
+
selector: '[tdLayoutToggle]',
|
238
|
+
}]
|
239
|
+
}], () => [{ type: TdLayoutComponent, decorators: [{
|
240
|
+
type: Optional
|
241
|
+
}, {
|
242
|
+
type: Inject,
|
243
|
+
args: [forwardRef(() => TdLayoutComponent)]
|
244
|
+
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }], { tdLayoutToggle: [{
|
245
|
+
type: Input
|
246
|
+
}] }); })();
|
232
247
|
class TdLayoutCloseDirective extends BaseLayoutToggleDirective {
|
233
248
|
set tdLayoutClose(tdLayoutClose) {
|
234
249
|
this.disabled = !(tdLayoutClose === '' || tdLayoutClose);
|
@@ -239,22 +254,22 @@ class TdLayoutCloseDirective extends BaseLayoutToggleDirective {
|
|
239
254
|
onClick() {
|
240
255
|
this._layout.close();
|
241
256
|
}
|
242
|
-
static ɵfac =
|
243
|
-
static ɵdir = i0.ɵɵ
|
257
|
+
static ɵfac = function TdLayoutCloseDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdLayoutCloseDirective)(i0.ɵɵdirectiveInject(forwardRef(() => TdLayoutComponent), 8), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
258
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TdLayoutCloseDirective, selectors: [["", "tdLayoutClose", ""]], inputs: { tdLayoutClose: "tdLayoutClose" }, features: [i0.ɵɵInheritDefinitionFeature] });
|
244
259
|
}
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
260
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutCloseDirective, [{
|
261
|
+
type: Directive,
|
262
|
+
args: [{
|
263
|
+
selector: '[tdLayoutClose]',
|
264
|
+
}]
|
265
|
+
}], () => [{ type: TdLayoutComponent, decorators: [{
|
266
|
+
type: Optional
|
267
|
+
}, {
|
268
|
+
type: Inject,
|
269
|
+
args: [forwardRef(() => TdLayoutComponent)]
|
270
|
+
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }], { tdLayoutClose: [{
|
271
|
+
type: Input
|
272
|
+
}] }); })();
|
258
273
|
class TdLayoutOpenDirective extends BaseLayoutToggleDirective {
|
259
274
|
set tdLayoutClose(tdLayoutOpen) {
|
260
275
|
this.disabled = !(tdLayoutOpen === '' || tdLayoutOpen);
|
@@ -265,24 +280,66 @@ class TdLayoutOpenDirective extends BaseLayoutToggleDirective {
|
|
265
280
|
onClick() {
|
266
281
|
this._layout.open();
|
267
282
|
}
|
268
|
-
static ɵfac =
|
269
|
-
static ɵdir = i0.ɵɵ
|
283
|
+
static ɵfac = function TdLayoutOpenDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdLayoutOpenDirective)(i0.ɵɵdirectiveInject(forwardRef(() => TdLayoutComponent), 8), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
284
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TdLayoutOpenDirective, selectors: [["", "tdLayoutOpen", ""]], inputs: { tdLayoutClose: [0, "tdLayoutOpen", "tdLayoutClose"] }, features: [i0.ɵɵInheritDefinitionFeature] });
|
270
285
|
}
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
286
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutOpenDirective, [{
|
287
|
+
type: Directive,
|
288
|
+
args: [{
|
289
|
+
selector: '[tdLayoutOpen]',
|
290
|
+
}]
|
291
|
+
}], () => [{ type: TdLayoutComponent, decorators: [{
|
292
|
+
type: Optional
|
293
|
+
}, {
|
294
|
+
type: Inject,
|
295
|
+
args: [forwardRef(() => TdLayoutComponent)]
|
296
|
+
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }], { tdLayoutClose: [{
|
297
|
+
type: Input,
|
298
|
+
args: ['tdLayoutOpen']
|
299
|
+
}] }); })();
|
285
300
|
|
301
|
+
const _c0$5 = [[["", "td-menu-button", ""]], [["", "td-toolbar-content", ""]], "*", [["td-layout-footer"]]];
|
302
|
+
const _c1$4 = ["[td-menu-button]", "[td-toolbar-content]", "*", "td-layout-footer"];
|
303
|
+
function TdLayoutNavComponent_span_3_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
|
304
|
+
i0.ɵɵelementStart(0, "mat-icon");
|
305
|
+
i0.ɵɵtext(1);
|
306
|
+
i0.ɵɵelementEnd();
|
307
|
+
} if (rf & 2) {
|
308
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
309
|
+
i0.ɵɵadvance();
|
310
|
+
i0.ɵɵtextInterpolate(ctx_r1.icon);
|
311
|
+
} }
|
312
|
+
function TdLayoutNavComponent_span_3_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
|
313
|
+
i0.ɵɵelement(0, "mat-icon", 7);
|
314
|
+
} if (rf & 2) {
|
315
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
316
|
+
i0.ɵɵproperty("svgIcon", ctx_r1.logo);
|
317
|
+
} }
|
318
|
+
function TdLayoutNavComponent_span_3_span_3_Template(rf, ctx) { if (rf & 1) {
|
319
|
+
i0.ɵɵelementStart(0, "span");
|
320
|
+
i0.ɵɵtext(1);
|
321
|
+
i0.ɵɵelementEnd();
|
322
|
+
} if (rf & 2) {
|
323
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
324
|
+
i0.ɵɵadvance();
|
325
|
+
i0.ɵɵtextInterpolate(ctx_r1.toolbarTitle);
|
326
|
+
} }
|
327
|
+
function TdLayoutNavComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
328
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
329
|
+
i0.ɵɵelementStart(0, "span", 4);
|
330
|
+
i0.ɵɵlistener("click", function TdLayoutNavComponent_span_3_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.handleNavigationClick()); });
|
331
|
+
i0.ɵɵtemplate(1, TdLayoutNavComponent_span_3_mat_icon_1_Template, 2, 1, "mat-icon", 5)(2, TdLayoutNavComponent_span_3_mat_icon_2_Template, 1, 1, "mat-icon", 6)(3, TdLayoutNavComponent_span_3_span_3_Template, 2, 1, "span", 5);
|
332
|
+
i0.ɵɵelementEnd();
|
333
|
+
} if (rf & 2) {
|
334
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
335
|
+
i0.ɵɵclassProp("cursor-pointer", ctx_r1.routerEnabled);
|
336
|
+
i0.ɵɵadvance();
|
337
|
+
i0.ɵɵproperty("ngIf", ctx_r1.icon);
|
338
|
+
i0.ɵɵadvance();
|
339
|
+
i0.ɵɵproperty("ngIf", ctx_r1.logo && !ctx_r1.icon);
|
340
|
+
i0.ɵɵadvance();
|
341
|
+
i0.ɵɵproperty("ngIf", ctx_r1.toolbarTitle);
|
342
|
+
} }
|
286
343
|
class TdLayoutNavComponent {
|
287
344
|
_router;
|
288
345
|
/**
|
@@ -331,26 +388,86 @@ class TdLayoutNavComponent {
|
|
331
388
|
this._router.navigateByUrl(this.navigationRoute);
|
332
389
|
}
|
333
390
|
}
|
334
|
-
static ɵfac =
|
335
|
-
static ɵcmp = i0.ɵɵ
|
391
|
+
static ɵfac = function TdLayoutNavComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdLayoutNavComponent)(i0.ɵɵdirectiveInject(i1.Router, 8)); };
|
392
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TdLayoutNavComponent, selectors: [["td-layout-nav"]], inputs: { toolbarTitle: "toolbarTitle", icon: "icon", logo: "logo", color: "color", navigationRoute: "navigationRoute" }, ngContentSelectors: _c1$4, decls: 8, vars: 2, consts: [[1, "td-layout-nav-wrapper"], [1, "td-layout-toolbar", 3, "color"], ["class", "td-layout-nav-toolbar-content", 3, "cursor-pointer", "click", 4, "ngIf"], ["cdkScrollable", "", 1, "td-layout-nav-content"], [1, "td-layout-nav-toolbar-content", 3, "click"], [4, "ngIf"], ["class", "mat-icon-logo", 3, "svgIcon", 4, "ngIf"], [1, "mat-icon-logo", 3, "svgIcon"]], template: function TdLayoutNavComponent_Template(rf, ctx) { if (rf & 1) {
|
393
|
+
i0.ɵɵprojectionDef(_c0$5);
|
394
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "mat-toolbar", 1);
|
395
|
+
i0.ɵɵprojection(2);
|
396
|
+
i0.ɵɵtemplate(3, TdLayoutNavComponent_span_3_Template, 4, 5, "span", 2);
|
397
|
+
i0.ɵɵprojection(4, 1);
|
398
|
+
i0.ɵɵelementEnd();
|
399
|
+
i0.ɵɵelementStart(5, "div", 3);
|
400
|
+
i0.ɵɵprojection(6, 2);
|
401
|
+
i0.ɵɵelementEnd();
|
402
|
+
i0.ɵɵprojection(7, 3);
|
403
|
+
i0.ɵɵelementEnd();
|
404
|
+
} if (rf & 2) {
|
405
|
+
i0.ɵɵadvance();
|
406
|
+
i0.ɵɵproperty("color", ctx.color);
|
407
|
+
i0.ɵɵadvance(2);
|
408
|
+
i0.ɵɵproperty("ngIf", ctx.icon || ctx.logo || ctx.toolbarTitle);
|
409
|
+
} }, dependencies: [CommonModule, i2.NgIf, MatToolbar, MatIcon], styles: [".td-menu-button[_ngcontent-%COMP%]{margin-left:0} [dir=rtl] .td-menu-button{margin-right:0;margin-left:6px}[_nghost-%COMP%]{display:flex;margin:0;width:100%;min-height:100%;height:100%;overflow:hidden}[_nghost-%COMP%] .td-layout-nav-wrapper[_ngcontent-%COMP%]{flex-direction:column;box-sizing:border-box;display:flex;margin:0;width:100%;min-height:100%;height:100%}[_nghost-%COMP%] .td-layout-nav-wrapper[_ngcontent-%COMP%] .td-layout-nav-toolbar-content[_ngcontent-%COMP%]{flex-direction:row;box-sizing:border-box;display:flex;align-items:center;align-content:center;max-width:100%;justify-content:flex-start}[_nghost-%COMP%] .td-layout-nav-wrapper[_ngcontent-%COMP%] .td-layout-nav-content[_ngcontent-%COMP%]{flex-direction:column;box-sizing:border-box;display:flex;flex:1;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%]{z-index:2;box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}"] });
|
336
410
|
}
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
411
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutNavComponent, [{
|
412
|
+
type: Component,
|
413
|
+
args: [{ selector: 'td-layout-nav', imports: [CommonModule, MatToolbar, MatIcon], template: "<div class=\"td-layout-nav-wrapper\">\n <mat-toolbar class=\"td-layout-toolbar\" [color]=\"color\">\n <ng-content select=\"[td-menu-button]\"></ng-content>\n <span\n *ngIf=\"icon || logo || toolbarTitle\"\n [class.cursor-pointer]=\"routerEnabled\"\n (click)=\"handleNavigationClick()\"\n class=\"td-layout-nav-toolbar-content\"\n >\n <mat-icon *ngIf=\"icon\">{{ icon }}</mat-icon>\n <mat-icon\n *ngIf=\"logo && !icon\"\n class=\"mat-icon-logo\"\n [svgIcon]=\"logo\"\n ></mat-icon>\n <span *ngIf=\"toolbarTitle\">{{ toolbarTitle }}</span>\n </span>\n <ng-content select=\"[td-toolbar-content]\"></ng-content>\n </mat-toolbar>\n <div class=\"td-layout-nav-content\" cdkScrollable>\n <ng-content></ng-content>\n </div>\n <ng-content select=\"td-layout-footer\"></ng-content>\n</div>\n", styles: [".td-menu-button{margin-left:0}::ng-deep [dir=rtl] .td-menu-button{margin-right:0;margin-left:6px}:host{display:flex;margin:0;width:100%;min-height:100%;height:100%;overflow:hidden}:host .td-layout-nav-wrapper{flex-direction:column;box-sizing:border-box;display:flex;margin:0;width:100%;min-height:100%;height:100%}:host .td-layout-nav-wrapper .td-layout-nav-toolbar-content{flex-direction:row;box-sizing:border-box;display:flex;align-items:center;align-content:center;max-width:100%;justify-content:flex-start}:host .td-layout-nav-wrapper .td-layout-nav-content{flex-direction:column;box-sizing:border-box;display:flex;flex:1;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}:host mat-toolbar{z-index:2;box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}\n"] }]
|
414
|
+
}], () => [{ type: i1.Router, decorators: [{
|
415
|
+
type: Optional
|
416
|
+
}] }], { toolbarTitle: [{
|
417
|
+
type: Input
|
418
|
+
}], icon: [{
|
419
|
+
type: Input
|
420
|
+
}], logo: [{
|
421
|
+
type: Input
|
422
|
+
}], color: [{
|
423
|
+
type: Input
|
424
|
+
}], navigationRoute: [{
|
425
|
+
type: Input
|
426
|
+
}] }); })();
|
427
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdLayoutNavComponent, { className: "TdLayoutNavComponent", filePath: "layout-nav/layout-nav.component.ts", lineNumber: 13 }); })();
|
353
428
|
|
429
|
+
const _c0$4 = [[["", "td-menu-button", ""]], [["", "td-sidenav-toolbar-content", ""]], [["", "td-sidenav-content", ""]], [["", "td-toolbar-content", ""]], "*", [["td-layout-footer-inner"]], [["td-layout-footer"]]];
|
430
|
+
const _c1$3 = ["[td-menu-button]", "[td-sidenav-toolbar-content]", "[td-sidenav-content]", "[td-toolbar-content]", "*", "td-layout-footer-inner", "td-layout-footer"];
|
431
|
+
function TdLayoutNavListComponent_span_6_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
|
432
|
+
i0.ɵɵelementStart(0, "mat-icon");
|
433
|
+
i0.ɵɵtext(1);
|
434
|
+
i0.ɵɵelementEnd();
|
435
|
+
} if (rf & 2) {
|
436
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
437
|
+
i0.ɵɵadvance();
|
438
|
+
i0.ɵɵtextInterpolate(ctx_r1.icon);
|
439
|
+
} }
|
440
|
+
function TdLayoutNavListComponent_span_6_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
|
441
|
+
i0.ɵɵelement(0, "mat-icon", 11);
|
442
|
+
} if (rf & 2) {
|
443
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
444
|
+
i0.ɵɵproperty("svgIcon", ctx_r1.logo);
|
445
|
+
} }
|
446
|
+
function TdLayoutNavListComponent_span_6_span_3_Template(rf, ctx) { if (rf & 1) {
|
447
|
+
i0.ɵɵelementStart(0, "span");
|
448
|
+
i0.ɵɵtext(1);
|
449
|
+
i0.ɵɵelementEnd();
|
450
|
+
} if (rf & 2) {
|
451
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
452
|
+
i0.ɵɵadvance();
|
453
|
+
i0.ɵɵtextInterpolate(ctx_r1.toolbarTitle);
|
454
|
+
} }
|
455
|
+
function TdLayoutNavListComponent_span_6_Template(rf, ctx) { if (rf & 1) {
|
456
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
457
|
+
i0.ɵɵelementStart(0, "span", 8);
|
458
|
+
i0.ɵɵlistener("click", function TdLayoutNavListComponent_span_6_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.handleNavigationClick()); });
|
459
|
+
i0.ɵɵtemplate(1, TdLayoutNavListComponent_span_6_mat_icon_1_Template, 2, 1, "mat-icon", 9)(2, TdLayoutNavListComponent_span_6_mat_icon_2_Template, 1, 1, "mat-icon", 10)(3, TdLayoutNavListComponent_span_6_span_3_Template, 2, 1, "span", 9);
|
460
|
+
i0.ɵɵelementEnd();
|
461
|
+
} if (rf & 2) {
|
462
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
463
|
+
i0.ɵɵclassProp("cursor-pointer", ctx_r1.routerEnabled);
|
464
|
+
i0.ɵɵadvance();
|
465
|
+
i0.ɵɵproperty("ngIf", ctx_r1.icon);
|
466
|
+
i0.ɵɵadvance();
|
467
|
+
i0.ɵɵproperty("ngIf", ctx_r1.logo && !ctx_r1.icon);
|
468
|
+
i0.ɵɵadvance();
|
469
|
+
i0.ɵɵproperty("ngIf", ctx_r1.toolbarTitle);
|
470
|
+
} }
|
354
471
|
class TdLayoutNavListComponent {
|
355
472
|
_router;
|
356
473
|
sidenav;
|
@@ -464,36 +581,73 @@ class TdLayoutNavListComponent {
|
|
464
581
|
close() {
|
465
582
|
return this.sidenav.close();
|
466
583
|
}
|
467
|
-
static ɵfac =
|
468
|
-
static ɵcmp = i0.ɵɵ
|
584
|
+
static ɵfac = function TdLayoutNavListComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdLayoutNavListComponent)(i0.ɵɵdirectiveInject(i1.Router, 8)); };
|
585
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TdLayoutNavListComponent, selectors: [["td-layout-nav-list"]], viewQuery: function TdLayoutNavListComponent_Query(rf, ctx) { if (rf & 1) {
|
586
|
+
i0.ɵɵviewQuery(MatSidenav, 7);
|
587
|
+
} if (rf & 2) {
|
588
|
+
let _t;
|
589
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sidenav = _t.first);
|
590
|
+
} }, inputs: { toolbarTitle: "toolbarTitle", icon: "icon", logo: "logo", color: "color", mode: "mode", opened: "opened", sidenavWidth: "sidenavWidth", containerAutosize: "containerAutosize", navigationRoute: "navigationRoute" }, ngContentSelectors: _c1$3, decls: 17, vars: 11, consts: [["sidenav", ""], [1, "td-layout-nav-list-wrapper"], ["fullscreen", "", 1, "td-layout-nav-list", 3, "autosize"], ["position", "start", 3, "mode", "opened", "disableClose"], [1, "td-layout-toolbar", 3, "color"], ["class", "td-layout-nav-list-toolbar-content", 3, "cursor-pointer", "click", 4, "ngIf"], ["cdkScrollable", "", 1, "td-layout-nav-list-content"], [1, "td-layout-nav-list-main"], [1, "td-layout-nav-list-toolbar-content", 3, "click"], [4, "ngIf"], ["class", "mat-icon-logo", 3, "svgIcon", 4, "ngIf"], [1, "mat-icon-logo", 3, "svgIcon"]], template: function TdLayoutNavListComponent_Template(rf, ctx) { if (rf & 1) {
|
591
|
+
i0.ɵɵprojectionDef(_c0$4);
|
592
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "mat-sidenav-container", 2)(2, "mat-sidenav", 3, 0)(4, "mat-toolbar", 4);
|
593
|
+
i0.ɵɵprojection(5);
|
594
|
+
i0.ɵɵtemplate(6, TdLayoutNavListComponent_span_6_Template, 4, 5, "span", 5);
|
595
|
+
i0.ɵɵprojection(7, 1);
|
596
|
+
i0.ɵɵelementEnd();
|
597
|
+
i0.ɵɵelementStart(8, "div", 6);
|
598
|
+
i0.ɵɵprojection(9, 2);
|
599
|
+
i0.ɵɵelementEnd()();
|
600
|
+
i0.ɵɵelementStart(10, "div", 7)(11, "mat-toolbar", 4);
|
601
|
+
i0.ɵɵprojection(12, 3);
|
602
|
+
i0.ɵɵelementEnd();
|
603
|
+
i0.ɵɵelementStart(13, "div", 6);
|
604
|
+
i0.ɵɵprojection(14, 4);
|
605
|
+
i0.ɵɵelementEnd();
|
606
|
+
i0.ɵɵprojection(15, 5);
|
607
|
+
i0.ɵɵelementEnd()()();
|
608
|
+
i0.ɵɵprojection(16, 6);
|
609
|
+
} if (rf & 2) {
|
610
|
+
i0.ɵɵadvance();
|
611
|
+
i0.ɵɵproperty("autosize", ctx.containerAutosize);
|
612
|
+
i0.ɵɵadvance();
|
613
|
+
i0.ɵɵstyleProp("max-width", ctx.sidenavWidth)("min-width", ctx.sidenavWidth);
|
614
|
+
i0.ɵɵproperty("mode", ctx.mode)("opened", ctx.opened)("disableClose", ctx.disableClose);
|
615
|
+
i0.ɵɵadvance(2);
|
616
|
+
i0.ɵɵproperty("color", ctx.color);
|
617
|
+
i0.ɵɵadvance(2);
|
618
|
+
i0.ɵɵproperty("ngIf", ctx.icon || ctx.logo || ctx.toolbarTitle);
|
619
|
+
i0.ɵɵadvance(5);
|
620
|
+
i0.ɵɵproperty("color", ctx.color);
|
621
|
+
} }, dependencies: [CommonModule, i2.NgIf, MatSidenav, MatSidenavContainer, MatToolbar, MatIcon], styles: ["[_nghost-%COMP%]{margin:0;width:100%;min-height:100%;height:100%;overflow:hidden;flex-direction:column;box-sizing:border-box;display:flex;flex:1}[_nghost-%COMP%] .td-layout-nav-list-wrapper[_ngcontent-%COMP%] > .mat-sidenav-container[_ngcontent-%COMP%] > mat-sidenav.mat-drawer-side[_ngcontent-%COMP%]{border-right:0}[dir=rtl] [_nghost-%COMP%] .td-layout-nav-list-wrapper[_ngcontent-%COMP%] > .mat-sidenav-container[_ngcontent-%COMP%] > mat-sidenav.mat-drawer-side[_ngcontent-%COMP%]{border-left:0}[_nghost-%COMP%] .td-layout-nav-list-wrapper[_ngcontent-%COMP%]{flex-direction:column;box-sizing:border-box;display:flex;flex:1;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}[_nghost-%COMP%] .td-layout-nav-list-wrapper[_ngcontent-%COMP%] .td-layout-nav-list-toolbar-content[_ngcontent-%COMP%]{flex-direction:row;box-sizing:border-box;display:flex;align-items:center;align-content:center;max-width:100%;justify-content:flex-start}[_nghost-%COMP%] .td-layout-nav-list-wrapper[_ngcontent-%COMP%] .td-layout-nav-list-content[_ngcontent-%COMP%]{text-align:start;flex:1;display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}[_nghost-%COMP%] .td-layout-nav-list-wrapper[_ngcontent-%COMP%] .td-layout-nav-list-main[_ngcontent-%COMP%]{flex-direction:column;box-sizing:border-box;display:flex;margin:0;width:100%;min-height:100%;height:100%;position:relative;overflow:auto}[_nghost-%COMP%] .td-layout-nav-list-wrapper[_ngcontent-%COMP%] .td-layout-nav-list-main[_ngcontent-%COMP%] .td-layout-nav-list-content[_ngcontent-%COMP%]{display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch;flex:1}[_nghost-%COMP%] .td-layout-nav-list-wrapper[_ngcontent-%COMP%] mat-sidenav-container.td-layout-nav-list[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] .td-layout-nav-list-wrapper[_ngcontent-%COMP%] mat-sidenav-container.td-layout-nav-list[_ngcontent-%COMP%] > mat-sidenav.mat-drawer-opened[_ngcontent-%COMP%], [_nghost-%COMP%] .td-layout-nav-list-wrapper[_ngcontent-%COMP%] mat-sidenav-container.td-layout-nav-list[_ngcontent-%COMP%] > mat-sidenav.mat-drawer-opening[_ngcontent-%COMP%], [_nghost-%COMP%] .td-layout-nav-list-wrapper[_ngcontent-%COMP%] mat-sidenav-container.td-layout-nav-list[_ngcontent-%COMP%] > mat-sidenav.mat-drawer-closed[_ngcontent-%COMP%], [_nghost-%COMP%] .td-layout-nav-list-wrapper[_ngcontent-%COMP%] mat-sidenav-container.td-layout-nav-list[_ngcontent-%COMP%] > mat-sidenav.mat-drawer-closing[_ngcontent-%COMP%]{box-shadow:none}[_nghost-%COMP%] mat-sidenav-container.td-layout-nav-list>.mat-drawer-content{flex-grow:1}[_nghost-%COMP%] mat-sidenav-container.td-layout-nav-list>.mat-drawer>.mat-drawer-inner-container{box-shadow:0 1px 3px #0003,0 1px 1px #00000024,0 2px 1px -1px #0000001f;box-sizing:border-box;display:flex;flex-direction:column}"] });
|
469
622
|
}
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
623
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutNavListComponent, [{
|
624
|
+
type: Component,
|
625
|
+
args: [{ selector: 'td-layout-nav-list', imports: [CommonModule, MatSidenav, MatSidenavContainer, MatToolbar, MatIcon], template: "<div class=\"td-layout-nav-list-wrapper\">\n <mat-sidenav-container\n fullscreen\n [autosize]=\"containerAutosize\"\n class=\"td-layout-nav-list\"\n >\n <mat-sidenav\n #sidenav\n position=\"start\"\n [mode]=\"mode\"\n [opened]=\"opened\"\n [disableClose]=\"disableClose\"\n [style.max-width]=\"sidenavWidth\"\n [style.min-width]=\"sidenavWidth\"\n >\n <mat-toolbar class=\"td-layout-toolbar\" [color]=\"color\">\n <ng-content select=\"[td-menu-button]\"></ng-content>\n <span\n *ngIf=\"icon || logo || toolbarTitle\"\n class=\"td-layout-nav-list-toolbar-content\"\n [class.cursor-pointer]=\"routerEnabled\"\n (click)=\"handleNavigationClick()\"\n >\n <mat-icon *ngIf=\"icon\">{{ icon }}</mat-icon>\n <mat-icon\n *ngIf=\"logo && !icon\"\n class=\"mat-icon-logo\"\n [svgIcon]=\"logo\"\n ></mat-icon>\n <span *ngIf=\"toolbarTitle\">{{ toolbarTitle }}</span>\n </span>\n <ng-content select=\"[td-sidenav-toolbar-content]\"></ng-content>\n </mat-toolbar>\n <div class=\"td-layout-nav-list-content\" cdkScrollable>\n <ng-content select=\"[td-sidenav-content]\"></ng-content>\n </div>\n </mat-sidenav>\n <div class=\"td-layout-nav-list-main\">\n <mat-toolbar class=\"td-layout-toolbar\" [color]=\"color\">\n <ng-content select=\"[td-toolbar-content]\"></ng-content>\n </mat-toolbar>\n <div class=\"td-layout-nav-list-content\" cdkScrollable>\n <ng-content></ng-content>\n </div>\n <ng-content select=\"td-layout-footer-inner\"></ng-content>\n </div>\n </mat-sidenav-container>\n</div>\n<ng-content select=\"td-layout-footer\"></ng-content>\n", styles: [":host{margin:0;width:100%;min-height:100%;height:100%;overflow:hidden;flex-direction:column;box-sizing:border-box;display:flex;flex:1}:host .td-layout-nav-list-wrapper>.mat-sidenav-container>mat-sidenav.mat-drawer-side{border-right:0}[dir=rtl] :host .td-layout-nav-list-wrapper>.mat-sidenav-container>mat-sidenav.mat-drawer-side{border-left:0}:host .td-layout-nav-list-wrapper{flex-direction:column;box-sizing:border-box;display:flex;flex:1;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}:host .td-layout-nav-list-wrapper .td-layout-nav-list-toolbar-content{flex-direction:row;box-sizing:border-box;display:flex;align-items:center;align-content:center;max-width:100%;justify-content:flex-start}:host .td-layout-nav-list-wrapper .td-layout-nav-list-content{text-align:start;flex:1;display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}:host .td-layout-nav-list-wrapper .td-layout-nav-list-main{flex-direction:column;box-sizing:border-box;display:flex;margin:0;width:100%;min-height:100%;height:100%;position:relative;overflow:auto}:host .td-layout-nav-list-wrapper .td-layout-nav-list-main .td-layout-nav-list-content{display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch;flex:1}:host .td-layout-nav-list-wrapper mat-sidenav-container.td-layout-nav-list{flex:1}:host .td-layout-nav-list-wrapper mat-sidenav-container.td-layout-nav-list>mat-sidenav.mat-drawer-opened,:host .td-layout-nav-list-wrapper mat-sidenav-container.td-layout-nav-list>mat-sidenav.mat-drawer-opening,:host .td-layout-nav-list-wrapper mat-sidenav-container.td-layout-nav-list>mat-sidenav.mat-drawer-closed,:host .td-layout-nav-list-wrapper mat-sidenav-container.td-layout-nav-list>mat-sidenav.mat-drawer-closing{box-shadow:none}:host ::ng-deep mat-sidenav-container.td-layout-nav-list>.mat-drawer-content{flex-grow:1}:host ::ng-deep mat-sidenav-container.td-layout-nav-list>.mat-drawer>.mat-drawer-inner-container{box-shadow:0 1px 3px #0003,0 1px 1px #00000024,0 2px 1px -1px #0000001f;box-sizing:border-box;display:flex;flex-direction:column}\n"] }]
|
626
|
+
}], () => [{ type: i1.Router, decorators: [{
|
627
|
+
type: Optional
|
628
|
+
}] }], { sidenav: [{
|
629
|
+
type: ViewChild,
|
630
|
+
args: [MatSidenav, { static: true }]
|
631
|
+
}], toolbarTitle: [{
|
632
|
+
type: Input
|
633
|
+
}], icon: [{
|
634
|
+
type: Input
|
635
|
+
}], logo: [{
|
636
|
+
type: Input
|
637
|
+
}], color: [{
|
638
|
+
type: Input
|
639
|
+
}], mode: [{
|
640
|
+
type: Input
|
641
|
+
}], opened: [{
|
642
|
+
type: Input
|
643
|
+
}], sidenavWidth: [{
|
644
|
+
type: Input
|
645
|
+
}], containerAutosize: [{
|
646
|
+
type: Input
|
647
|
+
}], navigationRoute: [{
|
648
|
+
type: Input
|
649
|
+
}] }); })();
|
650
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdLayoutNavListComponent, { className: "TdLayoutNavListComponent", filePath: "layout-nav-list/layout-nav-list.component.ts", lineNumber: 18 }); })();
|
497
651
|
|
498
652
|
class TdLayoutNavListToggleDirective extends BaseLayoutToggleDirective {
|
499
653
|
set tdLayoutNavListToggle(tdLayoutNavListToggle) {
|
@@ -505,22 +659,22 @@ class TdLayoutNavListToggleDirective extends BaseLayoutToggleDirective {
|
|
505
659
|
onClick() {
|
506
660
|
this._layout.toggle();
|
507
661
|
}
|
508
|
-
static ɵfac =
|
509
|
-
static ɵdir = i0.ɵɵ
|
662
|
+
static ɵfac = function TdLayoutNavListToggleDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdLayoutNavListToggleDirective)(i0.ɵɵdirectiveInject(forwardRef(() => TdLayoutNavListComponent), 8), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
663
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TdLayoutNavListToggleDirective, selectors: [["", "tdLayoutNavListToggle", ""]], inputs: { tdLayoutNavListToggle: "tdLayoutNavListToggle" }, features: [i0.ɵɵInheritDefinitionFeature] });
|
510
664
|
}
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
665
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutNavListToggleDirective, [{
|
666
|
+
type: Directive,
|
667
|
+
args: [{
|
668
|
+
selector: '[tdLayoutNavListToggle]',
|
669
|
+
}]
|
670
|
+
}], () => [{ type: TdLayoutNavListComponent, decorators: [{
|
671
|
+
type: Optional
|
672
|
+
}, {
|
673
|
+
type: Inject,
|
674
|
+
args: [forwardRef(() => TdLayoutNavListComponent)]
|
675
|
+
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }], { tdLayoutNavListToggle: [{
|
676
|
+
type: Input
|
677
|
+
}] }); })();
|
524
678
|
class TdLayoutNavListCloseDirective extends BaseLayoutToggleDirective {
|
525
679
|
set tdLayoutNavListClose(tdLayoutNavListClose) {
|
526
680
|
this.disabled = !(tdLayoutNavListClose === '' || tdLayoutNavListClose);
|
@@ -531,22 +685,22 @@ class TdLayoutNavListCloseDirective extends BaseLayoutToggleDirective {
|
|
531
685
|
onClick() {
|
532
686
|
this._layout.close();
|
533
687
|
}
|
534
|
-
static ɵfac =
|
535
|
-
static ɵdir = i0.ɵɵ
|
688
|
+
static ɵfac = function TdLayoutNavListCloseDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdLayoutNavListCloseDirective)(i0.ɵɵdirectiveInject(forwardRef(() => TdLayoutNavListComponent), 8), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
689
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TdLayoutNavListCloseDirective, selectors: [["", "tdLayoutNavListClose", ""]], inputs: { tdLayoutNavListClose: "tdLayoutNavListClose" }, features: [i0.ɵɵInheritDefinitionFeature] });
|
536
690
|
}
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
691
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutNavListCloseDirective, [{
|
692
|
+
type: Directive,
|
693
|
+
args: [{
|
694
|
+
selector: '[tdLayoutNavListClose]',
|
695
|
+
}]
|
696
|
+
}], () => [{ type: TdLayoutNavListComponent, decorators: [{
|
697
|
+
type: Optional
|
698
|
+
}, {
|
699
|
+
type: Inject,
|
700
|
+
args: [forwardRef(() => TdLayoutNavListComponent)]
|
701
|
+
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }], { tdLayoutNavListClose: [{
|
702
|
+
type: Input
|
703
|
+
}] }); })();
|
550
704
|
class TdLayoutNavListOpenDirective extends BaseLayoutToggleDirective {
|
551
705
|
set tdLayoutNavListOpen(tdLayoutNavListOpen) {
|
552
706
|
this.disabled = !(tdLayoutNavListOpen === '' || tdLayoutNavListOpen);
|
@@ -557,23 +711,46 @@ class TdLayoutNavListOpenDirective extends BaseLayoutToggleDirective {
|
|
557
711
|
onClick() {
|
558
712
|
this._layout.open();
|
559
713
|
}
|
560
|
-
static ɵfac =
|
561
|
-
static ɵdir = i0.ɵɵ
|
714
|
+
static ɵfac = function TdLayoutNavListOpenDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdLayoutNavListOpenDirective)(i0.ɵɵdirectiveInject(forwardRef(() => TdLayoutNavListComponent), 8), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
715
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TdLayoutNavListOpenDirective, selectors: [["", "tdLayoutNavListOpen", ""]], inputs: { tdLayoutNavListOpen: "tdLayoutNavListOpen" }, features: [i0.ɵɵInheritDefinitionFeature] });
|
562
716
|
}
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
717
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutNavListOpenDirective, [{
|
718
|
+
type: Directive,
|
719
|
+
args: [{
|
720
|
+
selector: '[tdLayoutNavListOpen]',
|
721
|
+
}]
|
722
|
+
}], () => [{ type: TdLayoutNavListComponent, decorators: [{
|
723
|
+
type: Optional
|
724
|
+
}, {
|
725
|
+
type: Inject,
|
726
|
+
args: [forwardRef(() => TdLayoutNavListComponent)]
|
727
|
+
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }], { tdLayoutNavListOpen: [{
|
728
|
+
type: Input
|
729
|
+
}] }); })();
|
576
730
|
|
731
|
+
const _c0$3 = ["*", [["", "td-after-card", ""]]];
|
732
|
+
const _c1$2 = ["*", "[td-after-card]"];
|
733
|
+
function TdLayoutCardOverComponent_mat_card_title_5_Template(rf, ctx) { if (rf & 1) {
|
734
|
+
i0.ɵɵelementStart(0, "mat-card-title");
|
735
|
+
i0.ɵɵtext(1);
|
736
|
+
i0.ɵɵelementEnd();
|
737
|
+
} if (rf & 2) {
|
738
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
739
|
+
i0.ɵɵadvance();
|
740
|
+
i0.ɵɵtextInterpolate(ctx_r0.cardTitle);
|
741
|
+
} }
|
742
|
+
function TdLayoutCardOverComponent_mat_card_subtitle_6_Template(rf, ctx) { if (rf & 1) {
|
743
|
+
i0.ɵɵelementStart(0, "mat-card-subtitle");
|
744
|
+
i0.ɵɵtext(1);
|
745
|
+
i0.ɵɵelementEnd();
|
746
|
+
} if (rf & 2) {
|
747
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
748
|
+
i0.ɵɵadvance();
|
749
|
+
i0.ɵɵtextInterpolate(ctx_r0.cardSubtitle);
|
750
|
+
} }
|
751
|
+
function TdLayoutCardOverComponent_mat_divider_7_Template(rf, ctx) { if (rf & 1) {
|
752
|
+
i0.ɵɵelement(0, "mat-divider");
|
753
|
+
} }
|
577
754
|
class TdLayoutCardOverComponent {
|
578
755
|
/**
|
579
756
|
* cardTitle?: string
|
@@ -601,22 +778,47 @@ class TdLayoutCardOverComponent {
|
|
601
778
|
* If [color] is not set, primary is used.
|
602
779
|
*/
|
603
780
|
color;
|
604
|
-
static ɵfac =
|
605
|
-
static ɵcmp = i0.ɵɵ
|
781
|
+
static ɵfac = function TdLayoutCardOverComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdLayoutCardOverComponent)(); };
|
782
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TdLayoutCardOverComponent, selectors: [["td-layout-card-over"]], inputs: { cardTitle: "cardTitle", cardSubtitle: "cardSubtitle", cardWidth: "cardWidth", color: "color" }, ngContentSelectors: _c1$2, decls: 11, vars: 12, consts: [[1, "td-layout-toolbar", 3, "color"], [1, "td-layout-card-over-wrapper"], [1, "td-layout-card-over"], [4, "ngIf"]], template: function TdLayoutCardOverComponent_Template(rf, ctx) { if (rf & 1) {
|
783
|
+
i0.ɵɵprojectionDef(_c0$3);
|
784
|
+
i0.ɵɵelement(0, "mat-toolbar", 0);
|
785
|
+
i0.ɵɵelementStart(1, "div", 1)(2, "div", 2)(3, "mat-card")(4, "mat-card-header");
|
786
|
+
i0.ɵɵtemplate(5, TdLayoutCardOverComponent_mat_card_title_5_Template, 2, 1, "mat-card-title", 3)(6, TdLayoutCardOverComponent_mat_card_subtitle_6_Template, 2, 1, "mat-card-subtitle", 3);
|
787
|
+
i0.ɵɵelementEnd();
|
788
|
+
i0.ɵɵtemplate(7, TdLayoutCardOverComponent_mat_divider_7_Template, 1, 0, "mat-divider", 3);
|
789
|
+
i0.ɵɵelementStart(8, "mat-card-content");
|
790
|
+
i0.ɵɵprojection(9);
|
791
|
+
i0.ɵɵelementEnd()();
|
792
|
+
i0.ɵɵprojection(10, 1);
|
793
|
+
i0.ɵɵelementEnd()();
|
794
|
+
} if (rf & 2) {
|
795
|
+
i0.ɵɵproperty("color", ctx.color);
|
796
|
+
i0.ɵɵadvance(2);
|
797
|
+
i0.ɵɵstyleProp("max-width", ctx.cardWidth, "%")("flex", "1 1 " + ctx.cardWidth + "%")("-ms-flex", "1 1 " + ctx.cardWidth + "%")("-webkit-box-flex", 1);
|
798
|
+
i0.ɵɵadvance(3);
|
799
|
+
i0.ɵɵproperty("ngIf", ctx.cardTitle);
|
800
|
+
i0.ɵɵadvance();
|
801
|
+
i0.ɵɵproperty("ngIf", ctx.cardSubtitle);
|
802
|
+
i0.ɵɵadvance();
|
803
|
+
i0.ɵɵproperty("ngIf", ctx.cardTitle || ctx.cardSubtitle);
|
804
|
+
} }, dependencies: [CommonModule, i2.NgIf, MatToolbar, MatCardModule, i2$1.MatCard, i2$1.MatCardContent, i2$1.MatCardHeader, i2$1.MatCardSubtitle, i2$1.MatCardTitle, MatDivider], styles: ["[_nghost-%COMP%]{position:relative;display:block;z-index:2;width:100%;min-height:100%;height:100%}[_nghost-%COMP%] [td-after-card][_ngcontent-%COMP%]{display:block}.td-layout-card-over-wrapper[_ngcontent-%COMP%]{margin:-64px 0;width:100%;min-height:100%;height:100%}@media (min-width: 600px){.td-layout-card-over-wrapper[_ngcontent-%COMP%]{flex-direction:row;box-sizing:border-box;display:flex;align-items:flex-start;align-content:flex-start;justify-content:center}.td-layout-card-over-wrapper[_ngcontent-%COMP%] .td-layout-card-over[_ngcontent-%COMP%]{max-height:100%;box-sizing:border-box}}@media (max-width: 599px){.td-layout-card-over-wrapper[_ngcontent-%COMP%] .td-layout-card-over[_ngcontent-%COMP%]{max-width:100%!important}}"] });
|
606
805
|
}
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
806
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutCardOverComponent, [{
|
807
|
+
type: Component,
|
808
|
+
args: [{ selector: 'td-layout-card-over', imports: [CommonModule, MatToolbar, MatCardModule, MatDivider], template: "<mat-toolbar class=\"td-layout-toolbar\" [color]=\"color\"></mat-toolbar>\n<div class=\"td-layout-card-over-wrapper\">\n <div\n class=\"td-layout-card-over\"\n [style.max-width.%]=\"cardWidth\"\n [style.flex]=\"'1 1 ' + cardWidth + '%'\"\n [style.-ms-flex]=\"'1 1 ' + cardWidth + '%'\"\n [style.-webkit-box-flex]=\"1\"\n >\n <mat-card>\n <mat-card-header>\n <mat-card-title *ngIf=\"cardTitle\">{{ cardTitle }}</mat-card-title>\n <mat-card-subtitle *ngIf=\"cardSubtitle\">{{\n cardSubtitle\n }}</mat-card-subtitle>\n </mat-card-header>\n <mat-divider *ngIf=\"cardTitle || cardSubtitle\"></mat-divider>\n <mat-card-content>\n <ng-content></ng-content>\n </mat-card-content>\n </mat-card>\n <ng-content select=\"[td-after-card]\"></ng-content>\n </div>\n</div>\n", styles: [":host{position:relative;display:block;z-index:2;width:100%;min-height:100%;height:100%}:host [td-after-card]{display:block}.td-layout-card-over-wrapper{margin:-64px 0;width:100%;min-height:100%;height:100%}@media (min-width: 600px){.td-layout-card-over-wrapper{flex-direction:row;box-sizing:border-box;display:flex;align-items:flex-start;align-content:flex-start;justify-content:center}.td-layout-card-over-wrapper .td-layout-card-over{max-height:100%;box-sizing:border-box}}@media (max-width: 599px){.td-layout-card-over-wrapper .td-layout-card-over{max-width:100%!important}}\n"] }]
|
809
|
+
}], null, { cardTitle: [{
|
810
|
+
type: Input
|
811
|
+
}], cardSubtitle: [{
|
812
|
+
type: Input
|
813
|
+
}], cardWidth: [{
|
814
|
+
type: Input
|
815
|
+
}], color: [{
|
816
|
+
type: Input
|
817
|
+
}] }); })();
|
818
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdLayoutCardOverComponent, { className: "TdLayoutCardOverComponent", filePath: "layout-card-over/layout-card-over.component.ts", lineNumber: 13 }); })();
|
619
819
|
|
820
|
+
const _c0$2 = [[["mat-toolbar", "td-sidenav-content", ""]], [["", "td-sidenav-content", ""]], [["mat-toolbar"]], "*", [["td-layout-footer-inner"]]];
|
821
|
+
const _c1$1 = ["mat-toolbar[td-sidenav-content]", "[td-sidenav-content]", "mat-toolbar", "*", "td-layout-footer-inner"];
|
620
822
|
class TdLayoutManageListComponent {
|
621
823
|
sidenav;
|
622
824
|
/**
|
@@ -685,24 +887,49 @@ class TdLayoutManageListComponent {
|
|
685
887
|
close() {
|
686
888
|
return this.sidenav.close();
|
687
889
|
}
|
688
|
-
static ɵfac =
|
689
|
-
static ɵcmp = i0.ɵɵ
|
890
|
+
static ɵfac = function TdLayoutManageListComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdLayoutManageListComponent)(); };
|
891
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TdLayoutManageListComponent, selectors: [["td-layout-manage-list"]], viewQuery: function TdLayoutManageListComponent_Query(rf, ctx) { if (rf & 1) {
|
892
|
+
i0.ɵɵviewQuery(MatSidenav, 7);
|
893
|
+
} if (rf & 2) {
|
894
|
+
let _t;
|
895
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.sidenav = _t.first);
|
896
|
+
} }, inputs: { mode: "mode", opened: "opened", sidenavWidth: "sidenavWidth", containerAutosize: "containerAutosize" }, ngContentSelectors: _c1$1, decls: 11, vars: 8, consts: [["sidenav", ""], ["fullscreen", "", 1, "td-layout-manage-list", 3, "autosize"], ["position", "start", 3, "mode", "opened", "disableClose"], ["cdkScrollable", "", 1, "td-layout-manage-list-sidenav"], [1, "td-layout-manage-list-main"], ["cdkScrollable", "", 1, "td-layout-manage-list-content"]], template: function TdLayoutManageListComponent_Template(rf, ctx) { if (rf & 1) {
|
897
|
+
i0.ɵɵprojectionDef(_c0$2);
|
898
|
+
i0.ɵɵelementStart(0, "mat-sidenav-container", 1)(1, "mat-sidenav", 2, 0);
|
899
|
+
i0.ɵɵprojection(3);
|
900
|
+
i0.ɵɵelementStart(4, "div", 3);
|
901
|
+
i0.ɵɵprojection(5, 1);
|
902
|
+
i0.ɵɵelementEnd()();
|
903
|
+
i0.ɵɵelementStart(6, "div", 4);
|
904
|
+
i0.ɵɵprojection(7, 2);
|
905
|
+
i0.ɵɵelementStart(8, "div", 5);
|
906
|
+
i0.ɵɵprojection(9, 3);
|
907
|
+
i0.ɵɵelementEnd();
|
908
|
+
i0.ɵɵprojection(10, 4);
|
909
|
+
i0.ɵɵelementEnd()();
|
910
|
+
} if (rf & 2) {
|
911
|
+
i0.ɵɵproperty("autosize", ctx.containerAutosize);
|
912
|
+
i0.ɵɵadvance();
|
913
|
+
i0.ɵɵstyleProp("max-width", ctx.sidenavWidth)("min-width", ctx.sidenavWidth);
|
914
|
+
i0.ɵɵproperty("mode", ctx.mode)("opened", ctx.opened)("disableClose", ctx.disableClose);
|
915
|
+
} }, dependencies: [MatSidenav, MatSidenavContainer], styles: ["[_nghost-%COMP%]{display:flex;margin:0;width:100%;min-height:100%;height:100%;overflow:hidden}[_nghost-%COMP%] mat-sidenav-container.td-layout-manage-list[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] mat-sidenav-container.td-layout-manage-list[_ngcontent-%COMP%] > .mat-drawer[_ngcontent-%COMP%] > .mat-drawer-inner-container.mat-drawer-opened[_ngcontent-%COMP%], [_nghost-%COMP%] mat-sidenav-container.td-layout-manage-list[_ngcontent-%COMP%] > .mat-drawer[_ngcontent-%COMP%] > .mat-drawer-inner-container.mat-drawer-opening[_ngcontent-%COMP%], [_nghost-%COMP%] mat-sidenav-container.td-layout-manage-list[_ngcontent-%COMP%] > .mat-drawer[_ngcontent-%COMP%] > .mat-drawer-inner-container.mat-drawer-closed[_ngcontent-%COMP%], [_nghost-%COMP%] mat-sidenav-container.td-layout-manage-list[_ngcontent-%COMP%] > .mat-drawer[_ngcontent-%COMP%] > .mat-drawer-inner-container.mat-drawer-closing[_ngcontent-%COMP%]{box-shadow:0 1px 3px #0003}[_nghost-%COMP%] .td-layout-manage-list-sidenav[_ngcontent-%COMP%]{text-align:start;flex:1;display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}[_nghost-%COMP%] .td-layout-manage-list-main[_ngcontent-%COMP%]{margin:0;width:100%;min-height:100%;height:100%;position:relative;overflow:auto;flex-direction:column;box-sizing:border-box;display:flex}[_nghost-%COMP%] .td-layout-manage-list-main[_ngcontent-%COMP%] .td-layout-manage-list-content[_ngcontent-%COMP%]{display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch;flex:1}[_nghost-%COMP%] mat-sidenav-container.td-layout-manage-list>.mat-drawer-content{flex-grow:1}[_nghost-%COMP%] mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container{box-shadow:0 1px 3px #0003,0 1px 1px #00000024,0 2px 1px -1px #0000001f;box-sizing:border-box;display:flex;flex-direction:column}[_nghost-%COMP%] mat-nav-list a[mat-list-item] .mat-list-item-content{font-size:14px}[_nghost-%COMP%] .mat-toolbar{font-weight:400}"] });
|
690
916
|
}
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
917
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutManageListComponent, [{
|
918
|
+
type: Component,
|
919
|
+
args: [{ selector: 'td-layout-manage-list', imports: [MatSidenav, MatSidenavContainer], template: "<mat-sidenav-container\n fullscreen\n [autosize]=\"containerAutosize\"\n class=\"td-layout-manage-list\"\n>\n <mat-sidenav\n #sidenav\n position=\"start\"\n [mode]=\"mode\"\n [opened]=\"opened\"\n [disableClose]=\"disableClose\"\n [style.max-width]=\"sidenavWidth\"\n [style.min-width]=\"sidenavWidth\"\n >\n <ng-content select=\"mat-toolbar[td-sidenav-content]\"></ng-content>\n <div class=\"td-layout-manage-list-sidenav\" cdkScrollable>\n <ng-content select=\"[td-sidenav-content]\"></ng-content>\n </div>\n </mat-sidenav>\n <div class=\"td-layout-manage-list-main\">\n <ng-content select=\"mat-toolbar\"></ng-content>\n <div class=\"td-layout-manage-list-content\" cdkScrollable>\n <ng-content></ng-content>\n </div>\n <ng-content select=\"td-layout-footer-inner\"></ng-content>\n </div>\n</mat-sidenav-container>\n", styles: [":host{display:flex;margin:0;width:100%;min-height:100%;height:100%;overflow:hidden}:host mat-sidenav-container.td-layout-manage-list{flex:1}:host mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container.mat-drawer-opened,:host mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container.mat-drawer-opening,:host mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container.mat-drawer-closed,:host mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container.mat-drawer-closing{box-shadow:0 1px 3px #0003}:host .td-layout-manage-list-sidenav{text-align:start;flex:1;display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}:host .td-layout-manage-list-main{margin:0;width:100%;min-height:100%;height:100%;position:relative;overflow:auto;flex-direction:column;box-sizing:border-box;display:flex}:host .td-layout-manage-list-main .td-layout-manage-list-content{display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch;flex:1}:host ::ng-deep mat-sidenav-container.td-layout-manage-list>.mat-drawer-content{flex-grow:1}:host ::ng-deep mat-sidenav-container.td-layout-manage-list>.mat-drawer>.mat-drawer-inner-container{box-shadow:0 1px 3px #0003,0 1px 1px #00000024,0 2px 1px -1px #0000001f;box-sizing:border-box;display:flex;flex-direction:column}:host ::ng-deep mat-nav-list a[mat-list-item] .mat-list-item-content{font-size:14px}:host ::ng-deep .mat-toolbar{font-weight:400}\n"] }]
|
920
|
+
}], null, { sidenav: [{
|
921
|
+
type: ViewChild,
|
922
|
+
args: [MatSidenav, { static: true }]
|
923
|
+
}], mode: [{
|
924
|
+
type: Input
|
925
|
+
}], opened: [{
|
926
|
+
type: Input
|
927
|
+
}], sidenavWidth: [{
|
928
|
+
type: Input
|
929
|
+
}], containerAutosize: [{
|
930
|
+
type: Input
|
931
|
+
}] }); })();
|
932
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdLayoutManageListComponent, { className: "TdLayoutManageListComponent", filePath: "layout-manage-list/layout-manage-list.component.ts", lineNumber: 13 }); })();
|
706
933
|
|
707
934
|
class TdLayoutManageListToggleDirective extends BaseLayoutToggleDirective {
|
708
935
|
set tdLayoutManageListToggle(tdLayoutManageListToggle) {
|
@@ -714,22 +941,22 @@ class TdLayoutManageListToggleDirective extends BaseLayoutToggleDirective {
|
|
714
941
|
onClick() {
|
715
942
|
this._layout.toggle();
|
716
943
|
}
|
717
|
-
static ɵfac =
|
718
|
-
static ɵdir = i0.ɵɵ
|
944
|
+
static ɵfac = function TdLayoutManageListToggleDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdLayoutManageListToggleDirective)(i0.ɵɵdirectiveInject(forwardRef(() => TdLayoutManageListComponent), 8), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
945
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TdLayoutManageListToggleDirective, selectors: [["", "tdLayoutManageListToggle", ""]], inputs: { tdLayoutManageListToggle: "tdLayoutManageListToggle" }, features: [i0.ɵɵInheritDefinitionFeature] });
|
719
946
|
}
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
947
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutManageListToggleDirective, [{
|
948
|
+
type: Directive,
|
949
|
+
args: [{
|
950
|
+
selector: '[tdLayoutManageListToggle]',
|
951
|
+
}]
|
952
|
+
}], () => [{ type: TdLayoutManageListComponent, decorators: [{
|
953
|
+
type: Optional
|
954
|
+
}, {
|
955
|
+
type: Inject,
|
956
|
+
args: [forwardRef(() => TdLayoutManageListComponent)]
|
957
|
+
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }], { tdLayoutManageListToggle: [{
|
958
|
+
type: Input
|
959
|
+
}] }); })();
|
733
960
|
class TdLayoutManageListCloseDirective extends BaseLayoutToggleDirective {
|
734
961
|
set tdLayoutManageListClose(tdLayoutManageListClose) {
|
735
962
|
this.disabled = !(tdLayoutManageListClose === '' || tdLayoutManageListClose);
|
@@ -740,22 +967,22 @@ class TdLayoutManageListCloseDirective extends BaseLayoutToggleDirective {
|
|
740
967
|
onClick() {
|
741
968
|
this._layout.close();
|
742
969
|
}
|
743
|
-
static ɵfac =
|
744
|
-
static ɵdir = i0.ɵɵ
|
970
|
+
static ɵfac = function TdLayoutManageListCloseDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdLayoutManageListCloseDirective)(i0.ɵɵdirectiveInject(forwardRef(() => TdLayoutManageListComponent), 8), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
971
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TdLayoutManageListCloseDirective, selectors: [["", "tdLayoutManageListClose", ""]], inputs: { tdLayoutManageListClose: "tdLayoutManageListClose" }, features: [i0.ɵɵInheritDefinitionFeature] });
|
745
972
|
}
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
973
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutManageListCloseDirective, [{
|
974
|
+
type: Directive,
|
975
|
+
args: [{
|
976
|
+
selector: '[tdLayoutManageListClose]',
|
977
|
+
}]
|
978
|
+
}], () => [{ type: TdLayoutManageListComponent, decorators: [{
|
979
|
+
type: Optional
|
980
|
+
}, {
|
981
|
+
type: Inject,
|
982
|
+
args: [forwardRef(() => TdLayoutManageListComponent)]
|
983
|
+
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }], { tdLayoutManageListClose: [{
|
984
|
+
type: Input
|
985
|
+
}] }); })();
|
759
986
|
class TdLayoutManageListOpenDirective extends BaseLayoutToggleDirective {
|
760
987
|
set tdLayoutManageListOpen(tdLayoutManageListOpen) {
|
761
988
|
this.disabled = !(tdLayoutManageListOpen === '' || tdLayoutManageListOpen);
|
@@ -766,23 +993,24 @@ class TdLayoutManageListOpenDirective extends BaseLayoutToggleDirective {
|
|
766
993
|
onClick() {
|
767
994
|
this._layout.open();
|
768
995
|
}
|
769
|
-
static ɵfac =
|
770
|
-
static ɵdir = i0.ɵɵ
|
996
|
+
static ɵfac = function TdLayoutManageListOpenDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdLayoutManageListOpenDirective)(i0.ɵɵdirectiveInject(forwardRef(() => TdLayoutManageListComponent), 8), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
997
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TdLayoutManageListOpenDirective, selectors: [["", "tdLayoutManageListOpen", ""]], inputs: { tdLayoutManageListOpen: "tdLayoutManageListOpen" }, features: [i0.ɵɵInheritDefinitionFeature] });
|
771
998
|
}
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
999
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutManageListOpenDirective, [{
|
1000
|
+
type: Directive,
|
1001
|
+
args: [{
|
1002
|
+
selector: '[tdLayoutManageListOpen]',
|
1003
|
+
}]
|
1004
|
+
}], () => [{ type: TdLayoutManageListComponent, decorators: [{
|
1005
|
+
type: Optional
|
1006
|
+
}, {
|
1007
|
+
type: Inject,
|
1008
|
+
args: [forwardRef(() => TdLayoutManageListComponent)]
|
1009
|
+
}] }, { type: i0.Renderer2 }, { type: i0.ElementRef }], { tdLayoutManageListOpen: [{
|
1010
|
+
type: Input
|
1011
|
+
}] }); })();
|
785
1012
|
|
1013
|
+
const _c0$1 = ["*"];
|
786
1014
|
class TdLayoutFooterComponent {
|
787
1015
|
_renderer;
|
788
1016
|
_elementRef;
|
@@ -807,36 +1035,149 @@ class TdLayoutFooterComponent {
|
|
807
1035
|
this._elementRef = _elementRef;
|
808
1036
|
this._renderer.addClass(this._elementRef.nativeElement, 'td-layout-footer');
|
809
1037
|
}
|
810
|
-
static ɵfac =
|
811
|
-
static ɵcmp = i0.ɵɵ
|
1038
|
+
static ɵfac = function TdLayoutFooterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdLayoutFooterComponent)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
1039
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TdLayoutFooterComponent, selectors: [["td-layout-footer"], ["td-layout-footer-inner"]], inputs: { color: "color" }, ngContentSelectors: _c0$1, decls: 1, vars: 0, template: function TdLayoutFooterComponent_Template(rf, ctx) { if (rf & 1) {
|
1040
|
+
i0.ɵɵprojectionDef();
|
1041
|
+
i0.ɵɵprojection(0);
|
1042
|
+
} }, styles: ["[_nghost-%COMP%]{display:block;padding:10px 16px}"] });
|
812
1043
|
}
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
1044
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdLayoutFooterComponent, [{
|
1045
|
+
type: Component,
|
1046
|
+
args: [{ selector: 'td-layout-footer,td-layout-footer-inner', template: "<ng-content></ng-content>\n", styles: [":host{display:block;padding:10px 16px}\n"] }]
|
1047
|
+
}], () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }], { color: [{
|
1048
|
+
type: Input
|
1049
|
+
}] }); })();
|
1050
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdLayoutFooterComponent, { className: "TdLayoutFooterComponent", filePath: "layout-footer/layout-footer.component.ts", lineNumber: 9 }); })();
|
819
1051
|
|
1052
|
+
const _c0 = [[["", "td-navigation-drawer-toolbar", ""]], "*", [["", "td-navigation-drawer-menu", ""]]];
|
1053
|
+
const _c1 = ["[td-navigation-drawer-toolbar]", "*", "[td-navigation-drawer-menu]"];
|
1054
|
+
function TdNavigationDrawerComponent_ng_container_2_div_1_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
|
1055
|
+
i0.ɵɵelementStart(0, "mat-icon");
|
1056
|
+
i0.ɵɵtext(1);
|
1057
|
+
i0.ɵɵelementEnd();
|
1058
|
+
} if (rf & 2) {
|
1059
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
1060
|
+
i0.ɵɵadvance();
|
1061
|
+
i0.ɵɵtextInterpolate(ctx_r1.icon);
|
1062
|
+
} }
|
1063
|
+
function TdNavigationDrawerComponent_ng_container_2_div_1_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
|
1064
|
+
i0.ɵɵelement(0, "mat-icon", 11);
|
1065
|
+
} if (rf & 2) {
|
1066
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
1067
|
+
i0.ɵɵproperty("svgIcon", ctx_r1.logo);
|
1068
|
+
} }
|
1069
|
+
function TdNavigationDrawerComponent_ng_container_2_div_1_img_3_Template(rf, ctx) { if (rf & 1) {
|
1070
|
+
i0.ɵɵelement(0, "img", 12);
|
1071
|
+
} if (rf & 2) {
|
1072
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
1073
|
+
i0.ɵɵattribute("src", ctx_r1.avatar, i0.ɵɵsanitizeUrl);
|
1074
|
+
} }
|
1075
|
+
function TdNavigationDrawerComponent_ng_container_2_div_1_span_4_Template(rf, ctx) { if (rf & 1) {
|
1076
|
+
i0.ɵɵelementStart(0, "span", 13);
|
1077
|
+
i0.ɵɵtext(1);
|
1078
|
+
i0.ɵɵelementEnd();
|
1079
|
+
} if (rf & 2) {
|
1080
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
1081
|
+
i0.ɵɵadvance();
|
1082
|
+
i0.ɵɵtextInterpolate(ctx_r1.sidenavTitle);
|
1083
|
+
} }
|
1084
|
+
function TdNavigationDrawerComponent_ng_container_2_div_1_Template(rf, ctx) { if (rf & 1) {
|
1085
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
1086
|
+
i0.ɵɵelementStart(0, "div", 7);
|
1087
|
+
i0.ɵɵlistener("click", function TdNavigationDrawerComponent_ng_container_2_div_1_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.handleNavigationClick()); });
|
1088
|
+
i0.ɵɵtemplate(1, TdNavigationDrawerComponent_ng_container_2_div_1_mat_icon_1_Template, 2, 1, "mat-icon", 1)(2, TdNavigationDrawerComponent_ng_container_2_div_1_mat_icon_2_Template, 1, 1, "mat-icon", 8)(3, TdNavigationDrawerComponent_ng_container_2_div_1_img_3_Template, 1, 1, "img", 9)(4, TdNavigationDrawerComponent_ng_container_2_div_1_span_4_Template, 2, 1, "span", 10);
|
1089
|
+
i0.ɵɵelementEnd();
|
1090
|
+
} if (rf & 2) {
|
1091
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
1092
|
+
i0.ɵɵclassProp("cursor-pointer", ctx_r1.routerEnabled);
|
1093
|
+
i0.ɵɵadvance();
|
1094
|
+
i0.ɵɵproperty("ngIf", ctx_r1.icon);
|
1095
|
+
i0.ɵɵadvance();
|
1096
|
+
i0.ɵɵproperty("ngIf", ctx_r1.logo && !ctx_r1.icon);
|
1097
|
+
i0.ɵɵadvance();
|
1098
|
+
i0.ɵɵproperty("ngIf", ctx_r1.avatar && !ctx_r1.logo && !ctx_r1.icon);
|
1099
|
+
i0.ɵɵadvance();
|
1100
|
+
i0.ɵɵproperty("ngIf", ctx_r1.sidenavTitle);
|
1101
|
+
} }
|
1102
|
+
function TdNavigationDrawerComponent_ng_container_2_div_2_Template(rf, ctx) { if (rf & 1) {
|
1103
|
+
i0.ɵɵelementStart(0, "div", 14);
|
1104
|
+
i0.ɵɵtext(1);
|
1105
|
+
i0.ɵɵelementEnd();
|
1106
|
+
} if (rf & 2) {
|
1107
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
1108
|
+
i0.ɵɵadvance();
|
1109
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r1.name, " ");
|
1110
|
+
} }
|
1111
|
+
function TdNavigationDrawerComponent_ng_container_2_div_3_button_3_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
|
1112
|
+
i0.ɵɵelementStart(0, "mat-icon");
|
1113
|
+
i0.ɵɵtext(1, "arrow_drop_down");
|
1114
|
+
i0.ɵɵelementEnd();
|
1115
|
+
} }
|
1116
|
+
function TdNavigationDrawerComponent_ng_container_2_div_3_button_3_mat_icon_2_Template(rf, ctx) { if (rf & 1) {
|
1117
|
+
i0.ɵɵelementStart(0, "mat-icon");
|
1118
|
+
i0.ɵɵtext(1, "arrow_drop_up");
|
1119
|
+
i0.ɵɵelementEnd();
|
1120
|
+
} }
|
1121
|
+
function TdNavigationDrawerComponent_ng_container_2_div_3_button_3_Template(rf, ctx) { if (rf & 1) {
|
1122
|
+
i0.ɵɵelementStart(0, "button", 18);
|
1123
|
+
i0.ɵɵtemplate(1, TdNavigationDrawerComponent_ng_container_2_div_3_button_3_mat_icon_1_Template, 2, 0, "mat-icon", 1)(2, TdNavigationDrawerComponent_ng_container_2_div_3_button_3_mat_icon_2_Template, 2, 0, "mat-icon", 1);
|
1124
|
+
i0.ɵɵelementEnd();
|
1125
|
+
} if (rf & 2) {
|
1126
|
+
const ctx_r1 = i0.ɵɵnextContext(3);
|
1127
|
+
i0.ɵɵadvance();
|
1128
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.menuToggled);
|
1129
|
+
i0.ɵɵadvance();
|
1130
|
+
i0.ɵɵproperty("ngIf", ctx_r1.menuToggled);
|
1131
|
+
} }
|
1132
|
+
function TdNavigationDrawerComponent_ng_container_2_div_3_Template(rf, ctx) { if (rf & 1) {
|
1133
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
1134
|
+
i0.ɵɵelementStart(0, "div", 15);
|
1135
|
+
i0.ɵɵlistener("click", function TdNavigationDrawerComponent_ng_container_2_div_3_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.toggleMenu()); });
|
1136
|
+
i0.ɵɵelementStart(1, "span", 16);
|
1137
|
+
i0.ɵɵtext(2);
|
1138
|
+
i0.ɵɵelementEnd();
|
1139
|
+
i0.ɵɵtemplate(3, TdNavigationDrawerComponent_ng_container_2_div_3_button_3_Template, 3, 2, "button", 17);
|
1140
|
+
i0.ɵɵelementEnd();
|
1141
|
+
} if (rf & 2) {
|
1142
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
1143
|
+
i0.ɵɵadvance(2);
|
1144
|
+
i0.ɵɵtextInterpolate(ctx_r1.email || ctx_r1.name);
|
1145
|
+
i0.ɵɵadvance();
|
1146
|
+
i0.ɵɵproperty("ngIf", ctx_r1.isMenuAvailable);
|
1147
|
+
} }
|
1148
|
+
function TdNavigationDrawerComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
1149
|
+
i0.ɵɵelementContainerStart(0);
|
1150
|
+
i0.ɵɵtemplate(1, TdNavigationDrawerComponent_ng_container_2_div_1_Template, 5, 6, "div", 4)(2, TdNavigationDrawerComponent_ng_container_2_div_2_Template, 2, 1, "div", 5)(3, TdNavigationDrawerComponent_ng_container_2_div_3_Template, 4, 2, "div", 6);
|
1151
|
+
i0.ɵɵelementContainerEnd();
|
1152
|
+
} if (rf & 2) {
|
1153
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
1154
|
+
i0.ɵɵadvance();
|
1155
|
+
i0.ɵɵproperty("ngIf", ctx_r1.icon || ctx_r1.logo || ctx_r1.sidenavTitle || ctx_r1.avatar);
|
1156
|
+
i0.ɵɵadvance();
|
1157
|
+
i0.ɵɵproperty("ngIf", ctx_r1.email && ctx_r1.name);
|
1158
|
+
i0.ɵɵadvance();
|
1159
|
+
i0.ɵɵproperty("ngIf", ctx_r1.email || ctx_r1.name);
|
1160
|
+
} }
|
820
1161
|
class TdNavigationDrawerMenuDirective {
|
821
|
-
static ɵfac =
|
822
|
-
static ɵdir = i0.ɵɵ
|
1162
|
+
static ɵfac = function TdNavigationDrawerMenuDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdNavigationDrawerMenuDirective)(); };
|
1163
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TdNavigationDrawerMenuDirective, selectors: [["", "tdNavigationDrawerMenu", ""]] });
|
823
1164
|
}
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
1165
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdNavigationDrawerMenuDirective, [{
|
1166
|
+
type: Directive,
|
1167
|
+
args: [{
|
1168
|
+
selector: '[tdNavigationDrawerMenu]',
|
1169
|
+
}]
|
1170
|
+
}], null, null); })();
|
830
1171
|
class TdNavigationDrawerToolbarDirective {
|
831
|
-
static ɵfac =
|
832
|
-
static ɵdir = i0.ɵɵ
|
1172
|
+
static ɵfac = function TdNavigationDrawerToolbarDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdNavigationDrawerToolbarDirective)(); };
|
1173
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TdNavigationDrawerToolbarDirective, selectors: [["", "tdNavigationDrawerToolbar", ""]] });
|
833
1174
|
}
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
|
1175
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdNavigationDrawerToolbarDirective, [{
|
1176
|
+
type: Directive,
|
1177
|
+
args: [{
|
1178
|
+
selector: '[tdNavigationDrawerToolbar]',
|
1179
|
+
}]
|
1180
|
+
}], null, null); })();
|
840
1181
|
class TdNavigationDrawerComponent {
|
841
1182
|
_layout;
|
842
1183
|
_router;
|
@@ -986,42 +1327,72 @@ class TdNavigationDrawerComponent {
|
|
986
1327
|
close() {
|
987
1328
|
return this._layout.close();
|
988
1329
|
}
|
989
|
-
static ɵfac =
|
990
|
-
static ɵcmp = i0.ɵɵ
|
1330
|
+
static ɵfac = function TdNavigationDrawerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdNavigationDrawerComponent)(i0.ɵɵdirectiveInject(forwardRef(() => TdLayoutComponent)), i0.ɵɵdirectiveInject(i1.Router, 8), i0.ɵɵdirectiveInject(i2$2.DomSanitizer)); };
|
1331
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TdNavigationDrawerComponent, selectors: [["td-navigation-drawer"]], contentQueries: function TdNavigationDrawerComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
1332
|
+
i0.ɵɵcontentQuery(dirIndex, TdNavigationDrawerMenuDirective, 5);
|
1333
|
+
i0.ɵɵcontentQuery(dirIndex, TdNavigationDrawerToolbarDirective, 5);
|
1334
|
+
} if (rf & 2) {
|
1335
|
+
let _t;
|
1336
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._drawerMenu = _t);
|
1337
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._toolbar = _t);
|
1338
|
+
} }, inputs: { sidenavTitle: "sidenavTitle", icon: "icon", logo: "logo", avatar: "avatar", color: "color", navigationRoute: "navigationRoute", backgroundUrl: "backgroundUrl", name: "name", email: "email" }, ngContentSelectors: _c1, decls: 7, vars: 8, consts: [[1, "td-nagivation-drawer-toolbar", 3, "color"], [4, "ngIf"], [1, "td-navigation-drawer-content"], [1, "td-navigation-drawer-menu-content"], ["class", "td-navigation-drawer-toolbar-content", 3, "cursor-pointer", "click", 4, "ngIf"], ["class", "td-navigation-drawer-name", 4, "ngIf"], ["class", "td-navigation-drawer-menu-toggle", "href", "", 3, "click", 4, "ngIf"], [1, "td-navigation-drawer-toolbar-content", 3, "click"], ["class", "mat-icon-logo", 3, "svgIcon", 4, "ngIf"], ["class", "td-nagivation-drawer-toolbar-avatar", 4, "ngIf"], ["class", "td-navigation-drawer-title", 4, "ngIf"], [1, "mat-icon-logo", 3, "svgIcon"], [1, "td-nagivation-drawer-toolbar-avatar"], [1, "td-navigation-drawer-title"], [1, "td-navigation-drawer-name"], ["href", "", 1, "td-navigation-drawer-menu-toggle", 3, "click"], [1, "td-navigation-drawer-label"], ["mat-icon-button", "", "class", "td-navigation-drawer-menu-button", 4, "ngIf"], ["mat-icon-button", "", 1, "td-navigation-drawer-menu-button"]], template: function TdNavigationDrawerComponent_Template(rf, ctx) { if (rf & 1) {
|
1339
|
+
i0.ɵɵprojectionDef(_c0);
|
1340
|
+
i0.ɵɵelementStart(0, "mat-toolbar", 0);
|
1341
|
+
i0.ɵɵprojection(1);
|
1342
|
+
i0.ɵɵtemplate(2, TdNavigationDrawerComponent_ng_container_2_Template, 4, 3, "ng-container", 1);
|
1343
|
+
i0.ɵɵelementEnd();
|
1344
|
+
i0.ɵɵelementStart(3, "div", 2);
|
1345
|
+
i0.ɵɵprojection(4, 1);
|
1346
|
+
i0.ɵɵelementEnd();
|
1347
|
+
i0.ɵɵelementStart(5, "div", 3);
|
1348
|
+
i0.ɵɵprojection(6, 2);
|
1349
|
+
i0.ɵɵelementEnd();
|
1350
|
+
} if (rf & 2) {
|
1351
|
+
i0.ɵɵstyleProp("background-image", ctx.backgroundImage);
|
1352
|
+
i0.ɵɵclassProp("td-toolbar-background", !!ctx.isBackgroundAvailable);
|
1353
|
+
i0.ɵɵproperty("color", ctx.color);
|
1354
|
+
i0.ɵɵadvance(2);
|
1355
|
+
i0.ɵɵproperty("ngIf", !ctx.isCustomToolbar);
|
1356
|
+
i0.ɵɵadvance();
|
1357
|
+
i0.ɵɵproperty("@tdCollapse", ctx.menuToggled);
|
1358
|
+
i0.ɵɵadvance(2);
|
1359
|
+
i0.ɵɵproperty("@tdCollapse", !ctx.menuToggled);
|
1360
|
+
} }, dependencies: [CommonModule, i2.NgIf, MatToolbar, MatIcon, MatIconButton], styles: ["[_nghost-%COMP%]{width:100%}[_nghost-%COMP%] .td-navigation-drawer-content.ng-animating[_ngcontent-%COMP%], [_nghost-%COMP%] .td-navigation-drawer-menu-content.ng-animating[_ngcontent-%COMP%]{overflow:hidden}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%]{padding:16px}[_nghost-%COMP%] mat-toolbar.td-toolbar-background[_ngcontent-%COMP%]{background-repeat:no-repeat;background-size:cover}[_nghost-%COMP%] mat-toolbar.td-nagivation-drawer-toolbar[_ngcontent-%COMP%]{flex-direction:column;height:auto!important;display:block!important}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%] .td-navigation-drawer-toolbar-content[_ngcontent-%COMP%]{flex-direction:row;box-sizing:border-box;display:flex;align-items:center;align-content:center;max-width:100%;justify-content:flex-start}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%] .td-navigation-drawer-toolbar-content[_ngcontent-%COMP%] .td-nagivation-drawer-toolbar-avatar[_ngcontent-%COMP%]{border-radius:50%;height:60px;width:60px;margin:0 12px 12px 0}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%] .td-navigation-drawer-toolbar-content[_ngcontent-%COMP%] .td-navigation-drawer-title[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%] .td-navigation-drawer-name[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%] .td-navigation-drawer-menu-toggle[_ngcontent-%COMP%]{flex-direction:row;box-sizing:border-box;display:flex}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%] .td-navigation-drawer-menu-toggle[_ngcontent-%COMP%] .td-navigation-drawer-label[_ngcontent-%COMP%]{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%] .td-navigation-drawer-menu-toggle[_ngcontent-%COMP%] .td-navigation-drawer-menu-button[_ngcontent-%COMP%]{width:24px;height:24px;padding:0}[_nghost-%COMP%] > div[_ngcontent-%COMP%]{overflow:hidden}"], data: { animation: [tdCollapseAnimation] } });
|
991
1361
|
}
|
992
|
-
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1014
|
-
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1362
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdNavigationDrawerComponent, [{
|
1363
|
+
type: Component,
|
1364
|
+
args: [{ selector: 'td-navigation-drawer', animations: [tdCollapseAnimation], imports: [CommonModule, MatToolbar, MatIcon, MatIconButton], template: "<mat-toolbar\n [color]=\"color\"\n [style.background-image]=\"backgroundImage\"\n [class.td-toolbar-background]=\"!!isBackgroundAvailable\"\n class=\"td-nagivation-drawer-toolbar\"\n>\n <ng-content select=\"[td-navigation-drawer-toolbar]\"></ng-content>\n <ng-container *ngIf=\"!isCustomToolbar\">\n <div\n *ngIf=\"icon || logo || sidenavTitle || avatar\"\n class=\"td-navigation-drawer-toolbar-content\"\n [class.cursor-pointer]=\"routerEnabled\"\n (click)=\"handleNavigationClick()\"\n >\n <mat-icon *ngIf=\"icon\">{{ icon }}</mat-icon>\n <mat-icon\n *ngIf=\"logo && !icon\"\n class=\"mat-icon-logo\"\n [svgIcon]=\"logo\"\n ></mat-icon>\n <img\n *ngIf=\"avatar && !logo && !icon\"\n class=\"td-nagivation-drawer-toolbar-avatar\"\n [attr.src]=\"avatar\"\n />\n <span *ngIf=\"sidenavTitle\" class=\"td-navigation-drawer-title\">{{\n sidenavTitle\n }}</span>\n </div>\n <div class=\"td-navigation-drawer-name\" *ngIf=\"email && name\">\n {{ name }}\n </div>\n <div\n class=\"td-navigation-drawer-menu-toggle\"\n href\n *ngIf=\"email || name\"\n (click)=\"toggleMenu()\"\n >\n <span class=\"td-navigation-drawer-label\">{{ email || name }}</span>\n <button\n mat-icon-button\n class=\"td-navigation-drawer-menu-button\"\n *ngIf=\"isMenuAvailable\"\n >\n <mat-icon *ngIf=\"!menuToggled\">arrow_drop_down</mat-icon>\n <mat-icon *ngIf=\"menuToggled\">arrow_drop_up</mat-icon>\n </button>\n </div>\n </ng-container>\n</mat-toolbar>\n<div class=\"td-navigation-drawer-content\" [@tdCollapse]=\"menuToggled\">\n <ng-content></ng-content>\n</div>\n<div class=\"td-navigation-drawer-menu-content\" [@tdCollapse]=\"!menuToggled\">\n <ng-content select=\"[td-navigation-drawer-menu]\"></ng-content>\n</div>\n", styles: [":host{width:100%}:host .td-navigation-drawer-content.ng-animating,:host .td-navigation-drawer-menu-content.ng-animating{overflow:hidden}:host mat-toolbar{padding:16px}:host mat-toolbar.td-toolbar-background{background-repeat:no-repeat;background-size:cover}:host mat-toolbar.td-nagivation-drawer-toolbar{flex-direction:column;height:auto!important;display:block!important}:host mat-toolbar .td-navigation-drawer-toolbar-content{flex-direction:row;box-sizing:border-box;display:flex;align-items:center;align-content:center;max-width:100%;justify-content:flex-start}:host mat-toolbar .td-navigation-drawer-toolbar-content .td-nagivation-drawer-toolbar-avatar{border-radius:50%;height:60px;width:60px;margin:0 12px 12px 0}:host mat-toolbar .td-navigation-drawer-toolbar-content .td-navigation-drawer-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host mat-toolbar .td-navigation-drawer-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host mat-toolbar .td-navigation-drawer-menu-toggle{flex-direction:row;box-sizing:border-box;display:flex}:host mat-toolbar .td-navigation-drawer-menu-toggle .td-navigation-drawer-label{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host mat-toolbar .td-navigation-drawer-menu-toggle .td-navigation-drawer-menu-button{width:24px;height:24px;padding:0}:host>div{overflow:hidden}\n"] }]
|
1365
|
+
}], () => [{ type: TdLayoutComponent, decorators: [{
|
1366
|
+
type: Inject,
|
1367
|
+
args: [forwardRef(() => TdLayoutComponent)]
|
1368
|
+
}] }, { type: i1.Router, decorators: [{
|
1369
|
+
type: Optional
|
1370
|
+
}] }, { type: i2$2.DomSanitizer }], { _drawerMenu: [{
|
1371
|
+
type: ContentChildren,
|
1372
|
+
args: [TdNavigationDrawerMenuDirective, { descendants: true }]
|
1373
|
+
}], _toolbar: [{
|
1374
|
+
type: ContentChildren,
|
1375
|
+
args: [TdNavigationDrawerToolbarDirective, { descendants: true }]
|
1376
|
+
}], sidenavTitle: [{
|
1377
|
+
type: Input
|
1378
|
+
}], icon: [{
|
1379
|
+
type: Input
|
1380
|
+
}], logo: [{
|
1381
|
+
type: Input
|
1382
|
+
}], avatar: [{
|
1383
|
+
type: Input
|
1384
|
+
}], color: [{
|
1385
|
+
type: Input
|
1386
|
+
}], navigationRoute: [{
|
1387
|
+
type: Input
|
1388
|
+
}], backgroundUrl: [{
|
1389
|
+
type: Input
|
1390
|
+
}], name: [{
|
1391
|
+
type: Input
|
1392
|
+
}], email: [{
|
1393
|
+
type: Input
|
1394
|
+
}] }); })();
|
1395
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdNavigationDrawerComponent, { className: "TdNavigationDrawerComponent", filePath: "navigation-drawer/navigation-drawer.component.ts", lineNumber: 46 }); })();
|
1025
1396
|
|
1026
1397
|
const TD_LAYOUTS = [
|
1027
1398
|
TdLayoutComponent,
|
@@ -1043,79 +1414,62 @@ const TD_LAYOUTS = [
|
|
1043
1414
|
TdNavigationDrawerMenuDirective,
|
1044
1415
|
TdNavigationDrawerToolbarDirective,
|
1045
1416
|
];
|
1417
|
+
/**
|
1418
|
+
* @deprecated This module is deprecated and will be removed in future versions.
|
1419
|
+
* Please migrate to using standalone components as soon as possible.
|
1420
|
+
*/
|
1046
1421
|
class CovalentLayoutModule {
|
1047
|
-
static ɵfac =
|
1048
|
-
static ɵmod = i0.ɵɵ
|
1049
|
-
|
1050
|
-
TdLayoutCloseDirective,
|
1051
|
-
TdLayoutOpenDirective,
|
1052
|
-
TdLayoutNavComponent,
|
1053
|
-
TdLayoutNavListComponent,
|
1054
|
-
TdLayoutNavListToggleDirective,
|
1055
|
-
TdLayoutNavListCloseDirective,
|
1056
|
-
TdLayoutNavListOpenDirective,
|
1057
|
-
TdLayoutCardOverComponent,
|
1058
|
-
TdLayoutManageListComponent,
|
1059
|
-
TdLayoutManageListToggleDirective,
|
1060
|
-
TdLayoutManageListCloseDirective,
|
1061
|
-
TdLayoutManageListOpenDirective,
|
1062
|
-
TdLayoutFooterComponent,
|
1063
|
-
TdNavigationDrawerComponent,
|
1064
|
-
TdNavigationDrawerMenuDirective,
|
1065
|
-
TdNavigationDrawerToolbarDirective], imports: [CommonModule,
|
1066
|
-
ScrollingModule,
|
1067
|
-
MatSidenavModule,
|
1068
|
-
MatToolbarModule,
|
1069
|
-
MatButtonModule,
|
1070
|
-
MatIconModule,
|
1071
|
-
MatCardModule,
|
1072
|
-
MatDividerModule,
|
1073
|
-
CovalentMenuModule], exports: [TdLayoutComponent,
|
1074
|
-
TdLayoutToggleDirective,
|
1075
|
-
TdLayoutCloseDirective,
|
1076
|
-
TdLayoutOpenDirective,
|
1422
|
+
static ɵfac = function CovalentLayoutModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CovalentLayoutModule)(); };
|
1423
|
+
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: CovalentLayoutModule });
|
1424
|
+
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [TdLayoutComponent,
|
1077
1425
|
TdLayoutNavComponent,
|
1078
1426
|
TdLayoutNavListComponent,
|
1079
|
-
TdLayoutNavListToggleDirective,
|
1080
|
-
TdLayoutNavListCloseDirective,
|
1081
|
-
TdLayoutNavListOpenDirective,
|
1082
1427
|
TdLayoutCardOverComponent,
|
1083
1428
|
TdLayoutManageListComponent,
|
1084
|
-
|
1085
|
-
TdLayoutManageListCloseDirective,
|
1086
|
-
TdLayoutManageListOpenDirective,
|
1087
|
-
TdLayoutFooterComponent,
|
1088
|
-
TdNavigationDrawerComponent,
|
1089
|
-
TdNavigationDrawerMenuDirective,
|
1090
|
-
TdNavigationDrawerToolbarDirective] });
|
1091
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: CovalentLayoutModule, imports: [CommonModule,
|
1092
|
-
ScrollingModule,
|
1093
|
-
MatSidenavModule,
|
1094
|
-
MatToolbarModule,
|
1095
|
-
MatButtonModule,
|
1096
|
-
MatIconModule,
|
1097
|
-
MatCardModule,
|
1098
|
-
MatDividerModule,
|
1099
|
-
CovalentMenuModule] });
|
1429
|
+
TdNavigationDrawerComponent] });
|
1100
1430
|
}
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1431
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CovalentLayoutModule, [{
|
1432
|
+
type: NgModule,
|
1433
|
+
args: [{
|
1434
|
+
imports: [...TD_LAYOUTS],
|
1435
|
+
exports: [...TD_LAYOUTS],
|
1436
|
+
}]
|
1437
|
+
}], null, null); })();
|
1438
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CovalentLayoutModule, { imports: [TdLayoutComponent,
|
1439
|
+
TdLayoutToggleDirective,
|
1440
|
+
TdLayoutCloseDirective,
|
1441
|
+
TdLayoutOpenDirective,
|
1442
|
+
TdLayoutNavComponent,
|
1443
|
+
TdLayoutNavListComponent,
|
1444
|
+
TdLayoutNavListToggleDirective,
|
1445
|
+
TdLayoutNavListCloseDirective,
|
1446
|
+
TdLayoutNavListOpenDirective,
|
1447
|
+
TdLayoutCardOverComponent,
|
1448
|
+
TdLayoutManageListComponent,
|
1449
|
+
TdLayoutManageListToggleDirective,
|
1450
|
+
TdLayoutManageListCloseDirective,
|
1451
|
+
TdLayoutManageListOpenDirective,
|
1452
|
+
TdLayoutFooterComponent,
|
1453
|
+
TdNavigationDrawerComponent,
|
1454
|
+
TdNavigationDrawerMenuDirective,
|
1455
|
+
TdNavigationDrawerToolbarDirective], exports: [TdLayoutComponent,
|
1456
|
+
TdLayoutToggleDirective,
|
1457
|
+
TdLayoutCloseDirective,
|
1458
|
+
TdLayoutOpenDirective,
|
1459
|
+
TdLayoutNavComponent,
|
1460
|
+
TdLayoutNavListComponent,
|
1461
|
+
TdLayoutNavListToggleDirective,
|
1462
|
+
TdLayoutNavListCloseDirective,
|
1463
|
+
TdLayoutNavListOpenDirective,
|
1464
|
+
TdLayoutCardOverComponent,
|
1465
|
+
TdLayoutManageListComponent,
|
1466
|
+
TdLayoutManageListToggleDirective,
|
1467
|
+
TdLayoutManageListCloseDirective,
|
1468
|
+
TdLayoutManageListOpenDirective,
|
1469
|
+
TdLayoutFooterComponent,
|
1470
|
+
TdNavigationDrawerComponent,
|
1471
|
+
TdNavigationDrawerMenuDirective,
|
1472
|
+
TdNavigationDrawerToolbarDirective] }); })();
|
1119
1473
|
|
1120
1474
|
/**
|
1121
1475
|
* Generated bundle index. Do not edit.
|