@dereekb/dbx-web 13.11.10 → 13.11.11
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/eslint/index.cjs.js +1 -2
- package/eslint/index.esm.js +1 -2
- package/fesm2022/dereekb-dbx-web-table.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-web.mjs +157 -36
- package/fesm2022/dereekb-dbx-web.mjs.map +1 -1
- package/lib/interaction/detach/_detach.scss +3 -5
- package/package.json +7 -7
- package/types/dereekb-dbx-web.d.ts +136 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Injectable, input, inject, effect, Directive, NgModule, ChangeDetectionStrategy, Component, output, computed, HostListener, forwardRef, InjectionToken, viewChild, ElementRef, makeEnvironmentProviders, ApplicationRef, Injector, EnvironmentInjector, createComponent, DestroyRef, signal, TemplateRef, model, SecurityContext, ViewContainerRef, booleanAttribute, Renderer2 } from '@angular/core';
|
|
3
|
-
import { asPromise, DASH_CHARACTER_PREFIX_INSTANCE, cssTokenVar, isDefinedAndNotFalse, spaceSeparatedCssClasses, cssClassesSet, objectHasNoKeys, getValueFromGetter, firstValue, filterUndefinedValues, separateValues, splitFront, asDecisionFunction, SLASH_PATH_FILE_TYPE_SEPARATOR, filterMaybeArrayValues, mapIterable, toReadableError, isDefaultReadableError, MS_IN_SECOND, mergeObjects, build, ServerErrorResponse, UnauthorizedServerErrorResponse, makeTimer, MS_IN_MINUTE, toggleTimerRunning, unixDateTimeSecondsNumberForNow, ModelRelationUtility, encodeModelKeyTypePair,
|
|
3
|
+
import { asPromise, DASH_CHARACTER_PREFIX_INSTANCE, cssTokenVar, isDefinedAndNotFalse, useIterableOrValue, spaceSeparatedCssClasses, cssClassesSet, objectHasNoKeys, getValueFromGetter, firstValue, filterUndefinedValues, separateValues, splitFront, asDecisionFunction, SLASH_PATH_FILE_TYPE_SEPARATOR, filterMaybeArrayValues, mapIterable, toReadableError, isDefaultReadableError, MS_IN_SECOND, mergeObjects, build, ServerErrorResponse, UnauthorizedServerErrorResponse, makeTimer, MS_IN_MINUTE, toggleTimerRunning, unixDateTimeSecondsNumberForNow, ModelRelationUtility, encodeModelKeyTypePair, safeCompareEquality, addMilliseconds, isPast, asArray, slashPathDetails, mimeTypeForFileExtension, slashPathDirectoryTree, isMaybeNot, isNotFalse, modifier, combineMaps, addModifiers, removeModifiers, applyBestFit, findNext, maybeModifierMapToFunction, makeValuesGroupMap, compareWithMappedValuesFunction, invertMaybeBoolean, splitCommaSeparatedStringToSet, ZIP_FILE_MIME_TYPE, cachedGetter, sortByNumberFunction, PDF_MIME_TYPE, PNG_MIME_TYPE, JPEG_MIME_TYPE, JPEG_MIME_TYPES, sequentialIncrementingNumberStringModelIdFactory, PDF_HEADER, PDF_EOF_MARKER, PDF_ENCRYPT_MARKER } from '@dereekb/util';
|
|
4
4
|
import * as i1$2 from '@dereekb/dbx-core';
|
|
5
5
|
import { completeOnDestroy, clean, AbstractTransitionWatcherDirective, DbxInjectionComponent, dbxActionWorkProgress, AbstractDbxButtonDirective, hasNonTrivialChildNodes, provideDbxButton, DbxCoreButtonModule, createInjectorForInjectionComponentConfig, initInjectionComponent, AbstractDbxActionValueGetterDirective, cleanSubscription, AbstractDbxActionHandlerDirective, FilterSourceDirective, provideActionStoreSource, isClickableFilterPreset, AbstractDbxAnchorDirective, expandClickableAnchorLinkTrees, DbxCoreFilterModule, DbxButton, DbxActionContextStoreSourceInstance, cleanSubscriptionWithLockSet, DBX_INJECTION_COMPONENT_DATA, checkNgContentWrapperHasContent, cleanLoadingContext, DbxActionSourceDirective, DbxActionSuccessHandlerDirective, DbxActionDirective, transformEmptyStringInputToUndefined, isIdleActionState, canTriggerAction, DbxCoreActionModule, DbxActionButtonDirective, onDbxAppAuth, SimpleStorageAccessorFactory, mergeStaticProviders, asSegueRef, AbstractTransitionDirective, DbxRouterService, AbstractIfDirective, isSegueRefActive, anchorTypeForAnchor } from '@dereekb/dbx-core';
|
|
6
6
|
import { NgPopoverRef, NgOverlayContainerService } from 'ng-overlay-container';
|
|
@@ -687,10 +687,14 @@ const DBX_THEME_COLORS = [...DBX_THEME_COLORS_MAIN, ...DBX_THEME_COLORS_EXTRA, .
|
|
|
687
687
|
/**
|
|
688
688
|
* Type guard: true when the value is a {@link DbxColorConfig} object (not a named-color string).
|
|
689
689
|
*
|
|
690
|
+
* Any non-null object is treated as a config so template-only configs (i.e. `{ template: 'foo' }`)
|
|
691
|
+
* are detected before the service expands them.
|
|
692
|
+
*
|
|
690
693
|
* @example
|
|
691
694
|
* ```ts
|
|
692
695
|
* isDbxColorConfig('primary'); // false
|
|
693
696
|
* isDbxColorConfig({ color: '#ff0066' }); // true
|
|
697
|
+
* isDbxColorConfig({ template: 'brand-positive' }); // true
|
|
694
698
|
* isDbxColorConfig(undefined); // false
|
|
695
699
|
* ```
|
|
696
700
|
*
|
|
@@ -698,7 +702,7 @@ const DBX_THEME_COLORS = [...DBX_THEME_COLORS_MAIN, ...DBX_THEME_COLORS_EXTRA, .
|
|
|
698
702
|
* @returns `true` when the value is a {@link DbxColorConfig}
|
|
699
703
|
*/
|
|
700
704
|
function isDbxColorConfig(value) {
|
|
701
|
-
return typeof value === 'object' && value !== null
|
|
705
|
+
return typeof value === 'object' && value !== null;
|
|
702
706
|
}
|
|
703
707
|
/**
|
|
704
708
|
* CSS class that applies the background `color-mix` rule using the host's inline `--dbx-bg-color-current` / `--dbx-color-current` values.
|
|
@@ -964,6 +968,101 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
964
968
|
args: ['click', ['$event']]
|
|
965
969
|
}] } });
|
|
966
970
|
|
|
971
|
+
/**
|
|
972
|
+
* Configuration provided in the root module/environment for seeding {@link DbxColorService} with initial templates.
|
|
973
|
+
*/
|
|
974
|
+
class DbxColorServiceConfig {
|
|
975
|
+
}
|
|
976
|
+
/**
|
|
977
|
+
* Service that registers named {@link DbxColorConfigTemplate} entries and expands
|
|
978
|
+
* {@link DbxColorConfig} values that reference a template by key.
|
|
979
|
+
*
|
|
980
|
+
* The pattern mirrors {@link DbxHelpWidgetService} and {@link DbxFirebaseModelEntitiesWidgetService}:
|
|
981
|
+
* an internal Map keyed by template key, optional seeding from {@link DbxColorServiceConfig},
|
|
982
|
+
* and a `register` method for adding entries at runtime.
|
|
983
|
+
*/
|
|
984
|
+
class DbxColorService {
|
|
985
|
+
_templates = new Map();
|
|
986
|
+
constructor() {
|
|
987
|
+
const initialConfig = inject(DbxColorServiceConfig, { optional: true });
|
|
988
|
+
if (initialConfig?.templates) {
|
|
989
|
+
this.register(initialConfig.templates);
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
/**
|
|
993
|
+
* Registers one or more {@link DbxColorConfigTemplate} entries.
|
|
994
|
+
*
|
|
995
|
+
* @param templates - the template(s) to register
|
|
996
|
+
* @param override - whether existing entries with the same key should be replaced (default true)
|
|
997
|
+
*/
|
|
998
|
+
register(templates, override = true) {
|
|
999
|
+
useIterableOrValue(templates, (template) => {
|
|
1000
|
+
if (override || !this._templates.has(template.key)) {
|
|
1001
|
+
this._templates.set(template.key, template);
|
|
1002
|
+
}
|
|
1003
|
+
});
|
|
1004
|
+
}
|
|
1005
|
+
/**
|
|
1006
|
+
* Returns whether a template with the given key has been registered.
|
|
1007
|
+
*
|
|
1008
|
+
* @param key - the template key to check
|
|
1009
|
+
* @returns true when a template is registered under the given key
|
|
1010
|
+
*/
|
|
1011
|
+
hasTemplate(key) {
|
|
1012
|
+
return this._templates.has(key);
|
|
1013
|
+
}
|
|
1014
|
+
/**
|
|
1015
|
+
* Returns the {@link DbxColorConfigTemplate} registered under the given key, or undefined if none.
|
|
1016
|
+
*
|
|
1017
|
+
* @param key - the template key to look up
|
|
1018
|
+
* @returns the registered template, or undefined when no template matches
|
|
1019
|
+
*/
|
|
1020
|
+
getTemplate(key) {
|
|
1021
|
+
return this._templates.get(key);
|
|
1022
|
+
}
|
|
1023
|
+
/**
|
|
1024
|
+
* Returns all currently registered template keys.
|
|
1025
|
+
*
|
|
1026
|
+
* @returns array of all registered template keys
|
|
1027
|
+
*/
|
|
1028
|
+
getAllRegisteredTemplateKeys() {
|
|
1029
|
+
return [...this._templates.keys()];
|
|
1030
|
+
}
|
|
1031
|
+
/**
|
|
1032
|
+
* Resolves the {@link DbxColorConfig.template} reference (if any) and merges the template's
|
|
1033
|
+
* fields beneath the input config. Input config fields override the template's fields.
|
|
1034
|
+
*
|
|
1035
|
+
* Returns the input unchanged when no template is set or when the template key is unknown.
|
|
1036
|
+
*
|
|
1037
|
+
* @example
|
|
1038
|
+
* ```ts
|
|
1039
|
+
* service.register({ key: 'brand-positive', config: { color: '#1f9b59', contrast: 'white', tone: 18 } });
|
|
1040
|
+
* service.expandColorConfig({ template: 'brand-positive' });
|
|
1041
|
+
* // -> { template: 'brand-positive', color: '#1f9b59', contrast: 'white', tone: 18 }
|
|
1042
|
+
* service.expandColorConfig({ template: 'brand-positive', tone: 60 });
|
|
1043
|
+
* // -> { template: 'brand-positive', color: '#1f9b59', contrast: 'white', tone: 60 }
|
|
1044
|
+
* ```
|
|
1045
|
+
*
|
|
1046
|
+
* @param config - the input config to expand
|
|
1047
|
+
* @returns an expanded config, or the input unchanged when no expansion applies
|
|
1048
|
+
*/
|
|
1049
|
+
expandColorConfig(config) {
|
|
1050
|
+
let result = config;
|
|
1051
|
+
if (config?.template) {
|
|
1052
|
+
const template = this._templates.get(config.template);
|
|
1053
|
+
if (template) {
|
|
1054
|
+
result = { ...template.config, ...config };
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
1057
|
+
return result;
|
|
1058
|
+
}
|
|
1059
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: DbxColorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1060
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: DbxColorService });
|
|
1061
|
+
}
|
|
1062
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: DbxColorService, decorators: [{
|
|
1063
|
+
type: Injectable
|
|
1064
|
+
}], ctorParameters: () => [] });
|
|
1065
|
+
|
|
967
1066
|
/**
|
|
968
1067
|
* Applies a themed background color to the host element.
|
|
969
1068
|
*
|
|
@@ -986,6 +1085,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
986
1085
|
* ```
|
|
987
1086
|
*/
|
|
988
1087
|
class DbxColorDirective {
|
|
1088
|
+
_colorService = inject(DbxColorService, { optional: true });
|
|
989
1089
|
dbxColor = input(...(ngDevMode ? [undefined, { debugName: "dbxColor" }] : /* istanbul ignore next */ []));
|
|
990
1090
|
/**
|
|
991
1091
|
* Background tone level (0-100). When set, the background becomes semi-transparent
|
|
@@ -995,7 +1095,7 @@ class DbxColorDirective {
|
|
|
995
1095
|
cssClassSignal = computed(() => dbxColorBackground(this.dbxColor()), ...(ngDevMode ? [{ debugName: "cssClassSignal" }] : /* istanbul ignore next */ []));
|
|
996
1096
|
_configSignal = computed(() => {
|
|
997
1097
|
const value = this.dbxColor();
|
|
998
|
-
return isDbxColorConfig(value) ? value : undefined;
|
|
1098
|
+
return isDbxColorConfig(value) ? (this._colorService?.expandColorConfig(value) ?? value) : undefined;
|
|
999
1099
|
}, ...(ngDevMode ? [{ debugName: "_configSignal" }] : /* istanbul ignore next */ []));
|
|
1000
1100
|
/**
|
|
1001
1101
|
* Inline `--dbx-bg-color-current` value applied when a {@link DbxColorConfig} is bound. Resolves to `null` in string mode so the named `.dbx-{color}-bg` class supplies the variable instead.
|
|
@@ -1010,7 +1110,7 @@ class DbxColorDirective {
|
|
|
1010
1110
|
*/
|
|
1011
1111
|
effectiveToneSignal = computed(() => {
|
|
1012
1112
|
const inputTone = this.dbxColorTone();
|
|
1013
|
-
return inputTone
|
|
1113
|
+
return inputTone ?? this._configSignal()?.tone;
|
|
1014
1114
|
}, ...(ngDevMode ? [{ debugName: "effectiveToneSignal" }] : /* istanbul ignore next */ []));
|
|
1015
1115
|
/**
|
|
1016
1116
|
* Whether tonal mode is active. Adds the `dbx-color-tonal` CSS class which
|
|
@@ -1024,10 +1124,7 @@ class DbxColorDirective {
|
|
|
1024
1124
|
isTonalSignal = computed(() => {
|
|
1025
1125
|
const inputTone = this.dbxColorTone();
|
|
1026
1126
|
let tonal = false;
|
|
1027
|
-
if (inputTone
|
|
1028
|
-
tonal = true;
|
|
1029
|
-
}
|
|
1030
|
-
else {
|
|
1127
|
+
if (inputTone == null) {
|
|
1031
1128
|
const config = this._configSignal();
|
|
1032
1129
|
if (config?.tonal != null) {
|
|
1033
1130
|
tonal = config.tonal;
|
|
@@ -1036,6 +1133,9 @@ class DbxColorDirective {
|
|
|
1036
1133
|
tonal = true;
|
|
1037
1134
|
}
|
|
1038
1135
|
}
|
|
1136
|
+
else {
|
|
1137
|
+
tonal = true;
|
|
1138
|
+
}
|
|
1039
1139
|
return tonal;
|
|
1040
1140
|
}, ...(ngDevMode ? [{ debugName: "isTonalSignal" }] : /* istanbul ignore next */ []));
|
|
1041
1141
|
/**
|
|
@@ -1043,7 +1143,7 @@ class DbxColorDirective {
|
|
|
1043
1143
|
*/
|
|
1044
1144
|
bgToneStyleSignal = computed(() => {
|
|
1045
1145
|
const tone = this.effectiveToneSignal();
|
|
1046
|
-
return tone
|
|
1146
|
+
return tone == null ? null : `${tone}%`;
|
|
1047
1147
|
}, ...(ngDevMode ? [{ debugName: "bgToneStyleSignal" }] : /* istanbul ignore next */ []));
|
|
1048
1148
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: DbxColorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1049
1149
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.11", type: DbxColorDirective, isStandalone: true, selector: "[dbxColor]", inputs: { dbxColor: { classPropertyName: "dbxColor", publicName: "dbxColor", isSignal: true, isRequired: false, transformFunction: null }, dbxColorTone: { classPropertyName: "dbxColorTone", publicName: "dbxColorTone", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "cssClassSignal()", "class.dbx-color": "true", "class.dbx-color-tonal": "isTonalSignal()", "style.--dbx-color-bg-tone": "bgToneStyleSignal()", "style.--dbx-bg-color-current": "bgColorStyleSignal()", "style.--dbx-color-current": "colorStyleSignal()" } }, ngImport: i0 });
|
|
@@ -6246,7 +6346,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
6246
6346
|
* ```
|
|
6247
6347
|
*/
|
|
6248
6348
|
class DbxTextColorDirective {
|
|
6349
|
+
_colorService = inject(DbxColorService, { optional: true });
|
|
6249
6350
|
dbxTextColor = input(...(ngDevMode ? [undefined, { debugName: "dbxTextColor" }] : /* istanbul ignore next */ []));
|
|
6351
|
+
_configSignal = computed(() => {
|
|
6352
|
+
const value = this.dbxTextColor();
|
|
6353
|
+
return isDbxColorConfig(value) ? (this._colorService?.expandColorConfig(value) ?? value) : undefined;
|
|
6354
|
+
}, ...(ngDevMode ? [{ debugName: "_configSignal" }] : /* istanbul ignore next */ []));
|
|
6250
6355
|
cssClassSignal = computed(() => {
|
|
6251
6356
|
const value = this.dbxTextColor();
|
|
6252
6357
|
let result = '';
|
|
@@ -6261,10 +6366,7 @@ class DbxTextColorDirective {
|
|
|
6261
6366
|
/**
|
|
6262
6367
|
* Inline `--dbx-color-current` value applied when a {@link DbxColorConfig} is bound. Resolves to `null` in string mode so the named `.dbx-{color}` class supplies the variable instead.
|
|
6263
6368
|
*/
|
|
6264
|
-
colorStyleSignal = computed(() => {
|
|
6265
|
-
const value = this.dbxTextColor();
|
|
6266
|
-
return isDbxColorConfig(value) ? value.color : null;
|
|
6267
|
-
}, ...(ngDevMode ? [{ debugName: "colorStyleSignal" }] : /* istanbul ignore next */ []));
|
|
6369
|
+
colorStyleSignal = computed(() => this._configSignal()?.color ?? null, ...(ngDevMode ? [{ debugName: "colorStyleSignal" }] : /* istanbul ignore next */ []));
|
|
6268
6370
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: DbxTextColorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6269
6371
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.11", type: DbxTextColorDirective, isStandalone: true, selector: "[dbxTextColor]", inputs: { dbxTextColor: { classPropertyName: "dbxTextColor", publicName: "dbxTextColor", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "cssClassSignal()", "style.--dbx-color-current": "colorStyleSignal()" } }, ngImport: i0 });
|
|
6270
6372
|
}
|
|
@@ -7483,11 +7585,11 @@ class DbxActionConfirmDirective extends AbstractPromptConfirmDirective {
|
|
|
7483
7585
|
lockSet: this.source.lockSet,
|
|
7484
7586
|
sub: this.source.triggered$.subscribe(() => {
|
|
7485
7587
|
const skip = this.dbxActionConfirmSkip();
|
|
7486
|
-
if (
|
|
7487
|
-
this.
|
|
7588
|
+
if (skip) {
|
|
7589
|
+
this._handleDialogResult(true);
|
|
7488
7590
|
}
|
|
7489
7591
|
else {
|
|
7490
|
-
this.
|
|
7592
|
+
this.showDialog();
|
|
7491
7593
|
}
|
|
7492
7594
|
})
|
|
7493
7595
|
});
|
|
@@ -9585,6 +9687,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
9585
9687
|
* ```
|
|
9586
9688
|
*/
|
|
9587
9689
|
class DbxBarDirective {
|
|
9690
|
+
_colorService = inject(DbxColorService, { optional: true });
|
|
9588
9691
|
color = input(...(ngDevMode ? [undefined, { debugName: "color" }] : /* istanbul ignore next */ []));
|
|
9589
9692
|
cssClassSignal = computed(() => {
|
|
9590
9693
|
const color = this.color();
|
|
@@ -9592,7 +9695,7 @@ class DbxBarDirective {
|
|
|
9592
9695
|
}, ...(ngDevMode ? [{ debugName: "cssClassSignal" }] : /* istanbul ignore next */ []));
|
|
9593
9696
|
_configSignal = computed(() => {
|
|
9594
9697
|
const value = this.color();
|
|
9595
|
-
return isDbxColorConfig(value) ? value : undefined;
|
|
9698
|
+
return isDbxColorConfig(value) ? (this._colorService?.expandColorConfig(value) ?? value) : undefined;
|
|
9596
9699
|
}, ...(ngDevMode ? [{ debugName: "_configSignal" }] : /* istanbul ignore next */ []));
|
|
9597
9700
|
/**
|
|
9598
9701
|
* Inline `--dbx-bg-color-current` value applied when a {@link DbxColorConfig} is bound. Resolves to `null` for named-color strings.
|
|
@@ -14651,28 +14754,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
14651
14754
|
}] });
|
|
14652
14755
|
|
|
14653
14756
|
/**
|
|
14654
|
-
* Provides environment-level providers for {@link DbxStyleService} and
|
|
14757
|
+
* Provides environment-level providers for {@link DbxStyleService}, {@link DbxColorService}, and their default configurations.
|
|
14655
14758
|
*
|
|
14656
14759
|
* @example
|
|
14657
14760
|
* ```ts
|
|
14658
|
-
* provideDbxStyleService({
|
|
14761
|
+
* provideDbxStyleService({
|
|
14762
|
+
* dbxStyleConfig: { style: 'my-app', suffixes: new Set(['dark']) },
|
|
14763
|
+
* dbxColorServiceConfig: {
|
|
14764
|
+
* templates: [{ key: 'brand-positive', config: { color: '#1f9b59', contrast: 'white', tone: 18 } }]
|
|
14765
|
+
* }
|
|
14766
|
+
* });
|
|
14659
14767
|
* ```
|
|
14660
14768
|
*
|
|
14661
|
-
* @param config - configuration specifying the default style and
|
|
14662
|
-
* @returns environment providers for the
|
|
14769
|
+
* @param config - configuration specifying the default style and optional color templates
|
|
14770
|
+
* @returns environment providers for the style and color services and their default config tokens
|
|
14663
14771
|
* @__NO_SIDE_EFFECTS__
|
|
14664
14772
|
*/
|
|
14665
14773
|
function provideDbxStyleService(config) {
|
|
14666
|
-
const { dbxStyleConfig } = config;
|
|
14774
|
+
const { dbxStyleConfig, dbxColorServiceConfig } = config;
|
|
14667
14775
|
const providers = [
|
|
14668
14776
|
// config
|
|
14669
14777
|
{
|
|
14670
14778
|
provide: DBX_STYLE_DEFAULT_CONFIG_TOKEN,
|
|
14671
14779
|
useValue: dbxStyleConfig
|
|
14672
14780
|
},
|
|
14673
|
-
//
|
|
14674
|
-
DbxStyleService
|
|
14781
|
+
// services
|
|
14782
|
+
DbxStyleService,
|
|
14783
|
+
DbxColorService
|
|
14675
14784
|
];
|
|
14785
|
+
if (dbxColorServiceConfig) {
|
|
14786
|
+
providers.push({
|
|
14787
|
+
provide: DbxColorServiceConfig,
|
|
14788
|
+
useValue: dbxColorServiceConfig
|
|
14789
|
+
});
|
|
14790
|
+
}
|
|
14676
14791
|
return makeEnvironmentProviders(providers);
|
|
14677
14792
|
}
|
|
14678
14793
|
|
|
@@ -15336,6 +15451,7 @@ const DBX_CHIP_DEFAULT_TONE = 18;
|
|
|
15336
15451
|
* ```
|
|
15337
15452
|
*/
|
|
15338
15453
|
class DbxChipDirective {
|
|
15454
|
+
_colorService = inject(DbxColorService, { optional: true });
|
|
15339
15455
|
small = input(...(ngDevMode ? [undefined, { debugName: "small" }] : /* istanbul ignore next */ []));
|
|
15340
15456
|
block = input(...(ngDevMode ? [undefined, { debugName: "block" }] : /* istanbul ignore next */ []));
|
|
15341
15457
|
/**
|
|
@@ -15359,7 +15475,7 @@ class DbxChipDirective {
|
|
|
15359
15475
|
colorSignal = computed(() => this.color() ?? this.display()?.color, ...(ngDevMode ? [{ debugName: "colorSignal" }] : /* istanbul ignore next */ []));
|
|
15360
15476
|
_configSignal = computed(() => {
|
|
15361
15477
|
const value = this.colorSignal();
|
|
15362
|
-
return isDbxColorConfig(value) ? value : undefined;
|
|
15478
|
+
return isDbxColorConfig(value) ? (this._colorService?.expandColorConfig(value) ?? value) : undefined;
|
|
15363
15479
|
}, ...(ngDevMode ? [{ debugName: "_configSignal" }] : /* istanbul ignore next */ []));
|
|
15364
15480
|
/**
|
|
15365
15481
|
* Inline `--dbx-bg-color-current` value applied when a {@link DbxColorConfig} is bound. Resolves to `null` for named-color strings so the named `.dbx-{color}-bg` class supplies the variable instead.
|
|
@@ -15484,6 +15600,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
15484
15600
|
* ```
|
|
15485
15601
|
*/
|
|
15486
15602
|
class DbxTextChipsComponent {
|
|
15603
|
+
_colorService = inject(DbxColorService, { optional: true });
|
|
15487
15604
|
defaultSelection = input(...(ngDevMode ? [undefined, { debugName: "defaultSelection" }] : /* istanbul ignore next */ []));
|
|
15488
15605
|
chips = input(...(ngDevMode ? [undefined, { debugName: "chips" }] : /* istanbul ignore next */ []));
|
|
15489
15606
|
/**
|
|
@@ -15502,7 +15619,7 @@ class DbxTextChipsComponent {
|
|
|
15502
15619
|
* @returns the background color CSS value, or null for named-color strings
|
|
15503
15620
|
*/
|
|
15504
15621
|
chipBgColorStyle(chip) {
|
|
15505
|
-
return
|
|
15622
|
+
return this._expandedChipConfig(chip)?.color ?? null;
|
|
15506
15623
|
}
|
|
15507
15624
|
/**
|
|
15508
15625
|
* Returns the inline `--dbx-color-current` value for a chip when its color is a {@link DbxColorConfig}; otherwise null.
|
|
@@ -15511,7 +15628,11 @@ class DbxTextChipsComponent {
|
|
|
15511
15628
|
* @returns the contrast color CSS value, or null for named-color strings
|
|
15512
15629
|
*/
|
|
15513
15630
|
chipColorStyle(chip) {
|
|
15514
|
-
return
|
|
15631
|
+
return this._expandedChipConfig(chip)?.contrast ?? null;
|
|
15632
|
+
}
|
|
15633
|
+
_expandedChipConfig(chip) {
|
|
15634
|
+
const value = chip.color;
|
|
15635
|
+
return isDbxColorConfig(value) ? (this._colorService?.expandColorConfig(value) ?? value) : undefined;
|
|
15515
15636
|
}
|
|
15516
15637
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.11", ngImport: i0, type: DbxTextChipsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
15517
15638
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.11", type: DbxTextChipsComponent, isStandalone: true, selector: "dbx-text-chips", inputs: { defaultSelection: { classPropertyName: "defaultSelection", publicName: "defaultSelection", isSignal: true, isRequired: false, transformFunction: null }, chips: { classPropertyName: "chips", publicName: "chips", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
@@ -17929,16 +18050,16 @@ class DbxPdfMergeEditorComponent {
|
|
|
17929
18050
|
return;
|
|
17930
18051
|
}
|
|
17931
18052
|
const blob = this.mergeBlobSignal();
|
|
17932
|
-
if (blob
|
|
17933
|
-
this._pendingPreview.subscription = null;
|
|
17934
|
-
this.openPreviewDialog(blob);
|
|
17935
|
-
}
|
|
17936
|
-
else {
|
|
18053
|
+
if (blob == null) {
|
|
17937
18054
|
this._pendingPreview.subscription = this.store.mergeOutput$.pipe(first()).subscribe((merged) => {
|
|
17938
18055
|
this._pendingPreview.subscription = null;
|
|
17939
18056
|
this.openPreviewDialog(merged);
|
|
17940
18057
|
});
|
|
17941
18058
|
}
|
|
18059
|
+
else {
|
|
18060
|
+
this._pendingPreview.subscription = null;
|
|
18061
|
+
this.openPreviewDialog(blob);
|
|
18062
|
+
}
|
|
17942
18063
|
}
|
|
17943
18064
|
openPreviewDialog(blob) {
|
|
17944
18065
|
openPdfPreviewDialog(this._matDialog, {
|
|
@@ -18067,11 +18188,11 @@ class DbxPdfMergeEditorFileUploadComponent {
|
|
|
18067
18188
|
if (maxFiles != null) {
|
|
18068
18189
|
capacity = maxFiles;
|
|
18069
18190
|
}
|
|
18070
|
-
else if (
|
|
18071
|
-
capacity =
|
|
18191
|
+
else if (multiple) {
|
|
18192
|
+
capacity = Number.POSITIVE_INFINITY;
|
|
18072
18193
|
}
|
|
18073
18194
|
else {
|
|
18074
|
-
capacity =
|
|
18195
|
+
capacity = 1;
|
|
18075
18196
|
}
|
|
18076
18197
|
return capacity;
|
|
18077
18198
|
}, ...(ngDevMode ? [{ debugName: "capacitySignal" }] : /* istanbul ignore next */ []));
|
|
@@ -18332,5 +18453,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
18332
18453
|
* Generated bundle index. Do not edit.
|
|
18333
18454
|
*/
|
|
18334
18455
|
|
|
18335
|
-
export { APP_POPUP_MINIMIZED_WIDTH, APP_POPUP_NORMAL_HEIGHT, APP_POPUP_NORMAL_WIDTH, AbstractDbxClipboardDirective, AbstractDbxErrorWidgetComponent, AbstractDbxFileUploadComponent, AbstractDbxHelpWidgetDirective, AbstractDbxListAccordionViewDirective, 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_AVATAR_CONTEXT_DATA_TOKEN, DBX_CHIP_DEFAULT_TONE, DBX_COLOR_CUSTOM_BG_CSS_CLASS, DBX_COLOR_CUSTOM_TEXT_CSS_CLASS, DBX_DARK_STYLE_CLASS_SUFFIX, DBX_DETACH_DEFAULT_KEY, DBX_HELP_WIDGET_ENTRY_DATA_TOKEN, DBX_LIST_ACCORDION_VIEW_COMPONENT_IMPORTS_AND_EXPORTS, DBX_LIST_DEFAULT_SCROLL_DISTANCE, DBX_LIST_DEFAULT_THROTTLE_SCROLL, DBX_LIST_GRID_VIEW_COMPONENT_IMPORTS_AND_EXPORTS, 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_VIEW_DEFAULT_META_ICON, DBX_MODEL_VIEW_TRACKER_STORAGE_ACCESSOR_TOKEN, DBX_PDF_MERGE_EDITOR_INITIAL_STATE, DBX_PROGRESS_BUTTON_GLOBAL_CONFIG, DBX_ROUTER_ANCHOR_COMPONENTS, 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, DBX_WEB_FILE_PREVIEW_SERVICE_DEFAULT_DIALOG_WITH_COMPONENT_FUNCTION, DBX_WEB_FILE_PREVIEW_SERVICE_DEFAULT_PREVIEW_COMPONENT_FUNCTION, DBX_WEB_FILE_PREVIEW_SERVICE_ENTRIES_TOKEN, DBX_WEB_FILE_PREVIEW_SERVICE_ZIP_COMPONENT_PRESET, DBX_WEB_FILE_PREVIEW_SERVICE_ZIP_PRESET_ENTRY, DBX_WEB_PAGE_TITLE_SERVICE_CONFIG, DEFAULT_DBX_ERROR_SNACKBAR_CONFIG, DEFAULT_DBX_HELP_VIEW_POPOVER_KEY, DEFAULT_DBX_LINKIFY_STRING_TYPE, DEFAULT_DBX_LIST_ACCORDION_VIEW_COMPONENT_CONFIGURATION_TEMPLATE, DEFAULT_DBX_LIST_GRID_VIEW_COMPONENT_CONFIGURATION_TEMPLATE, DEFAULT_DBX_LIST_ITEM_IS_SELECTED_FUNCTION, DEFAULT_DBX_PROMPT_CONFIRM_DIALOG_CONFIG, DEFAULT_DBX_SELECTION_VALUE_LIST_COMPONENT_CONFIGURATION_TEMPLATE, DEFAULT_DBX_SIDENAV_MENU_ICON, DEFAULT_DBX_VALUE_LIST_COMPONENT_CONFIGURATION_TEMPLATE, DEFAULT_ERROR_POPOVER_KEY, DEFAULT_ERROR_WIDGET_CODE, DEFAULT_FILTER_POPOVER_KEY, DEFAULT_LIST_GRID_SIZE_CONFIG, DEFAULT_LIST_WRAPPER_COMPONENT_CONFIGURATION_TEMPLATE, DEFAULT_LOADING_PROGRESS_DIAMETER, DEFAULT_SCREEN_MEDIA_SERVICE_CONFIG, DEFAULT_SNACKBAR_DIRECTIVE_DURATION, DEFAULT_TWO_COLUMNS_MIN_RIGHT_WIDTH, DEFAULT_VALUE_LIST_VIEW_CONTENT_COMPONENT_TRACK_BY_FUNCTION, DbxAccordionHeaderHeightDirective, DbxActionConfirmDirective, DbxActionDialogDirective, DbxActionErrorDirective, DbxActionKeyTriggerDirective, DbxActionLoadingContextDirective, DbxActionModule, DbxActionPopoverDirective, DbxActionSnackbarComponent, DbxActionSnackbarDirective, DbxActionSnackbarErrorDirective, DbxActionSnackbarModule, DbxActionSnackbarService, DbxActionTransitionSafetyDirective, DbxActionUIRouterTransitionSafetyDialogComponent, DbxAnchorComponent, DbxAnchorContentComponent, DbxAnchorIconComponent, DbxAnchorListComponent, DbxAngularRouterSegueAnchorComponent, DbxAvatarComponent, DbxAvatarViewService, DbxAvatarViewServiceConfig, DbxBarDirective, DbxBarHeaderComponent, DbxBarLayoutModule, DbxBasicLoadingComponent, DbxBodyDirective, DbxButtonComponent, DbxButtonModule, DbxButtonSpacerDirective, DbxCardBoxComponent, DbxCardBoxContainerDirective, DbxCardBoxLayoutModule, DbxChipDirective, DbxChipListComponent, DbxClickToCopyTextComponent, DbxClickToCopyTextDirective, DbxColorDirective, DbxColumnLayoutModule, DbxCompactDirective, DbxCompactLayoutModule, DbxContentBorderDirective, DbxContentBoxDirective, DbxContentContainerDirective, DbxContentDirective, DbxContentElevateDirective, DbxContentLayoutModule, DbxContentPageDirective, DbxContentPitDirective, DbxDetachContentComponent, DbxDetachControlButtonsComponent, DbxDetachController, DbxDetachControlsComponent, DbxDetachInitDirective, DbxDetachInteractionModule, DbxDetachOutletComponent, DbxDetachOverlayComponent, DbxDetachService, DbxDetachWindowState, DbxDetailBlockComponent, DbxDetailBlockHeaderComponent, DbxDialogContentCloseComponent, DbxDialogContentDirective, DbxDialogContentFooterComponent, DbxDialogInteractionModule, DbxDialogModule, DbxDownloadBlobButtonComponent, DbxDownloadTextViewComponent, DbxEmbedComponent, DbxErrorComponent, DbxErrorDefaultErrorWidgetComponent, DbxErrorDetailsComponent, DbxErrorPopoverComponent, DbxErrorSnackbarComponent, DbxErrorSnackbarService, DbxErrorViewComponent, DbxErrorWidgetService, DbxErrorWidgetViewComponent, DbxFileUploadActionCompatable, DbxFileUploadActionSyncDirective, DbxFileUploadAreaComponent, DbxFileUploadButtonComponent, DbxFileUploadComponent, DbxFilterInteractionModule, DbxFilterPopoverButtonComponent, DbxFilterPopoverComponent, DbxFilterWrapperComponent, DbxFlagComponent, DbxFlagLayoutModule, DbxFlagPromptComponent, DbxFlexGroupDirective, DbxFlexLayoutModule, DbxFlexSizeDirective, DbxHelpContextDirective, DbxHelpContextService, DbxHelpViewListComponent, DbxHelpViewListEntryComponent, DbxHelpViewPopoverButtonComponent, DbxHelpViewPopoverComponent, DbxHelpWidgetService, DbxHelpWidgetServiceConfig, DbxIconButtonComponent, DbxIconButtonModule, DbxIconItemComponent, DbxIconSpacerDirective, DbxIconTileComponent, DbxIconTileDirective, DbxIfSidenavDisplayModeDirective, DbxIframeComponent, DbxInjectionDialogComponent, DbxInteractionModule, DbxIntroActionSectionComponent, DbxLabelBlockComponent, DbxLayoutModule, DbxLinkComponent, DbxLinkifyComponent, DbxLinkifyService, DbxLinkifyServiceConfig, DbxListAccordionViewComponentImportsModule, DbxListComponent, DbxListEmptyContentComponent, DbxListGridViewComponentImportsModule, DbxListInternalContentDirective, DbxListItemAnchorModifierDirective, DbxListItemDisableRippleModifierDirective, DbxListItemIsSelectedModifierDirective, DbxListModifierModule, DbxListModule, DbxListTitleGroupDirective, DbxListView, DbxListViewMetaIconComponent, DbxListViewWrapper, DbxListWrapperComponentImportsModule, DbxLoadingComponent, DbxLoadingErrorDirective, DbxLoadingModule, DbxLoadingProgressComponent, DbxModelObjectStateService, actions as DbxModelStateActions, model_actions as DbxModelStateModelActions, DbxModelTrackerService, DbxModelTypesService, DbxModelViewTrackerStorage, DbxNavbarComponent, DbxNumberWithLimitComponent, DbxOneColumnComponent, DbxOneColumnLayoutModule, DbxPagebarComponent, DbxPartialPresetFilterListComponent, DbxPartialPresetFilterMenuComponent, DbxPdfMergeEditorComponent, DbxPdfMergeEditorFileUploadComponent, DbxPdfMergeEditorFileUploadHasStateDirective, DbxPdfMergeEditorFileUploadValidatorDirective, DbxPdfMergeEditorStore, DbxPdfMergeEntryComponent, DbxPdfMergeListComponent, DbxPdfPreviewComponent, DbxPopoverCloseButtonComponent, DbxPopoverComponent, DbxPopoverComponentController, DbxPopoverContentComponent, DbxPopoverController, DbxPopoverControlsDirective, DbxPopoverCoordinatorComponent, DbxPopoverCoordinatorService, DbxPopoverHeaderComponent, DbxPopoverInteractionContentModule, DbxPopoverInteractionModule, DbxPopoverScrollContentDirective, DbxPopoverService, DbxPopupComponent, DbxPopupComponentController, DbxPopupContentComponent, DbxPopupControlButtonsComponent, DbxPopupController, DbxPopupControlsComponent, DbxPopupCoordinatorComponent, DbxPopupCoordinatorService, DbxPopupInteractionModule, DbxPopupService, DbxPopupWindowState, DbxPresetFilterListComponent, DbxPresetFilterMenuComponent, DbxProgressBarButtonComponent, DbxProgressButtonsModule, DbxProgressSpinnerButtonComponent, DbxPromptBoxDirective, DbxPromptComponent, DbxPromptConfirm, DbxPromptConfirmButtonDirective, DbxPromptConfirmComponent, DbxPromptConfirmDialogComponent, DbxPromptConfirmDirective, DbxPromptModule, DbxPromptPageComponent, DbxReadableErrorModule, DbxResizedDirective, DbxRouterAnchorModule, DbxRouterLayoutModule, DbxRouterSidenavModule, DbxRouterWebProviderConfig, DbxScreenMediaService, DbxScreenMediaServiceConfig, DbxSectionComponent, DbxSectionHeaderComponent, DbxSectionLayoutModule, DbxSectionPageComponent, DbxSelectionValueListViewComponent, DbxSelectionValueListViewComponentImportsModule, DbxSelectionValueListViewContentComponent, DbxSetStyleDirective, DbxSidenavButtonComponent, DbxSidenavComponent, DbxSidenavPageComponent, DbxSidenavPagebarComponent, DbxSpacerDirective, DbxStepBlockComponent, DbxStructureDirective, DbxStructureModule, DbxStyleBodyDirective, DbxStyleDirective, DbxStyleLayoutModule, DbxStyleService, DbxSubSectionComponent, DbxTextChipsComponent, DbxTextColorDirective, DbxTextModule, DbxTwoBlockComponent, DbxTwoColumnBackDirective, DbxTwoColumnColumnHeadDirective, DbxTwoColumnComponent, DbxTwoColumnContextDirective, DbxTwoColumnFullLeftDirective, DbxTwoColumnLayoutModule, DbxTwoColumnRightComponent, DbxTwoColumnSrefDirective, DbxTwoColumnSrefShowRightDirective, DbxUIRouterSegueAnchorComponent, DbxUnitedStatesAddressComponent, DbxValueListAccordionViewComponent, DbxValueListAccordionViewContentComponent, DbxValueListAccordionViewContentGroupComponent, DbxValueListGridSizeDirective, DbxValueListGridViewComponent, DbxValueListGridViewContentComponent, DbxValueListGridViewContentGroupComponent, DbxValueListItemModifier, DbxValueListItemModifierDirective, DbxValueListView, DbxValueListViewComponent, DbxValueListViewComponentImportsModule, DbxValueListViewContentComponent, DbxValueListViewContentGroupComponent, DbxValueListViewGroupDelegate, DbxWebFilePreviewComponent, DbxWebFilePreviewService, DbxWebModule, DbxWebPageTitleInfoDirective, DbxWebPageTitleService, DbxWidgetListGridComponent, DbxWidgetListGridViewComponent, DbxWidgetListGridViewItemComponent, DbxWidgetService, DbxWidgetViewComponent, DbxWindowKeyDownListenerDirective, DbxZipBlobPreviewComponent, DbxZipPreviewComponent, PDF_MERGE_DEFAULT_ACCEPT, PDF_MERGE_RESULT_MIME_TYPE, PopoverPositionStrategy, PopupGlobalPositionStrategy, SCREEN_MEDIA_WIDTH_TYPE_SIZE_MAP, SIDE_NAV_DISPLAY_MODE_ORDER, SideNavDisplayMode, TRACK_BY_MODEL_ID, TRACK_BY_MODEL_KEY, TwoColumnsContextStore, UNKNOWN_ERROR_WIDGET_CODE, addConfigToValueListItems, allDbxModelViewTrackerEventModelKeys, allDbxModelViewTrackerEventSetModelKeys, buildPdfMergeEntry, catchErrorServerParams, classifyPdfMergeFile, compactModeFromInput, compareScreenMediaWidthTypes, convertServerErrorParams, convertToPOJOServerErrorResponse, convertToServerErrorResponse, copyToClipboardFunction, dbxColorBackground, dbxListAccordionViewComponentImportsAndExports, dbxListGridViewComponentImportsAndExports, dbxPresetFilterMenuButtonIconObservable, dbxPresetFilterMenuButtonTextObservable, dbxStyleClassCleanSuffix, dbxThemeColorCssToken, dbxThemeColorCssTokenVar, dbxThemeColorCssVariable, dbxThemeColorCssVariableVar, dbxValueListItemDecisionFunction, dbxValueListItemKeyForItemValue, dbxWebDefaultPageTitleDelegate, dbxZipBlobPreviewEntryTreeFromEntries, defaultDbxModelViewTrackerStorageAccessorFactory, defaultDbxValueListViewGroupDelegate, defaultDbxValueListViewGroupValuesFunction, disableRightClickInCdkBackdrop, fileAcceptFilterTypeStringArray, fileAcceptFunction, fileAcceptString, fileArrayAcceptMatchFunction, flattenAccordionGroups, index as fromDbxModel, injectCopyToClipboardFunction, injectCopyToClipboardFunctionWithSnackbarMessage, isDbxColorConfig, listItemModifier, makeDbxActionSnackbarDisplayConfigGeneratorFunction, mapCompactModeObs, mapValuesToValuesListItemConfigObs, mergePdfMergeEntries, index$1 as onDbxModel, openEmbedDialog, openIframeDialog, openPdfPreviewDialog, openZipPreviewDialog, overrideClickElementEffect, provideDbxDetachController, provideDbxFileUploadActionCompatable, provideDbxHelpServices, provideDbxLinkify, provideDbxListView, provideDbxListViewWrapper, provideDbxModelService, provideDbxProgressButtonGlobalConfig, provideDbxPromptConfirm, provideDbxRouterWebAngularRouterProviderConfig, provideDbxRouterWebUiRouterProviderConfig, provideDbxScreenMediaService, provideDbxStyleService, provideDbxValueListView, provideDbxValueListViewGroupDelegate, provideDbxValueListViewModifier, provideDbxWebFilePreviewServiceEntries, provideDbxWebPageTitleService, provideTwoColumnsContext, registerHelpContextKeysWithDbxHelpContextService, resizeSignal, resolveSideNavDisplayMode, sanitizeDbxDialogContentConfig, screenMediaWidthTypeIsActive, trackByModelKeyRef, trackByUniqueIdentifier, validatePdfMergeEntry };
|
|
18456
|
+
export { APP_POPUP_MINIMIZED_WIDTH, APP_POPUP_NORMAL_HEIGHT, APP_POPUP_NORMAL_WIDTH, AbstractDbxClipboardDirective, AbstractDbxErrorWidgetComponent, AbstractDbxFileUploadComponent, AbstractDbxHelpWidgetDirective, AbstractDbxListAccordionViewDirective, 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_AVATAR_CONTEXT_DATA_TOKEN, DBX_CHIP_DEFAULT_TONE, DBX_COLOR_CUSTOM_BG_CSS_CLASS, DBX_COLOR_CUSTOM_TEXT_CSS_CLASS, DBX_DARK_STYLE_CLASS_SUFFIX, DBX_DETACH_DEFAULT_KEY, DBX_HELP_WIDGET_ENTRY_DATA_TOKEN, DBX_LIST_ACCORDION_VIEW_COMPONENT_IMPORTS_AND_EXPORTS, DBX_LIST_DEFAULT_SCROLL_DISTANCE, DBX_LIST_DEFAULT_THROTTLE_SCROLL, DBX_LIST_GRID_VIEW_COMPONENT_IMPORTS_AND_EXPORTS, 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_VIEW_DEFAULT_META_ICON, DBX_MODEL_VIEW_TRACKER_STORAGE_ACCESSOR_TOKEN, DBX_PDF_MERGE_EDITOR_INITIAL_STATE, DBX_PROGRESS_BUTTON_GLOBAL_CONFIG, DBX_ROUTER_ANCHOR_COMPONENTS, 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, DBX_WEB_FILE_PREVIEW_SERVICE_DEFAULT_DIALOG_WITH_COMPONENT_FUNCTION, DBX_WEB_FILE_PREVIEW_SERVICE_DEFAULT_PREVIEW_COMPONENT_FUNCTION, DBX_WEB_FILE_PREVIEW_SERVICE_ENTRIES_TOKEN, DBX_WEB_FILE_PREVIEW_SERVICE_ZIP_COMPONENT_PRESET, DBX_WEB_FILE_PREVIEW_SERVICE_ZIP_PRESET_ENTRY, DBX_WEB_PAGE_TITLE_SERVICE_CONFIG, DEFAULT_DBX_ERROR_SNACKBAR_CONFIG, DEFAULT_DBX_HELP_VIEW_POPOVER_KEY, DEFAULT_DBX_LINKIFY_STRING_TYPE, DEFAULT_DBX_LIST_ACCORDION_VIEW_COMPONENT_CONFIGURATION_TEMPLATE, DEFAULT_DBX_LIST_GRID_VIEW_COMPONENT_CONFIGURATION_TEMPLATE, DEFAULT_DBX_LIST_ITEM_IS_SELECTED_FUNCTION, DEFAULT_DBX_PROMPT_CONFIRM_DIALOG_CONFIG, DEFAULT_DBX_SELECTION_VALUE_LIST_COMPONENT_CONFIGURATION_TEMPLATE, DEFAULT_DBX_SIDENAV_MENU_ICON, DEFAULT_DBX_VALUE_LIST_COMPONENT_CONFIGURATION_TEMPLATE, DEFAULT_ERROR_POPOVER_KEY, DEFAULT_ERROR_WIDGET_CODE, DEFAULT_FILTER_POPOVER_KEY, DEFAULT_LIST_GRID_SIZE_CONFIG, DEFAULT_LIST_WRAPPER_COMPONENT_CONFIGURATION_TEMPLATE, DEFAULT_LOADING_PROGRESS_DIAMETER, DEFAULT_SCREEN_MEDIA_SERVICE_CONFIG, DEFAULT_SNACKBAR_DIRECTIVE_DURATION, DEFAULT_TWO_COLUMNS_MIN_RIGHT_WIDTH, DEFAULT_VALUE_LIST_VIEW_CONTENT_COMPONENT_TRACK_BY_FUNCTION, DbxAccordionHeaderHeightDirective, DbxActionConfirmDirective, DbxActionDialogDirective, DbxActionErrorDirective, DbxActionKeyTriggerDirective, DbxActionLoadingContextDirective, DbxActionModule, DbxActionPopoverDirective, DbxActionSnackbarComponent, DbxActionSnackbarDirective, DbxActionSnackbarErrorDirective, DbxActionSnackbarModule, DbxActionSnackbarService, DbxActionTransitionSafetyDirective, DbxActionUIRouterTransitionSafetyDialogComponent, DbxAnchorComponent, DbxAnchorContentComponent, DbxAnchorIconComponent, DbxAnchorListComponent, DbxAngularRouterSegueAnchorComponent, DbxAvatarComponent, DbxAvatarViewService, DbxAvatarViewServiceConfig, DbxBarDirective, DbxBarHeaderComponent, DbxBarLayoutModule, DbxBasicLoadingComponent, DbxBodyDirective, DbxButtonComponent, DbxButtonModule, DbxButtonSpacerDirective, DbxCardBoxComponent, DbxCardBoxContainerDirective, DbxCardBoxLayoutModule, DbxChipDirective, DbxChipListComponent, DbxClickToCopyTextComponent, DbxClickToCopyTextDirective, DbxColorDirective, DbxColorService, DbxColorServiceConfig, DbxColumnLayoutModule, DbxCompactDirective, DbxCompactLayoutModule, DbxContentBorderDirective, DbxContentBoxDirective, DbxContentContainerDirective, DbxContentDirective, DbxContentElevateDirective, DbxContentLayoutModule, DbxContentPageDirective, DbxContentPitDirective, DbxDetachContentComponent, DbxDetachControlButtonsComponent, DbxDetachController, DbxDetachControlsComponent, DbxDetachInitDirective, DbxDetachInteractionModule, DbxDetachOutletComponent, DbxDetachOverlayComponent, DbxDetachService, DbxDetachWindowState, DbxDetailBlockComponent, DbxDetailBlockHeaderComponent, DbxDialogContentCloseComponent, DbxDialogContentDirective, DbxDialogContentFooterComponent, DbxDialogInteractionModule, DbxDialogModule, DbxDownloadBlobButtonComponent, DbxDownloadTextViewComponent, DbxEmbedComponent, DbxErrorComponent, DbxErrorDefaultErrorWidgetComponent, DbxErrorDetailsComponent, DbxErrorPopoverComponent, DbxErrorSnackbarComponent, DbxErrorSnackbarService, DbxErrorViewComponent, DbxErrorWidgetService, DbxErrorWidgetViewComponent, DbxFileUploadActionCompatable, DbxFileUploadActionSyncDirective, DbxFileUploadAreaComponent, DbxFileUploadButtonComponent, DbxFileUploadComponent, DbxFilterInteractionModule, DbxFilterPopoverButtonComponent, DbxFilterPopoverComponent, DbxFilterWrapperComponent, DbxFlagComponent, DbxFlagLayoutModule, DbxFlagPromptComponent, DbxFlexGroupDirective, DbxFlexLayoutModule, DbxFlexSizeDirective, DbxHelpContextDirective, DbxHelpContextService, DbxHelpViewListComponent, DbxHelpViewListEntryComponent, DbxHelpViewPopoverButtonComponent, DbxHelpViewPopoverComponent, DbxHelpWidgetService, DbxHelpWidgetServiceConfig, DbxIconButtonComponent, DbxIconButtonModule, DbxIconItemComponent, DbxIconSpacerDirective, DbxIconTileComponent, DbxIconTileDirective, DbxIfSidenavDisplayModeDirective, DbxIframeComponent, DbxInjectionDialogComponent, DbxInteractionModule, DbxIntroActionSectionComponent, DbxLabelBlockComponent, DbxLayoutModule, DbxLinkComponent, DbxLinkifyComponent, DbxLinkifyService, DbxLinkifyServiceConfig, DbxListAccordionViewComponentImportsModule, DbxListComponent, DbxListEmptyContentComponent, DbxListGridViewComponentImportsModule, DbxListInternalContentDirective, DbxListItemAnchorModifierDirective, DbxListItemDisableRippleModifierDirective, DbxListItemIsSelectedModifierDirective, DbxListModifierModule, DbxListModule, DbxListTitleGroupDirective, DbxListView, DbxListViewMetaIconComponent, DbxListViewWrapper, DbxListWrapperComponentImportsModule, DbxLoadingComponent, DbxLoadingErrorDirective, DbxLoadingModule, DbxLoadingProgressComponent, DbxModelObjectStateService, actions as DbxModelStateActions, model_actions as DbxModelStateModelActions, DbxModelTrackerService, DbxModelTypesService, DbxModelViewTrackerStorage, DbxNavbarComponent, DbxNumberWithLimitComponent, DbxOneColumnComponent, DbxOneColumnLayoutModule, DbxPagebarComponent, DbxPartialPresetFilterListComponent, DbxPartialPresetFilterMenuComponent, DbxPdfMergeEditorComponent, DbxPdfMergeEditorFileUploadComponent, DbxPdfMergeEditorFileUploadHasStateDirective, DbxPdfMergeEditorFileUploadValidatorDirective, DbxPdfMergeEditorStore, DbxPdfMergeEntryComponent, DbxPdfMergeListComponent, DbxPdfPreviewComponent, DbxPopoverCloseButtonComponent, DbxPopoverComponent, DbxPopoverComponentController, DbxPopoverContentComponent, DbxPopoverController, DbxPopoverControlsDirective, DbxPopoverCoordinatorComponent, DbxPopoverCoordinatorService, DbxPopoverHeaderComponent, DbxPopoverInteractionContentModule, DbxPopoverInteractionModule, DbxPopoverScrollContentDirective, DbxPopoverService, DbxPopupComponent, DbxPopupComponentController, DbxPopupContentComponent, DbxPopupControlButtonsComponent, DbxPopupController, DbxPopupControlsComponent, DbxPopupCoordinatorComponent, DbxPopupCoordinatorService, DbxPopupInteractionModule, DbxPopupService, DbxPopupWindowState, DbxPresetFilterListComponent, DbxPresetFilterMenuComponent, DbxProgressBarButtonComponent, DbxProgressButtonsModule, DbxProgressSpinnerButtonComponent, DbxPromptBoxDirective, DbxPromptComponent, DbxPromptConfirm, DbxPromptConfirmButtonDirective, DbxPromptConfirmComponent, DbxPromptConfirmDialogComponent, DbxPromptConfirmDirective, DbxPromptModule, DbxPromptPageComponent, DbxReadableErrorModule, DbxResizedDirective, DbxRouterAnchorModule, DbxRouterLayoutModule, DbxRouterSidenavModule, DbxRouterWebProviderConfig, DbxScreenMediaService, DbxScreenMediaServiceConfig, DbxSectionComponent, DbxSectionHeaderComponent, DbxSectionLayoutModule, DbxSectionPageComponent, DbxSelectionValueListViewComponent, DbxSelectionValueListViewComponentImportsModule, DbxSelectionValueListViewContentComponent, DbxSetStyleDirective, DbxSidenavButtonComponent, DbxSidenavComponent, DbxSidenavPageComponent, DbxSidenavPagebarComponent, DbxSpacerDirective, DbxStepBlockComponent, DbxStructureDirective, DbxStructureModule, DbxStyleBodyDirective, DbxStyleDirective, DbxStyleLayoutModule, DbxStyleService, DbxSubSectionComponent, DbxTextChipsComponent, DbxTextColorDirective, DbxTextModule, DbxTwoBlockComponent, DbxTwoColumnBackDirective, DbxTwoColumnColumnHeadDirective, DbxTwoColumnComponent, DbxTwoColumnContextDirective, DbxTwoColumnFullLeftDirective, DbxTwoColumnLayoutModule, DbxTwoColumnRightComponent, DbxTwoColumnSrefDirective, DbxTwoColumnSrefShowRightDirective, DbxUIRouterSegueAnchorComponent, DbxUnitedStatesAddressComponent, DbxValueListAccordionViewComponent, DbxValueListAccordionViewContentComponent, DbxValueListAccordionViewContentGroupComponent, DbxValueListGridSizeDirective, DbxValueListGridViewComponent, DbxValueListGridViewContentComponent, DbxValueListGridViewContentGroupComponent, DbxValueListItemModifier, DbxValueListItemModifierDirective, DbxValueListView, DbxValueListViewComponent, DbxValueListViewComponentImportsModule, DbxValueListViewContentComponent, DbxValueListViewContentGroupComponent, DbxValueListViewGroupDelegate, DbxWebFilePreviewComponent, DbxWebFilePreviewService, DbxWebModule, DbxWebPageTitleInfoDirective, DbxWebPageTitleService, DbxWidgetListGridComponent, DbxWidgetListGridViewComponent, DbxWidgetListGridViewItemComponent, DbxWidgetService, DbxWidgetViewComponent, DbxWindowKeyDownListenerDirective, DbxZipBlobPreviewComponent, DbxZipPreviewComponent, PDF_MERGE_DEFAULT_ACCEPT, PDF_MERGE_RESULT_MIME_TYPE, PopoverPositionStrategy, PopupGlobalPositionStrategy, SCREEN_MEDIA_WIDTH_TYPE_SIZE_MAP, SIDE_NAV_DISPLAY_MODE_ORDER, SideNavDisplayMode, TRACK_BY_MODEL_ID, TRACK_BY_MODEL_KEY, TwoColumnsContextStore, UNKNOWN_ERROR_WIDGET_CODE, addConfigToValueListItems, allDbxModelViewTrackerEventModelKeys, allDbxModelViewTrackerEventSetModelKeys, buildPdfMergeEntry, catchErrorServerParams, classifyPdfMergeFile, compactModeFromInput, compareScreenMediaWidthTypes, convertServerErrorParams, convertToPOJOServerErrorResponse, convertToServerErrorResponse, copyToClipboardFunction, dbxColorBackground, dbxListAccordionViewComponentImportsAndExports, dbxListGridViewComponentImportsAndExports, dbxPresetFilterMenuButtonIconObservable, dbxPresetFilterMenuButtonTextObservable, dbxStyleClassCleanSuffix, dbxThemeColorCssToken, dbxThemeColorCssTokenVar, dbxThemeColorCssVariable, dbxThemeColorCssVariableVar, dbxValueListItemDecisionFunction, dbxValueListItemKeyForItemValue, dbxWebDefaultPageTitleDelegate, dbxZipBlobPreviewEntryTreeFromEntries, defaultDbxModelViewTrackerStorageAccessorFactory, defaultDbxValueListViewGroupDelegate, defaultDbxValueListViewGroupValuesFunction, disableRightClickInCdkBackdrop, fileAcceptFilterTypeStringArray, fileAcceptFunction, fileAcceptString, fileArrayAcceptMatchFunction, flattenAccordionGroups, index as fromDbxModel, injectCopyToClipboardFunction, injectCopyToClipboardFunctionWithSnackbarMessage, isDbxColorConfig, listItemModifier, makeDbxActionSnackbarDisplayConfigGeneratorFunction, mapCompactModeObs, mapValuesToValuesListItemConfigObs, mergePdfMergeEntries, index$1 as onDbxModel, openEmbedDialog, openIframeDialog, openPdfPreviewDialog, openZipPreviewDialog, overrideClickElementEffect, provideDbxDetachController, provideDbxFileUploadActionCompatable, provideDbxHelpServices, provideDbxLinkify, provideDbxListView, provideDbxListViewWrapper, provideDbxModelService, provideDbxProgressButtonGlobalConfig, provideDbxPromptConfirm, provideDbxRouterWebAngularRouterProviderConfig, provideDbxRouterWebUiRouterProviderConfig, provideDbxScreenMediaService, provideDbxStyleService, provideDbxValueListView, provideDbxValueListViewGroupDelegate, provideDbxValueListViewModifier, provideDbxWebFilePreviewServiceEntries, provideDbxWebPageTitleService, provideTwoColumnsContext, registerHelpContextKeysWithDbxHelpContextService, resizeSignal, resolveSideNavDisplayMode, sanitizeDbxDialogContentConfig, screenMediaWidthTypeIsActive, trackByModelKeyRef, trackByUniqueIdentifier, validatePdfMergeEntry };
|
|
18336
18457
|
//# sourceMappingURL=dereekb-dbx-web.mjs.map
|