@adyen/bento-vue3 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/components.d.ts +8 -4
- package/dist/@types/packages/core/src/components/button/button.types.d.ts +8 -0
- package/dist/@types/packages/vue2/src/components/accordion/accordion.keys.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/accordion/accordion.types.d.ts +1 -24
- package/dist/@types/packages/vue2/src/components/accordion/accordion.vue.d.ts +17 -57
- package/dist/@types/packages/vue2/src/components/accordion/components/accordion-item.vue.d.ts +27 -29
- package/dist/@types/packages/vue2/src/components/accordion/index.d.ts +2 -3
- package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +0 -4
- package/dist/@types/packages/vue2/src/components/avatar-image/avatar-image.vue.d.ts +1 -4
- package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +136 -128
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +3 -5
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +46 -15
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.types.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +6 -7
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +4 -3
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.types.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +37 -11
- package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/currency/currency.vue.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +3 -22
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/components/data-grid-config-settings-column-row/data-grid-config-settings-column-row.vue.d.ts +0 -5
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +0 -24
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +277 -16
- package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +2 -5
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +0 -20
- package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +0 -20
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +3 -6
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +164 -104
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +7 -9
- package/dist/@types/packages/vue2/src/components/empty-state/empty-state.types.d.ts +27 -0
- package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +76 -0
- package/dist/@types/packages/vue2/src/components/empty-state/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +19 -25
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/components/all-filters-modal-button/all-filters-modal-button.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/base-filter.vue.d.ts +1 -27
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter-button/base-filter-button.vue.d.ts +1 -4
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-filter/date-filter.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +1 -11
- package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/filter-bar-button.vue.d.ts +53 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/range-filter.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/focus-trap/focus-trap.vue.d.ts +7 -0
- package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/image/const.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/image/image.types.d.ts +19 -0
- package/dist/@types/packages/vue2/src/components/image/image.vue.d.ts +50 -0
- package/dist/@types/packages/vue2/src/components/image/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/info-icon/info-icon.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/input-field/input-field.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +61 -58
- package/dist/@types/packages/vue2/src/components/internal/avatar/avatar.vue.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/internal/base-button/base-button.vue.d.ts +1 -4
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +0 -5
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/copy/copy.vue.d.ts +0 -2
- 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 +0 -2
- 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 +0 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select-option/listbox-single-select-option.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +3 -7
- package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +4 -0
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.vue.d.ts +2 -5
- package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +6 -31
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/__mocks__/base-modal.vue.d.ts +0 -5
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +14 -9
- 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/components/modal-dialog/modal-dialog.vue.d.ts +4 -14
- package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +7 -6
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-context/pagination-context.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-controls/pagination-controls.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-results-per-page/pagination-results-per-page.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/popover/components/popover-title/popover-title.vue.d.ts +1 -2
- package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +5 -14
- package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.vue.d.ts +4 -6
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.types.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +4 -3
- package/dist/@types/packages/vue2/src/components/search-bar/search-bar.vue.d.ts +19 -390
- package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.types.d.ts +3 -1
- package/dist/@types/packages/vue2/src/components/status/status.vue.d.ts +2 -5
- package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +2 -23
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +2 -5
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +2 -5
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +2 -5
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +1 -4
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.types.d.ts +3 -1
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tabs/tabs.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tabs/tabs.types.d.ts +6 -2
- package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +4 -9
- package/dist/@types/packages/vue2/src/components/tag/tag.vue.d.ts +6 -9
- package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +6 -10
- package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +4 -10
- package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/toast/components/toast-item/toast-item.vue.d.ts +0 -5
- package/dist/@types/packages/vue2/src/components/toggle/toggle.vue.d.ts +4 -6
- package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +24 -40
- package/dist/@types/packages/vue2/src/composables/use-default-slot-validator/use-default-slot-validator.d.ts +2 -1
- package/dist/@types/packages/vue2/src/composables/use-has-slot/use-has-slot.d.ts +8 -1
- package/dist/@types/packages/vue2/src/index.d.ts +3 -0
- package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/utils/ts/get-slot-text/get-slot-text.d.ts +1 -1
- package/dist/@types/packages/vue2/src/utils/ts/print-development-warning.d.ts +1 -0
- package/dist/accordion.js +104 -254
- package/dist/accordion.js.map +1 -1
- package/dist/alert.js +61 -64
- package/dist/alert.js.map +1 -1
- package/dist/assets/base-button.css +1 -1
- package/dist/assets/base-modal.css +1 -0
- package/dist/assets/button.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/chevron-up.css +1 -0
- package/dist/assets/controls-group.css +1 -1
- package/dist/assets/copy.css +1 -1
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/error-message.css +1 -1
- package/dist/assets/footer-actions.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/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 -0
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/listbox-option-tag.css +1 -1
- package/dist/assets/listbox.css +1 -1
- package/dist/assets/loading-button.css +1 -1
- package/dist/assets/tooltip.css +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/badge.js +2 -2
- package/dist/button.js +143 -12
- package/dist/button.js.map +1 -1
- package/dist/card.js +99 -94
- package/dist/card.js.map +1 -1
- package/dist/checkbox.js +40 -39
- package/dist/checkbox.js.map +1 -1
- package/dist/chunks/base-button.6d2843c2.js +108 -0
- package/dist/chunks/base-button.6d2843c2.js.map +1 -0
- package/dist/chunks/base-modal.3ccb9eb5.js +291 -0
- package/dist/chunks/base-modal.3ccb9eb5.js.map +1 -0
- package/dist/chunks/{button.e1c39f66.js → button.a8462029.js} +39 -42
- package/dist/chunks/button.a8462029.js.map +1 -0
- package/dist/chunks/{calendar.09b683b3.js → calendar.3f930683.js} +237 -240
- package/dist/chunks/calendar.3f930683.js.map +1 -0
- package/dist/chunks/checkbox.5e1e05ae.js +235 -0
- package/dist/chunks/checkbox.5e1e05ae.js.map +1 -0
- package/dist/chunks/{chevron-down.69bedf14.js → chevron-up.c03b58f8.js} +8 -8
- package/dist/chunks/chevron-up.c03b58f8.js.map +1 -0
- package/dist/chunks/controls-group.3b0dfb94.js +136 -0
- package/dist/chunks/controls-group.3b0dfb94.js.map +1 -0
- package/dist/chunks/{copy.2cf5e6c3.js → copy.1d14b783.js} +49 -50
- package/dist/chunks/copy.1d14b783.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.203e747f.js → dropdown-default-textbox.a90e84f9.js} +88 -90
- package/dist/chunks/dropdown-default-textbox.a90e84f9.js.map +1 -0
- package/dist/chunks/{dropdown.8b415aac.js → dropdown.b798a82e.js} +348 -330
- package/dist/chunks/dropdown.b798a82e.js.map +1 -0
- package/dist/chunks/{error-message.ddfe8ea5.js → error-message.9acead25.js} +16 -16
- package/dist/chunks/error-message.9acead25.js.map +1 -0
- package/dist/chunks/footer-actions.9537d0df.js +111 -0
- package/dist/chunks/footer-actions.9537d0df.js.map +1 -0
- package/dist/chunks/get-slot-text.bead058f.js +9 -0
- package/dist/chunks/get-slot-text.bead058f.js.map +1 -0
- package/dist/chunks/{grid-layout.a30855ff.js → grid-layout.984317d7.js} +2 -2
- package/dist/chunks/{grid-layout.a30855ff.js.map → grid-layout.984317d7.js.map} +1 -1
- package/dist/chunks/index.228ecda0.js +101 -0
- package/dist/chunks/index.228ecda0.js.map +1 -0
- package/dist/chunks/index.89b00b94.js +124 -0
- package/dist/chunks/index.89b00b94.js.map +1 -0
- package/dist/chunks/{index.3da90517.js → index.9d8273fc.js} +38 -40
- package/dist/chunks/index.9d8273fc.js.map +1 -0
- package/dist/chunks/{index.c9225c3b.js → index.c2a80208.js} +195 -201
- package/dist/chunks/index.c2a80208.js.map +1 -0
- package/dist/chunks/{index.13949709.js → index.d26fdf71.js} +116 -113
- package/dist/chunks/{index.13949709.js.map → index.d26fdf71.js.map} +1 -1
- package/dist/chunks/{index.d27367cd.js → index.e84dbeae.js} +80 -83
- package/dist/chunks/{index.d27367cd.js.map → index.e84dbeae.js.map} +1 -1
- package/dist/chunks/listbox-option-tag.0c9c571e.js +129 -0
- package/dist/chunks/listbox-option-tag.0c9c571e.js.map +1 -0
- package/dist/chunks/{listbox.0c7c4e5e.js → listbox.6b52af1a.js} +315 -334
- package/dist/chunks/listbox.6b52af1a.js.map +1 -0
- package/dist/chunks/{loading-button.61d8ebe5.js → loading-button.081adbf3.js} +33 -33
- package/dist/chunks/loading-button.081adbf3.js.map +1 -0
- package/dist/chunks/tabs.keys.358742f2.js +7 -0
- package/dist/chunks/tabs.keys.358742f2.js.map +1 -0
- package/dist/chunks/{tooltip.835d9b52.js → tooltip.e4e34b86.js} +56 -59
- package/dist/chunks/tooltip.e4e34b86.js.map +1 -0
- package/dist/chunks/use-default-slot-validator.1169c221.js +16 -0
- package/dist/chunks/use-default-slot-validator.1169c221.js.map +1 -0
- package/dist/chunks/use-has-slot.9fac7123.js +16 -0
- package/dist/chunks/use-has-slot.9fac7123.js.map +1 -0
- package/dist/code-snippet.js +548 -463
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +501 -505
- package/dist/country.js.map +1 -1
- package/dist/currency.js +38 -41
- package/dist/currency.js.map +1 -1
- package/dist/data-grid.js +837 -833
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +83 -87
- package/dist/date-picker.js.map +1 -1
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/dropdown.js +30 -32
- package/dist/dropdown.js.map +1 -1
- package/dist/empty-state.js +166 -0
- package/dist/empty-state.js.map +1 -0
- package/dist/filter-bar.js +986 -935
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +72 -72
- package/dist/form-layout.js.map +1 -1
- package/dist/header.js +50 -52
- package/dist/header.js.map +1 -1
- package/dist/image.js +76 -0
- package/dist/image.js.map +1 -0
- package/dist/index.js +239 -232
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +2 -2
- package/dist/input-field.js +241 -269
- package/dist/input-field.js.map +1 -1
- package/dist/internal.js +7 -7
- package/dist/link.js +38 -36
- package/dist/link.js.map +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +131 -139
- package/dist/menu.js.map +1 -1
- package/dist/modal.js +121 -356
- package/dist/modal.js.map +1 -1
- package/dist/pagination.js +182 -185
- package/dist/pagination.js.map +1 -1
- package/dist/payment-method.js +19 -23
- package/dist/payment-method.js.map +1 -1
- package/dist/popover.js +56 -52
- package/dist/popover.js.map +1 -1
- package/dist/popper-container.js +36 -41
- package/dist/popper-container.js.map +1 -1
- package/dist/radio-group.js +112 -113
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +77 -91
- package/dist/search-bar.js.map +1 -1
- package/dist/segmented-control.js +88 -75
- package/dist/segmented-control.js.map +1 -1
- package/dist/sidepanel.js +122 -121
- package/dist/sidepanel.js.map +1 -1
- package/dist/status.js +18 -21
- package/dist/status.js.map +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +129 -162
- package/dist/summary-grid.js.map +1 -1
- package/dist/tabs.js +83 -75
- package/dist/tabs.js.map +1 -1
- package/dist/tag.js +32 -35
- package/dist/tag.js.map +1 -1
- package/dist/textarea.js +156 -155
- package/dist/textarea.js.map +1 -1
- package/dist/timeline.js +212 -213
- package/dist/timeline.js.map +1 -1
- package/dist/toast.js +68 -72
- package/dist/toast.js.map +1 -1
- package/dist/toggle.js +75 -73
- package/dist/toggle.js.map +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +11 -10
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateBodyFitContentDynamicStyles/useCalculateBodyFitContentDynamicStyles.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateBodyFitContentDynamicStyles/useCalculateBodyFitContentDynamicStyles.types.d.ts +0 -8
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/components/filter-bar-filter-button/filter-bar-filter-button.vue.d.ts +0 -58
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/components/index.d.ts +0 -1
- package/dist/assets/button-actions.css +0 -1
- package/dist/assets/chevron-down.css +0 -1
- package/dist/chunks/base-button.20be08da.js +0 -111
- package/dist/chunks/base-button.20be08da.js.map +0 -1
- package/dist/chunks/button-actions.54e28e75.js +0 -124
- package/dist/chunks/button-actions.54e28e75.js.map +0 -1
- package/dist/chunks/button.e1c39f66.js.map +0 -1
- package/dist/chunks/calendar.09b683b3.js.map +0 -1
- package/dist/chunks/checkbox.a404069b.js +0 -226
- package/dist/chunks/checkbox.a404069b.js.map +0 -1
- package/dist/chunks/chevron-down.69bedf14.js.map +0 -1
- package/dist/chunks/controls-group.60fb2a86.js +0 -136
- package/dist/chunks/controls-group.60fb2a86.js.map +0 -1
- package/dist/chunks/copy.2cf5e6c3.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.203e747f.js.map +0 -1
- package/dist/chunks/dropdown.8b415aac.js.map +0 -1
- package/dist/chunks/error-message.ddfe8ea5.js.map +0 -1
- package/dist/chunks/footer-actions.0f640f87.js +0 -106
- package/dist/chunks/footer-actions.0f640f87.js.map +0 -1
- package/dist/chunks/get-slot-text.2db867f8.js +0 -9
- package/dist/chunks/get-slot-text.2db867f8.js.map +0 -1
- package/dist/chunks/index.222d29b0.js +0 -120
- package/dist/chunks/index.222d29b0.js.map +0 -1
- package/dist/chunks/index.3da90517.js.map +0 -1
- package/dist/chunks/index.aa34e363.js +0 -104
- package/dist/chunks/index.aa34e363.js.map +0 -1
- package/dist/chunks/index.c9225c3b.js.map +0 -1
- package/dist/chunks/listbox-option-tag.5ae8b79b.js +0 -133
- package/dist/chunks/listbox-option-tag.5ae8b79b.js.map +0 -1
- package/dist/chunks/listbox.0c7c4e5e.js.map +0 -1
- package/dist/chunks/loading-button.61d8ebe5.js.map +0 -1
- package/dist/chunks/tooltip.835d9b52.js.map +0 -1
- package/dist/chunks/use-default-slot-validator.83d977a1.js +0 -11
- package/dist/chunks/use-default-slot-validator.83d977a1.js.map +0 -1
- package/dist/chunks/use-has-slot.068222e6.js +0 -5
- package/dist/chunks/use-has-slot.068222e6.js.map +0 -1
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { computed as u, defineComponent as
|
|
2
|
-
import { B as
|
|
3
|
-
import { B as ee
|
|
4
|
-
import { BentoLoadingIndicator as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { B as je, a as me } from "./loading-button.61d8ebe5.js";
|
|
1
|
+
import { computed as u, defineComponent as z, openBlock as g, createElementBlock as O, mergeProps as U, withKeys as ne, renderSlot as M, toDisplayString as $, createCommentVNode as j, pushScopeId as fe, popScopeId as Ee, createElementVNode as B, resolveComponent as S, createBlock as I, toHandlerKey as w, withCtx as C, normalizeProps as F, guardReactiveProps as K, createVNode as L, createTextVNode as D, withDirectives as X, vShow as ae, ref as R, onMounted as Ge, toRef as xe, resolveDirective as de, toHandlers as J, Fragment as te, renderList as W, createSlots as Q, normalizeClass as ie, watch as Ye } from "vue";
|
|
2
|
+
import { B as N, a as re, d as Fe } from "./debounce.f8d92e44.js";
|
|
3
|
+
import { B as ee } from "./index.89b00b94.js";
|
|
4
|
+
import { BentoLoadingIndicator as Ke } from "../loading-indicator.js";
|
|
5
|
+
import { u as ce } from "./i18n.6c402773.js";
|
|
6
|
+
import { _ as H } from "./_plugin-vue_export-helper.dad06003.js";
|
|
7
|
+
import { B as ue } from "./checkbox.5e1e05ae.js";
|
|
8
|
+
import { a as He, C as We } from "./chevron-up.c03b58f8.js";
|
|
9
|
+
import { B as ze, a as be } from "./loading-button.081adbf3.js";
|
|
11
10
|
import "../assets/listbox.css";
|
|
12
|
-
const
|
|
11
|
+
const ye = (e, t, v, p) => {
|
|
13
12
|
const n = u(
|
|
14
13
|
() => {
|
|
15
14
|
var l, i;
|
|
@@ -27,8 +26,8 @@ const Se = (e, t, v, p) => {
|
|
|
27
26
|
}
|
|
28
27
|
};
|
|
29
28
|
};
|
|
30
|
-
var o = /* @__PURE__ */ ((e) => (e.SELECT = "select", e.SHOW_MORE = "show-more", e.ESCAPE = "escape-pressed", e.CLICK = "click", e.ENTER = "enter-pressed", e.SPACE = "space-pressed", e.TAB = "tab-pressed", e.CLOSE_DROPDOWN = "close-dropdown", e))(o || {}),
|
|
31
|
-
const
|
|
29
|
+
var o = /* @__PURE__ */ ((e) => (e.SELECT = "select", e.SHOW_MORE = "show-more", e.ESCAPE = "escape-pressed", e.CLICK = "click", e.ENTER = "enter-pressed", e.SPACE = "space-pressed", e.TAB = "tab-pressed", e.CLOSE_DROPDOWN = "close-dropdown", e))(o || {}), q = /* @__PURE__ */ ((e) => (e.AUTOMATIC = "automatic", e.BUTTON = "button", e.NONE = "none", e))(q || {});
|
|
30
|
+
const qe = z({
|
|
32
31
|
name: "bento-listbox-option",
|
|
33
32
|
props: {
|
|
34
33
|
/**
|
|
@@ -48,7 +47,7 @@ const Xe = x({
|
|
|
48
47
|
}));
|
|
49
48
|
return {
|
|
50
49
|
// Enums
|
|
51
|
-
BentoKeyboardNavigationKeyDownEvent:
|
|
50
|
+
BentoKeyboardNavigationKeyDownEvent: N,
|
|
52
51
|
BentoListboxEvent: o,
|
|
53
52
|
// Values
|
|
54
53
|
conditionalClasses: v,
|
|
@@ -56,56 +55,56 @@ const Xe = x({
|
|
|
56
55
|
onClick: (b) => {
|
|
57
56
|
t(o.CLICK, b);
|
|
58
57
|
},
|
|
59
|
-
onOptionSelected: (b,
|
|
60
|
-
t(b,
|
|
58
|
+
onOptionSelected: (b, d) => {
|
|
59
|
+
t(b, d);
|
|
61
60
|
}
|
|
62
61
|
};
|
|
63
62
|
}
|
|
64
63
|
});
|
|
65
|
-
function
|
|
66
|
-
return g(),
|
|
64
|
+
function je(e, t, v, p, n, b) {
|
|
65
|
+
return g(), O("label", U({
|
|
67
66
|
class: ["b-listbox-option", e.conditionalClasses],
|
|
68
67
|
role: "option"
|
|
69
68
|
}, e.$attrs, {
|
|
70
|
-
onClick: t[0] || (t[0] = (...
|
|
69
|
+
onClick: t[0] || (t[0] = (...d) => e.onClick && e.onClick(...d)),
|
|
71
70
|
onKeydown: [
|
|
72
|
-
t[1] || (t[1] =
|
|
73
|
-
t[2] || (t[2] =
|
|
74
|
-
t[3] || (t[3] =
|
|
71
|
+
t[1] || (t[1] = ne((d) => e.onOptionSelected(e.BentoListboxEvent.ENTER, d), ["enter"])),
|
|
72
|
+
t[2] || (t[2] = ne((d) => e.onOptionSelected(e.BentoListboxEvent.SPACE, d), ["space"])),
|
|
73
|
+
t[3] || (t[3] = ne((d) => e.onOptionSelected(e.BentoListboxEvent.TAB, d), ["tab"]))
|
|
75
74
|
]
|
|
76
75
|
}), [
|
|
77
|
-
|
|
76
|
+
M(e.$slots, "default", {}, void 0, !0)
|
|
78
77
|
], 16);
|
|
79
78
|
}
|
|
80
|
-
const
|
|
81
|
-
let
|
|
82
|
-
const
|
|
79
|
+
const se = /* @__PURE__ */ H(qe, [["render", je], ["__scopeId", "data-v-18a61f5d"]]);
|
|
80
|
+
let me = 0;
|
|
81
|
+
const Xe = {
|
|
83
82
|
beforeCreate() {
|
|
84
|
-
this.uuid =
|
|
83
|
+
this.uuid = me.toString(), me += 1;
|
|
85
84
|
}
|
|
86
|
-
},
|
|
85
|
+
}, Ze = (e) => (fe("data-v-4687fbd0"), e = e(), Ee(), e), Je = { key: 0 }, Qe = /* @__PURE__ */ Ze(() => /* @__PURE__ */ B("path", {
|
|
87
86
|
fill: "#00112C",
|
|
88
87
|
"fill-rule": "evenodd",
|
|
89
88
|
d: "M14.5303 4.53033C14.8232 4.23744 14.8232 3.76256 14.5303 3.46967C14.2374 3.17678 13.7626 3.17678 13.4697 3.46967L6 10.9393L2.53033 7.46967C2.23744 7.17678 1.76256 7.17678 1.46967 7.46967C1.17678 7.76256 1.17678 8.23744 1.46967 8.53033L5.46967 12.5303C5.50628 12.5669 5.54574 12.599 5.58732 12.6264C5.87844 12.8186 6.27405 12.7866 6.53033 12.5303L14.5303 4.53033Z",
|
|
90
89
|
"clip-rule": "evenodd"
|
|
91
90
|
}, null, -1));
|
|
92
|
-
function
|
|
93
|
-
return g(),
|
|
91
|
+
function et(e, t, v, p, n, b) {
|
|
92
|
+
return g(), O("svg", U({ role: "img" }, e.$attrs, {
|
|
94
93
|
xmlns: "http://www.w3.org/2000/svg",
|
|
95
94
|
width: "16",
|
|
96
95
|
height: "16",
|
|
97
96
|
fill: "none"
|
|
98
97
|
}), [
|
|
99
|
-
e.$attrs["svg-title"] ? (g(),
|
|
100
|
-
|
|
98
|
+
e.$attrs["svg-title"] ? (g(), O("title", Je, $(e.$attrs["svg-title"]), 1)) : j("", !0),
|
|
99
|
+
Qe
|
|
101
100
|
], 16);
|
|
102
101
|
}
|
|
103
|
-
const
|
|
102
|
+
const tt = /* @__PURE__ */ H(Xe, [["render", et], ["__scopeId", "data-v-4687fbd0"]]), st = z({
|
|
104
103
|
name: "bento-listbox-single-select-option",
|
|
105
104
|
components: {
|
|
106
|
-
BentoListboxOption:
|
|
105
|
+
BentoListboxOption: se,
|
|
107
106
|
BentoTypography: ee,
|
|
108
|
-
CheckmarkIcon:
|
|
107
|
+
CheckmarkIcon: tt
|
|
109
108
|
},
|
|
110
109
|
props: {
|
|
111
110
|
/**
|
|
@@ -127,8 +126,8 @@ const lt = /* @__PURE__ */ W(Je, [["render", st], ["__scopeId", "data-v-4687fbd0
|
|
|
127
126
|
},
|
|
128
127
|
emits: [o.ENTER, o.SELECT, o.SPACE, o.TAB],
|
|
129
128
|
setup(e, { emit: t }) {
|
|
130
|
-
const v = (
|
|
131
|
-
e.disabled || t(
|
|
129
|
+
const v = (d) => {
|
|
130
|
+
e.disabled || t(d, e.option.value);
|
|
132
131
|
}, p = u(() => e.disabled ? !0 : null), n = u(() => e.selected ? !0 : null), b = u(() => e.disabled ? -1 : 0);
|
|
133
132
|
return {
|
|
134
133
|
// Values
|
|
@@ -136,16 +135,15 @@ const lt = /* @__PURE__ */ W(Je, [["render", st], ["__scopeId", "data-v-4687fbd0
|
|
|
136
135
|
ariaSelected: n,
|
|
137
136
|
tabIndex: b,
|
|
138
137
|
// Enums
|
|
139
|
-
BentoTypographyElement: te,
|
|
140
138
|
BentoListboxEvent: o,
|
|
141
139
|
// Events
|
|
142
140
|
onOptionSelected: v
|
|
143
141
|
};
|
|
144
142
|
}
|
|
145
143
|
});
|
|
146
|
-
const
|
|
147
|
-
function
|
|
148
|
-
const
|
|
144
|
+
const lt = { class: "b-listbox-single-select-option__text" }, ot = { class: "b-listbox-single-select-option__check-icon" };
|
|
145
|
+
function nt(e, t, v, p, n, b) {
|
|
146
|
+
const d = S("bento-typography"), l = S("checkmark-icon"), i = S("bento-listbox-option");
|
|
149
147
|
return g(), I(i, U({
|
|
150
148
|
class: "b-listbox-single-select-option",
|
|
151
149
|
disabled: e.disabled,
|
|
@@ -153,52 +151,50 @@ function at(e, t, v, p, n, b) {
|
|
|
153
151
|
"aria-selected": e.ariaSelected,
|
|
154
152
|
"aria-disabled": e.ariaDisabled,
|
|
155
153
|
tabindex: e.tabIndex,
|
|
156
|
-
onClick: t[0] || (t[0] = (
|
|
154
|
+
onClick: t[0] || (t[0] = (r) => e.onOptionSelected(e.BentoListboxEvent.SELECT))
|
|
157
155
|
}, {
|
|
158
|
-
[w(e.BentoListboxEvent.ENTER)]: t[1] || (t[1] = (
|
|
156
|
+
[w(e.BentoListboxEvent.ENTER)]: t[1] || (t[1] = (r) => e.onOptionSelected(e.BentoListboxEvent.ENTER))
|
|
159
157
|
}, {
|
|
160
|
-
[w(e.BentoListboxEvent.SPACE)]: t[2] || (t[2] = (
|
|
158
|
+
[w(e.BentoListboxEvent.SPACE)]: t[2] || (t[2] = (r) => e.onOptionSelected(e.BentoListboxEvent.SPACE))
|
|
161
159
|
}, {
|
|
162
|
-
[w(e.BentoListboxEvent.TAB)]: t[3] || (t[3] = (
|
|
160
|
+
[w(e.BentoListboxEvent.TAB)]: t[3] || (t[3] = (r) => e.onOptionSelected(e.BentoListboxEvent.TAB))
|
|
163
161
|
}), {
|
|
164
162
|
default: C(() => [
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
el: e.BentoTypographyElement.SPAN
|
|
169
|
-
}, {
|
|
163
|
+
M(e.$slots, "default", F(K(e.option)), () => [
|
|
164
|
+
B("span", lt, [
|
|
165
|
+
L(d, { el: "span" }, {
|
|
170
166
|
default: C(() => [
|
|
171
|
-
|
|
167
|
+
D($(e.option.label), 1)
|
|
172
168
|
]),
|
|
173
169
|
_: 1
|
|
174
|
-
}
|
|
175
|
-
e.option.description ? (g(), I(
|
|
170
|
+
}),
|
|
171
|
+
e.option.description ? (g(), I(d, {
|
|
176
172
|
key: 0,
|
|
177
173
|
class: "b-listbox-single-select-option__description",
|
|
178
|
-
el:
|
|
174
|
+
el: "span"
|
|
179
175
|
}, {
|
|
180
176
|
default: C(() => [
|
|
181
|
-
|
|
177
|
+
D($(e.option.description), 1)
|
|
182
178
|
]),
|
|
183
179
|
_: 1
|
|
184
|
-
}
|
|
180
|
+
})) : j("", !0)
|
|
185
181
|
])
|
|
186
182
|
], !0),
|
|
187
|
-
|
|
188
|
-
X(
|
|
189
|
-
[
|
|
183
|
+
B("span", ot, [
|
|
184
|
+
X(L(l, { "svg-title": "selected" }, null, 512), [
|
|
185
|
+
[ae, e.selected]
|
|
190
186
|
])
|
|
191
187
|
])
|
|
192
188
|
]),
|
|
193
189
|
_: 3
|
|
194
190
|
}, 16, ["disabled", "selected", "aria-selected", "aria-disabled", "tabindex"]);
|
|
195
191
|
}
|
|
196
|
-
const
|
|
192
|
+
const it = /* @__PURE__ */ H(st, [["render", nt], ["__scopeId", "data-v-d112952c"]]), Se = ({ items: e, isOptionDisabled: t }, v) => {
|
|
197
193
|
const p = u(() => e.value.length - 1), n = R(0);
|
|
198
|
-
|
|
194
|
+
Ge(() => {
|
|
199
195
|
t && (n.value = e.value.findIndex((m) => !t(m)));
|
|
200
196
|
});
|
|
201
|
-
const b = (m) => !t || !!t && t(e.value[m]),
|
|
197
|
+
const b = (m) => !t || !!t && t(e.value[m]), d = (m) => !t || !!t && !t(e.value[m]), l = (m) => {
|
|
202
198
|
switch (m) {
|
|
203
199
|
case "increase":
|
|
204
200
|
n.value += 1;
|
|
@@ -207,47 +203,47 @@ const rt = /* @__PURE__ */ W(ot, [["render", at], ["__scopeId", "data-v-88d28e60
|
|
|
207
203
|
n.value -= 1;
|
|
208
204
|
break;
|
|
209
205
|
}
|
|
210
|
-
}, i = ({ edgeCaseItem: m, isItemBeforeEdgeCaseItem:
|
|
211
|
-
n.value !== m && (
|
|
212
|
-
},
|
|
206
|
+
}, i = ({ edgeCaseItem: m, isItemBeforeEdgeCaseItem: A }, V, P) => {
|
|
207
|
+
n.value !== m && (A ? d(m) && l(P) : (l(P), b(n.value) && V()), v(n.value));
|
|
208
|
+
}, r = () => {
|
|
213
209
|
const m = n.value === p.value - 2;
|
|
214
210
|
i(
|
|
215
211
|
{
|
|
216
212
|
isItemBeforeEdgeCaseItem: m,
|
|
217
213
|
edgeCaseItem: p.value
|
|
218
214
|
},
|
|
219
|
-
|
|
215
|
+
r,
|
|
220
216
|
"increase"
|
|
221
217
|
/* INCREASE */
|
|
222
218
|
);
|
|
223
|
-
},
|
|
219
|
+
}, y = () => {
|
|
224
220
|
const m = n.value === 1;
|
|
225
221
|
i(
|
|
226
222
|
{
|
|
227
223
|
edgeCaseItem: 0,
|
|
228
224
|
isItemBeforeEdgeCaseItem: m
|
|
229
225
|
},
|
|
230
|
-
|
|
226
|
+
y,
|
|
231
227
|
"decrease"
|
|
232
228
|
/* DECREASE */
|
|
233
229
|
);
|
|
234
230
|
};
|
|
235
231
|
return {
|
|
236
232
|
moveToFirstElement: () => {
|
|
237
|
-
n.value = 0, b(n.value) ?
|
|
233
|
+
n.value = 0, b(n.value) ? r() : v(n.value);
|
|
238
234
|
},
|
|
239
235
|
moveToLastElement: () => {
|
|
240
|
-
n.value = p.value, b(n.value) ?
|
|
236
|
+
n.value = p.value, b(n.value) ? y() : v(n.value);
|
|
241
237
|
},
|
|
242
|
-
moveToNextElement:
|
|
243
|
-
moveToPreviousElement:
|
|
238
|
+
moveToNextElement: r,
|
|
239
|
+
moveToPreviousElement: y
|
|
244
240
|
};
|
|
245
|
-
},
|
|
241
|
+
}, at = z({
|
|
246
242
|
name: "bento-listbox-single-select",
|
|
247
243
|
components: {
|
|
248
|
-
BentoListboxSingleSelectOption:
|
|
244
|
+
BentoListboxSingleSelectOption: it
|
|
249
245
|
},
|
|
250
|
-
directives: { BentoKeyboardNavigationDirective:
|
|
246
|
+
directives: { BentoKeyboardNavigationDirective: re },
|
|
251
247
|
inheritAttrs: !1,
|
|
252
248
|
props: {
|
|
253
249
|
/**
|
|
@@ -288,17 +284,17 @@ const rt = /* @__PURE__ */ W(ot, [["render", at], ["__scopeId", "data-v-88d28e60
|
|
|
288
284
|
setup(e, { emit: t, slots: v }) {
|
|
289
285
|
const p = R([]), n = (f) => (m) => {
|
|
290
286
|
t(f, m);
|
|
291
|
-
}, b = (f) => p.value[f].$el.focus(), { moveToNextElement:
|
|
287
|
+
}, b = (f) => p.value[f].$el.focus(), { moveToNextElement: d, moveToPreviousElement: l, moveToFirstElement: i, moveToLastElement: r } = Se(
|
|
292
288
|
{
|
|
293
|
-
items:
|
|
289
|
+
items: xe(e, "items"),
|
|
294
290
|
isOptionDisabled: e.isOptionDisabled
|
|
295
291
|
},
|
|
296
292
|
b
|
|
297
|
-
),
|
|
298
|
-
[
|
|
299
|
-
[
|
|
300
|
-
[
|
|
301
|
-
[
|
|
293
|
+
), y = {
|
|
294
|
+
[N.ARROW_UP]: l,
|
|
295
|
+
[N.ARROW_DOWN]: d,
|
|
296
|
+
[N.HOME]: i,
|
|
297
|
+
[N.END]: r
|
|
302
298
|
}, s = {
|
|
303
299
|
[o.SELECT]: n(o.SELECT),
|
|
304
300
|
[o.SPACE]: n(o.SPACE),
|
|
@@ -314,15 +310,15 @@ const rt = /* @__PURE__ */ W(ot, [["render", at], ["__scopeId", "data-v-88d28e60
|
|
|
314
310
|
// Methods
|
|
315
311
|
onOptionSelected: n,
|
|
316
312
|
// Keyboard navigation
|
|
317
|
-
listboxListeners:
|
|
313
|
+
listboxListeners: y,
|
|
318
314
|
listboxOptionListeners: s
|
|
319
315
|
};
|
|
320
316
|
}
|
|
321
317
|
});
|
|
322
|
-
function
|
|
323
|
-
const
|
|
324
|
-
return X((g(),
|
|
325
|
-
(g(!0),
|
|
318
|
+
function dt(e, t, v, p, n, b) {
|
|
319
|
+
const d = S("bento-listbox-single-select-option"), l = de("bento-keyboard-navigation-directive");
|
|
320
|
+
return X((g(), O("div", J(e.listboxListeners, !0), [
|
|
321
|
+
(g(!0), O(te, null, W(e.items, (i) => (g(), I(d, U({
|
|
326
322
|
key: i.value,
|
|
327
323
|
ref_for: !0,
|
|
328
324
|
ref: "listboxItemRef",
|
|
@@ -331,10 +327,10 @@ function ct(e, t, v, p, n, b) {
|
|
|
331
327
|
disabled: e.isOptionDisabled ? e.isOptionDisabled(i) : null,
|
|
332
328
|
selected: i.value === e.selectedValue
|
|
333
329
|
}, J(e.listboxOptionListeners)), Q({ _: 2 }, [
|
|
334
|
-
|
|
335
|
-
name:
|
|
330
|
+
W(e.slots, (r, y) => ({
|
|
331
|
+
name: y,
|
|
336
332
|
fn: C((s) => [
|
|
337
|
-
|
|
333
|
+
M(e.$slots, y, F(K(s)))
|
|
338
334
|
])
|
|
339
335
|
}))
|
|
340
336
|
]), 1040, ["option", "disabled", "selected"]))), 128))
|
|
@@ -342,22 +338,22 @@ function ct(e, t, v, p, n, b) {
|
|
|
342
338
|
[l]
|
|
343
339
|
]);
|
|
344
340
|
}
|
|
345
|
-
const
|
|
346
|
-
var
|
|
347
|
-
const
|
|
341
|
+
const rt = /* @__PURE__ */ H(at, [["render", dt]]);
|
|
342
|
+
var Ce = /* @__PURE__ */ ((e) => (e.DISABLED = "disabled", e))(Ce || {}), Z = /* @__PURE__ */ ((e) => (e.SELECT_CATEGORY = "select-category", e.UNSELECT_CATEGORY = "unselect-category", e))(Z || {});
|
|
343
|
+
const ct = {
|
|
348
344
|
"en-US": {
|
|
349
345
|
categoryClosed: "{category} closed",
|
|
350
346
|
categoryOpened: "{category} opened"
|
|
351
347
|
}
|
|
352
|
-
},
|
|
353
|
-
i18n: { messages:
|
|
348
|
+
}, ut = z({
|
|
349
|
+
i18n: { messages: ct },
|
|
354
350
|
name: "bento-listbox-multi-select-category",
|
|
355
351
|
components: {
|
|
356
|
-
BentoCheckbox:
|
|
352
|
+
BentoCheckbox: ue,
|
|
357
353
|
BentoTypography: ee,
|
|
358
|
-
BentoListboxOption:
|
|
359
|
-
ChevronDownIcon:
|
|
360
|
-
ChevronUpIcon:
|
|
354
|
+
BentoListboxOption: se,
|
|
355
|
+
ChevronDownIcon: He,
|
|
356
|
+
ChevronUpIcon: We
|
|
361
357
|
},
|
|
362
358
|
props: {
|
|
363
359
|
/**
|
|
@@ -396,25 +392,25 @@ const bt = {
|
|
|
396
392
|
},
|
|
397
393
|
emits: [Z.SELECT_CATEGORY, Z.UNSELECT_CATEGORY],
|
|
398
394
|
setup(e, { emit: t }) {
|
|
399
|
-
const v = R(!1), { t: p } =
|
|
395
|
+
const v = R(!1), { t: p } = ce(), n = (_) => e.isOptionDisabled ? e.isOptionDisabled(_) : !1, b = u(
|
|
400
396
|
() => e.category.items.every((_) => n(_))
|
|
401
|
-
),
|
|
402
|
-
[`b-listbox-multi-select-category--${
|
|
397
|
+
), d = u(() => ({
|
|
398
|
+
[`b-listbox-multi-select-category--${Ce.DISABLED}`]: b.value
|
|
403
399
|
})), l = (_) => {
|
|
404
400
|
_.preventDefault(), v.value = !v.value;
|
|
405
401
|
}, i = (_) => {
|
|
406
402
|
var G;
|
|
407
403
|
const k = n(_), T = ((G = e.selectedItemsList) == null ? void 0 : G.includes(_.value)) || !1;
|
|
408
404
|
return { isDisabled: k, isPreSelected: T };
|
|
409
|
-
},
|
|
405
|
+
}, r = u(
|
|
410
406
|
() => e.category.items.filter((_) => {
|
|
411
407
|
const { isDisabled: k, isPreSelected: T } = i(_);
|
|
412
408
|
return k && T || !k;
|
|
413
409
|
})
|
|
414
|
-
),
|
|
410
|
+
), y = u(
|
|
415
411
|
() => {
|
|
416
412
|
var _;
|
|
417
|
-
return (_ =
|
|
413
|
+
return (_ = r.value) == null ? void 0 : _.filter(
|
|
418
414
|
({ value: k }) => {
|
|
419
415
|
var T;
|
|
420
416
|
return (T = e.selectedItemsList) == null ? void 0 : T.includes(k);
|
|
@@ -428,37 +424,35 @@ const bt = {
|
|
|
428
424
|
t(Z.SELECT_CATEGORY);
|
|
429
425
|
}, m = () => {
|
|
430
426
|
t(Z.UNSELECT_CATEGORY);
|
|
431
|
-
}, { isAllSelected:
|
|
432
|
-
|
|
433
|
-
|
|
427
|
+
}, { isAllSelected: A, isIndeterminate: V, toggleSelectAll: P } = ye(
|
|
428
|
+
y,
|
|
429
|
+
r,
|
|
434
430
|
f,
|
|
435
431
|
m
|
|
436
432
|
);
|
|
437
433
|
return {
|
|
438
434
|
// Values
|
|
439
435
|
chevronTitle: s,
|
|
440
|
-
conditionalClass:
|
|
436
|
+
conditionalClass: d,
|
|
441
437
|
hasAllPropsDisabled: b,
|
|
442
438
|
isOpen: v,
|
|
443
|
-
isAllSelected:
|
|
439
|
+
isAllSelected: A,
|
|
444
440
|
isIndeterminate: V,
|
|
445
|
-
// Enums
|
|
446
|
-
BentoTypographyElement: te,
|
|
447
441
|
// Methods
|
|
448
442
|
toggleOpen: l,
|
|
449
|
-
toggleSelectAll:
|
|
443
|
+
toggleSelectAll: P
|
|
450
444
|
};
|
|
451
445
|
}
|
|
452
446
|
});
|
|
453
|
-
const
|
|
454
|
-
function
|
|
455
|
-
const
|
|
456
|
-
return g(),
|
|
457
|
-
|
|
458
|
-
class:
|
|
447
|
+
const bt = { class: "b-listbox-multi-select-category__label" };
|
|
448
|
+
function mt(e, t, v, p, n, b) {
|
|
449
|
+
const d = S("bento-checkbox"), l = S("bento-typography"), i = S("chevron-up-icon"), r = S("chevron-down-icon"), y = S("bento-listbox-option");
|
|
450
|
+
return g(), O("div", null, [
|
|
451
|
+
L(y, {
|
|
452
|
+
class: ie(["b-listbox-multi-select-category__option", e.conditionalClass])
|
|
459
453
|
}, {
|
|
460
454
|
default: C(() => [
|
|
461
|
-
|
|
455
|
+
L(d, {
|
|
462
456
|
"model-value": e.isAllSelected,
|
|
463
457
|
indeterminate: e.isIndeterminate,
|
|
464
458
|
disabled: e.hasAllPropsDisabled,
|
|
@@ -466,17 +460,17 @@ function pt(e, t, v, p, n, b) {
|
|
|
466
460
|
value: e.category.value,
|
|
467
461
|
"onUpdate:modelValue": e.toggleSelectAll
|
|
468
462
|
}, null, 8, ["model-value", "indeterminate", "disabled", "aria-label", "value", "onUpdate:modelValue"]),
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
el:
|
|
463
|
+
B("span", bt, [
|
|
464
|
+
L(l, {
|
|
465
|
+
el: "span",
|
|
472
466
|
class: "b-listbox-multi-select-category__label-text"
|
|
473
467
|
}, {
|
|
474
468
|
default: C(() => [
|
|
475
|
-
|
|
469
|
+
D($(e.category.label), 1)
|
|
476
470
|
]),
|
|
477
471
|
_: 1
|
|
478
|
-
}
|
|
479
|
-
|
|
472
|
+
}),
|
|
473
|
+
B("div", {
|
|
480
474
|
class: "b-listbox-multi-select-category__label-chevron",
|
|
481
475
|
"data-testid": "toggle-listbox",
|
|
482
476
|
onClickCapture: t[0] || (t[0] = (...s) => e.toggleOpen && e.toggleOpen(...s))
|
|
@@ -484,7 +478,7 @@ function pt(e, t, v, p, n, b) {
|
|
|
484
478
|
e.isOpen ? (g(), I(i, {
|
|
485
479
|
key: 0,
|
|
486
480
|
"svg-title": e.chevronTitle
|
|
487
|
-
}, null, 8, ["svg-title"])) : (g(), I(
|
|
481
|
+
}, null, 8, ["svg-title"])) : (g(), I(r, {
|
|
488
482
|
key: 1,
|
|
489
483
|
"svg-title": e.chevronTitle
|
|
490
484
|
}, null, 8, ["svg-title"]))
|
|
@@ -493,22 +487,22 @@ function pt(e, t, v, p, n, b) {
|
|
|
493
487
|
]),
|
|
494
488
|
_: 1
|
|
495
489
|
}, 8, ["class"]),
|
|
496
|
-
X(
|
|
497
|
-
|
|
490
|
+
X(B("div", null, [
|
|
491
|
+
M(e.$slots, "default", {}, void 0, !0)
|
|
498
492
|
], 512), [
|
|
499
|
-
[
|
|
493
|
+
[ae, e.isOpen]
|
|
500
494
|
])
|
|
501
495
|
]);
|
|
502
496
|
}
|
|
503
|
-
const
|
|
504
|
-
var
|
|
505
|
-
const
|
|
497
|
+
const vt = /* @__PURE__ */ H(ut, [["render", mt], ["__scopeId", "data-v-69a9679a"]]);
|
|
498
|
+
var Y = /* @__PURE__ */ ((e) => (e.SELECT_CATEGORY = "select-category", e.TOGGLE_CHECKBOX_SELECTION = "toggle-checkbox-selection", e.UNSELECT_CATEGORY = "unselect-category", e))(Y || {});
|
|
499
|
+
const pt = z({
|
|
506
500
|
name: "listbox-multi-select-options",
|
|
507
501
|
components: {
|
|
508
|
-
BentoCheckbox:
|
|
509
|
-
BentoListboxOption:
|
|
502
|
+
BentoCheckbox: ue,
|
|
503
|
+
BentoListboxOption: se,
|
|
510
504
|
BentoTypography: ee,
|
|
511
|
-
ListboxMultiSelectCategory:
|
|
505
|
+
ListboxMultiSelectCategory: vt
|
|
512
506
|
},
|
|
513
507
|
props: {
|
|
514
508
|
/**
|
|
@@ -562,20 +556,20 @@ const ft = x({
|
|
|
562
556
|
}
|
|
563
557
|
},
|
|
564
558
|
emits: [
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
559
|
+
Y.TOGGLE_CHECKBOX_SELECTION,
|
|
560
|
+
Y.SELECT_CATEGORY,
|
|
561
|
+
Y.UNSELECT_CATEGORY
|
|
568
562
|
],
|
|
569
563
|
setup(e, { emit: t }) {
|
|
570
564
|
const v = (i) => {
|
|
571
|
-
t(
|
|
565
|
+
t(Y.TOGGLE_CHECKBOX_SELECTION, i);
|
|
572
566
|
}, p = (i) => !!i.items, n = (i) => {
|
|
573
|
-
const
|
|
574
|
-
return i.description && (!e.isMultiLevel ||
|
|
575
|
-
}, b = (i) => i.items ? !!i.items.find((
|
|
576
|
-
if (p(
|
|
577
|
-
return t(i ?
|
|
578
|
-
v(
|
|
567
|
+
const r = e.isMultiLevel && e.searching;
|
|
568
|
+
return i.description && (!e.isMultiLevel || r);
|
|
569
|
+
}, b = (i) => i.items ? !!i.items.find((r) => e.selectedItemsList.includes(r.value)) : e.selectedItemsList.includes(i.value), d = (i, r) => {
|
|
570
|
+
if (p(r))
|
|
571
|
+
return t(i ? Y.SELECT_CATEGORY : Y.UNSELECT_CATEGORY, r);
|
|
572
|
+
v(r.value);
|
|
579
573
|
};
|
|
580
574
|
return {
|
|
581
575
|
// Values
|
|
@@ -587,60 +581,57 @@ const ft = x({
|
|
|
587
581
|
isOptionSelected: b,
|
|
588
582
|
shouldShowDescription: n,
|
|
589
583
|
toggleCheckboxSelection: v,
|
|
590
|
-
selectSearch:
|
|
584
|
+
selectSearch: d,
|
|
591
585
|
// Enums
|
|
592
586
|
BentoListboxEvent: o,
|
|
593
|
-
|
|
594
|
-
ListboxMultiSelectOptionsEvent: F
|
|
587
|
+
ListboxMultiSelectOptionsEvent: Y
|
|
595
588
|
};
|
|
596
589
|
}
|
|
597
590
|
});
|
|
598
|
-
const
|
|
599
|
-
function
|
|
600
|
-
const
|
|
601
|
-
return g(),
|
|
602
|
-
(g(!0),
|
|
591
|
+
const gt = { class: "b-listbox-multi-select__option-text" }, ft = { class: "b-listbox-multi-select__option-text" };
|
|
592
|
+
function Et(e, t, v, p, n, b) {
|
|
593
|
+
const d = S("bento-checkbox"), l = S("bento-typography"), i = S("bento-listbox-option"), r = S("listbox-multi-select-options", !0), y = S("listbox-multi-select-category");
|
|
594
|
+
return g(), O("div", null, [
|
|
595
|
+
(g(!0), O(te, null, W(e.items, (s) => (g(), O("div", {
|
|
603
596
|
key: `selected-${s.value}`
|
|
604
597
|
}, [
|
|
605
598
|
e.searching && e.isMultiLevel ? (g(), I(i, {
|
|
606
599
|
key: 0,
|
|
607
|
-
class:
|
|
600
|
+
class: ie(["b-listbox-multi-select-options", e.conditionalClasses]),
|
|
608
601
|
disabled: e.isOptionDisabled ? e.isOptionDisabled(s) : null
|
|
609
602
|
}, {
|
|
610
603
|
default: C(() => [
|
|
611
|
-
|
|
604
|
+
L(d, {
|
|
612
605
|
"model-value": e.isOptionSelected(s),
|
|
613
606
|
"aria-label": s.label,
|
|
614
607
|
disabled: e.isOptionDisabled ? e.isOptionDisabled(s) : null,
|
|
615
608
|
value: s.value,
|
|
616
609
|
"onUpdate:modelValue": (f) => e.selectSearch(f, s)
|
|
617
610
|
}, null, 8, ["model-value", "aria-label", "disabled", "value", "onUpdate:modelValue"]),
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
el: e.BentoTypographyElement.SPAN
|
|
622
|
-
}, {
|
|
611
|
+
M(e.$slots, "default", F(K(s)), () => [
|
|
612
|
+
B("span", gt, [
|
|
613
|
+
L(l, { el: "span" }, {
|
|
623
614
|
default: C(() => [
|
|
624
|
-
|
|
615
|
+
D($(s.label), 1)
|
|
625
616
|
]),
|
|
626
617
|
_: 2
|
|
627
|
-
},
|
|
618
|
+
}, 1024),
|
|
628
619
|
e.shouldShowDescription(s) ? (g(), I(l, {
|
|
629
620
|
key: 0,
|
|
630
621
|
class: "b-listbox-multi-select__option-description",
|
|
631
|
-
el:
|
|
622
|
+
el: "span"
|
|
632
623
|
}, {
|
|
633
624
|
default: C(() => [
|
|
634
|
-
|
|
625
|
+
D($(s.description), 1)
|
|
635
626
|
]),
|
|
636
627
|
_: 2
|
|
637
|
-
},
|
|
628
|
+
}, 1024)) : j("", !0)
|
|
638
629
|
])
|
|
639
630
|
], !0)
|
|
640
631
|
]),
|
|
641
632
|
_: 2
|
|
642
|
-
}, 1032, ["class", "disabled"])) : (g(),
|
|
643
|
-
s.items ? (g(), I(
|
|
633
|
+
}, 1032, ["class", "disabled"])) : (g(), O(te, { key: 1 }, [
|
|
634
|
+
s.items ? (g(), I(y, {
|
|
644
635
|
key: 0,
|
|
645
636
|
category: s,
|
|
646
637
|
"is-option-disabled": e.isOptionDisabled,
|
|
@@ -649,7 +640,7 @@ function St(e, t, v, p, n, b) {
|
|
|
649
640
|
onUnselectCategory: (f) => e.$emit(e.ListboxMultiSelectOptionsEvent.UNSELECT_CATEGORY, s)
|
|
650
641
|
}, {
|
|
651
642
|
default: C(() => [
|
|
652
|
-
|
|
643
|
+
L(r, {
|
|
653
644
|
"category-items": "",
|
|
654
645
|
items: s.items,
|
|
655
646
|
"is-option-disabled": e.isOptionDisabled,
|
|
@@ -662,37 +653,35 @@ function St(e, t, v, p, n, b) {
|
|
|
662
653
|
_: 2
|
|
663
654
|
}, 1032, ["category", "is-option-disabled", "selected-items-list", "onSelectCategory", "onUnselectCategory"])) : (g(), I(i, {
|
|
664
655
|
key: 1,
|
|
665
|
-
class:
|
|
656
|
+
class: ie(["b-listbox-multi-select-options", e.conditionalClasses]),
|
|
666
657
|
disabled: e.isOptionDisabled ? e.isOptionDisabled(s) : null
|
|
667
658
|
}, {
|
|
668
659
|
default: C(() => [
|
|
669
|
-
|
|
660
|
+
L(d, {
|
|
670
661
|
"model-value": e.selectedItemsList,
|
|
671
662
|
"aria-label": s.label,
|
|
672
663
|
disabled: e.isOptionDisabled ? e.isOptionDisabled(s) : null,
|
|
673
664
|
value: s.value,
|
|
674
665
|
"onUpdate:modelValue": (f) => e.toggleCheckboxSelection(s.value)
|
|
675
666
|
}, null, 8, ["model-value", "aria-label", "disabled", "value", "onUpdate:modelValue"]),
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
el: e.BentoTypographyElement.SPAN
|
|
680
|
-
}, {
|
|
667
|
+
M(e.$slots, "default", F(K(s)), () => [
|
|
668
|
+
B("span", ft, [
|
|
669
|
+
L(l, { el: "span" }, {
|
|
681
670
|
default: C(() => [
|
|
682
|
-
|
|
671
|
+
D($(s.label), 1)
|
|
683
672
|
]),
|
|
684
673
|
_: 2
|
|
685
|
-
},
|
|
674
|
+
}, 1024),
|
|
686
675
|
e.shouldShowDescription(s) ? (g(), I(l, {
|
|
687
676
|
key: 0,
|
|
688
677
|
class: "b-listbox-multi-select__option-description",
|
|
689
|
-
el:
|
|
678
|
+
el: "span"
|
|
690
679
|
}, {
|
|
691
680
|
default: C(() => [
|
|
692
|
-
|
|
681
|
+
D($(s.description), 1)
|
|
693
682
|
]),
|
|
694
683
|
_: 2
|
|
695
|
-
},
|
|
684
|
+
}, 1024)) : j("", !0)
|
|
696
685
|
])
|
|
697
686
|
], !0)
|
|
698
687
|
]),
|
|
@@ -702,22 +691,22 @@ function St(e, t, v, p, n, b) {
|
|
|
702
691
|
]))), 128))
|
|
703
692
|
]);
|
|
704
693
|
}
|
|
705
|
-
const
|
|
694
|
+
const yt = /* @__PURE__ */ H(pt, [["render", Et], ["__scopeId", "data-v-55a6d406"]]), ve = {
|
|
706
695
|
"en-US": {
|
|
707
696
|
allSelected: "All selected ({total})",
|
|
708
697
|
numberOfTotalSelected: "{number} of {total} selected",
|
|
709
698
|
selectAll: "Select all ({total})"
|
|
710
699
|
}
|
|
711
|
-
},
|
|
712
|
-
i18n: { messages:
|
|
700
|
+
}, St = z({
|
|
701
|
+
i18n: { messages: ve },
|
|
713
702
|
name: "bento-listbox-multi-select",
|
|
714
703
|
components: {
|
|
715
|
-
BentoCheckbox:
|
|
716
|
-
BentoListboxOption:
|
|
704
|
+
BentoCheckbox: ue,
|
|
705
|
+
BentoListboxOption: se,
|
|
717
706
|
BentoTypography: ee,
|
|
718
|
-
ListboxMultiSelectOptions:
|
|
707
|
+
ListboxMultiSelectOptions: yt
|
|
719
708
|
},
|
|
720
|
-
directives: { BentoKeyboardNavigationDirective:
|
|
709
|
+
directives: { BentoKeyboardNavigationDirective: re },
|
|
721
710
|
props: {
|
|
722
711
|
/**
|
|
723
712
|
* Function that allows the options to be disabled
|
|
@@ -761,8 +750,8 @@ const Ct = /* @__PURE__ */ W(ft, [["render", St], ["__scopeId", "data-v-c471c1bc
|
|
|
761
750
|
},
|
|
762
751
|
emits: [o.SELECT],
|
|
763
752
|
setup(e, { emit: t, slots: v }) {
|
|
764
|
-
const { t: p } =
|
|
765
|
-
|
|
753
|
+
const { t: p } = ce({ messages: ve }), n = R(null), b = R(null), d = R(null), l = R();
|
|
754
|
+
Ye(
|
|
766
755
|
() => e.selectedValues,
|
|
767
756
|
() => {
|
|
768
757
|
l.value = [...e.selectedValues ?? []];
|
|
@@ -771,13 +760,13 @@ const Ct = /* @__PURE__ */ W(ft, [["render", St], ["__scopeId", "data-v-c471c1bc
|
|
|
771
760
|
immediate: !0
|
|
772
761
|
}
|
|
773
762
|
);
|
|
774
|
-
const i = u(() => !!e.items.find(({ items: a }) => !!a)),
|
|
775
|
-
var
|
|
776
|
-
const c = e.isOptionDisabled(a), h = ((
|
|
763
|
+
const i = u(() => !!e.items.find(({ items: a }) => !!a)), r = u(() => i.value ? e.items.reduce((a, c) => (c.items ? a.push(...c.items.flat()) : a.push(c), a), []) : e.items), y = (a) => {
|
|
764
|
+
var E;
|
|
765
|
+
const c = e.isOptionDisabled(a), h = ((E = l.value) == null ? void 0 : E.includes(a.value)) || !1;
|
|
777
766
|
return { isDisabled: c, isPreSelected: h };
|
|
778
767
|
}, s = u(
|
|
779
|
-
() => e.searching && i ? e.items :
|
|
780
|
-
const { isDisabled: c, isPreSelected: h } =
|
|
768
|
+
() => e.searching && i ? e.items : r.value.filter((a) => {
|
|
769
|
+
const { isDisabled: c, isPreSelected: h } = y(a);
|
|
781
770
|
return c && h || !c;
|
|
782
771
|
})
|
|
783
772
|
), f = u(
|
|
@@ -786,147 +775,144 @@ const Ct = /* @__PURE__ */ W(ft, [["render", St], ["__scopeId", "data-v-c471c1bc
|
|
|
786
775
|
return (a = s.value) == null ? void 0 : a.filter((c) => {
|
|
787
776
|
var h;
|
|
788
777
|
return c.items && i.value && e.searching ? c.items.filter(
|
|
789
|
-
(
|
|
790
|
-
|
|
778
|
+
(x) => (e.selectedValues ?? []).includes(
|
|
779
|
+
x.value
|
|
791
780
|
)
|
|
792
781
|
).length === c.items.length : (h = l.value) == null ? void 0 : h.includes(c.value);
|
|
793
782
|
});
|
|
794
783
|
}
|
|
795
|
-
), m = () => i.value && !e.searching ? s.value.length : e.items.length,
|
|
784
|
+
), m = () => i.value && !e.searching ? s.value.length : e.items.length, A = u(() => {
|
|
796
785
|
var h;
|
|
797
786
|
const a = m(), c = ((h = f.value) == null ? void 0 : h.length) || 0;
|
|
798
787
|
return c === 0 ? p("selectAll", { total: a }) : c === a ? p("allSelected", { total: a }) : p("numberOfTotalSelected", { number: c, total: a });
|
|
799
788
|
}), V = (a) => {
|
|
800
|
-
const c = (
|
|
801
|
-
const { isDisabled:
|
|
802
|
-
return
|
|
803
|
-
}, h = a.filter(c).filter((
|
|
789
|
+
const c = (E) => {
|
|
790
|
+
const { isDisabled: x, isPreSelected: oe } = y(E);
|
|
791
|
+
return x && oe || !x;
|
|
792
|
+
}, h = a.filter(c).filter((E) => !l.value.includes(E.value)).map(({ value: E }) => E);
|
|
804
793
|
l.value = [...l.value, ...h], t(o.SELECT, l.value);
|
|
805
|
-
},
|
|
806
|
-
const c = (
|
|
807
|
-
const { isDisabled:
|
|
808
|
-
return !(
|
|
809
|
-
}, h = a.filter(c).map(({ value:
|
|
810
|
-
l.value = l.value.filter((
|
|
794
|
+
}, P = (a) => {
|
|
795
|
+
const c = (E) => {
|
|
796
|
+
const { isDisabled: x, isPreSelected: oe } = y(E);
|
|
797
|
+
return !(x && oe);
|
|
798
|
+
}, h = a.filter(c).map(({ value: E }) => E);
|
|
799
|
+
l.value = l.value.filter((E) => !(h != null && h.includes(E))), t(o.SELECT, l.value);
|
|
811
800
|
}, _ = () => {
|
|
812
|
-
V(
|
|
801
|
+
V(r.value);
|
|
813
802
|
}, k = () => {
|
|
814
|
-
|
|
815
|
-
}, { isAllSelected: T, isIndeterminate: G, toggleSelectAll:
|
|
803
|
+
P(r.value);
|
|
804
|
+
}, { isAllSelected: T, isIndeterminate: G, toggleSelectAll: he } = ye(
|
|
816
805
|
f,
|
|
817
806
|
s,
|
|
818
807
|
_,
|
|
819
808
|
k
|
|
820
|
-
),
|
|
809
|
+
), Te = (a) => {
|
|
821
810
|
V(a.items);
|
|
822
811
|
}, Le = (a) => {
|
|
823
|
-
|
|
812
|
+
P(a.items);
|
|
824
813
|
}, Oe = (a, c) => {
|
|
825
814
|
let h = !1;
|
|
826
|
-
l.value = l.value.filter((
|
|
827
|
-
},
|
|
828
|
-
const a = (
|
|
829
|
-
return e.items.filter((
|
|
830
|
-
}),
|
|
815
|
+
l.value = l.value.filter((E) => c === E ? (h = !0, !1) : !0), h || l.value.push(c), t(a, l.value);
|
|
816
|
+
}, le = u(() => {
|
|
817
|
+
const a = (E) => l.value.includes(E.value), c = (E) => !!E.find((x) => a(x));
|
|
818
|
+
return e.items.filter((E) => E.items && c(E.items) ? !0 : a(E));
|
|
819
|
+
}), Ae = u(() => {
|
|
831
820
|
var a;
|
|
832
|
-
return ((a =
|
|
833
|
-
}),
|
|
821
|
+
return ((a = le.value) == null ? void 0 : a.length) > 0;
|
|
822
|
+
}), Ie = u(
|
|
834
823
|
() => {
|
|
835
824
|
var a, c;
|
|
836
|
-
return ((a = f.value) == null ? void 0 : a.length) === ((c =
|
|
825
|
+
return ((a = f.value) == null ? void 0 : a.length) === ((c = r.value) == null ? void 0 : c.length);
|
|
837
826
|
}
|
|
838
827
|
), $e = u(
|
|
839
828
|
() => n.value ? [n.value] : []
|
|
840
|
-
),
|
|
829
|
+
), Be = u(
|
|
841
830
|
() => {
|
|
842
831
|
var a, c;
|
|
843
832
|
return (c = (a = b.value) == null ? void 0 : a.$children) != null && c.length ? b.value.$children : [];
|
|
844
833
|
}
|
|
845
|
-
),
|
|
834
|
+
), ke = u(
|
|
846
835
|
() => {
|
|
847
836
|
var a, c;
|
|
848
|
-
return (c = (a =
|
|
837
|
+
return (c = (a = d.value) == null ? void 0 : a.$children) != null && c.length ? d.value.$children : [];
|
|
849
838
|
}
|
|
850
|
-
),
|
|
851
|
-
|
|
852
|
-
...
|
|
853
|
-
...
|
|
854
|
-
]),
|
|
839
|
+
), Re = u(() => ({ label: A, value: T })), De = u(() => [
|
|
840
|
+
Re,
|
|
841
|
+
...le.value,
|
|
842
|
+
...r.value
|
|
843
|
+
]), Ne = (a) => {
|
|
855
844
|
[
|
|
856
845
|
...$e.value,
|
|
857
|
-
...
|
|
858
|
-
...
|
|
846
|
+
...Be.value,
|
|
847
|
+
...ke.value
|
|
859
848
|
][a].$el.focus();
|
|
860
|
-
}, { moveToNextElement: Me, moveToPreviousElement:
|
|
849
|
+
}, { moveToNextElement: Me, moveToPreviousElement: Pe, moveToFirstElement: we, moveToLastElement: Ue } = Se(
|
|
861
850
|
{
|
|
862
851
|
items: R(De),
|
|
863
852
|
isOptionDisabled: e.isOptionDisabled
|
|
864
853
|
},
|
|
865
|
-
|
|
866
|
-
),
|
|
867
|
-
[
|
|
868
|
-
[
|
|
869
|
-
[
|
|
870
|
-
[
|
|
854
|
+
Ne
|
|
855
|
+
), Ve = {
|
|
856
|
+
[N.ARROW_UP]: Pe,
|
|
857
|
+
[N.ARROW_DOWN]: Me,
|
|
858
|
+
[N.HOME]: we,
|
|
859
|
+
[N.END]: Ue
|
|
871
860
|
};
|
|
872
861
|
return {
|
|
873
862
|
// Refs
|
|
874
863
|
selectAllListboxItemsRef: n,
|
|
875
864
|
selectedListboxItemsRef: b,
|
|
876
|
-
listboxItemsRef:
|
|
865
|
+
listboxItemsRef: d,
|
|
877
866
|
// Values
|
|
878
867
|
isAllSelected: T,
|
|
879
|
-
isAllItemsIncludingDisabled:
|
|
880
|
-
isAnOptionSelected:
|
|
868
|
+
isAllItemsIncludingDisabled: Ie,
|
|
869
|
+
isAnOptionSelected: Ae,
|
|
881
870
|
isIndeterminate: G,
|
|
882
871
|
isMultiLevelSelect: i,
|
|
883
|
-
flattenedItemsList:
|
|
872
|
+
flattenedItemsList: r,
|
|
884
873
|
selectedItemsList: l,
|
|
885
|
-
selectAllCheckboxText:
|
|
886
|
-
selectedOptions:
|
|
874
|
+
selectAllCheckboxText: A,
|
|
875
|
+
selectedOptions: le,
|
|
887
876
|
slots: v,
|
|
888
877
|
// Enums
|
|
889
|
-
BentoTypographyElement: te,
|
|
890
878
|
BentoListboxEvent: o,
|
|
891
879
|
// Methods
|
|
892
|
-
selectAllCategory:
|
|
880
|
+
selectAllCategory: Te,
|
|
893
881
|
toggleCheckboxSelection: Oe,
|
|
894
|
-
toggleSelectAll:
|
|
882
|
+
toggleSelectAll: he,
|
|
895
883
|
unselectAllCategory: Le,
|
|
896
884
|
// Events
|
|
897
|
-
listboxListeners:
|
|
885
|
+
listboxListeners: Ve
|
|
898
886
|
};
|
|
899
887
|
}
|
|
900
888
|
});
|
|
901
|
-
const
|
|
902
|
-
function
|
|
903
|
-
const
|
|
904
|
-
return X((g(),
|
|
905
|
-
|
|
889
|
+
const _e = (e) => (fe("data-v-8c62bb32"), e = e(), Ee(), e), Ct = { key: 0 }, _t = /* @__PURE__ */ _e(() => /* @__PURE__ */ B("hr", { class: "b-listbox-multi-select__divider" }, null, -1)), ht = /* @__PURE__ */ _e(() => /* @__PURE__ */ B("hr", { class: "b-listbox-multi-select__divider" }, null, -1));
|
|
890
|
+
function Tt(e, t, v, p, n, b) {
|
|
891
|
+
const d = S("bento-checkbox"), l = S("bento-typography"), i = S("bento-listbox-option"), r = S("listbox-multi-select-options"), y = de("bento-keyboard-navigation-directive");
|
|
892
|
+
return X((g(), O("div", U({ class: "b-listbox-multi-select" }, J(e.listboxListeners, !0)), [
|
|
893
|
+
L(i, {
|
|
906
894
|
ref: "selectAllListboxItemsRef",
|
|
907
895
|
class: "b-listbox-multi-select__option"
|
|
908
896
|
}, {
|
|
909
897
|
default: C(() => [
|
|
910
|
-
|
|
898
|
+
L(d, {
|
|
911
899
|
"aria-label": e.selectAllCheckboxText,
|
|
912
900
|
"model-value": e.isAllSelected,
|
|
913
901
|
indeterminate: e.isIndeterminate,
|
|
914
902
|
"onUpdate:modelValue": e.toggleSelectAll
|
|
915
903
|
}, null, 8, ["aria-label", "model-value", "indeterminate", "onUpdate:modelValue"]),
|
|
916
|
-
|
|
917
|
-
el: e.BentoTypographyElement.SPAN
|
|
918
|
-
}, {
|
|
904
|
+
L(l, { el: "span" }, {
|
|
919
905
|
default: C(() => [
|
|
920
|
-
|
|
906
|
+
D($(e.selectAllCheckboxText), 1)
|
|
921
907
|
]),
|
|
922
908
|
_: 1
|
|
923
|
-
}
|
|
909
|
+
})
|
|
924
910
|
]),
|
|
925
911
|
_: 1
|
|
926
912
|
}, 512),
|
|
927
|
-
e.isAnOptionSelected ? (g(),
|
|
928
|
-
|
|
929
|
-
|
|
913
|
+
e.isAnOptionSelected ? (g(), O("div", Ct, [
|
|
914
|
+
_t,
|
|
915
|
+
L(r, U({
|
|
930
916
|
ref: "selectedListboxItemsRef",
|
|
931
917
|
items: e.selectedOptions,
|
|
932
918
|
"is-option-disabled": e.isOptionDisabled,
|
|
@@ -943,17 +929,17 @@ function Lt(e, t, v, p, n, b) {
|
|
|
943
929
|
}, {
|
|
944
930
|
[w(e.BentoListboxEvent.ENTER)]: t[3] || (t[3] = (s) => e.toggleCheckboxSelection(e.BentoListboxEvent.ENTER, s))
|
|
945
931
|
}), Q({ _: 2 }, [
|
|
946
|
-
|
|
932
|
+
W(e.slots, (s, f) => ({
|
|
947
933
|
name: f,
|
|
948
934
|
fn: C((m) => [
|
|
949
|
-
|
|
935
|
+
M(e.$slots, f, F(K(m)), void 0, !0)
|
|
950
936
|
])
|
|
951
937
|
}))
|
|
952
938
|
]), 1040, ["items", "is-option-disabled", "is-multi-level", "searching", "selected-items-list", "onSelectCategory", "onUnselectCategory"])
|
|
953
939
|
])) : j("", !0),
|
|
954
|
-
X(
|
|
955
|
-
|
|
956
|
-
|
|
940
|
+
X(B("div", null, [
|
|
941
|
+
ht,
|
|
942
|
+
L(r, U({
|
|
957
943
|
ref: "listboxItemsRef",
|
|
958
944
|
items: e.items,
|
|
959
945
|
"is-option-disabled": e.isOptionDisabled,
|
|
@@ -970,36 +956,36 @@ function Lt(e, t, v, p, n, b) {
|
|
|
970
956
|
}, {
|
|
971
957
|
[w(e.BentoListboxEvent.ENTER)]: t[7] || (t[7] = (s) => e.toggleCheckboxSelection(e.BentoListboxEvent.ENTER, s))
|
|
972
958
|
}), Q({ _: 2 }, [
|
|
973
|
-
|
|
959
|
+
W(e.slots, (s, f) => ({
|
|
974
960
|
name: f,
|
|
975
961
|
fn: C((m) => [
|
|
976
|
-
|
|
962
|
+
M(e.$slots, f, F(K(m)), void 0, !0)
|
|
977
963
|
])
|
|
978
964
|
}))
|
|
979
965
|
]), 1040, ["items", "is-option-disabled", "is-multi-level", "searching", "selected-items-list", "onSelectCategory", "onUnselectCategory"])
|
|
980
966
|
], 512), [
|
|
981
|
-
[
|
|
967
|
+
[ae, !e.isAllItemsIncludingDisabled]
|
|
982
968
|
])
|
|
983
969
|
], 16)), [
|
|
984
|
-
[
|
|
970
|
+
[y]
|
|
985
971
|
]);
|
|
986
972
|
}
|
|
987
|
-
const
|
|
973
|
+
const pe = /* @__PURE__ */ H(St, [["render", Tt], ["__scopeId", "data-v-8c62bb32"]]), ge = {
|
|
988
974
|
"en-US": {
|
|
989
975
|
showMore: "Show more",
|
|
990
976
|
loading: "Loading"
|
|
991
977
|
}
|
|
992
|
-
},
|
|
978
|
+
}, Lt = z({
|
|
993
979
|
name: "bento-listbox",
|
|
994
980
|
components: {
|
|
995
|
-
BentoListboxSingleSelect:
|
|
996
|
-
BentoListboxMultiSelect:
|
|
981
|
+
BentoListboxSingleSelect: rt,
|
|
982
|
+
BentoListboxMultiSelect: pe,
|
|
997
983
|
BentoTypography: ee,
|
|
998
|
-
BentoLoadingIndicator:
|
|
999
|
-
BentoLoadingButton:
|
|
984
|
+
BentoLoadingIndicator: Ke,
|
|
985
|
+
BentoLoadingButton: ze
|
|
1000
986
|
},
|
|
1001
|
-
directives: { BentoKeyboardNavigationDirective:
|
|
1002
|
-
i18n: { messages:
|
|
987
|
+
directives: { BentoKeyboardNavigationDirective: re },
|
|
988
|
+
i18n: { messages: ge },
|
|
1003
989
|
props: {
|
|
1004
990
|
/**
|
|
1005
991
|
* Defines a string value that labels an interactive element.
|
|
@@ -1048,8 +1034,8 @@ const ge = /* @__PURE__ */ W(_t, [["render", Lt], ["__scopeId", "data-v-35f1a677
|
|
|
1048
1034
|
*/
|
|
1049
1035
|
lazyLoadType: {
|
|
1050
1036
|
type: String,
|
|
1051
|
-
default:
|
|
1052
|
-
validator: (e) => Object.values(
|
|
1037
|
+
default: q.NONE,
|
|
1038
|
+
validator: (e) => Object.values(q).includes(e)
|
|
1053
1039
|
},
|
|
1054
1040
|
/**
|
|
1055
1041
|
* If enabled, the user will be able to select multiple items.
|
|
@@ -1065,7 +1051,7 @@ const ge = /* @__PURE__ */ W(_t, [["render", Lt], ["__scopeId", "data-v-35f1a677
|
|
|
1065
1051
|
*
|
|
1066
1052
|
* If enabled, hides the "Select all" checkbox in "multiple" mode.
|
|
1067
1053
|
*/
|
|
1068
|
-
searching:
|
|
1054
|
+
searching: pe.props.searching,
|
|
1069
1055
|
/**
|
|
1070
1056
|
* The `input` value.
|
|
1071
1057
|
* Providing an empty string or empty array will select no options.
|
|
@@ -1085,26 +1071,26 @@ const ge = /* @__PURE__ */ W(_t, [["render", Lt], ["__scopeId", "data-v-35f1a677
|
|
|
1085
1071
|
o.TAB
|
|
1086
1072
|
],
|
|
1087
1073
|
setup(e, { emit: t, slots: v }) {
|
|
1088
|
-
const { t: p } =
|
|
1089
|
-
() =>
|
|
1090
|
-
),
|
|
1091
|
-
() =>
|
|
1092
|
-
),
|
|
1093
|
-
() =>
|
|
1074
|
+
const { t: p } = ce({ messages: ge }), n = R(null), b = R([]), d = u(() => e.lazyLoadType !== q.AUTOMATIC), l = u(() => e.lazyLoadType === q.AUTOMATIC), i = u(
|
|
1075
|
+
() => d.value ? "true" : void 0
|
|
1076
|
+
), r = u(
|
|
1077
|
+
() => d.value && e.loading ? "true" : "false"
|
|
1078
|
+
), y = u(
|
|
1079
|
+
() => d.value ? "polite" : void 0
|
|
1094
1080
|
), s = (T) => (G) => {
|
|
1095
1081
|
t(T, G);
|
|
1096
1082
|
}, f = () => {
|
|
1097
1083
|
t(o.SHOW_MORE);
|
|
1098
|
-
}, m =
|
|
1084
|
+
}, m = Fe(() => {
|
|
1099
1085
|
const T = n.value, G = T.scrollTop + T.clientHeight >= T.scrollHeight;
|
|
1100
1086
|
e.hasMoreItems && G && !e.loading && f();
|
|
1101
|
-
}),
|
|
1087
|
+
}), A = u(() => {
|
|
1102
1088
|
var T;
|
|
1103
1089
|
return e.searching && ((T = e.items) == null ? void 0 : T.length) === 0;
|
|
1104
1090
|
}), V = u(
|
|
1105
|
-
() => e.lazyLoadType ===
|
|
1106
|
-
),
|
|
1107
|
-
() => e.loading ?
|
|
1091
|
+
() => e.lazyLoadType === q.BUTTON && e.hasMoreItems
|
|
1092
|
+
), P = u(
|
|
1093
|
+
() => e.loading ? be.LOADING : be.START
|
|
1108
1094
|
), _ = u(() => e.loading ? p("loading") : p("showMore")), k = {
|
|
1109
1095
|
[o.SELECT]: s(o.SELECT),
|
|
1110
1096
|
[o.SPACE]: s(o.SPACE),
|
|
@@ -1117,20 +1103,17 @@ const ge = /* @__PURE__ */ W(_t, [["render", Lt], ["__scopeId", "data-v-35f1a677
|
|
|
1117
1103
|
listboxItemRef: b,
|
|
1118
1104
|
// a11y
|
|
1119
1105
|
ariaAtomic: i,
|
|
1120
|
-
ariaBusy:
|
|
1121
|
-
ariaLive:
|
|
1106
|
+
ariaBusy: r,
|
|
1107
|
+
ariaLive: y,
|
|
1122
1108
|
// Values
|
|
1123
1109
|
hasAutomaticLazyLoader: l,
|
|
1124
|
-
isSearchResultEmpty:
|
|
1125
|
-
loadingButtonState:
|
|
1110
|
+
isSearchResultEmpty: A,
|
|
1111
|
+
loadingButtonState: P,
|
|
1126
1112
|
slots: v,
|
|
1127
1113
|
shouldDisplayShowMoreButton: V,
|
|
1128
1114
|
showMoreButtonText: _,
|
|
1129
1115
|
// Enums
|
|
1130
|
-
|
|
1131
|
-
BentoButtonVariant: ze,
|
|
1132
|
-
BentoListboxLazyLoadType: z,
|
|
1133
|
-
BentoKeyboardNavigationKeyDownEvent: D,
|
|
1116
|
+
BentoKeyboardNavigationKeyDownEvent: N,
|
|
1134
1117
|
BentoListboxEvent: o,
|
|
1135
1118
|
// Methods
|
|
1136
1119
|
onOptionSelected: s,
|
|
@@ -1140,19 +1123,19 @@ const ge = /* @__PURE__ */ W(_t, [["render", Lt], ["__scopeId", "data-v-35f1a677
|
|
|
1140
1123
|
};
|
|
1141
1124
|
}
|
|
1142
1125
|
});
|
|
1143
|
-
const
|
|
1126
|
+
const Ot = ["id", "aria-busy", "aria-atomic", "aria-label", "aria-live"], At = {
|
|
1144
1127
|
key: 0,
|
|
1145
1128
|
class: "b-listbox__empty-search-message"
|
|
1146
|
-
},
|
|
1129
|
+
}, It = {
|
|
1147
1130
|
key: 2,
|
|
1148
1131
|
class: "b-listbox__lazy-load"
|
|
1149
|
-
},
|
|
1132
|
+
}, $t = {
|
|
1150
1133
|
key: 3,
|
|
1151
1134
|
class: "b-listbox__lazy-load"
|
|
1152
1135
|
};
|
|
1153
|
-
function
|
|
1154
|
-
const
|
|
1155
|
-
return X((g(),
|
|
1136
|
+
function Bt(e, t, v, p, n, b) {
|
|
1137
|
+
const d = S("bento-typography"), l = S("bento-listbox-multi-select"), i = S("bento-listbox-single-select"), r = S("bento-loading-button"), y = S("bento-loading-indicator"), s = de("bento-keyboard-navigation-directive");
|
|
1138
|
+
return X((g(), O("div", {
|
|
1156
1139
|
id: e.id,
|
|
1157
1140
|
ref: "listboxRef",
|
|
1158
1141
|
class: "b-listbox",
|
|
@@ -1164,16 +1147,14 @@ function Rt(e, t, v, p, n, b) {
|
|
|
1164
1147
|
"aria-live": e.ariaLive,
|
|
1165
1148
|
onScroll: t[0] || (t[0] = () => e.hasAutomaticLazyLoader ? e.emitShowMoreOnScrollEnd() : void 0)
|
|
1166
1149
|
}, [
|
|
1167
|
-
e.isSearchResultEmpty ? (g(),
|
|
1168
|
-
|
|
1169
|
-
el: e.BentoTypographyElement.SPAN
|
|
1170
|
-
}, {
|
|
1150
|
+
e.isSearchResultEmpty ? (g(), O("div", At, [
|
|
1151
|
+
L(d, { el: "span" }, {
|
|
1171
1152
|
default: C(() => [
|
|
1172
|
-
|
|
1153
|
+
D($(e.noResultsMessage), 1)
|
|
1173
1154
|
]),
|
|
1174
1155
|
_: 1
|
|
1175
|
-
}
|
|
1176
|
-
])) : (g(),
|
|
1156
|
+
})
|
|
1157
|
+
])) : (g(), O(te, { key: 1 }, [
|
|
1177
1158
|
e.multiple ? (g(), I(l, U({
|
|
1178
1159
|
key: 0,
|
|
1179
1160
|
ref: "listboxItemRef",
|
|
@@ -1182,10 +1163,10 @@ function Rt(e, t, v, p, n, b) {
|
|
|
1182
1163
|
searching: e.searching,
|
|
1183
1164
|
"is-option-disabled": e.isOptionDisabled
|
|
1184
1165
|
}, J(e.listboxListeners)), Q({ _: 2 }, [
|
|
1185
|
-
|
|
1166
|
+
W(e.slots, (f, m) => ({
|
|
1186
1167
|
name: m,
|
|
1187
|
-
fn: C((
|
|
1188
|
-
|
|
1168
|
+
fn: C((A) => [
|
|
1169
|
+
M(e.$slots, m, F(K(A)), void 0, !0)
|
|
1189
1170
|
])
|
|
1190
1171
|
}))
|
|
1191
1172
|
]), 1040, ["items", "selected-values", "searching", "is-option-disabled"])) : (g(), I(i, U({
|
|
@@ -1195,37 +1176,37 @@ function Rt(e, t, v, p, n, b) {
|
|
|
1195
1176
|
"selected-value": e.selectedValue,
|
|
1196
1177
|
"is-option-disabled": e.isOptionDisabled
|
|
1197
1178
|
}, J(e.listboxListeners)), Q({ _: 2 }, [
|
|
1198
|
-
|
|
1179
|
+
W(e.slots, (f, m) => ({
|
|
1199
1180
|
name: m,
|
|
1200
|
-
fn: C((
|
|
1201
|
-
|
|
1181
|
+
fn: C((A) => [
|
|
1182
|
+
M(e.$slots, m, F(K(A)), void 0, !0)
|
|
1202
1183
|
])
|
|
1203
1184
|
}))
|
|
1204
1185
|
]), 1040, ["items", "selected-value", "is-option-disabled"])),
|
|
1205
|
-
e.shouldDisplayShowMoreButton ? (g(),
|
|
1206
|
-
|
|
1186
|
+
e.shouldDisplayShowMoreButton ? (g(), O("div", It, [
|
|
1187
|
+
L(r, {
|
|
1207
1188
|
state: e.loadingButtonState,
|
|
1208
|
-
variant:
|
|
1209
|
-
|
|
1189
|
+
variant: "secondary",
|
|
1190
|
+
onClickCapture: e.emitShowMore
|
|
1210
1191
|
}, {
|
|
1211
1192
|
default: C(() => [
|
|
1212
|
-
|
|
1193
|
+
D($(e.showMoreButtonText), 1)
|
|
1213
1194
|
]),
|
|
1214
1195
|
_: 1
|
|
1215
|
-
}, 8, ["state", "
|
|
1216
|
-
])) : e.loading ? (g(),
|
|
1217
|
-
|
|
1196
|
+
}, 8, ["state", "onClickCapture"])
|
|
1197
|
+
])) : e.loading ? (g(), O("div", $t, [
|
|
1198
|
+
L(y)
|
|
1218
1199
|
])) : j("", !0)
|
|
1219
1200
|
], 64))
|
|
1220
|
-
], 40,
|
|
1201
|
+
], 40, Ot)), [
|
|
1221
1202
|
[s]
|
|
1222
1203
|
]);
|
|
1223
1204
|
}
|
|
1224
|
-
const
|
|
1205
|
+
const Gt = /* @__PURE__ */ H(Lt, [["render", Bt], ["__scopeId", "data-v-336a01a3"]]);
|
|
1225
1206
|
export {
|
|
1226
|
-
|
|
1227
|
-
|
|
1207
|
+
Gt as B,
|
|
1208
|
+
tt as C,
|
|
1228
1209
|
o as a,
|
|
1229
|
-
|
|
1210
|
+
q as b
|
|
1230
1211
|
};
|
|
1231
|
-
//# sourceMappingURL=listbox.
|
|
1212
|
+
//# sourceMappingURL=listbox.6b52af1a.js.map
|