@db-ux/wc-core-components 4.2.5 → 4.2.7-consolidation2-66e78e5
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 +6 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -3
- package/dist/cjs/{constants-CTtyzyuo.js → constants-bMY2_d8A.js} +4 -3
- package/dist/cjs/db-accordion-item.cjs.entry.js +12 -7
- package/dist/cjs/db-accordion.cjs.entry.js +29 -12
- package/dist/cjs/db-badge.cjs.entry.js +9 -6
- package/dist/cjs/db-brand.cjs.entry.js +3 -4
- package/dist/cjs/db-button.cjs.entry.js +2 -3
- package/dist/cjs/db-card.cjs.entry.js +2 -3
- package/dist/cjs/db-checkbox.cjs.entry.js +30 -11
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +27 -14
- package/dist/cjs/db-custom-select-form-field.cjs.entry.js +2 -3
- package/dist/cjs/db-custom-select.cjs.entry.js +101 -36
- package/dist/cjs/db-divider.cjs.entry.js +2 -3
- package/dist/cjs/db-drawer.cjs.entry.js +15 -8
- package/dist/cjs/db-header.cjs.entry.js +9 -6
- package/dist/cjs/db-icon.cjs.entry.js +2 -3
- package/dist/cjs/db-infotext.cjs.entry.js +2 -3
- package/dist/cjs/db-link.cjs.entry.js +5 -6
- package/dist/cjs/db-navigation-item.cjs.entry.js +12 -7
- package/dist/cjs/db-navigation.cjs.entry.js +3 -4
- package/dist/cjs/db-notification.cjs.entry.js +3 -4
- package/dist/cjs/db-page.cjs.entry.js +2 -3
- package/dist/cjs/db-popover.cjs.entry.js +14 -7
- package/dist/cjs/db-radio.cjs.entry.js +14 -7
- package/dist/cjs/db-section.cjs.entry.js +2 -3
- package/dist/cjs/db-select.cjs.entry.js +21 -10
- package/dist/cjs/db-stack.cjs.entry.js +2 -3
- package/dist/cjs/db-switch.cjs.entry.js +28 -13
- package/dist/cjs/db-tab-item_3.cjs.entry.js +15 -8
- package/dist/cjs/db-tabs.cjs.entry.js +8 -5
- package/dist/cjs/db-textarea.cjs.entry.js +18 -9
- package/dist/cjs/db-tooltip.cjs.entry.js +10 -7
- package/dist/cjs/db-ux.cjs.js +3 -4
- package/dist/cjs/{document-click-listener-DGna8oDJ.js → document-click-listener-B2Xzqbvs.js} +1 -4
- package/dist/cjs/{document-scroll-listener-BBXRu9dN.js → document-scroll-listener-C_v46oIg.js} +1 -4
- package/dist/cjs/floating-components-ogUqz72V.js +0 -3
- package/dist/cjs/{form-components-CPqbzZwG.js → form-components-BrtqMwX0.js} +1 -4
- package/dist/cjs/{index-Bm2Cw2rz.js → index-CW5aVEyQ.js} +19 -3
- package/dist/cjs/{index-Db5RdCbB.js → index-Mi8dWSSD.js} +190 -142
- package/dist/cjs/index.cjs.js +7 -6
- package/dist/cjs/loader.cjs.js +2 -3
- package/dist/cjs/navigation-DauGE-qj.js +0 -3
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/accordion.js +14 -8
- package/dist/collection/components/accordion/index.js +0 -1
- package/dist/collection/components/accordion/model.js +0 -1
- package/dist/collection/components/accordion-item/accordion-item.js +14 -8
- package/dist/collection/components/accordion-item/index.js +0 -1
- package/dist/collection/components/accordion-item/model.js +0 -1
- package/dist/collection/components/badge/badge.js +16 -9
- package/dist/collection/components/badge/index.js +0 -1
- package/dist/collection/components/badge/model.js +0 -1
- package/dist/collection/components/brand/brand.js +13 -8
- package/dist/collection/components/brand/index.js +0 -1
- package/dist/collection/components/brand/model.js +0 -1
- package/dist/collection/components/button/button.js +39 -22
- package/dist/collection/components/button/index.js +0 -1
- package/dist/collection/components/button/model.js +0 -1
- package/dist/collection/components/card/card.js +10 -6
- package/dist/collection/components/card/index.js +0 -1
- package/dist/collection/components/card/model.js +0 -1
- package/dist/collection/components/checkbox/checkbox.js +39 -21
- package/dist/collection/components/checkbox/index.js +0 -1
- package/dist/collection/components/checkbox/model.js +0 -1
- package/dist/collection/components/custom-select/custom-select.js +103 -56
- package/dist/collection/components/custom-select/index.js +0 -1
- package/dist/collection/components/custom-select/model.js +0 -1
- package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +6 -4
- package/dist/collection/components/custom-select-dropdown/index.js +0 -1
- package/dist/collection/components/custom-select-dropdown/model.js +0 -1
- package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +4 -3
- package/dist/collection/components/custom-select-form-field/index.js +0 -1
- package/dist/collection/components/custom-select-form-field/model.js +0 -1
- package/dist/collection/components/custom-select-list/custom-select-list.js +8 -5
- package/dist/collection/components/custom-select-list/index.js +0 -1
- package/dist/collection/components/custom-select-list/model.js +0 -1
- package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +27 -15
- package/dist/collection/components/custom-select-list-item/index.js +0 -1
- package/dist/collection/components/custom-select-list-item/model.js +0 -1
- package/dist/collection/components/divider/divider.js +12 -7
- package/dist/collection/components/divider/index.js +0 -1
- package/dist/collection/components/divider/model.js +0 -1
- package/dist/collection/components/drawer/drawer.js +24 -13
- package/dist/collection/components/drawer/index.js +0 -1
- package/dist/collection/components/drawer/model.js +0 -1
- package/dist/collection/components/header/header.js +16 -9
- package/dist/collection/components/header/index.js +0 -1
- package/dist/collection/components/header/model.js +0 -1
- package/dist/collection/components/icon/icon.js +13 -8
- package/dist/collection/components/icon/index.js +0 -1
- package/dist/collection/components/icon/model.js +0 -1
- package/dist/collection/components/infotext/index.js +0 -1
- package/dist/collection/components/infotext/infotext.js +15 -9
- package/dist/collection/components/infotext/model.js +0 -1
- package/dist/collection/components/input/index.js +0 -1
- package/dist/collection/components/input/input.js +104 -57
- package/dist/collection/components/input/model.js +0 -1
- package/dist/collection/components/link/index.js +0 -1
- package/dist/collection/components/link/link.js +83 -18
- package/dist/collection/components/link/model.js +0 -1
- package/dist/collection/components/navigation/index.js +0 -1
- package/dist/collection/components/navigation/model.js +0 -1
- package/dist/collection/components/navigation/navigation.js +4 -3
- package/dist/collection/components/navigation-item/index.js +0 -1
- package/dist/collection/components/navigation-item/model.js +0 -1
- package/dist/collection/components/navigation-item/navigation-item.js +25 -14
- package/dist/collection/components/notification/index.js +0 -1
- package/dist/collection/components/notification/model.js +0 -1
- package/dist/collection/components/notification/notification.js +33 -18
- package/dist/collection/components/page/index.js +0 -1
- package/dist/collection/components/page/model.js +0 -1
- package/dist/collection/components/page/page.js +12 -7
- package/dist/collection/components/popover/index.js +0 -1
- package/dist/collection/components/popover/model.js +0 -1
- package/dist/collection/components/popover/popover.js +18 -10
- package/dist/collection/components/radio/index.js +0 -1
- package/dist/collection/components/radio/model.js +0 -1
- package/dist/collection/components/radio/radio.js +24 -13
- package/dist/collection/components/section/index.js +0 -1
- package/dist/collection/components/section/model.js +0 -1
- package/dist/collection/components/section/section.js +8 -5
- package/dist/collection/components/select/index.js +0 -1
- package/dist/collection/components/select/model.js +0 -1
- package/dist/collection/components/select/select.js +50 -27
- package/dist/collection/components/stack/index.js +0 -1
- package/dist/collection/components/stack/model.js +0 -1
- package/dist/collection/components/stack/stack.js +16 -9
- package/dist/collection/components/switch/index.js +0 -1
- package/dist/collection/components/switch/model.js +0 -1
- package/dist/collection/components/switch/switch.js +48 -27
- package/dist/collection/components/tab-item/index.js +0 -1
- package/dist/collection/components/tab-item/model.js +0 -1
- package/dist/collection/components/tab-item/tab-item.js +31 -18
- package/dist/collection/components/tab-list/index.js +0 -1
- package/dist/collection/components/tab-list/model.js +0 -1
- package/dist/collection/components/tab-list/tab-list.js +4 -3
- package/dist/collection/components/tab-panel/index.js +0 -1
- package/dist/collection/components/tab-panel/model.js +0 -1
- package/dist/collection/components/tab-panel/tab-panel.js +6 -4
- package/dist/collection/components/tabs/index.js +0 -1
- package/dist/collection/components/tabs/model.js +0 -1
- package/dist/collection/components/tabs/tabs.js +22 -12
- package/dist/collection/components/tag/index.js +0 -1
- package/dist/collection/components/tag/model.js +0 -1
- package/dist/collection/components/tag/tag.js +25 -14
- package/dist/collection/components/textarea/index.js +0 -1
- package/dist/collection/components/textarea/model.js +0 -1
- package/dist/collection/components/textarea/textarea.js +67 -35
- package/dist/collection/components/tooltip/index.js +0 -1
- package/dist/collection/components/tooltip/model.js +0 -1
- package/dist/collection/components/tooltip/tooltip.js +18 -10
- package/dist/collection/index.js +0 -1
- package/dist/collection/shared/constants.js +2 -1
- package/dist/collection/shared/examples/index.js +4 -0
- package/dist/collection/shared/model.js +0 -1
- package/dist/collection/utils/document-click-listener.js +0 -1
- package/dist/collection/utils/document-scroll-listener.js +0 -1
- package/dist/collection/utils/floating-components.js +0 -1
- package/dist/collection/utils/form-components.js +0 -1
- package/dist/collection/utils/index.js +18 -1
- package/dist/collection/utils/navigation.js +0 -1
- package/dist/collection/utils/react.js +0 -1
- package/dist/custom-elements.json +1063 -1
- package/dist/db-ux/db-ux.esm.js +1 -2
- package/dist/db-ux/index.esm.js +1 -2
- package/dist/db-ux/p-027fb90a.entry.js +1 -0
- package/dist/db-ux/p-13dd39f1.entry.js +1 -0
- package/dist/db-ux/p-15241486.entry.js +1 -0
- package/dist/db-ux/p-197f90e4.entry.js +1 -0
- package/dist/db-ux/p-2069117e.entry.js +1 -0
- package/dist/db-ux/p-23834011.entry.js +1 -0
- package/dist/db-ux/p-26fa6bc1.entry.js +1 -0
- package/dist/db-ux/p-286f83f4.entry.js +1 -0
- package/dist/db-ux/p-29d3070a.entry.js +1 -0
- package/dist/db-ux/p-29efc51e.entry.js +1 -0
- package/dist/db-ux/p-2baf9c08.entry.js +1 -0
- package/dist/db-ux/p-3622f7e7.entry.js +1 -0
- package/dist/db-ux/p-40ce182c.entry.js +1 -0
- package/dist/db-ux/p-5426dbd3.entry.js +1 -0
- package/dist/db-ux/p-58611dcc.entry.js +1 -0
- package/dist/db-ux/p-5bca6d35.entry.js +1 -0
- package/dist/db-ux/p-623a6b59.entry.js +1 -0
- package/dist/db-ux/p-78f6b72a.entry.js +1 -0
- package/dist/db-ux/p-86414acd.entry.js +1 -0
- package/dist/db-ux/p-9a543d5a.entry.js +1 -0
- package/dist/db-ux/p-9d5365f7.entry.js +1 -0
- package/dist/db-ux/p-9pYJFapZ.js +2 -0
- package/dist/db-ux/p-BdL-nI5y.js +1 -0
- package/dist/db-ux/p-BwBkekqp.js +1 -0
- package/dist/db-ux/p-Cb-k135w.js +1 -0
- package/dist/db-ux/p-DQuL1Twl.js +1 -2
- package/dist/db-ux/p-EqlW5Wqf.js +1 -0
- package/dist/db-ux/p-G-TursYV.js +1 -2
- package/dist/db-ux/p-a1e66a3d.entry.js +1 -0
- package/dist/db-ux/p-a232eea2.entry.js +1 -0
- package/dist/db-ux/p-a7463ead.entry.js +1 -0
- package/dist/db-ux/p-a98bde77.entry.js +1 -0
- package/dist/db-ux/p-af0e61d0.entry.js +1 -0
- package/dist/db-ux/p-b6538eed.entry.js +1 -0
- package/dist/db-ux/p-bde7ff5f.entry.js +1 -0
- package/dist/db-ux/p-c9d514e5.entry.js +1 -0
- package/dist/db-ux/p-cqrM3KjS.js +1 -0
- package/dist/db-ux/p-e30a4814.entry.js +1 -0
- package/dist/db-ux/p-sP2NlPcu.js +1 -2
- package/dist/esm/app-globals-DQuL1Twl.js +0 -3
- package/dist/esm/{constants-DC9V_oNU.js → constants-BdL-nI5y.js} +3 -4
- package/dist/esm/db-accordion-item.entry.js +12 -7
- package/dist/esm/db-accordion.entry.js +29 -12
- package/dist/esm/db-badge.entry.js +9 -6
- package/dist/esm/db-brand.entry.js +3 -4
- package/dist/esm/db-button.entry.js +2 -3
- package/dist/esm/db-card.entry.js +2 -3
- package/dist/esm/db-checkbox.entry.js +30 -11
- package/dist/esm/db-custom-select-dropdown_5.entry.js +27 -14
- package/dist/esm/db-custom-select-form-field.entry.js +2 -3
- package/dist/esm/db-custom-select.entry.js +101 -36
- package/dist/esm/db-divider.entry.js +2 -3
- package/dist/esm/db-drawer.entry.js +15 -8
- package/dist/esm/db-header.entry.js +9 -6
- package/dist/esm/db-icon.entry.js +2 -3
- package/dist/esm/db-infotext.entry.js +2 -3
- package/dist/esm/db-link.entry.js +5 -6
- package/dist/esm/db-navigation-item.entry.js +12 -7
- package/dist/esm/db-navigation.entry.js +3 -4
- package/dist/esm/db-notification.entry.js +3 -4
- package/dist/esm/db-page.entry.js +2 -3
- package/dist/esm/db-popover.entry.js +14 -7
- package/dist/esm/db-radio.entry.js +14 -7
- package/dist/esm/db-section.entry.js +2 -3
- package/dist/esm/db-select.entry.js +21 -10
- package/dist/esm/db-stack.entry.js +2 -3
- package/dist/esm/db-switch.entry.js +28 -13
- package/dist/esm/db-tab-item_3.entry.js +15 -8
- package/dist/esm/db-tabs.entry.js +8 -5
- package/dist/esm/db-textarea.entry.js +18 -9
- package/dist/esm/db-tooltip.entry.js +10 -7
- package/dist/esm/db-ux.js +4 -5
- package/dist/esm/{document-click-listener-D1ZXrKSx.js → document-click-listener-B_LaIr0O.js} +1 -4
- package/dist/esm/{document-scroll-listener-DF6f0ByI.js → document-scroll-listener-dHAsT0Tb.js} +1 -4
- package/dist/esm/floating-components-G-TursYV.js +0 -3
- package/dist/esm/{form-components-DmI6JmyJ.js → form-components-Cl_wgkeJ.js} +1 -4
- package/dist/esm/{index-BMAwJo5Z.js → index-9pYJFapZ.js} +190 -142
- package/dist/esm/{index-DhKljLRG.js → index-BwBkekqp.js} +19 -4
- package/dist/esm/index.js +4 -6
- package/dist/esm/loader.js +3 -4
- package/dist/esm/navigation--UdC9CzO.js +0 -3
- package/dist/types/components/custom-select/custom-select.d.ts +1 -1
- package/dist/types/components/link/link.d.ts +2 -0
- package/dist/types/components.d.ts +4 -0
- package/dist/types/shared/constants.d.ts +2 -0
- package/dist/types/shared/examples/index.d.ts +4 -0
- package/dist/types/shared/model.d.ts +12 -0
- package/dist/types/stencil-public-runtime.d.ts +87 -4
- package/dist/types/utils/index.d.ts +10 -0
- package/dist/vscode.html-custom-data.json +118 -0
- package/dist/web-types.json +177 -1
- package/package.json +10 -9
- package/dist/cjs/app-globals-V2Kpy_OQ.js.map +0 -1
- package/dist/cjs/constants-CTtyzyuo.js.map +0 -1
- package/dist/cjs/db-accordion-item.entry.cjs.js.map +0 -1
- package/dist/cjs/db-accordion.entry.cjs.js.map +0 -1
- package/dist/cjs/db-badge.entry.cjs.js.map +0 -1
- package/dist/cjs/db-brand.entry.cjs.js.map +0 -1
- package/dist/cjs/db-button.entry.cjs.js.map +0 -1
- package/dist/cjs/db-card.entry.cjs.js.map +0 -1
- package/dist/cjs/db-checkbox.entry.cjs.js.map +0 -1
- package/dist/cjs/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.entry.cjs.js.map +0 -1
- package/dist/cjs/db-custom-select-form-field.entry.cjs.js.map +0 -1
- package/dist/cjs/db-custom-select.entry.cjs.js.map +0 -1
- package/dist/cjs/db-divider.entry.cjs.js.map +0 -1
- package/dist/cjs/db-drawer.entry.cjs.js.map +0 -1
- package/dist/cjs/db-header.entry.cjs.js.map +0 -1
- package/dist/cjs/db-icon.entry.cjs.js.map +0 -1
- package/dist/cjs/db-infotext.entry.cjs.js.map +0 -1
- package/dist/cjs/db-link.entry.cjs.js.map +0 -1
- package/dist/cjs/db-navigation-item.entry.cjs.js.map +0 -1
- package/dist/cjs/db-navigation.entry.cjs.js.map +0 -1
- package/dist/cjs/db-notification.entry.cjs.js.map +0 -1
- package/dist/cjs/db-page.entry.cjs.js.map +0 -1
- package/dist/cjs/db-popover.entry.cjs.js.map +0 -1
- package/dist/cjs/db-radio.entry.cjs.js.map +0 -1
- package/dist/cjs/db-section.entry.cjs.js.map +0 -1
- package/dist/cjs/db-select.entry.cjs.js.map +0 -1
- package/dist/cjs/db-stack.entry.cjs.js.map +0 -1
- package/dist/cjs/db-switch.entry.cjs.js.map +0 -1
- package/dist/cjs/db-tab-item.db-tab-list.db-tab-panel.entry.cjs.js.map +0 -1
- package/dist/cjs/db-tabs.entry.cjs.js.map +0 -1
- package/dist/cjs/db-textarea.entry.cjs.js.map +0 -1
- package/dist/cjs/db-tooltip.entry.cjs.js.map +0 -1
- package/dist/cjs/db-ux.cjs.js.map +0 -1
- package/dist/cjs/document-click-listener-DGna8oDJ.js.map +0 -1
- package/dist/cjs/document-scroll-listener-BBXRu9dN.js.map +0 -1
- package/dist/cjs/floating-components-ogUqz72V.js.map +0 -1
- package/dist/cjs/form-components-CPqbzZwG.js.map +0 -1
- package/dist/cjs/index-Bm2Cw2rz.js.map +0 -1
- package/dist/cjs/index-Db5RdCbB.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/navigation-DauGE-qj.js.map +0 -1
- package/dist/collection/components/accordion/accordion.js.map +0 -1
- package/dist/collection/components/accordion/index.js.map +0 -1
- package/dist/collection/components/accordion/model.js.map +0 -1
- package/dist/collection/components/accordion-item/accordion-item.js.map +0 -1
- package/dist/collection/components/accordion-item/index.js.map +0 -1
- package/dist/collection/components/accordion-item/model.js.map +0 -1
- package/dist/collection/components/badge/badge.js.map +0 -1
- package/dist/collection/components/badge/index.js.map +0 -1
- package/dist/collection/components/badge/model.js.map +0 -1
- package/dist/collection/components/brand/brand.js.map +0 -1
- package/dist/collection/components/brand/index.js.map +0 -1
- package/dist/collection/components/brand/model.js.map +0 -1
- package/dist/collection/components/button/button.js.map +0 -1
- package/dist/collection/components/button/index.js.map +0 -1
- package/dist/collection/components/button/model.js.map +0 -1
- package/dist/collection/components/card/card.js.map +0 -1
- package/dist/collection/components/card/index.js.map +0 -1
- package/dist/collection/components/card/model.js.map +0 -1
- package/dist/collection/components/checkbox/checkbox.js.map +0 -1
- package/dist/collection/components/checkbox/index.js.map +0 -1
- package/dist/collection/components/checkbox/model.js.map +0 -1
- package/dist/collection/components/custom-select/custom-select.js.map +0 -1
- package/dist/collection/components/custom-select/index.js.map +0 -1
- package/dist/collection/components/custom-select/model.js.map +0 -1
- package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js.map +0 -1
- package/dist/collection/components/custom-select-dropdown/index.js.map +0 -1
- package/dist/collection/components/custom-select-dropdown/model.js.map +0 -1
- package/dist/collection/components/custom-select-form-field/custom-select-form-field.js.map +0 -1
- package/dist/collection/components/custom-select-form-field/index.js.map +0 -1
- package/dist/collection/components/custom-select-form-field/model.js.map +0 -1
- package/dist/collection/components/custom-select-list/custom-select-list.js.map +0 -1
- package/dist/collection/components/custom-select-list/index.js.map +0 -1
- package/dist/collection/components/custom-select-list/model.js.map +0 -1
- package/dist/collection/components/custom-select-list-item/custom-select-list-item.js.map +0 -1
- package/dist/collection/components/custom-select-list-item/index.js.map +0 -1
- package/dist/collection/components/custom-select-list-item/model.js.map +0 -1
- package/dist/collection/components/divider/divider.js.map +0 -1
- package/dist/collection/components/divider/index.js.map +0 -1
- package/dist/collection/components/divider/model.js.map +0 -1
- package/dist/collection/components/drawer/drawer.js.map +0 -1
- package/dist/collection/components/drawer/index.js.map +0 -1
- package/dist/collection/components/drawer/model.js.map +0 -1
- package/dist/collection/components/header/header.js.map +0 -1
- package/dist/collection/components/header/index.js.map +0 -1
- package/dist/collection/components/header/model.js.map +0 -1
- package/dist/collection/components/icon/icon.js.map +0 -1
- package/dist/collection/components/icon/index.js.map +0 -1
- package/dist/collection/components/icon/model.js.map +0 -1
- package/dist/collection/components/infotext/index.js.map +0 -1
- package/dist/collection/components/infotext/infotext.js.map +0 -1
- package/dist/collection/components/infotext/model.js.map +0 -1
- package/dist/collection/components/input/index.js.map +0 -1
- package/dist/collection/components/input/input.js.map +0 -1
- package/dist/collection/components/input/model.js.map +0 -1
- package/dist/collection/components/link/index.js.map +0 -1
- package/dist/collection/components/link/link.js.map +0 -1
- package/dist/collection/components/link/model.js.map +0 -1
- package/dist/collection/components/navigation/index.js.map +0 -1
- package/dist/collection/components/navigation/model.js.map +0 -1
- package/dist/collection/components/navigation/navigation.js.map +0 -1
- package/dist/collection/components/navigation-item/index.js.map +0 -1
- package/dist/collection/components/navigation-item/model.js.map +0 -1
- package/dist/collection/components/navigation-item/navigation-item.js.map +0 -1
- package/dist/collection/components/notification/index.js.map +0 -1
- package/dist/collection/components/notification/model.js.map +0 -1
- package/dist/collection/components/notification/notification.js.map +0 -1
- package/dist/collection/components/page/index.js.map +0 -1
- package/dist/collection/components/page/model.js.map +0 -1
- package/dist/collection/components/page/page.js.map +0 -1
- package/dist/collection/components/popover/index.js.map +0 -1
- package/dist/collection/components/popover/model.js.map +0 -1
- package/dist/collection/components/popover/popover.js.map +0 -1
- package/dist/collection/components/radio/index.js.map +0 -1
- package/dist/collection/components/radio/model.js.map +0 -1
- package/dist/collection/components/radio/radio.js.map +0 -1
- package/dist/collection/components/section/index.js.map +0 -1
- package/dist/collection/components/section/model.js.map +0 -1
- package/dist/collection/components/section/section.js.map +0 -1
- package/dist/collection/components/select/index.js.map +0 -1
- package/dist/collection/components/select/model.js.map +0 -1
- package/dist/collection/components/select/select.js.map +0 -1
- package/dist/collection/components/stack/index.js.map +0 -1
- package/dist/collection/components/stack/model.js.map +0 -1
- package/dist/collection/components/stack/stack.js.map +0 -1
- package/dist/collection/components/switch/index.js.map +0 -1
- package/dist/collection/components/switch/model.js.map +0 -1
- package/dist/collection/components/switch/switch.js.map +0 -1
- package/dist/collection/components/tab-item/index.js.map +0 -1
- package/dist/collection/components/tab-item/model.js.map +0 -1
- package/dist/collection/components/tab-item/tab-item.js.map +0 -1
- package/dist/collection/components/tab-list/index.js.map +0 -1
- package/dist/collection/components/tab-list/model.js.map +0 -1
- package/dist/collection/components/tab-list/tab-list.js.map +0 -1
- package/dist/collection/components/tab-panel/index.js.map +0 -1
- package/dist/collection/components/tab-panel/model.js.map +0 -1
- package/dist/collection/components/tab-panel/tab-panel.js.map +0 -1
- package/dist/collection/components/tabs/index.js.map +0 -1
- package/dist/collection/components/tabs/model.js.map +0 -1
- package/dist/collection/components/tabs/tabs.js.map +0 -1
- package/dist/collection/components/tag/index.js.map +0 -1
- package/dist/collection/components/tag/model.js.map +0 -1
- package/dist/collection/components/tag/tag.js.map +0 -1
- package/dist/collection/components/textarea/index.js.map +0 -1
- package/dist/collection/components/textarea/model.js.map +0 -1
- package/dist/collection/components/textarea/textarea.js.map +0 -1
- package/dist/collection/components/tooltip/index.js.map +0 -1
- package/dist/collection/components/tooltip/model.js.map +0 -1
- package/dist/collection/components/tooltip/tooltip.js.map +0 -1
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/shared/constants.js.map +0 -1
- package/dist/collection/shared/model.js.map +0 -1
- package/dist/collection/utils/document-click-listener.js.map +0 -1
- package/dist/collection/utils/document-scroll-listener.js.map +0 -1
- package/dist/collection/utils/floating-components.js.map +0 -1
- package/dist/collection/utils/form-components.js.map +0 -1
- package/dist/collection/utils/index.js.map +0 -1
- package/dist/collection/utils/navigation.js.map +0 -1
- package/dist/collection/utils/react.js.map +0 -1
- package/dist/db-ux/db-accordion-item.entry.esm.js.map +0 -1
- package/dist/db-ux/db-accordion.entry.esm.js.map +0 -1
- package/dist/db-ux/db-badge.entry.esm.js.map +0 -1
- package/dist/db-ux/db-brand.entry.esm.js.map +0 -1
- package/dist/db-ux/db-button.entry.esm.js.map +0 -1
- package/dist/db-ux/db-card.entry.esm.js.map +0 -1
- package/dist/db-ux/db-checkbox.entry.esm.js.map +0 -1
- package/dist/db-ux/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.entry.esm.js.map +0 -1
- package/dist/db-ux/db-custom-select-form-field.entry.esm.js.map +0 -1
- package/dist/db-ux/db-custom-select.entry.esm.js.map +0 -1
- package/dist/db-ux/db-divider.entry.esm.js.map +0 -1
- package/dist/db-ux/db-drawer.entry.esm.js.map +0 -1
- package/dist/db-ux/db-header.entry.esm.js.map +0 -1
- package/dist/db-ux/db-icon.entry.esm.js.map +0 -1
- package/dist/db-ux/db-infotext.entry.esm.js.map +0 -1
- package/dist/db-ux/db-link.entry.esm.js.map +0 -1
- package/dist/db-ux/db-navigation-item.entry.esm.js.map +0 -1
- package/dist/db-ux/db-navigation.entry.esm.js.map +0 -1
- package/dist/db-ux/db-notification.entry.esm.js.map +0 -1
- package/dist/db-ux/db-page.entry.esm.js.map +0 -1
- package/dist/db-ux/db-popover.entry.esm.js.map +0 -1
- package/dist/db-ux/db-radio.entry.esm.js.map +0 -1
- package/dist/db-ux/db-section.entry.esm.js.map +0 -1
- package/dist/db-ux/db-select.entry.esm.js.map +0 -1
- package/dist/db-ux/db-stack.entry.esm.js.map +0 -1
- package/dist/db-ux/db-switch.entry.esm.js.map +0 -1
- package/dist/db-ux/db-tab-item.db-tab-list.db-tab-panel.entry.esm.js.map +0 -1
- package/dist/db-ux/db-tabs.entry.esm.js.map +0 -1
- package/dist/db-ux/db-textarea.entry.esm.js.map +0 -1
- package/dist/db-ux/db-tooltip.entry.esm.js.map +0 -1
- package/dist/db-ux/db-ux.esm.js.map +0 -1
- package/dist/db-ux/index.esm.js.map +0 -1
- package/dist/db-ux/loader.esm.js.map +0 -1
- package/dist/db-ux/p-129cbaa9.entry.js +0 -2
- package/dist/db-ux/p-129cbaa9.entry.js.map +0 -1
- package/dist/db-ux/p-162c989a.entry.js +0 -2
- package/dist/db-ux/p-162c989a.entry.js.map +0 -1
- package/dist/db-ux/p-18f10b76.entry.js +0 -2
- package/dist/db-ux/p-18f10b76.entry.js.map +0 -1
- package/dist/db-ux/p-1dcb2a08.entry.js +0 -2
- package/dist/db-ux/p-1dcb2a08.entry.js.map +0 -1
- package/dist/db-ux/p-2addb72d.entry.js +0 -2
- package/dist/db-ux/p-2addb72d.entry.js.map +0 -1
- package/dist/db-ux/p-2f6afcbc.entry.js +0 -2
- package/dist/db-ux/p-2f6afcbc.entry.js.map +0 -1
- package/dist/db-ux/p-35bb2b0a.entry.js +0 -2
- package/dist/db-ux/p-35bb2b0a.entry.js.map +0 -1
- package/dist/db-ux/p-4318a6c7.entry.js +0 -2
- package/dist/db-ux/p-4318a6c7.entry.js.map +0 -1
- package/dist/db-ux/p-45562afc.entry.js +0 -2
- package/dist/db-ux/p-45562afc.entry.js.map +0 -1
- package/dist/db-ux/p-49b9ab25.entry.js +0 -2
- package/dist/db-ux/p-49b9ab25.entry.js.map +0 -1
- package/dist/db-ux/p-4c944f45.entry.js +0 -2
- package/dist/db-ux/p-4c944f45.entry.js.map +0 -1
- package/dist/db-ux/p-4ff5ddf2.entry.js +0 -2
- package/dist/db-ux/p-4ff5ddf2.entry.js.map +0 -1
- package/dist/db-ux/p-5b15eef1.entry.js +0 -2
- package/dist/db-ux/p-5b15eef1.entry.js.map +0 -1
- package/dist/db-ux/p-68c1dd8d.entry.js +0 -2
- package/dist/db-ux/p-68c1dd8d.entry.js.map +0 -1
- package/dist/db-ux/p-78f062f6.entry.js +0 -2
- package/dist/db-ux/p-78f062f6.entry.js.map +0 -1
- package/dist/db-ux/p-7c0eefb1.entry.js +0 -2
- package/dist/db-ux/p-7c0eefb1.entry.js.map +0 -1
- package/dist/db-ux/p-7c46fd6c.entry.js +0 -2
- package/dist/db-ux/p-7c46fd6c.entry.js.map +0 -1
- package/dist/db-ux/p-7f894c65.entry.js +0 -2
- package/dist/db-ux/p-7f894c65.entry.js.map +0 -1
- package/dist/db-ux/p-84ab3984.entry.js +0 -2
- package/dist/db-ux/p-84ab3984.entry.js.map +0 -1
- package/dist/db-ux/p-89e04100.entry.js +0 -2
- package/dist/db-ux/p-89e04100.entry.js.map +0 -1
- package/dist/db-ux/p-BMAwJo5Z.js +0 -3
- package/dist/db-ux/p-BMAwJo5Z.js.map +0 -1
- package/dist/db-ux/p-BMfF_eQJ.js +0 -2
- package/dist/db-ux/p-BMfF_eQJ.js.map +0 -1
- package/dist/db-ux/p-BX4jNwUm.js +0 -2
- package/dist/db-ux/p-BX4jNwUm.js.map +0 -1
- package/dist/db-ux/p-CdVqfu2Z.js +0 -2
- package/dist/db-ux/p-CdVqfu2Z.js.map +0 -1
- package/dist/db-ux/p-DC9V_oNU.js +0 -2
- package/dist/db-ux/p-DC9V_oNU.js.map +0 -1
- package/dist/db-ux/p-DQuL1Twl.js.map +0 -1
- package/dist/db-ux/p-DhKljLRG.js +0 -2
- package/dist/db-ux/p-DhKljLRG.js.map +0 -1
- package/dist/db-ux/p-G-TursYV.js.map +0 -1
- package/dist/db-ux/p-baeda9f2.entry.js +0 -2
- package/dist/db-ux/p-baeda9f2.entry.js.map +0 -1
- package/dist/db-ux/p-bc6b636e.entry.js +0 -2
- package/dist/db-ux/p-bc6b636e.entry.js.map +0 -1
- package/dist/db-ux/p-c7bb7bea.entry.js +0 -2
- package/dist/db-ux/p-c7bb7bea.entry.js.map +0 -1
- package/dist/db-ux/p-d1b7a69c.entry.js +0 -2
- package/dist/db-ux/p-d1b7a69c.entry.js.map +0 -1
- package/dist/db-ux/p-d2e189a4.entry.js +0 -2
- package/dist/db-ux/p-d2e189a4.entry.js.map +0 -1
- package/dist/db-ux/p-d9c43ba7.entry.js +0 -2
- package/dist/db-ux/p-d9c43ba7.entry.js.map +0 -1
- package/dist/db-ux/p-e46f112c.entry.js +0 -2
- package/dist/db-ux/p-e46f112c.entry.js.map +0 -1
- package/dist/db-ux/p-e470d0a2.entry.js +0 -2
- package/dist/db-ux/p-e470d0a2.entry.js.map +0 -1
- package/dist/db-ux/p-f7c1e940.entry.js +0 -2
- package/dist/db-ux/p-f7c1e940.entry.js.map +0 -1
- package/dist/db-ux/p-fedb9696.entry.js +0 -2
- package/dist/db-ux/p-fedb9696.entry.js.map +0 -1
- package/dist/db-ux/p-sP2NlPcu.js.map +0 -1
- package/dist/esm/app-globals-DQuL1Twl.js.map +0 -1
- package/dist/esm/constants-DC9V_oNU.js.map +0 -1
- package/dist/esm/db-accordion-item.entry.js.map +0 -1
- package/dist/esm/db-accordion.entry.js.map +0 -1
- package/dist/esm/db-badge.entry.js.map +0 -1
- package/dist/esm/db-brand.entry.js.map +0 -1
- package/dist/esm/db-button.entry.js.map +0 -1
- package/dist/esm/db-card.entry.js.map +0 -1
- package/dist/esm/db-checkbox.entry.js.map +0 -1
- package/dist/esm/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.entry.js.map +0 -1
- package/dist/esm/db-custom-select-form-field.entry.js.map +0 -1
- package/dist/esm/db-custom-select.entry.js.map +0 -1
- package/dist/esm/db-divider.entry.js.map +0 -1
- package/dist/esm/db-drawer.entry.js.map +0 -1
- package/dist/esm/db-header.entry.js.map +0 -1
- package/dist/esm/db-icon.entry.js.map +0 -1
- package/dist/esm/db-infotext.entry.js.map +0 -1
- package/dist/esm/db-link.entry.js.map +0 -1
- package/dist/esm/db-navigation-item.entry.js.map +0 -1
- package/dist/esm/db-navigation.entry.js.map +0 -1
- package/dist/esm/db-notification.entry.js.map +0 -1
- package/dist/esm/db-page.entry.js.map +0 -1
- package/dist/esm/db-popover.entry.js.map +0 -1
- package/dist/esm/db-radio.entry.js.map +0 -1
- package/dist/esm/db-section.entry.js.map +0 -1
- package/dist/esm/db-select.entry.js.map +0 -1
- package/dist/esm/db-stack.entry.js.map +0 -1
- package/dist/esm/db-switch.entry.js.map +0 -1
- package/dist/esm/db-tab-item.db-tab-list.db-tab-panel.entry.js.map +0 -1
- package/dist/esm/db-tabs.entry.js.map +0 -1
- package/dist/esm/db-textarea.entry.js.map +0 -1
- package/dist/esm/db-tooltip.entry.js.map +0 -1
- package/dist/esm/db-ux.js.map +0 -1
- package/dist/esm/document-click-listener-D1ZXrKSx.js.map +0 -1
- package/dist/esm/document-scroll-listener-DF6f0ByI.js.map +0 -1
- package/dist/esm/floating-components-G-TursYV.js.map +0 -1
- package/dist/esm/form-components-DmI6JmyJ.js.map +0 -1
- package/dist/esm/index-BMAwJo5Z.js.map +0 -1
- package/dist/esm/index-DhKljLRG.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/navigation--UdC9CzO.js.map +0 -1
package/dist/db-ux/p-G-TursYV.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
const t=t=>{var
|
|
2
|
-
//# sourceMappingURL=p-G-TursYV.js.map
|
|
1
|
+
const t=t=>{const{outTop:o,outBottom:e,outLeft:i,outRight:l}=(t=>{var o;const{top:e,bottom:i,left:l,right:n}=t.getBoundingClientRect(),{innerHeight:r,innerWidth:d}=window;let h=e<0,p=i>r,c=l<0,s=n>d;const a=t.dataset.outsideVy,f=t.dataset.outsideVx,g=null===(o=null==t?void 0:t.parentElement)||void 0===o?void 0:o.getBoundingClientRect();return g&&(a&&("top"===t.dataset.outsideVy?h=g.top-(i-g.bottom)<0:p=g.bottom+(g.top-e)>r),f&&("left"===t.dataset.outsideVx?c=g.left-(n-g.right)<0:s=g.right+(g.left-l)>d)),{outTop:h,outBottom:p,outLeft:c,outRight:s}})(t);let n={};return o||e?(n={vy:o?"top":"bottom"},t.dataset.outsideVy=n.vy):delete t.dataset.outsideVy,i||l?(n=Object.assign(Object.assign({},n),{vx:l?"right":"left"}),t.dataset.outsideVx=n.vx):delete t.dataset.outsideVx,n},o=(t,o,i)=>{if("9999"===getComputedStyle(t).zIndex)return;const{top:l,bottom:n,childHeight:r,childWidth:d,width:h,right:p,left:c,correctedPlacement:s}=e(t,o,i);"full"===t.dataset.width&&(t.style.inlineSize=`${h}px`),"top"===s||"bottom"===s||"top-start"===s||"bottom-start"===s?t.style.insetInlineStart=`${c}px`:"top-end"!==s&&"bottom-end"!==s||(t.style.insetInlineStart=p-d+"px"),(null==s?void 0:s.startsWith("top"))?t.style.insetBlockStart=l-r+"px":(null==s?void 0:s.startsWith("bottom"))&&(t.style.insetBlockStart=`${n}px`),t.style.position="fixed"},e=(t,o,e)=>{if(!t||!o)return{top:0,bottom:0,right:0,height:0,width:0,left:0,childHeight:0,childWidth:0,correctedPlacement:e,innerWidth:window.innerWidth,innerHeight:window.innerHeight};const i=t.getBoundingClientRect(),{top:l,height:n,bottom:r,right:d,left:h,width:p}=o.getBoundingClientRect(),{innerHeight:c,innerWidth:s}=window;let a=i.height,f=i.width;"bottom"!==e&&"top"!==e||(f/=2),"left"!==e&&"right"!==e||(a/=2);const g=r+a>c,b=l-a<0,m=h-f<0,$=d+f>s;let u=e;return e.startsWith("bottom")?g?(u=null==e?void 0:e.replace("bottom","top"),m&&$?u="top":m?u="top-start":$&&(u="top-end")):m&&$?u="bottom":m?u="bottom-start":$&&(u="bottom-end"):e.startsWith("top")?b?(u=null==e?void 0:e.replace("top","bottom"),m&&$?u="bottom":m?u="bottom-start":$&&(u="bottom-end")):m&&$?u="top":m?u="top-start":$&&(u="top-end"):e.startsWith("left")?m?(u=null==e?void 0:e.replace("left","right"),g&&b?u="right":g?u="right-end":b&&(u="right-start")):g&&b?u="left":g?u="left-end":b&&(u="left-start"):u.startsWith("right")&&($?(u=null==e?void 0:e.replace("right","left"),g&&b?u="left":g?u="left-end":b&&(u="left-start")):g&&b?u="right":g?u="right-end":b&&(u="right-start")),{top:l,bottom:r,right:d,height:n,width:p,left:h,childHeight:i.height,childWidth:i.width,correctedPlacement:u,innerWidth:s,innerHeight:c}},i=(t,o,i)=>{var l;const n=null!==(l=getComputedStyle(t).getPropertyValue("--db-popover-distance"))&&void 0!==l?l:"0px",{top:r,height:d,width:h,childHeight:p,childWidth:c,right:s,left:a,bottom:f,correctedPlacement:g,innerWidth:b,innerHeight:m}=e(t,o,i);if(c>h&&(g.startsWith("bottom")||g.startsWith("top"))){const o=h/2/c*100;g.endsWith("start")?t.style.setProperty("--db-tooltip-arrow-inline-start",`${o}%`):g.endsWith("end")&&t.style.setProperty("--db-tooltip-arrow-inline-start",100-o+"%")}if(p>d&&(g.startsWith("left")||g.startsWith("bottom"))){const o=d/2/p*100;g.endsWith("start")?t.style.setProperty("--db-tooltip-arrow-block-start",`${o}%`):g.endsWith("end")&&t.style.setProperty("--db-tooltip-arrow-block-start",100-o+"%")}if("right"===g||"left"===g)t.style.insetBlockStart=`${r+d/2}px`;else if("right-start"===g||"left-start"===g){const o=r+p;t.style.insetBlockStart=`${r}px`,t.style.insetBlockEnd=`${o>m?m:o}px`}else if("right-end"===g||"left-end"===g){const o=f-p;t.style.insetBlockStart=`${o<0?0:o}px`,t.style.insetBlockEnd=`${f}px`}else if("top"===g||"bottom"===g)t.style.insetInlineStart=`${a+h/2}px`;else if("top-start"===g||"bottom-start"===g){const o=a+c;t.style.insetInlineStart=`${a}px`,t.style.insetInlineEnd=`${o>b?b:o}px`}else if("top-end"===g||"bottom-end"===g){const o=a-c;t.style.insetInlineStart=s-c+"px",t.style.insetInlineEnd=`${o<0?0:o}px`}if(null==g?void 0:g.startsWith("right")){const o=s+c;t.style.insetInlineStart=`calc(${s}px + ${n})`,t.style.insetInlineEnd=`calc(${o>b?b:o}px + ${n})`}else if(null==g?void 0:g.startsWith("left")){const o=a-c;t.style.insetInlineStart=`calc(${o<0?0:o}px - ${n})`,t.style.insetInlineEnd=`calc(${s}px - ${n})`}else if(null==g?void 0:g.startsWith("top")){const o=r-p;t.style.insetBlockStart=`calc(${o<0?0:o}px - ${n})`,t.style.insetBlockEnd=`calc(${f}px - ${n})`}else if(null==g?void 0:g.startsWith("bottom")){const o=f+p;t.style.insetBlockStart=`calc(${f}px + ${n})`,t.style.insetBlockEnd=`calc(${o>m?m:o}px + ${n})`}t.style.position="fixed",t.dataset.correctedPlacement=g};export{o as a,i as b,e as g,t as h}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as i}from"./p-9pYJFapZ.js";import{g as a,e,c as h,u as d}from"./p-BwBkekqp.js";import{D as c}from"./p-BdL-nI5y.js";const n=class{constructor(i){t(this,i),this.change=s(this,"change"),this._selected=!1,this._name=void 0,this.initialized=!1,this._listenerAdded=!1,this.boundSetSelectedOnChange=void 0}setSelectedOnChange(t){t.stopPropagation(),this._selected=a(t.target===this._ref)}handleNameAttribute(){if(this._ref){const t=this._ref.setAttribute;this._ref.setAttribute=(s,i)=>{t.call(this._ref,s,i),"name"===s&&(this._name=i)}}}handleChange(t){this.change&&this.change.emit(t)}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let a=0;a<s.length;a++){const e=s.item(a);if(e&&(e.name.startsWith("data-")||e.name.startsWith("aria-"))&&(t.setAttribute(e.name,e.value),i.removeAttribute(e.name)),e&&"class"===e.name){const s=e.value.includes("hydrated"),a=e.value.replace("hydrated","").trim(),h=t.getAttribute("class");t.setAttribute(e.name,`${h?`${h} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(e.name)}}}}watch0Fn(){var t;this._ref&&this.initialized&&this.boundSetSelectedOnChange&&(this.initialized=!1,this._listenerAdded||(null===(t=this._ref.closest("[role=tablist]"))||void 0===t||t.addEventListener("change",this.boundSetSelectedOnChange),this._listenerAdded=!0),(this.active||this._ref.checked)&&(this._selected=a(!0),this._ref.click()))}watch0(){this.watch0Fn()}watch1Fn(){this.name&&(this._name=this.name)}watch1(){this.watch1Fn()}componentDidLoad(){this.enableAttributePassing(this._ref,"db-tab-item"),this.boundSetSelectedOnChange=this.setSelectedOnChange.bind(this),this.initialized=!0,this.watch0Fn(),this.watch1Fn()}disconnectedCallback(){var t;this._listenerAdded&&this._ref&&this.boundSetSelectedOnChange&&(null===(t=this._ref.closest("[role=tablist]"))||void 0===t||t.removeEventListener("change",this.boundSetSelectedOnChange),this._listenerAdded=!1)}render(){var t,s;return i("li",{key:"9bbc9bdc6c450f62ce790a2662b165f9fad484ea",class:h("db-tab-item",this.className),role:"none"},i("label",{key:"e3a4e3afdd250587b5d0cef54eb7d8302980199f",htmlFor:this.id,"data-icon":null!==(t=this.iconLeading)&&void 0!==t?t:this.icon,"data-icon-trailing":this.iconTrailing,"data-show-icon":a(null!==(s=this.showIconLeading)&&void 0!==s?s:this.showIcon),"data-show-icon-trailing":a(this.showIconTrailing),"data-no-text":a(this.noText)},i("input",{key:"372cd912646fd40dc31f49d344d60526442a0f7a",type:"radio",role:"tab",disabled:e(this.disabled,"disabled"),"aria-selected":this._selected,checked:e(this.checked,"checked"),ref:t=>{this._ref=t},name:this._name,id:this.id,onInput:t=>this.handleChange(t)}),this.label?this.label:null,i("slot",{key:"843e696cad853b5ce9d582f210efe86f3d270cb8"})))}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}],boundSetSelectedOnChange:[{watch0:0}],name:[{watch1:0}]}}},l=class{constructor(s){t(this,s),this._id=c}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let a=0;a<s.length;a++){const e=s.item(a);if(e&&(e.name.startsWith("data-")||e.name.startsWith("aria-"))&&(t.setAttribute(e.name,e.value),i.removeAttribute(e.name)),e&&"class"===e.name){const s=e.value.includes("hydrated"),a=e.value.replace("hydrated","").trim(),h=t.getAttribute("class");t.setAttribute(e.name,`${h?`${h} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(e.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-tab-list"),this._id=this.id||"tab-list-"+d()}render(){return i("div",{key:"4ef0a69cacaafb2205ebfea7826c3c1f64a84411",class:h("db-tab-list",this.className),ref:t=>{this._ref=t},id:this._id},i("ul",{key:"cfdccc43bd366eb9c71137918a8ca92fd6a81b69",role:"tablist"},i("slot",{key:"c09711c4b398a3d6b26d62c87aaf0f050af32bdb"})))}},o=class{constructor(s){t(this,s)}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let a=0;a<s.length;a++){const e=s.item(a);if(e&&(e.name.startsWith("data-")||e.name.startsWith("aria-"))&&(t.setAttribute(e.name,e.value),i.removeAttribute(e.name)),e&&"class"===e.name){const s=e.value.includes("hydrated"),a=e.value.replace("hydrated","").trim(),h=t.getAttribute("class");t.setAttribute(e.name,`${h?`${h} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(e.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-tab-panel")}render(){return i("section",{key:"312ef04379d3b4a094999f02ac919e3b0ac31877",class:h("db-tab-panel",this.className),role:"tabpanel",ref:t=>{this._ref=t},id:this.id},this.content?this.content:null,i("slot",{key:"7848155bb7734db6835c0fe7fcf85eb37635110d"}))}};export{n as db_tab_item,l as db_tab_list,o as db_tab_panel}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as t}from"./p-9pYJFapZ.js";import{q as a}from"./p-BdL-nI5y.js";import{g as i,c as d}from"./p-BwBkekqp.js";const o=class{constructor(t){s(this,t)}enableAttributePassing(s,t){const a=null==s?void 0:s.closest(t);if(s&&a){const t=a.attributes;for(let i=0;i<t.length;i++){const d=t.item(i);if(d&&(d.name.startsWith("data-")||d.name.startsWith("aria-"))&&(s.setAttribute(d.name,d.value),a.removeAttribute(d.name)),d&&"class"===d.name){const t=d.value.includes("hydrated"),i=d.value.replace("hydrated","").trim(),o=s.getAttribute("class");s.setAttribute(d.name,`${o?`${o} `:""}${i}`),t?a.setAttribute("class","hydrated"):a.removeAttribute(d.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-brand")}render(){var s;return t("div",{key:"9014cc8dfb318b456ae6115abe7217a1d1cca73b",class:d("db-brand",this.className),ref:s=>{this._ref=s},"data-icon":this.hideLogo?"none":null!==(s=this.icon)&&void 0!==s?s:a,"data-show-icon":i(this.showIcon),id:this.id},this.text?this.text:t("slot",null))}};export{o as db_brand}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as i}from"./p-9pYJFapZ.js";import{D as a}from"./p-BdL-nI5y.js";import{u as h,g as c,c as e}from"./p-BwBkekqp.js";const n=class{constructor(i){t(this,i),this.toggle=s(this,"toggle"),this._id=a,this._open=!1,this._name=void 0,this.initialized=!1}handleNameAttribute(){if(this._ref){const t=this._ref.setAttribute;this._ref.setAttribute=(s,i)=>{t.call(this._ref,s,i),"name"===s&&(this._name=i)}}}handleToggle(t){null==t||t.preventDefault();const s=!this._open;this.toggle&&this.toggle.emit(s),this._open=s}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let a=0;a<s.length;a++){const h=s.item(a);if(h&&(h.name.startsWith("data-")||h.name.startsWith("aria-"))&&(t.setAttribute(h.name,h.value),i.removeAttribute(h.name)),h&&"class"===h.name){const s=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),c=t.getAttribute("class");t.setAttribute(h.name,`${c?`${c} `:""}${a}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(h.name)}}}}watch0Fn(){}watch0(){this.watch0Fn()}watch1Fn(){this.name&&(this._name=this.name)}watch1(){this.watch1Fn()}componentDidLoad(){this.enableAttributePassing(this._ref,"db-accordion-item"),this._id=this.id||"accordion-item-"+h(),this.defaultOpen&&(this._open=this.defaultOpen),this.initialized=!0,this.watch0Fn(),this.watch1Fn()}render(){return i("li",{key:"8d83cc801cb95a73fc14fd6498c243f5c6afa22b",class:e("db-accordion-item",this.className),id:this._id},i("details",{key:"34273cd5211ae03c006350b9c7537fced121a7a2","aria-disabled":c(this.disabled),ref:t=>{this._ref=t},name:this._name,open:this._open},i("summary",{key:"ec28c1a939f3cabab7b6b842fc46620e55940e6a",onClick:t=>this.handleToggle(t)},this.headlinePlain?this.headlinePlain:null,this.headlinePlain?null:i("slot",{name:"headline"})),i("div",{key:"6934f2e25c3343e7d20c8fac47410bafe05b750c"},this.text?this.text:i("slot",null))))}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}],name:[{watch1:0}]}}};export{n as db_accordion_item}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as a}from"./p-9pYJFapZ.js";import{g as s,c as i}from"./p-BwBkekqp.js";const e=class{constructor(a){t(this,a)}enableAttributePassing(t,a){const s=null==t?void 0:t.closest(a);if(t&&s){const a=s.attributes;for(let i=0;i<a.length;i++){const e=a.item(i);if(e&&(e.name.startsWith("data-")||e.name.startsWith("aria-"))&&(t.setAttribute(e.name,e.value),s.removeAttribute(e.name)),e&&"class"===e.name){const a=e.value.includes("hydrated"),i=e.value.replace("hydrated","").trim(),c=t.getAttribute("class");t.setAttribute(e.name,`${c?`${c} `:""}${i}`),a?s.setAttribute("class","hydrated"):s.removeAttribute(e.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-stack")}render(){return a("div",{key:"64a5a45be3cfecebbe4fff818f6cbfeee462513c",class:i("db-stack",this.className),ref:t=>{this._ref=t},id:this.id,"data-gap":this.gap,"data-variant":this.variant,"data-direction":this.direction,"data-alignment":this.alignment,"data-justify-content":this.justifyContent,"data-wrap":s(this.wrap)},a("slot",{key:"69bd35bb73645e26b9819c7d9fc062cba032b4d7"}))}};export{e as db_stack}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as t}from"./p-9pYJFapZ.js";import{c as a}from"./p-BwBkekqp.js";const e=class{constructor(t){s(this,t)}enableAttributePassing(s,t){const a=null==s?void 0:s.closest(t);if(s&&a){const t=a.attributes;for(let e=0;e<t.length;e++){const o=t.item(e);if(o&&(o.name.startsWith("data-")||o.name.startsWith("aria-"))&&(s.setAttribute(o.name,o.value),a.removeAttribute(o.name)),o&&"class"===o.name){const t=o.value.includes("hydrated"),e=o.value.replace("hydrated","").trim(),c=s.getAttribute("class");s.setAttribute(o.name,`${c?`${c} `:""}${e}`),t?a.setAttribute("class","hydrated"):a.removeAttribute(o.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-custom-select-form-field")}render(){return t("summary",{key:"22a05256e65e56208335b9a5c840e75988a57182",class:a("db-custom-select-form-field",this.className),ref:s=>{this._ref=s},id:this.id},t("slot",{key:"3c6c62df9bf0d2a73e37a9ad69d3a46daa672984"}))}};export{e as db_custom_select_form_field}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as s}from"./p-9pYJFapZ.js";import{d as i,g as e,c as a}from"./p-BwBkekqp.js";import{D as o}from"./p-EqlW5Wqf.js";import{b as h}from"./p-G-TursYV.js";const n=class{constructor(s){t(this,s),this.initialized=!1,this.isExpanded=!1,this._documentScrollListenerCallbackId=void 0,this._observer=void 0}handleEscape(t){if(!t||"Escape"===t.key)for(const t of Array.from(this._ref.children))t.blur()}handleAutoPlacement(){if(!this._ref)return;const t=this._ref.querySelector("article");t&&i((()=>{var s;h(t,this._ref,null!==(s=this.placement)&&void 0!==s?s:"bottom")}),1)}handleDocumentScroll(t){var s,i;(null===(s=null==t?void 0:t.target)||void 0===s?void 0:s.contains)&&(null===(i=null==t?void 0:t.target)||void 0===i?void 0:i.contains(this._ref))&&this.handleAutoPlacement()}handleEnter(){var t;this.isExpanded=!0,this._documentScrollListenerCallbackId=(new o).addCallback((t=>this.handleDocumentScroll(t))),this.handleAutoPlacement();const s=this.getTrigger();s&&(null===(t=this._observer)||void 0===t||t.observe(s))}handleLeave(t){var s;const i=null==t?void 0:t.target;if(!(null==i?void 0:i.parentNode)||i.parentNode.querySelector(":focus")!==i&&i.parentNode.querySelector(":focus-within")!==i&&i.parentNode.querySelector(":hover")!==i){this.isExpanded=!1,this._documentScrollListenerCallbackId&&(new o).removeCallback(this._documentScrollListenerCallbackId);const t=this.getTrigger();t&&(null===(s=this._observer)||void 0===s||s.unobserve(t))}}getTrigger(){var t;if(this._ref){const s=Array.from(this._ref.children);if(s.length>=2){const i=s[0];return i.tagName.includes("-")?(null===(t=i.children)||void 0===t?void 0:t.length)>0?i.children[0]:null:i}}return null}enableAttributePassing(t,s){const i=null==t?void 0:t.closest(s);if(t&&i){const s=i.attributes;for(let e=0;e<s.length;e++){const a=s.item(e);if(a&&(a.name.startsWith("data-")||a.name.startsWith("aria-"))&&(t.setAttribute(a.name,a.value),i.removeAttribute(a.name)),a&&"class"===a.name){const s=a.value.includes("hydrated"),e=a.value.replace("hydrated","").trim(),o=t.getAttribute("class");t.setAttribute(a.name,`${o?`${o} `:""}${e}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(a.name)}}}}watch0Fn(){if(this._ref&&this.initialized){this.initialized=!1;const t=this.getTrigger();t&&(t.ariaHasPopup="true"),this.handleAutoPlacement(),this._ref.addEventListener("keydown",(t=>this.handleEscape(t))),["mouseenter","focusin"].forEach((t=>{this._ref.addEventListener(t,(()=>this.handleEnter()))})),["mouseleave","focusout"].forEach((t=>{this._ref.addEventListener(t,(()=>this.handleLeave()))})),"undefined"!=typeof window&&"IntersectionObserver"in window&&(this._observer=new IntersectionObserver((t=>{const s=t.find((({target:t})=>t===this.getTrigger()));s&&!s.isIntersecting&&this.handleEscape(!1)})))}}watch0(){this.watch0Fn()}watch1Fn(){if(this._ref){const t=this.getTrigger();t&&(t.ariaExpanded=Boolean(this.isExpanded).toString())}}watch1(){this.watch1Fn()}componentDidLoad(){this.enableAttributePassing(this._ref,"db-popover"),this.initialized=!0,this.watch0Fn(),this.watch1Fn()}render(){var t;return s("div",{key:"4d902919abc8bf5b55a617a31424f35582e029c1",class:a("db-popover",this.className),ref:t=>{this._ref=t},id:this.id},s("slot",{key:"166a0b766f6f0c003e6d7a250fd466267117f59a",name:"trigger"}),s("article",{key:"4fa535dc081c76eb21671e0abfb7d090b38e6e5c",class:"db-popover-content","data-spacing":this.spacing,"data-gap":e(this.gap),"data-animation":e(null===(t=this.animation)||void 0===t||t),"data-open":e(this.open),"data-delay":this.delay,"data-width":this.width,"data-placement":this.placement},s("slot",{key:"ef47687b496cfe4d6cce11ef5d282a2ec3a88004"})))}static get watchers(){return{_ref:[{watch0:0},{watch1:0}],initialized:[{watch0:0}],isExpanded:[{watch1:0}]}}};export{n as db_popover}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,c as s,h as t}from"./p-9pYJFapZ.js";import{c as i}from"./p-BwBkekqp.js";const c=class{constructor(t){a(this,t),this.click=s(this,"click")}handleClick(a){this.click&&this.click.emit(a)}enableAttributePassing(a,s){const t=null==a?void 0:a.closest(s);if(a&&t){const s=t.attributes;for(let i=0;i<s.length;i++){const c=s.item(i);if(c&&(c.name.startsWith("data-")||c.name.startsWith("aria-"))&&(a.setAttribute(c.name,c.value),t.removeAttribute(c.name)),c&&"class"===c.name){const s=c.value.includes("hydrated"),i=c.value.replace("hydrated","").trim(),e=a.getAttribute("class");a.setAttribute(c.name,`${e?`${e} `:""}${i}`),s?t.setAttribute("class","hydrated"):t.removeAttribute(c.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-card")}render(){return t("div",{key:"823ca29890a1a4f29f4ff4f7bb1829e77314546b",class:i("db-card",this.className),ref:a=>{this._ref=a},id:this.id,"data-behavior":this.behavior,"data-elevation-level":this.elevationLevel,"data-spacing":this.spacing,onClick:a=>this.handleClick(a)},t("slot",{key:"532b03614fa83513efc8f97b6a9a7faceff62039"}))}};export{c as db_card}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,c as t,h as i}from"./p-9pYJFapZ.js";import{s as a}from"./p-BdL-nI5y.js";import{e as d,s as e,g as n,c as o}from"./p-BwBkekqp.js";const c=class{constructor(i){s(this,i),this.close=t(this,"close")}handleClose(s){s&&(s.stopPropagation(),this.close&&this.close.emit(s))}enableAttributePassing(s,t){const i=null==s?void 0:s.closest(t);if(s&&i){const t=i.attributes;for(let a=0;a<t.length;a++){const d=t.item(a);if(d&&(d.name.startsWith("data-")||d.name.startsWith("aria-"))&&(s.setAttribute(d.name,d.value),i.removeAttribute(d.name)),d&&"class"===d.name){const t=d.value.includes("hydrated"),a=d.value.replace("hydrated","").trim(),e=s.getAttribute("class");s.setAttribute(d.name,`${e?`${e} `:""}${a}`),t?i.setAttribute("class","hydrated"):i.removeAttribute(d.name)}}}}componentDidLoad(){this.enableAttributePassing(this._ref,"db-notification")}render(){var s;return i("article",{key:"3c3f2ddd7dfcd2e1c0fee57f9c5e7da2715b14f9",class:o("db-notification",this.className),ref:s=>{this._ref=s},id:this.id,"aria-live":this.ariaLive,"data-semantic":this.semantic,"data-variant":this.variant,"data-icon":!1!==d(this.showIcon)?this.icon:void 0,"data-show-icon":n(this.showIcon),"data-link-variant":this.linkVariant},i("slot",{key:"abf2bee58f568e7f8fd1b4bc3b4f5784075195c0",name:"image"}),e(this.headline,this.showHeadline)?i("header",null,this.headline):null,i("p",{key:"f845249859543bfdc2ac08dd06fea46d5c6fb33d"},this.text?this.text:i("slot",null)),e(this.timestamp,this.showTimestamp)?i("span",null,this.timestamp):null,i("slot",{key:"097d69d4b69789d1bc2ff1c1eea143578cdd3f83",name:"link"}),d(this.closeable,"closeable")?i("db-button",{icon:"cross",variant:"ghost",size:"small",id:this.closeButtonId,noText:!0,onClick:s=>this.handleClose(s)},null!==(s=this.closeButtonText)&&void 0!==s?s:a):null)}};export{c as db_notification}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{u as t}from"./p-BwBkekqp.js";class c{static runCallbacks(t){for(const e of Object.values(c.callbacks))"function"==typeof e&&e(t)}constructor(){if(c._instance)return c._instance;c._instance=this,self.document&&self.document.addEventListener("click",(t=>c.runCallbacks(t)))}addCallback(e){const l=t();return c.callbacks[l]=e,l}removeCallback(t){delete c.callbacks[t]}}c.callbacks={},c._instance=null;export{c as D}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as s,F as a}from"./p-9pYJFapZ.js";import{u as h,c as n}from"./p-BwBkekqp.js";const o=class{constructor(s){t(this,s),this.indexChange=i(this,"indexChange"),this.tabSelect=i(this,"tabSelect"),this._id="tabs-"+h(),this._name="",this.initialized=!1,this.showScrollLeft=!1,this.showScrollRight=!1,this.scrollContainer=null,this._resizeObserver=void 0}convertTabs(){try{return"string"==typeof this.tabs?JSON.parse(this.tabs):this.tabs}catch(t){console.error(t)}return[]}evaluateScrollButtons(t){const i=t.scrollWidth>t.clientWidth;this.showScrollLeft=i&&t.scrollLeft>1,this.showScrollRight=i&&t.scrollLeft<t.scrollWidth-t.clientWidth}scroll(t){var i;let s=Number(this.arrowScrollDistance)||100;t&&(s*=-1),null===(i=this.scrollContainer)||void 0===i||i.scrollBy({top:0,left:s,behavior:"smooth"})}initTabList(){if(this._ref){const t=this._ref.querySelector(".db-tab-list");if(t){const i=t.querySelector('[role="tablist"]');if(i&&(i.setAttribute("aria-orientation",this.orientation||"horizontal"),"arrows"===this.behavior&&(this.scrollContainer=i,this.evaluateScrollButtons(i),i.addEventListener("scroll",(()=>{this.evaluateScrollButtons(i)})),!this._resizeObserver))){const t=new ResizeObserver((()=>{this.evaluateScrollButtons(i)}));t.observe(i),this._resizeObserver=t}}}}initTabs(t){if(this._ref){const i=Array.from(this._ref.getElementsByClassName("db-tab-item")),s=Array.from(this._ref.querySelectorAll(":is(:scope > .db-tab-panel, :scope > db-tab-panel > .db-tab-panel)"));for(const a of i){const h=i.indexOf(a),n=a.querySelector("label"),o=a.querySelector("input");if(o&&n){if(!o.id){const t=`${this._name}-tab-${h}`;n.setAttribute("for",t),o.id=t,o.setAttribute("name",this._name),s.length>h&&o.setAttribute("aria-controls",`${this._name}-tab-panel-${h}`)}if(t){const t=!this.initialSelectedMode||"auto"===this.initialSelectedMode,i=null==this.initialSelectedIndex&&0===h||Number(this.initialSelectedIndex)===h;t&&i&&o.click()}}}for(const t of s){if(t.id)continue;const i=s.indexOf(t);t.id=`${this._name}-tab-panel-${i}`,t.setAttribute("aria-labelledby",`${this._name}-tab-${i}`)}}}handleChange(t){var i;if(t.stopPropagation(),t.target){const s=t.target.parentElement;if(s&&s.parentElement&&"LI"===(null===(i=s.parentElement)||void 0===i?void 0:i.nodeName)){const i=s.parentElement.parentElement;if(i){const s=i.parentElement;if(s){const a=Array.from(s.children).indexOf(i);this.indexChange&&this.indexChange.emit(a),this.tabSelect&&this.tabSelect.emit(t)}}}}}enableAttributePassing(t,i){const s=null==t?void 0:t.closest(i);if(t&&s){const i=s.attributes;for(let a=0;a<i.length;a++){const h=i.item(a);if(h&&(h.name.startsWith("data-")||h.name.startsWith("aria-"))&&(t.setAttribute(h.name,h.value),s.removeAttribute(h.name)),h&&"class"===h.name){const i=h.value.includes("hydrated"),a=h.value.replace("hydrated","").trim(),n=t.getAttribute("class");t.setAttribute(h.name,`${n?`${n} `:""}${a}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(h.name)}}}}watch0Fn(){if(this._ref&&this.initialized){this.initTabList(),this.initTabs(!0);const t=this._ref.querySelector(".db-tab-list");t&&new MutationObserver((t=>{t.forEach((t=>{(t.removedNodes.length||t.addedNodes.length)&&(this.initTabList(),this.initTabs())}))})).observe(t,{childList:!0,subtree:!0}),this.initialized=!1}}watch0(){this.watch0Fn()}componentDidLoad(){this.enableAttributePassing(this._ref,"db-tabs"),this._id=this.id||this._id,this._name=`tabs-${this.name||h()}`,this.initialized=!0,this.watch0Fn()}disconnectedCallback(){var t;null===(t=this._resizeObserver)||void 0===t||t.disconnect(),this._resizeObserver=void 0}render(){var t,i,h,o;return s("div",{key:"a53c2737f8238bbe266baa7d6e3f90649c52512a",class:n("db-tabs",this.className),ref:t=>{this._ref=t},id:this._id,"data-orientation":this.orientation,"data-scroll-behavior":this.behavior,"data-alignment":null!==(t=this.alignment)&&void 0!==t?t:"start","data-width":null!==(i=this.width)&&void 0!==i?i:"auto",onInput:t=>this.handleChange(t),onChange:t=>this.handleChange(t)},this.showScrollLeft?s("db-button",{class:"tabs-scroll-left",variant:"ghost",icon:"chevron_left",type:"button",noText:!0,onClick:()=>this.scroll(!0)},"Scroll left"):null,this.tabs?s(a,null,s("db-tab-list",null,null===(h=this.convertTabs())||void 0===h?void 0:h.map(((t,i)=>s("db-tab-item",{key:this.name+"tab-item"+i,active:t.active,label:t.label,iconTrailing:t.iconTrailing,icon:t.icon,noText:t.noText})))),null===(o=this.convertTabs())||void 0===o?void 0:o.map(((t,i)=>s("db-tab-panel",{key:this.name+"tab-panel"+i,content:t.content},t.children)))):null,this.showScrollRight?s("db-button",{class:"tabs-scroll-right",variant:"ghost",icon:"chevron_right",type:"button",noText:!0,onClick:()=>this.scroll()},"Scroll right"):null,s("slot",{key:"e8cf7f0c576b73cdd459ab4cf1f07f14c5ed1657"}))}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}]}}};export{o as db_tabs}
|
package/dist/db-ux/p-sP2NlPcu.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{h as
|
|
2
|
-
//# sourceMappingURL=p-sP2NlPcu.js.map
|
|
1
|
+
import{h as i}from"./p-G-TursYV.js";const t=i=>{var t,s;const{target:h}=i;return Boolean(!(null===(t=null==h?void 0:h.classList)||void 0===t?void 0:t.contains("db-navigation-item-expand-button"))&&(null===(s=null==h?void 0:h.parentElement)||void 0===s?void 0:s.classList.contains("db-navigation-item")))};class s{constructor(i,t){var s;this.parentSubNavigation=null,this.initialized=!1,this.mouseX=0,this.mouseY=0,this.element=i,this.subNavigation=t,this.element&&this.subNavigation&&(this.parentSubNavigation=null===(s=this.element)||void 0===s?void 0:s.closest(".db-sub-navigation"),this.parentSubNavigation&&!this.element.closest(".db-drawer")&&this.init())}init(){var i,t,s;const h=null!==(t=null===(i=this.parentSubNavigation)||void 0===i?void 0:i.getBoundingClientRect().width)&&void 0!==t?t:0;null===(s=this.element)||void 0===s||s.style.setProperty("--db-navigation-item-inline-size",`${h}px`),this.initialized=!0}enableFollow(){var t,s;if(!this.initialized||this.triangleData||!this.element||!this.subNavigation)return;const h=i(this.subNavigation),n=this.element.getBoundingClientRect(),o=null!==(s=null===(t=this.parentSubNavigation)||void 0===t?void 0:t.getBoundingClientRect().width)&&void 0!==s?s:0;this.triangleData={itemRect:n,parentElementWidth:o,subNavigationHeight:this.subNavigation.getBoundingClientRect().height,padding:(o-n.width)/2,outsideVX:h.vx,outsideVY:h.vy}}disableFollow(){this.triangleData=void 0}getTriangleTipX(){return this.triangleData?"right"===this.triangleData.outsideVX?this.triangleData.itemRect.width-this.mouseX:Math.min(this.mouseX,.75*this.triangleData.itemRect.width):0}getTriangleTipY(){if(!this.triangleData)return 0;const i=Math.max(Math.min(this.mouseY,this.triangleData.itemRect.height),0)+this.triangleData.padding;return"bottom"===this.triangleData.outsideVY?i+(this.triangleData.subNavigationHeight-2*this.triangleData.padding-this.triangleData.itemRect.height):i}hasMouseEnteredSubNavigation(){if(!this.triangleData)return!1;const i="right"===this.triangleData.outsideVX;return!!(i&&this.mouseX<-1*this.triangleData.padding)||!i&&this.mouseX>this.triangleData.parentElementWidth-this.triangleData.padding}getTriangleCoordinates(i){if(!this.triangleData)return;if("fill-gap"===i){const i=`${this.triangleData.itemRect.height+2*this.triangleData.padding}px`,t=this.triangleData.parentElementWidth-this.triangleData.padding+"px";return{lb:`${t} ${i}`,lt:`${t} 0`,rt:"100% 0",rb:`100% ${i}`}}const t=this.getTriangleTipX(),s=this.getTriangleTipY();return{lb:`${t}px ${s}px`,lt:`${t}px ${s}px`,rt:"100% 0",rb:"100% 100%"}}followByMouseEvent(i){if(!(this.initialized&&this.triangleData&&this.element&&this.subNavigation))return;this.mouseX=i.clientX-this.triangleData.itemRect.left,this.mouseY=i.clientY-this.triangleData.itemRect.top;const t=this.hasMouseEnteredSubNavigation(),s=this.getTriangleCoordinates(t?"fill-gap":"safe-triangle");s&&(this.element.style.setProperty("--db-navigation-item-clip-path",`polygon(${s.lb}, ${s.lt}, ${s.rt}, ${s.rb})`),t&&(this.triangleData=void 0))}}export{s as N,t as i}
|
|
@@ -90,8 +90,7 @@ const TESTING_VIEWPORTS = [Object.assign({ name: 'desktop' }, DESKTOP_VIEWPORT),
|
|
|
90
90
|
width: 768,
|
|
91
91
|
height: 1024
|
|
92
92
|
}, Object.assign({ name: 'mobile' }, DEFAULT_VIEWPORT)];
|
|
93
|
+
const DB_UX_LOCAL_STORAGE_FRAMEWORK = 'db-ux-framework';
|
|
94
|
+
const DB_UX_LOCAL_STORAGE_MODE = 'db-ux-mode';
|
|
93
95
|
|
|
94
|
-
export { SEMANTICS as A, DEFAULT_VIEWPORT as B, COLOR_CONST as C, DEFAULT_ID as D, DESKTOP_VIEWPORT as E, SEMANTIC as S, TESTING_VIEWPORTS as T, DEFAULT_LABEL as a, DEFAULT_PLACEHOLDER as b, DEFAULT_MESSAGE as c, DEFAULT_LABEL_ID_SUFFIX as d, DEFAULT_SELECT_ID_SUFFIX as e, DEFAULT_MESSAGE_ID_SUFFIX as f, DEFAULT_VALID_MESSAGE_ID_SUFFIX as g, DEFAULT_INVALID_MESSAGE_ID_SUFFIX as h, DEFAULT_PLACEHOLDER_ID_SUFFIX as i, DEFAULT_DATALIST_ID_SUFFIX as j, DEFAULT_VALID_MESSAGE as k, DEFAULT_INVALID_MESSAGE as l, DEFAULT_REMOVE as m, DEFAULT_BACK as n, DEFAULT_SELECTED as o, DEFAULT_BURGER_MENU as p, DEFAULT_ICON as q, DEFAULT_ROWS as r, DEFAULT_CLOSE_BUTTON as s, DENSITY_CONST as t, DENSITY as u, DENSITIES as v, COLOR_SIMPLE as w, COLOR as x, COLORS as y, COLORS_SIMPLE as z };
|
|
95
|
-
//# sourceMappingURL=constants-DC9V_oNU.js.map
|
|
96
|
-
|
|
97
|
-
//# sourceMappingURL=constants-DC9V_oNU.js.map
|
|
96
|
+
export { SEMANTICS as A, DEFAULT_VIEWPORT as B, COLOR_CONST as C, DEFAULT_ID as D, DESKTOP_VIEWPORT as E, DB_UX_LOCAL_STORAGE_FRAMEWORK as F, DB_UX_LOCAL_STORAGE_MODE as G, SEMANTIC as S, TESTING_VIEWPORTS as T, DEFAULT_LABEL as a, DEFAULT_PLACEHOLDER as b, DEFAULT_MESSAGE as c, DEFAULT_LABEL_ID_SUFFIX as d, DEFAULT_SELECT_ID_SUFFIX as e, DEFAULT_MESSAGE_ID_SUFFIX as f, DEFAULT_VALID_MESSAGE_ID_SUFFIX as g, DEFAULT_INVALID_MESSAGE_ID_SUFFIX as h, DEFAULT_PLACEHOLDER_ID_SUFFIX as i, DEFAULT_DATALIST_ID_SUFFIX as j, DEFAULT_VALID_MESSAGE as k, DEFAULT_INVALID_MESSAGE as l, DEFAULT_REMOVE as m, DEFAULT_BACK as n, DEFAULT_SELECTED as o, DEFAULT_BURGER_MENU as p, DEFAULT_ICON as q, DEFAULT_ROWS as r, DEFAULT_CLOSE_BUTTON as s, DENSITY_CONST as t, DENSITY as u, DENSITIES as v, COLOR_SIMPLE as w, COLOR as x, COLORS as y, COLORS_SIMPLE as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import { D as DEFAULT_ID } from './constants-
|
|
3
|
-
import { u as uuid, g as getBooleanAsString, c as cls } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-9pYJFapZ.js';
|
|
2
|
+
import { D as DEFAULT_ID } from './constants-BdL-nI5y.js';
|
|
3
|
+
import { u as uuid, g as getBooleanAsString, c as cls } from './index-BwBkekqp.js';
|
|
4
4
|
|
|
5
5
|
const DBAccordionItem = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -92,11 +92,16 @@ const DBAccordionItem = class {
|
|
|
92
92
|
}, name: this._name, open: this._open }, h("summary", { key: 'ec28c1a939f3cabab7b6b842fc46620e55940e6a', onClick: (event) => this.handleToggle(event) }, this.headlinePlain ? this.headlinePlain : null, !this.headlinePlain ? h("slot", { name: "headline" }) : null), h("div", { key: '6934f2e25c3343e7d20c8fac47410bafe05b750c' }, this.text ? this.text : h("slot", null)))));
|
|
93
93
|
}
|
|
94
94
|
static get watchers() { return {
|
|
95
|
-
"_ref": [
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
"_ref": [{
|
|
96
|
+
"watch0": 0
|
|
97
|
+
}],
|
|
98
|
+
"initialized": [{
|
|
99
|
+
"watch0": 0
|
|
100
|
+
}],
|
|
101
|
+
"name": [{
|
|
102
|
+
"watch1": 0
|
|
103
|
+
}]
|
|
98
104
|
}; }
|
|
99
105
|
};
|
|
100
106
|
|
|
101
107
|
export { DBAccordionItem as db_accordion_item };
|
|
102
|
-
//# sourceMappingURL=db-accordion-item.entry.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
2
|
-
import { D as DEFAULT_ID } from './constants-
|
|
3
|
-
import { u as uuid, c as cls } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-9pYJFapZ.js';
|
|
2
|
+
import { D as DEFAULT_ID } from './constants-BdL-nI5y.js';
|
|
3
|
+
import { u as uuid, c as cls } from './index-BwBkekqp.js';
|
|
4
4
|
|
|
5
5
|
const DBAccordion = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -136,16 +136,33 @@ const DBAccordion = class {
|
|
|
136
136
|
: null));
|
|
137
137
|
}
|
|
138
138
|
static get watchers() { return {
|
|
139
|
-
"initialized": [
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
"
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
"
|
|
146
|
-
|
|
139
|
+
"initialized": [{
|
|
140
|
+
"watch0": 0
|
|
141
|
+
}],
|
|
142
|
+
"name": [{
|
|
143
|
+
"watch0": 0
|
|
144
|
+
}],
|
|
145
|
+
"behavior": [{
|
|
146
|
+
"watch0": 0
|
|
147
|
+
}],
|
|
148
|
+
"_id": [{
|
|
149
|
+
"watch0": 0
|
|
150
|
+
}],
|
|
151
|
+
"_ref": [{
|
|
152
|
+
"watch1": 0
|
|
153
|
+
}, {
|
|
154
|
+
"watch2": 0
|
|
155
|
+
}],
|
|
156
|
+
"_name": [{
|
|
157
|
+
"watch1": 0
|
|
158
|
+
}],
|
|
159
|
+
"_initOpenIndexDone": [{
|
|
160
|
+
"watch2": 0
|
|
161
|
+
}],
|
|
162
|
+
"initOpenIndex": [{
|
|
163
|
+
"watch2": 0
|
|
164
|
+
}]
|
|
147
165
|
}; }
|
|
148
166
|
};
|
|
149
167
|
|
|
150
168
|
export { DBAccordion as db_accordion };
|
|
151
|
-
//# sourceMappingURL=db-accordion.entry.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
2
|
-
import { a as DEFAULT_LABEL } from './constants-
|
|
3
|
-
import { c as cls } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-9pYJFapZ.js';
|
|
2
|
+
import { a as DEFAULT_LABEL } from './constants-BdL-nI5y.js';
|
|
3
|
+
import { c as cls } from './index-BwBkekqp.js';
|
|
4
4
|
|
|
5
5
|
const DBBadge = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -69,10 +69,13 @@ const DBBadge = class {
|
|
|
69
69
|
}, id: this.id, "data-semantic": this.semantic, "data-size": this.size, "data-emphasis": this.emphasis, "data-placement": this.placement, "data-label": ((_a = this.placement) === null || _a === void 0 ? void 0 : _a.startsWith("corner")) && ((_b = this.label) !== null && _b !== void 0 ? _b : DEFAULT_LABEL) }, this.text ? this.text : h("slot", null)));
|
|
70
70
|
}
|
|
71
71
|
static get watchers() { return {
|
|
72
|
-
"_ref": [
|
|
73
|
-
|
|
72
|
+
"_ref": [{
|
|
73
|
+
"watch0": 0
|
|
74
|
+
}],
|
|
75
|
+
"initialized": [{
|
|
76
|
+
"watch0": 0
|
|
77
|
+
}]
|
|
74
78
|
}; }
|
|
75
79
|
};
|
|
76
80
|
|
|
77
81
|
export { DBBadge as db_badge };
|
|
78
|
-
//# sourceMappingURL=db-badge.entry.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
2
|
-
import { q as DEFAULT_ICON } from './constants-
|
|
3
|
-
import { g as getBooleanAsString, c as cls } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-9pYJFapZ.js';
|
|
2
|
+
import { q as DEFAULT_ICON } from './constants-BdL-nI5y.js';
|
|
3
|
+
import { g as getBooleanAsString, c as cls } from './index-BwBkekqp.js';
|
|
4
4
|
|
|
5
5
|
const DBBrand = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -50,4 +50,3 @@ const DBBrand = class {
|
|
|
50
50
|
};
|
|
51
51
|
|
|
52
52
|
export { DBBrand as db_brand };
|
|
53
|
-
//# sourceMappingURL=db-brand.entry.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import { g as getBooleanAsString, e as getBoolean, c as cls } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-9pYJFapZ.js';
|
|
2
|
+
import { g as getBooleanAsString, e as getBoolean, c as cls } from './index-BwBkekqp.js';
|
|
3
3
|
|
|
4
4
|
const DBButton = class {
|
|
5
5
|
constructor(hostRef) {
|
|
@@ -59,4 +59,3 @@ const DBButton = class {
|
|
|
59
59
|
};
|
|
60
60
|
|
|
61
61
|
export { DBButton as db_button };
|
|
62
|
-
//# sourceMappingURL=db-button.entry.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import { c as cls } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-9pYJFapZ.js';
|
|
2
|
+
import { c as cls } from './index-BwBkekqp.js';
|
|
3
3
|
|
|
4
4
|
const DBCard = class {
|
|
5
5
|
constructor(hostRef) {
|
|
@@ -54,4 +54,3 @@ const DBCard = class {
|
|
|
54
54
|
};
|
|
55
55
|
|
|
56
56
|
export { DBCard as db_card };
|
|
57
|
-
//# sourceMappingURL=db-card.entry.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import { l as DEFAULT_INVALID_MESSAGE, g as DEFAULT_VALID_MESSAGE_ID_SUFFIX, h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, f as DEFAULT_MESSAGE_ID_SUFFIX, k as DEFAULT_VALID_MESSAGE } from './constants-
|
|
3
|
-
import { h as hasVoiceOver, d as delay, s as stringPropVisible, e as getBoolean, u as uuid,
|
|
4
|
-
import { a as addCheckedResetEventListener } from './form-components-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-9pYJFapZ.js';
|
|
2
|
+
import { l as DEFAULT_INVALID_MESSAGE, g as DEFAULT_VALID_MESSAGE_ID_SUFFIX, h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, f as DEFAULT_MESSAGE_ID_SUFFIX, k as DEFAULT_VALID_MESSAGE } from './constants-BdL-nI5y.js';
|
|
3
|
+
import { h as hasVoiceOver, d as delay, s as stringPropVisible, e as getBoolean, u as uuid, l as getHideProp, c as cls } from './index-BwBkekqp.js';
|
|
4
|
+
import { a as addCheckedResetEventListener } from './form-components-Cl_wgkeJ.js';
|
|
5
5
|
|
|
6
6
|
const DBCheckbox = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -196,14 +196,33 @@ const DBCheckbox = class {
|
|
|
196
196
|
}, id: this._id, name: this.name, checked: getBoolean(this.checked, "checked"), disabled: getBoolean(this.disabled, "disabled"), value: this.value, required: getBoolean(this.required, "required"), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), "aria-describedby": (_a = this.ariaDescribedBy) !== null && _a !== void 0 ? _a : this._descByIds }), this.label ? this.label : h("slot", null)), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: 'ae673ae94efc3d0abd19f8f067befebea3b3139b', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: 'e32b0d1e2647e03068b5ee09f3183b25fc82b7e7', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
197
197
|
}
|
|
198
198
|
static get watchers() { return {
|
|
199
|
-
"_ref": [
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
199
|
+
"_ref": [{
|
|
200
|
+
"watch0": 0
|
|
201
|
+
}, {
|
|
202
|
+
"watch2": 0
|
|
203
|
+
}, {
|
|
204
|
+
"watch3": 0
|
|
205
|
+
}, {
|
|
206
|
+
"watch4": 0
|
|
207
|
+
}],
|
|
208
|
+
"invalidMessage": [{
|
|
209
|
+
"watch0": 0
|
|
210
|
+
}],
|
|
211
|
+
"_id": [{
|
|
212
|
+
"watch1": 0
|
|
213
|
+
}],
|
|
214
|
+
"initialized": [{
|
|
215
|
+
"watch2": 0
|
|
216
|
+
}, {
|
|
217
|
+
"watch3": 0
|
|
218
|
+
}],
|
|
219
|
+
"indeterminate": [{
|
|
220
|
+
"watch2": 0
|
|
221
|
+
}],
|
|
222
|
+
"checked": [{
|
|
223
|
+
"watch3": 0
|
|
224
|
+
}]
|
|
205
225
|
}; }
|
|
206
226
|
};
|
|
207
227
|
|
|
208
228
|
export { DBCheckbox as db_checkbox };
|
|
209
|
-
//# sourceMappingURL=db-checkbox.entry.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, h, c as createEvent } from './index-
|
|
2
|
-
import { c as cls, e as getBoolean, u as uuid, g as getBooleanAsString, h as hasVoiceOver, d as delay, s as stringPropVisible, i as isArrayOfStrings,
|
|
3
|
-
import { l as DEFAULT_INVALID_MESSAGE, g as DEFAULT_VALID_MESSAGE_ID_SUFFIX, h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, j as DEFAULT_DATALIST_ID_SUFFIX, f as DEFAULT_MESSAGE_ID_SUFFIX, k as DEFAULT_VALID_MESSAGE, b as DEFAULT_PLACEHOLDER, a as DEFAULT_LABEL, m as DEFAULT_REMOVE } from './constants-
|
|
4
|
-
import { c as addValueResetEventListener } from './form-components-
|
|
1
|
+
import { r as registerInstance, h, c as createEvent } from './index-9pYJFapZ.js';
|
|
2
|
+
import { c as cls, e as getBoolean, u as uuid, g as getBooleanAsString, h as hasVoiceOver, d as delay, s as stringPropVisible, i as isArrayOfStrings, k as getInputValue, f as getNumber, j as getStep, b as isIOSSafari, l as getHideProp } from './index-BwBkekqp.js';
|
|
3
|
+
import { l as DEFAULT_INVALID_MESSAGE, g as DEFAULT_VALID_MESSAGE_ID_SUFFIX, h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, j as DEFAULT_DATALIST_ID_SUFFIX, f as DEFAULT_MESSAGE_ID_SUFFIX, k as DEFAULT_VALID_MESSAGE, b as DEFAULT_PLACEHOLDER, a as DEFAULT_LABEL, m as DEFAULT_REMOVE } from './constants-BdL-nI5y.js';
|
|
4
|
+
import { c as addValueResetEventListener } from './form-components-Cl_wgkeJ.js';
|
|
5
5
|
|
|
6
6
|
const DBCustomSelectDropdown = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -168,8 +168,12 @@ const DBCustomSelectListItem = class {
|
|
|
168
168
|
}, id: this._id, "data-divider": getBooleanAsString(this.hasDivider) }, !this.isGroupTitle ? (h("label", { "data-icon": this.type !== "checkbox" && this.icon ? this.icon : undefined, "data-show-icon": getBooleanAsString(this.showIcon), "data-icon-trailing": this.getIconTrailing() }, h("input", { class: "db-custom-select-list-item-checkbox", "data-disable-focus": "true", type: this.type, name: this.name, form: this.name, checked: getBoolean(this.checked, "checked"), disabled: getBoolean(this.disabled, "disabled"), value: this.value, onChange: (event) => this.handleChange(event) }), this.label ? this.label : h("slot", null))) : (h("span", null, this.groupTitle))));
|
|
169
169
|
}
|
|
170
170
|
static get watchers() { return {
|
|
171
|
-
"isGroupTitle": [
|
|
172
|
-
|
|
171
|
+
"isGroupTitle": [{
|
|
172
|
+
"watch0": 0
|
|
173
|
+
}],
|
|
174
|
+
"showDivider": [{
|
|
175
|
+
"watch0": 0
|
|
176
|
+
}]
|
|
173
177
|
}; }
|
|
174
178
|
};
|
|
175
179
|
|
|
@@ -363,9 +367,9 @@ const DBInput = class {
|
|
|
363
367
|
}
|
|
364
368
|
render() {
|
|
365
369
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
366
|
-
return (h("div", { key: '
|
|
370
|
+
return (h("div", { key: '67eb319a65364be7bb4bba4f0fac864e8b12f1d3', class: cls("db-input", this.className), "data-variant": this.variant, "data-hide-label": getHideProp(this.showLabel), "data-show-icon": getBooleanAsString((_a = this.showIconLeading) !== null && _a !== void 0 ? _a : this.showIcon), "data-icon": (_b = this.iconLeading) !== null && _b !== void 0 ? _b : this.icon, "data-icon-trailing": this.iconTrailing, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing) }, h("label", { key: 'd305e5bcf15985ae7c287db6b93971c02f525fbd', htmlFor: this._id }, (_c = this.label) !== null && _c !== void 0 ? _c : DEFAULT_LABEL), h("input", { key: '1951499d2ab18789993eafac4d3c6b5a711e4b58', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
|
|
367
371
|
this._ref = el;
|
|
368
|
-
}, id: this._id, name: this.name, type: this.type || "text", multiple: getBoolean(this.multiple, "multiple"), placeholder: (_d = this.placeholder) !== null && _d !== void 0 ? _d : DEFAULT_PLACEHOLDER, disabled: getBoolean(this.disabled, "disabled"), required: getBoolean(this.required, "required"), step:
|
|
372
|
+
}, id: this._id, name: this.name, type: this.type || "text", multiple: getBoolean(this.multiple, "multiple"), placeholder: (_d = this.placeholder) !== null && _d !== void 0 ? _d : DEFAULT_PLACEHOLDER, disabled: getBoolean(this.disabled, "disabled"), required: getBoolean(this.required, "required"), step: getStep(this.step), value: (_e = this.value) !== null && _e !== void 0 ? _e : this._value, maxLength: getNumber(this.maxLength, this.maxlength), minLength: getNumber(this.minLength, this.minlength), max: getInputValue(this.max, this.type), min: getInputValue(this.min, this.type), readOnly: getBoolean(this.readOnly, "readOnly") ||
|
|
369
373
|
getBoolean(this.readonly, "readonly"), form: this.form, pattern: this.pattern, size: this.size, autoComplete: this.autocomplete, autoFocus: getBoolean(this.autofocus, "autofocus"), enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, onInput: (event) => this.handleInput(event), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), list: this.dataList && this._dataListId, "aria-describedby": (_f = this.ariaDescribedBy) !== null && _f !== void 0 ? _f : this._descByIds, role: [
|
|
370
374
|
"datetime-local",
|
|
371
375
|
"date",
|
|
@@ -375,13 +379,23 @@ const DBInput = class {
|
|
|
375
379
|
"color",
|
|
376
380
|
].includes((_g = this.type) !== null && _g !== void 0 ? _g : "") && isIOSSafari()
|
|
377
381
|
? "textbox"
|
|
378
|
-
: undefined }), this.dataList ? (h("datalist", { id: this._dataListId }, (_h = this.getDataList()) === null || _h === void 0 ? void 0 : _h.map((option) => (h("option", { key: this._dataListId + "-option-" + option.value, value: option.value }, option.label))))) : null, h("slot", { key: '
|
|
382
|
+
: undefined }), this.dataList ? (h("datalist", { id: this._dataListId }, (_h = this.getDataList()) === null || _h === void 0 ? void 0 : _h.map((option) => (h("option", { key: this._dataListId + "-option-" + option.value, value: option.value }, option.label))))) : null, h("slot", { key: '90c59c82c57e5189693b954d999493372af62970' }), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: this.messageSize || "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { semantic: "successful", id: this._validMessageId, size: this.validMessageSize || "small" }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: 'aa671024bc3badc32ee4bf59528878e4ef91a581', semantic: "critical", id: this._invalidMessageId, size: this.invalidMessageSize || "small" }, this._invalidMessage), h("span", { key: '215d6ace4fc3da52ad43afd52dbcf03347056958', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
379
383
|
}
|
|
380
384
|
static get watchers() { return {
|
|
381
|
-
"_ref": [
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
+
"_ref": [{
|
|
386
|
+
"watch0": 0
|
|
387
|
+
}, {
|
|
388
|
+
"watch3": 0
|
|
389
|
+
}],
|
|
390
|
+
"invalidMessage": [{
|
|
391
|
+
"watch0": 0
|
|
392
|
+
}],
|
|
393
|
+
"_id": [{
|
|
394
|
+
"watch1": 0
|
|
395
|
+
}],
|
|
396
|
+
"value": [{
|
|
397
|
+
"watch2": 0
|
|
398
|
+
}]
|
|
385
399
|
}; }
|
|
386
400
|
};
|
|
387
401
|
|
|
@@ -449,4 +463,3 @@ const DBTag = class {
|
|
|
449
463
|
};
|
|
450
464
|
|
|
451
465
|
export { DBCustomSelectDropdown as db_custom_select_dropdown, DBCustomSelectList as db_custom_select_list, DBCustomSelectListItem as db_custom_select_list_item, DBInput as db_input, DBTag as db_tag };
|
|
452
|
-
//# sourceMappingURL=db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.entry.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
2
|
-
import { c as cls } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-9pYJFapZ.js';
|
|
2
|
+
import { c as cls } from './index-BwBkekqp.js';
|
|
3
3
|
|
|
4
4
|
const DBCustomSelectFormField = class {
|
|
5
5
|
constructor(hostRef) {
|
|
@@ -48,4 +48,3 @@ const DBCustomSelectFormField = class {
|
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
export { DBCustomSelectFormField as db_custom_select_form_field };
|
|
51
|
-
//# sourceMappingURL=db-custom-select-form-field.entry.js.map
|