@db-ux/wc-core-components 4.5.2-0-eff2227 → 4.5.2-agent-cli-pnpm-compatibility-ebd2994
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/dist/cjs/db-accordion-item.cjs.entry.js +3 -3
- package/dist/cjs/db-accordion.cjs.entry.js +2 -2
- package/dist/cjs/db-badge.cjs.entry.js +2 -2
- package/dist/cjs/db-brand.cjs.entry.js +2 -2
- package/dist/cjs/db-button.cjs.entry.js +2 -2
- package/dist/cjs/db-card.cjs.entry.js +3 -3
- package/dist/cjs/db-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/db-custom-button.cjs.entry.js +3 -3
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +10 -10
- package/dist/cjs/db-custom-select-form-field.cjs.entry.js +3 -3
- package/dist/cjs/db-custom-select.cjs.entry.js +6 -6
- package/dist/cjs/db-divider.cjs.entry.js +2 -2
- package/dist/cjs/db-drawer.cjs.entry.js +4 -4
- package/dist/cjs/db-header.cjs.entry.js +3 -3
- package/dist/cjs/db-icon.cjs.entry.js +2 -2
- package/dist/cjs/db-infotext.cjs.entry.js +2 -2
- package/dist/cjs/db-link.cjs.entry.js +2 -2
- package/dist/cjs/db-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/db-navigation.cjs.entry.js +3 -3
- package/dist/cjs/db-notification.cjs.entry.js +3 -3
- package/dist/cjs/db-page.cjs.entry.js +3 -3
- package/dist/cjs/db-popover.cjs.entry.js +3 -3
- package/dist/cjs/db-radio.cjs.entry.js +2 -2
- package/dist/cjs/db-section.cjs.entry.js +3 -3
- package/dist/cjs/db-select.cjs.entry.js +3 -3
- package/dist/cjs/db-stack.cjs.entry.js +3 -3
- package/dist/cjs/db-switch.cjs.entry.js +3 -3
- package/dist/cjs/db-tab-item_3.cjs.entry.js +7 -7
- package/dist/cjs/db-tabs.cjs.entry.js +3 -3
- package/dist/cjs/db-textarea.cjs.entry.js +3 -3
- package/dist/cjs/db-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/db-ux.cjs.js +2 -2
- package/dist/cjs/{index-D_vrmAD6.js → index-CSMPhlzz.js} +13 -22
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -2
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +2 -2
- package/dist/collection/components/badge/badge.js +1 -1
- package/dist/collection/components/brand/brand.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/card/card.js +2 -2
- package/dist/collection/components/checkbox/checkbox.js +2 -2
- package/dist/collection/components/custom-button/custom-button.js +2 -2
- package/dist/collection/components/custom-select/custom-select.js +5 -5
- package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +2 -2
- package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +2 -2
- package/dist/collection/components/custom-select-list/custom-select-list.js +2 -2
- package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +1 -1
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/drawer/drawer.js +3 -3
- package/dist/collection/components/header/header.js +2 -2
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/infotext/infotext.js +1 -1
- package/dist/collection/components/input/input.js +2 -2
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/navigation/navigation.js +2 -2
- package/dist/collection/components/navigation-item/navigation-item.js +1 -1
- package/dist/collection/components/notification/notification.js +2 -2
- package/dist/collection/components/page/page.js +2 -2
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/radio/radio.js +1 -1
- package/dist/collection/components/section/section.js +2 -2
- package/dist/collection/components/select/select.js +2 -2
- package/dist/collection/components/stack/stack.js +2 -2
- package/dist/collection/components/switch/switch.js +2 -2
- package/dist/collection/components/tab-item/tab-item.js +2 -2
- package/dist/collection/components/tab-list/tab-list.js +2 -2
- package/dist/collection/components/tab-panel/tab-panel.js +2 -2
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tag/tag.js +2 -2
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/db-ux/db-ux.esm.js +1 -1
- package/dist/db-ux/p-00df7d53.entry.js +1 -0
- package/dist/db-ux/{p-11251b99.entry.js → p-0ff173fb.entry.js} +1 -1
- package/dist/db-ux/{p-32c4a1b5.entry.js → p-1519dbbb.entry.js} +1 -1
- package/dist/db-ux/p-16281dcb.entry.js +1 -0
- package/dist/db-ux/p-2503bd4d.entry.js +1 -0
- package/dist/db-ux/p-27eb6e88.entry.js +1 -0
- package/dist/db-ux/p-2e940d2e.entry.js +1 -0
- package/dist/db-ux/p-309259be.entry.js +1 -0
- package/dist/db-ux/{p-a34d2691.entry.js → p-330e89df.entry.js} +1 -1
- package/dist/db-ux/{p-29442fd9.entry.js → p-4183b8e1.entry.js} +1 -1
- package/dist/db-ux/p-4284c37f.entry.js +1 -0
- package/dist/db-ux/p-432ceb90.entry.js +1 -0
- package/dist/db-ux/{p-ff3866f3.entry.js → p-503d5103.entry.js} +1 -1
- package/dist/db-ux/p-6cb4232d.entry.js +1 -0
- package/dist/db-ux/p-6da70f61.entry.js +1 -0
- package/dist/db-ux/{p-9fb146d1.entry.js → p-766057ea.entry.js} +1 -1
- package/dist/db-ux/{p-745ccfb8.entry.js → p-7a146dee.entry.js} +1 -1
- package/dist/db-ux/{p-e199b6f9.entry.js → p-7e274359.entry.js} +1 -1
- package/dist/db-ux/p-Bs7RfNRP.js +2 -0
- package/dist/db-ux/p-aad9c604.entry.js +1 -0
- package/dist/db-ux/p-b218b08b.entry.js +1 -0
- package/dist/db-ux/{p-043c407c.entry.js → p-beb541cc.entry.js} +1 -1
- package/dist/db-ux/{p-c6f43506.entry.js → p-bfe27311.entry.js} +1 -1
- package/dist/db-ux/{p-5028b12e.entry.js → p-cd8557dd.entry.js} +1 -1
- package/dist/db-ux/{p-1c89f0fc.entry.js → p-d2674cff.entry.js} +1 -1
- package/dist/db-ux/{p-cdfaf027.entry.js → p-d4e79c33.entry.js} +1 -1
- package/dist/db-ux/{p-3e5be44c.entry.js → p-e19f2640.entry.js} +1 -1
- package/dist/db-ux/{p-e3664354.entry.js → p-e3def528.entry.js} +1 -1
- package/dist/db-ux/p-e6b17374.entry.js +1 -0
- package/dist/db-ux/{p-587263ad.entry.js → p-ea7219af.entry.js} +1 -1
- package/dist/db-ux/{p-58f21c03.entry.js → p-fe54feb3.entry.js} +1 -1
- package/dist/db-ux/p-ffb2c6be.entry.js +1 -0
- package/dist/esm/db-accordion-item.entry.js +3 -3
- package/dist/esm/db-accordion.entry.js +2 -2
- package/dist/esm/db-badge.entry.js +2 -2
- package/dist/esm/db-brand.entry.js +2 -2
- package/dist/esm/db-button.entry.js +2 -2
- package/dist/esm/db-card.entry.js +3 -3
- package/dist/esm/db-checkbox.entry.js +3 -3
- package/dist/esm/db-custom-button.entry.js +3 -3
- package/dist/esm/db-custom-select-dropdown_5.entry.js +10 -10
- package/dist/esm/db-custom-select-form-field.entry.js +3 -3
- package/dist/esm/db-custom-select.entry.js +6 -6
- package/dist/esm/db-divider.entry.js +2 -2
- package/dist/esm/db-drawer.entry.js +4 -4
- package/dist/esm/db-header.entry.js +3 -3
- package/dist/esm/db-icon.entry.js +2 -2
- package/dist/esm/db-infotext.entry.js +2 -2
- package/dist/esm/db-link.entry.js +2 -2
- package/dist/esm/db-navigation-item.entry.js +2 -2
- package/dist/esm/db-navigation.entry.js +3 -3
- package/dist/esm/db-notification.entry.js +3 -3
- package/dist/esm/db-page.entry.js +3 -3
- package/dist/esm/db-popover.entry.js +3 -3
- package/dist/esm/db-radio.entry.js +2 -2
- package/dist/esm/db-section.entry.js +3 -3
- package/dist/esm/db-select.entry.js +3 -3
- package/dist/esm/db-stack.entry.js +3 -3
- package/dist/esm/db-switch.entry.js +3 -3
- package/dist/esm/db-tab-item_3.entry.js +7 -7
- package/dist/esm/db-tabs.entry.js +3 -3
- package/dist/esm/db-textarea.entry.js +3 -3
- package/dist/esm/db-tooltip.entry.js +3 -3
- package/dist/esm/db-ux.js +3 -3
- package/dist/esm/{index-BjIPMjCM.js → index-Bs7RfNRP.js} +13 -22
- package/dist/esm/loader.js +2 -2
- package/package.json +4 -4
- package/dist/db-ux/p-0541c3c2.entry.js +0 -1
- package/dist/db-ux/p-074e4a43.entry.js +0 -1
- package/dist/db-ux/p-213bfff6.entry.js +0 -1
- package/dist/db-ux/p-2bce91e1.entry.js +0 -1
- package/dist/db-ux/p-4cda36f1.entry.js +0 -1
- package/dist/db-ux/p-4cf64cbb.entry.js +0 -1
- package/dist/db-ux/p-56af9177.entry.js +0 -1
- package/dist/db-ux/p-6b073570.entry.js +0 -1
- package/dist/db-ux/p-836f0fef.entry.js +0 -1
- package/dist/db-ux/p-9a19e197.entry.js +0 -1
- package/dist/db-ux/p-BjIPMjCM.js +0 -2
- package/dist/db-ux/p-d186aef4.entry.js +0 -1
- package/dist/db-ux/p-dceb35a8.entry.js +0 -1
- package/dist/db-ux/p-ef034bba.entry.js +0 -1
- package/dist/db-ux/p-f0bc176a.entry.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CSMPhlzz.js');
|
|
4
4
|
var index$1 = require('./index-2_9ESkQu.js');
|
|
5
5
|
var formComponents = require('./form-components-_ncB_U2D.js');
|
|
6
6
|
|
|
@@ -127,7 +127,7 @@ const DBRadio = class {
|
|
|
127
127
|
(_a = this.abortController) === null || _a === void 0 ? void 0 : _a.abort();
|
|
128
128
|
}
|
|
129
129
|
render() {
|
|
130
|
-
return (index.h("label", { key: '
|
|
130
|
+
return (index.h("label", { key: '9c3f8305d05457c20250793e18a9d18c8c036f7c', class: index$1.cls("db-radio", this.className), "data-size": this.size, "data-hide-label": index$1.getHideProp(this.showLabel), "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), htmlFor: this._id }, index.h("input", { key: 'f65b487ea3dcd26eb348d7b7e18461d29fc6e0af', type: "radio", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
|
|
131
131
|
this._ref = el;
|
|
132
132
|
}, id: this._id, name: this.name, checked: index$1.getBoolean(this.checked, "checked"), disabled: index$1.getBoolean(this.disabled, "disabled"), value: this.value, required: index$1.getBoolean(this.required, "required"), onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event) }), this.label ? this.label : index.h("slot", null)));
|
|
133
133
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CSMPhlzz.js');
|
|
4
4
|
var index$1 = require('./index-2_9ESkQu.js');
|
|
5
5
|
|
|
6
6
|
const DBSection = class {
|
|
@@ -48,9 +48,9 @@ const DBSection = class {
|
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
50
|
var _a, _b;
|
|
51
|
-
return (index.h("section", { key: '
|
|
51
|
+
return (index.h("section", { key: '433827caeacf2a63ea928bd6178f66dad7112d6d', class: index$1.cls("db-section", this.className), ref: (el) => {
|
|
52
52
|
this._ref = el;
|
|
53
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-spacing": this.spacing || "medium", "data-width": this.width }, index.h("slot", { key: '
|
|
53
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-spacing": this.spacing || "medium", "data-width": this.width }, index.h("slot", { key: 'b815cad646a0d81b749b215a02299b290f765f09' })));
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
56
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CSMPhlzz.js');
|
|
4
4
|
var constants = require('./constants-bMY2_d8A.js');
|
|
5
5
|
var index$1 = require('./index-2_9ESkQu.js');
|
|
6
6
|
var formComponents = require('./form-components-_ncB_U2D.js');
|
|
@@ -238,14 +238,14 @@ const DBSelect = class {
|
|
|
238
238
|
}
|
|
239
239
|
render() {
|
|
240
240
|
var _a, _b, _c, _d, _e;
|
|
241
|
-
return (index.h("div", { key: '
|
|
241
|
+
return (index.h("div", { key: '0e3ebb6a472cbd86ec971d96062c6779e11c9ff4', class: index$1.cls("db-select", this.className), "data-variant": this.variant, "data-hide-label": index$1.getHideProp(this.showLabel), "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-icon": this.icon, "data-show-icon": index$1.getBooleanAsString(this.showIcon) }, index.h("label", { key: '7d22cdb4c487037568a185719165efeaf4825b38', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : constants.DEFAULT_LABEL), index.h("select", { key: '6a4e62ac9f68e9ec0cf8379b812b8868bf47beb0', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
|
|
242
242
|
this._ref = el;
|
|
243
243
|
}, required: index$1.getBoolean(this.required, "required"), disabled: index$1.getBoolean(this.disabled, "disabled"), id: this._id, name: this.name, size: this.size,
|
|
244
244
|
/* @ts-ignore */
|
|
245
245
|
value: (_b = this.value) !== null && _b !== void 0 ? _b : this._value, autocomplete: this.autocomplete, multiple: this.multiple, onInput: (event) => this.handleInput(event), onClick: (event) => this.handleClick(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), "aria-describedby": (_c = this.ariaDescribedBy) !== null && _c !== void 0 ? _c : this._descByIds }, this.variant === "floating" || !!this.placeholder ? (index.h("option", { class: "placeholder", value: "", "data-show-empty-option": index$1.getBooleanAsString(this.shouldShowEmptyOption()) })) : null, ((_d = this.options) === null || _d === void 0 ? void 0 : _d.length) ? ((_e = this.options) === null || _e === void 0 ? void 0 : _e.map((option) => {
|
|
246
246
|
var _a;
|
|
247
247
|
return (index.h(index.Fragment, null, option.options ? (index.h("optgroup", { label: this.getOptionLabel(option), key: undefined }, (_a = option.options) === null || _a === void 0 ? void 0 : _a.map((optgroupOption) => (index.h("option", { value: optgroupOption.value, selected: optgroupOption.selected, disabled: optgroupOption.disabled, key: undefined }, this.getOptionLabel(optgroupOption)))))) : (index.h("option", { value: option.value, disabled: option.disabled, selected: option.selected, key: undefined }, this.getOptionLabel(option)))));
|
|
248
|
-
})) : (index.h("slot", null))), this.placeholder ? (index.h("span", { class: "db-select-placeholder", id: this._placeholderId }, this.placeholder)) : null, index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: '
|
|
248
|
+
})) : (index.h("slot", null))), this.placeholder ? (index.h("span", { class: "db-select-placeholder", id: this._placeholderId }, this.placeholder)) : null, index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: '736b83b341e8161f463a3131fc6cb39f6c966fc7', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: '1353c1a7cf3ae895b6108bc4800ab40ca808c596', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
249
249
|
}
|
|
250
250
|
static get watchers() { return {
|
|
251
251
|
"id": [{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CSMPhlzz.js');
|
|
4
4
|
var index$1 = require('./index-2_9ESkQu.js');
|
|
5
5
|
|
|
6
6
|
const DBStack = class {
|
|
@@ -48,9 +48,9 @@ const DBStack = class {
|
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
50
|
var _a, _b;
|
|
51
|
-
return (index.h("div", { key: '
|
|
51
|
+
return (index.h("div", { key: '6927a665a08e7383c992d2b93d264a991e871969', class: index$1.cls("db-stack", this.className), ref: (el) => {
|
|
52
52
|
this._ref = el;
|
|
53
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-gap": this.gap, "data-variant": this.variant, "data-direction": this.direction, "data-alignment": this.alignment, "data-justify-content": this.justifyContent, "data-wrap": index$1.getBooleanAsString(this.wrap) }, index.h("slot", { key: '
|
|
53
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-gap": this.gap, "data-variant": this.variant, "data-direction": this.direction, "data-alignment": this.alignment, "data-justify-content": this.justifyContent, "data-wrap": index$1.getBooleanAsString(this.wrap) }, index.h("slot", { key: '0c5f39afc50167b38e39797c240f32a696d93adb' })));
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
56
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CSMPhlzz.js');
|
|
4
4
|
var constants = require('./constants-bMY2_d8A.js');
|
|
5
5
|
var index$1 = require('./index-2_9ESkQu.js');
|
|
6
6
|
var formComponents = require('./form-components-_ncB_U2D.js');
|
|
@@ -188,9 +188,9 @@ const DBSwitch = class {
|
|
|
188
188
|
}
|
|
189
189
|
render() {
|
|
190
190
|
var _a, _b;
|
|
191
|
-
return (index.h("div", { key: '
|
|
191
|
+
return (index.h("div", { key: '5d55932625984fa62f0ee9d86f3d89f5b63f9072', class: index$1.cls("db-switch", this.className), "data-visual-aid": index$1.getBooleanAsString(this.visualAid), "data-size": this.size, "data-hide-label": index$1.getHideProp(this.showLabel), "data-variant": this.variant, "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-custom-validity": this.validation }, index.h("label", { key: '711ab3c882dbd490e19400ecf5d926f5bf80e95e', htmlFor: this._id }, index.h("input", { key: 'aa50031870b7ee76e1f1e6f9bd5dd14b9013de18', type: "checkbox", role: "switch", id: this._id, ref: (el) => {
|
|
192
192
|
this._ref = el;
|
|
193
|
-
}, checked: index$1.getBoolean(this.checked, "checked"), value: this.value, disabled: index$1.getBoolean(this.disabled, "disabled"), "aria-invalid": this.validation === "invalid" ? "true" : undefined, "aria-describedby": this._descByIds, name: this.name, required: index$1.getBoolean(this.required, "required"), "data-aid-icon": (_a = this.iconLeading) !== null && _a !== void 0 ? _a : this.icon, "data-aid-icon-trailing": this.iconTrailing, onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), onKeyDown: (event) => this.handleKeyDown(event) }), this.label ? this.label : index.h("slot", null)), index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: "small", semantic: "adaptive", id: this._messageId, icon: this.messageIcon }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, (_b = this.validMessage) !== null && _b !== void 0 ? _b : constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: '
|
|
193
|
+
}, checked: index$1.getBoolean(this.checked, "checked"), value: this.value, disabled: index$1.getBoolean(this.disabled, "disabled"), "aria-invalid": this.validation === "invalid" ? "true" : undefined, "aria-describedby": this._descByIds, name: this.name, required: index$1.getBoolean(this.required, "required"), "data-aid-icon": (_a = this.iconLeading) !== null && _a !== void 0 ? _a : this.icon, "data-aid-icon-trailing": this.iconTrailing, onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), onKeyDown: (event) => this.handleKeyDown(event) }), this.label ? this.label : index.h("slot", null)), index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: "small", semantic: "adaptive", id: this._messageId, icon: this.messageIcon }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, (_b = this.validMessage) !== null && _b !== void 0 ? _b : constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: '95f846f3de48f29bef0406c3c19d0314a2a0cfc6', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: '297a64a0c5b5faf97a3f685ab78eea7145fe700e', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
194
194
|
}
|
|
195
195
|
static get watchers() { return {
|
|
196
196
|
"id": [{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CSMPhlzz.js');
|
|
4
4
|
var index$1 = require('./index-2_9ESkQu.js');
|
|
5
5
|
|
|
6
6
|
const DBTabItem = class {
|
|
@@ -114,9 +114,9 @@ const DBTabItem = class {
|
|
|
114
114
|
}
|
|
115
115
|
render() {
|
|
116
116
|
var _a, _b, _c, _d, _e, _f;
|
|
117
|
-
return (index.h("li", { key: '
|
|
117
|
+
return (index.h("li", { key: 'aa5a73d9a5f1482623ebdb8a79846b478ecf9fd1', class: index$1.cls("db-tab-item", this.className), role: "none" }, index.h("label", { key: 'b6148c23f64ffd2d9153db7e8e3d39a90f009da3', htmlFor: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": (_c = this.iconLeading) !== null && _c !== void 0 ? _c : this.icon, "data-icon-trailing": this.iconTrailing, "data-show-icon": index$1.getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing), "data-no-text": index$1.getBooleanAsString(this.noText) }, index.h("input", { key: 'c7d167364eaa4f9cee156d9260553b14d60ffb13', type: "radio", role: "tab", disabled: index$1.getBoolean(this.disabled, "disabled"), "aria-selected": this._selected, checked: index$1.getBoolean(this.checked, "checked"), ref: (el) => {
|
|
118
118
|
this._ref = el;
|
|
119
|
-
}, name: this._name, id: (_e = this.id) !== null && _e !== void 0 ? _e : (_f = this.propOverrides) === null || _f === void 0 ? void 0 : _f.id, onInput: (event) => this.handleChange(event) }), this.label ? this.label : null, index.h("slot", { key: '
|
|
119
|
+
}, name: this._name, id: (_e = this.id) !== null && _e !== void 0 ? _e : (_f = this.propOverrides) === null || _f === void 0 ? void 0 : _f.id, onInput: (event) => this.handleChange(event) }), this.label ? this.label : null, index.h("slot", { key: 'aab78a92118a8ea9b7ffcb446ead8211294a6e6c' }))));
|
|
120
120
|
}
|
|
121
121
|
static get watchers() { return {
|
|
122
122
|
"_ref": [{
|
|
@@ -179,9 +179,9 @@ const DBTabList = class {
|
|
|
179
179
|
}
|
|
180
180
|
render() {
|
|
181
181
|
var _a, _b;
|
|
182
|
-
return (index.h("div", { key: '
|
|
182
|
+
return (index.h("div", { key: '9d2121250cb2a12971ea33774d8ff9e79117d18e', class: index$1.cls("db-tab-list", this.className), ref: (el) => {
|
|
183
183
|
this._ref = el;
|
|
184
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("ul", { key: '
|
|
184
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("ul", { key: 'db93a3777f11ee39e15633b0b5ae501b0526d73d', role: "tablist" }, index.h("slot", { key: '14d45a6c1693c5c2bdb2d422397e6ddeb93bf5b3' }))));
|
|
185
185
|
}
|
|
186
186
|
};
|
|
187
187
|
|
|
@@ -230,9 +230,9 @@ const DBTabPanel = class {
|
|
|
230
230
|
}
|
|
231
231
|
render() {
|
|
232
232
|
var _a, _b;
|
|
233
|
-
return (index.h("section", { key: '
|
|
233
|
+
return (index.h("section", { key: '3cae700e240af4818416120b8c85fc91839c7fa1', class: index$1.cls("db-tab-panel", this.className), role: "tabpanel", ref: (el) => {
|
|
234
234
|
this._ref = el;
|
|
235
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, this.content ? this.content : null, index.h("slot", { key: '
|
|
235
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, this.content ? this.content : null, index.h("slot", { key: '25595de165921a31119ffd785bd5c569c42fa557' })));
|
|
236
236
|
}
|
|
237
237
|
};
|
|
238
238
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CSMPhlzz.js');
|
|
4
4
|
var index$1 = require('./index-2_9ESkQu.js');
|
|
5
5
|
|
|
6
6
|
const DBTabs = class {
|
|
@@ -208,10 +208,10 @@ const DBTabs = class {
|
|
|
208
208
|
}
|
|
209
209
|
render() {
|
|
210
210
|
var _a, _b, _c, _d, _e, _f;
|
|
211
|
-
return (index.h("div", { key: '
|
|
211
|
+
return (index.h("div", { key: '6d273b967668288248c3853be80261a877d3ae04', class: index$1.cls("db-tabs", this.className), ref: (el) => {
|
|
212
212
|
this._ref = el;
|
|
213
213
|
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-orientation": this.orientation, "data-scroll-behavior": this.behavior, "data-alignment": (_c = this.alignment) !== null && _c !== void 0 ? _c : "start", "data-width": (_d = this.width) !== null && _d !== void 0 ? _d : "auto", onInput: (event) => this.handleChange(event), onChange: (event) => this.handleChange(event) }, this.showScrollLeft ? (index.h("db-button", { class: "tabs-scroll-left", variant: "ghost", icon: "chevron_left", type: "button", noText: true, onClick: () => this.scroll(true) }, "Scroll left")) : null, this.tabs ? (index.h(index.Fragment, null, index.h("db-tab-list", null, (_e = this.convertTabs()) === null || _e === void 0 ? void 0 : _e.map((tab, index$1) => (index.h("db-tab-item", { key: this.name + "tab-item" + index$1, active: tab.active, label: tab.label, iconTrailing: tab.iconTrailing, icon: tab.icon, noText: tab.noText })))), (_f = this.convertTabs()) === null || _f === void 0 ? void 0 :
|
|
214
|
-
_f.map((tab, index$1) => (index.h("db-tab-panel", { key: this.name + "tab-panel" + index$1, content: tab.content }, tab.children))))) : null, this.showScrollRight ? (index.h("db-button", { class: "tabs-scroll-right", variant: "ghost", icon: "chevron_right", type: "button", noText: true, onClick: () => this.scroll() }, "Scroll right")) : null, index.h("slot", { key: '
|
|
214
|
+
_f.map((tab, index$1) => (index.h("db-tab-panel", { key: this.name + "tab-panel" + index$1, content: tab.content }, tab.children))))) : null, this.showScrollRight ? (index.h("db-button", { class: "tabs-scroll-right", variant: "ghost", icon: "chevron_right", type: "button", noText: true, onClick: () => this.scroll() }, "Scroll right")) : null, index.h("slot", { key: '04f5d96f32695ae2661ace77827ee783eb0f23d0' })));
|
|
215
215
|
}
|
|
216
216
|
static get watchers() { return {
|
|
217
217
|
"_ref": [{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CSMPhlzz.js');
|
|
4
4
|
var constants = require('./constants-bMY2_d8A.js');
|
|
5
5
|
var index$1 = require('./index-2_9ESkQu.js');
|
|
6
6
|
var formComponents = require('./form-components-_ncB_U2D.js');
|
|
@@ -203,10 +203,10 @@ const DBTextarea = class {
|
|
|
203
203
|
}
|
|
204
204
|
render() {
|
|
205
205
|
var _a, _b, _c, _d, _e;
|
|
206
|
-
return (index.h("div", { key: '
|
|
206
|
+
return (index.h("div", { key: '393d0c53d9c4566418ac057d776c17b3f17c32aa', class: index$1.cls("db-textarea", this.className), "data-variant": this.variant, "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-hide-label": index$1.getHideProp(this.showLabel) }, index.h("label", { key: 'a899bcdffbffcdeef71bd1a62c4d0e3d5e4bbecc', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : constants.DEFAULT_LABEL), index.h("textarea", { key: 'e21b1f05254885af4ff600ad4ffeb691040074d1', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
|
|
207
207
|
this._ref = el;
|
|
208
208
|
}, id: this._id, "data-resize": this.resize, "data-hide-resizer": index$1.getHideProp((_b = this.showResizer) !== null && _b !== void 0 ? _b : true), disabled: index$1.getBoolean(this.disabled, "disabled"), required: index$1.getBoolean(this.required, "required"), readOnly: index$1.getBoolean(this.readOnly, "readOnly") ||
|
|
209
|
-
index$1.getBoolean(this.readonly, "readonly"), form: this.form, maxLength: index$1.getNumber(this.maxLength, this.maxlength), minLength: index$1.getNumber(this.minLength, this.minlength), name: this.name, wrap: this.wrap, spellcheck: this.spellCheck, autocomplete: this.autocomplete, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), value: (_c = this.value) !== null && _c !== void 0 ? _c : this._value, "aria-describedby": (_d = this.ariaDescribedBy) !== null && _d !== void 0 ? _d : this._descByIds, placeholder: (_e = this.placeholder) !== null && _e !== void 0 ? _e : constants.DEFAULT_PLACEHOLDER, rows: index$1.getNumber(this.rows, constants.DEFAULT_ROWS), cols: index$1.getNumber(this.cols) }), index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: '
|
|
209
|
+
index$1.getBoolean(this.readonly, "readonly"), form: this.form, maxLength: index$1.getNumber(this.maxLength, this.maxlength), minLength: index$1.getNumber(this.minLength, this.minlength), name: this.name, wrap: this.wrap, spellcheck: this.spellCheck, autocomplete: this.autocomplete, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), value: (_c = this.value) !== null && _c !== void 0 ? _c : this._value, "aria-describedby": (_d = this.ariaDescribedBy) !== null && _d !== void 0 ? _d : this._descByIds, placeholder: (_e = this.placeholder) !== null && _e !== void 0 ? _e : constants.DEFAULT_PLACEHOLDER, rows: index$1.getNumber(this.rows, constants.DEFAULT_ROWS), cols: index$1.getNumber(this.cols) }), index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: '9067bf72dc0406d8fa9365d57f6289aabdccc507', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: '85655aea65cece93bbc6fbc5d50b8849548a4365', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
210
210
|
}
|
|
211
211
|
static get watchers() { return {
|
|
212
212
|
"id": [{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CSMPhlzz.js');
|
|
4
4
|
var constants = require('./constants-bMY2_d8A.js');
|
|
5
5
|
var index$1 = require('./index-2_9ESkQu.js');
|
|
6
6
|
var documentScrollListener = require('./document-scroll-listener-ChQ7XZRk.js');
|
|
@@ -158,9 +158,9 @@ const DBTooltip = class {
|
|
|
158
158
|
}
|
|
159
159
|
render() {
|
|
160
160
|
var _a, _b;
|
|
161
|
-
return (index.h("i", { key: '
|
|
161
|
+
return (index.h("i", { key: '3340b8840c8d749852c69311cf4a28d5bc4c9252', class: index$1.cls("db-tooltip", this.className), role: "tooltip", "aria-hidden": "true", "data-gap": "true", ref: (el) => {
|
|
162
162
|
this._ref = el;
|
|
163
|
-
}, id: this._id, "data-emphasis": this.emphasis, "data-wrap": index$1.getBooleanAsString(this.wrap), "data-animation": index$1.getBooleanAsString((_a = this.animation) !== null && _a !== void 0 ? _a : true), "data-delay": this.delay, "data-width": this.width, "data-show-arrow": index$1.getBooleanAsString((_b = this.showArrow) !== null && _b !== void 0 ? _b : true), "data-placement": this.placement, onClick: (event) => this.handleClick(event) }, index.h("slot", { key: '
|
|
163
|
+
}, id: this._id, "data-emphasis": this.emphasis, "data-wrap": index$1.getBooleanAsString(this.wrap), "data-animation": index$1.getBooleanAsString((_a = this.animation) !== null && _a !== void 0 ? _a : true), "data-delay": this.delay, "data-width": this.width, "data-show-arrow": index$1.getBooleanAsString((_b = this.showArrow) !== null && _b !== void 0 ? _b : true), "data-placement": this.placement, onClick: (event) => this.handleClick(event) }, index.h("slot", { key: 'b20207e24fe5999249505cb8a5543ae853425ae2' })));
|
|
164
164
|
}
|
|
165
165
|
static get watchers() { return {
|
|
166
166
|
"id": [{
|
package/dist/cjs/db-ux.cjs.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-CSMPhlzz.js');
|
|
4
4
|
var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
|
5
5
|
|
|
6
6
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Browser v4.43.
|
|
8
|
+
Stencil Client Patch Browser v4.43.1 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
var patchBrowser = () => {
|
|
@@ -4,22 +4,9 @@ const NAMESPACE = 'db-ux';
|
|
|
4
4
|
const BUILD = /* db-ux */ { hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, shadowDom: false, slotRelocation: true, state: true, updatable: true};
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
|
-
Stencil Client Platform v4.43.
|
|
7
|
+
Stencil Client Platform v4.43.1 | MIT Licensed | https://stenciljs.com
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
// src/utils/get-prop-descriptor.ts
|
|
12
|
-
function getPropertyDescriptor(obj, memberName, getOnly) {
|
|
13
|
-
const stopAt = typeof HTMLElement !== "undefined" ? HTMLElement.prototype : null;
|
|
14
|
-
while (obj && obj !== stopAt) {
|
|
15
|
-
const desc = Object.getOwnPropertyDescriptor(obj, memberName);
|
|
16
|
-
if (desc && (!getOnly || desc.get)) return desc;
|
|
17
|
-
obj = Object.getPrototypeOf(obj);
|
|
18
|
-
}
|
|
19
|
-
return void 0;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
// src/utils/es2022-rewire-class-members.ts
|
|
23
10
|
var reWireGetterSetter = (instance, hostRef) => {
|
|
24
11
|
var _a;
|
|
25
12
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
@@ -27,7 +14,7 @@ var reWireGetterSetter = (instance, hostRef) => {
|
|
|
27
14
|
members.map(([memberName, [memberFlags]]) => {
|
|
28
15
|
if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
|
|
29
16
|
const ogValue = instance[memberName];
|
|
30
|
-
const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName
|
|
17
|
+
const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName) || Object.getOwnPropertyDescriptor(instance, memberName);
|
|
31
18
|
if (ogDescriptor) {
|
|
32
19
|
Object.defineProperty(instance, memberName, {
|
|
33
20
|
get() {
|
|
@@ -40,14 +27,18 @@ var reWireGetterSetter = (instance, hostRef) => {
|
|
|
40
27
|
enumerable: true
|
|
41
28
|
});
|
|
42
29
|
}
|
|
43
|
-
|
|
44
|
-
instance[memberName] = hostRef.$instanceValues$.get(memberName);
|
|
45
|
-
} else if (ogValue !== void 0) {
|
|
46
|
-
instance[memberName] = ogValue;
|
|
47
|
-
}
|
|
30
|
+
instance[memberName] = hostRef.$instanceValues$.has(memberName) ? hostRef.$instanceValues$.get(memberName) : ogValue;
|
|
48
31
|
}
|
|
49
32
|
});
|
|
50
33
|
};
|
|
34
|
+
function getPropertyDescriptor(obj, memberName) {
|
|
35
|
+
while (obj) {
|
|
36
|
+
const desc = Object.getOwnPropertyDescriptor(obj, memberName);
|
|
37
|
+
if (desc == null ? void 0 : desc.get) return desc;
|
|
38
|
+
obj = Object.getPrototypeOf(obj);
|
|
39
|
+
}
|
|
40
|
+
return void 0;
|
|
41
|
+
}
|
|
51
42
|
|
|
52
43
|
// src/client/client-host-ref.ts
|
|
53
44
|
var getHostRef = (ref) => {
|
|
@@ -1377,7 +1368,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1377
1368
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
1378
1369
|
members.map(([memberName, [memberFlags]]) => {
|
|
1379
1370
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
1380
|
-
const { get: origGetter, set: origSetter } =
|
|
1371
|
+
const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
|
|
1381
1372
|
if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
|
|
1382
1373
|
if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
|
|
1383
1374
|
if (flags & 1 /* isElementConstructor */ || !origGetter) {
|
|
@@ -1612,7 +1603,7 @@ var connectedCallback = (elm) => {
|
|
|
1612
1603
|
}
|
|
1613
1604
|
if (cmpMeta.$members$) {
|
|
1614
1605
|
Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
|
|
1615
|
-
if (memberFlags & 31 /* Prop */ && Object.prototype
|
|
1606
|
+
if (memberFlags & 31 /* Prop */ && memberName in elm && elm[memberName] !== Object.prototype[memberName]) {
|
|
1616
1607
|
const value = elm[memberName];
|
|
1617
1608
|
delete elm[memberName];
|
|
1618
1609
|
elm[memberName] = value;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -130,7 +130,7 @@ export class DBAccordion {
|
|
|
130
130
|
}
|
|
131
131
|
render() {
|
|
132
132
|
var _a, _b, _c;
|
|
133
|
-
return (h("ul", { key: '
|
|
133
|
+
return (h("ul", { key: 'ea919e6fa79f820a40ece5ee3305dad84f113d1d', class: cls("db-accordion", this.className), ref: (el) => {
|
|
134
134
|
this._ref = el;
|
|
135
135
|
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-variant": this.variant }, !this.items ? h("slot", null) : null, this.items
|
|
136
136
|
? (_c = this.convertItems()) === null || _c === void 0 ? void 0 : _c.map((item, index) => (h("db-accordion-item", { key: `accordion-item-${index}`, headlinePlain: item.headlinePlain, disabled: item.disabled, text: item.text })))
|
|
@@ -92,9 +92,9 @@ export class DBAccordionItem {
|
|
|
92
92
|
}
|
|
93
93
|
render() {
|
|
94
94
|
var _a, _b;
|
|
95
|
-
return (h("li", { key: '
|
|
95
|
+
return (h("li", { key: 'd326ba8af9e635f673d1016cd16ef9a9a8b1503c', class: cls("db-accordion-item", this.className), id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("details", { key: '6f15470fcdaf103df318c251e941fed9fd79c4ee', "aria-disabled": getBooleanAsString(this.disabled), ref: (el) => {
|
|
96
96
|
this._ref = el;
|
|
97
|
-
}, name: this._name, open: this._open }, h("summary", { key: '
|
|
97
|
+
}, name: this._name, open: this._open }, h("summary", { key: 'db41f2b1f85dfdecf9ab37b35b04efb2e83d69af', onClick: (event) => this.handleToggle(event) }, this.headlinePlain ? this.headlinePlain : null, !this.headlinePlain ? h("slot", { name: "headline" }) : null), h("div", { key: '00a6fed4fdb26de2c998d991a6dfaee6caa3ca92' }, this.text ? this.text : h("slot", null)))));
|
|
98
98
|
}
|
|
99
99
|
static get is() { return "db-accordion-item"; }
|
|
100
100
|
static get properties() {
|
|
@@ -70,7 +70,7 @@ export class DBBadge {
|
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
72
|
var _a, _b, _c, _d;
|
|
73
|
-
return (h("span", { key: '
|
|
73
|
+
return (h("span", { key: '285ff83ac5c79c7e1c6328aba89e1825f57dd78a', class: cls("db-badge", this.className), ref: (el) => {
|
|
74
74
|
this._ref = el;
|
|
75
75
|
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-semantic": this.semantic, "data-size": this.size, "data-emphasis": this.emphasis, "data-placement": this.placement, "data-wrap": getBooleanAsString(this.wrap), "data-label": ((_c = this.placement) === null || _c === void 0 ? void 0 : _c.startsWith("corner")) && ((_d = this.label) !== null && _d !== void 0 ? _d : DEFAULT_LABEL) }, this.text ? this.text : h("slot", null)));
|
|
76
76
|
}
|
|
@@ -47,7 +47,7 @@ export class DBBrand {
|
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
49
|
var _a, _b, _c;
|
|
50
|
-
return (h("div", { key: '
|
|
50
|
+
return (h("div", { key: '2dbff45d3e8c3dbe6f1993c3401a12f15628984d', class: cls("db-brand", this.className), ref: (el) => {
|
|
51
51
|
this._ref = el;
|
|
52
52
|
}, "data-icon": this.hideLogo ? "none" : (_a = this.icon) !== null && _a !== void 0 ? _a : DEFAULT_ICON, "data-show-icon": getBooleanAsString(this.showIcon), id: (_b = this.id) !== null && _b !== void 0 ? _b : (_c = this.propOverrides) === null || _c === void 0 ? void 0 : _c.id }, this.text ? this.text : h("slot", null)));
|
|
53
53
|
}
|
|
@@ -55,7 +55,7 @@ export class DBButton {
|
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
57
|
var _a, _b, _c, _d;
|
|
58
|
-
return (h("button", { key: '
|
|
58
|
+
return (h("button", { key: '8bd02e4a26046fa1b62f26449e961b2ba7edf377', class: cls("db-button", this.className), ref: (el) => {
|
|
59
59
|
this._ref = el;
|
|
60
60
|
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, type: this.getButtonType(), disabled: getBoolean(this.disabled, "disabled"), "data-icon": (_c = this.iconLeading) !== null && _c !== void 0 ? _c : this.icon, "data-show-icon": getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-icon-trailing": this.iconTrailing, "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing), "data-size": this.size, "data-width": this.width, "data-variant": this.variant, "data-wrap": getBooleanAsString(this.wrap), "data-no-text": getBooleanAsString(this.noText), name: this.name, form: this.form, value: this.value }, this.text ? this.text : h("slot", null)));
|
|
61
61
|
}
|
|
@@ -51,9 +51,9 @@ export class DBCard {
|
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
53
|
var _a, _b;
|
|
54
|
-
return (h("div", { key: '
|
|
54
|
+
return (h("div", { key: 'fc177f67efe5de971fcc6eeeb069473788988c1a', class: cls("db-card", this.className), ref: (el) => {
|
|
55
55
|
this._ref = el;
|
|
56
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-behavior": this.behavior, "data-elevation-level": this.elevationLevel, "data-spacing": this.spacing, onClick: (event) => this.handleClick(event) }, h("slot", { key: '
|
|
56
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-behavior": this.behavior, "data-elevation-level": this.elevationLevel, "data-spacing": this.spacing, onClick: (event) => this.handleClick(event) }, h("slot", { key: 'cffa2e7b3427e279ef5ae1b3d00ff923e5c819c6' })));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "db-card"; }
|
|
59
59
|
static get properties() {
|
|
@@ -207,9 +207,9 @@ export class DBCheckbox {
|
|
|
207
207
|
}
|
|
208
208
|
render() {
|
|
209
209
|
var _a;
|
|
210
|
-
return (h("div", { key: '
|
|
210
|
+
return (h("div", { key: '433618f3dbf837b2b8febeb5b3acd77b0cebbc24', class: cls("db-checkbox", this.className), "data-size": this.size, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-hide-label": getHideProp(this.showLabel) }, h("label", { key: '02b767c372314a2dc32b90fec28a0a2d4caa67c1', htmlFor: this._id }, h("input", { key: '1fc78fbb4079f69ed7bde43097ff3125ec67edf9', type: "checkbox", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
|
|
211
211
|
this._ref = el;
|
|
212
|
-
}, id: this._id, name: this.name, checked: getBoolean(this.checked, "checked"), disabled: getBoolean(this.disabled, "disabled"), value: this.value, required: getBoolean(this.required, "required"), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), "aria-describedby": (_a = this.ariaDescribedBy) !== null && _a !== void 0 ? _a : this._descByIds }), this.label ? this.label : h("slot", null)), 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: '
|
|
212
|
+
}, id: this._id, name: this.name, checked: getBoolean(this.checked, "checked"), disabled: getBoolean(this.disabled, "disabled"), value: this.value, required: getBoolean(this.required, "required"), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), "aria-describedby": (_a = this.ariaDescribedBy) !== null && _a !== void 0 ? _a : this._descByIds }), this.label ? this.label : h("slot", null)), 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: '1bc15384adefeb0a9749ebe60ee8e130e9258321', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '9daadc858ce041949b5470e6914c2c22f5a2918e', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
213
213
|
}
|
|
214
214
|
static get is() { return "db-checkbox"; }
|
|
215
215
|
static get properties() {
|
|
@@ -46,9 +46,9 @@ export class DBCustomButton {
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
var _a, _b, _c, _d;
|
|
49
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: 'ee954dad8cd0baff52172a1ec9553c43673d0fa4', class: cls("db-custom-button", this.className), ref: (el) => {
|
|
50
50
|
this._ref = el;
|
|
51
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": (_c = this.iconLeading) !== null && _c !== void 0 ? _c : this.icon, "data-show-icon": getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-icon-trailing": this.iconTrailing, "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing), "data-size": this.size, "data-width": this.width, "data-variant": this.variant, "data-no-text": getBooleanAsString(this.noText) }, h("slot", { key: '
|
|
51
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": (_c = this.iconLeading) !== null && _c !== void 0 ? _c : this.icon, "data-show-icon": getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-icon-trailing": this.iconTrailing, "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing), "data-size": this.size, "data-width": this.width, "data-variant": this.variant, "data-no-text": getBooleanAsString(this.noText) }, h("slot", { key: 'accbe2a436c60ecb945aea8b008453e3a264fd2b' })));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "db-custom-button"; }
|
|
54
54
|
static get properties() {
|
|
@@ -790,19 +790,19 @@ export class DBCustomSelect {
|
|
|
790
790
|
}
|
|
791
791
|
render() {
|
|
792
792
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
793
|
-
return (h("div", { key: '
|
|
793
|
+
return (h("div", { key: '6b471474ff49cc517d9b38563e20c606be62f953', class: cls("db-custom-select", this.className), id: this._id, ref: (el) => {
|
|
794
794
|
this._ref = el;
|
|
795
795
|
}, "aria-invalid": this._validity === "invalid", "data-custom-validity": this._validity, "data-width": this.formFieldWidth, "data-variant": this.variant === "floating" &&
|
|
796
796
|
this.selectedType === "tag" &&
|
|
797
797
|
this.multiple
|
|
798
798
|
? "above"
|
|
799
|
-
: this.variant, "data-required": getBooleanAsString(this.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) }, h("label", { key: '
|
|
799
|
+
: this.variant, "data-required": getBooleanAsString(this.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) }, h("label", { key: '3ef26415dcc096b3e6efe890e524ed246de35572', id: this._labelId }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL, h("select", { key: 'b2f36831945d7207a7b796099d7f3623575c67e0', role: "none", hidden: true, id: this._selectId, tabIndex: -1, ref: (el) => {
|
|
800
800
|
this.selectRef = el;
|
|
801
801
|
}, 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)
|
|
802
802
|
? (_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))))
|
|
803
|
-
: null)), h("details", { key: '
|
|
803
|
+
: null)), h("details", { key: '3eb356e05c4a347920276f91c270ae608c4520ac', ref: (el) => {
|
|
804
804
|
this.detailsRef = el;
|
|
805
|
-
}, open: this.open, onToggle: (event) => this.handleDropdownToggle(event), onKeyDown: (event) => this.handleKeyboardPress(event) }, h("slot", { key: '
|
|
805
|
+
}, open: this.open, onToggle: (event) => this.handleDropdownToggle(event), onKeyDown: (event) => this.handleKeyboardPress(event) }, h("slot", { key: 'c346a6ec5361e4460563a34d3829d80b75430734' }), this.options ? (h(Fragment, null, h("summary", { class: "db-custom-select-form-field", id: this._summaryId, "aria-disabled": getBooleanAsString(this.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"), 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) => {
|
|
806
806
|
this.searchInputRef = el;
|
|
807
807
|
}, 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
|
|
808
808
|
? this._infoTextId
|
|
@@ -812,7 +812,7 @@ export class DBCustomSelect {
|
|
|
812
812
|
this.selectAllRef = el;
|
|
813
813
|
}, 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
|
|
814
814
|
? this.getOptionLabel(option)
|
|
815
|
-
: 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: '
|
|
815
|
+
: 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: '11458df4b503351732e076869349d31904a87a9e', class: "db-custom-select-placeholder", "aria-hidden": getBooleanAsString(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: '02561fdca7f4a4258e10121f3fb15edcdf84e451', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: 'c9bca925e70f1903fc0fe7e1bd411efb349a5f0d', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
816
816
|
}
|
|
817
817
|
static get is() { return "db-custom-select"; }
|
|
818
818
|
static get properties() {
|
|
@@ -49,9 +49,9 @@ export class DBCustomSelectDropdown {
|
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
51
|
var _a, _b;
|
|
52
|
-
return (h("article", { key: '
|
|
52
|
+
return (h("article", { key: '18ea31a3993786aed93fbb95fabc349231b455ae', class: cls("db-custom-select-dropdown db-card", this.className), "data-spacing": "none", ref: (el) => {
|
|
53
53
|
this._ref = el;
|
|
54
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width }, h("slot", { key: '
|
|
54
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width }, h("slot", { key: '14a29534f56e6fe16c6d6e856b26aba549fef8dc' })));
|
|
55
55
|
}
|
|
56
56
|
static get is() { return "db-custom-select-dropdown"; }
|
|
57
57
|
static get properties() {
|
|
@@ -46,9 +46,9 @@ export class DBCustomSelectFormField {
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
var _a, _b;
|
|
49
|
-
return (h("summary", { key: '
|
|
49
|
+
return (h("summary", { key: '6bd88cd88890b6c4fd6fc231dbce401ae0a1b72e', class: cls("db-custom-select-form-field", this.className), ref: (el) => {
|
|
50
50
|
this._ref = el;
|
|
51
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("slot", { key: '
|
|
51
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("slot", { key: '3cf997efe556cbf62f590adad219b60459549cc8' })));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "db-custom-select-form-field"; }
|
|
54
54
|
static get properties() {
|
|
@@ -46,9 +46,9 @@ export class DBCustomSelectList {
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
var _a, _b;
|
|
49
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: '7694da5a9c97c4f603217d79afd88afe63719db8', class: cls("db-custom-select-list", this.className), role: this.multiple ? "group" : "radiogroup", "aria-label": this.label, ref: (el) => {
|
|
50
50
|
this._ref = el;
|
|
51
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("ul", { key: '
|
|
51
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("ul", { key: '5c718c452425cfec8a6234d5ae2cf6aef7ed4655' }, h("slot", { key: '93b311c5a750a9ec2b0cb9ab4f7453aa25cc77d8' }))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "db-custom-select-list"; }
|
|
54
54
|
static get properties() {
|
|
@@ -68,7 +68,7 @@ export class DBCustomSelectListItem {
|
|
|
68
68
|
}
|
|
69
69
|
render() {
|
|
70
70
|
var _a, _b;
|
|
71
|
-
return (h("li", { key: '
|
|
71
|
+
return (h("li", { key: '40ae5213dd63ce580e2a036e5bf4781065026a30', class: cls("db-custom-select-list-item", this.className, {
|
|
72
72
|
"db-checkbox": this.type === "checkbox" && !this.isGroupTitle,
|
|
73
73
|
"db-radio": this.type !== "checkbox" && !this.isGroupTitle,
|
|
74
74
|
}), ref: (el) => {
|
|
@@ -46,7 +46,7 @@ export class DBDivider {
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
var _a, _b;
|
|
49
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: '6085ef73845be698561795af1a69cee864b31b7d', class: cls("db-divider", this.className), ref: (el) => {
|
|
50
50
|
this._ref = el;
|
|
51
51
|
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-margin": this.margin, "data-variant": this.variant, "data-emphasis": this.emphasis, "data-width": this.width }));
|
|
52
52
|
}
|