@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,9 +1,9 @@
|
|
|
1
|
-
import { DEFAULT_CLOSE_BUTTON, DEFAULT_INVALID_MESSAGE, DEFAULT_INVALID_MESSAGE_ID_SUFFIX, DEFAULT_LABEL, DEFAULT_LABEL_ID_SUFFIX, DEFAULT_MESSAGE, DEFAULT_MESSAGE_ID_SUFFIX, DEFAULT_PLACEHOLDER_ID_SUFFIX, DEFAULT_REMOVE, DEFAULT_SELECT_ID_SUFFIX, DEFAULT_SELECTED, DEFAULT_VALID_MESSAGE, DEFAULT_VALID_MESSAGE_ID_SUFFIX, } from "../../shared/constants";
|
|
2
|
-
import { cls, delay, getBoolean, getBooleanAsString, getHideProp, getSearchInput, hasVoiceOver, stringPropVisible, uuid, } from "../../utils";
|
|
3
|
-
import { DocumentClickListener } from "../../utils/document-click-listener";
|
|
4
|
-
import { DocumentScrollListener } from "../../utils/document-scroll-listener";
|
|
5
|
-
import { handleFixedDropdown } from "../../utils/floating-components";
|
|
6
|
-
import { addResetEventListener, } from "../../utils/form-components";
|
|
1
|
+
import { DEFAULT_CLOSE_BUTTON, DEFAULT_INVALID_MESSAGE, DEFAULT_INVALID_MESSAGE_ID_SUFFIX, DEFAULT_LABEL, DEFAULT_LABEL_ID_SUFFIX, DEFAULT_MESSAGE, DEFAULT_MESSAGE_ID_SUFFIX, DEFAULT_PLACEHOLDER_ID_SUFFIX, DEFAULT_REMOVE, DEFAULT_SELECT_ID_SUFFIX, DEFAULT_SELECTED, DEFAULT_VALID_MESSAGE, DEFAULT_VALID_MESSAGE_ID_SUFFIX, } from "../../shared/constants.js";
|
|
2
|
+
import { cls, delay, getBoolean, getBooleanAsString, getHideProp, getSearchInput, hasVoiceOver, stringPropVisible, uuid, } from "../../utils/index.js";
|
|
3
|
+
import { DocumentClickListener } from "../../utils/document-click-listener.js";
|
|
4
|
+
import { DocumentScrollListener } from "../../utils/document-scroll-listener.js";
|
|
5
|
+
import { handleFixedDropdown } from "../../utils/floating-components.js";
|
|
6
|
+
import { addResetEventListener, } from "../../utils/form-components.js";
|
|
7
7
|
import { h, Fragment } from "@stencil/core";
|
|
8
8
|
/**
|
|
9
9
|
* @slot children - This is a default/unnamed slot
|
|
@@ -429,6 +429,7 @@ export class DBCustomSelect {
|
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
431
|
handleSearch(valueOrEvent) {
|
|
432
|
+
var _a;
|
|
432
433
|
if (valueOrEvent === undefined) {
|
|
433
434
|
return;
|
|
434
435
|
}
|
|
@@ -457,6 +458,9 @@ export class DBCustomSelect {
|
|
|
457
458
|
.toLowerCase()
|
|
458
459
|
.includes(filterText.toLowerCase()));
|
|
459
460
|
}
|
|
461
|
+
if ((_a = this.detailsRef) === null || _a === void 0 ? void 0 : _a.open) {
|
|
462
|
+
this.handleAutoPlacement();
|
|
463
|
+
}
|
|
460
464
|
}
|
|
461
465
|
handleClearAll(event) {
|
|
462
466
|
event.stopPropagation();
|
|
@@ -686,10 +690,14 @@ export class DBCustomSelect {
|
|
|
686
690
|
this.watch11Fn();
|
|
687
691
|
}
|
|
688
692
|
watch12Fn() {
|
|
689
|
-
var _a, _b;
|
|
693
|
+
var _a, _b, _c;
|
|
690
694
|
this._options = this.options;
|
|
691
695
|
this.amountOptions =
|
|
692
696
|
(_b = (_a = this.options) === null || _a === void 0 ? void 0 : _a.filter((option) => !option.isGroupTitle).length) !== null && _b !== void 0 ? _b : 0;
|
|
697
|
+
// Reposition open auto-width dropdowns: replacing options can change their content width.
|
|
698
|
+
if ((_c = this.detailsRef) === null || _c === void 0 ? void 0 : _c.open) {
|
|
699
|
+
this.handleAutoPlacement();
|
|
700
|
+
}
|
|
693
701
|
}
|
|
694
702
|
watch12() {
|
|
695
703
|
this.watch12Fn();
|
|
@@ -830,19 +838,19 @@ export class DBCustomSelect {
|
|
|
830
838
|
}
|
|
831
839
|
render() {
|
|
832
840
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
833
|
-
return (h("div", { key: '
|
|
841
|
+
return (h("div", { key: '9f804bd057ef9cde5cc83263e5b1e3a477ad5d2e', class: cls("db-custom-select", this.className), id: this._id, ref: (el) => {
|
|
834
842
|
this._ref = el;
|
|
835
843
|
}, "aria-invalid": this._validity === "invalid", "data-custom-validity": this._validity, "data-width": this.formFieldWidth, "data-variant": this.variant === "floating" &&
|
|
836
844
|
this.selectedType === "tag" &&
|
|
837
845
|
this.multiple
|
|
838
846
|
? "above"
|
|
839
|
-
: this.variant, "data-required": getBooleanAsString(this.required, "required"), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-placement": this.placement, "data-selected-type": this.multiple ? this.selectedType : "text", "data-hide-label": getHideProp(this.showLabel), "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon, "showIcon") }, h("label", { key: '
|
|
847
|
+
: this.variant, "data-required": getBooleanAsString(this.required, "required"), "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-placement": this.placement, "data-selected-type": this.multiple ? this.selectedType : "text", "data-hide-label": getHideProp(this.showLabel), "data-icon": this.icon, "data-show-icon": getBooleanAsString(this.showIcon, "showIcon") }, h("label", { key: '1ce826237b63c3abfad8b55068c25fdc4acc2d7a', id: this._labelId }, (_a = this.label) !== null && _a !== void 0 ? _a : DEFAULT_LABEL, h("select", { key: '9f16da6b3d9e633e4ce70e8654925df86a901074', role: "none", hidden: true, id: this._selectId, tabIndex: -1, ref: (el) => {
|
|
840
848
|
this.selectRef = el;
|
|
841
849
|
}, form: this.form, name: this.name, "data-custom-validity": this._validity, multiple: getBoolean(this.multiple, "multiple"), disabled: getBoolean(this.disabled, "disabled"), required: getBoolean(this.required, "required"), onChange: (event) => this.satisfyReact(event) }, ((_b = this.options) === null || _b === void 0 ? void 0 : _b.length)
|
|
842
850
|
? (_c = this.options) === null || _c === void 0 ? void 0 : _c.map((option) => (h("option", { disabled: option.disabled, value: option.value, key: undefined }, this.getOptionLabel(option))))
|
|
843
|
-
: null)), h("details", { key: '
|
|
851
|
+
: null)), h("details", { key: '6a88c236898236ee539bced6fa3b3918be8f693d', ref: (el) => {
|
|
844
852
|
this.detailsRef = el;
|
|
845
|
-
}, open: this.open, onToggle: (event) => this.handleDropdownToggle(event), onKeyDown: (event) => this.handleKeyboardPress(event) }, h("slot", { key: '
|
|
853
|
+
}, open: this.open, onToggle: (event) => this.handleDropdownToggle(event), onKeyDown: (event) => this.handleKeyboardPress(event) }, h("slot", { key: 'c9dd3e30dd094da51de1b2064749a211fef6eb36' }), this.options ? (h(Fragment, null, h("summary", { class: "db-custom-select-form-field", id: this._summaryId, "aria-disabled": getBooleanAsString(this.disabled, "disabled"), tabIndex: this.disabled ? -1 : undefined, "aria-labelledby": this._labelId }, ((_d = this._selectedLabels) === null || _d === void 0 ? void 0 : _d.length) ? (h("span", { "data-visually-hidden": getBooleanAsString(this.selectedType === "tag", "selectedType"), id: this._selectedLabelsId }, this.selectedPrefix ? (h("span", { "data-visually-hidden": "true" }, this.selectedPrefix)) : null, this._selectedLabels)) : null, this.selectedType === "tag" ? (h("div", null, (_e = this._selectedOptions) === null || _e === void 0 ? void 0 : _e.map((option) => (h("db-tag", { emphasis: "strong", behavior: "removable", removeButton: this.getTagRemoveLabel(option), onRemove: (event) => this.handleTagRemove(option, event), key: undefined }, this.getOptionLabel(option)))))) : null), h("db-custom-select-dropdown", { width: this.dropdownWidth }, this.searchEnabled ? (h("div", null, h("db-input", { type: "search", ref: (el) => {
|
|
846
854
|
this.searchInputRef = el;
|
|
847
855
|
}, name: this._id, form: this._id, showLabel: false, value: this._searchValue, label: (_f = this.searchLabel) !== null && _f !== void 0 ? _f : DEFAULT_LABEL, placeholder: (_g = this.searchPlaceholder) !== null && _g !== void 0 ? _g : this.searchLabel, ariaDescribedBy: this._hasNoOptions || this.showLoading
|
|
848
856
|
? this._infoTextId
|
|
@@ -852,7 +860,7 @@ export class DBCustomSelect {
|
|
|
852
860
|
this.selectAllRef = el;
|
|
853
861
|
}, form: this._id, checked: this.selectAllChecked, onChange: (event) => this.handleSelectAll(event) }), this.getSelectAllLabel())))) : null, h("db-custom-select-list", { multiple: getBoolean(this.multiple, "multiple"), label: (_k = (_j = this.listLabel) !== null && _j !== void 0 ? _j : this.label) !== null && _k !== void 0 ? _k : DEFAULT_LABEL }, (_l = this._options) === null || _l === void 0 ? void 0 : _l.map((option) => (h("db-custom-select-list-item", { type: this.multiple ? "checkbox" : "radio", showDivider: option.showDivider, icon: option.icon, isGroupTitle: option.isGroupTitle, groupTitle: this.getOptionLabel(option), name: this._id, checked: this.getOptionChecked(option.value), disabled: option.disabled, value: option.value, onChange: () => this.handleSelect(option.value), key: undefined }, !option.isGroupTitle
|
|
854
862
|
? this.getOptionLabel(option)
|
|
855
|
-
: null)))))), h("div", null, h("db-button", { variant: "ghost", width: "full", icon: "cross", size: "small", name: this._id, form: this._id, onClick: () => this.handleClose(undefined, true) }, (_m = this.mobileCloseButtonText) !== null && _m !== void 0 ? _m : DEFAULT_CLOSE_BUTTON))))) : null), ((_o = this.showClearSelection) !== null && _o !== void 0 ? _o : true) && ((_p = this._values) === null || _p === void 0 ? void 0 : _p.length) ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", noText: true, name: this._id, form: this._id, disabled: getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClearAll(event) }, this.clearSelectionText, h("db-tooltip", { placement: "top" }, this.clearSelectionText))) : null, h("span", { key: '
|
|
863
|
+
: null)))))), h("div", null, h("db-button", { variant: "ghost", width: "full", icon: "cross", size: "small", name: this._id, form: this._id, onClick: () => this.handleClose(undefined, true) }, (_m = this.mobileCloseButtonText) !== null && _m !== void 0 ? _m : DEFAULT_CLOSE_BUTTON))))) : null), ((_o = this.showClearSelection) !== null && _o !== void 0 ? _o : true) && ((_p = this._values) === null || _p === void 0 ? void 0 : _p.length) ? (h("db-button", { icon: "cross", variant: "ghost", size: "small", noText: true, name: this._id, form: this._id, disabled: getBoolean(this.disabled, "disabled"), onClick: (event) => this.handleClearAll(event) }, this.clearSelectionText, h("db-tooltip", { placement: "top" }, this.clearSelectionText))) : null, h("span", { key: '3210abcd9df6f8232346aa78def9e3bd078f35db', class: "db-custom-select-placeholder", "aria-hidden": "true", id: this._placeholderId }, (_q = this.placeholder) !== null && _q !== void 0 ? _q : this.label), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: 'a552df2b93f899230e80623e2014691e411c3b40', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: 'b29045acf1f702b90b434dc4aa9d589c0c6c57f5', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
856
864
|
}
|
|
857
865
|
static get is() { return "db-custom-select"; }
|
|
858
866
|
static get properties() {
|
|
@@ -866,7 +874,7 @@ export class DBCustomSelect {
|
|
|
866
874
|
"references": {
|
|
867
875
|
"DBCustomSelectProps": {
|
|
868
876
|
"location": "import",
|
|
869
|
-
"path": "./model",
|
|
877
|
+
"path": "./model.js",
|
|
870
878
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
871
879
|
"referenceLocation": "DBCustomSelectProps"
|
|
872
880
|
}
|
|
@@ -892,7 +900,7 @@ export class DBCustomSelect {
|
|
|
892
900
|
"references": {
|
|
893
901
|
"DBCustomSelectProps": {
|
|
894
902
|
"location": "import",
|
|
895
|
-
"path": "./model",
|
|
903
|
+
"path": "./model.js",
|
|
896
904
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
897
905
|
"referenceLocation": "DBCustomSelectProps"
|
|
898
906
|
}
|
|
@@ -918,7 +926,7 @@ export class DBCustomSelect {
|
|
|
918
926
|
"references": {
|
|
919
927
|
"DBCustomSelectProps": {
|
|
920
928
|
"location": "import",
|
|
921
|
-
"path": "./model",
|
|
929
|
+
"path": "./model.js",
|
|
922
930
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
923
931
|
"referenceLocation": "DBCustomSelectProps"
|
|
924
932
|
}
|
|
@@ -942,7 +950,7 @@ export class DBCustomSelect {
|
|
|
942
950
|
"references": {
|
|
943
951
|
"DBCustomSelectProps": {
|
|
944
952
|
"location": "import",
|
|
945
|
-
"path": "./model",
|
|
953
|
+
"path": "./model.js",
|
|
946
954
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
947
955
|
"referenceLocation": "DBCustomSelectProps"
|
|
948
956
|
}
|
|
@@ -968,7 +976,7 @@ export class DBCustomSelect {
|
|
|
968
976
|
"references": {
|
|
969
977
|
"DBCustomSelectProps": {
|
|
970
978
|
"location": "import",
|
|
971
|
-
"path": "./model",
|
|
979
|
+
"path": "./model.js",
|
|
972
980
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
973
981
|
"referenceLocation": "DBCustomSelectProps"
|
|
974
982
|
}
|
|
@@ -994,7 +1002,7 @@ export class DBCustomSelect {
|
|
|
994
1002
|
"references": {
|
|
995
1003
|
"DBCustomSelectProps": {
|
|
996
1004
|
"location": "import",
|
|
997
|
-
"path": "./model",
|
|
1005
|
+
"path": "./model.js",
|
|
998
1006
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
999
1007
|
"referenceLocation": "DBCustomSelectProps"
|
|
1000
1008
|
}
|
|
@@ -1020,7 +1028,7 @@ export class DBCustomSelect {
|
|
|
1020
1028
|
"references": {
|
|
1021
1029
|
"DBCustomSelectProps": {
|
|
1022
1030
|
"location": "import",
|
|
1023
|
-
"path": "./model",
|
|
1031
|
+
"path": "./model.js",
|
|
1024
1032
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1025
1033
|
"referenceLocation": "DBCustomSelectProps"
|
|
1026
1034
|
}
|
|
@@ -1046,7 +1054,7 @@ export class DBCustomSelect {
|
|
|
1046
1054
|
"references": {
|
|
1047
1055
|
"DBCustomSelectProps": {
|
|
1048
1056
|
"location": "import",
|
|
1049
|
-
"path": "./model",
|
|
1057
|
+
"path": "./model.js",
|
|
1050
1058
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1051
1059
|
"referenceLocation": "DBCustomSelectProps"
|
|
1052
1060
|
}
|
|
@@ -1072,7 +1080,7 @@ export class DBCustomSelect {
|
|
|
1072
1080
|
"references": {
|
|
1073
1081
|
"DBCustomSelectProps": {
|
|
1074
1082
|
"location": "import",
|
|
1075
|
-
"path": "./model",
|
|
1083
|
+
"path": "./model.js",
|
|
1076
1084
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1077
1085
|
"referenceLocation": "DBCustomSelectProps"
|
|
1078
1086
|
}
|
|
@@ -1098,7 +1106,7 @@ export class DBCustomSelect {
|
|
|
1098
1106
|
"references": {
|
|
1099
1107
|
"DBCustomSelectProps": {
|
|
1100
1108
|
"location": "import",
|
|
1101
|
-
"path": "./model",
|
|
1109
|
+
"path": "./model.js",
|
|
1102
1110
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1103
1111
|
"referenceLocation": "DBCustomSelectProps"
|
|
1104
1112
|
}
|
|
@@ -1124,7 +1132,7 @@ export class DBCustomSelect {
|
|
|
1124
1132
|
"references": {
|
|
1125
1133
|
"DBCustomSelectProps": {
|
|
1126
1134
|
"location": "import",
|
|
1127
|
-
"path": "./model",
|
|
1135
|
+
"path": "./model.js",
|
|
1128
1136
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1129
1137
|
"referenceLocation": "DBCustomSelectProps"
|
|
1130
1138
|
}
|
|
@@ -1150,7 +1158,7 @@ export class DBCustomSelect {
|
|
|
1150
1158
|
"references": {
|
|
1151
1159
|
"DBCustomSelectProps": {
|
|
1152
1160
|
"location": "import",
|
|
1153
|
-
"path": "./model",
|
|
1161
|
+
"path": "./model.js",
|
|
1154
1162
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1155
1163
|
"referenceLocation": "DBCustomSelectProps"
|
|
1156
1164
|
}
|
|
@@ -1174,7 +1182,7 @@ export class DBCustomSelect {
|
|
|
1174
1182
|
"references": {
|
|
1175
1183
|
"DBCustomSelectProps": {
|
|
1176
1184
|
"location": "import",
|
|
1177
|
-
"path": "./model",
|
|
1185
|
+
"path": "./model.js",
|
|
1178
1186
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1179
1187
|
"referenceLocation": "DBCustomSelectProps"
|
|
1180
1188
|
}
|
|
@@ -1200,7 +1208,7 @@ export class DBCustomSelect {
|
|
|
1200
1208
|
"references": {
|
|
1201
1209
|
"DBCustomSelectProps": {
|
|
1202
1210
|
"location": "import",
|
|
1203
|
-
"path": "./model",
|
|
1211
|
+
"path": "./model.js",
|
|
1204
1212
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1205
1213
|
"referenceLocation": "DBCustomSelectProps"
|
|
1206
1214
|
}
|
|
@@ -1224,7 +1232,7 @@ export class DBCustomSelect {
|
|
|
1224
1232
|
"references": {
|
|
1225
1233
|
"DBCustomSelectProps": {
|
|
1226
1234
|
"location": "import",
|
|
1227
|
-
"path": "./model",
|
|
1235
|
+
"path": "./model.js",
|
|
1228
1236
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1229
1237
|
"referenceLocation": "DBCustomSelectProps"
|
|
1230
1238
|
}
|
|
@@ -1250,7 +1258,7 @@ export class DBCustomSelect {
|
|
|
1250
1258
|
"references": {
|
|
1251
1259
|
"DBCustomSelectProps": {
|
|
1252
1260
|
"location": "import",
|
|
1253
|
-
"path": "./model",
|
|
1261
|
+
"path": "./model.js",
|
|
1254
1262
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1255
1263
|
"referenceLocation": "DBCustomSelectProps"
|
|
1256
1264
|
}
|
|
@@ -1276,7 +1284,7 @@ export class DBCustomSelect {
|
|
|
1276
1284
|
"references": {
|
|
1277
1285
|
"DBCustomSelectProps": {
|
|
1278
1286
|
"location": "import",
|
|
1279
|
-
"path": "./model",
|
|
1287
|
+
"path": "./model.js",
|
|
1280
1288
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1281
1289
|
"referenceLocation": "DBCustomSelectProps"
|
|
1282
1290
|
}
|
|
@@ -1300,7 +1308,7 @@ export class DBCustomSelect {
|
|
|
1300
1308
|
"references": {
|
|
1301
1309
|
"DBCustomSelectProps": {
|
|
1302
1310
|
"location": "import",
|
|
1303
|
-
"path": "./model",
|
|
1311
|
+
"path": "./model.js",
|
|
1304
1312
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1305
1313
|
"referenceLocation": "DBCustomSelectProps"
|
|
1306
1314
|
}
|
|
@@ -1326,7 +1334,7 @@ export class DBCustomSelect {
|
|
|
1326
1334
|
"references": {
|
|
1327
1335
|
"DBCustomSelectProps": {
|
|
1328
1336
|
"location": "import",
|
|
1329
|
-
"path": "./model",
|
|
1337
|
+
"path": "./model.js",
|
|
1330
1338
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1331
1339
|
"referenceLocation": "DBCustomSelectProps"
|
|
1332
1340
|
}
|
|
@@ -1352,7 +1360,7 @@ export class DBCustomSelect {
|
|
|
1352
1360
|
"references": {
|
|
1353
1361
|
"DBCustomSelectProps": {
|
|
1354
1362
|
"location": "import",
|
|
1355
|
-
"path": "./model",
|
|
1363
|
+
"path": "./model.js",
|
|
1356
1364
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1357
1365
|
"referenceLocation": "DBCustomSelectProps"
|
|
1358
1366
|
}
|
|
@@ -1378,7 +1386,7 @@ export class DBCustomSelect {
|
|
|
1378
1386
|
"references": {
|
|
1379
1387
|
"DBCustomSelectProps": {
|
|
1380
1388
|
"location": "import",
|
|
1381
|
-
"path": "./model",
|
|
1389
|
+
"path": "./model.js",
|
|
1382
1390
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1383
1391
|
"referenceLocation": "DBCustomSelectProps"
|
|
1384
1392
|
}
|
|
@@ -1404,7 +1412,7 @@ export class DBCustomSelect {
|
|
|
1404
1412
|
"references": {
|
|
1405
1413
|
"DBCustomSelectProps": {
|
|
1406
1414
|
"location": "import",
|
|
1407
|
-
"path": "./model",
|
|
1415
|
+
"path": "./model.js",
|
|
1408
1416
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1409
1417
|
"referenceLocation": "DBCustomSelectProps"
|
|
1410
1418
|
}
|
|
@@ -1430,7 +1438,7 @@ export class DBCustomSelect {
|
|
|
1430
1438
|
"references": {
|
|
1431
1439
|
"DBCustomSelectProps": {
|
|
1432
1440
|
"location": "import",
|
|
1433
|
-
"path": "./model",
|
|
1441
|
+
"path": "./model.js",
|
|
1434
1442
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1435
1443
|
"referenceLocation": "DBCustomSelectProps"
|
|
1436
1444
|
}
|
|
@@ -1454,7 +1462,7 @@ export class DBCustomSelect {
|
|
|
1454
1462
|
"references": {
|
|
1455
1463
|
"DBCustomSelectProps": {
|
|
1456
1464
|
"location": "import",
|
|
1457
|
-
"path": "./model",
|
|
1465
|
+
"path": "./model.js",
|
|
1458
1466
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1459
1467
|
"referenceLocation": "DBCustomSelectProps"
|
|
1460
1468
|
}
|
|
@@ -1480,7 +1488,7 @@ export class DBCustomSelect {
|
|
|
1480
1488
|
"references": {
|
|
1481
1489
|
"DBCustomSelectProps": {
|
|
1482
1490
|
"location": "import",
|
|
1483
|
-
"path": "./model",
|
|
1491
|
+
"path": "./model.js",
|
|
1484
1492
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1485
1493
|
"referenceLocation": "DBCustomSelectProps"
|
|
1486
1494
|
}
|
|
@@ -1504,7 +1512,7 @@ export class DBCustomSelect {
|
|
|
1504
1512
|
"references": {
|
|
1505
1513
|
"DBCustomSelectProps": {
|
|
1506
1514
|
"location": "import",
|
|
1507
|
-
"path": "./model",
|
|
1515
|
+
"path": "./model.js",
|
|
1508
1516
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1509
1517
|
"referenceLocation": "DBCustomSelectProps"
|
|
1510
1518
|
}
|
|
@@ -1530,7 +1538,7 @@ export class DBCustomSelect {
|
|
|
1530
1538
|
"references": {
|
|
1531
1539
|
"DBCustomSelectProps": {
|
|
1532
1540
|
"location": "import",
|
|
1533
|
-
"path": "./model",
|
|
1541
|
+
"path": "./model.js",
|
|
1534
1542
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1535
1543
|
"referenceLocation": "DBCustomSelectProps"
|
|
1536
1544
|
}
|
|
@@ -1556,7 +1564,7 @@ export class DBCustomSelect {
|
|
|
1556
1564
|
"references": {
|
|
1557
1565
|
"DBCustomSelectProps": {
|
|
1558
1566
|
"location": "import",
|
|
1559
|
-
"path": "./model",
|
|
1567
|
+
"path": "./model.js",
|
|
1560
1568
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1561
1569
|
"referenceLocation": "DBCustomSelectProps"
|
|
1562
1570
|
}
|
|
@@ -1582,7 +1590,7 @@ export class DBCustomSelect {
|
|
|
1582
1590
|
"references": {
|
|
1583
1591
|
"DBCustomSelectProps": {
|
|
1584
1592
|
"location": "import",
|
|
1585
|
-
"path": "./model",
|
|
1593
|
+
"path": "./model.js",
|
|
1586
1594
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1587
1595
|
"referenceLocation": "DBCustomSelectProps"
|
|
1588
1596
|
}
|
|
@@ -1608,7 +1616,7 @@ export class DBCustomSelect {
|
|
|
1608
1616
|
"references": {
|
|
1609
1617
|
"DBCustomSelectProps": {
|
|
1610
1618
|
"location": "import",
|
|
1611
|
-
"path": "./model",
|
|
1619
|
+
"path": "./model.js",
|
|
1612
1620
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1613
1621
|
"referenceLocation": "DBCustomSelectProps"
|
|
1614
1622
|
}
|
|
@@ -1634,7 +1642,7 @@ export class DBCustomSelect {
|
|
|
1634
1642
|
"references": {
|
|
1635
1643
|
"DBCustomSelectProps": {
|
|
1636
1644
|
"location": "import",
|
|
1637
|
-
"path": "./model",
|
|
1645
|
+
"path": "./model.js",
|
|
1638
1646
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1639
1647
|
"referenceLocation": "DBCustomSelectProps"
|
|
1640
1648
|
}
|
|
@@ -1660,7 +1668,7 @@ export class DBCustomSelect {
|
|
|
1660
1668
|
"references": {
|
|
1661
1669
|
"DBCustomSelectProps": {
|
|
1662
1670
|
"location": "import",
|
|
1663
|
-
"path": "./model",
|
|
1671
|
+
"path": "./model.js",
|
|
1664
1672
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1665
1673
|
"referenceLocation": "DBCustomSelectProps"
|
|
1666
1674
|
}
|
|
@@ -1686,7 +1694,7 @@ export class DBCustomSelect {
|
|
|
1686
1694
|
"references": {
|
|
1687
1695
|
"DBCustomSelectProps": {
|
|
1688
1696
|
"location": "import",
|
|
1689
|
-
"path": "./model",
|
|
1697
|
+
"path": "./model.js",
|
|
1690
1698
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1691
1699
|
"referenceLocation": "DBCustomSelectProps"
|
|
1692
1700
|
}
|
|
@@ -1712,7 +1720,7 @@ export class DBCustomSelect {
|
|
|
1712
1720
|
"references": {
|
|
1713
1721
|
"DBCustomSelectProps": {
|
|
1714
1722
|
"location": "import",
|
|
1715
|
-
"path": "./model",
|
|
1723
|
+
"path": "./model.js",
|
|
1716
1724
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1717
1725
|
"referenceLocation": "DBCustomSelectProps"
|
|
1718
1726
|
}
|
|
@@ -1738,7 +1746,7 @@ export class DBCustomSelect {
|
|
|
1738
1746
|
"references": {
|
|
1739
1747
|
"DBCustomSelectProps": {
|
|
1740
1748
|
"location": "import",
|
|
1741
|
-
"path": "./model",
|
|
1749
|
+
"path": "./model.js",
|
|
1742
1750
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1743
1751
|
"referenceLocation": "DBCustomSelectProps"
|
|
1744
1752
|
}
|
|
@@ -1764,7 +1772,7 @@ export class DBCustomSelect {
|
|
|
1764
1772
|
"references": {
|
|
1765
1773
|
"DBCustomSelectProps": {
|
|
1766
1774
|
"location": "import",
|
|
1767
|
-
"path": "./model",
|
|
1775
|
+
"path": "./model.js",
|
|
1768
1776
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1769
1777
|
"referenceLocation": "DBCustomSelectProps"
|
|
1770
1778
|
}
|
|
@@ -1790,7 +1798,7 @@ export class DBCustomSelect {
|
|
|
1790
1798
|
"references": {
|
|
1791
1799
|
"DBCustomSelectProps": {
|
|
1792
1800
|
"location": "import",
|
|
1793
|
-
"path": "./model",
|
|
1801
|
+
"path": "./model.js",
|
|
1794
1802
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1795
1803
|
"referenceLocation": "DBCustomSelectProps"
|
|
1796
1804
|
}
|
|
@@ -1816,7 +1824,7 @@ export class DBCustomSelect {
|
|
|
1816
1824
|
"references": {
|
|
1817
1825
|
"DBCustomSelectProps": {
|
|
1818
1826
|
"location": "import",
|
|
1819
|
-
"path": "./model",
|
|
1827
|
+
"path": "./model.js",
|
|
1820
1828
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1821
1829
|
"referenceLocation": "DBCustomSelectProps"
|
|
1822
1830
|
}
|
|
@@ -1842,7 +1850,7 @@ export class DBCustomSelect {
|
|
|
1842
1850
|
"references": {
|
|
1843
1851
|
"DBCustomSelectProps": {
|
|
1844
1852
|
"location": "import",
|
|
1845
|
-
"path": "./model",
|
|
1853
|
+
"path": "./model.js",
|
|
1846
1854
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1847
1855
|
"referenceLocation": "DBCustomSelectProps"
|
|
1848
1856
|
}
|
|
@@ -1868,7 +1876,7 @@ export class DBCustomSelect {
|
|
|
1868
1876
|
"references": {
|
|
1869
1877
|
"DBCustomSelectProps": {
|
|
1870
1878
|
"location": "import",
|
|
1871
|
-
"path": "./model",
|
|
1879
|
+
"path": "./model.js",
|
|
1872
1880
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1873
1881
|
"referenceLocation": "DBCustomSelectProps"
|
|
1874
1882
|
}
|
|
@@ -1894,7 +1902,7 @@ export class DBCustomSelect {
|
|
|
1894
1902
|
"references": {
|
|
1895
1903
|
"DBCustomSelectProps": {
|
|
1896
1904
|
"location": "import",
|
|
1897
|
-
"path": "./model",
|
|
1905
|
+
"path": "./model.js",
|
|
1898
1906
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1899
1907
|
"referenceLocation": "DBCustomSelectProps"
|
|
1900
1908
|
}
|
|
@@ -1920,7 +1928,7 @@ export class DBCustomSelect {
|
|
|
1920
1928
|
"references": {
|
|
1921
1929
|
"DBCustomSelectProps": {
|
|
1922
1930
|
"location": "import",
|
|
1923
|
-
"path": "./model",
|
|
1931
|
+
"path": "./model.js",
|
|
1924
1932
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1925
1933
|
"referenceLocation": "DBCustomSelectProps"
|
|
1926
1934
|
}
|
|
@@ -1946,7 +1954,7 @@ export class DBCustomSelect {
|
|
|
1946
1954
|
"references": {
|
|
1947
1955
|
"DBCustomSelectProps": {
|
|
1948
1956
|
"location": "import",
|
|
1949
|
-
"path": "./model",
|
|
1957
|
+
"path": "./model.js",
|
|
1950
1958
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1951
1959
|
"referenceLocation": "DBCustomSelectProps"
|
|
1952
1960
|
}
|
|
@@ -1972,7 +1980,7 @@ export class DBCustomSelect {
|
|
|
1972
1980
|
"references": {
|
|
1973
1981
|
"DBCustomSelectProps": {
|
|
1974
1982
|
"location": "import",
|
|
1975
|
-
"path": "./model",
|
|
1983
|
+
"path": "./model.js",
|
|
1976
1984
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
1977
1985
|
"referenceLocation": "DBCustomSelectProps"
|
|
1978
1986
|
}
|
|
@@ -1998,7 +2006,7 @@ export class DBCustomSelect {
|
|
|
1998
2006
|
"references": {
|
|
1999
2007
|
"DBCustomSelectProps": {
|
|
2000
2008
|
"location": "import",
|
|
2001
|
-
"path": "./model",
|
|
2009
|
+
"path": "./model.js",
|
|
2002
2010
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
2003
2011
|
"referenceLocation": "DBCustomSelectProps"
|
|
2004
2012
|
}
|
|
@@ -2024,7 +2032,7 @@ export class DBCustomSelect {
|
|
|
2024
2032
|
"references": {
|
|
2025
2033
|
"DBCustomSelectProps": {
|
|
2026
2034
|
"location": "import",
|
|
2027
|
-
"path": "./model",
|
|
2035
|
+
"path": "./model.js",
|
|
2028
2036
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
2029
2037
|
"referenceLocation": "DBCustomSelectProps"
|
|
2030
2038
|
}
|
|
@@ -2051,7 +2059,7 @@ export class DBCustomSelect {
|
|
|
2051
2059
|
"references": {
|
|
2052
2060
|
"DBCustomSelectProps": {
|
|
2053
2061
|
"location": "import",
|
|
2054
|
-
"path": "./model",
|
|
2062
|
+
"path": "./model.js",
|
|
2055
2063
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
2056
2064
|
"referenceLocation": "DBCustomSelectProps"
|
|
2057
2065
|
}
|
|
@@ -2078,7 +2086,7 @@ export class DBCustomSelect {
|
|
|
2078
2086
|
"references": {
|
|
2079
2087
|
"DBCustomSelectProps": {
|
|
2080
2088
|
"location": "import",
|
|
2081
|
-
"path": "./model",
|
|
2089
|
+
"path": "./model.js",
|
|
2082
2090
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
2083
2091
|
"referenceLocation": "DBCustomSelectProps"
|
|
2084
2092
|
}
|
|
@@ -2104,7 +2112,7 @@ export class DBCustomSelect {
|
|
|
2104
2112
|
"references": {
|
|
2105
2113
|
"DBCustomSelectProps": {
|
|
2106
2114
|
"location": "import",
|
|
2107
|
-
"path": "./model",
|
|
2115
|
+
"path": "./model.js",
|
|
2108
2116
|
"id": "src/components/custom-select/model.ts::DBCustomSelectProps",
|
|
2109
2117
|
"referenceLocation": "DBCustomSelectProps"
|
|
2110
2118
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cls } from "../../utils";
|
|
1
|
+
import { cls } from "../../utils/index.js";
|
|
2
2
|
import { h } from "@stencil/core";
|
|
3
3
|
/**
|
|
4
4
|
* @slot children - This is a default/unnamed slot
|
|
@@ -86,9 +86,9 @@ export class DBCustomSelectDropdown {
|
|
|
86
86
|
}
|
|
87
87
|
render() {
|
|
88
88
|
var _a, _b;
|
|
89
|
-
return (h("article", { key: '
|
|
89
|
+
return (h("article", { key: '7720cebaaa9128aa7f12a3720aa1374a0fd689d7', class: cls("db-custom-select-dropdown db-card", this.className), "data-spacing": "none", ref: (el) => {
|
|
90
90
|
this._ref = el;
|
|
91
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width }, h("slot", { key: '
|
|
91
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, "data-width": this.width }, h("slot", { key: '19d66fe8c4369630a1debf34e448c0f13ebe0be9' })));
|
|
92
92
|
}
|
|
93
93
|
static get is() { return "db-custom-select-dropdown"; }
|
|
94
94
|
static get properties() {
|
|
@@ -102,7 +102,7 @@ export class DBCustomSelectDropdown {
|
|
|
102
102
|
"references": {
|
|
103
103
|
"DBCustomSelectDropdownProps": {
|
|
104
104
|
"location": "import",
|
|
105
|
-
"path": "./model",
|
|
105
|
+
"path": "./model.js",
|
|
106
106
|
"id": "src/components/custom-select-dropdown/model.ts::DBCustomSelectDropdownProps",
|
|
107
107
|
"referenceLocation": "DBCustomSelectDropdownProps"
|
|
108
108
|
}
|
|
@@ -128,7 +128,7 @@ export class DBCustomSelectDropdown {
|
|
|
128
128
|
"references": {
|
|
129
129
|
"DBCustomSelectDropdownProps": {
|
|
130
130
|
"location": "import",
|
|
131
|
-
"path": "./model",
|
|
131
|
+
"path": "./model.js",
|
|
132
132
|
"id": "src/components/custom-select-dropdown/model.ts::DBCustomSelectDropdownProps",
|
|
133
133
|
"referenceLocation": "DBCustomSelectDropdownProps"
|
|
134
134
|
}
|
|
@@ -152,7 +152,7 @@ export class DBCustomSelectDropdown {
|
|
|
152
152
|
"references": {
|
|
153
153
|
"DBCustomSelectDropdownProps": {
|
|
154
154
|
"location": "import",
|
|
155
|
-
"path": "./model",
|
|
155
|
+
"path": "./model.js",
|
|
156
156
|
"id": "src/components/custom-select-dropdown/model.ts::DBCustomSelectDropdownProps",
|
|
157
157
|
"referenceLocation": "DBCustomSelectDropdownProps"
|
|
158
158
|
}
|
|
@@ -178,7 +178,7 @@ export class DBCustomSelectDropdown {
|
|
|
178
178
|
"references": {
|
|
179
179
|
"DBCustomSelectDropdownProps": {
|
|
180
180
|
"location": "import",
|
|
181
|
-
"path": "./model",
|
|
181
|
+
"path": "./model.js",
|
|
182
182
|
"id": "src/components/custom-select-dropdown/model.ts::DBCustomSelectDropdownProps",
|
|
183
183
|
"referenceLocation": "DBCustomSelectDropdownProps"
|
|
184
184
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cls } from "../../utils";
|
|
1
|
+
import { cls } from "../../utils/index.js";
|
|
2
2
|
import { h } from "@stencil/core";
|
|
3
3
|
/**
|
|
4
4
|
* @slot children - This is a default/unnamed slot
|
|
@@ -85,9 +85,9 @@ export class DBCustomSelectFormField {
|
|
|
85
85
|
}
|
|
86
86
|
render() {
|
|
87
87
|
var _a, _b;
|
|
88
|
-
return (h("summary", { key: '
|
|
88
|
+
return (h("summary", { key: '77e485f44f3ac511a95cf814b09f8460b6048fbc', class: 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 }, h("slot", { key: '
|
|
90
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("slot", { key: '382c889e2abf066105029031da4ecb0147c86607' })));
|
|
91
91
|
}
|
|
92
92
|
static get is() { return "db-custom-select-form-field"; }
|
|
93
93
|
static get properties() {
|
|
@@ -101,7 +101,7 @@ export class DBCustomSelectFormField {
|
|
|
101
101
|
"references": {
|
|
102
102
|
"DBCustomSelectFormFieldProps": {
|
|
103
103
|
"location": "import",
|
|
104
|
-
"path": "./model",
|
|
104
|
+
"path": "./model.js",
|
|
105
105
|
"id": "src/components/custom-select-form-field/model.ts::DBCustomSelectFormFieldProps",
|
|
106
106
|
"referenceLocation": "DBCustomSelectFormFieldProps"
|
|
107
107
|
}
|
|
@@ -127,7 +127,7 @@ export class DBCustomSelectFormField {
|
|
|
127
127
|
"references": {
|
|
128
128
|
"DBCustomSelectFormFieldProps": {
|
|
129
129
|
"location": "import",
|
|
130
|
-
"path": "./model",
|
|
130
|
+
"path": "./model.js",
|
|
131
131
|
"id": "src/components/custom-select-form-field/model.ts::DBCustomSelectFormFieldProps",
|
|
132
132
|
"referenceLocation": "DBCustomSelectFormFieldProps"
|
|
133
133
|
}
|
|
@@ -151,7 +151,7 @@ export class DBCustomSelectFormField {
|
|
|
151
151
|
"references": {
|
|
152
152
|
"DBCustomSelectFormFieldProps": {
|
|
153
153
|
"location": "import",
|
|
154
|
-
"path": "./model",
|
|
154
|
+
"path": "./model.js",
|
|
155
155
|
"id": "src/components/custom-select-form-field/model.ts::DBCustomSelectFormFieldProps",
|
|
156
156
|
"referenceLocation": "DBCustomSelectFormFieldProps"
|
|
157
157
|
}
|