@db-ux/wc-core-components 4.11.1 → 4.12.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 +23 -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.js +1 -1
- package/bundle/db-table-caption.js +1 -1
- package/bundle/db-table-data-cell.js +1 -1
- package/bundle/db-table-footer.js +1 -1
- package/bundle/db-table-head.js +1 -1
- package/bundle/db-table-header-cell.js +1 -1
- package/bundle/db-table-row.js +1 -1
- package/bundle/db-table.js +1 -1
- 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-D9RSX1St.js → p-2eQDIPlF.js} +1 -1
- package/bundle/p-BFeR7jXy.js +1 -0
- package/bundle/p-BQov9sQb.js +1 -0
- package/bundle/{p-CewqZGHg.js → p-BpO8Ok-r.js} +1 -1
- package/bundle/{p-k5Hci0ok.js → p-C0JLpZ9Q.js} +1 -1
- package/bundle/p-C0q9XJSc.js +1 -0
- package/bundle/{p-BEcb3EOO.js → p-C2w7ILj8.js} +1 -1
- package/bundle/p-C47AKJPy.js +1 -0
- package/bundle/{p-CHg_VPD9.js → p-C9llbu6g.js} +1 -1
- package/bundle/{p-BuBrj57D.js → p-C_qYW0Kh.js} +1 -1
- package/bundle/p-Cc5hdI0x.js +1 -0
- package/bundle/{p-mk64Fltq.js → p-Cn5NdjPW.js} +1 -1
- package/bundle/{p-3Da4lo5j.js → p-CuC4YsIB.js} +1 -1
- package/bundle/p-DTM6Wcbf.js +1 -0
- package/bundle/{p-CZ9SsTOA.js → p-DVuZmW_J.js} +1 -1
- package/bundle/{p-BxZ0zFXf.js → p-DcgghWWs.js} +1 -1
- package/bundle/p-DiEfz0o1.js +1 -0
- package/bundle/{p-DbgzEek1.js → p-G57oLrr4.js} +1 -1
- package/bundle/{p-BEolc6Da.js → p-fu0VCCbW.js} +1 -1
- package/bundle/{p-CotiEHZi.js → p-gIJnyld5.js} +1 -1
- package/bundle/{p-Duacd-NX.js → p-k8bCF_aj.js} +1 -1
- package/bundle/{p-BrQIYm5N.js → p-to845Mg2.js} +1 -1
- package/dist/cjs/db-accordion-item.cjs.entry.js +2 -2
- package/dist/cjs/db-accordion.cjs.entry.js +1 -1
- package/dist/cjs/db-badge.cjs.entry.js +2 -2
- package/dist/cjs/db-brand.cjs.entry.js +2 -2
- package/dist/cjs/db-button.cjs.entry.js +2 -2
- package/dist/cjs/db-card.cjs.entry.js +2 -2
- package/dist/cjs/db-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/db-custom-button.cjs.entry.js +2 -2
- package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +11 -11
- package/dist/cjs/db-custom-select-form-field.cjs.entry.js +2 -2
- package/dist/cjs/db-custom-select.cjs.entry.js +15 -7
- package/dist/cjs/db-divider.cjs.entry.js +1 -1
- package/dist/cjs/db-drawer.cjs.entry.js +28 -7
- package/dist/cjs/db-header.cjs.entry.js +4 -4
- package/dist/cjs/db-icon.cjs.entry.js +2 -2
- package/dist/cjs/db-infotext.cjs.entry.js +2 -2
- package/dist/cjs/db-link_4.cjs.entry.js +7 -7
- package/dist/cjs/db-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/db-navigation.cjs.entry.js +2 -2
- package/dist/cjs/db-notification.cjs.entry.js +2 -2
- package/dist/cjs/db-page.cjs.entry.js +2 -2
- package/dist/cjs/db-popover.cjs.entry.js +3 -3
- package/dist/cjs/db-radio.cjs.entry.js +2 -2
- package/dist/cjs/db-section.cjs.entry.js +2 -2
- package/dist/cjs/db-select.cjs.entry.js +2 -2
- package/dist/cjs/db-stack.cjs.entry.js +2 -2
- package/dist/cjs/db-switch.cjs.entry.js +2 -2
- package/dist/cjs/db-tab-item_3.cjs.entry.js +7 -7
- package/dist/cjs/db-table-body_3.cjs.entry.js +3 -3
- package/dist/cjs/db-table-caption.cjs.entry.js +2 -2
- package/dist/cjs/db-table.cjs.entry.js +1 -1
- package/dist/cjs/db-tabs.cjs.entry.js +2 -2
- package/dist/cjs/db-textarea.cjs.entry.js +2 -2
- package/dist/cjs/db-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/db-ux.cjs.js +1 -1
- package/dist/cjs/{floating-components-DlstoCKH.js → floating-components-SpHkZuLA.js} +53 -8
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{navigation-Bah882nU.js → navigation-DUTSDY4q.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +10 -10
- package/dist/collection/components/accordion-item/accordion-item.js +12 -12
- package/dist/collection/components/badge/badge.js +14 -14
- package/dist/collection/components/brand/brand.js +11 -11
- package/dist/collection/components/button/button.js +23 -23
- package/dist/collection/components/card/card.js +9 -9
- package/dist/collection/components/checkbox/checkbox.js +25 -25
- package/dist/collection/components/custom-button/custom-button.js +16 -16
- package/dist/collection/components/custom-select/custom-select.js +69 -61
- package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +7 -7
- package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +6 -6
- package/dist/collection/components/custom-select-list/custom-select-list.js +8 -8
- package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +17 -17
- package/dist/collection/components/divider/divider.js +9 -9
- package/dist/collection/components/drawer/drawer.js +44 -22
- package/dist/collection/components/header/header.js +14 -14
- package/dist/collection/components/icon/icon.js +10 -10
- package/dist/collection/components/infotext/infotext.js +12 -12
- package/dist/collection/components/input/input.js +56 -56
- package/dist/collection/components/link/link.js +20 -20
- package/dist/collection/components/navigation/navigation.js +6 -6
- package/dist/collection/components/navigation-item/navigation-item.js +18 -18
- package/dist/collection/components/notification/notification.js +23 -23
- package/dist/collection/components/page/page.js +10 -10
- package/dist/collection/components/popover/popover.js +15 -15
- package/dist/collection/components/radio/radio.js +17 -17
- package/dist/collection/components/section/section.js +8 -8
- package/dist/collection/components/select/select.js +31 -31
- package/dist/collection/components/stack/stack.js +12 -12
- package/dist/collection/components/switch/switch.js +28 -28
- package/dist/collection/components/tab-item/tab-item.js +19 -19
- package/dist/collection/components/tab-list/tab-list.js +6 -6
- package/dist/collection/components/tab-panel/tab-panel.js +7 -7
- package/dist/collection/components/table/table.js +14 -14
- package/dist/collection/components/table-body/table-body.js +5 -5
- package/dist/collection/components/table-caption/table-caption.js +5 -5
- package/dist/collection/components/table-data-cell/table-data-cell.js +12 -12
- package/dist/collection/components/table-footer/table-footer.js +5 -5
- package/dist/collection/components/table-head/table-head.js +5 -5
- package/dist/collection/components/table-header-cell/table-header-cell.js +15 -15
- package/dist/collection/components/table-row/table-row.js +7 -7
- package/dist/collection/components/tabs/tabs.js +15 -15
- package/dist/collection/components/tag/tag.js +17 -17
- package/dist/collection/components/textarea/textarea.js +39 -39
- package/dist/collection/components/tooltip/tooltip.js +18 -18
- package/dist/collection/index.js +97 -97
- package/dist/collection/utils/document-click-listener.js +1 -1
- package/dist/collection/utils/document-scroll-listener.js +1 -1
- package/dist/collection/utils/floating-components.js +53 -8
- package/dist/collection/utils/form-components.js +1 -1
- package/dist/collection/utils/navigation.js +1 -1
- package/dist/custom-elements.json +119 -20
- package/dist/db-ux/db-ux.esm.js +1 -1
- package/dist/db-ux/index.esm.js +1 -1
- package/dist/db-ux/{p-2ae377e6.entry.js → p-0758418a.entry.js} +1 -1
- package/dist/db-ux/p-183c78b7.entry.js +1 -0
- package/dist/db-ux/{p-78b7e6f6.entry.js → p-1e70d93f.entry.js} +1 -1
- package/dist/db-ux/p-2c23efe2.entry.js +1 -0
- package/dist/db-ux/{p-0e17c5a0.entry.js → p-37bf8d87.entry.js} +1 -1
- package/dist/db-ux/p-38c55e9c.entry.js +1 -0
- package/dist/db-ux/p-4751361d.entry.js +1 -0
- package/dist/db-ux/{p-ef1aa878.entry.js → p-5623ff36.entry.js} +1 -1
- package/dist/db-ux/{p-335391d4.entry.js → p-5706f20a.entry.js} +1 -1
- package/dist/db-ux/{p-f6312d2c.entry.js → p-57527cef.entry.js} +1 -1
- package/dist/db-ux/{p-8fa7a578.entry.js → p-68f00121.entry.js} +1 -1
- package/dist/db-ux/{p-8f989150.entry.js → p-6b8375e8.entry.js} +1 -1
- package/dist/db-ux/p-6ce4a109.entry.js +1 -0
- package/dist/db-ux/{p-dfbbe502.entry.js → p-6d41baf1.entry.js} +1 -1
- package/dist/db-ux/{p-a4d9f6e2.entry.js → p-6fdc00bd.entry.js} +1 -1
- package/dist/db-ux/{p-6aa92091.entry.js → p-70b6ebcd.entry.js} +1 -1
- package/dist/db-ux/{p-fbf09569.entry.js → p-71399ee3.entry.js} +1 -1
- package/dist/db-ux/{p-af248e57.entry.js → p-77a47225.entry.js} +1 -1
- package/dist/db-ux/{p-281f5e3e.entry.js → p-81edb316.entry.js} +1 -1
- package/dist/db-ux/{p-5e08712d.entry.js → p-87281518.entry.js} +1 -1
- package/dist/db-ux/{p-63d98f9d.entry.js → p-90e9ec2d.entry.js} +1 -1
- package/dist/db-ux/p-C0q9XJSc.js +1 -0
- package/dist/db-ux/{p-BuBrj57D.js → p-C_qYW0Kh.js} +1 -1
- package/dist/db-ux/{p-9ccd42b1.entry.js → p-a07e33e7.entry.js} +1 -1
- package/dist/db-ux/{p-f1daaefa.entry.js → p-a176424b.entry.js} +1 -1
- package/dist/db-ux/p-a6f33f3b.entry.js +1 -0
- package/dist/db-ux/{p-5070470f.entry.js → p-a8556349.entry.js} +1 -1
- package/dist/db-ux/{p-3569bb3c.entry.js → p-d9d006e7.entry.js} +1 -1
- package/dist/db-ux/{p-ba82a0b0.entry.js → p-db1b9f5d.entry.js} +1 -1
- package/dist/db-ux/{p-7ca4bc82.entry.js → p-e58fbd4d.entry.js} +1 -1
- package/dist/db-ux/p-e66aa9d8.entry.js +1 -0
- package/dist/db-ux/{p-0123ee1b.entry.js → p-eedf08e0.entry.js} +1 -1
- package/dist/db-ux/{p-090b1797.entry.js → p-f0b5c785.entry.js} +1 -1
- package/dist/db-ux/p-f271332c.entry.js +1 -0
- package/dist/db-ux/{p-d7b5748d.entry.js → p-f5f73623.entry.js} +1 -1
- package/dist/db-ux/{p-2cf4345f.entry.js → p-f964d5f5.entry.js} +1 -1
- package/dist/esm/db-accordion-item.entry.js +2 -2
- package/dist/esm/db-accordion.entry.js +1 -1
- package/dist/esm/db-badge.entry.js +2 -2
- package/dist/esm/db-brand.entry.js +2 -2
- package/dist/esm/db-button.entry.js +2 -2
- package/dist/esm/db-card.entry.js +2 -2
- package/dist/esm/db-checkbox.entry.js +2 -2
- package/dist/esm/db-custom-button.entry.js +2 -2
- package/dist/esm/db-custom-select-dropdown_5.entry.js +11 -11
- package/dist/esm/db-custom-select-form-field.entry.js +2 -2
- package/dist/esm/db-custom-select.entry.js +15 -7
- package/dist/esm/db-divider.entry.js +1 -1
- package/dist/esm/db-drawer.entry.js +28 -7
- package/dist/esm/db-header.entry.js +4 -4
- package/dist/esm/db-icon.entry.js +2 -2
- package/dist/esm/db-infotext.entry.js +2 -2
- package/dist/esm/db-link_4.entry.js +7 -7
- package/dist/esm/db-navigation-item.entry.js +3 -3
- package/dist/esm/db-navigation.entry.js +2 -2
- package/dist/esm/db-notification.entry.js +2 -2
- package/dist/esm/db-page.entry.js +2 -2
- package/dist/esm/db-popover.entry.js +3 -3
- package/dist/esm/db-radio.entry.js +2 -2
- package/dist/esm/db-section.entry.js +2 -2
- package/dist/esm/db-select.entry.js +2 -2
- package/dist/esm/db-stack.entry.js +2 -2
- package/dist/esm/db-switch.entry.js +2 -2
- package/dist/esm/db-tab-item_3.entry.js +7 -7
- package/dist/esm/db-table-body_3.entry.js +3 -3
- package/dist/esm/db-table-caption.entry.js +2 -2
- package/dist/esm/db-table.entry.js +1 -1
- package/dist/esm/db-tabs.entry.js +2 -2
- package/dist/esm/db-textarea.entry.js +2 -2
- package/dist/esm/db-tooltip.entry.js +3 -3
- package/dist/esm/db-ux.js +1 -1
- package/dist/esm/{floating-components-DOPXnIzL.js → floating-components-C0q9XJSc.js} +53 -8
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{navigation-Jh6m0eMk.js → navigation-Cd7KZ6E2.js} +1 -1
- package/dist/types/components/accordion/accordion.d.ts +1 -1
- package/dist/types/components/accordion/model.d.ts +2 -2
- package/dist/types/components/accordion-item/accordion-item.d.ts +2 -2
- package/dist/types/components/accordion-item/model.d.ts +1 -1
- package/dist/types/components/badge/badge.d.ts +1 -1
- package/dist/types/components/badge/model.d.ts +1 -1
- package/dist/types/components/brand/brand.d.ts +1 -1
- package/dist/types/components/brand/model.d.ts +1 -1
- package/dist/types/components/button/button.d.ts +1 -1
- package/dist/types/components/button/model.d.ts +1 -1
- package/dist/types/components/card/card.d.ts +2 -2
- package/dist/types/components/card/model.d.ts +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +2 -2
- package/dist/types/components/checkbox/model.d.ts +1 -1
- package/dist/types/components/custom-button/custom-button.d.ts +1 -1
- package/dist/types/components/custom-button/model.d.ts +2 -2
- package/dist/types/components/custom-select/custom-select.d.ts +2 -2
- package/dist/types/components/custom-select/model.d.ts +4 -4
- package/dist/types/components/custom-select-dropdown/custom-select-dropdown.d.ts +1 -1
- package/dist/types/components/custom-select-dropdown/model.d.ts +1 -1
- package/dist/types/components/custom-select-form-field/custom-select-form-field.d.ts +1 -1
- package/dist/types/components/custom-select-form-field/model.d.ts +1 -1
- package/dist/types/components/custom-select-list/custom-select-list.d.ts +1 -1
- package/dist/types/components/custom-select-list/model.d.ts +1 -1
- package/dist/types/components/custom-select-list-item/custom-select-list-item.d.ts +2 -2
- package/dist/types/components/custom-select-list-item/model.d.ts +1 -1
- package/dist/types/components/divider/divider.d.ts +1 -1
- package/dist/types/components/divider/model.d.ts +1 -1
- package/dist/types/components/drawer/drawer.d.ts +6 -3
- package/dist/types/components/drawer/model.d.ts +4 -1
- package/dist/types/components/header/header.d.ts +1 -1
- package/dist/types/components/header/model.d.ts +1 -1
- package/dist/types/components/icon/icon.d.ts +1 -1
- package/dist/types/components/icon/model.d.ts +1 -1
- package/dist/types/components/infotext/infotext.d.ts +1 -1
- package/dist/types/components/infotext/model.d.ts +1 -1
- package/dist/types/components/input/input.d.ts +2 -2
- package/dist/types/components/input/model.d.ts +1 -1
- package/dist/types/components/link/link.d.ts +1 -1
- package/dist/types/components/link/model.d.ts +1 -1
- package/dist/types/components/navigation/model.d.ts +1 -1
- package/dist/types/components/navigation/navigation.d.ts +1 -1
- package/dist/types/components/navigation-item/model.d.ts +2 -2
- package/dist/types/components/navigation-item/navigation-item.d.ts +2 -2
- package/dist/types/components/notification/model.d.ts +1 -1
- package/dist/types/components/notification/notification.d.ts +2 -2
- package/dist/types/components/page/model.d.ts +1 -1
- package/dist/types/components/page/page.d.ts +1 -1
- package/dist/types/components/popover/model.d.ts +1 -1
- package/dist/types/components/popover/popover.d.ts +1 -1
- package/dist/types/components/radio/model.d.ts +1 -1
- package/dist/types/components/radio/radio.d.ts +2 -2
- package/dist/types/components/section/model.d.ts +1 -1
- package/dist/types/components/section/section.d.ts +1 -1
- package/dist/types/components/select/model.d.ts +1 -1
- package/dist/types/components/select/select.d.ts +2 -2
- package/dist/types/components/stack/model.d.ts +1 -1
- package/dist/types/components/stack/stack.d.ts +1 -1
- package/dist/types/components/switch/model.d.ts +1 -1
- package/dist/types/components/switch/switch.d.ts +2 -2
- package/dist/types/components/tab-item/model.d.ts +1 -1
- package/dist/types/components/tab-item/tab-item.d.ts +1 -1
- package/dist/types/components/tab-list/model.d.ts +1 -1
- package/dist/types/components/tab-list/tab-list.d.ts +1 -1
- package/dist/types/components/tab-panel/model.d.ts +1 -1
- package/dist/types/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist/types/components/table/examples/data.d.ts +1 -1
- package/dist/types/components/table/model.d.ts +2 -2
- package/dist/types/components/table/table.d.ts +1 -1
- package/dist/types/components/table-body/model.d.ts +2 -2
- package/dist/types/components/table-body/table-body.d.ts +1 -1
- package/dist/types/components/table-caption/model.d.ts +1 -1
- package/dist/types/components/table-caption/table-caption.d.ts +1 -1
- package/dist/types/components/table-data-cell/model.d.ts +1 -1
- package/dist/types/components/table-data-cell/table-data-cell.d.ts +1 -1
- package/dist/types/components/table-footer/model.d.ts +2 -2
- package/dist/types/components/table-footer/table-footer.d.ts +1 -1
- package/dist/types/components/table-head/model.d.ts +2 -2
- package/dist/types/components/table-head/table-head.d.ts +11 -11
- package/dist/types/components/table-header-cell/model.d.ts +1 -1
- package/dist/types/components/table-header-cell/table-header-cell.d.ts +1 -1
- package/dist/types/components/table-row/model.d.ts +4 -4
- package/dist/types/components/table-row/table-row.d.ts +2 -2
- package/dist/types/components/tabs/model.d.ts +3 -3
- package/dist/types/components/tabs/tabs.d.ts +2 -2
- package/dist/types/components/tag/model.d.ts +1 -1
- package/dist/types/components/tag/tag.d.ts +2 -2
- package/dist/types/components/textarea/model.d.ts +1 -1
- package/dist/types/components/textarea/textarea.d.ts +2 -2
- package/dist/types/components/tooltip/model.d.ts +1 -1
- package/dist/types/components/tooltip/tooltip.d.ts +2 -2
- package/dist/types/components.d.ts +90 -90
- package/dist/types/index.d.ts +97 -97
- package/dist/types/utils/index.d.ts +1 -1
- package/dist/vscode.html-custom-data.json +6 -0
- package/dist/web-types.json +13 -1
- package/package.json +3 -3
- package/bundle/p-BekmqY3B.js +0 -1
- package/bundle/p-BmRO4X-P.js +0 -1
- package/bundle/p-C2viXF7U.js +0 -1
- package/bundle/p-C4iD-won.js +0 -1
- package/bundle/p-D1orcIJf.js +0 -1
- package/bundle/p-DOPXnIzL.js +0 -1
- package/bundle/p-DqNXsduK.js +0 -1
- package/dist/db-ux/p-194e851c.entry.js +0 -1
- package/dist/db-ux/p-2e6c8304.entry.js +0 -1
- package/dist/db-ux/p-34235204.entry.js +0 -1
- package/dist/db-ux/p-398f9165.entry.js +0 -1
- package/dist/db-ux/p-91052c75.entry.js +0 -1
- package/dist/db-ux/p-DOPXnIzL.js +0 -1
- package/dist/db-ux/p-c2ce6ecd.entry.js +0 -1
- package/dist/db-ux/p-e7a400a2.entry.js +0 -1
- package/dist/db-ux/p-ff11c071.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as i}from"./p-
|
|
1
|
+
import{h as i}from"./p-C0q9XJSc.js";const t=i=>{var t,s;const{target:h}=i;return Boolean(!(null===(t=null==h?void 0:h.classList)||void 0===t?void 0:t.contains("db-navigation-item-expand-button"))&&(null===(s=null==h?void 0:h.parentElement)||void 0===s?void 0:s.classList.contains("db-navigation-item")))};class s{constructor(i,t){var s;this.parentSubNavigation=null,this.initialized=!1,this.mouseX=0,this.mouseY=0,this.element=i,this.subNavigation=t,this.element&&this.subNavigation&&(this.parentSubNavigation=null===(s=this.element)||void 0===s?void 0:s.closest(".db-sub-navigation"),this.parentSubNavigation&&!this.element.closest(".db-drawer")&&this.init())}init(){var i,t,s;const h=null!==(t=null===(i=this.parentSubNavigation)||void 0===i?void 0:i.getBoundingClientRect().width)&&void 0!==t?t:0;null===(s=this.element)||void 0===s||s.style.setProperty("--db-navigation-item-inline-size",`${h}px`),this.initialized=!0}enableFollow(){var t,s;if(!this.initialized||this.triangleData||!this.element||!this.subNavigation)return;const h=i(this.subNavigation),n=this.element.getBoundingClientRect(),o=null!==(s=null===(t=this.parentSubNavigation)||void 0===t?void 0:t.getBoundingClientRect().width)&&void 0!==s?s:0;this.triangleData={itemRect:n,parentElementWidth:o,subNavigationHeight:this.subNavigation.getBoundingClientRect().height,padding:(o-n.width)/2,outsideVX:h.vx,outsideVY:h.vy}}disableFollow(){this.triangleData=void 0}getTriangleTipX(){return this.triangleData?"right"===this.triangleData.outsideVX?this.triangleData.itemRect.width-this.mouseX:Math.min(this.mouseX,.75*this.triangleData.itemRect.width):0}getTriangleTipY(){if(!this.triangleData)return 0;const i=Math.max(Math.min(this.mouseY,this.triangleData.itemRect.height),0)+this.triangleData.padding;return"bottom"===this.triangleData.outsideVY?i+(this.triangleData.subNavigationHeight-2*this.triangleData.padding-this.triangleData.itemRect.height):i}hasMouseEnteredSubNavigation(){if(!this.triangleData)return!1;const i="right"===this.triangleData.outsideVX;return!!(i&&this.mouseX<-1*this.triangleData.padding)||!i&&this.mouseX>this.triangleData.parentElementWidth-this.triangleData.padding}getTriangleCoordinates(i){if(!this.triangleData)return;if("fill-gap"===i){const i=`${this.triangleData.itemRect.height+2*this.triangleData.padding}px`,t=this.triangleData.parentElementWidth-this.triangleData.padding+"px";return{lb:`${t} ${i}`,lt:`${t} 0`,rt:"100% 0",rb:`100% ${i}`}}const t=this.getTriangleTipX(),s=this.getTriangleTipY();return{lb:`${t}px ${s}px`,lt:`${t}px ${s}px`,rt:"100% 0",rb:"100% 100%"}}followByMouseEvent(i){if(!(this.initialized&&this.triangleData&&this.element&&this.subNavigation))return;this.mouseX=i.clientX-this.triangleData.itemRect.left,this.mouseY=i.clientY-this.triangleData.itemRect.top;const t=this.hasMouseEnteredSubNavigation(),s=this.getTriangleCoordinates(t?"fill-gap":"safe-triangle");s&&(this.element.style.setProperty("--db-navigation-item-clip-path",`polygon(${s.lb}, ${s.lt}, ${s.rt}, ${s.rb})`),t&&(this.triangleData=void 0))}}export{s as N,t as i}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{y as t,H as e,z as s,j as i,d as r,t as a}from"./p-CYYSsu3p.js";const n=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.observer=void 0}setupObserver(t){if(!t)return;const e=t.closest("db-link");e&&!this.observer&&(this.observer=new MutationObserver((e=>{e.some((t=>{var e;const s=t.target.attributes.getNamedItem(null!==(e=t.attributeName)&&void 0!==e?e:"");return(null==s?void 0:s.value)!==t.oldValue}))&&this.enableAttributePassing(t,"db-link")})),this.observer.observe(e,{attributes:!0,attributeOldValue:!0}))}enableAttributePassing(t,e){const s=null==t?void 0:t.closest(e);if(t&&s){const e=s.attributes;for(let i=0;i<e.length;i++){const r=e.item(i);if(r&&"data-density"!==r.name&&(r.name.startsWith("data-")||r.name.startsWith("aria-")))r.value?t.setAttribute(r.name,r.value):t.removeAttribute(r.name),s.removeAttribute(r.name);else if(r&&["style"].includes(r.name))t.setAttribute(r.name,r.value),s.removeAttribute(r.name);else if(r&&"class"===r.name){const e=r.value.includes("hydrated"),i=r.value.replace("hydrated","").trim(),a=t.getAttribute("class");t.setAttribute(r.name,`${a||""}${i?` ${i}`:""}`),e?s.setAttribute("class","hydrated"):s.removeAttribute(r.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,e,a,n;return s("a",{key:"7d627d40c68589558b3e33b1304f4c57b95203e3",class:r("db-link",this.className),ref:t=>{this._ref=t},id:null!==(t=this.id)&&void 0!==t?t:null===(e=this.propOverrides)||void 0===e?void 0:e.id,href:this.href,target:this.target,rel:this.rel,role:this.role,referrerPolicy:null!==(a=this.referrerpolicy)&&void 0!==a?a: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,s("slot",{key:"fc12c0b064d4c5d03347bea0f6de4ad5fcf78223"}))}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(a(t))||customElements.define(a(t),n))}))}export{n as D,d}
|
|
@@ -1 +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-
|
|
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-Cc5hdI0x.js";import{d as s}from"./p-C2w7ILj8.js";import{d as v}from"./p-C47AKJPy.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:"35a33e8121f2ba41e8785c1399566365741064e3",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,h,b,m,p,f,w,y,g,k,E,$,j,x,A,z,C,S,I,P,D,H,L,Y,J,K,N,T,q,B,F,G,M,O,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===(h=l.link)||void 0===h?void 0:h.content,size:null===(b=l.link)||void 0===b?void 0:b.size,variant:null===(m=l.link)||void 0===m?void 0:m.variant,id:null===(p=l.link)||void 0===p?void 0:p.id,autofocus:null===(f=l.link)||void 0===f?void 0:f.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===(A=l.link)||void 0===A?void 0:A.text,wrap:null===(z=l.link)||void 0===z?void 0:z.wrap},null===(C=l.link)||void 0===C?void 0:C.children):l.content):o("db-table-data-cell",{class:null!==(S=l.className)&&void 0!==S?S:l.class,key:`${null!==(P=null!==(I=l.id)&&void 0!==I?I:this.id)&&void 0!==P?P: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===(D=l.link)||void 0===D?void 0:D.className)&&void 0!==H?H:null===(L=l.link)||void 0===L?void 0:L.class,content:null===(Y=l.link)||void 0===Y?void 0:Y.content,size:null===(J=l.link)||void 0===J?void 0:J.size,variant:null===(K=l.link)||void 0===K?void 0:K.variant,id:null===(N=l.link)||void 0===N?void 0:N.id,autofocus:null===(T=l.link)||void 0===T?void 0:T.autofocus,disabled:null===(q=l.link)||void 0===q?void 0:q.disabled,href:null===(B=l.link)||void 0===B?void 0:B.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===(M=l.link)||void 0===M?void 0:M.rel,referrerPolicy:null===(O=l.link)||void 0===O?void 0:O.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 +1 @@
|
|
|
1
|
-
import{y as t,H as s,A as e,z as o,j as a,d as i,t as n}from"./p-CYYSsu3p.js";import{m as d}from"./p-BdL-nI5y.js";import{d as
|
|
1
|
+
import{y as t,H as s,A as e,z as o,j as a,d as i,t as n}from"./p-CYYSsu3p.js";import{m as d}from"./p-BdL-nI5y.js";import{d as c}from"./p-gIJnyld5.js";const h=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.remove=e(this,"remove"),this.observer=void 0}handleRemove(t){t&&(t.stopPropagation(),this.remove&&this.remove.emit(t))}getRemoveButtonText(){return this.removeButton?this.removeButton:d}setupObserver(t){if(!t)return;const s=t.closest("db-tag");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-tag")})),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 o=0;o<s.length;o++){const a=s.item(o);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"),o=a.value.replace("hydrated","").trim(),i=t.getAttribute("class");t.setAttribute(a.name,`${i||""}${o?` ${o}`:""}`),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-tag"),this.setupObserver(this._ref)}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}render(){var t,s,e;return o("div",{key:"bf503e6e826fcb53cfc057b1f2610d062967311e",class:i("db-tag",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-semantic":this.semantic,"data-emphasis":this.emphasis,"data-icon":this.icon,"data-show-check-state":a(null===(e=this.showCheckState)||void 0===e||e,"showCheckState"),"data-show-icon":a(this.showIcon,"showIcon"),"data-no-text":a(this.noText,"noText"),"data-overflow":a(this.overflow,"overflow")},o("slot",{key:"d047f3f96e38b36f4d8f43cfb316d1571ebdd9ba",name:"content"}),this.text?this.text:null,o("slot",{key:"b2356b4e384b61ac2844bdb4a8c2f9c4e5b9f153"}),"removable"===this.behavior?o("button",{class:"db-button db-tab-remove-button","data-icon":"cross","data-size":"small","data-no-text":"true","data-variant":"ghost",type:"button",onClick:t=>this.handleRemove(t)},o("db-tooltip",{variant:"label"},this.getRemoveButtonText())):null)}get rootElement(){return this}},[260,"db-tag",{removeButton:[1,"remove-button"],id:[1],propOverrides:[16],className:[1,"classname"],semantic:[1],emphasis:[1],icon:[1],showCheckState:[8,"show-check-state"],showIcon:[8,"show-icon"],noText:[8,"no-text"],overflow:[8],text:[1],behavior:[1],observer:[32]}]);function r(){"undefined"!=typeof customElements&&["db-tag","db-tooltip"].forEach((t=>{switch(t){case"db-tag":customElements.get(n(t))||customElements.define(n(t),h);break;case"db-tooltip":customElements.get(n(t))||c()}}))}export{h as D,r as d}
|
|
@@ -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 i}from"./p-Cc5hdI0x.js";import{d as r}from"./p-C2w7ILj8.js";import{d as o}from"./p-C47AKJPy.js";import{d as n}from"./p-Cn5NdjPW.js";const b=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.observer=void 0}getCells(e){return null==e?void 0:e.map((e=>Object.assign(Object.assign({},e),{headerCell:!0})))}setupObserver(e){if(!e)return;const t=e.closest("db-table-head");t&&!this.observer&&(this.observer=new MutationObserver((t=>{t.some((e=>{var t;const s=e.target.attributes.getNamedItem(null!==(t=e.attributeName)&&void 0!==t?t:"");return(null==s?void 0:s.value)!==e.oldValue}))&&this.enableAttributePassing(e,"db-table-head")})),this.observer.observe(t,{attributes:!0,attributeOldValue:!0}))}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-head"),this.setupObserver(this._ref)}disconnectedCallback(){var e;null===(e=this.observer)||void 0===e||e.disconnect()}render(){var e;return s("thead",{key:"d2796be8931832f63f6948ea20b14b6e9981f50e",class:d("db-table-head",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,i;return s("db-table-row",{class:null!==(d=e.className)&&void 0!==d?d:e.class,key:`${null!==(i=null!==(l=e.id)&&void 0!==l?l:this.id)&&void 0!==i?i:a()}-table-head-row-${t}`,cells:this.getCells(e.cells),subHeaderEmphasis:e.subHeaderEmphasis,interactive:e.interactive,id:e.id})})):s("slot",null))}get rootElement(){return this}},[260,"db-table-head",{id:[1],className:[1,"classname"],rows:[16],observer:[32]}]);function c(){"undefined"!=typeof customElements&&["db-table-head","db-link","db-table-data-cell","db-table-header-cell","db-table-row"].forEach((e=>{switch(e){case"db-table-head":customElements.get(l(e))||customElements.define(l(e),b);break;case"db-link":customElements.get(l(e))||i();break;case"db-table-data-cell":customElements.get(l(e))||r();break;case"db-table-header-cell":customElements.get(l(e))||o();break;case"db-table-row":customElements.get(l(e))||n()}}))}export{b as D,c as d}
|
|
@@ -1 +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:"
|
|
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:"5eadddc7c23a90019ab373dfd11aedfc2000735f",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:"d42f84050c3eb885783ed3488293062cf9a00bcf"}))}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}
|
|
@@ -1 +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
|
|
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 f,d as b,t as p}from"./p-CYYSsu3p.js";import{l as g,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 O}from"./p-D6L0n3gO.js";import{d as _}from"./p-BpO8Ok-r.js";const M=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)||g,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)||g}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),O(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||g})(),(()=>{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,p;return l("div",{key:"bfe18e425b08ee3c315f9f59eb230d5ba437407a",class:b("db-input",this.className),"data-variant":this.variant,"data-hide-label":f(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":f(this.showRequiredAsterisk),"data-show-icon-trailing":m(this.showIconTrailing,"showIconTrailing")},l("label",{key:"0356f8c8e0cf5fe3d4da7857f75a6298fe39486b",htmlFor:this._id},null!==(t=this.label)&&void 0!==t?t:L),l("input",{key:"4bd3c6406df28e017ceb6f080b06e7b4ccf2df75","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===(p=this.getDataList())||void 0===p?void 0:p.map((i=>l("option",{key:this._dataListId+"-option-"+i.value,value:i.value},i.label)))):null,l("slot",{key:"7071e137ef966ea7ba8c0242c540ee73163e8023"}),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:"221bc7dceacad6b0c4eb9cfd5747a8db71ff512d",semantic:"critical",id:this._invalidMessageId,size:this.invalidMessageSize||"small"},this._invalidMessage),l("span",{key:"2e376dfcacc4be02eaff503d25e219fcf78ff7a8","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(p(i))||customElements.define(p(i),M);break;case"db-infotext":customElements.get(p(i))||_()}}))}export{M as D,F as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{y as e,H as t,z as s,u as a,d as o,t as d}from"./p-CYYSsu3p.js";import{d as l}from"./p-Cc5hdI0x.js";import{d as r}from"./p-C2w7ILj8.js";import{d as i}from"./p-C47AKJPy.js";import{d as n}from"./p-Cn5NdjPW.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 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(),d=e.getAttribute("class");e.setAttribute(o.name,`${d||""}${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:"204ca2b37050ebd079e26fe0dba6c55a87806d44",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,d,l;return s("db-table-row",{class:null!==(o=e.className)&&void 0!==o?o:e.class,key:`${null!==(l=null!==(d=e.id)&&void 0!==d?d:this.id)&&void 0!==l?l: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(d(e))||customElements.define(d(e),c);break;case"db-link":customElements.get(d(e))||l();break;case"db-table-data-cell":customElements.get(d(e))||r();break;case"db-table-header-cell":customElements.get(d(e))||i();break;case"db-table-row":customElements.get(d(e))||n()}}))}export{c as D,b as d}
|
|
@@ -1 +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:"
|
|
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:"7720cebaaa9128aa7f12a3720aa1374a0fd689d7",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:"19d66fe8c4369630a1debf34e448c0f13ebe0be9"}))}get rootElement(){return this}},[260,"db-custom-select-dropdown",{id:[1],propOverrides:[16],className:[1,"classname"],width:[1],observer:[32]}]);function a(){"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,a as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as t,H as i,A as e,k as s,z as a,j as n,d,t as h}from"./p-CYYSsu3p.js";const c=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.toggle=e(this,"toggle"),this._open=!1,this._name=void 0,this.initialized=!1,this.observer=void 0}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)}}}handleToggle(t){null==t||t.preventDefault();const i=!this._open;this.toggle&&this.toggle.emit(i),void 0===this.open&&(this._open=i)}setupObserver(t){if(!t)return;const i=t.closest("db-accordion-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-accordion-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(),n=t.getAttribute("class");t.setAttribute(a.name,`${n||""}${s?` ${s}`:""}`),i?e.setAttribute("class","hydrated"):e.removeAttribute(a.name)}}}}watch0Fn(){}watch0(){this.watch0Fn()}watch1Fn(){this.name&&(this._name=this.name)}watch1(){this.watch1Fn()}watch2Fn(){const t=s(this.open,"open");void 0!==t&&(this._open=t)}watch2(){this.watch2Fn()}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-accordion-item"),(()=>{this.defaultOpen&&(this._open=this.defaultOpen),this.initialized=!0})(),(()=>{this.setupObserver(this._ref)})(),this.watch0Fn(),this.watch1Fn(),this.watch2Fn()}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}render(){var t,i;return a("li",{key:"
|
|
1
|
+
import{y as t,H as i,A as e,k as s,z as a,j as n,d,t as h}from"./p-CYYSsu3p.js";const c=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.toggle=e(this,"toggle"),this._open=!1,this._name=void 0,this.initialized=!1,this.observer=void 0}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)}}}handleToggle(t){null==t||t.preventDefault();const i=!this._open;this.toggle&&this.toggle.emit(i),void 0===this.open&&(this._open=i)}setupObserver(t){if(!t)return;const i=t.closest("db-accordion-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-accordion-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(),n=t.getAttribute("class");t.setAttribute(a.name,`${n||""}${s?` ${s}`:""}`),i?e.setAttribute("class","hydrated"):e.removeAttribute(a.name)}}}}watch0Fn(){}watch0(){this.watch0Fn()}watch1Fn(){this.name&&(this._name=this.name)}watch1(){this.watch1Fn()}watch2Fn(){const t=s(this.open,"open");void 0!==t&&(this._open=t)}watch2(){this.watch2Fn()}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-accordion-item"),(()=>{this.defaultOpen&&(this._open=this.defaultOpen),this.initialized=!0})(),(()=>{this.setupObserver(this._ref)})(),this.watch0Fn(),this.watch1Fn(),this.watch2Fn()}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}render(){var t,i;return a("li",{key:"c397db96c483e2aac2576fd78d76554906a734a7",class:d("db-accordion-item",this.className),id:null!==(t=this.id)&&void 0!==t?t:null===(i=this.propOverrides)||void 0===i?void 0:i.id},a("details",{key:"f62a207933a57adff2bdf3ab3f683dc1e319ef8b","aria-disabled":n(this.disabled,"disabled"),ref:t=>{this._ref=t},name:this._name,open:this._open},a("summary",{key:"54467fab087e8ad5273729c3e9439b7e2d970930",onClick:t=>this.handleToggle(t)},this.headlinePlain?this.headlinePlain:null,this.headlinePlain?null:a("slot",{name:"headline"})),a("div",{key:"8e5fd3be29d7cbc56fa2e792f3dabe65424d9a40"},this.text?this.text:null,a("slot",{key:"8a0ff2a38a23ced4ca443623924e51a580219cc5"}))))}get rootElement(){return this}static get watchers(){return{_ref:[{watch0:0}],initialized:[{watch0:0}],name:[{watch1:0}],open:[{watch2:0}]}}},[260,"db-accordion-item",{defaultOpen:[4,"default-open"],name:[1],open:[8],id:[1],propOverrides:[16],className:[1,"classname"],disabled:[8],headlinePlain:[1,"headline-plain"],text:[1],_open:[32],_name:[32],initialized:[32],observer:[32]},void 0,{_ref:[{watch0:0}],initialized:[{watch0:0}],name:[{watch1:0}],open:[{watch2:0}]}]);function o(){"undefined"!=typeof customElements&&["db-accordion-item"].forEach((t=>{"db-accordion-item"===t&&(customElements.get(h(t))||customElements.define(h(t),c))}))}export{c as D,o as d}
|
|
@@ -1 +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
|
|
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 d}from"./p-CYYSsu3p.js";import{D as n}from"./p-BdL-nI5y.js";import{D as l}from"./p-DJTpgiBy.js";import{b as r}from"./p-C0q9XJSc.js";const c=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this._id=n,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:"a35fc9349a599145e2ea2287aa6467500854fadd",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:"63d102dc8c4c4022c2dc3bad582f0167635adcb2"}))}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(d(t))||customElements.define(d(t),c))}))}export{c as D,u as d}
|
|
@@ -1 +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
|
|
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 l=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:"95e2aeea15f86890868013ddb33a6b365d814fc4",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)}),c("span",{class:"db-custom-select-list-item-label"},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 d(){"undefined"!=typeof customElements&&["db-custom-select-list-item"].forEach((t=>{"db-custom-select-list-item"===t&&(customElements.get(o(t))||customElements.define(o(t),l))}))}export{l as D,d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as t,H as s,z as e,d as i,t as
|
|
1
|
+
import{y as t,H as s,z as e,d as i,t as c}from"./p-CYYSsu3p.js";const l=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-custom-select-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-custom-select-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 c=s.item(i);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),e.removeAttribute(c.name);else if(c&&["style"].includes(c.name))t.setAttribute(c.name,c.value),e.removeAttribute(c.name);else if(c&&"class"===c.name){const s=c.value.includes("hydrated"),i=c.value.replace("hydrated","").trim(),l=t.getAttribute("class");t.setAttribute(c.name,`${l||""}${i?` ${i}`:""}`),s?e.setAttribute("class","hydrated"):e.removeAttribute(c.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-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:"753c3016f6c9a1ed9fce2fa8c7ae00b9ff73383d",class:i("db-custom-select-list",this.className),role:this.multiple?"group":"radiogroup","aria-label":this.label,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:"6fce279c5ddf56f52c574e98d60335cd689d7e2c"},e("slot",{key:"667b6c5979cee0f28941fc4e62ba67d9b5878373"})))}get rootElement(){return this}},[260,"db-custom-select-list",{multiple:[4],label:[1],id:[1],propOverrides:[16],className:[1,"classname"],observer:[32]}]);function d(){"undefined"!=typeof customElements&&["db-custom-select-list"].forEach((t=>{"db-custom-select-list"===t&&(customElements.get(c(t))||customElements.define(c(t),l))}))}export{l as D,d}
|
|
@@ -146,9 +146,9 @@ const DBAccordionItem = class {
|
|
|
146
146
|
}
|
|
147
147
|
render() {
|
|
148
148
|
var _a, _b;
|
|
149
|
-
return (index.h("li", { key: '
|
|
149
|
+
return (index.h("li", { key: 'c397db96c483e2aac2576fd78d76554906a734a7', 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: 'f62a207933a57adff2bdf3ab3f683dc1e319ef8b', "aria-disabled": index$1.getBooleanAsString(this.disabled, "disabled"), ref: (el) => {
|
|
150
150
|
this._ref = el;
|
|
151
|
-
}, name: this._name, open: this._open }, index.h("summary", { key: '
|
|
151
|
+
}, name: this._name, open: this._open }, index.h("summary", { key: '54467fab087e8ad5273729c3e9439b7e2d970930', onClick: (event) => this.handleToggle(event) }, this.headlinePlain ? this.headlinePlain : null, !this.headlinePlain ? index.h("slot", { name: "headline" }) : null), index.h("div", { key: '8e5fd3be29d7cbc56fa2e792f3dabe65424d9a40' }, this.text ? this.text : null, index.h("slot", { key: '8a0ff2a38a23ced4ca443623924e51a580219cc5' })))));
|
|
152
152
|
}
|
|
153
153
|
get rootElement() { return index.getElement(this); }
|
|
154
154
|
static get watchers() { return {
|
|
@@ -173,7 +173,7 @@ const DBAccordion = class {
|
|
|
173
173
|
}
|
|
174
174
|
render() {
|
|
175
175
|
var _a, _b, _c;
|
|
176
|
-
return (index.h("ul", { key: '
|
|
176
|
+
return (index.h("ul", { key: 'f98dfda4df392afc979727a1bbc859f9bd7aab97', class: index$1.cls("db-accordion", this.className), ref: (el) => {
|
|
177
177
|
this._ref = el;
|
|
178
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
|
|
179
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 })))
|
|
@@ -113,9 +113,9 @@ const DBBadge = class {
|
|
|
113
113
|
}
|
|
114
114
|
render() {
|
|
115
115
|
var _a, _b, _c, _d;
|
|
116
|
-
return (index.h("span", { key: '
|
|
116
|
+
return (index.h("span", { key: '35ba74d807e8b24b8b657e2ab744ffdacc543ddb', class: index$1.cls("db-badge", this.className), ref: (el) => {
|
|
117
117
|
this._ref = el;
|
|
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: '
|
|
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: 'e6941e0d7594f49fc7ab5e8e23ad85ed3dc15510' })));
|
|
119
119
|
}
|
|
120
120
|
get rootElement() { return index.getElement(this); }
|
|
121
121
|
static get watchers() { return {
|
|
@@ -86,9 +86,9 @@ const DBBrand = class {
|
|
|
86
86
|
}
|
|
87
87
|
render() {
|
|
88
88
|
var _a, _b, _c;
|
|
89
|
-
return (index.h("div", { key: '
|
|
89
|
+
return (index.h("div", { key: 'eb7ad13ac7dc2b56c0611996975b6f140cb837c8', class: index$1.cls("db-brand", this.className), ref: (el) => {
|
|
90
90
|
this._ref = el;
|
|
91
|
-
}, "data-icon": this.hideLogo ? "none" : (_a = this.icon) !== null && _a !== void 0 ? _a : constants.DEFAULT_ICON, "data-show-icon": index$1.getBooleanAsString(this.showIcon, "showIcon"), id: (_b = this.id) !== null && _b !== void 0 ? _b : (_c = this.propOverrides) === null || _c === void 0 ? void 0 : _c.id }, index.h("slot", { key: '
|
|
91
|
+
}, "data-icon": this.hideLogo ? "none" : (_a = this.icon) !== null && _a !== void 0 ? _a : constants.DEFAULT_ICON, "data-show-icon": index$1.getBooleanAsString(this.showIcon, "showIcon"), id: (_b = this.id) !== null && _b !== void 0 ? _b : (_c = this.propOverrides) === null || _c === void 0 ? void 0 : _c.id }, index.h("slot", { key: '21a1bf9ea2f921c6a38e24062890c7f674213605' }), this.text ? this.text : null));
|
|
92
92
|
}
|
|
93
93
|
get rootElement() { return index.getElement(this); }
|
|
94
94
|
};
|
|
@@ -95,10 +95,10 @@ const DBButton = class {
|
|
|
95
95
|
}
|
|
96
96
|
render() {
|
|
97
97
|
var _a, _b, _c;
|
|
98
|
-
return (index.h("button", { key: '
|
|
98
|
+
return (index.h("button", { key: '5eadddc7c23a90019ab373dfd11aedfc2000735f', class: index$1.cls("db-button", this.className), ref: (el) => {
|
|
99
99
|
this._ref = el;
|
|
100
100
|
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, type: this.getButtonType(), disabled: index$1.getBoolean(this.disabled, "disabled"), "data-icon": (_c = this.iconLeading) !== null && _c !== void 0 ? _c : this.icon, "data-show-icon": index$1.getBooleanAsString(this.showIconLeading, "showIconLeading") ||
|
|
101
|
-
index$1.getBooleanAsString(this.showIcon, "showIcon"), "data-icon-trailing": this.iconTrailing, "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing, "showIconTrailing"), "data-size": this.size, "data-width": this.width, "data-variant": this.variant, "data-wrap": index$1.getBooleanAsString(this.wrap, "wrap"), "data-no-text": index$1.getBooleanAsString(this.noText, "noText"), name: this.name, form: this.form, value: this.value }, this.text ? this.text : null, index.h("slot", { key: '
|
|
101
|
+
index$1.getBooleanAsString(this.showIcon, "showIcon"), "data-icon-trailing": this.iconTrailing, "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing, "showIconTrailing"), "data-size": this.size, "data-width": this.width, "data-variant": this.variant, "data-wrap": index$1.getBooleanAsString(this.wrap, "wrap"), "data-no-text": index$1.getBooleanAsString(this.noText, "noText"), name: this.name, form: this.form, value: this.value }, this.text ? this.text : null, index.h("slot", { key: 'd42f84050c3eb885783ed3488293062cf9a00bcf' })));
|
|
102
102
|
}
|
|
103
103
|
get rootElement() { return index.getElement(this); }
|
|
104
104
|
};
|
|
@@ -91,9 +91,9 @@ const DBCard = class {
|
|
|
91
91
|
}
|
|
92
92
|
render() {
|
|
93
93
|
var _a, _b;
|
|
94
|
-
return (index.h("div", { key: '
|
|
94
|
+
return (index.h("div", { key: '239a6339e8f5764403ced3424b1b8c1b0da0bf41', class: index$1.cls("db-card", this.className), ref: (el) => {
|
|
95
95
|
this._ref = el;
|
|
96
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-behavior": this.behavior, "data-elevation-level": this.elevationLevel, "data-spacing": this.spacing, onClick: (event) => this.handleClick(event) }, index.h("slot", { key: '
|
|
96
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-behavior": this.behavior, "data-elevation-level": this.elevationLevel, "data-spacing": this.spacing, onClick: (event) => this.handleClick(event) }, index.h("slot", { key: '8b9970f8e6300a4feddc2de934ddd3ba4cab11ad' })));
|
|
97
97
|
}
|
|
98
98
|
get rootElement() { return index.getElement(this); }
|
|
99
99
|
};
|
|
@@ -250,9 +250,9 @@ const DBCheckbox = class {
|
|
|
250
250
|
}
|
|
251
251
|
render() {
|
|
252
252
|
var _a;
|
|
253
|
-
return (index.h("div", { key: '
|
|
253
|
+
return (index.h("div", { key: 'b386e9507944ca665310bd874fdee124af12f071', class: index$1.cls("db-checkbox", this.className), "data-size": this.size, "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-hide-label": index$1.getHideProp(this.showLabel) }, index.h("label", { key: 'd6963dfdb59a00f027231babd6d985681c331b99', htmlFor: this._id }, index.h("input", { key: '81848aef05a7288c4ae200f48be6f8614e68607f', type: "checkbox", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
|
|
254
254
|
this._ref = el;
|
|
255
|
-
}, id: this._id, name: this.name, checked: index$1.getBoolean(this.checked, "checked"), disabled: index$1.getBoolean(this.disabled, "disabled"), value: this.value, required: index$1.getBoolean(this.required, "required"), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), "aria-describedby": (_a = this.ariaDescribedBy) !== null && _a !== void 0 ? _a : this._descByIds }), this.label ? this.label : null, index.h("slot", { key: '
|
|
255
|
+
}, id: this._id, name: this.name, checked: index$1.getBoolean(this.checked, "checked"), disabled: index$1.getBoolean(this.disabled, "disabled"), value: this.value, required: index$1.getBoolean(this.required, "required"), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), "aria-describedby": (_a = this.ariaDescribedBy) !== null && _a !== void 0 ? _a : this._descByIds }), this.label ? this.label : null, index.h("slot", { key: '433ec6a708da3f342f8fc745ddefbdc9c15d8b9a' })), index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: '4295a01b6f8f0a9d78f337dac875f53c45ddefa6', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), index.h("span", { key: '85e87a85df4ca25e535cf0c890ba943f5cfa978b', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
256
256
|
}
|
|
257
257
|
get rootElement() { return index.getElement(this); }
|
|
258
258
|
static get watchers() { return {
|
|
@@ -85,10 +85,10 @@ const DBCustomButton = class {
|
|
|
85
85
|
}
|
|
86
86
|
render() {
|
|
87
87
|
var _a, _b, _c;
|
|
88
|
-
return (index.h("div", { key: '
|
|
88
|
+
return (index.h("div", { key: 'b1552822320b13ce54881eb3771947cf81928c06', class: index$1.cls("db-custom-button", this.className), ref: (el) => {
|
|
89
89
|
this._ref = el;
|
|
90
90
|
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-icon": (_c = this.iconLeading) !== null && _c !== void 0 ? _c : this.icon, "data-show-icon": index$1.getBooleanAsString(this.showIconLeading, "showIconLeading") ||
|
|
91
|
-
index$1.getBooleanAsString(this.showIcon, "showIcon"), "data-icon-trailing": this.iconTrailing, "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing, "showIconTrailing"), "data-size": this.size, "data-width": this.width, "data-variant": this.variant, "data-no-text": index$1.getBooleanAsString(this.noText, "noText") }, index.h("slot", { key: '
|
|
91
|
+
index$1.getBooleanAsString(this.showIcon, "showIcon"), "data-icon-trailing": this.iconTrailing, "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing, "showIconTrailing"), "data-size": this.size, "data-width": this.width, "data-variant": this.variant, "data-no-text": index$1.getBooleanAsString(this.noText, "noText") }, index.h("slot", { key: 'eaf79ff037afc5c2d9b5683e2a2cf11e24174004' })));
|
|
92
92
|
}
|
|
93
93
|
get rootElement() { return index.getElement(this); }
|
|
94
94
|
};
|
|
@@ -88,9 +88,9 @@ const DBCustomSelectDropdown = class {
|
|
|
88
88
|
}
|
|
89
89
|
render() {
|
|
90
90
|
var _a, _b;
|
|
91
|
-
return (index.h("article", { key: '
|
|
91
|
+
return (index.h("article", { key: '7720cebaaa9128aa7f12a3720aa1374a0fd689d7', class: index$1.cls("db-custom-select-dropdown db-card", this.className), "data-spacing": "none", ref: (el) => {
|
|
92
92
|
this._ref = el;
|
|
93
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width }, index.h("slot", { key: '
|
|
93
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width }, index.h("slot", { key: '19d66fe8c4369630a1debf34e448c0f13ebe0be9' })));
|
|
94
94
|
}
|
|
95
95
|
get rootElement() { return index.getElement(this); }
|
|
96
96
|
};
|
|
@@ -177,9 +177,9 @@ const DBCustomSelectList = class {
|
|
|
177
177
|
}
|
|
178
178
|
render() {
|
|
179
179
|
var _a, _b;
|
|
180
|
-
return (index.h("div", { key: '
|
|
180
|
+
return (index.h("div", { key: '753c3016f6c9a1ed9fce2fa8c7ae00b9ff73383d', class: index$1.cls("db-custom-select-list", this.className), role: this.multiple ? "group" : "radiogroup", "aria-label": this.label, ref: (el) => {
|
|
181
181
|
this._ref = el;
|
|
182
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("ul", { key: '
|
|
182
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("ul", { key: '6fce279c5ddf56f52c574e98d60335cd689d7e2c' }, index.h("slot", { key: '667b6c5979cee0f28941fc4e62ba67d9b5878373' }))));
|
|
183
183
|
}
|
|
184
184
|
get rootElement() { return index.getElement(this); }
|
|
185
185
|
};
|
|
@@ -287,12 +287,12 @@ const DBCustomSelectListItem = class {
|
|
|
287
287
|
}
|
|
288
288
|
render() {
|
|
289
289
|
var _a, _b;
|
|
290
|
-
return (index.h("li", { key: '
|
|
290
|
+
return (index.h("li", { key: '95e2aeea15f86890868013ddb33a6b365d814fc4', class: index$1.cls("db-custom-select-list-item", this.className, {
|
|
291
291
|
"db-checkbox": this.type === "checkbox" && !this.isGroupTitle,
|
|
292
292
|
"db-radio": this.type !== "checkbox" && !this.isGroupTitle,
|
|
293
293
|
}), ref: (el) => {
|
|
294
294
|
this._ref = el;
|
|
295
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-divider": index$1.getBooleanAsString(this.hasDivider, "hasDivider") }, !this.isGroupTitle ? (index.h("label", { "data-icon": this.type !== "checkbox" && this.icon ? this.icon : undefined, "data-show-icon": index$1.getBooleanAsString(this.showIcon, "showIcon"), "data-icon-trailing": this.getIconTrailing() }, index.h("input", { class: "db-custom-select-list-item-checkbox", "data-disable-focus": "true", type: this.type, name: this.name, form: this.name, checked: index$1.getBoolean(this.checked, "checked"), disabled: index$1.getBoolean(this.disabled, "disabled"), value: this.value, onChange: (event) => this.handleChange(event) }), this.label ? this.label : null, index.h("slot", null))) : (index.h("span", null, this.groupTitle))));
|
|
295
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-divider": index$1.getBooleanAsString(this.hasDivider, "hasDivider") }, !this.isGroupTitle ? (index.h("label", { "data-icon": this.type !== "checkbox" && this.icon ? this.icon : undefined, "data-show-icon": index$1.getBooleanAsString(this.showIcon, "showIcon"), "data-icon-trailing": this.getIconTrailing() }, index.h("input", { class: "db-custom-select-list-item-checkbox", "data-disable-focus": "true", type: this.type, name: this.name, form: this.name, checked: index$1.getBoolean(this.checked, "checked"), disabled: index$1.getBoolean(this.disabled, "disabled"), value: this.value, onChange: (event) => this.handleChange(event) }), index.h("span", { class: "db-custom-select-list-item-label" }, this.label ? this.label : null, index.h("slot", null)))) : (index.h("span", null, this.groupTitle))));
|
|
296
296
|
}
|
|
297
297
|
get rootElement() { return index.getElement(this); }
|
|
298
298
|
static get watchers() { return {
|
|
@@ -555,8 +555,8 @@ const DBInput = class {
|
|
|
555
555
|
}
|
|
556
556
|
render() {
|
|
557
557
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
558
|
-
return (index.h("div", { key: '
|
|
559
|
-
index$1.getBooleanAsString(this.showIcon, "showIcon"), "data-icon": (_a = this.iconLeading) !== null && _a !== void 0 ? _a : this.icon, "data-icon-trailing": this.iconTrailing, "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing, "showIconTrailing") }, index.h("label", { key: '
|
|
558
|
+
return (index.h("div", { key: 'bfe18e425b08ee3c315f9f59eb230d5ba437407a', class: index$1.cls("db-input", this.className), "data-variant": this.variant, "data-hide-label": index$1.getHideProp(this.showLabel), "data-show-icon": index$1.getBooleanAsString(this.showIconLeading, "showIconLeading") ||
|
|
559
|
+
index$1.getBooleanAsString(this.showIcon, "showIcon"), "data-icon": (_a = this.iconLeading) !== null && _a !== void 0 ? _a : this.icon, "data-icon-trailing": this.iconTrailing, "data-hide-asterisk": index$1.getHideProp(this.showRequiredAsterisk), "data-show-icon-trailing": index$1.getBooleanAsString(this.showIconTrailing, "showIconTrailing") }, index.h("label", { key: '0356f8c8e0cf5fe3d4da7857f75a6298fe39486b', htmlFor: this._id }, (_b = this.label) !== null && _b !== void 0 ? _b : constants.DEFAULT_LABEL), index.h("input", { key: '4bd3c6406df28e017ceb6f080b06e7b4ccf2df75', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
|
|
560
560
|
this._ref = el;
|
|
561
561
|
}, id: this._id, name: this.name, type: this.type || "text", multiple: index$1.getBoolean(this.multiple, "multiple"), accept: this.accept, placeholder: (_c = this.placeholder) !== null && _c !== void 0 ? _c : constants.DEFAULT_PLACEHOLDER, disabled: index$1.getBoolean(this.disabled, "disabled"), required: index$1.getBoolean(this.required, "required"), step: index$1.getStep(this.step), value: (_e = (_d = this.value) !== null && _d !== void 0 ? _d : this._value) !== null && _e !== void 0 ? _e : "", maxLength: index$1.getNumber(this.maxLength, this.maxlength), minLength: index$1.getNumber(this.minLength, this.minlength), max: index$1.getInputValue(this.max, this.type), min: index$1.getInputValue(this.min, this.type), readOnly: index$1.getBoolean(this.readOnly, "readOnly") ||
|
|
562
562
|
index$1.getBoolean(this.readonly, "readonly") ||
|
|
@@ -569,7 +569,7 @@ const DBInput = class {
|
|
|
569
569
|
"color",
|
|
570
570
|
].includes((_g = this.type) !== null && _g !== void 0 ? _g : "") && index$1.isIOSSafari()
|
|
571
571
|
? "textbox"
|
|
572
|
-
: undefined }), this.dataList ? (index.h("datalist", { id: this._dataListId }, (_h = this.getDataList()) === null || _h === void 0 ? void 0 : _h.map((option) => (index.h("option", { key: this._dataListId + "-option-" + option.value, value: option.value }, option.label))))) : null, index.h("slot", { key: '
|
|
572
|
+
: undefined }), this.dataList ? (index.h("datalist", { id: this._dataListId }, (_h = this.getDataList()) === null || _h === void 0 ? void 0 : _h.map((option) => (index.h("option", { key: this._dataListId + "-option-" + option.value, value: option.value }, option.label))))) : null, index.h("slot", { key: '7071e137ef966ea7ba8c0242c540ee73163e8023' }), index$1.stringPropVisible(this.message, this.showMessage) ? (index.h("db-infotext", { size: this.messageSize || "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (index.h("db-infotext", { semantic: "successful", id: this._validMessageId, size: this.validMessageSize || "small" }, this.validMessage || constants.DEFAULT_VALID_MESSAGE)) : null, index.h("db-infotext", { key: '221bc7dceacad6b0c4eb9cfd5747a8db71ff512d', semantic: "critical", id: this._invalidMessageId, size: this.invalidMessageSize || "small" }, this._invalidMessage), index.h("span", { key: '2e376dfcacc4be02eaff503d25e219fcf78ff7a8', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
573
573
|
}
|
|
574
574
|
get rootElement() { return index.getElement(this); }
|
|
575
575
|
static get watchers() { return {
|
|
@@ -694,9 +694,9 @@ const DBTag = class {
|
|
|
694
694
|
}
|
|
695
695
|
render() {
|
|
696
696
|
var _a, _b, _c;
|
|
697
|
-
return (index.h("div", { key: '
|
|
697
|
+
return (index.h("div", { key: 'bf503e6e826fcb53cfc057b1f2610d062967311e', class: index$1.cls("db-tag", this.className), ref: (el) => {
|
|
698
698
|
this._ref = el;
|
|
699
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-semantic": this.semantic, "data-emphasis": this.emphasis, "data-icon": this.icon, "data-show-check-state": index$1.getBooleanAsString((_c = this.showCheckState) !== null && _c !== void 0 ? _c : true, "showCheckState"), "data-show-icon": index$1.getBooleanAsString(this.showIcon, "showIcon"), "data-no-text": index$1.getBooleanAsString(this.noText, "noText"), "data-overflow": index$1.getBooleanAsString(this.overflow, "overflow") }, index.h("slot", { key: '
|
|
699
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-semantic": this.semantic, "data-emphasis": this.emphasis, "data-icon": this.icon, "data-show-check-state": index$1.getBooleanAsString((_c = this.showCheckState) !== null && _c !== void 0 ? _c : true, "showCheckState"), "data-show-icon": index$1.getBooleanAsString(this.showIcon, "showIcon"), "data-no-text": index$1.getBooleanAsString(this.noText, "noText"), "data-overflow": index$1.getBooleanAsString(this.overflow, "overflow") }, index.h("slot", { key: 'd047f3f96e38b36f4d8f43cfb316d1571ebdd9ba', name: "content" }), this.text ? this.text : null, index.h("slot", { key: 'b2356b4e384b61ac2844bdb4a8c2f9c4e5b9f153' }), this.behavior === "removable" ? (index.h("button", { class: "db-button db-tab-remove-button", "data-icon": "cross", "data-size": "small", "data-no-text": "true", "data-variant": "ghost", type: "button", onClick: (event) => this.handleRemove(event) }, index.h("db-tooltip", { variant: "label" }, this.getRemoveButtonText()))) : null));
|
|
700
700
|
}
|
|
701
701
|
get rootElement() { return index.getElement(this); }
|
|
702
702
|
};
|
|
@@ -85,9 +85,9 @@ const DBCustomSelectFormField = class {
|
|
|
85
85
|
}
|
|
86
86
|
render() {
|
|
87
87
|
var _a, _b;
|
|
88
|
-
return (index.h("summary", { key: '
|
|
88
|
+
return (index.h("summary", { key: '77e485f44f3ac511a95cf814b09f8460b6048fbc', class: index$1.cls("db-custom-select-form-field", this.className), ref: (el) => {
|
|
89
89
|
this._ref = el;
|
|
90
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("slot", { key: '
|
|
90
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, index.h("slot", { key: '382c889e2abf066105029031da4ecb0147c86607' })));
|
|
91
91
|
}
|
|
92
92
|
get rootElement() { return index.getElement(this); }
|
|
93
93
|
};
|