@db-ux/wc-core-components 4.9.0 → 4.10.0-esm-94516f3
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 +19 -1
- package/README.md +114 -25
- package/bundle/db-accordion-item.d.ts +11 -0
- package/bundle/db-accordion-item.js +1 -0
- package/bundle/db-accordion.d.ts +11 -0
- package/bundle/db-accordion.js +1 -0
- package/bundle/db-badge.d.ts +11 -0
- package/bundle/db-badge.js +1 -0
- package/bundle/db-brand.d.ts +11 -0
- package/bundle/db-brand.js +1 -0
- package/bundle/db-button.d.ts +11 -0
- package/bundle/db-button.js +1 -0
- package/bundle/db-card.d.ts +11 -0
- package/bundle/db-card.js +1 -0
- package/bundle/db-checkbox.d.ts +11 -0
- package/bundle/db-checkbox.js +1 -0
- package/bundle/db-custom-button.d.ts +11 -0
- package/bundle/db-custom-button.js +1 -0
- package/bundle/db-custom-select-dropdown.d.ts +11 -0
- package/bundle/db-custom-select-dropdown.js +1 -0
- package/bundle/db-custom-select-form-field.d.ts +11 -0
- package/bundle/db-custom-select-form-field.js +1 -0
- package/bundle/db-custom-select-list-item.d.ts +11 -0
- package/bundle/db-custom-select-list-item.js +1 -0
- package/bundle/db-custom-select-list.d.ts +11 -0
- package/bundle/db-custom-select-list.js +1 -0
- package/bundle/db-custom-select.d.ts +11 -0
- package/bundle/db-custom-select.js +1 -0
- package/bundle/db-divider.d.ts +11 -0
- package/bundle/db-divider.js +1 -0
- package/bundle/db-drawer.d.ts +11 -0
- package/bundle/db-drawer.js +1 -0
- package/bundle/db-header.d.ts +11 -0
- package/bundle/db-header.js +1 -0
- package/bundle/db-icon.d.ts +11 -0
- package/bundle/db-icon.js +1 -0
- package/bundle/db-infotext.d.ts +11 -0
- package/bundle/db-infotext.js +1 -0
- package/bundle/db-input.d.ts +11 -0
- package/bundle/db-input.js +1 -0
- package/bundle/db-link.d.ts +11 -0
- package/bundle/db-link.js +1 -0
- package/bundle/db-navigation-item.d.ts +11 -0
- package/bundle/db-navigation-item.js +1 -0
- package/bundle/db-navigation.d.ts +11 -0
- package/bundle/db-navigation.js +1 -0
- package/bundle/db-notification.d.ts +11 -0
- package/bundle/db-notification.js +1 -0
- package/bundle/db-page.d.ts +11 -0
- package/bundle/db-page.js +1 -0
- package/bundle/db-popover.d.ts +11 -0
- package/bundle/db-popover.js +1 -0
- package/bundle/db-radio.d.ts +11 -0
- package/bundle/db-radio.js +1 -0
- package/bundle/db-section.d.ts +11 -0
- package/bundle/db-section.js +1 -0
- package/bundle/db-select.d.ts +11 -0
- package/bundle/db-select.js +1 -0
- package/bundle/db-stack.d.ts +11 -0
- package/bundle/db-stack.js +1 -0
- package/bundle/db-switch.d.ts +11 -0
- package/bundle/db-switch.js +1 -0
- package/bundle/db-tab-item.d.ts +11 -0
- package/bundle/db-tab-item.js +1 -0
- package/bundle/db-tab-list.d.ts +11 -0
- package/bundle/db-tab-list.js +1 -0
- package/bundle/db-tab-panel.d.ts +11 -0
- package/bundle/db-tab-panel.js +1 -0
- package/bundle/db-tabs.d.ts +11 -0
- package/bundle/db-tabs.js +1 -0
- package/bundle/db-tag.d.ts +11 -0
- package/bundle/db-tag.js +1 -0
- package/bundle/db-textarea.d.ts +11 -0
- package/bundle/db-textarea.js +1 -0
- package/bundle/db-tooltip.d.ts +11 -0
- package/bundle/db-tooltip.js +1 -0
- package/bundle/index.d.ts +47 -0
- package/bundle/index.js +1 -0
- package/bundle/p-4TaCoruo.js +1 -0
- package/bundle/p-4nwUOzw7.js +1 -0
- package/bundle/p-BJJFATCC.js +1 -0
- package/bundle/p-BdL-nI5y.js +1 -0
- package/bundle/p-BuBrj57D.js +1 -0
- package/bundle/p-CCbaTFJ9.js +1 -0
- package/bundle/p-CEiQBevg.js +1 -0
- package/bundle/p-CV8l9qaA.js +1 -0
- package/bundle/p-CmqAwQNR.js +1 -0
- package/bundle/p-D4Ym01qf.js +1 -0
- package/bundle/p-DE_eDJiD.js +1 -0
- package/bundle/p-DOPXnIzL.js +1 -0
- package/bundle/p-DS39nEhJ.js +1 -0
- package/bundle/p-DVYa1bHg.js +1 -0
- package/bundle/p-DwwxAylo.js +1 -0
- package/bundle/p-QNp8H1KD.js +1 -0
- package/bundle/p-_2t1bnPD.js +1 -0
- package/bundle/p-bzxfqhtq.js +1 -0
- package/bundle/p-e18AQLns.js +1 -0
- package/dist/cjs/db-accordion-item.cjs.entry.js +26 -4
- package/dist/cjs/db-accordion.cjs.entry.js +10 -3
- package/dist/cjs/db-badge.cjs.entry.js +10 -3
- package/dist/cjs/db-brand.cjs.entry.js +10 -3
- package/dist/cjs/db-button.cjs.entry.js +10 -3
- package/dist/cjs/db-card.cjs.entry.js +10 -3
- package/dist/cjs/db-checkbox.cjs.entry.js +10 -3
- package/dist/cjs/db-custom-button.cjs.entry.js +10 -3
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +45 -10
- package/dist/cjs/db-custom-select-form-field.cjs.entry.js +10 -3
- package/dist/cjs/db-custom-select.cjs.entry.js +13 -6
- package/dist/cjs/db-divider.cjs.entry.js +9 -2
- package/dist/cjs/db-drawer.cjs.entry.js +14 -7
- package/dist/cjs/db-header.cjs.entry.js +10 -3
- package/dist/cjs/db-icon.cjs.entry.js +10 -3
- package/dist/cjs/db-infotext.cjs.entry.js +10 -3
- package/dist/cjs/db-link.cjs.entry.js +10 -3
- package/dist/cjs/db-navigation-item.cjs.entry.js +11 -3
- package/dist/cjs/db-navigation.cjs.entry.js +10 -3
- package/dist/cjs/db-notification.cjs.entry.js +10 -3
- package/dist/cjs/db-page.cjs.entry.js +10 -3
- package/dist/cjs/db-popover.cjs.entry.js +10 -3
- package/dist/cjs/db-radio.cjs.entry.js +10 -3
- package/dist/cjs/db-section.cjs.entry.js +10 -3
- package/dist/cjs/db-select.cjs.entry.js +10 -3
- package/dist/cjs/db-stack.cjs.entry.js +10 -3
- package/dist/cjs/db-switch.cjs.entry.js +10 -3
- package/dist/cjs/db-tab-item_3.cjs.entry.js +28 -7
- package/dist/cjs/db-tabs.cjs.entry.js +10 -3
- package/dist/cjs/db-textarea.cjs.entry.js +10 -3
- package/dist/cjs/db-tooltip.cjs.entry.js +10 -3
- package/dist/cjs/db-ux.cjs.js +2 -2
- package/dist/cjs/{index-BoC-BWt4.js → index-DLuhzJ0p.js} +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/components/accordion/accordion.js +9 -2
- package/dist/collection/components/accordion-item/accordion-item.js +53 -5
- package/dist/collection/components/badge/badge.js +9 -2
- package/dist/collection/components/brand/brand.js +9 -2
- package/dist/collection/components/button/button.js +10 -3
- package/dist/collection/components/card/card.js +10 -3
- package/dist/collection/components/checkbox/checkbox.js +10 -3
- package/dist/collection/components/custom-button/custom-button.js +9 -2
- package/dist/collection/components/custom-select/custom-select.js +13 -6
- package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +9 -2
- package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +9 -2
- package/dist/collection/components/custom-select-list/custom-select-list.js +9 -2
- package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +9 -2
- package/dist/collection/components/divider/divider.js +8 -1
- package/dist/collection/components/drawer/drawer.js +15 -8
- package/dist/collection/components/header/header.js +20 -13
- package/dist/collection/components/icon/icon.js +9 -2
- package/dist/collection/components/infotext/infotext.js +9 -2
- package/dist/collection/components/input/input.js +10 -3
- package/dist/collection/components/link/link.js +9 -2
- package/dist/collection/components/navigation/navigation.js +9 -2
- package/dist/collection/components/navigation-item/navigation-item.js +37 -3
- package/dist/collection/components/notification/notification.js +10 -3
- package/dist/collection/components/page/page.js +9 -2
- package/dist/collection/components/popover/popover.js +9 -2
- package/dist/collection/components/radio/radio.js +10 -3
- package/dist/collection/components/section/section.js +9 -2
- package/dist/collection/components/select/select.js +10 -3
- package/dist/collection/components/stack/stack.js +9 -2
- package/dist/collection/components/switch/switch.js +10 -3
- package/dist/collection/components/tab-item/tab-item.js +10 -3
- package/dist/collection/components/tab-list/tab-list.js +9 -2
- package/dist/collection/components/tab-panel/tab-panel.js +9 -2
- package/dist/collection/components/tabs/tabs.js +10 -3
- package/dist/collection/components/tag/tag.js +10 -3
- package/dist/collection/components/textarea/textarea.js +10 -3
- package/dist/collection/components/tooltip/tooltip.js +9 -2
- package/dist/custom-elements.json +2276 -36
- package/dist/db-ux/db-ux.esm.js +1 -1
- package/dist/db-ux/p-0ae85978.entry.js +1 -0
- package/dist/db-ux/p-13afb969.entry.js +1 -0
- package/dist/db-ux/p-174d2486.entry.js +1 -0
- package/dist/db-ux/p-28c257d5.entry.js +1 -0
- package/dist/db-ux/p-293510ca.entry.js +1 -0
- package/dist/db-ux/p-331ad11c.entry.js +1 -0
- package/dist/db-ux/p-339a6ca0.entry.js +1 -0
- package/dist/db-ux/p-34e21986.entry.js +1 -0
- package/dist/db-ux/p-368d25ab.entry.js +1 -0
- package/dist/db-ux/p-4580938f.entry.js +1 -0
- package/dist/db-ux/p-47910fdc.entry.js +1 -0
- package/dist/db-ux/p-5d2e2a8d.entry.js +1 -0
- package/dist/db-ux/p-691ae341.entry.js +1 -0
- package/dist/db-ux/p-7c58337d.entry.js +1 -0
- package/dist/db-ux/p-7f4d00df.entry.js +1 -0
- package/dist/db-ux/p-9712c9c9.entry.js +1 -0
- package/dist/db-ux/p-9b907b56.entry.js +1 -0
- package/dist/db-ux/p-9c3ff50e.entry.js +1 -0
- package/dist/db-ux/p-Cr2cgn5B.js +2 -0
- package/dist/db-ux/p-a56886ea.entry.js +1 -0
- package/dist/db-ux/p-a617da42.entry.js +1 -0
- package/dist/db-ux/p-aad0c4ef.entry.js +1 -0
- package/dist/db-ux/p-ae3183f0.entry.js +1 -0
- package/dist/db-ux/p-ae457f95.entry.js +1 -0
- package/dist/db-ux/p-b1e7ba0f.entry.js +1 -0
- package/dist/db-ux/p-cac5b161.entry.js +1 -0
- package/dist/db-ux/p-dcf02351.entry.js +1 -0
- package/dist/db-ux/p-e46dc907.entry.js +1 -0
- package/dist/db-ux/p-f27c6655.entry.js +1 -0
- package/dist/db-ux/p-f583f756.entry.js +1 -0
- package/dist/db-ux/p-f65e1db8.entry.js +1 -0
- package/dist/db-ux/p-fe5d3eb6.entry.js +1 -0
- package/dist/esm/db-accordion-item.entry.js +27 -5
- package/dist/esm/db-accordion.entry.js +10 -3
- package/dist/esm/db-badge.entry.js +10 -3
- package/dist/esm/db-brand.entry.js +10 -3
- package/dist/esm/db-button.entry.js +10 -3
- package/dist/esm/db-card.entry.js +10 -3
- package/dist/esm/db-checkbox.entry.js +10 -3
- package/dist/esm/db-custom-button.entry.js +10 -3
- package/dist/esm/db-custom-select-dropdown_5.entry.js +45 -10
- package/dist/esm/db-custom-select-form-field.entry.js +10 -3
- package/dist/esm/db-custom-select.entry.js +13 -6
- package/dist/esm/db-divider.entry.js +9 -2
- package/dist/esm/db-drawer.entry.js +15 -8
- package/dist/esm/db-header.entry.js +10 -3
- package/dist/esm/db-icon.entry.js +10 -3
- package/dist/esm/db-infotext.entry.js +10 -3
- package/dist/esm/db-link.entry.js +10 -3
- package/dist/esm/db-navigation-item.entry.js +11 -3
- package/dist/esm/db-navigation.entry.js +10 -3
- package/dist/esm/db-notification.entry.js +10 -3
- package/dist/esm/db-page.entry.js +10 -3
- package/dist/esm/db-popover.entry.js +10 -3
- package/dist/esm/db-radio.entry.js +10 -3
- package/dist/esm/db-section.entry.js +10 -3
- package/dist/esm/db-select.entry.js +10 -3
- package/dist/esm/db-stack.entry.js +10 -3
- package/dist/esm/db-switch.entry.js +10 -3
- package/dist/esm/db-tab-item_3.entry.js +28 -7
- package/dist/esm/db-tabs.entry.js +10 -3
- package/dist/esm/db-textarea.entry.js +10 -3
- package/dist/esm/db-tooltip.entry.js +10 -3
- package/dist/esm/db-ux.js +3 -3
- package/dist/esm/{index-K4o-AcjZ.js → index-Cr2cgn5B.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/accordion/accordion.d.ts +1 -0
- package/dist/types/components/accordion/model.d.ts +2 -2
- package/dist/types/components/accordion-item/accordion-item.d.ts +4 -0
- package/dist/types/components/accordion-item/model.d.ts +5 -1
- package/dist/types/components/badge/badge.d.ts +1 -0
- package/dist/types/components/badge/model.d.ts +1 -1
- package/dist/types/components/brand/brand.d.ts +1 -0
- package/dist/types/components/brand/model.d.ts +1 -1
- package/dist/types/components/button/button.d.ts +1 -0
- package/dist/types/components/button/model.d.ts +1 -1
- package/dist/types/components/card/card.d.ts +1 -0
- package/dist/types/components/card/model.d.ts +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +1 -0
- package/dist/types/components/checkbox/model.d.ts +1 -1
- package/dist/types/components/custom-button/custom-button.d.ts +1 -0
- package/dist/types/components/custom-button/model.d.ts +2 -2
- package/dist/types/components/custom-select/custom-select.d.ts +1 -0
- package/dist/types/components/custom-select/model.d.ts +4 -4
- package/dist/types/components/custom-select-dropdown/custom-select-dropdown.d.ts +1 -0
- package/dist/types/components/custom-select-dropdown/model.d.ts +1 -1
- package/dist/types/components/custom-select-form-field/custom-select-form-field.d.ts +1 -0
- package/dist/types/components/custom-select-form-field/model.d.ts +1 -1
- package/dist/types/components/custom-select-list/custom-select-list.d.ts +1 -0
- package/dist/types/components/custom-select-list/model.d.ts +1 -1
- package/dist/types/components/custom-select-list-item/custom-select-list-item.d.ts +1 -0
- package/dist/types/components/custom-select-list-item/model.d.ts +1 -1
- package/dist/types/components/divider/divider.d.ts +1 -0
- package/dist/types/components/divider/model.d.ts +1 -1
- package/dist/types/components/drawer/drawer.d.ts +1 -0
- package/dist/types/components/drawer/model.d.ts +1 -1
- package/dist/types/components/header/header.d.ts +3 -2
- package/dist/types/components/header/model.d.ts +1 -1
- package/dist/types/components/icon/icon.d.ts +1 -0
- package/dist/types/components/icon/model.d.ts +1 -1
- package/dist/types/components/infotext/infotext.d.ts +1 -0
- package/dist/types/components/infotext/model.d.ts +1 -1
- package/dist/types/components/input/input.d.ts +1 -0
- package/dist/types/components/input/model.d.ts +1 -1
- package/dist/types/components/link/link.d.ts +1 -0
- package/dist/types/components/link/model.d.ts +1 -1
- package/dist/types/components/navigation/model.d.ts +1 -1
- package/dist/types/components/navigation/navigation.d.ts +1 -0
- package/dist/types/components/navigation-item/model.d.ts +6 -2
- package/dist/types/components/navigation-item/navigation-item.d.ts +2 -0
- package/dist/types/components/notification/model.d.ts +1 -1
- package/dist/types/components/notification/notification.d.ts +1 -0
- package/dist/types/components/page/model.d.ts +1 -1
- package/dist/types/components/page/page.d.ts +1 -0
- package/dist/types/components/popover/model.d.ts +1 -1
- package/dist/types/components/popover/popover.d.ts +1 -0
- package/dist/types/components/radio/model.d.ts +1 -1
- package/dist/types/components/radio/radio.d.ts +1 -0
- package/dist/types/components/section/model.d.ts +1 -1
- package/dist/types/components/section/section.d.ts +1 -0
- package/dist/types/components/select/model.d.ts +1 -1
- package/dist/types/components/select/select.d.ts +1 -0
- package/dist/types/components/stack/model.d.ts +1 -1
- package/dist/types/components/stack/stack.d.ts +1 -0
- package/dist/types/components/switch/model.d.ts +1 -1
- package/dist/types/components/switch/switch.d.ts +1 -0
- package/dist/types/components/tab-item/model.d.ts +1 -1
- package/dist/types/components/tab-item/tab-item.d.ts +1 -0
- package/dist/types/components/tab-list/model.d.ts +1 -1
- package/dist/types/components/tab-list/tab-list.d.ts +1 -0
- package/dist/types/components/tab-panel/model.d.ts +1 -1
- package/dist/types/components/tab-panel/tab-panel.d.ts +1 -0
- package/dist/types/components/tabs/model.d.ts +3 -3
- package/dist/types/components/tabs/tabs.d.ts +1 -0
- package/dist/types/components/tag/model.d.ts +1 -1
- package/dist/types/components/tag/tag.d.ts +1 -0
- package/dist/types/components/textarea/model.d.ts +1 -1
- package/dist/types/components/textarea/textarea.d.ts +1 -0
- package/dist/types/components/tooltip/model.d.ts +1 -1
- package/dist/types/components/tooltip/tooltip.d.ts +1 -0
- package/dist/types/components.d.ts +7 -1
- package/dist/types/shared/figma.d.ts +12 -6
- package/dist/vscode.html-custom-data.json +16 -6
- package/dist/web-types.json +1032 -248
- package/package.json +15 -9
- package/dist/db-ux/p-1b5d76a8.entry.js +0 -1
- package/dist/db-ux/p-296f989b.entry.js +0 -1
- package/dist/db-ux/p-3ae13ff1.entry.js +0 -1
- package/dist/db-ux/p-43f94079.entry.js +0 -1
- package/dist/db-ux/p-54508bad.entry.js +0 -1
- package/dist/db-ux/p-55e8b0b4.entry.js +0 -1
- package/dist/db-ux/p-69a59559.entry.js +0 -1
- package/dist/db-ux/p-6e7126c6.entry.js +0 -1
- package/dist/db-ux/p-7bed4611.entry.js +0 -1
- package/dist/db-ux/p-8ce816c0.entry.js +0 -1
- package/dist/db-ux/p-8e080864.entry.js +0 -1
- package/dist/db-ux/p-K4o-AcjZ.js +0 -2
- package/dist/db-ux/p-a0eccc08.entry.js +0 -1
- package/dist/db-ux/p-a7c6ec23.entry.js +0 -1
- package/dist/db-ux/p-a82c9875.entry.js +0 -1
- package/dist/db-ux/p-ae445d5d.entry.js +0 -1
- package/dist/db-ux/p-b33abf8d.entry.js +0 -1
- package/dist/db-ux/p-b8ab2bd4.entry.js +0 -1
- package/dist/db-ux/p-bb7c59d2.entry.js +0 -1
- package/dist/db-ux/p-bc510135.entry.js +0 -1
- package/dist/db-ux/p-c85d4be6.entry.js +0 -1
- package/dist/db-ux/p-d206ac6f.entry.js +0 -1
- package/dist/db-ux/p-e22b3725.entry.js +0 -1
- package/dist/db-ux/p-e432c81f.entry.js +0 -1
- package/dist/db-ux/p-e64606e2.entry.js +0 -1
- package/dist/db-ux/p-e8ee154f.entry.js +0 -1
- package/dist/db-ux/p-efb9d9bc.entry.js +0 -1
- package/dist/db-ux/p-f35229a1.entry.js +0 -1
- package/dist/db-ux/p-f582c886.entry.js +0 -1
- package/dist/db-ux/p-f6be9a48.entry.js +0 -1
- package/dist/db-ux/p-fb39506f.entry.js +0 -1
- package/dist/db-ux/p-fb9500ba.entry.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DLuhzJ0p.js');
|
|
4
4
|
var constants = require('./constants-bMY2_d8A.js');
|
|
5
5
|
var index$1 = require('./index-2_9ESkQu.js');
|
|
6
6
|
|
|
@@ -54,18 +54,25 @@ const DBNotification = class {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
componentDidLoad() {
|
|
57
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
58
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
59
|
+
if (connectedElement) {
|
|
60
|
+
connectedElement.remove();
|
|
61
|
+
}
|
|
62
|
+
}
|
|
57
63
|
this.enableAttributePassing(this._ref, "db-notification");
|
|
58
64
|
}
|
|
59
65
|
render() {
|
|
60
66
|
var _a, _b, _c;
|
|
61
|
-
return (index.h("div", { key: '
|
|
67
|
+
return (index.h("div", { key: '80b4682644b5cae7f09842e8683a9445f782055b', class: index$1.cls("db-notification", this.className), ref: (el) => {
|
|
62
68
|
this._ref = el;
|
|
63
69
|
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, role: index$1.getNotificationRole({
|
|
64
70
|
semantic: this.semantic,
|
|
65
71
|
role: this.role,
|
|
66
72
|
ariaLive: this.ariaLive,
|
|
67
|
-
}), "aria-live": this.ariaLive, "data-semantic": this.semantic, "data-variant": this.variant, "data-icon": index$1.getBoolean(this.showIcon) !== false ? this.icon : undefined, "data-show-icon": index$1.getBooleanAsString(this.showIcon), "data-link-variant": this.linkVariant }, index.h("slot", { key: '
|
|
73
|
+
}), "aria-live": this.ariaLive, "data-semantic": this.semantic, "data-variant": this.variant, "data-icon": index$1.getBoolean(this.showIcon) !== false ? this.icon : undefined, "data-show-icon": index$1.getBooleanAsString(this.showIcon), "data-link-variant": this.linkVariant }, index.h("slot", { key: '4fc52fd9fff6357307c4bdc102c03082688b44cf', name: "image" }), index$1.stringPropVisible(this.headline, this.showHeadline) ? (index.h("header", { "data-area": "head" }, this.headline)) : null, index.h("div", { key: '6d61a4b4966795950a3da5dba130734bd0bbb2d9', "data-area": "content" }, this.text ? this.text : null, index.h("slot", { key: 'f4ca4c620e00a203da07c3d0ce2974ade705f489' })), index$1.stringPropVisible(this.timestamp, this.showTimestamp) ? (index.h("time", { "data-area": "timestamp", dateTime: this.timestampDatetime }, this.timestamp)) : null, index.h("slot", { key: 'e1509dd146ff4288f96062e6286b47b495b388dc', name: "link" }), index$1.getBoolean(this.closeable, "closeable") ? (index.h("db-button", { icon: "cross", variant: "ghost", size: "small", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event) }, (_c = this.closeButtonText) !== null && _c !== void 0 ? _c : constants.DEFAULT_CLOSE_BUTTON)) : null));
|
|
68
74
|
}
|
|
75
|
+
get rootElement() { return index.getElement(this); }
|
|
69
76
|
};
|
|
70
77
|
|
|
71
78
|
exports.db_notification = DBNotification;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DLuhzJ0p.js');
|
|
4
4
|
var index$1 = require('./index-2_9ESkQu.js');
|
|
5
5
|
|
|
6
6
|
const DBPage = class {
|
|
@@ -45,6 +45,12 @@ const DBPage = class {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
componentDidLoad() {
|
|
48
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
49
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
50
|
+
if (connectedElement) {
|
|
51
|
+
connectedElement.remove();
|
|
52
|
+
}
|
|
53
|
+
}
|
|
48
54
|
this.enableAttributePassing(this._ref, "db-page");
|
|
49
55
|
this.fontsLoaded = !this.fadeIn;
|
|
50
56
|
if (document && this.fadeIn) {
|
|
@@ -65,10 +71,11 @@ const DBPage = class {
|
|
|
65
71
|
}
|
|
66
72
|
render() {
|
|
67
73
|
var _a, _b;
|
|
68
|
-
return (index.h("div", { key: '
|
|
74
|
+
return (index.h("div", { key: 'ff82686603b48757d15136f99ffee2e8261a0868', class: index$1.cls("db-page", this.className), ref: (el) => {
|
|
69
75
|
this._ref = el;
|
|
70
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-variant": this.variant, "data-fade-in": index$1.getBooleanAsString(this.fadeIn), "data-fonts-loaded": index$1.getBooleanAsString(this.fontsLoaded) }, index.h("slot", { key: '
|
|
76
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-variant": this.variant, "data-fade-in": index$1.getBooleanAsString(this.fadeIn), "data-fonts-loaded": index$1.getBooleanAsString(this.fontsLoaded) }, index.h("slot", { key: 'b545b6a529c6502b6d9acaf4349056f9b191b47f', name: "header" }), index.h("main", { key: '67fe344765eb3dabbb1e6882e653142522ba7e20', class: index$1.cls("db-main", this.mainClass) }, index.h("slot", { key: '5ab992699f2db9d811124d9ad0955e94c816896a' })), index.h("slot", { key: '2c0e00536dcac7decddc76aacc13b58989b02464', name: "footer" })));
|
|
71
77
|
}
|
|
78
|
+
get rootElement() { return index.getElement(this); }
|
|
72
79
|
};
|
|
73
80
|
|
|
74
81
|
exports.db_page = DBPage;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DLuhzJ0p.js');
|
|
4
4
|
var index$1 = require('./index-2_9ESkQu.js');
|
|
5
5
|
var documentScrollListener = require('./document-scroll-listener-ChQ7XZRk.js');
|
|
6
6
|
var floatingComponents = require('./floating-components-DlstoCKH.js');
|
|
@@ -163,6 +163,12 @@ const DBPopover = class {
|
|
|
163
163
|
this.watch1Fn();
|
|
164
164
|
}
|
|
165
165
|
componentDidLoad() {
|
|
166
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
167
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
168
|
+
if (connectedElement) {
|
|
169
|
+
connectedElement.remove();
|
|
170
|
+
}
|
|
171
|
+
}
|
|
166
172
|
this.enableAttributePassing(this._ref, "db-popover");
|
|
167
173
|
this.initialized = true;
|
|
168
174
|
this.watch0Fn();
|
|
@@ -170,10 +176,11 @@ const DBPopover = class {
|
|
|
170
176
|
}
|
|
171
177
|
render() {
|
|
172
178
|
var _a, _b, _c;
|
|
173
|
-
return (index.h("div", { key: '
|
|
179
|
+
return (index.h("div", { key: '5695f78c16f768ca34b16c05167518c2a2e26c35', class: index$1.cls("db-popover", this.className), ref: (el) => {
|
|
174
180
|
this._ref = el;
|
|
175
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("slot", { key: '
|
|
181
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("slot", { key: 'e765f506df650f9105ff6efb79c2d6fe36a48b91', name: "trigger" }), index.h("article", { key: '072c8716f82a49d319794e521f467d494fe4b313', class: "db-popover-content", "data-spacing": this.spacing, "data-gap": index$1.getBooleanAsString(this.gap), "data-animation": index$1.getBooleanAsString((_c = this.animation) !== null && _c !== void 0 ? _c : true), "data-open": index$1.getBooleanAsString(this.open), "data-delay": this.delay, "data-width": this.width, "data-placement": this.placement }, index.h("slot", { key: '3317509fd5cfbc56f9e0921f91e34520d9f93c87' }))));
|
|
176
182
|
}
|
|
183
|
+
get rootElement() { return index.getElement(this); }
|
|
177
184
|
static get watchers() { return {
|
|
178
185
|
"_ref": [{
|
|
179
186
|
"watch0": 0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DLuhzJ0p.js');
|
|
4
4
|
var index$1 = require('./index-2_9ESkQu.js');
|
|
5
5
|
var formComponents = require('./form-components-_ncB_U2D.js');
|
|
6
6
|
|
|
@@ -115,6 +115,12 @@ const DBRadio = class {
|
|
|
115
115
|
this.watch2Fn();
|
|
116
116
|
}
|
|
117
117
|
componentDidLoad() {
|
|
118
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
119
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
120
|
+
if (connectedElement) {
|
|
121
|
+
connectedElement.remove();
|
|
122
|
+
}
|
|
123
|
+
}
|
|
118
124
|
this.enableAttributePassing(this._ref, "db-radio");
|
|
119
125
|
this.initialized = true;
|
|
120
126
|
this.resetIds();
|
|
@@ -127,10 +133,11 @@ const DBRadio = class {
|
|
|
127
133
|
(_a = this.abortController) === null || _a === void 0 ? void 0 : _a.abort();
|
|
128
134
|
}
|
|
129
135
|
render() {
|
|
130
|
-
return (index.h("label", { key: '
|
|
136
|
+
return (index.h("label", { key: '1ff5543af917149d3d1f51a2c67c7686b55f8d11', 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: '3409b94c081b36bd60ba84f8e6a4064e43e2ad50', type: "radio", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
|
|
131
137
|
this._ref = el;
|
|
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 : null, index.h("slot", { key: '
|
|
138
|
+
}, 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 : null, index.h("slot", { key: 'c9850bcf9efb2e272e6ae8cc83ab92d62e095094' })));
|
|
133
139
|
}
|
|
140
|
+
get rootElement() { return index.getElement(this); }
|
|
134
141
|
static get watchers() { return {
|
|
135
142
|
"id": [{
|
|
136
143
|
"watch0": 0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DLuhzJ0p.js');
|
|
4
4
|
var index$1 = require('./index-2_9ESkQu.js');
|
|
5
5
|
|
|
6
6
|
const DBSection = class {
|
|
@@ -44,14 +44,21 @@ const DBSection = class {
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
componentDidLoad() {
|
|
47
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
48
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
49
|
+
if (connectedElement) {
|
|
50
|
+
connectedElement.remove();
|
|
51
|
+
}
|
|
52
|
+
}
|
|
47
53
|
this.enableAttributePassing(this._ref, "db-section");
|
|
48
54
|
}
|
|
49
55
|
render() {
|
|
50
56
|
var _a, _b;
|
|
51
|
-
return (index.h("section", { key: '
|
|
57
|
+
return (index.h("section", { key: '03d6f7ed2eea5b1374d0f5be00d77e59897033ea', class: index$1.cls("db-section", this.className), ref: (el) => {
|
|
52
58
|
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: '
|
|
59
|
+
}, 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: '55c388d7e65e9bd27dd229f01a3c162719b90df2' })));
|
|
54
60
|
}
|
|
61
|
+
get rootElement() { return index.getElement(this); }
|
|
55
62
|
};
|
|
56
63
|
|
|
57
64
|
exports.db_section = DBSection;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DLuhzJ0p.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');
|
|
@@ -222,6 +222,12 @@ const DBSelect = class {
|
|
|
222
222
|
this.watch4Fn();
|
|
223
223
|
}
|
|
224
224
|
componentDidLoad() {
|
|
225
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
226
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
227
|
+
if (connectedElement) {
|
|
228
|
+
connectedElement.remove();
|
|
229
|
+
}
|
|
230
|
+
}
|
|
225
231
|
this.enableAttributePassing(this._ref, "db-select");
|
|
226
232
|
this.initialized = true;
|
|
227
233
|
this.resetIds();
|
|
@@ -238,15 +244,16 @@ const DBSelect = class {
|
|
|
238
244
|
}
|
|
239
245
|
render() {
|
|
240
246
|
var _a, _b, _c, _d, _e, _f;
|
|
241
|
-
return (index.h("div", { key: '
|
|
247
|
+
return (index.h("div", { key: '3dd83828aaa06217389cf635687da0070ae88f56', 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: '8fe580a4172003361a5c16551c4965882dbb3ce0', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : constants.DEFAULT_LABEL), index.h("select", { key: '2f0ba052dafae5d44c27442eb4c27fa117c6ba76', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
|
|
242
248
|
this._ref = el;
|
|
243
249
|
}, required: index$1.getBoolean(this.required, "required"), disabled: index$1.getBoolean(this.disabled, "disabled"), id: this._id, name: this.name, size: this.size,
|
|
244
250
|
/* @ts-ignore */
|
|
245
251
|
value: (_c = (_b = this.value) !== null && _b !== void 0 ? _b : this._value) !== null && _c !== void 0 ? _c : undefined, 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": (_d = this.ariaDescribedBy) !== null && _d !== void 0 ? _d : this._descByIds }, this.variant === "floating" || !!this.placeholder ? (index.h("option", { class: "placeholder", value: "", "data-show-empty-option": index$1.getBooleanAsString(this.shouldShowEmptyOption()) })) : null, ((_e = this.options) === null || _e === void 0 ? void 0 : _e.length) ? ((_f = this.options) === null || _f === void 0 ? void 0 : _f.map((option) => {
|
|
246
252
|
var _a;
|
|
247
253
|
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: '
|
|
254
|
+
})) : (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: '34ca1d025c67dc018375d56651a7f0ae1d2e245f', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: '6f64314bcf457ddd86b3695e314125cca14d10d1', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
249
255
|
}
|
|
256
|
+
get rootElement() { return index.getElement(this); }
|
|
250
257
|
static get watchers() { return {
|
|
251
258
|
"id": [{
|
|
252
259
|
"watch0": 0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DLuhzJ0p.js');
|
|
4
4
|
var index$1 = require('./index-2_9ESkQu.js');
|
|
5
5
|
|
|
6
6
|
const DBStack = class {
|
|
@@ -44,14 +44,21 @@ const DBStack = class {
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
componentDidLoad() {
|
|
47
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
48
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
49
|
+
if (connectedElement) {
|
|
50
|
+
connectedElement.remove();
|
|
51
|
+
}
|
|
52
|
+
}
|
|
47
53
|
this.enableAttributePassing(this._ref, "db-stack");
|
|
48
54
|
}
|
|
49
55
|
render() {
|
|
50
56
|
var _a, _b;
|
|
51
|
-
return (index.h("div", { key: '
|
|
57
|
+
return (index.h("div", { key: '87f4f22cbfd4355da58ace757805c9e29758eb6d', class: index$1.cls("db-stack", this.className), ref: (el) => {
|
|
52
58
|
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: '
|
|
59
|
+
}, 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: '391ff9ee8a52408fa9830e0f5a30fd86a249a102' })));
|
|
54
60
|
}
|
|
61
|
+
get rootElement() { return index.getElement(this); }
|
|
55
62
|
};
|
|
56
63
|
|
|
57
64
|
exports.db_stack = DBStack;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DLuhzJ0p.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');
|
|
@@ -173,6 +173,12 @@ const DBSwitch = class {
|
|
|
173
173
|
this.watch3Fn();
|
|
174
174
|
}
|
|
175
175
|
componentDidLoad() {
|
|
176
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
177
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
178
|
+
if (connectedElement) {
|
|
179
|
+
connectedElement.remove();
|
|
180
|
+
}
|
|
181
|
+
}
|
|
176
182
|
this.enableAttributePassing(this._ref, "db-switch");
|
|
177
183
|
this.resetIds();
|
|
178
184
|
this.handleValidation();
|
|
@@ -188,10 +194,11 @@ const DBSwitch = class {
|
|
|
188
194
|
}
|
|
189
195
|
render() {
|
|
190
196
|
var _a, _b;
|
|
191
|
-
return (index.h("div", { key: '
|
|
197
|
+
return (index.h("div", { key: 'c82a033ffefd600a9c96ea487d9fd909ff1b72de', 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: 'c1047871716d0d24f026c8ffaf37581a2b080375', htmlFor: this._id }, index.h("input", { key: '883712cbfdd95c525ea615270546e2127f9bdbf8', type: "checkbox", role: "switch", id: this._id, ref: (el) => {
|
|
192
198
|
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 : null, index.h("slot", { key: '
|
|
199
|
+
}, 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 : null, index.h("slot", { key: '106b299aca93a4e6498c74e7c43df87564122c40' })), 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: 'e2848f2de604908a0e05fbb0cde3c77a36adcc4e', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: '37bcc9cd24041762a62822d118803b0eef247f12', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
194
200
|
}
|
|
201
|
+
get rootElement() { return index.getElement(this); }
|
|
195
202
|
static get watchers() { return {
|
|
196
203
|
"id": [{
|
|
197
204
|
"watch0": 0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DLuhzJ0p.js');
|
|
4
4
|
var index$1 = require('./index-2_9ESkQu.js');
|
|
5
5
|
|
|
6
6
|
const DBTabItem = class {
|
|
@@ -98,6 +98,12 @@ const DBTabItem = class {
|
|
|
98
98
|
this.watch1Fn();
|
|
99
99
|
}
|
|
100
100
|
componentDidLoad() {
|
|
101
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
102
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
103
|
+
if (connectedElement) {
|
|
104
|
+
connectedElement.remove();
|
|
105
|
+
}
|
|
106
|
+
}
|
|
101
107
|
this.enableAttributePassing(this._ref, "db-tab-item");
|
|
102
108
|
this.boundSetSelectedOnChange = this.setSelectedOnChange.bind(this);
|
|
103
109
|
this.initialized = true;
|
|
@@ -114,10 +120,11 @@ const DBTabItem = class {
|
|
|
114
120
|
}
|
|
115
121
|
render() {
|
|
116
122
|
var _a, _b, _c, _d, _e, _f;
|
|
117
|
-
return (index.h("li", { key: '
|
|
123
|
+
return (index.h("li", { key: '8f237a10d09644e2bad44ff457e5ae7bb6ed80f3', class: index$1.cls("db-tab-item", this.className), role: "none" }, index.h("label", { key: '530c603c5927f732cc76920537fe169a15ebbd4c', 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: '8551abf9afc26bb0edfb9a8f94adb21f5c95bf4e', 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
124
|
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: '
|
|
125
|
+
}, 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: '4f1f678c9edcef4f977f3677903b682f5bf723b4' }))));
|
|
120
126
|
}
|
|
127
|
+
get rootElement() { return index.getElement(this); }
|
|
121
128
|
static get watchers() { return {
|
|
122
129
|
"_ref": [{
|
|
123
130
|
"watch0": 0
|
|
@@ -175,14 +182,21 @@ const DBTabList = class {
|
|
|
175
182
|
}
|
|
176
183
|
}
|
|
177
184
|
componentDidLoad() {
|
|
185
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
186
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
187
|
+
if (connectedElement) {
|
|
188
|
+
connectedElement.remove();
|
|
189
|
+
}
|
|
190
|
+
}
|
|
178
191
|
this.enableAttributePassing(this._ref, "db-tab-list");
|
|
179
192
|
}
|
|
180
193
|
render() {
|
|
181
194
|
var _a, _b;
|
|
182
|
-
return (index.h("div", { key: '
|
|
195
|
+
return (index.h("div", { key: 'ce54a7c3bef0090cf7aa0d6b11fedd6d3b4bbd07', class: index$1.cls("db-tab-list", this.className), ref: (el) => {
|
|
183
196
|
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: '
|
|
197
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("ul", { key: '8ac107177182afdde5163dee58917fa69b75e40c', role: "tablist" }, index.h("slot", { key: '0d53d4b529c439784d7c66894b967b41fb9eb38d' }))));
|
|
185
198
|
}
|
|
199
|
+
get rootElement() { return index.getElement(this); }
|
|
186
200
|
};
|
|
187
201
|
|
|
188
202
|
const DBTabPanel = class {
|
|
@@ -226,14 +240,21 @@ const DBTabPanel = class {
|
|
|
226
240
|
}
|
|
227
241
|
}
|
|
228
242
|
componentDidLoad() {
|
|
243
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
244
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
245
|
+
if (connectedElement) {
|
|
246
|
+
connectedElement.remove();
|
|
247
|
+
}
|
|
248
|
+
}
|
|
229
249
|
this.enableAttributePassing(this._ref, "db-tab-panel");
|
|
230
250
|
}
|
|
231
251
|
render() {
|
|
232
252
|
var _a, _b;
|
|
233
|
-
return (index.h("section", { key: '
|
|
253
|
+
return (index.h("section", { key: '86076593b5c38755ddd08bbb930bb8252b9e5e78', class: index$1.cls("db-tab-panel", this.className), role: "tabpanel", ref: (el) => {
|
|
234
254
|
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: '
|
|
255
|
+
}, 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: '5069f16c7266dd495e8f9fb03c3bb69546976842' })));
|
|
236
256
|
}
|
|
257
|
+
get rootElement() { return index.getElement(this); }
|
|
237
258
|
};
|
|
238
259
|
|
|
239
260
|
exports.db_tab_item = DBTabItem;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DLuhzJ0p.js');
|
|
4
4
|
var index$1 = require('./index-2_9ESkQu.js');
|
|
5
5
|
|
|
6
6
|
const DBTabs = class {
|
|
@@ -196,6 +196,12 @@ const DBTabs = class {
|
|
|
196
196
|
this.watch0Fn();
|
|
197
197
|
}
|
|
198
198
|
componentDidLoad() {
|
|
199
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
200
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
201
|
+
if (connectedElement) {
|
|
202
|
+
connectedElement.remove();
|
|
203
|
+
}
|
|
204
|
+
}
|
|
199
205
|
this.enableAttributePassing(this._ref, "db-tabs");
|
|
200
206
|
this._name = `tabs-${this.name || index$1.uuid()}`;
|
|
201
207
|
this.initialized = true;
|
|
@@ -208,11 +214,12 @@ const DBTabs = class {
|
|
|
208
214
|
}
|
|
209
215
|
render() {
|
|
210
216
|
var _a, _b, _c, _d, _e, _f;
|
|
211
|
-
return (index.h("div", { key: '
|
|
217
|
+
return (index.h("div", { key: '71e69e614a98de1b0fe789b210815d03bcee6286', class: index$1.cls("db-tabs", this.className), ref: (el) => {
|
|
212
218
|
this._ref = el;
|
|
213
219
|
}, 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: '
|
|
220
|
+
_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: '2e8a007adff7051a1266f88b95419a510ce7494a' })));
|
|
215
221
|
}
|
|
222
|
+
get rootElement() { return index.getElement(this); }
|
|
216
223
|
static get watchers() { return {
|
|
217
224
|
"_ref": [{
|
|
218
225
|
"watch0": 0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DLuhzJ0p.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');
|
|
@@ -186,6 +186,12 @@ const DBTextarea = class {
|
|
|
186
186
|
this.watch4Fn();
|
|
187
187
|
}
|
|
188
188
|
componentDidLoad() {
|
|
189
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
190
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
191
|
+
if (connectedElement) {
|
|
192
|
+
connectedElement.remove();
|
|
193
|
+
}
|
|
194
|
+
}
|
|
189
195
|
this.enableAttributePassing(this._ref, "db-textarea");
|
|
190
196
|
this.resetIds();
|
|
191
197
|
this._invalidMessage = this.invalidMessage || constants.DEFAULT_INVALID_MESSAGE;
|
|
@@ -201,11 +207,12 @@ const DBTextarea = class {
|
|
|
201
207
|
}
|
|
202
208
|
render() {
|
|
203
209
|
var _a, _b, _c, _d, _e, _f;
|
|
204
|
-
return (index.h("div", { key: '
|
|
210
|
+
return (index.h("div", { key: '011c369f6437bb150f6afb7534da123ed5987621', 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: '2ce564dca8898dedd7e666eb39f1b94226cc3547', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : constants.DEFAULT_LABEL), index.h("textarea", { key: '8cafda914ea6b0f48fe096472e71fd89ee85ec23', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
|
|
205
211
|
this._ref = el;
|
|
206
212
|
}, 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") ||
|
|
207
|
-
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: (_d = (_c = this.value) !== null && _c !== void 0 ? _c : this._value) !== null && _d !== void 0 ? _d : "", "aria-describedby": (_e = this.ariaDescribedBy) !== null && _e !== void 0 ? _e : this._descByIds, placeholder: (_f = this.placeholder) !== null && _f !== void 0 ? _f : 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: '
|
|
213
|
+
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: (_d = (_c = this.value) !== null && _c !== void 0 ? _c : this._value) !== null && _d !== void 0 ? _d : "", "aria-describedby": (_e = this.ariaDescribedBy) !== null && _e !== void 0 ? _e : this._descByIds, placeholder: (_f = this.placeholder) !== null && _f !== void 0 ? _f : 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: '489ca97fb9dc385ec1483d47918025f6db999e01', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: 'c1aa196f836729f0b821f4b3f9300a924fd8e08c', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
208
214
|
}
|
|
215
|
+
get rootElement() { return index.getElement(this); }
|
|
209
216
|
static get watchers() { return {
|
|
210
217
|
"id": [{
|
|
211
218
|
"watch0": 0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DLuhzJ0p.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');
|
|
@@ -150,6 +150,12 @@ const DBTooltip = class {
|
|
|
150
150
|
this.watch1Fn();
|
|
151
151
|
}
|
|
152
152
|
componentDidLoad() {
|
|
153
|
+
if (typeof document !== "undefined" && this.rootElement && this.rootElement.dataset.connect) {
|
|
154
|
+
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
155
|
+
if (connectedElement) {
|
|
156
|
+
connectedElement.remove();
|
|
157
|
+
}
|
|
158
|
+
}
|
|
153
159
|
this.enableAttributePassing(this._ref, "db-tooltip");
|
|
154
160
|
this.resetIds();
|
|
155
161
|
this.initialized = true;
|
|
@@ -158,10 +164,11 @@ const DBTooltip = class {
|
|
|
158
164
|
}
|
|
159
165
|
render() {
|
|
160
166
|
var _a, _b;
|
|
161
|
-
return (index.h("i", { key: '
|
|
167
|
+
return (index.h("i", { key: 'baf376c4ee424f78a7e062b864586139846b2073', class: index$1.cls("db-tooltip", this.className), role: "tooltip", "aria-hidden": "true", "data-gap": "true", ref: (el) => {
|
|
162
168
|
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) }, this.text ? this.text : null, index.h("slot", { key: '
|
|
169
|
+
}, 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) }, this.text ? this.text : null, index.h("slot", { key: '6ec094383bad1237ce6ae7d02a7a62cf5c8de19d' })));
|
|
164
170
|
}
|
|
171
|
+
get rootElement() { return index.getElement(this); }
|
|
165
172
|
static get watchers() { return {
|
|
166
173
|
"id": [{
|
|
167
174
|
"watch0": 0
|