@six-group/ui-library 0.0.0-insider.fe4db17 → 0.0.0-insider.fea784d
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/dist/cjs/animation-ZgWV0fC6.js +54 -0
- package/dist/cjs/animation-ZgWV0fC6.js.map +1 -0
- package/dist/cjs/{form-control-Ditp8yHw.js → form-control-CX8QRq9v.js} +3 -3
- package/dist/cjs/{form-control-Ditp8yHw.js.map → form-control-CX8QRq9v.js.map} +1 -1
- package/dist/cjs/{index-BKTrCUjx.js → index-C8rK7OAe.js} +3 -3
- package/dist/{esm/index-D0Go1Zjj.js.map → cjs/index-C8rK7OAe.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/six-alert.cjs.entry.js +1 -1
- package/dist/cjs/six-avatar.cjs.entry.js +3 -3
- package/dist/cjs/six-badge.cjs.entry.js +3 -3
- package/dist/cjs/six-button.cjs.entry.js +3 -3
- package/dist/cjs/six-card.cjs.entry.js +2 -2
- package/dist/cjs/six-checkbox_2.cjs.entry.js +4 -4
- package/dist/cjs/six-date.cjs.entry.js +3 -3
- package/dist/cjs/six-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/six-details.cjs.entry.js +4 -4
- package/dist/cjs/six-dialog.cjs.entry.js +16 -10
- package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/six-dialog.entry.cjs.js.map +1 -1
- package/dist/cjs/six-drawer.cjs.entry.js +16 -10
- package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/six-drawer.entry.cjs.js.map +1 -1
- package/dist/cjs/six-dropdown_2.cjs.entry.js +8 -8
- package/dist/cjs/six-error-page.cjs.entry.js +1 -1
- package/dist/cjs/six-error.cjs.entry.js +1 -1
- package/dist/cjs/six-file-list-item.cjs.entry.js +3 -3
- package/dist/cjs/six-file-list.cjs.entry.js +1 -1
- package/dist/cjs/six-file-upload.cjs.entry.js +5 -5
- package/dist/cjs/six-footer.cjs.entry.js +1 -1
- package/dist/cjs/six-group-label.cjs.entry.js +2 -2
- package/dist/cjs/six-header-dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/six-header-item.cjs.entry.js +1 -1
- package/dist/cjs/six-header-menu-button.cjs.entry.js +1 -1
- package/dist/cjs/six-header.cjs.entry.js +1 -1
- package/dist/cjs/six-icon-button.cjs.entry.js +1 -1
- package/dist/cjs/six-icon.cjs.entry.js +1 -1
- package/dist/cjs/six-input.cjs.entry.js +5 -5
- package/dist/cjs/six-item-picker.cjs.entry.js +1 -1
- package/dist/cjs/six-language-switcher.cjs.entry.js +2 -2
- package/dist/cjs/six-layout-grid.cjs.entry.js +1 -1
- package/dist/cjs/six-logo.cjs.entry.js +1 -1
- package/dist/cjs/six-main-container.cjs.entry.js +1 -1
- package/dist/cjs/six-menu-divider.cjs.entry.js +1 -1
- package/dist/cjs/six-menu-label.cjs.entry.js +1 -1
- package/dist/cjs/six-picto.cjs.entry.js +1 -1
- package/dist/cjs/six-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/six-progress-ring.cjs.entry.js +1 -1
- package/dist/cjs/six-radio.cjs.entry.js +1 -1
- package/dist/cjs/six-range.cjs.entry.js +2 -2
- package/dist/cjs/six-root.cjs.entry.js +1 -1
- package/dist/cjs/six-search-field.cjs.entry.js +2 -2
- package/dist/cjs/six-select.cjs.entry.js +8 -8
- package/dist/cjs/six-sidebar-item-group.cjs.entry.js +1 -1
- package/dist/cjs/six-sidebar-item.cjs.entry.js +1 -1
- package/dist/cjs/six-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/six-spinner.cjs.entry.js +1 -1
- package/dist/cjs/six-stage-indicator.cjs.entry.js +1 -1
- package/dist/cjs/six-switch.cjs.entry.js +2 -2
- package/dist/cjs/six-tab-group.cjs.entry.js +5 -38
- package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab-group.entry.cjs.js.map +1 -1
- package/dist/cjs/six-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/six-tab.cjs.entry.js +4 -4
- package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab.entry.cjs.js.map +1 -1
- package/dist/cjs/six-tag.cjs.entry.js +1 -1
- package/dist/cjs/six-textarea.cjs.entry.js +2 -2
- package/dist/cjs/six-tile.cjs.entry.js +1 -1
- package/dist/cjs/six-timepicker.cjs.entry.js +1 -1
- package/dist/cjs/six-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/ui-library.cjs.js +2 -2
- package/dist/cjs/ui-library.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/six-avatar/six-avatar.js +2 -2
- package/dist/collection/components/six-badge/six-badge.js +2 -2
- package/dist/collection/components/six-button/six-button.js +2 -2
- package/dist/collection/components/six-card/six-card.js +1 -1
- package/dist/collection/components/six-checkbox/six-checkbox.js +2 -2
- package/dist/collection/components/six-date/six-date.js +2 -2
- package/dist/collection/components/six-details/six-details.js +3 -3
- package/dist/collection/components/six-dialog/six-dialog.js +23 -17
- package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
- package/dist/collection/components/six-drawer/six-drawer.js +23 -17
- package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
- package/dist/collection/components/six-dropdown/six-dropdown.js +5 -5
- package/dist/collection/components/six-file-list-item/six-file-list-item.js +2 -2
- package/dist/collection/components/six-file-upload/six-file-upload.js +4 -4
- package/dist/collection/components/six-input/six-input.js +3 -3
- package/dist/collection/components/six-language-switcher/six-language-switcher.js +1 -1
- package/dist/collection/components/six-menu/six-menu.js +2 -2
- package/dist/collection/components/six-search-field/six-search-field.js +1 -1
- package/dist/collection/components/six-select/six-select.js +6 -6
- package/dist/collection/components/six-tab/six-tab.css +12 -0
- package/dist/collection/components/six-tab/six-tab.js +2 -2
- package/dist/collection/components/six-tab/six-tab.js.map +1 -1
- package/dist/collection/components/six-tab-group/six-tab-group.js +2 -2
- package/dist/collection/utils/animation.js +13 -0
- package/dist/collection/utils/animation.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-NtUDAuW7.js → p-9aUb96SZ.js} +14 -14
- package/dist/components/{p-NtUDAuW7.js.map → p-9aUb96SZ.js.map} +1 -1
- package/dist/components/{p-DV46ui1Q.js → p-BB2rei7y.js} +3 -3
- package/dist/components/{p-DV46ui1Q.js.map → p-BB2rei7y.js.map} +1 -1
- package/dist/components/{p-CpcN3YG9.js → p-BR2t7cws.js} +4 -4
- package/dist/components/{p-CpcN3YG9.js.map → p-BR2t7cws.js.map} +1 -1
- package/dist/components/{p-Mse5vRUS.js → p-BSHZAiyG.js} +3 -3
- package/dist/components/{p-Mse5vRUS.js.map → p-BSHZAiyG.js.map} +1 -1
- package/dist/components/{p-Cemjz04k.js → p-BUN8hFmL.js} +6 -6
- package/dist/components/{p-Cemjz04k.js.map → p-BUN8hFmL.js.map} +1 -1
- package/dist/components/{p-6HRX2kde.js → p-C28WDWgL.js} +6 -6
- package/dist/components/{p-6HRX2kde.js.map → p-C28WDWgL.js.map} +1 -1
- package/dist/components/{p-BPRt5Z5f.js → p-CSL17OWk.js} +9 -9
- package/dist/components/{p-BPRt5Z5f.js.map → p-CSL17OWk.js.map} +1 -1
- package/dist/components/{p-Cr6sHYme.js → p-CWKq6Dyt.js} +3 -3
- package/dist/components/{p-Cr6sHYme.js.map → p-CWKq6Dyt.js.map} +1 -1
- package/dist/components/{p-D45ehsSM.js → p-Cfyrva2T.js} +7 -7
- package/dist/components/{p-D45ehsSM.js.map → p-Cfyrva2T.js.map} +1 -1
- package/dist/components/{p-eW-dQ-wI.js → p-Cosz73fX.js} +4 -4
- package/dist/components/{p-eW-dQ-wI.js.map → p-Cosz73fX.js.map} +1 -1
- package/dist/components/{p-DT1sZALq.js → p-Cs1jspzx.js} +7 -7
- package/dist/components/{p-DT1sZALq.js.map → p-Cs1jspzx.js.map} +1 -1
- package/dist/components/{p-CYrYPnLQ.js → p-Cs6mMfx-.js} +3 -3
- package/dist/components/{p-CYrYPnLQ.js.map → p-Cs6mMfx-.js.map} +1 -1
- package/dist/components/{p-BtF2Ym6T.js → p-D512q9rn.js} +17 -4
- package/dist/components/p-D512q9rn.js.map +1 -0
- package/dist/components/{p-BmW8cpEG.js → p-DIkvCBxr.js} +3 -3
- package/dist/components/{p-BmW8cpEG.js.map → p-DIkvCBxr.js.map} +1 -1
- package/dist/components/{p-DXhOme6Y.js → p-DYlDF9Rw.js} +3 -3
- package/dist/components/{p-DXhOme6Y.js.map → p-DYlDF9Rw.js.map} +1 -1
- package/dist/components/{p-BkQKlScF.js → p-DnLdSdN5.js} +7 -7
- package/dist/components/{p-BkQKlScF.js.map → p-DnLdSdN5.js.map} +1 -1
- package/dist/components/{p-Dl9jKaw7.js → p-DsGIkEDB.js} +9 -9
- package/dist/components/{p-Dl9jKaw7.js.map → p-DsGIkEDB.js.map} +1 -1
- package/dist/components/{p-CLtU4Br-.js → p-DyYwMIDQ.js} +4 -4
- package/dist/components/{p-CLtU4Br-.js.map → p-DyYwMIDQ.js.map} +1 -1
- package/dist/components/p-SLlDVtvF.js +51 -0
- package/dist/components/p-SLlDVtvF.js.map +1 -0
- package/dist/components/six-alert.js +3 -3
- package/dist/components/six-avatar.js +4 -4
- package/dist/components/six-badge.js +3 -3
- package/dist/components/six-button.js +1 -1
- package/dist/components/six-card.js +2 -2
- package/dist/components/six-checkbox.js +1 -1
- package/dist/components/six-date.js +7 -7
- package/dist/components/six-datepicker.js +6 -6
- package/dist/components/six-details.js +1 -1
- package/dist/components/six-dialog.js +18 -12
- package/dist/components/six-dialog.js.map +1 -1
- package/dist/components/six-drawer.js +18 -12
- package/dist/components/six-drawer.js.map +1 -1
- package/dist/components/six-dropdown.js +1 -1
- package/dist/components/six-error-page.js +2 -2
- package/dist/components/six-error.js +1 -1
- package/dist/components/six-file-list-item.js +4 -4
- package/dist/components/six-file-list.js +1 -1
- package/dist/components/six-file-upload.js +8 -8
- package/dist/components/six-footer.js +1 -1
- package/dist/components/six-group-label.js +3 -3
- package/dist/components/six-header-dropdown-item.js +8 -8
- package/dist/components/six-header-item.js +1 -1
- package/dist/components/six-header-menu-button.js +3 -3
- package/dist/components/six-header.js +1 -1
- package/dist/components/six-icon-button.js +1 -1
- package/dist/components/six-icon.js +1 -1
- package/dist/components/six-input.js +1 -1
- package/dist/components/six-item-picker.js +1 -1
- package/dist/components/six-language-switcher.js +2 -2
- package/dist/components/six-layout-grid.js +1 -1
- package/dist/components/six-logo.js +1 -1
- package/dist/components/six-main-container.js +1 -1
- package/dist/components/six-menu-divider.js +1 -1
- package/dist/components/six-menu-item.js +1 -1
- package/dist/components/six-menu-label.js +1 -1
- package/dist/components/six-menu.js +1 -1
- package/dist/components/six-picto.js +1 -1
- package/dist/components/six-progress-bar.js +1 -1
- package/dist/components/six-progress-ring.js +1 -1
- package/dist/components/six-radio.js +1 -1
- package/dist/components/six-range.js +3 -3
- package/dist/components/six-root.js +3 -3
- package/dist/components/six-search-field.js +5 -5
- package/dist/components/six-select.js +18 -18
- package/dist/components/six-sidebar-item-group.js +3 -3
- package/dist/components/six-sidebar-item.js +2 -2
- package/dist/components/six-sidebar.js +1 -1
- package/dist/components/six-spinner.js +1 -1
- package/dist/components/six-stage-indicator.js +1 -1
- package/dist/components/six-switch.js +3 -3
- package/dist/components/six-tab-group.js +6 -39
- package/dist/components/six-tab-group.js.map +1 -1
- package/dist/components/six-tab-panel.js +1 -1
- package/dist/components/six-tab.js +6 -6
- package/dist/components/six-tab.js.map +1 -1
- package/dist/components/six-tag.js +4 -4
- package/dist/components/six-textarea.js +3 -3
- package/dist/components/six-tile.js +4 -4
- package/dist/components/six-timepicker.js +1 -1
- package/dist/components/six-tooltip.js +1 -1
- package/dist/components.json +1860 -325
- package/dist/esm/animation-SLlDVtvF.js +51 -0
- package/dist/esm/animation-SLlDVtvF.js.map +1 -0
- package/dist/esm/{form-control-D_uS8E6o.js → form-control-DI6V1ZhR.js} +3 -3
- package/dist/esm/{form-control-D_uS8E6o.js.map → form-control-DI6V1ZhR.js.map} +1 -1
- package/dist/esm/{index-D0Go1Zjj.js → index-JoG9I7EO.js} +3 -3
- package/dist/{cjs/index-BKTrCUjx.js.map → esm/index-JoG9I7EO.js.map} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/six-alert.entry.js +1 -1
- package/dist/esm/six-avatar.entry.js +3 -3
- package/dist/esm/six-badge.entry.js +3 -3
- package/dist/esm/six-button.entry.js +3 -3
- package/dist/esm/six-card.entry.js +2 -2
- package/dist/esm/six-checkbox_2.entry.js +4 -4
- package/dist/esm/six-date.entry.js +3 -3
- package/dist/esm/six-datepicker.entry.js +1 -1
- package/dist/esm/six-details.entry.js +4 -4
- package/dist/esm/six-dialog.entry.js +16 -10
- package/dist/esm/six-dialog.entry.js.map +1 -1
- package/dist/esm/six-drawer.entry.js +16 -10
- package/dist/esm/six-drawer.entry.js.map +1 -1
- package/dist/esm/six-dropdown_2.entry.js +8 -8
- package/dist/esm/six-error-page.entry.js +1 -1
- package/dist/esm/six-error.entry.js +1 -1
- package/dist/esm/six-file-list-item.entry.js +3 -3
- package/dist/esm/six-file-list.entry.js +1 -1
- package/dist/esm/six-file-upload.entry.js +5 -5
- package/dist/esm/six-footer.entry.js +1 -1
- package/dist/esm/six-group-label.entry.js +2 -2
- package/dist/esm/six-header-dropdown-item.entry.js +1 -1
- package/dist/esm/six-header-item.entry.js +1 -1
- package/dist/esm/six-header-menu-button.entry.js +1 -1
- package/dist/esm/six-header.entry.js +1 -1
- package/dist/esm/six-icon-button.entry.js +1 -1
- package/dist/esm/six-icon.entry.js +1 -1
- package/dist/esm/six-input.entry.js +5 -5
- package/dist/esm/six-item-picker.entry.js +1 -1
- package/dist/esm/six-language-switcher.entry.js +2 -2
- package/dist/esm/six-layout-grid.entry.js +1 -1
- package/dist/esm/six-logo.entry.js +1 -1
- package/dist/esm/six-main-container.entry.js +1 -1
- package/dist/esm/six-menu-divider.entry.js +1 -1
- package/dist/esm/six-menu-label.entry.js +1 -1
- package/dist/esm/six-picto.entry.js +1 -1
- package/dist/esm/six-progress-bar.entry.js +1 -1
- package/dist/esm/six-progress-ring.entry.js +1 -1
- package/dist/esm/six-radio.entry.js +1 -1
- package/dist/esm/six-range.entry.js +2 -2
- package/dist/esm/six-root.entry.js +1 -1
- package/dist/esm/six-search-field.entry.js +2 -2
- package/dist/esm/six-select.entry.js +8 -8
- package/dist/esm/six-sidebar-item-group.entry.js +1 -1
- package/dist/esm/six-sidebar-item.entry.js +1 -1
- package/dist/esm/six-sidebar.entry.js +1 -1
- package/dist/esm/six-spinner.entry.js +1 -1
- package/dist/esm/six-stage-indicator.entry.js +1 -1
- package/dist/esm/six-switch.entry.js +2 -2
- package/dist/esm/six-tab-group.entry.js +4 -37
- package/dist/esm/six-tab-group.entry.js.map +1 -1
- package/dist/esm/six-tab-panel.entry.js +1 -1
- package/dist/esm/six-tab.entry.js +4 -4
- package/dist/esm/six-tab.entry.js.map +1 -1
- package/dist/esm/six-tag.entry.js +1 -1
- package/dist/esm/six-textarea.entry.js +2 -2
- package/dist/esm/six-tile.entry.js +1 -1
- package/dist/esm/six-timepicker.entry.js +1 -1
- package/dist/esm/six-tooltip.entry.js +1 -1
- package/dist/esm/ui-library.js +3 -3
- package/dist/esm/ui-library.js.map +1 -1
- package/dist/types/components/six-dialog/six-dialog.d.ts +10 -2
- package/dist/types/components/six-drawer/six-drawer.d.ts +10 -2
- package/dist/types/components.d.ts +620 -6
- package/dist/types/stencil-public-runtime.d.ts +19 -0
- package/dist/types/utils/animation.d.ts +4 -0
- package/dist/ui-library/p-01243b2e.entry.js +2 -0
- package/dist/ui-library/p-01243b2e.entry.js.map +1 -0
- package/dist/ui-library/{p-79a79513.entry.js → p-09de2bda.entry.js} +2 -2
- package/dist/ui-library/{p-0ae9215f.entry.js → p-0eb90caf.entry.js} +2 -2
- package/dist/ui-library/{p-22ad5b1e.entry.js → p-14f79bfc.entry.js} +2 -2
- package/dist/ui-library/{p-baf698e1.entry.js → p-174dd242.entry.js} +2 -2
- package/dist/ui-library/{p-a1f7be27.entry.js → p-18e755bc.entry.js} +2 -2
- package/dist/ui-library/{p-6990e5ed.entry.js → p-194037e9.entry.js} +2 -2
- package/dist/ui-library/{p-81af96f2.entry.js → p-1cfa2df4.entry.js} +2 -2
- package/dist/ui-library/{p-e91aa04b.entry.js → p-22ad3353.entry.js} +2 -2
- package/dist/ui-library/{p-ba68b30c.entry.js → p-25ff87fe.entry.js} +2 -2
- package/dist/ui-library/{p-df05b23b.entry.js → p-285666de.entry.js} +2 -2
- package/dist/ui-library/{p-a534a4bc.entry.js → p-29d79fe3.entry.js} +2 -2
- package/dist/ui-library/{p-1e4d1252.entry.js → p-2a245a37.entry.js} +2 -2
- package/dist/ui-library/{p-f585a5ab.entry.js → p-2a82de6c.entry.js} +2 -2
- package/dist/ui-library/{p-5e70085d.entry.js → p-2fb16281.entry.js} +2 -2
- package/dist/ui-library/{p-695e450e.entry.js → p-31c5f8fa.entry.js} +2 -2
- package/dist/ui-library/{p-1323f2cb.entry.js → p-336610a9.entry.js} +2 -2
- package/dist/ui-library/{p-830ed202.entry.js → p-362ff192.entry.js} +2 -2
- package/dist/ui-library/{p-36a316e0.entry.js → p-371ef302.entry.js} +2 -2
- package/dist/ui-library/p-39109b96.entry.js +2 -0
- package/dist/ui-library/p-39109b96.entry.js.map +1 -0
- package/dist/ui-library/{p-b8db5638.entry.js → p-3d49deae.entry.js} +2 -2
- package/dist/ui-library/{p-5e5bd309.entry.js → p-3dc98466.entry.js} +2 -2
- package/dist/ui-library/{p-82f5b61f.entry.js → p-4152b371.entry.js} +2 -2
- package/dist/ui-library/{p-6d212bc0.entry.js → p-494546c8.entry.js} +2 -2
- package/dist/ui-library/{p-9b1c8a24.entry.js → p-4f52c56f.entry.js} +2 -2
- package/dist/ui-library/{p-d7616f27.entry.js → p-54490d28.entry.js} +2 -2
- package/dist/ui-library/p-56e172e0.entry.js +2 -0
- package/dist/ui-library/p-56e172e0.entry.js.map +1 -0
- package/dist/ui-library/{p-8fe7ecdd.entry.js → p-5b52d097.entry.js} +2 -2
- package/dist/ui-library/{p-9f0ed997.entry.js → p-65e53a1b.entry.js} +2 -2
- package/dist/ui-library/{p-ae8d75aa.entry.js → p-6607d03a.entry.js} +2 -2
- package/dist/ui-library/{p-85aacb7c.entry.js → p-6dd3f54c.entry.js} +2 -2
- package/dist/ui-library/{p-5ed5842b.entry.js → p-811ce2a0.entry.js} +2 -2
- package/dist/ui-library/p-83d5fa7c.entry.js +2 -0
- package/dist/ui-library/p-83d5fa7c.entry.js.map +1 -0
- package/dist/ui-library/{p-4a4a0751.entry.js → p-850aff56.entry.js} +2 -2
- package/dist/ui-library/{p-01306147.entry.js → p-8884a48b.entry.js} +2 -2
- package/dist/ui-library/{p-b09e3895.entry.js → p-91c195d3.entry.js} +2 -2
- package/dist/ui-library/{p-537a8953.entry.js → p-9ec79195.entry.js} +2 -2
- package/dist/ui-library/{p-IBmarOIS.js → p-Dg9366Gk.js} +2 -2
- package/dist/ui-library/{p-IBmarOIS.js.map → p-Dg9366Gk.js.map} +1 -1
- package/dist/ui-library/{p-D0Go1Zjj.js → p-JoG9I7EO.js} +1 -1
- package/dist/ui-library/{p-D0Go1Zjj.js.map → p-JoG9I7EO.js.map} +1 -1
- package/dist/ui-library/p-SLlDVtvF.js +2 -0
- package/dist/ui-library/p-SLlDVtvF.js.map +1 -0
- package/dist/ui-library/{p-73b64625.entry.js → p-a43843d6.entry.js} +2 -2
- package/dist/ui-library/{p-071ed780.entry.js → p-a4b523ed.entry.js} +2 -2
- package/dist/ui-library/{p-c2ec443c.entry.js → p-ab043a8c.entry.js} +2 -2
- package/dist/ui-library/{p-1e67ac05.entry.js → p-b37d9771.entry.js} +2 -2
- package/dist/ui-library/{p-97b78889.entry.js → p-b6244904.entry.js} +2 -2
- package/dist/ui-library/{p-243965b4.entry.js → p-c47f11e4.entry.js} +2 -2
- package/dist/ui-library/{p-f4e2ddfc.entry.js → p-c90a59fc.entry.js} +2 -2
- package/dist/ui-library/{p-f52715e8.entry.js → p-cea7f777.entry.js} +2 -2
- package/dist/ui-library/{p-868fab98.entry.js → p-d36ec323.entry.js} +2 -2
- package/dist/ui-library/{p-5ad81261.entry.js → p-dc2109d2.entry.js} +2 -2
- package/dist/ui-library/{p-0d97e592.entry.js → p-e85be7d2.entry.js} +2 -2
- package/dist/ui-library/{p-68c50fb7.entry.js → p-e92df84a.entry.js} +2 -2
- package/dist/ui-library/{p-679f1e08.entry.js → p-ea61b009.entry.js} +2 -2
- package/dist/ui-library/{p-8d60c1fd.entry.js → p-ed6625e6.entry.js} +2 -2
- package/dist/ui-library/{p-9713ecff.entry.js → p-ee980a0f.entry.js} +2 -2
- package/dist/ui-library/{p-cc44af70.entry.js → p-f4dd7b57.entry.js} +2 -2
- package/dist/ui-library/{p-84964501.entry.js → p-f6423fca.entry.js} +2 -2
- package/dist/ui-library/{p-16028bce.entry.js → p-fe7d3665.entry.js} +2 -2
- package/dist/ui-library/six-dialog.entry.esm.js.map +1 -1
- package/dist/ui-library/six-drawer.entry.esm.js.map +1 -1
- package/dist/ui-library/six-tab-group.entry.esm.js.map +1 -1
- package/dist/ui-library/six-tab.entry.esm.js.map +1 -1
- package/dist/ui-library/ui-library.esm.js +1 -1
- package/dist/ui-library/ui-library.esm.js.map +1 -1
- package/package.json +7 -8
- package/dist/components/p-BtF2Ym6T.js.map +0 -1
- package/dist/ui-library/p-0b438d5a.entry.js +0 -2
- package/dist/ui-library/p-0b438d5a.entry.js.map +0 -1
- package/dist/ui-library/p-798fb03a.entry.js +0 -2
- package/dist/ui-library/p-798fb03a.entry.js.map +0 -1
- package/dist/ui-library/p-d1bd67af.entry.js +0 -2
- package/dist/ui-library/p-d1bd67af.entry.js.map +0 -1
- package/dist/ui-library/p-f0c10d20.entry.js +0 -2
- package/dist/ui-library/p-f0c10d20.entry.js.map +0 -1
- /package/dist/ui-library/{p-79a79513.entry.js.map → p-09de2bda.entry.js.map} +0 -0
- /package/dist/ui-library/{p-0ae9215f.entry.js.map → p-0eb90caf.entry.js.map} +0 -0
- /package/dist/ui-library/{p-22ad5b1e.entry.js.map → p-14f79bfc.entry.js.map} +0 -0
- /package/dist/ui-library/{p-baf698e1.entry.js.map → p-174dd242.entry.js.map} +0 -0
- /package/dist/ui-library/{p-a1f7be27.entry.js.map → p-18e755bc.entry.js.map} +0 -0
- /package/dist/ui-library/{p-6990e5ed.entry.js.map → p-194037e9.entry.js.map} +0 -0
- /package/dist/ui-library/{p-81af96f2.entry.js.map → p-1cfa2df4.entry.js.map} +0 -0
- /package/dist/ui-library/{p-e91aa04b.entry.js.map → p-22ad3353.entry.js.map} +0 -0
- /package/dist/ui-library/{p-ba68b30c.entry.js.map → p-25ff87fe.entry.js.map} +0 -0
- /package/dist/ui-library/{p-df05b23b.entry.js.map → p-285666de.entry.js.map} +0 -0
- /package/dist/ui-library/{p-a534a4bc.entry.js.map → p-29d79fe3.entry.js.map} +0 -0
- /package/dist/ui-library/{p-1e4d1252.entry.js.map → p-2a245a37.entry.js.map} +0 -0
- /package/dist/ui-library/{p-f585a5ab.entry.js.map → p-2a82de6c.entry.js.map} +0 -0
- /package/dist/ui-library/{p-5e70085d.entry.js.map → p-2fb16281.entry.js.map} +0 -0
- /package/dist/ui-library/{p-695e450e.entry.js.map → p-31c5f8fa.entry.js.map} +0 -0
- /package/dist/ui-library/{p-1323f2cb.entry.js.map → p-336610a9.entry.js.map} +0 -0
- /package/dist/ui-library/{p-830ed202.entry.js.map → p-362ff192.entry.js.map} +0 -0
- /package/dist/ui-library/{p-36a316e0.entry.js.map → p-371ef302.entry.js.map} +0 -0
- /package/dist/ui-library/{p-b8db5638.entry.js.map → p-3d49deae.entry.js.map} +0 -0
- /package/dist/ui-library/{p-5e5bd309.entry.js.map → p-3dc98466.entry.js.map} +0 -0
- /package/dist/ui-library/{p-82f5b61f.entry.js.map → p-4152b371.entry.js.map} +0 -0
- /package/dist/ui-library/{p-6d212bc0.entry.js.map → p-494546c8.entry.js.map} +0 -0
- /package/dist/ui-library/{p-9b1c8a24.entry.js.map → p-4f52c56f.entry.js.map} +0 -0
- /package/dist/ui-library/{p-d7616f27.entry.js.map → p-54490d28.entry.js.map} +0 -0
- /package/dist/ui-library/{p-8fe7ecdd.entry.js.map → p-5b52d097.entry.js.map} +0 -0
- /package/dist/ui-library/{p-9f0ed997.entry.js.map → p-65e53a1b.entry.js.map} +0 -0
- /package/dist/ui-library/{p-ae8d75aa.entry.js.map → p-6607d03a.entry.js.map} +0 -0
- /package/dist/ui-library/{p-85aacb7c.entry.js.map → p-6dd3f54c.entry.js.map} +0 -0
- /package/dist/ui-library/{p-5ed5842b.entry.js.map → p-811ce2a0.entry.js.map} +0 -0
- /package/dist/ui-library/{p-4a4a0751.entry.js.map → p-850aff56.entry.js.map} +0 -0
- /package/dist/ui-library/{p-01306147.entry.js.map → p-8884a48b.entry.js.map} +0 -0
- /package/dist/ui-library/{p-b09e3895.entry.js.map → p-91c195d3.entry.js.map} +0 -0
- /package/dist/ui-library/{p-537a8953.entry.js.map → p-9ec79195.entry.js.map} +0 -0
- /package/dist/ui-library/{p-73b64625.entry.js.map → p-a43843d6.entry.js.map} +0 -0
- /package/dist/ui-library/{p-071ed780.entry.js.map → p-a4b523ed.entry.js.map} +0 -0
- /package/dist/ui-library/{p-c2ec443c.entry.js.map → p-ab043a8c.entry.js.map} +0 -0
- /package/dist/ui-library/{p-1e67ac05.entry.js.map → p-b37d9771.entry.js.map} +0 -0
- /package/dist/ui-library/{p-97b78889.entry.js.map → p-b6244904.entry.js.map} +0 -0
- /package/dist/ui-library/{p-243965b4.entry.js.map → p-c47f11e4.entry.js.map} +0 -0
- /package/dist/ui-library/{p-f4e2ddfc.entry.js.map → p-c90a59fc.entry.js.map} +0 -0
- /package/dist/ui-library/{p-f52715e8.entry.js.map → p-cea7f777.entry.js.map} +0 -0
- /package/dist/ui-library/{p-868fab98.entry.js.map → p-d36ec323.entry.js.map} +0 -0
- /package/dist/ui-library/{p-5ad81261.entry.js.map → p-dc2109d2.entry.js.map} +0 -0
- /package/dist/ui-library/{p-0d97e592.entry.js.map → p-e85be7d2.entry.js.map} +0 -0
- /package/dist/ui-library/{p-68c50fb7.entry.js.map → p-e92df84a.entry.js.map} +0 -0
- /package/dist/ui-library/{p-679f1e08.entry.js.map → p-ea61b009.entry.js.map} +0 -0
- /package/dist/ui-library/{p-8d60c1fd.entry.js.map → p-ed6625e6.entry.js.map} +0 -0
- /package/dist/ui-library/{p-9713ecff.entry.js.map → p-ee980a0f.entry.js.map} +0 -0
- /package/dist/ui-library/{p-cc44af70.entry.js.map → p-f4dd7b57.entry.js.map} +0 -0
- /package/dist/ui-library/{p-84964501.entry.js.map → p-f6423fca.entry.js.map} +0 -0
- /package/dist/ui-library/{p-16028bce.entry.js.map → p-fe7d3665.entry.js.map} +0 -0
|
@@ -10,6 +10,8 @@ import { EmptyPayload } from "./utils/types";
|
|
|
10
10
|
import { Language } from "./utils/error-messages";
|
|
11
11
|
import { SixDateFormats } from "./components/six-datepicker/six-date-formats";
|
|
12
12
|
import { SixDatepickerSelectPayload } from "./components/six-datepicker/six-datepicker";
|
|
13
|
+
import { SixDialogRequestClose } from "./components/six-dialog/six-dialog";
|
|
14
|
+
import { SixDrawerRequestClose } from "./components/six-drawer/six-drawer";
|
|
13
15
|
import { SixMenuItemData } from "./components/six-menu/six-menu";
|
|
14
16
|
import { SixDropdownAsyncFilterPayload, SixDropdownAutoFilterPayload, SixDropdownScrollPayload } from "./components/six-dropdown/six-dropdown";
|
|
15
17
|
import { SixFileListDownloadPayload, SixFileListRemovePayload } from "./components/six-file-list-item/six-file-list-item";
|
|
@@ -31,6 +33,8 @@ export { EmptyPayload } from "./utils/types";
|
|
|
31
33
|
export { Language } from "./utils/error-messages";
|
|
32
34
|
export { SixDateFormats } from "./components/six-datepicker/six-date-formats";
|
|
33
35
|
export { SixDatepickerSelectPayload } from "./components/six-datepicker/six-datepicker";
|
|
36
|
+
export { SixDialogRequestClose } from "./components/six-dialog/six-dialog";
|
|
37
|
+
export { SixDrawerRequestClose } from "./components/six-drawer/six-drawer";
|
|
34
38
|
export { SixMenuItemData } from "./components/six-menu/six-menu";
|
|
35
39
|
export { SixDropdownAsyncFilterPayload, SixDropdownAutoFilterPayload, SixDropdownScrollPayload } from "./components/six-dropdown/six-dropdown";
|
|
36
40
|
export { SixFileListDownloadPayload, SixFileListRemovePayload } from "./components/six-file-list-item/six-file-list-item";
|
|
@@ -56,10 +60,12 @@ export namespace Components {
|
|
|
56
60
|
interface SixAlert {
|
|
57
61
|
/**
|
|
58
62
|
* Set to true to make the alert closable.
|
|
63
|
+
* @default false
|
|
59
64
|
*/
|
|
60
65
|
"closable": boolean;
|
|
61
66
|
/**
|
|
62
67
|
* The length of time, in milliseconds, the alert will show before closing itself. If the user hovers over the toast alert, the timer will pause. On leaving the element with the mouse, the timer resets.
|
|
68
|
+
* @default Infinity
|
|
63
69
|
*/
|
|
64
70
|
"duration": number;
|
|
65
71
|
/**
|
|
@@ -68,6 +74,7 @@ export namespace Components {
|
|
|
68
74
|
"hide": () => Promise<void>;
|
|
69
75
|
/**
|
|
70
76
|
* Indicates whether or not the alert is open. You can use this in lieu of the show/hide methods.
|
|
77
|
+
* @default false
|
|
71
78
|
*/
|
|
72
79
|
"open": boolean;
|
|
73
80
|
/**
|
|
@@ -81,6 +88,7 @@ export namespace Components {
|
|
|
81
88
|
"toast": (adjustPosition?: boolean) => Promise<void>;
|
|
82
89
|
/**
|
|
83
90
|
* The type of alert.
|
|
91
|
+
* @default 'primary'
|
|
84
92
|
*/
|
|
85
93
|
"type": AlertType;
|
|
86
94
|
}
|
|
@@ -92,18 +100,22 @@ export namespace Components {
|
|
|
92
100
|
interface SixAvatar {
|
|
93
101
|
/**
|
|
94
102
|
* Alternative text for the image.
|
|
103
|
+
* @default ''
|
|
95
104
|
*/
|
|
96
105
|
"alt": string;
|
|
97
106
|
/**
|
|
98
107
|
* The image source to use for the avatar.
|
|
108
|
+
* @default ''
|
|
99
109
|
*/
|
|
100
110
|
"image": string;
|
|
101
111
|
/**
|
|
102
112
|
* Initials to use as a fallback when no image is available (1-2 characters max recommended).
|
|
113
|
+
* @default ''
|
|
103
114
|
*/
|
|
104
115
|
"initials": string;
|
|
105
116
|
/**
|
|
106
117
|
* The shape of the avatar.
|
|
118
|
+
* @default 'circle'
|
|
107
119
|
*/
|
|
108
120
|
"shape": 'circle' | 'square' | 'rounded';
|
|
109
121
|
}
|
|
@@ -115,14 +127,17 @@ export namespace Components {
|
|
|
115
127
|
interface SixBadge {
|
|
116
128
|
/**
|
|
117
129
|
* Set to true to draw a pill-style badge with rounded edges.
|
|
130
|
+
* @default false
|
|
118
131
|
*/
|
|
119
132
|
"pill": boolean;
|
|
120
133
|
/**
|
|
121
134
|
* Set to true to make the badge pulsate to draw attention.
|
|
135
|
+
* @default false
|
|
122
136
|
*/
|
|
123
137
|
"pulse": boolean;
|
|
124
138
|
/**
|
|
125
139
|
* The badge's type.
|
|
140
|
+
* @default 'primary'
|
|
126
141
|
*/
|
|
127
142
|
"type": 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info' | 'action';
|
|
128
143
|
}
|
|
@@ -134,14 +149,17 @@ export namespace Components {
|
|
|
134
149
|
interface SixButton {
|
|
135
150
|
/**
|
|
136
151
|
* Set to true to draw the button with a caret for use with dropdowns, popovers, etc.
|
|
152
|
+
* @default false
|
|
137
153
|
*/
|
|
138
154
|
"caret": boolean;
|
|
139
155
|
/**
|
|
140
156
|
* Set to true to draw a circle button.
|
|
157
|
+
* @default false
|
|
141
158
|
*/
|
|
142
159
|
"circle": boolean;
|
|
143
160
|
/**
|
|
144
161
|
* Set to true to disable the button.
|
|
162
|
+
* @default false
|
|
145
163
|
*/
|
|
146
164
|
"disabled": boolean;
|
|
147
165
|
/**
|
|
@@ -154,14 +172,17 @@ export namespace Components {
|
|
|
154
172
|
"href"?: string;
|
|
155
173
|
/**
|
|
156
174
|
* Set to true to draw the button in a loading state.
|
|
175
|
+
* @default false
|
|
157
176
|
*/
|
|
158
177
|
"loading": boolean;
|
|
159
178
|
/**
|
|
160
179
|
* An optional name for the button. Ignored when `href` is set.
|
|
180
|
+
* @default ''
|
|
161
181
|
*/
|
|
162
182
|
"name": string;
|
|
163
183
|
/**
|
|
164
184
|
* Set to true to draw a pill-style button with rounded edges.
|
|
185
|
+
* @default false
|
|
165
186
|
*/
|
|
166
187
|
"pill": boolean;
|
|
167
188
|
/**
|
|
@@ -170,6 +191,7 @@ export namespace Components {
|
|
|
170
191
|
"removeFocus": () => Promise<void>;
|
|
171
192
|
/**
|
|
172
193
|
* Indicates if activating the button should reset the form.
|
|
194
|
+
* @default false
|
|
173
195
|
*/
|
|
174
196
|
"reset": boolean;
|
|
175
197
|
/**
|
|
@@ -178,10 +200,12 @@ export namespace Components {
|
|
|
178
200
|
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
179
201
|
/**
|
|
180
202
|
* The button's size.
|
|
203
|
+
* @default 'medium'
|
|
181
204
|
*/
|
|
182
205
|
"size": 'small' | 'medium' | 'large';
|
|
183
206
|
/**
|
|
184
207
|
* Indicates if activating the button should submit the form. Ignored when `href` is set.
|
|
208
|
+
* @default false
|
|
185
209
|
*/
|
|
186
210
|
"submit": boolean;
|
|
187
211
|
/**
|
|
@@ -190,6 +214,7 @@ export namespace Components {
|
|
|
190
214
|
"target"?: '_blank' | '_parent' | '_self' | '_top';
|
|
191
215
|
/**
|
|
192
216
|
* The button's type.
|
|
217
|
+
* @default 'primary'
|
|
193
218
|
*/
|
|
194
219
|
"type": | 'secondary'
|
|
195
220
|
| 'primary'
|
|
@@ -201,6 +226,7 @@ export namespace Components {
|
|
|
201
226
|
| 'action-outline';
|
|
202
227
|
/**
|
|
203
228
|
* An optional value for the button. Ignored when `href` is set.
|
|
229
|
+
* @default ''
|
|
204
230
|
*/
|
|
205
231
|
"value": string;
|
|
206
232
|
}
|
|
@@ -218,14 +244,17 @@ export namespace Components {
|
|
|
218
244
|
interface SixCheckbox {
|
|
219
245
|
/**
|
|
220
246
|
* Set to true to draw the checkbox in a checked state.
|
|
247
|
+
* @default false
|
|
221
248
|
*/
|
|
222
249
|
"checked": boolean;
|
|
223
250
|
/**
|
|
224
251
|
* Set to true to disable the checkbox.
|
|
252
|
+
* @default false
|
|
225
253
|
*/
|
|
226
254
|
"disabled": boolean;
|
|
227
255
|
/**
|
|
228
256
|
* The error message shown, if `invalid` is set to true.
|
|
257
|
+
* @default ''
|
|
229
258
|
*/
|
|
230
259
|
"errorText": string | string[];
|
|
231
260
|
/**
|
|
@@ -234,18 +263,22 @@ export namespace Components {
|
|
|
234
263
|
"errorTextCount"?: number;
|
|
235
264
|
/**
|
|
236
265
|
* Set to true to draw the checkbox in an indeterminate state.
|
|
266
|
+
* @default false
|
|
237
267
|
*/
|
|
238
268
|
"indeterminate": boolean;
|
|
239
269
|
/**
|
|
240
270
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
271
|
+
* @default false
|
|
241
272
|
*/
|
|
242
273
|
"invalid": boolean;
|
|
243
274
|
/**
|
|
244
275
|
* The label text.
|
|
276
|
+
* @default ''
|
|
245
277
|
*/
|
|
246
278
|
"label": string;
|
|
247
279
|
/**
|
|
248
280
|
* The checkbox's name attribute.
|
|
281
|
+
* @default ''
|
|
249
282
|
*/
|
|
250
283
|
"name": string;
|
|
251
284
|
/**
|
|
@@ -254,6 +287,7 @@ export namespace Components {
|
|
|
254
287
|
"removeFocus": () => Promise<void>;
|
|
255
288
|
/**
|
|
256
289
|
* Set to true to show an asterisk beneath the label.
|
|
290
|
+
* @default false
|
|
257
291
|
*/
|
|
258
292
|
"required": boolean;
|
|
259
293
|
/**
|
|
@@ -262,6 +296,7 @@ export namespace Components {
|
|
|
262
296
|
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
263
297
|
/**
|
|
264
298
|
* The value of the checkbox does not mean if it's checked or not, use the `checked` property for that. The value of a checkbox is analogous to the value of an `<input type="checkbox">`, it's only used when the checkbox participates in a native `<form>`.
|
|
299
|
+
* @default 'on'
|
|
265
300
|
*/
|
|
266
301
|
"value": string;
|
|
267
302
|
}
|
|
@@ -273,22 +308,27 @@ export namespace Components {
|
|
|
273
308
|
interface SixDate {
|
|
274
309
|
/**
|
|
275
310
|
* Callback to determine which dates in the picker should be selectable.
|
|
311
|
+
* @default () => true
|
|
276
312
|
*/
|
|
277
313
|
"allowedDates": (date: string) => boolean;
|
|
278
314
|
/**
|
|
279
315
|
* Set to true to add a clear button when the input is populated.
|
|
316
|
+
* @default false
|
|
280
317
|
*/
|
|
281
318
|
"clearable": boolean;
|
|
282
319
|
/**
|
|
283
320
|
* Defines the format pattern for displaying dates and how dates can be entered via keyboard. The parser accepts flexible input that doesn't strictly match the format pattern. Input with missing leading zeros or incomplete years will be automatically normalized. For example, with the pattern "dd.MM.yyyy": "1.1.2025" becomes "01.01.2025" and "1.1.225" becomes "01.01.0225". Defaults to "dd.MM.yyyy". Available patterns: - Year: "yyyy" (e.g., "2021") - Month: "MM" (e.g., "01" for January) or "M" (e.g., "1" for January) - Day: "dd" (e.g., "08" for the 8th) or "d" (e.g., "8" for the 8th) Examples: - "dd.MM.yyyy" -> "31.01.2024" - "yyyy-MM-dd" -> "2024-01-31" - "d.M.yyyy" -> "31.1.2024"
|
|
321
|
+
* @default 'dd.MM.yyyy'
|
|
284
322
|
*/
|
|
285
323
|
"dateFormat": string;
|
|
286
324
|
/**
|
|
287
325
|
* If `true` the component is disabled.
|
|
326
|
+
* @default false
|
|
288
327
|
*/
|
|
289
328
|
"disabled": boolean;
|
|
290
329
|
/**
|
|
291
330
|
* The error message shown, if `invalid` is set to true.
|
|
331
|
+
* @default ''
|
|
292
332
|
*/
|
|
293
333
|
"errorText": string | string[];
|
|
294
334
|
/**
|
|
@@ -297,18 +337,22 @@ export namespace Components {
|
|
|
297
337
|
"errorTextCount"?: number;
|
|
298
338
|
/**
|
|
299
339
|
* The input's help text. Alternatively, you can use the help-text slot.
|
|
340
|
+
* @default ''
|
|
300
341
|
*/
|
|
301
342
|
"helpText": string;
|
|
302
343
|
/**
|
|
303
344
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
345
|
+
* @default false
|
|
304
346
|
*/
|
|
305
347
|
"invalid": boolean;
|
|
306
348
|
/**
|
|
307
349
|
* The label text.
|
|
350
|
+
* @default ''
|
|
308
351
|
*/
|
|
309
352
|
"label": string;
|
|
310
353
|
/**
|
|
311
354
|
* The language used to render the weekdays and months.
|
|
355
|
+
* @default 'en'
|
|
312
356
|
*/
|
|
313
357
|
"language": Language;
|
|
314
358
|
/**
|
|
@@ -321,6 +365,7 @@ export namespace Components {
|
|
|
321
365
|
"min"?: string;
|
|
322
366
|
/**
|
|
323
367
|
* The input's name attribute.
|
|
368
|
+
* @default ''
|
|
324
369
|
*/
|
|
325
370
|
"name": string;
|
|
326
371
|
/**
|
|
@@ -329,10 +374,12 @@ export namespace Components {
|
|
|
329
374
|
"placeholder"?: string;
|
|
330
375
|
/**
|
|
331
376
|
* If `true` the user can only select a date via the component in the popup but not directly edit the input field.
|
|
377
|
+
* @default false
|
|
332
378
|
*/
|
|
333
379
|
"readonly": boolean;
|
|
334
380
|
/**
|
|
335
381
|
* Set to true to show an asterisk beneath the label.
|
|
382
|
+
* @default false
|
|
336
383
|
*/
|
|
337
384
|
"required": boolean;
|
|
338
385
|
/**
|
|
@@ -341,10 +388,12 @@ export namespace Components {
|
|
|
341
388
|
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
342
389
|
/**
|
|
343
390
|
* The size of the date input field.
|
|
391
|
+
* @default 'medium'
|
|
344
392
|
*/
|
|
345
393
|
"size": 'small' | 'medium' | 'large';
|
|
346
394
|
/**
|
|
347
395
|
* The value of the form field in ISO 8601 date format (yyyy-MM-dd). Example: '2024-01-01'. When an invalid date is provided, it will be replaced with an empty string (''), matching the behavior of native HTML <input type="date">. The displayed format can be customized using the dateFormat property, but the underlying value will always be stored in ISO format.
|
|
396
|
+
* @default ''
|
|
348
397
|
*/
|
|
349
398
|
"value": string | '';
|
|
350
399
|
}
|
|
@@ -355,14 +404,17 @@ export namespace Components {
|
|
|
355
404
|
interface SixDatepicker {
|
|
356
405
|
/**
|
|
357
406
|
* Callback to determine which date in the datepicker should be selectable. the callback function will get a datestring as an argument, e.g. '2021-07-04' Usage e.g.: const datepicker = document.getElementById('allowed-date-picker'); datepicker.allowedDates = datestring => parseInt(datestring.split('-')[2], 10) % 2 === 0;
|
|
407
|
+
* @default () => true
|
|
358
408
|
*/
|
|
359
409
|
"allowedDates": (date: Date) => boolean;
|
|
360
410
|
/**
|
|
361
411
|
* Set to true to add a clear button when the input is populated.
|
|
412
|
+
* @default false
|
|
362
413
|
*/
|
|
363
414
|
"clearable": boolean;
|
|
364
415
|
/**
|
|
365
416
|
* Closes the datepicker dropdown after selection
|
|
417
|
+
* @default this.type === 'date'
|
|
366
418
|
*/
|
|
367
419
|
"closeOnSelect": boolean;
|
|
368
420
|
/**
|
|
@@ -371,10 +423,12 @@ export namespace Components {
|
|
|
371
423
|
"containingElement"?: HTMLElement;
|
|
372
424
|
/**
|
|
373
425
|
* Define the dateFormat. Valid formats are: 'dd.mm.yyyy' 'yyyy-mm-dd' 'dd-mm-yyyy' 'dd/mm/yyyy' 'yyyy/mm/dd' 'dd.mm.yy' 'yy-mm-dd' 'dd-mm-yy' 'dd/mm/yy' 'yy/mm/dd'
|
|
426
|
+
* @default SixDateFormats.DDMMYYY_DOT
|
|
374
427
|
*/
|
|
375
428
|
"dateFormat": SixDateFormats;
|
|
376
429
|
/**
|
|
377
430
|
* Set the amount of time, in milliseconds, to wait to trigger the `dateChange` event after each keystroke.
|
|
431
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
378
432
|
*/
|
|
379
433
|
"debounce": number;
|
|
380
434
|
/**
|
|
@@ -383,10 +437,12 @@ export namespace Components {
|
|
|
383
437
|
"defaultDate"?: string;
|
|
384
438
|
/**
|
|
385
439
|
* If `true` the component is disabled.
|
|
440
|
+
* @default false
|
|
386
441
|
*/
|
|
387
442
|
"disabled": boolean;
|
|
388
443
|
/**
|
|
389
444
|
* The error message shown, if `invalid` is set to true.
|
|
445
|
+
* @default ''
|
|
390
446
|
*/
|
|
391
447
|
"errorText": string | string[];
|
|
392
448
|
/**
|
|
@@ -395,26 +451,32 @@ export namespace Components {
|
|
|
395
451
|
"errorTextCount"?: number;
|
|
396
452
|
/**
|
|
397
453
|
* Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
|
|
454
|
+
* @default false
|
|
398
455
|
*/
|
|
399
456
|
"hoist": boolean;
|
|
400
457
|
/**
|
|
401
458
|
* Set the position of the icon
|
|
459
|
+
* @default 'left'
|
|
402
460
|
*/
|
|
403
461
|
"iconPosition": 'left' | 'right';
|
|
404
462
|
/**
|
|
405
463
|
* Indicates whether or not the calendar should be shown as an inline (always open) component
|
|
464
|
+
* @default false
|
|
406
465
|
*/
|
|
407
466
|
"inline": boolean;
|
|
408
467
|
/**
|
|
409
468
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
469
|
+
* @default false
|
|
410
470
|
*/
|
|
411
471
|
"invalid": boolean;
|
|
412
472
|
/**
|
|
413
473
|
* The label text.
|
|
474
|
+
* @default ''
|
|
414
475
|
*/
|
|
415
476
|
"label": string;
|
|
416
477
|
/**
|
|
417
478
|
* The language used to render the weekdays and months.
|
|
479
|
+
* @default 'en'
|
|
418
480
|
*/
|
|
419
481
|
"locale": 'en' | 'de' | 'fr' | 'it' | 'es';
|
|
420
482
|
/**
|
|
@@ -427,10 +489,12 @@ export namespace Components {
|
|
|
427
489
|
"min"?: Date;
|
|
428
490
|
/**
|
|
429
491
|
* The input's name attribute.
|
|
492
|
+
* @default ''
|
|
430
493
|
*/
|
|
431
494
|
"name": string;
|
|
432
495
|
/**
|
|
433
496
|
* Indicates whether or not the calendar dropdown is open on startup. You can use this in lieu of the show/hide methods.
|
|
497
|
+
* @default false
|
|
434
498
|
*/
|
|
435
499
|
"open": boolean;
|
|
436
500
|
/**
|
|
@@ -443,10 +507,12 @@ export namespace Components {
|
|
|
443
507
|
"placement"?: 'top' | 'bottom';
|
|
444
508
|
/**
|
|
445
509
|
* If `true` the user can only select a date via the component in the popup, but not directly edit the input field.
|
|
510
|
+
* @default false
|
|
446
511
|
*/
|
|
447
512
|
"readonly": boolean;
|
|
448
513
|
/**
|
|
449
514
|
* Set to true to show an asterisk beneath the label.
|
|
515
|
+
* @default false
|
|
450
516
|
*/
|
|
451
517
|
"required": boolean;
|
|
452
518
|
/**
|
|
@@ -459,10 +525,12 @@ export namespace Components {
|
|
|
459
525
|
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
460
526
|
/**
|
|
461
527
|
* Datepicker size.
|
|
528
|
+
* @default 'medium'
|
|
462
529
|
*/
|
|
463
530
|
"size": 'small' | 'medium' | 'large';
|
|
464
531
|
/**
|
|
465
532
|
* Set the type.
|
|
533
|
+
* @default 'date'
|
|
466
534
|
*/
|
|
467
535
|
"type": 'date' | 'date-time';
|
|
468
536
|
/**
|
|
@@ -478,10 +546,12 @@ export namespace Components {
|
|
|
478
546
|
interface SixDetails {
|
|
479
547
|
/**
|
|
480
548
|
* Set to true to prevent the user from toggling the details.
|
|
549
|
+
* @default false
|
|
481
550
|
*/
|
|
482
551
|
"disabled": boolean;
|
|
483
552
|
/**
|
|
484
553
|
* Set to false when you want to hide the summary icon and disable the open/close mechanism. Usually not needed, but used internally by 'six-sidebar-item-group'
|
|
554
|
+
* @default true
|
|
485
555
|
*/
|
|
486
556
|
"hasContent": boolean;
|
|
487
557
|
/**
|
|
@@ -490,14 +560,17 @@ export namespace Components {
|
|
|
490
560
|
"hide": () => Promise<void>;
|
|
491
561
|
/**
|
|
492
562
|
* Set to true when you want to use six-details inline e.g. in a sidebar
|
|
563
|
+
* @default false
|
|
493
564
|
*/
|
|
494
565
|
"inline": boolean;
|
|
495
566
|
/**
|
|
496
567
|
* Indicates whether the details is open. You can use this in lieu of the show/hide methods.
|
|
568
|
+
* @default false
|
|
497
569
|
*/
|
|
498
570
|
"open": boolean;
|
|
499
571
|
/**
|
|
500
572
|
* Set to true when you want details without content to be selectable. This is important if you e.g. have a toggled sidebar where some menus have no children
|
|
573
|
+
* @default false
|
|
501
574
|
*/
|
|
502
575
|
"selectableEmpty": boolean;
|
|
503
576
|
/**
|
|
@@ -506,6 +579,7 @@ export namespace Components {
|
|
|
506
579
|
"show": () => Promise<void>;
|
|
507
580
|
/**
|
|
508
581
|
* The summary to show in the details header. If you need to display HTML, use the `summary` slot instead.
|
|
582
|
+
* @default ''
|
|
509
583
|
*/
|
|
510
584
|
"summary": string;
|
|
511
585
|
/**
|
|
@@ -514,6 +588,7 @@ export namespace Components {
|
|
|
514
588
|
"summaryIcon"?: string;
|
|
515
589
|
/**
|
|
516
590
|
* The icon's size.
|
|
591
|
+
* @default 'inherit'
|
|
517
592
|
*/
|
|
518
593
|
"summaryIconSize": | 'inherit'
|
|
519
594
|
| 'xSmall'
|
|
@@ -536,14 +611,17 @@ export namespace Components {
|
|
|
536
611
|
"hide": () => Promise<void>;
|
|
537
612
|
/**
|
|
538
613
|
* The dialog's label as displayed in the header. You should always include a relevant label even when using `no-header`, as it is required for proper accessibility.
|
|
614
|
+
* @default ''
|
|
539
615
|
*/
|
|
540
616
|
"label": string;
|
|
541
617
|
/**
|
|
542
618
|
* Set to true to disable the header. This will also remove the default close button, so please ensure you provide an easy, accessible way for users to dismiss the dialog.
|
|
619
|
+
* @default false
|
|
543
620
|
*/
|
|
544
621
|
"noHeader": boolean;
|
|
545
622
|
/**
|
|
546
623
|
* Indicates whether the dialog is open. You can use this in lieu of the show/hide methods.
|
|
624
|
+
* @default false
|
|
547
625
|
*/
|
|
548
626
|
"open": boolean;
|
|
549
627
|
/**
|
|
@@ -559,6 +637,7 @@ export namespace Components {
|
|
|
559
637
|
interface SixDrawer {
|
|
560
638
|
/**
|
|
561
639
|
* By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of its parent element, set this prop and add `position: relative` to the parent.
|
|
640
|
+
* @default false
|
|
562
641
|
*/
|
|
563
642
|
"contained": boolean;
|
|
564
643
|
/**
|
|
@@ -567,18 +646,22 @@ export namespace Components {
|
|
|
567
646
|
"hide": () => Promise<void>;
|
|
568
647
|
/**
|
|
569
648
|
* The drawer's label as displayed in the header. You should always include a relevant label even when using `no-header`, as it is required for proper accessibility.
|
|
649
|
+
* @default ''
|
|
570
650
|
*/
|
|
571
651
|
"label": string;
|
|
572
652
|
/**
|
|
573
653
|
* Removes the header. This will also remove the default close button, so please ensure you provide an easy, accessible way for users to dismiss the drawer.
|
|
654
|
+
* @default false
|
|
574
655
|
*/
|
|
575
656
|
"noHeader": boolean;
|
|
576
657
|
/**
|
|
577
658
|
* Indicates whether the drawer is open. You can use this in lieu of the show/hide methods.
|
|
659
|
+
* @default false
|
|
578
660
|
*/
|
|
579
661
|
"open": boolean;
|
|
580
662
|
/**
|
|
581
663
|
* The direction from which the drawer will open.
|
|
664
|
+
* @default 'right'
|
|
582
665
|
*/
|
|
583
666
|
"placement": 'top' | 'right' | 'bottom' | 'left';
|
|
584
667
|
/**
|
|
@@ -594,14 +677,17 @@ export namespace Components {
|
|
|
594
677
|
interface SixDropdown {
|
|
595
678
|
/**
|
|
596
679
|
* Set to true to allow async filtering. When you enter something in the search field the component will only emit an event but not filter any elements itself. You can then simply listen to the 'six-async-filter-fired' event to manage the shown menu-items yourself
|
|
680
|
+
* @default false
|
|
597
681
|
*/
|
|
598
682
|
"asyncFilter": boolean;
|
|
599
683
|
/**
|
|
600
684
|
* By default the search field will be focused when opening a dropdown with filtering enabled.
|
|
685
|
+
* @default true
|
|
601
686
|
*/
|
|
602
687
|
"autofocusFilter": boolean;
|
|
603
688
|
/**
|
|
604
689
|
* Determines whether the dropdown should hide when a menu item is selected.
|
|
690
|
+
* @default true
|
|
605
691
|
*/
|
|
606
692
|
"closeOnSelect": boolean;
|
|
607
693
|
/**
|
|
@@ -610,22 +696,27 @@ export namespace Components {
|
|
|
610
696
|
"containingElement"?: HTMLElement;
|
|
611
697
|
/**
|
|
612
698
|
* The panel can be opend/closed by pressing the spacebar or the enter key. In some cases you might want to avoid this
|
|
699
|
+
* @default false
|
|
613
700
|
*/
|
|
614
701
|
"disableHideOnEnterAndSpace": boolean;
|
|
615
702
|
/**
|
|
616
703
|
* The distance in pixels from which to offset the panel away from its trigger.
|
|
704
|
+
* @default 4
|
|
617
705
|
*/
|
|
618
706
|
"distance": number;
|
|
619
707
|
/**
|
|
620
708
|
* Set to true to allow auto filtering for entries in the dropdown. With this flag the dropdown will automatically filter itsel. If you need to coordinate the shown elements yourself, e.g. because you need to call an endpoint use asyncFilter instead
|
|
709
|
+
* @default false
|
|
621
710
|
*/
|
|
622
711
|
"filter": boolean;
|
|
623
712
|
/**
|
|
624
713
|
* The debounce for the filter callbacks.
|
|
714
|
+
* @default 0
|
|
625
715
|
*/
|
|
626
716
|
"filterDebounce": number;
|
|
627
717
|
/**
|
|
628
718
|
* The filter's placeholder text.
|
|
719
|
+
* @default 'Filter...'
|
|
629
720
|
*/
|
|
630
721
|
"filterPlaceholder": string;
|
|
631
722
|
/**
|
|
@@ -634,22 +725,27 @@ export namespace Components {
|
|
|
634
725
|
"hide": () => Promise<void>;
|
|
635
726
|
/**
|
|
636
727
|
* Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
|
|
728
|
+
* @default false
|
|
637
729
|
*/
|
|
638
730
|
"hoist": boolean;
|
|
639
731
|
/**
|
|
640
732
|
* Determines if the dropdown panel's width should match the width of the trigger element. If set to `true`, the panel will resize its width to align with the trigger's width. If `false` or omitted, the panel will maintain its default width.
|
|
733
|
+
* @default false
|
|
641
734
|
*/
|
|
642
735
|
"matchTriggerWidth": boolean;
|
|
643
736
|
/**
|
|
644
737
|
* Indicates whether the dropdown is open. You can use this in lieu of the show/hide methods.
|
|
738
|
+
* @default false
|
|
645
739
|
*/
|
|
646
740
|
"open": boolean;
|
|
647
741
|
/**
|
|
648
742
|
* Set the options to be shown in the dropdown (alternative to setting the elements via html)
|
|
743
|
+
* @default []
|
|
649
744
|
*/
|
|
650
745
|
"options": SixMenuItemData[];
|
|
651
746
|
/**
|
|
652
747
|
* The preferred placement of the dropdown panel. Note that the actual placement may vary as needed to keep the panel inside the viewport.
|
|
748
|
+
* @default 'bottom-start'
|
|
653
749
|
*/
|
|
654
750
|
"placement": | 'top'
|
|
655
751
|
| 'top-start'
|
|
@@ -669,10 +765,12 @@ export namespace Components {
|
|
|
669
765
|
"show": () => Promise<void>;
|
|
670
766
|
/**
|
|
671
767
|
* The distance in pixels from which to offset the panel along its trigger.
|
|
768
|
+
* @default 0
|
|
672
769
|
*/
|
|
673
770
|
"skidding": number;
|
|
674
771
|
/**
|
|
675
772
|
* Defines whether the menu list will be rendered virtually i.e. only the elements actually shown (and a couple around) are actually rendered in the DOM. If you use virtual scrolling pass the elements via prop instead of via slot.
|
|
773
|
+
* @default false
|
|
676
774
|
*/
|
|
677
775
|
"virtualScroll": boolean;
|
|
678
776
|
}
|
|
@@ -701,6 +799,7 @@ export namespace Components {
|
|
|
701
799
|
"errorCode"?: 404 | 403 | 500;
|
|
702
800
|
/**
|
|
703
801
|
* Defines language and thus displays the proper error page in the selected language.
|
|
802
|
+
* @default 'en'
|
|
704
803
|
*/
|
|
705
804
|
"language": 'en' | 'de';
|
|
706
805
|
}
|
|
@@ -717,22 +816,27 @@ export namespace Components {
|
|
|
717
816
|
interface SixFileListItem {
|
|
718
817
|
/**
|
|
719
818
|
* The date when the file was uploaded
|
|
819
|
+
* @default ''
|
|
720
820
|
*/
|
|
721
821
|
"date": string;
|
|
722
822
|
/**
|
|
723
823
|
* An id to clearly identify the file
|
|
824
|
+
* @default ''
|
|
724
825
|
*/
|
|
725
826
|
"identifier": string;
|
|
726
827
|
/**
|
|
727
828
|
* The filename
|
|
829
|
+
* @default ''
|
|
728
830
|
*/
|
|
729
831
|
"name": string;
|
|
730
832
|
/**
|
|
731
833
|
* Set to true if you don't want to allow to delete this file
|
|
834
|
+
* @default false
|
|
732
835
|
*/
|
|
733
836
|
"nodelete": boolean;
|
|
734
837
|
/**
|
|
735
838
|
* Set to true if you don't want to allow to download this file
|
|
839
|
+
* @default false
|
|
736
840
|
*/
|
|
737
841
|
"nodownload": boolean;
|
|
738
842
|
/**
|
|
@@ -751,18 +855,22 @@ export namespace Components {
|
|
|
751
855
|
"accept"?: string;
|
|
752
856
|
/**
|
|
753
857
|
* Set to true if file control should be small.
|
|
858
|
+
* @default false
|
|
754
859
|
*/
|
|
755
860
|
"compact": boolean;
|
|
756
861
|
/**
|
|
757
862
|
* Set when button is disabled.
|
|
863
|
+
* @default false
|
|
758
864
|
*/
|
|
759
865
|
"disabled": false;
|
|
760
866
|
/**
|
|
761
867
|
* The error message shown, if `invalid` is set to true.
|
|
868
|
+
* @default ''
|
|
762
869
|
*/
|
|
763
870
|
"errorText": string | string[];
|
|
764
871
|
/**
|
|
765
872
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
873
|
+
* @default false
|
|
766
874
|
*/
|
|
767
875
|
"invalid": boolean;
|
|
768
876
|
/**
|
|
@@ -775,10 +883,12 @@ export namespace Components {
|
|
|
775
883
|
"maxFileSize"?: number;
|
|
776
884
|
/**
|
|
777
885
|
* More than one file allowed.
|
|
886
|
+
* @default false
|
|
778
887
|
*/
|
|
779
888
|
"multiple": false;
|
|
780
889
|
/**
|
|
781
890
|
* Set to true to draw the control in a loading state.
|
|
891
|
+
* @default false
|
|
782
892
|
*/
|
|
783
893
|
"uploading": boolean;
|
|
784
894
|
}
|
|
@@ -795,22 +905,27 @@ export namespace Components {
|
|
|
795
905
|
interface SixGroupLabel {
|
|
796
906
|
/**
|
|
797
907
|
* Set to true to disable the label.
|
|
908
|
+
* @default false
|
|
798
909
|
*/
|
|
799
910
|
"disabled": boolean;
|
|
800
911
|
/**
|
|
801
912
|
* The wrapper label's help text. Alternatively, you can use the help-text slot.
|
|
913
|
+
* @default ''
|
|
802
914
|
*/
|
|
803
915
|
"helpText": string;
|
|
804
916
|
/**
|
|
805
917
|
* The wrapper label's label. Alternatively, you can use the label slot.
|
|
918
|
+
* @default ''
|
|
806
919
|
*/
|
|
807
920
|
"label": string;
|
|
808
921
|
/**
|
|
809
922
|
* Set to true to show an asterisk beneath the label.
|
|
923
|
+
* @default false
|
|
810
924
|
*/
|
|
811
925
|
"required": boolean;
|
|
812
926
|
/**
|
|
813
927
|
* The label's size.
|
|
928
|
+
* @default 'medium'
|
|
814
929
|
*/
|
|
815
930
|
"size": 'small' | 'medium' | 'large';
|
|
816
931
|
}
|
|
@@ -821,10 +936,12 @@ export namespace Components {
|
|
|
821
936
|
interface SixHeader {
|
|
822
937
|
/**
|
|
823
938
|
* Set the header search input to be in an open or closed state. Focuses the first `six-input` found in the search slot.
|
|
939
|
+
* @default false
|
|
824
940
|
*/
|
|
825
941
|
"openSearch": boolean;
|
|
826
942
|
/**
|
|
827
943
|
* Indicates if content should be shifted down when search field is visible.
|
|
944
|
+
* @default false
|
|
828
945
|
*/
|
|
829
946
|
"shiftContent": boolean;
|
|
830
947
|
}
|
|
@@ -835,10 +952,12 @@ export namespace Components {
|
|
|
835
952
|
interface SixHeaderDropdownItem {
|
|
836
953
|
/**
|
|
837
954
|
* Set to true to allow auto filtering for entries in the dropdown. With this flag the dropdown will automatically filter itsel. If you need to coordinate the shown elements yourself, e.g. because you need to call an endpoint use asyncFilter instead
|
|
955
|
+
* @default false
|
|
838
956
|
*/
|
|
839
957
|
"filter": boolean;
|
|
840
958
|
/**
|
|
841
959
|
* The filter's placeholder text.
|
|
960
|
+
* @default 'Filter...'
|
|
842
961
|
*/
|
|
843
962
|
"filterPlaceholder": string;
|
|
844
963
|
}
|
|
@@ -849,6 +968,7 @@ export namespace Components {
|
|
|
849
968
|
interface SixHeaderItem {
|
|
850
969
|
/**
|
|
851
970
|
* Indicates whether the item is styled as active. When set to `true`, a border is displayed below the trigger element. Use <code>six-header-dropdown-item</code> to automatically set the active state for dropdowns.
|
|
971
|
+
* @default false
|
|
852
972
|
*/
|
|
853
973
|
"active": boolean;
|
|
854
974
|
}
|
|
@@ -859,22 +979,27 @@ export namespace Components {
|
|
|
859
979
|
interface SixHeaderMenuButton {
|
|
860
980
|
/**
|
|
861
981
|
* Set to true to draw the button with a caret for use with dropdowns, popovers, etc.
|
|
982
|
+
* @default false
|
|
862
983
|
*/
|
|
863
984
|
"caret": boolean;
|
|
864
985
|
/**
|
|
865
986
|
* Set to true to disable the button.
|
|
987
|
+
* @default false
|
|
866
988
|
*/
|
|
867
989
|
"disabled": boolean;
|
|
868
990
|
/**
|
|
869
991
|
* Set to true to draw the button in a loading state.
|
|
992
|
+
* @default false
|
|
870
993
|
*/
|
|
871
994
|
"loading": boolean;
|
|
872
995
|
/**
|
|
873
996
|
* Indicates if activating the button should reset the form.
|
|
997
|
+
* @default false
|
|
874
998
|
*/
|
|
875
999
|
"reset": boolean;
|
|
876
1000
|
/**
|
|
877
1001
|
* Indicates if activating the button should submit the form. Ignored when `href` is set.
|
|
1002
|
+
* @default false
|
|
878
1003
|
*/
|
|
879
1004
|
"submit": boolean;
|
|
880
1005
|
}
|
|
@@ -885,10 +1010,12 @@ export namespace Components {
|
|
|
885
1010
|
interface SixIcon {
|
|
886
1011
|
/**
|
|
887
1012
|
* If set to true the default material outlined icons are not used.
|
|
1013
|
+
* @default false
|
|
888
1014
|
*/
|
|
889
1015
|
"filled": boolean;
|
|
890
1016
|
/**
|
|
891
1017
|
* The icon's size.
|
|
1018
|
+
* @default 'inherit'
|
|
892
1019
|
*/
|
|
893
1020
|
"size": | 'inherit'
|
|
894
1021
|
| 'xSmall'
|
|
@@ -907,6 +1034,7 @@ export namespace Components {
|
|
|
907
1034
|
interface SixIconButton {
|
|
908
1035
|
/**
|
|
909
1036
|
* Set to true to disable the button.
|
|
1037
|
+
* @default false
|
|
910
1038
|
*/
|
|
911
1039
|
"disabled": boolean;
|
|
912
1040
|
/**
|
|
@@ -931,6 +1059,7 @@ export namespace Components {
|
|
|
931
1059
|
"name"?: string;
|
|
932
1060
|
/**
|
|
933
1061
|
* The icon's size.
|
|
1062
|
+
* @default 'medium'
|
|
934
1063
|
*/
|
|
935
1064
|
"size": 'xSmall' | 'small' | 'medium' | 'large' | 'xLarge' | 'xxLarge' | 'xxxLarge';
|
|
936
1065
|
/**
|
|
@@ -946,34 +1075,42 @@ export namespace Components {
|
|
|
946
1075
|
interface SixInput {
|
|
947
1076
|
/**
|
|
948
1077
|
* The input's autocaptialize attribute.
|
|
1078
|
+
* @default 'off'
|
|
949
1079
|
*/
|
|
950
1080
|
"autocapitalize": string;
|
|
951
1081
|
/**
|
|
952
1082
|
* The input's autocomplete attribute.
|
|
1083
|
+
* @default 'off'
|
|
953
1084
|
*/
|
|
954
1085
|
"autocomplete": string;
|
|
955
1086
|
/**
|
|
956
1087
|
* The input's autocorrect attribute.
|
|
1088
|
+
* @default 'off'
|
|
957
1089
|
*/
|
|
958
1090
|
"autocorrect": 'on' | 'off';
|
|
959
1091
|
/**
|
|
960
1092
|
* The input's autofocus attribute.
|
|
1093
|
+
* @default false
|
|
961
1094
|
*/
|
|
962
1095
|
"autofocus": boolean;
|
|
963
1096
|
/**
|
|
964
1097
|
* Set to true to add a clear button when the input is populated.
|
|
1098
|
+
* @default false
|
|
965
1099
|
*/
|
|
966
1100
|
"clearable": boolean;
|
|
967
1101
|
/**
|
|
968
1102
|
* Set to true to disable the input.
|
|
1103
|
+
* @default false
|
|
969
1104
|
*/
|
|
970
1105
|
"disabled": boolean;
|
|
971
1106
|
/**
|
|
972
1107
|
* Internal: Styles the input for the dropdown filter search.
|
|
1108
|
+
* @default false
|
|
973
1109
|
*/
|
|
974
1110
|
"dropdownSearch": boolean;
|
|
975
1111
|
/**
|
|
976
1112
|
* The error message shown, if `invalid` is set to true.
|
|
1113
|
+
* @default ''
|
|
977
1114
|
*/
|
|
978
1115
|
"errorText": string | string[];
|
|
979
1116
|
/**
|
|
@@ -986,6 +1123,7 @@ export namespace Components {
|
|
|
986
1123
|
"getSelectionRange": () => Promise<SelectionRange>;
|
|
987
1124
|
/**
|
|
988
1125
|
* The input's help text. Alternatively, you can use the help-text slot.
|
|
1126
|
+
* @default ''
|
|
989
1127
|
*/
|
|
990
1128
|
"helpText": string;
|
|
991
1129
|
/**
|
|
@@ -994,14 +1132,17 @@ export namespace Components {
|
|
|
994
1132
|
"inputmode"?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
995
1133
|
/**
|
|
996
1134
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
1135
|
+
* @default false
|
|
997
1136
|
*/
|
|
998
1137
|
"invalid": boolean;
|
|
999
1138
|
/**
|
|
1000
1139
|
* The label text.
|
|
1140
|
+
* @default ''
|
|
1001
1141
|
*/
|
|
1002
1142
|
"label": string;
|
|
1003
1143
|
/**
|
|
1004
1144
|
* Set to render as line
|
|
1145
|
+
* @default false
|
|
1005
1146
|
*/
|
|
1006
1147
|
"line": boolean;
|
|
1007
1148
|
/**
|
|
@@ -1022,6 +1163,7 @@ export namespace Components {
|
|
|
1022
1163
|
"minlength"?: number;
|
|
1023
1164
|
/**
|
|
1024
1165
|
* The input's name attribute.
|
|
1166
|
+
* @default ''
|
|
1025
1167
|
*/
|
|
1026
1168
|
"name": string;
|
|
1027
1169
|
/**
|
|
@@ -1030,6 +1172,7 @@ export namespace Components {
|
|
|
1030
1172
|
"pattern"?: string;
|
|
1031
1173
|
/**
|
|
1032
1174
|
* Set to true to draw a pill-style input with rounded edges.
|
|
1175
|
+
* @default false
|
|
1033
1176
|
*/
|
|
1034
1177
|
"pill": boolean;
|
|
1035
1178
|
/**
|
|
@@ -1038,6 +1181,7 @@ export namespace Components {
|
|
|
1038
1181
|
"placeholder"?: string;
|
|
1039
1182
|
/**
|
|
1040
1183
|
* Set to true to make the input readonly.
|
|
1184
|
+
* @default false
|
|
1041
1185
|
*/
|
|
1042
1186
|
"readonly": boolean;
|
|
1043
1187
|
/**
|
|
@@ -1046,6 +1190,7 @@ export namespace Components {
|
|
|
1046
1190
|
"removeFocus": () => Promise<void>;
|
|
1047
1191
|
/**
|
|
1048
1192
|
* Set to true to show an asterisk beneath the label.
|
|
1193
|
+
* @default false
|
|
1049
1194
|
*/
|
|
1050
1195
|
"required": boolean;
|
|
1051
1196
|
/**
|
|
@@ -1066,10 +1211,12 @@ export namespace Components {
|
|
|
1066
1211
|
"setSelectionRange": (selectionStart: number, selectionEnd: number, selectionDirection?: SelectionRangeDirection) => Promise<void | undefined>;
|
|
1067
1212
|
/**
|
|
1068
1213
|
* The input's size.
|
|
1214
|
+
* @default 'medium'
|
|
1069
1215
|
*/
|
|
1070
1216
|
"size": 'small' | 'medium' | 'large';
|
|
1071
1217
|
/**
|
|
1072
1218
|
* Enables spell checking on the input.
|
|
1219
|
+
* @default false
|
|
1073
1220
|
*/
|
|
1074
1221
|
"spellcheck": boolean;
|
|
1075
1222
|
/**
|
|
@@ -1078,14 +1225,17 @@ export namespace Components {
|
|
|
1078
1225
|
"step"?: number;
|
|
1079
1226
|
/**
|
|
1080
1227
|
* Set to true to add a password toggle button for password inputs.
|
|
1228
|
+
* @default false
|
|
1081
1229
|
*/
|
|
1082
1230
|
"togglePassword": boolean;
|
|
1083
1231
|
/**
|
|
1084
1232
|
* The input's type.
|
|
1233
|
+
* @default 'text'
|
|
1085
1234
|
*/
|
|
1086
1235
|
"type": 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url';
|
|
1087
1236
|
/**
|
|
1088
1237
|
* The input's value attribute.
|
|
1238
|
+
* @default ''
|
|
1089
1239
|
*/
|
|
1090
1240
|
"value": string;
|
|
1091
1241
|
}
|
|
@@ -1096,10 +1246,12 @@ export namespace Components {
|
|
|
1096
1246
|
interface SixItemPicker {
|
|
1097
1247
|
/**
|
|
1098
1248
|
* Set the amount of time, in milliseconds, to wait to trigger the `six-item-picker-change-debounced` event. If you want your change debounce event to not trigger when keeping the nav button pressed before, make sure debounce is a bit bigger than timeout, otherwise keeping the button pressed will trigger the event twice: once you click (and keep pressed) and once you release
|
|
1249
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
1099
1250
|
*/
|
|
1100
1251
|
"debounce": number;
|
|
1101
1252
|
/**
|
|
1102
1253
|
* Set the amount of time, in milliseconds, to wait between switching to next item when mouse button is held pressed.
|
|
1254
|
+
* @default DEFAULT_DEBOUNCE_INSANELY_FAST
|
|
1103
1255
|
*/
|
|
1104
1256
|
"interval": number;
|
|
1105
1257
|
/**
|
|
@@ -1116,44 +1268,54 @@ export namespace Components {
|
|
|
1116
1268
|
"min"?: number | string;
|
|
1117
1269
|
/**
|
|
1118
1270
|
* Defines whether the items should be padded
|
|
1271
|
+
* @default false
|
|
1119
1272
|
*/
|
|
1120
1273
|
"padded": boolean;
|
|
1121
1274
|
/**
|
|
1122
1275
|
* Defines the character used for padding
|
|
1276
|
+
* @default '0'
|
|
1123
1277
|
*/
|
|
1124
1278
|
"paddingChar": string;
|
|
1125
1279
|
/**
|
|
1126
1280
|
* Defines whether the padding should be before or after the value. You can either use 'before' or 'after'. By default, before is selected
|
|
1281
|
+
* @default ItemPickerPaddingDirection.BEFORE
|
|
1127
1282
|
*/
|
|
1128
1283
|
"paddingDirection": ItemPickerPaddingDirection;
|
|
1129
1284
|
/**
|
|
1130
1285
|
* Defines the length of the padded area
|
|
1286
|
+
* @default 2
|
|
1131
1287
|
*/
|
|
1132
1288
|
"paddingLength": number;
|
|
1133
1289
|
/**
|
|
1134
1290
|
* Define whether the picker should to a roundtrip i.e. start at max when reaching min and vice versa.
|
|
1291
|
+
* @default true
|
|
1135
1292
|
*/
|
|
1136
1293
|
"roundtrip": boolean;
|
|
1137
1294
|
/**
|
|
1138
1295
|
* Defines how many steps should be taken when navigating
|
|
1296
|
+
* @default 1
|
|
1139
1297
|
*/
|
|
1140
1298
|
"step": number;
|
|
1141
1299
|
/**
|
|
1142
1300
|
* Set the amount of time, in milliseconds, to wait to trigger faster switching between items.
|
|
1301
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
1143
1302
|
*/
|
|
1144
1303
|
"timeout": number;
|
|
1145
1304
|
/**
|
|
1146
1305
|
* The type of items you want to rotate through.
|
|
1306
|
+
* @default ItemPickerType.NUMBER
|
|
1147
1307
|
*/
|
|
1148
1308
|
"type": ItemPickerType;
|
|
1149
1309
|
/**
|
|
1150
1310
|
* The item picker's value attribute.
|
|
1311
|
+
* @default ''
|
|
1151
1312
|
*/
|
|
1152
1313
|
"value": number | string;
|
|
1153
1314
|
}
|
|
1154
1315
|
interface SixLanguageSwitcher {
|
|
1155
1316
|
/**
|
|
1156
1317
|
* The languages which should be selectable options.
|
|
1318
|
+
* @default DEFAULT_LANGUAGES
|
|
1157
1319
|
*/
|
|
1158
1320
|
"languages": string[] | SixLanguageSwitcherInput[];
|
|
1159
1321
|
/**
|
|
@@ -1178,6 +1340,7 @@ export namespace Components {
|
|
|
1178
1340
|
interface SixLogo {
|
|
1179
1341
|
/**
|
|
1180
1342
|
* The brand of the logo. Either six or bme. Defaults to six.
|
|
1343
|
+
* @default 'six'
|
|
1181
1344
|
*/
|
|
1182
1345
|
"brand": 'six' | 'bme';
|
|
1183
1346
|
}
|
|
@@ -1188,6 +1351,7 @@ export namespace Components {
|
|
|
1188
1351
|
interface SixMainContainer {
|
|
1189
1352
|
/**
|
|
1190
1353
|
* Set to false to remove top and bottom padding.
|
|
1354
|
+
* @default true
|
|
1191
1355
|
*/
|
|
1192
1356
|
"padded": boolean;
|
|
1193
1357
|
}
|
|
@@ -1199,14 +1363,17 @@ export namespace Components {
|
|
|
1199
1363
|
interface SixMenu {
|
|
1200
1364
|
/**
|
|
1201
1365
|
* Internal: Disables handling of key presses.
|
|
1366
|
+
* @default false
|
|
1202
1367
|
*/
|
|
1203
1368
|
"disableKeyboardHandling": boolean;
|
|
1204
1369
|
/**
|
|
1205
1370
|
* Used for virtual scrolling Define how many items should be rendered in the DOM when using virtual scrolling
|
|
1371
|
+
* @default 10
|
|
1206
1372
|
*/
|
|
1207
1373
|
"itemSize": number;
|
|
1208
1374
|
/**
|
|
1209
1375
|
* Set the options to be shown in the dropdown
|
|
1376
|
+
* @default null
|
|
1210
1377
|
*/
|
|
1211
1378
|
"items": SixMenuItemData1[] | null;
|
|
1212
1379
|
/**
|
|
@@ -1215,10 +1382,12 @@ export namespace Components {
|
|
|
1215
1382
|
"itemsShown"?: number;
|
|
1216
1383
|
/**
|
|
1217
1384
|
* Set to true to remove the box-shadow
|
|
1385
|
+
* @default false
|
|
1218
1386
|
*/
|
|
1219
1387
|
"removeBoxShadow": boolean;
|
|
1220
1388
|
/**
|
|
1221
1389
|
* Used for virtual scrolling Define the debounce for listening on scrolling changes in milliseconds. The lower the number the more sensitive the component reacts to scrolling changes.
|
|
1390
|
+
* @default 15
|
|
1222
1391
|
*/
|
|
1223
1392
|
"scrollingDebounce": number;
|
|
1224
1393
|
/**
|
|
@@ -1227,6 +1396,7 @@ export namespace Components {
|
|
|
1227
1396
|
"typeToSelect": (key: string) => Promise<void>;
|
|
1228
1397
|
/**
|
|
1229
1398
|
* Defines whether the menu list will be rendered virtually i.e. only the elements actually shown (and a couple around) are actually rendered in the DOM. If you use virtual scrolling pass the elements via prop instead of via slot.
|
|
1399
|
+
* @default false
|
|
1230
1400
|
*/
|
|
1231
1401
|
"virtualScroll": boolean;
|
|
1232
1402
|
}
|
|
@@ -1245,14 +1415,17 @@ export namespace Components {
|
|
|
1245
1415
|
interface SixMenuItem {
|
|
1246
1416
|
/**
|
|
1247
1417
|
* Defines if the checked state is displayed as a checkbox or a check-icon
|
|
1418
|
+
* @default 'check'
|
|
1248
1419
|
*/
|
|
1249
1420
|
"checkType": 'checkbox' | 'check';
|
|
1250
1421
|
/**
|
|
1251
1422
|
* Internal: Draws the item in a checked state. CheckType needs to be set to 'checkbox' or 'check' to show the checked state
|
|
1423
|
+
* @default false
|
|
1252
1424
|
*/
|
|
1253
1425
|
"checked": boolean;
|
|
1254
1426
|
/**
|
|
1255
1427
|
* Set to true to draw the menu item in a disabled state.
|
|
1428
|
+
* @default false
|
|
1256
1429
|
*/
|
|
1257
1430
|
"disabled": boolean;
|
|
1258
1431
|
/**
|
|
@@ -1269,6 +1442,7 @@ export namespace Components {
|
|
|
1269
1442
|
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
1270
1443
|
/**
|
|
1271
1444
|
* A unique value to store in the menu item. This can be used as a way to identify menu items when selected.
|
|
1445
|
+
* @default ''
|
|
1272
1446
|
*/
|
|
1273
1447
|
"value": string;
|
|
1274
1448
|
}
|
|
@@ -1286,6 +1460,7 @@ export namespace Components {
|
|
|
1286
1460
|
interface SixPicto {
|
|
1287
1461
|
/**
|
|
1288
1462
|
* Defines the size of the icon.
|
|
1463
|
+
* @default 'medium'
|
|
1289
1464
|
*/
|
|
1290
1465
|
"size": 'xSmall' | 'small' | 'medium' | 'large' | 'xLarge' | 'xxLarge' | 'xxxLarge' | '4xl';
|
|
1291
1466
|
}
|
|
@@ -1297,10 +1472,12 @@ export namespace Components {
|
|
|
1297
1472
|
interface SixProgressBar {
|
|
1298
1473
|
/**
|
|
1299
1474
|
* When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state.
|
|
1475
|
+
* @default false
|
|
1300
1476
|
*/
|
|
1301
1477
|
"indeterminate": boolean;
|
|
1302
1478
|
/**
|
|
1303
1479
|
* The progress bar's percentage, 0 to 100.
|
|
1480
|
+
* @default 0
|
|
1304
1481
|
*/
|
|
1305
1482
|
"percentage": number;
|
|
1306
1483
|
}
|
|
@@ -1312,14 +1489,17 @@ export namespace Components {
|
|
|
1312
1489
|
interface SixProgressRing {
|
|
1313
1490
|
/**
|
|
1314
1491
|
* The current progress percentage, 0 - 100.
|
|
1492
|
+
* @default 0
|
|
1315
1493
|
*/
|
|
1316
1494
|
"percentage": number;
|
|
1317
1495
|
/**
|
|
1318
1496
|
* The size of the progress ring in pixels.
|
|
1497
|
+
* @default 128
|
|
1319
1498
|
*/
|
|
1320
1499
|
"size": number;
|
|
1321
1500
|
/**
|
|
1322
1501
|
* The stroke width of the progress ring in pixels.
|
|
1502
|
+
* @default 4
|
|
1323
1503
|
*/
|
|
1324
1504
|
"strokeWidth": number;
|
|
1325
1505
|
}
|
|
@@ -1331,18 +1511,22 @@ export namespace Components {
|
|
|
1331
1511
|
interface SixRadio {
|
|
1332
1512
|
/**
|
|
1333
1513
|
* Set to true to draw the radio in a checked state.
|
|
1514
|
+
* @default false
|
|
1334
1515
|
*/
|
|
1335
1516
|
"checked": boolean;
|
|
1336
1517
|
/**
|
|
1337
1518
|
* Set to true to disable the radio.
|
|
1519
|
+
* @default false
|
|
1338
1520
|
*/
|
|
1339
1521
|
"disabled": boolean;
|
|
1340
1522
|
/**
|
|
1341
1523
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
1524
|
+
* @default false
|
|
1342
1525
|
*/
|
|
1343
1526
|
"invalid": boolean;
|
|
1344
1527
|
/**
|
|
1345
1528
|
* The radio's name attribute.
|
|
1529
|
+
* @default ''
|
|
1346
1530
|
*/
|
|
1347
1531
|
"name": string;
|
|
1348
1532
|
/**
|
|
@@ -1355,6 +1539,7 @@ export namespace Components {
|
|
|
1355
1539
|
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
1356
1540
|
/**
|
|
1357
1541
|
* The radio's value attribute.
|
|
1542
|
+
* @default 'on'
|
|
1358
1543
|
*/
|
|
1359
1544
|
"value": string;
|
|
1360
1545
|
}
|
|
@@ -1366,10 +1551,12 @@ export namespace Components {
|
|
|
1366
1551
|
interface SixRange {
|
|
1367
1552
|
/**
|
|
1368
1553
|
* Set to true to disable the input.
|
|
1554
|
+
* @default false
|
|
1369
1555
|
*/
|
|
1370
1556
|
"disabled": boolean;
|
|
1371
1557
|
/**
|
|
1372
1558
|
* The error message shown, if `invalid` is set to true.
|
|
1559
|
+
* @default ''
|
|
1373
1560
|
*/
|
|
1374
1561
|
"errorText": string | string[];
|
|
1375
1562
|
/**
|
|
@@ -1378,26 +1565,32 @@ export namespace Components {
|
|
|
1378
1565
|
"errorTextCount"?: number;
|
|
1379
1566
|
/**
|
|
1380
1567
|
* The range's help text. Alternatively, you can use the help-text slot.
|
|
1568
|
+
* @default ''
|
|
1381
1569
|
*/
|
|
1382
1570
|
"helpText": string;
|
|
1383
1571
|
/**
|
|
1384
1572
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
1573
|
+
* @default false
|
|
1385
1574
|
*/
|
|
1386
1575
|
"invalid": boolean;
|
|
1387
1576
|
/**
|
|
1388
1577
|
* The label text.
|
|
1578
|
+
* @default ''
|
|
1389
1579
|
*/
|
|
1390
1580
|
"label": string;
|
|
1391
1581
|
/**
|
|
1392
1582
|
* The input's max attribute.
|
|
1583
|
+
* @default 100
|
|
1393
1584
|
*/
|
|
1394
1585
|
"max": number;
|
|
1395
1586
|
/**
|
|
1396
1587
|
* The input's min attribute.
|
|
1588
|
+
* @default 0
|
|
1397
1589
|
*/
|
|
1398
1590
|
"min": number;
|
|
1399
1591
|
/**
|
|
1400
1592
|
* The input's name attribute.
|
|
1593
|
+
* @default ''
|
|
1401
1594
|
*/
|
|
1402
1595
|
"name": string;
|
|
1403
1596
|
/**
|
|
@@ -1406,6 +1599,7 @@ export namespace Components {
|
|
|
1406
1599
|
"removeFocus": () => Promise<void>;
|
|
1407
1600
|
/**
|
|
1408
1601
|
* Set to true to show an asterisk beneath the label.
|
|
1602
|
+
* @default false
|
|
1409
1603
|
*/
|
|
1410
1604
|
"required": boolean;
|
|
1411
1605
|
/**
|
|
@@ -1414,18 +1608,22 @@ export namespace Components {
|
|
|
1414
1608
|
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
1415
1609
|
/**
|
|
1416
1610
|
* The input's step attribute.
|
|
1611
|
+
* @default 1
|
|
1417
1612
|
*/
|
|
1418
1613
|
"step": number;
|
|
1419
1614
|
/**
|
|
1420
1615
|
* The preferred placedment of the tooltip.
|
|
1616
|
+
* @default 'top'
|
|
1421
1617
|
*/
|
|
1422
1618
|
"tooltip": 'top' | 'bottom' | 'none';
|
|
1423
1619
|
/**
|
|
1424
1620
|
* A function used to format the tooltip's value.
|
|
1621
|
+
* @default (value: number) => value.toString()
|
|
1425
1622
|
*/
|
|
1426
1623
|
"tooltipFormatter": (value: number) => string;
|
|
1427
1624
|
/**
|
|
1428
1625
|
* The input's value attribute.
|
|
1626
|
+
* @default 0
|
|
1429
1627
|
*/
|
|
1430
1628
|
"value": number;
|
|
1431
1629
|
}
|
|
@@ -1436,14 +1634,17 @@ export namespace Components {
|
|
|
1436
1634
|
interface SixRoot {
|
|
1437
1635
|
/**
|
|
1438
1636
|
* Defines whether the content section should be padded
|
|
1637
|
+
* @default true
|
|
1439
1638
|
*/
|
|
1440
1639
|
"padded": boolean;
|
|
1441
1640
|
/**
|
|
1442
1641
|
* Defines the stage of the application
|
|
1642
|
+
* @default null
|
|
1443
1643
|
*/
|
|
1444
1644
|
"stage": StageType;
|
|
1445
1645
|
/**
|
|
1446
1646
|
* Defines the version of the application
|
|
1647
|
+
* @default ''
|
|
1447
1648
|
*/
|
|
1448
1649
|
"version": string;
|
|
1449
1650
|
}
|
|
@@ -1454,14 +1655,17 @@ export namespace Components {
|
|
|
1454
1655
|
interface SixSearchField {
|
|
1455
1656
|
/**
|
|
1456
1657
|
* Set to true to add a clear button when the input is populated.
|
|
1658
|
+
* @default false
|
|
1457
1659
|
*/
|
|
1458
1660
|
"clearable": boolean;
|
|
1459
1661
|
/**
|
|
1460
1662
|
* Debounce time in milliseconds, default is 300 ms
|
|
1663
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
1461
1664
|
*/
|
|
1462
1665
|
"debounce": number;
|
|
1463
1666
|
/**
|
|
1464
1667
|
* Set to true to disable the input.
|
|
1668
|
+
* @default false
|
|
1465
1669
|
*/
|
|
1466
1670
|
"disabled": boolean;
|
|
1467
1671
|
/**
|
|
@@ -1470,6 +1674,7 @@ export namespace Components {
|
|
|
1470
1674
|
"placeholder"?: string;
|
|
1471
1675
|
/**
|
|
1472
1676
|
* The input's value attribute.
|
|
1677
|
+
* @default ''
|
|
1473
1678
|
*/
|
|
1474
1679
|
"value": string;
|
|
1475
1680
|
}
|
|
@@ -1481,22 +1686,27 @@ export namespace Components {
|
|
|
1481
1686
|
interface SixSelect {
|
|
1482
1687
|
/**
|
|
1483
1688
|
* Set to true to allow async filtering. When you enter something in the search field the component will only emit an event but not filter any elements itself. You can then simply listen to the 'six-async-filter-fired' event to manage the shown menu-items yourself
|
|
1689
|
+
* @default false
|
|
1484
1690
|
*/
|
|
1485
1691
|
"asyncFilter": boolean;
|
|
1486
1692
|
/**
|
|
1487
1693
|
* Set to true to turn the six-select into an autocomplete.
|
|
1694
|
+
* @default false
|
|
1488
1695
|
*/
|
|
1489
1696
|
"autocomplete": boolean;
|
|
1490
1697
|
/**
|
|
1491
1698
|
* Set to true to add a clear button when the select is populated.
|
|
1699
|
+
* @default false
|
|
1492
1700
|
*/
|
|
1493
1701
|
"clearable": boolean;
|
|
1494
1702
|
/**
|
|
1495
1703
|
* Set to true to disable the select control.
|
|
1704
|
+
* @default false
|
|
1496
1705
|
*/
|
|
1497
1706
|
"disabled": boolean;
|
|
1498
1707
|
/**
|
|
1499
1708
|
* The error message shown, if `invalid` is set to true.
|
|
1709
|
+
* @default ''
|
|
1500
1710
|
*/
|
|
1501
1711
|
"errorText": string | string[];
|
|
1502
1712
|
/**
|
|
@@ -1505,6 +1715,7 @@ export namespace Components {
|
|
|
1505
1715
|
"errorTextCount"?: number;
|
|
1506
1716
|
/**
|
|
1507
1717
|
* Set to true to allow filtering for entries in the dropdown
|
|
1718
|
+
* @default false
|
|
1508
1719
|
*/
|
|
1509
1720
|
"filter": boolean;
|
|
1510
1721
|
/**
|
|
@@ -1517,54 +1728,67 @@ export namespace Components {
|
|
|
1517
1728
|
"filterPlaceholder"?: string;
|
|
1518
1729
|
/**
|
|
1519
1730
|
* The select's help text. Alternatively, you can use the help-text slot.
|
|
1731
|
+
* @default ''
|
|
1520
1732
|
*/
|
|
1521
1733
|
"helpText": string;
|
|
1522
1734
|
/**
|
|
1523
1735
|
* Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
|
|
1736
|
+
* @default false
|
|
1524
1737
|
*/
|
|
1525
1738
|
"hoist": boolean;
|
|
1526
1739
|
/**
|
|
1527
1740
|
* The debounce for when the input changes for autocompletes should be emitted
|
|
1741
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
1528
1742
|
*/
|
|
1529
1743
|
"inputDebounce": number;
|
|
1530
1744
|
/**
|
|
1531
1745
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
1746
|
+
* @default false
|
|
1532
1747
|
*/
|
|
1533
1748
|
"invalid": boolean;
|
|
1534
1749
|
/**
|
|
1535
1750
|
* The label text.
|
|
1751
|
+
* @default ''
|
|
1536
1752
|
*/
|
|
1537
1753
|
"label": string;
|
|
1538
1754
|
/**
|
|
1539
1755
|
* Set to render as line
|
|
1756
|
+
* @default false
|
|
1540
1757
|
*/
|
|
1541
1758
|
"line": boolean;
|
|
1542
1759
|
/**
|
|
1543
1760
|
* Set to true to enable multiselect.
|
|
1761
|
+
* @default false
|
|
1544
1762
|
*/
|
|
1545
1763
|
"multiple": boolean;
|
|
1546
1764
|
/**
|
|
1547
1765
|
* The select's name.
|
|
1766
|
+
* @default ''
|
|
1548
1767
|
*/
|
|
1549
1768
|
"name": string;
|
|
1550
1769
|
/**
|
|
1551
1770
|
* Set the options to be shown in the dropdown (alternative to setting the elements via html)
|
|
1771
|
+
* @default null
|
|
1552
1772
|
*/
|
|
1553
1773
|
"options": SixMenuItemData[] | null;
|
|
1554
1774
|
/**
|
|
1555
1775
|
* Set to true to draw a pill-style select with rounded edges.
|
|
1776
|
+
* @default false
|
|
1556
1777
|
*/
|
|
1557
1778
|
"pill": boolean;
|
|
1558
1779
|
/**
|
|
1559
1780
|
* The select's placeholder text.
|
|
1781
|
+
* @default ''
|
|
1560
1782
|
*/
|
|
1561
1783
|
"placeholder": string;
|
|
1562
1784
|
/**
|
|
1563
1785
|
* Set to true to show an asterisk beneath the label.
|
|
1786
|
+
* @default false
|
|
1564
1787
|
*/
|
|
1565
1788
|
"required": boolean;
|
|
1566
1789
|
/**
|
|
1567
1790
|
* Enables the select all button.
|
|
1791
|
+
* @default false
|
|
1568
1792
|
*/
|
|
1569
1793
|
"selectAllButton": boolean;
|
|
1570
1794
|
/**
|
|
@@ -1577,14 +1801,17 @@ export namespace Components {
|
|
|
1577
1801
|
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
1578
1802
|
/**
|
|
1579
1803
|
* The select's size.
|
|
1804
|
+
* @default 'medium'
|
|
1580
1805
|
*/
|
|
1581
1806
|
"size": 'small' | 'medium' | 'large';
|
|
1582
1807
|
/**
|
|
1583
1808
|
* The value of the control. This will be a string or an array depending on `multiple`.
|
|
1809
|
+
* @default ''
|
|
1584
1810
|
*/
|
|
1585
1811
|
"value": string | string[];
|
|
1586
1812
|
/**
|
|
1587
1813
|
* Defines whether the menu list will be rendered virtually i.e. only the elements actually shown (and a couple around) are actually rendered in the DOM. If you use virtual scrolling pass the elements via prop instead of via slot.
|
|
1814
|
+
* @default false
|
|
1588
1815
|
*/
|
|
1589
1816
|
"virtualScroll": boolean;
|
|
1590
1817
|
}
|
|
@@ -1599,10 +1826,12 @@ export namespace Components {
|
|
|
1599
1826
|
"hide": () => Promise<void>;
|
|
1600
1827
|
/**
|
|
1601
1828
|
* Indicates whether the sidebar is open. You can use this in lieu of the show/hide methods.
|
|
1829
|
+
* @default false
|
|
1602
1830
|
*/
|
|
1603
1831
|
"open": boolean;
|
|
1604
1832
|
/**
|
|
1605
1833
|
* Sidebar position
|
|
1834
|
+
* @default 'left'
|
|
1606
1835
|
*/
|
|
1607
1836
|
"position": 'left' | 'right';
|
|
1608
1837
|
/**
|
|
@@ -1623,10 +1852,12 @@ export namespace Components {
|
|
|
1623
1852
|
"toggle": () => Promise<void>;
|
|
1624
1853
|
/**
|
|
1625
1854
|
* Define whether sidebar is toggled meaning only one menu can be open at the same time
|
|
1855
|
+
* @default false
|
|
1626
1856
|
*/
|
|
1627
1857
|
"toggled": boolean;
|
|
1628
1858
|
/**
|
|
1629
1859
|
* Sidebar width
|
|
1860
|
+
* @default '16rem'
|
|
1630
1861
|
*/
|
|
1631
1862
|
"width": string;
|
|
1632
1863
|
}
|
|
@@ -1637,6 +1868,7 @@ export namespace Components {
|
|
|
1637
1868
|
interface SixSidebarItem {
|
|
1638
1869
|
/**
|
|
1639
1870
|
* Set to true to draw the sidebar item in a disabled state.
|
|
1871
|
+
* @default false
|
|
1640
1872
|
*/
|
|
1641
1873
|
"disabled": boolean;
|
|
1642
1874
|
/**
|
|
@@ -1645,14 +1877,17 @@ export namespace Components {
|
|
|
1645
1877
|
"href": string | undefined;
|
|
1646
1878
|
/**
|
|
1647
1879
|
* Icon of the item
|
|
1880
|
+
* @default ''
|
|
1648
1881
|
*/
|
|
1649
1882
|
"icon": string;
|
|
1650
1883
|
/**
|
|
1651
1884
|
* Set to true to draw the item in a selected state.
|
|
1885
|
+
* @default false
|
|
1652
1886
|
*/
|
|
1653
1887
|
"selected": boolean;
|
|
1654
1888
|
/**
|
|
1655
1889
|
* A unique value to store in the sidebar item. This can be used as a way to identify sidebar items when selected.
|
|
1890
|
+
* @default ''
|
|
1656
1891
|
*/
|
|
1657
1892
|
"value": string;
|
|
1658
1893
|
}
|
|
@@ -1667,14 +1902,17 @@ export namespace Components {
|
|
|
1667
1902
|
"href": string | undefined;
|
|
1668
1903
|
/**
|
|
1669
1904
|
* Icon of the group
|
|
1905
|
+
* @default ''
|
|
1670
1906
|
*/
|
|
1671
1907
|
"icon": string;
|
|
1672
1908
|
/**
|
|
1673
1909
|
* Title of item group
|
|
1910
|
+
* @default ''
|
|
1674
1911
|
*/
|
|
1675
1912
|
"name": string;
|
|
1676
1913
|
/**
|
|
1677
1914
|
* Indicates whether the sidebar is shown
|
|
1915
|
+
* @default false
|
|
1678
1916
|
*/
|
|
1679
1917
|
"open": boolean;
|
|
1680
1918
|
/**
|
|
@@ -1683,6 +1921,7 @@ export namespace Components {
|
|
|
1683
1921
|
"summaryIcon"?: string;
|
|
1684
1922
|
/**
|
|
1685
1923
|
* A unique value to store in the sidebar item of the group label. This can be used as a way to identify sidebar items when selected.
|
|
1924
|
+
* @default ''
|
|
1686
1925
|
*/
|
|
1687
1926
|
"value": string;
|
|
1688
1927
|
}
|
|
@@ -1704,6 +1943,7 @@ export namespace Components {
|
|
|
1704
1943
|
interface SixStageIndicator {
|
|
1705
1944
|
/**
|
|
1706
1945
|
* The indicators value attribute
|
|
1946
|
+
* @default null
|
|
1707
1947
|
*/
|
|
1708
1948
|
"stage": StageType1;
|
|
1709
1949
|
}
|
|
@@ -1715,14 +1955,17 @@ export namespace Components {
|
|
|
1715
1955
|
interface SixSwitch {
|
|
1716
1956
|
/**
|
|
1717
1957
|
* Set to true to draw the switch in a checked state.
|
|
1958
|
+
* @default false
|
|
1718
1959
|
*/
|
|
1719
1960
|
"checked": boolean;
|
|
1720
1961
|
/**
|
|
1721
1962
|
* Set to true to disable the switch.
|
|
1963
|
+
* @default false
|
|
1722
1964
|
*/
|
|
1723
1965
|
"disabled": boolean;
|
|
1724
1966
|
/**
|
|
1725
1967
|
* The error message shown, if `invalid` is set to true.
|
|
1968
|
+
* @default ''
|
|
1726
1969
|
*/
|
|
1727
1970
|
"errorText": string | string[];
|
|
1728
1971
|
/**
|
|
@@ -1731,14 +1974,17 @@ export namespace Components {
|
|
|
1731
1974
|
"errorTextCount"?: number;
|
|
1732
1975
|
/**
|
|
1733
1976
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
1977
|
+
* @default false
|
|
1734
1978
|
*/
|
|
1735
1979
|
"invalid": boolean;
|
|
1736
1980
|
/**
|
|
1737
1981
|
* The label text.
|
|
1982
|
+
* @default ''
|
|
1738
1983
|
*/
|
|
1739
1984
|
"label": string;
|
|
1740
1985
|
/**
|
|
1741
1986
|
* The switch's name attribute.
|
|
1987
|
+
* @default ''
|
|
1742
1988
|
*/
|
|
1743
1989
|
"name": string;
|
|
1744
1990
|
/**
|
|
@@ -1747,6 +1993,7 @@ export namespace Components {
|
|
|
1747
1993
|
"removeFocus": () => Promise<void>;
|
|
1748
1994
|
/**
|
|
1749
1995
|
* Set to true to show an asterisk beneath the label.
|
|
1996
|
+
* @default false
|
|
1750
1997
|
*/
|
|
1751
1998
|
"required": boolean;
|
|
1752
1999
|
/**
|
|
@@ -1755,6 +2002,7 @@ export namespace Components {
|
|
|
1755
2002
|
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
1756
2003
|
/**
|
|
1757
2004
|
* The switch's value attribute.
|
|
2005
|
+
* @default 'on'
|
|
1758
2006
|
*/
|
|
1759
2007
|
"value": string;
|
|
1760
2008
|
}
|
|
@@ -1766,18 +2014,22 @@ export namespace Components {
|
|
|
1766
2014
|
interface SixTab {
|
|
1767
2015
|
/**
|
|
1768
2016
|
* Set to true to draw the tab in an active state.
|
|
2017
|
+
* @default false
|
|
1769
2018
|
*/
|
|
1770
2019
|
"active": boolean;
|
|
1771
2020
|
/**
|
|
1772
2021
|
* When true, the tab will be rendered with a close icon.
|
|
2022
|
+
* @default false
|
|
1773
2023
|
*/
|
|
1774
2024
|
"closable": boolean;
|
|
1775
2025
|
/**
|
|
1776
2026
|
* Set to true to draw the tab in a disabled state.
|
|
2027
|
+
* @default false
|
|
1777
2028
|
*/
|
|
1778
2029
|
"disabled": boolean;
|
|
1779
2030
|
/**
|
|
1780
2031
|
* The name of the tab panel the tab will control. The panel must be located in the same tab group.
|
|
2032
|
+
* @default ''
|
|
1781
2033
|
*/
|
|
1782
2034
|
"panel": string;
|
|
1783
2035
|
/**
|
|
@@ -1797,10 +2049,12 @@ export namespace Components {
|
|
|
1797
2049
|
interface SixTabGroup {
|
|
1798
2050
|
/**
|
|
1799
2051
|
* Disables the scroll arrows that appear when tabs overflow.
|
|
2052
|
+
* @default false
|
|
1800
2053
|
*/
|
|
1801
2054
|
"noScrollControls": boolean;
|
|
1802
2055
|
/**
|
|
1803
2056
|
* The placement of the tabs.
|
|
2057
|
+
* @default 'top'
|
|
1804
2058
|
*/
|
|
1805
2059
|
"placement": 'top' | 'bottom' | 'left' | 'right';
|
|
1806
2060
|
/**
|
|
@@ -1816,10 +2070,12 @@ export namespace Components {
|
|
|
1816
2070
|
interface SixTabPanel {
|
|
1817
2071
|
/**
|
|
1818
2072
|
* When true, the tab panel will be shown.
|
|
2073
|
+
* @default false
|
|
1819
2074
|
*/
|
|
1820
2075
|
"active": boolean;
|
|
1821
2076
|
/**
|
|
1822
2077
|
* The tab panel's name.
|
|
2078
|
+
* @default ''
|
|
1823
2079
|
*/
|
|
1824
2080
|
"name": string;
|
|
1825
2081
|
}
|
|
@@ -1831,18 +2087,22 @@ export namespace Components {
|
|
|
1831
2087
|
interface SixTag {
|
|
1832
2088
|
/**
|
|
1833
2089
|
* Set to true to make the tag clearable.
|
|
2090
|
+
* @default false
|
|
1834
2091
|
*/
|
|
1835
2092
|
"clearable": boolean;
|
|
1836
2093
|
/**
|
|
1837
2094
|
* Set to true to draw a pill-style tag with rounded edges.
|
|
2095
|
+
* @default false
|
|
1838
2096
|
*/
|
|
1839
2097
|
"pill": boolean;
|
|
1840
2098
|
/**
|
|
1841
2099
|
* The tag's size.
|
|
2100
|
+
* @default 'medium'
|
|
1842
2101
|
*/
|
|
1843
2102
|
"size": 'small' | 'medium' | 'large';
|
|
1844
2103
|
/**
|
|
1845
2104
|
* The tag's type.
|
|
2105
|
+
* @default 'primary'
|
|
1846
2106
|
*/
|
|
1847
2107
|
"type": 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'action' | 'text';
|
|
1848
2108
|
}
|
|
@@ -1854,26 +2114,32 @@ export namespace Components {
|
|
|
1854
2114
|
interface SixTextarea {
|
|
1855
2115
|
/**
|
|
1856
2116
|
* The textarea's autocaptialize attribute.
|
|
2117
|
+
* @default 'off'
|
|
1857
2118
|
*/
|
|
1858
2119
|
"autocapitalize": string;
|
|
1859
2120
|
/**
|
|
1860
2121
|
* The textarea's autocomplete attribute.
|
|
2122
|
+
* @default 'off'
|
|
1861
2123
|
*/
|
|
1862
2124
|
"autocomplete": string;
|
|
1863
2125
|
/**
|
|
1864
2126
|
* The textarea's autocorrect attribute.
|
|
2127
|
+
* @default 'off'
|
|
1865
2128
|
*/
|
|
1866
2129
|
"autocorrect": 'on' | 'off';
|
|
1867
2130
|
/**
|
|
1868
2131
|
* The textarea's autofocus attribute.
|
|
2132
|
+
* @default false
|
|
1869
2133
|
*/
|
|
1870
2134
|
"autofocus": boolean;
|
|
1871
2135
|
/**
|
|
1872
2136
|
* Set to true to disable the textarea.
|
|
2137
|
+
* @default false
|
|
1873
2138
|
*/
|
|
1874
2139
|
"disabled": boolean;
|
|
1875
2140
|
/**
|
|
1876
2141
|
* The error message shown, if `invalid` is set to true.
|
|
2142
|
+
* @default ''
|
|
1877
2143
|
*/
|
|
1878
2144
|
"errorText": string | string[];
|
|
1879
2145
|
/**
|
|
@@ -1882,6 +2148,7 @@ export namespace Components {
|
|
|
1882
2148
|
"errorTextCount"?: number;
|
|
1883
2149
|
/**
|
|
1884
2150
|
* The textarea's help text. Alternatively, you can use the help-text slot.
|
|
2151
|
+
* @default ''
|
|
1885
2152
|
*/
|
|
1886
2153
|
"helpText": string;
|
|
1887
2154
|
/**
|
|
@@ -1890,10 +2157,12 @@ export namespace Components {
|
|
|
1890
2157
|
"inputmode"?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
1891
2158
|
/**
|
|
1892
2159
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
2160
|
+
* @default false
|
|
1893
2161
|
*/
|
|
1894
2162
|
"invalid": boolean;
|
|
1895
2163
|
/**
|
|
1896
2164
|
* The label text.
|
|
2165
|
+
* @default ''
|
|
1897
2166
|
*/
|
|
1898
2167
|
"label": string;
|
|
1899
2168
|
/**
|
|
@@ -1906,6 +2175,7 @@ export namespace Components {
|
|
|
1906
2175
|
"minlength"?: number;
|
|
1907
2176
|
/**
|
|
1908
2177
|
* The textarea's name attribute.
|
|
2178
|
+
* @default ''
|
|
1909
2179
|
*/
|
|
1910
2180
|
"name": string;
|
|
1911
2181
|
/**
|
|
@@ -1914,6 +2184,7 @@ export namespace Components {
|
|
|
1914
2184
|
"placeholder"?: string;
|
|
1915
2185
|
/**
|
|
1916
2186
|
* Set to true for a readonly textarea.
|
|
2187
|
+
* @default false
|
|
1917
2188
|
*/
|
|
1918
2189
|
"readonly": boolean;
|
|
1919
2190
|
/**
|
|
@@ -1922,14 +2193,17 @@ export namespace Components {
|
|
|
1922
2193
|
"removeFocus": () => Promise<void>;
|
|
1923
2194
|
/**
|
|
1924
2195
|
* Set to true to show an asterisk beneath the label.
|
|
2196
|
+
* @default false
|
|
1925
2197
|
*/
|
|
1926
2198
|
"required": boolean;
|
|
1927
2199
|
/**
|
|
1928
2200
|
* Controls how the textarea can be resized.
|
|
2201
|
+
* @default 'vertical'
|
|
1929
2202
|
*/
|
|
1930
2203
|
"resize": 'none' | 'vertical' | 'auto';
|
|
1931
2204
|
/**
|
|
1932
2205
|
* The number of rows to display by default.
|
|
2206
|
+
* @default 4
|
|
1933
2207
|
*/
|
|
1934
2208
|
"rows": number;
|
|
1935
2209
|
/**
|
|
@@ -1950,14 +2224,17 @@ export namespace Components {
|
|
|
1950
2224
|
"setSelectionRange": (selectionStart: number, selectionEnd: number, selectionDirection?: "forward" | "backward" | "none") => Promise<void | undefined>;
|
|
1951
2225
|
/**
|
|
1952
2226
|
* The textarea's size.
|
|
2227
|
+
* @default 'medium'
|
|
1953
2228
|
*/
|
|
1954
2229
|
"size": 'small' | 'medium' | 'large';
|
|
1955
2230
|
/**
|
|
1956
2231
|
* The textarea's spellcheck attribute.
|
|
2232
|
+
* @default false
|
|
1957
2233
|
*/
|
|
1958
2234
|
"spellcheck": boolean;
|
|
1959
2235
|
/**
|
|
1960
2236
|
* The textarea's value attribute.
|
|
2237
|
+
* @default ''
|
|
1961
2238
|
*/
|
|
1962
2239
|
"value": string;
|
|
1963
2240
|
}
|
|
@@ -1968,18 +2245,22 @@ export namespace Components {
|
|
|
1968
2245
|
interface SixTile {
|
|
1969
2246
|
/**
|
|
1970
2247
|
* Flag, whether the tile is closeable.
|
|
2248
|
+
* @default true
|
|
1971
2249
|
*/
|
|
1972
2250
|
"closeable": boolean;
|
|
1973
2251
|
/**
|
|
1974
2252
|
* Enables tile tooltip for tiles
|
|
2253
|
+
* @default true
|
|
1975
2254
|
*/
|
|
1976
2255
|
"disableTooltip": boolean;
|
|
1977
2256
|
/**
|
|
1978
2257
|
* Set to true to disable the tile.
|
|
2258
|
+
* @default false
|
|
1979
2259
|
*/
|
|
1980
2260
|
"disabled": boolean;
|
|
1981
2261
|
/**
|
|
1982
2262
|
* Flag, whether the tile should cast a shadow.
|
|
2263
|
+
* @default false
|
|
1983
2264
|
*/
|
|
1984
2265
|
"elevated": boolean;
|
|
1985
2266
|
/**
|
|
@@ -1992,6 +2273,7 @@ export namespace Components {
|
|
|
1992
2273
|
"iconName"?: string;
|
|
1993
2274
|
/**
|
|
1994
2275
|
* The tile's label.
|
|
2276
|
+
* @default ''
|
|
1995
2277
|
*/
|
|
1996
2278
|
"label": string;
|
|
1997
2279
|
/**
|
|
@@ -2000,6 +2282,7 @@ export namespace Components {
|
|
|
2000
2282
|
"show": () => Promise<void>;
|
|
2001
2283
|
/**
|
|
2002
2284
|
* The tile's size.
|
|
2285
|
+
* @default 'medium'
|
|
2003
2286
|
*/
|
|
2004
2287
|
"size": 'small' | 'medium' | 'large';
|
|
2005
2288
|
}
|
|
@@ -2010,10 +2293,12 @@ export namespace Components {
|
|
|
2010
2293
|
interface SixTimepicker {
|
|
2011
2294
|
/**
|
|
2012
2295
|
* Set to true to add a clear button when the input is populated.
|
|
2296
|
+
* @default false
|
|
2013
2297
|
*/
|
|
2014
2298
|
"clearable": boolean;
|
|
2015
2299
|
/**
|
|
2016
2300
|
* Set the amount of time, in milliseconds, to wait to trigger the `six-timepicker-change-debounced` event. If you want your change debounce event to not trigger when keeping the nav button pressed before, make sure debounce is a bit bigger than timeout, otherwise keeping the button pressed will trigger the event twice: once you click (and keep pressed) and once you release
|
|
2301
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
2017
2302
|
*/
|
|
2018
2303
|
"debounce": number;
|
|
2019
2304
|
/**
|
|
@@ -2022,10 +2307,12 @@ export namespace Components {
|
|
|
2022
2307
|
"defaultTime"?: string;
|
|
2023
2308
|
/**
|
|
2024
2309
|
* If `true` the component is disabled.
|
|
2310
|
+
* @default false
|
|
2025
2311
|
*/
|
|
2026
2312
|
"disabled": boolean;
|
|
2027
2313
|
/**
|
|
2028
2314
|
* The input's error text. Alternatively, you can use the error-text slot.
|
|
2315
|
+
* @default ''
|
|
2029
2316
|
*/
|
|
2030
2317
|
"errorText": string | string[];
|
|
2031
2318
|
/**
|
|
@@ -2034,38 +2321,47 @@ export namespace Components {
|
|
|
2034
2321
|
"errorTextCount"?: number;
|
|
2035
2322
|
/**
|
|
2036
2323
|
* Define the time format. Valid formats are: HH:mm:ss hh:mm:ss:aa HH:mm:ss:ms hh:mm:ss:ms:aa HH:mm hh:mm:aa HH hh:aa mm ss ms where HH is the 24 hour format and hh is the 12 hour format Please notice that when using the 12-hour-clock (hh) you always need a period indicator (aa). So the time can be parsed as either am or pm
|
|
2324
|
+
* @default 'HH:mm:ss'
|
|
2037
2325
|
*/
|
|
2038
2326
|
"format": TimeFormat;
|
|
2039
2327
|
/**
|
|
2040
2328
|
* Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
|
|
2329
|
+
* @default false
|
|
2041
2330
|
*/
|
|
2042
2331
|
"hoist": boolean;
|
|
2043
2332
|
/**
|
|
2044
2333
|
* Set the position of the icon
|
|
2334
|
+
* @default 'left'
|
|
2045
2335
|
*/
|
|
2046
2336
|
"iconPosition": 'left' | 'right';
|
|
2047
2337
|
/**
|
|
2048
2338
|
* Indicates whether the timepicker should be shown as an inline (always open) component
|
|
2339
|
+
* @default false
|
|
2049
2340
|
*/
|
|
2050
2341
|
"inline": boolean;
|
|
2051
2342
|
/**
|
|
2052
2343
|
* Set the amount of time, in milliseconds, to wait between switching to next timeunit (e.g. next hour) when mouse button is held pressed.
|
|
2344
|
+
* @default DEFAULT_DEBOUNCE_INSANELY_FAST
|
|
2053
2345
|
*/
|
|
2054
2346
|
"interval": number;
|
|
2055
2347
|
/**
|
|
2056
2348
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
2349
|
+
* @default false
|
|
2057
2350
|
*/
|
|
2058
2351
|
"invalid": boolean;
|
|
2059
2352
|
/**
|
|
2060
2353
|
* The input's label. Alternatively, you can use the label slot.
|
|
2354
|
+
* @default ''
|
|
2061
2355
|
*/
|
|
2062
2356
|
"label": string;
|
|
2063
2357
|
/**
|
|
2064
2358
|
* The input's name attribute.
|
|
2359
|
+
* @default ''
|
|
2065
2360
|
*/
|
|
2066
2361
|
"name": string;
|
|
2067
2362
|
/**
|
|
2068
2363
|
* Indicates whether the timepicker dropdown is open on startup. You can use this in lieu of the show/hide methods.
|
|
2364
|
+
* @default false
|
|
2069
2365
|
*/
|
|
2070
2366
|
"open": boolean;
|
|
2071
2367
|
/**
|
|
@@ -2078,14 +2374,17 @@ export namespace Components {
|
|
|
2078
2374
|
"placement"?: 'top' | 'bottom';
|
|
2079
2375
|
/**
|
|
2080
2376
|
* If `true` the user can only select a time via the timepicker but not directly edit the input field.
|
|
2377
|
+
* @default false
|
|
2081
2378
|
*/
|
|
2082
2379
|
"readonly": boolean;
|
|
2083
2380
|
/**
|
|
2084
2381
|
* Set to true to show an asterisk beneath the label.
|
|
2382
|
+
* @default false
|
|
2085
2383
|
*/
|
|
2086
2384
|
"required": boolean;
|
|
2087
2385
|
/**
|
|
2088
2386
|
* Define the separator to be shown between the time unit pickers. Please be aware that this property will modify the displayed separator only. The separator for a timestring is always expected to be a colon (eg. '13:52:20')
|
|
2387
|
+
* @default ':'
|
|
2089
2388
|
*/
|
|
2090
2389
|
"separator": string;
|
|
2091
2390
|
/**
|
|
@@ -2094,14 +2393,17 @@ export namespace Components {
|
|
|
2094
2393
|
"setFocus": (options?: FocusOptions) => Promise<void>;
|
|
2095
2394
|
/**
|
|
2096
2395
|
* Timepicker size.
|
|
2396
|
+
* @default 'medium'
|
|
2097
2397
|
*/
|
|
2098
2398
|
"size": 'small' | 'medium' | 'large';
|
|
2099
2399
|
/**
|
|
2100
2400
|
* Set the amount of time, in milliseconds, to wait to trigger faster switching between timeunits (e.g. hours).
|
|
2401
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
2101
2402
|
*/
|
|
2102
2403
|
"timeout": number;
|
|
2103
2404
|
/**
|
|
2104
2405
|
* The value of the timepicker provided as a string. The string mast match the provided format (or default format)
|
|
2406
|
+
* @default ''
|
|
2105
2407
|
*/
|
|
2106
2408
|
"value": string;
|
|
2107
2409
|
}
|
|
@@ -2113,14 +2415,17 @@ export namespace Components {
|
|
|
2113
2415
|
interface SixTooltip {
|
|
2114
2416
|
/**
|
|
2115
2417
|
* The tooltip's content. Alternatively, you can use the content slot.
|
|
2418
|
+
* @default ''
|
|
2116
2419
|
*/
|
|
2117
2420
|
"content": string;
|
|
2118
2421
|
/**
|
|
2119
2422
|
* Set to true to disable the tooltip, so it won't show when triggered.
|
|
2423
|
+
* @default false
|
|
2120
2424
|
*/
|
|
2121
2425
|
"disabled": boolean;
|
|
2122
2426
|
/**
|
|
2123
2427
|
* The distance in pixels from which to offset the tooltip away from its target.
|
|
2428
|
+
* @default 10
|
|
2124
2429
|
*/
|
|
2125
2430
|
"distance": number;
|
|
2126
2431
|
/**
|
|
@@ -2129,10 +2434,12 @@ export namespace Components {
|
|
|
2129
2434
|
"hide": () => Promise<void>;
|
|
2130
2435
|
/**
|
|
2131
2436
|
* Indicates whether the tooltip is open. You can use this in lieu of the show/hide methods.
|
|
2437
|
+
* @default false
|
|
2132
2438
|
*/
|
|
2133
2439
|
"open": boolean;
|
|
2134
2440
|
/**
|
|
2135
2441
|
* The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip inside the viewport.
|
|
2442
|
+
* @default 'top'
|
|
2136
2443
|
*/
|
|
2137
2444
|
"placement": | 'top'
|
|
2138
2445
|
| 'top-start'
|
|
@@ -2152,10 +2459,12 @@ export namespace Components {
|
|
|
2152
2459
|
"show": () => Promise<void>;
|
|
2153
2460
|
/**
|
|
2154
2461
|
* The distance in pixels from which to offset the tooltip along its target.
|
|
2462
|
+
* @default 0
|
|
2155
2463
|
*/
|
|
2156
2464
|
"skidding": number;
|
|
2157
2465
|
/**
|
|
2158
2466
|
* Controls how the tooltip is activated. Possible options include `click`, `hover`, `focus`, and `manual`. Multiple options can be passed by separating them with a space. When manual is used, the tooltip must be activated programmatically.
|
|
2467
|
+
* @default 'hover focus'
|
|
2159
2468
|
*/
|
|
2160
2469
|
"trigger": string;
|
|
2161
2470
|
}
|
|
@@ -2454,7 +2763,7 @@ declare global {
|
|
|
2454
2763
|
"six-dialog-hide": EmptyPayload;
|
|
2455
2764
|
"six-dialog-after-hide": EmptyPayload;
|
|
2456
2765
|
"six-dialog-initial-focus": EmptyPayload;
|
|
2457
|
-
"six-dialog-
|
|
2766
|
+
"six-dialog-request-close": SixDialogRequestClose;
|
|
2458
2767
|
}
|
|
2459
2768
|
/**
|
|
2460
2769
|
* @since 1.0
|
|
@@ -2481,7 +2790,7 @@ declare global {
|
|
|
2481
2790
|
"six-drawer-hide": EmptyPayload;
|
|
2482
2791
|
"six-drawer-after-hide": EmptyPayload;
|
|
2483
2792
|
"six-drawer-initial-focus": EmptyPayload;
|
|
2484
|
-
"six-drawer-
|
|
2793
|
+
"six-drawer-request-close": SixDrawerRequestClose;
|
|
2485
2794
|
}
|
|
2486
2795
|
/**
|
|
2487
2796
|
* @since 1.0
|
|
@@ -3294,10 +3603,12 @@ declare namespace LocalJSX {
|
|
|
3294
3603
|
interface SixAlert {
|
|
3295
3604
|
/**
|
|
3296
3605
|
* Set to true to make the alert closable.
|
|
3606
|
+
* @default false
|
|
3297
3607
|
*/
|
|
3298
3608
|
"closable"?: boolean;
|
|
3299
3609
|
/**
|
|
3300
3610
|
* The length of time, in milliseconds, the alert will show before closing itself. If the user hovers over the toast alert, the timer will pause. On leaving the element with the mouse, the timer resets.
|
|
3611
|
+
* @default Infinity
|
|
3301
3612
|
*/
|
|
3302
3613
|
"duration"?: number;
|
|
3303
3614
|
/**
|
|
@@ -3318,10 +3629,12 @@ declare namespace LocalJSX {
|
|
|
3318
3629
|
"onSix-alert-show"?: (event: SixAlertCustomEvent<EmptyPayload>) => void;
|
|
3319
3630
|
/**
|
|
3320
3631
|
* Indicates whether or not the alert is open. You can use this in lieu of the show/hide methods.
|
|
3632
|
+
* @default false
|
|
3321
3633
|
*/
|
|
3322
3634
|
"open"?: boolean;
|
|
3323
3635
|
/**
|
|
3324
3636
|
* The type of alert.
|
|
3637
|
+
* @default 'primary'
|
|
3325
3638
|
*/
|
|
3326
3639
|
"type"?: AlertType;
|
|
3327
3640
|
}
|
|
@@ -3333,18 +3646,22 @@ declare namespace LocalJSX {
|
|
|
3333
3646
|
interface SixAvatar {
|
|
3334
3647
|
/**
|
|
3335
3648
|
* Alternative text for the image.
|
|
3649
|
+
* @default ''
|
|
3336
3650
|
*/
|
|
3337
3651
|
"alt"?: string;
|
|
3338
3652
|
/**
|
|
3339
3653
|
* The image source to use for the avatar.
|
|
3654
|
+
* @default ''
|
|
3340
3655
|
*/
|
|
3341
3656
|
"image"?: string;
|
|
3342
3657
|
/**
|
|
3343
3658
|
* Initials to use as a fallback when no image is available (1-2 characters max recommended).
|
|
3659
|
+
* @default ''
|
|
3344
3660
|
*/
|
|
3345
3661
|
"initials"?: string;
|
|
3346
3662
|
/**
|
|
3347
3663
|
* The shape of the avatar.
|
|
3664
|
+
* @default 'circle'
|
|
3348
3665
|
*/
|
|
3349
3666
|
"shape"?: 'circle' | 'square' | 'rounded';
|
|
3350
3667
|
}
|
|
@@ -3356,14 +3673,17 @@ declare namespace LocalJSX {
|
|
|
3356
3673
|
interface SixBadge {
|
|
3357
3674
|
/**
|
|
3358
3675
|
* Set to true to draw a pill-style badge with rounded edges.
|
|
3676
|
+
* @default false
|
|
3359
3677
|
*/
|
|
3360
3678
|
"pill"?: boolean;
|
|
3361
3679
|
/**
|
|
3362
3680
|
* Set to true to make the badge pulsate to draw attention.
|
|
3681
|
+
* @default false
|
|
3363
3682
|
*/
|
|
3364
3683
|
"pulse"?: boolean;
|
|
3365
3684
|
/**
|
|
3366
3685
|
* The badge's type.
|
|
3686
|
+
* @default 'primary'
|
|
3367
3687
|
*/
|
|
3368
3688
|
"type"?: 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info' | 'action';
|
|
3369
3689
|
}
|
|
@@ -3375,14 +3695,17 @@ declare namespace LocalJSX {
|
|
|
3375
3695
|
interface SixButton {
|
|
3376
3696
|
/**
|
|
3377
3697
|
* Set to true to draw the button with a caret for use with dropdowns, popovers, etc.
|
|
3698
|
+
* @default false
|
|
3378
3699
|
*/
|
|
3379
3700
|
"caret"?: boolean;
|
|
3380
3701
|
/**
|
|
3381
3702
|
* Set to true to draw a circle button.
|
|
3703
|
+
* @default false
|
|
3382
3704
|
*/
|
|
3383
3705
|
"circle"?: boolean;
|
|
3384
3706
|
/**
|
|
3385
3707
|
* Set to true to disable the button.
|
|
3708
|
+
* @default false
|
|
3386
3709
|
*/
|
|
3387
3710
|
"disabled"?: boolean;
|
|
3388
3711
|
/**
|
|
@@ -3395,10 +3718,12 @@ declare namespace LocalJSX {
|
|
|
3395
3718
|
"href"?: string;
|
|
3396
3719
|
/**
|
|
3397
3720
|
* Set to true to draw the button in a loading state.
|
|
3721
|
+
* @default false
|
|
3398
3722
|
*/
|
|
3399
3723
|
"loading"?: boolean;
|
|
3400
3724
|
/**
|
|
3401
3725
|
* An optional name for the button. Ignored when `href` is set.
|
|
3726
|
+
* @default ''
|
|
3402
3727
|
*/
|
|
3403
3728
|
"name"?: string;
|
|
3404
3729
|
/**
|
|
@@ -3411,18 +3736,22 @@ declare namespace LocalJSX {
|
|
|
3411
3736
|
"onSix-button-focus"?: (event: SixButtonCustomEvent<EmptyPayload>) => void;
|
|
3412
3737
|
/**
|
|
3413
3738
|
* Set to true to draw a pill-style button with rounded edges.
|
|
3739
|
+
* @default false
|
|
3414
3740
|
*/
|
|
3415
3741
|
"pill"?: boolean;
|
|
3416
3742
|
/**
|
|
3417
3743
|
* Indicates if activating the button should reset the form.
|
|
3744
|
+
* @default false
|
|
3418
3745
|
*/
|
|
3419
3746
|
"reset"?: boolean;
|
|
3420
3747
|
/**
|
|
3421
3748
|
* The button's size.
|
|
3749
|
+
* @default 'medium'
|
|
3422
3750
|
*/
|
|
3423
3751
|
"size"?: 'small' | 'medium' | 'large';
|
|
3424
3752
|
/**
|
|
3425
3753
|
* Indicates if activating the button should submit the form. Ignored when `href` is set.
|
|
3754
|
+
* @default false
|
|
3426
3755
|
*/
|
|
3427
3756
|
"submit"?: boolean;
|
|
3428
3757
|
/**
|
|
@@ -3431,6 +3760,7 @@ declare namespace LocalJSX {
|
|
|
3431
3760
|
"target"?: '_blank' | '_parent' | '_self' | '_top';
|
|
3432
3761
|
/**
|
|
3433
3762
|
* The button's type.
|
|
3763
|
+
* @default 'primary'
|
|
3434
3764
|
*/
|
|
3435
3765
|
"type"?: | 'secondary'
|
|
3436
3766
|
| 'primary'
|
|
@@ -3442,6 +3772,7 @@ declare namespace LocalJSX {
|
|
|
3442
3772
|
| 'action-outline';
|
|
3443
3773
|
/**
|
|
3444
3774
|
* An optional value for the button. Ignored when `href` is set.
|
|
3775
|
+
* @default ''
|
|
3445
3776
|
*/
|
|
3446
3777
|
"value"?: string;
|
|
3447
3778
|
}
|
|
@@ -3459,14 +3790,17 @@ declare namespace LocalJSX {
|
|
|
3459
3790
|
interface SixCheckbox {
|
|
3460
3791
|
/**
|
|
3461
3792
|
* Set to true to draw the checkbox in a checked state.
|
|
3793
|
+
* @default false
|
|
3462
3794
|
*/
|
|
3463
3795
|
"checked"?: boolean;
|
|
3464
3796
|
/**
|
|
3465
3797
|
* Set to true to disable the checkbox.
|
|
3798
|
+
* @default false
|
|
3466
3799
|
*/
|
|
3467
3800
|
"disabled"?: boolean;
|
|
3468
3801
|
/**
|
|
3469
3802
|
* The error message shown, if `invalid` is set to true.
|
|
3803
|
+
* @default ''
|
|
3470
3804
|
*/
|
|
3471
3805
|
"errorText"?: string | string[];
|
|
3472
3806
|
/**
|
|
@@ -3475,18 +3809,22 @@ declare namespace LocalJSX {
|
|
|
3475
3809
|
"errorTextCount"?: number;
|
|
3476
3810
|
/**
|
|
3477
3811
|
* Set to true to draw the checkbox in an indeterminate state.
|
|
3812
|
+
* @default false
|
|
3478
3813
|
*/
|
|
3479
3814
|
"indeterminate"?: boolean;
|
|
3480
3815
|
/**
|
|
3481
3816
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
3817
|
+
* @default false
|
|
3482
3818
|
*/
|
|
3483
3819
|
"invalid"?: boolean;
|
|
3484
3820
|
/**
|
|
3485
3821
|
* The label text.
|
|
3822
|
+
* @default ''
|
|
3486
3823
|
*/
|
|
3487
3824
|
"label"?: string;
|
|
3488
3825
|
/**
|
|
3489
3826
|
* The checkbox's name attribute.
|
|
3827
|
+
* @default ''
|
|
3490
3828
|
*/
|
|
3491
3829
|
"name"?: string;
|
|
3492
3830
|
/**
|
|
@@ -3503,10 +3841,12 @@ declare namespace LocalJSX {
|
|
|
3503
3841
|
"onSix-checkbox-focus"?: (event: SixCheckboxCustomEvent<EmptyPayload>) => void;
|
|
3504
3842
|
/**
|
|
3505
3843
|
* Set to true to show an asterisk beneath the label.
|
|
3844
|
+
* @default false
|
|
3506
3845
|
*/
|
|
3507
3846
|
"required"?: boolean;
|
|
3508
3847
|
/**
|
|
3509
3848
|
* The value of the checkbox does not mean if it's checked or not, use the `checked` property for that. The value of a checkbox is analogous to the value of an `<input type="checkbox">`, it's only used when the checkbox participates in a native `<form>`.
|
|
3849
|
+
* @default 'on'
|
|
3510
3850
|
*/
|
|
3511
3851
|
"value"?: string;
|
|
3512
3852
|
}
|
|
@@ -3518,22 +3858,27 @@ declare namespace LocalJSX {
|
|
|
3518
3858
|
interface SixDate {
|
|
3519
3859
|
/**
|
|
3520
3860
|
* Callback to determine which dates in the picker should be selectable.
|
|
3861
|
+
* @default () => true
|
|
3521
3862
|
*/
|
|
3522
3863
|
"allowedDates"?: (date: string) => boolean;
|
|
3523
3864
|
/**
|
|
3524
3865
|
* Set to true to add a clear button when the input is populated.
|
|
3866
|
+
* @default false
|
|
3525
3867
|
*/
|
|
3526
3868
|
"clearable"?: boolean;
|
|
3527
3869
|
/**
|
|
3528
3870
|
* Defines the format pattern for displaying dates and how dates can be entered via keyboard. The parser accepts flexible input that doesn't strictly match the format pattern. Input with missing leading zeros or incomplete years will be automatically normalized. For example, with the pattern "dd.MM.yyyy": "1.1.2025" becomes "01.01.2025" and "1.1.225" becomes "01.01.0225". Defaults to "dd.MM.yyyy". Available patterns: - Year: "yyyy" (e.g., "2021") - Month: "MM" (e.g., "01" for January) or "M" (e.g., "1" for January) - Day: "dd" (e.g., "08" for the 8th) or "d" (e.g., "8" for the 8th) Examples: - "dd.MM.yyyy" -> "31.01.2024" - "yyyy-MM-dd" -> "2024-01-31" - "d.M.yyyy" -> "31.1.2024"
|
|
3871
|
+
* @default 'dd.MM.yyyy'
|
|
3529
3872
|
*/
|
|
3530
3873
|
"dateFormat"?: string;
|
|
3531
3874
|
/**
|
|
3532
3875
|
* If `true` the component is disabled.
|
|
3876
|
+
* @default false
|
|
3533
3877
|
*/
|
|
3534
3878
|
"disabled"?: boolean;
|
|
3535
3879
|
/**
|
|
3536
3880
|
* The error message shown, if `invalid` is set to true.
|
|
3881
|
+
* @default ''
|
|
3537
3882
|
*/
|
|
3538
3883
|
"errorText"?: string | string[];
|
|
3539
3884
|
/**
|
|
@@ -3542,18 +3887,22 @@ declare namespace LocalJSX {
|
|
|
3542
3887
|
"errorTextCount"?: number;
|
|
3543
3888
|
/**
|
|
3544
3889
|
* The input's help text. Alternatively, you can use the help-text slot.
|
|
3890
|
+
* @default ''
|
|
3545
3891
|
*/
|
|
3546
3892
|
"helpText"?: string;
|
|
3547
3893
|
/**
|
|
3548
3894
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
3895
|
+
* @default false
|
|
3549
3896
|
*/
|
|
3550
3897
|
"invalid"?: boolean;
|
|
3551
3898
|
/**
|
|
3552
3899
|
* The label text.
|
|
3900
|
+
* @default ''
|
|
3553
3901
|
*/
|
|
3554
3902
|
"label"?: string;
|
|
3555
3903
|
/**
|
|
3556
3904
|
* The language used to render the weekdays and months.
|
|
3905
|
+
* @default 'en'
|
|
3557
3906
|
*/
|
|
3558
3907
|
"language"?: Language;
|
|
3559
3908
|
/**
|
|
@@ -3566,6 +3915,7 @@ declare namespace LocalJSX {
|
|
|
3566
3915
|
"min"?: string;
|
|
3567
3916
|
/**
|
|
3568
3917
|
* The input's name attribute.
|
|
3918
|
+
* @default ''
|
|
3569
3919
|
*/
|
|
3570
3920
|
"name"?: string;
|
|
3571
3921
|
/**
|
|
@@ -3582,18 +3932,22 @@ declare namespace LocalJSX {
|
|
|
3582
3932
|
"placeholder"?: string;
|
|
3583
3933
|
/**
|
|
3584
3934
|
* If `true` the user can only select a date via the component in the popup but not directly edit the input field.
|
|
3935
|
+
* @default false
|
|
3585
3936
|
*/
|
|
3586
3937
|
"readonly"?: boolean;
|
|
3587
3938
|
/**
|
|
3588
3939
|
* Set to true to show an asterisk beneath the label.
|
|
3940
|
+
* @default false
|
|
3589
3941
|
*/
|
|
3590
3942
|
"required"?: boolean;
|
|
3591
3943
|
/**
|
|
3592
3944
|
* The size of the date input field.
|
|
3945
|
+
* @default 'medium'
|
|
3593
3946
|
*/
|
|
3594
3947
|
"size"?: 'small' | 'medium' | 'large';
|
|
3595
3948
|
/**
|
|
3596
3949
|
* The value of the form field in ISO 8601 date format (yyyy-MM-dd). Example: '2024-01-01'. When an invalid date is provided, it will be replaced with an empty string (''), matching the behavior of native HTML <input type="date">. The displayed format can be customized using the dateFormat property, but the underlying value will always be stored in ISO format.
|
|
3950
|
+
* @default ''
|
|
3597
3951
|
*/
|
|
3598
3952
|
"value"?: string | '';
|
|
3599
3953
|
}
|
|
@@ -3604,14 +3958,17 @@ declare namespace LocalJSX {
|
|
|
3604
3958
|
interface SixDatepicker {
|
|
3605
3959
|
/**
|
|
3606
3960
|
* Callback to determine which date in the datepicker should be selectable. the callback function will get a datestring as an argument, e.g. '2021-07-04' Usage e.g.: const datepicker = document.getElementById('allowed-date-picker'); datepicker.allowedDates = datestring => parseInt(datestring.split('-')[2], 10) % 2 === 0;
|
|
3961
|
+
* @default () => true
|
|
3607
3962
|
*/
|
|
3608
3963
|
"allowedDates"?: (date: Date) => boolean;
|
|
3609
3964
|
/**
|
|
3610
3965
|
* Set to true to add a clear button when the input is populated.
|
|
3966
|
+
* @default false
|
|
3611
3967
|
*/
|
|
3612
3968
|
"clearable"?: boolean;
|
|
3613
3969
|
/**
|
|
3614
3970
|
* Closes the datepicker dropdown after selection
|
|
3971
|
+
* @default this.type === 'date'
|
|
3615
3972
|
*/
|
|
3616
3973
|
"closeOnSelect"?: boolean;
|
|
3617
3974
|
/**
|
|
@@ -3620,10 +3977,12 @@ declare namespace LocalJSX {
|
|
|
3620
3977
|
"containingElement"?: HTMLElement;
|
|
3621
3978
|
/**
|
|
3622
3979
|
* Define the dateFormat. Valid formats are: 'dd.mm.yyyy' 'yyyy-mm-dd' 'dd-mm-yyyy' 'dd/mm/yyyy' 'yyyy/mm/dd' 'dd.mm.yy' 'yy-mm-dd' 'dd-mm-yy' 'dd/mm/yy' 'yy/mm/dd'
|
|
3980
|
+
* @default SixDateFormats.DDMMYYY_DOT
|
|
3623
3981
|
*/
|
|
3624
3982
|
"dateFormat"?: SixDateFormats;
|
|
3625
3983
|
/**
|
|
3626
3984
|
* Set the amount of time, in milliseconds, to wait to trigger the `dateChange` event after each keystroke.
|
|
3985
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
3627
3986
|
*/
|
|
3628
3987
|
"debounce"?: number;
|
|
3629
3988
|
/**
|
|
@@ -3632,10 +3991,12 @@ declare namespace LocalJSX {
|
|
|
3632
3991
|
"defaultDate"?: string;
|
|
3633
3992
|
/**
|
|
3634
3993
|
* If `true` the component is disabled.
|
|
3994
|
+
* @default false
|
|
3635
3995
|
*/
|
|
3636
3996
|
"disabled"?: boolean;
|
|
3637
3997
|
/**
|
|
3638
3998
|
* The error message shown, if `invalid` is set to true.
|
|
3999
|
+
* @default ''
|
|
3639
4000
|
*/
|
|
3640
4001
|
"errorText"?: string | string[];
|
|
3641
4002
|
/**
|
|
@@ -3644,26 +4005,32 @@ declare namespace LocalJSX {
|
|
|
3644
4005
|
"errorTextCount"?: number;
|
|
3645
4006
|
/**
|
|
3646
4007
|
* Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
|
|
4008
|
+
* @default false
|
|
3647
4009
|
*/
|
|
3648
4010
|
"hoist"?: boolean;
|
|
3649
4011
|
/**
|
|
3650
4012
|
* Set the position of the icon
|
|
4013
|
+
* @default 'left'
|
|
3651
4014
|
*/
|
|
3652
4015
|
"iconPosition"?: 'left' | 'right';
|
|
3653
4016
|
/**
|
|
3654
4017
|
* Indicates whether or not the calendar should be shown as an inline (always open) component
|
|
4018
|
+
* @default false
|
|
3655
4019
|
*/
|
|
3656
4020
|
"inline"?: boolean;
|
|
3657
4021
|
/**
|
|
3658
4022
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
4023
|
+
* @default false
|
|
3659
4024
|
*/
|
|
3660
4025
|
"invalid"?: boolean;
|
|
3661
4026
|
/**
|
|
3662
4027
|
* The label text.
|
|
4028
|
+
* @default ''
|
|
3663
4029
|
*/
|
|
3664
4030
|
"label"?: string;
|
|
3665
4031
|
/**
|
|
3666
4032
|
* The language used to render the weekdays and months.
|
|
4033
|
+
* @default 'en'
|
|
3667
4034
|
*/
|
|
3668
4035
|
"locale"?: 'en' | 'de' | 'fr' | 'it' | 'es';
|
|
3669
4036
|
/**
|
|
@@ -3676,6 +4043,7 @@ declare namespace LocalJSX {
|
|
|
3676
4043
|
"min"?: Date;
|
|
3677
4044
|
/**
|
|
3678
4045
|
* The input's name attribute.
|
|
4046
|
+
* @default ''
|
|
3679
4047
|
*/
|
|
3680
4048
|
"name"?: string;
|
|
3681
4049
|
/**
|
|
@@ -3692,6 +4060,7 @@ declare namespace LocalJSX {
|
|
|
3692
4060
|
"onSix-datepicker-select"?: (event: SixDatepickerCustomEvent<SixDatepickerSelectPayload>) => void;
|
|
3693
4061
|
/**
|
|
3694
4062
|
* Indicates whether or not the calendar dropdown is open on startup. You can use this in lieu of the show/hide methods.
|
|
4063
|
+
* @default false
|
|
3695
4064
|
*/
|
|
3696
4065
|
"open"?: boolean;
|
|
3697
4066
|
/**
|
|
@@ -3704,18 +4073,22 @@ declare namespace LocalJSX {
|
|
|
3704
4073
|
"placement"?: 'top' | 'bottom';
|
|
3705
4074
|
/**
|
|
3706
4075
|
* If `true` the user can only select a date via the component in the popup, but not directly edit the input field.
|
|
4076
|
+
* @default false
|
|
3707
4077
|
*/
|
|
3708
4078
|
"readonly"?: boolean;
|
|
3709
4079
|
/**
|
|
3710
4080
|
* Set to true to show an asterisk beneath the label.
|
|
4081
|
+
* @default false
|
|
3711
4082
|
*/
|
|
3712
4083
|
"required"?: boolean;
|
|
3713
4084
|
/**
|
|
3714
4085
|
* Datepicker size.
|
|
4086
|
+
* @default 'medium'
|
|
3715
4087
|
*/
|
|
3716
4088
|
"size"?: 'small' | 'medium' | 'large';
|
|
3717
4089
|
/**
|
|
3718
4090
|
* Set the type.
|
|
4091
|
+
* @default 'date'
|
|
3719
4092
|
*/
|
|
3720
4093
|
"type"?: 'date' | 'date-time';
|
|
3721
4094
|
/**
|
|
@@ -3731,14 +4104,17 @@ declare namespace LocalJSX {
|
|
|
3731
4104
|
interface SixDetails {
|
|
3732
4105
|
/**
|
|
3733
4106
|
* Set to true to prevent the user from toggling the details.
|
|
4107
|
+
* @default false
|
|
3734
4108
|
*/
|
|
3735
4109
|
"disabled"?: boolean;
|
|
3736
4110
|
/**
|
|
3737
4111
|
* Set to false when you want to hide the summary icon and disable the open/close mechanism. Usually not needed, but used internally by 'six-sidebar-item-group'
|
|
4112
|
+
* @default true
|
|
3738
4113
|
*/
|
|
3739
4114
|
"hasContent"?: boolean;
|
|
3740
4115
|
/**
|
|
3741
4116
|
* Set to true when you want to use six-details inline e.g. in a sidebar
|
|
4117
|
+
* @default false
|
|
3742
4118
|
*/
|
|
3743
4119
|
"inline"?: boolean;
|
|
3744
4120
|
/**
|
|
@@ -3759,14 +4135,17 @@ declare namespace LocalJSX {
|
|
|
3759
4135
|
"onSix-details-show"?: (event: SixDetailsCustomEvent<EmptyPayload>) => void;
|
|
3760
4136
|
/**
|
|
3761
4137
|
* Indicates whether the details is open. You can use this in lieu of the show/hide methods.
|
|
4138
|
+
* @default false
|
|
3762
4139
|
*/
|
|
3763
4140
|
"open"?: boolean;
|
|
3764
4141
|
/**
|
|
3765
4142
|
* Set to true when you want details without content to be selectable. This is important if you e.g. have a toggled sidebar where some menus have no children
|
|
4143
|
+
* @default false
|
|
3766
4144
|
*/
|
|
3767
4145
|
"selectableEmpty"?: boolean;
|
|
3768
4146
|
/**
|
|
3769
4147
|
* The summary to show in the details header. If you need to display HTML, use the `summary` slot instead.
|
|
4148
|
+
* @default ''
|
|
3770
4149
|
*/
|
|
3771
4150
|
"summary"?: string;
|
|
3772
4151
|
/**
|
|
@@ -3775,6 +4154,7 @@ declare namespace LocalJSX {
|
|
|
3775
4154
|
"summaryIcon"?: string;
|
|
3776
4155
|
/**
|
|
3777
4156
|
* The icon's size.
|
|
4157
|
+
* @default 'inherit'
|
|
3778
4158
|
*/
|
|
3779
4159
|
"summaryIconSize"?: | 'inherit'
|
|
3780
4160
|
| 'xSmall'
|
|
@@ -3793,10 +4173,12 @@ declare namespace LocalJSX {
|
|
|
3793
4173
|
interface SixDialog {
|
|
3794
4174
|
/**
|
|
3795
4175
|
* The dialog's label as displayed in the header. You should always include a relevant label even when using `no-header`, as it is required for proper accessibility.
|
|
4176
|
+
* @default ''
|
|
3796
4177
|
*/
|
|
3797
4178
|
"label"?: string;
|
|
3798
4179
|
/**
|
|
3799
4180
|
* Set to true to disable the header. This will also remove the default close button, so please ensure you provide an easy, accessible way for users to dismiss the dialog.
|
|
4181
|
+
* @default false
|
|
3800
4182
|
*/
|
|
3801
4183
|
"noHeader"?: boolean;
|
|
3802
4184
|
/**
|
|
@@ -3816,15 +4198,16 @@ declare namespace LocalJSX {
|
|
|
3816
4198
|
*/
|
|
3817
4199
|
"onSix-dialog-initial-focus"?: (event: SixDialogCustomEvent<EmptyPayload>) => void;
|
|
3818
4200
|
/**
|
|
3819
|
-
* Emitted when the overlay
|
|
4201
|
+
* Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in destructive behavior such as data loss.
|
|
3820
4202
|
*/
|
|
3821
|
-
"onSix-dialog-
|
|
4203
|
+
"onSix-dialog-request-close"?: (event: SixDialogCustomEvent<SixDialogRequestClose>) => void;
|
|
3822
4204
|
/**
|
|
3823
4205
|
* Emitted when the dialog opens. Calling `event.preventDefault()` will prevent it from being opened.
|
|
3824
4206
|
*/
|
|
3825
4207
|
"onSix-dialog-show"?: (event: SixDialogCustomEvent<EmptyPayload>) => void;
|
|
3826
4208
|
/**
|
|
3827
4209
|
* Indicates whether the dialog is open. You can use this in lieu of the show/hide methods.
|
|
4210
|
+
* @default false
|
|
3828
4211
|
*/
|
|
3829
4212
|
"open"?: boolean;
|
|
3830
4213
|
}
|
|
@@ -3836,14 +4219,17 @@ declare namespace LocalJSX {
|
|
|
3836
4219
|
interface SixDrawer {
|
|
3837
4220
|
/**
|
|
3838
4221
|
* By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of its parent element, set this prop and add `position: relative` to the parent.
|
|
4222
|
+
* @default false
|
|
3839
4223
|
*/
|
|
3840
4224
|
"contained"?: boolean;
|
|
3841
4225
|
/**
|
|
3842
4226
|
* The drawer's label as displayed in the header. You should always include a relevant label even when using `no-header`, as it is required for proper accessibility.
|
|
4227
|
+
* @default ''
|
|
3843
4228
|
*/
|
|
3844
4229
|
"label"?: string;
|
|
3845
4230
|
/**
|
|
3846
4231
|
* Removes the header. This will also remove the default close button, so please ensure you provide an easy, accessible way for users to dismiss the drawer.
|
|
4232
|
+
* @default false
|
|
3847
4233
|
*/
|
|
3848
4234
|
"noHeader"?: boolean;
|
|
3849
4235
|
/**
|
|
@@ -3863,19 +4249,21 @@ declare namespace LocalJSX {
|
|
|
3863
4249
|
*/
|
|
3864
4250
|
"onSix-drawer-initial-focus"?: (event: SixDrawerCustomEvent<EmptyPayload>) => void;
|
|
3865
4251
|
/**
|
|
3866
|
-
* Emitted when the overlay
|
|
4252
|
+
* Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in destructive behavior such as data loss.
|
|
3867
4253
|
*/
|
|
3868
|
-
"onSix-drawer-
|
|
4254
|
+
"onSix-drawer-request-close"?: (event: SixDrawerCustomEvent<SixDrawerRequestClose>) => void;
|
|
3869
4255
|
/**
|
|
3870
4256
|
* Emitted when the drawer opens. Calling `event.preventDefault()` will prevent it from being opened.
|
|
3871
4257
|
*/
|
|
3872
4258
|
"onSix-drawer-show"?: (event: SixDrawerCustomEvent<EmptyPayload>) => void;
|
|
3873
4259
|
/**
|
|
3874
4260
|
* Indicates whether the drawer is open. You can use this in lieu of the show/hide methods.
|
|
4261
|
+
* @default false
|
|
3875
4262
|
*/
|
|
3876
4263
|
"open"?: boolean;
|
|
3877
4264
|
/**
|
|
3878
4265
|
* The direction from which the drawer will open.
|
|
4266
|
+
* @default 'right'
|
|
3879
4267
|
*/
|
|
3880
4268
|
"placement"?: 'top' | 'right' | 'bottom' | 'left';
|
|
3881
4269
|
}
|
|
@@ -3887,14 +4275,17 @@ declare namespace LocalJSX {
|
|
|
3887
4275
|
interface SixDropdown {
|
|
3888
4276
|
/**
|
|
3889
4277
|
* Set to true to allow async filtering. When you enter something in the search field the component will only emit an event but not filter any elements itself. You can then simply listen to the 'six-async-filter-fired' event to manage the shown menu-items yourself
|
|
4278
|
+
* @default false
|
|
3890
4279
|
*/
|
|
3891
4280
|
"asyncFilter"?: boolean;
|
|
3892
4281
|
/**
|
|
3893
4282
|
* By default the search field will be focused when opening a dropdown with filtering enabled.
|
|
4283
|
+
* @default true
|
|
3894
4284
|
*/
|
|
3895
4285
|
"autofocusFilter"?: boolean;
|
|
3896
4286
|
/**
|
|
3897
4287
|
* Determines whether the dropdown should hide when a menu item is selected.
|
|
4288
|
+
* @default true
|
|
3898
4289
|
*/
|
|
3899
4290
|
"closeOnSelect"?: boolean;
|
|
3900
4291
|
/**
|
|
@@ -3903,30 +4294,37 @@ declare namespace LocalJSX {
|
|
|
3903
4294
|
"containingElement"?: HTMLElement;
|
|
3904
4295
|
/**
|
|
3905
4296
|
* The panel can be opend/closed by pressing the spacebar or the enter key. In some cases you might want to avoid this
|
|
4297
|
+
* @default false
|
|
3906
4298
|
*/
|
|
3907
4299
|
"disableHideOnEnterAndSpace"?: boolean;
|
|
3908
4300
|
/**
|
|
3909
4301
|
* The distance in pixels from which to offset the panel away from its trigger.
|
|
4302
|
+
* @default 4
|
|
3910
4303
|
*/
|
|
3911
4304
|
"distance"?: number;
|
|
3912
4305
|
/**
|
|
3913
4306
|
* Set to true to allow auto filtering for entries in the dropdown. With this flag the dropdown will automatically filter itsel. If you need to coordinate the shown elements yourself, e.g. because you need to call an endpoint use asyncFilter instead
|
|
4307
|
+
* @default false
|
|
3914
4308
|
*/
|
|
3915
4309
|
"filter"?: boolean;
|
|
3916
4310
|
/**
|
|
3917
4311
|
* The debounce for the filter callbacks.
|
|
4312
|
+
* @default 0
|
|
3918
4313
|
*/
|
|
3919
4314
|
"filterDebounce"?: number;
|
|
3920
4315
|
/**
|
|
3921
4316
|
* The filter's placeholder text.
|
|
4317
|
+
* @default 'Filter...'
|
|
3922
4318
|
*/
|
|
3923
4319
|
"filterPlaceholder"?: string;
|
|
3924
4320
|
/**
|
|
3925
4321
|
* Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
|
|
4322
|
+
* @default false
|
|
3926
4323
|
*/
|
|
3927
4324
|
"hoist"?: boolean;
|
|
3928
4325
|
/**
|
|
3929
4326
|
* Determines if the dropdown panel's width should match the width of the trigger element. If set to `true`, the panel will resize its width to align with the trigger's width. If `false` or omitted, the panel will maintain its default width.
|
|
4327
|
+
* @default false
|
|
3930
4328
|
*/
|
|
3931
4329
|
"matchTriggerWidth"?: boolean;
|
|
3932
4330
|
/**
|
|
@@ -3959,14 +4357,17 @@ declare namespace LocalJSX {
|
|
|
3959
4357
|
"onSix-dropdown-show"?: (event: SixDropdownCustomEvent<EmptyPayload>) => void;
|
|
3960
4358
|
/**
|
|
3961
4359
|
* Indicates whether the dropdown is open. You can use this in lieu of the show/hide methods.
|
|
4360
|
+
* @default false
|
|
3962
4361
|
*/
|
|
3963
4362
|
"open"?: boolean;
|
|
3964
4363
|
/**
|
|
3965
4364
|
* Set the options to be shown in the dropdown (alternative to setting the elements via html)
|
|
4365
|
+
* @default []
|
|
3966
4366
|
*/
|
|
3967
4367
|
"options"?: SixMenuItemData[];
|
|
3968
4368
|
/**
|
|
3969
4369
|
* The preferred placement of the dropdown panel. Note that the actual placement may vary as needed to keep the panel inside the viewport.
|
|
4370
|
+
* @default 'bottom-start'
|
|
3970
4371
|
*/
|
|
3971
4372
|
"placement"?: | 'top'
|
|
3972
4373
|
| 'top-start'
|
|
@@ -3982,10 +4383,12 @@ declare namespace LocalJSX {
|
|
|
3982
4383
|
| 'left-end';
|
|
3983
4384
|
/**
|
|
3984
4385
|
* The distance in pixels from which to offset the panel along its trigger.
|
|
4386
|
+
* @default 0
|
|
3985
4387
|
*/
|
|
3986
4388
|
"skidding"?: number;
|
|
3987
4389
|
/**
|
|
3988
4390
|
* Defines whether the menu list will be rendered virtually i.e. only the elements actually shown (and a couple around) are actually rendered in the DOM. If you use virtual scrolling pass the elements via prop instead of via slot.
|
|
4391
|
+
* @default false
|
|
3989
4392
|
*/
|
|
3990
4393
|
"virtualScroll"?: boolean;
|
|
3991
4394
|
}
|
|
@@ -4014,6 +4417,7 @@ declare namespace LocalJSX {
|
|
|
4014
4417
|
"errorCode"?: 404 | 403 | 500;
|
|
4015
4418
|
/**
|
|
4016
4419
|
* Defines language and thus displays the proper error page in the selected language.
|
|
4420
|
+
* @default 'en'
|
|
4017
4421
|
*/
|
|
4018
4422
|
"language"?: 'en' | 'de';
|
|
4019
4423
|
}
|
|
@@ -4030,22 +4434,27 @@ declare namespace LocalJSX {
|
|
|
4030
4434
|
interface SixFileListItem {
|
|
4031
4435
|
/**
|
|
4032
4436
|
* The date when the file was uploaded
|
|
4437
|
+
* @default ''
|
|
4033
4438
|
*/
|
|
4034
4439
|
"date"?: string;
|
|
4035
4440
|
/**
|
|
4036
4441
|
* An id to clearly identify the file
|
|
4442
|
+
* @default ''
|
|
4037
4443
|
*/
|
|
4038
4444
|
"identifier"?: string;
|
|
4039
4445
|
/**
|
|
4040
4446
|
* The filename
|
|
4447
|
+
* @default ''
|
|
4041
4448
|
*/
|
|
4042
4449
|
"name"?: string;
|
|
4043
4450
|
/**
|
|
4044
4451
|
* Set to true if you don't want to allow to delete this file
|
|
4452
|
+
* @default false
|
|
4045
4453
|
*/
|
|
4046
4454
|
"nodelete"?: boolean;
|
|
4047
4455
|
/**
|
|
4048
4456
|
* Set to true if you don't want to allow to download this file
|
|
4457
|
+
* @default false
|
|
4049
4458
|
*/
|
|
4050
4459
|
"nodownload"?: boolean;
|
|
4051
4460
|
/**
|
|
@@ -4072,18 +4481,22 @@ declare namespace LocalJSX {
|
|
|
4072
4481
|
"accept"?: string;
|
|
4073
4482
|
/**
|
|
4074
4483
|
* Set to true if file control should be small.
|
|
4484
|
+
* @default false
|
|
4075
4485
|
*/
|
|
4076
4486
|
"compact"?: boolean;
|
|
4077
4487
|
/**
|
|
4078
4488
|
* Set when button is disabled.
|
|
4489
|
+
* @default false
|
|
4079
4490
|
*/
|
|
4080
4491
|
"disabled"?: false;
|
|
4081
4492
|
/**
|
|
4082
4493
|
* The error message shown, if `invalid` is set to true.
|
|
4494
|
+
* @default ''
|
|
4083
4495
|
*/
|
|
4084
4496
|
"errorText"?: string | string[];
|
|
4085
4497
|
/**
|
|
4086
4498
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
4499
|
+
* @default false
|
|
4087
4500
|
*/
|
|
4088
4501
|
"invalid"?: boolean;
|
|
4089
4502
|
/**
|
|
@@ -4096,6 +4509,7 @@ declare namespace LocalJSX {
|
|
|
4096
4509
|
"maxFileSize"?: number;
|
|
4097
4510
|
/**
|
|
4098
4511
|
* More than one file allowed.
|
|
4512
|
+
* @default false
|
|
4099
4513
|
*/
|
|
4100
4514
|
"multiple"?: false;
|
|
4101
4515
|
/**
|
|
@@ -4108,6 +4522,7 @@ declare namespace LocalJSX {
|
|
|
4108
4522
|
"onSix-file-upload-success"?: (event: SixFileUploadCustomEvent<SixFileUploadSuccessPayload>) => void;
|
|
4109
4523
|
/**
|
|
4110
4524
|
* Set to true to draw the control in a loading state.
|
|
4525
|
+
* @default false
|
|
4111
4526
|
*/
|
|
4112
4527
|
"uploading"?: boolean;
|
|
4113
4528
|
}
|
|
@@ -4124,22 +4539,27 @@ declare namespace LocalJSX {
|
|
|
4124
4539
|
interface SixGroupLabel {
|
|
4125
4540
|
/**
|
|
4126
4541
|
* Set to true to disable the label.
|
|
4542
|
+
* @default false
|
|
4127
4543
|
*/
|
|
4128
4544
|
"disabled"?: boolean;
|
|
4129
4545
|
/**
|
|
4130
4546
|
* The wrapper label's help text. Alternatively, you can use the help-text slot.
|
|
4547
|
+
* @default ''
|
|
4131
4548
|
*/
|
|
4132
4549
|
"helpText"?: string;
|
|
4133
4550
|
/**
|
|
4134
4551
|
* The wrapper label's label. Alternatively, you can use the label slot.
|
|
4552
|
+
* @default ''
|
|
4135
4553
|
*/
|
|
4136
4554
|
"label"?: string;
|
|
4137
4555
|
/**
|
|
4138
4556
|
* Set to true to show an asterisk beneath the label.
|
|
4557
|
+
* @default false
|
|
4139
4558
|
*/
|
|
4140
4559
|
"required"?: boolean;
|
|
4141
4560
|
/**
|
|
4142
4561
|
* The label's size.
|
|
4562
|
+
* @default 'medium'
|
|
4143
4563
|
*/
|
|
4144
4564
|
"size"?: 'small' | 'medium' | 'large';
|
|
4145
4565
|
}
|
|
@@ -4150,10 +4570,12 @@ declare namespace LocalJSX {
|
|
|
4150
4570
|
interface SixHeader {
|
|
4151
4571
|
/**
|
|
4152
4572
|
* Set the header search input to be in an open or closed state. Focuses the first `six-input` found in the search slot.
|
|
4573
|
+
* @default false
|
|
4153
4574
|
*/
|
|
4154
4575
|
"openSearch"?: boolean;
|
|
4155
4576
|
/**
|
|
4156
4577
|
* Indicates if content should be shifted down when search field is visible.
|
|
4578
|
+
* @default false
|
|
4157
4579
|
*/
|
|
4158
4580
|
"shiftContent"?: boolean;
|
|
4159
4581
|
}
|
|
@@ -4164,10 +4586,12 @@ declare namespace LocalJSX {
|
|
|
4164
4586
|
interface SixHeaderDropdownItem {
|
|
4165
4587
|
/**
|
|
4166
4588
|
* Set to true to allow auto filtering for entries in the dropdown. With this flag the dropdown will automatically filter itsel. If you need to coordinate the shown elements yourself, e.g. because you need to call an endpoint use asyncFilter instead
|
|
4589
|
+
* @default false
|
|
4167
4590
|
*/
|
|
4168
4591
|
"filter"?: boolean;
|
|
4169
4592
|
/**
|
|
4170
4593
|
* The filter's placeholder text.
|
|
4594
|
+
* @default 'Filter...'
|
|
4171
4595
|
*/
|
|
4172
4596
|
"filterPlaceholder"?: string;
|
|
4173
4597
|
}
|
|
@@ -4178,6 +4602,7 @@ declare namespace LocalJSX {
|
|
|
4178
4602
|
interface SixHeaderItem {
|
|
4179
4603
|
/**
|
|
4180
4604
|
* Indicates whether the item is styled as active. When set to `true`, a border is displayed below the trigger element. Use <code>six-header-dropdown-item</code> to automatically set the active state for dropdowns.
|
|
4605
|
+
* @default false
|
|
4181
4606
|
*/
|
|
4182
4607
|
"active"?: boolean;
|
|
4183
4608
|
}
|
|
@@ -4188,22 +4613,27 @@ declare namespace LocalJSX {
|
|
|
4188
4613
|
interface SixHeaderMenuButton {
|
|
4189
4614
|
/**
|
|
4190
4615
|
* Set to true to draw the button with a caret for use with dropdowns, popovers, etc.
|
|
4616
|
+
* @default false
|
|
4191
4617
|
*/
|
|
4192
4618
|
"caret"?: boolean;
|
|
4193
4619
|
/**
|
|
4194
4620
|
* Set to true to disable the button.
|
|
4621
|
+
* @default false
|
|
4195
4622
|
*/
|
|
4196
4623
|
"disabled"?: boolean;
|
|
4197
4624
|
/**
|
|
4198
4625
|
* Set to true to draw the button in a loading state.
|
|
4626
|
+
* @default false
|
|
4199
4627
|
*/
|
|
4200
4628
|
"loading"?: boolean;
|
|
4201
4629
|
/**
|
|
4202
4630
|
* Indicates if activating the button should reset the form.
|
|
4631
|
+
* @default false
|
|
4203
4632
|
*/
|
|
4204
4633
|
"reset"?: boolean;
|
|
4205
4634
|
/**
|
|
4206
4635
|
* Indicates if activating the button should submit the form. Ignored when `href` is set.
|
|
4636
|
+
* @default false
|
|
4207
4637
|
*/
|
|
4208
4638
|
"submit"?: boolean;
|
|
4209
4639
|
}
|
|
@@ -4214,10 +4644,12 @@ declare namespace LocalJSX {
|
|
|
4214
4644
|
interface SixIcon {
|
|
4215
4645
|
/**
|
|
4216
4646
|
* If set to true the default material outlined icons are not used.
|
|
4647
|
+
* @default false
|
|
4217
4648
|
*/
|
|
4218
4649
|
"filled"?: boolean;
|
|
4219
4650
|
/**
|
|
4220
4651
|
* The icon's size.
|
|
4652
|
+
* @default 'inherit'
|
|
4221
4653
|
*/
|
|
4222
4654
|
"size"?: | 'inherit'
|
|
4223
4655
|
| 'xSmall'
|
|
@@ -4236,6 +4668,7 @@ declare namespace LocalJSX {
|
|
|
4236
4668
|
interface SixIconButton {
|
|
4237
4669
|
/**
|
|
4238
4670
|
* Set to true to disable the button.
|
|
4671
|
+
* @default false
|
|
4239
4672
|
*/
|
|
4240
4673
|
"disabled"?: boolean;
|
|
4241
4674
|
/**
|
|
@@ -4260,6 +4693,7 @@ declare namespace LocalJSX {
|
|
|
4260
4693
|
"name"?: string;
|
|
4261
4694
|
/**
|
|
4262
4695
|
* The icon's size.
|
|
4696
|
+
* @default 'medium'
|
|
4263
4697
|
*/
|
|
4264
4698
|
"size"?: 'xSmall' | 'small' | 'medium' | 'large' | 'xLarge' | 'xxLarge' | 'xxxLarge';
|
|
4265
4699
|
/**
|
|
@@ -4275,34 +4709,42 @@ declare namespace LocalJSX {
|
|
|
4275
4709
|
interface SixInput {
|
|
4276
4710
|
/**
|
|
4277
4711
|
* The input's autocaptialize attribute.
|
|
4712
|
+
* @default 'off'
|
|
4278
4713
|
*/
|
|
4279
4714
|
"autocapitalize"?: string;
|
|
4280
4715
|
/**
|
|
4281
4716
|
* The input's autocomplete attribute.
|
|
4717
|
+
* @default 'off'
|
|
4282
4718
|
*/
|
|
4283
4719
|
"autocomplete"?: string;
|
|
4284
4720
|
/**
|
|
4285
4721
|
* The input's autocorrect attribute.
|
|
4722
|
+
* @default 'off'
|
|
4286
4723
|
*/
|
|
4287
4724
|
"autocorrect"?: 'on' | 'off';
|
|
4288
4725
|
/**
|
|
4289
4726
|
* The input's autofocus attribute.
|
|
4727
|
+
* @default false
|
|
4290
4728
|
*/
|
|
4291
4729
|
"autofocus"?: boolean;
|
|
4292
4730
|
/**
|
|
4293
4731
|
* Set to true to add a clear button when the input is populated.
|
|
4732
|
+
* @default false
|
|
4294
4733
|
*/
|
|
4295
4734
|
"clearable"?: boolean;
|
|
4296
4735
|
/**
|
|
4297
4736
|
* Set to true to disable the input.
|
|
4737
|
+
* @default false
|
|
4298
4738
|
*/
|
|
4299
4739
|
"disabled"?: boolean;
|
|
4300
4740
|
/**
|
|
4301
4741
|
* Internal: Styles the input for the dropdown filter search.
|
|
4742
|
+
* @default false
|
|
4302
4743
|
*/
|
|
4303
4744
|
"dropdownSearch"?: boolean;
|
|
4304
4745
|
/**
|
|
4305
4746
|
* The error message shown, if `invalid` is set to true.
|
|
4747
|
+
* @default ''
|
|
4306
4748
|
*/
|
|
4307
4749
|
"errorText"?: string | string[];
|
|
4308
4750
|
/**
|
|
@@ -4311,6 +4753,7 @@ declare namespace LocalJSX {
|
|
|
4311
4753
|
"errorTextCount"?: number;
|
|
4312
4754
|
/**
|
|
4313
4755
|
* The input's help text. Alternatively, you can use the help-text slot.
|
|
4756
|
+
* @default ''
|
|
4314
4757
|
*/
|
|
4315
4758
|
"helpText"?: string;
|
|
4316
4759
|
/**
|
|
@@ -4319,14 +4762,17 @@ declare namespace LocalJSX {
|
|
|
4319
4762
|
"inputmode"?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
4320
4763
|
/**
|
|
4321
4764
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
4765
|
+
* @default false
|
|
4322
4766
|
*/
|
|
4323
4767
|
"invalid"?: boolean;
|
|
4324
4768
|
/**
|
|
4325
4769
|
* The label text.
|
|
4770
|
+
* @default ''
|
|
4326
4771
|
*/
|
|
4327
4772
|
"label"?: string;
|
|
4328
4773
|
/**
|
|
4329
4774
|
* Set to render as line
|
|
4775
|
+
* @default false
|
|
4330
4776
|
*/
|
|
4331
4777
|
"line"?: boolean;
|
|
4332
4778
|
/**
|
|
@@ -4347,6 +4793,7 @@ declare namespace LocalJSX {
|
|
|
4347
4793
|
"minlength"?: number;
|
|
4348
4794
|
/**
|
|
4349
4795
|
* The input's name attribute.
|
|
4796
|
+
* @default ''
|
|
4350
4797
|
*/
|
|
4351
4798
|
"name"?: string;
|
|
4352
4799
|
/**
|
|
@@ -4375,6 +4822,7 @@ declare namespace LocalJSX {
|
|
|
4375
4822
|
"pattern"?: string;
|
|
4376
4823
|
/**
|
|
4377
4824
|
* Set to true to draw a pill-style input with rounded edges.
|
|
4825
|
+
* @default false
|
|
4378
4826
|
*/
|
|
4379
4827
|
"pill"?: boolean;
|
|
4380
4828
|
/**
|
|
@@ -4383,18 +4831,22 @@ declare namespace LocalJSX {
|
|
|
4383
4831
|
"placeholder"?: string;
|
|
4384
4832
|
/**
|
|
4385
4833
|
* Set to true to make the input readonly.
|
|
4834
|
+
* @default false
|
|
4386
4835
|
*/
|
|
4387
4836
|
"readonly"?: boolean;
|
|
4388
4837
|
/**
|
|
4389
4838
|
* Set to true to show an asterisk beneath the label.
|
|
4839
|
+
* @default false
|
|
4390
4840
|
*/
|
|
4391
4841
|
"required"?: boolean;
|
|
4392
4842
|
/**
|
|
4393
4843
|
* The input's size.
|
|
4844
|
+
* @default 'medium'
|
|
4394
4845
|
*/
|
|
4395
4846
|
"size"?: 'small' | 'medium' | 'large';
|
|
4396
4847
|
/**
|
|
4397
4848
|
* Enables spell checking on the input.
|
|
4849
|
+
* @default false
|
|
4398
4850
|
*/
|
|
4399
4851
|
"spellcheck"?: boolean;
|
|
4400
4852
|
/**
|
|
@@ -4403,14 +4855,17 @@ declare namespace LocalJSX {
|
|
|
4403
4855
|
"step"?: number;
|
|
4404
4856
|
/**
|
|
4405
4857
|
* Set to true to add a password toggle button for password inputs.
|
|
4858
|
+
* @default false
|
|
4406
4859
|
*/
|
|
4407
4860
|
"togglePassword"?: boolean;
|
|
4408
4861
|
/**
|
|
4409
4862
|
* The input's type.
|
|
4863
|
+
* @default 'text'
|
|
4410
4864
|
*/
|
|
4411
4865
|
"type"?: 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url';
|
|
4412
4866
|
/**
|
|
4413
4867
|
* The input's value attribute.
|
|
4868
|
+
* @default ''
|
|
4414
4869
|
*/
|
|
4415
4870
|
"value"?: string;
|
|
4416
4871
|
}
|
|
@@ -4421,10 +4876,12 @@ declare namespace LocalJSX {
|
|
|
4421
4876
|
interface SixItemPicker {
|
|
4422
4877
|
/**
|
|
4423
4878
|
* Set the amount of time, in milliseconds, to wait to trigger the `six-item-picker-change-debounced` event. If you want your change debounce event to not trigger when keeping the nav button pressed before, make sure debounce is a bit bigger than timeout, otherwise keeping the button pressed will trigger the event twice: once you click (and keep pressed) and once you release
|
|
4879
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
4424
4880
|
*/
|
|
4425
4881
|
"debounce"?: number;
|
|
4426
4882
|
/**
|
|
4427
4883
|
* Set the amount of time, in milliseconds, to wait between switching to next item when mouse button is held pressed.
|
|
4884
|
+
* @default DEFAULT_DEBOUNCE_INSANELY_FAST
|
|
4428
4885
|
*/
|
|
4429
4886
|
"interval"?: number;
|
|
4430
4887
|
/**
|
|
@@ -4449,44 +4906,54 @@ declare namespace LocalJSX {
|
|
|
4449
4906
|
"onSix-item-picker-change-debounced"?: (event: SixItemPickerCustomEvent<SixItemPickerChangePayload>) => void;
|
|
4450
4907
|
/**
|
|
4451
4908
|
* Defines whether the items should be padded
|
|
4909
|
+
* @default false
|
|
4452
4910
|
*/
|
|
4453
4911
|
"padded"?: boolean;
|
|
4454
4912
|
/**
|
|
4455
4913
|
* Defines the character used for padding
|
|
4914
|
+
* @default '0'
|
|
4456
4915
|
*/
|
|
4457
4916
|
"paddingChar"?: string;
|
|
4458
4917
|
/**
|
|
4459
4918
|
* Defines whether the padding should be before or after the value. You can either use 'before' or 'after'. By default, before is selected
|
|
4919
|
+
* @default ItemPickerPaddingDirection.BEFORE
|
|
4460
4920
|
*/
|
|
4461
4921
|
"paddingDirection"?: ItemPickerPaddingDirection;
|
|
4462
4922
|
/**
|
|
4463
4923
|
* Defines the length of the padded area
|
|
4924
|
+
* @default 2
|
|
4464
4925
|
*/
|
|
4465
4926
|
"paddingLength"?: number;
|
|
4466
4927
|
/**
|
|
4467
4928
|
* Define whether the picker should to a roundtrip i.e. start at max when reaching min and vice versa.
|
|
4929
|
+
* @default true
|
|
4468
4930
|
*/
|
|
4469
4931
|
"roundtrip"?: boolean;
|
|
4470
4932
|
/**
|
|
4471
4933
|
* Defines how many steps should be taken when navigating
|
|
4934
|
+
* @default 1
|
|
4472
4935
|
*/
|
|
4473
4936
|
"step"?: number;
|
|
4474
4937
|
/**
|
|
4475
4938
|
* Set the amount of time, in milliseconds, to wait to trigger faster switching between items.
|
|
4939
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
4476
4940
|
*/
|
|
4477
4941
|
"timeout"?: number;
|
|
4478
4942
|
/**
|
|
4479
4943
|
* The type of items you want to rotate through.
|
|
4944
|
+
* @default ItemPickerType.NUMBER
|
|
4480
4945
|
*/
|
|
4481
4946
|
"type"?: ItemPickerType;
|
|
4482
4947
|
/**
|
|
4483
4948
|
* The item picker's value attribute.
|
|
4949
|
+
* @default ''
|
|
4484
4950
|
*/
|
|
4485
4951
|
"value"?: number | string;
|
|
4486
4952
|
}
|
|
4487
4953
|
interface SixLanguageSwitcher {
|
|
4488
4954
|
/**
|
|
4489
4955
|
* The languages which should be selectable options.
|
|
4956
|
+
* @default DEFAULT_LANGUAGES
|
|
4490
4957
|
*/
|
|
4491
4958
|
"languages"?: string[] | SixLanguageSwitcherInput[];
|
|
4492
4959
|
/**
|
|
@@ -4515,6 +4982,7 @@ declare namespace LocalJSX {
|
|
|
4515
4982
|
interface SixLogo {
|
|
4516
4983
|
/**
|
|
4517
4984
|
* The brand of the logo. Either six or bme. Defaults to six.
|
|
4985
|
+
* @default 'six'
|
|
4518
4986
|
*/
|
|
4519
4987
|
"brand"?: 'six' | 'bme';
|
|
4520
4988
|
}
|
|
@@ -4525,6 +4993,7 @@ declare namespace LocalJSX {
|
|
|
4525
4993
|
interface SixMainContainer {
|
|
4526
4994
|
/**
|
|
4527
4995
|
* Set to false to remove top and bottom padding.
|
|
4996
|
+
* @default true
|
|
4528
4997
|
*/
|
|
4529
4998
|
"padded"?: boolean;
|
|
4530
4999
|
}
|
|
@@ -4536,14 +5005,17 @@ declare namespace LocalJSX {
|
|
|
4536
5005
|
interface SixMenu {
|
|
4537
5006
|
/**
|
|
4538
5007
|
* Internal: Disables handling of key presses.
|
|
5008
|
+
* @default false
|
|
4539
5009
|
*/
|
|
4540
5010
|
"disableKeyboardHandling"?: boolean;
|
|
4541
5011
|
/**
|
|
4542
5012
|
* Used for virtual scrolling Define how many items should be rendered in the DOM when using virtual scrolling
|
|
5013
|
+
* @default 10
|
|
4543
5014
|
*/
|
|
4544
5015
|
"itemSize"?: number;
|
|
4545
5016
|
/**
|
|
4546
5017
|
* Set the options to be shown in the dropdown
|
|
5018
|
+
* @default null
|
|
4547
5019
|
*/
|
|
4548
5020
|
"items"?: SixMenuItemData1[] | null;
|
|
4549
5021
|
/**
|
|
@@ -4556,14 +5028,17 @@ declare namespace LocalJSX {
|
|
|
4556
5028
|
"onSix-menu-item-selected"?: (event: SixMenuCustomEvent<SixMenuItemSelectedPayload>) => void;
|
|
4557
5029
|
/**
|
|
4558
5030
|
* Set to true to remove the box-shadow
|
|
5031
|
+
* @default false
|
|
4559
5032
|
*/
|
|
4560
5033
|
"removeBoxShadow"?: boolean;
|
|
4561
5034
|
/**
|
|
4562
5035
|
* Used for virtual scrolling Define the debounce for listening on scrolling changes in milliseconds. The lower the number the more sensitive the component reacts to scrolling changes.
|
|
5036
|
+
* @default 15
|
|
4563
5037
|
*/
|
|
4564
5038
|
"scrollingDebounce"?: number;
|
|
4565
5039
|
/**
|
|
4566
5040
|
* Defines whether the menu list will be rendered virtually i.e. only the elements actually shown (and a couple around) are actually rendered in the DOM. If you use virtual scrolling pass the elements via prop instead of via slot.
|
|
5041
|
+
* @default false
|
|
4567
5042
|
*/
|
|
4568
5043
|
"virtualScroll"?: boolean;
|
|
4569
5044
|
}
|
|
@@ -4582,18 +5057,22 @@ declare namespace LocalJSX {
|
|
|
4582
5057
|
interface SixMenuItem {
|
|
4583
5058
|
/**
|
|
4584
5059
|
* Defines if the checked state is displayed as a checkbox or a check-icon
|
|
5060
|
+
* @default 'check'
|
|
4585
5061
|
*/
|
|
4586
5062
|
"checkType"?: 'checkbox' | 'check';
|
|
4587
5063
|
/**
|
|
4588
5064
|
* Internal: Draws the item in a checked state. CheckType needs to be set to 'checkbox' or 'check' to show the checked state
|
|
5065
|
+
* @default false
|
|
4589
5066
|
*/
|
|
4590
5067
|
"checked"?: boolean;
|
|
4591
5068
|
/**
|
|
4592
5069
|
* Set to true to draw the menu item in a disabled state.
|
|
5070
|
+
* @default false
|
|
4593
5071
|
*/
|
|
4594
5072
|
"disabled"?: boolean;
|
|
4595
5073
|
/**
|
|
4596
5074
|
* A unique value to store in the menu item. This can be used as a way to identify menu items when selected.
|
|
5075
|
+
* @default ''
|
|
4597
5076
|
*/
|
|
4598
5077
|
"value"?: string;
|
|
4599
5078
|
}
|
|
@@ -4611,6 +5090,7 @@ declare namespace LocalJSX {
|
|
|
4611
5090
|
interface SixPicto {
|
|
4612
5091
|
/**
|
|
4613
5092
|
* Defines the size of the icon.
|
|
5093
|
+
* @default 'medium'
|
|
4614
5094
|
*/
|
|
4615
5095
|
"size"?: 'xSmall' | 'small' | 'medium' | 'large' | 'xLarge' | 'xxLarge' | 'xxxLarge' | '4xl';
|
|
4616
5096
|
}
|
|
@@ -4622,10 +5102,12 @@ declare namespace LocalJSX {
|
|
|
4622
5102
|
interface SixProgressBar {
|
|
4623
5103
|
/**
|
|
4624
5104
|
* When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state.
|
|
5105
|
+
* @default false
|
|
4625
5106
|
*/
|
|
4626
5107
|
"indeterminate"?: boolean;
|
|
4627
5108
|
/**
|
|
4628
5109
|
* The progress bar's percentage, 0 to 100.
|
|
5110
|
+
* @default 0
|
|
4629
5111
|
*/
|
|
4630
5112
|
"percentage"?: number;
|
|
4631
5113
|
}
|
|
@@ -4637,14 +5119,17 @@ declare namespace LocalJSX {
|
|
|
4637
5119
|
interface SixProgressRing {
|
|
4638
5120
|
/**
|
|
4639
5121
|
* The current progress percentage, 0 - 100.
|
|
5122
|
+
* @default 0
|
|
4640
5123
|
*/
|
|
4641
5124
|
"percentage"?: number;
|
|
4642
5125
|
/**
|
|
4643
5126
|
* The size of the progress ring in pixels.
|
|
5127
|
+
* @default 128
|
|
4644
5128
|
*/
|
|
4645
5129
|
"size"?: number;
|
|
4646
5130
|
/**
|
|
4647
5131
|
* The stroke width of the progress ring in pixels.
|
|
5132
|
+
* @default 4
|
|
4648
5133
|
*/
|
|
4649
5134
|
"strokeWidth"?: number;
|
|
4650
5135
|
}
|
|
@@ -4656,18 +5141,22 @@ declare namespace LocalJSX {
|
|
|
4656
5141
|
interface SixRadio {
|
|
4657
5142
|
/**
|
|
4658
5143
|
* Set to true to draw the radio in a checked state.
|
|
5144
|
+
* @default false
|
|
4659
5145
|
*/
|
|
4660
5146
|
"checked"?: boolean;
|
|
4661
5147
|
/**
|
|
4662
5148
|
* Set to true to disable the radio.
|
|
5149
|
+
* @default false
|
|
4663
5150
|
*/
|
|
4664
5151
|
"disabled"?: boolean;
|
|
4665
5152
|
/**
|
|
4666
5153
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
5154
|
+
* @default false
|
|
4667
5155
|
*/
|
|
4668
5156
|
"invalid"?: boolean;
|
|
4669
5157
|
/**
|
|
4670
5158
|
* The radio's name attribute.
|
|
5159
|
+
* @default ''
|
|
4671
5160
|
*/
|
|
4672
5161
|
"name"?: string;
|
|
4673
5162
|
/**
|
|
@@ -4684,6 +5173,7 @@ declare namespace LocalJSX {
|
|
|
4684
5173
|
"onSix-radio-focus"?: (event: SixRadioCustomEvent<EmptyPayload>) => void;
|
|
4685
5174
|
/**
|
|
4686
5175
|
* The radio's value attribute.
|
|
5176
|
+
* @default 'on'
|
|
4687
5177
|
*/
|
|
4688
5178
|
"value"?: string;
|
|
4689
5179
|
}
|
|
@@ -4695,10 +5185,12 @@ declare namespace LocalJSX {
|
|
|
4695
5185
|
interface SixRange {
|
|
4696
5186
|
/**
|
|
4697
5187
|
* Set to true to disable the input.
|
|
5188
|
+
* @default false
|
|
4698
5189
|
*/
|
|
4699
5190
|
"disabled"?: boolean;
|
|
4700
5191
|
/**
|
|
4701
5192
|
* The error message shown, if `invalid` is set to true.
|
|
5193
|
+
* @default ''
|
|
4702
5194
|
*/
|
|
4703
5195
|
"errorText"?: string | string[];
|
|
4704
5196
|
/**
|
|
@@ -4707,26 +5199,32 @@ declare namespace LocalJSX {
|
|
|
4707
5199
|
"errorTextCount"?: number;
|
|
4708
5200
|
/**
|
|
4709
5201
|
* The range's help text. Alternatively, you can use the help-text slot.
|
|
5202
|
+
* @default ''
|
|
4710
5203
|
*/
|
|
4711
5204
|
"helpText"?: string;
|
|
4712
5205
|
/**
|
|
4713
5206
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
5207
|
+
* @default false
|
|
4714
5208
|
*/
|
|
4715
5209
|
"invalid"?: boolean;
|
|
4716
5210
|
/**
|
|
4717
5211
|
* The label text.
|
|
5212
|
+
* @default ''
|
|
4718
5213
|
*/
|
|
4719
5214
|
"label"?: string;
|
|
4720
5215
|
/**
|
|
4721
5216
|
* The input's max attribute.
|
|
5217
|
+
* @default 100
|
|
4722
5218
|
*/
|
|
4723
5219
|
"max"?: number;
|
|
4724
5220
|
/**
|
|
4725
5221
|
* The input's min attribute.
|
|
5222
|
+
* @default 0
|
|
4726
5223
|
*/
|
|
4727
5224
|
"min"?: number;
|
|
4728
5225
|
/**
|
|
4729
5226
|
* The input's name attribute.
|
|
5227
|
+
* @default ''
|
|
4730
5228
|
*/
|
|
4731
5229
|
"name"?: string;
|
|
4732
5230
|
/**
|
|
@@ -4743,22 +5241,27 @@ declare namespace LocalJSX {
|
|
|
4743
5241
|
"onSix-range-focus"?: (event: SixRangeCustomEvent<EmptyPayload>) => void;
|
|
4744
5242
|
/**
|
|
4745
5243
|
* Set to true to show an asterisk beneath the label.
|
|
5244
|
+
* @default false
|
|
4746
5245
|
*/
|
|
4747
5246
|
"required"?: boolean;
|
|
4748
5247
|
/**
|
|
4749
5248
|
* The input's step attribute.
|
|
5249
|
+
* @default 1
|
|
4750
5250
|
*/
|
|
4751
5251
|
"step"?: number;
|
|
4752
5252
|
/**
|
|
4753
5253
|
* The preferred placedment of the tooltip.
|
|
5254
|
+
* @default 'top'
|
|
4754
5255
|
*/
|
|
4755
5256
|
"tooltip"?: 'top' | 'bottom' | 'none';
|
|
4756
5257
|
/**
|
|
4757
5258
|
* A function used to format the tooltip's value.
|
|
5259
|
+
* @default (value: number) => value.toString()
|
|
4758
5260
|
*/
|
|
4759
5261
|
"tooltipFormatter"?: (value: number) => string;
|
|
4760
5262
|
/**
|
|
4761
5263
|
* The input's value attribute.
|
|
5264
|
+
* @default 0
|
|
4762
5265
|
*/
|
|
4763
5266
|
"value"?: number;
|
|
4764
5267
|
}
|
|
@@ -4769,14 +5272,17 @@ declare namespace LocalJSX {
|
|
|
4769
5272
|
interface SixRoot {
|
|
4770
5273
|
/**
|
|
4771
5274
|
* Defines whether the content section should be padded
|
|
5275
|
+
* @default true
|
|
4772
5276
|
*/
|
|
4773
5277
|
"padded"?: boolean;
|
|
4774
5278
|
/**
|
|
4775
5279
|
* Defines the stage of the application
|
|
5280
|
+
* @default null
|
|
4776
5281
|
*/
|
|
4777
5282
|
"stage"?: StageType;
|
|
4778
5283
|
/**
|
|
4779
5284
|
* Defines the version of the application
|
|
5285
|
+
* @default ''
|
|
4780
5286
|
*/
|
|
4781
5287
|
"version"?: string;
|
|
4782
5288
|
}
|
|
@@ -4787,14 +5293,17 @@ declare namespace LocalJSX {
|
|
|
4787
5293
|
interface SixSearchField {
|
|
4788
5294
|
/**
|
|
4789
5295
|
* Set to true to add a clear button when the input is populated.
|
|
5296
|
+
* @default false
|
|
4790
5297
|
*/
|
|
4791
5298
|
"clearable"?: boolean;
|
|
4792
5299
|
/**
|
|
4793
5300
|
* Debounce time in milliseconds, default is 300 ms
|
|
5301
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
4794
5302
|
*/
|
|
4795
5303
|
"debounce"?: number;
|
|
4796
5304
|
/**
|
|
4797
5305
|
* Set to true to disable the input.
|
|
5306
|
+
* @default false
|
|
4798
5307
|
*/
|
|
4799
5308
|
"disabled"?: boolean;
|
|
4800
5309
|
/**
|
|
@@ -4807,6 +5316,7 @@ declare namespace LocalJSX {
|
|
|
4807
5316
|
"placeholder"?: string;
|
|
4808
5317
|
/**
|
|
4809
5318
|
* The input's value attribute.
|
|
5319
|
+
* @default ''
|
|
4810
5320
|
*/
|
|
4811
5321
|
"value"?: string;
|
|
4812
5322
|
}
|
|
@@ -4818,22 +5328,27 @@ declare namespace LocalJSX {
|
|
|
4818
5328
|
interface SixSelect {
|
|
4819
5329
|
/**
|
|
4820
5330
|
* Set to true to allow async filtering. When you enter something in the search field the component will only emit an event but not filter any elements itself. You can then simply listen to the 'six-async-filter-fired' event to manage the shown menu-items yourself
|
|
5331
|
+
* @default false
|
|
4821
5332
|
*/
|
|
4822
5333
|
"asyncFilter"?: boolean;
|
|
4823
5334
|
/**
|
|
4824
5335
|
* Set to true to turn the six-select into an autocomplete.
|
|
5336
|
+
* @default false
|
|
4825
5337
|
*/
|
|
4826
5338
|
"autocomplete"?: boolean;
|
|
4827
5339
|
/**
|
|
4828
5340
|
* Set to true to add a clear button when the select is populated.
|
|
5341
|
+
* @default false
|
|
4829
5342
|
*/
|
|
4830
5343
|
"clearable"?: boolean;
|
|
4831
5344
|
/**
|
|
4832
5345
|
* Set to true to disable the select control.
|
|
5346
|
+
* @default false
|
|
4833
5347
|
*/
|
|
4834
5348
|
"disabled"?: boolean;
|
|
4835
5349
|
/**
|
|
4836
5350
|
* The error message shown, if `invalid` is set to true.
|
|
5351
|
+
* @default ''
|
|
4837
5352
|
*/
|
|
4838
5353
|
"errorText"?: string | string[];
|
|
4839
5354
|
/**
|
|
@@ -4842,6 +5357,7 @@ declare namespace LocalJSX {
|
|
|
4842
5357
|
"errorTextCount"?: number;
|
|
4843
5358
|
/**
|
|
4844
5359
|
* Set to true to allow filtering for entries in the dropdown
|
|
5360
|
+
* @default false
|
|
4845
5361
|
*/
|
|
4846
5362
|
"filter"?: boolean;
|
|
4847
5363
|
/**
|
|
@@ -4854,34 +5370,42 @@ declare namespace LocalJSX {
|
|
|
4854
5370
|
"filterPlaceholder"?: string;
|
|
4855
5371
|
/**
|
|
4856
5372
|
* The select's help text. Alternatively, you can use the help-text slot.
|
|
5373
|
+
* @default ''
|
|
4857
5374
|
*/
|
|
4858
5375
|
"helpText"?: string;
|
|
4859
5376
|
/**
|
|
4860
5377
|
* Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
|
|
5378
|
+
* @default false
|
|
4861
5379
|
*/
|
|
4862
5380
|
"hoist"?: boolean;
|
|
4863
5381
|
/**
|
|
4864
5382
|
* The debounce for when the input changes for autocompletes should be emitted
|
|
5383
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
4865
5384
|
*/
|
|
4866
5385
|
"inputDebounce"?: number;
|
|
4867
5386
|
/**
|
|
4868
5387
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
5388
|
+
* @default false
|
|
4869
5389
|
*/
|
|
4870
5390
|
"invalid"?: boolean;
|
|
4871
5391
|
/**
|
|
4872
5392
|
* The label text.
|
|
5393
|
+
* @default ''
|
|
4873
5394
|
*/
|
|
4874
5395
|
"label"?: string;
|
|
4875
5396
|
/**
|
|
4876
5397
|
* Set to render as line
|
|
5398
|
+
* @default false
|
|
4877
5399
|
*/
|
|
4878
5400
|
"line"?: boolean;
|
|
4879
5401
|
/**
|
|
4880
5402
|
* Set to true to enable multiselect.
|
|
5403
|
+
* @default false
|
|
4881
5404
|
*/
|
|
4882
5405
|
"multiple"?: boolean;
|
|
4883
5406
|
/**
|
|
4884
5407
|
* The select's name.
|
|
5408
|
+
* @default ''
|
|
4885
5409
|
*/
|
|
4886
5410
|
"name"?: string;
|
|
4887
5411
|
/**
|
|
@@ -4898,22 +5422,27 @@ declare namespace LocalJSX {
|
|
|
4898
5422
|
"onSix-select-focus"?: (event: SixSelectCustomEvent<EmptyPayload>) => void;
|
|
4899
5423
|
/**
|
|
4900
5424
|
* Set the options to be shown in the dropdown (alternative to setting the elements via html)
|
|
5425
|
+
* @default null
|
|
4901
5426
|
*/
|
|
4902
5427
|
"options"?: SixMenuItemData[] | null;
|
|
4903
5428
|
/**
|
|
4904
5429
|
* Set to true to draw a pill-style select with rounded edges.
|
|
5430
|
+
* @default false
|
|
4905
5431
|
*/
|
|
4906
5432
|
"pill"?: boolean;
|
|
4907
5433
|
/**
|
|
4908
5434
|
* The select's placeholder text.
|
|
5435
|
+
* @default ''
|
|
4909
5436
|
*/
|
|
4910
5437
|
"placeholder"?: string;
|
|
4911
5438
|
/**
|
|
4912
5439
|
* Set to true to show an asterisk beneath the label.
|
|
5440
|
+
* @default false
|
|
4913
5441
|
*/
|
|
4914
5442
|
"required"?: boolean;
|
|
4915
5443
|
/**
|
|
4916
5444
|
* Enables the select all button.
|
|
5445
|
+
* @default false
|
|
4917
5446
|
*/
|
|
4918
5447
|
"selectAllButton"?: boolean;
|
|
4919
5448
|
/**
|
|
@@ -4922,14 +5451,17 @@ declare namespace LocalJSX {
|
|
|
4922
5451
|
"selectAllText"?: string;
|
|
4923
5452
|
/**
|
|
4924
5453
|
* The select's size.
|
|
5454
|
+
* @default 'medium'
|
|
4925
5455
|
*/
|
|
4926
5456
|
"size"?: 'small' | 'medium' | 'large';
|
|
4927
5457
|
/**
|
|
4928
5458
|
* The value of the control. This will be a string or an array depending on `multiple`.
|
|
5459
|
+
* @default ''
|
|
4929
5460
|
*/
|
|
4930
5461
|
"value"?: string | string[];
|
|
4931
5462
|
/**
|
|
4932
5463
|
* Defines whether the menu list will be rendered virtually i.e. only the elements actually shown (and a couple around) are actually rendered in the DOM. If you use virtual scrolling pass the elements via prop instead of via slot.
|
|
5464
|
+
* @default false
|
|
4933
5465
|
*/
|
|
4934
5466
|
"virtualScroll"?: boolean;
|
|
4935
5467
|
}
|
|
@@ -4960,18 +5492,22 @@ declare namespace LocalJSX {
|
|
|
4960
5492
|
"onSix-sidebar-show"?: (event: SixSidebarCustomEvent<EmptyPayload>) => void;
|
|
4961
5493
|
/**
|
|
4962
5494
|
* Indicates whether the sidebar is open. You can use this in lieu of the show/hide methods.
|
|
5495
|
+
* @default false
|
|
4963
5496
|
*/
|
|
4964
5497
|
"open"?: boolean;
|
|
4965
5498
|
/**
|
|
4966
5499
|
* Sidebar position
|
|
5500
|
+
* @default 'left'
|
|
4967
5501
|
*/
|
|
4968
5502
|
"position"?: 'left' | 'right';
|
|
4969
5503
|
/**
|
|
4970
5504
|
* Define whether sidebar is toggled meaning only one menu can be open at the same time
|
|
5505
|
+
* @default false
|
|
4971
5506
|
*/
|
|
4972
5507
|
"toggled"?: boolean;
|
|
4973
5508
|
/**
|
|
4974
5509
|
* Sidebar width
|
|
5510
|
+
* @default '16rem'
|
|
4975
5511
|
*/
|
|
4976
5512
|
"width"?: string;
|
|
4977
5513
|
}
|
|
@@ -4982,6 +5518,7 @@ declare namespace LocalJSX {
|
|
|
4982
5518
|
interface SixSidebarItem {
|
|
4983
5519
|
/**
|
|
4984
5520
|
* Set to true to draw the sidebar item in a disabled state.
|
|
5521
|
+
* @default false
|
|
4985
5522
|
*/
|
|
4986
5523
|
"disabled"?: boolean;
|
|
4987
5524
|
/**
|
|
@@ -4990,14 +5527,17 @@ declare namespace LocalJSX {
|
|
|
4990
5527
|
"href"?: string | undefined;
|
|
4991
5528
|
/**
|
|
4992
5529
|
* Icon of the item
|
|
5530
|
+
* @default ''
|
|
4993
5531
|
*/
|
|
4994
5532
|
"icon"?: string;
|
|
4995
5533
|
/**
|
|
4996
5534
|
* Set to true to draw the item in a selected state.
|
|
5535
|
+
* @default false
|
|
4997
5536
|
*/
|
|
4998
5537
|
"selected"?: boolean;
|
|
4999
5538
|
/**
|
|
5000
5539
|
* A unique value to store in the sidebar item. This can be used as a way to identify sidebar items when selected.
|
|
5540
|
+
* @default ''
|
|
5001
5541
|
*/
|
|
5002
5542
|
"value"?: string;
|
|
5003
5543
|
}
|
|
@@ -5012,14 +5552,17 @@ declare namespace LocalJSX {
|
|
|
5012
5552
|
"href"?: string | undefined;
|
|
5013
5553
|
/**
|
|
5014
5554
|
* Icon of the group
|
|
5555
|
+
* @default ''
|
|
5015
5556
|
*/
|
|
5016
5557
|
"icon"?: string;
|
|
5017
5558
|
/**
|
|
5018
5559
|
* Title of item group
|
|
5560
|
+
* @default ''
|
|
5019
5561
|
*/
|
|
5020
5562
|
"name"?: string;
|
|
5021
5563
|
/**
|
|
5022
5564
|
* Indicates whether the sidebar is shown
|
|
5565
|
+
* @default false
|
|
5023
5566
|
*/
|
|
5024
5567
|
"open"?: boolean;
|
|
5025
5568
|
/**
|
|
@@ -5028,6 +5571,7 @@ declare namespace LocalJSX {
|
|
|
5028
5571
|
"summaryIcon"?: string;
|
|
5029
5572
|
/**
|
|
5030
5573
|
* A unique value to store in the sidebar item of the group label. This can be used as a way to identify sidebar items when selected.
|
|
5574
|
+
* @default ''
|
|
5031
5575
|
*/
|
|
5032
5576
|
"value"?: string;
|
|
5033
5577
|
}
|
|
@@ -5049,6 +5593,7 @@ declare namespace LocalJSX {
|
|
|
5049
5593
|
interface SixStageIndicator {
|
|
5050
5594
|
/**
|
|
5051
5595
|
* The indicators value attribute
|
|
5596
|
+
* @default null
|
|
5052
5597
|
*/
|
|
5053
5598
|
"stage"?: StageType1;
|
|
5054
5599
|
}
|
|
@@ -5060,14 +5605,17 @@ declare namespace LocalJSX {
|
|
|
5060
5605
|
interface SixSwitch {
|
|
5061
5606
|
/**
|
|
5062
5607
|
* Set to true to draw the switch in a checked state.
|
|
5608
|
+
* @default false
|
|
5063
5609
|
*/
|
|
5064
5610
|
"checked"?: boolean;
|
|
5065
5611
|
/**
|
|
5066
5612
|
* Set to true to disable the switch.
|
|
5613
|
+
* @default false
|
|
5067
5614
|
*/
|
|
5068
5615
|
"disabled"?: boolean;
|
|
5069
5616
|
/**
|
|
5070
5617
|
* The error message shown, if `invalid` is set to true.
|
|
5618
|
+
* @default ''
|
|
5071
5619
|
*/
|
|
5072
5620
|
"errorText"?: string | string[];
|
|
5073
5621
|
/**
|
|
@@ -5076,14 +5624,17 @@ declare namespace LocalJSX {
|
|
|
5076
5624
|
"errorTextCount"?: number;
|
|
5077
5625
|
/**
|
|
5078
5626
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
5627
|
+
* @default false
|
|
5079
5628
|
*/
|
|
5080
5629
|
"invalid"?: boolean;
|
|
5081
5630
|
/**
|
|
5082
5631
|
* The label text.
|
|
5632
|
+
* @default ''
|
|
5083
5633
|
*/
|
|
5084
5634
|
"label"?: string;
|
|
5085
5635
|
/**
|
|
5086
5636
|
* The switch's name attribute.
|
|
5637
|
+
* @default ''
|
|
5087
5638
|
*/
|
|
5088
5639
|
"name"?: string;
|
|
5089
5640
|
/**
|
|
@@ -5100,10 +5651,12 @@ declare namespace LocalJSX {
|
|
|
5100
5651
|
"onSix-switch-focus"?: (event: SixSwitchCustomEvent<EmptyPayload>) => void;
|
|
5101
5652
|
/**
|
|
5102
5653
|
* Set to true to show an asterisk beneath the label.
|
|
5654
|
+
* @default false
|
|
5103
5655
|
*/
|
|
5104
5656
|
"required"?: boolean;
|
|
5105
5657
|
/**
|
|
5106
5658
|
* The switch's value attribute.
|
|
5659
|
+
* @default 'on'
|
|
5107
5660
|
*/
|
|
5108
5661
|
"value"?: string;
|
|
5109
5662
|
}
|
|
@@ -5115,14 +5668,17 @@ declare namespace LocalJSX {
|
|
|
5115
5668
|
interface SixTab {
|
|
5116
5669
|
/**
|
|
5117
5670
|
* Set to true to draw the tab in an active state.
|
|
5671
|
+
* @default false
|
|
5118
5672
|
*/
|
|
5119
5673
|
"active"?: boolean;
|
|
5120
5674
|
/**
|
|
5121
5675
|
* When true, the tab will be rendered with a close icon.
|
|
5676
|
+
* @default false
|
|
5122
5677
|
*/
|
|
5123
5678
|
"closable"?: boolean;
|
|
5124
5679
|
/**
|
|
5125
5680
|
* Set to true to draw the tab in a disabled state.
|
|
5681
|
+
* @default false
|
|
5126
5682
|
*/
|
|
5127
5683
|
"disabled"?: boolean;
|
|
5128
5684
|
/**
|
|
@@ -5131,6 +5687,7 @@ declare namespace LocalJSX {
|
|
|
5131
5687
|
"onSix-tab-close"?: (event: SixTabCustomEvent<EmptyPayload>) => void;
|
|
5132
5688
|
/**
|
|
5133
5689
|
* The name of the tab panel the tab will control. The panel must be located in the same tab group.
|
|
5690
|
+
* @default ''
|
|
5134
5691
|
*/
|
|
5135
5692
|
"panel"?: string;
|
|
5136
5693
|
}
|
|
@@ -5142,6 +5699,7 @@ declare namespace LocalJSX {
|
|
|
5142
5699
|
interface SixTabGroup {
|
|
5143
5700
|
/**
|
|
5144
5701
|
* Disables the scroll arrows that appear when tabs overflow.
|
|
5702
|
+
* @default false
|
|
5145
5703
|
*/
|
|
5146
5704
|
"noScrollControls"?: boolean;
|
|
5147
5705
|
/**
|
|
@@ -5154,6 +5712,7 @@ declare namespace LocalJSX {
|
|
|
5154
5712
|
"onSix-tab-show"?: (event: SixTabGroupCustomEvent<SixTabShowPayload>) => void;
|
|
5155
5713
|
/**
|
|
5156
5714
|
* The placement of the tabs.
|
|
5715
|
+
* @default 'top'
|
|
5157
5716
|
*/
|
|
5158
5717
|
"placement"?: 'top' | 'bottom' | 'left' | 'right';
|
|
5159
5718
|
}
|
|
@@ -5165,10 +5724,12 @@ declare namespace LocalJSX {
|
|
|
5165
5724
|
interface SixTabPanel {
|
|
5166
5725
|
/**
|
|
5167
5726
|
* When true, the tab panel will be shown.
|
|
5727
|
+
* @default false
|
|
5168
5728
|
*/
|
|
5169
5729
|
"active"?: boolean;
|
|
5170
5730
|
/**
|
|
5171
5731
|
* The tab panel's name.
|
|
5732
|
+
* @default ''
|
|
5172
5733
|
*/
|
|
5173
5734
|
"name"?: string;
|
|
5174
5735
|
}
|
|
@@ -5180,6 +5741,7 @@ declare namespace LocalJSX {
|
|
|
5180
5741
|
interface SixTag {
|
|
5181
5742
|
/**
|
|
5182
5743
|
* Set to true to make the tag clearable.
|
|
5744
|
+
* @default false
|
|
5183
5745
|
*/
|
|
5184
5746
|
"clearable"?: boolean;
|
|
5185
5747
|
/**
|
|
@@ -5188,14 +5750,17 @@ declare namespace LocalJSX {
|
|
|
5188
5750
|
"onSix-tag-clear"?: (event: SixTagCustomEvent<EmptyPayload>) => void;
|
|
5189
5751
|
/**
|
|
5190
5752
|
* Set to true to draw a pill-style tag with rounded edges.
|
|
5753
|
+
* @default false
|
|
5191
5754
|
*/
|
|
5192
5755
|
"pill"?: boolean;
|
|
5193
5756
|
/**
|
|
5194
5757
|
* The tag's size.
|
|
5758
|
+
* @default 'medium'
|
|
5195
5759
|
*/
|
|
5196
5760
|
"size"?: 'small' | 'medium' | 'large';
|
|
5197
5761
|
/**
|
|
5198
5762
|
* The tag's type.
|
|
5763
|
+
* @default 'primary'
|
|
5199
5764
|
*/
|
|
5200
5765
|
"type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'action' | 'text';
|
|
5201
5766
|
}
|
|
@@ -5207,26 +5772,32 @@ declare namespace LocalJSX {
|
|
|
5207
5772
|
interface SixTextarea {
|
|
5208
5773
|
/**
|
|
5209
5774
|
* The textarea's autocaptialize attribute.
|
|
5775
|
+
* @default 'off'
|
|
5210
5776
|
*/
|
|
5211
5777
|
"autocapitalize"?: string;
|
|
5212
5778
|
/**
|
|
5213
5779
|
* The textarea's autocomplete attribute.
|
|
5780
|
+
* @default 'off'
|
|
5214
5781
|
*/
|
|
5215
5782
|
"autocomplete"?: string;
|
|
5216
5783
|
/**
|
|
5217
5784
|
* The textarea's autocorrect attribute.
|
|
5785
|
+
* @default 'off'
|
|
5218
5786
|
*/
|
|
5219
5787
|
"autocorrect"?: 'on' | 'off';
|
|
5220
5788
|
/**
|
|
5221
5789
|
* The textarea's autofocus attribute.
|
|
5790
|
+
* @default false
|
|
5222
5791
|
*/
|
|
5223
5792
|
"autofocus"?: boolean;
|
|
5224
5793
|
/**
|
|
5225
5794
|
* Set to true to disable the textarea.
|
|
5795
|
+
* @default false
|
|
5226
5796
|
*/
|
|
5227
5797
|
"disabled"?: boolean;
|
|
5228
5798
|
/**
|
|
5229
5799
|
* The error message shown, if `invalid` is set to true.
|
|
5800
|
+
* @default ''
|
|
5230
5801
|
*/
|
|
5231
5802
|
"errorText"?: string | string[];
|
|
5232
5803
|
/**
|
|
@@ -5235,6 +5806,7 @@ declare namespace LocalJSX {
|
|
|
5235
5806
|
"errorTextCount"?: number;
|
|
5236
5807
|
/**
|
|
5237
5808
|
* The textarea's help text. Alternatively, you can use the help-text slot.
|
|
5809
|
+
* @default ''
|
|
5238
5810
|
*/
|
|
5239
5811
|
"helpText"?: string;
|
|
5240
5812
|
/**
|
|
@@ -5243,10 +5815,12 @@ declare namespace LocalJSX {
|
|
|
5243
5815
|
"inputmode"?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
5244
5816
|
/**
|
|
5245
5817
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
5818
|
+
* @default false
|
|
5246
5819
|
*/
|
|
5247
5820
|
"invalid"?: boolean;
|
|
5248
5821
|
/**
|
|
5249
5822
|
* The label text.
|
|
5823
|
+
* @default ''
|
|
5250
5824
|
*/
|
|
5251
5825
|
"label"?: string;
|
|
5252
5826
|
/**
|
|
@@ -5259,6 +5833,7 @@ declare namespace LocalJSX {
|
|
|
5259
5833
|
"minlength"?: number;
|
|
5260
5834
|
/**
|
|
5261
5835
|
* The textarea's name attribute.
|
|
5836
|
+
* @default ''
|
|
5262
5837
|
*/
|
|
5263
5838
|
"name"?: string;
|
|
5264
5839
|
/**
|
|
@@ -5283,30 +5858,37 @@ declare namespace LocalJSX {
|
|
|
5283
5858
|
"placeholder"?: string;
|
|
5284
5859
|
/**
|
|
5285
5860
|
* Set to true for a readonly textarea.
|
|
5861
|
+
* @default false
|
|
5286
5862
|
*/
|
|
5287
5863
|
"readonly"?: boolean;
|
|
5288
5864
|
/**
|
|
5289
5865
|
* Set to true to show an asterisk beneath the label.
|
|
5866
|
+
* @default false
|
|
5290
5867
|
*/
|
|
5291
5868
|
"required"?: boolean;
|
|
5292
5869
|
/**
|
|
5293
5870
|
* Controls how the textarea can be resized.
|
|
5871
|
+
* @default 'vertical'
|
|
5294
5872
|
*/
|
|
5295
5873
|
"resize"?: 'none' | 'vertical' | 'auto';
|
|
5296
5874
|
/**
|
|
5297
5875
|
* The number of rows to display by default.
|
|
5876
|
+
* @default 4
|
|
5298
5877
|
*/
|
|
5299
5878
|
"rows"?: number;
|
|
5300
5879
|
/**
|
|
5301
5880
|
* The textarea's size.
|
|
5881
|
+
* @default 'medium'
|
|
5302
5882
|
*/
|
|
5303
5883
|
"size"?: 'small' | 'medium' | 'large';
|
|
5304
5884
|
/**
|
|
5305
5885
|
* The textarea's spellcheck attribute.
|
|
5886
|
+
* @default false
|
|
5306
5887
|
*/
|
|
5307
5888
|
"spellcheck"?: boolean;
|
|
5308
5889
|
/**
|
|
5309
5890
|
* The textarea's value attribute.
|
|
5891
|
+
* @default ''
|
|
5310
5892
|
*/
|
|
5311
5893
|
"value"?: string;
|
|
5312
5894
|
}
|
|
@@ -5317,18 +5899,22 @@ declare namespace LocalJSX {
|
|
|
5317
5899
|
interface SixTile {
|
|
5318
5900
|
/**
|
|
5319
5901
|
* Flag, whether the tile is closeable.
|
|
5902
|
+
* @default true
|
|
5320
5903
|
*/
|
|
5321
5904
|
"closeable"?: boolean;
|
|
5322
5905
|
/**
|
|
5323
5906
|
* Enables tile tooltip for tiles
|
|
5907
|
+
* @default true
|
|
5324
5908
|
*/
|
|
5325
5909
|
"disableTooltip"?: boolean;
|
|
5326
5910
|
/**
|
|
5327
5911
|
* Set to true to disable the tile.
|
|
5912
|
+
* @default false
|
|
5328
5913
|
*/
|
|
5329
5914
|
"disabled"?: boolean;
|
|
5330
5915
|
/**
|
|
5331
5916
|
* Flag, whether the tile should cast a shadow.
|
|
5917
|
+
* @default false
|
|
5332
5918
|
*/
|
|
5333
5919
|
"elevated"?: boolean;
|
|
5334
5920
|
/**
|
|
@@ -5337,6 +5923,7 @@ declare namespace LocalJSX {
|
|
|
5337
5923
|
"iconName"?: string;
|
|
5338
5924
|
/**
|
|
5339
5925
|
* The tile's label.
|
|
5926
|
+
* @default ''
|
|
5340
5927
|
*/
|
|
5341
5928
|
"label"?: string;
|
|
5342
5929
|
/**
|
|
@@ -5349,6 +5936,7 @@ declare namespace LocalJSX {
|
|
|
5349
5936
|
"onSix-tile-selected"?: (event: SixTileCustomEvent<EmptyPayload>) => void;
|
|
5350
5937
|
/**
|
|
5351
5938
|
* The tile's size.
|
|
5939
|
+
* @default 'medium'
|
|
5352
5940
|
*/
|
|
5353
5941
|
"size"?: 'small' | 'medium' | 'large';
|
|
5354
5942
|
}
|
|
@@ -5359,10 +5947,12 @@ declare namespace LocalJSX {
|
|
|
5359
5947
|
interface SixTimepicker {
|
|
5360
5948
|
/**
|
|
5361
5949
|
* Set to true to add a clear button when the input is populated.
|
|
5950
|
+
* @default false
|
|
5362
5951
|
*/
|
|
5363
5952
|
"clearable"?: boolean;
|
|
5364
5953
|
/**
|
|
5365
5954
|
* Set the amount of time, in milliseconds, to wait to trigger the `six-timepicker-change-debounced` event. If you want your change debounce event to not trigger when keeping the nav button pressed before, make sure debounce is a bit bigger than timeout, otherwise keeping the button pressed will trigger the event twice: once you click (and keep pressed) and once you release
|
|
5955
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
5366
5956
|
*/
|
|
5367
5957
|
"debounce"?: number;
|
|
5368
5958
|
/**
|
|
@@ -5371,10 +5961,12 @@ declare namespace LocalJSX {
|
|
|
5371
5961
|
"defaultTime"?: string;
|
|
5372
5962
|
/**
|
|
5373
5963
|
* If `true` the component is disabled.
|
|
5964
|
+
* @default false
|
|
5374
5965
|
*/
|
|
5375
5966
|
"disabled"?: boolean;
|
|
5376
5967
|
/**
|
|
5377
5968
|
* The input's error text. Alternatively, you can use the error-text slot.
|
|
5969
|
+
* @default ''
|
|
5378
5970
|
*/
|
|
5379
5971
|
"errorText"?: string | string[];
|
|
5380
5972
|
/**
|
|
@@ -5383,34 +5975,42 @@ declare namespace LocalJSX {
|
|
|
5383
5975
|
"errorTextCount"?: number;
|
|
5384
5976
|
/**
|
|
5385
5977
|
* Define the time format. Valid formats are: HH:mm:ss hh:mm:ss:aa HH:mm:ss:ms hh:mm:ss:ms:aa HH:mm hh:mm:aa HH hh:aa mm ss ms where HH is the 24 hour format and hh is the 12 hour format Please notice that when using the 12-hour-clock (hh) you always need a period indicator (aa). So the time can be parsed as either am or pm
|
|
5978
|
+
* @default 'HH:mm:ss'
|
|
5386
5979
|
*/
|
|
5387
5980
|
"format"?: TimeFormat;
|
|
5388
5981
|
/**
|
|
5389
5982
|
* Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
|
|
5983
|
+
* @default false
|
|
5390
5984
|
*/
|
|
5391
5985
|
"hoist"?: boolean;
|
|
5392
5986
|
/**
|
|
5393
5987
|
* Set the position of the icon
|
|
5988
|
+
* @default 'left'
|
|
5394
5989
|
*/
|
|
5395
5990
|
"iconPosition"?: 'left' | 'right';
|
|
5396
5991
|
/**
|
|
5397
5992
|
* Indicates whether the timepicker should be shown as an inline (always open) component
|
|
5993
|
+
* @default false
|
|
5398
5994
|
*/
|
|
5399
5995
|
"inline"?: boolean;
|
|
5400
5996
|
/**
|
|
5401
5997
|
* Set the amount of time, in milliseconds, to wait between switching to next timeunit (e.g. next hour) when mouse button is held pressed.
|
|
5998
|
+
* @default DEFAULT_DEBOUNCE_INSANELY_FAST
|
|
5402
5999
|
*/
|
|
5403
6000
|
"interval"?: number;
|
|
5404
6001
|
/**
|
|
5405
6002
|
* If this property is set to true and an error message is provided by `errorText`, the error message is displayed.
|
|
6003
|
+
* @default false
|
|
5406
6004
|
*/
|
|
5407
6005
|
"invalid"?: boolean;
|
|
5408
6006
|
/**
|
|
5409
6007
|
* The input's label. Alternatively, you can use the label slot.
|
|
6008
|
+
* @default ''
|
|
5410
6009
|
*/
|
|
5411
6010
|
"label"?: string;
|
|
5412
6011
|
/**
|
|
5413
6012
|
* The input's name attribute.
|
|
6013
|
+
* @default ''
|
|
5414
6014
|
*/
|
|
5415
6015
|
"name"?: string;
|
|
5416
6016
|
/**
|
|
@@ -5427,6 +6027,7 @@ declare namespace LocalJSX {
|
|
|
5427
6027
|
"onSix-timepicker-clear"?: (event: SixTimepickerCustomEvent<EmptyPayload>) => void;
|
|
5428
6028
|
/**
|
|
5429
6029
|
* Indicates whether the timepicker dropdown is open on startup. You can use this in lieu of the show/hide methods.
|
|
6030
|
+
* @default false
|
|
5430
6031
|
*/
|
|
5431
6032
|
"open"?: boolean;
|
|
5432
6033
|
/**
|
|
@@ -5439,26 +6040,32 @@ declare namespace LocalJSX {
|
|
|
5439
6040
|
"placement"?: 'top' | 'bottom';
|
|
5440
6041
|
/**
|
|
5441
6042
|
* If `true` the user can only select a time via the timepicker but not directly edit the input field.
|
|
6043
|
+
* @default false
|
|
5442
6044
|
*/
|
|
5443
6045
|
"readonly"?: boolean;
|
|
5444
6046
|
/**
|
|
5445
6047
|
* Set to true to show an asterisk beneath the label.
|
|
6048
|
+
* @default false
|
|
5446
6049
|
*/
|
|
5447
6050
|
"required"?: boolean;
|
|
5448
6051
|
/**
|
|
5449
6052
|
* Define the separator to be shown between the time unit pickers. Please be aware that this property will modify the displayed separator only. The separator for a timestring is always expected to be a colon (eg. '13:52:20')
|
|
6053
|
+
* @default ':'
|
|
5450
6054
|
*/
|
|
5451
6055
|
"separator"?: string;
|
|
5452
6056
|
/**
|
|
5453
6057
|
* Timepicker size.
|
|
6058
|
+
* @default 'medium'
|
|
5454
6059
|
*/
|
|
5455
6060
|
"size"?: 'small' | 'medium' | 'large';
|
|
5456
6061
|
/**
|
|
5457
6062
|
* Set the amount of time, in milliseconds, to wait to trigger faster switching between timeunits (e.g. hours).
|
|
6063
|
+
* @default DEFAULT_DEBOUNCE_FAST
|
|
5458
6064
|
*/
|
|
5459
6065
|
"timeout"?: number;
|
|
5460
6066
|
/**
|
|
5461
6067
|
* The value of the timepicker provided as a string. The string mast match the provided format (or default format)
|
|
6068
|
+
* @default ''
|
|
5462
6069
|
*/
|
|
5463
6070
|
"value"?: string;
|
|
5464
6071
|
}
|
|
@@ -5470,14 +6077,17 @@ declare namespace LocalJSX {
|
|
|
5470
6077
|
interface SixTooltip {
|
|
5471
6078
|
/**
|
|
5472
6079
|
* The tooltip's content. Alternatively, you can use the content slot.
|
|
6080
|
+
* @default ''
|
|
5473
6081
|
*/
|
|
5474
6082
|
"content"?: string;
|
|
5475
6083
|
/**
|
|
5476
6084
|
* Set to true to disable the tooltip, so it won't show when triggered.
|
|
6085
|
+
* @default false
|
|
5477
6086
|
*/
|
|
5478
6087
|
"disabled"?: boolean;
|
|
5479
6088
|
/**
|
|
5480
6089
|
* The distance in pixels from which to offset the tooltip away from its target.
|
|
6090
|
+
* @default 10
|
|
5481
6091
|
*/
|
|
5482
6092
|
"distance"?: number;
|
|
5483
6093
|
/**
|
|
@@ -5498,10 +6108,12 @@ declare namespace LocalJSX {
|
|
|
5498
6108
|
"onSix-tooltip-show"?: (event: SixTooltipCustomEvent<EmptyPayload>) => void;
|
|
5499
6109
|
/**
|
|
5500
6110
|
* Indicates whether the tooltip is open. You can use this in lieu of the show/hide methods.
|
|
6111
|
+
* @default false
|
|
5501
6112
|
*/
|
|
5502
6113
|
"open"?: boolean;
|
|
5503
6114
|
/**
|
|
5504
6115
|
* The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip inside the viewport.
|
|
6116
|
+
* @default 'top'
|
|
5505
6117
|
*/
|
|
5506
6118
|
"placement"?: | 'top'
|
|
5507
6119
|
| 'top-start'
|
|
@@ -5517,10 +6129,12 @@ declare namespace LocalJSX {
|
|
|
5517
6129
|
| 'left-end';
|
|
5518
6130
|
/**
|
|
5519
6131
|
* The distance in pixels from which to offset the tooltip along its target.
|
|
6132
|
+
* @default 0
|
|
5520
6133
|
*/
|
|
5521
6134
|
"skidding"?: number;
|
|
5522
6135
|
/**
|
|
5523
6136
|
* Controls how the tooltip is activated. Possible options include `click`, `hover`, `focus`, and `manual`. Multiple options can be passed by separating them with a space. When manual is used, the tooltip must be activated programmatically.
|
|
6137
|
+
* @default 'hover focus'
|
|
5524
6138
|
*/
|
|
5525
6139
|
"trigger"?: string;
|
|
5526
6140
|
}
|