@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, getBooleanAsString, 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, getBooleanAsString, 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
|
|
@@ -225,9 +225,9 @@ export class DBSwitch {
|
|
|
225
225
|
}
|
|
226
226
|
render() {
|
|
227
227
|
var _a, _b;
|
|
228
|
-
return (h("div", { key: '
|
|
228
|
+
return (h("div", { key: 'f9182aa08b0ac9a58767d5de15bada3b31850b1b', class: cls("db-switch", this.className), "data-visual-aid": getBooleanAsString(this.visualAid, "visualAid"), "data-size": this.size, "data-hide-label": getHideProp(this.showLabel), "data-variant": this.variant, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-custom-validity": this.validation }, h("label", { key: '4f27226dbe245461f2fd9bd6913db00a5b207732', htmlFor: this._id }, h("input", { key: 'b0995a9fb3246105d0769c32b16342f76e74f40c', type: "checkbox", role: "switch", id: this._id, ref: (el) => {
|
|
229
229
|
this._ref = el;
|
|
230
|
-
}, checked: getBoolean(this.checked, "checked"), value: this.value, disabled: getBoolean(this.disabled, "disabled"), "aria-invalid": this.validation === "invalid" ? "true" : undefined, "aria-describedby": this._descByIds, name: this.name, required: getBoolean(this.required, "required"), "data-aid-icon": (_a = this.iconLeading) !== null && _a !== void 0 ? _a : this.icon, "data-aid-icon-trailing": this.iconTrailing, onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), onKeyDown: (event) => this.handleKeyDown(event) }), this.label ? this.label : null, h("slot", { key: '
|
|
230
|
+
}, checked: getBoolean(this.checked, "checked"), value: this.value, disabled: getBoolean(this.disabled, "disabled"), "aria-invalid": this.validation === "invalid" ? "true" : undefined, "aria-describedby": this._descByIds, name: this.name, required: getBoolean(this.required, "required"), "data-aid-icon": (_a = this.iconLeading) !== null && _a !== void 0 ? _a : this.icon, "data-aid-icon-trailing": this.iconTrailing, onChange: (event) => this.handleChange(event), onBlur: (event) => this.handleBlur(event), onFocus: (event) => this.handleFocus(event), onKeyDown: (event) => this.handleKeyDown(event) }), this.label ? this.label : null, h("slot", { key: 'd03438513412079f745be2671d54e4ddb87c042c' })), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: "small", semantic: "adaptive", id: this._messageId, icon: this.messageIcon }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { size: "small", semantic: "successful", id: this._validMessageId }, (_b = this.validMessage) !== null && _b !== void 0 ? _b : DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '5f2f82215ffd9119b3f27f5d37c2349cecc28325', size: "small", semantic: "critical", id: this._invalidMessageId }, this._invalidMessage), h("span", { key: '27278f4285a7aa297d4e985c2710eec5e4bb45ce', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
231
231
|
}
|
|
232
232
|
static get is() { return "db-switch"; }
|
|
233
233
|
static get properties() {
|
|
@@ -241,7 +241,7 @@ export class DBSwitch {
|
|
|
241
241
|
"references": {
|
|
242
242
|
"DBSwitchProps": {
|
|
243
243
|
"location": "import",
|
|
244
|
-
"path": "./model",
|
|
244
|
+
"path": "./model.js",
|
|
245
245
|
"id": "src/components/switch/model.ts::DBSwitchProps",
|
|
246
246
|
"referenceLocation": "DBSwitchProps"
|
|
247
247
|
}
|
|
@@ -267,7 +267,7 @@ export class DBSwitch {
|
|
|
267
267
|
"references": {
|
|
268
268
|
"DBSwitchProps": {
|
|
269
269
|
"location": "import",
|
|
270
|
-
"path": "./model",
|
|
270
|
+
"path": "./model.js",
|
|
271
271
|
"id": "src/components/switch/model.ts::DBSwitchProps",
|
|
272
272
|
"referenceLocation": "DBSwitchProps"
|
|
273
273
|
}
|
|
@@ -293,7 +293,7 @@ export class DBSwitch {
|
|
|
293
293
|
"references": {
|
|
294
294
|
"DBSwitchProps": {
|
|
295
295
|
"location": "import",
|
|
296
|
-
"path": "./model",
|
|
296
|
+
"path": "./model.js",
|
|
297
297
|
"id": "src/components/switch/model.ts::DBSwitchProps",
|
|
298
298
|
"referenceLocation": "DBSwitchProps"
|
|
299
299
|
}
|
|
@@ -317,7 +317,7 @@ export class DBSwitch {
|
|
|
317
317
|
"references": {
|
|
318
318
|
"DBSwitchProps": {
|
|
319
319
|
"location": "import",
|
|
320
|
-
"path": "./model",
|
|
320
|
+
"path": "./model.js",
|
|
321
321
|
"id": "src/components/switch/model.ts::DBSwitchProps",
|
|
322
322
|
"referenceLocation": "DBSwitchProps"
|
|
323
323
|
}
|
|
@@ -343,7 +343,7 @@ export class DBSwitch {
|
|
|
343
343
|
"references": {
|
|
344
344
|
"DBSwitchProps": {
|
|
345
345
|
"location": "import",
|
|
346
|
-
"path": "./model",
|
|
346
|
+
"path": "./model.js",
|
|
347
347
|
"id": "src/components/switch/model.ts::DBSwitchProps",
|
|
348
348
|
"referenceLocation": "DBSwitchProps"
|
|
349
349
|
}
|
|
@@ -369,7 +369,7 @@ export class DBSwitch {
|
|
|
369
369
|
"references": {
|
|
370
370
|
"DBSwitchProps": {
|
|
371
371
|
"location": "import",
|
|
372
|
-
"path": "./model",
|
|
372
|
+
"path": "./model.js",
|
|
373
373
|
"id": "src/components/switch/model.ts::DBSwitchProps",
|
|
374
374
|
"referenceLocation": "DBSwitchProps"
|
|
375
375
|
}
|
|
@@ -395,7 +395,7 @@ export class DBSwitch {
|
|
|
395
395
|
"references": {
|
|
396
396
|
"DBSwitchProps": {
|
|
397
397
|
"location": "import",
|
|
398
|
-
"path": "./model",
|
|
398
|
+
"path": "./model.js",
|
|
399
399
|
"id": "src/components/switch/model.ts::DBSwitchProps",
|
|
400
400
|
"referenceLocation": "DBSwitchProps"
|
|
401
401
|
}
|
|
@@ -421,7 +421,7 @@ export class DBSwitch {
|
|
|
421
421
|
"references": {
|
|
422
422
|
"DBSwitchProps": {
|
|
423
423
|
"location": "import",
|
|
424
|
-
"path": "./model",
|
|
424
|
+
"path": "./model.js",
|
|
425
425
|
"id": "src/components/switch/model.ts::DBSwitchProps",
|
|
426
426
|
"referenceLocation": "DBSwitchProps"
|
|
427
427
|
}
|
|
@@ -447,7 +447,7 @@ export class DBSwitch {
|
|
|
447
447
|
"references": {
|
|
448
448
|
"DBSwitchProps": {
|
|
449
449
|
"location": "import",
|
|
450
|
-
"path": "./model",
|
|
450
|
+
"path": "./model.js",
|
|
451
451
|
"id": "src/components/switch/model.ts::DBSwitchProps",
|
|
452
452
|
"referenceLocation": "DBSwitchProps"
|
|
453
453
|
}
|
|
@@ -473,7 +473,7 @@ export class DBSwitch {
|
|
|
473
473
|
"references": {
|
|
474
474
|
"DBSwitchProps": {
|
|
475
475
|
"location": "import",
|
|
476
|
-
"path": "./model",
|
|
476
|
+
"path": "./model.js",
|
|
477
477
|
"id": "src/components/switch/model.ts::DBSwitchProps",
|
|
478
478
|
"referenceLocation": "DBSwitchProps"
|
|
479
479
|
}
|
|
@@ -499,7 +499,7 @@ export class DBSwitch {
|
|
|
499
499
|
"references": {
|
|
500
500
|
"DBSwitchProps": {
|
|
501
501
|
"location": "import",
|
|
502
|
-
"path": "./model",
|
|
502
|
+
"path": "./model.js",
|
|
503
503
|
"id": "src/components/switch/model.ts::DBSwitchProps",
|
|
504
504
|
"referenceLocation": "DBSwitchProps"
|
|
505
505
|
}
|
|
@@ -525,7 +525,7 @@ export class DBSwitch {
|
|
|
525
525
|
"references": {
|
|
526
526
|
"DBSwitchProps": {
|
|
527
527
|
"location": "import",
|
|
528
|
-
"path": "./model",
|
|
528
|
+
"path": "./model.js",
|
|
529
529
|
"id": "src/components/switch/model.ts::DBSwitchProps",
|
|
530
530
|
"referenceLocation": "DBSwitchProps"
|
|
531
531
|
}
|
|
@@ -551,7 +551,7 @@ export class DBSwitch {
|
|
|
551
551
|
"references": {
|
|
552
552
|
"DBSwitchProps": {
|
|
553
553
|
"location": "import",
|
|
554
|
-
"path": "./model",
|
|
554
|
+
"path": "./model.js",
|
|
555
555
|
"id": "src/components/switch/model.ts::DBSwitchProps",
|
|
556
556
|
"referenceLocation": "DBSwitchProps"
|
|
557
557
|
}
|
|
@@ -577,7 +577,7 @@ export class DBSwitch {
|
|
|
577
577
|
"references": {
|
|
578
578
|
"DBSwitchProps": {
|
|
579
579
|
"location": "import",
|
|
580
|
-
"path": "./model",
|
|
580
|
+
"path": "./model.js",
|
|
581
581
|
"id": "src/components/switch/model.ts::DBSwitchProps",
|
|
582
582
|
"referenceLocation": "DBSwitchProps"
|
|
583
583
|
}
|
|
@@ -603,7 +603,7 @@ export class DBSwitch {
|
|
|
603
603
|
"references": {
|
|
604
604
|
"DBSwitchProps": {
|
|
605
605
|
"location": "import",
|
|
606
|
-
"path": "./model",
|
|
606
|
+
"path": "./model.js",
|
|
607
607
|
"id": "src/components/switch/model.ts::DBSwitchProps",
|
|
608
608
|
"referenceLocation": "DBSwitchProps"
|
|
609
609
|
}
|
|
@@ -629,7 +629,7 @@ export class DBSwitch {
|
|
|
629
629
|
"references": {
|
|
630
630
|
"DBSwitchProps": {
|
|
631
631
|
"location": "import",
|
|
632
|
-
"path": "./model",
|
|
632
|
+
"path": "./model.js",
|
|
633
633
|
"id": "src/components/switch/model.ts::DBSwitchProps",
|
|
634
634
|
"referenceLocation": "DBSwitchProps"
|
|
635
635
|
}
|
|
@@ -655,7 +655,7 @@ export class DBSwitch {
|
|
|
655
655
|
"references": {
|
|
656
656
|
"DBSwitchProps": {
|
|
657
657
|
"location": "import",
|
|
658
|
-
"path": "./model",
|
|
658
|
+
"path": "./model.js",
|
|
659
659
|
"id": "src/components/switch/model.ts::DBSwitchProps",
|
|
660
660
|
"referenceLocation": "DBSwitchProps"
|
|
661
661
|
}
|
|
@@ -681,7 +681,7 @@ export class DBSwitch {
|
|
|
681
681
|
"references": {
|
|
682
682
|
"DBSwitchProps": {
|
|
683
683
|
"location": "import",
|
|
684
|
-
"path": "./model",
|
|
684
|
+
"path": "./model.js",
|
|
685
685
|
"id": "src/components/switch/model.ts::DBSwitchProps",
|
|
686
686
|
"referenceLocation": "DBSwitchProps"
|
|
687
687
|
}
|
|
@@ -707,7 +707,7 @@ export class DBSwitch {
|
|
|
707
707
|
"references": {
|
|
708
708
|
"DBSwitchProps": {
|
|
709
709
|
"location": "import",
|
|
710
|
-
"path": "./model",
|
|
710
|
+
"path": "./model.js",
|
|
711
711
|
"id": "src/components/switch/model.ts::DBSwitchProps",
|
|
712
712
|
"referenceLocation": "DBSwitchProps"
|
|
713
713
|
}
|
|
@@ -733,7 +733,7 @@ export class DBSwitch {
|
|
|
733
733
|
"references": {
|
|
734
734
|
"DBSwitchProps": {
|
|
735
735
|
"location": "import",
|
|
736
|
-
"path": "./model",
|
|
736
|
+
"path": "./model.js",
|
|
737
737
|
"id": "src/components/switch/model.ts::DBSwitchProps",
|
|
738
738
|
"referenceLocation": "DBSwitchProps"
|
|
739
739
|
}
|
|
@@ -759,7 +759,7 @@ export class DBSwitch {
|
|
|
759
759
|
"references": {
|
|
760
760
|
"DBSwitchProps": {
|
|
761
761
|
"location": "import",
|
|
762
|
-
"path": "./model",
|
|
762
|
+
"path": "./model.js",
|
|
763
763
|
"id": "src/components/switch/model.ts::DBSwitchProps",
|
|
764
764
|
"referenceLocation": "DBSwitchProps"
|
|
765
765
|
}
|
|
@@ -785,7 +785,7 @@ export class DBSwitch {
|
|
|
785
785
|
"references": {
|
|
786
786
|
"DBSwitchProps": {
|
|
787
787
|
"location": "import",
|
|
788
|
-
"path": "./model",
|
|
788
|
+
"path": "./model.js",
|
|
789
789
|
"id": "src/components/switch/model.ts::DBSwitchProps",
|
|
790
790
|
"referenceLocation": "DBSwitchProps"
|
|
791
791
|
}
|
|
@@ -811,7 +811,7 @@ export class DBSwitch {
|
|
|
811
811
|
"references": {
|
|
812
812
|
"DBSwitchProps": {
|
|
813
813
|
"location": "import",
|
|
814
|
-
"path": "./model",
|
|
814
|
+
"path": "./model.js",
|
|
815
815
|
"id": "src/components/switch/model.ts::DBSwitchProps",
|
|
816
816
|
"referenceLocation": "DBSwitchProps"
|
|
817
817
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cls, getBoolean, getBooleanAsString } from "../../utils";
|
|
1
|
+
import { cls, getBoolean, getBooleanAsString } from "../../utils/index.js";
|
|
2
2
|
import { h } from "@stencil/core";
|
|
3
3
|
/**
|
|
4
4
|
* @slot children - This is a default/unnamed slot
|
|
@@ -153,10 +153,10 @@ export class DBTabItem {
|
|
|
153
153
|
}
|
|
154
154
|
render() {
|
|
155
155
|
var _a, _b, _c, _d, _e;
|
|
156
|
-
return (h("li", { key: '
|
|
157
|
-
getBooleanAsString(this.showIcon, "showIcon"), "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing, "showIconTrailing"), "data-no-text": getBooleanAsString(this.noText, "noText") }, h("input", { key: '
|
|
156
|
+
return (h("li", { key: '0fdd67479f1a261fc13487237c5707c902aecdd4', class: cls("db-tab-item", this.className), role: "none" }, h("label", { key: 'a6f1a772c57e69b23302aa6eeac4c77ded476805', htmlFor: (_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-icon-trailing": this.iconTrailing, "data-show-icon": getBooleanAsString(this.showIconLeading, "showIconLeading") ||
|
|
157
|
+
getBooleanAsString(this.showIcon, "showIcon"), "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing, "showIconTrailing"), "data-no-text": getBooleanAsString(this.noText, "noText") }, h("input", { key: 'd24031946a686d3d077900a438c7a12443794a46', type: "radio", role: "tab", disabled: getBoolean(this.disabled, "disabled"), "aria-selected": this._selected, checked: getBoolean(this.checked, "checked"), ref: (el) => {
|
|
158
158
|
this._ref = el;
|
|
159
|
-
}, name: this._name, id: (_d = this.id) !== null && _d !== void 0 ? _d : (_e = this.propOverrides) === null || _e === void 0 ? void 0 : _e.id, onInput: (event) => this.handleChange(event) }), this.label ? this.label : null, h("slot", { key: '
|
|
159
|
+
}, name: this._name, id: (_d = this.id) !== null && _d !== void 0 ? _d : (_e = this.propOverrides) === null || _e === void 0 ? void 0 : _e.id, onInput: (event) => this.handleChange(event) }), this.label ? this.label : null, h("slot", { key: 'bfa4aa307ea4b8ef410f367cfbe8a4578acc377d' }))));
|
|
160
160
|
}
|
|
161
161
|
static get is() { return "db-tab-item"; }
|
|
162
162
|
static get properties() {
|
|
@@ -170,7 +170,7 @@ export class DBTabItem {
|
|
|
170
170
|
"references": {
|
|
171
171
|
"DBTabItemProps": {
|
|
172
172
|
"location": "import",
|
|
173
|
-
"path": "./model",
|
|
173
|
+
"path": "./model.js",
|
|
174
174
|
"id": "src/components/tab-item/model.ts::DBTabItemProps",
|
|
175
175
|
"referenceLocation": "DBTabItemProps"
|
|
176
176
|
}
|
|
@@ -196,7 +196,7 @@ export class DBTabItem {
|
|
|
196
196
|
"references": {
|
|
197
197
|
"DBTabItemProps": {
|
|
198
198
|
"location": "import",
|
|
199
|
-
"path": "./model",
|
|
199
|
+
"path": "./model.js",
|
|
200
200
|
"id": "src/components/tab-item/model.ts::DBTabItemProps",
|
|
201
201
|
"referenceLocation": "DBTabItemProps"
|
|
202
202
|
}
|
|
@@ -222,7 +222,7 @@ export class DBTabItem {
|
|
|
222
222
|
"references": {
|
|
223
223
|
"DBTabItemProps": {
|
|
224
224
|
"location": "import",
|
|
225
|
-
"path": "./model",
|
|
225
|
+
"path": "./model.js",
|
|
226
226
|
"id": "src/components/tab-item/model.ts::DBTabItemProps",
|
|
227
227
|
"referenceLocation": "DBTabItemProps"
|
|
228
228
|
}
|
|
@@ -248,7 +248,7 @@ export class DBTabItem {
|
|
|
248
248
|
"references": {
|
|
249
249
|
"DBTabItemProps": {
|
|
250
250
|
"location": "import",
|
|
251
|
-
"path": "./model",
|
|
251
|
+
"path": "./model.js",
|
|
252
252
|
"id": "src/components/tab-item/model.ts::DBTabItemProps",
|
|
253
253
|
"referenceLocation": "DBTabItemProps"
|
|
254
254
|
}
|
|
@@ -274,7 +274,7 @@ export class DBTabItem {
|
|
|
274
274
|
"references": {
|
|
275
275
|
"DBTabItemProps": {
|
|
276
276
|
"location": "import",
|
|
277
|
-
"path": "./model",
|
|
277
|
+
"path": "./model.js",
|
|
278
278
|
"id": "src/components/tab-item/model.ts::DBTabItemProps",
|
|
279
279
|
"referenceLocation": "DBTabItemProps"
|
|
280
280
|
}
|
|
@@ -298,7 +298,7 @@ export class DBTabItem {
|
|
|
298
298
|
"references": {
|
|
299
299
|
"DBTabItemProps": {
|
|
300
300
|
"location": "import",
|
|
301
|
-
"path": "./model",
|
|
301
|
+
"path": "./model.js",
|
|
302
302
|
"id": "src/components/tab-item/model.ts::DBTabItemProps",
|
|
303
303
|
"referenceLocation": "DBTabItemProps"
|
|
304
304
|
}
|
|
@@ -324,7 +324,7 @@ export class DBTabItem {
|
|
|
324
324
|
"references": {
|
|
325
325
|
"DBTabItemProps": {
|
|
326
326
|
"location": "import",
|
|
327
|
-
"path": "./model",
|
|
327
|
+
"path": "./model.js",
|
|
328
328
|
"id": "src/components/tab-item/model.ts::DBTabItemProps",
|
|
329
329
|
"referenceLocation": "DBTabItemProps"
|
|
330
330
|
}
|
|
@@ -350,7 +350,7 @@ export class DBTabItem {
|
|
|
350
350
|
"references": {
|
|
351
351
|
"DBTabItemProps": {
|
|
352
352
|
"location": "import",
|
|
353
|
-
"path": "./model",
|
|
353
|
+
"path": "./model.js",
|
|
354
354
|
"id": "src/components/tab-item/model.ts::DBTabItemProps",
|
|
355
355
|
"referenceLocation": "DBTabItemProps"
|
|
356
356
|
}
|
|
@@ -376,7 +376,7 @@ export class DBTabItem {
|
|
|
376
376
|
"references": {
|
|
377
377
|
"DBTabItemProps": {
|
|
378
378
|
"location": "import",
|
|
379
|
-
"path": "./model",
|
|
379
|
+
"path": "./model.js",
|
|
380
380
|
"id": "src/components/tab-item/model.ts::DBTabItemProps",
|
|
381
381
|
"referenceLocation": "DBTabItemProps"
|
|
382
382
|
}
|
|
@@ -402,7 +402,7 @@ export class DBTabItem {
|
|
|
402
402
|
"references": {
|
|
403
403
|
"DBTabItemProps": {
|
|
404
404
|
"location": "import",
|
|
405
|
-
"path": "./model",
|
|
405
|
+
"path": "./model.js",
|
|
406
406
|
"id": "src/components/tab-item/model.ts::DBTabItemProps",
|
|
407
407
|
"referenceLocation": "DBTabItemProps"
|
|
408
408
|
}
|
|
@@ -428,7 +428,7 @@ export class DBTabItem {
|
|
|
428
428
|
"references": {
|
|
429
429
|
"DBTabItemProps": {
|
|
430
430
|
"location": "import",
|
|
431
|
-
"path": "./model",
|
|
431
|
+
"path": "./model.js",
|
|
432
432
|
"id": "src/components/tab-item/model.ts::DBTabItemProps",
|
|
433
433
|
"referenceLocation": "DBTabItemProps"
|
|
434
434
|
}
|
|
@@ -454,7 +454,7 @@ export class DBTabItem {
|
|
|
454
454
|
"references": {
|
|
455
455
|
"DBTabItemProps": {
|
|
456
456
|
"location": "import",
|
|
457
|
-
"path": "./model",
|
|
457
|
+
"path": "./model.js",
|
|
458
458
|
"id": "src/components/tab-item/model.ts::DBTabItemProps",
|
|
459
459
|
"referenceLocation": "DBTabItemProps"
|
|
460
460
|
}
|
|
@@ -480,7 +480,7 @@ export class DBTabItem {
|
|
|
480
480
|
"references": {
|
|
481
481
|
"DBTabItemProps": {
|
|
482
482
|
"location": "import",
|
|
483
|
-
"path": "./model",
|
|
483
|
+
"path": "./model.js",
|
|
484
484
|
"id": "src/components/tab-item/model.ts::DBTabItemProps",
|
|
485
485
|
"referenceLocation": "DBTabItemProps"
|
|
486
486
|
}
|
|
@@ -506,7 +506,7 @@ export class DBTabItem {
|
|
|
506
506
|
"references": {
|
|
507
507
|
"DBTabItemProps": {
|
|
508
508
|
"location": "import",
|
|
509
|
-
"path": "./model",
|
|
509
|
+
"path": "./model.js",
|
|
510
510
|
"id": "src/components/tab-item/model.ts::DBTabItemProps",
|
|
511
511
|
"referenceLocation": "DBTabItemProps"
|
|
512
512
|
}
|
|
@@ -532,7 +532,7 @@ export class DBTabItem {
|
|
|
532
532
|
"references": {
|
|
533
533
|
"DBTabItemProps": {
|
|
534
534
|
"location": "import",
|
|
535
|
-
"path": "./model",
|
|
535
|
+
"path": "./model.js",
|
|
536
536
|
"id": "src/components/tab-item/model.ts::DBTabItemProps",
|
|
537
537
|
"referenceLocation": "DBTabItemProps"
|
|
538
538
|
}
|
|
@@ -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 DBTabList {
|
|
|
85
85
|
}
|
|
86
86
|
render() {
|
|
87
87
|
var _a, _b;
|
|
88
|
-
return (h("div", { key: '
|
|
88
|
+
return (h("div", { key: '29168c82cf6e0c5838d9afc3c3b475c7b5d513b1', class: cls("db-tab-list", 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("ul", { key: '
|
|
90
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, h("ul", { key: 'fee5dc804f98c62e86d56d9c941b103448ad6908', role: "tablist" }, h("slot", { key: '694a0a4de4623152cf277138dd96f0558063115f' }))));
|
|
91
91
|
}
|
|
92
92
|
static get is() { return "db-tab-list"; }
|
|
93
93
|
static get properties() {
|
|
@@ -101,7 +101,7 @@ export class DBTabList {
|
|
|
101
101
|
"references": {
|
|
102
102
|
"DBTabListProps": {
|
|
103
103
|
"location": "import",
|
|
104
|
-
"path": "./model",
|
|
104
|
+
"path": "./model.js",
|
|
105
105
|
"id": "src/components/tab-list/model.ts::DBTabListProps",
|
|
106
106
|
"referenceLocation": "DBTabListProps"
|
|
107
107
|
}
|
|
@@ -127,7 +127,7 @@ export class DBTabList {
|
|
|
127
127
|
"references": {
|
|
128
128
|
"DBTabListProps": {
|
|
129
129
|
"location": "import",
|
|
130
|
-
"path": "./model",
|
|
130
|
+
"path": "./model.js",
|
|
131
131
|
"id": "src/components/tab-list/model.ts::DBTabListProps",
|
|
132
132
|
"referenceLocation": "DBTabListProps"
|
|
133
133
|
}
|
|
@@ -151,7 +151,7 @@ export class DBTabList {
|
|
|
151
151
|
"references": {
|
|
152
152
|
"DBTabListProps": {
|
|
153
153
|
"location": "import",
|
|
154
|
-
"path": "./model",
|
|
154
|
+
"path": "./model.js",
|
|
155
155
|
"id": "src/components/tab-list/model.ts::DBTabListProps",
|
|
156
156
|
"referenceLocation": "DBTabListProps"
|
|
157
157
|
}
|
|
@@ -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
|
|
@@ -90,9 +90,9 @@ export class DBTabPanel {
|
|
|
90
90
|
}
|
|
91
91
|
render() {
|
|
92
92
|
var _a, _b;
|
|
93
|
-
return (h("section", { key: '
|
|
93
|
+
return (h("section", { key: 'a49b39a27112785e03a663c4c0ee9571e46d76fa', class: cls("db-tab-panel", this.className), role: "tabpanel", ref: (el) => {
|
|
94
94
|
this._ref = el;
|
|
95
|
-
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, this.content ? this.content : null, h("slot", { key: '
|
|
95
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id }, this.content ? this.content : null, h("slot", { key: '0c70d6a522b959af728df3fda8c16dd9a5bc6a8f' })));
|
|
96
96
|
}
|
|
97
97
|
static get is() { return "db-tab-panel"; }
|
|
98
98
|
static get properties() {
|
|
@@ -106,7 +106,7 @@ export class DBTabPanel {
|
|
|
106
106
|
"references": {
|
|
107
107
|
"DBTabPanelProps": {
|
|
108
108
|
"location": "import",
|
|
109
|
-
"path": "./model",
|
|
109
|
+
"path": "./model.js",
|
|
110
110
|
"id": "src/components/tab-panel/model.ts::DBTabPanelProps",
|
|
111
111
|
"referenceLocation": "DBTabPanelProps"
|
|
112
112
|
}
|
|
@@ -132,7 +132,7 @@ export class DBTabPanel {
|
|
|
132
132
|
"references": {
|
|
133
133
|
"DBTabPanelProps": {
|
|
134
134
|
"location": "import",
|
|
135
|
-
"path": "./model",
|
|
135
|
+
"path": "./model.js",
|
|
136
136
|
"id": "src/components/tab-panel/model.ts::DBTabPanelProps",
|
|
137
137
|
"referenceLocation": "DBTabPanelProps"
|
|
138
138
|
}
|
|
@@ -158,7 +158,7 @@ export class DBTabPanel {
|
|
|
158
158
|
"references": {
|
|
159
159
|
"DBTabPanelProps": {
|
|
160
160
|
"location": "import",
|
|
161
|
-
"path": "./model",
|
|
161
|
+
"path": "./model.js",
|
|
162
162
|
"id": "src/components/tab-panel/model.ts::DBTabPanelProps",
|
|
163
163
|
"referenceLocation": "DBTabPanelProps"
|
|
164
164
|
}
|
|
@@ -182,7 +182,7 @@ export class DBTabPanel {
|
|
|
182
182
|
"references": {
|
|
183
183
|
"DBTabPanelProps": {
|
|
184
184
|
"location": "import",
|
|
185
|
-
"path": "./model",
|
|
185
|
+
"path": "./model.js",
|
|
186
186
|
"id": "src/components/tab-panel/model.ts::DBTabPanelProps",
|
|
187
187
|
"referenceLocation": "DBTabPanelProps"
|
|
188
188
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cls, delay, getBooleanAsString } from "../../utils";
|
|
1
|
+
import { cls, delay, getBooleanAsString } from "../../utils/index.js";
|
|
2
2
|
import { h, Fragment } from "@stencil/core";
|
|
3
3
|
/**
|
|
4
4
|
* @slot children - This is a default/unnamed slot
|
|
@@ -162,7 +162,7 @@ export class DBTable {
|
|
|
162
162
|
}
|
|
163
163
|
render() {
|
|
164
164
|
var _a, _b, _c, _d, _e, _f;
|
|
165
|
-
return (h("div", { key: '
|
|
165
|
+
return (h("div", { key: '8baec1021c6c8aa2bafc4e735b81e7d149e4ca6e', class: cls("db-table", this.className), style: this._style, "data-width": this.width, "data-size": this.size, "data-divider": this.divider, "data-variant": this.variant, "data-mobile-variant": this.mobileVariant, "data-show-caption": getBooleanAsString(this.showCaption), "data-sticky-header": this.stickyHeader }, h("table", { key: '423304ec355a57e6df37c48baca039a9aabdf7b5', ref: (el) => {
|
|
166
166
|
this._ref = el;
|
|
167
167
|
}, id: this.id }, this.captionPlain ? (h("caption", null, this.captionPlain)) : (h("slot", { name: "caption" })), this._data ? (h(Fragment, null, ((_a = this._data) === null || _a === void 0 ? void 0 : _a.header) ? (h("db-table-head", { rows: (_b = this._data) === null || _b === void 0 ? void 0 : _b.header })) : null, ((_c = this._data) === null || _c === void 0 ? void 0 : _c.body) ? (h("db-table-body", { rows: (_d = this._data) === null || _d === void 0 ? void 0 : _d.body })) : null, ((_e = this._data) === null || _e === void 0 ? void 0 : _e.footer) ? (h("db-table-footer", { rows: (_f = this._data) === null || _f === void 0 ? void 0 : _f.footer })) : null)) : (h("slot", null)))));
|
|
168
168
|
}
|
|
@@ -178,7 +178,7 @@ export class DBTable {
|
|
|
178
178
|
"references": {
|
|
179
179
|
"DBTableProps": {
|
|
180
180
|
"location": "import",
|
|
181
|
-
"path": "./model",
|
|
181
|
+
"path": "./model.js",
|
|
182
182
|
"id": "src/components/table/model.ts::DBTableProps",
|
|
183
183
|
"referenceLocation": "DBTableProps"
|
|
184
184
|
}
|
|
@@ -204,7 +204,7 @@ export class DBTable {
|
|
|
204
204
|
"references": {
|
|
205
205
|
"DBTableProps": {
|
|
206
206
|
"location": "import",
|
|
207
|
-
"path": "./model",
|
|
207
|
+
"path": "./model.js",
|
|
208
208
|
"id": "src/components/table/model.ts::DBTableProps",
|
|
209
209
|
"referenceLocation": "DBTableProps"
|
|
210
210
|
}
|
|
@@ -230,7 +230,7 @@ export class DBTable {
|
|
|
230
230
|
"references": {
|
|
231
231
|
"DBTableProps": {
|
|
232
232
|
"location": "import",
|
|
233
|
-
"path": "./model",
|
|
233
|
+
"path": "./model.js",
|
|
234
234
|
"id": "src/components/table/model.ts::DBTableProps",
|
|
235
235
|
"referenceLocation": "DBTableProps"
|
|
236
236
|
}
|
|
@@ -254,7 +254,7 @@ export class DBTable {
|
|
|
254
254
|
"references": {
|
|
255
255
|
"DBTableProps": {
|
|
256
256
|
"location": "import",
|
|
257
|
-
"path": "./model",
|
|
257
|
+
"path": "./model.js",
|
|
258
258
|
"id": "src/components/table/model.ts::DBTableProps",
|
|
259
259
|
"referenceLocation": "DBTableProps"
|
|
260
260
|
}
|
|
@@ -280,7 +280,7 @@ export class DBTable {
|
|
|
280
280
|
"references": {
|
|
281
281
|
"DBTableProps": {
|
|
282
282
|
"location": "import",
|
|
283
|
-
"path": "./model",
|
|
283
|
+
"path": "./model.js",
|
|
284
284
|
"id": "src/components/table/model.ts::DBTableProps",
|
|
285
285
|
"referenceLocation": "DBTableProps"
|
|
286
286
|
}
|
|
@@ -306,7 +306,7 @@ export class DBTable {
|
|
|
306
306
|
"references": {
|
|
307
307
|
"DBTableProps": {
|
|
308
308
|
"location": "import",
|
|
309
|
-
"path": "./model",
|
|
309
|
+
"path": "./model.js",
|
|
310
310
|
"id": "src/components/table/model.ts::DBTableProps",
|
|
311
311
|
"referenceLocation": "DBTableProps"
|
|
312
312
|
}
|
|
@@ -332,7 +332,7 @@ export class DBTable {
|
|
|
332
332
|
"references": {
|
|
333
333
|
"DBTableProps": {
|
|
334
334
|
"location": "import",
|
|
335
|
-
"path": "./model",
|
|
335
|
+
"path": "./model.js",
|
|
336
336
|
"id": "src/components/table/model.ts::DBTableProps",
|
|
337
337
|
"referenceLocation": "DBTableProps"
|
|
338
338
|
}
|
|
@@ -358,7 +358,7 @@ export class DBTable {
|
|
|
358
358
|
"references": {
|
|
359
359
|
"DBTableProps": {
|
|
360
360
|
"location": "import",
|
|
361
|
-
"path": "./model",
|
|
361
|
+
"path": "./model.js",
|
|
362
362
|
"id": "src/components/table/model.ts::DBTableProps",
|
|
363
363
|
"referenceLocation": "DBTableProps"
|
|
364
364
|
}
|
|
@@ -384,7 +384,7 @@ export class DBTable {
|
|
|
384
384
|
"references": {
|
|
385
385
|
"DBTableProps": {
|
|
386
386
|
"location": "import",
|
|
387
|
-
"path": "./model",
|
|
387
|
+
"path": "./model.js",
|
|
388
388
|
"id": "src/components/table/model.ts::DBTableProps",
|
|
389
389
|
"referenceLocation": "DBTableProps"
|
|
390
390
|
}
|
|
@@ -410,7 +410,7 @@ export class DBTable {
|
|
|
410
410
|
"references": {
|
|
411
411
|
"DBTableProps": {
|
|
412
412
|
"location": "import",
|
|
413
|
-
"path": "./model",
|
|
413
|
+
"path": "./model.js",
|
|
414
414
|
"id": "src/components/table/model.ts::DBTableProps",
|
|
415
415
|
"referenceLocation": "DBTableProps"
|
|
416
416
|
}
|
|
@@ -436,7 +436,7 @@ export class DBTable {
|
|
|
436
436
|
"references": {
|
|
437
437
|
"DBTableProps": {
|
|
438
438
|
"location": "import",
|
|
439
|
-
"path": "./model",
|
|
439
|
+
"path": "./model.js",
|
|
440
440
|
"id": "src/components/table/model.ts::DBTableProps",
|
|
441
441
|
"referenceLocation": "DBTableProps"
|
|
442
442
|
}
|
|
@@ -462,7 +462,7 @@ export class DBTable {
|
|
|
462
462
|
"references": {
|
|
463
463
|
"DBTableProps": {
|
|
464
464
|
"location": "import",
|
|
465
|
-
"path": "./model",
|
|
465
|
+
"path": "./model.js",
|
|
466
466
|
"id": "src/components/table/model.ts::DBTableProps",
|
|
467
467
|
"referenceLocation": "DBTableProps"
|
|
468
468
|
}
|