@adyen/bento-vue2 1.1.1 → 1.2.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.vue.d.ts +15 -11
- package/dist/@types/packages/vue2/src/components/avatar-image/avatar-image.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +14 -14
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/button/index.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +20 -16
- 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 +3 -3
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +13 -9
- package/dist/@types/packages/vue2/src/components/code-snippet/composables/useLanguage.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/country/composables/useCountryCapital/useCountryCapital.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/country/composables/useCountryName/useCountryName.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/country/composables/useCountryPhoneCode/useCountryPhoneCode.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +9 -7
- package/dist/@types/packages/vue2/src/components/currency/currency.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +3 -3
- 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 +4 -4
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useColumnReorderer/useColumnReorderer.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useConfigSettings/useConfigSettings.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +7 -5
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +10 -10
- package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +13 -13
- package/dist/@types/packages/vue2/src/components/date-range-picker/composables/use-date-range-picker-calendar-text.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +10 -10
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +2 -2
- 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/useDropdownOptionsListbox.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +87 -85
- 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-avatar/dropdown-avatar.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +18 -16
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/composables/useCountryItems.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +22 -20
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +17 -15
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +17 -15
- 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/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +8 -6
- package/dist/@types/packages/vue2/src/components/dropdown/composables/useDisplayValue.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/composables/useDropdownSearchFilter.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +14 -12
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +26 -26
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/base-filter.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter-button/base-filter-button.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/range-filter.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-avatar-filter/select-avatar-filter.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-payment-method-filter/select-payment-method-filter.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +10 -10
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/info-icon/info-icon.vue.d.ts +8 -6
- package/dist/@types/packages/vue2/src/components/input-field/input-field.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +23 -15
- package/dist/@types/packages/vue2/src/components/internal/avatar/avatar.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/base-button/base-button.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.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/copy/copy.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/internal/footer-actions/footer-actions.vue.d.ts +1 -1
- 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 +2 -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 +2 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option/listbox-option.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select-option/listbox-single-select-option.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +11 -9
- package/dist/@types/packages/vue2/src/components/link/index.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/__mocks__/base-modal.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +4 -4
- 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 +7 -7
- package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +24 -16
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-context/pagination-context.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-controls/pagination-controls.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-results-per-page/pagination-results-per-page.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/payment-method/composables/usePaymentIcon.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +6 -4
- package/dist/@types/packages/vue2/src/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/popover/components/popover-title/popover-title.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +12 -12
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.utils.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/search-bar/search-bar.vue.d.ts +62 -46
- package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/status/status.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +38 -30
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +16 -10
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +16 -10
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +16 -10
- package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/tag/tag.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +8 -6
- package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +20 -20
- package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/toast/components/toast-item/toast-item.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/toggle/toggle.types.d.ts +4 -0
- package/dist/@types/packages/vue2/src/components/toggle/toggle.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +25 -25
- package/dist/@types/packages/vue2/src/components/typography/typography.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/composables/initials.d.ts +1 -1
- package/dist/@types/packages/vue2/src/composables/use-checkbox-select-all/use-checkbox-select-all.d.ts +2 -2
- package/dist/@types/packages/vue2/src/composables/useDynamicImport.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/click-outside/on-click-outside.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/click-outside/types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/click-outside/useEventListener/index.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/click-outside/utils.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/tooltip/tooltip.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/plugins/toastController.d.ts +1 -1
- package/dist/@types/packages/vue2/src/types/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/types/listbox.d.ts +1 -1
- package/dist/@types/packages/vue2/src/utils/ts/aria-label.d.ts +1 -1
- package/dist/@types/packages/vue2/src/utils/ts/events.d.ts +1 -1
- package/dist/@types/packages/vue2/src/utils/ts/focus-trap.utils.d.ts +1 -1
- package/dist/accordion.js +1 -1
- package/dist/alert.js +34 -32
- package/dist/alert.js.map +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/dropdown.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/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/listbox.css +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/button.js +3 -3
- package/dist/card.js +33 -31
- package/dist/card.js.map +1 -1
- package/dist/checkbox.js +10 -10
- package/dist/checkbox.js.map +1 -1
- package/dist/chunks/{base-button.16e8bb2c.js → base-button.d4487ac9.js} +2 -2
- package/dist/chunks/{base-button.16e8bb2c.js.map → base-button.d4487ac9.js.map} +1 -1
- package/dist/chunks/{button-actions.bcaea94e.js → button-actions.cf73ed47.js} +10 -10
- package/dist/chunks/{button-actions.bcaea94e.js.map → button-actions.cf73ed47.js.map} +1 -1
- package/dist/chunks/{button.34695c2c.js → button.c27a7ce2.js} +11 -11
- package/dist/chunks/button.c27a7ce2.js.map +1 -0
- package/dist/chunks/{calendar.a32d5783.js → calendar.8f50a65a.js} +4 -4
- package/dist/chunks/{calendar.a32d5783.js.map → calendar.8f50a65a.js.map} +1 -1
- package/dist/chunks/{checkbox.5d8f5768.js → checkbox.c06daf12.js} +3 -3
- package/dist/chunks/{checkbox.5d8f5768.js.map → checkbox.c06daf12.js.map} +1 -1
- package/dist/chunks/{controls-group.e607b021.js → controls-group.9d58a091.js} +2 -2
- package/dist/chunks/{controls-group.e607b021.js.map → controls-group.9d58a091.js.map} +1 -1
- package/dist/chunks/{copy.f49481e9.js → copy.b62beae5.js} +3 -3
- package/dist/chunks/{copy.f49481e9.js.map → copy.b62beae5.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.b7a68bb4.js → dropdown-default-textbox.a5eca928.js} +2 -2
- package/dist/chunks/{dropdown-default-textbox.b7a68bb4.js.map → dropdown-default-textbox.a5eca928.js.map} +1 -1
- package/dist/chunks/{dropdown.0c80d6c1.js → dropdown.368486b1.js} +65 -63
- package/dist/chunks/dropdown.368486b1.js.map +1 -0
- package/dist/chunks/{error-message.fa27bee9.js → error-message.a581a172.js} +2 -2
- package/dist/chunks/{error-message.fa27bee9.js.map → error-message.a581a172.js.map} +1 -1
- package/dist/chunks/{index.2066e16f.js → index.175f9e2d.js} +3 -3
- package/dist/chunks/index.175f9e2d.js.map +1 -0
- package/dist/chunks/{index.16f60189.js → index.3b6fc08a.js} +6 -6
- package/dist/chunks/{index.16f60189.js.map → index.3b6fc08a.js.map} +1 -1
- package/dist/chunks/{index.36bd0bb1.js → index.3dfea3bd.js} +3 -3
- package/dist/chunks/{index.36bd0bb1.js.map → index.3dfea3bd.js.map} +1 -1
- package/dist/chunks/{index.695c11ef.js → index.ad39b625.js} +2 -2
- package/dist/chunks/{index.695c11ef.js.map → index.ad39b625.js.map} +1 -1
- package/dist/chunks/{index.875ba379.js → index.d07f9800.js} +33 -32
- package/dist/chunks/{index.875ba379.js.map → index.d07f9800.js.map} +1 -1
- package/dist/chunks/{index.ec1c7120.js → index.f0d99471.js} +20 -20
- package/dist/chunks/{index.ec1c7120.js.map → index.f0d99471.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.ac8eae9a.js → listbox-option-tag.c7e9a228.js} +3 -3
- package/dist/chunks/{listbox-option-tag.ac8eae9a.js.map → listbox-option-tag.c7e9a228.js.map} +1 -1
- package/dist/chunks/{listbox.4ea4114c.js → listbox.f51e92cd.js} +28 -27
- package/dist/chunks/{listbox.4ea4114c.js.map → listbox.f51e92cd.js.map} +1 -1
- package/dist/chunks/{loading-button.3fa1b7a8.js → loading-button.6d34f66f.js} +2 -2
- package/dist/chunks/{loading-button.3fa1b7a8.js.map → loading-button.6d34f66f.js.map} +1 -1
- package/dist/chunks/{tooltip.807205c0.js → tooltip.9af34fba.js} +2 -2
- package/dist/chunks/{tooltip.807205c0.js.map → tooltip.9af34fba.js.map} +1 -1
- package/dist/chunks/useCountryItems.5d7b436e.js.map +1 -1
- package/dist/code-snippet.js +132 -130
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +17 -16
- package/dist/country.js.map +1 -1
- package/dist/currency.js +1 -1
- package/dist/currency.js.map +1 -1
- package/dist/data-grid.js +112 -112
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +21 -21
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +3 -3
- package/dist/dropdown.js.map +1 -1
- package/dist/filter-bar.js +13 -13
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/header.js +30 -30
- package/dist/header.js.map +1 -1
- package/dist/index.js +147 -147
- package/dist/info-icon.js +13 -12
- package/dist/info-icon.js.map +1 -1
- package/dist/input-field.js +44 -40
- package/dist/input-field.js.map +1 -1
- package/dist/internal.js +6 -6
- package/dist/link.js +12 -12
- package/dist/link.js.map +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +5 -5
- package/dist/menu.js.map +1 -1
- package/dist/modal.js +85 -81
- package/dist/modal.js.map +1 -1
- package/dist/pagination.js +4 -4
- package/dist/payment-method.js +12 -11
- package/dist/payment-method.js.map +1 -1
- package/dist/popover.js +5 -5
- package/dist/popover.js.map +1 -1
- package/dist/popper-container.js +14 -14
- package/dist/popper-container.js.map +1 -1
- package/dist/radio-group.js +14 -14
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/segmented-control.js +4 -4
- package/dist/status.js +9 -9
- package/dist/status.js.map +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +101 -88
- package/dist/summary-grid.js.map +1 -1
- package/dist/tabs.js +2 -2
- package/dist/tag.js +13 -13
- package/dist/tag.js.map +1 -1
- package/dist/textarea.js +27 -23
- package/dist/textarea.js.map +1 -1
- package/dist/timeline.js +6 -6
- package/dist/timeline.js.map +1 -1
- package/dist/toast.js +3 -3
- package/dist/toggle.js +117 -2
- package/dist/toggle.js.map +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +59 -59
- package/package.json +3 -2
- package/dist/@types/packages/vue2/src/types/label-position.d.ts +0 -4
- package/dist/chunks/button.34695c2c.js.map +0 -1
- package/dist/chunks/dropdown.0c80d6c1.js.map +0 -1
- package/dist/chunks/index.2066e16f.js.map +0 -1
- package/dist/chunks/index.f55a6913.js +0 -121
- package/dist/chunks/index.f55a6913.js.map +0 -1
package/dist/data-grid.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { ref as O, onMounted as Ce, nextTick as z, watch as ve, onUnmounted as me, reactive as K, toRefs as ee, computed as E, watchEffect as et, defineComponent as X, toRef as be } from "vue";
|
|
2
2
|
import { o as pe } from "./chunks/resize.a041304d.js";
|
|
3
3
|
import { u as tt } from "./chunks/aria-label.ac9651a5.js";
|
|
4
|
-
import { B as he } from "./chunks/checkbox.
|
|
4
|
+
import { B as he } from "./chunks/checkbox.c06daf12.js";
|
|
5
5
|
import { BentoPagination as nt } from "./pagination.js";
|
|
6
6
|
import { BentoLoadingIndicator as st } from "./loading-indicator.js";
|
|
7
|
-
import { B as te, a as q, b as ne } from "./chunks/index.
|
|
7
|
+
import { B as te, a as q, b as ne } from "./chunks/index.175f9e2d.js";
|
|
8
8
|
import { g as it } from "./chunks/get-slot-text.e5c766d0.js";
|
|
9
9
|
import { u as Se } from "./chunks/i18n.155748d6.js";
|
|
10
10
|
import { BentoFilterBar as J } from "./filter-bar.js";
|
|
11
11
|
import { BentoInfoIcon as lt } from "./info-icon.js";
|
|
12
12
|
import { BentoMenu as ot } from "./menu.js";
|
|
13
13
|
import { BentoPopoverPositions as Le, BentoPopover as at } from "./popover.js";
|
|
14
|
-
import { a as ye, B as rt } from "./chunks/button.
|
|
15
|
-
import { K as D } from "./chunks/tooltip.
|
|
14
|
+
import { a as ye, B as rt } from "./chunks/button.c27a7ce2.js";
|
|
15
|
+
import { K as D } from "./chunks/tooltip.9af34fba.js";
|
|
16
16
|
import { n as U } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
17
17
|
import { l as le } from "./chunks/events.58c00e6d.js";
|
|
18
|
-
import {
|
|
18
|
+
import { BentoToggle as Ee, BentoToggleLabelPosition as Re } from "./toggle.js";
|
|
19
19
|
import { BentoSearchBar as dt } from "./search-bar.js";
|
|
20
|
-
import { u as ct } from "./chunks/dropdown.
|
|
20
|
+
import { u as ct } from "./chunks/dropdown.368486b1.js";
|
|
21
21
|
import { C as ut } from "./chunks/cross.a2cadac5.js";
|
|
22
|
-
import { S as
|
|
23
|
-
import { g as
|
|
22
|
+
import { S as gt } from "./chunks/search.a8055e95.js";
|
|
23
|
+
import { g as _t } from "./chunks/unique-id.a2a2b458.js";
|
|
24
24
|
import { B as ft } from "./chunks/directive.0408e565.js";
|
|
25
|
-
import "./assets/
|
|
25
|
+
import "./assets/index24.css";
|
|
26
26
|
const Ct = ({
|
|
27
27
|
paginationRef: t,
|
|
28
28
|
fitContent: e
|
|
@@ -54,15 +54,15 @@ const vt = (t, e) => {
|
|
|
54
54
|
() => Object.fromEntries(t.value.map(({ field: b, width: R, minWidth: L }) => [b, { width: R, minWidth: L }]))
|
|
55
55
|
);
|
|
56
56
|
et(() => s.value = d.value);
|
|
57
|
-
let
|
|
57
|
+
let g = null, r = null;
|
|
58
58
|
const h = (b) => {
|
|
59
|
-
const R = b.clientX - C, L = v,
|
|
60
|
-
s.value[L].width =
|
|
59
|
+
const R = b.clientX - C, L = v, I = s.value[L].width + R;
|
|
60
|
+
s.value[L].width = I > s.value[L].minWidth ? I : s.value[L].minWidth, e(y.COLUMN_RESIZING, s.value), C = b.clientX;
|
|
61
61
|
}, l = () => {
|
|
62
|
-
n.value = !1,
|
|
62
|
+
n.value = !1, g == null || g(), r == null || r(), v && e(y.COLUMN_RESIZE, {
|
|
63
63
|
field: v,
|
|
64
64
|
width: s.value[v].width
|
|
65
|
-
}),
|
|
65
|
+
}), g = null, r = null, v = "", C = null;
|
|
66
66
|
};
|
|
67
67
|
return { resizeData: s, allColumnRefs: f, startResize: (b, R, L) => {
|
|
68
68
|
if (L.preventDefault(), b) {
|
|
@@ -70,7 +70,7 @@ const vt = (t, e) => {
|
|
|
70
70
|
l();
|
|
71
71
|
return;
|
|
72
72
|
}
|
|
73
|
-
v = R, C = L.clientX,
|
|
73
|
+
v = R, C = L.clientX, g = le(window, "mousemove", h), r = le(window, "mouseup", l);
|
|
74
74
|
}
|
|
75
75
|
}, isResizing: n };
|
|
76
76
|
}, mt = vt, bt = 100, oe = 50, G = "b-select", pt = (t, e, n) => {
|
|
@@ -82,7 +82,7 @@ const vt = (t, e) => {
|
|
|
82
82
|
if (u.length === n.length)
|
|
83
83
|
return;
|
|
84
84
|
const C = { min: {}, max: {} };
|
|
85
|
-
let v = t, d = e,
|
|
85
|
+
let v = t, d = e, g = 0;
|
|
86
86
|
u.forEach((r) => {
|
|
87
87
|
v -= s[r].computedWidth, d -= s[r].flex;
|
|
88
88
|
});
|
|
@@ -91,13 +91,13 @@ const vt = (t, e) => {
|
|
|
91
91
|
if (s[l.field] && s[l.field].frozen === !0)
|
|
92
92
|
continue;
|
|
93
93
|
let b = v / d * l.flex;
|
|
94
|
-
b < l.minWidth && (
|
|
94
|
+
b < l.minWidth && (g += l.minWidth - b, b = l.minWidth, C.min[l.field] = !0), s[l.field] = {
|
|
95
95
|
frozen: !1,
|
|
96
96
|
computedWidth: b,
|
|
97
97
|
flex: l.flex
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
|
-
|
|
100
|
+
g > 0 ? Object.keys(C.min).forEach((r) => {
|
|
101
101
|
o(r);
|
|
102
102
|
}) : n.forEach(({ field: r }) => {
|
|
103
103
|
o(r);
|
|
@@ -130,15 +130,15 @@ const vt = (t, e) => {
|
|
|
130
130
|
let L = s.value.filter((i) => i.visible !== !1);
|
|
131
131
|
n != null && n.hasSelectableColumn.value && (L = [{ field: G, label: "", width: 40 }, ...L]), L.forEach((i) => {
|
|
132
132
|
const c = { ...i };
|
|
133
|
-
let
|
|
134
|
-
c.flex && c.flex > 0 ? (m += c.flex,
|
|
133
|
+
let A;
|
|
134
|
+
c.flex && c.flex > 0 ? (m += c.flex, A = 0, l.push(c)) : A = Math.max(
|
|
135
135
|
(c == null ? void 0 : c.width) ?? bt,
|
|
136
136
|
(c == null ? void 0 : c.minWidth) ?? oe
|
|
137
|
-
), b +=
|
|
137
|
+
), b += A, c.width = A, c.minWidth = (c == null ? void 0 : c.minWidth) ?? oe, R[c.field] = c;
|
|
138
138
|
});
|
|
139
|
-
const
|
|
139
|
+
const I = Math.max(o.value - b, 0);
|
|
140
140
|
if (m > 0 && o.value > 0) {
|
|
141
|
-
const i = pt(
|
|
141
|
+
const i = pt(I, m, l);
|
|
142
142
|
Object.keys(i).forEach((c) => {
|
|
143
143
|
R[c].width = i[c].computedWidth;
|
|
144
144
|
});
|
|
@@ -146,7 +146,7 @@ const vt = (t, e) => {
|
|
|
146
146
|
return Object.values(R);
|
|
147
147
|
}), v = O(void 0), d = (l) => {
|
|
148
148
|
v.value = { ...v.value, ...l };
|
|
149
|
-
},
|
|
149
|
+
}, g = E(
|
|
150
150
|
() => C.value.map((l) => {
|
|
151
151
|
var m, b;
|
|
152
152
|
return {
|
|
@@ -155,10 +155,10 @@ const vt = (t, e) => {
|
|
|
155
155
|
width: ((b = (m = v.value) == null ? void 0 : m[l.field]) == null ? void 0 : b.width) ?? l.width
|
|
156
156
|
};
|
|
157
157
|
})
|
|
158
|
-
), r = E(() =>
|
|
158
|
+
), r = E(() => g.value.reduce((l, m) => m.width + l, 0)), h = E(() => ({
|
|
159
159
|
width: o.value > r.value ? "100%" : "fit-content"
|
|
160
160
|
}));
|
|
161
|
-
return { columnDefs:
|
|
161
|
+
return { columnDefs: g, gridColumnWidthStyle: h, onColumnWidthOverride: d };
|
|
162
162
|
}, St = ht, Lt = (t, e, n) => ({ conditionalSortDirectionClasses: (o, f) => ({
|
|
163
163
|
"b-data-grid-columns__column-sort-icon--sorted": t.value.some(
|
|
164
164
|
(C) => C.field === o && C.direction === f
|
|
@@ -178,15 +178,15 @@ const vt = (t, e) => {
|
|
|
178
178
|
isIndeterminate: !1
|
|
179
179
|
}), C = () => {
|
|
180
180
|
e(p.SELECT, o.value), e(p.UPDATE_SELECTION, o.value);
|
|
181
|
-
}, v = (
|
|
181
|
+
}, v = (g) => {
|
|
182
182
|
z(() => {
|
|
183
183
|
var r, h;
|
|
184
|
-
|
|
184
|
+
g ? o.value = (h = (r = n.value) == null ? void 0 : r.filter((l) => !u(l))) == null ? void 0 : h.map((l) => s(l)) : o.value = [], f.allItemsSelected = g, f.isIndeterminate = !1, C();
|
|
185
185
|
});
|
|
186
|
-
}, d = (
|
|
186
|
+
}, d = (g) => {
|
|
187
187
|
z(() => {
|
|
188
188
|
var h;
|
|
189
|
-
o.value =
|
|
189
|
+
o.value = g;
|
|
190
190
|
const r = (h = n.value) == null ? void 0 : h.filter((l) => !u(l)).every((l) => o.value.includes(s(l)));
|
|
191
191
|
f.isIndeterminate = o.value.length > 0 && !r, r ? f.allItemsSelected = !0 : (f.isIndeterminate || !r) && (f.allItemsSelected = !1), C();
|
|
192
192
|
});
|
|
@@ -195,36 +195,36 @@ const vt = (t, e) => {
|
|
|
195
195
|
};
|
|
196
196
|
var w = ((t) => (t[t.ARROW_DOWN = D.ARROW_DOWN] = "ARROW_DOWN", t[t.ARROW_UP = D.ARROW_UP] = "ARROW_UP", t[t.ARROW_LEFT = D.ARROW_LEFT] = "ARROW_LEFT", t[t.ARROW_RIGHT = D.ARROW_RIGHT] = "ARROW_RIGHT", t[t.PAGE_UP = D.PAGE_UP] = "PAGE_UP", t[t.PAGE_DOWN = D.PAGE_DOWN] = "PAGE_DOWN", t[t.END = D.END] = "END", t[t.HOME = D.HOME] = "HOME", t))(w || {});
|
|
197
197
|
const Et = (t, e) => {
|
|
198
|
-
const n = (d) => Math.floor(d / e.value), s = (d,
|
|
198
|
+
const n = (d) => Math.floor(d / e.value), s = (d, g, r) => {
|
|
199
199
|
const h = t.value.length - 1, l = e.value - 1, m = n(d), b = d - e.value * m;
|
|
200
200
|
return {
|
|
201
201
|
[w.PAGE_UP]: b,
|
|
202
202
|
[w.PAGE_DOWN]: h - l + b,
|
|
203
203
|
[w.END]: r ? h : e.value * m + l,
|
|
204
204
|
[w.HOME]: r ? 0 : e.value * m
|
|
205
|
-
}[
|
|
206
|
-
}, u = (d,
|
|
205
|
+
}[g];
|
|
206
|
+
}, u = (d, g) => {
|
|
207
207
|
const h = {
|
|
208
208
|
[w.ARROW_DOWN]: e.value,
|
|
209
209
|
[w.ARROW_UP]: -e.value,
|
|
210
210
|
[w.ARROW_LEFT]: -1,
|
|
211
211
|
[w.ARROW_RIGHT]: 1
|
|
212
|
-
}[
|
|
212
|
+
}[g], l = d + h;
|
|
213
213
|
return l < 0 || l >= t.value.length ? d : l;
|
|
214
214
|
}, o = (d) => [
|
|
215
215
|
w.PAGE_UP,
|
|
216
216
|
w.PAGE_DOWN,
|
|
217
217
|
w.END,
|
|
218
218
|
w.HOME
|
|
219
|
-
].includes(d), f = (d,
|
|
219
|
+
].includes(d), f = (d, g, r) => {
|
|
220
220
|
const h = t.value.indexOf(d);
|
|
221
|
-
return o(
|
|
221
|
+
return o(g) ? s(h, g, r) : u(h, g);
|
|
222
222
|
};
|
|
223
223
|
return {
|
|
224
|
-
focusOnNextGridcell: (d,
|
|
224
|
+
focusOnNextGridcell: (d, g, r) => {
|
|
225
225
|
if (!t.value.includes(d))
|
|
226
226
|
return;
|
|
227
|
-
const h = f(d,
|
|
227
|
+
const h = f(d, g, r);
|
|
228
228
|
t.value[h].focus();
|
|
229
229
|
},
|
|
230
230
|
isNavigationKeyCode: (d) => d in w
|
|
@@ -235,7 +235,7 @@ const Et = (t, e) => {
|
|
|
235
235
|
dragToLeft: null,
|
|
236
236
|
target: null
|
|
237
237
|
}), f = (l, m = 0) => {
|
|
238
|
-
const b = s.value.findIndex((
|
|
238
|
+
const b = s.value.findIndex((I) => I.field === l.field), R = b + m;
|
|
239
239
|
if (R < 0 || R > s.value.length - 1)
|
|
240
240
|
return;
|
|
241
241
|
const L = [...s.value];
|
|
@@ -249,32 +249,32 @@ const Et = (t, e) => {
|
|
|
249
249
|
}, d = (l) => {
|
|
250
250
|
var m, b;
|
|
251
251
|
if (((m = o.dragging) == null ? void 0 : m.field) !== l.field) {
|
|
252
|
-
const R = s.value.findIndex((
|
|
252
|
+
const R = s.value.findIndex((_) => {
|
|
253
253
|
var S;
|
|
254
|
-
return
|
|
255
|
-
}), L = s.value.findIndex((
|
|
254
|
+
return _.field === ((S = o.dragging) == null ? void 0 : S.field);
|
|
255
|
+
}), L = s.value.findIndex((_) => _.field === l.field), I = o.dragToLeft ? L : L + 1, i = I > R ? I - 1 : I;
|
|
256
256
|
let c = [...s.value];
|
|
257
257
|
c.splice(
|
|
258
258
|
i === -1 ? 0 : i,
|
|
259
259
|
0,
|
|
260
260
|
c.splice(R, 1)[0]
|
|
261
261
|
);
|
|
262
|
-
const
|
|
263
|
-
((b = o.dragging) == null ? void 0 : b.frozen) !== l.frozen &&
|
|
264
|
-
(
|
|
262
|
+
const A = s.value.findIndex((_) => !(_ != null && _.frozen));
|
|
263
|
+
((b = o.dragging) == null ? void 0 : b.frozen) !== l.frozen && I !== A && (c = c.map(
|
|
264
|
+
(_) => {
|
|
265
265
|
var S;
|
|
266
|
-
return ((S = o.dragging) == null ? void 0 : S.field) ===
|
|
266
|
+
return ((S = o.dragging) == null ? void 0 : S.field) === _.field ? { ..._, frozen: !!(l != null && l.frozen) } : _;
|
|
267
267
|
}
|
|
268
268
|
)), n(p.COLUMNS, c), n(p.UPDATE_COLUMNS, c);
|
|
269
269
|
}
|
|
270
270
|
o.dragging = null, o.target = null;
|
|
271
|
-
},
|
|
271
|
+
}, g = () => {
|
|
272
272
|
o.dragging = null, o.dragToLeft = null, o.target = null;
|
|
273
273
|
}, r = E(() => u.value ? {
|
|
274
274
|
[y.COLUMN_DRAG_START]: (l, m) => C(l, m),
|
|
275
275
|
[y.COLUMN_DRAG_ENTER]: (l, m) => v(l, m),
|
|
276
276
|
[y.COLUMN_DROP]: (l) => d(l),
|
|
277
|
-
[y.COLUMN_DRAG_END]: () =>
|
|
277
|
+
[y.COLUMN_DRAG_END]: () => g()
|
|
278
278
|
} : {}), h = E(() => (l) => u.value ? {
|
|
279
279
|
dragenter: (m) => {
|
|
280
280
|
m.preventDefault(), v(l, m);
|
|
@@ -329,13 +329,13 @@ const Ot = {
|
|
|
329
329
|
this.uuid = ae.toString(), ae += 1;
|
|
330
330
|
}
|
|
331
331
|
};
|
|
332
|
-
var
|
|
332
|
+
var It = function() {
|
|
333
333
|
var e = this, n = e._self._c;
|
|
334
334
|
return n("svg", e._b({ attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? n("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), n("path", { attrs: { fill: "#00112C", "fill-rule": "evenodd", d: "M11 10.75C11.2841 10.75 11.5438 10.5895 11.6708 10.3354C11.7979 10.0813 11.7705 9.77726 11.6 9.55L8.6 5.55C8.45836 5.36115 8.23607 5.25 8.00001 5.25C7.76394 5.25 7.54165 5.36115 7.40001 5.55L4.4 9.55C4.22956 9.77726 4.20214 10.0813 4.32918 10.3354C4.45623 10.5895 4.71593 10.75 5 10.75L11 10.75Z", "clip-rule": "evenodd" } })]);
|
|
335
|
-
},
|
|
335
|
+
}, At = [], Nt = /* @__PURE__ */ U(
|
|
336
336
|
Ot,
|
|
337
|
-
At,
|
|
338
337
|
It,
|
|
338
|
+
At,
|
|
339
339
|
!1,
|
|
340
340
|
null,
|
|
341
341
|
"4ebc0033",
|
|
@@ -423,10 +423,10 @@ var jt = function() {
|
|
|
423
423
|
null
|
|
424
424
|
);
|
|
425
425
|
const Te = qt.exports;
|
|
426
|
-
let
|
|
426
|
+
let ge = 0;
|
|
427
427
|
const Jt = {
|
|
428
428
|
beforeCreate() {
|
|
429
|
-
this.uuid =
|
|
429
|
+
this.uuid = ge.toString(), ge += 1;
|
|
430
430
|
}
|
|
431
431
|
};
|
|
432
432
|
var Qt = function() {
|
|
@@ -443,10 +443,10 @@ var Qt = function() {
|
|
|
443
443
|
null
|
|
444
444
|
);
|
|
445
445
|
const tn = en.exports;
|
|
446
|
-
let
|
|
446
|
+
let _e = 0;
|
|
447
447
|
const nn = {
|
|
448
448
|
beforeCreate() {
|
|
449
|
-
this.uuid =
|
|
449
|
+
this.uuid = _e.toString(), _e += 1;
|
|
450
450
|
}
|
|
451
451
|
};
|
|
452
452
|
var sn = function() {
|
|
@@ -570,11 +570,11 @@ const an = on.exports, rn = {
|
|
|
570
570
|
y.COLUMN_MENU_CLOSE
|
|
571
571
|
],
|
|
572
572
|
setup(t, { emit: e }) {
|
|
573
|
-
const { t: n } = Se(), { columns: s, sortBy: u } = ee(t), o = O(t.allItemsSelectedState), f = (i) => e(y.SELECT_ALL_ROWS, i), C = (i) => i.field === G, { startResize: v, isResizing: d } = mt(s, e), { conditionalSortDirectionClasses:
|
|
574
|
-
var
|
|
573
|
+
const { t: n } = Se(), { columns: s, sortBy: u } = ee(t), o = O(t.allItemsSelectedState), f = (i) => e(y.SELECT_ALL_ROWS, i), C = (i) => i.field === G, { startResize: v, isResizing: d } = mt(s, e), { conditionalSortDirectionClasses: g, sortByColumnField: r } = Lt(u, s, e), h = (i) => {
|
|
574
|
+
var _;
|
|
575
575
|
if (!i.sortable)
|
|
576
576
|
return null;
|
|
577
|
-
const c = (
|
|
577
|
+
const c = (_ = t.sortBy.find(({ field: S }) => S === i.field)) == null ? void 0 : _.direction;
|
|
578
578
|
return c ? {
|
|
579
579
|
[x.ASCENDING]: j.ASCENDING,
|
|
580
580
|
[x.DESCENDING]: j.DESCENDING
|
|
@@ -628,8 +628,8 @@ const an = on.exports, rn = {
|
|
|
628
628
|
let c = {};
|
|
629
629
|
return C(i) || (c = {
|
|
630
630
|
...l.value(i)
|
|
631
|
-
}), i.sortable && (c.click = () => r(i.field), c.keydown = (
|
|
632
|
-
|
|
631
|
+
}), i.sortable && (c.click = () => r(i.field), c.keydown = (A) => {
|
|
632
|
+
A.keyCode === D.ENTER && r(i.field);
|
|
633
633
|
}), c;
|
|
634
634
|
}, R = E(
|
|
635
635
|
() => {
|
|
@@ -640,18 +640,18 @@ const an = on.exports, rn = {
|
|
|
640
640
|
};
|
|
641
641
|
}
|
|
642
642
|
), L = (i) => {
|
|
643
|
-
var c,
|
|
643
|
+
var c, A, _, S, N, B, k, H, Z, V;
|
|
644
644
|
return {
|
|
645
645
|
"b-data-grid-columns__column--sortable": i.sortable,
|
|
646
646
|
"b-data-grid-columns__column--padding-left-unset": ((c = i == null ? void 0 : i.padding) == null ? void 0 : c.left) === !1,
|
|
647
|
-
"b-data-grid-columns__column--padding-right-unset": ((
|
|
647
|
+
"b-data-grid-columns__column--padding-right-unset": ((A = i == null ? void 0 : i.padding) == null ? void 0 : A.right) === !1,
|
|
648
648
|
"b-data-grid-columns__column--numeric": i == null ? void 0 : i.numeric,
|
|
649
649
|
"b-data-grid-columns__column--frozen": i == null ? void 0 : i.frozen,
|
|
650
|
-
"b-data-grid-columns__column--is-re-ordering": (i == null ? void 0 : i.field) === ((S = (
|
|
650
|
+
"b-data-grid-columns__column--is-re-ordering": (i == null ? void 0 : i.field) === ((S = (_ = t.draggingColumns) == null ? void 0 : _.dragging) == null ? void 0 : S.field),
|
|
651
651
|
"b-data-grid-columns__column--is-re-ordering-target-left": (i == null ? void 0 : i.field) === ((B = (N = t.draggingColumns) == null ? void 0 : N.target) == null ? void 0 : B.field) && ((k = t.draggingColumns) == null ? void 0 : k.dragToLeft),
|
|
652
652
|
"b-data-grid-columns__column--is-re-ordering-target-right": (i == null ? void 0 : i.field) === ((Z = (H = t.draggingColumns) == null ? void 0 : H.target) == null ? void 0 : Z.field) && !((V = t.draggingColumns) != null && V.dragToLeft)
|
|
653
653
|
};
|
|
654
|
-
},
|
|
654
|
+
}, I = E(() => ({
|
|
655
655
|
"b-data-grid-columns__column-separator-container--is-resizeable": t.hasResizableColumns
|
|
656
656
|
}));
|
|
657
657
|
return {
|
|
@@ -659,14 +659,14 @@ const an = on.exports, rn = {
|
|
|
659
659
|
DATAGRID_SELECT_FIELD_NAME: G,
|
|
660
660
|
// Styles and classes
|
|
661
661
|
conditionalColumnClasses: L,
|
|
662
|
-
conditionalColumnSeparatorClasses:
|
|
662
|
+
conditionalColumnSeparatorClasses: I,
|
|
663
663
|
conditionalColumnsClasses: R,
|
|
664
664
|
// Selecting
|
|
665
665
|
allItemsSelectedCheckboxState: o,
|
|
666
666
|
isSelectColumn: C,
|
|
667
667
|
onAllRowSelect: f,
|
|
668
668
|
// Sorting
|
|
669
|
-
conditionalSortDirectionClasses:
|
|
669
|
+
conditionalSortDirectionClasses: g,
|
|
670
670
|
sortByColumnField: r,
|
|
671
671
|
getSortingColumnDirection: h,
|
|
672
672
|
// Resizing
|
|
@@ -702,7 +702,7 @@ var cn = function() {
|
|
|
702
702
|
o.stopPropagation();
|
|
703
703
|
} } }, [!e.isFrozenColumns || e.isFrozenColumns && u !== e.columns.length - 1 ? n("div", { staticClass: "b-data-grid-columns__column-separator" }) : e._e()])]], 2);
|
|
704
704
|
}), 0);
|
|
705
|
-
}, un = [],
|
|
705
|
+
}, un = [], gn = /* @__PURE__ */ U(
|
|
706
706
|
dn,
|
|
707
707
|
cn,
|
|
708
708
|
un,
|
|
@@ -712,7 +712,7 @@ var cn = function() {
|
|
|
712
712
|
null,
|
|
713
713
|
null
|
|
714
714
|
);
|
|
715
|
-
const
|
|
715
|
+
const _n = gn.exports;
|
|
716
716
|
var M = /* @__PURE__ */ ((t) => (t.CONFIG_SETTINGS = "config-settings", t.UPDATE_COLUMNS = "update:columns", t))(M || {});
|
|
717
717
|
let fe = 0;
|
|
718
718
|
const fn = {
|
|
@@ -764,11 +764,11 @@ const bn = mn.exports, pn = {
|
|
|
764
764
|
emits: ["visible-column", "updated-column"],
|
|
765
765
|
setup(t, { emit: e }) {
|
|
766
766
|
const n = O(!1), s = E(() => {
|
|
767
|
-
var
|
|
768
|
-
return (
|
|
767
|
+
var g;
|
|
768
|
+
return (g = t.column) == null ? void 0 : g.frozen;
|
|
769
769
|
}), u = E(() => {
|
|
770
|
-
var
|
|
771
|
-
return ((
|
|
770
|
+
var g;
|
|
771
|
+
return ((g = t.column) == null ? void 0 : g.visible) !== !1;
|
|
772
772
|
}), o = () => {
|
|
773
773
|
e("visible-column", { ...t.column, visible: !u.value });
|
|
774
774
|
}, f = () => {
|
|
@@ -792,7 +792,7 @@ const bn = mn.exports, pn = {
|
|
|
792
792
|
hideFreezeIcon: v,
|
|
793
793
|
toggleColumnFreeze: f,
|
|
794
794
|
// Enum
|
|
795
|
-
|
|
795
|
+
BentoToggleLabelPosition: Re,
|
|
796
796
|
BentoTypographyElement: q,
|
|
797
797
|
BentoTypographyVariant: ne
|
|
798
798
|
};
|
|
@@ -800,7 +800,7 @@ const bn = mn.exports, pn = {
|
|
|
800
800
|
});
|
|
801
801
|
var Sn = function() {
|
|
802
802
|
var e = this, n = e._self._c;
|
|
803
|
-
return e._self._setupProxy, n("div", { staticClass: "b-data-grid-config-settings-column-row", on: { mouseover: e.showFreezeIcon, mouseleave: e.hideFreezeIcon } }, [n("bento-toggle", { attrs: { "aria-label": e.$t("toggleColumnVisibility", { label: e.column.label }), disabled: e.isColumnVisibilityToggleDisabled, "label-position": e.
|
|
803
|
+
return e._self._setupProxy, n("div", { staticClass: "b-data-grid-config-settings-column-row", on: { mouseover: e.showFreezeIcon, mouseleave: e.hideFreezeIcon } }, [n("bento-toggle", { attrs: { "aria-label": e.$t("toggleColumnVisibility", { label: e.column.label }), disabled: e.isColumnVisibilityToggleDisabled, "label-position": e.BentoToggleLabelPosition.AFTER, value: e.isColumnVisible }, on: { input: e.toggleColumnVisibility } }, [e._v(" " + e._s(e.column.label) + " ")]), n("bento-freeze-icon", { directives: [{ name: "show", rawName: "v-show", value: e.isColumnFrozen || e.isFreezeIconOptionShown, expression: "isColumnFrozen || isFreezeIconOptionShown" }], staticClass: "b-data-grid-config-settings-column-row__freeze-icon", class: e.freezeIconConditionalClasses, attrs: { "aria-label": e.$t("toggleColumnFreeze", { label: e.column.label }) }, nativeOn: { click: function(s) {
|
|
804
804
|
return e.toggleColumnFreeze.apply(null, arguments);
|
|
805
805
|
} } })], 1);
|
|
806
806
|
}, Ln = [], yn = /* @__PURE__ */ U(
|
|
@@ -809,7 +809,7 @@ var Sn = function() {
|
|
|
809
809
|
Ln,
|
|
810
810
|
!1,
|
|
811
811
|
null,
|
|
812
|
-
"
|
|
812
|
+
"3437c8f9",
|
|
813
813
|
null,
|
|
814
814
|
null
|
|
815
815
|
);
|
|
@@ -839,7 +839,7 @@ const En = yn.exports, Rn = {
|
|
|
839
839
|
BentoButton: rt,
|
|
840
840
|
BentoDataGridConfigSettingsConfigRow: En,
|
|
841
841
|
BentoSearchBar: dt,
|
|
842
|
-
BentoSearchIcon:
|
|
842
|
+
BentoSearchIcon: gt,
|
|
843
843
|
BentoToggle: Ee,
|
|
844
844
|
BentoTypography: te
|
|
845
845
|
},
|
|
@@ -862,34 +862,34 @@ const En = yn.exports, Rn = {
|
|
|
862
862
|
},
|
|
863
863
|
emits: [M.CONFIG_SETTINGS, M.UPDATE_COLUMNS],
|
|
864
864
|
setup(t, { emit: e }) {
|
|
865
|
-
const n = O(null), s =
|
|
865
|
+
const n = O(null), s = _t("data-grid-config-settings-popover"), u = O(null), o = O(!1), f = O(!0), C = O(""), v = be(t, "columns"), d = O(!1), g = ct(C, v), r = () => {
|
|
866
866
|
C.value = "";
|
|
867
867
|
}, h = E(
|
|
868
|
-
() => !t.columns.some((
|
|
868
|
+
() => !t.columns.some((_) => _.visible === !1 && !_.mandatory)
|
|
869
869
|
), l = () => {
|
|
870
870
|
r(), d.value = !d.value, d.value && z(() => u.value.bentoInputField.focusInput()), f.value = h.value;
|
|
871
|
-
}, m = E(() => t.columns.filter((
|
|
871
|
+
}, m = E(() => t.columns.filter((_) => (_ == null ? void 0 : _.visible) !== !1)), b = (_) => _.mandatory || m.value.length === 1 && (_ == null ? void 0 : _.visible) !== !1, R = (_) => {
|
|
872
872
|
const S = t.columns.map((N) => ({
|
|
873
873
|
...N,
|
|
874
|
-
visible:
|
|
874
|
+
visible: _.field === N.field ? _.visible : N.visible
|
|
875
875
|
}));
|
|
876
876
|
e(M.UPDATE_COLUMNS, S);
|
|
877
|
-
}, L = (
|
|
878
|
-
|
|
877
|
+
}, L = (_) => {
|
|
878
|
+
_ ? e(
|
|
879
879
|
M.UPDATE_COLUMNS,
|
|
880
880
|
t.columns.map((S) => ({ ...S, visible: !0 }))
|
|
881
881
|
) : e(
|
|
882
882
|
M.UPDATE_COLUMNS,
|
|
883
883
|
t.columns.map((S) => ({ ...S, visible: (S == null ? void 0 : S.mandatory) === !0 }))
|
|
884
884
|
);
|
|
885
|
-
},
|
|
885
|
+
}, I = (_) => {
|
|
886
886
|
const S = t.columns.map((N) => ({
|
|
887
887
|
...N,
|
|
888
|
-
frozen:
|
|
888
|
+
frozen: _.field === N.field ? !!(_ != null && _.frozen) : !!(N != null && N.frozen)
|
|
889
889
|
}));
|
|
890
890
|
e(M.UPDATE_COLUMNS, S);
|
|
891
|
-
}, i = (
|
|
892
|
-
o.value =
|
|
891
|
+
}, i = (_) => {
|
|
892
|
+
o.value = _, f.value = h.value;
|
|
893
893
|
};
|
|
894
894
|
return {
|
|
895
895
|
// Values
|
|
@@ -897,23 +897,23 @@ const En = yn.exports, Rn = {
|
|
|
897
897
|
popoverId: s,
|
|
898
898
|
isConfigSettingsPanelOpen: o,
|
|
899
899
|
allColumnsVisbilityToggleState: f,
|
|
900
|
-
filteredColumnVisibilityColumns:
|
|
900
|
+
filteredColumnVisibilityColumns: g,
|
|
901
901
|
searchTerm: C,
|
|
902
902
|
isColumnVisibilityFilterShown: d,
|
|
903
903
|
searchBarRef: u,
|
|
904
904
|
DATAGRID_SELECT_FIELD_NAME: G,
|
|
905
905
|
// Methods
|
|
906
906
|
setConfigSettingsPanelVisibility: i,
|
|
907
|
-
emitCondensedToggle: (
|
|
907
|
+
emitCondensedToggle: (_) => e(M.CONFIG_SETTINGS, _),
|
|
908
908
|
toggleAllColumnVisibility: L,
|
|
909
909
|
clearAction: r,
|
|
910
910
|
toggleColumnFilter: l,
|
|
911
911
|
emitVisibleColumns: R,
|
|
912
|
-
emitFrozenColumns:
|
|
912
|
+
emitFrozenColumns: I,
|
|
913
913
|
onClickOutside: () => i(!1),
|
|
914
914
|
isColumnVisibilityToggleDisabled: b,
|
|
915
915
|
// Enum
|
|
916
|
-
|
|
916
|
+
BentoToggleLabelPosition: Re,
|
|
917
917
|
BentoTypographyElement: q,
|
|
918
918
|
BentoTypographyVariant: ne,
|
|
919
919
|
BentoButtonVariant: ye,
|
|
@@ -931,7 +931,7 @@ var On = function() {
|
|
|
931
931
|
return e.setConfigSettingsPanelVisibility(!1);
|
|
932
932
|
} }, scopedSlots: e._u([{ key: "iconLeft", fn: function() {
|
|
933
933
|
return [n("bento-cross-icon", { attrs: { "svg-title": e.$t("closeConfigSettingsPanel") } })];
|
|
934
|
-
}, proxy: !0 }], null, !1, 13708930) })], 1), n("div", { staticClass: "b-data-grid-config-settings__condensed-view-settings" }, [n("bento-typography", { staticClass: "b-data-grid-config-settings__condensed-view-title", attrs: { el: e.BentoTypographyElement.SPAN, stronger: "" } }, [e._v(" " + e._s(e.$t("size")) + " ")]), n("bento-toggle", { attrs: { "label-position": e.
|
|
934
|
+
}, proxy: !0 }], null, !1, 13708930) })], 1), n("div", { staticClass: "b-data-grid-config-settings__condensed-view-settings" }, [n("bento-typography", { staticClass: "b-data-grid-config-settings__condensed-view-title", attrs: { el: e.BentoTypographyElement.SPAN, stronger: "" } }, [e._v(" " + e._s(e.$t("size")) + " ")]), n("bento-toggle", { attrs: { "label-position": e.BentoToggleLabelPosition.AFTER, "aria-label": e.$t("condensedToggle"), value: e.condensed }, on: { input: e.emitCondensedToggle } }, [e._v(" " + e._s(e.$t("condensed")) + " ")])], 1), n("div", { staticClass: "b-data-grid-config-settings__column-visibility-settings" }, [n("div", { staticClass: "b-data-grid-config-settings__column-visibility-header" }, [n("bento-typography", { staticClass: "b-data-grid-config-settings__column-visibility-title", attrs: { el: e.BentoTypographyElement.SPAN, stronger: "" } }, [e._v(" " + e._s(e.$t("columns")) + " ")]), e.isColumnVisibilityFilterShown ? n("bento-button", { attrs: { variant: e.BentoButtonVariant.TERTIARY }, on: { click: e.toggleColumnFilter }, scopedSlots: e._u([{ key: "iconLeft", fn: function() {
|
|
935
935
|
return [n("bento-cross-icon")];
|
|
936
936
|
}, proxy: !0 }], null, !1, 2651303519) }, [e._v(" " + e._s(e.$t("closeSearch")) + " ")]) : n("bento-button", { attrs: { variant: e.BentoButtonVariant.TERTIARY }, on: { click: e.toggleColumnFilter }, scopedSlots: e._u([{ key: "iconLeft", fn: function() {
|
|
937
937
|
return [n("bento-search-icon")];
|
|
@@ -939,20 +939,20 @@ var On = function() {
|
|
|
939
939
|
e.searchTerm = s;
|
|
940
940
|
}, clear: e.clearAction, "escape-pressed": function(s) {
|
|
941
941
|
return e.toggleColumnFilter();
|
|
942
|
-
} } })], 1) : n("div", { staticClass: "b-data-grid-config-settings__column-visibility-show-all" }, [n("bento-toggle", { attrs: { "label-position": e.
|
|
942
|
+
} } })], 1) : n("div", { staticClass: "b-data-grid-config-settings__column-visibility-show-all" }, [n("bento-toggle", { attrs: { "label-position": e.BentoToggleLabelPosition.AFTER, value: e.allColumnsVisbilityToggleState }, on: { input: e.toggleAllColumnVisibility } }, [e._v(" " + e._s(e.$t("showAllColumns", { numberOfColumns: e.columns.length })) + " ")])], 1), n("div", { staticClass: "b-data-grid-config-settings__column-visibility-toggles" }, [e._l(e.filteredColumnVisibilityColumns, function(s) {
|
|
943
943
|
return n("div", { key: s.field }, [s.field !== e.DATAGRID_SELECT_FIELD_NAME ? n("bento-data-grid-config-settings-config-row", { attrs: { column: s, "is-column-visibility-toggle-disabled": e.isColumnVisibilityToggleDisabled(s) }, on: { "visible-column": e.emitVisibleColumns, "updated-column": e.emitFrozenColumns } }) : e._e()], 1);
|
|
944
944
|
}), e.filteredColumnVisibilityColumns.length === 0 ? n("bento-typography", { staticClass: "b-data-grid-config-settings__column-visibility-empty-search-message", attrs: { el: e.BentoTypographyElement.SPAN } }, [e._v(" " + e._s(e.$t("noColumnsMatch")) + " ")]) : e._e()], 2)])]) : e._e()], 1);
|
|
945
|
-
},
|
|
945
|
+
}, In = [], An = /* @__PURE__ */ U(
|
|
946
946
|
Tn,
|
|
947
947
|
On,
|
|
948
|
-
|
|
948
|
+
In,
|
|
949
949
|
!1,
|
|
950
950
|
null,
|
|
951
|
-
"
|
|
951
|
+
"2bee6e04",
|
|
952
952
|
null,
|
|
953
953
|
null
|
|
954
954
|
);
|
|
955
|
-
const Nn =
|
|
955
|
+
const Nn = An.exports, wn = {
|
|
956
956
|
"en-US": {
|
|
957
957
|
gettingYourData: "Getting your data",
|
|
958
958
|
sortAscending: "{field} sort ascending",
|
|
@@ -965,7 +965,7 @@ const Nn = In.exports, wn = {
|
|
|
965
965
|
name: "bento-data-grid",
|
|
966
966
|
components: {
|
|
967
967
|
BentoCheckbox: he,
|
|
968
|
-
DataGridColumns:
|
|
968
|
+
DataGridColumns: _n,
|
|
969
969
|
BentoDataGridConfigSettings: Nn,
|
|
970
970
|
BentoLoadingIndicator: st,
|
|
971
971
|
BentoPagination: nt,
|
|
@@ -1125,28 +1125,28 @@ const Nn = In.exports, wn = {
|
|
|
1125
1125
|
p.SORT
|
|
1126
1126
|
],
|
|
1127
1127
|
setup(t, { emit: e, slots: n }) {
|
|
1128
|
-
const s = O(null), u = O(), o = O(null), { columns: f, selectable: C, data: v, selection: d, allowColumnDragAndDrop:
|
|
1128
|
+
const s = O(null), u = O(), o = O(null), { columns: f, selectable: C, data: v, selection: d, allowColumnDragAndDrop: g } = ee(t), { t: r } = Se(), { columnDefs: h, onColumnWidthOverride: l, gridColumnWidthStyle: m } = St(f, s, {
|
|
1129
1129
|
hasSelectableColumn: C
|
|
1130
1130
|
}), b = O(null), R = Ct({
|
|
1131
1131
|
paginationRef: b,
|
|
1132
1132
|
fitContent: be(t, "fitContent")
|
|
1133
1133
|
}), {
|
|
1134
1134
|
sortedColumns: L,
|
|
1135
|
-
columnSets:
|
|
1135
|
+
columnSets: I,
|
|
1136
1136
|
isOnlyOneVisibleColumn: i,
|
|
1137
1137
|
onConfigSettingsUpdate: c,
|
|
1138
|
-
onConfigSettingsColumnsUpdate:
|
|
1139
|
-
onConfigSettingsColumnUpdate:
|
|
1140
|
-
} = Tt(h, e), { draggingColumns: S, draggingEventsForColumns: N, draggingEventsForRowCell: B, onMoveColumnByOffset: k } = Rt(L,
|
|
1138
|
+
onConfigSettingsColumnsUpdate: A,
|
|
1139
|
+
onConfigSettingsColumnUpdate: _
|
|
1140
|
+
} = Tt(h, e), { draggingColumns: S, draggingEventsForColumns: N, draggingEventsForRowCell: B, onMoveColumnByOffset: k } = Rt(L, g, e), { onAllRowSelect: H, onRowSelect: Z, selectedItems: V, allItemsSelectedState: Oe } = yt(
|
|
1141
1141
|
d,
|
|
1142
1142
|
e,
|
|
1143
1143
|
v,
|
|
1144
1144
|
t.getDataItemId,
|
|
1145
1145
|
t.isDataItemDisabled
|
|
1146
|
-
),
|
|
1146
|
+
), Ie = E(() => ({
|
|
1147
1147
|
[`b-data-grid--${Q.OUTLINE}`]: t.outline,
|
|
1148
1148
|
[`b-data-grid--${Q.FIT_CONTENT}`]: t.fitContent
|
|
1149
|
-
})),
|
|
1149
|
+
})), Ae = E(() => I.value.findIndex((a) => a.columnSet.length)), Ne = (a) => {
|
|
1150
1150
|
var T;
|
|
1151
1151
|
return {
|
|
1152
1152
|
"b-data-grid__row--disabled": t.isDataItemDisabled(a),
|
|
@@ -1226,12 +1226,12 @@ const Nn = In.exports, wn = {
|
|
|
1226
1226
|
...B.value(a)
|
|
1227
1227
|
};
|
|
1228
1228
|
return a.frozen && (T.focus = Qe), T;
|
|
1229
|
-
}, ie = (a, T) => a +
|
|
1229
|
+
}, ie = (a, T) => a + I.value.length * T;
|
|
1230
1230
|
return {
|
|
1231
1231
|
// Refs
|
|
1232
1232
|
body: s,
|
|
1233
1233
|
columnDefs: h,
|
|
1234
|
-
columnSets:
|
|
1234
|
+
columnSets: I,
|
|
1235
1235
|
gridcellRefs: o,
|
|
1236
1236
|
isColumnMenuOpen: se,
|
|
1237
1237
|
// Calculate dynamic fit-content height
|
|
@@ -1245,7 +1245,7 @@ const Nn = In.exports, wn = {
|
|
|
1245
1245
|
getRowData: De,
|
|
1246
1246
|
// Styles and classes
|
|
1247
1247
|
gridColumnWidthStyle: m,
|
|
1248
|
-
conditionalGridClasses:
|
|
1248
|
+
conditionalGridClasses: Ie,
|
|
1249
1249
|
conditionalRowClasses: Ne,
|
|
1250
1250
|
conditionalRowSetClasses: we,
|
|
1251
1251
|
conditionalRowCellClasses: Pe,
|
|
@@ -1266,8 +1266,8 @@ const Nn = In.exports, wn = {
|
|
|
1266
1266
|
getRowAriaSelectedValue: Fe,
|
|
1267
1267
|
// Config settings (and column updating)
|
|
1268
1268
|
onConfigSettingsUpdate: c,
|
|
1269
|
-
onConfigSettingsColumnsUpdate:
|
|
1270
|
-
onConfigSettingsColumnUpdate:
|
|
1269
|
+
onConfigSettingsColumnsUpdate: A,
|
|
1270
|
+
onConfigSettingsColumnUpdate: _,
|
|
1271
1271
|
columnsRef: u,
|
|
1272
1272
|
configSettingsButtonStyle: xe,
|
|
1273
1273
|
isOnlyOneVisibleColumn: i,
|
|
@@ -1288,7 +1288,7 @@ const Nn = In.exports, wn = {
|
|
|
1288
1288
|
draggingEventsForColumns: N,
|
|
1289
1289
|
draggingEventsForRowCell: B,
|
|
1290
1290
|
// Leftmost column panel alignment
|
|
1291
|
-
computedColumnPanelAlignment:
|
|
1291
|
+
computedColumnPanelAlignment: Ae,
|
|
1292
1292
|
// Gridcells events
|
|
1293
1293
|
gridcellEvents: Ke,
|
|
1294
1294
|
// Keyboard navigation
|
|
@@ -1316,8 +1316,8 @@ var Un = function() {
|
|
|
1316
1316
|
return n("div", { key: u, staticClass: "b-data-grid__row", class: e.conditionalRowClasses(s), style: e.gridColumnWidthStyle, attrs: { role: "row", "aria-rowindex": u + 1, "aria-selected": e.getRowAriaSelectedValue(s) }, on: { click: function(o) {
|
|
1317
1317
|
return e.onRowClick(s, o);
|
|
1318
1318
|
} } }, [e._l(e.columnSets, function({ columnSet: o, id: f, isFrozenColumns: C }, v) {
|
|
1319
|
-
return [o != null && o.length ? n("div", { key: `data-grid-rows-${f}`, class: e.conditionalRowSetClasses(C), attrs: { "data-testid": `data-grid-${f}-rows` } }, e._l(o, function(d,
|
|
1320
|
-
return n("div", e._g({ key: `cell-${d.field}`, ref: "gridcellRefs", refInFor: !0, staticClass: "b-data-grid__cell", class: e.conditionalRowCellClasses(d), style: { width: `${d.width}px` }, attrs: { "data-testid": `cell-${d.field}`, "data-cellindex": e.getCellindex(u,
|
|
1319
|
+
return [o != null && o.length ? n("div", { key: `data-grid-rows-${f}`, class: e.conditionalRowSetClasses(C), attrs: { "data-testid": `data-grid-${f}-rows` } }, e._l(o, function(d, g) {
|
|
1320
|
+
return n("div", e._g({ key: `cell-${d.field}`, ref: "gridcellRefs", refInFor: !0, staticClass: "b-data-grid__cell", class: e.conditionalRowCellClasses(d), style: { width: `${d.width}px` }, attrs: { "data-testid": `cell-${d.field}`, "data-cellindex": e.getCellindex(u, g, v), role: "gridcell", tabindex: e.getCellindex(u, g, v) === 0 ? "0" : "-1", "aria-colindex": e.getColIndex(g, v) + 1 } }, e.gridcellEvents(d)), [d.field !== e.DATAGRID_SELECT_FIELD_NAME ? [n("bento-typography", { attrs: { el: e.BentoTypographyElement.DIV } }, [e._t(`item-${d.field}`, function() {
|
|
1321
1321
|
return [n("span", { attrs: { title: e.conditionalTitleAttribute(d, s[d.field]) } }, [e._v(e._s(e.getRowData(s[d.field])))])];
|
|
1322
1322
|
}, { item: s })], 2)] : [n("bento-checkbox", { attrs: { "aria-label": e.t("selectRow"), "model-value": e.selectedItems, disabled: e.isDataItemDisabled(s), value: e.getDataItemId(s) }, on: { "update:model-value": e.onRowSelect } })]], 2);
|
|
1323
1323
|
}), 0) : e._e()];
|