@dereekb/dbx-web 10.1.4 → 10.1.5
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/calendar/package.json +1 -1
- package/esm2022/lib/action/snackbar/action.snackbar.component.mjs +7 -7
- package/esm2022/lib/action/snackbar/action.snackbar.module.mjs +4 -3
- package/esm2022/lib/action/snackbar/action.snackbar.service.mjs +3 -4
- package/esm2022/lib/action/transition/transition.safety.dialog.component.mjs +1 -1
- package/esm2022/lib/button/progress/spinner.button.component.mjs +2 -2
- package/esm2022/lib/error/default.error.widget.component.mjs +3 -1
- package/esm2022/lib/error/error.api.mjs +1 -1
- package/esm2022/lib/error/error.component.mjs +25 -9
- package/esm2022/lib/error/error.module.mjs +9 -1
- package/esm2022/lib/error/error.snackbar.action.directive.mjs +37 -0
- package/esm2022/lib/error/error.snackbar.component.mjs +71 -0
- package/esm2022/lib/error/error.snackbar.service.mjs +41 -0
- package/esm2022/lib/error/error.widget.component.mjs +10 -1
- package/esm2022/lib/error/error.widget.service.mjs +22 -2
- package/esm2022/lib/error/index.mjs +4 -1
- package/esm2022/lib/extension/download/text/download.text.component.mjs +2 -2
- package/esm2022/lib/layout/column/two/two.column.right.component.mjs +7 -4
- package/esm2022/lib/layout/list/list.view.value.group.title.directive.mjs +16 -15
- package/esm2022/lib/layout/list/list.view.value.group.title.mjs +1 -1
- package/esm2022/lib/loading/basic-loading.component.mjs +1 -1
- package/fesm2022/dereekb-dbx-web.mjs +253 -71
- package/fesm2022/dereekb-dbx-web.mjs.map +1 -1
- package/lib/action/snackbar/action.snackbar.component.d.ts +2 -2
- package/lib/button/progress/spinner.button.component.scss +1 -1
- package/lib/error/_error.scss +27 -1
- package/lib/error/error.component.d.ts +7 -2
- package/lib/error/error.module.d.ts +14 -12
- package/lib/error/error.snackbar.action.directive.d.ts +18 -0
- package/lib/error/error.snackbar.component.d.ts +40 -0
- package/lib/error/error.snackbar.service.d.ts +17 -0
- package/lib/error/error.widget.service.d.ts +10 -0
- package/lib/error/index.d.ts +3 -0
- package/lib/extension/download/text/download.text.component.d.ts +3 -3
- package/lib/layout/column/_column.scss +1 -1
- package/lib/layout/column/two/two.column.right.component.d.ts +2 -1
- package/lib/layout/list/_list.scss +2 -3
- package/lib/layout/list/list.view.value.group.title.d.ts +4 -0
- package/mapbox/package.json +1 -1
- package/package.json +1 -2
- package/table/package.json +1 -1
|
@@ -4,12 +4,11 @@ import { filterMaybe, LoadingStateType, loadingStateType, distinctUntilItemsHave
|
|
|
4
4
|
import { BehaviorSubject, map, combineLatest, distinctUntilChanged, shareReplay, first, Subject, of, switchMap, startWith, filter, delay, throttleTime, skip, defaultIfEmpty, 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 { spaceSeparatedCssClasses, MS_IN_SECOND, getValueFromGetter, mergeObjects, cssClassesSet, splitCommaSeparatedStringToSet, asPromise, objectHasNoKeys, modifier, combineMaps, addModifiers, removeModifiers, applyBestFit, findNext, filterMaybeValues, asArray, firstValue, filterUndefinedValues, isMaybeNot, isNotNullOrEmptyString, mapIterable, toReadableError, isDefaultReadableError, build, ServerErrorResponse, UnauthorizedServerErrorResponse, TimerInstance, MS_IN_MINUTE, toggleTimerRunning, maybeModifierMapToFunction, makeValuesGroupMap, compareWithMappedValuesFunction, ModelRelationUtility, encodeModelKeyTypePair, useIterableOrValue } from '@dereekb/util';
|
|
7
8
|
import * as i1$2 from '@dereekb/dbx-core';
|
|
8
9
|
import { AbstractSubscriptionDirective, safeMarkForCheck, AbstractDbxButtonDirective, provideDbxButton, DbxCoreButtonModule, AbstractTransitionWatcherDirective, AbstractDbxActionValueOnTriggerDirective, safeDetectChanges, DbxInjectionComponentModule, AbstractDbxActionHandlerDirective, provideActionStoreSource, isClickableFilterPreset, AbstractDbxAnchorDirective, expandClickableAnchorLinkTrees, AbstractTransitionDirective, tapDetectChanges, AbstractIfDirective, DbxCoreFilterModule, asSegueRef, isSegueRefActive, DBX_INJECTION_COMPONENT_DATA, checkNgContentWrapperHasContent, tapSafeMarkForCheck, anchorTypeForAnchor, AnchorType, DbxCoreActionModule, isIdleActionState, canTriggerAction, onDbxAppAuth, SimpleStorageAccessorFactory } from '@dereekb/dbx-core';
|
|
9
|
-
import ms from 'ms';
|
|
10
10
|
import * as i1 from '@angular/common';
|
|
11
11
|
import { CommonModule } from '@angular/common';
|
|
12
|
-
import { spaceSeparatedCssClasses, getValueFromGetter, mergeObjects, cssClassesSet, splitCommaSeparatedStringToSet, asPromise, objectHasNoKeys, modifier, combineMaps, addModifiers, removeModifiers, applyBestFit, findNext, filterMaybeValues, asArray, firstValue, filterUndefinedValues, isMaybeNot, isNotNullOrEmptyString, mapIterable, toReadableError, isDefaultReadableError, build, ServerErrorResponse, UnauthorizedServerErrorResponse, maybeModifierMapToFunction, makeValuesGroupMap, compareWithMappedValuesFunction, ModelRelationUtility, encodeModelKeyTypePair, useIterableOrValue, MS_IN_SECOND } from '@dereekb/util';
|
|
13
12
|
import * as i2 from '@angular/material/button';
|
|
14
13
|
import { MatButtonModule } from '@angular/material/button';
|
|
15
14
|
import * as i3 from '@angular/material/progress-spinner';
|
|
@@ -232,11 +231,11 @@ class DbxSpinnerButtonComponent extends AbstractProgressButtonDirective {
|
|
|
232
231
|
return size;
|
|
233
232
|
}
|
|
234
233
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxSpinnerButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
235
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxSpinnerButtonComponent, selector: "dbx-spinner-button", viewQueries: [{ propertyName: "buttonRef", first: true, predicate: ["button"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "<button class=\"dbx-base-button dbx-spinner-button\" #button mat-button [type]=\"options.type\" [color]=\"options.buttonColor\" [ngClass]=\"buttonCss$ | async\" [ngStyle]=\"options.customStyle!\" [disabled]=\"options.working || options.disabled\">\n <ng-container *ngIf=\"showText\">\n <ng-container *ngIf=\"options.buttonIcon\">\n <mat-icon class=\"mat-button-icon\" [class.is-mat-icon]=\"!options.buttonIcon.fontSet\" [class.working]=\"options.working && !options.disabled\" [ngClass]=\"options.buttonIcon.customClass!\" [fontSet]=\"options.buttonIcon.fontSet!\" [fontIcon]=\"options.buttonIcon.fontIcon!\" [color]=\"options.buttonIcon.color!\" [svgIcon]=\"options.buttonIcon.svgIcon!\">\n {{ options.buttonIcon.fontSet ? '' : options.buttonIcon.fontIcon }}\n </mat-icon>\n </ng-container>\n\n <span class=\"button-text\" [class.working]=\"options.working && !options.disabled\">\n {{ options.text }}\n <ng-content></ng-content>\n </span>\n </ng-container>\n\n <ng-container *ngIf=\"!showText && options.buttonIcon\">\n <mat-icon class=\"mat-fab-icon\" [fontSet]=\"options.buttonIcon.fontSet!\" [fontIcon]=\"options.buttonIcon.fontIcon!\" [color]=\"options.buttonIcon.color!\" [svgIcon]=\"options.buttonIcon.svgIcon!\" [inline]=\"options.fab && options.buttonIcon.inline!\">\n {{ options.buttonIcon.fontSet ? '' : options.buttonIcon.fontIcon }}\n </mat-icon>\n </ng-container>\n\n <mat-spinner class=\"spinner\" *ngIf=\"options.working && !options.disabled\" [diameter]=\"calcSpinnerSize()\" [color]=\"options.spinnerColor!\" [mode]=\"options.mode!\" [value]=\"options.value!\" [ngStyle]=\"customSpinnerStyle!\" [ngClass]=\"{ 'dbx-spinner-custom': customSpinnerStyle! }\" [class.working]=\"options.working && !options.disabled\"></mat-spinner>\n</button>\n", styles: [":host button{min-height:36px;height:unset;outline:none}:host button.working{cursor:not-allowed}:host button ::ng-deep .mdc-button__label{display:flex;align-items:center;justify-content:center}:host button.mat-mdc-button.mat-mdc-icon-button{min-width:unset;--mdc-icon-button-icon-size: unset}:host button.fullWidth{width:100%}:host button .spinner{position:absolute;opacity:0;transition:opacity .3s ease-in-out}:host button .spinner.working{opacity:1}:host button .dbx-spinner-custom.mat-progress-spinner.mat-accent circle,:host button .dbx-spinner-custom.mat-spinner.mat-accent circle{stroke:unset!important}:host button .button-text{opacity:1;transition:opacity .3s ease-in-out}:host button .button-text.working{opacity:0}:host button mat-icon.mat-button-icon{padding-right:5px;transition:opacity .3s ease-in-out}:host button mat-icon.mat-button-icon.is-mat-icon{font-size:18px;position:relative;top:3px}:host button mat-icon.mat-button-icon.working{opacity:0}\n", ":host button.mat-mdc-button .button-text{display:flex;align-items:center}:host button.mat-mdc-button mat-icon.mat-button-icon.mat-icon.mat-ligature-font[fontIcon]:before,:host button.mat-mdc-button mat-icon.mat-fab-icon.mat-icon.mat-ligature-font[fontIcon]:before{content:unset}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i3.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
234
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxSpinnerButtonComponent, selector: "dbx-spinner-button", viewQueries: [{ propertyName: "buttonRef", first: true, predicate: ["button"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "<button class=\"dbx-base-button dbx-spinner-button\" #button mat-button [type]=\"options.type\" [color]=\"options.buttonColor\" [ngClass]=\"buttonCss$ | async\" [ngStyle]=\"options.customStyle!\" [disabled]=\"options.working || options.disabled\">\n <ng-container *ngIf=\"showText\">\n <ng-container *ngIf=\"options.buttonIcon\">\n <mat-icon class=\"mat-button-icon\" [class.is-mat-icon]=\"!options.buttonIcon.fontSet\" [class.working]=\"options.working && !options.disabled\" [ngClass]=\"options.buttonIcon.customClass!\" [fontSet]=\"options.buttonIcon.fontSet!\" [fontIcon]=\"options.buttonIcon.fontIcon!\" [color]=\"options.buttonIcon.color!\" [svgIcon]=\"options.buttonIcon.svgIcon!\">\n {{ options.buttonIcon.fontSet ? '' : options.buttonIcon.fontIcon }}\n </mat-icon>\n </ng-container>\n\n <span class=\"button-text\" [class.working]=\"options.working && !options.disabled\">\n {{ options.text }}\n <ng-content></ng-content>\n </span>\n </ng-container>\n\n <ng-container *ngIf=\"!showText && options.buttonIcon\">\n <mat-icon class=\"mat-fab-icon\" [fontSet]=\"options.buttonIcon.fontSet!\" [fontIcon]=\"options.buttonIcon.fontIcon!\" [color]=\"options.buttonIcon.color!\" [svgIcon]=\"options.buttonIcon.svgIcon!\" [inline]=\"options.fab && options.buttonIcon.inline!\">\n {{ options.buttonIcon.fontSet ? '' : options.buttonIcon.fontIcon }}\n </mat-icon>\n </ng-container>\n\n <mat-spinner class=\"spinner\" *ngIf=\"options.working && !options.disabled\" [diameter]=\"calcSpinnerSize()\" [color]=\"options.spinnerColor!\" [mode]=\"options.mode!\" [value]=\"options.value!\" [ngStyle]=\"customSpinnerStyle!\" [ngClass]=\"{ 'dbx-spinner-custom': customSpinnerStyle! }\" [class.working]=\"options.working && !options.disabled\"></mat-spinner>\n</button>\n", styles: [":host button{min-height:36px;height:unset;outline:none}:host button.working{cursor:not-allowed}:host button ::ng-deep .mdc-button__label{display:flex;align-items:center;justify-content:center}:host button.mat-mdc-button.mat-mdc-icon-button{min-width:unset;--mdc-icon-button-icon-size: unset;border-radius:50%}:host button.fullWidth{width:100%}:host button .spinner{position:absolute;opacity:0;transition:opacity .3s ease-in-out}:host button .spinner.working{opacity:1}:host button .dbx-spinner-custom.mat-progress-spinner.mat-accent circle,:host button .dbx-spinner-custom.mat-spinner.mat-accent circle{stroke:unset!important}:host button .button-text{opacity:1;transition:opacity .3s ease-in-out}:host button .button-text.working{opacity:0}:host button mat-icon.mat-button-icon{padding-right:5px;transition:opacity .3s ease-in-out}:host button mat-icon.mat-button-icon.is-mat-icon{font-size:18px;position:relative;top:3px}:host button mat-icon.mat-button-icon.working{opacity:0}\n", ":host button.mat-mdc-button .button-text{display:flex;align-items:center}:host button.mat-mdc-button mat-icon.mat-button-icon.mat-icon.mat-ligature-font[fontIcon]:before,:host button.mat-mdc-button mat-icon.mat-fab-icon.mat-icon.mat-ligature-font[fontIcon]:before{content:unset}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i3.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
236
235
|
}
|
|
237
236
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxSpinnerButtonComponent, decorators: [{
|
|
238
237
|
type: Component,
|
|
239
|
-
args: [{ selector: 'dbx-spinner-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button class=\"dbx-base-button dbx-spinner-button\" #button mat-button [type]=\"options.type\" [color]=\"options.buttonColor\" [ngClass]=\"buttonCss$ | async\" [ngStyle]=\"options.customStyle!\" [disabled]=\"options.working || options.disabled\">\n <ng-container *ngIf=\"showText\">\n <ng-container *ngIf=\"options.buttonIcon\">\n <mat-icon class=\"mat-button-icon\" [class.is-mat-icon]=\"!options.buttonIcon.fontSet\" [class.working]=\"options.working && !options.disabled\" [ngClass]=\"options.buttonIcon.customClass!\" [fontSet]=\"options.buttonIcon.fontSet!\" [fontIcon]=\"options.buttonIcon.fontIcon!\" [color]=\"options.buttonIcon.color!\" [svgIcon]=\"options.buttonIcon.svgIcon!\">\n {{ options.buttonIcon.fontSet ? '' : options.buttonIcon.fontIcon }}\n </mat-icon>\n </ng-container>\n\n <span class=\"button-text\" [class.working]=\"options.working && !options.disabled\">\n {{ options.text }}\n <ng-content></ng-content>\n </span>\n </ng-container>\n\n <ng-container *ngIf=\"!showText && options.buttonIcon\">\n <mat-icon class=\"mat-fab-icon\" [fontSet]=\"options.buttonIcon.fontSet!\" [fontIcon]=\"options.buttonIcon.fontIcon!\" [color]=\"options.buttonIcon.color!\" [svgIcon]=\"options.buttonIcon.svgIcon!\" [inline]=\"options.fab && options.buttonIcon.inline!\">\n {{ options.buttonIcon.fontSet ? '' : options.buttonIcon.fontIcon }}\n </mat-icon>\n </ng-container>\n\n <mat-spinner class=\"spinner\" *ngIf=\"options.working && !options.disabled\" [diameter]=\"calcSpinnerSize()\" [color]=\"options.spinnerColor!\" [mode]=\"options.mode!\" [value]=\"options.value!\" [ngStyle]=\"customSpinnerStyle!\" [ngClass]=\"{ 'dbx-spinner-custom': customSpinnerStyle! }\" [class.working]=\"options.working && !options.disabled\"></mat-spinner>\n</button>\n", styles: [":host button{min-height:36px;height:unset;outline:none}:host button.working{cursor:not-allowed}:host button ::ng-deep .mdc-button__label{display:flex;align-items:center;justify-content:center}:host button.mat-mdc-button.mat-mdc-icon-button{min-width:unset;--mdc-icon-button-icon-size: unset}:host button.fullWidth{width:100%}:host button .spinner{position:absolute;opacity:0;transition:opacity .3s ease-in-out}:host button .spinner.working{opacity:1}:host button .dbx-spinner-custom.mat-progress-spinner.mat-accent circle,:host button .dbx-spinner-custom.mat-spinner.mat-accent circle{stroke:unset!important}:host button .button-text{opacity:1;transition:opacity .3s ease-in-out}:host button .button-text.working{opacity:0}:host button mat-icon.mat-button-icon{padding-right:5px;transition:opacity .3s ease-in-out}:host button mat-icon.mat-button-icon.is-mat-icon{font-size:18px;position:relative;top:3px}:host button mat-icon.mat-button-icon.working{opacity:0}\n", ":host button.mat-mdc-button .button-text{display:flex;align-items:center}:host button.mat-mdc-button mat-icon.mat-button-icon.mat-icon.mat-ligature-font[fontIcon]:before,:host button.mat-mdc-button mat-icon.mat-fab-icon.mat-icon.mat-ligature-font[fontIcon]:before{content:unset}\n"] }]
|
|
238
|
+
args: [{ selector: 'dbx-spinner-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button class=\"dbx-base-button dbx-spinner-button\" #button mat-button [type]=\"options.type\" [color]=\"options.buttonColor\" [ngClass]=\"buttonCss$ | async\" [ngStyle]=\"options.customStyle!\" [disabled]=\"options.working || options.disabled\">\n <ng-container *ngIf=\"showText\">\n <ng-container *ngIf=\"options.buttonIcon\">\n <mat-icon class=\"mat-button-icon\" [class.is-mat-icon]=\"!options.buttonIcon.fontSet\" [class.working]=\"options.working && !options.disabled\" [ngClass]=\"options.buttonIcon.customClass!\" [fontSet]=\"options.buttonIcon.fontSet!\" [fontIcon]=\"options.buttonIcon.fontIcon!\" [color]=\"options.buttonIcon.color!\" [svgIcon]=\"options.buttonIcon.svgIcon!\">\n {{ options.buttonIcon.fontSet ? '' : options.buttonIcon.fontIcon }}\n </mat-icon>\n </ng-container>\n\n <span class=\"button-text\" [class.working]=\"options.working && !options.disabled\">\n {{ options.text }}\n <ng-content></ng-content>\n </span>\n </ng-container>\n\n <ng-container *ngIf=\"!showText && options.buttonIcon\">\n <mat-icon class=\"mat-fab-icon\" [fontSet]=\"options.buttonIcon.fontSet!\" [fontIcon]=\"options.buttonIcon.fontIcon!\" [color]=\"options.buttonIcon.color!\" [svgIcon]=\"options.buttonIcon.svgIcon!\" [inline]=\"options.fab && options.buttonIcon.inline!\">\n {{ options.buttonIcon.fontSet ? '' : options.buttonIcon.fontIcon }}\n </mat-icon>\n </ng-container>\n\n <mat-spinner class=\"spinner\" *ngIf=\"options.working && !options.disabled\" [diameter]=\"calcSpinnerSize()\" [color]=\"options.spinnerColor!\" [mode]=\"options.mode!\" [value]=\"options.value!\" [ngStyle]=\"customSpinnerStyle!\" [ngClass]=\"{ 'dbx-spinner-custom': customSpinnerStyle! }\" [class.working]=\"options.working && !options.disabled\"></mat-spinner>\n</button>\n", styles: [":host button{min-height:36px;height:unset;outline:none}:host button.working{cursor:not-allowed}:host button ::ng-deep .mdc-button__label{display:flex;align-items:center;justify-content:center}:host button.mat-mdc-button.mat-mdc-icon-button{min-width:unset;--mdc-icon-button-icon-size: unset;border-radius:50%}:host button.fullWidth{width:100%}:host button .spinner{position:absolute;opacity:0;transition:opacity .3s ease-in-out}:host button .spinner.working{opacity:1}:host button .dbx-spinner-custom.mat-progress-spinner.mat-accent circle,:host button .dbx-spinner-custom.mat-spinner.mat-accent circle{stroke:unset!important}:host button .button-text{opacity:1;transition:opacity .3s ease-in-out}:host button .button-text.working{opacity:0}:host button mat-icon.mat-button-icon{padding-right:5px;transition:opacity .3s ease-in-out}:host button mat-icon.mat-button-icon.is-mat-icon{font-size:18px;position:relative;top:3px}:host button mat-icon.mat-button-icon.working{opacity:0}\n", ":host button.mat-mdc-button .button-text{display:flex;align-items:center}:host button.mat-mdc-button mat-icon.mat-button-icon.mat-icon.mat-ligature-font[fontIcon]:before,:host button.mat-mdc-button mat-icon.mat-fab-icon.mat-icon.mat-ligature-font[fontIcon]:before{content:unset}\n"] }]
|
|
240
239
|
}], propDecorators: { buttonRef: [{
|
|
241
240
|
type: ViewChild,
|
|
242
241
|
args: ['button', { static: true, read: ElementRef }]
|
|
@@ -412,9 +411,9 @@ class DbxActionSnackbarComponent extends AbstractSubscriptionDirective {
|
|
|
412
411
|
get actionConfig() {
|
|
413
412
|
return this.data.action;
|
|
414
413
|
}
|
|
415
|
-
constructor(
|
|
414
|
+
constructor(snackbarRef, data) {
|
|
416
415
|
super();
|
|
417
|
-
this.
|
|
416
|
+
this.snackbarRef = snackbarRef;
|
|
418
417
|
this.data = data;
|
|
419
418
|
this._durationTimeout = new Subject();
|
|
420
419
|
this._actionRef = new BehaviorSubject(undefined);
|
|
@@ -438,10 +437,10 @@ class DbxActionSnackbarComponent extends AbstractSubscriptionDirective {
|
|
|
438
437
|
return classes;
|
|
439
438
|
}), distinctUntilChanged(), shareReplay(1));
|
|
440
439
|
this.dismissAfterActionCompletes = () => {
|
|
441
|
-
this.
|
|
440
|
+
this.snackbarRef._dismissAfter(MS_IN_SECOND * 3);
|
|
442
441
|
};
|
|
443
442
|
this.dismiss = () => {
|
|
444
|
-
this.
|
|
443
|
+
this.snackbarRef.dismiss();
|
|
445
444
|
};
|
|
446
445
|
this.button = this.data.action?.button ?? this.data.button;
|
|
447
446
|
this._actionRef.next(this.data.action?.reference);
|
|
@@ -465,7 +464,7 @@ class DbxActionSnackbarComponent extends AbstractSubscriptionDirective {
|
|
|
465
464
|
if (this.hasAction) {
|
|
466
465
|
setTimeout(() => {
|
|
467
466
|
this._durationTimeout.next();
|
|
468
|
-
}, this.action?.duration ??
|
|
467
|
+
}, this.action?.duration ?? MS_IN_SECOND * 10);
|
|
469
468
|
}
|
|
470
469
|
}
|
|
471
470
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxActionSnackbarComponent, deps: [{ token: i1$1.MatSnackBarRef }, { token: MAT_SNACK_BAR_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
@@ -630,7 +629,7 @@ function makeDbxActionSnackbarDisplayConfigGeneratorFunction(config) {
|
|
|
630
629
|
}
|
|
631
630
|
|
|
632
631
|
const DBX_ACTION_SNACKBAR_SERVICE_CONFIG = new InjectionToken('DbxActionSnackbarServiceConfig');
|
|
633
|
-
const DEFAULT_SNACKBAR_DIRECTIVE_DURATION =
|
|
632
|
+
const DEFAULT_SNACKBAR_DIRECTIVE_DURATION = MS_IN_SECOND * 4;
|
|
634
633
|
/**
|
|
635
634
|
* Used for managing/configuring the snackbar default values and pushing snackbar events.
|
|
636
635
|
*/
|
|
@@ -1306,7 +1305,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1306
1305
|
type: Input
|
|
1307
1306
|
}] } });
|
|
1308
1307
|
|
|
1309
|
-
const declarations$
|
|
1308
|
+
const declarations$d = [DbxColorDirective, DbxSpacerDirective, DbxStyleDirective, DbxSetStyleDirective, DbxStyleBodyDirective];
|
|
1310
1309
|
class DbxStyleLayoutModule {
|
|
1311
1310
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxStyleLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1312
1311
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DbxStyleLayoutModule, declarations: [DbxColorDirective, DbxSpacerDirective, DbxStyleDirective, DbxSetStyleDirective, DbxStyleBodyDirective], imports: [CommonModule], exports: [DbxColorDirective, DbxSpacerDirective, DbxStyleDirective, DbxSetStyleDirective, DbxStyleBodyDirective] }); }
|
|
@@ -1316,8 +1315,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1316
1315
|
type: NgModule,
|
|
1317
1316
|
args: [{
|
|
1318
1317
|
imports: [CommonModule],
|
|
1319
|
-
declarations: declarations$
|
|
1320
|
-
exports: declarations$
|
|
1318
|
+
declarations: declarations$d,
|
|
1319
|
+
exports: declarations$d
|
|
1321
1320
|
}]
|
|
1322
1321
|
}] });
|
|
1323
1322
|
|
|
@@ -2257,7 +2256,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2257
2256
|
}]
|
|
2258
2257
|
}], ctorParameters: function () { return [{ type: DbxPopoverComponent }]; } });
|
|
2259
2258
|
|
|
2260
|
-
const declarations$
|
|
2259
|
+
const declarations$c = [DbxPopoverContentComponent, DbxPopoverControlsDirective, DbxPopoverHeaderComponent, DbxPopoverCloseButtonComponent, DbxPopoverScrollContentComponent];
|
|
2261
2260
|
/**
|
|
2262
2261
|
* Contains all popover content components, allowing other sibling dbx-web modules to use the directives without referencing the full popover module.
|
|
2263
2262
|
*/
|
|
@@ -2270,8 +2269,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2270
2269
|
type: NgModule,
|
|
2271
2270
|
args: [{
|
|
2272
2271
|
imports: [CommonModule, MatIconModule, MatButtonModule, MatDividerModule, DbxKeypressModule, DbxStyleLayoutModule, DbxInjectionComponentModule, NgOverlayContainerModule, AngularResizeEventModule],
|
|
2273
|
-
declarations: declarations$
|
|
2274
|
-
exports: declarations$
|
|
2272
|
+
declarations: declarations$c,
|
|
2273
|
+
exports: declarations$c
|
|
2275
2274
|
}]
|
|
2276
2275
|
}] });
|
|
2277
2276
|
|
|
@@ -2314,7 +2313,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2314
2313
|
type: Input
|
|
2315
2314
|
}] } });
|
|
2316
2315
|
|
|
2317
|
-
const declarations$
|
|
2316
|
+
const declarations$b = [DbxPopoverComponent, DbxPopoverCoordinatorComponent, DbxActionPopoverDirective];
|
|
2318
2317
|
class DbxPopoverInteractionModule {
|
|
2319
2318
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxPopoverInteractionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2320
2319
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DbxPopoverInteractionModule, declarations: [DbxPopoverComponent, DbxPopoverCoordinatorComponent, DbxActionPopoverDirective], imports: [CommonModule, MatIconModule, MatButtonModule, MatDividerModule, DbxKeypressModule, DbxStyleLayoutModule, DbxInjectionComponentModule, NgOverlayContainerModule, AngularResizeEventModule, DbxPopoverInteractionContentModule], exports: [DbxPopoverComponent, DbxPopoverCoordinatorComponent, DbxActionPopoverDirective, DbxPopoverInteractionContentModule] }); }
|
|
@@ -2324,8 +2323,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2324
2323
|
type: NgModule,
|
|
2325
2324
|
args: [{
|
|
2326
2325
|
imports: [CommonModule, MatIconModule, MatButtonModule, MatDividerModule, DbxKeypressModule, DbxStyleLayoutModule, DbxInjectionComponentModule, NgOverlayContainerModule, AngularResizeEventModule, DbxPopoverInteractionContentModule],
|
|
2327
|
-
declarations: declarations$
|
|
2328
|
-
exports: [...declarations$
|
|
2326
|
+
declarations: declarations$b,
|
|
2327
|
+
exports: [...declarations$b, DbxPopoverInteractionContentModule]
|
|
2329
2328
|
}]
|
|
2330
2329
|
}] });
|
|
2331
2330
|
|
|
@@ -3711,7 +3710,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3711
3710
|
type: Input
|
|
3712
3711
|
}] } });
|
|
3713
3712
|
|
|
3714
|
-
const declarations$
|
|
3713
|
+
const declarations$a = [
|
|
3715
3714
|
//
|
|
3716
3715
|
DbxContentDirective,
|
|
3717
3716
|
DbxContentContainerDirective,
|
|
@@ -3749,8 +3748,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3749
3748
|
type: NgModule,
|
|
3750
3749
|
args: [{
|
|
3751
3750
|
imports: [CommonModule],
|
|
3752
|
-
declarations: declarations$
|
|
3753
|
-
exports: declarations$
|
|
3751
|
+
declarations: declarations$a,
|
|
3752
|
+
exports: declarations$a
|
|
3754
3753
|
}]
|
|
3755
3754
|
}] });
|
|
3756
3755
|
|
|
@@ -3788,7 +3787,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3788
3787
|
args: ['dbxIfSidenavDisplayMode']
|
|
3789
3788
|
}] } });
|
|
3790
3789
|
|
|
3791
|
-
const declarations$
|
|
3790
|
+
const declarations$9 = [DbxIfSidenavDisplayModeDirective, DbxSidenavComponent, DbxSidenavButtonComponent, DbxSidenavPagebarComponent, DbxSidenavPageComponent];
|
|
3792
3791
|
class DbxRouterSidenavModule {
|
|
3793
3792
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxRouterSidenavModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3794
3793
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DbxRouterSidenavModule, declarations: [DbxIfSidenavDisplayModeDirective, DbxSidenavComponent, DbxSidenavButtonComponent, DbxSidenavPagebarComponent, DbxSidenavPageComponent], imports: [CommonModule, DbxBarLayoutModule, DbxRouterAnchorModule, DbxRouterAnchorListModule, DbxButtonModule, DbxContentLayoutModule, MatToolbarModule, MatButtonModule, MatIconModule, MatSidenavModule, MatListModule, MatDividerModule, UIRouterModule], exports: [DbxIfSidenavDisplayModeDirective, DbxSidenavComponent, DbxSidenavButtonComponent, DbxSidenavPagebarComponent, DbxSidenavPageComponent] }); }
|
|
@@ -3798,8 +3797,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3798
3797
|
type: NgModule,
|
|
3799
3798
|
args: [{
|
|
3800
3799
|
imports: [CommonModule, DbxBarLayoutModule, DbxRouterAnchorModule, DbxRouterAnchorListModule, DbxButtonModule, DbxContentLayoutModule, MatToolbarModule, MatButtonModule, MatIconModule, MatSidenavModule, MatListModule, MatDividerModule, UIRouterModule],
|
|
3801
|
-
declarations: declarations$
|
|
3802
|
-
exports: declarations$
|
|
3800
|
+
declarations: declarations$9,
|
|
3801
|
+
exports: declarations$9
|
|
3803
3802
|
}]
|
|
3804
3803
|
}] });
|
|
3805
3804
|
|
|
@@ -4010,7 +4009,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
4010
4009
|
}]
|
|
4011
4010
|
}] });
|
|
4012
4011
|
|
|
4013
|
-
const declarations$
|
|
4012
|
+
const declarations$8 = [DbxPartialPresetFilterListComponent, DbxPartialPresetFilterMenuComponent, DbxFilterPopoverComponent, DbxFilterPopoverButtonComponent, DbxFilterWrapperComponent, DbxPresetFilterListComponent, DbxPresetFilterMenuComponent];
|
|
4014
4013
|
class DbxFilterInteractionModule {
|
|
4015
4014
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxFilterInteractionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4016
4015
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DbxFilterInteractionModule, declarations: [DbxPartialPresetFilterListComponent, DbxPartialPresetFilterMenuComponent, DbxFilterPopoverComponent, DbxFilterPopoverButtonComponent, DbxFilterWrapperComponent, DbxPresetFilterListComponent, DbxPresetFilterMenuComponent], imports: [CommonModule,
|
|
@@ -4055,8 +4054,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
4055
4054
|
MatIconModule,
|
|
4056
4055
|
MatButtonModule
|
|
4057
4056
|
],
|
|
4058
|
-
declarations: declarations$
|
|
4059
|
-
exports: [...declarations$
|
|
4057
|
+
declarations: declarations$8,
|
|
4058
|
+
exports: [...declarations$8, DbxCoreFilterModule]
|
|
4060
4059
|
}]
|
|
4061
4060
|
}] });
|
|
4062
4061
|
|
|
@@ -4568,6 +4567,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
4568
4567
|
class DbxTwoColumnRightComponent {
|
|
4569
4568
|
constructor(twoColumnsContextStore) {
|
|
4570
4569
|
this.twoColumnsContextStore = twoColumnsContextStore;
|
|
4570
|
+
this.full = false;
|
|
4571
4571
|
this._showBack = new BehaviorSubject(true);
|
|
4572
4572
|
this.ref$ = this.twoColumnsContextStore.backRef$;
|
|
4573
4573
|
this.showBack$ = combineLatest([
|
|
@@ -4600,17 +4600,19 @@ class DbxTwoColumnRightComponent {
|
|
|
4600
4600
|
this.twoColumnsContextStore.back();
|
|
4601
4601
|
}
|
|
4602
4602
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTwoColumnRightComponent, deps: [{ token: TwoColumnsContextStore }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4603
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTwoColumnRightComponent, selector: "dbx-two-column-right", inputs: { header: "header", block: "block", showBack: "showBack", minRightWidth: "minRightWidth" }, host: { classAttribute: "dbx-two-column-right d-block" }, ngImport: i0, template: "<dbx-two-column-head [block]=\"block\" [full]=\"
|
|
4603
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxTwoColumnRightComponent, selector: "dbx-two-column-right", inputs: { full: "full", header: "header", block: "block", showBack: "showBack", minRightWidth: "minRightWidth" }, host: { classAttribute: "dbx-two-column-right d-block" }, ngImport: i0, template: "<dbx-two-column-head [block]=\"block\" [full]=\"full\">\n <!-- Back Buttons -->\n <ng-container *ngIf=\"showBack$ | async\">\n <button mat-icon-button class=\"back-button\" (click)=\"backClicked()\" aria-label=\"back button\">\n <mat-icon>navigate_before</mat-icon>\n </button>\n </ng-container>\n <ng-container *ngIf=\"ref$ | async\">\n <dbx-anchor [anchor]=\"ref$ | async\">\n <button mat-icon-button class=\"back-button\" aria-label=\"back button\">\n <mat-icon>navigate_before</mat-icon>\n </button>\n </dbx-anchor>\n </ng-container>\n <span *ngIf=\"header\" class=\"right-nav-title\">{{ header }}</span>\n <span class=\"right-nav-spacer\"></span>\n <span class=\"spacer\"></span>\n <ng-content select=\"[nav]\"></ng-content>\n</dbx-two-column-head>\n<div class=\"dbx-two-column-right-content\">\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i2.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: DbxAnchorComponent, selector: "dbx-anchor, [dbx-anchor]", inputs: ["block"] }, { kind: "component", type: DbxTwoColumnColumnHeadComponent, selector: "dbx-two-column-head", inputs: ["block", "full"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
|
|
4604
4604
|
}
|
|
4605
4605
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTwoColumnRightComponent, decorators: [{
|
|
4606
4606
|
type: Component,
|
|
4607
4607
|
args: [{ selector: 'dbx-two-column-right', host: {
|
|
4608
4608
|
class: 'dbx-two-column-right d-block'
|
|
4609
|
-
}, template: "<dbx-two-column-head [block]=\"block\" [full]=\"
|
|
4609
|
+
}, template: "<dbx-two-column-head [block]=\"block\" [full]=\"full\">\n <!-- Back Buttons -->\n <ng-container *ngIf=\"showBack$ | async\">\n <button mat-icon-button class=\"back-button\" (click)=\"backClicked()\" aria-label=\"back button\">\n <mat-icon>navigate_before</mat-icon>\n </button>\n </ng-container>\n <ng-container *ngIf=\"ref$ | async\">\n <dbx-anchor [anchor]=\"ref$ | async\">\n <button mat-icon-button class=\"back-button\" aria-label=\"back button\">\n <mat-icon>navigate_before</mat-icon>\n </button>\n </dbx-anchor>\n </ng-container>\n <span *ngIf=\"header\" class=\"right-nav-title\">{{ header }}</span>\n <span class=\"right-nav-spacer\"></span>\n <span class=\"spacer\"></span>\n <ng-content select=\"[nav]\"></ng-content>\n</dbx-two-column-head>\n<div class=\"dbx-two-column-right-content\">\n <ng-content></ng-content>\n</div>\n" }]
|
|
4610
4610
|
}], ctorParameters: function () { return [{ type: TwoColumnsContextStore, decorators: [{
|
|
4611
4611
|
type: Inject,
|
|
4612
4612
|
args: [TwoColumnsContextStore]
|
|
4613
|
-
}] }]; }, propDecorators: {
|
|
4613
|
+
}] }]; }, propDecorators: { full: [{
|
|
4614
|
+
type: Input
|
|
4615
|
+
}], header: [{
|
|
4614
4616
|
type: Input
|
|
4615
4617
|
}], block: [{
|
|
4616
4618
|
type: Input
|
|
@@ -5053,6 +5055,7 @@ class DbxErrorDefaultErrorWidgetComponent extends AbstractDbxErrorWidgetComponen
|
|
|
5053
5055
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxErrorDefaultErrorWidgetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
5054
5056
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxErrorDefaultErrorWidgetComponent, selector: "ng-component", host: { classAttribute: "d-block dbx-error-default-error-widget dbx-content-container" }, usesInheritance: true, ngImport: i0, template: `
|
|
5055
5057
|
<dbx-label-block header="Error Code">{{ code }}</dbx-label-block>
|
|
5058
|
+
<dbx-label-block header="Error Message">{{ message }}</dbx-label-block>
|
|
5056
5059
|
<dbx-label-block header="Error Data" *ngIf="serverErrorData">
|
|
5057
5060
|
<p class="dbx-json">{{ serverErrorData | json }}</p>
|
|
5058
5061
|
</dbx-label-block>
|
|
@@ -5063,6 +5066,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
5063
5066
|
args: [{
|
|
5064
5067
|
template: `
|
|
5065
5068
|
<dbx-label-block header="Error Code">{{ code }}</dbx-label-block>
|
|
5069
|
+
<dbx-label-block header="Error Message">{{ message }}</dbx-label-block>
|
|
5066
5070
|
<dbx-label-block header="Error Data" *ngIf="serverErrorData">
|
|
5067
5071
|
<p class="dbx-json">{{ serverErrorData | json }}</p>
|
|
5068
5072
|
</dbx-label-block>
|
|
@@ -5074,13 +5078,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
5074
5078
|
}] });
|
|
5075
5079
|
|
|
5076
5080
|
const DEFAULT_ERROR_WIDGET_CODE = 'DEFAULT_ERROR_WIDGET';
|
|
5081
|
+
const UNKNOWN_ERROR_WIDGET_CODE = 'UNKNOWN_ERROR_WIDGET';
|
|
5077
5082
|
/**
|
|
5078
5083
|
* Service used to register error widgets.
|
|
5084
|
+
*
|
|
5085
|
+
* It has two default widgets:
|
|
5086
|
+
*
|
|
5087
|
+
* - default: used in cases where an error has been registered by its error code
|
|
5088
|
+
* - unknown: used in cases where an error has an error code that has not been registered
|
|
5089
|
+
*
|
|
5090
|
+
* By default the DbxErrorDefaultErrorWidgetComponent is registered to both the default and unknown error entries.
|
|
5079
5091
|
*/
|
|
5080
5092
|
class DbxErrorWidgetService {
|
|
5081
5093
|
constructor() {
|
|
5082
5094
|
this._entries = new Map();
|
|
5083
|
-
|
|
5095
|
+
const defaultEntry = { widgetComponentClass: DbxErrorDefaultErrorWidgetComponent };
|
|
5096
|
+
this.registerDefaultEntry(defaultEntry);
|
|
5097
|
+
this.registerUnknownEntry(defaultEntry);
|
|
5084
5098
|
}
|
|
5085
5099
|
registerDefaultEntry(entry) {
|
|
5086
5100
|
return this.register({
|
|
@@ -5089,6 +5103,13 @@ class DbxErrorWidgetService {
|
|
|
5089
5103
|
code: DEFAULT_ERROR_WIDGET_CODE
|
|
5090
5104
|
});
|
|
5091
5105
|
}
|
|
5106
|
+
registerUnknownEntry(entry) {
|
|
5107
|
+
return this.register({
|
|
5108
|
+
...entry,
|
|
5109
|
+
errorComponentClass: null,
|
|
5110
|
+
code: UNKNOWN_ERROR_WIDGET_CODE
|
|
5111
|
+
});
|
|
5112
|
+
}
|
|
5092
5113
|
register(entry, override = true) {
|
|
5093
5114
|
if (override || !this._entries.has(entry.code)) {
|
|
5094
5115
|
this._entries.set(entry.code, {
|
|
@@ -5108,6 +5129,9 @@ class DbxErrorWidgetService {
|
|
|
5108
5129
|
getDefaultErrorWidgetEntry() {
|
|
5109
5130
|
return this.getErrorWidgetEntry(DEFAULT_ERROR_WIDGET_CODE);
|
|
5110
5131
|
}
|
|
5132
|
+
getUnknownErrorWidgetEntry() {
|
|
5133
|
+
return this.getErrorWidgetEntry(UNKNOWN_ERROR_WIDGET_CODE);
|
|
5134
|
+
}
|
|
5111
5135
|
getErrorWidgetEntry(code) {
|
|
5112
5136
|
return this._entries.get(code);
|
|
5113
5137
|
}
|
|
@@ -5145,6 +5169,15 @@ class DbxErrorWidgetViewComponent {
|
|
|
5145
5169
|
};
|
|
5146
5170
|
}
|
|
5147
5171
|
}
|
|
5172
|
+
else {
|
|
5173
|
+
const unknownEntry = this.dbxErrorWidgetService.getUnknownErrorWidgetEntry();
|
|
5174
|
+
if (unknownEntry?.widgetComponentClass != null) {
|
|
5175
|
+
config = {
|
|
5176
|
+
componentClass: unknownEntry?.widgetComponentClass,
|
|
5177
|
+
data: error
|
|
5178
|
+
};
|
|
5179
|
+
}
|
|
5180
|
+
}
|
|
5148
5181
|
}
|
|
5149
5182
|
return config;
|
|
5150
5183
|
}));
|
|
@@ -5286,15 +5319,17 @@ class DbxReadableErrorComponent extends AbstractSubscriptionDirective {
|
|
|
5286
5319
|
this.popoverService = popoverService;
|
|
5287
5320
|
this.dbxErrorWidgetService = dbxErrorWidgetService;
|
|
5288
5321
|
this.cdRef = cdRef;
|
|
5322
|
+
this.popoverOpen = new EventEmitter();
|
|
5289
5323
|
this._state = {
|
|
5290
5324
|
viewType: 'none'
|
|
5291
5325
|
};
|
|
5326
|
+
this._iconOnly = new BehaviorSubject(undefined);
|
|
5292
5327
|
this._inputError = new BehaviorSubject(undefined);
|
|
5293
|
-
this.state$ = this._inputError.pipe(map((rawError) => {
|
|
5328
|
+
this.state$ = combineLatest([this._inputError, this._iconOnly.pipe(distinctUntilChanged())]).pipe(map(([rawError, iconOnly]) => {
|
|
5294
5329
|
let state;
|
|
5295
5330
|
if (rawError != null) {
|
|
5296
5331
|
const error = toReadableError(rawError);
|
|
5297
|
-
const isDefaultError = isDefaultReadableError(error);
|
|
5332
|
+
const isDefaultError = iconOnly ? false : isDefaultReadableError(error);
|
|
5298
5333
|
state = {
|
|
5299
5334
|
viewType: 'default',
|
|
5300
5335
|
rawError,
|
|
@@ -5302,7 +5337,10 @@ class DbxReadableErrorComponent extends AbstractSubscriptionDirective {
|
|
|
5302
5337
|
message: error?.message || 'An error occured.',
|
|
5303
5338
|
isDefaultError
|
|
5304
5339
|
};
|
|
5305
|
-
if (
|
|
5340
|
+
if (iconOnly) {
|
|
5341
|
+
delete state.message; // remove the message when in icon-only mode
|
|
5342
|
+
}
|
|
5343
|
+
else if (error) {
|
|
5306
5344
|
let customView;
|
|
5307
5345
|
const entry = this.dbxErrorWidgetService.getErrorWidgetEntry(error.code);
|
|
5308
5346
|
const componentClass = entry?.errorComponentClass;
|
|
@@ -5354,17 +5392,24 @@ class DbxReadableErrorComponent extends AbstractSubscriptionDirective {
|
|
|
5354
5392
|
set error(error) {
|
|
5355
5393
|
this._inputError.next(error);
|
|
5356
5394
|
}
|
|
5395
|
+
get iconOnly() {
|
|
5396
|
+
return this._iconOnly.value;
|
|
5397
|
+
}
|
|
5398
|
+
set iconOnly(iconOnly) {
|
|
5399
|
+
this._iconOnly.next(iconOnly);
|
|
5400
|
+
}
|
|
5357
5401
|
openErrorPopover(event) {
|
|
5358
5402
|
const error = this._state.error;
|
|
5359
5403
|
if (error != null) {
|
|
5360
|
-
DbxErrorPopoverComponent.openPopover(this.popoverService, {
|
|
5404
|
+
const popoverRef = DbxErrorPopoverComponent.openPopover(this.popoverService, {
|
|
5361
5405
|
origin: event.origin,
|
|
5362
5406
|
error
|
|
5363
5407
|
});
|
|
5408
|
+
this.popoverOpen.next(popoverRef);
|
|
5364
5409
|
}
|
|
5365
5410
|
}
|
|
5366
5411
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxReadableErrorComponent, deps: [{ token: DbxPopoverService }, { token: DbxErrorWidgetService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5367
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxReadableErrorComponent, selector: "dbx-error", inputs: { error: "error" }, usesInheritance: true, ngImport: i0, template: `
|
|
5412
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxReadableErrorComponent, selector: "dbx-error", inputs: { error: "error", iconOnly: "iconOnly" }, outputs: { popoverOpen: "popoverOpen" }, usesInheritance: true, ngImport: i0, template: `
|
|
5368
5413
|
<ng-container [ngSwitch]="viewType">
|
|
5369
5414
|
<ng-container *ngSwitchCase="'default'">
|
|
5370
5415
|
<dbx-error-view icon="error" [message]="message" [buttonDisabled]="isDefaultError" (buttonClick)="openErrorPopover($event)"></dbx-error-view>
|
|
@@ -5391,7 +5436,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
5391
5436
|
`,
|
|
5392
5437
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
5393
5438
|
}]
|
|
5394
|
-
}], ctorParameters: function () { return [{ type: DbxPopoverService }, { type: DbxErrorWidgetService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: {
|
|
5439
|
+
}], ctorParameters: function () { return [{ type: DbxPopoverService }, { type: DbxErrorWidgetService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { popoverOpen: [{
|
|
5440
|
+
type: Output
|
|
5441
|
+
}], error: [{
|
|
5442
|
+
type: Input
|
|
5443
|
+
}], iconOnly: [{
|
|
5395
5444
|
type: Input
|
|
5396
5445
|
}] } });
|
|
5397
5446
|
|
|
@@ -5539,7 +5588,7 @@ class DbxBasicLoadingComponent {
|
|
|
5539
5588
|
}, 0);
|
|
5540
5589
|
}
|
|
5541
5590
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxBasicLoadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5542
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxBasicLoadingComponent, selector: "dbx-basic-loading", inputs: { diameter: "diameter", mode: "mode", color: "color", text: "text", linear: "linear", show: "show", loading: "loading", error: "error" }, viewQueries: [{ propertyName: "customErrorContent", first: true, predicate: ["customError"], descendants: true }, { propertyName: "customLoadingContent", first: true, predicate: ["customLoading"], descendants: true }], ngImport: i0, template: "<ng-container [ngSwitch]=\"state$ | async\">\n <ng-container *ngSwitchCase=\"0\">\n <!-- Loading -->\n <ng-container *ngTemplateOutlet=\"loadingTemplate\"></ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"1\">\n <!-- Content -->\n <ng-content></ng-content>\n </ng-container>\n <ng-container *ngSwitchCase=\"2\">\n <!-- Error -->\n <ng-container *ngTemplateOutlet=\"errorTemplate\"></ng-container>\n </ng-container>\n</ng-container>\n\n<ng-template #loadingTemplate>\n <dbx-loading-progress *ngIf=\"hasNoCustomLoading$ | async\" [mode]=\"mode\" [color]=\"color\" [text]=\"text\" [linear]=\"linear\" [diameter]=\"diameter\"></dbx-loading-progress>\n <div #customLoading>\n <ng-content select=\"[loading]\"></ng-content>\n </div>\n</ng-template>\n\n<ng-template #errorTemplate>\n <dbx-error *ngIf=\"hasNoCustomError$ | async\" [error]=\"error$ | async\"></dbx-error>\n <div #customError>\n <ng-content select=\"[error]\"></ng-content>\n </div>\n <ng-content select=\"[errorAction]\"></ng-content>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: DbxReadableErrorComponent, selector: "dbx-error", inputs: ["error"] }, { kind: "component", type: DbxLoadingProgressComponent, selector: "dbx-loading-progress", inputs: ["text", "linear", "mode", "color", "value", "bufferValue", "diameter"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
|
|
5591
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxBasicLoadingComponent, selector: "dbx-basic-loading", inputs: { diameter: "diameter", mode: "mode", color: "color", text: "text", linear: "linear", show: "show", loading: "loading", error: "error" }, viewQueries: [{ propertyName: "customErrorContent", first: true, predicate: ["customError"], descendants: true }, { propertyName: "customLoadingContent", first: true, predicate: ["customLoading"], descendants: true }], ngImport: i0, template: "<ng-container [ngSwitch]=\"state$ | async\">\n <ng-container *ngSwitchCase=\"0\">\n <!-- Loading -->\n <ng-container *ngTemplateOutlet=\"loadingTemplate\"></ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"1\">\n <!-- Content -->\n <ng-content></ng-content>\n </ng-container>\n <ng-container *ngSwitchCase=\"2\">\n <!-- Error -->\n <ng-container *ngTemplateOutlet=\"errorTemplate\"></ng-container>\n </ng-container>\n</ng-container>\n\n<ng-template #loadingTemplate>\n <dbx-loading-progress *ngIf=\"hasNoCustomLoading$ | async\" [mode]=\"mode\" [color]=\"color\" [text]=\"text\" [linear]=\"linear\" [diameter]=\"diameter\"></dbx-loading-progress>\n <div #customLoading>\n <ng-content select=\"[loading]\"></ng-content>\n </div>\n</ng-template>\n\n<ng-template #errorTemplate>\n <dbx-error *ngIf=\"hasNoCustomError$ | async\" [error]=\"error$ | async\"></dbx-error>\n <div #customError>\n <ng-content select=\"[error]\"></ng-content>\n </div>\n <ng-content select=\"[errorAction]\"></ng-content>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: DbxReadableErrorComponent, selector: "dbx-error", inputs: ["error", "iconOnly"], outputs: ["popoverOpen"] }, { kind: "component", type: DbxLoadingProgressComponent, selector: "dbx-loading-progress", inputs: ["text", "linear", "mode", "color", "value", "bufferValue", "diameter"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
|
|
5543
5592
|
}
|
|
5544
5593
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxBasicLoadingComponent, decorators: [{
|
|
5545
5594
|
type: Component,
|
|
@@ -6447,7 +6496,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6447
6496
|
}]
|
|
6448
6497
|
}] });
|
|
6449
6498
|
|
|
6450
|
-
const declarations$
|
|
6499
|
+
const declarations$7 = [DbxUnitedStatesAddressComponent, DbxChipDirective, DbxDetailBlockComponent, DbxDetailBlockHeaderComponent, DbxNoteComponent, DbxNoticeComponent, DbxSuccessComponent, DbxWarnComponent, DbxHintComponent, DbxLabelBlockComponent, DbxLabelComponent, DbxLinkifyComponent, DbxOkComponent, DbxTextChipsComponent, DbxIconSpacerDirective, DbxFormDescriptionComponent];
|
|
6451
6500
|
class DbxTextModule {
|
|
6452
6501
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxTextModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6453
6502
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DbxTextModule, declarations: [DbxUnitedStatesAddressComponent, DbxChipDirective, DbxDetailBlockComponent, DbxDetailBlockHeaderComponent, DbxNoteComponent, DbxNoticeComponent, DbxSuccessComponent, DbxWarnComponent, DbxHintComponent, DbxLabelBlockComponent, DbxLabelComponent, DbxLinkifyComponent, DbxOkComponent, DbxTextChipsComponent, DbxIconSpacerDirective, DbxFormDescriptionComponent], imports: [CommonModule, MatChipsModule, MatTooltipModule, MatIconModule], exports: [DbxUnitedStatesAddressComponent, DbxChipDirective, DbxDetailBlockComponent, DbxDetailBlockHeaderComponent, DbxNoteComponent, DbxNoticeComponent, DbxSuccessComponent, DbxWarnComponent, DbxHintComponent, DbxLabelBlockComponent, DbxLabelComponent, DbxLinkifyComponent, DbxOkComponent, DbxTextChipsComponent, DbxIconSpacerDirective, DbxFormDescriptionComponent] }); }
|
|
@@ -6457,17 +6506,145 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6457
6506
|
type: NgModule,
|
|
6458
6507
|
args: [{
|
|
6459
6508
|
imports: [CommonModule, MatChipsModule, MatTooltipModule, MatIconModule],
|
|
6460
|
-
declarations: declarations$
|
|
6461
|
-
exports: declarations$
|
|
6509
|
+
declarations: declarations$7,
|
|
6510
|
+
exports: declarations$7
|
|
6462
6511
|
}]
|
|
6463
6512
|
}] });
|
|
6464
6513
|
|
|
6465
|
-
|
|
6514
|
+
/**
|
|
6515
|
+
* A snackbar orientation for an error.
|
|
6516
|
+
*/
|
|
6517
|
+
class DbxErrorSnackbarComponent {
|
|
6518
|
+
get error() {
|
|
6519
|
+
return this.data.error;
|
|
6520
|
+
}
|
|
6521
|
+
constructor(snackBarRef, data) {
|
|
6522
|
+
this.snackBarRef = snackBarRef;
|
|
6523
|
+
this.data = data;
|
|
6524
|
+
this._allowAutoDismiss = Boolean(this.data.duration);
|
|
6525
|
+
this._popoverOpen = new BehaviorSubject(false);
|
|
6526
|
+
this._autoDismissTimer = new TimerInstance(this.data.duration ?? MS_IN_MINUTE, this._allowAutoDismiss);
|
|
6527
|
+
this._popoverSub = new SubscriptionObject();
|
|
6528
|
+
this._popoverSyncSub = new SubscriptionObject(this._popoverOpen.subscribe((x) => toggleTimerRunning(this._autoDismissTimer, !x)));
|
|
6529
|
+
this._autoDismissSub = new SubscriptionObject(from(this._autoDismissTimer.promise).subscribe(() => this.dismiss()));
|
|
6530
|
+
}
|
|
6531
|
+
ngOnInit() {
|
|
6532
|
+
if (!this._allowAutoDismiss) {
|
|
6533
|
+
this._popoverSyncSub.destroy();
|
|
6534
|
+
this._autoDismissSub.destroy();
|
|
6535
|
+
}
|
|
6536
|
+
}
|
|
6537
|
+
ngOnDestroy() {
|
|
6538
|
+
this._popoverOpen.complete();
|
|
6539
|
+
this._popoverSub.destroy();
|
|
6540
|
+
this._popoverSyncSub.destroy();
|
|
6541
|
+
this._autoDismissSub.destroy();
|
|
6542
|
+
this._autoDismissTimer.destroy();
|
|
6543
|
+
}
|
|
6544
|
+
static showErrorSnackbar(matSnackbar, error, config) {
|
|
6545
|
+
matSnackbar.openFromComponent(DbxErrorSnackbarComponent, {
|
|
6546
|
+
...config,
|
|
6547
|
+
duration: undefined,
|
|
6548
|
+
panelClass: [...(config?.panelClass ?? []), 'dbx-error-snackbar'],
|
|
6549
|
+
data: {
|
|
6550
|
+
error,
|
|
6551
|
+
duration: config?.duration
|
|
6552
|
+
}
|
|
6553
|
+
});
|
|
6554
|
+
}
|
|
6555
|
+
errorPopoverOpen(popover) {
|
|
6556
|
+
this._popoverOpen.next(true);
|
|
6557
|
+
this._popoverSub.subscription = popover.afterClosed$.subscribe(() => {
|
|
6558
|
+
this._popoverOpen.next(false);
|
|
6559
|
+
});
|
|
6560
|
+
}
|
|
6561
|
+
dismiss() {
|
|
6562
|
+
return this.snackBarRef.dismiss();
|
|
6563
|
+
}
|
|
6564
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxErrorSnackbarComponent, deps: [{ token: i1$1.MatSnackBarRef }, { token: MAT_SNACK_BAR_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6565
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxErrorSnackbarComponent, selector: "ng-component", ngImport: i0, template: "<div class=\"dbx-error-snackbar-content\">\n <dbx-error [error]=\"error\" (popoverOpen)=\"errorPopoverOpen($event)\"></dbx-error>\n <div class=\"dbx-spacer\"></div>\n <button class=\"dbx-error-snackbar-content-button\" mat-icon-button aria-label=\"dismiss error\" (click)=\"dismiss()\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n", dependencies: [{ kind: "component", type: i2.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: DbxReadableErrorComponent, selector: "dbx-error", inputs: ["error", "iconOnly"], outputs: ["popoverOpen"] }] }); }
|
|
6566
|
+
}
|
|
6567
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxErrorSnackbarComponent, decorators: [{
|
|
6568
|
+
type: Component,
|
|
6569
|
+
args: [{ template: "<div class=\"dbx-error-snackbar-content\">\n <dbx-error [error]=\"error\" (popoverOpen)=\"errorPopoverOpen($event)\"></dbx-error>\n <div class=\"dbx-spacer\"></div>\n <button class=\"dbx-error-snackbar-content-button\" mat-icon-button aria-label=\"dismiss error\" (click)=\"dismiss()\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n" }]
|
|
6570
|
+
}], ctorParameters: function () { return [{ type: i1$1.MatSnackBarRef }, { type: undefined, decorators: [{
|
|
6571
|
+
type: Inject,
|
|
6572
|
+
args: [MAT_SNACK_BAR_DATA]
|
|
6573
|
+
}] }]; } });
|
|
6574
|
+
|
|
6575
|
+
/**
|
|
6576
|
+
* Service used to show errors in the snackbar.
|
|
6577
|
+
*/
|
|
6578
|
+
class DbxErrorSnackbarService {
|
|
6579
|
+
constructor(matSnackbar) {
|
|
6580
|
+
this.matSnackbar = matSnackbar;
|
|
6581
|
+
this._defaultConfig = {
|
|
6582
|
+
politeness: 'polite',
|
|
6583
|
+
announcementMessage: 'An error has occurred',
|
|
6584
|
+
horizontalPosition: 'center',
|
|
6585
|
+
verticalPosition: 'bottom'
|
|
6586
|
+
};
|
|
6587
|
+
}
|
|
6588
|
+
get defaultConfig() {
|
|
6589
|
+
return this._defaultConfig;
|
|
6590
|
+
}
|
|
6591
|
+
setDefaultConfig(defaultConfig) {
|
|
6592
|
+
this._defaultConfig = defaultConfig;
|
|
6593
|
+
}
|
|
6594
|
+
showSnackbarError(error, inputConfig) {
|
|
6595
|
+
const config = {
|
|
6596
|
+
...inputConfig,
|
|
6597
|
+
...this._defaultConfig
|
|
6598
|
+
};
|
|
6599
|
+
return DbxErrorSnackbarComponent.showErrorSnackbar(this.matSnackbar, error, config);
|
|
6600
|
+
}
|
|
6601
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxErrorSnackbarService, deps: [{ token: i1$1.MatSnackBar }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6602
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxErrorSnackbarService, providedIn: 'root' }); }
|
|
6603
|
+
}
|
|
6604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxErrorSnackbarService, decorators: [{
|
|
6605
|
+
type: Injectable,
|
|
6606
|
+
args: [{
|
|
6607
|
+
providedIn: 'root'
|
|
6608
|
+
}]
|
|
6609
|
+
}], ctorParameters: function () { return [{ type: i1$1.MatSnackBar }]; } });
|
|
6610
|
+
|
|
6611
|
+
/**
|
|
6612
|
+
* Context used for displaying an error from an ActionContext a snackbar when an ReadableErrorComponent
|
|
6613
|
+
*/
|
|
6614
|
+
class DbxActionSnackbarErrorDirective extends AbstractSubscriptionDirective {
|
|
6615
|
+
constructor(dbxErrorSnackbarService, source) {
|
|
6616
|
+
super();
|
|
6617
|
+
this.dbxErrorSnackbarService = dbxErrorSnackbarService;
|
|
6618
|
+
this.source = source;
|
|
6619
|
+
}
|
|
6620
|
+
ngOnInit() {
|
|
6621
|
+
this.sub = this.source.error$.pipe(filterMaybe()).subscribe((inputError) => {
|
|
6622
|
+
const error = toReadableError(inputError);
|
|
6623
|
+
const config = this.config ? (typeof this.config === 'number' ? { duration: this.config } : this.config) : undefined;
|
|
6624
|
+
this.dbxErrorSnackbarService.showSnackbarError(error, config);
|
|
6625
|
+
});
|
|
6626
|
+
}
|
|
6627
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxActionSnackbarErrorDirective, deps: [{ token: DbxErrorSnackbarService }, { token: i1$2.DbxActionContextStoreSourceInstance }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
6628
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DbxActionSnackbarErrorDirective, selector: "[dbxActionSnackbarError]", inputs: { config: ["dbxActionSnackbarError", "config"] }, usesInheritance: true, ngImport: i0 }); }
|
|
6629
|
+
}
|
|
6630
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxActionSnackbarErrorDirective, decorators: [{
|
|
6631
|
+
type: Directive,
|
|
6632
|
+
args: [{
|
|
6633
|
+
selector: '[dbxActionSnackbarError]'
|
|
6634
|
+
}]
|
|
6635
|
+
}], ctorParameters: function () { return [{ type: DbxErrorSnackbarService }, { type: i1$2.DbxActionContextStoreSourceInstance }]; }, propDecorators: { config: [{
|
|
6636
|
+
type: Input,
|
|
6637
|
+
args: ['dbxActionSnackbarError']
|
|
6638
|
+
}] } });
|
|
6639
|
+
|
|
6640
|
+
const declarations$6 = [
|
|
6466
6641
|
//
|
|
6467
6642
|
DbxReadableErrorComponent,
|
|
6468
6643
|
DbxLoadingErrorDirective,
|
|
6469
6644
|
DbxActionErrorDirective,
|
|
6645
|
+
DbxActionSnackbarErrorDirective,
|
|
6470
6646
|
DbxErrorViewComponent,
|
|
6647
|
+
DbxErrorSnackbarComponent,
|
|
6471
6648
|
DbxErrorPopoverComponent,
|
|
6472
6649
|
DbxErrorDetailsComponent,
|
|
6473
6650
|
DbxErrorWidgetViewComponent,
|
|
@@ -6480,7 +6657,9 @@ class DbxReadableErrorModule {
|
|
|
6480
6657
|
DbxReadableErrorComponent,
|
|
6481
6658
|
DbxLoadingErrorDirective,
|
|
6482
6659
|
DbxActionErrorDirective,
|
|
6660
|
+
DbxActionSnackbarErrorDirective,
|
|
6483
6661
|
DbxErrorViewComponent,
|
|
6662
|
+
DbxErrorSnackbarComponent,
|
|
6484
6663
|
DbxErrorPopoverComponent,
|
|
6485
6664
|
DbxErrorDetailsComponent,
|
|
6486
6665
|
DbxErrorWidgetViewComponent,
|
|
@@ -6489,7 +6668,9 @@ class DbxReadableErrorModule {
|
|
|
6489
6668
|
DbxReadableErrorComponent,
|
|
6490
6669
|
DbxLoadingErrorDirective,
|
|
6491
6670
|
DbxActionErrorDirective,
|
|
6671
|
+
DbxActionSnackbarErrorDirective,
|
|
6492
6672
|
DbxErrorViewComponent,
|
|
6673
|
+
DbxErrorSnackbarComponent,
|
|
6493
6674
|
DbxErrorPopoverComponent,
|
|
6494
6675
|
DbxErrorDetailsComponent,
|
|
6495
6676
|
DbxErrorWidgetViewComponent,
|
|
@@ -6500,8 +6681,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6500
6681
|
type: NgModule,
|
|
6501
6682
|
args: [{
|
|
6502
6683
|
imports: [CommonModule, DbxTextModule, DbxInjectionComponentModule, DbxPopoverInteractionContentModule, MatButtonModule, MatIconModule],
|
|
6503
|
-
declarations: declarations$
|
|
6504
|
-
exports: declarations$
|
|
6684
|
+
declarations: declarations$6,
|
|
6685
|
+
exports: declarations$6
|
|
6505
6686
|
}]
|
|
6506
6687
|
}] });
|
|
6507
6688
|
|
|
@@ -6554,7 +6735,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6554
6735
|
type: Host
|
|
6555
6736
|
}] }, { type: i1$2.DbxActionContextStoreSourceInstance }]; } });
|
|
6556
6737
|
|
|
6557
|
-
const declarations$
|
|
6738
|
+
const declarations$5 = [DbxLoadingComponent, DbxBasicLoadingComponent, DbxLoadingProgressComponent, DbxActionLoadingContextDirective];
|
|
6558
6739
|
class DbxLoadingModule {
|
|
6559
6740
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxLoadingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6560
6741
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DbxLoadingModule, declarations: [DbxLoadingComponent, DbxBasicLoadingComponent, DbxLoadingProgressComponent, DbxActionLoadingContextDirective], imports: [CommonModule, DbxReadableErrorModule, MatProgressSpinnerModule, MatProgressBarModule], exports: [DbxLoadingComponent, DbxBasicLoadingComponent, DbxLoadingProgressComponent, DbxActionLoadingContextDirective, MatProgressSpinnerModule, MatProgressBarModule] }); }
|
|
@@ -6564,8 +6745,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6564
6745
|
type: NgModule,
|
|
6565
6746
|
args: [{
|
|
6566
6747
|
imports: [CommonModule, DbxReadableErrorModule, MatProgressSpinnerModule, MatProgressBarModule],
|
|
6567
|
-
declarations: declarations$
|
|
6568
|
-
exports: [...declarations$
|
|
6748
|
+
declarations: declarations$5,
|
|
6749
|
+
exports: [...declarations$5, MatProgressSpinnerModule, MatProgressBarModule]
|
|
6569
6750
|
}]
|
|
6570
6751
|
}] });
|
|
6571
6752
|
|
|
@@ -7184,23 +7365,23 @@ class DbxListTitleGroupDirective {
|
|
|
7184
7365
|
const { sortGroupsByData, cssClasses: inputCssClasses } = delegate;
|
|
7185
7366
|
const cssClassesForAllGroups = inputCssClasses ?? [];
|
|
7186
7367
|
const componentClass = delegate.headerComponentClass ?? DbxListTitleGroupHeaderComponent;
|
|
7368
|
+
const { dataForGroupValue, footerComponentClass } = delegate;
|
|
7187
7369
|
groups = Array.from(groupsValuesMap.entries()).map(([value, items]) => {
|
|
7188
|
-
const data =
|
|
7370
|
+
const data = dataForGroupValue(value, items);
|
|
7189
7371
|
data.value = value;
|
|
7190
7372
|
const cssClasses = data.cssClasses ? [...cssClassesForAllGroups, ...data.cssClasses] : cssClassesForAllGroups;
|
|
7373
|
+
const providers = [
|
|
7374
|
+
{
|
|
7375
|
+
provide: DBX_LIST_TITLE_GROUP_DATA,
|
|
7376
|
+
useValue: data
|
|
7377
|
+
}
|
|
7378
|
+
];
|
|
7191
7379
|
const group = {
|
|
7192
7380
|
id: String(value),
|
|
7193
7381
|
data,
|
|
7194
7382
|
items,
|
|
7195
|
-
headerConfig: {
|
|
7196
|
-
|
|
7197
|
-
providers: [
|
|
7198
|
-
{
|
|
7199
|
-
provide: DBX_LIST_TITLE_GROUP_DATA,
|
|
7200
|
-
useValue: data
|
|
7201
|
-
}
|
|
7202
|
-
]
|
|
7203
|
-
},
|
|
7383
|
+
headerConfig: { componentClass, providers },
|
|
7384
|
+
footerConfig: footerComponentClass ? { componentClass: footerComponentClass, providers } : undefined,
|
|
7204
7385
|
cssClasses
|
|
7205
7386
|
};
|
|
7206
7387
|
return group;
|
|
@@ -7262,21 +7443,21 @@ class DbxListTitleGroupHeaderComponent {
|
|
|
7262
7443
|
}
|
|
7263
7444
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxListTitleGroupHeaderComponent, deps: [{ token: DBX_LIST_TITLE_GROUP_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7264
7445
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DbxListTitleGroupHeaderComponent, selector: "dbx-list-title-group-header", host: { classAttribute: "dbx-list-title-group-header" }, ngImport: i0, template: `
|
|
7265
|
-
<div class="dbx-list-item-padded dbx-list-two-line-item">
|
|
7446
|
+
<div class="dbx-list-item-padded dbx-list-two-line-item" [ngClass]="{ 'dbx-list-two-line-item-with-icon': icon }">
|
|
7266
7447
|
<mat-icon class="item-icon" *ngIf="icon">{{ icon }}</mat-icon>
|
|
7267
7448
|
<div class="item-left">
|
|
7268
7449
|
<div class="mat-subtitle-2">{{ title }}</div>
|
|
7269
7450
|
<div *ngIf="hint" class="item-details">{{ hint }}</div>
|
|
7270
7451
|
</div>
|
|
7271
7452
|
</div>
|
|
7272
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7453
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$2.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7273
7454
|
}
|
|
7274
7455
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxListTitleGroupHeaderComponent, decorators: [{
|
|
7275
7456
|
type: Component,
|
|
7276
7457
|
args: [{
|
|
7277
7458
|
selector: 'dbx-list-title-group-header',
|
|
7278
7459
|
template: `
|
|
7279
|
-
<div class="dbx-list-item-padded dbx-list-two-line-item">
|
|
7460
|
+
<div class="dbx-list-item-padded dbx-list-two-line-item" [ngClass]="{ 'dbx-list-two-line-item-with-icon': icon }">
|
|
7280
7461
|
<mat-icon class="item-icon" *ngIf="icon">{{ icon }}</mat-icon>
|
|
7281
7462
|
<div class="item-left">
|
|
7282
7463
|
<div class="mat-subtitle-2">{{ title }}</div>
|
|
@@ -7295,7 +7476,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
7295
7476
|
}] }]; } });
|
|
7296
7477
|
|
|
7297
7478
|
const privateDeclarations = [DbxListInternalContentDirective];
|
|
7298
|
-
const declarations$
|
|
7479
|
+
const declarations$4 = [
|
|
7299
7480
|
// directives
|
|
7300
7481
|
DbxListComponent,
|
|
7301
7482
|
DbxListEmptyContentComponent,
|
|
@@ -7354,8 +7535,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
7354
7535
|
type: NgModule,
|
|
7355
7536
|
args: [{
|
|
7356
7537
|
imports: [CommonModule, MatRippleModule, FlexLayoutModule, DbxLoadingModule, DbxRouterAnchorModule, InfiniteScrollModule, DbxInjectionComponentModule, MatListModule, MatIconModule],
|
|
7357
|
-
declarations: [...declarations$
|
|
7358
|
-
exports: declarations$
|
|
7538
|
+
declarations: [...declarations$4, ...privateDeclarations],
|
|
7539
|
+
exports: declarations$4
|
|
7359
7540
|
}]
|
|
7360
7541
|
}] });
|
|
7361
7542
|
|
|
@@ -7799,7 +7980,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
7799
7980
|
type: Input
|
|
7800
7981
|
}] } });
|
|
7801
7982
|
|
|
7802
|
-
const declarations$
|
|
7983
|
+
const declarations$3 = [DbxSectionHeaderComponent, DbxSectionPageComponent, DbxSectionComponent, DbxSubSectionComponent, DbxIntroActionSectionComponent];
|
|
7803
7984
|
/**
|
|
7804
7985
|
* Module for container-type components.
|
|
7805
7986
|
*/
|
|
@@ -7812,8 +7993,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
7812
7993
|
type: NgModule,
|
|
7813
7994
|
args: [{
|
|
7814
7995
|
imports: [CommonModule, DbxRouterAnchorModule, MatButtonModule, MatRippleModule, MatIconModule],
|
|
7815
|
-
declarations: declarations$
|
|
7816
|
-
exports: declarations$
|
|
7996
|
+
declarations: declarations$3,
|
|
7997
|
+
exports: declarations$3
|
|
7817
7998
|
}]
|
|
7818
7999
|
}] });
|
|
7819
8000
|
|
|
@@ -8681,6 +8862,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
8681
8862
|
}]
|
|
8682
8863
|
}] });
|
|
8683
8864
|
|
|
8865
|
+
const declarations$2 = [DbxActionSnackbarComponent, DbxActionSnackbarDirective];
|
|
8684
8866
|
class DbxActionSnackbarModule {
|
|
8685
8867
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxActionSnackbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8686
8868
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DbxActionSnackbarModule, declarations: [DbxActionSnackbarComponent, DbxActionSnackbarDirective], imports: [CommonModule, DbxStyleLayoutModule, DbxCoreActionModule, DbxPromptModule, DbxButtonModule], exports: [DbxActionSnackbarComponent, DbxActionSnackbarDirective] }); }
|
|
@@ -8690,8 +8872,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
8690
8872
|
type: NgModule,
|
|
8691
8873
|
args: [{
|
|
8692
8874
|
imports: [CommonModule, DbxStyleLayoutModule, DbxCoreActionModule, DbxPromptModule, DbxButtonModule],
|
|
8693
|
-
declarations:
|
|
8694
|
-
exports:
|
|
8875
|
+
declarations: declarations$2,
|
|
8876
|
+
exports: declarations$2
|
|
8695
8877
|
}]
|
|
8696
8878
|
}] });
|
|
8697
8879
|
|
|
@@ -8731,7 +8913,7 @@ class DbxActionUIRouterTransitionSafetyDialogComponent extends AbstractDialogDir
|
|
|
8731
8913
|
<dbx-button-spacer></dbx-button-spacer>
|
|
8732
8914
|
</ng-container>
|
|
8733
8915
|
</dbx-prompt-confirm>
|
|
8734
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DbxPromptConfirmComponent, selector: "dbx-prompt-confirm", inputs: ["config"], outputs: ["confirm", "cancel"] }, { kind: "directive", type: i1$2.DbxActionButtonDirective, selector: "[dbxActionButton]" }, { kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["type", "basic", "raised", "stroked", "flat", "iconOnly", "color", "spinnerColor", "customButtonColor", "customTextColor", "customSpinnerColor"] }, { kind: "directive", type: DbxButtonSpacerDirective, selector: "dbx-button-spacer,[dbxButtonSpacer]" }, { kind: "component", type: DbxReadableErrorComponent, selector: "dbx-error", inputs: ["error"] }, { kind: "directive", type: DbxActionErrorDirective, selector: "[dbxActionError]" }] }); }
|
|
8916
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxPromptConfirmComponent, selector: "dbx-prompt-confirm", inputs: ["config"], outputs: ["confirm", "cancel"] }, { kind: "directive", type: i1$2.DbxActionButtonDirective, selector: "[dbxActionButton]" }, { kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["type", "basic", "raised", "stroked", "flat", "iconOnly", "color", "spinnerColor", "customButtonColor", "customTextColor", "customSpinnerColor"] }, { kind: "directive", type: DbxButtonSpacerDirective, selector: "dbx-button-spacer,[dbxButtonSpacer]" }, { kind: "component", type: DbxReadableErrorComponent, selector: "dbx-error", inputs: ["error", "iconOnly"], outputs: ["popoverOpen"] }, { kind: "directive", type: DbxActionErrorDirective, selector: "[dbxActionError]" }] }); }
|
|
8735
8917
|
}
|
|
8736
8918
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DbxActionUIRouterTransitionSafetyDialogComponent, decorators: [{
|
|
8737
8919
|
type: Component,
|
|
@@ -9651,5 +9833,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
9651
9833
|
* Generated bundle index. Do not edit.
|
|
9652
9834
|
*/
|
|
9653
9835
|
|
|
9654
|
-
export { APP_POPUP_MINIMIZED_WIDTH, APP_POPUP_NORMAL_HEIGHT, APP_POPUP_NORMAL_WIDTH, AbstractDbxErrorWidgetComponent, AbstractDbxListGridViewDirective, AbstractDbxListViewDirective, AbstractDbxListWrapperDirective, AbstractDbxPartialPresetFilterMenuDirective, AbstractDbxSegueAnchorDirective, AbstractDbxSelectionListViewDirective, AbstractDbxSelectionListWrapperDirective, AbstractDbxValueListItemModifierDirective, AbstractDbxValueListViewDirective, AbstractDbxValueListViewItemComponent, AbstractDbxWidgetComponent, 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_LIST_ITEM_IS_SELECTED_ITEM_MODIFIER_KEY, DBX_LIST_TITLE_GROUP_DATA, DBX_MAT_PROGRESS_BUTTON_GLOBAL_CONFIG, DBX_ROUTER_VALUE_LIST_ITEM_MODIFIER_KEY, DBX_STYLE_DEFAULT_CONFIG_TOKEN, DBX_THEME_COLORS, DBX_THEME_COLORS_EXTRA, DBX_THEME_COLORS_EXTRA_SECONDARY, DBX_THEME_COLORS_MAIN, DBX_VALUE_LIST_VIEW_ITEM, DEFAULT_DBX_LIST_ITEM_IS_SELECTED_FUNCTION, DEFAULT_DBX_PROMPT_CONFIRM_DIALOG_CONFIG, DEFAULT_DBX_SELECTION_VALUE_LIST_DIRECTIVE_TEMPLATE, DEFAULT_DBX_SIDENAV_MENU_ICON, DEFAULT_DBX_VALUE_LIST_CONFIG_MAP_VALUES, DEFAULT_DBX_VALUE_LIST_GRID_DIRECTIVE_TEMPLATE, DEFAULT_ERROR_POPOVER_KEY, DEFAULT_ERROR_WIDGET_CODE, DEFAULT_FILTER_POPOVER_KEY, DEFAULT_LIST_GRID_SIZE_CONFIG, DEFAULT_LIST_WRAPPER_DIRECTIVE_TEMPLATE, DEFAULT_LOADING_PROGRESS_DIAMETER, DEFAULT_SCREEN_MEDIA_SERVICE_CONFIG, DEFAULT_SNACKBAR_DIRECTIVE_DURATION, DEFAULT_STATIC_LIST_DIRECTIVE_TEMPLATE, DEFAULT_TWO_COLUMNS_MIN_RIGHT_WIDTH, DbxActionConfirmDirective, DbxActionDialogDirective, DbxActionErrorDirective, DbxActionKeyTriggerDirective, DbxActionLoadingContextDirective, DbxActionModule, DbxActionPopoverDirective, DbxActionSnackbarComponent, DbxActionSnackbarDirective, DbxActionSnackbarModule, DbxActionSnackbarService, DbxActionTransitionSafetyDialogResult, DbxActionTransitionSafetyDirective, DbxActionUIRouterTransitionModule, DbxActionUIRouterTransitionSafetyDialogComponent, DbxAnchorComponent, DbxAnchorContentComponent, DbxAnchorIconComponent, DbxAnchorLinkComponent, DbxAnchorListComponent, DbxAngularRouterSegueAnchorComponent, DbxBarButtonComponent, DbxBarDirective, DbxBarHeaderComponent, DbxBarLayoutModule, DbxBasicLoadingComponent, DbxBlockLayoutModule, DbxBodyDirective, DbxButtonComponent, DbxButtonDisplayType, DbxButtonModule, DbxButtonSpacerDirective, DbxCardBoxComponent, DbxCardBoxContainerComponent, DbxCardBoxLayoutModule, DbxChipDirective, DbxColorDirective, DbxColumnLayoutModule, DbxCompactDirective, DbxCompactLayoutModule, DbxContentBorderDirective, DbxContentBoxDirective, DbxContentContainerDirective, DbxContentDirective, DbxContentElevateDirective, DbxContentLayoutModule, DbxContentPageDirective, DbxContentPitDirective, DbxDetailBlockComponent, DbxDetailBlockHeaderComponent, DbxDialogContentCloseComponent, DbxDialogContentDirective, DbxDialogContentFooterComponent, DbxDialogInteractionModule, DbxDownloadTextModule, DbxDownloadTextViewComponent, DbxErrorDefaultErrorWidgetComponent, DbxErrorDetailsComponent, DbxErrorPopoverComponent, DbxErrorViewComponent, DbxErrorWidgetService, DbxErrorWidgetViewComponent, DbxFilterInteractionModule, DbxFilterPopoverButtonComponent, DbxFilterPopoverComponent, DbxFilterWrapperComponent, DbxFlagComponent, DbxFlagLayoutModule, DbxFlagPromptComponent, DbxFlexGroupDirective, DbxFlexLayoutModule, DbxFlexSizeDirective, DbxFormDescriptionComponent, DbxHintComponent, DbxIconButtonComponent, DbxIconButtonModule, DbxIconItemComponent, DbxIconSpacerDirective, DbxIfSidenavDisplayModeDirective, DbxInteractionModule, DbxIntroActionSectionComponent, DbxItemLayoutModule, DbxKeypressModule, DbxLabelBlockComponent, DbxLabelComponent, DbxLayoutModule, DbxLinkifyComponent, DbxListComponent, DbxListEmptyContentComponent, DbxListInternalContentDirective, DbxListItemAnchorModifierDirective, DbxListItemDisableRippleModifierDirective, DbxListItemIsSelectedModifierDirective, DbxListLayoutModule, DbxListTitleGroupDirective, DbxListTitleGroupHeaderComponent, DbxListView, DbxListViewWrapper, DbxLoadingComponent, DbxLoadingErrorDirective, DbxLoadingModule, DbxLoadingProgressComponent, DbxModelInfoModule, DbxModelObjectStateService, actions as DbxModelStateActions, model_actions as DbxModelStateModelActions, DbxModelTrackerService, DbxModelTypesService, DbxModelViewTrackerStorage, DbxNavbarComponent, DbxNoteComponent, DbxNoticeComponent, DbxOkComponent, DbxOneColumnComponent, DbxOneColumnLayoutModule, DbxPagebarComponent, DbxPartialPresetFilterListComponent, DbxPartialPresetFilterMenuComponent, DbxPopoverCloseButtonComponent, DbxPopoverComponent, DbxPopoverComponentController, DbxPopoverContentComponent, DbxPopoverController, DbxPopoverControlsDirective, DbxPopoverCoordinatorComponent, DbxPopoverCoordinatorService, DbxPopoverHeaderComponent, DbxPopoverInteractionContentModule, DbxPopoverInteractionModule, DbxPopoverScrollContentComponent, DbxPopoverService, DbxPopupComponent, DbxPopupComponentController, DbxPopupContentComponent, DbxPopupControlButtonsComponent, DbxPopupController, DbxPopupControlsComponent, DbxPopupCoordinatorComponent, DbxPopupCoordinatorService, DbxPopupInteractionModule, DbxPopupService, DbxPopupWindowState, DbxPresetFilterListComponent, DbxPresetFilterMenuComponent, 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, DbxSelectionValueListViewComponent, DbxSelectionValueListViewContentComponent, DbxSetStyleDirective, DbxSidenavButtonComponent, DbxSidenavComponent, DbxSidenavPageComponent, DbxSidenavPagebarComponent, DbxSpacerDirective, DbxSpinnerButtonComponent, DbxStepComponent, DbxStepLayoutModule, DbxStructureDirective, DbxStructureModule, DbxStyleBodyDirective, DbxStyleDirective, DbxStyleLayoutModule, DbxStyleService, DbxSubSectionComponent, DbxSuccessComponent, DbxTextChipsComponent, DbxTextModule, DbxTwoBlocksComponent, DbxTwoColumnBackDirective, DbxTwoColumnColumnHeadComponent, DbxTwoColumnComponent, DbxTwoColumnContextDirective, DbxTwoColumnFullLeftDirective, DbxTwoColumnLayoutModule, DbxTwoColumnRightComponent, DbxTwoColumnSrefDirective, DbxTwoColumnSrefShowRightDirective, DbxUIRouterSegueAnchorComponent, DbxUnitedStatesAddressComponent, DbxValueListGridSizeDirective, DbxValueListGridViewComponent, DbxValueListGridViewContentComponent, DbxValueListItemModifier, DbxValueListItemModifierDirective, DbxValueListView, DbxValueListViewComponent, DbxValueListViewContentComponent, DbxValueListViewContentGroupComponent, DbxValueListViewGroupDelegate, DbxWarnComponent, DbxWebAngularRouterModule, DbxWebModule, DbxWebUIRouterModule, DbxWidgetListGridComponent, DbxWidgetListGridViewComponent, DbxWidgetListGridViewItemComponent, DbxWidgetModule, DbxWidgetService, DbxWidgetViewComponent, DbxWindowKeyDownListenerDirective, LoadingComponentState, PopoverPositionStrategy, PopupGlobalPositionStrategy, SCREEN_MEDIA_WIDTH_TYPE_SIZE_MAP, SideNavDisplayMode, TRACK_BY_MODEL_ID, TRACK_BY_MODEL_KEY, TwoColumnsContextStore, addConfigToValueListItems, allDbxModelViewTrackerEventModelKeys, allDbxModelViewTrackerEventSetModelKeys, appObjectViewTrackerStorageFactory, catchErrorServerParams, compactModeFromInput, compareScreenMediaWidthTypes, convertServerErrorParams, convertToPOJOServerErrorResponse, convertToServerErrorResponse, dbxColorBackground, dbxPresetFilterMenuButtonIconObservable, dbxPresetFilterMenuButtonTextObservable, dbxValueListItemDecisionFunction, defaultDbxValueListViewGroupDelegate, defaultDbxValueListViewGroupValuesFunction, disableRightClickInCdkBackdrop, index as fromDbxModel, listItemModifier, makeDbxActionSnackbarDisplayConfigGeneratorFunction, mapCompactModeObs, mapValuesToValuesListItemConfigObs, index$1 as onDbxModel, provideDbxListView, provideDbxListViewWrapper, provideDbxPromptConfirm, provideDbxValueListView, provideDbxValueListViewGroupDelegate, provideDbxValueListViewModifier, provideTwoColumnsContext, sanitizeDbxDialogContentConfig, screenMediaWidthTypeIsActive, trackByModelKeyRef, trackByUniqueIdentifier };
|
|
9836
|
+
export { APP_POPUP_MINIMIZED_WIDTH, APP_POPUP_NORMAL_HEIGHT, APP_POPUP_NORMAL_WIDTH, AbstractDbxErrorWidgetComponent, AbstractDbxListGridViewDirective, AbstractDbxListViewDirective, AbstractDbxListWrapperDirective, AbstractDbxPartialPresetFilterMenuDirective, AbstractDbxSegueAnchorDirective, AbstractDbxSelectionListViewDirective, AbstractDbxSelectionListWrapperDirective, AbstractDbxValueListItemModifierDirective, AbstractDbxValueListViewDirective, AbstractDbxValueListViewItemComponent, AbstractDbxWidgetComponent, 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_LIST_ITEM_IS_SELECTED_ITEM_MODIFIER_KEY, DBX_LIST_TITLE_GROUP_DATA, DBX_MAT_PROGRESS_BUTTON_GLOBAL_CONFIG, DBX_ROUTER_VALUE_LIST_ITEM_MODIFIER_KEY, DBX_STYLE_DEFAULT_CONFIG_TOKEN, DBX_THEME_COLORS, DBX_THEME_COLORS_EXTRA, DBX_THEME_COLORS_EXTRA_SECONDARY, DBX_THEME_COLORS_MAIN, DBX_VALUE_LIST_VIEW_ITEM, DEFAULT_DBX_LIST_ITEM_IS_SELECTED_FUNCTION, DEFAULT_DBX_PROMPT_CONFIRM_DIALOG_CONFIG, DEFAULT_DBX_SELECTION_VALUE_LIST_DIRECTIVE_TEMPLATE, DEFAULT_DBX_SIDENAV_MENU_ICON, DEFAULT_DBX_VALUE_LIST_CONFIG_MAP_VALUES, DEFAULT_DBX_VALUE_LIST_GRID_DIRECTIVE_TEMPLATE, DEFAULT_ERROR_POPOVER_KEY, DEFAULT_ERROR_WIDGET_CODE, DEFAULT_FILTER_POPOVER_KEY, DEFAULT_LIST_GRID_SIZE_CONFIG, DEFAULT_LIST_WRAPPER_DIRECTIVE_TEMPLATE, DEFAULT_LOADING_PROGRESS_DIAMETER, DEFAULT_SCREEN_MEDIA_SERVICE_CONFIG, DEFAULT_SNACKBAR_DIRECTIVE_DURATION, DEFAULT_STATIC_LIST_DIRECTIVE_TEMPLATE, DEFAULT_TWO_COLUMNS_MIN_RIGHT_WIDTH, DbxActionConfirmDirective, DbxActionDialogDirective, DbxActionErrorDirective, DbxActionKeyTriggerDirective, DbxActionLoadingContextDirective, DbxActionModule, DbxActionPopoverDirective, DbxActionSnackbarComponent, DbxActionSnackbarDirective, DbxActionSnackbarErrorDirective, DbxActionSnackbarModule, DbxActionSnackbarService, DbxActionTransitionSafetyDialogResult, DbxActionTransitionSafetyDirective, DbxActionUIRouterTransitionModule, DbxActionUIRouterTransitionSafetyDialogComponent, DbxAnchorComponent, DbxAnchorContentComponent, DbxAnchorIconComponent, DbxAnchorLinkComponent, DbxAnchorListComponent, DbxAngularRouterSegueAnchorComponent, DbxBarButtonComponent, DbxBarDirective, DbxBarHeaderComponent, DbxBarLayoutModule, DbxBasicLoadingComponent, DbxBlockLayoutModule, DbxBodyDirective, DbxButtonComponent, DbxButtonDisplayType, DbxButtonModule, DbxButtonSpacerDirective, DbxCardBoxComponent, DbxCardBoxContainerComponent, DbxCardBoxLayoutModule, DbxChipDirective, DbxColorDirective, DbxColumnLayoutModule, DbxCompactDirective, DbxCompactLayoutModule, DbxContentBorderDirective, DbxContentBoxDirective, DbxContentContainerDirective, DbxContentDirective, DbxContentElevateDirective, DbxContentLayoutModule, DbxContentPageDirective, DbxContentPitDirective, DbxDetailBlockComponent, DbxDetailBlockHeaderComponent, DbxDialogContentCloseComponent, DbxDialogContentDirective, DbxDialogContentFooterComponent, DbxDialogInteractionModule, DbxDownloadTextModule, DbxDownloadTextViewComponent, DbxErrorDefaultErrorWidgetComponent, DbxErrorDetailsComponent, DbxErrorPopoverComponent, DbxErrorSnackbarComponent, DbxErrorSnackbarService, DbxErrorViewComponent, DbxErrorWidgetService, DbxErrorWidgetViewComponent, DbxFilterInteractionModule, DbxFilterPopoverButtonComponent, DbxFilterPopoverComponent, DbxFilterWrapperComponent, DbxFlagComponent, DbxFlagLayoutModule, DbxFlagPromptComponent, DbxFlexGroupDirective, DbxFlexLayoutModule, DbxFlexSizeDirective, DbxFormDescriptionComponent, DbxHintComponent, DbxIconButtonComponent, DbxIconButtonModule, DbxIconItemComponent, DbxIconSpacerDirective, DbxIfSidenavDisplayModeDirective, DbxInteractionModule, DbxIntroActionSectionComponent, DbxItemLayoutModule, DbxKeypressModule, DbxLabelBlockComponent, DbxLabelComponent, DbxLayoutModule, DbxLinkifyComponent, DbxListComponent, DbxListEmptyContentComponent, DbxListInternalContentDirective, DbxListItemAnchorModifierDirective, DbxListItemDisableRippleModifierDirective, DbxListItemIsSelectedModifierDirective, DbxListLayoutModule, DbxListTitleGroupDirective, DbxListTitleGroupHeaderComponent, DbxListView, DbxListViewWrapper, DbxLoadingComponent, DbxLoadingErrorDirective, DbxLoadingModule, DbxLoadingProgressComponent, DbxModelInfoModule, DbxModelObjectStateService, actions as DbxModelStateActions, model_actions as DbxModelStateModelActions, DbxModelTrackerService, DbxModelTypesService, DbxModelViewTrackerStorage, DbxNavbarComponent, DbxNoteComponent, DbxNoticeComponent, DbxOkComponent, DbxOneColumnComponent, DbxOneColumnLayoutModule, DbxPagebarComponent, DbxPartialPresetFilterListComponent, DbxPartialPresetFilterMenuComponent, DbxPopoverCloseButtonComponent, DbxPopoverComponent, DbxPopoverComponentController, DbxPopoverContentComponent, DbxPopoverController, DbxPopoverControlsDirective, DbxPopoverCoordinatorComponent, DbxPopoverCoordinatorService, DbxPopoverHeaderComponent, DbxPopoverInteractionContentModule, DbxPopoverInteractionModule, DbxPopoverScrollContentComponent, DbxPopoverService, DbxPopupComponent, DbxPopupComponentController, DbxPopupContentComponent, DbxPopupControlButtonsComponent, DbxPopupController, DbxPopupControlsComponent, DbxPopupCoordinatorComponent, DbxPopupCoordinatorService, DbxPopupInteractionModule, DbxPopupService, DbxPopupWindowState, DbxPresetFilterListComponent, DbxPresetFilterMenuComponent, 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, DbxSelectionValueListViewComponent, DbxSelectionValueListViewContentComponent, DbxSetStyleDirective, DbxSidenavButtonComponent, DbxSidenavComponent, DbxSidenavPageComponent, DbxSidenavPagebarComponent, DbxSpacerDirective, DbxSpinnerButtonComponent, DbxStepComponent, DbxStepLayoutModule, DbxStructureDirective, DbxStructureModule, DbxStyleBodyDirective, DbxStyleDirective, DbxStyleLayoutModule, DbxStyleService, DbxSubSectionComponent, DbxSuccessComponent, DbxTextChipsComponent, DbxTextModule, DbxTwoBlocksComponent, DbxTwoColumnBackDirective, DbxTwoColumnColumnHeadComponent, DbxTwoColumnComponent, DbxTwoColumnContextDirective, DbxTwoColumnFullLeftDirective, DbxTwoColumnLayoutModule, DbxTwoColumnRightComponent, DbxTwoColumnSrefDirective, DbxTwoColumnSrefShowRightDirective, DbxUIRouterSegueAnchorComponent, DbxUnitedStatesAddressComponent, DbxValueListGridSizeDirective, DbxValueListGridViewComponent, DbxValueListGridViewContentComponent, DbxValueListItemModifier, DbxValueListItemModifierDirective, DbxValueListView, DbxValueListViewComponent, DbxValueListViewContentComponent, DbxValueListViewContentGroupComponent, DbxValueListViewGroupDelegate, DbxWarnComponent, DbxWebAngularRouterModule, DbxWebModule, DbxWebUIRouterModule, DbxWidgetListGridComponent, DbxWidgetListGridViewComponent, DbxWidgetListGridViewItemComponent, DbxWidgetModule, DbxWidgetService, DbxWidgetViewComponent, DbxWindowKeyDownListenerDirective, LoadingComponentState, PopoverPositionStrategy, PopupGlobalPositionStrategy, SCREEN_MEDIA_WIDTH_TYPE_SIZE_MAP, SideNavDisplayMode, TRACK_BY_MODEL_ID, TRACK_BY_MODEL_KEY, TwoColumnsContextStore, UNKNOWN_ERROR_WIDGET_CODE, addConfigToValueListItems, allDbxModelViewTrackerEventModelKeys, allDbxModelViewTrackerEventSetModelKeys, appObjectViewTrackerStorageFactory, catchErrorServerParams, compactModeFromInput, compareScreenMediaWidthTypes, convertServerErrorParams, convertToPOJOServerErrorResponse, convertToServerErrorResponse, dbxColorBackground, dbxPresetFilterMenuButtonIconObservable, dbxPresetFilterMenuButtonTextObservable, dbxValueListItemDecisionFunction, defaultDbxValueListViewGroupDelegate, defaultDbxValueListViewGroupValuesFunction, disableRightClickInCdkBackdrop, index as fromDbxModel, listItemModifier, makeDbxActionSnackbarDisplayConfigGeneratorFunction, mapCompactModeObs, mapValuesToValuesListItemConfigObs, index$1 as onDbxModel, provideDbxListView, provideDbxListViewWrapper, provideDbxPromptConfirm, provideDbxValueListView, provideDbxValueListViewGroupDelegate, provideDbxValueListViewModifier, provideTwoColumnsContext, sanitizeDbxDialogContentConfig, screenMediaWidthTypeIsActive, trackByModelKeyRef, trackByUniqueIdentifier };
|
|
9655
9837
|
//# sourceMappingURL=dereekb-dbx-web.mjs.map
|