@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
|
@@ -1,923 +0,0 @@
|
|
|
1
|
-
import { reactive as ne, defineComponent as Ae, computed as M, ref as W, onMounted as ea, toRaw as aa, resolveComponent as S, openBlock as R, createElementBlock as de, createElementVNode as A, renderSlot as ye, createCommentVNode as O, createBlock as _, createVNode as H, withCtx as N, createTextVNode as G, normalizeClass as ue, toRef as Te, watch as ta, resolveDirective as na, withDirectives as ra, withKeys as oa, toDisplayString as sa } from "vue";
|
|
2
|
-
import { B as la } from "./popover.BSGQxusD.js";
|
|
3
|
-
import { B as Ne } from "./typography.CSIykcgS.js";
|
|
4
|
-
import { D as ia } from "./dropdown-default-textbox.Bues7tON.js";
|
|
5
|
-
import { g as X } from "./unique-id.XFfoKuc2.js";
|
|
6
|
-
import { u as De } from "./i18n.DY5YXG5f.js";
|
|
7
|
-
import { t as me, f as x } from "./date.DXg5sG5Z.js";
|
|
8
|
-
import { f as Re, v as da, D as y } from "./date-input.BqBdAO1E.js";
|
|
9
|
-
import { r as ee, t as re, l as $, a as ce, b as pe } from "./index.B_UZQ6qF.js";
|
|
10
|
-
import { u as ua } from "./use-form-layout-loading.D3lALhtC.js";
|
|
11
|
-
import { B as Da } from "./directive.O3yEdalv.js";
|
|
12
|
-
import { B as ma } from "./input-field.dPEY8nfT.js";
|
|
13
|
-
import { B as ca } from "./dropdown.CZyiZiox.js";
|
|
14
|
-
import { B as pa } from "./segmented-control.hE7kcMb7.js";
|
|
15
|
-
import { d as te } from "./debounce.DUTu11PS.js";
|
|
16
|
-
import { u as fa } from "./use-has-slot.B7eQSabc.js";
|
|
17
|
-
import { s as Z, c as be, i as z, d as ga, e as ke, f as va, g as Ee, h as Ia, j as ya, a as K, u as Ta } from "./calendar.DrP5wyvL.js";
|
|
18
|
-
import { e as P } from "./index.B_EJflcs.js";
|
|
19
|
-
import { e as Se } from "./index.Z84QE0E2.js";
|
|
20
|
-
import { _ as Pe } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
21
|
-
import { E as Ra, F as ba } from "./error-message.DCScf_vk.js";
|
|
22
|
-
import "../assets/date-range-picker.css";
|
|
23
|
-
function Oe(e) {
|
|
24
|
-
ee(1, arguments);
|
|
25
|
-
var n = re(e);
|
|
26
|
-
return n.setMilliseconds(0), n;
|
|
27
|
-
}
|
|
28
|
-
function we(e, n) {
|
|
29
|
-
ee(2, arguments);
|
|
30
|
-
var d = Oe(e), c = Oe(n);
|
|
31
|
-
return d.getTime() === c.getTime();
|
|
32
|
-
}
|
|
33
|
-
function ka(e, n) {
|
|
34
|
-
ee(2, arguments);
|
|
35
|
-
var d = re(e), c = me(n);
|
|
36
|
-
return d.setHours(c), d;
|
|
37
|
-
}
|
|
38
|
-
function Ea(e, n) {
|
|
39
|
-
ee(2, arguments);
|
|
40
|
-
var d = re(e), c = me(n);
|
|
41
|
-
return d.setMinutes(c), d;
|
|
42
|
-
}
|
|
43
|
-
function Sa(e, n) {
|
|
44
|
-
ee(2, arguments);
|
|
45
|
-
var d = re(e), c = me(n);
|
|
46
|
-
return d.setSeconds(c), d;
|
|
47
|
-
}
|
|
48
|
-
const Oa = ({
|
|
49
|
-
firstDayOfWeek: e,
|
|
50
|
-
min: n,
|
|
51
|
-
max: d
|
|
52
|
-
}) => ({ getGranularCalendarLimits: (l) => {
|
|
53
|
-
let f = Z(n), t = P(d);
|
|
54
|
-
if ((l == null ? void 0 : l.type) === "weekly") {
|
|
55
|
-
if (l.earliest)
|
|
56
|
-
f = Z(l.earliest);
|
|
57
|
-
else {
|
|
58
|
-
const i = be(f, { weekStartsOn: e });
|
|
59
|
-
z(f, i) || (f = Z(ga(ke(f, { weekStartsOn: e }), 1)));
|
|
60
|
-
}
|
|
61
|
-
if (l.latest)
|
|
62
|
-
t = P(l.latest);
|
|
63
|
-
else {
|
|
64
|
-
const i = ke(t, { weekStartsOn: e });
|
|
65
|
-
z(t, i) || (t = P(va(be(t, { weekStartsOn: e }), 1)));
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
if ((l == null ? void 0 : l.type) === "monthly") {
|
|
69
|
-
if (l.earliest)
|
|
70
|
-
f = Z(l.earliest);
|
|
71
|
-
else {
|
|
72
|
-
const i = Ee(f);
|
|
73
|
-
z(f, i) || (f = Ee(Ia(f, 1)));
|
|
74
|
-
}
|
|
75
|
-
if (l.latest)
|
|
76
|
-
t = P(l.latest);
|
|
77
|
-
else {
|
|
78
|
-
const i = Se(t);
|
|
79
|
-
z(t, i) || (t = Se(ya(t, 1)));
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
return { min: f, max: t };
|
|
83
|
-
} }), wa = () => {
|
|
84
|
-
const e = ne({
|
|
85
|
-
daily: null,
|
|
86
|
-
weekly: null,
|
|
87
|
-
monthly: null
|
|
88
|
-
});
|
|
89
|
-
return {
|
|
90
|
-
savedRanges: e,
|
|
91
|
-
saveRange: (c, l) => {
|
|
92
|
-
e[c] = l;
|
|
93
|
-
},
|
|
94
|
-
resetSavedRanges: () => {
|
|
95
|
-
e.daily = null, e.weekly = null, e.monthly = null;
|
|
96
|
-
}
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
|
-
var p = /* @__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))(p || {});
|
|
100
|
-
const Ma = /[\d]/, ha = /^\d{2}$/, _a = /^\d{2}:\d{2}$/, Ca = (e) => {
|
|
101
|
-
const { selectionStart: n } = e.target, d = Ma.test(e.key) || e.key === "Backspace", c = [1, 2, 4, 5].includes(n) && e.key === ":";
|
|
102
|
-
!d && !c && e.preventDefault();
|
|
103
|
-
}, Me = (e) => {
|
|
104
|
-
if (!e)
|
|
105
|
-
return e;
|
|
106
|
-
let n = e;
|
|
107
|
-
if (n.length === 1 && parseInt(e, 10) > 2)
|
|
108
|
-
return `0${n}:`;
|
|
109
|
-
const [d, c] = n.slice(-2);
|
|
110
|
-
return [2, 5].includes(n.length) && c === ":" && (n = `${n.slice(0, n.length - 2)}0${d}`), (ha.test(n) || _a.test(n)) && (n += ":"), n;
|
|
111
|
-
}, he = {
|
|
112
|
-
"en-US": {
|
|
113
|
-
customRange: "Custom range",
|
|
114
|
-
daily: "Daily",
|
|
115
|
-
dateFrom: "Date from",
|
|
116
|
-
dateTo: "Date to",
|
|
117
|
-
lastMonth: "Last month",
|
|
118
|
-
lastSevenDays: "Last 7 days",
|
|
119
|
-
lastThreeMonths: "Last three months",
|
|
120
|
-
monthly: "Monthly",
|
|
121
|
-
timeFrom: "Time from",
|
|
122
|
-
timeTo: "Time to",
|
|
123
|
-
weekly: "Weekly"
|
|
124
|
-
}
|
|
125
|
-
}, _e = 300, Ce = "customRange", Fe = "daily", Fa = Ae({
|
|
126
|
-
i18n: { messages: he },
|
|
127
|
-
name: "date-range-picker-calendar",
|
|
128
|
-
components: {
|
|
129
|
-
BentoDropdown: ca,
|
|
130
|
-
BentoInputField: ma,
|
|
131
|
-
BentoSegmentedControl: pa,
|
|
132
|
-
BentoTypography: Ne,
|
|
133
|
-
Calendar: K
|
|
134
|
-
},
|
|
135
|
-
props: {
|
|
136
|
-
/**
|
|
137
|
-
* Allows user to enter time values in the form
|
|
138
|
-
*/
|
|
139
|
-
allowTimeInput: { type: Boolean, default: !1 },
|
|
140
|
-
/**
|
|
141
|
-
* Ranges form persistance data
|
|
142
|
-
*/
|
|
143
|
-
dateFormData: {
|
|
144
|
-
type: Object,
|
|
145
|
-
default: () => ({ startDate: void 0, endDate: void 0, startTime: void 0, endTime: void 0 })
|
|
146
|
-
},
|
|
147
|
-
/**
|
|
148
|
-
* Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
|
|
149
|
-
*/
|
|
150
|
-
firstDayOfWeek: K.props.firstDayOfWeek,
|
|
151
|
-
/**
|
|
152
|
-
* A list of available granularities.
|
|
153
|
-
* If present, the date picker will display a segmented control to change granularity.
|
|
154
|
-
*/
|
|
155
|
-
granularities: {
|
|
156
|
-
type: Array,
|
|
157
|
-
default: null
|
|
158
|
-
},
|
|
159
|
-
/**
|
|
160
|
-
* Indicate if a date should be disabled or not
|
|
161
|
-
*/
|
|
162
|
-
isDateDisabled: K.props.isDateDisabled,
|
|
163
|
-
/**
|
|
164
|
-
* Set a maximum number of dates to be selectable by the range.
|
|
165
|
-
*/
|
|
166
|
-
maxRange: K.props.maxRange,
|
|
167
|
-
/**
|
|
168
|
-
* Sets a minimum limit for selectable dates - dates before `min` will not be selectable
|
|
169
|
-
*/
|
|
170
|
-
min: K.props.min,
|
|
171
|
-
/**
|
|
172
|
-
* Sets a maximum limit for selectable dates - dates after `max` will not be selectable
|
|
173
|
-
*/
|
|
174
|
-
max: K.props.max,
|
|
175
|
-
/**
|
|
176
|
-
* Number of months rendered on pane
|
|
177
|
-
*/
|
|
178
|
-
numberOfMonths: K.props.numberOfMonths,
|
|
179
|
-
/**
|
|
180
|
-
* Displays the end date's month when the calendar is opened. Defaults to false i.e. the start date's month is displayed.
|
|
181
|
-
*/
|
|
182
|
-
showEndDateOnOpen: { type: Boolean, default: !1 },
|
|
183
|
-
/**
|
|
184
|
-
* Enables the custom range selector.
|
|
185
|
-
* If provided, must be an array that sets the custom range dropdown items. Items are of the structure:
|
|
186
|
-
* `label` - label of custom range item.
|
|
187
|
-
* `value` - a unique key of the custom range item.
|
|
188
|
-
* `data` - an object `{ startDate: Date; endDate: Date }` to set the date picker range to upon selecting.
|
|
189
|
-
*/
|
|
190
|
-
quickSelectRanges: {
|
|
191
|
-
type: Array,
|
|
192
|
-
default: void 0
|
|
193
|
-
},
|
|
194
|
-
/**
|
|
195
|
-
* Selected date
|
|
196
|
-
*/
|
|
197
|
-
value: { type: Object, default: void 0 }
|
|
198
|
-
},
|
|
199
|
-
emits: [
|
|
200
|
-
p.CUSTOM_RANGE,
|
|
201
|
-
p.INPUT,
|
|
202
|
-
p.ERROR,
|
|
203
|
-
p.FORM_DATE,
|
|
204
|
-
p.START_DATE_SELECTED
|
|
205
|
-
],
|
|
206
|
-
setup(e, { emit: n, slots: d }) {
|
|
207
|
-
var ge, ve, Ie;
|
|
208
|
-
const { locale: c, t: l } = De({ messages: he }), f = { de: ce, enUS: $, fr: pe }, t = ne({
|
|
209
|
-
startDate: (ge = e.value) == null ? void 0 : ge.startDate,
|
|
210
|
-
endDate: (ve = e.value) == null ? void 0 : ve.endDate,
|
|
211
|
-
...e.granularities ? {
|
|
212
|
-
granularity: ((Ie = e.value) == null ? void 0 : Ie.granularity) || Fe
|
|
213
|
-
} : {}
|
|
214
|
-
}), i = M(
|
|
215
|
-
() => {
|
|
216
|
-
var a, o;
|
|
217
|
-
return ((o = (a = e == null ? void 0 : e.quickSelectRanges) == null ? void 0 : a.find(({ data: s }) => e.allowTimeInput ? we(s.startDate, t.startDate) && we(s.endDate, t.endDate) : z(s.startDate, t.startDate) && z(s.endDate, t.endDate))) == null ? void 0 : o.value) ?? Ce;
|
|
218
|
-
}
|
|
219
|
-
), b = M(() => ({
|
|
220
|
-
"b-date-range-picker-calendar__form-input-wrapper": e.allowTimeInput
|
|
221
|
-
})), T = M(() => [
|
|
222
|
-
{ label: l("customRange"), value: Ce },
|
|
223
|
-
...e.quickSelectRanges
|
|
224
|
-
]), v = M(
|
|
225
|
-
() => {
|
|
226
|
-
var a;
|
|
227
|
-
return ((a = e.granularities) == null ? void 0 : a.find(({ type: o }) => o === t.granularity)) || null;
|
|
228
|
-
}
|
|
229
|
-
), g = M(
|
|
230
|
-
() => e.granularities.map(({ type: a, disabled: o }) => ({
|
|
231
|
-
label: l(a),
|
|
232
|
-
value: a,
|
|
233
|
-
disabled: o
|
|
234
|
-
}))
|
|
235
|
-
), { getGranularCalendarLimits: C } = Oa(e), u = M(
|
|
236
|
-
() => e.granularities ? C(v.value) : { min: Z(e.min), max: P(e.max) }
|
|
237
|
-
), {
|
|
238
|
-
adjustDateForMonthly: k,
|
|
239
|
-
adjustDateForWeekly: B,
|
|
240
|
-
adjustStartDateInputForWeekly: oe,
|
|
241
|
-
adjustEndDateInputForWeekly: I,
|
|
242
|
-
adjustStartDateInputForMonthly: se,
|
|
243
|
-
adjustEndDateInputForMonthly: le
|
|
244
|
-
} = Ta(e.firstDayOfWeek), { savedRanges: w, saveRange: fe, resetSavedRanges: ie } = wa(), E = (a) => a ? x(a, y.NUMERIC_DATE_YEAR_FIRST, {
|
|
245
|
-
locale: f[c.value.substring(0, 2)] || $
|
|
246
|
-
}) : "", J = (a) => a ? x(a, y.HOUR_MINUTE_SECONDS, {
|
|
247
|
-
locale: f[c.value.substring(0, 2)] || $
|
|
248
|
-
}) : "", V = W(!1), L = W(!1), Y = W(!1), D = W(!1), r = ne({
|
|
249
|
-
startDate: e.dateFormData.startDate,
|
|
250
|
-
endDate: e.dateFormData.endDate,
|
|
251
|
-
startTime: e.dateFormData.startTime,
|
|
252
|
-
endTime: e.dateFormData.endTime
|
|
253
|
-
}), F = (a) => /^(?:[01]\d|2[01234]):(?:[012345]\d):(?:[012345]\d)$/.test(a), U = (a, o) => {
|
|
254
|
-
if (!o || !F(o))
|
|
255
|
-
return a;
|
|
256
|
-
let s = new Date(a);
|
|
257
|
-
const [m, Ze, xe] = o.split(":");
|
|
258
|
-
return s = ka(s, parseInt(m, 10)), s = Ea(s, parseInt(Ze, 10)), s = Sa(s, parseInt(xe, 10)), s;
|
|
259
|
-
}, $e = (a) => {
|
|
260
|
-
t.startDate = U(a.startDate, r.startTime), t.endDate = U(a.endDate, r.endTime), e.granularities && ie(), n(p.INPUT, {
|
|
261
|
-
...t,
|
|
262
|
-
range: i.value
|
|
263
|
-
});
|
|
264
|
-
}, Q = (a) => {
|
|
265
|
-
const o = (m) => e.min && m <= e.min || e.max && m >= e.max ? !1 : e.isDateDisabled ? !e.isDateDisabled(m) : !0;
|
|
266
|
-
return /^\d{4}-(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01])$/.test(a) && o(new Date(a));
|
|
267
|
-
};
|
|
268
|
-
ea(() => {
|
|
269
|
-
e.dateFormData.startDate && !Q(e.dateFormData.startDate) ? V.value = !0 : (V.value = !1, Y.value = !1), e.dateFormData.endDate && !Q(e.dateFormData.endDate) ? L.value = !0 : (L.value = !1, D.value = !1);
|
|
270
|
-
});
|
|
271
|
-
const Be = (a) => {
|
|
272
|
-
var o;
|
|
273
|
-
r.startDate = E(a), r.startTime ? Y.value && (r.startTime = (o = e.dateFormData) == null ? void 0 : o.startTime) : r.startTime = J(a), V.value = !1, Y.value = !1, n(p.START_DATE_SELECTED, a);
|
|
274
|
-
}, Ve = (a) => {
|
|
275
|
-
var o;
|
|
276
|
-
r.endDate = E(a), r.endTime ? D.value && (r.endTime = (o = e.dateFormData) == null ? void 0 : o.endTime) : r.endTime = J(P(a)), L.value = !1, D.value = !1;
|
|
277
|
-
}, ae = (a) => {
|
|
278
|
-
const o = e.value[a];
|
|
279
|
-
if (o)
|
|
280
|
-
return o;
|
|
281
|
-
if (e.dateFormData[a] && Q(e.dateFormData[a]))
|
|
282
|
-
return new Date(e.dateFormData[a]);
|
|
283
|
-
}, Le = te((a) => {
|
|
284
|
-
var o;
|
|
285
|
-
if (Q(a)) {
|
|
286
|
-
let s = a;
|
|
287
|
-
switch (V.value = !1, (o = v.value) == null ? void 0 : o.type) {
|
|
288
|
-
case "weekly":
|
|
289
|
-
s = oe(
|
|
290
|
-
a,
|
|
291
|
-
E,
|
|
292
|
-
u.value.min,
|
|
293
|
-
u.value.max
|
|
294
|
-
), r.startDate = s;
|
|
295
|
-
break;
|
|
296
|
-
case "monthly":
|
|
297
|
-
s = se(
|
|
298
|
-
a,
|
|
299
|
-
E,
|
|
300
|
-
u.value.min,
|
|
301
|
-
u.value.max
|
|
302
|
-
), r.startDate = s;
|
|
303
|
-
break;
|
|
304
|
-
}
|
|
305
|
-
t.startDate = U(new Date(s), r.startTime);
|
|
306
|
-
const m = ae("endDate");
|
|
307
|
-
n(p.FORM_DATE, {
|
|
308
|
-
startDate: new Date(s),
|
|
309
|
-
endDate: m
|
|
310
|
-
}), n(p.INPUT, {
|
|
311
|
-
startDate: new Date(s),
|
|
312
|
-
endDate: m,
|
|
313
|
-
range: i.value
|
|
314
|
-
});
|
|
315
|
-
} else
|
|
316
|
-
V.value = !0, n(p.ERROR, { ...r });
|
|
317
|
-
}, _e), Ye = (a) => {
|
|
318
|
-
r.startDate = Re(a), Le(r.startDate);
|
|
319
|
-
}, Ke = te((a) => {
|
|
320
|
-
var o;
|
|
321
|
-
if (Q(a)) {
|
|
322
|
-
let s = a;
|
|
323
|
-
switch (L.value = !1, (o = v.value) == null ? void 0 : o.type) {
|
|
324
|
-
case "weekly":
|
|
325
|
-
s = I(
|
|
326
|
-
a,
|
|
327
|
-
E,
|
|
328
|
-
u.value.min,
|
|
329
|
-
u.value.max
|
|
330
|
-
), r.endDate = s;
|
|
331
|
-
break;
|
|
332
|
-
case "monthly":
|
|
333
|
-
s = le(
|
|
334
|
-
a,
|
|
335
|
-
E,
|
|
336
|
-
u.value.min,
|
|
337
|
-
u.value.max
|
|
338
|
-
), r.endDate = s;
|
|
339
|
-
break;
|
|
340
|
-
}
|
|
341
|
-
t.endDate = U(new Date(s), r.endTime);
|
|
342
|
-
const m = ae("startDate");
|
|
343
|
-
n(p.FORM_DATE, {
|
|
344
|
-
startDate: m,
|
|
345
|
-
endDate: new Date(a)
|
|
346
|
-
}), n(p.INPUT, {
|
|
347
|
-
startDate: m,
|
|
348
|
-
endDate: new Date(a),
|
|
349
|
-
range: i.value
|
|
350
|
-
});
|
|
351
|
-
} else
|
|
352
|
-
L.value = !0, n(p.ERROR, { ...r });
|
|
353
|
-
}, _e), Ge = (a) => {
|
|
354
|
-
r.endDate = Re(a), Ke(r.endDate);
|
|
355
|
-
}, He = (a) => {
|
|
356
|
-
da(a);
|
|
357
|
-
}, We = te((a) => {
|
|
358
|
-
if (F(a)) {
|
|
359
|
-
Y.value = !1, t.startDate = U(t.startDate, a);
|
|
360
|
-
const o = ae("endDate");
|
|
361
|
-
n(p.FORM_DATE, {
|
|
362
|
-
startDate: new Date(t.startDate),
|
|
363
|
-
endDate: o,
|
|
364
|
-
startTime: a,
|
|
365
|
-
endTime: e.dateFormData.endTime
|
|
366
|
-
}), n(p.INPUT, {
|
|
367
|
-
startDate: new Date(t.startDate),
|
|
368
|
-
endDate: o,
|
|
369
|
-
range: i.value
|
|
370
|
-
});
|
|
371
|
-
} else
|
|
372
|
-
Y.value = !0, n(p.ERROR, { ...r });
|
|
373
|
-
}), qe = te((a) => {
|
|
374
|
-
if (F(a)) {
|
|
375
|
-
D.value = !1, t.endDate = U(t.endDate, a);
|
|
376
|
-
const o = ae("startDate");
|
|
377
|
-
n(p.FORM_DATE, {
|
|
378
|
-
startDate: o,
|
|
379
|
-
endDate: new Date(t.endDate),
|
|
380
|
-
startTime: e.dateFormData.startTime,
|
|
381
|
-
endTime: a
|
|
382
|
-
}), n(p.INPUT, {
|
|
383
|
-
startDate: o,
|
|
384
|
-
endDate: new Date(t.endDate),
|
|
385
|
-
range: i.value
|
|
386
|
-
});
|
|
387
|
-
} else
|
|
388
|
-
D.value = !0, n(p.ERROR, { ...r });
|
|
389
|
-
}), je = (a) => {
|
|
390
|
-
r.startTime = Me(a), We(r.startTime);
|
|
391
|
-
}, ze = (a) => {
|
|
392
|
-
r.endTime = Me(a), qe(r.endTime);
|
|
393
|
-
}, Je = (a) => {
|
|
394
|
-
Ca(a);
|
|
395
|
-
}, q = (a, o, s) => {
|
|
396
|
-
t.startDate = a, t.endDate = o, s && (t.granularity = s);
|
|
397
|
-
}, Qe = (a) => {
|
|
398
|
-
var s;
|
|
399
|
-
const o = (s = e.quickSelectRanges) == null ? void 0 : s.find(({ value: m }) => m === a);
|
|
400
|
-
if (o) {
|
|
401
|
-
ie();
|
|
402
|
-
const m = o.data;
|
|
403
|
-
r.startDate = E(m.startDate), r.endDate = E(m.endDate), q(m.startDate, m.endDate), e.granularities && (t.granularity = m.granularity || Fe), r.startTime || (r.startTime = J(P(m.startDate))), r.endTime || (r.endTime = J(P(m.endDate))), n(p.CUSTOM_RANGE, { ...o.data, range: o.value });
|
|
404
|
-
}
|
|
405
|
-
}, Xe = (a) => {
|
|
406
|
-
const o = t.granularity;
|
|
407
|
-
if (t.granularity = a, o && fe(o, structuredClone(aa(t))), t.startDate && t.endDate) {
|
|
408
|
-
switch (a) {
|
|
409
|
-
case "monthly": {
|
|
410
|
-
if (w.monthly) {
|
|
411
|
-
q(w.monthly.startDate, w.monthly.endDate, a);
|
|
412
|
-
break;
|
|
413
|
-
}
|
|
414
|
-
const { startDate: s, endDate: m } = k(
|
|
415
|
-
t.startDate,
|
|
416
|
-
t.endDate,
|
|
417
|
-
u.value.min,
|
|
418
|
-
u.value.max
|
|
419
|
-
);
|
|
420
|
-
q(s, m, a);
|
|
421
|
-
break;
|
|
422
|
-
}
|
|
423
|
-
case "weekly": {
|
|
424
|
-
if (w.weekly) {
|
|
425
|
-
q(w.weekly.startDate, w.weekly.endDate, a);
|
|
426
|
-
break;
|
|
427
|
-
}
|
|
428
|
-
const { startDate: s, endDate: m } = B(
|
|
429
|
-
t.startDate,
|
|
430
|
-
t.endDate,
|
|
431
|
-
u.value.min,
|
|
432
|
-
u.value.max
|
|
433
|
-
);
|
|
434
|
-
q(s, m, a);
|
|
435
|
-
break;
|
|
436
|
-
}
|
|
437
|
-
case "daily":
|
|
438
|
-
w.daily && q(w.daily.startDate, w.daily.endDate, a);
|
|
439
|
-
break;
|
|
440
|
-
}
|
|
441
|
-
r.startDate = E(t.startDate), r.endDate = E(t.endDate), n(p.INPUT, {
|
|
442
|
-
...t,
|
|
443
|
-
range: i.value
|
|
444
|
-
});
|
|
445
|
-
}
|
|
446
|
-
};
|
|
447
|
-
return {
|
|
448
|
-
// Values
|
|
449
|
-
internalRangeDate: t,
|
|
450
|
-
dateTextInput: r,
|
|
451
|
-
endDateError: L,
|
|
452
|
-
endTimeError: D,
|
|
453
|
-
granularityItems: g,
|
|
454
|
-
selectedGranularity: v,
|
|
455
|
-
computedMinMax: u,
|
|
456
|
-
selectedRangeSelectorValue: i,
|
|
457
|
-
startDateError: V,
|
|
458
|
-
startTimeError: Y,
|
|
459
|
-
quickSelectRangeDefaultItems: T,
|
|
460
|
-
formInputWrapperConditionalClasses: b,
|
|
461
|
-
// Methods
|
|
462
|
-
hasSlot: fa(d),
|
|
463
|
-
t: l,
|
|
464
|
-
// Events
|
|
465
|
-
onDateInput: $e,
|
|
466
|
-
onDateInputKeyDown: He,
|
|
467
|
-
onEndDateInput: Ge,
|
|
468
|
-
onEndDateSelected: Ve,
|
|
469
|
-
onEndTimeInput: ze,
|
|
470
|
-
onGranularityInput: Xe,
|
|
471
|
-
onRangeSelectorInput: Qe,
|
|
472
|
-
onStartDateInput: Ye,
|
|
473
|
-
onStartDateSelected: Be,
|
|
474
|
-
onStartTimeInput: je,
|
|
475
|
-
onTimeInputKeyDown: Je
|
|
476
|
-
};
|
|
477
|
-
}
|
|
478
|
-
}), Ua = { class: "b-date-range-picker-calendar" }, Aa = { class: "b-date-range-picker-calendar__form-container" }, Na = { class: "b-date-range-picker-calendar__form" }, Pa = { key: 0 }, $a = { class: "b-date-range-picker-calendar__calendars-container" };
|
|
479
|
-
function Ba(e, n, d, c, l, f) {
|
|
480
|
-
const t = S("bento-dropdown"), i = S("bento-segmented-control"), b = S("bento-typography"), T = S("bento-input-field"), v = S("calendar");
|
|
481
|
-
return R(), de("div", Ua, [
|
|
482
|
-
A("div", Aa, [
|
|
483
|
-
A("div", Na, [
|
|
484
|
-
e.hasSlot("title") ? ye(e.$slots, "title", { key: 0 }, void 0, !0) : O("", !0),
|
|
485
|
-
e.quickSelectRanges ? (R(), _(t, {
|
|
486
|
-
key: 1,
|
|
487
|
-
"aria-label": e.t("customRange"),
|
|
488
|
-
items: e.quickSelectRangeDefaultItems,
|
|
489
|
-
value: e.selectedRangeSelectorValue,
|
|
490
|
-
onInput: e.onRangeSelectorInput
|
|
491
|
-
}, null, 8, ["aria-label", "items", "value", "onInput"])) : O("", !0),
|
|
492
|
-
e.granularities ? (R(), _(i, {
|
|
493
|
-
key: 2,
|
|
494
|
-
items: e.granularityItems,
|
|
495
|
-
"model-value": e.internalRangeDate.granularity,
|
|
496
|
-
"full-width": "",
|
|
497
|
-
"onUpdate:modelValue": e.onGranularityInput
|
|
498
|
-
}, null, 8, ["items", "model-value", "onUpdate:modelValue"])) : O("", !0),
|
|
499
|
-
A("div", null, [
|
|
500
|
-
H(b, {
|
|
501
|
-
stronger: "",
|
|
502
|
-
el: "span",
|
|
503
|
-
class: "b-date-range-picker-calendar__label"
|
|
504
|
-
}, {
|
|
505
|
-
default: N(() => [
|
|
506
|
-
G(" From ")
|
|
507
|
-
]),
|
|
508
|
-
_: 1
|
|
509
|
-
}),
|
|
510
|
-
A("div", {
|
|
511
|
-
class: ue(e.formInputWrapperConditionalClasses)
|
|
512
|
-
}, [
|
|
513
|
-
H(T, {
|
|
514
|
-
"aria-label": e.t("dateFrom"),
|
|
515
|
-
value: e.dateTextInput.startDate,
|
|
516
|
-
error: e.startDateError,
|
|
517
|
-
class: "b-date-range-picker-calendar__form-input",
|
|
518
|
-
onInput: e.onStartDateInput,
|
|
519
|
-
onKeydown: e.onDateInputKeyDown
|
|
520
|
-
}, {
|
|
521
|
-
description: N(() => [
|
|
522
|
-
G("YYYY-MM-DD")
|
|
523
|
-
]),
|
|
524
|
-
_: 1
|
|
525
|
-
}, 8, ["aria-label", "value", "error", "onInput", "onKeydown"]),
|
|
526
|
-
e.allowTimeInput ? (R(), _(T, {
|
|
527
|
-
key: 0,
|
|
528
|
-
"aria-label": e.t("timeFrom"),
|
|
529
|
-
value: e.dateTextInput.startTime,
|
|
530
|
-
error: e.startTimeError,
|
|
531
|
-
class: "b-date-range-picker-calendar__form-input",
|
|
532
|
-
onInput: e.onStartTimeInput,
|
|
533
|
-
onKeydown: e.onTimeInputKeyDown
|
|
534
|
-
}, {
|
|
535
|
-
description: N(() => [
|
|
536
|
-
G("HH:MM:SS")
|
|
537
|
-
]),
|
|
538
|
-
_: 1
|
|
539
|
-
}, 8, ["aria-label", "value", "error", "onInput", "onKeydown"])) : O("", !0)
|
|
540
|
-
], 2)
|
|
541
|
-
]),
|
|
542
|
-
A("div", null, [
|
|
543
|
-
H(b, {
|
|
544
|
-
stronger: "",
|
|
545
|
-
el: "span",
|
|
546
|
-
class: "b-date-range-picker-calendar__label"
|
|
547
|
-
}, {
|
|
548
|
-
default: N(() => [
|
|
549
|
-
G(" To ")
|
|
550
|
-
]),
|
|
551
|
-
_: 1
|
|
552
|
-
}),
|
|
553
|
-
A("div", {
|
|
554
|
-
class: ue(e.formInputWrapperConditionalClasses)
|
|
555
|
-
}, [
|
|
556
|
-
H(T, {
|
|
557
|
-
class: "b-date-range-picker-calendar__form-input",
|
|
558
|
-
"aria-label": e.t("dateTo"),
|
|
559
|
-
value: e.dateTextInput.endDate,
|
|
560
|
-
error: e.endDateError,
|
|
561
|
-
onInput: e.onEndDateInput,
|
|
562
|
-
onKeydown: e.onDateInputKeyDown
|
|
563
|
-
}, {
|
|
564
|
-
description: N(() => [
|
|
565
|
-
G("YYYY-MM-DD")
|
|
566
|
-
]),
|
|
567
|
-
_: 1
|
|
568
|
-
}, 8, ["aria-label", "value", "error", "onInput", "onKeydown"]),
|
|
569
|
-
e.allowTimeInput ? (R(), _(T, {
|
|
570
|
-
key: 0,
|
|
571
|
-
"aria-label": e.t("timeTo"),
|
|
572
|
-
value: e.dateTextInput.endTime,
|
|
573
|
-
error: e.endTimeError,
|
|
574
|
-
class: "b-date-range-picker-calendar__form-input",
|
|
575
|
-
onInput: e.onEndTimeInput,
|
|
576
|
-
onKeydown: e.onTimeInputKeyDown
|
|
577
|
-
}, {
|
|
578
|
-
description: N(() => [
|
|
579
|
-
G("HH:MM:SS")
|
|
580
|
-
]),
|
|
581
|
-
_: 1
|
|
582
|
-
}, 8, ["aria-label", "value", "error", "onInput", "onKeydown"])) : O("", !0)
|
|
583
|
-
], 2)
|
|
584
|
-
])
|
|
585
|
-
]),
|
|
586
|
-
e.hasSlot("actions") ? (R(), de("div", Pa, [
|
|
587
|
-
ye(e.$slots, "actions", {}, void 0, !0)
|
|
588
|
-
])) : O("", !0)
|
|
589
|
-
]),
|
|
590
|
-
A("div", $a, [
|
|
591
|
-
H(v, {
|
|
592
|
-
value: e.value,
|
|
593
|
-
"first-day-of-week": e.firstDayOfWeek,
|
|
594
|
-
"is-date-disabled": e.isDateDisabled,
|
|
595
|
-
"max-range": e.maxRange,
|
|
596
|
-
min: e.computedMinMax.min,
|
|
597
|
-
max: e.computedMinMax.max,
|
|
598
|
-
"number-of-months": e.numberOfMonths,
|
|
599
|
-
"show-end-date-on-open": e.showEndDateOnOpen,
|
|
600
|
-
granularity: e.selectedGranularity,
|
|
601
|
-
"is-range": "",
|
|
602
|
-
onInput: e.onDateInput,
|
|
603
|
-
onStartDateSelected: e.onStartDateSelected,
|
|
604
|
-
onEndDateSelected: e.onEndDateSelected
|
|
605
|
-
}, 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"])
|
|
606
|
-
])
|
|
607
|
-
]);
|
|
608
|
-
}
|
|
609
|
-
const h = /* @__PURE__ */ Pe(Fa, [["render", Ba], ["__scopeId", "data-v-78a26328"]]), Va = ({
|
|
610
|
-
datePickerValue: e,
|
|
611
|
-
isDateIncorrect: n
|
|
612
|
-
}) => {
|
|
613
|
-
var v, g, C, u;
|
|
614
|
-
const { locale: d, t: c } = De(), l = { de: ce, enUS: $, fr: pe }, f = (k) => !!k && !isNaN(k.getTime()), t = (k, B) => f(k) ? x(k, B, {
|
|
615
|
-
locale: l[d.value.substring(0, 2)] || $
|
|
616
|
-
}) : void 0, i = ne({
|
|
617
|
-
startDate: t((v = e.value) == null ? void 0 : v.startDate, y.NUMERIC_DATE_YEAR_FIRST),
|
|
618
|
-
endDate: t((g = e.value) == null ? void 0 : g.endDate, y.NUMERIC_DATE_YEAR_FIRST),
|
|
619
|
-
startTime: t((C = e.value) == null ? void 0 : C.startDate, y.HOUR_MINUTE_SECONDS),
|
|
620
|
-
endTime: t((u = e.value) == null ? void 0 : u.endDate, y.HOUR_MINUTE_SECONDS)
|
|
621
|
-
});
|
|
622
|
-
return {
|
|
623
|
-
// Values
|
|
624
|
-
dateDisplayValue: M(() => {
|
|
625
|
-
if (n.value)
|
|
626
|
-
return `${i.startDate || ""} - ${i.endDate || ""}`;
|
|
627
|
-
if (!e.value || !e.value.startDate && !e.value.endDate)
|
|
628
|
-
return c("selectDateRange");
|
|
629
|
-
const { startDate: k, endDate: B } = i;
|
|
630
|
-
return `${t(new Date(k), y.FULL_DATE_MONTH_FIRST)} - ${t(
|
|
631
|
-
new Date(B),
|
|
632
|
-
y.FULL_DATE_MONTH_FIRST
|
|
633
|
-
)}`;
|
|
634
|
-
}),
|
|
635
|
-
textInputDisplayValue: i,
|
|
636
|
-
// Methods
|
|
637
|
-
formatTextInputDisplayValue: () => ""
|
|
638
|
-
};
|
|
639
|
-
};
|
|
640
|
-
var j = /* @__PURE__ */ ((e) => (e.INPUT = "input", e))(j || {});
|
|
641
|
-
const Ue = {
|
|
642
|
-
"en-US": {
|
|
643
|
-
dateRangePicker: "Date range picker {name}",
|
|
644
|
-
provideDateInAFormat: "Provide date in a YYYY-MM-DD format",
|
|
645
|
-
selectDate: "Select a date",
|
|
646
|
-
selectDateRange: "Select a date range",
|
|
647
|
-
selectedDateIsNotAvailable: "Selected date is not available"
|
|
648
|
-
}
|
|
649
|
-
}, La = Ae({
|
|
650
|
-
i18n: { messages: Ue },
|
|
651
|
-
name: "bento-date-range-picker",
|
|
652
|
-
components: {
|
|
653
|
-
BentoTypography: Ne,
|
|
654
|
-
BentoPopover: la,
|
|
655
|
-
DateRangePickerCalendar: h,
|
|
656
|
-
DropdownInputDefault: ia,
|
|
657
|
-
ErrorMessage: Ra,
|
|
658
|
-
FieldLabel: ba
|
|
659
|
-
},
|
|
660
|
-
directives: { BentoClickOutsideDirective: Da },
|
|
661
|
-
props: {
|
|
662
|
-
/**
|
|
663
|
-
* Allows user to enter time values in the form
|
|
664
|
-
*/
|
|
665
|
-
allowTimeInput: { type: Boolean, default: !1 },
|
|
666
|
-
/**
|
|
667
|
-
* Descriptive supporting text visbile underneath the dropdown.
|
|
668
|
-
*/
|
|
669
|
-
description: { type: String, default: void 0 },
|
|
670
|
-
/**
|
|
671
|
-
* Disables dropdown functionality.
|
|
672
|
-
*/
|
|
673
|
-
disabled: { type: Boolean, default: !1 },
|
|
674
|
-
/**
|
|
675
|
-
* Displays component in an error state with an error message
|
|
676
|
-
*/
|
|
677
|
-
errorMessage: { type: String, default: null },
|
|
678
|
-
/**
|
|
679
|
-
* Allows user to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
|
|
680
|
-
*/
|
|
681
|
-
firstDayOfWeek: h.props.firstDayOfWeek,
|
|
682
|
-
/**
|
|
683
|
-
* A list of available granularities.
|
|
684
|
-
* If present, the date picker will display a segmented control to change granularity.
|
|
685
|
-
*/
|
|
686
|
-
granularities: h.props.granularities,
|
|
687
|
-
/**
|
|
688
|
-
* Indicate if a date should be disabled or not
|
|
689
|
-
*/
|
|
690
|
-
isDateDisabled: h.props.isDateDisabled,
|
|
691
|
-
/**
|
|
692
|
-
* Text that is displayed as a label above the element.
|
|
693
|
-
*/
|
|
694
|
-
label: { type: String, default: void 0 },
|
|
695
|
-
/**
|
|
696
|
-
* Upon opening date range picker, end date's month will be pre-selected.
|
|
697
|
-
*/
|
|
698
|
-
showEndDateOnOpen: { type: Boolean, default: !1 },
|
|
699
|
-
/**
|
|
700
|
-
* Highlights the dropdown is optional.
|
|
701
|
-
*/
|
|
702
|
-
optional: { type: Boolean, default: !1 },
|
|
703
|
-
/**
|
|
704
|
-
* The Boolean readonly property, when present, makes the element not mutable, meaning the user can not edit the date range picker.
|
|
705
|
-
*/
|
|
706
|
-
readonly: { type: Boolean, default: !1 },
|
|
707
|
-
/**
|
|
708
|
-
* Highlights the dropdown is required.
|
|
709
|
-
*/
|
|
710
|
-
required: { type: Boolean, default: !1 },
|
|
711
|
-
/**
|
|
712
|
-
* Adds a info icon next to the label to display the passed tooltip message.
|
|
713
|
-
*/
|
|
714
|
-
tooltipText: { type: String, default: null },
|
|
715
|
-
/**
|
|
716
|
-
* Enables the range selector.
|
|
717
|
-
* If provided, must be an array that sets the custom range dropdown items. Items are of the structure:
|
|
718
|
-
* `label` - label of custom range item.
|
|
719
|
-
* `value` - a unique key of the custom range item.
|
|
720
|
-
* `data` - an object `{ startDate: Date; endDate: Date }` to set the date picker range to upon selecting.
|
|
721
|
-
*/
|
|
722
|
-
quickSelectRanges: {
|
|
723
|
-
type: Array,
|
|
724
|
-
default: void 0
|
|
725
|
-
},
|
|
726
|
-
/**
|
|
727
|
-
* Set a maximum number of dates to be selectable by the range.
|
|
728
|
-
*/
|
|
729
|
-
maxRange: h.props.maxRange,
|
|
730
|
-
/**
|
|
731
|
-
* Sets a minimum limit for selectable dates - dates before `min` will not be selectable
|
|
732
|
-
*/
|
|
733
|
-
min: h.props.min,
|
|
734
|
-
/**
|
|
735
|
-
* Sets a maximum limit for selectable dates - dates after `max` will not be selectable
|
|
736
|
-
*/
|
|
737
|
-
max: h.props.max,
|
|
738
|
-
/**
|
|
739
|
-
* Number of months rendered on pane
|
|
740
|
-
*/
|
|
741
|
-
numberOfMonths: h.props.numberOfMonths,
|
|
742
|
-
/**
|
|
743
|
-
* Selected date
|
|
744
|
-
*/
|
|
745
|
-
value: h.props.value
|
|
746
|
-
},
|
|
747
|
-
emits: [j.INPUT],
|
|
748
|
-
setup(e, { emit: n }) {
|
|
749
|
-
const { locale: d, t: c } = De({ messages: Ue }), l = { de: ce, enUS: $, fr: pe }, f = X("bento-date-range-picker-container"), t = X("bento-date-range-picker-label"), i = X("bento-date-range-picker-description"), b = X("bento-date-range-picker-error"), T = X("bento-date-range-picker-date-error"), v = M(
|
|
750
|
-
() => e.label || c("dateRangePicker", { name: f })
|
|
751
|
-
), g = W(!1), C = W(null), u = W(!1), { isReadOnly: k } = ua(Te(e, "readonly"));
|
|
752
|
-
ta(
|
|
753
|
-
() => e.disabled,
|
|
754
|
-
() => {
|
|
755
|
-
e.disabled && u.value && (u.value = !1);
|
|
756
|
-
}
|
|
757
|
-
);
|
|
758
|
-
const B = M(() => ({
|
|
759
|
-
"b-date-range-picker__description--error": !!e.errorMessage || g.value
|
|
760
|
-
})), { dateDisplayValue: oe, textInputDisplayValue: I, formatTextInputDisplayValue: se } = Va({
|
|
761
|
-
datePickerValue: Te(e, "value"),
|
|
762
|
-
isDateIncorrect: g
|
|
763
|
-
}), le = M(
|
|
764
|
-
() => `${e.description ? i : ""} ${e.errorMessage ? b : ""} ${g.value ? T : ""}`.trim() || null
|
|
765
|
-
);
|
|
766
|
-
return {
|
|
767
|
-
// Refs
|
|
768
|
-
inputContainerRef: C,
|
|
769
|
-
// Values,
|
|
770
|
-
dateDisplayValue: oe,
|
|
771
|
-
datePickerContainerId: f,
|
|
772
|
-
descriptionConditionalClasses: B,
|
|
773
|
-
isDateIncorrect: g,
|
|
774
|
-
isDateRangePickerOpen: u,
|
|
775
|
-
isReadOnly: k,
|
|
776
|
-
labelId: t,
|
|
777
|
-
descriptionId: i,
|
|
778
|
-
dateErrorId: T,
|
|
779
|
-
errorId: b,
|
|
780
|
-
popoverAriaLabel: v,
|
|
781
|
-
ariaDescribedBy: le,
|
|
782
|
-
textInputDisplayValue: I,
|
|
783
|
-
// Events
|
|
784
|
-
closeDateRangePicker: () => {
|
|
785
|
-
u.value = !1;
|
|
786
|
-
},
|
|
787
|
-
clearDateRangePickerValue: async () => {
|
|
788
|
-
g.value && (g.value = !1), n(j.INPUT, null);
|
|
789
|
-
},
|
|
790
|
-
openDateRangePicker: () => {
|
|
791
|
-
u.value = !0, se();
|
|
792
|
-
},
|
|
793
|
-
onRangeSelectorInput: (D) => {
|
|
794
|
-
if (D) {
|
|
795
|
-
const r = (F) => x(F, y.NUMERIC_DATE_YEAR_FIRST, {
|
|
796
|
-
locale: l[d.value.substring(0, 2)] || $
|
|
797
|
-
});
|
|
798
|
-
I.startDate = r(D.startDate), I.endDate = r(D.endDate), n(j.INPUT, D);
|
|
799
|
-
}
|
|
800
|
-
},
|
|
801
|
-
onEnterPressedOverInput: () => {
|
|
802
|
-
g.value || (u.value = !1);
|
|
803
|
-
},
|
|
804
|
-
onDateRangePickerInput: (D) => {
|
|
805
|
-
g.value = !1;
|
|
806
|
-
const r = (F, U) => F ? x(F, U, {
|
|
807
|
-
locale: l[d.value.substring(0, 2)] || $
|
|
808
|
-
}) : void 0;
|
|
809
|
-
I.startDate = r(
|
|
810
|
-
D.startDate,
|
|
811
|
-
y.NUMERIC_DATE_YEAR_FIRST
|
|
812
|
-
), I.endDate = r(D.endDate, y.NUMERIC_DATE_YEAR_FIRST), I.startTime = r(D.startDate, y.HOUR_MINUTE_SECONDS), I.endTime = r(D.endDate, y.HOUR_MINUTE_SECONDS), n(j.INPUT, D);
|
|
813
|
-
},
|
|
814
|
-
onDateRangePickerError: (D) => {
|
|
815
|
-
g.value = !0, I.startDate = D.startDate, I.endDate = D.endDate, n(j.INPUT, { startDate: null, endDate: null });
|
|
816
|
-
},
|
|
817
|
-
onDateRangePickerFormDateInputUpdate: (D) => {
|
|
818
|
-
g.value = !1, D.startTime && (I.startTime = D.startTime), D.endTime && (I.endTime = D.endTime);
|
|
819
|
-
},
|
|
820
|
-
// Translations
|
|
821
|
-
t: c
|
|
822
|
-
};
|
|
823
|
-
}
|
|
824
|
-
}), Ya = { class: "b-date-range-picker" };
|
|
825
|
-
function Ka(e, n, d, c, l, f) {
|
|
826
|
-
const t = S("field-label"), i = S("dropdown-input-default"), b = S("error-message"), T = S("bento-typography"), v = S("date-range-picker-calendar"), g = S("bento-popover"), C = na("bento-click-outside-directive");
|
|
827
|
-
return ra((R(), de("div", Ya, [
|
|
828
|
-
e.label ? (R(), _(t, {
|
|
829
|
-
key: 0,
|
|
830
|
-
id: e.labelId,
|
|
831
|
-
label: e.label,
|
|
832
|
-
"tooltip-text": e.tooltipText,
|
|
833
|
-
optional: e.optional,
|
|
834
|
-
required: e.required
|
|
835
|
-
}, null, 8, ["id", "label", "tooltip-text", "optional", "required"])) : O("", !0),
|
|
836
|
-
A("div", {
|
|
837
|
-
onKeydown: n[0] || (n[0] = oa((...u) => e.onEnterPressedOverInput && e.onEnterPressedOverInput(...u), ["enter"]))
|
|
838
|
-
}, [
|
|
839
|
-
H(i, {
|
|
840
|
-
ref: "inputContainerRef",
|
|
841
|
-
"always-combobox-is-input": "",
|
|
842
|
-
ariaControls: e.datePickerContainerId,
|
|
843
|
-
ariaExpanded: e.isDateRangePickerOpen,
|
|
844
|
-
"aria-labelledby": e.label ? e.labelId : null,
|
|
845
|
-
"aria-describedby": e.ariaDescribedBy,
|
|
846
|
-
disabled: e.disabled,
|
|
847
|
-
"is-invalid": !!e.errorMessage || e.isDateIncorrect,
|
|
848
|
-
open: e.isDateRangePickerOpen,
|
|
849
|
-
"display-value": e.dateDisplayValue,
|
|
850
|
-
readonly: e.isReadOnly,
|
|
851
|
-
onOpen: e.openDateRangePicker,
|
|
852
|
-
onClear: e.clearDateRangePickerValue,
|
|
853
|
-
onClose: e.closeDateRangePicker
|
|
854
|
-
}, null, 8, ["ariaControls", "ariaExpanded", "aria-labelledby", "aria-describedby", "disabled", "is-invalid", "open", "display-value", "readonly", "onOpen", "onClear", "onClose"])
|
|
855
|
-
], 32),
|
|
856
|
-
e.isDateIncorrect ? (R(), _(b, {
|
|
857
|
-
key: 1,
|
|
858
|
-
id: e.dateErrorId,
|
|
859
|
-
"error-message": e.t("provideDateInAFormat"),
|
|
860
|
-
class: "b-date-range-picker__error-message"
|
|
861
|
-
}, null, 8, ["id", "error-message"])) : O("", !0),
|
|
862
|
-
e.errorMessage ? (R(), _(b, {
|
|
863
|
-
key: 2,
|
|
864
|
-
id: e.errorId,
|
|
865
|
-
"error-message": e.errorMessage,
|
|
866
|
-
class: "b-date-range-picker__error-message"
|
|
867
|
-
}, null, 8, ["id", "error-message"])) : O("", !0),
|
|
868
|
-
e.description ? (R(), _(T, {
|
|
869
|
-
key: 3,
|
|
870
|
-
id: e.descriptionId,
|
|
871
|
-
class: ue(["b-date-range-picker__description", e.descriptionConditionalClasses]),
|
|
872
|
-
el: "span"
|
|
873
|
-
}, {
|
|
874
|
-
default: N(() => [
|
|
875
|
-
G(sa(e.description), 1)
|
|
876
|
-
]),
|
|
877
|
-
_: 1
|
|
878
|
-
}, 8, ["id", "class"])) : O("", !0),
|
|
879
|
-
e.inputContainerRef ? (R(), _(g, {
|
|
880
|
-
key: 4,
|
|
881
|
-
id: e.datePickerContainerId,
|
|
882
|
-
class: "b-date-range-picker__container",
|
|
883
|
-
open: e.isDateRangePickerOpen,
|
|
884
|
-
"target-element": e.inputContainerRef,
|
|
885
|
-
"disable-focus-trap": !0,
|
|
886
|
-
"aria-label": e.popoverAriaLabel,
|
|
887
|
-
position: "bottom-start",
|
|
888
|
-
"without-space": "",
|
|
889
|
-
"fit-content": ""
|
|
890
|
-
}, {
|
|
891
|
-
default: N(() => [
|
|
892
|
-
H(v, {
|
|
893
|
-
"allow-time-input": e.allowTimeInput,
|
|
894
|
-
"quick-select-ranges": e.quickSelectRanges,
|
|
895
|
-
value: e.value,
|
|
896
|
-
"first-day-of-week": e.firstDayOfWeek,
|
|
897
|
-
granularities: e.granularities,
|
|
898
|
-
"is-date-disabled": e.isDateDisabled,
|
|
899
|
-
"max-range": e.maxRange,
|
|
900
|
-
min: e.min,
|
|
901
|
-
max: e.max,
|
|
902
|
-
"number-of-months": e.numberOfMonths,
|
|
903
|
-
"show-end-date-on-open": e.showEndDateOnOpen,
|
|
904
|
-
"date-form-data": e.textInputDisplayValue,
|
|
905
|
-
onCustomRange: e.onRangeSelectorInput,
|
|
906
|
-
onInput: e.onDateRangePickerInput,
|
|
907
|
-
onError: e.onDateRangePickerError,
|
|
908
|
-
onFormDate: e.onDateRangePickerFormDateInputUpdate
|
|
909
|
-
}, 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"])
|
|
910
|
-
]),
|
|
911
|
-
_: 1
|
|
912
|
-
}, 8, ["id", "open", "target-element", "aria-label"])) : O("", !0)
|
|
913
|
-
])), [
|
|
914
|
-
[C, e.closeDateRangePicker]
|
|
915
|
-
]);
|
|
916
|
-
}
|
|
917
|
-
const ut = /* @__PURE__ */ Pe(La, [["render", Ka], ["__scopeId", "data-v-64695f82"]]);
|
|
918
|
-
export {
|
|
919
|
-
ut as B,
|
|
920
|
-
h as D,
|
|
921
|
-
j as a
|
|
922
|
-
};
|
|
923
|
-
//# sourceMappingURL=date-range-picker.T10FmcWb.js.map
|