@dereekb/dbx-web 4.0.0 → 5.0.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/LICENSE +21 -0
- package/esm2020/lib/action/key.trigger.directive.mjs +1 -1
- package/esm2020/lib/action/snackbar/action.snackbar.component.mjs +5 -6
- package/esm2020/lib/action/snackbar/action.snackbar.directive.mjs +1 -1
- package/esm2020/lib/action/snackbar/action.snackbar.generator.mjs +1 -1
- package/esm2020/lib/action/snackbar/action.snackbar.mjs +1 -1
- package/esm2020/lib/action/snackbar/action.snackbar.service.mjs +1 -1
- package/esm2020/lib/action/transition/transition.safety.dialog.component.mjs +1 -1
- package/esm2020/lib/action/transition/transition.safety.directive.mjs +3 -4
- package/esm2020/lib/button/button.component.mjs +7 -7
- package/esm2020/lib/button/button.spacer.component.mjs +3 -3
- package/esm2020/lib/button/progress/base.progress.button.directive.mjs +5 -6
- package/esm2020/lib/button/progress/button.progress.config.mjs +1 -1
- package/esm2020/lib/error/error.action.directive.mjs +1 -1
- package/esm2020/lib/error/error.api.mjs +16 -12
- package/esm2020/lib/error/error.component.mjs +3 -3
- package/esm2020/lib/error/state.mjs +9 -5
- 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 +3 -3
- 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/popover/abstract.popover.directive.mjs +1 -1
- package/esm2020/lib/interaction/popover/abstract.popover.ref.directive.mjs +4 -4
- package/esm2020/lib/interaction/popover/popover.action.directive.mjs +2 -3
- package/esm2020/lib/interaction/popover/popover.component.mjs +11 -11
- package/esm2020/lib/interaction/popover/popover.content.component.mjs +2 -3
- package/esm2020/lib/interaction/popover/popover.controls.directive.mjs +3 -3
- package/esm2020/lib/interaction/popover/popover.coordinator.component.mjs +2 -2
- package/esm2020/lib/interaction/popover/popover.mjs +1 -1
- package/esm2020/lib/interaction/popover/popover.module.mjs +1 -1
- package/esm2020/lib/interaction/popup/abstract.popup.directive.mjs +1 -1
- package/esm2020/lib/interaction/popup/popup.component.mjs +3 -4
- package/esm2020/lib/interaction/popup/popup.content.component.mjs +2 -2
- package/esm2020/lib/interaction/popup/popup.controls.buttons.component.mjs +3 -3
- package/esm2020/lib/interaction/popup/popup.coordinator.component.mjs +2 -2
- package/esm2020/lib/interaction/popup/popup.coordinator.service.mjs +2 -2
- package/esm2020/lib/interaction/popup/popup.mjs +1 -1
- package/esm2020/lib/interaction/popup/popup.module.mjs +1 -1
- package/esm2020/lib/interaction/prompt/prompt.button.confirm.directive.mjs +2 -2
- 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 +4 -4
- package/esm2020/lib/interaction/prompt/prompt.confirm.mjs +2 -2
- package/esm2020/lib/interaction/prompt/prompt.page.component.mjs +1 -1
- package/esm2020/lib/keypress/keydown.listener.directive.mjs +2 -3
- package/esm2020/lib/layout/bar/bar.directive.mjs +3 -3
- package/esm2020/lib/layout/bar/bar.header.component.mjs +1 -1
- package/esm2020/lib/layout/block/two.block.component.mjs +1 -1
- package/esm2020/lib/layout/card/card.box.container.component.mjs +1 -1
- package/esm2020/lib/layout/column/two/two.column.component.mjs +3 -5
- package/esm2020/lib/layout/column/two/two.column.context.directive.mjs +5 -6
- package/esm2020/lib/layout/column/two/two.column.full.left.directive.mjs +2 -2
- package/esm2020/lib/layout/column/two/two.column.right.component.mjs +3 -4
- package/esm2020/lib/layout/column/two/two.column.store.mjs +4 -5
- package/esm2020/lib/layout/compact/compact.mjs +2 -3
- package/esm2020/lib/layout/compact/compact.store.mjs +2 -2
- package/esm2020/lib/layout/content/content.border.directive.mjs +3 -3
- package/esm2020/lib/layout/content/content.box.directive.mjs +3 -3
- package/esm2020/lib/layout/content/content.container.directive.mjs +3 -3
- package/esm2020/lib/layout/content/content.directive.mjs +3 -3
- package/esm2020/lib/layout/content/content.elevate.directive.mjs +3 -3
- package/esm2020/lib/layout/content/content.page.directive.mjs +3 -3
- package/esm2020/lib/layout/flex/flex.group.directive.mjs +1 -1
- package/esm2020/lib/layout/list/list.component.mjs +15 -11
- package/esm2020/lib/layout/list/list.content.empty.component.mjs +1 -1
- package/esm2020/lib/layout/list/list.directive.mjs +1 -1
- package/esm2020/lib/layout/list/list.view.directive.mjs +3 -4
- package/esm2020/lib/layout/list/list.view.mjs +3 -2
- package/esm2020/lib/layout/list/list.view.value.component.mjs +1 -1
- package/esm2020/lib/layout/list/list.view.value.directive.mjs +1 -1
- package/esm2020/lib/layout/list/list.view.value.item.directive.mjs +1 -1
- package/esm2020/lib/layout/list/list.view.value.mjs +2 -2
- package/esm2020/lib/layout/list/list.view.value.modifier.directive.mjs +5 -5
- package/esm2020/lib/layout/list/list.view.value.modifier.mjs +2 -2
- package/esm2020/lib/layout/list/list.view.value.modifier.ripple.directive.mjs +2 -3
- package/esm2020/lib/layout/list/list.view.value.selection.component.mjs +1 -1
- package/esm2020/lib/layout/list/list.wrapper.mjs +2 -2
- package/esm2020/lib/layout/section/section.component.mjs +1 -1
- package/esm2020/lib/layout/section/section.header.component.mjs +3 -3
- package/esm2020/lib/layout/section/section.intro.component.mjs +1 -1
- package/esm2020/lib/layout/section/section.page.component.mjs +2 -2
- package/esm2020/lib/layout/section/subsection.component.mjs +2 -2
- package/esm2020/lib/layout/step/step.component.mjs +1 -1
- package/esm2020/lib/layout/style/spacer.directive.mjs +3 -3
- package/esm2020/lib/layout/style/style.body.directive.mjs +1 -1
- package/esm2020/lib/layout/style/style.directive.mjs +3 -3
- package/esm2020/lib/layout/style/style.service.mjs +2 -2
- package/esm2020/lib/layout/style/style.set.directive.mjs +2 -3
- package/esm2020/lib/layout/text/icon.spacer.component.mjs +3 -3
- package/esm2020/lib/layout/text/linkify.component.mjs +2 -3
- package/esm2020/lib/layout/text/text.chips.component.mjs +1 -1
- package/esm2020/lib/layout/text/warn.component.mjs +1 -1
- package/esm2020/lib/loading/basic-loading.component.mjs +2 -3
- package/esm2020/lib/loading/loading-progress.component.mjs +2 -2
- package/esm2020/lib/router/layout/anchor/anchor.component.mjs +2 -3
- package/esm2020/lib/router/layout/anchor/anchor.segue.directive.mjs +2 -2
- package/esm2020/lib/router/layout/anchorlist/anchorlist.component.mjs +2 -2
- package/esm2020/lib/router/layout/navbar/navbar.component.mjs +3 -3
- package/esm2020/lib/router/layout/sidenav/sidenav.button.component.mjs +2 -2
- package/esm2020/lib/router/layout/sidenav/sidenav.pagebar.component.mjs +1 -1
- package/esm2020/lib/router/provider/ngrouter/anchor.component.mjs +4 -5
- package/esm2020/lib/router/provider/uirouter/anchor.component.mjs +9 -3
- package/esm2020/lib/screen/screen.service.mjs +3 -4
- package/fesm2015/dereekb-dbx-web.mjs +178 -162
- package/fesm2015/dereekb-dbx-web.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-web.mjs +178 -162
- package/fesm2020/dereekb-dbx-web.mjs.map +1 -1
- package/lib/action/key.trigger.directive.d.ts +1 -1
- package/lib/action/snackbar/action.snackbar.component.d.ts +3 -4
- package/lib/action/snackbar/action.snackbar.d.ts +5 -5
- package/lib/action/snackbar/action.snackbar.directive.d.ts +6 -6
- package/lib/action/snackbar/action.snackbar.generator.d.ts +7 -7
- package/lib/action/snackbar/action.snackbar.service.d.ts +3 -3
- package/lib/button/button.spacer.component.d.ts +1 -1
- package/lib/button/progress/base.progress.button.directive.d.ts +2 -3
- package/lib/button/progress/button.progress.config.d.ts +1 -1
- package/lib/error/error.api.d.ts +2 -2
- package/lib/error/error.component.d.ts +2 -3
- package/lib/error/state.d.ts +3 -3
- package/lib/interaction/dialog/abstract.dialog.directive.d.ts +1 -1
- package/lib/interaction/dialog/dialog.action.directive.d.ts +4 -4
- package/lib/interaction/dialog/dialog.content.component.d.ts +1 -1
- package/lib/interaction/filter/filter.popover.button.component.d.ts +1 -1
- package/lib/interaction/filter/filter.popover.button.directive.d.ts +1 -2
- package/lib/interaction/filter/filter.popover.component.d.ts +6 -6
- package/lib/interaction/popover/abstract.popover.directive.d.ts +1 -1
- package/lib/interaction/popover/abstract.popover.ref.directive.d.ts +3 -4
- package/lib/interaction/popover/popover.action.directive.d.ts +4 -4
- package/lib/interaction/popover/popover.component.d.ts +2 -2
- package/lib/interaction/popover/popover.controls.directive.d.ts +1 -1
- package/lib/interaction/popover/popover.coordinator.service.d.ts +1 -1
- package/lib/interaction/popover/popover.d.ts +1 -1
- package/lib/interaction/popup/abstract.popup.directive.d.ts +1 -1
- package/lib/interaction/popup/popup.component.d.ts +1 -1
- package/lib/interaction/popup/popup.coordinator.service.d.ts +1 -2
- package/lib/interaction/popup/popup.d.ts +1 -1
- package/lib/interaction/prompt/prompt.confirm.d.ts +1 -1
- package/lib/interaction/prompt/prompt.confirm.directive.d.ts +3 -3
- package/lib/layout/bar/bar.directive.d.ts +1 -1
- package/lib/layout/column/two/two.column.component.d.ts +1 -2
- package/lib/layout/column/two/two.column.context.directive.d.ts +1 -2
- package/lib/layout/column/two/two.column.full.left.directive.d.ts +2 -3
- package/lib/layout/column/two/two.column.store.d.ts +3 -3
- package/lib/layout/content/content.border.directive.d.ts +1 -1
- package/lib/layout/content/content.box.directive.d.ts +1 -1
- package/lib/layout/content/content.container.directive.d.ts +1 -1
- package/lib/layout/content/content.directive.d.ts +1 -1
- package/lib/layout/content/content.elevate.directive.d.ts +1 -1
- package/lib/layout/content/content.page.directive.d.ts +1 -1
- package/lib/layout/flex/flex.group.directive.d.ts +2 -2
- package/lib/layout/list/list.component.d.ts +5 -5
- package/lib/layout/list/list.directive.d.ts +3 -5
- package/lib/layout/list/list.view.d.ts +1 -1
- package/lib/layout/list/list.view.directive.d.ts +0 -1
- package/lib/layout/list/list.view.value.component.d.ts +2 -2
- package/lib/layout/list/list.view.value.d.ts +7 -7
- package/lib/layout/list/list.view.value.directive.d.ts +1 -1
- package/lib/layout/list/list.view.value.modifier.d.ts +2 -2
- package/lib/layout/list/list.view.value.modifier.directive.d.ts +0 -1
- package/lib/layout/list/list.view.value.modifier.ripple.directive.d.ts +1 -1
- package/lib/layout/list/list.view.value.selection.component.d.ts +2 -2
- package/lib/layout/list/list.wrapper.d.ts +2 -2
- package/lib/layout/section/section.header.component.d.ts +1 -1
- package/lib/layout/section/section.intro.component.d.ts +1 -2
- package/lib/layout/style/spacer.directive.d.ts +1 -1
- package/lib/layout/style/style.directive.d.ts +1 -1
- package/lib/layout/style/style.service.d.ts +1 -2
- package/lib/layout/style/style.set.directive.d.ts +1 -1
- package/lib/layout/text/icon.spacer.component.d.ts +1 -1
- package/lib/layout/text/text.chips.component.d.ts +2 -2
- package/lib/loading/basic-loading.component.d.ts +1 -2
- package/lib/loading/loading.action.directive.d.ts +1 -1
- package/lib/router/layout/anchor/anchor.component.d.ts +3 -3
- package/lib/router/layout/anchor/anchor.segue.directive.d.ts +2 -2
- package/lib/router/provider/uirouter/anchor.component.d.ts +4 -0
- package/package.json +6 -5
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { filterMaybe, LoadingStateType, loadingStateType, skipFirstMaybe, SubscriptionObject, initialize, asObservable, ListLoadingStateContextInstance, loadingStateHasFinishedLoading, beginLoading, valueFromObservableOrValue, LoadingStateContextInstance, mapForEach, switchMapMaybeObs, LockSet } from '@dereekb/rxjs';
|
|
2
|
-
import { BehaviorSubject, map, combineLatest, distinctUntilChanged, shareReplay, first, Subject, of, switchMap, startWith, delay, throttleTime, filter as filter$1, merge, exhaustMap, catchError, from, race } from 'rxjs';
|
|
3
1
|
import * as i0 from '@angular/core';
|
|
4
2
|
import { InjectionToken, EventEmitter, Directive, Optional, Inject, Output, HostListener, Input, ElementRef, Component, ChangeDetectionStrategy, ViewChild, Injectable, Host, NgModule, TemplateRef, forwardRef } from '@angular/core';
|
|
3
|
+
import { filterMaybe, LoadingStateType, loadingStateType, skipFirstMaybe, SubscriptionObject, initialize, asObservable, ListLoadingStateContextInstance, loadingStateHasFinishedLoading, startWithBeginLoading, valueFromObservableOrValue, LoadingStateContextInstance, mapForEach, switchMapMaybeObs, LockSet } from '@dereekb/rxjs';
|
|
4
|
+
import { BehaviorSubject, map, combineLatest, distinctUntilChanged, shareReplay, first, Subject, of, switchMap, startWith, filter, delay, throttleTime, distinct, merge, exhaustMap, catchError, from, mergeMap, race, tap } from 'rxjs';
|
|
5
5
|
import * as i1$1 from '@angular/material/snack-bar';
|
|
6
6
|
import { MAT_SNACK_BAR_DATA, MatSnackBarModule } from '@angular/material/snack-bar';
|
|
7
|
-
import { map as map$1, filter, shareReplay as shareReplay$1, distinctUntilChanged as distinctUntilChanged$1, distinct, catchError as catchError$1, delay as delay$1, first as first$1, startWith as startWith$1, throttleTime as throttleTime$1, mergeMap, tap } from 'rxjs/operators';
|
|
8
7
|
import * as i1$2 from '@dereekb/dbx-core';
|
|
9
|
-
import { AbstractSubscriptionDirective, safeMarkForCheck, AbstractDbxButtonDirective,
|
|
8
|
+
import { AbstractSubscriptionDirective, safeMarkForCheck, AbstractDbxButtonDirective, provideDbxButton, DbxCoreButtonModule, AbstractTransitionWatcherDirective, AbstractDbxActionValueOnTriggerDirective, safeDetectChanges, AbstractDbxAnchorDirective, DbxInjectionComponentModule, expandClickableAnchorLinkTrees, AbstractTransitionDirective, tapDetectChanges, asSegueRef, checkNgContentWrapperHasContent, anchorTypeForAnchor, AnchorType, DbxCoreActionModule, DbxCoreFilterModule, isIdleActionState, canTriggerAction } from '@dereekb/dbx-core';
|
|
10
9
|
import ms from 'ms';
|
|
11
10
|
import * as i1 from '@angular/material/button';
|
|
12
11
|
import { MatButtonModule } from '@angular/material/button';
|
|
@@ -16,7 +15,7 @@ import * as i3 from '@angular/material/progress-spinner';
|
|
|
16
15
|
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
17
16
|
import * as i3$1 from '@angular/common';
|
|
18
17
|
import { CommonModule } from '@angular/common';
|
|
19
|
-
import { getValueFromGetter, mergeObjects, splitCommaSeparatedStringToSet, modifier, combineMaps, addModifiers, removeModifiers, applyBestFit, isMaybeNot,
|
|
18
|
+
import { getValueFromGetter, mergeObjects, splitCommaSeparatedStringToSet, modifier, combineMaps, addModifiers, removeModifiers, applyBestFit, isMaybeNot, toReadableError, build, ServerErrorResponse, UnauthorizedServerErrorResponse, maybeModifierMapToFunction } from '@dereekb/util';
|
|
20
19
|
import * as i3$2 from '@angular/material/progress-bar';
|
|
21
20
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
22
21
|
import * as i6 from '@angular/material/core';
|
|
@@ -101,13 +100,13 @@ class AbstractProgressButtonDirective extends AbstractSubscriptionDirective {
|
|
|
101
100
|
}
|
|
102
101
|
});
|
|
103
102
|
}
|
|
104
|
-
get options() {
|
|
105
|
-
return this._computedOptions;
|
|
106
|
-
}
|
|
107
103
|
get customSpinnerStyle() {
|
|
108
104
|
const customSpinnerColor = this._computedOptions.customSpinnerColor;
|
|
109
105
|
return (customSpinnerColor) ? { stroke: customSpinnerColor } : undefined;
|
|
110
106
|
}
|
|
107
|
+
get options() {
|
|
108
|
+
return this._computedOptions;
|
|
109
|
+
}
|
|
111
110
|
set options(options) {
|
|
112
111
|
this._options.next(options);
|
|
113
112
|
}
|
|
@@ -232,12 +231,12 @@ class DbxButtonComponent extends AbstractDbxButtonDirective {
|
|
|
232
231
|
const buttonIcon = (this.icon) ? {
|
|
233
232
|
fontIcon: this.icon
|
|
234
233
|
} : undefined;
|
|
235
|
-
|
|
234
|
+
const customStyle = {};
|
|
236
235
|
if (this.customButtonColor) {
|
|
237
|
-
customStyle
|
|
236
|
+
customStyle['background'] = this.customButtonColor;
|
|
238
237
|
}
|
|
239
238
|
if (this.customTextColor) {
|
|
240
|
-
customStyle
|
|
239
|
+
customStyle['color'] = this.customTextColor;
|
|
241
240
|
}
|
|
242
241
|
const customSpinnerColor = (_a = this.customSpinnerColor) !== null && _a !== void 0 ? _a : this.customTextColor;
|
|
243
242
|
const disabled = !this.working && this.disabled; // Only disabled if we're not working, in order to show the animation.
|
|
@@ -262,7 +261,7 @@ class DbxButtonComponent extends AbstractDbxButtonDirective {
|
|
|
262
261
|
}
|
|
263
262
|
}
|
|
264
263
|
DbxButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
265
|
-
DbxButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxButtonComponent, selector: "dbx-button", inputs: { type: "type", raised: "raised", stroked: "stroked", flat: "flat", color: "color", customButtonColor: "customButtonColor", customTextColor: "customTextColor", customSpinnerColor: "customSpinnerColor" }, providers:
|
|
264
|
+
DbxButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxButtonComponent, selector: "dbx-button", inputs: { type: "type", raised: "raised", stroked: "stroked", flat: "flat", color: "color", customButtonColor: "customButtonColor", customTextColor: "customTextColor", customSpinnerColor: "customSpinnerColor" }, providers: provideDbxButton(DbxButtonComponent), usesInheritance: true, ngImport: i0, template: `
|
|
266
265
|
<dbx-spinner-button class="page-button" (btnClick)="clickButton()" [options]="btnOptions">
|
|
267
266
|
<ng-content></ng-content>
|
|
268
267
|
</dbx-spinner-button>
|
|
@@ -276,7 +275,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
276
275
|
<ng-content></ng-content>
|
|
277
276
|
</dbx-spinner-button>
|
|
278
277
|
`,
|
|
279
|
-
providers:
|
|
278
|
+
providers: provideDbxButton(DbxButtonComponent)
|
|
280
279
|
}]
|
|
281
280
|
}], propDecorators: { type: [{
|
|
282
281
|
type: Input
|
|
@@ -299,11 +298,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
299
298
|
class DbxSpacerDirective {
|
|
300
299
|
}
|
|
301
300
|
DbxSpacerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSpacerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
302
|
-
DbxSpacerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxSpacerDirective, selector: "dbx-spacer, [
|
|
301
|
+
DbxSpacerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxSpacerDirective, selector: "dbx-spacer, [dbxSpacer]", host: { classAttribute: "dbx-spacer" }, ngImport: i0 });
|
|
303
302
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSpacerDirective, decorators: [{
|
|
304
303
|
type: Directive,
|
|
305
304
|
args: [{
|
|
306
|
-
selector: 'dbx-spacer, [
|
|
305
|
+
selector: 'dbx-spacer, [dbxSpacer]',
|
|
307
306
|
host: {
|
|
308
307
|
'class': 'dbx-spacer'
|
|
309
308
|
}
|
|
@@ -316,11 +315,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
316
315
|
class DbxButtonSpacerDirective {
|
|
317
316
|
}
|
|
318
317
|
DbxButtonSpacerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxButtonSpacerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
319
|
-
DbxButtonSpacerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxButtonSpacerDirective, selector: "dbx-button-spacer,dbxButtonSpacer", host: { classAttribute: "dbx-button-spacer d-inline" }, ngImport: i0 });
|
|
318
|
+
DbxButtonSpacerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxButtonSpacerDirective, selector: "dbx-button-spacer,[dbxButtonSpacer]", host: { classAttribute: "dbx-button-spacer d-inline" }, ngImport: i0 });
|
|
320
319
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxButtonSpacerDirective, decorators: [{
|
|
321
320
|
type: Directive,
|
|
322
321
|
args: [{
|
|
323
|
-
selector: 'dbx-button-spacer,dbxButtonSpacer',
|
|
322
|
+
selector: 'dbx-button-spacer,[dbxButtonSpacer]',
|
|
324
323
|
host: {
|
|
325
324
|
class: 'dbx-button-spacer d-inline'
|
|
326
325
|
}
|
|
@@ -339,10 +338,10 @@ class DbxActionSnackbarComponent extends AbstractSubscriptionDirective {
|
|
|
339
338
|
this._durationTimeout = new Subject();
|
|
340
339
|
this._actionRef = new BehaviorSubject(undefined);
|
|
341
340
|
this.value$ = of(0); // value passed to the action.
|
|
342
|
-
this.sourceInstance$ = this._actionRef.pipe(filterMaybe(), map
|
|
341
|
+
this.sourceInstance$ = this._actionRef.pipe(filterMaybe(), map(x => x === null || x === void 0 ? void 0 : x.sourceInstance));
|
|
343
342
|
this.complete$ = this.sourceInstance$.pipe(switchMap(x => x.isSuccess$), startWith(false), shareReplay(1));
|
|
344
343
|
this.loadingStateType$ = this.sourceInstance$.pipe(switchMap(x => x.loadingStateType$), startWith(LoadingStateType.IDLE), shareReplay(1));
|
|
345
|
-
this.snackbarStatusClass$ = this.loadingStateType$.pipe(map
|
|
344
|
+
this.snackbarStatusClass$ = this.loadingStateType$.pipe(map((x) => {
|
|
346
345
|
let classes = 'dbx-action-snackbar-';
|
|
347
346
|
switch (x) {
|
|
348
347
|
case LoadingStateType.ERROR:
|
|
@@ -380,7 +379,7 @@ class DbxActionSnackbarComponent extends AbstractSubscriptionDirective {
|
|
|
380
379
|
}
|
|
381
380
|
ngOnInit() {
|
|
382
381
|
// Subscribe and close if the duration is up and the action state is idle.
|
|
383
|
-
this.sub = this._durationTimeout.pipe(switchMap((
|
|
382
|
+
this.sub = this._durationTimeout.pipe(switchMap(() => this.loadingStateType$), filter(x => x === LoadingStateType.IDLE)).subscribe(() => {
|
|
384
383
|
this.dismiss();
|
|
385
384
|
});
|
|
386
385
|
}
|
|
@@ -402,7 +401,7 @@ class DbxActionSnackbarComponent extends AbstractSubscriptionDirective {
|
|
|
402
401
|
}
|
|
403
402
|
}
|
|
404
403
|
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 });
|
|
405
|
-
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\"\n [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, [
|
|
404
|
+
DbxActionSnackbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxActionSnackbarComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<div class=\"dbx-action-snackbar\" [ngClass]=\"(snackbarStatusClass$ | async)!\">\n <ng-container [ngSwitch]=\"complete$ | async\">\n <ng-container *ngSwitchCase=\"true\">\n <dbx-spacer></dbx-spacer>\n <dbx-button (buttonClick)=\"dismiss()\" color=\"accent\" icon=\"done\" text=\"Success\"></dbx-button>\n </ng-container>\n <ng-container *ngSwitchCase=\"false\">\n <span>{{ message }}</span>\n <dbx-spacer></dbx-spacer>\n <ng-container *ngIf=\"hasAction\">\n <dbx-action [dbxActionValueStream]=\"value$\" [dbxActionSource]=\"sourceInstance$ | async\"\n [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 } });
|
|
406
405
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionSnackbarComponent, decorators: [{
|
|
407
406
|
type: Component,
|
|
408
407
|
args: [{ template: "<div class=\"dbx-action-snackbar\" [ngClass]=\"(snackbarStatusClass$ | async)!\">\n <ng-container [ngSwitch]=\"complete$ | async\">\n <ng-container *ngSwitchCase=\"true\">\n <dbx-spacer></dbx-spacer>\n <dbx-button (buttonClick)=\"dismiss()\" color=\"accent\" icon=\"done\" text=\"Success\"></dbx-button>\n </ng-container>\n <ng-container *ngSwitchCase=\"false\">\n <span>{{ message }}</span>\n <dbx-spacer></dbx-spacer>\n <ng-container *ngIf=\"hasAction\">\n <dbx-action [dbxActionValueStream]=\"value$\" [dbxActionSource]=\"sourceInstance$ | async\"\n [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" }]
|
|
@@ -822,11 +821,11 @@ class DbxDialogContentDirective {
|
|
|
822
821
|
}
|
|
823
822
|
}
|
|
824
823
|
DbxDialogContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxDialogContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
825
|
-
DbxDialogContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxDialogContentDirective, selector: "dbx-dialog-content
|
|
824
|
+
DbxDialogContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxDialogContentDirective, selector: "dbx-dialog-content,[dbxDialogContent].dbx-dialog-content", inputs: { width: "width" }, host: { properties: { "class": "width + '-dialog-content'" }, classAttribute: "dbx-dialog-content" }, ngImport: i0 });
|
|
826
825
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxDialogContentDirective, decorators: [{
|
|
827
826
|
type: Directive,
|
|
828
827
|
args: [{
|
|
829
|
-
selector: 'dbx-dialog-content
|
|
828
|
+
selector: 'dbx-dialog-content,[dbxDialogContent].dbx-dialog-content',
|
|
830
829
|
host: {
|
|
831
830
|
'class': 'dbx-dialog-content',
|
|
832
831
|
'[class]': `width + '-dialog-content'`
|
|
@@ -912,7 +911,7 @@ class DbxStyleService {
|
|
|
912
911
|
}), distinctUntilChanged());
|
|
913
912
|
}
|
|
914
913
|
toggleDarkSuffix(dark) {
|
|
915
|
-
|
|
914
|
+
const toggle = (dark != null) ? dark : this.suffix !== '-dark';
|
|
916
915
|
if (toggle) {
|
|
917
916
|
this.suffix = '-dark';
|
|
918
917
|
}
|
|
@@ -1025,11 +1024,11 @@ class DbxStyleDirective extends AbstractSubscriptionDirective {
|
|
|
1025
1024
|
}
|
|
1026
1025
|
}
|
|
1027
1026
|
DbxStyleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStyleDirective, deps: [{ token: DbxStyleService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1028
|
-
DbxStyleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxStyleDirective, selector: "dbx-style, [
|
|
1027
|
+
DbxStyleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxStyleDirective, selector: "dbx-style, [dbxStyle], .dbx-style", host: { properties: { "class": "style" } }, usesInheritance: true, ngImport: i0 });
|
|
1029
1028
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxStyleDirective, decorators: [{
|
|
1030
1029
|
type: Directive,
|
|
1031
1030
|
args: [{
|
|
1032
|
-
selector: 'dbx-style, [
|
|
1031
|
+
selector: 'dbx-style, [dbxStyle], .dbx-style',
|
|
1033
1032
|
host: {
|
|
1034
1033
|
'[class]': 'style'
|
|
1035
1034
|
}
|
|
@@ -1198,11 +1197,11 @@ class PopoverPositionStrategy {
|
|
|
1198
1197
|
class DbxBarDirective {
|
|
1199
1198
|
}
|
|
1200
1199
|
DbxBarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1201
|
-
DbxBarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxBarDirective, selector: "dbx-bar", inputs: { color: "color" }, host: { properties: { "class.dbx-primary-bg": "color === \"primary\"", "class.dbx-accent-bg": "color === \"accent\"", "class.dbx-warn-bg": "color === \"warn\"" }, classAttribute: "dbx-bar" }, ngImport: i0 });
|
|
1200
|
+
DbxBarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxBarDirective, selector: "dbx-bar,[dbxBar]", inputs: { color: "color" }, host: { properties: { "class.dbx-primary-bg": "color === \"primary\"", "class.dbx-accent-bg": "color === \"accent\"", "class.dbx-warn-bg": "color === \"warn\"" }, classAttribute: "dbx-bar" }, ngImport: i0 });
|
|
1202
1201
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBarDirective, decorators: [{
|
|
1203
1202
|
type: Directive,
|
|
1204
1203
|
args: [{
|
|
1205
|
-
selector: 'dbx-bar',
|
|
1204
|
+
selector: 'dbx-bar,[dbxBar]',
|
|
1206
1205
|
host: {
|
|
1207
1206
|
'class': 'dbx-bar',
|
|
1208
1207
|
'[class.dbx-primary-bg]': 'color === "primary"',
|
|
@@ -1225,7 +1224,7 @@ DbxBarHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
1225
1224
|
<mat-icon class="button-spacer" *ngIf="icon">{{ icon }}</mat-icon>
|
|
1226
1225
|
<span *ngIf="text">{{ text }}</span>
|
|
1227
1226
|
</dbx-bar>
|
|
1228
|
-
`, isInline: true, components: [{ type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: DbxBarDirective, selector: "dbx-bar", inputs: ["color"] }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1227
|
+
`, 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"] }] });
|
|
1229
1228
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxBarHeaderComponent, decorators: [{
|
|
1230
1229
|
type: Component,
|
|
1231
1230
|
args: [{
|
|
@@ -1309,9 +1308,9 @@ class DbxAnchorComponent extends AbstractDbxAnchorDirective {
|
|
|
1309
1308
|
super();
|
|
1310
1309
|
this.dbNgxRouterWebProviderConfig = dbNgxRouterWebProviderConfig;
|
|
1311
1310
|
this._templateRef = new BehaviorSubject(undefined);
|
|
1312
|
-
this.templateRef$ = this._templateRef.pipe(skipFirstMaybe(), shareReplay
|
|
1313
|
-
this.url$ = this.anchor$.pipe(map
|
|
1314
|
-
this.target$ = this.anchor$.pipe(map
|
|
1311
|
+
this.templateRef$ = this._templateRef.pipe(skipFirstMaybe(), shareReplay(1));
|
|
1312
|
+
this.url$ = this.anchor$.pipe(map(x => x === null || x === void 0 ? void 0 : x.url), distinctUntilChanged(), shareReplay(1));
|
|
1313
|
+
this.target$ = this.anchor$.pipe(map(x => x === null || x === void 0 ? void 0 : x.target), distinctUntilChanged(), shareReplay(1));
|
|
1315
1314
|
}
|
|
1316
1315
|
get templateRef() {
|
|
1317
1316
|
return this._templateRef.value;
|
|
@@ -1505,12 +1504,12 @@ class AbstractDbxSegueAnchorDirective {
|
|
|
1505
1504
|
constructor(parent) {
|
|
1506
1505
|
this.parent = parent;
|
|
1507
1506
|
this.target$ = this.parent.target$;
|
|
1508
|
-
this.ref$ = this.parent.anchor$.pipe(map
|
|
1509
|
-
this.refParams$ = this.parent.anchor$.pipe(map
|
|
1510
|
-
this.refOptions$ = this.parent.anchor$.pipe(map
|
|
1511
|
-
this.template$ = this.parent.templateRef$.pipe(distinctUntilChanged
|
|
1507
|
+
this.ref$ = this.parent.anchor$.pipe(map(x => x === null || x === void 0 ? void 0 : x.ref), distinctUntilChanged(), shareReplay(1));
|
|
1508
|
+
this.refParams$ = this.parent.anchor$.pipe(map(x => x === null || x === void 0 ? void 0 : x.refParams), distinctUntilChanged(), shareReplay(1));
|
|
1509
|
+
this.refOptions$ = this.parent.anchor$.pipe(map(x => x === null || x === void 0 ? void 0 : x.refOptions), distinctUntilChanged(), shareReplay(1));
|
|
1510
|
+
this.template$ = this.parent.templateRef$.pipe(distinctUntilChanged(), map(templateRef => ({
|
|
1512
1511
|
templateRef
|
|
1513
|
-
})), shareReplay
|
|
1512
|
+
})), shareReplay(1));
|
|
1514
1513
|
}
|
|
1515
1514
|
get anchor() {
|
|
1516
1515
|
return this.parent.anchor;
|
|
@@ -1589,7 +1588,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
1589
1588
|
// MARK: ValueListView
|
|
1590
1589
|
class DbxValueListItemModifier {
|
|
1591
1590
|
}
|
|
1592
|
-
function
|
|
1591
|
+
function provideDbxValueListViewModifier(sourceType) {
|
|
1593
1592
|
return [{
|
|
1594
1593
|
provide: DbxValueListItemModifier,
|
|
1595
1594
|
useExisting: forwardRef(() => sourceType)
|
|
@@ -1626,14 +1625,14 @@ class DbxValueListItemModifierDirective {
|
|
|
1626
1625
|
}
|
|
1627
1626
|
}
|
|
1628
1627
|
DbxValueListItemModifierDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxValueListItemModifierDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1629
|
-
DbxValueListItemModifierDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxValueListItemModifierDirective, selector: "[dbxListItemModifier]", inputs: { inputModifiers: ["dbxListItemModifier", "inputModifiers"] }, providers:
|
|
1628
|
+
DbxValueListItemModifierDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxValueListItemModifierDirective, selector: "[dbxListItemModifier]", inputs: { inputModifiers: ["dbxListItemModifier", "inputModifiers"] }, providers: provideDbxValueListViewModifier(DbxValueListItemModifierDirective), ngImport: i0 });
|
|
1630
1629
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxValueListItemModifierDirective, decorators: [{
|
|
1631
1630
|
type: Directive,
|
|
1632
1631
|
args: [{
|
|
1633
1632
|
'selector': '[dbxListItemModifier]',
|
|
1634
|
-
providers:
|
|
1633
|
+
providers: provideDbxValueListViewModifier(DbxValueListItemModifierDirective)
|
|
1635
1634
|
}]
|
|
1636
|
-
}],
|
|
1635
|
+
}], propDecorators: { inputModifiers: [{
|
|
1637
1636
|
type: Input,
|
|
1638
1637
|
args: ['dbxListItemModifier']
|
|
1639
1638
|
}] } });
|
|
@@ -1779,9 +1778,8 @@ class DbxScreenMediaService {
|
|
|
1779
1778
|
this._tabletQuery = this._media.matchMedia(`screen and (max-width:${tabletScreenWidthMax}px)`);
|
|
1780
1779
|
this._largeQuery = this._media.matchMedia(`screen and (max-width:${largeScreenWidthMax}px)`);
|
|
1781
1780
|
this._tinyHeightQuery = this._media.matchMedia(`screen and (max-width:${largeScreenWidthMax}px)`);
|
|
1782
|
-
const
|
|
1783
|
-
const
|
|
1784
|
-
const heightHandler = () => service._updateHeight.next();
|
|
1781
|
+
const widthHandler = () => this._updateWidth.next();
|
|
1782
|
+
const heightHandler = () => this._updateHeight.next();
|
|
1785
1783
|
this._microQuery.onchange = widthHandler;
|
|
1786
1784
|
this._smallQuery.onchange = widthHandler;
|
|
1787
1785
|
this._tabletQuery.onchange = widthHandler;
|
|
@@ -1858,7 +1856,7 @@ class DbxNavbarComponent extends AbstractTransitionDirective {
|
|
|
1858
1856
|
}), distinctUntilChanged(), tapDetectChanges(this.cdRef), shareReplay(1));
|
|
1859
1857
|
this.anchors$ = combineLatest([this._anchors, this.initAndUpdateOnTransitionSuccess$]).pipe(map(([anchors]) => {
|
|
1860
1858
|
const results = anchors.map((anchor) => {
|
|
1861
|
-
|
|
1859
|
+
const selected = this._dbxRouterService.isActive(anchor);
|
|
1862
1860
|
return {
|
|
1863
1861
|
selected,
|
|
1864
1862
|
anchor
|
|
@@ -2086,7 +2084,7 @@ class DbxSidenavButtonComponent {
|
|
|
2086
2084
|
constructor(parent) {
|
|
2087
2085
|
this.parent = parent;
|
|
2088
2086
|
this.mode$ = this.parent.mode$;
|
|
2089
|
-
this.showMenuButton$ = this.mode$.pipe(map
|
|
2087
|
+
this.showMenuButton$ = this.mode$.pipe(map(x => x === SideNavDisplayMode.MOBILE));
|
|
2090
2088
|
}
|
|
2091
2089
|
toggleNav() {
|
|
2092
2090
|
this.parent.toggleNav();
|
|
@@ -2125,7 +2123,7 @@ DbxSidenavPagebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0
|
|
|
2125
2123
|
</span>
|
|
2126
2124
|
<ng-content right></ng-content>
|
|
2127
2125
|
</dbx-pagebar>
|
|
2128
|
-
`, isInline: true, components: [{ type: DbxPagebarComponent, selector: "dbx-pagebar", inputs: ["color"] }, { type: DbxSidenavButtonComponent, selector: "dbx-sidenav-button" }], directives: [{ type: DbxButtonSpacerDirective, selector: "dbx-button-spacer,dbxButtonSpacer" }] });
|
|
2126
|
+
`, isInline: true, components: [{ type: DbxPagebarComponent, selector: "dbx-pagebar", inputs: ["color"] }, { type: DbxSidenavButtonComponent, selector: "dbx-sidenav-button" }], directives: [{ type: DbxButtonSpacerDirective, selector: "dbx-button-spacer,[dbxButtonSpacer]" }] });
|
|
2129
2127
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSidenavPagebarComponent, decorators: [{
|
|
2130
2128
|
type: Component,
|
|
2131
2129
|
args: [{
|
|
@@ -2204,11 +2202,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2204
2202
|
class DbxContentElevateDirective {
|
|
2205
2203
|
}
|
|
2206
2204
|
DbxContentElevateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxContentElevateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2207
|
-
DbxContentElevateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxContentElevateDirective, selector: "dbx-content-elevate,[
|
|
2205
|
+
DbxContentElevateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxContentElevateDirective, selector: "dbx-content-elevate,[dbxContentElevate]", host: { classAttribute: "d-block dbx-content-elevate" }, ngImport: i0 });
|
|
2208
2206
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxContentElevateDirective, decorators: [{
|
|
2209
2207
|
type: Directive,
|
|
2210
2208
|
args: [{
|
|
2211
|
-
selector: 'dbx-content-elevate,[
|
|
2209
|
+
selector: 'dbx-content-elevate,[dbxContentElevate]',
|
|
2212
2210
|
host: {
|
|
2213
2211
|
'class': 'd-block dbx-content-elevate'
|
|
2214
2212
|
}
|
|
@@ -2221,11 +2219,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2221
2219
|
class DbxContentDirective {
|
|
2222
2220
|
}
|
|
2223
2221
|
DbxContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2224
|
-
DbxContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxContentDirective, selector: "dbx-content,[
|
|
2222
|
+
DbxContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxContentDirective, selector: "dbx-content,[dbxContent]", host: { classAttribute: "d-block dbx-content" }, ngImport: i0 });
|
|
2225
2223
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxContentDirective, decorators: [{
|
|
2226
2224
|
type: Directive,
|
|
2227
2225
|
args: [{
|
|
2228
|
-
selector: 'dbx-content,[
|
|
2226
|
+
selector: 'dbx-content,[dbxContent]',
|
|
2229
2227
|
host: {
|
|
2230
2228
|
'class': 'd-block dbx-content'
|
|
2231
2229
|
}
|
|
@@ -2238,11 +2236,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2238
2236
|
class DbxContentBorderDirective {
|
|
2239
2237
|
}
|
|
2240
2238
|
DbxContentBorderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxContentBorderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2241
|
-
DbxContentBorderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxContentBorderDirective, selector: "dbx-content-border,[
|
|
2239
|
+
DbxContentBorderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxContentBorderDirective, selector: "dbx-content-border,[dbxContentBorder]", host: { classAttribute: "d-block dbx-content-border" }, ngImport: i0 });
|
|
2242
2240
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxContentBorderDirective, decorators: [{
|
|
2243
2241
|
type: Directive,
|
|
2244
2242
|
args: [{
|
|
2245
|
-
selector: 'dbx-content-border,[
|
|
2243
|
+
selector: 'dbx-content-border,[dbxContentBorder]',
|
|
2246
2244
|
host: {
|
|
2247
2245
|
'class': 'd-block dbx-content-border'
|
|
2248
2246
|
}
|
|
@@ -2259,11 +2257,11 @@ class DbxContentContainerDirective {
|
|
|
2259
2257
|
}
|
|
2260
2258
|
}
|
|
2261
2259
|
DbxContentContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxContentContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2262
|
-
DbxContentContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxContentContainerDirective, selector: "dbx-content-container,[
|
|
2260
|
+
DbxContentContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxContentContainerDirective, selector: "dbx-content-container,[dbxContentContainer],.dbx-content-container", inputs: { grow: "grow", padding: "padding" }, host: { properties: { "class": "\"container-\" + grow + \" container-padding-\" + padding" }, classAttribute: "d-block dbx-content-container" }, ngImport: i0 });
|
|
2263
2261
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxContentContainerDirective, decorators: [{
|
|
2264
2262
|
type: Directive,
|
|
2265
2263
|
args: [{
|
|
2266
|
-
selector: 'dbx-content-container,[
|
|
2264
|
+
selector: 'dbx-content-container,[dbxContentContainer],.dbx-content-container',
|
|
2267
2265
|
host: {
|
|
2268
2266
|
'class': 'd-block dbx-content-container',
|
|
2269
2267
|
'[class]': `"container-" + grow + " container-padding-" + padding`
|
|
@@ -2285,11 +2283,11 @@ class DbxContentBoxDirective {
|
|
|
2285
2283
|
}
|
|
2286
2284
|
}
|
|
2287
2285
|
DbxContentBoxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxContentBoxDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2288
|
-
DbxContentBoxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxContentBoxDirective, selector: "dbx-content-box, [
|
|
2286
|
+
DbxContentBoxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxContentBoxDirective, selector: "dbx-content-box, [dbxContentBox]", inputs: { elevated: "elevated", wide: "wide" }, host: { properties: { "class.dbx-content-elevate": "elevated", "class.dbx-content-box-wide": "wide" }, classAttribute: "d-block dbx-content-box" }, ngImport: i0 });
|
|
2289
2287
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxContentBoxDirective, decorators: [{
|
|
2290
2288
|
type: Directive,
|
|
2291
2289
|
args: [{
|
|
2292
|
-
selector: 'dbx-content-box, [
|
|
2290
|
+
selector: 'dbx-content-box, [dbxContentBox]',
|
|
2293
2291
|
host: {
|
|
2294
2292
|
'class': 'd-block dbx-content-box',
|
|
2295
2293
|
'[class.dbx-content-elevate]': 'elevated',
|
|
@@ -2308,11 +2306,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2308
2306
|
class DbxContentPageDirective {
|
|
2309
2307
|
}
|
|
2310
2308
|
DbxContentPageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxContentPageDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2311
|
-
DbxContentPageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxContentPageDirective, selector: "dbx-content-page,[
|
|
2309
|
+
DbxContentPageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxContentPageDirective, selector: "dbx-content-page,[dbxContentPage]", host: { classAttribute: "d-block dbx-content-page" }, ngImport: i0 });
|
|
2312
2310
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxContentPageDirective, decorators: [{
|
|
2313
2311
|
type: Directive,
|
|
2314
2312
|
args: [{
|
|
2315
|
-
selector: 'dbx-content-page,[
|
|
2313
|
+
selector: 'dbx-content-page,[dbxContentPage]',
|
|
2316
2314
|
host: {
|
|
2317
2315
|
'class': 'd-block dbx-content-page'
|
|
2318
2316
|
}
|
|
@@ -2470,10 +2468,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2470
2468
|
class DbxAngularRouterSegueAnchorComponent extends AbstractDbxSegueAnchorDirective {
|
|
2471
2469
|
}
|
|
2472
2470
|
DbxAngularRouterSegueAnchorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxAngularRouterSegueAnchorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2473
|
-
DbxAngularRouterSegueAnchorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxAngularRouterSegueAnchorComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<a class=\"dbx-anchor-a
|
|
2471
|
+
DbxAngularRouterSegueAnchorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxAngularRouterSegueAnchorComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<a class=\"dbx-anchor-a\" [attr.target]=\"target$ | async\">\n <dbx-injection></dbx-injection>\n</a>\n", components: [{ type: i1$2.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }], pipes: { "async": i3$1.AsyncPipe } });
|
|
2474
2472
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxAngularRouterSegueAnchorComponent, decorators: [{
|
|
2475
2473
|
type: Component,
|
|
2476
|
-
args: [{ template: "<a class=\"dbx-anchor-a
|
|
2474
|
+
args: [{ template: "<a class=\"dbx-anchor-a\" [attr.target]=\"target$ | async\">\n <dbx-injection></dbx-injection>\n</a>\n" }]
|
|
2477
2475
|
}] });
|
|
2478
2476
|
|
|
2479
2477
|
class DbxWebAngularRouterModule {
|
|
@@ -2519,12 +2517,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
2519
2517
|
* SegueAnchor implementation for UIRouter.
|
|
2520
2518
|
*/
|
|
2521
2519
|
class DbxUIRouterSegueAnchorComponent extends AbstractDbxSegueAnchorDirective {
|
|
2520
|
+
constructor() {
|
|
2521
|
+
super(...arguments);
|
|
2522
|
+
this.uiRef$ = this.ref$.pipe(filter(x => typeof x === 'string'));
|
|
2523
|
+
this.uiOptions$ = this.refOptions$;
|
|
2524
|
+
}
|
|
2522
2525
|
}
|
|
2523
2526
|
DbxUIRouterSegueAnchorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxUIRouterSegueAnchorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2524
|
-
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]=\"
|
|
2527
|
+
DbxUIRouterSegueAnchorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxUIRouterSegueAnchorComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<a class=\"dbx-anchor-a dbx-anchor-sref\" [attr.target]=\"target$ | async\" [uiSref]=\"(uiRef$ | async) ?? ''\"\n [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 } });
|
|
2525
2528
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxUIRouterSegueAnchorComponent, decorators: [{
|
|
2526
2529
|
type: Component,
|
|
2527
|
-
args: [{ template: "<a class=\"dbx-anchor-a dbx-anchor-sref\" [attr.target]=\"target$ | async\" [uiSref]=\"
|
|
2530
|
+
args: [{ template: "<a class=\"dbx-anchor-a dbx-anchor-sref\" [attr.target]=\"target$ | async\" [uiSref]=\"(uiRef$ | async) ?? ''\"\n [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" }]
|
|
2528
2531
|
}] });
|
|
2529
2532
|
|
|
2530
2533
|
class DbxWebUIRouterModule {
|
|
@@ -2770,23 +2773,23 @@ class TwoColumnsContextStore extends ComponentStore {
|
|
|
2770
2773
|
/**
|
|
2771
2774
|
* Pipes the current state of showRight.
|
|
2772
2775
|
*/
|
|
2773
|
-
this.showRight$ = this.state$.pipe(map
|
|
2776
|
+
this.showRight$ = this.state$.pipe(map((x) => x.showRight));
|
|
2774
2777
|
/**
|
|
2775
2778
|
* Convenience function for the showRight compliment.
|
|
2776
2779
|
*/
|
|
2777
|
-
this.hideRight$ = this.state$.pipe(map
|
|
2780
|
+
this.hideRight$ = this.state$.pipe(map((x) => !x.showRight));
|
|
2778
2781
|
/**
|
|
2779
2782
|
* Pipes the current state of fullLeft.
|
|
2780
2783
|
*/
|
|
2781
|
-
this.fullLeft$ = this.state$.pipe(map
|
|
2784
|
+
this.fullLeft$ = this.state$.pipe(map((x) => x.fullLeft));
|
|
2782
2785
|
/**
|
|
2783
2786
|
* Whether or not to show the full left.
|
|
2784
2787
|
*/
|
|
2785
|
-
this.showFullLeft$ = this.state$.pipe(map
|
|
2788
|
+
this.showFullLeft$ = this.state$.pipe(map((x) => !x.showRight && x.fullLeft));
|
|
2786
2789
|
/**
|
|
2787
2790
|
* Pipes the current backRef value.
|
|
2788
2791
|
*/
|
|
2789
|
-
this.backRef$ = this.state$.pipe(map
|
|
2792
|
+
this.backRef$ = this.state$.pipe(map((x) => x.backRef), distinct());
|
|
2790
2793
|
/**
|
|
2791
2794
|
* Emits back events.
|
|
2792
2795
|
*/
|
|
@@ -2795,7 +2798,7 @@ class TwoColumnsContextStore extends ComponentStore {
|
|
|
2795
2798
|
/**
|
|
2796
2799
|
* Completely resets the store.
|
|
2797
2800
|
*/
|
|
2798
|
-
this.reset = this.updater((
|
|
2801
|
+
this.reset = this.updater(() => (Object.assign({}, INITIAL_STATE)));
|
|
2799
2802
|
/**
|
|
2800
2803
|
* Changes the state to show right or not.
|
|
2801
2804
|
*/
|
|
@@ -2826,7 +2829,7 @@ TwoColumnsContextStore.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0
|
|
|
2826
2829
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: TwoColumnsContextStore, decorators: [{
|
|
2827
2830
|
type: Injectable
|
|
2828
2831
|
}], ctorParameters: function () { return []; } });
|
|
2829
|
-
function
|
|
2832
|
+
function provideTwoColumnsContext() {
|
|
2830
2833
|
return [{
|
|
2831
2834
|
provide: TwoColumnsContextStore,
|
|
2832
2835
|
useClass: TwoColumnsContextStore
|
|
@@ -2908,7 +2911,7 @@ class DbxTwoColumnComponent extends AbstractSubscriptionDirective {
|
|
|
2908
2911
|
}
|
|
2909
2912
|
}
|
|
2910
2913
|
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 });
|
|
2911
|
-
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\"\n *ngIf=\"v.showRight\">\n <ng-content select=\"[right]\"></ng-content>\n</dbx-content-container>\n", directives: [{ type: DbxContentContainerDirective, selector: "dbx-content-container,[
|
|
2914
|
+
DbxTwoColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxTwoColumnComponent, selector: "dbx-two-column", inputs: { reverseSizing: "reverseSizing", inSectionPage: "inSectionPage" }, host: { properties: { "class": "{ 'right-shown': v.showRight, 'full-left': v.fullLeft, 'two-column-reverse-sizing': v.reverseSizing, 'dbx-section-page-two': v.inSectionPage }" }, classAttribute: "dbx-two-column" }, exportAs: ["columns"], usesInheritance: true, ngImport: i0, template: "<dbx-content-container grow=\"full\" padding=\"none\" class=\"dbx-content dbx-content-auto-height left-column\">\n <ng-content select=\"[left]\"></ng-content>\n</dbx-content-container>\n<dbx-content-container grow=\"full\" padding=\"none\" class=\"dbx-content dbx-content-auto-height right-column\"\n *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 });
|
|
2912
2915
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoColumnComponent, decorators: [{
|
|
2913
2916
|
type: Component,
|
|
2914
2917
|
args: [{ selector: 'dbx-two-column', exportAs: 'columns', host: {
|
|
@@ -2945,12 +2948,12 @@ class DbxTwoColumnContextDirective {
|
|
|
2945
2948
|
}
|
|
2946
2949
|
}
|
|
2947
2950
|
DbxTwoColumnContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoColumnContextDirective, deps: [{ token: TwoColumnsContextStore }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2948
|
-
DbxTwoColumnContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxTwoColumnContextDirective, selector: "[dbxTwoColumnContext]", inputs: { showRight: "showRight" }, providers:
|
|
2951
|
+
DbxTwoColumnContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxTwoColumnContextDirective, selector: "[dbxTwoColumnContext]", inputs: { showRight: "showRight" }, providers: provideTwoColumnsContext(), ngImport: i0 });
|
|
2949
2952
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxTwoColumnContextDirective, decorators: [{
|
|
2950
2953
|
type: Directive,
|
|
2951
2954
|
args: [{
|
|
2952
2955
|
selector: '[dbxTwoColumnContext]',
|
|
2953
|
-
providers:
|
|
2956
|
+
providers: provideTwoColumnsContext()
|
|
2954
2957
|
}]
|
|
2955
2958
|
}], ctorParameters: function () { return [{ type: TwoColumnsContextStore }]; }, propDecorators: { showRight: [{
|
|
2956
2959
|
type: Input
|
|
@@ -2968,7 +2971,7 @@ class DbxTwoColumnFullLeftDirective {
|
|
|
2968
2971
|
return this._fullLeft.value;
|
|
2969
2972
|
}
|
|
2970
2973
|
set fullLeft(fullLeft) {
|
|
2971
|
-
if (fullLeft != null && fullLeft !== '') {
|
|
2974
|
+
if (fullLeft != null && (fullLeft !== '')) {
|
|
2972
2975
|
this._fullLeft.next(fullLeft);
|
|
2973
2976
|
}
|
|
2974
2977
|
}
|
|
@@ -3053,8 +3056,8 @@ class DbxTwoColumnRightComponent {
|
|
|
3053
3056
|
this._showBack = new BehaviorSubject(true);
|
|
3054
3057
|
this.ref$ = this.twoColumnsContextStore.backRef$;
|
|
3055
3058
|
this.showBack$ = combineLatest([
|
|
3056
|
-
this._showBack, this.ref$.pipe(map
|
|
3057
|
-
]).pipe(map
|
|
3059
|
+
this._showBack, this.ref$.pipe(map((x) => !x)) // TODO: Is this correct? Show back if ref is not defined?
|
|
3060
|
+
]).pipe(map(([a, b]) => a && b));
|
|
3058
3061
|
}
|
|
3059
3062
|
ngAfterViewInit() {
|
|
3060
3063
|
setTimeout(() => {
|
|
@@ -3250,7 +3253,7 @@ function compactModeFromInput(input) {
|
|
|
3250
3253
|
function mapCompactModeObs(mode$, config) {
|
|
3251
3254
|
var _a;
|
|
3252
3255
|
const modeObs = mode$ !== null && mode$ !== void 0 ? mode$ : of((_a = config.defaultMode) !== null && _a !== void 0 ? _a : CompactMode.FULL);
|
|
3253
|
-
return modeObs.pipe(map
|
|
3256
|
+
return modeObs.pipe(map((inputMode) => {
|
|
3254
3257
|
const isCompact = ((inputMode !== null && inputMode !== void 0 ? inputMode : config.defaultMode) === CompactMode.COMPACT);
|
|
3255
3258
|
if (isCompact) {
|
|
3256
3259
|
return config.compact;
|
|
@@ -3265,7 +3268,7 @@ class CompactContextStore extends ComponentStore {
|
|
|
3265
3268
|
constructor() {
|
|
3266
3269
|
super({ mode: CompactMode.FULL });
|
|
3267
3270
|
// MARK: Accessors
|
|
3268
|
-
this.mode$ = this.state$.pipe(map
|
|
3271
|
+
this.mode$ = this.state$.pipe(map(x => x.mode));
|
|
3269
3272
|
this.setMode = this.updater((state, mode) => ({ mode: compactModeFromInput(mode) }));
|
|
3270
3273
|
}
|
|
3271
3274
|
}
|
|
@@ -3627,7 +3630,7 @@ class DbxLoadingProgressComponent {
|
|
|
3627
3630
|
this._diameter = DEFAULT_LOADING_PROGRESS_DIAMETER;
|
|
3628
3631
|
this.mode = 'indeterminate';
|
|
3629
3632
|
this.color = 'primary';
|
|
3630
|
-
this.bufferValue = undefined;
|
|
3633
|
+
this.bufferValue = undefined; // mat-progress-bar typing prevents using undefined as a type
|
|
3631
3634
|
}
|
|
3632
3635
|
get diameter() {
|
|
3633
3636
|
return this._diameter;
|
|
@@ -3690,7 +3693,7 @@ class DbxReadableErrorComponent {
|
|
|
3690
3693
|
return this._error;
|
|
3691
3694
|
}
|
|
3692
3695
|
set error(error) {
|
|
3693
|
-
this._error =
|
|
3696
|
+
this._error = toReadableError(error);
|
|
3694
3697
|
}
|
|
3695
3698
|
get message() {
|
|
3696
3699
|
var _a;
|
|
@@ -3939,7 +3942,7 @@ class DbxListComponent {
|
|
|
3939
3942
|
this.scrollDistance$ = this._config.pipe(map(x => { var _a; return (_a = (x === null || x === void 0 ? void 0 : x.scrollDistance)) !== null && _a !== void 0 ? _a : this.DEFAULT_SCROLL_DISTANCE; }), distinctUntilChanged(), shareReplay(1));
|
|
3940
3943
|
this.scrollLoadMoreTrigger$ = this._config.pipe(switchMap((config) => {
|
|
3941
3944
|
const loadNextDirection = (config === null || config === void 0 ? void 0 : config.invertedList) ? 'up' : 'down';
|
|
3942
|
-
return this._scrollTrigger.pipe(filter
|
|
3945
|
+
return this._scrollTrigger.pipe(filter(x => x === loadNextDirection));
|
|
3943
3946
|
}));
|
|
3944
3947
|
this.loadMore$ = merge(this.scrollLoadMoreTrigger$, this._loadMoreTrigger);
|
|
3945
3948
|
this.injectedComponentConfig$ = this._config.pipe(distinctUntilChanged(), map((config) => {
|
|
@@ -3993,7 +3996,7 @@ class DbxListComponent {
|
|
|
3993
3996
|
}
|
|
3994
3997
|
return injectedComponentConfig;
|
|
3995
3998
|
}), distinctUntilChanged(), shareReplay(1));
|
|
3996
|
-
this.hideContent$ = this.context.stateChange$.pipe(switchMap(() => this.context.state$.pipe(filter
|
|
3999
|
+
this.hideContent$ = this.context.stateChange$.pipe(switchMap(() => this.context.state$.pipe(filter((x) => loadingStateHasFinishedLoading(x)), first(), startWithBeginLoading())), switchMap((state) => {
|
|
3997
4000
|
if (state === null || state === void 0 ? void 0 : state.loading) {
|
|
3998
4001
|
return of(true);
|
|
3999
4002
|
}
|
|
@@ -4051,7 +4054,9 @@ class DbxListComponent {
|
|
|
4051
4054
|
try {
|
|
4052
4055
|
this.nativeElement.scrollTop = this.nativeElement.scrollHeight;
|
|
4053
4056
|
}
|
|
4054
|
-
catch (err) {
|
|
4057
|
+
catch (err) {
|
|
4058
|
+
// do nothing.
|
|
4059
|
+
}
|
|
4055
4060
|
}
|
|
4056
4061
|
jumpToPositionRelativeToBottom(pos) {
|
|
4057
4062
|
try {
|
|
@@ -4059,7 +4064,9 @@ class DbxListComponent {
|
|
|
4059
4064
|
const { scrollHeight, clientHeight } = element;
|
|
4060
4065
|
element.scrollTop = scrollHeight - (clientHeight + pos);
|
|
4061
4066
|
}
|
|
4062
|
-
catch (err) {
|
|
4067
|
+
catch (err) {
|
|
4068
|
+
// do nothing.
|
|
4069
|
+
}
|
|
4063
4070
|
}
|
|
4064
4071
|
onScrollDown() {
|
|
4065
4072
|
this._scrollTrigger.next('down');
|
|
@@ -4072,7 +4079,7 @@ class DbxListComponent {
|
|
|
4072
4079
|
}
|
|
4073
4080
|
// MARK: Internal
|
|
4074
4081
|
get nativeElement() {
|
|
4075
|
-
return this.
|
|
4082
|
+
return this.__content.elementRef.nativeElement;
|
|
4076
4083
|
}
|
|
4077
4084
|
get __content() {
|
|
4078
4085
|
return this._content;
|
|
@@ -4087,13 +4094,13 @@ class DbxListComponent {
|
|
|
4087
4094
|
}
|
|
4088
4095
|
}
|
|
4089
4096
|
DbxListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxListComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4090
|
-
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
|
|
4097
|
+
DbxListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxListComponent, selector: "dbx-list", inputs: { padded: "padded", state$: "state$", config: "config", disabled: "disabled", selectionMode: "selectionMode" }, outputs: { contentScrolled: "contentScrolled" }, host: { properties: { "class.dbx-list-padded": "padded" }, classAttribute: "d-block dbx-list" }, ngImport: i0, template: "<dbx-loading [context]=\"context\" [linear]=\"true\"></dbx-loading>\n<div dbxListInternalContent infinite-scroll [infiniteScrollDistance]=\"(scrollDistance$ | async) ?? DEFAULT_SCROLL_DISTANCE\"\n [infiniteScrollUpDistance]=\"(scrollDistance$ | async) ?? DEFAULT_SCROLL_DISTANCE\" [hide]=\"hideContent$ | async\"\n [infiniteScrollThrottle]=\"(throttleScroll$ | async) ?? DEFAULT_THROTTLE_SCROLL\" [scrollWindow]=\"false\"\n (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; }) } });
|
|
4091
4098
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxListComponent, decorators: [{
|
|
4092
4099
|
type: Component,
|
|
4093
4100
|
args: [{ selector: 'dbx-list', host: {
|
|
4094
4101
|
'class': 'd-block dbx-list',
|
|
4095
4102
|
'[class.dbx-list-padded]': 'padded'
|
|
4096
|
-
}, template: "<dbx-loading [context]=\"context\" [linear]=\"true\"></dbx-loading>\n<div
|
|
4103
|
+
}, template: "<dbx-loading [context]=\"context\" [linear]=\"true\"></dbx-loading>\n<div dbxListInternalContent infinite-scroll [infiniteScrollDistance]=\"(scrollDistance$ | async) ?? DEFAULT_SCROLL_DISTANCE\"\n [infiniteScrollUpDistance]=\"(scrollDistance$ | async) ?? DEFAULT_SCROLL_DISTANCE\" [hide]=\"hideContent$ | async\"\n [infiniteScrollThrottle]=\"(throttleScroll$ | async) ?? DEFAULT_THROTTLE_SCROLL\" [scrollWindow]=\"false\"\n (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" }]
|
|
4097
4104
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { padded: [{
|
|
4098
4105
|
type: Input
|
|
4099
4106
|
}], contentScrolled: [{
|
|
@@ -4123,11 +4130,11 @@ class DbxListInternalContentDirective {
|
|
|
4123
4130
|
}
|
|
4124
4131
|
}
|
|
4125
4132
|
DbxListInternalContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxListInternalContentDirective, deps: [{ token: DbxListComponent }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4126
|
-
DbxListInternalContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxListInternalContentDirective, selector: "[
|
|
4133
|
+
DbxListInternalContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxListInternalContentDirective, selector: "[dbxListInternalContent]", inputs: { hide: "hide" }, host: { listeners: { "scroll": "onScrollEvent($event)" }, properties: { "class.dbx-list-content-hidden": "hide" }, classAttribute: "d-block dbx-list-content" }, ngImport: i0 });
|
|
4127
4134
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxListInternalContentDirective, decorators: [{
|
|
4128
4135
|
type: Directive,
|
|
4129
4136
|
args: [{
|
|
4130
|
-
selector: '[
|
|
4137
|
+
selector: '[dbxListInternalContent]',
|
|
4131
4138
|
host: {
|
|
4132
4139
|
'class': 'd-block dbx-list-content',
|
|
4133
4140
|
'[class.dbx-list-content-hidden]': 'hide'
|
|
@@ -4245,17 +4252,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
4245
4252
|
*/
|
|
4246
4253
|
function convertToPOJOServerErrorResponse(httpError) {
|
|
4247
4254
|
const result = convertToServerErrorResponse(httpError);
|
|
4248
|
-
const pojo =
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
|
|
4255
|
+
const pojo = build({
|
|
4256
|
+
base: Object.assign({}, result),
|
|
4257
|
+
build: (x) => {
|
|
4258
|
+
if (x.data) {
|
|
4259
|
+
try {
|
|
4260
|
+
const stringy = JSON.stringify(pojo.data);
|
|
4261
|
+
x.data = JSON.parse(stringy);
|
|
4262
|
+
}
|
|
4263
|
+
catch (e) {
|
|
4264
|
+
console.warn('convertToPOJOServerErrorResponse(): Non-serializable Error Data Detected. It is being removed.: ', pojo.data);
|
|
4265
|
+
x.data = undefined;
|
|
4266
|
+
}
|
|
4267
|
+
}
|
|
4257
4268
|
}
|
|
4258
|
-
}
|
|
4269
|
+
});
|
|
4259
4270
|
return pojo;
|
|
4260
4271
|
}
|
|
4261
4272
|
/**
|
|
@@ -4365,8 +4376,13 @@ function convertServerErrorParams(httpError) {
|
|
|
4365
4376
|
/**
|
|
4366
4377
|
* Catches error server params and feeds them to an action that takes ServerErrorParams as a prop.
|
|
4367
4378
|
*/
|
|
4368
|
-
function catchErrorServerParams(action, mapError = (error) => error) {
|
|
4369
|
-
return catchError
|
|
4379
|
+
function catchErrorServerParams(action, mapError = ((error) => error)) {
|
|
4380
|
+
return catchError((error) => {
|
|
4381
|
+
const serverErrorParams = convertServerErrorParams(error);
|
|
4382
|
+
const mappedError = mapError(serverErrorParams);
|
|
4383
|
+
const act = action(mappedError);
|
|
4384
|
+
return of(act);
|
|
4385
|
+
});
|
|
4370
4386
|
}
|
|
4371
4387
|
|
|
4372
4388
|
/**
|
|
@@ -4483,7 +4499,7 @@ function addConfigToValueListItems(listViewConfig, listItems) {
|
|
|
4483
4499
|
// MARK: ValueListView
|
|
4484
4500
|
class DbxValueListView {
|
|
4485
4501
|
}
|
|
4486
|
-
function
|
|
4502
|
+
function provideDbxValueListView(sourceType) {
|
|
4487
4503
|
return [{
|
|
4488
4504
|
provide: DbxValueListView,
|
|
4489
4505
|
useExisting: forwardRef(() => sourceType)
|
|
@@ -4495,7 +4511,8 @@ function ProvideDbxValueListView(sourceType) {
|
|
|
4495
4511
|
*/
|
|
4496
4512
|
class DbxListView {
|
|
4497
4513
|
}
|
|
4498
|
-
|
|
4514
|
+
// eslint-disable-next-line
|
|
4515
|
+
function provideDbxListView(sourceType) {
|
|
4499
4516
|
return [{
|
|
4500
4517
|
provide: DbxListView,
|
|
4501
4518
|
useExisting: forwardRef(() => sourceType)
|
|
@@ -4717,8 +4734,7 @@ class DbxListItemDisableRippleModifierDirective extends AbstractDbxValueListItem
|
|
|
4717
4734
|
super(...arguments);
|
|
4718
4735
|
this._disableRippleForItem = new BehaviorSubject(DBX_LIST_ITEM_DEFAULT_DISABLE_FUNCTION);
|
|
4719
4736
|
this.modifiers$ = this._disableRippleForItem.pipe(map((disableRippleForItem) => {
|
|
4720
|
-
|
|
4721
|
-
modifiers = {
|
|
4737
|
+
const modifiers = {
|
|
4722
4738
|
key: DBX_LIST_ITEM_DISABLE_RIPPLE_LIST_ITEM_MODIFIER_KEY,
|
|
4723
4739
|
modify: (x) => {
|
|
4724
4740
|
if (disableRippleForItem(x)) {
|
|
@@ -4827,7 +4843,7 @@ class AbstractDbxListViewDirective {
|
|
|
4827
4843
|
this._disabled = new BehaviorSubject(false);
|
|
4828
4844
|
this._selectionMode = new BehaviorSubject(undefined);
|
|
4829
4845
|
this._values$ = new BehaviorSubject(undefined);
|
|
4830
|
-
this.values$ = this._values$.pipe(switchMapMaybeObs(), shareReplay
|
|
4846
|
+
this.values$ = this._values$.pipe(switchMapMaybeObs(), shareReplay(1));
|
|
4831
4847
|
this.disabled$ = this._disabled.asObservable();
|
|
4832
4848
|
this.selectionMode$ = this._selectionMode.asObservable();
|
|
4833
4849
|
this.clickValue = new EventEmitter();
|
|
@@ -4863,7 +4879,7 @@ AbstractDbxListViewDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0
|
|
|
4863
4879
|
AbstractDbxListViewDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: AbstractDbxListViewDirective, inputs: { valueArray: "valueArray", values: "values" }, outputs: { clickValue: "clickValue" }, ngImport: i0 });
|
|
4864
4880
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AbstractDbxListViewDirective, decorators: [{
|
|
4865
4881
|
type: Directive
|
|
4866
|
-
}],
|
|
4882
|
+
}], propDecorators: { clickValue: [{
|
|
4867
4883
|
type: Output
|
|
4868
4884
|
}], valueArray: [{
|
|
4869
4885
|
type: Input
|
|
@@ -4925,7 +4941,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
4925
4941
|
*/
|
|
4926
4942
|
class DbxListViewWrapper {
|
|
4927
4943
|
}
|
|
4928
|
-
function
|
|
4944
|
+
function provideDbxListViewWrapper(sourceType) {
|
|
4929
4945
|
return [{
|
|
4930
4946
|
provide: DbxListViewWrapper,
|
|
4931
4947
|
useExisting: forwardRef(() => sourceType)
|
|
@@ -4941,7 +4957,7 @@ class DbxSectionHeaderComponent {
|
|
|
4941
4957
|
}
|
|
4942
4958
|
}
|
|
4943
4959
|
DbxSectionHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4944
|
-
DbxSectionHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxSectionHeaderComponent, selector: "
|
|
4960
|
+
DbxSectionHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxSectionHeaderComponent, selector: "dbx-section-header,.dbx-section-header", inputs: { h: "h", header: "header", icon: "icon", hint: "hint" }, ngImport: i0, template: `
|
|
4945
4961
|
<div class="dbx-section-header-content">
|
|
4946
4962
|
<ng-container [ngSwitch]="showTitle && (h ?? 1)">
|
|
4947
4963
|
<h1 *ngSwitchCase="1" class="dbx-section-header-content-title">
|
|
@@ -4971,7 +4987,7 @@ DbxSectionHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
4971
4987
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionHeaderComponent, decorators: [{
|
|
4972
4988
|
type: Component,
|
|
4973
4989
|
args: [{
|
|
4974
|
-
selector: '
|
|
4990
|
+
selector: 'dbx-section-header,.dbx-section-header',
|
|
4975
4991
|
template: `
|
|
4976
4992
|
<div class="dbx-section-header-content">
|
|
4977
4993
|
<ng-container [ngSwitch]="showTitle && (h ?? 1)">
|
|
@@ -5027,7 +5043,7 @@ DbxSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
5027
5043
|
<div class="dbx-section-content">
|
|
5028
5044
|
<ng-content></ng-content>
|
|
5029
5045
|
</div>
|
|
5030
|
-
`, isInline: true, components: [{ type: DbxSectionHeaderComponent, selector: "
|
|
5046
|
+
`, isInline: true, components: [{ type: DbxSectionHeaderComponent, selector: "dbx-section-header,.dbx-section-header", inputs: ["h", "header", "icon", "hint"] }] });
|
|
5031
5047
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionComponent, decorators: [{
|
|
5032
5048
|
type: Component,
|
|
5033
5049
|
args: [{
|
|
@@ -5125,7 +5141,7 @@ DbxSubSectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
5125
5141
|
<ng-content></ng-content>
|
|
5126
5142
|
</div>
|
|
5127
5143
|
</div>
|
|
5128
|
-
`, isInline: true, components: [{ type: DbxSectionHeaderComponent, selector: "
|
|
5144
|
+
`, isInline: true, components: [{ type: DbxSectionHeaderComponent, selector: "dbx-section-header,.dbx-section-header", inputs: ["h", "header", "icon", "hint"] }] });
|
|
5129
5145
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSubSectionComponent, decorators: [{
|
|
5130
5146
|
type: Component,
|
|
5131
5147
|
args: [{
|
|
@@ -5156,7 +5172,7 @@ DbxSectionPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
5156
5172
|
</div>
|
|
5157
5173
|
<ng-content></ng-content>
|
|
5158
5174
|
</div>
|
|
5159
|
-
`, isInline: true, components: [{ type: DbxSectionHeaderComponent, selector: "
|
|
5175
|
+
`, isInline: true, components: [{ type: DbxSectionHeaderComponent, selector: "dbx-section-header,.dbx-section-header", inputs: ["h", "header", "icon", "hint"] }] });
|
|
5160
5176
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxSectionPageComponent, decorators: [{
|
|
5161
5177
|
type: Component,
|
|
5162
5178
|
args: [{
|
|
@@ -5288,11 +5304,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5288
5304
|
class DbxIconSpacerDirective {
|
|
5289
5305
|
}
|
|
5290
5306
|
DbxIconSpacerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxIconSpacerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5291
|
-
DbxIconSpacerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxIconSpacerDirective, selector: "dbx-icon-spacer,dbxIconSpacer", host: { classAttribute: "dbx-icon-spacer d-inline" }, ngImport: i0 });
|
|
5307
|
+
DbxIconSpacerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxIconSpacerDirective, selector: "dbx-icon-spacer,[dbxIconSpacer]", host: { classAttribute: "dbx-icon-spacer d-inline" }, ngImport: i0 });
|
|
5292
5308
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxIconSpacerDirective, decorators: [{
|
|
5293
5309
|
type: Directive,
|
|
5294
5310
|
args: [{
|
|
5295
|
-
selector: 'dbx-icon-spacer,dbxIconSpacer',
|
|
5311
|
+
selector: 'dbx-icon-spacer,[dbxIconSpacer]',
|
|
5296
5312
|
host: {
|
|
5297
5313
|
class: 'dbx-icon-spacer d-inline'
|
|
5298
5314
|
}
|
|
@@ -5321,15 +5337,15 @@ class DbxLinkifyComponent {
|
|
|
5321
5337
|
constructor(sanitizer) {
|
|
5322
5338
|
this.sanitizer = sanitizer;
|
|
5323
5339
|
this._text = new BehaviorSubject('');
|
|
5324
|
-
this.linkifiedText$ = this._text.pipe(distinctUntilChanged
|
|
5340
|
+
this.linkifiedText$ = this._text.pipe(distinctUntilChanged(), map(x => linkifyStr(x, {
|
|
5325
5341
|
defaultProtocol: 'https',
|
|
5326
5342
|
target: {
|
|
5327
5343
|
url: '_blank'
|
|
5328
5344
|
}
|
|
5329
|
-
})), shareReplay
|
|
5330
|
-
this.linkifiedBody$ = this.linkifiedText$.pipe(map
|
|
5345
|
+
})), shareReplay(1));
|
|
5346
|
+
this.linkifiedBody$ = this.linkifiedText$.pipe(map(x => {
|
|
5331
5347
|
return this.sanitizer.bypassSecurityTrustHtml(x);
|
|
5332
|
-
}), shareReplay
|
|
5348
|
+
}), shareReplay(1));
|
|
5333
5349
|
}
|
|
5334
5350
|
ngOnDestroy() {
|
|
5335
5351
|
this._text.complete();
|
|
@@ -5627,8 +5643,8 @@ class DbxPopoverCoordinatorComponent {
|
|
|
5627
5643
|
constructor(service, popover) {
|
|
5628
5644
|
this.service = service;
|
|
5629
5645
|
this.popover = popover;
|
|
5630
|
-
this.isPopoverForKey$ = this.service.popovers$.pipe(map
|
|
5631
|
-
this.show$ = this.isPopoverForKey$.pipe(delay
|
|
5646
|
+
this.isPopoverForKey$ = this.service.popovers$.pipe(map(x => x.get(this.popover.key) === this.popover), shareReplay(1));
|
|
5647
|
+
this.show$ = this.isPopoverForKey$.pipe(delay(0));
|
|
5632
5648
|
}
|
|
5633
5649
|
ngOnInit() {
|
|
5634
5650
|
this.service.addPopover(this.popover);
|
|
@@ -5692,8 +5708,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5692
5708
|
type: Output,
|
|
5693
5709
|
args: ['dbxWindowKeyDownListener']
|
|
5694
5710
|
}], appWindowKeyDownFilter: [{
|
|
5695
|
-
type: Input
|
|
5696
|
-
args: ['appWindowKeyDownFilter']
|
|
5711
|
+
type: Input
|
|
5697
5712
|
}], handleKeyboardEvent: [{
|
|
5698
5713
|
type: HostListener,
|
|
5699
5714
|
args: ['window:keydown', ['$event']]
|
|
@@ -5717,7 +5732,7 @@ class DbxPopoverComponent extends AbstractTransitionWatcherDirective {
|
|
|
5717
5732
|
this._startedClosing = false;
|
|
5718
5733
|
this._closing = new Subject();
|
|
5719
5734
|
this._triggerCloseKeys = [];
|
|
5720
|
-
this.isClosing$ = this._closing.pipe(first
|
|
5735
|
+
this.isClosing$ = this._closing.pipe(first(), map(() => true), startWith(false), shareReplay(1));
|
|
5721
5736
|
this.closing$ = this.isClosing$.pipe(filter(x => x));
|
|
5722
5737
|
// Override Close to properly signal to listeners when a close is occuring.
|
|
5723
5738
|
const originalClose = this.popoverRef.close;
|
|
@@ -5729,7 +5744,8 @@ class DbxPopoverComponent extends AbstractTransitionWatcherDirective {
|
|
|
5729
5744
|
originalClose.call(this.popoverRef, x);
|
|
5730
5745
|
}
|
|
5731
5746
|
};
|
|
5732
|
-
|
|
5747
|
+
// eslint-disable-next-line
|
|
5748
|
+
const overlay = popoverRef._overlay; // overlay is not publically accessible
|
|
5733
5749
|
const elementRef = this.config.origin;
|
|
5734
5750
|
const configuration = this.config.configuration;
|
|
5735
5751
|
this.compactContextState.setMode(CompactMode.COMPACT);
|
|
@@ -5783,7 +5799,7 @@ class DbxPopoverComponent extends AbstractTransitionWatcherDirective {
|
|
|
5783
5799
|
this.popoverRef.close(value);
|
|
5784
5800
|
}
|
|
5785
5801
|
// Keypresses
|
|
5786
|
-
handleKeydown(
|
|
5802
|
+
handleKeydown() {
|
|
5787
5803
|
this.close();
|
|
5788
5804
|
}
|
|
5789
5805
|
}
|
|
@@ -5794,16 +5810,16 @@ DbxPopoverComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
5794
5810
|
}, {
|
|
5795
5811
|
provide: CompactContextStore
|
|
5796
5812
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
5797
|
-
<dbx-popover-coordinator (dbxWindowKeyDownListener)="handleKeydown(
|
|
5798
|
-
<div
|
|
5813
|
+
<dbx-popover-coordinator (dbxWindowKeyDownListener)="handleKeydown()" [appWindowKeyDownFilter]="triggerCloseKeys">
|
|
5814
|
+
<div dbxStyle class="dbx-popover-component" dbx-injection [config]="contentConfig"></div>
|
|
5799
5815
|
</dbx-popover-coordinator>
|
|
5800
|
-
`, 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, [
|
|
5816
|
+
`, 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" }] });
|
|
5801
5817
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverComponent, decorators: [{
|
|
5802
5818
|
type: Component,
|
|
5803
5819
|
args: [{
|
|
5804
5820
|
template: `
|
|
5805
|
-
<dbx-popover-coordinator (dbxWindowKeyDownListener)="handleKeydown(
|
|
5806
|
-
<div
|
|
5821
|
+
<dbx-popover-coordinator (dbxWindowKeyDownListener)="handleKeydown()" [appWindowKeyDownFilter]="triggerCloseKeys">
|
|
5822
|
+
<div dbxStyle class="dbx-popover-component" dbx-injection [config]="contentConfig"></div>
|
|
5807
5823
|
</dbx-popover-coordinator>
|
|
5808
5824
|
`,
|
|
5809
5825
|
providers: [{
|
|
@@ -5841,7 +5857,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
5841
5857
|
class DbxPopoverContentComponent {
|
|
5842
5858
|
constructor() {
|
|
5843
5859
|
this._height = new BehaviorSubject('');
|
|
5844
|
-
this.height$ = this._height.asObservable().pipe(throttleTime
|
|
5860
|
+
this.height$ = this._height.asObservable().pipe(throttleTime(100, undefined, { leading: true, trailing: true }));
|
|
5845
5861
|
this.hasControls = false;
|
|
5846
5862
|
this.hasHeader = false;
|
|
5847
5863
|
}
|
|
@@ -6147,11 +6163,11 @@ class DbxPopoverControlsDirective {
|
|
|
6147
6163
|
}
|
|
6148
6164
|
}
|
|
6149
6165
|
DbxPopoverControlsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverControlsDirective, deps: [{ token: DbxPopoverContentComponent, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6150
|
-
DbxPopoverControlsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxPopoverControlsDirective, selector: "dbx-popover-controls,[
|
|
6166
|
+
DbxPopoverControlsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxPopoverControlsDirective, selector: "dbx-popover-controls,[dbxPopoverControls],.dbx-popover-controls", host: { classAttribute: "d-block dbx-popover-controls" }, ngImport: i0 });
|
|
6151
6167
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopoverControlsDirective, decorators: [{
|
|
6152
6168
|
type: Directive,
|
|
6153
6169
|
args: [{
|
|
6154
|
-
selector: 'dbx-popover-controls,[
|
|
6170
|
+
selector: 'dbx-popover-controls,[dbxPopoverControls],.dbx-popover-controls',
|
|
6155
6171
|
host: {
|
|
6156
6172
|
'class': 'd-block dbx-popover-controls'
|
|
6157
6173
|
}
|
|
@@ -6263,7 +6279,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
6263
6279
|
|
|
6264
6280
|
class DbxPromptConfirm {
|
|
6265
6281
|
}
|
|
6266
|
-
function
|
|
6282
|
+
function provideDbxPromptConfirm(sourceType) {
|
|
6267
6283
|
return [{
|
|
6268
6284
|
provide: DbxPromptConfirm,
|
|
6269
6285
|
useExisting: forwardRef(() => sourceType)
|
|
@@ -6337,7 +6353,7 @@ class DbxPromptConfirmComponent {
|
|
|
6337
6353
|
}
|
|
6338
6354
|
}
|
|
6339
6355
|
DbxPromptConfirmComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPromptConfirmComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6340
|
-
DbxPromptConfirmComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxPromptConfirmComponent, selector: "dbx-prompt-confirm", inputs: { config: "config" }, outputs: { confirm: "confirm", cancel: "cancel" }, ngImport: i0, template: "<dbx-prompt [header]=\"config.title\" [prompt]=\"config.prompt\">\n <ng-content></ng-content>\n <button mat-stroked-button (click)=\"onConfirm()\">{{ config.confirmText || 'Confirm' }}</button>\n <dbx-button-spacer></dbx-button-spacer>\n <button mat-stroked-button color=\"warn\" (click)=\"onCancel()\">{{ config.cancelText || 'Cancel' }}</button>\n</dbx-prompt>\n", components: [{ type: DbxPromptComponent, selector: "dbx-prompt", inputs: ["header", "prompt"] }, { 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: DbxButtonSpacerDirective, selector: "dbx-button-spacer,dbxButtonSpacer" }] });
|
|
6356
|
+
DbxPromptConfirmComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.2", type: DbxPromptConfirmComponent, selector: "dbx-prompt-confirm", inputs: { config: "config" }, outputs: { confirm: "confirm", cancel: "cancel" }, ngImport: i0, template: "<dbx-prompt [header]=\"config.title\" [prompt]=\"config.prompt\">\n <ng-content></ng-content>\n <button mat-stroked-button (click)=\"onConfirm()\">{{ config.confirmText || 'Confirm' }}</button>\n <dbx-button-spacer></dbx-button-spacer>\n <button mat-stroked-button color=\"warn\" (click)=\"onCancel()\">{{ config.cancelText || 'Cancel' }}</button>\n</dbx-prompt>\n", components: [{ type: DbxPromptComponent, selector: "dbx-prompt", inputs: ["header", "prompt"] }, { 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: DbxButtonSpacerDirective, selector: "dbx-button-spacer,[dbxButtonSpacer]" }] });
|
|
6341
6357
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPromptConfirmComponent, decorators: [{
|
|
6342
6358
|
type: Component,
|
|
6343
6359
|
args: [{ selector: 'dbx-prompt-confirm', template: "<dbx-prompt [header]=\"config.title\" [prompt]=\"config.prompt\">\n <ng-content></ng-content>\n <button mat-stroked-button (click)=\"onConfirm()\">{{ config.confirmText || 'Confirm' }}</button>\n <dbx-button-spacer></dbx-button-spacer>\n <button mat-stroked-button color=\"warn\" (click)=\"onCancel()\">{{ config.cancelText || 'Cancel' }}</button>\n</dbx-prompt>\n" }]
|
|
@@ -6380,7 +6396,7 @@ DbxPromptConfirmDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
6380
6396
|
<dbx-injection [config]="injectionConfig"></dbx-injection>
|
|
6381
6397
|
</dbx-prompt-confirm>
|
|
6382
6398
|
</dbx-dialog-content>
|
|
6383
|
-
`, isInline: true, components: [{ type: DbxPromptConfirmComponent, selector: "dbx-prompt-confirm", inputs: ["config"], outputs: ["confirm", "cancel"] }, { type: i1$2.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }], directives: [{ type: DbxDialogContentDirective, selector: "dbx-dialog-content
|
|
6399
|
+
`, isInline: true, components: [{ type: DbxPromptConfirmComponent, selector: "dbx-prompt-confirm", inputs: ["config"], outputs: ["confirm", "cancel"] }, { type: i1$2.DbxInjectionComponent, selector: "dbx-injection, [dbxInjection], [dbx-injection]", inputs: ["config", "template"] }], directives: [{ type: DbxDialogContentDirective, selector: "dbx-dialog-content,[dbxDialogContent].dbx-dialog-content", inputs: ["width"] }] });
|
|
6384
6400
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPromptConfirmDialogComponent, decorators: [{
|
|
6385
6401
|
type: Component,
|
|
6386
6402
|
args: [{
|
|
@@ -6434,12 +6450,12 @@ class DbxPromptConfirmDirective extends AbstractPromptConfirmDirective {
|
|
|
6434
6450
|
}
|
|
6435
6451
|
}
|
|
6436
6452
|
DbxPromptConfirmDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPromptConfirmDirective, deps: [{ token: i1$3.MatDialog }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6437
|
-
DbxPromptConfirmDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxPromptConfirmDirective, selector: "[dbxPromptConfirm]", inputs: { config: ["dbxPromptConfirm", "config"] }, providers:
|
|
6453
|
+
DbxPromptConfirmDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.2", type: DbxPromptConfirmDirective, selector: "[dbxPromptConfirm]", inputs: { config: ["dbxPromptConfirm", "config"] }, providers: provideDbxPromptConfirm(DbxPromptConfirmDirective), usesInheritance: true, ngImport: i0 });
|
|
6438
6454
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPromptConfirmDirective, decorators: [{
|
|
6439
6455
|
type: Directive,
|
|
6440
6456
|
args: [{
|
|
6441
6457
|
selector: '[dbxPromptConfirm]',
|
|
6442
|
-
providers:
|
|
6458
|
+
providers: provideDbxPromptConfirm(DbxPromptConfirmDirective)
|
|
6443
6459
|
}]
|
|
6444
6460
|
}], ctorParameters: function () { return [{ type: i1$3.MatDialog }]; }, propDecorators: { config: [{
|
|
6445
6461
|
type: Input,
|
|
@@ -6523,7 +6539,7 @@ DbxPromptPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
6523
6539
|
<ng-content></ng-content>
|
|
6524
6540
|
</div>
|
|
6525
6541
|
</dbx-content-container>
|
|
6526
|
-
`, isInline: true, directives: [{ type: DbxContentContainerDirective, selector: "dbx-content-container,[
|
|
6542
|
+
`, isInline: true, directives: [{ type: DbxContentContainerDirective, selector: "dbx-content-container,[dbxContentContainer],.dbx-content-container", inputs: ["grow", "padding"] }] });
|
|
6527
6543
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPromptPageComponent, decorators: [{
|
|
6528
6544
|
type: Component,
|
|
6529
6545
|
args: [{
|
|
@@ -6549,7 +6565,7 @@ class DbxPromptConfirmButtonDirective {
|
|
|
6549
6565
|
this.appButton = appButton;
|
|
6550
6566
|
this.prompt = prompt;
|
|
6551
6567
|
this.interceptButtonClick = () => {
|
|
6552
|
-
return this.prompt.showDialog().pipe(map
|
|
6568
|
+
return this.prompt.showDialog().pipe(map(x => Boolean(x)));
|
|
6553
6569
|
};
|
|
6554
6570
|
}
|
|
6555
6571
|
ngOnInit() {
|
|
@@ -6885,10 +6901,10 @@ class AbstractPopoverRefDirective extends AbstractSubscriptionDirective {
|
|
|
6885
6901
|
});
|
|
6886
6902
|
}
|
|
6887
6903
|
_afterOpened(popoverRef) {
|
|
6888
|
-
// Do nothing.
|
|
6904
|
+
// Do nothing. Override in parent type
|
|
6889
6905
|
}
|
|
6890
6906
|
_afterClosed(value) {
|
|
6891
|
-
// Do nothing.
|
|
6907
|
+
// Do nothing. Override in parent type
|
|
6892
6908
|
}
|
|
6893
6909
|
}
|
|
6894
6910
|
AbstractPopoverRefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: AbstractPopoverRefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
@@ -7018,7 +7034,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
7018
7034
|
args: [{
|
|
7019
7035
|
providedIn: 'root'
|
|
7020
7036
|
}]
|
|
7021
|
-
}]
|
|
7037
|
+
}] });
|
|
7022
7038
|
|
|
7023
7039
|
/**
|
|
7024
7040
|
* Used for coordinating popups and closing/replacing existing ones when a new popup of the same name appears.
|
|
@@ -7027,8 +7043,8 @@ class DbxPopupCoordinatorComponent {
|
|
|
7027
7043
|
constructor(service, popup) {
|
|
7028
7044
|
this.service = service;
|
|
7029
7045
|
this.popup = popup;
|
|
7030
|
-
this.isPopupForKey$ = this.service.popups$.pipe(map
|
|
7031
|
-
this.show$ = this.isPopupForKey$.pipe(delay
|
|
7046
|
+
this.isPopupForKey$ = this.service.popups$.pipe(map(x => x.get(this.popup.key) === this.popup), shareReplay(1));
|
|
7047
|
+
this.show$ = this.isPopupForKey$.pipe(delay(0));
|
|
7032
7048
|
}
|
|
7033
7049
|
ngOnInit() {
|
|
7034
7050
|
this.service.addPopup(this.popup);
|
|
@@ -7073,7 +7089,7 @@ class DbxPopupComponent extends AbstractTransitionWatcherDirective {
|
|
|
7073
7089
|
init: this.config.init ? ((instance) => this.config.init(instance, this)) : undefined
|
|
7074
7090
|
};
|
|
7075
7091
|
this.closing = new Subject();
|
|
7076
|
-
this.isClosing$ = this.closing.pipe(first
|
|
7092
|
+
this.isClosing$ = this.closing.pipe(first(), map(() => true), startWith(false), shareReplay(1));
|
|
7077
7093
|
this.closing$ = this.isClosing$.pipe(filter(x => x));
|
|
7078
7094
|
this._windowState = new BehaviorSubject(DbxPopupWindowState.NORMAL);
|
|
7079
7095
|
this.windowState$ = this._windowState.asObservable();
|
|
@@ -7188,7 +7204,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
7188
7204
|
class DbxPopupContentComponent {
|
|
7189
7205
|
constructor(appPopupController) {
|
|
7190
7206
|
this.appPopupController = appPopupController;
|
|
7191
|
-
this.showContent$ = this.appPopupController.windowState$.pipe(map
|
|
7207
|
+
this.showContent$ = this.appPopupController.windowState$.pipe(map(x => x !== DbxPopupWindowState.MINIMIZED));
|
|
7192
7208
|
}
|
|
7193
7209
|
}
|
|
7194
7210
|
DbxPopupContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopupContentComponent, deps: [{ token: DbxPopupController }], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -7220,8 +7236,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
7220
7236
|
class DbxPopupControlButtonsComponent {
|
|
7221
7237
|
constructor(appPopupController) {
|
|
7222
7238
|
this.appPopupController = appPopupController;
|
|
7223
|
-
this.isMinimized$ = this.appPopupController.windowState$.pipe(map
|
|
7224
|
-
this.isFullscreen$ = this.appPopupController.windowState$.pipe(map
|
|
7239
|
+
this.isMinimized$ = this.appPopupController.windowState$.pipe(map(x => x === DbxPopupWindowState.MINIMIZED));
|
|
7240
|
+
this.isFullscreen$ = this.appPopupController.windowState$.pipe(map(x => x === DbxPopupWindowState.FULLSCREEN));
|
|
7225
7241
|
}
|
|
7226
7242
|
minimizeClicked() {
|
|
7227
7243
|
this.appPopupController.minimize();
|
|
@@ -7252,7 +7268,7 @@ DbxPopupControlButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion:
|
|
|
7252
7268
|
</ng-container>
|
|
7253
7269
|
<dbx-button-spacer></dbx-button-spacer>
|
|
7254
7270
|
<dbx-button [flat]="true" icon="close" color="warn" (buttonClick)="closeClicked()"></dbx-button>
|
|
7255
|
-
`, isInline: true, components: [{ type: DbxButtonComponent, selector: "dbx-button", inputs: ["type", "raised", "stroked", "flat", "color", "customButtonColor", "customTextColor", "customSpinnerColor"] }], directives: [{ type: i3$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: DbxButtonSpacerDirective, selector: "dbx-button-spacer,dbxButtonSpacer" }], pipes: { "async": i3$1.AsyncPipe } });
|
|
7271
|
+
`, isInline: true, components: [{ type: DbxButtonComponent, selector: "dbx-button", inputs: ["type", "raised", "stroked", "flat", "color", "customButtonColor", "customTextColor", "customSpinnerColor"] }], directives: [{ type: i3$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: DbxButtonSpacerDirective, selector: "dbx-button-spacer,[dbxButtonSpacer]" }], pipes: { "async": i3$1.AsyncPipe } });
|
|
7256
7272
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxPopupControlButtonsComponent, decorators: [{
|
|
7257
7273
|
type: Component,
|
|
7258
7274
|
args: [{
|
|
@@ -7506,7 +7522,7 @@ DbxActionUIRouterTransitionSafetyDialogComponent.ɵcmp = i0.ɵɵngDeclareCompone
|
|
|
7506
7522
|
<dbx-button-spacer></dbx-button-spacer>
|
|
7507
7523
|
</ng-container>
|
|
7508
7524
|
</dbx-prompt-confirm>
|
|
7509
|
-
`, isInline: true, components: [{ type: DbxPromptConfirmComponent, selector: "dbx-prompt-confirm", inputs: ["config"], outputs: ["confirm", "cancel"] }, { type: DbxReadableErrorComponent, selector: "dbx-error", inputs: ["error"] }, { type: DbxButtonComponent, selector: "dbx-button", inputs: ["type", "raised", "stroked", "flat", "color", "customButtonColor", "customTextColor", "customSpinnerColor"] }], directives: [{ type: DbxActionErrorDirective, selector: "[dbxActionError]" }, { type: i1$2.DbxActionButtonDirective, selector: "[dbxActionButton]" }, { type: DbxButtonSpacerDirective, selector: "dbx-button-spacer,dbxButtonSpacer" }] });
|
|
7525
|
+
`, isInline: true, components: [{ type: DbxPromptConfirmComponent, selector: "dbx-prompt-confirm", inputs: ["config"], outputs: ["confirm", "cancel"] }, { type: DbxReadableErrorComponent, selector: "dbx-error", inputs: ["error"] }, { type: DbxButtonComponent, selector: "dbx-button", inputs: ["type", "raised", "stroked", "flat", "color", "customButtonColor", "customTextColor", "customSpinnerColor"] }], directives: [{ type: DbxActionErrorDirective, selector: "[dbxActionError]" }, { type: i1$2.DbxActionButtonDirective, selector: "[dbxActionButton]" }, { type: DbxButtonSpacerDirective, selector: "dbx-button-spacer,[dbxButtonSpacer]" }] });
|
|
7510
7526
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImport: i0, type: DbxActionUIRouterTransitionSafetyDialogComponent, decorators: [{
|
|
7511
7527
|
type: Component,
|
|
7512
7528
|
args: [{
|
|
@@ -7556,13 +7572,13 @@ class DbxActionTransitionSafetyDirective {
|
|
|
7556
7572
|
this._closeDialog();
|
|
7557
7573
|
}
|
|
7558
7574
|
_handleOnBeforeTransition(transition) {
|
|
7559
|
-
return this.source.isModified$.pipe(first
|
|
7575
|
+
return this.source.isModified$.pipe(first(), mergeMap((isModified) => {
|
|
7560
7576
|
if (isModified) {
|
|
7561
7577
|
return race([
|
|
7562
7578
|
// Watch for success to occur. At that point, close everything.
|
|
7563
|
-
this.source.success$.pipe(first
|
|
7564
|
-
this._handleIsModifiedState(transition).pipe(first
|
|
7565
|
-
]).pipe(map
|
|
7579
|
+
this.source.success$.pipe(first(), map(() => [true, undefined])),
|
|
7580
|
+
this._handleIsModifiedState(transition).pipe(first(), map((x) => [undefined, x]))
|
|
7581
|
+
]).pipe(map(([saveSuccess, handleResult]) => {
|
|
7566
7582
|
if (saveSuccess) {
|
|
7567
7583
|
return true;
|
|
7568
7584
|
}
|
|
@@ -7570,7 +7586,7 @@ class DbxActionTransitionSafetyDirective {
|
|
|
7570
7586
|
return handleResult;
|
|
7571
7587
|
}
|
|
7572
7588
|
}), tap(() => this._closeDialog()), // Close dialog if it is still open.
|
|
7573
|
-
delay
|
|
7589
|
+
delay(10) // Delay to allow dialog to close before transition.
|
|
7574
7590
|
);
|
|
7575
7591
|
}
|
|
7576
7592
|
else {
|
|
@@ -7597,8 +7613,8 @@ class DbxActionTransitionSafetyDirective {
|
|
|
7597
7613
|
return obs;
|
|
7598
7614
|
}
|
|
7599
7615
|
_autoTrigger(transition) {
|
|
7600
|
-
return this.source.pipeStore((store) => store.state$.pipe(delay
|
|
7601
|
-
first
|
|
7616
|
+
return this.source.pipeStore((store) => store.state$.pipe(delay(20), // Prevent racing with auto-trigger.
|
|
7617
|
+
first(), mergeMap((state) => {
|
|
7602
7618
|
if (isIdleActionState(state.actionState)) {
|
|
7603
7619
|
// If we're in an idle state, get ready to trigger it.
|
|
7604
7620
|
if (canTriggerAction(state)) {
|
|
@@ -7607,7 +7623,7 @@ class DbxActionTransitionSafetyDirective {
|
|
|
7607
7623
|
}
|
|
7608
7624
|
// Watch for errors. If an error occurs, show the dialog.
|
|
7609
7625
|
// Success will cause the race in _handleOnBeforeTransition() to trigger and close everything.
|
|
7610
|
-
return store.rejected$.pipe(first
|
|
7626
|
+
return store.rejected$.pipe(first(), mergeMap(() => this._showDialog(transition)));
|
|
7611
7627
|
})));
|
|
7612
7628
|
}
|
|
7613
7629
|
_showDialog(transition) {
|
|
@@ -7619,7 +7635,7 @@ class DbxActionTransitionSafetyDirective {
|
|
|
7619
7635
|
viewContainerRef: this.viewContainerRef
|
|
7620
7636
|
});
|
|
7621
7637
|
}
|
|
7622
|
-
return this._dialogRef.afterClosed().pipe(first
|
|
7638
|
+
return this._dialogRef.afterClosed().pipe(first(), map((result = DbxActionTransitionSafetyDialogResult.STAY) => {
|
|
7623
7639
|
// Default to Stay if the user clicks outside.
|
|
7624
7640
|
switch (result) {
|
|
7625
7641
|
case DbxActionTransitionSafetyDialogResult.DISCARD:
|
|
@@ -7731,5 +7747,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.2", ngImpor
|
|
|
7731
7747
|
* Generated bundle index. Do not edit.
|
|
7732
7748
|
*/
|
|
7733
7749
|
|
|
7734
|
-
export { APP_POPUP_MINIMIZED_WIDTH, APP_POPUP_NORMAL_HEIGHT, APP_POPUP_NORMAL_WIDTH, AbstractDbxListViewDirective, AbstractDbxListWrapperDirective, AbstractDbxSegueAnchorDirective, AbstractDbxSelectionListViewDirective, AbstractDbxSelectionListWrapperDirective, AbstractDbxValueListItemModifierDirective, AbstractDbxValueListViewDirective, AbstractDbxValueListViewItemComponent, AbstractDialogDirective, AbstractFilterPopoverButtonDirective, AbstractPopoverDirective, AbstractPopoverRefDirective, AbstractPopoverRefWithEventsDirective, AbstractPopupDirective, AbstractPromptConfirmDirective, CompactContextStore, CompactMode, DBX_ACTION_SNACKBAR_DEFAULTS, DBX_ACTION_SNACKBAR_SERVICE_CONFIG, DBX_LIST_ITEM_DEFAULT_DISABLE_FUNCTION, DBX_LIST_ITEM_DISABLE_RIPPLE_LIST_ITEM_MODIFIER_KEY, DBX_MAT_PROGRESS_BUTTON_GLOBAL_CONFIG, DBX_ROUTER_VALUE_LIST_ITEM_MODIFIER_KEY, DBX_STYLE_DEFAULT_CONFIG_TOKEN, DBX_VALUE_LIST_VIEW_ITEM, DEFAULT_DBX_PROMPT_CONFIRM_DIALOG_CONFIG, DEFAULT_DBX_SELECTION_VALUE_LIST_DIRECTIVE_TEMPLATE, DEFAULT_DBX_VALUE_LIST_CONFIG_MAP_VALUES, DEFAULT_FILTER_POPOVER_KEY, DEFAULT_LIST_WRAPPER_DIRECTIVE_TEMPLATE, DEFAULT_LOADING_PROGRESS_DIAMETER, DEFAULT_SCREEN_MEDIA_SERVICE_CONFIG, DEFAULT_SNACKBAR_DIRECTIVE_DURATION, DEFAULT_STATIC_LIST_DIRECTIVE_TEMPLATE, DbxActionConfirmDirective, DbxActionDialogDirective, DbxActionErrorDirective, DbxActionKeyTriggerDirective, DbxActionLoadingContextDirective, DbxActionModule, DbxActionPopoverDirective, DbxActionProgressComponent, DbxActionSnackbarComponent, DbxActionSnackbarDirective, DbxActionSnackbarModule, DbxActionSnackbarService, DbxActionTransitionSafetyDialogResult, DbxActionTransitionSafetyDirective, DbxActionUIRouterTransitionModule, DbxActionUIRouterTransitionSafetyDialogComponent, DbxAnchorComponent, DbxAnchorContentComponent, DbxAnchorIconComponent, DbxAnchorLinkComponent, DbxAnchorListComponent, DbxAngularRouterSegueAnchorComponent, DbxBarButtonComponent, DbxBarDirective, DbxBarHeaderComponent, DbxBarLayoutModule, DbxBasicLoadingComponent, DbxBlockLayoutModule, DbxButtonComponent, DbxButtonDisplayType, DbxButtonModule, DbxButtonSpacerDirective, DbxCardBoxComponent, DbxCardBoxContainerComponent, DbxCardBoxLayoutModule, DbxColumnLayoutModule, DbxCompactDirective, DbxCompactLayoutModule, DbxContentBorderDirective, DbxContentBoxDirective, DbxContentContainerDirective, DbxContentDirective, DbxContentElevateDirective, DbxContentLayoutModule, DbxContentPageDirective, DbxDialogContentDirective, DbxDialogInteractionModule, DbxFilterInteractionModule, DbxFilterPopoverButtonComponent, DbxFilterPopoverComponent, DbxFilterWrapperComponent, DbxFlagComponent, DbxFlagLayoutModule, DbxFlagPromptComponent, DbxFlexGroupDirective, DbxFlexLayoutModule, DbxFlexSizeDirective, DbxHintComponent, DbxIconItemComponent, DbxIconSpacerDirective, DbxInteractionModule, DbxIntroActionSectionComponent, DbxItemLayoutModule, DbxKeypressModule, DbxLabelComponent, DbxLayoutModule, DbxLinkifyComponent, DbxListComponent, DbxListEmptyContentComponent, DbxListInternalContentDirective, DbxListItemAnchorModifierDirective, DbxListItemDisableRippleModifierDirective, DbxListLayoutModule, DbxListView, DbxListViewWrapper, DbxLoadingComponent, DbxLoadingErrorDirective, DbxLoadingModule, DbxLoadingProgressComponent, DbxNavbarComponent, DbxNoteComponent, DbxNoticeComponent, DbxOkComponent, DbxOneColumnComponent, DbxOneColumnLayoutModule, DbxPagebarComponent, DbxPopoverComponent, DbxPopoverComponentController, DbxPopoverContentComponent, DbxPopoverController, DbxPopoverControlsDirective, DbxPopoverCoordinatorComponent, DbxPopoverCoordinatorService, DbxPopoverHeaderComponent, DbxPopoverInteractionModule, DbxPopoverScrollContentComponent, DbxPopoverService, DbxPopupComponent, DbxPopupComponentController, DbxPopupContentComponent, DbxPopupControlButtonsComponent, DbxPopupController, DbxPopupControlsComponent, DbxPopupCoordinatorComponent, DbxPopupCoordinatorService, DbxPopupInteractionModule, DbxPopupService, DbxPopupWindowState, DbxProgressButtonsModule, DbxPromptBoxComponent, DbxPromptComponent, DbxPromptConfirm, DbxPromptConfirmButtonDirective, DbxPromptConfirmComponent, DbxPromptConfirmDialogComponent, DbxPromptConfirmDirective, DbxPromptConfirmTypes, DbxPromptModule, DbxPromptPageComponent, DbxReadableErrorComponent, DbxReadableErrorModule, DbxRouterAnchorListModule, DbxRouterAnchorModule, DbxRouterLayoutModule, DbxRouterListModule, DbxRouterNavbarModule, DbxRouterSidenavModule, DbxRouterWebProviderConfig, DbxScreenMediaService, DbxScreenMediaServiceConfig, DbxScreenModule, DbxSectionComponent, DbxSectionHeaderComponent, DbxSectionLayoutModule, DbxSectionPageComponent, DbxSelectionValueListItemViewComponent, DbxSelectionValueListViewComponent, DbxSetStyleDirective, DbxSidenavButtonComponent, DbxSidenavComponent, DbxSidenavPageComponent, DbxSidenavPagebarComponent, DbxSpacerDirective, DbxSpinnerButtonComponent, DbxStepComponent, DbxStepLayoutModule, DbxStyleBodyDirective, DbxStyleDirective, DbxStyleLayoutModule, DbxStyleService, DbxSubSectionComponent, DbxSuccessComponent, DbxTextChipsComponent, DbxTextModule, DbxTwoBlocksComponent, DbxTwoColumnBackDirective, DbxTwoColumnColumnHeadComponent, DbxTwoColumnComponent, DbxTwoColumnContextDirective, DbxTwoColumnFullLeftDirective, DbxTwoColumnLayoutModule, DbxTwoColumnRightComponent, DbxTwoColumnSrefDirective, DbxUIRouterSegueAnchorComponent, DbxValueListItemModifier, DbxValueListItemModifierDirective, DbxValueListItemViewComponent, DbxValueListView, DbxValueListViewComponent, DbxWarnComponent, DbxWebAngularRouterModule, DbxWebModule, DbxWebRootModule, DbxWebUIRouterModule, DbxWindowKeyDownListenerDirective, LoadingComponentState, PopoverPositionStrategy, PopupGlobalPositionStrategy,
|
|
7750
|
+
export { APP_POPUP_MINIMIZED_WIDTH, APP_POPUP_NORMAL_HEIGHT, APP_POPUP_NORMAL_WIDTH, AbstractDbxListViewDirective, AbstractDbxListWrapperDirective, AbstractDbxSegueAnchorDirective, AbstractDbxSelectionListViewDirective, AbstractDbxSelectionListWrapperDirective, AbstractDbxValueListItemModifierDirective, AbstractDbxValueListViewDirective, AbstractDbxValueListViewItemComponent, AbstractDialogDirective, AbstractFilterPopoverButtonDirective, AbstractPopoverDirective, AbstractPopoverRefDirective, AbstractPopoverRefWithEventsDirective, AbstractPopupDirective, AbstractPromptConfirmDirective, CompactContextStore, CompactMode, DBX_ACTION_SNACKBAR_DEFAULTS, DBX_ACTION_SNACKBAR_SERVICE_CONFIG, DBX_LIST_ITEM_DEFAULT_DISABLE_FUNCTION, DBX_LIST_ITEM_DISABLE_RIPPLE_LIST_ITEM_MODIFIER_KEY, DBX_MAT_PROGRESS_BUTTON_GLOBAL_CONFIG, DBX_ROUTER_VALUE_LIST_ITEM_MODIFIER_KEY, DBX_STYLE_DEFAULT_CONFIG_TOKEN, DBX_VALUE_LIST_VIEW_ITEM, DEFAULT_DBX_PROMPT_CONFIRM_DIALOG_CONFIG, DEFAULT_DBX_SELECTION_VALUE_LIST_DIRECTIVE_TEMPLATE, DEFAULT_DBX_VALUE_LIST_CONFIG_MAP_VALUES, DEFAULT_FILTER_POPOVER_KEY, DEFAULT_LIST_WRAPPER_DIRECTIVE_TEMPLATE, DEFAULT_LOADING_PROGRESS_DIAMETER, DEFAULT_SCREEN_MEDIA_SERVICE_CONFIG, DEFAULT_SNACKBAR_DIRECTIVE_DURATION, DEFAULT_STATIC_LIST_DIRECTIVE_TEMPLATE, DbxActionConfirmDirective, DbxActionDialogDirective, DbxActionErrorDirective, DbxActionKeyTriggerDirective, DbxActionLoadingContextDirective, DbxActionModule, DbxActionPopoverDirective, DbxActionProgressComponent, DbxActionSnackbarComponent, DbxActionSnackbarDirective, DbxActionSnackbarModule, DbxActionSnackbarService, DbxActionTransitionSafetyDialogResult, DbxActionTransitionSafetyDirective, DbxActionUIRouterTransitionModule, DbxActionUIRouterTransitionSafetyDialogComponent, DbxAnchorComponent, DbxAnchorContentComponent, DbxAnchorIconComponent, DbxAnchorLinkComponent, DbxAnchorListComponent, DbxAngularRouterSegueAnchorComponent, DbxBarButtonComponent, DbxBarDirective, DbxBarHeaderComponent, DbxBarLayoutModule, DbxBasicLoadingComponent, DbxBlockLayoutModule, DbxButtonComponent, DbxButtonDisplayType, DbxButtonModule, DbxButtonSpacerDirective, DbxCardBoxComponent, DbxCardBoxContainerComponent, DbxCardBoxLayoutModule, DbxColumnLayoutModule, DbxCompactDirective, DbxCompactLayoutModule, DbxContentBorderDirective, DbxContentBoxDirective, DbxContentContainerDirective, DbxContentDirective, DbxContentElevateDirective, DbxContentLayoutModule, DbxContentPageDirective, DbxDialogContentDirective, DbxDialogInteractionModule, DbxFilterInteractionModule, DbxFilterPopoverButtonComponent, DbxFilterPopoverComponent, DbxFilterWrapperComponent, DbxFlagComponent, DbxFlagLayoutModule, DbxFlagPromptComponent, DbxFlexGroupDirective, DbxFlexLayoutModule, DbxFlexSizeDirective, DbxHintComponent, DbxIconItemComponent, DbxIconSpacerDirective, DbxInteractionModule, DbxIntroActionSectionComponent, DbxItemLayoutModule, DbxKeypressModule, DbxLabelComponent, DbxLayoutModule, DbxLinkifyComponent, DbxListComponent, DbxListEmptyContentComponent, DbxListInternalContentDirective, DbxListItemAnchorModifierDirective, DbxListItemDisableRippleModifierDirective, DbxListLayoutModule, DbxListView, DbxListViewWrapper, DbxLoadingComponent, DbxLoadingErrorDirective, DbxLoadingModule, DbxLoadingProgressComponent, DbxNavbarComponent, DbxNoteComponent, DbxNoticeComponent, DbxOkComponent, DbxOneColumnComponent, DbxOneColumnLayoutModule, DbxPagebarComponent, DbxPopoverComponent, DbxPopoverComponentController, DbxPopoverContentComponent, DbxPopoverController, DbxPopoverControlsDirective, DbxPopoverCoordinatorComponent, DbxPopoverCoordinatorService, DbxPopoverHeaderComponent, DbxPopoverInteractionModule, DbxPopoverScrollContentComponent, DbxPopoverService, DbxPopupComponent, DbxPopupComponentController, DbxPopupContentComponent, DbxPopupControlButtonsComponent, DbxPopupController, DbxPopupControlsComponent, DbxPopupCoordinatorComponent, DbxPopupCoordinatorService, DbxPopupInteractionModule, DbxPopupService, DbxPopupWindowState, DbxProgressButtonsModule, DbxPromptBoxComponent, DbxPromptComponent, DbxPromptConfirm, DbxPromptConfirmButtonDirective, DbxPromptConfirmComponent, DbxPromptConfirmDialogComponent, DbxPromptConfirmDirective, DbxPromptConfirmTypes, DbxPromptModule, DbxPromptPageComponent, DbxReadableErrorComponent, DbxReadableErrorModule, DbxRouterAnchorListModule, DbxRouterAnchorModule, DbxRouterLayoutModule, DbxRouterListModule, DbxRouterNavbarModule, DbxRouterSidenavModule, DbxRouterWebProviderConfig, DbxScreenMediaService, DbxScreenMediaServiceConfig, DbxScreenModule, DbxSectionComponent, DbxSectionHeaderComponent, DbxSectionLayoutModule, DbxSectionPageComponent, DbxSelectionValueListItemViewComponent, DbxSelectionValueListViewComponent, DbxSetStyleDirective, DbxSidenavButtonComponent, DbxSidenavComponent, DbxSidenavPageComponent, DbxSidenavPagebarComponent, DbxSpacerDirective, DbxSpinnerButtonComponent, DbxStepComponent, DbxStepLayoutModule, DbxStyleBodyDirective, DbxStyleDirective, DbxStyleLayoutModule, DbxStyleService, DbxSubSectionComponent, DbxSuccessComponent, DbxTextChipsComponent, DbxTextModule, DbxTwoBlocksComponent, DbxTwoColumnBackDirective, DbxTwoColumnColumnHeadComponent, DbxTwoColumnComponent, DbxTwoColumnContextDirective, DbxTwoColumnFullLeftDirective, DbxTwoColumnLayoutModule, DbxTwoColumnRightComponent, DbxTwoColumnSrefDirective, DbxUIRouterSegueAnchorComponent, DbxValueListItemModifier, DbxValueListItemModifierDirective, DbxValueListItemViewComponent, DbxValueListView, DbxValueListViewComponent, DbxWarnComponent, DbxWebAngularRouterModule, DbxWebModule, DbxWebRootModule, DbxWebUIRouterModule, DbxWindowKeyDownListenerDirective, LoadingComponentState, PopoverPositionStrategy, PopupGlobalPositionStrategy, SCREEN_MEDIA_WIDTH_TYPE_SIZE_MAP, SideNavDisplayMode, TwoColumnsContextStore, addConfigToValueListItems, catchErrorServerParams, compactModeFromInput, compareScreenMediaWidthTypes, convertServerErrorParams, convertToPOJOServerErrorResponse, convertToServerErrorResponse, listItemModifier, makeDbxActionSnackbarDisplayConfigGeneratorFunction, mapCompactModeObs, mapValuesToValuesListItemConfigObs, provideDbxListView, provideDbxListViewWrapper, provideDbxPromptConfirm, provideDbxValueListView, provideDbxValueListViewModifier, provideTwoColumnsContext, screenMediaWidthTypeIsActive };
|
|
7735
7751
|
//# sourceMappingURL=dereekb-dbx-web.mjs.map
|