@db-ux/wc-core-components 4.10.2 → 4.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/bundle/db-accordion-item.js +1 -1
- package/bundle/db-accordion.js +1 -1
- package/bundle/db-badge.js +1 -1
- package/bundle/db-brand.js +1 -1
- package/bundle/db-button.js +1 -1
- package/bundle/db-card.js +1 -1
- package/bundle/db-checkbox.js +1 -1
- package/bundle/db-custom-button.js +1 -1
- package/bundle/db-custom-select-dropdown.js +1 -1
- package/bundle/db-custom-select-form-field.js +1 -1
- package/bundle/db-custom-select-list-item.js +1 -1
- package/bundle/db-custom-select-list.js +1 -1
- package/bundle/db-custom-select.js +1 -1
- package/bundle/db-divider.js +1 -1
- package/bundle/db-drawer.js +1 -1
- package/bundle/db-header.js +1 -1
- package/bundle/db-icon.js +1 -1
- package/bundle/db-infotext.js +1 -1
- package/bundle/db-input.js +1 -1
- package/bundle/db-link.js +1 -1
- package/bundle/db-navigation-item.js +1 -1
- package/bundle/db-navigation.js +1 -1
- package/bundle/db-notification.js +1 -1
- package/bundle/db-page.js +1 -1
- package/bundle/db-popover.js +1 -1
- package/bundle/db-radio.js +1 -1
- package/bundle/db-section.js +1 -1
- package/bundle/db-select.js +1 -1
- package/bundle/db-stack.js +1 -1
- package/bundle/db-switch.js +1 -1
- package/bundle/db-tab-item.js +1 -1
- package/bundle/db-tab-list.js +1 -1
- package/bundle/db-tab-panel.js +1 -1
- package/bundle/db-table-body.d.ts +11 -0
- package/bundle/db-table-body.js +1 -0
- package/bundle/db-table-caption.d.ts +11 -0
- package/bundle/db-table-caption.js +1 -0
- package/bundle/db-table-data-cell.d.ts +11 -0
- package/bundle/db-table-data-cell.js +1 -0
- package/bundle/db-table-footer.d.ts +11 -0
- package/bundle/db-table-footer.js +1 -0
- package/bundle/db-table-head.d.ts +11 -0
- package/bundle/db-table-head.js +1 -0
- package/bundle/db-table-header-cell.d.ts +11 -0
- package/bundle/db-table-header-cell.js +1 -0
- package/bundle/db-table-row.d.ts +11 -0
- package/bundle/db-table-row.js +1 -0
- package/bundle/db-table.d.ts +11 -0
- package/bundle/db-table.js +1 -0
- package/bundle/db-tabs.js +1 -1
- package/bundle/db-tag.js +1 -1
- package/bundle/db-textarea.js +1 -1
- package/bundle/db-tooltip.js +1 -1
- package/bundle/index.js +1 -1
- package/bundle/p-3Da4lo5j.js +1 -0
- package/bundle/p-BEcb3EOO.js +1 -0
- package/bundle/p-BEolc6Da.js +1 -0
- package/bundle/p-BekmqY3B.js +1 -0
- package/bundle/p-BmRO4X-P.js +1 -0
- package/bundle/p-BrQIYm5N.js +1 -0
- package/bundle/p-BxZ0zFXf.js +1 -0
- package/bundle/p-C2viXF7U.js +1 -0
- package/bundle/p-C4iD-won.js +1 -0
- package/bundle/p-CHg_VPD9.js +1 -0
- package/bundle/p-CYYSsu3p.js +1 -0
- package/bundle/p-CZ9SsTOA.js +1 -0
- package/bundle/p-CewqZGHg.js +1 -0
- package/bundle/p-CotiEHZi.js +1 -0
- package/bundle/p-D1orcIJf.js +1 -0
- package/{dist/db-ux/p-D5mInaY7.js → bundle/p-D6L0n3gO.js} +1 -1
- package/bundle/p-D9RSX1St.js +1 -0
- package/bundle/p-DJTpgiBy.js +1 -0
- package/bundle/p-DbgzEek1.js +1 -0
- package/bundle/p-DqNXsduK.js +1 -0
- package/bundle/p-Duacd-NX.js +1 -0
- package/bundle/p-k5Hci0ok.js +1 -0
- package/bundle/p-mk64Fltq.js +1 -0
- package/dist/cjs/db-accordion-item.cjs.entry.js +48 -11
- package/dist/cjs/db-accordion.cjs.entry.js +45 -8
- package/dist/cjs/db-badge.cjs.entry.js +45 -8
- package/dist/cjs/db-brand.cjs.entry.js +38 -7
- package/dist/cjs/db-button.cjs.entry.js +40 -8
- package/dist/cjs/db-card.cjs.entry.js +38 -7
- package/dist/cjs/db-checkbox.cjs.entry.js +48 -14
- package/dist/cjs/db-custom-button.cjs.entry.js +40 -8
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +197 -37
- package/dist/cjs/db-custom-select-form-field.cjs.entry.js +38 -7
- package/dist/cjs/db-custom-select.cjs.entry.js +65 -31
- package/dist/cjs/db-divider.cjs.entry.js +37 -6
- package/dist/cjs/db-drawer.cjs.entry.js +47 -10
- package/dist/cjs/db-header.cjs.entry.js +45 -8
- package/dist/cjs/db-icon.cjs.entry.js +38 -7
- package/dist/cjs/db-infotext.cjs.entry.js +38 -7
- package/dist/cjs/db-link_4.cjs.entry.js +294 -0
- package/dist/cjs/db-navigation-item.cjs.entry.js +49 -12
- package/dist/cjs/db-navigation.cjs.entry.js +38 -7
- package/dist/cjs/db-notification.cjs.entry.js +38 -7
- package/dist/cjs/db-page.cjs.entry.js +50 -15
- package/dist/cjs/db-popover.cjs.entry.js +46 -9
- package/dist/cjs/db-radio.cjs.entry.js +45 -11
- package/dist/cjs/db-section.cjs.entry.js +38 -7
- package/dist/cjs/db-select.cjs.entry.js +49 -15
- package/dist/cjs/db-stack.cjs.entry.js +38 -7
- package/dist/cjs/db-switch.cjs.entry.js +48 -14
- package/dist/cjs/db-tab-item_3.cjs.entry.js +123 -23
- package/dist/cjs/db-table-body_3.cjs.entry.js +235 -0
- package/dist/cjs/{db-link.cjs.entry.js → db-table-caption.cjs.entry.js} +41 -11
- package/dist/cjs/db-table.cjs.entry.js +189 -0
- package/dist/cjs/db-tabs.cjs.entry.js +44 -10
- package/dist/cjs/db-textarea.cjs.entry.js +48 -13
- package/dist/cjs/db-tooltip.cjs.entry.js +147 -23
- package/dist/cjs/db-ux.cjs.js +2 -2
- package/dist/cjs/{document-click-listener-B2-xKJv3.js → document-click-listener-DdNXbErU.js} +1 -1
- package/dist/cjs/{document-scroll-listener-ChQ7XZRk.js → document-scroll-listener-CvAZ6uPr.js} +1 -1
- package/dist/cjs/{form-components-_ncB_U2D.js → form-components-CmQlkARp.js} +1 -1
- package/dist/cjs/{index-HN8AqU2e.js → index-C313bRqJ.js} +21 -0
- package/dist/cjs/{index-2_9ESkQu.js → index-spuu3sXz.js} +13 -8
- package/dist/cjs/index.cjs.js +23 -4
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +8 -0
- package/dist/collection/components/accordion/accordion.js +45 -7
- package/dist/collection/components/accordion-item/accordion-item.js +48 -10
- package/dist/collection/components/badge/badge.js +45 -7
- package/dist/collection/components/brand/brand.js +44 -6
- package/dist/collection/components/button/button.js +48 -9
- package/dist/collection/components/card/card.js +43 -5
- package/dist/collection/components/checkbox/checkbox.js +48 -13
- package/dist/collection/components/custom-button/custom-button.js +48 -9
- package/dist/collection/components/custom-select/custom-select.js +64 -29
- package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +41 -5
- package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +43 -5
- package/dist/collection/components/custom-select-list/custom-select-list.js +43 -5
- package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +39 -7
- package/dist/collection/components/divider/divider.js +42 -4
- package/dist/collection/components/drawer/drawer.js +47 -9
- package/dist/collection/components/header/header.js +45 -7
- package/dist/collection/components/icon/icon.js +44 -6
- package/dist/collection/components/infotext/infotext.js +44 -6
- package/dist/collection/components/input/input.js +56 -19
- package/dist/collection/components/link/link.js +43 -5
- package/dist/collection/components/navigation/navigation.js +43 -5
- package/dist/collection/components/navigation-item/navigation-item.js +50 -12
- package/dist/collection/components/notification/notification.js +44 -6
- package/dist/collection/components/page/page.js +50 -14
- package/dist/collection/components/popover/popover.js +45 -7
- package/dist/collection/components/radio/radio.js +44 -9
- package/dist/collection/components/section/section.js +43 -5
- package/dist/collection/components/select/select.js +50 -15
- package/dist/collection/components/stack/stack.js +43 -5
- package/dist/collection/components/switch/switch.js +51 -16
- package/dist/collection/components/tab-item/tab-item.js +51 -15
- package/dist/collection/components/tab-list/tab-list.js +43 -5
- package/dist/collection/components/tab-panel/tab-panel.js +48 -5
- package/dist/collection/components/table/examples/data.js +258 -0
- package/dist/collection/components/table/index.js +2 -0
- package/dist/collection/components/table/model.js +6 -0
- package/dist/collection/components/table/table.js +510 -0
- package/dist/collection/components/table-body/index.js +2 -0
- package/dist/collection/components/table-body/model.js +1 -0
- package/dist/collection/components/table-body/table-body.js +149 -0
- package/dist/collection/components/table-caption/index.js +2 -0
- package/dist/collection/components/table-caption/model.js +1 -0
- package/dist/collection/components/table-caption/table-caption.js +154 -0
- package/dist/collection/components/table-data-cell/index.js +2 -0
- package/dist/collection/components/table-data-cell/model.js +1 -0
- package/dist/collection/components/table-data-cell/table-data-cell.js +303 -0
- package/dist/collection/components/table-footer/index.js +2 -0
- package/dist/collection/components/table-footer/model.js +1 -0
- package/dist/collection/components/table-footer/table-footer.js +149 -0
- package/dist/collection/components/table-head/index.js +2 -0
- package/dist/collection/components/table-head/model.js +1 -0
- package/dist/collection/components/table-head/table-head.js +185 -0
- package/dist/collection/components/table-header-cell/index.js +2 -0
- package/dist/collection/components/table-header-cell/model.js +1 -0
- package/dist/collection/components/table-header-cell/table-header-cell.js +381 -0
- package/dist/collection/components/table-row/index.js +2 -0
- package/dist/collection/components/table-row/model.js +1 -0
- package/dist/collection/components/table-row/table-row.js +207 -0
- package/dist/collection/components/tabs/tabs.js +44 -9
- package/dist/collection/components/tag/tag.js +44 -6
- package/dist/collection/components/textarea/textarea.js +48 -12
- package/dist/collection/components/tooltip/tooltip.js +150 -21
- package/dist/collection/index.js +16 -0
- package/dist/collection/shared/model.js +1 -1
- package/dist/collection/utils/index.js +13 -8
- package/dist/custom-elements.json +8189 -4307
- package/dist/db-ux/db-ux.esm.js +1 -1
- package/dist/db-ux/index.esm.js +1 -1
- package/dist/db-ux/p-0123ee1b.entry.js +1 -0
- package/dist/db-ux/p-090b1797.entry.js +1 -0
- package/dist/db-ux/p-0e17c5a0.entry.js +1 -0
- package/dist/db-ux/p-194e851c.entry.js +1 -0
- package/dist/db-ux/p-281f5e3e.entry.js +1 -0
- package/dist/db-ux/p-2ae377e6.entry.js +1 -0
- package/dist/db-ux/p-2cf4345f.entry.js +1 -0
- package/dist/db-ux/p-2e6c8304.entry.js +1 -0
- package/dist/db-ux/p-335391d4.entry.js +1 -0
- package/dist/db-ux/p-34235204.entry.js +1 -0
- package/dist/db-ux/p-3569bb3c.entry.js +1 -0
- package/dist/db-ux/p-398f9165.entry.js +1 -0
- package/dist/db-ux/p-5070470f.entry.js +1 -0
- package/dist/db-ux/p-5e08712d.entry.js +1 -0
- package/dist/db-ux/p-63d98f9d.entry.js +1 -0
- package/dist/db-ux/p-6aa92091.entry.js +1 -0
- package/dist/db-ux/p-78b7e6f6.entry.js +1 -0
- package/dist/db-ux/p-7ca4bc82.entry.js +1 -0
- package/dist/db-ux/p-8f989150.entry.js +1 -0
- package/dist/db-ux/p-8fa7a578.entry.js +1 -0
- package/dist/db-ux/p-91052c75.entry.js +1 -0
- package/dist/db-ux/p-9ccd42b1.entry.js +1 -0
- package/dist/db-ux/p-BihrW11j.js +1 -0
- package/dist/db-ux/p-BlbKvvUv.js +2 -0
- package/{bundle/p-BLyvxOmU.js → dist/db-ux/p-BtImZ8Nt.js} +1 -1
- package/dist/db-ux/p-OOIf-5XP.js +1 -0
- package/dist/db-ux/p-a4d9f6e2.entry.js +1 -0
- package/dist/db-ux/p-af248e57.entry.js +1 -0
- package/dist/db-ux/p-ba82a0b0.entry.js +1 -0
- package/dist/db-ux/p-c2ce6ecd.entry.js +1 -0
- package/dist/db-ux/p-d7b5748d.entry.js +1 -0
- package/dist/db-ux/p-dfbbe502.entry.js +1 -0
- package/dist/db-ux/p-e7a400a2.entry.js +1 -0
- package/dist/db-ux/p-ef1aa878.entry.js +1 -0
- package/dist/db-ux/p-f1daaefa.entry.js +1 -0
- package/dist/db-ux/p-f6312d2c.entry.js +1 -0
- package/dist/db-ux/p-fbf09569.entry.js +1 -0
- package/dist/db-ux/p-ff11c071.entry.js +1 -0
- package/dist/db-ux/p-fumiz06Y.js +1 -0
- package/dist/esm/db-accordion-item.entry.js +48 -11
- package/dist/esm/db-accordion.entry.js +45 -8
- package/dist/esm/db-badge.entry.js +45 -8
- package/dist/esm/db-brand.entry.js +38 -7
- package/dist/esm/db-button.entry.js +40 -8
- package/dist/esm/db-card.entry.js +38 -7
- package/dist/esm/db-checkbox.entry.js +48 -14
- package/dist/esm/db-custom-button.entry.js +40 -8
- package/dist/esm/db-custom-select-dropdown_5.entry.js +197 -37
- package/dist/esm/db-custom-select-form-field.entry.js +38 -7
- package/dist/esm/db-custom-select.entry.js +65 -31
- package/dist/esm/db-divider.entry.js +37 -6
- package/dist/esm/db-drawer.entry.js +47 -10
- package/dist/esm/db-header.entry.js +45 -8
- package/dist/esm/db-icon.entry.js +38 -7
- package/dist/esm/db-infotext.entry.js +38 -7
- package/dist/esm/db-link_4.entry.js +289 -0
- package/dist/esm/db-navigation-item.entry.js +49 -12
- package/dist/esm/db-navigation.entry.js +38 -7
- package/dist/esm/db-notification.entry.js +38 -7
- package/dist/esm/db-page.entry.js +50 -15
- package/dist/esm/db-popover.entry.js +46 -9
- package/dist/esm/db-radio.entry.js +45 -11
- package/dist/esm/db-section.entry.js +38 -7
- package/dist/esm/db-select.entry.js +49 -15
- package/dist/esm/db-stack.entry.js +38 -7
- package/dist/esm/db-switch.entry.js +48 -14
- package/dist/esm/db-tab-item_3.entry.js +123 -23
- package/dist/esm/db-table-body_3.entry.js +231 -0
- package/dist/esm/{db-link.entry.js → db-table-caption.entry.js} +41 -11
- package/dist/esm/db-table.entry.js +187 -0
- package/dist/esm/db-tabs.entry.js +44 -10
- package/dist/esm/db-textarea.entry.js +48 -13
- package/dist/esm/db-tooltip.entry.js +147 -23
- package/dist/esm/db-ux.js +3 -3
- package/dist/esm/{document-click-listener-D7W_VE5O.js → document-click-listener-9wJfRcvz.js} +1 -1
- package/dist/esm/{document-scroll-listener-DOBe3Oa9.js → document-scroll-listener-4F0ZAg9p.js} +1 -1
- package/dist/esm/{form-components-D6LQfJvq.js → form-components-ZV7IN0oG.js} +1 -1
- package/dist/esm/{index-BGaQ0Bx8.js → index-BlbKvvUv.js} +21 -0
- package/dist/esm/{index-xkoBSP8R.js → index-fumiz06Y.js} +13 -8
- package/dist/esm/index.js +16 -5
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/accordion/accordion.d.ts +3 -0
- package/dist/types/components/accordion-item/accordion-item.d.ts +3 -0
- package/dist/types/components/badge/badge.d.ts +3 -0
- package/dist/types/components/brand/brand.d.ts +3 -0
- package/dist/types/components/button/button.d.ts +3 -0
- package/dist/types/components/card/card.d.ts +3 -0
- package/dist/types/components/checkbox/checkbox.d.ts +2 -0
- package/dist/types/components/custom-button/custom-button.d.ts +3 -0
- package/dist/types/components/custom-select/custom-select.d.ts +2 -0
- package/dist/types/components/custom-select-dropdown/custom-select-dropdown.d.ts +3 -0
- package/dist/types/components/custom-select-form-field/custom-select-form-field.d.ts +3 -0
- package/dist/types/components/custom-select-list/custom-select-list.d.ts +3 -0
- package/dist/types/components/custom-select-list-item/custom-select-list-item.d.ts +3 -0
- package/dist/types/components/divider/divider.d.ts +3 -0
- package/dist/types/components/drawer/drawer.d.ts +3 -0
- package/dist/types/components/header/header.d.ts +3 -0
- package/dist/types/components/icon/icon.d.ts +3 -0
- package/dist/types/components/infotext/infotext.d.ts +3 -0
- package/dist/types/components/input/input.d.ts +2 -0
- package/dist/types/components/link/link.d.ts +3 -0
- package/dist/types/components/navigation/navigation.d.ts +3 -0
- package/dist/types/components/navigation-item/navigation-item.d.ts +3 -0
- package/dist/types/components/notification/notification.d.ts +3 -0
- package/dist/types/components/page/page.d.ts +2 -0
- package/dist/types/components/popover/popover.d.ts +3 -0
- package/dist/types/components/radio/radio.d.ts +2 -0
- package/dist/types/components/section/section.d.ts +3 -0
- package/dist/types/components/select/select.d.ts +2 -0
- package/dist/types/components/stack/stack.d.ts +3 -0
- package/dist/types/components/switch/switch.d.ts +2 -0
- package/dist/types/components/tab-item/tab-item.d.ts +2 -0
- package/dist/types/components/tab-list/tab-list.d.ts +3 -0
- package/dist/types/components/tab-panel/tab-panel.d.ts +3 -0
- package/dist/types/components/table/examples/data.d.ts +9 -0
- package/dist/types/components/table/index.d.ts +2 -0
- package/dist/types/components/table/model.d.ts +74 -0
- package/dist/types/components/table/table.d.ts +41 -0
- package/dist/types/components/table-body/index.d.ts +2 -0
- package/dist/types/components/table-body/model.d.ts +8 -0
- package/dist/types/components/table-body/table-body.d.ts +20 -0
- package/dist/types/components/table-caption/index.d.ts +2 -0
- package/dist/types/components/table-caption/model.d.ts +5 -0
- package/dist/types/components/table-caption/table-caption.d.ts +22 -0
- package/dist/types/components/table-data-cell/index.d.ts +2 -0
- package/dist/types/components/table-data-cell/model.d.ts +5 -0
- package/dist/types/components/table-data-cell/table-data-cell.d.ts +26 -0
- package/dist/types/components/table-footer/index.d.ts +2 -0
- package/dist/types/components/table-footer/model.d.ts +8 -0
- package/dist/types/components/table-footer/table-footer.d.ts +20 -0
- package/dist/types/components/table-head/index.d.ts +2 -0
- package/dist/types/components/table-head/model.d.ts +10 -0
- package/dist/types/components/table-head/table-head.d.ts +62 -0
- package/dist/types/components/table-header-cell/index.d.ts +2 -0
- package/dist/types/components/table-header-cell/model.d.ts +24 -0
- package/dist/types/components/table-header-cell/table-header-cell.d.ts +29 -0
- package/dist/types/components/table-row/index.d.ts +2 -0
- package/dist/types/components/table-row/model.d.ts +30 -0
- package/dist/types/components/table-row/table-row.d.ts +24 -0
- package/dist/types/components/tabs/tabs.d.ts +2 -0
- package/dist/types/components/tag/tag.d.ts +3 -0
- package/dist/types/components/textarea/textarea.d.ts +2 -0
- package/dist/types/components/tooltip/model.d.ts +9 -0
- package/dist/types/components/tooltip/tooltip.d.ts +8 -0
- package/dist/types/components.d.ts +278 -0
- package/dist/types/index.d.ts +16 -0
- package/dist/types/shared/figma.d.ts +70 -18
- package/dist/types/shared/model.d.ts +44 -2
- package/dist/types/utils/index.d.ts +9 -4
- package/dist/vscode.html-custom-data.json +400 -2
- package/dist/web-types.json +960 -177
- package/package.json +6 -6
- package/bundle/p--qzKkpB9.js +0 -1
- package/bundle/p-9fgrfYbf.js +0 -1
- package/bundle/p-B5E_0kTi.js +0 -1
- package/bundle/p-BChikMGc.js +0 -1
- package/bundle/p-BGVLpaFn.js +0 -1
- package/bundle/p-BPxBqqlc.js +0 -1
- package/bundle/p-C6_y8Tot.js +0 -1
- package/bundle/p-CKfRqzsn.js +0 -1
- package/bundle/p-CnYMRGX1.js +0 -1
- package/bundle/p-CwzdaLE3.js +0 -1
- package/bundle/p-CyxQfbGC.js +0 -1
- package/bundle/p-DisehhY5.js +0 -1
- package/bundle/p-DstwggLZ.js +0 -1
- package/bundle/p-LbPYp2oP.js +0 -1
- package/bundle/p-suxDlmXD.js +0 -1
- package/dist/db-ux/p-0f524f6c.entry.js +0 -1
- package/dist/db-ux/p-11211f1a.entry.js +0 -1
- package/dist/db-ux/p-1a4881de.entry.js +0 -1
- package/dist/db-ux/p-21e5f6d0.entry.js +0 -1
- package/dist/db-ux/p-2461e08a.entry.js +0 -1
- package/dist/db-ux/p-26b7e21f.entry.js +0 -1
- package/dist/db-ux/p-272bdffc.entry.js +0 -1
- package/dist/db-ux/p-32c359a9.entry.js +0 -1
- package/dist/db-ux/p-33606da9.entry.js +0 -1
- package/dist/db-ux/p-44391c06.entry.js +0 -1
- package/dist/db-ux/p-46e3033b.entry.js +0 -1
- package/dist/db-ux/p-4b99f205.entry.js +0 -1
- package/dist/db-ux/p-4c238643.entry.js +0 -1
- package/dist/db-ux/p-4c3a8823.entry.js +0 -1
- package/dist/db-ux/p-4d5201a3.entry.js +0 -1
- package/dist/db-ux/p-5eae34e7.entry.js +0 -1
- package/dist/db-ux/p-652739e4.entry.js +0 -1
- package/dist/db-ux/p-93a6b1ee.entry.js +0 -1
- package/dist/db-ux/p-94de5791.entry.js +0 -1
- package/dist/db-ux/p-9728504d.entry.js +0 -1
- package/dist/db-ux/p-BGaQ0Bx8.js +0 -2
- package/dist/db-ux/p-CHLgQ9vn.js +0 -1
- package/dist/db-ux/p-D_roHmuC.js +0 -1
- package/dist/db-ux/p-a6c3ceaa.entry.js +0 -1
- package/dist/db-ux/p-cd3cfb4e.entry.js +0 -1
- package/dist/db-ux/p-cf045f35.entry.js +0 -1
- package/dist/db-ux/p-d173eace.entry.js +0 -1
- package/dist/db-ux/p-d3ada4cb.entry.js +0 -1
- package/dist/db-ux/p-d858f147.entry.js +0 -1
- package/dist/db-ux/p-db71c251.entry.js +0 -1
- package/dist/db-ux/p-e2740857.entry.js +0 -1
- package/dist/db-ux/p-ed5b3877.entry.js +0 -1
- package/dist/db-ux/p-fd334f14.entry.js +0 -1
- package/dist/db-ux/p-fed0fc42.entry.js +0 -1
- package/dist/db-ux/p-xkoBSP8R.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{y as i,H as t,A as s,h as e,f as a,p as h,i as d,u as n,z as l,k as o,n as c,l as r,m as u,e as v,j as m,o as g,d as p,t as b}from"./p-CYYSsu3p.js";import{l as f,f as w,g as y,h as k,j as I,k as x,b as z,a as L}from"./p-BdL-nI5y.js";import{c as _}from"./p-D6L0n3gO.js";import{d as M}from"./p-CewqZGHg.js";const O=i(class extends t{constructor(i){super(),!1!==i&&this.__registerHost(),this.input=s(this,"input"),this.change=s(this,"change"),this.blur=s(this,"blur"),this.focus=s(this,"focus"),this._id=void 0,this._messageId=void 0,this._validMessageId=void 0,this._invalidMessageId=void 0,this._invalidMessage=void 0,this._dataListId=void 0,this._descByIds=void 0,this._value="",this._voiceOverFallback="",this.abortController=void 0,this.observer=void 0}hasValidState(){var i;return!!(null!==(i=this.validMessage)&&void 0!==i?i:"valid"===this.validation)}handleValidation(){var i,t,s,d;(null===(i=this._ref)||void 0===i?void 0:i.validity.valid)&&"invalid"!==this.validation?this.hasValidState()&&(null===(s=this._ref)||void 0===s?void 0:s.validity.valid)&&(this.required||this.minLength||this.maxLength||this.pattern)?(this._descByIds=this._validMessageId,e()&&(this._voiceOverFallback=null!==(d=this.validMessage)&&void 0!==d?d:x,a((()=>this._voiceOverFallback=""),1e3))):this._descByIds=h(this.message,this.showMessage)?this._messageId:void 0:(this._descByIds=this._invalidMessageId,this._invalidMessage=this.invalidMessage||(null===(t=this._ref)||void 0===t?void 0:t.validationMessage)||f,e()&&(this._voiceOverFallback=this._invalidMessage,a((()=>this._voiceOverFallback=""),1e3)))}handleInput(i,t){this.input&&this.input.emit(i),this.handleValidation()}handleChange(i,t){this.change&&this.change.emit(i),this.handleValidation()}handleBlur(i){this.blur&&this.blur.emit(i)}handleFocus(i){this.focus&&this.focus.emit(i)}getDataList(){const i=this.dataList;return Array.from((d(i)?null==i?void 0:i.map((i=>({value:i,label:void 0}))):i)||[])}resetIds(){var i,t,s;const e=null!==(s=null!==(i=this.id)&&void 0!==i?i:null===(t=this.propOverrides)||void 0===t?void 0:t.id)&&void 0!==s?s:`input-${n()}`;this._id=e,this._messageId=e+w,this._validMessageId=e+y,this._invalidMessageId=e+k,this._dataListId=e+I}setupObserver(i){if(!i)return;const t=i.closest("db-input");t&&!this.observer&&(this.observer=new MutationObserver((t=>{t.some((i=>{var t;const s=i.target.attributes.getNamedItem(null!==(t=i.attributeName)&&void 0!==t?t:"");return(null==s?void 0:s.value)!==i.oldValue}))&&this.enableAttributePassing(i,"db-input")})),this.observer.observe(t,{attributes:!0,attributeOldValue:!0}))}enableAttributePassing(i,t){const s=null==i?void 0:i.closest(t);if(i&&s){const t=s.attributes;for(let e=0;e<t.length;e++){const a=t.item(e);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))a.value?i.setAttribute(a.name,a.value):i.removeAttribute(a.name),s.removeAttribute(a.name);else if(a&&["style"].includes(a.name))i.setAttribute(a.name,a.value),s.removeAttribute(a.name);else if(a&&"class"===a.name){const t=a.value.includes("hydrated"),e=a.value.replace("hydrated","").trim(),h=i.getAttribute("class");i.setAttribute(a.name,`${h||""}${e?` ${e}`:""}`),t?s.setAttribute("class","hydrated"):s.removeAttribute(a.name)}}}}watch0Fn(){var i,t;(null!==(i=this.id)&&void 0!==i?i:null===(t=this.propOverrides)||void 0===t?void 0:t.id)&&this.resetIds()}watch0(){this.watch0Fn()}watch1Fn(){var i;this._invalidMessage=this.invalidMessage||(null===(i=this._ref)||void 0===i?void 0:i.validationMessage)||f}watch1(){this.watch1Fn()}watch2Fn(){var i;if(this._id){const t=this._id+w;this._messageId=t,this._validMessageId=this._id+y,this._invalidMessageId=this._id+k,this._dataListId=null!==(i=this.dataListId)&&void 0!==i?i:this._id+I,h(this.message,this.showMessage)&&(this._descByIds=t),this.handleValidation()}}watch2(){this.watch2Fn()}watch3Fn(){this._value=this.value}watch3(){this.watch3Fn()}watch4Fn(){if(this._ref){const i=void 0;let t=this.abortController;t||(t=new AbortController,this.abortController=t),_(this._ref,{value:this.value,defaultValue:i},(i=>{this.handleChange(i,!0),this.handleInput(i,!0)}),t.signal)}}watch4(){this.watch4Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const i=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);i&&i.remove()}this.enableAttributePassing(this._ref,"db-input"),(()=>{this.resetIds(),this._invalidMessage=this.invalidMessage||f})(),(()=>{this.setupObserver(this._ref)})(),this.watch0Fn(),this.watch1Fn(),this.watch2Fn(),this.watch3Fn(),this.watch4Fn()}disconnectedCallback(){var i,t;null===(i=this.abortController)||void 0===i||i.abort(),null===(t=this.observer)||void 0===t||t.disconnect()}render(){var i,t,s,e,a,d,n,b;return l("div",{key:"c8140e1e7d447fd4d65829dde8090110d0e421dc",class:p("db-input",this.className),"data-variant":this.variant,"data-hide-label":g(this.showLabel),"data-show-icon":m(this.showIconLeading,"showIconLeading")||m(this.showIcon,"showIcon"),"data-icon":null!==(i=this.iconLeading)&&void 0!==i?i:this.icon,"data-icon-trailing":this.iconTrailing,"data-hide-asterisk":g(this.showRequiredAsterisk),"data-show-icon-trailing":m(this.showIconTrailing,"showIconTrailing")},l("label",{key:"7ce81ede48602af85d5bf770c01ef0731d1774ec",htmlFor:this._id},null!==(t=this.label)&&void 0!==t?t:L),l("input",{key:"880aea669e5decea1d0c865bd27981ab082c9fec","aria-invalid":"invalid"===this.validation,"data-custom-validity":this.validation,"data-field-sizing":this.fieldSizing,ref:i=>{this._ref=i},id:this._id,name:this.name,type:this.type||"text",multiple:o(this.multiple,"multiple"),accept:this.accept,placeholder:null!==(s=this.placeholder)&&void 0!==s?s:z,disabled:o(this.disabled,"disabled"),required:o(this.required,"required"),step:u(this.step),value:null!==(a=null!==(e=this.value)&&void 0!==e?e:this._value)&&void 0!==a?a:"",maxLength:r(this.maxLength,this.maxlength),minLength:r(this.minLength,this.minlength),max:c(this.max,this.type),min:c(this.min,this.type),readOnly:o(this.readOnly,"readOnly")||o(this.readonly,"readonly")||void 0,form:this.form,pattern:this.pattern,size:this.size,autoComplete:this.autocomplete,autoFocus:o(this.autofocus,"autofocus"),enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,onInput:i=>this.handleInput(i),onChange:i=>this.handleChange(i),onBlur:i=>this.handleBlur(i),onFocus:i=>this.handleFocus(i),list:this.dataList&&this._dataListId,"aria-describedby":null!==(d=this.ariaDescribedBy)&&void 0!==d?d:this._descByIds,role:["datetime-local","date","time","week","month","color"].includes(null!==(n=this.type)&&void 0!==n?n:"")&&v()?"textbox":void 0}),this.dataList?l("datalist",{id:this._dataListId},null===(b=this.getDataList())||void 0===b?void 0:b.map((i=>l("option",{key:this._dataListId+"-option-"+i.value,value:i.value},i.label)))):null,l("slot",{key:"c119d0f17fc00de285fba88f3748235b914691ff"}),h(this.message,this.showMessage)?l("db-infotext",{size:this.messageSize||"small",icon:this.messageIcon,id:this._messageId},this.message):null,this.hasValidState()?l("db-infotext",{semantic:"successful",id:this._validMessageId,size:this.validMessageSize||"small"},this.validMessage||x):null,l("db-infotext",{key:"2ee3dc9555e0a21f6645807077c0b1af6dd08043",semantic:"critical",id:this._invalidMessageId,size:this.invalidMessageSize||"small"},this._invalidMessage),l("span",{key:"5a3a55b62468522a3198957be4b5a72c818316b4","data-visually-hidden":"true",role:"status"},this._voiceOverFallback))}get rootElement(){return this}static get watchers(){return{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],_ref:[{watch1:0},{watch4:0}],invalidMessage:[{watch1:0}],_id:[{watch2:0}],value:[{watch3:0}]}}},[260,"db-input",{invalidMessage:[1,"invalid-message"],id:[1],propOverrides:[16],dataListId:[1,"data-list-id"],message:[1],showMessage:[8,"show-message"],value:[8],validMessage:[1,"valid-message"],validation:[1],required:[8],minLength:[8,"min-length"],maxLength:[8,"max-length"],pattern:[1],dataList:[16],className:[1,"classname"],variant:[1],showLabel:[8,"show-label"],showIconLeading:[8,"show-icon-leading"],showIcon:[8,"show-icon"],iconLeading:[1,"icon-leading"],icon:[1],iconTrailing:[1,"icon-trailing"],showRequiredAsterisk:[8,"show-required-asterisk"],showIconTrailing:[8,"show-icon-trailing"],label:[1],fieldSizing:[1,"field-sizing"],name:[1],type:[1],multiple:[8],accept:[1],placeholder:[1],disabled:[8],step:[8],maxlength:[8],minlength:[8],max:[8],min:[8],readOnly:[8,"read-only"],readonly:[8],form:[1],size:[2],autocomplete:[1],autofocus:[8],enterkeyhint:[1],inputmode:[1],ariaDescribedBy:[1,"aria-described-by"],messageSize:[1,"message-size"],messageIcon:[1,"message-icon"],validMessageSize:[1,"valid-message-size"],invalidMessageSize:[1,"invalid-message-size"],_id:[32],_messageId:[32],_validMessageId:[32],_invalidMessageId:[32],_invalidMessage:[32],_dataListId:[32],_descByIds:[32],_value:[32],_voiceOverFallback:[32],abortController:[32],observer:[32]},void 0,{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],_ref:[{watch1:0},{watch4:0}],invalidMessage:[{watch1:0}],_id:[{watch2:0}],value:[{watch3:0}]}]);function F(){"undefined"!=typeof customElements&&["db-input","db-infotext"].forEach((i=>{switch(i){case"db-input":customElements.get(b(i))||customElements.define(b(i),O);break;case"db-infotext":customElements.get(b(i))||M()}}))}export{O as D,F as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{y as t,H as s,A as e,w as i,k as a,f as d,z as o,j as n,d as r,t as h}from"./p-CYYSsu3p.js";import{s as c}from"./p-BdL-nI5y.js";import{d as l}from"./p-CZ9SsTOA.js";const b=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.close=e(this,"close"),this.initialized=!1,this.observer=void 0}handleClose(t,s){var e;t&&(i(t)?"Escape"===t.key&&(t.preventDefault(),this.close&&this.close.emit(t)):(s&&(t.stopPropagation(),this.close&&this.close.emit(t)),"DIALOG"===(null===(e=t.target)||void 0===e?void 0:e.nodeName)&&"click"===t.type&&"none"!==this.backdrop&&this.close&&this.close.emit(t)))}handleDialogOpen(){if(this._ref){const t=a(this.open,"open");t&&!this._ref.open&&(this.dialogContainerRef&&this.dialogContainerRef.removeAttribute("data-transition"),"absolute"===this.position||"none"===this.backdrop||"inside"===this.variant?this._ref.show():this._ref.showModal(),d((()=>{this.dialogContainerRef&&(this.dialogContainerRef.dataset.transition="open")}),1)),!t&&this._ref.open&&(this.dialogContainerRef&&(this.dialogContainerRef.dataset.transition="close"),d((()=>{var t;null===(t=this._ref)||void 0===t||t.close()}),401))}}setupObserver(t){if(!t)return;const s=t.closest("db-drawer");s&&!this.observer&&(this.observer=new MutationObserver((s=>{s.some((t=>{var s;const e=t.target.attributes.getNamedItem(null!==(s=t.attributeName)&&void 0!==s?s:"");return(null==e?void 0:e.value)!==t.oldValue}))&&this.enableAttributePassing(t,"db-drawer")})),this.observer.observe(s,{attributes:!0,attributeOldValue:!0}))}enableAttributePassing(t,s){const e=null==t?void 0:t.closest(s);if(t&&e){const s=e.attributes;for(let i=0;i<s.length;i++){const a=s.item(i);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))a.value?t.setAttribute(a.name,a.value):t.removeAttribute(a.name),e.removeAttribute(a.name);else if(a&&["style"].includes(a.name))t.setAttribute(a.name,a.value),e.removeAttribute(a.name);else if(a&&"class"===a.name){const s=a.value.includes("hydrated"),i=a.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(a.name,`${d||""}${i?` ${i}`:""}`),s?e.setAttribute("class","hydrated"):e.removeAttribute(a.name)}}}}watch0Fn(){this.handleDialogOpen()}watch0(){this.watch0Fn()}watch1Fn(){if(this._ref&&this.initialized&&"absolute"===this.position){const t=this._ref.parentElement;t&&(t.style.position="relative")}}watch1(){this.watch1Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-drawer"),(()=>{this.handleDialogOpen(),this.initialized=!0})(),(()=>{this.setupObserver(this._ref)})(),this.watch0Fn(),this.watch1Fn()}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}render(){var t,s,e;return o("dialog",{key:"68343ae9da612485135f6e0b01bd581de86d1dc6",class:"db-drawer",id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,ref:t=>{this._ref=t},onClick:t=>this.handleClose(t),onKeyDown:t=>this.handleClose(t),"data-position":this.position,"data-backdrop":this.backdrop,"data-direction":this.direction,"data-variant":this.variant},o("article",{key:"b6a860730f150e365c684a2ed362f8ad3e84e862",class:r("db-drawer-container",this.className),ref:t=>{this.dialogContainerRef=t},"data-spacing":this.spacing,"data-width":this.width,"data-direction":this.direction,"data-rounded":n(this.rounded,"rounded")},o("header",{key:"d8347218a266eb48f2b86717d6ba210c907f4c18",class:"db-drawer-header"},o("div",{key:"6e9a89da493fa209e09bf1ddb5a5719b52606e62",class:"db-drawer-header-text"},o("slot",{key:"503445639dd0a3e51a6f99f5aff3eb039e6d34eb",name:"drawerHeader"})),o("db-button",{key:"39400683f7e2a05c8c8dd33be6c9913d72d5454d",class:"button-close-drawer",icon:"cross",variant:"ghost",id:this.closeButtonId,noText:!0,onClick:t=>this.handleClose(t,!0)},null!==(e=this.closeButtonText)&&void 0!==e?e:c)),o("div",{key:"f0e4ebb273ea7f53fd1c026f7f50a16f89ab3259",class:"db-drawer-content"},o("slot",{key:"e1ead064fd822ca9fd33be44af5fd52801ba33ea"}))))}get rootElement(){return this}static get watchers(){return{open:[{watch0:0}],_ref:[{watch1:0}],initialized:[{watch1:0}],position:[{watch1:0}]}}},[260,"db-drawer",{open:[8],position:[1],backdrop:[1],variant:[1],id:[1],propOverrides:[16],direction:[1],className:[1,"classname"],spacing:[1],width:[1],rounded:[8],closeButtonId:[1,"close-button-id"],closeButtonText:[1,"close-button-text"],initialized:[32],observer:[32]},void 0,{open:[{watch0:0}],_ref:[{watch1:0}],initialized:[{watch1:0}],position:[{watch1:0}]}]);function u(){"undefined"!=typeof customElements&&["db-drawer","db-button"].forEach((t=>{switch(t){case"db-drawer":customElements.get(h(t))||customElements.define(h(t),b);break;case"db-button":customElements.get(h(t))||l()}}))}export{b as D,u as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{y as t,H as e,z as a,j as s,d as n,t as l,l as i}from"./p-CYYSsu3p.js";const d=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost()}enableAttributePassing(t,e){const a=null==t?void 0:t.closest(e);if(t&&a){const e=a.attributes;for(let s=0;s<e.length;s++){const n=e.item(s);if(n&&"data-density"!==n.name&&(n.name.startsWith("data-")||n.name.startsWith("aria-")))n.value?t.setAttribute(n.name,n.value):t.removeAttribute(n.name),a.removeAttribute(n.name);else if(n&&["style"].includes(n.name))t.setAttribute(n.name,n.value),a.removeAttribute(n.name);else if(n&&"class"===n.name){const e=n.value.includes("hydrated"),s=n.value.replace("hydrated","").trim(),l=t.getAttribute("class");t.setAttribute(n.name,`${l||""}${s?` ${s}`:""}`),e?a.setAttribute("class","hydrated"):a.removeAttribute(n.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-table-header-cell")}render(){return a("th",{key:"b459f2e2ea9b4dda6909d1c8f02e1cd22b16a712",class:n("db-table-header-cell",this.className),ref:t=>{this._ref=t},id:this.id,"data-horizontal-alignment":this.horizontalAlignment,"data-vertical-alignment":this.verticalAlignment,"data-no-text":s(this.noText),scope:this.scope,colSpan:i(this.colSpan,this.colspan),rowSpan:i(this.rowSpan,this.rowspan),headers:this.headers,abbr:this.abbr},a("slot",{key:"ec650ba68a8623b9729985f27822d94087327d74"}))}get rootElement(){return this}},[260,"db-table-header-cell",{id:[1],className:[1,"classname"],horizontalAlignment:[1,"horizontal-alignment"],verticalAlignment:[1,"vertical-alignment"],noText:[8,"no-text"],scope:[1],colSpan:[8,"col-span"],colspan:[8],rowSpan:[8,"row-span"],rowspan:[8],headers:[1],abbr:[1]}]);function o(){"undefined"!=typeof customElements&&["db-table-header-cell"].forEach((t=>{"db-table-header-cell"===t&&(customElements.get(l(t))||customElements.define(l(t),d))}))}export{d as D,o as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{y as t,H as s,z as e,d as i,t as a}from"./p-CYYSsu3p.js";const d=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.observer=void 0}setupObserver(t){if(!t)return;const s=t.closest("db-tab-list");s&&!this.observer&&(this.observer=new MutationObserver((s=>{s.some((t=>{var s;const e=t.target.attributes.getNamedItem(null!==(s=t.attributeName)&&void 0!==s?s:"");return(null==e?void 0:e.value)!==t.oldValue}))&&this.enableAttributePassing(t,"db-tab-list")})),this.observer.observe(s,{attributes:!0,attributeOldValue:!0}))}enableAttributePassing(t,s){const e=null==t?void 0:t.closest(s);if(t&&e){const s=e.attributes;for(let i=0;i<s.length;i++){const a=s.item(i);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))a.value?t.setAttribute(a.name,a.value):t.removeAttribute(a.name),e.removeAttribute(a.name);else if(a&&["style"].includes(a.name))t.setAttribute(a.name,a.value),e.removeAttribute(a.name);else if(a&&"class"===a.name){const s=a.value.includes("hydrated"),i=a.value.replace("hydrated","").trim(),d=t.getAttribute("class");t.setAttribute(a.name,`${d||""}${i?` ${i}`:""}`),s?e.setAttribute("class","hydrated"):e.removeAttribute(a.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-tab-list"),this.setupObserver(this._ref)}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}render(){var t,s;return e("div",{key:"2538ba05ecad54c8c29dda93a08acb61faf02309",class:i("db-tab-list",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id},e("ul",{key:"86824302eb2cc92ca45a61d8bdec0f34cd679db6",role:"tablist"},e("slot",{key:"b56406b1e0291a29905b599531c0dccd9c035504"})))}get rootElement(){return this}},[260,"db-tab-list",{id:[1],propOverrides:[16],className:[1,"classname"],observer:[32]}]);function n(){"undefined"!=typeof customElements&&["db-tab-list"].forEach((t=>{"db-tab-list"===t&&(customElements.get(a(t))||customElements.define(a(t),d))}))}export{d as D,n as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(t,n,e){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,n);if(o&&(!e||o.get))return o;t=Object.getPrototypeOf(t)}}var n=(n,e)=>{var o;Object.entries(null!=(o=e.o.t)?o:{}).map((([o,[l]])=>{if(31&l||32&l){const l=n[o],r=t(Object.getPrototypeOf(n),o,!0)||Object.getOwnPropertyDescriptor(n,o);r&&Object.defineProperty(n,o,{get(){return r.get.call(this)},set(t){r.set.call(this,t)},configurable:!0,enumerable:!0}),e.l.has(o)?n[o]=e.l.get(o):void 0!==l&&(n[o]=l)}}))},e=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},o=(t,n)=>n in t,l=(t,n)=>(0,console.error)(t,n),r="undefined"!=typeof window?window:{},s=r.HTMLElement||class{},i={i:0,u:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},c=!1,u=[],f=[],a=(t,n)=>e=>{t.push(e),c||(c=!0,n&&4&i.i?v(p):i.raf(p))},d=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){l(t)}t.length=0},p=()=>{d(u),d(f),(c=u.length>0)&&i.raf(p)},v=t=>Promise.resolve(undefined).then(t),h=a(f,!0),m=t=>{const n=new URL(t,i.u);return n.origin!==r.location.origin?n.href:n.pathname},y=t=>i.u=t,b=t=>{const n=j(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&$(n,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!w(t,O(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&j(t,"childNodes").length&&b(t)}};function $(t,n,e){let o,l=0,r=[];for(;l<t.length;l++){if(o=t[l],o["s-sr"]&&(!n||o["s-hn"]===n)&&(void 0===e||O(o)===e)&&(r.push(o),void 0!==e))return r;r=[...r,...$(o.childNodes,n,e)]}return r}var w=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let l=t;for(;l=l.nextSibling;)O(l)!==n||!e&&l["s-sr"]||o.push(l);return o},g=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,O=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function j(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}var N,k,S=new WeakMap,M=t=>"object"==(t=typeof t)||"function"===t,E=(t,n,...e)=>{let o=null,l=null,r=null,s=!1,i=!1;const c=[],u=n=>{for(let e=0;e<n.length;e++)o=n[e],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof t&&!M(o))&&(o=String(o)),s&&i?c[c.length-1].p+=o:c.push(s?A(null,o):o),i=s)};if(u(e),n){n.key&&(l=n.key),n.name&&(r=n.name);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}if("function"==typeof t)return t(null===n?{}:n,c,L);const f=A(t,null);return f.v=n,c.length>0&&(f.h=c),f.m=l,f.$=r,f},A=(t,n)=>({i:0,O:t,p:null!=n?n:null,j:null,h:null,v:null,m:null,$:null}),P={},L={forEach:(t,n)=>t.map(_).forEach(n),map:(t,n)=>t.map(_).map(n).map(x)},_=t=>({vattrs:t.v,vchildren:t.h,vkey:t.m,vname:t.$,vtag:t.O,vtext:t.p}),x=t=>{if("function"==typeof t.vtag){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),E(t.vtag,n,...t.vchildren||[])}const n=A(t.vtag,t.vtext);return n.v=t.vattrs,n.h=t.vchildren,n.m=t.vkey,n.$=t.vname,n},F=t=>{if(!t)return;const n=Object.keys(t);if(0===n.length)return;let e=!1;for(const o of n){if(e)break;for(const n of t[o])if("string"==typeof n){e=!0;break}}if(!e)return t;const o={};for(const e of n)o[e]=t[e].map((t=>"string"==typeof t?{[t]:0}:t));return o},R=(t,n)=>null==t||M(t)?t:4&n?"false"!==t&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?String(t):t,T=(t,n)=>{const e=t;return{emit:t=>C(e,n,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},C=(t,n,e)=>{const o=i.ce(n,e);return t.dispatchEvent(o),o},B=(t,n,l,s,c,u)=>{if(l===s)return;let f=o(t,n),a=n.toLowerCase();if("class"===n){const n=t.classList,e=W(l);let o=W(s);n.remove(...e.filter((t=>t&&!o.includes(t)))),n.add(...o.filter((t=>t&&!e.includes(t))))}else if("style"===n){for(const n in l)s&&null!=s[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in s)l&&s[n]===l[n]||(n.includes("-")?t.style.setProperty(n,s[n]):t.style[n]=s[n])}else if("key"===n);else if("ref"===n)s&&ct(s,t);else if(t.__lookupSetter__(n)||"o"!==n[0]||"n"!==n[1]){if("a"===n[0]&&n.startsWith("attr:")){const o=n.slice(5);let l;{const n=e(t);if(n&&n.o&&n.o.t){const t=n.o.t[o];t&&t[1]&&(l=t[1])}}return l||(l=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==s||!1===s?!1===s&&""!==t.getAttribute(l)||t.removeAttribute(l):t.setAttribute(l,!0===s?"":s))}if("p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=s}catch(t){}return}{const e=M(s);if((f||e&&null!==s)&&!c)try{if(t.tagName.includes("-"))t[n]!==s&&(t[n]=s);else{const e=null==s?"":s;"list"===n?f=!1:null!=l&&t[n]===e||("function"==typeof t.__lookupSetter__(n)?t[n]=e:t.setAttribute(n,e))}}catch(t){}null==s||!1===s?!1===s&&""!==t.getAttribute(n)||t.removeAttribute(n):(!f||4&u||c)&&!e&&1===t.nodeType&&t.setAttribute(n,s=!0===s?"":s)}}else if(n="-"===n[2]?n.slice(3):o(r,a)?a.slice(2):a[2]+n.slice(3),l||s){const e=n.endsWith(D);n=n.replace(H,""),l&&i.rel(t,n,l,e),s&&i.ael(t,n,s,e)}},U=/\s/,W=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(U):[]),D="Capture",H=new RegExp(D+"$"),q=(t,n,e)=>{const o=11===n.j.nodeType&&n.j.host?n.j.host:n.j,l=t&&t.v||{},r=n.v||{};for(const t of z(Object.keys(l)))t in r||B(o,t,l[t],void 0,e,n.i);for(const t of z(Object.keys(r)))B(o,t,l[t],r[t],e,n.i)};function z(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var V=!1,Y=!1,I=!1,Z=!1,G=[],J=[],K=(t,n,e)=>{var o;const l=n.h[e];let s,i,c,u=0;if(V||(I=!0,"slot"===l.O&&(l.i|=l.h?2:1)),null!=l.p)s=l.j=r.document.createTextNode(l.p);else if(1&l.i)s=l.j=r.document.createTextNode(""),q(null,l,Z);else{if(!r.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=l.j=r.document.createElement(!V&&2&l.i?"slot-fb":l.O),q(null,l,Z),l.h){const n="template"===l.O?s.content:s;for(u=0;u<l.h.length;++u)i=K(t,l,u),i&&n.appendChild(i)}}return s["s-hn"]=k,3&l.i&&(s["s-sr"]=!0,s["s-cr"]=N,s["s-sn"]=l.$||"",s["s-rf"]=null==(o=l.v)?void 0:o.ref,function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const l=this["s-cr"].parentElement;return(l.__childNodes?l.childNodes:(t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n})(l.childNodes)).forEach((t=>{o===O(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}(s),c=t&&t.h&&t.h[e],c&&c.O===l.O&&t.j&&Q(t.j)),s},Q=t=>{i.i|=1;const n=t.closest(k.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(ut(n,t,null!=e?e:null),t["s-sh"]=void 0,I=!0)}i.i&=-2},X=(t,n)=>{i.i|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===k&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==k&&o["s-ol"]&&(ut(ot(o).parentNode,o,ot(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,I=!0),n&&X(o,n)}i.i&=-2},tt=(t,n,e,o,l,r)=>{let s,i=t["s-cr"]&&t["s-cr"].parentNode||t;for("template"===e.O&&(i=i.content);l<=r;++l)o[l]&&(s=K(null,e,l),s&&(o[l].j=s,ut(i,s,ot(n))))},nt=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.j;it(n),t&&(Y=!0,t["s-ol"]?t["s-ol"].remove():X(t,!0),t.remove())}}},et=(t,n,e=!1)=>t.O===n.O&&("slot"===t.O?t.$===n.$:e?(e&&!t.m&&n.m&&(t.m=n.m),!0):t.m===n.m),ot=t=>t&&t["s-ol"]||t,lt=(t,n,e=!1)=>{const o=n.j=t.j,l=t.h,r=n.h,s=n.p;let i;null==s?("slot"!==n.O||V||t.$!==n.$&&(n.j["s-sn"]=n.$||"",Q(n.j.parentElement)),q(t,n,Z),null!==l&&null!==r?((t,n,e,o,l=!1)=>{let r,s,i=0,c=0,u=0,f=0,a=n.length-1,d=n[0],p=n[a],v=o.length-1,h=o[0],m=o[v];const y="template"===e.O?t.content:t;for(;i<=a&&c<=v;)if(null==d)d=n[++i];else if(null==p)p=n[--a];else if(null==h)h=o[++c];else if(null==m)m=o[--v];else if(et(d,h,l))lt(d,h,l),d=n[++i],h=o[++c];else if(et(p,m,l))lt(p,m,l),p=n[--a],m=o[--v];else if(et(d,m,l))"slot"!==d.O&&"slot"!==m.O||X(d.j.parentNode,!1),lt(d,m,l),ut(y,d.j,p.j.nextSibling),d=n[++i],m=o[--v];else if(et(p,h,l))"slot"!==d.O&&"slot"!==m.O||X(p.j.parentNode,!1),lt(p,h,l),ut(y,p.j,d.j),p=n[--a],h=o[++c];else{for(u=-1,f=i;f<=a;++f)if(n[f]&&null!==n[f].m&&n[f].m===h.m){u=f;break}u>=0?(s=n[u],s.O!==h.O?r=K(n&&n[c],e,u):(lt(s,h,l),n[u]=void 0,r=s.j),h=o[++c]):(r=K(n&&n[c],e,c),h=o[++c]),r&&ut(ot(d.j).parentNode,r,ot(d.j))}i>a?tt(t,null==o[v+1]?null:o[v+1].j,e,o,c,v):c>v&&nt(n,i,a)})(o,l,n,r,e):null!==r?(null!==t.p&&(o.textContent=""),tt(o,null,n,r,0,r.length-1)):!e&&null!==l&&nt(l,0,l.length-1)):(i=o["s-cr"])?i.parentNode.textContent=s:t.p!==s&&(o.data=s)},rt=[],st=t=>{let n,e,o;const l=t.__childNodes||t.childNodes;for(const t of l){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;const l=t["s-sn"];for(o=e.length-1;o>=0;o--)if(n=e[o],!(n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||n["s-sh"]&&n["s-sh"]===t["s-hn"]))if(g(n,l)){let e=rt.find((t=>t.N===n));Y=!0,n["s-sn"]=n["s-sn"]||l,e?(e.N["s-sh"]=t["s-hn"],e.k=t):(n["s-sh"]=t["s-hn"],rt.push({k:t,N:n})),n["s-sr"]&&rt.map((t=>{g(t.N,n["s-sn"])&&(e=rt.find((t=>t.N===n)),e&&!t.k&&(t.k=e.k))}))}else rt.some((t=>t.N===n))||rt.push({N:n})}1===t.nodeType&&st(t)}},it=t=>{t.v&&t.v.ref&&G.push((()=>t.v.ref(null))),t.h&&t.h.map(it)},ct=(t,n)=>{J.push((()=>t(n)))},ut=(t,n,e,o)=>{if("string"==typeof n["s-sn"]){t.insertBefore(n,e);const{slotNode:l}=function(t,n){var e;if(!(n=n||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=O(t)||"";return{slotNode:$(j(n,"childNodes"),n.tagName,o)[0],slotName:o}}(n);return l&&!o&&l.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),n}return t.__insertBefore?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)},ft=(t,n,e=!1)=>{var o,l,s,c,u;const f=t.$hostElement$,a=t.o,d=t.S||A(null,null);var p;const v=(p=n)&&p.O===P?n:E(null,null,n);if(k=f.tagName,e&&v.v)for(const t of Object.keys(v.v))f.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(v.v[t]=f[t]);if(v.O=null,v.i|=4,t.S=v,v.j=d.j=f,V=false,N=f["s-cr"],Y=!1,lt(d,v,e),i.i|=1,I){st(v.j);for(const t of rt){const n=t.N;if(!n["s-ol"]&&r.document){const t=r.document.createTextNode("");t["s-nr"]=n,ut(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of rt){const n=t.N,i=t.k;if(1===n.nodeType&&e&&(n["s-ih"]=null!=(o=n.hidden)&&o),i){const t=i.parentNode;let o=i.nextSibling;if(o&&1===o.nodeType){let e=null==(l=n["s-ol"])?void 0:l.previousSibling;for(;e;){let l=null!=(s=e["s-nr"])?s:null;if(l&&l["s-sn"]===n["s-sn"]&&t===(l.__parentNode||l.parentNode)){for(l=l.nextSibling;l===n||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){o=l;break}}e=e.previousSibling}}if((!o&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o){if(ut(t,n,o,e),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=r.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,ut(n.parentNode,t,n,e),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(c=n["s-ih"])&&c)}n&&"function"==typeof i["s-rf"]&&i["s-rf"](i)}else 1===n.nodeType&&(n.hidden=!0)}}if(Y&&b(v.j),i.i&=-2,rt.length=0,!V&&!(1&a.i)&&f["s-cr"]){const t=v.j.__childNodes||v.j.childNodes;for(const n of t)if(n["s-hn"]!==k&&!n["s-sh"])if(e&&null==n["s-ih"]&&(n["s-ih"]=null!=(u=n.hidden)&&u),1===n.nodeType)n.hidden=!0;else if(3===n.nodeType&&n.nodeValue.trim()){const t=r.document.createComment("s-nt-"+n.nodeValue);t["s-sn"]=n["s-sn"],ut(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}N=void 0,G.forEach((t=>t())),G.length=0,J.forEach((t=>t())),J.length=0},at=(t,n)=>{if(n&&!t.M&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.M=()=>{n["s-p"].splice(e-1,1),o()})))}},dt=(t,n)=>{if(t.i|=16,4&t.i)return void(t.i|=512);at(t,t.A);const e=()=>pt(t,n);if(!n)return h(e);queueMicrotask((()=>{e()}))},pt=(t,n)=>{const e=t.$hostElement$,o=e;if(!o)throw new Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return l=wt(o,n?"componentWillLoad":"componentWillUpdate",void 0,e),l=vt(l,(()=>wt(o,"componentWillRender",void 0,e))),vt(l,(()=>mt(t,o,n)))},vt=(t,n)=>ht(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),ht=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,mt=async(t,n,e)=>{var o;const l=t.$hostElement$,r=l["s-rc"];yt(t,n,l,e),r&&(r.map((t=>t())),l["s-rc"]=void 0);{const n=null!=(o=l["s-p"])?o:[],e=()=>bt(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.i|=4,n.length=0)}},yt=(t,n,e,o)=>{try{n=n.render(),t.i&=-17,t.i|=2,ft(t,n,o)}catch(n){l(n,t.$hostElement$)}return null},bt=t=>{const n=t.$hostElement$,e=n,o=t.A;wt(e,"componentDidRender",void 0,n),64&t.i?wt(e,"componentDidUpdate",void 0,n):(t.i|=64,gt(n),wt(e,"componentDidLoad",void 0,n),t.P(n),o||$t()),t.M&&(t.M(),t.M=void 0),512&t.i&&v((()=>dt(t,!1))),t.i&=-517},$t=()=>{v((()=>C(r,"appload",{detail:{namespace:"db-ux"}})))},wt=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){l(t,o)}},gt=t=>t.classList.add("hydrated"),Ot=(t,n,o,r)=>{const s=e(t);if(!s)return;const i=t,c=s.l.get(n),u=s.i,f=i;o=R(o,r.t[n][0]);const a=Number.isNaN(c)&&Number.isNaN(o);if(o!==c&&!a){if(s.l.set(n,o),r.L){const t=r.L[n];t&&t.map((t=>{try{const[[e,l]]=Object.entries(t);(128&u||1&l)&&(f?f[e](o,c,n):s._.push((()=>{s.F[e](o,c,n)})))}catch(t){l(t,i)}}))}if(2&u){if(f.componentShouldUpdate&&!1===f.componentShouldUpdate(o,c,n)&&!(16&u))return;16&u||dt(s,!1)}}},jt=(n,o)=>{var l,r;const s=n.prototype;{n.watchers&&!o.L&&(o.L=F(n.watchers)),n.deserializers&&!o.R&&(o.R=n.deserializers),n.serializers&&!o.T&&(o.T=n.serializers);const c=Object.entries(null!=(l=o.t)?l:{});c.map((([n,[l]])=>{if(31&l||32&l){const{get:r,set:i}=t(s,n)||{};r&&(o.t[n][0]|=2048),i&&(o.t[n][0]|=4096),Object.defineProperty(s,n,{get(){return r?r.apply(this):(t=n,e(this).l.get(t));var t},configurable:!0,enumerable:!0}),Object.defineProperty(s,n,{set(t){const r=e(this);if(r){if(i)return void 0===(32&l?this[n]:r.$hostElement$[n])&&r.l.get(n)&&(t=r.l.get(n)),i.apply(this,[R(t,l)]),void Ot(this,n,t=32&l?this[n]:r.$hostElement$[n],o);Ot(this,n,t,o)}}})}}));{const t=new Map;s.attributeChangedCallback=function(n,l,r){i.jmp((()=>{var i;const u=t.get(n),f=e(this);if(this.hasOwnProperty(u),s.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==r)return;if(null==u){const t=null==f?void 0:f.i;if(f&&t&&!(8&t)&&r!==l){const e=this,s=null==(i=o.L)?void 0:i[n];null==s||s.forEach((o=>{const[[s,i]]=Object.entries(o);null!=e[s]&&(128&t||1&i)&&e[s].call(e,r,l,n)}))}return}const a=c.find((([t])=>t===u)),d=a&&4&a[1][0],p=d&&null===r&&void 0===this[u];d&&(r=null!==r&&"false"!==r);const v=Object.getOwnPropertyDescriptor(s,u);p||r==this[u]||v.get&&!v.set||(this[u]=r)}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=o.L)?r:{}),...c.filter((([t,n])=>31&n[0])).map((([n,e])=>{const o=e[1]||n;return t.set(o,n),o}))]))}}return n},Nt=t=>{if(!r.document)return;const n=t["s-cr"]=r.document.createComment("");n["s-cn"]=!0,ut(t,n,t.firstChild)},kt=(t,o)=>{const r={i:o[0],C:o[1]};try{r.t=o[2],r.L=F(t.L),r.R=t.R,r.T=t.T;const s=t.prototype.connectedCallback,c=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((t,e)=>{const o={i:0,$hostElement$:t,o:e,l:new Map,B:new Map};o.U=new Promise((t=>o.P=t)),t["s-p"]=[],t["s-rc"]=[];const l=o;t.__stencil__getHostRef=()=>l,512&e.i&&n(t,o)})(this,r)},connectedCallback(){if(!this.__hasHostListenerAttached){if(!e(this))return;this.__hasHostListenerAttached=!0}(t=>{if(!(1&i.i)){const n=e(t);if(!n)return;const o=n.o,r=()=>{};if(1&n.i)(null==n?void 0:n.F)||(null==n?void 0:n.U)&&n.U.then((()=>{}));else{n.i|=1,12&o.i&&Nt(t);{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){at(n,n.A=e);break}}o.t&&Object.entries(o.t).map((([n,[e]])=>{if(31&e&&Object.prototype.hasOwnProperty.call(t,n)){const e=t[n];delete t[n],t[n]=e}})),(async(t,n)=>{try{32&n.i||(n.i|=32,customElements.whenDefined(t.localName).then((()=>n.i|=128)));const e=n.A,o=()=>dt(n,!0);e&&e["s-rc"]?e["s-rc"].push(o):o()}catch(e){l(e,t),n.M&&(n.M(),n.M=void 0),n.P&&n.P(t)}})(t,n)}r()}})(this),s&&s.call(this)},disconnectedCallback(){(async t=>{1&i.i||e(t),S.has(t)&&S.delete(t),t.shadowRoot&&S.has(t.shadowRoot)&&S.delete(t.shadowRoot)})(this),c&&c.call(this)},__attachShadow(){this.shadowRoot=this}}),Object.defineProperty(t,"is",{value:r.C,configurable:!0}),jt(t,r)}catch(n){return l(n),t}},St=(t,n)=>n,Mt=t=>i.W=t,Et=t=>Object.assign(i,t),At=new WeakMap;function Pt(t,n){let e=At.get(n);e||(e={i:0,o:{i:0,C:n.tagName},$hostElement$:n},At.set(n,e)),ft(e,t)}function Lt(t){return t}const _t=()=>{var t,n;if("undefined"!=typeof window){if(null===(t=window.crypto)||void 0===t?void 0:t.randomUUID)return window.crypto.randomUUID();if(null===(n=window.crypto)||void 0===n?void 0:n.getRandomValues)return window.crypto.getRandomValues(new Uint32Array(3)).join("-")}return Math.random().toString().substring(2)},xt=(t,n)=>{Object.values(t.children).forEach((t=>{t.setAttribute(n.key,n.value),t.children.length>0&&xt(t,n)}))},Ft=(...t)=>{let n="";for(const e of t)if(e)if("string"==typeof e)n+=`${e} `;else for(const t in e)e[t]&&(n+=`${t} `);return n.trim()},Rt=t=>Array.isArray(t)&&t.every((t=>"string"==typeof t)),Tt=["Mac","iPhone","iPad","iPod"],Ct=()=>"undefined"!=typeof window&&Tt.some((t=>window.navigator.userAgent.includes(t))),Bt=()=>{if("undefined"==typeof window||"undefined"==typeof navigator)return!1;const t=navigator.userAgent,n=/iP(ad|hone|od)/.test(t),e=!!t.match(/Safari/)&&!t.match(/CriOS|FxiOS|OPiOS|EdgiOS/);return n&&e},Ut=(t,n)=>new Promise((()=>setTimeout(t,n))),Wt=(t,n)=>{if(null!=t)return String("string"==typeof t?""===t||"true"===t||(null==n?void 0:n.toLowerCase())===t.toLowerCase():t)},Dt=(t,n)=>{if(null!=t)return"string"==typeof t?Boolean(""===t||"true"===t||(null==n?void 0:n.toLowerCase())===t.toLowerCase()):Boolean(t)},Ht=(t,n)=>{if(null!=t||null!=n)return Number(null!=t?t:n)},qt=t=>{if(null!=t)return"any"===t?"any":Number(t)},zt=(t,n)=>n&&["number","range"].includes(n)?Ht(t):t,Vt=t=>"string"==typeof t?"false"!==t:t,Yt=t=>{if(null!=t)return Wt(!Vt(t),"show")},It=(t,n)=>void 0===n?!!t:Vt(n)&&Boolean(t),Zt=t=>t.querySelector('input[type="search"]'),Gt=(t,n)=>{var e,o;return`${n}${null!==(o=null!==(e=t.id)&&void 0!==e?e:t.value)&&void 0!==o?o:_t()}`},Jt=t=>void 0!==t.key,Kt=({semantic:t,role:n,ariaLive:e})=>{if(n)return n;if(e)return"article";switch(t){case"critical":case"warning":return"alert";case"informational":case"successful":return"status";default:return"article"}};export{T as A,St as F,s as H,Mt as a,Et as b,xt as c,Ft as d,Bt as e,Ut as f,m as g,Ct as h,Rt as i,Wt as j,Dt as k,Ht as l,qt as m,zt as n,Yt as o,It as p,Zt as q,Pt as r,y as s,Lt as t,_t as u,Gt as v,Jt as w,Kt as x,kt as y,E as z}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{y as t,H as i,A as s,z as n,j as a,k as e,d as o,t as d}from"./p-CYYSsu3p.js";const h=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.click=s(this,"click"),this.observer=void 0}getButtonType(){return this.type?this.type:this.click?"button":"submit"}setupObserver(t){if(!t)return;const i=t.closest("db-button");i&&!this.observer&&(this.observer=new MutationObserver((i=>{i.some((t=>{var i;const s=t.target.attributes.getNamedItem(null!==(i=t.attributeName)&&void 0!==i?i:"");return(null==s?void 0:s.value)!==t.oldValue}))&&this.enableAttributePassing(t,"db-button")})),this.observer.observe(i,{attributes:!0,attributeOldValue:!0}))}enableAttributePassing(t,i){const s=null==t?void 0:t.closest(i);if(t&&s){const i=s.attributes;for(let n=0;n<i.length;n++){const a=i.item(n);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))a.value?t.setAttribute(a.name,a.value):t.removeAttribute(a.name),s.removeAttribute(a.name);else if(a&&["style"].includes(a.name))t.setAttribute(a.name,a.value),s.removeAttribute(a.name);else if(a&&"class"===a.name){const i=a.value.includes("hydrated"),n=a.value.replace("hydrated","").trim(),e=t.getAttribute("class");t.setAttribute(a.name,`${e||""}${n?` ${n}`:""}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(a.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-button"),this.setupObserver(this._ref)}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}render(){var t,i,s;return n("button",{key:"b3c660955f667a8f8c93bb7c83360a44a5af3d1f",class:o("db-button",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(i=this.propOverrides)||void 0===i?void 0:i.id,type:this.getButtonType(),disabled:e(this.disabled,"disabled"),"data-icon":null!==(s=this.iconLeading)&&void 0!==s?s:this.icon,"data-show-icon":a(this.showIconLeading,"showIconLeading")||a(this.showIcon,"showIcon"),"data-icon-trailing":this.iconTrailing,"data-show-icon-trailing":a(this.showIconTrailing,"showIconTrailing"),"data-size":this.size,"data-width":this.width,"data-variant":this.variant,"data-wrap":a(this.wrap,"wrap"),"data-no-text":a(this.noText,"noText"),name:this.name,form:this.form,value:this.value},this.text?this.text:null,n("slot",{key:"eb9c13e9573f61cdb3e61b5614fec0ad656c02b8"}))}get rootElement(){return this}},[260,"db-button",{type:[1],id:[1],propOverrides:[16],className:[1,"classname"],disabled:[8],iconLeading:[1,"icon-leading"],icon:[1],showIconLeading:[8,"show-icon-leading"],showIcon:[8,"show-icon"],iconTrailing:[1,"icon-trailing"],showIconTrailing:[8,"show-icon-trailing"],size:[1],width:[1],variant:[1],wrap:[8],noText:[8,"no-text"],name:[1],form:[1],value:[1],text:[1],observer:[32]}]);function c(){"undefined"!=typeof customElements&&["db-button"].forEach((t=>{"db-button"===t&&(customElements.get(d(t))||customElements.define(d(t),h))}))}export{h as D,c as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{y as t,H as s,z as e,j as i,d as n,t as a}from"./p-CYYSsu3p.js";const o=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.observer=void 0}setupObserver(t){if(!t)return;const s=t.closest("db-infotext");s&&!this.observer&&(this.observer=new MutationObserver((s=>{s.some((t=>{var s;const e=t.target.attributes.getNamedItem(null!==(s=t.attributeName)&&void 0!==s?s:"");return(null==e?void 0:e.value)!==t.oldValue}))&&this.enableAttributePassing(t,"db-infotext")})),this.observer.observe(s,{attributes:!0,attributeOldValue:!0}))}enableAttributePassing(t,s){const e=null==t?void 0:t.closest(s);if(t&&e){const s=e.attributes;for(let i=0;i<s.length;i++){const n=s.item(i);if(n&&"data-density"!==n.name&&(n.name.startsWith("data-")||n.name.startsWith("aria-")))n.value?t.setAttribute(n.name,n.value):t.removeAttribute(n.name),e.removeAttribute(n.name);else if(n&&["style"].includes(n.name))t.setAttribute(n.name,n.value),e.removeAttribute(n.name);else if(n&&"class"===n.name){const s=n.value.includes("hydrated"),i=n.value.replace("hydrated","").trim(),a=t.getAttribute("class");t.setAttribute(n.name,`${a||""}${i?` ${i}`:""}`),s?e.setAttribute("class","hydrated"):e.removeAttribute(n.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-infotext"),this.setupObserver(this._ref)}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}render(){var t,s,a;return e("span",{key:"e1a06bb9c2d0f88953a7281cdda505b392db609c",class:n("db-infotext",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,"data-icon":this.icon,"data-semantic":this.semantic,"data-size":this.size,"data-wrap":i(this.wrap,"wrap"),"data-show-icon-leading":i(null===(a=this.showIcon)||void 0===a||a,"showIcon")},this.text?this.text:null,e("slot",{key:"68b5e9bc974cf49e25470cba30b142495e06c72f"}))}get rootElement(){return this}},[260,"db-infotext",{id:[1],propOverrides:[16],className:[1,"classname"],icon:[1],semantic:[1],size:[1],wrap:[8],showIcon:[8,"show-icon"],text:[1],observer:[32]}]);function d(){"undefined"!=typeof customElements&&["db-infotext"].forEach((t=>{"db-infotext"===t&&(customElements.get(a(t))||customElements.define(a(t),o))}))}export{o as D,d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{y as t,H as i,f as s,u as e,z as a,j as o,d as h,t as n}from"./p-CYYSsu3p.js";import{D as d}from"./p-BdL-nI5y.js";import{D as l}from"./p-DJTpgiBy.js";import{b as r}from"./p-DOPXnIzL.js";const c=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this._id=d,this.initialized=!1,this._documentScrollListenerCallbackId=void 0,this._observer=void 0,this._attachedParent=void 0,this._attachedId=void 0,this._activeTriggerCount=0,this._boundListeners=[],this.observer=void 0}handleClick(t){t.stopPropagation()}handleEscape(t){t&&"Escape"!==t.key||!this._ref||"visible"!==getComputedStyle(this._ref).visibility||this.getParent().blur()}getParent(){let t=this._ref.parentElement;return t&&t.localName.includes("tooltip")&&(t=t.parentElement),t}handleAutoPlacement(t){t&&this._ref&&s((()=>{var i;this._ref&&r(this._ref,t,null!==(i=this.placement)&&void 0!==i?i:"bottom")}),1)}handleDocumentScroll(t,i){var s,e;(null===(s=null==t?void 0:t.target)||void 0===s?void 0:s.contains)&&(null===(e=null==t?void 0:t.target)||void 0===e?void 0:e.contains(this._ref))&&this.handleAutoPlacement(i)}handleLeave(){var t,i,s;this._activeTriggerCount=Math.max((null!==(t=this._activeTriggerCount)&&void 0!==t?t:0)-1,0),(null!==(i=this._activeTriggerCount)&&void 0!==i?i:0)>0||(this._documentScrollListenerCallbackId&&((new l).removeCallback(this._documentScrollListenerCallbackId),this._documentScrollListenerCallbackId=void 0),null===(s=this._observer)||void 0===s||s.unobserve(this.getParent()))}handleEnter(t){var i,s;this._activeTriggerCount=(null!==(i=this._activeTriggerCount)&&void 0!==i?i:0)+1,1===this._activeTriggerCount&&(this._documentScrollListenerCallbackId=(new l).addCallback((i=>this.handleDocumentScroll(i,t))),null===(s=this._observer)||void 0===s||s.observe(this.getParent())),this.handleAutoPlacement(t)}resetIds(){var t,i,s;this._id=null!==(s=null!==(t=this.id)&&void 0!==t?t:null===(i=this.propOverrides)||void 0===i?void 0:i.id)&&void 0!==s?s:"tooltip-"+e()}_detachListeners(){var t,i,s;const e=this._documentScrollListenerCallbackId;e&&((new l).removeCallback(e),this._documentScrollListenerCallbackId=void 0),null===(t=this._observer)||void 0===t||t.disconnect(),this._observer=void 0,this._activeTriggerCount=0,(null!==(i=this._boundListeners)&&void 0!==i?i:[]).forEach((t=>{t.parent.removeEventListener(t.type,t.fn)})),this._boundListeners=[];const a=this._attachedParent;if(a){const t=null!==(s=this._attachedId)&&void 0!==s?s:this._id,i=a.querySelectorAll(".db-tooltip"),e=Array.from(i).some((t=>t!==this._ref));"true"!==a.dataset.hasTooltip||e||delete a.dataset.hasTooltip,a.getAttribute("aria-labelledby")===t&&a.removeAttribute("aria-labelledby"),a.getAttribute("aria-describedby")===t&&a.removeAttribute("aria-describedby"),this._attachedParent=void 0,this._attachedId=void 0}}setupObserver(t){if(!t)return;const i=t.closest("db-tooltip");i&&!this.observer&&(this.observer=new MutationObserver((i=>{i.some((t=>{var i;const s=t.target.attributes.getNamedItem(null!==(i=t.attributeName)&&void 0!==i?i:"");return(null==s?void 0:s.value)!==t.oldValue}))&&this.enableAttributePassing(t,"db-tooltip")})),this.observer.observe(i,{attributes:!0,attributeOldValue:!0}))}enableAttributePassing(t,i){const s=null==t?void 0:t.closest(i);if(t&&s){const i=s.attributes;for(let e=0;e<i.length;e++){const a=i.item(e);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))a.value?t.setAttribute(a.name,a.value):t.removeAttribute(a.name),s.removeAttribute(a.name);else if(a&&["style"].includes(a.name))t.setAttribute(a.name,a.value),s.removeAttribute(a.name);else if(a&&"class"===a.name){const i=a.value.includes("hydrated"),e=a.value.replace("hydrated","").trim(),o=t.getAttribute("class");t.setAttribute(a.name,`${o||""}${e?` ${e}`:""}`),i?s.setAttribute("class","hydrated"):s.removeAttribute(a.name)}}}}watch0Fn(){var t,i;(null!==(t=this.id)&&void 0!==t?t:null===(i=this.propOverrides)||void 0===i?void 0:i.id)&&this.resetIds()}watch0(){this.watch0Fn()}watch1Fn(){var t;if(this._ref&&this.initialized&&this._id){const i=this.getParent();if(i){this.handleAutoPlacement(i);const s=()=>this.handleEnter(i),e=()=>this.handleLeave(),a=t=>this.handleEscape(t);i.addEventListener("mouseenter",s),i.addEventListener("focusin",s),i.addEventListener("keydown",a),i.addEventListener("mouseleave",e),i.addEventListener("focusout",e),this._boundListeners=[...null!==(t=this._boundListeners)&&void 0!==t?t:[],{parent:i,type:"mouseenter",fn:s},{parent:i,type:"focusin",fn:s},{parent:i,type:"keydown",fn:a},{parent:i,type:"mouseleave",fn:e},{parent:i,type:"focusout",fn:e}],i.dataset.hasTooltip="true",i.setAttribute("label"===this.variant?"aria-labelledby":"aria-describedby",this._id),this._attachedParent=i,this._attachedId=this._id}"undefined"!=typeof window&&"IntersectionObserver"in window&&(this._observer=new IntersectionObserver((t=>{const i=t.find((({target:t})=>t===this.getParent()));i&&!i.isIntersecting&&this.handleEscape(!1)}))),this.initialized=!1}}watch1(){this.watch1Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-tooltip"),(()=>{this.resetIds(),this.initialized=!0})(),(()=>{this.setupObserver(this._ref)})(),this.watch0Fn(),this.watch1Fn()}disconnectedCallback(){var t;this._detachListeners(),null===(t=this.observer)||void 0===t||t.disconnect()}render(){var t,i;return a("i",{key:"8b8269b2bf4c0708c437a33101537999ab9035b5",class:h("db-tooltip",this.className),role:"tooltip","aria-hidden":"true","data-gap":"true",ref:t=>{this._ref=t},id:this._id,"data-emphasis":this.emphasis,"data-wrap":o(this.wrap,"wrap"),"data-animation":o(null===(t=this.animation)||void 0===t||t,"animation"),"data-delay":this.delay,"data-width":this.width,"data-show-arrow":o(null===(i=this.showArrow)||void 0===i||i,"showArrow"),"data-placement":this.placement,onClick:t=>this.handleClick(t)},this.text?this.text:null,a("slot",{key:"54c19cf96a0e2ce8be7b345f149d484a6498c3a1"}))}get rootElement(){return this}static get watchers(){return{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],_ref:[{watch1:0}],initialized:[{watch1:0}],_id:[{watch1:0}]}}},[260,"db-tooltip",{id:[1],propOverrides:[16],variant:[1],placement:[1],className:[1,"classname"],emphasis:[1],wrap:[8],animation:[8],delay:[1],width:[1],showArrow:[8,"show-arrow"],text:[1],_id:[32],initialized:[32],_documentScrollListenerCallbackId:[32],_observer:[32],_attachedParent:[32],_attachedId:[32],_activeTriggerCount:[32],_boundListeners:[32],observer:[32]},void 0,{id:[{watch0:0}],"propOverrides?.id":[{watch0:0}],_ref:[{watch1:0}],initialized:[{watch1:0}],_id:[{watch1:0}]}]);function u(){"undefined"!=typeof customElements&&["db-tooltip"].forEach((t=>{"db-tooltip"===t&&(customElements.get(n(t))||customElements.define(n(t),c))}))}export{c as D,u as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{y as t,H as s,z as e,j as i,d as a,t as r}from"./p-CYYSsu3p.js";const n=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.observer=void 0}setupObserver(t){if(!t)return;const s=t.closest("db-link");s&&!this.observer&&(this.observer=new MutationObserver((s=>{s.some((t=>{var s;const e=t.target.attributes.getNamedItem(null!==(s=t.attributeName)&&void 0!==s?s:"");return(null==e?void 0:e.value)!==t.oldValue}))&&this.enableAttributePassing(t,"db-link")})),this.observer.observe(s,{attributes:!0,attributeOldValue:!0}))}enableAttributePassing(t,s){const e=null==t?void 0:t.closest(s);if(t&&e){const s=e.attributes;for(let i=0;i<s.length;i++){const a=s.item(i);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))a.value?t.setAttribute(a.name,a.value):t.removeAttribute(a.name),e.removeAttribute(a.name);else if(a&&["style"].includes(a.name))t.setAttribute(a.name,a.value),e.removeAttribute(a.name);else if(a&&"class"===a.name){const s=a.value.includes("hydrated"),i=a.value.replace("hydrated","").trim(),r=t.getAttribute("class");t.setAttribute(a.name,`${r||""}${i?` ${i}`:""}`),s?e.setAttribute("class","hydrated"):e.removeAttribute(a.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-link"),this.setupObserver(this._ref)}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}render(){var t,s,r,n;return e("a",{key:"a5c2e75c4243fa0d64c60b974c522347469e75b3",class:a("db-link",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,href:this.href,target:this.target,rel:this.rel,role:this.role,referrerPolicy:null!==(r=this.referrerpolicy)&&void 0!==r?r:this.referrerPolicy,hrefLang:this.hreflang,"aria-disabled":i(this.disabled,"disabled"),tabIndex:this.disabled?-1:0,"data-size":this.size,"data-show-icon-trailing":i(null===(n=this.showIcon)||void 0===n||n,"showIcon"),"data-variant":this.variant,"data-content":this.content||"internal","data-wrap":i(this.wrap,"wrap")},this.text?this.text:null,e("slot",{key:"7cac380bf21256a51a3815e922687ddf4ad7b425"}))}get rootElement(){return this}},[260,"db-link",{id:[1],propOverrides:[16],className:[1,"classname"],href:[1],target:[1],rel:[1],role:[1],referrerpolicy:[1],referrerPolicy:[1,"referrer-policy"],hreflang:[1],disabled:[8],size:[1],showIcon:[8,"show-icon"],variant:[1],content:[1],wrap:[8],text:[1],observer:[32]}]);function d(){"undefined"!=typeof customElements&&["db-link"].forEach((t=>{"db-link"===t&&(customElements.get(r(t))||customElements.define(r(t),n))}))}export{n as D,d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{f as t}from"./p-CYYSsu3p.js";const e=(t,e,c)=>{t.form&&!t._dbFormResetListenerAdded&&(t.form.addEventListener("reset",(t=>{e(t)}),{signal:c}),t._dbFormResetListenerAdded=!0)},c=(c,s,a,b)=>{e(c,(e=>{t((()=>{const t=s.checked?s.checked:s.defaultChecked?s.defaultChecked:c.checked,b=Object.assign(Object.assign({},e),{target:Object.assign(Object.assign({},e.target),{checked:t})});a(b)}),1)}),b)},s=(c,s,a,b)=>{e(c,(e=>{t((()=>{const t=s.value?s.value:s.defaultValue?s.defaultValue:c.value,b=Object.assign(Object.assign({},e),{target:Object.assign(Object.assign({},e.target),{value:t})});a(b)}),1)}),b)};export{c as a,e as b,s as c}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{y as e,H as t,z as s,u as a,d,t as l}from"./p-CYYSsu3p.js";import{d as o}from"./p-D1orcIJf.js";import{d as b}from"./p-BEcb3EOO.js";import{d as i}from"./p-C4iD-won.js";import{d as n}from"./p-mk64Fltq.js";const c=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost()}enableAttributePassing(e,t){const s=null==e?void 0:e.closest(t);if(e&&s){const t=s.attributes;for(let a=0;a<t.length;a++){const d=t.item(a);if(d&&"data-density"!==d.name&&(d.name.startsWith("data-")||d.name.startsWith("aria-")))d.value?e.setAttribute(d.name,d.value):e.removeAttribute(d.name),s.removeAttribute(d.name);else if(d&&["style"].includes(d.name))e.setAttribute(d.name,d.value),s.removeAttribute(d.name);else if(d&&"class"===d.name){const t=d.value.includes("hydrated"),a=d.value.replace("hydrated","").trim(),l=e.getAttribute("class");e.setAttribute(d.name,`${l||""}${a?` ${a}`:""}`),t?s.setAttribute("class","hydrated"):s.removeAttribute(d.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const e=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);e&&e.remove()}this.enableAttributePassing(this._ref,"db-table-body")}render(){var e;return s("tbody",{key:"b6033bbe9cdcdb6bb9d292f68e980a6737fef9fa",class:d("db-table-body",this.className),ref:e=>{this._ref=e},id:this.id},this.rows?null===(e=this.rows)||void 0===e?void 0:e.map(((e,t)=>{var d,l,o;return s("db-table-row",{class:null!==(d=e.className)&&void 0!==d?d:e.class,key:`${null!==(o=null!==(l=e.id)&&void 0!==l?l:this.id)&&void 0!==o?o:a()}-table-body-row-${t}`,cells:e.cells,interactive:e.interactive,id:e.id})})):s("slot",null))}get rootElement(){return this}},[260,"db-table-body",{id:[1],className:[1,"classname"],rows:[16]}]);function r(){"undefined"!=typeof customElements&&["db-table-body","db-link","db-table-data-cell","db-table-header-cell","db-table-row"].forEach((e=>{switch(e){case"db-table-body":customElements.get(l(e))||customElements.define(l(e),c);break;case"db-link":customElements.get(l(e))||o();break;case"db-table-data-cell":customElements.get(l(e))||b();break;case"db-table-header-cell":customElements.get(l(e))||i();break;case"db-table-row":customElements.get(l(e))||n()}}))}export{c as D,r as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{u as s}from"./p-CYYSsu3p.js";class t{static runCallbacks(s){for(const l of Object.values(t.callbacks))"function"==typeof l&&l(s)}constructor(){if(this.ticking=!1,t._instance)return t._instance;t._instance=this,self.document&&self.document.addEventListener("scroll",(s=>{this.ticking||(window.requestAnimationFrame((()=>{t.runCallbacks(s),this.ticking=!1})),this.ticking=!0)}),!0)}addCallback(l){const o=s();return t.callbacks[o]=l,o}removeCallback(s){delete t.callbacks[s]}}t.callbacks={},t._instance=null;export{t as D}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{y as t,H as s,z as e,d,t as o}from"./p-CYYSsu3p.js";const i=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.width="fixed",this.observer=void 0}setupObserver(t){if(!t)return;const s=t.closest("db-custom-select-dropdown");s&&!this.observer&&(this.observer=new MutationObserver((s=>{s.some((t=>{var s;const e=t.target.attributes.getNamedItem(null!==(s=t.attributeName)&&void 0!==s?s:"");return(null==e?void 0:e.value)!==t.oldValue}))&&this.enableAttributePassing(t,"db-custom-select-dropdown")})),this.observer.observe(s,{attributes:!0,attributeOldValue:!0}))}enableAttributePassing(t,s){const e=null==t?void 0:t.closest(s);if(t&&e){const s=e.attributes;for(let d=0;d<s.length;d++){const o=s.item(d);if(o&&"data-density"!==o.name&&(o.name.startsWith("data-")||o.name.startsWith("aria-")))o.value?t.setAttribute(o.name,o.value):t.removeAttribute(o.name),e.removeAttribute(o.name);else if(o&&["style"].includes(o.name))t.setAttribute(o.name,o.value),e.removeAttribute(o.name);else if(o&&"class"===o.name){const s=o.value.includes("hydrated"),d=o.value.replace("hydrated","").trim(),i=t.getAttribute("class");t.setAttribute(o.name,`${i||""}${d?` ${d}`:""}`),s?e.setAttribute("class","hydrated"):e.removeAttribute(o.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-custom-select-dropdown"),this.setupObserver(this._ref)}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}render(){var t,s;return e("article",{key:"49bd2cef7c2c04b2ae3696fea83057858a59fd9a",class:d("db-custom-select-dropdown db-card",this.className),"data-spacing":"none",ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,"data-width":this.width},e("slot",{key:"89ceec1851f4ffdb27f99b5f301e70784607c2c8"}))}get rootElement(){return this}},[260,"db-custom-select-dropdown",{id:[1],propOverrides:[16],className:[1,"classname"],width:[1],observer:[32]}]);function n(){"undefined"!=typeof customElements&&["db-custom-select-dropdown"].forEach((t=>{"db-custom-select-dropdown"===t&&(customElements.get(o(t))||customElements.define(o(t),i))}))}export{i as D,n as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{y as e,H as t,z as s,u as a,d as o,t as l}from"./p-CYYSsu3p.js";import{d}from"./p-D1orcIJf.js";import{d as r}from"./p-BEcb3EOO.js";import{d as c}from"./p-C4iD-won.js";import{d as i}from"./p-mk64Fltq.js";const n=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost()}enableAttributePassing(e,t){const s=null==e?void 0:e.closest(t);if(e&&s){const t=s.attributes;for(let a=0;a<t.length;a++){const o=t.item(a);if(o&&"data-density"!==o.name&&(o.name.startsWith("data-")||o.name.startsWith("aria-")))o.value?e.setAttribute(o.name,o.value):e.removeAttribute(o.name),s.removeAttribute(o.name);else if(o&&["style"].includes(o.name))e.setAttribute(o.name,o.value),s.removeAttribute(o.name);else if(o&&"class"===o.name){const t=o.value.includes("hydrated"),a=o.value.replace("hydrated","").trim(),l=e.getAttribute("class");e.setAttribute(o.name,`${l||""}${a?` ${a}`:""}`),t?s.setAttribute("class","hydrated"):s.removeAttribute(o.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const e=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);e&&e.remove()}this.enableAttributePassing(this._ref,"db-table-footer")}render(){var e;return s("tfoot",{key:"735f3ce4c1d6a3305993a8de60c797e9ce2bcd20",class:o("db-table-footer",this.className),ref:e=>{this._ref=e},id:this.id},this.rows?null===(e=this.rows)||void 0===e?void 0:e.map(((e,t)=>{var o,l,d;return s("db-table-row",{class:null!==(o=e.className)&&void 0!==o?o:e.class,key:`${null!==(d=null!==(l=e.id)&&void 0!==l?l:this.id)&&void 0!==d?d:a()}-table-footer-row-${t}`,cells:e.cells,interactive:e.interactive,id:e.id})})):s("slot",null))}get rootElement(){return this}},[260,"db-table-footer",{id:[1],className:[1,"classname"],rows:[16]}]);function b(){"undefined"!=typeof customElements&&["db-table-footer","db-link","db-table-data-cell","db-table-header-cell","db-table-row"].forEach((e=>{switch(e){case"db-table-footer":customElements.get(l(e))||customElements.define(l(e),n);break;case"db-link":customElements.get(l(e))||d();break;case"db-table-data-cell":customElements.get(l(e))||r();break;case"db-table-header-cell":customElements.get(l(e))||c();break;case"db-table-row":customElements.get(l(e))||i()}}))}export{n as D,b as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{y as t,H as s,A as i,k as e,z as c,j as h,d as a,t as o}from"./p-CYYSsu3p.js";const d=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.change=i(this,"change"),this.hasDivider=!1,this.observer=void 0}handleChange(t){t.stopPropagation(),this.change&&this.change.emit(t)}getIconTrailing(){if(!this.isGroupTitle&&"checkbox"!==this.type)return e(this.checked,"checked")?"check":"x_placeholder"}setupObserver(t){if(!t)return;const s=t.closest("db-custom-select-list-item");s&&!this.observer&&(this.observer=new MutationObserver((s=>{s.some((t=>{var s;const i=t.target.attributes.getNamedItem(null!==(s=t.attributeName)&&void 0!==s?s:"");return(null==i?void 0:i.value)!==t.oldValue}))&&this.enableAttributePassing(t,"db-custom-select-list-item")})),this.observer.observe(s,{attributes:!0,attributeOldValue:!0}))}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 c=s.item(e);if(c&&"data-density"!==c.name&&(c.name.startsWith("data-")||c.name.startsWith("aria-")))c.value?t.setAttribute(c.name,c.value):t.removeAttribute(c.name),i.removeAttribute(c.name);else if(c&&["style"].includes(c.name))t.setAttribute(c.name,c.value),i.removeAttribute(c.name);else if(c&&"class"===c.name){const s=c.value.includes("hydrated"),e=c.value.replace("hydrated","").trim(),h=t.getAttribute("class");t.setAttribute(c.name,`${h||""}${e?` ${e}`:""}`),s?i.setAttribute("class","hydrated"):i.removeAttribute(c.name)}}}}watch0Fn(){this.hasDivider=Boolean(this.isGroupTitle||this.showDivider)}watch0(){this.watch0Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-custom-select-list-item"),this.setupObserver(this._ref),this.watch0Fn()}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}render(){var t,s;return c("li",{key:"cb467f74569cd0505dab2ac02a9b375de8f5a9bc",class:a("db-custom-select-list-item",this.className,{"db-checkbox":"checkbox"===this.type&&!this.isGroupTitle,"db-radio":"checkbox"!==this.type&&!this.isGroupTitle}),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(s=this.propOverrides)||void 0===s?void 0:s.id,"data-divider":h(this.hasDivider,"hasDivider")},this.isGroupTitle?c("span",null,this.groupTitle):c("label",{"data-icon":"checkbox"!==this.type&&this.icon?this.icon:void 0,"data-show-icon":h(this.showIcon,"showIcon"),"data-icon-trailing":this.getIconTrailing()},c("input",{class:"db-custom-select-list-item-checkbox","data-disable-focus":"true",type:this.type,name:this.name,form:this.name,checked:e(this.checked,"checked"),disabled:e(this.disabled,"disabled"),value:this.value,onChange:t=>this.handleChange(t)}),this.label?this.label:null,c("slot",null)))}get rootElement(){return this}static get watchers(){return{isGroupTitle:[{watch0:0}],showDivider:[{watch0:0}]}}},[260,"db-custom-select-list-item",{isGroupTitle:[4,"is-group-title"],showDivider:[4,"show-divider"],type:[1],checked:[8],id:[1],propOverrides:[16],className:[1,"classname"],groupTitle:[1,"group-title"],icon:[1],showIcon:[8,"show-icon"],name:[1],disabled:[8],value:[8],label:[1],hasDivider:[32],observer:[32]},void 0,{isGroupTitle:[{watch0:0}],showDivider:[{watch0:0}]}]);function l(){"undefined"!=typeof customElements&&["db-custom-select-list-item"].forEach((t=>{"db-custom-select-list-item"===t&&(customElements.get(o(t))||customElements.define(o(t),d))}))}export{d as D,l as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{y as t,H as i,A as e,j as s,z as a,k as h,d as n,t as d}from"./p-CYYSsu3p.js";const o=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.change=e(this,"change"),this._selected=!1,this._name=void 0,this.initialized=!1,this._listenerAdded=!1,this.boundSetSelectedOnChange=void 0,this.observer=void 0}setSelectedOnChange(t){t.stopPropagation(),this._selected=s(t.target===this._ref,"selected")}handleNameAttribute(){if(this._ref){const t=this._ref.setAttribute;this._ref.setAttribute=(i,e)=>{t.call(this._ref,i,e),"name"===i&&(this._name=e)}}}handleChange(t){this.change&&this.change.emit(t)}setupObserver(t){if(!t)return;const i=t.closest("db-tab-item");i&&!this.observer&&(this.observer=new MutationObserver((i=>{i.some((t=>{var i;const e=t.target.attributes.getNamedItem(null!==(i=t.attributeName)&&void 0!==i?i:"");return(null==e?void 0:e.value)!==t.oldValue}))&&this.enableAttributePassing(t,"db-tab-item")})),this.observer.observe(i,{attributes:!0,attributeOldValue:!0}))}enableAttributePassing(t,i){const e=null==t?void 0:t.closest(i);if(t&&e){const i=e.attributes;for(let s=0;s<i.length;s++){const a=i.item(s);if(a&&"data-density"!==a.name&&(a.name.startsWith("data-")||a.name.startsWith("aria-")))a.value?t.setAttribute(a.name,a.value):t.removeAttribute(a.name),e.removeAttribute(a.name);else if(a&&["style"].includes(a.name))t.setAttribute(a.name,a.value),e.removeAttribute(a.name);else if(a&&"class"===a.name){const i=a.value.includes("hydrated"),s=a.value.replace("hydrated","").trim(),h=t.getAttribute("class");t.setAttribute(a.name,`${h||""}${s?` ${s}`:""}`),i?e.setAttribute("class","hydrated"):e.removeAttribute(a.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=s(!0,"selected"),this._ref.click()))}watch0(){this.watch0Fn()}watch1Fn(){this.name&&(this._name=this.name)}watch1(){this.watch1Fn()}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const t=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);t&&t.remove()}this.enableAttributePassing(this._ref,"db-tab-item"),(()=>{this.boundSetSelectedOnChange=this.setSelectedOnChange.bind(this),this.initialized=!0})(),(()=>{this.setupObserver(this._ref)})(),this.watch0Fn(),this.watch1Fn()}disconnectedCallback(){var t,i;this._listenerAdded&&this._ref&&this.boundSetSelectedOnChange&&(null===(t=this._ref.closest("[role=tablist]"))||void 0===t||t.removeEventListener("change",this.boundSetSelectedOnChange),this._listenerAdded=!1),null===(i=this.observer)||void 0===i||i.disconnect()}render(){var t,i,e,d,o;return a("li",{key:"003e5b968c65ba01df1b97e8f75592aee31125d9",class:n("db-tab-item",this.className),role:"none"},a("label",{key:"682e5a3cf7036abcbbbbbba9f42ce534d7a4145d",htmlFor:null!==(t=this.id)&&void 0!==t?t:null===(i=this.propOverrides)||void 0===i?void 0:i.id,"data-icon":null!==(e=this.iconLeading)&&void 0!==e?e:this.icon,"data-icon-trailing":this.iconTrailing,"data-show-icon":s(this.showIconLeading,"showIconLeading")||s(this.showIcon,"showIcon"),"data-show-icon-trailing":s(this.showIconTrailing,"showIconTrailing"),"data-no-text":s(this.noText,"noText")},a("input",{key:"ffb91a8e7248a8e5a2a7a05c6828fc6203e1eb37",type:"radio",role:"tab",disabled:h(this.disabled,"disabled"),"aria-selected":this._selected,checked:h(this.checked,"checked"),ref:t=>{this._ref=t},name:this._name,id:null!==(d=this.id)&&void 0!==d?d:null===(o=this.propOverrides)||void 0===o?void 0:o.id,onInput:t=>this.handleChange(t)}),this.label?this.label:null,a("slot",{key:"2d079503cd365448cd054e05bfaec608ff476e04"})))}get rootElement(){return this}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}],boundSetSelectedOnChange:[{watch0:0}],name:[{watch1:0}]}}},[260,"db-tab-item",{active:[8],name:[1],className:[1,"classname"],id:[1],propOverrides:[16],iconLeading:[1,"icon-leading"],icon:[1],iconTrailing:[1,"icon-trailing"],showIconLeading:[8,"show-icon-leading"],showIcon:[8,"show-icon"],showIconTrailing:[8,"show-icon-trailing"],noText:[8,"no-text"],disabled:[8],checked:[8],label:[1],_selected:[32],_name:[32],initialized:[32],_listenerAdded:[32],boundSetSelectedOnChange:[32],observer:[32]},void 0,{_ref:[{watch0:0}],initialized:[{watch0:0}],boundSetSelectedOnChange:[{watch0:0}],name:[{watch1:0}]}]);function c(){"undefined"!=typeof customElements&&["db-tab-item"].forEach((t=>{"db-tab-item"===t&&(customElements.get(d(t))||customElements.define(d(t),o))}))}export{o as D,c as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{y as l,H as i,z as o,u as d,j as e,d as t,t as n}from"./p-CYYSsu3p.js";import{d as a}from"./p-D1orcIJf.js";import{d as s}from"./p-BEcb3EOO.js";import{d as v}from"./p-C4iD-won.js";const r=l(class extends i{constructor(l){super(),!1!==l&&this.__registerHost()}getHeaderCell(l){if(l.headerCell)return l}enableAttributePassing(l,i){const o=null==l?void 0:l.closest(i);if(l&&o){const i=o.attributes;for(let d=0;d<i.length;d++){const e=i.item(d);if(e&&"data-density"!==e.name&&(e.name.startsWith("data-")||e.name.startsWith("aria-")))e.value?l.setAttribute(e.name,e.value):l.removeAttribute(e.name),o.removeAttribute(e.name);else if(e&&["style"].includes(e.name))l.setAttribute(e.name,e.value),o.removeAttribute(e.name);else if(e&&"class"===e.name){const i=e.value.includes("hydrated"),d=e.value.replace("hydrated","").trim(),t=l.getAttribute("class");l.setAttribute(e.name,`${t||""}${d?` ${d}`:""}`),i?o.setAttribute("class","hydrated"):o.removeAttribute(e.name)}}}}componentDidLoad(){if("undefined"!=typeof document&&this.rootElement&&this.rootElement.dataset.connect){const l=document.querySelector(`[data-connect-id="${this.rootElement.dataset.connect}"]`);l&&l.remove()}this.enableAttributePassing(this._ref,"db-table-row")}render(){var l;return o("tr",{key:"d9ca9f14117c8cf3974110eb1a36cb7352c06c24",class:t("db-table-row",this.className),ref:l=>{this._ref=l},id:this.id,"data-interactive":e(this.interactive),"data-sub-header-emphasis":this.subHeaderEmphasis},this.cells?null===(l=this.cells)||void 0===l?void 0:l.map(((l,i)=>{var e,t,n,a,s,v,r,u,c,b,h,m,f,p,w,y,g,k,E,$,j,x,z,A,S,D,C,I,P,H,O,Y,B,J,L,N,T,q,F,G,K,M,Q,R,U,V,W;return l.headerCell?o("db-table-header-cell",{class:null!==(e=l.className)&&void 0!==e?e:l.class,key:`${null!==(n=null!==(t=l.id)&&void 0!==t?t:this.id)&&void 0!==n?n:d()}-table-row-header-cell-${i}`,id:l.id,abbr:null===(a=this.getHeaderCell(l))||void 0===a?void 0:a.abbr,scope:null===(s=this.getHeaderCell(l))||void 0===s?void 0:s.scope,noText:null===(v=this.getHeaderCell(l))||void 0===v?void 0:v.noText,horizontalAlignment:l.horizontalAlignment,verticalAlignment:l.verticalAlignment,headers:l.headers,colSpan:l.colSpan,colspan:l.colspan,rowSpan:l.rowSpan,rowspan:l.rowspan},l.link?o("db-link",{class:null!==(u=null===(r=l.link)||void 0===r?void 0:r.className)&&void 0!==u?u:null===(c=l.link)||void 0===c?void 0:c.class,content:null===(b=l.link)||void 0===b?void 0:b.content,size:null===(h=l.link)||void 0===h?void 0:h.size,variant:null===(m=l.link)||void 0===m?void 0:m.variant,id:null===(f=l.link)||void 0===f?void 0:f.id,autofocus:null===(p=l.link)||void 0===p?void 0:p.autofocus,disabled:null===(w=l.link)||void 0===w?void 0:w.disabled,href:null===(y=l.link)||void 0===y?void 0:y.href,hreflang:null===(g=l.link)||void 0===g?void 0:g.hreflang,target:null===(k=l.link)||void 0===k?void 0:k.target,rel:null===(E=l.link)||void 0===E?void 0:E.rel,referrerPolicy:null===($=l.link)||void 0===$?void 0:$.referrerPolicy,role:null===(j=l.link)||void 0===j?void 0:j.role,showIcon:null===(x=l.link)||void 0===x?void 0:x.showIcon,text:null===(z=l.link)||void 0===z?void 0:z.text,wrap:null===(A=l.link)||void 0===A?void 0:A.wrap},null===(S=l.link)||void 0===S?void 0:S.children):l.content):o("db-table-data-cell",{class:null!==(D=l.className)&&void 0!==D?D:l.class,key:`${null!==(I=null!==(C=l.id)&&void 0!==C?C:this.id)&&void 0!==I?I:d()}-table-row-data-cell-${i}`,id:l.id,horizontalAlignment:l.horizontalAlignment,verticalAlignment:l.verticalAlignment,headers:l.headers,colSpan:l.colSpan,colspan:l.colspan,rowSpan:l.rowSpan,rowspan:l.rowspan},l.link?o("db-link",{class:null!==(H=null===(P=l.link)||void 0===P?void 0:P.className)&&void 0!==H?H:null===(O=l.link)||void 0===O?void 0:O.class,content:null===(Y=l.link)||void 0===Y?void 0:Y.content,size:null===(B=l.link)||void 0===B?void 0:B.size,variant:null===(J=l.link)||void 0===J?void 0:J.variant,id:null===(L=l.link)||void 0===L?void 0:L.id,autofocus:null===(N=l.link)||void 0===N?void 0:N.autofocus,disabled:null===(T=l.link)||void 0===T?void 0:T.disabled,href:null===(q=l.link)||void 0===q?void 0:q.href,hreflang:null===(F=l.link)||void 0===F?void 0:F.hreflang,target:null===(G=l.link)||void 0===G?void 0:G.target,rel:null===(K=l.link)||void 0===K?void 0:K.rel,referrerPolicy:null===(M=l.link)||void 0===M?void 0:M.referrerPolicy,role:null===(Q=l.link)||void 0===Q?void 0:Q.role,showIcon:null===(R=l.link)||void 0===R?void 0:R.showIcon,text:null===(U=l.link)||void 0===U?void 0:U.text,wrap:null===(V=l.link)||void 0===V?void 0:V.wrap},null===(W=l.link)||void 0===W?void 0:W.children):l.content)})):o("slot",null))}get rootElement(){return this}},[260,"db-table-row",{id:[1],className:[1,"classname"],interactive:[8],subHeaderEmphasis:[1,"sub-header-emphasis"],cells:[16]}]);function u(){"undefined"!=typeof customElements&&["db-table-row","db-link","db-table-data-cell","db-table-header-cell"].forEach((l=>{switch(l){case"db-table-row":customElements.get(n(l))||customElements.define(n(l),r);break;case"db-link":customElements.get(n(l))||a();break;case"db-table-data-cell":customElements.get(n(l))||s();break;case"db-table-header-cell":customElements.get(n(l))||v()}}))}export{r as D,u as d}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var index$1 = require('./index-
|
|
3
|
+
var index = require('./index-C313bRqJ.js');
|
|
4
|
+
var index$1 = require('./index-spuu3sXz.js');
|
|
5
5
|
|
|
6
6
|
const DBAccordionItem = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -10,6 +10,7 @@ const DBAccordionItem = class {
|
|
|
10
10
|
this._open = false;
|
|
11
11
|
this._name = undefined;
|
|
12
12
|
this.initialized = false;
|
|
13
|
+
this.observer = undefined;
|
|
13
14
|
}
|
|
14
15
|
handleNameAttribute() {
|
|
15
16
|
if (this._ref) {
|
|
@@ -33,6 +34,26 @@ const DBAccordionItem = class {
|
|
|
33
34
|
this._open = newStateOpen;
|
|
34
35
|
}
|
|
35
36
|
}
|
|
37
|
+
setupObserver(element) {
|
|
38
|
+
if (!element)
|
|
39
|
+
return;
|
|
40
|
+
const parent = element.closest("db-accordion-item");
|
|
41
|
+
if (!parent || this.observer)
|
|
42
|
+
return;
|
|
43
|
+
this.observer = new MutationObserver((mutations) => {
|
|
44
|
+
if (mutations.some((mutation) => {
|
|
45
|
+
var _a;
|
|
46
|
+
const attr = mutation.target.attributes.getNamedItem((_a = mutation.attributeName) !== null && _a !== void 0 ? _a : "");
|
|
47
|
+
return (attr === null || attr === void 0 ? void 0 : attr.value) !== mutation.oldValue;
|
|
48
|
+
})) {
|
|
49
|
+
this.enableAttributePassing(element, "db-accordion-item");
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
this.observer.observe(parent, {
|
|
53
|
+
attributes: true,
|
|
54
|
+
attributeOldValue: true,
|
|
55
|
+
});
|
|
56
|
+
}
|
|
36
57
|
/**
|
|
37
58
|
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
38
59
|
* @param element the ref for the component
|
|
@@ -46,10 +67,15 @@ const DBAccordionItem = class {
|
|
|
46
67
|
const attr = attributes.item(i);
|
|
47
68
|
if (attr && attr.name !== 'data-density' &&
|
|
48
69
|
(attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
|
|
49
|
-
|
|
70
|
+
if (attr.value) {
|
|
71
|
+
element.setAttribute(attr.name, attr.value);
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
element.removeAttribute(attr.name);
|
|
75
|
+
}
|
|
50
76
|
parent.removeAttribute(attr.name);
|
|
51
77
|
}
|
|
52
|
-
else if (attr &&
|
|
78
|
+
else if (attr && ["style"].includes(attr.name)) {
|
|
53
79
|
element.setAttribute(attr.name, attr.value);
|
|
54
80
|
parent.removeAttribute(attr.name);
|
|
55
81
|
}
|
|
@@ -57,7 +83,7 @@ const DBAccordionItem = class {
|
|
|
57
83
|
const isWebComponent = attr.value.includes("hydrated");
|
|
58
84
|
const value = attr.value.replace("hydrated", "").trim();
|
|
59
85
|
const currentClass = element.getAttribute("class");
|
|
60
|
-
element.setAttribute(attr.name, `${currentClass ?
|
|
86
|
+
element.setAttribute(attr.name, `${currentClass ? currentClass : ""}${value ? ` ${value}` : ""}`);
|
|
61
87
|
if (isWebComponent) {
|
|
62
88
|
// Stencil is using this class for lazy loading component
|
|
63
89
|
parent.setAttribute("class", "hydrated");
|
|
@@ -99,19 +125,30 @@ const DBAccordionItem = class {
|
|
|
99
125
|
}
|
|
100
126
|
}
|
|
101
127
|
this.enableAttributePassing(this._ref, "db-accordion-item");
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
128
|
+
const onMountHook_0 = () => {
|
|
129
|
+
if (this.defaultOpen) {
|
|
130
|
+
this._open = this.defaultOpen;
|
|
131
|
+
}
|
|
132
|
+
this.initialized = true;
|
|
133
|
+
};
|
|
134
|
+
onMountHook_0();
|
|
135
|
+
const onMountHook_1 = () => {
|
|
136
|
+
this.setupObserver(this._ref);
|
|
137
|
+
};
|
|
138
|
+
onMountHook_1();
|
|
106
139
|
this.watch0Fn();
|
|
107
140
|
this.watch1Fn();
|
|
108
141
|
this.watch2Fn();
|
|
109
142
|
}
|
|
143
|
+
disconnectedCallback() {
|
|
144
|
+
var _a;
|
|
145
|
+
(_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
146
|
+
}
|
|
110
147
|
render() {
|
|
111
148
|
var _a, _b;
|
|
112
|
-
return (index.h("li", { key: '
|
|
149
|
+
return (index.h("li", { key: '3c70e3a9542e8bd7d96e725381caf73e3ac7296a', class: index$1.cls("db-accordion-item", this.className), id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("details", { key: '326f88378a110e2eae8087deec3d333fa85b206e', "aria-disabled": index$1.getBooleanAsString(this.disabled, "disabled"), ref: (el) => {
|
|
113
150
|
this._ref = el;
|
|
114
|
-
}, name: this._name, open: this._open }, index.h("summary", { key: '
|
|
151
|
+
}, name: this._name, open: this._open }, index.h("summary", { key: '0dd759c18b3ec0bb4110613b073a248936827bfb', onClick: (event) => this.handleToggle(event) }, this.headlinePlain ? this.headlinePlain : null, !this.headlinePlain ? index.h("slot", { name: "headline" }) : null), index.h("div", { key: '44e7c57155828aa6465bde02aa4717e3161673f2' }, this.text ? this.text : null, index.h("slot", { key: '015b11e09045b96c43ec815916611ebd4b7ac4e3' })))));
|
|
115
152
|
}
|
|
116
153
|
get rootElement() { return index.getElement(this); }
|
|
117
154
|
static get watchers() { return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var index$1 = require('./index-
|
|
3
|
+
var index = require('./index-C313bRqJ.js');
|
|
4
|
+
var index$1 = require('./index-spuu3sXz.js');
|
|
5
5
|
|
|
6
6
|
const DBAccordion = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -9,6 +9,7 @@ const DBAccordion = class {
|
|
|
9
9
|
this._name = "";
|
|
10
10
|
this.initialized = false;
|
|
11
11
|
this._initOpenIndexDone = false;
|
|
12
|
+
this.observer = undefined;
|
|
12
13
|
}
|
|
13
14
|
convertItems() {
|
|
14
15
|
try {
|
|
@@ -22,6 +23,26 @@ const DBAccordion = class {
|
|
|
22
23
|
}
|
|
23
24
|
return [];
|
|
24
25
|
}
|
|
26
|
+
setupObserver(element) {
|
|
27
|
+
if (!element)
|
|
28
|
+
return;
|
|
29
|
+
const parent = element.closest("db-accordion");
|
|
30
|
+
if (!parent || this.observer)
|
|
31
|
+
return;
|
|
32
|
+
this.observer = new MutationObserver((mutations) => {
|
|
33
|
+
if (mutations.some((mutation) => {
|
|
34
|
+
var _a;
|
|
35
|
+
const attr = mutation.target.attributes.getNamedItem((_a = mutation.attributeName) !== null && _a !== void 0 ? _a : "");
|
|
36
|
+
return (attr === null || attr === void 0 ? void 0 : attr.value) !== mutation.oldValue;
|
|
37
|
+
})) {
|
|
38
|
+
this.enableAttributePassing(element, "db-accordion");
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
this.observer.observe(parent, {
|
|
42
|
+
attributes: true,
|
|
43
|
+
attributeOldValue: true,
|
|
44
|
+
});
|
|
45
|
+
}
|
|
25
46
|
/**
|
|
26
47
|
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
27
48
|
* @param element the ref for the component
|
|
@@ -35,10 +56,15 @@ const DBAccordion = class {
|
|
|
35
56
|
const attr = attributes.item(i);
|
|
36
57
|
if (attr && attr.name !== 'data-density' &&
|
|
37
58
|
(attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
|
|
38
|
-
|
|
59
|
+
if (attr.value) {
|
|
60
|
+
element.setAttribute(attr.name, attr.value);
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
element.removeAttribute(attr.name);
|
|
64
|
+
}
|
|
39
65
|
parent.removeAttribute(attr.name);
|
|
40
66
|
}
|
|
41
|
-
else if (attr &&
|
|
67
|
+
else if (attr && ["style"].includes(attr.name)) {
|
|
42
68
|
element.setAttribute(attr.name, attr.value);
|
|
43
69
|
parent.removeAttribute(attr.name);
|
|
44
70
|
}
|
|
@@ -46,7 +72,7 @@ const DBAccordion = class {
|
|
|
46
72
|
const isWebComponent = attr.value.includes("hydrated");
|
|
47
73
|
const value = attr.value.replace("hydrated", "").trim();
|
|
48
74
|
const currentClass = element.getAttribute("class");
|
|
49
|
-
element.setAttribute(attr.name, `${currentClass ?
|
|
75
|
+
element.setAttribute(attr.name, `${currentClass ? currentClass : ""}${value ? ` ${value}` : ""}`);
|
|
50
76
|
if (isWebComponent) {
|
|
51
77
|
// Stencil is using this class for lazy loading component
|
|
52
78
|
parent.setAttribute("class", "hydrated");
|
|
@@ -128,15 +154,26 @@ const DBAccordion = class {
|
|
|
128
154
|
}
|
|
129
155
|
}
|
|
130
156
|
this.enableAttributePassing(this._ref, "db-accordion");
|
|
131
|
-
|
|
132
|
-
|
|
157
|
+
const onMountHook_0 = () => {
|
|
158
|
+
this.initialized = true;
|
|
159
|
+
this._initOpenIndexDone = true;
|
|
160
|
+
};
|
|
161
|
+
onMountHook_0();
|
|
162
|
+
const onMountHook_1 = () => {
|
|
163
|
+
this.setupObserver(this._ref);
|
|
164
|
+
};
|
|
165
|
+
onMountHook_1();
|
|
133
166
|
this.watch0Fn();
|
|
134
167
|
this.watch1Fn();
|
|
135
168
|
this.watch2Fn();
|
|
136
169
|
}
|
|
170
|
+
disconnectedCallback() {
|
|
171
|
+
var _a;
|
|
172
|
+
(_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
173
|
+
}
|
|
137
174
|
render() {
|
|
138
175
|
var _a, _b, _c;
|
|
139
|
-
return (index.h("ul", { key: '
|
|
176
|
+
return (index.h("ul", { key: 'ca6ccc06f1846796371751f169585adfca380e3d', class: index$1.cls("db-accordion", this.className), ref: (el) => {
|
|
140
177
|
this._ref = el;
|
|
141
178
|
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-variant": this.variant }, !this.items ? index.h("slot", null) : null, this.items
|
|
142
179
|
? (_c = this.convertItems()) === null || _c === void 0 ? void 0 : _c.map((item, index$1) => (index.h("db-accordion-item", { key: `accordion-item-${index$1}`, headlinePlain: item.headlinePlain, disabled: item.disabled, text: item.text })))
|
|
@@ -1,13 +1,34 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-C313bRqJ.js');
|
|
4
4
|
var constants = require('./constants-bMY2_d8A.js');
|
|
5
|
-
var index$1 = require('./index-
|
|
5
|
+
var index$1 = require('./index-spuu3sXz.js');
|
|
6
6
|
|
|
7
7
|
const DBBadge = class {
|
|
8
8
|
constructor(hostRef) {
|
|
9
9
|
index.registerInstance(this, hostRef);
|
|
10
10
|
this.initialized = false;
|
|
11
|
+
this.observer = undefined;
|
|
12
|
+
}
|
|
13
|
+
setupObserver(element) {
|
|
14
|
+
if (!element)
|
|
15
|
+
return;
|
|
16
|
+
const parent = element.closest("db-badge");
|
|
17
|
+
if (!parent || this.observer)
|
|
18
|
+
return;
|
|
19
|
+
this.observer = new MutationObserver((mutations) => {
|
|
20
|
+
if (mutations.some((mutation) => {
|
|
21
|
+
var _a;
|
|
22
|
+
const attr = mutation.target.attributes.getNamedItem((_a = mutation.attributeName) !== null && _a !== void 0 ? _a : "");
|
|
23
|
+
return (attr === null || attr === void 0 ? void 0 : attr.value) !== mutation.oldValue;
|
|
24
|
+
})) {
|
|
25
|
+
this.enableAttributePassing(element, "db-badge");
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
this.observer.observe(parent, {
|
|
29
|
+
attributes: true,
|
|
30
|
+
attributeOldValue: true,
|
|
31
|
+
});
|
|
11
32
|
}
|
|
12
33
|
/**
|
|
13
34
|
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
@@ -22,10 +43,15 @@ const DBBadge = class {
|
|
|
22
43
|
const attr = attributes.item(i);
|
|
23
44
|
if (attr && attr.name !== 'data-density' &&
|
|
24
45
|
(attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
|
|
25
|
-
|
|
46
|
+
if (attr.value) {
|
|
47
|
+
element.setAttribute(attr.name, attr.value);
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
element.removeAttribute(attr.name);
|
|
51
|
+
}
|
|
26
52
|
parent.removeAttribute(attr.name);
|
|
27
53
|
}
|
|
28
|
-
else if (attr &&
|
|
54
|
+
else if (attr && ["style"].includes(attr.name)) {
|
|
29
55
|
element.setAttribute(attr.name, attr.value);
|
|
30
56
|
parent.removeAttribute(attr.name);
|
|
31
57
|
}
|
|
@@ -33,7 +59,7 @@ const DBBadge = class {
|
|
|
33
59
|
const isWebComponent = attr.value.includes("hydrated");
|
|
34
60
|
const value = attr.value.replace("hydrated", "").trim();
|
|
35
61
|
const currentClass = element.getAttribute("class");
|
|
36
|
-
element.setAttribute(attr.name, `${currentClass ?
|
|
62
|
+
element.setAttribute(attr.name, `${currentClass ? currentClass : ""}${value ? ` ${value}` : ""}`);
|
|
37
63
|
if (isWebComponent) {
|
|
38
64
|
// Stencil is using this class for lazy loading component
|
|
39
65
|
parent.setAttribute("class", "hydrated");
|
|
@@ -71,14 +97,25 @@ const DBBadge = class {
|
|
|
71
97
|
}
|
|
72
98
|
}
|
|
73
99
|
this.enableAttributePassing(this._ref, "db-badge");
|
|
74
|
-
|
|
100
|
+
const onMountHook_0 = () => {
|
|
101
|
+
this.initialized = true;
|
|
102
|
+
};
|
|
103
|
+
onMountHook_0();
|
|
104
|
+
const onMountHook_1 = () => {
|
|
105
|
+
this.setupObserver(this._ref);
|
|
106
|
+
};
|
|
107
|
+
onMountHook_1();
|
|
75
108
|
this.watch0Fn();
|
|
76
109
|
}
|
|
110
|
+
disconnectedCallback() {
|
|
111
|
+
var _a;
|
|
112
|
+
(_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
113
|
+
}
|
|
77
114
|
render() {
|
|
78
115
|
var _a, _b, _c, _d;
|
|
79
|
-
return (index.h("span", { key: '
|
|
116
|
+
return (index.h("span", { key: '359727eb7aa15e2456b2b616c9157d6546aa1821', class: index$1.cls("db-badge", this.className), ref: (el) => {
|
|
80
117
|
this._ref = el;
|
|
81
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-semantic": this.semantic, "data-size": this.size, "data-emphasis": this.emphasis, "data-placement": this.placement, "data-wrap": index$1.getBooleanAsString(this.wrap), "data-label": ((_c = this.placement) === null || _c === void 0 ? void 0 : _c.startsWith("corner")) && ((_d = this.label) !== null && _d !== void 0 ? _d : constants.DEFAULT_LABEL) }, this.text ? this.text : null, index.h("slot", { key: '
|
|
118
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-semantic": this.semantic, "data-size": this.size, "data-emphasis": this.emphasis, "data-placement": this.placement, "data-wrap": index$1.getBooleanAsString(this.wrap, "wrap"), "data-label": ((_c = this.placement) === null || _c === void 0 ? void 0 : _c.startsWith("corner")) && ((_d = this.label) !== null && _d !== void 0 ? _d : constants.DEFAULT_LABEL) }, this.text ? this.text : null, index.h("slot", { key: '4540ec4549a70007f0192fad72b07fdb90005f0c' })));
|
|
82
119
|
}
|
|
83
120
|
get rootElement() { return index.getElement(this); }
|
|
84
121
|
static get watchers() { return {
|