@dereekb/dbx-web 5.0.0 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_index.scss +7 -9
- package/esm2020/lib/action/action.confirm.directive.mjs +1 -1
- package/esm2020/lib/action/action.module.mjs +6 -45
- package/esm2020/lib/action/action.progress.component.mjs +2 -2
- package/esm2020/lib/action/key.trigger.directive.mjs +2 -2
- package/esm2020/lib/action/snackbar/action.snackbar.component.mjs +9 -7
- package/esm2020/lib/action/snackbar/action.snackbar.default.mjs +9 -9
- package/esm2020/lib/action/snackbar/action.snackbar.directive.mjs +5 -3
- package/esm2020/lib/action/snackbar/action.snackbar.generator.mjs +2 -2
- package/esm2020/lib/action/snackbar/action.snackbar.mjs +1 -1
- package/esm2020/lib/action/snackbar/action.snackbar.module.mjs +6 -33
- package/esm2020/lib/action/snackbar/action.snackbar.service.mjs +6 -6
- package/esm2020/lib/action/transition/action.transition.module.mjs +6 -28
- package/esm2020/lib/action/transition/transition.safety.dialog.component.mjs +1 -1
- package/esm2020/lib/action/transition/transition.safety.directive.mjs +7 -4
- package/esm2020/lib/button/button.component.mjs +8 -6
- package/esm2020/lib/button/button.module.mjs +6 -26
- package/esm2020/lib/button/button.spacer.component.mjs +1 -1
- package/esm2020/lib/button/progress/bar.button.component.mjs +3 -3
- package/esm2020/lib/button/progress/base.progress.button.directive.mjs +3 -3
- package/esm2020/lib/button/progress/button.progress.config.mjs +1 -1
- package/esm2020/lib/button/progress/button.progress.module.mjs +10 -35
- package/esm2020/lib/button/progress/spinner.button.component.mjs +3 -3
- package/esm2020/lib/dbx-web.module.mjs +4 -12
- package/esm2020/lib/error/error.action.directive.mjs +1 -1
- package/esm2020/lib/error/error.api.mjs +1 -1
- package/esm2020/lib/error/error.component.mjs +1 -1
- package/esm2020/lib/error/error.loading.directive.mjs +1 -1
- package/esm2020/lib/error/error.module.mjs +6 -22
- package/esm2020/lib/error/state.mjs +2 -2
- package/esm2020/lib/interaction/dialog/abstract.dialog.directive.mjs +1 -1
- package/esm2020/lib/interaction/dialog/dialog.action.directive.mjs +1 -1
- package/esm2020/lib/interaction/dialog/dialog.content.component.mjs +2 -2
- package/esm2020/lib/interaction/dialog/dialog.module.mjs +6 -21
- package/esm2020/lib/interaction/filter/filter.module.mjs +5 -17
- package/esm2020/lib/interaction/filter/filter.popover.button.component.mjs +1 -1
- package/esm2020/lib/interaction/filter/filter.popover.button.directive.mjs +1 -1
- package/esm2020/lib/interaction/filter/filter.popover.component.mjs +1 -1
- package/esm2020/lib/interaction/filter/filter.wrapper.component.mjs +1 -1
- package/esm2020/lib/interaction/interaction.module.mjs +4 -18
- package/esm2020/lib/interaction/popover/abstract.popover.directive.mjs +1 -1
- package/esm2020/lib/interaction/popover/abstract.popover.ref.directive.mjs +1 -1
- package/esm2020/lib/interaction/popover/popover.action.directive.mjs +2 -2
- package/esm2020/lib/interaction/popover/popover.component.mjs +21 -15
- package/esm2020/lib/interaction/popover/popover.content.component.mjs +13 -13
- package/esm2020/lib/interaction/popover/popover.controls.directive.mjs +2 -2
- package/esm2020/lib/interaction/popover/popover.coordinator.component.mjs +9 -9
- package/esm2020/lib/interaction/popover/popover.coordinator.service.mjs +1 -1
- package/esm2020/lib/interaction/popover/popover.header.component.mjs +21 -15
- package/esm2020/lib/interaction/popover/popover.mjs +1 -1
- package/esm2020/lib/interaction/popover/popover.module.mjs +7 -72
- package/esm2020/lib/interaction/popover/popover.position.strategy.mjs +9 -10
- package/esm2020/lib/interaction/popover/popover.scroll.content.component.mjs +8 -4
- package/esm2020/lib/interaction/popover/popover.service.mjs +2 -2
- package/esm2020/lib/interaction/popup/abstract.popup.directive.mjs +1 -1
- package/esm2020/lib/interaction/popup/popup.component.mjs +21 -15
- package/esm2020/lib/interaction/popup/popup.content.component.mjs +3 -3
- package/esm2020/lib/interaction/popup/popup.controls.buttons.component.mjs +4 -4
- package/esm2020/lib/interaction/popup/popup.controls.component.mjs +2 -2
- package/esm2020/lib/interaction/popup/popup.coordinator.component.mjs +8 -8
- package/esm2020/lib/interaction/popup/popup.coordinator.service.mjs +1 -1
- package/esm2020/lib/interaction/popup/popup.module.mjs +7 -55
- package/esm2020/lib/interaction/popup/popup.position.strategy.mjs +1 -1
- package/esm2020/lib/interaction/popup/popup.service.mjs +2 -2
- package/esm2020/lib/interaction/prompt/prompt.box.component.mjs +8 -4
- package/esm2020/lib/interaction/prompt/prompt.button.confirm.directive.mjs +3 -3
- package/esm2020/lib/interaction/prompt/prompt.component.mjs +1 -1
- package/esm2020/lib/interaction/prompt/prompt.confirm.component.mjs +1 -1
- package/esm2020/lib/interaction/prompt/prompt.confirm.dialog.component.mjs +1 -1
- package/esm2020/lib/interaction/prompt/prompt.confirm.directive.mjs +1 -1
- package/esm2020/lib/interaction/prompt/prompt.confirm.mjs +5 -3
- package/esm2020/lib/interaction/prompt/prompt.module.mjs +6 -60
- package/esm2020/lib/interaction/prompt/prompt.page.component.mjs +2 -2
- package/esm2020/lib/keypress/keydown.listener.directive.mjs +1 -1
- package/esm2020/lib/keypress/keypress.module.mjs +5 -13
- package/esm2020/lib/layout/bar/bar.directive.mjs +2 -2
- package/esm2020/lib/layout/bar/bar.header.component.mjs +4 -4
- package/esm2020/lib/layout/bar/bar.layout.module.mjs +6 -28
- package/esm2020/lib/layout/bar/bar.mjs +1 -1
- package/esm2020/lib/layout/bar/pagebar.component.mjs +3 -3
- package/esm2020/lib/layout/block/block.layout.module.mjs +6 -20
- package/esm2020/lib/layout/block/two.block.component.mjs +16 -16
- package/esm2020/lib/layout/card/card.box.component.mjs +27 -21
- package/esm2020/lib/layout/card/card.box.container.component.mjs +7 -7
- package/esm2020/lib/layout/card/card.box.layout.module.mjs +6 -21
- package/esm2020/lib/layout/column/column.layout.module.mjs +4 -9
- package/esm2020/lib/layout/column/one/one.column.component.mjs +1 -1
- package/esm2020/lib/layout/column/one/one.column.module.mjs +6 -17
- package/esm2020/lib/layout/column/two/index.mjs +1 -1
- package/esm2020/lib/layout/column/two/two.column.back.directive.mjs +1 -1
- package/esm2020/lib/layout/column/two/two.column.component.mjs +6 -7
- package/esm2020/lib/layout/column/two/two.column.context.directive.mjs +1 -1
- package/esm2020/lib/layout/column/two/two.column.full.left.directive.mjs +2 -2
- package/esm2020/lib/layout/column/two/two.column.head.component.mjs +3 -3
- package/esm2020/lib/layout/column/two/two.column.module.mjs +6 -50
- package/esm2020/lib/layout/column/two/two.column.right.component.mjs +4 -3
- package/esm2020/lib/layout/column/two/two.column.sref.directive.mjs +1 -1
- package/esm2020/lib/layout/column/two/two.column.store.mjs +7 -5
- package/esm2020/lib/layout/compact/compact.directive.mjs +2 -2
- package/esm2020/lib/layout/compact/compact.layout.module.mjs +5 -13
- package/esm2020/lib/layout/compact/compact.mjs +3 -3
- package/esm2020/lib/layout/compact/compact.store.mjs +2 -2
- package/esm2020/lib/layout/content/content.border.directive.mjs +2 -2
- package/esm2020/lib/layout/content/content.box.directive.mjs +2 -2
- package/esm2020/lib/layout/content/content.container.directive.mjs +2 -2
- package/esm2020/lib/layout/content/content.directive.mjs +2 -2
- package/esm2020/lib/layout/content/content.elevate.directive.mjs +2 -2
- package/esm2020/lib/layout/content/content.layout.module.mjs +6 -34
- package/esm2020/lib/layout/content/content.page.directive.mjs +2 -2
- package/esm2020/lib/layout/flag/flag.component.mjs +2 -2
- package/esm2020/lib/layout/flag/flag.layout.module.mjs +6 -21
- package/esm2020/lib/layout/flag/flag.prompt.component.mjs +2 -2
- package/esm2020/lib/layout/flex/flex.group.directive.mjs +2 -2
- package/esm2020/lib/layout/flex/flex.layout.module.mjs +6 -18
- package/esm2020/lib/layout/flex/flex.mjs +1 -1
- package/esm2020/lib/layout/flex/flex.size.directive.mjs +1 -1
- package/esm2020/lib/layout/item/item.icon.component.mjs +19 -19
- package/esm2020/lib/layout/item/item.layout.module.mjs +6 -17
- package/esm2020/lib/layout/layout.module.mjs +4 -45
- package/esm2020/lib/layout/list/list.component.mjs +15 -13
- package/esm2020/lib/layout/list/list.content.empty.component.mjs +2 -2
- package/esm2020/lib/layout/list/list.directive.mjs +2 -2
- package/esm2020/lib/layout/list/list.layout.module.mjs +6 -62
- package/esm2020/lib/layout/list/list.view.directive.mjs +1 -1
- package/esm2020/lib/layout/list/list.view.mjs +7 -4
- package/esm2020/lib/layout/list/list.view.selection.directive.mjs +3 -3
- package/esm2020/lib/layout/list/list.view.value.component.mjs +3 -3
- package/esm2020/lib/layout/list/list.view.value.directive.mjs +9 -10
- package/esm2020/lib/layout/list/list.view.value.item.directive.mjs +3 -3
- package/esm2020/lib/layout/list/list.view.value.mjs +12 -8
- package/esm2020/lib/layout/list/list.view.value.modifier.directive.mjs +4 -4
- package/esm2020/lib/layout/list/list.view.value.modifier.mjs +7 -5
- package/esm2020/lib/layout/list/list.view.value.modifier.ripple.directive.mjs +4 -4
- package/esm2020/lib/layout/list/list.view.value.selection.component.mjs +7 -7
- package/esm2020/lib/layout/list/list.wrapper.mjs +6 -4
- package/esm2020/lib/layout/section/section.component.mjs +2 -2
- package/esm2020/lib/layout/section/section.header.component.mjs +5 -3
- package/esm2020/lib/layout/section/section.intro.component.mjs +25 -25
- package/esm2020/lib/layout/section/section.layout.module.mjs +6 -42
- package/esm2020/lib/layout/section/section.mjs +1 -1
- package/esm2020/lib/layout/section/section.page.component.mjs +11 -11
- package/esm2020/lib/layout/section/subsection.component.mjs +15 -15
- package/esm2020/lib/layout/step/step.component.mjs +3 -3
- package/esm2020/lib/layout/step/step.layout.module.mjs +6 -17
- package/esm2020/lib/layout/style/spacer.directive.mjs +2 -2
- package/esm2020/lib/layout/style/style.body.directive.mjs +1 -1
- package/esm2020/lib/layout/style/style.directive.mjs +1 -1
- package/esm2020/lib/layout/style/style.layout.module.mjs +6 -26
- package/esm2020/lib/layout/style/style.service.mjs +3 -3
- package/esm2020/lib/layout/style/style.set.directive.mjs +2 -2
- package/esm2020/lib/layout/text/hint.component.mjs +8 -4
- package/esm2020/lib/layout/text/icon.spacer.component.mjs +1 -1
- package/esm2020/lib/layout/text/label.component.mjs +8 -4
- package/esm2020/lib/layout/text/linkify.component.mjs +9 -5
- package/esm2020/lib/layout/text/note.component.mjs +8 -4
- package/esm2020/lib/layout/text/notice.component.mjs +8 -4
- package/esm2020/lib/layout/text/ok.component.mjs +8 -4
- package/esm2020/lib/layout/text/success.component.mjs +8 -4
- package/esm2020/lib/layout/text/text.chips.component.mjs +11 -11
- package/esm2020/lib/layout/text/text.module.mjs +6 -59
- package/esm2020/lib/layout/text/warn.component.mjs +8 -4
- package/esm2020/lib/loading/basic-loading.component.mjs +7 -6
- package/esm2020/lib/loading/loading-progress.component.mjs +15 -15
- package/esm2020/lib/loading/loading.action.directive.mjs +1 -1
- package/esm2020/lib/loading/loading.component.mjs +16 -16
- package/esm2020/lib/loading/loading.module.mjs +6 -40
- package/esm2020/lib/router/layout/anchor/anchor.component.mjs +5 -5
- package/esm2020/lib/router/layout/anchor/anchor.content.component.mjs +13 -7
- package/esm2020/lib/router/layout/anchor/anchor.icon.component.mjs +13 -9
- package/esm2020/lib/router/layout/anchor/anchor.link.component.mjs +4 -4
- package/esm2020/lib/router/layout/anchor/anchor.module.mjs +6 -35
- package/esm2020/lib/router/layout/anchor/anchor.segue.directive.mjs +8 -8
- package/esm2020/lib/router/layout/anchorlist/anchorlist.component.mjs +4 -4
- package/esm2020/lib/router/layout/anchorlist/anchorlist.module.mjs +6 -32
- package/esm2020/lib/router/layout/layout.module.mjs +4 -18
- package/esm2020/lib/router/layout/list/list.module.mjs +3 -7
- package/esm2020/lib/router/layout/list/router.list.directive.mjs +4 -4
- package/esm2020/lib/router/layout/navbar/navbar.component.mjs +5 -5
- package/esm2020/lib/router/layout/navbar/navbar.module.mjs +6 -29
- package/esm2020/lib/router/layout/sidenav/sidenav.button.component.mjs +8 -8
- package/esm2020/lib/router/layout/sidenav/sidenav.component.mjs +3 -3
- package/esm2020/lib/router/layout/sidenav/sidenav.module.mjs +6 -62
- package/esm2020/lib/router/layout/sidenav/sidenav.page.component.mjs +2 -2
- package/esm2020/lib/router/layout/sidenav/sidenav.pagebar.component.mjs +1 -1
- package/esm2020/lib/router/provider/index.mjs +1 -1
- package/esm2020/lib/router/provider/ngrouter/anchor.component.mjs +1 -1
- package/esm2020/lib/router/provider/ngrouter/angular.router.module.mjs +4 -14
- package/esm2020/lib/router/provider/router.provider.config.mjs +1 -1
- package/esm2020/lib/router/provider/uirouter/anchor.component.mjs +4 -4
- package/esm2020/lib/router/provider/uirouter/uirouter.router.module.mjs +4 -14
- package/esm2020/lib/screen/screen.mjs +6 -6
- package/esm2020/lib/screen/screen.module.mjs +1 -1
- package/esm2020/lib/screen/screen.service.mjs +4 -4
- package/fesm2015/dereekb-dbx-web.mjs +726 -1606
- package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-web.mjs +726 -1606
- package/fesm2020/dereekb-dbx-web.mjs.map +1 -1
- package/lib/action/snackbar/_snackbar.scss +4 -5
- package/lib/action/snackbar/action.snackbar.d.ts +4 -4
- package/lib/action/snackbar/action.snackbar.generator.d.ts +3 -3
- package/lib/action/snackbar/action.snackbar.service.d.ts +5 -5
- package/lib/button/_button.scss +4 -4
- package/lib/button/progress/bar.button.component.scss +1 -1
- package/lib/button/progress/spinner.button.component.scss +5 -5
- package/lib/error/_error.scss +6 -4
- package/lib/interaction/dialog/_dialog.scss +4 -6
- package/lib/interaction/filter/_filter.scss +6 -3
- package/lib/interaction/popover/_popover.scss +2 -5
- package/lib/interaction/popover/popover.d.ts +2 -2
- package/lib/interaction/popup/_popup.scss +1 -5
- package/lib/interaction/prompt/_prompt.scss +5 -6
- package/lib/interaction/style/_style.scss +6 -5
- package/lib/layout/bar/_bar.scss +0 -5
- package/lib/layout/block/_block.scss +4 -4
- package/lib/layout/card/_card.scss +6 -4
- package/lib/layout/column/_column.scss +2 -7
- package/lib/layout/content/_content.scss +2 -9
- package/lib/layout/flag/_flag.scss +6 -4
- package/lib/layout/flex/_flex.scss +7 -8
- package/lib/layout/item/_item.scss +6 -4
- package/lib/layout/list/_list.scss +4 -8
- package/lib/layout/list/list.directive.d.ts +3 -3
- package/lib/layout/list/list.view.d.ts +2 -2
- package/lib/layout/list/list.view.value.d.ts +4 -4
- package/lib/layout/list/list.view.value.directive.d.ts +6 -6
- package/lib/layout/list/list.view.value.item.directive.d.ts +1 -1
- package/lib/layout/list/list.view.value.modifier.d.ts +5 -5
- package/lib/layout/list/list.view.value.modifier.directive.d.ts +2 -2
- package/lib/layout/list/list.view.value.modifier.ripple.directive.d.ts +5 -5
- package/lib/layout/list/list.wrapper.d.ts +2 -2
- package/lib/layout/section/_section.scss +7 -18
- package/lib/layout/step/_step.scss +6 -4
- package/lib/layout/style/_style.scss +3 -7
- package/lib/layout/text/_text.scss +0 -5
- package/lib/router/layout/anchor/_anchor.scss +8 -8
- package/lib/router/layout/anchor/anchor.segue.directive.d.ts +3 -3
- package/lib/router/layout/anchorlist/_anchorlist.scss +3 -9
- package/lib/router/layout/list/router.list.directive.d.ts +6 -6
- package/lib/router/layout/navbar/_navbar.scss +7 -5
- package/lib/router/layout/sidenav/_sidenav.scss +3 -6
- package/lib/router/provider/router.provider.config.d.ts +1 -1
- package/lib/screen/screen.service.d.ts +3 -3
- package/lib/style/_config.scss +43 -25
- package/lib/style/_core.scss +1 -1
- package/lib/style/_function.scss +0 -1
- package/lib/style/_mixin.scss +4 -7
- package/lib/style/_root-variables.scss +0 -2
- package/lib/style/_theming.scss +2 -12
- package/lib/style/_variables.scss +10 -3
- package/package.json +3 -3
|
@@ -70,7 +70,7 @@ class AbstractProgressButtonDirective extends AbstractSubscriptionDirective {
|
|
|
70
70
|
this._disabled = new BehaviorSubject(false);
|
|
71
71
|
this._buttonId = new BehaviorSubject(undefined);
|
|
72
72
|
this._options = new BehaviorSubject(undefined);
|
|
73
|
-
this.globalOptions$ = this._buttonId.pipe(map((buttonId) => (buttonId
|
|
73
|
+
this.globalOptions$ = this._buttonId.pipe(map((buttonId) => (buttonId ? this.globalConfig.find((config) => config.id === buttonId) : undefined)));
|
|
74
74
|
this.options$ = combineLatest([this._options, this.globalOptions$, this._working, this._disabled]).pipe(map(([options, globalConfig, working, disabled]) => {
|
|
75
75
|
let completeOptions;
|
|
76
76
|
if (options || globalConfig) {
|
|
@@ -102,7 +102,7 @@ class AbstractProgressButtonDirective extends AbstractSubscriptionDirective {
|
|
|
102
102
|
}
|
|
103
103
|
get customSpinnerStyle() {
|
|
104
104
|
const customSpinnerColor = this._computedOptions.customSpinnerColor;
|
|
105
|
-
return
|
|
105
|
+
return customSpinnerColor ? { stroke: customSpinnerColor } : undefined;
|
|
106
106
|
}
|
|
107
107
|
get options() {
|
|
108
108
|
return this._computedOptions;
|
|
@@ -179,10 +179,10 @@ class DbxSpinnerButtonComponent extends AbstractProgressButtonDirective {
|
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
DbxSpinnerButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSpinnerButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
182
|
-
DbxSpinnerButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxSpinnerButtonComponent, selector: "dbx-spinner-button", viewQueries: [{ propertyName: "buttonRef", first: true, predicate: ["button"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "<button #button mat-button
|
|
182
|
+
DbxSpinnerButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxSpinnerButtonComponent, selector: "dbx-spinner-button", viewQueries: [{ propertyName: "buttonRef", first: true, predicate: ["button"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "<button #button mat-button [type]=\"options.type\" [color]=\"options.buttonColor\" [class.working]=\"options.working\" [class.fullWidth]=\"options.fullWidth\" [class.mat-raised-button]=\"options.raised\" [class.mat-stroked-button]=\"options.stroked\" [class.mat-flat-button]=\"options.flat\" [class.mat-fab]=\"options.fab\" [ngClass]=\"options.customClass!\" [ngStyle]=\"options.customStyle!\" [disabled]=\"options.working || options.disabled\">\n <ng-container *ngIf=\"options.buttonIcon\">\n <mat-icon class=\"mat-button-icon\" [class.is-mat-icon]=\"!options.buttonIcon.fontSet\" [class.working]=\"options.working && !options.disabled\" [ngClass]=\"options.buttonIcon.customClass!\" [fontSet]=\"options.buttonIcon.fontSet!\" [fontIcon]=\"options.buttonIcon.fontIcon!\" [color]=\"options.buttonIcon.color!\" [svgIcon]=\"options.buttonIcon.svgIcon!\" [inline]=\"options.buttonIcon.inline!\">\n {{ options.buttonIcon.fontSet ? '' : options.buttonIcon.fontIcon }}\n </mat-icon>\n </ng-container>\n\n <span class=\"button-text\" *ngIf=\"!options.fab\" [class.working]=\"options.working && !options.disabled\">\n {{ options.text }}\n <ng-content></ng-content>\n </span>\n\n <ng-container *ngIf=\"options.fab && options.icon\">\n <mat-icon [fontSet]=\"options.icon.fontSet!\" [fontIcon]=\"options.icon.fontIcon!\" [color]=\"options.icon.color!\" [svgIcon]=\"options.icon.svgIcon!\" [inline]=\"options.icon.inline!\">\n {{ options.icon.fontSet ? '' : options.icon.fontIcon }}\n </mat-icon>\n </ng-container>\n\n <mat-spinner class=\"spinner\" *ngIf=\"options.working && !options.disabled\" [diameter]=\"calcSpinnerSize()\" [color]=\"options.spinnerColor!\" [mode]=\"options.mode!\" [value]=\"options.value!\" [ngStyle]=\"customSpinnerStyle!\" [ngClass]=\"{ 'dbx-spinner-custom': customSpinnerStyle! }\" [class.working]=\"options.working && !options.disabled\"></mat-spinner>\n</button>\n", styles: [":host button{outline:none}:host button.working{cursor:not-allowed}:host button ::ng-deep .mat-button-wrapper{display:flex;align-items:center;justify-content:center}:host button.fullWidth{width:100%}:host button .spinner{position:absolute;opacity:0;transition:opacity .3s ease-in-out}:host button .spinner.working{opacity:1}:host button .button-text{opacity:1;transition:opacity .3s ease-in-out}:host button .button-text.working{opacity:0}:host button mat-icon.mat-button-icon{padding-right:5px;transition:opacity .3s ease-in-out}:host button mat-icon.mat-button-icon.is-mat-icon{font-size:18px;position:relative;top:3px}:host button mat-icon.mat-button-icon.working{opacity:0}\n"], components: [{ type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i3.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }], directives: [{ type: i3$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
183
183
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSpinnerButtonComponent, decorators: [{
|
|
184
184
|
type: Component,
|
|
185
|
-
args: [{ selector: 'dbx-spinner-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button #button mat-button
|
|
185
|
+
args: [{ selector: 'dbx-spinner-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button #button mat-button [type]=\"options.type\" [color]=\"options.buttonColor\" [class.working]=\"options.working\" [class.fullWidth]=\"options.fullWidth\" [class.mat-raised-button]=\"options.raised\" [class.mat-stroked-button]=\"options.stroked\" [class.mat-flat-button]=\"options.flat\" [class.mat-fab]=\"options.fab\" [ngClass]=\"options.customClass!\" [ngStyle]=\"options.customStyle!\" [disabled]=\"options.working || options.disabled\">\n <ng-container *ngIf=\"options.buttonIcon\">\n <mat-icon class=\"mat-button-icon\" [class.is-mat-icon]=\"!options.buttonIcon.fontSet\" [class.working]=\"options.working && !options.disabled\" [ngClass]=\"options.buttonIcon.customClass!\" [fontSet]=\"options.buttonIcon.fontSet!\" [fontIcon]=\"options.buttonIcon.fontIcon!\" [color]=\"options.buttonIcon.color!\" [svgIcon]=\"options.buttonIcon.svgIcon!\" [inline]=\"options.buttonIcon.inline!\">\n {{ options.buttonIcon.fontSet ? '' : options.buttonIcon.fontIcon }}\n </mat-icon>\n </ng-container>\n\n <span class=\"button-text\" *ngIf=\"!options.fab\" [class.working]=\"options.working && !options.disabled\">\n {{ options.text }}\n <ng-content></ng-content>\n </span>\n\n <ng-container *ngIf=\"options.fab && options.icon\">\n <mat-icon [fontSet]=\"options.icon.fontSet!\" [fontIcon]=\"options.icon.fontIcon!\" [color]=\"options.icon.color!\" [svgIcon]=\"options.icon.svgIcon!\" [inline]=\"options.icon.inline!\">\n {{ options.icon.fontSet ? '' : options.icon.fontIcon }}\n </mat-icon>\n </ng-container>\n\n <mat-spinner class=\"spinner\" *ngIf=\"options.working && !options.disabled\" [diameter]=\"calcSpinnerSize()\" [color]=\"options.spinnerColor!\" [mode]=\"options.mode!\" [value]=\"options.value!\" [ngStyle]=\"customSpinnerStyle!\" [ngClass]=\"{ 'dbx-spinner-custom': customSpinnerStyle! }\" [class.working]=\"options.working && !options.disabled\"></mat-spinner>\n</button>\n", styles: [":host button{outline:none}:host button.working{cursor:not-allowed}:host button ::ng-deep .mat-button-wrapper{display:flex;align-items:center;justify-content:center}:host button.fullWidth{width:100%}:host button .spinner{position:absolute;opacity:0;transition:opacity .3s ease-in-out}:host button .spinner.working{opacity:1}:host button .button-text{opacity:1;transition:opacity .3s ease-in-out}:host button .button-text.working{opacity:0}:host button mat-icon.mat-button-icon{padding-right:5px;transition:opacity .3s ease-in-out}:host button mat-icon.mat-button-icon.is-mat-icon{font-size:18px;position:relative;top:3px}:host button mat-icon.mat-button-icon.working{opacity:0}\n"] }]
|
|
186
186
|
}], propDecorators: { buttonRef: [{
|
|
187
187
|
type: ViewChild,
|
|
188
188
|
args: ['button', { static: true, read: ElementRef }]
|
|
@@ -228,9 +228,11 @@ class DbxButtonComponent extends AbstractDbxButtonDirective {
|
|
|
228
228
|
}
|
|
229
229
|
get btnOptions() {
|
|
230
230
|
var _a, _b;
|
|
231
|
-
const buttonIcon =
|
|
232
|
-
|
|
233
|
-
|
|
231
|
+
const buttonIcon = this.icon
|
|
232
|
+
? {
|
|
233
|
+
fontIcon: this.icon
|
|
234
|
+
}
|
|
235
|
+
: undefined;
|
|
234
236
|
const customStyle = {};
|
|
235
237
|
if (this.customButtonColor) {
|
|
236
238
|
customStyle['background'] = this.customButtonColor;
|
|
@@ -245,7 +247,7 @@ class DbxButtonComponent extends AbstractDbxButtonDirective {
|
|
|
245
247
|
active: this.working,
|
|
246
248
|
buttonIcon,
|
|
247
249
|
customStyle,
|
|
248
|
-
customClass: 'dbx-button ' + (
|
|
250
|
+
customClass: 'dbx-button ' + (buttonIcon && !this.text ? 'dbx-button-no-text' : ''),
|
|
249
251
|
// buttonIcon: icon,
|
|
250
252
|
text: (_b = this.text) !== null && _b !== void 0 ? _b : '',
|
|
251
253
|
buttonColor: this.color,
|
|
@@ -254,7 +256,7 @@ class DbxButtonComponent extends AbstractDbxButtonDirective {
|
|
|
254
256
|
stroked: this.stroked,
|
|
255
257
|
flat: this.flat,
|
|
256
258
|
mode: 'indeterminate',
|
|
257
|
-
spinnerColor:
|
|
259
|
+
spinnerColor: this.color === 'primary' ? 'accent' : 'primary',
|
|
258
260
|
customSpinnerColor,
|
|
259
261
|
disabled
|
|
260
262
|
};
|
|
@@ -304,7 +306,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
304
306
|
args: [{
|
|
305
307
|
selector: 'dbx-spacer, [dbxSpacer]',
|
|
306
308
|
host: {
|
|
307
|
-
|
|
309
|
+
class: 'dbx-spacer'
|
|
308
310
|
}
|
|
309
311
|
}]
|
|
310
312
|
}] });
|
|
@@ -338,9 +340,9 @@ class DbxActionSnackbarComponent extends AbstractSubscriptionDirective {
|
|
|
338
340
|
this._durationTimeout = new Subject();
|
|
339
341
|
this._actionRef = new BehaviorSubject(undefined);
|
|
340
342
|
this.value$ = of(0); // value passed to the action.
|
|
341
|
-
this.sourceInstance$ = this._actionRef.pipe(filterMaybe(), map(x => x === null || x === void 0 ? void 0 : x.sourceInstance));
|
|
342
|
-
this.complete$ = this.sourceInstance$.pipe(switchMap(x => x.isSuccess$), startWith(false), shareReplay(1));
|
|
343
|
-
this.loadingStateType$ = this.sourceInstance$.pipe(switchMap(x => x.loadingStateType$), startWith(LoadingStateType.IDLE), shareReplay(1));
|
|
343
|
+
this.sourceInstance$ = this._actionRef.pipe(filterMaybe(), map((x) => x === null || x === void 0 ? void 0 : x.sourceInstance));
|
|
344
|
+
this.complete$ = this.sourceInstance$.pipe(switchMap((x) => x.isSuccess$), startWith(false), shareReplay(1));
|
|
345
|
+
this.loadingStateType$ = this.sourceInstance$.pipe(switchMap((x) => x.loadingStateType$), startWith(LoadingStateType.IDLE), shareReplay(1));
|
|
344
346
|
this.snackbarStatusClass$ = this.loadingStateType$.pipe(map((x) => {
|
|
345
347
|
let classes = 'dbx-action-snackbar-';
|
|
346
348
|
switch (x) {
|
|
@@ -379,7 +381,9 @@ class DbxActionSnackbarComponent extends AbstractSubscriptionDirective {
|
|
|
379
381
|
}
|
|
380
382
|
ngOnInit() {
|
|
381
383
|
// Subscribe and close if the duration is up and the action state is idle.
|
|
382
|
-
this.sub = this._durationTimeout
|
|
384
|
+
this.sub = this._durationTimeout
|
|
385
|
+
.pipe(switchMap(() => this.loadingStateType$), filter((x) => x === LoadingStateType.IDLE))
|
|
386
|
+
.subscribe(() => {
|
|
383
387
|
this.dismiss();
|
|
384
388
|
});
|
|
385
389
|
}
|
|
@@ -401,10 +405,10 @@ class DbxActionSnackbarComponent extends AbstractSubscriptionDirective {
|
|
|
401
405
|
}
|
|
402
406
|
}
|
|
403
407
|
DbxActionSnackbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionSnackbarComponent, deps: [{ token: i1$1.MatSnackBarRef }, { token: MAT_SNACK_BAR_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
404
|
-
DbxActionSnackbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxActionSnackbarComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<div class=\"dbx-action-snackbar\" [ngClass]=\"(snackbarStatusClass$ | async)!\">\n <ng-container [ngSwitch]=\"complete$ | async\">\n <ng-container *ngSwitchCase=\"true\">\n <dbx-spacer></dbx-spacer>\n <dbx-button (buttonClick)=\"dismiss()\" color=\"accent\" icon=\"done\" text=\"Success\"></dbx-button>\n </ng-container>\n <ng-container *ngSwitchCase=\"false\">\n <span>{{ message }}</span>\n <dbx-spacer></dbx-spacer>\n <ng-container *ngIf=\"hasAction\">\n <dbx-action [dbxActionValueStream]=\"value$\" [dbxActionSource]=\"sourceInstance$ | async\"
|
|
408
|
+
DbxActionSnackbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxActionSnackbarComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<div class=\"dbx-action-snackbar\" [ngClass]=\"(snackbarStatusClass$ | async)!\">\n <ng-container [ngSwitch]=\"complete$ | async\">\n <ng-container *ngSwitchCase=\"true\">\n <dbx-spacer></dbx-spacer>\n <dbx-button (buttonClick)=\"dismiss()\" color=\"accent\" icon=\"done\" text=\"Success\"></dbx-button>\n </ng-container>\n <ng-container *ngSwitchCase=\"false\">\n <span>{{ message }}</span>\n <dbx-spacer></dbx-spacer>\n <ng-container *ngIf=\"hasAction\">\n <dbx-action [dbxActionValueStream]=\"value$\" [dbxActionSource]=\"sourceInstance$ | async\" [dbxActionSuccessHandler]=\"dismissAfterActionCompletes\">\n <dbx-button dbxActionButton color=\"warn\" [text]=\"button\"></dbx-button>\n </dbx-action>\n <dbx-button-spacer></dbx-button-spacer>\n </ng-container>\n <dbx-button (buttonClick)=\"dismiss()\" color=\"accent\" icon=\"close\"></dbx-button>\n </ng-container>\n </ng-container>\n</div>\n", components: [{ type: DbxButtonComponent, selector: "dbx-button", inputs: ["type", "raised", "stroked", "flat", "color", "customButtonColor", "customTextColor", "customSpinnerColor"] }], directives: [{ type: i3$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: DbxSpacerDirective, selector: "dbx-spacer, [dbxSpacer]" }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$2.DbxActionDirective, selector: "dbx-action,[dbxAction],dbx-action-context,[dbxActionContext]", exportAs: ["action", "dbxAction"] }, { type: i1$2.dbxActionValueStreamDirective, selector: "[dbxActionValueStream]", inputs: ["dbxActionValueStream", "dbxActionValueStreamIsNotEmpty", "dbxActionValueStreamModified"] }, { type: i1$2.DbxActionSourceDirective, selector: "[dbxActionSource]", inputs: ["dbxActionSource"] }, { type: i1$2.DbxActionSuccessHandlerDirective, selector: "[dbxActionSuccessHandler]", inputs: ["dbxActionSuccessHandler"] }, { type: i1$2.DbxActionButtonDirective, selector: "[dbxActionButton]" }, { type: DbxButtonSpacerDirective, selector: "dbx-button-spacer,[dbxButtonSpacer]" }], pipes: { "async": i3$1.AsyncPipe } });
|
|
405
409
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionSnackbarComponent, decorators: [{
|
|
406
410
|
type: Component,
|
|
407
|
-
args: [{ template: "<div class=\"dbx-action-snackbar\" [ngClass]=\"(snackbarStatusClass$ | async)!\">\n <ng-container [ngSwitch]=\"complete$ | async\">\n <ng-container *ngSwitchCase=\"true\">\n <dbx-spacer></dbx-spacer>\n <dbx-button (buttonClick)=\"dismiss()\" color=\"accent\" icon=\"done\" text=\"Success\"></dbx-button>\n </ng-container>\n <ng-container *ngSwitchCase=\"false\">\n <span>{{ message }}</span>\n <dbx-spacer></dbx-spacer>\n <ng-container *ngIf=\"hasAction\">\n <dbx-action [dbxActionValueStream]=\"value$\" [dbxActionSource]=\"sourceInstance$ | async\"
|
|
411
|
+
args: [{ template: "<div class=\"dbx-action-snackbar\" [ngClass]=\"(snackbarStatusClass$ | async)!\">\n <ng-container [ngSwitch]=\"complete$ | async\">\n <ng-container *ngSwitchCase=\"true\">\n <dbx-spacer></dbx-spacer>\n <dbx-button (buttonClick)=\"dismiss()\" color=\"accent\" icon=\"done\" text=\"Success\"></dbx-button>\n </ng-container>\n <ng-container *ngSwitchCase=\"false\">\n <span>{{ message }}</span>\n <dbx-spacer></dbx-spacer>\n <ng-container *ngIf=\"hasAction\">\n <dbx-action [dbxActionValueStream]=\"value$\" [dbxActionSource]=\"sourceInstance$ | async\" [dbxActionSuccessHandler]=\"dismissAfterActionCompletes\">\n <dbx-button dbxActionButton color=\"warn\" [text]=\"button\"></dbx-button>\n </dbx-action>\n <dbx-button-spacer></dbx-button-spacer>\n </ng-container>\n <dbx-button (buttonClick)=\"dismiss()\" color=\"accent\" icon=\"close\"></dbx-button>\n </ng-container>\n </ng-container>\n</div>\n" }]
|
|
408
412
|
}], ctorParameters: function () {
|
|
409
413
|
return [{ type: i1$1.MatSnackBarRef }, { type: undefined, decorators: [{
|
|
410
414
|
type: Inject,
|
|
@@ -413,7 +417,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
413
417
|
} });
|
|
414
418
|
|
|
415
419
|
const DBX_ACTION_SNACKBAR_DEFAULTS = {
|
|
416
|
-
|
|
420
|
+
create: {
|
|
417
421
|
loading: {
|
|
418
422
|
message: 'Creating...'
|
|
419
423
|
},
|
|
@@ -426,7 +430,7 @@ const DBX_ACTION_SNACKBAR_DEFAULTS = {
|
|
|
426
430
|
message: 'Create Failed'
|
|
427
431
|
}
|
|
428
432
|
},
|
|
429
|
-
|
|
433
|
+
save: {
|
|
430
434
|
loading: {
|
|
431
435
|
message: 'Saving...'
|
|
432
436
|
},
|
|
@@ -439,7 +443,7 @@ const DBX_ACTION_SNACKBAR_DEFAULTS = {
|
|
|
439
443
|
message: 'Save Failed'
|
|
440
444
|
}
|
|
441
445
|
},
|
|
442
|
-
|
|
446
|
+
merge: {
|
|
443
447
|
loading: {
|
|
444
448
|
message: 'Merging...'
|
|
445
449
|
},
|
|
@@ -452,7 +456,7 @@ const DBX_ACTION_SNACKBAR_DEFAULTS = {
|
|
|
452
456
|
message: 'Merge Failed'
|
|
453
457
|
}
|
|
454
458
|
},
|
|
455
|
-
|
|
459
|
+
delete: {
|
|
456
460
|
loading: {
|
|
457
461
|
message: 'Deleting...'
|
|
458
462
|
},
|
|
@@ -465,7 +469,7 @@ const DBX_ACTION_SNACKBAR_DEFAULTS = {
|
|
|
465
469
|
message: 'Delete Failed'
|
|
466
470
|
}
|
|
467
471
|
},
|
|
468
|
-
|
|
472
|
+
cancel: {
|
|
469
473
|
loading: {
|
|
470
474
|
message: 'Cancelling...'
|
|
471
475
|
},
|
|
@@ -478,7 +482,7 @@ const DBX_ACTION_SNACKBAR_DEFAULTS = {
|
|
|
478
482
|
message: 'Cancel Failed'
|
|
479
483
|
}
|
|
480
484
|
},
|
|
481
|
-
|
|
485
|
+
restore: {
|
|
482
486
|
loading: {
|
|
483
487
|
message: 'Restoring...'
|
|
484
488
|
},
|
|
@@ -491,7 +495,7 @@ const DBX_ACTION_SNACKBAR_DEFAULTS = {
|
|
|
491
495
|
message: 'Restore Failed'
|
|
492
496
|
}
|
|
493
497
|
},
|
|
494
|
-
|
|
498
|
+
refresh: {
|
|
495
499
|
loading: {
|
|
496
500
|
message: 'Refreshing...'
|
|
497
501
|
},
|
|
@@ -504,7 +508,7 @@ const DBX_ACTION_SNACKBAR_DEFAULTS = {
|
|
|
504
508
|
message: 'Refresh Failed'
|
|
505
509
|
}
|
|
506
510
|
},
|
|
507
|
-
|
|
511
|
+
do: {
|
|
508
512
|
loading: {
|
|
509
513
|
message: 'Doing...'
|
|
510
514
|
},
|
|
@@ -645,7 +649,9 @@ class DbxActionSnackbarDirective extends AbstractSubscriptionDirective {
|
|
|
645
649
|
}
|
|
646
650
|
}
|
|
647
651
|
ngOnInit() {
|
|
648
|
-
this.sub = this.source
|
|
652
|
+
this.sub = this.source
|
|
653
|
+
.pipeStore((store) => store.loadingState$)
|
|
654
|
+
.subscribe((loadingState) => {
|
|
649
655
|
const event = { value: loadingState.value, error: loadingState.error, type: loadingStateType(loadingState) };
|
|
650
656
|
const config = this.buildConfigurationForEvent(event);
|
|
651
657
|
if (config) {
|
|
@@ -658,7 +664,7 @@ class DbxActionSnackbarDirective extends AbstractSubscriptionDirective {
|
|
|
658
664
|
event,
|
|
659
665
|
undo: event.type === LoadingStateType.SUCCESS ? this.dbxActionSnackbarUndo : undefined // only show undo on success.
|
|
660
666
|
};
|
|
661
|
-
return
|
|
667
|
+
return this.snackbarFunction ? this.snackbarFunction(input) : this.dbxActionSnackbarService.generateDisplayConfig(this.dbxActionSnackbarDefault, input);
|
|
662
668
|
}
|
|
663
669
|
showSnackbarForConfiguration(config, event) {
|
|
664
670
|
this.dbxActionSnackbarService.openSnackbar(config);
|
|
@@ -687,93 +693,48 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
687
693
|
class DbxBarButtonComponent extends AbstractProgressButtonDirective {
|
|
688
694
|
}
|
|
689
695
|
DbxBarButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBarButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
690
|
-
DbxBarButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxBarButtonComponent, selector: "dbx-bar-button", usesInheritance: true, ngImport: i0, template: "<button
|
|
696
|
+
DbxBarButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxBarButtonComponent, selector: "dbx-bar-button", usesInheritance: true, ngImport: i0, template: "<button mat-button [type]=\"options.type\" [color]=\"options.buttonColor\" [class.working]=\"options.working\" [class.mat-raised-button]=\"options.raised\" [class.mat-stroked-button]=\"options.stroked\" [class.mat-flat-button]=\"options.flat\" [class.fullWidth]=\"options.fullWidth\" [ngClass]=\"options.customClass!\" [ngStyle]=\"options.customStyle!\" [disabled]=\"options.working || options.disabled\">\n <ng-container *ngIf=\"options.buttonIcon\">\n <mat-icon [class.is-mat-icon]=\"!options.buttonIcon.fontSet\" [ngClass]=\"options.buttonIcon.customClass!\" [fontSet]=\"options.buttonIcon.fontSet!\" [fontIcon]=\"options.buttonIcon.fontIcon!\" [color]=\"options.buttonIcon.color!\" [svgIcon]=\"options.buttonIcon.svgIcon!\" [inline]=\"options.buttonIcon.inline!\">\n {{ options.buttonIcon.fontSet ? '' : options.buttonIcon.fontIcon }}\n </mat-icon>\n </ng-container>\n\n <span>\n {{ options.text }}\n <ng-content></ng-content>\n </span>\n\n <mat-progress-bar class=\"bar\" *ngIf=\"options.working && !options.disabled\" [color]=\"options.barColor!\" [mode]=\"options.mode!\" [value]=\"options.value!\"></mat-progress-bar>\n</button>\n", styles: [":host button.working{cursor:not-allowed}:host button.fullWidth{width:100%}:host button .bar{position:absolute;top:0;left:0}:host button mat-icon{padding-right:5px}:host button mat-icon.is-mat-icon{font-size:18px;position:relative;top:3px}\n"], components: [{ type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i3$2.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }], directives: [{ type: i3$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
691
697
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBarButtonComponent, decorators: [{
|
|
692
698
|
type: Component,
|
|
693
|
-
args: [{ selector: 'dbx-bar-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button
|
|
699
|
+
args: [{ selector: 'dbx-bar-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button mat-button [type]=\"options.type\" [color]=\"options.buttonColor\" [class.working]=\"options.working\" [class.mat-raised-button]=\"options.raised\" [class.mat-stroked-button]=\"options.stroked\" [class.mat-flat-button]=\"options.flat\" [class.fullWidth]=\"options.fullWidth\" [ngClass]=\"options.customClass!\" [ngStyle]=\"options.customStyle!\" [disabled]=\"options.working || options.disabled\">\n <ng-container *ngIf=\"options.buttonIcon\">\n <mat-icon [class.is-mat-icon]=\"!options.buttonIcon.fontSet\" [ngClass]=\"options.buttonIcon.customClass!\" [fontSet]=\"options.buttonIcon.fontSet!\" [fontIcon]=\"options.buttonIcon.fontIcon!\" [color]=\"options.buttonIcon.color!\" [svgIcon]=\"options.buttonIcon.svgIcon!\" [inline]=\"options.buttonIcon.inline!\">\n {{ options.buttonIcon.fontSet ? '' : options.buttonIcon.fontIcon }}\n </mat-icon>\n </ng-container>\n\n <span>\n {{ options.text }}\n <ng-content></ng-content>\n </span>\n\n <mat-progress-bar class=\"bar\" *ngIf=\"options.working && !options.disabled\" [color]=\"options.barColor!\" [mode]=\"options.mode!\" [value]=\"options.value!\"></mat-progress-bar>\n</button>\n", styles: [":host button.working{cursor:not-allowed}:host button.fullWidth{width:100%}:host button .bar{position:absolute;top:0;left:0}:host button mat-icon{padding-right:5px}:host button mat-icon.is-mat-icon{font-size:18px;position:relative;top:3px}\n"] }]
|
|
694
700
|
}] });
|
|
695
701
|
|
|
696
702
|
class DbxProgressButtonsModule {
|
|
697
703
|
static forRoot(config) {
|
|
698
704
|
return {
|
|
699
705
|
ngModule: DbxProgressButtonsModule,
|
|
700
|
-
providers: [
|
|
706
|
+
providers: [
|
|
707
|
+
{
|
|
701
708
|
provide: DBX_MAT_PROGRESS_BUTTON_GLOBAL_CONFIG,
|
|
702
709
|
useValue: config
|
|
703
|
-
}
|
|
710
|
+
}
|
|
711
|
+
]
|
|
704
712
|
};
|
|
705
713
|
}
|
|
706
714
|
}
|
|
707
715
|
DbxProgressButtonsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxProgressButtonsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
708
|
-
DbxProgressButtonsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxProgressButtonsModule, declarations: [DbxSpinnerButtonComponent,
|
|
709
|
-
|
|
710
|
-
MatButtonModule,
|
|
711
|
-
MatProgressBarModule,
|
|
712
|
-
MatProgressSpinnerModule,
|
|
713
|
-
MatRippleModule,
|
|
714
|
-
MatIconModule], exports: [DbxSpinnerButtonComponent,
|
|
715
|
-
DbxBarButtonComponent] });
|
|
716
|
-
DbxProgressButtonsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxProgressButtonsModule, imports: [[
|
|
717
|
-
CommonModule,
|
|
718
|
-
MatButtonModule,
|
|
719
|
-
MatProgressBarModule,
|
|
720
|
-
MatProgressSpinnerModule,
|
|
721
|
-
MatRippleModule,
|
|
722
|
-
MatIconModule,
|
|
723
|
-
]] });
|
|
716
|
+
DbxProgressButtonsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxProgressButtonsModule, declarations: [DbxSpinnerButtonComponent, DbxBarButtonComponent], imports: [CommonModule, MatButtonModule, MatProgressBarModule, MatProgressSpinnerModule, MatRippleModule, MatIconModule], exports: [DbxSpinnerButtonComponent, DbxBarButtonComponent] });
|
|
717
|
+
DbxProgressButtonsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxProgressButtonsModule, imports: [[CommonModule, MatButtonModule, MatProgressBarModule, MatProgressSpinnerModule, MatRippleModule, MatIconModule]] });
|
|
724
718
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxProgressButtonsModule, decorators: [{
|
|
725
719
|
type: NgModule,
|
|
726
720
|
args: [{
|
|
727
|
-
imports: [
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
MatProgressBarModule,
|
|
731
|
-
MatProgressSpinnerModule,
|
|
732
|
-
MatRippleModule,
|
|
733
|
-
MatIconModule,
|
|
734
|
-
],
|
|
735
|
-
exports: [
|
|
736
|
-
DbxSpinnerButtonComponent,
|
|
737
|
-
DbxBarButtonComponent
|
|
738
|
-
],
|
|
739
|
-
declarations: [
|
|
740
|
-
DbxSpinnerButtonComponent,
|
|
741
|
-
DbxBarButtonComponent
|
|
742
|
-
],
|
|
721
|
+
imports: [CommonModule, MatButtonModule, MatProgressBarModule, MatProgressSpinnerModule, MatRippleModule, MatIconModule],
|
|
722
|
+
exports: [DbxSpinnerButtonComponent, DbxBarButtonComponent],
|
|
723
|
+
declarations: [DbxSpinnerButtonComponent, DbxBarButtonComponent]
|
|
743
724
|
}]
|
|
744
725
|
}] });
|
|
745
726
|
|
|
746
727
|
class DbxButtonModule {
|
|
747
728
|
}
|
|
748
729
|
DbxButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
749
|
-
DbxButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxButtonModule, declarations: [DbxButtonComponent,
|
|
750
|
-
|
|
751
|
-
DbxProgressButtonsModule], exports: [DbxCoreButtonModule,
|
|
752
|
-
DbxProgressButtonsModule,
|
|
753
|
-
DbxButtonComponent,
|
|
754
|
-
DbxButtonSpacerDirective] });
|
|
755
|
-
DbxButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxButtonModule, imports: [[
|
|
756
|
-
CommonModule,
|
|
757
|
-
DbxProgressButtonsModule
|
|
758
|
-
], DbxCoreButtonModule,
|
|
759
|
-
DbxProgressButtonsModule] });
|
|
730
|
+
DbxButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxButtonModule, declarations: [DbxButtonComponent, DbxButtonSpacerDirective], imports: [CommonModule, DbxProgressButtonsModule], exports: [DbxCoreButtonModule, DbxProgressButtonsModule, DbxButtonComponent, DbxButtonSpacerDirective] });
|
|
731
|
+
DbxButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxButtonModule, imports: [[CommonModule, DbxProgressButtonsModule], DbxCoreButtonModule, DbxProgressButtonsModule] });
|
|
760
732
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxButtonModule, decorators: [{
|
|
761
733
|
type: NgModule,
|
|
762
734
|
args: [{
|
|
763
|
-
imports: [
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
],
|
|
767
|
-
declarations: [
|
|
768
|
-
DbxButtonComponent,
|
|
769
|
-
DbxButtonSpacerDirective
|
|
770
|
-
],
|
|
771
|
-
exports: [
|
|
772
|
-
DbxCoreButtonModule,
|
|
773
|
-
DbxProgressButtonsModule,
|
|
774
|
-
DbxButtonComponent,
|
|
775
|
-
DbxButtonSpacerDirective
|
|
776
|
-
],
|
|
735
|
+
imports: [CommonModule, DbxProgressButtonsModule],
|
|
736
|
+
declarations: [DbxButtonComponent, DbxButtonSpacerDirective],
|
|
737
|
+
exports: [DbxCoreButtonModule, DbxProgressButtonsModule, DbxButtonComponent, DbxButtonSpacerDirective]
|
|
777
738
|
}]
|
|
778
739
|
}] });
|
|
779
740
|
|
|
@@ -827,7 +788,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
827
788
|
args: [{
|
|
828
789
|
selector: 'dbx-dialog-content,[dbxDialogContent].dbx-dialog-content',
|
|
829
790
|
host: {
|
|
830
|
-
|
|
791
|
+
class: 'dbx-dialog-content',
|
|
831
792
|
'[class]': `width + '-dialog-content'`
|
|
832
793
|
}
|
|
833
794
|
}]
|
|
@@ -902,7 +863,7 @@ class DbxStyleService {
|
|
|
902
863
|
return combineLatest([configObs, this.suffix$]).pipe(map(([config, suffix]) => {
|
|
903
864
|
let style = config.style;
|
|
904
865
|
if (suffix != null && config.suffixes) {
|
|
905
|
-
const sanitizedSuffix =
|
|
866
|
+
const sanitizedSuffix = suffix[0] === '-' ? suffix === null || suffix === void 0 ? void 0 : suffix.slice(1) : suffix;
|
|
906
867
|
if (config.suffixes.has(sanitizedSuffix)) {
|
|
907
868
|
style = `${style}-${sanitizedSuffix}`;
|
|
908
869
|
}
|
|
@@ -911,7 +872,7 @@ class DbxStyleService {
|
|
|
911
872
|
}), distinctUntilChanged());
|
|
912
873
|
}
|
|
913
874
|
toggleDarkSuffix(dark) {
|
|
914
|
-
const toggle =
|
|
875
|
+
const toggle = dark != null ? dark : this.suffix !== '-dark';
|
|
915
876
|
if (toggle) {
|
|
916
877
|
this.suffix = '-dark';
|
|
917
878
|
}
|
|
@@ -998,7 +959,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
998
959
|
args: [{
|
|
999
960
|
selector: '[dbxSetStyle]',
|
|
1000
961
|
host: {
|
|
1001
|
-
|
|
962
|
+
class: 'dbx-style-root',
|
|
1002
963
|
'[class]': 'outputStyle'
|
|
1003
964
|
}
|
|
1004
965
|
}]
|
|
@@ -1067,34 +1028,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1067
1028
|
class DbxStyleLayoutModule {
|
|
1068
1029
|
}
|
|
1069
1030
|
DbxStyleLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStyleLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1070
|
-
DbxStyleLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStyleLayoutModule, declarations: [DbxSpacerDirective,
|
|
1071
|
-
|
|
1072
|
-
DbxSetStyleDirective,
|
|
1073
|
-
DbxStyleBodyDirective], imports: [CommonModule], exports: [DbxSpacerDirective,
|
|
1074
|
-
DbxStyleDirective,
|
|
1075
|
-
DbxSetStyleDirective,
|
|
1076
|
-
DbxStyleBodyDirective] });
|
|
1077
|
-
DbxStyleLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStyleLayoutModule, imports: [[
|
|
1078
|
-
CommonModule
|
|
1079
|
-
]] });
|
|
1031
|
+
DbxStyleLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStyleLayoutModule, declarations: [DbxSpacerDirective, DbxStyleDirective, DbxSetStyleDirective, DbxStyleBodyDirective], imports: [CommonModule], exports: [DbxSpacerDirective, DbxStyleDirective, DbxSetStyleDirective, DbxStyleBodyDirective] });
|
|
1032
|
+
DbxStyleLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStyleLayoutModule, imports: [[CommonModule]] });
|
|
1080
1033
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStyleLayoutModule, decorators: [{
|
|
1081
1034
|
type: NgModule,
|
|
1082
1035
|
args: [{
|
|
1083
|
-
imports: [
|
|
1084
|
-
|
|
1085
|
-
]
|
|
1086
|
-
declarations: [
|
|
1087
|
-
DbxSpacerDirective,
|
|
1088
|
-
DbxStyleDirective,
|
|
1089
|
-
DbxSetStyleDirective,
|
|
1090
|
-
DbxStyleBodyDirective
|
|
1091
|
-
],
|
|
1092
|
-
exports: [
|
|
1093
|
-
DbxSpacerDirective,
|
|
1094
|
-
DbxStyleDirective,
|
|
1095
|
-
DbxSetStyleDirective,
|
|
1096
|
-
DbxStyleBodyDirective
|
|
1097
|
-
]
|
|
1036
|
+
imports: [CommonModule],
|
|
1037
|
+
declarations: [DbxSpacerDirective, DbxStyleDirective, DbxSetStyleDirective, DbxStyleBodyDirective],
|
|
1038
|
+
exports: [DbxSpacerDirective, DbxStyleDirective, DbxSetStyleDirective, DbxStyleBodyDirective]
|
|
1098
1039
|
}]
|
|
1099
1040
|
}] });
|
|
1100
1041
|
|
|
@@ -1104,36 +1045,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1104
1045
|
class DbxDialogInteractionModule {
|
|
1105
1046
|
}
|
|
1106
1047
|
DbxDialogInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxDialogInteractionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1107
|
-
DbxDialogInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxDialogInteractionModule, declarations: [DbxDialogContentDirective,
|
|
1108
|
-
|
|
1109
|
-
DbxStyleLayoutModule], exports: [DbxDialogContentDirective,
|
|
1110
|
-
DbxActionDialogDirective] });
|
|
1111
|
-
DbxDialogInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxDialogInteractionModule, imports: [[
|
|
1112
|
-
CommonModule,
|
|
1113
|
-
DbxStyleLayoutModule
|
|
1114
|
-
]] });
|
|
1048
|
+
DbxDialogInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxDialogInteractionModule, declarations: [DbxDialogContentDirective, DbxActionDialogDirective], imports: [CommonModule, DbxStyleLayoutModule], exports: [DbxDialogContentDirective, DbxActionDialogDirective] });
|
|
1049
|
+
DbxDialogInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxDialogInteractionModule, imports: [[CommonModule, DbxStyleLayoutModule]] });
|
|
1115
1050
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxDialogInteractionModule, decorators: [{
|
|
1116
1051
|
type: NgModule,
|
|
1117
1052
|
args: [{
|
|
1118
|
-
imports: [
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
],
|
|
1122
|
-
declarations: [
|
|
1123
|
-
DbxDialogContentDirective,
|
|
1124
|
-
DbxActionDialogDirective
|
|
1125
|
-
],
|
|
1126
|
-
exports: [
|
|
1127
|
-
DbxDialogContentDirective,
|
|
1128
|
-
DbxActionDialogDirective
|
|
1129
|
-
]
|
|
1053
|
+
imports: [CommonModule, DbxStyleLayoutModule],
|
|
1054
|
+
declarations: [DbxDialogContentDirective, DbxActionDialogDirective],
|
|
1055
|
+
exports: [DbxDialogContentDirective, DbxActionDialogDirective]
|
|
1130
1056
|
}]
|
|
1131
1057
|
}] });
|
|
1132
1058
|
|
|
1133
1059
|
class PopoverPositionStrategy {
|
|
1134
1060
|
static make(overlay, elementRef, config) {
|
|
1135
|
-
const [originX, origin2ndX, origin3rdX] = config.originX === 'end' ? ['end', 'start', 'center'] :
|
|
1136
|
-
config.originX === 'start' ? ['start', 'end', 'center'] : ['center', 'start', 'end'];
|
|
1061
|
+
const [originX, origin2ndX, origin3rdX] = config.originX === 'end' ? ['end', 'start', 'center'] : config.originX === 'start' ? ['start', 'end', 'center'] : ['center', 'start', 'end'];
|
|
1137
1062
|
const overlayX = originX;
|
|
1138
1063
|
const [overlayY, overlayFallbackY] = config.overlayY === 'bottom' ? ['bottom', 'top'] : ['top', 'bottom'];
|
|
1139
1064
|
const [originY, originFallbackY] = [overlayFallbackY, overlayY];
|
|
@@ -1148,43 +1073,43 @@ class PopoverPositionStrategy {
|
|
|
1148
1073
|
originY,
|
|
1149
1074
|
overlayX,
|
|
1150
1075
|
overlayY,
|
|
1151
|
-
offsetY
|
|
1076
|
+
offsetY
|
|
1152
1077
|
},
|
|
1153
1078
|
{
|
|
1154
1079
|
originX: origin2ndX,
|
|
1155
1080
|
originY,
|
|
1156
1081
|
overlayX: origin2ndX,
|
|
1157
1082
|
overlayY,
|
|
1158
|
-
offsetY
|
|
1083
|
+
offsetY
|
|
1159
1084
|
},
|
|
1160
1085
|
{
|
|
1161
1086
|
originX,
|
|
1162
1087
|
originY: originFallbackY,
|
|
1163
1088
|
overlayX,
|
|
1164
1089
|
overlayY: overlayFallbackY,
|
|
1165
|
-
offsetY: -offsetY
|
|
1090
|
+
offsetY: -offsetY
|
|
1166
1091
|
},
|
|
1167
1092
|
{
|
|
1168
1093
|
originX: origin2ndX,
|
|
1169
1094
|
originY: originFallbackY,
|
|
1170
1095
|
overlayX: origin2ndX,
|
|
1171
1096
|
overlayY: overlayFallbackY,
|
|
1172
|
-
offsetY: -offsetY
|
|
1097
|
+
offsetY: -offsetY
|
|
1173
1098
|
},
|
|
1174
1099
|
{
|
|
1175
1100
|
originX: origin3rdX,
|
|
1176
1101
|
originY,
|
|
1177
1102
|
overlayX: origin3rdX,
|
|
1178
1103
|
overlayY,
|
|
1179
|
-
offsetY
|
|
1104
|
+
offsetY
|
|
1180
1105
|
},
|
|
1181
1106
|
{
|
|
1182
1107
|
originX: origin3rdX,
|
|
1183
1108
|
originY: originFallbackY,
|
|
1184
1109
|
overlayX: origin3rdX,
|
|
1185
1110
|
overlayY: overlayFallbackY,
|
|
1186
|
-
offsetY: -offsetY
|
|
1187
|
-
}
|
|
1111
|
+
offsetY: -offsetY
|
|
1112
|
+
}
|
|
1188
1113
|
])
|
|
1189
1114
|
.withDefaultOffsetX(offsetX)
|
|
1190
1115
|
.withDefaultOffsetY(offsetY);
|
|
@@ -1203,7 +1128,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1203
1128
|
args: [{
|
|
1204
1129
|
selector: 'dbx-bar,[dbxBar]',
|
|
1205
1130
|
host: {
|
|
1206
|
-
|
|
1131
|
+
class: 'dbx-bar',
|
|
1207
1132
|
'[class.dbx-primary-bg]': 'color === "primary"',
|
|
1208
1133
|
'[class.dbx-accent-bg]': 'color === "accent"',
|
|
1209
1134
|
'[class.dbx-warn-bg]': 'color === "warn"'
|
|
@@ -1224,7 +1149,7 @@ DbxBarHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1224
1149
|
<mat-icon class="button-spacer" *ngIf="icon">{{ icon }}</mat-icon>
|
|
1225
1150
|
<span *ngIf="text">{{ text }}</span>
|
|
1226
1151
|
</dbx-bar>
|
|
1227
|
-
|
|
1152
|
+
`, isInline: true, components: [{ type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: DbxBarDirective, selector: "dbx-bar,[dbxBar]", inputs: ["color"] }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1228
1153
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBarHeaderComponent, decorators: [{
|
|
1229
1154
|
type: Component,
|
|
1230
1155
|
args: [{
|
|
@@ -1234,9 +1159,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1234
1159
|
<mat-icon class="button-spacer" *ngIf="icon">{{ icon }}</mat-icon>
|
|
1235
1160
|
<span *ngIf="text">{{ text }}</span>
|
|
1236
1161
|
</dbx-bar>
|
|
1237
|
-
|
|
1162
|
+
`,
|
|
1238
1163
|
host: {
|
|
1239
|
-
|
|
1164
|
+
class: 'dbx-bar-header dbx-hint'
|
|
1240
1165
|
}
|
|
1241
1166
|
}]
|
|
1242
1167
|
}], propDecorators: { text: [{
|
|
@@ -1250,10 +1175,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1250
1175
|
class DbxPagebarComponent {
|
|
1251
1176
|
}
|
|
1252
1177
|
DbxPagebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPagebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1253
|
-
DbxPagebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxPagebarComponent, selector: "dbx-pagebar", inputs: { color: "color" }, ngImport: i0, template: "<mat-toolbar class=\"dbx-pagebar\" [ngClass]=\"
|
|
1178
|
+
DbxPagebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxPagebarComponent, selector: "dbx-pagebar", inputs: { color: "color" }, ngImport: i0, template: "<mat-toolbar class=\"dbx-pagebar\" [ngClass]=\"color ? 'dbx-bar-' + color : ''\">\n <ng-content select=\"[left]\"></ng-content>\n <span class=\"spacer\"></span>\n <ng-content select=\"[right]\"></ng-content>\n</mat-toolbar>\n", components: [{ type: i1$4.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }], directives: [{ type: i3$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
1254
1179
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPagebarComponent, decorators: [{
|
|
1255
1180
|
type: Component,
|
|
1256
|
-
args: [{ selector: 'dbx-pagebar', template: "<mat-toolbar class=\"dbx-pagebar\" [ngClass]=\"
|
|
1181
|
+
args: [{ selector: 'dbx-pagebar', template: "<mat-toolbar class=\"dbx-pagebar\" [ngClass]=\"color ? 'dbx-bar-' + color : ''\">\n <ng-content select=\"[left]\"></ng-content>\n <span class=\"spacer\"></span>\n <ng-content select=\"[right]\"></ng-content>\n</mat-toolbar>\n" }]
|
|
1257
1182
|
}], propDecorators: { color: [{
|
|
1258
1183
|
type: Input
|
|
1259
1184
|
}] } });
|
|
@@ -1264,36 +1189,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1264
1189
|
class DbxBarLayoutModule {
|
|
1265
1190
|
}
|
|
1266
1191
|
DbxBarLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBarLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1267
|
-
DbxBarLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBarLayoutModule, declarations: [DbxBarDirective,
|
|
1268
|
-
|
|
1269
|
-
DbxPagebarComponent], imports: [CommonModule,
|
|
1270
|
-
MatToolbarModule,
|
|
1271
|
-
MatIconModule], exports: [DbxBarDirective,
|
|
1272
|
-
DbxBarHeaderComponent,
|
|
1273
|
-
DbxPagebarComponent] });
|
|
1274
|
-
DbxBarLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBarLayoutModule, imports: [[
|
|
1275
|
-
CommonModule,
|
|
1276
|
-
MatToolbarModule,
|
|
1277
|
-
MatIconModule
|
|
1278
|
-
]] });
|
|
1192
|
+
DbxBarLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBarLayoutModule, declarations: [DbxBarDirective, DbxBarHeaderComponent, DbxPagebarComponent], imports: [CommonModule, MatToolbarModule, MatIconModule], exports: [DbxBarDirective, DbxBarHeaderComponent, DbxPagebarComponent] });
|
|
1193
|
+
DbxBarLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBarLayoutModule, imports: [[CommonModule, MatToolbarModule, MatIconModule]] });
|
|
1279
1194
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBarLayoutModule, decorators: [{
|
|
1280
1195
|
type: NgModule,
|
|
1281
1196
|
args: [{
|
|
1282
|
-
imports: [
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
MatIconModule
|
|
1286
|
-
],
|
|
1287
|
-
declarations: [
|
|
1288
|
-
DbxBarDirective,
|
|
1289
|
-
DbxBarHeaderComponent,
|
|
1290
|
-
DbxPagebarComponent
|
|
1291
|
-
],
|
|
1292
|
-
exports: [
|
|
1293
|
-
DbxBarDirective,
|
|
1294
|
-
DbxBarHeaderComponent,
|
|
1295
|
-
DbxPagebarComponent
|
|
1296
|
-
]
|
|
1197
|
+
imports: [CommonModule, MatToolbarModule, MatIconModule],
|
|
1198
|
+
declarations: [DbxBarDirective, DbxBarHeaderComponent, DbxPagebarComponent],
|
|
1199
|
+
exports: [DbxBarDirective, DbxBarHeaderComponent, DbxPagebarComponent]
|
|
1297
1200
|
}]
|
|
1298
1201
|
}] });
|
|
1299
1202
|
|
|
@@ -1309,8 +1212,8 @@ class DbxAnchorComponent extends AbstractDbxAnchorDirective {
|
|
|
1309
1212
|
this.dbNgxRouterWebProviderConfig = dbNgxRouterWebProviderConfig;
|
|
1310
1213
|
this._templateRef = new BehaviorSubject(undefined);
|
|
1311
1214
|
this.templateRef$ = this._templateRef.pipe(skipFirstMaybe(), shareReplay(1));
|
|
1312
|
-
this.url$ = this.anchor$.pipe(map(x => x === null || x === void 0 ? void 0 : x.url), distinctUntilChanged(), shareReplay(1));
|
|
1313
|
-
this.target$ = this.anchor$.pipe(map(x => x === null || x === void 0 ? void 0 : x.target), distinctUntilChanged(), shareReplay(1));
|
|
1215
|
+
this.url$ = this.anchor$.pipe(map((x) => x === null || x === void 0 ? void 0 : x.url), distinctUntilChanged(), shareReplay(1));
|
|
1216
|
+
this.target$ = this.anchor$.pipe(map((x) => x === null || x === void 0 ? void 0 : x.target), distinctUntilChanged(), shareReplay(1));
|
|
1314
1217
|
}
|
|
1315
1218
|
get templateRef() {
|
|
1316
1219
|
return this._templateRef.value;
|
|
@@ -1331,13 +1234,13 @@ class DbxAnchorComponent extends AbstractDbxAnchorDirective {
|
|
|
1331
1234
|
}
|
|
1332
1235
|
}
|
|
1333
1236
|
DbxAnchorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxAnchorComponent, deps: [{ token: DbxRouterWebProviderConfig }], target: i0.ɵɵFactoryTarget.Component });
|
|
1334
|
-
DbxAnchorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: { block: "block" }, host: { attributes: { "dbx-anchor-block": "block" }, classAttribute: "d-inline dbx-anchor" }, viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["content"], descendants: true, read: TemplateRef }], usesInheritance: true, ngImport: i0, template: "<ng-container [ngSwitch]=\"
|
|
1237
|
+
DbxAnchorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: { block: "block" }, host: { attributes: { "dbx-anchor-block": "block" }, classAttribute: "d-inline dbx-anchor" }, viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["content"], descendants: true, read: TemplateRef }], usesInheritance: true, ngImport: i0, template: "<ng-container [ngSwitch]=\"type$ | async\">\n <!-- Plain -->\n <ng-container *ngSwitchCase=\"0\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </ng-container>\n <!-- Click -->\n <a class=\"dbx-anchor-a dbx-anchor-click\" (click)=\"clickAnchor()\" *ngSwitchCase=\"1\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </a>\n <!-- Router -->\n <dbx-injection [config]=\"srefAnchorConfig\" *ngSwitchCase=\"2\">\n <!-- Injected in child. -->\n </dbx-injection>\n <!-- Href -->\n <a class=\"dbx-anchor-a dbx-anchor-href\" [href]=\"url$ | async\" [attr.target]=\"target$ | async\" *ngSwitchCase=\"3\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </a>\n <!-- Disabled or None -->\n <a class=\"dbx-anchor-a dbx-anchor-disabled\" *ngSwitchDefault>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </a>\n</ng-container>\n<!-- Template content -->\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n", components: [{ type: i1$2.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }], directives: [{ type: i3$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i3$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3$1.NgSwitchDefault, selector: "[ngSwitchDefault]" }], pipes: { "async": i3$1.AsyncPipe } });
|
|
1335
1238
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxAnchorComponent, decorators: [{
|
|
1336
1239
|
type: Component,
|
|
1337
1240
|
args: [{ selector: 'dbx-anchor, [dbx-anchor]', host: {
|
|
1338
1241
|
class: 'd-inline dbx-anchor',
|
|
1339
1242
|
'dbx-anchor-block': 'block'
|
|
1340
|
-
}, template: "<ng-container [ngSwitch]=\"
|
|
1243
|
+
}, template: "<ng-container [ngSwitch]=\"type$ | async\">\n <!-- Plain -->\n <ng-container *ngSwitchCase=\"0\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </ng-container>\n <!-- Click -->\n <a class=\"dbx-anchor-a dbx-anchor-click\" (click)=\"clickAnchor()\" *ngSwitchCase=\"1\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </a>\n <!-- Router -->\n <dbx-injection [config]=\"srefAnchorConfig\" *ngSwitchCase=\"2\">\n <!-- Injected in child. -->\n </dbx-injection>\n <!-- Href -->\n <a class=\"dbx-anchor-a dbx-anchor-href\" [href]=\"url$ | async\" [attr.target]=\"target$ | async\" *ngSwitchCase=\"3\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </a>\n <!-- Disabled or None -->\n <a class=\"dbx-anchor-a dbx-anchor-disabled\" *ngSwitchDefault>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </a>\n</ng-container>\n<!-- Template content -->\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n" }]
|
|
1341
1244
|
}], ctorParameters: function () { return [{ type: DbxRouterWebProviderConfig }]; }, propDecorators: { block: [{
|
|
1342
1245
|
type: Input
|
|
1343
1246
|
}], templateRef: [{
|
|
@@ -1352,19 +1255,23 @@ class DbxAnchorIconComponent {
|
|
|
1352
1255
|
}
|
|
1353
1256
|
DbxAnchorIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxAnchorIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1354
1257
|
DbxAnchorIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxAnchorIconComponent, selector: "dbx-anchor-icon", inputs: { anchor: "anchor" }, ngImport: i0, template: `
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1258
|
+
<dbx-anchor [anchor]="anchor">
|
|
1259
|
+
<button mat-icon-button>
|
|
1260
|
+
<mat-icon>{{ anchor?.icon }}</mat-icon>
|
|
1261
|
+
</button>
|
|
1262
|
+
</dbx-anchor>
|
|
1263
|
+
`, isInline: true, components: [{ type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }, { type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
|
|
1359
1264
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxAnchorIconComponent, decorators: [{
|
|
1360
1265
|
type: Component,
|
|
1361
1266
|
args: [{
|
|
1362
1267
|
selector: 'dbx-anchor-icon',
|
|
1363
1268
|
template: `
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1269
|
+
<dbx-anchor [anchor]="anchor">
|
|
1270
|
+
<button mat-icon-button>
|
|
1271
|
+
<mat-icon>{{ anchor?.icon }}</mat-icon>
|
|
1272
|
+
</button>
|
|
1273
|
+
</dbx-anchor>
|
|
1274
|
+
`
|
|
1368
1275
|
}]
|
|
1369
1276
|
}], propDecorators: { anchor: [{
|
|
1370
1277
|
type: Input
|
|
@@ -1394,7 +1301,7 @@ DbxAnchorLinkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1394
1301
|
<dbx-anchor [anchor]="anchor">
|
|
1395
1302
|
<ng-content></ng-content>
|
|
1396
1303
|
</dbx-anchor>
|
|
1397
|
-
|
|
1304
|
+
`, isInline: true, components: [{ type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }] });
|
|
1398
1305
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxAnchorLinkComponent, decorators: [{
|
|
1399
1306
|
type: Component,
|
|
1400
1307
|
args: [{
|
|
@@ -1403,9 +1310,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1403
1310
|
<dbx-anchor [anchor]="anchor">
|
|
1404
1311
|
<ng-content></ng-content>
|
|
1405
1312
|
</dbx-anchor>
|
|
1406
|
-
|
|
1313
|
+
`,
|
|
1407
1314
|
host: {
|
|
1408
|
-
|
|
1315
|
+
class: 'd-inline dbx-link'
|
|
1409
1316
|
}
|
|
1410
1317
|
}]
|
|
1411
1318
|
}], propDecorators: { anchor: [{
|
|
@@ -1422,11 +1329,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1422
1329
|
class DbxAnchorContentComponent {
|
|
1423
1330
|
constructor(parent) {
|
|
1424
1331
|
this.parent = parent;
|
|
1425
|
-
this._parentAnchor =
|
|
1332
|
+
this._parentAnchor = this.parent ? this.parent.anchor$ : of(undefined);
|
|
1426
1333
|
this._inputAnchor = new BehaviorSubject(undefined);
|
|
1427
1334
|
this.anchor$ = combineLatest([this._inputAnchor, this._parentAnchor]).pipe(map(([input, parent]) => input !== null && input !== void 0 ? input : parent), shareReplay(1));
|
|
1428
|
-
this.icon$ = this.anchor$.pipe(map(x => x === null || x === void 0 ? void 0 : x.icon));
|
|
1429
|
-
this.title$ = this.anchor$.pipe(map(x => x === null || x === void 0 ? void 0 : x.title));
|
|
1335
|
+
this.icon$ = this.anchor$.pipe(map((x) => x === null || x === void 0 ? void 0 : x.icon));
|
|
1336
|
+
this.title$ = this.anchor$.pipe(map((x) => x === null || x === void 0 ? void 0 : x.title));
|
|
1430
1337
|
}
|
|
1431
1338
|
set anchor(anchor) {
|
|
1432
1339
|
this._inputAnchor.next(anchor);
|
|
@@ -1436,14 +1343,20 @@ class DbxAnchorContentComponent {
|
|
|
1436
1343
|
}
|
|
1437
1344
|
}
|
|
1438
1345
|
DbxAnchorContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxAnchorContentComponent, deps: [{ token: DbxAnchorComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1439
|
-
DbxAnchorContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxAnchorContentComponent, selector: "dbx-anchor-content", inputs: { anchor: "anchor" }, host: { classAttribute: "dbx-anchor-content" }, ngImport: i0, template:
|
|
1346
|
+
DbxAnchorContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxAnchorContentComponent, selector: "dbx-anchor-content", inputs: { anchor: "anchor" }, host: { classAttribute: "dbx-anchor-content" }, ngImport: i0, template: `
|
|
1347
|
+
<mat-icon class="dbx-icon-spacer" *ngIf="icon$ | async">{{ icon$ | async }}</mat-icon>
|
|
1348
|
+
<span *ngIf="title$ | async">{{ title$ | async }}</span>
|
|
1349
|
+
`, isInline: true, components: [{ type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3$1.AsyncPipe } });
|
|
1440
1350
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxAnchorContentComponent, decorators: [{
|
|
1441
1351
|
type: Component,
|
|
1442
1352
|
args: [{
|
|
1443
1353
|
selector: 'dbx-anchor-content',
|
|
1444
|
-
template:
|
|
1354
|
+
template: `
|
|
1355
|
+
<mat-icon class="dbx-icon-spacer" *ngIf="icon$ | async">{{ icon$ | async }}</mat-icon>
|
|
1356
|
+
<span *ngIf="title$ | async">{{ title$ | async }}</span>
|
|
1357
|
+
`,
|
|
1445
1358
|
host: {
|
|
1446
|
-
|
|
1359
|
+
class: 'dbx-anchor-content'
|
|
1447
1360
|
}
|
|
1448
1361
|
}]
|
|
1449
1362
|
}], ctorParameters: function () {
|
|
@@ -1457,43 +1370,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1457
1370
|
class DbxRouterAnchorModule {
|
|
1458
1371
|
}
|
|
1459
1372
|
DbxRouterAnchorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterAnchorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1460
|
-
DbxRouterAnchorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterAnchorModule, declarations: [DbxAnchorComponent,
|
|
1461
|
-
|
|
1462
|
-
DbxAnchorLinkComponent,
|
|
1463
|
-
DbxAnchorContentComponent], imports: [CommonModule,
|
|
1464
|
-
MatIconModule,
|
|
1465
|
-
MatButtonModule,
|
|
1466
|
-
DbxInjectionComponentModule], exports: [DbxAnchorComponent,
|
|
1467
|
-
DbxAnchorIconComponent,
|
|
1468
|
-
DbxAnchorLinkComponent,
|
|
1469
|
-
DbxAnchorContentComponent] });
|
|
1470
|
-
DbxRouterAnchorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterAnchorModule, imports: [[
|
|
1471
|
-
CommonModule,
|
|
1472
|
-
MatIconModule,
|
|
1473
|
-
MatButtonModule,
|
|
1474
|
-
DbxInjectionComponentModule
|
|
1475
|
-
]] });
|
|
1373
|
+
DbxRouterAnchorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterAnchorModule, declarations: [DbxAnchorComponent, DbxAnchorIconComponent, DbxAnchorLinkComponent, DbxAnchorContentComponent], imports: [CommonModule, MatIconModule, MatButtonModule, DbxInjectionComponentModule], exports: [DbxAnchorComponent, DbxAnchorIconComponent, DbxAnchorLinkComponent, DbxAnchorContentComponent] });
|
|
1374
|
+
DbxRouterAnchorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterAnchorModule, imports: [[CommonModule, MatIconModule, MatButtonModule, DbxInjectionComponentModule]] });
|
|
1476
1375
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterAnchorModule, decorators: [{
|
|
1477
1376
|
type: NgModule,
|
|
1478
1377
|
args: [{
|
|
1479
|
-
imports: [
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
MatButtonModule,
|
|
1483
|
-
DbxInjectionComponentModule
|
|
1484
|
-
],
|
|
1485
|
-
declarations: [
|
|
1486
|
-
DbxAnchorComponent,
|
|
1487
|
-
DbxAnchorIconComponent,
|
|
1488
|
-
DbxAnchorLinkComponent,
|
|
1489
|
-
DbxAnchorContentComponent
|
|
1490
|
-
],
|
|
1491
|
-
exports: [
|
|
1492
|
-
DbxAnchorComponent,
|
|
1493
|
-
DbxAnchorIconComponent,
|
|
1494
|
-
DbxAnchorLinkComponent,
|
|
1495
|
-
DbxAnchorContentComponent
|
|
1496
|
-
]
|
|
1378
|
+
imports: [CommonModule, MatIconModule, MatButtonModule, DbxInjectionComponentModule],
|
|
1379
|
+
declarations: [DbxAnchorComponent, DbxAnchorIconComponent, DbxAnchorLinkComponent, DbxAnchorContentComponent],
|
|
1380
|
+
exports: [DbxAnchorComponent, DbxAnchorIconComponent, DbxAnchorLinkComponent, DbxAnchorContentComponent]
|
|
1497
1381
|
}]
|
|
1498
1382
|
}] });
|
|
1499
1383
|
|
|
@@ -1504,10 +1388,10 @@ class AbstractDbxSegueAnchorDirective {
|
|
|
1504
1388
|
constructor(parent) {
|
|
1505
1389
|
this.parent = parent;
|
|
1506
1390
|
this.target$ = this.parent.target$;
|
|
1507
|
-
this.ref$ = this.parent.anchor$.pipe(map(x => x === null || x === void 0 ? void 0 : x.ref), distinctUntilChanged(), shareReplay(1));
|
|
1508
|
-
this.refParams$ = this.parent.anchor$.pipe(map(x => x === null || x === void 0 ? void 0 : x.refParams), distinctUntilChanged(), shareReplay(1));
|
|
1509
|
-
this.refOptions$ = this.parent.anchor$.pipe(map(x => x === null || x === void 0 ? void 0 : x.refOptions), distinctUntilChanged(), shareReplay(1));
|
|
1510
|
-
this.template$ = this.parent.templateRef$.pipe(distinctUntilChanged(), map(templateRef => ({
|
|
1391
|
+
this.ref$ = this.parent.anchor$.pipe(map((x) => x === null || x === void 0 ? void 0 : x.ref), distinctUntilChanged(), shareReplay(1));
|
|
1392
|
+
this.refParams$ = this.parent.anchor$.pipe(map((x) => x === null || x === void 0 ? void 0 : x.refParams), distinctUntilChanged(), shareReplay(1));
|
|
1393
|
+
this.refOptions$ = this.parent.anchor$.pipe(map((x) => x === null || x === void 0 ? void 0 : x.refOptions), distinctUntilChanged(), shareReplay(1));
|
|
1394
|
+
this.template$ = this.parent.templateRef$.pipe(distinctUntilChanged(), map((templateRef) => ({
|
|
1511
1395
|
templateRef
|
|
1512
1396
|
})), shareReplay(1));
|
|
1513
1397
|
}
|
|
@@ -1527,7 +1411,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1527
1411
|
class DbxAnchorListComponent {
|
|
1528
1412
|
constructor() {
|
|
1529
1413
|
this._anchors = new BehaviorSubject([]);
|
|
1530
|
-
this.expandedAnchors$ = this._anchors.pipe(distinctUntilChanged(), map(x => expandClickableAnchorLinkTrees(x)), shareReplay(1));
|
|
1414
|
+
this.expandedAnchors$ = this._anchors.pipe(distinctUntilChanged(), map((x) => expandClickableAnchorLinkTrees(x)), shareReplay(1));
|
|
1531
1415
|
}
|
|
1532
1416
|
set anchors(anchors) {
|
|
1533
1417
|
this._anchors.next(anchors !== null && anchors !== void 0 ? anchors : []);
|
|
@@ -1537,10 +1421,10 @@ class DbxAnchorListComponent {
|
|
|
1537
1421
|
}
|
|
1538
1422
|
}
|
|
1539
1423
|
DbxAnchorListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxAnchorListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1540
|
-
DbxAnchorListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxAnchorListComponent, selector: "dbx-anchor-list", inputs: { anchors: "anchors" }, ngImport: i0, template: "<mat-nav-list class=\"dbx-anchor-list\">\n <ng-container *ngFor=\"let expanded of expandedAnchors$ | async; let last = last
|
|
1424
|
+
DbxAnchorListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxAnchorListComponent, selector: "dbx-anchor-list", inputs: { anchors: "anchors" }, ngImport: i0, template: "<mat-nav-list class=\"dbx-anchor-list\">\n <ng-container *ngFor=\"let expanded of expandedAnchors$ | async; let last = last\">\n <span dbx-anchor [anchor]=\"expanded.value\">\n <a mat-list-item [disabled]=\"expanded.value.disabled\" [ngClass]=\"expanded.depth ? 'dbx-anchor-list-child' : 'dbx-anchor-list-root'\">\n <mat-icon mat-list-icon *ngIf=\"expanded.value.icon\">{{ expanded.value.icon }}</mat-icon>\n <!-- TODO: Add an icon from a letter if anchor.icon is unavailable. -->\n <div mat-line>{{ expanded.value.title }}</div>\n <mat-divider *ngIf=\"!last\"></mat-divider>\n </a>\n </span>\n </ng-container>\n</mat-nav-list>\n", components: [{ type: i1$5.MatNavList, selector: "mat-nav-list", inputs: ["disableRipple", "disabled"], exportAs: ["matNavList"] }, { type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }, { type: i1$5.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["disableRipple", "disabled"], exportAs: ["matListItem"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i4.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }], directives: [{ type: i3$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$5.MatListIconCssMatStyler, selector: "[mat-list-icon], [matListIcon]" }, { type: i6.MatLine, selector: "[mat-line], [matLine]" }], pipes: { "async": i3$1.AsyncPipe } });
|
|
1541
1425
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxAnchorListComponent, decorators: [{
|
|
1542
1426
|
type: Component,
|
|
1543
|
-
args: [{ selector: 'dbx-anchor-list', template: "<mat-nav-list class=\"dbx-anchor-list\">\n <ng-container *ngFor=\"let expanded of expandedAnchors$ | async; let last = last
|
|
1427
|
+
args: [{ selector: 'dbx-anchor-list', template: "<mat-nav-list class=\"dbx-anchor-list\">\n <ng-container *ngFor=\"let expanded of expandedAnchors$ | async; let last = last\">\n <span dbx-anchor [anchor]=\"expanded.value\">\n <a mat-list-item [disabled]=\"expanded.value.disabled\" [ngClass]=\"expanded.depth ? 'dbx-anchor-list-child' : 'dbx-anchor-list-root'\">\n <mat-icon mat-list-icon *ngIf=\"expanded.value.icon\">{{ expanded.value.icon }}</mat-icon>\n <!-- TODO: Add an icon from a letter if anchor.icon is unavailable. -->\n <div mat-line>{{ expanded.value.title }}</div>\n <mat-divider *ngIf=\"!last\"></mat-divider>\n </a>\n </span>\n </ng-container>\n</mat-nav-list>\n" }]
|
|
1544
1428
|
}], propDecorators: { anchors: [{
|
|
1545
1429
|
type: Input
|
|
1546
1430
|
}] } });
|
|
@@ -1548,40 +1432,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1548
1432
|
class DbxRouterAnchorListModule {
|
|
1549
1433
|
}
|
|
1550
1434
|
DbxRouterAnchorListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterAnchorListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1551
|
-
DbxRouterAnchorListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterAnchorListModule, declarations: [DbxAnchorListComponent], imports: [CommonModule,
|
|
1552
|
-
|
|
1553
|
-
MatButtonModule,
|
|
1554
|
-
MatIconModule,
|
|
1555
|
-
MatListModule,
|
|
1556
|
-
MatMenuModule,
|
|
1557
|
-
DbxRouterAnchorModule], exports: [DbxAnchorListComponent] });
|
|
1558
|
-
DbxRouterAnchorListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterAnchorListModule, imports: [[
|
|
1559
|
-
CommonModule,
|
|
1560
|
-
MatTabsModule,
|
|
1561
|
-
MatButtonModule,
|
|
1562
|
-
MatIconModule,
|
|
1563
|
-
MatListModule,
|
|
1564
|
-
MatMenuModule,
|
|
1565
|
-
DbxRouterAnchorModule,
|
|
1566
|
-
]] });
|
|
1435
|
+
DbxRouterAnchorListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterAnchorListModule, declarations: [DbxAnchorListComponent], imports: [CommonModule, MatTabsModule, MatButtonModule, MatIconModule, MatListModule, MatMenuModule, DbxRouterAnchorModule], exports: [DbxAnchorListComponent] });
|
|
1436
|
+
DbxRouterAnchorListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterAnchorListModule, imports: [[CommonModule, MatTabsModule, MatButtonModule, MatIconModule, MatListModule, MatMenuModule, DbxRouterAnchorModule]] });
|
|
1567
1437
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterAnchorListModule, decorators: [{
|
|
1568
1438
|
type: NgModule,
|
|
1569
1439
|
args: [{
|
|
1570
|
-
imports: [
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
MatButtonModule,
|
|
1574
|
-
MatIconModule,
|
|
1575
|
-
MatListModule,
|
|
1576
|
-
MatMenuModule,
|
|
1577
|
-
DbxRouterAnchorModule,
|
|
1578
|
-
],
|
|
1579
|
-
declarations: [
|
|
1580
|
-
DbxAnchorListComponent
|
|
1581
|
-
],
|
|
1582
|
-
exports: [
|
|
1583
|
-
DbxAnchorListComponent
|
|
1584
|
-
]
|
|
1440
|
+
imports: [CommonModule, MatTabsModule, MatButtonModule, MatIconModule, MatListModule, MatMenuModule, DbxRouterAnchorModule],
|
|
1441
|
+
declarations: [DbxAnchorListComponent],
|
|
1442
|
+
exports: [DbxAnchorListComponent]
|
|
1585
1443
|
}]
|
|
1586
1444
|
}] });
|
|
1587
1445
|
|
|
@@ -1589,10 +1447,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1589
1447
|
class DbxValueListItemModifier {
|
|
1590
1448
|
}
|
|
1591
1449
|
function provideDbxValueListViewModifier(sourceType) {
|
|
1592
|
-
return [
|
|
1450
|
+
return [
|
|
1451
|
+
{
|
|
1593
1452
|
provide: DbxValueListItemModifier,
|
|
1594
1453
|
useExisting: forwardRef(() => sourceType)
|
|
1595
|
-
}
|
|
1454
|
+
}
|
|
1455
|
+
];
|
|
1596
1456
|
}
|
|
1597
1457
|
function listItemModifier(key, modify) {
|
|
1598
1458
|
return modifier(key, modify);
|
|
@@ -1606,7 +1466,7 @@ class DbxValueListItemModifierDirective {
|
|
|
1606
1466
|
this._modifiers = new BehaviorSubject(undefined);
|
|
1607
1467
|
this._inputModifiers = new BehaviorSubject(undefined);
|
|
1608
1468
|
this.modifiers$ = combineLatest([this._modifiers, this._inputModifiers]).pipe(map(([modifiers, inputModifiers]) => {
|
|
1609
|
-
return combineMaps(modifiers,
|
|
1469
|
+
return combineMaps(modifiers, inputModifiers ? addModifiers(inputModifiers) : undefined);
|
|
1610
1470
|
}), shareReplay(1));
|
|
1611
1471
|
}
|
|
1612
1472
|
ngOnDestroy() {
|
|
@@ -1629,7 +1489,7 @@ DbxValueListItemModifierDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion
|
|
|
1629
1489
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxValueListItemModifierDirective, decorators: [{
|
|
1630
1490
|
type: Directive,
|
|
1631
1491
|
args: [{
|
|
1632
|
-
|
|
1492
|
+
selector: '[dbxListItemModifier]',
|
|
1633
1493
|
providers: provideDbxValueListViewModifier(DbxValueListItemModifierDirective)
|
|
1634
1494
|
}]
|
|
1635
1495
|
}], propDecorators: { inputModifiers: [{
|
|
@@ -1719,21 +1579,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1719
1579
|
type: NgModule,
|
|
1720
1580
|
args: [{
|
|
1721
1581
|
imports: [],
|
|
1722
|
-
declarations: [
|
|
1723
|
-
|
|
1724
|
-
],
|
|
1725
|
-
exports: [
|
|
1726
|
-
DbxListItemAnchorModifierDirective
|
|
1727
|
-
]
|
|
1582
|
+
declarations: [DbxListItemAnchorModifierDirective],
|
|
1583
|
+
exports: [DbxListItemAnchorModifierDirective]
|
|
1728
1584
|
}]
|
|
1729
1585
|
}] });
|
|
1730
1586
|
|
|
1731
1587
|
const SCREEN_MEDIA_WIDTH_TYPE_SIZE_MAP = {
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1588
|
+
micro: 0,
|
|
1589
|
+
small: 1,
|
|
1590
|
+
tablet: 2,
|
|
1591
|
+
large: 3,
|
|
1592
|
+
full: 4
|
|
1737
1593
|
};
|
|
1738
1594
|
/**
|
|
1739
1595
|
* Compares the breakpoint with the current width and determines if it is "active" or not.
|
|
@@ -1852,7 +1708,7 @@ class DbxNavbarComponent extends AbstractTransitionDirective {
|
|
|
1852
1708
|
this._anchors = new BehaviorSubject([]);
|
|
1853
1709
|
this.isBreakpointActive$ = this._dbxScreenMediaService.isBreakpointActive(this._breakpoint);
|
|
1854
1710
|
this.mode$ = combineLatest([this._inputMode, this.isBreakpointActive$]).pipe(map(([inputMode, breakpointActive]) => {
|
|
1855
|
-
return
|
|
1711
|
+
return breakpointActive ? inputMode !== null && inputMode !== void 0 ? inputMode : 'bar' : 'button';
|
|
1856
1712
|
}), distinctUntilChanged(), tapDetectChanges(this.cdRef), shareReplay(1));
|
|
1857
1713
|
this.anchors$ = combineLatest([this._anchors, this.initAndUpdateOnTransitionSuccess$]).pipe(map(([anchors]) => {
|
|
1858
1714
|
const results = anchors.map((anchor) => {
|
|
@@ -1882,12 +1738,12 @@ class DbxNavbarComponent extends AbstractTransitionDirective {
|
|
|
1882
1738
|
}
|
|
1883
1739
|
}
|
|
1884
1740
|
DbxNavbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxNavbarComponent, deps: [{ token: i1$2.DbxRouterTransitionService }, { token: i0.ChangeDetectorRef }, { token: DbxScreenMediaService }, { token: i1$2.DbxRouterService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1885
|
-
DbxNavbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxNavbarComponent, selector: "dbx-navbar", inputs: { navAlign: "navAlign", anchors: "anchors", mode: "mode", breakpoint: "breakpoint" }, host: { classAttribute: "dbx-navbar" }, usesInheritance: true, ngImport: i0, template: "<ng-container [ngSwitch]=\"mode$ | async\">\n <!-- Button -->\n <ng-container *ngSwitchCase=\"'button'\">\n <button mat-icon-button [matMenuTriggerFor]=\"menu\" class=\"nav-menu-button\" aria-label=\"open navigation\">\n <mat-icon>menu</mat-icon>\n </button>\n <mat-menu #menu>\n <dbx-anchor *ngFor=\"let x of anchors$ | async\" [anchor]=\"x.anchor\">\n <button mat-menu-item [ngClass]=\"
|
|
1741
|
+
DbxNavbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxNavbarComponent, selector: "dbx-navbar", inputs: { navAlign: "navAlign", anchors: "anchors", mode: "mode", breakpoint: "breakpoint" }, host: { classAttribute: "dbx-navbar" }, usesInheritance: true, ngImport: i0, template: "<ng-container [ngSwitch]=\"mode$ | async\">\n <!-- Button -->\n <ng-container *ngSwitchCase=\"'button'\">\n <button mat-icon-button [matMenuTriggerFor]=\"menu\" class=\"nav-menu-button\" aria-label=\"open navigation\">\n <mat-icon>menu</mat-icon>\n </button>\n <mat-menu #menu>\n <dbx-anchor *ngFor=\"let x of anchors$ | async\" [anchor]=\"x.anchor\">\n <button mat-menu-item [ngClass]=\"x.selected ? 'active' : ''\">{{ x.anchor.title }}</button>\n </dbx-anchor>\n </mat-menu>\n </ng-container>\n <!-- Bar -->\n <nav *ngSwitchDefault mat-tab-nav-bar [attr.mat-align-tabs]=\"navAlign\">\n <dbx-anchor *ngFor=\"let x of anchors$ | async\" [anchor]=\"x.anchor\">\n <a mat-tab-link [active]=\"x.selected\">{{ x.anchor.title }}</a>\n </dbx-anchor>\n </nav>\n</ng-container>\n", components: [{ type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i5.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }, { type: i5.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { type: i7.MatTabNav, selector: "[mat-tab-nav-bar]", inputs: ["color"], exportAs: ["matTabNavBar", "matTabNav"] }], directives: [{ type: i3$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i5.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { type: i3$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3$1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: i7.MatTabLink, selector: "[mat-tab-link], [matTabLink]", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matTabLink"] }], pipes: { "async": i3$1.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1886
1742
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxNavbarComponent, decorators: [{
|
|
1887
1743
|
type: Component,
|
|
1888
1744
|
args: [{ selector: 'dbx-navbar', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
1889
|
-
|
|
1890
|
-
}, template: "<ng-container [ngSwitch]=\"mode$ | async\">\n <!-- Button -->\n <ng-container *ngSwitchCase=\"'button'\">\n <button mat-icon-button [matMenuTriggerFor]=\"menu\" class=\"nav-menu-button\" aria-label=\"open navigation\">\n <mat-icon>menu</mat-icon>\n </button>\n <mat-menu #menu>\n <dbx-anchor *ngFor=\"let x of anchors$ | async\" [anchor]=\"x.anchor\">\n <button mat-menu-item [ngClass]=\"
|
|
1745
|
+
class: 'dbx-navbar'
|
|
1746
|
+
}, template: "<ng-container [ngSwitch]=\"mode$ | async\">\n <!-- Button -->\n <ng-container *ngSwitchCase=\"'button'\">\n <button mat-icon-button [matMenuTriggerFor]=\"menu\" class=\"nav-menu-button\" aria-label=\"open navigation\">\n <mat-icon>menu</mat-icon>\n </button>\n <mat-menu #menu>\n <dbx-anchor *ngFor=\"let x of anchors$ | async\" [anchor]=\"x.anchor\">\n <button mat-menu-item [ngClass]=\"x.selected ? 'active' : ''\">{{ x.anchor.title }}</button>\n </dbx-anchor>\n </mat-menu>\n </ng-container>\n <!-- Bar -->\n <nav *ngSwitchDefault mat-tab-nav-bar [attr.mat-align-tabs]=\"navAlign\">\n <dbx-anchor *ngFor=\"let x of anchors$ | async\" [anchor]=\"x.anchor\">\n <a mat-tab-link [active]=\"x.selected\">{{ x.anchor.title }}</a>\n </dbx-anchor>\n </nav>\n</ng-container>\n" }]
|
|
1891
1747
|
}], ctorParameters: function () { return [{ type: i1$2.DbxRouterTransitionService }, { type: i0.ChangeDetectorRef }, { type: DbxScreenMediaService }, { type: i1$2.DbxRouterService }]; }, propDecorators: { navAlign: [{
|
|
1892
1748
|
type: Input
|
|
1893
1749
|
}], anchors: [{
|
|
@@ -1901,37 +1757,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1901
1757
|
class DbxRouterNavbarModule {
|
|
1902
1758
|
}
|
|
1903
1759
|
DbxRouterNavbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterNavbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1904
|
-
DbxRouterNavbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterNavbarModule, declarations: [DbxNavbarComponent], imports: [CommonModule,
|
|
1905
|
-
|
|
1906
|
-
MatButtonModule,
|
|
1907
|
-
MatIconModule,
|
|
1908
|
-
MatMenuModule,
|
|
1909
|
-
DbxRouterAnchorModule], exports: [DbxNavbarComponent] });
|
|
1910
|
-
DbxRouterNavbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterNavbarModule, imports: [[
|
|
1911
|
-
CommonModule,
|
|
1912
|
-
MatTabsModule,
|
|
1913
|
-
MatButtonModule,
|
|
1914
|
-
MatIconModule,
|
|
1915
|
-
MatMenuModule,
|
|
1916
|
-
DbxRouterAnchorModule,
|
|
1917
|
-
]] });
|
|
1760
|
+
DbxRouterNavbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterNavbarModule, declarations: [DbxNavbarComponent], imports: [CommonModule, MatTabsModule, MatButtonModule, MatIconModule, MatMenuModule, DbxRouterAnchorModule], exports: [DbxNavbarComponent] });
|
|
1761
|
+
DbxRouterNavbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterNavbarModule, imports: [[CommonModule, MatTabsModule, MatButtonModule, MatIconModule, MatMenuModule, DbxRouterAnchorModule]] });
|
|
1918
1762
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterNavbarModule, decorators: [{
|
|
1919
1763
|
type: NgModule,
|
|
1920
1764
|
args: [{
|
|
1921
|
-
imports: [
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
MatButtonModule,
|
|
1925
|
-
MatIconModule,
|
|
1926
|
-
MatMenuModule,
|
|
1927
|
-
DbxRouterAnchorModule,
|
|
1928
|
-
],
|
|
1929
|
-
declarations: [
|
|
1930
|
-
DbxNavbarComponent
|
|
1931
|
-
],
|
|
1932
|
-
exports: [
|
|
1933
|
-
DbxNavbarComponent
|
|
1934
|
-
]
|
|
1765
|
+
imports: [CommonModule, MatTabsModule, MatButtonModule, MatIconModule, MatMenuModule, DbxRouterAnchorModule],
|
|
1766
|
+
declarations: [DbxNavbarComponent],
|
|
1767
|
+
exports: [DbxNavbarComponent]
|
|
1935
1768
|
}]
|
|
1936
1769
|
}] });
|
|
1937
1770
|
|
|
@@ -1987,7 +1820,7 @@ class DbxSidenavComponent extends AbstractTransitionWatcherDirective {
|
|
|
1987
1820
|
}
|
|
1988
1821
|
return mode;
|
|
1989
1822
|
}), shareReplay(1));
|
|
1990
|
-
this.disableBackdrop$ = this.mode$.pipe(map(x => x !== SideNavDisplayMode.MOBILE), distinctUntilChanged(), shareReplay(1));
|
|
1823
|
+
this.disableBackdrop$ = this.mode$.pipe(map((x) => x !== SideNavDisplayMode.MOBILE), distinctUntilChanged(), shareReplay(1));
|
|
1991
1824
|
this.sizeClass$ = this.mode$.pipe(map((mode) => `dbx-sidenav-${mode}`), distinctUntilChanged(), shareReplay(1));
|
|
1992
1825
|
this.state$ = this.mode$.pipe(map((mode) => {
|
|
1993
1826
|
let drawer;
|
|
@@ -2009,7 +1842,7 @@ class DbxSidenavComponent extends AbstractTransitionWatcherDirective {
|
|
|
2009
1842
|
open
|
|
2010
1843
|
};
|
|
2011
1844
|
}), shareReplay(1));
|
|
2012
|
-
this.drawer$ = this.state$.pipe(map(x => x.drawer), distinctUntilChanged(), shareReplay(1));
|
|
1845
|
+
this.drawer$ = this.state$.pipe(map((x) => x.drawer), distinctUntilChanged(), shareReplay(1));
|
|
2013
1846
|
this._watcherSub = new SubscriptionObject();
|
|
2014
1847
|
this._stateSub = new SubscriptionObject();
|
|
2015
1848
|
}
|
|
@@ -2084,7 +1917,7 @@ class DbxSidenavButtonComponent {
|
|
|
2084
1917
|
constructor(parent) {
|
|
2085
1918
|
this.parent = parent;
|
|
2086
1919
|
this.mode$ = this.parent.mode$;
|
|
2087
|
-
this.showMenuButton$ = this.mode$.pipe(map(x => x === SideNavDisplayMode.MOBILE));
|
|
1920
|
+
this.showMenuButton$ = this.mode$.pipe(map((x) => x === SideNavDisplayMode.MOBILE));
|
|
2088
1921
|
}
|
|
2089
1922
|
toggleNav() {
|
|
2090
1923
|
this.parent.toggleNav();
|
|
@@ -2092,18 +1925,18 @@ class DbxSidenavButtonComponent {
|
|
|
2092
1925
|
}
|
|
2093
1926
|
DbxSidenavButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSidenavButtonComponent, deps: [{ token: DbxSidenavComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
2094
1927
|
DbxSidenavButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxSidenavButtonComponent, selector: "dbx-sidenav-button", ngImport: i0, template: `
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
1928
|
+
<button class="dbx-sidenav-button" mat-icon-button *ngIf="showMenuButton$ | async" (click)="toggleNav()" aria-label="open sidenav button">
|
|
1929
|
+
<mat-icon>view_sidebar</mat-icon>
|
|
1930
|
+
</button>
|
|
2098
1931
|
`, isInline: true, components: [{ type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3$1.AsyncPipe } });
|
|
2099
1932
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSidenavButtonComponent, decorators: [{
|
|
2100
1933
|
type: Component,
|
|
2101
1934
|
args: [{
|
|
2102
1935
|
selector: 'dbx-sidenav-button',
|
|
2103
1936
|
template: `
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
1937
|
+
<button class="dbx-sidenav-button" mat-icon-button *ngIf="showMenuButton$ | async" (click)="toggleNav()" aria-label="open sidenav button">
|
|
1938
|
+
<mat-icon>view_sidebar</mat-icon>
|
|
1939
|
+
</button>
|
|
2107
1940
|
`
|
|
2108
1941
|
}]
|
|
2109
1942
|
}], ctorParameters: function () { return [{ type: DbxSidenavComponent }]; } });
|
|
@@ -2150,7 +1983,7 @@ class DbxSidenavPageComponent {
|
|
|
2150
1983
|
constructor(parent) {
|
|
2151
1984
|
this.parent = parent;
|
|
2152
1985
|
this._mobileOnly = new BehaviorSubject(false);
|
|
2153
|
-
this.hidePagebar$ = this._mobileOnly.pipe(switchMap((mobileOnly) => (mobileOnly
|
|
1986
|
+
this.hidePagebar$ = this._mobileOnly.pipe(switchMap((mobileOnly) => (mobileOnly ? this.parent.mode$.pipe(map((x) => x !== SideNavDisplayMode.MOBILE)) : of(true))), shareReplay(1));
|
|
2154
1987
|
}
|
|
2155
1988
|
ngOnDestroy() {
|
|
2156
1989
|
this._mobileOnly.complete();
|
|
@@ -2208,7 +2041,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2208
2041
|
args: [{
|
|
2209
2042
|
selector: 'dbx-content-elevate,[dbxContentElevate]',
|
|
2210
2043
|
host: {
|
|
2211
|
-
|
|
2044
|
+
class: 'd-block dbx-content-elevate'
|
|
2212
2045
|
}
|
|
2213
2046
|
}]
|
|
2214
2047
|
}] });
|
|
@@ -2225,7 +2058,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2225
2058
|
args: [{
|
|
2226
2059
|
selector: 'dbx-content,[dbxContent]',
|
|
2227
2060
|
host: {
|
|
2228
|
-
|
|
2061
|
+
class: 'd-block dbx-content'
|
|
2229
2062
|
}
|
|
2230
2063
|
}]
|
|
2231
2064
|
}] });
|
|
@@ -2242,7 +2075,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2242
2075
|
args: [{
|
|
2243
2076
|
selector: 'dbx-content-border,[dbxContentBorder]',
|
|
2244
2077
|
host: {
|
|
2245
|
-
|
|
2078
|
+
class: 'd-block dbx-content-border'
|
|
2246
2079
|
}
|
|
2247
2080
|
}]
|
|
2248
2081
|
}] });
|
|
@@ -2263,7 +2096,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2263
2096
|
args: [{
|
|
2264
2097
|
selector: 'dbx-content-container,[dbxContentContainer],.dbx-content-container',
|
|
2265
2098
|
host: {
|
|
2266
|
-
|
|
2099
|
+
class: 'd-block dbx-content-container',
|
|
2267
2100
|
'[class]': `"container-" + grow + " container-padding-" + padding`
|
|
2268
2101
|
}
|
|
2269
2102
|
}]
|
|
@@ -2289,7 +2122,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2289
2122
|
args: [{
|
|
2290
2123
|
selector: 'dbx-content-box, [dbxContentBox]',
|
|
2291
2124
|
host: {
|
|
2292
|
-
|
|
2125
|
+
class: 'd-block dbx-content-box',
|
|
2293
2126
|
'[class.dbx-content-elevate]': 'elevated',
|
|
2294
2127
|
'[class.dbx-content-box-wide]': 'wide'
|
|
2295
2128
|
}
|
|
@@ -2312,7 +2145,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2312
2145
|
args: [{
|
|
2313
2146
|
selector: 'dbx-content-page,[dbxContentPage]',
|
|
2314
2147
|
host: {
|
|
2315
|
-
|
|
2148
|
+
class: 'd-block dbx-content-page'
|
|
2316
2149
|
}
|
|
2317
2150
|
}]
|
|
2318
2151
|
}] });
|
|
@@ -2323,112 +2156,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2323
2156
|
class DbxContentLayoutModule {
|
|
2324
2157
|
}
|
|
2325
2158
|
DbxContentLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxContentLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2326
|
-
DbxContentLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxContentLayoutModule, declarations: [DbxContentDirective,
|
|
2327
|
-
|
|
2328
|
-
DbxContentBorderDirective,
|
|
2329
|
-
DbxContentElevateDirective,
|
|
2330
|
-
DbxContentBoxDirective,
|
|
2331
|
-
DbxContentPageDirective], imports: [CommonModule], exports: [DbxContentDirective,
|
|
2332
|
-
DbxContentContainerDirective,
|
|
2333
|
-
DbxContentBorderDirective,
|
|
2334
|
-
DbxContentElevateDirective,
|
|
2335
|
-
DbxContentBoxDirective,
|
|
2336
|
-
DbxContentPageDirective] });
|
|
2337
|
-
DbxContentLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxContentLayoutModule, imports: [[
|
|
2338
|
-
CommonModule
|
|
2339
|
-
]] });
|
|
2159
|
+
DbxContentLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxContentLayoutModule, declarations: [DbxContentDirective, DbxContentContainerDirective, DbxContentBorderDirective, DbxContentElevateDirective, DbxContentBoxDirective, DbxContentPageDirective], imports: [CommonModule], exports: [DbxContentDirective, DbxContentContainerDirective, DbxContentBorderDirective, DbxContentElevateDirective, DbxContentBoxDirective, DbxContentPageDirective] });
|
|
2160
|
+
DbxContentLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxContentLayoutModule, imports: [[CommonModule]] });
|
|
2340
2161
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxContentLayoutModule, decorators: [{
|
|
2341
2162
|
type: NgModule,
|
|
2342
2163
|
args: [{
|
|
2343
|
-
imports: [
|
|
2344
|
-
|
|
2345
|
-
]
|
|
2346
|
-
declarations: [
|
|
2347
|
-
DbxContentDirective,
|
|
2348
|
-
DbxContentContainerDirective,
|
|
2349
|
-
DbxContentBorderDirective,
|
|
2350
|
-
DbxContentElevateDirective,
|
|
2351
|
-
DbxContentBoxDirective,
|
|
2352
|
-
DbxContentPageDirective
|
|
2353
|
-
],
|
|
2354
|
-
exports: [
|
|
2355
|
-
DbxContentDirective,
|
|
2356
|
-
DbxContentContainerDirective,
|
|
2357
|
-
DbxContentBorderDirective,
|
|
2358
|
-
DbxContentElevateDirective,
|
|
2359
|
-
DbxContentBoxDirective,
|
|
2360
|
-
DbxContentPageDirective
|
|
2361
|
-
]
|
|
2164
|
+
imports: [CommonModule],
|
|
2165
|
+
declarations: [DbxContentDirective, DbxContentContainerDirective, DbxContentBorderDirective, DbxContentElevateDirective, DbxContentBoxDirective, DbxContentPageDirective],
|
|
2166
|
+
exports: [DbxContentDirective, DbxContentContainerDirective, DbxContentBorderDirective, DbxContentElevateDirective, DbxContentBoxDirective, DbxContentPageDirective]
|
|
2362
2167
|
}]
|
|
2363
2168
|
}] });
|
|
2364
2169
|
|
|
2365
2170
|
class DbxRouterSidenavModule {
|
|
2366
2171
|
}
|
|
2367
2172
|
DbxRouterSidenavModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterSidenavModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2368
|
-
DbxRouterSidenavModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterSidenavModule, declarations: [DbxSidenavComponent,
|
|
2369
|
-
|
|
2370
|
-
DbxSidenavPagebarComponent,
|
|
2371
|
-
DbxSidenavPageComponent], imports: [CommonModule,
|
|
2372
|
-
DbxBarLayoutModule,
|
|
2373
|
-
DbxRouterAnchorModule,
|
|
2374
|
-
DbxRouterAnchorListModule,
|
|
2375
|
-
DbxButtonModule,
|
|
2376
|
-
DbxContentLayoutModule,
|
|
2377
|
-
MatToolbarModule,
|
|
2378
|
-
MatButtonModule,
|
|
2379
|
-
MatIconModule,
|
|
2380
|
-
MatSidenavModule,
|
|
2381
|
-
MatListModule,
|
|
2382
|
-
MatDividerModule,
|
|
2383
|
-
UIRouterModule], exports: [DbxSidenavComponent,
|
|
2384
|
-
DbxSidenavButtonComponent,
|
|
2385
|
-
DbxSidenavPagebarComponent,
|
|
2386
|
-
DbxSidenavPageComponent] });
|
|
2387
|
-
DbxRouterSidenavModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterSidenavModule, imports: [[
|
|
2388
|
-
CommonModule,
|
|
2389
|
-
DbxBarLayoutModule,
|
|
2390
|
-
DbxRouterAnchorModule,
|
|
2391
|
-
DbxRouterAnchorListModule,
|
|
2392
|
-
DbxButtonModule,
|
|
2393
|
-
DbxContentLayoutModule,
|
|
2394
|
-
MatToolbarModule,
|
|
2395
|
-
MatButtonModule,
|
|
2396
|
-
MatIconModule,
|
|
2397
|
-
MatSidenavModule,
|
|
2398
|
-
MatListModule,
|
|
2399
|
-
MatDividerModule,
|
|
2400
|
-
UIRouterModule
|
|
2401
|
-
]] });
|
|
2173
|
+
DbxRouterSidenavModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterSidenavModule, declarations: [DbxSidenavComponent, DbxSidenavButtonComponent, DbxSidenavPagebarComponent, DbxSidenavPageComponent], imports: [CommonModule, DbxBarLayoutModule, DbxRouterAnchorModule, DbxRouterAnchorListModule, DbxButtonModule, DbxContentLayoutModule, MatToolbarModule, MatButtonModule, MatIconModule, MatSidenavModule, MatListModule, MatDividerModule, UIRouterModule], exports: [DbxSidenavComponent, DbxSidenavButtonComponent, DbxSidenavPagebarComponent, DbxSidenavPageComponent] });
|
|
2174
|
+
DbxRouterSidenavModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterSidenavModule, imports: [[CommonModule, DbxBarLayoutModule, DbxRouterAnchorModule, DbxRouterAnchorListModule, DbxButtonModule, DbxContentLayoutModule, MatToolbarModule, MatButtonModule, MatIconModule, MatSidenavModule, MatListModule, MatDividerModule, UIRouterModule]] });
|
|
2402
2175
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterSidenavModule, decorators: [{
|
|
2403
2176
|
type: NgModule,
|
|
2404
2177
|
args: [{
|
|
2405
|
-
imports: [
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
DbxRouterAnchorModule,
|
|
2409
|
-
DbxRouterAnchorListModule,
|
|
2410
|
-
DbxButtonModule,
|
|
2411
|
-
DbxContentLayoutModule,
|
|
2412
|
-
MatToolbarModule,
|
|
2413
|
-
MatButtonModule,
|
|
2414
|
-
MatIconModule,
|
|
2415
|
-
MatSidenavModule,
|
|
2416
|
-
MatListModule,
|
|
2417
|
-
MatDividerModule,
|
|
2418
|
-
UIRouterModule
|
|
2419
|
-
],
|
|
2420
|
-
declarations: [
|
|
2421
|
-
DbxSidenavComponent,
|
|
2422
|
-
DbxSidenavButtonComponent,
|
|
2423
|
-
DbxSidenavPagebarComponent,
|
|
2424
|
-
DbxSidenavPageComponent
|
|
2425
|
-
],
|
|
2426
|
-
exports: [
|
|
2427
|
-
DbxSidenavComponent,
|
|
2428
|
-
DbxSidenavButtonComponent,
|
|
2429
|
-
DbxSidenavPagebarComponent,
|
|
2430
|
-
DbxSidenavPageComponent
|
|
2431
|
-
]
|
|
2178
|
+
imports: [CommonModule, DbxBarLayoutModule, DbxRouterAnchorModule, DbxRouterAnchorListModule, DbxButtonModule, DbxContentLayoutModule, MatToolbarModule, MatButtonModule, MatIconModule, MatSidenavModule, MatListModule, MatDividerModule, UIRouterModule],
|
|
2179
|
+
declarations: [DbxSidenavComponent, DbxSidenavButtonComponent, DbxSidenavPagebarComponent, DbxSidenavPageComponent],
|
|
2180
|
+
exports: [DbxSidenavComponent, DbxSidenavButtonComponent, DbxSidenavPagebarComponent, DbxSidenavPageComponent]
|
|
2432
2181
|
}]
|
|
2433
2182
|
}] });
|
|
2434
2183
|
|
|
@@ -2439,26 +2188,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2439
2188
|
class DbxRouterLayoutModule {
|
|
2440
2189
|
}
|
|
2441
2190
|
DbxRouterLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2442
|
-
DbxRouterLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterLayoutModule, exports: [DbxRouterAnchorModule,
|
|
2443
|
-
|
|
2444
|
-
DbxRouterListModule,
|
|
2445
|
-
DbxRouterNavbarModule,
|
|
2446
|
-
DbxRouterSidenavModule] });
|
|
2447
|
-
DbxRouterLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterLayoutModule, imports: [DbxRouterAnchorModule,
|
|
2448
|
-
DbxRouterAnchorListModule,
|
|
2449
|
-
DbxRouterListModule,
|
|
2450
|
-
DbxRouterNavbarModule,
|
|
2451
|
-
DbxRouterSidenavModule] });
|
|
2191
|
+
DbxRouterLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterLayoutModule, exports: [DbxRouterAnchorModule, DbxRouterAnchorListModule, DbxRouterListModule, DbxRouterNavbarModule, DbxRouterSidenavModule] });
|
|
2192
|
+
DbxRouterLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterLayoutModule, imports: [DbxRouterAnchorModule, DbxRouterAnchorListModule, DbxRouterListModule, DbxRouterNavbarModule, DbxRouterSidenavModule] });
|
|
2452
2193
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterLayoutModule, decorators: [{
|
|
2453
2194
|
type: NgModule,
|
|
2454
2195
|
args: [{
|
|
2455
|
-
exports: [
|
|
2456
|
-
DbxRouterAnchorModule,
|
|
2457
|
-
DbxRouterAnchorListModule,
|
|
2458
|
-
DbxRouterListModule,
|
|
2459
|
-
DbxRouterNavbarModule,
|
|
2460
|
-
DbxRouterSidenavModule
|
|
2461
|
-
]
|
|
2196
|
+
exports: [DbxRouterAnchorModule, DbxRouterAnchorListModule, DbxRouterListModule, DbxRouterNavbarModule, DbxRouterSidenavModule]
|
|
2462
2197
|
}]
|
|
2463
2198
|
}] });
|
|
2464
2199
|
|
|
@@ -2492,22 +2227,12 @@ class DbxWebAngularRouterModule {
|
|
|
2492
2227
|
}
|
|
2493
2228
|
}
|
|
2494
2229
|
DbxWebAngularRouterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebAngularRouterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2495
|
-
DbxWebAngularRouterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebAngularRouterModule, declarations: [DbxAngularRouterSegueAnchorComponent], imports: [CommonModule,
|
|
2496
|
-
|
|
2497
|
-
DbxInjectionComponentModule], exports: [DbxAngularRouterSegueAnchorComponent] });
|
|
2498
|
-
DbxWebAngularRouterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebAngularRouterModule, imports: [[
|
|
2499
|
-
CommonModule,
|
|
2500
|
-
UIRouterModule,
|
|
2501
|
-
DbxInjectionComponentModule
|
|
2502
|
-
]] });
|
|
2230
|
+
DbxWebAngularRouterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebAngularRouterModule, declarations: [DbxAngularRouterSegueAnchorComponent], imports: [CommonModule, UIRouterModule, DbxInjectionComponentModule], exports: [DbxAngularRouterSegueAnchorComponent] });
|
|
2231
|
+
DbxWebAngularRouterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebAngularRouterModule, imports: [[CommonModule, UIRouterModule, DbxInjectionComponentModule]] });
|
|
2503
2232
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebAngularRouterModule, decorators: [{
|
|
2504
2233
|
type: NgModule,
|
|
2505
2234
|
args: [{
|
|
2506
|
-
imports: [
|
|
2507
|
-
CommonModule,
|
|
2508
|
-
UIRouterModule,
|
|
2509
|
-
DbxInjectionComponentModule
|
|
2510
|
-
],
|
|
2235
|
+
imports: [CommonModule, UIRouterModule, DbxInjectionComponentModule],
|
|
2511
2236
|
declarations: [DbxAngularRouterSegueAnchorComponent],
|
|
2512
2237
|
exports: [DbxAngularRouterSegueAnchorComponent]
|
|
2513
2238
|
}]
|
|
@@ -2519,15 +2244,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2519
2244
|
class DbxUIRouterSegueAnchorComponent extends AbstractDbxSegueAnchorDirective {
|
|
2520
2245
|
constructor() {
|
|
2521
2246
|
super(...arguments);
|
|
2522
|
-
this.uiRef$ = this.ref$.pipe(filter(x => typeof x === 'string'));
|
|
2247
|
+
this.uiRef$ = this.ref$.pipe(filter((x) => typeof x === 'string'));
|
|
2523
2248
|
this.uiOptions$ = this.refOptions$;
|
|
2524
2249
|
}
|
|
2525
2250
|
}
|
|
2526
2251
|
DbxUIRouterSegueAnchorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxUIRouterSegueAnchorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2527
|
-
DbxUIRouterSegueAnchorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxUIRouterSegueAnchorComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<a class=\"dbx-anchor-a dbx-anchor-sref\" [attr.target]=\"target$ | async\" [uiSref]=\"(uiRef$ | async) ?? ''\"
|
|
2252
|
+
DbxUIRouterSegueAnchorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxUIRouterSegueAnchorComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<a class=\"dbx-anchor-a dbx-anchor-sref\" [attr.target]=\"target$ | async\" [uiSref]=\"(uiRef$ | async) ?? ''\" [uiParams]=\"refParams$ | async\" [uiOptions]=\"(uiOptions$ | async) ?? {}\" uiSrefActive=\"dbx-anchor-active\" uiSrefActiveEq=\"dbx-anchor-active-eq\">\n <dbx-injection [template]=\"template$ | async\"></dbx-injection>\n</a>\n", components: [{ type: i1$2.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }], directives: [{ type: i2$1.AnchorUISref, selector: "a[uiSref]" }, { type: i2$1.UISrefActive, selector: "[uiSrefActive],[uiSrefActiveEq]", inputs: ["uiSrefActive", "uiSrefActiveEq"] }, { type: i2$1.UISrefStatus, selector: "[uiSrefStatus],[uiSrefActive],[uiSrefActiveEq]", outputs: ["uiSrefStatus"], exportAs: ["uiSrefStatus"] }, { type: i2$1.UISref, selector: "[uiSref]", inputs: ["uiSref", "uiParams", "uiOptions"], exportAs: ["uiSref"] }], pipes: { "async": i3$1.AsyncPipe } });
|
|
2528
2253
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxUIRouterSegueAnchorComponent, decorators: [{
|
|
2529
2254
|
type: Component,
|
|
2530
|
-
args: [{ template: "<a class=\"dbx-anchor-a dbx-anchor-sref\" [attr.target]=\"target$ | async\" [uiSref]=\"(uiRef$ | async) ?? ''\"
|
|
2255
|
+
args: [{ template: "<a class=\"dbx-anchor-a dbx-anchor-sref\" [attr.target]=\"target$ | async\" [uiSref]=\"(uiRef$ | async) ?? ''\" [uiParams]=\"refParams$ | async\" [uiOptions]=\"(uiOptions$ | async) ?? {}\" uiSrefActive=\"dbx-anchor-active\" uiSrefActiveEq=\"dbx-anchor-active-eq\">\n <dbx-injection [template]=\"template$ | async\"></dbx-injection>\n</a>\n" }]
|
|
2531
2256
|
}] });
|
|
2532
2257
|
|
|
2533
2258
|
class DbxWebUIRouterModule {
|
|
@@ -2548,22 +2273,12 @@ class DbxWebUIRouterModule {
|
|
|
2548
2273
|
}
|
|
2549
2274
|
}
|
|
2550
2275
|
DbxWebUIRouterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebUIRouterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2551
|
-
DbxWebUIRouterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebUIRouterModule, declarations: [DbxUIRouterSegueAnchorComponent], imports: [CommonModule,
|
|
2552
|
-
|
|
2553
|
-
DbxInjectionComponentModule], exports: [DbxUIRouterSegueAnchorComponent] });
|
|
2554
|
-
DbxWebUIRouterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebUIRouterModule, imports: [[
|
|
2555
|
-
CommonModule,
|
|
2556
|
-
UIRouterModule,
|
|
2557
|
-
DbxInjectionComponentModule
|
|
2558
|
-
]] });
|
|
2276
|
+
DbxWebUIRouterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebUIRouterModule, declarations: [DbxUIRouterSegueAnchorComponent], imports: [CommonModule, UIRouterModule, DbxInjectionComponentModule], exports: [DbxUIRouterSegueAnchorComponent] });
|
|
2277
|
+
DbxWebUIRouterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebUIRouterModule, imports: [[CommonModule, UIRouterModule, DbxInjectionComponentModule]] });
|
|
2559
2278
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebUIRouterModule, decorators: [{
|
|
2560
2279
|
type: NgModule,
|
|
2561
2280
|
args: [{
|
|
2562
|
-
imports: [
|
|
2563
|
-
CommonModule,
|
|
2564
|
-
UIRouterModule,
|
|
2565
|
-
DbxInjectionComponentModule
|
|
2566
|
-
],
|
|
2281
|
+
imports: [CommonModule, UIRouterModule, DbxInjectionComponentModule],
|
|
2567
2282
|
declarations: [DbxUIRouterSegueAnchorComponent],
|
|
2568
2283
|
exports: [DbxUIRouterSegueAnchorComponent]
|
|
2569
2284
|
}]
|
|
@@ -2598,31 +2313,31 @@ class DbxTwoBlocksComponent {
|
|
|
2598
2313
|
}
|
|
2599
2314
|
DbxTwoBlocksComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoBlocksComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2600
2315
|
DbxTwoBlocksComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxTwoBlocksComponent, selector: "dbx-two-block", inputs: { fixedTop: "fixedTop" }, host: { properties: { "class": "{ \"dbx-two-block-fixed-top\": fixedTop }" }, classAttribute: "dbx-two-block d-block" }, viewQueries: [{ propertyName: "twoElement", first: true, predicate: ["two"], descendants: true, read: ElementRef, static: true }], ngImport: i0, template: `
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2316
|
+
<div #two class="dbx-two-block-content">
|
|
2317
|
+
<div #top class="dbx-two-block-top" (resized)="onResized($event)">
|
|
2318
|
+
<ng-content select="[top]"></ng-content>
|
|
2319
|
+
</div>
|
|
2320
|
+
<div #bottom class="dbx-two-block-bottom">
|
|
2321
|
+
<ng-content></ng-content>
|
|
2322
|
+
</div>
|
|
2607
2323
|
</div>
|
|
2608
|
-
</div>
|
|
2609
2324
|
`, isInline: true, directives: [{ type: i1$7.ResizedDirective, selector: "[resized]", outputs: ["resized"] }] });
|
|
2610
2325
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoBlocksComponent, decorators: [{
|
|
2611
2326
|
type: Component,
|
|
2612
2327
|
args: [{
|
|
2613
2328
|
selector: 'dbx-two-block',
|
|
2614
2329
|
template: `
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2330
|
+
<div #two class="dbx-two-block-content">
|
|
2331
|
+
<div #top class="dbx-two-block-top" (resized)="onResized($event)">
|
|
2332
|
+
<ng-content select="[top]"></ng-content>
|
|
2333
|
+
</div>
|
|
2334
|
+
<div #bottom class="dbx-two-block-bottom">
|
|
2335
|
+
<ng-content></ng-content>
|
|
2336
|
+
</div>
|
|
2621
2337
|
</div>
|
|
2622
|
-
</div>
|
|
2623
2338
|
`,
|
|
2624
2339
|
host: {
|
|
2625
|
-
|
|
2340
|
+
class: 'dbx-two-block d-block',
|
|
2626
2341
|
'[class]': '{ "dbx-two-block-fixed-top": fixedTop }'
|
|
2627
2342
|
}
|
|
2628
2343
|
}]
|
|
@@ -2639,28 +2354,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2639
2354
|
class DbxBlockLayoutModule {
|
|
2640
2355
|
}
|
|
2641
2356
|
DbxBlockLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBlockLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2642
|
-
DbxBlockLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBlockLayoutModule, declarations: [DbxTwoBlocksComponent], imports: [CommonModule,
|
|
2643
|
-
|
|
2644
|
-
AngularResizeEventModule], exports: [DbxTwoBlocksComponent] });
|
|
2645
|
-
DbxBlockLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBlockLayoutModule, imports: [[
|
|
2646
|
-
CommonModule,
|
|
2647
|
-
DbxRouterAnchorModule,
|
|
2648
|
-
AngularResizeEventModule
|
|
2649
|
-
]] });
|
|
2357
|
+
DbxBlockLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBlockLayoutModule, declarations: [DbxTwoBlocksComponent], imports: [CommonModule, DbxRouterAnchorModule, AngularResizeEventModule], exports: [DbxTwoBlocksComponent] });
|
|
2358
|
+
DbxBlockLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBlockLayoutModule, imports: [[CommonModule, DbxRouterAnchorModule, AngularResizeEventModule]] });
|
|
2650
2359
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBlockLayoutModule, decorators: [{
|
|
2651
2360
|
type: NgModule,
|
|
2652
2361
|
args: [{
|
|
2653
|
-
imports: [
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
AngularResizeEventModule
|
|
2657
|
-
],
|
|
2658
|
-
declarations: [
|
|
2659
|
-
DbxTwoBlocksComponent
|
|
2660
|
-
],
|
|
2661
|
-
exports: [
|
|
2662
|
-
DbxTwoBlocksComponent
|
|
2663
|
-
]
|
|
2362
|
+
imports: [CommonModule, DbxRouterAnchorModule, AngularResizeEventModule],
|
|
2363
|
+
declarations: [DbxTwoBlocksComponent],
|
|
2364
|
+
exports: [DbxTwoBlocksComponent]
|
|
2664
2365
|
}]
|
|
2665
2366
|
}] });
|
|
2666
2367
|
|
|
@@ -2671,36 +2372,42 @@ class DbxCardBoxComponent {
|
|
|
2671
2372
|
}
|
|
2672
2373
|
DbxCardBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCardBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2673
2374
|
DbxCardBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxCardBoxComponent, selector: "dbx-card-box", inputs: { header: "header", icon: "icon" }, ngImport: i0, template: `
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2375
|
+
<div class="dbx-card-box">
|
|
2376
|
+
<div class="dbx-section-header">
|
|
2377
|
+
<div class="dbx-section-header-content">
|
|
2378
|
+
<h4 class="dbx-section-header-content-title">
|
|
2379
|
+
<mat-icon *ngIf="icon">{{ icon }}</mat-icon>
|
|
2380
|
+
<span *ngIf="header" class="title-text">{{ header }}</span>
|
|
2381
|
+
</h4>
|
|
2382
|
+
<span class="spacer"></span>
|
|
2383
|
+
<ng-content select="[sectionHeader]"></ng-content>
|
|
2384
|
+
</div>
|
|
2385
|
+
</div>
|
|
2386
|
+
<div class="dbx-card-box-content">
|
|
2387
|
+
<ng-content></ng-content>
|
|
2680
2388
|
</div>
|
|
2681
2389
|
</div>
|
|
2682
|
-
<div class="dbx-card-box-content">
|
|
2683
|
-
<ng-content></ng-content>
|
|
2684
|
-
</div>
|
|
2685
|
-
</div>
|
|
2686
2390
|
`, isInline: true, components: [{ type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
2687
2391
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCardBoxComponent, decorators: [{
|
|
2688
2392
|
type: Component,
|
|
2689
2393
|
args: [{
|
|
2690
2394
|
selector: 'dbx-card-box',
|
|
2691
2395
|
template: `
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2396
|
+
<div class="dbx-card-box">
|
|
2397
|
+
<div class="dbx-section-header">
|
|
2398
|
+
<div class="dbx-section-header-content">
|
|
2399
|
+
<h4 class="dbx-section-header-content-title">
|
|
2400
|
+
<mat-icon *ngIf="icon">{{ icon }}</mat-icon>
|
|
2401
|
+
<span *ngIf="header" class="title-text">{{ header }}</span>
|
|
2402
|
+
</h4>
|
|
2403
|
+
<span class="spacer"></span>
|
|
2404
|
+
<ng-content select="[sectionHeader]"></ng-content>
|
|
2405
|
+
</div>
|
|
2406
|
+
</div>
|
|
2407
|
+
<div class="dbx-card-box-content">
|
|
2408
|
+
<ng-content></ng-content>
|
|
2698
2409
|
</div>
|
|
2699
2410
|
</div>
|
|
2700
|
-
<div class="dbx-card-box-content">
|
|
2701
|
-
<ng-content></ng-content>
|
|
2702
|
-
</div>
|
|
2703
|
-
</div>
|
|
2704
2411
|
`
|
|
2705
2412
|
}]
|
|
2706
2413
|
}], propDecorators: { header: [{
|
|
@@ -2716,18 +2423,18 @@ class DbxCardBoxContainerComponent {
|
|
|
2716
2423
|
}
|
|
2717
2424
|
DbxCardBoxContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCardBoxContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2718
2425
|
DbxCardBoxContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxCardBoxContainerComponent, selector: "dbx-card-box-container", ngImport: i0, template: `
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2426
|
+
<div class="dbx-card-box-container">
|
|
2427
|
+
<ng-content></ng-content>
|
|
2428
|
+
</div>
|
|
2722
2429
|
`, isInline: true });
|
|
2723
2430
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCardBoxContainerComponent, decorators: [{
|
|
2724
2431
|
type: Component,
|
|
2725
2432
|
args: [{
|
|
2726
2433
|
selector: 'dbx-card-box-container',
|
|
2727
2434
|
template: `
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2435
|
+
<div class="dbx-card-box-container">
|
|
2436
|
+
<ng-content></ng-content>
|
|
2437
|
+
</div>
|
|
2731
2438
|
`
|
|
2732
2439
|
}]
|
|
2733
2440
|
}] });
|
|
@@ -2735,29 +2442,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2735
2442
|
class DbxCardBoxLayoutModule {
|
|
2736
2443
|
}
|
|
2737
2444
|
DbxCardBoxLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCardBoxLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2738
|
-
DbxCardBoxLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCardBoxLayoutModule, declarations: [DbxCardBoxComponent,
|
|
2739
|
-
|
|
2740
|
-
MatIconModule], exports: [DbxCardBoxComponent,
|
|
2741
|
-
DbxCardBoxContainerComponent] });
|
|
2742
|
-
DbxCardBoxLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCardBoxLayoutModule, imports: [[
|
|
2743
|
-
CommonModule,
|
|
2744
|
-
MatIconModule
|
|
2745
|
-
]] });
|
|
2445
|
+
DbxCardBoxLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCardBoxLayoutModule, declarations: [DbxCardBoxComponent, DbxCardBoxContainerComponent], imports: [CommonModule, MatIconModule], exports: [DbxCardBoxComponent, DbxCardBoxContainerComponent] });
|
|
2446
|
+
DbxCardBoxLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCardBoxLayoutModule, imports: [[CommonModule, MatIconModule]] });
|
|
2746
2447
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCardBoxLayoutModule, decorators: [{
|
|
2747
2448
|
type: NgModule,
|
|
2748
2449
|
args: [{
|
|
2749
|
-
imports: [
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
],
|
|
2753
|
-
declarations: [
|
|
2754
|
-
DbxCardBoxComponent,
|
|
2755
|
-
DbxCardBoxContainerComponent
|
|
2756
|
-
],
|
|
2757
|
-
exports: [
|
|
2758
|
-
DbxCardBoxComponent,
|
|
2759
|
-
DbxCardBoxContainerComponent
|
|
2760
|
-
]
|
|
2450
|
+
imports: [CommonModule, MatIconModule],
|
|
2451
|
+
declarations: [DbxCardBoxComponent, DbxCardBoxContainerComponent],
|
|
2452
|
+
exports: [DbxCardBoxComponent, DbxCardBoxContainerComponent]
|
|
2761
2453
|
}]
|
|
2762
2454
|
}] });
|
|
2763
2455
|
|
|
@@ -2802,11 +2494,11 @@ class TwoColumnsContextStore extends ComponentStore {
|
|
|
2802
2494
|
/**
|
|
2803
2495
|
* Changes the state to show right or not.
|
|
2804
2496
|
*/
|
|
2805
|
-
this.setShowRight = this.updater((state, showRight) => isMaybeNot(showRight) ? state :
|
|
2497
|
+
this.setShowRight = this.updater((state, showRight) => (isMaybeNot(showRight) ? state : Object.assign(Object.assign({}, state), { showRight })));
|
|
2806
2498
|
/**
|
|
2807
2499
|
* Sets the full left. If undefined is passed, no change occurs.
|
|
2808
2500
|
*/
|
|
2809
|
-
this.setFullLeft = this.updater((state, fullLeft) => isMaybeNot(fullLeft) ? state :
|
|
2501
|
+
this.setFullLeft = this.updater((state, fullLeft) => (isMaybeNot(fullLeft) ? state : Object.assign(Object.assign({}, state), { fullLeft })));
|
|
2810
2502
|
/**
|
|
2811
2503
|
* Sets the new back ref.
|
|
2812
2504
|
*/
|
|
@@ -2830,10 +2522,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2830
2522
|
type: Injectable
|
|
2831
2523
|
}], ctorParameters: function () { return []; } });
|
|
2832
2524
|
function provideTwoColumnsContext() {
|
|
2833
|
-
return [
|
|
2525
|
+
return [
|
|
2526
|
+
{
|
|
2834
2527
|
provide: TwoColumnsContextStore,
|
|
2835
2528
|
useClass: TwoColumnsContextStore
|
|
2836
|
-
}
|
|
2529
|
+
}
|
|
2530
|
+
];
|
|
2837
2531
|
}
|
|
2838
2532
|
|
|
2839
2533
|
/**
|
|
@@ -2884,8 +2578,7 @@ class DbxTwoColumnComponent extends AbstractSubscriptionDirective {
|
|
|
2884
2578
|
this.hideRight$ = this.twoColumnsContextStore.hideRight$;
|
|
2885
2579
|
}
|
|
2886
2580
|
ngOnInit() {
|
|
2887
|
-
this.sub = combineLatest([this.showRight$, this.showFullLeft$, this._reverseSizing, this._inSectionPage])
|
|
2888
|
-
.subscribe(([showRight, showFullLeft, reverseSizing, inSectionPage]) => {
|
|
2581
|
+
this.sub = combineLatest([this.showRight$, this.showFullLeft$, this._reverseSizing, this._inSectionPage]).subscribe(([showRight, showFullLeft, reverseSizing, inSectionPage]) => {
|
|
2889
2582
|
this._view = {
|
|
2890
2583
|
showRight,
|
|
2891
2584
|
showFullLeft,
|
|
@@ -2911,13 +2604,13 @@ class DbxTwoColumnComponent extends AbstractSubscriptionDirective {
|
|
|
2911
2604
|
}
|
|
2912
2605
|
}
|
|
2913
2606
|
DbxTwoColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoColumnComponent, deps: [{ token: TwoColumnsContextStore }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2914
|
-
DbxTwoColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxTwoColumnComponent, selector: "dbx-two-column", inputs: { reverseSizing: "reverseSizing", inSectionPage: "inSectionPage" }, host: { properties: { "class": "{ 'right-shown': v.showRight, 'full-left': v.fullLeft, 'two-column-reverse-sizing': v.reverseSizing, 'dbx-section-page-two': v.inSectionPage }" }, classAttribute: "dbx-two-column" }, exportAs: ["columns"], usesInheritance: true, ngImport: i0, template: "<dbx-content-container grow=\"full\" padding=\"none\" class=\"dbx-content dbx-content-auto-height left-column\">\n <ng-content select=\"[left]\"></ng-content>\n</dbx-content-container>\n<dbx-content-container grow=\"full\" padding=\"none\" class=\"dbx-content dbx-content-auto-height right-column\"
|
|
2607
|
+
DbxTwoColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxTwoColumnComponent, selector: "dbx-two-column", inputs: { reverseSizing: "reverseSizing", inSectionPage: "inSectionPage" }, host: { properties: { "class": "{ 'right-shown': v.showRight, 'full-left': v.fullLeft, 'two-column-reverse-sizing': v.reverseSizing, 'dbx-section-page-two': v.inSectionPage }" }, classAttribute: "dbx-two-column" }, exportAs: ["columns"], usesInheritance: true, ngImport: i0, template: "<dbx-content-container grow=\"full\" padding=\"none\" class=\"dbx-content dbx-content-auto-height left-column\">\n <ng-content select=\"[left]\"></ng-content>\n</dbx-content-container>\n<dbx-content-container grow=\"full\" padding=\"none\" class=\"dbx-content dbx-content-auto-height right-column\" *ngIf=\"v.showRight\">\n <ng-content select=\"[right]\"></ng-content>\n</dbx-content-container>\n", directives: [{ type: DbxContentContainerDirective, selector: "dbx-content-container,[dbxContentContainer],.dbx-content-container", inputs: ["grow", "padding"] }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2915
2608
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoColumnComponent, decorators: [{
|
|
2916
2609
|
type: Component,
|
|
2917
2610
|
args: [{ selector: 'dbx-two-column', exportAs: 'columns', host: {
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
}, changeDetection: ChangeDetectionStrategy.OnPush, template: "<dbx-content-container grow=\"full\" padding=\"none\" class=\"dbx-content dbx-content-auto-height left-column\">\n <ng-content select=\"[left]\"></ng-content>\n</dbx-content-container>\n<dbx-content-container grow=\"full\" padding=\"none\" class=\"dbx-content dbx-content-auto-height right-column\"
|
|
2611
|
+
class: 'dbx-two-column',
|
|
2612
|
+
'[class]': "{ 'right-shown': v.showRight, 'full-left': v.fullLeft, 'two-column-reverse-sizing': v.reverseSizing, 'dbx-section-page-two': v.inSectionPage }"
|
|
2613
|
+
}, changeDetection: ChangeDetectionStrategy.OnPush, template: "<dbx-content-container grow=\"full\" padding=\"none\" class=\"dbx-content dbx-content-auto-height left-column\">\n <ng-content select=\"[left]\"></ng-content>\n</dbx-content-container>\n<dbx-content-container grow=\"full\" padding=\"none\" class=\"dbx-content dbx-content-auto-height right-column\" *ngIf=\"v.showRight\">\n <ng-content select=\"[right]\"></ng-content>\n</dbx-content-container>\n" }]
|
|
2921
2614
|
}], ctorParameters: function () {
|
|
2922
2615
|
return [{ type: TwoColumnsContextStore, decorators: [{
|
|
2923
2616
|
type: Inject,
|
|
@@ -2971,7 +2664,7 @@ class DbxTwoColumnFullLeftDirective {
|
|
|
2971
2664
|
return this._fullLeft.value;
|
|
2972
2665
|
}
|
|
2973
2666
|
set fullLeft(fullLeft) {
|
|
2974
|
-
if (fullLeft != null &&
|
|
2667
|
+
if (fullLeft != null && fullLeft !== '') {
|
|
2975
2668
|
this._fullLeft.next(fullLeft);
|
|
2976
2669
|
}
|
|
2977
2670
|
}
|
|
@@ -3001,7 +2694,7 @@ class DbxTwoColumnColumnHeadComponent {
|
|
|
3001
2694
|
}
|
|
3002
2695
|
DbxTwoColumnColumnHeadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoColumnColumnHeadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3003
2696
|
DbxTwoColumnColumnHeadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxTwoColumnColumnHeadComponent, selector: "dbx-two-column-head", inputs: { block: "block", full: "full" }, ngImport: i0, template: `
|
|
3004
|
-
<div class="dbx-two-column-head" [ngClass]="{
|
|
2697
|
+
<div class="dbx-two-column-head" [ngClass]="{ block: block, full: full }">
|
|
3005
2698
|
<ng-content></ng-content>
|
|
3006
2699
|
</div>
|
|
3007
2700
|
`, isInline: true, directives: [{ type: i3$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
@@ -3010,7 +2703,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3010
2703
|
args: [{
|
|
3011
2704
|
selector: 'dbx-two-column-head',
|
|
3012
2705
|
template: `
|
|
3013
|
-
<div class="dbx-two-column-head" [ngClass]="{
|
|
2706
|
+
<div class="dbx-two-column-head" [ngClass]="{ block: block, full: full }">
|
|
3014
2707
|
<ng-content></ng-content>
|
|
3015
2708
|
</div>
|
|
3016
2709
|
`
|
|
@@ -3056,7 +2749,8 @@ class DbxTwoColumnRightComponent {
|
|
|
3056
2749
|
this._showBack = new BehaviorSubject(true);
|
|
3057
2750
|
this.ref$ = this.twoColumnsContextStore.backRef$;
|
|
3058
2751
|
this.showBack$ = combineLatest([
|
|
3059
|
-
this._showBack,
|
|
2752
|
+
this._showBack,
|
|
2753
|
+
this.ref$.pipe(map((x) => !x)) // TODO: Is this correct? Show back if ref is not defined?
|
|
3060
2754
|
]).pipe(map(([a, b]) => a && b));
|
|
3061
2755
|
}
|
|
3062
2756
|
ngAfterViewInit() {
|
|
@@ -3083,7 +2777,7 @@ DbxTwoColumnRightComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
3083
2777
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoColumnRightComponent, decorators: [{
|
|
3084
2778
|
type: Component,
|
|
3085
2779
|
args: [{ selector: 'dbx-two-column-right', host: {
|
|
3086
|
-
|
|
2780
|
+
class: 'dbx-two-column-right d-block'
|
|
3087
2781
|
}, template: "<dbx-two-column-head>\n <!-- Back Buttons -->\n <ng-container *ngIf=\"showBack$ | async\">\n <button mat-icon-button class=\"back-button\" (click)=\"backClicked()\" aria-label=\"back button\">\n <mat-icon>navigate_before</mat-icon>\n </button>\n </ng-container>\n <ng-container *ngIf=\"ref$ | async\">\n <dbx-anchor [anchor]=\"ref$ | async\">\n <button mat-icon-button class=\"back-button\" aria-label=\"back button\">\n <mat-icon>navigate_before</mat-icon>\n </button>\n </dbx-anchor>\n </ng-container>\n <span *ngIf=\"header\" class=\"right-nav-title\">{{ header }}</span>\n <span class=\"right-nav-spacer\"></span>\n <span class=\"spacer\"></span>\n <ng-content select=\"[nav]\"></ng-content>\n</dbx-two-column-head>\n<div class=\"dbx-two-column-right-content\">\n <ng-content></ng-content>\n</div>\n" }]
|
|
3088
2782
|
}], ctorParameters: function () {
|
|
3089
2783
|
return [{ type: TwoColumnsContextStore, decorators: [{
|
|
@@ -3099,58 +2793,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3099
2793
|
class DbxTwoColumnLayoutModule {
|
|
3100
2794
|
}
|
|
3101
2795
|
DbxTwoColumnLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoColumnLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3102
|
-
DbxTwoColumnLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoColumnLayoutModule, declarations: [DbxTwoColumnComponent,
|
|
3103
|
-
|
|
3104
|
-
DbxTwoColumnColumnHeadComponent,
|
|
3105
|
-
DbxTwoColumnSrefDirective,
|
|
3106
|
-
DbxTwoColumnBackDirective,
|
|
3107
|
-
DbxTwoColumnFullLeftDirective,
|
|
3108
|
-
DbxTwoColumnContextDirective], imports: [CommonModule,
|
|
3109
|
-
MatIconModule,
|
|
3110
|
-
MatButtonModule,
|
|
3111
|
-
DbxRouterAnchorModule,
|
|
3112
|
-
DbxContentLayoutModule], exports: [DbxTwoColumnComponent,
|
|
3113
|
-
DbxTwoColumnRightComponent,
|
|
3114
|
-
DbxTwoColumnColumnHeadComponent,
|
|
3115
|
-
DbxTwoColumnSrefDirective,
|
|
3116
|
-
DbxTwoColumnBackDirective,
|
|
3117
|
-
DbxTwoColumnFullLeftDirective,
|
|
3118
|
-
DbxTwoColumnContextDirective] });
|
|
3119
|
-
DbxTwoColumnLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoColumnLayoutModule, imports: [[
|
|
3120
|
-
CommonModule,
|
|
3121
|
-
MatIconModule,
|
|
3122
|
-
MatButtonModule,
|
|
3123
|
-
DbxRouterAnchorModule,
|
|
3124
|
-
DbxContentLayoutModule
|
|
3125
|
-
]] });
|
|
2796
|
+
DbxTwoColumnLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoColumnLayoutModule, declarations: [DbxTwoColumnComponent, DbxTwoColumnRightComponent, DbxTwoColumnColumnHeadComponent, DbxTwoColumnSrefDirective, DbxTwoColumnBackDirective, DbxTwoColumnFullLeftDirective, DbxTwoColumnContextDirective], imports: [CommonModule, MatIconModule, MatButtonModule, DbxRouterAnchorModule, DbxContentLayoutModule], exports: [DbxTwoColumnComponent, DbxTwoColumnRightComponent, DbxTwoColumnColumnHeadComponent, DbxTwoColumnSrefDirective, DbxTwoColumnBackDirective, DbxTwoColumnFullLeftDirective, DbxTwoColumnContextDirective] });
|
|
2797
|
+
DbxTwoColumnLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoColumnLayoutModule, imports: [[CommonModule, MatIconModule, MatButtonModule, DbxRouterAnchorModule, DbxContentLayoutModule]] });
|
|
3126
2798
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoColumnLayoutModule, decorators: [{
|
|
3127
2799
|
type: NgModule,
|
|
3128
2800
|
args: [{
|
|
3129
|
-
imports: [
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
MatButtonModule,
|
|
3133
|
-
DbxRouterAnchorModule,
|
|
3134
|
-
DbxContentLayoutModule
|
|
3135
|
-
],
|
|
3136
|
-
declarations: [
|
|
3137
|
-
DbxTwoColumnComponent,
|
|
3138
|
-
DbxTwoColumnRightComponent,
|
|
3139
|
-
DbxTwoColumnColumnHeadComponent,
|
|
3140
|
-
DbxTwoColumnSrefDirective,
|
|
3141
|
-
DbxTwoColumnBackDirective,
|
|
3142
|
-
DbxTwoColumnFullLeftDirective,
|
|
3143
|
-
DbxTwoColumnContextDirective
|
|
3144
|
-
],
|
|
3145
|
-
exports: [
|
|
3146
|
-
DbxTwoColumnComponent,
|
|
3147
|
-
DbxTwoColumnRightComponent,
|
|
3148
|
-
DbxTwoColumnColumnHeadComponent,
|
|
3149
|
-
DbxTwoColumnSrefDirective,
|
|
3150
|
-
DbxTwoColumnBackDirective,
|
|
3151
|
-
DbxTwoColumnFullLeftDirective,
|
|
3152
|
-
DbxTwoColumnContextDirective
|
|
3153
|
-
],
|
|
2801
|
+
imports: [CommonModule, MatIconModule, MatButtonModule, DbxRouterAnchorModule, DbxContentLayoutModule],
|
|
2802
|
+
declarations: [DbxTwoColumnComponent, DbxTwoColumnRightComponent, DbxTwoColumnColumnHeadComponent, DbxTwoColumnSrefDirective, DbxTwoColumnBackDirective, DbxTwoColumnFullLeftDirective, DbxTwoColumnContextDirective],
|
|
2803
|
+
exports: [DbxTwoColumnComponent, DbxTwoColumnRightComponent, DbxTwoColumnColumnHeadComponent, DbxTwoColumnSrefDirective, DbxTwoColumnBackDirective, DbxTwoColumnFullLeftDirective, DbxTwoColumnContextDirective]
|
|
3154
2804
|
}]
|
|
3155
2805
|
}] });
|
|
3156
2806
|
|
|
@@ -3200,42 +2850,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3200
2850
|
class DbxOneColumnLayoutModule {
|
|
3201
2851
|
}
|
|
3202
2852
|
DbxOneColumnLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxOneColumnLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3203
|
-
DbxOneColumnLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxOneColumnLayoutModule, declarations: [DbxOneColumnComponent], imports: [CommonModule,
|
|
3204
|
-
|
|
3205
|
-
DbxOneColumnLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxOneColumnLayoutModule, imports: [[
|
|
3206
|
-
CommonModule,
|
|
3207
|
-
DbxTwoColumnLayoutModule
|
|
3208
|
-
]] });
|
|
2853
|
+
DbxOneColumnLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxOneColumnLayoutModule, declarations: [DbxOneColumnComponent], imports: [CommonModule, DbxTwoColumnLayoutModule], exports: [DbxOneColumnComponent] });
|
|
2854
|
+
DbxOneColumnLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxOneColumnLayoutModule, imports: [[CommonModule, DbxTwoColumnLayoutModule]] });
|
|
3209
2855
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxOneColumnLayoutModule, decorators: [{
|
|
3210
2856
|
type: NgModule,
|
|
3211
2857
|
args: [{
|
|
3212
|
-
imports: [
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
],
|
|
3216
|
-
declarations: [
|
|
3217
|
-
DbxOneColumnComponent
|
|
3218
|
-
],
|
|
3219
|
-
exports: [
|
|
3220
|
-
DbxOneColumnComponent
|
|
3221
|
-
],
|
|
2858
|
+
imports: [CommonModule, DbxTwoColumnLayoutModule],
|
|
2859
|
+
declarations: [DbxOneColumnComponent],
|
|
2860
|
+
exports: [DbxOneColumnComponent]
|
|
3222
2861
|
}]
|
|
3223
2862
|
}] });
|
|
3224
2863
|
|
|
3225
2864
|
class DbxColumnLayoutModule {
|
|
3226
2865
|
}
|
|
3227
2866
|
DbxColumnLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxColumnLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3228
|
-
DbxColumnLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxColumnLayoutModule, exports: [DbxOneColumnLayoutModule,
|
|
3229
|
-
|
|
3230
|
-
DbxColumnLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxColumnLayoutModule, imports: [DbxOneColumnLayoutModule,
|
|
3231
|
-
DbxTwoColumnLayoutModule] });
|
|
2867
|
+
DbxColumnLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxColumnLayoutModule, exports: [DbxOneColumnLayoutModule, DbxTwoColumnLayoutModule] });
|
|
2868
|
+
DbxColumnLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxColumnLayoutModule, imports: [DbxOneColumnLayoutModule, DbxTwoColumnLayoutModule] });
|
|
3232
2869
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxColumnLayoutModule, decorators: [{
|
|
3233
2870
|
type: NgModule,
|
|
3234
2871
|
args: [{
|
|
3235
|
-
exports: [
|
|
3236
|
-
DbxOneColumnLayoutModule,
|
|
3237
|
-
DbxTwoColumnLayoutModule
|
|
3238
|
-
]
|
|
2872
|
+
exports: [DbxOneColumnLayoutModule, DbxTwoColumnLayoutModule]
|
|
3239
2873
|
}]
|
|
3240
2874
|
}] });
|
|
3241
2875
|
|
|
@@ -3246,7 +2880,7 @@ var CompactMode;
|
|
|
3246
2880
|
})(CompactMode || (CompactMode = {}));
|
|
3247
2881
|
function compactModeFromInput(input) {
|
|
3248
2882
|
if (isBoolean(input)) {
|
|
3249
|
-
input =
|
|
2883
|
+
input = input ? CompactMode.COMPACT : CompactMode.FULL;
|
|
3250
2884
|
}
|
|
3251
2885
|
return input === CompactMode.COMPACT ? CompactMode.COMPACT : CompactMode.FULL;
|
|
3252
2886
|
}
|
|
@@ -3254,7 +2888,7 @@ function mapCompactModeObs(mode$, config) {
|
|
|
3254
2888
|
var _a;
|
|
3255
2889
|
const modeObs = mode$ !== null && mode$ !== void 0 ? mode$ : of((_a = config.defaultMode) !== null && _a !== void 0 ? _a : CompactMode.FULL);
|
|
3256
2890
|
return modeObs.pipe(map((inputMode) => {
|
|
3257
|
-
const isCompact = (
|
|
2891
|
+
const isCompact = (inputMode !== null && inputMode !== void 0 ? inputMode : config.defaultMode) === CompactMode.COMPACT;
|
|
3258
2892
|
if (isCompact) {
|
|
3259
2893
|
return config.compact;
|
|
3260
2894
|
}
|
|
@@ -3268,7 +2902,7 @@ class CompactContextStore extends ComponentStore {
|
|
|
3268
2902
|
constructor() {
|
|
3269
2903
|
super({ mode: CompactMode.FULL });
|
|
3270
2904
|
// MARK: Accessors
|
|
3271
|
-
this.mode$ = this.state$.pipe(map(x => x.mode));
|
|
2905
|
+
this.mode$ = this.state$.pipe(map((x) => x.mode));
|
|
3272
2906
|
this.setMode = this.updater((state, mode) => ({ mode: compactModeFromInput(mode) }));
|
|
3273
2907
|
}
|
|
3274
2908
|
}
|
|
@@ -3297,7 +2931,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3297
2931
|
args: [{
|
|
3298
2932
|
selector: '[dbxCompact]',
|
|
3299
2933
|
providers: [CompactContextStore],
|
|
3300
|
-
exportAs: 'compact'
|
|
2934
|
+
exportAs: 'compact'
|
|
3301
2935
|
}]
|
|
3302
2936
|
}], ctorParameters: function () { return [{ type: CompactContextStore }]; }, propDecorators: { mode: [{
|
|
3303
2937
|
type: Input,
|
|
@@ -3311,21 +2945,13 @@ class DbxCompactLayoutModule {
|
|
|
3311
2945
|
}
|
|
3312
2946
|
DbxCompactLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCompactLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3313
2947
|
DbxCompactLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCompactLayoutModule, declarations: [DbxCompactDirective], imports: [CommonModule], exports: [DbxCompactDirective] });
|
|
3314
|
-
DbxCompactLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCompactLayoutModule, imports: [[
|
|
3315
|
-
CommonModule
|
|
3316
|
-
]] });
|
|
2948
|
+
DbxCompactLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCompactLayoutModule, imports: [[CommonModule]] });
|
|
3317
2949
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCompactLayoutModule, decorators: [{
|
|
3318
2950
|
type: NgModule,
|
|
3319
2951
|
args: [{
|
|
3320
|
-
imports: [
|
|
3321
|
-
|
|
3322
|
-
]
|
|
3323
|
-
declarations: [
|
|
3324
|
-
DbxCompactDirective
|
|
3325
|
-
],
|
|
3326
|
-
exports: [
|
|
3327
|
-
DbxCompactDirective
|
|
3328
|
-
]
|
|
2952
|
+
imports: [CommonModule],
|
|
2953
|
+
declarations: [DbxCompactDirective],
|
|
2954
|
+
exports: [DbxCompactDirective]
|
|
3329
2955
|
}]
|
|
3330
2956
|
}] });
|
|
3331
2957
|
|
|
@@ -3355,7 +2981,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3355
2981
|
<ng-content></ng-content>
|
|
3356
2982
|
</mat-toolbar>
|
|
3357
2983
|
</div>
|
|
3358
|
-
|
|
2984
|
+
`
|
|
3359
2985
|
// TODO: styleUrls: ['./container.scss']
|
|
3360
2986
|
}]
|
|
3361
2987
|
}], propDecorators: { color: [{
|
|
@@ -3388,7 +3014,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3388
3014
|
<span class="dbx-flag-spacer"></span>
|
|
3389
3015
|
<ng-content></ng-content>
|
|
3390
3016
|
</dbx-flag>
|
|
3391
|
-
|
|
3017
|
+
`
|
|
3392
3018
|
// TODO: styleUrls: ['./container.scss']
|
|
3393
3019
|
}]
|
|
3394
3020
|
}], propDecorators: { color: [{
|
|
@@ -3403,29 +3029,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3403
3029
|
class DbxFlagLayoutModule {
|
|
3404
3030
|
}
|
|
3405
3031
|
DbxFlagLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFlagLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3406
|
-
DbxFlagLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFlagLayoutModule, declarations: [DbxFlagComponent,
|
|
3407
|
-
|
|
3408
|
-
MatToolbarModule], exports: [DbxFlagComponent,
|
|
3409
|
-
DbxFlagPromptComponent] });
|
|
3410
|
-
DbxFlagLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFlagLayoutModule, imports: [[
|
|
3411
|
-
CommonModule,
|
|
3412
|
-
MatToolbarModule
|
|
3413
|
-
]] });
|
|
3032
|
+
DbxFlagLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFlagLayoutModule, declarations: [DbxFlagComponent, DbxFlagPromptComponent], imports: [CommonModule, MatToolbarModule], exports: [DbxFlagComponent, DbxFlagPromptComponent] });
|
|
3033
|
+
DbxFlagLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFlagLayoutModule, imports: [[CommonModule, MatToolbarModule]] });
|
|
3414
3034
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFlagLayoutModule, decorators: [{
|
|
3415
3035
|
type: NgModule,
|
|
3416
3036
|
args: [{
|
|
3417
|
-
imports: [
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
],
|
|
3421
|
-
declarations: [
|
|
3422
|
-
DbxFlagComponent,
|
|
3423
|
-
DbxFlagPromptComponent
|
|
3424
|
-
],
|
|
3425
|
-
exports: [
|
|
3426
|
-
DbxFlagComponent,
|
|
3427
|
-
DbxFlagPromptComponent
|
|
3428
|
-
]
|
|
3037
|
+
imports: [CommonModule, MatToolbarModule],
|
|
3038
|
+
declarations: [DbxFlagComponent, DbxFlagPromptComponent],
|
|
3039
|
+
exports: [DbxFlagComponent, DbxFlagPromptComponent]
|
|
3429
3040
|
}]
|
|
3430
3041
|
}] });
|
|
3431
3042
|
|
|
@@ -3441,7 +3052,7 @@ class DbxFlexGroupDirective extends AbstractSubscriptionDirective {
|
|
|
3441
3052
|
this.relative = false;
|
|
3442
3053
|
this._small = false;
|
|
3443
3054
|
this._breakpoint = new BehaviorSubject('tablet');
|
|
3444
|
-
this.isSmallScreen$ = this._dbxScreenMediaService.isBreakpointActive(this._breakpoint).pipe(map(x => !x), distinctUntilChanged(), shareReplay(1));
|
|
3055
|
+
this.isSmallScreen$ = this._dbxScreenMediaService.isBreakpointActive(this._breakpoint).pipe(map((x) => !x), distinctUntilChanged(), shareReplay(1));
|
|
3445
3056
|
}
|
|
3446
3057
|
get small() {
|
|
3447
3058
|
return this._small;
|
|
@@ -3506,26 +3117,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3506
3117
|
class DbxFlexLayoutModule {
|
|
3507
3118
|
}
|
|
3508
3119
|
DbxFlexLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFlexLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3509
|
-
DbxFlexLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFlexLayoutModule, declarations: [DbxFlexGroupDirective,
|
|
3510
|
-
|
|
3511
|
-
DbxFlexSizeDirective] });
|
|
3512
|
-
DbxFlexLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFlexLayoutModule, imports: [[
|
|
3513
|
-
CommonModule
|
|
3514
|
-
]] });
|
|
3120
|
+
DbxFlexLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFlexLayoutModule, declarations: [DbxFlexGroupDirective, DbxFlexSizeDirective], imports: [CommonModule], exports: [DbxFlexGroupDirective, DbxFlexSizeDirective] });
|
|
3121
|
+
DbxFlexLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFlexLayoutModule, imports: [[CommonModule]] });
|
|
3515
3122
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFlexLayoutModule, decorators: [{
|
|
3516
3123
|
type: NgModule,
|
|
3517
3124
|
args: [{
|
|
3518
|
-
imports: [
|
|
3519
|
-
|
|
3520
|
-
]
|
|
3521
|
-
declarations: [
|
|
3522
|
-
DbxFlexGroupDirective,
|
|
3523
|
-
DbxFlexSizeDirective
|
|
3524
|
-
],
|
|
3525
|
-
exports: [
|
|
3526
|
-
DbxFlexGroupDirective,
|
|
3527
|
-
DbxFlexSizeDirective
|
|
3528
|
-
]
|
|
3125
|
+
imports: [CommonModule],
|
|
3126
|
+
declarations: [DbxFlexGroupDirective, DbxFlexSizeDirective],
|
|
3127
|
+
exports: [DbxFlexGroupDirective, DbxFlexSizeDirective]
|
|
3529
3128
|
}]
|
|
3530
3129
|
}] });
|
|
3531
3130
|
|
|
@@ -3536,34 +3135,34 @@ class DbxIconItemComponent {
|
|
|
3536
3135
|
}
|
|
3537
3136
|
DbxIconItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxIconItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3538
3137
|
DbxIconItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxIconItemComponent, selector: "dbx-icon-item", inputs: { icon: "icon", header: "header" }, ngImport: i0, template: `
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3138
|
+
<div class="dbx-icon-item">
|
|
3139
|
+
<div class="left">
|
|
3140
|
+
<mat-icon>{{ icon }}</mat-icon>
|
|
3141
|
+
</div>
|
|
3142
|
+
<div class="right">
|
|
3143
|
+
<h3 *ngIf="header" class="dbx-icon-item-header">{{ header }}</h3>
|
|
3144
|
+
<div class="right-content">
|
|
3145
|
+
<ng-content></ng-content>
|
|
3146
|
+
</div>
|
|
3547
3147
|
</div>
|
|
3548
3148
|
</div>
|
|
3549
|
-
</div>
|
|
3550
3149
|
`, isInline: true, components: [{ type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3551
3150
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxIconItemComponent, decorators: [{
|
|
3552
3151
|
type: Component,
|
|
3553
3152
|
args: [{
|
|
3554
3153
|
selector: 'dbx-icon-item',
|
|
3555
3154
|
template: `
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3155
|
+
<div class="dbx-icon-item">
|
|
3156
|
+
<div class="left">
|
|
3157
|
+
<mat-icon>{{ icon }}</mat-icon>
|
|
3158
|
+
</div>
|
|
3159
|
+
<div class="right">
|
|
3160
|
+
<h3 *ngIf="header" class="dbx-icon-item-header">{{ header }}</h3>
|
|
3161
|
+
<div class="right-content">
|
|
3162
|
+
<ng-content></ng-content>
|
|
3163
|
+
</div>
|
|
3564
3164
|
</div>
|
|
3565
3165
|
</div>
|
|
3566
|
-
</div>
|
|
3567
3166
|
`
|
|
3568
3167
|
}]
|
|
3569
3168
|
}], propDecorators: { icon: [{
|
|
@@ -3575,25 +3174,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3575
3174
|
class DbxItemLayoutModule {
|
|
3576
3175
|
}
|
|
3577
3176
|
DbxItemLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxItemLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3578
|
-
DbxItemLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxItemLayoutModule, declarations: [DbxIconItemComponent], imports: [CommonModule,
|
|
3579
|
-
|
|
3580
|
-
DbxItemLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxItemLayoutModule, imports: [[
|
|
3581
|
-
CommonModule,
|
|
3582
|
-
MatIconModule
|
|
3583
|
-
]] });
|
|
3177
|
+
DbxItemLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxItemLayoutModule, declarations: [DbxIconItemComponent], imports: [CommonModule, MatIconModule], exports: [DbxIconItemComponent] });
|
|
3178
|
+
DbxItemLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxItemLayoutModule, imports: [[CommonModule, MatIconModule]] });
|
|
3584
3179
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxItemLayoutModule, decorators: [{
|
|
3585
3180
|
type: NgModule,
|
|
3586
3181
|
args: [{
|
|
3587
|
-
imports: [
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
],
|
|
3591
|
-
declarations: [
|
|
3592
|
-
DbxIconItemComponent
|
|
3593
|
-
],
|
|
3594
|
-
exports: [
|
|
3595
|
-
DbxIconItemComponent
|
|
3596
|
-
]
|
|
3182
|
+
imports: [CommonModule, MatIconModule],
|
|
3183
|
+
declarations: [DbxIconItemComponent],
|
|
3184
|
+
exports: [DbxIconItemComponent]
|
|
3597
3185
|
}]
|
|
3598
3186
|
}] });
|
|
3599
3187
|
|
|
@@ -3616,7 +3204,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3616
3204
|
<div class="dbx-list-empty-content">
|
|
3617
3205
|
<ng-content></ng-content>
|
|
3618
3206
|
</div>
|
|
3619
|
-
|
|
3207
|
+
`
|
|
3620
3208
|
// TODO: styleUrls: ['./container.scss']
|
|
3621
3209
|
}]
|
|
3622
3210
|
}] });
|
|
@@ -3647,26 +3235,26 @@ class DbxLoadingProgressComponent {
|
|
|
3647
3235
|
}
|
|
3648
3236
|
DbxLoadingProgressComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLoadingProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3649
3237
|
DbxLoadingProgressComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxLoadingProgressComponent, selector: "dbx-loading-progress", inputs: { text: "text", linear: "linear", mode: "mode", color: "color", value: "value", bufferValue: "bufferValue", diameter: "diameter" }, ngImport: i0, template: `
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3238
|
+
<div class="loading-progress-view">
|
|
3239
|
+
<ng-container [ngSwitch]="linear">
|
|
3240
|
+
<mat-progress-bar *ngSwitchCase="true" [mode]="bmode" [color]="color" [bufferValue]="bufferValue" [value]="value" style="margin: auto;"></mat-progress-bar>
|
|
3241
|
+
<mat-progress-spinner *ngSwitchDefault [diameter]="diameter || 96" [mode]="smode" [color]="color" [value]="value" style="margin: auto;"></mat-progress-spinner>
|
|
3242
|
+
</ng-container>
|
|
3243
|
+
<div *ngIf="text" class="hint">{{ text }}</div>
|
|
3244
|
+
</div>
|
|
3657
3245
|
`, isInline: true, components: [{ type: i3$2.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { type: i3.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }], directives: [{ type: i3$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i3$1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3658
3246
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLoadingProgressComponent, decorators: [{
|
|
3659
3247
|
type: Component,
|
|
3660
3248
|
args: [{
|
|
3661
3249
|
selector: 'dbx-loading-progress',
|
|
3662
3250
|
template: `
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3251
|
+
<div class="loading-progress-view">
|
|
3252
|
+
<ng-container [ngSwitch]="linear">
|
|
3253
|
+
<mat-progress-bar *ngSwitchCase="true" [mode]="bmode" [color]="color" [bufferValue]="bufferValue" [value]="value" style="margin: auto;"></mat-progress-bar>
|
|
3254
|
+
<mat-progress-spinner *ngSwitchDefault [diameter]="diameter || 96" [mode]="smode" [color]="color" [value]="value" style="margin: auto;"></mat-progress-spinner>
|
|
3255
|
+
</ng-container>
|
|
3256
|
+
<div *ngIf="text" class="hint">{{ text }}</div>
|
|
3257
|
+
</div>
|
|
3670
3258
|
`
|
|
3671
3259
|
}]
|
|
3672
3260
|
}], propDecorators: { text: [{
|
|
@@ -3734,7 +3322,8 @@ class DbxBasicLoadingComponent {
|
|
|
3734
3322
|
if (error) {
|
|
3735
3323
|
state = LoadingComponentState.ERROR;
|
|
3736
3324
|
}
|
|
3737
|
-
else if (loading == null) {
|
|
3325
|
+
else if (loading == null) {
|
|
3326
|
+
// If loading has not yet been defined and no error has occured, we're waiting for some input on loading or error.
|
|
3738
3327
|
state = LoadingComponentState.NONE;
|
|
3739
3328
|
}
|
|
3740
3329
|
else if (loading || !show) {
|
|
@@ -3746,8 +3335,8 @@ class DbxBasicLoadingComponent {
|
|
|
3746
3335
|
return state;
|
|
3747
3336
|
}), distinctUntilChanged(), startWith(LoadingComponentState.NONE), shareReplay(1));
|
|
3748
3337
|
this.error$ = this._error.asObservable();
|
|
3749
|
-
this.hasNoCustomError$ = this._customErrorContent.pipe(map(x => !checkNgContentWrapperHasContent(x)));
|
|
3750
|
-
this.hasNoCustomLoading$ = this._customLoadingContent.pipe(map(x => !checkNgContentWrapperHasContent(x)));
|
|
3338
|
+
this.hasNoCustomError$ = this._customErrorContent.pipe(map((x) => !checkNgContentWrapperHasContent(x)));
|
|
3339
|
+
this.hasNoCustomLoading$ = this._customLoadingContent.pipe(map((x) => !checkNgContentWrapperHasContent(x)));
|
|
3751
3340
|
this.mode = 'indeterminate';
|
|
3752
3341
|
this.color = 'primary';
|
|
3753
3342
|
this.linear = false;
|
|
@@ -3789,10 +3378,10 @@ class DbxBasicLoadingComponent {
|
|
|
3789
3378
|
}
|
|
3790
3379
|
}
|
|
3791
3380
|
DbxBasicLoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBasicLoadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3792
|
-
DbxBasicLoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxBasicLoadingComponent, selector: "dbx-basic-loading", inputs: { diameter: "diameter", mode: "mode", color: "color", text: "text", linear: "linear", show: "show", loading: "loading", error: "error" }, viewQueries: [{ propertyName: "customErrorContent", first: true, predicate: ["customError"], descendants: true }, { propertyName: "customLoadingContent", first: true, predicate: ["customLoading"], descendants: true }], ngImport: i0, template: "<ng-container [ngSwitch]=\"state$ | async\">\n <ng-container *ngSwitchCase=\"0\">\n <!-- Loading -->\n <ng-container *ngTemplateOutlet=\"loadingTemplate\"></ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"1\">\n <!-- Content -->\n <ng-content></ng-content>\n </ng-container>\n <ng-container *ngSwitchCase=\"2\">\n <!-- Error -->\n <ng-container *ngTemplateOutlet=\"errorTemplate\"></ng-container>\n </ng-container>\n</ng-container>\n\n<ng-template #loadingTemplate>\n <dbx-loading-progress *ngIf=\"hasNoCustomLoading$ | async\" [mode]=\"mode\" [color]=\"color\" [text]=\"text\"
|
|
3381
|
+
DbxBasicLoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxBasicLoadingComponent, selector: "dbx-basic-loading", inputs: { diameter: "diameter", mode: "mode", color: "color", text: "text", linear: "linear", show: "show", loading: "loading", error: "error" }, viewQueries: [{ propertyName: "customErrorContent", first: true, predicate: ["customError"], descendants: true }, { propertyName: "customLoadingContent", first: true, predicate: ["customLoading"], descendants: true }], ngImport: i0, template: "<ng-container [ngSwitch]=\"state$ | async\">\n <ng-container *ngSwitchCase=\"0\">\n <!-- Loading -->\n <ng-container *ngTemplateOutlet=\"loadingTemplate\"></ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"1\">\n <!-- Content -->\n <ng-content></ng-content>\n </ng-container>\n <ng-container *ngSwitchCase=\"2\">\n <!-- Error -->\n <ng-container *ngTemplateOutlet=\"errorTemplate\"></ng-container>\n </ng-container>\n</ng-container>\n\n<ng-template #loadingTemplate>\n <dbx-loading-progress *ngIf=\"hasNoCustomLoading$ | async\" [mode]=\"mode\" [color]=\"color\" [text]=\"text\" [linear]=\"linear\" [diameter]=\"diameter\"></dbx-loading-progress>\n <div #customLoading>\n <ng-content select=\"[loading]\"></ng-content>\n </div>\n</ng-template>\n\n<ng-template #errorTemplate>\n <dbx-error *ngIf=\"hasNoCustomError$ | async\" [error]=\"error$ | async\"></dbx-error>\n <div #customError>\n <ng-content select=\"[error]\"></ng-content>\n </div>\n <ng-content select=\"[errorAction]\"></ng-content>\n</ng-template>\n", components: [{ type: DbxLoadingProgressComponent, selector: "dbx-loading-progress", inputs: ["text", "linear", "mode", "color", "value", "bufferValue", "diameter"] }, { type: DbxReadableErrorComponent, selector: "dbx-error", inputs: ["error"] }], directives: [{ type: i3$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i3$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3$1.AsyncPipe } });
|
|
3793
3382
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBasicLoadingComponent, decorators: [{
|
|
3794
3383
|
type: Component,
|
|
3795
|
-
args: [{ selector: 'dbx-basic-loading', template: "<ng-container [ngSwitch]=\"state$ | async\">\n <ng-container *ngSwitchCase=\"0\">\n <!-- Loading -->\n <ng-container *ngTemplateOutlet=\"loadingTemplate\"></ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"1\">\n <!-- Content -->\n <ng-content></ng-content>\n </ng-container>\n <ng-container *ngSwitchCase=\"2\">\n <!-- Error -->\n <ng-container *ngTemplateOutlet=\"errorTemplate\"></ng-container>\n </ng-container>\n</ng-container>\n\n<ng-template #loadingTemplate>\n <dbx-loading-progress *ngIf=\"hasNoCustomLoading$ | async\" [mode]=\"mode\" [color]=\"color\" [text]=\"text\"
|
|
3384
|
+
args: [{ selector: 'dbx-basic-loading', template: "<ng-container [ngSwitch]=\"state$ | async\">\n <ng-container *ngSwitchCase=\"0\">\n <!-- Loading -->\n <ng-container *ngTemplateOutlet=\"loadingTemplate\"></ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"1\">\n <!-- Content -->\n <ng-content></ng-content>\n </ng-container>\n <ng-container *ngSwitchCase=\"2\">\n <!-- Error -->\n <ng-container *ngTemplateOutlet=\"errorTemplate\"></ng-container>\n </ng-container>\n</ng-container>\n\n<ng-template #loadingTemplate>\n <dbx-loading-progress *ngIf=\"hasNoCustomLoading$ | async\" [mode]=\"mode\" [color]=\"color\" [text]=\"text\" [linear]=\"linear\" [diameter]=\"diameter\"></dbx-loading-progress>\n <div #customLoading>\n <ng-content select=\"[loading]\"></ng-content>\n </div>\n</ng-template>\n\n<ng-template #errorTemplate>\n <dbx-error *ngIf=\"hasNoCustomError$ | async\" [error]=\"error$ | async\"></dbx-error>\n <div #customError>\n <ng-content select=\"[error]\"></ng-content>\n </div>\n <ng-content select=\"[errorAction]\"></ng-content>\n</ng-template>\n" }]
|
|
3796
3385
|
}], propDecorators: { diameter: [{
|
|
3797
3386
|
type: Input
|
|
3798
3387
|
}], mode: [{
|
|
@@ -3825,7 +3414,7 @@ class DbxLoadingComponent {
|
|
|
3825
3414
|
this._context = new BehaviorSubject(undefined);
|
|
3826
3415
|
this._inputLoading = new BehaviorSubject(true);
|
|
3827
3416
|
this._inputError = new BehaviorSubject(undefined);
|
|
3828
|
-
this.state$ = combineLatest([this._inputLoading, this._inputError, this._context.pipe(switchMap(x => (x != null
|
|
3417
|
+
this.state$ = combineLatest([this._inputLoading, this._inputError, this._context.pipe(switchMap((x) => (x != null ? x.stream$ : of(undefined))))]).pipe(map(([inputLoading, inputError, loadingState]) => {
|
|
3829
3418
|
if (loadingState) {
|
|
3830
3419
|
return loadingState;
|
|
3831
3420
|
}
|
|
@@ -3836,8 +3425,8 @@ class DbxLoadingComponent {
|
|
|
3836
3425
|
};
|
|
3837
3426
|
}
|
|
3838
3427
|
}), distinctUntilChanged((a, b) => a.loading === b.loading && a.error === b.error), shareReplay(1));
|
|
3839
|
-
this.loading$ = this.state$.pipe(map(x => x.loading), distinctUntilChanged(), shareReplay(1));
|
|
3840
|
-
this.error$ = this.state$.pipe(map(x => x.error), distinctUntilChanged(), shareReplay(1));
|
|
3428
|
+
this.loading$ = this.state$.pipe(map((x) => x.loading), distinctUntilChanged(), shareReplay(1));
|
|
3429
|
+
this.error$ = this.state$.pipe(map((x) => x.error), distinctUntilChanged(), shareReplay(1));
|
|
3841
3430
|
this.mode = 'indeterminate';
|
|
3842
3431
|
this.color = 'primary';
|
|
3843
3432
|
}
|
|
@@ -3867,24 +3456,24 @@ class DbxLoadingComponent {
|
|
|
3867
3456
|
}
|
|
3868
3457
|
DbxLoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLoadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3869
3458
|
DbxLoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxLoadingComponent, selector: "dbx-loading", inputs: { show: "show", text: "text", mode: "mode", color: "color", diameter: "diameter", linear: "linear", context: "context", loading: "loading", error: "error" }, ngImport: i0, template: `
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3459
|
+
<dbx-basic-loading [show]="show" [color]="color" [text]="text" [mode]="mode" [linear]="linear" [diameter]="diameter" [error]="error$ | async" [loading]="loading$ | async">
|
|
3460
|
+
<ng-content loading select="[loading]"></ng-content>
|
|
3461
|
+
<ng-content></ng-content>
|
|
3462
|
+
<ng-content error select="[error]"></ng-content>
|
|
3463
|
+
<ng-content errorAction select="[errorAction]"></ng-content>
|
|
3464
|
+
</dbx-basic-loading>
|
|
3876
3465
|
`, isInline: true, components: [{ type: DbxBasicLoadingComponent, selector: "dbx-basic-loading", inputs: ["diameter", "mode", "color", "text", "linear", "show", "loading", "error"] }], pipes: { "async": i3$1.AsyncPipe } });
|
|
3877
3466
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLoadingComponent, decorators: [{
|
|
3878
3467
|
type: Component,
|
|
3879
3468
|
args: [{
|
|
3880
3469
|
selector: 'dbx-loading',
|
|
3881
3470
|
template: `
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3471
|
+
<dbx-basic-loading [show]="show" [color]="color" [text]="text" [mode]="mode" [linear]="linear" [diameter]="diameter" [error]="error$ | async" [loading]="loading$ | async">
|
|
3472
|
+
<ng-content loading select="[loading]"></ng-content>
|
|
3473
|
+
<ng-content></ng-content>
|
|
3474
|
+
<ng-content error select="[error]"></ng-content>
|
|
3475
|
+
<ng-content errorAction select="[errorAction]"></ng-content>
|
|
3476
|
+
</dbx-basic-loading>
|
|
3888
3477
|
`
|
|
3889
3478
|
}]
|
|
3890
3479
|
}], propDecorators: { show: [{
|
|
@@ -3936,13 +3525,13 @@ class DbxListComponent {
|
|
|
3936
3525
|
this.isEmpty$ = this.context.isEmpty$;
|
|
3937
3526
|
this.disabled$ = this._disabled.asObservable();
|
|
3938
3527
|
this.selectionMode$ = this._selectionMode.asObservable();
|
|
3939
|
-
this.hideOnEmpty$ = this._config.pipe(filterMaybe(), map(x => Boolean(x.hideOnEmpty)), distinctUntilChanged(), shareReplay(1));
|
|
3940
|
-
this.invertedList$ = this._config.pipe(filterMaybe(), map(x => Boolean(x === null || x === void 0 ? void 0 : x.throttle)), distinctUntilChanged(), shareReplay(1));
|
|
3941
|
-
this.throttleScroll$ = this._config.pipe(map(x => { var _a; return (_a =
|
|
3942
|
-
this.scrollDistance$ = this._config.pipe(map(x => { var _a; return (_a =
|
|
3528
|
+
this.hideOnEmpty$ = this._config.pipe(filterMaybe(), map((x) => Boolean(x.hideOnEmpty)), distinctUntilChanged(), shareReplay(1));
|
|
3529
|
+
this.invertedList$ = this._config.pipe(filterMaybe(), map((x) => Boolean(x === null || x === void 0 ? void 0 : x.throttle)), distinctUntilChanged(), shareReplay(1));
|
|
3530
|
+
this.throttleScroll$ = this._config.pipe(map((x) => { var _a; return (_a = x === null || x === void 0 ? void 0 : x.throttle) !== null && _a !== void 0 ? _a : this.DEFAULT_THROTTLE_SCROLL; }), distinctUntilChanged(), shareReplay(1));
|
|
3531
|
+
this.scrollDistance$ = this._config.pipe(map((x) => { var _a; return (_a = x === null || x === void 0 ? void 0 : x.scrollDistance) !== null && _a !== void 0 ? _a : this.DEFAULT_SCROLL_DISTANCE; }), distinctUntilChanged(), shareReplay(1));
|
|
3943
3532
|
this.scrollLoadMoreTrigger$ = this._config.pipe(switchMap((config) => {
|
|
3944
3533
|
const loadNextDirection = (config === null || config === void 0 ? void 0 : config.invertedList) ? 'up' : 'down';
|
|
3945
|
-
return this._scrollTrigger.pipe(filter(x => x === loadNextDirection));
|
|
3534
|
+
return this._scrollTrigger.pipe(filter((x) => x === loadNextDirection));
|
|
3946
3535
|
}));
|
|
3947
3536
|
this.loadMore$ = merge(this.scrollLoadMoreTrigger$, this._loadMoreTrigger);
|
|
3948
3537
|
this.injectedComponentConfig$ = this._config.pipe(distinctUntilChanged(), map((config) => {
|
|
@@ -3961,7 +3550,8 @@ class DbxListComponent {
|
|
|
3961
3550
|
}
|
|
3962
3551
|
instance.setListContext(this.context);
|
|
3963
3552
|
if (loadMore) {
|
|
3964
|
-
this._loadMoreSub.subscription = this.loadMore
|
|
3553
|
+
this._loadMoreSub.subscription = this.loadMore$
|
|
3554
|
+
.pipe(
|
|
3965
3555
|
// Throttle additional loading calls using exhaustMap until observable returns, if one is returned.
|
|
3966
3556
|
exhaustMap(() => {
|
|
3967
3557
|
const result = loadMore();
|
|
@@ -3973,7 +3563,8 @@ class DbxListComponent {
|
|
|
3973
3563
|
obs = of();
|
|
3974
3564
|
}
|
|
3975
3565
|
return obs;
|
|
3976
|
-
}))
|
|
3566
|
+
}))
|
|
3567
|
+
.subscribe();
|
|
3977
3568
|
}
|
|
3978
3569
|
if (onClick) {
|
|
3979
3570
|
if (instance.clickValue) {
|
|
@@ -4001,7 +3592,7 @@ class DbxListComponent {
|
|
|
4001
3592
|
return of(true);
|
|
4002
3593
|
}
|
|
4003
3594
|
else {
|
|
4004
|
-
return this.hideOnEmpty$.pipe(switchMap((hide) => (hide === false
|
|
3595
|
+
return this.hideOnEmpty$.pipe(switchMap((hide) => (hide === false ? of(false) : this.isEmpty$)), distinctUntilChanged(), tapDetectChanges(this.cdRef), shareReplay(1));
|
|
4005
3596
|
}
|
|
4006
3597
|
}));
|
|
4007
3598
|
}
|
|
@@ -4094,13 +3685,13 @@ class DbxListComponent {
|
|
|
4094
3685
|
}
|
|
4095
3686
|
}
|
|
4096
3687
|
DbxListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxListComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4097
|
-
DbxListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxListComponent, selector: "dbx-list", inputs: { padded: "padded", state$: "state$", config: "config", disabled: "disabled", selectionMode: "selectionMode" }, outputs: { contentScrolled: "contentScrolled" }, host: { properties: { "class.dbx-list-padded": "padded" }, classAttribute: "d-block dbx-list" }, ngImport: i0, template: "<dbx-loading [context]=\"context\" [linear]=\"true\"></dbx-loading>\n<div dbxListInternalContent infinite-scroll [infiniteScrollDistance]=\"(scrollDistance$ | async) ?? DEFAULT_SCROLL_DISTANCE\"
|
|
3688
|
+
DbxListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxListComponent, selector: "dbx-list", inputs: { padded: "padded", state$: "state$", config: "config", disabled: "disabled", selectionMode: "selectionMode" }, outputs: { contentScrolled: "contentScrolled" }, host: { properties: { "class.dbx-list-padded": "padded" }, classAttribute: "d-block dbx-list" }, ngImport: i0, template: "<dbx-loading [context]=\"context\" [linear]=\"true\"></dbx-loading>\n<div dbxListInternalContent infinite-scroll [infiniteScrollDistance]=\"(scrollDistance$ | async) ?? DEFAULT_SCROLL_DISTANCE\" [infiniteScrollUpDistance]=\"(scrollDistance$ | async) ?? DEFAULT_SCROLL_DISTANCE\" [hide]=\"hideContent$ | async\" [infiniteScrollThrottle]=\"(throttleScroll$ | async) ?? DEFAULT_THROTTLE_SCROLL\" [scrollWindow]=\"false\" (scrolled)=\"onScrollDown()\" (scrolledUp)=\"onScrollUp()\">\n <ng-content select=\"[top]\"></ng-content>\n <dbx-injection [config]=\"injectedComponentConfig$ | async\"></dbx-injection>\n <ng-content select=\"[bottom]\"></ng-content>\n</div>\n<ng-content *ngIf=\"isEmpty$ | async\" select=\"[empty]\"></ng-content>\n", components: [{ type: i0.forwardRef(function () { return DbxLoadingComponent; }), selector: "dbx-loading", inputs: ["show", "text", "mode", "color", "diameter", "linear", "context", "loading", "error"] }, { type: i0.forwardRef(function () { return i1$2.DbxInjectionComponent; }), selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }], directives: [{ type: i0.forwardRef(function () { return DbxListInternalContentDirective; }), selector: "[dbxListInternalContent]", inputs: ["hide"] }, { type: i0.forwardRef(function () { return i3$4.InfiniteScrollDirective; }), selector: "[infiniteScroll], [infinite-scroll], [data-infinite-scroll]", inputs: ["infiniteScrollDistance", "infiniteScrollUpDistance", "infiniteScrollThrottle", "infiniteScrollDisabled", "infiniteScrollContainer", "scrollWindow", "immediateCheck", "horizontal", "alwaysCallback", "fromRoot"], outputs: ["scrolled", "scrolledUp"] }, { type: i0.forwardRef(function () { return i3$1.NgIf; }), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i0.forwardRef(function () { return i3$1.AsyncPipe; }) } });
|
|
4098
3689
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxListComponent, decorators: [{
|
|
4099
3690
|
type: Component,
|
|
4100
3691
|
args: [{ selector: 'dbx-list', host: {
|
|
4101
|
-
|
|
3692
|
+
class: 'd-block dbx-list',
|
|
4102
3693
|
'[class.dbx-list-padded]': 'padded'
|
|
4103
|
-
}, template: "<dbx-loading [context]=\"context\" [linear]=\"true\"></dbx-loading>\n<div dbxListInternalContent infinite-scroll [infiniteScrollDistance]=\"(scrollDistance$ | async) ?? DEFAULT_SCROLL_DISTANCE\"
|
|
3694
|
+
}, template: "<dbx-loading [context]=\"context\" [linear]=\"true\"></dbx-loading>\n<div dbxListInternalContent infinite-scroll [infiniteScrollDistance]=\"(scrollDistance$ | async) ?? DEFAULT_SCROLL_DISTANCE\" [infiniteScrollUpDistance]=\"(scrollDistance$ | async) ?? DEFAULT_SCROLL_DISTANCE\" [hide]=\"hideContent$ | async\" [infiniteScrollThrottle]=\"(throttleScroll$ | async) ?? DEFAULT_THROTTLE_SCROLL\" [scrollWindow]=\"false\" (scrolled)=\"onScrollDown()\" (scrolledUp)=\"onScrollUp()\">\n <ng-content select=\"[top]\"></ng-content>\n <dbx-injection [config]=\"injectedComponentConfig$ | async\"></dbx-injection>\n <ng-content select=\"[bottom]\"></ng-content>\n</div>\n<ng-content *ngIf=\"isEmpty$ | async\" select=\"[empty]\"></ng-content>\n" }]
|
|
4104
3695
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { padded: [{
|
|
4105
3696
|
type: Input
|
|
4106
3697
|
}], contentScrolled: [{
|
|
@@ -4136,7 +3727,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
4136
3727
|
args: [{
|
|
4137
3728
|
selector: '[dbxListInternalContent]',
|
|
4138
3729
|
host: {
|
|
4139
|
-
|
|
3730
|
+
class: 'd-block dbx-list-content',
|
|
4140
3731
|
'[class.dbx-list-content-hidden]': 'hide'
|
|
4141
3732
|
}
|
|
4142
3733
|
}]
|
|
@@ -4339,30 +3930,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
4339
3930
|
class DbxReadableErrorModule {
|
|
4340
3931
|
}
|
|
4341
3932
|
DbxReadableErrorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxReadableErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4342
|
-
DbxReadableErrorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxReadableErrorModule, declarations: [DbxReadableErrorComponent,
|
|
4343
|
-
|
|
4344
|
-
DbxActionErrorDirective], imports: [CommonModule], exports: [DbxReadableErrorComponent,
|
|
4345
|
-
DbxLoadingErrorDirective,
|
|
4346
|
-
DbxActionErrorDirective] });
|
|
4347
|
-
DbxReadableErrorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxReadableErrorModule, imports: [[
|
|
4348
|
-
CommonModule
|
|
4349
|
-
]] });
|
|
3933
|
+
DbxReadableErrorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxReadableErrorModule, declarations: [DbxReadableErrorComponent, DbxLoadingErrorDirective, DbxActionErrorDirective], imports: [CommonModule], exports: [DbxReadableErrorComponent, DbxLoadingErrorDirective, DbxActionErrorDirective] });
|
|
3934
|
+
DbxReadableErrorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxReadableErrorModule, imports: [[CommonModule]] });
|
|
4350
3935
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxReadableErrorModule, decorators: [{
|
|
4351
3936
|
type: NgModule,
|
|
4352
3937
|
args: [{
|
|
4353
|
-
imports: [
|
|
4354
|
-
|
|
4355
|
-
]
|
|
4356
|
-
declarations: [
|
|
4357
|
-
DbxReadableErrorComponent,
|
|
4358
|
-
DbxLoadingErrorDirective,
|
|
4359
|
-
DbxActionErrorDirective
|
|
4360
|
-
],
|
|
4361
|
-
exports: [
|
|
4362
|
-
DbxReadableErrorComponent,
|
|
4363
|
-
DbxLoadingErrorDirective,
|
|
4364
|
-
DbxActionErrorDirective
|
|
4365
|
-
]
|
|
3938
|
+
imports: [CommonModule],
|
|
3939
|
+
declarations: [DbxReadableErrorComponent, DbxLoadingErrorDirective, DbxActionErrorDirective],
|
|
3940
|
+
exports: [DbxReadableErrorComponent, DbxLoadingErrorDirective, DbxActionErrorDirective]
|
|
4366
3941
|
}]
|
|
4367
3942
|
}] });
|
|
4368
3943
|
|
|
@@ -4376,7 +3951,7 @@ function convertServerErrorParams(httpError) {
|
|
|
4376
3951
|
/**
|
|
4377
3952
|
* Catches error server params and feeds them to an action that takes ServerErrorParams as a prop.
|
|
4378
3953
|
*/
|
|
4379
|
-
function catchErrorServerParams(action, mapError = (
|
|
3954
|
+
function catchErrorServerParams(action, mapError = (error) => error) {
|
|
4380
3955
|
return catchError((error) => {
|
|
4381
3956
|
const serverErrorParams = convertServerErrorParams(error);
|
|
4382
3957
|
const mappedError = mapError(serverErrorParams);
|
|
@@ -4420,53 +3995,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
4420
3995
|
class DbxLoadingModule {
|
|
4421
3996
|
}
|
|
4422
3997
|
DbxLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLoadingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4423
|
-
DbxLoadingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLoadingModule, declarations: [DbxLoadingComponent,
|
|
4424
|
-
|
|
4425
|
-
DbxLoadingProgressComponent,
|
|
4426
|
-
DbxActionLoadingContextDirective], imports: [CommonModule,
|
|
4427
|
-
DbxReadableErrorModule,
|
|
4428
|
-
MatProgressSpinnerModule,
|
|
4429
|
-
MatProgressBarModule], exports: [DbxLoadingComponent,
|
|
4430
|
-
DbxBasicLoadingComponent,
|
|
4431
|
-
DbxLoadingProgressComponent,
|
|
4432
|
-
MatProgressSpinnerModule,
|
|
4433
|
-
MatProgressBarModule,
|
|
4434
|
-
DbxActionLoadingContextDirective] });
|
|
4435
|
-
DbxLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLoadingModule, imports: [[
|
|
4436
|
-
CommonModule,
|
|
4437
|
-
DbxReadableErrorModule,
|
|
4438
|
-
MatProgressSpinnerModule,
|
|
4439
|
-
MatProgressBarModule
|
|
4440
|
-
], MatProgressSpinnerModule,
|
|
4441
|
-
MatProgressBarModule] });
|
|
3998
|
+
DbxLoadingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLoadingModule, declarations: [DbxLoadingComponent, DbxBasicLoadingComponent, DbxLoadingProgressComponent, DbxActionLoadingContextDirective], imports: [CommonModule, DbxReadableErrorModule, MatProgressSpinnerModule, MatProgressBarModule], exports: [DbxLoadingComponent, DbxBasicLoadingComponent, DbxLoadingProgressComponent, MatProgressSpinnerModule, MatProgressBarModule, DbxActionLoadingContextDirective] });
|
|
3999
|
+
DbxLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLoadingModule, imports: [[CommonModule, DbxReadableErrorModule, MatProgressSpinnerModule, MatProgressBarModule], MatProgressSpinnerModule, MatProgressBarModule] });
|
|
4442
4000
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLoadingModule, decorators: [{
|
|
4443
4001
|
type: NgModule,
|
|
4444
4002
|
args: [{
|
|
4445
|
-
imports: [
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
MatProgressSpinnerModule,
|
|
4449
|
-
MatProgressBarModule
|
|
4450
|
-
],
|
|
4451
|
-
declarations: [
|
|
4452
|
-
DbxLoadingComponent,
|
|
4453
|
-
DbxBasicLoadingComponent,
|
|
4454
|
-
DbxLoadingProgressComponent,
|
|
4455
|
-
DbxActionLoadingContextDirective
|
|
4456
|
-
],
|
|
4457
|
-
exports: [
|
|
4458
|
-
DbxLoadingComponent,
|
|
4459
|
-
DbxBasicLoadingComponent,
|
|
4460
|
-
DbxLoadingProgressComponent,
|
|
4461
|
-
MatProgressSpinnerModule,
|
|
4462
|
-
MatProgressBarModule,
|
|
4463
|
-
DbxActionLoadingContextDirective
|
|
4464
|
-
]
|
|
4003
|
+
imports: [CommonModule, DbxReadableErrorModule, MatProgressSpinnerModule, MatProgressBarModule],
|
|
4004
|
+
declarations: [DbxLoadingComponent, DbxBasicLoadingComponent, DbxLoadingProgressComponent, DbxActionLoadingContextDirective],
|
|
4005
|
+
exports: [DbxLoadingComponent, DbxBasicLoadingComponent, DbxLoadingProgressComponent, MatProgressSpinnerModule, MatProgressBarModule, DbxActionLoadingContextDirective]
|
|
4465
4006
|
}]
|
|
4466
4007
|
}] });
|
|
4467
4008
|
|
|
4468
4009
|
const DBX_VALUE_LIST_VIEW_ITEM = new InjectionToken('DbxValueListViewItem');
|
|
4469
|
-
const DEFAULT_DBX_VALUE_LIST_CONFIG_MAP_VALUES = (itemValues) => of(itemValues.map(itemValue => ({ itemValue })));
|
|
4010
|
+
const DEFAULT_DBX_VALUE_LIST_CONFIG_MAP_VALUES = (itemValues) => of(itemValues.map((itemValue) => ({ itemValue })));
|
|
4470
4011
|
function mapValuesToValuesListItemConfigObs(listViewConfig, itemValues) {
|
|
4471
4012
|
var _a;
|
|
4472
4013
|
const makeObs = (_a = listViewConfig.mapValuesToItemValues) !== null && _a !== void 0 ? _a : DEFAULT_DBX_VALUE_LIST_CONFIG_MAP_VALUES;
|
|
@@ -4487,10 +4028,12 @@ function addConfigToValueListItems(listViewConfig, listItems) {
|
|
|
4487
4028
|
const anchor = listItem.anchor;
|
|
4488
4029
|
listItem.disabled = listItem.disabled || (anchor === null || anchor === void 0 ? void 0 : anchor.disabled);
|
|
4489
4030
|
listItem.config = Object.assign({
|
|
4490
|
-
providers: [
|
|
4031
|
+
providers: [
|
|
4032
|
+
{
|
|
4491
4033
|
provide: DBX_VALUE_LIST_VIEW_ITEM,
|
|
4492
4034
|
useValue: listItem
|
|
4493
|
-
}
|
|
4035
|
+
}
|
|
4036
|
+
]
|
|
4494
4037
|
}, listViewConfig);
|
|
4495
4038
|
return listItem;
|
|
4496
4039
|
});
|
|
@@ -4500,10 +4043,12 @@ function addConfigToValueListItems(listViewConfig, listItems) {
|
|
|
4500
4043
|
class DbxValueListView {
|
|
4501
4044
|
}
|
|
4502
4045
|
function provideDbxValueListView(sourceType) {
|
|
4503
|
-
return [
|
|
4046
|
+
return [
|
|
4047
|
+
{
|
|
4504
4048
|
provide: DbxValueListView,
|
|
4505
4049
|
useExisting: forwardRef(() => sourceType)
|
|
4506
|
-
}
|
|
4050
|
+
}
|
|
4051
|
+
];
|
|
4507
4052
|
}
|
|
4508
4053
|
|
|
4509
4054
|
/**
|
|
@@ -4513,10 +4058,13 @@ class DbxListView {
|
|
|
4513
4058
|
}
|
|
4514
4059
|
// eslint-disable-next-line
|
|
4515
4060
|
function provideDbxListView(sourceType) {
|
|
4516
|
-
|
|
4061
|
+
// use of any here is allowed as typings are not relevant for providers
|
|
4062
|
+
return [
|
|
4063
|
+
{
|
|
4517
4064
|
provide: DbxListView,
|
|
4518
4065
|
useExisting: forwardRef(() => sourceType)
|
|
4519
|
-
}
|
|
4066
|
+
}
|
|
4067
|
+
];
|
|
4520
4068
|
}
|
|
4521
4069
|
|
|
4522
4070
|
/**
|
|
@@ -4528,8 +4076,7 @@ class AbstractDbxValueListViewDirective {
|
|
|
4528
4076
|
this.dbxValueListViewModifier = dbxValueListViewModifier;
|
|
4529
4077
|
this._config = new BehaviorSubject(undefined);
|
|
4530
4078
|
this.config$ = this._config.pipe(filterMaybe(), distinctUntilChanged());
|
|
4531
|
-
this.modifyFn$ =
|
|
4532
|
-
this.dbxValueListViewModifier.modifiers$.pipe(map(maybeModifierMapToFunction)) : of(undefined);
|
|
4079
|
+
this.modifyFn$ = this.dbxValueListViewModifier ? this.dbxValueListViewModifier.modifiers$.pipe(map(maybeModifierMapToFunction)) : of(undefined);
|
|
4533
4080
|
this.items$ = combineLatest([this.config$, this.dbxListView.values$, this.modifyFn$]).pipe(switchMap(([listViewConfig, values, modifyFn]) => mapValuesToValuesListItemConfigObs(listViewConfig, values).pipe(mapForEach(modifyFn))), shareReplay(1));
|
|
4534
4081
|
}
|
|
4535
4082
|
ngOnDestroy() {
|
|
@@ -4561,7 +4108,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
4561
4108
|
class DbxValueListViewComponent extends AbstractDbxValueListViewDirective {
|
|
4562
4109
|
constructor() {
|
|
4563
4110
|
super(...arguments);
|
|
4564
|
-
this.emitAllClicks$ = this.config$.pipe(map(x => x.emitAllClicks), shareReplay(1));
|
|
4111
|
+
this.emitAllClicks$ = this.config$.pipe(map((x) => x.emitAllClicks), shareReplay(1));
|
|
4565
4112
|
}
|
|
4566
4113
|
}
|
|
4567
4114
|
DbxValueListViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxValueListViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -4625,7 +4172,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
4625
4172
|
</mat-nav-list>
|
|
4626
4173
|
`,
|
|
4627
4174
|
host: {
|
|
4628
|
-
|
|
4175
|
+
class: 'dbx-list-view'
|
|
4629
4176
|
}
|
|
4630
4177
|
}]
|
|
4631
4178
|
}], ctorParameters: function () { return [{ type: DbxListView }]; }, propDecorators: { emitAllClicks: [{
|
|
@@ -4641,9 +4188,8 @@ class DbxSelectionValueListViewComponent extends AbstractDbxValueListViewDirecti
|
|
|
4641
4188
|
constructor() {
|
|
4642
4189
|
var _a;
|
|
4643
4190
|
super(...arguments);
|
|
4644
|
-
this.selectionMode$ = ((_a = this.dbxListView.selectionMode$) !== null && _a !== void 0 ? _a : of('select'))
|
|
4645
|
-
|
|
4646
|
-
this.multiple$ = this.config$.pipe(map(x => { var _a; return (_a = x.multiple) !== null && _a !== void 0 ? _a : true; }), distinctUntilChanged(), shareReplay(1));
|
|
4191
|
+
this.selectionMode$ = ((_a = this.dbxListView.selectionMode$) !== null && _a !== void 0 ? _a : of('select')).pipe(map((x) => x !== null && x !== void 0 ? x : 'select'), distinctUntilChanged());
|
|
4192
|
+
this.multiple$ = this.config$.pipe(map((x) => { var _a; return (_a = x.multiple) !== null && _a !== void 0 ? _a : true; }), distinctUntilChanged(), shareReplay(1));
|
|
4647
4193
|
}
|
|
4648
4194
|
}
|
|
4649
4195
|
DbxSelectionValueListViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSelectionValueListViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -4671,11 +4217,12 @@ class DbxSelectionValueListItemViewComponent extends DbxValueListItemViewCompone
|
|
|
4671
4217
|
}
|
|
4672
4218
|
matSelectionChanged(selection) {
|
|
4673
4219
|
const options = selection.source.selectedOptions.selected;
|
|
4674
|
-
const items = options.map(x => {
|
|
4220
|
+
const items = options.map((x) => {
|
|
4675
4221
|
const { value: itemValue, selected, disabled } = x;
|
|
4676
|
-
return
|
|
4222
|
+
return { itemValue, selected, disabled };
|
|
4677
4223
|
});
|
|
4678
4224
|
this.dbxListView.selectionChange.next({
|
|
4225
|
+
// asserted in constructor
|
|
4679
4226
|
items
|
|
4680
4227
|
});
|
|
4681
4228
|
}
|
|
@@ -4716,7 +4263,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
4716
4263
|
</ng-container>
|
|
4717
4264
|
`,
|
|
4718
4265
|
host: {
|
|
4719
|
-
|
|
4266
|
+
class: 'dbx-list-view dbx-selection-list-view'
|
|
4720
4267
|
}
|
|
4721
4268
|
}]
|
|
4722
4269
|
}], ctorParameters: function () { return [{ type: DbxListView }]; }, propDecorators: { multiple: [{
|
|
@@ -4768,70 +4315,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
4768
4315
|
class DbxListLayoutModule {
|
|
4769
4316
|
}
|
|
4770
4317
|
DbxListLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxListLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4771
|
-
DbxListLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxListLayoutModule, declarations: [DbxListComponent,
|
|
4772
|
-
|
|
4773
|
-
DbxListEmptyContentComponent,
|
|
4774
|
-
DbxValueListViewComponent,
|
|
4775
|
-
DbxValueListItemViewComponent,
|
|
4776
|
-
DbxSelectionValueListViewComponent,
|
|
4777
|
-
DbxSelectionValueListItemViewComponent,
|
|
4778
|
-
DbxValueListItemModifierDirective,
|
|
4779
|
-
DbxListItemDisableRippleModifierDirective], imports: [CommonModule,
|
|
4780
|
-
DbxLoadingModule,
|
|
4781
|
-
DbxRouterAnchorModule,
|
|
4782
|
-
InfiniteScrollModule,
|
|
4783
|
-
DbxInjectionComponentModule,
|
|
4784
|
-
MatListModule,
|
|
4785
|
-
MatIconModule], exports: [DbxListComponent,
|
|
4786
|
-
DbxListEmptyContentComponent,
|
|
4787
|
-
DbxValueListViewComponent,
|
|
4788
|
-
DbxValueListItemViewComponent,
|
|
4789
|
-
DbxSelectionValueListViewComponent,
|
|
4790
|
-
DbxSelectionValueListItemViewComponent,
|
|
4791
|
-
DbxValueListItemModifierDirective,
|
|
4792
|
-
DbxListItemDisableRippleModifierDirective] });
|
|
4793
|
-
DbxListLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxListLayoutModule, imports: [[
|
|
4794
|
-
CommonModule,
|
|
4795
|
-
DbxLoadingModule,
|
|
4796
|
-
DbxRouterAnchorModule,
|
|
4797
|
-
InfiniteScrollModule,
|
|
4798
|
-
DbxInjectionComponentModule,
|
|
4799
|
-
MatListModule,
|
|
4800
|
-
MatIconModule
|
|
4801
|
-
]] });
|
|
4318
|
+
DbxListLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxListLayoutModule, declarations: [DbxListComponent, DbxListInternalContentDirective, DbxListEmptyContentComponent, DbxValueListViewComponent, DbxValueListItemViewComponent, DbxSelectionValueListViewComponent, DbxSelectionValueListItemViewComponent, DbxValueListItemModifierDirective, DbxListItemDisableRippleModifierDirective], imports: [CommonModule, DbxLoadingModule, DbxRouterAnchorModule, InfiniteScrollModule, DbxInjectionComponentModule, MatListModule, MatIconModule], exports: [DbxListComponent, DbxListEmptyContentComponent, DbxValueListViewComponent, DbxValueListItemViewComponent, DbxSelectionValueListViewComponent, DbxSelectionValueListItemViewComponent, DbxValueListItemModifierDirective, DbxListItemDisableRippleModifierDirective] });
|
|
4319
|
+
DbxListLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxListLayoutModule, imports: [[CommonModule, DbxLoadingModule, DbxRouterAnchorModule, InfiniteScrollModule, DbxInjectionComponentModule, MatListModule, MatIconModule]] });
|
|
4802
4320
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxListLayoutModule, decorators: [{
|
|
4803
4321
|
type: NgModule,
|
|
4804
4322
|
args: [{
|
|
4805
|
-
imports: [
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
DbxRouterAnchorModule,
|
|
4809
|
-
InfiniteScrollModule,
|
|
4810
|
-
DbxInjectionComponentModule,
|
|
4811
|
-
MatListModule,
|
|
4812
|
-
MatIconModule
|
|
4813
|
-
],
|
|
4814
|
-
declarations: [
|
|
4815
|
-
DbxListComponent,
|
|
4816
|
-
DbxListInternalContentDirective,
|
|
4817
|
-
DbxListEmptyContentComponent,
|
|
4818
|
-
DbxValueListViewComponent,
|
|
4819
|
-
DbxValueListItemViewComponent,
|
|
4820
|
-
DbxSelectionValueListViewComponent,
|
|
4821
|
-
DbxSelectionValueListItemViewComponent,
|
|
4822
|
-
DbxValueListItemModifierDirective,
|
|
4823
|
-
DbxListItemDisableRippleModifierDirective
|
|
4824
|
-
],
|
|
4825
|
-
exports: [
|
|
4826
|
-
DbxListComponent,
|
|
4827
|
-
DbxListEmptyContentComponent,
|
|
4828
|
-
DbxValueListViewComponent,
|
|
4829
|
-
DbxValueListItemViewComponent,
|
|
4830
|
-
DbxSelectionValueListViewComponent,
|
|
4831
|
-
DbxSelectionValueListItemViewComponent,
|
|
4832
|
-
DbxValueListItemModifierDirective,
|
|
4833
|
-
DbxListItemDisableRippleModifierDirective
|
|
4834
|
-
]
|
|
4323
|
+
imports: [CommonModule, DbxLoadingModule, DbxRouterAnchorModule, InfiniteScrollModule, DbxInjectionComponentModule, MatListModule, MatIconModule],
|
|
4324
|
+
declarations: [DbxListComponent, DbxListInternalContentDirective, DbxListEmptyContentComponent, DbxValueListViewComponent, DbxValueListItemViewComponent, DbxSelectionValueListViewComponent, DbxSelectionValueListItemViewComponent, DbxValueListItemModifierDirective, DbxListItemDisableRippleModifierDirective],
|
|
4325
|
+
exports: [DbxListComponent, DbxListEmptyContentComponent, DbxValueListViewComponent, DbxValueListItemViewComponent, DbxSelectionValueListViewComponent, DbxSelectionValueListItemViewComponent, DbxValueListItemModifierDirective, DbxListItemDisableRippleModifierDirective]
|
|
4835
4326
|
}]
|
|
4836
4327
|
}] });
|
|
4837
4328
|
|
|
@@ -4902,9 +4393,9 @@ class AbstractDbxSelectionListViewDirective extends AbstractDbxListViewDirective
|
|
|
4902
4393
|
}
|
|
4903
4394
|
matSelectionChanged(selection) {
|
|
4904
4395
|
const options = selection.source.selectedOptions.selected;
|
|
4905
|
-
const items = options.map(x => {
|
|
4396
|
+
const items = options.map((x) => {
|
|
4906
4397
|
const { value: itemValue, selected, disabled } = x;
|
|
4907
|
-
return
|
|
4398
|
+
return { itemValue, selected, disabled };
|
|
4908
4399
|
});
|
|
4909
4400
|
this.selectionChanged({ items });
|
|
4910
4401
|
}
|
|
@@ -4942,10 +4433,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
4942
4433
|
class DbxListViewWrapper {
|
|
4943
4434
|
}
|
|
4944
4435
|
function provideDbxListViewWrapper(sourceType) {
|
|
4945
|
-
return [
|
|
4436
|
+
return [
|
|
4437
|
+
{
|
|
4946
4438
|
provide: DbxListViewWrapper,
|
|
4947
4439
|
useExisting: forwardRef(() => sourceType)
|
|
4948
|
-
}
|
|
4440
|
+
}
|
|
4441
|
+
];
|
|
4949
4442
|
}
|
|
4950
4443
|
|
|
4951
4444
|
/**
|
|
@@ -4981,7 +4474,8 @@ DbxSectionHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
4981
4474
|
</div>
|
|
4982
4475
|
<p *ngIf="hint" class="dbx-section-hint dbx-hint">{{ hint }}</p>
|
|
4983
4476
|
<ng-template #headerContentTitleTemplate>
|
|
4984
|
-
|
|
4477
|
+
<mat-icon *ngIf="icon">{{ icon }}</mat-icon>
|
|
4478
|
+
<span class="title-text">{{ header }}</span>
|
|
4985
4479
|
</ng-template>
|
|
4986
4480
|
`, isInline: true, components: [{ type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i3$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
4987
4481
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionHeaderComponent, decorators: [{
|
|
@@ -5012,7 +4506,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5012
4506
|
</div>
|
|
5013
4507
|
<p *ngIf="hint" class="dbx-section-hint dbx-hint">{{ hint }}</p>
|
|
5014
4508
|
<ng-template #headerContentTitleTemplate>
|
|
5015
|
-
|
|
4509
|
+
<mat-icon *ngIf="icon">{{ icon }}</mat-icon>
|
|
4510
|
+
<span class="title-text">{{ header }}</span>
|
|
5016
4511
|
</ng-template>
|
|
5017
4512
|
`
|
|
5018
4513
|
}]
|
|
@@ -5057,7 +4552,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5057
4552
|
</div>
|
|
5058
4553
|
`,
|
|
5059
4554
|
host: {
|
|
5060
|
-
|
|
4555
|
+
class: 'd-block, dbx-section',
|
|
5061
4556
|
'[class]': `(elevated) ? 'dbx-section-elevated' : ''`
|
|
5062
4557
|
}
|
|
5063
4558
|
}]
|
|
@@ -5082,40 +4577,40 @@ class DbxIntroActionSectionComponent extends DbxSectionComponent {
|
|
|
5082
4577
|
}
|
|
5083
4578
|
DbxIntroActionSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxIntroActionSectionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5084
4579
|
DbxIntroActionSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxIntroActionSectionComponent, selector: "dbx-intro-action-section", inputs: { showIntro: "showIntro", action: "action" }, outputs: { showAction: "showAction" }, usesInheritance: true, ngImport: i0, template: `
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
4580
|
+
<div class="dbx-intro-action-section" [ngSwitch]="showIntro">
|
|
4581
|
+
<div *ngSwitchCase="true" class="dbx-intro-action-section-intro">
|
|
4582
|
+
<p>{{ hint }}</p>
|
|
4583
|
+
<div>
|
|
4584
|
+
<ng-content select="[info]"></ng-content>
|
|
4585
|
+
</div>
|
|
4586
|
+
<div>
|
|
4587
|
+
<button mat-raised-button color="accent" (click)="actionClicked()">{{ action }}</button>
|
|
4588
|
+
</div>
|
|
5093
4589
|
</div>
|
|
4590
|
+
<ng-container *ngSwitchCase="false">
|
|
4591
|
+
<ng-content></ng-content>
|
|
4592
|
+
</ng-container>
|
|
5094
4593
|
</div>
|
|
5095
|
-
<ng-container *ngSwitchCase="false">
|
|
5096
|
-
<ng-content></ng-content>
|
|
5097
|
-
</ng-container>
|
|
5098
|
-
</div>
|
|
5099
4594
|
`, isInline: true, components: [{ type: i1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i3$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }] });
|
|
5100
4595
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxIntroActionSectionComponent, decorators: [{
|
|
5101
4596
|
type: Component,
|
|
5102
4597
|
args: [{
|
|
5103
4598
|
selector: 'dbx-intro-action-section',
|
|
5104
4599
|
template: `
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
4600
|
+
<div class="dbx-intro-action-section" [ngSwitch]="showIntro">
|
|
4601
|
+
<div *ngSwitchCase="true" class="dbx-intro-action-section-intro">
|
|
4602
|
+
<p>{{ hint }}</p>
|
|
4603
|
+
<div>
|
|
4604
|
+
<ng-content select="[info]"></ng-content>
|
|
4605
|
+
</div>
|
|
4606
|
+
<div>
|
|
4607
|
+
<button mat-raised-button color="accent" (click)="actionClicked()">{{ action }}</button>
|
|
4608
|
+
</div>
|
|
5113
4609
|
</div>
|
|
4610
|
+
<ng-container *ngSwitchCase="false">
|
|
4611
|
+
<ng-content></ng-content>
|
|
4612
|
+
</ng-container>
|
|
5114
4613
|
</div>
|
|
5115
|
-
<ng-container *ngSwitchCase="false">
|
|
5116
|
-
<ng-content></ng-content>
|
|
5117
|
-
</ng-container>
|
|
5118
|
-
</div>
|
|
5119
4614
|
`
|
|
5120
4615
|
}]
|
|
5121
4616
|
}], propDecorators: { showAction: [{
|
|
@@ -5133,28 +4628,28 @@ class DbxSubSectionComponent extends DbxSectionComponent {
|
|
|
5133
4628
|
}
|
|
5134
4629
|
DbxSubSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSubSectionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5135
4630
|
DbxSubSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxSubSectionComponent, selector: "dbx-subsection", usesInheritance: true, ngImport: i0, template: `
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
|
|
5141
|
-
|
|
4631
|
+
<div class="dbx-subsection">
|
|
4632
|
+
<div class="dbx-section-header" [h]="h ?? 4" [header]="header" [icon]="icon" [hint]="hint">
|
|
4633
|
+
<ng-content select="[sectionHeader]"></ng-content>
|
|
4634
|
+
</div>
|
|
4635
|
+
<div class="dbx-section-content">
|
|
4636
|
+
<ng-content></ng-content>
|
|
4637
|
+
</div>
|
|
5142
4638
|
</div>
|
|
5143
|
-
</div>
|
|
5144
4639
|
`, isInline: true, components: [{ type: DbxSectionHeaderComponent, selector: "dbx-section-header,.dbx-section-header", inputs: ["h", "header", "icon", "hint"] }] });
|
|
5145
4640
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSubSectionComponent, decorators: [{
|
|
5146
4641
|
type: Component,
|
|
5147
4642
|
args: [{
|
|
5148
4643
|
selector: 'dbx-subsection',
|
|
5149
4644
|
template: `
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
4645
|
+
<div class="dbx-subsection">
|
|
4646
|
+
<div class="dbx-section-header" [h]="h ?? 4" [header]="header" [icon]="icon" [hint]="hint">
|
|
4647
|
+
<ng-content select="[sectionHeader]"></ng-content>
|
|
4648
|
+
</div>
|
|
4649
|
+
<div class="dbx-section-content">
|
|
4650
|
+
<ng-content></ng-content>
|
|
4651
|
+
</div>
|
|
5156
4652
|
</div>
|
|
5157
|
-
</div>
|
|
5158
4653
|
`
|
|
5159
4654
|
}]
|
|
5160
4655
|
}] });
|
|
@@ -5166,24 +4661,24 @@ class DbxSectionPageComponent extends DbxSectionHeaderComponent {
|
|
|
5166
4661
|
}
|
|
5167
4662
|
DbxSectionPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionPageComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5168
4663
|
DbxSectionPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxSectionPageComponent, selector: "dbx-section-page", usesInheritance: true, ngImport: i0, template: `
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
4664
|
+
<div class="dbx-content-page dbx-section-page">
|
|
4665
|
+
<div class="dbx-section-header" [h]="h ?? 2" [header]="header" [icon]="icon" [hint]="hint">
|
|
4666
|
+
<ng-content select="[sectionHeader]"></ng-content>
|
|
4667
|
+
</div>
|
|
4668
|
+
<ng-content></ng-content>
|
|
5172
4669
|
</div>
|
|
5173
|
-
<ng-content></ng-content>
|
|
5174
|
-
</div>
|
|
5175
4670
|
`, isInline: true, components: [{ type: DbxSectionHeaderComponent, selector: "dbx-section-header,.dbx-section-header", inputs: ["h", "header", "icon", "hint"] }] });
|
|
5176
4671
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionPageComponent, decorators: [{
|
|
5177
4672
|
type: Component,
|
|
5178
4673
|
args: [{
|
|
5179
4674
|
selector: 'dbx-section-page',
|
|
5180
4675
|
template: `
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
|
|
4676
|
+
<div class="dbx-content-page dbx-section-page">
|
|
4677
|
+
<div class="dbx-section-header" [h]="h ?? 2" [header]="header" [icon]="icon" [hint]="hint">
|
|
4678
|
+
<ng-content select="[sectionHeader]"></ng-content>
|
|
4679
|
+
</div>
|
|
4680
|
+
<ng-content></ng-content>
|
|
5184
4681
|
</div>
|
|
5185
|
-
<ng-content></ng-content>
|
|
5186
|
-
</div>
|
|
5187
4682
|
`
|
|
5188
4683
|
}]
|
|
5189
4684
|
}] });
|
|
@@ -5194,60 +4689,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5194
4689
|
class DbxSectionLayoutModule {
|
|
5195
4690
|
}
|
|
5196
4691
|
DbxSectionLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5197
|
-
DbxSectionLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionLayoutModule, declarations: [DbxSectionHeaderComponent,
|
|
5198
|
-
|
|
5199
|
-
DbxSectionComponent,
|
|
5200
|
-
DbxSubSectionComponent,
|
|
5201
|
-
DbxIntroActionSectionComponent], imports: [CommonModule,
|
|
5202
|
-
DbxRouterAnchorModule,
|
|
5203
|
-
MatButtonModule,
|
|
5204
|
-
MatRippleModule,
|
|
5205
|
-
MatIconModule], exports: [DbxSectionHeaderComponent,
|
|
5206
|
-
DbxSectionPageComponent,
|
|
5207
|
-
DbxSectionComponent,
|
|
5208
|
-
DbxSubSectionComponent,
|
|
5209
|
-
DbxIntroActionSectionComponent] });
|
|
5210
|
-
DbxSectionLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionLayoutModule, imports: [[
|
|
5211
|
-
CommonModule,
|
|
5212
|
-
DbxRouterAnchorModule,
|
|
5213
|
-
MatButtonModule,
|
|
5214
|
-
MatRippleModule,
|
|
5215
|
-
MatIconModule
|
|
5216
|
-
]] });
|
|
4692
|
+
DbxSectionLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionLayoutModule, declarations: [DbxSectionHeaderComponent, DbxSectionPageComponent, DbxSectionComponent, DbxSubSectionComponent, DbxIntroActionSectionComponent], imports: [CommonModule, DbxRouterAnchorModule, MatButtonModule, MatRippleModule, MatIconModule], exports: [DbxSectionHeaderComponent, DbxSectionPageComponent, DbxSectionComponent, DbxSubSectionComponent, DbxIntroActionSectionComponent] });
|
|
4693
|
+
DbxSectionLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionLayoutModule, imports: [[CommonModule, DbxRouterAnchorModule, MatButtonModule, MatRippleModule, MatIconModule]] });
|
|
5217
4694
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionLayoutModule, decorators: [{
|
|
5218
4695
|
type: NgModule,
|
|
5219
4696
|
args: [{
|
|
5220
|
-
imports: [
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
MatButtonModule,
|
|
5224
|
-
MatRippleModule,
|
|
5225
|
-
MatIconModule
|
|
5226
|
-
],
|
|
5227
|
-
declarations: [
|
|
5228
|
-
DbxSectionHeaderComponent,
|
|
5229
|
-
DbxSectionPageComponent,
|
|
5230
|
-
DbxSectionComponent,
|
|
5231
|
-
DbxSubSectionComponent,
|
|
5232
|
-
DbxIntroActionSectionComponent
|
|
5233
|
-
],
|
|
5234
|
-
exports: [
|
|
5235
|
-
DbxSectionHeaderComponent,
|
|
5236
|
-
DbxSectionPageComponent,
|
|
5237
|
-
DbxSectionComponent,
|
|
5238
|
-
DbxSubSectionComponent,
|
|
5239
|
-
DbxIntroActionSectionComponent
|
|
5240
|
-
]
|
|
4697
|
+
imports: [CommonModule, DbxRouterAnchorModule, MatButtonModule, MatRippleModule, MatIconModule],
|
|
4698
|
+
declarations: [DbxSectionHeaderComponent, DbxSectionPageComponent, DbxSectionComponent, DbxSubSectionComponent, DbxIntroActionSectionComponent],
|
|
4699
|
+
exports: [DbxSectionHeaderComponent, DbxSectionPageComponent, DbxSectionComponent, DbxSubSectionComponent, DbxIntroActionSectionComponent]
|
|
5241
4700
|
}]
|
|
5242
4701
|
}] });
|
|
5243
4702
|
|
|
5244
4703
|
class DbxStepComponent {
|
|
5245
4704
|
}
|
|
5246
4705
|
DbxStepComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5247
|
-
DbxStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxStepComponent, selector: "dbx-step", inputs: { done: "done", step: "step", text: "text", hint: "hint" }, ngImport: i0, template: "<div class=\"step-section\" [ngClass]=\"
|
|
4706
|
+
DbxStepComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxStepComponent, selector: "dbx-step", inputs: { done: "done", step: "step", text: "text", hint: "hint" }, ngImport: i0, template: "<div class=\"step-section\" [ngClass]=\"done ? 'done' : ''\">\n <div class=\"step-section-header\">\n <span class=\"step\">{{ step }}.</span>\n <mat-icon class=\"done-check\" *ngIf=\"done\">done</mat-icon>\n <span class=\"text\">{{ text }}</span>\n <p *ngIf=\"hint\" class=\"hint\">{{ hint }}</p>\n </div>\n <div class=\"step-section-content\">\n <ng-content></ng-content>\n </div>\n</div>\n", components: [{ type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
5248
4707
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStepComponent, decorators: [{
|
|
5249
4708
|
type: Component,
|
|
5250
|
-
args: [{ selector: 'dbx-step', template: "<div class=\"step-section\" [ngClass]=\"
|
|
4709
|
+
args: [{ selector: 'dbx-step', template: "<div class=\"step-section\" [ngClass]=\"done ? 'done' : ''\">\n <div class=\"step-section-header\">\n <span class=\"step\">{{ step }}.</span>\n <mat-icon class=\"done-check\" *ngIf=\"done\">done</mat-icon>\n <span class=\"text\">{{ text }}</span>\n <p *ngIf=\"hint\" class=\"hint\">{{ hint }}</p>\n </div>\n <div class=\"step-section-content\">\n <ng-content></ng-content>\n </div>\n</div>\n" }]
|
|
5251
4710
|
}], propDecorators: { done: [{
|
|
5252
4711
|
type: Input
|
|
5253
4712
|
}], step: [{
|
|
@@ -5261,39 +4720,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5261
4720
|
class DbxStepLayoutModule {
|
|
5262
4721
|
}
|
|
5263
4722
|
DbxStepLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStepLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5264
|
-
DbxStepLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStepLayoutModule, declarations: [DbxStepComponent], imports: [CommonModule,
|
|
5265
|
-
|
|
5266
|
-
DbxStepLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStepLayoutModule, imports: [[
|
|
5267
|
-
CommonModule,
|
|
5268
|
-
MatIconModule
|
|
5269
|
-
]] });
|
|
4723
|
+
DbxStepLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStepLayoutModule, declarations: [DbxStepComponent], imports: [CommonModule, MatIconModule], exports: [DbxStepComponent] });
|
|
4724
|
+
DbxStepLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStepLayoutModule, imports: [[CommonModule, MatIconModule]] });
|
|
5270
4725
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStepLayoutModule, decorators: [{
|
|
5271
4726
|
type: NgModule,
|
|
5272
4727
|
args: [{
|
|
5273
|
-
imports: [
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
],
|
|
5277
|
-
declarations: [
|
|
5278
|
-
DbxStepComponent
|
|
5279
|
-
],
|
|
5280
|
-
exports: [
|
|
5281
|
-
DbxStepComponent
|
|
5282
|
-
],
|
|
4728
|
+
imports: [CommonModule, MatIconModule],
|
|
4729
|
+
declarations: [DbxStepComponent],
|
|
4730
|
+
exports: [DbxStepComponent]
|
|
5283
4731
|
}]
|
|
5284
4732
|
}] });
|
|
5285
4733
|
|
|
5286
4734
|
class DbxHintComponent {
|
|
5287
4735
|
}
|
|
5288
4736
|
DbxHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxHintComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5289
|
-
DbxHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxHintComponent, selector: "dbx-hint", host: { classAttribute: "dbx-hint" }, ngImport: i0, template:
|
|
4737
|
+
DbxHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxHintComponent, selector: "dbx-hint", host: { classAttribute: "dbx-hint" }, ngImport: i0, template: `
|
|
4738
|
+
<ng-content></ng-content>
|
|
4739
|
+
`, isInline: true });
|
|
5290
4740
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxHintComponent, decorators: [{
|
|
5291
4741
|
type: Component,
|
|
5292
4742
|
args: [{
|
|
5293
4743
|
selector: 'dbx-hint',
|
|
5294
|
-
template:
|
|
4744
|
+
template: `
|
|
4745
|
+
<ng-content></ng-content>
|
|
4746
|
+
`,
|
|
5295
4747
|
host: {
|
|
5296
|
-
|
|
4748
|
+
class: 'dbx-hint'
|
|
5297
4749
|
}
|
|
5298
4750
|
}]
|
|
5299
4751
|
}] });
|
|
@@ -5318,14 +4770,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5318
4770
|
class DbxLabelComponent {
|
|
5319
4771
|
}
|
|
5320
4772
|
DbxLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5321
|
-
DbxLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxLabelComponent, selector: "dbx-label", host: { classAttribute: "dbx-label" }, ngImport: i0, template:
|
|
4773
|
+
DbxLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxLabelComponent, selector: "dbx-label", host: { classAttribute: "dbx-label" }, ngImport: i0, template: `
|
|
4774
|
+
<ng-content></ng-content>
|
|
4775
|
+
`, isInline: true });
|
|
5322
4776
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLabelComponent, decorators: [{
|
|
5323
4777
|
type: Component,
|
|
5324
4778
|
args: [{
|
|
5325
4779
|
selector: 'dbx-label',
|
|
5326
|
-
template:
|
|
4780
|
+
template: `
|
|
4781
|
+
<ng-content></ng-content>
|
|
4782
|
+
`,
|
|
5327
4783
|
host: {
|
|
5328
|
-
|
|
4784
|
+
class: 'dbx-label'
|
|
5329
4785
|
}
|
|
5330
4786
|
}]
|
|
5331
4787
|
}] });
|
|
@@ -5337,13 +4793,13 @@ class DbxLinkifyComponent {
|
|
|
5337
4793
|
constructor(sanitizer) {
|
|
5338
4794
|
this.sanitizer = sanitizer;
|
|
5339
4795
|
this._text = new BehaviorSubject('');
|
|
5340
|
-
this.linkifiedText$ = this._text.pipe(distinctUntilChanged(), map(x => linkifyStr(x, {
|
|
4796
|
+
this.linkifiedText$ = this._text.pipe(distinctUntilChanged(), map((x) => linkifyStr(x, {
|
|
5341
4797
|
defaultProtocol: 'https',
|
|
5342
4798
|
target: {
|
|
5343
4799
|
url: '_blank'
|
|
5344
4800
|
}
|
|
5345
4801
|
})), shareReplay(1));
|
|
5346
|
-
this.linkifiedBody$ = this.linkifiedText$.pipe(map(x => {
|
|
4802
|
+
this.linkifiedBody$ = this.linkifiedText$.pipe(map((x) => {
|
|
5347
4803
|
return this.sanitizer.bypassSecurityTrustHtml(x);
|
|
5348
4804
|
}), shareReplay(1));
|
|
5349
4805
|
}
|
|
@@ -5358,12 +4814,16 @@ class DbxLinkifyComponent {
|
|
|
5358
4814
|
}
|
|
5359
4815
|
}
|
|
5360
4816
|
DbxLinkifyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLinkifyComponent, deps: [{ token: i1$8.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
|
|
5361
|
-
DbxLinkifyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxLinkifyComponent, selector: "dbx-linkify", inputs: { text: "text" }, ngImport: i0, template:
|
|
4817
|
+
DbxLinkifyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxLinkifyComponent, selector: "dbx-linkify", inputs: { text: "text" }, ngImport: i0, template: `
|
|
4818
|
+
<span class="dbx-linkify" [innerHTML]="linkifiedBody$ | async"></span>
|
|
4819
|
+
`, isInline: true, pipes: { "async": i3$1.AsyncPipe } });
|
|
5362
4820
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLinkifyComponent, decorators: [{
|
|
5363
4821
|
type: Component,
|
|
5364
4822
|
args: [{
|
|
5365
4823
|
selector: 'dbx-linkify',
|
|
5366
|
-
template:
|
|
4824
|
+
template: `
|
|
4825
|
+
<span class="dbx-linkify" [innerHTML]="linkifiedBody$ | async"></span>
|
|
4826
|
+
`
|
|
5367
4827
|
}]
|
|
5368
4828
|
}], ctorParameters: function () { return [{ type: i1$8.DomSanitizer }]; }, propDecorators: { text: [{
|
|
5369
4829
|
type: Input
|
|
@@ -5372,14 +4832,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5372
4832
|
class DbxNoteComponent {
|
|
5373
4833
|
}
|
|
5374
4834
|
DbxNoteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxNoteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5375
|
-
DbxNoteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxNoteComponent, selector: "dbx-note", host: { classAttribute: "dbx-note" }, ngImport: i0, template:
|
|
4835
|
+
DbxNoteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxNoteComponent, selector: "dbx-note", host: { classAttribute: "dbx-note" }, ngImport: i0, template: `
|
|
4836
|
+
<ng-content></ng-content>
|
|
4837
|
+
`, isInline: true });
|
|
5376
4838
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxNoteComponent, decorators: [{
|
|
5377
4839
|
type: Component,
|
|
5378
4840
|
args: [{
|
|
5379
4841
|
selector: 'dbx-note',
|
|
5380
|
-
template:
|
|
4842
|
+
template: `
|
|
4843
|
+
<ng-content></ng-content>
|
|
4844
|
+
`,
|
|
5381
4845
|
host: {
|
|
5382
|
-
|
|
4846
|
+
class: 'dbx-note'
|
|
5383
4847
|
}
|
|
5384
4848
|
}]
|
|
5385
4849
|
}] });
|
|
@@ -5387,14 +4851,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5387
4851
|
class DbxNoticeComponent {
|
|
5388
4852
|
}
|
|
5389
4853
|
DbxNoticeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxNoticeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5390
|
-
DbxNoticeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxNoticeComponent, selector: "dbx-notice", host: { classAttribute: "dbx-notice" }, ngImport: i0, template:
|
|
4854
|
+
DbxNoticeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxNoticeComponent, selector: "dbx-notice", host: { classAttribute: "dbx-notice" }, ngImport: i0, template: `
|
|
4855
|
+
<ng-content></ng-content>
|
|
4856
|
+
`, isInline: true });
|
|
5391
4857
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxNoticeComponent, decorators: [{
|
|
5392
4858
|
type: Component,
|
|
5393
4859
|
args: [{
|
|
5394
4860
|
selector: 'dbx-notice',
|
|
5395
|
-
template:
|
|
4861
|
+
template: `
|
|
4862
|
+
<ng-content></ng-content>
|
|
4863
|
+
`,
|
|
5396
4864
|
host: {
|
|
5397
|
-
|
|
4865
|
+
class: 'dbx-notice'
|
|
5398
4866
|
}
|
|
5399
4867
|
}]
|
|
5400
4868
|
}] });
|
|
@@ -5402,14 +4870,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5402
4870
|
class DbxOkComponent {
|
|
5403
4871
|
}
|
|
5404
4872
|
DbxOkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxOkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5405
|
-
DbxOkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxOkComponent, selector: "dbx-ok", host: { classAttribute: "dbx-ok" }, ngImport: i0, template:
|
|
4873
|
+
DbxOkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxOkComponent, selector: "dbx-ok", host: { classAttribute: "dbx-ok" }, ngImport: i0, template: `
|
|
4874
|
+
<ng-content></ng-content>
|
|
4875
|
+
`, isInline: true });
|
|
5406
4876
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxOkComponent, decorators: [{
|
|
5407
4877
|
type: Component,
|
|
5408
4878
|
args: [{
|
|
5409
4879
|
selector: 'dbx-ok',
|
|
5410
|
-
template:
|
|
4880
|
+
template: `
|
|
4881
|
+
<ng-content></ng-content>
|
|
4882
|
+
`,
|
|
5411
4883
|
host: {
|
|
5412
|
-
|
|
4884
|
+
class: 'dbx-ok'
|
|
5413
4885
|
}
|
|
5414
4886
|
}]
|
|
5415
4887
|
}] });
|
|
@@ -5417,14 +4889,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5417
4889
|
class DbxSuccessComponent {
|
|
5418
4890
|
}
|
|
5419
4891
|
DbxSuccessComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSuccessComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5420
|
-
DbxSuccessComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxSuccessComponent, selector: "dbx-success", host: { classAttribute: "dbx-success" }, ngImport: i0, template:
|
|
4892
|
+
DbxSuccessComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxSuccessComponent, selector: "dbx-success", host: { classAttribute: "dbx-success" }, ngImport: i0, template: `
|
|
4893
|
+
<ng-content></ng-content>
|
|
4894
|
+
`, isInline: true });
|
|
5421
4895
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSuccessComponent, decorators: [{
|
|
5422
4896
|
type: Component,
|
|
5423
4897
|
args: [{
|
|
5424
4898
|
selector: 'dbx-success',
|
|
5425
|
-
template:
|
|
4899
|
+
template: `
|
|
4900
|
+
<ng-content></ng-content>
|
|
4901
|
+
`,
|
|
5426
4902
|
host: {
|
|
5427
|
-
|
|
4903
|
+
class: 'dbx-success'
|
|
5428
4904
|
}
|
|
5429
4905
|
}]
|
|
5430
4906
|
}] });
|
|
@@ -5433,22 +4909,22 @@ class DbxTextChipsComponent {
|
|
|
5433
4909
|
}
|
|
5434
4910
|
DbxTextChipsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTextChipsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5435
4911
|
DbxTextChipsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxTextChipsComponent, selector: "dbx-text-chips", inputs: { chips: "chips" }, ngImport: i0, template: `
|
|
5436
|
-
|
|
5437
|
-
|
|
5438
|
-
|
|
5439
|
-
|
|
5440
|
-
|
|
4912
|
+
<mat-chip-list *ngIf="chips" [multiple]="false">
|
|
4913
|
+
<mat-chip *ngFor="let chip of chips" selected [color]="chip.color" [matTooltip]="chip.tooltip!" matTooltipPosition="above">
|
|
4914
|
+
{{ chip.text }}
|
|
4915
|
+
</mat-chip>
|
|
4916
|
+
</mat-chip-list>
|
|
5441
4917
|
`, isInline: true, components: [{ type: i1$9.MatChipList, selector: "mat-chip-list", inputs: ["errorStateMatcher", "multiple", "compareWith", "value", "required", "placeholder", "disabled", "aria-orientation", "selectable", "tabIndex"], outputs: ["change", "valueChange"], exportAs: ["matChipList"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$9.MatChip, selector: "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]", inputs: ["color", "disableRipple", "tabIndex", "selected", "value", "selectable", "disabled", "removable"], outputs: ["selectionChange", "destroyed", "removed"], exportAs: ["matChip"] }, { type: i3$5.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }] });
|
|
5442
4918
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTextChipsComponent, decorators: [{
|
|
5443
4919
|
type: Component,
|
|
5444
4920
|
args: [{
|
|
5445
4921
|
selector: 'dbx-text-chips',
|
|
5446
4922
|
template: `
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
|
|
4923
|
+
<mat-chip-list *ngIf="chips" [multiple]="false">
|
|
4924
|
+
<mat-chip *ngFor="let chip of chips" selected [color]="chip.color" [matTooltip]="chip.tooltip!" matTooltipPosition="above">
|
|
4925
|
+
{{ chip.text }}
|
|
4926
|
+
</mat-chip>
|
|
4927
|
+
</mat-chip-list>
|
|
5452
4928
|
`
|
|
5453
4929
|
}]
|
|
5454
4930
|
}], propDecorators: { chips: [{
|
|
@@ -5458,14 +4934,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5458
4934
|
class DbxWarnComponent {
|
|
5459
4935
|
}
|
|
5460
4936
|
DbxWarnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWarnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5461
|
-
DbxWarnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxWarnComponent, selector: "dbx-warn", host: { classAttribute: "dbx-warn" }, ngImport: i0, template:
|
|
4937
|
+
DbxWarnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxWarnComponent, selector: "dbx-warn", host: { classAttribute: "dbx-warn" }, ngImport: i0, template: `
|
|
4938
|
+
<ng-content></ng-content>
|
|
4939
|
+
`, isInline: true });
|
|
5462
4940
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWarnComponent, decorators: [{
|
|
5463
4941
|
type: Component,
|
|
5464
4942
|
args: [{
|
|
5465
4943
|
selector: 'dbx-warn',
|
|
5466
|
-
template:
|
|
4944
|
+
template: `
|
|
4945
|
+
<ng-content></ng-content>
|
|
4946
|
+
`,
|
|
5467
4947
|
host: {
|
|
5468
|
-
|
|
4948
|
+
class: 'dbx-warn'
|
|
5469
4949
|
}
|
|
5470
4950
|
}]
|
|
5471
4951
|
}] });
|
|
@@ -5473,120 +4953,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5473
4953
|
class DbxTextModule {
|
|
5474
4954
|
}
|
|
5475
4955
|
DbxTextModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTextModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5476
|
-
DbxTextModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTextModule, declarations: [DbxNoteComponent,
|
|
5477
|
-
|
|
5478
|
-
DbxSuccessComponent,
|
|
5479
|
-
DbxWarnComponent,
|
|
5480
|
-
DbxHintComponent,
|
|
5481
|
-
DbxLabelComponent,
|
|
5482
|
-
DbxLinkifyComponent,
|
|
5483
|
-
DbxOkComponent,
|
|
5484
|
-
DbxTextChipsComponent,
|
|
5485
|
-
DbxIconSpacerDirective], imports: [CommonModule,
|
|
5486
|
-
MatChipsModule,
|
|
5487
|
-
MatTooltipModule,
|
|
5488
|
-
MatIconModule], exports: [DbxNoteComponent,
|
|
5489
|
-
DbxNoticeComponent,
|
|
5490
|
-
DbxSuccessComponent,
|
|
5491
|
-
DbxWarnComponent,
|
|
5492
|
-
DbxHintComponent,
|
|
5493
|
-
DbxLabelComponent,
|
|
5494
|
-
DbxLinkifyComponent,
|
|
5495
|
-
DbxOkComponent,
|
|
5496
|
-
DbxTextChipsComponent,
|
|
5497
|
-
DbxIconSpacerDirective] });
|
|
5498
|
-
DbxTextModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTextModule, imports: [[
|
|
5499
|
-
CommonModule,
|
|
5500
|
-
MatChipsModule,
|
|
5501
|
-
MatTooltipModule,
|
|
5502
|
-
MatIconModule
|
|
5503
|
-
]] });
|
|
4956
|
+
DbxTextModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTextModule, declarations: [DbxNoteComponent, DbxNoticeComponent, DbxSuccessComponent, DbxWarnComponent, DbxHintComponent, DbxLabelComponent, DbxLinkifyComponent, DbxOkComponent, DbxTextChipsComponent, DbxIconSpacerDirective], imports: [CommonModule, MatChipsModule, MatTooltipModule, MatIconModule], exports: [DbxNoteComponent, DbxNoticeComponent, DbxSuccessComponent, DbxWarnComponent, DbxHintComponent, DbxLabelComponent, DbxLinkifyComponent, DbxOkComponent, DbxTextChipsComponent, DbxIconSpacerDirective] });
|
|
4957
|
+
DbxTextModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTextModule, imports: [[CommonModule, MatChipsModule, MatTooltipModule, MatIconModule]] });
|
|
5504
4958
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTextModule, decorators: [{
|
|
5505
4959
|
type: NgModule,
|
|
5506
4960
|
args: [{
|
|
5507
|
-
imports: [
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
MatTooltipModule,
|
|
5511
|
-
MatIconModule
|
|
5512
|
-
],
|
|
5513
|
-
declarations: [
|
|
5514
|
-
DbxNoteComponent,
|
|
5515
|
-
DbxNoticeComponent,
|
|
5516
|
-
DbxSuccessComponent,
|
|
5517
|
-
DbxWarnComponent,
|
|
5518
|
-
DbxHintComponent,
|
|
5519
|
-
DbxLabelComponent,
|
|
5520
|
-
DbxLinkifyComponent,
|
|
5521
|
-
DbxOkComponent,
|
|
5522
|
-
DbxTextChipsComponent,
|
|
5523
|
-
DbxIconSpacerDirective
|
|
5524
|
-
],
|
|
5525
|
-
exports: [
|
|
5526
|
-
DbxNoteComponent,
|
|
5527
|
-
DbxNoticeComponent,
|
|
5528
|
-
DbxSuccessComponent,
|
|
5529
|
-
DbxWarnComponent,
|
|
5530
|
-
DbxHintComponent,
|
|
5531
|
-
DbxLabelComponent,
|
|
5532
|
-
DbxLinkifyComponent,
|
|
5533
|
-
DbxOkComponent,
|
|
5534
|
-
DbxTextChipsComponent,
|
|
5535
|
-
DbxIconSpacerDirective
|
|
5536
|
-
],
|
|
4961
|
+
imports: [CommonModule, MatChipsModule, MatTooltipModule, MatIconModule],
|
|
4962
|
+
declarations: [DbxNoteComponent, DbxNoticeComponent, DbxSuccessComponent, DbxWarnComponent, DbxHintComponent, DbxLabelComponent, DbxLinkifyComponent, DbxOkComponent, DbxTextChipsComponent, DbxIconSpacerDirective],
|
|
4963
|
+
exports: [DbxNoteComponent, DbxNoticeComponent, DbxSuccessComponent, DbxWarnComponent, DbxHintComponent, DbxLabelComponent, DbxLinkifyComponent, DbxOkComponent, DbxTextChipsComponent, DbxIconSpacerDirective]
|
|
5537
4964
|
}]
|
|
5538
4965
|
}] });
|
|
5539
4966
|
|
|
5540
4967
|
class DbxLayoutModule {
|
|
5541
4968
|
}
|
|
5542
4969
|
DbxLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5543
|
-
DbxLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLayoutModule, exports: [DbxBarLayoutModule,
|
|
5544
|
-
|
|
5545
|
-
DbxCardBoxLayoutModule,
|
|
5546
|
-
DbxColumnLayoutModule,
|
|
5547
|
-
DbxCompactLayoutModule,
|
|
5548
|
-
DbxContentLayoutModule,
|
|
5549
|
-
DbxFlagLayoutModule,
|
|
5550
|
-
DbxFlexLayoutModule,
|
|
5551
|
-
DbxItemLayoutModule,
|
|
5552
|
-
DbxListLayoutModule,
|
|
5553
|
-
DbxSectionLayoutModule,
|
|
5554
|
-
DbxStepLayoutModule,
|
|
5555
|
-
DbxStyleLayoutModule,
|
|
5556
|
-
DbxTextModule] });
|
|
5557
|
-
DbxLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLayoutModule, imports: [DbxBarLayoutModule,
|
|
5558
|
-
DbxBlockLayoutModule,
|
|
5559
|
-
DbxCardBoxLayoutModule,
|
|
5560
|
-
DbxColumnLayoutModule,
|
|
5561
|
-
DbxCompactLayoutModule,
|
|
5562
|
-
DbxContentLayoutModule,
|
|
5563
|
-
DbxFlagLayoutModule,
|
|
5564
|
-
DbxFlexLayoutModule,
|
|
5565
|
-
DbxItemLayoutModule,
|
|
5566
|
-
DbxListLayoutModule,
|
|
5567
|
-
DbxSectionLayoutModule,
|
|
5568
|
-
DbxStepLayoutModule,
|
|
5569
|
-
DbxStyleLayoutModule,
|
|
5570
|
-
DbxTextModule] });
|
|
4970
|
+
DbxLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLayoutModule, exports: [DbxBarLayoutModule, DbxBlockLayoutModule, DbxCardBoxLayoutModule, DbxColumnLayoutModule, DbxCompactLayoutModule, DbxContentLayoutModule, DbxFlagLayoutModule, DbxFlexLayoutModule, DbxItemLayoutModule, DbxListLayoutModule, DbxSectionLayoutModule, DbxStepLayoutModule, DbxStyleLayoutModule, DbxTextModule] });
|
|
4971
|
+
DbxLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLayoutModule, imports: [DbxBarLayoutModule, DbxBlockLayoutModule, DbxCardBoxLayoutModule, DbxColumnLayoutModule, DbxCompactLayoutModule, DbxContentLayoutModule, DbxFlagLayoutModule, DbxFlexLayoutModule, DbxItemLayoutModule, DbxListLayoutModule, DbxSectionLayoutModule, DbxStepLayoutModule, DbxStyleLayoutModule, DbxTextModule] });
|
|
5571
4972
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLayoutModule, decorators: [{
|
|
5572
4973
|
type: NgModule,
|
|
5573
4974
|
args: [{
|
|
5574
|
-
exports: [
|
|
5575
|
-
DbxBarLayoutModule,
|
|
5576
|
-
DbxBlockLayoutModule,
|
|
5577
|
-
DbxCardBoxLayoutModule,
|
|
5578
|
-
DbxColumnLayoutModule,
|
|
5579
|
-
DbxCompactLayoutModule,
|
|
5580
|
-
DbxContentLayoutModule,
|
|
5581
|
-
DbxFlagLayoutModule,
|
|
5582
|
-
DbxFlexLayoutModule,
|
|
5583
|
-
DbxItemLayoutModule,
|
|
5584
|
-
DbxListLayoutModule,
|
|
5585
|
-
DbxSectionLayoutModule,
|
|
5586
|
-
DbxStepLayoutModule,
|
|
5587
|
-
DbxStyleLayoutModule,
|
|
5588
|
-
DbxTextModule
|
|
5589
|
-
],
|
|
4975
|
+
exports: [DbxBarLayoutModule, DbxBlockLayoutModule, DbxCardBoxLayoutModule, DbxColumnLayoutModule, DbxCompactLayoutModule, DbxContentLayoutModule, DbxFlagLayoutModule, DbxFlexLayoutModule, DbxItemLayoutModule, DbxListLayoutModule, DbxSectionLayoutModule, DbxStepLayoutModule, DbxStyleLayoutModule, DbxTextModule]
|
|
5590
4976
|
}]
|
|
5591
4977
|
}] });
|
|
5592
4978
|
|
|
@@ -5643,7 +5029,7 @@ class DbxPopoverCoordinatorComponent {
|
|
|
5643
5029
|
constructor(service, popover) {
|
|
5644
5030
|
this.service = service;
|
|
5645
5031
|
this.popover = popover;
|
|
5646
|
-
this.isPopoverForKey$ = this.service.popovers$.pipe(map(x => x.get(this.popover.key) === this.popover), shareReplay(1));
|
|
5032
|
+
this.isPopoverForKey$ = this.service.popovers$.pipe(map((x) => x.get(this.popover.key) === this.popover), shareReplay(1));
|
|
5647
5033
|
this.show$ = this.isPopoverForKey$.pipe(delay(0));
|
|
5648
5034
|
}
|
|
5649
5035
|
ngOnInit() {
|
|
@@ -5655,19 +5041,19 @@ class DbxPopoverCoordinatorComponent {
|
|
|
5655
5041
|
}
|
|
5656
5042
|
DbxPopoverCoordinatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverCoordinatorComponent, deps: [{ token: DbxPopoverCoordinatorService }, { token: DbxPopoverController }], target: i0.ɵɵFactoryTarget.Component });
|
|
5657
5043
|
DbxPopoverCoordinatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxPopoverCoordinatorComponent, selector: "dbx-popover-coordinator", ngImport: i0, template: `
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5044
|
+
<ng-container *ngIf="show$ | async">
|
|
5045
|
+
<ng-content></ng-content>
|
|
5046
|
+
</ng-container>
|
|
5661
5047
|
`, isInline: true, directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3$1.AsyncPipe } });
|
|
5662
5048
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverCoordinatorComponent, decorators: [{
|
|
5663
5049
|
type: Component,
|
|
5664
5050
|
args: [{
|
|
5665
5051
|
selector: 'dbx-popover-coordinator',
|
|
5666
5052
|
template: `
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5053
|
+
<ng-container *ngIf="show$ | async">
|
|
5054
|
+
<ng-content></ng-content>
|
|
5055
|
+
</ng-container>
|
|
5056
|
+
`
|
|
5671
5057
|
// TODO: styleUrls: ['./popover.scss']
|
|
5672
5058
|
}]
|
|
5673
5059
|
}], ctorParameters: function () { return [{ type: DbxPopoverCoordinatorService }, { type: DbxPopoverController }]; } });
|
|
@@ -5727,13 +5113,13 @@ class DbxPopoverComponent extends AbstractTransitionWatcherDirective {
|
|
|
5727
5113
|
this.lockSet = new LockSet();
|
|
5728
5114
|
this.contentConfig = {
|
|
5729
5115
|
componentClass: this.config.componentClass,
|
|
5730
|
-
init: this.config.init ? (
|
|
5116
|
+
init: this.config.init ? (instance) => this.config.init(instance, this) : undefined
|
|
5731
5117
|
};
|
|
5732
5118
|
this._startedClosing = false;
|
|
5733
5119
|
this._closing = new Subject();
|
|
5734
5120
|
this._triggerCloseKeys = [];
|
|
5735
5121
|
this.isClosing$ = this._closing.pipe(first(), map(() => true), startWith(false), shareReplay(1));
|
|
5736
|
-
this.closing$ = this.isClosing$.pipe(filter(x => x));
|
|
5122
|
+
this.closing$ = this.isClosing$.pipe(filter((x) => x));
|
|
5737
5123
|
// Override Close to properly signal to listeners when a close is occuring.
|
|
5738
5124
|
const originalClose = this.popoverRef.close;
|
|
5739
5125
|
this.popoverRef.close = (x) => {
|
|
@@ -5804,30 +5190,36 @@ class DbxPopoverComponent extends AbstractTransitionWatcherDirective {
|
|
|
5804
5190
|
}
|
|
5805
5191
|
}
|
|
5806
5192
|
DbxPopoverComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverComponent, deps: [{ token: i1$a.NgPopoverRef }, { token: CompactContextStore }, { token: i1$2.DbxRouterTransitionService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
5807
|
-
DbxPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxPopoverComponent, selector: "ng-component", providers: [
|
|
5193
|
+
DbxPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxPopoverComponent, selector: "ng-component", providers: [
|
|
5194
|
+
{
|
|
5808
5195
|
provide: DbxPopoverController,
|
|
5809
5196
|
useExisting: DbxPopoverComponent
|
|
5810
|
-
},
|
|
5197
|
+
},
|
|
5198
|
+
{
|
|
5811
5199
|
provide: CompactContextStore
|
|
5812
|
-
}
|
|
5813
|
-
|
|
5814
|
-
<
|
|
5815
|
-
|
|
5200
|
+
}
|
|
5201
|
+
], usesInheritance: true, ngImport: i0, template: `
|
|
5202
|
+
<dbx-popover-coordinator (dbxWindowKeyDownListener)="handleKeydown()" [appWindowKeyDownFilter]="triggerCloseKeys">
|
|
5203
|
+
<div dbxStyle class="dbx-popover-component" dbx-injection [config]="contentConfig"></div>
|
|
5204
|
+
</dbx-popover-coordinator>
|
|
5816
5205
|
`, isInline: true, components: [{ type: DbxPopoverCoordinatorComponent, selector: "dbx-popover-coordinator" }, { type: i1$2.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }], directives: [{ type: DbxWindowKeyDownListenerDirective, selector: "[dbxWindowKeyDownListener]", inputs: ["appWindowKeyDownEnabled", "appWindowKeyDownFilter"], outputs: ["dbxWindowKeyDownListener"] }, { type: DbxStyleDirective, selector: "dbx-style, [dbxStyle], .dbx-style" }] });
|
|
5817
5206
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverComponent, decorators: [{
|
|
5818
5207
|
type: Component,
|
|
5819
5208
|
args: [{
|
|
5820
5209
|
template: `
|
|
5821
|
-
|
|
5822
|
-
|
|
5823
|
-
|
|
5210
|
+
<dbx-popover-coordinator (dbxWindowKeyDownListener)="handleKeydown()" [appWindowKeyDownFilter]="triggerCloseKeys">
|
|
5211
|
+
<div dbxStyle class="dbx-popover-component" dbx-injection [config]="contentConfig"></div>
|
|
5212
|
+
</dbx-popover-coordinator>
|
|
5824
5213
|
`,
|
|
5825
|
-
providers: [
|
|
5214
|
+
providers: [
|
|
5215
|
+
{
|
|
5826
5216
|
provide: DbxPopoverController,
|
|
5827
5217
|
useExisting: DbxPopoverComponent
|
|
5828
|
-
},
|
|
5218
|
+
},
|
|
5219
|
+
{
|
|
5829
5220
|
provide: CompactContextStore
|
|
5830
|
-
}
|
|
5221
|
+
}
|
|
5222
|
+
]
|
|
5831
5223
|
}]
|
|
5832
5224
|
}], ctorParameters: function () { return [{ type: i1$a.NgPopoverRef }, { type: CompactContextStore }, { type: i1$2.DbxRouterTransitionService }, { type: i0.NgZone }]; } });
|
|
5833
5225
|
|
|
@@ -5870,25 +5262,25 @@ class DbxPopoverContentComponent {
|
|
|
5870
5262
|
}
|
|
5871
5263
|
DbxPopoverContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5872
5264
|
DbxPopoverContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxPopoverContentComponent, selector: "dbx-popover-content", ngImport: i0, template: `
|
|
5873
|
-
|
|
5874
|
-
|
|
5875
|
-
|
|
5876
|
-
|
|
5265
|
+
<div class="d-block dbx-popover-content" (resized)="onResized($event)" [style.--popoverh]="height$ | async">
|
|
5266
|
+
<ng-content select="[controls]"></ng-content>
|
|
5267
|
+
<div class="dbx-popover-content-container">
|
|
5268
|
+
<ng-content></ng-content>
|
|
5269
|
+
</div>
|
|
5877
5270
|
</div>
|
|
5878
|
-
|
|
5879
|
-
`, isInline: true, directives: [{ type: i1$7.ResizedDirective, selector: "[resized]", outputs: ["resized"] }], pipes: { "async": i3$1.AsyncPipe } });
|
|
5271
|
+
`, isInline: true, directives: [{ type: i1$7.ResizedDirective, selector: "[resized]", outputs: ["resized"] }], pipes: { "async": i3$1.AsyncPipe } });
|
|
5880
5272
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverContentComponent, decorators: [{
|
|
5881
5273
|
type: Component,
|
|
5882
5274
|
args: [{
|
|
5883
5275
|
selector: 'dbx-popover-content',
|
|
5884
5276
|
template: `
|
|
5885
|
-
|
|
5886
|
-
|
|
5887
|
-
|
|
5888
|
-
|
|
5277
|
+
<div class="d-block dbx-popover-content" (resized)="onResized($event)" [style.--popoverh]="height$ | async">
|
|
5278
|
+
<ng-content select="[controls]"></ng-content>
|
|
5279
|
+
<div class="dbx-popover-content-container">
|
|
5280
|
+
<ng-content></ng-content>
|
|
5281
|
+
</div>
|
|
5889
5282
|
</div>
|
|
5890
|
-
|
|
5891
|
-
`
|
|
5283
|
+
`
|
|
5892
5284
|
}]
|
|
5893
5285
|
}] });
|
|
5894
5286
|
|
|
@@ -5904,28 +5296,34 @@ class DbxPopoverHeaderComponent {
|
|
|
5904
5296
|
}
|
|
5905
5297
|
DbxPopoverHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverHeaderComponent, deps: [{ token: DbxPopoverContentComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
5906
5298
|
DbxPopoverHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxPopoverHeaderComponent, selector: "dbx-popover-header", inputs: { header: "header", icon: "icon" }, ngImport: i0, template: `
|
|
5907
|
-
|
|
5908
|
-
|
|
5909
|
-
|
|
5910
|
-
|
|
5911
|
-
|
|
5299
|
+
<div class="dbx-popover-header">
|
|
5300
|
+
<div class="dbx-popover-header-content">
|
|
5301
|
+
<h3>
|
|
5302
|
+
<mat-icon *ngIf="icon" class="dbx-icon-spacer">{{ icon }}</mat-icon>
|
|
5303
|
+
{{ header }}
|
|
5304
|
+
</h3>
|
|
5305
|
+
<span class="spacer"></span>
|
|
5306
|
+
<ng-content></ng-content>
|
|
5307
|
+
</div>
|
|
5912
5308
|
</div>
|
|
5913
|
-
|
|
5914
|
-
<mat-divider></mat-divider>
|
|
5309
|
+
<mat-divider></mat-divider>
|
|
5915
5310
|
`, isInline: true, components: [{ type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i4.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }], directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
5916
5311
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverHeaderComponent, decorators: [{
|
|
5917
5312
|
type: Component,
|
|
5918
5313
|
args: [{
|
|
5919
5314
|
selector: 'dbx-popover-header',
|
|
5920
5315
|
template: `
|
|
5921
|
-
|
|
5922
|
-
|
|
5923
|
-
|
|
5924
|
-
|
|
5925
|
-
|
|
5316
|
+
<div class="dbx-popover-header">
|
|
5317
|
+
<div class="dbx-popover-header-content">
|
|
5318
|
+
<h3>
|
|
5319
|
+
<mat-icon *ngIf="icon" class="dbx-icon-spacer">{{ icon }}</mat-icon>
|
|
5320
|
+
{{ header }}
|
|
5321
|
+
</h3>
|
|
5322
|
+
<span class="spacer"></span>
|
|
5323
|
+
<ng-content></ng-content>
|
|
5324
|
+
</div>
|
|
5926
5325
|
</div>
|
|
5927
|
-
|
|
5928
|
-
<mat-divider></mat-divider>
|
|
5326
|
+
<mat-divider></mat-divider>
|
|
5929
5327
|
`
|
|
5930
5328
|
}]
|
|
5931
5329
|
}], ctorParameters: function () {
|
|
@@ -5968,14 +5366,18 @@ class DbxPopoverScrollContentComponent {
|
|
|
5968
5366
|
}
|
|
5969
5367
|
}
|
|
5970
5368
|
DbxPopoverScrollContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverScrollContentComponent, deps: [{ token: DbxPopoverContentComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
5971
|
-
DbxPopoverScrollContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxPopoverScrollContentComponent, selector: "dbx-popover-scroll-content", host: { properties: { "class": "sizingClasses" }, classAttribute: "d-block dbx-popover-scroll-content" }, ngImport: i0, template:
|
|
5369
|
+
DbxPopoverScrollContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxPopoverScrollContentComponent, selector: "dbx-popover-scroll-content", host: { properties: { "class": "sizingClasses" }, classAttribute: "d-block dbx-popover-scroll-content" }, ngImport: i0, template: `
|
|
5370
|
+
<ng-content></ng-content>
|
|
5371
|
+
`, isInline: true });
|
|
5972
5372
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverScrollContentComponent, decorators: [{
|
|
5973
5373
|
type: Component,
|
|
5974
5374
|
args: [{
|
|
5975
5375
|
selector: 'dbx-popover-scroll-content',
|
|
5976
|
-
template:
|
|
5376
|
+
template: `
|
|
5377
|
+
<ng-content></ng-content>
|
|
5378
|
+
`,
|
|
5977
5379
|
host: {
|
|
5978
|
-
|
|
5380
|
+
class: 'd-block dbx-popover-scroll-content',
|
|
5979
5381
|
'[class]': 'sizingClasses'
|
|
5980
5382
|
}
|
|
5981
5383
|
}]
|
|
@@ -6070,7 +5472,7 @@ class DbxPopoverService {
|
|
|
6070
5472
|
}
|
|
6071
5473
|
open(config) {
|
|
6072
5474
|
var _a, _b;
|
|
6073
|
-
const service =
|
|
5475
|
+
const service = config.injector ? new NgOverlayContainerService(this._overlay, config.injector) : this._overlayContainerService;
|
|
6074
5476
|
const configuration = {
|
|
6075
5477
|
panelClass: 'dbx-popover-container',
|
|
6076
5478
|
originX: 'start',
|
|
@@ -6169,7 +5571,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
6169
5571
|
args: [{
|
|
6170
5572
|
selector: 'dbx-popover-controls,[dbxPopoverControls],.dbx-popover-controls',
|
|
6171
5573
|
host: {
|
|
6172
|
-
|
|
5574
|
+
class: 'd-block dbx-popover-controls'
|
|
6173
5575
|
}
|
|
6174
5576
|
}]
|
|
6175
5577
|
}], ctorParameters: function () {
|
|
@@ -6190,7 +5592,7 @@ class DbxActionPopoverDirective extends AbstractDbxActionValueOnTriggerDirective
|
|
|
6190
5592
|
this.isModifiedFunction = isModifiedFunction;
|
|
6191
5593
|
}
|
|
6192
5594
|
_getDataFromPopover() {
|
|
6193
|
-
return this._makePopoverRef().afterClosed$.pipe(first(), map(x => x.data));
|
|
5595
|
+
return this._makePopoverRef().afterClosed$.pipe(first(), map((x) => x.data));
|
|
6194
5596
|
}
|
|
6195
5597
|
_makePopoverRef() {
|
|
6196
5598
|
const origin = this.elementRef;
|
|
@@ -6221,21 +5623,13 @@ class DbxKeypressModule {
|
|
|
6221
5623
|
}
|
|
6222
5624
|
DbxKeypressModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxKeypressModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6223
5625
|
DbxKeypressModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxKeypressModule, declarations: [DbxWindowKeyDownListenerDirective], imports: [CommonModule], exports: [DbxWindowKeyDownListenerDirective] });
|
|
6224
|
-
DbxKeypressModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxKeypressModule, imports: [[
|
|
6225
|
-
CommonModule
|
|
6226
|
-
]] });
|
|
5626
|
+
DbxKeypressModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxKeypressModule, imports: [[CommonModule]] });
|
|
6227
5627
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxKeypressModule, decorators: [{
|
|
6228
5628
|
type: NgModule,
|
|
6229
5629
|
args: [{
|
|
6230
|
-
imports: [
|
|
6231
|
-
|
|
6232
|
-
]
|
|
6233
|
-
declarations: [
|
|
6234
|
-
DbxWindowKeyDownListenerDirective
|
|
6235
|
-
],
|
|
6236
|
-
exports: [
|
|
6237
|
-
DbxWindowKeyDownListenerDirective
|
|
6238
|
-
]
|
|
5630
|
+
imports: [CommonModule],
|
|
5631
|
+
declarations: [DbxWindowKeyDownListenerDirective],
|
|
5632
|
+
exports: [DbxWindowKeyDownListenerDirective]
|
|
6239
5633
|
}]
|
|
6240
5634
|
}] });
|
|
6241
5635
|
|
|
@@ -6263,7 +5657,7 @@ DbxActionKeyTriggerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12
|
|
|
6263
5657
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionKeyTriggerDirective, decorators: [{
|
|
6264
5658
|
type: Directive,
|
|
6265
5659
|
args: [{
|
|
6266
|
-
selector: '[dbxActionKeyTrigger]'
|
|
5660
|
+
selector: '[dbxActionKeyTrigger]'
|
|
6267
5661
|
}]
|
|
6268
5662
|
}], ctorParameters: function () {
|
|
6269
5663
|
return [{ type: i1$2.DbxActionContextStoreSourceInstance, decorators: [{
|
|
@@ -6280,10 +5674,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
6280
5674
|
class DbxPromptConfirm {
|
|
6281
5675
|
}
|
|
6282
5676
|
function provideDbxPromptConfirm(sourceType) {
|
|
6283
|
-
return [
|
|
5677
|
+
return [
|
|
5678
|
+
{
|
|
6284
5679
|
provide: DbxPromptConfirm,
|
|
6285
5680
|
useExisting: forwardRef(() => sourceType)
|
|
6286
|
-
}
|
|
5681
|
+
}
|
|
5682
|
+
];
|
|
6287
5683
|
}
|
|
6288
5684
|
|
|
6289
5685
|
/**
|
|
@@ -6515,14 +5911,18 @@ class DbxPromptBoxComponent {
|
|
|
6515
5911
|
}
|
|
6516
5912
|
}
|
|
6517
5913
|
DbxPromptBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPromptBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6518
|
-
DbxPromptBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxPromptBoxComponent, selector: "dbx-prompt-box", inputs: { elevated: "elevated" }, host: { properties: { "class.elevated": "elevated" }, classAttribute: "d-block dbx-prompt-box" }, ngImport: i0, template:
|
|
5914
|
+
DbxPromptBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxPromptBoxComponent, selector: "dbx-prompt-box", inputs: { elevated: "elevated" }, host: { properties: { "class.elevated": "elevated" }, classAttribute: "d-block dbx-prompt-box" }, ngImport: i0, template: `
|
|
5915
|
+
<ng-content></ng-content>
|
|
5916
|
+
`, isInline: true });
|
|
6519
5917
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPromptBoxComponent, decorators: [{
|
|
6520
5918
|
type: Component,
|
|
6521
5919
|
args: [{
|
|
6522
5920
|
selector: 'dbx-prompt-box',
|
|
6523
|
-
template:
|
|
5921
|
+
template: `
|
|
5922
|
+
<ng-content></ng-content>
|
|
5923
|
+
`,
|
|
6524
5924
|
host: {
|
|
6525
|
-
|
|
5925
|
+
class: 'd-block dbx-prompt-box',
|
|
6526
5926
|
'[class.elevated]': 'elevated'
|
|
6527
5927
|
}
|
|
6528
5928
|
}]
|
|
@@ -6552,7 +5952,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
6552
5952
|
</dbx-content-container>
|
|
6553
5953
|
`,
|
|
6554
5954
|
host: {
|
|
6555
|
-
|
|
5955
|
+
class: 'd-block dbx-prompt-page'
|
|
6556
5956
|
}
|
|
6557
5957
|
}]
|
|
6558
5958
|
}] });
|
|
@@ -6565,7 +5965,7 @@ class DbxPromptConfirmButtonDirective {
|
|
|
6565
5965
|
this.appButton = appButton;
|
|
6566
5966
|
this.prompt = prompt;
|
|
6567
5967
|
this.interceptButtonClick = () => {
|
|
6568
|
-
return this.prompt.showDialog().pipe(map(x => Boolean(x)));
|
|
5968
|
+
return this.prompt.showDialog().pipe(map((x) => Boolean(x)));
|
|
6569
5969
|
};
|
|
6570
5970
|
}
|
|
6571
5971
|
ngOnInit() {
|
|
@@ -6577,7 +5977,7 @@ DbxPromptConfirmButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion:
|
|
|
6577
5977
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPromptConfirmButtonDirective, decorators: [{
|
|
6578
5978
|
type: Directive,
|
|
6579
5979
|
args: [{
|
|
6580
|
-
selector: '[dbxPromptConfirmButton]'
|
|
5980
|
+
selector: '[dbxPromptConfirmButton]'
|
|
6581
5981
|
}]
|
|
6582
5982
|
}], ctorParameters: function () {
|
|
6583
5983
|
return [{ type: i1$2.DbxButtonDirective, decorators: [{
|
|
@@ -6590,68 +5990,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
6590
5990
|
class DbxPromptModule {
|
|
6591
5991
|
}
|
|
6592
5992
|
DbxPromptModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPromptModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6593
|
-
DbxPromptModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPromptModule, declarations: [DbxPromptComponent,
|
|
6594
|
-
|
|
6595
|
-
DbxPromptPageComponent,
|
|
6596
|
-
DbxPromptConfirmComponent,
|
|
6597
|
-
DbxPromptConfirmButtonDirective,
|
|
6598
|
-
DbxPromptConfirmDialogComponent,
|
|
6599
|
-
DbxPromptConfirmDirective], imports: [CommonModule,
|
|
6600
|
-
MatDialogModule,
|
|
6601
|
-
MatButtonModule,
|
|
6602
|
-
DbxTextModule,
|
|
6603
|
-
DbxButtonModule,
|
|
6604
|
-
DbxInjectionComponentModule,
|
|
6605
|
-
DbxDialogInteractionModule,
|
|
6606
|
-
DbxSectionLayoutModule,
|
|
6607
|
-
DbxContentLayoutModule], exports: [DbxPromptComponent,
|
|
6608
|
-
DbxPromptBoxComponent,
|
|
6609
|
-
DbxPromptPageComponent,
|
|
6610
|
-
DbxPromptConfirmComponent,
|
|
6611
|
-
DbxPromptConfirmButtonDirective,
|
|
6612
|
-
DbxPromptConfirmDirective] });
|
|
6613
|
-
DbxPromptModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPromptModule, imports: [[
|
|
6614
|
-
CommonModule,
|
|
6615
|
-
MatDialogModule,
|
|
6616
|
-
MatButtonModule,
|
|
6617
|
-
DbxTextModule,
|
|
6618
|
-
DbxButtonModule,
|
|
6619
|
-
DbxInjectionComponentModule,
|
|
6620
|
-
DbxDialogInteractionModule,
|
|
6621
|
-
DbxSectionLayoutModule,
|
|
6622
|
-
DbxContentLayoutModule
|
|
6623
|
-
]] });
|
|
5993
|
+
DbxPromptModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPromptModule, declarations: [DbxPromptComponent, DbxPromptBoxComponent, DbxPromptPageComponent, DbxPromptConfirmComponent, DbxPromptConfirmButtonDirective, DbxPromptConfirmDialogComponent, DbxPromptConfirmDirective], imports: [CommonModule, MatDialogModule, MatButtonModule, DbxTextModule, DbxButtonModule, DbxInjectionComponentModule, DbxDialogInteractionModule, DbxSectionLayoutModule, DbxContentLayoutModule], exports: [DbxPromptComponent, DbxPromptBoxComponent, DbxPromptPageComponent, DbxPromptConfirmComponent, DbxPromptConfirmButtonDirective, DbxPromptConfirmDirective] });
|
|
5994
|
+
DbxPromptModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPromptModule, imports: [[CommonModule, MatDialogModule, MatButtonModule, DbxTextModule, DbxButtonModule, DbxInjectionComponentModule, DbxDialogInteractionModule, DbxSectionLayoutModule, DbxContentLayoutModule]] });
|
|
6624
5995
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPromptModule, decorators: [{
|
|
6625
5996
|
type: NgModule,
|
|
6626
5997
|
args: [{
|
|
6627
|
-
imports: [
|
|
6628
|
-
|
|
6629
|
-
|
|
6630
|
-
MatButtonModule,
|
|
6631
|
-
DbxTextModule,
|
|
6632
|
-
DbxButtonModule,
|
|
6633
|
-
DbxInjectionComponentModule,
|
|
6634
|
-
DbxDialogInteractionModule,
|
|
6635
|
-
DbxSectionLayoutModule,
|
|
6636
|
-
DbxContentLayoutModule
|
|
6637
|
-
],
|
|
6638
|
-
declarations: [
|
|
6639
|
-
DbxPromptComponent,
|
|
6640
|
-
DbxPromptBoxComponent,
|
|
6641
|
-
DbxPromptPageComponent,
|
|
6642
|
-
DbxPromptConfirmComponent,
|
|
6643
|
-
DbxPromptConfirmButtonDirective,
|
|
6644
|
-
DbxPromptConfirmDialogComponent,
|
|
6645
|
-
DbxPromptConfirmDirective,
|
|
6646
|
-
],
|
|
6647
|
-
exports: [
|
|
6648
|
-
DbxPromptComponent,
|
|
6649
|
-
DbxPromptBoxComponent,
|
|
6650
|
-
DbxPromptPageComponent,
|
|
6651
|
-
DbxPromptConfirmComponent,
|
|
6652
|
-
DbxPromptConfirmButtonDirective,
|
|
6653
|
-
DbxPromptConfirmDirective,
|
|
6654
|
-
],
|
|
5998
|
+
imports: [CommonModule, MatDialogModule, MatButtonModule, DbxTextModule, DbxButtonModule, DbxInjectionComponentModule, DbxDialogInteractionModule, DbxSectionLayoutModule, DbxContentLayoutModule],
|
|
5999
|
+
declarations: [DbxPromptComponent, DbxPromptBoxComponent, DbxPromptPageComponent, DbxPromptConfirmComponent, DbxPromptConfirmButtonDirective, DbxPromptConfirmDialogComponent, DbxPromptConfirmDirective],
|
|
6000
|
+
exports: [DbxPromptComponent, DbxPromptBoxComponent, DbxPromptPageComponent, DbxPromptConfirmComponent, DbxPromptConfirmButtonDirective, DbxPromptConfirmDirective]
|
|
6655
6001
|
}]
|
|
6656
6002
|
}] });
|
|
6657
6003
|
|
|
@@ -6674,133 +6020,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
6674
6020
|
class DbxActionModule {
|
|
6675
6021
|
}
|
|
6676
6022
|
DbxActionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6677
|
-
DbxActionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionModule, declarations: [DbxActionKeyTriggerDirective,
|
|
6678
|
-
|
|
6679
|
-
DbxActionProgressComponent], imports: [CommonModule,
|
|
6680
|
-
DbxCoreActionModule,
|
|
6681
|
-
DbxButtonModule,
|
|
6682
|
-
DbxLoadingModule,
|
|
6683
|
-
MatSnackBarModule,
|
|
6684
|
-
MatDialogModule,
|
|
6685
|
-
MatButtonModule,
|
|
6686
|
-
DbxPromptModule], exports: [DbxCoreActionModule,
|
|
6687
|
-
DbxActionKeyTriggerDirective,
|
|
6688
|
-
DbxActionConfirmDirective,
|
|
6689
|
-
DbxActionProgressComponent] });
|
|
6690
|
-
DbxActionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionModule, imports: [[
|
|
6691
|
-
CommonModule,
|
|
6692
|
-
DbxCoreActionModule,
|
|
6693
|
-
DbxButtonModule,
|
|
6694
|
-
DbxLoadingModule,
|
|
6695
|
-
MatSnackBarModule,
|
|
6696
|
-
MatDialogModule,
|
|
6697
|
-
MatButtonModule,
|
|
6698
|
-
DbxPromptModule,
|
|
6699
|
-
], DbxCoreActionModule] });
|
|
6023
|
+
DbxActionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionModule, declarations: [DbxActionKeyTriggerDirective, DbxActionConfirmDirective, DbxActionProgressComponent], imports: [CommonModule, DbxCoreActionModule, DbxButtonModule, DbxLoadingModule, MatSnackBarModule, MatDialogModule, MatButtonModule, DbxPromptModule], exports: [DbxCoreActionModule, DbxActionKeyTriggerDirective, DbxActionConfirmDirective, DbxActionProgressComponent] });
|
|
6024
|
+
DbxActionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionModule, imports: [[CommonModule, DbxCoreActionModule, DbxButtonModule, DbxLoadingModule, MatSnackBarModule, MatDialogModule, MatButtonModule, DbxPromptModule], DbxCoreActionModule] });
|
|
6700
6025
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionModule, decorators: [{
|
|
6701
6026
|
type: NgModule,
|
|
6702
6027
|
args: [{
|
|
6703
|
-
imports: [
|
|
6704
|
-
|
|
6705
|
-
|
|
6706
|
-
DbxButtonModule,
|
|
6707
|
-
DbxLoadingModule,
|
|
6708
|
-
MatSnackBarModule,
|
|
6709
|
-
MatDialogModule,
|
|
6710
|
-
MatButtonModule,
|
|
6711
|
-
DbxPromptModule,
|
|
6712
|
-
],
|
|
6713
|
-
declarations: [
|
|
6714
|
-
DbxActionKeyTriggerDirective,
|
|
6715
|
-
DbxActionConfirmDirective,
|
|
6716
|
-
DbxActionProgressComponent,
|
|
6717
|
-
],
|
|
6718
|
-
exports: [
|
|
6719
|
-
DbxCoreActionModule,
|
|
6720
|
-
DbxActionKeyTriggerDirective,
|
|
6721
|
-
DbxActionConfirmDirective,
|
|
6722
|
-
DbxActionProgressComponent,
|
|
6723
|
-
]
|
|
6028
|
+
imports: [CommonModule, DbxCoreActionModule, DbxButtonModule, DbxLoadingModule, MatSnackBarModule, MatDialogModule, MatButtonModule, DbxPromptModule],
|
|
6029
|
+
declarations: [DbxActionKeyTriggerDirective, DbxActionConfirmDirective, DbxActionProgressComponent],
|
|
6030
|
+
exports: [DbxCoreActionModule, DbxActionKeyTriggerDirective, DbxActionConfirmDirective, DbxActionProgressComponent]
|
|
6724
6031
|
}]
|
|
6725
6032
|
}] });
|
|
6726
6033
|
|
|
6727
6034
|
class DbxPopoverInteractionModule {
|
|
6728
6035
|
}
|
|
6729
6036
|
DbxPopoverInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverInteractionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6730
|
-
DbxPopoverInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverInteractionModule, declarations: [DbxActionPopoverDirective,
|
|
6731
|
-
|
|
6732
|
-
DbxPopoverCoordinatorComponent,
|
|
6733
|
-
DbxPopoverContentComponent,
|
|
6734
|
-
DbxPopoverControlsDirective,
|
|
6735
|
-
DbxPopoverHeaderComponent,
|
|
6736
|
-
DbxPopoverScrollContentComponent], imports: [CommonModule,
|
|
6737
|
-
MatIconModule,
|
|
6738
|
-
MatButtonModule,
|
|
6739
|
-
MatDividerModule,
|
|
6740
|
-
DbxButtonModule,
|
|
6741
|
-
DbxRouterAnchorModule,
|
|
6742
|
-
DbxActionModule,
|
|
6743
|
-
DbxKeypressModule,
|
|
6744
|
-
DbxStyleLayoutModule,
|
|
6745
|
-
DbxInjectionComponentModule,
|
|
6746
|
-
NgOverlayContainerModule,
|
|
6747
|
-
AngularResizeEventModule], exports: [DbxActionPopoverDirective,
|
|
6748
|
-
DbxPopoverContentComponent,
|
|
6749
|
-
DbxPopoverControlsDirective,
|
|
6750
|
-
DbxPopoverHeaderComponent,
|
|
6751
|
-
DbxPopoverScrollContentComponent] });
|
|
6752
|
-
DbxPopoverInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverInteractionModule, providers: [
|
|
6753
|
-
DbxPopoverService
|
|
6754
|
-
], imports: [[
|
|
6755
|
-
CommonModule,
|
|
6756
|
-
MatIconModule,
|
|
6757
|
-
MatButtonModule,
|
|
6758
|
-
MatDividerModule,
|
|
6759
|
-
DbxButtonModule,
|
|
6760
|
-
DbxRouterAnchorModule,
|
|
6761
|
-
DbxActionModule,
|
|
6762
|
-
DbxKeypressModule,
|
|
6763
|
-
DbxStyleLayoutModule,
|
|
6764
|
-
DbxInjectionComponentModule,
|
|
6765
|
-
NgOverlayContainerModule,
|
|
6766
|
-
AngularResizeEventModule
|
|
6767
|
-
]] });
|
|
6037
|
+
DbxPopoverInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverInteractionModule, declarations: [DbxActionPopoverDirective, DbxPopoverComponent, DbxPopoverCoordinatorComponent, DbxPopoverContentComponent, DbxPopoverControlsDirective, DbxPopoverHeaderComponent, DbxPopoverScrollContentComponent], imports: [CommonModule, MatIconModule, MatButtonModule, MatDividerModule, DbxButtonModule, DbxRouterAnchorModule, DbxActionModule, DbxKeypressModule, DbxStyleLayoutModule, DbxInjectionComponentModule, NgOverlayContainerModule, AngularResizeEventModule], exports: [DbxActionPopoverDirective, DbxPopoverContentComponent, DbxPopoverControlsDirective, DbxPopoverHeaderComponent, DbxPopoverScrollContentComponent] });
|
|
6038
|
+
DbxPopoverInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverInteractionModule, providers: [DbxPopoverService], imports: [[CommonModule, MatIconModule, MatButtonModule, MatDividerModule, DbxButtonModule, DbxRouterAnchorModule, DbxActionModule, DbxKeypressModule, DbxStyleLayoutModule, DbxInjectionComponentModule, NgOverlayContainerModule, AngularResizeEventModule]] });
|
|
6768
6039
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverInteractionModule, decorators: [{
|
|
6769
6040
|
type: NgModule,
|
|
6770
6041
|
args: [{
|
|
6771
|
-
imports: [
|
|
6772
|
-
|
|
6773
|
-
|
|
6774
|
-
|
|
6775
|
-
MatDividerModule,
|
|
6776
|
-
DbxButtonModule,
|
|
6777
|
-
DbxRouterAnchorModule,
|
|
6778
|
-
DbxActionModule,
|
|
6779
|
-
DbxKeypressModule,
|
|
6780
|
-
DbxStyleLayoutModule,
|
|
6781
|
-
DbxInjectionComponentModule,
|
|
6782
|
-
NgOverlayContainerModule,
|
|
6783
|
-
AngularResizeEventModule
|
|
6784
|
-
],
|
|
6785
|
-
declarations: [
|
|
6786
|
-
DbxActionPopoverDirective,
|
|
6787
|
-
DbxPopoverComponent,
|
|
6788
|
-
DbxPopoverCoordinatorComponent,
|
|
6789
|
-
DbxPopoverContentComponent,
|
|
6790
|
-
DbxPopoverControlsDirective,
|
|
6791
|
-
DbxPopoverHeaderComponent,
|
|
6792
|
-
DbxPopoverScrollContentComponent
|
|
6793
|
-
],
|
|
6794
|
-
exports: [
|
|
6795
|
-
DbxActionPopoverDirective,
|
|
6796
|
-
DbxPopoverContentComponent,
|
|
6797
|
-
DbxPopoverControlsDirective,
|
|
6798
|
-
DbxPopoverHeaderComponent,
|
|
6799
|
-
DbxPopoverScrollContentComponent
|
|
6800
|
-
],
|
|
6801
|
-
providers: [
|
|
6802
|
-
DbxPopoverService
|
|
6803
|
-
]
|
|
6042
|
+
imports: [CommonModule, MatIconModule, MatButtonModule, MatDividerModule, DbxButtonModule, DbxRouterAnchorModule, DbxActionModule, DbxKeypressModule, DbxStyleLayoutModule, DbxInjectionComponentModule, NgOverlayContainerModule, AngularResizeEventModule],
|
|
6043
|
+
declarations: [DbxActionPopoverDirective, DbxPopoverComponent, DbxPopoverCoordinatorComponent, DbxPopoverContentComponent, DbxPopoverControlsDirective, DbxPopoverHeaderComponent, DbxPopoverScrollContentComponent],
|
|
6044
|
+
exports: [DbxActionPopoverDirective, DbxPopoverContentComponent, DbxPopoverControlsDirective, DbxPopoverHeaderComponent, DbxPopoverScrollContentComponent],
|
|
6045
|
+
providers: [DbxPopoverService]
|
|
6804
6046
|
}]
|
|
6805
6047
|
}] });
|
|
6806
6048
|
|
|
@@ -6835,18 +6077,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
6835
6077
|
class DbxFilterInteractionModule {
|
|
6836
6078
|
}
|
|
6837
6079
|
DbxFilterInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFilterInteractionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6838
|
-
DbxFilterInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFilterInteractionModule, declarations: [DbxFilterPopoverComponent,
|
|
6839
|
-
DbxFilterPopoverButtonComponent,
|
|
6840
|
-
DbxFilterWrapperComponent], imports: [CommonModule,
|
|
6080
|
+
DbxFilterInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFilterInteractionModule, declarations: [DbxFilterPopoverComponent, DbxFilterPopoverButtonComponent, DbxFilterWrapperComponent], imports: [CommonModule,
|
|
6841
6081
|
DbxPopoverInteractionModule,
|
|
6842
6082
|
DbxCoreFilterModule,
|
|
6843
6083
|
DbxInjectionComponentModule,
|
|
6844
6084
|
FlexLayoutModule,
|
|
6845
6085
|
// Material
|
|
6846
6086
|
MatIconModule,
|
|
6847
|
-
MatButtonModule], exports: [DbxCoreFilterModule,
|
|
6848
|
-
DbxFilterPopoverButtonComponent,
|
|
6849
|
-
DbxFilterWrapperComponent] });
|
|
6087
|
+
MatButtonModule], exports: [DbxCoreFilterModule, DbxFilterPopoverButtonComponent, DbxFilterWrapperComponent] });
|
|
6850
6088
|
DbxFilterInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFilterInteractionModule, imports: [[
|
|
6851
6089
|
CommonModule,
|
|
6852
6090
|
DbxPopoverInteractionModule,
|
|
@@ -6870,16 +6108,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
6870
6108
|
MatIconModule,
|
|
6871
6109
|
MatButtonModule
|
|
6872
6110
|
],
|
|
6873
|
-
declarations: [
|
|
6874
|
-
|
|
6875
|
-
DbxFilterPopoverButtonComponent,
|
|
6876
|
-
DbxFilterWrapperComponent,
|
|
6877
|
-
],
|
|
6878
|
-
exports: [
|
|
6879
|
-
DbxCoreFilterModule,
|
|
6880
|
-
DbxFilterPopoverButtonComponent,
|
|
6881
|
-
DbxFilterWrapperComponent,
|
|
6882
|
-
]
|
|
6111
|
+
declarations: [DbxFilterPopoverComponent, DbxFilterPopoverButtonComponent, DbxFilterWrapperComponent],
|
|
6112
|
+
exports: [DbxCoreFilterModule, DbxFilterPopoverButtonComponent, DbxFilterWrapperComponent]
|
|
6883
6113
|
}]
|
|
6884
6114
|
}] });
|
|
6885
6115
|
|
|
@@ -7043,7 +6273,7 @@ class DbxPopupCoordinatorComponent {
|
|
|
7043
6273
|
constructor(service, popup) {
|
|
7044
6274
|
this.service = service;
|
|
7045
6275
|
this.popup = popup;
|
|
7046
|
-
this.isPopupForKey$ = this.service.popups$.pipe(map(x => x.get(this.popup.key) === this.popup), shareReplay(1));
|
|
6276
|
+
this.isPopupForKey$ = this.service.popups$.pipe(map((x) => x.get(this.popup.key) === this.popup), shareReplay(1));
|
|
7047
6277
|
this.show$ = this.isPopupForKey$.pipe(delay(0));
|
|
7048
6278
|
}
|
|
7049
6279
|
ngOnInit() {
|
|
@@ -7055,18 +6285,18 @@ class DbxPopupCoordinatorComponent {
|
|
|
7055
6285
|
}
|
|
7056
6286
|
DbxPopupCoordinatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopupCoordinatorComponent, deps: [{ token: DbxPopupCoordinatorService }, { token: DbxPopupController }], target: i0.ɵɵFactoryTarget.Component });
|
|
7057
6287
|
DbxPopupCoordinatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxPopupCoordinatorComponent, selector: "dbx-popup-coordinator", ngImport: i0, template: `
|
|
7058
|
-
|
|
7059
|
-
|
|
7060
|
-
|
|
6288
|
+
<ng-container *ngIf="show$ | async">
|
|
6289
|
+
<ng-content></ng-content>
|
|
6290
|
+
</ng-container>
|
|
7061
6291
|
`, isInline: true, directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3$1.AsyncPipe } });
|
|
7062
6292
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopupCoordinatorComponent, decorators: [{
|
|
7063
6293
|
type: Component,
|
|
7064
6294
|
args: [{
|
|
7065
6295
|
selector: 'dbx-popup-coordinator',
|
|
7066
6296
|
template: `
|
|
7067
|
-
|
|
7068
|
-
|
|
7069
|
-
|
|
6297
|
+
<ng-container *ngIf="show$ | async">
|
|
6298
|
+
<ng-content></ng-content>
|
|
6299
|
+
</ng-container>
|
|
7070
6300
|
`
|
|
7071
6301
|
}]
|
|
7072
6302
|
}], ctorParameters: function () { return [{ type: DbxPopupCoordinatorService }, { type: DbxPopupController }]; } });
|
|
@@ -7086,11 +6316,11 @@ class DbxPopupComponent extends AbstractTransitionWatcherDirective {
|
|
|
7086
6316
|
this.compactContextState = compactContextState;
|
|
7087
6317
|
this.contentConfig = {
|
|
7088
6318
|
componentClass: this.config.componentClass,
|
|
7089
|
-
init: this.config.init ? (
|
|
6319
|
+
init: this.config.init ? (instance) => this.config.init(instance, this) : undefined
|
|
7090
6320
|
};
|
|
7091
6321
|
this.closing = new Subject();
|
|
7092
6322
|
this.isClosing$ = this.closing.pipe(first(), map(() => true), startWith(false), shareReplay(1));
|
|
7093
|
-
this.closing$ = this.isClosing$.pipe(filter(x => x));
|
|
6323
|
+
this.closing$ = this.isClosing$.pipe(filter((x) => x));
|
|
7094
6324
|
this._windowState = new BehaviorSubject(DbxPopupWindowState.NORMAL);
|
|
7095
6325
|
this.windowState$ = this._windowState.asObservable();
|
|
7096
6326
|
this.compactContextState.setMode(CompactMode.COMPACT);
|
|
@@ -7154,30 +6384,36 @@ class DbxPopupComponent extends AbstractTransitionWatcherDirective {
|
|
|
7154
6384
|
}
|
|
7155
6385
|
}
|
|
7156
6386
|
DbxPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopupComponent, deps: [{ token: i1$a.NgPopoverRef }, { token: CompactContextStore }, { token: i1$2.DbxRouterTransitionService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
7157
|
-
DbxPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxPopupComponent, selector: "ng-component", providers: [
|
|
6387
|
+
DbxPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxPopupComponent, selector: "ng-component", providers: [
|
|
6388
|
+
{
|
|
7158
6389
|
provide: DbxPopupController,
|
|
7159
6390
|
useExisting: DbxPopupComponent
|
|
7160
|
-
},
|
|
6391
|
+
},
|
|
6392
|
+
{
|
|
7161
6393
|
provide: CompactContextStore
|
|
7162
|
-
}
|
|
7163
|
-
|
|
7164
|
-
<
|
|
7165
|
-
|
|
6394
|
+
}
|
|
6395
|
+
], usesInheritance: true, ngImport: i0, template: `
|
|
6396
|
+
<dbx-popup-coordinator>
|
|
6397
|
+
<div class="dbx-popup-component" dbx-injection [config]="contentConfig"></div>
|
|
6398
|
+
</dbx-popup-coordinator>
|
|
7166
6399
|
`, isInline: true, components: [{ type: DbxPopupCoordinatorComponent, selector: "dbx-popup-coordinator" }, { type: i1$2.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }] });
|
|
7167
6400
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopupComponent, decorators: [{
|
|
7168
6401
|
type: Component,
|
|
7169
6402
|
args: [{
|
|
7170
6403
|
template: `
|
|
7171
|
-
|
|
7172
|
-
|
|
7173
|
-
|
|
6404
|
+
<dbx-popup-coordinator>
|
|
6405
|
+
<div class="dbx-popup-component" dbx-injection [config]="contentConfig"></div>
|
|
6406
|
+
</dbx-popup-coordinator>
|
|
7174
6407
|
`,
|
|
7175
|
-
providers: [
|
|
6408
|
+
providers: [
|
|
6409
|
+
{
|
|
7176
6410
|
provide: DbxPopupController,
|
|
7177
6411
|
useExisting: DbxPopupComponent
|
|
7178
|
-
},
|
|
6412
|
+
},
|
|
6413
|
+
{
|
|
7179
6414
|
provide: CompactContextStore
|
|
7180
|
-
}
|
|
6415
|
+
}
|
|
6416
|
+
]
|
|
7181
6417
|
}]
|
|
7182
6418
|
}], ctorParameters: function () { return [{ type: i1$a.NgPopoverRef }, { type: CompactContextStore }, { type: i1$2.DbxRouterTransitionService }, { type: i0.NgZone }]; } });
|
|
7183
6419
|
|
|
@@ -7204,7 +6440,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
7204
6440
|
class DbxPopupContentComponent {
|
|
7205
6441
|
constructor(appPopupController) {
|
|
7206
6442
|
this.appPopupController = appPopupController;
|
|
7207
|
-
this.showContent$ = this.appPopupController.windowState$.pipe(map(x => x !== DbxPopupWindowState.MINIMIZED));
|
|
6443
|
+
this.showContent$ = this.appPopupController.windowState$.pipe(map((x) => x !== DbxPopupWindowState.MINIMIZED));
|
|
7208
6444
|
}
|
|
7209
6445
|
}
|
|
7210
6446
|
DbxPopupContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopupContentComponent, deps: [{ token: DbxPopupController }], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -7225,7 +6461,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
7225
6461
|
</div>
|
|
7226
6462
|
`,
|
|
7227
6463
|
host: {
|
|
7228
|
-
|
|
6464
|
+
class: 'dbx-popup-content'
|
|
7229
6465
|
}
|
|
7230
6466
|
}]
|
|
7231
6467
|
}], ctorParameters: function () { return [{ type: DbxPopupController }]; } });
|
|
@@ -7236,8 +6472,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
7236
6472
|
class DbxPopupControlButtonsComponent {
|
|
7237
6473
|
constructor(appPopupController) {
|
|
7238
6474
|
this.appPopupController = appPopupController;
|
|
7239
|
-
this.isMinimized$ = this.appPopupController.windowState$.pipe(map(x => x === DbxPopupWindowState.MINIMIZED));
|
|
7240
|
-
this.isFullscreen$ = this.appPopupController.windowState$.pipe(map(x => x === DbxPopupWindowState.FULLSCREEN));
|
|
6475
|
+
this.isMinimized$ = this.appPopupController.windowState$.pipe(map((x) => x === DbxPopupWindowState.MINIMIZED));
|
|
6476
|
+
this.isFullscreen$ = this.appPopupController.windowState$.pipe(map((x) => x === DbxPopupWindowState.FULLSCREEN));
|
|
7241
6477
|
}
|
|
7242
6478
|
minimizeClicked() {
|
|
7243
6479
|
this.appPopupController.minimize();
|
|
@@ -7287,7 +6523,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
7287
6523
|
<dbx-button [flat]="true" icon="close" color="warn" (buttonClick)="closeClicked()"></dbx-button>
|
|
7288
6524
|
`,
|
|
7289
6525
|
host: {
|
|
7290
|
-
|
|
6526
|
+
class: 'dbx-popup-control-buttons'
|
|
7291
6527
|
}
|
|
7292
6528
|
}]
|
|
7293
6529
|
}], ctorParameters: function () { return [{ type: DbxPopupController }]; } });
|
|
@@ -7313,7 +6549,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
7313
6549
|
<dbx-popup-control-buttons></dbx-popup-control-buttons>
|
|
7314
6550
|
`,
|
|
7315
6551
|
host: {
|
|
7316
|
-
|
|
6552
|
+
class: 'dbx-popup-controls'
|
|
7317
6553
|
}
|
|
7318
6554
|
}]
|
|
7319
6555
|
}], propDecorators: { header: [{
|
|
@@ -7331,7 +6567,7 @@ class DbxPopupService {
|
|
|
7331
6567
|
}
|
|
7332
6568
|
open(config) {
|
|
7333
6569
|
var _a, _b;
|
|
7334
|
-
const service =
|
|
6570
|
+
const service = config.injector ? new NgOverlayContainerService(this._overlay, config.injector) : this._overlayContainerService;
|
|
7335
6571
|
const isDraggable = (_a = config.isDraggable) !== null && _a !== void 0 ? _a : false;
|
|
7336
6572
|
const position = (_b = config.position) !== null && _b !== void 0 ? _b : 'bottom_right';
|
|
7337
6573
|
return service.open({
|
|
@@ -7358,130 +6594,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
7358
6594
|
class DbxPopupInteractionModule {
|
|
7359
6595
|
}
|
|
7360
6596
|
DbxPopupInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopupInteractionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7361
|
-
DbxPopupInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopupInteractionModule, declarations: [DbxPopupComponent,
|
|
7362
|
-
|
|
7363
|
-
DbxPopupContentComponent,
|
|
7364
|
-
DbxPopupControlsComponent,
|
|
7365
|
-
DbxPopupControlButtonsComponent], imports: [CommonModule,
|
|
7366
|
-
MatIconModule,
|
|
7367
|
-
MatButtonModule,
|
|
7368
|
-
DbxButtonModule,
|
|
7369
|
-
DbxRouterAnchorModule,
|
|
7370
|
-
DbxActionModule,
|
|
7371
|
-
DbxStyleLayoutModule,
|
|
7372
|
-
DbxInjectionComponentModule,
|
|
7373
|
-
NgOverlayContainerModule], exports: [DbxPopupContentComponent,
|
|
7374
|
-
DbxPopupControlsComponent,
|
|
7375
|
-
DbxPopupControlButtonsComponent] });
|
|
7376
|
-
DbxPopupInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopupInteractionModule, providers: [
|
|
7377
|
-
DbxPopupService
|
|
7378
|
-
], imports: [[
|
|
7379
|
-
CommonModule,
|
|
7380
|
-
MatIconModule,
|
|
7381
|
-
MatButtonModule,
|
|
7382
|
-
DbxButtonModule,
|
|
7383
|
-
DbxRouterAnchorModule,
|
|
7384
|
-
DbxActionModule,
|
|
7385
|
-
DbxStyleLayoutModule,
|
|
7386
|
-
DbxInjectionComponentModule,
|
|
7387
|
-
NgOverlayContainerModule,
|
|
7388
|
-
]] });
|
|
6597
|
+
DbxPopupInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopupInteractionModule, declarations: [DbxPopupComponent, DbxPopupCoordinatorComponent, DbxPopupContentComponent, DbxPopupControlsComponent, DbxPopupControlButtonsComponent], imports: [CommonModule, MatIconModule, MatButtonModule, DbxButtonModule, DbxRouterAnchorModule, DbxActionModule, DbxStyleLayoutModule, DbxInjectionComponentModule, NgOverlayContainerModule], exports: [DbxPopupContentComponent, DbxPopupControlsComponent, DbxPopupControlButtonsComponent] });
|
|
6598
|
+
DbxPopupInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopupInteractionModule, providers: [DbxPopupService], imports: [[CommonModule, MatIconModule, MatButtonModule, DbxButtonModule, DbxRouterAnchorModule, DbxActionModule, DbxStyleLayoutModule, DbxInjectionComponentModule, NgOverlayContainerModule]] });
|
|
7389
6599
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopupInteractionModule, decorators: [{
|
|
7390
6600
|
type: NgModule,
|
|
7391
6601
|
args: [{
|
|
7392
|
-
imports: [
|
|
7393
|
-
|
|
7394
|
-
|
|
7395
|
-
|
|
7396
|
-
DbxButtonModule,
|
|
7397
|
-
DbxRouterAnchorModule,
|
|
7398
|
-
DbxActionModule,
|
|
7399
|
-
DbxStyleLayoutModule,
|
|
7400
|
-
DbxInjectionComponentModule,
|
|
7401
|
-
NgOverlayContainerModule,
|
|
7402
|
-
],
|
|
7403
|
-
declarations: [
|
|
7404
|
-
DbxPopupComponent,
|
|
7405
|
-
DbxPopupCoordinatorComponent,
|
|
7406
|
-
DbxPopupContentComponent,
|
|
7407
|
-
DbxPopupControlsComponent,
|
|
7408
|
-
DbxPopupControlButtonsComponent
|
|
7409
|
-
],
|
|
7410
|
-
exports: [
|
|
7411
|
-
DbxPopupContentComponent,
|
|
7412
|
-
DbxPopupControlsComponent,
|
|
7413
|
-
DbxPopupControlButtonsComponent
|
|
7414
|
-
],
|
|
7415
|
-
providers: [
|
|
7416
|
-
DbxPopupService
|
|
7417
|
-
]
|
|
6602
|
+
imports: [CommonModule, MatIconModule, MatButtonModule, DbxButtonModule, DbxRouterAnchorModule, DbxActionModule, DbxStyleLayoutModule, DbxInjectionComponentModule, NgOverlayContainerModule],
|
|
6603
|
+
declarations: [DbxPopupComponent, DbxPopupCoordinatorComponent, DbxPopupContentComponent, DbxPopupControlsComponent, DbxPopupControlButtonsComponent],
|
|
6604
|
+
exports: [DbxPopupContentComponent, DbxPopupControlsComponent, DbxPopupControlButtonsComponent],
|
|
6605
|
+
providers: [DbxPopupService]
|
|
7418
6606
|
}]
|
|
7419
6607
|
}] });
|
|
7420
6608
|
|
|
7421
6609
|
class DbxInteractionModule {
|
|
7422
6610
|
}
|
|
7423
6611
|
DbxInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxInteractionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7424
|
-
DbxInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxInteractionModule, exports: [DbxDialogInteractionModule,
|
|
7425
|
-
|
|
7426
|
-
DbxPromptModule,
|
|
7427
|
-
DbxPopoverInteractionModule,
|
|
7428
|
-
DbxPopupInteractionModule] });
|
|
7429
|
-
DbxInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxInteractionModule, imports: [DbxDialogInteractionModule,
|
|
7430
|
-
DbxFilterInteractionModule,
|
|
7431
|
-
DbxPromptModule,
|
|
7432
|
-
DbxPopoverInteractionModule,
|
|
7433
|
-
DbxPopupInteractionModule] });
|
|
6612
|
+
DbxInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxInteractionModule, exports: [DbxDialogInteractionModule, DbxFilterInteractionModule, DbxPromptModule, DbxPopoverInteractionModule, DbxPopupInteractionModule] });
|
|
6613
|
+
DbxInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxInteractionModule, imports: [DbxDialogInteractionModule, DbxFilterInteractionModule, DbxPromptModule, DbxPopoverInteractionModule, DbxPopupInteractionModule] });
|
|
7434
6614
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxInteractionModule, decorators: [{
|
|
7435
6615
|
type: NgModule,
|
|
7436
6616
|
args: [{
|
|
7437
|
-
exports: [
|
|
7438
|
-
DbxDialogInteractionModule,
|
|
7439
|
-
DbxFilterInteractionModule,
|
|
7440
|
-
DbxPromptModule,
|
|
7441
|
-
DbxPopoverInteractionModule,
|
|
7442
|
-
DbxPopupInteractionModule
|
|
7443
|
-
],
|
|
6617
|
+
exports: [DbxDialogInteractionModule, DbxFilterInteractionModule, DbxPromptModule, DbxPopoverInteractionModule, DbxPopupInteractionModule]
|
|
7444
6618
|
}]
|
|
7445
6619
|
}] });
|
|
7446
6620
|
|
|
7447
6621
|
class DbxActionSnackbarModule {
|
|
7448
6622
|
}
|
|
7449
6623
|
DbxActionSnackbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionSnackbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7450
|
-
DbxActionSnackbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionSnackbarModule, declarations: [DbxActionSnackbarComponent,
|
|
7451
|
-
|
|
7452
|
-
DbxStyleLayoutModule,
|
|
7453
|
-
DbxCoreActionModule,
|
|
7454
|
-
DbxPromptModule,
|
|
7455
|
-
DbxButtonModule,
|
|
7456
|
-
DbxReadableErrorModule], exports: [DbxActionSnackbarComponent,
|
|
7457
|
-
DbxActionSnackbarDirective] });
|
|
7458
|
-
DbxActionSnackbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionSnackbarModule, imports: [[
|
|
7459
|
-
CommonModule,
|
|
7460
|
-
DbxStyleLayoutModule,
|
|
7461
|
-
DbxCoreActionModule,
|
|
7462
|
-
DbxPromptModule,
|
|
7463
|
-
DbxButtonModule,
|
|
7464
|
-
DbxReadableErrorModule
|
|
7465
|
-
]] });
|
|
6624
|
+
DbxActionSnackbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionSnackbarModule, declarations: [DbxActionSnackbarComponent, DbxActionSnackbarDirective], imports: [CommonModule, DbxStyleLayoutModule, DbxCoreActionModule, DbxPromptModule, DbxButtonModule, DbxReadableErrorModule], exports: [DbxActionSnackbarComponent, DbxActionSnackbarDirective] });
|
|
6625
|
+
DbxActionSnackbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionSnackbarModule, imports: [[CommonModule, DbxStyleLayoutModule, DbxCoreActionModule, DbxPromptModule, DbxButtonModule, DbxReadableErrorModule]] });
|
|
7466
6626
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionSnackbarModule, decorators: [{
|
|
7467
6627
|
type: NgModule,
|
|
7468
6628
|
args: [{
|
|
7469
|
-
imports: [
|
|
7470
|
-
|
|
7471
|
-
|
|
7472
|
-
DbxCoreActionModule,
|
|
7473
|
-
DbxPromptModule,
|
|
7474
|
-
DbxButtonModule,
|
|
7475
|
-
DbxReadableErrorModule
|
|
7476
|
-
],
|
|
7477
|
-
declarations: [
|
|
7478
|
-
DbxActionSnackbarComponent,
|
|
7479
|
-
DbxActionSnackbarDirective
|
|
7480
|
-
],
|
|
7481
|
-
exports: [
|
|
7482
|
-
DbxActionSnackbarComponent,
|
|
7483
|
-
DbxActionSnackbarDirective
|
|
7484
|
-
]
|
|
6629
|
+
imports: [CommonModule, DbxStyleLayoutModule, DbxCoreActionModule, DbxPromptModule, DbxButtonModule, DbxReadableErrorModule],
|
|
6630
|
+
declarations: [DbxActionSnackbarComponent, DbxActionSnackbarDirective],
|
|
6631
|
+
exports: [DbxActionSnackbarComponent, DbxActionSnackbarDirective]
|
|
7485
6632
|
}]
|
|
7486
6633
|
}] });
|
|
7487
6634
|
|
|
@@ -7572,7 +6719,8 @@ class DbxActionTransitionSafetyDirective {
|
|
|
7572
6719
|
this._closeDialog();
|
|
7573
6720
|
}
|
|
7574
6721
|
_handleOnBeforeTransition(transition) {
|
|
7575
|
-
return this.source.isModified
|
|
6722
|
+
return this.source.isModified$
|
|
6723
|
+
.pipe(first(), mergeMap((isModified) => {
|
|
7576
6724
|
if (isModified) {
|
|
7577
6725
|
return race([
|
|
7578
6726
|
// Watch for success to occur. At that point, close everything.
|
|
@@ -7592,7 +6740,9 @@ class DbxActionTransitionSafetyDirective {
|
|
|
7592
6740
|
else {
|
|
7593
6741
|
return of(true);
|
|
7594
6742
|
}
|
|
7595
|
-
}))
|
|
6743
|
+
}))
|
|
6744
|
+
.toPromise()
|
|
6745
|
+
.then((x) => x); // Resolve/Flatten potential promise result.
|
|
7596
6746
|
}
|
|
7597
6747
|
_handleIsModifiedState(transition) {
|
|
7598
6748
|
const safetyType = this.safetyType;
|
|
@@ -7659,7 +6809,7 @@ DbxActionTransitionSafetyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersio
|
|
|
7659
6809
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionTransitionSafetyDirective, decorators: [{
|
|
7660
6810
|
type: Directive,
|
|
7661
6811
|
args: [{
|
|
7662
|
-
selector: '[dbxActionTransitionSafety]'
|
|
6812
|
+
selector: '[dbxActionTransitionSafety]'
|
|
7663
6813
|
}]
|
|
7664
6814
|
}], ctorParameters: function () { return [{ type: i1$2.DbxActionContextStoreSourceInstance }, { type: i2$2.TransitionService }, { type: i0.ViewContainerRef }, { type: i1$3.MatDialog }]; }, propDecorators: { inputSafetyType: [{
|
|
7665
6815
|
type: Input,
|
|
@@ -7674,56 +6824,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
7674
6824
|
class DbxActionUIRouterTransitionModule {
|
|
7675
6825
|
}
|
|
7676
6826
|
DbxActionUIRouterTransitionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionUIRouterTransitionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7677
|
-
DbxActionUIRouterTransitionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionUIRouterTransitionModule, declarations: [DbxActionTransitionSafetyDirective,
|
|
7678
|
-
|
|
7679
|
-
DbxCoreActionModule,
|
|
7680
|
-
DbxPromptModule,
|
|
7681
|
-
DbxButtonModule,
|
|
7682
|
-
DbxReadableErrorModule], exports: [DbxActionTransitionSafetyDirective] });
|
|
7683
|
-
DbxActionUIRouterTransitionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionUIRouterTransitionModule, imports: [[
|
|
7684
|
-
CommonModule,
|
|
7685
|
-
DbxCoreActionModule,
|
|
7686
|
-
DbxPromptModule,
|
|
7687
|
-
DbxButtonModule,
|
|
7688
|
-
DbxReadableErrorModule
|
|
7689
|
-
]] });
|
|
6827
|
+
DbxActionUIRouterTransitionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionUIRouterTransitionModule, declarations: [DbxActionTransitionSafetyDirective, DbxActionUIRouterTransitionSafetyDialogComponent], imports: [CommonModule, DbxCoreActionModule, DbxPromptModule, DbxButtonModule, DbxReadableErrorModule], exports: [DbxActionTransitionSafetyDirective] });
|
|
6828
|
+
DbxActionUIRouterTransitionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionUIRouterTransitionModule, imports: [[CommonModule, DbxCoreActionModule, DbxPromptModule, DbxButtonModule, DbxReadableErrorModule]] });
|
|
7690
6829
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionUIRouterTransitionModule, decorators: [{
|
|
7691
6830
|
type: NgModule,
|
|
7692
6831
|
args: [{
|
|
7693
|
-
imports: [
|
|
7694
|
-
|
|
7695
|
-
|
|
7696
|
-
DbxPromptModule,
|
|
7697
|
-
DbxButtonModule,
|
|
7698
|
-
DbxReadableErrorModule
|
|
7699
|
-
],
|
|
7700
|
-
declarations: [
|
|
7701
|
-
DbxActionTransitionSafetyDirective,
|
|
7702
|
-
DbxActionUIRouterTransitionSafetyDialogComponent
|
|
7703
|
-
],
|
|
7704
|
-
exports: [
|
|
7705
|
-
DbxActionTransitionSafetyDirective
|
|
7706
|
-
]
|
|
6832
|
+
imports: [CommonModule, DbxCoreActionModule, DbxPromptModule, DbxButtonModule, DbxReadableErrorModule],
|
|
6833
|
+
declarations: [DbxActionTransitionSafetyDirective, DbxActionUIRouterTransitionSafetyDialogComponent],
|
|
6834
|
+
exports: [DbxActionTransitionSafetyDirective]
|
|
7707
6835
|
}]
|
|
7708
6836
|
}] });
|
|
7709
6837
|
|
|
7710
6838
|
class DbxWebModule {
|
|
7711
6839
|
}
|
|
7712
6840
|
DbxWebModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7713
|
-
DbxWebModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebModule, exports: [DbxButtonModule,
|
|
7714
|
-
|
|
7715
|
-
DbxLoadingModule] });
|
|
7716
|
-
DbxWebModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebModule, imports: [DbxButtonModule,
|
|
7717
|
-
DbxActionModule,
|
|
7718
|
-
DbxLoadingModule] });
|
|
6841
|
+
DbxWebModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebModule, exports: [DbxButtonModule, DbxActionModule, DbxLoadingModule] });
|
|
6842
|
+
DbxWebModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebModule, imports: [DbxButtonModule, DbxActionModule, DbxLoadingModule] });
|
|
7719
6843
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebModule, decorators: [{
|
|
7720
6844
|
type: NgModule,
|
|
7721
6845
|
args: [{
|
|
7722
|
-
exports: [
|
|
7723
|
-
DbxButtonModule,
|
|
7724
|
-
DbxActionModule,
|
|
7725
|
-
DbxLoadingModule
|
|
7726
|
-
],
|
|
6846
|
+
exports: [DbxButtonModule, DbxActionModule, DbxLoadingModule]
|
|
7727
6847
|
}]
|
|
7728
6848
|
}] });
|
|
7729
6849
|
/**
|