@adyen/bento-vue3 1.42.0 → 1.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/composables/use-stack-buttons/use-stack-buttons.d.ts +10 -0
- package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +50 -32
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.vue.d.ts +15 -0
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-row/data-grid-row.vue.d.ts +1 -350
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-scroller/use-scroller.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-selector/use-selector.d.ts +3 -2
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +3 -0
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +36 -4
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +21 -15
- package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +56 -38
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +77 -53
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +6 -4
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +4 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +20 -12
- package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/file-uploader/file-uploader.types.d.ts +6 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +228 -180
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/base-filter.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue.d.ts +12 -12
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-filter/date-filter.vue.d.ts +27 -21
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +139 -97
- package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/filter-bar-button.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.vue.d.ts +15 -15
- package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/range-filter.vue.d.ts +15 -15
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +208 -160
- package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/input-field-password/input-field-password.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/button-actions-with-menu/button-actions-with-menu.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/internal/button-actions-with-menu/button-actions-with-menu.vue.d.ts +16 -1
- package/dist/@types/packages/vue2/src/components/internal/button-actions-with-menu/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/internal/checkbox-input/checkbox-input.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/field-label/field-label.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/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.vue.d.ts +3 -3
- 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 +6 -6
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +15 -15
- package/dist/@types/packages/vue2/src/components/internal/radio-input/radio-input.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/tooltip/tooltip.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item-list/menu-item-list.vue.d.ts +15 -0
- package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +48 -3
- 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-default/modal-default.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/modal/components/modal-page/modal-page.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/modal-fullscreen/components/modal-fullscreen-page.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/modal-fullscreen/modal-fullscreen.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/promo-banner/promo-banner.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/selection-card-group.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/sidepanel/components/sidepanel-page.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +6 -4
- package/dist/@types/packages/vue2/src/components/timeline/timeline.vue.d.ts +6 -4
- package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.d.ts +9 -6
- package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.types.d.ts +5 -1
- package/dist/action-bar.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions-with-menu.css +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/date-range-picker.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/header.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/menu.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/popover.css +1 -1
- package/dist/assets/selection-card-group.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/textarea.css +1 -1
- package/dist/assets/typography.css +1 -1
- package/dist/button.js +7 -8
- package/dist/button.js.map +1 -1
- package/dist/card.js +1 -1
- package/dist/chunks/{action-bar.C1Vu3qJu.js → action-bar.B-_JS43H.js} +11 -10
- package/dist/chunks/action-bar.B-_JS43H.js.map +1 -0
- package/dist/chunks/{base-modal.ku0lyHOs.js → base-modal.BR_pB6eH.js} +2 -2
- package/dist/chunks/{base-modal.ku0lyHOs.js.map → base-modal.BR_pB6eH.js.map} +1 -1
- package/dist/chunks/button-actions-with-menu.GT_kNv28.js +119 -0
- package/dist/chunks/button-actions-with-menu.GT_kNv28.js.map +1 -0
- package/dist/chunks/button-actions.BjlQS6tm.js +322 -0
- package/dist/chunks/button-actions.BjlQS6tm.js.map +1 -0
- package/dist/chunks/{card.D_XL2TWr.js → card.BrEfcUoE.js} +2 -2
- package/dist/chunks/{card.D_XL2TWr.js.map → card.BrEfcUoE.js.map} +1 -1
- package/dist/chunks/{code-snippet.CiOcZKKH.js → code-snippet.S5NdUu0p.js} +4 -4
- package/dist/chunks/{code-snippet.CiOcZKKH.js.map → code-snippet.S5NdUu0p.js.map} +1 -1
- package/dist/chunks/{dashboard-section.BCc8HoQG.js → dashboard-section.LWxBcOV_.js} +3 -3
- package/dist/chunks/{dashboard-section.BCc8HoQG.js.map → dashboard-section.LWxBcOV_.js.map} +1 -1
- package/dist/chunks/{dashed-underline.BKfUevuM.js → dashed-underline.CRlWNPrd.js} +2 -2
- package/dist/chunks/{dashed-underline.BKfUevuM.js.map → dashed-underline.CRlWNPrd.js.map} +1 -1
- package/dist/chunks/{data-grid-template.DI27ou71.js → data-grid-template.BZVeRN6g.js} +2 -2
- package/dist/chunks/{data-grid-template.DI27ou71.js.map → data-grid-template.BZVeRN6g.js.map} +1 -1
- package/dist/chunks/data-grid.CKDW-rbM.js +3374 -0
- package/dist/chunks/data-grid.CKDW-rbM.js.map +1 -0
- package/dist/chunks/{date-picker.DDsfecHp.js → date-picker.BrZ2X1nQ.js} +3 -3
- package/dist/chunks/{date-picker.DDsfecHp.js.map → date-picker.BrZ2X1nQ.js.map} +1 -1
- package/dist/chunks/{date-range-picker.C9Ht_Egi.js → date-range-picker.4y2goCI8.js} +204 -201
- package/dist/chunks/date-range-picker.4y2goCI8.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.CcRQ1f4U.js → dropdown-default-textbox.ZjVeMHVC.js} +131 -120
- package/dist/chunks/{dropdown-default-textbox.CcRQ1f4U.js.map → dropdown-default-textbox.ZjVeMHVC.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.Bc4qxPRN.js → dropdown-tag.ClKm4xAo.js} +2 -2
- package/dist/chunks/{dropdown-tag.Bc4qxPRN.js.map → dropdown-tag.ClKm4xAo.js.map} +1 -1
- package/dist/chunks/dropdown.Sj2OLuEF.js +911 -0
- package/dist/chunks/{dropdown.BqkUB1So.js.map → dropdown.Sj2OLuEF.js.map} +1 -1
- package/dist/chunks/es6.C-HLzYPA.js +11 -0
- package/dist/chunks/es6.C-HLzYPA.js.map +1 -0
- package/dist/chunks/{file-uploader.cRbwpcAw.js → file-uploader.BgRbkW2V.js} +368 -365
- package/dist/chunks/file-uploader.BgRbkW2V.js.map +1 -0
- package/dist/chunks/{filter-bar.DVLYNNwQ.js → filter-bar.CM1FZ02d.js} +19 -20
- package/dist/chunks/filter-bar.CM1FZ02d.js.map +1 -0
- package/dist/chunks/{footer-actions.DvIVWqWv.js → footer-actions.Dvsb0g5Y.js} +2 -2
- package/dist/chunks/{footer-actions.DvIVWqWv.js.map → footer-actions.Dvsb0g5Y.js.map} +1 -1
- package/dist/chunks/{header.C0NBlBJv.js → header.8BzBNgxj.js} +23 -23
- package/dist/chunks/{header.C0NBlBJv.js.map → header.8BzBNgxj.js.map} +1 -1
- package/dist/chunks/index.lHdwuJAx.js +366 -0
- package/dist/chunks/index.lHdwuJAx.js.map +1 -0
- package/dist/chunks/{input-field-password.BA0EpVMY.js → input-field-password.CXsERnQX.js} +4 -4
- package/dist/chunks/{input-field-password.BA0EpVMY.js.map → input-field-password.CXsERnQX.js.map} +1 -1
- package/dist/chunks/{input-field.CWMgbw48.js → input-field.C-7_iMIS.js} +2 -2
- package/dist/chunks/{input-field.CWMgbw48.js.map → input-field.C-7_iMIS.js.map} +1 -1
- package/dist/chunks/{layout-row.iTtAEvD2.js → layout-row.DcyZ3DP3.js} +2 -2
- package/dist/chunks/{layout-row.iTtAEvD2.js.map → layout-row.DcyZ3DP3.js.map} +1 -1
- package/dist/chunks/{menu.BpqOdkxR.js → menu.hDynz4lc.js} +132 -104
- package/dist/chunks/menu.hDynz4lc.js.map +1 -0
- package/dist/chunks/{modal-fullscreen.DtgTb1Xh.js → modal-fullscreen.BCGaxVNb.js} +2 -2
- package/dist/chunks/{modal-fullscreen.DtgTb1Xh.js.map → modal-fullscreen.BCGaxVNb.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.CjD91zJo.js → modal.vue_vue_type_script_setup_true_lang.DJXx8ftn.js} +4 -4
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.CjD91zJo.js.map → modal.vue_vue_type_script_setup_true_lang.DJXx8ftn.js.map} +1 -1
- package/dist/chunks/{pagination.DrWx8K01.js → pagination.C9kqX5tD.js} +2 -2
- package/dist/chunks/{pagination.DrWx8K01.js.map → pagination.C9kqX5tD.js.map} +1 -1
- package/dist/chunks/{popover.D9Zw4w9l.js → popover.DwGgnCyn.js} +2 -2
- package/dist/chunks/{popover.D9Zw4w9l.js.map → popover.DwGgnCyn.js.map} +1 -1
- package/dist/chunks/{promo-banner.oUapgyV-.js → promo-banner.CzR9ri5v.js} +2 -2
- package/dist/chunks/{promo-banner.oUapgyV-.js.map → promo-banner.CzR9ri5v.js.map} +1 -1
- package/dist/chunks/{search-bar.DDePObYJ.js → search-bar.DPC0amNg.js} +3 -3
- package/dist/chunks/{search-bar.DDePObYJ.js.map → search-bar.DPC0amNg.js.map} +1 -1
- package/dist/chunks/{secondary-nav.ysDOs9J9.js → secondary-nav.DH7aXddE.js} +4 -4
- package/dist/chunks/{secondary-nav.ysDOs9J9.js.map → secondary-nav.DH7aXddE.js.map} +1 -1
- package/dist/chunks/{selection-card-group.pUl1EuFV.js → selection-card-group.DDBJ423n.js} +13 -13
- package/dist/chunks/{selection-card-group.pUl1EuFV.js.map → selection-card-group.DDBJ423n.js.map} +1 -1
- package/dist/chunks/{sidepanel.BywianGe.js → sidepanel.8NclWh0V.js} +2 -2
- package/dist/chunks/{sidepanel.BywianGe.js.map → sidepanel.8NclWh0V.js.map} +1 -1
- package/dist/chunks/{teleport.CI0k6eaC.js → teleport.B255JhsV.js} +26 -17
- package/dist/chunks/teleport.B255JhsV.js.map +1 -0
- package/dist/chunks/{textarea.vAp6HFi9.js → textarea.D1weaQCC.js} +72 -68
- package/dist/chunks/{textarea.vAp6HFi9.js.map → textarea.D1weaQCC.js.map} +1 -1
- package/dist/chunks/{timeline-item.ND_EMuwP.js → timeline-item.BDYrjKhM.js} +3 -3
- package/dist/chunks/{timeline-item.ND_EMuwP.js.map → timeline-item.BDYrjKhM.js.map} +1 -1
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.LBw_ALfS.js → tutorial.vue_vue_type_script_setup_true_lang.ltZUbc6M.js} +4 -4
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.LBw_ALfS.js.map → tutorial.vue_vue_type_script_setup_true_lang.ltZUbc6M.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.DWVHnlNN.js → use-cached-selected-values.B6beyyvX.js} +7 -4
- package/dist/chunks/{use-cached-selected-values.DWVHnlNN.js.map → use-cached-selected-values.B6beyyvX.js.map} +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +1 -1
- package/dist/date-range-picker.js +1 -1
- package/dist/dropdown.js +4 -4
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +68 -69
- package/dist/index.js.map +1 -1
- package/dist/input-field-password.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/internal.js +28 -24
- package/dist/internal.js.map +1 -1
- package/dist/layout.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/pagination.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/promo-banner.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/styles/bento-dark.css +3 -0
- package/dist/styles/bento-light.css +3 -0
- package/dist/styles/bento.css +3 -0
- package/dist/styles/legacy.css +3 -0
- package/dist/styles/styleguide.css +3 -0
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +5 -3
- package/dist/@types/packages/vue2/src/components/button/button.demo.d.ts +0 -6
- package/dist/assets/loading-button.css +0 -1
- package/dist/chunks/action-bar.C1Vu3qJu.js.map +0 -1
- package/dist/chunks/button-actions-with-menu.Bn7Kdx4v.js +0 -106
- package/dist/chunks/button-actions-with-menu.Bn7Kdx4v.js.map +0 -1
- package/dist/chunks/button-actions.Bjfo46Q_.js +0 -150
- package/dist/chunks/button-actions.Bjfo46Q_.js.map +0 -1
- package/dist/chunks/data-grid.eX0SZIFQ.js +0 -3174
- package/dist/chunks/data-grid.eX0SZIFQ.js.map +0 -1
- package/dist/chunks/date-range-picker.C9Ht_Egi.js.map +0 -1
- package/dist/chunks/dropdown.BqkUB1So.js +0 -907
- package/dist/chunks/es6.b4enG1py.js +0 -10
- package/dist/chunks/es6.b4enG1py.js.map +0 -1
- package/dist/chunks/file-uploader.cRbwpcAw.js.map +0 -1
- package/dist/chunks/filter-bar.DVLYNNwQ.js.map +0 -1
- package/dist/chunks/index.Cwtxz7pr.js +0 -344
- package/dist/chunks/index.Cwtxz7pr.js.map +0 -1
- package/dist/chunks/loading-button.CNWhVIPK.js +0 -137
- package/dist/chunks/loading-button.CNWhVIPK.js.map +0 -1
- package/dist/chunks/menu.BpqOdkxR.js.map +0 -1
- package/dist/chunks/teleport.CI0k6eaC.js.map +0 -1
- package/dist/chunks/use-click-outside.D6aIgS15.js +0 -14
- package/dist/chunks/use-click-outside.D6aIgS15.js.map +0 -1
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
import { PropType } from "../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue";
|
|
2
|
-
import { BentoDatagridDataItem, BentoDatagridDataItemId, BentoDatagridGetDataItemIdFn, BentoDatagridIsDataItemDisabledFn, BentoDatagridShouldShowNestedContentFn } from "../../data-grid.types";
|
|
3
|
-
import type { DataGridCellColumnSet, DataGridCellDragEventsForColumn } from '../data-grid-cell/data-grid-cell.types';
|
|
4
|
-
import type { BentoDatagridDraggingColumnState } from '../data-grid-columns/data-grid-columns.types';
|
|
5
|
-
import type { DatagridColumnHoveringState } from "../../composables/use-column-hovering";
|
|
6
1
|
/**
|
|
7
2
|
* Internal component to display the BentoDataGrid data rows containig the data row cells.
|
|
8
3
|
*
|
|
@@ -42,349 +37,5 @@ import type { DatagridColumnHoveringState } from "../../composables/use-column-h
|
|
|
42
37
|
* </data-grid-row>
|
|
43
38
|
* `
|
|
44
39
|
*/
|
|
45
|
-
declare const _default:
|
|
46
|
-
/**
|
|
47
|
-
* When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
|
|
48
|
-
*/
|
|
49
|
-
allowRowClicks: {
|
|
50
|
-
type: BooleanConstructor;
|
|
51
|
-
default: boolean;
|
|
52
|
-
};
|
|
53
|
-
/**
|
|
54
|
-
* The columns sets including
|
|
55
|
-
*/
|
|
56
|
-
columnSets: {
|
|
57
|
-
type: PropType<DataGridCellColumnSet[]>;
|
|
58
|
-
required: true;
|
|
59
|
-
};
|
|
60
|
-
/**
|
|
61
|
-
* Sets the row cells to the condensed padding state.
|
|
62
|
-
*/
|
|
63
|
-
condensed: {
|
|
64
|
-
type: BooleanConstructor;
|
|
65
|
-
default: boolean;
|
|
66
|
-
};
|
|
67
|
-
/**
|
|
68
|
-
* Columns being dragged, contains dragging column and a target column
|
|
69
|
-
*/
|
|
70
|
-
draggingColumns: {
|
|
71
|
-
type: PropType<BentoDatagridDraggingColumnState>;
|
|
72
|
-
default: any;
|
|
73
|
-
};
|
|
74
|
-
/**
|
|
75
|
-
* Dragging event handlers for each row cell
|
|
76
|
-
*/
|
|
77
|
-
draggingEventsForRowCell: {
|
|
78
|
-
type: PropType<DataGridCellDragEventsForColumn>;
|
|
79
|
-
required: true;
|
|
80
|
-
};
|
|
81
|
-
/**
|
|
82
|
-
* A customisable method to retrieve a unique identifier for a data item in the array of data supplied.
|
|
83
|
-
* This is used selecting and performance reasons and must exist in each data item.
|
|
84
|
-
*/
|
|
85
|
-
getDataItemId: {
|
|
86
|
-
type: PropType<BentoDatagridGetDataItemIdFn>;
|
|
87
|
-
default: (item: BentoDatagridDataItem) => BentoDatagridDataItemId;
|
|
88
|
-
};
|
|
89
|
-
/**
|
|
90
|
-
* Set to true if the datagrid has been scrolled and the left side has overflowing space.
|
|
91
|
-
*/
|
|
92
|
-
hasLeftOverflow: {
|
|
93
|
-
type: BooleanConstructor;
|
|
94
|
-
default: boolean;
|
|
95
|
-
};
|
|
96
|
-
/**
|
|
97
|
-
* Enables the nested content slot functionality.
|
|
98
|
-
*/
|
|
99
|
-
hasNestedContent: {
|
|
100
|
-
type: BooleanConstructor;
|
|
101
|
-
default: boolean;
|
|
102
|
-
};
|
|
103
|
-
/**
|
|
104
|
-
* Highlighted row IDs.
|
|
105
|
-
*/
|
|
106
|
-
highlightedRows: {
|
|
107
|
-
type: PropType<BentoDatagridDataItemId[]>;
|
|
108
|
-
default: () => any[];
|
|
109
|
-
};
|
|
110
|
-
/**
|
|
111
|
-
* The row index of a currently hovered row.
|
|
112
|
-
*/
|
|
113
|
-
hoveredRowIndex: {
|
|
114
|
-
type: NumberConstructor;
|
|
115
|
-
default: number;
|
|
116
|
-
};
|
|
117
|
-
/**
|
|
118
|
-
* The column hovered over state and whether the hovered over column should show a border right or left.
|
|
119
|
-
*/
|
|
120
|
-
hoveredOverColumnState: {
|
|
121
|
-
type: PropType<DatagridColumnHoveringState>;
|
|
122
|
-
required: true;
|
|
123
|
-
};
|
|
124
|
-
/**
|
|
125
|
-
* A customisable method to determine if a row is not selectable.
|
|
126
|
-
* The default is that every row is selectable.
|
|
127
|
-
*/
|
|
128
|
-
isDataItemDisabled: {
|
|
129
|
-
type: PropType<BentoDatagridIsDataItemDisabledFn>;
|
|
130
|
-
default: () => boolean;
|
|
131
|
-
};
|
|
132
|
-
/**
|
|
133
|
-
* If the row is the last child in it's parent container.
|
|
134
|
-
*/
|
|
135
|
-
isRowLastChild: {
|
|
136
|
-
type: BooleanConstructor;
|
|
137
|
-
default: boolean;
|
|
138
|
-
};
|
|
139
|
-
/**
|
|
140
|
-
* If columns are being measured for the autoWidth functionality.
|
|
141
|
-
*/
|
|
142
|
-
isMeasuringColumnWidths: {
|
|
143
|
-
type: BooleanConstructor;
|
|
144
|
-
default: boolean;
|
|
145
|
-
};
|
|
146
|
-
/**
|
|
147
|
-
* The row data object
|
|
148
|
-
*/
|
|
149
|
-
rowData: {
|
|
150
|
-
type: PropType<BentoDatagridDataItem>;
|
|
151
|
-
required: true;
|
|
152
|
-
};
|
|
153
|
-
/**
|
|
154
|
-
* The row index.
|
|
155
|
-
*/
|
|
156
|
-
rowIndex: {
|
|
157
|
-
type: NumberConstructor;
|
|
158
|
-
required: true;
|
|
159
|
-
};
|
|
160
|
-
/**
|
|
161
|
-
* The number of rows that this row is within.
|
|
162
|
-
*/
|
|
163
|
-
rowSetSize: {
|
|
164
|
-
type: NumberConstructor;
|
|
165
|
-
default: number;
|
|
166
|
-
};
|
|
167
|
-
/**
|
|
168
|
-
* Determines whether to render frozen seperator on the row.
|
|
169
|
-
*/
|
|
170
|
-
showFrozenColumnsSeparator: {
|
|
171
|
-
type: BooleanConstructor;
|
|
172
|
-
default: boolean;
|
|
173
|
-
};
|
|
174
|
-
/**
|
|
175
|
-
* Determines if the row selection is enabled.
|
|
176
|
-
*/
|
|
177
|
-
selectable: {
|
|
178
|
-
type: BooleanConstructor;
|
|
179
|
-
default: boolean;
|
|
180
|
-
};
|
|
181
|
-
/**
|
|
182
|
-
* The array of IDs for the selected rows.
|
|
183
|
-
*/
|
|
184
|
-
selectedItems: {
|
|
185
|
-
type: PropType<BentoDatagridDataItemId[]>;
|
|
186
|
-
required: true;
|
|
187
|
-
};
|
|
188
|
-
/**
|
|
189
|
-
* Enables / Disables the nested-content slot
|
|
190
|
-
*/
|
|
191
|
-
shouldShowNestedContent: {
|
|
192
|
-
type: PropType<BentoDatagridShouldShowNestedContentFn>;
|
|
193
|
-
default: (_item: BentoDatagridDataItem) => true;
|
|
194
|
-
};
|
|
195
|
-
}>, {
|
|
196
|
-
gridcellRefs: import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").Ref<{
|
|
197
|
-
[key: string]: HTMLDivElement;
|
|
198
|
-
}, {
|
|
199
|
-
[key: string]: HTMLDivElement;
|
|
200
|
-
}>;
|
|
201
|
-
}, {}, {}, {}, import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentOptionsMixin, {
|
|
202
|
-
"cell-hovered": (value: number) => void;
|
|
203
|
-
} & {
|
|
204
|
-
"on-frozen-columns-key-press": (event: Event) => void;
|
|
205
|
-
} & {
|
|
206
|
-
"select-row": (value: BentoDatagridDataItemId[]) => void;
|
|
207
|
-
} & {
|
|
208
|
-
"row-click": (rowData: BentoDatagridDataItem, event: MouseEvent) => void;
|
|
209
|
-
}, string, import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").PublicProps, Readonly<import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ExtractPropTypes<{
|
|
210
|
-
/**
|
|
211
|
-
* When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
|
|
212
|
-
*/
|
|
213
|
-
allowRowClicks: {
|
|
214
|
-
type: BooleanConstructor;
|
|
215
|
-
default: boolean;
|
|
216
|
-
};
|
|
217
|
-
/**
|
|
218
|
-
* The columns sets including
|
|
219
|
-
*/
|
|
220
|
-
columnSets: {
|
|
221
|
-
type: PropType<DataGridCellColumnSet[]>;
|
|
222
|
-
required: true;
|
|
223
|
-
};
|
|
224
|
-
/**
|
|
225
|
-
* Sets the row cells to the condensed padding state.
|
|
226
|
-
*/
|
|
227
|
-
condensed: {
|
|
228
|
-
type: BooleanConstructor;
|
|
229
|
-
default: boolean;
|
|
230
|
-
};
|
|
231
|
-
/**
|
|
232
|
-
* Columns being dragged, contains dragging column and a target column
|
|
233
|
-
*/
|
|
234
|
-
draggingColumns: {
|
|
235
|
-
type: PropType<BentoDatagridDraggingColumnState>;
|
|
236
|
-
default: any;
|
|
237
|
-
};
|
|
238
|
-
/**
|
|
239
|
-
* Dragging event handlers for each row cell
|
|
240
|
-
*/
|
|
241
|
-
draggingEventsForRowCell: {
|
|
242
|
-
type: PropType<DataGridCellDragEventsForColumn>;
|
|
243
|
-
required: true;
|
|
244
|
-
};
|
|
245
|
-
/**
|
|
246
|
-
* A customisable method to retrieve a unique identifier for a data item in the array of data supplied.
|
|
247
|
-
* This is used selecting and performance reasons and must exist in each data item.
|
|
248
|
-
*/
|
|
249
|
-
getDataItemId: {
|
|
250
|
-
type: PropType<BentoDatagridGetDataItemIdFn>;
|
|
251
|
-
default: (item: BentoDatagridDataItem) => BentoDatagridDataItemId;
|
|
252
|
-
};
|
|
253
|
-
/**
|
|
254
|
-
* Set to true if the datagrid has been scrolled and the left side has overflowing space.
|
|
255
|
-
*/
|
|
256
|
-
hasLeftOverflow: {
|
|
257
|
-
type: BooleanConstructor;
|
|
258
|
-
default: boolean;
|
|
259
|
-
};
|
|
260
|
-
/**
|
|
261
|
-
* Enables the nested content slot functionality.
|
|
262
|
-
*/
|
|
263
|
-
hasNestedContent: {
|
|
264
|
-
type: BooleanConstructor;
|
|
265
|
-
default: boolean;
|
|
266
|
-
};
|
|
267
|
-
/**
|
|
268
|
-
* Highlighted row IDs.
|
|
269
|
-
*/
|
|
270
|
-
highlightedRows: {
|
|
271
|
-
type: PropType<BentoDatagridDataItemId[]>;
|
|
272
|
-
default: () => any[];
|
|
273
|
-
};
|
|
274
|
-
/**
|
|
275
|
-
* The row index of a currently hovered row.
|
|
276
|
-
*/
|
|
277
|
-
hoveredRowIndex: {
|
|
278
|
-
type: NumberConstructor;
|
|
279
|
-
default: number;
|
|
280
|
-
};
|
|
281
|
-
/**
|
|
282
|
-
* The column hovered over state and whether the hovered over column should show a border right or left.
|
|
283
|
-
*/
|
|
284
|
-
hoveredOverColumnState: {
|
|
285
|
-
type: PropType<DatagridColumnHoveringState>;
|
|
286
|
-
required: true;
|
|
287
|
-
};
|
|
288
|
-
/**
|
|
289
|
-
* A customisable method to determine if a row is not selectable.
|
|
290
|
-
* The default is that every row is selectable.
|
|
291
|
-
*/
|
|
292
|
-
isDataItemDisabled: {
|
|
293
|
-
type: PropType<BentoDatagridIsDataItemDisabledFn>;
|
|
294
|
-
default: () => boolean;
|
|
295
|
-
};
|
|
296
|
-
/**
|
|
297
|
-
* If the row is the last child in it's parent container.
|
|
298
|
-
*/
|
|
299
|
-
isRowLastChild: {
|
|
300
|
-
type: BooleanConstructor;
|
|
301
|
-
default: boolean;
|
|
302
|
-
};
|
|
303
|
-
/**
|
|
304
|
-
* If columns are being measured for the autoWidth functionality.
|
|
305
|
-
*/
|
|
306
|
-
isMeasuringColumnWidths: {
|
|
307
|
-
type: BooleanConstructor;
|
|
308
|
-
default: boolean;
|
|
309
|
-
};
|
|
310
|
-
/**
|
|
311
|
-
* The row data object
|
|
312
|
-
*/
|
|
313
|
-
rowData: {
|
|
314
|
-
type: PropType<BentoDatagridDataItem>;
|
|
315
|
-
required: true;
|
|
316
|
-
};
|
|
317
|
-
/**
|
|
318
|
-
* The row index.
|
|
319
|
-
*/
|
|
320
|
-
rowIndex: {
|
|
321
|
-
type: NumberConstructor;
|
|
322
|
-
required: true;
|
|
323
|
-
};
|
|
324
|
-
/**
|
|
325
|
-
* The number of rows that this row is within.
|
|
326
|
-
*/
|
|
327
|
-
rowSetSize: {
|
|
328
|
-
type: NumberConstructor;
|
|
329
|
-
default: number;
|
|
330
|
-
};
|
|
331
|
-
/**
|
|
332
|
-
* Determines whether to render frozen seperator on the row.
|
|
333
|
-
*/
|
|
334
|
-
showFrozenColumnsSeparator: {
|
|
335
|
-
type: BooleanConstructor;
|
|
336
|
-
default: boolean;
|
|
337
|
-
};
|
|
338
|
-
/**
|
|
339
|
-
* Determines if the row selection is enabled.
|
|
340
|
-
*/
|
|
341
|
-
selectable: {
|
|
342
|
-
type: BooleanConstructor;
|
|
343
|
-
default: boolean;
|
|
344
|
-
};
|
|
345
|
-
/**
|
|
346
|
-
* The array of IDs for the selected rows.
|
|
347
|
-
*/
|
|
348
|
-
selectedItems: {
|
|
349
|
-
type: PropType<BentoDatagridDataItemId[]>;
|
|
350
|
-
required: true;
|
|
351
|
-
};
|
|
352
|
-
/**
|
|
353
|
-
* Enables / Disables the nested-content slot
|
|
354
|
-
*/
|
|
355
|
-
shouldShowNestedContent: {
|
|
356
|
-
type: PropType<BentoDatagridShouldShowNestedContentFn>;
|
|
357
|
-
default: (_item: BentoDatagridDataItem) => true;
|
|
358
|
-
};
|
|
359
|
-
}>> & Readonly<{
|
|
360
|
-
"onOn-frozen-columns-key-press"?: (event: Event) => any;
|
|
361
|
-
"onSelect-row"?: (value: BentoDatagridDataItemId[]) => any;
|
|
362
|
-
"onCell-hovered"?: (value: number) => any;
|
|
363
|
-
"onRow-click"?: (rowData: BentoDatagridDataItem, event: MouseEvent) => any;
|
|
364
|
-
}>, {
|
|
365
|
-
condensed: boolean;
|
|
366
|
-
draggingColumns: BentoDatagridDraggingColumnState;
|
|
367
|
-
hasLeftOverflow: boolean;
|
|
368
|
-
isMeasuringColumnWidths: boolean;
|
|
369
|
-
showFrozenColumnsSeparator: boolean;
|
|
370
|
-
selectable: boolean;
|
|
371
|
-
getDataItemId: BentoDatagridGetDataItemIdFn;
|
|
372
|
-
isDataItemDisabled: BentoDatagridIsDataItemDisabledFn;
|
|
373
|
-
allowRowClicks: boolean;
|
|
374
|
-
hasNestedContent: boolean;
|
|
375
|
-
highlightedRows: BentoDatagridDataItemId[];
|
|
376
|
-
hoveredRowIndex: number;
|
|
377
|
-
isRowLastChild: boolean;
|
|
378
|
-
rowSetSize: number;
|
|
379
|
-
shouldShowNestedContent: BentoDatagridShouldShowNestedContentFn;
|
|
380
|
-
}, {}, {}, {}, string, import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentProvideOptions, true, {}, any>, Record<NonNullable<string | number>, (_: any) => any> & {
|
|
381
|
-
'nested-slot': (_: {
|
|
382
|
-
item: BentoDatagridDataItem;
|
|
383
|
-
}) => any;
|
|
384
|
-
}>;
|
|
40
|
+
declare const _default: any;
|
|
385
41
|
export default _default;
|
|
386
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
387
|
-
new (): {
|
|
388
|
-
$slots: S;
|
|
389
|
-
};
|
|
390
|
-
};
|
|
@@ -9,6 +9,7 @@ export interface CalculateColumnWidthOptions {
|
|
|
9
9
|
allowColumnDragAndDrop?: Ref<boolean>;
|
|
10
10
|
hasColumnPanel?: Ref<boolean>;
|
|
11
11
|
hasNestedContent?: Ref<boolean>;
|
|
12
|
+
hasNestedRows?: Ref<boolean>;
|
|
12
13
|
hasSelectableColumn?: Ref<boolean>;
|
|
13
14
|
hasSelectableAcrossPages?: Ref<boolean>;
|
|
14
15
|
isDataGridTemplate?: boolean;
|
|
@@ -11,6 +11,7 @@ export declare const useScroller: (body: Ref<UnwrapRef<HTMLDivElement>>, columns
|
|
|
11
11
|
isLazyLoad?: Ref<UnwrapRef<boolean>>;
|
|
12
12
|
pagination?: Ref<UnwrapRef<BentoDatagridPaginationProps | undefined>>;
|
|
13
13
|
stickyPagination: Ref<UnwrapRef<boolean>>;
|
|
14
|
+
isDataGridTemplate?: boolean;
|
|
14
15
|
}) => {
|
|
15
16
|
scrollLeftPosition: Ref<number, number>;
|
|
16
17
|
hasLeftOverflow: Ref<boolean, boolean>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref } from "../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue";
|
|
2
|
-
import { BentoDatagridData, BentoDatagridDataItemId, BentoDatagridGetDataItemIdFn, BentoDatagridIsDataItemDisabledFn } from '../../data-grid.types';
|
|
2
|
+
import { BentoDatagridData, BentoDatagridDataItem, BentoDatagridDataItemId, BentoDatagridGetDataItemIdFn, BentoDatagridIsDataItemDisabledFn } from '../../data-grid.types';
|
|
3
3
|
/**
|
|
4
4
|
* Exposed selection variables and methods for a data component to use and react to.
|
|
5
5
|
* @param selection A list of unique IDs
|
|
@@ -10,7 +10,8 @@ import { BentoDatagridData, BentoDatagridDataItemId, BentoDatagridGetDataItemIdF
|
|
|
10
10
|
*/
|
|
11
11
|
export declare const useSelector: (selection: Ref<BentoDatagridDataItemId[]>, emit: (event: string, emitedSelectedItems: BentoDatagridDataItemId[]) => void, data: Ref<BentoDatagridData>, getDataItemId: BentoDatagridGetDataItemIdFn, isDataItemDisabled: BentoDatagridIsDataItemDisabledFn) => {
|
|
12
12
|
onAllRowSelect: (selectAllItems: boolean) => void;
|
|
13
|
-
onRowSelect: (value: BentoDatagridDataItemId[]) => void;
|
|
13
|
+
onRowSelect: (value: BentoDatagridDataItemId[], rowData: BentoDatagridDataItem) => void;
|
|
14
|
+
onNestedRowSelect: (value: BentoDatagridDataItemId[], parentRowData: BentoDatagridDataItem, rowData: BentoDatagridDataItem) => void;
|
|
14
15
|
allItemsSelectedState: {
|
|
15
16
|
allItemsSelected: boolean;
|
|
16
17
|
isIndeterminate: boolean;
|
|
@@ -45,6 +45,7 @@ export type BentoDatagridDataItemId = string | number;
|
|
|
45
45
|
export type BentoDatagridSelection = BentoDatagridDataItemId[];
|
|
46
46
|
export interface BentoDatagridDataItem {
|
|
47
47
|
id?: BentoDatagridDataItemId;
|
|
48
|
+
children?: BentoDatagridDataItem[];
|
|
48
49
|
[fieldName: string]: unknown;
|
|
49
50
|
}
|
|
50
51
|
export type BentoDatagridData = BentoDatagridDataItem[];
|
|
@@ -65,6 +66,7 @@ export declare enum BentoDatagridEvent {
|
|
|
65
66
|
COLUMN_RESIZE = "column-resize",
|
|
66
67
|
ITEMS_PAGE = "items-page",
|
|
67
68
|
NAVIGATE = "navigate",
|
|
69
|
+
NESTED_CONTENT_TOGGLED = "nested-content-toggled",
|
|
68
70
|
FILTER_SEARCH_INPUT = "filter-search-input",
|
|
69
71
|
FILTER_SEARCH_CLEAR = "filter-search-clear",
|
|
70
72
|
UPDATE_COLUMNS = "update:columns",
|
|
@@ -88,3 +90,4 @@ export declare enum BentoDatagridAriaSortValue {
|
|
|
88
90
|
}
|
|
89
91
|
export type BentoDatagridEmptyStateProps = InstanceType<typeof BentoEmptyState>['$props'];
|
|
90
92
|
export type BentoDatagridShouldShowNestedContentFn = (item: BentoDatagridDataItem) => boolean;
|
|
93
|
+
export type BentoDatagridShouldShowNestedRowsFn = (item: BentoDatagridDataItem) => boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from "../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue";
|
|
2
|
-
import { BentoColumn, BentoDatagridData, BentoDatagridDataItem, BentoDatagridDataItemId, BentoDatagridEmptyStateProps, BentoDatagridEvent, BentoDatagridGetDataItemIdFn, BentoDatagridIsDataItemDisabledFn, BentoDatagridPaginationProps, BentoDatagridShouldShowNestedContentFn, BentoDatagridSortByColumn } from './data-grid.types';
|
|
2
|
+
import { BentoColumn, BentoDatagridData, BentoDatagridDataItem, BentoDatagridDataItemId, BentoDatagridEmptyStateProps, BentoDatagridEvent, BentoDatagridGetDataItemIdFn, BentoDatagridIsDataItemDisabledFn, BentoDatagridPaginationProps, BentoDatagridShouldShowNestedContentFn, BentoDatagridShouldShowNestedRowsFn, BentoDatagridSortByColumn } from './data-grid.types';
|
|
3
3
|
import type { BentoLazyLoadType } from "../../types";
|
|
4
4
|
import type { BentoButtonActionsList } from "../button";
|
|
5
5
|
/**
|
|
@@ -141,6 +141,13 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../node_modu
|
|
|
141
141
|
type: BooleanConstructor;
|
|
142
142
|
default: boolean;
|
|
143
143
|
};
|
|
144
|
+
/**
|
|
145
|
+
* Enables the nested content slot functionality.
|
|
146
|
+
*/
|
|
147
|
+
hasNestedRows: {
|
|
148
|
+
type: BooleanConstructor;
|
|
149
|
+
default: boolean;
|
|
150
|
+
};
|
|
144
151
|
/**
|
|
145
152
|
* Highlighted items
|
|
146
153
|
*/
|
|
@@ -246,6 +253,13 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../node_modu
|
|
|
246
253
|
type: PropType<BentoDatagridShouldShowNestedContentFn>;
|
|
247
254
|
default: (_item: BentoDatagridDataItem) => true;
|
|
248
255
|
};
|
|
256
|
+
/**
|
|
257
|
+
* Returns the nested rows for a given BentoDatagridDataItem.
|
|
258
|
+
*/
|
|
259
|
+
shouldShowNestedRows: {
|
|
260
|
+
type: PropType<BentoDatagridShouldShowNestedRowsFn>;
|
|
261
|
+
default: (_item: BentoDatagridDataItem) => true;
|
|
262
|
+
};
|
|
249
263
|
/**
|
|
250
264
|
* Sortby handles proper rendering of sort icon in header. Sorting currently is only supported server side.
|
|
251
265
|
* It does make sure the currently sorted column has a more visible sort icon, and the sort icon points in the right direction.
|
|
@@ -386,6 +400,13 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../node_modu
|
|
|
386
400
|
type: BooleanConstructor;
|
|
387
401
|
default: boolean;
|
|
388
402
|
};
|
|
403
|
+
/**
|
|
404
|
+
* Enables the nested content slot functionality.
|
|
405
|
+
*/
|
|
406
|
+
hasNestedRows: {
|
|
407
|
+
type: BooleanConstructor;
|
|
408
|
+
default: boolean;
|
|
409
|
+
};
|
|
389
410
|
/**
|
|
390
411
|
* Highlighted items
|
|
391
412
|
*/
|
|
@@ -491,6 +512,13 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../node_modu
|
|
|
491
512
|
type: PropType<BentoDatagridShouldShowNestedContentFn>;
|
|
492
513
|
default: (_item: BentoDatagridDataItem) => true;
|
|
493
514
|
};
|
|
515
|
+
/**
|
|
516
|
+
* Returns the nested rows for a given BentoDatagridDataItem.
|
|
517
|
+
*/
|
|
518
|
+
shouldShowNestedRows: {
|
|
519
|
+
type: PropType<BentoDatagridShouldShowNestedRowsFn>;
|
|
520
|
+
default: (_item: BentoDatagridDataItem) => true;
|
|
521
|
+
};
|
|
494
522
|
/**
|
|
495
523
|
* Sortby handles proper rendering of sort icon in header. Sorting currently is only supported server side.
|
|
496
524
|
* It does make sure the currently sorted column has a more visible sort icon, and the sort icon points in the right direction.
|
|
@@ -521,6 +549,7 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../node_modu
|
|
|
521
549
|
"onColumn-resize"?: (...args: any[]) => any;
|
|
522
550
|
"onSelect-all-across-pages"?: (...args: any[]) => any;
|
|
523
551
|
"onUpdate:columns"?: (...args: any[]) => any;
|
|
552
|
+
"onNested-content-toggled"?: (...args: any[]) => any;
|
|
524
553
|
"onRow-click"?: (...args: any[]) => any;
|
|
525
554
|
"onUpdate:filter-values"?: (...args: any[]) => any;
|
|
526
555
|
onColumns?: (...args: any[]) => any;
|
|
@@ -543,17 +572,17 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../node_modu
|
|
|
543
572
|
title: string;
|
|
544
573
|
image: "success" | "1-generic-use" | "2-generic-use" | "3-generic-use" | "4-generic-use" | "adding-payment-methods" | "adyen-giving" | "internal-error" | "no-results-found" | "notifications-cleared" | "page-not-found" | "planned-maintenance" | "referrals" | "upload-files" | "wrong-environment";
|
|
545
574
|
variant: "condensed" | "full-page" | "embedded" | "basic";
|
|
546
|
-
action: import("../button").BentoButtonActionObject;
|
|
547
575
|
description: string;
|
|
576
|
+
action: import("../button").BentoButtonActionObject;
|
|
548
577
|
headingEl: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span";
|
|
549
578
|
}> & Omit<{
|
|
550
579
|
readonly title: string;
|
|
551
580
|
readonly variant: "condensed" | "full-page" | "embedded" | "basic";
|
|
552
581
|
readonly image?: "success" | "1-generic-use" | "2-generic-use" | "3-generic-use" | "4-generic-use" | "adding-payment-methods" | "adyen-giving" | "internal-error" | "no-results-found" | "notifications-cleared" | "page-not-found" | "planned-maintenance" | "referrals" | "upload-files" | "wrong-environment";
|
|
553
|
-
readonly action?: import("../button").BentoButtonActionObject;
|
|
554
582
|
readonly description?: string;
|
|
583
|
+
readonly action?: import("../button").BentoButtonActionObject;
|
|
555
584
|
readonly headingEl?: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span";
|
|
556
|
-
} & import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").VNodeProps & import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").AllowedComponentProps & import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentCustomProps, "title" | "image" | "variant" | "
|
|
585
|
+
} & import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").VNodeProps & import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").AllowedComponentProps & import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentCustomProps, "title" | "image" | "variant" | "description" | "action" | "headingEl">;
|
|
557
586
|
fitContent: boolean;
|
|
558
587
|
pagination: Partial<{
|
|
559
588
|
size: number;
|
|
@@ -585,8 +614,10 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../node_modu
|
|
|
585
614
|
isDataItemDisabled: BentoDatagridIsDataItemDisabledFn;
|
|
586
615
|
allowRowClicks: boolean;
|
|
587
616
|
hasNestedContent: boolean;
|
|
617
|
+
hasNestedRows: boolean;
|
|
588
618
|
highlightedRows: BentoDatagridDataItemId[];
|
|
589
619
|
shouldShowNestedContent: BentoDatagridShouldShowNestedContentFn;
|
|
620
|
+
shouldShowNestedRows: BentoDatagridShouldShowNestedRowsFn;
|
|
590
621
|
filterValues: any;
|
|
591
622
|
allowColumnDragAndDrop: boolean;
|
|
592
623
|
bulkActions: BentoButtonActionsList;
|
|
@@ -600,6 +631,7 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../node_modu
|
|
|
600
631
|
tabTitle: string;
|
|
601
632
|
}, {}, {}, {}, string, import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentProvideOptions, true, {}, any>, Record<NonNullable<string | number>, (_: any) => any> & Record<NonNullable<string | number>, (_: any) => any> & {
|
|
602
633
|
header: (_: {}) => any;
|
|
634
|
+
'pagination-slot': (_: {}) => any;
|
|
603
635
|
footer: (_: {}) => any;
|
|
604
636
|
}>;
|
|
605
637
|
export default _default;
|