@six-group/ui-library 0.0.0-insider.d16ec8e → 0.0.0-insider.daba936
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/README.md +9 -0
- package/dist/cjs/error-messages-6e8049a4.js +119 -0
- package/dist/cjs/error-messages-6e8049a4.js.map +1 -0
- package/dist/cjs/event-listeners-9fb878f1.js +61 -0
- package/dist/cjs/event-listeners-9fb878f1.js.map +1 -0
- package/dist/cjs/{execution-control-45c84c46.js → execution-control-d728da70.js} +15 -15
- package/dist/cjs/execution-control-d728da70.js.map +1 -0
- package/dist/cjs/focus-visible-e2c9255a.js +47 -0
- package/dist/cjs/focus-visible-e2c9255a.js.map +1 -0
- package/dist/cjs/form-9ebaae7c.js +20 -0
- package/dist/cjs/form-9ebaae7c.js.map +1 -0
- package/dist/cjs/form-control-72186fcc.js +36 -0
- package/dist/cjs/form-control-72186fcc.js.map +1 -0
- package/dist/cjs/{index-ccf35821.js → index-5dd19c4b.js} +766 -206
- package/dist/cjs/index-5dd19c4b.js.map +1 -0
- package/dist/cjs/index.cjs.js +62 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +3 -12
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/modal-3ce015be.js +52 -0
- package/dist/cjs/modal-3ce015be.js.map +1 -0
- package/dist/cjs/{popover-b5e2d5ef.js → popover-1e7c09f1.js} +105 -111
- package/dist/cjs/popover-1e7c09f1.js.map +1 -0
- package/dist/cjs/popup-e854acda.js +103 -0
- package/dist/cjs/popup-e854acda.js.map +1 -0
- package/dist/cjs/scroll-68033901.js +68 -0
- package/dist/{esm/scroll-180b53fd.js.map → cjs/scroll-68033901.js.map} +1 -1
- package/dist/cjs/set-attributes_2.cjs.entry.js +51 -51
- package/dist/cjs/set-attributes_2.cjs.entry.js.map +1 -1
- package/dist/cjs/six-alert.cjs.entry.js +133 -110
- package/dist/cjs/six-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/six-avatar.cjs.entry.js +21 -21
- package/dist/cjs/six-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/six-badge.cjs.entry.js +23 -23
- package/dist/cjs/six-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/six-button.cjs.entry.js +95 -89
- package/dist/cjs/six-button.cjs.entry.js.map +1 -1
- package/dist/cjs/six-card.cjs.entry.js +8 -8
- package/dist/cjs/six-card.cjs.entry.js.map +1 -1
- package/dist/cjs/six-checkbox_2.cjs.entry.js +190 -0
- package/dist/cjs/six-checkbox_2.cjs.entry.js.map +1 -0
- package/dist/cjs/six-datepicker.cjs.entry.js +837 -870
- package/dist/cjs/six-datepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-details.cjs.entry.js +127 -127
- package/dist/cjs/six-details.cjs.entry.js.map +1 -1
- package/dist/cjs/six-dialog.cjs.entry.js +129 -129
- package/dist/cjs/six-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/six-drawer.cjs.entry.js +147 -147
- package/dist/cjs/six-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/six-dropdown_2.cjs.entry.js +707 -637
- package/dist/cjs/six-dropdown_2.cjs.entry.js.map +1 -1
- package/dist/cjs/six-error-page.cjs.entry.js +82 -82
- package/dist/cjs/six-error-page.cjs.entry.js.map +1 -1
- package/dist/cjs/six-error.cjs.entry.js +21 -0
- package/dist/cjs/six-error.cjs.entry.js.map +1 -0
- package/dist/cjs/six-file-list-item.cjs.entry.js +34 -34
- package/dist/cjs/six-file-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/six-file-list.cjs.entry.js +7 -7
- package/dist/cjs/six-file-list.cjs.entry.js.map +1 -1
- package/dist/cjs/six-file-upload.cjs.entry.js +99 -99
- package/dist/cjs/six-file-upload.cjs.entry.js.map +1 -1
- package/dist/cjs/six-footer.cjs.entry.js +8 -8
- package/dist/cjs/six-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/six-group-label.cjs.entry.js +43 -43
- package/dist/cjs/six-group-label.cjs.entry.js.map +1 -1
- package/dist/cjs/six-header.cjs.entry.js +171 -156
- package/dist/cjs/six-header.cjs.entry.js.map +1 -1
- package/dist/cjs/six-icon-button.cjs.entry.js +32 -32
- package/dist/cjs/six-icon-button.cjs.entry.js.map +1 -1
- package/dist/cjs/six-icon.cjs.entry.js +22 -22
- package/dist/cjs/six-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/six-input.cjs.entry.js +187 -241
- package/dist/cjs/six-input.cjs.entry.js.map +1 -1
- package/dist/cjs/six-item-picker.cjs.entry.js +405 -309
- package/dist/cjs/six-item-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-language-switcher.cjs.entry.js +46 -46
- package/dist/cjs/six-language-switcher.cjs.entry.js.map +1 -1
- package/dist/cjs/six-layout-grid.cjs.entry.js +20 -20
- package/dist/cjs/six-layout-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/six-main-container.cjs.entry.js +9 -9
- package/dist/cjs/six-main-container.cjs.entry.js.map +1 -1
- package/dist/cjs/six-menu-divider.cjs.entry.js +8 -8
- package/dist/cjs/six-menu-divider.cjs.entry.js.map +1 -1
- package/dist/cjs/six-menu-label.cjs.entry.js +8 -8
- package/dist/cjs/six-menu-label.cjs.entry.js.map +1 -1
- package/dist/cjs/six-picto.cjs.entry.js +14 -14
- package/dist/cjs/six-picto.cjs.entry.js.map +1 -1
- package/dist/cjs/six-progress-bar.cjs.entry.js +15 -15
- package/dist/cjs/six-progress-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/six-progress-ring.cjs.entry.js +30 -30
- package/dist/cjs/six-progress-ring.cjs.entry.js.map +1 -1
- package/dist/cjs/six-radio.cjs.entry.js +103 -117
- package/dist/cjs/six-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/six-range.cjs.entry.js +178 -213
- package/dist/cjs/six-range.cjs.entry.js.map +1 -1
- package/dist/cjs/six-root.cjs.entry.js +30 -30
- package/dist/cjs/six-root.cjs.entry.js.map +1 -1
- package/dist/cjs/six-search-field.cjs.entry.js +44 -44
- package/dist/cjs/six-search-field.cjs.entry.js.map +1 -1
- package/dist/cjs/six-select.cjs.entry.js +496 -401
- package/dist/cjs/six-select.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar-item-group.cjs.entry.js +56 -45
- package/dist/cjs/six-sidebar-item-group.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar-item.cjs.entry.js +17 -15
- package/dist/cjs/six-sidebar-item.cjs.entry.js.map +1 -1
- package/dist/cjs/six-sidebar.cjs.entry.js +174 -174
- package/dist/cjs/six-sidebar.cjs.entry.js.map +1 -1
- package/dist/cjs/six-spinner.cjs.entry.js +15 -15
- package/dist/cjs/six-spinner.cjs.entry.js.map +1 -1
- package/dist/cjs/six-switch.cjs.entry.js +106 -100
- package/dist/cjs/six-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab-group.cjs.entry.js +230 -235
- package/dist/cjs/six-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab-panel.cjs.entry.js +14 -14
- package/dist/cjs/six-tab-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tab.cjs.entry.js +55 -39
- package/dist/cjs/six-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tag.cjs.entry.js +55 -33
- package/dist/cjs/six-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/six-textarea.cjs.entry.js +182 -228
- package/dist/cjs/six-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tile.cjs.entry.js +77 -77
- package/dist/cjs/six-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/six-timepicker.cjs.entry.js +348 -363
- package/dist/cjs/six-timepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/six-tooltip.cjs.entry.js +148 -148
- package/dist/cjs/six-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/slot-1b1232a1.js +51 -0
- package/dist/cjs/slot-1b1232a1.js.map +1 -0
- package/dist/cjs/types-d3da200b.js +19 -0
- package/dist/cjs/types-d3da200b.js.map +1 -0
- package/dist/cjs/ui-library.cjs.js +3 -6
- package/dist/cjs/ui-library.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +55 -55
- package/dist/collection/components/six-alert/six-alert.css +5 -1
- package/dist/collection/components/six-alert/six-alert.js +374 -331
- package/dist/collection/components/six-alert/six-alert.js.map +1 -1
- package/dist/collection/components/six-alert/test/six-alert.spec.js +25 -0
- package/dist/collection/components/six-alert/test/six-alert.spec.js.map +1 -0
- package/dist/collection/components/six-avatar/six-avatar.css +2 -2
- package/dist/collection/components/six-avatar/six-avatar.js +112 -112
- package/dist/collection/components/six-avatar/six-avatar.js.map +1 -1
- package/dist/collection/components/six-avatar/test/six-avatar.spec.js +26 -0
- package/dist/collection/components/six-avatar/test/six-avatar.spec.js.map +1 -0
- package/dist/collection/components/six-badge/six-badge.css +1 -1
- package/dist/collection/components/six-badge/six-badge.js +91 -91
- package/dist/collection/components/six-badge/six-badge.js.map +1 -1
- package/dist/collection/components/six-badge/test/six-badge.spec.js +20 -0
- package/dist/collection/components/six-badge/test/six-badge.spec.js.map +1 -0
- package/dist/collection/components/six-button/six-button.css +7 -31
- package/dist/collection/components/six-button/six-button.js +450 -438
- package/dist/collection/components/six-button/six-button.js.map +1 -1
- package/dist/collection/components/six-button/test/six-button.spec.js +69 -0
- package/dist/collection/components/six-button/test/six-button.spec.js.map +1 -0
- package/dist/collection/components/six-card/six-card.css +4 -5
- package/dist/collection/components/six-card/six-card.js +16 -16
- package/dist/collection/components/six-card/six-card.js.map +1 -1
- package/dist/collection/components/six-card/test/six-card.spec.js +18 -0
- package/dist/collection/components/six-card/test/six-card.spec.js.map +1 -0
- package/dist/collection/components/six-checkbox/six-checkbox.css +10 -2
- package/dist/collection/components/six-checkbox/six-checkbox.js +422 -527
- package/dist/collection/components/six-checkbox/six-checkbox.js.map +1 -1
- package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js +83 -0
- package/dist/collection/components/six-checkbox/test/six-checkbox.spec.js.map +1 -0
- package/dist/collection/components/six-datepicker/components/day-selection.js +9 -9
- package/dist/collection/components/six-datepicker/components/day-selection.js.map +1 -1
- package/dist/collection/components/six-datepicker/components/month-selection.js +10 -10
- package/dist/collection/components/six-datepicker/components/month-selection.js.map +1 -1
- package/dist/collection/components/six-datepicker/components/year-selection.js +10 -10
- package/dist/collection/components/six-datepicker/components/year-selection.js.map +1 -1
- package/dist/collection/components/six-datepicker/six-date-formats.js +21 -20
- package/dist/collection/components/six-datepicker/six-date-formats.js.map +1 -1
- package/dist/collection/components/six-datepicker/six-datepicker.css +1 -1
- package/dist/collection/components/six-datepicker/six-datepicker.js +1058 -1107
- package/dist/collection/components/six-datepicker/six-datepicker.js.map +1 -1
- package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js +26 -0
- package/dist/collection/components/six-datepicker/test/six-datepicker.spec.js.map +1 -0
- package/dist/collection/components/six-datepicker/test/six-datepicker.test-helpers.js +14 -14
- package/dist/collection/components/six-datepicker/test/six-datepicker.test-helpers.js.map +1 -1
- package/dist/collection/components/six-details/six-details.css +4 -6
- package/dist/collection/components/six-details/six-details.js +412 -406
- package/dist/collection/components/six-details/six-details.js.map +1 -1
- package/dist/collection/components/six-details/test/six-details.spec.js +36 -0
- package/dist/collection/components/six-details/test/six-details.spec.js.map +1 -0
- package/dist/collection/components/six-dialog/six-dialog.css +2 -2
- package/dist/collection/components/six-dialog/six-dialog.js +359 -351
- package/dist/collection/components/six-dialog/six-dialog.js.map +1 -1
- package/dist/collection/components/six-dialog/test/six-dialog.spec.js +34 -0
- package/dist/collection/components/six-dialog/test/six-dialog.spec.js.map +1 -0
- package/dist/collection/components/six-drawer/six-drawer.css +2 -2
- package/dist/collection/components/six-drawer/six-drawer.js +414 -406
- package/dist/collection/components/six-drawer/six-drawer.js.map +1 -1
- package/dist/collection/components/six-drawer/test/six-drawer.spec.js +34 -0
- package/dist/collection/components/six-drawer/test/six-drawer.spec.js.map +1 -0
- package/dist/collection/components/six-dropdown/six-dropdown.css +22 -6
- package/dist/collection/components/six-dropdown/six-dropdown.js +986 -884
- package/dist/collection/components/six-dropdown/six-dropdown.js.map +1 -1
- package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js +147 -0
- package/dist/collection/components/six-dropdown/test/six-dropdown.spec.js.map +1 -0
- package/dist/collection/components/six-error/six-error.css +5 -0
- package/dist/collection/components/six-error/six-error.js +25 -0
- package/dist/collection/components/six-error/six-error.js.map +1 -0
- package/dist/collection/components/six-error-page/six-error-page.js +178 -178
- package/dist/collection/components/six-error-page/six-error-page.js.map +1 -1
- package/dist/collection/components/six-error-page/test/six-error-page.spec.js +240 -0
- package/dist/collection/components/six-error-page/test/six-error-page.spec.js.map +1 -0
- package/dist/collection/components/six-file-list/six-file-list.js +16 -16
- package/dist/collection/components/six-file-list/six-file-list.js.map +1 -1
- package/dist/collection/components/six-file-list/test/six-file-list.spec.js +67 -0
- package/dist/collection/components/six-file-list/test/six-file-list.spec.js.map +1 -0
- package/dist/collection/components/six-file-list-item/six-file-list-item.css +1 -1
- package/dist/collection/components/six-file-list-item/six-file-list-item.js +196 -194
- package/dist/collection/components/six-file-list-item/six-file-list-item.js.map +1 -1
- package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js +169 -0
- package/dist/collection/components/six-file-list-item/test/six-file-list-item.spec.js.map +1 -0
- package/dist/collection/components/six-file-upload/six-file-upload.css +1 -4
- package/dist/collection/components/six-file-upload/six-file-upload.js +292 -290
- package/dist/collection/components/six-file-upload/six-file-upload.js.map +1 -1
- package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js +103 -0
- package/dist/collection/components/six-file-upload/test/six-file-upload.spec.js.map +1 -0
- package/dist/collection/components/six-footer/six-footer.css +2 -2
- package/dist/collection/components/six-footer/six-footer.js +16 -16
- package/dist/collection/components/six-footer/six-footer.js.map +1 -1
- package/dist/collection/components/six-footer/test/six-footer.spec.js +21 -0
- package/dist/collection/components/six-footer/test/six-footer.spec.js.map +1 -0
- package/dist/collection/components/six-group-label/six-group-label.css +5 -2
- package/dist/collection/components/six-group-label/six-group-label.js +158 -158
- package/dist/collection/components/six-group-label/six-group-label.js.map +1 -1
- package/dist/collection/components/six-group-label/test/six-group-label.spec.js +45 -0
- package/dist/collection/components/six-group-label/test/six-group-label.spec.js.map +1 -0
- package/dist/collection/components/six-header/six-header.css +6 -2
- package/dist/collection/components/six-header/six-header.js +442 -400
- package/dist/collection/components/six-header/six-header.js.map +1 -1
- package/dist/collection/components/six-header/test/six-header.spec.js +177 -0
- package/dist/collection/components/six-header/test/six-header.spec.js.map +1 -0
- package/dist/collection/components/six-icon/six-icon.css +5 -2
- package/dist/collection/components/six-icon/six-icon.js +72 -72
- package/dist/collection/components/six-icon/six-icon.js.map +1 -1
- package/dist/collection/components/six-icon/test/six-icon.spec.js +20 -0
- package/dist/collection/components/six-icon/test/six-icon.spec.js.map +1 -0
- package/dist/collection/components/six-icon-button/six-icon-button.css +5 -5
- package/dist/collection/components/six-icon-button/six-icon-button.js +133 -133
- package/dist/collection/components/six-icon-button/six-icon-button.js.map +1 -1
- package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js +23 -0
- package/dist/collection/components/six-icon-button/test/six-icon-button.spec.js.map +1 -0
- package/dist/collection/components/six-input/six-input.css +15 -3
- package/dist/collection/components/six-input/six-input.js +971 -1106
- package/dist/collection/components/six-input/six-input.js.map +1 -1
- package/dist/collection/components/six-input/test/six-input.spec.js +39 -0
- package/dist/collection/components/six-input/test/six-input.spec.js.map +1 -0
- package/dist/collection/components/six-item-picker/six-item-picker.css +8 -0
- package/dist/collection/components/six-item-picker/six-item-picker.js +731 -631
- package/dist/collection/components/six-item-picker/six-item-picker.js.map +1 -1
- package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js +90 -0
- package/dist/collection/components/six-item-picker/test/six-item-picker.spec.js.map +1 -0
- package/dist/collection/components/six-item-picker/types.js +9 -7
- package/dist/collection/components/six-item-picker/types.js.map +1 -1
- package/dist/collection/components/six-language-switcher/six-language-switcher.js +125 -123
- package/dist/collection/components/six-language-switcher/six-language-switcher.js.map +1 -1
- package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js +196 -0
- package/dist/collection/components/six-language-switcher/test/six-language-switcher.spec.js.map +1 -0
- package/dist/collection/components/six-layout-grid/six-layout-grid.js +55 -55
- package/dist/collection/components/six-layout-grid/six-layout-grid.js.map +1 -1
- package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js +18 -0
- package/dist/collection/components/six-layout-grid/test/six-layout-grid.spec.js.map +1 -0
- package/dist/collection/components/six-main-container/six-main-container.js +42 -42
- package/dist/collection/components/six-main-container/six-main-container.js.map +1 -1
- package/dist/collection/components/six-main-container/test/six-main-container.spec.js +22 -0
- package/dist/collection/components/six-main-container/test/six-main-container.spec.js.map +1 -0
- package/dist/collection/components/six-menu/six-menu.css +8 -7
- package/dist/collection/components/six-menu/six-menu.js +392 -366
- package/dist/collection/components/six-menu/six-menu.js.map +1 -1
- package/dist/collection/components/six-menu/test/six-menu.spec.js +93 -0
- package/dist/collection/components/six-menu/test/six-menu.spec.js.map +1 -0
- package/dist/collection/components/six-menu-divider/six-menu-divider.css +3 -2
- package/dist/collection/components/six-menu-divider/six-menu-divider.js +16 -16
- package/dist/collection/components/six-menu-divider/six-menu-divider.js.map +1 -1
- package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js +18 -0
- package/dist/collection/components/six-menu-divider/test/six-menu-divider.spec.js.map +1 -0
- package/dist/collection/components/six-menu-item/six-menu-item.css +13 -2
- package/dist/collection/components/six-menu-item/six-menu-item.js +211 -178
- package/dist/collection/components/six-menu-item/six-menu-item.js.map +1 -1
- package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js +33 -0
- package/dist/collection/components/six-menu-item/test/six-menu-item.spec.js.map +1 -0
- package/dist/collection/components/six-menu-label/six-menu-label.css +1 -1
- package/dist/collection/components/six-menu-label/six-menu-label.js +16 -16
- package/dist/collection/components/six-menu-label/six-menu-label.js.map +1 -1
- package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js +20 -0
- package/dist/collection/components/six-menu-label/test/six-menu-label.spec.js.map +1 -0
- package/dist/collection/components/six-picto/six-picto.js +47 -47
- package/dist/collection/components/six-picto/six-picto.js.map +1 -1
- package/dist/collection/components/six-picto/test/six-picto.spec.js +33 -0
- package/dist/collection/components/six-picto/test/six-picto.spec.js.map +1 -0
- package/dist/collection/components/six-progress-bar/six-progress-bar.css +1 -1
- package/dist/collection/components/six-progress-bar/six-progress-bar.js +65 -65
- package/dist/collection/components/six-progress-bar/six-progress-bar.js.map +1 -1
- package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js +24 -0
- package/dist/collection/components/six-progress-bar/test/six-progress-bar.spec.js.map +1 -0
- package/dist/collection/components/six-progress-ring/six-progress-ring.css +1 -1
- package/dist/collection/components/six-progress-ring/six-progress-ring.js +101 -101
- package/dist/collection/components/six-progress-ring/six-progress-ring.js.map +1 -1
- package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js +26 -0
- package/dist/collection/components/six-progress-ring/test/six-progress-ring.spec.js.map +1 -0
- package/dist/collection/components/six-radio/six-radio.css +1 -1
- package/dist/collection/components/six-radio/six-radio.js +323 -395
- package/dist/collection/components/six-radio/six-radio.js.map +1 -1
- package/dist/collection/components/six-radio/test/six-radio.spec.js +63 -0
- package/dist/collection/components/six-radio/test/six-radio.spec.js.map +1 -0
- package/dist/collection/components/six-range/six-range.css +5 -2
- package/dist/collection/components/six-range/six-range.js +565 -629
- package/dist/collection/components/six-range/six-range.js.map +1 -1
- package/dist/collection/components/six-range/test/six-range.spec.js +34 -0
- package/dist/collection/components/six-range/test/six-range.spec.js.map +1 -0
- package/dist/collection/components/six-root/six-root.js +153 -151
- package/dist/collection/components/six-root/six-root.js.map +1 -1
- package/dist/collection/components/six-root/test/six-root.spec.js +43 -0
- package/dist/collection/components/six-root/test/six-root.spec.js.map +1 -0
- package/dist/collection/components/six-search-field/six-search-field.css +1 -1
- package/dist/collection/components/six-search-field/six-search-field.js +172 -171
- package/dist/collection/components/six-search-field/six-search-field.js.map +1 -1
- package/dist/collection/components/six-search-field/test/six-search-field.spec.js +22 -0
- package/dist/collection/components/six-search-field/test/six-search-field.spec.js.map +1 -0
- package/dist/collection/components/six-select/six-select.css +61 -73
- package/dist/collection/components/six-select/six-select.js +1108 -1027
- package/dist/collection/components/six-select/six-select.js.map +1 -1
- package/dist/collection/components/six-select/test/six-select.spec.js +102 -0
- package/dist/collection/components/six-select/test/six-select.spec.js.map +1 -0
- package/dist/collection/components/six-select/test/util.spec.js +81 -0
- package/dist/collection/components/six-select/test/util.spec.js.map +1 -0
- package/dist/collection/components/six-select/util.js +34 -34
- package/dist/collection/components/six-select/util.js.map +1 -1
- package/dist/collection/components/six-sidebar/six-sidebar.css +2 -2
- package/dist/collection/components/six-sidebar/six-sidebar.js +468 -454
- package/dist/collection/components/six-sidebar/six-sidebar.js.map +1 -1
- package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js +22 -0
- package/dist/collection/components/six-sidebar/test/six-sidebar.spec.js.map +1 -0
- package/dist/collection/components/six-sidebar-item/six-sidebar-item.css +6 -1
- package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +102 -83
- package/dist/collection/components/six-sidebar-item/six-sidebar-item.js.map +1 -1
- package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js +50 -0
- package/dist/collection/components/six-sidebar-item/test/six-sidebar-item.spec.js.map +1 -0
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +12 -1
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +182 -154
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js.map +1 -1
- package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js +53 -0
- package/dist/collection/components/six-sidebar-item-group/test/six-sidebar-item-group.spec.js.map +1 -0
- package/dist/collection/components/six-spinner/six-spinner.css +1 -1
- package/dist/collection/components/six-spinner/six-spinner.js +48 -47
- package/dist/collection/components/six-spinner/six-spinner.js.map +1 -1
- package/dist/collection/components/six-spinner/test/six-spinner.spec.js +37 -0
- package/dist/collection/components/six-spinner/test/six-spinner.spec.js.map +1 -0
- package/dist/collection/components/six-stage-indicator/six-stage-indicator.css +1 -1
- package/dist/collection/components/six-stage-indicator/six-stage-indicator.js +46 -45
- package/dist/collection/components/six-stage-indicator/six-stage-indicator.js.map +1 -1
- package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js +117 -0
- package/dist/collection/components/six-stage-indicator/test/six-stage-indicator.spec.js.map +1 -0
- package/dist/collection/components/six-switch/six-switch.css +81 -1
- package/dist/collection/components/six-switch/six-switch.js +388 -385
- package/dist/collection/components/six-switch/six-switch.js.map +1 -1
- package/dist/collection/components/six-switch/test/six-switch.spec.js +73 -0
- package/dist/collection/components/six-switch/test/six-switch.spec.js.map +1 -0
- package/dist/collection/components/six-tab/six-tab.css +55 -6
- package/dist/collection/components/six-tab/six-tab.js +207 -186
- package/dist/collection/components/six-tab/six-tab.js.map +1 -1
- package/dist/collection/components/six-tab-group/six-tab-group.css +1 -32
- package/dist/collection/components/six-tab-group/six-tab-group.js +320 -357
- package/dist/collection/components/six-tab-group/six-tab-group.js.map +1 -1
- package/dist/collection/components/six-tab-panel/six-tab-panel.css +1 -1
- package/dist/collection/components/six-tab-panel/six-tab-panel.js +64 -64
- package/dist/collection/components/six-tab-panel/six-tab-panel.js.map +1 -1
- package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js +20 -0
- package/dist/collection/components/six-tab-panel/test/six-tab-panel.spec.js.map +1 -0
- package/dist/collection/components/six-tag/six-tag.css +7 -1
- package/dist/collection/components/six-tag/six-tag.js +162 -139
- package/dist/collection/components/six-tag/six-tag.js.map +1 -1
- package/dist/collection/components/six-tag/test/six-tag.spec.js +54 -0
- package/dist/collection/components/six-tag/test/six-tag.spec.js.map +1 -0
- package/dist/collection/components/six-textarea/six-textarea.css +5 -2
- package/dist/collection/components/six-textarea/six-textarea.js +793 -889
- package/dist/collection/components/six-textarea/six-textarea.js.map +1 -1
- package/dist/collection/components/six-textarea/test/six-textarea.spec.js +119 -0
- package/dist/collection/components/six-textarea/test/six-textarea.spec.js.map +1 -0
- package/dist/collection/components/six-tile/six-tile.css +2 -2
- package/dist/collection/components/six-tile/six-tile.js +300 -296
- package/dist/collection/components/six-tile/six-tile.js.map +1 -1
- package/dist/collection/components/six-tile/test/six-tile.spec.js +69 -0
- package/dist/collection/components/six-tile/test/six-tile.spec.js.map +1 -0
- package/dist/collection/components/six-timepicker/six-timepicker.css +1 -1
- package/dist/collection/components/six-timepicker/six-timepicker.js +829 -863
- package/dist/collection/components/six-timepicker/six-timepicker.js.map +1 -1
- package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js +496 -0
- package/dist/collection/components/six-timepicker/test/six-timepicker.spec.js.map +1 -0
- package/dist/collection/components/six-tooltip/six-tooltip.css +2 -2
- package/dist/collection/components/six-tooltip/six-tooltip.js +409 -403
- package/dist/collection/components/six-tooltip/six-tooltip.js.map +1 -1
- package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js +28 -0
- package/dist/collection/components/six-tooltip/test/six-tooltip.spec.js.map +1 -0
- package/dist/collection/functional-components/form-control/form-control.js +20 -20
- package/dist/collection/functional-components/form-control/form-control.js.map +1 -1
- package/dist/collection/index.js +2 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/testUtil/delay.js +1 -1
- package/dist/collection/testUtil/delay.js.map +1 -1
- package/dist/collection/utils/alert.js +54 -0
- package/dist/collection/utils/alert.js.map +1 -0
- package/dist/collection/utils/animation.js +34 -0
- package/dist/collection/utils/animation.js.map +1 -0
- package/dist/collection/utils/date-util.js +502 -501
- package/dist/collection/utils/date-util.js.map +1 -1
- package/dist/collection/utils/date-util.spec.js +995 -0
- package/dist/collection/utils/date-util.spec.js.map +1 -0
- package/dist/collection/utils/error-messages.js +112 -0
- package/dist/collection/utils/error-messages.js.map +1 -0
- package/dist/collection/utils/event-listeners.js +52 -36
- package/dist/collection/utils/event-listeners.js.map +1 -1
- package/dist/collection/utils/execution-control.js +14 -14
- package/dist/collection/utils/execution-control.js.map +1 -1
- package/dist/collection/utils/focus-visible.js +28 -28
- 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 +25 -25
- package/dist/collection/utils/modal.js.map +1 -1
- package/dist/collection/utils/offset.js +4 -4
- package/dist/collection/utils/offset.js.map +1 -1
- package/dist/collection/utils/popover.js +100 -100
- package/dist/collection/utils/popover.js.map +1 -1
- package/dist/collection/utils/popup.js +71 -71
- package/dist/collection/utils/popup.js.map +1 -1
- package/dist/collection/utils/scroll.js +28 -28
- package/dist/collection/utils/scroll.js.map +1 -1
- package/dist/collection/utils/scroll.spec.js +122 -0
- package/dist/collection/utils/scroll.spec.js.map +1 -0
- package/dist/collection/utils/slot.js +28 -29
- package/dist/collection/utils/slot.js.map +1 -1
- package/dist/collection/utils/support.js +10 -10
- package/dist/collection/utils/support.js.map +1 -1
- package/dist/collection/utils/tabbable.js +17 -17
- package/dist/collection/utils/tabbable.js.map +1 -1
- package/dist/collection/utils/time.util.js +72 -72
- package/dist/collection/utils/time.util.js.map +1 -1
- package/dist/collection/utils/time.util.spec.js +368 -0
- package/dist/collection/utils/time.util.spec.js.map +1 -0
- package/dist/collection/wrappers/set-attributes/set-attributes.js +66 -66
- package/dist/collection/wrappers/set-attributes/set-attributes.js.map +1 -1
- package/dist/collection/wrappers/set-attributes/test/set-attributes.spec.js +16 -0
- package/dist/collection/wrappers/set-attributes/test/set-attributes.spec.js.map +1 -0
- package/dist/components/event-listeners.js +52 -36
- package/dist/components/event-listeners.js.map +1 -1
- package/dist/components/execution-control.js +14 -14
- package/dist/components/execution-control.js.map +1 -1
- package/dist/components/focus-visible.js +28 -28
- package/dist/components/focus-visible.js.map +1 -1
- package/dist/components/form-control.js +26 -25
- 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.d.ts +6 -0
- package/dist/components/index.js +119 -64
- package/dist/components/index.js.map +1 -1
- package/dist/components/modal.js +35 -35
- package/dist/components/modal.js.map +1 -1
- package/dist/components/popover.js +104 -110
- package/dist/components/popover.js.map +1 -1
- package/dist/components/scroll.js +32 -32
- package/dist/components/scroll.js.map +1 -1
- package/dist/components/set-attributes.d.ts +2 -2
- package/dist/components/set-attributes2.js +58 -56
- package/dist/components/set-attributes2.js.map +1 -1
- package/dist/components/six-alert.d.ts +2 -2
- package/dist/components/six-alert.js +168 -142
- package/dist/components/six-alert.js.map +1 -1
- package/dist/components/six-avatar.d.ts +2 -2
- package/dist/components/six-avatar.js +45 -45
- package/dist/components/six-avatar.js.map +1 -1
- package/dist/components/six-badge.d.ts +2 -2
- package/dist/components/six-badge.js +40 -40
- package/dist/components/six-badge.js.map +1 -1
- package/dist/components/six-button.d.ts +2 -2
- package/dist/components/six-button.js +1 -136
- package/dist/components/six-button.js.map +1 -1
- package/dist/components/six-button2.js +146 -0
- package/dist/components/six-button2.js.map +1 -0
- package/dist/components/six-card.d.ts +2 -2
- package/dist/components/six-card.js +21 -21
- package/dist/components/six-card.js.map +1 -1
- package/dist/components/six-checkbox.d.ts +2 -2
- package/dist/components/six-checkbox.js +1 -198
- package/dist/components/six-checkbox.js.map +1 -1
- package/dist/components/six-checkbox2.js +165 -0
- package/dist/components/six-checkbox2.js.map +1 -0
- package/dist/components/six-datepicker.d.ts +2 -2
- package/dist/components/six-datepicker.js +908 -934
- package/dist/components/six-datepicker.js.map +1 -1
- package/dist/components/six-details.d.ts +2 -2
- package/dist/components/six-details2.js +158 -156
- package/dist/components/six-details2.js.map +1 -1
- package/dist/components/six-dialog.d.ts +2 -2
- package/dist/components/six-dialog.js +159 -157
- package/dist/components/six-dialog.js.map +1 -1
- package/dist/components/six-drawer.d.ts +2 -2
- package/dist/components/six-drawer.js +179 -177
- package/dist/components/six-drawer.js.map +1 -1
- package/dist/components/six-dropdown.d.ts +2 -2
- package/dist/components/six-dropdown2.js +551 -464
- package/dist/components/six-dropdown2.js.map +1 -1
- package/dist/components/six-error-page.d.ts +2 -2
- package/dist/components/six-error-page.js +106 -106
- package/dist/components/six-error-page.js.map +1 -1
- package/dist/components/{six-form.d.ts → six-error.d.ts} +4 -4
- package/dist/components/six-error.js +8 -0
- package/dist/components/six-error.js.map +1 -0
- package/dist/components/six-error2.js +32 -0
- package/dist/components/six-error2.js.map +1 -0
- package/dist/components/six-file-list-item.d.ts +2 -2
- package/dist/components/six-file-list-item.js +59 -59
- package/dist/components/six-file-list-item.js.map +1 -1
- package/dist/components/six-file-list.d.ts +2 -2
- package/dist/components/six-file-list.js +20 -20
- package/dist/components/six-file-list.js.map +1 -1
- package/dist/components/six-file-upload.d.ts +2 -2
- package/dist/components/six-file-upload.js +124 -124
- package/dist/components/six-file-upload.js.map +1 -1
- package/dist/components/six-footer.d.ts +2 -2
- package/dist/components/six-footer.js +21 -21
- package/dist/components/six-footer.js.map +1 -1
- package/dist/components/six-group-label.d.ts +2 -2
- package/dist/components/six-group-label.js +71 -62
- package/dist/components/six-group-label.js.map +1 -1
- package/dist/components/six-header.d.ts +2 -2
- package/dist/components/six-header.js +237 -207
- package/dist/components/six-header.js.map +1 -1
- package/dist/components/six-icon-button.d.ts +2 -2
- package/dist/components/six-icon-button2.js +55 -55
- package/dist/components/six-icon-button2.js.map +1 -1
- package/dist/components/six-icon.d.ts +2 -2
- package/dist/components/six-icon2.js +38 -38
- package/dist/components/six-icon2.js.map +1 -1
- package/dist/components/six-input.d.ts +2 -2
- package/dist/components/six-input2.js +254 -303
- package/dist/components/six-input2.js.map +1 -1
- package/dist/components/six-item-picker.d.ts +2 -2
- package/dist/components/six-item-picker2.js +450 -348
- package/dist/components/six-item-picker2.js.map +1 -1
- package/dist/components/six-language-switcher.d.ts +2 -2
- package/dist/components/six-language-switcher.js +64 -62
- package/dist/components/six-language-switcher.js.map +1 -1
- package/dist/components/six-layout-grid.d.ts +2 -2
- package/dist/components/six-layout-grid.js +37 -35
- package/dist/components/six-layout-grid.js.map +1 -1
- package/dist/components/six-main-container.d.ts +2 -2
- package/dist/components/six-main-container.js +24 -24
- package/dist/components/six-main-container.js.map +1 -1
- package/dist/components/six-menu-divider.d.ts +2 -2
- package/dist/components/six-menu-divider.js +21 -21
- package/dist/components/six-menu-divider.js.map +1 -1
- package/dist/components/six-menu-item.d.ts +2 -2
- package/dist/components/six-menu-item2.js +98 -75
- package/dist/components/six-menu-item2.js.map +1 -1
- package/dist/components/six-menu-label.d.ts +2 -2
- package/dist/components/six-menu-label.js +21 -21
- package/dist/components/six-menu-label.js.map +1 -1
- package/dist/components/six-menu.d.ts +2 -2
- package/dist/components/six-menu2.js +236 -220
- package/dist/components/six-menu2.js.map +1 -1
- package/dist/components/six-picto.d.ts +2 -2
- package/dist/components/six-picto2.js +29 -29
- package/dist/components/six-picto2.js.map +1 -1
- package/dist/components/six-progress-bar.d.ts +2 -2
- package/dist/components/six-progress-bar.js +31 -31
- package/dist/components/six-progress-bar.js.map +1 -1
- package/dist/components/six-progress-ring.d.ts +2 -2
- package/dist/components/six-progress-ring.js +49 -47
- package/dist/components/six-progress-ring.js.map +1 -1
- package/dist/components/six-radio.d.ts +2 -2
- package/dist/components/six-radio.js +128 -143
- package/dist/components/six-radio.js.map +1 -1
- package/dist/components/six-range.d.ts +2 -2
- package/dist/components/six-range.js +223 -247
- package/dist/components/six-range.js.map +1 -1
- package/dist/components/six-root.d.ts +2 -2
- package/dist/components/six-root.js +66 -64
- package/dist/components/six-root.js.map +1 -1
- package/dist/components/six-search-field.d.ts +2 -2
- package/dist/components/six-search-field.js +79 -71
- package/dist/components/six-search-field.js.map +1 -1
- package/dist/components/six-select.d.ts +2 -2
- package/dist/components/six-select.js +713 -484
- package/dist/components/six-select.js.map +1 -1
- package/dist/components/six-sidebar-item-group.d.ts +2 -2
- package/dist/components/six-sidebar-item-group.js +87 -75
- package/dist/components/six-sidebar-item-group.js.map +1 -1
- package/dist/components/six-sidebar-item.d.ts +2 -2
- package/dist/components/six-sidebar-item.js +35 -32
- package/dist/components/six-sidebar-item.js.map +1 -1
- package/dist/components/six-sidebar.d.ts +2 -2
- package/dist/components/six-sidebar.js +199 -197
- package/dist/components/six-sidebar.js.map +1 -1
- package/dist/components/six-spinner.d.ts +2 -2
- package/dist/components/six-spinner2.js +30 -30
- package/dist/components/six-spinner2.js.map +1 -1
- package/dist/components/six-stage-indicator.d.ts +2 -2
- package/dist/components/six-stage-indicator2.js +29 -29
- package/dist/components/six-stage-indicator2.js.map +1 -1
- package/dist/components/six-switch.d.ts +2 -2
- package/dist/components/six-switch.js +143 -127
- package/dist/components/six-switch.js.map +1 -1
- package/dist/components/six-tab-group.d.ts +2 -2
- package/dist/components/six-tab-group.js +260 -263
- package/dist/components/six-tab-group.js.map +1 -1
- package/dist/components/six-tab-panel.d.ts +2 -2
- package/dist/components/six-tab-panel.js +30 -30
- package/dist/components/six-tab-panel.js.map +1 -1
- package/dist/components/six-tab.d.ts +2 -2
- package/dist/components/six-tab.js +85 -69
- package/dist/components/six-tab.js.map +1 -1
- package/dist/components/six-tag.d.ts +2 -2
- package/dist/components/six-tag.js +98 -1
- package/dist/components/six-tag.js.map +1 -1
- package/dist/components/six-textarea.d.ts +2 -2
- package/dist/components/six-textarea.js +226 -264
- package/dist/components/six-textarea.js.map +1 -1
- package/dist/components/six-tile.d.ts +2 -2
- package/dist/components/six-tile.js +117 -117
- package/dist/components/six-tile.js.map +1 -1
- package/dist/components/six-timepicker.d.ts +2 -2
- package/dist/components/six-timepicker2.js +491 -500
- package/dist/components/six-timepicker2.js.map +1 -1
- package/dist/components/six-tooltip.d.ts +2 -2
- package/dist/components/six-tooltip2.js +172 -170
- package/dist/components/six-tooltip2.js.map +1 -1
- package/dist/components/slot.js +29 -30
- package/dist/components/slot.js.map +1 -1
- package/dist/components.d.ts +341 -88
- package/dist/components.json +4787 -850
- package/dist/esm/error-messages-1eaaad23.js +115 -0
- package/dist/esm/error-messages-1eaaad23.js.map +1 -0
- package/dist/esm/event-listeners-706d4309.js +59 -0
- package/dist/esm/event-listeners-706d4309.js.map +1 -0
- package/dist/esm/{execution-control-72cc50f4.js → execution-control-2ebaf4ef.js} +15 -15
- package/dist/esm/execution-control-2ebaf4ef.js.map +1 -0
- package/dist/esm/focus-visible-d9dbfeef.js +45 -0
- package/dist/esm/focus-visible-d9dbfeef.js.map +1 -0
- package/dist/esm/form-4b145b7a.js +18 -0
- package/dist/esm/form-4b145b7a.js.map +1 -0
- package/dist/esm/form-control-77fcccd0.js +34 -0
- package/dist/esm/form-control-77fcccd0.js.map +1 -0
- package/dist/esm/{index-371fb9d4.js → index-6c10d50b.js} +767 -206
- package/dist/esm/index-6c10d50b.js.map +1 -0
- package/dist/esm/index.js +56 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +4 -13
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/modal-96526245.js +49 -0
- package/dist/esm/modal-96526245.js.map +1 -0
- package/dist/esm/{popover-1aacbae8.js → popover-25996e62.js} +105 -111
- package/dist/esm/popover-25996e62.js.map +1 -0
- package/dist/esm/popup-7209e9d5.js +98 -0
- package/dist/esm/popup-7209e9d5.js.map +1 -0
- package/dist/esm/scroll-3e16851e.js +64 -0
- package/dist/esm/scroll-3e16851e.js.map +1 -0
- package/dist/esm/set-attributes_2.entry.js +51 -51
- package/dist/esm/set-attributes_2.entry.js.map +1 -1
- package/dist/esm/six-alert.entry.js +133 -110
- package/dist/esm/six-alert.entry.js.map +1 -1
- package/dist/esm/six-avatar.entry.js +21 -21
- package/dist/esm/six-avatar.entry.js.map +1 -1
- package/dist/esm/six-badge.entry.js +23 -23
- package/dist/esm/six-badge.entry.js.map +1 -1
- package/dist/esm/six-button.entry.js +95 -89
- package/dist/esm/six-button.entry.js.map +1 -1
- package/dist/esm/six-card.entry.js +8 -8
- package/dist/esm/six-card.entry.js.map +1 -1
- package/dist/esm/six-checkbox_2.entry.js +185 -0
- package/dist/esm/six-checkbox_2.entry.js.map +1 -0
- package/dist/esm/six-datepicker.entry.js +837 -870
- package/dist/esm/six-datepicker.entry.js.map +1 -1
- package/dist/esm/six-details.entry.js +127 -127
- package/dist/esm/six-details.entry.js.map +1 -1
- package/dist/esm/six-dialog.entry.js +129 -129
- package/dist/esm/six-dialog.entry.js.map +1 -1
- package/dist/esm/six-drawer.entry.js +147 -147
- package/dist/esm/six-drawer.entry.js.map +1 -1
- package/dist/esm/six-dropdown_2.entry.js +707 -637
- package/dist/esm/six-dropdown_2.entry.js.map +1 -1
- package/dist/esm/six-error-page.entry.js +82 -82
- package/dist/esm/six-error-page.entry.js.map +1 -1
- package/dist/esm/six-error.entry.js +17 -0
- package/dist/esm/six-error.entry.js.map +1 -0
- package/dist/esm/six-file-list-item.entry.js +34 -34
- package/dist/esm/six-file-list-item.entry.js.map +1 -1
- package/dist/esm/six-file-list.entry.js +7 -7
- package/dist/esm/six-file-list.entry.js.map +1 -1
- package/dist/esm/six-file-upload.entry.js +99 -99
- package/dist/esm/six-file-upload.entry.js.map +1 -1
- package/dist/esm/six-footer.entry.js +8 -8
- package/dist/esm/six-footer.entry.js.map +1 -1
- package/dist/esm/six-group-label.entry.js +43 -43
- package/dist/esm/six-group-label.entry.js.map +1 -1
- package/dist/esm/six-header.entry.js +171 -156
- package/dist/esm/six-header.entry.js.map +1 -1
- package/dist/esm/six-icon-button.entry.js +32 -32
- package/dist/esm/six-icon-button.entry.js.map +1 -1
- package/dist/esm/six-icon.entry.js +22 -22
- package/dist/esm/six-icon.entry.js.map +1 -1
- package/dist/esm/six-input.entry.js +187 -241
- package/dist/esm/six-input.entry.js.map +1 -1
- package/dist/esm/six-item-picker.entry.js +405 -309
- package/dist/esm/six-item-picker.entry.js.map +1 -1
- package/dist/esm/six-language-switcher.entry.js +46 -46
- package/dist/esm/six-language-switcher.entry.js.map +1 -1
- package/dist/esm/six-layout-grid.entry.js +20 -20
- package/dist/esm/six-layout-grid.entry.js.map +1 -1
- package/dist/esm/six-main-container.entry.js +9 -9
- package/dist/esm/six-main-container.entry.js.map +1 -1
- package/dist/esm/six-menu-divider.entry.js +8 -8
- package/dist/esm/six-menu-divider.entry.js.map +1 -1
- package/dist/esm/six-menu-label.entry.js +8 -8
- package/dist/esm/six-menu-label.entry.js.map +1 -1
- package/dist/esm/six-picto.entry.js +14 -14
- package/dist/esm/six-picto.entry.js.map +1 -1
- package/dist/esm/six-progress-bar.entry.js +15 -15
- package/dist/esm/six-progress-bar.entry.js.map +1 -1
- package/dist/esm/six-progress-ring.entry.js +30 -30
- package/dist/esm/six-progress-ring.entry.js.map +1 -1
- package/dist/esm/six-radio.entry.js +103 -117
- package/dist/esm/six-radio.entry.js.map +1 -1
- package/dist/esm/six-range.entry.js +178 -213
- package/dist/esm/six-range.entry.js.map +1 -1
- package/dist/esm/six-root.entry.js +30 -30
- package/dist/esm/six-root.entry.js.map +1 -1
- package/dist/esm/six-search-field.entry.js +44 -44
- package/dist/esm/six-search-field.entry.js.map +1 -1
- package/dist/esm/six-select.entry.js +496 -401
- package/dist/esm/six-select.entry.js.map +1 -1
- package/dist/esm/six-sidebar-item-group.entry.js +56 -45
- package/dist/esm/six-sidebar-item-group.entry.js.map +1 -1
- package/dist/esm/six-sidebar-item.entry.js +17 -15
- package/dist/esm/six-sidebar-item.entry.js.map +1 -1
- package/dist/esm/six-sidebar.entry.js +174 -174
- package/dist/esm/six-sidebar.entry.js.map +1 -1
- package/dist/esm/six-spinner.entry.js +15 -15
- package/dist/esm/six-spinner.entry.js.map +1 -1
- package/dist/esm/six-switch.entry.js +106 -100
- package/dist/esm/six-switch.entry.js.map +1 -1
- package/dist/esm/six-tab-group.entry.js +230 -235
- package/dist/esm/six-tab-group.entry.js.map +1 -1
- package/dist/esm/six-tab-panel.entry.js +14 -14
- package/dist/esm/six-tab-panel.entry.js.map +1 -1
- package/dist/esm/six-tab.entry.js +55 -39
- package/dist/esm/six-tab.entry.js.map +1 -1
- package/dist/esm/six-tag.entry.js +55 -33
- package/dist/esm/six-tag.entry.js.map +1 -1
- package/dist/esm/six-textarea.entry.js +182 -228
- package/dist/esm/six-textarea.entry.js.map +1 -1
- package/dist/esm/six-tile.entry.js +77 -77
- package/dist/esm/six-tile.entry.js.map +1 -1
- package/dist/esm/six-timepicker.entry.js +348 -363
- package/dist/esm/six-timepicker.entry.js.map +1 -1
- package/dist/esm/six-tooltip.entry.js +148 -148
- package/dist/esm/six-tooltip.entry.js.map +1 -1
- package/dist/esm/slot-56531341.js +47 -0
- package/dist/esm/slot-56531341.js.map +1 -0
- package/dist/esm/types-a07bb999.js +19 -0
- package/dist/esm/types-a07bb999.js.map +1 -0
- package/dist/esm/ui-library.js +4 -7
- package/dist/esm/ui-library.js.map +1 -1
- package/dist/types/components/six-alert/six-alert.d.ts +43 -40
- package/dist/types/components/six-avatar/six-avatar.d.ts +11 -11
- package/dist/types/components/six-badge/six-badge.d.ts +7 -7
- package/dist/types/components/six-button/six-button.d.ts +48 -48
- package/dist/types/components/six-card/six-card.d.ts +1 -1
- package/dist/types/components/six-checkbox/six-checkbox.d.ts +58 -71
- package/dist/types/components/six-datepicker/components/day-selection.d.ts +3 -3
- package/dist/types/components/six-datepicker/components/month-selection.d.ts +3 -3
- package/dist/types/components/six-datepicker/components/year-selection.d.ts +3 -3
- package/dist/types/components/six-datepicker/six-date-formats.d.ts +20 -20
- package/dist/types/components/six-datepicker/six-datepicker.d.ts +188 -192
- package/dist/types/components/six-details/six-details.d.ts +42 -42
- package/dist/types/components/six-dialog/six-dialog.d.ts +50 -50
- package/dist/types/components/six-drawer/six-drawer.d.ts +58 -58
- package/dist/types/components/six-dropdown/six-dropdown.d.ts +131 -112
- package/dist/types/components/six-error/six-error.d.ts +9 -0
- package/dist/types/components/six-error-page/six-error-page.d.ts +25 -25
- package/dist/types/components/six-file-list/six-file-list.d.ts +1 -1
- package/dist/types/components/six-file-list-item/six-file-list-item.d.ts +23 -23
- package/dist/types/components/six-file-upload/six-file-upload.d.ts +33 -33
- package/dist/types/components/six-footer/six-footer.d.ts +1 -1
- package/dist/types/components/six-group-label/six-group-label.d.ts +22 -22
- package/dist/types/components/six-header/six-header.d.ts +59 -55
- package/dist/types/components/six-icon/six-icon.d.ts +5 -5
- package/dist/types/components/six-icon-button/six-icon-button.d.ts +18 -18
- package/dist/types/components/six-input/six-input.d.ts +112 -129
- package/dist/types/components/six-item-picker/six-item-picker.d.ts +95 -88
- package/dist/types/components/six-item-picker/types.d.ts +7 -7
- package/dist/types/components/six-language-switcher/six-language-switcher.d.ts +15 -15
- package/dist/types/components/six-layout-grid/six-layout-grid.d.ts +6 -6
- package/dist/types/components/six-main-container/six-main-container.d.ts +4 -4
- package/dist/types/components/six-menu/six-menu.d.ts +67 -63
- package/dist/types/components/six-menu-divider/six-menu-divider.d.ts +1 -1
- package/dist/types/components/six-menu-item/six-menu-item.d.ts +27 -21
- package/dist/types/components/six-menu-label/six-menu-label.d.ts +1 -1
- package/dist/types/components/six-picto/six-picto.d.ts +6 -6
- package/dist/types/components/six-progress-bar/six-progress-bar.d.ts +5 -5
- package/dist/types/components/six-progress-ring/six-progress-ring.d.ts +11 -11
- package/dist/types/components/six-radio/six-radio.d.ts +38 -48
- package/dist/types/components/six-range/six-range.d.ts +75 -87
- package/dist/types/components/six-root/six-root.d.ts +18 -18
- package/dist/types/components/six-search-field/six-search-field.d.ts +20 -20
- package/dist/types/components/six-select/six-select.d.ts +137 -134
- package/dist/types/components/six-select/util.d.ts +1 -1
- package/dist/types/components/six-sidebar/six-sidebar.d.ts +45 -45
- package/dist/types/components/six-sidebar-item/six-sidebar-item.d.ts +12 -7
- package/dist/types/components/six-sidebar-item-group/six-sidebar-item-group.d.ts +25 -19
- package/dist/types/components/six-spinner/six-spinner.d.ts +6 -5
- package/dist/types/components/six-stage-indicator/six-stage-indicator.d.ts +3 -3
- package/dist/types/components/six-switch/six-switch.d.ts +49 -44
- package/dist/types/components/six-tab/six-tab.d.ts +20 -20
- package/dist/types/components/six-tab-group/six-tab-group.d.ts +35 -38
- package/dist/types/components/six-tab-panel/six-tab-panel.d.ts +7 -7
- package/dist/types/components/six-tag/six-tag.d.ts +20 -12
- package/dist/types/components/six-textarea/six-textarea.d.ts +89 -105
- package/dist/types/components/six-tile/six-tile.d.ts +31 -31
- package/dist/types/components/six-timepicker/six-timepicker.d.ts +154 -156
- package/dist/types/components/six-tooltip/six-tooltip.d.ts +55 -55
- package/dist/types/components.d.ts +634 -330
- package/dist/types/functional-components/form-control/form-control.d.ts +32 -30
- package/dist/types/index.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +49 -5
- package/dist/types/types.d.ts +3 -0
- package/dist/types/utils/alert.d.ts +10 -0
- package/dist/types/utils/animation.d.ts +12 -0
- package/dist/types/utils/date-util.d.ts +51 -50
- package/dist/types/utils/error-messages.d.ts +44 -0
- package/dist/types/utils/event-listeners.d.ts +11 -10
- package/dist/types/utils/focus-visible.d.ts +2 -2
- package/dist/types/utils/form.d.ts +1 -0
- package/dist/types/utils/modal.d.ts +8 -8
- package/dist/types/utils/offset.d.ts +2 -2
- package/dist/types/utils/popover.d.ts +21 -21
- package/dist/types/utils/slot.d.ts +0 -1
- package/dist/types/utils/time.util.d.ts +6 -6
- package/dist/types/utils/types.d.ts +1 -1
- package/dist/types/wrappers/set-attributes/set-attributes.d.ts +7 -7
- package/dist/ui-library/index.esm.js +1 -1
- package/dist/ui-library/index.esm.js.map +1 -1
- package/dist/ui-library/p-01ae4500.entry.js +2 -0
- package/dist/ui-library/p-01ae4500.entry.js.map +1 -0
- package/dist/ui-library/p-021f6da9.entry.js +2 -0
- package/dist/ui-library/p-021f6da9.entry.js.map +1 -0
- package/dist/ui-library/p-0274c52c.entry.js +2 -0
- package/dist/ui-library/p-0274c52c.entry.js.map +1 -0
- package/dist/ui-library/{p-0cc08e91.js → p-06ba4450.js} +1 -1
- package/dist/ui-library/p-06ba4450.js.map +1 -0
- package/dist/ui-library/{p-cab99e54.entry.js → p-0cb135aa.entry.js} +2 -2
- package/dist/ui-library/p-0cb135aa.entry.js.map +1 -0
- package/dist/ui-library/p-0cebf1d2.js +2 -0
- package/dist/ui-library/p-0cebf1d2.js.map +1 -0
- package/dist/ui-library/p-1431a2a8.entry.js +2 -0
- package/dist/ui-library/p-1431a2a8.entry.js.map +1 -0
- package/dist/ui-library/p-1aa28025.entry.js +2 -0
- package/dist/ui-library/p-1aa28025.entry.js.map +1 -0
- package/dist/ui-library/p-1b135e1c.entry.js +2 -0
- package/dist/ui-library/p-1b135e1c.entry.js.map +1 -0
- package/dist/ui-library/{p-3e4b9341.entry.js → p-1be990f9.entry.js} +2 -2
- package/dist/ui-library/p-1be990f9.entry.js.map +1 -0
- package/dist/ui-library/p-2008636b.entry.js +2 -0
- package/dist/ui-library/p-2008636b.entry.js.map +1 -0
- package/dist/ui-library/p-2132da0a.entry.js +2 -0
- package/dist/ui-library/p-2132da0a.entry.js.map +1 -0
- package/dist/ui-library/p-2cd674e0.entry.js +2 -0
- package/dist/ui-library/p-2cd674e0.entry.js.map +1 -0
- package/dist/ui-library/p-2d86ba99.entry.js +2 -0
- package/dist/ui-library/p-2d86ba99.entry.js.map +1 -0
- package/dist/ui-library/p-31a4a74c.entry.js +2 -0
- package/dist/ui-library/p-31a4a74c.entry.js.map +1 -0
- package/dist/ui-library/p-391f10f1.entry.js +2 -0
- package/dist/ui-library/p-391f10f1.entry.js.map +1 -0
- package/dist/ui-library/p-3dd28dc0.entry.js +2 -0
- package/dist/ui-library/p-3dd28dc0.entry.js.map +1 -0
- package/dist/ui-library/p-46ee280d.entry.js +2 -0
- package/dist/ui-library/p-46ee280d.entry.js.map +1 -0
- package/dist/ui-library/p-4752a63c.entry.js +2 -0
- package/dist/ui-library/p-4752a63c.entry.js.map +1 -0
- package/dist/ui-library/p-4772a9d3.entry.js +2 -0
- package/dist/ui-library/p-4772a9d3.entry.js.map +1 -0
- package/dist/ui-library/p-4a3ba956.entry.js +2 -0
- package/dist/ui-library/p-4a3ba956.entry.js.map +1 -0
- package/dist/ui-library/p-4b154936.entry.js +2 -0
- package/dist/ui-library/p-4b154936.entry.js.map +1 -0
- package/dist/ui-library/p-5a5f6869.entry.js +2 -0
- package/dist/ui-library/p-5a5f6869.entry.js.map +1 -0
- package/dist/ui-library/{p-9f8b6144.entry.js → p-621c2742.entry.js} +2 -2
- package/dist/ui-library/p-621c2742.entry.js.map +1 -0
- package/dist/ui-library/p-65778e3d.entry.js +2 -0
- package/dist/ui-library/p-65778e3d.entry.js.map +1 -0
- package/dist/ui-library/p-66cd3b0c.entry.js +2 -0
- package/dist/ui-library/p-66cd3b0c.entry.js.map +1 -0
- package/dist/ui-library/p-67496e8c.js +2 -0
- package/dist/ui-library/p-67496e8c.js.map +1 -0
- package/dist/ui-library/p-78529c8c.entry.js +2 -0
- package/dist/ui-library/p-78529c8c.entry.js.map +1 -0
- package/dist/ui-library/p-7eb592a8.entry.js +2 -0
- package/dist/ui-library/p-7eb592a8.entry.js.map +1 -0
- package/dist/ui-library/{p-bf4a35ec.js → p-7f856f00.js} +1 -1
- package/dist/ui-library/p-7f856f00.js.map +1 -0
- package/dist/ui-library/{p-eb8f05a9.js → p-8227aaed.js} +2 -2
- package/dist/ui-library/p-8227aaed.js.map +1 -0
- package/dist/ui-library/{p-5084ca7c.entry.js → p-831517cd.entry.js} +2 -2
- package/dist/ui-library/p-831517cd.entry.js.map +1 -0
- package/dist/ui-library/p-842b492e.js +2 -0
- package/dist/ui-library/p-842b492e.js.map +1 -0
- package/dist/ui-library/{p-25a3bf57.js → p-862d474e.js} +1 -1
- package/dist/ui-library/p-862d474e.js.map +1 -0
- package/dist/ui-library/{p-9b9c3afc.entry.js → p-87e197ee.entry.js} +2 -2
- package/dist/ui-library/p-87e197ee.entry.js.map +1 -0
- package/dist/ui-library/p-88767c27.entry.js +2 -0
- package/dist/ui-library/p-88767c27.entry.js.map +1 -0
- package/dist/ui-library/p-8bfb4bfc.js +2 -0
- package/dist/ui-library/p-8bfb4bfc.js.map +1 -0
- package/dist/ui-library/{p-c07adc21.entry.js → p-8c38a7bd.entry.js} +2 -2
- package/dist/ui-library/p-8c38a7bd.entry.js.map +1 -0
- package/dist/ui-library/p-943ce0f2.entry.js +2 -0
- package/dist/ui-library/p-943ce0f2.entry.js.map +1 -0
- package/dist/ui-library/{p-b27f496f.entry.js → p-979eabb5.entry.js} +2 -2
- package/dist/ui-library/p-979eabb5.entry.js.map +1 -0
- package/dist/ui-library/p-98ce9502.entry.js +2 -0
- package/dist/ui-library/p-98ce9502.entry.js.map +1 -0
- package/dist/ui-library/{p-ba74863a.js → p-998de05d.js} +1 -1
- package/dist/ui-library/p-998de05d.js.map +1 -0
- package/dist/ui-library/p-a036cc6f.entry.js +2 -0
- package/dist/ui-library/p-a036cc6f.entry.js.map +1 -0
- package/dist/ui-library/{p-8cf72af6.js → p-a1502802.js} +1 -1
- package/dist/ui-library/p-a1502802.js.map +1 -0
- package/dist/ui-library/p-a29f6a0e.entry.js +2 -0
- package/dist/ui-library/p-a29f6a0e.entry.js.map +1 -0
- package/dist/ui-library/p-a3fd8c74.entry.js +2 -0
- package/dist/ui-library/p-a3fd8c74.entry.js.map +1 -0
- package/dist/ui-library/p-a919b557.entry.js +2 -0
- package/dist/ui-library/p-a919b557.entry.js.map +1 -0
- package/dist/ui-library/p-ace4ec84.entry.js +2 -0
- package/dist/ui-library/p-ace4ec84.entry.js.map +1 -0
- package/dist/ui-library/{p-5b3e6eb7.entry.js → p-adf5a4da.entry.js} +2 -2
- package/dist/ui-library/p-adf5a4da.entry.js.map +1 -0
- package/dist/ui-library/{p-c700e3eb.entry.js → p-b5f844f7.entry.js} +2 -2
- package/dist/ui-library/p-b5f844f7.entry.js.map +1 -0
- package/dist/ui-library/p-b8ea574b.entry.js +2 -0
- package/dist/ui-library/p-b8ea574b.entry.js.map +1 -0
- package/dist/ui-library/p-bff679fa.entry.js +2 -0
- package/dist/ui-library/p-bff679fa.entry.js.map +1 -0
- package/dist/ui-library/p-ca63a6fa.js +3 -0
- package/dist/ui-library/p-ca63a6fa.js.map +1 -0
- package/dist/ui-library/p-d221d86a.entry.js +2 -0
- package/dist/ui-library/p-d221d86a.entry.js.map +1 -0
- package/dist/ui-library/p-d702b6ec.entry.js +2 -0
- package/dist/ui-library/p-d702b6ec.entry.js.map +1 -0
- package/dist/ui-library/p-db9d2fde.entry.js +2 -0
- package/dist/ui-library/p-db9d2fde.entry.js.map +1 -0
- package/dist/ui-library/p-e080d5b6.js +2 -0
- package/dist/ui-library/p-e080d5b6.js.map +1 -0
- package/dist/ui-library/p-e0dd0307.entry.js +2 -0
- package/dist/ui-library/p-e0dd0307.entry.js.map +1 -0
- package/dist/ui-library/p-e340a0ad.entry.js +2 -0
- package/dist/ui-library/p-e340a0ad.entry.js.map +1 -0
- package/dist/ui-library/p-f136a6b2.js +2 -0
- package/dist/ui-library/p-f136a6b2.js.map +1 -0
- package/dist/ui-library/p-f640731b.entry.js +2 -0
- package/dist/ui-library/p-f640731b.entry.js.map +1 -0
- package/dist/ui-library/p-fce214eb.entry.js +2 -0
- package/dist/ui-library/p-fce214eb.entry.js.map +1 -0
- package/dist/ui-library/p-fe87f64b.entry.js +2 -0
- package/dist/ui-library/p-fe87f64b.entry.js.map +1 -0
- package/dist/ui-library/ui-library.css +1 -10
- package/dist/ui-library/ui-library.esm.js +1 -1
- package/dist/ui-library/ui-library.esm.js.map +1 -1
- package/loader/index.d.ts +1 -1
- package/package.json +20 -21
- package/dist/cjs/event-listeners-dd94dcfb.js +0 -45
- package/dist/cjs/event-listeners-dd94dcfb.js.map +0 -1
- package/dist/cjs/execution-control-45c84c46.js.map +0 -1
- package/dist/cjs/focus-visible-e0d93a95.js +0 -47
- package/dist/cjs/focus-visible-e0d93a95.js.map +0 -1
- package/dist/cjs/form-control-7494488a.js +0 -35
- package/dist/cjs/form-control-7494488a.js.map +0 -1
- package/dist/cjs/index-ccf35821.js.map +0 -1
- package/dist/cjs/modal-21350fb5.js +0 -52
- package/dist/cjs/modal-21350fb5.js.map +0 -1
- package/dist/cjs/popover-b5e2d5ef.js.map +0 -1
- package/dist/cjs/popup-44836aaf.js +0 -103
- package/dist/cjs/popup-44836aaf.js.map +0 -1
- package/dist/cjs/scroll-76e6f5d7.js +0 -69
- package/dist/cjs/scroll-76e6f5d7.js.map +0 -1
- package/dist/cjs/six-checkbox.cjs.entry.js +0 -171
- package/dist/cjs/six-checkbox.cjs.entry.js.map +0 -1
- package/dist/cjs/six-form.cjs.entry.js +0 -236
- package/dist/cjs/six-form.cjs.entry.js.map +0 -1
- package/dist/cjs/six-menu-item.cjs.entry.js +0 -63
- package/dist/cjs/six-menu-item.cjs.entry.js.map +0 -1
- package/dist/cjs/slot-bccbdb59.js +0 -53
- package/dist/cjs/slot-bccbdb59.js.map +0 -1
- package/dist/cjs/types-64878648.js +0 -17
- package/dist/cjs/types-64878648.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 -427
- package/dist/collection/components/six-form/six-form.js.map +0 -1
- package/dist/components/six-form.js +0 -257
- package/dist/components/six-form.js.map +0 -1
- package/dist/components/six-tag2.js +0 -74
- package/dist/components/six-tag2.js.map +0 -1
- package/dist/esm/event-listeners-6b434035.js +0 -43
- package/dist/esm/event-listeners-6b434035.js.map +0 -1
- package/dist/esm/execution-control-72cc50f4.js.map +0 -1
- package/dist/esm/focus-visible-fa7129a0.js +0 -45
- package/dist/esm/focus-visible-fa7129a0.js.map +0 -1
- package/dist/esm/form-control-44a50dd6.js +0 -33
- package/dist/esm/form-control-44a50dd6.js.map +0 -1
- package/dist/esm/index-371fb9d4.js.map +0 -1
- package/dist/esm/modal-b1d96441.js +0 -49
- package/dist/esm/modal-b1d96441.js.map +0 -1
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/popover-1aacbae8.js.map +0 -1
- package/dist/esm/popup-678b8592.js +0 -98
- package/dist/esm/popup-678b8592.js.map +0 -1
- package/dist/esm/scroll-180b53fd.js +0 -64
- package/dist/esm/six-checkbox.entry.js +0 -167
- package/dist/esm/six-checkbox.entry.js.map +0 -1
- package/dist/esm/six-form.entry.js +0 -232
- package/dist/esm/six-form.entry.js.map +0 -1
- package/dist/esm/six-menu-item.entry.js +0 -59
- package/dist/esm/six-menu-item.entry.js.map +0 -1
- package/dist/esm/slot-2e64df19.js +0 -48
- package/dist/esm/slot-2e64df19.js.map +0 -1
- package/dist/esm/types-4b10b413.js +0 -17
- package/dist/esm/types-4b10b413.js.map +0 -1
- package/dist/types/components/six-form/six-form.d.ts +0 -60
- package/dist/ui-library/p-02d5a6d8.js +0 -2
- package/dist/ui-library/p-02d5a6d8.js.map +0 -1
- package/dist/ui-library/p-053d6de8.entry.js +0 -2
- package/dist/ui-library/p-053d6de8.entry.js.map +0 -1
- package/dist/ui-library/p-0cc08e91.js.map +0 -1
- package/dist/ui-library/p-0eee4c41.entry.js +0 -2
- package/dist/ui-library/p-0eee4c41.entry.js.map +0 -1
- package/dist/ui-library/p-0fe78f9b.js +0 -2
- package/dist/ui-library/p-0fe78f9b.js.map +0 -1
- package/dist/ui-library/p-187fbba0.js +0 -3
- package/dist/ui-library/p-187fbba0.js.map +0 -1
- package/dist/ui-library/p-25a3bf57.js.map +0 -1
- package/dist/ui-library/p-25b42655.entry.js +0 -2
- package/dist/ui-library/p-25b42655.entry.js.map +0 -1
- package/dist/ui-library/p-271ba152.entry.js +0 -2
- package/dist/ui-library/p-271ba152.entry.js.map +0 -1
- package/dist/ui-library/p-27c4ee88.entry.js +0 -2
- package/dist/ui-library/p-27c4ee88.entry.js.map +0 -1
- package/dist/ui-library/p-2a36b7d0.entry.js +0 -2
- package/dist/ui-library/p-2a36b7d0.entry.js.map +0 -1
- package/dist/ui-library/p-2a8ad91b.entry.js +0 -2
- package/dist/ui-library/p-2a8ad91b.entry.js.map +0 -1
- package/dist/ui-library/p-30e0cdce.entry.js +0 -2
- package/dist/ui-library/p-30e0cdce.entry.js.map +0 -1
- package/dist/ui-library/p-3a47c8ad.entry.js +0 -2
- package/dist/ui-library/p-3a47c8ad.entry.js.map +0 -1
- package/dist/ui-library/p-3a4815cb.entry.js +0 -2
- package/dist/ui-library/p-3a4815cb.entry.js.map +0 -1
- package/dist/ui-library/p-3b71cac4.entry.js +0 -2
- package/dist/ui-library/p-3b71cac4.entry.js.map +0 -1
- package/dist/ui-library/p-3d4a2e03.entry.js +0 -2
- package/dist/ui-library/p-3d4a2e03.entry.js.map +0 -1
- package/dist/ui-library/p-3e4b9341.entry.js.map +0 -1
- package/dist/ui-library/p-41f0b6ff.entry.js +0 -2
- package/dist/ui-library/p-41f0b6ff.entry.js.map +0 -1
- package/dist/ui-library/p-435242a8.entry.js +0 -2
- package/dist/ui-library/p-435242a8.entry.js.map +0 -1
- package/dist/ui-library/p-5084ca7c.entry.js.map +0 -1
- package/dist/ui-library/p-5b3e6eb7.entry.js.map +0 -1
- package/dist/ui-library/p-5c1dd25a.entry.js +0 -2
- package/dist/ui-library/p-5c1dd25a.entry.js.map +0 -1
- package/dist/ui-library/p-5c60227f.entry.js +0 -2
- package/dist/ui-library/p-5c60227f.entry.js.map +0 -1
- package/dist/ui-library/p-5dc40a6a.entry.js +0 -2
- package/dist/ui-library/p-5dc40a6a.entry.js.map +0 -1
- package/dist/ui-library/p-649017db.entry.js +0 -2
- package/dist/ui-library/p-649017db.entry.js.map +0 -1
- package/dist/ui-library/p-713684c7.entry.js +0 -2
- package/dist/ui-library/p-713684c7.entry.js.map +0 -1
- package/dist/ui-library/p-73325eec.entry.js +0 -2
- package/dist/ui-library/p-73325eec.entry.js.map +0 -1
- package/dist/ui-library/p-7639c68e.entry.js +0 -2
- package/dist/ui-library/p-7639c68e.entry.js.map +0 -1
- package/dist/ui-library/p-764f56dd.entry.js +0 -2
- package/dist/ui-library/p-764f56dd.entry.js.map +0 -1
- package/dist/ui-library/p-886a35ee.entry.js +0 -2
- package/dist/ui-library/p-886a35ee.entry.js.map +0 -1
- package/dist/ui-library/p-8cf72af6.js.map +0 -1
- package/dist/ui-library/p-8d6f4311.entry.js +0 -2
- package/dist/ui-library/p-8d6f4311.entry.js.map +0 -1
- package/dist/ui-library/p-90c2dc30.entry.js +0 -2
- package/dist/ui-library/p-90c2dc30.entry.js.map +0 -1
- package/dist/ui-library/p-965fa6a6.entry.js +0 -2
- package/dist/ui-library/p-965fa6a6.entry.js.map +0 -1
- package/dist/ui-library/p-98234e3f.entry.js +0 -2
- package/dist/ui-library/p-98234e3f.entry.js.map +0 -1
- package/dist/ui-library/p-9b9c3afc.entry.js.map +0 -1
- package/dist/ui-library/p-9c34eab7.entry.js +0 -2
- package/dist/ui-library/p-9c34eab7.entry.js.map +0 -1
- package/dist/ui-library/p-9e0c386f.entry.js +0 -2
- package/dist/ui-library/p-9e0c386f.entry.js.map +0 -1
- package/dist/ui-library/p-9f8b6144.entry.js.map +0 -1
- package/dist/ui-library/p-a3cc0521.entry.js +0 -2
- package/dist/ui-library/p-a3cc0521.entry.js.map +0 -1
- package/dist/ui-library/p-a5143b8d.entry.js +0 -2
- package/dist/ui-library/p-a5143b8d.entry.js.map +0 -1
- package/dist/ui-library/p-aa6f71e1.entry.js +0 -2
- package/dist/ui-library/p-aa6f71e1.entry.js.map +0 -1
- package/dist/ui-library/p-abb98245.entry.js +0 -2
- package/dist/ui-library/p-abb98245.entry.js.map +0 -1
- package/dist/ui-library/p-b183e44f.js +0 -2
- package/dist/ui-library/p-b183e44f.js.map +0 -1
- package/dist/ui-library/p-b27f496f.entry.js.map +0 -1
- package/dist/ui-library/p-ba74863a.js.map +0 -1
- package/dist/ui-library/p-bf4a35ec.js.map +0 -1
- package/dist/ui-library/p-c07adc21.entry.js.map +0 -1
- package/dist/ui-library/p-c700e3eb.entry.js.map +0 -1
- package/dist/ui-library/p-cab99e54.entry.js.map +0 -1
- package/dist/ui-library/p-cf1133a0.entry.js +0 -2
- package/dist/ui-library/p-cf1133a0.entry.js.map +0 -1
- package/dist/ui-library/p-cf1d36c0.entry.js +0 -2
- package/dist/ui-library/p-cf1d36c0.entry.js.map +0 -1
- package/dist/ui-library/p-d87a6f4d.js +0 -2
- package/dist/ui-library/p-d87a6f4d.js.map +0 -1
- package/dist/ui-library/p-d8c97778.entry.js +0 -2
- package/dist/ui-library/p-d8c97778.entry.js.map +0 -1
- package/dist/ui-library/p-deb01174.entry.js +0 -2
- package/dist/ui-library/p-deb01174.entry.js.map +0 -1
- package/dist/ui-library/p-e5ba13d2.entry.js +0 -2
- package/dist/ui-library/p-e5ba13d2.entry.js.map +0 -1
- package/dist/ui-library/p-eb8f05a9.js.map +0 -1
- package/dist/ui-library/p-f29ba9cb.entry.js +0 -2
- package/dist/ui-library/p-f29ba9cb.entry.js.map +0 -1
- package/dist/ui-library/p-f66eb76c.entry.js +0 -2
- package/dist/ui-library/p-f66eb76c.entry.js.map +0 -1
- package/dist/ui-library/p-f974a184.entry.js +0 -2
- package/dist/ui-library/p-f974a184.entry.js.map +0 -1
- package/dist/ui-library/p-fb8d0734.entry.js +0 -2
- package/dist/ui-library/p-fb8d0734.entry.js.map +0 -1
- package/readme.md +0 -156
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date-util.spec.js","sourceRoot":"","sources":["../../src/utils/date-util.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,kBAAkB,EAClB,GAAG,EACH,YAAY,EACZ,UAAU,EACV,oBAAoB,EACpB,YAAY,EACZ,OAAO,EACP,QAAQ,EACR,SAAS,EACT,SAAS,EACT,SAAS,EACT,WAAW,EACX,UAAU,EACV,UAAU,EACV,iBAAiB,EACjB,KAAK,EACL,aAAa,EACb,GAAG,EACH,SAAS,EACT,WAAW,EACX,MAAM,EACN,IAAI,GACL,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,cAAc,EAAE,MAAM,+CAA+C,CAAC;AAG/E,QAAQ,CAAC,mBAAmB,EAAE,GAAG,EAAE;IACjC,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;QAC3B,EAAE,CAAC,2BAA2B,EA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AI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC;YAC7C,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC;YAC9C,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC;YAC7C,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC;SAC9C,CAAC,CAAC;QAEH,MAAM,CAAC,0BAA0B,CAAC,YAAY,CAAC,CAAC,CAAC,OAAO,CAAC;YACvD,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC;YAChD,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC;YACjD,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC;YACjD,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC;YACjD,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;SAC/C,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import {\n CalendarGridArgs,\n createCalendarGrid,\n day,\n decreaseYear,\n formatDate,\n getFirstDayOfTheWeek,\n increaseYear,\n isAfter,\n isBefore,\n isInRange,\n isoString,\n isSameDay,\n isSameMonth,\n isSameWeek,\n isSameYear,\n isValidDateString,\n month,\n newDateString,\n pad,\n parseDate,\n rangeAround,\n toDate,\n year,\n} from './date-util';\nimport { SixDateFormats } from '../components/six-datepicker/six-date-formats';\nimport { CalendarCell } from '../components/six-datepicker/six-datepicker';\n\ndescribe('date-util helpers', () => {\n describe('rangeAround', () => {\n it('returns range around 2023', () => {\n expect(rangeAround(2023, 25)).toStrictEqual([\n [2011, 2012, 2013, 2014, 2015],\n [2016, 2017, 2018, 2019, 2020],\n [2021, 2022, 2023, 2024, 2025],\n [2026, 2027, 2028, 2029, 2030],\n [2031, 2032, 2033, 2034, 2035],\n ]);\n });\n\n it('returns range around 0', () => {\n expect(rangeAround(0, 6)).toStrictEqual([[-3, -2, -1, 0, 1], [2]]);\n });\n });\n\n describe('pad', () => {\n it('should properly pad a single digit', async () => {\n // given\n const input = 2;\n\n // when\n const padded = pad(input);\n\n // then\n expect(padded).toEqual('02');\n });\n });\n});\n\ndescribe('parseDate', () => {\n describe('isoString', () => {\n it('should correctly handle undefined', async () => {\n // given\n const date = undefined;\n\n // when\n const isoDateString = isoString(date);\n\n // then\n expect(isoDateString).toBe('');\n });\n\n it('should correctly handle beginning of year', async () => {\n // given\n const date = new Date(2022, 0, 1);\n\n // when\n const isoDateString = isoString(date);\n\n // then\n expect(isoDateString).toBe('2022-01-01');\n });\n\n it('should correctly handle end of year', async () => {\n // given\n const date = new Date(2022, 11, 31);\n\n // when\n const isoDateString = isoString(date);\n\n // then\n expect(isoDateString).toBe('2022-12-31');\n });\n });\n\n describe('newDateString', () => {\n it('should correctly handle date separated into parameters', async () => {\n // given\n const year = 2033;\n const month = 3;\n const day = 2;\n\n // when\n const datestring = newDateString(year, month, day);\n\n // then\n expect(datestring).toBe('2033-03-02');\n });\n\n it('should correctly handle date object', async () => {\n // given\n const date = new Date(2022, 1, 1);\n\n // when\n const dateString = newDateString(date);\n\n // then\n expect(dateString).toBe('2022-02-01');\n });\n });\n\n describe('isValidDateString', () => {\n it('should correctly handle valid date with dashes', () => {\n // given\n const datestring = '1900-01-01';\n\n // when\n const isValidDateStringOutput = isValidDateString(datestring, 'yyyy-mm-dd');\n\n // then\n expect(isValidDateStringOutput).toBe(true);\n });\n\n it('should correctly handle date with periods', () => {\n // given\n const datestring = '01.01.1900';\n\n // when\n const isValidDateStringOutput = isValidDateString(datestring, 'dd.mm.yyyy');\n\n // then\n expect(isValidDateStringOutput).toBe(true);\n });\n\n it('should correctly handle reversed date with periods', () => {\n // given\n const datestring = '1900.01.01';\n\n // when\n const isValidDateStringOutput = isValidDateString(datestring, 'yyyy.mm.dd');\n\n // then\n expect(isValidDateStringOutput).toBe(true);\n });\n\n it('should correctly handle very old date with dashes', () => {\n // given\n const datestring = '1899-02-07';\n\n // when\n const isValidDateStringOutput = isValidDateString(datestring, 'yyyy-mm-dd');\n\n // then\n expect(isValidDateStringOutput).toBe(true);\n });\n\n it('should correctly handle date with dashes where month and year switched', () => {\n // given\n const datestring = '1999-15-07';\n\n // when\n const isValidDateStringOutput = isValidDateString(datestring, 'yyyy-mm-dd');\n\n // then\n expect(isValidDateStringOutput).toBe(false);\n });\n\n it('should correctly handle invalid day and month', () => {\n // given\n const datestring = '1999-00-32';\n\n // when\n const isValidDateStringOutput = isValidDateString(datestring, 'yyyy-mm-dd');\n\n // then\n expect(isValidDateStringOutput).toBe(false);\n });\n\n it('should correctly handle zero day', () => {\n // given\n const datestring = '1999-01-00';\n\n // when\n const isValidDateStringOutput = isValidDateString(datestring, 'yyyy-mm-dd');\n\n // then\n expect(isValidDateStringOutput).toBe(false);\n });\n\n it('should correctly handle exceeding day', () => {\n // given\n const datestring = '1999-01-32';\n\n // when\n const isValidDateStringOutput = isValidDateString(datestring, 'yyyy-mm-dd');\n\n // then\n expect(isValidDateStringOutput).toBe(false);\n });\n\n it('should correctly handle empty string', () => {\n // given\n const datestring = '';\n\n // when\n const isValidDateStringOutput = isValidDateString(datestring, 'yyyy-mm-dd');\n\n // then\n expect(isValidDateStringOutput).toBe(false);\n });\n\n it('should correctly handle undefined', () => {\n // given\n const datestring = undefined;\n\n // when\n const isValidDateStringOutput = isValidDateString(datestring, 'yyyy-mm-dd');\n\n // then\n expect(isValidDateStringOutput).toBe(false);\n });\n\n it('should correctly handle undefined', () => {\n // given\n const datestring = '1800-01-01';\n\n // when\n const isValidDatestring = isValidDateString(datestring, 'yyyy-mm-dd');\n\n // then\n expect(isValidDatestring).toBe(true);\n });\n });\n\n describe('isBefore', () => {\n it('should correctly handle different date objects', () => {\n // given\n const date = new Date(2020, 0, 1);\n const beforeDate = new Date(2020, 0, 2);\n\n // when\n const isBeforeOutput = isBefore(date, beforeDate);\n\n // then\n expect(isBeforeOutput).toBe(true);\n });\n\n it('should correctly handle same date objects', () => {\n // given\n const date = new Date(2020, 0, 1);\n const beforeDate = new Date(2020, 0, 1);\n\n // when\n const isBeforeOutput = isBefore(date, beforeDate);\n\n // then\n expect(isBeforeOutput).toBe(false);\n });\n\n it('should correctly handle different date strings', () => {\n // given\n const date = '2000-01-01';\n const beforeDate = '2000-01-02';\n\n // when\n const isBeforeOutput = isBefore(date, beforeDate);\n\n // then\n expect(isBeforeOutput).toBe(true);\n });\n\n it('should correctly handle same date string', () => {\n // given\n const date = '2000-01-01';\n const beforeDate = '2000-01-01';\n\n // when\n const isBeforeOutput = isBefore(date, beforeDate);\n\n // then\n expect(isBeforeOutput).toBe(false);\n });\n });\n\n describe('isAfter', () => {\n it('should correctly handle different date objects', () => {\n // given\n const date = new Date(2020, 0, 2);\n const afterDate = new Date(2020, 0, 1);\n\n // when\n const isAfterOutput = isAfter(date, afterDate);\n\n // then\n expect(isAfterOutput).toBe(true);\n });\n\n it('should correctly handle same objects', () => {\n // given\n const date = new Date(2020, 0, 1);\n const afterDate = new Date(2020, 0, 1);\n\n // when\n const isAfterOutput = isAfter(date, afterDate);\n\n // then\n expect(isAfterOutput).toBe(false);\n });\n\n it('should correctly handle different datestrings', () => {\n // given\n const date = '2000-01-02';\n const afterDate = '2000-01-01';\n\n // when\n const isAfterOutput = isAfter(date, afterDate);\n\n // then\n expect(isAfterOutput).toBe(true);\n });\n\n it('should correctly handle same datestrings', () => {\n // given\n const date = '2000-01-01';\n const afterDate = '2000-01-01';\n\n // when\n const isAfterOutput = isAfter(date, afterDate);\n\n // then\n expect(isAfterOutput).toBe(false);\n });\n });\n\n describe('year', () => {\n it('should correctly handle date object', () => {\n // given\n const yearInput = new Date(2020, 0, 1);\n\n // when\n const yearOutput = year(yearInput);\n\n // then\n expect(yearOutput).toBe(2020);\n });\n\n it('should correctly handle undefined', () => {\n // given\n const yearInput = undefined;\n\n // when\n const yearOutput = () => year(yearInput);\n\n // then\n expect(yearOutput).toThrow(Error);\n });\n\n it('should correctly handle invalid date', () => {\n // given\n const yearInput = new Date('adsf');\n\n // when\n const yearOutput = () => year(yearInput);\n\n // then\n expect(yearOutput).toThrow(Error);\n });\n });\n\n describe('month', () => {\n it('should correctly handle date object', () => {\n // given\n const monthInput = new Date(2020, 0, 1);\n\n // when\n const monthOutput = month(monthInput);\n\n // then\n expect(monthOutput).toBe(0);\n });\n\n it('should correctly handle undefined', () => {\n // given\n const monthInput = undefined;\n\n // when\n const monthOutput = () => month(monthInput);\n\n // then\n expect(monthOutput).toThrow(Error);\n });\n\n it('should correctly handle invalid date', () => {\n // given\n const monthInput = new Date('adsf');\n\n // when\n const monthOutput = () => month(monthInput);\n\n // then\n expect(monthOutput).toThrow(Error);\n });\n });\n\n describe('day', () => {\n it('should correctly handle valid date object', () => {\n // given\n const dayInput = new Date(2020, 0, 1);\n\n // when\n const dayOutput = day(dayInput);\n\n // then\n expect(dayOutput).toBe(1);\n });\n\n it('should correctly handle undefined', () => {\n // given\n const dayInput = undefined;\n\n // when\n const dayOutput = () => day(dayInput);\n\n // then\n expect(dayOutput).toThrow(Error);\n });\n\n it('should correctly handle invalid date object', () => {\n // given\n const dayInput = new Date('adsf');\n\n // when\n const dayOutput = () => day(dayInput);\n\n // then\n expect(dayOutput).toThrow(Error);\n });\n });\n\n describe('increase year', () => {\n it('should properly increase year', async () => {\n // given\n const year = new Date(2020, 0, 1);\n const increment = 1;\n\n // when\n const increasedYear = increaseYear(year, increment);\n\n // then\n expect(increasedYear).toBe(2021);\n });\n });\n\n describe('decrease year', () => {\n it('should properly decrease year', () => {\n // given\n const year = new Date(2020, 0, 1);\n const decrement = 1;\n\n // when\n const decreasedYear = decreaseYear(year, decrement);\n\n // then\n expect(decreasedYear).toBe(2019);\n });\n });\n\n describe('isInRange', () => {\n it('should correctly handle lower than min range', () => {\n // given\n const date = new Date(2020, 0, 4);\n const minDate = new Date(2020, 0, 5);\n const maxDate = new Date(2020, 0, 10);\n\n // when\n const isInRangeOutput = isInRange(date, minDate, maxDate);\n\n // then\n expect(isInRangeOutput).toBe(false);\n });\n\n it('should correctly handle lower than min range when only min date defined', () => {\n // given\n const date = new Date(2020, 0, 4);\n const minDate = new Date(2020, 0, 5);\n const maxDate = undefined;\n\n // when\n const isInRangeOutput = isInRange(date, minDate, maxDate);\n\n // then\n expect(isInRangeOutput).toBe(false);\n });\n\n it('should correctly handle equal to min range', () => {\n // given\n const date = new Date(2020, 0, 5);\n const minDate = new Date(2020, 0, 5);\n const maxDate = new Date(2020, 0, 10);\n\n // when\n const isInRangeOutput = isInRange(date, minDate, maxDate);\n\n // then\n expect(isInRangeOutput).toBe(true);\n });\n\n it('should correctly handle equal to min range when only minDate defined', () => {\n // given\n const date = new Date(2020, 0, 5);\n const minDate = new Date(2020, 0, 5);\n const maxDate = undefined;\n\n // when\n const isInRangeOutput = isInRange(date, minDate, maxDate);\n\n // then\n expect(isInRangeOutput).toBe(true);\n });\n\n it('should correctly handle in range', () => {\n // given\n const date = new Date(2020, 0, 6);\n const minDate = new Date(2020, 0, 5);\n const maxDate = new Date(2020, 0, 10);\n\n // when\n const isInRangeOutput = isInRange(date, minDate, maxDate);\n\n // then\n expect(isInRangeOutput).toBe(true);\n });\n\n it('should correctly handle in range when only minDate defined', () => {\n // given\n const date = new Date(2020, 0, 6);\n const minDate = new Date(2020, 0, 5);\n const maxDate = undefined;\n\n // when\n const isInRangeOutput = isInRange(date, minDate, maxDate);\n\n // then\n expect(isInRangeOutput).toBe(true);\n });\n\n it('should correctly handle in range when only maxDate is defined', () => {\n // given\n const date = new Date(2020, 0, 6);\n const maxDate = new Date(2020, 0, 10);\n const minDate = undefined;\n\n // when\n const isInRangeOutput = isInRange(date, minDate, maxDate);\n\n // then\n expect(isInRangeOutput).toBe(true);\n });\n\n it('should correctly handle just below max range', () => {\n // given\n const date = new Date(2020, 0, 9);\n const minDate = new Date(2020, 0, 5);\n const maxDate = new Date(2020, 0, 10);\n\n // when\n const isInRangeOutput = isInRange(date, minDate, maxDate);\n\n // then\n expect(isInRangeOutput).toBe(true);\n });\n\n it('should correctly handle just below max range when only maxDate is defined', () => {\n // given\n const date = new Date(2020, 0, 9);\n const maxDate = new Date(2020, 0, 10);\n const minDate = undefined;\n\n // when\n const isInRangeOutput = isInRange(date, minDate, maxDate);\n\n // then\n expect(isInRangeOutput).toBe(true);\n });\n\n it('should correctly handle equal to max range', () => {\n // given\n const date = new Date(2020, 0, 10);\n const minDate = new Date(2020, 0, 5);\n const maxDate = new Date(2020, 0, 10);\n\n // when\n const isInRangeOutput = isInRange(date, minDate, maxDate);\n\n // then\n expect(isInRangeOutput).toBe(true);\n });\n\n it('should correctly handle equal to max range when only maxDate defined', () => {\n // given\n const date = new Date(2020, 0, 10);\n const maxDate = new Date(2020, 0, 10);\n const minDate = undefined;\n\n // when\n const isInRangeOutput = isInRange(date, minDate, maxDate);\n\n // then\n expect(isInRangeOutput).toBe(true);\n });\n\n it('should correctly handle higher than max range', () => {\n // given\n const date = new Date(2020, 0, 11);\n const minDate = new Date(2020, 0, 5);\n const maxDate = new Date(2020, 0, 10);\n\n // when\n const isInRangeOutput = isInRange(date, minDate, maxDate);\n\n // then\n expect(isInRangeOutput).toBe(false);\n });\n\n it('should correctly handle higher than max range when only maxDate defined', () => {\n // given\n const date = new Date(2020, 0, 11);\n const maxDate = new Date(2020, 0, 10);\n const minDate = undefined;\n\n // when\n const isInRangeOutput = isInRange(date, minDate, maxDate);\n\n // then\n expect(isInRangeOutput).toBe(false);\n });\n });\n\n describe('getFirstDayOfTheWeek', () => {\n it('should return correct day', () => {\n // given\n const date = new Date(2021, 1, 26);\n\n // when\n const firstDayOfTheWeek = getFirstDayOfTheWeek(date).getDay();\n\n // then\n expect(firstDayOfTheWeek).toBe(1);\n });\n\n it('should return correct date', () => {\n // given\n const date = new Date(2021, 1, 26);\n\n // when\n const firstDayOfTheWeek = getFirstDayOfTheWeek(date).getDate();\n\n // then\n expect(firstDayOfTheWeek).toBe(22);\n });\n });\n\n describe('isSameYear', () => {\n it('should correctly handle same year', () => {\n // given\n const year1 = new Date(2021, 1, 26);\n const year2 = new Date(2021, 2, 2);\n\n // when\n const isSameYearOutput = isSameYear(year1, year2);\n\n // then\n expect(isSameYearOutput).toBe(true);\n });\n\n it('should correctly handle different year', () => {\n // given\n const year1 = new Date(2021, 1, 26);\n const year2 = new Date(2022, 2, 2);\n\n // when\n const isSameYearOutput = isSameYear(year1, year2);\n\n // then\n expect(isSameYearOutput).toBe(false);\n });\n\n it('should handle null values', () => {\n // given\n const year1 = new Date(2021, 1, 26);\n\n // when\n const isSameYearOutput = isSameYear(year1, undefined);\n\n // then\n expect(isSameYearOutput).toBe(false);\n });\n });\n\n describe('isSameMonth', () => {\n it('should correctly handle same month', () => {\n // given\n const month1 = new Date(2021, 1, 26);\n const month2 = new Date(2021, 1, 2);\n\n // when\n const isSameMonthOutput = isSameMonth(month1, month2);\n\n // then\n expect(isSameMonthOutput).toBe(true);\n });\n\n it('should correctly handle different month', () => {\n // given\n const month1 = new Date(2021, 1, 26);\n const month2 = new Date(2021, 2, 2);\n\n // when\n const isSameMonthOutput = isSameMonth(month1, month2);\n\n // then\n expect(isSameMonthOutput).toBe(false);\n });\n\n it('should handle null values', () => {\n // given\n const month1 = new Date(2021, 1, 26);\n\n // when\n const isSameMonthOutput = isSameMonth(month1, undefined);\n\n // then\n expect(isSameMonthOutput).toBe(false);\n });\n });\n\n describe('isSameWeek', () => {\n it('should correctly handle', () => {\n // given\n const week1 = new Date(2021, 1, 26);\n // when\n const isSameWeekOutput = isSameWeek(week1, week1);\n\n // then\n expect(isSameWeekOutput).toBe(true);\n });\n\n it('should correctly handle', () => {\n // given\n const week1 = new Date(2021, 1, 26);\n const week2 = new Date(2021, 1, 21);\n\n // when\n const isSameWeekOutput = isSameWeek(week1, week2);\n\n // then\n expect(isSameWeekOutput).toBe(false);\n });\n\n it('should correctly handle', () => {\n // given\n const week1 = new Date(2021, 1, 26);\n const week2 = new Date(2021, 1, 22);\n\n // when\n const isSameWeekOutput = isSameWeek(week1, week2);\n\n // then\n expect(isSameWeekOutput).toBe(true);\n });\n\n it('should correctly handle', () => {\n // given\n const week1 = new Date(2021, 1, 26);\n const week2 = new Date(2021, 1, 28);\n\n // when\n const isSameWeekOutput = isSameWeek(week1, week2);\n\n // then\n expect(isSameWeekOutput).toBe(true);\n });\n\n it('should correctly handle', () => {\n // given\n const week1 = new Date(2021, 1, 26);\n const week2 = new Date(2021, 2, 1);\n\n // when\n const isSameWeekOutput = isSameWeek(week1, week2);\n\n // then\n expect(isSameWeekOutput).toBe(false);\n });\n });\n\n describe('isSameDay', () => {\n it('should correctly handle same day', () => {\n // given\n const day1 = new Date(2021, 1, 26);\n const day2 = new Date(2021, 1, 26);\n\n // when\n const isSameDayOutput = isSameDay(day1, day2);\n\n // then\n expect(isSameDayOutput).toBe(true);\n });\n\n it('should correctly handle different days', () => {\n // given\n const day1 = new Date(2021, 1, 26);\n const day2 = new Date(2021, 1, 25);\n\n // when\n const isSameDayOutput = isSameDay(day1, day2);\n\n // then\n expect(isSameDayOutput).toBe(false);\n });\n\n it('should correctly handle same day in different years', () => {\n // given\n const day1 = new Date(2021, 1, 25);\n const day2 = new Date(2022, 1, 25);\n\n // when\n const isSameDayOutput = isSameDay(day1, day2);\n\n // then\n expect(isSameDayOutput).toBe(false);\n });\n\n it('should handle null values', () => {\n // given\n const day1 = new Date(2021, 1, 25);\n\n // when\n const isSameDayOutput = isSameDay(day1, undefined);\n\n // then\n expect(isSameDayOutput).toBe(false);\n });\n });\n\n describe('formatDate', () => {\n it('should handle undefined date', async () => {\n // given\n const date = undefined;\n const format = 'dd/mm/yyyy';\n\n // when\n const formattedDate = formatDate(date, format);\n\n // then\n expect(formattedDate).toEqual('');\n });\n\n it('should correctly format dd/mm/yyyy', async () => {\n // given\n const date = new Date(2021, 1, 26);\n const format = 'dd/mm/yyyy';\n\n // when\n const formattedDate = formatDate(date, format);\n\n // then\n expect(formattedDate).toEqual('26/02/2021');\n });\n\n it('should correctly format d/m/yyyy', async () => {\n // given\n const date = new Date(2021, 1, 5);\n const format = 'd/m/yyyy';\n\n // when\n const formattedDate = formatDate(date, format);\n\n // then\n expect(formattedDate).toEqual('5/2/2021');\n });\n\n it('should correctly format yyyy/mm/dd', async () => {\n // given\n const date = new Date(2021, 1, 5);\n const format = 'yyyy/mm/dd';\n\n // when\n const formattedDate = formatDate(date, format);\n\n // then\n expect(formattedDate).toEqual('2021/02/05');\n });\n\n it('should correctly format dd.mm.yyyy', async () => {\n // given\n const date = new Date(2021, 1, 5);\n const format = 'dd.mm.yyyy';\n\n // when\n const formattedDate = formatDate(date, format);\n\n // then\n expect(formattedDate).toEqual('05.02.2021');\n });\n\n it('should correctly format dd-mm-yyyy', async () => {\n // given\n const date = new Date(2021, 1, 5);\n const format = 'dd-mm-yyyy';\n\n // when\n const formattedDate = formatDate(date, format);\n\n // then\n expect(formattedDate).toEqual('05-02-2021');\n });\n });\n\n describe('parseDate', () => {\n it('should properly parse yyyy-mm-dd', async () => {\n // given\n const datestring = '2021-05-22';\n const format = 'yyyy-mm-dd';\n const locale = 'en';\n\n // when\n const parsedDate = parseDate(datestring, format, locale);\n\n // then\n expect(parsedDate).toEqual(new Date(2021, 4, 22));\n });\n\n it('should properly parse dd-mm-yyyy', async () => {\n // given\n const datestring = '22-05-2021';\n const format = 'dd-mm-yyyy';\n const locale = 'en';\n\n // when\n const parsedDate = parseDate(datestring, format, locale);\n\n // then\n expect(parsedDate).toEqual(new Date(2021, 4, 22));\n });\n\n it('should properly parse dd/mm/yyyy', async () => {\n // given\n const datestring = '22/05/2021';\n const format = 'dd/mm/yyyy';\n const locale = 'en';\n\n // when\n const parsedDate = parseDate(datestring, format, locale);\n\n // then\n expect(parsedDate).toEqual(new Date(2021, 4, 22));\n });\n });\n\n describe('toDate', () => {\n const getRandomInt = (upperBound: number, lowerBound = 0) =>\n Math.floor(Math.random() * upperBound) + 1 + lowerBound;\n const addMissingZero = (numb: number): string => String(numb).padStart(2, '0');\n const addMissingZeroRandomly = (numb: number): string => {\n // add a leading zero in 50% of the cases\n if (Math.round(Math.random()) !== 0) {\n return String(numb);\n } else {\n return addMissingZero(numb);\n }\n };\n const getRandomYYYY = () => getRandomInt(1000, 1000);\n const getRandomYY = () => addMissingZero(getRandomInt(30));\n const getRandomMonth = () => addMissingZeroRandomly(getRandomInt(12));\n const getRandomDay = () => addMissingZeroRandomly(getRandomInt(31));\n\n it('should properly parse yyyy-mm-dd', async () => {\n // given\n const year = getRandomYYYY();\n const month = getRandomMonth();\n const day = getRandomDay();\n const dateString = `${year}-${month}-${day}`;\n const format = 'yyyy-mm-dd';\n\n // when\n const date = toDate(dateString, format);\n\n // then\n expect(date).toEqual(new Date(year, Number(month) - 1, Number(day)));\n });\n\n it('should properly parse yy-mm-dd', async () => {\n // given\n const year = getRandomYY();\n const month = getRandomMonth();\n const day = getRandomDay();\n const dateString = `${year}-${month}-${day}`;\n const format = 'yy-mm-dd';\n\n // when\n const date = toDate(dateString, format);\n\n // then\n expect(date).toEqual(new Date(Number(`20${year}`), Number(month) - 1, Number(day)));\n });\n\n it('should properly parse dd.mm.yyyy', async () => {\n // given\n const year = getRandomYYYY();\n const day = getRandomDay();\n const month = getRandomMonth();\n const dateString = `${day}.${month}.${year}`;\n const format = 'dd.mm.yyyy';\n\n // when\n const date = toDate(dateString, format);\n\n // then\n expect(date).toEqual(new Date(year, Number(month) - 1, Number(day)));\n });\n\n it('should properly parse dd.mm.yyyy with no leading zero', async () => {\n // given\n const dateString = '2.5.1990';\n const format = 'dd.mm.yyyy';\n\n // when\n const date = toDate(dateString, format);\n\n // then\n expect(date).toEqual(new Date(1990, 4, 2));\n });\n\n it('should properly parse dd.mm.yy', async () => {\n // given\n const day = getRandomDay();\n const month = getRandomMonth();\n const year = getRandomYY();\n const dateString = `${day}.${month}.${year}`;\n const format = 'dd.mm.yy';\n\n // when\n const date = toDate(dateString, format);\n\n // then\n expect(date).toEqual(new Date(Number(`20${year}`), Number(month) - 1, Number(day)));\n });\n\n it('should properly parse dd-mm-yyyy', async () => {\n // given\n const year = getRandomYYYY();\n const month = getRandomMonth();\n const day = getRandomDay();\n const dateString = `${day}-${month}-${year}`;\n const format = 'dd-mm-yyyy';\n\n // when\n const date = toDate(dateString, format);\n\n // then\n expect(date).toEqual(new Date(year, Number(month) - 1, Number(day)));\n });\n\n it('should properly parse dd-mm-yy', async () => {\n // given\n const month = getRandomMonth();\n const day = getRandomDay();\n const year = getRandomYY();\n const dateString = `${day}-${month}-${year}`;\n const format = 'dd-mm-yy';\n\n // when\n const date = toDate(dateString, format);\n\n // then\n expect(date).toEqual(new Date(Number(`20${year}`), Number(month) - 1, Number(day)));\n });\n\n it('should properly parse dd/mm/yyyy', async () => {\n // given\n const year = getRandomYYYY();\n const month = getRandomMonth();\n const day = getRandomDay();\n const dateString = `${day}/${month}/${year}`;\n const format = 'dd/mm/yyyy';\n\n // when\n const date = toDate(dateString, format);\n\n // then\n expect(date).toEqual(new Date(year, Number(month) - 1, Number(day)));\n });\n\n it('should properly parse dd/mm/yy', async () => {\n // given\n const day = getRandomDay();\n const month = getRandomMonth();\n const year = getRandomYY();\n const dateString = `${day}/${month}/${year}`;\n const format = 'dd/mm/yy';\n\n // when\n const date = toDate(dateString, format);\n\n // then\n expect(date).toEqual(new Date(Number(`20${year}`), Number(month) - 1, Number(day)));\n });\n\n it('should properly parse yyyy/mm/dd', async () => {\n // given\n const year = getRandomYYYY();\n const month = getRandomMonth();\n const day = getRandomDay();\n const dateString = `${year}/${month}/${day}`;\n const format = 'yyyy/mm/dd';\n\n // when\n const date = toDate(dateString, format);\n\n // then\n expect(date).toEqual(new Date(year, Number(month) - 1, Number(day)));\n });\n\n it('should properly parse yy/mm/dd', async () => {\n // given\n const year = getRandomYY();\n const month = getRandomMonth();\n const day = getRandomDay();\n const dateString = `${year}/${month}/${day}`;\n const format = 'yy/mm/dd';\n\n // when\n const date = toDate(dateString, format);\n\n // then\n expect(date).toEqual(new Date(Number(`20${year}`), Number(month) - 1, Number(day)));\n });\n });\n});\n\ndescribe('createCalendarGrid', () => {\n const mapGridToProperty = (grid: CalendarCell[][], property: keyof CalendarCell) =>\n grid.map((row) => row.map((cell) => cell[property]));\n const stringifyGrid = (grid: CalendarCell[][]) => mapGridToProperty(grid, 'label');\n const extractDisabledMapFromGrid = (grid: CalendarCell[][]) => mapGridToProperty(grid, 'isDisabled');\n const extractOutdatedMapFromGrid = (grid: CalendarCell[][]) => mapGridToProperty(grid, 'isOutdated');\n\n it('should correctly show some specific date', async () => {\n // given\n const args: CalendarGridArgs = {\n allowedDates: () => true,\n firstDateOfBox: new Date(2022, 1, 28),\n dateFormat: SixDateFormats.DDMMYY_DOT,\n locale: 'en',\n selectedDate: undefined,\n minDate: undefined,\n maxDate: undefined,\n pointerDate: {\n year: 2022,\n month: 2,\n day: 31,\n },\n };\n\n // when\n const calendarGrid = createCalendarGrid(args);\n\n // then\n expect(stringifyGrid(calendarGrid)).toEqual([\n ['28', '1', '2', '3', '4', '5', '6'],\n ['7', '8', '9', '10', '11', '12', '13'],\n ['14', '15', '16', '17', '18', '19', '20'],\n ['21', '22', '23', '24', '25', '26', '27'],\n ['28', '29', '30', '31', '1', '2', '3'],\n ]);\n\n expect(extractDisabledMapFromGrid(calendarGrid)).toEqual([\n [false, false, false, false, false, false, false],\n [false, false, false, false, false, false, false],\n [false, false, false, false, false, false, false],\n [false, false, false, false, false, false, false],\n [false, false, false, false, false, false, false],\n ]);\n\n expect(extractOutdatedMapFromGrid(calendarGrid)).toEqual([\n [true, false, false, false, false, false, false],\n [false, false, false, false, false, false, false],\n [false, false, false, false, false, false, false],\n [false, false, false, false, false, false, false],\n [false, false, false, false, true, true, true],\n ]);\n });\n\n it('should correctly show some box when today is first day of the month', async () => {\n // given\n const args: CalendarGridArgs = {\n allowedDates: () => true,\n firstDateOfBox: new Date(2022, 1, 28),\n dateFormat: SixDateFormats.DDMMYY_DOT,\n locale: 'en',\n selectedDate: undefined,\n minDate: undefined,\n maxDate: undefined,\n pointerDate: {\n year: 2022,\n month: 2,\n day: 1,\n },\n };\n\n // when\n const calendarGrid = createCalendarGrid(args);\n\n // then\n expect(stringifyGrid(calendarGrid)).toEqual([\n ['28', '1', '2', '3', '4', '5', '6'],\n ['7', '8', '9', '10', '11', '12', '13'],\n ['14', '15', '16', '17', '18', '19', '20'],\n ['21', '22', '23', '24', '25', '26', '27'],\n ['28', '29', '30', '31', '1', '2', '3'],\n ]);\n\n expect(extractDisabledMapFromGrid(calendarGrid)).toEqual([\n [false, false, false, false, false, false, false],\n [false, false, false, false, false, false, false],\n [false, false, false, false, false, false, false],\n [false, false, false, false, false, false, false],\n [false, false, false, false, false, false, false],\n ]);\n\n expect(extractOutdatedMapFromGrid(calendarGrid)).toEqual([\n [true, false, false, false, false, false, false],\n [false, false, false, false, false, false, false],\n [false, false, false, false, false, false, false],\n [false, false, false, false, false, false, false],\n [false, false, false, false, true, true, true],\n ]);\n });\n\n it('should correclty create calendargrid with non allowed dates', async () => {\n // given\n const args: CalendarGridArgs = {\n allowedDates: (date) => date.getDate() % 2 === 0,\n firstDateOfBox: new Date(2022, 1, 28),\n dateFormat: SixDateFormats.DDMMYY_DOT,\n locale: 'en',\n selectedDate: undefined,\n minDate: undefined,\n maxDate: undefined,\n pointerDate: {\n year: 2022,\n month: 2,\n day: 31,\n },\n };\n\n // when\n const calendarGrid = createCalendarGrid(args);\n\n // then\n expect(stringifyGrid(calendarGrid)).toEqual([\n ['28', '1', '2', '3', '4', '5', '6'],\n ['7', '8', '9', '10', '11', '12', '13'],\n ['14', '15', '16', '17', '18', '19', '20'],\n ['21', '22', '23', '24', '25', '26', '27'],\n ['28', '29', '30', '31', '1', '2', '3'],\n ]);\n\n expect(extractDisabledMapFromGrid(calendarGrid)).toEqual([\n [false, true, false, true, false, true, false],\n [true, false, true, false, true, false, true],\n [false, true, false, true, false, true, false],\n [true, false, true, false, true, false, true],\n [false, true, false, true, true, false, true],\n ]);\n\n expect(extractOutdatedMapFromGrid(calendarGrid)).toEqual([\n [true, false, false, false, false, false, false],\n [false, false, false, false, false, false, false],\n [false, false, false, false, false, false, false],\n [false, false, false, false, false, false, false],\n [false, false, false, false, true, true, true],\n ]);\n });\n});\n"]}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
export const languages = ['de', 'fr', 'it', 'en', 'es'];
|
|
2
|
+
const dateFormat = new Intl.DateTimeFormat('de-CH');
|
|
3
|
+
/**
|
|
4
|
+
* Returns an error message for the given language and error.
|
|
5
|
+
*/
|
|
6
|
+
export function getErrorMessage(language, error) {
|
|
7
|
+
try {
|
|
8
|
+
const message = translation[language][error.key];
|
|
9
|
+
switch (error.key) {
|
|
10
|
+
case 'required':
|
|
11
|
+
case 'requiredtrue':
|
|
12
|
+
case 'email':
|
|
13
|
+
return message;
|
|
14
|
+
case 'minlength':
|
|
15
|
+
case 'maxlength':
|
|
16
|
+
return message.replace('{requiredLength}', String(error.requiredLength));
|
|
17
|
+
case 'pattern':
|
|
18
|
+
return message.replace('{pattern}', String(error.requiredPattern));
|
|
19
|
+
case 'min':
|
|
20
|
+
return message.replace('{min}', String(error.min));
|
|
21
|
+
case 'max':
|
|
22
|
+
return message.replace('{max}', String(error.max));
|
|
23
|
+
case 'mindate':
|
|
24
|
+
return message.replace('{mindate}', dateFormat.format(error.mindate));
|
|
25
|
+
case 'maxdate':
|
|
26
|
+
return message.replace('{maxdate}', dateFormat.format(error.maxdate));
|
|
27
|
+
case 'invaliddate':
|
|
28
|
+
return message;
|
|
29
|
+
case 'custom':
|
|
30
|
+
return error.text;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
catch (e) {
|
|
34
|
+
console.warn(`no error message in '${language}' for error:`, error);
|
|
35
|
+
return undefined;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export function getLanguage() {
|
|
39
|
+
const documentLang = document.documentElement.lang;
|
|
40
|
+
if (languages.includes(documentLang)) {
|
|
41
|
+
return documentLang;
|
|
42
|
+
}
|
|
43
|
+
return 'de';
|
|
44
|
+
}
|
|
45
|
+
const translation = {
|
|
46
|
+
en: {
|
|
47
|
+
required: 'Please fill out this field.',
|
|
48
|
+
minlength: 'Please enter at least {requiredLength} characters.',
|
|
49
|
+
maxlength: 'Please enter no more than {requiredLength} characters.',
|
|
50
|
+
pattern: 'Please enter a value that matches the pattern: {pattern}.',
|
|
51
|
+
email: 'Please enter a valid email address.',
|
|
52
|
+
min: 'Please enter a value greater than or equal to {min}.',
|
|
53
|
+
max: 'Please enter a value less than or equal to {max}.',
|
|
54
|
+
requiredtrue: 'Please check this field.',
|
|
55
|
+
mindate: 'Please enter a date on or after {mindate}.',
|
|
56
|
+
maxdate: 'Please enter a date on or before {maxdate}.',
|
|
57
|
+
invaliddate: 'Please enter a valid date.',
|
|
58
|
+
},
|
|
59
|
+
fr: {
|
|
60
|
+
required: "Veuillez remplir ce champ s'il vous plaît.",
|
|
61
|
+
minlength: 'Veuillez entrer au moins {requiredLength} caractères.',
|
|
62
|
+
maxlength: 'Veuillez entrer au maximum {requiredLength} caractères.',
|
|
63
|
+
pattern: 'Veuillez entrer une valeur qui correspond au format : {pattern}.',
|
|
64
|
+
email: 'Veuillez entrer une adresse email valide.',
|
|
65
|
+
min: 'Veuillez entrer une valeur supérieure ou égale à {min}.',
|
|
66
|
+
max: 'Veuillez entrer une valeur inférieure ou égale à {max}.',
|
|
67
|
+
requiredtrue: "Veuillez cocher cette case s'il vous plaît.",
|
|
68
|
+
mindate: 'Veuillez entrer une date le {mindate} ou après.',
|
|
69
|
+
maxdate: 'Veuillez entrer une date le {maxdate} ou avant.',
|
|
70
|
+
invaliddate: 'Veuillez entrer une date valide.',
|
|
71
|
+
},
|
|
72
|
+
de: {
|
|
73
|
+
required: 'Bitte füllen Sie dieses Feld aus.',
|
|
74
|
+
minlength: 'Bitte geben Sie mindestens {requiredLength} Zeichen ein.',
|
|
75
|
+
maxlength: 'Bitte geben Sie höchstens {requiredLength} Zeichen ein.',
|
|
76
|
+
pattern: 'Bitte geben Sie einen Wert ein, der dem Muster entspricht: {pattern}.',
|
|
77
|
+
email: 'Bitte geben Sie eine gültige E-Mail-Adresse ein.',
|
|
78
|
+
min: 'Bitte geben Sie einen Wert größer oder gleich {min} ein.',
|
|
79
|
+
max: 'Bitte geben Sie einen Wert kleiner oder gleich {max} ein.',
|
|
80
|
+
requiredtrue: 'Bitte aktivieren Sie dieses Feld.',
|
|
81
|
+
mindate: 'Bitte geben Sie ein Datum am oder nach dem {mindate} ein.',
|
|
82
|
+
maxdate: 'Bitte geben Sie ein Datum am oder vor dem {maxdate} ein.',
|
|
83
|
+
invaliddate: 'Bitte geben Sie ein gültiges Datum ein.',
|
|
84
|
+
},
|
|
85
|
+
it: {
|
|
86
|
+
required: 'Si prega di compilare questo campo.',
|
|
87
|
+
minlength: 'Si prega di inserire almeno {requiredLength} caratteri.',
|
|
88
|
+
maxlength: 'Si prega di inserire al massimo {requiredLength} caratteri.',
|
|
89
|
+
pattern: 'Si prega di inserire un valore che corrisponde al formato: {pattern}.',
|
|
90
|
+
email: 'Si prega di inserire un indirizzo email valido.',
|
|
91
|
+
min: 'Si prega di inserire un valore maggiore o uguale a {min}.',
|
|
92
|
+
max: 'Si prega di inserire un valore minore o uguale a {max}.',
|
|
93
|
+
requiredtrue: 'Si prega di spuntare questo campo.',
|
|
94
|
+
mindate: 'Si prega di inserire una data il {mindate} o successiva.',
|
|
95
|
+
maxdate: 'Si prega di inserire una data il {maxdate} o precedente.',
|
|
96
|
+
invaliddate: 'Inserisci una data valida.',
|
|
97
|
+
},
|
|
98
|
+
es: {
|
|
99
|
+
required: 'Por favor, rellene este campo.',
|
|
100
|
+
minlength: 'Por favor, introduzca al menos {requiredLength} caracteres.',
|
|
101
|
+
maxlength: 'Por favor, introduzca no más de {requiredLength} caracteres.',
|
|
102
|
+
pattern: 'Por favor, introduzca un valor que coincida con el patrón: {pattern}.',
|
|
103
|
+
email: 'Por favor, introduzca una dirección de correo electrónico válida.',
|
|
104
|
+
min: 'Por favor, introduzca un valor mayor o igual a {min}.',
|
|
105
|
+
max: 'Por favor, introduzca un valor menor o igual a {max}.',
|
|
106
|
+
requiredtrue: 'Por favor, marque este campo.',
|
|
107
|
+
mindate: 'Por favor, introduzca una fecha igual o posterior a {mindate}.',
|
|
108
|
+
maxdate: 'Por favor, introduzca una fecha igual o anterior a {maxdate}.',
|
|
109
|
+
invaliddate: 'Por favor, introduzca una fecha válida.',
|
|
110
|
+
},
|
|
111
|
+
};
|
|
112
|
+
//# sourceMappingURL=error-messages.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-messages.js","sourceRoot":"","sources":["../../src/utils/error-messages.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAU,CAAC;AAGjE,MAAM,UAAU,GAAG,IAAI,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;AAgBpD;;GAEG;AACH,MAAM,UAAU,eAAe,CAAC,QAAkB,EAAE,KAAsB;IACxE,IAAI;QACF,MAAM,OAAO,GAAG,WAAW,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACjD,QAAQ,KAAK,CAAC,GAAG,EAAE;YACjB,KAAK,UAAU,CAAC;YAChB,KAAK,cAAc,CAAC;YACpB,KAAK,OAAO;gBACV,OAAO,OAAO,CAAC;YACj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,WAAW,EAAE,4BAA4B;KAC1C;IAED,EAAE,EAAE;QACF,QAAQ,EAAE,gCAAgC;QAC1C,SAAS,EAAE,6DAA6D;QACxE,SAAS,EAAE,8DAA8D;QACzE,OAAO,EAAE,uEAAuE;QAChF,KAAK,EAAE,mEAAmE;QAC1E,GAAG,EAAE,uDAAuD;QAC5D,GAAG,EAAE,uDAAuD;QAC5D,YAAY,EAAE,+BAA+B;QAC7C,OAAO,EAAE,gEAAgE;QACzE,OAAO,EAAE,+DAA+D;QACxE,WAAW,EAAE,yCAAyC;KACvD;CACF,CAAC","sourcesContent":["export const languages = ['de', 'fr', 'it', 'en', 'es'] as const;\nexport type Language = (typeof languages)[number];\n\nconst dateFormat = new Intl.DateTimeFormat('de-CH');\n\nexport type ValidationError =\n | { key: 'required' }\n | { key: 'requiredtrue' }\n | { key: 'email'; requiredPattern: string }\n | { key: 'minlength'; requiredLength: number }\n | { key: 'maxlength'; requiredLength: number }\n | { key: 'pattern'; requiredPattern: string }\n | { key: 'min'; min: number }\n | { key: 'max'; max: number }\n | { key: 'mindate'; mindate: Date; actual: Date }\n | { key: 'maxdate'; maxdate: Date; actual: Date }\n | { key: 'invaliddate'; actual: Date }\n | { key: 'custom'; text: string };\n\n/**\n * Returns an error message for the given language and error.\n */\nexport function getErrorMessage(language: Language, error: ValidationError): string | undefined {\n try {\n const message = translation[language][error.key];\n switch (error.key) {\n case 'required':\n case 'requiredtrue':\n case 'email':\n return message;\n case 'minlength':\n case 'maxlength':\n return message.replace('{requiredLength}', String(error.requiredLength));\n case 'pattern':\n return message.replace('{pattern}', String(error.requiredPattern));\n case 'min':\n return message.replace('{min}', String(error.min));\n case 'max':\n return message.replace('{max}', String(error.max));\n case 'mindate':\n return message.replace('{mindate}', dateFormat.format(error.mindate));\n case 'maxdate':\n return message.replace('{maxdate}', dateFormat.format(error.maxdate));\n case 'invaliddate':\n return message;\n case 'custom':\n return error.text;\n }\n } catch (e) {\n console.warn(`no error message in '${language}' for error:`, error);\n return undefined;\n }\n}\n\nexport function getLanguage(): Language {\n const documentLang = document.documentElement.lang as Language;\n if (languages.includes(documentLang)) {\n return documentLang;\n }\n return 'de';\n}\n\nconst translation: Record<Language, Record<string, string>> = {\n en: {\n required: 'Please fill out this field.',\n minlength: 'Please enter at least {requiredLength} characters.',\n maxlength: 'Please enter no more than {requiredLength} characters.',\n pattern: 'Please enter a value that matches the pattern: {pattern}.',\n email: 'Please enter a valid email address.',\n min: 'Please enter a value greater than or equal to {min}.',\n max: 'Please enter a value less than or equal to {max}.',\n requiredtrue: 'Please check this field.',\n mindate: 'Please enter a date on or after {mindate}.',\n maxdate: 'Please enter a date on or before {maxdate}.',\n invaliddate: 'Please enter a valid date.',\n },\n fr: {\n required: \"Veuillez remplir ce champ s'il vous plaît.\",\n minlength: 'Veuillez entrer au moins {requiredLength} caractères.',\n maxlength: 'Veuillez entrer au maximum {requiredLength} caractères.',\n pattern: 'Veuillez entrer une valeur qui correspond au format : {pattern}.',\n email: 'Veuillez entrer une adresse email valide.',\n min: 'Veuillez entrer une valeur supérieure ou égale à {min}.',\n max: 'Veuillez entrer une valeur inférieure ou égale à {max}.',\n requiredtrue: \"Veuillez cocher cette case s'il vous plaît.\",\n mindate: 'Veuillez entrer une date le {mindate} ou après.',\n maxdate: 'Veuillez entrer une date le {maxdate} ou avant.',\n invaliddate: 'Veuillez entrer une date valide.',\n },\n de: {\n required: 'Bitte füllen Sie dieses Feld aus.',\n minlength: 'Bitte geben Sie mindestens {requiredLength} Zeichen ein.',\n maxlength: 'Bitte geben Sie höchstens {requiredLength} Zeichen ein.',\n pattern: 'Bitte geben Sie einen Wert ein, der dem Muster entspricht: {pattern}.',\n email: 'Bitte geben Sie eine gültige E-Mail-Adresse ein.',\n min: 'Bitte geben Sie einen Wert größer oder gleich {min} ein.',\n max: 'Bitte geben Sie einen Wert kleiner oder gleich {max} ein.',\n requiredtrue: 'Bitte aktivieren Sie dieses Feld.',\n mindate: 'Bitte geben Sie ein Datum am oder nach dem {mindate} ein.',\n maxdate: 'Bitte geben Sie ein Datum am oder vor dem {maxdate} ein.',\n invaliddate: 'Bitte geben Sie ein gültiges Datum ein.',\n },\n it: {\n required: 'Si prega di compilare questo campo.',\n minlength: 'Si prega di inserire almeno {requiredLength} caratteri.',\n maxlength: 'Si prega di inserire al massimo {requiredLength} caratteri.',\n pattern: 'Si prega di inserire un valore che corrisponde al formato: {pattern}.',\n email: 'Si prega di inserire un indirizzo email valido.',\n min: 'Si prega di inserire un valore maggiore o uguale a {min}.',\n max: 'Si prega di inserire un valore minore o uguale a {max}.',\n requiredtrue: 'Si prega di spuntare questo campo.',\n mindate: 'Si prega di inserire una data il {mindate} o successiva.',\n maxdate: 'Si prega di inserire una data il {maxdate} o precedente.',\n invaliddate: 'Inserisci una data valida.',\n },\n\n es: {\n required: 'Por favor, rellene este campo.',\n minlength: 'Por favor, introduzca al menos {requiredLength} caracteres.',\n maxlength: 'Por favor, introduzca no más de {requiredLength} caracteres.',\n pattern: 'Por favor, introduzca un valor que coincida con el patrón: {pattern}.',\n email: 'Por favor, introduzca una dirección de correo electrónico válida.',\n min: 'Por favor, introduzca un valor mayor o igual a {min}.',\n max: 'Por favor, introduzca un valor menor o igual a {max}.',\n requiredtrue: 'Por favor, marque este campo.',\n mindate: 'Por favor, introduzca una fecha igual o posterior a {mindate}.',\n maxdate: 'Por favor, introduzca una fecha igual o anterior a {maxdate}.',\n invaliddate: 'Por favor, introduzca una fecha válida.',\n },\n};\n"]}
|
|
@@ -1,40 +1,56 @@
|
|
|
1
1
|
export class EventListeners {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
2
|
+
constructor() {
|
|
3
|
+
this.eventListeners = [];
|
|
4
|
+
this.add = (el, name, listener, identifier = null) => {
|
|
5
|
+
this.eventListeners.push({ el, name, listener, identifier });
|
|
6
|
+
el.addEventListener(name, listener);
|
|
7
|
+
};
|
|
8
|
+
this.remove = (el, name, listener) => {
|
|
9
|
+
this.eventListeners = this.getFilteredEventListeners((eventListener) => eventListener.listener == listener && eventListener.el === el && eventListener.name === name);
|
|
10
|
+
};
|
|
11
|
+
this.removeByIdentifier = (identifier) => {
|
|
12
|
+
const sameItem = (el) => el.identifier === identifier;
|
|
13
|
+
const foundListener = this.eventListeners.find(sameItem) !== undefined;
|
|
14
|
+
if (!foundListener) {
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
this.eventListeners = this.getFilteredEventListeners(sameItem);
|
|
18
|
+
};
|
|
19
|
+
this.removeAll = () => {
|
|
20
|
+
while (this.eventListeners.length > 0) {
|
|
21
|
+
const eventListener = this.eventListeners.pop();
|
|
22
|
+
if (eventListener != null) {
|
|
23
|
+
eventListener.el.removeEventListener(eventListener.name, eventListener.listener);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
getFilteredEventListeners(sameItem) {
|
|
29
|
+
return this.eventListeners.filter((item) => {
|
|
30
|
+
if (sameItem(item)) {
|
|
31
|
+
item.el.removeEventListener(item.name, item.listener);
|
|
32
|
+
return false;
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
forward(from, to, host) {
|
|
40
|
+
switch (to) {
|
|
41
|
+
case 'input':
|
|
42
|
+
this.add(host, from, () => host.dispatchEvent(new InputEvent(to, { bubbles: true, cancelable: true })));
|
|
43
|
+
break;
|
|
44
|
+
case 'change':
|
|
45
|
+
this.add(host, from, () => host.dispatchEvent(new InputEvent(to, { bubbles: true, cancelable: true })));
|
|
46
|
+
break;
|
|
47
|
+
case 'blur':
|
|
48
|
+
this.add(host, from, () => host.dispatchEvent(new FocusEvent(to, { bubbles: true, cancelable: true })));
|
|
49
|
+
break;
|
|
50
|
+
case 'focus':
|
|
51
|
+
this.add(host, from, () => host.dispatchEvent(new FocusEvent(to, { bubbles: true, cancelable: true })));
|
|
52
|
+
break;
|
|
24
53
|
}
|
|
25
|
-
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
getFilteredEventListeners(sameItem) {
|
|
29
|
-
return this.eventListeners.filter((item) => {
|
|
30
|
-
if (sameItem(item)) {
|
|
31
|
-
item.el.removeEventListener(item.name, item.listener);
|
|
32
|
-
return false;
|
|
33
|
-
}
|
|
34
|
-
else {
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
}
|
|
54
|
+
}
|
|
39
55
|
}
|
|
40
56
|
//# sourceMappingURL=event-listeners.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-listeners.js","sourceRoot":"","sources":["../../src/utils/event-listeners.ts"],"names":[],"mappings":"AAOA,MAAM,OAAO,cAAc;
|
|
1
|
+
{"version":3,"file":"event-listeners.js","sourceRoot":"","sources":["../../src/utils/event-listeners.ts"],"names":[],"mappings":"AAOA,MAAM,OAAO,cAAc;IAA3B;QACE,mBAAc,GAAoB,EAAE,CAAC;QAErC,QAAG,GAAG,CACJ,EAAK,EACL,IAAY,EACZ,QAA4C,EAC5C,aAAwC,IAAI,EAC5C,EAAE;YACF,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC,CAAC;YAC7D,EAAE,CAAC,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QACtC,CAAC,CAAC;QAEF,WAAM,GAAG,CAAgC,EAAK,EAAE,IAAY,EAAE,QAA4C,EAAE,EAAE;YAC5G,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,yB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AAC;IAWD,OAAO,CAAC,IAAY,EAAE,EAAyC,EAAE,IAAiB;QAChF,QAAQ,EAAE,EAAE;YACV,KAAK,OAAO;gBACV,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,UAAU,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;gBACxG,MAAM;YACR,KAAK,QAAQ;gBACX,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,UAAU,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;gBACxG,MAAM;YACR,KAAK,MAAM;gBACT,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,UAAU,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;gBACxG,MAAM;YACR,KAAK,OAAO;gBACV,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,UAAU,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;gBACxG,MAAM;SACT;IACH,CAAC;CACF","sourcesContent":["interface EventListener {\n el: GlobalEventHandlers;\n name: string;\n listener: EventListenerOrEventListenerObject;\n identifier?: string | null;\n}\n\nexport class EventListeners {\n eventListeners: EventListener[] = [];\n\n add = <T extends GlobalEventHandlers>(\n el: T,\n name: string,\n listener: EventListenerOrEventListenerObject,\n identifier: string | null | undefined = null\n ) => {\n this.eventListeners.push({ el, name, listener, identifier });\n el.addEventListener(name, listener);\n };\n\n remove = <T extends GlobalEventHandlers>(el: T, name: string, listener: EventListenerOrEventListenerObject) => {\n this.eventListeners = this.getFilteredEventListeners(\n (eventListener: EventListener) =>\n eventListener.listener == listener && eventListener.el === el && eventListener.name === name\n );\n };\n\n removeByIdentifier = (identifier: string) => {\n const sameItem = (el: EventListener) => el.identifier === identifier;\n const foundListener = this.eventListeners.find(sameItem) !== undefined;\n if (!foundListener) {\n return;\n }\n this.eventListeners = this.getFilteredEventListeners(sameItem);\n };\n\n private getFilteredEventListeners(sameItem: (el: EventListener) => boolean) {\n return this.eventListeners.filter((item) => {\n if (sameItem(item)) {\n item.el.removeEventListener(item.name, item.listener);\n return false;\n } else {\n return true;\n }\n });\n }\n\n removeAll = () => {\n while (this.eventListeners.length > 0) {\n const eventListener: EventListener | undefined = this.eventListeners.pop();\n if (eventListener != null) {\n eventListener.el.removeEventListener(eventListener.name, eventListener.listener);\n }\n }\n };\n\n forward(from: string, to: 'input' | 'change' | 'blur' | 'focus', host: HTMLElement) {\n switch (to) {\n case 'input':\n this.add(host, from, () => host.dispatchEvent(new InputEvent(to, { bubbles: true, cancelable: true })));\n break;\n case 'change':\n this.add(host, from, () => host.dispatchEvent(new InputEvent(to, { bubbles: true, cancelable: true })));\n break;\n case 'blur':\n this.add(host, from, () => host.dispatchEvent(new FocusEvent(to, { bubbles: true, cancelable: true })));\n break;\n case 'focus':\n this.add(host, from, () => host.dispatchEvent(new FocusEvent(to, { bubbles: true, cancelable: true })));\n break;\n }\n }\n}\n"]}
|
|
@@ -14,13 +14,13 @@ export const DEFAULT_DEBOUNCE_FAST = 300;
|
|
|
14
14
|
* @param timeout
|
|
15
15
|
*/
|
|
16
16
|
export const debounce = (callback, timeout = DEFAULT_DEBOUNCE_FAST) => {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
let timer;
|
|
18
|
+
return (args) => {
|
|
19
|
+
clearTimeout(timer);
|
|
20
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
timer = setTimeout(() => callback(args), timeout);
|
|
23
|
+
};
|
|
24
24
|
};
|
|
25
25
|
/**
|
|
26
26
|
* Debounce an event
|
|
@@ -29,12 +29,12 @@ export const debounce = (callback, timeout = DEFAULT_DEBOUNCE_FAST) => {
|
|
|
29
29
|
* @param timeout
|
|
30
30
|
*/
|
|
31
31
|
export const debounceEvent = (event, timeout) => {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
32
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
33
|
+
const original = event._original || event;
|
|
34
|
+
const emit = debounce(original.emit.bind(original), timeout);
|
|
35
|
+
return {
|
|
36
|
+
_original: event,
|
|
37
|
+
emit: emit,
|
|
38
|
+
};
|
|
39
39
|
};
|
|
40
40
|
//# sourceMappingURL=execution-control.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execution-control.js","sourceRoot":"","sources":["../../src/utils/execution-control.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,8BAA8B,GAAG,EAAE,CAAC;AACjD,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,CAAC;AAEzC;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAI,QAAwB,EAAE,OAAO,GAAG,qBAAqB,EAAE,EAAE;
|
|
1
|
+
{"version":3,"file":"execution-control.js","sourceRoot":"","sources":["../../src/utils/execution-control.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,8BAA8B,GAAG,EAAE,CAAC;AACjD,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,CAAC;AAEzC;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAI,QAAwB,EAAE,OAAO,GAAG,qBAAqB,EAAE,EAAE;IACvF,IAAI,KAAa,CAAC;IAClB,OAAO,CAAC,IAAO,EAAE,EAAE;QACjB,YAAY,CAAC,KAAK,CAAC,CAAC;QACpB,6DAA6D;QAC7D,aAAa;QACb,KAAK,GAAG,UAAU,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,CAAC;IACpD,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,KAAmB,EAAE,OAAe,EAAgB,EAAE;IAClF,8DAA8D;IAC9D,MAAM,QAAQ,GAAI,KAAa,CAAC,SAAS,IAAI,KAAK,CAAC;IACnD,MAAM,IAAI,GAAG,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAgC,CAAC;IAC5F,OAAO;QACL,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,IAAI;KACK,CAAC;AACpB,CAAC,CAAC","sourcesContent":["import { EventEmitter } from '@stencil/core';\n\nexport const DEFAULT_DEBOUNCE_INSANELY_FAST = 35;\nexport const DEFAULT_DEBOUNCE_FAST = 300;\n\n/**\n * Debounce function to implement a timeframe to wait for no new changes before executing a callback\n\n * example usages:\n * debounce(() => saveInput());\n * debounce(() => saveInput(), 750);\n * this.searchInput.addEventListener('six-input-input', debounce((event) => this.searchInputChange(event)));\n *\n * regarding default timeout check https://lawsofux.com/doherty-threshold/\n *\n * @param callback\n * @param timeout\n */\nexport const debounce = <T>(callback: (x: T) => void, timeout = DEFAULT_DEBOUNCE_FAST) => {\n let timer: number;\n return (args: T) => {\n clearTimeout(timer);\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n timer = setTimeout(() => callback(args), timeout);\n };\n};\n\n/**\n * Debounce an event\n *\n * @param event\n * @param timeout\n */\nexport const debounceEvent = (event: EventEmitter, timeout: number): EventEmitter => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const original = (event as any)._original || event;\n const emit = debounce(original.emit.bind(original), timeout) as (_: unknown) => CustomEvent;\n return {\n _original: event,\n emit: emit,\n } as EventEmitter;\n};\n"]}
|
|
@@ -6,37 +6,37 @@
|
|
|
6
6
|
//
|
|
7
7
|
const listeners = new WeakMap();
|
|
8
8
|
export function observe(el) {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
9
|
+
if (el == null)
|
|
10
|
+
return;
|
|
11
|
+
const keys = ['Tab', 'ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'Home', 'End', 'PageDown', 'PageUp'];
|
|
12
|
+
const is = (event) => {
|
|
13
|
+
if (keys.includes(event.key)) {
|
|
14
|
+
el.classList.add('focus-visible');
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
const isNot = () => el.classList.remove('focus-visible');
|
|
18
|
+
listeners.set(el, { is, isNot });
|
|
19
|
+
el.addEventListener('keydown', is);
|
|
20
|
+
el.addEventListener('keyup', is);
|
|
21
|
+
el.addEventListener('mousedown', isNot);
|
|
22
|
+
el.addEventListener('mousedown', isNot);
|
|
23
23
|
}
|
|
24
24
|
export function unobserve(el) {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
25
|
+
if (el == null)
|
|
26
|
+
return;
|
|
27
|
+
const listener = listeners.get(el);
|
|
28
|
+
if (!listener) {
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
const { is, isNot } = listener;
|
|
32
|
+
el.classList.remove('focus-visible');
|
|
33
|
+
el.removeEventListener('keydown', is);
|
|
34
|
+
el.removeEventListener('keyup', is);
|
|
35
|
+
el.removeEventListener('mousedown', isNot);
|
|
36
|
+
el.removeEventListener('mousedown', isNot);
|
|
37
37
|
}
|
|
38
38
|
export const focusVisible = {
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
observe,
|
|
40
|
+
unobserve,
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=focus-visible.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"focus-visible.js","sourceRoot":"","sources":["../../src/utils/focus-visible.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,uHAAuH;AACvH,0FAA0F;AAC1F,EAAE;AACF,mHAAmH;AACnH,EAAE;AACF,MAAM,SAAS,GAAG,IAAI,OAAO,EAAE,CAAC;AAEhC,MAAM,UAAU,OAAO,CAAC,EAAe;
|
|
1
|
+
{"version":3,"file":"focus-visible.js","sourceRoot":"","sources":["../../src/utils/focus-visible.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,uHAAuH;AACvH,0FAA0F;AAC1F,EAAE;AACF,mHAAmH;AACnH,EAAE;AACF,MAAM,SAAS,GAAG,IAAI,OAAO,EAAE,CAAC;AAEhC,MAAM,UAAU,OAAO,CAAC,EAAe;IACrC,IAAI,EAAE,IAAI,IAAI;QAAE,OAAO;IAEvB,MAAM,IAAI,GAAG,CAAC,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC;IAC7G,MAAM,EAAE,GAAG,CAAC,KAAoB,EAAE,EAAE;QAClC,IAAI,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE;YAC5B,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;SACnC;IACH,CAAC,CAAC;IACF,MAAM,KAAK,GAAG,GAAG,EAAE,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;IACzD,SAAS,CAAC,GAAG,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;IAEjC,EAAE,CAAC,gBAAgB,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;IACnC,EAAE,CAAC,gBAAgB,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;IACjC,EAAE,CAAC,gBAAgB,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;IACxC,EAAE,CAAC,gBAAgB,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;AAC1C,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,EAAe;IACvC,IAAI,EAAE,IAAI,IAAI;QAAE,OAAO;IAEvB,MAAM,QAAQ,GAAG,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAEnC,IAAI,CAAC,QAAQ,EAAE;QACb,OAAO;KACR;IAED,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,QAAQ,CAAC;IAE/B,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;IACrC,EAAE,CAAC,mBAAmB,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;IACtC,EAAE,CAAC,mBAAmB,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;IACpC,EAAE,CAAC,mBAAmB,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;IAC3C,EAAE,CAAC,mBAAmB,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;AAC7C,CAAC;AAED,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,OAAO;IACP,SAAS;CACV,CAAC","sourcesContent":["//\n// Simulates :focus-visible behavior on an element by watching for certain keyboard and mouse heuristics and toggling a\n// `focus-visible` class. Works at the component level so no global polyfill is necessary.\n//\n// This will eventually be removed pending better :focus-visible support: https://caniuse.com/#search=focus-visible\n//\nconst listeners = new WeakMap();\n\nexport function observe(el: HTMLElement) {\n if (el == null) return;\n\n const keys = ['Tab', 'ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'Home', 'End', 'PageDown', 'PageUp'];\n const is = (event: KeyboardEvent) => {\n if (keys.includes(event.key)) {\n el.classList.add('focus-visible');\n }\n };\n const isNot = () => el.classList.remove('focus-visible');\n listeners.set(el, { is, isNot });\n\n el.addEventListener('keydown', is);\n el.addEventListener('keyup', is);\n el.addEventListener('mousedown', isNot);\n el.addEventListener('mousedown', isNot);\n}\n\nexport function unobserve(el: HTMLElement) {\n if (el == null) return;\n\n const listener = listeners.get(el);\n\n if (!listener) {\n return;\n }\n\n const { is, isNot } = listener;\n\n el.classList.remove('focus-visible');\n el.removeEventListener('keydown', is);\n el.removeEventListener('keyup', is);\n el.removeEventListener('mousedown', isNot);\n el.removeEventListener('mousedown', isNot);\n}\n\nexport const focusVisible = {\n observe,\n unobserve,\n};\n"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export function submitForm(element) {
|
|
2
|
+
const form = element.closest('form');
|
|
3
|
+
if (form != null) {
|
|
4
|
+
// Calling form.submit() would bypass the submit event and constraint validation.
|
|
5
|
+
// To prevent this, we inject a native submit button into the form, "click" it,
|
|
6
|
+
// then remove it to simulate a standard form submission.
|
|
7
|
+
const fakeButton = document.createElement('button');
|
|
8
|
+
fakeButton.type = 'submit';
|
|
9
|
+
fakeButton.style.display = 'none';
|
|
10
|
+
form.appendChild(fakeButton);
|
|
11
|
+
fakeButton.click();
|
|
12
|
+
fakeButton.remove();
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=form.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.js","sourceRoot":"","sources":["../../src/utils/form.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,UAAU,CAAC,OAAoB;IAC7C,MAAM,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IACrC,IAAI,IAAI,IAAI,IAAI,EAAE;QAChB,iFAAiF;QACjF,+EAA+E;QAC/E,yDAAyD;QACzD,MAAM,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;QACpD,UAAU,CAAC,IAAI,GAAG,QAAQ,CAAC;QAC3B,UAAU,CAAC,KAAK,CAAC,OAAO,GAAG,MAAM,CAAC;QAClC,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;QAC7B,UAAU,CAAC,KAAK,EAAE,CAAC;QACnB,UAAU,CAAC,MAAM,EAAE,CAAC;KACrB;AACH,CAAC","sourcesContent":["export function submitForm(element: HTMLElement) {\n const form = element.closest('form');\n if (form != null) {\n // Calling form.submit() would bypass the submit event and constraint validation.\n // To prevent this, we inject a native submit button into the form, \"click\" it,\n // then remove it to simulate a standard form submission.\n const fakeButton = document.createElement('button');\n fakeButton.type = 'submit';\n fakeButton.style.display = 'none';\n form.appendChild(fakeButton);\n fakeButton.click();\n fakeButton.remove();\n }\n}\n"]}
|