@adyen/bento-vue3 1.32.0 → 1.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/packages/vue2/src/components/accordion/accordion.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/accordion/components/accordion-item.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/components/action-bar/action-bar.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/avatar/avatar.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/components/avatar/components/avatar-image/avatar-image.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/button/components/toggle-button/toggle-button.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +481 -22
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +764 -12
- package/dist/@types/packages/vue2/src/components/click-outside/click-outside.d.ts +6 -6
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +2149 -17
- package/dist/@types/packages/vue2/src/components/country/composables/use-country-capital/use-country-capital.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/country/composables/use-country-name/use-country-name.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/country/composables/use-country-phone-code/use-country-phon-code.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +158 -8
- package/dist/@types/packages/vue2/src/components/currency/currency.vue.d.ts +157 -7
- package/dist/@types/packages/vue2/src/components/dashed-underline/dashed-underline.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.vue.d.ts +10 -10
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +10 -10
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/components/data-grid-config-settings-column-row/data-grid-config-settings-column-row.vue.d.ts +229 -10
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +1304 -16
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-lazy-load/data-grid-lazy-load.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-static-icon/data-grid-static-icon.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.d.ts +63 -5
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-sticky-element-height/use-calculate-sticky-element-height.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-hovering/use-column-hovering.d.ts +61 -2
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-hovering/use-column-hovering.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-reorderer/use-column-reorderer.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-config-settings/use-config-settings.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-keyboard-navigator/use-keyboard-navigator.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-lazy-loading/use-lazy-loading.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-resizer.d.ts +62 -4
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-scroller/use-scroller.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-selector.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-sorter.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +43 -9
- package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +157 -7
- package/dist/@types/packages/vue2/src/components/date-picker/composables/use-date-picker-single-calendar-text.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +1701 -21
- package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +2725 -147
- package/dist/@types/packages/vue2/src/components/date-range-picker/composables/use-date-range-picker-calendar-text.types.d.ts +3 -2
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +3739 -18
- package/dist/@types/packages/vue2/src/components/divider/divider.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/composables/use-dropdown-options-listbox.d.ts +8 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +10 -10
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/composables/use-country-items.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/composables/use-keyboard-navigation.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/composables/use-keyboard-navigation.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +455 -11
- package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +18251 -1703
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/components/all-filters-modal-button/all-filters-modal-button.vue.d.ts +422 -7
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/base-filter.vue.d.ts +557 -16
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/composables/use-base-filter.d.ts +7 -5
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter-button/base-filter-button.vue.d.ts +361 -10
- package/dist/@types/packages/vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue.d.ts +931 -17
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-filter/date-filter.vue.d.ts +3284 -76
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +7588 -145
- package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/filter-bar-button.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.vue.d.ts +1061 -19
- package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/range-filter.vue.d.ts +1056 -14
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/select-filter-button/select-filter-button.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/select-filter-dropdown/select-filter-dropdown.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.props.d.ts +59 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.vue.d.ts +19 -80
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-avatar-filter/select-avatar-filter.vue.d.ts +229 -6
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +73 -9
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue.d.ts +559 -6
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-payment-method-filter/select-payment-method-filter.vue.d.ts +384 -6
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +587 -7
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +16154 -21
- package/dist/@types/packages/vue2/src/components/focus-trap/focus-trap.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-field-tip/form-layout-field-tip.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-group/form-layout-group.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-title/form-layout-title.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/form-layout/form-layout.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/header/components/info-icon-with-popover/info-icon-with-popover.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +388 -10
- package/dist/@types/packages/vue2/src/components/image/image.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/info-icon/info-icon.vue.d.ts +17 -5
- package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +12 -12
- package/dist/@types/packages/vue2/src/components/inspector/inspector.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/internal/base-button/base-button.vue.d.ts +161 -11
- package/dist/@types/packages/vue2/src/components/internal/button-actions-with-menu/button-actions-with-menu.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.vue.d.ts +726 -144
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +582 -15
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/__test__/calendar-month-day-stub.vue.d.ts +287 -4
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.props.d.ts +34 -0
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.vue.d.ts +197 -38
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/composables/move-calendar-date.d.ts +5 -135
- package/dist/@types/packages/vue2/src/components/internal/checkbox-input/checkbox-input.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/internal/copy/copy.vue.d.ts +185 -9
- package/dist/@types/packages/vue2/src/components/internal/dialog-page/dialog-page.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/dialog-page/dialog-page.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/internal/error-message/error-message.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/internal/field-label/field-label.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/internal/fixed-scroller/composables/useFixedScroller.d.ts +19 -19
- package/dist/@types/packages/vue2/src/components/internal/fixed-scroller/fixed-scroller.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/internal/footer-actions/footer-actions.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/internal/grid-layout/grid-layout.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-chips/listbox-multi-select-chips.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.vue.d.ts +801 -53
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +1631 -8
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +2534 -21
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option/listbox-option.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue.d.ts +357 -6
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/components/listbox-single-select-category/listbox-single-select-category.vue.d.ts +153 -3
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +409 -12
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select-option/listbox-single-select-option.vue.d.ts +197 -10
- package/dist/@types/packages/vue2/src/components/internal/listbox/composables/use-cached-selected-values/use-cached-selected-values.d.ts +8 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/composables/use-multi-level-items/use-multi-level-items.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +3552 -50
- package/dist/@types/packages/vue2/src/components/internal/radio-input/radio-input.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/internal/teleport/teleport.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/loading-indicator/loading-indicator.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.vue.d.ts +358 -8
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item-list/menu-item-list.vue.d.ts +992 -16
- package/dist/@types/packages/vue2/src/components/menu/components/menu-list-container/menu-list-container.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/menu/components/sub-menu-item-list/sub-menu-item-list.vue.d.ts +469 -9
- package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +1579 -15
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/modal/components/modal-page/modal-page.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/modal/modal.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +350 -8
- package/dist/@types/packages/vue2/src/components/modal-fullscreen/components/modal-fullscreen-page.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/modal-fullscreen/modal-fullscreen.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-context/pagination-context.vue.d.ts +1481 -7
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-controls/pagination-controls.vue.d.ts +179 -10
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-results-per-page/pagination-results-per-page.vue.d.ts +1489 -9
- package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +3264 -10
- package/dist/@types/packages/vue2/src/components/payment-method/composables/use-payment-icon/use-payment-icon.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +159 -8
- package/dist/@types/packages/vue2/src/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue.d.ts +172 -6
- package/dist/@types/packages/vue2/src/components/popover/components/popover-image/popover-image.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/popover/components/popover-title/popover-title.vue.d.ts +157 -7
- package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.vue.d.ts +16 -8
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/search-bar/search-bar.vue.d.ts +10 -10
- package/dist/@types/packages/vue2/src/components/search-bar/useSearchBarDataFilter.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-category/secondary-nav-category.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-item/secondary-nav-item.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.keys.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/selection-card-group.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/selection-card/selection-card.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/selection-card/selection-card.vue.d.ts +22 -7
- package/dist/@types/packages/vue2/src/components/sidepanel/components/sidepanel-page.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/components/status/status.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/stepper/components/step/step.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/components/stepper/composables/use-keyboard-navigation/use-keyboard-navigation.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/stepper/composables/use-step-register/use-step-register.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/stepper/stepper.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/stepper/stepper.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/structured-list/structured-list.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +619 -11
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +733 -5
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue.d.ts +733 -5
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +733 -5
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +733 -5
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +732 -4
- package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.vue.d.ts +49 -6
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/components/tabs/tabs.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +300 -25
- package/dist/@types/packages/vue2/src/components/tag/tag.vue.d.ts +171 -11
- package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +12 -12
- package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +1080 -19
- package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/timeline/timeline.vue.d.ts +367 -10
- package/dist/@types/packages/vue2/src/components/toast/components/toast-item/toast-item.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/toast/components/toast-shadow-stack/toast-shadow-stack.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/toast/toast.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/toggle/toggle.vue.d.ts +162 -11
- package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +437 -8
- package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/components/tutorial-indicator/tutorial-indicator.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/tutorial-popover.vue.d.ts +14 -28
- package/dist/@types/packages/vue2/src/components/tutorial/tutorial.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/tutorial/tutorial.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/typography/typography.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/composables/initials.d.ts +1 -1
- package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/use-bento-toast-controller.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/composables/use-checkbox-select-all/use-checkbox-select-all.d.ts +1 -1
- package/dist/@types/packages/vue2/src/composables/use-default-slot-validator/use-default-slot-validator.d.ts +1 -1
- package/dist/@types/packages/vue2/src/composables/use-expandable-content-height/use-expandable-content-height.d.ts +3 -3
- package/dist/@types/packages/vue2/src/composables/use-form-layout-loading/use-form-layout-loading.d.ts +2 -2
- package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.d.ts +3 -3
- package/dist/@types/packages/vue2/src/composables/use-has-slot/use-has-slot.d.ts +2 -2
- package/dist/@types/packages/vue2/src/composables/use-virtual-list/use-virtual-list.d.ts +6 -6
- package/dist/@types/packages/vue2/src/composables/use-virtual-list/use-virtual-list.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/directives/click-outside/directive.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/keyboard-navigation/keyboard-navigation.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/keyboard-navigation/keyboard-navigation.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/install.d.ts +1 -1
- package/dist/@types/packages/vue2/src/templates/dashboard-template/components/dashboard-section/dashboard-section.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/templates/dashboard-template/dashboard-template.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/types/elements.d.ts +1 -1
- package/dist/@types/packages/vue2/src/types/maybe-ref.d.ts +1 -1
- package/dist/@types/packages/vue2/src/types/refs.d.ts +2 -2
- package/dist/@types/packages/vue2/src/utils/ts/aria-label.d.ts +1 -1
- package/dist/@types/packages/vue2/src/utils/ts/get-slot-text/get-slot-text.d.ts +1 -1
- package/dist/@types/packages/vue2/src/utils/ts/i18n.d.ts +1 -1
- package/dist/@types/packages/vue2/src/utils/ts/storybook.d.ts +1 -1
- package/dist/accordion.js +1 -1
- package/dist/action-bar.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/alert.css +1 -1
- package/dist/assets/avatar.css +1 -1
- package/dist/assets/base-button.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions-with-menu.css +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/checkbox-group.css +1 -1
- package/dist/assets/checkbox-input.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/code-snippet.css +1 -1
- package/dist/assets/controls-group.css +1 -1
- package/dist/assets/copy.css +1 -1
- package/dist/assets/country.css +1 -1
- package/dist/assets/dashboard-section.css +1 -1
- package/dist/assets/dashed-underline.css +1 -1
- package/dist/assets/data-grid-template.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/date-picker.css +1 -1
- package/dist/assets/date-range-picker.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown-tag.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/empty-state.css +1 -1
- package/dist/assets/error-message.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/fixed-scroller.css +1 -1
- package/dist/assets/footer-actions.css +1 -1
- package/dist/assets/form-layout-title.css +1 -1
- package/dist/assets/grid-layout.css +1 -1
- package/dist/assets/header.css +1 -1
- package/dist/assets/info-icon.css +1 -1
- package/dist/assets/input-field.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/link.css +1 -1
- package/dist/assets/listbox-option-tag.css +1 -1
- package/dist/assets/loading-indicator.css +1 -1
- package/dist/assets/menu.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/pagination.css +1 -1
- package/dist/assets/payment-method.css +1 -1
- package/dist/assets/popover.css +1 -1
- package/dist/assets/popper-container.css +1 -1
- package/dist/assets/radio-group.css +1 -1
- package/dist/assets/radio-input.css +1 -1
- package/dist/assets/search-bar.css +1 -1
- package/dist/assets/secondary-nav.css +1 -1
- package/dist/assets/segmented-control.css +1 -1
- package/dist/assets/selection-card-group.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/status.css +1 -1
- package/dist/assets/step.css +1 -1
- package/dist/assets/structured-list-item.css +1 -1
- package/dist/assets/summary-grid-item-custom.css +1 -1
- package/dist/assets/tabs.css +1 -1
- package/dist/assets/tag.css +1 -1
- package/dist/assets/textarea.css +1 -1
- package/dist/assets/timeline-item.css +1 -1
- package/dist/assets/toast.css +1 -1
- package/dist/assets/toggle.css +1 -1
- package/dist/assets/tooltip.css +1 -1
- package/dist/assets/tutorial.css +1 -1
- package/dist/assets/typography.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/avatar.js +1 -1
- package/dist/button.js +4 -4
- package/dist/card.js +1 -1
- package/dist/checkbox.js +3 -3
- package/dist/chunks/accordion-item.CQ8DLt9l.js +126 -0
- package/dist/chunks/{accordion-item.C7rQK0Xh.js.map → accordion-item.CQ8DLt9l.js.map} +1 -1
- package/dist/chunks/{action-bar.2Ch92mVR.js → action-bar.BsULBDh4.js} +62 -62
- package/dist/chunks/{action-bar.2Ch92mVR.js.map → action-bar.BsULBDh4.js.map} +1 -1
- package/dist/chunks/alert.Bz4tNKDH.js +162 -0
- package/dist/chunks/{alert.BOqbFni9.js.map → alert.Bz4tNKDH.js.map} +1 -1
- package/dist/chunks/avatar.mNlMngHQ.js +94 -0
- package/dist/chunks/{avatar.DWSW4vWC.js.map → avatar.mNlMngHQ.js.map} +1 -1
- package/dist/chunks/{base-button.jyEuuRdl.js → base-button.BxUrydaP.js} +2 -2
- package/dist/chunks/{base-button.jyEuuRdl.js.map → base-button.BxUrydaP.js.map} +1 -1
- package/dist/chunks/{base-modal.09efJqFH.js → base-modal.BPaKKH3Q.js} +186 -189
- package/dist/chunks/base-modal.BPaKKH3Q.js.map +1 -0
- package/dist/chunks/{button-actions-with-menu.DAxUzw2c.js → button-actions-with-menu.Cv1s9I3x.js} +16 -16
- package/dist/chunks/{button-actions-with-menu.DAxUzw2c.js.map → button-actions-with-menu.Cv1s9I3x.js.map} +1 -1
- package/dist/chunks/{button-actions.Dkrp7NsY.js → button-actions.hdK5IgrZ.js} +32 -32
- package/dist/chunks/{button-actions.Dkrp7NsY.js.map → button-actions.hdK5IgrZ.js.map} +1 -1
- package/dist/chunks/{button.BbV2BOSa.js → button.Br6CyG40.js} +39 -39
- package/dist/chunks/{button.BbV2BOSa.js.map → button.Br6CyG40.js.map} +1 -1
- package/dist/chunks/{calendar.DrP5wyvL.js → calendar.D--sOCBT.js} +153 -153
- package/dist/chunks/calendar.D--sOCBT.js.map +1 -0
- package/dist/chunks/card.BvSoujBc.js +205 -0
- package/dist/chunks/{card.BKtIXyL-.js.map → card.BvSoujBc.js.map} +1 -1
- package/dist/chunks/{checkbox-group.CEzhFcdh.js → checkbox-group.DovPyqmF.js} +20 -20
- package/dist/chunks/{checkbox-group.CEzhFcdh.js.map → checkbox-group.DovPyqmF.js.map} +1 -1
- package/dist/chunks/{checkbox-input.CR1lHf7f.js → checkbox-input.JdcvpfTa.js} +56 -54
- package/dist/chunks/checkbox-input.JdcvpfTa.js.map +1 -0
- package/dist/chunks/{checkbox.Blsg-Tvr.js → checkbox.FQ03XNeR.js} +6 -6
- package/dist/chunks/{checkbox.Blsg-Tvr.js.map → checkbox.FQ03XNeR.js.map} +1 -1
- package/dist/chunks/checkmark-circle-fill.ChV7Jy6r.js +44 -0
- package/dist/chunks/{checkmark-circle-fill.D29b-JWj.js.map → checkmark-circle-fill.ChV7Jy6r.js.map} +1 -1
- package/dist/chunks/checkmark-small.DEc2T64_.js +29 -0
- package/dist/chunks/{checkmark-small.BCeGkayS.js.map → checkmark-small.DEc2T64_.js.map} +1 -1
- package/dist/chunks/chevron-left.NvV5m76j.js +52 -0
- package/dist/chunks/{chevron-left.4JHuWe7i.js.map → chevron-left.NvV5m76j.js.map} +1 -1
- package/dist/chunks/chevron-up.DQZG_BP3.js +52 -0
- package/dist/chunks/{chevron-up.5-KtIp8i.js.map → chevron-up.DQZG_BP3.js.map} +1 -1
- package/dist/chunks/{code-snippet.DyvQts81.js → code-snippet.BP2IQQvW.js} +117 -117
- package/dist/chunks/{code-snippet.DyvQts81.js.map → code-snippet.BP2IQQvW.js.map} +1 -1
- package/dist/chunks/{controls-group.CLureEBJ.js → controls-group.CY5Hi11Y.js} +18 -18
- package/dist/chunks/{controls-group.CLureEBJ.js.map → controls-group.CY5Hi11Y.js.map} +1 -1
- package/dist/chunks/{copy._G3BOh-w.js → copy.h-wVGvID.js} +26 -26
- package/dist/chunks/{copy._G3BOh-w.js.map → copy.h-wVGvID.js.map} +1 -1
- package/dist/chunks/{country.DfvzuoT-.js → country.CVI-oSer.js} +3 -3
- package/dist/chunks/{country.DfvzuoT-.js.map → country.CVI-oSer.js.map} +1 -1
- package/dist/chunks/cross-circle-fill-small.BXO78Wde.js +29 -0
- package/dist/chunks/{cross-circle-fill-small.DiZWEd7W.js.map → cross-circle-fill-small.BXO78Wde.js.map} +1 -1
- package/dist/chunks/cross-circle-fill.DN5b3_eL.js +44 -0
- package/dist/chunks/{cross-circle-fill.vLaelNTN.js.map → cross-circle-fill.DN5b3_eL.js.map} +1 -1
- package/dist/chunks/cross-small.CXWTuKA_.js +29 -0
- package/dist/chunks/{cross-small.48UCoOqB.js.map → cross-small.CXWTuKA_.js.map} +1 -1
- package/dist/chunks/cross.OvPfvoqX.js +29 -0
- package/dist/chunks/{cross.BlL0FyHo.js.map → cross.OvPfvoqX.js.map} +1 -1
- package/dist/chunks/{currency.CUF_wGMv.js → currency.CFJy6QYU.js} +2 -2
- package/dist/chunks/{currency.CUF_wGMv.js.map → currency.CFJy6QYU.js.map} +1 -1
- package/dist/chunks/dashboard-section.DcvZOi79.js +167 -0
- package/dist/chunks/{dashboard-section.CwOasd7G.js.map → dashboard-section.DcvZOi79.js.map} +1 -1
- package/dist/chunks/dashed-underline.C7eCX1CM.js +79 -0
- package/dist/chunks/{dashed-underline.D_262wln.js.map → dashed-underline.C7eCX1CM.js.map} +1 -1
- package/dist/chunks/data-grid-template.C_8bGAC6.js +93 -0
- package/dist/chunks/data-grid-template.C_8bGAC6.js.map +1 -0
- package/dist/chunks/data-grid.DWJmWbjg.js +2766 -0
- package/dist/chunks/data-grid.DWJmWbjg.js.map +1 -0
- package/dist/chunks/{date-picker.CKiY1ZtA.js → date-picker.D36sJUDB.js} +8 -8
- package/dist/chunks/{date-picker.CKiY1ZtA.js.map → date-picker.D36sJUDB.js.map} +1 -1
- package/dist/chunks/date-range-picker.rytlJBZs.js +942 -0
- package/dist/chunks/date-range-picker.rytlJBZs.js.map +1 -0
- package/dist/chunks/{date.DXg5sG5Z.js → date.D8rQMzMG.js} +3 -3
- package/dist/chunks/{date.DXg5sG5Z.js.map → date.D8rQMzMG.js.map} +1 -1
- package/dist/chunks/dialog-page.DALFn9KR.js +171 -0
- package/dist/chunks/{dialog-page.CBim-VWH.js.map → dialog-page.DALFn9KR.js.map} +1 -1
- package/dist/chunks/divider.ugNXYI-T.js +22 -0
- package/dist/chunks/{divider.CnwfddJD.js.map → divider.ugNXYI-T.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.Bues7tON.js → dropdown-default-textbox.Bu4bpNGU.js} +116 -116
- package/dist/chunks/{dropdown-default-textbox.Bues7tON.js.map → dropdown-default-textbox.Bu4bpNGU.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.BiVKlJ-B.js → dropdown-tag.CocbqRcO.js} +67 -67
- package/dist/chunks/{dropdown-tag.BiVKlJ-B.js.map → dropdown-tag.CocbqRcO.js.map} +1 -1
- package/dist/chunks/{dropdown.CZyiZiox.js → dropdown.DQpKDlC-.js} +355 -355
- package/dist/chunks/{dropdown.CZyiZiox.js.map → dropdown.DQpKDlC-.js.map} +1 -1
- package/dist/chunks/{empty-state.CApqeBsH.js → empty-state.CyEWCcDk.js} +48 -48
- package/dist/chunks/{empty-state.CApqeBsH.js.map → empty-state.CyEWCcDk.js.map} +1 -1
- package/dist/chunks/{error-message.DCScf_vk.js → error-message.BfOmvPPb.js} +13 -13
- package/dist/chunks/{error-message.DCScf_vk.js.map → error-message.BfOmvPPb.js.map} +1 -1
- package/dist/chunks/es6.BvpG4Oi6.js.map +1 -1
- package/dist/chunks/expand.CgwNEbbz.js +33 -0
- package/dist/chunks/{expand.D1DTqaBO.js.map → expand.CgwNEbbz.js.map} +1 -1
- package/dist/chunks/filter-bar.-G1-moOO.js +2767 -0
- package/dist/chunks/filter-bar.-G1-moOO.js.map +1 -0
- package/dist/chunks/{fixed-scroller.BN3jp9Ss.js → fixed-scroller.DwYB1pqo.js} +4 -4
- package/dist/chunks/fixed-scroller.DwYB1pqo.js.map +1 -0
- package/dist/chunks/focus-trap.CwkbHfT8.js.map +1 -1
- package/dist/chunks/{footer-actions.Dj2vH6Hj.js → footer-actions.gtxofUAa.js} +19 -19
- package/dist/chunks/{footer-actions.Dj2vH6Hj.js.map → footer-actions.gtxofUAa.js.map} +1 -1
- package/dist/chunks/{form-layout-title.BKJPBhsv.js → form-layout-title.Boi0QQZL.js} +42 -42
- package/dist/chunks/{form-layout-title.BKJPBhsv.js.map → form-layout-title.Boi0QQZL.js.map} +1 -1
- package/dist/chunks/grid-layout.CqLbbEzI.js.map +1 -1
- package/dist/chunks/{header.DygonMXo.js → header.BLKs2Erq.js} +8 -8
- package/dist/chunks/{header.DygonMXo.js.map → header.BLKs2Erq.js.map} +1 -1
- package/dist/chunks/i18n.DL9GT2-k.js +3086 -0
- package/dist/chunks/i18n.DL9GT2-k.js.map +1 -0
- package/dist/chunks/image.0KzfycGE.js.map +1 -1
- package/dist/chunks/{info-icon.Bb20bxQm.js → info-icon.DIu8FeJC.js} +4 -4
- package/dist/chunks/{info-icon.Bb20bxQm.js.map → info-icon.DIu8FeJC.js.map} +1 -1
- package/dist/chunks/info.CIFBUqf-.js +44 -0
- package/dist/chunks/{info.CNegCnli.js.map → info.CIFBUqf-.js.map} +1 -1
- package/dist/chunks/{input-field.dPEY8nfT.js → input-field.f4lqnh2q.js} +66 -66
- package/dist/chunks/{input-field.dPEY8nfT.js.map → input-field.f4lqnh2q.js.map} +1 -1
- package/dist/chunks/inspector.types.t2SPyhw3.js +116 -0
- package/dist/chunks/{inspector.types.BpPQ6zrm.js.map → inspector.types.t2SPyhw3.js.map} +1 -1
- package/dist/chunks/link.2YS7haGc.js +110 -0
- package/dist/chunks/link.2YS7haGc.js.map +1 -0
- package/dist/chunks/{listbox-option-tag.BU_sJ_KV.js → listbox-option-tag.QqDEHMKB.js} +3 -3
- package/dist/chunks/{listbox-option-tag.BU_sJ_KV.js.map → listbox-option-tag.QqDEHMKB.js.map} +1 -1
- package/dist/chunks/{loading-button.CrijUhme.js → loading-button.Mx-oDIGy.js} +39 -39
- package/dist/chunks/{loading-button.CrijUhme.js.map → loading-button.Mx-oDIGy.js.map} +1 -1
- package/dist/chunks/{menu.CE8khC0O.js → menu.DFMKn3Zr.js} +96 -96
- package/dist/chunks/{menu.CE8khC0O.js.map → menu.DFMKn3Zr.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.DYfgO3lG.js → modal-fullscreen.Caqa7dDp.js} +80 -80
- package/dist/chunks/{modal-fullscreen.DYfgO3lG.js.map → modal-fullscreen.Caqa7dDp.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.uUB7rtBH.js → modal.vue_vue_type_script_setup_true_lang.Bh6Q4yIf.js} +136 -136
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.uUB7rtBH.js.map → modal.vue_vue_type_script_setup_true_lang.Bh6Q4yIf.js.map} +1 -1
- package/dist/chunks/on-click-outside.MUWbmGDn.js.map +1 -1
- package/dist/chunks/{pagination.DfKNN2Mb.js → pagination.B4ker8JJ.js} +130 -130
- package/dist/chunks/{pagination.DfKNN2Mb.js.map → pagination.B4ker8JJ.js.map} +1 -1
- package/dist/chunks/{payment-method.Dyrh0PaX.js → payment-method.-3VYG5ud.js} +2 -2
- package/dist/chunks/{payment-method.Dyrh0PaX.js.map → payment-method.-3VYG5ud.js.map} +1 -1
- package/dist/chunks/{popover.BSGQxusD.js → popover.CczC6Fhk.js} +63 -63
- package/dist/chunks/{popover.BSGQxusD.js.map → popover.CczC6Fhk.js.map} +1 -1
- package/dist/chunks/{popper-container.DigB3V2j.js → popper-container.DFpaesDm.js} +239 -239
- package/dist/chunks/{popper-container.DigB3V2j.js.map → popper-container.DFpaesDm.js.map} +1 -1
- package/dist/chunks/{radio-group.CIXsaLLX.js → radio-group.C18T8QQs.js} +112 -112
- package/dist/chunks/{radio-group.CIXsaLLX.js.map → radio-group.C18T8QQs.js.map} +1 -1
- package/dist/chunks/{radio-input.Dp-se-SR.js → radio-input.DtvlM-mr.js} +20 -20
- package/dist/chunks/{radio-input.Dp-se-SR.js.map → radio-input.DtvlM-mr.js.map} +1 -1
- package/dist/chunks/refresh.DvQeGwUF.js +29 -0
- package/dist/chunks/{refresh.BfxRdaQb.js.map → refresh.DvQeGwUF.js.map} +1 -1
- package/dist/chunks/{search-bar.exXNyvwZ.js → search-bar.C__L0enF.js} +39 -39
- package/dist/chunks/{search-bar.exXNyvwZ.js.map → search-bar.C__L0enF.js.map} +1 -1
- package/dist/chunks/search.EnLryD8V.js +44 -0
- package/dist/chunks/{search.0lh99z1F.js.map → search.EnLryD8V.js.map} +1 -1
- package/dist/chunks/secondary-nav.DCe7I3pu.js +137 -0
- package/dist/chunks/{secondary-nav.CRJ27DQY.js.map → secondary-nav.DCe7I3pu.js.map} +1 -1
- package/dist/chunks/segmented-control.DbR5NYWR.js +142 -0
- package/dist/chunks/{segmented-control.hE7kcMb7.js.map → segmented-control.DbR5NYWR.js.map} +1 -1
- package/dist/chunks/{selection-card-group.Bxv-t-CN.js → selection-card-group.DNZTT85O.js} +129 -122
- package/dist/chunks/selection-card-group.DNZTT85O.js.map +1 -0
- package/dist/chunks/{sidepanel.C6ndYx2_.js → sidepanel.CprbeR-2.js} +76 -76
- package/dist/chunks/{sidepanel.C6ndYx2_.js.map → sidepanel.CprbeR-2.js.map} +1 -1
- package/dist/chunks/{status.types.wKICxOth.js → status.types.r9TfZmvE.js} +12 -12
- package/dist/chunks/{status.types.wKICxOth.js.map → status.types.r9TfZmvE.js.map} +1 -1
- package/dist/chunks/step.ClnCjesW.js +284 -0
- package/dist/chunks/step.ClnCjesW.js.map +1 -0
- package/dist/chunks/structured-list-item.Z-1ivOFu.js +101 -0
- package/dist/chunks/{structured-list-item.CnrBWJgo.js.map → structured-list-item.Z-1ivOFu.js.map} +1 -1
- package/dist/chunks/{summary-grid-item-custom.BMK48oR5.js → summary-grid-item-custom.Dq3IIEvH.js} +5 -5
- package/dist/chunks/{summary-grid-item-custom.BMK48oR5.js.map → summary-grid-item-custom.Dq3IIEvH.js.map} +1 -1
- package/dist/chunks/{tabs.BeCbcy81.js → tabs.xY_6yqmE.js} +3 -3
- package/dist/chunks/{tabs.BeCbcy81.js.map → tabs.xY_6yqmE.js.map} +1 -1
- package/dist/chunks/{tag.BZ90rkBe.js → tag.RYw4OhWk.js} +3 -3
- package/dist/chunks/{tag.BZ90rkBe.js.map → tag.RYw4OhWk.js.map} +1 -1
- package/dist/chunks/teleport.L8qFCYpr.js.map +1 -1
- package/dist/chunks/{textarea.C9dCXF7c.js → textarea.C-Oje7QC.js} +100 -101
- package/dist/chunks/{textarea.C9dCXF7c.js.map → textarea.C-Oje7QC.js.map} +1 -1
- package/dist/chunks/{timeline-item.DVugzZI5.js → timeline-item.FTU5rl7e.js} +209 -209
- package/dist/chunks/{timeline-item.DVugzZI5.js.map → timeline-item.FTU5rl7e.js.map} +1 -1
- package/dist/chunks/toast.LNgV2jhU.js +215 -0
- package/dist/chunks/{toast.CtEylmx6.js.map → toast.LNgV2jhU.js.map} +1 -1
- package/dist/chunks/{toggle-button.CYVGUQYj.js → toggle-button.CBRd1v6x.js} +19 -19
- package/dist/chunks/{toggle-button.CYVGUQYj.js.map → toggle-button.CBRd1v6x.js.map} +1 -1
- package/dist/chunks/{toggle.D1DUlF_5.js → toggle.8t4flh_3.js} +3 -3
- package/dist/chunks/{toggle.D1DUlF_5.js.map → toggle.8t4flh_3.js.map} +1 -1
- package/dist/chunks/{tooltip.CVUXkVlR.js → tooltip.DvsfWV0-.js} +3 -3
- package/dist/chunks/{tooltip.CVUXkVlR.js.map → tooltip.DvsfWV0-.js.map} +1 -1
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.DgbanhBM.js +409 -0
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.Dorj2fX-.js.map → tutorial.vue_vue_type_script_setup_true_lang.DgbanhBM.js.map} +1 -1
- package/dist/chunks/{typography.CSIykcgS.js → typography.z9P0Ec3Q.js} +22 -22
- package/dist/chunks/{typography.CSIykcgS.js.map → typography.z9P0Ec3Q.js.map} +1 -1
- package/dist/chunks/{use-bento-toast-controller.kD6xtHQE.js → use-bento-toast-controller.BDYlxAYq.js} +2 -2
- package/dist/chunks/{use-bento-toast-controller.kD6xtHQE.js.map → use-bento-toast-controller.BDYlxAYq.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.DplP72ef.js → use-cached-selected-values.DaSn9dB9.js} +593 -589
- package/dist/chunks/use-cached-selected-values.DaSn9dB9.js.map +1 -0
- package/dist/chunks/{use-country-items.CongYNiX.js → use-country-items.DQR8plsq.js} +2 -2
- package/dist/chunks/{use-country-items.CongYNiX.js.map → use-country-items.DQR8plsq.js.map} +1 -1
- package/dist/chunks/use-expandable-content-height.GkjjbmPy.js.map +1 -1
- package/dist/chunks/warning-filled.Dm_HhqzW.js +29 -0
- package/dist/chunks/{warning-filled.DHw1rVWs.js.map → warning-filled.Dm_HhqzW.js.map} +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/country.js +1 -1
- package/dist/currency.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +4 -4
- package/dist/empty-state.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/form-layout.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +69 -67
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/inspector.js +1 -1
- package/dist/internal.js +8 -8
- package/dist/link.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/pagination.js +1 -1
- package/dist/payment-method.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/radio-group.js +2 -2
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/segmented-control.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/status.js +1 -1
- package/dist/stepper.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tag.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/toast.js +1 -1
- package/dist/toggle.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +4 -4
- package/dist/chunks/accordion-item.C7rQK0Xh.js +0 -126
- package/dist/chunks/alert.BOqbFni9.js +0 -162
- package/dist/chunks/avatar.DWSW4vWC.js +0 -94
- package/dist/chunks/base-modal.09efJqFH.js.map +0 -1
- package/dist/chunks/calendar.DrP5wyvL.js.map +0 -1
- package/dist/chunks/card.BKtIXyL-.js +0 -205
- package/dist/chunks/checkbox-input.CR1lHf7f.js.map +0 -1
- package/dist/chunks/checkmark-circle-fill.D29b-JWj.js +0 -44
- package/dist/chunks/checkmark-small.BCeGkayS.js +0 -29
- package/dist/chunks/chevron-left.4JHuWe7i.js +0 -52
- package/dist/chunks/chevron-up.5-KtIp8i.js +0 -52
- package/dist/chunks/cross-circle-fill-small.DiZWEd7W.js +0 -29
- package/dist/chunks/cross-circle-fill.vLaelNTN.js +0 -44
- package/dist/chunks/cross-small.48UCoOqB.js +0 -29
- package/dist/chunks/cross.BlL0FyHo.js +0 -29
- package/dist/chunks/dashboard-section.CwOasd7G.js +0 -167
- package/dist/chunks/dashed-underline.D_262wln.js +0 -79
- package/dist/chunks/data-grid-template.ViVmshHU.js +0 -93
- package/dist/chunks/data-grid-template.ViVmshHU.js.map +0 -1
- package/dist/chunks/data-grid.CCVRJrXT.js +0 -2765
- package/dist/chunks/data-grid.CCVRJrXT.js.map +0 -1
- package/dist/chunks/date-range-picker.T10FmcWb.js +0 -923
- package/dist/chunks/date-range-picker.T10FmcWb.js.map +0 -1
- package/dist/chunks/dialog-page.CBim-VWH.js +0 -171
- package/dist/chunks/divider.CnwfddJD.js +0 -22
- package/dist/chunks/expand.D1DTqaBO.js +0 -33
- package/dist/chunks/filter-bar.DCaEgOFF.js +0 -2809
- package/dist/chunks/filter-bar.DCaEgOFF.js.map +0 -1
- package/dist/chunks/fixed-scroller.BN3jp9Ss.js.map +0 -1
- package/dist/chunks/i18n.DY5YXG5f.js +0 -2652
- package/dist/chunks/i18n.DY5YXG5f.js.map +0 -1
- package/dist/chunks/info.CNegCnli.js +0 -44
- package/dist/chunks/inspector.types.BpPQ6zrm.js +0 -116
- package/dist/chunks/link.DgEKZGKQ.js +0 -110
- package/dist/chunks/link.DgEKZGKQ.js.map +0 -1
- package/dist/chunks/refresh.BfxRdaQb.js +0 -29
- package/dist/chunks/search.0lh99z1F.js +0 -44
- package/dist/chunks/secondary-nav.CRJ27DQY.js +0 -137
- package/dist/chunks/segmented-control.hE7kcMb7.js +0 -142
- package/dist/chunks/selection-card-group.Bxv-t-CN.js.map +0 -1
- package/dist/chunks/step.D3y_Iv1_.js +0 -284
- package/dist/chunks/step.D3y_Iv1_.js.map +0 -1
- package/dist/chunks/structured-list-item.CnrBWJgo.js +0 -101
- package/dist/chunks/toast.CtEylmx6.js +0 -215
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.Dorj2fX-.js +0 -408
- package/dist/chunks/use-cached-selected-values.DplP72ef.js.map +0 -1
- package/dist/chunks/warning-filled.DHw1rVWs.js +0 -29
|
@@ -0,0 +1,942 @@
|
|
|
1
|
+
import { reactive as ie, defineComponent as Ne, computed as h, ref as W, onMounted as aa, toRaw as ta, resolveComponent as O, openBlock as b, createElementBlock as De, createElementVNode as N, renderSlot as Te, createCommentVNode as w, createBlock as F, createVNode as H, withCtx as P, createTextVNode as q, normalizeClass as me, toRef as ue, watch as na, resolveDirective as ra, withDirectives as oa, withKeys as sa, toDisplayString as la } from "vue";
|
|
2
|
+
import { B as ia } from "./popover.CczC6Fhk.js";
|
|
3
|
+
import { B as Pe } from "./typography.z9P0Ec3Q.js";
|
|
4
|
+
import { D as da } from "./dropdown-default-textbox.Bu4bpNGU.js";
|
|
5
|
+
import { g as ne } from "./unique-id.XFfoKuc2.js";
|
|
6
|
+
import { u as ce } from "./i18n.DL9GT2-k.js";
|
|
7
|
+
import { t as fe, f as oe } from "./date.D8rQMzMG.js";
|
|
8
|
+
import { f as Re, v as ua, D as T } from "./date-input.BqBdAO1E.js";
|
|
9
|
+
import { r as x, t as Z, l as B, a as pe, b as ge } from "./index.B_UZQ6qF.js";
|
|
10
|
+
import { u as Da } from "./use-form-layout-loading.D3lALhtC.js";
|
|
11
|
+
import { B as ma } from "./directive.O3yEdalv.js";
|
|
12
|
+
import { B as ca } from "./input-field.f4lqnh2q.js";
|
|
13
|
+
import { B as fa } from "./dropdown.DQpKDlC-.js";
|
|
14
|
+
import { B as pa } from "./segmented-control.DbR5NYWR.js";
|
|
15
|
+
import { d as le } from "./debounce.DUTu11PS.js";
|
|
16
|
+
import { u as ga } from "./use-has-slot.B7eQSabc.js";
|
|
17
|
+
import { s as re, c as be, i as X, d as va, e as ke, f as Ia, g as Ee, h as ya, j as Ta, a as G, u as Ra } from "./calendar.D--sOCBT.js";
|
|
18
|
+
import { e as $ } from "./index.B_EJflcs.js";
|
|
19
|
+
import { e as Se } from "./index.Z84QE0E2.js";
|
|
20
|
+
import { _ as $e } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
21
|
+
import { E as ba, F as ka } from "./error-message.BfOmvPPb.js";
|
|
22
|
+
import "../assets/date-range-picker.css";
|
|
23
|
+
function Oe(e, t) {
|
|
24
|
+
x(2, arguments);
|
|
25
|
+
var l = Z(e), u = Z(t);
|
|
26
|
+
return l.getTime() === u.getTime();
|
|
27
|
+
}
|
|
28
|
+
function we(e) {
|
|
29
|
+
x(1, arguments);
|
|
30
|
+
var t = Z(e);
|
|
31
|
+
return t.setMilliseconds(0), t;
|
|
32
|
+
}
|
|
33
|
+
function Me(e, t) {
|
|
34
|
+
x(2, arguments);
|
|
35
|
+
var l = we(e), u = we(t);
|
|
36
|
+
return l.getTime() === u.getTime();
|
|
37
|
+
}
|
|
38
|
+
function Ea(e, t) {
|
|
39
|
+
x(2, arguments);
|
|
40
|
+
var l = Z(e), u = fe(t);
|
|
41
|
+
return l.setHours(u), l;
|
|
42
|
+
}
|
|
43
|
+
function Sa(e, t) {
|
|
44
|
+
x(2, arguments);
|
|
45
|
+
var l = Z(e), u = fe(t);
|
|
46
|
+
return l.setMinutes(u), l;
|
|
47
|
+
}
|
|
48
|
+
function Oa(e, t) {
|
|
49
|
+
x(2, arguments);
|
|
50
|
+
var l = Z(e), u = fe(t);
|
|
51
|
+
return l.setSeconds(u), l;
|
|
52
|
+
}
|
|
53
|
+
const wa = ({
|
|
54
|
+
firstDayOfWeek: e,
|
|
55
|
+
min: t,
|
|
56
|
+
max: l
|
|
57
|
+
}) => ({ getGranularCalendarLimits: (d) => {
|
|
58
|
+
let p = re(t), n = $(l);
|
|
59
|
+
if ((d == null ? void 0 : d.type) === "weekly") {
|
|
60
|
+
if (d.earliest)
|
|
61
|
+
p = re(d.earliest);
|
|
62
|
+
else {
|
|
63
|
+
const i = be(p, { weekStartsOn: e });
|
|
64
|
+
X(p, i) || (p = re(va(ke(p, { weekStartsOn: e }), 1)));
|
|
65
|
+
}
|
|
66
|
+
if (d.latest)
|
|
67
|
+
n = $(d.latest);
|
|
68
|
+
else {
|
|
69
|
+
const i = ke(n, { weekStartsOn: e });
|
|
70
|
+
X(n, i) || (n = $(Ia(be(n, { weekStartsOn: e }), 1)));
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
if ((d == null ? void 0 : d.type) === "monthly") {
|
|
74
|
+
if (d.earliest)
|
|
75
|
+
p = re(d.earliest);
|
|
76
|
+
else {
|
|
77
|
+
const i = Ee(p);
|
|
78
|
+
X(p, i) || (p = Ee(ya(p, 1)));
|
|
79
|
+
}
|
|
80
|
+
if (d.latest)
|
|
81
|
+
n = $(d.latest);
|
|
82
|
+
else {
|
|
83
|
+
const i = Se(n);
|
|
84
|
+
X(n, i) || (n = Se(Ta(n, 1)));
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
return { min: p, max: n };
|
|
88
|
+
} }), Ma = () => {
|
|
89
|
+
const e = ie({
|
|
90
|
+
daily: null,
|
|
91
|
+
weekly: null,
|
|
92
|
+
monthly: null
|
|
93
|
+
});
|
|
94
|
+
return {
|
|
95
|
+
savedRanges: e,
|
|
96
|
+
saveRange: (u, d) => {
|
|
97
|
+
e[u] = d;
|
|
98
|
+
},
|
|
99
|
+
resetSavedRanges: () => {
|
|
100
|
+
e.daily = null, e.weekly = null, e.monthly = null;
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
var f = /* @__PURE__ */ ((e) => (e.CUSTOM_RANGE = "custom-range", e.INPUT = "input", e.ERROR = "error", e.FORM_DATE = "form-date", e.START_DATE_SELECTED = "start-date-selected", e))(f || {});
|
|
105
|
+
const ha = /[\d]/, Ca = /^\d{2}$/, Fa = /^\d{2}:\d{2}$/, Ua = (e) => {
|
|
106
|
+
const { selectionStart: t } = e.target, l = ha.test(e.key) || e.key === "Backspace", u = [1, 2, 4, 5].includes(t) && e.key === ":";
|
|
107
|
+
!l && !u && e.preventDefault();
|
|
108
|
+
}, he = (e) => {
|
|
109
|
+
if (!e)
|
|
110
|
+
return e;
|
|
111
|
+
let t = e;
|
|
112
|
+
if (t.length === 1 && parseInt(e, 10) > 2)
|
|
113
|
+
return `0${t}:`;
|
|
114
|
+
const [l, u] = t.slice(-2);
|
|
115
|
+
return [2, 5].includes(t.length) && u === ":" && (t = `${t.slice(0, t.length - 2)}0${l}`), (Ca.test(t) || Fa.test(t)) && (t += ":"), t;
|
|
116
|
+
}, Ce = {
|
|
117
|
+
"en-US": {
|
|
118
|
+
customRange: "Custom range",
|
|
119
|
+
daily: "Daily",
|
|
120
|
+
dateFrom: "Date from",
|
|
121
|
+
dateTo: "Date to",
|
|
122
|
+
lastMonth: "Last month",
|
|
123
|
+
lastSevenDays: "Last 7 days",
|
|
124
|
+
lastThreeMonths: "Last three months",
|
|
125
|
+
monthly: "Monthly",
|
|
126
|
+
timeFrom: "Time from",
|
|
127
|
+
timeTo: "Time to",
|
|
128
|
+
weekly: "Weekly"
|
|
129
|
+
}
|
|
130
|
+
}, Fe = 300, Ue = "customRange", _e = "daily", _a = Ne({
|
|
131
|
+
i18n: { messages: Ce },
|
|
132
|
+
name: "date-range-picker-calendar",
|
|
133
|
+
components: {
|
|
134
|
+
BentoDropdown: fa,
|
|
135
|
+
BentoInputField: ca,
|
|
136
|
+
BentoSegmentedControl: pa,
|
|
137
|
+
BentoTypography: Pe,
|
|
138
|
+
Calendar: G
|
|
139
|
+
},
|
|
140
|
+
props: {
|
|
141
|
+
/**
|
|
142
|
+
* Allows user to enter time values in the form
|
|
143
|
+
*/
|
|
144
|
+
allowTimeInput: { type: Boolean, default: !1 },
|
|
145
|
+
/**
|
|
146
|
+
* Ranges form persistance data
|
|
147
|
+
*/
|
|
148
|
+
dateFormData: {
|
|
149
|
+
type: Object,
|
|
150
|
+
default: () => ({ startDate: void 0, endDate: void 0, startTime: void 0, endTime: void 0 })
|
|
151
|
+
},
|
|
152
|
+
/**
|
|
153
|
+
* Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
|
|
154
|
+
*/
|
|
155
|
+
firstDayOfWeek: G.props.firstDayOfWeek,
|
|
156
|
+
/**
|
|
157
|
+
* A list of available granularities.
|
|
158
|
+
* If present, the date picker will display a segmented control to change granularity.
|
|
159
|
+
*/
|
|
160
|
+
granularities: {
|
|
161
|
+
type: Array,
|
|
162
|
+
default: null
|
|
163
|
+
},
|
|
164
|
+
/**
|
|
165
|
+
* Indicate if a date should be disabled or not
|
|
166
|
+
*/
|
|
167
|
+
isDateDisabled: G.props.isDateDisabled,
|
|
168
|
+
/**
|
|
169
|
+
* Set a maximum number of dates to be selectable by the range.
|
|
170
|
+
*/
|
|
171
|
+
maxRange: G.props.maxRange,
|
|
172
|
+
/**
|
|
173
|
+
* Sets a minimum limit for selectable dates - dates before `min` will not be selectable
|
|
174
|
+
*/
|
|
175
|
+
min: G.props.min,
|
|
176
|
+
/**
|
|
177
|
+
* Sets a maximum limit for selectable dates - dates after `max` will not be selectable
|
|
178
|
+
*/
|
|
179
|
+
max: G.props.max,
|
|
180
|
+
/**
|
|
181
|
+
* Number of months rendered on pane
|
|
182
|
+
*/
|
|
183
|
+
numberOfMonths: G.props.numberOfMonths,
|
|
184
|
+
/**
|
|
185
|
+
* Displays the end date's month when the calendar is opened. Defaults to false i.e. the start date's month is displayed.
|
|
186
|
+
*/
|
|
187
|
+
showEndDateOnOpen: { type: Boolean, default: !1 },
|
|
188
|
+
/**
|
|
189
|
+
* Enables the custom range selector.
|
|
190
|
+
* If provided, must be an array that sets the custom range dropdown items. Items are of the structure:
|
|
191
|
+
* `label` - label of custom range item.
|
|
192
|
+
* `value` - a unique key of the custom range item.
|
|
193
|
+
* `data` - an object `{ startDate: Date; endDate: Date }` to set the date picker range to upon selecting.
|
|
194
|
+
*/
|
|
195
|
+
quickSelectRanges: {
|
|
196
|
+
type: Array,
|
|
197
|
+
default: void 0
|
|
198
|
+
},
|
|
199
|
+
/**
|
|
200
|
+
* Selected date
|
|
201
|
+
*/
|
|
202
|
+
value: { type: Object, default: void 0 }
|
|
203
|
+
},
|
|
204
|
+
emits: [
|
|
205
|
+
f.CUSTOM_RANGE,
|
|
206
|
+
f.INPUT,
|
|
207
|
+
f.ERROR,
|
|
208
|
+
f.FORM_DATE,
|
|
209
|
+
f.START_DATE_SELECTED
|
|
210
|
+
],
|
|
211
|
+
setup(e, { emit: t, slots: l }) {
|
|
212
|
+
var ve, Ie, ye;
|
|
213
|
+
const { locale: u, t: d } = ce({ messages: Ce }), p = { de: pe, enUS: B, fr: ge }, n = ie({
|
|
214
|
+
startDate: (ve = e.value) == null ? void 0 : ve.startDate,
|
|
215
|
+
endDate: (Ie = e.value) == null ? void 0 : Ie.endDate,
|
|
216
|
+
...e.granularities ? {
|
|
217
|
+
granularity: ((ye = e.value) == null ? void 0 : ye.granularity) || _e
|
|
218
|
+
} : {}
|
|
219
|
+
}), i = h(
|
|
220
|
+
() => {
|
|
221
|
+
var a, o;
|
|
222
|
+
return ((o = (a = e == null ? void 0 : e.quickSelectRanges) == null ? void 0 : a.find(({ data: s }) => e.allowTimeInput ? Me(s.startDate, n.startDate) && Me(s.endDate, n.endDate) : X(s.startDate, n.startDate) && X(s.endDate, n.endDate))) == null ? void 0 : o.value) ?? Ue;
|
|
223
|
+
}
|
|
224
|
+
), I = h(() => ({
|
|
225
|
+
"b-date-range-picker-calendar__form-input-wrapper": e.allowTimeInput
|
|
226
|
+
})), R = h(() => [
|
|
227
|
+
{ label: d("customRange"), value: Ue },
|
|
228
|
+
...e.quickSelectRanges
|
|
229
|
+
]), k = h(
|
|
230
|
+
() => {
|
|
231
|
+
var a;
|
|
232
|
+
return ((a = e.granularities) == null ? void 0 : a.find(({ type: o }) => o === n.granularity)) || null;
|
|
233
|
+
}
|
|
234
|
+
), g = h(
|
|
235
|
+
() => e.granularities.map(({ type: a, disabled: o }) => ({
|
|
236
|
+
label: d(a),
|
|
237
|
+
value: a,
|
|
238
|
+
disabled: o
|
|
239
|
+
}))
|
|
240
|
+
), { getGranularCalendarLimits: U } = wa(e), D = h(
|
|
241
|
+
() => e.granularities ? U(k.value) : { min: re(e.min), max: $(e.max) }
|
|
242
|
+
), {
|
|
243
|
+
adjustDateForMonthly: j,
|
|
244
|
+
adjustDateForWeekly: E,
|
|
245
|
+
adjustStartDateInputForWeekly: L,
|
|
246
|
+
adjustEndDateInputForWeekly: v,
|
|
247
|
+
adjustStartDateInputForMonthly: z,
|
|
248
|
+
adjustEndDateInputForMonthly: M
|
|
249
|
+
} = Ra(e.firstDayOfWeek), { savedRanges: y, saveRange: ee, resetSavedRanges: de } = Ma(), S = (a) => a ? oe(a, T.NUMERIC_DATE_YEAR_FIRST, {
|
|
250
|
+
locale: p[u.value.substring(0, 2)] || B
|
|
251
|
+
}) : "", ae = (a) => a ? oe(a, T.HOUR_MINUTE_SECONDS, {
|
|
252
|
+
locale: p[u.value.substring(0, 2)] || B
|
|
253
|
+
}) : "", V = W(!1), Y = W(!1), K = W(!1), m = W(!1), r = ie({
|
|
254
|
+
startDate: e.dateFormData.startDate,
|
|
255
|
+
endDate: e.dateFormData.endDate,
|
|
256
|
+
startTime: e.dateFormData.startTime,
|
|
257
|
+
endTime: e.dateFormData.endTime
|
|
258
|
+
}), _ = (a) => /^(?:[01]\d|2[01234]):(?:[012345]\d):(?:[012345]\d)$/.test(a), A = (a, o) => {
|
|
259
|
+
if (!o || !_(o))
|
|
260
|
+
return a;
|
|
261
|
+
let s = new Date(a);
|
|
262
|
+
const [c, xe, ea] = o.split(":");
|
|
263
|
+
return s = Ea(s, parseInt(c, 10)), s = Sa(s, parseInt(xe, 10)), s = Oa(s, parseInt(ea, 10)), s;
|
|
264
|
+
}, Be = (a) => {
|
|
265
|
+
n.startDate = A(a.startDate, r.startTime), n.endDate = A(a.endDate, r.endTime), e.granularities && de(), t(f.INPUT, {
|
|
266
|
+
...n,
|
|
267
|
+
range: i.value
|
|
268
|
+
});
|
|
269
|
+
}, te = (a) => {
|
|
270
|
+
const o = (c) => e.min && c <= e.min || e.max && c >= e.max ? !1 : e.isDateDisabled ? !e.isDateDisabled(c) : !0;
|
|
271
|
+
return /^\d{4}-(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01])$/.test(a) && o(new Date(a));
|
|
272
|
+
};
|
|
273
|
+
aa(() => {
|
|
274
|
+
e.dateFormData.startDate && !te(e.dateFormData.startDate) ? V.value = !0 : (V.value = !1, K.value = !1), e.dateFormData.endDate && !te(e.dateFormData.endDate) ? Y.value = !0 : (Y.value = !1, m.value = !1);
|
|
275
|
+
});
|
|
276
|
+
const Le = (a) => {
|
|
277
|
+
var o;
|
|
278
|
+
r.startDate = S(a), r.startTime ? K.value && (r.startTime = (o = e.dateFormData) == null ? void 0 : o.startTime) : r.startTime = ae(a), V.value = !1, K.value = !1, t(f.START_DATE_SELECTED, a);
|
|
279
|
+
}, Ve = (a) => {
|
|
280
|
+
var o;
|
|
281
|
+
r.endDate = S(a), r.endTime ? m.value && (r.endTime = (o = e.dateFormData) == null ? void 0 : o.endTime) : r.endTime = ae($(a)), Y.value = !1, m.value = !1;
|
|
282
|
+
}, se = (a) => {
|
|
283
|
+
const o = e.value[a];
|
|
284
|
+
if (o)
|
|
285
|
+
return o;
|
|
286
|
+
if (e.dateFormData[a] && te(e.dateFormData[a]))
|
|
287
|
+
return new Date(e.dateFormData[a]);
|
|
288
|
+
}, Ye = le((a) => {
|
|
289
|
+
var o;
|
|
290
|
+
if (te(a)) {
|
|
291
|
+
let s = a;
|
|
292
|
+
switch (V.value = !1, (o = k.value) == null ? void 0 : o.type) {
|
|
293
|
+
case "weekly":
|
|
294
|
+
s = L(
|
|
295
|
+
a,
|
|
296
|
+
S,
|
|
297
|
+
D.value.min,
|
|
298
|
+
D.value.max
|
|
299
|
+
), r.startDate = s;
|
|
300
|
+
break;
|
|
301
|
+
case "monthly":
|
|
302
|
+
s = z(
|
|
303
|
+
a,
|
|
304
|
+
S,
|
|
305
|
+
D.value.min,
|
|
306
|
+
D.value.max
|
|
307
|
+
), r.startDate = s;
|
|
308
|
+
break;
|
|
309
|
+
}
|
|
310
|
+
n.startDate = A(new Date(s), r.startTime);
|
|
311
|
+
const c = se("endDate");
|
|
312
|
+
t(f.FORM_DATE, {
|
|
313
|
+
startDate: new Date(s),
|
|
314
|
+
endDate: c
|
|
315
|
+
}), t(f.INPUT, {
|
|
316
|
+
startDate: new Date(s),
|
|
317
|
+
endDate: c,
|
|
318
|
+
range: i.value
|
|
319
|
+
});
|
|
320
|
+
} else
|
|
321
|
+
V.value = !0, t(f.ERROR, { ...r });
|
|
322
|
+
}, Fe), Ke = (a) => {
|
|
323
|
+
r.startDate = Re(a), Ye(r.startDate);
|
|
324
|
+
}, Ge = le((a) => {
|
|
325
|
+
var o;
|
|
326
|
+
if (te(a)) {
|
|
327
|
+
let s = a;
|
|
328
|
+
switch (Y.value = !1, (o = k.value) == null ? void 0 : o.type) {
|
|
329
|
+
case "weekly":
|
|
330
|
+
s = v(
|
|
331
|
+
a,
|
|
332
|
+
S,
|
|
333
|
+
D.value.min,
|
|
334
|
+
D.value.max
|
|
335
|
+
), r.endDate = s;
|
|
336
|
+
break;
|
|
337
|
+
case "monthly":
|
|
338
|
+
s = M(
|
|
339
|
+
a,
|
|
340
|
+
S,
|
|
341
|
+
D.value.min,
|
|
342
|
+
D.value.max
|
|
343
|
+
), r.endDate = s;
|
|
344
|
+
break;
|
|
345
|
+
}
|
|
346
|
+
n.endDate = A(new Date(s), r.endTime);
|
|
347
|
+
const c = se("startDate");
|
|
348
|
+
t(f.FORM_DATE, {
|
|
349
|
+
startDate: c,
|
|
350
|
+
endDate: new Date(a)
|
|
351
|
+
}), t(f.INPUT, {
|
|
352
|
+
startDate: c,
|
|
353
|
+
endDate: new Date(a),
|
|
354
|
+
range: i.value
|
|
355
|
+
});
|
|
356
|
+
} else
|
|
357
|
+
Y.value = !0, t(f.ERROR, { ...r });
|
|
358
|
+
}, Fe), qe = (a) => {
|
|
359
|
+
r.endDate = Re(a), Ge(r.endDate);
|
|
360
|
+
}, He = (a) => {
|
|
361
|
+
ua(a);
|
|
362
|
+
}, We = le((a) => {
|
|
363
|
+
if (_(a)) {
|
|
364
|
+
K.value = !1, n.startDate = A(n.startDate, a);
|
|
365
|
+
const o = se("endDate");
|
|
366
|
+
t(f.FORM_DATE, {
|
|
367
|
+
startDate: new Date(n.startDate),
|
|
368
|
+
endDate: o,
|
|
369
|
+
startTime: a,
|
|
370
|
+
endTime: e.dateFormData.endTime
|
|
371
|
+
}), t(f.INPUT, {
|
|
372
|
+
startDate: new Date(n.startDate),
|
|
373
|
+
endDate: o,
|
|
374
|
+
range: i.value
|
|
375
|
+
});
|
|
376
|
+
} else
|
|
377
|
+
K.value = !0, t(f.ERROR, { ...r });
|
|
378
|
+
}), je = le((a) => {
|
|
379
|
+
if (_(a)) {
|
|
380
|
+
m.value = !1, n.endDate = A(n.endDate, a);
|
|
381
|
+
const o = se("startDate");
|
|
382
|
+
t(f.FORM_DATE, {
|
|
383
|
+
startDate: o,
|
|
384
|
+
endDate: new Date(n.endDate),
|
|
385
|
+
startTime: e.dateFormData.startTime,
|
|
386
|
+
endTime: a
|
|
387
|
+
}), t(f.INPUT, {
|
|
388
|
+
startDate: o,
|
|
389
|
+
endDate: new Date(n.endDate),
|
|
390
|
+
range: i.value
|
|
391
|
+
});
|
|
392
|
+
} else
|
|
393
|
+
m.value = !0, t(f.ERROR, { ...r });
|
|
394
|
+
}), ze = (a) => {
|
|
395
|
+
r.startTime = he(a), We(r.startTime);
|
|
396
|
+
}, Je = (a) => {
|
|
397
|
+
r.endTime = he(a), je(r.endTime);
|
|
398
|
+
}, Qe = (a) => {
|
|
399
|
+
Ua(a);
|
|
400
|
+
}, J = (a, o, s) => {
|
|
401
|
+
n.startDate = a, n.endDate = o, s && (n.granularity = s);
|
|
402
|
+
}, Xe = (a) => {
|
|
403
|
+
var s;
|
|
404
|
+
const o = (s = e.quickSelectRanges) == null ? void 0 : s.find(({ value: c }) => c === a);
|
|
405
|
+
if (o) {
|
|
406
|
+
de();
|
|
407
|
+
const c = o.data;
|
|
408
|
+
r.startDate = S(c.startDate), r.endDate = S(c.endDate), J(c.startDate, c.endDate), e.granularities && (n.granularity = c.granularity || _e), r.startTime || (r.startTime = ae($(c.startDate))), r.endTime || (r.endTime = ae($(c.endDate))), t(f.CUSTOM_RANGE, { ...o.data, range: o.value });
|
|
409
|
+
}
|
|
410
|
+
}, Ze = (a) => {
|
|
411
|
+
const o = n.granularity;
|
|
412
|
+
if (n.granularity = a, o && ee(o, structuredClone(ta(n))), n.startDate && n.endDate) {
|
|
413
|
+
switch (a) {
|
|
414
|
+
case "monthly": {
|
|
415
|
+
if (y.monthly) {
|
|
416
|
+
J(y.monthly.startDate, y.monthly.endDate, a);
|
|
417
|
+
break;
|
|
418
|
+
}
|
|
419
|
+
const { startDate: s, endDate: c } = j(
|
|
420
|
+
n.startDate,
|
|
421
|
+
n.endDate,
|
|
422
|
+
D.value.min,
|
|
423
|
+
D.value.max
|
|
424
|
+
);
|
|
425
|
+
J(s, c, a);
|
|
426
|
+
break;
|
|
427
|
+
}
|
|
428
|
+
case "weekly": {
|
|
429
|
+
if (y.weekly) {
|
|
430
|
+
J(y.weekly.startDate, y.weekly.endDate, a);
|
|
431
|
+
break;
|
|
432
|
+
}
|
|
433
|
+
const { startDate: s, endDate: c } = E(
|
|
434
|
+
n.startDate,
|
|
435
|
+
n.endDate,
|
|
436
|
+
D.value.min,
|
|
437
|
+
D.value.max
|
|
438
|
+
);
|
|
439
|
+
J(s, c, a);
|
|
440
|
+
break;
|
|
441
|
+
}
|
|
442
|
+
case "daily":
|
|
443
|
+
y.daily && J(y.daily.startDate, y.daily.endDate, a);
|
|
444
|
+
break;
|
|
445
|
+
}
|
|
446
|
+
r.startDate = S(n.startDate), r.endDate = S(n.endDate), t(f.INPUT, {
|
|
447
|
+
...n,
|
|
448
|
+
range: i.value
|
|
449
|
+
});
|
|
450
|
+
}
|
|
451
|
+
};
|
|
452
|
+
return {
|
|
453
|
+
// Values
|
|
454
|
+
internalRangeDate: n,
|
|
455
|
+
dateTextInput: r,
|
|
456
|
+
endDateError: Y,
|
|
457
|
+
endTimeError: m,
|
|
458
|
+
granularityItems: g,
|
|
459
|
+
selectedGranularity: k,
|
|
460
|
+
computedMinMax: D,
|
|
461
|
+
selectedRangeSelectorValue: i,
|
|
462
|
+
startDateError: V,
|
|
463
|
+
startTimeError: K,
|
|
464
|
+
quickSelectRangeDefaultItems: R,
|
|
465
|
+
formInputWrapperConditionalClasses: I,
|
|
466
|
+
// Methods
|
|
467
|
+
hasSlot: ga(l),
|
|
468
|
+
t: d,
|
|
469
|
+
// Events
|
|
470
|
+
onDateInput: Be,
|
|
471
|
+
onDateInputKeyDown: He,
|
|
472
|
+
onEndDateInput: qe,
|
|
473
|
+
onEndDateSelected: Ve,
|
|
474
|
+
onEndTimeInput: Je,
|
|
475
|
+
onGranularityInput: Ze,
|
|
476
|
+
onRangeSelectorInput: Xe,
|
|
477
|
+
onStartDateInput: Ke,
|
|
478
|
+
onStartDateSelected: Le,
|
|
479
|
+
onStartTimeInput: ze,
|
|
480
|
+
onTimeInputKeyDown: Qe
|
|
481
|
+
};
|
|
482
|
+
}
|
|
483
|
+
}), Aa = { class: "b-date-range-picker-calendar" }, Na = { class: "b-date-range-picker-calendar__form-container" }, Pa = { class: "b-date-range-picker-calendar__form" }, $a = { key: 0 }, Ba = { class: "b-date-range-picker-calendar__calendars-container" };
|
|
484
|
+
function La(e, t, l, u, d, p) {
|
|
485
|
+
const n = O("bento-dropdown"), i = O("bento-segmented-control"), I = O("bento-typography"), R = O("bento-input-field"), k = O("calendar");
|
|
486
|
+
return b(), De("div", Aa, [
|
|
487
|
+
N("div", Na, [
|
|
488
|
+
N("div", Pa, [
|
|
489
|
+
e.hasSlot("title") ? Te(e.$slots, "title", { key: 0 }, void 0, !0) : w("", !0),
|
|
490
|
+
e.quickSelectRanges ? (b(), F(n, {
|
|
491
|
+
key: 1,
|
|
492
|
+
"aria-label": e.t("customRange"),
|
|
493
|
+
items: e.quickSelectRangeDefaultItems,
|
|
494
|
+
value: e.selectedRangeSelectorValue,
|
|
495
|
+
onInput: e.onRangeSelectorInput
|
|
496
|
+
}, null, 8, ["aria-label", "items", "value", "onInput"])) : w("", !0),
|
|
497
|
+
e.granularities ? (b(), F(i, {
|
|
498
|
+
key: 2,
|
|
499
|
+
items: e.granularityItems,
|
|
500
|
+
"model-value": e.internalRangeDate.granularity,
|
|
501
|
+
"full-width": "",
|
|
502
|
+
"onUpdate:modelValue": e.onGranularityInput
|
|
503
|
+
}, null, 8, ["items", "model-value", "onUpdate:modelValue"])) : w("", !0),
|
|
504
|
+
N("div", null, [
|
|
505
|
+
H(I, {
|
|
506
|
+
stronger: "",
|
|
507
|
+
el: "span",
|
|
508
|
+
class: "b-date-range-picker-calendar__label"
|
|
509
|
+
}, {
|
|
510
|
+
default: P(() => t[0] || (t[0] = [
|
|
511
|
+
q(" From ")
|
|
512
|
+
])),
|
|
513
|
+
_: 1
|
|
514
|
+
}),
|
|
515
|
+
N("div", {
|
|
516
|
+
class: me(e.formInputWrapperConditionalClasses)
|
|
517
|
+
}, [
|
|
518
|
+
H(R, {
|
|
519
|
+
"aria-label": e.t("dateFrom"),
|
|
520
|
+
value: e.dateTextInput.startDate,
|
|
521
|
+
error: e.startDateError,
|
|
522
|
+
class: "b-date-range-picker-calendar__form-input",
|
|
523
|
+
onInput: e.onStartDateInput,
|
|
524
|
+
onKeydown: e.onDateInputKeyDown
|
|
525
|
+
}, {
|
|
526
|
+
description: P(() => t[1] || (t[1] = [
|
|
527
|
+
q("YYYY-MM-DD")
|
|
528
|
+
])),
|
|
529
|
+
_: 1
|
|
530
|
+
}, 8, ["aria-label", "value", "error", "onInput", "onKeydown"]),
|
|
531
|
+
e.allowTimeInput ? (b(), F(R, {
|
|
532
|
+
key: 0,
|
|
533
|
+
"aria-label": e.t("timeFrom"),
|
|
534
|
+
value: e.dateTextInput.startTime,
|
|
535
|
+
error: e.startTimeError,
|
|
536
|
+
class: "b-date-range-picker-calendar__form-input",
|
|
537
|
+
onInput: e.onStartTimeInput,
|
|
538
|
+
onKeydown: e.onTimeInputKeyDown
|
|
539
|
+
}, {
|
|
540
|
+
description: P(() => t[2] || (t[2] = [
|
|
541
|
+
q("HH:MM:SS")
|
|
542
|
+
])),
|
|
543
|
+
_: 1
|
|
544
|
+
}, 8, ["aria-label", "value", "error", "onInput", "onKeydown"])) : w("", !0)
|
|
545
|
+
], 2)
|
|
546
|
+
]),
|
|
547
|
+
N("div", null, [
|
|
548
|
+
H(I, {
|
|
549
|
+
stronger: "",
|
|
550
|
+
el: "span",
|
|
551
|
+
class: "b-date-range-picker-calendar__label"
|
|
552
|
+
}, {
|
|
553
|
+
default: P(() => t[3] || (t[3] = [
|
|
554
|
+
q(" To ")
|
|
555
|
+
])),
|
|
556
|
+
_: 1
|
|
557
|
+
}),
|
|
558
|
+
N("div", {
|
|
559
|
+
class: me(e.formInputWrapperConditionalClasses)
|
|
560
|
+
}, [
|
|
561
|
+
H(R, {
|
|
562
|
+
class: "b-date-range-picker-calendar__form-input",
|
|
563
|
+
"aria-label": e.t("dateTo"),
|
|
564
|
+
value: e.dateTextInput.endDate,
|
|
565
|
+
error: e.endDateError,
|
|
566
|
+
onInput: e.onEndDateInput,
|
|
567
|
+
onKeydown: e.onDateInputKeyDown
|
|
568
|
+
}, {
|
|
569
|
+
description: P(() => t[4] || (t[4] = [
|
|
570
|
+
q("YYYY-MM-DD")
|
|
571
|
+
])),
|
|
572
|
+
_: 1
|
|
573
|
+
}, 8, ["aria-label", "value", "error", "onInput", "onKeydown"]),
|
|
574
|
+
e.allowTimeInput ? (b(), F(R, {
|
|
575
|
+
key: 0,
|
|
576
|
+
"aria-label": e.t("timeTo"),
|
|
577
|
+
value: e.dateTextInput.endTime,
|
|
578
|
+
error: e.endTimeError,
|
|
579
|
+
class: "b-date-range-picker-calendar__form-input",
|
|
580
|
+
onInput: e.onEndTimeInput,
|
|
581
|
+
onKeydown: e.onTimeInputKeyDown
|
|
582
|
+
}, {
|
|
583
|
+
description: P(() => t[5] || (t[5] = [
|
|
584
|
+
q("HH:MM:SS")
|
|
585
|
+
])),
|
|
586
|
+
_: 1
|
|
587
|
+
}, 8, ["aria-label", "value", "error", "onInput", "onKeydown"])) : w("", !0)
|
|
588
|
+
], 2)
|
|
589
|
+
])
|
|
590
|
+
]),
|
|
591
|
+
e.hasSlot("actions") ? (b(), De("div", $a, [
|
|
592
|
+
Te(e.$slots, "actions", {}, void 0, !0)
|
|
593
|
+
])) : w("", !0)
|
|
594
|
+
]),
|
|
595
|
+
N("div", Ba, [
|
|
596
|
+
H(k, {
|
|
597
|
+
value: e.value,
|
|
598
|
+
"first-day-of-week": e.firstDayOfWeek,
|
|
599
|
+
"is-date-disabled": e.isDateDisabled,
|
|
600
|
+
"max-range": e.maxRange,
|
|
601
|
+
min: e.computedMinMax.min,
|
|
602
|
+
max: e.computedMinMax.max,
|
|
603
|
+
"number-of-months": e.numberOfMonths,
|
|
604
|
+
"show-end-date-on-open": e.showEndDateOnOpen,
|
|
605
|
+
granularity: e.selectedGranularity,
|
|
606
|
+
"is-range": "",
|
|
607
|
+
onInput: e.onDateInput,
|
|
608
|
+
onStartDateSelected: e.onStartDateSelected,
|
|
609
|
+
onEndDateSelected: e.onEndDateSelected
|
|
610
|
+
}, null, 8, ["value", "first-day-of-week", "is-date-disabled", "max-range", "min", "max", "number-of-months", "show-end-date-on-open", "granularity", "onInput", "onStartDateSelected", "onEndDateSelected"])
|
|
611
|
+
])
|
|
612
|
+
]);
|
|
613
|
+
}
|
|
614
|
+
const C = /* @__PURE__ */ $e(_a, [["render", La], ["__scopeId", "data-v-78a26328"]]), Va = ({
|
|
615
|
+
datePickerValue: e,
|
|
616
|
+
isDateIncorrect: t,
|
|
617
|
+
quickSelectRanges: l
|
|
618
|
+
}) => {
|
|
619
|
+
var g, U, D, j;
|
|
620
|
+
const { locale: u, t: d } = ce(), p = { de: pe, enUS: B, fr: ge }, n = (E) => !!E && !isNaN(E.getTime()), i = (E, L) => n(E) ? oe(E, L, {
|
|
621
|
+
locale: p[u.value.substring(0, 2)] || B
|
|
622
|
+
}) : void 0, I = ie({
|
|
623
|
+
startDate: i((g = e.value) == null ? void 0 : g.startDate, T.NUMERIC_DATE_YEAR_FIRST),
|
|
624
|
+
endDate: i((U = e.value) == null ? void 0 : U.endDate, T.NUMERIC_DATE_YEAR_FIRST),
|
|
625
|
+
startTime: i((D = e.value) == null ? void 0 : D.startDate, T.HOUR_MINUTE_SECONDS),
|
|
626
|
+
endTime: i((j = e.value) == null ? void 0 : j.endDate, T.HOUR_MINUTE_SECONDS)
|
|
627
|
+
});
|
|
628
|
+
return {
|
|
629
|
+
// Values
|
|
630
|
+
dateDisplayValue: h(() => {
|
|
631
|
+
var v;
|
|
632
|
+
if (t.value)
|
|
633
|
+
return `${I.startDate || ""} - ${I.endDate || ""}`;
|
|
634
|
+
if (!e.value || !e.value.startDate && !e.value.endDate)
|
|
635
|
+
return d("selectDateRange");
|
|
636
|
+
if ((v = l.value) != null && v.length) {
|
|
637
|
+
const z = l.value.find(
|
|
638
|
+
({ data: M }) => {
|
|
639
|
+
var y, ee;
|
|
640
|
+
return Oe(M == null ? void 0 : M.startDate, (y = e.value) == null ? void 0 : y.startDate) && Oe(M == null ? void 0 : M.endDate, (ee = e.value) == null ? void 0 : ee.endDate);
|
|
641
|
+
}
|
|
642
|
+
);
|
|
643
|
+
if (z)
|
|
644
|
+
return z.label;
|
|
645
|
+
}
|
|
646
|
+
const { startDate: E, endDate: L } = I;
|
|
647
|
+
return `${i(new Date(E), T.FULL_DATE_MONTH_FIRST)} - ${i(
|
|
648
|
+
new Date(L),
|
|
649
|
+
T.FULL_DATE_MONTH_FIRST
|
|
650
|
+
)}`;
|
|
651
|
+
}),
|
|
652
|
+
textInputDisplayValue: I,
|
|
653
|
+
// Methods
|
|
654
|
+
formatTextInputDisplayValue: () => ""
|
|
655
|
+
};
|
|
656
|
+
};
|
|
657
|
+
var Q = /* @__PURE__ */ ((e) => (e.INPUT = "input", e))(Q || {});
|
|
658
|
+
const Ae = {
|
|
659
|
+
"en-US": {
|
|
660
|
+
dateRangePicker: "Date range picker {name}",
|
|
661
|
+
provideDateInAFormat: "Provide date in a YYYY-MM-DD format",
|
|
662
|
+
selectDate: "Select a date",
|
|
663
|
+
selectDateRange: "Select a date range",
|
|
664
|
+
selectedDateIsNotAvailable: "Selected date is not available"
|
|
665
|
+
}
|
|
666
|
+
}, Ya = Ne({
|
|
667
|
+
i18n: { messages: Ae },
|
|
668
|
+
name: "bento-date-range-picker",
|
|
669
|
+
components: {
|
|
670
|
+
BentoTypography: Pe,
|
|
671
|
+
BentoPopover: ia,
|
|
672
|
+
DateRangePickerCalendar: C,
|
|
673
|
+
DropdownInputDefault: da,
|
|
674
|
+
ErrorMessage: ba,
|
|
675
|
+
FieldLabel: ka
|
|
676
|
+
},
|
|
677
|
+
directives: { BentoClickOutsideDirective: ma },
|
|
678
|
+
props: {
|
|
679
|
+
/**
|
|
680
|
+
* Allows user to enter time values in the form
|
|
681
|
+
*/
|
|
682
|
+
allowTimeInput: { type: Boolean, default: !1 },
|
|
683
|
+
/**
|
|
684
|
+
* Descriptive supporting text visbile underneath the dropdown.
|
|
685
|
+
*/
|
|
686
|
+
description: { type: String, default: void 0 },
|
|
687
|
+
/**
|
|
688
|
+
* Disables dropdown functionality.
|
|
689
|
+
*/
|
|
690
|
+
disabled: { type: Boolean, default: !1 },
|
|
691
|
+
/**
|
|
692
|
+
* Displays component in an error state with an error message
|
|
693
|
+
*/
|
|
694
|
+
errorMessage: { type: String, default: null },
|
|
695
|
+
/**
|
|
696
|
+
* Allows user to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
|
|
697
|
+
*/
|
|
698
|
+
firstDayOfWeek: C.props.firstDayOfWeek,
|
|
699
|
+
/**
|
|
700
|
+
* A list of available granularities.
|
|
701
|
+
* If present, the date picker will display a segmented control to change granularity.
|
|
702
|
+
*/
|
|
703
|
+
granularities: C.props.granularities,
|
|
704
|
+
/**
|
|
705
|
+
* Indicate if a date should be disabled or not
|
|
706
|
+
*/
|
|
707
|
+
isDateDisabled: C.props.isDateDisabled,
|
|
708
|
+
/**
|
|
709
|
+
* Text that is displayed as a label above the element.
|
|
710
|
+
*/
|
|
711
|
+
label: { type: String, default: void 0 },
|
|
712
|
+
/**
|
|
713
|
+
* Upon opening date range picker, end date's month will be pre-selected.
|
|
714
|
+
*/
|
|
715
|
+
showEndDateOnOpen: { type: Boolean, default: !1 },
|
|
716
|
+
/**
|
|
717
|
+
* Highlights the dropdown is optional.
|
|
718
|
+
*/
|
|
719
|
+
optional: { type: Boolean, default: !1 },
|
|
720
|
+
/**
|
|
721
|
+
* The Boolean readonly property, when present, makes the element not mutable, meaning the user can not edit the date range picker.
|
|
722
|
+
*/
|
|
723
|
+
readonly: { type: Boolean, default: !1 },
|
|
724
|
+
/**
|
|
725
|
+
* Highlights the dropdown is required.
|
|
726
|
+
*/
|
|
727
|
+
required: { type: Boolean, default: !1 },
|
|
728
|
+
/**
|
|
729
|
+
* Adds a info icon next to the label to display the passed tooltip message.
|
|
730
|
+
*/
|
|
731
|
+
tooltipText: { type: String, default: null },
|
|
732
|
+
/**
|
|
733
|
+
* Enables the range selector.
|
|
734
|
+
* If provided, must be an array that sets the custom range dropdown items. Items are of the structure:
|
|
735
|
+
* `label` - label of custom range item.
|
|
736
|
+
* `value` - a unique key of the custom range item.
|
|
737
|
+
* `data` - an object `{ startDate: Date; endDate: Date }` to set the date picker range to upon selecting.
|
|
738
|
+
*/
|
|
739
|
+
quickSelectRanges: {
|
|
740
|
+
type: Array,
|
|
741
|
+
default: void 0
|
|
742
|
+
},
|
|
743
|
+
/**
|
|
744
|
+
* Set a maximum number of dates to be selectable by the range.
|
|
745
|
+
*/
|
|
746
|
+
maxRange: C.props.maxRange,
|
|
747
|
+
/**
|
|
748
|
+
* Sets a minimum limit for selectable dates - dates before `min` will not be selectable
|
|
749
|
+
*/
|
|
750
|
+
min: C.props.min,
|
|
751
|
+
/**
|
|
752
|
+
* Sets a maximum limit for selectable dates - dates after `max` will not be selectable
|
|
753
|
+
*/
|
|
754
|
+
max: C.props.max,
|
|
755
|
+
/**
|
|
756
|
+
* Number of months rendered on pane
|
|
757
|
+
*/
|
|
758
|
+
numberOfMonths: C.props.numberOfMonths,
|
|
759
|
+
/**
|
|
760
|
+
* Selected date
|
|
761
|
+
*/
|
|
762
|
+
value: C.props.value
|
|
763
|
+
},
|
|
764
|
+
emits: [Q.INPUT],
|
|
765
|
+
setup(e, { emit: t }) {
|
|
766
|
+
const { locale: l, t: u } = ce({ messages: Ae }), d = { de: pe, enUS: B, fr: ge }, p = ne("bento-date-range-picker-container"), n = ne("bento-date-range-picker-label"), i = ne("bento-date-range-picker-description"), I = ne("bento-date-range-picker-error"), R = ne("bento-date-range-picker-date-error"), k = h(
|
|
767
|
+
() => e.label || u("dateRangePicker", { name: p })
|
|
768
|
+
), g = W(!1), U = W(null), D = W(!1), { isReadOnly: j } = Da(ue(e, "readonly"));
|
|
769
|
+
na(
|
|
770
|
+
() => e.disabled,
|
|
771
|
+
() => {
|
|
772
|
+
e.disabled && D.value && (D.value = !1);
|
|
773
|
+
}
|
|
774
|
+
);
|
|
775
|
+
const E = h(() => ({
|
|
776
|
+
"b-date-range-picker__description--error": !!e.errorMessage || g.value
|
|
777
|
+
})), { dateDisplayValue: L, textInputDisplayValue: v, formatTextInputDisplayValue: z } = Va({
|
|
778
|
+
datePickerValue: ue(e, "value"),
|
|
779
|
+
isDateIncorrect: g,
|
|
780
|
+
quickSelectRanges: ue(e, "quickSelectRanges")
|
|
781
|
+
}), M = h(
|
|
782
|
+
() => `${e.description ? i : ""} ${e.errorMessage ? I : ""} ${g.value ? R : ""}`.trim() || null
|
|
783
|
+
);
|
|
784
|
+
return {
|
|
785
|
+
// Refs
|
|
786
|
+
inputContainerRef: U,
|
|
787
|
+
// Values,
|
|
788
|
+
dateDisplayValue: L,
|
|
789
|
+
datePickerContainerId: p,
|
|
790
|
+
descriptionConditionalClasses: E,
|
|
791
|
+
isDateIncorrect: g,
|
|
792
|
+
isDateRangePickerOpen: D,
|
|
793
|
+
isReadOnly: j,
|
|
794
|
+
labelId: n,
|
|
795
|
+
descriptionId: i,
|
|
796
|
+
dateErrorId: R,
|
|
797
|
+
errorId: I,
|
|
798
|
+
popoverAriaLabel: k,
|
|
799
|
+
ariaDescribedBy: M,
|
|
800
|
+
textInputDisplayValue: v,
|
|
801
|
+
// Events
|
|
802
|
+
closeDateRangePicker: () => {
|
|
803
|
+
D.value = !1;
|
|
804
|
+
},
|
|
805
|
+
clearDateRangePickerValue: async () => {
|
|
806
|
+
g.value && (g.value = !1), t(Q.INPUT, null);
|
|
807
|
+
},
|
|
808
|
+
openDateRangePicker: () => {
|
|
809
|
+
D.value = !0, z();
|
|
810
|
+
},
|
|
811
|
+
onRangeSelectorInput: (m) => {
|
|
812
|
+
if (m) {
|
|
813
|
+
const r = (_) => oe(_, T.NUMERIC_DATE_YEAR_FIRST, {
|
|
814
|
+
locale: d[l.value.substring(0, 2)] || B
|
|
815
|
+
});
|
|
816
|
+
v.startDate = r(m.startDate), v.endDate = r(m.endDate), t(Q.INPUT, m);
|
|
817
|
+
}
|
|
818
|
+
},
|
|
819
|
+
onEnterPressedOverInput: () => {
|
|
820
|
+
g.value || (D.value = !1);
|
|
821
|
+
},
|
|
822
|
+
onDateRangePickerInput: (m) => {
|
|
823
|
+
g.value = !1;
|
|
824
|
+
const r = (_, A) => _ ? oe(_, A, {
|
|
825
|
+
locale: d[l.value.substring(0, 2)] || B
|
|
826
|
+
}) : void 0;
|
|
827
|
+
v.startDate = r(
|
|
828
|
+
m.startDate,
|
|
829
|
+
T.NUMERIC_DATE_YEAR_FIRST
|
|
830
|
+
), v.endDate = r(m.endDate, T.NUMERIC_DATE_YEAR_FIRST), v.startTime = r(m.startDate, T.HOUR_MINUTE_SECONDS), v.endTime = r(m.endDate, T.HOUR_MINUTE_SECONDS), t(Q.INPUT, m);
|
|
831
|
+
},
|
|
832
|
+
onDateRangePickerError: (m) => {
|
|
833
|
+
g.value = !0, v.startDate = m.startDate, v.endDate = m.endDate, t(Q.INPUT, { startDate: null, endDate: null });
|
|
834
|
+
},
|
|
835
|
+
onDateRangePickerFormDateInputUpdate: (m) => {
|
|
836
|
+
g.value = !1, m.startTime && (v.startTime = m.startTime), m.endTime && (v.endTime = m.endTime);
|
|
837
|
+
},
|
|
838
|
+
// Translations
|
|
839
|
+
t: u
|
|
840
|
+
};
|
|
841
|
+
}
|
|
842
|
+
}), Ka = { class: "b-date-range-picker" };
|
|
843
|
+
function Ga(e, t, l, u, d, p) {
|
|
844
|
+
const n = O("field-label"), i = O("dropdown-input-default"), I = O("error-message"), R = O("bento-typography"), k = O("date-range-picker-calendar"), g = O("bento-popover"), U = ra("bento-click-outside-directive");
|
|
845
|
+
return oa((b(), De("div", Ka, [
|
|
846
|
+
e.label ? (b(), F(n, {
|
|
847
|
+
key: 0,
|
|
848
|
+
id: e.labelId,
|
|
849
|
+
label: e.label,
|
|
850
|
+
"tooltip-text": e.tooltipText,
|
|
851
|
+
optional: e.optional,
|
|
852
|
+
required: e.required
|
|
853
|
+
}, null, 8, ["id", "label", "tooltip-text", "optional", "required"])) : w("", !0),
|
|
854
|
+
N("div", {
|
|
855
|
+
onKeydown: t[0] || (t[0] = sa((...D) => e.onEnterPressedOverInput && e.onEnterPressedOverInput(...D), ["enter"]))
|
|
856
|
+
}, [
|
|
857
|
+
H(i, {
|
|
858
|
+
ref: "inputContainerRef",
|
|
859
|
+
"always-combobox-is-input": "",
|
|
860
|
+
ariaControls: e.datePickerContainerId,
|
|
861
|
+
ariaExpanded: e.isDateRangePickerOpen,
|
|
862
|
+
"aria-labelledby": e.label ? e.labelId : null,
|
|
863
|
+
"aria-describedby": e.ariaDescribedBy,
|
|
864
|
+
disabled: e.disabled,
|
|
865
|
+
"is-invalid": !!e.errorMessage || e.isDateIncorrect,
|
|
866
|
+
open: e.isDateRangePickerOpen,
|
|
867
|
+
"display-value": e.dateDisplayValue,
|
|
868
|
+
readonly: e.isReadOnly,
|
|
869
|
+
onOpen: e.openDateRangePicker,
|
|
870
|
+
onClear: e.clearDateRangePickerValue,
|
|
871
|
+
onClose: e.closeDateRangePicker
|
|
872
|
+
}, null, 8, ["ariaControls", "ariaExpanded", "aria-labelledby", "aria-describedby", "disabled", "is-invalid", "open", "display-value", "readonly", "onOpen", "onClear", "onClose"])
|
|
873
|
+
], 32),
|
|
874
|
+
e.isDateIncorrect ? (b(), F(I, {
|
|
875
|
+
key: 1,
|
|
876
|
+
id: e.dateErrorId,
|
|
877
|
+
"error-message": e.t("provideDateInAFormat"),
|
|
878
|
+
class: "b-date-range-picker__error-message"
|
|
879
|
+
}, null, 8, ["id", "error-message"])) : w("", !0),
|
|
880
|
+
e.errorMessage ? (b(), F(I, {
|
|
881
|
+
key: 2,
|
|
882
|
+
id: e.errorId,
|
|
883
|
+
"error-message": e.errorMessage,
|
|
884
|
+
class: "b-date-range-picker__error-message"
|
|
885
|
+
}, null, 8, ["id", "error-message"])) : w("", !0),
|
|
886
|
+
e.description ? (b(), F(R, {
|
|
887
|
+
key: 3,
|
|
888
|
+
id: e.descriptionId,
|
|
889
|
+
class: me(["b-date-range-picker__description", e.descriptionConditionalClasses]),
|
|
890
|
+
el: "span"
|
|
891
|
+
}, {
|
|
892
|
+
default: P(() => [
|
|
893
|
+
q(la(e.description), 1)
|
|
894
|
+
]),
|
|
895
|
+
_: 1
|
|
896
|
+
}, 8, ["id", "class"])) : w("", !0),
|
|
897
|
+
e.inputContainerRef ? (b(), F(g, {
|
|
898
|
+
key: 4,
|
|
899
|
+
id: e.datePickerContainerId,
|
|
900
|
+
class: "b-date-range-picker__container",
|
|
901
|
+
open: e.isDateRangePickerOpen,
|
|
902
|
+
"target-element": e.inputContainerRef,
|
|
903
|
+
"disable-focus-trap": !0,
|
|
904
|
+
"aria-label": e.popoverAriaLabel,
|
|
905
|
+
position: "bottom-start",
|
|
906
|
+
"without-space": "",
|
|
907
|
+
"fit-content": ""
|
|
908
|
+
}, {
|
|
909
|
+
default: P(() => [
|
|
910
|
+
H(k, {
|
|
911
|
+
"allow-time-input": e.allowTimeInput,
|
|
912
|
+
"quick-select-ranges": e.quickSelectRanges,
|
|
913
|
+
value: e.value,
|
|
914
|
+
"first-day-of-week": e.firstDayOfWeek,
|
|
915
|
+
granularities: e.granularities,
|
|
916
|
+
"is-date-disabled": e.isDateDisabled,
|
|
917
|
+
"max-range": e.maxRange,
|
|
918
|
+
min: e.min,
|
|
919
|
+
max: e.max,
|
|
920
|
+
"number-of-months": e.numberOfMonths,
|
|
921
|
+
"show-end-date-on-open": e.showEndDateOnOpen,
|
|
922
|
+
"date-form-data": e.textInputDisplayValue,
|
|
923
|
+
onCustomRange: e.onRangeSelectorInput,
|
|
924
|
+
onInput: e.onDateRangePickerInput,
|
|
925
|
+
onError: e.onDateRangePickerError,
|
|
926
|
+
onFormDate: e.onDateRangePickerFormDateInputUpdate
|
|
927
|
+
}, null, 8, ["allow-time-input", "quick-select-ranges", "value", "first-day-of-week", "granularities", "is-date-disabled", "max-range", "min", "max", "number-of-months", "show-end-date-on-open", "date-form-data", "onCustomRange", "onInput", "onError", "onFormDate"])
|
|
928
|
+
]),
|
|
929
|
+
_: 1
|
|
930
|
+
}, 8, ["id", "open", "target-element", "aria-label"])) : w("", !0)
|
|
931
|
+
])), [
|
|
932
|
+
[U, e.closeDateRangePicker]
|
|
933
|
+
]);
|
|
934
|
+
}
|
|
935
|
+
const Dt = /* @__PURE__ */ $e(Ya, [["render", Ga], ["__scopeId", "data-v-63af5169"]]);
|
|
936
|
+
export {
|
|
937
|
+
Dt as B,
|
|
938
|
+
C as D,
|
|
939
|
+
Q as a,
|
|
940
|
+
Oe as i
|
|
941
|
+
};
|
|
942
|
+
//# sourceMappingURL=date-range-picker.rytlJBZs.js.map
|