@adyen/bento-vue3 1.24.0 → 1.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/packages/vue2/src/components/alert/alert.types.d.ts +3 -0
- package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +46 -54
- package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +86 -179
- 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 +2 -2
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.types.d.ts +8 -1
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.vue.d.ts +6 -3
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.vue.d.ts +6 -2
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +2 -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/composables/use-dropdown-options-listbox.d.ts +13 -7
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +14 -14
- 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/composables/use-display-value.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.types.d.ts +3 -24
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/select-filter-button/select-filter-button.vue.d.ts +148 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/select-filter-dropdown/select-filter-dropdown.vue.d.ts +150 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.vue.d.ts +28 -27
- package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +11 -7
- package/dist/@types/packages/vue2/src/components/internal/checkbox-input/checkbox-input.vue.d.ts +1 -1
- 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/dialog-page/dialog-page.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/internal/field-label/field-label.vue.d.ts +1 -1
- 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 +3 -3
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +1 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +45 -9
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +10 -9
- package/dist/@types/packages/vue2/src/components/internal/listbox/composables/use-cached-selected-values/use-cached-selected-values.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +15 -15
- package/dist/@types/packages/vue2/src/components/internal/radio-input/radio-input.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item-list/menu-item-list.vue.d.ts +3 -2
- package/dist/@types/packages/vue2/src/components/menu/components/menu-list-container/menu-list-container.vue.d.ts +8 -1
- package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +3 -1
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/selection-card-group.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/toggle/toggle.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/composables/use-click-outside/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/index.d.ts +1 -0
- package/dist/accordion.js +2 -2
- package/dist/action-bar.js +6 -6
- package/dist/alert.js +125 -165
- package/dist/alert.js.map +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/dialog-page.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/index47.css +1 -1
- package/dist/assets/index48.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 → use-cached-selected-values.css} +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/badge.js +1 -1
- package/dist/button.js +5 -5
- package/dist/card.js +168 -267
- package/dist/card.js.map +1 -1
- package/dist/checkbox.js +5 -5
- package/dist/chunks/{base-button.ab9c947e.js → base-button.6be8b60e.js} +2 -2
- package/dist/chunks/{base-button.ab9c947e.js.map → base-button.6be8b60e.js.map} +1 -1
- package/dist/chunks/{base-modal.28b5ff83.js → base-modal.310c4790.js} +6 -6
- package/dist/chunks/{base-modal.28b5ff83.js.map → base-modal.310c4790.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.305991e5.js → button-actions-with-menu.a007b034.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.305991e5.js.map → button-actions-with-menu.a007b034.js.map} +1 -1
- package/dist/chunks/{button-actions.ea025810.js → button-actions.adc0a2fe.js} +3 -3
- package/dist/chunks/{button-actions.ea025810.js.map → button-actions.adc0a2fe.js.map} +1 -1
- package/dist/chunks/{button.ce5d1f5e.js → button.de5589fa.js} +3 -3
- package/dist/chunks/{button.ce5d1f5e.js.map → button.de5589fa.js.map} +1 -1
- package/dist/chunks/{calendar.24a492f1.js → calendar.73f5b904.js} +4 -4
- package/dist/chunks/{calendar.24a492f1.js.map → calendar.73f5b904.js.map} +1 -1
- package/dist/chunks/{checkbox.d0f897e0.js → checkbox.4c96cc23.js} +3 -3
- package/dist/chunks/{checkbox.d0f897e0.js.map → checkbox.4c96cc23.js.map} +1 -1
- package/dist/chunks/{controls-group.2b31233c.js → controls-group.37a67734.js} +3 -3
- package/dist/chunks/{controls-group.2b31233c.js.map → controls-group.37a67734.js.map} +1 -1
- package/dist/chunks/{copy.9003ed59.js → copy.43de2653.js} +4 -4
- package/dist/chunks/{copy.9003ed59.js.map → copy.43de2653.js.map} +1 -1
- package/dist/chunks/dialog-page.cd8c7fff.js +173 -0
- package/dist/chunks/dialog-page.cd8c7fff.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.311443a8.js → dropdown-default-textbox.424e0eb6.js} +2 -2
- package/dist/chunks/{dropdown-default-textbox.311443a8.js.map → dropdown-default-textbox.424e0eb6.js.map} +1 -1
- package/dist/chunks/{dropdown.170b43c4.js → dropdown.57b2ea6f.js} +295 -317
- package/dist/chunks/dropdown.57b2ea6f.js.map +1 -0
- package/dist/chunks/{error-message.4678cbdc.js → error-message.4bd22112.js} +2 -2
- package/dist/chunks/{error-message.4678cbdc.js.map → error-message.4bd22112.js.map} +1 -1
- package/dist/chunks/{fixed-scroller.f09618f2.js → fixed-scroller.5b93a6a6.js} +2 -2
- package/dist/chunks/{fixed-scroller.f09618f2.js.map → fixed-scroller.5b93a6a6.js.map} +1 -1
- package/dist/chunks/{footer-actions.2efe610e.js → footer-actions.c401ec50.js} +4 -4
- package/dist/chunks/{footer-actions.2efe610e.js.map → footer-actions.c401ec50.js.map} +1 -1
- package/dist/chunks/{index.51fe0fc2.js → index.11b6dd35.js} +2 -2
- package/dist/chunks/{index.51fe0fc2.js.map → index.11b6dd35.js.map} +1 -1
- package/dist/chunks/{index.6987f880.js → index.38752f78.js} +6 -6
- package/dist/chunks/{index.6987f880.js.map → index.38752f78.js.map} +1 -1
- package/dist/chunks/{index.c5b58864.js → index.73ac0db6.js} +3 -3
- package/dist/chunks/{index.c5b58864.js.map → index.73ac0db6.js.map} +1 -1
- package/dist/chunks/{index.c41d1bbb.js → index.8682bd04.js} +2 -2
- package/dist/chunks/{index.c41d1bbb.js.map → index.8682bd04.js.map} +1 -1
- package/dist/chunks/{index.1b1646bf.js → index.8b10ee32.js} +212 -191
- package/dist/chunks/index.8b10ee32.js.map +1 -0
- package/dist/chunks/{index.70c91b3b.js → index.98bbaed9.js} +2 -2
- package/dist/chunks/{index.70c91b3b.js.map → index.98bbaed9.js.map} +1 -1
- package/dist/chunks/{index.b772214b.js → index.aa83aa48.js} +3 -3
- package/dist/chunks/{index.b772214b.js.map → index.aa83aa48.js.map} +1 -1
- package/dist/chunks/{index.920cc1ee.js → index.bab8811d.js} +6 -6
- package/dist/chunks/{index.920cc1ee.js.map → index.bab8811d.js.map} +1 -1
- package/dist/chunks/{index.44f2aca7.js → index.ea65003b.js} +2 -2
- package/dist/chunks/{index.44f2aca7.js.map → index.ea65003b.js.map} +1 -1
- package/dist/chunks/{index.b3cb905c.js → index.f71015d8.js} +3 -3
- package/dist/chunks/{index.b3cb905c.js.map → index.f71015d8.js.map} +1 -1
- package/dist/chunks/{index.0d513625.js → index.faec0854.js} +15 -15
- package/dist/chunks/{index.0d513625.js.map → index.faec0854.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.bf77e0c4.js → listbox-option-tag.d1a3b340.js} +3 -3
- package/dist/chunks/{listbox-option-tag.bf77e0c4.js.map → listbox-option-tag.d1a3b340.js.map} +1 -1
- package/dist/chunks/{loading-button.cdc193c6.js → loading-button.2db95771.js} +2 -2
- package/dist/chunks/{loading-button.cdc193c6.js.map → loading-button.2db95771.js.map} +1 -1
- package/dist/chunks/{payment-method.ea1788f7.js → payment-method.26fa5509.js} +2 -2
- package/dist/chunks/{payment-method.ea1788f7.js.map → payment-method.26fa5509.js.map} +1 -1
- package/dist/chunks/{tooltip.10210728.js → tooltip.e29f7d7e.js} +3 -3
- package/dist/chunks/{tooltip.10210728.js.map → tooltip.e29f7d7e.js.map} +1 -1
- package/dist/chunks/{use-bento-toast-controller.3275a505.js → use-bento-toast-controller.98ca249a.js} +2 -2
- package/dist/chunks/{use-bento-toast-controller.3275a505.js.map → use-bento-toast-controller.98ca249a.js.map} +1 -1
- package/dist/chunks/use-cached-selected-values.a9b0fb3d.js +1537 -0
- package/dist/chunks/use-cached-selected-values.a9b0fb3d.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-template.js +1 -1
- package/dist/data-grid.js +1237 -1210
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +19 -19
- 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 +7 -7
- package/dist/empty-state.js +3 -3
- package/dist/filter-bar.js +1260 -1108
- 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 +4 -4
- package/dist/index.js +141 -133
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +3 -3
- package/dist/input-field.js +50 -48
- package/dist/input-field.js.map +1 -1
- package/dist/internal.js +31 -78
- package/dist/internal.js.map +1 -1
- package/dist/link.js +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +6 -6
- package/dist/modal.js +6 -6
- package/dist/pagination.js +4 -4
- package/dist/payment-method.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/radio-group.js +112 -112
- 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/selection-card.js +4 -4
- package/dist/sidepanel.js +64 -62
- 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 +3 -3
- package/dist/tabs.js +3 -3
- package/dist/tag.js +3 -3
- package/dist/textarea.js +4 -4
- package/dist/timeline.js +7 -7
- package/dist/toast.js +4 -4
- package/dist/toggle.js +2 -2
- package/dist/tutorial.js +6 -6
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +7 -3
- package/dist/chunks/dialog-page.2c07d294.js +0 -172
- package/dist/chunks/dialog-page.2c07d294.js.map +0 -1
- package/dist/chunks/dropdown.170b43c4.js.map +0 -1
- package/dist/chunks/index.1b1646bf.js.map +0 -1
- package/dist/chunks/listbox.b6a1aea2.js +0 -1466
- package/dist/chunks/listbox.b6a1aea2.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PropType } from "../../../../../../vue3/node_modules/vue";
|
|
2
1
|
import { BentoListboxSelectedValue } from "../../../../types";
|
|
3
|
-
import {
|
|
2
|
+
import { BentoSelectFilterOptions } from '../../filter-bar.types';
|
|
3
|
+
import { PropType } from "../../../../../../vue3/node_modules/vue";
|
|
4
4
|
/**
|
|
5
5
|
* The Listbox filter displays a listbox of items
|
|
6
6
|
* passed in the "options.listboxItems" property.
|
|
@@ -21,9 +21,10 @@ import { BentoFilterEvent, BentoSelectFilterOptions } from '../../filter-bar.typ
|
|
|
21
21
|
* `
|
|
22
22
|
* }
|
|
23
23
|
*/
|
|
24
|
-
declare const _default: import("../../../../../../vue3/node_modules/vue").DefineComponent<{
|
|
24
|
+
declare const _default: __VLS_WithTemplateSlots<import("../../../../../../vue3/node_modules/vue").DefineComponent<{
|
|
25
25
|
/**
|
|
26
26
|
* Default value of the filter to reset to.
|
|
27
|
+
*
|
|
27
28
|
*/
|
|
28
29
|
defaultValue: {
|
|
29
30
|
type: PropType<BentoListboxSelectedValue>;
|
|
@@ -47,6 +48,7 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
|
|
|
47
48
|
/**
|
|
48
49
|
* Renders the base filter's slot content only - leaving out the button and the popover.
|
|
49
50
|
* Used for the allFiltersModal component.
|
|
51
|
+
*
|
|
50
52
|
*/
|
|
51
53
|
onlySlot: {
|
|
52
54
|
type: BooleanConstructor;
|
|
@@ -57,6 +59,8 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
|
|
|
57
59
|
* Available options:
|
|
58
60
|
* - multiple: If "true", the user will be able to select multiple items.
|
|
59
61
|
* - listboxItems: The option elements to populate the filter with.
|
|
62
|
+
*
|
|
63
|
+
* @default undefined
|
|
60
64
|
*/
|
|
61
65
|
options: {
|
|
62
66
|
type: PropType<BentoSelectFilterOptions>;
|
|
@@ -64,34 +68,21 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
|
|
|
64
68
|
};
|
|
65
69
|
/**
|
|
66
70
|
* Current value of the filter
|
|
71
|
+
*
|
|
72
|
+
* @default undefined
|
|
67
73
|
*/
|
|
68
74
|
value: {
|
|
69
75
|
type: PropType<BentoListboxSelectedValue>;
|
|
70
76
|
default: any;
|
|
71
77
|
};
|
|
72
|
-
}, {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
isSecondaryButtonDisabled: import("../../../../../../vue3/node_modules/vue").ComputedRef<boolean>;
|
|
78
|
-
listboxFilterId: import("../../../../../../vue3/node_modules/vue").ComputedRef<string>;
|
|
79
|
-
noResultsMessage: import("../../../../../../vue3/node_modules/vue").ComputedRef<string>;
|
|
80
|
-
slots: Readonly<{
|
|
81
|
-
[name: string]: import("../../../../../../vue3/node_modules/vue").Slot;
|
|
82
|
-
}>;
|
|
83
|
-
buttonLabel: import("../../../../../../vue3/node_modules/vue").ComputedRef<string>;
|
|
84
|
-
buttonSecondaryLabel: import("../../../../../../vue3/node_modules/vue").ComputedRef<string>;
|
|
85
|
-
searchTerm: import("../../../../../../vue3/node_modules/vue").Ref<string>;
|
|
86
|
-
clearFilter: () => void;
|
|
87
|
-
closeFilter: () => void;
|
|
88
|
-
onOptionSelected: (selectedValue: BentoListboxSelectedValue) => void;
|
|
89
|
-
openFilter: () => void;
|
|
90
|
-
updateFilter: () => void;
|
|
91
|
-
resetFilter: () => void;
|
|
92
|
-
}, unknown, {}, {}, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, BentoFilterEvent[], BentoFilterEvent, import("../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
78
|
+
}, {}, unknown, {}, {}, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, {
|
|
79
|
+
input: (updatedProps: any) => void;
|
|
80
|
+
} & {
|
|
81
|
+
update: (updatedProps: any) => void;
|
|
82
|
+
}, string, import("../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
93
83
|
/**
|
|
94
84
|
* Default value of the filter to reset to.
|
|
85
|
+
*
|
|
95
86
|
*/
|
|
96
87
|
defaultValue: {
|
|
97
88
|
type: PropType<BentoListboxSelectedValue>;
|
|
@@ -115,6 +106,7 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
|
|
|
115
106
|
/**
|
|
116
107
|
* Renders the base filter's slot content only - leaving out the button and the popover.
|
|
117
108
|
* Used for the allFiltersModal component.
|
|
109
|
+
*
|
|
118
110
|
*/
|
|
119
111
|
onlySlot: {
|
|
120
112
|
type: BooleanConstructor;
|
|
@@ -125,6 +117,8 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
|
|
|
125
117
|
* Available options:
|
|
126
118
|
* - multiple: If "true", the user will be able to select multiple items.
|
|
127
119
|
* - listboxItems: The option elements to populate the filter with.
|
|
120
|
+
*
|
|
121
|
+
* @default undefined
|
|
128
122
|
*/
|
|
129
123
|
options: {
|
|
130
124
|
type: PropType<BentoSelectFilterOptions>;
|
|
@@ -132,18 +126,25 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
|
|
|
132
126
|
};
|
|
133
127
|
/**
|
|
134
128
|
* Current value of the filter
|
|
129
|
+
*
|
|
130
|
+
* @default undefined
|
|
135
131
|
*/
|
|
136
132
|
value: {
|
|
137
133
|
type: PropType<BentoListboxSelectedValue>;
|
|
138
134
|
default: any;
|
|
139
135
|
};
|
|
140
136
|
}>> & {
|
|
141
|
-
onInput?: (
|
|
142
|
-
onUpdate?: (
|
|
137
|
+
onInput?: (updatedProps: any) => any;
|
|
138
|
+
onUpdate?: (updatedProps: any) => any;
|
|
143
139
|
}, {
|
|
144
140
|
value: BentoListboxSelectedValue;
|
|
145
141
|
defaultValue: BentoListboxSelectedValue;
|
|
146
142
|
options: BentoSelectFilterOptions;
|
|
147
143
|
onlySlot: boolean;
|
|
148
|
-
}
|
|
144
|
+
}>, Record<NonNullable<string | number>, (_: any) => any> & Record<NonNullable<string | number>, (_: any) => any>>;
|
|
149
145
|
export default _default;
|
|
146
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
147
|
+
new (): {
|
|
148
|
+
$slots: S;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
@@ -140,11 +140,13 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
|
|
|
140
140
|
};
|
|
141
141
|
/**
|
|
142
142
|
* A string specifying the type of control to render.
|
|
143
|
+
* All `input` types are available but only `search`, `text` and `number` are fully supported.
|
|
144
|
+
*
|
|
145
|
+
* If `type` is `search`, use `bento-search-bar` instead.
|
|
143
146
|
*/
|
|
144
147
|
type: {
|
|
145
|
-
type: PropType<
|
|
148
|
+
type: PropType<string>;
|
|
146
149
|
default: BentoInputFieldType;
|
|
147
|
-
validator: (value: BentoInputFieldType) => boolean;
|
|
148
150
|
};
|
|
149
151
|
/**
|
|
150
152
|
* Text displayed as the value of the input-field
|
|
@@ -300,11 +302,13 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
|
|
|
300
302
|
};
|
|
301
303
|
/**
|
|
302
304
|
* A string specifying the type of control to render.
|
|
305
|
+
* All `input` types are available but only `search`, `text` and `number` are fully supported.
|
|
306
|
+
*
|
|
307
|
+
* If `type` is `search`, use `bento-search-bar` instead.
|
|
303
308
|
*/
|
|
304
309
|
type: {
|
|
305
|
-
type: PropType<
|
|
310
|
+
type: PropType<string>;
|
|
306
311
|
default: BentoInputFieldType;
|
|
307
|
-
validator: (value: BentoInputFieldType) => boolean;
|
|
308
312
|
};
|
|
309
313
|
/**
|
|
310
314
|
* Text displayed as the value of the input-field
|
|
@@ -332,18 +336,18 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
|
|
|
332
336
|
"onDropdown-input"?: (selectedValue: BentoListboxSelectedValue) => any;
|
|
333
337
|
}, {
|
|
334
338
|
value: BentoInputFieldValue;
|
|
335
|
-
type:
|
|
339
|
+
type: string;
|
|
336
340
|
required: boolean;
|
|
337
341
|
variant: "default" | "payment-method" | "static-value" | "dropdown" | BentoInputFieldVariant;
|
|
338
342
|
condensed: boolean;
|
|
339
343
|
disabled: boolean;
|
|
340
344
|
error: boolean;
|
|
341
345
|
placeholder: string;
|
|
342
|
-
optional: boolean;
|
|
343
|
-
readonly: boolean;
|
|
344
346
|
tooltipText: string;
|
|
347
|
+
optional: boolean;
|
|
345
348
|
errorMessage: string;
|
|
346
349
|
ariaLabel: string;
|
|
350
|
+
readonly: boolean;
|
|
347
351
|
dropdown: BentoInputDropdownProps;
|
|
348
352
|
ariaHidden: boolean;
|
|
349
353
|
dropdownPosition: "end" | "start" | BentoInputFieldElementPosition;
|
package/dist/@types/packages/vue2/src/components/internal/checkbox-input/checkbox-input.vue.d.ts
CHANGED
|
@@ -171,9 +171,9 @@ declare const _default: import("../../../../../vue3/node_modules/vue").DefineCom
|
|
|
171
171
|
value: string | number;
|
|
172
172
|
disabled: boolean;
|
|
173
173
|
indeterminate: boolean;
|
|
174
|
-
readonly: boolean;
|
|
175
174
|
id: string;
|
|
176
175
|
ariaLabel: string;
|
|
176
|
+
readonly: boolean;
|
|
177
177
|
ariaDescribedby: string;
|
|
178
178
|
hasError: boolean;
|
|
179
179
|
modelValue: CheckboxInputType | CheckboxInputGroupItems;
|
package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts
CHANGED
|
@@ -163,8 +163,8 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../vue3/node
|
|
|
163
163
|
form: string;
|
|
164
164
|
disabled: boolean;
|
|
165
165
|
description: string;
|
|
166
|
-
optional: boolean;
|
|
167
166
|
tooltipText: string;
|
|
167
|
+
optional: boolean;
|
|
168
168
|
hideLabel: boolean;
|
|
169
169
|
}>, {
|
|
170
170
|
default: (_: {}) => any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from "../../../../../../../../../vue3/node_modules/vue";
|
|
2
|
-
import { BentoListboxOptionItem, BentoListboxOptions
|
|
2
|
+
import { BentoListboxOptionItem, BentoListboxOptions } from "../../../../../../../types";
|
|
3
3
|
/**
|
|
4
4
|
* Listbox selected options chips
|
|
5
5
|
*
|
|
@@ -45,7 +45,7 @@ declare const _default: import("../../../../../../../../../vue3/node_modules/vue
|
|
|
45
45
|
required: true;
|
|
46
46
|
};
|
|
47
47
|
}, {}, unknown, {}, {}, import("../../../../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, {
|
|
48
|
-
"unselect-item": (value:
|
|
48
|
+
"unselect-item": (value: BentoListboxOptionItem) => void;
|
|
49
49
|
} & {
|
|
50
50
|
"unselect-category": (item: BentoListboxOptionItem) => void;
|
|
51
51
|
}, string, import("../../../../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
@@ -69,7 +69,7 @@ declare const _default: import("../../../../../../../../../vue3/node_modules/vue
|
|
|
69
69
|
};
|
|
70
70
|
}>> & {
|
|
71
71
|
"onUnselect-category"?: (item: BentoListboxOptionItem) => any;
|
|
72
|
-
"onUnselect-item"?: (value:
|
|
72
|
+
"onUnselect-item"?: (value: BentoListboxOptionItem) => any;
|
|
73
73
|
}, {
|
|
74
74
|
isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
|
|
75
75
|
}>;
|
|
@@ -88,10 +88,9 @@ declare const _default: import("../../../../../../../../../vue3/node_modules/vue
|
|
|
88
88
|
'b-listbox-multi-select-options__static-category-option': boolean;
|
|
89
89
|
'b-listbox-multi-select-options__category-option': boolean;
|
|
90
90
|
}>;
|
|
91
|
-
isCategory: (option: BentoListboxOptionItem) => boolean;
|
|
92
91
|
isOptionSelected: (option: any) => boolean;
|
|
93
92
|
shouldShowDescription: (option: BentoListboxOptionItem) => boolean;
|
|
94
|
-
toggleCheckboxSelection: (
|
|
93
|
+
toggleCheckboxSelection: (option: BentoListboxOptionItem) => void;
|
|
95
94
|
selectSearch: (selectedValue: any, option: any) => void;
|
|
96
95
|
BentoListboxEvent: typeof BentoListboxEvent;
|
|
97
96
|
ListboxMultiSelectOptionsEvent: typeof ListboxMultiSelectOptionsEvent;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from "../../../../../../../vue3/node_modules/vue";
|
|
2
|
-
import { BentoListboxEvent, BentoListboxOptionItem, BentoListboxOptions,
|
|
2
|
+
import { BentoListboxEvent, BentoListboxLazyLoadType, BentoListboxOptionItem, BentoListboxOptions, BentoListboxValue } from "../../../../../types";
|
|
3
3
|
/**
|
|
4
4
|
* Listbox multi-select options list
|
|
5
5
|
*
|
|
@@ -17,6 +17,13 @@ import { BentoListboxEvent, BentoListboxOptionItem, BentoListboxOptions, BentoLi
|
|
|
17
17
|
* }
|
|
18
18
|
*/
|
|
19
19
|
declare const _default: import("../../../../../../../vue3/node_modules/vue").DefineComponent<{
|
|
20
|
+
/**
|
|
21
|
+
* Indicates whether there are more items to load
|
|
22
|
+
*/
|
|
23
|
+
hasMoreItems: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
20
27
|
/**
|
|
21
28
|
* Function that allows the options to be disabled
|
|
22
29
|
*
|
|
@@ -41,6 +48,16 @@ declare const _default: import("../../../../../../../vue3/node_modules/vue").Def
|
|
|
41
48
|
type: PropType<BentoListboxOptions>;
|
|
42
49
|
required: true;
|
|
43
50
|
};
|
|
51
|
+
/**
|
|
52
|
+
* The type of `Lazy Load`.
|
|
53
|
+
* Type "automatic" will enable infinite scrolling
|
|
54
|
+
* Type "button" will enable lazy loading with "Show more" button
|
|
55
|
+
*/
|
|
56
|
+
lazyLoadType: {
|
|
57
|
+
type: PropType<"button" | "none" | "automatic" | BentoListboxLazyLoadType>;
|
|
58
|
+
default: BentoListboxLazyLoadType;
|
|
59
|
+
validator: (value: BentoListboxLazyLoadType) => boolean;
|
|
60
|
+
};
|
|
44
61
|
/**
|
|
45
62
|
* Flag that indicates that an external search it's being made
|
|
46
63
|
* to filter out the items inside the the multi-select listbox
|
|
@@ -56,8 +73,8 @@ declare const _default: import("../../../../../../../vue3/node_modules/vue").Def
|
|
|
56
73
|
* Providing an empty array will select no options.
|
|
57
74
|
*/
|
|
58
75
|
selectedValues: {
|
|
59
|
-
type: PropType<
|
|
60
|
-
|
|
76
|
+
type: PropType<BentoListboxOptions>;
|
|
77
|
+
required: true;
|
|
61
78
|
};
|
|
62
79
|
/**
|
|
63
80
|
* If enabled, dropdown will display non-selectable, static categories
|
|
@@ -75,15 +92,16 @@ declare const _default: import("../../../../../../../vue3/node_modules/vue").Def
|
|
|
75
92
|
isIndeterminate: import("../../../../../../../vue3/node_modules/vue").ComputedRef<boolean>;
|
|
76
93
|
isMultiLevelSelect: import("../../../../../../../vue3/node_modules/vue").ComputedRef<boolean>;
|
|
77
94
|
flattenedItemsList: import("../../../../../../../vue3/node_modules/vue").ComputedRef<any[]>;
|
|
78
|
-
selectedItemsList: import("../../../../../../../vue3/node_modules/vue").
|
|
95
|
+
selectedItemsList: import("../../../../../../../vue3/node_modules/vue").ComputedRef<BentoListboxValue[]>;
|
|
79
96
|
selectAllCheckboxText: import("../../../../../../../vue3/node_modules/vue").ComputedRef<string>;
|
|
80
|
-
selectedOptions: import("../../../../../../../vue3/node_modules/vue").ComputedRef<
|
|
97
|
+
selectedOptions: import("../../../../../../../vue3/node_modules/vue").ComputedRef<BentoListboxOptions>;
|
|
98
|
+
showSelectAllCheckbox: import("../../../../../../../vue3/node_modules/vue").ComputedRef<boolean>;
|
|
81
99
|
slots: Readonly<{
|
|
82
100
|
[name: string]: import("../../../../../../../vue3/node_modules/vue").Slot;
|
|
83
101
|
}>;
|
|
84
102
|
BentoListboxEvent: typeof BentoListboxEvent;
|
|
85
103
|
selectAllCategory: (category: BentoListboxOptionItem) => void;
|
|
86
|
-
toggleCheckboxSelection: (eventName: any,
|
|
104
|
+
toggleCheckboxSelection: (eventName: any, selectedOption: BentoListboxOptionItem) => void;
|
|
87
105
|
toggleSelectAll: (selectedValue: boolean) => void;
|
|
88
106
|
unselectAllCategory: (category: BentoListboxOptionItem) => void;
|
|
89
107
|
listboxListeners: {
|
|
@@ -93,6 +111,13 @@ declare const _default: import("../../../../../../../vue3/node_modules/vue").Def
|
|
|
93
111
|
"keydown:end": () => void;
|
|
94
112
|
};
|
|
95
113
|
}, unknown, {}, {}, import("../../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, BentoListboxEvent.SELECT[], BentoListboxEvent.SELECT, import("../../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
114
|
+
/**
|
|
115
|
+
* Indicates whether there are more items to load
|
|
116
|
+
*/
|
|
117
|
+
hasMoreItems: {
|
|
118
|
+
type: BooleanConstructor;
|
|
119
|
+
default: boolean;
|
|
120
|
+
};
|
|
96
121
|
/**
|
|
97
122
|
* Function that allows the options to be disabled
|
|
98
123
|
*
|
|
@@ -117,6 +142,16 @@ declare const _default: import("../../../../../../../vue3/node_modules/vue").Def
|
|
|
117
142
|
type: PropType<BentoListboxOptions>;
|
|
118
143
|
required: true;
|
|
119
144
|
};
|
|
145
|
+
/**
|
|
146
|
+
* The type of `Lazy Load`.
|
|
147
|
+
* Type "automatic" will enable infinite scrolling
|
|
148
|
+
* Type "button" will enable lazy loading with "Show more" button
|
|
149
|
+
*/
|
|
150
|
+
lazyLoadType: {
|
|
151
|
+
type: PropType<"button" | "none" | "automatic" | BentoListboxLazyLoadType>;
|
|
152
|
+
default: BentoListboxLazyLoadType;
|
|
153
|
+
validator: (value: BentoListboxLazyLoadType) => boolean;
|
|
154
|
+
};
|
|
120
155
|
/**
|
|
121
156
|
* Flag that indicates that an external search it's being made
|
|
122
157
|
* to filter out the items inside the the multi-select listbox
|
|
@@ -132,8 +167,8 @@ declare const _default: import("../../../../../../../vue3/node_modules/vue").Def
|
|
|
132
167
|
* Providing an empty array will select no options.
|
|
133
168
|
*/
|
|
134
169
|
selectedValues: {
|
|
135
|
-
type: PropType<
|
|
136
|
-
|
|
170
|
+
type: PropType<BentoListboxOptions>;
|
|
171
|
+
required: true;
|
|
137
172
|
};
|
|
138
173
|
/**
|
|
139
174
|
* If enabled, dropdown will display non-selectable, static categories
|
|
@@ -148,6 +183,7 @@ declare const _default: import("../../../../../../../vue3/node_modules/vue").Def
|
|
|
148
183
|
isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
|
|
149
184
|
staticCategories: boolean;
|
|
150
185
|
searching: boolean;
|
|
151
|
-
|
|
186
|
+
hasMoreItems: boolean;
|
|
187
|
+
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
152
188
|
}>;
|
|
153
189
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from "../../../../../../../vue3/node_modules/vue";
|
|
2
|
-
import { BentoListboxEvent, BentoListboxOptions
|
|
2
|
+
import { BentoListboxEvent, BentoListboxOptions } from "../../../../../types";
|
|
3
3
|
/**
|
|
4
4
|
* Listbox single-select options list
|
|
5
5
|
*
|
|
@@ -47,7 +47,7 @@ declare const _default: import("../../../../../../../vue3/node_modules/vue").Def
|
|
|
47
47
|
* Set to an empty string `''` if you don't want any of the available options to be selected
|
|
48
48
|
*/
|
|
49
49
|
selectedValue: {
|
|
50
|
-
type: PropType<
|
|
50
|
+
type: PropType<BentoListboxOptions>;
|
|
51
51
|
default: any;
|
|
52
52
|
};
|
|
53
53
|
/**
|
|
@@ -60,11 +60,12 @@ declare const _default: import("../../../../../../../vue3/node_modules/vue").Def
|
|
|
60
60
|
}, {
|
|
61
61
|
BentoListboxEvent: typeof BentoListboxEvent;
|
|
62
62
|
listboxItemRef: import("../../../../../../../vue3/node_modules/vue").Ref<any[]>;
|
|
63
|
+
selectedItem: import("../../../../../../../vue3/node_modules/vue").ComputedRef<import("../../../../../types").BentoListboxOptionItem>;
|
|
63
64
|
slots: Readonly<{
|
|
64
65
|
[name: string]: import("../../../../../../../vue3/node_modules/vue").Slot;
|
|
65
66
|
}>;
|
|
66
67
|
hasCategories: import("../../../../../../../vue3/node_modules/vue").ComputedRef<boolean>;
|
|
67
|
-
onOptionSelected: (eventName: any) => (
|
|
68
|
+
onOptionSelected: (eventName: any) => (selectedOption: BentoListboxOptions) => void;
|
|
68
69
|
listboxListeners: {
|
|
69
70
|
"keydown:arrow-up": (event?: CustomEvent<KeyboardEvent>) => void;
|
|
70
71
|
"keydown:arrow-down": (event?: CustomEvent<KeyboardEvent>) => void;
|
|
@@ -72,10 +73,10 @@ declare const _default: import("../../../../../../../vue3/node_modules/vue").Def
|
|
|
72
73
|
"keydown:end": () => void;
|
|
73
74
|
};
|
|
74
75
|
listboxOptionListeners: {
|
|
75
|
-
select: (
|
|
76
|
-
"space-pressed": (
|
|
77
|
-
"tab-pressed": (
|
|
78
|
-
"enter-pressed": (
|
|
76
|
+
select: (selectedOption: BentoListboxOptions) => void;
|
|
77
|
+
"space-pressed": (selectedOption: BentoListboxOptions) => void;
|
|
78
|
+
"tab-pressed": (selectedOption: BentoListboxOptions) => void;
|
|
79
|
+
"enter-pressed": (selectedOption: BentoListboxOptions) => void;
|
|
79
80
|
};
|
|
80
81
|
}, unknown, {}, {}, import("../../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, (BentoListboxEvent.SELECT | BentoListboxEvent.ENTER | BentoListboxEvent.SPACE | BentoListboxEvent.TAB)[], BentoListboxEvent.SELECT | BentoListboxEvent.ENTER | BentoListboxEvent.SPACE | BentoListboxEvent.TAB, import("../../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
81
82
|
/**
|
|
@@ -108,7 +109,7 @@ declare const _default: import("../../../../../../../vue3/node_modules/vue").Def
|
|
|
108
109
|
* Set to an empty string `''` if you don't want any of the available options to be selected
|
|
109
110
|
*/
|
|
110
111
|
selectedValue: {
|
|
111
|
-
type: PropType<
|
|
112
|
+
type: PropType<BentoListboxOptions>;
|
|
112
113
|
default: any;
|
|
113
114
|
};
|
|
114
115
|
/**
|
|
@@ -125,7 +126,7 @@ declare const _default: import("../../../../../../../vue3/node_modules/vue").Def
|
|
|
125
126
|
"onTab-pressed"?: (...args: any[]) => any;
|
|
126
127
|
}, {
|
|
127
128
|
isOptionDisabled: (optionValue: import("../../../../../types").BentoListboxOptionItem) => boolean;
|
|
128
|
-
selectedValue:
|
|
129
|
+
selectedValue: BentoListboxOptions;
|
|
129
130
|
staticCategories: boolean;
|
|
130
131
|
}>;
|
|
131
132
|
export default _default;
|
|
@@ -14,14 +14,14 @@ import { Ref } from "../../../../../../../vue3/node_modules/vue";
|
|
|
14
14
|
* @returns Two lists of cached items. One list with label/value pairs and one with only the values stored.
|
|
15
15
|
*/
|
|
16
16
|
export declare const useCachedSelectedValues: (items: Ref<BentoListboxOptions>, selectedValues: Ref<BentoListboxSelectedValue>, multiple: Ref<boolean>) => {
|
|
17
|
-
|
|
17
|
+
cachedSelectedListboxOptions: Ref<{
|
|
18
18
|
data?: unknown;
|
|
19
19
|
description?: string;
|
|
20
20
|
value: BentoListboxValue;
|
|
21
21
|
items?: any[];
|
|
22
22
|
label: string;
|
|
23
23
|
}[]>;
|
|
24
|
-
|
|
24
|
+
cachedListboxSelectedValues: Ref<BentoListboxSelectedValue>;
|
|
25
25
|
resetCache: () => void;
|
|
26
26
|
setCachedValues: (newSelectedValues: BentoListboxOptions) => void;
|
|
27
27
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from "../../../../../vue3/node_modules/vue";
|
|
2
|
-
import { BentoKeyboardNavigationKeyDownEvent, BentoListboxEmptyStateProps, BentoListboxEvent, BentoListboxLazyLoadType, BentoListboxOptionItem, BentoListboxOptions,
|
|
2
|
+
import { BentoKeyboardNavigationKeyDownEvent, BentoListboxEmptyStateProps, BentoListboxEvent, BentoListboxLazyLoadType, BentoListboxOptionItem, BentoListboxOptions, BentoListboxVirtulisationOptions } from "../../../types";
|
|
3
3
|
import { BentoLoadingButtonState } from "../../button";
|
|
4
4
|
/**
|
|
5
5
|
* Listbox container.
|
|
@@ -125,8 +125,8 @@ declare const _default: import("../../../../../vue3/node_modules/vue").DefineCom
|
|
|
125
125
|
* Set to an empty string `''` if you don't want any of the available options to be selected for single select
|
|
126
126
|
*/
|
|
127
127
|
selectedValue: {
|
|
128
|
-
type: PropType<
|
|
129
|
-
default: any;
|
|
128
|
+
type: PropType<BentoListboxOptions>;
|
|
129
|
+
default: () => any[];
|
|
130
130
|
};
|
|
131
131
|
/**
|
|
132
132
|
* Enables virtual scrolling if set to true or by providing an object with itemHeight function.
|
|
@@ -148,8 +148,8 @@ declare const _default: import("../../../../../vue3/node_modules/vue").DefineCom
|
|
|
148
148
|
title: string;
|
|
149
149
|
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" | "success" | "upload-files" | "wrong-environment";
|
|
150
150
|
variant: "condensed" | "full-page" | "embedded" | "basic";
|
|
151
|
-
description: string;
|
|
152
151
|
action: import("../../button").BentoButtonActionObject;
|
|
152
|
+
description: string;
|
|
153
153
|
headingEl: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span";
|
|
154
154
|
}> & Omit<Readonly<import("../../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
155
155
|
action: {
|
|
@@ -180,7 +180,7 @@ declare const _default: import("../../../../../vue3/node_modules/vue").DefineCom
|
|
|
180
180
|
default: string;
|
|
181
181
|
validator: (value: import("../../empty-state").BentoEmptyStateVariant) => boolean;
|
|
182
182
|
};
|
|
183
|
-
}>> & import("../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../vue3/node_modules/vue").ComponentCustomProps, "title" | "image" | "variant" | "
|
|
183
|
+
}>> & import("../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../vue3/node_modules/vue").ComponentCustomProps, "title" | "image" | "variant" | "action" | "description" | "headingEl">>;
|
|
184
184
|
loadingButtonState: import("../../../../../vue3/node_modules/vue").ComputedRef<BentoLoadingButtonState.START | BentoLoadingButtonState.LOADING>;
|
|
185
185
|
slots: Readonly<{
|
|
186
186
|
[name: string]: import("../../../../../vue3/node_modules/vue").Slot;
|
|
@@ -192,13 +192,13 @@ declare const _default: import("../../../../../vue3/node_modules/vue").DefineCom
|
|
|
192
192
|
BentoKeyboardNavigationKeyDownEvent: typeof BentoKeyboardNavigationKeyDownEvent;
|
|
193
193
|
BentoListboxEvent: typeof BentoListboxEvent;
|
|
194
194
|
onListboxContainerScroll: () => void;
|
|
195
|
-
onOptionSelected: (eventName: any) => (
|
|
195
|
+
onOptionSelected: (eventName: any) => (selectedItem: BentoListboxOptions) => void;
|
|
196
196
|
emitShowMore: () => void;
|
|
197
197
|
listboxListeners: {
|
|
198
|
-
select: (
|
|
199
|
-
"space-pressed": (
|
|
200
|
-
"tab-pressed": (
|
|
201
|
-
"enter-pressed": (
|
|
198
|
+
select: (selectedItem: BentoListboxOptions) => void;
|
|
199
|
+
"space-pressed": (selectedItem: BentoListboxOptions) => void;
|
|
200
|
+
"tab-pressed": (selectedItem: BentoListboxOptions) => void;
|
|
201
|
+
"enter-pressed": (selectedItem: BentoListboxOptions) => void;
|
|
202
202
|
};
|
|
203
203
|
}, unknown, {}, {}, import("../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../vue3/node_modules/vue").ComponentOptionsMixin, (BentoListboxEvent.SELECT | BentoListboxEvent.SHOW_MORE | BentoListboxEvent.ESCAPE | BentoListboxEvent.ENTER | BentoListboxEvent.SPACE | BentoListboxEvent.TAB)[], BentoListboxEvent.SELECT | BentoListboxEvent.SHOW_MORE | BentoListboxEvent.ESCAPE | BentoListboxEvent.ENTER | BentoListboxEvent.SPACE | BentoListboxEvent.TAB, import("../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
204
204
|
/**
|
|
@@ -303,8 +303,8 @@ declare const _default: import("../../../../../vue3/node_modules/vue").DefineCom
|
|
|
303
303
|
* Set to an empty string `''` if you don't want any of the available options to be selected for single select
|
|
304
304
|
*/
|
|
305
305
|
selectedValue: {
|
|
306
|
-
type: PropType<
|
|
307
|
-
default: any;
|
|
306
|
+
type: PropType<BentoListboxOptions>;
|
|
307
|
+
default: () => any[];
|
|
308
308
|
};
|
|
309
309
|
/**
|
|
310
310
|
* Enables virtual scrolling if set to true or by providing an object with itemHeight function.
|
|
@@ -324,14 +324,14 @@ declare const _default: import("../../../../../vue3/node_modules/vue").DefineCom
|
|
|
324
324
|
}, {
|
|
325
325
|
multiple: boolean;
|
|
326
326
|
isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
|
|
327
|
-
selectedValue:
|
|
327
|
+
selectedValue: BentoListboxOptions;
|
|
328
328
|
staticCategories: boolean;
|
|
329
329
|
ariaLabel: string;
|
|
330
330
|
searching: any;
|
|
331
|
-
loading: boolean;
|
|
332
|
-
emptyState: BentoListboxEmptyStateProps;
|
|
333
331
|
hasMoreItems: boolean;
|
|
334
332
|
lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
|
|
333
|
+
loading: boolean;
|
|
334
|
+
emptyState: BentoListboxEmptyStateProps;
|
|
335
335
|
virtualScroll: BentoListboxVirtulisationOptions;
|
|
336
336
|
}>;
|
|
337
337
|
export default _default;
|
|
@@ -137,9 +137,9 @@ declare const _default: import("../../../../../vue3/node_modules/vue").DefineCom
|
|
|
137
137
|
"onUpdate:model-value"?: (value: RadioInputValue) => any;
|
|
138
138
|
}, {
|
|
139
139
|
disabled: boolean;
|
|
140
|
-
readonly: boolean;
|
|
141
140
|
id: string;
|
|
142
141
|
ariaLabel: string;
|
|
142
|
+
readonly: boolean;
|
|
143
143
|
ariaDescribedby: string;
|
|
144
144
|
hasError: boolean;
|
|
145
145
|
modelValue: RadioInputValue;
|
|
@@ -36,14 +36,14 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
|
|
|
36
36
|
subMenuFocusedIndex: import("../../../../../../vue3/node_modules/vue").Ref<number>;
|
|
37
37
|
showSubMenu: import("../../../../../../vue3/node_modules/vue").Ref<boolean>;
|
|
38
38
|
visibleSubMenuIndex: any;
|
|
39
|
-
|
|
39
|
+
menuItemClick: (item: BentoMenuItem, index: number) => void;
|
|
40
40
|
closeMenu: () => void;
|
|
41
41
|
focusPrevious: () => void;
|
|
42
42
|
focusNext: () => void;
|
|
43
43
|
focusRight: (item: any, index: any) => void;
|
|
44
44
|
focusLeft: () => void;
|
|
45
45
|
onBackButton: () => void;
|
|
46
|
-
}, unknown, {}, {}, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, BentoMenuEvent.CLOSE[], BentoMenuEvent.CLOSE, import("../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
46
|
+
}, unknown, {}, {}, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, (BentoMenuEvent.CLOSE | "menu-item-click")[], BentoMenuEvent.CLOSE | "menu-item-click", import("../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
47
47
|
/**
|
|
48
48
|
* The data to be displayed in the list
|
|
49
49
|
*/
|
|
@@ -67,6 +67,7 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
|
|
|
67
67
|
};
|
|
68
68
|
}>> & {
|
|
69
69
|
onClose?: (...args: any[]) => any;
|
|
70
|
+
"onMenu-item-click"?: (...args: any[]) => any;
|
|
70
71
|
}, {
|
|
71
72
|
indentItems: boolean;
|
|
72
73
|
focusLastElement: boolean;
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Menu list container component to set the correct styling in a menu list. For internal use only.
|
|
3
3
|
*/
|
|
4
|
-
declare const _default: import("../../../../../../vue3/node_modules/vue").DefineComponent<{}, {}, {}, {}, {}, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, {}, string, import("../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../../vue3/node_modules/vue").ExtractPropTypes<{}>>, {}
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import("../../../../../../vue3/node_modules/vue").DefineComponent<{}, {}, {}, {}, {}, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, {}, string, import("../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../../vue3/node_modules/vue").ExtractPropTypes<{}>>, {}>, {
|
|
5
|
+
default: (_: {}) => any;
|
|
6
|
+
}>;
|
|
5
7
|
export default _default;
|
|
8
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -84,8 +84,9 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
|
|
|
84
84
|
onKeyDown: () => void;
|
|
85
85
|
onKeyUp: () => void;
|
|
86
86
|
closeMenu: () => void;
|
|
87
|
+
menuItemClick: () => void;
|
|
87
88
|
toggleShowMenu: (e: MouseEvent) => void;
|
|
88
|
-
}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, (BentoMenuEvent.CLOSE | BentoMenuEvent.OPEN)[], BentoMenuEvent.CLOSE | BentoMenuEvent.OPEN, import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
89
|
+
}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, (BentoMenuEvent.CLOSE | BentoMenuEvent.OPEN | "menu-item-click")[], BentoMenuEvent.CLOSE | BentoMenuEvent.OPEN | "menu-item-click", import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
89
90
|
/**
|
|
90
91
|
* Object containing props to change the menu button appearance. Accepts the same props present in BentoButton.
|
|
91
92
|
*/
|
|
@@ -134,6 +135,7 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
|
|
|
134
135
|
}>> & {
|
|
135
136
|
onClose?: (...args: any[]) => any;
|
|
136
137
|
onOpen?: (...args: any[]) => any;
|
|
138
|
+
"onMenu-item-click"?: (...args: any[]) => any;
|
|
137
139
|
}, {
|
|
138
140
|
button: BentoMenuButtonProps;
|
|
139
141
|
teleport: boolean;
|