@adyen/bento-vue3 1.23.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/avatar-image/avatar-image.vue.d.ts +38 -48
- package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +86 -174
- 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/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.d.ts +1 -1
- 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 +5 -5
- 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/base-filter-button/base-filter-button.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 +21 -9
- 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/components/listbox-multi-select-category/listbox-multi-select-category.vue.d.ts +25 -20
- 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/modal/components/base-modal/base-modal.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +3 -3
- 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/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/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.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/toast/components/toast-item/toast-item.vue.d.ts +7 -40
- package/dist/@types/packages/vue2/src/components/toast/components/toast-shadow-stack/toast-shadow-stack.types.d.ts +5 -0
- package/dist/@types/packages/vue2/src/components/toast/components/toast-shadow-stack/toast-shadow-stack.vue.d.ts +7 -0
- package/dist/@types/packages/vue2/src/components/toast/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/toast/toast.vue.d.ts +1 -29
- package/dist/@types/packages/vue2/src/components/toggle/toggle.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +195 -55
- package/dist/@types/packages/vue2/src/components/typography/typography.vue.d.ts +71 -85
- package/dist/@types/packages/vue2/src/composables/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/install.d.ts +6 -0
- package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/toast-stack.d.ts +7 -0
- package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/use-bento-toast-controller.d.ts +2 -0
- package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/use-bento-toast-controller.types.d.ts +23 -0
- package/dist/@types/packages/vue2/src/composables/use-click-outside/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/utils/ts/storybook.d.ts +10 -0
- package/dist/accordion.js +2 -2
- package/dist/action-bar.js +6 -6
- package/dist/alert.js +150 -154
- 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/grid-layout.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/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.13df4e44.js → base-button.6be8b60e.js} +2 -2
- package/dist/chunks/{base-button.13df4e44.js.map → base-button.6be8b60e.js.map} +1 -1
- package/dist/chunks/{base-modal.30bce990.js → base-modal.310c4790.js} +6 -6
- package/dist/chunks/{base-modal.30bce990.js.map → base-modal.310c4790.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.a5d2bb13.js → button-actions-with-menu.a007b034.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.a5d2bb13.js.map → button-actions-with-menu.a007b034.js.map} +1 -1
- package/dist/chunks/{button-actions.ec3c649c.js → button-actions.adc0a2fe.js} +3 -3
- package/dist/chunks/{button-actions.ec3c649c.js.map → button-actions.adc0a2fe.js.map} +1 -1
- package/dist/chunks/{button.e965bf53.js → button.de5589fa.js} +3 -3
- package/dist/chunks/{button.e965bf53.js.map → button.de5589fa.js.map} +1 -1
- package/dist/chunks/{calendar.52fe4032.js → calendar.73f5b904.js} +4 -4
- package/dist/chunks/{calendar.52fe4032.js.map → calendar.73f5b904.js.map} +1 -1
- package/dist/chunks/{checkbox.1442f41a.js → checkbox.4c96cc23.js} +3 -3
- package/dist/chunks/{checkbox.1442f41a.js.map → checkbox.4c96cc23.js.map} +1 -1
- package/dist/chunks/{controls-group.1f29b602.js → controls-group.37a67734.js} +3 -3
- package/dist/chunks/{controls-group.1f29b602.js.map → controls-group.37a67734.js.map} +1 -1
- package/dist/chunks/{copy.d052f444.js → copy.43de2653.js} +4 -4
- package/dist/chunks/{copy.d052f444.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.e0ca5afb.js → dropdown-default-textbox.424e0eb6.js} +2 -2
- package/dist/chunks/{dropdown-default-textbox.e0ca5afb.js.map → dropdown-default-textbox.424e0eb6.js.map} +1 -1
- package/dist/chunks/{dropdown.257691c0.js → dropdown.57b2ea6f.js} +295 -317
- package/dist/chunks/dropdown.57b2ea6f.js.map +1 -0
- package/dist/chunks/{error-message.56247bcc.js → error-message.4bd22112.js} +2 -2
- package/dist/chunks/{error-message.56247bcc.js.map → error-message.4bd22112.js.map} +1 -1
- package/dist/chunks/{fixed-scroller.47546775.js → fixed-scroller.5b93a6a6.js} +2 -2
- package/dist/chunks/{fixed-scroller.47546775.js.map → fixed-scroller.5b93a6a6.js.map} +1 -1
- package/dist/chunks/{footer-actions.3c2dbf43.js → footer-actions.c401ec50.js} +4 -4
- package/dist/chunks/{footer-actions.3c2dbf43.js.map → footer-actions.c401ec50.js.map} +1 -1
- package/dist/chunks/index.11b6dd35.js +74 -0
- package/dist/chunks/index.11b6dd35.js.map +1 -0
- package/dist/chunks/{index.4fb57ba0.js → index.38752f78.js} +6 -6
- package/dist/chunks/{index.4fb57ba0.js.map → index.38752f78.js.map} +1 -1
- package/dist/chunks/index.73ac0db6.js +62 -0
- package/dist/chunks/index.73ac0db6.js.map +1 -0
- package/dist/chunks/{index.824101bb.js → index.8682bd04.js} +2 -2
- package/dist/chunks/{index.824101bb.js.map → index.8682bd04.js.map} +1 -1
- package/dist/chunks/{index.10c69f39.js → index.8b10ee32.js} +212 -191
- package/dist/chunks/index.8b10ee32.js.map +1 -0
- package/dist/chunks/{index.f800b267.js → index.98bbaed9.js} +2 -2
- package/dist/chunks/{index.f800b267.js.map → index.98bbaed9.js.map} +1 -1
- package/dist/chunks/{index.bf4a116b.js → index.aa83aa48.js} +3 -3
- package/dist/chunks/{index.bf4a116b.js.map → index.aa83aa48.js.map} +1 -1
- package/dist/chunks/{index.08d813e2.js → index.bab8811d.js} +6 -6
- package/dist/chunks/{index.08d813e2.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.9aaed799.js → index.f71015d8.js} +3 -3
- package/dist/chunks/{index.9aaed799.js.map → index.f71015d8.js.map} +1 -1
- package/dist/chunks/{index.56c13d2c.js → index.faec0854.js} +15 -15
- package/dist/chunks/{index.56c13d2c.js.map → index.faec0854.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.4de1659c.js → listbox-option-tag.d1a3b340.js} +3 -3
- package/dist/chunks/{listbox-option-tag.4de1659c.js.map → listbox-option-tag.d1a3b340.js.map} +1 -1
- package/dist/chunks/{loading-button.6e15f27f.js → loading-button.2db95771.js} +2 -2
- package/dist/chunks/{loading-button.6e15f27f.js.map → loading-button.2db95771.js.map} +1 -1
- package/dist/chunks/{payment-method.df1b62db.js → payment-method.26fa5509.js} +2 -2
- package/dist/chunks/{payment-method.df1b62db.js.map → payment-method.26fa5509.js.map} +1 -1
- package/dist/chunks/{tooltip.066fd8f7.js → tooltip.e29f7d7e.js} +3 -3
- package/dist/chunks/{tooltip.066fd8f7.js.map → tooltip.e29f7d7e.js.map} +1 -1
- package/dist/chunks/use-bento-toast-controller.98ca249a.js +50 -0
- package/dist/chunks/use-bento-toast-controller.98ca249a.js.map +1 -0
- 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 +1207 -1169
- 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 -1112
- 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 +259 -274
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +3 -3
- package/dist/input-field.js +100 -93
- 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 +185 -154
- package/dist/toast.js.map +1 -1
- 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/@types/packages/vue2/src/components/toast/components/toast-item/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/toast/components/toast-item/toast-item.types.d.ts +0 -9
- package/dist/@types/packages/vue2/src/plugins/toastController.d.ts +0 -12
- package/dist/@types/packages/vue2/src/utils/ts/toastController.d.ts +0 -2
- package/dist/chunks/dialog-page.d505c5ec.js +0 -172
- package/dist/chunks/dialog-page.d505c5ec.js.map +0 -1
- package/dist/chunks/dropdown.257691c0.js.map +0 -1
- package/dist/chunks/index.0e01e0b2.js +0 -101
- package/dist/chunks/index.0e01e0b2.js.map +0 -1
- package/dist/chunks/index.10c69f39.js.map +0 -1
- package/dist/chunks/index.99c63a74.js +0 -125
- package/dist/chunks/index.99c63a74.js.map +0 -1
- package/dist/chunks/info-filled.a6f9d7d0.js +0 -44
- package/dist/chunks/info-filled.a6f9d7d0.js.map +0 -1
- package/dist/chunks/listbox.eb436d06.js +0 -1466
- package/dist/chunks/listbox.eb436d06.js.map +0 -1
- package/dist/chunks/toastController.0b01d2e8.js +0 -9
- package/dist/chunks/toastController.0b01d2e8.js.map +0 -1
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { PropType } from "../../../../../../../../vue3/node_modules/vue";
|
|
2
|
+
import { BentoListboxSelectedValue } from "../../../../../../types";
|
|
3
|
+
import { BentoSelectFilterOptions } from '../../../../filter-bar.types';
|
|
4
|
+
/**
|
|
5
|
+
* The Listbox filter displays a listbox of items
|
|
6
|
+
* passed in the "options.listboxItems" property.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* import { BentoSelectFilter } from '@adyen/bento-vue2';
|
|
10
|
+
*
|
|
11
|
+
* export default {
|
|
12
|
+
* components: { BentoSelectFilter },
|
|
13
|
+
* template: `
|
|
14
|
+
* <bento-select-filter
|
|
15
|
+
* :field="filter.field"
|
|
16
|
+
* :label="filter.label"
|
|
17
|
+
* :options="filter.options"
|
|
18
|
+
* :value="filter.value"
|
|
19
|
+
* @update="updateFilterHandler"
|
|
20
|
+
* >
|
|
21
|
+
* `
|
|
22
|
+
* }
|
|
23
|
+
*/
|
|
24
|
+
declare const _default: __VLS_WithTemplateSlots<import("../../../../../../../../vue3/node_modules/vue").DefineComponent<{
|
|
25
|
+
/**
|
|
26
|
+
* Default value of the filter to reset to.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
defaultValue: {
|
|
30
|
+
type: PropType<BentoListboxSelectedValue>;
|
|
31
|
+
default: any;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Filter name/key referencing the actual property name in the data set.
|
|
35
|
+
* Should be unique per filter bar.
|
|
36
|
+
*/
|
|
37
|
+
field: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Label text to be displayed
|
|
43
|
+
*/
|
|
44
|
+
label: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Renders the base filter's slot content only - leaving out the button and the popover.
|
|
50
|
+
* Used for the allFiltersModal component.
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
onlySlot: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* List of options that are needed to setup the filter
|
|
59
|
+
* Available options:
|
|
60
|
+
* - multiple: If "true", the user will be able to select multiple items.
|
|
61
|
+
* - listboxItems: The option elements to populate the filter with.
|
|
62
|
+
*
|
|
63
|
+
* @default undefined
|
|
64
|
+
*/
|
|
65
|
+
options: {
|
|
66
|
+
type: PropType<BentoSelectFilterOptions>;
|
|
67
|
+
default: any;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Current value of the filter
|
|
71
|
+
*
|
|
72
|
+
* @default undefined
|
|
73
|
+
*/
|
|
74
|
+
value: {
|
|
75
|
+
type: PropType<BentoListboxSelectedValue>;
|
|
76
|
+
default: any;
|
|
77
|
+
};
|
|
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<{
|
|
83
|
+
/**
|
|
84
|
+
* Default value of the filter to reset to.
|
|
85
|
+
*
|
|
86
|
+
*/
|
|
87
|
+
defaultValue: {
|
|
88
|
+
type: PropType<BentoListboxSelectedValue>;
|
|
89
|
+
default: any;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* Filter name/key referencing the actual property name in the data set.
|
|
93
|
+
* Should be unique per filter bar.
|
|
94
|
+
*/
|
|
95
|
+
field: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
required: true;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* Label text to be displayed
|
|
101
|
+
*/
|
|
102
|
+
label: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
required: true;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* Renders the base filter's slot content only - leaving out the button and the popover.
|
|
108
|
+
* Used for the allFiltersModal component.
|
|
109
|
+
*
|
|
110
|
+
*/
|
|
111
|
+
onlySlot: {
|
|
112
|
+
type: BooleanConstructor;
|
|
113
|
+
default: boolean;
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* List of options that are needed to setup the filter
|
|
117
|
+
* Available options:
|
|
118
|
+
* - multiple: If "true", the user will be able to select multiple items.
|
|
119
|
+
* - listboxItems: The option elements to populate the filter with.
|
|
120
|
+
*
|
|
121
|
+
* @default undefined
|
|
122
|
+
*/
|
|
123
|
+
options: {
|
|
124
|
+
type: PropType<BentoSelectFilterOptions>;
|
|
125
|
+
default: any;
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* Current value of the filter
|
|
129
|
+
*
|
|
130
|
+
* @default undefined
|
|
131
|
+
*/
|
|
132
|
+
value: {
|
|
133
|
+
type: PropType<BentoListboxSelectedValue>;
|
|
134
|
+
default: any;
|
|
135
|
+
};
|
|
136
|
+
}>> & {
|
|
137
|
+
onInput?: (updatedProps: any) => any;
|
|
138
|
+
onUpdate?: (updatedProps: any) => any;
|
|
139
|
+
}, {
|
|
140
|
+
value: BentoListboxSelectedValue;
|
|
141
|
+
defaultValue: BentoListboxSelectedValue;
|
|
142
|
+
options: BentoSelectFilterOptions;
|
|
143
|
+
onlySlot: boolean;
|
|
144
|
+
}>, Record<NonNullable<string | number>, (_: any) => any>>;
|
|
145
|
+
export default _default;
|
|
146
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
147
|
+
new (): {
|
|
148
|
+
$slots: S;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
@@ -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
|
+
};
|
|
@@ -53,7 +53,11 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
|
|
|
53
53
|
};
|
|
54
54
|
/**
|
|
55
55
|
* Dropdown props for the small selectable dropdown menu.
|
|
56
|
-
*
|
|
56
|
+
* Properties supported:
|
|
57
|
+
*
|
|
58
|
+
* - `value`: Selected value of the dropdown
|
|
59
|
+
* - `items`: List of available items
|
|
60
|
+
*
|
|
57
61
|
*/
|
|
58
62
|
dropdown: {
|
|
59
63
|
type: PropType<BentoInputDropdownProps>;
|
|
@@ -136,11 +140,13 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
|
|
|
136
140
|
};
|
|
137
141
|
/**
|
|
138
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.
|
|
139
146
|
*/
|
|
140
147
|
type: {
|
|
141
|
-
type: PropType<
|
|
148
|
+
type: PropType<string>;
|
|
142
149
|
default: BentoInputFieldType;
|
|
143
|
-
validator: (value: BentoInputFieldType) => boolean;
|
|
144
150
|
};
|
|
145
151
|
/**
|
|
146
152
|
* Text displayed as the value of the input-field
|
|
@@ -209,7 +215,11 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
|
|
|
209
215
|
};
|
|
210
216
|
/**
|
|
211
217
|
* Dropdown props for the small selectable dropdown menu.
|
|
212
|
-
*
|
|
218
|
+
* Properties supported:
|
|
219
|
+
*
|
|
220
|
+
* - `value`: Selected value of the dropdown
|
|
221
|
+
* - `items`: List of available items
|
|
222
|
+
*
|
|
213
223
|
*/
|
|
214
224
|
dropdown: {
|
|
215
225
|
type: PropType<BentoInputDropdownProps>;
|
|
@@ -292,11 +302,13 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
|
|
|
292
302
|
};
|
|
293
303
|
/**
|
|
294
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.
|
|
295
308
|
*/
|
|
296
309
|
type: {
|
|
297
|
-
type: PropType<
|
|
310
|
+
type: PropType<string>;
|
|
298
311
|
default: BentoInputFieldType;
|
|
299
|
-
validator: (value: BentoInputFieldType) => boolean;
|
|
300
312
|
};
|
|
301
313
|
/**
|
|
302
314
|
* Text displayed as the value of the input-field
|
|
@@ -324,18 +336,18 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
|
|
|
324
336
|
"onDropdown-input"?: (selectedValue: BentoListboxSelectedValue) => any;
|
|
325
337
|
}, {
|
|
326
338
|
value: BentoInputFieldValue;
|
|
327
|
-
type:
|
|
339
|
+
type: string;
|
|
328
340
|
required: boolean;
|
|
329
341
|
variant: "default" | "payment-method" | "static-value" | "dropdown" | BentoInputFieldVariant;
|
|
330
342
|
condensed: boolean;
|
|
331
343
|
disabled: boolean;
|
|
332
344
|
error: boolean;
|
|
333
345
|
placeholder: string;
|
|
334
|
-
optional: boolean;
|
|
335
|
-
readonly: boolean;
|
|
336
346
|
tooltipText: string;
|
|
347
|
+
optional: boolean;
|
|
337
348
|
errorMessage: string;
|
|
338
349
|
ariaLabel: string;
|
|
350
|
+
readonly: boolean;
|
|
339
351
|
dropdown: BentoInputDropdownProps;
|
|
340
352
|
ariaHidden: boolean;
|
|
341
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
|
}>;
|
|
@@ -87,41 +87,46 @@ declare const _default: import("../../../../../../../../../../../vue3/node_modul
|
|
|
87
87
|
stronger: boolean;
|
|
88
88
|
strongest: boolean;
|
|
89
89
|
el: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | import("../../../../../../../../typography").BentoTypographyElement;
|
|
90
|
-
variant: "body" | "caption" | "title" | "subtitle" | import("../../../../../../../../typography").BentoTypographyVariant;
|
|
91
|
-
medium: boolean;
|
|
92
90
|
large: boolean;
|
|
91
|
+
medium: boolean;
|
|
92
|
+
variant: "body" | "caption" | "title" | "subtitle" | import("../../../../../../../../typography").BentoTypographyVariant;
|
|
93
93
|
}> & Omit<Readonly<import("../../../../../../../../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
94
|
-
|
|
95
|
-
type: PropType<
|
|
96
|
-
|
|
97
|
-
|
|
94
|
+
wide: {
|
|
95
|
+
type: PropType<boolean>;
|
|
96
|
+
} & {
|
|
97
|
+
default: boolean;
|
|
98
98
|
};
|
|
99
99
|
stronger: {
|
|
100
|
-
type:
|
|
100
|
+
type: PropType<boolean>;
|
|
101
|
+
} & {
|
|
101
102
|
default: boolean;
|
|
102
103
|
};
|
|
103
104
|
strongest: {
|
|
104
|
-
type:
|
|
105
|
+
type: PropType<boolean>;
|
|
106
|
+
} & {
|
|
105
107
|
default: boolean;
|
|
106
108
|
};
|
|
107
|
-
|
|
108
|
-
type: PropType<"
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
};
|
|
112
|
-
medium: {
|
|
113
|
-
type: BooleanConstructor;
|
|
114
|
-
default: boolean;
|
|
109
|
+
el: {
|
|
110
|
+
type: PropType<"div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | import("../../../../../../../../typography").BentoTypographyElement>;
|
|
111
|
+
} & {
|
|
112
|
+
default: import("../../../../../../../../typography").BentoTypographyElement;
|
|
115
113
|
};
|
|
116
114
|
large: {
|
|
117
|
-
type:
|
|
115
|
+
type: PropType<boolean>;
|
|
116
|
+
} & {
|
|
118
117
|
default: boolean;
|
|
119
118
|
};
|
|
120
|
-
|
|
121
|
-
type:
|
|
119
|
+
medium: {
|
|
120
|
+
type: PropType<boolean>;
|
|
121
|
+
} & {
|
|
122
122
|
default: boolean;
|
|
123
123
|
};
|
|
124
|
-
|
|
124
|
+
variant: {
|
|
125
|
+
type: PropType<"body" | "caption" | "title" | "subtitle" | import("../../../../../../../../typography").BentoTypographyVariant>;
|
|
126
|
+
} & {
|
|
127
|
+
default: import("../../../../../../../../typography").BentoTypographyVariant;
|
|
128
|
+
};
|
|
129
|
+
}>> & import("../../../../../../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../../../../../../vue3/node_modules/vue").ComponentCustomProps, "wide" | "stronger" | "strongest" | "el" | "large" | "medium" | "variant">>;
|
|
125
130
|
toggleOpen: (event: Event) => void;
|
|
126
131
|
toggleSelectAll: (selectedValue: boolean) => void;
|
|
127
132
|
}, unknown, {}, {}, import("../../../../../../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, ListboxMultiSelectCategoryEvent[], ListboxMultiSelectCategoryEvent, 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<{
|
|
@@ -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;
|