@six-group/ui-library 0.0.0-insider.a358260 → 0.0.0-insider.cd0cd0d
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/event-listeners-b835dfae.js +61 -0
- package/dist/cjs/event-listeners-b835dfae.js.map +1 -0
- package/dist/cjs/{execution-control-46f388e0.js → execution-control-45c84c46.js} +6 -3
- package/dist/cjs/execution-control-45c84c46.js.map +1 -0
- package/dist/cjs/{focus-visible-0b352c74.js → focus-visible-e0d93a95.js} +3 -3
- package/dist/cjs/focus-visible-e0d93a95.js.map +1 -0
- package/dist/cjs/form-8cbd4e0e.js +20 -0
- package/dist/cjs/form-8cbd4e0e.js.map +1 -0
- package/dist/cjs/{form-control-2c17c573.js → form-control-8df00a52.js} +9 -10
- package/dist/cjs/form-control-8df00a52.js.map +1 -0
- package/dist/cjs/index.cjs.js +94 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{modal-48d42228.js → modal-21350fb5.js} +4 -3
- package/dist/cjs/modal-21350fb5.js.map +1 -0
- package/dist/cjs/{popover-f743f62b.js → popover-8885d50f.js} +39 -31
- package/dist/cjs/popover-8885d50f.js.map +1 -0
- package/dist/cjs/popup-44836aaf.js +103 -0
- package/dist/cjs/popup-44836aaf.js.map +1 -0
- package/dist/cjs/set-attributes_2.cjs.entry.js +3 -1
- package/dist/cjs/set-attributes_2.cjs.entry.js.map +1 -1
- package/dist/cjs/six-alert.cjs.entry.js +17 -22
- package/dist/cjs/six-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/six-avatar.cjs.entry.js +4 -7
- package/dist/cjs/six-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/six-badge.cjs.entry.js +1 -1
- package/dist/cjs/six-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/six-button.cjs.entry.js +35 -33
- package/dist/cjs/six-button.cjs.entry.js.map +1 -1
- package/dist/cjs/six-card.cjs.entry.js.map +1 -1
- package/dist/cjs/six-checkbox.cjs.entry.js +9 -47
- package/dist/cjs/six-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/six-datepicker.cjs.entry.js +150 -278
- package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-details.cjs.entry.js +47 -46
- package/dist/cjs/six-details.cjs.entry.js.map +1 -1
- package/dist/cjs/six-dialog.cjs.entry.js +35 -39
- package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/six-drawer.cjs.entry.js +32 -36
- package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/six-dropdown_2.cjs.entry.js +214 -195
- package/dist/cjs/six-dropdown_2.cjs.entry.js.map +1 -1
- package/dist/cjs/six-error-page.cjs.entry.js +19 -21
- package/dist/cjs/six-error-page.cjs.entry.js.map +1 -1
- package/dist/cjs/six-file-list-item.cjs.entry.js +1 -1
- package/dist/cjs/six-file-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/six-file-upload.cjs.entry.js +20 -20
- package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
- package/dist/cjs/six-group-label.cjs.entry.js +11 -10
- package/dist/cjs/six-group-label.cjs.entry.js.map +1 -1
- package/dist/cjs/six-header.cjs.entry.js +65 -43
- package/dist/cjs/six-header.cjs.entry.js.map +1 -1
- package/dist/cjs/six-icon-button.cjs.entry.js +3 -3
- package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
- package/dist/cjs/six-input.cjs.entry.js +28 -87
- package/dist/cjs/six-input.cjs.entry.js.map +1 -1
- package/dist/cjs/six-item-picker.cjs.entry.js +58 -77
- package/dist/cjs/six-item-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-language-switcher.cjs.entry.js +1 -1
- package/dist/cjs/six-language-switcher.cjs.entry.js.map +1 -1
- package/dist/cjs/six-layout-grid.cjs.entry.js +4 -2
- package/dist/cjs/six-layout-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/six-main-container.cjs.entry.js.map +1 -1
- package/dist/cjs/six-menu-item.cjs.entry.js +8 -6
- package/dist/cjs/six-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/six-picto.cjs.entry.js +4 -1
- package/dist/cjs/six-picto.cjs.entry.js.map +1 -1
- package/dist/cjs/six-progress-ring.cjs.entry.js +3 -3
- package/dist/cjs/six-progress-ring.cjs.entry.js.map +1 -1
- package/dist/cjs/six-radio.cjs.entry.js +17 -23
- package/dist/cjs/six-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/six-range.cjs.entry.js +6 -44
- package/dist/cjs/six-range.cjs.entry.js.map +1 -1
- package/dist/cjs/six-root.cjs.entry.js +1 -1
- package/dist/cjs/six-root.cjs.entry.js.map +1 -1
- package/dist/cjs/six-search-field.cjs.entry.js +10 -5
- package/dist/cjs/six-search-field.cjs.entry.js.map +1 -1
- package/dist/cjs/six-select.cjs.entry.js +129 -222
- package/dist/cjs/six-select.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar-item-group.cjs.entry.js +9 -5
- package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar.cjs.entry.js +39 -18
- package/dist/cjs/six-sidebar.cjs.entry.js.map +1 -1
- package/dist/cjs/six-spinner.cjs.entry.js.map +1 -1
- package/dist/cjs/six-switch.cjs.entry.js +54 -62
- package/dist/cjs/six-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab-group.cjs.entry.js +130 -112
- package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/six-tab-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab.cjs.entry.js +4 -2
- package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tag.cjs.entry.js +4 -7
- package/dist/cjs/six-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/six-textarea.cjs.entry.js +27 -76
- package/dist/cjs/six-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tile.cjs.entry.js +13 -16
- package/dist/cjs/six-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/six-timepicker.cjs.entry.js +157 -213
- package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tooltip.cjs.entry.js +53 -56
- package/dist/cjs/six-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/{slot-ad537f24.js → slot-bccbdb59.js} +11 -10
- package/dist/cjs/slot-bccbdb59.js.map +1 -0
- package/dist/cjs/ui-library.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/six-alert/six-alert.js +17 -22
- package/dist/collection/components/six-alert/six-alert.js.map +1 -1
- package/dist/collection/components/six-avatar/six-avatar.js +4 -7
- package/dist/collection/components/six-avatar/six-avatar.js.map +1 -1
- package/dist/collection/components/six-badge/six-badge.js +1 -1
- package/dist/collection/components/six-badge/six-badge.js.map +1 -1
- package/dist/collection/components/six-button/six-button.js +44 -40
- package/dist/collection/components/six-button/six-button.js.map +1 -1
- package/dist/collection/components/six-card/six-card.js +1 -1
- package/dist/collection/components/six-card/six-card.js.map +1 -1
- package/dist/collection/components/six-checkbox/six-checkbox.js +20 -128
- package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -1
- package/dist/collection/components/six-datepicker/components/day-selection.js +2 -2
- package/dist/collection/components/six-datepicker/components/day-selection.js.map +1 -1
- package/dist/collection/components/six-datepicker/components/month-selection.js +4 -3
- package/dist/collection/components/six-datepicker/components/month-selection.js.map +1 -1
- package/dist/collection/components/six-datepicker/components/year-selection.js +9 -6
- package/dist/collection/components/six-datepicker/components/year-selection.js.map +1 -1
- package/dist/collection/components/six-datepicker/six-datepicker.js +186 -376
- package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
- package/dist/collection/components/six-details/six-details.js +51 -50
- package/dist/collection/components/six-details/six-details.js.map +1 -1
- package/dist/collection/components/six-dialog/six-dialog.js +34 -38
- package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
- package/dist/collection/components/six-drawer/six-drawer.js +31 -35
- package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
- package/dist/collection/components/six-dropdown/six-dropdown.js +185 -173
- package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
- package/dist/collection/components/six-error-page/six-error-page.js +25 -27
- package/dist/collection/components/six-error-page/six-error-page.js.map +1 -1
- package/dist/collection/components/six-file-list-item/six-file-list-item.js +3 -3
- package/dist/collection/components/six-file-list-item/six-file-list-item.js.map +1 -1
- package/dist/collection/components/six-file-upload/six-file-upload.js +32 -32
- package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
- package/dist/collection/components/six-group-label/six-group-label.js +12 -10
- package/dist/collection/components/six-group-label/six-group-label.js.map +1 -1
- package/dist/collection/components/six-header/six-header.js +64 -42
- package/dist/collection/components/six-header/six-header.js.map +1 -1
- package/dist/collection/components/six-icon-button/six-icon-button.js +8 -8
- package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -1
- package/dist/collection/components/six-input/six-input.js +77 -274
- package/dist/collection/components/six-input/six-input.js.map +1 -1
- package/dist/collection/components/six-item-picker/six-item-picker.js +65 -84
- package/dist/collection/components/six-item-picker/six-item-picker.js.map +1 -1
- package/dist/collection/components/six-language-switcher/six-language-switcher.js +2 -2
- package/dist/collection/components/six-language-switcher/six-language-switcher.js.map +1 -1
- package/dist/collection/components/six-layout-grid/six-layout-grid.js +10 -8
- package/dist/collection/components/six-layout-grid/six-layout-grid.js.map +1 -1
- package/dist/collection/components/six-main-container/six-main-container.js +1 -1
- package/dist/collection/components/six-main-container/six-main-container.js.map +1 -1
- package/dist/collection/components/six-menu/six-menu.js +29 -23
- package/dist/collection/components/six-menu/six-menu.js.map +1 -1
- package/dist/collection/components/six-menu-item/six-menu-item.js +7 -5
- package/dist/collection/components/six-menu-item/six-menu-item.js.map +1 -1
- package/dist/collection/components/six-picto/six-picto.js +5 -2
- package/dist/collection/components/six-picto/six-picto.js.map +1 -1
- package/dist/collection/components/six-progress-ring/six-progress-ring.js +5 -4
- package/dist/collection/components/six-progress-ring/six-progress-ring.js.map +1 -1
- package/dist/collection/components/six-radio/six-radio.js +21 -76
- package/dist/collection/components/six-radio/six-radio.js.map +1 -1
- package/dist/collection/components/six-range/six-range.js +27 -119
- package/dist/collection/components/six-range/six-range.js.map +1 -1
- package/dist/collection/components/six-root/six-root.js +4 -4
- package/dist/collection/components/six-root/six-root.js.map +1 -1
- package/dist/collection/components/six-search-field/six-search-field.js +10 -5
- package/dist/collection/components/six-search-field/six-search-field.js.map +1 -1
- package/dist/collection/components/six-select/six-select.js +165 -294
- package/dist/collection/components/six-select/six-select.js.map +1 -1
- package/dist/collection/components/six-select/util.js.map +1 -1
- package/dist/collection/components/six-sidebar/six-sidebar.js +40 -19
- package/dist/collection/components/six-sidebar/six-sidebar.js.map +1 -1
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +12 -8
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -1
- package/dist/collection/components/six-spinner/six-spinner.js.map +1 -1
- package/dist/collection/components/six-stage-indicator/six-stage-indicator.js +1 -1
- package/dist/collection/components/six-switch/six-switch.css +77 -0
- package/dist/collection/components/six-switch/six-switch.js +96 -133
- package/dist/collection/components/six-switch/six-switch.js.map +1 -1
- package/dist/collection/components/six-tab/six-tab.js +5 -3
- package/dist/collection/components/six-tab/six-tab.js.map +1 -1
- package/dist/collection/components/six-tab-group/six-tab-group.js +130 -112
- package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -1
- package/dist/collection/components/six-tab-panel/six-tab-panel.js +2 -2
- package/dist/collection/components/six-tab-panel/six-tab-panel.js.map +1 -1
- package/dist/collection/components/six-tag/six-tag.js +4 -7
- package/dist/collection/components/six-tag/six-tag.js.map +1 -1
- package/dist/collection/components/six-textarea/six-textarea.js +72 -207
- package/dist/collection/components/six-textarea/six-textarea.js.map +1 -1
- package/dist/collection/components/six-tile/six-tile.js +17 -20
- package/dist/collection/components/six-tile/six-tile.js.map +1 -1
- package/dist/collection/components/six-timepicker/six-timepicker.js +153 -254
- package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
- package/dist/collection/components/six-tooltip/six-tooltip.js +56 -59
- package/dist/collection/components/six-tooltip/six-tooltip.js.map +1 -1
- package/dist/collection/functional-components/form-control/form-control.js +8 -9
- package/dist/collection/functional-components/form-control/form-control.js.map +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/testUtil/delay.js.map +1 -1
- package/dist/collection/utils/date-util.js +25 -16
- package/dist/collection/utils/date-util.js.map +1 -1
- package/dist/collection/utils/error-messages.js +91 -0
- package/dist/collection/utils/error-messages.js.map +1 -0
- package/dist/collection/utils/event-listeners.js +22 -6
- package/dist/collection/utils/event-listeners.js.map +1 -1
- package/dist/collection/utils/execution-control.js +5 -4
- package/dist/collection/utils/execution-control.js.map +1 -1
- package/dist/collection/utils/focus-visible.js +2 -2
- package/dist/collection/utils/focus-visible.js.map +1 -1
- package/dist/collection/utils/form.js +15 -0
- package/dist/collection/utils/form.js.map +1 -0
- package/dist/collection/utils/modal.js +3 -2
- package/dist/collection/utils/modal.js.map +1 -1
- package/dist/collection/utils/popover.js +32 -18
- package/dist/collection/utils/popover.js.map +1 -1
- package/dist/collection/utils/popup.js +95 -0
- package/dist/collection/utils/popup.js.map +1 -0
- package/dist/collection/utils/slot.js +9 -24
- package/dist/collection/utils/slot.js.map +1 -1
- package/dist/collection/utils/tabbable.js +6 -6
- package/dist/collection/utils/tabbable.js.map +1 -1
- package/dist/collection/utils/time.util.js +48 -34
- package/dist/collection/utils/time.util.js.map +1 -1
- package/dist/collection/utils/type-check.js +0 -1
- package/dist/collection/utils/type-check.js.map +1 -1
- package/dist/collection/wrappers/set-attributes/set-attributes.js +3 -1
- package/dist/collection/wrappers/set-attributes/set-attributes.js.map +1 -1
- package/dist/components/event-listeners.js +22 -6
- package/dist/components/event-listeners.js.map +1 -1
- package/dist/components/execution-control.js +5 -2
- package/dist/components/execution-control.js.map +1 -1
- package/dist/components/focus-visible.js +2 -2
- package/dist/components/focus-visible.js.map +1 -1
- package/dist/components/form-control.js +8 -9
- package/dist/components/form-control.js.map +1 -1
- package/dist/components/form.js +18 -0
- package/dist/components/form.js.map +1 -0
- package/dist/components/index.js +92 -3
- package/dist/components/index.js.map +1 -1
- package/dist/components/modal.js +3 -2
- package/dist/components/modal.js.map +1 -1
- package/dist/components/popover.js +38 -30
- package/dist/components/popover.js.map +1 -1
- package/dist/components/set-attributes2.js +3 -1
- package/dist/components/set-attributes2.js.map +1 -1
- package/dist/components/six-alert.js +17 -22
- package/dist/components/six-alert.js.map +1 -1
- package/dist/components/six-avatar.js +4 -7
- package/dist/components/six-avatar.js.map +1 -1
- package/dist/components/six-badge.js +1 -1
- package/dist/components/six-badge.js.map +1 -1
- package/dist/components/six-button.js +34 -32
- package/dist/components/six-button.js.map +1 -1
- package/dist/components/six-card.js.map +1 -1
- package/dist/components/six-checkbox.js +7 -50
- package/dist/components/six-checkbox.js.map +1 -1
- package/dist/components/six-datepicker.js +150 -281
- package/dist/components/six-datepicker.js.map +1 -1
- package/dist/components/six-details2.js +46 -45
- package/dist/components/six-details2.js.map +1 -1
- package/dist/components/six-dialog.js +33 -37
- package/dist/components/six-dialog.js.map +1 -1
- package/dist/components/six-drawer.js +30 -34
- package/dist/components/six-drawer.js.map +1 -1
- package/dist/components/six-dropdown2.js +185 -173
- package/dist/components/six-dropdown2.js.map +1 -1
- package/dist/components/six-error-page.js +19 -21
- package/dist/components/six-error-page.js.map +1 -1
- package/dist/components/six-file-list-item.js +1 -1
- package/dist/components/six-file-list-item.js.map +1 -1
- package/dist/components/six-file-upload.js +20 -20
- package/dist/components/six-file-upload.js.map +1 -1
- package/dist/components/six-group-label.js +10 -9
- package/dist/components/six-group-label.js.map +1 -1
- package/dist/components/six-header.js +64 -42
- package/dist/components/six-header.js.map +1 -1
- package/dist/components/six-icon-button2.js +2 -2
- package/dist/components/six-icon-button2.js.map +1 -1
- package/dist/components/six-input2.js +30 -98
- package/dist/components/six-input2.js.map +1 -1
- package/dist/components/six-item-picker2.js +56 -75
- package/dist/components/six-item-picker2.js.map +1 -1
- package/dist/components/six-language-switcher.js +1 -1
- package/dist/components/six-language-switcher.js.map +1 -1
- package/dist/components/six-layout-grid.js +5 -3
- package/dist/components/six-layout-grid.js.map +1 -1
- package/dist/components/six-main-container.js.map +1 -1
- package/dist/components/six-menu-item2.js +7 -5
- package/dist/components/six-menu-item2.js.map +1 -1
- package/dist/components/six-menu2.js +25 -18
- package/dist/components/six-menu2.js.map +1 -1
- package/dist/components/six-picto2.js +4 -1
- package/dist/components/six-picto2.js.map +1 -1
- package/dist/components/six-progress-ring.js +3 -3
- package/dist/components/six-progress-ring.js.map +1 -1
- package/dist/components/six-radio.js +19 -28
- package/dist/components/six-radio.js.map +1 -1
- package/dist/components/six-range.js +8 -50
- package/dist/components/six-range.js.map +1 -1
- package/dist/components/six-root.js +1 -1
- package/dist/components/six-root.js.map +1 -1
- package/dist/components/six-search-field.js +8 -3
- package/dist/components/six-search-field.js.map +1 -1
- package/dist/components/six-select.js +129 -228
- package/dist/components/six-select.js.map +1 -1
- package/dist/components/six-sidebar-item-group.js +8 -4
- package/dist/components/six-sidebar-item-group.js.map +1 -1
- package/dist/components/six-sidebar.js +39 -18
- package/dist/components/six-sidebar.js.map +1 -1
- package/dist/components/six-spinner2.js.map +1 -1
- package/dist/components/six-switch.js +58 -68
- package/dist/components/six-switch.js.map +1 -1
- package/dist/components/six-tab-group.js +129 -111
- package/dist/components/six-tab-group.js.map +1 -1
- package/dist/components/six-tab-panel.js +1 -1
- package/dist/components/six-tab-panel.js.map +1 -1
- package/dist/components/six-tab.js +4 -2
- package/dist/components/six-tab.js.map +1 -1
- package/dist/components/six-tag2.js +4 -7
- package/dist/components/six-tag2.js.map +1 -1
- package/dist/components/six-textarea.js +29 -84
- package/dist/components/six-textarea.js.map +1 -1
- package/dist/components/six-tile.js +14 -17
- package/dist/components/six-tile.js.map +1 -1
- package/dist/components/six-timepicker.js +1 -1
- package/dist/components/six-timepicker2.js +247 -258
- package/dist/components/six-timepicker2.js.map +1 -1
- package/dist/components/six-tooltip2.js +52 -55
- package/dist/components/six-tooltip2.js.map +1 -1
- package/dist/components/slot.js +10 -9
- package/dist/components/slot.js.map +1 -1
- package/dist/components.json +494 -891
- package/dist/esm/event-listeners-535f3ad1.js +59 -0
- package/dist/esm/event-listeners-535f3ad1.js.map +1 -0
- package/dist/esm/{execution-control-1a60d709.js → execution-control-72cc50f4.js} +6 -3
- package/dist/esm/execution-control-72cc50f4.js.map +1 -0
- package/dist/esm/{focus-visible-97933ea9.js → focus-visible-fa7129a0.js} +3 -3
- package/dist/esm/focus-visible-fa7129a0.js.map +1 -0
- package/dist/esm/form-0b9c11cd.js +18 -0
- package/dist/esm/form-0b9c11cd.js.map +1 -0
- package/dist/esm/{form-control-3b440ea1.js → form-control-785c5f79.js} +9 -10
- package/dist/esm/form-control-785c5f79.js.map +1 -0
- package/dist/esm/index.js +91 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{modal-5ebdc320.js → modal-b1d96441.js} +4 -3
- package/dist/esm/modal-b1d96441.js.map +1 -0
- package/dist/esm/{popover-bd2c2fca.js → popover-2e72e7d8.js} +39 -31
- package/dist/esm/popover-2e72e7d8.js.map +1 -0
- package/dist/esm/popup-678b8592.js +98 -0
- package/dist/esm/popup-678b8592.js.map +1 -0
- package/dist/esm/set-attributes_2.entry.js +3 -1
- package/dist/esm/set-attributes_2.entry.js.map +1 -1
- package/dist/esm/six-alert.entry.js +17 -22
- package/dist/esm/six-alert.entry.js.map +1 -1
- package/dist/esm/six-avatar.entry.js +4 -7
- package/dist/esm/six-avatar.entry.js.map +1 -1
- package/dist/esm/six-badge.entry.js +1 -1
- package/dist/esm/six-badge.entry.js.map +1 -1
- package/dist/esm/six-button.entry.js +35 -33
- package/dist/esm/six-button.entry.js.map +1 -1
- package/dist/esm/six-card.entry.js.map +1 -1
- package/dist/esm/six-checkbox.entry.js +9 -47
- package/dist/esm/six-checkbox.entry.js.map +1 -1
- package/dist/esm/six-datepicker.entry.js +148 -276
- package/dist/esm/six-datepicker.entry.js.map +1 -1
- package/dist/esm/six-details.entry.js +47 -46
- package/dist/esm/six-details.entry.js.map +1 -1
- package/dist/esm/six-dialog.entry.js +35 -39
- package/dist/esm/six-dialog.entry.js.map +1 -1
- package/dist/esm/six-drawer.entry.js +32 -36
- package/dist/esm/six-drawer.entry.js.map +1 -1
- package/dist/esm/six-dropdown_2.entry.js +214 -195
- package/dist/esm/six-dropdown_2.entry.js.map +1 -1
- package/dist/esm/six-error-page.entry.js +19 -21
- package/dist/esm/six-error-page.entry.js.map +1 -1
- package/dist/esm/six-file-list-item.entry.js +1 -1
- package/dist/esm/six-file-list-item.entry.js.map +1 -1
- package/dist/esm/six-file-upload.entry.js +20 -20
- package/dist/esm/six-file-upload.entry.js.map +1 -1
- package/dist/esm/six-group-label.entry.js +11 -10
- package/dist/esm/six-group-label.entry.js.map +1 -1
- package/dist/esm/six-header.entry.js +65 -43
- package/dist/esm/six-header.entry.js.map +1 -1
- package/dist/esm/six-icon-button.entry.js +3 -3
- package/dist/esm/six-icon-button.entry.js.map +1 -1
- package/dist/esm/six-input.entry.js +28 -87
- package/dist/esm/six-input.entry.js.map +1 -1
- package/dist/esm/six-item-picker.entry.js +58 -77
- package/dist/esm/six-item-picker.entry.js.map +1 -1
- package/dist/esm/six-language-switcher.entry.js +1 -1
- package/dist/esm/six-language-switcher.entry.js.map +1 -1
- package/dist/esm/six-layout-grid.entry.js +4 -2
- package/dist/esm/six-layout-grid.entry.js.map +1 -1
- package/dist/esm/six-main-container.entry.js.map +1 -1
- package/dist/esm/six-menu-item.entry.js +8 -6
- package/dist/esm/six-menu-item.entry.js.map +1 -1
- package/dist/esm/six-picto.entry.js +4 -1
- package/dist/esm/six-picto.entry.js.map +1 -1
- package/dist/esm/six-progress-ring.entry.js +3 -3
- package/dist/esm/six-progress-ring.entry.js.map +1 -1
- package/dist/esm/six-radio.entry.js +17 -23
- package/dist/esm/six-radio.entry.js.map +1 -1
- package/dist/esm/six-range.entry.js +6 -44
- package/dist/esm/six-range.entry.js.map +1 -1
- package/dist/esm/six-root.entry.js +1 -1
- package/dist/esm/six-root.entry.js.map +1 -1
- package/dist/esm/six-search-field.entry.js +10 -5
- package/dist/esm/six-search-field.entry.js.map +1 -1
- package/dist/esm/six-select.entry.js +129 -222
- package/dist/esm/six-select.entry.js.map +1 -1
- package/dist/esm/six-sidebar-item-group.entry.js +9 -5
- package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
- package/dist/esm/six-sidebar.entry.js +39 -18
- package/dist/esm/six-sidebar.entry.js.map +1 -1
- package/dist/esm/six-spinner.entry.js.map +1 -1
- package/dist/esm/six-switch.entry.js +55 -63
- package/dist/esm/six-switch.entry.js.map +1 -1
- package/dist/esm/six-tab-group.entry.js +130 -112
- 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-panel.entry.js.map +1 -1
- package/dist/esm/six-tab.entry.js +4 -2
- package/dist/esm/six-tab.entry.js.map +1 -1
- package/dist/esm/six-tag.entry.js +4 -7
- package/dist/esm/six-tag.entry.js.map +1 -1
- package/dist/esm/six-textarea.entry.js +27 -76
- package/dist/esm/six-textarea.entry.js.map +1 -1
- package/dist/esm/six-tile.entry.js +13 -16
- package/dist/esm/six-tile.entry.js.map +1 -1
- package/dist/esm/six-timepicker.entry.js +157 -213
- package/dist/esm/six-timepicker.entry.js.map +1 -1
- package/dist/esm/six-tooltip.entry.js +53 -56
- package/dist/esm/six-tooltip.entry.js.map +1 -1
- package/dist/esm/{slot-6f3984c7.js → slot-2e64df19.js} +11 -10
- package/dist/esm/slot-2e64df19.js.map +1 -0
- package/dist/esm/ui-library.js +1 -1
- package/dist/types/components/six-alert/six-alert.d.ts +5 -7
- package/dist/types/components/six-avatar/six-avatar.d.ts +1 -2
- package/dist/types/components/six-badge/six-badge.d.ts +0 -1
- package/dist/types/components/six-button/six-button.d.ts +8 -9
- package/dist/types/components/six-checkbox/six-checkbox.d.ts +5 -17
- package/dist/types/components/six-datepicker/components/day-selection.d.ts +9 -5
- package/dist/types/components/six-datepicker/components/month-selection.d.ts +8 -5
- package/dist/types/components/six-datepicker/components/year-selection.d.ts +7 -5
- package/dist/types/components/six-datepicker/six-datepicker.d.ts +41 -52
- package/dist/types/components/six-details/six-details.d.ts +12 -12
- package/dist/types/components/six-dialog/six-dialog.d.ts +12 -13
- package/dist/types/components/six-drawer/six-drawer.d.ts +12 -13
- package/dist/types/components/six-dropdown/six-dropdown.d.ts +28 -32
- package/dist/types/components/six-error-page/six-error-page.d.ts +1 -1
- package/dist/types/components/six-file-list-item/six-file-list-item.d.ts +3 -3
- package/dist/types/components/six-file-upload/six-file-upload.d.ts +11 -11
- package/dist/types/components/six-group-label/six-group-label.d.ts +5 -5
- package/dist/types/components/six-header/six-header.d.ts +16 -27
- package/dist/types/components/six-icon-button/six-icon-button.d.ts +4 -4
- package/dist/types/components/six-input/six-input.d.ts +9 -35
- package/dist/types/components/six-item-picker/six-item-picker.d.ts +13 -16
- package/dist/types/components/six-layout-grid/six-layout-grid.d.ts +1 -1
- package/dist/types/components/six-menu/six-menu.d.ts +10 -11
- package/dist/types/components/six-menu-item/six-menu-item.d.ts +6 -6
- package/dist/types/components/six-progress-ring/six-progress-ring.d.ts +2 -2
- package/dist/types/components/six-radio/six-radio.d.ts +5 -10
- package/dist/types/components/six-range/six-range.d.ts +6 -21
- package/dist/types/components/six-root/six-root.d.ts +3 -3
- package/dist/types/components/six-search-field/six-search-field.d.ts +4 -5
- package/dist/types/components/six-select/six-select.d.ts +19 -31
- package/dist/types/components/six-sidebar/six-sidebar.d.ts +5 -5
- package/dist/types/components/six-sidebar-item-group/six-sidebar-item-group.d.ts +7 -6
- package/dist/types/components/six-spinner/six-spinner.d.ts +2 -2
- package/dist/types/components/six-switch/six-switch.d.ts +18 -21
- package/dist/types/components/six-tab/six-tab.d.ts +3 -3
- package/dist/types/components/six-tab-group/six-tab-group.d.ts +20 -21
- package/dist/types/components/six-tab-panel/six-tab-panel.d.ts +1 -1
- package/dist/types/components/six-tag/six-tag.d.ts +1 -3
- package/dist/types/components/six-textarea/six-textarea.d.ts +9 -28
- package/dist/types/components/six-tile/six-tile.d.ts +2 -3
- package/dist/types/components/six-timepicker/six-timepicker.d.ts +26 -43
- package/dist/types/components/six-tooltip/six-tooltip.d.ts +19 -21
- package/dist/types/components.d.ts +190 -417
- package/dist/types/functional-components/form-control/form-control.d.ts +5 -6
- package/dist/types/index.d.ts +1 -0
- package/dist/types/testUtil/delay.d.ts +1 -1
- package/dist/types/types.d.ts +2 -0
- package/dist/types/utils/date-util.d.ts +18 -10
- package/dist/types/utils/error-messages.d.ts +42 -0
- package/dist/types/utils/event-listeners.d.ts +2 -1
- package/dist/types/utils/execution-control.d.ts +1 -3
- package/dist/types/utils/form.d.ts +1 -0
- package/dist/types/utils/modal.d.ts +2 -2
- package/dist/types/utils/popover.d.ts +5 -5
- package/dist/types/utils/popup.d.ts +9 -0
- package/dist/types/utils/slot.d.ts +2 -7
- package/dist/types/utils/tabbable.d.ts +1 -1
- package/dist/types/utils/time.util.d.ts +18 -9
- package/dist/types/utils/type-check.d.ts +3 -4
- package/dist/types/wrappers/set-attributes/set-attributes.d.ts +1 -1
- package/dist/ui-library/index.esm.js +1 -1
- package/dist/ui-library/index.esm.js.map +1 -1
- package/dist/ui-library/p-0108fe92.entry.js +2 -0
- package/dist/ui-library/p-0108fe92.entry.js.map +1 -0
- package/dist/ui-library/p-03a145f5.entry.js +2 -0
- package/dist/ui-library/p-03a145f5.entry.js.map +1 -0
- package/dist/ui-library/{p-3c635d0a.entry.js → p-087fdd96.entry.js} +2 -2
- package/dist/ui-library/p-087fdd96.entry.js.map +1 -0
- package/dist/ui-library/p-09779e47.entry.js +2 -0
- package/dist/ui-library/p-09779e47.entry.js.map +1 -0
- package/dist/ui-library/p-097cced4.entry.js.map +1 -1
- package/dist/ui-library/p-0b2c6348.js +2 -0
- package/dist/ui-library/p-0b2c6348.js.map +1 -0
- package/dist/ui-library/p-0cc08e91.js +2 -0
- package/dist/ui-library/p-0cc08e91.js.map +1 -0
- package/dist/ui-library/p-0fe78f9b.js +2 -0
- package/dist/ui-library/p-0fe78f9b.js.map +1 -0
- package/dist/ui-library/p-18e9f8b8.entry.js +2 -0
- package/dist/ui-library/p-18e9f8b8.entry.js.map +1 -0
- package/dist/ui-library/p-2761f908.js +2 -0
- package/dist/ui-library/p-2761f908.js.map +1 -0
- package/dist/ui-library/{p-19b50b5a.entry.js → p-28be55f0.entry.js} +2 -2
- package/dist/ui-library/p-28be55f0.entry.js.map +1 -0
- package/dist/ui-library/{p-c349d1d4.entry.js → p-3929b0af.entry.js} +2 -2
- package/dist/ui-library/p-3929b0af.entry.js.map +1 -0
- package/dist/ui-library/{p-9328e5bc.entry.js → p-445ba5b8.entry.js} +2 -2
- package/dist/ui-library/p-445ba5b8.entry.js.map +1 -0
- package/dist/ui-library/p-4d408fb4.js +2 -0
- package/dist/ui-library/p-4d408fb4.js.map +1 -0
- package/dist/ui-library/p-502ff3d3.entry.js +2 -0
- package/dist/ui-library/p-502ff3d3.entry.js.map +1 -0
- package/dist/ui-library/p-5a34c93e.entry.js +2 -0
- package/dist/ui-library/p-5a34c93e.entry.js.map +1 -0
- package/dist/ui-library/p-60621dc6.js +2 -0
- package/dist/ui-library/p-60621dc6.js.map +1 -0
- package/dist/ui-library/p-63703ba3.entry.js.map +1 -1
- package/dist/ui-library/p-66180e89.entry.js +2 -0
- package/dist/ui-library/p-66180e89.entry.js.map +1 -0
- package/dist/ui-library/p-686b12ec.entry.js +2 -0
- package/dist/ui-library/p-686b12ec.entry.js.map +1 -0
- package/dist/ui-library/p-71035abf.entry.js +2 -0
- package/dist/ui-library/p-71035abf.entry.js.map +1 -0
- package/dist/ui-library/{p-8a970a40.entry.js → p-724e154d.entry.js} +2 -2
- package/dist/ui-library/p-724e154d.entry.js.map +1 -0
- package/dist/ui-library/p-72ca96e1.entry.js +2 -0
- package/dist/ui-library/p-72ca96e1.entry.js.map +1 -0
- package/dist/ui-library/p-73597d13.entry.js.map +1 -1
- package/dist/ui-library/{p-c30f9e0b.entry.js → p-778cf804.entry.js} +2 -2
- package/dist/ui-library/p-778cf804.entry.js.map +1 -0
- package/dist/ui-library/p-87032e26.entry.js +2 -0
- package/dist/ui-library/p-87032e26.entry.js.map +1 -0
- package/dist/ui-library/p-8cf72af6.js +2 -0
- package/dist/ui-library/p-8cf72af6.js.map +1 -0
- package/dist/ui-library/p-8e0b6b7e.entry.js +2 -0
- package/dist/ui-library/p-8e0b6b7e.entry.js.map +1 -0
- package/dist/ui-library/p-912092c0.entry.js +2 -0
- package/dist/ui-library/p-912092c0.entry.js.map +1 -0
- package/dist/ui-library/p-92ca6a84.entry.js +2 -0
- package/dist/ui-library/p-92ca6a84.entry.js.map +1 -0
- package/dist/ui-library/{p-d5633a29.entry.js → p-9337cdd6.entry.js} +2 -2
- package/dist/ui-library/p-9337cdd6.entry.js.map +1 -0
- package/dist/ui-library/p-9461417e.entry.js +2 -0
- package/dist/ui-library/p-9461417e.entry.js.map +1 -0
- package/dist/ui-library/p-a1d4f6cf.entry.js.map +1 -1
- package/dist/ui-library/p-a49ae60a.entry.js +2 -0
- package/dist/ui-library/p-a49ae60a.entry.js.map +1 -0
- package/dist/ui-library/{p-611e1978.entry.js → p-a844cb72.entry.js} +2 -2
- package/dist/ui-library/{p-611e1978.entry.js.map → p-a844cb72.entry.js.map} +1 -1
- package/dist/ui-library/p-afcbe9da.entry.js +2 -0
- package/dist/ui-library/p-afcbe9da.entry.js.map +1 -0
- package/dist/ui-library/{p-97cc839c.entry.js → p-b3bff992.entry.js} +2 -2
- package/dist/ui-library/p-b3bff992.entry.js.map +1 -0
- package/dist/ui-library/p-b4547fb5.entry.js +2 -0
- package/dist/ui-library/p-b4547fb5.entry.js.map +1 -0
- package/dist/ui-library/{p-4f8394d7.js → p-ba74863a.js} +2 -2
- package/dist/ui-library/p-ba74863a.js.map +1 -0
- package/dist/ui-library/p-bd8f8eef.entry.js +2 -0
- package/dist/ui-library/p-bd8f8eef.entry.js.map +1 -0
- package/dist/ui-library/p-c57f16af.entry.js +2 -0
- package/dist/ui-library/p-c57f16af.entry.js.map +1 -0
- package/dist/ui-library/p-c5cdba08.entry.js +2 -0
- package/dist/ui-library/p-c5cdba08.entry.js.map +1 -0
- package/dist/ui-library/p-c87810b0.entry.js +2 -0
- package/dist/ui-library/p-c87810b0.entry.js.map +1 -0
- package/dist/ui-library/{p-af793d04.entry.js → p-cdcde4cd.entry.js} +2 -2
- package/dist/ui-library/p-cdcde4cd.entry.js.map +1 -0
- package/dist/ui-library/p-d6798d35.entry.js +2 -0
- package/dist/ui-library/p-d6798d35.entry.js.map +1 -0
- package/dist/ui-library/p-d87a6f4d.js +2 -0
- package/dist/ui-library/p-d87a6f4d.js.map +1 -0
- package/dist/ui-library/p-dc3f5996.entry.js +2 -0
- package/dist/ui-library/p-dc3f5996.entry.js.map +1 -0
- package/dist/ui-library/p-dcd7c547.entry.js +2 -0
- package/dist/ui-library/p-dcd7c547.entry.js.map +1 -0
- package/dist/ui-library/p-e07b3f0c.entry.js +2 -0
- package/dist/ui-library/p-e07b3f0c.entry.js.map +1 -0
- package/dist/ui-library/{p-19364560.entry.js → p-e8feb81f.entry.js} +2 -2
- package/dist/ui-library/{p-19364560.entry.js.map → p-e8feb81f.entry.js.map} +1 -1
- package/dist/ui-library/p-ef3936e5.entry.js +2 -0
- package/dist/ui-library/p-ef3936e5.entry.js.map +1 -0
- package/dist/ui-library/p-f0dd77e1.entry.js +2 -0
- package/dist/ui-library/p-f0dd77e1.entry.js.map +1 -0
- package/dist/ui-library/ui-library.esm.js +1 -1
- package/dist/ui-library/ui-library.esm.js.map +1 -1
- package/package.json +2 -2
- package/dist/cjs/event-listeners-74715e62.js +0 -45
- package/dist/cjs/event-listeners-74715e62.js.map +0 -1
- package/dist/cjs/execution-control-46f388e0.js.map +0 -1
- package/dist/cjs/focus-visible-0b352c74.js.map +0 -1
- package/dist/cjs/form-control-2c17c573.js.map +0 -1
- package/dist/cjs/modal-48d42228.js.map +0 -1
- package/dist/cjs/popover-f743f62b.js.map +0 -1
- package/dist/cjs/six-form.cjs.entry.js +0 -231
- package/dist/cjs/six-form.cjs.entry.js.map +0 -1
- package/dist/cjs/six-timepicker.types-c19ebff3.js +0 -56
- package/dist/cjs/six-timepicker.types-c19ebff3.js.map +0 -1
- package/dist/cjs/slot-ad537f24.js.map +0 -1
- package/dist/collection/components/six-form/six-form.css +0 -11
- package/dist/collection/components/six-form/six-form.js +0 -419
- package/dist/collection/components/six-form/six-form.js.map +0 -1
- package/dist/collection/components/six-timepicker/six-time-format.js +0 -15
- package/dist/collection/components/six-timepicker/six-time-format.js.map +0 -1
- package/dist/collection/components/six-timepicker/six-timepicker.types.js +0 -41
- package/dist/collection/components/six-timepicker/six-timepicker.types.js.map +0 -1
- package/dist/collection/utils/as-array.js +0 -2
- package/dist/collection/utils/as-array.js.map +0 -1
- package/dist/collection/utils/matchers.js +0 -3
- package/dist/collection/utils/matchers.js.map +0 -1
- package/dist/collection/utils/testing.js +0 -39
- package/dist/collection/utils/testing.js.map +0 -1
- package/dist/components/six-form.d.ts +0 -11
- package/dist/components/six-form.js +0 -252
- package/dist/components/six-form.js.map +0 -1
- package/dist/esm/event-listeners-570a24ea.js +0 -43
- package/dist/esm/event-listeners-570a24ea.js.map +0 -1
- package/dist/esm/execution-control-1a60d709.js.map +0 -1
- package/dist/esm/focus-visible-97933ea9.js.map +0 -1
- package/dist/esm/form-control-3b440ea1.js.map +0 -1
- package/dist/esm/modal-5ebdc320.js.map +0 -1
- package/dist/esm/popover-bd2c2fca.js.map +0 -1
- package/dist/esm/six-form.entry.js +0 -227
- package/dist/esm/six-form.entry.js.map +0 -1
- package/dist/esm/six-timepicker.types-e161a447.js +0 -50
- package/dist/esm/six-timepicker.types-e161a447.js.map +0 -1
- package/dist/esm/slot-6f3984c7.js.map +0 -1
- package/dist/types/components/six-form/six-form.d.ts +0 -69
- package/dist/types/components/six-timepicker/six-time-format.d.ts +0 -13
- package/dist/types/components/six-timepicker/six-timepicker.types.d.ts +0 -36
- package/dist/types/utils/as-array.d.ts +0 -1
- package/dist/types/utils/matchers.d.ts +0 -2
- package/dist/types/utils/popper.d.ts +0 -33
- package/dist/types/utils/testing.d.ts +0 -2
- package/dist/ui-library/p-054e12cc.entry.js +0 -2
- package/dist/ui-library/p-054e12cc.entry.js.map +0 -1
- package/dist/ui-library/p-0786fa7c.js +0 -2
- package/dist/ui-library/p-0786fa7c.js.map +0 -1
- package/dist/ui-library/p-163f2bb0.entry.js +0 -2
- package/dist/ui-library/p-163f2bb0.entry.js.map +0 -1
- package/dist/ui-library/p-18e5f772.entry.js +0 -2
- package/dist/ui-library/p-18e5f772.entry.js.map +0 -1
- package/dist/ui-library/p-18ea0c56.js +0 -2
- package/dist/ui-library/p-18ea0c56.js.map +0 -1
- package/dist/ui-library/p-19b50b5a.entry.js.map +0 -1
- package/dist/ui-library/p-2e48c8d2.entry.js +0 -2
- package/dist/ui-library/p-2e48c8d2.entry.js.map +0 -1
- package/dist/ui-library/p-308261c4.entry.js +0 -2
- package/dist/ui-library/p-308261c4.entry.js.map +0 -1
- package/dist/ui-library/p-33f7e22b.entry.js +0 -2
- package/dist/ui-library/p-33f7e22b.entry.js.map +0 -1
- package/dist/ui-library/p-394a2a12.entry.js +0 -2
- package/dist/ui-library/p-394a2a12.entry.js.map +0 -1
- package/dist/ui-library/p-3c635d0a.entry.js.map +0 -1
- package/dist/ui-library/p-4ae91795.entry.js +0 -2
- package/dist/ui-library/p-4ae91795.entry.js.map +0 -1
- package/dist/ui-library/p-4f8394d7.js.map +0 -1
- package/dist/ui-library/p-53a13db5.entry.js +0 -2
- package/dist/ui-library/p-53a13db5.entry.js.map +0 -1
- package/dist/ui-library/p-559c87f0.entry.js +0 -2
- package/dist/ui-library/p-559c87f0.entry.js.map +0 -1
- package/dist/ui-library/p-5a25d6fb.entry.js +0 -2
- package/dist/ui-library/p-5a25d6fb.entry.js.map +0 -1
- package/dist/ui-library/p-6403fd87.entry.js +0 -2
- package/dist/ui-library/p-6403fd87.entry.js.map +0 -1
- package/dist/ui-library/p-6433c0da.entry.js +0 -2
- package/dist/ui-library/p-6433c0da.entry.js.map +0 -1
- package/dist/ui-library/p-79eee01b.js +0 -2
- package/dist/ui-library/p-79eee01b.js.map +0 -1
- package/dist/ui-library/p-8a970a40.entry.js.map +0 -1
- package/dist/ui-library/p-90824648.entry.js +0 -2
- package/dist/ui-library/p-90824648.entry.js.map +0 -1
- package/dist/ui-library/p-9328e5bc.entry.js.map +0 -1
- package/dist/ui-library/p-97cc839c.entry.js.map +0 -1
- package/dist/ui-library/p-9a860acc.js +0 -2
- package/dist/ui-library/p-9a860acc.js.map +0 -1
- package/dist/ui-library/p-9d1d222f.entry.js +0 -2
- package/dist/ui-library/p-9d1d222f.entry.js.map +0 -1
- package/dist/ui-library/p-af793d04.entry.js.map +0 -1
- package/dist/ui-library/p-b0e5658f.entry.js +0 -2
- package/dist/ui-library/p-b0e5658f.entry.js.map +0 -1
- package/dist/ui-library/p-b1e66136.js +0 -2
- package/dist/ui-library/p-b1e66136.js.map +0 -1
- package/dist/ui-library/p-b4dfb7cf.js +0 -2
- package/dist/ui-library/p-b4dfb7cf.js.map +0 -1
- package/dist/ui-library/p-b997e43c.entry.js +0 -2
- package/dist/ui-library/p-b997e43c.entry.js.map +0 -1
- package/dist/ui-library/p-c0cb6436.entry.js +0 -2
- package/dist/ui-library/p-c0cb6436.entry.js.map +0 -1
- package/dist/ui-library/p-c30f9e0b.entry.js.map +0 -1
- package/dist/ui-library/p-c349d1d4.entry.js.map +0 -1
- package/dist/ui-library/p-c53a63f9.entry.js +0 -2
- package/dist/ui-library/p-c53a63f9.entry.js.map +0 -1
- package/dist/ui-library/p-c640c2d8.entry.js +0 -2
- package/dist/ui-library/p-c640c2d8.entry.js.map +0 -1
- package/dist/ui-library/p-c94d0b07.entry.js +0 -2
- package/dist/ui-library/p-c94d0b07.entry.js.map +0 -1
- package/dist/ui-library/p-d12c6092.js +0 -2
- package/dist/ui-library/p-d12c6092.js.map +0 -1
- package/dist/ui-library/p-d5633a29.entry.js.map +0 -1
- package/dist/ui-library/p-df655bc9.entry.js +0 -2
- package/dist/ui-library/p-df655bc9.entry.js.map +0 -1
- package/dist/ui-library/p-f18ba86f.entry.js +0 -2
- package/dist/ui-library/p-f18ba86f.entry.js.map +0 -1
- package/dist/ui-library/p-f4938771.entry.js +0 -2
- package/dist/ui-library/p-f4938771.entry.js.map +0 -1
- package/dist/ui-library/p-f604e067.entry.js +0 -2
- package/dist/ui-library/p-f604e067.entry.js.map +0 -1
- package/dist/ui-library/p-f70e2403.entry.js +0 -2
- package/dist/ui-library/p-f70e2403.entry.js.map +0 -1
- package/dist/ui-library/p-f9d345e0.entry.js +0 -2
- package/dist/ui-library/p-f9d345e0.entry.js.map +0 -1
- package/dist/ui-library/p-fed07a1f.entry.js +0 -2
- package/dist/ui-library/p-fed07a1f.entry.js.map +0 -1
- package/dist/ui-library/p-ff0257bf.entry.js +0 -2
- package/dist/ui-library/p-ff0257bf.entry.js.map +0 -1
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import { h } from '@stencil/core';
|
|
2
2
|
import { ItemPickerType } from '../six-item-picker/types';
|
|
3
|
-
import {
|
|
4
|
-
import { SixTimePropertyName, TIME_FORMAT_CHAR } from './six-timepicker.types';
|
|
5
|
-
import { createTimeString, getCurrentTime, isValidTimeString, parseTimeString, TIME_FORMAT_SEPARATOR, } from '../../utils/time.util';
|
|
3
|
+
import { createTimeString, getCurrentTime, isValidTimeString, parseTimeString, } from '../../utils/time.util';
|
|
6
4
|
import { debounce, DEFAULT_DEBOUNCE_FAST, DEFAULT_DEBOUNCE_INSANELY_FAST } from '../../utils/execution-control';
|
|
7
5
|
import { EventListeners } from '../../utils/event-listeners';
|
|
8
6
|
import { hasSlot } from '../../utils/slot';
|
|
9
|
-
import {
|
|
10
|
-
const TAG = `[SIX-TIMEPICKER]`;
|
|
11
|
-
const DEBOUNCE_TIMEPICKER_LISTENER = 'debounced-timepicker';
|
|
7
|
+
import { adjustPopupForHoisting, movePopup } from '../../utils/popup';
|
|
12
8
|
const MIN_POPUP_HEIGHT = 145;
|
|
13
9
|
/**
|
|
14
10
|
* @since 2.0.0
|
|
@@ -22,43 +18,28 @@ const MIN_POPUP_HEIGHT = 145;
|
|
|
22
18
|
export class SixTimepicker {
|
|
23
19
|
constructor() {
|
|
24
20
|
this.eventListeners = new EventListeners();
|
|
25
|
-
this.
|
|
26
|
-
|
|
21
|
+
this.handlePickerChange = (event, property) => {
|
|
22
|
+
// stop propagation, since the timepicker should not expose the events of the underlying item-picker
|
|
27
23
|
event.stopPropagation();
|
|
28
|
-
|
|
29
|
-
if (!isValidTimeString(inputValue, this.format)) {
|
|
30
|
-
this.sixChange.emit({
|
|
31
|
-
value: {},
|
|
32
|
-
valueAsString: '',
|
|
33
|
-
});
|
|
24
|
+
if (this.popupValue == null) {
|
|
34
25
|
return;
|
|
35
26
|
}
|
|
36
|
-
this.internalValue = parseTimeString(inputValue, this.format);
|
|
37
|
-
this.sixChange.emit({
|
|
38
|
-
value: this.internalValue,
|
|
39
|
-
valueAsString: createTimeString(this.internalValue, this.format),
|
|
40
|
-
});
|
|
41
|
-
};
|
|
42
|
-
this.handleSixTimepickerChangeDebounced = ({ detail }) => {
|
|
43
|
-
this.sixChangeDebounced.emit(detail);
|
|
44
|
-
};
|
|
45
|
-
this.handleChange = (event, property) => {
|
|
46
|
-
// stop propagation, since the timepicker should not expose the events of the underlying item-picker
|
|
47
|
-
event.stopPropagation();
|
|
48
27
|
// update the internal state
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
28
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
this.popupValue[property] = event.detail;
|
|
31
|
+
const timeString = createTimeString(this.popupValue, this.format);
|
|
32
|
+
// update the input value
|
|
33
|
+
this.value = timeString;
|
|
34
|
+
// emit change event
|
|
52
35
|
this.sixChange.emit({
|
|
53
36
|
changedProperty: property,
|
|
54
|
-
value: this.
|
|
37
|
+
value: this.popupValue,
|
|
55
38
|
valueAsString: timeString,
|
|
56
39
|
});
|
|
57
|
-
// update the input value
|
|
58
|
-
this.value = timeString;
|
|
59
40
|
};
|
|
60
41
|
this.handleDocumentMouseDown = (event) => {
|
|
61
|
-
// Close when clicking outside
|
|
42
|
+
// Close when clicking outside the containing element
|
|
62
43
|
const path = event.composedPath();
|
|
63
44
|
if (!path.includes(this.host)) {
|
|
64
45
|
this.closePopup();
|
|
@@ -67,23 +48,27 @@ export class SixTimepicker {
|
|
|
67
48
|
};
|
|
68
49
|
this.handleClearClick = (event) => {
|
|
69
50
|
event.stopPropagation();
|
|
70
|
-
this.value =
|
|
51
|
+
this.value = '';
|
|
71
52
|
this.sixClear.emit();
|
|
53
|
+
this.sixChange.emit({
|
|
54
|
+
value: {},
|
|
55
|
+
valueAsString: '',
|
|
56
|
+
});
|
|
72
57
|
};
|
|
73
|
-
this.format =
|
|
74
|
-
this.separator =
|
|
75
|
-
this.value =
|
|
58
|
+
this.format = 'HH:mm:ss';
|
|
59
|
+
this.separator = ':';
|
|
60
|
+
this.value = '';
|
|
76
61
|
this.open = false;
|
|
77
62
|
this.inline = false;
|
|
78
63
|
this.readonly = false;
|
|
79
64
|
this.disabled = false;
|
|
80
65
|
this.placement = undefined;
|
|
81
66
|
this.size = 'medium';
|
|
82
|
-
this.required =
|
|
67
|
+
this.required = false;
|
|
83
68
|
this.placeholder = undefined;
|
|
84
|
-
this.errorOnBlur = false;
|
|
85
69
|
this.errorText = '';
|
|
86
70
|
this.label = '';
|
|
71
|
+
this.invalid = false;
|
|
87
72
|
this.name = '';
|
|
88
73
|
this.clearable = false;
|
|
89
74
|
this.iconPosition = 'left';
|
|
@@ -94,7 +79,7 @@ export class SixTimepicker {
|
|
|
94
79
|
this.debounce = DEFAULT_DEBOUNCE_FAST;
|
|
95
80
|
this.isPopupContentUp = false;
|
|
96
81
|
this.isDropDownContentUp = false;
|
|
97
|
-
this.
|
|
82
|
+
this.popupValue = {};
|
|
98
83
|
}
|
|
99
84
|
async resizeHandler() {
|
|
100
85
|
this.calcIsPopupContentUp();
|
|
@@ -104,43 +89,27 @@ export class SixTimepicker {
|
|
|
104
89
|
this.calcIsPopupContentUp();
|
|
105
90
|
this.moveOpenHoistedPopup();
|
|
106
91
|
}
|
|
107
|
-
debounceChanged() {
|
|
108
|
-
this.eventListeners.removeByIdentifier(DEBOUNCE_TIMEPICKER_LISTENER);
|
|
109
|
-
this.eventListeners.add(this.host, 'six-timepicker-change', debounce(this.handleSixTimepickerChangeDebounced, this.debounce), DEBOUNCE_TIMEPICKER_LISTENER);
|
|
110
|
-
}
|
|
111
92
|
/**
|
|
112
93
|
* Update the native input element when the value changes
|
|
113
94
|
*/
|
|
114
|
-
valueChanged(
|
|
115
|
-
|
|
116
|
-
this.value = newValue;
|
|
117
|
-
}
|
|
118
|
-
this.setupInternalTime();
|
|
119
|
-
this.sixChange.emit({
|
|
120
|
-
value: this.internalValue,
|
|
121
|
-
valueAsString: createTimeString(this.internalValue, this.format),
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
125
|
-
async reportValidity() {
|
|
126
|
-
return this.inputElement.reportValidity();
|
|
95
|
+
valueChanged() {
|
|
96
|
+
this.updateValue();
|
|
127
97
|
}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
98
|
+
invalidChanged(invalid) {
|
|
99
|
+
if (this.inputElement) {
|
|
100
|
+
this.inputElement.invalid = invalid;
|
|
101
|
+
}
|
|
131
102
|
}
|
|
132
|
-
/** Sets
|
|
133
|
-
async
|
|
134
|
-
|
|
103
|
+
/** Sets focus on the datepickers input. */
|
|
104
|
+
async setFocus(options) {
|
|
105
|
+
var _a;
|
|
106
|
+
(_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.setFocus(options);
|
|
135
107
|
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
this.internalValue = this.defaultValue;
|
|
139
|
-
this.inputElement.value = createTimeString(this.internalValue, this.format);
|
|
140
|
-
await this.inputElement.reset();
|
|
108
|
+
connectedCallback() {
|
|
109
|
+
this.eventListeners.forward('six-timepicker-change', 'change', this.host);
|
|
141
110
|
}
|
|
142
111
|
componentWillLoad() {
|
|
143
|
-
this.
|
|
112
|
+
this.updateValue();
|
|
144
113
|
if (this.inline) {
|
|
145
114
|
this.open = true;
|
|
146
115
|
}
|
|
@@ -149,14 +118,58 @@ export class SixTimepicker {
|
|
|
149
118
|
}
|
|
150
119
|
}
|
|
151
120
|
componentDidLoad() {
|
|
152
|
-
|
|
153
|
-
|
|
121
|
+
if (this.inputElement == null)
|
|
122
|
+
return;
|
|
123
|
+
const inputElement = this.inputElement;
|
|
124
|
+
// emit debounced change event
|
|
125
|
+
this.eventListeners.add(this.host, 'six-timepicker-change', debounce((event) => this.sixChangeDebounced.emit(event.detail), this.debounce));
|
|
126
|
+
// update value and popup value based on input-element value
|
|
127
|
+
this.eventListeners.add(inputElement, 'six-input-input', debounce((event) => {
|
|
128
|
+
event.stopPropagation();
|
|
129
|
+
// emit empty event if time string is invalid
|
|
130
|
+
if (!isValidTimeString(inputElement.value, this.format)) {
|
|
131
|
+
this.value = inputElement.value;
|
|
132
|
+
this.sixChange.emit({
|
|
133
|
+
value: {},
|
|
134
|
+
valueAsString: '',
|
|
135
|
+
});
|
|
136
|
+
return;
|
|
137
|
+
}
|
|
138
|
+
// update value and popup value, and emit the new value
|
|
139
|
+
this.value = inputElement.value;
|
|
140
|
+
this.popupValue = parseTimeString(inputElement.value, this.format);
|
|
141
|
+
this.sixChange.emit({
|
|
142
|
+
value: this.popupValue,
|
|
143
|
+
valueAsString: createTimeString(this.popupValue, this.format),
|
|
144
|
+
});
|
|
145
|
+
}, this.debounce));
|
|
146
|
+
}
|
|
147
|
+
componentDidRender() {
|
|
148
|
+
adjustPopupForHoisting(this.hoist, this.popup, this.inputElement, this.wrapper, MIN_POPUP_HEIGHT, (isUp) => (this.isDropDownContentUp = isUp));
|
|
154
149
|
}
|
|
155
150
|
disconnectedCallback() {
|
|
156
151
|
this.eventListeners.removeAll();
|
|
157
152
|
}
|
|
153
|
+
updateValue() {
|
|
154
|
+
// normalize value
|
|
155
|
+
if (typeof this.value !== 'string' || !isValidTimeString(this.value, this.format)) {
|
|
156
|
+
this.value = '';
|
|
157
|
+
}
|
|
158
|
+
// update popup value
|
|
159
|
+
if (this.value === '') {
|
|
160
|
+
if (this.defaultTime == null) {
|
|
161
|
+
this.popupValue = getCurrentTime(this.is24HourClock());
|
|
162
|
+
}
|
|
163
|
+
else {
|
|
164
|
+
this.popupValue = parseTimeString(this.defaultTime, this.format);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
else {
|
|
168
|
+
this.popupValue = parseTimeString(this.value, this.format);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
158
171
|
calcIsPopupContentUp() {
|
|
159
|
-
if (
|
|
172
|
+
if (this.inputElement == null || this.wrapper == null) {
|
|
160
173
|
return;
|
|
161
174
|
}
|
|
162
175
|
const inputBoundingRect = this.inputElement.getBoundingClientRect();
|
|
@@ -165,61 +178,32 @@ export class SixTimepicker {
|
|
|
165
178
|
const moreSpaceInTop = inputBoundingRect.y > window.innerHeight / 2;
|
|
166
179
|
this.isPopupContentUp = moreSpaceInTop && window.innerHeight < inputBoundingRect.bottom + minPopupHeight;
|
|
167
180
|
}
|
|
168
|
-
/*
|
|
169
|
-
* The position of the hoisted timepicker needs to be correctly calculated since the position changes to fixed.
|
|
170
|
-
* Thus if the user scrolls or adjusts the screen size we need to recalculate the timepicker position.
|
|
171
|
-
*/
|
|
172
181
|
moveOpenHoistedPopup() {
|
|
173
|
-
|
|
174
|
-
return;
|
|
175
|
-
}
|
|
176
|
-
const popupBoundingClientRect = this.popup.getBoundingClientRect();
|
|
177
|
-
const popupHeight = popupBoundingClientRect.height;
|
|
178
|
-
const inputBoundingClientRect = this.inputElement.getBoundingClientRect();
|
|
179
|
-
const inputTop = inputBoundingClientRect.top;
|
|
180
|
-
const inputHeight = inputBoundingClientRect.height;
|
|
181
|
-
this.calcIsPopupContentUp();
|
|
182
|
-
if (this.isPopupContentUp) {
|
|
183
|
-
this.popup.style.top = `${inputTop - popupHeight}px`;
|
|
184
|
-
}
|
|
185
|
-
else {
|
|
186
|
-
this.popup.style.top = `${inputTop + inputHeight}px`;
|
|
187
|
-
}
|
|
182
|
+
movePopup(this.hoist, this.open, this.popup, this.inputElement, this.wrapper, MIN_POPUP_HEIGHT);
|
|
188
183
|
}
|
|
189
184
|
getSixTimeUnitPicker(params) {
|
|
190
|
-
return (h("six-item-picker", { class: params.class, timeout: this.timeout, interval: this.interval, padded: true, min: params.min, max: params.max,
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
console.error(`${TAG} You provided a 12-hour-clock format but are missing the period (am or pm) in the time-format-string!`);
|
|
195
|
-
}
|
|
196
|
-
if (this.value === null || this.value === undefined) {
|
|
197
|
-
this.internalValue = isNil(this.defaultTime)
|
|
198
|
-
? getCurrentTime(this.is24HourClock())
|
|
199
|
-
: parseTimeString(this.defaultTime, this.format);
|
|
200
|
-
}
|
|
201
|
-
else {
|
|
202
|
-
this.internalValue = parseTimeString(this.value, this.format);
|
|
203
|
-
}
|
|
204
|
-
this.defaultValue = this.internalValue;
|
|
185
|
+
return (h("six-item-picker", { class: params.class, timeout: this.timeout, interval: this.interval, padded: true, min: params.min, max: params.max,
|
|
186
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
187
|
+
// @ts-ignore
|
|
188
|
+
value: this.popupValue[params.propertyName], items: params.items, type: params.type || ItemPickerType.NUMBER, "padding-length": params.paddingLength, "onSix-item-picker-change": (event) => this.handlePickerChange(event, params.propertyName) }));
|
|
205
189
|
}
|
|
206
190
|
getHour24Picker() {
|
|
207
191
|
if (!this.is24HourClock()) {
|
|
208
192
|
return;
|
|
209
193
|
}
|
|
210
|
-
return this.getSixTimeUnitPicker({ min: 0, max: 23, propertyName:
|
|
194
|
+
return this.getSixTimeUnitPicker({ min: 0, max: 23, propertyName: 'hours' });
|
|
211
195
|
}
|
|
212
196
|
is24HourClock() {
|
|
213
|
-
return this.format.includes(
|
|
197
|
+
return this.format.includes('HH');
|
|
214
198
|
}
|
|
215
199
|
getHour12Picker() {
|
|
216
200
|
if (!this.is12HourClock()) {
|
|
217
201
|
return;
|
|
218
202
|
}
|
|
219
|
-
return this.getSixTimeUnitPicker({ min: 0, max: 11, propertyName:
|
|
203
|
+
return this.getSixTimeUnitPicker({ min: 0, max: 11, propertyName: 'hours' });
|
|
220
204
|
}
|
|
221
205
|
is12HourClock() {
|
|
222
|
-
return this.format.includes(
|
|
206
|
+
return this.format.includes('hh');
|
|
223
207
|
}
|
|
224
208
|
getAmPmPicker() {
|
|
225
209
|
if (!this.is12HourClock()) {
|
|
@@ -229,23 +213,23 @@ export class SixTimepicker {
|
|
|
229
213
|
return this.getSixTimeUnitPicker({
|
|
230
214
|
items,
|
|
231
215
|
type: ItemPickerType.CUSTOM,
|
|
232
|
-
propertyName:
|
|
216
|
+
propertyName: 'period',
|
|
233
217
|
});
|
|
234
218
|
}
|
|
235
219
|
getMinutePicker() {
|
|
236
|
-
if (!this.format.includes(
|
|
220
|
+
if (!this.format.includes('mm')) {
|
|
237
221
|
return;
|
|
238
222
|
}
|
|
239
|
-
return this.getSixTimeUnitPicker({ min: 0, max: 59, propertyName:
|
|
223
|
+
return this.getSixTimeUnitPicker({ min: 0, max: 59, propertyName: 'minutes' });
|
|
240
224
|
}
|
|
241
225
|
getSecondsPicker() {
|
|
242
|
-
if (!this.format.includes(
|
|
226
|
+
if (!this.format.includes('ss')) {
|
|
243
227
|
return;
|
|
244
228
|
}
|
|
245
|
-
return this.getSixTimeUnitPicker({ min: 0, max: 59, propertyName:
|
|
229
|
+
return this.getSixTimeUnitPicker({ min: 0, max: 59, propertyName: 'seconds' });
|
|
246
230
|
}
|
|
247
231
|
getMillisecondsPicker() {
|
|
248
|
-
if (!this.format.includes(
|
|
232
|
+
if (!this.format.includes('ms')) {
|
|
249
233
|
return;
|
|
250
234
|
}
|
|
251
235
|
return this.getSixTimeUnitPicker({
|
|
@@ -253,7 +237,7 @@ export class SixTimepicker {
|
|
|
253
237
|
max: 999,
|
|
254
238
|
class: 'timepicker__item--wide',
|
|
255
239
|
paddingLength: 3,
|
|
256
|
-
propertyName:
|
|
240
|
+
propertyName: 'milliseconds',
|
|
257
241
|
});
|
|
258
242
|
}
|
|
259
243
|
getSeparator() {
|
|
@@ -302,55 +286,13 @@ export class SixTimepicker {
|
|
|
302
286
|
'prefix--right': this.iconPosition === 'right',
|
|
303
287
|
} }, icon));
|
|
304
288
|
}
|
|
305
|
-
calcIsDropDownContentUp() {
|
|
306
|
-
if (!this.inputElement || !this.wrapper) {
|
|
307
|
-
return;
|
|
308
|
-
}
|
|
309
|
-
const inputBoundingRect = this.inputElement.getBoundingClientRect();
|
|
310
|
-
const wrapperBoundingRect = this.wrapper.getBoundingClientRect();
|
|
311
|
-
const minPopupHeight = Math.max(wrapperBoundingRect.height, MIN_POPUP_HEIGHT);
|
|
312
|
-
const moreSpaceInTop = inputBoundingRect.y > window.innerHeight / 2;
|
|
313
|
-
this.isDropDownContentUp = moreSpaceInTop && window.innerHeight < inputBoundingRect.bottom + minPopupHeight;
|
|
314
|
-
}
|
|
315
|
-
/*
|
|
316
|
-
* If the popup is hoisted we popup is hoisted its position will change to fix to not be clipped of by a containing container.
|
|
317
|
-
* To render the popup correctly we render it normally, and then assign this screenposition to the fixed popup
|
|
318
|
-
*/
|
|
319
|
-
adjustPopupForHoisting() {
|
|
320
|
-
if (!this.hoist) {
|
|
321
|
-
return;
|
|
322
|
-
}
|
|
323
|
-
// execute after dropdown has been rendered to make sure the popup reference is correctly set
|
|
324
|
-
setTimeout(() => {
|
|
325
|
-
if (!this.popup) {
|
|
326
|
-
return;
|
|
327
|
-
}
|
|
328
|
-
// take a snapshot of normally rendered popup
|
|
329
|
-
const popupBoundingClientRect = this.popup.getBoundingClientRect();
|
|
330
|
-
// apply screen position to fixed popup
|
|
331
|
-
this.popup.style.position = 'fixed';
|
|
332
|
-
['top', 'left', 'width', 'height'].forEach((property) => {
|
|
333
|
-
this.popup.style[property] = `${popupBoundingClientRect[property]}px`;
|
|
334
|
-
});
|
|
335
|
-
const inputBoundingClientRect = this.inputElement.getBoundingClientRect();
|
|
336
|
-
const inputTop = inputBoundingClientRect.top;
|
|
337
|
-
const popupTop = popupBoundingClientRect.top;
|
|
338
|
-
this.calcIsDropDownContentUp();
|
|
339
|
-
// check screen position to check whether the popup should be moved above or below the trigger element
|
|
340
|
-
if (this.isDropDownContentUp && inputTop < popupTop) {
|
|
341
|
-
// move popup above input field if timepicker is at bottom of screen
|
|
342
|
-
this.popup.style.top = `${popupTop - popupBoundingClientRect.height - inputBoundingClientRect.height}px`;
|
|
343
|
-
}
|
|
344
|
-
}, 0);
|
|
345
|
-
}
|
|
346
289
|
render() {
|
|
347
|
-
this.
|
|
348
|
-
|
|
349
|
-
'input--empty': !this.value,
|
|
290
|
+
return (h("div", { part: "container", ref: (el) => (this.wrapper = el), class: "timepicker__container" }, h("six-input", { ref: (el) => (this.inputElement = el), part: "input", onClick: () => this.openPopup(), value: this.value, placeholder: this.placeholder, readonly: this.readonly, disabled: this.disabled, size: this.size, name: this.name, label: this.label, required: this.required, "error-text": this.errorText, class: {
|
|
291
|
+
'input--empty': this.value === '',
|
|
350
292
|
'input--hide': this.inline,
|
|
351
|
-
} }, this.renderCustomIcon(), this.renderClearable(), hasSlot(this.host, '
|
|
293
|
+
} }, this.renderCustomIcon(), this.renderClearable(), hasSlot(this.host, 'label') ? (h("span", { slot: "label" }, h("slot", { name: "label" }))) : null), this.open && (h("div", { ref: (el) => (this.popup = el), part: "popup", class: {
|
|
352
294
|
timepicker__popup: true,
|
|
353
|
-
'timepicker__popup--is-up': this.placement ? this.placement === 'top' : this.isPopupContentUp,
|
|
295
|
+
'timepicker__popup--is-up': this.placement == null ? this.placement === 'top' : this.isPopupContentUp,
|
|
354
296
|
'timepicker__popup--is-inline': this.inline,
|
|
355
297
|
} }, ...this.getContent(), this.getAmPmPicker()))));
|
|
356
298
|
}
|
|
@@ -372,12 +314,12 @@ export class SixTimepicker {
|
|
|
372
314
|
"type": "string",
|
|
373
315
|
"mutable": false,
|
|
374
316
|
"complexType": {
|
|
375
|
-
"original": "
|
|
376
|
-
"resolved": "
|
|
317
|
+
"original": "TimeFormat",
|
|
318
|
+
"resolved": "\"HH\" | \"HH:mm\" | \"HH:mm:ss\" | \"HH:mm:ss:ms\" | \"hh:aa\" | \"hh:mm:aa\" | \"hh:mm:ss:aa\" | \"hh:mm:ss:ms:aa\" | \"mm\" | \"ms\" | \"ss\"",
|
|
377
319
|
"references": {
|
|
378
|
-
"
|
|
320
|
+
"TimeFormat": {
|
|
379
321
|
"location": "import",
|
|
380
|
-
"path": "
|
|
322
|
+
"path": "../../utils/time.util"
|
|
381
323
|
}
|
|
382
324
|
}
|
|
383
325
|
},
|
|
@@ -389,7 +331,7 @@ export class SixTimepicker {
|
|
|
389
331
|
},
|
|
390
332
|
"attribute": "format",
|
|
391
333
|
"reflect": false,
|
|
392
|
-
"defaultValue": "
|
|
334
|
+
"defaultValue": "'HH:mm:ss'"
|
|
393
335
|
},
|
|
394
336
|
"separator": {
|
|
395
337
|
"type": "string",
|
|
@@ -407,24 +349,25 @@ export class SixTimepicker {
|
|
|
407
349
|
},
|
|
408
350
|
"attribute": "separator",
|
|
409
351
|
"reflect": false,
|
|
410
|
-
"defaultValue": "
|
|
352
|
+
"defaultValue": "':'"
|
|
411
353
|
},
|
|
412
354
|
"value": {
|
|
413
355
|
"type": "string",
|
|
414
356
|
"mutable": true,
|
|
415
357
|
"complexType": {
|
|
416
|
-
"original": "string
|
|
358
|
+
"original": "string",
|
|
417
359
|
"resolved": "string",
|
|
418
360
|
"references": {}
|
|
419
361
|
},
|
|
420
362
|
"required": false,
|
|
421
|
-
"optional":
|
|
363
|
+
"optional": false,
|
|
422
364
|
"docs": {
|
|
423
365
|
"tags": [],
|
|
424
366
|
"text": "The value of the timepicker provided as a string. The string mast match the provided format (or default format)"
|
|
425
367
|
},
|
|
426
368
|
"attribute": "value",
|
|
427
|
-
"reflect": false
|
|
369
|
+
"reflect": false,
|
|
370
|
+
"defaultValue": "''"
|
|
428
371
|
},
|
|
429
372
|
"open": {
|
|
430
373
|
"type": "boolean",
|
|
@@ -438,7 +381,7 @@ export class SixTimepicker {
|
|
|
438
381
|
"optional": false,
|
|
439
382
|
"docs": {
|
|
440
383
|
"tags": [],
|
|
441
|
-
"text": "Indicates whether
|
|
384
|
+
"text": "Indicates whether the timepicker dropdown is open on startup. You can use this in lieu of the show/hide methods."
|
|
442
385
|
},
|
|
443
386
|
"attribute": "open",
|
|
444
387
|
"reflect": true,
|
|
@@ -456,7 +399,7 @@ export class SixTimepicker {
|
|
|
456
399
|
"optional": false,
|
|
457
400
|
"docs": {
|
|
458
401
|
"tags": [],
|
|
459
|
-
"text": "Indicates whether
|
|
402
|
+
"text": "Indicates whether the timepicker should be shown as an inline (always open) component"
|
|
460
403
|
},
|
|
461
404
|
"attribute": "inline",
|
|
462
405
|
"reflect": true,
|
|
@@ -503,11 +446,11 @@ export class SixTimepicker {
|
|
|
503
446
|
"mutable": false,
|
|
504
447
|
"complexType": {
|
|
505
448
|
"original": "'top' | 'bottom'",
|
|
506
|
-
"resolved": "\"bottom\" | \"top\"",
|
|
449
|
+
"resolved": "\"bottom\" | \"top\" | undefined",
|
|
507
450
|
"references": {}
|
|
508
451
|
},
|
|
509
452
|
"required": false,
|
|
510
|
-
"optional":
|
|
453
|
+
"optional": true,
|
|
511
454
|
"docs": {
|
|
512
455
|
"tags": [],
|
|
513
456
|
"text": "The enforced placement of the dropdown panel."
|
|
@@ -545,17 +488,18 @@ export class SixTimepicker {
|
|
|
545
488
|
"optional": false,
|
|
546
489
|
"docs": {
|
|
547
490
|
"tags": [],
|
|
548
|
-
"text": "Set to true to
|
|
491
|
+
"text": "Set to true to show an asterisk beneath the label."
|
|
549
492
|
},
|
|
550
493
|
"attribute": "required",
|
|
551
|
-
"reflect":
|
|
494
|
+
"reflect": false,
|
|
495
|
+
"defaultValue": "false"
|
|
552
496
|
},
|
|
553
497
|
"placeholder": {
|
|
554
498
|
"type": "string",
|
|
555
499
|
"mutable": false,
|
|
556
500
|
"complexType": {
|
|
557
|
-
"original": "string
|
|
558
|
-
"resolved": "string",
|
|
501
|
+
"original": "string",
|
|
502
|
+
"resolved": "string | undefined",
|
|
559
503
|
"references": {}
|
|
560
504
|
},
|
|
561
505
|
"required": false,
|
|
@@ -567,24 +511,6 @@ export class SixTimepicker {
|
|
|
567
511
|
"attribute": "placeholder",
|
|
568
512
|
"reflect": false
|
|
569
513
|
},
|
|
570
|
-
"errorOnBlur": {
|
|
571
|
-
"type": "boolean",
|
|
572
|
-
"mutable": false,
|
|
573
|
-
"complexType": {
|
|
574
|
-
"original": "boolean",
|
|
575
|
-
"resolved": "boolean",
|
|
576
|
-
"references": {}
|
|
577
|
-
},
|
|
578
|
-
"required": false,
|
|
579
|
-
"optional": false,
|
|
580
|
-
"docs": {
|
|
581
|
-
"tags": [],
|
|
582
|
-
"text": "Set to display the error text on blur and not when typing"
|
|
583
|
-
},
|
|
584
|
-
"attribute": "error-on-blur",
|
|
585
|
-
"reflect": false,
|
|
586
|
-
"defaultValue": "false"
|
|
587
|
-
},
|
|
588
514
|
"errorText": {
|
|
589
515
|
"type": "string",
|
|
590
516
|
"mutable": false,
|
|
@@ -621,6 +547,24 @@ export class SixTimepicker {
|
|
|
621
547
|
"reflect": false,
|
|
622
548
|
"defaultValue": "''"
|
|
623
549
|
},
|
|
550
|
+
"invalid": {
|
|
551
|
+
"type": "boolean",
|
|
552
|
+
"mutable": false,
|
|
553
|
+
"complexType": {
|
|
554
|
+
"original": "boolean",
|
|
555
|
+
"resolved": "boolean",
|
|
556
|
+
"references": {}
|
|
557
|
+
},
|
|
558
|
+
"required": false,
|
|
559
|
+
"optional": false,
|
|
560
|
+
"docs": {
|
|
561
|
+
"tags": [],
|
|
562
|
+
"text": "If this property is set to true and an error message is provided by `errorText`, the error message is displayed."
|
|
563
|
+
},
|
|
564
|
+
"attribute": "invalid",
|
|
565
|
+
"reflect": true,
|
|
566
|
+
"defaultValue": "false"
|
|
567
|
+
},
|
|
624
568
|
"name": {
|
|
625
569
|
"type": "string",
|
|
626
570
|
"mutable": false,
|
|
@@ -733,8 +677,8 @@ export class SixTimepicker {
|
|
|
733
677
|
"type": "string",
|
|
734
678
|
"mutable": false,
|
|
735
679
|
"complexType": {
|
|
736
|
-
"original": "string
|
|
737
|
-
"resolved": "string",
|
|
680
|
+
"original": "string",
|
|
681
|
+
"resolved": "string | undefined",
|
|
738
682
|
"references": {}
|
|
739
683
|
},
|
|
740
684
|
"required": false,
|
|
@@ -770,7 +714,7 @@ export class SixTimepicker {
|
|
|
770
714
|
return {
|
|
771
715
|
"isPopupContentUp": {},
|
|
772
716
|
"isDropDownContentUp": {},
|
|
773
|
-
"
|
|
717
|
+
"popupValue": {}
|
|
774
718
|
};
|
|
775
719
|
}
|
|
776
720
|
static get events() {
|
|
@@ -838,41 +782,9 @@ export class SixTimepicker {
|
|
|
838
782
|
}
|
|
839
783
|
static get methods() {
|
|
840
784
|
return {
|
|
841
|
-
"
|
|
842
|
-
"complexType": {
|
|
843
|
-
"signature": "() => Promise<boolean>",
|
|
844
|
-
"parameters": [],
|
|
845
|
-
"references": {
|
|
846
|
-
"Promise": {
|
|
847
|
-
"location": "global"
|
|
848
|
-
}
|
|
849
|
-
},
|
|
850
|
-
"return": "Promise<boolean>"
|
|
851
|
-
},
|
|
852
|
-
"docs": {
|
|
853
|
-
"text": "Checks for validity and shows the browser's validation message if the control is invalid.",
|
|
854
|
-
"tags": []
|
|
855
|
-
}
|
|
856
|
-
},
|
|
857
|
-
"checkValidity": {
|
|
858
|
-
"complexType": {
|
|
859
|
-
"signature": "() => Promise<boolean>",
|
|
860
|
-
"parameters": [],
|
|
861
|
-
"references": {
|
|
862
|
-
"Promise": {
|
|
863
|
-
"location": "global"
|
|
864
|
-
}
|
|
865
|
-
},
|
|
866
|
-
"return": "Promise<boolean>"
|
|
867
|
-
},
|
|
868
|
-
"docs": {
|
|
869
|
-
"text": "Checks for validity.",
|
|
870
|
-
"tags": []
|
|
871
|
-
}
|
|
872
|
-
},
|
|
873
|
-
"setCustomValidity": {
|
|
785
|
+
"setFocus": {
|
|
874
786
|
"complexType": {
|
|
875
|
-
"signature": "(
|
|
787
|
+
"signature": "(options?: FocusOptions) => Promise<void>",
|
|
876
788
|
"parameters": [{
|
|
877
789
|
"tags": [],
|
|
878
790
|
"text": ""
|
|
@@ -880,28 +792,15 @@ export class SixTimepicker {
|
|
|
880
792
|
"references": {
|
|
881
793
|
"Promise": {
|
|
882
794
|
"location": "global"
|
|
883
|
-
}
|
|
884
|
-
|
|
885
|
-
"return": "Promise<void>"
|
|
886
|
-
},
|
|
887
|
-
"docs": {
|
|
888
|
-
"text": "Sets a custom validation message. If `message` is not empty, the field will be considered invalid.",
|
|
889
|
-
"tags": []
|
|
890
|
-
}
|
|
891
|
-
},
|
|
892
|
-
"reset": {
|
|
893
|
-
"complexType": {
|
|
894
|
-
"signature": "() => Promise<void>",
|
|
895
|
-
"parameters": [],
|
|
896
|
-
"references": {
|
|
897
|
-
"Promise": {
|
|
795
|
+
},
|
|
796
|
+
"FocusOptions": {
|
|
898
797
|
"location": "global"
|
|
899
798
|
}
|
|
900
799
|
},
|
|
901
800
|
"return": "Promise<void>"
|
|
902
801
|
},
|
|
903
802
|
"docs": {
|
|
904
|
-
"text": "
|
|
803
|
+
"text": "Sets focus on the datepickers input.",
|
|
905
804
|
"tags": []
|
|
906
805
|
}
|
|
907
806
|
}
|
|
@@ -910,11 +809,11 @@ export class SixTimepicker {
|
|
|
910
809
|
static get elementRef() { return "host"; }
|
|
911
810
|
static get watchers() {
|
|
912
811
|
return [{
|
|
913
|
-
"propName": "debounce",
|
|
914
|
-
"methodName": "debounceChanged"
|
|
915
|
-
}, {
|
|
916
812
|
"propName": "value",
|
|
917
813
|
"methodName": "valueChanged"
|
|
814
|
+
}, {
|
|
815
|
+
"propName": "invalid",
|
|
816
|
+
"methodName": "invalidChanged"
|
|
918
817
|
}];
|
|
919
818
|
}
|
|
920
819
|
static get listeners() {
|