@adyen/bento-vue3 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 +23 -2455
- 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 +21 -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 +15 -5
- package/dist/@types/packages/vue2/src/components/divider/divider.keys.d.ts +1 -0
- 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 +16 -6
- 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/composables/useDisplayValue.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +2355 -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/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 +51 -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 +11 -2
- 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 +316 -3
- package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +1 -1
- 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 +21 -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 +22 -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 +15 -2
- 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 +23 -23
- 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/index.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index21.css +1 -1
- package/dist/assets/index22.css +1 -1
- package/dist/assets/index23.css +1 -1
- package/dist/assets/index24.css +1 -1
- package/dist/assets/index25.css +1 -1
- package/dist/assets/index26.css +1 -1
- package/dist/assets/index27.css +1 -1
- package/dist/assets/index28.css +1 -1
- package/dist/assets/index29.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index30.css +1 -1
- package/dist/assets/index31.css +1 -1
- package/dist/assets/index32.css +1 -1
- package/dist/assets/index33.css +1 -1
- package/dist/assets/index34.css +1 -1
- package/dist/assets/index35.css +1 -1
- package/dist/assets/index36.css +1 -1
- package/dist/assets/index37.css +1 -1
- package/dist/assets/index38.css +1 -1
- package/dist/assets/index39.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index40.css +1 -1
- package/dist/assets/index41.css +1 -1
- package/dist/assets/index42.css +1 -1
- package/dist/assets/index43.css +1 -1
- package/dist/assets/index44.css +1 -1
- package/dist/assets/index45.css +1 -1
- package/dist/assets/index46.css +1 -1
- package/dist/assets/index47.css +1 -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/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/badge.js +1 -1
- package/dist/button.js +57 -46
- package/dist/button.js.map +1 -1
- package/dist/card.js +2 -2
- package/dist/checkbox.js +73 -54
- package/dist/checkbox.js.map +1 -1
- package/dist/chunks/{base-button.aa085dfa.js → base-button.39fae75f.js} +2 -2
- package/dist/chunks/{base-button.aa085dfa.js.map → base-button.39fae75f.js.map} +1 -1
- package/dist/chunks/{base-modal.a629cb32.js → base-modal.161ce8f0.js} +86 -86
- package/dist/chunks/base-modal.161ce8f0.js.map +1 -0
- package/dist/chunks/{button-actions-with-menu.f6dfb14d.js → button-actions-with-menu.2ff339f6.js} +3 -3
- package/dist/chunks/{button-actions-with-menu.f6dfb14d.js.map → button-actions-with-menu.2ff339f6.js.map} +1 -1
- package/dist/chunks/button.623a46d2.js +118 -0
- package/dist/chunks/button.623a46d2.js.map +1 -0
- package/dist/chunks/{calendar.fa7712e8.js → calendar.b1d05580.js} +4 -4
- package/dist/chunks/{calendar.fa7712e8.js.map → calendar.b1d05580.js.map} +1 -1
- package/dist/chunks/checkbox.d65694f2.js +278 -0
- package/dist/chunks/checkbox.d65694f2.js.map +1 -0
- package/dist/chunks/{controls-group.d6543674.js → controls-group.30352ce4.js} +21 -17
- package/dist/chunks/controls-group.30352ce4.js.map +1 -0
- package/dist/chunks/copy.2a9cddc1.js +145 -0
- package/dist/chunks/copy.2a9cddc1.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/{dropdown-default-textbox.4108b289.js → dropdown-default-textbox.a731b5fb.js} +25 -25
- package/dist/chunks/dropdown-default-textbox.a731b5fb.js.map +1 -0
- package/dist/chunks/{dropdown.63de9aac.js → dropdown.96431c25.js} +399 -359
- package/dist/chunks/dropdown.96431c25.js.map +1 -0
- package/dist/chunks/{field-label.3c19a29a.js → field-label.b681234d.js} +5 -5
- package/dist/chunks/{field-label.3c19a29a.js.map → field-label.b681234d.js.map} +1 -1
- package/dist/chunks/{fixed-scroller.bced60dd.js → fixed-scroller.ebfb2f80.js} +2 -2
- package/dist/chunks/{fixed-scroller.bced60dd.js.map → fixed-scroller.ebfb2f80.js.map} +1 -1
- package/dist/chunks/{footer-actions.cefaf1e2.js → footer-actions.03015ba1.js} +3 -3
- package/dist/chunks/{footer-actions.cefaf1e2.js.map → footer-actions.03015ba1.js.map} +1 -1
- package/dist/chunks/{index.98174339.js → index.03605cb0.js} +5 -5
- package/dist/chunks/{index.98174339.js.map → index.03605cb0.js.map} +1 -1
- package/dist/chunks/index.09f7f1b5.js +124 -0
- package/dist/chunks/index.09f7f1b5.js.map +1 -0
- package/dist/chunks/index.0a8ddfaa.js +168 -0
- package/dist/chunks/index.0a8ddfaa.js.map +1 -0
- package/dist/chunks/index.113137fb.js +21 -0
- package/dist/chunks/index.113137fb.js.map +1 -0
- package/dist/chunks/{index.89dfe209.js → index.1dac266a.js} +3 -3
- package/dist/chunks/{index.89dfe209.js.map → index.1dac266a.js.map} +1 -1
- package/dist/chunks/{index.0ee895e0.js → index.45d00aad.js} +2 -2
- package/dist/chunks/{index.0ee895e0.js.map → index.45d00aad.js.map} +1 -1
- package/dist/chunks/{index.4d2a13e1.js → index.80078bf9.js} +2 -2
- package/dist/chunks/{index.4d2a13e1.js.map → index.80078bf9.js.map} +1 -1
- package/dist/chunks/{index.85832db5.js → index.a4a6e52f.js} +3 -3
- package/dist/chunks/{index.85832db5.js.map → index.a4a6e52f.js.map} +1 -1
- package/dist/chunks/index.cf561336.js +622 -0
- package/dist/chunks/index.cf561336.js.map +1 -0
- package/dist/chunks/{index.c6fecf1c.js → index.ef1c4d59.js} +33 -33
- package/dist/chunks/{index.c6fecf1c.js.map → index.ef1c4d59.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.b1eb32bd.js → listbox-option-tag.ff6d6f32.js} +3 -3
- package/dist/chunks/{listbox-option-tag.b1eb32bd.js.map → listbox-option-tag.ff6d6f32.js.map} +1 -1
- package/dist/chunks/listbox.dd9883c5.js +1419 -0
- package/dist/chunks/listbox.dd9883c5.js.map +1 -0
- package/dist/chunks/{loading-button.4b88e24d.js → loading-button.30c5fede.js} +19 -19
- package/dist/chunks/{loading-button.4b88e24d.js.map → loading-button.30c5fede.js.map} +1 -1
- package/dist/chunks/{tooltip.27c32d36.js → tooltip.785993dd.js} +15 -15
- package/dist/chunks/tooltip.785993dd.js.map +1 -0
- package/dist/chunks/use-has-slot.4d98bf29.js.map +1 -1
- package/dist/chunks/useCountryItems.d2a1f224.js +29 -0
- package/dist/chunks/{useCountryItems.e83ef8f0.js.map → useCountryItems.d2a1f224.js.map} +1 -1
- package/dist/code-snippet.js +136 -138
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +51 -5912
- package/dist/country.js.map +1 -1
- package/dist/currency.js +1 -1
- package/dist/data-grid.js +1325 -1021
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +20 -20
- package/dist/date-picker.js.map +1 -1
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +2 -10
- package/dist/divider.js.map +1 -1
- package/dist/dropdown.js +51 -50
- package/dist/dropdown.js.map +1 -1
- package/dist/empty-state.js +23 -23
- package/dist/empty-state.js.map +1 -1
- package/dist/filter-bar.js +759 -747
- 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 +194 -185
- 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 +67 -64
- package/dist/modal.js.map +1 -1
- package/dist/pagination.js +15 -13
- 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 +69 -67
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +8 -8
- package/dist/secondary-nav.js +110 -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 +173 -161
- package/dist/textarea.js.map +1 -1
- package/dist/timeline.js +244 -237
- package/dist/timeline.js.map +1 -1
- package/dist/toast.js +3 -3
- package/dist/toggle.js +2 -2
- package/dist/tutorial.js +5 -5
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +2 -2
- 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.a629cb32.js.map +0 -1
- package/dist/chunks/button.82ed953e.js +0 -148
- package/dist/chunks/button.82ed953e.js.map +0 -1
- package/dist/chunks/checkbox.731dc0ab.js +0 -264
- package/dist/chunks/checkbox.731dc0ab.js.map +0 -1
- package/dist/chunks/controls-group.d6543674.js.map +0 -1
- package/dist/chunks/copy.330d594e.js +0 -126
- package/dist/chunks/copy.330d594e.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.4108b289.js.map +0 -1
- package/dist/chunks/dropdown.63de9aac.js.map +0 -1
- package/dist/chunks/index.73ed22a7.js +0 -594
- package/dist/chunks/index.73ed22a7.js.map +0 -1
- package/dist/chunks/index.75f3672e.js +0 -124
- package/dist/chunks/index.75f3672e.js.map +0 -1
- package/dist/chunks/index.edcaf766.js +0 -150
- package/dist/chunks/index.edcaf766.js.map +0 -1
- package/dist/chunks/listbox.ac43f8ab.js +0 -1309
- package/dist/chunks/listbox.ac43f8ab.js.map +0 -1
- package/dist/chunks/tooltip.27c32d36.js.map +0 -1
- package/dist/chunks/useCountryItems.e83ef8f0.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("../../../../../../vue3/n
|
|
|
14
14
|
default: boolean;
|
|
15
15
|
};
|
|
16
16
|
state: {
|
|
17
|
-
type: PropType<"start" |
|
|
17
|
+
type: PropType<"start" | "success" | BentoLoadingButtonState | "loading" | "fail">;
|
|
18
18
|
default: BentoLoadingButtonState;
|
|
19
19
|
validator: (value: BentoLoadingButtonState) => boolean;
|
|
20
20
|
};
|
|
@@ -39,7 +39,7 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../vue3/n
|
|
|
39
39
|
default: boolean;
|
|
40
40
|
};
|
|
41
41
|
state: {
|
|
42
|
-
type: PropType<"start" |
|
|
42
|
+
type: PropType<"start" | "success" | BentoLoadingButtonState | "loading" | "fail">;
|
|
43
43
|
default: BentoLoadingButtonState;
|
|
44
44
|
validator: (value: BentoLoadingButtonState) => boolean;
|
|
45
45
|
};
|
|
@@ -55,7 +55,7 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../vue3/n
|
|
|
55
55
|
condensed: any;
|
|
56
56
|
disabled: any;
|
|
57
57
|
inverse: boolean;
|
|
58
|
-
state: "start" |
|
|
58
|
+
state: "start" | "success" | BentoLoadingButtonState | "loading" | "fail";
|
|
59
59
|
}>, {
|
|
60
60
|
default: (_: {}) => any;
|
|
61
61
|
}>;
|
|
@@ -61,6 +61,8 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
|
|
|
61
61
|
isChecked: import("../../../../vue3/node_modules/vue").ComputedRef<boolean>;
|
|
62
62
|
isIndeterminate: import("../../../../vue3/node_modules/vue").ComputedRef<boolean>;
|
|
63
63
|
shouldShowErrorMessage: import("../../../../vue3/node_modules/vue").ComputedRef<boolean>;
|
|
64
|
+
contentSlotAvailable: import("../../../../vue3/node_modules/vue").ComputedRef<boolean>;
|
|
65
|
+
hasContentSlot: import("../../../../vue3/node_modules/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("../../../../../../vue3/node_modules/vue").Define
|
|
|
73
73
|
validator: (value: BentoCheckboxGroupVariant) => boolean;
|
|
74
74
|
};
|
|
75
75
|
}, {
|
|
76
|
+
COMPONENT_NAME: string;
|
|
76
77
|
errorId: string;
|
|
77
78
|
isReadOnly: import("../../../../../../vue3/node_modules/vue").ComputedRef<boolean>;
|
|
78
79
|
shouldShowGroupError: import("../../../../../../vue3/node_modules/vue").ComputedRef<boolean>;
|
|
@@ -81,6 +82,7 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
|
|
|
81
82
|
'b-checkbox-group__checkboxes--horizontal': boolean;
|
|
82
83
|
}>;
|
|
83
84
|
inputValue: import("../../../../../../vue3/node_modules/vue").Ref<(string | number)[]>;
|
|
85
|
+
hasContentSlot: (name: any) => boolean;
|
|
84
86
|
onInput: (value: any) => void;
|
|
85
87
|
}, unknown, {}, {}, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, BentoCheckboxEvent[], BentoCheckboxEvent, import("../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
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("../../../../../../vue3/node_modules/vue").ComputedRef<
|
|
2
|
+
export declare const useCountryCapital: (code: MaybeRef<string>, locale: MaybeRef<string>, useFallback?: boolean) => import("../../../../../../vue3/node_modules/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("../../../../../../vue3/node_modules/vue").ComputedRef<
|
|
2
|
+
export declare const useCountryName: (code: MaybeRef<string>, locale: MaybeRef<string>, useFallback?: boolean) => import("../../../../../../vue3/node_modules/vue").ComputedRef<string>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { MaybeRef } from "../../../../types";
|
|
2
|
-
export declare const useCountryPhoneCode: (countryCode: MaybeRef<string>) => import("../../../../../../vue3/node_modules/vue").ComputedRef<
|
|
2
|
+
export declare const useCountryPhoneCode: (countryCode: MaybeRef<string>) => import("../../../../../../vue3/node_modules/vue").ComputedRef<string>;
|
|
3
3
|
export default useCountryPhoneCode;
|
|
@@ -16,7 +16,7 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
|
|
|
16
16
|
validator: (value: BentoCountryVariant) => boolean;
|
|
17
17
|
};
|
|
18
18
|
}, {
|
|
19
|
-
countryName: import("../../../../vue3/node_modules/vue").ComputedRef<
|
|
19
|
+
countryName: import("../../../../vue3/node_modules/vue").ComputedRef<string>;
|
|
20
20
|
countryLabel: import("../../../../vue3/node_modules/vue").Ref<string>;
|
|
21
21
|
isSummaryGridLayout: boolean;
|
|
22
22
|
}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, {}, string, import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
@@ -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 "../../../../../../vue3/node_modules/vue";
|
|
2
|
+
import { BentoDatagridDataItem } from "../../data-grid.types";
|
|
3
|
+
import type { BentoColumnCellActions } from './data-grid-cell-actions.types';
|
|
4
|
+
declare const _default: import("../../../../../../vue3/node_modules/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
|
+
}, {}, unknown, {}, {}, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, {}, string, import("../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
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("../../../../../../vue3/node_modules/vue").Define
|
|
|
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("../../../../../../vue3/node_modules/vue").Define
|
|
|
67
71
|
'b-data-grid-columns--config-settings-margin': boolean;
|
|
68
72
|
'b-data-grid-columns--frozen'?: undefined;
|
|
69
73
|
}>;
|
|
70
|
-
allItemsSelectedCheckboxState: import("../../../../../../vue3/node_modules/vue").Ref<{
|
|
71
|
-
allItemsSelected: boolean;
|
|
72
|
-
isIndeterminate: boolean;
|
|
73
|
-
}>;
|
|
74
74
|
isSelectColumn: (column: BentoColumn) => boolean;
|
|
75
75
|
onAllRowSelect: (areAllItemsSelected: boolean) => void;
|
|
76
|
+
selectAllMenu: import("../../../../../../vue3/node_modules/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("../../../../../../vue3/node_modules/vue").Define
|
|
|
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
|
}, unknown, {}, {}, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, DatagridColumnsEvent[], DatagridColumnsEvent, import("../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
104
115
|
columns: {
|
|
105
116
|
type: PropType<BentoColumn[]>;
|
|
@@ -137,6 +148,10 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
|
|
|
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[];
|
|
@@ -146,6 +161,7 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
|
|
|
146
161
|
"onColumn-resizing"?: (...args: any[]) => any;
|
|
147
162
|
onSort?: (...args: any[]) => any;
|
|
148
163
|
"onSelect-all-rows"?: (...args: any[]) => any;
|
|
164
|
+
"onSelect-all-across-pages"?: (...args: any[]) => any;
|
|
149
165
|
"onColumn-move"?: (...args: any[]) => any;
|
|
150
166
|
"onColumn-update"?: (...args: any[]) => any;
|
|
151
167
|
"onColumn-menu-open"?: (...args: any[]) => any;
|
|
@@ -163,6 +179,7 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
|
|
|
163
179
|
hasFirstColumnPanelRightAligned: boolean;
|
|
164
180
|
isOnlyOneVisibleColumn: boolean;
|
|
165
181
|
allItemsSelectedState: BentoDatagridAllItemsSelectedState;
|
|
182
|
+
selectableAcrossPages: boolean;
|
|
166
183
|
sortBy: BentoDatagridSortByColumn[];
|
|
167
184
|
}>;
|
|
168
185
|
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("../../../../../../vue3/node_modules/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("../../../../../../vue3/node_modules/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 "../../../../../../vue3/node_modules/vue";
|
|
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
|
+
type?: string;
|
|
26
|
+
link?: object;
|
|
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
|
+
type?: string;
|
|
73
|
+
link?: object;
|
|
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("../../../../../../vue3/node_modules/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("../../../../../../vue3/node_modules/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 "../../../../../../vue3/node_modules/vue";
|
|
4
|
+
export declare const useConfigSettings: (columnsRef: MaybeRef<BentoColumn[]>, emit: SetupContext['emit']) => {
|
|
5
|
+
columnSets: import("../../../../../../vue3/node_modules/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
|
+
type?: string;
|
|
26
|
+
link?: object;
|
|
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
|
+
type?: string;
|
|
75
|
+
link?: object;
|
|
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("../../../../../../vue3/node_modules/vue").ComputedRef<boolean>;
|
|
105
|
+
sortedColumns: import("../../../../../../vue3/node_modules/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
|
+
type?: string;
|
|
125
|
+
link?: object;
|
|
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 "../../../../../../vue3/node_modules/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 "../../../../../../vue3/node_modules/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 "../../../../../vue3/node_modules/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 {
|