@db-ux/wc-core-components 4.9.0-stencil-bundle-ad37ca4 → 4.9.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 +19 -1
- package/README.md +0 -20
- package/dist/cjs/db-accordion-item.cjs.entry.js +4 -25
- package/dist/cjs/db-accordion.cjs.entry.js +3 -10
- package/dist/cjs/db-badge.cjs.entry.js +3 -10
- package/dist/cjs/db-brand.cjs.entry.js +3 -10
- package/dist/cjs/db-button.cjs.entry.js +3 -10
- package/dist/cjs/db-card.cjs.entry.js +3 -10
- package/dist/cjs/db-checkbox.cjs.entry.js +3 -10
- package/dist/cjs/db-custom-button.cjs.entry.js +3 -10
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +10 -45
- package/dist/cjs/db-custom-select-form-field.cjs.entry.js +3 -10
- package/dist/cjs/db-custom-select.cjs.entry.js +6 -13
- package/dist/cjs/db-divider.cjs.entry.js +2 -9
- package/dist/cjs/db-drawer.cjs.entry.js +7 -14
- package/dist/cjs/db-header.cjs.entry.js +3 -10
- package/dist/cjs/db-icon.cjs.entry.js +3 -10
- package/dist/cjs/db-infotext.cjs.entry.js +3 -10
- package/dist/cjs/db-link.cjs.entry.js +3 -10
- package/dist/cjs/db-navigation-item.cjs.entry.js +3 -11
- package/dist/cjs/db-navigation.cjs.entry.js +3 -10
- package/dist/cjs/db-notification.cjs.entry.js +3 -10
- package/dist/cjs/db-page.cjs.entry.js +3 -10
- package/dist/cjs/db-popover.cjs.entry.js +3 -10
- package/dist/cjs/db-radio.cjs.entry.js +3 -10
- package/dist/cjs/db-section.cjs.entry.js +3 -10
- package/dist/cjs/db-select.cjs.entry.js +3 -10
- package/dist/cjs/db-stack.cjs.entry.js +3 -10
- package/dist/cjs/db-switch.cjs.entry.js +3 -10
- package/dist/cjs/db-tab-item_3.cjs.entry.js +7 -28
- package/dist/cjs/db-tabs.cjs.entry.js +3 -10
- package/dist/cjs/db-textarea.cjs.entry.js +3 -10
- package/dist/cjs/db-tooltip.cjs.entry.js +3 -10
- package/dist/cjs/db-ux.cjs.js +2 -2
- package/dist/cjs/{index-DLuhzJ0p.js → index-BoC-BWt4.js} +0 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/components/accordion/accordion.js +2 -9
- package/dist/collection/components/accordion-item/accordion-item.js +4 -51
- package/dist/collection/components/badge/badge.js +2 -9
- package/dist/collection/components/brand/brand.js +2 -9
- package/dist/collection/components/button/button.js +3 -10
- package/dist/collection/components/card/card.js +3 -10
- package/dist/collection/components/checkbox/checkbox.js +3 -10
- package/dist/collection/components/custom-button/custom-button.js +2 -9
- package/dist/collection/components/custom-select/custom-select.js +6 -13
- package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +2 -9
- package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +2 -9
- package/dist/collection/components/custom-select-list/custom-select-list.js +2 -9
- package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +2 -9
- package/dist/collection/components/divider/divider.js +1 -8
- package/dist/collection/components/drawer/drawer.js +8 -15
- package/dist/collection/components/header/header.js +13 -20
- package/dist/collection/components/icon/icon.js +2 -9
- package/dist/collection/components/infotext/infotext.js +2 -9
- package/dist/collection/components/input/input.js +3 -10
- package/dist/collection/components/link/link.js +2 -9
- package/dist/collection/components/navigation/navigation.js +2 -9
- package/dist/collection/components/navigation-item/navigation-item.js +3 -37
- package/dist/collection/components/notification/notification.js +3 -10
- package/dist/collection/components/page/page.js +2 -9
- package/dist/collection/components/popover/popover.js +2 -9
- package/dist/collection/components/radio/radio.js +3 -10
- package/dist/collection/components/section/section.js +2 -9
- package/dist/collection/components/select/select.js +3 -10
- package/dist/collection/components/stack/stack.js +2 -9
- package/dist/collection/components/switch/switch.js +3 -10
- package/dist/collection/components/tab-item/tab-item.js +3 -10
- package/dist/collection/components/tab-list/tab-list.js +2 -9
- package/dist/collection/components/tab-panel/tab-panel.js +2 -9
- package/dist/collection/components/tabs/tabs.js +3 -10
- package/dist/collection/components/tag/tag.js +3 -10
- package/dist/collection/components/textarea/textarea.js +3 -10
- package/dist/collection/components/tooltip/tooltip.js +2 -9
- package/dist/custom-elements.json +36 -2252
- package/dist/db-ux/db-ux.esm.js +1 -1
- package/dist/db-ux/p-1b5d76a8.entry.js +1 -0
- package/dist/db-ux/p-296f989b.entry.js +1 -0
- package/dist/db-ux/p-3ae13ff1.entry.js +1 -0
- package/dist/db-ux/p-43f94079.entry.js +1 -0
- package/dist/db-ux/p-54508bad.entry.js +1 -0
- package/dist/db-ux/p-55e8b0b4.entry.js +1 -0
- package/dist/db-ux/p-69a59559.entry.js +1 -0
- package/dist/db-ux/p-6e7126c6.entry.js +1 -0
- package/dist/db-ux/p-7bed4611.entry.js +1 -0
- package/dist/db-ux/p-8ce816c0.entry.js +1 -0
- package/dist/db-ux/p-8e080864.entry.js +1 -0
- package/dist/db-ux/p-K4o-AcjZ.js +2 -0
- package/dist/db-ux/p-a0eccc08.entry.js +1 -0
- package/dist/db-ux/p-a7c6ec23.entry.js +1 -0
- package/dist/db-ux/p-a82c9875.entry.js +1 -0
- package/dist/db-ux/p-ae445d5d.entry.js +1 -0
- package/dist/db-ux/p-b33abf8d.entry.js +1 -0
- package/dist/db-ux/p-b8ab2bd4.entry.js +1 -0
- package/dist/db-ux/p-bb7c59d2.entry.js +1 -0
- package/dist/db-ux/p-bc510135.entry.js +1 -0
- package/dist/db-ux/p-c85d4be6.entry.js +1 -0
- package/dist/db-ux/p-d206ac6f.entry.js +1 -0
- package/dist/db-ux/p-e22b3725.entry.js +1 -0
- package/dist/db-ux/p-e432c81f.entry.js +1 -0
- package/dist/db-ux/p-e64606e2.entry.js +1 -0
- package/dist/db-ux/p-e8ee154f.entry.js +1 -0
- package/dist/db-ux/p-efb9d9bc.entry.js +1 -0
- package/dist/db-ux/p-f35229a1.entry.js +1 -0
- package/dist/db-ux/p-f582c886.entry.js +1 -0
- package/dist/db-ux/p-f6be9a48.entry.js +1 -0
- package/dist/db-ux/p-fb39506f.entry.js +1 -0
- package/dist/db-ux/p-fb9500ba.entry.js +1 -0
- package/dist/esm/db-accordion-item.entry.js +4 -25
- package/dist/esm/db-accordion.entry.js +3 -10
- package/dist/esm/db-badge.entry.js +3 -10
- package/dist/esm/db-brand.entry.js +3 -10
- package/dist/esm/db-button.entry.js +3 -10
- package/dist/esm/db-card.entry.js +3 -10
- package/dist/esm/db-checkbox.entry.js +3 -10
- package/dist/esm/db-custom-button.entry.js +3 -10
- package/dist/esm/db-custom-select-dropdown_5.entry.js +10 -45
- package/dist/esm/db-custom-select-form-field.entry.js +3 -10
- package/dist/esm/db-custom-select.entry.js +6 -13
- package/dist/esm/db-divider.entry.js +2 -9
- package/dist/esm/db-drawer.entry.js +8 -15
- package/dist/esm/db-header.entry.js +3 -10
- package/dist/esm/db-icon.entry.js +3 -10
- package/dist/esm/db-infotext.entry.js +3 -10
- package/dist/esm/db-link.entry.js +3 -10
- package/dist/esm/db-navigation-item.entry.js +3 -11
- package/dist/esm/db-navigation.entry.js +3 -10
- package/dist/esm/db-notification.entry.js +3 -10
- package/dist/esm/db-page.entry.js +3 -10
- package/dist/esm/db-popover.entry.js +3 -10
- package/dist/esm/db-radio.entry.js +3 -10
- package/dist/esm/db-section.entry.js +3 -10
- package/dist/esm/db-select.entry.js +3 -10
- package/dist/esm/db-stack.entry.js +3 -10
- package/dist/esm/db-switch.entry.js +3 -10
- package/dist/esm/db-tab-item_3.entry.js +7 -28
- package/dist/esm/db-tabs.entry.js +3 -10
- package/dist/esm/db-textarea.entry.js +3 -10
- package/dist/esm/db-tooltip.entry.js +3 -10
- package/dist/esm/db-ux.js +3 -3
- package/dist/esm/{index-Cr2cgn5B.js → index-K4o-AcjZ.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/accordion/accordion.d.ts +0 -1
- package/dist/types/components/accordion/model.d.ts +2 -2
- package/dist/types/components/accordion-item/accordion-item.d.ts +0 -4
- package/dist/types/components/accordion-item/model.d.ts +1 -5
- package/dist/types/components/badge/badge.d.ts +0 -1
- package/dist/types/components/badge/model.d.ts +1 -1
- package/dist/types/components/brand/brand.d.ts +0 -1
- package/dist/types/components/brand/model.d.ts +1 -1
- package/dist/types/components/button/button.d.ts +0 -1
- package/dist/types/components/button/model.d.ts +1 -1
- package/dist/types/components/card/card.d.ts +0 -1
- package/dist/types/components/card/model.d.ts +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +0 -1
- package/dist/types/components/checkbox/model.d.ts +1 -1
- package/dist/types/components/custom-button/custom-button.d.ts +0 -1
- package/dist/types/components/custom-button/model.d.ts +2 -2
- package/dist/types/components/custom-select/custom-select.d.ts +0 -1
- package/dist/types/components/custom-select/model.d.ts +4 -4
- package/dist/types/components/custom-select-dropdown/custom-select-dropdown.d.ts +0 -1
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- package/dist/types/components/custom-select-list-item/model.d.ts +1 -1
- package/dist/types/components/divider/divider.d.ts +0 -1
- package/dist/types/components/divider/model.d.ts +1 -1
- package/dist/types/components/drawer/drawer.d.ts +0 -1
- package/dist/types/components/drawer/model.d.ts +1 -1
- package/dist/types/components/header/header.d.ts +2 -3
- package/dist/types/components/header/model.d.ts +1 -1
- package/dist/types/components/icon/icon.d.ts +0 -1
- package/dist/types/components/icon/model.d.ts +1 -1
- package/dist/types/components/infotext/infotext.d.ts +0 -1
- package/dist/types/components/infotext/model.d.ts +1 -1
- package/dist/types/components/input/input.d.ts +0 -1
- package/dist/types/components/input/model.d.ts +1 -1
- package/dist/types/components/link/link.d.ts +0 -1
- 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 +0 -1
- package/dist/types/components/navigation-item/model.d.ts +2 -6
- package/dist/types/components/navigation-item/navigation-item.d.ts +0 -2
- package/dist/types/components/notification/model.d.ts +1 -1
- package/dist/types/components/notification/notification.d.ts +0 -1
- package/dist/types/components/page/model.d.ts +1 -1
- package/dist/types/components/page/page.d.ts +0 -1
- package/dist/types/components/popover/model.d.ts +1 -1
- package/dist/types/components/popover/popover.d.ts +0 -1
- package/dist/types/components/radio/model.d.ts +1 -1
- package/dist/types/components/radio/radio.d.ts +0 -1
- package/dist/types/components/section/model.d.ts +1 -1
- package/dist/types/components/section/section.d.ts +0 -1
- package/dist/types/components/select/model.d.ts +1 -1
- package/dist/types/components/select/select.d.ts +0 -1
- package/dist/types/components/stack/model.d.ts +1 -1
- package/dist/types/components/stack/stack.d.ts +0 -1
- package/dist/types/components/switch/model.d.ts +1 -1
- package/dist/types/components/switch/switch.d.ts +0 -1
- package/dist/types/components/tab-item/model.d.ts +1 -1
- package/dist/types/components/tab-item/tab-item.d.ts +0 -1
- package/dist/types/components/tab-list/model.d.ts +1 -1
- package/dist/types/components/tab-list/tab-list.d.ts +0 -1
- package/dist/types/components/tab-panel/model.d.ts +1 -1
- package/dist/types/components/tab-panel/tab-panel.d.ts +0 -1
- package/dist/types/components/tabs/model.d.ts +3 -3
- package/dist/types/components/tabs/tabs.d.ts +0 -1
- package/dist/types/components/tag/model.d.ts +1 -1
- package/dist/types/components/tag/tag.d.ts +0 -1
- package/dist/types/components/textarea/model.d.ts +1 -1
- package/dist/types/components/textarea/textarea.d.ts +0 -1
- package/dist/types/components/tooltip/model.d.ts +1 -1
- package/dist/types/components/tooltip/tooltip.d.ts +0 -1
- package/dist/types/components.d.ts +1 -7
- package/dist/vscode.html-custom-data.json +6 -16
- package/dist/web-types.json +248 -1032
- package/package.json +7 -13
- package/bundle/db-accordion-item.d.ts +0 -11
- package/bundle/db-accordion-item.js +0 -1
- package/bundle/db-accordion.d.ts +0 -11
- package/bundle/db-accordion.js +0 -1
- package/bundle/db-badge.d.ts +0 -11
- package/bundle/db-badge.js +0 -1
- package/bundle/db-brand.d.ts +0 -11
- package/bundle/db-brand.js +0 -1
- package/bundle/db-button.d.ts +0 -11
- package/bundle/db-button.js +0 -1
- package/bundle/db-card.d.ts +0 -11
- package/bundle/db-card.js +0 -1
- package/bundle/db-checkbox.d.ts +0 -11
- package/bundle/db-checkbox.js +0 -1
- package/bundle/db-custom-button.d.ts +0 -11
- package/bundle/db-custom-button.js +0 -1
- package/bundle/db-custom-select-dropdown.d.ts +0 -11
- package/bundle/db-custom-select-dropdown.js +0 -1
- package/bundle/db-custom-select-form-field.d.ts +0 -11
- package/bundle/db-custom-select-form-field.js +0 -1
- package/bundle/db-custom-select-list-item.d.ts +0 -11
- package/bundle/db-custom-select-list-item.js +0 -1
- package/bundle/db-custom-select-list.d.ts +0 -11
- package/bundle/db-custom-select-list.js +0 -1
- package/bundle/db-custom-select.d.ts +0 -11
- package/bundle/db-custom-select.js +0 -1
- package/bundle/db-divider.d.ts +0 -11
- package/bundle/db-divider.js +0 -1
- package/bundle/db-drawer.d.ts +0 -11
- package/bundle/db-drawer.js +0 -1
- package/bundle/db-header.d.ts +0 -11
- package/bundle/db-header.js +0 -1
- package/bundle/db-icon.d.ts +0 -11
- package/bundle/db-icon.js +0 -1
- package/bundle/db-infotext.d.ts +0 -11
- package/bundle/db-infotext.js +0 -1
- package/bundle/db-input.d.ts +0 -11
- package/bundle/db-input.js +0 -1
- package/bundle/db-link.d.ts +0 -11
- package/bundle/db-link.js +0 -1
- package/bundle/db-navigation-item.d.ts +0 -11
- package/bundle/db-navigation-item.js +0 -1
- package/bundle/db-navigation.d.ts +0 -11
- package/bundle/db-navigation.js +0 -1
- package/bundle/db-notification.d.ts +0 -11
- package/bundle/db-notification.js +0 -1
- package/bundle/db-page.d.ts +0 -11
- package/bundle/db-page.js +0 -1
- package/bundle/db-popover.d.ts +0 -11
- package/bundle/db-popover.js +0 -1
- package/bundle/db-radio.d.ts +0 -11
- package/bundle/db-radio.js +0 -1
- package/bundle/db-section.d.ts +0 -11
- package/bundle/db-section.js +0 -1
- package/bundle/db-select.d.ts +0 -11
- package/bundle/db-select.js +0 -1
- package/bundle/db-stack.d.ts +0 -11
- package/bundle/db-stack.js +0 -1
- package/bundle/db-switch.d.ts +0 -11
- package/bundle/db-switch.js +0 -1
- package/bundle/db-tab-item.d.ts +0 -11
- package/bundle/db-tab-item.js +0 -1
- package/bundle/db-tab-list.d.ts +0 -11
- package/bundle/db-tab-list.js +0 -1
- package/bundle/db-tab-panel.d.ts +0 -11
- package/bundle/db-tab-panel.js +0 -1
- package/bundle/db-tabs.d.ts +0 -11
- package/bundle/db-tabs.js +0 -1
- package/bundle/db-tag.d.ts +0 -11
- package/bundle/db-tag.js +0 -1
- package/bundle/db-textarea.d.ts +0 -11
- package/bundle/db-textarea.js +0 -1
- package/bundle/db-tooltip.d.ts +0 -11
- package/bundle/db-tooltip.js +0 -1
- package/bundle/index.d.ts +0 -47
- package/bundle/index.js +0 -1
- package/bundle/p-4nwUOzw7.js +0 -1
- package/bundle/p-6tgjpFiy.js +0 -1
- package/bundle/p-B8jmHdeH.js +0 -1
- package/bundle/p-BNhyPF1P.js +0 -1
- package/bundle/p-BPzP5Ag7.js +0 -1
- package/bundle/p-BdL-nI5y.js +0 -1
- package/bundle/p-BuBrj57D.js +0 -1
- package/bundle/p-BwS8XkPq.js +0 -1
- package/bundle/p-C0grS8Im.js +0 -1
- package/bundle/p-CCbaTFJ9.js +0 -1
- package/bundle/p-CSPKOJ_Q.js +0 -1
- package/bundle/p-C_uuq4ru.js +0 -1
- package/bundle/p-CeC-MQcb.js +0 -1
- package/bundle/p-Cp42j14z.js +0 -1
- package/bundle/p-D4Ym01qf.js +0 -1
- package/bundle/p-DOPXnIzL.js +0 -1
- package/bundle/p-DaaF73NV.js +0 -1
- package/bundle/p-DegvpGo6.js +0 -1
- package/bundle/p-yTv_0IMq.js +0 -1
- package/dist/db-ux/p-00ea76cf.entry.js +0 -1
- package/dist/db-ux/p-047341c9.entry.js +0 -1
- package/dist/db-ux/p-066fa23a.entry.js +0 -1
- package/dist/db-ux/p-0f8989b4.entry.js +0 -1
- package/dist/db-ux/p-25b715ae.entry.js +0 -1
- package/dist/db-ux/p-2df1300b.entry.js +0 -1
- package/dist/db-ux/p-3327169e.entry.js +0 -1
- package/dist/db-ux/p-419f8c38.entry.js +0 -1
- package/dist/db-ux/p-4249b49a.entry.js +0 -1
- package/dist/db-ux/p-44043bdb.entry.js +0 -1
- package/dist/db-ux/p-45e3b8c6.entry.js +0 -1
- package/dist/db-ux/p-47b8ce97.entry.js +0 -1
- package/dist/db-ux/p-692c892c.entry.js +0 -1
- package/dist/db-ux/p-6ca6258f.entry.js +0 -1
- package/dist/db-ux/p-6e2b82d0.entry.js +0 -1
- package/dist/db-ux/p-74a2dd1a.entry.js +0 -1
- package/dist/db-ux/p-78a2617f.entry.js +0 -1
- package/dist/db-ux/p-820c2ca9.entry.js +0 -1
- package/dist/db-ux/p-8894c1da.entry.js +0 -1
- package/dist/db-ux/p-8c7085d4.entry.js +0 -1
- package/dist/db-ux/p-9afcb916.entry.js +0 -1
- package/dist/db-ux/p-9e61d181.entry.js +0 -1
- package/dist/db-ux/p-Cr2cgn5B.js +0 -2
- package/dist/db-ux/p-a15fbd28.entry.js +0 -1
- package/dist/db-ux/p-cd1f41e9.entry.js +0 -1
- package/dist/db-ux/p-cd990388.entry.js +0 -1
- package/dist/db-ux/p-d1d119b6.entry.js +0 -1
- package/dist/db-ux/p-d5bc9beb.entry.js +0 -1
- package/dist/db-ux/p-e57bd4f0.entry.js +0 -1
- package/dist/db-ux/p-e9dd1674.entry.js +0 -1
- package/dist/db-ux/p-f904f3a1.entry.js +0 -1
- package/dist/db-ux/p-fb69c11a.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-K4o-AcjZ.js';
|
|
2
2
|
import { l as DEFAULT_INVALID_MESSAGE, a as DEFAULT_LABEL, m as DEFAULT_REMOVE, f as DEFAULT_MESSAGE_ID_SUFFIX, g as DEFAULT_VALID_MESSAGE_ID_SUFFIX, h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, e as DEFAULT_SELECT_ID_SUFFIX, d as DEFAULT_LABEL_ID_SUFFIX, i as DEFAULT_PLACEHOLDER_ID_SUFFIX, o as DEFAULT_SELECTED, k as DEFAULT_VALID_MESSAGE, c as DEFAULT_MESSAGE, s as DEFAULT_CLOSE_BUTTON } from './constants-BdL-nI5y.js';
|
|
3
3
|
import { h as hasVoiceOver, d as delay, s as stringPropVisible, m as getSearchInput, u as uuid, g as getBooleanAsString, e as getBoolean, l as getHideProp, c as cls } from './index-xkoBSP8R.js';
|
|
4
4
|
import { D as DocumentClickListener } from './document-click-listener-D7W_VE5O.js';
|
|
@@ -753,12 +753,6 @@ const DBCustomSelect = class {
|
|
|
753
753
|
this.watch18Fn();
|
|
754
754
|
}
|
|
755
755
|
componentDidLoad() {
|
|
756
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
757
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
758
|
-
if (connectedElement) {
|
|
759
|
-
connectedElement.remove();
|
|
760
|
-
}
|
|
761
|
-
}
|
|
762
756
|
this.enableAttributePassing(this._ref, "db-custom-select");
|
|
763
757
|
this.resetIds();
|
|
764
758
|
this._invalidMessage = this.invalidMessage || DEFAULT_INVALID_MESSAGE;
|
|
@@ -798,19 +792,19 @@ const DBCustomSelect = class {
|
|
|
798
792
|
}
|
|
799
793
|
render() {
|
|
800
794
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
801
|
-
return (h("div", { key: '
|
|
795
|
+
return (h("div", { key: 'b69119f8c8ad43b30a3b6f2e3177ba283336645e', class: cls("db-custom-select", this.className), id: this._id, ref: (el) => {
|
|
802
796
|
this._ref = el;
|
|
803
797
|
}, "aria-invalid": this._validity === "invalid", "data-custom-validity": this._validity, "data-width": this.formFieldWidth, "data-variant": this.variant === "floating" &&
|
|
804
798
|
this.selectedType === "tag" &&
|
|
805
799
|
this.multiple
|
|
806
800
|
? "above"
|
|
807
|
-
: this.variant, "data-required": getBooleanAsString(this.required), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-placement": this.placement, "data-selected-type": this.multiple ? this.selectedType : "text", "data-hide-label": getHideProp(this.showLabel), "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon) }, h("label", { key: '
|
|
801
|
+
: this.variant, "data-required": getBooleanAsString(this.required), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-placement": this.placement, "data-selected-type": this.multiple ? this.selectedType : "text", "data-hide-label": getHideProp(this.showLabel), "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon) }, h("label", { key: '6e31abcbad536b00f87b6c9a4a14826d085501ae', id: this._labelId }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL, h("select", { key: '89d826932f87ea9d2621ed8baede4141d0406574', role: "none", hidden: true, id: this._selectId, tabIndex: -1, ref: (el) => {
|
|
808
802
|
this.selectRef = el;
|
|
809
803
|
}, form: this.form, name: this.name, "data-custom-validity": this._validity, multiple: getBoolean(this.multiple, "multiple"), disabled: getBoolean(this.disabled, "disabled"), required: getBoolean(this.required, "required"), onChange: (event) => this.satisfyReact(event) }, ((_b = this.options) === null || _b === void 0 ? void 0 : _b.length)
|
|
810
804
|
? (_c = this.options) === null || _c === void 0 ? void 0 : _c.map((option) => (h("option", { disabled: option.disabled, value: option.value, key: undefined }, this.getOptionLabel(option))))
|
|
811
|
-
: null)), h("details", { key: '
|
|
805
|
+
: null)), h("details", { key: '8b05f3d412957f1fe8d9d1e27b23890454ceff7c', ref: (el) => {
|
|
812
806
|
this.detailsRef = el;
|
|
813
|
-
}, open: this.open, onToggle: (event) => this.handleDropdownToggle(event), onKeyDown: (event) => this.handleKeyboardPress(event) }, h("slot", { key: '
|
|
807
|
+
}, open: this.open, onToggle: (event) => this.handleDropdownToggle(event), onKeyDown: (event) => this.handleKeyboardPress(event) }, h("slot", { key: 'd05f5cae0ac171b8ed171819f3650064f30fef92' }), this.options ? (h(Fragment, null, h("summary", { class: "db-custom-select-form-field", id: this._summaryId, "aria-disabled": getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : undefined, "aria-labelledby": this._labelId }, ((_d = this._selectedLabels) === null || _d === void 0 ? void 0 : _d.length) ? (h("span", { "data-visually-hidden": getBooleanAsString(this.selectedType === "tag"), id: this._selectedLabelsId }, this.selectedPrefix ? (h("span", { "data-visually-hidden": "true" }, this.selectedPrefix)) : null, this._selectedLabels)) : null, this.selectedType === "tag" ? (h("div", null, (_e = this._selectedOptions) === null || _e === void 0 ? void 0 : _e.map((option) => (h("db-tag", { emphasis: "strong", behavior: "removable", removeButton: this.getTagRemoveLabel(option), onRemove: (event) => this.handleTagRemove(option, event), key: undefined }, this.getOptionLabel(option)))))) : null), h("db-custom-select-dropdown", { width: this.dropdownWidth }, this.searchEnabled ? (h("div", null, h("db-input", { type: "search", ref: (el) => {
|
|
814
808
|
this.searchInputRef = el;
|
|
815
809
|
}, name: this._id, form: this._id, showLabel: false, value: this._searchValue, label: (_f = this.searchLabel) !== null && _f !== void 0 ? _f : DEFAULT_LABEL, placeholder: (_g = this.searchPlaceholder) !== null && _g !== void 0 ? _g : this.searchLabel, ariaDescribedBy: this._hasNoOptions || this.showLoading
|
|
816
810
|
? this._infoTextId
|
|
@@ -820,9 +814,8 @@ const DBCustomSelect = class {
|
|
|
820
814
|
this.selectAllRef = el;
|
|
821
815
|
}, form: this._id, checked: this.selectAllChecked, onChange: (event) => this.handleSelectAll(event) }), this.getSelectAllLabel())))) : null, h("db-custom-select-list", { multiple: getBoolean(this.multiple, "multiple"), label: (_k = (_j = this.listLabel) !== null && _j !== void 0 ? _j : this.label) !== null && _k !== void 0 ? _k : DEFAULT_LABEL }, (_l = this._options) === null || _l === void 0 ? void 0 : _l.map((option) => (h("db-custom-select-list-item", { type: this.multiple ? "checkbox" : "radio", showDivider: option.showDivider, icon: option.icon, isGroupTitle: option.isGroupTitle, groupTitle: this.getOptionLabel(option), name: this._id, checked: this.getOptionChecked(option.value), disabled: option.disabled, value: option.value, onChange: () => this.handleSelect(option.value), key: undefined }, !option.isGroupTitle
|
|
822
816
|
? this.getOptionLabel(option)
|
|
823
|
-
: null)))))), h("div", null, h("db-button", { variant: "ghost", width: "full", icon: "cross", size: "small", name: this._id, form: this._id, onClick: () => this.handleClose(undefined, true) }, (_m = this.mobileCloseButtonText) !== null && _m !== void 0 ? _m : DEFAULT_CLOSE_BUTTON))))) : null), ((_o = this.showClearSelection) !== null && _o !== void 0 ? _o : true) && ((_p = this._values) === null || _p === void 0 ? void 0 : _p.length) ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", noText: true, name: this._id, form: this._id, disabled: getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClearAll(event) }, this.clearSelectionText, h("db-tooltip", { placement: "top" }, this.clearSelectionText))) : null, h("span", { key: '
|
|
817
|
+
: null)))))), h("div", null, h("db-button", { variant: "ghost", width: "full", icon: "cross", size: "small", name: this._id, form: this._id, onClick: () => this.handleClose(undefined, true) }, (_m = this.mobileCloseButtonText) !== null && _m !== void 0 ? _m : DEFAULT_CLOSE_BUTTON))))) : null), ((_o = this.showClearSelection) !== null && _o !== void 0 ? _o : true) && ((_p = this._values) === null || _p === void 0 ? void 0 : _p.length) ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", noText: true, name: this._id, form: this._id, disabled: getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClearAll(event) }, this.clearSelectionText, h("db-tooltip", { placement: "top" }, this.clearSelectionText))) : null, h("span", { key: '851b2e07be960638b4d62750e1cf920ba445fb3d', class: "db-custom-select-placeholder", "aria-hidden": getBooleanAsString(true), id: this._placeholderId }, (_q = this.placeholder) !== null && _q !== void 0 ? _q : this.label), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '6d481a7727087375fc4d8faabd55a1817a735edf', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '5335f3e58d3a6b2f90353058552701c13b1e888b', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
824
818
|
}
|
|
825
|
-
get rootElement() { return getElement(this); }
|
|
826
819
|
static get watchers() { return {
|
|
827
820
|
"id": [{
|
|
828
821
|
"watch0": 0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h
|
|
1
|
+
import { r as registerInstance, h } from './index-K4o-AcjZ.js';
|
|
2
2
|
import { c as cls } from './index-xkoBSP8R.js';
|
|
3
3
|
|
|
4
4
|
const DBDivider = class {
|
|
@@ -42,21 +42,14 @@ const DBDivider = class {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
componentDidLoad() {
|
|
45
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
46
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
47
|
-
if (connectedElement) {
|
|
48
|
-
connectedElement.remove();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
45
|
this.enableAttributePassing(this._ref, "db-divider");
|
|
52
46
|
}
|
|
53
47
|
render() {
|
|
54
48
|
var _a, _b;
|
|
55
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: '140776744080e88b5e9f008d06d7c6b4bde4394a', class: cls("db-divider", this.className), ref: (el) => {
|
|
56
50
|
this._ref = el;
|
|
57
51
|
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-margin": this.margin, "data-variant": this.variant, "data-emphasis": this.emphasis, "data-width": this.width }));
|
|
58
52
|
}
|
|
59
|
-
get rootElement() { return getElement(this); }
|
|
60
53
|
};
|
|
61
54
|
|
|
62
55
|
export { DBDivider as db_divider };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-K4o-AcjZ.js';
|
|
2
2
|
import { s as DEFAULT_CLOSE_BUTTON } from './constants-BdL-nI5y.js';
|
|
3
|
-
import { o as isKeyboardEvent, d as delay, g as getBooleanAsString, c as cls
|
|
3
|
+
import { o as isKeyboardEvent, d as delay, g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
|
|
4
4
|
|
|
5
5
|
const DBDrawer = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -38,8 +38,8 @@ const DBDrawer = class {
|
|
|
38
38
|
}
|
|
39
39
|
handleDialogOpen() {
|
|
40
40
|
if (this._ref) {
|
|
41
|
-
const
|
|
42
|
-
if (
|
|
41
|
+
const open = Boolean(this.open);
|
|
42
|
+
if (open && !this._ref.open) {
|
|
43
43
|
if (this.dialogContainerRef) {
|
|
44
44
|
this.dialogContainerRef.removeAttribute("data-transition");
|
|
45
45
|
}
|
|
@@ -58,7 +58,7 @@ const DBDrawer = class {
|
|
|
58
58
|
}
|
|
59
59
|
}, 1);
|
|
60
60
|
}
|
|
61
|
-
if (!
|
|
61
|
+
if (!open && this._ref.open) {
|
|
62
62
|
if (this.dialogContainerRef) {
|
|
63
63
|
this.dialogContainerRef.dataset["transition"] =
|
|
64
64
|
"close";
|
|
@@ -125,12 +125,6 @@ const DBDrawer = class {
|
|
|
125
125
|
this.watch1Fn();
|
|
126
126
|
}
|
|
127
127
|
componentDidLoad() {
|
|
128
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
129
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
130
|
-
if (connectedElement) {
|
|
131
|
-
connectedElement.remove();
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
128
|
this.enableAttributePassing(this._ref, "db-drawer");
|
|
135
129
|
this.handleDialogOpen();
|
|
136
130
|
this.initialized = true;
|
|
@@ -139,13 +133,12 @@ const DBDrawer = class {
|
|
|
139
133
|
}
|
|
140
134
|
render() {
|
|
141
135
|
var _a, _b, _c;
|
|
142
|
-
return (h("dialog", { key: '
|
|
136
|
+
return (h("dialog", { key: 'dd2236da621ecd6ce95effdd51af7d83e9d00cb4', class: "db-drawer", id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, ref: (el) => {
|
|
143
137
|
this._ref = el;
|
|
144
|
-
}, onClick: (event) => this.handleClose(event), onKeyDown: (event) => this.handleClose(event), "data-position": this.position, "data-backdrop": this.backdrop, "data-direction": this.direction, "data-variant": this.variant }, h("article", { key: '
|
|
138
|
+
}, onClick: (event) => this.handleClose(event), onKeyDown: (event) => this.handleClose(event), "data-position": this.position, "data-backdrop": this.backdrop, "data-direction": this.direction, "data-variant": this.variant }, h("article", { key: '9e30bd63a197f5b8b3797430c21cbe742a6a337a', class: cls("db-drawer-container", this.className), ref: (el) => {
|
|
145
139
|
this.dialogContainerRef = el;
|
|
146
|
-
}, "data-spacing": this.spacing, "data-width": this.width, "data-direction": this.direction, "data-rounded": getBooleanAsString(this.rounded) }, h("header", { key: '
|
|
140
|
+
}, "data-spacing": this.spacing, "data-width": this.width, "data-direction": this.direction, "data-rounded": getBooleanAsString(this.rounded) }, h("header", { key: 'd44ca5f31e6a42548a5b4066d3965e1c81ee11c6', class: "db-drawer-header" }, h("div", { key: '8f88f451fb176d926a6f2a0ded68232978971773', class: "db-drawer-header-text" }, h("slot", { key: 'ab8f36ee1c28b8c50034b81ed78aa91169e957b9', name: "drawerHeader" })), h("db-button", { key: '981fda2deb05c7fd6341b3d31cc81851bb8a19f4', class: "button-close-drawer", icon: "cross", variant: "ghost", id: this.closeButtonId, noText: true, onClick: (event) => this.handleClose(event, true) }, (_c = this.closeButtonText) !== null && _c !== void 0 ? _c : DEFAULT_CLOSE_BUTTON)), h("div", { key: 'd36dfd9fdc919f95d5319dbf67d9a08e17763da3', class: "db-drawer-content" }, h("slot", { key: '1ec21301aa84e9ba120d5a886cc45c37f2772e0f' })))));
|
|
147
141
|
}
|
|
148
|
-
get rootElement() { return getElement(this); }
|
|
149
142
|
static get watchers() { return {
|
|
150
143
|
"open": [{
|
|
151
144
|
"watch0": 0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-K4o-AcjZ.js';
|
|
2
2
|
import { p as DEFAULT_BURGER_MENU } from './constants-BdL-nI5y.js';
|
|
3
3
|
import { a as addAttributeToChildren, e as getBoolean, c as cls } from './index-xkoBSP8R.js';
|
|
4
4
|
import { i as isEventTargetNavigationItem } from './navigation-Jh6m0eMk.js';
|
|
@@ -76,23 +76,16 @@ const DBHeader = class {
|
|
|
76
76
|
this.watch0Fn();
|
|
77
77
|
}
|
|
78
78
|
componentDidLoad() {
|
|
79
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
80
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
81
|
-
if (connectedElement) {
|
|
82
|
-
connectedElement.remove();
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
79
|
this.enableAttributePassing(this._ref, "db-header");
|
|
86
80
|
this.initialized = true;
|
|
87
81
|
this.watch0Fn();
|
|
88
82
|
}
|
|
89
83
|
render() {
|
|
90
84
|
var _a, _b, _c;
|
|
91
|
-
return (h("header", { key: '
|
|
85
|
+
return (h("header", { key: 'be1ad24dcffe0b9a3472fb4d0ce51e1e26ab18a7', class: cls("db-header", this.className), ref: (el) => {
|
|
92
86
|
this._ref = el;
|
|
93
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width, "data-on-forcing-mobile": this.forceMobile && !this.forcedToMobile }, h("
|
|
87
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width, "data-on-forcing-mobile": this.forceMobile && !this.forcedToMobile }, h("db-drawer", { key: 'd4037e5b2a37c33ce57753e256308f5a349c59ad', class: "db-header-drawer", spacing: "small", rounded: true, closeButtonId: this.closeButtonId, closeButtonText: this.closeButtonText, open: getBoolean(this.drawerOpen), onClose: () => this.handleToggle() }, h("div", { key: '6f3038ca75f7a872a25ef6195575e2fdafc37fd6', class: "db-header-drawer-navigation" }, h("div", { key: '5f49144f7c766e2f84619d048980bb4cd772f33a', class: "db-header-navigation", onClick: (event) => this.handleNavigationItemClick(event) }, h("slot", { key: '0ede1bfe3a2c02c0f4bdb0351780d3f575cf2227' })), h("div", { key: '3afebc850c010d99e070abd9f443523215cbbe9c', class: "db-header-meta-navigation" }, h("slot", { key: '0a9c6a8d806af97d6ca004c581db605d5f3c2cbd', name: "metaNavigation" }))), h("div", { key: '1b55dab0fc8e755c30f17a348647d78a2063316e', class: "db-header-secondary-action" }, h("slot", { key: '91e2325325c90fa4c8a502da0dbff50c251f9914', name: "secondaryAction" }))), h("div", { key: '96d77f06e1e3ebe20463469d10fdf2086c4833f3', class: "db-header-meta-navigation" }, h("slot", { key: '3b670227184efb7b85ce1a4502322b72fa2e5dd3', name: "metaNavigation" })), h("div", { key: 'f63168e17d5add18523b8ce5cf145b2cdba634e0', class: "db-header-navigation-bar" }, h("div", { key: 'bdb2c9524c98f272da2250e84465d631dc4c86ee', class: "db-header-brand-container" }, h("slot", { key: 'cc82a8c4bcf8023ee31274ade351796c4b4e59ac', name: "brand" })), h("div", { key: '71dd71452f3fa5348d66aba9ea073865dc8ccbdd', class: "db-header-navigation-container" }, h("div", { key: 'ef397d6f5baeb671326269b8a0a4e329da8b103e', class: "db-header-navigation" }, h("slot", { key: 'e70245a7c3895bead643907655732f9a046b9d45' })), h("div", { key: '7f80402f9aa19140c404636a18d1d190cc9c7bd3', class: "db-header-primary-action" }, h("slot", { key: '625841b7653acffa89cf4539e3494611aaa37a65', name: "primaryAction" }))), h("div", { key: '6513c29620684d2b24ee7f031fc603bfd4d897e5', class: "db-header-action-container" }, h("div", { key: '0c0ff87d894c99cf1e49b2beadaec277dd8813b3', class: "db-header-burger-menu-container" }, h("db-button", { key: '63884b0f4e5e66fae043236fe06fa989d8c74dff', icon: "menu", variant: "ghost", noText: true, onClick: () => this.handleToggle() }, (_c = this.burgerMenuLabel) !== null && _c !== void 0 ? _c : DEFAULT_BURGER_MENU)), h("div", { key: '7712b831ee086a7366909c9265cc46211d9c0a73', class: "db-header-secondary-action" }, h("slot", { key: 'bbb1d1a6c98ad79104389e57980cd0bb05f6e435', name: "secondaryAction" }))))));
|
|
94
88
|
}
|
|
95
|
-
get rootElement() { return getElement(this); }
|
|
96
89
|
static get watchers() { return {
|
|
97
90
|
"initialized": [{
|
|
98
91
|
"watch0": 0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h
|
|
1
|
+
import { r as registerInstance, h } from './index-K4o-AcjZ.js';
|
|
2
2
|
import { c as cls } from './index-xkoBSP8R.js';
|
|
3
3
|
|
|
4
4
|
const DBIcon = class {
|
|
@@ -42,21 +42,14 @@ const DBIcon = class {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
componentDidLoad() {
|
|
45
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
46
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
47
|
-
if (connectedElement) {
|
|
48
|
-
connectedElement.remove();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
45
|
this.enableAttributePassing(this._ref, "db-icon");
|
|
52
46
|
}
|
|
53
47
|
render() {
|
|
54
48
|
var _a, _b;
|
|
55
|
-
return (h("span", { key: '
|
|
49
|
+
return (h("span", { key: '1b9ecf0a2b731a1146ab46d6cac0d3ce371dbc87', class: cls("db-icon", this.className), "aria-hidden": "true", ref: (el) => {
|
|
56
50
|
this._ref = el;
|
|
57
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-icon-weight": this.weight, "data-icon-variant": this.variant }, this.text ? this.text : 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, "data-icon": this.icon, "data-icon-weight": this.weight, "data-icon-variant": this.variant }, this.text ? this.text : null, h("slot", { key: 'dec85782807d446081a60b9bf7024823b5463bc1' })));
|
|
58
52
|
}
|
|
59
|
-
get rootElement() { return getElement(this); }
|
|
60
53
|
};
|
|
61
54
|
|
|
62
55
|
export { DBIcon as db_icon };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h
|
|
1
|
+
import { r as registerInstance, h } from './index-K4o-AcjZ.js';
|
|
2
2
|
import { g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
|
|
3
3
|
|
|
4
4
|
const DBInfotext = class {
|
|
@@ -42,21 +42,14 @@ const DBInfotext = class {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
componentDidLoad() {
|
|
45
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
46
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
47
|
-
if (connectedElement) {
|
|
48
|
-
connectedElement.remove();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
45
|
this.enableAttributePassing(this._ref, "db-infotext");
|
|
52
46
|
}
|
|
53
47
|
render() {
|
|
54
48
|
var _a, _b, _c;
|
|
55
|
-
return (h("span", { key: '
|
|
49
|
+
return (h("span", { key: 'e0846770d940dd2213fc271bd9b2f73dcd43e477', class: cls("db-infotext", this.className), ref: (el) => {
|
|
56
50
|
this._ref = el;
|
|
57
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": this.icon, "data-semantic": this.semantic, "data-size": this.size, "data-wrap": getBooleanAsString(this.wrap), "data-show-icon-leading": getBooleanAsString((_c = this.showIcon) !== null && _c !== void 0 ? _c : true) }, this.text ? this.text : 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, "data-icon": this.icon, "data-semantic": this.semantic, "data-size": this.size, "data-wrap": getBooleanAsString(this.wrap), "data-show-icon-leading": getBooleanAsString((_c = this.showIcon) !== null && _c !== void 0 ? _c : true) }, this.text ? this.text : null, h("slot", { key: '62a49acb22657bcadf93d60c787652de37cce74b' })));
|
|
58
52
|
}
|
|
59
|
-
get rootElement() { return getElement(this); }
|
|
60
53
|
};
|
|
61
54
|
|
|
62
55
|
export { DBInfotext as db_infotext };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h
|
|
1
|
+
import { r as registerInstance, h } from './index-K4o-AcjZ.js';
|
|
2
2
|
import { g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
|
|
3
3
|
|
|
4
4
|
const DBLink = class {
|
|
@@ -42,21 +42,14 @@ const DBLink = class {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
componentDidLoad() {
|
|
45
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
46
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
47
|
-
if (connectedElement) {
|
|
48
|
-
connectedElement.remove();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
45
|
this.enableAttributePassing(this._ref, "db-link");
|
|
52
46
|
}
|
|
53
47
|
render() {
|
|
54
48
|
var _a, _b, _c, _d;
|
|
55
|
-
return (h("a", { key: '
|
|
49
|
+
return (h("a", { key: '1748005b97867c678a3ea09072eeef7518a0170f', class: cls("db-link", this.className), ref: (el) => {
|
|
56
50
|
this._ref = el;
|
|
57
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, href: this.href, target: this.target, rel: this.rel, role: this.role, referrerPolicy: (_c = this.referrerpolicy) !== null && _c !== void 0 ? _c : this.referrerPolicy, hrefLang: this.hreflang, "aria-disabled": getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : 0, "data-size": this.size, "data-show-icon-trailing": getBooleanAsString((_d = this.showIcon) !== null && _d !== void 0 ? _d : true), "data-variant": this.variant, "data-content": this.content || "internal", "data-wrap": getBooleanAsString(this.wrap) }, this.text ? this.text : 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, href: this.href, target: this.target, rel: this.rel, role: this.role, referrerPolicy: (_c = this.referrerpolicy) !== null && _c !== void 0 ? _c : this.referrerPolicy, hrefLang: this.hreflang, "aria-disabled": getBooleanAsString(this.disabled), tabIndex: this.disabled ? -1 : 0, "data-size": this.size, "data-show-icon-trailing": getBooleanAsString((_d = this.showIcon) !== null && _d !== void 0 ? _d : true), "data-variant": this.variant, "data-content": this.content || "internal", "data-wrap": getBooleanAsString(this.wrap) }, this.text ? this.text : null, h("slot", { key: '9912370e0c8ba33af3ee8a7644e77f21335bddca' })));
|
|
58
52
|
}
|
|
59
|
-
get rootElement() { return getElement(this); }
|
|
60
53
|
};
|
|
61
54
|
|
|
62
55
|
export { DBLink as db_link };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-K4o-AcjZ.js';
|
|
2
2
|
import { n as DEFAULT_BACK } from './constants-BdL-nI5y.js';
|
|
3
3
|
import { d as delay, e as getBoolean, u as uuid, g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
|
|
4
4
|
import { N as NavigationItemSafeTriangle } from './navigation-Jh6m0eMk.js';
|
|
@@ -105,12 +105,6 @@ const DBNavigationItem = class {
|
|
|
105
105
|
}
|
|
106
106
|
componentDidLoad() {
|
|
107
107
|
var _a;
|
|
108
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
109
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
110
|
-
if (connectedElement) {
|
|
111
|
-
connectedElement.remove();
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
108
|
this.enableAttributePassing(this._ref, "db-navigation-item");
|
|
115
109
|
this.initialized = true;
|
|
116
110
|
const subNavId = `sub-nav-${(_a = this.id) !== null && _a !== void 0 ? _a : uuid()}`;
|
|
@@ -121,12 +115,10 @@ const DBNavigationItem = class {
|
|
|
121
115
|
}
|
|
122
116
|
render() {
|
|
123
117
|
var _a, _b, _c;
|
|
124
|
-
return (h("li", { key: '
|
|
118
|
+
return (h("li", { key: '445ddbc43af3b8ddf2e43614c7bbc8ad4990c125', class: cls("db-navigation-item", this.className), ref: (el) => {
|
|
125
119
|
this._ref = el;
|
|
126
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, onMouseOver: () => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.enableFollow(); }, onMouseLeave: () => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.disableFollow(); }, onMouseMove: (event) => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.followByMouseEvent(event); }, "data-width": this.width, "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon), "data-active": this.active, "data-wrap": getBooleanAsString(this.wrap), "aria-disabled": getBooleanAsString(this.disabled) }, !getBoolean(this.
|
|
127
|
-
this.hasSubNavigation ? (h(Fragment, null, h("button", { class: "db-navigation-item-expand-button", id: this.subNavigationToggleId, "aria-haspopup": this.hasAreaPopup ? "true" : undefined, "aria-expanded": this.isSubNavigationExpanded, "aria-controls": this.subNavigationId, disabled: getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClick(event) }, this.text ? this.text : h("slot", { name: "expandButton" })), h("menu", { class: "db-sub-navigation", id: this.subNavigationId, "aria-labelledby": this.subNavigationToggleId, "data-force-close": this.autoClose, onClick: (event) => this.handleNavigationItemClick(event) }, this.hasAreaPopup ? (h("div", { class: "db-mobile-navigation-back" }, h("db-button", { icon: "arrow_left", variant: "ghost", id: this.backButtonId, onClick: (event) => this.handleBackClick(event) }, (_c = this.backButtonText) !== null && _c !== void 0 ? _c : DEFAULT_BACK))) : null, h("slot", { name: "subNavigation" })))) : this.text ? (this.text) : (h("slot", null))));
|
|
120
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, onMouseOver: () => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.enableFollow(); }, onMouseLeave: () => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.disableFollow(); }, onMouseMove: (event) => { var _a; return (_a = this.navigationItemSafeTriangle) === null || _a === void 0 ? void 0 : _a.followByMouseEvent(event); }, "data-width": this.width, "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon), "data-active": this.active, "data-wrap": getBooleanAsString(this.wrap), "aria-disabled": getBooleanAsString(this.disabled) }, !this.hasSubNavigation ? this.text ? this.text : h("slot", null) : null, this.hasSubNavigation ? (h(Fragment, null, h("button", { class: "db-navigation-item-expand-button", id: this.subNavigationToggleId, "aria-haspopup": this.hasAreaPopup ? "true" : undefined, "aria-expanded": this.isSubNavigationExpanded, "aria-controls": this.subNavigationId, disabled: getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClick(event) }, this.text ? this.text : h("slot", null)), h("menu", { class: "db-sub-navigation", id: this.subNavigationId, "aria-labelledby": this.subNavigationToggleId, "data-force-close": this.autoClose, onClick: (event) => this.handleNavigationItemClick(event) }, this.hasAreaPopup ? (h("div", { class: "db-mobile-navigation-back" }, h("db-button", { icon: "arrow_left", variant: "ghost", id: this.backButtonId, onClick: (event) => this.handleBackClick(event) }, (_c = this.backButtonText) !== null && _c !== void 0 ? _c : DEFAULT_BACK))) : null, h("slot", { name: "subNavigation" })))) : null));
|
|
128
121
|
}
|
|
129
|
-
get rootElement() { return getElement(this); }
|
|
130
122
|
static get watchers() { return {
|
|
131
123
|
"subNavigationExpanded": [{
|
|
132
124
|
"watch0": 0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h
|
|
1
|
+
import { r as registerInstance, h } from './index-K4o-AcjZ.js';
|
|
2
2
|
import { c as cls } from './index-xkoBSP8R.js';
|
|
3
3
|
|
|
4
4
|
const DBNavigation = class {
|
|
@@ -42,21 +42,14 @@ const DBNavigation = class {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
componentDidLoad() {
|
|
45
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
46
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
47
|
-
if (connectedElement) {
|
|
48
|
-
connectedElement.remove();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
45
|
this.enableAttributePassing(this._ref, "db-navigation");
|
|
52
46
|
}
|
|
53
47
|
render() {
|
|
54
48
|
var _a, _b;
|
|
55
|
-
return (h("nav", { key: '
|
|
49
|
+
return (h("nav", { key: 'e2cf893f68f07f22c5df6828e136880bdafcc8ab', class: cls("db-navigation", this.className), ref: (el) => {
|
|
56
50
|
this._ref = el;
|
|
57
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("menu", { key: '
|
|
51
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("menu", { key: 'cb715cb4c0c6ec6b74519475c5e05d5148af43a1' }, h("slot", { key: 'b571e5af2b79d9d0bbfd499b0fcb9f64a885ab54' }))));
|
|
58
52
|
}
|
|
59
|
-
get rootElement() { return getElement(this); }
|
|
60
53
|
};
|
|
61
54
|
|
|
62
55
|
export { DBNavigation as db_navigation };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-K4o-AcjZ.js';
|
|
2
2
|
import { s as DEFAULT_CLOSE_BUTTON } from './constants-BdL-nI5y.js';
|
|
3
3
|
import { e as getBoolean, s as stringPropVisible, g as getBooleanAsString, p as getNotificationRole, c as cls } from './index-xkoBSP8R.js';
|
|
4
4
|
|
|
@@ -52,25 +52,18 @@ const DBNotification = class {
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
componentDidLoad() {
|
|
55
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
56
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
57
|
-
if (connectedElement) {
|
|
58
|
-
connectedElement.remove();
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
55
|
this.enableAttributePassing(this._ref, "db-notification");
|
|
62
56
|
}
|
|
63
57
|
render() {
|
|
64
58
|
var _a, _b, _c;
|
|
65
|
-
return (h("div", { key: '
|
|
59
|
+
return (h("div", { key: 'd7087027be76900f33941e4680afa30f8b008985', class: cls("db-notification", this.className), ref: (el) => {
|
|
66
60
|
this._ref = el;
|
|
67
61
|
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, role: getNotificationRole({
|
|
68
62
|
semantic: this.semantic,
|
|
69
63
|
role: this.role,
|
|
70
64
|
ariaLive: this.ariaLive,
|
|
71
|
-
}), "aria-live": this.ariaLive, "data-semantic": this.semantic, "data-variant": this.variant, "data-icon": getBoolean(this.showIcon) !== false ? this.icon : undefined, "data-show-icon": getBooleanAsString(this.showIcon), "data-link-variant": this.linkVariant }, h("slot", { key: '
|
|
65
|
+
}), "aria-live": this.ariaLive, "data-semantic": this.semantic, "data-variant": this.variant, "data-icon": getBoolean(this.showIcon) !== false ? this.icon : undefined, "data-show-icon": getBooleanAsString(this.showIcon), "data-link-variant": this.linkVariant }, h("slot", { key: '014b063b231b29070ae428befe3fa5703e1a763a', name: "image" }), stringPropVisible(this.headline, this.showHeadline) ? (h("header", { "data-area": "head" }, this.headline)) : null, h("div", { key: 'a6b0eb3a228d5788425916888d33b8425c261a47', "data-area": "content" }, this.text ? this.text : null, h("slot", { key: 'da393b44aa81d021b12053d637cbdd5c6586f548' })), stringPropVisible(this.timestamp, this.showTimestamp) ? (h("time", { "data-area": "timestamp", dateTime: this.timestampDatetime }, this.timestamp)) : null, h("slot", { key: '6d7c1d9da27fddd2ca59d50f00628d6aaf4e4c09', name: "link" }), getBoolean(this.closeable, "closeable") ? (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 : DEFAULT_CLOSE_BUTTON)) : null));
|
|
72
66
|
}
|
|
73
|
-
get rootElement() { return getElement(this); }
|
|
74
67
|
};
|
|
75
68
|
|
|
76
69
|
export { DBNotification as db_notification };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h
|
|
1
|
+
import { r as registerInstance, h } from './index-K4o-AcjZ.js';
|
|
2
2
|
import { c as cls, g as getBooleanAsString } from './index-xkoBSP8R.js';
|
|
3
3
|
|
|
4
4
|
const DBPage = class {
|
|
@@ -43,12 +43,6 @@ const DBPage = class {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
componentDidLoad() {
|
|
46
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
47
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
48
|
-
if (connectedElement) {
|
|
49
|
-
connectedElement.remove();
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
46
|
this.enableAttributePassing(this._ref, "db-page");
|
|
53
47
|
this.fontsLoaded = !this.fadeIn;
|
|
54
48
|
if (document && this.fadeIn) {
|
|
@@ -69,11 +63,10 @@ const DBPage = class {
|
|
|
69
63
|
}
|
|
70
64
|
render() {
|
|
71
65
|
var _a, _b;
|
|
72
|
-
return (h("div", { key: '
|
|
66
|
+
return (h("div", { key: 'b0ddc76aaed427b7c203d76bbb5b09be304b8134', class: cls("db-page", this.className), ref: (el) => {
|
|
73
67
|
this._ref = el;
|
|
74
|
-
}, 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": getBooleanAsString(this.fadeIn), "data-fonts-loaded": getBooleanAsString(this.fontsLoaded) }, h("slot", { key: '
|
|
68
|
+
}, 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": getBooleanAsString(this.fadeIn), "data-fonts-loaded": getBooleanAsString(this.fontsLoaded) }, h("slot", { key: '6915333868fc61aaf327ae43fe6f967706972032', name: "header" }), h("main", { key: '20588c0501715204c8a87cff378ba7994caae76c', class: cls("db-main", this.mainClass) }, h("slot", { key: '9a52cdaf9c2673630855a455a101f75f065cbdd8' })), h("slot", { key: 'ff8faa06197c83675bf81d18b34d0db9019a664f', name: "footer" })));
|
|
75
69
|
}
|
|
76
|
-
get rootElement() { return getElement(this); }
|
|
77
70
|
};
|
|
78
71
|
|
|
79
72
|
export { DBPage as db_page };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h
|
|
1
|
+
import { r as registerInstance, h } from './index-K4o-AcjZ.js';
|
|
2
2
|
import { d as delay, g as getBooleanAsString, c as cls } from './index-xkoBSP8R.js';
|
|
3
3
|
import { D as DocumentScrollListener } from './document-scroll-listener-DOBe3Oa9.js';
|
|
4
4
|
import { b as handleFixedPopover } from './floating-components-DOPXnIzL.js';
|
|
@@ -161,12 +161,6 @@ const DBPopover = class {
|
|
|
161
161
|
this.watch1Fn();
|
|
162
162
|
}
|
|
163
163
|
componentDidLoad() {
|
|
164
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
165
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
166
|
-
if (connectedElement) {
|
|
167
|
-
connectedElement.remove();
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
164
|
this.enableAttributePassing(this._ref, "db-popover");
|
|
171
165
|
this.initialized = true;
|
|
172
166
|
this.watch0Fn();
|
|
@@ -174,11 +168,10 @@ const DBPopover = class {
|
|
|
174
168
|
}
|
|
175
169
|
render() {
|
|
176
170
|
var _a, _b, _c;
|
|
177
|
-
return (h("div", { key: '
|
|
171
|
+
return (h("div", { key: '390b82916a04a39f602efb0a05d8702d51da4526', class: cls("db-popover", this.className), ref: (el) => {
|
|
178
172
|
this._ref = el;
|
|
179
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("slot", { key: '
|
|
173
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("slot", { key: '17b12e9a5be220fedfa3ebe8f2bbb47ad1f1fb2f', name: "trigger" }), h("article", { key: '9b1cf4ce7cc66f558dd87b5cc6e3ca9a007bf1af', class: "db-popover-content", "data-spacing": this.spacing, "data-gap": getBooleanAsString(this.gap), "data-animation": getBooleanAsString((_c = this.animation) !== null && _c !== void 0 ? _c : true), "data-open": getBooleanAsString(this.open), "data-delay": this.delay, "data-width": this.width, "data-placement": this.placement }, h("slot", { key: '2e3a7edf39f6027ea34791b1b88668c081f03ba3' }))));
|
|
180
174
|
}
|
|
181
|
-
get rootElement() { return getElement(this); }
|
|
182
175
|
static get watchers() { return {
|
|
183
176
|
"_ref": [{
|
|
184
177
|
"watch0": 0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-K4o-AcjZ.js';
|
|
2
2
|
import { u as uuid, e as getBoolean, l as getHideProp, c as cls, d as delay } from './index-xkoBSP8R.js';
|
|
3
3
|
import { b as addResetEventListener } from './form-components-D6LQfJvq.js';
|
|
4
4
|
|
|
@@ -113,12 +113,6 @@ const DBRadio = class {
|
|
|
113
113
|
this.watch2Fn();
|
|
114
114
|
}
|
|
115
115
|
componentDidLoad() {
|
|
116
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
117
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
118
|
-
if (connectedElement) {
|
|
119
|
-
connectedElement.remove();
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
116
|
this.enableAttributePassing(this._ref, "db-radio");
|
|
123
117
|
this.initialized = true;
|
|
124
118
|
this.resetIds();
|
|
@@ -131,11 +125,10 @@ const DBRadio = class {
|
|
|
131
125
|
(_a = this.abortController) === null || _a === void 0 ? void 0 : _a.abort();
|
|
132
126
|
}
|
|
133
127
|
render() {
|
|
134
|
-
return (h("label", { key: '
|
|
128
|
+
return (h("label", { key: 'a2b7dddcac7e055e558436ed57c1c6997916a8c0', class: cls("db-radio", this.className), "data-size": this.size, "data-hide-label": getHideProp(this.showLabel), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), htmlFor: this._id }, h("input", { key: '02a94a4237ed5984ce14ab684d981e9676ad68e4', type: "radio", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
|
|
135
129
|
this._ref = el;
|
|
136
|
-
}, id: this._id, name: this.name, checked: getBoolean(this.checked, "checked"), disabled: getBoolean(this.disabled, "disabled"), value: this.value, required: 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, h("slot", { key: '
|
|
130
|
+
}, id: this._id, name: this.name, checked: getBoolean(this.checked, "checked"), disabled: getBoolean(this.disabled, "disabled"), value: this.value, required: 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, h("slot", { key: '3b430b5725a3d8c27c71e4937e009bc9da2eb1ef' })));
|
|
137
131
|
}
|
|
138
|
-
get rootElement() { return getElement(this); }
|
|
139
132
|
static get watchers() { return {
|
|
140
133
|
"id": [{
|
|
141
134
|
"watch0": 0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h
|
|
1
|
+
import { r as registerInstance, h } from './index-K4o-AcjZ.js';
|
|
2
2
|
import { c as cls } from './index-xkoBSP8R.js';
|
|
3
3
|
|
|
4
4
|
const DBSection = class {
|
|
@@ -42,21 +42,14 @@ const DBSection = class {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
componentDidLoad() {
|
|
45
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
46
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
47
|
-
if (connectedElement) {
|
|
48
|
-
connectedElement.remove();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
45
|
this.enableAttributePassing(this._ref, "db-section");
|
|
52
46
|
}
|
|
53
47
|
render() {
|
|
54
48
|
var _a, _b;
|
|
55
|
-
return (h("section", { key: '
|
|
49
|
+
return (h("section", { key: '8e4972331d6f10d78c705481dab9d7a7336bd5fd', class: cls("db-section", this.className), ref: (el) => {
|
|
56
50
|
this._ref = el;
|
|
57
|
-
}, 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 }, 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-spacing": this.spacing || "medium", "data-width": this.width }, h("slot", { key: 'e495f7247f9da72811055148e4a0a73489a10516' })));
|
|
58
52
|
}
|
|
59
|
-
get rootElement() { return getElement(this); }
|
|
60
53
|
};
|
|
61
54
|
|
|
62
55
|
export { DBSection as db_section };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-K4o-AcjZ.js';
|
|
2
2
|
import { l as DEFAULT_INVALID_MESSAGE, f as DEFAULT_MESSAGE_ID_SUFFIX, g as DEFAULT_VALID_MESSAGE_ID_SUFFIX, h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, i as DEFAULT_PLACEHOLDER_ID_SUFFIX, k as DEFAULT_VALID_MESSAGE, a as DEFAULT_LABEL } from './constants-BdL-nI5y.js';
|
|
3
3
|
import { h as hasVoiceOver, d as delay, s as stringPropVisible, u as uuid, e as getBoolean, g as getBooleanAsString, l as getHideProp, c as cls } from './index-xkoBSP8R.js';
|
|
4
4
|
import { c as addValueResetEventListener } from './form-components-D6LQfJvq.js';
|
|
@@ -220,12 +220,6 @@ const DBSelect = class {
|
|
|
220
220
|
this.watch4Fn();
|
|
221
221
|
}
|
|
222
222
|
componentDidLoad() {
|
|
223
|
-
if (document && this.rootElement && this.rootElement.dataset.connect) {
|
|
224
|
-
const connectedElement = document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);
|
|
225
|
-
if (connectedElement) {
|
|
226
|
-
connectedElement.remove();
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
223
|
this.enableAttributePassing(this._ref, "db-select");
|
|
230
224
|
this.initialized = true;
|
|
231
225
|
this.resetIds();
|
|
@@ -242,16 +236,15 @@ const DBSelect = class {
|
|
|
242
236
|
}
|
|
243
237
|
render() {
|
|
244
238
|
var _a, _b, _c, _d, _e, _f;
|
|
245
|
-
return (h("div", { key: '
|
|
239
|
+
return (h("div", { key: '447466cea315310bff6793d9357323b45d4db313', class: cls("db-select", this.className), "data-variant": this.variant, "data-hide-label": getHideProp(this.showLabel), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon) }, h("label", { key: 'bc9ee1c59c21a1ec52dc96e1aecc9892ef5b29ac', htmlFor: this._id }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL), h("select", { key: '10e6f2c0ebedb72cbbcae2e78133353bd646eee8', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
|
|
246
240
|
this._ref = el;
|
|
247
241
|
}, required: getBoolean(this.required, "required"), disabled: getBoolean(this.disabled, "disabled"), id: this._id, name: this.name, size: this.size,
|
|
248
242
|
/* @ts-ignore */
|
|
249
243
|
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 ? (h("option", { class: "placeholder", value: "", "data-show-empty-option": 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) => {
|
|
250
244
|
var _a;
|
|
251
245
|
return (h(Fragment, null, option.options ? (h("optgroup", { label: this.getOptionLabel(option), key: undefined }, (_a = option.options) === null || _a === void 0 ? void 0 : _a.map((optgroupOption) => (h("option", { value: optgroupOption.value, selected: optgroupOption.selected, disabled: optgroupOption.disabled, key: undefined }, this.getOptionLabel(optgroupOption)))))) : (h("option", { value: option.value, disabled: option.disabled, selected: option.selected, key: undefined }, this.getOptionLabel(option)))));
|
|
252
|
-
})) : (h("slot", null))), this.placeholder ? (h("span", { class: "db-select-placeholder", id: this._placeholderId }, this.placeholder)) : null, stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '
|
|
246
|
+
})) : (h("slot", null))), this.placeholder ? (h("span", { class: "db-select-placeholder", id: this._placeholderId }, this.placeholder)) : null, stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '186aaf564139c38963f7f448c15e8e1760e2b41c', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: 'c0fd12cd115acb62a4d3bf13dc8572b80c386d67', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
253
247
|
}
|
|
254
|
-
get rootElement() { return getElement(this); }
|
|
255
248
|
static get watchers() { return {
|
|
256
249
|
"id": [{
|
|
257
250
|
"watch0": 0
|