@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,6 +1,6 @@
|
|
|
1
|
-
import { DEFAULT_INVALID_MESSAGE, DEFAULT_INVALID_MESSAGE_ID_SUFFIX, DEFAULT_MESSAGE_ID_SUFFIX, DEFAULT_VALID_MESSAGE, DEFAULT_VALID_MESSAGE_ID_SUFFIX, } from "../../shared/constants";
|
|
2
|
-
import { cls, delay, getBoolean, getHideProp, hasVoiceOver, stringPropVisible, uuid, } from "../../utils";
|
|
3
|
-
import { addCheckedResetEventListener, } from "../../utils/form-components";
|
|
1
|
+
import { DEFAULT_INVALID_MESSAGE, DEFAULT_INVALID_MESSAGE_ID_SUFFIX, DEFAULT_MESSAGE_ID_SUFFIX, DEFAULT_VALID_MESSAGE, DEFAULT_VALID_MESSAGE_ID_SUFFIX, } from "../../shared/constants.js";
|
|
2
|
+
import { cls, delay, getBoolean, getHideProp, hasVoiceOver, stringPropVisible, uuid, } from "../../utils/index.js";
|
|
3
|
+
import { addCheckedResetEventListener, } from "../../utils/form-components.js";
|
|
4
4
|
import { h } from "@stencil/core";
|
|
5
5
|
/**
|
|
6
6
|
* @slot children - This is a default/unnamed slot
|
|
@@ -247,9 +247,9 @@ export class DBCheckbox {
|
|
|
247
247
|
}
|
|
248
248
|
render() {
|
|
249
249
|
var _a;
|
|
250
|
-
return (h("div", { key: '
|
|
250
|
+
return (h("div", { key: 'b386e9507944ca665310bd874fdee124af12f071', class: cls("db-checkbox", this.className), "data-size": this.size, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-hide-label": getHideProp(this.showLabel) }, h("label", { key: 'd6963dfdb59a00f027231babd6d985681c331b99', htmlFor: this._id }, h("input", { key: '81848aef05a7288c4ae200f48be6f8614e68607f', type: "checkbox", "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, ref: (el) => {
|
|
251
251
|
this._ref = el;
|
|
252
|
-
}, id: this._id, name: this.name, checked: getBoolean(this.checked, "checked"), disabled: getBoolean(this.disabled, "disabled"), value: this.value, required: getBoolean(this.required, "required"), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), "aria-describedby": (_a = this.ariaDescribedBy) !== null && _a !== void 0 ? _a : this._descByIds }), this.label ? this.label : null, h("slot", { key: '
|
|
252
|
+
}, id: this._id, name: this.name, checked: getBoolean(this.checked, "checked"), disabled: getBoolean(this.disabled, "disabled"), value: this.value, required: getBoolean(this.required, "required"), onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), "aria-describedby": (_a = this.ariaDescribedBy) !== null && _a !== void 0 ? _a : this._descByIds }), this.label ? this.label : null, h("slot", { key: '433ec6a708da3f342f8fc745ddefbdc9c15d8b9a' })), 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: '4295a01b6f8f0a9d78f337dac875f53c45ddefa6', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '85e87a85df4ca25e535cf0c890ba943f5cfa978b', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
253
253
|
}
|
|
254
254
|
static get is() { return "db-checkbox"; }
|
|
255
255
|
static get properties() {
|
|
@@ -263,7 +263,7 @@ export class DBCheckbox {
|
|
|
263
263
|
"references": {
|
|
264
264
|
"DBCheckboxProps": {
|
|
265
265
|
"location": "import",
|
|
266
|
-
"path": "./model",
|
|
266
|
+
"path": "./model.js",
|
|
267
267
|
"id": "src/components/checkbox/model.ts::DBCheckboxProps",
|
|
268
268
|
"referenceLocation": "DBCheckboxProps"
|
|
269
269
|
}
|
|
@@ -289,7 +289,7 @@ export class DBCheckbox {
|
|
|
289
289
|
"references": {
|
|
290
290
|
"DBCheckboxProps": {
|
|
291
291
|
"location": "import",
|
|
292
|
-
"path": "./model",
|
|
292
|
+
"path": "./model.js",
|
|
293
293
|
"id": "src/components/checkbox/model.ts::DBCheckboxProps",
|
|
294
294
|
"referenceLocation": "DBCheckboxProps"
|
|
295
295
|
}
|
|
@@ -315,7 +315,7 @@ export class DBCheckbox {
|
|
|
315
315
|
"references": {
|
|
316
316
|
"DBCheckboxProps": {
|
|
317
317
|
"location": "import",
|
|
318
|
-
"path": "./model",
|
|
318
|
+
"path": "./model.js",
|
|
319
319
|
"id": "src/components/checkbox/model.ts::DBCheckboxProps",
|
|
320
320
|
"referenceLocation": "DBCheckboxProps"
|
|
321
321
|
}
|
|
@@ -339,7 +339,7 @@ export class DBCheckbox {
|
|
|
339
339
|
"references": {
|
|
340
340
|
"DBCheckboxProps": {
|
|
341
341
|
"location": "import",
|
|
342
|
-
"path": "./model",
|
|
342
|
+
"path": "./model.js",
|
|
343
343
|
"id": "src/components/checkbox/model.ts::DBCheckboxProps",
|
|
344
344
|
"referenceLocation": "DBCheckboxProps"
|
|
345
345
|
}
|
|
@@ -365,7 +365,7 @@ export class DBCheckbox {
|
|
|
365
365
|
"references": {
|
|
366
366
|
"DBCheckboxProps": {
|
|
367
367
|
"location": "import",
|
|
368
|
-
"path": "./model",
|
|
368
|
+
"path": "./model.js",
|
|
369
369
|
"id": "src/components/checkbox/model.ts::DBCheckboxProps",
|
|
370
370
|
"referenceLocation": "DBCheckboxProps"
|
|
371
371
|
}
|
|
@@ -391,7 +391,7 @@ export class DBCheckbox {
|
|
|
391
391
|
"references": {
|
|
392
392
|
"DBCheckboxProps": {
|
|
393
393
|
"location": "import",
|
|
394
|
-
"path": "./model",
|
|
394
|
+
"path": "./model.js",
|
|
395
395
|
"id": "src/components/checkbox/model.ts::DBCheckboxProps",
|
|
396
396
|
"referenceLocation": "DBCheckboxProps"
|
|
397
397
|
}
|
|
@@ -417,7 +417,7 @@ export class DBCheckbox {
|
|
|
417
417
|
"references": {
|
|
418
418
|
"DBCheckboxProps": {
|
|
419
419
|
"location": "import",
|
|
420
|
-
"path": "./model",
|
|
420
|
+
"path": "./model.js",
|
|
421
421
|
"id": "src/components/checkbox/model.ts::DBCheckboxProps",
|
|
422
422
|
"referenceLocation": "DBCheckboxProps"
|
|
423
423
|
}
|
|
@@ -443,7 +443,7 @@ export class DBCheckbox {
|
|
|
443
443
|
"references": {
|
|
444
444
|
"DBCheckboxProps": {
|
|
445
445
|
"location": "import",
|
|
446
|
-
"path": "./model",
|
|
446
|
+
"path": "./model.js",
|
|
447
447
|
"id": "src/components/checkbox/model.ts::DBCheckboxProps",
|
|
448
448
|
"referenceLocation": "DBCheckboxProps"
|
|
449
449
|
}
|
|
@@ -469,7 +469,7 @@ export class DBCheckbox {
|
|
|
469
469
|
"references": {
|
|
470
470
|
"DBCheckboxProps": {
|
|
471
471
|
"location": "import",
|
|
472
|
-
"path": "./model",
|
|
472
|
+
"path": "./model.js",
|
|
473
473
|
"id": "src/components/checkbox/model.ts::DBCheckboxProps",
|
|
474
474
|
"referenceLocation": "DBCheckboxProps"
|
|
475
475
|
}
|
|
@@ -495,7 +495,7 @@ export class DBCheckbox {
|
|
|
495
495
|
"references": {
|
|
496
496
|
"DBCheckboxProps": {
|
|
497
497
|
"location": "import",
|
|
498
|
-
"path": "./model",
|
|
498
|
+
"path": "./model.js",
|
|
499
499
|
"id": "src/components/checkbox/model.ts::DBCheckboxProps",
|
|
500
500
|
"referenceLocation": "DBCheckboxProps"
|
|
501
501
|
}
|
|
@@ -521,7 +521,7 @@ export class DBCheckbox {
|
|
|
521
521
|
"references": {
|
|
522
522
|
"DBCheckboxProps": {
|
|
523
523
|
"location": "import",
|
|
524
|
-
"path": "./model",
|
|
524
|
+
"path": "./model.js",
|
|
525
525
|
"id": "src/components/checkbox/model.ts::DBCheckboxProps",
|
|
526
526
|
"referenceLocation": "DBCheckboxProps"
|
|
527
527
|
}
|
|
@@ -547,7 +547,7 @@ export class DBCheckbox {
|
|
|
547
547
|
"references": {
|
|
548
548
|
"DBCheckboxProps": {
|
|
549
549
|
"location": "import",
|
|
550
|
-
"path": "./model",
|
|
550
|
+
"path": "./model.js",
|
|
551
551
|
"id": "src/components/checkbox/model.ts::DBCheckboxProps",
|
|
552
552
|
"referenceLocation": "DBCheckboxProps"
|
|
553
553
|
}
|
|
@@ -573,7 +573,7 @@ export class DBCheckbox {
|
|
|
573
573
|
"references": {
|
|
574
574
|
"DBCheckboxProps": {
|
|
575
575
|
"location": "import",
|
|
576
|
-
"path": "./model",
|
|
576
|
+
"path": "./model.js",
|
|
577
577
|
"id": "src/components/checkbox/model.ts::DBCheckboxProps",
|
|
578
578
|
"referenceLocation": "DBCheckboxProps"
|
|
579
579
|
}
|
|
@@ -599,7 +599,7 @@ export class DBCheckbox {
|
|
|
599
599
|
"references": {
|
|
600
600
|
"DBCheckboxProps": {
|
|
601
601
|
"location": "import",
|
|
602
|
-
"path": "./model",
|
|
602
|
+
"path": "./model.js",
|
|
603
603
|
"id": "src/components/checkbox/model.ts::DBCheckboxProps",
|
|
604
604
|
"referenceLocation": "DBCheckboxProps"
|
|
605
605
|
}
|
|
@@ -625,7 +625,7 @@ export class DBCheckbox {
|
|
|
625
625
|
"references": {
|
|
626
626
|
"DBCheckboxProps": {
|
|
627
627
|
"location": "import",
|
|
628
|
-
"path": "./model",
|
|
628
|
+
"path": "./model.js",
|
|
629
629
|
"id": "src/components/checkbox/model.ts::DBCheckboxProps",
|
|
630
630
|
"referenceLocation": "DBCheckboxProps"
|
|
631
631
|
}
|
|
@@ -651,7 +651,7 @@ export class DBCheckbox {
|
|
|
651
651
|
"references": {
|
|
652
652
|
"DBCheckboxProps": {
|
|
653
653
|
"location": "import",
|
|
654
|
-
"path": "./model",
|
|
654
|
+
"path": "./model.js",
|
|
655
655
|
"id": "src/components/checkbox/model.ts::DBCheckboxProps",
|
|
656
656
|
"referenceLocation": "DBCheckboxProps"
|
|
657
657
|
}
|
|
@@ -677,7 +677,7 @@ export class DBCheckbox {
|
|
|
677
677
|
"references": {
|
|
678
678
|
"DBCheckboxProps": {
|
|
679
679
|
"location": "import",
|
|
680
|
-
"path": "./model",
|
|
680
|
+
"path": "./model.js",
|
|
681
681
|
"id": "src/components/checkbox/model.ts::DBCheckboxProps",
|
|
682
682
|
"referenceLocation": "DBCheckboxProps"
|
|
683
683
|
}
|
|
@@ -703,7 +703,7 @@ export class DBCheckbox {
|
|
|
703
703
|
"references": {
|
|
704
704
|
"DBCheckboxProps": {
|
|
705
705
|
"location": "import",
|
|
706
|
-
"path": "./model",
|
|
706
|
+
"path": "./model.js",
|
|
707
707
|
"id": "src/components/checkbox/model.ts::DBCheckboxProps",
|
|
708
708
|
"referenceLocation": "DBCheckboxProps"
|
|
709
709
|
}
|
|
@@ -729,7 +729,7 @@ export class DBCheckbox {
|
|
|
729
729
|
"references": {
|
|
730
730
|
"DBCheckboxProps": {
|
|
731
731
|
"location": "import",
|
|
732
|
-
"path": "./model",
|
|
732
|
+
"path": "./model.js",
|
|
733
733
|
"id": "src/components/checkbox/model.ts::DBCheckboxProps",
|
|
734
734
|
"referenceLocation": "DBCheckboxProps"
|
|
735
735
|
}
|
|
@@ -755,7 +755,7 @@ export class DBCheckbox {
|
|
|
755
755
|
"references": {
|
|
756
756
|
"DBCheckboxProps": {
|
|
757
757
|
"location": "import",
|
|
758
|
-
"path": "./model",
|
|
758
|
+
"path": "./model.js",
|
|
759
759
|
"id": "src/components/checkbox/model.ts::DBCheckboxProps",
|
|
760
760
|
"referenceLocation": "DBCheckboxProps"
|
|
761
761
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cls, getBooleanAsString } from "../../utils";
|
|
1
|
+
import { cls, getBooleanAsString } from "../../utils/index.js";
|
|
2
2
|
import { h } from "@stencil/core";
|
|
3
3
|
/**
|
|
4
4
|
* @slot children - This is a default/unnamed slot
|
|
@@ -85,10 +85,10 @@ export class DBCustomButton {
|
|
|
85
85
|
}
|
|
86
86
|
render() {
|
|
87
87
|
var _a, _b, _c;
|
|
88
|
-
return (h("div", { key: '
|
|
88
|
+
return (h("div", { key: 'b1552822320b13ce54881eb3771947cf81928c06', class: 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": getBooleanAsString(this.showIconLeading, "showIconLeading") ||
|
|
91
|
-
getBooleanAsString(this.showIcon, "showIcon"), "data-icon-trailing": this.iconTrailing, "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing, "showIconTrailing"), "data-size": this.size, "data-width": this.width, "data-variant": this.variant, "data-no-text": getBooleanAsString(this.noText, "noText") }, h("slot", { key: '
|
|
91
|
+
getBooleanAsString(this.showIcon, "showIcon"), "data-icon-trailing": this.iconTrailing, "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing, "showIconTrailing"), "data-size": this.size, "data-width": this.width, "data-variant": this.variant, "data-no-text": getBooleanAsString(this.noText, "noText") }, h("slot", { key: 'eaf79ff037afc5c2d9b5683e2a2cf11e24174004' })));
|
|
92
92
|
}
|
|
93
93
|
static get is() { return "db-custom-button"; }
|
|
94
94
|
static get properties() {
|
|
@@ -102,7 +102,7 @@ export class DBCustomButton {
|
|
|
102
102
|
"references": {
|
|
103
103
|
"DBCustomButtonProps": {
|
|
104
104
|
"location": "import",
|
|
105
|
-
"path": "./model",
|
|
105
|
+
"path": "./model.js",
|
|
106
106
|
"id": "src/components/custom-button/model.ts::DBCustomButtonProps",
|
|
107
107
|
"referenceLocation": "DBCustomButtonProps"
|
|
108
108
|
}
|
|
@@ -128,7 +128,7 @@ export class DBCustomButton {
|
|
|
128
128
|
"references": {
|
|
129
129
|
"DBCustomButtonProps": {
|
|
130
130
|
"location": "import",
|
|
131
|
-
"path": "./model",
|
|
131
|
+
"path": "./model.js",
|
|
132
132
|
"id": "src/components/custom-button/model.ts::DBCustomButtonProps",
|
|
133
133
|
"referenceLocation": "DBCustomButtonProps"
|
|
134
134
|
}
|
|
@@ -152,7 +152,7 @@ export class DBCustomButton {
|
|
|
152
152
|
"references": {
|
|
153
153
|
"DBCustomButtonProps": {
|
|
154
154
|
"location": "import",
|
|
155
|
-
"path": "./model",
|
|
155
|
+
"path": "./model.js",
|
|
156
156
|
"id": "src/components/custom-button/model.ts::DBCustomButtonProps",
|
|
157
157
|
"referenceLocation": "DBCustomButtonProps"
|
|
158
158
|
}
|
|
@@ -178,7 +178,7 @@ export class DBCustomButton {
|
|
|
178
178
|
"references": {
|
|
179
179
|
"DBCustomButtonProps": {
|
|
180
180
|
"location": "import",
|
|
181
|
-
"path": "./model",
|
|
181
|
+
"path": "./model.js",
|
|
182
182
|
"id": "src/components/custom-button/model.ts::DBCustomButtonProps",
|
|
183
183
|
"referenceLocation": "DBCustomButtonProps"
|
|
184
184
|
}
|
|
@@ -204,7 +204,7 @@ export class DBCustomButton {
|
|
|
204
204
|
"references": {
|
|
205
205
|
"DBCustomButtonProps": {
|
|
206
206
|
"location": "import",
|
|
207
|
-
"path": "./model",
|
|
207
|
+
"path": "./model.js",
|
|
208
208
|
"id": "src/components/custom-button/model.ts::DBCustomButtonProps",
|
|
209
209
|
"referenceLocation": "DBCustomButtonProps"
|
|
210
210
|
}
|
|
@@ -230,7 +230,7 @@ export class DBCustomButton {
|
|
|
230
230
|
"references": {
|
|
231
231
|
"DBCustomButtonProps": {
|
|
232
232
|
"location": "import",
|
|
233
|
-
"path": "./model",
|
|
233
|
+
"path": "./model.js",
|
|
234
234
|
"id": "src/components/custom-button/model.ts::DBCustomButtonProps",
|
|
235
235
|
"referenceLocation": "DBCustomButtonProps"
|
|
236
236
|
}
|
|
@@ -256,7 +256,7 @@ export class DBCustomButton {
|
|
|
256
256
|
"references": {
|
|
257
257
|
"DBCustomButtonProps": {
|
|
258
258
|
"location": "import",
|
|
259
|
-
"path": "./model",
|
|
259
|
+
"path": "./model.js",
|
|
260
260
|
"id": "src/components/custom-button/model.ts::DBCustomButtonProps",
|
|
261
261
|
"referenceLocation": "DBCustomButtonProps"
|
|
262
262
|
}
|
|
@@ -282,7 +282,7 @@ export class DBCustomButton {
|
|
|
282
282
|
"references": {
|
|
283
283
|
"DBCustomButtonProps": {
|
|
284
284
|
"location": "import",
|
|
285
|
-
"path": "./model",
|
|
285
|
+
"path": "./model.js",
|
|
286
286
|
"id": "src/components/custom-button/model.ts::DBCustomButtonProps",
|
|
287
287
|
"referenceLocation": "DBCustomButtonProps"
|
|
288
288
|
}
|
|
@@ -308,7 +308,7 @@ export class DBCustomButton {
|
|
|
308
308
|
"references": {
|
|
309
309
|
"DBCustomButtonProps": {
|
|
310
310
|
"location": "import",
|
|
311
|
-
"path": "./model",
|
|
311
|
+
"path": "./model.js",
|
|
312
312
|
"id": "src/components/custom-button/model.ts::DBCustomButtonProps",
|
|
313
313
|
"referenceLocation": "DBCustomButtonProps"
|
|
314
314
|
}
|
|
@@ -334,7 +334,7 @@ export class DBCustomButton {
|
|
|
334
334
|
"references": {
|
|
335
335
|
"DBCustomButtonProps": {
|
|
336
336
|
"location": "import",
|
|
337
|
-
"path": "./model",
|
|
337
|
+
"path": "./model.js",
|
|
338
338
|
"id": "src/components/custom-button/model.ts::DBCustomButtonProps",
|
|
339
339
|
"referenceLocation": "DBCustomButtonProps"
|
|
340
340
|
}
|
|
@@ -360,7 +360,7 @@ export class DBCustomButton {
|
|
|
360
360
|
"references": {
|
|
361
361
|
"DBCustomButtonProps": {
|
|
362
362
|
"location": "import",
|
|
363
|
-
"path": "./model",
|
|
363
|
+
"path": "./model.js",
|
|
364
364
|
"id": "src/components/custom-button/model.ts::DBCustomButtonProps",
|
|
365
365
|
"referenceLocation": "DBCustomButtonProps"
|
|
366
366
|
}
|
|
@@ -386,7 +386,7 @@ export class DBCustomButton {
|
|
|
386
386
|
"references": {
|
|
387
387
|
"DBCustomButtonProps": {
|
|
388
388
|
"location": "import",
|
|
389
|
-
"path": "./model",
|
|
389
|
+
"path": "./model.js",
|
|
390
390
|
"id": "src/components/custom-button/model.ts::DBCustomButtonProps",
|
|
391
391
|
"referenceLocation": "DBCustomButtonProps"
|
|
392
392
|
}
|
|
@@ -412,7 +412,7 @@ export class DBCustomButton {
|
|
|
412
412
|
"references": {
|
|
413
413
|
"DBCustomButtonProps": {
|
|
414
414
|
"location": "import",
|
|
415
|
-
"path": "./model",
|
|
415
|
+
"path": "./model.js",
|
|
416
416
|
"id": "src/components/custom-button/model.ts::DBCustomButtonProps",
|
|
417
417
|
"referenceLocation": "DBCustomButtonProps"
|
|
418
418
|
}
|