@adyen/bento-vue2 1.9.0 → 1.11.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 +2 -0
- package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +19 -3580
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/code-snippet/{composables/useLanguage.d.ts → utils/get-lang-loader.d.ts} +1 -3
- package/dist/@types/packages/vue2/src/components/country/composables/index.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/country/composables/{useCountryCapital/useCountryCapital.d.ts → use-country-capital/use-country-capital.d.ts} +1 -1
- package/dist/@types/packages/vue2/src/components/country/composables/{useCountryName/useCountryName.d.ts → use-country-name/use-country-name.d.ts} +1 -1
- package/dist/@types/packages/vue2/src/components/country/composables/{useCountryPhoneCode/useCountryPhoneCode.d.ts → use-country-phone-code/use-country-phon-code.d.ts} +1 -1
- package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.types.d.ts +14 -0
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.vue.d.ts +33 -0
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns-types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +20 -4
- package/dist/@types/packages/vue2/src/components/data-grid/components/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/index.d.ts +10 -8
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/{useCalculateColumnWidth/useCalculateColumnWidth.d.ts → use-calculate-column-width/use-calculate-column-width.d.ts} +2 -2
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-reorderer/use-column-reorderer.d.ts +121 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-config-settings/use-config-settings.d.ts +154 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/{useKeyboardNavigator/useKeyboardNavigator.d.ts → use-keyboard-navigator/use-keyboard-navigator.d.ts} +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/{useResizer.d.ts → use-resizer.d.ts} +0 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/{useScroller/useScroller.d.ts → use-scroller/use-scroller.d.ts} +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/{useSelector.d.ts → use-selector.d.ts} +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +5 -2
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +16 -7
- package/dist/@types/packages/vue2/src/components/divider/divider.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/divider/divider.vue.d.ts +1 -1
- 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 +3 -3
- 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/composables/useDropdownOptionsListbox.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +10 -0
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/dropdown/composables/useDisplayValue.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +1598 -6
- package/dist/@types/packages/vue2/src/components/empty-state/empty-state.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +84 -12
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +3 -1
- package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +8 -0
- package/dist/@types/packages/vue2/src/components/internal/copy/copy.types.d.ts +8 -0
- package/dist/@types/packages/vue2/src/components/internal/copy/copy.vue.d.ts +20 -0
- package/dist/@types/packages/vue2/src/components/internal/copy/index.d.ts +1 -0
- 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.types.d.ts +2 -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 +82 -0
- 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 +10 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/components/listbox-single-select-category/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/components/listbox-single-select-category/listbox-single-select-category.vue.d.ts +12 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +10 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/composables/use-multi-level-items/use-multi-level-items.d.ts +6 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +12 -3
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/menu/components/sub-menu-item-list/sub-menu-item-list.vue.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +251 -3
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-category/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-category/secondary-nav-category.vue.d.ts +18 -0
- package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-item/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-item/secondary-nav-item.vue.d.ts +19 -0
- package/dist/@types/packages/vue2/src/components/secondary-nav/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.keys.d.ts +3 -0
- package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.types.d.ts +14 -0
- package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.vue.d.ts +20 -0
- package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +3 -4
- package/dist/@types/packages/vue2/src/components/structured-list/structured-list.types.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/structured-list/structured-list.vue.d.ts +16 -3
- package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +15 -10
- package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +9 -0
- package/dist/@types/packages/vue2/src/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/types/elements.d.ts +2 -1
- package/dist/@types/packages/vue2/src/utils/ts/deprecate.d.ts +1 -0
- package/dist/accordion.js +2 -2
- package/dist/action-bar.js +5 -5
- package/dist/alert.js +8 -8
- package/dist/alert.js.map +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/controls-group.css +1 -1
- package/dist/assets/copy.css +1 -1
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/fixed-scroller.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 -1
- package/dist/assets/index44.css +1 -1
- package/dist/assets/index45.css +1 -1
- package/dist/assets/index46.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.css +1 -1
- package/dist/assets/loading-button.css +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/button.js +19 -17
- package/dist/button.js.map +1 -1
- package/dist/card.js +2 -2
- package/dist/checkbox.js +61 -48
- package/dist/checkbox.js.map +1 -1
- package/dist/chunks/{base-button.df9a9bea.js → base-button.bd61ab14.js} +2 -2
- package/dist/chunks/{base-button.df9a9bea.js.map → base-button.bd61ab14.js.map} +1 -1
- package/dist/chunks/{base-modal.75319f4e.js → base-modal.5640a66a.js} +33 -33
- package/dist/chunks/base-modal.5640a66a.js.map +1 -0
- package/dist/chunks/{button-actions-with-menu.32770485.js → button-actions-with-menu.767344df.js} +3 -3
- package/dist/chunks/{button-actions-with-menu.32770485.js.map → button-actions-with-menu.767344df.js.map} +1 -1
- package/dist/chunks/button.bb5b4909.js +100 -0
- package/dist/chunks/button.bb5b4909.js.map +1 -0
- package/dist/chunks/{calendar.a885d8fc.js → calendar.4ab3c2dc.js} +4 -4
- package/dist/chunks/{calendar.a885d8fc.js.map → calendar.4ab3c2dc.js.map} +1 -1
- package/dist/chunks/checkbox.c684c20a.js +188 -0
- package/dist/chunks/checkbox.c684c20a.js.map +1 -0
- package/dist/chunks/{controls-group.dd967ccf.js → controls-group.d25f5044.js} +15 -11
- package/dist/chunks/controls-group.d25f5044.js.map +1 -0
- package/dist/chunks/copy.36c058e9.js +122 -0
- package/dist/chunks/copy.36c058e9.js.map +1 -0
- package/dist/chunks/country.types.002caff2.js +5871 -0
- package/dist/chunks/country.types.002caff2.js.map +1 -0
- package/dist/chunks/{cross-circle-fill.7c07d16a.js → cross-circle-fill.27580c4b.js} +5 -5
- package/dist/chunks/{cross-circle-fill.7c07d16a.js.map → cross-circle-fill.27580c4b.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.465db4d4.js → dropdown-default-textbox.1cba89ea.js} +11 -11
- package/dist/chunks/dropdown-default-textbox.1cba89ea.js.map +1 -0
- package/dist/chunks/{dropdown.6461dbe3.js → dropdown.4152cc00.js} +351 -313
- package/dist/chunks/dropdown.4152cc00.js.map +1 -0
- package/dist/chunks/{field-label.01df3cba.js → field-label.a0c54b7d.js} +5 -5
- package/dist/chunks/{field-label.01df3cba.js.map → field-label.a0c54b7d.js.map} +1 -1
- package/dist/chunks/{fixed-scroller.42354ccc.js → fixed-scroller.5c90f692.js} +2 -2
- package/dist/chunks/{fixed-scroller.42354ccc.js.map → fixed-scroller.5c90f692.js.map} +1 -1
- package/dist/chunks/{footer-actions.2cd9079e.js → footer-actions.b14cfca8.js} +3 -3
- package/dist/chunks/{footer-actions.2cd9079e.js.map → footer-actions.b14cfca8.js.map} +1 -1
- package/dist/chunks/{index.16914bb1.js → index.179d485c.js} +29 -29
- package/dist/chunks/{index.16914bb1.js.map → index.179d485c.js.map} +1 -1
- package/dist/chunks/index.1e8c900a.js +32 -0
- package/dist/chunks/index.1e8c900a.js.map +1 -0
- package/dist/chunks/{index.152b2b16.js → index.58282364.js} +3 -3
- package/dist/chunks/{index.152b2b16.js.map → index.58282364.js.map} +1 -1
- package/dist/chunks/{index.322692c8.js → index.720f0cbf.js} +2 -2
- package/dist/chunks/{index.322692c8.js.map → index.720f0cbf.js.map} +1 -1
- package/dist/chunks/index.75f0e99f.js +147 -0
- package/dist/chunks/index.75f0e99f.js.map +1 -0
- package/dist/chunks/{index.6cef7328.js → index.7d2ea1de.js} +2 -2
- package/dist/chunks/{index.6cef7328.js.map → index.7d2ea1de.js.map} +1 -1
- package/dist/chunks/{index.02da8d63.js → index.aaedd8f9.js} +3 -3
- package/dist/chunks/{index.02da8d63.js.map → index.aaedd8f9.js.map} +1 -1
- package/dist/chunks/{index.b201e81d.js → index.b0a89960.js} +22 -22
- package/dist/chunks/index.b0a89960.js.map +1 -0
- package/dist/chunks/{index.d1beb704.js → index.f18f79eb.js} +5 -5
- package/dist/chunks/{index.d1beb704.js.map → index.f18f79eb.js.map} +1 -1
- package/dist/chunks/{index.f358c4bd.js → index.f2223abb.js} +163 -155
- package/dist/chunks/index.f2223abb.js.map +1 -0
- package/dist/chunks/{listbox-option-tag.55cd9c16.js → listbox-option-tag.9103c011.js} +3 -3
- package/dist/chunks/{listbox-option-tag.55cd9c16.js.map → listbox-option-tag.9103c011.js.map} +1 -1
- package/dist/chunks/{listbox.a117e6d4.js → listbox.7cf6d6b4.js} +475 -392
- package/dist/chunks/listbox.7cf6d6b4.js.map +1 -0
- package/dist/chunks/{loading-button.459b9ab4.js → loading-button.fb025a2e.js} +20 -20
- package/dist/chunks/{loading-button.459b9ab4.js.map → loading-button.fb025a2e.js.map} +1 -1
- package/dist/chunks/{tooltip.b8929659.js → tooltip.f48beb54.js} +22 -22
- package/dist/chunks/tooltip.f48beb54.js.map +1 -0
- package/dist/chunks/use-has-slot.fbeb19ec.js.map +1 -1
- package/dist/chunks/useCountryItems.6b7985bf.js +29 -0
- package/dist/chunks/{useCountryItems.34ac8740.js.map → useCountryItems.6b7985bf.js.map} +1 -1
- package/dist/code-snippet.js +10 -12
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +41 -5902
- package/dist/country.js.map +1 -1
- package/dist/currency.js +1 -1
- package/dist/data-grid.js +901 -711
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +18 -18
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +2 -18
- package/dist/divider.js.map +1 -1
- package/dist/dropdown.js +41 -41
- package/dist/dropdown.js.map +1 -1
- package/dist/empty-state.js +18 -18
- package/dist/empty-state.js.map +1 -1
- package/dist/filter-bar.js +512 -504
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +2 -2
- package/dist/form-layout.js.map +1 -1
- package/dist/header.js +3 -3
- package/dist/index.js +178 -174
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +3 -3
- package/dist/input-field.js +4 -4
- package/dist/internal.js +17 -15
- package/dist/link.js +2 -2
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal.js +62 -60
- package/dist/modal.js.map +1 -1
- package/dist/pagination.js +22 -22
- package/dist/pagination.js.map +1 -1
- package/dist/payment-method.js +2 -2
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/radio-group.js +46 -45
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +10 -10
- package/dist/secondary-nav.js +98 -0
- package/dist/secondary-nav.js.map +1 -0
- package/dist/segmented-control.js +3 -3
- package/dist/sidepanel.js +5 -5
- package/dist/status.js +2 -2
- package/dist/stepper.js +3 -3
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +3 -3
- package/dist/tabs.js +3 -3
- package/dist/tag.js +3 -3
- package/dist/textarea.js +95 -88
- package/dist/textarea.js.map +1 -1
- package/dist/timeline.js +198 -191
- package/dist/timeline.js.map +1 -1
- package/dist/toast.js +3 -3
- package/dist/toggle.js +1 -1
- package/dist/tutorial.js +5 -5
- package/dist/typography.js +1 -1
- package/dist/web-types.json +822 -409
- package/package.json +6 -3
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useColumnReorderer/useColumnReorderer.d.ts +0 -67
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useConfigSettings/useConfigSettings.d.ts +0 -73
- package/dist/chunks/base-modal.75319f4e.js.map +0 -1
- package/dist/chunks/button.7dd8d4de.js +0 -125
- package/dist/chunks/button.7dd8d4de.js.map +0 -1
- package/dist/chunks/checkbox.65743b08.js +0 -184
- package/dist/chunks/checkbox.65743b08.js.map +0 -1
- package/dist/chunks/controls-group.dd967ccf.js.map +0 -1
- package/dist/chunks/copy.e12b418e.js +0 -103
- package/dist/chunks/copy.e12b418e.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.465db4d4.js.map +0 -1
- package/dist/chunks/dropdown.6461dbe3.js.map +0 -1
- package/dist/chunks/index.0890dc99.js +0 -130
- package/dist/chunks/index.0890dc99.js.map +0 -1
- package/dist/chunks/index.b201e81d.js.map +0 -1
- package/dist/chunks/index.f358c4bd.js.map +0 -1
- package/dist/chunks/listbox.a117e6d4.js.map +0 -1
- package/dist/chunks/tooltip.b8929659.js.map +0 -1
- package/dist/chunks/useCountryItems.34ac8740.js +0 -29
- /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useCalculateColumnWidth/useCalculateColumnWidth.types.d.ts → use-calculate-column-width/use-calculate-column-width.types.d.ts} +0 -0
- /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useCalculateStickyElementHeight/useCalculateStickyElementHeight.d.ts → use-calculate-sticky-element-height/use-calculate-sticky-element-height.d.ts} +0 -0
- /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useKeyboardNavigator/useKeyboardNavigator.types.d.ts → use-keyboard-navigator/use-keyboard-navigator.types.d.ts} +0 -0
- /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useLazyLoading/useLazyLoading.d.ts → use-lazy-loading/use-lazy-loading.d.ts} +0 -0
- /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useSorter.d.ts → use-sorter.d.ts} +0 -0
|
@@ -4,6 +4,8 @@ export interface BentoButtonActionObject extends BentoButtonProps {
|
|
|
4
4
|
title: string;
|
|
5
5
|
event?: (event: Event) => void;
|
|
6
6
|
icon?: VueNodeElement;
|
|
7
|
+
iconLeft?: VueNodeElement;
|
|
8
|
+
iconRight?: VueNodeElement;
|
|
7
9
|
state?: BentoLoadingButtonState | `${BentoLoadingButtonState}`;
|
|
8
10
|
}
|
|
9
11
|
export type BentoButtonActionsList = Array<BentoButtonActionObject>;
|
|
@@ -14,7 +14,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
14
14
|
default: boolean;
|
|
15
15
|
};
|
|
16
16
|
state: {
|
|
17
|
-
type: PropType<"start" | "loading" |
|
|
17
|
+
type: PropType<"start" | "loading" | "success" | BentoLoadingButtonState | "fail">;
|
|
18
18
|
default: BentoLoadingButtonState;
|
|
19
19
|
validator: (value: BentoLoadingButtonState) => boolean;
|
|
20
20
|
};
|
|
@@ -39,7 +39,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
39
39
|
default: boolean;
|
|
40
40
|
};
|
|
41
41
|
state: {
|
|
42
|
-
type: PropType<"start" | "loading" |
|
|
42
|
+
type: PropType<"start" | "loading" | "success" | BentoLoadingButtonState | "fail">;
|
|
43
43
|
default: BentoLoadingButtonState;
|
|
44
44
|
validator: (value: BentoLoadingButtonState) => boolean;
|
|
45
45
|
};
|
|
@@ -53,7 +53,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
53
53
|
condensed: boolean;
|
|
54
54
|
disabled: boolean;
|
|
55
55
|
inverse: boolean;
|
|
56
|
-
state: "start" | "loading" |
|
|
56
|
+
state: "start" | "loading" | "success" | BentoLoadingButtonState | "fail";
|
|
57
57
|
}>, {
|
|
58
58
|
default: (_: {}) => any;
|
|
59
59
|
}>;
|
|
@@ -61,6 +61,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
61
61
|
isChecked: import("vue").ComputedRef<boolean>;
|
|
62
62
|
isIndeterminate: import("vue").ComputedRef<boolean>;
|
|
63
63
|
shouldShowErrorMessage: import("vue").ComputedRef<boolean>;
|
|
64
|
+
contentSlotAvailable: import("vue").ComputedRef<boolean>;
|
|
65
|
+
hasContentSlot: import("vue").ComputedRef<boolean>;
|
|
64
66
|
hasSlot: (name: string) => boolean;
|
|
65
67
|
onChange: (event: Event) => void;
|
|
66
68
|
onClick: (event: Event) => void;
|
|
@@ -73,6 +73,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
73
73
|
validator: (value: BentoCheckboxGroupVariant) => boolean;
|
|
74
74
|
};
|
|
75
75
|
}, {
|
|
76
|
+
COMPONENT_NAME: string;
|
|
76
77
|
errorId: string;
|
|
77
78
|
isReadOnly: import("vue").ComputedRef<boolean>;
|
|
78
79
|
shouldShowGroupError: import("vue").ComputedRef<boolean>;
|
|
@@ -81,6 +82,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
81
82
|
'b-checkbox-group__checkboxes--horizontal': boolean;
|
|
82
83
|
}>;
|
|
83
84
|
inputValue: import("vue").Ref<(string | number)[]>;
|
|
85
|
+
hasContentSlot: (name: any) => boolean;
|
|
84
86
|
onInput: (value: any) => void;
|
|
85
87
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, BentoCheckboxEvent[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
86
88
|
description: {
|
|
@@ -3,6 +3,4 @@ import { json } from '@codemirror/lang-json';
|
|
|
3
3
|
import { xml } from '@codemirror/lang-xml';
|
|
4
4
|
import { javascript } from '@codemirror/lang-javascript';
|
|
5
5
|
import { java } from '@codemirror/lang-java';
|
|
6
|
-
export declare const
|
|
7
|
-
loadLang: () => Promise<typeof json | typeof xml | typeof javascript | typeof java>;
|
|
8
|
-
};
|
|
6
|
+
export declare const getLangLoader: (language: BentoCodeSnippetSupportedLanguage | `${BentoCodeSnippetSupportedLanguage}`) => () => Promise<typeof json | typeof xml | typeof javascript | typeof java>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { useCountryCapital } from './
|
|
2
|
-
export { useCountryName } from './
|
|
3
|
-
export { useCountryPhoneCode } from './
|
|
1
|
+
export { useCountryCapital } from './use-country-capital/use-country-capital';
|
|
2
|
+
export { useCountryName } from './use-country-name/use-country-name';
|
|
3
|
+
export { useCountryPhoneCode } from './use-country-phone-code/use-country-phon-code';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { MaybeRef } from "../../../../types";
|
|
2
|
-
export declare const useCountryCapital: (code: MaybeRef<string>, locale: MaybeRef<string>, useFallback?: boolean) => import("vue").ComputedRef<
|
|
2
|
+
export declare const useCountryCapital: (code: MaybeRef<string>, locale: MaybeRef<string>, useFallback?: boolean) => import("vue").ComputedRef<string>;
|
|
3
3
|
export default useCountryCapital;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { MaybeRef } from "../../../../types";
|
|
2
|
-
export declare const useCountryName: (code: MaybeRef<string>, locale: MaybeRef<string>, useFallback?: boolean) => import("vue").ComputedRef<
|
|
2
|
+
export declare const useCountryName: (code: MaybeRef<string>, locale: MaybeRef<string>, useFallback?: boolean) => import("vue").ComputedRef<string>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { MaybeRef } from "../../../../types";
|
|
2
|
-
export declare const useCountryPhoneCode: (countryCode: MaybeRef<string>) => import("vue").ComputedRef<
|
|
2
|
+
export declare const useCountryPhoneCode: (countryCode: MaybeRef<string>) => import("vue").ComputedRef<string>;
|
|
3
3
|
export default useCountryPhoneCode;
|
|
@@ -16,7 +16,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
validator: (value: BentoCountryVariant) => boolean;
|
|
17
17
|
};
|
|
18
18
|
}, {
|
|
19
|
-
countryName: import("vue").ComputedRef<
|
|
19
|
+
countryName: import("vue").ComputedRef<string>;
|
|
20
20
|
countryLabel: import("vue").Ref<string>;
|
|
21
21
|
isSummaryGridLayout: boolean;
|
|
22
22
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { BentoButtonActionObject } from "../../../button";
|
|
2
|
+
import type { BentoMenuItem } from "../../../menu/components";
|
|
3
|
+
import type { BentoDatagridDataItem } from "../..";
|
|
4
|
+
import { OmitStrict } from "../../../../types";
|
|
5
|
+
export type BentoColumnCellActionVariant = 'copy' | 'edit' | 'open' | 'more';
|
|
6
|
+
export type BentoColumnCellAction = OmitStrict<BentoButtonActionObject, 'variant' | 'event' | 'title' | 'icon' | 'state'> & {
|
|
7
|
+
title?: string;
|
|
8
|
+
event?: (rowDataItem: BentoDatagridDataItem, columnKey: string) => void;
|
|
9
|
+
isShort?: true;
|
|
10
|
+
variant?: BentoColumnCellActionVariant;
|
|
11
|
+
menuData?: BentoMenuItem[];
|
|
12
|
+
getCopyData?: (rowDataItem: BentoDatagridDataItem, columnKey: string) => string;
|
|
13
|
+
};
|
|
14
|
+
export type BentoColumnCellActions = BentoColumnCellAction[];
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoDatagridDataItem } from "../../data-grid.types";
|
|
3
|
+
import type { BentoColumnCellActions } from './data-grid-cell-actions.types';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
cellActions: {
|
|
6
|
+
type: PropType<BentoColumnCellActions>;
|
|
7
|
+
required: true;
|
|
8
|
+
validator: (value: BentoColumnCellActions) => boolean;
|
|
9
|
+
};
|
|
10
|
+
columnKey: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
rowDataItem: {
|
|
15
|
+
type: PropType<BentoDatagridDataItem>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
cellActions: {
|
|
20
|
+
type: PropType<BentoColumnCellActions>;
|
|
21
|
+
required: true;
|
|
22
|
+
validator: (value: BentoColumnCellActions) => boolean;
|
|
23
|
+
};
|
|
24
|
+
columnKey: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
rowDataItem: {
|
|
29
|
+
type: PropType<BentoDatagridDataItem>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
}>>, {}>;
|
|
33
|
+
export default _default;
|
|
@@ -4,6 +4,7 @@ export declare enum DatagridColumnsEvent {
|
|
|
4
4
|
COLUMN_RESIZING = "column-resizing",
|
|
5
5
|
SORT = "sort",
|
|
6
6
|
SELECT_ALL_ROWS = "select-all-rows",
|
|
7
|
+
SELECT_ALL_ACROSS_PAGES = "select-all-across-pages",
|
|
7
8
|
COLUMN_MOVE = "column-move",
|
|
8
9
|
COLUMN_UPDATE = "column-update",
|
|
9
10
|
COLUMN_MENU_OPEN = "column-menu-open",
|
|
@@ -39,6 +39,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
39
|
type: PropType<BentoDatagridAllItemsSelectedState>;
|
|
40
40
|
default: any;
|
|
41
41
|
};
|
|
42
|
+
selectableAcrossPages: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
42
46
|
sortBy: {
|
|
43
47
|
type: PropType<BentoDatagridSortByColumn[]>;
|
|
44
48
|
default: () => any[];
|
|
@@ -67,12 +71,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
67
71
|
'b-data-grid-columns--config-settings-margin': boolean;
|
|
68
72
|
'b-data-grid-columns--frozen'?: undefined;
|
|
69
73
|
}>;
|
|
70
|
-
allItemsSelectedCheckboxState: import("vue").Ref<{
|
|
71
|
-
allItemsSelected: boolean;
|
|
72
|
-
isIndeterminate: boolean;
|
|
73
|
-
}>;
|
|
74
74
|
isSelectColumn: (column: BentoColumn) => boolean;
|
|
75
75
|
onAllRowSelect: (areAllItemsSelected: boolean) => void;
|
|
76
|
+
selectAllMenu: import("vue").ComputedRef<{
|
|
77
|
+
text: string;
|
|
78
|
+
handler: () => void;
|
|
79
|
+
}[]>;
|
|
76
80
|
conditionalSortDirectionClasses: (field: string, direction: BentoDatagridSortDirection) => {
|
|
77
81
|
'b-data-grid-columns__column-sort-icon--sorted': boolean;
|
|
78
82
|
};
|
|
@@ -100,6 +104,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
100
104
|
computeMenuPosition: (hasFirstColumnPanelRightAligned: any, index: any) => import("../../../popper-container").PopperContainerPositionExtended.BOTTOM_START | import("../../../popper-container").PopperContainerPositionExtended.BOTTOM_END;
|
|
101
105
|
BentoDatagridSortDirection: typeof BentoDatagridSortDirection;
|
|
102
106
|
DatagridColumnsEvent: typeof DatagridColumnsEvent;
|
|
107
|
+
t: import("vue-i18n-bridge").ComposerTranslation<import("../../../../utils/ts/i18n").i18nMessages, string, import("@intlify/core-base").RemoveIndexSignature<{
|
|
108
|
+
[x: string]: import("vue-i18n-bridge").LocaleMessageValue<import("vue-i18n-bridge").VueMessageType>;
|
|
109
|
+
}>, never, import("@intlify/core-base")._ResourcePath<{
|
|
110
|
+
[key: string]: string;
|
|
111
|
+
}>, import("@intlify/core-base")._ResourcePath<{
|
|
112
|
+
[key: string]: string;
|
|
113
|
+
}>> | ((key: "selectAll" | "freezeColumn" | "hideColumn" | "moveColumnLeft" | "moveColumnRight" | "selectPage" | "selectionMenu" | "showColumn" | "unfreezeColumn", values?: import("vue-i18n").default.Values) => string);
|
|
103
114
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, DatagridColumnsEvent[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
104
115
|
columns: {
|
|
105
116
|
type: PropType<BentoColumn[]>;
|
|
@@ -137,6 +148,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
137
148
|
type: PropType<BentoDatagridAllItemsSelectedState>;
|
|
138
149
|
default: any;
|
|
139
150
|
};
|
|
151
|
+
selectableAcrossPages: {
|
|
152
|
+
type: BooleanConstructor;
|
|
153
|
+
default: boolean;
|
|
154
|
+
};
|
|
140
155
|
sortBy: {
|
|
141
156
|
type: PropType<BentoDatagridSortByColumn[]>;
|
|
142
157
|
default: () => any[];
|
|
@@ -150,6 +165,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
150
165
|
hasFirstColumnPanelRightAligned: boolean;
|
|
151
166
|
isOnlyOneVisibleColumn: boolean;
|
|
152
167
|
allItemsSelectedState: BentoDatagridAllItemsSelectedState;
|
|
168
|
+
selectableAcrossPages: boolean;
|
|
153
169
|
sortBy: BentoDatagridSortByColumn[];
|
|
154
170
|
}>;
|
|
155
171
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { default as DataGridColumns } from './data-grid-columns/data-grid-columns.vue';
|
|
2
2
|
export { default as BentoDataGridConfigSettings } from './data-grid-config-settings/data-grid-config-settings.vue';
|
|
3
3
|
export { default as DataGridLazyLoad } from './data-grid-lazy-load/data-grid-lazy-load.vue';
|
|
4
|
+
export { default as DataGridCellActions } from './data-grid-cell-actions/data-grid-cell-actions.vue';
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export { useKeyboardNavigator } from './
|
|
6
|
-
export { useLazyLoading } from './
|
|
7
|
-
export { useColumnReorderer } from './
|
|
8
|
-
export { useConfigSettings } from './
|
|
1
|
+
export { useResizer } from './use-resizer';
|
|
2
|
+
export * from './use-calculate-column-width';
|
|
3
|
+
export { useSelector } from './use-selector';
|
|
4
|
+
export { useSorter } from './use-sorter';
|
|
5
|
+
export { useKeyboardNavigator } from './use-keyboard-navigator/use-keyboard-navigator';
|
|
6
|
+
export { useLazyLoading } from './use-lazy-loading/use-lazy-loading';
|
|
7
|
+
export { useColumnReorderer } from './use-column-reorderer/use-column-reorderer';
|
|
8
|
+
export { useConfigSettings } from './use-config-settings/use-config-settings';
|
|
9
|
+
export { useCalculateStickyElementHeight } from './use-calculate-sticky-element-height/use-calculate-sticky-element-height';
|
|
10
|
+
export { useScroller } from './use-scroller/use-scroller';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BentoColumn, BentoColumnWidthOverridesLookup, BentoDatagridData } from '../../data-grid.types';
|
|
2
|
-
import { CalculateColumnWidthOptions } from './
|
|
2
|
+
import { CalculateColumnWidthOptions } from './use-calculate-column-width.types';
|
|
3
3
|
import { MaybeRef } from "../../../../types";
|
|
4
4
|
export declare const DEFAULT_COLUMN_WIDTH = 100;
|
|
5
5
|
export declare const DEFAULT_COLUMN_MIN_WIDTH = 50;
|
|
@@ -25,6 +25,7 @@ export declare const useCalculateColumnWidth: (newColumns: MaybeRef<BentoColumn[
|
|
|
25
25
|
visible?: boolean;
|
|
26
26
|
mandatory?: boolean;
|
|
27
27
|
frozen?: boolean;
|
|
28
|
+
cellActions?: import("../../components/data-grid-cell-actions/data-grid-cell-actions.types").BentoColumnCellActions;
|
|
28
29
|
}[]>;
|
|
29
30
|
gridColumnWidthStyle: import("vue").ComputedRef<{
|
|
30
31
|
width: string;
|
|
@@ -32,4 +33,3 @@ export declare const useCalculateColumnWidth: (newColumns: MaybeRef<BentoColumn[
|
|
|
32
33
|
onColumnWidthOverride: (newColumnWidthOverridesLookup: BentoColumnWidthOverridesLookup) => void;
|
|
33
34
|
isMeasuringColumnWidths: import("vue").Ref<boolean>;
|
|
34
35
|
};
|
|
35
|
-
export default useCalculateColumnWidth;
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { MaybeRef } from "../../../../types";
|
|
2
|
+
import { BentoColumn } from '../../data-grid.types';
|
|
3
|
+
import type { SetupContext } from 'vue/types/v3-setup-context';
|
|
4
|
+
export declare const useColumnReorderer: (columnsRef: MaybeRef<BentoColumn[]>, hasDraggableColumnsRef: MaybeRef<boolean>, emit: SetupContext['emit']) => {
|
|
5
|
+
draggingColumns: {
|
|
6
|
+
dragging?: {
|
|
7
|
+
field: string;
|
|
8
|
+
label: string;
|
|
9
|
+
width?: number;
|
|
10
|
+
autoWidth?: boolean;
|
|
11
|
+
minWidth?: number;
|
|
12
|
+
flex?: number;
|
|
13
|
+
sortable?: boolean;
|
|
14
|
+
numeric?: boolean;
|
|
15
|
+
infoIconTooltip?: string;
|
|
16
|
+
padding?: {
|
|
17
|
+
left?: boolean;
|
|
18
|
+
right?: boolean;
|
|
19
|
+
};
|
|
20
|
+
overflow?: import("../../data-grid.types").BentoColumnOverflow;
|
|
21
|
+
visible?: boolean;
|
|
22
|
+
mandatory?: boolean;
|
|
23
|
+
frozen?: boolean;
|
|
24
|
+
cellActions?: {
|
|
25
|
+
link?: object;
|
|
26
|
+
type?: string;
|
|
27
|
+
condensed?: boolean;
|
|
28
|
+
critical?: boolean;
|
|
29
|
+
disabled?: boolean;
|
|
30
|
+
inverse?: boolean;
|
|
31
|
+
iconLeft?: object | Element | (object | Element)[];
|
|
32
|
+
iconRight?: object | Element | (object | Element)[];
|
|
33
|
+
title?: string;
|
|
34
|
+
event?: (rowDataItem: import("../../data-grid.types").BentoDatagridDataItem, columnKey: string) => void;
|
|
35
|
+
isShort?: true;
|
|
36
|
+
variant?: import("../../components/data-grid-cell-actions/data-grid-cell-actions.types").BentoColumnCellActionVariant;
|
|
37
|
+
menuData?: {
|
|
38
|
+
text: string;
|
|
39
|
+
handler: () => void;
|
|
40
|
+
secondaryText?: string;
|
|
41
|
+
items?: any[];
|
|
42
|
+
disabled?: boolean;
|
|
43
|
+
chevron?: boolean;
|
|
44
|
+
icon?: object | Element | (object | Element)[];
|
|
45
|
+
critical?: boolean;
|
|
46
|
+
indent?: boolean;
|
|
47
|
+
addDivider?: boolean;
|
|
48
|
+
}[];
|
|
49
|
+
getCopyData?: (rowDataItem: import("../../data-grid.types").BentoDatagridDataItem, columnKey: string) => string;
|
|
50
|
+
}[];
|
|
51
|
+
};
|
|
52
|
+
dragToLeft?: boolean;
|
|
53
|
+
target?: {
|
|
54
|
+
field: string;
|
|
55
|
+
label: string;
|
|
56
|
+
width?: number;
|
|
57
|
+
autoWidth?: boolean;
|
|
58
|
+
minWidth?: number;
|
|
59
|
+
flex?: number;
|
|
60
|
+
sortable?: boolean;
|
|
61
|
+
numeric?: boolean;
|
|
62
|
+
infoIconTooltip?: string;
|
|
63
|
+
padding?: {
|
|
64
|
+
left?: boolean;
|
|
65
|
+
right?: boolean;
|
|
66
|
+
};
|
|
67
|
+
overflow?: import("../../data-grid.types").BentoColumnOverflow;
|
|
68
|
+
visible?: boolean;
|
|
69
|
+
mandatory?: boolean;
|
|
70
|
+
frozen?: boolean;
|
|
71
|
+
cellActions?: {
|
|
72
|
+
link?: object;
|
|
73
|
+
type?: string;
|
|
74
|
+
condensed?: boolean;
|
|
75
|
+
critical?: boolean;
|
|
76
|
+
disabled?: boolean;
|
|
77
|
+
inverse?: boolean;
|
|
78
|
+
iconLeft?: object | Element | (object | Element)[];
|
|
79
|
+
iconRight?: object | Element | (object | Element)[];
|
|
80
|
+
title?: string;
|
|
81
|
+
event?: (rowDataItem: import("../../data-grid.types").BentoDatagridDataItem, columnKey: string) => void;
|
|
82
|
+
isShort?: true;
|
|
83
|
+
variant?: import("../../components/data-grid-cell-actions/data-grid-cell-actions.types").BentoColumnCellActionVariant;
|
|
84
|
+
menuData?: {
|
|
85
|
+
text: string;
|
|
86
|
+
handler: () => void;
|
|
87
|
+
secondaryText?: string;
|
|
88
|
+
items?: any[];
|
|
89
|
+
disabled?: boolean;
|
|
90
|
+
chevron?: boolean;
|
|
91
|
+
icon?: object | Element | (object | Element)[];
|
|
92
|
+
critical?: boolean;
|
|
93
|
+
indent?: boolean;
|
|
94
|
+
addDivider?: boolean;
|
|
95
|
+
}[];
|
|
96
|
+
getCopyData?: (rowDataItem: import("../../data-grid.types").BentoDatagridDataItem, columnKey: string) => string;
|
|
97
|
+
}[];
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
draggingEventsForColumns: import("vue").ComputedRef<{
|
|
101
|
+
"column-dragstart"?: undefined;
|
|
102
|
+
"column-dragenter"?: undefined;
|
|
103
|
+
"column-drop"?: undefined;
|
|
104
|
+
"column-dragend"?: undefined;
|
|
105
|
+
} | {
|
|
106
|
+
"column-dragstart": (column: BentoColumn, e: DragEvent & Event) => void;
|
|
107
|
+
"column-dragenter": (column: BentoColumn, dragEvent: DragEvent) => void;
|
|
108
|
+
"column-drop": (column: BentoColumn) => void;
|
|
109
|
+
"column-dragend": () => void;
|
|
110
|
+
}>;
|
|
111
|
+
draggingEventsForRowCell: import("vue").ComputedRef<(column: BentoColumn) => {
|
|
112
|
+
dragenter?: undefined;
|
|
113
|
+
drop?: undefined;
|
|
114
|
+
dragover?: undefined;
|
|
115
|
+
} | {
|
|
116
|
+
dragenter: (e: DragEvent) => void;
|
|
117
|
+
drop: () => void;
|
|
118
|
+
dragover: (e: DragEvent) => void;
|
|
119
|
+
}>;
|
|
120
|
+
onMoveColumnByOffset: (movingColumn: BentoColumn, offset?: number) => void;
|
|
121
|
+
};
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { MaybeRef } from "../../../../types";
|
|
2
|
+
import { BentoColumn } from '../../data-grid.types';
|
|
3
|
+
import type { SetupContext } from 'vue/types/v3-setup-context';
|
|
4
|
+
export declare const useConfigSettings: (columnsRef: MaybeRef<BentoColumn[]>, emit: SetupContext['emit']) => {
|
|
5
|
+
columnSets: import("vue").ComputedRef<({
|
|
6
|
+
columnSet: (BentoColumn | {
|
|
7
|
+
field: string;
|
|
8
|
+
label: string;
|
|
9
|
+
width?: number;
|
|
10
|
+
autoWidth?: boolean;
|
|
11
|
+
minWidth?: number;
|
|
12
|
+
flex?: number;
|
|
13
|
+
sortable?: boolean;
|
|
14
|
+
numeric?: boolean;
|
|
15
|
+
infoIconTooltip?: string;
|
|
16
|
+
padding?: {
|
|
17
|
+
left?: boolean;
|
|
18
|
+
right?: boolean;
|
|
19
|
+
};
|
|
20
|
+
overflow?: import("../../data-grid.types").BentoColumnOverflow;
|
|
21
|
+
visible?: boolean;
|
|
22
|
+
mandatory?: boolean;
|
|
23
|
+
frozen?: boolean;
|
|
24
|
+
cellActions?: {
|
|
25
|
+
link?: object;
|
|
26
|
+
type?: string;
|
|
27
|
+
condensed?: boolean;
|
|
28
|
+
critical?: boolean;
|
|
29
|
+
disabled?: boolean;
|
|
30
|
+
inverse?: boolean;
|
|
31
|
+
iconLeft?: object | Element | (object | Element)[];
|
|
32
|
+
iconRight?: object | Element | (object | Element)[];
|
|
33
|
+
title?: string;
|
|
34
|
+
event?: (rowDataItem: import("../../data-grid.types").BentoDatagridDataItem, columnKey: string) => void;
|
|
35
|
+
isShort?: true;
|
|
36
|
+
variant?: import("../../components/data-grid-cell-actions/data-grid-cell-actions.types").BentoColumnCellActionVariant;
|
|
37
|
+
menuData?: {
|
|
38
|
+
text: string;
|
|
39
|
+
handler: () => void;
|
|
40
|
+
secondaryText?: string;
|
|
41
|
+
items?: any[];
|
|
42
|
+
disabled?: boolean;
|
|
43
|
+
chevron?: boolean;
|
|
44
|
+
icon?: object | Element | (object | Element)[];
|
|
45
|
+
critical?: boolean;
|
|
46
|
+
indent?: boolean;
|
|
47
|
+
addDivider?: boolean;
|
|
48
|
+
}[];
|
|
49
|
+
getCopyData?: (rowDataItem: import("../../data-grid.types").BentoDatagridDataItem, columnKey: string) => string;
|
|
50
|
+
}[];
|
|
51
|
+
})[];
|
|
52
|
+
id: string;
|
|
53
|
+
isFrozenColumns: boolean;
|
|
54
|
+
} | {
|
|
55
|
+
columnSet: (BentoColumn | {
|
|
56
|
+
field: string;
|
|
57
|
+
label: string;
|
|
58
|
+
width?: number;
|
|
59
|
+
autoWidth?: boolean;
|
|
60
|
+
minWidth?: number;
|
|
61
|
+
flex?: number;
|
|
62
|
+
sortable?: boolean;
|
|
63
|
+
numeric?: boolean;
|
|
64
|
+
infoIconTooltip?: string;
|
|
65
|
+
padding?: {
|
|
66
|
+
left?: boolean;
|
|
67
|
+
right?: boolean;
|
|
68
|
+
};
|
|
69
|
+
overflow?: import("../../data-grid.types").BentoColumnOverflow;
|
|
70
|
+
visible?: boolean;
|
|
71
|
+
mandatory?: boolean;
|
|
72
|
+
frozen?: boolean;
|
|
73
|
+
cellActions?: {
|
|
74
|
+
link?: object;
|
|
75
|
+
type?: string;
|
|
76
|
+
condensed?: boolean;
|
|
77
|
+
critical?: boolean;
|
|
78
|
+
disabled?: boolean;
|
|
79
|
+
inverse?: boolean;
|
|
80
|
+
iconLeft?: object | Element | (object | Element)[];
|
|
81
|
+
iconRight?: object | Element | (object | Element)[];
|
|
82
|
+
title?: string;
|
|
83
|
+
event?: (rowDataItem: import("../../data-grid.types").BentoDatagridDataItem, columnKey: string) => void;
|
|
84
|
+
isShort?: true;
|
|
85
|
+
variant?: import("../../components/data-grid-cell-actions/data-grid-cell-actions.types").BentoColumnCellActionVariant;
|
|
86
|
+
menuData?: {
|
|
87
|
+
text: string;
|
|
88
|
+
handler: () => void;
|
|
89
|
+
secondaryText?: string;
|
|
90
|
+
items?: any[];
|
|
91
|
+
disabled?: boolean;
|
|
92
|
+
chevron?: boolean;
|
|
93
|
+
icon?: object | Element | (object | Element)[];
|
|
94
|
+
critical?: boolean;
|
|
95
|
+
indent?: boolean;
|
|
96
|
+
addDivider?: boolean;
|
|
97
|
+
}[];
|
|
98
|
+
getCopyData?: (rowDataItem: import("../../data-grid.types").BentoDatagridDataItem, columnKey: string) => string;
|
|
99
|
+
}[];
|
|
100
|
+
})[];
|
|
101
|
+
id: string;
|
|
102
|
+
isFrozenColumns?: undefined;
|
|
103
|
+
})[]>;
|
|
104
|
+
isOnlyOneVisibleColumn: import("vue").ComputedRef<boolean>;
|
|
105
|
+
sortedColumns: import("vue").ComputedRef<(BentoColumn | {
|
|
106
|
+
field: string;
|
|
107
|
+
label: string;
|
|
108
|
+
width?: number;
|
|
109
|
+
autoWidth?: boolean;
|
|
110
|
+
minWidth?: number;
|
|
111
|
+
flex?: number;
|
|
112
|
+
sortable?: boolean;
|
|
113
|
+
numeric?: boolean;
|
|
114
|
+
infoIconTooltip?: string;
|
|
115
|
+
padding?: {
|
|
116
|
+
left?: boolean;
|
|
117
|
+
right?: boolean;
|
|
118
|
+
};
|
|
119
|
+
overflow?: import("../../data-grid.types").BentoColumnOverflow;
|
|
120
|
+
visible?: boolean;
|
|
121
|
+
mandatory?: boolean;
|
|
122
|
+
frozen?: boolean;
|
|
123
|
+
cellActions?: {
|
|
124
|
+
link?: object;
|
|
125
|
+
type?: string;
|
|
126
|
+
condensed?: boolean;
|
|
127
|
+
critical?: boolean;
|
|
128
|
+
disabled?: boolean;
|
|
129
|
+
inverse?: boolean;
|
|
130
|
+
iconLeft?: object | Element | (object | Element)[];
|
|
131
|
+
iconRight?: object | Element | (object | Element)[];
|
|
132
|
+
title?: string;
|
|
133
|
+
event?: (rowDataItem: import("../../data-grid.types").BentoDatagridDataItem, columnKey: string) => void;
|
|
134
|
+
isShort?: true;
|
|
135
|
+
variant?: import("../../components/data-grid-cell-actions/data-grid-cell-actions.types").BentoColumnCellActionVariant;
|
|
136
|
+
menuData?: {
|
|
137
|
+
text: string;
|
|
138
|
+
handler: () => void;
|
|
139
|
+
secondaryText?: string;
|
|
140
|
+
items?: any[];
|
|
141
|
+
disabled?: boolean;
|
|
142
|
+
chevron?: boolean;
|
|
143
|
+
icon?: object | Element | (object | Element)[];
|
|
144
|
+
critical?: boolean;
|
|
145
|
+
indent?: boolean;
|
|
146
|
+
addDivider?: boolean;
|
|
147
|
+
}[];
|
|
148
|
+
getCopyData?: (rowDataItem: import("../../data-grid.types").BentoDatagridDataItem, columnKey: string) => string;
|
|
149
|
+
}[];
|
|
150
|
+
})[]>;
|
|
151
|
+
onConfigSettingsUpdate: (isCondensedView: boolean) => void;
|
|
152
|
+
onConfigSettingsColumnsUpdate: (newColumns: BentoColumn[]) => void;
|
|
153
|
+
onConfigSettingsColumnUpdate: (updatedColumn: BentoColumn) => void;
|
|
154
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import { BentoDatagridNavigationKeyCode } from './
|
|
2
|
+
import { BentoDatagridNavigationKeyCode } from './use-keyboard-navigator.types';
|
|
3
3
|
import type { BentoColumn } from '../../data-grid.types';
|
|
4
4
|
export declare const useKeyboardNavigator: (gridcellRefs: Ref<{
|
|
5
5
|
[key: string]: HTMLDivElement[];
|
|
@@ -2,5 +2,5 @@ import { Ref } from 'vue';
|
|
|
2
2
|
export declare const useScroller: (body: Ref<HTMLDivElement>, columnsRef: Ref<HTMLDivElement>, verticalScrollPosition: Ref<number>) => {
|
|
3
3
|
scrollLeftPosition: Ref<number>;
|
|
4
4
|
updateScrollPosition: (event: Event) => void;
|
|
5
|
-
updateScrollPositionOnFrozenColumnsNavigation: () => void;
|
|
5
|
+
updateScrollPositionOnFrozenColumnsNavigation: (event: KeyboardEvent) => void;
|
|
6
6
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { BentoDatagridData, BentoDatagridDataItemId, BentoDatagridGetDataItemIdFn, BentoDatagridIsDataItemDisabledFn } from '../data-grid.types';
|
|
3
3
|
export declare const useSelector: (selection: Ref<BentoDatagridDataItemId[]>, emit: (event: string, emitedSelectedItems: BentoDatagridDataItemId[]) => void, data: Ref<BentoDatagridData>, getDataItemId: BentoDatagridGetDataItemIdFn, isDataItemDisabled: BentoDatagridIsDataItemDisabledFn) => {
|
|
4
|
-
onAllRowSelect: (
|
|
4
|
+
onAllRowSelect: (selectAllItems: boolean) => void;
|
|
5
5
|
onRowSelect: (value: BentoDatagridDataItemId[]) => void;
|
|
6
6
|
allItemsSelectedState: {
|
|
7
7
|
allItemsSelected: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { BentoPagination } from "../pagination";
|
|
2
|
-
import { BentoEmptyState } from "../empty-state";
|
|
1
|
+
import type { BentoPagination } from "../pagination";
|
|
2
|
+
import type { BentoEmptyState } from "../empty-state";
|
|
3
|
+
import type { BentoColumnCellActions } from './components/data-grid-cell-actions/data-grid-cell-actions.types';
|
|
3
4
|
export declare enum BentoColumnOverflow {
|
|
4
5
|
WRAP = "wrap",
|
|
5
6
|
ELLIPSIS = "ellipsis"
|
|
@@ -22,6 +23,7 @@ export interface BentoColumn {
|
|
|
22
23
|
visible?: boolean;
|
|
23
24
|
mandatory?: boolean;
|
|
24
25
|
frozen?: boolean;
|
|
26
|
+
cellActions?: BentoColumnCellActions;
|
|
25
27
|
}
|
|
26
28
|
export declare enum BentoDatagridStyleState {
|
|
27
29
|
OUTLINE = "outline",
|
|
@@ -73,6 +75,7 @@ export declare enum BentoDatagridEvent {
|
|
|
73
75
|
UPDATE_SORT_BY = "update:sort-by",
|
|
74
76
|
ROW_CLICK = "row-click",
|
|
75
77
|
SELECT = "select",
|
|
78
|
+
SELECT_ALL_ACROSS_PAGES = "select-all-across-pages",
|
|
76
79
|
SORT = "sort"
|
|
77
80
|
}
|
|
78
81
|
export declare enum BentoDatagridAriaSortValue {
|