@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_DATALIST_ID_SUFFIX, DEFAULT_INVALID_MESSAGE, DEFAULT_INVALID_MESSAGE_ID_SUFFIX, DEFAULT_LABEL, DEFAULT_MESSAGE_ID_SUFFIX, DEFAULT_PLACEHOLDER, DEFAULT_VALID_MESSAGE, DEFAULT_VALID_MESSAGE_ID_SUFFIX, } from "../../shared/constants";
|
|
2
|
-
import { cls, delay, getBoolean, getBooleanAsString, getHideProp, getInputValue, getNumber, getStep, hasVoiceOver, isArrayOfStrings, isIOSSafari, stringPropVisible, uuid, } from "../../utils";
|
|
3
|
-
import { addValueResetEventListener, } from "../../utils/form-components";
|
|
1
|
+
import { DEFAULT_DATALIST_ID_SUFFIX, DEFAULT_INVALID_MESSAGE, DEFAULT_INVALID_MESSAGE_ID_SUFFIX, DEFAULT_LABEL, DEFAULT_MESSAGE_ID_SUFFIX, DEFAULT_PLACEHOLDER, DEFAULT_VALID_MESSAGE, DEFAULT_VALID_MESSAGE_ID_SUFFIX, } from "../../shared/constants.js";
|
|
2
|
+
import { cls, delay, getBoolean, getBooleanAsString, getHideProp, getInputValue, getNumber, getStep, hasVoiceOver, isArrayOfStrings, isIOSSafari, stringPropVisible, uuid, } from "../../utils/index.js";
|
|
3
|
+
import { addValueResetEventListener, } from "../../utils/form-components.js";
|
|
4
4
|
import { h } from "@stencil/core";
|
|
5
5
|
/**
|
|
6
6
|
* @slot children - This is a default/unnamed slot
|
|
@@ -251,8 +251,8 @@ export class DBInput {
|
|
|
251
251
|
}
|
|
252
252
|
render() {
|
|
253
253
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
254
|
-
return (h("div", { key: '
|
|
255
|
-
getBooleanAsString(this.showIcon, "showIcon"), "data-icon": (_a = this.iconLeading) !== null && _a !== void 0 ? _a : this.icon, "data-icon-trailing": this.iconTrailing, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing, "showIconTrailing") }, h("label", { key: '
|
|
254
|
+
return (h("div", { key: 'bfe18e425b08ee3c315f9f59eb230d5ba437407a', class: cls("db-input", this.className), "data-variant": this.variant, "data-hide-label": getHideProp(this.showLabel), "data-show-icon": getBooleanAsString(this.showIconLeading, "showIconLeading") ||
|
|
255
|
+
getBooleanAsString(this.showIcon, "showIcon"), "data-icon": (_a = this.iconLeading) !== null && _a !== void 0 ? _a : this.icon, "data-icon-trailing": this.iconTrailing, "data-hide-asterisk": getHideProp(this.showRequiredAsterisk), "data-show-icon-trailing": getBooleanAsString(this.showIconTrailing, "showIconTrailing") }, h("label", { key: '0356f8c8e0cf5fe3d4da7857f75a6298fe39486b', htmlFor: this._id }, (_b = this.label) !== null && _b !== void 0 ? _b : DEFAULT_LABEL), h("input", { key: '4bd3c6406df28e017ceb6f080b06e7b4ccf2df75', "aria-invalid": this.validation === "invalid", "data-custom-validity": this.validation, "data-field-sizing": this.fieldSizing, ref: (el) => {
|
|
256
256
|
this._ref = el;
|
|
257
257
|
}, id: this._id, name: this.name, type: this.type || "text", multiple: getBoolean(this.multiple, "multiple"), accept: this.accept, placeholder: (_c = this.placeholder) !== null && _c !== void 0 ? _c : DEFAULT_PLACEHOLDER, disabled: getBoolean(this.disabled, "disabled"), required: getBoolean(this.required, "required"), step: getStep(this.step), value: (_e = (_d = this.value) !== null && _d !== void 0 ? _d : this._value) !== null && _e !== void 0 ? _e : "", maxLength: getNumber(this.maxLength, this.maxlength), minLength: getNumber(this.minLength, this.minlength), max: getInputValue(this.max, this.type), min: getInputValue(this.min, this.type), readOnly: getBoolean(this.readOnly, "readOnly") ||
|
|
258
258
|
getBoolean(this.readonly, "readonly") ||
|
|
@@ -265,7 +265,7 @@ export class DBInput {
|
|
|
265
265
|
"color",
|
|
266
266
|
].includes((_g = this.type) !== null && _g !== void 0 ? _g : "") && isIOSSafari()
|
|
267
267
|
? "textbox"
|
|
268
|
-
: undefined }), this.dataList ? (h("datalist", { id: this._dataListId }, (_h = this.getDataList()) === null || _h === void 0 ? void 0 : _h.map((option) => (h("option", { key: this._dataListId + "-option-" + option.value, value: option.value }, option.label))))) : null, h("slot", { key: '
|
|
268
|
+
: undefined }), this.dataList ? (h("datalist", { id: this._dataListId }, (_h = this.getDataList()) === null || _h === void 0 ? void 0 : _h.map((option) => (h("option", { key: this._dataListId + "-option-" + option.value, value: option.value }, option.label))))) : null, h("slot", { key: '7071e137ef966ea7ba8c0242c540ee73163e8023' }), stringPropVisible(this.message, this.showMessage) ? (h("db-infotext", { size: this.messageSize || "small", icon: this.messageIcon, id: this._messageId }, this.message)) : null, this.hasValidState() ? (h("db-infotext", { semantic: "successful", id: this._validMessageId, size: this.validMessageSize || "small" }, this.validMessage || DEFAULT_VALID_MESSAGE)) : null, h("db-infotext", { key: '221bc7dceacad6b0c4eb9cfd5747a8db71ff512d', semantic: "critical", id: this._invalidMessageId, size: this.invalidMessageSize || "small" }, this._invalidMessage), h("span", { key: '2e376dfcacc4be02eaff503d25e219fcf78ff7a8', "data-visually-hidden": "true", role: "status" }, this._voiceOverFallback)));
|
|
269
269
|
}
|
|
270
270
|
static get is() { return "db-input"; }
|
|
271
271
|
static get properties() {
|
|
@@ -279,7 +279,7 @@ export class DBInput {
|
|
|
279
279
|
"references": {
|
|
280
280
|
"DBInputProps": {
|
|
281
281
|
"location": "import",
|
|
282
|
-
"path": "./model",
|
|
282
|
+
"path": "./model.js",
|
|
283
283
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
284
284
|
"referenceLocation": "DBInputProps"
|
|
285
285
|
}
|
|
@@ -305,7 +305,7 @@ export class DBInput {
|
|
|
305
305
|
"references": {
|
|
306
306
|
"DBInputProps": {
|
|
307
307
|
"location": "import",
|
|
308
|
-
"path": "./model",
|
|
308
|
+
"path": "./model.js",
|
|
309
309
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
310
310
|
"referenceLocation": "DBInputProps"
|
|
311
311
|
}
|
|
@@ -331,7 +331,7 @@ export class DBInput {
|
|
|
331
331
|
"references": {
|
|
332
332
|
"DBInputProps": {
|
|
333
333
|
"location": "import",
|
|
334
|
-
"path": "./model",
|
|
334
|
+
"path": "./model.js",
|
|
335
335
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
336
336
|
"referenceLocation": "DBInputProps"
|
|
337
337
|
}
|
|
@@ -355,7 +355,7 @@ export class DBInput {
|
|
|
355
355
|
"references": {
|
|
356
356
|
"DBInputProps": {
|
|
357
357
|
"location": "import",
|
|
358
|
-
"path": "./model",
|
|
358
|
+
"path": "./model.js",
|
|
359
359
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
360
360
|
"referenceLocation": "DBInputProps"
|
|
361
361
|
}
|
|
@@ -381,7 +381,7 @@ export class DBInput {
|
|
|
381
381
|
"references": {
|
|
382
382
|
"DBInputProps": {
|
|
383
383
|
"location": "import",
|
|
384
|
-
"path": "./model",
|
|
384
|
+
"path": "./model.js",
|
|
385
385
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
386
386
|
"referenceLocation": "DBInputProps"
|
|
387
387
|
}
|
|
@@ -407,7 +407,7 @@ export class DBInput {
|
|
|
407
407
|
"references": {
|
|
408
408
|
"DBInputProps": {
|
|
409
409
|
"location": "import",
|
|
410
|
-
"path": "./model",
|
|
410
|
+
"path": "./model.js",
|
|
411
411
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
412
412
|
"referenceLocation": "DBInputProps"
|
|
413
413
|
}
|
|
@@ -433,7 +433,7 @@ export class DBInput {
|
|
|
433
433
|
"references": {
|
|
434
434
|
"DBInputProps": {
|
|
435
435
|
"location": "import",
|
|
436
|
-
"path": "./model",
|
|
436
|
+
"path": "./model.js",
|
|
437
437
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
438
438
|
"referenceLocation": "DBInputProps"
|
|
439
439
|
}
|
|
@@ -459,7 +459,7 @@ export class DBInput {
|
|
|
459
459
|
"references": {
|
|
460
460
|
"DBInputProps": {
|
|
461
461
|
"location": "import",
|
|
462
|
-
"path": "./model",
|
|
462
|
+
"path": "./model.js",
|
|
463
463
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
464
464
|
"referenceLocation": "DBInputProps"
|
|
465
465
|
}
|
|
@@ -485,7 +485,7 @@ export class DBInput {
|
|
|
485
485
|
"references": {
|
|
486
486
|
"DBInputProps": {
|
|
487
487
|
"location": "import",
|
|
488
|
-
"path": "./model",
|
|
488
|
+
"path": "./model.js",
|
|
489
489
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
490
490
|
"referenceLocation": "DBInputProps"
|
|
491
491
|
}
|
|
@@ -511,7 +511,7 @@ export class DBInput {
|
|
|
511
511
|
"references": {
|
|
512
512
|
"DBInputProps": {
|
|
513
513
|
"location": "import",
|
|
514
|
-
"path": "./model",
|
|
514
|
+
"path": "./model.js",
|
|
515
515
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
516
516
|
"referenceLocation": "DBInputProps"
|
|
517
517
|
}
|
|
@@ -537,7 +537,7 @@ export class DBInput {
|
|
|
537
537
|
"references": {
|
|
538
538
|
"DBInputProps": {
|
|
539
539
|
"location": "import",
|
|
540
|
-
"path": "./model",
|
|
540
|
+
"path": "./model.js",
|
|
541
541
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
542
542
|
"referenceLocation": "DBInputProps"
|
|
543
543
|
}
|
|
@@ -563,7 +563,7 @@ export class DBInput {
|
|
|
563
563
|
"references": {
|
|
564
564
|
"DBInputProps": {
|
|
565
565
|
"location": "import",
|
|
566
|
-
"path": "./model",
|
|
566
|
+
"path": "./model.js",
|
|
567
567
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
568
568
|
"referenceLocation": "DBInputProps"
|
|
569
569
|
}
|
|
@@ -589,7 +589,7 @@ export class DBInput {
|
|
|
589
589
|
"references": {
|
|
590
590
|
"DBInputProps": {
|
|
591
591
|
"location": "import",
|
|
592
|
-
"path": "./model",
|
|
592
|
+
"path": "./model.js",
|
|
593
593
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
594
594
|
"referenceLocation": "DBInputProps"
|
|
595
595
|
}
|
|
@@ -615,7 +615,7 @@ export class DBInput {
|
|
|
615
615
|
"references": {
|
|
616
616
|
"DBInputProps": {
|
|
617
617
|
"location": "import",
|
|
618
|
-
"path": "./model",
|
|
618
|
+
"path": "./model.js",
|
|
619
619
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
620
620
|
"referenceLocation": "DBInputProps"
|
|
621
621
|
}
|
|
@@ -639,7 +639,7 @@ export class DBInput {
|
|
|
639
639
|
"references": {
|
|
640
640
|
"DBInputProps": {
|
|
641
641
|
"location": "import",
|
|
642
|
-
"path": "./model",
|
|
642
|
+
"path": "./model.js",
|
|
643
643
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
644
644
|
"referenceLocation": "DBInputProps"
|
|
645
645
|
}
|
|
@@ -665,7 +665,7 @@ export class DBInput {
|
|
|
665
665
|
"references": {
|
|
666
666
|
"DBInputProps": {
|
|
667
667
|
"location": "import",
|
|
668
|
-
"path": "./model",
|
|
668
|
+
"path": "./model.js",
|
|
669
669
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
670
670
|
"referenceLocation": "DBInputProps"
|
|
671
671
|
}
|
|
@@ -691,7 +691,7 @@ export class DBInput {
|
|
|
691
691
|
"references": {
|
|
692
692
|
"DBInputProps": {
|
|
693
693
|
"location": "import",
|
|
694
|
-
"path": "./model",
|
|
694
|
+
"path": "./model.js",
|
|
695
695
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
696
696
|
"referenceLocation": "DBInputProps"
|
|
697
697
|
}
|
|
@@ -717,7 +717,7 @@ export class DBInput {
|
|
|
717
717
|
"references": {
|
|
718
718
|
"DBInputProps": {
|
|
719
719
|
"location": "import",
|
|
720
|
-
"path": "./model",
|
|
720
|
+
"path": "./model.js",
|
|
721
721
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
722
722
|
"referenceLocation": "DBInputProps"
|
|
723
723
|
}
|
|
@@ -743,7 +743,7 @@ export class DBInput {
|
|
|
743
743
|
"references": {
|
|
744
744
|
"DBInputProps": {
|
|
745
745
|
"location": "import",
|
|
746
|
-
"path": "./model",
|
|
746
|
+
"path": "./model.js",
|
|
747
747
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
748
748
|
"referenceLocation": "DBInputProps"
|
|
749
749
|
}
|
|
@@ -769,7 +769,7 @@ export class DBInput {
|
|
|
769
769
|
"references": {
|
|
770
770
|
"DBInputProps": {
|
|
771
771
|
"location": "import",
|
|
772
|
-
"path": "./model",
|
|
772
|
+
"path": "./model.js",
|
|
773
773
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
774
774
|
"referenceLocation": "DBInputProps"
|
|
775
775
|
}
|
|
@@ -795,7 +795,7 @@ export class DBInput {
|
|
|
795
795
|
"references": {
|
|
796
796
|
"DBInputProps": {
|
|
797
797
|
"location": "import",
|
|
798
|
-
"path": "./model",
|
|
798
|
+
"path": "./model.js",
|
|
799
799
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
800
800
|
"referenceLocation": "DBInputProps"
|
|
801
801
|
}
|
|
@@ -821,7 +821,7 @@ export class DBInput {
|
|
|
821
821
|
"references": {
|
|
822
822
|
"DBInputProps": {
|
|
823
823
|
"location": "import",
|
|
824
|
-
"path": "./model",
|
|
824
|
+
"path": "./model.js",
|
|
825
825
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
826
826
|
"referenceLocation": "DBInputProps"
|
|
827
827
|
}
|
|
@@ -847,7 +847,7 @@ export class DBInput {
|
|
|
847
847
|
"references": {
|
|
848
848
|
"DBInputProps": {
|
|
849
849
|
"location": "import",
|
|
850
|
-
"path": "./model",
|
|
850
|
+
"path": "./model.js",
|
|
851
851
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
852
852
|
"referenceLocation": "DBInputProps"
|
|
853
853
|
}
|
|
@@ -873,7 +873,7 @@ export class DBInput {
|
|
|
873
873
|
"references": {
|
|
874
874
|
"DBInputProps": {
|
|
875
875
|
"location": "import",
|
|
876
|
-
"path": "./model",
|
|
876
|
+
"path": "./model.js",
|
|
877
877
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
878
878
|
"referenceLocation": "DBInputProps"
|
|
879
879
|
}
|
|
@@ -899,7 +899,7 @@ export class DBInput {
|
|
|
899
899
|
"references": {
|
|
900
900
|
"DBInputProps": {
|
|
901
901
|
"location": "import",
|
|
902
|
-
"path": "./model",
|
|
902
|
+
"path": "./model.js",
|
|
903
903
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
904
904
|
"referenceLocation": "DBInputProps"
|
|
905
905
|
}
|
|
@@ -925,7 +925,7 @@ export class DBInput {
|
|
|
925
925
|
"references": {
|
|
926
926
|
"DBInputProps": {
|
|
927
927
|
"location": "import",
|
|
928
|
-
"path": "./model",
|
|
928
|
+
"path": "./model.js",
|
|
929
929
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
930
930
|
"referenceLocation": "DBInputProps"
|
|
931
931
|
}
|
|
@@ -951,7 +951,7 @@ export class DBInput {
|
|
|
951
951
|
"references": {
|
|
952
952
|
"DBInputProps": {
|
|
953
953
|
"location": "import",
|
|
954
|
-
"path": "./model",
|
|
954
|
+
"path": "./model.js",
|
|
955
955
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
956
956
|
"referenceLocation": "DBInputProps"
|
|
957
957
|
}
|
|
@@ -977,7 +977,7 @@ export class DBInput {
|
|
|
977
977
|
"references": {
|
|
978
978
|
"DBInputProps": {
|
|
979
979
|
"location": "import",
|
|
980
|
-
"path": "./model",
|
|
980
|
+
"path": "./model.js",
|
|
981
981
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
982
982
|
"referenceLocation": "DBInputProps"
|
|
983
983
|
}
|
|
@@ -1003,7 +1003,7 @@ export class DBInput {
|
|
|
1003
1003
|
"references": {
|
|
1004
1004
|
"DBInputProps": {
|
|
1005
1005
|
"location": "import",
|
|
1006
|
-
"path": "./model",
|
|
1006
|
+
"path": "./model.js",
|
|
1007
1007
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
1008
1008
|
"referenceLocation": "DBInputProps"
|
|
1009
1009
|
}
|
|
@@ -1029,7 +1029,7 @@ export class DBInput {
|
|
|
1029
1029
|
"references": {
|
|
1030
1030
|
"DBInputProps": {
|
|
1031
1031
|
"location": "import",
|
|
1032
|
-
"path": "./model",
|
|
1032
|
+
"path": "./model.js",
|
|
1033
1033
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
1034
1034
|
"referenceLocation": "DBInputProps"
|
|
1035
1035
|
}
|
|
@@ -1055,7 +1055,7 @@ export class DBInput {
|
|
|
1055
1055
|
"references": {
|
|
1056
1056
|
"DBInputProps": {
|
|
1057
1057
|
"location": "import",
|
|
1058
|
-
"path": "./model",
|
|
1058
|
+
"path": "./model.js",
|
|
1059
1059
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
1060
1060
|
"referenceLocation": "DBInputProps"
|
|
1061
1061
|
}
|
|
@@ -1081,7 +1081,7 @@ export class DBInput {
|
|
|
1081
1081
|
"references": {
|
|
1082
1082
|
"DBInputProps": {
|
|
1083
1083
|
"location": "import",
|
|
1084
|
-
"path": "./model",
|
|
1084
|
+
"path": "./model.js",
|
|
1085
1085
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
1086
1086
|
"referenceLocation": "DBInputProps"
|
|
1087
1087
|
}
|
|
@@ -1107,7 +1107,7 @@ export class DBInput {
|
|
|
1107
1107
|
"references": {
|
|
1108
1108
|
"DBInputProps": {
|
|
1109
1109
|
"location": "import",
|
|
1110
|
-
"path": "./model",
|
|
1110
|
+
"path": "./model.js",
|
|
1111
1111
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
1112
1112
|
"referenceLocation": "DBInputProps"
|
|
1113
1113
|
}
|
|
@@ -1133,7 +1133,7 @@ export class DBInput {
|
|
|
1133
1133
|
"references": {
|
|
1134
1134
|
"DBInputProps": {
|
|
1135
1135
|
"location": "import",
|
|
1136
|
-
"path": "./model",
|
|
1136
|
+
"path": "./model.js",
|
|
1137
1137
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
1138
1138
|
"referenceLocation": "DBInputProps"
|
|
1139
1139
|
}
|
|
@@ -1159,7 +1159,7 @@ export class DBInput {
|
|
|
1159
1159
|
"references": {
|
|
1160
1160
|
"DBInputProps": {
|
|
1161
1161
|
"location": "import",
|
|
1162
|
-
"path": "./model",
|
|
1162
|
+
"path": "./model.js",
|
|
1163
1163
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
1164
1164
|
"referenceLocation": "DBInputProps"
|
|
1165
1165
|
}
|
|
@@ -1185,7 +1185,7 @@ export class DBInput {
|
|
|
1185
1185
|
"references": {
|
|
1186
1186
|
"DBInputProps": {
|
|
1187
1187
|
"location": "import",
|
|
1188
|
-
"path": "./model",
|
|
1188
|
+
"path": "./model.js",
|
|
1189
1189
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
1190
1190
|
"referenceLocation": "DBInputProps"
|
|
1191
1191
|
}
|
|
@@ -1211,7 +1211,7 @@ export class DBInput {
|
|
|
1211
1211
|
"references": {
|
|
1212
1212
|
"DBInputProps": {
|
|
1213
1213
|
"location": "import",
|
|
1214
|
-
"path": "./model",
|
|
1214
|
+
"path": "./model.js",
|
|
1215
1215
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
1216
1216
|
"referenceLocation": "DBInputProps"
|
|
1217
1217
|
}
|
|
@@ -1237,7 +1237,7 @@ export class DBInput {
|
|
|
1237
1237
|
"references": {
|
|
1238
1238
|
"DBInputProps": {
|
|
1239
1239
|
"location": "import",
|
|
1240
|
-
"path": "./model",
|
|
1240
|
+
"path": "./model.js",
|
|
1241
1241
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
1242
1242
|
"referenceLocation": "DBInputProps"
|
|
1243
1243
|
}
|
|
@@ -1263,7 +1263,7 @@ export class DBInput {
|
|
|
1263
1263
|
"references": {
|
|
1264
1264
|
"DBInputProps": {
|
|
1265
1265
|
"location": "import",
|
|
1266
|
-
"path": "./model",
|
|
1266
|
+
"path": "./model.js",
|
|
1267
1267
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
1268
1268
|
"referenceLocation": "DBInputProps"
|
|
1269
1269
|
}
|
|
@@ -1289,7 +1289,7 @@ export class DBInput {
|
|
|
1289
1289
|
"references": {
|
|
1290
1290
|
"DBInputProps": {
|
|
1291
1291
|
"location": "import",
|
|
1292
|
-
"path": "./model",
|
|
1292
|
+
"path": "./model.js",
|
|
1293
1293
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
1294
1294
|
"referenceLocation": "DBInputProps"
|
|
1295
1295
|
}
|
|
@@ -1315,7 +1315,7 @@ export class DBInput {
|
|
|
1315
1315
|
"references": {
|
|
1316
1316
|
"DBInputProps": {
|
|
1317
1317
|
"location": "import",
|
|
1318
|
-
"path": "./model",
|
|
1318
|
+
"path": "./model.js",
|
|
1319
1319
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
1320
1320
|
"referenceLocation": "DBInputProps"
|
|
1321
1321
|
}
|
|
@@ -1341,7 +1341,7 @@ export class DBInput {
|
|
|
1341
1341
|
"references": {
|
|
1342
1342
|
"DBInputProps": {
|
|
1343
1343
|
"location": "import",
|
|
1344
|
-
"path": "./model",
|
|
1344
|
+
"path": "./model.js",
|
|
1345
1345
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
1346
1346
|
"referenceLocation": "DBInputProps"
|
|
1347
1347
|
}
|
|
@@ -1367,7 +1367,7 @@ export class DBInput {
|
|
|
1367
1367
|
"references": {
|
|
1368
1368
|
"DBInputProps": {
|
|
1369
1369
|
"location": "import",
|
|
1370
|
-
"path": "./model",
|
|
1370
|
+
"path": "./model.js",
|
|
1371
1371
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
1372
1372
|
"referenceLocation": "DBInputProps"
|
|
1373
1373
|
}
|
|
@@ -1393,7 +1393,7 @@ export class DBInput {
|
|
|
1393
1393
|
"references": {
|
|
1394
1394
|
"DBInputProps": {
|
|
1395
1395
|
"location": "import",
|
|
1396
|
-
"path": "./model",
|
|
1396
|
+
"path": "./model.js",
|
|
1397
1397
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
1398
1398
|
"referenceLocation": "DBInputProps"
|
|
1399
1399
|
}
|
|
@@ -1419,7 +1419,7 @@ export class DBInput {
|
|
|
1419
1419
|
"references": {
|
|
1420
1420
|
"DBInputProps": {
|
|
1421
1421
|
"location": "import",
|
|
1422
|
-
"path": "./model",
|
|
1422
|
+
"path": "./model.js",
|
|
1423
1423
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
1424
1424
|
"referenceLocation": "DBInputProps"
|
|
1425
1425
|
}
|
|
@@ -1445,7 +1445,7 @@ export class DBInput {
|
|
|
1445
1445
|
"references": {
|
|
1446
1446
|
"DBInputProps": {
|
|
1447
1447
|
"location": "import",
|
|
1448
|
-
"path": "./model",
|
|
1448
|
+
"path": "./model.js",
|
|
1449
1449
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
1450
1450
|
"referenceLocation": "DBInputProps"
|
|
1451
1451
|
}
|
|
@@ -1471,7 +1471,7 @@ export class DBInput {
|
|
|
1471
1471
|
"references": {
|
|
1472
1472
|
"DBInputProps": {
|
|
1473
1473
|
"location": "import",
|
|
1474
|
-
"path": "./model",
|
|
1474
|
+
"path": "./model.js",
|
|
1475
1475
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
1476
1476
|
"referenceLocation": "DBInputProps"
|
|
1477
1477
|
}
|
|
@@ -1497,7 +1497,7 @@ export class DBInput {
|
|
|
1497
1497
|
"references": {
|
|
1498
1498
|
"DBInputProps": {
|
|
1499
1499
|
"location": "import",
|
|
1500
|
-
"path": "./model",
|
|
1500
|
+
"path": "./model.js",
|
|
1501
1501
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
1502
1502
|
"referenceLocation": "DBInputProps"
|
|
1503
1503
|
}
|
|
@@ -1523,7 +1523,7 @@ export class DBInput {
|
|
|
1523
1523
|
"references": {
|
|
1524
1524
|
"DBInputProps": {
|
|
1525
1525
|
"location": "import",
|
|
1526
|
-
"path": "./model",
|
|
1526
|
+
"path": "./model.js",
|
|
1527
1527
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
1528
1528
|
"referenceLocation": "DBInputProps"
|
|
1529
1529
|
}
|
|
@@ -1549,7 +1549,7 @@ export class DBInput {
|
|
|
1549
1549
|
"references": {
|
|
1550
1550
|
"DBInputProps": {
|
|
1551
1551
|
"location": "import",
|
|
1552
|
-
"path": "./model",
|
|
1552
|
+
"path": "./model.js",
|
|
1553
1553
|
"id": "src/components/input/model.ts::DBInputProps",
|
|
1554
1554
|
"referenceLocation": "DBInputProps"
|
|
1555
1555
|
}
|
|
@@ -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,9 +85,9 @@ export class DBLink {
|
|
|
85
85
|
}
|
|
86
86
|
render() {
|
|
87
87
|
var _a, _b, _c, _d;
|
|
88
|
-
return (h("a", { key: '
|
|
88
|
+
return (h("a", { key: '7d627d40c68589558b3e33b1304f4c57b95203e3', class: cls("db-link", 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, href: this.href, target: this.target, rel: this.rel, role: this.role, referrerPolicy: (_c = this.referrerpolicy) !== null && _c !== void 0 ? _c : this.referrerPolicy, hrefLang: this.hreflang, "aria-disabled": getBooleanAsString(this.disabled, "disabled"), tabIndex: this.disabled ? -1 : 0, "data-size": this.size, "data-show-icon-trailing": getBooleanAsString((_d = this.showIcon) !== null && _d !== void 0 ? _d : true, "showIcon"), "data-variant": this.variant, "data-content": this.content || "internal", "data-wrap": getBooleanAsString(this.wrap, "wrap") }, this.text ? this.text : null, h("slot", { key: '
|
|
90
|
+
}, id: (_a = this.id) !== null && _a !== void 0 ? _a : (_b = this.propOverrides) === null || _b === void 0 ? void 0 : _b.id, href: this.href, target: this.target, rel: this.rel, role: this.role, referrerPolicy: (_c = this.referrerpolicy) !== null && _c !== void 0 ? _c : this.referrerPolicy, hrefLang: this.hreflang, "aria-disabled": getBooleanAsString(this.disabled, "disabled"), tabIndex: this.disabled ? -1 : 0, "data-size": this.size, "data-show-icon-trailing": getBooleanAsString((_d = this.showIcon) !== null && _d !== void 0 ? _d : true, "showIcon"), "data-variant": this.variant, "data-content": this.content || "internal", "data-wrap": getBooleanAsString(this.wrap, "wrap") }, this.text ? this.text : null, h("slot", { key: 'fc12c0b064d4c5d03347bea0f6de4ad5fcf78223' })));
|
|
91
91
|
}
|
|
92
92
|
static get is() { return "db-link"; }
|
|
93
93
|
static get properties() {
|
|
@@ -101,7 +101,7 @@ export class DBLink {
|
|
|
101
101
|
"references": {
|
|
102
102
|
"DBLinkProps": {
|
|
103
103
|
"location": "import",
|
|
104
|
-
"path": "./model",
|
|
104
|
+
"path": "./model.js",
|
|
105
105
|
"id": "src/components/link/model.ts::DBLinkProps",
|
|
106
106
|
"referenceLocation": "DBLinkProps"
|
|
107
107
|
}
|
|
@@ -127,7 +127,7 @@ export class DBLink {
|
|
|
127
127
|
"references": {
|
|
128
128
|
"DBLinkProps": {
|
|
129
129
|
"location": "import",
|
|
130
|
-
"path": "./model",
|
|
130
|
+
"path": "./model.js",
|
|
131
131
|
"id": "src/components/link/model.ts::DBLinkProps",
|
|
132
132
|
"referenceLocation": "DBLinkProps"
|
|
133
133
|
}
|
|
@@ -151,7 +151,7 @@ export class DBLink {
|
|
|
151
151
|
"references": {
|
|
152
152
|
"DBLinkProps": {
|
|
153
153
|
"location": "import",
|
|
154
|
-
"path": "./model",
|
|
154
|
+
"path": "./model.js",
|
|
155
155
|
"id": "src/components/link/model.ts::DBLinkProps",
|
|
156
156
|
"referenceLocation": "DBLinkProps"
|
|
157
157
|
}
|
|
@@ -177,7 +177,7 @@ export class DBLink {
|
|
|
177
177
|
"references": {
|
|
178
178
|
"DBLinkProps": {
|
|
179
179
|
"location": "import",
|
|
180
|
-
"path": "./model",
|
|
180
|
+
"path": "./model.js",
|
|
181
181
|
"id": "src/components/link/model.ts::DBLinkProps",
|
|
182
182
|
"referenceLocation": "DBLinkProps"
|
|
183
183
|
}
|
|
@@ -203,7 +203,7 @@ export class DBLink {
|
|
|
203
203
|
"references": {
|
|
204
204
|
"DBLinkProps": {
|
|
205
205
|
"location": "import",
|
|
206
|
-
"path": "./model",
|
|
206
|
+
"path": "./model.js",
|
|
207
207
|
"id": "src/components/link/model.ts::DBLinkProps",
|
|
208
208
|
"referenceLocation": "DBLinkProps"
|
|
209
209
|
}
|
|
@@ -229,7 +229,7 @@ export class DBLink {
|
|
|
229
229
|
"references": {
|
|
230
230
|
"DBLinkProps": {
|
|
231
231
|
"location": "import",
|
|
232
|
-
"path": "./model",
|
|
232
|
+
"path": "./model.js",
|
|
233
233
|
"id": "src/components/link/model.ts::DBLinkProps",
|
|
234
234
|
"referenceLocation": "DBLinkProps"
|
|
235
235
|
}
|
|
@@ -255,7 +255,7 @@ export class DBLink {
|
|
|
255
255
|
"references": {
|
|
256
256
|
"DBLinkProps": {
|
|
257
257
|
"location": "import",
|
|
258
|
-
"path": "./model",
|
|
258
|
+
"path": "./model.js",
|
|
259
259
|
"id": "src/components/link/model.ts::DBLinkProps",
|
|
260
260
|
"referenceLocation": "DBLinkProps"
|
|
261
261
|
}
|
|
@@ -281,7 +281,7 @@ export class DBLink {
|
|
|
281
281
|
"references": {
|
|
282
282
|
"DBLinkProps": {
|
|
283
283
|
"location": "import",
|
|
284
|
-
"path": "./model",
|
|
284
|
+
"path": "./model.js",
|
|
285
285
|
"id": "src/components/link/model.ts::DBLinkProps",
|
|
286
286
|
"referenceLocation": "DBLinkProps"
|
|
287
287
|
}
|
|
@@ -307,7 +307,7 @@ export class DBLink {
|
|
|
307
307
|
"references": {
|
|
308
308
|
"DBLinkProps": {
|
|
309
309
|
"location": "import",
|
|
310
|
-
"path": "./model",
|
|
310
|
+
"path": "./model.js",
|
|
311
311
|
"id": "src/components/link/model.ts::DBLinkProps",
|
|
312
312
|
"referenceLocation": "DBLinkProps"
|
|
313
313
|
}
|
|
@@ -333,7 +333,7 @@ export class DBLink {
|
|
|
333
333
|
"references": {
|
|
334
334
|
"DBLinkProps": {
|
|
335
335
|
"location": "import",
|
|
336
|
-
"path": "./model",
|
|
336
|
+
"path": "./model.js",
|
|
337
337
|
"id": "src/components/link/model.ts::DBLinkProps",
|
|
338
338
|
"referenceLocation": "DBLinkProps"
|
|
339
339
|
}
|
|
@@ -359,7 +359,7 @@ export class DBLink {
|
|
|
359
359
|
"references": {
|
|
360
360
|
"DBLinkProps": {
|
|
361
361
|
"location": "import",
|
|
362
|
-
"path": "./model",
|
|
362
|
+
"path": "./model.js",
|
|
363
363
|
"id": "src/components/link/model.ts::DBLinkProps",
|
|
364
364
|
"referenceLocation": "DBLinkProps"
|
|
365
365
|
}
|
|
@@ -385,7 +385,7 @@ export class DBLink {
|
|
|
385
385
|
"references": {
|
|
386
386
|
"DBLinkProps": {
|
|
387
387
|
"location": "import",
|
|
388
|
-
"path": "./model",
|
|
388
|
+
"path": "./model.js",
|
|
389
389
|
"id": "src/components/link/model.ts::DBLinkProps",
|
|
390
390
|
"referenceLocation": "DBLinkProps"
|
|
391
391
|
}
|
|
@@ -411,7 +411,7 @@ export class DBLink {
|
|
|
411
411
|
"references": {
|
|
412
412
|
"DBLinkProps": {
|
|
413
413
|
"location": "import",
|
|
414
|
-
"path": "./model",
|
|
414
|
+
"path": "./model.js",
|
|
415
415
|
"id": "src/components/link/model.ts::DBLinkProps",
|
|
416
416
|
"referenceLocation": "DBLinkProps"
|
|
417
417
|
}
|
|
@@ -437,7 +437,7 @@ export class DBLink {
|
|
|
437
437
|
"references": {
|
|
438
438
|
"DBLinkProps": {
|
|
439
439
|
"location": "import",
|
|
440
|
-
"path": "./model",
|
|
440
|
+
"path": "./model.js",
|
|
441
441
|
"id": "src/components/link/model.ts::DBLinkProps",
|
|
442
442
|
"referenceLocation": "DBLinkProps"
|
|
443
443
|
}
|
|
@@ -463,7 +463,7 @@ export class DBLink {
|
|
|
463
463
|
"references": {
|
|
464
464
|
"DBLinkProps": {
|
|
465
465
|
"location": "import",
|
|
466
|
-
"path": "./model",
|
|
466
|
+
"path": "./model.js",
|
|
467
467
|
"id": "src/components/link/model.ts::DBLinkProps",
|
|
468
468
|
"referenceLocation": "DBLinkProps"
|
|
469
469
|
}
|
|
@@ -489,7 +489,7 @@ export class DBLink {
|
|
|
489
489
|
"references": {
|
|
490
490
|
"DBLinkProps": {
|
|
491
491
|
"location": "import",
|
|
492
|
-
"path": "./model",
|
|
492
|
+
"path": "./model.js",
|
|
493
493
|
"id": "src/components/link/model.ts::DBLinkProps",
|
|
494
494
|
"referenceLocation": "DBLinkProps"
|
|
495
495
|
}
|
|
@@ -515,7 +515,7 @@ export class DBLink {
|
|
|
515
515
|
"references": {
|
|
516
516
|
"DBLinkProps": {
|
|
517
517
|
"location": "import",
|
|
518
|
-
"path": "./model",
|
|
518
|
+
"path": "./model.js",
|
|
519
519
|
"id": "src/components/link/model.ts::DBLinkProps",
|
|
520
520
|
"referenceLocation": "DBLinkProps"
|
|
521
521
|
}
|