@db-ux/wc-core-components 4.12.0 → 4.12.1
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/CHANGELOG.md +8 -0
- package/bundle/db-custom-select-list-item.js +1 -1
- package/bundle/db-custom-select.js +1 -1
- package/bundle/db-drawer.js +1 -1
- package/bundle/db-header.js +1 -1
- package/bundle/db-navigation-item.js +1 -1
- package/bundle/db-popover.js +1 -1
- package/bundle/db-tag.js +1 -1
- package/bundle/db-tooltip.js +1 -1
- package/bundle/index.js +1 -1
- package/bundle/p-BFeR7jXy.js +1 -0
- package/bundle/p-C0q9XJSc.js +1 -0
- package/bundle/{p-BuBrj57D.js → p-C_qYW0Kh.js} +1 -1
- package/bundle/{p-BvgvWjGH.js → p-CuC4YsIB.js} +1 -1
- package/bundle/{p-DFypNnh0.js → p-gIJnyld5.js} +1 -1
- package/bundle/p-k8bCF_aj.js +1 -0
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +1 -1
- package/dist/cjs/db-custom-select.cjs.entry.js +15 -7
- package/dist/cjs/db-drawer.cjs.entry.js +28 -7
- package/dist/cjs/db-header.cjs.entry.js +2 -2
- package/dist/cjs/db-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/db-popover.cjs.entry.js +1 -1
- package/dist/cjs/db-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/db-ux.cjs.js +1 -1
- package/dist/cjs/{floating-components-DlstoCKH.js → floating-components-SpHkZuLA.js} +53 -8
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{navigation-Bah882nU.js → navigation-DUTSDY4q.js} +1 -1
- package/dist/collection/components/custom-select/custom-select.js +14 -6
- package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +1 -1
- package/dist/collection/components/drawer/drawer.js +29 -7
- package/dist/collection/utils/floating-components.js +53 -8
- package/dist/custom-elements.json +119 -20
- package/dist/db-ux/db-ux.esm.js +1 -1
- package/dist/db-ux/index.esm.js +1 -1
- package/dist/db-ux/{p-88dcff6a.entry.js → p-183c78b7.entry.js} +1 -1
- package/dist/db-ux/p-4751361d.entry.js +1 -0
- package/dist/db-ux/{p-bb5149a9.entry.js → p-5623ff36.entry.js} +1 -1
- package/dist/db-ux/{p-ef63c591.entry.js → p-87281518.entry.js} +1 -1
- package/dist/db-ux/p-C0q9XJSc.js +1 -0
- package/dist/db-ux/{p-BuBrj57D.js → p-C_qYW0Kh.js} +1 -1
- package/dist/db-ux/p-a6f33f3b.entry.js +1 -0
- package/dist/db-ux/p-f271332c.entry.js +1 -0
- package/dist/db-ux/{p-6fd70ba4.entry.js → p-f5f73623.entry.js} +1 -1
- package/dist/esm/db-custom-select-dropdown_5.entry.js +1 -1
- package/dist/esm/db-custom-select.entry.js +15 -7
- package/dist/esm/db-drawer.entry.js +28 -7
- package/dist/esm/db-header.entry.js +2 -2
- package/dist/esm/db-navigation-item.entry.js +2 -2
- package/dist/esm/db-popover.entry.js +1 -1
- package/dist/esm/db-tooltip.entry.js +1 -1
- package/dist/esm/db-ux.js +1 -1
- package/dist/esm/{floating-components-DOPXnIzL.js → floating-components-C0q9XJSc.js} +53 -8
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{navigation-Jh6m0eMk.js → navigation-Cd7KZ6E2.js} +1 -1
- package/dist/types/components/drawer/drawer.d.ts +4 -1
- package/dist/types/components/drawer/model.d.ts +3 -0
- package/dist/vscode.html-custom-data.json +6 -0
- package/dist/web-types.json +13 -1
- package/package.json +3 -3
- package/bundle/p-DOPXnIzL.js +0 -1
- package/bundle/p-DW47OZNu.js +0 -1
- package/bundle/p-n2qePi9e.js +0 -1
- package/dist/db-ux/p-4a94fbc9.entry.js +0 -1
- package/dist/db-ux/p-96978a7f.entry.js +0 -1
- package/dist/db-ux/p-DOPXnIzL.js +0 -1
- package/dist/db-ux/p-a4fb4782.entry.js +0 -1
|
@@ -3,7 +3,7 @@ import { l as DEFAULT_INVALID_MESSAGE, a as DEFAULT_LABEL, m as DEFAULT_REMOVE,
|
|
|
3
3
|
import { h as hasVoiceOver, d as delay, s as stringPropVisible, m as getSearchInput, u as uuid, e as getBoolean, g as getBooleanAsString, l as getHideProp, c as cls } from './index-fumiz06Y.js';
|
|
4
4
|
import { D as DocumentClickListener } from './document-click-listener-9wJfRcvz.js';
|
|
5
5
|
import { D as DocumentScrollListener } from './document-scroll-listener-4F0ZAg9p.js';
|
|
6
|
-
import { a as handleFixedDropdown } from './floating-components-
|
|
6
|
+
import { a as handleFixedDropdown } from './floating-components-C0q9XJSc.js';
|
|
7
7
|
import { b as addResetEventListener } from './form-components-ZV7IN0oG.js';
|
|
8
8
|
|
|
9
9
|
const DBCustomSelect = class {
|
|
@@ -431,6 +431,7 @@ const DBCustomSelect = class {
|
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
433
|
handleSearch(valueOrEvent) {
|
|
434
|
+
var _a;
|
|
434
435
|
if (valueOrEvent === undefined) {
|
|
435
436
|
return;
|
|
436
437
|
}
|
|
@@ -459,6 +460,9 @@ const DBCustomSelect = class {
|
|
|
459
460
|
.toLowerCase()
|
|
460
461
|
.includes(filterText.toLowerCase()));
|
|
461
462
|
}
|
|
463
|
+
if ((_a = this.detailsRef) === null || _a === void 0 ? void 0 : _a.open) {
|
|
464
|
+
this.handleAutoPlacement();
|
|
465
|
+
}
|
|
462
466
|
}
|
|
463
467
|
handleClearAll(event) {
|
|
464
468
|
event.stopPropagation();
|
|
@@ -688,10 +692,14 @@ const DBCustomSelect = class {
|
|
|
688
692
|
this.watch11Fn();
|
|
689
693
|
}
|
|
690
694
|
watch12Fn() {
|
|
691
|
-
var _a, _b;
|
|
695
|
+
var _a, _b, _c;
|
|
692
696
|
this._options = this.options;
|
|
693
697
|
this.amountOptions =
|
|
694
698
|
(_b = (_a = this.options) === null || _a === void 0 ? void 0 : _a.filter((option) => !option.isGroupTitle).length) !== null && _b !== void 0 ? _b : 0;
|
|
699
|
+
// Reposition open auto-width dropdowns: replacing options can change their content width.
|
|
700
|
+
if ((_c = this.detailsRef) === null || _c === void 0 ? void 0 : _c.open) {
|
|
701
|
+
this.handleAutoPlacement();
|
|
702
|
+
}
|
|
695
703
|
}
|
|
696
704
|
watch12() {
|
|
697
705
|
this.watch12Fn();
|
|
@@ -832,19 +840,19 @@ const DBCustomSelect = class {
|
|
|
832
840
|
}
|
|
833
841
|
render() {
|
|
834
842
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
835
|
-
return (h("div", { key: '
|
|
843
|
+
return (h("div", { key: '9f804bd057ef9cde5cc83263e5b1e3a477ad5d2e', class: cls("db-custom-select", this.className), id: this._id, ref: (el) => {
|
|
836
844
|
this._ref = el;
|
|
837
845
|
}, "aria-invalid": this._validity === "invalid", "data-custom-validity": this._validity, "data-width": this.formFieldWidth, "data-variant": this.variant === "floating" &&
|
|
838
846
|
this.selectedType === "tag" &&
|
|
839
847
|
this.multiple
|
|
840
848
|
? "above"
|
|
841
|
-
: this.variant, "data-required": getBooleanAsString(this.required, "required"), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-placement": this.placement, "data-selected-type": this.multiple ? this.selectedType : "text", "data-hide-label": getHideProp(this.showLabel), "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon, "showIcon") }, h("label", { key: '
|
|
849
|
+
: this.variant, "data-required": getBooleanAsString(this.required, "required"), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-placement": this.placement, "data-selected-type": this.multiple ? this.selectedType : "text", "data-hide-label": getHideProp(this.showLabel), "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon, "showIcon") }, h("label", { key: '1ce826237b63c3abfad8b55068c25fdc4acc2d7a', id: this._labelId }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL, h("select", { key: '9f16da6b3d9e633e4ce70e8654925df86a901074', role: "none", hidden: true, id: this._selectId, tabIndex: -1, ref: (el) => {
|
|
842
850
|
this.selectRef = el;
|
|
843
851
|
}, form: this.form, name: this.name, "data-custom-validity": this._validity, multiple: getBoolean(this.multiple, "multiple"), disabled: getBoolean(this.disabled, "disabled"), required: getBoolean(this.required, "required"), onChange: (event) => this.satisfyReact(event) }, ((_b = this.options) === null || _b === void 0 ? void 0 : _b.length)
|
|
844
852
|
? (_c = this.options) === null || _c === void 0 ? void 0 : _c.map((option) => (h("option", { disabled: option.disabled, value: option.value, key: undefined }, this.getOptionLabel(option))))
|
|
845
|
-
: null)), h("details", { key: '
|
|
853
|
+
: null)), h("details", { key: '6a88c236898236ee539bced6fa3b3918be8f693d', ref: (el) => {
|
|
846
854
|
this.detailsRef = el;
|
|
847
|
-
}, open: this.open, onToggle: (event) => this.handleDropdownToggle(event), onKeyDown: (event) => this.handleKeyboardPress(event) }, h("slot", { key: '
|
|
855
|
+
}, open: this.open, onToggle: (event) => this.handleDropdownToggle(event), onKeyDown: (event) => this.handleKeyboardPress(event) }, h("slot", { key: 'c9dd3e30dd094da51de1b2064749a211fef6eb36' }), this.options ? (h(Fragment, null, h("summary", { class: "db-custom-select-form-field", id: this._summaryId, "aria-disabled": getBooleanAsString(this.disabled, "disabled"), tabIndex: this.disabled ? -1 : undefined, "aria-labelledby": this._labelId }, ((_d = this._selectedLabels) === null || _d === void 0 ? void 0 : _d.length) ? (h("span", { "data-visually-hidden": getBooleanAsString(this.selectedType === "tag", "selectedType"), id: this._selectedLabelsId }, this.selectedPrefix ? (h("span", { "data-visually-hidden": "true" }, this.selectedPrefix)) : null, this._selectedLabels)) : null, this.selectedType === "tag" ? (h("div", null, (_e = this._selectedOptions) === null || _e === void 0 ? void 0 : _e.map((option) => (h("db-tag", { emphasis: "strong", behavior: "removable", removeButton: this.getTagRemoveLabel(option), onRemove: (event) => this.handleTagRemove(option, event), key: undefined }, this.getOptionLabel(option)))))) : null), h("db-custom-select-dropdown", { width: this.dropdownWidth }, this.searchEnabled ? (h("div", null, h("db-input", { type: "search", ref: (el) => {
|
|
848
856
|
this.searchInputRef = el;
|
|
849
857
|
}, name: this._id, form: this._id, showLabel: false, value: this._searchValue, label: (_f = this.searchLabel) !== null && _f !== void 0 ? _f : DEFAULT_LABEL, placeholder: (_g = this.searchPlaceholder) !== null && _g !== void 0 ? _g : this.searchLabel, ariaDescribedBy: this._hasNoOptions || this.showLoading
|
|
850
858
|
? this._infoTextId
|
|
@@ -854,7 +862,7 @@ const DBCustomSelect = class {
|
|
|
854
862
|
this.selectAllRef = el;
|
|
855
863
|
}, form: this._id, checked: this.selectAllChecked, onChange: (event) => this.handleSelectAll(event) }), this.getSelectAllLabel())))) : null, h("db-custom-select-list", { multiple: getBoolean(this.multiple, "multiple"), label: (_k = (_j = this.listLabel) !== null && _j !== void 0 ? _j : this.label) !== null && _k !== void 0 ? _k : DEFAULT_LABEL }, (_l = this._options) === null || _l === void 0 ? void 0 : _l.map((option) => (h("db-custom-select-list-item", { type: this.multiple ? "checkbox" : "radio", showDivider: option.showDivider, icon: option.icon, isGroupTitle: option.isGroupTitle, groupTitle: this.getOptionLabel(option), name: this._id, checked: this.getOptionChecked(option.value), disabled: option.disabled, value: option.value, onChange: () => this.handleSelect(option.value), key: undefined }, !option.isGroupTitle
|
|
856
864
|
? this.getOptionLabel(option)
|
|
857
|
-
: null)))))), h("div", null, h("db-button", { variant: "ghost", width: "full", icon: "cross", size: "small", name: this._id, form: this._id, onClick: () => this.handleClose(undefined, true) }, (_m = this.mobileCloseButtonText) !== null && _m !== void 0 ? _m : DEFAULT_CLOSE_BUTTON))))) : null), ((_o = this.showClearSelection) !== null && _o !== void 0 ? _o : true) && ((_p = this._values) === null || _p === void 0 ? void 0 : _p.length) ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", noText: true, name: this._id, form: this._id, disabled: getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClearAll(event) }, this.clearSelectionText, h("db-tooltip", { placement: "top" }, this.clearSelectionText))) : null, h("span", { key: '
|
|
865
|
+
: null)))))), h("div", null, h("db-button", { variant: "ghost", width: "full", icon: "cross", size: "small", name: this._id, form: this._id, onClick: () => this.handleClose(undefined, true) }, (_m = this.mobileCloseButtonText) !== null && _m !== void 0 ? _m : DEFAULT_CLOSE_BUTTON))))) : null), ((_o = this.showClearSelection) !== null && _o !== void 0 ? _o : true) && ((_p = this._values) === null || _p === void 0 ? void 0 : _p.length) ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", noText: true, name: this._id, form: this._id, disabled: getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClearAll(event) }, this.clearSelectionText, h("db-tooltip", { placement: "top" }, this.clearSelectionText))) : null, h("span", { key: '3210abcd9df6f8232346aa78def9e3bd078f35db', class: "db-custom-select-placeholder", "aria-hidden": "true", id: this._placeholderId }, (_q = this.placeholder) !== null && _q !== void 0 ? _q : this.label), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: 'a552df2b93f899230e80623e2014691e411c3b40', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: 'b29045acf1f702b90b434dc4aa9d589c0c6c57f5', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
858
866
|
}
|
|
859
867
|
get rootElement() { return getElement(this); }
|
|
860
868
|
static get watchers() { return {
|
|
@@ -7,8 +7,22 @@ const DBDrawer = class {
|
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
this.close = createEvent(this, "close");
|
|
9
9
|
this.initialized = false;
|
|
10
|
+
this.backdropPointerDown = false;
|
|
10
11
|
this.observer = undefined;
|
|
11
12
|
}
|
|
13
|
+
isNotModal() {
|
|
14
|
+
return (this.position === "absolute" ||
|
|
15
|
+
this.backdrop === "none" ||
|
|
16
|
+
this.variant === "inside");
|
|
17
|
+
}
|
|
18
|
+
handleBackdropPointerDown(event) {
|
|
19
|
+
var _a;
|
|
20
|
+
// Remember whether the pointer interaction started on the backdrop
|
|
21
|
+
// (the DIALOG element itself) so we only close on a real backdrop
|
|
22
|
+
// click and not when a drag started inside the content and ended
|
|
23
|
+
// on the backdrop.
|
|
24
|
+
this.backdropPointerDown = ((_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.nodeName) === "DIALOG";
|
|
25
|
+
}
|
|
12
26
|
handleClose(event, forceClose) {
|
|
13
27
|
var _a;
|
|
14
28
|
if (!event)
|
|
@@ -30,11 +44,15 @@ const DBDrawer = class {
|
|
|
30
44
|
}
|
|
31
45
|
if (((_a = event.target) === null || _a === void 0 ? void 0 : _a.nodeName) === "DIALOG" &&
|
|
32
46
|
event.type === "click" &&
|
|
33
|
-
this.backdrop !== "none"
|
|
47
|
+
this.backdrop !== "none" &&
|
|
48
|
+
this.backdropPointerDown) {
|
|
34
49
|
if (this.close) {
|
|
35
50
|
this.close.emit(event);
|
|
36
51
|
}
|
|
37
52
|
}
|
|
53
|
+
// Reset after handling the click so the next interaction
|
|
54
|
+
// starts from a clean state.
|
|
55
|
+
this.backdropPointerDown = false;
|
|
38
56
|
}
|
|
39
57
|
}
|
|
40
58
|
handleDialogOpen() {
|
|
@@ -44,12 +62,15 @@ const DBDrawer = class {
|
|
|
44
62
|
if (this.dialogContainerRef) {
|
|
45
63
|
this.dialogContainerRef.removeAttribute("data-transition");
|
|
46
64
|
}
|
|
47
|
-
if (this.
|
|
48
|
-
this.backdrop === "none" ||
|
|
49
|
-
this.variant === "inside") {
|
|
65
|
+
if (this.isNotModal()) {
|
|
50
66
|
this._ref.show();
|
|
51
67
|
}
|
|
52
68
|
else {
|
|
69
|
+
// Set the closedby attribute imperatively: the JSX
|
|
70
|
+
// dialog type does not know this attribute yet, and it
|
|
71
|
+
// only applies to modal dialogs. "any" enables native
|
|
72
|
+
// light dismiss (backdrop click / Esc).
|
|
73
|
+
this._ref.setAttribute("closedby", "any");
|
|
53
74
|
this._ref.showModal();
|
|
54
75
|
}
|
|
55
76
|
void delay(() => {
|
|
@@ -176,11 +197,11 @@ const DBDrawer = class {
|
|
|
176
197
|
}
|
|
177
198
|
render() {
|
|
178
199
|
var _a, _b, _c;
|
|
179
|
-
return (h("dialog", { key: '
|
|
200
|
+
return (h("dialog", { key: 'c03126193778f601b7ff3aeeeff508c8920e67a7', class: "db-drawer", id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, ref: (el) => {
|
|
180
201
|
this._ref = el;
|
|
181
|
-
}, onClick: (event) => this.handleClose(event), onKeyDown: (event) => this.handleClose(event), "data-position": this.position, "data-backdrop": this.backdrop, "data-direction": this.direction, "data-variant": this.variant }, h("article", { key: '
|
|
202
|
+
}, onClick: (event) => this.handleClose(event), onMouseDown: (event) => this.handleBackdropPointerDown(event), onKeyDown: (event) => this.handleClose(event), "data-position": this.position, "data-backdrop": this.backdrop, "data-direction": this.direction, "data-variant": this.variant }, h("article", { key: '64661349d858bf5be872d664b44bc6fa829014e6', class: cls("db-drawer-container", this.className), ref: (el) => {
|
|
182
203
|
this.dialogContainerRef = el;
|
|
183
|
-
}, "data-spacing": this.spacing, "data-width": this.width, "data-direction": this.direction, "data-rounded": getBooleanAsString(this.rounded, "rounded") }, h("header", { key: '
|
|
204
|
+
}, "data-spacing": this.spacing, "data-width": this.width, "data-direction": this.direction, "data-rounded": getBooleanAsString(this.rounded, "rounded") }, h("header", { key: 'b758a538b1337573090305aadcf3bc3befef1bf3', class: "db-drawer-header" }, h("div", { key: '235f2be7afc9c968b9270178c2720a5a50436123', class: "db-drawer-header-text" }, h("slot", { key: '26787a5e103d2d34785ce1eccd0ff73b6733fce8', name: "drawerHeader" })), h("db-button", { key: '1d22b406c4e235e91bc9bfc3265a0aaa9c7f8e8c', class: "button-close-drawer", icon: "cross", variant: "ghost", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event, true) }, (_c = this.closeButtonText) !== null && _c !== void 0 ? _c : DEFAULT_CLOSE_BUTTON)), h("div", { key: '0e338b2e11c8582ba59595f34d8fc4911db7025e', class: "db-drawer-content" }, h("slot", { key: 'c761758ada4d1602878a58de6003e01cf5b5d075' })))));
|
|
184
205
|
}
|
|
185
206
|
get rootElement() { return getElement(this); }
|
|
186
207
|
static get watchers() { return {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-BlbKvvUv.js';
|
|
2
2
|
import { p as DEFAULT_BURGER_MENU } from './constants-BdL-nI5y.js';
|
|
3
3
|
import { e as getBoolean, a as addAttributeToChildren, c as cls } from './index-fumiz06Y.js';
|
|
4
|
-
import { i as isEventTargetNavigationItem } from './navigation-
|
|
5
|
-
import './floating-components-
|
|
4
|
+
import { i as isEventTargetNavigationItem } from './navigation-Cd7KZ6E2.js';
|
|
5
|
+
import './floating-components-C0q9XJSc.js';
|
|
6
6
|
|
|
7
7
|
const DBHeader = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement } from './index-BlbKvvUv.js';
|
|
2
2
|
import { n as DEFAULT_BACK } from './constants-BdL-nI5y.js';
|
|
3
3
|
import { d as delay, e as getBoolean, g as getBooleanAsString, c as cls, u as uuid } from './index-fumiz06Y.js';
|
|
4
|
-
import { N as NavigationItemSafeTriangle } from './navigation-
|
|
5
|
-
import './floating-components-
|
|
4
|
+
import { N as NavigationItemSafeTriangle } from './navigation-Cd7KZ6E2.js';
|
|
5
|
+
import './floating-components-C0q9XJSc.js';
|
|
6
6
|
|
|
7
7
|
const DBNavigationItem = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-BlbKvvUv.js';
|
|
2
2
|
import { d as delay, g as getBooleanAsString, c as cls } from './index-fumiz06Y.js';
|
|
3
3
|
import { D as DocumentScrollListener } from './document-scroll-listener-4F0ZAg9p.js';
|
|
4
|
-
import { b as handleFixedPopover } from './floating-components-
|
|
4
|
+
import { b as handleFixedPopover } from './floating-components-C0q9XJSc.js';
|
|
5
5
|
|
|
6
6
|
const DBPopover = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, h, g as getElement } from './index-BlbKvvUv.js';
|
|
|
2
2
|
import { D as DEFAULT_ID } from './constants-BdL-nI5y.js';
|
|
3
3
|
import { d as delay, u as uuid, g as getBooleanAsString, c as cls } from './index-fumiz06Y.js';
|
|
4
4
|
import { D as DocumentScrollListener } from './document-scroll-listener-4F0ZAg9p.js';
|
|
5
|
-
import { b as handleFixedPopover } from './floating-components-
|
|
5
|
+
import { b as handleFixedPopover } from './floating-components-C0q9XJSc.js';
|
|
6
6
|
|
|
7
7
|
const DBTooltip = class {
|
|
8
8
|
constructor(hostRef) {
|
package/dist/esm/db-ux.js
CHANGED
|
@@ -17,5 +17,5 @@ var patchBrowser = () => {
|
|
|
17
17
|
|
|
18
18
|
patchBrowser().then(async (options) => {
|
|
19
19
|
await globalScripts();
|
|
20
|
-
return bootstrapLazy(JSON.parse("[[\"db-custom-select\",[[260,\"db-custom-select\",{\"invalidMessage\":[1,\"invalid-message\"],\"id\":[1],\"propOverrides\":[16],\"message\":[1],\"showMessage\":[8,\"show-message\"],\"ariaDescribedBy\":[1,\"aria-described-by\"],\"showNoResults\":[4,\"show-no-results\"],\"showLoading\":[4,\"show-loading\"],\"multiple\":[8],\"showSelectAll\":[4,\"show-select-all\"],\"showSearch\":[4,\"show-search\"],\"values\":[16],\"validation\":[1],\"options\":[16],\"searchValue\":[1,\"search-value\"],\"selectedLabels\":[1,\"selected-labels\"],\"transformSelectedLabels\":[16],\"selectedType\":[1,\"selected-type\"],\"amountText\":[1,\"amount-text\"],\"validMessage\":[1,\"valid-message\"],\"required\":[8],\"selectAllLabel\":[1,\"select-all-label\"],\"removeTagsTexts\":[16],\"placement\":[1],\"searchFilter\":[16],\"className\":[1,\"classname\"],\"formFieldWidth\":[1,\"form-field-width\"],\"variant\":[1],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"showLabel\":[8,\"show-label\"],\"icon\":[1],\"showIcon\":[8,\"show-icon\"],\"label\":[1],\"form\":[1],\"name\":[1],\"disabled\":[8],\"open\":[4],\"selectedPrefix\":[1,\"selected-prefix\"],\"dropdownWidth\":[1,\"dropdown-width\"],\"searchLabel\":[1,\"search-label\"],\"searchPlaceholder\":[1,\"search-placeholder\"],\"listLabel\":[1,\"list-label\"],\"loadingText\":[1,\"loading-text\"],\"noResultsText\":[1,\"no-results-text\"],\"mobileCloseButtonText\":[1,\"mobile-close-button-text\"],\"showClearSelection\":[4,\"show-clear-selection\"],\"clearSelectionText\":[1,\"clear-selection-text\"],\"placeholder\":[1],\"messageIcon\":[1,\"message-icon\"],\"_id\":[32],\"_messageId\":[32],\"_validMessageId\":[32],\"_invalidMessageId\":[32],\"_invalidMessage\":[32],\"_selectId\":[32],\"_labelId\":[32],\"_summaryId\":[32],\"_placeholderId\":[32],\"_infoTextId\":[32],\"_validity\":[32],\"_userInteraction\":[32],\"abortController\":[32],\"_descByIds\":[32],\"_selectedLabels\":[32],\"_selectedLabelsId\":[32],\"_voiceOverFallback\":[32],\"_selectedOptions\":[32],\"selectAllEnabled\":[32],\"searchEnabled\":[32],\"amountOptions\":[32],\"_values\":[32],\"_options\":[32],\"_hasNoOptions\":[32],\"_documentClickListenerCallbackId\":[32],\"_internalChangeTimestamp\":[32],\"_documentScrollListenerCallbackId\":[32],\"_observer\":[32],\"_searchValue\":[32],\"selectAllChecked\":[32],\"selectAllIndeterminate\":[32],\"observer\":[32]},null,{\"id\":[{\"watch0\":0}],\"propOverrides?.id\":[{\"watch0\":0}],\"detailsRef\":[{\"watch1\":0},{\"watch3\":0}],\"_id\":[{\"watch2\":0}],\"_descByIds\":[{\"watch3\":0}],\"showNoResults\":[{\"watch4\":0}],\"showLoading\":[{\"watch4\":0}],\"_options\":[{\"watch4\":0}],\"showSelectAll\":[{\"watch5\":0}],\"amountOptions\":[{\"watch5\":0},{\"watch6\":0},{\"watch11\":0}],\"multiple\":[{\"watch5\":0}],\"showSearch\":[{\"watch6\":0}],\"values\":[{\"watch7\":0}],\"_values\":[{\"watch8\":0},{\"watch11\":0},{\"watch14\":0}],\"selectRef\":[{\"watch8\":0},{\"watch9\":0},{\"watch18\":0}],\"validation\":[{\"watch10\":0}],\"options\":[{\"watch12\":0},{\"watch14\":0}],\"searchValue\":[{\"watch13\":0}],\"_selectedOptions\":[{\"watch15\":0},{\"watch16\":0}],\"selectedType\":[{\"watch15\":0}],\"amountText\":[{\"watch15\":0}],\"selectedLabels\":[{\"watch15\":0}],\"transformSelectedLabels\":[{\"watch15\":0}],\"selectAllIndeterminate\":[{\"watch17\":0}],\"selectAllRef\":[{\"watch17\":0}],\"invalidMessage\":[{\"watch18\":0}]}]]],[\"db-table\",[[260,\"db-table\",{\"data\":[1],\"mobileVariant\":[1,\"mobile-variant\"],\"columnSizes\":[16],\"className\":[1,\"classname\"],\"width\":[1],\"size\":[1],\"divider\":[1],\"variant\":[1],\"showCaption\":[8,\"show-caption\"],\"stickyHeader\":[1,\"sticky-header\"],\"id\":[1],\"captionPlain\":[1,\"caption-plain\"],\"_data\":[32],\"_style\":[32],\"observer\":[32]},null,{\"data\":[{\"watch0\":0}],\"mobileVariant\":[{\"watch1\":0}],\"_ref\":[{\"watch1\":0}],\"_data\":[{\"watch1\":0}],\"columnSizes\":[{\"watch2\":0}]}]]],[\"db-tabs\",[[260,\"db-tabs\",{\"name\":[1],\"tabs\":[1],\"arrowScrollDistance\":[8,\"arrow-scroll-distance\"],\"orientation\":[1],\"behavior\":[1],\"initialSelectedMode\":[1,\"initial-selected-mode\"],\"initialSelectedIndex\":[8,\"initial-selected-index\"],\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"alignment\":[1],\"width\":[1],\"_name\":[32],\"initialized\":[32],\"showScrollLeft\":[32],\"showScrollRight\":[32],\"scrollContainer\":[32],\"_resizeObserver\":[32],\"observer\":[32]},null,{\"_ref\":[{\"watch0\":0}],\"initialized\":[{\"watch0\":0}]}]]],[\"db-header\",[[260,\"db-header\",{\"forceMobile\":[8,\"force-mobile\"],\"drawerOpen\":[8,\"drawer-open\"],\"className\":[1,\"classname\"],\"id\":[1],\"propOverrides\":[16],\"width\":[1],\"burgerMenuLabel\":[1,\"burger-menu-label\"],\"closeButtonId\":[1,\"close-button-id\"],\"closeButtonText\":[1,\"close-button-text\"],\"initialized\":[32],\"forcedToMobile\":[32],\"observer\":[32]},null,{\"initialized\":[{\"watch0\":0}],\"_ref\":[{\"watch0\":0}]}]]],[\"db-accordion\",[[260,\"db-accordion\",{\"name\":[1],\"behavior\":[1],\"initOpenIndex\":[16],\"items\":[1],\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"variant\":[1],\"_name\":[32],\"initialized\":[32],\"_initOpenIndexDone\":[32],\"observer\":[32]},null,{\"initialized\":[{\"watch0\":0}],\"name\":[{\"watch0\":0}],\"behavior\":[{\"watch0\":0}],\"_ref\":[{\"watch1\":0},{\"watch2\":0}],\"_name\":[{\"watch1\":0}],\"_initOpenIndexDone\":[{\"watch2\":0}],\"initOpenIndex\":[{\"watch2\":0}]}]]],[\"db-checkbox\",[[260,\"db-checkbox\",{\"invalidMessage\":[1,\"invalid-message\"],\"id\":[1],\"propOverrides\":[16],\"message\":[1],\"showMessage\":[8,\"show-message\"],\"indeterminate\":[8],\"checked\":[8],\"validMessage\":[1,\"valid-message\"],\"validation\":[1],\"required\":[8],\"className\":[1,\"classname\"],\"size\":[1],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"showLabel\":[8,\"show-label\"],\"name\":[1],\"disabled\":[8],\"value\":[8],\"ariaDescribedBy\":[1,\"aria-described-by\"],\"label\":[1],\"messageIcon\":[1,\"message-icon\"],\"initialized\":[32],\"_id\":[32],\"_messageId\":[32],\"_validMessageId\":[32],\"_invalidMessageId\":[32],\"_invalidMessage\":[32],\"_descByIds\":[32],\"_voiceOverFallback\":[32],\"abortController\":[32],\"observer\":[32]},null,{\"id\":[{\"watch0\":0}],\"propOverrides?.id\":[{\"watch0\":0}],\"_ref\":[{\"watch1\":0},{\"watch3\":0},{\"watch4\":0},{\"watch5\":0}],\"invalidMessage\":[{\"watch1\":0}],\"_id\":[{\"watch2\":0}],\"initialized\":[{\"watch3\":0},{\"watch4\":0}],\"indeterminate\":[{\"watch3\":0}],\"checked\":[{\"watch4\":0}]}]]],[\"db-navigation-item\",[[260,\"db-navigation-item\",{\"id\":[1],\"subNavigationExpanded\":[8,\"sub-navigation-expanded\"],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"width\":[1],\"icon\":[1],\"showIcon\":[8,\"show-icon\"],\"active\":[4],\"wrap\":[8],\"disabled\":[8],\"hideSubNavigation\":[8,\"hide-sub-navigation\"],\"text\":[1],\"backButtonId\":[1,\"back-button-id\"],\"backButtonText\":[1,\"back-button-text\"],\"initialized\":[32],\"hasAreaPopup\":[32],\"hasSubNavigation\":[32],\"isSubNavigationExpanded\":[32],\"autoClose\":[32],\"navigationItemSafeTriangle\":[32],\"subNavigationId\":[32],\"subNavigationToggleId\":[32],\"observer\":[32]},null,{\"subNavigationExpanded\":[{\"watch0\":0}],\"initialized\":[{\"watch1\":0}],\"_ref\":[{\"watch1\":0}]}]]],[\"db-notification\",[[260,\"db-notification\",{\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"semantic\":[1],\"role\":[1],\"ariaLive\":[1,\"aria-live\"],\"variant\":[1],\"showIcon\":[8,\"show-icon\"],\"icon\":[1],\"linkVariant\":[1,\"link-variant\"],\"headline\":[8],\"showHeadline\":[8,\"show-headline\"],\"text\":[1],\"timestamp\":[1],\"showTimestamp\":[8,\"show-timestamp\"],\"timestampDatetime\":[1,\"timestamp-datetime\"],\"closeable\":[8],\"closeButtonId\":[1,\"close-button-id\"],\"closeButtonText\":[1,\"close-button-text\"],\"observer\":[32]}]]],[\"db-select\",[[260,\"db-select\",{\"invalidMessage\":[1,\"invalid-message\"],\"id\":[1],\"propOverrides\":[16],\"message\":[1],\"showMessage\":[8,\"show-message\"],\"placeholder\":[1],\"value\":[8],\"validMessage\":[1,\"valid-message\"],\"validation\":[1],\"required\":[8],\"variant\":[1],\"showEmptyOption\":[4,\"show-empty-option\"],\"className\":[1,\"classname\"],\"showLabel\":[8,\"show-label\"],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"icon\":[1],\"showIcon\":[8,\"show-icon\"],\"label\":[1],\"disabled\":[8],\"name\":[1],\"size\":[2],\"autocomplete\":[1],\"multiple\":[4],\"ariaDescribedBy\":[1,\"aria-described-by\"],\"options\":[16],\"messageIcon\":[1,\"message-icon\"],\"_id\":[32],\"_messageId\":[32],\"_validMessageId\":[32],\"_invalidMessageId\":[32],\"_invalidMessage\":[32],\"_placeholderId\":[32],\"_descByIds\":[32],\"_value\":[32],\"initialized\":[32],\"_voiceOverFallback\":[32],\"abortController\":[32],\"observer\":[32]},null,{\"id\":[{\"watch0\":0}],\"propOverrides?.id\":[{\"watch0\":0}],\"_ref\":[{\"watch1\":0},{\"watch4\":0}],\"invalidMessage\":[{\"watch1\":0}],\"_id\":[{\"watch2\":0}],\"initialized\":[{\"watch2\":0}],\"value\":[{\"watch3\":0}]}]]],[\"db-switch\",[[260,\"db-switch\",{\"invalidMessage\":[1,\"invalid-message\"],\"id\":[1],\"propOverrides\":[16],\"validation\":[1],\"required\":[8],\"message\":[1],\"showMessage\":[8,\"show-message\"],\"validMessage\":[1,\"valid-message\"],\"checked\":[8],\"disabled\":[8],\"visualAid\":[8,\"visual-aid\"],\"size\":[1],\"showLabel\":[8,\"show-label\"],\"variant\":[1],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"className\":[1,\"classname\"],\"value\":[8],\"name\":[1],\"iconLeading\":[1,\"icon-leading\"],\"icon\":[1],\"iconTrailing\":[1,\"icon-trailing\"],\"label\":[1],\"messageIcon\":[1,\"message-icon\"],\"_id\":[32],\"_messageId\":[32],\"_validMessageId\":[32],\"_invalidMessageId\":[32],\"_invalidMessage\":[32],\"_descByIds\":[32],\"_voiceOverFallback\":[32],\"abortController\":[32],\"observer\":[32]},null,{\"id\":[{\"watch0\":0}],\"propOverrides?.id\":[{\"watch0\":0}],\"validation\":[{\"watch1\":0}],\"required\":[{\"watch1\":0}],\"message\":[{\"watch1\":0}],\"showMessage\":[{\"watch1\":0}],\"validMessage\":[{\"watch1\":0}],\"invalidMessage\":[{\"watch1\":0},{\"watch2\":0}],\"checked\":[{\"watch1\":0}],\"_ref\":[{\"watch2\":0},{\"watch3\":0}]}]]],[\"db-textarea\",[[0,\"db-textarea\",{\"invalidMessage\":[1,\"invalid-message\"],\"id\":[1],\"propOverrides\":[16],\"message\":[1],\"showMessage\":[8,\"show-message\"],\"value\":[8],\"validMessage\":[1,\"valid-message\"],\"validation\":[1],\"required\":[8],\"minLength\":[8,\"min-length\"],\"maxLength\":[8,\"max-length\"],\"className\":[1,\"classname\"],\"variant\":[1],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"showLabel\":[8,\"show-label\"],\"label\":[1],\"fieldSizing\":[1,\"field-sizing\"],\"resize\":[1],\"showResizer\":[8,\"show-resizer\"],\"disabled\":[8],\"readOnly\":[8,\"read-only\"],\"readonly\":[8],\"form\":[1],\"maxlength\":[8],\"minlength\":[8],\"name\":[1],\"wrap\":[1],\"spellCheck\":[4,\"spell-check\"],\"autocomplete\":[1],\"ariaDescribedBy\":[1,\"aria-described-by\"],\"placeholder\":[1],\"rows\":[8],\"cols\":[8],\"messageIcon\":[1,\"message-icon\"],\"_id\":[32],\"_messageId\":[32],\"_validMessageId\":[32],\"_invalidMessageId\":[32],\"_invalidMessage\":[32],\"_descByIds\":[32],\"_value\":[32],\"_voiceOverFallback\":[32],\"abortController\":[32],\"observer\":[32]},null,{\"id\":[{\"watch0\":0}],\"propOverrides?.id\":[{\"watch0\":0}],\"_ref\":[{\"watch1\":0},{\"watch4\":0}],\"invalidMessage\":[{\"watch1\":0}],\"_id\":[{\"watch2\":0}],\"value\":[{\"watch3\":0}]}]]],[\"db-badge\",[[260,\"db-badge\",{\"placement\":[1],\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"semantic\":[1],\"size\":[1],\"emphasis\":[1],\"wrap\":[8],\"label\":[1],\"text\":[1],\"initialized\":[32],\"observer\":[32]},null,{\"_ref\":[{\"watch0\":0}],\"initialized\":[{\"watch0\":0}]}]]],[\"db-brand\",[[260,\"db-brand\",{\"hideLogo\":[4,\"hide-logo\"],\"icon\":[1],\"showIcon\":[8,\"show-icon\"],\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"text\":[1],\"observer\":[32]}]]],[\"db-card\",[[260,\"db-card\",{\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"behavior\":[1],\"elevationLevel\":[1,\"elevation-level\"],\"spacing\":[1],\"observer\":[32]}]]],[\"db-custom-button\",[[260,\"db-custom-button\",{\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"iconLeading\":[1,\"icon-leading\"],\"icon\":[1],\"showIconLeading\":[8,\"show-icon-leading\"],\"showIcon\":[8,\"show-icon\"],\"iconTrailing\":[1,\"icon-trailing\"],\"showIconTrailing\":[8,\"show-icon-trailing\"],\"size\":[1],\"width\":[1],\"variant\":[1],\"noText\":[8,\"no-text\"],\"observer\":[32]}]]],[\"db-custom-select-form-field\",[[260,\"db-custom-select-form-field\",{\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"observer\":[32]}]]],[\"db-divider\",[[0,\"db-divider\",{\"id\":[1],\"propOverrides\":[16],\"margin\":[1],\"variant\":[1],\"emphasis\":[1],\"width\":[1],\"className\":[1,\"classname\"],\"observer\":[32]}]]],[\"db-icon\",[[260,\"db-icon\",{\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"icon\":[1],\"weight\":[1],\"variant\":[1],\"text\":[1],\"observer\":[32]}]]],[\"db-navigation\",[[260,\"db-navigation\",{\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"observer\":[32]}]]],[\"db-page\",[[260,\"db-page\",{\"fadeIn\":[8,\"fade-in\"],\"documentOverflow\":[1,\"document-overflow\"],\"variant\":[1],\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"mainClass\":[1,\"main-class\"],\"fontsLoaded\":[32],\"observer\":[32]}]]],[\"db-popover\",[[260,\"db-popover\",{\"placement\":[1],\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"spacing\":[1],\"gap\":[8],\"animation\":[8],\"open\":[8],\"delay\":[1],\"width\":[1],\"initialized\":[32],\"isExpanded\":[32],\"_documentScrollListenerCallbackId\":[32],\"_observer\":[32],\"observer\":[32]},null,{\"_ref\":[{\"watch0\":0},{\"watch1\":0}],\"initialized\":[{\"watch0\":0}],\"isExpanded\":[{\"watch1\":0}]}]]],[\"db-radio\",[[260,\"db-radio\",{\"id\":[1],\"propOverrides\":[16],\"checked\":[8],\"size\":[1],\"showLabel\":[8,\"show-label\"],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"className\":[1,\"classname\"],\"validation\":[1],\"name\":[1],\"disabled\":[8],\"value\":[8],\"required\":[8],\"label\":[1],\"initialized\":[32],\"_id\":[32],\"abortController\":[32],\"observer\":[32]},null,{\"id\":[{\"watch0\":0}],\"propOverrides?.id\":[{\"watch0\":0}],\"initialized\":[{\"watch1\":0}],\"_ref\":[{\"watch1\":0},{\"watch2\":0}],\"checked\":[{\"watch1\":0}]}]]],[\"db-section\",[[260,\"db-section\",{\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"spacing\":[1],\"width\":[1],\"observer\":[32]}]]],[\"db-stack\",[[260,\"db-stack\",{\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"gap\":[1],\"variant\":[1],\"direction\":[1],\"alignment\":[1],\"justifyContent\":[1,\"justify-content\"],\"wrap\":[8],\"observer\":[32]}]]],[\"db-table-caption\",[[260,\"db-table-caption\",{\"id\":[1],\"className\":[1,\"classname\"],\"observer\":[32]}]]],[\"db-drawer\",[[260,\"db-drawer\",{\"open\":[8],\"position\":[1],\"backdrop\":[1],\"variant\":[1],\"id\":[1],\"propOverrides\":[16],\"direction\":[1],\"className\":[1,\"classname\"],\"spacing\":[1],\"width\":[1],\"rounded\":[8],\"closeButtonId\":[1,\"close-button-id\"],\"closeButtonText\":[1,\"close-button-text\"],\"initialized\":[32],\"observer\":[32]},null,{\"open\":[{\"watch0\":0}],\"_ref\":[{\"watch1\":0}],\"initialized\":[{\"watch1\":0}],\"position\":[{\"watch1\":0}]}]]],[\"db-accordion-item\",[[260,\"db-accordion-item\",{\"defaultOpen\":[4,\"default-open\"],\"name\":[1],\"open\":[8],\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"disabled\":[8],\"headlinePlain\":[1,\"headline-plain\"],\"text\":[1],\"_open\":[32],\"_name\":[32],\"initialized\":[32],\"observer\":[32]},null,{\"_ref\":[{\"watch0\":0}],\"initialized\":[{\"watch0\":0}],\"name\":[{\"watch1\":0}],\"open\":[{\"watch2\":0}]}]]],[\"db-tooltip\",[[260,\"db-tooltip\",{\"id\":[1],\"propOverrides\":[16],\"variant\":[1],\"placement\":[1],\"className\":[1,\"classname\"],\"emphasis\":[1],\"wrap\":[8],\"animation\":[8],\"delay\":[1],\"width\":[1],\"showArrow\":[8,\"show-arrow\"],\"text\":[1],\"_id\":[32],\"initialized\":[32],\"_documentScrollListenerCallbackId\":[32],\"_observer\":[32],\"_attachedParent\":[32],\"_attachedId\":[32],\"_activeTriggerCount\":[32],\"_boundListeners\":[32],\"observer\":[32]},null,{\"id\":[{\"watch0\":0}],\"propOverrides?.id\":[{\"watch0\":0}],\"_ref\":[{\"watch1\":0}],\"initialized\":[{\"watch1\":0}],\"_id\":[{\"watch1\":0}]}]]],[\"db-table-body_3\",[[260,\"db-table-body\",{\"id\":[1],\"className\":[1,\"classname\"],\"rows\":[16]}],[260,\"db-table-footer\",{\"id\":[1],\"className\":[1,\"classname\"],\"rows\":[16]}],[260,\"db-table-head\",{\"id\":[1],\"className\":[1,\"classname\"],\"rows\":[16],\"observer\":[32]}]]],[\"db-tab-item_3\",[[260,\"db-tab-item\",{\"active\":[8],\"name\":[1],\"className\":[1,\"classname\"],\"id\":[1],\"propOverrides\":[16],\"iconLeading\":[1,\"icon-leading\"],\"icon\":[1],\"iconTrailing\":[1,\"icon-trailing\"],\"showIconLeading\":[8,\"show-icon-leading\"],\"showIcon\":[8,\"show-icon\"],\"showIconTrailing\":[8,\"show-icon-trailing\"],\"noText\":[8,\"no-text\"],\"disabled\":[8],\"checked\":[8],\"label\":[1],\"_selected\":[32],\"_name\":[32],\"initialized\":[32],\"_listenerAdded\":[32],\"boundSetSelectedOnChange\":[32],\"observer\":[32]},null,{\"_ref\":[{\"watch0\":0}],\"initialized\":[{\"watch0\":0}],\"boundSetSelectedOnChange\":[{\"watch0\":0}],\"name\":[{\"watch1\":0}]}],[260,\"db-tab-list\",{\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"observer\":[32]}],[260,\"db-tab-panel\",{\"className\":[1,\"classname\"],\"id\":[1],\"propOverrides\":[16],\"content\":[1],\"observer\":[32]}]]],[\"db-custom-select-dropdown_5\",[[260,\"db-input\",{\"invalidMessage\":[1,\"invalid-message\"],\"id\":[1],\"propOverrides\":[16],\"dataListId\":[1,\"data-list-id\"],\"message\":[1],\"showMessage\":[8,\"show-message\"],\"value\":[8],\"validMessage\":[1,\"valid-message\"],\"validation\":[1],\"required\":[8],\"minLength\":[8,\"min-length\"],\"maxLength\":[8,\"max-length\"],\"pattern\":[1],\"dataList\":[16],\"className\":[1,\"classname\"],\"variant\":[1],\"showLabel\":[8,\"show-label\"],\"showIconLeading\":[8,\"show-icon-leading\"],\"showIcon\":[8,\"show-icon\"],\"iconLeading\":[1,\"icon-leading\"],\"icon\":[1],\"iconTrailing\":[1,\"icon-trailing\"],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"showIconTrailing\":[8,\"show-icon-trailing\"],\"label\":[1],\"fieldSizing\":[1,\"field-sizing\"],\"name\":[1],\"type\":[1],\"multiple\":[8],\"accept\":[1],\"placeholder\":[1],\"disabled\":[8],\"step\":[8],\"maxlength\":[8],\"minlength\":[8],\"max\":[8],\"min\":[8],\"readOnly\":[8,\"read-only\"],\"readonly\":[8],\"form\":[1],\"size\":[2],\"autocomplete\":[1],\"autofocus\":[8],\"enterkeyhint\":[1],\"inputmode\":[1],\"ariaDescribedBy\":[1,\"aria-described-by\"],\"messageSize\":[1,\"message-size\"],\"messageIcon\":[1,\"message-icon\"],\"validMessageSize\":[1,\"valid-message-size\"],\"invalidMessageSize\":[1,\"invalid-message-size\"],\"_id\":[32],\"_messageId\":[32],\"_validMessageId\":[32],\"_invalidMessageId\":[32],\"_invalidMessage\":[32],\"_dataListId\":[32],\"_descByIds\":[32],\"_value\":[32],\"_voiceOverFallback\":[32],\"abortController\":[32],\"observer\":[32]},null,{\"id\":[{\"watch0\":0}],\"propOverrides?.id\":[{\"watch0\":0}],\"_ref\":[{\"watch1\":0},{\"watch4\":0}],\"invalidMessage\":[{\"watch1\":0}],\"_id\":[{\"watch2\":0}],\"value\":[{\"watch3\":0}]}],[260,\"db-tag\",{\"removeButton\":[1,\"remove-button\"],\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"semantic\":[1],\"emphasis\":[1],\"icon\":[1],\"showCheckState\":[8,\"show-check-state\"],\"showIcon\":[8,\"show-icon\"],\"noText\":[8,\"no-text\"],\"overflow\":[8],\"text\":[1],\"behavior\":[1],\"observer\":[32]}],[260,\"db-custom-select-dropdown\",{\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"width\":[1],\"observer\":[32]}],[260,\"db-custom-select-list\",{\"multiple\":[4],\"label\":[1],\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"observer\":[32]}],[260,\"db-custom-select-list-item\",{\"isGroupTitle\":[4,\"is-group-title\"],\"showDivider\":[4,\"show-divider\"],\"type\":[1],\"checked\":[8],\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"groupTitle\":[1,\"group-title\"],\"icon\":[1],\"showIcon\":[8,\"show-icon\"],\"name\":[1],\"disabled\":[8],\"value\":[8],\"label\":[1],\"hasDivider\":[32],\"observer\":[32]},null,{\"isGroupTitle\":[{\"watch0\":0}],\"showDivider\":[{\"watch0\":0}]}]]],[\"db-button\",[[260,\"db-button\",{\"type\":[1],\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"disabled\":[8],\"iconLeading\":[1,\"icon-leading\"],\"icon\":[1],\"showIconLeading\":[8,\"show-icon-leading\"],\"showIcon\":[8,\"show-icon\"],\"iconTrailing\":[1,\"icon-trailing\"],\"showIconTrailing\":[8,\"show-icon-trailing\"],\"size\":[1],\"width\":[1],\"variant\":[1],\"wrap\":[8],\"noText\":[8,\"no-text\"],\"name\":[1],\"form\":[1],\"value\":[1],\"text\":[1],\"observer\":[32]}]]],[\"db-infotext\",[[260,\"db-infotext\",{\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"icon\":[1],\"semantic\":[1],\"size\":[1],\"wrap\":[8],\"showIcon\":[8,\"show-icon\"],\"text\":[1],\"observer\":[32]}]]],[\"db-link_4\",[[260,\"db-table-row\",{\"id\":[1],\"className\":[1,\"classname\"],\"interactive\":[8],\"subHeaderEmphasis\":[1,\"sub-header-emphasis\"],\"cells\":[16]}],[260,\"db-link\",{\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"href\":[1],\"target\":[1],\"rel\":[1],\"role\":[1],\"referrerpolicy\":[1],\"referrerPolicy\":[1,\"referrer-policy\"],\"hreflang\":[1],\"disabled\":[8],\"size\":[1],\"showIcon\":[8,\"show-icon\"],\"variant\":[1],\"content\":[1],\"wrap\":[8],\"text\":[1],\"observer\":[32]}],[260,\"db-table-data-cell\",{\"id\":[1],\"className\":[1,\"classname\"],\"horizontalAlignment\":[1,\"horizontal-alignment\"],\"verticalAlignment\":[1,\"vertical-alignment\"],\"colSpan\":[8,\"col-span\"],\"colspan\":[8],\"rowSpan\":[8,\"row-span\"],\"rowspan\":[8],\"headers\":[1]}],[260,\"db-table-header-cell\",{\"id\":[1],\"className\":[1,\"classname\"],\"horizontalAlignment\":[1,\"horizontal-alignment\"],\"verticalAlignment\":[1,\"vertical-alignment\"],\"noText\":[8,\"no-text\"],\"scope\":[1],\"colSpan\":[8,\"col-span\"],\"colspan\":[8],\"rowSpan\":[8,\"row-span\"],\"rowspan\":[8],\"headers\":[1],\"abbr\":[1]}]]]]"), options);
|
|
20
|
+
return bootstrapLazy(JSON.parse("[[\"db-custom-select\",[[260,\"db-custom-select\",{\"invalidMessage\":[1,\"invalid-message\"],\"id\":[1],\"propOverrides\":[16],\"message\":[1],\"showMessage\":[8,\"show-message\"],\"ariaDescribedBy\":[1,\"aria-described-by\"],\"showNoResults\":[4,\"show-no-results\"],\"showLoading\":[4,\"show-loading\"],\"multiple\":[8],\"showSelectAll\":[4,\"show-select-all\"],\"showSearch\":[4,\"show-search\"],\"values\":[16],\"validation\":[1],\"options\":[16],\"searchValue\":[1,\"search-value\"],\"selectedLabels\":[1,\"selected-labels\"],\"transformSelectedLabels\":[16],\"selectedType\":[1,\"selected-type\"],\"amountText\":[1,\"amount-text\"],\"validMessage\":[1,\"valid-message\"],\"required\":[8],\"selectAllLabel\":[1,\"select-all-label\"],\"removeTagsTexts\":[16],\"placement\":[1],\"searchFilter\":[16],\"className\":[1,\"classname\"],\"formFieldWidth\":[1,\"form-field-width\"],\"variant\":[1],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"showLabel\":[8,\"show-label\"],\"icon\":[1],\"showIcon\":[8,\"show-icon\"],\"label\":[1],\"form\":[1],\"name\":[1],\"disabled\":[8],\"open\":[4],\"selectedPrefix\":[1,\"selected-prefix\"],\"dropdownWidth\":[1,\"dropdown-width\"],\"searchLabel\":[1,\"search-label\"],\"searchPlaceholder\":[1,\"search-placeholder\"],\"listLabel\":[1,\"list-label\"],\"loadingText\":[1,\"loading-text\"],\"noResultsText\":[1,\"no-results-text\"],\"mobileCloseButtonText\":[1,\"mobile-close-button-text\"],\"showClearSelection\":[4,\"show-clear-selection\"],\"clearSelectionText\":[1,\"clear-selection-text\"],\"placeholder\":[1],\"messageIcon\":[1,\"message-icon\"],\"_id\":[32],\"_messageId\":[32],\"_validMessageId\":[32],\"_invalidMessageId\":[32],\"_invalidMessage\":[32],\"_selectId\":[32],\"_labelId\":[32],\"_summaryId\":[32],\"_placeholderId\":[32],\"_infoTextId\":[32],\"_validity\":[32],\"_userInteraction\":[32],\"abortController\":[32],\"_descByIds\":[32],\"_selectedLabels\":[32],\"_selectedLabelsId\":[32],\"_voiceOverFallback\":[32],\"_selectedOptions\":[32],\"selectAllEnabled\":[32],\"searchEnabled\":[32],\"amountOptions\":[32],\"_values\":[32],\"_options\":[32],\"_hasNoOptions\":[32],\"_documentClickListenerCallbackId\":[32],\"_internalChangeTimestamp\":[32],\"_documentScrollListenerCallbackId\":[32],\"_observer\":[32],\"_searchValue\":[32],\"selectAllChecked\":[32],\"selectAllIndeterminate\":[32],\"observer\":[32]},null,{\"id\":[{\"watch0\":0}],\"propOverrides?.id\":[{\"watch0\":0}],\"detailsRef\":[{\"watch1\":0},{\"watch3\":0}],\"_id\":[{\"watch2\":0}],\"_descByIds\":[{\"watch3\":0}],\"showNoResults\":[{\"watch4\":0}],\"showLoading\":[{\"watch4\":0}],\"_options\":[{\"watch4\":0}],\"showSelectAll\":[{\"watch5\":0}],\"amountOptions\":[{\"watch5\":0},{\"watch6\":0},{\"watch11\":0}],\"multiple\":[{\"watch5\":0}],\"showSearch\":[{\"watch6\":0}],\"values\":[{\"watch7\":0}],\"_values\":[{\"watch8\":0},{\"watch11\":0},{\"watch14\":0}],\"selectRef\":[{\"watch8\":0},{\"watch9\":0},{\"watch18\":0}],\"validation\":[{\"watch10\":0}],\"options\":[{\"watch12\":0},{\"watch14\":0}],\"searchValue\":[{\"watch13\":0}],\"_selectedOptions\":[{\"watch15\":0},{\"watch16\":0}],\"selectedType\":[{\"watch15\":0}],\"amountText\":[{\"watch15\":0}],\"selectedLabels\":[{\"watch15\":0}],\"transformSelectedLabels\":[{\"watch15\":0}],\"selectAllIndeterminate\":[{\"watch17\":0}],\"selectAllRef\":[{\"watch17\":0}],\"invalidMessage\":[{\"watch18\":0}]}]]],[\"db-table\",[[260,\"db-table\",{\"data\":[1],\"mobileVariant\":[1,\"mobile-variant\"],\"columnSizes\":[16],\"className\":[1,\"classname\"],\"width\":[1],\"size\":[1],\"divider\":[1],\"variant\":[1],\"showCaption\":[8,\"show-caption\"],\"stickyHeader\":[1,\"sticky-header\"],\"id\":[1],\"captionPlain\":[1,\"caption-plain\"],\"_data\":[32],\"_style\":[32],\"observer\":[32]},null,{\"data\":[{\"watch0\":0}],\"mobileVariant\":[{\"watch1\":0}],\"_ref\":[{\"watch1\":0}],\"_data\":[{\"watch1\":0}],\"columnSizes\":[{\"watch2\":0}]}]]],[\"db-tabs\",[[260,\"db-tabs\",{\"name\":[1],\"tabs\":[1],\"arrowScrollDistance\":[8,\"arrow-scroll-distance\"],\"orientation\":[1],\"behavior\":[1],\"initialSelectedMode\":[1,\"initial-selected-mode\"],\"initialSelectedIndex\":[8,\"initial-selected-index\"],\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"alignment\":[1],\"width\":[1],\"_name\":[32],\"initialized\":[32],\"showScrollLeft\":[32],\"showScrollRight\":[32],\"scrollContainer\":[32],\"_resizeObserver\":[32],\"observer\":[32]},null,{\"_ref\":[{\"watch0\":0}],\"initialized\":[{\"watch0\":0}]}]]],[\"db-header\",[[260,\"db-header\",{\"forceMobile\":[8,\"force-mobile\"],\"drawerOpen\":[8,\"drawer-open\"],\"className\":[1,\"classname\"],\"id\":[1],\"propOverrides\":[16],\"width\":[1],\"burgerMenuLabel\":[1,\"burger-menu-label\"],\"closeButtonId\":[1,\"close-button-id\"],\"closeButtonText\":[1,\"close-button-text\"],\"initialized\":[32],\"forcedToMobile\":[32],\"observer\":[32]},null,{\"initialized\":[{\"watch0\":0}],\"_ref\":[{\"watch0\":0}]}]]],[\"db-accordion\",[[260,\"db-accordion\",{\"name\":[1],\"behavior\":[1],\"initOpenIndex\":[16],\"items\":[1],\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"variant\":[1],\"_name\":[32],\"initialized\":[32],\"_initOpenIndexDone\":[32],\"observer\":[32]},null,{\"initialized\":[{\"watch0\":0}],\"name\":[{\"watch0\":0}],\"behavior\":[{\"watch0\":0}],\"_ref\":[{\"watch1\":0},{\"watch2\":0}],\"_name\":[{\"watch1\":0}],\"_initOpenIndexDone\":[{\"watch2\":0}],\"initOpenIndex\":[{\"watch2\":0}]}]]],[\"db-checkbox\",[[260,\"db-checkbox\",{\"invalidMessage\":[1,\"invalid-message\"],\"id\":[1],\"propOverrides\":[16],\"message\":[1],\"showMessage\":[8,\"show-message\"],\"indeterminate\":[8],\"checked\":[8],\"validMessage\":[1,\"valid-message\"],\"validation\":[1],\"required\":[8],\"className\":[1,\"classname\"],\"size\":[1],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"showLabel\":[8,\"show-label\"],\"name\":[1],\"disabled\":[8],\"value\":[8],\"ariaDescribedBy\":[1,\"aria-described-by\"],\"label\":[1],\"messageIcon\":[1,\"message-icon\"],\"initialized\":[32],\"_id\":[32],\"_messageId\":[32],\"_validMessageId\":[32],\"_invalidMessageId\":[32],\"_invalidMessage\":[32],\"_descByIds\":[32],\"_voiceOverFallback\":[32],\"abortController\":[32],\"observer\":[32]},null,{\"id\":[{\"watch0\":0}],\"propOverrides?.id\":[{\"watch0\":0}],\"_ref\":[{\"watch1\":0},{\"watch3\":0},{\"watch4\":0},{\"watch5\":0}],\"invalidMessage\":[{\"watch1\":0}],\"_id\":[{\"watch2\":0}],\"initialized\":[{\"watch3\":0},{\"watch4\":0}],\"indeterminate\":[{\"watch3\":0}],\"checked\":[{\"watch4\":0}]}]]],[\"db-navigation-item\",[[260,\"db-navigation-item\",{\"id\":[1],\"subNavigationExpanded\":[8,\"sub-navigation-expanded\"],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"width\":[1],\"icon\":[1],\"showIcon\":[8,\"show-icon\"],\"active\":[4],\"wrap\":[8],\"disabled\":[8],\"hideSubNavigation\":[8,\"hide-sub-navigation\"],\"text\":[1],\"backButtonId\":[1,\"back-button-id\"],\"backButtonText\":[1,\"back-button-text\"],\"initialized\":[32],\"hasAreaPopup\":[32],\"hasSubNavigation\":[32],\"isSubNavigationExpanded\":[32],\"autoClose\":[32],\"navigationItemSafeTriangle\":[32],\"subNavigationId\":[32],\"subNavigationToggleId\":[32],\"observer\":[32]},null,{\"subNavigationExpanded\":[{\"watch0\":0}],\"initialized\":[{\"watch1\":0}],\"_ref\":[{\"watch1\":0}]}]]],[\"db-notification\",[[260,\"db-notification\",{\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"semantic\":[1],\"role\":[1],\"ariaLive\":[1,\"aria-live\"],\"variant\":[1],\"showIcon\":[8,\"show-icon\"],\"icon\":[1],\"linkVariant\":[1,\"link-variant\"],\"headline\":[8],\"showHeadline\":[8,\"show-headline\"],\"text\":[1],\"timestamp\":[1],\"showTimestamp\":[8,\"show-timestamp\"],\"timestampDatetime\":[1,\"timestamp-datetime\"],\"closeable\":[8],\"closeButtonId\":[1,\"close-button-id\"],\"closeButtonText\":[1,\"close-button-text\"],\"observer\":[32]}]]],[\"db-select\",[[260,\"db-select\",{\"invalidMessage\":[1,\"invalid-message\"],\"id\":[1],\"propOverrides\":[16],\"message\":[1],\"showMessage\":[8,\"show-message\"],\"placeholder\":[1],\"value\":[8],\"validMessage\":[1,\"valid-message\"],\"validation\":[1],\"required\":[8],\"variant\":[1],\"showEmptyOption\":[4,\"show-empty-option\"],\"className\":[1,\"classname\"],\"showLabel\":[8,\"show-label\"],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"icon\":[1],\"showIcon\":[8,\"show-icon\"],\"label\":[1],\"disabled\":[8],\"name\":[1],\"size\":[2],\"autocomplete\":[1],\"multiple\":[4],\"ariaDescribedBy\":[1,\"aria-described-by\"],\"options\":[16],\"messageIcon\":[1,\"message-icon\"],\"_id\":[32],\"_messageId\":[32],\"_validMessageId\":[32],\"_invalidMessageId\":[32],\"_invalidMessage\":[32],\"_placeholderId\":[32],\"_descByIds\":[32],\"_value\":[32],\"initialized\":[32],\"_voiceOverFallback\":[32],\"abortController\":[32],\"observer\":[32]},null,{\"id\":[{\"watch0\":0}],\"propOverrides?.id\":[{\"watch0\":0}],\"_ref\":[{\"watch1\":0},{\"watch4\":0}],\"invalidMessage\":[{\"watch1\":0}],\"_id\":[{\"watch2\":0}],\"initialized\":[{\"watch2\":0}],\"value\":[{\"watch3\":0}]}]]],[\"db-switch\",[[260,\"db-switch\",{\"invalidMessage\":[1,\"invalid-message\"],\"id\":[1],\"propOverrides\":[16],\"validation\":[1],\"required\":[8],\"message\":[1],\"showMessage\":[8,\"show-message\"],\"validMessage\":[1,\"valid-message\"],\"checked\":[8],\"disabled\":[8],\"visualAid\":[8,\"visual-aid\"],\"size\":[1],\"showLabel\":[8,\"show-label\"],\"variant\":[1],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"className\":[1,\"classname\"],\"value\":[8],\"name\":[1],\"iconLeading\":[1,\"icon-leading\"],\"icon\":[1],\"iconTrailing\":[1,\"icon-trailing\"],\"label\":[1],\"messageIcon\":[1,\"message-icon\"],\"_id\":[32],\"_messageId\":[32],\"_validMessageId\":[32],\"_invalidMessageId\":[32],\"_invalidMessage\":[32],\"_descByIds\":[32],\"_voiceOverFallback\":[32],\"abortController\":[32],\"observer\":[32]},null,{\"id\":[{\"watch0\":0}],\"propOverrides?.id\":[{\"watch0\":0}],\"validation\":[{\"watch1\":0}],\"required\":[{\"watch1\":0}],\"message\":[{\"watch1\":0}],\"showMessage\":[{\"watch1\":0}],\"validMessage\":[{\"watch1\":0}],\"invalidMessage\":[{\"watch1\":0},{\"watch2\":0}],\"checked\":[{\"watch1\":0}],\"_ref\":[{\"watch2\":0},{\"watch3\":0}]}]]],[\"db-textarea\",[[0,\"db-textarea\",{\"invalidMessage\":[1,\"invalid-message\"],\"id\":[1],\"propOverrides\":[16],\"message\":[1],\"showMessage\":[8,\"show-message\"],\"value\":[8],\"validMessage\":[1,\"valid-message\"],\"validation\":[1],\"required\":[8],\"minLength\":[8,\"min-length\"],\"maxLength\":[8,\"max-length\"],\"className\":[1,\"classname\"],\"variant\":[1],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"showLabel\":[8,\"show-label\"],\"label\":[1],\"fieldSizing\":[1,\"field-sizing\"],\"resize\":[1],\"showResizer\":[8,\"show-resizer\"],\"disabled\":[8],\"readOnly\":[8,\"read-only\"],\"readonly\":[8],\"form\":[1],\"maxlength\":[8],\"minlength\":[8],\"name\":[1],\"wrap\":[1],\"spellCheck\":[4,\"spell-check\"],\"autocomplete\":[1],\"ariaDescribedBy\":[1,\"aria-described-by\"],\"placeholder\":[1],\"rows\":[8],\"cols\":[8],\"messageIcon\":[1,\"message-icon\"],\"_id\":[32],\"_messageId\":[32],\"_validMessageId\":[32],\"_invalidMessageId\":[32],\"_invalidMessage\":[32],\"_descByIds\":[32],\"_value\":[32],\"_voiceOverFallback\":[32],\"abortController\":[32],\"observer\":[32]},null,{\"id\":[{\"watch0\":0}],\"propOverrides?.id\":[{\"watch0\":0}],\"_ref\":[{\"watch1\":0},{\"watch4\":0}],\"invalidMessage\":[{\"watch1\":0}],\"_id\":[{\"watch2\":0}],\"value\":[{\"watch3\":0}]}]]],[\"db-badge\",[[260,\"db-badge\",{\"placement\":[1],\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"semantic\":[1],\"size\":[1],\"emphasis\":[1],\"wrap\":[8],\"label\":[1],\"text\":[1],\"initialized\":[32],\"observer\":[32]},null,{\"_ref\":[{\"watch0\":0}],\"initialized\":[{\"watch0\":0}]}]]],[\"db-brand\",[[260,\"db-brand\",{\"hideLogo\":[4,\"hide-logo\"],\"icon\":[1],\"showIcon\":[8,\"show-icon\"],\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"text\":[1],\"observer\":[32]}]]],[\"db-card\",[[260,\"db-card\",{\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"behavior\":[1],\"elevationLevel\":[1,\"elevation-level\"],\"spacing\":[1],\"observer\":[32]}]]],[\"db-custom-button\",[[260,\"db-custom-button\",{\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"iconLeading\":[1,\"icon-leading\"],\"icon\":[1],\"showIconLeading\":[8,\"show-icon-leading\"],\"showIcon\":[8,\"show-icon\"],\"iconTrailing\":[1,\"icon-trailing\"],\"showIconTrailing\":[8,\"show-icon-trailing\"],\"size\":[1],\"width\":[1],\"variant\":[1],\"noText\":[8,\"no-text\"],\"observer\":[32]}]]],[\"db-custom-select-form-field\",[[260,\"db-custom-select-form-field\",{\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"observer\":[32]}]]],[\"db-divider\",[[0,\"db-divider\",{\"id\":[1],\"propOverrides\":[16],\"margin\":[1],\"variant\":[1],\"emphasis\":[1],\"width\":[1],\"className\":[1,\"classname\"],\"observer\":[32]}]]],[\"db-icon\",[[260,\"db-icon\",{\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"icon\":[1],\"weight\":[1],\"variant\":[1],\"text\":[1],\"observer\":[32]}]]],[\"db-navigation\",[[260,\"db-navigation\",{\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"observer\":[32]}]]],[\"db-page\",[[260,\"db-page\",{\"fadeIn\":[8,\"fade-in\"],\"documentOverflow\":[1,\"document-overflow\"],\"variant\":[1],\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"mainClass\":[1,\"main-class\"],\"fontsLoaded\":[32],\"observer\":[32]}]]],[\"db-popover\",[[260,\"db-popover\",{\"placement\":[1],\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"spacing\":[1],\"gap\":[8],\"animation\":[8],\"open\":[8],\"delay\":[1],\"width\":[1],\"initialized\":[32],\"isExpanded\":[32],\"_documentScrollListenerCallbackId\":[32],\"_observer\":[32],\"observer\":[32]},null,{\"_ref\":[{\"watch0\":0},{\"watch1\":0}],\"initialized\":[{\"watch0\":0}],\"isExpanded\":[{\"watch1\":0}]}]]],[\"db-radio\",[[260,\"db-radio\",{\"id\":[1],\"propOverrides\":[16],\"checked\":[8],\"size\":[1],\"showLabel\":[8,\"show-label\"],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"className\":[1,\"classname\"],\"validation\":[1],\"name\":[1],\"disabled\":[8],\"value\":[8],\"required\":[8],\"label\":[1],\"initialized\":[32],\"_id\":[32],\"abortController\":[32],\"observer\":[32]},null,{\"id\":[{\"watch0\":0}],\"propOverrides?.id\":[{\"watch0\":0}],\"initialized\":[{\"watch1\":0}],\"_ref\":[{\"watch1\":0},{\"watch2\":0}],\"checked\":[{\"watch1\":0}]}]]],[\"db-section\",[[260,\"db-section\",{\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"spacing\":[1],\"width\":[1],\"observer\":[32]}]]],[\"db-stack\",[[260,\"db-stack\",{\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"gap\":[1],\"variant\":[1],\"direction\":[1],\"alignment\":[1],\"justifyContent\":[1,\"justify-content\"],\"wrap\":[8],\"observer\":[32]}]]],[\"db-table-caption\",[[260,\"db-table-caption\",{\"id\":[1],\"className\":[1,\"classname\"],\"observer\":[32]}]]],[\"db-drawer\",[[260,\"db-drawer\",{\"open\":[8],\"position\":[1],\"backdrop\":[1],\"variant\":[1],\"id\":[1],\"propOverrides\":[16],\"direction\":[1],\"className\":[1,\"classname\"],\"spacing\":[1],\"width\":[1],\"rounded\":[8],\"closeButtonId\":[1,\"close-button-id\"],\"closeButtonText\":[1,\"close-button-text\"],\"initialized\":[32],\"backdropPointerDown\":[32],\"observer\":[32]},null,{\"open\":[{\"watch0\":0}],\"_ref\":[{\"watch1\":0}],\"initialized\":[{\"watch1\":0}],\"position\":[{\"watch1\":0}]}]]],[\"db-accordion-item\",[[260,\"db-accordion-item\",{\"defaultOpen\":[4,\"default-open\"],\"name\":[1],\"open\":[8],\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"disabled\":[8],\"headlinePlain\":[1,\"headline-plain\"],\"text\":[1],\"_open\":[32],\"_name\":[32],\"initialized\":[32],\"observer\":[32]},null,{\"_ref\":[{\"watch0\":0}],\"initialized\":[{\"watch0\":0}],\"name\":[{\"watch1\":0}],\"open\":[{\"watch2\":0}]}]]],[\"db-tooltip\",[[260,\"db-tooltip\",{\"id\":[1],\"propOverrides\":[16],\"variant\":[1],\"placement\":[1],\"className\":[1,\"classname\"],\"emphasis\":[1],\"wrap\":[8],\"animation\":[8],\"delay\":[1],\"width\":[1],\"showArrow\":[8,\"show-arrow\"],\"text\":[1],\"_id\":[32],\"initialized\":[32],\"_documentScrollListenerCallbackId\":[32],\"_observer\":[32],\"_attachedParent\":[32],\"_attachedId\":[32],\"_activeTriggerCount\":[32],\"_boundListeners\":[32],\"observer\":[32]},null,{\"id\":[{\"watch0\":0}],\"propOverrides?.id\":[{\"watch0\":0}],\"_ref\":[{\"watch1\":0}],\"initialized\":[{\"watch1\":0}],\"_id\":[{\"watch1\":0}]}]]],[\"db-table-body_3\",[[260,\"db-table-body\",{\"id\":[1],\"className\":[1,\"classname\"],\"rows\":[16]}],[260,\"db-table-footer\",{\"id\":[1],\"className\":[1,\"classname\"],\"rows\":[16]}],[260,\"db-table-head\",{\"id\":[1],\"className\":[1,\"classname\"],\"rows\":[16],\"observer\":[32]}]]],[\"db-tab-item_3\",[[260,\"db-tab-item\",{\"active\":[8],\"name\":[1],\"className\":[1,\"classname\"],\"id\":[1],\"propOverrides\":[16],\"iconLeading\":[1,\"icon-leading\"],\"icon\":[1],\"iconTrailing\":[1,\"icon-trailing\"],\"showIconLeading\":[8,\"show-icon-leading\"],\"showIcon\":[8,\"show-icon\"],\"showIconTrailing\":[8,\"show-icon-trailing\"],\"noText\":[8,\"no-text\"],\"disabled\":[8],\"checked\":[8],\"label\":[1],\"_selected\":[32],\"_name\":[32],\"initialized\":[32],\"_listenerAdded\":[32],\"boundSetSelectedOnChange\":[32],\"observer\":[32]},null,{\"_ref\":[{\"watch0\":0}],\"initialized\":[{\"watch0\":0}],\"boundSetSelectedOnChange\":[{\"watch0\":0}],\"name\":[{\"watch1\":0}]}],[260,\"db-tab-list\",{\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"observer\":[32]}],[260,\"db-tab-panel\",{\"className\":[1,\"classname\"],\"id\":[1],\"propOverrides\":[16],\"content\":[1],\"observer\":[32]}]]],[\"db-custom-select-dropdown_5\",[[260,\"db-input\",{\"invalidMessage\":[1,\"invalid-message\"],\"id\":[1],\"propOverrides\":[16],\"dataListId\":[1,\"data-list-id\"],\"message\":[1],\"showMessage\":[8,\"show-message\"],\"value\":[8],\"validMessage\":[1,\"valid-message\"],\"validation\":[1],\"required\":[8],\"minLength\":[8,\"min-length\"],\"maxLength\":[8,\"max-length\"],\"pattern\":[1],\"dataList\":[16],\"className\":[1,\"classname\"],\"variant\":[1],\"showLabel\":[8,\"show-label\"],\"showIconLeading\":[8,\"show-icon-leading\"],\"showIcon\":[8,\"show-icon\"],\"iconLeading\":[1,\"icon-leading\"],\"icon\":[1],\"iconTrailing\":[1,\"icon-trailing\"],\"showRequiredAsterisk\":[8,\"show-required-asterisk\"],\"showIconTrailing\":[8,\"show-icon-trailing\"],\"label\":[1],\"fieldSizing\":[1,\"field-sizing\"],\"name\":[1],\"type\":[1],\"multiple\":[8],\"accept\":[1],\"placeholder\":[1],\"disabled\":[8],\"step\":[8],\"maxlength\":[8],\"minlength\":[8],\"max\":[8],\"min\":[8],\"readOnly\":[8,\"read-only\"],\"readonly\":[8],\"form\":[1],\"size\":[2],\"autocomplete\":[1],\"autofocus\":[8],\"enterkeyhint\":[1],\"inputmode\":[1],\"ariaDescribedBy\":[1,\"aria-described-by\"],\"messageSize\":[1,\"message-size\"],\"messageIcon\":[1,\"message-icon\"],\"validMessageSize\":[1,\"valid-message-size\"],\"invalidMessageSize\":[1,\"invalid-message-size\"],\"_id\":[32],\"_messageId\":[32],\"_validMessageId\":[32],\"_invalidMessageId\":[32],\"_invalidMessage\":[32],\"_dataListId\":[32],\"_descByIds\":[32],\"_value\":[32],\"_voiceOverFallback\":[32],\"abortController\":[32],\"observer\":[32]},null,{\"id\":[{\"watch0\":0}],\"propOverrides?.id\":[{\"watch0\":0}],\"_ref\":[{\"watch1\":0},{\"watch4\":0}],\"invalidMessage\":[{\"watch1\":0}],\"_id\":[{\"watch2\":0}],\"value\":[{\"watch3\":0}]}],[260,\"db-tag\",{\"removeButton\":[1,\"remove-button\"],\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"semantic\":[1],\"emphasis\":[1],\"icon\":[1],\"showCheckState\":[8,\"show-check-state\"],\"showIcon\":[8,\"show-icon\"],\"noText\":[8,\"no-text\"],\"overflow\":[8],\"text\":[1],\"behavior\":[1],\"observer\":[32]}],[260,\"db-custom-select-dropdown\",{\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"width\":[1],\"observer\":[32]}],[260,\"db-custom-select-list\",{\"multiple\":[4],\"label\":[1],\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"observer\":[32]}],[260,\"db-custom-select-list-item\",{\"isGroupTitle\":[4,\"is-group-title\"],\"showDivider\":[4,\"show-divider\"],\"type\":[1],\"checked\":[8],\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"groupTitle\":[1,\"group-title\"],\"icon\":[1],\"showIcon\":[8,\"show-icon\"],\"name\":[1],\"disabled\":[8],\"value\":[8],\"label\":[1],\"hasDivider\":[32],\"observer\":[32]},null,{\"isGroupTitle\":[{\"watch0\":0}],\"showDivider\":[{\"watch0\":0}]}]]],[\"db-button\",[[260,\"db-button\",{\"type\":[1],\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"disabled\":[8],\"iconLeading\":[1,\"icon-leading\"],\"icon\":[1],\"showIconLeading\":[8,\"show-icon-leading\"],\"showIcon\":[8,\"show-icon\"],\"iconTrailing\":[1,\"icon-trailing\"],\"showIconTrailing\":[8,\"show-icon-trailing\"],\"size\":[1],\"width\":[1],\"variant\":[1],\"wrap\":[8],\"noText\":[8,\"no-text\"],\"name\":[1],\"form\":[1],\"value\":[1],\"text\":[1],\"observer\":[32]}]]],[\"db-infotext\",[[260,\"db-infotext\",{\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"icon\":[1],\"semantic\":[1],\"size\":[1],\"wrap\":[8],\"showIcon\":[8,\"show-icon\"],\"text\":[1],\"observer\":[32]}]]],[\"db-link_4\",[[260,\"db-table-row\",{\"id\":[1],\"className\":[1,\"classname\"],\"interactive\":[8],\"subHeaderEmphasis\":[1,\"sub-header-emphasis\"],\"cells\":[16]}],[260,\"db-link\",{\"id\":[1],\"propOverrides\":[16],\"className\":[1,\"classname\"],\"href\":[1],\"target\":[1],\"rel\":[1],\"role\":[1],\"referrerpolicy\":[1],\"referrerPolicy\":[1,\"referrer-policy\"],\"hreflang\":[1],\"disabled\":[8],\"size\":[1],\"showIcon\":[8,\"show-icon\"],\"variant\":[1],\"content\":[1],\"wrap\":[8],\"text\":[1],\"observer\":[32]}],[260,\"db-table-data-cell\",{\"id\":[1],\"className\":[1,\"classname\"],\"horizontalAlignment\":[1,\"horizontal-alignment\"],\"verticalAlignment\":[1,\"vertical-alignment\"],\"colSpan\":[8,\"col-span\"],\"colspan\":[8],\"rowSpan\":[8,\"row-span\"],\"rowspan\":[8],\"headers\":[1]}],[260,\"db-table-header-cell\",{\"id\":[1],\"className\":[1,\"classname\"],\"horizontalAlignment\":[1,\"horizontal-alignment\"],\"verticalAlignment\":[1,\"vertical-alignment\"],\"noText\":[8,\"no-text\"],\"scope\":[1],\"colSpan\":[8,\"col-span\"],\"colspan\":[8],\"rowSpan\":[8,\"row-span\"],\"rowspan\":[8],\"headers\":[1],\"abbr\":[1]}]]]]"), options);
|
|
21
21
|
});
|
|
@@ -62,24 +62,69 @@ const handleDataOutside = (el) => {
|
|
|
62
62
|
const handleFixedDropdown = (element, parent, placement) => {
|
|
63
63
|
if (!element || !parent)
|
|
64
64
|
return;
|
|
65
|
-
|
|
65
|
+
const fullWidth = element.dataset['width'] === 'full';
|
|
66
|
+
const autoWidth = element.dataset['width'] === 'auto';
|
|
67
|
+
// Reset width-specific inline styles first so a previous mode (e.g. "auto")
|
|
68
|
+
// doesn't leave a stale minInlineSize/inlineSize behind when the dropdown
|
|
69
|
+
// width changes at runtime. This must happen before getFloatingProps
|
|
70
|
+
// measures the element, otherwise the dropdown would be measured with a
|
|
71
|
+
// width it no longer has and positioned incorrectly. It also has to run
|
|
72
|
+
// before the mobile bailout below: otherwise a desktop minInlineSize would
|
|
73
|
+
// survive into the mobile sheet, where CSS min-inline-size beats the
|
|
74
|
+
// mobile max-inline-size guard and overflows the viewport.
|
|
75
|
+
element.style.inlineSize = '';
|
|
76
|
+
element.style.minInlineSize = '';
|
|
77
|
+
// We skip the rest if we are in mobile, it's already fixed via CSS.
|
|
66
78
|
if (getComputedStyle(element).zIndex === '9999')
|
|
67
79
|
return;
|
|
68
|
-
const { top, bottom, childHeight, childWidth, width, right, left, correctedPlacement } = getFloatingProps(element, parent, placement);
|
|
69
|
-
|
|
80
|
+
const { top, bottom, childHeight, childWidth, width, right, left, correctedPlacement, innerWidth } = getFloatingProps(element, parent, placement);
|
|
81
|
+
// For auto width the dropdown is forced to be at least as wide as the trigger,
|
|
82
|
+
// but clamped to its own max-inline-size: CSS lets a min-inline-size override
|
|
83
|
+
// the max when the minimum is larger, so a trigger wider than the viewport
|
|
84
|
+
// limit would otherwise drop the side margins or overflow horizontally.
|
|
85
|
+
let autoMinWidth = width;
|
|
86
|
+
if (autoWidth) {
|
|
87
|
+
const maxInlineSize = parseFloat(getComputedStyle(element).maxInlineSize);
|
|
88
|
+
if (!isNaN(maxInlineSize) && maxInlineSize > 0) {
|
|
89
|
+
autoMinWidth = Math.min(width, maxInlineSize);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
70
92
|
if (fullWidth) {
|
|
71
93
|
element.style.inlineSize = `${width}px`;
|
|
72
94
|
}
|
|
73
|
-
if (
|
|
95
|
+
else if (autoWidth) {
|
|
96
|
+
element.style.minInlineSize = `${autoMinWidth}px`;
|
|
97
|
+
}
|
|
98
|
+
// getFloatingProps measured childWidth before the inline styles were
|
|
99
|
+
// (re)applied, so use the width the dropdown will actually have:
|
|
100
|
+
// - auto: the clamped minimum, so end-aligned dropdowns don't extend past
|
|
101
|
+
// the trigger's right edge.
|
|
102
|
+
// - full: the trigger width (the reset above drops it to content width).
|
|
103
|
+
let effectiveChildWidth = childWidth;
|
|
104
|
+
if (autoWidth) {
|
|
105
|
+
effectiveChildWidth = Math.max(childWidth, autoMinWidth);
|
|
106
|
+
}
|
|
107
|
+
else if (fullWidth) {
|
|
108
|
+
effectiveChildWidth = width;
|
|
109
|
+
}
|
|
110
|
+
// getFloatingProps detects horizontal overflow assuming a centered element
|
|
111
|
+
// (it halves childWidth). The dropdown is actually start-aligned (inset =
|
|
112
|
+
// left), so for the wider auto dropdown re-check overflow against its full
|
|
113
|
+
// width and flip to end-alignment when it would extend past the viewport.
|
|
114
|
+
let dropdownPlacement = correctedPlacement;
|
|
115
|
+
if (autoWidth && (dropdownPlacement === 'top' || dropdownPlacement === 'bottom' || dropdownPlacement === 'top-start' || dropdownPlacement === 'bottom-start') && left + effectiveChildWidth > innerWidth) {
|
|
116
|
+
dropdownPlacement = dropdownPlacement.startsWith('top') ? 'top-end' : 'bottom-end';
|
|
117
|
+
}
|
|
118
|
+
if (dropdownPlacement === 'top' || dropdownPlacement === 'bottom' || dropdownPlacement === 'top-start' || dropdownPlacement === 'bottom-start') {
|
|
74
119
|
element.style.insetInlineStart = `${left}px`;
|
|
75
120
|
}
|
|
76
|
-
else if (
|
|
77
|
-
element.style.insetInlineStart = `${right -
|
|
121
|
+
else if (dropdownPlacement === 'top-end' || dropdownPlacement === 'bottom-end') {
|
|
122
|
+
element.style.insetInlineStart = `${Math.max(right - effectiveChildWidth, 0)}px`;
|
|
78
123
|
}
|
|
79
|
-
if (
|
|
124
|
+
if (dropdownPlacement === null || dropdownPlacement === void 0 ? void 0 : dropdownPlacement.startsWith('top')) {
|
|
80
125
|
element.style.insetBlockStart = `${top - childHeight}px`;
|
|
81
126
|
}
|
|
82
|
-
else if (
|
|
127
|
+
else if (dropdownPlacement === null || dropdownPlacement === void 0 ? void 0 : dropdownPlacement.startsWith('bottom')) {
|
|
83
128
|
element.style.insetBlockStart = `${bottom}px`;
|
|
84
129
|
}
|
|
85
130
|
element.style.position = 'fixed';
|
package/dist/esm/index.js
CHANGED
|
@@ -2,8 +2,8 @@ export { a as addAttributeToChildren, c as cls, d as delay, e as getBoolean, g a
|
|
|
2
2
|
export { x as COLOR, y as COLORS, z as COLORS_SIMPLE, C as COLOR_CONST, w as COLOR_SIMPLE, F as DB_UX_LOCAL_STORAGE_FRAMEWORK, G as DB_UX_LOCAL_STORAGE_MODE, n as DEFAULT_BACK, p as DEFAULT_BURGER_MENU, s as DEFAULT_CLOSE_BUTTON, j as DEFAULT_DATALIST_ID_SUFFIX, q as DEFAULT_ICON, D as DEFAULT_ID, l as DEFAULT_INVALID_MESSAGE, h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, a as DEFAULT_LABEL, d as DEFAULT_LABEL_ID_SUFFIX, c as DEFAULT_MESSAGE, f as DEFAULT_MESSAGE_ID_SUFFIX, b as DEFAULT_PLACEHOLDER, i as DEFAULT_PLACEHOLDER_ID_SUFFIX, m as DEFAULT_REMOVE, r as DEFAULT_ROWS, o as DEFAULT_SELECTED, e as DEFAULT_SELECT_ID_SUFFIX, k as DEFAULT_VALID_MESSAGE, g as DEFAULT_VALID_MESSAGE_ID_SUFFIX, B as DEFAULT_VIEWPORT, v as DENSITIES, u as DENSITY, t as DENSITY_CONST, E as DESKTOP_VIEWPORT, S as SEMANTIC, A as SEMANTICS, T as TESTING_VIEWPORTS } from './constants-BdL-nI5y.js';
|
|
3
3
|
export { D as DocumentClickListener } from './document-click-listener-9wJfRcvz.js';
|
|
4
4
|
export { D as DocumentScrollListener } from './document-scroll-listener-4F0ZAg9p.js';
|
|
5
|
-
export { g as getFloatingProps, h as handleDataOutside, a as handleFixedDropdown, b as handleFixedPopover } from './floating-components-
|
|
6
|
-
export { N as NavigationItemSafeTriangle, i as isEventTargetNavigationItem } from './navigation-
|
|
5
|
+
export { g as getFloatingProps, h as handleDataOutside, a as handleFixedDropdown, b as handleFixedPopover } from './floating-components-C0q9XJSc.js';
|
|
6
|
+
export { N as NavigationItemSafeTriangle, i as isEventTargetNavigationItem } from './navigation-Cd7KZ6E2.js';
|
|
7
7
|
|
|
8
8
|
const AccordionVariantList = ['divider', 'card'];
|
|
9
9
|
const AccordionBehaviorList = ['multiple', 'single'];
|