@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) {
|
|
@@ -107,7 +107,7 @@ class AbstractProgressButtonDirective extends AbstractSubscriptionDirective {
|
|
|
107
107
|
}
|
|
108
108
|
get customSpinnerStyle() {
|
|
109
109
|
const customSpinnerColor = this._computedOptions.customSpinnerColor;
|
|
110
|
-
return
|
|
110
|
+
return customSpinnerColor ? { stroke: customSpinnerColor } : undefined;
|
|
111
111
|
}
|
|
112
112
|
get options() {
|
|
113
113
|
return this._computedOptions;
|
|
@@ -181,10 +181,10 @@ class DbxSpinnerButtonComponent extends AbstractProgressButtonDirective {
|
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
DbxSpinnerButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSpinnerButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
184
|
-
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
|
|
184
|
+
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 });
|
|
185
185
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSpinnerButtonComponent, decorators: [{
|
|
186
186
|
type: Component,
|
|
187
|
-
args: [{ selector: 'dbx-spinner-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button #button mat-button
|
|
187
|
+
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"] }]
|
|
188
188
|
}], propDecorators: { buttonRef: [{
|
|
189
189
|
type: ViewChild,
|
|
190
190
|
args: ['button', { static: true, read: ElementRef }]
|
|
@@ -229,9 +229,11 @@ class DbxButtonComponent extends AbstractDbxButtonDirective {
|
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
get btnOptions() {
|
|
232
|
-
const buttonIcon =
|
|
233
|
-
|
|
234
|
-
|
|
232
|
+
const buttonIcon = this.icon
|
|
233
|
+
? {
|
|
234
|
+
fontIcon: this.icon
|
|
235
|
+
}
|
|
236
|
+
: undefined;
|
|
235
237
|
const customStyle = {};
|
|
236
238
|
if (this.customButtonColor) {
|
|
237
239
|
customStyle['background'] = this.customButtonColor;
|
|
@@ -246,7 +248,7 @@ class DbxButtonComponent extends AbstractDbxButtonDirective {
|
|
|
246
248
|
active: this.working,
|
|
247
249
|
buttonIcon,
|
|
248
250
|
customStyle,
|
|
249
|
-
customClass: 'dbx-button ' + (
|
|
251
|
+
customClass: 'dbx-button ' + (buttonIcon && !this.text ? 'dbx-button-no-text' : ''),
|
|
250
252
|
// buttonIcon: icon,
|
|
251
253
|
text: this.text ?? '',
|
|
252
254
|
buttonColor: this.color,
|
|
@@ -255,7 +257,7 @@ class DbxButtonComponent extends AbstractDbxButtonDirective {
|
|
|
255
257
|
stroked: this.stroked,
|
|
256
258
|
flat: this.flat,
|
|
257
259
|
mode: 'indeterminate',
|
|
258
|
-
spinnerColor:
|
|
260
|
+
spinnerColor: this.color === 'primary' ? 'accent' : 'primary',
|
|
259
261
|
customSpinnerColor,
|
|
260
262
|
disabled
|
|
261
263
|
};
|
|
@@ -305,7 +307,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
305
307
|
args: [{
|
|
306
308
|
selector: 'dbx-spacer, [dbxSpacer]',
|
|
307
309
|
host: {
|
|
308
|
-
|
|
310
|
+
class: 'dbx-spacer'
|
|
309
311
|
}
|
|
310
312
|
}]
|
|
311
313
|
}] });
|
|
@@ -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?.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?.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
|
}
|
|
@@ -399,17 +403,17 @@ class DbxActionSnackbarComponent extends AbstractSubscriptionDirective {
|
|
|
399
403
|
}
|
|
400
404
|
}
|
|
401
405
|
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 });
|
|
402
|
-
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\"
|
|
406
|
+
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 } });
|
|
403
407
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionSnackbarComponent, decorators: [{
|
|
404
408
|
type: Component,
|
|
405
|
-
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\"
|
|
409
|
+
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" }]
|
|
406
410
|
}], ctorParameters: function () { return [{ type: i1$1.MatSnackBarRef }, { type: undefined, decorators: [{
|
|
407
411
|
type: Inject,
|
|
408
412
|
args: [MAT_SNACK_BAR_DATA]
|
|
409
413
|
}] }]; } });
|
|
410
414
|
|
|
411
415
|
const DBX_ACTION_SNACKBAR_DEFAULTS = {
|
|
412
|
-
|
|
416
|
+
create: {
|
|
413
417
|
loading: {
|
|
414
418
|
message: 'Creating...'
|
|
415
419
|
},
|
|
@@ -422,7 +426,7 @@ const DBX_ACTION_SNACKBAR_DEFAULTS = {
|
|
|
422
426
|
message: 'Create Failed'
|
|
423
427
|
}
|
|
424
428
|
},
|
|
425
|
-
|
|
429
|
+
save: {
|
|
426
430
|
loading: {
|
|
427
431
|
message: 'Saving...'
|
|
428
432
|
},
|
|
@@ -435,7 +439,7 @@ const DBX_ACTION_SNACKBAR_DEFAULTS = {
|
|
|
435
439
|
message: 'Save Failed'
|
|
436
440
|
}
|
|
437
441
|
},
|
|
438
|
-
|
|
442
|
+
merge: {
|
|
439
443
|
loading: {
|
|
440
444
|
message: 'Merging...'
|
|
441
445
|
},
|
|
@@ -448,7 +452,7 @@ const DBX_ACTION_SNACKBAR_DEFAULTS = {
|
|
|
448
452
|
message: 'Merge Failed'
|
|
449
453
|
}
|
|
450
454
|
},
|
|
451
|
-
|
|
455
|
+
delete: {
|
|
452
456
|
loading: {
|
|
453
457
|
message: 'Deleting...'
|
|
454
458
|
},
|
|
@@ -461,7 +465,7 @@ const DBX_ACTION_SNACKBAR_DEFAULTS = {
|
|
|
461
465
|
message: 'Delete Failed'
|
|
462
466
|
}
|
|
463
467
|
},
|
|
464
|
-
|
|
468
|
+
cancel: {
|
|
465
469
|
loading: {
|
|
466
470
|
message: 'Cancelling...'
|
|
467
471
|
},
|
|
@@ -474,7 +478,7 @@ const DBX_ACTION_SNACKBAR_DEFAULTS = {
|
|
|
474
478
|
message: 'Cancel Failed'
|
|
475
479
|
}
|
|
476
480
|
},
|
|
477
|
-
|
|
481
|
+
restore: {
|
|
478
482
|
loading: {
|
|
479
483
|
message: 'Restoring...'
|
|
480
484
|
},
|
|
@@ -487,7 +491,7 @@ const DBX_ACTION_SNACKBAR_DEFAULTS = {
|
|
|
487
491
|
message: 'Restore Failed'
|
|
488
492
|
}
|
|
489
493
|
},
|
|
490
|
-
|
|
494
|
+
refresh: {
|
|
491
495
|
loading: {
|
|
492
496
|
message: 'Refreshing...'
|
|
493
497
|
},
|
|
@@ -500,7 +504,7 @@ const DBX_ACTION_SNACKBAR_DEFAULTS = {
|
|
|
500
504
|
message: 'Refresh Failed'
|
|
501
505
|
}
|
|
502
506
|
},
|
|
503
|
-
|
|
507
|
+
do: {
|
|
504
508
|
loading: {
|
|
505
509
|
message: 'Doing...'
|
|
506
510
|
},
|
|
@@ -649,7 +653,9 @@ class DbxActionSnackbarDirective extends AbstractSubscriptionDirective {
|
|
|
649
653
|
}
|
|
650
654
|
}
|
|
651
655
|
ngOnInit() {
|
|
652
|
-
this.sub = this.source
|
|
656
|
+
this.sub = this.source
|
|
657
|
+
.pipeStore((store) => store.loadingState$)
|
|
658
|
+
.subscribe((loadingState) => {
|
|
653
659
|
const event = { value: loadingState.value, error: loadingState.error, type: loadingStateType(loadingState) };
|
|
654
660
|
const config = this.buildConfigurationForEvent(event);
|
|
655
661
|
if (config) {
|
|
@@ -662,7 +668,7 @@ class DbxActionSnackbarDirective extends AbstractSubscriptionDirective {
|
|
|
662
668
|
event,
|
|
663
669
|
undo: event.type === LoadingStateType.SUCCESS ? this.dbxActionSnackbarUndo : undefined // only show undo on success.
|
|
664
670
|
};
|
|
665
|
-
return
|
|
671
|
+
return this.snackbarFunction ? this.snackbarFunction(input) : this.dbxActionSnackbarService.generateDisplayConfig(this.dbxActionSnackbarDefault, input);
|
|
666
672
|
}
|
|
667
673
|
showSnackbarForConfiguration(config, event) {
|
|
668
674
|
this.dbxActionSnackbarService.openSnackbar(config);
|
|
@@ -689,93 +695,48 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
689
695
|
class DbxBarButtonComponent extends AbstractProgressButtonDirective {
|
|
690
696
|
}
|
|
691
697
|
DbxBarButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBarButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
692
|
-
DbxBarButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxBarButtonComponent, selector: "dbx-bar-button", usesInheritance: true, ngImport: i0, template: "<button
|
|
698
|
+
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 });
|
|
693
699
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBarButtonComponent, decorators: [{
|
|
694
700
|
type: Component,
|
|
695
|
-
args: [{ selector: 'dbx-bar-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button
|
|
701
|
+
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"] }]
|
|
696
702
|
}] });
|
|
697
703
|
|
|
698
704
|
class DbxProgressButtonsModule {
|
|
699
705
|
static forRoot(config) {
|
|
700
706
|
return {
|
|
701
707
|
ngModule: DbxProgressButtonsModule,
|
|
702
|
-
providers: [
|
|
708
|
+
providers: [
|
|
709
|
+
{
|
|
703
710
|
provide: DBX_MAT_PROGRESS_BUTTON_GLOBAL_CONFIG,
|
|
704
711
|
useValue: config
|
|
705
|
-
}
|
|
712
|
+
}
|
|
713
|
+
]
|
|
706
714
|
};
|
|
707
715
|
}
|
|
708
716
|
}
|
|
709
717
|
DbxProgressButtonsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxProgressButtonsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
710
|
-
DbxProgressButtonsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxProgressButtonsModule, declarations: [DbxSpinnerButtonComponent,
|
|
711
|
-
|
|
712
|
-
MatButtonModule,
|
|
713
|
-
MatProgressBarModule,
|
|
714
|
-
MatProgressSpinnerModule,
|
|
715
|
-
MatRippleModule,
|
|
716
|
-
MatIconModule], exports: [DbxSpinnerButtonComponent,
|
|
717
|
-
DbxBarButtonComponent] });
|
|
718
|
-
DbxProgressButtonsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxProgressButtonsModule, imports: [[
|
|
719
|
-
CommonModule,
|
|
720
|
-
MatButtonModule,
|
|
721
|
-
MatProgressBarModule,
|
|
722
|
-
MatProgressSpinnerModule,
|
|
723
|
-
MatRippleModule,
|
|
724
|
-
MatIconModule,
|
|
725
|
-
]] });
|
|
718
|
+
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] });
|
|
719
|
+
DbxProgressButtonsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxProgressButtonsModule, imports: [[CommonModule, MatButtonModule, MatProgressBarModule, MatProgressSpinnerModule, MatRippleModule, MatIconModule]] });
|
|
726
720
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxProgressButtonsModule, decorators: [{
|
|
727
721
|
type: NgModule,
|
|
728
722
|
args: [{
|
|
729
|
-
imports: [
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
MatProgressBarModule,
|
|
733
|
-
MatProgressSpinnerModule,
|
|
734
|
-
MatRippleModule,
|
|
735
|
-
MatIconModule,
|
|
736
|
-
],
|
|
737
|
-
exports: [
|
|
738
|
-
DbxSpinnerButtonComponent,
|
|
739
|
-
DbxBarButtonComponent
|
|
740
|
-
],
|
|
741
|
-
declarations: [
|
|
742
|
-
DbxSpinnerButtonComponent,
|
|
743
|
-
DbxBarButtonComponent
|
|
744
|
-
],
|
|
723
|
+
imports: [CommonModule, MatButtonModule, MatProgressBarModule, MatProgressSpinnerModule, MatRippleModule, MatIconModule],
|
|
724
|
+
exports: [DbxSpinnerButtonComponent, DbxBarButtonComponent],
|
|
725
|
+
declarations: [DbxSpinnerButtonComponent, DbxBarButtonComponent]
|
|
745
726
|
}]
|
|
746
727
|
}] });
|
|
747
728
|
|
|
748
729
|
class DbxButtonModule {
|
|
749
730
|
}
|
|
750
731
|
DbxButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
751
|
-
DbxButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxButtonModule, declarations: [DbxButtonComponent,
|
|
752
|
-
|
|
753
|
-
DbxProgressButtonsModule], exports: [DbxCoreButtonModule,
|
|
754
|
-
DbxProgressButtonsModule,
|
|
755
|
-
DbxButtonComponent,
|
|
756
|
-
DbxButtonSpacerDirective] });
|
|
757
|
-
DbxButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxButtonModule, imports: [[
|
|
758
|
-
CommonModule,
|
|
759
|
-
DbxProgressButtonsModule
|
|
760
|
-
], DbxCoreButtonModule,
|
|
761
|
-
DbxProgressButtonsModule] });
|
|
732
|
+
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] });
|
|
733
|
+
DbxButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxButtonModule, imports: [[CommonModule, DbxProgressButtonsModule], DbxCoreButtonModule, DbxProgressButtonsModule] });
|
|
762
734
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxButtonModule, decorators: [{
|
|
763
735
|
type: NgModule,
|
|
764
736
|
args: [{
|
|
765
|
-
imports: [
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
],
|
|
769
|
-
declarations: [
|
|
770
|
-
DbxButtonComponent,
|
|
771
|
-
DbxButtonSpacerDirective
|
|
772
|
-
],
|
|
773
|
-
exports: [
|
|
774
|
-
DbxCoreButtonModule,
|
|
775
|
-
DbxProgressButtonsModule,
|
|
776
|
-
DbxButtonComponent,
|
|
777
|
-
DbxButtonSpacerDirective
|
|
778
|
-
],
|
|
737
|
+
imports: [CommonModule, DbxProgressButtonsModule],
|
|
738
|
+
declarations: [DbxButtonComponent, DbxButtonSpacerDirective],
|
|
739
|
+
exports: [DbxCoreButtonModule, DbxProgressButtonsModule, DbxButtonComponent, DbxButtonSpacerDirective]
|
|
779
740
|
}]
|
|
780
741
|
}] });
|
|
781
742
|
|
|
@@ -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?.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
|
}
|
|
@@ -995,7 +956,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
995
956
|
args: [{
|
|
996
957
|
selector: '[dbxSetStyle]',
|
|
997
958
|
host: {
|
|
998
|
-
|
|
959
|
+
class: 'dbx-style-root',
|
|
999
960
|
'[class]': 'outputStyle'
|
|
1000
961
|
}
|
|
1001
962
|
}]
|
|
@@ -1064,34 +1025,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1064
1025
|
class DbxStyleLayoutModule {
|
|
1065
1026
|
}
|
|
1066
1027
|
DbxStyleLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStyleLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1067
|
-
DbxStyleLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStyleLayoutModule, declarations: [DbxSpacerDirective,
|
|
1068
|
-
|
|
1069
|
-
DbxSetStyleDirective,
|
|
1070
|
-
DbxStyleBodyDirective], imports: [CommonModule], exports: [DbxSpacerDirective,
|
|
1071
|
-
DbxStyleDirective,
|
|
1072
|
-
DbxSetStyleDirective,
|
|
1073
|
-
DbxStyleBodyDirective] });
|
|
1074
|
-
DbxStyleLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStyleLayoutModule, imports: [[
|
|
1075
|
-
CommonModule
|
|
1076
|
-
]] });
|
|
1028
|
+
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] });
|
|
1029
|
+
DbxStyleLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStyleLayoutModule, imports: [[CommonModule]] });
|
|
1077
1030
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStyleLayoutModule, decorators: [{
|
|
1078
1031
|
type: NgModule,
|
|
1079
1032
|
args: [{
|
|
1080
|
-
imports: [
|
|
1081
|
-
|
|
1082
|
-
]
|
|
1083
|
-
declarations: [
|
|
1084
|
-
DbxSpacerDirective,
|
|
1085
|
-
DbxStyleDirective,
|
|
1086
|
-
DbxSetStyleDirective,
|
|
1087
|
-
DbxStyleBodyDirective
|
|
1088
|
-
],
|
|
1089
|
-
exports: [
|
|
1090
|
-
DbxSpacerDirective,
|
|
1091
|
-
DbxStyleDirective,
|
|
1092
|
-
DbxSetStyleDirective,
|
|
1093
|
-
DbxStyleBodyDirective
|
|
1094
|
-
]
|
|
1033
|
+
imports: [CommonModule],
|
|
1034
|
+
declarations: [DbxSpacerDirective, DbxStyleDirective, DbxSetStyleDirective, DbxStyleBodyDirective],
|
|
1035
|
+
exports: [DbxSpacerDirective, DbxStyleDirective, DbxSetStyleDirective, DbxStyleBodyDirective]
|
|
1095
1036
|
}]
|
|
1096
1037
|
}] });
|
|
1097
1038
|
|
|
@@ -1101,36 +1042,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1101
1042
|
class DbxDialogInteractionModule {
|
|
1102
1043
|
}
|
|
1103
1044
|
DbxDialogInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxDialogInteractionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1104
|
-
DbxDialogInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxDialogInteractionModule, declarations: [DbxDialogContentDirective,
|
|
1105
|
-
|
|
1106
|
-
DbxStyleLayoutModule], exports: [DbxDialogContentDirective,
|
|
1107
|
-
DbxActionDialogDirective] });
|
|
1108
|
-
DbxDialogInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxDialogInteractionModule, imports: [[
|
|
1109
|
-
CommonModule,
|
|
1110
|
-
DbxStyleLayoutModule
|
|
1111
|
-
]] });
|
|
1045
|
+
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] });
|
|
1046
|
+
DbxDialogInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxDialogInteractionModule, imports: [[CommonModule, DbxStyleLayoutModule]] });
|
|
1112
1047
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxDialogInteractionModule, decorators: [{
|
|
1113
1048
|
type: NgModule,
|
|
1114
1049
|
args: [{
|
|
1115
|
-
imports: [
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
],
|
|
1119
|
-
declarations: [
|
|
1120
|
-
DbxDialogContentDirective,
|
|
1121
|
-
DbxActionDialogDirective
|
|
1122
|
-
],
|
|
1123
|
-
exports: [
|
|
1124
|
-
DbxDialogContentDirective,
|
|
1125
|
-
DbxActionDialogDirective
|
|
1126
|
-
]
|
|
1050
|
+
imports: [CommonModule, DbxStyleLayoutModule],
|
|
1051
|
+
declarations: [DbxDialogContentDirective, DbxActionDialogDirective],
|
|
1052
|
+
exports: [DbxDialogContentDirective, DbxActionDialogDirective]
|
|
1127
1053
|
}]
|
|
1128
1054
|
}] });
|
|
1129
1055
|
|
|
1130
1056
|
class PopoverPositionStrategy {
|
|
1131
1057
|
static make(overlay, elementRef, config) {
|
|
1132
|
-
const [originX, origin2ndX, origin3rdX] = config.originX === 'end' ? ['end', 'start', 'center'] :
|
|
1133
|
-
config.originX === 'start' ? ['start', 'end', 'center'] : ['center', 'start', 'end'];
|
|
1058
|
+
const [originX, origin2ndX, origin3rdX] = config.originX === 'end' ? ['end', 'start', 'center'] : config.originX === 'start' ? ['start', 'end', 'center'] : ['center', 'start', 'end'];
|
|
1134
1059
|
const overlayX = originX;
|
|
1135
1060
|
const [overlayY, overlayFallbackY] = config.overlayY === 'bottom' ? ['bottom', 'top'] : ['top', 'bottom'];
|
|
1136
1061
|
const [originY, originFallbackY] = [overlayFallbackY, overlayY];
|
|
@@ -1145,43 +1070,43 @@ class PopoverPositionStrategy {
|
|
|
1145
1070
|
originY,
|
|
1146
1071
|
overlayX,
|
|
1147
1072
|
overlayY,
|
|
1148
|
-
offsetY
|
|
1073
|
+
offsetY
|
|
1149
1074
|
},
|
|
1150
1075
|
{
|
|
1151
1076
|
originX: origin2ndX,
|
|
1152
1077
|
originY,
|
|
1153
1078
|
overlayX: origin2ndX,
|
|
1154
1079
|
overlayY,
|
|
1155
|
-
offsetY
|
|
1080
|
+
offsetY
|
|
1156
1081
|
},
|
|
1157
1082
|
{
|
|
1158
1083
|
originX,
|
|
1159
1084
|
originY: originFallbackY,
|
|
1160
1085
|
overlayX,
|
|
1161
1086
|
overlayY: overlayFallbackY,
|
|
1162
|
-
offsetY: -offsetY
|
|
1087
|
+
offsetY: -offsetY
|
|
1163
1088
|
},
|
|
1164
1089
|
{
|
|
1165
1090
|
originX: origin2ndX,
|
|
1166
1091
|
originY: originFallbackY,
|
|
1167
1092
|
overlayX: origin2ndX,
|
|
1168
1093
|
overlayY: overlayFallbackY,
|
|
1169
|
-
offsetY: -offsetY
|
|
1094
|
+
offsetY: -offsetY
|
|
1170
1095
|
},
|
|
1171
1096
|
{
|
|
1172
1097
|
originX: origin3rdX,
|
|
1173
1098
|
originY,
|
|
1174
1099
|
overlayX: origin3rdX,
|
|
1175
1100
|
overlayY,
|
|
1176
|
-
offsetY
|
|
1101
|
+
offsetY
|
|
1177
1102
|
},
|
|
1178
1103
|
{
|
|
1179
1104
|
originX: origin3rdX,
|
|
1180
1105
|
originY: originFallbackY,
|
|
1181
1106
|
overlayX: origin3rdX,
|
|
1182
1107
|
overlayY: overlayFallbackY,
|
|
1183
|
-
offsetY: -offsetY
|
|
1184
|
-
}
|
|
1108
|
+
offsetY: -offsetY
|
|
1109
|
+
}
|
|
1185
1110
|
])
|
|
1186
1111
|
.withDefaultOffsetX(offsetX)
|
|
1187
1112
|
.withDefaultOffsetY(offsetY);
|
|
@@ -1200,7 +1125,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1200
1125
|
args: [{
|
|
1201
1126
|
selector: 'dbx-bar,[dbxBar]',
|
|
1202
1127
|
host: {
|
|
1203
|
-
|
|
1128
|
+
class: 'dbx-bar',
|
|
1204
1129
|
'[class.dbx-primary-bg]': 'color === "primary"',
|
|
1205
1130
|
'[class.dbx-accent-bg]': 'color === "accent"',
|
|
1206
1131
|
'[class.dbx-warn-bg]': 'color === "warn"'
|
|
@@ -1221,7 +1146,7 @@ DbxBarHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1221
1146
|
<mat-icon class="button-spacer" *ngIf="icon">{{ icon }}</mat-icon>
|
|
1222
1147
|
<span *ngIf="text">{{ text }}</span>
|
|
1223
1148
|
</dbx-bar>
|
|
1224
|
-
|
|
1149
|
+
`, 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"] }] });
|
|
1225
1150
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBarHeaderComponent, decorators: [{
|
|
1226
1151
|
type: Component,
|
|
1227
1152
|
args: [{
|
|
@@ -1231,9 +1156,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1231
1156
|
<mat-icon class="button-spacer" *ngIf="icon">{{ icon }}</mat-icon>
|
|
1232
1157
|
<span *ngIf="text">{{ text }}</span>
|
|
1233
1158
|
</dbx-bar>
|
|
1234
|
-
|
|
1159
|
+
`,
|
|
1235
1160
|
host: {
|
|
1236
|
-
|
|
1161
|
+
class: 'dbx-bar-header dbx-hint'
|
|
1237
1162
|
}
|
|
1238
1163
|
}]
|
|
1239
1164
|
}], propDecorators: { text: [{
|
|
@@ -1247,10 +1172,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1247
1172
|
class DbxPagebarComponent {
|
|
1248
1173
|
}
|
|
1249
1174
|
DbxPagebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPagebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1250
|
-
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]=\"
|
|
1175
|
+
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"] }] });
|
|
1251
1176
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPagebarComponent, decorators: [{
|
|
1252
1177
|
type: Component,
|
|
1253
|
-
args: [{ selector: 'dbx-pagebar', template: "<mat-toolbar class=\"dbx-pagebar\" [ngClass]=\"
|
|
1178
|
+
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" }]
|
|
1254
1179
|
}], propDecorators: { color: [{
|
|
1255
1180
|
type: Input
|
|
1256
1181
|
}] } });
|
|
@@ -1261,36 +1186,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1261
1186
|
class DbxBarLayoutModule {
|
|
1262
1187
|
}
|
|
1263
1188
|
DbxBarLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBarLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1264
|
-
DbxBarLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBarLayoutModule, declarations: [DbxBarDirective,
|
|
1265
|
-
|
|
1266
|
-
DbxPagebarComponent], imports: [CommonModule,
|
|
1267
|
-
MatToolbarModule,
|
|
1268
|
-
MatIconModule], exports: [DbxBarDirective,
|
|
1269
|
-
DbxBarHeaderComponent,
|
|
1270
|
-
DbxPagebarComponent] });
|
|
1271
|
-
DbxBarLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBarLayoutModule, imports: [[
|
|
1272
|
-
CommonModule,
|
|
1273
|
-
MatToolbarModule,
|
|
1274
|
-
MatIconModule
|
|
1275
|
-
]] });
|
|
1189
|
+
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] });
|
|
1190
|
+
DbxBarLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBarLayoutModule, imports: [[CommonModule, MatToolbarModule, MatIconModule]] });
|
|
1276
1191
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBarLayoutModule, decorators: [{
|
|
1277
1192
|
type: NgModule,
|
|
1278
1193
|
args: [{
|
|
1279
|
-
imports: [
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
MatIconModule
|
|
1283
|
-
],
|
|
1284
|
-
declarations: [
|
|
1285
|
-
DbxBarDirective,
|
|
1286
|
-
DbxBarHeaderComponent,
|
|
1287
|
-
DbxPagebarComponent
|
|
1288
|
-
],
|
|
1289
|
-
exports: [
|
|
1290
|
-
DbxBarDirective,
|
|
1291
|
-
DbxBarHeaderComponent,
|
|
1292
|
-
DbxPagebarComponent
|
|
1293
|
-
]
|
|
1194
|
+
imports: [CommonModule, MatToolbarModule, MatIconModule],
|
|
1195
|
+
declarations: [DbxBarDirective, DbxBarHeaderComponent, DbxPagebarComponent],
|
|
1196
|
+
exports: [DbxBarDirective, DbxBarHeaderComponent, DbxPagebarComponent]
|
|
1294
1197
|
}]
|
|
1295
1198
|
}] });
|
|
1296
1199
|
|
|
@@ -1306,8 +1209,8 @@ class DbxAnchorComponent extends AbstractDbxAnchorDirective {
|
|
|
1306
1209
|
this.dbNgxRouterWebProviderConfig = dbNgxRouterWebProviderConfig;
|
|
1307
1210
|
this._templateRef = new BehaviorSubject(undefined);
|
|
1308
1211
|
this.templateRef$ = this._templateRef.pipe(skipFirstMaybe(), shareReplay(1));
|
|
1309
|
-
this.url$ = this.anchor$.pipe(map(x => x?.url), distinctUntilChanged(), shareReplay(1));
|
|
1310
|
-
this.target$ = this.anchor$.pipe(map(x => x?.target), distinctUntilChanged(), shareReplay(1));
|
|
1212
|
+
this.url$ = this.anchor$.pipe(map((x) => x?.url), distinctUntilChanged(), shareReplay(1));
|
|
1213
|
+
this.target$ = this.anchor$.pipe(map((x) => x?.target), distinctUntilChanged(), shareReplay(1));
|
|
1311
1214
|
}
|
|
1312
1215
|
get templateRef() {
|
|
1313
1216
|
return this._templateRef.value;
|
|
@@ -1327,13 +1230,13 @@ class DbxAnchorComponent extends AbstractDbxAnchorDirective {
|
|
|
1327
1230
|
}
|
|
1328
1231
|
}
|
|
1329
1232
|
DbxAnchorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxAnchorComponent, deps: [{ token: DbxRouterWebProviderConfig }], target: i0.ɵɵFactoryTarget.Component });
|
|
1330
|
-
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]=\"
|
|
1233
|
+
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 } });
|
|
1331
1234
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxAnchorComponent, decorators: [{
|
|
1332
1235
|
type: Component,
|
|
1333
1236
|
args: [{ selector: 'dbx-anchor, [dbx-anchor]', host: {
|
|
1334
1237
|
class: 'd-inline dbx-anchor',
|
|
1335
1238
|
'dbx-anchor-block': 'block'
|
|
1336
|
-
}, template: "<ng-container [ngSwitch]=\"
|
|
1239
|
+
}, 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" }]
|
|
1337
1240
|
}], ctorParameters: function () { return [{ type: DbxRouterWebProviderConfig }]; }, propDecorators: { block: [{
|
|
1338
1241
|
type: Input
|
|
1339
1242
|
}], templateRef: [{
|
|
@@ -1348,19 +1251,23 @@ class DbxAnchorIconComponent {
|
|
|
1348
1251
|
}
|
|
1349
1252
|
DbxAnchorIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxAnchorIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1350
1253
|
DbxAnchorIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxAnchorIconComponent, selector: "dbx-anchor-icon", inputs: { anchor: "anchor" }, ngImport: i0, template: `
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1254
|
+
<dbx-anchor [anchor]="anchor">
|
|
1255
|
+
<button mat-icon-button>
|
|
1256
|
+
<mat-icon>{{ anchor?.icon }}</mat-icon>
|
|
1257
|
+
</button>
|
|
1258
|
+
</dbx-anchor>
|
|
1259
|
+
`, 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"] }] });
|
|
1355
1260
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxAnchorIconComponent, decorators: [{
|
|
1356
1261
|
type: Component,
|
|
1357
1262
|
args: [{
|
|
1358
1263
|
selector: 'dbx-anchor-icon',
|
|
1359
1264
|
template: `
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1265
|
+
<dbx-anchor [anchor]="anchor">
|
|
1266
|
+
<button mat-icon-button>
|
|
1267
|
+
<mat-icon>{{ anchor?.icon }}</mat-icon>
|
|
1268
|
+
</button>
|
|
1269
|
+
</dbx-anchor>
|
|
1270
|
+
`
|
|
1364
1271
|
}]
|
|
1365
1272
|
}], propDecorators: { anchor: [{
|
|
1366
1273
|
type: Input
|
|
@@ -1390,7 +1297,7 @@ DbxAnchorLinkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1390
1297
|
<dbx-anchor [anchor]="anchor">
|
|
1391
1298
|
<ng-content></ng-content>
|
|
1392
1299
|
</dbx-anchor>
|
|
1393
|
-
|
|
1300
|
+
`, isInline: true, components: [{ type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }] });
|
|
1394
1301
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxAnchorLinkComponent, decorators: [{
|
|
1395
1302
|
type: Component,
|
|
1396
1303
|
args: [{
|
|
@@ -1399,9 +1306,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1399
1306
|
<dbx-anchor [anchor]="anchor">
|
|
1400
1307
|
<ng-content></ng-content>
|
|
1401
1308
|
</dbx-anchor>
|
|
1402
|
-
|
|
1309
|
+
`,
|
|
1403
1310
|
host: {
|
|
1404
|
-
|
|
1311
|
+
class: 'd-inline dbx-link'
|
|
1405
1312
|
}
|
|
1406
1313
|
}]
|
|
1407
1314
|
}], propDecorators: { anchor: [{
|
|
@@ -1418,11 +1325,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1418
1325
|
class DbxAnchorContentComponent {
|
|
1419
1326
|
constructor(parent) {
|
|
1420
1327
|
this.parent = parent;
|
|
1421
|
-
this._parentAnchor =
|
|
1328
|
+
this._parentAnchor = this.parent ? this.parent.anchor$ : of(undefined);
|
|
1422
1329
|
this._inputAnchor = new BehaviorSubject(undefined);
|
|
1423
1330
|
this.anchor$ = combineLatest([this._inputAnchor, this._parentAnchor]).pipe(map(([input, parent]) => input ?? parent), shareReplay(1));
|
|
1424
|
-
this.icon$ = this.anchor$.pipe(map(x => x?.icon));
|
|
1425
|
-
this.title$ = this.anchor$.pipe(map(x => x?.title));
|
|
1331
|
+
this.icon$ = this.anchor$.pipe(map((x) => x?.icon));
|
|
1332
|
+
this.title$ = this.anchor$.pipe(map((x) => x?.title));
|
|
1426
1333
|
}
|
|
1427
1334
|
set anchor(anchor) {
|
|
1428
1335
|
this._inputAnchor.next(anchor);
|
|
@@ -1432,14 +1339,20 @@ class DbxAnchorContentComponent {
|
|
|
1432
1339
|
}
|
|
1433
1340
|
}
|
|
1434
1341
|
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 });
|
|
1435
|
-
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:
|
|
1342
|
+
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: `
|
|
1343
|
+
<mat-icon class="dbx-icon-spacer" *ngIf="icon$ | async">{{ icon$ | async }}</mat-icon>
|
|
1344
|
+
<span *ngIf="title$ | async">{{ title$ | async }}</span>
|
|
1345
|
+
`, 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 } });
|
|
1436
1346
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxAnchorContentComponent, decorators: [{
|
|
1437
1347
|
type: Component,
|
|
1438
1348
|
args: [{
|
|
1439
1349
|
selector: 'dbx-anchor-content',
|
|
1440
|
-
template:
|
|
1350
|
+
template: `
|
|
1351
|
+
<mat-icon class="dbx-icon-spacer" *ngIf="icon$ | async">{{ icon$ | async }}</mat-icon>
|
|
1352
|
+
<span *ngIf="title$ | async">{{ title$ | async }}</span>
|
|
1353
|
+
`,
|
|
1441
1354
|
host: {
|
|
1442
|
-
|
|
1355
|
+
class: 'dbx-anchor-content'
|
|
1443
1356
|
}
|
|
1444
1357
|
}]
|
|
1445
1358
|
}], ctorParameters: function () { return [{ type: DbxAnchorComponent, decorators: [{
|
|
@@ -1451,43 +1364,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1451
1364
|
class DbxRouterAnchorModule {
|
|
1452
1365
|
}
|
|
1453
1366
|
DbxRouterAnchorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterAnchorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1454
|
-
DbxRouterAnchorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterAnchorModule, declarations: [DbxAnchorComponent,
|
|
1455
|
-
|
|
1456
|
-
DbxAnchorLinkComponent,
|
|
1457
|
-
DbxAnchorContentComponent], imports: [CommonModule,
|
|
1458
|
-
MatIconModule,
|
|
1459
|
-
MatButtonModule,
|
|
1460
|
-
DbxInjectionComponentModule], exports: [DbxAnchorComponent,
|
|
1461
|
-
DbxAnchorIconComponent,
|
|
1462
|
-
DbxAnchorLinkComponent,
|
|
1463
|
-
DbxAnchorContentComponent] });
|
|
1464
|
-
DbxRouterAnchorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterAnchorModule, imports: [[
|
|
1465
|
-
CommonModule,
|
|
1466
|
-
MatIconModule,
|
|
1467
|
-
MatButtonModule,
|
|
1468
|
-
DbxInjectionComponentModule
|
|
1469
|
-
]] });
|
|
1367
|
+
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] });
|
|
1368
|
+
DbxRouterAnchorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterAnchorModule, imports: [[CommonModule, MatIconModule, MatButtonModule, DbxInjectionComponentModule]] });
|
|
1470
1369
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterAnchorModule, decorators: [{
|
|
1471
1370
|
type: NgModule,
|
|
1472
1371
|
args: [{
|
|
1473
|
-
imports: [
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
MatButtonModule,
|
|
1477
|
-
DbxInjectionComponentModule
|
|
1478
|
-
],
|
|
1479
|
-
declarations: [
|
|
1480
|
-
DbxAnchorComponent,
|
|
1481
|
-
DbxAnchorIconComponent,
|
|
1482
|
-
DbxAnchorLinkComponent,
|
|
1483
|
-
DbxAnchorContentComponent
|
|
1484
|
-
],
|
|
1485
|
-
exports: [
|
|
1486
|
-
DbxAnchorComponent,
|
|
1487
|
-
DbxAnchorIconComponent,
|
|
1488
|
-
DbxAnchorLinkComponent,
|
|
1489
|
-
DbxAnchorContentComponent
|
|
1490
|
-
]
|
|
1372
|
+
imports: [CommonModule, MatIconModule, MatButtonModule, DbxInjectionComponentModule],
|
|
1373
|
+
declarations: [DbxAnchorComponent, DbxAnchorIconComponent, DbxAnchorLinkComponent, DbxAnchorContentComponent],
|
|
1374
|
+
exports: [DbxAnchorComponent, DbxAnchorIconComponent, DbxAnchorLinkComponent, DbxAnchorContentComponent]
|
|
1491
1375
|
}]
|
|
1492
1376
|
}] });
|
|
1493
1377
|
|
|
@@ -1498,10 +1382,10 @@ class AbstractDbxSegueAnchorDirective {
|
|
|
1498
1382
|
constructor(parent) {
|
|
1499
1383
|
this.parent = parent;
|
|
1500
1384
|
this.target$ = this.parent.target$;
|
|
1501
|
-
this.ref$ = this.parent.anchor$.pipe(map(x => x?.ref), distinctUntilChanged(), shareReplay(1));
|
|
1502
|
-
this.refParams$ = this.parent.anchor$.pipe(map(x => x?.refParams), distinctUntilChanged(), shareReplay(1));
|
|
1503
|
-
this.refOptions$ = this.parent.anchor$.pipe(map(x => x?.refOptions), distinctUntilChanged(), shareReplay(1));
|
|
1504
|
-
this.template$ = this.parent.templateRef$.pipe(distinctUntilChanged(), map(templateRef => ({
|
|
1385
|
+
this.ref$ = this.parent.anchor$.pipe(map((x) => x?.ref), distinctUntilChanged(), shareReplay(1));
|
|
1386
|
+
this.refParams$ = this.parent.anchor$.pipe(map((x) => x?.refParams), distinctUntilChanged(), shareReplay(1));
|
|
1387
|
+
this.refOptions$ = this.parent.anchor$.pipe(map((x) => x?.refOptions), distinctUntilChanged(), shareReplay(1));
|
|
1388
|
+
this.template$ = this.parent.templateRef$.pipe(distinctUntilChanged(), map((templateRef) => ({
|
|
1505
1389
|
templateRef
|
|
1506
1390
|
})), shareReplay(1));
|
|
1507
1391
|
}
|
|
@@ -1521,7 +1405,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1521
1405
|
class DbxAnchorListComponent {
|
|
1522
1406
|
constructor() {
|
|
1523
1407
|
this._anchors = new BehaviorSubject([]);
|
|
1524
|
-
this.expandedAnchors$ = this._anchors.pipe(distinctUntilChanged(), map(x => expandClickableAnchorLinkTrees(x)), shareReplay(1));
|
|
1408
|
+
this.expandedAnchors$ = this._anchors.pipe(distinctUntilChanged(), map((x) => expandClickableAnchorLinkTrees(x)), shareReplay(1));
|
|
1525
1409
|
}
|
|
1526
1410
|
set anchors(anchors) {
|
|
1527
1411
|
this._anchors.next(anchors ?? []);
|
|
@@ -1531,10 +1415,10 @@ class DbxAnchorListComponent {
|
|
|
1531
1415
|
}
|
|
1532
1416
|
}
|
|
1533
1417
|
DbxAnchorListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxAnchorListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1534
|
-
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
|
|
1418
|
+
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 } });
|
|
1535
1419
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxAnchorListComponent, decorators: [{
|
|
1536
1420
|
type: Component,
|
|
1537
|
-
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
|
|
1421
|
+
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" }]
|
|
1538
1422
|
}], propDecorators: { anchors: [{
|
|
1539
1423
|
type: Input
|
|
1540
1424
|
}] } });
|
|
@@ -1542,40 +1426,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1542
1426
|
class DbxRouterAnchorListModule {
|
|
1543
1427
|
}
|
|
1544
1428
|
DbxRouterAnchorListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterAnchorListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1545
|
-
DbxRouterAnchorListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterAnchorListModule, declarations: [DbxAnchorListComponent], imports: [CommonModule,
|
|
1546
|
-
|
|
1547
|
-
MatButtonModule,
|
|
1548
|
-
MatIconModule,
|
|
1549
|
-
MatListModule,
|
|
1550
|
-
MatMenuModule,
|
|
1551
|
-
DbxRouterAnchorModule], exports: [DbxAnchorListComponent] });
|
|
1552
|
-
DbxRouterAnchorListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterAnchorListModule, imports: [[
|
|
1553
|
-
CommonModule,
|
|
1554
|
-
MatTabsModule,
|
|
1555
|
-
MatButtonModule,
|
|
1556
|
-
MatIconModule,
|
|
1557
|
-
MatListModule,
|
|
1558
|
-
MatMenuModule,
|
|
1559
|
-
DbxRouterAnchorModule,
|
|
1560
|
-
]] });
|
|
1429
|
+
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] });
|
|
1430
|
+
DbxRouterAnchorListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterAnchorListModule, imports: [[CommonModule, MatTabsModule, MatButtonModule, MatIconModule, MatListModule, MatMenuModule, DbxRouterAnchorModule]] });
|
|
1561
1431
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterAnchorListModule, decorators: [{
|
|
1562
1432
|
type: NgModule,
|
|
1563
1433
|
args: [{
|
|
1564
|
-
imports: [
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
MatButtonModule,
|
|
1568
|
-
MatIconModule,
|
|
1569
|
-
MatListModule,
|
|
1570
|
-
MatMenuModule,
|
|
1571
|
-
DbxRouterAnchorModule,
|
|
1572
|
-
],
|
|
1573
|
-
declarations: [
|
|
1574
|
-
DbxAnchorListComponent
|
|
1575
|
-
],
|
|
1576
|
-
exports: [
|
|
1577
|
-
DbxAnchorListComponent
|
|
1578
|
-
]
|
|
1434
|
+
imports: [CommonModule, MatTabsModule, MatButtonModule, MatIconModule, MatListModule, MatMenuModule, DbxRouterAnchorModule],
|
|
1435
|
+
declarations: [DbxAnchorListComponent],
|
|
1436
|
+
exports: [DbxAnchorListComponent]
|
|
1579
1437
|
}]
|
|
1580
1438
|
}] });
|
|
1581
1439
|
|
|
@@ -1583,10 +1441,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1583
1441
|
class DbxValueListItemModifier {
|
|
1584
1442
|
}
|
|
1585
1443
|
function provideDbxValueListViewModifier(sourceType) {
|
|
1586
|
-
return [
|
|
1444
|
+
return [
|
|
1445
|
+
{
|
|
1587
1446
|
provide: DbxValueListItemModifier,
|
|
1588
1447
|
useExisting: forwardRef(() => sourceType)
|
|
1589
|
-
}
|
|
1448
|
+
}
|
|
1449
|
+
];
|
|
1590
1450
|
}
|
|
1591
1451
|
function listItemModifier(key, modify) {
|
|
1592
1452
|
return modifier(key, modify);
|
|
@@ -1600,7 +1460,7 @@ class DbxValueListItemModifierDirective {
|
|
|
1600
1460
|
this._modifiers = new BehaviorSubject(undefined);
|
|
1601
1461
|
this._inputModifiers = new BehaviorSubject(undefined);
|
|
1602
1462
|
this.modifiers$ = combineLatest([this._modifiers, this._inputModifiers]).pipe(map(([modifiers, inputModifiers]) => {
|
|
1603
|
-
return combineMaps(modifiers,
|
|
1463
|
+
return combineMaps(modifiers, inputModifiers ? addModifiers(inputModifiers) : undefined);
|
|
1604
1464
|
}), shareReplay(1));
|
|
1605
1465
|
}
|
|
1606
1466
|
ngOnDestroy() {
|
|
@@ -1623,7 +1483,7 @@ DbxValueListItemModifierDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion
|
|
|
1623
1483
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxValueListItemModifierDirective, decorators: [{
|
|
1624
1484
|
type: Directive,
|
|
1625
1485
|
args: [{
|
|
1626
|
-
|
|
1486
|
+
selector: '[dbxListItemModifier]',
|
|
1627
1487
|
providers: provideDbxValueListViewModifier(DbxValueListItemModifierDirective)
|
|
1628
1488
|
}]
|
|
1629
1489
|
}], propDecorators: { inputModifiers: [{
|
|
@@ -1713,21 +1573,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1713
1573
|
type: NgModule,
|
|
1714
1574
|
args: [{
|
|
1715
1575
|
imports: [],
|
|
1716
|
-
declarations: [
|
|
1717
|
-
|
|
1718
|
-
],
|
|
1719
|
-
exports: [
|
|
1720
|
-
DbxListItemAnchorModifierDirective
|
|
1721
|
-
]
|
|
1576
|
+
declarations: [DbxListItemAnchorModifierDirective],
|
|
1577
|
+
exports: [DbxListItemAnchorModifierDirective]
|
|
1722
1578
|
}]
|
|
1723
1579
|
}] });
|
|
1724
1580
|
|
|
1725
1581
|
const SCREEN_MEDIA_WIDTH_TYPE_SIZE_MAP = {
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1582
|
+
micro: 0,
|
|
1583
|
+
small: 1,
|
|
1584
|
+
tablet: 2,
|
|
1585
|
+
large: 3,
|
|
1586
|
+
full: 4
|
|
1731
1587
|
};
|
|
1732
1588
|
/**
|
|
1733
1589
|
* Compares the breakpoint with the current width and determines if it is "active" or not.
|
|
@@ -1846,7 +1702,7 @@ class DbxNavbarComponent extends AbstractTransitionDirective {
|
|
|
1846
1702
|
this._anchors = new BehaviorSubject([]);
|
|
1847
1703
|
this.isBreakpointActive$ = this._dbxScreenMediaService.isBreakpointActive(this._breakpoint);
|
|
1848
1704
|
this.mode$ = combineLatest([this._inputMode, this.isBreakpointActive$]).pipe(map(([inputMode, breakpointActive]) => {
|
|
1849
|
-
return
|
|
1705
|
+
return breakpointActive ? inputMode ?? 'bar' : 'button';
|
|
1850
1706
|
}), distinctUntilChanged(), tapDetectChanges(this.cdRef), shareReplay(1));
|
|
1851
1707
|
this.anchors$ = combineLatest([this._anchors, this.initAndUpdateOnTransitionSuccess$]).pipe(map(([anchors]) => {
|
|
1852
1708
|
const results = anchors.map((anchor) => {
|
|
@@ -1876,12 +1732,12 @@ class DbxNavbarComponent extends AbstractTransitionDirective {
|
|
|
1876
1732
|
}
|
|
1877
1733
|
}
|
|
1878
1734
|
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 });
|
|
1879
|
-
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]=\"
|
|
1735
|
+
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 });
|
|
1880
1736
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxNavbarComponent, decorators: [{
|
|
1881
1737
|
type: Component,
|
|
1882
1738
|
args: [{ selector: 'dbx-navbar', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
1883
|
-
|
|
1884
|
-
}, 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]=\"
|
|
1739
|
+
class: 'dbx-navbar'
|
|
1740
|
+
}, 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" }]
|
|
1885
1741
|
}], ctorParameters: function () { return [{ type: i1$2.DbxRouterTransitionService }, { type: i0.ChangeDetectorRef }, { type: DbxScreenMediaService }, { type: i1$2.DbxRouterService }]; }, propDecorators: { navAlign: [{
|
|
1886
1742
|
type: Input
|
|
1887
1743
|
}], anchors: [{
|
|
@@ -1895,37 +1751,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1895
1751
|
class DbxRouterNavbarModule {
|
|
1896
1752
|
}
|
|
1897
1753
|
DbxRouterNavbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterNavbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1898
|
-
DbxRouterNavbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterNavbarModule, declarations: [DbxNavbarComponent], imports: [CommonModule,
|
|
1899
|
-
|
|
1900
|
-
MatButtonModule,
|
|
1901
|
-
MatIconModule,
|
|
1902
|
-
MatMenuModule,
|
|
1903
|
-
DbxRouterAnchorModule], exports: [DbxNavbarComponent] });
|
|
1904
|
-
DbxRouterNavbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterNavbarModule, imports: [[
|
|
1905
|
-
CommonModule,
|
|
1906
|
-
MatTabsModule,
|
|
1907
|
-
MatButtonModule,
|
|
1908
|
-
MatIconModule,
|
|
1909
|
-
MatMenuModule,
|
|
1910
|
-
DbxRouterAnchorModule,
|
|
1911
|
-
]] });
|
|
1754
|
+
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] });
|
|
1755
|
+
DbxRouterNavbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterNavbarModule, imports: [[CommonModule, MatTabsModule, MatButtonModule, MatIconModule, MatMenuModule, DbxRouterAnchorModule]] });
|
|
1912
1756
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterNavbarModule, decorators: [{
|
|
1913
1757
|
type: NgModule,
|
|
1914
1758
|
args: [{
|
|
1915
|
-
imports: [
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
MatButtonModule,
|
|
1919
|
-
MatIconModule,
|
|
1920
|
-
MatMenuModule,
|
|
1921
|
-
DbxRouterAnchorModule,
|
|
1922
|
-
],
|
|
1923
|
-
declarations: [
|
|
1924
|
-
DbxNavbarComponent
|
|
1925
|
-
],
|
|
1926
|
-
exports: [
|
|
1927
|
-
DbxNavbarComponent
|
|
1928
|
-
]
|
|
1759
|
+
imports: [CommonModule, MatTabsModule, MatButtonModule, MatIconModule, MatMenuModule, DbxRouterAnchorModule],
|
|
1760
|
+
declarations: [DbxNavbarComponent],
|
|
1761
|
+
exports: [DbxNavbarComponent]
|
|
1929
1762
|
}]
|
|
1930
1763
|
}] });
|
|
1931
1764
|
|
|
@@ -1981,7 +1814,7 @@ class DbxSidenavComponent extends AbstractTransitionWatcherDirective {
|
|
|
1981
1814
|
}
|
|
1982
1815
|
return mode;
|
|
1983
1816
|
}), shareReplay(1));
|
|
1984
|
-
this.disableBackdrop$ = this.mode$.pipe(map(x => x !== SideNavDisplayMode.MOBILE), distinctUntilChanged(), shareReplay(1));
|
|
1817
|
+
this.disableBackdrop$ = this.mode$.pipe(map((x) => x !== SideNavDisplayMode.MOBILE), distinctUntilChanged(), shareReplay(1));
|
|
1985
1818
|
this.sizeClass$ = this.mode$.pipe(map((mode) => `dbx-sidenav-${mode}`), distinctUntilChanged(), shareReplay(1));
|
|
1986
1819
|
this.state$ = this.mode$.pipe(map((mode) => {
|
|
1987
1820
|
let drawer;
|
|
@@ -2003,7 +1836,7 @@ class DbxSidenavComponent extends AbstractTransitionWatcherDirective {
|
|
|
2003
1836
|
open
|
|
2004
1837
|
};
|
|
2005
1838
|
}), shareReplay(1));
|
|
2006
|
-
this.drawer$ = this.state$.pipe(map(x => x.drawer), distinctUntilChanged(), shareReplay(1));
|
|
1839
|
+
this.drawer$ = this.state$.pipe(map((x) => x.drawer), distinctUntilChanged(), shareReplay(1));
|
|
2007
1840
|
this._watcherSub = new SubscriptionObject();
|
|
2008
1841
|
this._stateSub = new SubscriptionObject();
|
|
2009
1842
|
}
|
|
@@ -2078,7 +1911,7 @@ class DbxSidenavButtonComponent {
|
|
|
2078
1911
|
constructor(parent) {
|
|
2079
1912
|
this.parent = parent;
|
|
2080
1913
|
this.mode$ = this.parent.mode$;
|
|
2081
|
-
this.showMenuButton$ = this.mode$.pipe(map(x => x === SideNavDisplayMode.MOBILE));
|
|
1914
|
+
this.showMenuButton$ = this.mode$.pipe(map((x) => x === SideNavDisplayMode.MOBILE));
|
|
2082
1915
|
}
|
|
2083
1916
|
toggleNav() {
|
|
2084
1917
|
this.parent.toggleNav();
|
|
@@ -2086,18 +1919,18 @@ class DbxSidenavButtonComponent {
|
|
|
2086
1919
|
}
|
|
2087
1920
|
DbxSidenavButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSidenavButtonComponent, deps: [{ token: DbxSidenavComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
2088
1921
|
DbxSidenavButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxSidenavButtonComponent, selector: "dbx-sidenav-button", ngImport: i0, template: `
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
1922
|
+
<button class="dbx-sidenav-button" mat-icon-button *ngIf="showMenuButton$ | async" (click)="toggleNav()" aria-label="open sidenav button">
|
|
1923
|
+
<mat-icon>view_sidebar</mat-icon>
|
|
1924
|
+
</button>
|
|
2092
1925
|
`, 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 } });
|
|
2093
1926
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSidenavButtonComponent, decorators: [{
|
|
2094
1927
|
type: Component,
|
|
2095
1928
|
args: [{
|
|
2096
1929
|
selector: 'dbx-sidenav-button',
|
|
2097
1930
|
template: `
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
1931
|
+
<button class="dbx-sidenav-button" mat-icon-button *ngIf="showMenuButton$ | async" (click)="toggleNav()" aria-label="open sidenav button">
|
|
1932
|
+
<mat-icon>view_sidebar</mat-icon>
|
|
1933
|
+
</button>
|
|
2101
1934
|
`
|
|
2102
1935
|
}]
|
|
2103
1936
|
}], ctorParameters: function () { return [{ type: DbxSidenavComponent }]; } });
|
|
@@ -2144,7 +1977,7 @@ class DbxSidenavPageComponent {
|
|
|
2144
1977
|
constructor(parent) {
|
|
2145
1978
|
this.parent = parent;
|
|
2146
1979
|
this._mobileOnly = new BehaviorSubject(false);
|
|
2147
|
-
this.hidePagebar$ = this._mobileOnly.pipe(switchMap((mobileOnly) => (mobileOnly
|
|
1980
|
+
this.hidePagebar$ = this._mobileOnly.pipe(switchMap((mobileOnly) => (mobileOnly ? this.parent.mode$.pipe(map((x) => x !== SideNavDisplayMode.MOBILE)) : of(true))), shareReplay(1));
|
|
2148
1981
|
}
|
|
2149
1982
|
ngOnDestroy() {
|
|
2150
1983
|
this._mobileOnly.complete();
|
|
@@ -2202,7 +2035,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2202
2035
|
args: [{
|
|
2203
2036
|
selector: 'dbx-content-elevate,[dbxContentElevate]',
|
|
2204
2037
|
host: {
|
|
2205
|
-
|
|
2038
|
+
class: 'd-block dbx-content-elevate'
|
|
2206
2039
|
}
|
|
2207
2040
|
}]
|
|
2208
2041
|
}] });
|
|
@@ -2219,7 +2052,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2219
2052
|
args: [{
|
|
2220
2053
|
selector: 'dbx-content,[dbxContent]',
|
|
2221
2054
|
host: {
|
|
2222
|
-
|
|
2055
|
+
class: 'd-block dbx-content'
|
|
2223
2056
|
}
|
|
2224
2057
|
}]
|
|
2225
2058
|
}] });
|
|
@@ -2236,7 +2069,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2236
2069
|
args: [{
|
|
2237
2070
|
selector: 'dbx-content-border,[dbxContentBorder]',
|
|
2238
2071
|
host: {
|
|
2239
|
-
|
|
2072
|
+
class: 'd-block dbx-content-border'
|
|
2240
2073
|
}
|
|
2241
2074
|
}]
|
|
2242
2075
|
}] });
|
|
@@ -2257,7 +2090,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2257
2090
|
args: [{
|
|
2258
2091
|
selector: 'dbx-content-container,[dbxContentContainer],.dbx-content-container',
|
|
2259
2092
|
host: {
|
|
2260
|
-
|
|
2093
|
+
class: 'd-block dbx-content-container',
|
|
2261
2094
|
'[class]': `"container-" + grow + " container-padding-" + padding`
|
|
2262
2095
|
}
|
|
2263
2096
|
}]
|
|
@@ -2283,7 +2116,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2283
2116
|
args: [{
|
|
2284
2117
|
selector: 'dbx-content-box, [dbxContentBox]',
|
|
2285
2118
|
host: {
|
|
2286
|
-
|
|
2119
|
+
class: 'd-block dbx-content-box',
|
|
2287
2120
|
'[class.dbx-content-elevate]': 'elevated',
|
|
2288
2121
|
'[class.dbx-content-box-wide]': 'wide'
|
|
2289
2122
|
}
|
|
@@ -2306,7 +2139,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2306
2139
|
args: [{
|
|
2307
2140
|
selector: 'dbx-content-page,[dbxContentPage]',
|
|
2308
2141
|
host: {
|
|
2309
|
-
|
|
2142
|
+
class: 'd-block dbx-content-page'
|
|
2310
2143
|
}
|
|
2311
2144
|
}]
|
|
2312
2145
|
}] });
|
|
@@ -2317,112 +2150,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2317
2150
|
class DbxContentLayoutModule {
|
|
2318
2151
|
}
|
|
2319
2152
|
DbxContentLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxContentLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2320
|
-
DbxContentLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxContentLayoutModule, declarations: [DbxContentDirective,
|
|
2321
|
-
|
|
2322
|
-
DbxContentBorderDirective,
|
|
2323
|
-
DbxContentElevateDirective,
|
|
2324
|
-
DbxContentBoxDirective,
|
|
2325
|
-
DbxContentPageDirective], imports: [CommonModule], exports: [DbxContentDirective,
|
|
2326
|
-
DbxContentContainerDirective,
|
|
2327
|
-
DbxContentBorderDirective,
|
|
2328
|
-
DbxContentElevateDirective,
|
|
2329
|
-
DbxContentBoxDirective,
|
|
2330
|
-
DbxContentPageDirective] });
|
|
2331
|
-
DbxContentLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxContentLayoutModule, imports: [[
|
|
2332
|
-
CommonModule
|
|
2333
|
-
]] });
|
|
2153
|
+
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] });
|
|
2154
|
+
DbxContentLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxContentLayoutModule, imports: [[CommonModule]] });
|
|
2334
2155
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxContentLayoutModule, decorators: [{
|
|
2335
2156
|
type: NgModule,
|
|
2336
2157
|
args: [{
|
|
2337
|
-
imports: [
|
|
2338
|
-
|
|
2339
|
-
]
|
|
2340
|
-
declarations: [
|
|
2341
|
-
DbxContentDirective,
|
|
2342
|
-
DbxContentContainerDirective,
|
|
2343
|
-
DbxContentBorderDirective,
|
|
2344
|
-
DbxContentElevateDirective,
|
|
2345
|
-
DbxContentBoxDirective,
|
|
2346
|
-
DbxContentPageDirective
|
|
2347
|
-
],
|
|
2348
|
-
exports: [
|
|
2349
|
-
DbxContentDirective,
|
|
2350
|
-
DbxContentContainerDirective,
|
|
2351
|
-
DbxContentBorderDirective,
|
|
2352
|
-
DbxContentElevateDirective,
|
|
2353
|
-
DbxContentBoxDirective,
|
|
2354
|
-
DbxContentPageDirective
|
|
2355
|
-
]
|
|
2158
|
+
imports: [CommonModule],
|
|
2159
|
+
declarations: [DbxContentDirective, DbxContentContainerDirective, DbxContentBorderDirective, DbxContentElevateDirective, DbxContentBoxDirective, DbxContentPageDirective],
|
|
2160
|
+
exports: [DbxContentDirective, DbxContentContainerDirective, DbxContentBorderDirective, DbxContentElevateDirective, DbxContentBoxDirective, DbxContentPageDirective]
|
|
2356
2161
|
}]
|
|
2357
2162
|
}] });
|
|
2358
2163
|
|
|
2359
2164
|
class DbxRouterSidenavModule {
|
|
2360
2165
|
}
|
|
2361
2166
|
DbxRouterSidenavModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterSidenavModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2362
|
-
DbxRouterSidenavModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterSidenavModule, declarations: [DbxSidenavComponent,
|
|
2363
|
-
|
|
2364
|
-
DbxSidenavPagebarComponent,
|
|
2365
|
-
DbxSidenavPageComponent], imports: [CommonModule,
|
|
2366
|
-
DbxBarLayoutModule,
|
|
2367
|
-
DbxRouterAnchorModule,
|
|
2368
|
-
DbxRouterAnchorListModule,
|
|
2369
|
-
DbxButtonModule,
|
|
2370
|
-
DbxContentLayoutModule,
|
|
2371
|
-
MatToolbarModule,
|
|
2372
|
-
MatButtonModule,
|
|
2373
|
-
MatIconModule,
|
|
2374
|
-
MatSidenavModule,
|
|
2375
|
-
MatListModule,
|
|
2376
|
-
MatDividerModule,
|
|
2377
|
-
UIRouterModule], exports: [DbxSidenavComponent,
|
|
2378
|
-
DbxSidenavButtonComponent,
|
|
2379
|
-
DbxSidenavPagebarComponent,
|
|
2380
|
-
DbxSidenavPageComponent] });
|
|
2381
|
-
DbxRouterSidenavModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterSidenavModule, imports: [[
|
|
2382
|
-
CommonModule,
|
|
2383
|
-
DbxBarLayoutModule,
|
|
2384
|
-
DbxRouterAnchorModule,
|
|
2385
|
-
DbxRouterAnchorListModule,
|
|
2386
|
-
DbxButtonModule,
|
|
2387
|
-
DbxContentLayoutModule,
|
|
2388
|
-
MatToolbarModule,
|
|
2389
|
-
MatButtonModule,
|
|
2390
|
-
MatIconModule,
|
|
2391
|
-
MatSidenavModule,
|
|
2392
|
-
MatListModule,
|
|
2393
|
-
MatDividerModule,
|
|
2394
|
-
UIRouterModule
|
|
2395
|
-
]] });
|
|
2167
|
+
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] });
|
|
2168
|
+
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]] });
|
|
2396
2169
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterSidenavModule, decorators: [{
|
|
2397
2170
|
type: NgModule,
|
|
2398
2171
|
args: [{
|
|
2399
|
-
imports: [
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
DbxRouterAnchorModule,
|
|
2403
|
-
DbxRouterAnchorListModule,
|
|
2404
|
-
DbxButtonModule,
|
|
2405
|
-
DbxContentLayoutModule,
|
|
2406
|
-
MatToolbarModule,
|
|
2407
|
-
MatButtonModule,
|
|
2408
|
-
MatIconModule,
|
|
2409
|
-
MatSidenavModule,
|
|
2410
|
-
MatListModule,
|
|
2411
|
-
MatDividerModule,
|
|
2412
|
-
UIRouterModule
|
|
2413
|
-
],
|
|
2414
|
-
declarations: [
|
|
2415
|
-
DbxSidenavComponent,
|
|
2416
|
-
DbxSidenavButtonComponent,
|
|
2417
|
-
DbxSidenavPagebarComponent,
|
|
2418
|
-
DbxSidenavPageComponent
|
|
2419
|
-
],
|
|
2420
|
-
exports: [
|
|
2421
|
-
DbxSidenavComponent,
|
|
2422
|
-
DbxSidenavButtonComponent,
|
|
2423
|
-
DbxSidenavPagebarComponent,
|
|
2424
|
-
DbxSidenavPageComponent
|
|
2425
|
-
]
|
|
2172
|
+
imports: [CommonModule, DbxBarLayoutModule, DbxRouterAnchorModule, DbxRouterAnchorListModule, DbxButtonModule, DbxContentLayoutModule, MatToolbarModule, MatButtonModule, MatIconModule, MatSidenavModule, MatListModule, MatDividerModule, UIRouterModule],
|
|
2173
|
+
declarations: [DbxSidenavComponent, DbxSidenavButtonComponent, DbxSidenavPagebarComponent, DbxSidenavPageComponent],
|
|
2174
|
+
exports: [DbxSidenavComponent, DbxSidenavButtonComponent, DbxSidenavPagebarComponent, DbxSidenavPageComponent]
|
|
2426
2175
|
}]
|
|
2427
2176
|
}] });
|
|
2428
2177
|
|
|
@@ -2433,26 +2182,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2433
2182
|
class DbxRouterLayoutModule {
|
|
2434
2183
|
}
|
|
2435
2184
|
DbxRouterLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2436
|
-
DbxRouterLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterLayoutModule, exports: [DbxRouterAnchorModule,
|
|
2437
|
-
|
|
2438
|
-
DbxRouterListModule,
|
|
2439
|
-
DbxRouterNavbarModule,
|
|
2440
|
-
DbxRouterSidenavModule] });
|
|
2441
|
-
DbxRouterLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterLayoutModule, imports: [DbxRouterAnchorModule,
|
|
2442
|
-
DbxRouterAnchorListModule,
|
|
2443
|
-
DbxRouterListModule,
|
|
2444
|
-
DbxRouterNavbarModule,
|
|
2445
|
-
DbxRouterSidenavModule] });
|
|
2185
|
+
DbxRouterLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterLayoutModule, exports: [DbxRouterAnchorModule, DbxRouterAnchorListModule, DbxRouterListModule, DbxRouterNavbarModule, DbxRouterSidenavModule] });
|
|
2186
|
+
DbxRouterLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterLayoutModule, imports: [DbxRouterAnchorModule, DbxRouterAnchorListModule, DbxRouterListModule, DbxRouterNavbarModule, DbxRouterSidenavModule] });
|
|
2446
2187
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxRouterLayoutModule, decorators: [{
|
|
2447
2188
|
type: NgModule,
|
|
2448
2189
|
args: [{
|
|
2449
|
-
exports: [
|
|
2450
|
-
DbxRouterAnchorModule,
|
|
2451
|
-
DbxRouterAnchorListModule,
|
|
2452
|
-
DbxRouterListModule,
|
|
2453
|
-
DbxRouterNavbarModule,
|
|
2454
|
-
DbxRouterSidenavModule
|
|
2455
|
-
]
|
|
2190
|
+
exports: [DbxRouterAnchorModule, DbxRouterAnchorListModule, DbxRouterListModule, DbxRouterNavbarModule, DbxRouterSidenavModule]
|
|
2456
2191
|
}]
|
|
2457
2192
|
}] });
|
|
2458
2193
|
|
|
@@ -2486,22 +2221,12 @@ class DbxWebAngularRouterModule {
|
|
|
2486
2221
|
}
|
|
2487
2222
|
}
|
|
2488
2223
|
DbxWebAngularRouterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebAngularRouterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2489
|
-
DbxWebAngularRouterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebAngularRouterModule, declarations: [DbxAngularRouterSegueAnchorComponent], imports: [CommonModule,
|
|
2490
|
-
|
|
2491
|
-
DbxInjectionComponentModule], exports: [DbxAngularRouterSegueAnchorComponent] });
|
|
2492
|
-
DbxWebAngularRouterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebAngularRouterModule, imports: [[
|
|
2493
|
-
CommonModule,
|
|
2494
|
-
UIRouterModule,
|
|
2495
|
-
DbxInjectionComponentModule
|
|
2496
|
-
]] });
|
|
2224
|
+
DbxWebAngularRouterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebAngularRouterModule, declarations: [DbxAngularRouterSegueAnchorComponent], imports: [CommonModule, UIRouterModule, DbxInjectionComponentModule], exports: [DbxAngularRouterSegueAnchorComponent] });
|
|
2225
|
+
DbxWebAngularRouterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebAngularRouterModule, imports: [[CommonModule, UIRouterModule, DbxInjectionComponentModule]] });
|
|
2497
2226
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebAngularRouterModule, decorators: [{
|
|
2498
2227
|
type: NgModule,
|
|
2499
2228
|
args: [{
|
|
2500
|
-
imports: [
|
|
2501
|
-
CommonModule,
|
|
2502
|
-
UIRouterModule,
|
|
2503
|
-
DbxInjectionComponentModule
|
|
2504
|
-
],
|
|
2229
|
+
imports: [CommonModule, UIRouterModule, DbxInjectionComponentModule],
|
|
2505
2230
|
declarations: [DbxAngularRouterSegueAnchorComponent],
|
|
2506
2231
|
exports: [DbxAngularRouterSegueAnchorComponent]
|
|
2507
2232
|
}]
|
|
@@ -2513,15 +2238,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2513
2238
|
class DbxUIRouterSegueAnchorComponent extends AbstractDbxSegueAnchorDirective {
|
|
2514
2239
|
constructor() {
|
|
2515
2240
|
super(...arguments);
|
|
2516
|
-
this.uiRef$ = this.ref$.pipe(filter(x => typeof x === 'string'));
|
|
2241
|
+
this.uiRef$ = this.ref$.pipe(filter((x) => typeof x === 'string'));
|
|
2517
2242
|
this.uiOptions$ = this.refOptions$;
|
|
2518
2243
|
}
|
|
2519
2244
|
}
|
|
2520
2245
|
DbxUIRouterSegueAnchorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxUIRouterSegueAnchorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2521
|
-
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) ?? ''\"
|
|
2246
|
+
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 } });
|
|
2522
2247
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxUIRouterSegueAnchorComponent, decorators: [{
|
|
2523
2248
|
type: Component,
|
|
2524
|
-
args: [{ template: "<a class=\"dbx-anchor-a dbx-anchor-sref\" [attr.target]=\"target$ | async\" [uiSref]=\"(uiRef$ | async) ?? ''\"
|
|
2249
|
+
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" }]
|
|
2525
2250
|
}] });
|
|
2526
2251
|
|
|
2527
2252
|
class DbxWebUIRouterModule {
|
|
@@ -2542,22 +2267,12 @@ class DbxWebUIRouterModule {
|
|
|
2542
2267
|
}
|
|
2543
2268
|
}
|
|
2544
2269
|
DbxWebUIRouterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebUIRouterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2545
|
-
DbxWebUIRouterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebUIRouterModule, declarations: [DbxUIRouterSegueAnchorComponent], imports: [CommonModule,
|
|
2546
|
-
|
|
2547
|
-
DbxInjectionComponentModule], exports: [DbxUIRouterSegueAnchorComponent] });
|
|
2548
|
-
DbxWebUIRouterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebUIRouterModule, imports: [[
|
|
2549
|
-
CommonModule,
|
|
2550
|
-
UIRouterModule,
|
|
2551
|
-
DbxInjectionComponentModule
|
|
2552
|
-
]] });
|
|
2270
|
+
DbxWebUIRouterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebUIRouterModule, declarations: [DbxUIRouterSegueAnchorComponent], imports: [CommonModule, UIRouterModule, DbxInjectionComponentModule], exports: [DbxUIRouterSegueAnchorComponent] });
|
|
2271
|
+
DbxWebUIRouterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebUIRouterModule, imports: [[CommonModule, UIRouterModule, DbxInjectionComponentModule]] });
|
|
2553
2272
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebUIRouterModule, decorators: [{
|
|
2554
2273
|
type: NgModule,
|
|
2555
2274
|
args: [{
|
|
2556
|
-
imports: [
|
|
2557
|
-
CommonModule,
|
|
2558
|
-
UIRouterModule,
|
|
2559
|
-
DbxInjectionComponentModule
|
|
2560
|
-
],
|
|
2275
|
+
imports: [CommonModule, UIRouterModule, DbxInjectionComponentModule],
|
|
2561
2276
|
declarations: [DbxUIRouterSegueAnchorComponent],
|
|
2562
2277
|
exports: [DbxUIRouterSegueAnchorComponent]
|
|
2563
2278
|
}]
|
|
@@ -2592,31 +2307,31 @@ class DbxTwoBlocksComponent {
|
|
|
2592
2307
|
}
|
|
2593
2308
|
DbxTwoBlocksComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoBlocksComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2594
2309
|
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: `
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2310
|
+
<div #two class="dbx-two-block-content">
|
|
2311
|
+
<div #top class="dbx-two-block-top" (resized)="onResized($event)">
|
|
2312
|
+
<ng-content select="[top]"></ng-content>
|
|
2313
|
+
</div>
|
|
2314
|
+
<div #bottom class="dbx-two-block-bottom">
|
|
2315
|
+
<ng-content></ng-content>
|
|
2316
|
+
</div>
|
|
2601
2317
|
</div>
|
|
2602
|
-
</div>
|
|
2603
2318
|
`, isInline: true, directives: [{ type: i1$7.ResizedDirective, selector: "[resized]", outputs: ["resized"] }] });
|
|
2604
2319
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoBlocksComponent, decorators: [{
|
|
2605
2320
|
type: Component,
|
|
2606
2321
|
args: [{
|
|
2607
2322
|
selector: 'dbx-two-block',
|
|
2608
2323
|
template: `
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2324
|
+
<div #two class="dbx-two-block-content">
|
|
2325
|
+
<div #top class="dbx-two-block-top" (resized)="onResized($event)">
|
|
2326
|
+
<ng-content select="[top]"></ng-content>
|
|
2327
|
+
</div>
|
|
2328
|
+
<div #bottom class="dbx-two-block-bottom">
|
|
2329
|
+
<ng-content></ng-content>
|
|
2330
|
+
</div>
|
|
2615
2331
|
</div>
|
|
2616
|
-
</div>
|
|
2617
2332
|
`,
|
|
2618
2333
|
host: {
|
|
2619
|
-
|
|
2334
|
+
class: 'dbx-two-block d-block',
|
|
2620
2335
|
'[class]': '{ "dbx-two-block-fixed-top": fixedTop }'
|
|
2621
2336
|
}
|
|
2622
2337
|
}]
|
|
@@ -2633,28 +2348,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2633
2348
|
class DbxBlockLayoutModule {
|
|
2634
2349
|
}
|
|
2635
2350
|
DbxBlockLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBlockLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2636
|
-
DbxBlockLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBlockLayoutModule, declarations: [DbxTwoBlocksComponent], imports: [CommonModule,
|
|
2637
|
-
|
|
2638
|
-
AngularResizeEventModule], exports: [DbxTwoBlocksComponent] });
|
|
2639
|
-
DbxBlockLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBlockLayoutModule, imports: [[
|
|
2640
|
-
CommonModule,
|
|
2641
|
-
DbxRouterAnchorModule,
|
|
2642
|
-
AngularResizeEventModule
|
|
2643
|
-
]] });
|
|
2351
|
+
DbxBlockLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBlockLayoutModule, declarations: [DbxTwoBlocksComponent], imports: [CommonModule, DbxRouterAnchorModule, AngularResizeEventModule], exports: [DbxTwoBlocksComponent] });
|
|
2352
|
+
DbxBlockLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBlockLayoutModule, imports: [[CommonModule, DbxRouterAnchorModule, AngularResizeEventModule]] });
|
|
2644
2353
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBlockLayoutModule, decorators: [{
|
|
2645
2354
|
type: NgModule,
|
|
2646
2355
|
args: [{
|
|
2647
|
-
imports: [
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
AngularResizeEventModule
|
|
2651
|
-
],
|
|
2652
|
-
declarations: [
|
|
2653
|
-
DbxTwoBlocksComponent
|
|
2654
|
-
],
|
|
2655
|
-
exports: [
|
|
2656
|
-
DbxTwoBlocksComponent
|
|
2657
|
-
]
|
|
2356
|
+
imports: [CommonModule, DbxRouterAnchorModule, AngularResizeEventModule],
|
|
2357
|
+
declarations: [DbxTwoBlocksComponent],
|
|
2358
|
+
exports: [DbxTwoBlocksComponent]
|
|
2658
2359
|
}]
|
|
2659
2360
|
}] });
|
|
2660
2361
|
|
|
@@ -2665,36 +2366,42 @@ class DbxCardBoxComponent {
|
|
|
2665
2366
|
}
|
|
2666
2367
|
DbxCardBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCardBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2667
2368
|
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: `
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2369
|
+
<div class="dbx-card-box">
|
|
2370
|
+
<div class="dbx-section-header">
|
|
2371
|
+
<div class="dbx-section-header-content">
|
|
2372
|
+
<h4 class="dbx-section-header-content-title">
|
|
2373
|
+
<mat-icon *ngIf="icon">{{ icon }}</mat-icon>
|
|
2374
|
+
<span *ngIf="header" class="title-text">{{ header }}</span>
|
|
2375
|
+
</h4>
|
|
2376
|
+
<span class="spacer"></span>
|
|
2377
|
+
<ng-content select="[sectionHeader]"></ng-content>
|
|
2378
|
+
</div>
|
|
2379
|
+
</div>
|
|
2380
|
+
<div class="dbx-card-box-content">
|
|
2381
|
+
<ng-content></ng-content>
|
|
2674
2382
|
</div>
|
|
2675
2383
|
</div>
|
|
2676
|
-
<div class="dbx-card-box-content">
|
|
2677
|
-
<ng-content></ng-content>
|
|
2678
|
-
</div>
|
|
2679
|
-
</div>
|
|
2680
2384
|
`, 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"] }] });
|
|
2681
2385
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCardBoxComponent, decorators: [{
|
|
2682
2386
|
type: Component,
|
|
2683
2387
|
args: [{
|
|
2684
2388
|
selector: 'dbx-card-box',
|
|
2685
2389
|
template: `
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2390
|
+
<div class="dbx-card-box">
|
|
2391
|
+
<div class="dbx-section-header">
|
|
2392
|
+
<div class="dbx-section-header-content">
|
|
2393
|
+
<h4 class="dbx-section-header-content-title">
|
|
2394
|
+
<mat-icon *ngIf="icon">{{ icon }}</mat-icon>
|
|
2395
|
+
<span *ngIf="header" class="title-text">{{ header }}</span>
|
|
2396
|
+
</h4>
|
|
2397
|
+
<span class="spacer"></span>
|
|
2398
|
+
<ng-content select="[sectionHeader]"></ng-content>
|
|
2399
|
+
</div>
|
|
2400
|
+
</div>
|
|
2401
|
+
<div class="dbx-card-box-content">
|
|
2402
|
+
<ng-content></ng-content>
|
|
2692
2403
|
</div>
|
|
2693
2404
|
</div>
|
|
2694
|
-
<div class="dbx-card-box-content">
|
|
2695
|
-
<ng-content></ng-content>
|
|
2696
|
-
</div>
|
|
2697
|
-
</div>
|
|
2698
2405
|
`
|
|
2699
2406
|
}]
|
|
2700
2407
|
}], propDecorators: { header: [{
|
|
@@ -2710,18 +2417,18 @@ class DbxCardBoxContainerComponent {
|
|
|
2710
2417
|
}
|
|
2711
2418
|
DbxCardBoxContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCardBoxContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2712
2419
|
DbxCardBoxContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxCardBoxContainerComponent, selector: "dbx-card-box-container", ngImport: i0, template: `
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2420
|
+
<div class="dbx-card-box-container">
|
|
2421
|
+
<ng-content></ng-content>
|
|
2422
|
+
</div>
|
|
2716
2423
|
`, isInline: true });
|
|
2717
2424
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCardBoxContainerComponent, decorators: [{
|
|
2718
2425
|
type: Component,
|
|
2719
2426
|
args: [{
|
|
2720
2427
|
selector: 'dbx-card-box-container',
|
|
2721
2428
|
template: `
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2429
|
+
<div class="dbx-card-box-container">
|
|
2430
|
+
<ng-content></ng-content>
|
|
2431
|
+
</div>
|
|
2725
2432
|
`
|
|
2726
2433
|
}]
|
|
2727
2434
|
}] });
|
|
@@ -2729,29 +2436,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2729
2436
|
class DbxCardBoxLayoutModule {
|
|
2730
2437
|
}
|
|
2731
2438
|
DbxCardBoxLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCardBoxLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2732
|
-
DbxCardBoxLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCardBoxLayoutModule, declarations: [DbxCardBoxComponent,
|
|
2733
|
-
|
|
2734
|
-
MatIconModule], exports: [DbxCardBoxComponent,
|
|
2735
|
-
DbxCardBoxContainerComponent] });
|
|
2736
|
-
DbxCardBoxLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCardBoxLayoutModule, imports: [[
|
|
2737
|
-
CommonModule,
|
|
2738
|
-
MatIconModule
|
|
2739
|
-
]] });
|
|
2439
|
+
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] });
|
|
2440
|
+
DbxCardBoxLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCardBoxLayoutModule, imports: [[CommonModule, MatIconModule]] });
|
|
2740
2441
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCardBoxLayoutModule, decorators: [{
|
|
2741
2442
|
type: NgModule,
|
|
2742
2443
|
args: [{
|
|
2743
|
-
imports: [
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
],
|
|
2747
|
-
declarations: [
|
|
2748
|
-
DbxCardBoxComponent,
|
|
2749
|
-
DbxCardBoxContainerComponent
|
|
2750
|
-
],
|
|
2751
|
-
exports: [
|
|
2752
|
-
DbxCardBoxComponent,
|
|
2753
|
-
DbxCardBoxContainerComponent
|
|
2754
|
-
]
|
|
2444
|
+
imports: [CommonModule, MatIconModule],
|
|
2445
|
+
declarations: [DbxCardBoxComponent, DbxCardBoxContainerComponent],
|
|
2446
|
+
exports: [DbxCardBoxComponent, DbxCardBoxContainerComponent]
|
|
2755
2447
|
}]
|
|
2756
2448
|
}] });
|
|
2757
2449
|
|
|
@@ -2796,11 +2488,11 @@ class TwoColumnsContextStore extends ComponentStore {
|
|
|
2796
2488
|
/**
|
|
2797
2489
|
* Changes the state to show right or not.
|
|
2798
2490
|
*/
|
|
2799
|
-
this.setShowRight = this.updater((state, showRight) => isMaybeNot(showRight) ? state :
|
|
2491
|
+
this.setShowRight = this.updater((state, showRight) => (isMaybeNot(showRight) ? state : { ...state, showRight }));
|
|
2800
2492
|
/**
|
|
2801
2493
|
* Sets the full left. If undefined is passed, no change occurs.
|
|
2802
2494
|
*/
|
|
2803
|
-
this.setFullLeft = this.updater((state, fullLeft) => isMaybeNot(fullLeft) ? state :
|
|
2495
|
+
this.setFullLeft = this.updater((state, fullLeft) => (isMaybeNot(fullLeft) ? state : { ...state, fullLeft }));
|
|
2804
2496
|
/**
|
|
2805
2497
|
* Sets the new back ref.
|
|
2806
2498
|
*/
|
|
@@ -2824,10 +2516,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2824
2516
|
type: Injectable
|
|
2825
2517
|
}], ctorParameters: function () { return []; } });
|
|
2826
2518
|
function provideTwoColumnsContext() {
|
|
2827
|
-
return [
|
|
2519
|
+
return [
|
|
2520
|
+
{
|
|
2828
2521
|
provide: TwoColumnsContextStore,
|
|
2829
2522
|
useClass: TwoColumnsContextStore
|
|
2830
|
-
}
|
|
2523
|
+
}
|
|
2524
|
+
];
|
|
2831
2525
|
}
|
|
2832
2526
|
|
|
2833
2527
|
/**
|
|
@@ -2878,8 +2572,7 @@ class DbxTwoColumnComponent extends AbstractSubscriptionDirective {
|
|
|
2878
2572
|
this.hideRight$ = this.twoColumnsContextStore.hideRight$;
|
|
2879
2573
|
}
|
|
2880
2574
|
ngOnInit() {
|
|
2881
|
-
this.sub = combineLatest([this.showRight$, this.showFullLeft$, this._reverseSizing, this._inSectionPage])
|
|
2882
|
-
.subscribe(([showRight, showFullLeft, reverseSizing, inSectionPage]) => {
|
|
2575
|
+
this.sub = combineLatest([this.showRight$, this.showFullLeft$, this._reverseSizing, this._inSectionPage]).subscribe(([showRight, showFullLeft, reverseSizing, inSectionPage]) => {
|
|
2883
2576
|
this._view = {
|
|
2884
2577
|
showRight,
|
|
2885
2578
|
showFullLeft,
|
|
@@ -2905,13 +2598,13 @@ class DbxTwoColumnComponent extends AbstractSubscriptionDirective {
|
|
|
2905
2598
|
}
|
|
2906
2599
|
}
|
|
2907
2600
|
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 });
|
|
2908
|
-
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\"
|
|
2601
|
+
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 });
|
|
2909
2602
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoColumnComponent, decorators: [{
|
|
2910
2603
|
type: Component,
|
|
2911
2604
|
args: [{ selector: 'dbx-two-column', exportAs: 'columns', host: {
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
}, 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\"
|
|
2605
|
+
class: 'dbx-two-column',
|
|
2606
|
+
'[class]': "{ 'right-shown': v.showRight, 'full-left': v.fullLeft, 'two-column-reverse-sizing': v.reverseSizing, 'dbx-section-page-two': v.inSectionPage }"
|
|
2607
|
+
}, 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" }]
|
|
2915
2608
|
}], ctorParameters: function () { return [{ type: TwoColumnsContextStore, decorators: [{
|
|
2916
2609
|
type: Inject,
|
|
2917
2610
|
args: [TwoColumnsContextStore]
|
|
@@ -2963,7 +2656,7 @@ class DbxTwoColumnFullLeftDirective {
|
|
|
2963
2656
|
return this._fullLeft.value;
|
|
2964
2657
|
}
|
|
2965
2658
|
set fullLeft(fullLeft) {
|
|
2966
|
-
if (fullLeft != null &&
|
|
2659
|
+
if (fullLeft != null && fullLeft !== '') {
|
|
2967
2660
|
this._fullLeft.next(fullLeft);
|
|
2968
2661
|
}
|
|
2969
2662
|
}
|
|
@@ -2993,7 +2686,7 @@ class DbxTwoColumnColumnHeadComponent {
|
|
|
2993
2686
|
}
|
|
2994
2687
|
DbxTwoColumnColumnHeadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoColumnColumnHeadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2995
2688
|
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: `
|
|
2996
|
-
<div class="dbx-two-column-head" [ngClass]="{
|
|
2689
|
+
<div class="dbx-two-column-head" [ngClass]="{ block: block, full: full }">
|
|
2997
2690
|
<ng-content></ng-content>
|
|
2998
2691
|
</div>
|
|
2999
2692
|
`, isInline: true, directives: [{ type: i3$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
@@ -3002,7 +2695,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3002
2695
|
args: [{
|
|
3003
2696
|
selector: 'dbx-two-column-head',
|
|
3004
2697
|
template: `
|
|
3005
|
-
<div class="dbx-two-column-head" [ngClass]="{
|
|
2698
|
+
<div class="dbx-two-column-head" [ngClass]="{ block: block, full: full }">
|
|
3006
2699
|
<ng-content></ng-content>
|
|
3007
2700
|
</div>
|
|
3008
2701
|
`
|
|
@@ -3048,7 +2741,8 @@ class DbxTwoColumnRightComponent {
|
|
|
3048
2741
|
this._showBack = new BehaviorSubject(true);
|
|
3049
2742
|
this.ref$ = this.twoColumnsContextStore.backRef$;
|
|
3050
2743
|
this.showBack$ = combineLatest([
|
|
3051
|
-
this._showBack,
|
|
2744
|
+
this._showBack,
|
|
2745
|
+
this.ref$.pipe(map((x) => !x)) // TODO: Is this correct? Show back if ref is not defined?
|
|
3052
2746
|
]).pipe(map(([a, b]) => a && b));
|
|
3053
2747
|
}
|
|
3054
2748
|
ngAfterViewInit() {
|
|
@@ -3075,7 +2769,7 @@ DbxTwoColumnRightComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
3075
2769
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoColumnRightComponent, decorators: [{
|
|
3076
2770
|
type: Component,
|
|
3077
2771
|
args: [{ selector: 'dbx-two-column-right', host: {
|
|
3078
|
-
|
|
2772
|
+
class: 'dbx-two-column-right d-block'
|
|
3079
2773
|
}, 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" }]
|
|
3080
2774
|
}], ctorParameters: function () { return [{ type: TwoColumnsContextStore, decorators: [{
|
|
3081
2775
|
type: Inject,
|
|
@@ -3089,58 +2783,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3089
2783
|
class DbxTwoColumnLayoutModule {
|
|
3090
2784
|
}
|
|
3091
2785
|
DbxTwoColumnLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoColumnLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3092
|
-
DbxTwoColumnLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoColumnLayoutModule, declarations: [DbxTwoColumnComponent,
|
|
3093
|
-
|
|
3094
|
-
DbxTwoColumnColumnHeadComponent,
|
|
3095
|
-
DbxTwoColumnSrefDirective,
|
|
3096
|
-
DbxTwoColumnBackDirective,
|
|
3097
|
-
DbxTwoColumnFullLeftDirective,
|
|
3098
|
-
DbxTwoColumnContextDirective], imports: [CommonModule,
|
|
3099
|
-
MatIconModule,
|
|
3100
|
-
MatButtonModule,
|
|
3101
|
-
DbxRouterAnchorModule,
|
|
3102
|
-
DbxContentLayoutModule], exports: [DbxTwoColumnComponent,
|
|
3103
|
-
DbxTwoColumnRightComponent,
|
|
3104
|
-
DbxTwoColumnColumnHeadComponent,
|
|
3105
|
-
DbxTwoColumnSrefDirective,
|
|
3106
|
-
DbxTwoColumnBackDirective,
|
|
3107
|
-
DbxTwoColumnFullLeftDirective,
|
|
3108
|
-
DbxTwoColumnContextDirective] });
|
|
3109
|
-
DbxTwoColumnLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoColumnLayoutModule, imports: [[
|
|
3110
|
-
CommonModule,
|
|
3111
|
-
MatIconModule,
|
|
3112
|
-
MatButtonModule,
|
|
3113
|
-
DbxRouterAnchorModule,
|
|
3114
|
-
DbxContentLayoutModule
|
|
3115
|
-
]] });
|
|
2786
|
+
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] });
|
|
2787
|
+
DbxTwoColumnLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoColumnLayoutModule, imports: [[CommonModule, MatIconModule, MatButtonModule, DbxRouterAnchorModule, DbxContentLayoutModule]] });
|
|
3116
2788
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoColumnLayoutModule, decorators: [{
|
|
3117
2789
|
type: NgModule,
|
|
3118
2790
|
args: [{
|
|
3119
|
-
imports: [
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
MatButtonModule,
|
|
3123
|
-
DbxRouterAnchorModule,
|
|
3124
|
-
DbxContentLayoutModule
|
|
3125
|
-
],
|
|
3126
|
-
declarations: [
|
|
3127
|
-
DbxTwoColumnComponent,
|
|
3128
|
-
DbxTwoColumnRightComponent,
|
|
3129
|
-
DbxTwoColumnColumnHeadComponent,
|
|
3130
|
-
DbxTwoColumnSrefDirective,
|
|
3131
|
-
DbxTwoColumnBackDirective,
|
|
3132
|
-
DbxTwoColumnFullLeftDirective,
|
|
3133
|
-
DbxTwoColumnContextDirective
|
|
3134
|
-
],
|
|
3135
|
-
exports: [
|
|
3136
|
-
DbxTwoColumnComponent,
|
|
3137
|
-
DbxTwoColumnRightComponent,
|
|
3138
|
-
DbxTwoColumnColumnHeadComponent,
|
|
3139
|
-
DbxTwoColumnSrefDirective,
|
|
3140
|
-
DbxTwoColumnBackDirective,
|
|
3141
|
-
DbxTwoColumnFullLeftDirective,
|
|
3142
|
-
DbxTwoColumnContextDirective
|
|
3143
|
-
],
|
|
2791
|
+
imports: [CommonModule, MatIconModule, MatButtonModule, DbxRouterAnchorModule, DbxContentLayoutModule],
|
|
2792
|
+
declarations: [DbxTwoColumnComponent, DbxTwoColumnRightComponent, DbxTwoColumnColumnHeadComponent, DbxTwoColumnSrefDirective, DbxTwoColumnBackDirective, DbxTwoColumnFullLeftDirective, DbxTwoColumnContextDirective],
|
|
2793
|
+
exports: [DbxTwoColumnComponent, DbxTwoColumnRightComponent, DbxTwoColumnColumnHeadComponent, DbxTwoColumnSrefDirective, DbxTwoColumnBackDirective, DbxTwoColumnFullLeftDirective, DbxTwoColumnContextDirective]
|
|
3144
2794
|
}]
|
|
3145
2795
|
}] });
|
|
3146
2796
|
|
|
@@ -3188,42 +2838,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3188
2838
|
class DbxOneColumnLayoutModule {
|
|
3189
2839
|
}
|
|
3190
2840
|
DbxOneColumnLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxOneColumnLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3191
|
-
DbxOneColumnLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxOneColumnLayoutModule, declarations: [DbxOneColumnComponent], imports: [CommonModule,
|
|
3192
|
-
|
|
3193
|
-
DbxOneColumnLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxOneColumnLayoutModule, imports: [[
|
|
3194
|
-
CommonModule,
|
|
3195
|
-
DbxTwoColumnLayoutModule
|
|
3196
|
-
]] });
|
|
2841
|
+
DbxOneColumnLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxOneColumnLayoutModule, declarations: [DbxOneColumnComponent], imports: [CommonModule, DbxTwoColumnLayoutModule], exports: [DbxOneColumnComponent] });
|
|
2842
|
+
DbxOneColumnLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxOneColumnLayoutModule, imports: [[CommonModule, DbxTwoColumnLayoutModule]] });
|
|
3197
2843
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxOneColumnLayoutModule, decorators: [{
|
|
3198
2844
|
type: NgModule,
|
|
3199
2845
|
args: [{
|
|
3200
|
-
imports: [
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
],
|
|
3204
|
-
declarations: [
|
|
3205
|
-
DbxOneColumnComponent
|
|
3206
|
-
],
|
|
3207
|
-
exports: [
|
|
3208
|
-
DbxOneColumnComponent
|
|
3209
|
-
],
|
|
2846
|
+
imports: [CommonModule, DbxTwoColumnLayoutModule],
|
|
2847
|
+
declarations: [DbxOneColumnComponent],
|
|
2848
|
+
exports: [DbxOneColumnComponent]
|
|
3210
2849
|
}]
|
|
3211
2850
|
}] });
|
|
3212
2851
|
|
|
3213
2852
|
class DbxColumnLayoutModule {
|
|
3214
2853
|
}
|
|
3215
2854
|
DbxColumnLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxColumnLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3216
|
-
DbxColumnLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxColumnLayoutModule, exports: [DbxOneColumnLayoutModule,
|
|
3217
|
-
|
|
3218
|
-
DbxColumnLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxColumnLayoutModule, imports: [DbxOneColumnLayoutModule,
|
|
3219
|
-
DbxTwoColumnLayoutModule] });
|
|
2855
|
+
DbxColumnLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxColumnLayoutModule, exports: [DbxOneColumnLayoutModule, DbxTwoColumnLayoutModule] });
|
|
2856
|
+
DbxColumnLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxColumnLayoutModule, imports: [DbxOneColumnLayoutModule, DbxTwoColumnLayoutModule] });
|
|
3220
2857
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxColumnLayoutModule, decorators: [{
|
|
3221
2858
|
type: NgModule,
|
|
3222
2859
|
args: [{
|
|
3223
|
-
exports: [
|
|
3224
|
-
DbxOneColumnLayoutModule,
|
|
3225
|
-
DbxTwoColumnLayoutModule
|
|
3226
|
-
]
|
|
2860
|
+
exports: [DbxOneColumnLayoutModule, DbxTwoColumnLayoutModule]
|
|
3227
2861
|
}]
|
|
3228
2862
|
}] });
|
|
3229
2863
|
|
|
@@ -3234,14 +2868,14 @@ var CompactMode;
|
|
|
3234
2868
|
})(CompactMode || (CompactMode = {}));
|
|
3235
2869
|
function compactModeFromInput(input) {
|
|
3236
2870
|
if (isBoolean(input)) {
|
|
3237
|
-
input =
|
|
2871
|
+
input = input ? CompactMode.COMPACT : CompactMode.FULL;
|
|
3238
2872
|
}
|
|
3239
2873
|
return input === CompactMode.COMPACT ? CompactMode.COMPACT : CompactMode.FULL;
|
|
3240
2874
|
}
|
|
3241
2875
|
function mapCompactModeObs(mode$, config) {
|
|
3242
2876
|
const modeObs = mode$ ?? of(config.defaultMode ?? CompactMode.FULL);
|
|
3243
2877
|
return modeObs.pipe(map((inputMode) => {
|
|
3244
|
-
const isCompact = (
|
|
2878
|
+
const isCompact = (inputMode ?? config.defaultMode) === CompactMode.COMPACT;
|
|
3245
2879
|
if (isCompact) {
|
|
3246
2880
|
return config.compact;
|
|
3247
2881
|
}
|
|
@@ -3255,7 +2889,7 @@ class CompactContextStore extends ComponentStore {
|
|
|
3255
2889
|
constructor() {
|
|
3256
2890
|
super({ mode: CompactMode.FULL });
|
|
3257
2891
|
// MARK: Accessors
|
|
3258
|
-
this.mode$ = this.state$.pipe(map(x => x.mode));
|
|
2892
|
+
this.mode$ = this.state$.pipe(map((x) => x.mode));
|
|
3259
2893
|
this.setMode = this.updater((state, mode) => ({ mode: compactModeFromInput(mode) }));
|
|
3260
2894
|
}
|
|
3261
2895
|
}
|
|
@@ -3284,7 +2918,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3284
2918
|
args: [{
|
|
3285
2919
|
selector: '[dbxCompact]',
|
|
3286
2920
|
providers: [CompactContextStore],
|
|
3287
|
-
exportAs: 'compact'
|
|
2921
|
+
exportAs: 'compact'
|
|
3288
2922
|
}]
|
|
3289
2923
|
}], ctorParameters: function () { return [{ type: CompactContextStore }]; }, propDecorators: { mode: [{
|
|
3290
2924
|
type: Input,
|
|
@@ -3298,21 +2932,13 @@ class DbxCompactLayoutModule {
|
|
|
3298
2932
|
}
|
|
3299
2933
|
DbxCompactLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCompactLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3300
2934
|
DbxCompactLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCompactLayoutModule, declarations: [DbxCompactDirective], imports: [CommonModule], exports: [DbxCompactDirective] });
|
|
3301
|
-
DbxCompactLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCompactLayoutModule, imports: [[
|
|
3302
|
-
CommonModule
|
|
3303
|
-
]] });
|
|
2935
|
+
DbxCompactLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCompactLayoutModule, imports: [[CommonModule]] });
|
|
3304
2936
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxCompactLayoutModule, decorators: [{
|
|
3305
2937
|
type: NgModule,
|
|
3306
2938
|
args: [{
|
|
3307
|
-
imports: [
|
|
3308
|
-
|
|
3309
|
-
]
|
|
3310
|
-
declarations: [
|
|
3311
|
-
DbxCompactDirective
|
|
3312
|
-
],
|
|
3313
|
-
exports: [
|
|
3314
|
-
DbxCompactDirective
|
|
3315
|
-
]
|
|
2939
|
+
imports: [CommonModule],
|
|
2940
|
+
declarations: [DbxCompactDirective],
|
|
2941
|
+
exports: [DbxCompactDirective]
|
|
3316
2942
|
}]
|
|
3317
2943
|
}] });
|
|
3318
2944
|
|
|
@@ -3342,7 +2968,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3342
2968
|
<ng-content></ng-content>
|
|
3343
2969
|
</mat-toolbar>
|
|
3344
2970
|
</div>
|
|
3345
|
-
|
|
2971
|
+
`
|
|
3346
2972
|
// TODO: styleUrls: ['./container.scss']
|
|
3347
2973
|
}]
|
|
3348
2974
|
}], propDecorators: { color: [{
|
|
@@ -3375,7 +3001,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3375
3001
|
<span class="dbx-flag-spacer"></span>
|
|
3376
3002
|
<ng-content></ng-content>
|
|
3377
3003
|
</dbx-flag>
|
|
3378
|
-
|
|
3004
|
+
`
|
|
3379
3005
|
// TODO: styleUrls: ['./container.scss']
|
|
3380
3006
|
}]
|
|
3381
3007
|
}], propDecorators: { color: [{
|
|
@@ -3390,29 +3016,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3390
3016
|
class DbxFlagLayoutModule {
|
|
3391
3017
|
}
|
|
3392
3018
|
DbxFlagLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFlagLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3393
|
-
DbxFlagLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFlagLayoutModule, declarations: [DbxFlagComponent,
|
|
3394
|
-
|
|
3395
|
-
MatToolbarModule], exports: [DbxFlagComponent,
|
|
3396
|
-
DbxFlagPromptComponent] });
|
|
3397
|
-
DbxFlagLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFlagLayoutModule, imports: [[
|
|
3398
|
-
CommonModule,
|
|
3399
|
-
MatToolbarModule
|
|
3400
|
-
]] });
|
|
3019
|
+
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] });
|
|
3020
|
+
DbxFlagLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFlagLayoutModule, imports: [[CommonModule, MatToolbarModule]] });
|
|
3401
3021
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFlagLayoutModule, decorators: [{
|
|
3402
3022
|
type: NgModule,
|
|
3403
3023
|
args: [{
|
|
3404
|
-
imports: [
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
],
|
|
3408
|
-
declarations: [
|
|
3409
|
-
DbxFlagComponent,
|
|
3410
|
-
DbxFlagPromptComponent
|
|
3411
|
-
],
|
|
3412
|
-
exports: [
|
|
3413
|
-
DbxFlagComponent,
|
|
3414
|
-
DbxFlagPromptComponent
|
|
3415
|
-
]
|
|
3024
|
+
imports: [CommonModule, MatToolbarModule],
|
|
3025
|
+
declarations: [DbxFlagComponent, DbxFlagPromptComponent],
|
|
3026
|
+
exports: [DbxFlagComponent, DbxFlagPromptComponent]
|
|
3416
3027
|
}]
|
|
3417
3028
|
}] });
|
|
3418
3029
|
|
|
@@ -3428,7 +3039,7 @@ class DbxFlexGroupDirective extends AbstractSubscriptionDirective {
|
|
|
3428
3039
|
this.relative = false;
|
|
3429
3040
|
this._small = false;
|
|
3430
3041
|
this._breakpoint = new BehaviorSubject('tablet');
|
|
3431
|
-
this.isSmallScreen$ = this._dbxScreenMediaService.isBreakpointActive(this._breakpoint).pipe(map(x => !x), distinctUntilChanged(), shareReplay(1));
|
|
3042
|
+
this.isSmallScreen$ = this._dbxScreenMediaService.isBreakpointActive(this._breakpoint).pipe(map((x) => !x), distinctUntilChanged(), shareReplay(1));
|
|
3432
3043
|
}
|
|
3433
3044
|
get small() {
|
|
3434
3045
|
return this._small;
|
|
@@ -3493,26 +3104,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3493
3104
|
class DbxFlexLayoutModule {
|
|
3494
3105
|
}
|
|
3495
3106
|
DbxFlexLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFlexLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3496
|
-
DbxFlexLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFlexLayoutModule, declarations: [DbxFlexGroupDirective,
|
|
3497
|
-
|
|
3498
|
-
DbxFlexSizeDirective] });
|
|
3499
|
-
DbxFlexLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFlexLayoutModule, imports: [[
|
|
3500
|
-
CommonModule
|
|
3501
|
-
]] });
|
|
3107
|
+
DbxFlexLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFlexLayoutModule, declarations: [DbxFlexGroupDirective, DbxFlexSizeDirective], imports: [CommonModule], exports: [DbxFlexGroupDirective, DbxFlexSizeDirective] });
|
|
3108
|
+
DbxFlexLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFlexLayoutModule, imports: [[CommonModule]] });
|
|
3502
3109
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFlexLayoutModule, decorators: [{
|
|
3503
3110
|
type: NgModule,
|
|
3504
3111
|
args: [{
|
|
3505
|
-
imports: [
|
|
3506
|
-
|
|
3507
|
-
]
|
|
3508
|
-
declarations: [
|
|
3509
|
-
DbxFlexGroupDirective,
|
|
3510
|
-
DbxFlexSizeDirective
|
|
3511
|
-
],
|
|
3512
|
-
exports: [
|
|
3513
|
-
DbxFlexGroupDirective,
|
|
3514
|
-
DbxFlexSizeDirective
|
|
3515
|
-
]
|
|
3112
|
+
imports: [CommonModule],
|
|
3113
|
+
declarations: [DbxFlexGroupDirective, DbxFlexSizeDirective],
|
|
3114
|
+
exports: [DbxFlexGroupDirective, DbxFlexSizeDirective]
|
|
3516
3115
|
}]
|
|
3517
3116
|
}] });
|
|
3518
3117
|
|
|
@@ -3523,34 +3122,34 @@ class DbxIconItemComponent {
|
|
|
3523
3122
|
}
|
|
3524
3123
|
DbxIconItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxIconItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3525
3124
|
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: `
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3125
|
+
<div class="dbx-icon-item">
|
|
3126
|
+
<div class="left">
|
|
3127
|
+
<mat-icon>{{ icon }}</mat-icon>
|
|
3128
|
+
</div>
|
|
3129
|
+
<div class="right">
|
|
3130
|
+
<h3 *ngIf="header" class="dbx-icon-item-header">{{ header }}</h3>
|
|
3131
|
+
<div class="right-content">
|
|
3132
|
+
<ng-content></ng-content>
|
|
3133
|
+
</div>
|
|
3534
3134
|
</div>
|
|
3535
3135
|
</div>
|
|
3536
|
-
</div>
|
|
3537
3136
|
`, 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"] }] });
|
|
3538
3137
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxIconItemComponent, decorators: [{
|
|
3539
3138
|
type: Component,
|
|
3540
3139
|
args: [{
|
|
3541
3140
|
selector: 'dbx-icon-item',
|
|
3542
3141
|
template: `
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3142
|
+
<div class="dbx-icon-item">
|
|
3143
|
+
<div class="left">
|
|
3144
|
+
<mat-icon>{{ icon }}</mat-icon>
|
|
3145
|
+
</div>
|
|
3146
|
+
<div class="right">
|
|
3147
|
+
<h3 *ngIf="header" class="dbx-icon-item-header">{{ header }}</h3>
|
|
3148
|
+
<div class="right-content">
|
|
3149
|
+
<ng-content></ng-content>
|
|
3150
|
+
</div>
|
|
3551
3151
|
</div>
|
|
3552
3152
|
</div>
|
|
3553
|
-
</div>
|
|
3554
3153
|
`
|
|
3555
3154
|
}]
|
|
3556
3155
|
}], propDecorators: { icon: [{
|
|
@@ -3562,25 +3161,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3562
3161
|
class DbxItemLayoutModule {
|
|
3563
3162
|
}
|
|
3564
3163
|
DbxItemLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxItemLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3565
|
-
DbxItemLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxItemLayoutModule, declarations: [DbxIconItemComponent], imports: [CommonModule,
|
|
3566
|
-
|
|
3567
|
-
DbxItemLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxItemLayoutModule, imports: [[
|
|
3568
|
-
CommonModule,
|
|
3569
|
-
MatIconModule
|
|
3570
|
-
]] });
|
|
3164
|
+
DbxItemLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxItemLayoutModule, declarations: [DbxIconItemComponent], imports: [CommonModule, MatIconModule], exports: [DbxIconItemComponent] });
|
|
3165
|
+
DbxItemLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxItemLayoutModule, imports: [[CommonModule, MatIconModule]] });
|
|
3571
3166
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxItemLayoutModule, decorators: [{
|
|
3572
3167
|
type: NgModule,
|
|
3573
3168
|
args: [{
|
|
3574
|
-
imports: [
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
],
|
|
3578
|
-
declarations: [
|
|
3579
|
-
DbxIconItemComponent
|
|
3580
|
-
],
|
|
3581
|
-
exports: [
|
|
3582
|
-
DbxIconItemComponent
|
|
3583
|
-
]
|
|
3169
|
+
imports: [CommonModule, MatIconModule],
|
|
3170
|
+
declarations: [DbxIconItemComponent],
|
|
3171
|
+
exports: [DbxIconItemComponent]
|
|
3584
3172
|
}]
|
|
3585
3173
|
}] });
|
|
3586
3174
|
|
|
@@ -3603,7 +3191,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
3603
3191
|
<div class="dbx-list-empty-content">
|
|
3604
3192
|
<ng-content></ng-content>
|
|
3605
3193
|
</div>
|
|
3606
|
-
|
|
3194
|
+
`
|
|
3607
3195
|
// TODO: styleUrls: ['./container.scss']
|
|
3608
3196
|
}]
|
|
3609
3197
|
}] });
|
|
@@ -3634,26 +3222,26 @@ class DbxLoadingProgressComponent {
|
|
|
3634
3222
|
}
|
|
3635
3223
|
DbxLoadingProgressComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLoadingProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3636
3224
|
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: `
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3225
|
+
<div class="loading-progress-view">
|
|
3226
|
+
<ng-container [ngSwitch]="linear">
|
|
3227
|
+
<mat-progress-bar *ngSwitchCase="true" [mode]="bmode" [color]="color" [bufferValue]="bufferValue" [value]="value" style="margin: auto;"></mat-progress-bar>
|
|
3228
|
+
<mat-progress-spinner *ngSwitchDefault [diameter]="diameter || 96" [mode]="smode" [color]="color" [value]="value" style="margin: auto;"></mat-progress-spinner>
|
|
3229
|
+
</ng-container>
|
|
3230
|
+
<div *ngIf="text" class="hint">{{ text }}</div>
|
|
3231
|
+
</div>
|
|
3644
3232
|
`, 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"] }] });
|
|
3645
3233
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLoadingProgressComponent, decorators: [{
|
|
3646
3234
|
type: Component,
|
|
3647
3235
|
args: [{
|
|
3648
3236
|
selector: 'dbx-loading-progress',
|
|
3649
3237
|
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
|
`
|
|
3658
3246
|
}]
|
|
3659
3247
|
}], propDecorators: { text: [{
|
|
@@ -3720,7 +3308,8 @@ class DbxBasicLoadingComponent {
|
|
|
3720
3308
|
if (error) {
|
|
3721
3309
|
state = LoadingComponentState.ERROR;
|
|
3722
3310
|
}
|
|
3723
|
-
else if (loading == null) {
|
|
3311
|
+
else if (loading == null) {
|
|
3312
|
+
// If loading has not yet been defined and no error has occured, we're waiting for some input on loading or error.
|
|
3724
3313
|
state = LoadingComponentState.NONE;
|
|
3725
3314
|
}
|
|
3726
3315
|
else if (loading || !show) {
|
|
@@ -3732,8 +3321,8 @@ class DbxBasicLoadingComponent {
|
|
|
3732
3321
|
return state;
|
|
3733
3322
|
}), distinctUntilChanged(), startWith(LoadingComponentState.NONE), shareReplay(1));
|
|
3734
3323
|
this.error$ = this._error.asObservable();
|
|
3735
|
-
this.hasNoCustomError$ = this._customErrorContent.pipe(map(x => !checkNgContentWrapperHasContent(x)));
|
|
3736
|
-
this.hasNoCustomLoading$ = this._customLoadingContent.pipe(map(x => !checkNgContentWrapperHasContent(x)));
|
|
3324
|
+
this.hasNoCustomError$ = this._customErrorContent.pipe(map((x) => !checkNgContentWrapperHasContent(x)));
|
|
3325
|
+
this.hasNoCustomLoading$ = this._customLoadingContent.pipe(map((x) => !checkNgContentWrapperHasContent(x)));
|
|
3737
3326
|
this.mode = 'indeterminate';
|
|
3738
3327
|
this.color = 'primary';
|
|
3739
3328
|
this.linear = false;
|
|
@@ -3775,10 +3364,10 @@ class DbxBasicLoadingComponent {
|
|
|
3775
3364
|
}
|
|
3776
3365
|
}
|
|
3777
3366
|
DbxBasicLoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBasicLoadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3778
|
-
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\"
|
|
3367
|
+
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 } });
|
|
3779
3368
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBasicLoadingComponent, decorators: [{
|
|
3780
3369
|
type: Component,
|
|
3781
|
-
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\"
|
|
3370
|
+
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" }]
|
|
3782
3371
|
}], propDecorators: { diameter: [{
|
|
3783
3372
|
type: Input
|
|
3784
3373
|
}], mode: [{
|
|
@@ -3811,7 +3400,7 @@ class DbxLoadingComponent {
|
|
|
3811
3400
|
this._context = new BehaviorSubject(undefined);
|
|
3812
3401
|
this._inputLoading = new BehaviorSubject(true);
|
|
3813
3402
|
this._inputError = new BehaviorSubject(undefined);
|
|
3814
|
-
this.state$ = combineLatest([this._inputLoading, this._inputError, this._context.pipe(switchMap(x => (x != null
|
|
3403
|
+
this.state$ = combineLatest([this._inputLoading, this._inputError, this._context.pipe(switchMap((x) => (x != null ? x.stream$ : of(undefined))))]).pipe(map(([inputLoading, inputError, loadingState]) => {
|
|
3815
3404
|
if (loadingState) {
|
|
3816
3405
|
return loadingState;
|
|
3817
3406
|
}
|
|
@@ -3822,8 +3411,8 @@ class DbxLoadingComponent {
|
|
|
3822
3411
|
};
|
|
3823
3412
|
}
|
|
3824
3413
|
}), distinctUntilChanged((a, b) => a.loading === b.loading && a.error === b.error), shareReplay(1));
|
|
3825
|
-
this.loading$ = this.state$.pipe(map(x => x.loading), distinctUntilChanged(), shareReplay(1));
|
|
3826
|
-
this.error$ = this.state$.pipe(map(x => x.error), distinctUntilChanged(), shareReplay(1));
|
|
3414
|
+
this.loading$ = this.state$.pipe(map((x) => x.loading), distinctUntilChanged(), shareReplay(1));
|
|
3415
|
+
this.error$ = this.state$.pipe(map((x) => x.error), distinctUntilChanged(), shareReplay(1));
|
|
3827
3416
|
this.mode = 'indeterminate';
|
|
3828
3417
|
this.color = 'primary';
|
|
3829
3418
|
}
|
|
@@ -3853,24 +3442,24 @@ class DbxLoadingComponent {
|
|
|
3853
3442
|
}
|
|
3854
3443
|
DbxLoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLoadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3855
3444
|
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: `
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3445
|
+
<dbx-basic-loading [show]="show" [color]="color" [text]="text" [mode]="mode" [linear]="linear" [diameter]="diameter" [error]="error$ | async" [loading]="loading$ | async">
|
|
3446
|
+
<ng-content loading select="[loading]"></ng-content>
|
|
3447
|
+
<ng-content></ng-content>
|
|
3448
|
+
<ng-content error select="[error]"></ng-content>
|
|
3449
|
+
<ng-content errorAction select="[errorAction]"></ng-content>
|
|
3450
|
+
</dbx-basic-loading>
|
|
3862
3451
|
`, isInline: true, components: [{ type: DbxBasicLoadingComponent, selector: "dbx-basic-loading", inputs: ["diameter", "mode", "color", "text", "linear", "show", "loading", "error"] }], pipes: { "async": i3$1.AsyncPipe } });
|
|
3863
3452
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLoadingComponent, decorators: [{
|
|
3864
3453
|
type: Component,
|
|
3865
3454
|
args: [{
|
|
3866
3455
|
selector: 'dbx-loading',
|
|
3867
3456
|
template: `
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3457
|
+
<dbx-basic-loading [show]="show" [color]="color" [text]="text" [mode]="mode" [linear]="linear" [diameter]="diameter" [error]="error$ | async" [loading]="loading$ | async">
|
|
3458
|
+
<ng-content loading select="[loading]"></ng-content>
|
|
3459
|
+
<ng-content></ng-content>
|
|
3460
|
+
<ng-content error select="[error]"></ng-content>
|
|
3461
|
+
<ng-content errorAction select="[errorAction]"></ng-content>
|
|
3462
|
+
</dbx-basic-loading>
|
|
3874
3463
|
`
|
|
3875
3464
|
}]
|
|
3876
3465
|
}], propDecorators: { show: [{
|
|
@@ -3922,13 +3511,13 @@ class DbxListComponent {
|
|
|
3922
3511
|
this.isEmpty$ = this.context.isEmpty$;
|
|
3923
3512
|
this.disabled$ = this._disabled.asObservable();
|
|
3924
3513
|
this.selectionMode$ = this._selectionMode.asObservable();
|
|
3925
|
-
this.hideOnEmpty$ = this._config.pipe(filterMaybe(), map(x => Boolean(x.hideOnEmpty)), distinctUntilChanged(), shareReplay(1));
|
|
3926
|
-
this.invertedList$ = this._config.pipe(filterMaybe(), map(x => Boolean(x?.throttle)), distinctUntilChanged(), shareReplay(1));
|
|
3927
|
-
this.throttleScroll$ = this._config.pipe(map(x =>
|
|
3928
|
-
this.scrollDistance$ = this._config.pipe(map(x =>
|
|
3514
|
+
this.hideOnEmpty$ = this._config.pipe(filterMaybe(), map((x) => Boolean(x.hideOnEmpty)), distinctUntilChanged(), shareReplay(1));
|
|
3515
|
+
this.invertedList$ = this._config.pipe(filterMaybe(), map((x) => Boolean(x?.throttle)), distinctUntilChanged(), shareReplay(1));
|
|
3516
|
+
this.throttleScroll$ = this._config.pipe(map((x) => x?.throttle ?? this.DEFAULT_THROTTLE_SCROLL), distinctUntilChanged(), shareReplay(1));
|
|
3517
|
+
this.scrollDistance$ = this._config.pipe(map((x) => x?.scrollDistance ?? this.DEFAULT_SCROLL_DISTANCE), distinctUntilChanged(), shareReplay(1));
|
|
3929
3518
|
this.scrollLoadMoreTrigger$ = this._config.pipe(switchMap((config) => {
|
|
3930
3519
|
const loadNextDirection = config?.invertedList ? 'up' : 'down';
|
|
3931
|
-
return this._scrollTrigger.pipe(filter(x => x === loadNextDirection));
|
|
3520
|
+
return this._scrollTrigger.pipe(filter((x) => x === loadNextDirection));
|
|
3932
3521
|
}));
|
|
3933
3522
|
this.loadMore$ = merge(this.scrollLoadMoreTrigger$, this._loadMoreTrigger);
|
|
3934
3523
|
this.injectedComponentConfig$ = this._config.pipe(distinctUntilChanged(), map((config) => {
|
|
@@ -3947,7 +3536,8 @@ class DbxListComponent {
|
|
|
3947
3536
|
}
|
|
3948
3537
|
instance.setListContext(this.context);
|
|
3949
3538
|
if (loadMore) {
|
|
3950
|
-
this._loadMoreSub.subscription = this.loadMore
|
|
3539
|
+
this._loadMoreSub.subscription = this.loadMore$
|
|
3540
|
+
.pipe(
|
|
3951
3541
|
// Throttle additional loading calls using exhaustMap until observable returns, if one is returned.
|
|
3952
3542
|
exhaustMap(() => {
|
|
3953
3543
|
const result = loadMore();
|
|
@@ -3959,7 +3549,8 @@ class DbxListComponent {
|
|
|
3959
3549
|
obs = of();
|
|
3960
3550
|
}
|
|
3961
3551
|
return obs;
|
|
3962
|
-
}))
|
|
3552
|
+
}))
|
|
3553
|
+
.subscribe();
|
|
3963
3554
|
}
|
|
3964
3555
|
if (onClick) {
|
|
3965
3556
|
if (instance.clickValue) {
|
|
@@ -3987,7 +3578,7 @@ class DbxListComponent {
|
|
|
3987
3578
|
return of(true);
|
|
3988
3579
|
}
|
|
3989
3580
|
else {
|
|
3990
|
-
return this.hideOnEmpty$.pipe(switchMap((hide) => (hide === false
|
|
3581
|
+
return this.hideOnEmpty$.pipe(switchMap((hide) => (hide === false ? of(false) : this.isEmpty$)), distinctUntilChanged(), tapDetectChanges(this.cdRef), shareReplay(1));
|
|
3991
3582
|
}
|
|
3992
3583
|
}));
|
|
3993
3584
|
}
|
|
@@ -4080,13 +3671,13 @@ class DbxListComponent {
|
|
|
4080
3671
|
}
|
|
4081
3672
|
}
|
|
4082
3673
|
DbxListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxListComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4083
|
-
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\"
|
|
3674
|
+
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; }) } });
|
|
4084
3675
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxListComponent, decorators: [{
|
|
4085
3676
|
type: Component,
|
|
4086
3677
|
args: [{ selector: 'dbx-list', host: {
|
|
4087
|
-
|
|
3678
|
+
class: 'd-block dbx-list',
|
|
4088
3679
|
'[class.dbx-list-padded]': 'padded'
|
|
4089
|
-
}, template: "<dbx-loading [context]=\"context\" [linear]=\"true\"></dbx-loading>\n<div dbxListInternalContent infinite-scroll [infiniteScrollDistance]=\"(scrollDistance$ | async) ?? DEFAULT_SCROLL_DISTANCE\"
|
|
3680
|
+
}, 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" }]
|
|
4090
3681
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { padded: [{
|
|
4091
3682
|
type: Input
|
|
4092
3683
|
}], contentScrolled: [{
|
|
@@ -4122,7 +3713,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
4122
3713
|
args: [{
|
|
4123
3714
|
selector: '[dbxListInternalContent]',
|
|
4124
3715
|
host: {
|
|
4125
|
-
|
|
3716
|
+
class: 'd-block dbx-list-content',
|
|
4126
3717
|
'[class.dbx-list-content-hidden]': 'hide'
|
|
4127
3718
|
}
|
|
4128
3719
|
}]
|
|
@@ -4324,30 +3915,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
4324
3915
|
class DbxReadableErrorModule {
|
|
4325
3916
|
}
|
|
4326
3917
|
DbxReadableErrorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxReadableErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4327
|
-
DbxReadableErrorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxReadableErrorModule, declarations: [DbxReadableErrorComponent,
|
|
4328
|
-
|
|
4329
|
-
DbxActionErrorDirective], imports: [CommonModule], exports: [DbxReadableErrorComponent,
|
|
4330
|
-
DbxLoadingErrorDirective,
|
|
4331
|
-
DbxActionErrorDirective] });
|
|
4332
|
-
DbxReadableErrorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxReadableErrorModule, imports: [[
|
|
4333
|
-
CommonModule
|
|
4334
|
-
]] });
|
|
3918
|
+
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] });
|
|
3919
|
+
DbxReadableErrorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxReadableErrorModule, imports: [[CommonModule]] });
|
|
4335
3920
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxReadableErrorModule, decorators: [{
|
|
4336
3921
|
type: NgModule,
|
|
4337
3922
|
args: [{
|
|
4338
|
-
imports: [
|
|
4339
|
-
|
|
4340
|
-
]
|
|
4341
|
-
declarations: [
|
|
4342
|
-
DbxReadableErrorComponent,
|
|
4343
|
-
DbxLoadingErrorDirective,
|
|
4344
|
-
DbxActionErrorDirective
|
|
4345
|
-
],
|
|
4346
|
-
exports: [
|
|
4347
|
-
DbxReadableErrorComponent,
|
|
4348
|
-
DbxLoadingErrorDirective,
|
|
4349
|
-
DbxActionErrorDirective
|
|
4350
|
-
]
|
|
3923
|
+
imports: [CommonModule],
|
|
3924
|
+
declarations: [DbxReadableErrorComponent, DbxLoadingErrorDirective, DbxActionErrorDirective],
|
|
3925
|
+
exports: [DbxReadableErrorComponent, DbxLoadingErrorDirective, DbxActionErrorDirective]
|
|
4351
3926
|
}]
|
|
4352
3927
|
}] });
|
|
4353
3928
|
|
|
@@ -4361,7 +3936,7 @@ function convertServerErrorParams(httpError) {
|
|
|
4361
3936
|
/**
|
|
4362
3937
|
* Catches error server params and feeds them to an action that takes ServerErrorParams as a prop.
|
|
4363
3938
|
*/
|
|
4364
|
-
function catchErrorServerParams(action, mapError = (
|
|
3939
|
+
function catchErrorServerParams(action, mapError = (error) => error) {
|
|
4365
3940
|
return catchError((error) => {
|
|
4366
3941
|
const serverErrorParams = convertServerErrorParams(error);
|
|
4367
3942
|
const mappedError = mapError(serverErrorParams);
|
|
@@ -4403,48 +3978,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
4403
3978
|
class DbxLoadingModule {
|
|
4404
3979
|
}
|
|
4405
3980
|
DbxLoadingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLoadingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4406
|
-
DbxLoadingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLoadingModule, declarations: [DbxLoadingComponent,
|
|
4407
|
-
|
|
4408
|
-
DbxLoadingProgressComponent,
|
|
4409
|
-
DbxActionLoadingContextDirective], imports: [CommonModule,
|
|
4410
|
-
DbxReadableErrorModule,
|
|
4411
|
-
MatProgressSpinnerModule,
|
|
4412
|
-
MatProgressBarModule], exports: [DbxLoadingComponent,
|
|
4413
|
-
DbxBasicLoadingComponent,
|
|
4414
|
-
DbxLoadingProgressComponent,
|
|
4415
|
-
MatProgressSpinnerModule,
|
|
4416
|
-
MatProgressBarModule,
|
|
4417
|
-
DbxActionLoadingContextDirective] });
|
|
4418
|
-
DbxLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLoadingModule, imports: [[
|
|
4419
|
-
CommonModule,
|
|
4420
|
-
DbxReadableErrorModule,
|
|
4421
|
-
MatProgressSpinnerModule,
|
|
4422
|
-
MatProgressBarModule
|
|
4423
|
-
], MatProgressSpinnerModule,
|
|
4424
|
-
MatProgressBarModule] });
|
|
3981
|
+
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] });
|
|
3982
|
+
DbxLoadingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLoadingModule, imports: [[CommonModule, DbxReadableErrorModule, MatProgressSpinnerModule, MatProgressBarModule], MatProgressSpinnerModule, MatProgressBarModule] });
|
|
4425
3983
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLoadingModule, decorators: [{
|
|
4426
3984
|
type: NgModule,
|
|
4427
3985
|
args: [{
|
|
4428
|
-
imports: [
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
MatProgressSpinnerModule,
|
|
4432
|
-
MatProgressBarModule
|
|
4433
|
-
],
|
|
4434
|
-
declarations: [
|
|
4435
|
-
DbxLoadingComponent,
|
|
4436
|
-
DbxBasicLoadingComponent,
|
|
4437
|
-
DbxLoadingProgressComponent,
|
|
4438
|
-
DbxActionLoadingContextDirective
|
|
4439
|
-
],
|
|
4440
|
-
exports: [
|
|
4441
|
-
DbxLoadingComponent,
|
|
4442
|
-
DbxBasicLoadingComponent,
|
|
4443
|
-
DbxLoadingProgressComponent,
|
|
4444
|
-
MatProgressSpinnerModule,
|
|
4445
|
-
MatProgressBarModule,
|
|
4446
|
-
DbxActionLoadingContextDirective
|
|
4447
|
-
]
|
|
3986
|
+
imports: [CommonModule, DbxReadableErrorModule, MatProgressSpinnerModule, MatProgressBarModule],
|
|
3987
|
+
declarations: [DbxLoadingComponent, DbxBasicLoadingComponent, DbxLoadingProgressComponent, DbxActionLoadingContextDirective],
|
|
3988
|
+
exports: [DbxLoadingComponent, DbxBasicLoadingComponent, DbxLoadingProgressComponent, MatProgressSpinnerModule, MatProgressBarModule, DbxActionLoadingContextDirective]
|
|
4448
3989
|
}]
|
|
4449
3990
|
}] });
|
|
4450
3991
|
|
|
@@ -4455,14 +3996,17 @@ class DbxListView {
|
|
|
4455
3996
|
}
|
|
4456
3997
|
// eslint-disable-next-line
|
|
4457
3998
|
function provideDbxListView(sourceType) {
|
|
4458
|
-
|
|
3999
|
+
// use of any here is allowed as typings are not relevant for providers
|
|
4000
|
+
return [
|
|
4001
|
+
{
|
|
4459
4002
|
provide: DbxListView,
|
|
4460
4003
|
useExisting: forwardRef(() => sourceType)
|
|
4461
|
-
}
|
|
4004
|
+
}
|
|
4005
|
+
];
|
|
4462
4006
|
}
|
|
4463
4007
|
|
|
4464
4008
|
const DBX_VALUE_LIST_VIEW_ITEM = new InjectionToken('DbxValueListViewItem');
|
|
4465
|
-
const DEFAULT_DBX_VALUE_LIST_CONFIG_MAP_VALUES = (itemValues) => of(itemValues.map(itemValue => ({ itemValue })));
|
|
4009
|
+
const DEFAULT_DBX_VALUE_LIST_CONFIG_MAP_VALUES = (itemValues) => of(itemValues.map((itemValue) => ({ itemValue })));
|
|
4466
4010
|
function mapValuesToValuesListItemConfigObs(listViewConfig, itemValues) {
|
|
4467
4011
|
const makeObs = listViewConfig.mapValuesToItemValues ?? DEFAULT_DBX_VALUE_LIST_CONFIG_MAP_VALUES;
|
|
4468
4012
|
return makeObs(itemValues).pipe(map((listItems) => {
|
|
@@ -4482,10 +4026,12 @@ function addConfigToValueListItems(listViewConfig, listItems) {
|
|
|
4482
4026
|
const anchor = listItem.anchor;
|
|
4483
4027
|
listItem.disabled = listItem.disabled || anchor?.disabled;
|
|
4484
4028
|
listItem.config = Object.assign({
|
|
4485
|
-
providers: [
|
|
4029
|
+
providers: [
|
|
4030
|
+
{
|
|
4486
4031
|
provide: DBX_VALUE_LIST_VIEW_ITEM,
|
|
4487
4032
|
useValue: listItem
|
|
4488
|
-
}
|
|
4033
|
+
}
|
|
4034
|
+
]
|
|
4489
4035
|
}, listViewConfig);
|
|
4490
4036
|
return listItem;
|
|
4491
4037
|
});
|
|
@@ -4495,10 +4041,12 @@ function addConfigToValueListItems(listViewConfig, listItems) {
|
|
|
4495
4041
|
class DbxValueListView {
|
|
4496
4042
|
}
|
|
4497
4043
|
function provideDbxValueListView(sourceType) {
|
|
4498
|
-
return [
|
|
4044
|
+
return [
|
|
4045
|
+
{
|
|
4499
4046
|
provide: DbxValueListView,
|
|
4500
4047
|
useExisting: forwardRef(() => sourceType)
|
|
4501
|
-
}
|
|
4048
|
+
}
|
|
4049
|
+
];
|
|
4502
4050
|
}
|
|
4503
4051
|
|
|
4504
4052
|
/**
|
|
@@ -4510,8 +4058,7 @@ class AbstractDbxValueListViewDirective {
|
|
|
4510
4058
|
this.dbxValueListViewModifier = dbxValueListViewModifier;
|
|
4511
4059
|
this._config = new BehaviorSubject(undefined);
|
|
4512
4060
|
this.config$ = this._config.pipe(filterMaybe(), distinctUntilChanged());
|
|
4513
|
-
this.modifyFn$ =
|
|
4514
|
-
this.dbxValueListViewModifier.modifiers$.pipe(map(maybeModifierMapToFunction)) : of(undefined);
|
|
4061
|
+
this.modifyFn$ = this.dbxValueListViewModifier ? this.dbxValueListViewModifier.modifiers$.pipe(map(maybeModifierMapToFunction)) : of(undefined);
|
|
4515
4062
|
this.items$ = combineLatest([this.config$, this.dbxListView.values$, this.modifyFn$]).pipe(switchMap(([listViewConfig, values, modifyFn]) => mapValuesToValuesListItemConfigObs(listViewConfig, values).pipe(mapForEach(modifyFn))), shareReplay(1));
|
|
4516
4063
|
}
|
|
4517
4064
|
ngOnDestroy() {
|
|
@@ -4540,7 +4087,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
4540
4087
|
class DbxValueListViewComponent extends AbstractDbxValueListViewDirective {
|
|
4541
4088
|
constructor() {
|
|
4542
4089
|
super(...arguments);
|
|
4543
|
-
this.emitAllClicks$ = this.config$.pipe(map(x => x.emitAllClicks), shareReplay(1));
|
|
4090
|
+
this.emitAllClicks$ = this.config$.pipe(map((x) => x.emitAllClicks), shareReplay(1));
|
|
4544
4091
|
}
|
|
4545
4092
|
}
|
|
4546
4093
|
DbxValueListViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxValueListViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -4603,7 +4150,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
4603
4150
|
</mat-nav-list>
|
|
4604
4151
|
`,
|
|
4605
4152
|
host: {
|
|
4606
|
-
|
|
4153
|
+
class: 'dbx-list-view'
|
|
4607
4154
|
}
|
|
4608
4155
|
}]
|
|
4609
4156
|
}], ctorParameters: function () { return [{ type: DbxListView }]; }, propDecorators: { emitAllClicks: [{
|
|
@@ -4618,9 +4165,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
4618
4165
|
class DbxSelectionValueListViewComponent extends AbstractDbxValueListViewDirective {
|
|
4619
4166
|
constructor() {
|
|
4620
4167
|
super(...arguments);
|
|
4621
|
-
this.selectionMode$ = (this.dbxListView.selectionMode$ ?? of('select'))
|
|
4622
|
-
|
|
4623
|
-
this.multiple$ = this.config$.pipe(map(x => x.multiple ?? true), distinctUntilChanged(), shareReplay(1));
|
|
4168
|
+
this.selectionMode$ = (this.dbxListView.selectionMode$ ?? of('select')).pipe(map((x) => x ?? 'select'), distinctUntilChanged());
|
|
4169
|
+
this.multiple$ = this.config$.pipe(map((x) => x.multiple ?? true), distinctUntilChanged(), shareReplay(1));
|
|
4624
4170
|
}
|
|
4625
4171
|
}
|
|
4626
4172
|
DbxSelectionValueListViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSelectionValueListViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -4648,11 +4194,12 @@ class DbxSelectionValueListItemViewComponent extends DbxValueListItemViewCompone
|
|
|
4648
4194
|
}
|
|
4649
4195
|
matSelectionChanged(selection) {
|
|
4650
4196
|
const options = selection.source.selectedOptions.selected;
|
|
4651
|
-
const items = options.map(x => {
|
|
4197
|
+
const items = options.map((x) => {
|
|
4652
4198
|
const { value: itemValue, selected, disabled } = x;
|
|
4653
|
-
return
|
|
4199
|
+
return { itemValue, selected, disabled };
|
|
4654
4200
|
});
|
|
4655
4201
|
this.dbxListView.selectionChange.next({
|
|
4202
|
+
// asserted in constructor
|
|
4656
4203
|
items
|
|
4657
4204
|
});
|
|
4658
4205
|
}
|
|
@@ -4693,7 +4240,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
4693
4240
|
</ng-container>
|
|
4694
4241
|
`,
|
|
4695
4242
|
host: {
|
|
4696
|
-
|
|
4243
|
+
class: 'dbx-list-view dbx-selection-list-view'
|
|
4697
4244
|
}
|
|
4698
4245
|
}]
|
|
4699
4246
|
}], ctorParameters: function () { return [{ type: DbxListView }]; }, propDecorators: { multiple: [{
|
|
@@ -4745,70 +4292,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
4745
4292
|
class DbxListLayoutModule {
|
|
4746
4293
|
}
|
|
4747
4294
|
DbxListLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxListLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4748
|
-
DbxListLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxListLayoutModule, declarations: [DbxListComponent,
|
|
4749
|
-
|
|
4750
|
-
DbxListEmptyContentComponent,
|
|
4751
|
-
DbxValueListViewComponent,
|
|
4752
|
-
DbxValueListItemViewComponent,
|
|
4753
|
-
DbxSelectionValueListViewComponent,
|
|
4754
|
-
DbxSelectionValueListItemViewComponent,
|
|
4755
|
-
DbxValueListItemModifierDirective,
|
|
4756
|
-
DbxListItemDisableRippleModifierDirective], imports: [CommonModule,
|
|
4757
|
-
DbxLoadingModule,
|
|
4758
|
-
DbxRouterAnchorModule,
|
|
4759
|
-
InfiniteScrollModule,
|
|
4760
|
-
DbxInjectionComponentModule,
|
|
4761
|
-
MatListModule,
|
|
4762
|
-
MatIconModule], exports: [DbxListComponent,
|
|
4763
|
-
DbxListEmptyContentComponent,
|
|
4764
|
-
DbxValueListViewComponent,
|
|
4765
|
-
DbxValueListItemViewComponent,
|
|
4766
|
-
DbxSelectionValueListViewComponent,
|
|
4767
|
-
DbxSelectionValueListItemViewComponent,
|
|
4768
|
-
DbxValueListItemModifierDirective,
|
|
4769
|
-
DbxListItemDisableRippleModifierDirective] });
|
|
4770
|
-
DbxListLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxListLayoutModule, imports: [[
|
|
4771
|
-
CommonModule,
|
|
4772
|
-
DbxLoadingModule,
|
|
4773
|
-
DbxRouterAnchorModule,
|
|
4774
|
-
InfiniteScrollModule,
|
|
4775
|
-
DbxInjectionComponentModule,
|
|
4776
|
-
MatListModule,
|
|
4777
|
-
MatIconModule
|
|
4778
|
-
]] });
|
|
4295
|
+
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] });
|
|
4296
|
+
DbxListLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxListLayoutModule, imports: [[CommonModule, DbxLoadingModule, DbxRouterAnchorModule, InfiniteScrollModule, DbxInjectionComponentModule, MatListModule, MatIconModule]] });
|
|
4779
4297
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxListLayoutModule, decorators: [{
|
|
4780
4298
|
type: NgModule,
|
|
4781
4299
|
args: [{
|
|
4782
|
-
imports: [
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
DbxRouterAnchorModule,
|
|
4786
|
-
InfiniteScrollModule,
|
|
4787
|
-
DbxInjectionComponentModule,
|
|
4788
|
-
MatListModule,
|
|
4789
|
-
MatIconModule
|
|
4790
|
-
],
|
|
4791
|
-
declarations: [
|
|
4792
|
-
DbxListComponent,
|
|
4793
|
-
DbxListInternalContentDirective,
|
|
4794
|
-
DbxListEmptyContentComponent,
|
|
4795
|
-
DbxValueListViewComponent,
|
|
4796
|
-
DbxValueListItemViewComponent,
|
|
4797
|
-
DbxSelectionValueListViewComponent,
|
|
4798
|
-
DbxSelectionValueListItemViewComponent,
|
|
4799
|
-
DbxValueListItemModifierDirective,
|
|
4800
|
-
DbxListItemDisableRippleModifierDirective
|
|
4801
|
-
],
|
|
4802
|
-
exports: [
|
|
4803
|
-
DbxListComponent,
|
|
4804
|
-
DbxListEmptyContentComponent,
|
|
4805
|
-
DbxValueListViewComponent,
|
|
4806
|
-
DbxValueListItemViewComponent,
|
|
4807
|
-
DbxSelectionValueListViewComponent,
|
|
4808
|
-
DbxSelectionValueListItemViewComponent,
|
|
4809
|
-
DbxValueListItemModifierDirective,
|
|
4810
|
-
DbxListItemDisableRippleModifierDirective
|
|
4811
|
-
]
|
|
4300
|
+
imports: [CommonModule, DbxLoadingModule, DbxRouterAnchorModule, InfiniteScrollModule, DbxInjectionComponentModule, MatListModule, MatIconModule],
|
|
4301
|
+
declarations: [DbxListComponent, DbxListInternalContentDirective, DbxListEmptyContentComponent, DbxValueListViewComponent, DbxValueListItemViewComponent, DbxSelectionValueListViewComponent, DbxSelectionValueListItemViewComponent, DbxValueListItemModifierDirective, DbxListItemDisableRippleModifierDirective],
|
|
4302
|
+
exports: [DbxListComponent, DbxListEmptyContentComponent, DbxValueListViewComponent, DbxValueListItemViewComponent, DbxSelectionValueListViewComponent, DbxSelectionValueListItemViewComponent, DbxValueListItemModifierDirective, DbxListItemDisableRippleModifierDirective]
|
|
4812
4303
|
}]
|
|
4813
4304
|
}] });
|
|
4814
4305
|
|
|
@@ -4879,9 +4370,9 @@ class AbstractDbxSelectionListViewDirective extends AbstractDbxListViewDirective
|
|
|
4879
4370
|
}
|
|
4880
4371
|
matSelectionChanged(selection) {
|
|
4881
4372
|
const options = selection.source.selectedOptions.selected;
|
|
4882
|
-
const items = options.map(x => {
|
|
4373
|
+
const items = options.map((x) => {
|
|
4883
4374
|
const { value: itemValue, selected, disabled } = x;
|
|
4884
|
-
return
|
|
4375
|
+
return { itemValue, selected, disabled };
|
|
4885
4376
|
});
|
|
4886
4377
|
this.selectionChanged({ items });
|
|
4887
4378
|
}
|
|
@@ -4917,10 +4408,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
4917
4408
|
class DbxListViewWrapper {
|
|
4918
4409
|
}
|
|
4919
4410
|
function provideDbxListViewWrapper(sourceType) {
|
|
4920
|
-
return [
|
|
4411
|
+
return [
|
|
4412
|
+
{
|
|
4921
4413
|
provide: DbxListViewWrapper,
|
|
4922
4414
|
useExisting: forwardRef(() => sourceType)
|
|
4923
|
-
}
|
|
4415
|
+
}
|
|
4416
|
+
];
|
|
4924
4417
|
}
|
|
4925
4418
|
|
|
4926
4419
|
/**
|
|
@@ -4956,7 +4449,8 @@ DbxSectionHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
4956
4449
|
</div>
|
|
4957
4450
|
<p *ngIf="hint" class="dbx-section-hint dbx-hint">{{ hint }}</p>
|
|
4958
4451
|
<ng-template #headerContentTitleTemplate>
|
|
4959
|
-
|
|
4452
|
+
<mat-icon *ngIf="icon">{{ icon }}</mat-icon>
|
|
4453
|
+
<span class="title-text">{{ header }}</span>
|
|
4960
4454
|
</ng-template>
|
|
4961
4455
|
`, 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"] }] });
|
|
4962
4456
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionHeaderComponent, decorators: [{
|
|
@@ -4987,7 +4481,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
4987
4481
|
</div>
|
|
4988
4482
|
<p *ngIf="hint" class="dbx-section-hint dbx-hint">{{ hint }}</p>
|
|
4989
4483
|
<ng-template #headerContentTitleTemplate>
|
|
4990
|
-
|
|
4484
|
+
<mat-icon *ngIf="icon">{{ icon }}</mat-icon>
|
|
4485
|
+
<span class="title-text">{{ header }}</span>
|
|
4991
4486
|
</ng-template>
|
|
4992
4487
|
`
|
|
4993
4488
|
}]
|
|
@@ -5032,7 +4527,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5032
4527
|
</div>
|
|
5033
4528
|
`,
|
|
5034
4529
|
host: {
|
|
5035
|
-
|
|
4530
|
+
class: 'd-block, dbx-section',
|
|
5036
4531
|
'[class]': `(elevated) ? 'dbx-section-elevated' : ''`
|
|
5037
4532
|
}
|
|
5038
4533
|
}]
|
|
@@ -5057,40 +4552,40 @@ class DbxIntroActionSectionComponent extends DbxSectionComponent {
|
|
|
5057
4552
|
}
|
|
5058
4553
|
DbxIntroActionSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxIntroActionSectionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5059
4554
|
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: `
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
4555
|
+
<div class="dbx-intro-action-section" [ngSwitch]="showIntro">
|
|
4556
|
+
<div *ngSwitchCase="true" class="dbx-intro-action-section-intro">
|
|
4557
|
+
<p>{{ hint }}</p>
|
|
4558
|
+
<div>
|
|
4559
|
+
<ng-content select="[info]"></ng-content>
|
|
4560
|
+
</div>
|
|
4561
|
+
<div>
|
|
4562
|
+
<button mat-raised-button color="accent" (click)="actionClicked()">{{ action }}</button>
|
|
4563
|
+
</div>
|
|
5068
4564
|
</div>
|
|
4565
|
+
<ng-container *ngSwitchCase="false">
|
|
4566
|
+
<ng-content></ng-content>
|
|
4567
|
+
</ng-container>
|
|
5069
4568
|
</div>
|
|
5070
|
-
<ng-container *ngSwitchCase="false">
|
|
5071
|
-
<ng-content></ng-content>
|
|
5072
|
-
</ng-container>
|
|
5073
|
-
</div>
|
|
5074
4569
|
`, 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"] }] });
|
|
5075
4570
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxIntroActionSectionComponent, decorators: [{
|
|
5076
4571
|
type: Component,
|
|
5077
4572
|
args: [{
|
|
5078
4573
|
selector: 'dbx-intro-action-section',
|
|
5079
4574
|
template: `
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
4575
|
+
<div class="dbx-intro-action-section" [ngSwitch]="showIntro">
|
|
4576
|
+
<div *ngSwitchCase="true" class="dbx-intro-action-section-intro">
|
|
4577
|
+
<p>{{ hint }}</p>
|
|
4578
|
+
<div>
|
|
4579
|
+
<ng-content select="[info]"></ng-content>
|
|
4580
|
+
</div>
|
|
4581
|
+
<div>
|
|
4582
|
+
<button mat-raised-button color="accent" (click)="actionClicked()">{{ action }}</button>
|
|
4583
|
+
</div>
|
|
5088
4584
|
</div>
|
|
4585
|
+
<ng-container *ngSwitchCase="false">
|
|
4586
|
+
<ng-content></ng-content>
|
|
4587
|
+
</ng-container>
|
|
5089
4588
|
</div>
|
|
5090
|
-
<ng-container *ngSwitchCase="false">
|
|
5091
|
-
<ng-content></ng-content>
|
|
5092
|
-
</ng-container>
|
|
5093
|
-
</div>
|
|
5094
4589
|
`
|
|
5095
4590
|
}]
|
|
5096
4591
|
}], propDecorators: { showAction: [{
|
|
@@ -5108,28 +4603,28 @@ class DbxSubSectionComponent extends DbxSectionComponent {
|
|
|
5108
4603
|
}
|
|
5109
4604
|
DbxSubSectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSubSectionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5110
4605
|
DbxSubSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxSubSectionComponent, selector: "dbx-subsection", usesInheritance: true, ngImport: i0, template: `
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
4606
|
+
<div class="dbx-subsection">
|
|
4607
|
+
<div class="dbx-section-header" [h]="h ?? 4" [header]="header" [icon]="icon" [hint]="hint">
|
|
4608
|
+
<ng-content select="[sectionHeader]"></ng-content>
|
|
4609
|
+
</div>
|
|
4610
|
+
<div class="dbx-section-content">
|
|
4611
|
+
<ng-content></ng-content>
|
|
4612
|
+
</div>
|
|
5117
4613
|
</div>
|
|
5118
|
-
</div>
|
|
5119
4614
|
`, isInline: true, components: [{ type: DbxSectionHeaderComponent, selector: "dbx-section-header,.dbx-section-header", inputs: ["h", "header", "icon", "hint"] }] });
|
|
5120
4615
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSubSectionComponent, decorators: [{
|
|
5121
4616
|
type: Component,
|
|
5122
4617
|
args: [{
|
|
5123
4618
|
selector: 'dbx-subsection',
|
|
5124
4619
|
template: `
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
|
|
5130
|
-
|
|
4620
|
+
<div class="dbx-subsection">
|
|
4621
|
+
<div class="dbx-section-header" [h]="h ?? 4" [header]="header" [icon]="icon" [hint]="hint">
|
|
4622
|
+
<ng-content select="[sectionHeader]"></ng-content>
|
|
4623
|
+
</div>
|
|
4624
|
+
<div class="dbx-section-content">
|
|
4625
|
+
<ng-content></ng-content>
|
|
4626
|
+
</div>
|
|
5131
4627
|
</div>
|
|
5132
|
-
</div>
|
|
5133
4628
|
`
|
|
5134
4629
|
}]
|
|
5135
4630
|
}] });
|
|
@@ -5141,24 +4636,24 @@ class DbxSectionPageComponent extends DbxSectionHeaderComponent {
|
|
|
5141
4636
|
}
|
|
5142
4637
|
DbxSectionPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionPageComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5143
4638
|
DbxSectionPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxSectionPageComponent, selector: "dbx-section-page", usesInheritance: true, ngImport: i0, template: `
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
4639
|
+
<div class="dbx-content-page dbx-section-page">
|
|
4640
|
+
<div class="dbx-section-header" [h]="h ?? 2" [header]="header" [icon]="icon" [hint]="hint">
|
|
4641
|
+
<ng-content select="[sectionHeader]"></ng-content>
|
|
4642
|
+
</div>
|
|
4643
|
+
<ng-content></ng-content>
|
|
5147
4644
|
</div>
|
|
5148
|
-
<ng-content></ng-content>
|
|
5149
|
-
</div>
|
|
5150
4645
|
`, isInline: true, components: [{ type: DbxSectionHeaderComponent, selector: "dbx-section-header,.dbx-section-header", inputs: ["h", "header", "icon", "hint"] }] });
|
|
5151
4646
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionPageComponent, decorators: [{
|
|
5152
4647
|
type: Component,
|
|
5153
4648
|
args: [{
|
|
5154
4649
|
selector: 'dbx-section-page',
|
|
5155
4650
|
template: `
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
4651
|
+
<div class="dbx-content-page dbx-section-page">
|
|
4652
|
+
<div class="dbx-section-header" [h]="h ?? 2" [header]="header" [icon]="icon" [hint]="hint">
|
|
4653
|
+
<ng-content select="[sectionHeader]"></ng-content>
|
|
4654
|
+
</div>
|
|
4655
|
+
<ng-content></ng-content>
|
|
5159
4656
|
</div>
|
|
5160
|
-
<ng-content></ng-content>
|
|
5161
|
-
</div>
|
|
5162
4657
|
`
|
|
5163
4658
|
}]
|
|
5164
4659
|
}] });
|
|
@@ -5169,60 +4664,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5169
4664
|
class DbxSectionLayoutModule {
|
|
5170
4665
|
}
|
|
5171
4666
|
DbxSectionLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5172
|
-
DbxSectionLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionLayoutModule, declarations: [DbxSectionHeaderComponent,
|
|
5173
|
-
|
|
5174
|
-
DbxSectionComponent,
|
|
5175
|
-
DbxSubSectionComponent,
|
|
5176
|
-
DbxIntroActionSectionComponent], imports: [CommonModule,
|
|
5177
|
-
DbxRouterAnchorModule,
|
|
5178
|
-
MatButtonModule,
|
|
5179
|
-
MatRippleModule,
|
|
5180
|
-
MatIconModule], exports: [DbxSectionHeaderComponent,
|
|
5181
|
-
DbxSectionPageComponent,
|
|
5182
|
-
DbxSectionComponent,
|
|
5183
|
-
DbxSubSectionComponent,
|
|
5184
|
-
DbxIntroActionSectionComponent] });
|
|
5185
|
-
DbxSectionLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionLayoutModule, imports: [[
|
|
5186
|
-
CommonModule,
|
|
5187
|
-
DbxRouterAnchorModule,
|
|
5188
|
-
MatButtonModule,
|
|
5189
|
-
MatRippleModule,
|
|
5190
|
-
MatIconModule
|
|
5191
|
-
]] });
|
|
4667
|
+
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] });
|
|
4668
|
+
DbxSectionLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionLayoutModule, imports: [[CommonModule, DbxRouterAnchorModule, MatButtonModule, MatRippleModule, MatIconModule]] });
|
|
5192
4669
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionLayoutModule, decorators: [{
|
|
5193
4670
|
type: NgModule,
|
|
5194
4671
|
args: [{
|
|
5195
|
-
imports: [
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
MatButtonModule,
|
|
5199
|
-
MatRippleModule,
|
|
5200
|
-
MatIconModule
|
|
5201
|
-
],
|
|
5202
|
-
declarations: [
|
|
5203
|
-
DbxSectionHeaderComponent,
|
|
5204
|
-
DbxSectionPageComponent,
|
|
5205
|
-
DbxSectionComponent,
|
|
5206
|
-
DbxSubSectionComponent,
|
|
5207
|
-
DbxIntroActionSectionComponent
|
|
5208
|
-
],
|
|
5209
|
-
exports: [
|
|
5210
|
-
DbxSectionHeaderComponent,
|
|
5211
|
-
DbxSectionPageComponent,
|
|
5212
|
-
DbxSectionComponent,
|
|
5213
|
-
DbxSubSectionComponent,
|
|
5214
|
-
DbxIntroActionSectionComponent
|
|
5215
|
-
]
|
|
4672
|
+
imports: [CommonModule, DbxRouterAnchorModule, MatButtonModule, MatRippleModule, MatIconModule],
|
|
4673
|
+
declarations: [DbxSectionHeaderComponent, DbxSectionPageComponent, DbxSectionComponent, DbxSubSectionComponent, DbxIntroActionSectionComponent],
|
|
4674
|
+
exports: [DbxSectionHeaderComponent, DbxSectionPageComponent, DbxSectionComponent, DbxSubSectionComponent, DbxIntroActionSectionComponent]
|
|
5216
4675
|
}]
|
|
5217
4676
|
}] });
|
|
5218
4677
|
|
|
5219
4678
|
class DbxStepComponent {
|
|
5220
4679
|
}
|
|
5221
4680
|
DbxStepComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5222
|
-
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]=\"
|
|
4681
|
+
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"] }] });
|
|
5223
4682
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStepComponent, decorators: [{
|
|
5224
4683
|
type: Component,
|
|
5225
|
-
args: [{ selector: 'dbx-step', template: "<div class=\"step-section\" [ngClass]=\"
|
|
4684
|
+
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" }]
|
|
5226
4685
|
}], propDecorators: { done: [{
|
|
5227
4686
|
type: Input
|
|
5228
4687
|
}], step: [{
|
|
@@ -5236,39 +4695,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5236
4695
|
class DbxStepLayoutModule {
|
|
5237
4696
|
}
|
|
5238
4697
|
DbxStepLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStepLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5239
|
-
DbxStepLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStepLayoutModule, declarations: [DbxStepComponent], imports: [CommonModule,
|
|
5240
|
-
|
|
5241
|
-
DbxStepLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStepLayoutModule, imports: [[
|
|
5242
|
-
CommonModule,
|
|
5243
|
-
MatIconModule
|
|
5244
|
-
]] });
|
|
4698
|
+
DbxStepLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStepLayoutModule, declarations: [DbxStepComponent], imports: [CommonModule, MatIconModule], exports: [DbxStepComponent] });
|
|
4699
|
+
DbxStepLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStepLayoutModule, imports: [[CommonModule, MatIconModule]] });
|
|
5245
4700
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStepLayoutModule, decorators: [{
|
|
5246
4701
|
type: NgModule,
|
|
5247
4702
|
args: [{
|
|
5248
|
-
imports: [
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
],
|
|
5252
|
-
declarations: [
|
|
5253
|
-
DbxStepComponent
|
|
5254
|
-
],
|
|
5255
|
-
exports: [
|
|
5256
|
-
DbxStepComponent
|
|
5257
|
-
],
|
|
4703
|
+
imports: [CommonModule, MatIconModule],
|
|
4704
|
+
declarations: [DbxStepComponent],
|
|
4705
|
+
exports: [DbxStepComponent]
|
|
5258
4706
|
}]
|
|
5259
4707
|
}] });
|
|
5260
4708
|
|
|
5261
4709
|
class DbxHintComponent {
|
|
5262
4710
|
}
|
|
5263
4711
|
DbxHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxHintComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5264
|
-
DbxHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxHintComponent, selector: "dbx-hint", host: { classAttribute: "dbx-hint" }, ngImport: i0, template:
|
|
4712
|
+
DbxHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxHintComponent, selector: "dbx-hint", host: { classAttribute: "dbx-hint" }, ngImport: i0, template: `
|
|
4713
|
+
<ng-content></ng-content>
|
|
4714
|
+
`, isInline: true });
|
|
5265
4715
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxHintComponent, decorators: [{
|
|
5266
4716
|
type: Component,
|
|
5267
4717
|
args: [{
|
|
5268
4718
|
selector: 'dbx-hint',
|
|
5269
|
-
template:
|
|
4719
|
+
template: `
|
|
4720
|
+
<ng-content></ng-content>
|
|
4721
|
+
`,
|
|
5270
4722
|
host: {
|
|
5271
|
-
|
|
4723
|
+
class: 'dbx-hint'
|
|
5272
4724
|
}
|
|
5273
4725
|
}]
|
|
5274
4726
|
}] });
|
|
@@ -5293,14 +4745,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5293
4745
|
class DbxLabelComponent {
|
|
5294
4746
|
}
|
|
5295
4747
|
DbxLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5296
|
-
DbxLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxLabelComponent, selector: "dbx-label", host: { classAttribute: "dbx-label" }, ngImport: i0, template:
|
|
4748
|
+
DbxLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxLabelComponent, selector: "dbx-label", host: { classAttribute: "dbx-label" }, ngImport: i0, template: `
|
|
4749
|
+
<ng-content></ng-content>
|
|
4750
|
+
`, isInline: true });
|
|
5297
4751
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLabelComponent, decorators: [{
|
|
5298
4752
|
type: Component,
|
|
5299
4753
|
args: [{
|
|
5300
4754
|
selector: 'dbx-label',
|
|
5301
|
-
template:
|
|
4755
|
+
template: `
|
|
4756
|
+
<ng-content></ng-content>
|
|
4757
|
+
`,
|
|
5302
4758
|
host: {
|
|
5303
|
-
|
|
4759
|
+
class: 'dbx-label'
|
|
5304
4760
|
}
|
|
5305
4761
|
}]
|
|
5306
4762
|
}] });
|
|
@@ -5312,13 +4768,13 @@ class DbxLinkifyComponent {
|
|
|
5312
4768
|
constructor(sanitizer) {
|
|
5313
4769
|
this.sanitizer = sanitizer;
|
|
5314
4770
|
this._text = new BehaviorSubject('');
|
|
5315
|
-
this.linkifiedText$ = this._text.pipe(distinctUntilChanged(), map(x => linkifyStr(x, {
|
|
4771
|
+
this.linkifiedText$ = this._text.pipe(distinctUntilChanged(), map((x) => linkifyStr(x, {
|
|
5316
4772
|
defaultProtocol: 'https',
|
|
5317
4773
|
target: {
|
|
5318
4774
|
url: '_blank'
|
|
5319
4775
|
}
|
|
5320
4776
|
})), shareReplay(1));
|
|
5321
|
-
this.linkifiedBody$ = this.linkifiedText$.pipe(map(x => {
|
|
4777
|
+
this.linkifiedBody$ = this.linkifiedText$.pipe(map((x) => {
|
|
5322
4778
|
return this.sanitizer.bypassSecurityTrustHtml(x);
|
|
5323
4779
|
}), shareReplay(1));
|
|
5324
4780
|
}
|
|
@@ -5333,12 +4789,16 @@ class DbxLinkifyComponent {
|
|
|
5333
4789
|
}
|
|
5334
4790
|
}
|
|
5335
4791
|
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 });
|
|
5336
|
-
DbxLinkifyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxLinkifyComponent, selector: "dbx-linkify", inputs: { text: "text" }, ngImport: i0, template:
|
|
4792
|
+
DbxLinkifyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxLinkifyComponent, selector: "dbx-linkify", inputs: { text: "text" }, ngImport: i0, template: `
|
|
4793
|
+
<span class="dbx-linkify" [innerHTML]="linkifiedBody$ | async"></span>
|
|
4794
|
+
`, isInline: true, pipes: { "async": i3$1.AsyncPipe } });
|
|
5337
4795
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLinkifyComponent, decorators: [{
|
|
5338
4796
|
type: Component,
|
|
5339
4797
|
args: [{
|
|
5340
4798
|
selector: 'dbx-linkify',
|
|
5341
|
-
template:
|
|
4799
|
+
template: `
|
|
4800
|
+
<span class="dbx-linkify" [innerHTML]="linkifiedBody$ | async"></span>
|
|
4801
|
+
`
|
|
5342
4802
|
}]
|
|
5343
4803
|
}], ctorParameters: function () { return [{ type: i1$8.DomSanitizer }]; }, propDecorators: { text: [{
|
|
5344
4804
|
type: Input
|
|
@@ -5347,14 +4807,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5347
4807
|
class DbxNoteComponent {
|
|
5348
4808
|
}
|
|
5349
4809
|
DbxNoteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxNoteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5350
|
-
DbxNoteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxNoteComponent, selector: "dbx-note", host: { classAttribute: "dbx-note" }, ngImport: i0, template:
|
|
4810
|
+
DbxNoteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxNoteComponent, selector: "dbx-note", host: { classAttribute: "dbx-note" }, ngImport: i0, template: `
|
|
4811
|
+
<ng-content></ng-content>
|
|
4812
|
+
`, isInline: true });
|
|
5351
4813
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxNoteComponent, decorators: [{
|
|
5352
4814
|
type: Component,
|
|
5353
4815
|
args: [{
|
|
5354
4816
|
selector: 'dbx-note',
|
|
5355
|
-
template:
|
|
4817
|
+
template: `
|
|
4818
|
+
<ng-content></ng-content>
|
|
4819
|
+
`,
|
|
5356
4820
|
host: {
|
|
5357
|
-
|
|
4821
|
+
class: 'dbx-note'
|
|
5358
4822
|
}
|
|
5359
4823
|
}]
|
|
5360
4824
|
}] });
|
|
@@ -5362,14 +4826,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5362
4826
|
class DbxNoticeComponent {
|
|
5363
4827
|
}
|
|
5364
4828
|
DbxNoticeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxNoticeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5365
|
-
DbxNoticeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxNoticeComponent, selector: "dbx-notice", host: { classAttribute: "dbx-notice" }, ngImport: i0, template:
|
|
4829
|
+
DbxNoticeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxNoticeComponent, selector: "dbx-notice", host: { classAttribute: "dbx-notice" }, ngImport: i0, template: `
|
|
4830
|
+
<ng-content></ng-content>
|
|
4831
|
+
`, isInline: true });
|
|
5366
4832
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxNoticeComponent, decorators: [{
|
|
5367
4833
|
type: Component,
|
|
5368
4834
|
args: [{
|
|
5369
4835
|
selector: 'dbx-notice',
|
|
5370
|
-
template:
|
|
4836
|
+
template: `
|
|
4837
|
+
<ng-content></ng-content>
|
|
4838
|
+
`,
|
|
5371
4839
|
host: {
|
|
5372
|
-
|
|
4840
|
+
class: 'dbx-notice'
|
|
5373
4841
|
}
|
|
5374
4842
|
}]
|
|
5375
4843
|
}] });
|
|
@@ -5377,14 +4845,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5377
4845
|
class DbxOkComponent {
|
|
5378
4846
|
}
|
|
5379
4847
|
DbxOkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxOkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5380
|
-
DbxOkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxOkComponent, selector: "dbx-ok", host: { classAttribute: "dbx-ok" }, ngImport: i0, template:
|
|
4848
|
+
DbxOkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxOkComponent, selector: "dbx-ok", host: { classAttribute: "dbx-ok" }, ngImport: i0, template: `
|
|
4849
|
+
<ng-content></ng-content>
|
|
4850
|
+
`, isInline: true });
|
|
5381
4851
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxOkComponent, decorators: [{
|
|
5382
4852
|
type: Component,
|
|
5383
4853
|
args: [{
|
|
5384
4854
|
selector: 'dbx-ok',
|
|
5385
|
-
template:
|
|
4855
|
+
template: `
|
|
4856
|
+
<ng-content></ng-content>
|
|
4857
|
+
`,
|
|
5386
4858
|
host: {
|
|
5387
|
-
|
|
4859
|
+
class: 'dbx-ok'
|
|
5388
4860
|
}
|
|
5389
4861
|
}]
|
|
5390
4862
|
}] });
|
|
@@ -5392,14 +4864,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5392
4864
|
class DbxSuccessComponent {
|
|
5393
4865
|
}
|
|
5394
4866
|
DbxSuccessComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSuccessComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5395
|
-
DbxSuccessComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxSuccessComponent, selector: "dbx-success", host: { classAttribute: "dbx-success" }, ngImport: i0, template:
|
|
4867
|
+
DbxSuccessComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxSuccessComponent, selector: "dbx-success", host: { classAttribute: "dbx-success" }, ngImport: i0, template: `
|
|
4868
|
+
<ng-content></ng-content>
|
|
4869
|
+
`, isInline: true });
|
|
5396
4870
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSuccessComponent, decorators: [{
|
|
5397
4871
|
type: Component,
|
|
5398
4872
|
args: [{
|
|
5399
4873
|
selector: 'dbx-success',
|
|
5400
|
-
template:
|
|
4874
|
+
template: `
|
|
4875
|
+
<ng-content></ng-content>
|
|
4876
|
+
`,
|
|
5401
4877
|
host: {
|
|
5402
|
-
|
|
4878
|
+
class: 'dbx-success'
|
|
5403
4879
|
}
|
|
5404
4880
|
}]
|
|
5405
4881
|
}] });
|
|
@@ -5408,22 +4884,22 @@ class DbxTextChipsComponent {
|
|
|
5408
4884
|
}
|
|
5409
4885
|
DbxTextChipsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTextChipsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5410
4886
|
DbxTextChipsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxTextChipsComponent, selector: "dbx-text-chips", inputs: { chips: "chips" }, ngImport: i0, template: `
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
|
|
4887
|
+
<mat-chip-list *ngIf="chips" [multiple]="false">
|
|
4888
|
+
<mat-chip *ngFor="let chip of chips" selected [color]="chip.color" [matTooltip]="chip.tooltip!" matTooltipPosition="above">
|
|
4889
|
+
{{ chip.text }}
|
|
4890
|
+
</mat-chip>
|
|
4891
|
+
</mat-chip-list>
|
|
5416
4892
|
`, 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"] }] });
|
|
5417
4893
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTextChipsComponent, decorators: [{
|
|
5418
4894
|
type: Component,
|
|
5419
4895
|
args: [{
|
|
5420
4896
|
selector: 'dbx-text-chips',
|
|
5421
4897
|
template: `
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5426
|
-
|
|
4898
|
+
<mat-chip-list *ngIf="chips" [multiple]="false">
|
|
4899
|
+
<mat-chip *ngFor="let chip of chips" selected [color]="chip.color" [matTooltip]="chip.tooltip!" matTooltipPosition="above">
|
|
4900
|
+
{{ chip.text }}
|
|
4901
|
+
</mat-chip>
|
|
4902
|
+
</mat-chip-list>
|
|
5427
4903
|
`
|
|
5428
4904
|
}]
|
|
5429
4905
|
}], propDecorators: { chips: [{
|
|
@@ -5433,14 +4909,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5433
4909
|
class DbxWarnComponent {
|
|
5434
4910
|
}
|
|
5435
4911
|
DbxWarnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWarnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5436
|
-
DbxWarnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxWarnComponent, selector: "dbx-warn", host: { classAttribute: "dbx-warn" }, ngImport: i0, template:
|
|
4912
|
+
DbxWarnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxWarnComponent, selector: "dbx-warn", host: { classAttribute: "dbx-warn" }, ngImport: i0, template: `
|
|
4913
|
+
<ng-content></ng-content>
|
|
4914
|
+
`, isInline: true });
|
|
5437
4915
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWarnComponent, decorators: [{
|
|
5438
4916
|
type: Component,
|
|
5439
4917
|
args: [{
|
|
5440
4918
|
selector: 'dbx-warn',
|
|
5441
|
-
template:
|
|
4919
|
+
template: `
|
|
4920
|
+
<ng-content></ng-content>
|
|
4921
|
+
`,
|
|
5442
4922
|
host: {
|
|
5443
|
-
|
|
4923
|
+
class: 'dbx-warn'
|
|
5444
4924
|
}
|
|
5445
4925
|
}]
|
|
5446
4926
|
}] });
|
|
@@ -5448,120 +4928,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5448
4928
|
class DbxTextModule {
|
|
5449
4929
|
}
|
|
5450
4930
|
DbxTextModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTextModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5451
|
-
DbxTextModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTextModule, declarations: [DbxNoteComponent,
|
|
5452
|
-
|
|
5453
|
-
DbxSuccessComponent,
|
|
5454
|
-
DbxWarnComponent,
|
|
5455
|
-
DbxHintComponent,
|
|
5456
|
-
DbxLabelComponent,
|
|
5457
|
-
DbxLinkifyComponent,
|
|
5458
|
-
DbxOkComponent,
|
|
5459
|
-
DbxTextChipsComponent,
|
|
5460
|
-
DbxIconSpacerDirective], imports: [CommonModule,
|
|
5461
|
-
MatChipsModule,
|
|
5462
|
-
MatTooltipModule,
|
|
5463
|
-
MatIconModule], exports: [DbxNoteComponent,
|
|
5464
|
-
DbxNoticeComponent,
|
|
5465
|
-
DbxSuccessComponent,
|
|
5466
|
-
DbxWarnComponent,
|
|
5467
|
-
DbxHintComponent,
|
|
5468
|
-
DbxLabelComponent,
|
|
5469
|
-
DbxLinkifyComponent,
|
|
5470
|
-
DbxOkComponent,
|
|
5471
|
-
DbxTextChipsComponent,
|
|
5472
|
-
DbxIconSpacerDirective] });
|
|
5473
|
-
DbxTextModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTextModule, imports: [[
|
|
5474
|
-
CommonModule,
|
|
5475
|
-
MatChipsModule,
|
|
5476
|
-
MatTooltipModule,
|
|
5477
|
-
MatIconModule
|
|
5478
|
-
]] });
|
|
4931
|
+
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] });
|
|
4932
|
+
DbxTextModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTextModule, imports: [[CommonModule, MatChipsModule, MatTooltipModule, MatIconModule]] });
|
|
5479
4933
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTextModule, decorators: [{
|
|
5480
4934
|
type: NgModule,
|
|
5481
4935
|
args: [{
|
|
5482
|
-
imports: [
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
MatTooltipModule,
|
|
5486
|
-
MatIconModule
|
|
5487
|
-
],
|
|
5488
|
-
declarations: [
|
|
5489
|
-
DbxNoteComponent,
|
|
5490
|
-
DbxNoticeComponent,
|
|
5491
|
-
DbxSuccessComponent,
|
|
5492
|
-
DbxWarnComponent,
|
|
5493
|
-
DbxHintComponent,
|
|
5494
|
-
DbxLabelComponent,
|
|
5495
|
-
DbxLinkifyComponent,
|
|
5496
|
-
DbxOkComponent,
|
|
5497
|
-
DbxTextChipsComponent,
|
|
5498
|
-
DbxIconSpacerDirective
|
|
5499
|
-
],
|
|
5500
|
-
exports: [
|
|
5501
|
-
DbxNoteComponent,
|
|
5502
|
-
DbxNoticeComponent,
|
|
5503
|
-
DbxSuccessComponent,
|
|
5504
|
-
DbxWarnComponent,
|
|
5505
|
-
DbxHintComponent,
|
|
5506
|
-
DbxLabelComponent,
|
|
5507
|
-
DbxLinkifyComponent,
|
|
5508
|
-
DbxOkComponent,
|
|
5509
|
-
DbxTextChipsComponent,
|
|
5510
|
-
DbxIconSpacerDirective
|
|
5511
|
-
],
|
|
4936
|
+
imports: [CommonModule, MatChipsModule, MatTooltipModule, MatIconModule],
|
|
4937
|
+
declarations: [DbxNoteComponent, DbxNoticeComponent, DbxSuccessComponent, DbxWarnComponent, DbxHintComponent, DbxLabelComponent, DbxLinkifyComponent, DbxOkComponent, DbxTextChipsComponent, DbxIconSpacerDirective],
|
|
4938
|
+
exports: [DbxNoteComponent, DbxNoticeComponent, DbxSuccessComponent, DbxWarnComponent, DbxHintComponent, DbxLabelComponent, DbxLinkifyComponent, DbxOkComponent, DbxTextChipsComponent, DbxIconSpacerDirective]
|
|
5512
4939
|
}]
|
|
5513
4940
|
}] });
|
|
5514
4941
|
|
|
5515
4942
|
class DbxLayoutModule {
|
|
5516
4943
|
}
|
|
5517
4944
|
DbxLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5518
|
-
DbxLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLayoutModule, exports: [DbxBarLayoutModule,
|
|
5519
|
-
|
|
5520
|
-
DbxCardBoxLayoutModule,
|
|
5521
|
-
DbxColumnLayoutModule,
|
|
5522
|
-
DbxCompactLayoutModule,
|
|
5523
|
-
DbxContentLayoutModule,
|
|
5524
|
-
DbxFlagLayoutModule,
|
|
5525
|
-
DbxFlexLayoutModule,
|
|
5526
|
-
DbxItemLayoutModule,
|
|
5527
|
-
DbxListLayoutModule,
|
|
5528
|
-
DbxSectionLayoutModule,
|
|
5529
|
-
DbxStepLayoutModule,
|
|
5530
|
-
DbxStyleLayoutModule,
|
|
5531
|
-
DbxTextModule] });
|
|
5532
|
-
DbxLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLayoutModule, imports: [DbxBarLayoutModule,
|
|
5533
|
-
DbxBlockLayoutModule,
|
|
5534
|
-
DbxCardBoxLayoutModule,
|
|
5535
|
-
DbxColumnLayoutModule,
|
|
5536
|
-
DbxCompactLayoutModule,
|
|
5537
|
-
DbxContentLayoutModule,
|
|
5538
|
-
DbxFlagLayoutModule,
|
|
5539
|
-
DbxFlexLayoutModule,
|
|
5540
|
-
DbxItemLayoutModule,
|
|
5541
|
-
DbxListLayoutModule,
|
|
5542
|
-
DbxSectionLayoutModule,
|
|
5543
|
-
DbxStepLayoutModule,
|
|
5544
|
-
DbxStyleLayoutModule,
|
|
5545
|
-
DbxTextModule] });
|
|
4945
|
+
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] });
|
|
4946
|
+
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] });
|
|
5546
4947
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxLayoutModule, decorators: [{
|
|
5547
4948
|
type: NgModule,
|
|
5548
4949
|
args: [{
|
|
5549
|
-
exports: [
|
|
5550
|
-
DbxBarLayoutModule,
|
|
5551
|
-
DbxBlockLayoutModule,
|
|
5552
|
-
DbxCardBoxLayoutModule,
|
|
5553
|
-
DbxColumnLayoutModule,
|
|
5554
|
-
DbxCompactLayoutModule,
|
|
5555
|
-
DbxContentLayoutModule,
|
|
5556
|
-
DbxFlagLayoutModule,
|
|
5557
|
-
DbxFlexLayoutModule,
|
|
5558
|
-
DbxItemLayoutModule,
|
|
5559
|
-
DbxListLayoutModule,
|
|
5560
|
-
DbxSectionLayoutModule,
|
|
5561
|
-
DbxStepLayoutModule,
|
|
5562
|
-
DbxStyleLayoutModule,
|
|
5563
|
-
DbxTextModule
|
|
5564
|
-
],
|
|
4950
|
+
exports: [DbxBarLayoutModule, DbxBlockLayoutModule, DbxCardBoxLayoutModule, DbxColumnLayoutModule, DbxCompactLayoutModule, DbxContentLayoutModule, DbxFlagLayoutModule, DbxFlexLayoutModule, DbxItemLayoutModule, DbxListLayoutModule, DbxSectionLayoutModule, DbxStepLayoutModule, DbxStyleLayoutModule, DbxTextModule]
|
|
5565
4951
|
}]
|
|
5566
4952
|
}] });
|
|
5567
4953
|
|
|
@@ -5618,7 +5004,7 @@ class DbxPopoverCoordinatorComponent {
|
|
|
5618
5004
|
constructor(service, popover) {
|
|
5619
5005
|
this.service = service;
|
|
5620
5006
|
this.popover = popover;
|
|
5621
|
-
this.isPopoverForKey$ = this.service.popovers$.pipe(map(x => x.get(this.popover.key) === this.popover), shareReplay(1));
|
|
5007
|
+
this.isPopoverForKey$ = this.service.popovers$.pipe(map((x) => x.get(this.popover.key) === this.popover), shareReplay(1));
|
|
5622
5008
|
this.show$ = this.isPopoverForKey$.pipe(delay(0));
|
|
5623
5009
|
}
|
|
5624
5010
|
ngOnInit() {
|
|
@@ -5630,19 +5016,19 @@ class DbxPopoverCoordinatorComponent {
|
|
|
5630
5016
|
}
|
|
5631
5017
|
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 });
|
|
5632
5018
|
DbxPopoverCoordinatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxPopoverCoordinatorComponent, selector: "dbx-popover-coordinator", ngImport: i0, template: `
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5019
|
+
<ng-container *ngIf="show$ | async">
|
|
5020
|
+
<ng-content></ng-content>
|
|
5021
|
+
</ng-container>
|
|
5636
5022
|
`, isInline: true, directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3$1.AsyncPipe } });
|
|
5637
5023
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverCoordinatorComponent, decorators: [{
|
|
5638
5024
|
type: Component,
|
|
5639
5025
|
args: [{
|
|
5640
5026
|
selector: 'dbx-popover-coordinator',
|
|
5641
5027
|
template: `
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
|
|
5028
|
+
<ng-container *ngIf="show$ | async">
|
|
5029
|
+
<ng-content></ng-content>
|
|
5030
|
+
</ng-container>
|
|
5031
|
+
`
|
|
5646
5032
|
// TODO: styleUrls: ['./popover.scss']
|
|
5647
5033
|
}]
|
|
5648
5034
|
}], ctorParameters: function () { return [{ type: DbxPopoverCoordinatorService }, { type: DbxPopoverController }]; } });
|
|
@@ -5702,13 +5088,13 @@ class DbxPopoverComponent extends AbstractTransitionWatcherDirective {
|
|
|
5702
5088
|
this.lockSet = new LockSet();
|
|
5703
5089
|
this.contentConfig = {
|
|
5704
5090
|
componentClass: this.config.componentClass,
|
|
5705
|
-
init: this.config.init ? (
|
|
5091
|
+
init: this.config.init ? (instance) => this.config.init(instance, this) : undefined
|
|
5706
5092
|
};
|
|
5707
5093
|
this._startedClosing = false;
|
|
5708
5094
|
this._closing = new Subject();
|
|
5709
5095
|
this._triggerCloseKeys = [];
|
|
5710
5096
|
this.isClosing$ = this._closing.pipe(first(), map(() => true), startWith(false), shareReplay(1));
|
|
5711
|
-
this.closing$ = this.isClosing$.pipe(filter(x => x));
|
|
5097
|
+
this.closing$ = this.isClosing$.pipe(filter((x) => x));
|
|
5712
5098
|
// Override Close to properly signal to listeners when a close is occuring.
|
|
5713
5099
|
const originalClose = this.popoverRef.close;
|
|
5714
5100
|
this.popoverRef.close = (x) => {
|
|
@@ -5779,30 +5165,36 @@ class DbxPopoverComponent extends AbstractTransitionWatcherDirective {
|
|
|
5779
5165
|
}
|
|
5780
5166
|
}
|
|
5781
5167
|
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 });
|
|
5782
|
-
DbxPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxPopoverComponent, selector: "ng-component", providers: [
|
|
5168
|
+
DbxPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxPopoverComponent, selector: "ng-component", providers: [
|
|
5169
|
+
{
|
|
5783
5170
|
provide: DbxPopoverController,
|
|
5784
5171
|
useExisting: DbxPopoverComponent
|
|
5785
|
-
},
|
|
5172
|
+
},
|
|
5173
|
+
{
|
|
5786
5174
|
provide: CompactContextStore
|
|
5787
|
-
}
|
|
5788
|
-
|
|
5789
|
-
<
|
|
5790
|
-
|
|
5175
|
+
}
|
|
5176
|
+
], usesInheritance: true, ngImport: i0, template: `
|
|
5177
|
+
<dbx-popover-coordinator (dbxWindowKeyDownListener)="handleKeydown()" [appWindowKeyDownFilter]="triggerCloseKeys">
|
|
5178
|
+
<div dbxStyle class="dbx-popover-component" dbx-injection [config]="contentConfig"></div>
|
|
5179
|
+
</dbx-popover-coordinator>
|
|
5791
5180
|
`, 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" }] });
|
|
5792
5181
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverComponent, decorators: [{
|
|
5793
5182
|
type: Component,
|
|
5794
5183
|
args: [{
|
|
5795
5184
|
template: `
|
|
5796
|
-
|
|
5797
|
-
|
|
5798
|
-
|
|
5185
|
+
<dbx-popover-coordinator (dbxWindowKeyDownListener)="handleKeydown()" [appWindowKeyDownFilter]="triggerCloseKeys">
|
|
5186
|
+
<div dbxStyle class="dbx-popover-component" dbx-injection [config]="contentConfig"></div>
|
|
5187
|
+
</dbx-popover-coordinator>
|
|
5799
5188
|
`,
|
|
5800
|
-
providers: [
|
|
5189
|
+
providers: [
|
|
5190
|
+
{
|
|
5801
5191
|
provide: DbxPopoverController,
|
|
5802
5192
|
useExisting: DbxPopoverComponent
|
|
5803
|
-
},
|
|
5193
|
+
},
|
|
5194
|
+
{
|
|
5804
5195
|
provide: CompactContextStore
|
|
5805
|
-
}
|
|
5196
|
+
}
|
|
5197
|
+
]
|
|
5806
5198
|
}]
|
|
5807
5199
|
}], ctorParameters: function () { return [{ type: i1$a.NgPopoverRef }, { type: CompactContextStore }, { type: i1$2.DbxRouterTransitionService }, { type: i0.NgZone }]; } });
|
|
5808
5200
|
|
|
@@ -5816,7 +5208,7 @@ class DbxPopoverService {
|
|
|
5816
5208
|
this._overlayContainerService = new NgOverlayContainerService(this._overlay, this._injector);
|
|
5817
5209
|
}
|
|
5818
5210
|
open(config) {
|
|
5819
|
-
const service =
|
|
5211
|
+
const service = config.injector ? new NgOverlayContainerService(this._overlay, config.injector) : this._overlayContainerService;
|
|
5820
5212
|
const configuration = {
|
|
5821
5213
|
panelClass: 'dbx-popover-container',
|
|
5822
5214
|
originX: 'start',
|
|
@@ -5884,25 +5276,25 @@ class DbxPopoverContentComponent {
|
|
|
5884
5276
|
}
|
|
5885
5277
|
DbxPopoverContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5886
5278
|
DbxPopoverContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxPopoverContentComponent, selector: "dbx-popover-content", ngImport: i0, template: `
|
|
5887
|
-
|
|
5888
|
-
|
|
5889
|
-
|
|
5890
|
-
|
|
5279
|
+
<div class="d-block dbx-popover-content" (resized)="onResized($event)" [style.--popoverh]="height$ | async">
|
|
5280
|
+
<ng-content select="[controls]"></ng-content>
|
|
5281
|
+
<div class="dbx-popover-content-container">
|
|
5282
|
+
<ng-content></ng-content>
|
|
5283
|
+
</div>
|
|
5891
5284
|
</div>
|
|
5892
|
-
|
|
5893
|
-
`, isInline: true, directives: [{ type: i1$7.ResizedDirective, selector: "[resized]", outputs: ["resized"] }], pipes: { "async": i3$1.AsyncPipe } });
|
|
5285
|
+
`, isInline: true, directives: [{ type: i1$7.ResizedDirective, selector: "[resized]", outputs: ["resized"] }], pipes: { "async": i3$1.AsyncPipe } });
|
|
5894
5286
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverContentComponent, decorators: [{
|
|
5895
5287
|
type: Component,
|
|
5896
5288
|
args: [{
|
|
5897
5289
|
selector: 'dbx-popover-content',
|
|
5898
5290
|
template: `
|
|
5899
|
-
|
|
5900
|
-
|
|
5901
|
-
|
|
5902
|
-
|
|
5291
|
+
<div class="d-block dbx-popover-content" (resized)="onResized($event)" [style.--popoverh]="height$ | async">
|
|
5292
|
+
<ng-content select="[controls]"></ng-content>
|
|
5293
|
+
<div class="dbx-popover-content-container">
|
|
5294
|
+
<ng-content></ng-content>
|
|
5295
|
+
</div>
|
|
5903
5296
|
</div>
|
|
5904
|
-
|
|
5905
|
-
`
|
|
5297
|
+
`
|
|
5906
5298
|
}]
|
|
5907
5299
|
}] });
|
|
5908
5300
|
|
|
@@ -5918,28 +5310,34 @@ class DbxPopoverHeaderComponent {
|
|
|
5918
5310
|
}
|
|
5919
5311
|
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 });
|
|
5920
5312
|
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: `
|
|
5921
|
-
|
|
5922
|
-
|
|
5923
|
-
|
|
5924
|
-
|
|
5925
|
-
|
|
5313
|
+
<div class="dbx-popover-header">
|
|
5314
|
+
<div class="dbx-popover-header-content">
|
|
5315
|
+
<h3>
|
|
5316
|
+
<mat-icon *ngIf="icon" class="dbx-icon-spacer">{{ icon }}</mat-icon>
|
|
5317
|
+
{{ header }}
|
|
5318
|
+
</h3>
|
|
5319
|
+
<span class="spacer"></span>
|
|
5320
|
+
<ng-content></ng-content>
|
|
5321
|
+
</div>
|
|
5926
5322
|
</div>
|
|
5927
|
-
|
|
5928
|
-
<mat-divider></mat-divider>
|
|
5323
|
+
<mat-divider></mat-divider>
|
|
5929
5324
|
`, 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"] }] });
|
|
5930
5325
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverHeaderComponent, decorators: [{
|
|
5931
5326
|
type: Component,
|
|
5932
5327
|
args: [{
|
|
5933
5328
|
selector: 'dbx-popover-header',
|
|
5934
5329
|
template: `
|
|
5935
|
-
|
|
5936
|
-
|
|
5937
|
-
|
|
5938
|
-
|
|
5939
|
-
|
|
5330
|
+
<div class="dbx-popover-header">
|
|
5331
|
+
<div class="dbx-popover-header-content">
|
|
5332
|
+
<h3>
|
|
5333
|
+
<mat-icon *ngIf="icon" class="dbx-icon-spacer">{{ icon }}</mat-icon>
|
|
5334
|
+
{{ header }}
|
|
5335
|
+
</h3>
|
|
5336
|
+
<span class="spacer"></span>
|
|
5337
|
+
<ng-content></ng-content>
|
|
5338
|
+
</div>
|
|
5940
5339
|
</div>
|
|
5941
|
-
|
|
5942
|
-
<mat-divider></mat-divider>
|
|
5340
|
+
<mat-divider></mat-divider>
|
|
5943
5341
|
`
|
|
5944
5342
|
}]
|
|
5945
5343
|
}], ctorParameters: function () { return [{ type: DbxPopoverContentComponent, decorators: [{
|
|
@@ -5980,14 +5378,18 @@ class DbxPopoverScrollContentComponent {
|
|
|
5980
5378
|
}
|
|
5981
5379
|
}
|
|
5982
5380
|
DbxPopoverScrollContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverScrollContentComponent, deps: [{ token: DbxPopoverContentComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
5983
|
-
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:
|
|
5381
|
+
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: `
|
|
5382
|
+
<ng-content></ng-content>
|
|
5383
|
+
`, isInline: true });
|
|
5984
5384
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverScrollContentComponent, decorators: [{
|
|
5985
5385
|
type: Component,
|
|
5986
5386
|
args: [{
|
|
5987
5387
|
selector: 'dbx-popover-scroll-content',
|
|
5988
|
-
template:
|
|
5388
|
+
template: `
|
|
5389
|
+
<ng-content></ng-content>
|
|
5390
|
+
`,
|
|
5989
5391
|
host: {
|
|
5990
|
-
|
|
5392
|
+
class: 'd-block dbx-popover-scroll-content',
|
|
5991
5393
|
'[class]': 'sizingClasses'
|
|
5992
5394
|
}
|
|
5993
5395
|
}]
|
|
@@ -6147,7 +5549,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
6147
5549
|
args: [{
|
|
6148
5550
|
selector: 'dbx-popover-controls,[dbxPopoverControls],.dbx-popover-controls',
|
|
6149
5551
|
host: {
|
|
6150
|
-
|
|
5552
|
+
class: 'd-block dbx-popover-controls'
|
|
6151
5553
|
}
|
|
6152
5554
|
}]
|
|
6153
5555
|
}], ctorParameters: function () { return [{ type: DbxPopoverContentComponent, decorators: [{
|
|
@@ -6166,7 +5568,7 @@ class DbxActionPopoverDirective extends AbstractDbxActionValueOnTriggerDirective
|
|
|
6166
5568
|
this.isModifiedFunction = isModifiedFunction;
|
|
6167
5569
|
}
|
|
6168
5570
|
_getDataFromPopover() {
|
|
6169
|
-
return this._makePopoverRef().afterClosed$.pipe(first(), map(x => x.data));
|
|
5571
|
+
return this._makePopoverRef().afterClosed$.pipe(first(), map((x) => x.data));
|
|
6170
5572
|
}
|
|
6171
5573
|
_makePopoverRef() {
|
|
6172
5574
|
const origin = this.elementRef;
|
|
@@ -6197,21 +5599,13 @@ class DbxKeypressModule {
|
|
|
6197
5599
|
}
|
|
6198
5600
|
DbxKeypressModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxKeypressModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6199
5601
|
DbxKeypressModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxKeypressModule, declarations: [DbxWindowKeyDownListenerDirective], imports: [CommonModule], exports: [DbxWindowKeyDownListenerDirective] });
|
|
6200
|
-
DbxKeypressModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxKeypressModule, imports: [[
|
|
6201
|
-
CommonModule
|
|
6202
|
-
]] });
|
|
5602
|
+
DbxKeypressModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxKeypressModule, imports: [[CommonModule]] });
|
|
6203
5603
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxKeypressModule, decorators: [{
|
|
6204
5604
|
type: NgModule,
|
|
6205
5605
|
args: [{
|
|
6206
|
-
imports: [
|
|
6207
|
-
|
|
6208
|
-
]
|
|
6209
|
-
declarations: [
|
|
6210
|
-
DbxWindowKeyDownListenerDirective
|
|
6211
|
-
],
|
|
6212
|
-
exports: [
|
|
6213
|
-
DbxWindowKeyDownListenerDirective
|
|
6214
|
-
]
|
|
5606
|
+
imports: [CommonModule],
|
|
5607
|
+
declarations: [DbxWindowKeyDownListenerDirective],
|
|
5608
|
+
exports: [DbxWindowKeyDownListenerDirective]
|
|
6215
5609
|
}]
|
|
6216
5610
|
}] });
|
|
6217
5611
|
|
|
@@ -6239,7 +5633,7 @@ DbxActionKeyTriggerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12
|
|
|
6239
5633
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionKeyTriggerDirective, decorators: [{
|
|
6240
5634
|
type: Directive,
|
|
6241
5635
|
args: [{
|
|
6242
|
-
selector: '[dbxActionKeyTrigger]'
|
|
5636
|
+
selector: '[dbxActionKeyTrigger]'
|
|
6243
5637
|
}]
|
|
6244
5638
|
}], ctorParameters: function () { return [{ type: i1$2.DbxActionContextStoreSourceInstance, decorators: [{
|
|
6245
5639
|
type: Host
|
|
@@ -6254,10 +5648,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
6254
5648
|
class DbxPromptConfirm {
|
|
6255
5649
|
}
|
|
6256
5650
|
function provideDbxPromptConfirm(sourceType) {
|
|
6257
|
-
return [
|
|
5651
|
+
return [
|
|
5652
|
+
{
|
|
6258
5653
|
provide: DbxPromptConfirm,
|
|
6259
5654
|
useExisting: forwardRef(() => sourceType)
|
|
6260
|
-
}
|
|
5655
|
+
}
|
|
5656
|
+
];
|
|
6261
5657
|
}
|
|
6262
5658
|
|
|
6263
5659
|
/**
|
|
@@ -6486,14 +5882,18 @@ class DbxPromptBoxComponent {
|
|
|
6486
5882
|
}
|
|
6487
5883
|
}
|
|
6488
5884
|
DbxPromptBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPromptBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6489
|
-
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:
|
|
5885
|
+
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: `
|
|
5886
|
+
<ng-content></ng-content>
|
|
5887
|
+
`, isInline: true });
|
|
6490
5888
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPromptBoxComponent, decorators: [{
|
|
6491
5889
|
type: Component,
|
|
6492
5890
|
args: [{
|
|
6493
5891
|
selector: 'dbx-prompt-box',
|
|
6494
|
-
template:
|
|
5892
|
+
template: `
|
|
5893
|
+
<ng-content></ng-content>
|
|
5894
|
+
`,
|
|
6495
5895
|
host: {
|
|
6496
|
-
|
|
5896
|
+
class: 'd-block dbx-prompt-box',
|
|
6497
5897
|
'[class.elevated]': 'elevated'
|
|
6498
5898
|
}
|
|
6499
5899
|
}]
|
|
@@ -6523,7 +5923,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
6523
5923
|
</dbx-content-container>
|
|
6524
5924
|
`,
|
|
6525
5925
|
host: {
|
|
6526
|
-
|
|
5926
|
+
class: 'd-block dbx-prompt-page'
|
|
6527
5927
|
}
|
|
6528
5928
|
}]
|
|
6529
5929
|
}] });
|
|
@@ -6536,7 +5936,7 @@ class DbxPromptConfirmButtonDirective {
|
|
|
6536
5936
|
this.appButton = appButton;
|
|
6537
5937
|
this.prompt = prompt;
|
|
6538
5938
|
this.interceptButtonClick = () => {
|
|
6539
|
-
return this.prompt.showDialog().pipe(map(x => Boolean(x)));
|
|
5939
|
+
return this.prompt.showDialog().pipe(map((x) => Boolean(x)));
|
|
6540
5940
|
};
|
|
6541
5941
|
}
|
|
6542
5942
|
ngOnInit() {
|
|
@@ -6548,7 +5948,7 @@ DbxPromptConfirmButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion:
|
|
|
6548
5948
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPromptConfirmButtonDirective, decorators: [{
|
|
6549
5949
|
type: Directive,
|
|
6550
5950
|
args: [{
|
|
6551
|
-
selector: '[dbxPromptConfirmButton]'
|
|
5951
|
+
selector: '[dbxPromptConfirmButton]'
|
|
6552
5952
|
}]
|
|
6553
5953
|
}], ctorParameters: function () { return [{ type: i1$2.DbxButtonDirective, decorators: [{
|
|
6554
5954
|
type: Host
|
|
@@ -6559,68 +5959,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
6559
5959
|
class DbxPromptModule {
|
|
6560
5960
|
}
|
|
6561
5961
|
DbxPromptModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPromptModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6562
|
-
DbxPromptModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPromptModule, declarations: [DbxPromptComponent,
|
|
6563
|
-
|
|
6564
|
-
DbxPromptPageComponent,
|
|
6565
|
-
DbxPromptConfirmComponent,
|
|
6566
|
-
DbxPromptConfirmButtonDirective,
|
|
6567
|
-
DbxPromptConfirmDialogComponent,
|
|
6568
|
-
DbxPromptConfirmDirective], imports: [CommonModule,
|
|
6569
|
-
MatDialogModule,
|
|
6570
|
-
MatButtonModule,
|
|
6571
|
-
DbxTextModule,
|
|
6572
|
-
DbxButtonModule,
|
|
6573
|
-
DbxInjectionComponentModule,
|
|
6574
|
-
DbxDialogInteractionModule,
|
|
6575
|
-
DbxSectionLayoutModule,
|
|
6576
|
-
DbxContentLayoutModule], exports: [DbxPromptComponent,
|
|
6577
|
-
DbxPromptBoxComponent,
|
|
6578
|
-
DbxPromptPageComponent,
|
|
6579
|
-
DbxPromptConfirmComponent,
|
|
6580
|
-
DbxPromptConfirmButtonDirective,
|
|
6581
|
-
DbxPromptConfirmDirective] });
|
|
6582
|
-
DbxPromptModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPromptModule, imports: [[
|
|
6583
|
-
CommonModule,
|
|
6584
|
-
MatDialogModule,
|
|
6585
|
-
MatButtonModule,
|
|
6586
|
-
DbxTextModule,
|
|
6587
|
-
DbxButtonModule,
|
|
6588
|
-
DbxInjectionComponentModule,
|
|
6589
|
-
DbxDialogInteractionModule,
|
|
6590
|
-
DbxSectionLayoutModule,
|
|
6591
|
-
DbxContentLayoutModule
|
|
6592
|
-
]] });
|
|
5962
|
+
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] });
|
|
5963
|
+
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]] });
|
|
6593
5964
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPromptModule, decorators: [{
|
|
6594
5965
|
type: NgModule,
|
|
6595
5966
|
args: [{
|
|
6596
|
-
imports: [
|
|
6597
|
-
|
|
6598
|
-
|
|
6599
|
-
MatButtonModule,
|
|
6600
|
-
DbxTextModule,
|
|
6601
|
-
DbxButtonModule,
|
|
6602
|
-
DbxInjectionComponentModule,
|
|
6603
|
-
DbxDialogInteractionModule,
|
|
6604
|
-
DbxSectionLayoutModule,
|
|
6605
|
-
DbxContentLayoutModule
|
|
6606
|
-
],
|
|
6607
|
-
declarations: [
|
|
6608
|
-
DbxPromptComponent,
|
|
6609
|
-
DbxPromptBoxComponent,
|
|
6610
|
-
DbxPromptPageComponent,
|
|
6611
|
-
DbxPromptConfirmComponent,
|
|
6612
|
-
DbxPromptConfirmButtonDirective,
|
|
6613
|
-
DbxPromptConfirmDialogComponent,
|
|
6614
|
-
DbxPromptConfirmDirective,
|
|
6615
|
-
],
|
|
6616
|
-
exports: [
|
|
6617
|
-
DbxPromptComponent,
|
|
6618
|
-
DbxPromptBoxComponent,
|
|
6619
|
-
DbxPromptPageComponent,
|
|
6620
|
-
DbxPromptConfirmComponent,
|
|
6621
|
-
DbxPromptConfirmButtonDirective,
|
|
6622
|
-
DbxPromptConfirmDirective,
|
|
6623
|
-
],
|
|
5967
|
+
imports: [CommonModule, MatDialogModule, MatButtonModule, DbxTextModule, DbxButtonModule, DbxInjectionComponentModule, DbxDialogInteractionModule, DbxSectionLayoutModule, DbxContentLayoutModule],
|
|
5968
|
+
declarations: [DbxPromptComponent, DbxPromptBoxComponent, DbxPromptPageComponent, DbxPromptConfirmComponent, DbxPromptConfirmButtonDirective, DbxPromptConfirmDialogComponent, DbxPromptConfirmDirective],
|
|
5969
|
+
exports: [DbxPromptComponent, DbxPromptBoxComponent, DbxPromptPageComponent, DbxPromptConfirmComponent, DbxPromptConfirmButtonDirective, DbxPromptConfirmDirective]
|
|
6624
5970
|
}]
|
|
6625
5971
|
}] });
|
|
6626
5972
|
|
|
@@ -6643,133 +5989,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
6643
5989
|
class DbxActionModule {
|
|
6644
5990
|
}
|
|
6645
5991
|
DbxActionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6646
|
-
DbxActionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionModule, declarations: [DbxActionKeyTriggerDirective,
|
|
6647
|
-
|
|
6648
|
-
DbxActionProgressComponent], imports: [CommonModule,
|
|
6649
|
-
DbxCoreActionModule,
|
|
6650
|
-
DbxButtonModule,
|
|
6651
|
-
DbxLoadingModule,
|
|
6652
|
-
MatSnackBarModule,
|
|
6653
|
-
MatDialogModule,
|
|
6654
|
-
MatButtonModule,
|
|
6655
|
-
DbxPromptModule], exports: [DbxCoreActionModule,
|
|
6656
|
-
DbxActionKeyTriggerDirective,
|
|
6657
|
-
DbxActionConfirmDirective,
|
|
6658
|
-
DbxActionProgressComponent] });
|
|
6659
|
-
DbxActionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionModule, imports: [[
|
|
6660
|
-
CommonModule,
|
|
6661
|
-
DbxCoreActionModule,
|
|
6662
|
-
DbxButtonModule,
|
|
6663
|
-
DbxLoadingModule,
|
|
6664
|
-
MatSnackBarModule,
|
|
6665
|
-
MatDialogModule,
|
|
6666
|
-
MatButtonModule,
|
|
6667
|
-
DbxPromptModule,
|
|
6668
|
-
], DbxCoreActionModule] });
|
|
5992
|
+
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] });
|
|
5993
|
+
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] });
|
|
6669
5994
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionModule, decorators: [{
|
|
6670
5995
|
type: NgModule,
|
|
6671
5996
|
args: [{
|
|
6672
|
-
imports: [
|
|
6673
|
-
|
|
6674
|
-
|
|
6675
|
-
DbxButtonModule,
|
|
6676
|
-
DbxLoadingModule,
|
|
6677
|
-
MatSnackBarModule,
|
|
6678
|
-
MatDialogModule,
|
|
6679
|
-
MatButtonModule,
|
|
6680
|
-
DbxPromptModule,
|
|
6681
|
-
],
|
|
6682
|
-
declarations: [
|
|
6683
|
-
DbxActionKeyTriggerDirective,
|
|
6684
|
-
DbxActionConfirmDirective,
|
|
6685
|
-
DbxActionProgressComponent,
|
|
6686
|
-
],
|
|
6687
|
-
exports: [
|
|
6688
|
-
DbxCoreActionModule,
|
|
6689
|
-
DbxActionKeyTriggerDirective,
|
|
6690
|
-
DbxActionConfirmDirective,
|
|
6691
|
-
DbxActionProgressComponent,
|
|
6692
|
-
]
|
|
5997
|
+
imports: [CommonModule, DbxCoreActionModule, DbxButtonModule, DbxLoadingModule, MatSnackBarModule, MatDialogModule, MatButtonModule, DbxPromptModule],
|
|
5998
|
+
declarations: [DbxActionKeyTriggerDirective, DbxActionConfirmDirective, DbxActionProgressComponent],
|
|
5999
|
+
exports: [DbxCoreActionModule, DbxActionKeyTriggerDirective, DbxActionConfirmDirective, DbxActionProgressComponent]
|
|
6693
6000
|
}]
|
|
6694
6001
|
}] });
|
|
6695
6002
|
|
|
6696
6003
|
class DbxPopoverInteractionModule {
|
|
6697
6004
|
}
|
|
6698
6005
|
DbxPopoverInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverInteractionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6699
|
-
DbxPopoverInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverInteractionModule, declarations: [DbxActionPopoverDirective,
|
|
6700
|
-
|
|
6701
|
-
DbxPopoverCoordinatorComponent,
|
|
6702
|
-
DbxPopoverContentComponent,
|
|
6703
|
-
DbxPopoverControlsDirective,
|
|
6704
|
-
DbxPopoverHeaderComponent,
|
|
6705
|
-
DbxPopoverScrollContentComponent], imports: [CommonModule,
|
|
6706
|
-
MatIconModule,
|
|
6707
|
-
MatButtonModule,
|
|
6708
|
-
MatDividerModule,
|
|
6709
|
-
DbxButtonModule,
|
|
6710
|
-
DbxRouterAnchorModule,
|
|
6711
|
-
DbxActionModule,
|
|
6712
|
-
DbxKeypressModule,
|
|
6713
|
-
DbxStyleLayoutModule,
|
|
6714
|
-
DbxInjectionComponentModule,
|
|
6715
|
-
NgOverlayContainerModule,
|
|
6716
|
-
AngularResizeEventModule], exports: [DbxActionPopoverDirective,
|
|
6717
|
-
DbxPopoverContentComponent,
|
|
6718
|
-
DbxPopoverControlsDirective,
|
|
6719
|
-
DbxPopoverHeaderComponent,
|
|
6720
|
-
DbxPopoverScrollContentComponent] });
|
|
6721
|
-
DbxPopoverInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverInteractionModule, providers: [
|
|
6722
|
-
DbxPopoverService
|
|
6723
|
-
], imports: [[
|
|
6724
|
-
CommonModule,
|
|
6725
|
-
MatIconModule,
|
|
6726
|
-
MatButtonModule,
|
|
6727
|
-
MatDividerModule,
|
|
6728
|
-
DbxButtonModule,
|
|
6729
|
-
DbxRouterAnchorModule,
|
|
6730
|
-
DbxActionModule,
|
|
6731
|
-
DbxKeypressModule,
|
|
6732
|
-
DbxStyleLayoutModule,
|
|
6733
|
-
DbxInjectionComponentModule,
|
|
6734
|
-
NgOverlayContainerModule,
|
|
6735
|
-
AngularResizeEventModule
|
|
6736
|
-
]] });
|
|
6006
|
+
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] });
|
|
6007
|
+
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]] });
|
|
6737
6008
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverInteractionModule, decorators: [{
|
|
6738
6009
|
type: NgModule,
|
|
6739
6010
|
args: [{
|
|
6740
|
-
imports: [
|
|
6741
|
-
|
|
6742
|
-
|
|
6743
|
-
|
|
6744
|
-
MatDividerModule,
|
|
6745
|
-
DbxButtonModule,
|
|
6746
|
-
DbxRouterAnchorModule,
|
|
6747
|
-
DbxActionModule,
|
|
6748
|
-
DbxKeypressModule,
|
|
6749
|
-
DbxStyleLayoutModule,
|
|
6750
|
-
DbxInjectionComponentModule,
|
|
6751
|
-
NgOverlayContainerModule,
|
|
6752
|
-
AngularResizeEventModule
|
|
6753
|
-
],
|
|
6754
|
-
declarations: [
|
|
6755
|
-
DbxActionPopoverDirective,
|
|
6756
|
-
DbxPopoverComponent,
|
|
6757
|
-
DbxPopoverCoordinatorComponent,
|
|
6758
|
-
DbxPopoverContentComponent,
|
|
6759
|
-
DbxPopoverControlsDirective,
|
|
6760
|
-
DbxPopoverHeaderComponent,
|
|
6761
|
-
DbxPopoverScrollContentComponent
|
|
6762
|
-
],
|
|
6763
|
-
exports: [
|
|
6764
|
-
DbxActionPopoverDirective,
|
|
6765
|
-
DbxPopoverContentComponent,
|
|
6766
|
-
DbxPopoverControlsDirective,
|
|
6767
|
-
DbxPopoverHeaderComponent,
|
|
6768
|
-
DbxPopoverScrollContentComponent
|
|
6769
|
-
],
|
|
6770
|
-
providers: [
|
|
6771
|
-
DbxPopoverService
|
|
6772
|
-
]
|
|
6011
|
+
imports: [CommonModule, MatIconModule, MatButtonModule, MatDividerModule, DbxButtonModule, DbxRouterAnchorModule, DbxActionModule, DbxKeypressModule, DbxStyleLayoutModule, DbxInjectionComponentModule, NgOverlayContainerModule, AngularResizeEventModule],
|
|
6012
|
+
declarations: [DbxActionPopoverDirective, DbxPopoverComponent, DbxPopoverCoordinatorComponent, DbxPopoverContentComponent, DbxPopoverControlsDirective, DbxPopoverHeaderComponent, DbxPopoverScrollContentComponent],
|
|
6013
|
+
exports: [DbxActionPopoverDirective, DbxPopoverContentComponent, DbxPopoverControlsDirective, DbxPopoverHeaderComponent, DbxPopoverScrollContentComponent],
|
|
6014
|
+
providers: [DbxPopoverService]
|
|
6773
6015
|
}]
|
|
6774
6016
|
}] });
|
|
6775
6017
|
|
|
@@ -6804,18 +6046,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
6804
6046
|
class DbxFilterInteractionModule {
|
|
6805
6047
|
}
|
|
6806
6048
|
DbxFilterInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFilterInteractionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6807
|
-
DbxFilterInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFilterInteractionModule, declarations: [DbxFilterPopoverComponent,
|
|
6808
|
-
DbxFilterPopoverButtonComponent,
|
|
6809
|
-
DbxFilterWrapperComponent], imports: [CommonModule,
|
|
6049
|
+
DbxFilterInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFilterInteractionModule, declarations: [DbxFilterPopoverComponent, DbxFilterPopoverButtonComponent, DbxFilterWrapperComponent], imports: [CommonModule,
|
|
6810
6050
|
DbxPopoverInteractionModule,
|
|
6811
6051
|
DbxCoreFilterModule,
|
|
6812
6052
|
DbxInjectionComponentModule,
|
|
6813
6053
|
FlexLayoutModule,
|
|
6814
6054
|
// Material
|
|
6815
6055
|
MatIconModule,
|
|
6816
|
-
MatButtonModule], exports: [DbxCoreFilterModule,
|
|
6817
|
-
DbxFilterPopoverButtonComponent,
|
|
6818
|
-
DbxFilterWrapperComponent] });
|
|
6056
|
+
MatButtonModule], exports: [DbxCoreFilterModule, DbxFilterPopoverButtonComponent, DbxFilterWrapperComponent] });
|
|
6819
6057
|
DbxFilterInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxFilterInteractionModule, imports: [[
|
|
6820
6058
|
CommonModule,
|
|
6821
6059
|
DbxPopoverInteractionModule,
|
|
@@ -6839,16 +6077,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
6839
6077
|
MatIconModule,
|
|
6840
6078
|
MatButtonModule
|
|
6841
6079
|
],
|
|
6842
|
-
declarations: [
|
|
6843
|
-
|
|
6844
|
-
DbxFilterPopoverButtonComponent,
|
|
6845
|
-
DbxFilterWrapperComponent,
|
|
6846
|
-
],
|
|
6847
|
-
exports: [
|
|
6848
|
-
DbxCoreFilterModule,
|
|
6849
|
-
DbxFilterPopoverButtonComponent,
|
|
6850
|
-
DbxFilterWrapperComponent,
|
|
6851
|
-
]
|
|
6080
|
+
declarations: [DbxFilterPopoverComponent, DbxFilterPopoverButtonComponent, DbxFilterWrapperComponent],
|
|
6081
|
+
exports: [DbxCoreFilterModule, DbxFilterPopoverButtonComponent, DbxFilterWrapperComponent]
|
|
6852
6082
|
}]
|
|
6853
6083
|
}] });
|
|
6854
6084
|
|
|
@@ -7011,7 +6241,7 @@ class DbxPopupCoordinatorComponent {
|
|
|
7011
6241
|
constructor(service, popup) {
|
|
7012
6242
|
this.service = service;
|
|
7013
6243
|
this.popup = popup;
|
|
7014
|
-
this.isPopupForKey$ = this.service.popups$.pipe(map(x => x.get(this.popup.key) === this.popup), shareReplay(1));
|
|
6244
|
+
this.isPopupForKey$ = this.service.popups$.pipe(map((x) => x.get(this.popup.key) === this.popup), shareReplay(1));
|
|
7015
6245
|
this.show$ = this.isPopupForKey$.pipe(delay(0));
|
|
7016
6246
|
}
|
|
7017
6247
|
ngOnInit() {
|
|
@@ -7023,18 +6253,18 @@ class DbxPopupCoordinatorComponent {
|
|
|
7023
6253
|
}
|
|
7024
6254
|
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 });
|
|
7025
6255
|
DbxPopupCoordinatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxPopupCoordinatorComponent, selector: "dbx-popup-coordinator", ngImport: i0, template: `
|
|
7026
|
-
|
|
7027
|
-
|
|
7028
|
-
|
|
6256
|
+
<ng-container *ngIf="show$ | async">
|
|
6257
|
+
<ng-content></ng-content>
|
|
6258
|
+
</ng-container>
|
|
7029
6259
|
`, isInline: true, directives: [{ type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i3$1.AsyncPipe } });
|
|
7030
6260
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopupCoordinatorComponent, decorators: [{
|
|
7031
6261
|
type: Component,
|
|
7032
6262
|
args: [{
|
|
7033
6263
|
selector: 'dbx-popup-coordinator',
|
|
7034
6264
|
template: `
|
|
7035
|
-
|
|
7036
|
-
|
|
7037
|
-
|
|
6265
|
+
<ng-container *ngIf="show$ | async">
|
|
6266
|
+
<ng-content></ng-content>
|
|
6267
|
+
</ng-container>
|
|
7038
6268
|
`
|
|
7039
6269
|
}]
|
|
7040
6270
|
}], ctorParameters: function () { return [{ type: DbxPopupCoordinatorService }, { type: DbxPopupController }]; } });
|
|
@@ -7054,11 +6284,11 @@ class DbxPopupComponent extends AbstractTransitionWatcherDirective {
|
|
|
7054
6284
|
this.compactContextState = compactContextState;
|
|
7055
6285
|
this.contentConfig = {
|
|
7056
6286
|
componentClass: this.config.componentClass,
|
|
7057
|
-
init: this.config.init ? (
|
|
6287
|
+
init: this.config.init ? (instance) => this.config.init(instance, this) : undefined
|
|
7058
6288
|
};
|
|
7059
6289
|
this.closing = new Subject();
|
|
7060
6290
|
this.isClosing$ = this.closing.pipe(first(), map(() => true), startWith(false), shareReplay(1));
|
|
7061
|
-
this.closing$ = this.isClosing$.pipe(filter(x => x));
|
|
6291
|
+
this.closing$ = this.isClosing$.pipe(filter((x) => x));
|
|
7062
6292
|
this._windowState = new BehaviorSubject(DbxPopupWindowState.NORMAL);
|
|
7063
6293
|
this.windowState$ = this._windowState.asObservable();
|
|
7064
6294
|
this.compactContextState.setMode(CompactMode.COMPACT);
|
|
@@ -7122,30 +6352,36 @@ class DbxPopupComponent extends AbstractTransitionWatcherDirective {
|
|
|
7122
6352
|
}
|
|
7123
6353
|
}
|
|
7124
6354
|
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 });
|
|
7125
|
-
DbxPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxPopupComponent, selector: "ng-component", providers: [
|
|
6355
|
+
DbxPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxPopupComponent, selector: "ng-component", providers: [
|
|
6356
|
+
{
|
|
7126
6357
|
provide: DbxPopupController,
|
|
7127
6358
|
useExisting: DbxPopupComponent
|
|
7128
|
-
},
|
|
6359
|
+
},
|
|
6360
|
+
{
|
|
7129
6361
|
provide: CompactContextStore
|
|
7130
|
-
}
|
|
7131
|
-
|
|
7132
|
-
<
|
|
7133
|
-
|
|
6362
|
+
}
|
|
6363
|
+
], usesInheritance: true, ngImport: i0, template: `
|
|
6364
|
+
<dbx-popup-coordinator>
|
|
6365
|
+
<div class="dbx-popup-component" dbx-injection [config]="contentConfig"></div>
|
|
6366
|
+
</dbx-popup-coordinator>
|
|
7134
6367
|
`, isInline: true, components: [{ type: DbxPopupCoordinatorComponent, selector: "dbx-popup-coordinator" }, { type: i1$2.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }] });
|
|
7135
6368
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopupComponent, decorators: [{
|
|
7136
6369
|
type: Component,
|
|
7137
6370
|
args: [{
|
|
7138
6371
|
template: `
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
|
|
6372
|
+
<dbx-popup-coordinator>
|
|
6373
|
+
<div class="dbx-popup-component" dbx-injection [config]="contentConfig"></div>
|
|
6374
|
+
</dbx-popup-coordinator>
|
|
7142
6375
|
`,
|
|
7143
|
-
providers: [
|
|
6376
|
+
providers: [
|
|
6377
|
+
{
|
|
7144
6378
|
provide: DbxPopupController,
|
|
7145
6379
|
useExisting: DbxPopupComponent
|
|
7146
|
-
},
|
|
6380
|
+
},
|
|
6381
|
+
{
|
|
7147
6382
|
provide: CompactContextStore
|
|
7148
|
-
}
|
|
6383
|
+
}
|
|
6384
|
+
]
|
|
7149
6385
|
}]
|
|
7150
6386
|
}], ctorParameters: function () { return [{ type: i1$a.NgPopoverRef }, { type: CompactContextStore }, { type: i1$2.DbxRouterTransitionService }, { type: i0.NgZone }]; } });
|
|
7151
6387
|
|
|
@@ -7172,7 +6408,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
7172
6408
|
class DbxPopupContentComponent {
|
|
7173
6409
|
constructor(appPopupController) {
|
|
7174
6410
|
this.appPopupController = appPopupController;
|
|
7175
|
-
this.showContent$ = this.appPopupController.windowState$.pipe(map(x => x !== DbxPopupWindowState.MINIMIZED));
|
|
6411
|
+
this.showContent$ = this.appPopupController.windowState$.pipe(map((x) => x !== DbxPopupWindowState.MINIMIZED));
|
|
7176
6412
|
}
|
|
7177
6413
|
}
|
|
7178
6414
|
DbxPopupContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopupContentComponent, deps: [{ token: DbxPopupController }], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -7193,7 +6429,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
7193
6429
|
</div>
|
|
7194
6430
|
`,
|
|
7195
6431
|
host: {
|
|
7196
|
-
|
|
6432
|
+
class: 'dbx-popup-content'
|
|
7197
6433
|
}
|
|
7198
6434
|
}]
|
|
7199
6435
|
}], ctorParameters: function () { return [{ type: DbxPopupController }]; } });
|
|
@@ -7204,8 +6440,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
7204
6440
|
class DbxPopupControlButtonsComponent {
|
|
7205
6441
|
constructor(appPopupController) {
|
|
7206
6442
|
this.appPopupController = appPopupController;
|
|
7207
|
-
this.isMinimized$ = this.appPopupController.windowState$.pipe(map(x => x === DbxPopupWindowState.MINIMIZED));
|
|
7208
|
-
this.isFullscreen$ = this.appPopupController.windowState$.pipe(map(x => x === DbxPopupWindowState.FULLSCREEN));
|
|
6443
|
+
this.isMinimized$ = this.appPopupController.windowState$.pipe(map((x) => x === DbxPopupWindowState.MINIMIZED));
|
|
6444
|
+
this.isFullscreen$ = this.appPopupController.windowState$.pipe(map((x) => x === DbxPopupWindowState.FULLSCREEN));
|
|
7209
6445
|
}
|
|
7210
6446
|
minimizeClicked() {
|
|
7211
6447
|
this.appPopupController.minimize();
|
|
@@ -7255,7 +6491,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
7255
6491
|
<dbx-button [flat]="true" icon="close" color="warn" (buttonClick)="closeClicked()"></dbx-button>
|
|
7256
6492
|
`,
|
|
7257
6493
|
host: {
|
|
7258
|
-
|
|
6494
|
+
class: 'dbx-popup-control-buttons'
|
|
7259
6495
|
}
|
|
7260
6496
|
}]
|
|
7261
6497
|
}], ctorParameters: function () { return [{ type: DbxPopupController }]; } });
|
|
@@ -7281,7 +6517,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
7281
6517
|
<dbx-popup-control-buttons></dbx-popup-control-buttons>
|
|
7282
6518
|
`,
|
|
7283
6519
|
host: {
|
|
7284
|
-
|
|
6520
|
+
class: 'dbx-popup-controls'
|
|
7285
6521
|
}
|
|
7286
6522
|
}]
|
|
7287
6523
|
}], propDecorators: { header: [{
|
|
@@ -7298,7 +6534,7 @@ class DbxPopupService {
|
|
|
7298
6534
|
this._overlayContainerService = new NgOverlayContainerService(this._overlay, this._injector);
|
|
7299
6535
|
}
|
|
7300
6536
|
open(config) {
|
|
7301
|
-
const service =
|
|
6537
|
+
const service = config.injector ? new NgOverlayContainerService(this._overlay, config.injector) : this._overlayContainerService;
|
|
7302
6538
|
const isDraggable = config.isDraggable ?? false;
|
|
7303
6539
|
const position = config.position ?? 'bottom_right';
|
|
7304
6540
|
return service.open({
|
|
@@ -7328,130 +6564,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
7328
6564
|
class DbxPopupInteractionModule {
|
|
7329
6565
|
}
|
|
7330
6566
|
DbxPopupInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopupInteractionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7331
|
-
DbxPopupInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopupInteractionModule, declarations: [DbxPopupComponent,
|
|
7332
|
-
|
|
7333
|
-
DbxPopupContentComponent,
|
|
7334
|
-
DbxPopupControlsComponent,
|
|
7335
|
-
DbxPopupControlButtonsComponent], imports: [CommonModule,
|
|
7336
|
-
MatIconModule,
|
|
7337
|
-
MatButtonModule,
|
|
7338
|
-
DbxButtonModule,
|
|
7339
|
-
DbxRouterAnchorModule,
|
|
7340
|
-
DbxActionModule,
|
|
7341
|
-
DbxStyleLayoutModule,
|
|
7342
|
-
DbxInjectionComponentModule,
|
|
7343
|
-
NgOverlayContainerModule], exports: [DbxPopupContentComponent,
|
|
7344
|
-
DbxPopupControlsComponent,
|
|
7345
|
-
DbxPopupControlButtonsComponent] });
|
|
7346
|
-
DbxPopupInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopupInteractionModule, providers: [
|
|
7347
|
-
DbxPopupService
|
|
7348
|
-
], imports: [[
|
|
7349
|
-
CommonModule,
|
|
7350
|
-
MatIconModule,
|
|
7351
|
-
MatButtonModule,
|
|
7352
|
-
DbxButtonModule,
|
|
7353
|
-
DbxRouterAnchorModule,
|
|
7354
|
-
DbxActionModule,
|
|
7355
|
-
DbxStyleLayoutModule,
|
|
7356
|
-
DbxInjectionComponentModule,
|
|
7357
|
-
NgOverlayContainerModule,
|
|
7358
|
-
]] });
|
|
6567
|
+
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] });
|
|
6568
|
+
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]] });
|
|
7359
6569
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopupInteractionModule, decorators: [{
|
|
7360
6570
|
type: NgModule,
|
|
7361
6571
|
args: [{
|
|
7362
|
-
imports: [
|
|
7363
|
-
|
|
7364
|
-
|
|
7365
|
-
|
|
7366
|
-
DbxButtonModule,
|
|
7367
|
-
DbxRouterAnchorModule,
|
|
7368
|
-
DbxActionModule,
|
|
7369
|
-
DbxStyleLayoutModule,
|
|
7370
|
-
DbxInjectionComponentModule,
|
|
7371
|
-
NgOverlayContainerModule,
|
|
7372
|
-
],
|
|
7373
|
-
declarations: [
|
|
7374
|
-
DbxPopupComponent,
|
|
7375
|
-
DbxPopupCoordinatorComponent,
|
|
7376
|
-
DbxPopupContentComponent,
|
|
7377
|
-
DbxPopupControlsComponent,
|
|
7378
|
-
DbxPopupControlButtonsComponent
|
|
7379
|
-
],
|
|
7380
|
-
exports: [
|
|
7381
|
-
DbxPopupContentComponent,
|
|
7382
|
-
DbxPopupControlsComponent,
|
|
7383
|
-
DbxPopupControlButtonsComponent
|
|
7384
|
-
],
|
|
7385
|
-
providers: [
|
|
7386
|
-
DbxPopupService
|
|
7387
|
-
]
|
|
6572
|
+
imports: [CommonModule, MatIconModule, MatButtonModule, DbxButtonModule, DbxRouterAnchorModule, DbxActionModule, DbxStyleLayoutModule, DbxInjectionComponentModule, NgOverlayContainerModule],
|
|
6573
|
+
declarations: [DbxPopupComponent, DbxPopupCoordinatorComponent, DbxPopupContentComponent, DbxPopupControlsComponent, DbxPopupControlButtonsComponent],
|
|
6574
|
+
exports: [DbxPopupContentComponent, DbxPopupControlsComponent, DbxPopupControlButtonsComponent],
|
|
6575
|
+
providers: [DbxPopupService]
|
|
7388
6576
|
}]
|
|
7389
6577
|
}] });
|
|
7390
6578
|
|
|
7391
6579
|
class DbxInteractionModule {
|
|
7392
6580
|
}
|
|
7393
6581
|
DbxInteractionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxInteractionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7394
|
-
DbxInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxInteractionModule, exports: [DbxDialogInteractionModule,
|
|
7395
|
-
|
|
7396
|
-
DbxPromptModule,
|
|
7397
|
-
DbxPopoverInteractionModule,
|
|
7398
|
-
DbxPopupInteractionModule] });
|
|
7399
|
-
DbxInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxInteractionModule, imports: [DbxDialogInteractionModule,
|
|
7400
|
-
DbxFilterInteractionModule,
|
|
7401
|
-
DbxPromptModule,
|
|
7402
|
-
DbxPopoverInteractionModule,
|
|
7403
|
-
DbxPopupInteractionModule] });
|
|
6582
|
+
DbxInteractionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxInteractionModule, exports: [DbxDialogInteractionModule, DbxFilterInteractionModule, DbxPromptModule, DbxPopoverInteractionModule, DbxPopupInteractionModule] });
|
|
6583
|
+
DbxInteractionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxInteractionModule, imports: [DbxDialogInteractionModule, DbxFilterInteractionModule, DbxPromptModule, DbxPopoverInteractionModule, DbxPopupInteractionModule] });
|
|
7404
6584
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxInteractionModule, decorators: [{
|
|
7405
6585
|
type: NgModule,
|
|
7406
6586
|
args: [{
|
|
7407
|
-
exports: [
|
|
7408
|
-
DbxDialogInteractionModule,
|
|
7409
|
-
DbxFilterInteractionModule,
|
|
7410
|
-
DbxPromptModule,
|
|
7411
|
-
DbxPopoverInteractionModule,
|
|
7412
|
-
DbxPopupInteractionModule
|
|
7413
|
-
],
|
|
6587
|
+
exports: [DbxDialogInteractionModule, DbxFilterInteractionModule, DbxPromptModule, DbxPopoverInteractionModule, DbxPopupInteractionModule]
|
|
7414
6588
|
}]
|
|
7415
6589
|
}] });
|
|
7416
6590
|
|
|
7417
6591
|
class DbxActionSnackbarModule {
|
|
7418
6592
|
}
|
|
7419
6593
|
DbxActionSnackbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionSnackbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7420
|
-
DbxActionSnackbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionSnackbarModule, declarations: [DbxActionSnackbarComponent,
|
|
7421
|
-
|
|
7422
|
-
DbxStyleLayoutModule,
|
|
7423
|
-
DbxCoreActionModule,
|
|
7424
|
-
DbxPromptModule,
|
|
7425
|
-
DbxButtonModule,
|
|
7426
|
-
DbxReadableErrorModule], exports: [DbxActionSnackbarComponent,
|
|
7427
|
-
DbxActionSnackbarDirective] });
|
|
7428
|
-
DbxActionSnackbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionSnackbarModule, imports: [[
|
|
7429
|
-
CommonModule,
|
|
7430
|
-
DbxStyleLayoutModule,
|
|
7431
|
-
DbxCoreActionModule,
|
|
7432
|
-
DbxPromptModule,
|
|
7433
|
-
DbxButtonModule,
|
|
7434
|
-
DbxReadableErrorModule
|
|
7435
|
-
]] });
|
|
6594
|
+
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] });
|
|
6595
|
+
DbxActionSnackbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionSnackbarModule, imports: [[CommonModule, DbxStyleLayoutModule, DbxCoreActionModule, DbxPromptModule, DbxButtonModule, DbxReadableErrorModule]] });
|
|
7436
6596
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionSnackbarModule, decorators: [{
|
|
7437
6597
|
type: NgModule,
|
|
7438
6598
|
args: [{
|
|
7439
|
-
imports: [
|
|
7440
|
-
|
|
7441
|
-
|
|
7442
|
-
DbxCoreActionModule,
|
|
7443
|
-
DbxPromptModule,
|
|
7444
|
-
DbxButtonModule,
|
|
7445
|
-
DbxReadableErrorModule
|
|
7446
|
-
],
|
|
7447
|
-
declarations: [
|
|
7448
|
-
DbxActionSnackbarComponent,
|
|
7449
|
-
DbxActionSnackbarDirective
|
|
7450
|
-
],
|
|
7451
|
-
exports: [
|
|
7452
|
-
DbxActionSnackbarComponent,
|
|
7453
|
-
DbxActionSnackbarDirective
|
|
7454
|
-
]
|
|
6599
|
+
imports: [CommonModule, DbxStyleLayoutModule, DbxCoreActionModule, DbxPromptModule, DbxButtonModule, DbxReadableErrorModule],
|
|
6600
|
+
declarations: [DbxActionSnackbarComponent, DbxActionSnackbarDirective],
|
|
6601
|
+
exports: [DbxActionSnackbarComponent, DbxActionSnackbarDirective]
|
|
7455
6602
|
}]
|
|
7456
6603
|
}] });
|
|
7457
6604
|
|
|
@@ -7541,7 +6688,8 @@ class DbxActionTransitionSafetyDirective {
|
|
|
7541
6688
|
this._closeDialog();
|
|
7542
6689
|
}
|
|
7543
6690
|
_handleOnBeforeTransition(transition) {
|
|
7544
|
-
return this.source.isModified
|
|
6691
|
+
return this.source.isModified$
|
|
6692
|
+
.pipe(first(), mergeMap((isModified) => {
|
|
7545
6693
|
if (isModified) {
|
|
7546
6694
|
return race([
|
|
7547
6695
|
// Watch for success to occur. At that point, close everything.
|
|
@@ -7561,7 +6709,9 @@ class DbxActionTransitionSafetyDirective {
|
|
|
7561
6709
|
else {
|
|
7562
6710
|
return of(true);
|
|
7563
6711
|
}
|
|
7564
|
-
}))
|
|
6712
|
+
}))
|
|
6713
|
+
.toPromise()
|
|
6714
|
+
.then((x) => x); // Resolve/Flatten potential promise result.
|
|
7565
6715
|
}
|
|
7566
6716
|
_handleIsModifiedState(transition) {
|
|
7567
6717
|
const safetyType = this.safetyType;
|
|
@@ -7628,7 +6778,7 @@ DbxActionTransitionSafetyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersio
|
|
|
7628
6778
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionTransitionSafetyDirective, decorators: [{
|
|
7629
6779
|
type: Directive,
|
|
7630
6780
|
args: [{
|
|
7631
|
-
selector: '[dbxActionTransitionSafety]'
|
|
6781
|
+
selector: '[dbxActionTransitionSafety]'
|
|
7632
6782
|
}]
|
|
7633
6783
|
}], ctorParameters: function () { return [{ type: i1$2.DbxActionContextStoreSourceInstance }, { type: i2$2.TransitionService }, { type: i0.ViewContainerRef }, { type: i1$3.MatDialog }]; }, propDecorators: { inputSafetyType: [{
|
|
7634
6784
|
type: Input,
|
|
@@ -7643,56 +6793,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
7643
6793
|
class DbxActionUIRouterTransitionModule {
|
|
7644
6794
|
}
|
|
7645
6795
|
DbxActionUIRouterTransitionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionUIRouterTransitionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7646
|
-
DbxActionUIRouterTransitionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionUIRouterTransitionModule, declarations: [DbxActionTransitionSafetyDirective,
|
|
7647
|
-
|
|
7648
|
-
DbxCoreActionModule,
|
|
7649
|
-
DbxPromptModule,
|
|
7650
|
-
DbxButtonModule,
|
|
7651
|
-
DbxReadableErrorModule], exports: [DbxActionTransitionSafetyDirective] });
|
|
7652
|
-
DbxActionUIRouterTransitionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionUIRouterTransitionModule, imports: [[
|
|
7653
|
-
CommonModule,
|
|
7654
|
-
DbxCoreActionModule,
|
|
7655
|
-
DbxPromptModule,
|
|
7656
|
-
DbxButtonModule,
|
|
7657
|
-
DbxReadableErrorModule
|
|
7658
|
-
]] });
|
|
6796
|
+
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] });
|
|
6797
|
+
DbxActionUIRouterTransitionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionUIRouterTransitionModule, imports: [[CommonModule, DbxCoreActionModule, DbxPromptModule, DbxButtonModule, DbxReadableErrorModule]] });
|
|
7659
6798
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionUIRouterTransitionModule, decorators: [{
|
|
7660
6799
|
type: NgModule,
|
|
7661
6800
|
args: [{
|
|
7662
|
-
imports: [
|
|
7663
|
-
|
|
7664
|
-
|
|
7665
|
-
DbxPromptModule,
|
|
7666
|
-
DbxButtonModule,
|
|
7667
|
-
DbxReadableErrorModule
|
|
7668
|
-
],
|
|
7669
|
-
declarations: [
|
|
7670
|
-
DbxActionTransitionSafetyDirective,
|
|
7671
|
-
DbxActionUIRouterTransitionSafetyDialogComponent
|
|
7672
|
-
],
|
|
7673
|
-
exports: [
|
|
7674
|
-
DbxActionTransitionSafetyDirective
|
|
7675
|
-
]
|
|
6801
|
+
imports: [CommonModule, DbxCoreActionModule, DbxPromptModule, DbxButtonModule, DbxReadableErrorModule],
|
|
6802
|
+
declarations: [DbxActionTransitionSafetyDirective, DbxActionUIRouterTransitionSafetyDialogComponent],
|
|
6803
|
+
exports: [DbxActionTransitionSafetyDirective]
|
|
7676
6804
|
}]
|
|
7677
6805
|
}] });
|
|
7678
6806
|
|
|
7679
6807
|
class DbxWebModule {
|
|
7680
6808
|
}
|
|
7681
6809
|
DbxWebModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7682
|
-
DbxWebModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebModule, exports: [DbxButtonModule,
|
|
7683
|
-
|
|
7684
|
-
DbxLoadingModule] });
|
|
7685
|
-
DbxWebModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebModule, imports: [DbxButtonModule,
|
|
7686
|
-
DbxActionModule,
|
|
7687
|
-
DbxLoadingModule] });
|
|
6810
|
+
DbxWebModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebModule, exports: [DbxButtonModule, DbxActionModule, DbxLoadingModule] });
|
|
6811
|
+
DbxWebModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebModule, imports: [DbxButtonModule, DbxActionModule, DbxLoadingModule] });
|
|
7688
6812
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxWebModule, decorators: [{
|
|
7689
6813
|
type: NgModule,
|
|
7690
6814
|
args: [{
|
|
7691
|
-
exports: [
|
|
7692
|
-
DbxButtonModule,
|
|
7693
|
-
DbxActionModule,
|
|
7694
|
-
DbxLoadingModule
|
|
7695
|
-
],
|
|
6815
|
+
exports: [DbxButtonModule, DbxActionModule, DbxLoadingModule]
|
|
7696
6816
|
}]
|
|
7697
6817
|
}] });
|
|
7698
6818
|
/**
|