@db-ux/wc-core-components 4.4.3 → 4.5.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 +24 -0
- package/agent/.gitkeep +0 -0
- package/dist/cjs/db-accordion-item.cjs.entry.js +5 -4
- package/dist/cjs/db-accordion.cjs.entry.js +6 -6
- package/dist/cjs/db-badge.cjs.entry.js +5 -5
- package/dist/cjs/db-brand.cjs.entry.js +5 -5
- package/dist/cjs/db-button.cjs.entry.js +5 -5
- package/dist/cjs/db-card.cjs.entry.js +5 -4
- package/dist/cjs/db-checkbox.cjs.entry.js +53 -34
- package/dist/cjs/db-custom-button.cjs.entry.js +57 -0
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +59 -37
- package/dist/cjs/db-custom-select-form-field.cjs.entry.js +5 -4
- package/dist/cjs/db-custom-select.cjs.entry.js +132 -109
- package/dist/cjs/db-divider.cjs.entry.js +5 -4
- package/dist/cjs/db-drawer.cjs.entry.js +6 -6
- package/dist/cjs/db-header.cjs.entry.js +7 -7
- package/dist/cjs/db-icon.cjs.entry.js +5 -4
- package/dist/cjs/db-infotext.cjs.entry.js +5 -5
- package/dist/cjs/db-link.cjs.entry.js +5 -5
- package/dist/cjs/db-navigation-item.cjs.entry.js +7 -7
- package/dist/cjs/db-navigation.cjs.entry.js +5 -4
- package/dist/cjs/db-notification.cjs.entry.js +6 -6
- package/dist/cjs/db-page.cjs.entry.js +5 -4
- package/dist/cjs/db-popover.cjs.entry.js +7 -7
- package/dist/cjs/db-radio.cjs.entry.js +33 -14
- package/dist/cjs/db-section.cjs.entry.js +5 -4
- package/dist/cjs/db-select.cjs.entry.js +48 -29
- package/dist/cjs/db-stack.cjs.entry.js +5 -4
- package/dist/cjs/db-switch.cjs.entry.js +58 -22
- package/dist/cjs/db-tab-item_3.cjs.entry.js +11 -9
- package/dist/cjs/db-tabs.cjs.entry.js +6 -6
- package/dist/cjs/db-textarea.cjs.entry.js +46 -27
- package/dist/cjs/db-tooltip.cjs.entry.js +17 -9
- package/dist/cjs/db-ux.cjs.js +3 -3
- package/dist/cjs/{document-click-listener-Bb3Tinb8.js → document-click-listener-B2-xKJv3.js} +1 -1
- package/dist/cjs/{document-scroll-listener-unypEU42.js → document-scroll-listener-ChQ7XZRk.js} +1 -1
- package/dist/cjs/{floating-components-pYaTeNhp.js → floating-components-DlstoCKH.js} +4 -0
- package/dist/cjs/{form-components-LsqVohyb.js → form-components-_ncB_U2D.js} +1 -1
- package/dist/cjs/{index-CsHqnQII.js → index-2_9ESkQu.js} +6 -7
- package/dist/cjs/{index-Bh5ovRL2.js → index-D_vrmAD6.js} +23 -14
- package/dist/cjs/index.cjs.js +5 -5
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{navigation-BztJmEHf.js → navigation-Bah882nU.js} +1 -1
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/accordion/accordion.js +28 -4
- package/dist/collection/components/accordion-item/accordion-item.js +27 -2
- package/dist/collection/components/badge/badge.js +54 -4
- package/dist/collection/components/brand/brand.js +27 -3
- package/dist/collection/components/button/button.js +53 -3
- package/dist/collection/components/card/card.js +27 -2
- package/dist/collection/components/checkbox/checkbox.js +81 -38
- package/dist/collection/components/custom-button/custom-button.js +394 -0
- package/dist/collection/components/custom-button/index.js +2 -0
- package/dist/collection/components/custom-button/model.js +1 -0
- package/dist/collection/components/custom-select/custom-select.js +156 -109
- package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +27 -2
- package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +27 -2
- package/dist/collection/components/custom-select-list/custom-select-list.js +27 -2
- package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +27 -2
- package/dist/collection/components/divider/divider.js +27 -2
- package/dist/collection/components/drawer/drawer.js +28 -4
- package/dist/collection/components/header/header.js +27 -3
- package/dist/collection/components/icon/icon.js +27 -2
- package/dist/collection/components/infotext/infotext.js +53 -3
- package/dist/collection/components/input/input.js +74 -31
- package/dist/collection/components/link/link.js +27 -3
- package/dist/collection/components/navigation/navigation.js +27 -2
- package/dist/collection/components/navigation-item/navigation-item.js +27 -3
- package/dist/collection/components/notification/notification.js +28 -4
- package/dist/collection/components/page/page.js +27 -2
- package/dist/collection/components/popover/popover.js +27 -3
- package/dist/collection/components/radio/radio.js +54 -11
- package/dist/collection/components/section/section.js +27 -2
- package/dist/collection/components/select/select.js +75 -32
- package/dist/collection/components/stack/stack.js +27 -2
- package/dist/collection/components/switch/switch.js +107 -45
- package/dist/collection/components/tab-item/tab-item.js +27 -3
- package/dist/collection/components/tab-list/tab-list.js +27 -2
- package/dist/collection/components/tab-panel/tab-panel.js +27 -2
- package/dist/collection/components/tabs/tabs.js +28 -4
- package/dist/collection/components/tag/tag.js +27 -3
- package/dist/collection/components/textarea/textarea.js +73 -30
- package/dist/collection/components/tooltip/tooltip.js +63 -5
- package/dist/collection/index.js +2 -0
- package/dist/collection/utils/floating-components.js +4 -0
- package/dist/collection/utils/index.js +6 -7
- package/dist/custom-elements.json +3692 -1698
- package/dist/db-ux/db-ux.esm.js +1 -1
- package/dist/db-ux/index.esm.js +1 -1
- package/dist/db-ux/p-043c407c.entry.js +1 -0
- package/dist/db-ux/p-0541c3c2.entry.js +1 -0
- package/dist/db-ux/p-074e4a43.entry.js +1 -0
- package/dist/db-ux/p-11251b99.entry.js +1 -0
- package/dist/db-ux/p-1c89f0fc.entry.js +1 -0
- package/dist/db-ux/p-213bfff6.entry.js +1 -0
- package/dist/db-ux/p-29442fd9.entry.js +1 -0
- package/dist/db-ux/p-2bce91e1.entry.js +1 -0
- package/dist/db-ux/p-32c4a1b5.entry.js +1 -0
- package/dist/db-ux/p-3e5be44c.entry.js +1 -0
- package/dist/db-ux/p-4cda36f1.entry.js +1 -0
- package/dist/db-ux/p-4cf64cbb.entry.js +1 -0
- package/dist/db-ux/p-5028b12e.entry.js +1 -0
- package/dist/db-ux/{p-b07122c4.entry.js → p-56af9177.entry.js} +1 -1
- package/dist/db-ux/{p-64264628.entry.js → p-587263ad.entry.js} +1 -1
- package/dist/db-ux/p-58f21c03.entry.js +1 -0
- package/dist/db-ux/{p-77150a25.entry.js → p-6b073570.entry.js} +1 -1
- package/dist/db-ux/p-745ccfb8.entry.js +1 -0
- package/dist/db-ux/p-836f0fef.entry.js +1 -0
- package/dist/db-ux/p-9a19e197.entry.js +1 -0
- package/dist/db-ux/p-9fb146d1.entry.js +1 -0
- package/dist/db-ux/p-BjIPMjCM.js +2 -0
- package/dist/db-ux/{p-cNk4ImpW.js → p-BuBrj57D.js} +1 -1
- package/dist/db-ux/p-CHLgQ9vn.js +1 -0
- package/dist/db-ux/{p-CAEpg8tJ.js → p-D5mInaY7.js} +1 -1
- package/dist/db-ux/p-DOPXnIzL.js +1 -0
- package/dist/db-ux/p-D_roHmuC.js +1 -0
- package/dist/db-ux/p-a34d2691.entry.js +1 -0
- package/dist/db-ux/p-c6f43506.entry.js +1 -0
- package/dist/db-ux/p-cdfaf027.entry.js +1 -0
- package/dist/db-ux/p-d186aef4.entry.js +1 -0
- package/dist/db-ux/p-dceb35a8.entry.js +1 -0
- package/dist/db-ux/p-e199b6f9.entry.js +1 -0
- package/dist/db-ux/p-e3664354.entry.js +1 -0
- package/dist/db-ux/p-ef034bba.entry.js +1 -0
- package/dist/db-ux/p-f0bc176a.entry.js +1 -0
- package/dist/db-ux/p-ff3866f3.entry.js +1 -0
- package/dist/db-ux/p-xkoBSP8R.js +1 -0
- package/dist/esm/db-accordion-item.entry.js +5 -4
- package/dist/esm/db-accordion.entry.js +6 -6
- package/dist/esm/db-badge.entry.js +5 -5
- package/dist/esm/db-brand.entry.js +5 -5
- package/dist/esm/db-button.entry.js +5 -5
- package/dist/esm/db-card.entry.js +5 -4
- package/dist/esm/db-checkbox.entry.js +54 -35
- package/dist/esm/db-custom-button.entry.js +55 -0
- package/dist/esm/db-custom-select-dropdown_5.entry.js +60 -38
- package/dist/esm/db-custom-select-form-field.entry.js +5 -4
- package/dist/esm/db-custom-select.entry.js +133 -110
- package/dist/esm/db-divider.entry.js +5 -4
- package/dist/esm/db-drawer.entry.js +6 -6
- package/dist/esm/db-header.entry.js +7 -7
- package/dist/esm/db-icon.entry.js +5 -4
- package/dist/esm/db-infotext.entry.js +5 -5
- package/dist/esm/db-link.entry.js +5 -5
- package/dist/esm/db-navigation-item.entry.js +7 -7
- package/dist/esm/db-navigation.entry.js +5 -4
- package/dist/esm/db-notification.entry.js +6 -6
- package/dist/esm/db-page.entry.js +5 -4
- package/dist/esm/db-popover.entry.js +7 -7
- package/dist/esm/db-radio.entry.js +33 -14
- package/dist/esm/db-section.entry.js +5 -4
- package/dist/esm/db-select.entry.js +49 -30
- package/dist/esm/db-stack.entry.js +5 -4
- package/dist/esm/db-switch.entry.js +58 -22
- package/dist/esm/db-tab-item_3.entry.js +11 -9
- package/dist/esm/db-tabs.entry.js +6 -6
- package/dist/esm/db-textarea.entry.js +47 -28
- package/dist/esm/db-tooltip.entry.js +17 -9
- package/dist/esm/db-ux.js +4 -4
- package/dist/esm/{document-click-listener-CmYoXpGE.js → document-click-listener-D7W_VE5O.js} +1 -1
- package/dist/esm/{document-scroll-listener-65bHuFAN.js → document-scroll-listener-DOBe3Oa9.js} +1 -1
- package/dist/esm/{floating-components-DfYL98sI.js → floating-components-DOPXnIzL.js} +4 -0
- package/dist/esm/{form-components-BLsiOrPI.js → form-components-D6LQfJvq.js} +1 -1
- package/dist/esm/{index-Crtu1dn6.js → index-BjIPMjCM.js} +23 -14
- package/dist/esm/{index-C4x0SOcx.js → index-xkoBSP8R.js} +6 -7
- package/dist/esm/index.js +5 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{navigation-DgsMCdfn.js → navigation-Jh6m0eMk.js} +1 -1
- package/dist/types/components/accordion/accordion.d.ts +1 -0
- package/dist/types/components/accordion-item/accordion-item.d.ts +1 -0
- package/dist/types/components/badge/badge.d.ts +2 -0
- package/dist/types/components/badge/model.d.ts +2 -2
- package/dist/types/components/brand/brand.d.ts +1 -0
- package/dist/types/components/button/button.d.ts +2 -0
- package/dist/types/components/button/model.d.ts +8 -10
- package/dist/types/components/card/card.d.ts +1 -0
- package/dist/types/components/checkbox/checkbox.d.ts +5 -1
- package/dist/types/components/custom-button/custom-button.d.ts +29 -0
- package/dist/types/components/custom-button/index.d.ts +2 -0
- package/dist/types/components/custom-button/model.d.ts +6 -0
- package/dist/types/components/custom-select/custom-select.d.ts +5 -1
- package/dist/types/components/custom-select-dropdown/custom-select-dropdown.d.ts +1 -0
- package/dist/types/components/custom-select-form-field/custom-select-form-field.d.ts +1 -0
- package/dist/types/components/custom-select-list/custom-select-list.d.ts +1 -0
- package/dist/types/components/custom-select-list-item/custom-select-list-item.d.ts +1 -0
- package/dist/types/components/divider/divider.d.ts +1 -0
- package/dist/types/components/drawer/drawer.d.ts +1 -0
- package/dist/types/components/header/header.d.ts +1 -0
- package/dist/types/components/icon/icon.d.ts +1 -0
- package/dist/types/components/infotext/infotext.d.ts +2 -0
- package/dist/types/components/infotext/model.d.ts +2 -2
- package/dist/types/components/input/input.d.ts +5 -1
- package/dist/types/components/link/link.d.ts +1 -0
- package/dist/types/components/navigation/navigation.d.ts +1 -0
- package/dist/types/components/navigation-item/navigation-item.d.ts +1 -0
- package/dist/types/components/notification/model.d.ts +2 -2
- package/dist/types/components/notification/notification.d.ts +1 -0
- package/dist/types/components/page/page.d.ts +1 -0
- package/dist/types/components/popover/popover.d.ts +1 -0
- package/dist/types/components/radio/radio.d.ts +4 -0
- package/dist/types/components/section/section.d.ts +1 -0
- package/dist/types/components/select/select.d.ts +5 -1
- package/dist/types/components/stack/stack.d.ts +1 -0
- package/dist/types/components/switch/switch.d.ts +7 -1
- package/dist/types/components/tab-item/tab-item.d.ts +1 -0
- package/dist/types/components/tab-list/tab-list.d.ts +1 -0
- package/dist/types/components/tab-panel/tab-panel.d.ts +1 -0
- package/dist/types/components/tabs/tabs.d.ts +1 -0
- package/dist/types/components/tag/model.d.ts +2 -6
- package/dist/types/components/tag/tag.d.ts +1 -0
- package/dist/types/components/textarea/textarea.d.ts +5 -1
- package/dist/types/components/tooltip/model.d.ts +3 -3
- package/dist/types/components/tooltip/tooltip.d.ts +3 -0
- package/dist/types/components.d.ts +145 -6
- package/dist/types/index.d.ts +2 -0
- package/dist/types/shared/model.d.ts +15 -1
- package/dist/types/stencil-public-runtime.d.ts +3 -1
- package/dist/vscode.html-custom-data.json +397 -85
- package/dist/web-types.json +730 -153
- package/package.json +4 -4
- package/agent/Accordion.md +0 -23
- package/agent/AccordionItem.md +0 -29
- package/agent/Badge.md +0 -32
- package/agent/Brand.md +0 -13
- package/agent/Button.md +0 -47
- package/agent/Card.md +0 -23
- package/agent/Checkbox.md +0 -41
- package/agent/CustomSelect.md +0 -54
- package/agent/Divider.md +0 -21
- package/agent/Drawer.md +0 -71
- package/agent/Header.md +0 -29
- package/agent/Icon.md +0 -20
- package/agent/Infotext.md +0 -25
- package/agent/Input.md +0 -48
- package/agent/Link.md +0 -52
- package/agent/Navigation.md +0 -19
- package/agent/NavigationItem.md +0 -29
- package/agent/Notification.md +0 -38
- package/agent/Page.md +0 -27
- package/agent/Popover.md +0 -52
- package/agent/Radio.md +0 -28
- package/agent/Section.md +0 -21
- package/agent/Select.md +0 -62
- package/agent/Stack.md +0 -35
- package/agent/Switch.md +0 -44
- package/agent/TabItem.md +0 -25
- package/agent/Tabs.md +0 -61
- package/agent/Tag.md +0 -41
- package/agent/Textarea.md +0 -44
- package/agent/Tooltip.md +0 -37
- package/agent/_instructions.md +0 -31
- package/dist/db-ux/p-1a72176e.entry.js +0 -1
- package/dist/db-ux/p-1b7f6a0b.entry.js +0 -1
- package/dist/db-ux/p-1da21066.entry.js +0 -1
- package/dist/db-ux/p-2d15e200.entry.js +0 -1
- package/dist/db-ux/p-312d52da.entry.js +0 -1
- package/dist/db-ux/p-3e6b86d6.entry.js +0 -1
- package/dist/db-ux/p-4aa16916.entry.js +0 -1
- package/dist/db-ux/p-4b69acea.entry.js +0 -1
- package/dist/db-ux/p-4cfff250.entry.js +0 -1
- package/dist/db-ux/p-5237e5d5.entry.js +0 -1
- package/dist/db-ux/p-5b1a0f0f.entry.js +0 -1
- package/dist/db-ux/p-5fa85b19.entry.js +0 -1
- package/dist/db-ux/p-7351b5ab.entry.js +0 -1
- package/dist/db-ux/p-7c6b7578.entry.js +0 -1
- package/dist/db-ux/p-828a77d8.entry.js +0 -1
- package/dist/db-ux/p-9b47dc80.entry.js +0 -1
- package/dist/db-ux/p-BhXdfCpU.js +0 -1
- package/dist/db-ux/p-C4x0SOcx.js +0 -1
- package/dist/db-ux/p-Crtu1dn6.js +0 -2
- package/dist/db-ux/p-DfYL98sI.js +0 -1
- package/dist/db-ux/p-RHqkTr-_.js +0 -1
- package/dist/db-ux/p-a3a8ce36.entry.js +0 -1
- package/dist/db-ux/p-aa0f7280.entry.js +0 -1
- package/dist/db-ux/p-b1fc0f4c.entry.js +0 -1
- package/dist/db-ux/p-c2624e1b.entry.js +0 -1
- package/dist/db-ux/p-c29d8e32.entry.js +0 -1
- package/dist/db-ux/p-cf50169a.entry.js +0 -1
- package/dist/db-ux/p-d4f3cfa2.entry.js +0 -1
- package/dist/db-ux/p-e05fee5a.entry.js +0 -1
- package/dist/db-ux/p-f40d2d61.entry.js +0 -1
- package/dist/db-ux/p-fcf8e274.entry.js +0 -1
- package/dist/db-ux/p-fe06f815.entry.js +0 -1
|
@@ -45,9 +45,10 @@ export class DBStack {
|
|
|
45
45
|
this.enableAttributePassing(this._ref, "db-stack");
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
|
|
48
|
+
var _a, _b;
|
|
49
|
+
return (h("div", { key: 'e8a95918ab5412c03412b92adb3f2a2d5979d492', class: cls("db-stack", this.className), ref: (el) => {
|
|
49
50
|
this._ref = el;
|
|
50
|
-
}, id: this.id, "data-gap": this.gap, "data-variant": this.variant, "data-direction": this.direction, "data-alignment": this.alignment, "data-justify-content": this.justifyContent, "data-wrap": getBooleanAsString(this.wrap) }, 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-gap": this.gap, "data-variant": this.variant, "data-direction": this.direction, "data-alignment": this.alignment, "data-justify-content": this.justifyContent, "data-wrap": getBooleanAsString(this.wrap) }, h("slot", { key: 'b95b19d6ff1a61f416eadfb14d9e19647e4f6cb4' })));
|
|
51
52
|
}
|
|
52
53
|
static get is() { return "db-stack"; }
|
|
53
54
|
static get properties() {
|
|
@@ -78,6 +79,30 @@ export class DBStack {
|
|
|
78
79
|
"reflect": false,
|
|
79
80
|
"attribute": "id"
|
|
80
81
|
},
|
|
82
|
+
"propOverrides": {
|
|
83
|
+
"type": "unknown",
|
|
84
|
+
"mutable": false,
|
|
85
|
+
"complexType": {
|
|
86
|
+
"original": "DBStackProps[\"propOverrides\"]",
|
|
87
|
+
"resolved": "{ id?: string; }",
|
|
88
|
+
"references": {
|
|
89
|
+
"DBStackProps": {
|
|
90
|
+
"location": "import",
|
|
91
|
+
"path": "./model",
|
|
92
|
+
"id": "src/components/stack/model.ts::DBStackProps",
|
|
93
|
+
"referenceLocation": "DBStackProps"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"required": false,
|
|
98
|
+
"optional": false,
|
|
99
|
+
"docs": {
|
|
100
|
+
"tags": [],
|
|
101
|
+
"text": ""
|
|
102
|
+
},
|
|
103
|
+
"getter": false,
|
|
104
|
+
"setter": false
|
|
105
|
+
},
|
|
81
106
|
"className": {
|
|
82
107
|
"type": "string",
|
|
83
108
|
"mutable": false,
|
|
@@ -81,6 +81,14 @@ export class DBSwitch {
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
+
resetIds() {
|
|
85
|
+
var _a, _b, _c;
|
|
86
|
+
const mId = (_c = (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id) !== null && _c !== void 0 ? _c : `switch-${uuid()}`;
|
|
87
|
+
this._id = mId;
|
|
88
|
+
this._messageId = `${mId}${DEFAULT_MESSAGE_ID_SUFFIX}`;
|
|
89
|
+
this._validMessageId = `${mId}${DEFAULT_VALID_MESSAGE_ID_SUFFIX}`;
|
|
90
|
+
this._invalidMessageId = `${mId}${DEFAULT_INVALID_MESSAGE_ID_SUFFIX}`;
|
|
91
|
+
}
|
|
84
92
|
/**
|
|
85
93
|
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
86
94
|
* @param element the ref for the component
|
|
@@ -118,12 +126,31 @@ export class DBSwitch {
|
|
|
118
126
|
}
|
|
119
127
|
}
|
|
120
128
|
watch0Fn() {
|
|
121
|
-
|
|
129
|
+
var _a, _b;
|
|
130
|
+
if ((_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id) {
|
|
131
|
+
this.resetIds();
|
|
132
|
+
}
|
|
122
133
|
}
|
|
123
134
|
watch0() {
|
|
124
135
|
this.watch0Fn();
|
|
125
136
|
}
|
|
126
137
|
watch1Fn() {
|
|
138
|
+
this.handleValidation();
|
|
139
|
+
}
|
|
140
|
+
watch1() {
|
|
141
|
+
this.watch1Fn();
|
|
142
|
+
}
|
|
143
|
+
watch2Fn() {
|
|
144
|
+
var _a;
|
|
145
|
+
this._invalidMessage =
|
|
146
|
+
this.invalidMessage ||
|
|
147
|
+
((_a = this._ref) === null || _a === void 0 ? void 0 : _a.validationMessage) ||
|
|
148
|
+
DEFAULT_INVALID_MESSAGE;
|
|
149
|
+
}
|
|
150
|
+
watch2() {
|
|
151
|
+
this.watch2Fn();
|
|
152
|
+
}
|
|
153
|
+
watch3Fn() {
|
|
127
154
|
if (this._ref) {
|
|
128
155
|
const defaultChecked = undefined;
|
|
129
156
|
let controller = this.abortController;
|
|
@@ -139,33 +166,58 @@ export class DBSwitch {
|
|
|
139
166
|
}, controller.signal);
|
|
140
167
|
}
|
|
141
168
|
}
|
|
142
|
-
|
|
143
|
-
this.
|
|
169
|
+
watch3() {
|
|
170
|
+
this.watch3Fn();
|
|
144
171
|
}
|
|
145
172
|
componentDidLoad() {
|
|
146
|
-
var _a;
|
|
147
173
|
this.enableAttributePassing(this._ref, "db-switch");
|
|
148
|
-
this.
|
|
149
|
-
this._messageId = `${this._id}${DEFAULT_MESSAGE_ID_SUFFIX}`;
|
|
150
|
-
this._validMessageId = `${this._id}${DEFAULT_VALID_MESSAGE_ID_SUFFIX}`;
|
|
151
|
-
this._invalidMessageId = `${this._id}${DEFAULT_INVALID_MESSAGE_ID_SUFFIX}`;
|
|
174
|
+
this.resetIds();
|
|
152
175
|
this.handleValidation();
|
|
176
|
+
this._invalidMessage = this.invalidMessage || DEFAULT_INVALID_MESSAGE;
|
|
153
177
|
this.watch0Fn();
|
|
154
178
|
this.watch1Fn();
|
|
179
|
+
this.watch2Fn();
|
|
180
|
+
this.watch3Fn();
|
|
155
181
|
}
|
|
156
182
|
disconnectedCallback() {
|
|
157
183
|
var _a;
|
|
158
184
|
(_a = this.abortController) === null || _a === void 0 ? void 0 : _a.abort();
|
|
159
185
|
}
|
|
160
186
|
render() {
|
|
161
|
-
var _a, _b
|
|
162
|
-
return (h("div", { key: '
|
|
187
|
+
var _a, _b;
|
|
188
|
+
return (h("div", { key: '66c2badcfc403e68d44d93cd1a79d087b212bbd6', class: cls("db-switch", this.className), "data-visual-aid": getBooleanAsString(this.visualAid), "data-size": this.size, "data-hide-label": getHideProp(this.showLabel), "data-variant": this.variant, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-custom-validity": this.validation }, h("label", { key: 'c22fc86dd012f6de327f861cca3c1b4ab4f3605d', htmlFor: this._id }, h("input", { key: '3d1532eee9a137f2a1db1ba1574856ecc61833d8', type: "checkbox", role: "switch", id: this._id, ref: (el) => {
|
|
163
189
|
this._ref = el;
|
|
164
|
-
}, checked: getBoolean(this.checked, "checked"), value: this.value, disabled: getBoolean(this.disabled, "disabled"), "aria-invalid": this.validation === "invalid" ? "true" : undefined, "aria-describedby": this._descByIds, name: this.name, required: 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 : h("slot", null)), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", semantic: "adaptive", id: this._messageId, icon: this.messageIcon }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, (_b = this.validMessage) !== null && _b !== void 0 ? _b : DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '
|
|
190
|
+
}, checked: getBoolean(this.checked, "checked"), value: this.value, disabled: getBoolean(this.disabled, "disabled"), "aria-invalid": this.validation === "invalid" ? "true" : undefined, "aria-describedby": this._descByIds, name: this.name, required: 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 : h("slot", null)), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", semantic: "adaptive", id: this._messageId, icon: this.messageIcon }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, (_b = this.validMessage) !== null && _b !== void 0 ? _b : DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: 'd24f80874212a9a9669d5731d9e5b6f4f3be6001', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: 'cb3420bd986f1398094fbac151d27a5c2f392d7d', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
165
191
|
}
|
|
166
192
|
static get is() { return "db-switch"; }
|
|
167
193
|
static get properties() {
|
|
168
194
|
return {
|
|
195
|
+
"invalidMessage": {
|
|
196
|
+
"type": "string",
|
|
197
|
+
"mutable": false,
|
|
198
|
+
"complexType": {
|
|
199
|
+
"original": "DBSwitchProps[\"invalidMessage\"]",
|
|
200
|
+
"resolved": "string",
|
|
201
|
+
"references": {
|
|
202
|
+
"DBSwitchProps": {
|
|
203
|
+
"location": "import",
|
|
204
|
+
"path": "./model",
|
|
205
|
+
"id": "src/components/switch/model.ts::DBSwitchProps",
|
|
206
|
+
"referenceLocation": "DBSwitchProps"
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"required": false,
|
|
211
|
+
"optional": false,
|
|
212
|
+
"docs": {
|
|
213
|
+
"tags": [],
|
|
214
|
+
"text": ""
|
|
215
|
+
},
|
|
216
|
+
"getter": false,
|
|
217
|
+
"setter": false,
|
|
218
|
+
"reflect": false,
|
|
219
|
+
"attribute": "invalid-message"
|
|
220
|
+
},
|
|
169
221
|
"id": {
|
|
170
222
|
"type": "string",
|
|
171
223
|
"mutable": false,
|
|
@@ -192,6 +244,30 @@ export class DBSwitch {
|
|
|
192
244
|
"reflect": false,
|
|
193
245
|
"attribute": "id"
|
|
194
246
|
},
|
|
247
|
+
"propOverrides": {
|
|
248
|
+
"type": "unknown",
|
|
249
|
+
"mutable": false,
|
|
250
|
+
"complexType": {
|
|
251
|
+
"original": "DBSwitchProps[\"propOverrides\"]",
|
|
252
|
+
"resolved": "{ id?: string; }",
|
|
253
|
+
"references": {
|
|
254
|
+
"DBSwitchProps": {
|
|
255
|
+
"location": "import",
|
|
256
|
+
"path": "./model",
|
|
257
|
+
"id": "src/components/switch/model.ts::DBSwitchProps",
|
|
258
|
+
"referenceLocation": "DBSwitchProps"
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
"required": false,
|
|
263
|
+
"optional": false,
|
|
264
|
+
"docs": {
|
|
265
|
+
"tags": [],
|
|
266
|
+
"text": ""
|
|
267
|
+
},
|
|
268
|
+
"getter": false,
|
|
269
|
+
"setter": false
|
|
270
|
+
},
|
|
195
271
|
"validation": {
|
|
196
272
|
"type": "string",
|
|
197
273
|
"mutable": false,
|
|
@@ -322,32 +398,6 @@ export class DBSwitch {
|
|
|
322
398
|
"reflect": false,
|
|
323
399
|
"attribute": "valid-message"
|
|
324
400
|
},
|
|
325
|
-
"invalidMessage": {
|
|
326
|
-
"type": "string",
|
|
327
|
-
"mutable": false,
|
|
328
|
-
"complexType": {
|
|
329
|
-
"original": "DBSwitchProps[\"invalidMessage\"]",
|
|
330
|
-
"resolved": "string",
|
|
331
|
-
"references": {
|
|
332
|
-
"DBSwitchProps": {
|
|
333
|
-
"location": "import",
|
|
334
|
-
"path": "./model",
|
|
335
|
-
"id": "src/components/switch/model.ts::DBSwitchProps",
|
|
336
|
-
"referenceLocation": "DBSwitchProps"
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
},
|
|
340
|
-
"required": false,
|
|
341
|
-
"optional": false,
|
|
342
|
-
"docs": {
|
|
343
|
-
"tags": [],
|
|
344
|
-
"text": ""
|
|
345
|
-
},
|
|
346
|
-
"getter": false,
|
|
347
|
-
"setter": false,
|
|
348
|
-
"reflect": false,
|
|
349
|
-
"attribute": "invalid-message"
|
|
350
|
-
},
|
|
351
401
|
"checked": {
|
|
352
402
|
"type": "any",
|
|
353
403
|
"mutable": false,
|
|
@@ -802,29 +852,41 @@ export class DBSwitch {
|
|
|
802
852
|
}
|
|
803
853
|
static get watchers() {
|
|
804
854
|
return [{
|
|
805
|
-
"propName": "
|
|
855
|
+
"propName": "id",
|
|
806
856
|
"methodName": "watch0"
|
|
807
857
|
}, {
|
|
808
|
-
"propName": "
|
|
858
|
+
"propName": "propOverrides?.id",
|
|
809
859
|
"methodName": "watch0"
|
|
860
|
+
}, {
|
|
861
|
+
"propName": "validation",
|
|
862
|
+
"methodName": "watch1"
|
|
863
|
+
}, {
|
|
864
|
+
"propName": "required",
|
|
865
|
+
"methodName": "watch1"
|
|
810
866
|
}, {
|
|
811
867
|
"propName": "message",
|
|
812
|
-
"methodName": "
|
|
868
|
+
"methodName": "watch1"
|
|
813
869
|
}, {
|
|
814
870
|
"propName": "showMessage",
|
|
815
|
-
"methodName": "
|
|
871
|
+
"methodName": "watch1"
|
|
816
872
|
}, {
|
|
817
873
|
"propName": "validMessage",
|
|
818
|
-
"methodName": "
|
|
874
|
+
"methodName": "watch1"
|
|
819
875
|
}, {
|
|
820
876
|
"propName": "invalidMessage",
|
|
821
|
-
"methodName": "
|
|
877
|
+
"methodName": "watch1"
|
|
822
878
|
}, {
|
|
823
879
|
"propName": "checked",
|
|
824
|
-
"methodName": "
|
|
880
|
+
"methodName": "watch1"
|
|
825
881
|
}, {
|
|
826
882
|
"propName": "_ref",
|
|
827
|
-
"methodName": "
|
|
883
|
+
"methodName": "watch2"
|
|
884
|
+
}, {
|
|
885
|
+
"propName": "invalidMessage",
|
|
886
|
+
"methodName": "watch2"
|
|
887
|
+
}, {
|
|
888
|
+
"propName": "_ref",
|
|
889
|
+
"methodName": "watch3"
|
|
828
890
|
}];
|
|
829
891
|
}
|
|
830
892
|
}
|
|
@@ -112,10 +112,10 @@ export class DBTabItem {
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
render() {
|
|
115
|
-
var _a, _b;
|
|
116
|
-
return (h("li", { key: '
|
|
115
|
+
var _a, _b, _c, _d, _e, _f;
|
|
116
|
+
return (h("li", { key: '0b8687c942d18b49bdf25249be3f0ae1ca727256', class: cls("db-tab-item", this.className), role: "none" }, h("label", { key: 'b9eaa4d53de58d78d7f968d18b021c9cfe013502', 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": getBooleanAsString((_d = this.showIconLeading) !== null && _d !== void 0 ? _d : this.showIcon), "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing), "data-no-text": getBooleanAsString(this.noText) }, h("input", { key: '81cf38a1a39e88fc85282e8b82d43768ce6f70a4', type: "radio", role: "tab", disabled: getBoolean(this.disabled, "disabled"), "aria-selected": this._selected, checked: getBoolean(this.checked, "checked"), ref: (el) => {
|
|
117
117
|
this._ref = el;
|
|
118
|
-
}, name: this._name, id: this.id, onInput: (event) => this.handleChange(event) }), this.label ? this.label : null, h("slot", { key: '
|
|
118
|
+
}, 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, h("slot", { key: '89a4ba46af36e8dcc3bc53f87d17977c5827cd12' }))));
|
|
119
119
|
}
|
|
120
120
|
static get is() { return "db-tab-item"; }
|
|
121
121
|
static get properties() {
|
|
@@ -224,6 +224,30 @@ export class DBTabItem {
|
|
|
224
224
|
"reflect": false,
|
|
225
225
|
"attribute": "id"
|
|
226
226
|
},
|
|
227
|
+
"propOverrides": {
|
|
228
|
+
"type": "unknown",
|
|
229
|
+
"mutable": false,
|
|
230
|
+
"complexType": {
|
|
231
|
+
"original": "DBTabItemProps[\"propOverrides\"]",
|
|
232
|
+
"resolved": "{ id?: string; }",
|
|
233
|
+
"references": {
|
|
234
|
+
"DBTabItemProps": {
|
|
235
|
+
"location": "import",
|
|
236
|
+
"path": "./model",
|
|
237
|
+
"id": "src/components/tab-item/model.ts::DBTabItemProps",
|
|
238
|
+
"referenceLocation": "DBTabItemProps"
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"required": false,
|
|
243
|
+
"optional": false,
|
|
244
|
+
"docs": {
|
|
245
|
+
"tags": [],
|
|
246
|
+
"text": ""
|
|
247
|
+
},
|
|
248
|
+
"getter": false,
|
|
249
|
+
"setter": false
|
|
250
|
+
},
|
|
227
251
|
"iconLeading": {
|
|
228
252
|
"type": "string",
|
|
229
253
|
"mutable": false,
|
|
@@ -45,9 +45,10 @@ export class DBTabList {
|
|
|
45
45
|
this.enableAttributePassing(this._ref, "db-tab-list");
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
|
|
48
|
+
var _a, _b;
|
|
49
|
+
return (h("div", { key: '8f02145864a04b79d94d5d5923b6eff32346a0c3', class: cls("db-tab-list", this.className), ref: (el) => {
|
|
49
50
|
this._ref = el;
|
|
50
|
-
}, id: this.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: '759fdba6e69209ca915148c8b190f9311cb6f1ff', role: "tablist" }, h("slot", { key: '96bf4a10d3b422d6eb6be68c46f926b9f55eb0e6' }))));
|
|
51
52
|
}
|
|
52
53
|
static get is() { return "db-tab-list"; }
|
|
53
54
|
static get properties() {
|
|
@@ -78,6 +79,30 @@ export class DBTabList {
|
|
|
78
79
|
"reflect": false,
|
|
79
80
|
"attribute": "id"
|
|
80
81
|
},
|
|
82
|
+
"propOverrides": {
|
|
83
|
+
"type": "unknown",
|
|
84
|
+
"mutable": false,
|
|
85
|
+
"complexType": {
|
|
86
|
+
"original": "DBTabListProps[\"propOverrides\"]",
|
|
87
|
+
"resolved": "{ id?: string; }",
|
|
88
|
+
"references": {
|
|
89
|
+
"DBTabListProps": {
|
|
90
|
+
"location": "import",
|
|
91
|
+
"path": "./model",
|
|
92
|
+
"id": "src/components/tab-list/model.ts::DBTabListProps",
|
|
93
|
+
"referenceLocation": "DBTabListProps"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"required": false,
|
|
98
|
+
"optional": false,
|
|
99
|
+
"docs": {
|
|
100
|
+
"tags": [],
|
|
101
|
+
"text": ""
|
|
102
|
+
},
|
|
103
|
+
"getter": false,
|
|
104
|
+
"setter": false
|
|
105
|
+
},
|
|
81
106
|
"className": {
|
|
82
107
|
"type": "string",
|
|
83
108
|
"mutable": false,
|
|
@@ -45,9 +45,10 @@ export class DBTabPanel {
|
|
|
45
45
|
this.enableAttributePassing(this._ref, "db-tab-panel");
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
|
|
48
|
+
var _a, _b;
|
|
49
|
+
return (h("section", { key: 'c10873d5857be6ea8653189ab735784939c53474', class: cls("db-tab-panel", this.className), role: "tabpanel", ref: (el) => {
|
|
49
50
|
this._ref = el;
|
|
50
|
-
}, id: this.id }, this.content ? this.content : null, h("slot", { key: '
|
|
51
|
+
}, 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, h("slot", { key: '57a98a1b7e26ca61b16397b7615f71d883bfbd28' })));
|
|
51
52
|
}
|
|
52
53
|
static get is() { return "db-tab-panel"; }
|
|
53
54
|
static get properties() {
|
|
@@ -104,6 +105,30 @@ export class DBTabPanel {
|
|
|
104
105
|
"reflect": false,
|
|
105
106
|
"attribute": "id"
|
|
106
107
|
},
|
|
108
|
+
"propOverrides": {
|
|
109
|
+
"type": "unknown",
|
|
110
|
+
"mutable": false,
|
|
111
|
+
"complexType": {
|
|
112
|
+
"original": "DBTabPanelProps[\"propOverrides\"]",
|
|
113
|
+
"resolved": "{ id?: string; }",
|
|
114
|
+
"references": {
|
|
115
|
+
"DBTabPanelProps": {
|
|
116
|
+
"location": "import",
|
|
117
|
+
"path": "./model",
|
|
118
|
+
"id": "src/components/tab-panel/model.ts::DBTabPanelProps",
|
|
119
|
+
"referenceLocation": "DBTabPanelProps"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"required": false,
|
|
124
|
+
"optional": false,
|
|
125
|
+
"docs": {
|
|
126
|
+
"tags": [],
|
|
127
|
+
"text": ""
|
|
128
|
+
},
|
|
129
|
+
"getter": false,
|
|
130
|
+
"setter": false
|
|
131
|
+
},
|
|
107
132
|
"content": {
|
|
108
133
|
"type": "string",
|
|
109
134
|
"mutable": false,
|
|
@@ -205,11 +205,11 @@ export class DBTabs {
|
|
|
205
205
|
this._resizeObserver = undefined;
|
|
206
206
|
}
|
|
207
207
|
render() {
|
|
208
|
-
var _a, _b, _c, _d;
|
|
209
|
-
return (h("div", { key: '
|
|
208
|
+
var _a, _b, _c, _d, _e, _f;
|
|
209
|
+
return (h("div", { key: '20d8d662866ff60717de87ad4deb98a3b647672a', class: cls("db-tabs", this.className), ref: (el) => {
|
|
210
210
|
this._ref = el;
|
|
211
|
-
}, id: this.id, "data-orientation": this.orientation, "data-scroll-behavior": this.behavior, "data-alignment": (
|
|
212
|
-
|
|
211
|
+
}, 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 ? (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 ? (h(Fragment, null, h("db-tab-list", null, (_e = this.convertTabs()) === null || _e === void 0 ? void 0 : _e.map((tab, index) => (h("db-tab-item", { key: this.name + "tab-item" + index, active: tab.active, label: tab.label, iconTrailing: tab.iconTrailing, icon: tab.icon, noText: tab.noText })))), (_f = this.convertTabs()) === null || _f === void 0 ? void 0 :
|
|
212
|
+
_f.map((tab, index) => (h("db-tab-panel", { key: this.name + "tab-panel" + index, content: tab.content }, tab.children))))) : null, this.showScrollRight ? (h("db-button", { class: "tabs-scroll-right", variant: "ghost", icon: "chevron_right", type: "button", noText: true, onClick: () => this.scroll() }, "Scroll right")) : null, h("slot", { key: 'f9803a647f9a01adc0b20eb6bdb999f38c3602af' })));
|
|
213
213
|
}
|
|
214
214
|
static get is() { return "db-tabs"; }
|
|
215
215
|
static get properties() {
|
|
@@ -422,6 +422,30 @@ export class DBTabs {
|
|
|
422
422
|
"reflect": false,
|
|
423
423
|
"attribute": "id"
|
|
424
424
|
},
|
|
425
|
+
"propOverrides": {
|
|
426
|
+
"type": "unknown",
|
|
427
|
+
"mutable": false,
|
|
428
|
+
"complexType": {
|
|
429
|
+
"original": "DBTabsProps[\"propOverrides\"]",
|
|
430
|
+
"resolved": "{ id?: string; }",
|
|
431
|
+
"references": {
|
|
432
|
+
"DBTabsProps": {
|
|
433
|
+
"location": "import",
|
|
434
|
+
"path": "./model",
|
|
435
|
+
"id": "src/components/tabs/model.ts::DBTabsProps",
|
|
436
|
+
"referenceLocation": "DBTabsProps"
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
"required": false,
|
|
441
|
+
"optional": false,
|
|
442
|
+
"docs": {
|
|
443
|
+
"tags": [],
|
|
444
|
+
"text": ""
|
|
445
|
+
},
|
|
446
|
+
"getter": false,
|
|
447
|
+
"setter": false
|
|
448
|
+
},
|
|
425
449
|
"className": {
|
|
426
450
|
"type": "string",
|
|
427
451
|
"mutable": false,
|
|
@@ -61,10 +61,10 @@ export class DBTag {
|
|
|
61
61
|
this.enableAttributePassing(this._ref, "db-tag");
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
|
-
var _a;
|
|
65
|
-
return (h("div", { key: '
|
|
64
|
+
var _a, _b, _c;
|
|
65
|
+
return (h("div", { key: '61faefa2e89ddb597fcca3cb12f7d31c337e556a', class: cls("db-tag", this.className), ref: (el) => {
|
|
66
66
|
this._ref = el;
|
|
67
|
-
}, id: this.id, "data-semantic": this.semantic, "data-emphasis": this.emphasis, "data-icon": this.icon, "data-show-check-state": getBooleanAsString((
|
|
67
|
+
}, 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-emphasis": this.emphasis, "data-icon": this.icon, "data-show-check-state": getBooleanAsString((_c = this.showCheckState) !== null && _c !== void 0 ? _c : true), "data-show-icon": getBooleanAsString(this.showIcon), "data-no-text": getBooleanAsString(this.noText), "data-overflow": getBooleanAsString(this.overflow) }, h("slot", { key: 'e5650c1151f1e86f51138c5e8b292e780bf7544b', name: "content" }), h("slot", { key: 'e4023db11c7b59964b4df105eb3af969ba3d558a' }), this.text ? this.text : null, this.behavior === "removable" ? (h("button", { class: "db-button db-tab-remove-button", "data-icon": "cross", "data-size": "small", "data-no-text": "true", "data-variant": "ghost", type: "button", onClick: (event) => this.handleRemove(event) }, h("db-tooltip", { variant: "label" }, this.getRemoveButtonText()))) : null));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "db-tag"; }
|
|
70
70
|
static get properties() {
|
|
@@ -121,6 +121,30 @@ export class DBTag {
|
|
|
121
121
|
"reflect": false,
|
|
122
122
|
"attribute": "id"
|
|
123
123
|
},
|
|
124
|
+
"propOverrides": {
|
|
125
|
+
"type": "unknown",
|
|
126
|
+
"mutable": false,
|
|
127
|
+
"complexType": {
|
|
128
|
+
"original": "DBTagProps[\"propOverrides\"]",
|
|
129
|
+
"resolved": "{ id?: string; }",
|
|
130
|
+
"references": {
|
|
131
|
+
"DBTagProps": {
|
|
132
|
+
"location": "import",
|
|
133
|
+
"path": "./model",
|
|
134
|
+
"id": "src/components/tag/model.ts::DBTagProps",
|
|
135
|
+
"referenceLocation": "DBTagProps"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"required": false,
|
|
140
|
+
"optional": false,
|
|
141
|
+
"docs": {
|
|
142
|
+
"tags": [],
|
|
143
|
+
"text": ""
|
|
144
|
+
},
|
|
145
|
+
"getter": false,
|
|
146
|
+
"setter": false
|
|
147
|
+
},
|
|
124
148
|
"className": {
|
|
125
149
|
"type": "string",
|
|
126
150
|
"mutable": false,
|