@adyen/bento-vue2 1.11.1 → 1.13.1
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/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +10 -22
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +34 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-scroller/use-scroller.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +3 -1
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +38 -29
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +43 -1306
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +5 -11
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +43 -48
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +43 -44
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +43 -43
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +43 -43
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +43 -48
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/dropdown/composables/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.types.d.ts +28 -0
- package/dist/@types/packages/vue2/src/components/dropdown/composables/{useKeyboardNavigation.d.ts → use-keyboard-navigation.d.ts} +3 -13
- package/dist/@types/packages/vue2/src/components/dropdown/composables/use-keyboard-navigation.types.d.ts +15 -0
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +48 -1674
- package/dist/@types/packages/vue2/src/components/dropdown/index.d.ts +5 -4
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +532 -12
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/base-filter.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +4 -1
- package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-chips/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-chips/listbox-multi-select-chips.vue.d.ts +28 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +3 -4
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/composables/useListboxKeyboardNavigation.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +20 -13
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +16 -60
- package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +59 -49
- package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +39 -291
- package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +76 -83
- package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.vue.d.ts +22 -26
- package/dist/@types/packages/vue2/src/components/radio-group/index.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/search-bar/search-bar.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.types.d.ts +6 -0
- package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.vue.d.ts +10 -0
- package/dist/@types/packages/vue2/src/templates/data-grid-template/index.d.ts +1 -0
- package/dist/accordion.js +2 -2
- package/dist/action-bar.js +5 -5
- package/dist/alert.js +17 -16
- package/dist/alert.js.map +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/controls-group.css +1 -1
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- 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/index38.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 -1
- package/dist/assets/index46.css +1 -1
- 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/avatar-image.js +1 -1
- package/dist/badge.js +1 -1
- package/dist/button.js +45 -52
- package/dist/button.js.map +1 -1
- package/dist/card.js +15 -15
- package/dist/card.js.map +1 -1
- package/dist/checkbox.js +6 -6
- package/dist/chunks/arrow-left.2db60716.js.map +1 -1
- package/dist/chunks/{base-button.f58ffaaa.js → base-button.f9080a52.js} +2 -2
- package/dist/chunks/{base-button.f58ffaaa.js.map → base-button.f9080a52.js.map} +1 -1
- package/dist/chunks/base-modal.a580438d.js +202 -0
- package/dist/chunks/base-modal.a580438d.js.map +1 -0
- package/dist/chunks/{button-actions-with-menu.3849a35c.js → button-actions-with-menu.a9087340.js} +3 -3
- package/dist/chunks/{button-actions-with-menu.3849a35c.js.map → button-actions-with-menu.a9087340.js.map} +1 -1
- package/dist/chunks/{button.3ce10493.js → button.bb0d7584.js} +7 -7
- package/dist/chunks/{button.3ce10493.js.map → button.bb0d7584.js.map} +1 -1
- package/dist/chunks/{calendar.3e9c35d0.js → calendar.17ab99de.js} +69 -68
- package/dist/chunks/{calendar.3e9c35d0.js.map → calendar.17ab99de.js.map} +1 -1
- package/dist/chunks/{checkbox.68cc1f84.js → checkbox.51cdb397.js} +3 -3
- package/dist/chunks/checkbox.51cdb397.js.map +1 -0
- package/dist/chunks/checkmark-circle-fill.345311d2.js.map +1 -1
- package/dist/chunks/checkmark-small.520f01b1.js.map +1 -1
- package/dist/chunks/checkmark.a6ed8f47.js.map +1 -1
- package/dist/chunks/chevron-left.5edf02ac.js.map +1 -1
- package/dist/chunks/chevron-up.81185563.js.map +1 -1
- package/dist/chunks/{controls-group.9e878137.js → controls-group.3716f4b4.js} +4 -4
- package/dist/chunks/{controls-group.9e878137.js.map → controls-group.3716f4b4.js.map} +1 -1
- package/dist/chunks/{copy.14578696.js → copy.54cc3ab4.js} +4 -4
- package/dist/chunks/copy.54cc3ab4.js.map +1 -0
- package/dist/chunks/cross-circle-fill.27580c4b.js.map +1 -1
- package/dist/chunks/cross-small.e851e0de.js +26 -0
- package/dist/chunks/cross-small.e851e0de.js.map +1 -0
- package/dist/chunks/cross.04678d81.js.map +1 -1
- package/dist/chunks/{dropdown-default-textbox.4b227b24.js → dropdown-default-textbox.13b5054e.js} +129 -148
- package/dist/chunks/dropdown-default-textbox.13b5054e.js.map +1 -0
- package/dist/chunks/dropdown.4d800c61.js +797 -0
- package/dist/chunks/dropdown.4d800c61.js.map +1 -0
- package/dist/chunks/{field-label.3019a2f3.js → field-label.7328b82b.js} +2 -2
- package/dist/chunks/{field-label.3019a2f3.js.map → field-label.7328b82b.js.map} +1 -1
- package/dist/chunks/{fixed-scroller.cd3e1f8d.js → fixed-scroller.d6c11166.js} +2 -2
- package/dist/chunks/{fixed-scroller.cd3e1f8d.js.map → fixed-scroller.d6c11166.js.map} +1 -1
- package/dist/chunks/{footer-actions.da12aa54.js → footer-actions.bc0cb7e0.js} +3 -3
- package/dist/chunks/{footer-actions.da12aa54.js.map → footer-actions.bc0cb7e0.js.map} +1 -1
- package/dist/chunks/{index.eede8742.js → index.170ac16b.js} +3 -3
- package/dist/chunks/{index.eede8742.js.map → index.170ac16b.js.map} +1 -1
- package/dist/chunks/index.339f15c4.js +637 -0
- package/dist/chunks/index.339f15c4.js.map +1 -0
- package/dist/chunks/{index.026ae47b.js → index.541cce1c.js} +2 -2
- package/dist/chunks/{index.026ae47b.js.map → index.541cce1c.js.map} +1 -1
- package/dist/chunks/{index.c032aa32.js → index.5742fba4.js} +7 -7
- package/dist/chunks/index.5742fba4.js.map +1 -0
- package/dist/chunks/{index.32095db1.js → index.6ac01113.js} +2 -2
- package/dist/chunks/{index.32095db1.js.map → index.6ac01113.js.map} +1 -1
- package/dist/chunks/{index.618cc4cb.js → index.772a5595.js} +13 -12
- package/dist/chunks/{index.618cc4cb.js.map → index.772a5595.js.map} +1 -1
- package/dist/chunks/{index.8f1e4d8d.js → index.82ff40be.js} +3 -3
- package/dist/chunks/{index.8f1e4d8d.js.map → index.82ff40be.js.map} +1 -1
- package/dist/chunks/{index.13ede682.js → index.a4a820fd.js} +6 -6
- package/dist/chunks/{index.13ede682.js.map → index.a4a820fd.js.map} +1 -1
- package/dist/chunks/{index.02859365.js → index.af238ed6.js} +2 -2
- package/dist/chunks/{index.02859365.js.map → index.af238ed6.js.map} +1 -1
- package/dist/chunks/index.d1f65246.js +80 -0
- package/dist/chunks/index.d1f65246.js.map +1 -0
- package/dist/chunks/{index.6a417137.js → index.ec0743da.js} +5 -5
- package/dist/chunks/{index.6a417137.js.map → index.ec0743da.js.map} +1 -1
- package/dist/chunks/{info-filled.27bd4bfb.js → info-filled.c37e091d.js} +12 -33
- package/dist/chunks/{info-filled.27bd4bfb.js.map → info-filled.c37e091d.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.2efd15e0.js → listbox-option-tag.6f3e922c.js} +3 -3
- package/dist/chunks/{listbox-option-tag.2efd15e0.js.map → listbox-option-tag.6f3e922c.js.map} +1 -1
- package/dist/chunks/{listbox.371743bc.js → listbox.e5d70b9b.js} +472 -423
- package/dist/chunks/listbox.e5d70b9b.js.map +1 -0
- package/dist/chunks/{loading-button.2e197f34.js → loading-button.7301cc2e.js} +2 -2
- package/dist/chunks/{loading-button.2e197f34.js.map → loading-button.7301cc2e.js.map} +1 -1
- package/dist/chunks/refresh.71a03998.js.map +1 -1
- package/dist/chunks/search.471270fe.js.map +1 -1
- package/dist/chunks/sidepanel.keys.3f8d69c1.js +7 -0
- package/dist/chunks/sidepanel.keys.3f8d69c1.js.map +1 -0
- package/dist/chunks/{tooltip.1ec3479c.js → tooltip.46858ae6.js} +3 -3
- package/dist/chunks/{tooltip.1ec3479c.js.map → tooltip.46858ae6.js.map} +1 -1
- package/dist/chunks/{useCountryItems.6b7985bf.js → use-country-items.6b7985bf.js} +1 -1
- package/dist/chunks/use-country-items.6b7985bf.js.map +1 -0
- package/dist/code-snippet.js +7 -7
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +2 -2
- package/dist/currency.js +1 -1
- package/dist/data-grid.js +674 -656
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +30 -30
- 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 +102 -132
- package/dist/dropdown.js.map +1 -1
- package/dist/empty-state.js +3 -3
- package/dist/filter-bar.js +487 -480
- 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 +3 -3
- package/dist/index.js +207 -201
- package/dist/info-icon.js +3 -3
- package/dist/info-icon.js.map +1 -1
- package/dist/input-field.js +4 -4
- package/dist/internal.js +7 -7
- package/dist/link.js +3 -46
- package/dist/link.js.map +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal.js +209 -302
- package/dist/modal.js.map +1 -1
- package/dist/pagination.js +88 -88
- package/dist/pagination.js.map +1 -1
- package/dist/payment-method.js +2 -2
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/radio-group.js +84 -101
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +2 -2
- package/dist/segmented-control.js +3 -3
- package/dist/sidepanel.js +73 -71
- package/dist/sidepanel.js.map +1 -1
- package/dist/status.js +2 -2
- package/dist/stepper.js +3 -3
- package/dist/stepper.js.map +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +3 -3
- package/dist/tabs.js +4 -4
- package/dist/tabs.js.map +1 -1
- package/dist/tag.js +3 -3
- package/dist/textarea.js +91 -87
- package/dist/textarea.js.map +1 -1
- package/dist/timeline.js +6 -6
- package/dist/timeline.js.map +1 -1
- package/dist/toast.js +8 -7
- package/dist/toast.js.map +1 -1
- package/dist/toggle.js +2 -2
- package/dist/tutorial.js +5 -5
- package/dist/tutorial.js.map +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +3708 -3474
- package/package.json +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/composables/useDisplayValue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/dropdown/composables/useDisplayValue.types.d.ts +0 -12
- package/dist/@types/packages/vue2/src/components/dropdown/composables/useDropdownSearchFilter.d.ts +0 -3
- package/dist/chunks/base-modal.435bdd62.js +0 -222
- package/dist/chunks/base-modal.435bdd62.js.map +0 -1
- package/dist/chunks/checkbox.68cc1f84.js.map +0 -1
- package/dist/chunks/copy.14578696.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.4b227b24.js.map +0 -1
- package/dist/chunks/dropdown.7749c2d7.js +0 -887
- package/dist/chunks/dropdown.7749c2d7.js.map +0 -1
- package/dist/chunks/index.9398acc6.js +0 -635
- package/dist/chunks/index.9398acc6.js.map +0 -1
- package/dist/chunks/index.c032aa32.js.map +0 -1
- package/dist/chunks/listbox.371743bc.js.map +0 -1
- package/dist/chunks/useCountryItems.6b7985bf.js.map +0 -1
- /package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/composables/{useDropdownOptionsListbox.d.ts → use-dropdown-options-listbox.d.ts} +0 -0
- /package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/composables/{useCountryItems.d.ts → use-country-items.d.ts} +0 -0
|
@@ -6,7 +6,7 @@ import { BentoCountryVariant } from "../country";
|
|
|
6
6
|
import { BentoCurrencyListboxOptions } from "../dropdown/components/variants/dropdown-currency/dropdown-currency.types";
|
|
7
7
|
import { BentoPaymentMethodListboxOptions } from "../dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.types";
|
|
8
8
|
import { BentoDatePickerFirstDayOfWeek, BentoDatePickerIsDateDisabled } from '../date-picker/date-picker.types';
|
|
9
|
-
import { BentoDateRangePickerValue } from "../date-range-picker";
|
|
9
|
+
import { BentoDateRangePickerGranularityConfig, 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
12
|
emptyState?: BentoListboxEmptyStateProps;
|
|
@@ -62,7 +62,10 @@ export interface BentoDateRangeFilterOptions {
|
|
|
62
62
|
allowTimeInput?: boolean;
|
|
63
63
|
firstDayOfWeek?: BentoDatePickerFirstDayOfWeek;
|
|
64
64
|
isDateDisabled?: BentoDatePickerIsDateDisabled;
|
|
65
|
+
granularities?: Array<BentoDateRangePickerGranularityConfig>;
|
|
65
66
|
maxRange?: number;
|
|
67
|
+
min?: Date;
|
|
68
|
+
max?: Date;
|
|
66
69
|
numberOfMonths?: number;
|
|
67
70
|
quickSelectRanges?: DateRangePickerCalendarRangeSelectorItems | boolean;
|
|
68
71
|
}
|
|
@@ -181,12 +181,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
181
181
|
required: boolean;
|
|
182
182
|
condensed: boolean;
|
|
183
183
|
disabled: boolean;
|
|
184
|
-
placeholder: string;
|
|
185
184
|
optional: boolean;
|
|
186
185
|
readonly: boolean;
|
|
187
186
|
tooltipText: string;
|
|
188
187
|
errorMessage: string;
|
|
189
188
|
ariaLabel: string;
|
|
189
|
+
placeholder: string;
|
|
190
190
|
dropdown: BentoInputDropdownProps;
|
|
191
191
|
ariaHidden: boolean;
|
|
192
192
|
dropdownPosition: "end" | "start" | BentoInputFieldElementPosition;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ListboxMultiSelectChips } from './listbox-multi-select-chips.vue';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoListboxOptionItem, BentoListboxOptions, BentoListboxValue } from "../../../../../../../types";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
isOptionDisabled: {
|
|
5
|
+
type: PropType<(optionValue: BentoListboxOptionItem) => boolean>;
|
|
6
|
+
default: () => false;
|
|
7
|
+
};
|
|
8
|
+
items: {
|
|
9
|
+
type: PropType<BentoListboxOptions>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
13
|
+
"unselect-item": (value: BentoListboxValue) => void;
|
|
14
|
+
} & {
|
|
15
|
+
"unselect-category": (item: BentoListboxOptionItem) => void;
|
|
16
|
+
}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
isOptionDisabled: {
|
|
18
|
+
type: PropType<(optionValue: BentoListboxOptionItem) => boolean>;
|
|
19
|
+
default: () => false;
|
|
20
|
+
};
|
|
21
|
+
items: {
|
|
22
|
+
type: PropType<BentoListboxOptions>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
}>>, {
|
|
26
|
+
isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
|
|
27
|
+
}>;
|
|
28
|
+
export default _default;
|
|
@@ -26,8 +26,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
26
|
selectedListboxItemsRef: any;
|
|
27
27
|
listboxItemsRef: any;
|
|
28
28
|
isAllSelected: import("vue").ComputedRef<boolean>;
|
|
29
|
-
|
|
30
|
-
isAnOptionSelected: import("vue").ComputedRef<boolean>;
|
|
29
|
+
showSelectedItems: import("vue").ComputedRef<boolean>;
|
|
31
30
|
isIndeterminate: import("vue").ComputedRef<boolean>;
|
|
32
31
|
isMultiLevelSelect: import("vue").ComputedRef<boolean>;
|
|
33
32
|
flattenedItemsList: import("vue").ComputedRef<any[]>;
|
|
@@ -41,8 +40,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
40
|
toggleSelectAll: (selectedValue: boolean) => void;
|
|
42
41
|
unselectAllCategory: (category: BentoListboxOptionItem) => void;
|
|
43
42
|
listboxListeners: {
|
|
44
|
-
"keydown:arrow-up": () => void;
|
|
45
|
-
"keydown:arrow-down": () => void;
|
|
43
|
+
"keydown:arrow-up": (event: CustomEvent<KeyboardEvent>) => void;
|
|
44
|
+
"keydown:arrow-down": (event: CustomEvent<KeyboardEvent>) => void;
|
|
46
45
|
"keydown:home": () => void;
|
|
47
46
|
"keydown:end": () => void;
|
|
48
47
|
};
|
|
@@ -24,8 +24,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
hasCategories: import("vue").ComputedRef<boolean>;
|
|
25
25
|
onOptionSelected: (eventName: any) => (selectedValue: BentoListboxSelectedValue) => void;
|
|
26
26
|
listboxListeners: {
|
|
27
|
-
"keydown:arrow-up": () => void;
|
|
28
|
-
"keydown:arrow-down": () => void;
|
|
27
|
+
"keydown:arrow-up": (event?: CustomEvent<KeyboardEvent>) => void;
|
|
28
|
+
"keydown:arrow-down": (event?: CustomEvent<KeyboardEvent>) => void;
|
|
29
29
|
"keydown:home": () => void;
|
|
30
30
|
"keydown:end": () => void;
|
|
31
31
|
};
|
|
@@ -4,6 +4,6 @@ export declare const useListboxKeyboardNavigation: ({ items, isOptionDisabled }:
|
|
|
4
4
|
}, focusItem: any) => {
|
|
5
5
|
moveToFirstElement: () => void;
|
|
6
6
|
moveToLastElement: () => void;
|
|
7
|
-
moveToNextElement: () => void;
|
|
8
|
-
moveToPreviousElement: () => void;
|
|
7
|
+
moveToNextElement: (event?: CustomEvent<KeyboardEvent>) => void;
|
|
8
|
+
moveToPreviousElement: (event?: CustomEvent<KeyboardEvent>) => void;
|
|
9
9
|
};
|
|
@@ -64,7 +64,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
64
64
|
listboxItemRef: import("vue").Ref<any[]>;
|
|
65
65
|
ariaAtomic: import("vue").ComputedRef<boolean | "true" | "false">;
|
|
66
66
|
ariaBusy: import("vue").ComputedRef<boolean | "true" | "false">;
|
|
67
|
-
ariaLive: import("vue").ComputedRef<"off" | "
|
|
67
|
+
ariaLive: import("vue").ComputedRef<"off" | "polite" | "assertive">;
|
|
68
68
|
containerProps: import("../../../composables/use-virtual-list").UseVirtualListContainerProps;
|
|
69
69
|
isSearchResultEmpty: import("vue").ComputedRef<boolean>;
|
|
70
70
|
limitedEmptyStateProps: import("vue").ComputedRef<Readonly<Partial<{
|
|
@@ -1,23 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { BentoLinkVariant } from "../../../../core/src/components/link/link.types";
|
|
2
|
+
export interface LinkProps {
|
|
3
|
+
to: any;
|
|
4
|
+
replace?: boolean;
|
|
5
|
+
append?: boolean;
|
|
6
|
+
tag?: string;
|
|
7
|
+
activeClass?: string;
|
|
8
|
+
exact?: boolean;
|
|
9
|
+
exactPath?: boolean;
|
|
10
|
+
exactPathActiveClass?: string;
|
|
11
|
+
event?: string | ReadonlyArray<string>;
|
|
12
|
+
exactActiveClass?: string;
|
|
13
|
+
ariaCurrentValue?: 'page' | 'step' | 'location' | 'date' | 'time' | 'true' | 'false';
|
|
7
14
|
disableTypography?: boolean;
|
|
15
|
+
external?: boolean;
|
|
16
|
+
isButton?: boolean;
|
|
8
17
|
target?: string;
|
|
18
|
+
variant?: BentoLinkVariant | `${BentoLinkVariant}`;
|
|
9
19
|
}
|
|
10
|
-
|
|
11
|
-
import type { RouterLinkProps } from 'vue-router/types/router';
|
|
12
|
-
import type { AnchorHTMLAttributes } from 'vue/types/jsx';
|
|
13
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
14
|
-
variant: BentoLinkVariant;
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<LinkProps>, {
|
|
15
21
|
target: any;
|
|
22
|
+
variant: BentoLinkVariant;
|
|
16
23
|
}>, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {
|
|
17
24
|
click: (clickEvent: MouseEvent) => void;
|
|
18
|
-
}, string, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
19
|
-
variant: BentoLinkVariant;
|
|
25
|
+
}, string, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<LinkProps>, {
|
|
20
26
|
target: any;
|
|
27
|
+
variant: BentoLinkVariant;
|
|
21
28
|
}>>>, {
|
|
22
29
|
variant: "default" | "quiet" | BentoLinkVariant;
|
|
23
30
|
target: string;
|
package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.keys.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MODAL_DIALOG_ID_INJECTION_KEY: unique symbol;
|
package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { BentoModalColumnLayoutVariant,
|
|
2
|
+
import { BentoModalColumnLayoutVariant, BentoModalRole, BentoModalSize } from "../../modal.types";
|
|
3
3
|
import { BentoButtonActionsList } from "../../../button";
|
|
4
|
-
|
|
5
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
6
5
|
actions: {
|
|
7
6
|
type: PropType<BentoButtonActionsList>;
|
|
8
7
|
default: any;
|
|
@@ -48,64 +47,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
47
|
default: boolean;
|
|
49
48
|
};
|
|
50
49
|
}, {
|
|
51
|
-
modal: import("vue").Ref<HTMLDialogElement>;
|
|
52
|
-
computedAriaLabel: import("vue").ComputedRef<string>;
|
|
53
|
-
showCloseButton: import("vue").ComputedRef<boolean>;
|
|
54
|
-
openModal: () => void;
|
|
55
|
-
closeModalOnClickOutside: ({ target }: Event) => void;
|
|
56
|
-
closeModalAfterAnimation: () => void;
|
|
57
|
-
startCloseModalAnimation: () => void;
|
|
58
50
|
internalModalActionClose: (event?: Event) => void;
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
[x: string]: import("vue-i18n-bridge").LocaleMessageValue<import("vue-i18n-bridge").VueMessageType>;
|
|
63
|
-
}>, never, import("@intlify/core-base")._ResourcePath<{
|
|
64
|
-
[key: string]: string;
|
|
65
|
-
}>, import("@intlify/core-base")._ResourcePath<{
|
|
66
|
-
[key: string]: string;
|
|
67
|
-
}>> | ((key: "close" | "ariaLabelFallback", values?: import("vue-i18n").default.Values) => string);
|
|
68
|
-
modalConditionalClasses: import("vue").ComputedRef<{
|
|
69
|
-
[x: string]: boolean | "small" | "medium" | "large" | BentoModalSize;
|
|
70
|
-
'b-modal-base__container--hide': boolean;
|
|
71
|
-
'b-modal-base__container--overflow-visible': boolean;
|
|
72
|
-
'b-modal-base__container--column-layout': boolean;
|
|
73
|
-
}>;
|
|
74
|
-
modalContentConditionalClasses: import("vue").ComputedRef<{
|
|
75
|
-
'b-modal-base__content--column-layout': boolean;
|
|
76
|
-
'b-modal-base__content--with-header': boolean;
|
|
77
|
-
'b-modal-base__content--with-actions': boolean;
|
|
78
|
-
}>;
|
|
79
|
-
customPaddingStyles: import("vue").ComputedRef<{
|
|
80
|
-
header?: undefined;
|
|
81
|
-
content?: undefined;
|
|
82
|
-
actions?: undefined;
|
|
83
|
-
} | {
|
|
84
|
-
header: {
|
|
85
|
-
paddingTop: string;
|
|
86
|
-
paddingLeft: string;
|
|
87
|
-
paddingRight: string;
|
|
88
|
-
};
|
|
89
|
-
content: {
|
|
90
|
-
paddingTop: any;
|
|
91
|
-
paddingBottom: any;
|
|
92
|
-
paddingLeft: string;
|
|
93
|
-
paddingRight: string;
|
|
94
|
-
};
|
|
95
|
-
actions: {
|
|
96
|
-
paddingBottom: string;
|
|
97
|
-
paddingLeft: string;
|
|
98
|
-
paddingRight: string;
|
|
99
|
-
};
|
|
100
|
-
}>;
|
|
101
|
-
hasColumnLayout: import("vue").ComputedRef<boolean>;
|
|
102
|
-
computedColumnWidth: import("vue").ComputedRef<{
|
|
103
|
-
small: number;
|
|
104
|
-
medium: number;
|
|
105
|
-
large: number;
|
|
106
|
-
}[]>;
|
|
107
|
-
GridLayoutContainerType: typeof GridLayoutContainerType;
|
|
108
|
-
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, BentoModalEvent[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
51
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
52
|
+
"close-modal": () => void;
|
|
53
|
+
}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
109
54
|
actions: {
|
|
110
55
|
type: PropType<BentoButtonActionsList>;
|
|
111
56
|
default: any;
|
|
@@ -159,5 +104,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
159
104
|
modalRole: string;
|
|
160
105
|
overflowVisible: boolean;
|
|
161
106
|
withColumnLayout: boolean;
|
|
107
|
+
}>, {
|
|
108
|
+
default: (_: {}) => any;
|
|
109
|
+
'content-col-1': (_: {}) => any;
|
|
110
|
+
'content-col-2': (_: {}) => any;
|
|
111
|
+
content: (_: {}) => any;
|
|
112
|
+
actions: (_: {}) => any;
|
|
162
113
|
}>;
|
|
163
114
|
export default _default;
|
|
115
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
116
|
+
new (): {
|
|
117
|
+
$slots: S;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
@@ -1,20 +1,44 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { BentoModalColumnLayoutVariant,
|
|
2
|
+
import { BentoModalColumnLayoutVariant, BentoModalSize } from "../../modal.types";
|
|
3
3
|
import { BentoButtonActionsList } from "../../../button";
|
|
4
|
-
declare const _default: import("vue").DefineComponent<{
|
|
5
|
-
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
5
|
+
actions: {
|
|
6
|
+
type: PropType<BentoButtonActionsList>;
|
|
7
|
+
default: any;
|
|
8
|
+
};
|
|
9
|
+
actionsLabel: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: any;
|
|
12
|
+
};
|
|
13
|
+
customPadding: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: any;
|
|
16
|
+
};
|
|
17
|
+
columnsSize: {
|
|
18
|
+
type: PropType<BentoModalColumnLayoutVariant>;
|
|
19
|
+
default: BentoModalColumnLayoutVariant;
|
|
20
|
+
};
|
|
21
|
+
destructiveActions: {
|
|
6
22
|
type: BooleanConstructor;
|
|
7
|
-
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
hideCloseButton: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
initiallyOpen: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
8
32
|
};
|
|
9
33
|
isDismissible: {
|
|
10
34
|
type: BooleanConstructor;
|
|
11
35
|
required: true;
|
|
12
36
|
};
|
|
13
|
-
|
|
37
|
+
isOpen: {
|
|
14
38
|
type: BooleanConstructor;
|
|
15
|
-
|
|
39
|
+
required: true;
|
|
16
40
|
};
|
|
17
|
-
|
|
41
|
+
overflowVisible: {
|
|
18
42
|
type: BooleanConstructor;
|
|
19
43
|
default: boolean;
|
|
20
44
|
};
|
|
@@ -22,18 +46,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
46
|
type: PropType<"small" | "medium" | "large" | BentoModalSize>;
|
|
23
47
|
required: true;
|
|
24
48
|
};
|
|
25
|
-
customPadding: {
|
|
26
|
-
type: StringConstructor;
|
|
27
|
-
default: any;
|
|
28
|
-
};
|
|
29
49
|
withColumnLayout: {
|
|
30
50
|
type: BooleanConstructor;
|
|
31
51
|
default: boolean;
|
|
32
52
|
};
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
};
|
|
53
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {
|
|
54
|
+
"close-modal": () => void;
|
|
55
|
+
}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
37
56
|
actions: {
|
|
38
57
|
type: PropType<BentoButtonActionsList>;
|
|
39
58
|
default: any;
|
|
@@ -42,31 +61,35 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
42
61
|
type: StringConstructor;
|
|
43
62
|
default: any;
|
|
44
63
|
};
|
|
64
|
+
customPadding: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: any;
|
|
67
|
+
};
|
|
68
|
+
columnsSize: {
|
|
69
|
+
type: PropType<BentoModalColumnLayoutVariant>;
|
|
70
|
+
default: BentoModalColumnLayoutVariant;
|
|
71
|
+
};
|
|
45
72
|
destructiveActions: {
|
|
46
73
|
type: BooleanConstructor;
|
|
47
74
|
default: boolean;
|
|
48
75
|
};
|
|
49
|
-
|
|
76
|
+
hideCloseButton: {
|
|
50
77
|
type: BooleanConstructor;
|
|
51
78
|
default: boolean;
|
|
52
79
|
};
|
|
53
|
-
|
|
54
|
-
onCloseModal: () => void;
|
|
55
|
-
hasSlot: (name: string) => boolean;
|
|
56
|
-
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, BentoModalEvent[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
57
|
-
isOpen: {
|
|
80
|
+
initiallyOpen: {
|
|
58
81
|
type: BooleanConstructor;
|
|
59
|
-
|
|
82
|
+
default: boolean;
|
|
60
83
|
};
|
|
61
84
|
isDismissible: {
|
|
62
85
|
type: BooleanConstructor;
|
|
63
86
|
required: true;
|
|
64
87
|
};
|
|
65
|
-
|
|
88
|
+
isOpen: {
|
|
66
89
|
type: BooleanConstructor;
|
|
67
|
-
|
|
90
|
+
required: true;
|
|
68
91
|
};
|
|
69
|
-
|
|
92
|
+
overflowVisible: {
|
|
70
93
|
type: BooleanConstructor;
|
|
71
94
|
default: boolean;
|
|
72
95
|
};
|
|
@@ -74,34 +97,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
74
97
|
type: PropType<"small" | "medium" | "large" | BentoModalSize>;
|
|
75
98
|
required: true;
|
|
76
99
|
};
|
|
77
|
-
customPadding: {
|
|
78
|
-
type: StringConstructor;
|
|
79
|
-
default: any;
|
|
80
|
-
};
|
|
81
100
|
withColumnLayout: {
|
|
82
101
|
type: BooleanConstructor;
|
|
83
102
|
default: boolean;
|
|
84
103
|
};
|
|
85
|
-
columnsSize: {
|
|
86
|
-
type: PropType<BentoModalColumnLayoutVariant>;
|
|
87
|
-
default: BentoModalColumnLayoutVariant;
|
|
88
|
-
};
|
|
89
|
-
actions: {
|
|
90
|
-
type: PropType<BentoButtonActionsList>;
|
|
91
|
-
default: any;
|
|
92
|
-
};
|
|
93
|
-
actionsLabel: {
|
|
94
|
-
type: StringConstructor;
|
|
95
|
-
default: any;
|
|
96
|
-
};
|
|
97
|
-
destructiveActions: {
|
|
98
|
-
type: BooleanConstructor;
|
|
99
|
-
default: boolean;
|
|
100
|
-
};
|
|
101
|
-
initiallyOpen: {
|
|
102
|
-
type: BooleanConstructor;
|
|
103
|
-
default: boolean;
|
|
104
|
-
};
|
|
105
104
|
}>>, {
|
|
106
105
|
actions: BentoButtonActionsList;
|
|
107
106
|
columnsSize: BentoModalColumnLayoutVariant;
|
|
@@ -112,5 +111,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
112
111
|
withColumnLayout: boolean;
|
|
113
112
|
actionsLabel: string;
|
|
114
113
|
destructiveActions: boolean;
|
|
114
|
+
}>, {
|
|
115
|
+
default: (_: {}) => any;
|
|
116
|
+
'content-col-1': (_: {}) => any;
|
|
117
|
+
'content-col-2': (_: {}) => any;
|
|
118
|
+
content: (_: {}) => any;
|
|
119
|
+
actions: (_: {}) => any;
|
|
115
120
|
}>;
|
|
116
121
|
export default _default;
|
|
122
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
123
|
+
new (): {
|
|
124
|
+
$slots: S;
|
|
125
|
+
};
|
|
126
|
+
};
|