@adyen/bento-vue3 0.9.3
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/components/accordion/accordion.keys.d.ts +1 -0
- package/dist/@types/components/accordion/accordion.types.d.ts +24 -0
- package/dist/@types/components/accordion/accordion.vue.d.ts +57 -0
- package/dist/@types/components/accordion/components/accordion-item.vue.d.ts +35 -0
- package/dist/@types/components/accordion/index.d.ts +3 -0
- package/dist/@types/components/alert/alert.types.d.ts +6 -0
- package/dist/@types/components/alert/alert.vue.d.ts +47 -0
- package/dist/@types/components/alert/index.d.ts +2 -0
- package/dist/@types/components/avatar-image/avatar-image.types.d.ts +10 -0
- package/dist/@types/components/avatar-image/avatar-image.vue.d.ts +55 -0
- package/dist/@types/components/avatar-image/index.d.ts +2 -0
- package/dist/@types/components/badge/badge.types.d.ts +7 -0
- package/dist/@types/components/badge/badge.vue.d.ts +32 -0
- package/dist/@types/components/badge/index.d.ts +2 -0
- package/dist/@types/components/button/button.demo.d.ts +6 -0
- package/dist/@types/components/button/button.types.d.ts +11 -0
- package/dist/@types/components/button/button.vue.d.ts +68 -0
- package/dist/@types/components/button/components/button-actions/button-actions.types.d.ts +28 -0
- package/dist/@types/components/button/components/button-actions/button-actions.vue.d.ts +33 -0
- package/dist/@types/components/button/components/button-actions/index.d.ts +2 -0
- package/dist/@types/components/button/components/button-group.vue.d.ts +9 -0
- package/dist/@types/components/button/components/loading-button/index.d.ts +2 -0
- package/dist/@types/components/button/components/loading-button/loading-button.types.d.ts +9 -0
- package/dist/@types/components/button/components/loading-button/loading-button.vue.d.ts +55 -0
- package/dist/@types/components/button/index.d.ts +5 -0
- package/dist/@types/components/card/card.types.d.ts +8 -0
- package/dist/@types/components/card/card.vue.d.ts +113 -0
- package/dist/@types/components/card/index.d.ts +2 -0
- package/dist/@types/components/checkbox/checkbox.types.d.ts +7 -0
- package/dist/@types/components/checkbox/checkbox.vue.d.ts +80 -0
- package/dist/@types/components/checkbox/components/checkbox-group/checkbox-group.types.d.ts +12 -0
- package/dist/@types/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +67 -0
- package/dist/@types/components/checkbox/components/checkbox-group/index.d.ts +2 -0
- package/dist/@types/components/checkbox/index.d.ts +3 -0
- package/dist/@types/components/click-outside/click-outside.d.ts +13 -0
- package/dist/@types/components/click-outside/index.d.ts +1 -0
- package/dist/@types/components/controls-group/controls-group.vue.d.ts +49 -0
- package/dist/@types/components/controls-group/index.d.ts +1 -0
- package/dist/@types/components/country/composables/index.d.ts +4 -0
- package/dist/@types/components/country/composables/useCountryCapital/useCountryCapital.d.ts +3 -0
- package/dist/@types/components/country/composables/useCountryFlag.d.ts +2 -0
- package/dist/@types/components/country/composables/useCountryName/useCountryName.d.ts +2 -0
- package/dist/@types/components/country/composables/useCountryPhoneCode/useCountryPhoneCode.d.ts +3 -0
- package/dist/@types/components/country/country.types.d.ts +260 -0
- package/dist/@types/components/country/country.vue.d.ts +42 -0
- package/dist/@types/components/country/index.d.ts +3 -0
- package/dist/@types/components/currency/currency.types.d.ts +170 -0
- package/dist/@types/components/currency/currency.vue.d.ts +32 -0
- package/dist/@types/components/currency/index.d.ts +2 -0
- package/dist/@types/components/data-grid/components/data-grid-columns/data-grid-columns-types.d.ts +17 -0
- package/dist/@types/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +159 -0
- package/dist/@types/components/data-grid/components/data-grid-config-settings/components/data-grid-config-settings-column-row/data-grid-config-settings-column-row.vue.d.ts +38 -0
- package/dist/@types/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.types.d.ts +4 -0
- package/dist/@types/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +66 -0
- package/dist/@types/components/data-grid/components/index.d.ts +2 -0
- package/dist/@types/components/data-grid/composables/index.d.ts +6 -0
- package/dist/@types/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.d.ts +31 -0
- package/dist/@types/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.types.d.ts +10 -0
- package/dist/@types/components/data-grid/composables/useColumnReorderer/useColumnReorderer.d.ts +64 -0
- package/dist/@types/components/data-grid/composables/useConfigSettings/useConfigSettings.d.ts +69 -0
- package/dist/@types/components/data-grid/composables/useResizer.d.ts +10 -0
- package/dist/@types/components/data-grid/composables/useSelector.d.ts +11 -0
- package/dist/@types/components/data-grid/composables/useSorter.d.ts +9 -0
- package/dist/@types/components/data-grid/data-grid.types.d.ts +68 -0
- package/dist/@types/components/data-grid/data-grid.vue.d.ts +477 -0
- package/dist/@types/components/data-grid/index.d.ts +2 -0
- package/dist/@types/components/date/date.types.d.ts +18 -0
- package/dist/@types/components/date/date.vue.d.ts +30 -0
- package/dist/@types/components/date/index.d.ts +2 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/__test__/date-picker-calendar-day-stub.vue.d.ts +45 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/date-picker-calendar-day.types.d.ts +20 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/date-picker-calendar-day.vue.d.ts +52 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/index.d.ts +2 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar/date-picker-calendar.types.d.ts +18 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar/date-picker-calendar.vue.d.ts +92 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar/index.d.ts +2 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar-pane/composables/use-range-pane.d.ts +2 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar-pane/composables/use-single-pane.d.ts +2 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar-pane/date-picker-calendar-pane.types.d.ts +21 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar-pane/date-picker-calendar-pane.vue.d.ts +198 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar-pane/index.d.ts +1 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar-range/date-picker-calendar-range.types.d.ts +5 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar-range/date-picker-calendar-range.vue.d.ts +78 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar-range/index.d.ts +1 -0
- package/dist/@types/components/date-picker/composables/use-date-picker-range-calendar-text.d.ts +2 -0
- package/dist/@types/components/date-picker/composables/use-date-picker-single-calendar-text.d.ts +2 -0
- package/dist/@types/components/date-picker/date-picker.types.d.ts +24 -0
- package/dist/@types/components/date-picker/date-picker.vue.d.ts +150 -0
- package/dist/@types/components/date-picker/index.d.ts +2 -0
- package/dist/@types/components/divider/divider.vue.d.ts +6 -0
- package/dist/@types/components/divider/index.d.ts +1 -0
- package/dist/@types/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +55 -0
- package/dist/@types/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +159 -0
- package/dist/@types/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +146 -0
- package/dist/@types/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +129 -0
- package/dist/@types/components/dropdown/components/dropdown-options-container/index.d.ts +1 -0
- package/dist/@types/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +118 -0
- package/dist/@types/components/dropdown/components/index.d.ts +3 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.types.d.ts +5 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +152 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-country/composables/useCountryItems.d.ts +5 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-country/dropdown-country.types.d.ts +7 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +161 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-currency/dropdown-currency.types.d.ts +6 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +147 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.types.d.ts +6 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +147 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-tag/dropdown-tag.types.d.ts +6 -0
- package/dist/@types/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +152 -0
- package/dist/@types/components/dropdown/dropdown.types.d.ts +4 -0
- package/dist/@types/components/dropdown/dropdown.vue.d.ts +165 -0
- package/dist/@types/components/dropdown/index.d.ts +6 -0
- package/dist/@types/components/filter-bar/components/all-filters-modal/all-filters-modal.types.d.ts +3 -0
- package/dist/@types/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +1058 -0
- package/dist/@types/components/filter-bar/components/all-filters-modal/components/all-filters-modal-button/all-filters-modal-button.vue.d.ts +46 -0
- package/dist/@types/components/filter-bar/components/base-filter/base-filter.types.d.ts +7 -0
- package/dist/@types/components/filter-bar/components/base-filter/base-filter.vue.d.ts +142 -0
- package/dist/@types/components/filter-bar/components/base-filter/components/filter-bar-filter-button/filter-bar-filter-button.vue.d.ts +55 -0
- package/dist/@types/components/filter-bar/components/base-filter/components/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/base-filter/composables/use-base-filter.d.ts +6 -0
- package/dist/@types/components/filter-bar/components/base-filter/index.d.ts +2 -0
- package/dist/@types/components/filter-bar/components/base-filter-button/base-filter-button.vue.d.ts +62 -0
- package/dist/@types/components/filter-bar/components/boolean-filter/boolean-filter.vue.d.ts +67 -0
- package/dist/@types/components/filter-bar/components/boolean-filter/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/date-filter/date-filter.vue.d.ts +143 -0
- package/dist/@types/components/filter-bar/components/date-filter/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +227 -0
- package/dist/@types/components/filter-bar/components/date-range-filter/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/index.d.ts +12 -0
- package/dist/@types/components/filter-bar/components/input-filter/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/input-filter/input-filter.vue.d.ts +64 -0
- package/dist/@types/components/filter-bar/components/range-filter/range-filter.vue.d.ts +68 -0
- package/dist/@types/components/filter-bar/components/select-filter/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/select-filter/select-filter.vue.d.ts +76 -0
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-avatar-filter/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-avatar-filter/select-avatar-filter.vue.d.ts +63 -0
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-country-filter/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +78 -0
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-currency-filter/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue.d.ts +63 -0
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-payment-method-filter/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-payment-method-filter/select-payment-method-filter.vue.d.ts +63 -0
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-tag-filter/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +81 -0
- package/dist/@types/components/filter-bar/filter-bar.types.d.ts +83 -0
- package/dist/@types/components/filter-bar/filter-bar.vue.d.ts +42 -0
- package/dist/@types/components/filter-bar/index.d.ts +2 -0
- package/dist/@types/components/focus-trap/focus-trap.types.d.ts +18 -0
- package/dist/@types/components/focus-trap/focus-trap.vue.d.ts +39 -0
- package/dist/@types/components/focus-trap/index.d.ts +1 -0
- package/dist/@types/components/header/header.types.d.ts +4 -0
- package/dist/@types/components/header/header.vue.d.ts +66 -0
- package/dist/@types/components/header/index.d.ts +1 -0
- package/dist/@types/components/info-icon/index.d.ts +1 -0
- package/dist/@types/components/info-icon/info-icon.vue.d.ts +24 -0
- package/dist/@types/components/input-field/index.d.ts +2 -0
- package/dist/@types/components/input-field/input-field.types.d.ts +37 -0
- package/dist/@types/components/input-field/input-field.vue.d.ts +138 -0
- package/dist/@types/components/internal/avatar/avatar.vue.d.ts +40 -0
- package/dist/@types/components/internal/avatar/index.d.ts +1 -0
- package/dist/@types/components/internal/base-button/base-button.types.d.ts +15 -0
- package/dist/@types/components/internal/base-button/base-button.vue.d.ts +47 -0
- package/dist/@types/components/internal/base-button/index.d.ts +2 -0
- package/dist/@types/components/internal/copy/copy.types.d.ts +5 -0
- package/dist/@types/components/internal/copy/copy.vue.d.ts +31 -0
- package/dist/@types/components/internal/copy/index.d.ts +1 -0
- package/dist/@types/components/internal/grid-layout/grid-layout.types.d.ts +11 -0
- package/dist/@types/components/internal/grid-layout/grid-layout.vue.d.ts +34 -0
- package/dist/@types/components/internal/grid-layout/index.d.ts +2 -0
- package/dist/@types/components/internal/index.d.ts +4 -0
- package/dist/@types/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options.vue.d.ts +37 -0
- package/dist/@types/components/internal/listbox/components/listbox-multi-select/index.d.ts +1 -0
- package/dist/@types/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +54 -0
- package/dist/@types/components/internal/listbox/components/listbox-option/index.d.ts +1 -0
- package/dist/@types/components/internal/listbox/components/listbox-option/listbox-option.vue.d.ts +29 -0
- package/dist/@types/components/internal/listbox/components/listbox-option-tag/index.d.ts +1 -0
- package/dist/@types/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue.d.ts +19 -0
- package/dist/@types/components/internal/listbox/components/listbox-single-select-option/index.d.ts +1 -0
- package/dist/@types/components/internal/listbox/components/listbox-single-select-option/listbox-single-select-option.vue.d.ts +40 -0
- package/dist/@types/components/internal/listbox/index.d.ts +2 -0
- package/dist/@types/components/internal/listbox/listbox.vue.d.ts +81 -0
- package/dist/@types/components/link/index.d.ts +2 -0
- package/dist/@types/components/link/link.types.d.ts +4 -0
- package/dist/@types/components/link/link.vue.d.ts +41 -0
- package/dist/@types/components/loading-indicator/index.d.ts +2 -0
- package/dist/@types/components/loading-indicator/loading-indicator.types.d.ts +4 -0
- package/dist/@types/components/loading-indicator/loading-indicator.vue.d.ts +39 -0
- package/dist/@types/components/menu/components/index.d.ts +2 -0
- package/dist/@types/components/menu/components/menu-item/index.d.ts +2 -0
- package/dist/@types/components/menu/components/menu-item/menu-item.types.d.ts +12 -0
- package/dist/@types/components/menu/components/menu-item/menu-item.vue.d.ts +96 -0
- package/dist/@types/components/menu/components/menu-item-list/index.d.ts +1 -0
- package/dist/@types/components/menu/components/menu-item-list/menu-item-list.vue.d.ts +59 -0
- package/dist/@types/components/menu/components/menu-list-container/menu-list-container.vue.d.ts +2 -0
- package/dist/@types/components/menu/components/sub-menu-item-list/sub-menu-item-list.vue.d.ts +55 -0
- package/dist/@types/components/menu/index.d.ts +2 -0
- package/dist/@types/components/menu/menu.types.d.ts +12 -0
- package/dist/@types/components/menu/menu.vue.d.ts +92 -0
- package/dist/@types/components/modal/components/base-modal/__mocks__/base-modal.vue.d.ts +123 -0
- package/dist/@types/components/modal/components/base-modal/base-modal.vue.d.ts +128 -0
- package/dist/@types/components/modal/components/base-modal/index.d.ts +1 -0
- package/dist/@types/components/modal/components/index.d.ts +3 -0
- package/dist/@types/components/modal/components/modal-default/modal-default.vue.d.ts +128 -0
- package/dist/@types/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +81 -0
- package/dist/@types/components/modal/index.d.ts +2 -0
- package/dist/@types/components/modal/modal.types.d.ts +27 -0
- package/dist/@types/components/modal/modal.vue.d.ts +149 -0
- package/dist/@types/components/pagination/components/pagination-context/pagination-context.vue.d.ts +32 -0
- package/dist/@types/components/pagination/components/pagination-controls/pagination-controls.vue.d.ts +39 -0
- package/dist/@types/components/pagination/components/pagination-results-per-page/pagination-results-per-page.vue.d.ts +35 -0
- package/dist/@types/components/pagination/index.d.ts +1 -0
- package/dist/@types/components/pagination/pagination.vue.d.ts +71 -0
- package/dist/@types/components/payment-method/composables/index.d.ts +1 -0
- package/dist/@types/components/payment-method/composables/usePaymentIcon.d.ts +3 -0
- package/dist/@types/components/payment-method/index.d.ts +2 -0
- package/dist/@types/components/payment-method/payment-method.types.d.ts +1079 -0
- package/dist/@types/components/payment-method/payment-method.vue.d.ts +40 -0
- package/dist/@types/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue.d.ts +20 -0
- package/dist/@types/components/popover/components/popover-image/index.d.ts +1 -0
- package/dist/@types/components/popover/components/popover-image/popover-image.vue.d.ts +20 -0
- package/dist/@types/components/popover/components/popover-title/popover-title.vue.d.ts +28 -0
- package/dist/@types/components/popover/index.d.ts +2 -0
- package/dist/@types/components/popover/popover.types.d.ts +19 -0
- package/dist/@types/components/popover/popover.vue.d.ts +170 -0
- package/dist/@types/components/popper-container/index.d.ts +2 -0
- package/dist/@types/components/popper-container/popper-container.types.d.ts +54 -0
- package/dist/@types/components/popper-container/popper-container.utils.d.ts +23 -0
- package/dist/@types/components/popper-container/popper-container.vue.d.ts +134 -0
- package/dist/@types/components/radio-group/components/radio-button/radio-button.types.d.ts +4 -0
- package/dist/@types/components/radio-group/components/radio-button/radio-button.vue.d.ts +58 -0
- package/dist/@types/components/radio-group/index.d.ts +2 -0
- package/dist/@types/components/radio-group/radio-group.types.d.ts +12 -0
- package/dist/@types/components/radio-group/radio-group.vue.d.ts +76 -0
- package/dist/@types/components/search-bar/index.d.ts +3 -0
- package/dist/@types/components/search-bar/search-bar.types.d.ts +15 -0
- package/dist/@types/components/search-bar/search-bar.vue.d.ts +278 -0
- package/dist/@types/components/search-bar/useSearchBarDataFilter.d.ts +3 -0
- package/dist/@types/components/segmented-control/components/segmented-option.vue.d.ts +59 -0
- package/dist/@types/components/segmented-control/index.d.ts +3 -0
- package/dist/@types/components/segmented-control/segmented-control.keys.d.ts +1 -0
- package/dist/@types/components/segmented-control/segmented-control.types.d.ts +15 -0
- package/dist/@types/components/segmented-control/segmented-control.vue.d.ts +42 -0
- package/dist/@types/components/status/index.d.ts +2 -0
- package/dist/@types/components/status/status.types.d.ts +8 -0
- package/dist/@types/components/status/status.vue.d.ts +23 -0
- package/dist/@types/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +46 -0
- package/dist/@types/components/structured-list/index.d.ts +2 -0
- package/dist/@types/components/structured-list/structured-list.vue.d.ts +2 -0
- package/dist/@types/components/summary-grid/components/summary-grid-item/index.d.ts +2 -0
- package/dist/@types/components/summary-grid/components/summary-grid-item/summary-grid-item.types.d.ts +7 -0
- package/dist/@types/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +119 -0
- package/dist/@types/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +89 -0
- package/dist/@types/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue.d.ts +40 -0
- package/dist/@types/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +80 -0
- package/dist/@types/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +80 -0
- package/dist/@types/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +51 -0
- package/dist/@types/components/summary-grid/index.d.ts +7 -0
- package/dist/@types/components/summary-grid/summary-grid.types.d.ts +16 -0
- package/dist/@types/components/summary-grid/summary-grid.vue.d.ts +19 -0
- package/dist/@types/components/tabs/components/tab.types.d.ts +5 -0
- package/dist/@types/components/tabs/components/tab.vue.d.ts +25 -0
- package/dist/@types/components/tabs/index.d.ts +2 -0
- package/dist/@types/components/tabs/tabs.keys.d.ts +2 -0
- package/dist/@types/components/tabs/tabs.types.d.ts +4 -0
- package/dist/@types/components/tabs/tabs.utils.d.ts +3 -0
- package/dist/@types/components/tabs/tabs.vue.d.ts +14 -0
- package/dist/@types/components/tag/index.d.ts +2 -0
- package/dist/@types/components/tag/tag.types.d.ts +8 -0
- package/dist/@types/components/tag/tag.vue.d.ts +47 -0
- package/dist/@types/components/textarea/index.d.ts +1 -0
- package/dist/@types/components/textarea/textarea.vue.d.ts +43 -0
- package/dist/@types/components/toast/components/toast-item/index.d.ts +2 -0
- package/dist/@types/components/toast/components/toast-item/toast-item.types.d.ts +9 -0
- package/dist/@types/components/toast/components/toast-item/toast-item.vue.d.ts +33 -0
- package/dist/@types/components/toast/index.d.ts +2 -0
- package/dist/@types/components/toast/toast.vue.d.ts +13 -0
- package/dist/@types/components/toggle/index.d.ts +2 -0
- package/dist/@types/components/toggle/toggle.types.d.ts +3 -0
- package/dist/@types/components/toggle/toggle.vue.d.ts +60 -0
- package/dist/@types/components/tooltip/tooltip.vue.d.ts +319 -0
- package/dist/@types/components/typography/index.d.ts +2 -0
- package/dist/@types/components/typography/typography.types.d.ts +27 -0
- package/dist/@types/components/typography/typography.vue.d.ts +78 -0
- package/dist/@types/components.d.ts +119 -0
- package/dist/@types/composables/index.d.ts +3 -0
- package/dist/@types/composables/initials.d.ts +3 -0
- package/dist/@types/composables/use-checkbox-select-all/use-checkbox-select-all.d.ts +8 -0
- package/dist/@types/composables/use-default-slot-validator/use-default-slot-validator.d.ts +1 -0
- package/dist/@types/composables/useDynamicImport.d.ts +2 -0
- package/dist/@types/directives/click-outside/directive.d.ts +6 -0
- package/dist/@types/directives/click-outside/index.d.ts +1 -0
- package/dist/@types/directives/click-outside/on-click-outside.d.ts +3 -0
- package/dist/@types/directives/click-outside/types.d.ts +8 -0
- package/dist/@types/directives/click-outside/useEventListener/index.d.ts +7 -0
- package/dist/@types/directives/click-outside/useEventListener/types.d.ts +6 -0
- package/dist/@types/directives/click-outside/utils.d.ts +6 -0
- package/dist/@types/directives/index.d.ts +3 -0
- package/dist/@types/directives/keyboard-navigation/index.d.ts +2 -0
- package/dist/@types/directives/keyboard-navigation/keyboard-navigation.d.ts +2 -0
- package/dist/@types/directives/keyboard-navigation/keyboard-navigation.types.d.ts +7 -0
- package/dist/@types/directives/tooltip/index.d.ts +2 -0
- package/dist/@types/directives/tooltip/tooltip.d.ts +9 -0
- package/dist/@types/directives/tooltip/tooltip.types.d.ts +17 -0
- package/dist/@types/index.d.ts +38 -0
- package/dist/@types/install.d.ts +11 -0
- package/dist/@types/plugins/toastController.d.ts +12 -0
- package/dist/@types/types/date-format.d.ts +14 -0
- package/dist/@types/types/elements.d.ts +7 -0
- package/dist/@types/types/functions.d.ts +2 -0
- package/dist/@types/types/index.d.ts +8 -0
- package/dist/@types/types/label-position.d.ts +4 -0
- package/dist/@types/types/listbox.d.ts +11 -0
- package/dist/@types/types/maybe-ref.d.ts +2 -0
- package/dist/@types/types/omit-strict.d.ts +1 -0
- package/dist/@types/types/prop-types.d.ts +1 -0
- package/dist/@types/types/refs.d.ts +4 -0
- package/dist/@types/types/utils-events.d.ts +12 -0
- package/dist/@types/utils/ts/aria-label.d.ts +9 -0
- package/dist/@types/utils/ts/currency/countries-list.d.ts +4 -0
- package/dist/@types/utils/ts/currency/currency.d.ts +6 -0
- package/dist/@types/utils/ts/currency/currency.types.d.ts +24 -0
- package/dist/@types/utils/ts/debounce/debounce.d.ts +1 -0
- package/dist/@types/utils/ts/debounce/index.d.ts +1 -0
- package/dist/@types/utils/ts/deep-merge/deep-merge.d.ts +1 -0
- package/dist/@types/utils/ts/deep-merge/index.d.ts +1 -0
- package/dist/@types/utils/ts/events.d.ts +2 -0
- package/dist/@types/utils/ts/focus-trap.utils.d.ts +8 -0
- package/dist/@types/utils/ts/hasSlot.d.ts +2 -0
- package/dist/@types/utils/ts/i18n.d.ts +32 -0
- package/dist/@types/utils/ts/inject-css.d.ts +2 -0
- package/dist/@types/utils/ts/resize.d.ts +1 -0
- package/dist/@types/utils/ts/storybook.d.ts +8 -0
- package/dist/@types/utils/ts/toastController.d.ts +2 -0
- package/dist/@types/utils/ts/truncate.d.ts +1 -0
- package/dist/@types/utils/ts/unique-id.d.ts +1 -0
- package/dist/fonts/Inter-Bold.otf +0 -0
- package/dist/fonts/Inter-Bold.ttf +0 -0
- package/dist/fonts/Inter-Bold.woff +0 -0
- package/dist/fonts/Inter-Bold.woff2 +0 -0
- package/dist/fonts/Inter-ExtraBold.otf +0 -0
- package/dist/fonts/Inter-ExtraBold.ttf +0 -0
- package/dist/fonts/Inter-ExtraBold.woff +0 -0
- package/dist/fonts/Inter-ExtraBold.woff2 +0 -0
- package/dist/fonts/Inter-ExtraLight.otf +0 -0
- package/dist/fonts/Inter-ExtraLight.ttf +0 -0
- package/dist/fonts/Inter-ExtraLight.woff +0 -0
- package/dist/fonts/Inter-ExtraLight.woff2 +0 -0
- package/dist/fonts/Inter-Italic.woff +0 -0
- package/dist/fonts/Inter-Italic.woff2 +0 -0
- package/dist/fonts/Inter-Light.otf +0 -0
- package/dist/fonts/Inter-Light.ttf +0 -0
- package/dist/fonts/Inter-Light.woff +0 -0
- package/dist/fonts/Inter-Light.woff2 +0 -0
- package/dist/fonts/Inter-Medium.otf +0 -0
- package/dist/fonts/Inter-Medium.ttf +0 -0
- package/dist/fonts/Inter-Medium.woff +0 -0
- package/dist/fonts/Inter-Medium.woff2 +0 -0
- package/dist/fonts/Inter-Regular.otf +0 -0
- package/dist/fonts/Inter-Regular.ttf +0 -0
- package/dist/fonts/Inter-Regular.woff +0 -0
- package/dist/fonts/Inter-Regular.woff2 +0 -0
- package/dist/fonts/Inter-SemiBold.otf +0 -0
- package/dist/fonts/Inter-SemiBold.ttf +0 -0
- package/dist/fonts/Inter-SemiBold.woff +0 -0
- package/dist/fonts/Inter-SemiBold.woff2 +0 -0
- package/dist/fonts/Inter-Thin.otf +0 -0
- package/dist/fonts/Inter-Thin.ttf +0 -0
- package/dist/fonts/Inter-Thin.woff +0 -0
- package/dist/fonts/Inter-Thin.woff2 +0 -0
- package/dist/fonts/fonts.css +71 -0
- package/dist/index.js +24449 -0
- package/dist/index.js.map +1 -0
- package/dist/web-types.json +11 -0
- package/package.json +91 -0
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
export declare enum BentoCurrencyISOCode {
|
|
2
|
+
AFA = "AFA",
|
|
3
|
+
ALL = "ALL",
|
|
4
|
+
DZD = "DZD",
|
|
5
|
+
AOA = "AOA",
|
|
6
|
+
ARS = "ARS",
|
|
7
|
+
AMD = "AMD",
|
|
8
|
+
AWG = "AWG",
|
|
9
|
+
AUD = "AUD",
|
|
10
|
+
AZN = "AZN",
|
|
11
|
+
BSD = "BSD",
|
|
12
|
+
BHD = "BHD",
|
|
13
|
+
BDT = "BDT",
|
|
14
|
+
BBD = "BBD",
|
|
15
|
+
BYR = "BYR",
|
|
16
|
+
BEF = "BEF",
|
|
17
|
+
BZD = "BZD",
|
|
18
|
+
BMD = "BMD",
|
|
19
|
+
BTN = "BTN",
|
|
20
|
+
BTC = "BTC",
|
|
21
|
+
BOB = "BOB",
|
|
22
|
+
BAM = "BAM",
|
|
23
|
+
BWP = "BWP",
|
|
24
|
+
BRL = "BRL",
|
|
25
|
+
GBP = "GBP",
|
|
26
|
+
BND = "BND",
|
|
27
|
+
BGN = "BGN",
|
|
28
|
+
BIF = "BIF",
|
|
29
|
+
KHR = "KHR",
|
|
30
|
+
CAD = "CAD",
|
|
31
|
+
CVE = "CVE",
|
|
32
|
+
KYD = "KYD",
|
|
33
|
+
XOF = "XOF",
|
|
34
|
+
XAF = "XAF",
|
|
35
|
+
XPF = "XPF",
|
|
36
|
+
CLP = "CLP",
|
|
37
|
+
CLF = "CLF",
|
|
38
|
+
CNY = "CNY",
|
|
39
|
+
COP = "COP",
|
|
40
|
+
KMF = "KMF",
|
|
41
|
+
CDF = "CDF",
|
|
42
|
+
CRC = "CRC",
|
|
43
|
+
HRK = "HRK",
|
|
44
|
+
CUC = "CUC",
|
|
45
|
+
CZK = "CZK",
|
|
46
|
+
DKK = "DKK",
|
|
47
|
+
DJF = "DJF",
|
|
48
|
+
DOP = "DOP",
|
|
49
|
+
XCD = "XCD",
|
|
50
|
+
EGP = "EGP",
|
|
51
|
+
ERN = "ERN",
|
|
52
|
+
EEK = "EEK",
|
|
53
|
+
ETB = "ETB",
|
|
54
|
+
EUR = "EUR",
|
|
55
|
+
FKP = "FKP",
|
|
56
|
+
FJD = "FJD",
|
|
57
|
+
GMD = "GMD",
|
|
58
|
+
GEL = "GEL",
|
|
59
|
+
DEM = "DEM",
|
|
60
|
+
GHS = "GHS",
|
|
61
|
+
GIP = "GIP",
|
|
62
|
+
GRD = "GRD",
|
|
63
|
+
GTQ = "GTQ",
|
|
64
|
+
GNF = "GNF",
|
|
65
|
+
GYD = "GYD",
|
|
66
|
+
HTG = "HTG",
|
|
67
|
+
HNL = "HNL",
|
|
68
|
+
HKD = "HKD",
|
|
69
|
+
HUF = "HUF",
|
|
70
|
+
ISK = "ISK",
|
|
71
|
+
INR = "INR",
|
|
72
|
+
IDR = "IDR",
|
|
73
|
+
IRR = "IRR",
|
|
74
|
+
IQD = "IQD",
|
|
75
|
+
ILS = "ILS",
|
|
76
|
+
ITL = "ITL",
|
|
77
|
+
JMD = "JMD",
|
|
78
|
+
JPY = "JPY",
|
|
79
|
+
JOD = "JOD",
|
|
80
|
+
KZT = "KZT",
|
|
81
|
+
KES = "KES",
|
|
82
|
+
KWD = "KWD",
|
|
83
|
+
KGS = "KGS",
|
|
84
|
+
LAK = "LAK",
|
|
85
|
+
LVL = "LVL",
|
|
86
|
+
LBP = "LBP",
|
|
87
|
+
LSL = "LSL",
|
|
88
|
+
LRD = "LRD",
|
|
89
|
+
LYD = "LYD",
|
|
90
|
+
LTC = "LTC",
|
|
91
|
+
LTL = "LTL",
|
|
92
|
+
MOP = "MOP",
|
|
93
|
+
MKD = "MKD",
|
|
94
|
+
MGA = "MGA",
|
|
95
|
+
MWK = "MWK",
|
|
96
|
+
MYR = "MYR",
|
|
97
|
+
MVR = "MVR",
|
|
98
|
+
MRO = "MRO",
|
|
99
|
+
MUR = "MUR",
|
|
100
|
+
MXN = "MXN",
|
|
101
|
+
MDL = "MDL",
|
|
102
|
+
MNT = "MNT",
|
|
103
|
+
MAD = "MAD",
|
|
104
|
+
MZM = "MZM",
|
|
105
|
+
MMK = "MMK",
|
|
106
|
+
NAD = "NAD",
|
|
107
|
+
NPR = "NPR",
|
|
108
|
+
ANG = "ANG",
|
|
109
|
+
TWD = "TWD",
|
|
110
|
+
NZD = "NZD",
|
|
111
|
+
NIO = "NIO",
|
|
112
|
+
NGN = "NGN",
|
|
113
|
+
KPW = "KPW",
|
|
114
|
+
NOK = "NOK",
|
|
115
|
+
OMR = "OMR",
|
|
116
|
+
PKR = "PKR",
|
|
117
|
+
PAB = "PAB",
|
|
118
|
+
PGK = "PGK",
|
|
119
|
+
PYG = "PYG",
|
|
120
|
+
PEN = "PEN",
|
|
121
|
+
PHP = "PHP",
|
|
122
|
+
PLN = "PLN",
|
|
123
|
+
QAR = "QAR",
|
|
124
|
+
RON = "RON",
|
|
125
|
+
RUB = "RUB",
|
|
126
|
+
RWF = "RWF",
|
|
127
|
+
SVC = "SVC",
|
|
128
|
+
WST = "WST",
|
|
129
|
+
STD = "STD",
|
|
130
|
+
SAR = "SAR",
|
|
131
|
+
RSD = "RSD",
|
|
132
|
+
SCR = "SCR",
|
|
133
|
+
SLL = "SLL",
|
|
134
|
+
SGD = "SGD",
|
|
135
|
+
SKK = "SKK",
|
|
136
|
+
SBD = "SBD",
|
|
137
|
+
SOS = "SOS",
|
|
138
|
+
ZAR = "ZAR",
|
|
139
|
+
KRW = "KRW",
|
|
140
|
+
SSP = "SSP",
|
|
141
|
+
XDR = "XDR",
|
|
142
|
+
LKR = "LKR",
|
|
143
|
+
SHP = "SHP",
|
|
144
|
+
SDG = "SDG",
|
|
145
|
+
SRD = "SRD",
|
|
146
|
+
SZL = "SZL",
|
|
147
|
+
SEK = "SEK",
|
|
148
|
+
CHF = "CHF",
|
|
149
|
+
SYP = "SYP",
|
|
150
|
+
TJS = "TJS",
|
|
151
|
+
TZS = "TZS",
|
|
152
|
+
THB = "THB",
|
|
153
|
+
TOP = "TOP",
|
|
154
|
+
TTD = "TTD",
|
|
155
|
+
TND = "TND",
|
|
156
|
+
TRY = "TRY",
|
|
157
|
+
TMT = "TMT",
|
|
158
|
+
UGX = "UGX",
|
|
159
|
+
UAH = "UAH",
|
|
160
|
+
AED = "AED",
|
|
161
|
+
UYU = "UYU",
|
|
162
|
+
USD = "USD",
|
|
163
|
+
UZS = "UZS",
|
|
164
|
+
VUV = "VUV",
|
|
165
|
+
VEF = "VEF",
|
|
166
|
+
VND = "VND",
|
|
167
|
+
YER = "YER",
|
|
168
|
+
ZMK = "ZMK",
|
|
169
|
+
ZWL = "ZWL"
|
|
170
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
|
|
3
|
+
import { BentoCurrencyISOCode } from '@/components/currency/currency.types';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
currency: {
|
|
6
|
+
type: PropType<BentoCurrencyISOCode>;
|
|
7
|
+
default: BentoCurrencyISOCode;
|
|
8
|
+
validator: (value: BentoCurrencyISOCode) => boolean;
|
|
9
|
+
};
|
|
10
|
+
majorUnits: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
}, {
|
|
15
|
+
formattedCurrency: import("vue").ComputedRef<string>;
|
|
16
|
+
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
17
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
18
|
+
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
currency: {
|
|
20
|
+
type: PropType<BentoCurrencyISOCode>;
|
|
21
|
+
default: BentoCurrencyISOCode;
|
|
22
|
+
validator: (value: BentoCurrencyISOCode) => boolean;
|
|
23
|
+
};
|
|
24
|
+
majorUnits: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
}>>, {
|
|
29
|
+
currency: BentoCurrencyISOCode;
|
|
30
|
+
majorUnits: boolean;
|
|
31
|
+
}>;
|
|
32
|
+
export default _default;
|
package/dist/@types/components/data-grid/components/data-grid-columns/data-grid-columns-types.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BentoColumn } from '../../data-grid.types';
|
|
2
|
+
export declare enum DatagridColumnsEvent {
|
|
3
|
+
COLUMN_RESIZE = "column-resize",
|
|
4
|
+
COLUMN_RESIZING = "column-resizing",
|
|
5
|
+
SORT = "sort",
|
|
6
|
+
SELECT_ALL_ROWS = "select-all-rows",
|
|
7
|
+
COLUMN_MOVE = "column-move",
|
|
8
|
+
COLUMN_UPDATE = "column-update",
|
|
9
|
+
COLUMN_DRAG_START = "column-dragstart",
|
|
10
|
+
COLUMN_DRAG_ENTER = "column-dragenter",
|
|
11
|
+
COLUMN_DRAG_END = "column-dragend",
|
|
12
|
+
COLUMN_DROP = "column-drop"
|
|
13
|
+
}
|
|
14
|
+
export interface BentoDatagridDraggingColumnState {
|
|
15
|
+
dragging?: BentoColumn;
|
|
16
|
+
target?: BentoColumn;
|
|
17
|
+
}
|
package/dist/@types/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts
ADDED
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoColumn, BentoDatagridAllItemsSelectedState, BentoDatagridSortByColumn, BentoDatagridSortDirection } from '../../data-grid.types';
|
|
3
|
+
import { BentoTypographyElement } from '@/components/typography';
|
|
4
|
+
import { BentoDatagridDraggingColumnState, DatagridColumnsEvent } from './data-grid-columns-types';
|
|
5
|
+
import type { BentoMenuItem } from '@/components/menu/components';
|
|
6
|
+
import { BentoButtonVariant } from '@/components/button';
|
|
7
|
+
declare const _default: import("vue").DefineComponent<{
|
|
8
|
+
columns: {
|
|
9
|
+
type: PropType<BentoColumn[]>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
draggingColumns: {
|
|
13
|
+
type: PropType<BentoDatagridDraggingColumnState>;
|
|
14
|
+
default: any;
|
|
15
|
+
};
|
|
16
|
+
hasDraggableColumns: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
hasResizableColumns: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
hasColumnPanel: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
hasFirstColumnPanelRightAligned: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
isFrozenColumns: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
allItemsSelectedState: {
|
|
37
|
+
type: PropType<BentoDatagridAllItemsSelectedState>;
|
|
38
|
+
default: any;
|
|
39
|
+
};
|
|
40
|
+
sortBy: {
|
|
41
|
+
type: PropType<BentoDatagridSortByColumn[]>;
|
|
42
|
+
default: () => any[];
|
|
43
|
+
};
|
|
44
|
+
}, {
|
|
45
|
+
DATAGRID_SELECT_FIELD_NAME: string;
|
|
46
|
+
conditionalColumnClasses: (column: BentoColumn) => {
|
|
47
|
+
'b-data-grid-columns__column--sortable': boolean;
|
|
48
|
+
'b-data-grid-columns__column--padding-left-unset': boolean;
|
|
49
|
+
'b-data-grid-columns__column--padding-right-unset': boolean;
|
|
50
|
+
'b-data-grid-columns__column--numeric': boolean;
|
|
51
|
+
'b-data-grid-columns__column--frozen': boolean;
|
|
52
|
+
'b-data-grid-columns__column--is-re-ordering': boolean;
|
|
53
|
+
'b-data-grid-columns__column--is-re-ordering-target': boolean;
|
|
54
|
+
};
|
|
55
|
+
conditionalColumnSeparatorClasses: import("vue").ComputedRef<{
|
|
56
|
+
'b-data-grid-columns__column-separator-container--is-resizeable': boolean;
|
|
57
|
+
}>;
|
|
58
|
+
conditionalColumnsClasses: import("vue").ComputedRef<{
|
|
59
|
+
'b-data-grid-columns--frozen': boolean;
|
|
60
|
+
'b-data-grid-columns--unfrozen'?: undefined;
|
|
61
|
+
'b-data-grid-columns--config-settings-margin'?: undefined;
|
|
62
|
+
} | {
|
|
63
|
+
'b-data-grid-columns--unfrozen': boolean;
|
|
64
|
+
'b-data-grid-columns--config-settings-margin': boolean;
|
|
65
|
+
'b-data-grid-columns--frozen'?: undefined;
|
|
66
|
+
}>;
|
|
67
|
+
allItemsSelectedCheckboxState: import("vue").Ref<{
|
|
68
|
+
allItemsSelected: boolean;
|
|
69
|
+
isIndeterminate: boolean;
|
|
70
|
+
}>;
|
|
71
|
+
onAllRowSelect: (areAllItemsSelected: boolean) => void;
|
|
72
|
+
conditionalSortDirectionClasses: (field: string, direction: BentoDatagridSortDirection) => {
|
|
73
|
+
'b-data-grid-columns__column-sort-icon--sorted': boolean;
|
|
74
|
+
};
|
|
75
|
+
sortByColumnField: (field: string) => void;
|
|
76
|
+
startResize: (hasResizableColumns: boolean, field: string, event: MouseEvent) => void;
|
|
77
|
+
isResizing: import("vue").Ref<boolean>;
|
|
78
|
+
draggingEventsForColumn: import("vue").ComputedRef<(column: BentoColumn) => {
|
|
79
|
+
dragstart?: undefined;
|
|
80
|
+
dragover?: undefined;
|
|
81
|
+
dragenter?: undefined;
|
|
82
|
+
drop?: undefined;
|
|
83
|
+
dragend?: undefined;
|
|
84
|
+
} | {
|
|
85
|
+
dragstart: (e: DragEvent & Event) => void;
|
|
86
|
+
dragover: (e: DragEvent) => void;
|
|
87
|
+
dragenter: (e: DragEvent) => void;
|
|
88
|
+
drop: () => void;
|
|
89
|
+
dragend: () => void;
|
|
90
|
+
}>;
|
|
91
|
+
contextualMenuData: import("vue").ComputedRef<(col: BentoColumn) => BentoMenuItem[]>;
|
|
92
|
+
BentoButtonVariant: typeof BentoButtonVariant;
|
|
93
|
+
BentoDatagridSortDirection: typeof BentoDatagridSortDirection;
|
|
94
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
95
|
+
BentoPopoverPositions: {
|
|
96
|
+
AUTO: import("../../../popper-container").PopperContainerPositionExtended.AUTO;
|
|
97
|
+
AUTO_START: import("../../../popper-container").PopperContainerPositionExtended.AUTO_START;
|
|
98
|
+
AUTO_END: import("../../../popper-container").PopperContainerPositionExtended.AUTO_END;
|
|
99
|
+
TOP_START: import("../../../popper-container").PopperContainerPositionExtended.TOP_START;
|
|
100
|
+
TOP_END: import("../../../popper-container").PopperContainerPositionExtended.TOP_END;
|
|
101
|
+
RIGHT_START: import("../../../popper-container").PopperContainerPositionExtended.RIGHT_START;
|
|
102
|
+
RIGHT_END: import("../../../popper-container").PopperContainerPositionExtended.RIGHT_END;
|
|
103
|
+
BOTTOM_START: import("../../../popper-container").PopperContainerPositionExtended.BOTTOM_START;
|
|
104
|
+
BOTTOM_END: import("../../../popper-container").PopperContainerPositionExtended.BOTTOM_END;
|
|
105
|
+
LEFT_START: import("../../../popper-container").PopperContainerPositionExtended.LEFT_START;
|
|
106
|
+
LEFT_END: import("../../../popper-container").PopperContainerPositionExtended.LEFT_END;
|
|
107
|
+
TOP: import("../../../popper-container").PopperContainerPositionBasic.TOP;
|
|
108
|
+
RIGHT: import("../../../popper-container").PopperContainerPositionBasic.RIGHT;
|
|
109
|
+
BOTTOM: import("../../../popper-container").PopperContainerPositionBasic.BOTTOM;
|
|
110
|
+
LEFT: import("../../../popper-container").PopperContainerPositionBasic.LEFT;
|
|
111
|
+
};
|
|
112
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, (DatagridColumnsEvent.COLUMN_RESIZE | DatagridColumnsEvent.SORT | DatagridColumnsEvent.SELECT_ALL_ROWS | DatagridColumnsEvent.COLUMN_MOVE | DatagridColumnsEvent.COLUMN_UPDATE | DatagridColumnsEvent.COLUMN_DRAG_START | DatagridColumnsEvent.COLUMN_DRAG_ENTER | DatagridColumnsEvent.COLUMN_DRAG_END | DatagridColumnsEvent.COLUMN_DROP)[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
113
|
+
columns: {
|
|
114
|
+
type: PropType<BentoColumn[]>;
|
|
115
|
+
required: true;
|
|
116
|
+
};
|
|
117
|
+
draggingColumns: {
|
|
118
|
+
type: PropType<BentoDatagridDraggingColumnState>;
|
|
119
|
+
default: any;
|
|
120
|
+
};
|
|
121
|
+
hasDraggableColumns: {
|
|
122
|
+
type: BooleanConstructor;
|
|
123
|
+
default: boolean;
|
|
124
|
+
};
|
|
125
|
+
hasResizableColumns: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
129
|
+
hasColumnPanel: {
|
|
130
|
+
type: BooleanConstructor;
|
|
131
|
+
default: boolean;
|
|
132
|
+
};
|
|
133
|
+
hasFirstColumnPanelRightAligned: {
|
|
134
|
+
type: BooleanConstructor;
|
|
135
|
+
default: boolean;
|
|
136
|
+
};
|
|
137
|
+
isFrozenColumns: {
|
|
138
|
+
type: BooleanConstructor;
|
|
139
|
+
default: boolean;
|
|
140
|
+
};
|
|
141
|
+
allItemsSelectedState: {
|
|
142
|
+
type: PropType<BentoDatagridAllItemsSelectedState>;
|
|
143
|
+
default: any;
|
|
144
|
+
};
|
|
145
|
+
sortBy: {
|
|
146
|
+
type: PropType<BentoDatagridSortByColumn[]>;
|
|
147
|
+
default: () => any[];
|
|
148
|
+
};
|
|
149
|
+
}>>, {
|
|
150
|
+
isFrozenColumns: boolean;
|
|
151
|
+
draggingColumns: any;
|
|
152
|
+
hasDraggableColumns: boolean;
|
|
153
|
+
hasResizableColumns: boolean;
|
|
154
|
+
hasColumnPanel: boolean;
|
|
155
|
+
hasFirstColumnPanelRightAligned: boolean;
|
|
156
|
+
allItemsSelectedState: BentoDatagridAllItemsSelectedState;
|
|
157
|
+
sortBy: BentoDatagridSortByColumn[];
|
|
158
|
+
}>;
|
|
159
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
|
|
3
|
+
import { AdlLabelPosition } from '@/types';
|
|
4
|
+
import { BentoColumn } from '@/components/data-grid';
|
|
5
|
+
declare const _default: import("vue").DefineComponent<{
|
|
6
|
+
isColumnVisibilityToggleDisabled: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
column: {
|
|
11
|
+
type: PropType<BentoColumn>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
}, {
|
|
15
|
+
isFreezeIconOptionShown: import("vue").Ref<boolean>;
|
|
16
|
+
isColumnFrozen: import("vue").ComputedRef<boolean>;
|
|
17
|
+
freezeIconConditionalClasses: import("vue").ComputedRef<{
|
|
18
|
+
"b-data-grid-config-settings-column-row__freeze-icon--frozen": boolean;
|
|
19
|
+
}>;
|
|
20
|
+
isColumnVisible: import("vue").ComputedRef<boolean>;
|
|
21
|
+
toggleColumnVisibility: () => void;
|
|
22
|
+
showFreezeIcon: () => void;
|
|
23
|
+
hideFreezeIcon: () => void;
|
|
24
|
+
toggleColumnFreeze: () => void;
|
|
25
|
+
AdlLabelPosition: typeof AdlLabelPosition;
|
|
26
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
27
|
+
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
28
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("visible-column" | "updated-column")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
+
isColumnVisibilityToggleDisabled: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
column: {
|
|
34
|
+
type: PropType<BentoColumn>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
}>>, {}>;
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoButtonVariant } from '@/components/button';
|
|
3
|
+
import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
|
|
4
|
+
import { AdlLabelPosition } from '@/types';
|
|
5
|
+
import { BentoColumn } from '../../data-grid.types';
|
|
6
|
+
import { DatagridConfigSettingsEvent } from './data-grid-config-settings.types';
|
|
7
|
+
declare const _default: import("vue").DefineComponent<{
|
|
8
|
+
columns: {
|
|
9
|
+
type: PropType<BentoColumn[]>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
condensed: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
}, {
|
|
17
|
+
configSettingsButtonRef: any;
|
|
18
|
+
isConfigSettingsPanelOpen: import("vue").Ref<boolean>;
|
|
19
|
+
allColumnsVisbilityToggleState: import("vue").Ref<boolean>;
|
|
20
|
+
filteredColumnVisibilityColumns: import("vue").ComputedRef<BentoColumn[]>;
|
|
21
|
+
searchTerm: import("vue").Ref<string>;
|
|
22
|
+
isColumnVisibilityFilterShown: import("vue").Ref<boolean>;
|
|
23
|
+
searchBarRef: any;
|
|
24
|
+
setConfigSettingsPanelVisibility: (isVisible: boolean) => void;
|
|
25
|
+
emitCondensedToggle: (isCompactView: boolean) => void;
|
|
26
|
+
toggleAllColumnVisibility: (toggleState: boolean) => void;
|
|
27
|
+
clearAction: () => void;
|
|
28
|
+
toggleColumnFilter: () => void;
|
|
29
|
+
emitVisibleColumns: (updatedColumn: BentoColumn) => void;
|
|
30
|
+
emitFrozenColumns: (updatedColumn: BentoColumn) => void;
|
|
31
|
+
onClickOutside: () => void;
|
|
32
|
+
isColumnVisibilityToggleDisabled: (column: BentoColumn) => boolean;
|
|
33
|
+
AdlLabelPosition: typeof AdlLabelPosition;
|
|
34
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
35
|
+
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
36
|
+
BentoButtonVariant: typeof BentoButtonVariant;
|
|
37
|
+
BentoPopoverPositions: {
|
|
38
|
+
AUTO: import("../../../popper-container").PopperContainerPositionExtended.AUTO;
|
|
39
|
+
AUTO_START: import("../../../popper-container").PopperContainerPositionExtended.AUTO_START;
|
|
40
|
+
AUTO_END: import("../../../popper-container").PopperContainerPositionExtended.AUTO_END;
|
|
41
|
+
TOP_START: import("../../../popper-container").PopperContainerPositionExtended.TOP_START;
|
|
42
|
+
TOP_END: import("../../../popper-container").PopperContainerPositionExtended.TOP_END;
|
|
43
|
+
RIGHT_START: import("../../../popper-container").PopperContainerPositionExtended.RIGHT_START;
|
|
44
|
+
RIGHT_END: import("../../../popper-container").PopperContainerPositionExtended.RIGHT_END;
|
|
45
|
+
BOTTOM_START: import("../../../popper-container").PopperContainerPositionExtended.BOTTOM_START;
|
|
46
|
+
BOTTOM_END: import("../../../popper-container").PopperContainerPositionExtended.BOTTOM_END;
|
|
47
|
+
LEFT_START: import("../../../popper-container").PopperContainerPositionExtended.LEFT_START;
|
|
48
|
+
LEFT_END: import("../../../popper-container").PopperContainerPositionExtended.LEFT_END;
|
|
49
|
+
TOP: import("../../../popper-container").PopperContainerPositionBasic.TOP;
|
|
50
|
+
RIGHT: import("../../../popper-container").PopperContainerPositionBasic.RIGHT;
|
|
51
|
+
BOTTOM: import("../../../popper-container").PopperContainerPositionBasic.BOTTOM;
|
|
52
|
+
LEFT: import("../../../popper-container").PopperContainerPositionBasic.LEFT;
|
|
53
|
+
};
|
|
54
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, DatagridConfigSettingsEvent[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
55
|
+
columns: {
|
|
56
|
+
type: PropType<BentoColumn[]>;
|
|
57
|
+
required: true;
|
|
58
|
+
};
|
|
59
|
+
condensed: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
}>>, {
|
|
64
|
+
condensed: boolean;
|
|
65
|
+
}>;
|
|
66
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as useResizer } from './useResizer';
|
|
2
|
+
export { default as useCalculateColumnWidth, DATAGRID_SELECT_FIELD_NAME, } from './useCalculateColumnWidth/useCalculateColumnWidth';
|
|
3
|
+
export { useSorter } from './useSorter';
|
|
4
|
+
export { useSelector } from './useSelector';
|
|
5
|
+
export { useColumnReorderer } from './useColumnReorderer/useColumnReorderer';
|
|
6
|
+
export { useConfigSettings } from './useConfigSettings/useConfigSettings';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { BentoColumn, BentoColumnWidthOverridesLookup } from '../../data-grid.types';
|
|
2
|
+
import { CalculateColumnWidthOptions } from './useCalculateColumnWidth.types';
|
|
3
|
+
import { MaybeRef } from '@/types';
|
|
4
|
+
export declare const DEFAULT_COLUMN_WIDTH = 100;
|
|
5
|
+
export declare const DEFAULT_COLUMN_MIN_WIDTH = 50;
|
|
6
|
+
export declare const DATAGRID_SELECT_FIELD_NAME = "b-select";
|
|
7
|
+
export declare const useCalculateColumnWidth: (newColumns: MaybeRef<BentoColumn[]>, bodyRef: MaybeRef<HTMLDivElement | undefined>, options?: CalculateColumnWidthOptions) => {
|
|
8
|
+
columnDefs: import("vue").ComputedRef<{
|
|
9
|
+
width: number;
|
|
10
|
+
field: string;
|
|
11
|
+
label: string;
|
|
12
|
+
minWidth?: number;
|
|
13
|
+
flex?: number;
|
|
14
|
+
sortable?: boolean;
|
|
15
|
+
numeric?: boolean;
|
|
16
|
+
infoIconTooltip?: string;
|
|
17
|
+
padding?: {
|
|
18
|
+
left?: boolean;
|
|
19
|
+
right?: boolean;
|
|
20
|
+
};
|
|
21
|
+
overflow?: import("../../data-grid.types").BentoColumnOverflow;
|
|
22
|
+
visible?: boolean;
|
|
23
|
+
mandatory?: boolean;
|
|
24
|
+
frozen?: boolean;
|
|
25
|
+
}[]>;
|
|
26
|
+
gridColumnWidthStyle: import("vue").ComputedRef<{
|
|
27
|
+
width: string;
|
|
28
|
+
}>;
|
|
29
|
+
onColumnWidthOverride: (newColumnWidthOverridesLookup: BentoColumnWidthOverridesLookup) => void;
|
|
30
|
+
};
|
|
31
|
+
export default useCalculateColumnWidth;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { BentoColumn } from '../../data-grid.types';
|
|
3
|
+
export type FlexColumnLookup = Record<BentoColumn['field'], {
|
|
4
|
+
flex: number;
|
|
5
|
+
computedWidth: number;
|
|
6
|
+
frozen: boolean;
|
|
7
|
+
}>;
|
|
8
|
+
export interface CalculateColumnWidthOptions {
|
|
9
|
+
hasSelectableColumn?: Ref<boolean>;
|
|
10
|
+
}
|
package/dist/@types/components/data-grid/composables/useColumnReorderer/useColumnReorderer.d.ts
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { MaybeRef } from '@/types';
|
|
2
|
+
import { BentoColumn } from '../../data-grid.types';
|
|
3
|
+
import type { EmitFn } from 'vue/types/v3-setup-context';
|
|
4
|
+
export declare const useColumnReorderer: (columnsRef: MaybeRef<BentoColumn[]>, hasDraggableColumnsRef: MaybeRef<boolean>, emit: EmitFn) => {
|
|
5
|
+
draggingColumns: {
|
|
6
|
+
dragging?: {
|
|
7
|
+
field: string;
|
|
8
|
+
label: string;
|
|
9
|
+
width?: number;
|
|
10
|
+
minWidth?: number;
|
|
11
|
+
flex?: number;
|
|
12
|
+
sortable?: boolean;
|
|
13
|
+
numeric?: boolean;
|
|
14
|
+
infoIconTooltip?: string;
|
|
15
|
+
padding?: {
|
|
16
|
+
left?: boolean;
|
|
17
|
+
right?: boolean;
|
|
18
|
+
};
|
|
19
|
+
overflow?: import("../../data-grid.types").BentoColumnOverflow;
|
|
20
|
+
visible?: boolean;
|
|
21
|
+
mandatory?: boolean;
|
|
22
|
+
frozen?: boolean;
|
|
23
|
+
};
|
|
24
|
+
target?: {
|
|
25
|
+
field: string;
|
|
26
|
+
label: string;
|
|
27
|
+
width?: number;
|
|
28
|
+
minWidth?: number;
|
|
29
|
+
flex?: number;
|
|
30
|
+
sortable?: boolean;
|
|
31
|
+
numeric?: boolean;
|
|
32
|
+
infoIconTooltip?: string;
|
|
33
|
+
padding?: {
|
|
34
|
+
left?: boolean;
|
|
35
|
+
right?: boolean;
|
|
36
|
+
};
|
|
37
|
+
overflow?: import("../../data-grid.types").BentoColumnOverflow;
|
|
38
|
+
visible?: boolean;
|
|
39
|
+
mandatory?: boolean;
|
|
40
|
+
frozen?: boolean;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
draggingEventsForColumns: import("vue").ComputedRef<{
|
|
44
|
+
"column-dragstart"?: undefined;
|
|
45
|
+
"column-dragenter"?: undefined;
|
|
46
|
+
"column-drop"?: undefined;
|
|
47
|
+
"column-dragend"?: undefined;
|
|
48
|
+
} | {
|
|
49
|
+
"column-dragstart": (column: BentoColumn, e: DragEvent & Event) => void;
|
|
50
|
+
"column-dragenter": (column: BentoColumn) => void;
|
|
51
|
+
"column-drop": (column: BentoColumn) => void;
|
|
52
|
+
"column-dragend": () => void;
|
|
53
|
+
}>;
|
|
54
|
+
draggingEventsForRowCell: import("vue").ComputedRef<(column: BentoColumn) => {
|
|
55
|
+
dragenter?: undefined;
|
|
56
|
+
drop?: undefined;
|
|
57
|
+
dragover?: undefined;
|
|
58
|
+
} | {
|
|
59
|
+
dragenter: (e: DragEvent) => void;
|
|
60
|
+
drop: () => void;
|
|
61
|
+
dragover: (e: DragEvent) => void;
|
|
62
|
+
}>;
|
|
63
|
+
onMoveColumnByOffset: (movingColumn: BentoColumn, offset?: number) => void;
|
|
64
|
+
};
|