@adyen/bento-vue2 1.6.1 → 1.7.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/components.d.ts +2 -0
- package/dist/@types/packages/core/src/components/button/button.types.d.ts +3 -1
- package/dist/@types/packages/vue2/src/components/action-bar/action-bar.vue.d.ts +43 -0
- package/dist/@types/packages/vue2/src/components/action-bar/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/avatar-image/avatar-image.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +290 -281
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +4 -3
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +53 -70
- package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +20 -2
- package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +18 -0
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +20 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +45 -27
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +21 -3
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +24 -6
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +21 -3
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +21 -3
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +21 -3
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.types.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +22 -4
- package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +5 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +234 -12
- package/dist/@types/packages/vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue.d.ts +12 -5
- package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/filter-bar-button.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +12 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +10 -0
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-field-tip/form-layout-field-tip.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/info-icon/info-icon.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/button-actions-with-menu/button-actions-with-menu.vue.d.ts +21 -0
- package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.vue.d.ts +18 -0
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +19 -0
- package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/fixed-scroller/fixed-scroller.vue.d.ts +22 -1
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +94 -8
- package/dist/@types/packages/vue2/src/components/internal/teleport/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/internal/teleport/teleport.vue.d.ts +50 -0
- package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/menu/menu.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +15 -11
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-context/pagination-context.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +10 -5
- package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +21 -0
- package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.vue.d.ts +21 -5
- package/dist/@types/packages/vue2/src/components/stepper/stepper.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +1 -2
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.types.d.ts +3 -0
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/tabs/tabs.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +6 -3
- package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +9 -2
- package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +13 -13
- package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/components/tutorial-indicator/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/components/tutorial-indicator/tutorial-indicator.vue.d.ts +12 -0
- package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/tutorial-popover.vue.d.ts +226 -0
- package/dist/@types/packages/vue2/src/components/tutorial/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/tutorial/tutorial.types.d.ts +13 -0
- package/dist/@types/packages/vue2/src/components/tutorial/tutorial.vue.d.ts +16 -0
- package/dist/@types/packages/vue2/src/composables/index.d.ts +5 -2
- package/dist/@types/packages/vue2/src/composables/use-click-outside/use-click-outside.d.ts +3 -0
- package/dist/@types/packages/vue2/src/composables/use-form-validate/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.d.ts +12 -0
- package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.types.d.ts +5 -0
- package/dist/@types/packages/vue2/src/composables/use-virtual-list/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/composables/use-virtual-list/use-virtual-list.d.ts +15 -0
- package/dist/@types/packages/vue2/src/composables/use-virtual-list/use-virtual-list.types.d.ts +20 -0
- package/dist/@types/packages/vue2/src/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/types/listbox.d.ts +12 -0
- package/dist/accordion.js +41 -32
- package/dist/accordion.js.map +1 -1
- package/dist/action-bar.js +191 -0
- package/dist/action-bar.js.map +1 -0
- package/dist/alert.js +3 -3
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions-with-menu.css +1 -0
- package/dist/assets/button.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/checkmark.css +1 -0
- package/dist/assets/chevron-left.css +1 -0
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/fixed-scroller.css +1 -0
- package/dist/assets/index.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index21.css +1 -1
- package/dist/assets/index22.css +1 -1
- package/dist/assets/index23.css +1 -1
- package/dist/assets/index24.css +1 -1
- package/dist/assets/index25.css +1 -1
- package/dist/assets/index26.css +1 -1
- package/dist/assets/index27.css +1 -1
- package/dist/assets/index28.css +1 -1
- package/dist/assets/index29.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index30.css +1 -1
- package/dist/assets/index31.css +1 -1
- package/dist/assets/index32.css +1 -1
- package/dist/assets/index33.css +1 -1
- package/dist/assets/index34.css +1 -1
- package/dist/assets/index35.css +1 -1
- package/dist/assets/index36.css +1 -1
- package/dist/assets/index37.css +1 -1
- package/dist/assets/index39.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index40.css +1 -1
- package/dist/assets/index41.css +1 -1
- package/dist/assets/index42.css +1 -1
- package/dist/assets/index43.css +1 -1
- package/dist/assets/index44.css +1 -1
- package/dist/assets/index45.css +1 -0
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/listbox.css +1 -1
- package/dist/assets/refresh.css +1 -0
- package/dist/avatar-image.js +1 -1
- package/dist/badge.js +1 -1
- package/dist/button.js +21 -14
- package/dist/button.js.map +1 -1
- package/dist/card.js +54 -54
- package/dist/card.js.map +1 -1
- package/dist/checkbox.js +6 -6
- package/dist/chunks/{base-button.d1ba66cd.js → base-button.7886a7e6.js} +2 -2
- package/dist/chunks/{base-button.d1ba66cd.js.map → base-button.7886a7e6.js.map} +1 -1
- package/dist/chunks/{base-modal.ec74044e.js → base-modal.88e7b9d4.js} +4 -4
- package/dist/chunks/{base-modal.ec74044e.js.map → base-modal.88e7b9d4.js.map} +1 -1
- package/dist/chunks/button-actions-with-menu.a5413243.js +105 -0
- package/dist/chunks/button-actions-with-menu.a5413243.js.map +1 -0
- package/dist/chunks/button.e09d5980.js +125 -0
- package/dist/chunks/button.e09d5980.js.map +1 -0
- package/dist/chunks/{calendar.b74f8a0f.js → calendar.24d0ac04.js} +294 -272
- package/dist/chunks/calendar.24d0ac04.js.map +1 -0
- package/dist/chunks/{checkbox.96ee3f71.js → checkbox.5343e28e.js} +7 -7
- package/dist/chunks/{checkbox.96ee3f71.js.map → checkbox.5343e28e.js.map} +1 -1
- package/dist/chunks/checkmark.78f3ed9c.js +26 -0
- package/dist/chunks/checkmark.78f3ed9c.js.map +1 -0
- package/dist/chunks/{chevron-right.3b826337.js → chevron-left.c10778d3.js} +8 -8
- package/dist/chunks/chevron-left.c10778d3.js.map +1 -0
- package/dist/chunks/{controls-group.e9537e45.js → controls-group.2a21bd83.js} +2 -2
- package/dist/chunks/{controls-group.e9537e45.js.map → controls-group.2a21bd83.js.map} +1 -1
- package/dist/chunks/{copy.2ff56819.js → copy.346eadb1.js} +4 -4
- package/dist/chunks/{copy.2ff56819.js.map → copy.346eadb1.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.3df0bf23.js → dropdown-default-textbox.25134789.js} +4 -4
- package/dist/chunks/dropdown-default-textbox.25134789.js.map +1 -0
- package/dist/chunks/{dropdown.3f198167.js → dropdown.f1253a54.js} +111 -81
- package/dist/chunks/dropdown.f1253a54.js.map +1 -0
- package/dist/chunks/{error-message.f5454f19.js → error-message.8302a46c.js} +2 -2
- package/dist/chunks/{error-message.f5454f19.js.map → error-message.8302a46c.js.map} +1 -1
- package/dist/chunks/fixed-scroller.8994e30a.js +108 -0
- package/dist/chunks/fixed-scroller.8994e30a.js.map +1 -0
- package/dist/chunks/{footer-actions.00d20947.js → footer-actions.c9b2cb74.js} +3 -3
- package/dist/chunks/{footer-actions.00d20947.js.map → footer-actions.c9b2cb74.js.map} +1 -1
- package/dist/chunks/{index.c39c64c9.js → index.2625175a.js} +2 -2
- package/dist/chunks/{index.c39c64c9.js.map → index.2625175a.js.map} +1 -1
- package/dist/chunks/index.37283390.js +475 -0
- package/dist/chunks/index.37283390.js.map +1 -0
- package/dist/chunks/index.8ac70774.js +1328 -0
- package/dist/chunks/index.8ac70774.js.map +1 -0
- package/dist/chunks/{index.2fce7703.js → index.965ac1af.js} +2 -2
- package/dist/chunks/{index.2fce7703.js.map → index.965ac1af.js.map} +1 -1
- package/dist/chunks/{index.eb52e785.js → index.a201f750.js} +6 -5
- package/dist/chunks/{index.eb52e785.js.map → index.a201f750.js.map} +1 -1
- package/dist/chunks/{index.a709a6b0.js → index.b83f8b7e.js} +2 -2
- package/dist/chunks/{index.a709a6b0.js.map → index.b83f8b7e.js.map} +1 -1
- package/dist/chunks/{index.298f5eed.js → index.d6b5f5e1.js} +6 -6
- package/dist/chunks/{index.298f5eed.js.map → index.d6b5f5e1.js.map} +1 -1
- package/dist/chunks/{index.31949c1a.js → index.e566354f.js} +91 -74
- package/dist/chunks/index.e566354f.js.map +1 -0
- package/dist/chunks/{listbox-option-tag.1362a2d7.js → listbox-option-tag.6a09e8e2.js} +8 -7
- package/dist/chunks/{listbox-option-tag.1362a2d7.js.map → listbox-option-tag.6a09e8e2.js.map} +1 -1
- package/dist/chunks/{listbox.e7bf46e4.js → listbox.73c38f38.js} +479 -385
- package/dist/chunks/listbox.73c38f38.js.map +1 -0
- package/dist/chunks/{loading-button.0ad06c99.js → loading-button.c65682d6.js} +2 -2
- package/dist/chunks/{loading-button.0ad06c99.js.map → loading-button.c65682d6.js.map} +1 -1
- package/dist/chunks/refresh.eb485c6f.js +26 -0
- package/dist/chunks/refresh.eb485c6f.js.map +1 -0
- package/dist/chunks/summary-grid.keys.1d1028c2.js +5 -0
- package/dist/chunks/summary-grid.keys.1d1028c2.js.map +1 -0
- package/dist/chunks/{tooltip.68e81e9c.js → tooltip.104e5fac.js} +39 -36
- package/dist/chunks/{tooltip.68e81e9c.js.map → tooltip.104e5fac.js.map} +1 -1
- package/dist/code-snippet.js +7 -7
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +537 -528
- package/dist/country.js.map +1 -1
- package/dist/currency.js +1 -1
- package/dist/data-grid.js +10 -10
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +99 -89
- package/dist/date-picker.js.map +1 -1
- 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 +8 -7
- package/dist/empty-state.js.map +1 -1
- package/dist/filter-bar.js +500 -486
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +2 -2
- package/dist/header.js +104 -183
- package/dist/header.js.map +1 -1
- package/dist/image.js +3 -3
- package/dist/index.js +171 -169
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +3 -3
- package/dist/input-field.js +7 -7
- package/dist/internal.js +20 -106
- package/dist/internal.js.map +1 -1
- package/dist/link.js +2 -2
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +3 -466
- package/dist/menu.js.map +1 -1
- package/dist/modal.js +3 -3
- package/dist/pagination.js +40 -26
- package/dist/pagination.js.map +1 -1
- package/dist/payment-method.js +33 -26
- package/dist/payment-method.js.map +1 -1
- package/dist/popover.js +4 -4
- package/dist/popper-container.js +6 -1270
- package/dist/popper-container.js.map +1 -1
- package/dist/radio-group.js +97 -81
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/segmented-control.js +100 -70
- package/dist/segmented-control.js.map +1 -1
- package/dist/sidepanel.js +53 -51
- package/dist/sidepanel.js.map +1 -1
- package/dist/status.js +2 -2
- package/dist/stepper.js +3 -3
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +109 -119
- package/dist/summary-grid.js.map +1 -1
- package/dist/tabs.js +81 -71
- package/dist/tabs.js.map +1 -1
- package/dist/tag.js +3 -3
- package/dist/textarea.js +4 -4
- package/dist/timeline.js +170 -162
- package/dist/timeline.js.map +1 -1
- package/dist/toast.js +3 -3
- package/dist/toggle.js +6 -6
- package/dist/tutorial.js +307 -0
- package/dist/tutorial.js.map +1 -0
- package/dist/typography.js +1 -1
- package/dist/web-types.json +828 -122
- package/package.json +7 -4
- package/dist/assets/chevron-right.css +0 -1
- package/dist/chunks/button.eb60d460.js +0 -117
- package/dist/chunks/button.eb60d460.js.map +0 -1
- package/dist/chunks/calendar.b74f8a0f.js.map +0 -1
- package/dist/chunks/chevron-right.3b826337.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.3df0bf23.js.map +0 -1
- package/dist/chunks/dropdown.3f198167.js.map +0 -1
- package/dist/chunks/index.31949c1a.js.map +0 -1
- package/dist/chunks/listbox.e7bf46e4.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BentoAvatarListboxOptions } from "../dropdown/components/variants/dropdown-avatar/dropdown-avatar.types";
|
|
2
|
-
import { BentoListboxIsOptionDisabled, BentoListboxLazyLoadType, BentoListboxOptions, BentoListboxSearchOptions, BentoListboxSelectedValue, OmitStrict } from "../../types";
|
|
2
|
+
import { BentoListboxEmptyStateProps, BentoListboxIsOptionDisabled, BentoListboxLazyLoadType, BentoListboxOptions, BentoListboxSearchOptions, BentoListboxSelectedValue, OmitStrict } from "../../types";
|
|
3
3
|
import { BentoCountryListboxOptions } from "../dropdown/components/variants/dropdown-country/dropdown-country.types";
|
|
4
4
|
import { BentoTagListboxOptions } from "../dropdown/components/variants/dropdown-tag/dropdown-tag.types";
|
|
5
5
|
import { BentoCountryVariant } from "../country";
|
|
@@ -9,6 +9,7 @@ import { BentoDatePickerFirstDayOfWeek, BentoDatePickerIsDateDisabled } from '..
|
|
|
9
9
|
import { BentoDateRangePickerValue } from "../date-range-picker";
|
|
10
10
|
import { DateRangePickerCalendarRangeSelectorItems } from '../date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.types';
|
|
11
11
|
export interface BentoSelectFilterOptions {
|
|
12
|
+
emptyState?: BentoListboxEmptyStateProps;
|
|
12
13
|
listboxItems: BentoListboxOptions;
|
|
13
14
|
multiple?: boolean;
|
|
14
15
|
messages?: {
|
|
@@ -43,6 +44,14 @@ export type BentoSelectTagFilterOptions = OmitStrict<BentoSelectFilterOptions, '
|
|
|
43
44
|
export type BentoSelectPaymentMethodFilterOptions = OmitStrict<BentoSelectFilterOptions, 'listboxItems'> & {
|
|
44
45
|
listboxItems: BentoPaymentMethodListboxOptions;
|
|
45
46
|
};
|
|
47
|
+
export type BentoBooleanFilterOption = {
|
|
48
|
+
label: string;
|
|
49
|
+
value: string;
|
|
50
|
+
};
|
|
51
|
+
export type BentoBooleanFilterOptions = {
|
|
52
|
+
positiveOption: BentoBooleanFilterOption;
|
|
53
|
+
negativeOption: BentoBooleanFilterOption;
|
|
54
|
+
};
|
|
46
55
|
export interface BentoDateFilterOptions {
|
|
47
56
|
firstDayOfWeek?: BentoDatePickerFirstDayOfWeek;
|
|
48
57
|
isDateDisabled?: BentoDatePickerIsDateDisabled;
|
|
@@ -61,7 +70,7 @@ export type BentoBooleanFilterValue = string | null;
|
|
|
61
70
|
export type BentoDateFilterValue = Date | null;
|
|
62
71
|
export type BentoDateRangeFilterValue = BentoDateRangePickerValue | null;
|
|
63
72
|
export type BentoFilterBarValue = BentoInputFilterValue | BentoSelectFilterValue | BentoBooleanFilterValue | BentoDateFilterValue | BentoDateRangeFilterValue;
|
|
64
|
-
export type BentoFilterOptions = BentoSelectFilterOptions | BentoSelectAvatarFilterOptions | BentoSelectCountryFilterOptions | BentoSelectCurrencyFilterOptions | BentoSelectPaymentMethodFilterOptions | BentoSelectTagFilterOptions | BentoDateFilterOptions | BentoDateRangeFilterOptions | undefined;
|
|
73
|
+
export type BentoFilterOptions = BentoSelectFilterOptions | BentoSelectAvatarFilterOptions | BentoSelectCountryFilterOptions | BentoSelectCurrencyFilterOptions | BentoSelectPaymentMethodFilterOptions | BentoSelectTagFilterOptions | BentoDateFilterOptions | BentoDateRangeFilterOptions | BentoBooleanFilterOptions | undefined;
|
|
65
74
|
export declare enum BentoFilterEvent {
|
|
66
75
|
INPUT = "input",
|
|
67
76
|
UPDATE = "update"
|
|
@@ -94,6 +103,7 @@ export interface BentoFilterModel extends BentoFilterValue {
|
|
|
94
103
|
options?: BentoFilterOptions;
|
|
95
104
|
defaultValue?: BentoFilterBarValue;
|
|
96
105
|
visible?: boolean;
|
|
106
|
+
value?: BentoFilterBarValue;
|
|
97
107
|
}
|
|
98
108
|
export type BentoFilterBarModel = Array<BentoFilterModel>;
|
|
99
109
|
export type BentoFilterValues = Array<BentoFilterValue>;
|
|
@@ -2,6 +2,10 @@ import { PropType } from 'vue';
|
|
|
2
2
|
import { BentoFilterBarEvent, BentoFilterBarModel, BentoFilterModel, BentoFilterValues } from './filter-bar.types';
|
|
3
3
|
import { BentoSearchBarEvent } from "../search-bar";
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
config: {
|
|
6
|
+
type: PropType<BentoFilterBarModel>;
|
|
7
|
+
default: () => any[];
|
|
8
|
+
};
|
|
5
9
|
searchTerm: {
|
|
6
10
|
type: StringConstructor;
|
|
7
11
|
default: any;
|
|
@@ -22,6 +26,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
26
|
persistentFilters: import("vue").ComputedRef<BentoFilterModel[]>;
|
|
23
27
|
regularFilters: import("vue").ComputedRef<BentoFilterModel[]>;
|
|
24
28
|
isResetAllVisible: import("vue").ComputedRef<boolean>;
|
|
29
|
+
valueAndFilterValuesPropsMerged: import("vue").ComputedRef<BentoFilterBarModel>;
|
|
25
30
|
updateAllFilters: (newFilters: BentoFilterBarModel) => void;
|
|
26
31
|
updateFilterHandler: (updatedFilter: BentoFilterModel) => void;
|
|
27
32
|
clearAllFilters: () => void;
|
|
@@ -29,6 +34,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
29
34
|
onSearchbarInput: (newSearchTerm: string) => void;
|
|
30
35
|
resetAllFilters: () => void;
|
|
31
36
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, (BentoFilterBarEvent | BentoSearchBarEvent)[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
config: {
|
|
38
|
+
type: PropType<BentoFilterBarModel>;
|
|
39
|
+
default: () => any[];
|
|
40
|
+
};
|
|
32
41
|
searchTerm: {
|
|
33
42
|
type: StringConstructor;
|
|
34
43
|
default: any;
|
|
@@ -43,6 +52,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
43
52
|
};
|
|
44
53
|
}>>, {
|
|
45
54
|
value: BentoFilterBarModel;
|
|
55
|
+
config: BentoFilterBarModel;
|
|
46
56
|
searchTerm: string;
|
|
47
57
|
filterValues: BentoFilterValues;
|
|
48
58
|
}>;
|
|
@@ -2,18 +2,18 @@ import { PropType } from 'vue';
|
|
|
2
2
|
import { BentoFormLayoutFieldTipTypeOption } from './form-layout-tip.types';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
4
|
type: {
|
|
5
|
-
type: PropType<"
|
|
5
|
+
type: PropType<"critical" | "success" | "warning" | "highlight">;
|
|
6
6
|
default: string;
|
|
7
7
|
validator: (value: BentoFormLayoutFieldTipTypeOption) => boolean;
|
|
8
8
|
};
|
|
9
9
|
}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
10
10
|
type: {
|
|
11
|
-
type: PropType<"
|
|
11
|
+
type: PropType<"critical" | "success" | "warning" | "highlight">;
|
|
12
12
|
default: string;
|
|
13
13
|
validator: (value: BentoFormLayoutFieldTipTypeOption) => boolean;
|
|
14
14
|
};
|
|
15
15
|
}>>, {
|
|
16
|
-
type: "
|
|
16
|
+
type: "critical" | "success" | "warning" | "highlight";
|
|
17
17
|
}>, {
|
|
18
18
|
default: (_: {}) => any;
|
|
19
19
|
message: (_: {}) => any;
|
|
@@ -61,7 +61,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
61
61
|
}>>, {
|
|
62
62
|
variant: "component" | "page" | BentoHeaderVariant;
|
|
63
63
|
actions: BentoButtonActionsList;
|
|
64
|
-
lastUpdated: number | Date;
|
|
65
64
|
infoIconTooltipText: string;
|
|
65
|
+
lastUpdated: number | Date;
|
|
66
66
|
}>;
|
|
67
67
|
export default _default;
|
|
@@ -6,7 +6,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6
6
|
required: true;
|
|
7
7
|
};
|
|
8
8
|
tooltipPosition: {
|
|
9
|
-
type: PropType<"auto" | "
|
|
9
|
+
type: PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | PopperContainerPosition>;
|
|
10
10
|
default: import("../popper-container").PopperContainerPositionExtended;
|
|
11
11
|
validator: (value: PopperContainerPosition) => boolean;
|
|
12
12
|
};
|
|
@@ -16,11 +16,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
required: true;
|
|
17
17
|
};
|
|
18
18
|
tooltipPosition: {
|
|
19
|
-
type: PropType<"auto" | "
|
|
19
|
+
type: PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | PopperContainerPosition>;
|
|
20
20
|
default: import("../popper-container").PopperContainerPositionExtended;
|
|
21
21
|
validator: (value: PopperContainerPosition) => boolean;
|
|
22
22
|
};
|
|
23
23
|
}>>, {
|
|
24
|
-
tooltipPosition: "auto" | "
|
|
24
|
+
tooltipPosition: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | PopperContainerPosition;
|
|
25
25
|
}>;
|
|
26
26
|
export default _default;
|
|
@@ -175,8 +175,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
175
175
|
disabled: boolean;
|
|
176
176
|
placeholder: string;
|
|
177
177
|
optional: boolean;
|
|
178
|
-
errorMessage: string;
|
|
179
178
|
readonly: boolean;
|
|
179
|
+
errorMessage: string;
|
|
180
180
|
ariaLabel: string;
|
|
181
181
|
dropdown: BentoInputDropdownProps;
|
|
182
182
|
ariaHidden: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { BentoButtonActionsList } from "../../button";
|
|
3
|
+
import { BentoPopoverPositions } from "../../popover";
|
|
3
4
|
declare const _default: import("vue").DefineComponent<{
|
|
4
5
|
actions: {
|
|
5
6
|
type: PropType<BentoButtonActionsList>;
|
|
@@ -9,6 +10,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
10
|
type: NumberConstructor;
|
|
10
11
|
default: any;
|
|
11
12
|
};
|
|
13
|
+
inverse: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
menuPosition: {
|
|
18
|
+
type: PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | import("../../popper-container/popper-container.types.js").PopperContainerPosition>;
|
|
19
|
+
default: string;
|
|
20
|
+
validator: (value: BentoPopoverPositions) => boolean;
|
|
21
|
+
};
|
|
12
22
|
}, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
13
23
|
actions: {
|
|
14
24
|
type: PropType<BentoButtonActionsList>;
|
|
@@ -18,7 +28,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
28
|
type: NumberConstructor;
|
|
19
29
|
default: any;
|
|
20
30
|
};
|
|
31
|
+
inverse: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
menuPosition: {
|
|
36
|
+
type: PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | import("../../popper-container/popper-container.types.js").PopperContainerPosition>;
|
|
37
|
+
default: string;
|
|
38
|
+
validator: (value: BentoPopoverPositions) => boolean;
|
|
39
|
+
};
|
|
21
40
|
}>>, {
|
|
41
|
+
inverse: boolean;
|
|
42
|
+
menuPosition: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | import("../../popper-container/popper-container.types.js").PopperContainerPosition;
|
|
22
43
|
displayedActions: number;
|
|
23
44
|
}>;
|
|
24
45
|
export default _default;
|
|
@@ -20,6 +20,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
default: any;
|
|
21
21
|
validator: (value: number) => boolean;
|
|
22
22
|
};
|
|
23
|
+
min: {
|
|
24
|
+
type: DateConstructor;
|
|
25
|
+
default: any;
|
|
26
|
+
};
|
|
27
|
+
max: {
|
|
28
|
+
type: DateConstructor;
|
|
29
|
+
default: any;
|
|
30
|
+
};
|
|
23
31
|
numberOfMonths: {
|
|
24
32
|
type: NumberConstructor;
|
|
25
33
|
default: number;
|
|
@@ -190,6 +198,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
190
198
|
default: any;
|
|
191
199
|
validator: (value: number) => boolean;
|
|
192
200
|
};
|
|
201
|
+
min: {
|
|
202
|
+
type: DateConstructor;
|
|
203
|
+
default: any;
|
|
204
|
+
};
|
|
205
|
+
max: {
|
|
206
|
+
type: DateConstructor;
|
|
207
|
+
default: any;
|
|
208
|
+
};
|
|
193
209
|
numberOfMonths: {
|
|
194
210
|
type: NumberConstructor;
|
|
195
211
|
default: number;
|
|
@@ -204,6 +220,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
204
220
|
isDateDisabled: import("./calendar.types").CalendarIsDateDisabled;
|
|
205
221
|
firstDayOfWeek: import("./calendar.types").CalendarFirstDayOfWeek;
|
|
206
222
|
isRange: boolean;
|
|
223
|
+
min: Date;
|
|
224
|
+
max: Date;
|
|
207
225
|
maxRange: number;
|
|
208
226
|
numberOfMonths: number;
|
|
209
227
|
}>;
|
|
@@ -19,6 +19,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
19
|
type: BooleanConstructor;
|
|
20
20
|
default: boolean;
|
|
21
21
|
};
|
|
22
|
+
min: {
|
|
23
|
+
type: DateConstructor;
|
|
24
|
+
default: any;
|
|
25
|
+
};
|
|
26
|
+
max: {
|
|
27
|
+
type: DateConstructor;
|
|
28
|
+
default: any;
|
|
29
|
+
};
|
|
22
30
|
month: {
|
|
23
31
|
type: DateConstructor;
|
|
24
32
|
required: true;
|
|
@@ -34,6 +42,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
34
42
|
};
|
|
35
43
|
}, {
|
|
36
44
|
addDayRef: (day: Date) => (enteringRef: any) => void;
|
|
45
|
+
computedIsDateDisabled: import("vue").ComputedRef<(date: Date) => boolean>;
|
|
37
46
|
daysOfWeek: import("vue").ComputedRef<string[]>;
|
|
38
47
|
weeksOfMonth: import("vue").ComputedRef<any[]>;
|
|
39
48
|
formattedMonthDate: import("vue").ComputedRef<string>;
|
|
@@ -99,6 +108,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
99
108
|
type: BooleanConstructor;
|
|
100
109
|
default: boolean;
|
|
101
110
|
};
|
|
111
|
+
min: {
|
|
112
|
+
type: DateConstructor;
|
|
113
|
+
default: any;
|
|
114
|
+
};
|
|
115
|
+
max: {
|
|
116
|
+
type: DateConstructor;
|
|
117
|
+
default: any;
|
|
118
|
+
};
|
|
102
119
|
month: {
|
|
103
120
|
type: DateConstructor;
|
|
104
121
|
required: true;
|
|
@@ -118,6 +135,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
118
135
|
firstDayOfWeek: CalendarMonthFirstDayOfWeek;
|
|
119
136
|
endDate: Date;
|
|
120
137
|
isRange: boolean;
|
|
138
|
+
min: Date;
|
|
139
|
+
max: Date;
|
|
121
140
|
startDate: Date;
|
|
122
141
|
}>;
|
|
123
142
|
export default _default;
|
package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts
CHANGED
|
@@ -69,8 +69,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
69
69
|
form: string;
|
|
70
70
|
required: boolean;
|
|
71
71
|
disabled: boolean;
|
|
72
|
-
tooltipText: string;
|
|
73
72
|
optional: boolean;
|
|
73
|
+
tooltipText: string;
|
|
74
74
|
hideLabel: boolean;
|
|
75
75
|
}>, {
|
|
76
76
|
default: (_: {}) => any;
|
package/dist/@types/packages/vue2/src/components/internal/fixed-scroller/fixed-scroller.vue.d.ts
CHANGED
|
@@ -1,4 +1,25 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
condensed: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
extraPaddingTop: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
condensed: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
extraPaddingTop: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
}>>, {
|
|
20
|
+
condensed: boolean;
|
|
21
|
+
extraPaddingTop: number;
|
|
22
|
+
}>, {
|
|
2
23
|
default: (_: {}) => any;
|
|
3
24
|
}>;
|
|
4
25
|
export default _default;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { BentoKeyboardNavigationKeyDownEvent, BentoListboxEvent, BentoListboxLazyLoadType, BentoListboxOptions, BentoListboxSelectedValue } from "../../../types";
|
|
2
|
+
import { BentoKeyboardNavigationKeyDownEvent, BentoListboxEmptyStateProps, BentoListboxEvent, BentoListboxLazyLoadType, BentoListboxOptionItem, BentoListboxOptions, BentoListboxSelectedValue, BentoListboxVirtulisationOptions } from "../../../types";
|
|
3
3
|
import { BentoLoadingButtonState } from "../../button";
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
ariaLabel: {
|
|
6
6
|
type: StringConstructor;
|
|
7
7
|
default: any;
|
|
8
8
|
};
|
|
9
|
+
emptyState: {
|
|
10
|
+
type: PropType<BentoListboxEmptyStateProps>;
|
|
11
|
+
default: any;
|
|
12
|
+
};
|
|
9
13
|
hasMoreItems: {
|
|
10
14
|
type: BooleanConstructor;
|
|
11
15
|
default: boolean;
|
|
@@ -15,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
19
|
required: true;
|
|
16
20
|
};
|
|
17
21
|
isOptionDisabled: {
|
|
18
|
-
type: PropType<(optionValue:
|
|
22
|
+
type: PropType<(optionValue: BentoListboxOptionItem) => boolean>;
|
|
19
23
|
default: () => any;
|
|
20
24
|
};
|
|
21
25
|
items: {
|
|
@@ -47,22 +51,94 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
51
|
type: PropType<BentoListboxSelectedValue>;
|
|
48
52
|
default: any;
|
|
49
53
|
};
|
|
54
|
+
virtualScroll: {
|
|
55
|
+
type: PropType<BentoListboxVirtulisationOptions>;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
50
58
|
}, {
|
|
51
|
-
listboxRef:
|
|
59
|
+
listboxRef: import("vue").Ref<HTMLElement>;
|
|
52
60
|
listboxItemRef: import("vue").Ref<any[]>;
|
|
53
61
|
ariaAtomic: import("vue").ComputedRef<boolean | "true" | "false">;
|
|
54
62
|
ariaBusy: import("vue").ComputedRef<boolean | "true" | "false">;
|
|
55
63
|
ariaLive: import("vue").ComputedRef<"off" | "assertive" | "polite">;
|
|
56
|
-
|
|
64
|
+
containerProps: import("../../../composables/use-virtual-list").UseVirtualListContainerProps;
|
|
57
65
|
isSearchResultEmpty: import("vue").ComputedRef<boolean>;
|
|
66
|
+
limitedEmptyStateProps: import("vue").ComputedRef<Readonly<Partial<{
|
|
67
|
+
description: string;
|
|
68
|
+
title: string;
|
|
69
|
+
image: "1-generic-use" | "2-generic-use" | "3-generic-use" | "4-generic-use" | "adding-payment-methods" | "adyen-giving" | "internal-error" | "no-results-found" | "notifications-cleared" | "page-not-found" | "planned-maintenance" | "referrals" | "upload-files" | "wrong-environment";
|
|
70
|
+
variant: "condensed" | "full-page" | "embedded" | "basic";
|
|
71
|
+
action: import("../../button").BentoButtonActionObject;
|
|
72
|
+
headingEl: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span";
|
|
73
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
74
|
+
action: {
|
|
75
|
+
type: PropType<import("../../button").BentoButtonActionObject>;
|
|
76
|
+
default: any;
|
|
77
|
+
validator: (value: import("../../button").BentoButtonActionObject) => boolean;
|
|
78
|
+
};
|
|
79
|
+
description: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
default: any;
|
|
82
|
+
};
|
|
83
|
+
headingEl: {
|
|
84
|
+
type: PropType<"div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span">;
|
|
85
|
+
default: any;
|
|
86
|
+
validator: (value: import("../../typography").BentoTypographyElement) => boolean;
|
|
87
|
+
};
|
|
88
|
+
image: {
|
|
89
|
+
type: PropType<"1-generic-use" | "2-generic-use" | "3-generic-use" | "4-generic-use" | "adding-payment-methods" | "adyen-giving" | "internal-error" | "no-results-found" | "notifications-cleared" | "page-not-found" | "planned-maintenance" | "referrals" | "upload-files" | "wrong-environment">;
|
|
90
|
+
default: any;
|
|
91
|
+
validator: (value: import("../../empty-state").BentoEmptyStateImage) => boolean;
|
|
92
|
+
};
|
|
93
|
+
title: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
variant: {
|
|
98
|
+
type: PropType<"condensed" | "full-page" | "embedded" | "basic">;
|
|
99
|
+
default: string;
|
|
100
|
+
validator: (value: import("../../empty-state").BentoEmptyStateVariant) => boolean;
|
|
101
|
+
};
|
|
102
|
+
}>>, import("vue/types/v3-component-props").DefaultKeys<{
|
|
103
|
+
action: {
|
|
104
|
+
type: PropType<import("../../button").BentoButtonActionObject>;
|
|
105
|
+
default: any;
|
|
106
|
+
validator: (value: import("../../button").BentoButtonActionObject) => boolean;
|
|
107
|
+
};
|
|
108
|
+
description: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
default: any;
|
|
111
|
+
};
|
|
112
|
+
headingEl: {
|
|
113
|
+
type: PropType<"div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span">;
|
|
114
|
+
default: any;
|
|
115
|
+
validator: (value: import("../../typography").BentoTypographyElement) => boolean;
|
|
116
|
+
};
|
|
117
|
+
image: {
|
|
118
|
+
type: PropType<"1-generic-use" | "2-generic-use" | "3-generic-use" | "4-generic-use" | "adding-payment-methods" | "adyen-giving" | "internal-error" | "no-results-found" | "notifications-cleared" | "page-not-found" | "planned-maintenance" | "referrals" | "upload-files" | "wrong-environment">;
|
|
119
|
+
default: any;
|
|
120
|
+
validator: (value: import("../../empty-state").BentoEmptyStateImage) => boolean;
|
|
121
|
+
};
|
|
122
|
+
title: {
|
|
123
|
+
type: StringConstructor;
|
|
124
|
+
default: string;
|
|
125
|
+
};
|
|
126
|
+
variant: {
|
|
127
|
+
type: PropType<"condensed" | "full-page" | "embedded" | "basic">;
|
|
128
|
+
default: string;
|
|
129
|
+
validator: (value: import("../../empty-state").BentoEmptyStateVariant) => boolean;
|
|
130
|
+
};
|
|
131
|
+
}>>>>;
|
|
58
132
|
loadingButtonState: import("vue").ComputedRef<BentoLoadingButtonState.START | BentoLoadingButtonState.LOADING>;
|
|
59
133
|
slots: import("vue/types/v3-setup-context").Slots;
|
|
60
134
|
shouldDisplayShowMoreButton: import("vue").ComputedRef<boolean>;
|
|
61
135
|
showMoreButtonText: import("vue").ComputedRef<string>;
|
|
136
|
+
virtualisedItems: import("vue").Ref<BentoListboxOptionItem[]>;
|
|
137
|
+
wrapperProps: import("vue").ComputedRef<import("../../../composables/use-virtual-list").UseVirtualListWrapperProps>;
|
|
62
138
|
BentoKeyboardNavigationKeyDownEvent: typeof BentoKeyboardNavigationKeyDownEvent;
|
|
63
139
|
BentoListboxEvent: typeof BentoListboxEvent;
|
|
140
|
+
onListboxContainerScroll: () => void;
|
|
64
141
|
onOptionSelected: (eventName: any) => (selectedValue: BentoListboxSelectedValue) => void;
|
|
65
|
-
emitShowMoreOnScrollEnd: () => void;
|
|
66
142
|
emitShowMore: () => void;
|
|
67
143
|
listboxListeners: {
|
|
68
144
|
select: (selectedValue: BentoListboxSelectedValue) => void;
|
|
@@ -75,6 +151,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
75
151
|
type: StringConstructor;
|
|
76
152
|
default: any;
|
|
77
153
|
};
|
|
154
|
+
emptyState: {
|
|
155
|
+
type: PropType<BentoListboxEmptyStateProps>;
|
|
156
|
+
default: any;
|
|
157
|
+
};
|
|
78
158
|
hasMoreItems: {
|
|
79
159
|
type: BooleanConstructor;
|
|
80
160
|
default: boolean;
|
|
@@ -84,7 +164,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
164
|
required: true;
|
|
85
165
|
};
|
|
86
166
|
isOptionDisabled: {
|
|
87
|
-
type: PropType<(optionValue:
|
|
167
|
+
type: PropType<(optionValue: BentoListboxOptionItem) => boolean>;
|
|
88
168
|
default: () => any;
|
|
89
169
|
};
|
|
90
170
|
items: {
|
|
@@ -116,14 +196,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
116
196
|
type: PropType<BentoListboxSelectedValue>;
|
|
117
197
|
default: any;
|
|
118
198
|
};
|
|
199
|
+
virtualScroll: {
|
|
200
|
+
type: PropType<BentoListboxVirtulisationOptions>;
|
|
201
|
+
default: boolean;
|
|
202
|
+
};
|
|
119
203
|
}>>, {
|
|
120
|
-
loading: boolean;
|
|
121
204
|
multiple: boolean;
|
|
122
|
-
|
|
205
|
+
loading: boolean;
|
|
206
|
+
isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
|
|
123
207
|
selectedValue: BentoListboxSelectedValue;
|
|
124
208
|
ariaLabel: string;
|
|
125
209
|
searching: boolean;
|
|
210
|
+
emptyState: BentoListboxEmptyStateProps;
|
|
126
211
|
hasMoreItems: boolean;
|
|
127
212
|
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
213
|
+
virtualScroll: BentoListboxVirtulisationOptions;
|
|
128
214
|
}>;
|
|
129
215
|
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BentoTeleport } from './teleport.vue';
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineComponent<{
|
|
2
|
+
to: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
where: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
disabled: BooleanConstructor;
|
|
11
|
+
}, {}, {
|
|
12
|
+
childObserver: any;
|
|
13
|
+
nodes: any[];
|
|
14
|
+
waiting: boolean;
|
|
15
|
+
observer: any;
|
|
16
|
+
parent: any;
|
|
17
|
+
isVue2: boolean;
|
|
18
|
+
}, {
|
|
19
|
+
classes(): string[];
|
|
20
|
+
}, {
|
|
21
|
+
getFragment(): DocumentFragment;
|
|
22
|
+
disable(): void;
|
|
23
|
+
move(): void;
|
|
24
|
+
maybeMove(): void;
|
|
25
|
+
onMutations(mutations: any): void;
|
|
26
|
+
bootObserver(): void;
|
|
27
|
+
teardownObserver(): void;
|
|
28
|
+
getComponentChildrenNode(): any;
|
|
29
|
+
}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
30
|
+
to: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
where: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
disabled: BooleanConstructor;
|
|
39
|
+
}>>, {
|
|
40
|
+
disabled: boolean;
|
|
41
|
+
where: string;
|
|
42
|
+
}>, {
|
|
43
|
+
default: (_: {}) => any;
|
|
44
|
+
}>;
|
|
45
|
+
export default _default;
|
|
46
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
47
|
+
new (): {
|
|
48
|
+
$slots: S;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
@@ -19,7 +19,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
19
19
|
variant: BentoLinkVariant;
|
|
20
20
|
target: any;
|
|
21
21
|
}>>>, {
|
|
22
|
-
variant: "default" |
|
|
22
|
+
variant: "default" | "quiet" | BentoLinkVariant;
|
|
23
23
|
target: string;
|
|
24
24
|
}>, {
|
|
25
25
|
default: (_: {}) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MENU_INVERSE_INJECTION_KEY: unique symbol;
|
|
@@ -3,12 +3,16 @@ import { BentoPopoverPositions } from "../popover";
|
|
|
3
3
|
import { BentoMenuItem } from './components';
|
|
4
4
|
import { BentoMenuButtonProps, BentoMenuEvent } from './menu.types';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
6
|
+
button: {
|
|
7
|
+
type: PropType<BentoMenuButtonProps>;
|
|
8
|
+
default: () => BentoMenuButtonProps;
|
|
9
|
+
};
|
|
6
10
|
data: {
|
|
7
11
|
type: PropType<BentoMenuItem[]>;
|
|
8
12
|
required: true;
|
|
9
13
|
};
|
|
10
14
|
menuPosition: {
|
|
11
|
-
type: PropType<"auto" | "
|
|
15
|
+
type: PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | import("../popper-container").PopperContainerPosition>;
|
|
12
16
|
default: import("../popper-container").PopperContainerPositionExtended;
|
|
13
17
|
validator: (value: BentoPopoverPositions) => boolean;
|
|
14
18
|
};
|
|
@@ -20,10 +24,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
24
|
type: NumberConstructor;
|
|
21
25
|
default: any;
|
|
22
26
|
};
|
|
23
|
-
button: {
|
|
24
|
-
type: PropType<BentoMenuButtonProps>;
|
|
25
|
-
default: () => BentoMenuButtonProps;
|
|
26
|
-
};
|
|
27
27
|
}, {
|
|
28
28
|
menuButtonRef: any;
|
|
29
29
|
menuId: string;
|
|
@@ -33,17 +33,25 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
33
|
width: string;
|
|
34
34
|
}>;
|
|
35
35
|
isLastElementFocused: import("vue").Ref<boolean>;
|
|
36
|
+
computedClasses: import("vue").ComputedRef<{
|
|
37
|
+
'b-menu--inverse': boolean;
|
|
38
|
+
}>;
|
|
39
|
+
isInverseColorSet: import("vue").Ref<boolean>;
|
|
36
40
|
onKeyDown: () => void;
|
|
37
41
|
onKeyUp: () => void;
|
|
38
42
|
closeMenu: () => void;
|
|
39
43
|
toggleShowMenu: (e: MouseEvent) => void;
|
|
40
44
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, (BentoMenuEvent.CLOSE | BentoMenuEvent.OPEN)[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
45
|
+
button: {
|
|
46
|
+
type: PropType<BentoMenuButtonProps>;
|
|
47
|
+
default: () => BentoMenuButtonProps;
|
|
48
|
+
};
|
|
41
49
|
data: {
|
|
42
50
|
type: PropType<BentoMenuItem[]>;
|
|
43
51
|
required: true;
|
|
44
52
|
};
|
|
45
53
|
menuPosition: {
|
|
46
|
-
type: PropType<"auto" | "
|
|
54
|
+
type: PropType<"auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | import("../popper-container").PopperContainerPosition>;
|
|
47
55
|
default: import("../popper-container").PopperContainerPositionExtended;
|
|
48
56
|
validator: (value: BentoPopoverPositions) => boolean;
|
|
49
57
|
};
|
|
@@ -55,13 +63,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
55
63
|
type: NumberConstructor;
|
|
56
64
|
default: any;
|
|
57
65
|
};
|
|
58
|
-
button: {
|
|
59
|
-
type: PropType<BentoMenuButtonProps>;
|
|
60
|
-
default: () => BentoMenuButtonProps;
|
|
61
|
-
};
|
|
62
66
|
}>>, {
|
|
63
67
|
button: BentoMenuButtonProps;
|
|
64
|
-
menuPosition: "auto" | "
|
|
68
|
+
menuPosition: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | import("../popper-container").PopperContainerPosition;
|
|
65
69
|
menuFixedPositioning: boolean;
|
|
66
70
|
menuWidth: number;
|
|
67
71
|
}>;
|
|
@@ -9,6 +9,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
type: NumberConstructor;
|
|
10
10
|
default: any;
|
|
11
11
|
};
|
|
12
|
+
virtualScroll: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
12
16
|
}, {
|
|
13
17
|
dropdownId: string;
|
|
14
18
|
listOfAvailablePages: import("vue").ComputedRef<BentoListboxOptionItem[]>;
|
|
@@ -31,8 +35,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
35
|
type: NumberConstructor;
|
|
32
36
|
default: any;
|
|
33
37
|
};
|
|
38
|
+
virtualScroll: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
34
42
|
}>>, {
|
|
35
43
|
page: number;
|
|
44
|
+
virtualScroll: boolean;
|
|
36
45
|
totalPages: number;
|
|
37
46
|
}>;
|
|
38
47
|
export default _default;
|