@adyen/bento-vue3 1.44.0 → 1.45.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/index.d.ts +17555 -0
- package/dist/accordion.js +1 -1
- package/dist/action-bar.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/base-button.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/focus-trap.css +1 -1
- package/dist/assets/header.css +1 -1
- package/dist/assets/info-icon-with-popover.css +1 -0
- package/dist/assets/input-field.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/layout-row.css +1 -1
- package/dist/assets/link.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/popper-container.css +1 -1
- package/dist/assets/radio-input.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/tabs.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/avatar.js +1 -1
- package/dist/button.js +3 -3
- package/dist/card.js +1 -1
- package/dist/checkbox.js +3 -3
- package/dist/chunks/accordion-item.DfOb4Pyx.js +142 -0
- package/dist/chunks/accordion-item.DfOb4Pyx.js.map +1 -0
- package/dist/chunks/action-bar.CmDQZkM2.js +203 -0
- package/dist/chunks/action-bar.CmDQZkM2.js.map +1 -0
- package/dist/chunks/alert.D1Ax6AnI.js +168 -0
- package/dist/chunks/alert.D1Ax6AnI.js.map +1 -0
- package/dist/chunks/avatar.B0-9jC6H.js +94 -0
- package/dist/chunks/avatar.B0-9jC6H.js.map +1 -0
- package/dist/chunks/base-button.DdNFlbgH.js +115 -0
- package/dist/chunks/base-button.DdNFlbgH.js.map +1 -0
- package/dist/chunks/base-modal.DbJYaHyG.js +505 -0
- package/dist/chunks/base-modal.DbJYaHyG.js.map +1 -0
- package/dist/chunks/button-actions-with-menu.BUyecZNi.js +119 -0
- package/dist/chunks/button-actions-with-menu.BUyecZNi.js.map +1 -0
- package/dist/chunks/button-actions.CShVMUOC.js +322 -0
- package/dist/chunks/button-actions.CShVMUOC.js.map +1 -0
- package/dist/chunks/button.Cneb6rPP.js +118 -0
- package/dist/chunks/button.Cneb6rPP.js.map +1 -0
- package/dist/chunks/calendar.1qqtC8ba.js +958 -0
- package/dist/chunks/calendar.1qqtC8ba.js.map +1 -0
- package/dist/chunks/card.rkMUtirc.js +213 -0
- package/dist/chunks/card.rkMUtirc.js.map +1 -0
- package/dist/chunks/checkbox-group.PTNxE0kL.js +192 -0
- package/dist/chunks/checkbox-group.PTNxE0kL.js.map +1 -0
- package/dist/chunks/checkbox-input.CAYgiRHG.js +150 -0
- package/dist/chunks/checkbox-input.CAYgiRHG.js.map +1 -0
- package/dist/chunks/checkbox.D9FJcICR.js +238 -0
- package/dist/chunks/checkbox.D9FJcICR.js.map +1 -0
- package/dist/chunks/checkmark-circle-fill.g_tcBhFJ.js +44 -0
- package/dist/chunks/checkmark-circle-fill.g_tcBhFJ.js.map +1 -0
- package/dist/chunks/checkmark-small.BDqUF-Ni.js +29 -0
- package/dist/chunks/checkmark-small.BDqUF-Ni.js.map +1 -0
- package/dist/chunks/chevron-left.CYEK2UTr.js +52 -0
- package/dist/chunks/chevron-left.CYEK2UTr.js.map +1 -0
- package/dist/chunks/chevron-up.Cu9qXgBY.js +52 -0
- package/dist/chunks/chevron-up.Cu9qXgBY.js.map +1 -0
- package/dist/chunks/code-snippet.volJxGqR.js +392 -0
- package/dist/chunks/code-snippet.volJxGqR.js.map +1 -0
- package/dist/chunks/codemirror.CXFEqvAi.js +14320 -0
- package/dist/chunks/codemirror.CXFEqvAi.js.map +1 -0
- package/dist/chunks/controls-group.BHxcGQ2A.js +98 -0
- package/dist/chunks/controls-group.BHxcGQ2A.js.map +1 -0
- package/dist/chunks/copy.DAMq-zRP.js +155 -0
- package/dist/chunks/copy.DAMq-zRP.js.map +1 -0
- package/dist/chunks/country.Cv_8NTmw.js +98 -0
- package/dist/chunks/country.Cv_8NTmw.js.map +1 -0
- package/dist/chunks/country.types.pilf5B3F.js +5874 -0
- package/dist/chunks/country.types.pilf5B3F.js.map +1 -0
- package/dist/chunks/cross-circle-fill-small.CJyARMSZ.js +29 -0
- package/dist/chunks/cross-circle-fill-small.CJyARMSZ.js.map +1 -0
- package/dist/chunks/cross-circle-fill.BzSjakuO.js +44 -0
- package/dist/chunks/cross-circle-fill.BzSjakuO.js.map +1 -0
- package/dist/chunks/cross-small.Z5EKYRm0.js +29 -0
- package/dist/chunks/cross-small.Z5EKYRm0.js.map +1 -0
- package/dist/chunks/cross.BZYw4R3N.js +29 -0
- package/dist/chunks/cross.BZYw4R3N.js.map +1 -0
- package/dist/chunks/currency.DGX-aejv.js +109 -0
- package/dist/chunks/currency.DGX-aejv.js.map +1 -0
- package/dist/chunks/dashboard-section.Buh9mb22.js +167 -0
- package/dist/chunks/dashboard-section.Buh9mb22.js.map +1 -0
- package/dist/chunks/dashed-underline.DYVSwQtH.js +80 -0
- package/dist/chunks/dashed-underline.DYVSwQtH.js.map +1 -0
- package/dist/chunks/data-grid-template.B6xmEgaM.js +93 -0
- package/dist/chunks/data-grid-template.B6xmEgaM.js.map +1 -0
- package/dist/chunks/data-grid.DVc9qzLU.js +3377 -0
- package/dist/chunks/data-grid.DVc9qzLU.js.map +1 -0
- package/dist/chunks/date-picker.Bt4fyPQ4.js +283 -0
- package/dist/chunks/date-picker.Bt4fyPQ4.js.map +1 -0
- package/dist/chunks/date-range-picker.Bna_2pBL.js +1038 -0
- package/dist/chunks/date-range-picker.Bna_2pBL.js.map +1 -0
- package/dist/chunks/date.DeaBl297.js +927 -0
- package/dist/chunks/date.DeaBl297.js.map +1 -0
- package/dist/chunks/dialog-page.CJBSluwk.js +172 -0
- package/dist/chunks/dialog-page.CJBSluwk.js.map +1 -0
- package/dist/chunks/divider.DwBC4bpr.js +22 -0
- package/dist/chunks/divider.DwBC4bpr.js.map +1 -0
- package/dist/chunks/dot.cpdFEk6G.js +29 -0
- package/dist/chunks/dot.cpdFEk6G.js.map +1 -0
- package/dist/chunks/dropdown-default-textbox.ipIFhyWZ.js +419 -0
- package/dist/chunks/dropdown-default-textbox.ipIFhyWZ.js.map +1 -0
- package/dist/chunks/dropdown-tag.DLyxItIS.js +202 -0
- package/dist/chunks/dropdown-tag.DLyxItIS.js.map +1 -0
- package/dist/chunks/dropdown.CZDXXpKe.js +911 -0
- package/dist/chunks/dropdown.CZDXXpKe.js.map +1 -0
- package/dist/chunks/empty-state.C2ancCe6.js +185 -0
- package/dist/chunks/empty-state.C2ancCe6.js.map +1 -0
- package/dist/chunks/error-message.BVE3JdTq.js +158 -0
- package/dist/chunks/error-message.BVE3JdTq.js.map +1 -0
- package/dist/chunks/es6.jIyAPBgt.js +11 -0
- package/dist/chunks/es6.jIyAPBgt.js.map +1 -0
- package/dist/chunks/expand.CJ162RaJ.js +33 -0
- package/dist/chunks/expand.CJ162RaJ.js.map +1 -0
- package/dist/chunks/file-uploader.BXHt0PWz.js +1077 -0
- package/dist/chunks/file-uploader.BXHt0PWz.js.map +1 -0
- package/dist/chunks/filter-bar.oihCCt5N.js +2866 -0
- package/dist/chunks/filter-bar.oihCCt5N.js.map +1 -0
- package/dist/chunks/fixed-scroller.XaGPUsUO.js +147 -0
- package/dist/chunks/fixed-scroller.XaGPUsUO.js.map +1 -0
- package/dist/chunks/focus-trap.CnKbO3b1.js +496 -0
- package/dist/chunks/focus-trap.CnKbO3b1.js.map +1 -0
- package/dist/chunks/footer-actions.n0JIXO4Q.js +110 -0
- package/dist/chunks/footer-actions.n0JIXO4Q.js.map +1 -0
- package/dist/chunks/form-layout-title.srkVLEUW.js +204 -0
- package/dist/chunks/form-layout-title.srkVLEUW.js.map +1 -0
- package/dist/chunks/generate-uid.NJ8tVoha.js +32 -0
- package/dist/chunks/generate-uid.NJ8tVoha.js.map +1 -0
- package/dist/chunks/grid-layout.BTLE3rac.js +114 -0
- package/dist/chunks/grid-layout.BTLE3rac.js.map +1 -0
- package/dist/chunks/header.CAHXObTT.js +256 -0
- package/dist/chunks/header.CAHXObTT.js.map +1 -0
- package/dist/chunks/i18n.WMYWtwxB.js +3088 -0
- package/dist/chunks/i18n.WMYWtwxB.js.map +1 -0
- package/dist/chunks/image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js +47 -0
- package/dist/chunks/image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js.map +1 -0
- package/dist/chunks/index.BMkVmbZj.js +367 -0
- package/dist/chunks/index.BMkVmbZj.js.map +1 -0
- package/dist/chunks/info-icon-with-popover.DFv8U4sh.js +97 -0
- package/dist/chunks/info-icon-with-popover.DFv8U4sh.js.map +1 -0
- package/dist/chunks/info-icon.BCSBCH-5.js +45 -0
- package/dist/chunks/info-icon.BCSBCH-5.js.map +1 -0
- package/dist/chunks/info.DYNe2WnZ.js +44 -0
- package/dist/chunks/info.DYNe2WnZ.js.map +1 -0
- package/dist/chunks/input-field-password.DedPkZxg.js +306 -0
- package/dist/chunks/input-field-password.DedPkZxg.js.map +1 -0
- package/dist/chunks/input-field.3PUv6XC3.js +368 -0
- package/dist/chunks/input-field.3PUv6XC3.js.map +1 -0
- package/dist/chunks/inspector.types.Dr0D250X.js +124 -0
- package/dist/chunks/inspector.types.Dr0D250X.js.map +1 -0
- package/dist/chunks/layout-row.9G7yVMVt.js +100 -0
- package/dist/chunks/layout-row.9G7yVMVt.js.map +1 -0
- package/dist/chunks/link.ClFi8uSm.js +107 -0
- package/dist/chunks/link.ClFi8uSm.js.map +1 -0
- package/dist/chunks/listbox-option-tag.zYn_kSFz.js +55 -0
- package/dist/chunks/listbox-option-tag.zYn_kSFz.js.map +1 -0
- package/dist/chunks/loading-indicator.DEepb9Wl.js +44 -0
- package/dist/chunks/loading-indicator.DEepb9Wl.js.map +1 -0
- package/dist/chunks/menu.Dmzh3Uat.js +698 -0
- package/dist/chunks/menu.Dmzh3Uat.js.map +1 -0
- package/dist/chunks/modal-fullscreen.BazQAAU1.js +270 -0
- package/dist/chunks/modal-fullscreen.BazQAAU1.js.map +1 -0
- package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.C8vZDtlE.js +501 -0
- package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.C8vZDtlE.js.map +1 -0
- package/dist/chunks/pagination.BCC3GZV5.js +469 -0
- package/dist/chunks/pagination.BCC3GZV5.js.map +1 -0
- package/dist/chunks/payment-method.2IeC7f4x.js +103 -0
- package/dist/chunks/payment-method.2IeC7f4x.js.map +1 -0
- package/dist/chunks/popover.3KG1IoYE.js +342 -0
- package/dist/chunks/popover.3KG1IoYE.js.map +1 -0
- package/dist/chunks/popper-container.DKDjRvdv.js +1392 -0
- package/dist/chunks/popper-container.DKDjRvdv.js.map +1 -0
- package/dist/chunks/promo-banner.BjLfDhBq.js +126 -0
- package/dist/chunks/promo-banner.BjLfDhBq.js.map +1 -0
- package/dist/chunks/radio-group.CeiSaH6M.js +308 -0
- package/dist/chunks/radio-group.CeiSaH6M.js.map +1 -0
- package/dist/chunks/radio-input.0TPahhZT.js +92 -0
- package/dist/chunks/radio-input.0TPahhZT.js.map +1 -0
- package/dist/chunks/refresh.SzRxQ44W.js +29 -0
- package/dist/chunks/refresh.SzRxQ44W.js.map +1 -0
- package/dist/chunks/search-bar.BZDJJtWB.js +132 -0
- package/dist/chunks/search-bar.BZDJJtWB.js.map +1 -0
- package/dist/chunks/search.KgjmJMHa.js +44 -0
- package/dist/chunks/search.KgjmJMHa.js.map +1 -0
- package/dist/chunks/secondary-nav.qm-rh-r6.js +137 -0
- package/dist/chunks/secondary-nav.qm-rh-r6.js.map +1 -0
- package/dist/chunks/segmented-control.BIwBQ8i3.js +143 -0
- package/dist/chunks/segmented-control.BIwBQ8i3.js.map +1 -0
- package/dist/chunks/selection-card-group.DPGh4nwl.js +474 -0
- package/dist/chunks/selection-card-group.DPGh4nwl.js.map +1 -0
- package/dist/chunks/show.J9zXGWlK.js +64 -0
- package/dist/chunks/show.J9zXGWlK.js.map +1 -0
- package/dist/chunks/sidepanel.DxSdFwm1.js +254 -0
- package/dist/chunks/sidepanel.DxSdFwm1.js.map +1 -0
- package/dist/chunks/status.types.Dil95sGx.js +44 -0
- package/dist/chunks/status.types.Dil95sGx.js.map +1 -0
- package/dist/chunks/step.DAB8h_4u.js +264 -0
- package/dist/chunks/step.DAB8h_4u.js.map +1 -0
- package/dist/chunks/structured-list-item.DpI6jzfM.js +108 -0
- package/dist/chunks/structured-list-item.DpI6jzfM.js.map +1 -0
- package/dist/chunks/summary-grid-item-custom.DCNWMasy.js +720 -0
- package/dist/chunks/summary-grid-item-custom.DCNWMasy.js.map +1 -0
- package/dist/chunks/tabs.B5-PZCxc.js +211 -0
- package/dist/chunks/tabs.B5-PZCxc.js.map +1 -0
- package/dist/chunks/tag.BuUbvgok.js +51 -0
- package/dist/chunks/tag.BuUbvgok.js.map +1 -0
- package/dist/chunks/teleport.B1NhF5-O.js +138 -0
- package/dist/chunks/teleport.B1NhF5-O.js.map +1 -0
- package/dist/chunks/textarea.CCr8inwI.js +270 -0
- package/dist/chunks/textarea.CCr8inwI.js.map +1 -0
- package/dist/chunks/timeline-item.DG9YaOiC.js +558 -0
- package/dist/chunks/timeline-item.DG9YaOiC.js.map +1 -0
- package/dist/chunks/toast.CVy2sf_5.js +221 -0
- package/dist/chunks/toast.CVy2sf_5.js.map +1 -0
- package/dist/chunks/toggle-button.CCgvi7TQ.js +79 -0
- package/dist/chunks/toggle-button.CCgvi7TQ.js.map +1 -0
- package/dist/chunks/toggle.Dl82VpiQ.js +161 -0
- package/dist/chunks/toggle.Dl82VpiQ.js.map +1 -0
- package/dist/chunks/tooltip.2MOlGHD9.js +203 -0
- package/dist/chunks/tooltip.2MOlGHD9.js.map +1 -0
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.CQ0vEvB4.js +422 -0
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.CQ0vEvB4.js.map +1 -0
- package/dist/chunks/typography.DN5eC5ch.js +83 -0
- package/dist/chunks/typography.DN5eC5ch.js.map +1 -0
- package/dist/chunks/use-bento-toast-controller.D3LA1FCd.js +50 -0
- package/dist/chunks/use-bento-toast-controller.D3LA1FCd.js.map +1 -0
- package/dist/chunks/use-cached-selected-values.BBD_AA1m.js +1591 -0
- package/dist/chunks/use-cached-selected-values.BBD_AA1m.js.map +1 -0
- package/dist/chunks/use-country-items.DnPo3yxj.js +29 -0
- package/dist/chunks/use-country-items.DnPo3yxj.js.map +1 -0
- package/dist/chunks/warning-filled.tTkVob0l.js +29 -0
- package/dist/chunks/warning-filled.tTkVob0l.js.map +1 -0
- package/dist/code-snippet.js +1 -1
- package/dist/country.js +2 -2
- package/dist/currency.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 +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +4 -4
- package/dist/empty-state.js +1 -1
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +1 -1
- package/dist/header.js +1 -1
- package/dist/image.js +1 -1
- package/dist/index.js +171 -171
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +1 -1
- package/dist/input-field-password.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/inspector.js +1 -1
- package/dist/internal.js +28 -26
- package/dist/internal.js.map +1 -1
- package/dist/layout.js +1 -1
- package/dist/link.js +1 -1
- package/dist/loading-indicator.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/payment-method.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/promo-banner.js +1 -1
- package/dist/radio-group.js +2 -2
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/segmented-control.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/status.js +1 -1
- package/dist/stepper.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tag.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/toast.js +1 -1
- package/dist/toggle.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +25 -21
- package/dist/@types/packages/core/src/components/button/button.types.d.ts +0 -25
- package/dist/@types/packages/core/src/components/button-actions/button-actions.types.d.ts +0 -32
- package/dist/@types/packages/core/src/components/checkbox/checkbox.types.d.ts +0 -9
- package/dist/@types/packages/core/src/components/checkbox-group/checkbox-group.types.d.ts +0 -20
- package/dist/@types/packages/core/src/components/internal/checkbox-input/checkbox-input.types.d.ts +0 -20
- package/dist/@types/packages/core/src/components/link/link.types.d.ts +0 -38
- package/dist/@types/packages/core/src/components/loading-button/loading-button.types.d.ts +0 -9
- package/dist/@types/packages/core/src/components/loading-indicator/loading-indicator.types.d.ts +0 -4
- package/dist/@types/packages/core/src/components/popper-container/popper-container.types.d.ts +0 -49
- package/dist/@types/packages/core/src/components/radio-input/radio-input.types.d.ts +0 -6
- package/dist/@types/packages/core/src/components/tag/tag.types.d.ts +0 -25
- package/dist/@types/packages/core/src/components/tooltip/tooltip.types.d.ts +0 -11
- package/dist/@types/packages/core/src/components/typography/typography.types.d.ts +0 -34
- package/dist/@types/packages/core/src/types/index.d.ts +0 -1
- package/dist/@types/packages/core/src/types/omit-strict.d.ts +0 -1
- package/dist/@types/packages/core/src/utils/ts/generate-uid.d.ts +0 -5
- package/dist/@types/packages/core/src/utils/ts/index.d.ts +0 -1
- package/dist/@types/packages/core/src/utils/ts/storybook.d.ts +0 -12
- package/dist/@types/packages/vue2/src/components/accordion/accordion.keys.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/accordion/accordion.types.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/accordion/accordion.vue.d.ts +0 -56
- package/dist/@types/packages/vue2/src/components/accordion/components/accordion-item.vue.d.ts +0 -68
- package/dist/@types/packages/vue2/src/components/accordion/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/action-bar/action-bar.types.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/action-bar/action-bar.vue.d.ts +0 -156
- package/dist/@types/packages/vue2/src/components/action-bar/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/alert/alert.types.d.ts +0 -22
- package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +0 -88
- package/dist/@types/packages/vue2/src/components/alert/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/avatar/avatar.vue.d.ts +0 -70
- package/dist/@types/packages/vue2/src/components/avatar/components/avatar-image/avatar-image.types.d.ts +0 -10
- package/dist/@types/packages/vue2/src/components/avatar/components/avatar-image/avatar-image.vue.d.ts +0 -87
- package/dist/@types/packages/vue2/src/components/avatar/components/avatar-image/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/avatar/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +0 -178
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +0 -5
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +0 -156
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/composables/use-stack-buttons/use-stack-buttons.d.ts +0 -10
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/button/components/loading-button/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +0 -130
- package/dist/@types/packages/vue2/src/components/button/components/toggle-button/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/button/components/toggle-button/toggle-button.vue.d.ts +0 -116
- package/dist/@types/packages/vue2/src/components/button/components/toggle-button/toggle.types.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/button/index.d.ts +0 -5
- package/dist/@types/packages/vue2/src/components/card/card.types.d.ts +0 -14
- package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +0 -192
- package/dist/@types/packages/vue2/src/components/card/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +0 -536
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +0 -873
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/checkbox/index.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/click-outside/click-outside.d.ts +0 -23
- package/dist/@types/packages/vue2/src/components/click-outside/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.types.d.ts +0 -22
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +0 -2349
- package/dist/@types/packages/vue2/src/components/code-snippet/highlight.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/code-snippet/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/code-snippet/utils/get-lang-loader.d.ts +0 -14
- package/dist/@types/packages/vue2/src/components/code-snippet/utils/indent-same-as-line-before-extension.d.ts +0 -12
- package/dist/@types/packages/vue2/src/components/code-snippet/utils/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/country/composables/index.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/country/composables/use-country-capital/use-country-capital.d.ts +0 -8
- package/dist/@types/packages/vue2/src/components/country/composables/use-country-name/use-country-name.d.ts +0 -7
- package/dist/@types/packages/vue2/src/components/country/composables/use-country-phone-code/use-country-phon-code.d.ts +0 -9
- package/dist/@types/packages/vue2/src/components/country/country.types.d.ts +0 -264
- package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +0 -235
- package/dist/@types/packages/vue2/src/components/country/index.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/currency/currency.types.d.ts +0 -188
- package/dist/@types/packages/vue2/src/components/currency/currency.vue.d.ts +0 -48
- package/dist/@types/packages/vue2/src/components/currency/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/dashed-underline/dashed-underline.vue.d.ts +0 -91
- package/dist/@types/packages/vue2/src/components/dashed-underline/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.keys.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.types.d.ts +0 -49
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.vue.d.ts +0 -289
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.types.d.ts +0 -22
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.vue.d.ts +0 -90
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.types.d.ts +0 -33
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +0 -364
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/components/data-grid-config-settings-column-row/data-grid-config-settings-column-row.vue.d.ts +0 -277
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.types.d.ts +0 -7
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +0 -1385
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-lazy-load/data-grid-lazy-load.vue.d.ts +0 -33
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-row/data-grid-row.vue.d.ts +0 -41
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-static-icon/data-grid-static-icon.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-static-icon/data-grid-static-icon.types.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-static-icon/data-grid-static-icon.vue.d.ts +0 -65
- package/dist/@types/packages/vue2/src/components/data-grid/components/index.d.ts +0 -7
- package/dist/@types/packages/vue2/src/components/data-grid/composables/index.d.ts +0 -11
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.d.ts +0 -179
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.types.d.ts +0 -16
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-sticky-element-height/use-calculate-sticky-element-height.d.ts +0 -9
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-hovering/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-hovering/use-column-hovering.d.ts +0 -125
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-hovering/use-column-hovering.types.d.ts +0 -12
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-reorderer/use-column-reorderer.d.ts +0 -154
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-config-settings/use-config-settings.d.ts +0 -81
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-config-settings/use-config.settings.types.d.ts +0 -7
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-keyboard-navigator/use-keyboard-navigator.d.ts +0 -17
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-keyboard-navigator/use-keyboard-navigator.types.d.ts +0 -10
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-lazy-loading/use-lazy-loading.d.ts +0 -18
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-resizer.d.ts +0 -139
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-scroller/use-scroller.d.ts +0 -25
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-selector/use-selector.d.ts +0 -20
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-sorter.d.ts +0 -14
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +0 -93
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +0 -642
- package/dist/@types/packages/vue2/src/components/data-grid/index.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/date/date.types.d.ts +0 -18
- package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +0 -234
- package/dist/@types/packages/vue2/src/components/date/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/date-picker/composables/use-date-picker-single-calendar-text.d.ts +0 -7
- package/dist/@types/packages/vue2/src/components/date-picker/composables/use-date-picker-single-calendar-text.types.d.ts +0 -10
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.types.d.ts +0 -5
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +0 -1946
- package/dist/@types/packages/vue2/src/components/date-picker/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.types.d.ts +0 -25
- package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +0 -2998
- package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/date-range-picker/composables/use-date-range-picker-calendar-text.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/date-range-picker/composables/use-date-range-picker-calendar-text.types.d.ts +0 -12
- package/dist/@types/packages/vue2/src/components/date-range-picker/composables/use-granularity-memory.d.ts +0 -7
- package/dist/@types/packages/vue2/src/components/date-range-picker/composables/use-granularity-memory.types.d.ts +0 -22
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.types.d.ts +0 -5
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +0 -4172
- package/dist/@types/packages/vue2/src/components/date-range-picker/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/divider/divider.keys.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/divider/divider.vue.d.ts +0 -13
- package/dist/@types/packages/vue2/src/components/divider/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +0 -97
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +0 -301
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +0 -282
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/composables/use-dropdown-options-listbox.d.ts +0 -46
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +0 -329
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +0 -221
- package/dist/@types/packages/vue2/src/components/dropdown/components/index.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.types.d.ts +0 -5
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +0 -37
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/composables/use-country-items.d.ts +0 -13
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.types.d.ts +0 -8
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +0 -37
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.types.d.ts +0 -6
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +0 -37
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.types.d.ts +0 -5
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +0 -37
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.types.d.ts +0 -6
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +0 -35
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/dropdown/composables/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.d.ts +0 -12
- package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.types.d.ts +0 -8
- package/dist/@types/packages/vue2/src/components/dropdown/composables/use-keyboard-navigation.d.ts +0 -54
- package/dist/@types/packages/vue2/src/components/dropdown/composables/use-keyboard-navigation.types.d.ts +0 -15
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.types.d.ts +0 -15
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +0 -932
- package/dist/@types/packages/vue2/src/components/dropdown/index.d.ts +0 -7
- package/dist/@types/packages/vue2/src/components/empty-state/empty-state.types.d.ts +0 -28
- package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +0 -149
- package/dist/@types/packages/vue2/src/components/empty-state/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/components/file-uploader-file-card-animation/file-uploader-file-card-animation.vue.d.ts +0 -24
- package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/components/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/composables/use-truncated-file-name.d.ts +0 -10
- package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/file-uploader-file-card.types.d.ts +0 -11
- package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/file-uploader-file-card.vue.d.ts +0 -63
- package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/utils/get-file-icon/get-file-icon.d.ts +0 -8
- package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/utils/get-file-icon-color/get-file-icon-color.d.ts +0 -8
- package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/utils/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-restrictions/file-uploader-restrictions.types.d.ts +0 -39
- package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-restrictions/file-uploader-restrictions.vue.d.ts +0 -68
- package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-restrictions/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/file-uploader/composables/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/file-uploader/composables/use-file-type-list/use-file-type-list.d.ts +0 -11
- package/dist/@types/packages/vue2/src/components/file-uploader/file-uploader.types.d.ts +0 -103
- package/dist/@types/packages/vue2/src/components/file-uploader/file-uploader.vue.d.ts +0 -85
- package/dist/@types/packages/vue2/src/components/file-uploader/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/file-uploader/utils/format-file-size/format-file-size.d.ts +0 -9
- package/dist/@types/packages/vue2/src/components/file-uploader/utils/get-file-type/get-file-type.d.ts +0 -8
- package/dist/@types/packages/vue2/src/components/file-uploader/utils/index.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/file-uploader/utils/read-file/read-file.d.ts +0 -14
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.types.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +0 -19369
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/components/all-filters-modal-button/all-filters-modal-button.vue.d.ts +0 -505
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/base-filter.types.d.ts +0 -7
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/base-filter.vue.d.ts +0 -757
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/composables/use-base-filter.d.ts +0 -8
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter-button/base-filter-button.vue.d.ts +0 -482
- package/dist/@types/packages/vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue.d.ts +0 -1079
- package/dist/@types/packages/vue2/src/components/filter-bar/components/boolean-filter/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-filter/date-filter.vue.d.ts +0 -3495
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-filter/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +0 -7959
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/filter-bar-button.vue.d.ts +0 -112
- package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/index.d.ts +0 -13
- package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.keys.d.ts +0 -4
- package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.vue.d.ts +0 -1207
- package/dist/@types/packages/vue2/src/components/filter-bar/components/input-with-dropdown-filter/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/input-with-dropdown-filter/input-with-dropdown-filter.keys.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/input-with-dropdown-filter/input-with-dropdown-filter.vue.d.ts +0 -108
- package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/range-filter.vue.d.ts +0 -1190
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/select-filter-button/select-filter-button.vue.d.ts +0 -163
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/select-filter-dropdown/select-filter-dropdown.vue.d.ts +0 -165
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.props.d.ts +0 -66
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.vue.d.ts +0 -98
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-avatar-filter/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-avatar-filter/select-avatar-filter.vue.d.ts +0 -288
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +0 -113
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-currency-filter/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue.d.ts +0 -464
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-payment-method-filter/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-payment-method-filter/select-payment-method-filter.vue.d.ts +0 -448
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +0 -489
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +0 -190
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +0 -16581
- package/dist/@types/packages/vue2/src/components/filter-bar/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/focus-trap/focus-trap.types.d.ts +0 -27
- package/dist/@types/packages/vue2/src/components/focus-trap/focus-trap.vue.d.ts +0 -96
- package/dist/@types/packages/vue2/src/components/focus-trap/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-field-tip/form-layout-field-tip.vue.d.ts +0 -56
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-field-tip/form-layout-tip.types.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-field-tip/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-group/form-layout-group.types.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-group/form-layout-group.vue.d.ts +0 -91
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-group/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-title/form-layout-title.vue.d.ts +0 -73
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-title/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/form-layout/components/index.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/form-layout/form-layout.types.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/form-layout/form-layout.vue.d.ts +0 -82
- package/dist/@types/packages/vue2/src/components/form-layout/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/header/components/info-icon-with-popover/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/header/components/info-icon-with-popover/info-icon-with-popover.vue.d.ts +0 -59
- package/dist/@types/packages/vue2/src/components/header/header.types.d.ts +0 -13
- package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +0 -531
- package/dist/@types/packages/vue2/src/components/header/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/image/const.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/image/image.vue.d.ts +0 -45
- package/dist/@types/packages/vue2/src/components/image/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/info-icon/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/info-icon/info-icon.vue.d.ts +0 -61
- package/dist/@types/packages/vue2/src/components/input-field/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/input-field/input-field.keys.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/input-field/input-field.types.d.ts +0 -56
- package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +0 -377
- package/dist/@types/packages/vue2/src/components/input-field-password/index.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/input-field-password/input-field-password.types.d.ts +0 -77
- package/dist/@types/packages/vue2/src/components/input-field-password/input-field-password.vue.d.ts +0 -90
- package/dist/@types/packages/vue2/src/components/input-field-password/utilities/input-field-password.validation.d.ts +0 -37
- package/dist/@types/packages/vue2/src/components/inspector/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/inspector/inspector.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/inspector/inspector.types.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/inspector/inspector.vue.d.ts +0 -110
- package/dist/@types/packages/vue2/src/components/internal/base-button/base-button.types.d.ts +0 -15
- package/dist/@types/packages/vue2/src/components/internal/base-button/base-button.vue.d.ts +0 -262
- package/dist/@types/packages/vue2/src/components/internal/base-button/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/button-actions-with-menu/button-actions-with-menu.keys.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/internal/button-actions-with-menu/button-actions-with-menu.vue.d.ts +0 -172
- package/dist/@types/packages/vue2/src/components/internal/button-actions-with-menu/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.types.d.ts +0 -38
- package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.vue.d.ts +0 -906
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.types.d.ts +0 -18
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +0 -817
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/__test__/calendar-month-day-stub.vue.d.ts +0 -299
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.props.d.ts +0 -34
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.types.d.ts +0 -20
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.vue.d.ts +0 -280
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/composables/granular-min-max-date.d.ts +0 -7
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/composables/granular-min-max-date.types.d.ts +0 -13
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/composables/move-calendar-date.d.ts +0 -38
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/calendar/composables/use-granularity-adjustments.d.ts +0 -9
- package/dist/@types/packages/vue2/src/components/internal/calendar/composables/use-granularity-adjustments.types.d.ts +0 -14
- package/dist/@types/packages/vue2/src/components/internal/calendar/composables/use-range-pane.d.ts +0 -8
- package/dist/@types/packages/vue2/src/components/internal/calendar/composables/use-single-pane.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/calendar/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/checkbox-input/checkbox-input.vue.d.ts +0 -181
- package/dist/@types/packages/vue2/src/components/internal/checkbox-input/index.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +0 -177
- package/dist/@types/packages/vue2/src/components/internal/controls-group/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/internal/copy/copy.types.d.ts +0 -13
- package/dist/@types/packages/vue2/src/components/internal/copy/copy.vue.d.ts +0 -263
- package/dist/@types/packages/vue2/src/components/internal/copy/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/dialog-page/dialog-page.keys.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/dialog-page/dialog-page.types.d.ts +0 -17
- package/dist/@types/packages/vue2/src/components/internal/dialog-page/dialog-page.vue.d.ts +0 -101
- package/dist/@types/packages/vue2/src/components/internal/dialog-page/index.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/internal/error-message/error-message.vue.d.ts +0 -18
- package/dist/@types/packages/vue2/src/components/internal/error-message/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/internal/field-label/field-label.vue.d.ts +0 -100
- package/dist/@types/packages/vue2/src/components/internal/field-label/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/internal/fixed-scroller/composables/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/internal/fixed-scroller/composables/useFixedScroller.d.ts +0 -40
- package/dist/@types/packages/vue2/src/components/internal/fixed-scroller/fixed-scroller.vue.d.ts +0 -59
- package/dist/@types/packages/vue2/src/components/internal/fixed-scroller/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/internal/footer-actions/footer-actions.vue.d.ts +0 -114
- package/dist/@types/packages/vue2/src/components/internal/footer-actions/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/internal/grid-layout/grid-layout.types.d.ts +0 -11
- package/dist/@types/packages/vue2/src/components/internal/grid-layout/grid-layout.vue.d.ts +0 -68
- package/dist/@types/packages/vue2/src/components/internal/grid-layout/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/index.d.ts +0 -12
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-chips/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-chips/listbox-multi-select-chips.vue.d.ts +0 -76
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/index.d.ts +0 -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.types.d.ts +0 -8
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.vue.d.ts +0 -773
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.types.d.ts +0 -5
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +0 -1483
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +0 -2229
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option/listbox-option.vue.d.ts +0 -62
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option-tag/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue.d.ts +0 -224
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/components/listbox-single-select-category/index.d.ts +0 -1
- 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 +0 -177
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +0 -547
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select-option/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select-option/listbox-single-select-option.vue.d.ts +0 -272
- package/dist/@types/packages/vue2/src/components/internal/listbox/composables/use-cached-selected-values/use-cached-selected-values.d.ts +0 -33
- package/dist/@types/packages/vue2/src/components/internal/listbox/composables/use-multi-level-items/use-multi-level-items.d.ts +0 -16
- package/dist/@types/packages/vue2/src/components/internal/listbox/composables/useListboxKeyboardNavigation.d.ts +0 -11
- package/dist/@types/packages/vue2/src/components/internal/listbox/index.d.ts +0 -4
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.types.d.ts +0 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +0 -3393
- package/dist/@types/packages/vue2/src/components/internal/radio-input/index.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/internal/radio-input/radio-input.vue.d.ts +0 -164
- package/dist/@types/packages/vue2/src/components/internal/teleport/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/internal/teleport/teleport.vue.d.ts +0 -52
- package/dist/@types/packages/vue2/src/components/internal/tooltip/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/internal/tooltip/tooltip.vue.d.ts +0 -589
- package/dist/@types/packages/vue2/src/components/layout/components/layout-row/layout-row.vue.d.ts +0 -54
- package/dist/@types/packages/vue2/src/components/layout/index.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/layout/layout.keys.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/layout/layout.types.d.ts +0 -19
- package/dist/@types/packages/vue2/src/components/layout/layout.vue.d.ts +0 -53
- package/dist/@types/packages/vue2/src/components/link/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/link/link.types.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +0 -53
- package/dist/@types/packages/vue2/src/components/loading-indicator/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/loading-indicator/loading-indicator.vue.d.ts +0 -60
- package/dist/@types/packages/vue2/src/components/menu/components/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.types.d.ts +0 -13
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.vue.d.ts +0 -520
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item-list/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item-list/menu-item-list.vue.d.ts +0 -1102
- package/dist/@types/packages/vue2/src/components/menu/components/menu-list-container/menu-list-container.vue.d.ts +0 -12
- package/dist/@types/packages/vue2/src/components/menu/components/sub-menu-item-list/sub-menu-item-list.vue.d.ts +0 -541
- package/dist/@types/packages/vue2/src/components/menu/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/menu/menu.keys.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/menu/menu.types.d.ts +0 -13
- package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +0 -1792
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.keys.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +0 -294
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/modal/components/index.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +0 -292
- package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +0 -185
- package/dist/@types/packages/vue2/src/components/modal/components/modal-page/modal-page.vue.d.ts +0 -234
- package/dist/@types/packages/vue2/src/components/modal/index.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/modal/modal.keys.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/modal/modal.types.d.ts +0 -61
- package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +0 -666
- package/dist/@types/packages/vue2/src/components/modal-fullscreen/components/modal-fullscreen-page.vue.d.ts +0 -145
- package/dist/@types/packages/vue2/src/components/modal-fullscreen/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/modal-fullscreen/modal-fullscreen.keys.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/modal-fullscreen/modal-fullscreen.vue.d.ts +0 -135
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-context/pagination-context.vue.d.ts +0 -58
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-controls/pagination-controls.vue.d.ts +0 -55
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-results-per-page/pagination-results-per-page.vue.d.ts +0 -47
- package/dist/@types/packages/vue2/src/components/pagination/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +0 -151
- package/dist/@types/packages/vue2/src/components/payment-method/composables/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/payment-method/composables/use-payment-icon/use-payment-icon.d.ts +0 -15
- package/dist/@types/packages/vue2/src/components/payment-method/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/payment-method/payment-method.types.d.ts +0 -1086
- package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +0 -230
- package/dist/@types/packages/vue2/src/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue.d.ts +0 -184
- package/dist/@types/packages/vue2/src/components/popover/components/popover-image/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/popover/components/popover-image/popover-image.vue.d.ts +0 -34
- package/dist/@types/packages/vue2/src/components/popover/components/popover-title/popover-title.vue.d.ts +0 -198
- package/dist/@types/packages/vue2/src/components/popover/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/popover/popover.keys.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/popover/popover.types.d.ts +0 -22
- package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +0 -384
- package/dist/@types/packages/vue2/src/components/popper-container/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.utils.d.ts +0 -25
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +0 -259
- package/dist/@types/packages/vue2/src/components/promo-banner/__mock-image.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/promo-banner/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/promo-banner/promo-banner.types.d.ts +0 -83
- package/dist/@types/packages/vue2/src/components/promo-banner/promo-banner.vue.d.ts +0 -65
- package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.types.d.ts +0 -5
- package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.vue.d.ts +0 -174
- package/dist/@types/packages/vue2/src/components/radio-group/index.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.types.d.ts +0 -19
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +0 -257
- package/dist/@types/packages/vue2/src/components/search-bar/index.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/search-bar/search-bar.types.d.ts +0 -16
- package/dist/@types/packages/vue2/src/components/search-bar/search-bar.vue.d.ts +0 -158
- package/dist/@types/packages/vue2/src/components/search-bar/useSearchBarDataFilter.d.ts +0 -12
- package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-category/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-category/secondary-nav-category.vue.d.ts +0 -33
- package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-item/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-item/secondary-nav-item.vue.d.ts +0 -36
- package/dist/@types/packages/vue2/src/components/secondary-nav/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.keys.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.types.d.ts +0 -14
- package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.vue.d.ts +0 -60
- package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +0 -101
- package/dist/@types/packages/vue2/src/components/segmented-control/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.types.d.ts +0 -11
- package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.vue.d.ts +0 -92
- package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/selection-card-group.types.d.ts +0 -4
- package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/selection-card-group.vue.d.ts +0 -288
- package/dist/@types/packages/vue2/src/components/selection-card/index.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/selection-card/selection-card.keys.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/selection-card/selection-card.types.d.ts +0 -23
- package/dist/@types/packages/vue2/src/components/selection-card/selection-card.vue.d.ts +0 -186
- package/dist/@types/packages/vue2/src/components/sidepanel/components/sidepanel-page.vue.d.ts +0 -170
- package/dist/@types/packages/vue2/src/components/sidepanel/index.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.keys.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.types.d.ts +0 -4
- package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.vue.d.ts +0 -131
- package/dist/@types/packages/vue2/src/components/status/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/status/status.types.d.ts +0 -11
- package/dist/@types/packages/vue2/src/components/status/status.vue.d.ts +0 -39
- package/dist/@types/packages/vue2/src/components/stepper/components/step/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/stepper/components/step/step.vue.d.ts +0 -69
- package/dist/@types/packages/vue2/src/components/stepper/composables/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/stepper/composables/use-keyboard-navigation/use-keyboard-navigation.d.ts +0 -21
- package/dist/@types/packages/vue2/src/components/stepper/composables/use-step-register/use-step-register.d.ts +0 -11
- package/dist/@types/packages/vue2/src/components/stepper/index.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/stepper/stepper.keys.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/stepper/stepper.types.d.ts +0 -25
- package/dist/@types/packages/vue2/src/components/stepper/stepper.vue.d.ts +0 -84
- package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +0 -91
- package/dist/@types/packages/vue2/src/components/structured-list/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/structured-list/structured-list.keys.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/structured-list/structured-list.types.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/structured-list/structured-list.vue.d.ts +0 -90
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.types.d.ts +0 -10
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +0 -653
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +0 -785
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue.d.ts +0 -654
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +0 -769
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +0 -769
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +0 -668
- package/dist/@types/packages/vue2/src/components/summary-grid/index.d.ts +0 -7
- package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.keys.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.types.d.ts +0 -25
- package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.vue.d.ts +0 -90
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.types.d.ts +0 -10
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.vue.d.ts +0 -68
- package/dist/@types/packages/vue2/src/components/tabs/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/tabs/tabs.keys.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/tabs/tabs.types.d.ts +0 -13
- package/dist/@types/packages/vue2/src/components/tabs/tabs.utils.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +0 -417
- package/dist/@types/packages/vue2/src/components/tag/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/tag/tag.vue.d.ts +0 -29
- package/dist/@types/packages/vue2/src/components/textarea/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/textarea/textarea.types.d.ts +0 -23
- package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +0 -255
- package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +0 -1115
- package/dist/@types/packages/vue2/src/components/timeline/index.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/timeline/timeline.keys.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +0 -89
- package/dist/@types/packages/vue2/src/components/timeline/timeline.vue.d.ts +0 -460
- package/dist/@types/packages/vue2/src/components/toast/components/toast-item/toast-item.vue.d.ts +0 -14
- package/dist/@types/packages/vue2/src/components/toast/components/toast-shadow-stack/toast-shadow-stack.types.d.ts +0 -5
- package/dist/@types/packages/vue2/src/components/toast/components/toast-shadow-stack/toast-shadow-stack.vue.d.ts +0 -7
- package/dist/@types/packages/vue2/src/components/toast/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/toast/toast.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/toggle/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/toggle/toggle.types.d.ts +0 -10
- package/dist/@types/packages/vue2/src/components/toggle/toggle.vue.d.ts +0 -286
- package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/components/tutorial-indicator/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/components/tutorial-indicator/tutorial-indicator.vue.d.ts +0 -20
- package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/tutorial-popover.vue.d.ts +0 -213
- package/dist/@types/packages/vue2/src/components/tutorial/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/tutorial/tutorial.types.d.ts +0 -14
- package/dist/@types/packages/vue2/src/components/tutorial/tutorial.vue.d.ts +0 -97
- package/dist/@types/packages/vue2/src/components/typography/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/typography/typography.vue.d.ts +0 -146
- package/dist/@types/packages/vue2/src/composables/index.d.ts +0 -10
- package/dist/@types/packages/vue2/src/composables/initials.d.ts +0 -10
- package/dist/@types/packages/vue2/src/composables/use-bento-theme/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/composables/use-bento-theme/install.d.ts +0 -18
- package/dist/@types/packages/vue2/src/composables/use-bento-theme/use-bento-theme.d.ts +0 -20
- package/dist/@types/packages/vue2/src/composables/use-bento-theme/use-bento-theme.types.d.ts +0 -6
- package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/install.d.ts +0 -6
- package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/toast-stack.d.ts +0 -7
- package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/use-bento-toast-controller.d.ts +0 -2
- package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/use-bento-toast-controller.types.d.ts +0 -23
- package/dist/@types/packages/vue2/src/composables/use-checkbox-select-all/use-checkbox-select-all.d.ts +0 -46
- package/dist/@types/packages/vue2/src/composables/use-click-outside/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/composables/use-click-outside/use-click-outside.d.ts +0 -10
- package/dist/@types/packages/vue2/src/composables/use-default-slot-validator/use-default-slot-validator.d.ts +0 -2
- package/dist/@types/packages/vue2/src/composables/use-expandable-content-height/use-expandable-content-height.d.ts +0 -36
- package/dist/@types/packages/vue2/src/composables/use-form-layout-loading/use-form-layout-loading.d.ts +0 -14
- package/dist/@types/packages/vue2/src/composables/use-form-validate/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.d.ts +0 -65
- package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.types.d.ts +0 -15
- package/dist/@types/packages/vue2/src/composables/use-has-slot/use-has-slot.d.ts +0 -20
- package/dist/@types/packages/vue2/src/composables/use-virtual-list/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/composables/use-virtual-list/use-virtual-list.d.ts +0 -53
- package/dist/@types/packages/vue2/src/composables/use-virtual-list/use-virtual-list.types.d.ts +0 -20
- package/dist/@types/packages/vue2/src/directives/click-outside/directive.d.ts +0 -11
- package/dist/@types/packages/vue2/src/directives/click-outside/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/directives/click-outside/on-click-outside.d.ts +0 -11
- package/dist/@types/packages/vue2/src/directives/click-outside/types.d.ts +0 -19
- package/dist/@types/packages/vue2/src/directives/click-outside/useEventListener/index.d.ts +0 -61
- package/dist/@types/packages/vue2/src/directives/click-outside/useEventListener/types.d.ts +0 -6
- package/dist/@types/packages/vue2/src/directives/click-outside/utils.d.ts +0 -14
- package/dist/@types/packages/vue2/src/directives/index.d.ts +0 -3
- package/dist/@types/packages/vue2/src/directives/keyboard-navigation/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/directives/keyboard-navigation/keyboard-navigation.d.ts +0 -7
- package/dist/@types/packages/vue2/src/directives/keyboard-navigation/keyboard-navigation.types.d.ts +0 -7
- package/dist/@types/packages/vue2/src/directives/tooltip/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/directives/tooltip/tooltip.d.ts +0 -35
- package/dist/@types/packages/vue2/src/directives/tooltip/tooltip.types.d.ts +0 -4
- package/dist/@types/packages/vue2/src/index.d.ts +0 -67
- package/dist/@types/packages/vue2/src/install.d.ts +0 -11
- package/dist/@types/packages/vue2/src/templates/dashboard-template/components/dashboard-section/dashboard-section.vue.d.ts +0 -78
- package/dist/@types/packages/vue2/src/templates/dashboard-template/dashboard-template.types.d.ts +0 -8
- package/dist/@types/packages/vue2/src/templates/dashboard-template/dashboard-template.vue.d.ts +0 -103
- package/dist/@types/packages/vue2/src/templates/dashboard-template/index.d.ts +0 -3
- package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.keys.d.ts +0 -1
- package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.types.d.ts +0 -14
- package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.vue.d.ts +0 -91
- package/dist/@types/packages/vue2/src/templates/data-grid-template/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/types/date-format.d.ts +0 -18
- package/dist/@types/packages/vue2/src/types/elements.d.ts +0 -36
- package/dist/@types/packages/vue2/src/types/functions.d.ts +0 -8
- package/dist/@types/packages/vue2/src/types/index.d.ts +0 -9
- package/dist/@types/packages/vue2/src/types/keyboard-navigation.d.ts +0 -16
- package/dist/@types/packages/vue2/src/types/lazy-load.d.ts +0 -1
- package/dist/@types/packages/vue2/src/types/listbox.d.ts +0 -52
- package/dist/@types/packages/vue2/src/types/maybe-ref.d.ts +0 -7
- package/dist/@types/packages/vue2/src/types/prop-types.d.ts +0 -1
- package/dist/@types/packages/vue2/src/types/refs.d.ts +0 -30
- package/dist/@types/packages/vue2/src/types/utils-events.d.ts +0 -35
- package/dist/@types/packages/vue2/src/utils/ts/aria-label.d.ts +0 -16
- package/dist/@types/packages/vue2/src/utils/ts/currency/countries-list.d.ts +0 -11
- package/dist/@types/packages/vue2/src/utils/ts/currency/currency.d.ts +0 -35
- package/dist/@types/packages/vue2/src/utils/ts/currency/currency.types.d.ts +0 -24
- package/dist/@types/packages/vue2/src/utils/ts/date-input.d.ts +0 -2
- package/dist/@types/packages/vue2/src/utils/ts/debounce/debounce.d.ts +0 -10
- package/dist/@types/packages/vue2/src/utils/ts/debounce/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/utils/ts/deep-merge/deep-merge.d.ts +0 -1
- package/dist/@types/packages/vue2/src/utils/ts/deep-merge/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/utils/ts/deprecate.d.ts +0 -14
- package/dist/@types/packages/vue2/src/utils/ts/dev-environment.d.ts +0 -1
- package/dist/@types/packages/vue2/src/utils/ts/events.d.ts +0 -22
- package/dist/@types/packages/vue2/src/utils/ts/focus-trap.utils.d.ts +0 -33
- package/dist/@types/packages/vue2/src/utils/ts/get-date-locale/get-date-locale.d.ts +0 -11
- package/dist/@types/packages/vue2/src/utils/ts/get-slot-text/get-slot-text.d.ts +0 -9
- package/dist/@types/packages/vue2/src/utils/ts/get-slot-text/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/utils/ts/i18n.d.ts +0 -52
- package/dist/@types/packages/vue2/src/utils/ts/print-development-warning.d.ts +0 -6
- package/dist/@types/packages/vue2/src/utils/ts/resize.d.ts +0 -1
- package/dist/@types/packages/vue2/src/utils/ts/storybook.d.ts +0 -11
- package/dist/@types/packages/vue2/src/utils/ts/time-input.d.ts +0 -2
- package/dist/@types/packages/vue2/src/utils/ts/truncate.d.ts +0 -7
- package/dist/chunks/accordion-item.BOftQTUm.js +0 -142
- package/dist/chunks/accordion-item.BOftQTUm.js.map +0 -1
- package/dist/chunks/action-bar.B-_JS43H.js +0 -203
- package/dist/chunks/action-bar.B-_JS43H.js.map +0 -1
- package/dist/chunks/alert.B9V6kUmo.js +0 -168
- package/dist/chunks/alert.B9V6kUmo.js.map +0 -1
- package/dist/chunks/avatar.DqdDHXay.js +0 -94
- package/dist/chunks/avatar.DqdDHXay.js.map +0 -1
- package/dist/chunks/base-button.N4QTXNIp.js +0 -115
- package/dist/chunks/base-button.N4QTXNIp.js.map +0 -1
- package/dist/chunks/base-modal.BR_pB6eH.js +0 -505
- package/dist/chunks/base-modal.BR_pB6eH.js.map +0 -1
- package/dist/chunks/button-actions-with-menu.GT_kNv28.js +0 -119
- package/dist/chunks/button-actions-with-menu.GT_kNv28.js.map +0 -1
- package/dist/chunks/button-actions.BjlQS6tm.js +0 -322
- package/dist/chunks/button-actions.BjlQS6tm.js.map +0 -1
- package/dist/chunks/button.pwNCxwPu.js +0 -118
- package/dist/chunks/button.pwNCxwPu.js.map +0 -1
- package/dist/chunks/calendar.S9HFQA8j.js +0 -958
- package/dist/chunks/calendar.S9HFQA8j.js.map +0 -1
- package/dist/chunks/card.BrEfcUoE.js +0 -213
- package/dist/chunks/card.BrEfcUoE.js.map +0 -1
- package/dist/chunks/checkbox-group.C5IweVVx.js +0 -192
- package/dist/chunks/checkbox-group.C5IweVVx.js.map +0 -1
- package/dist/chunks/checkbox-input.D8ZUqd4m.js +0 -150
- package/dist/chunks/checkbox-input.D8ZUqd4m.js.map +0 -1
- package/dist/chunks/checkbox.B72ok3Yu.js +0 -238
- package/dist/chunks/checkbox.B72ok3Yu.js.map +0 -1
- package/dist/chunks/checkmark-circle-fill.ClIf1E3H.js +0 -44
- package/dist/chunks/checkmark-circle-fill.ClIf1E3H.js.map +0 -1
- package/dist/chunks/checkmark-small.DEc2T64_.js +0 -29
- package/dist/chunks/checkmark-small.DEc2T64_.js.map +0 -1
- package/dist/chunks/chevron-left.NvV5m76j.js +0 -52
- package/dist/chunks/chevron-left.NvV5m76j.js.map +0 -1
- package/dist/chunks/chevron-up.DQZG_BP3.js +0 -52
- package/dist/chunks/chevron-up.DQZG_BP3.js.map +0 -1
- package/dist/chunks/code-snippet.S5NdUu0p.js +0 -392
- package/dist/chunks/code-snippet.S5NdUu0p.js.map +0 -1
- package/dist/chunks/codemirror.BlV6WO5w.js +0 -14326
- package/dist/chunks/codemirror.BlV6WO5w.js.map +0 -1
- package/dist/chunks/controls-group.Dg_YRS1e.js +0 -98
- package/dist/chunks/controls-group.Dg_YRS1e.js.map +0 -1
- package/dist/chunks/copy.CnzLQyvJ.js +0 -155
- package/dist/chunks/copy.CnzLQyvJ.js.map +0 -1
- package/dist/chunks/country.DEQhE7oa.js +0 -98
- package/dist/chunks/country.DEQhE7oa.js.map +0 -1
- package/dist/chunks/country.types.Br0AjxGy.js +0 -5871
- package/dist/chunks/country.types.Br0AjxGy.js.map +0 -1
- package/dist/chunks/cross-circle-fill-small.BXO78Wde.js +0 -29
- package/dist/chunks/cross-circle-fill-small.BXO78Wde.js.map +0 -1
- package/dist/chunks/cross-circle-fill.DN5b3_eL.js +0 -44
- package/dist/chunks/cross-circle-fill.DN5b3_eL.js.map +0 -1
- package/dist/chunks/cross-small.CXWTuKA_.js +0 -29
- package/dist/chunks/cross-small.CXWTuKA_.js.map +0 -1
- package/dist/chunks/cross.OvPfvoqX.js +0 -29
- package/dist/chunks/cross.OvPfvoqX.js.map +0 -1
- package/dist/chunks/currency.Dz2x17_Q.js +0 -109
- package/dist/chunks/currency.Dz2x17_Q.js.map +0 -1
- package/dist/chunks/dashboard-section.LWxBcOV_.js +0 -167
- package/dist/chunks/dashboard-section.LWxBcOV_.js.map +0 -1
- package/dist/chunks/dashed-underline.CRlWNPrd.js +0 -80
- package/dist/chunks/dashed-underline.CRlWNPrd.js.map +0 -1
- package/dist/chunks/data-grid-template.BZVeRN6g.js +0 -93
- package/dist/chunks/data-grid-template.BZVeRN6g.js.map +0 -1
- package/dist/chunks/data-grid.CKDW-rbM.js +0 -3374
- package/dist/chunks/data-grid.CKDW-rbM.js.map +0 -1
- package/dist/chunks/date-picker.BrZ2X1nQ.js +0 -283
- package/dist/chunks/date-picker.BrZ2X1nQ.js.map +0 -1
- package/dist/chunks/date-range-picker.4y2goCI8.js +0 -1038
- package/dist/chunks/date-range-picker.4y2goCI8.js.map +0 -1
- package/dist/chunks/date.DVGj7WKQ.js +0 -929
- package/dist/chunks/date.DVGj7WKQ.js.map +0 -1
- package/dist/chunks/dialog-page.CnDOg98_.js +0 -171
- package/dist/chunks/dialog-page.CnDOg98_.js.map +0 -1
- package/dist/chunks/divider.ugNXYI-T.js +0 -22
- package/dist/chunks/divider.ugNXYI-T.js.map +0 -1
- package/dist/chunks/dot.pQfhaKda.js +0 -29
- package/dist/chunks/dot.pQfhaKda.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.ZjVeMHVC.js +0 -407
- package/dist/chunks/dropdown-default-textbox.ZjVeMHVC.js.map +0 -1
- package/dist/chunks/dropdown-tag.ClKm4xAo.js +0 -202
- package/dist/chunks/dropdown-tag.ClKm4xAo.js.map +0 -1
- package/dist/chunks/dropdown.Sj2OLuEF.js +0 -911
- package/dist/chunks/dropdown.Sj2OLuEF.js.map +0 -1
- package/dist/chunks/empty-state.CpXSj1aU.js +0 -185
- package/dist/chunks/empty-state.CpXSj1aU.js.map +0 -1
- package/dist/chunks/error-message.BYXS0kUN.js +0 -158
- package/dist/chunks/error-message.BYXS0kUN.js.map +0 -1
- package/dist/chunks/es6.C-HLzYPA.js +0 -11
- package/dist/chunks/es6.C-HLzYPA.js.map +0 -1
- package/dist/chunks/expand.CgwNEbbz.js +0 -33
- package/dist/chunks/expand.CgwNEbbz.js.map +0 -1
- package/dist/chunks/file-uploader.BgRbkW2V.js +0 -1077
- package/dist/chunks/file-uploader.BgRbkW2V.js.map +0 -1
- package/dist/chunks/filter-bar.CM1FZ02d.js +0 -2866
- package/dist/chunks/filter-bar.CM1FZ02d.js.map +0 -1
- package/dist/chunks/fixed-scroller.DM2JOokC.js +0 -147
- package/dist/chunks/fixed-scroller.DM2JOokC.js.map +0 -1
- package/dist/chunks/focus-trap.CwkbHfT8.js +0 -445
- package/dist/chunks/focus-trap.CwkbHfT8.js.map +0 -1
- package/dist/chunks/footer-actions.Dvsb0g5Y.js +0 -110
- package/dist/chunks/footer-actions.Dvsb0g5Y.js.map +0 -1
- package/dist/chunks/form-layout-title.BqNDCnLk.js +0 -204
- package/dist/chunks/form-layout-title.BqNDCnLk.js.map +0 -1
- package/dist/chunks/generate-uid.D-HFI38h.js +0 -32
- package/dist/chunks/generate-uid.D-HFI38h.js.map +0 -1
- package/dist/chunks/grid-layout.CqLbbEzI.js +0 -114
- package/dist/chunks/grid-layout.CqLbbEzI.js.map +0 -1
- package/dist/chunks/header.8BzBNgxj.js +0 -343
- package/dist/chunks/header.8BzBNgxj.js.map +0 -1
- package/dist/chunks/i18n.CPGoe9tN.js +0 -3088
- package/dist/chunks/i18n.CPGoe9tN.js.map +0 -1
- package/dist/chunks/image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js +0 -47
- package/dist/chunks/image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js.map +0 -1
- package/dist/chunks/index.lHdwuJAx.js +0 -366
- package/dist/chunks/index.lHdwuJAx.js.map +0 -1
- package/dist/chunks/info-icon.CUC0fwLb.js +0 -45
- package/dist/chunks/info-icon.CUC0fwLb.js.map +0 -1
- package/dist/chunks/info.CIFBUqf-.js +0 -44
- package/dist/chunks/info.CIFBUqf-.js.map +0 -1
- package/dist/chunks/input-field-password.CXsERnQX.js +0 -306
- package/dist/chunks/input-field-password.CXsERnQX.js.map +0 -1
- package/dist/chunks/input-field.C-7_iMIS.js +0 -368
- package/dist/chunks/input-field.C-7_iMIS.js.map +0 -1
- package/dist/chunks/inspector.types.DcdY_5cC.js +0 -124
- package/dist/chunks/inspector.types.DcdY_5cC.js.map +0 -1
- package/dist/chunks/layout-row.DcyZ3DP3.js +0 -101
- package/dist/chunks/layout-row.DcyZ3DP3.js.map +0 -1
- package/dist/chunks/link.D7wA0jkY.js +0 -104
- package/dist/chunks/link.D7wA0jkY.js.map +0 -1
- package/dist/chunks/listbox-option-tag.DU_NVK_z.js +0 -55
- package/dist/chunks/listbox-option-tag.DU_NVK_z.js.map +0 -1
- package/dist/chunks/loading-indicator.N_WV9Gwz.js +0 -44
- package/dist/chunks/loading-indicator.N_WV9Gwz.js.map +0 -1
- package/dist/chunks/menu.hDynz4lc.js +0 -698
- package/dist/chunks/menu.hDynz4lc.js.map +0 -1
- package/dist/chunks/modal-fullscreen.BCGaxVNb.js +0 -270
- package/dist/chunks/modal-fullscreen.BCGaxVNb.js.map +0 -1
- package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.DJXx8ftn.js +0 -501
- package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.DJXx8ftn.js.map +0 -1
- package/dist/chunks/pagination.C9kqX5tD.js +0 -469
- package/dist/chunks/pagination.C9kqX5tD.js.map +0 -1
- package/dist/chunks/payment-method.Lwl-3chY.js +0 -103
- package/dist/chunks/payment-method.Lwl-3chY.js.map +0 -1
- package/dist/chunks/popover.DwGgnCyn.js +0 -342
- package/dist/chunks/popover.DwGgnCyn.js.map +0 -1
- package/dist/chunks/popper-container.Cyf6zCPq.js +0 -1392
- package/dist/chunks/popper-container.Cyf6zCPq.js.map +0 -1
- package/dist/chunks/promo-banner.CzR9ri5v.js +0 -126
- package/dist/chunks/promo-banner.CzR9ri5v.js.map +0 -1
- package/dist/chunks/radio-group.DIyCKfOQ.js +0 -308
- package/dist/chunks/radio-group.DIyCKfOQ.js.map +0 -1
- package/dist/chunks/radio-input.DtvlM-mr.js +0 -92
- package/dist/chunks/radio-input.DtvlM-mr.js.map +0 -1
- package/dist/chunks/refresh.DvQeGwUF.js +0 -29
- package/dist/chunks/refresh.DvQeGwUF.js.map +0 -1
- package/dist/chunks/search-bar.DPC0amNg.js +0 -132
- package/dist/chunks/search-bar.DPC0amNg.js.map +0 -1
- package/dist/chunks/search.EnLryD8V.js +0 -44
- package/dist/chunks/search.EnLryD8V.js.map +0 -1
- package/dist/chunks/secondary-nav.DH7aXddE.js +0 -137
- package/dist/chunks/secondary-nav.DH7aXddE.js.map +0 -1
- package/dist/chunks/segmented-control.B5H5Wiyz.js +0 -143
- package/dist/chunks/segmented-control.B5H5Wiyz.js.map +0 -1
- package/dist/chunks/selection-card-group.DDBJ423n.js +0 -474
- package/dist/chunks/selection-card-group.DDBJ423n.js.map +0 -1
- package/dist/chunks/show.ChPQTrAT.js +0 -64
- package/dist/chunks/show.ChPQTrAT.js.map +0 -1
- package/dist/chunks/sidepanel.8NclWh0V.js +0 -254
- package/dist/chunks/sidepanel.8NclWh0V.js.map +0 -1
- package/dist/chunks/status.types.Bh_mGknA.js +0 -44
- package/dist/chunks/status.types.Bh_mGknA.js.map +0 -1
- package/dist/chunks/step.Db0UJ8mx.js +0 -264
- package/dist/chunks/step.Db0UJ8mx.js.map +0 -1
- package/dist/chunks/structured-list-item.C_6ju-IY.js +0 -108
- package/dist/chunks/structured-list-item.C_6ju-IY.js.map +0 -1
- package/dist/chunks/summary-grid-item-custom.FxBnzHzb.js +0 -720
- package/dist/chunks/summary-grid-item-custom.FxBnzHzb.js.map +0 -1
- package/dist/chunks/tabs.B3DGxpmI.js +0 -211
- package/dist/chunks/tabs.B3DGxpmI.js.map +0 -1
- package/dist/chunks/tag.xvqrfTwk.js +0 -51
- package/dist/chunks/tag.xvqrfTwk.js.map +0 -1
- package/dist/chunks/teleport.B255JhsV.js +0 -138
- package/dist/chunks/teleport.B255JhsV.js.map +0 -1
- package/dist/chunks/textarea.D1weaQCC.js +0 -270
- package/dist/chunks/textarea.D1weaQCC.js.map +0 -1
- package/dist/chunks/timeline-item.BDYrjKhM.js +0 -558
- package/dist/chunks/timeline-item.BDYrjKhM.js.map +0 -1
- package/dist/chunks/toast.D8AYOorS.js +0 -221
- package/dist/chunks/toast.D8AYOorS.js.map +0 -1
- package/dist/chunks/toggle-button.Bf77_tMh.js +0 -79
- package/dist/chunks/toggle-button.Bf77_tMh.js.map +0 -1
- package/dist/chunks/toggle.Bme9eaeR.js +0 -161
- package/dist/chunks/toggle.Bme9eaeR.js.map +0 -1
- package/dist/chunks/tooltip.BvJoy09y.js +0 -203
- package/dist/chunks/tooltip.BvJoy09y.js.map +0 -1
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.ltZUbc6M.js +0 -422
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.ltZUbc6M.js.map +0 -1
- package/dist/chunks/typography.DNzU41ah.js +0 -82
- package/dist/chunks/typography.DNzU41ah.js.map +0 -1
- package/dist/chunks/use-bento-toast-controller.C2wUDcoc.js +0 -50
- package/dist/chunks/use-bento-toast-controller.C2wUDcoc.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.B6beyyvX.js +0 -1591
- package/dist/chunks/use-cached-selected-values.B6beyyvX.js.map +0 -1
- package/dist/chunks/use-country-items.CTyhUEHS.js +0 -29
- package/dist/chunks/use-country-items.CTyhUEHS.js.map +0 -1
- package/dist/chunks/warning-filled.OUOUbA6k.js +0 -29
- package/dist/chunks/warning-filled.OUOUbA6k.js.map +0 -1
|
@@ -0,0 +1,3377 @@
|
|
|
1
|
+
import { ref as A, reactive as Je, toRefs as Qe, computed as E, watchEffect as Un, watch as me, onMounted as et, nextTick as ge, onUnmounted as Ft, onBeforeUpdate as Fn, createElementBlock as y, openBlock as c, mergeProps as Q, createCommentVNode as U, createElementVNode as O, toDisplayString as q, defineComponent as Ee, normalizeClass as ce, Fragment as ve, renderList as Ce, unref as o, toHandlers as xe, createVNode as X, createBlock as P, withCtx as H, renderSlot as Se, withModifiers as Pn, resolveComponent as he, withDirectives as tt, createTextVNode as ue, vShow as Bn, toRef as Pt, resolveDirective as Wn, Transition as Bt, createSlots as Ae, resolveDynamicComponent as Me, useSlots as nt, provide as Gn, inject as ht, normalizeStyle as ke, normalizeProps as Hn, guardReactiveProps as Vn } from "vue";
|
|
2
|
+
import { C as xn } from "./checkmark-circle-fill.g_tcBhFJ.js";
|
|
3
|
+
import { W as Zn } from "./warning-filled.tTkVob0l.js";
|
|
4
|
+
import { _ as se } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
5
|
+
import { C as Wt } from "./cross.BZYw4R3N.js";
|
|
6
|
+
import { N as Ct } from "./checkbox-input.CAYgiRHG.js";
|
|
7
|
+
import { l as _t } from "./events.FNmSWp_P.js";
|
|
8
|
+
import { K as ye, B as jn } from "./tooltip.2MOlGHD9.js";
|
|
9
|
+
import { c as qn } from "./popper-container.types.BCZMbVFD.js";
|
|
10
|
+
import { B as Yn } from "./action-bar.CmDQZkM2.js";
|
|
11
|
+
import { B as Xn } from "./pagination.BCC3GZV5.js";
|
|
12
|
+
import { B as lt } from "./loading-indicator.DEepb9Wl.js";
|
|
13
|
+
import { B as Ze, p as Gt } from "./typography.DN5eC5ch.js";
|
|
14
|
+
import { u as st } from "./use-has-slot.B7eQSabc.js";
|
|
15
|
+
import { u as Kn } from "./aria-label.CaUURpnB.js";
|
|
16
|
+
import { g as Jn } from "./get-slot-text.D5WBGjic.js";
|
|
17
|
+
import { u as Ne } from "./i18n.WMYWtwxB.js";
|
|
18
|
+
import { B as Qn } from "./empty-state.C2ancCe6.js";
|
|
19
|
+
import { B as He } from "./filter-bar.oihCCt5N.js";
|
|
20
|
+
import { E as el } from "./tabs.keys.Bc2pSKRw.js";
|
|
21
|
+
import { D as tl } from "./data-grid-template.keys.2_AkxuNT.js";
|
|
22
|
+
import { o as ot } from "./resize.Bqks3WUm.js";
|
|
23
|
+
import { a as wt, B as nl } from "./popover.3KG1IoYE.js";
|
|
24
|
+
import { B as Ht } from "./button.Cneb6rPP.js";
|
|
25
|
+
import { B as Vt } from "./toggle.Dl82VpiQ.js";
|
|
26
|
+
import { B as ll } from "./search-bar.BZDJJtWB.js";
|
|
27
|
+
import { u as sl } from "./dropdown.CZDXXpKe.js";
|
|
28
|
+
import { B as ol } from "./directive.O3yEdalv.js";
|
|
29
|
+
import { g as Ye } from "./generate-uid.NJ8tVoha.js";
|
|
30
|
+
import { S as il } from "./search.KgjmJMHa.js";
|
|
31
|
+
import { B as it } from "./toggle-button.CCgvi7TQ.js";
|
|
32
|
+
import { B as xt } from "./checkbox.D9FJcICR.js";
|
|
33
|
+
import { B as al } from "./info-icon.BCSBCH-5.js";
|
|
34
|
+
import { B as Xe, O as rl, D as dl } from "./menu.Dmzh3Uat.js";
|
|
35
|
+
import { A as ul } from "./dialog-page.CJBSluwk.js";
|
|
36
|
+
import { H as cl, S as fl } from "./show.J9zXGWlK.js";
|
|
37
|
+
import { u as gl } from "./use-expandable-content-height.GkjjbmPy.js";
|
|
38
|
+
import { C as vl } from "./copy.DAMq-zRP.js";
|
|
39
|
+
import { C as ml, a as hl } from "./chevron-up.Cu9qXgBY.js";
|
|
40
|
+
import { d as Lt, e as St } from "./button-actions.CShVMUOC.js";
|
|
41
|
+
import "../assets/data-grid.css";
|
|
42
|
+
var Ke = /* @__PURE__ */ ((e) => (e.WRAP = "wrap", e.ELLIPSIS = "ellipsis", e))(Ke || {}), pe = /* @__PURE__ */ ((e) => (e.OUTLINE = "outline", e.SCROLL = "scroll", e.STICKY_FILTERS = "sticky-filters", e.OVERFLOW_SHADOW_LEFT = "overflow-shadow-left", e.OVERFLOW_SHADOW_RIGHT = "overflow-shadow-right", e.NO_SPACING_TOP = "no-spacing-top", e))(pe || {}), Oe = /* @__PURE__ */ ((e) => (e.ASCENDING = "asc", e.DESCENDING = "desc", e))(Oe || {}), k = /* @__PURE__ */ ((e) => (e.COLUMNS = "columns", e.COLUMN_RESIZE = "column-resize", e.ITEMS_PAGE = "items-page", e.NAVIGATE = "navigate", e.NESTED_CONTENT_TOGGLED = "nested-content-toggled", e.FILTER_SEARCH_INPUT = "filter-search-input", e.FILTER_SEARCH_CLEAR = "filter-search-clear", e.UPDATE_COLUMNS = "update:columns", e.UPDATE_CONDENSED = "update:condensed", e.UPDATE_FILTERS = "update:filters", e.UPDATE_FILTER_VALUES = "update:filter-values", e.UPDATE_FILTER_SEARCH_TERM = "update:filter-search-term", e.UPDATE_PAGINATION = "update:pagination", e.UPDATE_SELECTION = "update:selection", e.UPDATE_SHOW_MORE = "update:show-more", e.UPDATE_SORT_BY = "update:sort-by", e.ROW_CLICK = "row-click", e.SELECT = "select", e.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", e.SORT = "sort", e))(k || {}), Ve = /* @__PURE__ */ ((e) => (e.ASCENDING = "ascending", e.DESCENDING = "descending", e.NONE = "none", e))(Ve || {}), ee = /* @__PURE__ */ ((e) => (e.COLUMN_RESIZE = "column-resize", e.COLUMN_RESIZING = "column-resizing", e.SELECT_ALL_ROWS = "select-all-rows", e.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", e.COLUMN_MOVE = "column-move", e.COLUMN_UPDATE = "column-update", e.COLUMN_MENU_OPEN = "column-menu-open", e.COLUMN_MENU_CLOSE = "column-menu-close", e.COLUMN_HOVER = "column-hover", e.COLUMN_DRAG_START = "column-dragstart", e.COLUMN_DRAG_ENTER = "column-dragenter", e.COLUMN_DRAG_END = "column-dragend", e.COLUMN_DROP = "column-drop", e))(ee || {});
|
|
43
|
+
const Cl = (e, a) => {
|
|
44
|
+
const g = A(null), n = A(!1), d = A(void 0), t = e.value.reduce((_, h) => (_[h.field] = null, _), {}), s = Je(t), w = Qe(s);
|
|
45
|
+
let C = 0, L = "";
|
|
46
|
+
const N = E(
|
|
47
|
+
() => Object.fromEntries(e.value.map(({ field: _, width: h, minWidth: $ }) => [_, { width: h, minWidth: $ }]))
|
|
48
|
+
);
|
|
49
|
+
Un(() => d.value = N.value);
|
|
50
|
+
let f = null, b = null;
|
|
51
|
+
const l = (_) => {
|
|
52
|
+
const h = _.clientX - C, $ = L, R = d.value[$].width + h;
|
|
53
|
+
d.value[$].width = R > N.value[$].minWidth ? R : N.value[$].minWidth, a(ee.COLUMN_RESIZING, d.value), C = _.clientX;
|
|
54
|
+
}, u = () => {
|
|
55
|
+
n.value = !1, f == null || f(), b == null || b(), L && a(ee.COLUMN_RESIZE, {
|
|
56
|
+
field: L,
|
|
57
|
+
width: d.value[L].width
|
|
58
|
+
}), f = null, b = null, L = "", C = null;
|
|
59
|
+
}, i = (_, h, $) => {
|
|
60
|
+
if ($.preventDefault(), _) {
|
|
61
|
+
if (n.value = !0, $.buttons !== 1) {
|
|
62
|
+
u();
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
L = h, C = $.clientX, f = _t(window, "mousemove", l), b = _t(window, "mouseup", u);
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
return me(
|
|
69
|
+
() => n.value,
|
|
70
|
+
(_, h) => {
|
|
71
|
+
!_ && h && (a(ee.COLUMN_HOVER, g.value), g.value = null);
|
|
72
|
+
}
|
|
73
|
+
), {
|
|
74
|
+
resizeData: d,
|
|
75
|
+
allColumnRefs: w,
|
|
76
|
+
startResize: i,
|
|
77
|
+
isResizing: n,
|
|
78
|
+
columnHoverEventToEmitAfterResizing: g
|
|
79
|
+
};
|
|
80
|
+
}, _l = 100, Et = 50, fe = "b-actions-column", wl = 32, Ll = 56, Sl = 56, El = 80, yl = 36, bl = 1, Zt = 16, pl = 20, Ol = (e, a, g) => {
|
|
81
|
+
const n = {}, d = [], t = (w) => {
|
|
82
|
+
const C = n[w];
|
|
83
|
+
C && C.frozen !== !0 && (n[w].frozen = !0, d.push(w));
|
|
84
|
+
};
|
|
85
|
+
function s() {
|
|
86
|
+
if (d.length === g.length)
|
|
87
|
+
return;
|
|
88
|
+
const w = { min: {} };
|
|
89
|
+
let C = e, L = a, N = 0;
|
|
90
|
+
d.forEach((f) => {
|
|
91
|
+
C -= n[f].computedWidth, L -= n[f].flex;
|
|
92
|
+
});
|
|
93
|
+
for (let f = 0, b = g.length; f < b; f += 1) {
|
|
94
|
+
const l = g[f];
|
|
95
|
+
if (n[l.field] && n[l.field].frozen === !0)
|
|
96
|
+
continue;
|
|
97
|
+
let i = C / L * l.flex;
|
|
98
|
+
i < l.minWidth && (N += l.minWidth - i, i = l.minWidth, w.min[l.field] = !0), n[l.field] = {
|
|
99
|
+
frozen: !1,
|
|
100
|
+
computedWidth: i,
|
|
101
|
+
flex: l.flex
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
N > 0 ? Object.keys(w.min).forEach((f) => {
|
|
105
|
+
t(f);
|
|
106
|
+
}) : g.forEach(({ field: f }) => {
|
|
107
|
+
t(f);
|
|
108
|
+
}), s();
|
|
109
|
+
}
|
|
110
|
+
return s(), n;
|
|
111
|
+
}, yt = (e, a) => {
|
|
112
|
+
let g = bl;
|
|
113
|
+
return a && (g += Zt * 2), e != null && e.offsetWidth ? e.offsetWidth + g : 0;
|
|
114
|
+
}, Rl = (e) => {
|
|
115
|
+
var a, g, n, d, t;
|
|
116
|
+
return (a = e == null ? void 0 : e.hasNestedContent) != null && a.value || (g = e == null ? void 0 : e.hasNestedRows) != null && g.value ? (n = e == null ? void 0 : e.hasSelectableColumn) != null && n.value ? (d = e == null ? void 0 : e.hasSelectableAcrossPages) != null && d.value ? El : Sl : yl : (t = e == null ? void 0 : e.hasSelectableAcrossPages) != null && t.value ? Ll : wl;
|
|
117
|
+
}, Nl = (e, a, g, n, d, t) => {
|
|
118
|
+
const s = A(e.value), w = A(a), C = A(g), L = A(n), N = A(d), f = A(!1);
|
|
119
|
+
me(
|
|
120
|
+
() => e.value,
|
|
121
|
+
(S, p) => {
|
|
122
|
+
var x, te;
|
|
123
|
+
const G = (S == null ? void 0 : S.map(({ field: v }) => v).toString()) === (p == null ? void 0 : p.map(({ field: v }) => v).toString());
|
|
124
|
+
if (!((x = t == null ? void 0 : t.allowColumnDragAndDrop) != null && x.value) || !G) {
|
|
125
|
+
s.value = e.value;
|
|
126
|
+
return;
|
|
127
|
+
}
|
|
128
|
+
s.value = ((te = s.value) == null ? void 0 : te.length) === 0 ? e.value : e.value.sort((v, V) => {
|
|
129
|
+
const F = s.value.findIndex((oe) => oe.field === v.field), W = s.value.findIndex((oe) => oe.field === V.field);
|
|
130
|
+
return F === -1 ? 1 : W === -1 ? -1 : F - W;
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
);
|
|
134
|
+
const b = A();
|
|
135
|
+
let l = null;
|
|
136
|
+
const u = E(() => {
|
|
137
|
+
var F, W, oe;
|
|
138
|
+
const S = [];
|
|
139
|
+
let p = 0, G = 0;
|
|
140
|
+
const x = {};
|
|
141
|
+
let te = s.value.filter((Z) => Z.visible !== !1);
|
|
142
|
+
const v = s.value.filter((Z) => Z.visible === !1);
|
|
143
|
+
if ((F = t == null ? void 0 : t.hasSelectableColumn) != null && F.value || (W = t == null ? void 0 : t.hasNestedContent) != null && W.value || (oe = t == null ? void 0 : t.hasNestedRows) != null && oe.value) {
|
|
144
|
+
const Z = Rl(t);
|
|
145
|
+
te = [
|
|
146
|
+
{
|
|
147
|
+
field: fe,
|
|
148
|
+
label: "",
|
|
149
|
+
minWidth: Z,
|
|
150
|
+
width: Z,
|
|
151
|
+
frozen: !0,
|
|
152
|
+
padding: { left: !1, right: !1 }
|
|
153
|
+
},
|
|
154
|
+
...te
|
|
155
|
+
];
|
|
156
|
+
}
|
|
157
|
+
te.forEach((Z) => {
|
|
158
|
+
const m = { ...Z };
|
|
159
|
+
let D;
|
|
160
|
+
m.flex && m.flex > 0 ? (p += m.flex, D = 0, S.push(m)) : D = Math.max(
|
|
161
|
+
(m == null ? void 0 : m.width) ?? _l,
|
|
162
|
+
(m == null ? void 0 : m.minWidth) ?? Et
|
|
163
|
+
), G += D, m.width = D, m.minWidth = (m == null ? void 0 : m.minWidth) ?? Et, x[m.field] = m;
|
|
164
|
+
});
|
|
165
|
+
const V = Math.max(b.value - G, 0);
|
|
166
|
+
if (p > 0 && b.value > 0) {
|
|
167
|
+
const Z = Ol(V, p, S);
|
|
168
|
+
Object.keys(Z).forEach((m) => {
|
|
169
|
+
x[m].width = Z[m].computedWidth;
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
return v.forEach((Z) => {
|
|
173
|
+
const m = { ...Z };
|
|
174
|
+
x[m.field] = m;
|
|
175
|
+
}), Object.values(x);
|
|
176
|
+
}), i = A(void 0), _ = (S) => {
|
|
177
|
+
i.value = { ...i.value, ...S };
|
|
178
|
+
}, h = async () => {
|
|
179
|
+
s.value.some((S) => S == null ? void 0 : S.autoWidth) && (f.value = !0, await ge(), await ge(), s == null || s.value.filter((S) => S == null ? void 0 : S.autoWidth).forEach(({ field: S, minWidth: p }) => {
|
|
180
|
+
var v, V, F, W;
|
|
181
|
+
const G = yt(
|
|
182
|
+
(v = L.value) == null ? void 0 : v[S],
|
|
183
|
+
(V = t == null ? void 0 : t.hasColumnPanel) == null ? void 0 : V.value
|
|
184
|
+
), x = (W = (F = N.value) == null ? void 0 : F[S]) == null ? void 0 : W.reduce(
|
|
185
|
+
(oe, Z) => Math.max(oe, yt(Z)),
|
|
186
|
+
0
|
|
187
|
+
), te = Math.max(G, x ?? 0);
|
|
188
|
+
(p === void 0 || te > p) && _({
|
|
189
|
+
[S]: {
|
|
190
|
+
width: te
|
|
191
|
+
}
|
|
192
|
+
});
|
|
193
|
+
}), f.value = !1);
|
|
194
|
+
};
|
|
195
|
+
me([() => s.value, () => w.value], async () => {
|
|
196
|
+
s.value.some((S) => S == null ? void 0 : S.autoWidth) && await h();
|
|
197
|
+
});
|
|
198
|
+
const $ = E(
|
|
199
|
+
() => u.value.map((S) => {
|
|
200
|
+
var p, G;
|
|
201
|
+
return {
|
|
202
|
+
...S,
|
|
203
|
+
// Override column width with resized ones
|
|
204
|
+
width: ((G = (p = i.value) == null ? void 0 : p[S.field]) == null ? void 0 : G.width) ?? S.width
|
|
205
|
+
};
|
|
206
|
+
})
|
|
207
|
+
), R = E(
|
|
208
|
+
() => {
|
|
209
|
+
var S;
|
|
210
|
+
return (S = $.value) == null ? void 0 : S.filter(({ visible: p }) => p !== !1).reduce((p, G) => G.width + p, 0);
|
|
211
|
+
}
|
|
212
|
+
), B = E(
|
|
213
|
+
() => b.value <= R.value
|
|
214
|
+
), K = E(() => ({
|
|
215
|
+
width: b.value > R.value ? "100%" : "fit-content"
|
|
216
|
+
}));
|
|
217
|
+
return et(() => {
|
|
218
|
+
var p;
|
|
219
|
+
const S = t != null && t.isDataGridTemplate ? pl : 0;
|
|
220
|
+
ge(() => {
|
|
221
|
+
C.value && (b.value = C.value.getBoundingClientRect().width - S);
|
|
222
|
+
const G = me(
|
|
223
|
+
C,
|
|
224
|
+
() => {
|
|
225
|
+
C.value && (ge(() => G()), l = ot(C.value, ({ width: x }) => {
|
|
226
|
+
b.value = x - S;
|
|
227
|
+
}));
|
|
228
|
+
},
|
|
229
|
+
{ immediate: !0 }
|
|
230
|
+
);
|
|
231
|
+
}), (p = document == null ? void 0 : document.fonts) != null && p.ready ? document.fonts.ready.then(() => {
|
|
232
|
+
h();
|
|
233
|
+
}) : h();
|
|
234
|
+
}), Ft(() => {
|
|
235
|
+
l == null || l.disconnect();
|
|
236
|
+
}), Fn(() => {
|
|
237
|
+
var S;
|
|
238
|
+
N.value && ((S = Object.keys(N.value)) == null ? void 0 : S.length) > 0 && Object.keys(N.value).forEach((G) => {
|
|
239
|
+
N.value[G] = [];
|
|
240
|
+
});
|
|
241
|
+
}), {
|
|
242
|
+
columnDefs: $,
|
|
243
|
+
gridColumnWidthStyle: K,
|
|
244
|
+
onColumnWidthOverride: _,
|
|
245
|
+
isMeasuringColumnWidths: f,
|
|
246
|
+
isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: B,
|
|
247
|
+
columns: s,
|
|
248
|
+
totalWidthOfAllColumns: R
|
|
249
|
+
};
|
|
250
|
+
}, Tl = (e, a, g, n, d) => {
|
|
251
|
+
const t = A(e.value ?? []), s = Je({
|
|
252
|
+
allItemsSelected: !1,
|
|
253
|
+
isIndeterminate: !1
|
|
254
|
+
}), w = E(
|
|
255
|
+
() => g.value.flatMap((u) => {
|
|
256
|
+
var i;
|
|
257
|
+
return [u, ((i = u == null ? void 0 : u.children) == null ? void 0 : i.length) > 0 ? u == null ? void 0 : u.children : []];
|
|
258
|
+
}).flat()
|
|
259
|
+
), C = () => {
|
|
260
|
+
a(k.SELECT, t.value), a(k.UPDATE_SELECTION, t.value);
|
|
261
|
+
}, L = (u) => {
|
|
262
|
+
var _, h, $, R, B;
|
|
263
|
+
if (t.value = u, ((_ = g.value) == null ? void 0 : _.length) > 0 && ((h = w.value) == null ? void 0 : h.filter((K) => !d(K)).every((K) => t.value.includes(n(K))))) {
|
|
264
|
+
s.allItemsSelected = !0;
|
|
265
|
+
const K = (($ = g.value) == null ? void 0 : $.length) > 0 && g.value.every((S) => t.value.includes(n(S)));
|
|
266
|
+
s.isIndeterminate = !K;
|
|
267
|
+
} else
|
|
268
|
+
s.allItemsSelected = !1, s.isIndeterminate = ((R = t.value) == null ? void 0 : R.length) > 0 && ((B = g.value) == null ? void 0 : B.length) > 0 && g.value.some(
|
|
269
|
+
(K) => {
|
|
270
|
+
var S;
|
|
271
|
+
return t.value.includes(n(K)) || ((S = K == null ? void 0 : K.children) == null ? void 0 : S.some((p) => t.value.includes(n(p))));
|
|
272
|
+
}
|
|
273
|
+
);
|
|
274
|
+
}, N = (u) => {
|
|
275
|
+
ge(() => {
|
|
276
|
+
var i, _, h;
|
|
277
|
+
if (s.allItemsSelected = u, u) {
|
|
278
|
+
t.value = (_ = (i = w.value) == null ? void 0 : i.filter(
|
|
279
|
+
(R) => !d(R) && ((R == null ? void 0 : R.children) === void 0 || R.children.every((B) => !d(B)))
|
|
280
|
+
)) == null ? void 0 : _.map((R) => n(R));
|
|
281
|
+
const $ = ((h = g.value) == null ? void 0 : h.length) > 0 && g.value.every((R) => t.value.includes(n(R)));
|
|
282
|
+
s.isIndeterminate = t.value.length > 0 && !$;
|
|
283
|
+
} else
|
|
284
|
+
t.value = [], s.isIndeterminate = !1;
|
|
285
|
+
C();
|
|
286
|
+
});
|
|
287
|
+
}, f = (u, i) => {
|
|
288
|
+
ge(() => {
|
|
289
|
+
var _;
|
|
290
|
+
L(((_ = i == null ? void 0 : i.children) == null ? void 0 : _.length) > 0 ? b(u, i) : u), C();
|
|
291
|
+
});
|
|
292
|
+
}, b = (u, i) => {
|
|
293
|
+
var $;
|
|
294
|
+
const _ = n(i), h = ($ = i.children) == null ? void 0 : $.filter((R) => !d(R)).map((R) => n(R));
|
|
295
|
+
if (u.includes(_)) {
|
|
296
|
+
const R = u;
|
|
297
|
+
return h.forEach((B) => {
|
|
298
|
+
R.includes(B) || R.push(B);
|
|
299
|
+
}), R;
|
|
300
|
+
}
|
|
301
|
+
return u.filter((R) => !h.includes(R));
|
|
302
|
+
}, l = (u, i, _) => {
|
|
303
|
+
ge(() => {
|
|
304
|
+
var $, R;
|
|
305
|
+
const h = n(i);
|
|
306
|
+
u.includes(n(_)) ? L(
|
|
307
|
+
!u.includes(h) && (($ = i == null ? void 0 : i.children) != null && $.every((B) => u.includes(n(B)))) ? [...u, h] : u
|
|
308
|
+
) : L(
|
|
309
|
+
u.includes(h) && !((R = i == null ? void 0 : i.children) != null && R.every((B) => u.includes(n(B)))) ? u.filter((B) => B !== h) : u
|
|
310
|
+
), C();
|
|
311
|
+
});
|
|
312
|
+
};
|
|
313
|
+
return me(
|
|
314
|
+
() => e.value,
|
|
315
|
+
() => {
|
|
316
|
+
L(e.value ?? []);
|
|
317
|
+
},
|
|
318
|
+
{ immediate: !0 }
|
|
319
|
+
), me(
|
|
320
|
+
() => g.value,
|
|
321
|
+
() => {
|
|
322
|
+
const u = g.value.filter((i) => t.value.includes(n(i))).flatMap(
|
|
323
|
+
(i) => {
|
|
324
|
+
var _;
|
|
325
|
+
return ((_ = i == null ? void 0 : i.children) == null ? void 0 : _.length) > 0 ? i.children.map((h) => n(h)).filter((h) => !t.value.includes(h)) : [];
|
|
326
|
+
}
|
|
327
|
+
);
|
|
328
|
+
L([...t.value, ...u]), C();
|
|
329
|
+
}
|
|
330
|
+
), { onAllRowSelect: N, onRowSelect: f, onNestedRowSelect: l, allItemsSelectedState: s, selectedItems: t };
|
|
331
|
+
}, Al = (e, a, g) => ({ isSorting: (s) => e.value.some((w) => w.field === s), getSortingDirection: (s) => {
|
|
332
|
+
var w;
|
|
333
|
+
return (w = e.value.find((C) => C.field === s)) == null ? void 0 : w.direction;
|
|
334
|
+
}, sortByColumnField: (s) => {
|
|
335
|
+
var L;
|
|
336
|
+
if (!a.value.some((N) => N.field === s && N.sortable))
|
|
337
|
+
return;
|
|
338
|
+
const C = [{
|
|
339
|
+
field: s,
|
|
340
|
+
direction: ((L = e.value.find((N) => N.field === s)) == null ? void 0 : L.direction) === Oe.ASCENDING ? Oe.DESCENDING : Oe.ASCENDING
|
|
341
|
+
}];
|
|
342
|
+
g("sort", C);
|
|
343
|
+
} });
|
|
344
|
+
var de = ((e) => (e[e.ARROW_DOWN = ye.ARROW_DOWN] = "ARROW_DOWN", e[e.ARROW_UP = ye.ARROW_UP] = "ARROW_UP", e[e.ARROW_LEFT = ye.ARROW_LEFT] = "ARROW_LEFT", e[e.ARROW_RIGHT = ye.ARROW_RIGHT] = "ARROW_RIGHT", e[e.PAGE_UP = ye.PAGE_UP] = "PAGE_UP", e[e.PAGE_DOWN = ye.PAGE_DOWN] = "PAGE_DOWN", e[e.END = ye.END] = "END", e[e.HOME = ye.HOME] = "HOME", e))(de || {});
|
|
345
|
+
const Il = (e, a, g) => {
|
|
346
|
+
const n = E(() => {
|
|
347
|
+
const l = a.value.filter(({ visible: u }) => u !== !1);
|
|
348
|
+
return g.value ? l.length + 1 : l.length;
|
|
349
|
+
}), d = E(
|
|
350
|
+
() => [...Object.values(e.value)].flat(1).sort((l, u) => {
|
|
351
|
+
const i = Number(l.getAttribute("data-cellindex")), _ = Number(u.getAttribute("data-cellindex"));
|
|
352
|
+
return i > _ ? 1 : _ > i ? -1 : 0;
|
|
353
|
+
})
|
|
354
|
+
), t = (l) => Math.floor(l / n.value), s = (l, u, i) => {
|
|
355
|
+
const _ = d.value.length - 1, h = n.value - 1, $ = t(l), R = l - n.value * $;
|
|
356
|
+
return {
|
|
357
|
+
[de.PAGE_UP]: R,
|
|
358
|
+
[de.PAGE_DOWN]: _ - h + R,
|
|
359
|
+
[de.END]: i ? _ : n.value * $ + h,
|
|
360
|
+
[de.HOME]: i ? 0 : n.value * $
|
|
361
|
+
}[u];
|
|
362
|
+
}, w = (l, u) => {
|
|
363
|
+
const _ = {
|
|
364
|
+
[de.ARROW_DOWN]: n.value,
|
|
365
|
+
[de.ARROW_UP]: -n.value,
|
|
366
|
+
[de.ARROW_LEFT]: -1,
|
|
367
|
+
[de.ARROW_RIGHT]: 1
|
|
368
|
+
}[u], h = l + _;
|
|
369
|
+
return h < 0 || h >= d.value.length ? l : h;
|
|
370
|
+
}, C = (l) => [
|
|
371
|
+
de.PAGE_UP,
|
|
372
|
+
de.PAGE_DOWN,
|
|
373
|
+
de.END,
|
|
374
|
+
de.HOME
|
|
375
|
+
].includes(l), L = (l, u, i) => {
|
|
376
|
+
const _ = d.value.indexOf(l);
|
|
377
|
+
return C(u) ? s(_, u, i) : w(_, u);
|
|
378
|
+
}, N = (l, u, i) => {
|
|
379
|
+
if (!d.value.includes(l))
|
|
380
|
+
return;
|
|
381
|
+
const _ = L(l, u, i);
|
|
382
|
+
d.value[_].focus();
|
|
383
|
+
}, f = (l) => l in de;
|
|
384
|
+
return {
|
|
385
|
+
isNavigationKeyCode: f,
|
|
386
|
+
focusOnNextGridcell: N,
|
|
387
|
+
navigationInput: (l) => {
|
|
388
|
+
const { ctrlKey: u, keyCode: i, target: _ } = l;
|
|
389
|
+
Object.values(e.value).flat(1).includes(_) && f(i) && N(_, i, u);
|
|
390
|
+
}
|
|
391
|
+
};
|
|
392
|
+
}, $l = 90, Dl = (e, a, g, n, d) => {
|
|
393
|
+
const t = A(e), s = A(a), w = A(g), C = A(n), L = E(() => t.value !== "none"), N = E(() => t.value === "automatic"), f = () => {
|
|
394
|
+
d(k.UPDATE_SHOW_MORE);
|
|
395
|
+
};
|
|
396
|
+
return me(
|
|
397
|
+
() => s.value,
|
|
398
|
+
() => {
|
|
399
|
+
N.value && w.value.offsetHeight / s.value * 100 > $l && !C.value && f();
|
|
400
|
+
}
|
|
401
|
+
), { isLazyLoad: L, isInfiniteScroll: N, verticalScrollPosition: s, emitLazyLoadEvent: f };
|
|
402
|
+
}, kl = (e, a, g) => {
|
|
403
|
+
const n = A(e), d = A(a), t = Je({
|
|
404
|
+
dragging: null,
|
|
405
|
+
dragToLeft: null,
|
|
406
|
+
target: null
|
|
407
|
+
}), s = (l, u = 0) => {
|
|
408
|
+
const i = n.value.findIndex(($) => $.field === l.field), _ = i + u;
|
|
409
|
+
if (_ < 0 || _ > n.value.length - 1)
|
|
410
|
+
return;
|
|
411
|
+
const h = [...n.value];
|
|
412
|
+
h.splice(_, 0, h.splice(i, 1)[0]), g(k.COLUMNS, h), g(k.UPDATE_COLUMNS, h);
|
|
413
|
+
}, w = (l, u) => {
|
|
414
|
+
t.dragging = l, u.dataTransfer.setData("text", ""), u.dataTransfer.dropEffect = "move";
|
|
415
|
+
}, C = (l, u) => {
|
|
416
|
+
t.target = l;
|
|
417
|
+
const i = u.currentTarget.getBoundingClientRect(), _ = i.left + i.width / 2, h = u.clientX ?? 0;
|
|
418
|
+
t.dragToLeft = h <= _;
|
|
419
|
+
}, L = (l) => {
|
|
420
|
+
var u, i;
|
|
421
|
+
if (((u = t.dragging) == null ? void 0 : u.field) !== l.field) {
|
|
422
|
+
const _ = n.value.findIndex((S) => {
|
|
423
|
+
var p;
|
|
424
|
+
return S.field === ((p = t.dragging) == null ? void 0 : p.field);
|
|
425
|
+
}), h = n.value.findIndex((S) => S.field === l.field), $ = t.dragToLeft ? h : h + 1, R = $ > _ ? $ - 1 : $;
|
|
426
|
+
let B = [...n.value];
|
|
427
|
+
B.splice(
|
|
428
|
+
R === -1 ? 0 : R,
|
|
429
|
+
0,
|
|
430
|
+
B.splice(_, 1)[0]
|
|
431
|
+
);
|
|
432
|
+
const K = n.value.findIndex((S) => !(S != null && S.frozen));
|
|
433
|
+
((i = t.dragging) == null ? void 0 : i.frozen) !== l.frozen && $ !== K && (B = B.map(
|
|
434
|
+
(S) => {
|
|
435
|
+
var p;
|
|
436
|
+
return ((p = t.dragging) == null ? void 0 : p.field) === S.field ? { ...S, frozen: !!(l != null && l.frozen) } : S;
|
|
437
|
+
}
|
|
438
|
+
)), g(k.COLUMNS, B), g(k.UPDATE_COLUMNS, B);
|
|
439
|
+
}
|
|
440
|
+
t.dragging = null, t.target = null;
|
|
441
|
+
}, N = () => {
|
|
442
|
+
t.dragging = null, t.dragToLeft = null, t.target = null;
|
|
443
|
+
}, f = E(() => d.value ? {
|
|
444
|
+
[ee.COLUMN_DRAG_START]: (l, u) => w(l, u),
|
|
445
|
+
[ee.COLUMN_DRAG_ENTER]: (l, u) => C(l, u),
|
|
446
|
+
[ee.COLUMN_DROP]: (l) => L(l),
|
|
447
|
+
[ee.COLUMN_DRAG_END]: () => N()
|
|
448
|
+
} : {}), b = E(() => (l) => d.value ? {
|
|
449
|
+
dragenter: (u) => {
|
|
450
|
+
u.preventDefault(), C(l, u);
|
|
451
|
+
},
|
|
452
|
+
drop: () => {
|
|
453
|
+
L(l);
|
|
454
|
+
},
|
|
455
|
+
dragover: (u) => {
|
|
456
|
+
u.preventDefault();
|
|
457
|
+
}
|
|
458
|
+
} : {});
|
|
459
|
+
return {
|
|
460
|
+
// Values
|
|
461
|
+
draggingColumns: t,
|
|
462
|
+
// Methods
|
|
463
|
+
draggingEventsForColumns: f,
|
|
464
|
+
draggingEventsForRowCell: b,
|
|
465
|
+
onMoveColumnByOffset: s
|
|
466
|
+
};
|
|
467
|
+
}, Ml = (e, a) => {
|
|
468
|
+
const g = A(e), n = E(
|
|
469
|
+
() => [...g.value].sort((f, b) => f.frozen === b.frozen ? 0 : f.frozen ? -1 : 1)
|
|
470
|
+
), d = E(
|
|
471
|
+
() => n.value.filter((f) => f.frozen && f.visible !== !1)
|
|
472
|
+
), t = E(
|
|
473
|
+
() => n.value.filter((f) => !f.frozen && f.visible !== !1)
|
|
474
|
+
), s = E(
|
|
475
|
+
() => [
|
|
476
|
+
{ columnSet: d.value, id: "frozen", isFrozenColumns: !0 },
|
|
477
|
+
{ columnSet: t.value, id: "unfrozen" }
|
|
478
|
+
].filter(({ columnSet: f }) => f.length)
|
|
479
|
+
), w = E(
|
|
480
|
+
() => g.value.filter((f) => (f == null ? void 0 : f.visible) !== !1 && (f == null ? void 0 : f.field) !== fe).length === 1
|
|
481
|
+
), C = (f) => a(k.UPDATE_CONDENSED, f), L = (f) => {
|
|
482
|
+
a(k.COLUMNS, f), a(k.UPDATE_COLUMNS, f);
|
|
483
|
+
};
|
|
484
|
+
return {
|
|
485
|
+
// Values
|
|
486
|
+
columnSets: s,
|
|
487
|
+
isOnlyOneVisibleColumn: w,
|
|
488
|
+
sortedColumns: n,
|
|
489
|
+
// Methods
|
|
490
|
+
onConfigSettingsUpdate: C,
|
|
491
|
+
onConfigSettingsColumnsUpdate: L,
|
|
492
|
+
onConfigSettingsColumnUpdate: (f) => {
|
|
493
|
+
const b = n.value.map(
|
|
494
|
+
(l) => (l == null ? void 0 : l.field) === f.field ? f : l
|
|
495
|
+
);
|
|
496
|
+
L(b);
|
|
497
|
+
}
|
|
498
|
+
};
|
|
499
|
+
}, bt = (e, a) => {
|
|
500
|
+
const g = A(0);
|
|
501
|
+
let n = null;
|
|
502
|
+
const d = () => {
|
|
503
|
+
e != null && e.value && a.value && (g.value = e.value.offsetHeight);
|
|
504
|
+
};
|
|
505
|
+
return et(() => {
|
|
506
|
+
ge(() => {
|
|
507
|
+
const t = me(
|
|
508
|
+
e,
|
|
509
|
+
() => {
|
|
510
|
+
e != null && e.value && (ge(() => t()), n = ot(e.value, () => {
|
|
511
|
+
d();
|
|
512
|
+
}));
|
|
513
|
+
},
|
|
514
|
+
{ immediate: !0 }
|
|
515
|
+
);
|
|
516
|
+
me(
|
|
517
|
+
a,
|
|
518
|
+
() => {
|
|
519
|
+
a.value ? d() : g.value = 0;
|
|
520
|
+
},
|
|
521
|
+
{ immediate: !0 }
|
|
522
|
+
);
|
|
523
|
+
});
|
|
524
|
+
}), Ft(() => {
|
|
525
|
+
n == null || n.disconnect();
|
|
526
|
+
}), g;
|
|
527
|
+
}, zl = (e, a, g, n, d) => {
|
|
528
|
+
const t = A(0), s = A(!1), w = A(!1);
|
|
529
|
+
me(
|
|
530
|
+
() => t.value,
|
|
531
|
+
() => {
|
|
532
|
+
e.value.scrollLeft = t.value, a.value.scrollLeft = t.value, s.value = !!t.value, w.value = a.value.scrollWidth - a.value.offsetWidth > t.value;
|
|
533
|
+
}
|
|
534
|
+
), et(async () => {
|
|
535
|
+
var b, l;
|
|
536
|
+
await ge(), await ge(), ((b = a.value) == null ? void 0 : b.offsetWidth) < ((l = a.value) == null ? void 0 : l.scrollWidth) && (w.value = !0);
|
|
537
|
+
});
|
|
538
|
+
const C = (b) => {
|
|
539
|
+
if (t.value = b.target.scrollLeft, g.value = e.value.scrollHeight - b.target.scrollTop, n != null && n.value) {
|
|
540
|
+
const l = b.target.scrollLeft;
|
|
541
|
+
n.value.scrollLeft !== l && (n.value.scrollLeft = l);
|
|
542
|
+
}
|
|
543
|
+
}, L = (b) => {
|
|
544
|
+
b.key !== "Tab" && b.key !== "ArrowRight" && b.key !== "ArrowLeft" || (b.preventDefault(), e.value.scrollLeft = 0, e.value.style.overflowX = "hidden", setTimeout(() => {
|
|
545
|
+
e.value.style.overflowX = "auto";
|
|
546
|
+
}));
|
|
547
|
+
}, N = (b) => {
|
|
548
|
+
const l = b.target.scrollLeft;
|
|
549
|
+
e.value.scrollLeft !== l && (e.value.scrollLeft = l);
|
|
550
|
+
}, f = E(() => {
|
|
551
|
+
var b, l, u;
|
|
552
|
+
return {
|
|
553
|
+
"b-data-grid__horizontal-scrollbar--sticky-pagination": ((b = d == null ? void 0 : d.pagination) == null ? void 0 : b.value) && (((l = d == null ? void 0 : d.stickyPagination) == null ? void 0 : l.value) || (d == null ? void 0 : d.isDataGridTemplate)) && !((u = d == null ? void 0 : d.isLazyLoad) != null && u.value)
|
|
554
|
+
};
|
|
555
|
+
});
|
|
556
|
+
return {
|
|
557
|
+
// Values
|
|
558
|
+
scrollLeftPosition: t,
|
|
559
|
+
hasLeftOverflow: s,
|
|
560
|
+
hasRightOverflow: w,
|
|
561
|
+
horizontalScrollbarConditionalClasses: f,
|
|
562
|
+
// Methods
|
|
563
|
+
updateScrollPosition: C,
|
|
564
|
+
updateScrollPositionOnFrozenColumnsNavigation: L,
|
|
565
|
+
syncVirtualScrollerWithBody: N
|
|
566
|
+
};
|
|
567
|
+
}, Ul = (e, a, g, n) => {
|
|
568
|
+
const d = A(null), t = E(() => {
|
|
569
|
+
var i, _, h, $;
|
|
570
|
+
if (!d.value || d.value.field === fe)
|
|
571
|
+
return {
|
|
572
|
+
hoveredOverColumnField: "",
|
|
573
|
+
isSeparatorOffset: !1,
|
|
574
|
+
noBorderLeft: !1,
|
|
575
|
+
noBorderRight: !1
|
|
576
|
+
};
|
|
577
|
+
const s = (_ = (i = e.value.find((R) => R.isFrozenColumns)) == null ? void 0 : i.columnSet) == null ? void 0 : _.filter((R) => R.field !== fe), w = e.value.find((R) => !(R != null && R.isFrozenColumns)), C = d.value.frozen && (s == null ? void 0 : s[0].field) === d.value.field, L = !d.value.frozen && ((h = w == null ? void 0 : w.columnSet) == null ? void 0 : h[0].field) === d.value.field, N = (a.value || g.value) && C, f = (a.value || g.value) && !s && L, b = s && L, l = (s == null ? void 0 : s.length) > 0 && d.value.frozen && (s == null ? void 0 : s[s.length - 1].field) === d.value.field, u = g.value && n.value && !d.value.frozen && (($ = w == null ? void 0 : w.columnSet) == null ? void 0 : $[w.columnSet.length - 1].field) === d.value.field;
|
|
578
|
+
return {
|
|
579
|
+
hoveredOverColumnField: d.value.field,
|
|
580
|
+
isSeparatorOffset: u,
|
|
581
|
+
noBorderLeft: !!N || !!f || !!b,
|
|
582
|
+
noBorderRight: !!l || !!u
|
|
583
|
+
};
|
|
584
|
+
});
|
|
585
|
+
return {
|
|
586
|
+
hoveredOverColumn: d,
|
|
587
|
+
hoveredOverColumnState: t
|
|
588
|
+
};
|
|
589
|
+
};
|
|
590
|
+
let pt = 0;
|
|
591
|
+
const Fl = {
|
|
592
|
+
beforeCreate() {
|
|
593
|
+
this.uuid = pt.toString(), pt += 1;
|
|
594
|
+
}
|
|
595
|
+
}, Pl = { key: 0 }, Bl = ["clip-path"], Wl = ["id"];
|
|
596
|
+
function Gl(e, a, g, n, d, t) {
|
|
597
|
+
return c(), y("svg", Q({ role: "img" }, e.$attrs, {
|
|
598
|
+
class: "ui-assets-icons-16",
|
|
599
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
600
|
+
width: "16",
|
|
601
|
+
height: "16",
|
|
602
|
+
fill: "none"
|
|
603
|
+
}), [
|
|
604
|
+
e.$attrs["svg-title"] ? (c(), y("title", Pl, q(e.$attrs["svg-title"]), 1)) : U("", !0),
|
|
605
|
+
O("g", {
|
|
606
|
+
fill: "#00112C",
|
|
607
|
+
"clip-path": "url(#uia-icons-16-arrow_up_down_sort__a" + e.uuid + ")"
|
|
608
|
+
}, a[0] || (a[0] = [
|
|
609
|
+
O("path", { d: "M9.06077 4.00011L5.00011 -0.0605469L0.939453 4.00011L2.00011 5.06077L4.25 2.81089V10.75H5.75V2.81066L8.00011 5.06077L9.06077 4.00011Z" }, null, -1),
|
|
610
|
+
O("path", { d: "M10.25 13.1893L8.00011 10.9395L6.93945 12.0001L11.0001 16.0608L15.0608 12.0001L14.0001 10.9395L11.75 13.1896V5.25H10.25V13.1893Z" }, null, -1)
|
|
611
|
+
]), 8, Bl),
|
|
612
|
+
O("defs", null, [
|
|
613
|
+
O("clipPath", {
|
|
614
|
+
id: "uia-icons-16-arrow_up_down_sort__a" + e.uuid
|
|
615
|
+
}, a[1] || (a[1] = [
|
|
616
|
+
O("rect", {
|
|
617
|
+
width: "16",
|
|
618
|
+
height: "16",
|
|
619
|
+
fill: "#fff"
|
|
620
|
+
}, null, -1)
|
|
621
|
+
]), 8, Wl)
|
|
622
|
+
])
|
|
623
|
+
], 16);
|
|
624
|
+
}
|
|
625
|
+
const Hl = /* @__PURE__ */ se(Fl, [["render", Gl]]);
|
|
626
|
+
let Ot = 0;
|
|
627
|
+
const Vl = {
|
|
628
|
+
beforeCreate() {
|
|
629
|
+
this.uuid = Ot.toString(), Ot += 1;
|
|
630
|
+
}
|
|
631
|
+
}, xl = { key: 0 };
|
|
632
|
+
function Zl(e, a, g, n, d, t) {
|
|
633
|
+
return c(), y("svg", Q({ role: "img" }, e.$attrs, {
|
|
634
|
+
class: "ui-assets-icons-16",
|
|
635
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
636
|
+
width: "16",
|
|
637
|
+
height: "16",
|
|
638
|
+
fill: "none"
|
|
639
|
+
}), [
|
|
640
|
+
e.$attrs["svg-title"] ? (c(), y("title", xl, q(e.$attrs["svg-title"]), 1)) : U("", !0),
|
|
641
|
+
a[0] || (a[0] = O("path", {
|
|
642
|
+
fill: "#00112C",
|
|
643
|
+
d: "M12.1933 8.7454L7.93903 12.9996L8.99969 14.0603L15.0604 7.99963L8.99969 1.93896L7.93903 2.99963L12.1848 7.24541L1.24902 7.25658L1.25056 8.75658L12.1933 8.7454Z"
|
|
644
|
+
}, null, -1))
|
|
645
|
+
], 16);
|
|
646
|
+
}
|
|
647
|
+
const jl = /* @__PURE__ */ se(Vl, [["render", Zl]]);
|
|
648
|
+
let Rt = 0;
|
|
649
|
+
const ql = {
|
|
650
|
+
beforeCreate() {
|
|
651
|
+
this.uuid = Rt.toString(), Rt += 1;
|
|
652
|
+
}
|
|
653
|
+
}, Yl = { key: 0 }, Xl = ["clip-path"], Kl = ["id"];
|
|
654
|
+
function Jl(e, a, g, n, d, t) {
|
|
655
|
+
return c(), y("svg", Q({ role: "img" }, e.$attrs, {
|
|
656
|
+
class: "ui-assets-icons-16",
|
|
657
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
658
|
+
width: "16",
|
|
659
|
+
height: "16",
|
|
660
|
+
fill: "none"
|
|
661
|
+
}), [
|
|
662
|
+
e.$attrs["svg-title"] ? (c(), y("title", Yl, q(e.$attrs["svg-title"]), 1)) : U("", !0),
|
|
663
|
+
O("g", {
|
|
664
|
+
"clip-path": "url(#uia-icons-16-freeze__a" + e.uuid + ")"
|
|
665
|
+
}, a[0] || (a[0] = [
|
|
666
|
+
O("path", {
|
|
667
|
+
fill: "#00112C",
|
|
668
|
+
d: "M7.99989 14.0605L9.49989 15.5605L10.5605 14.4999L8.75 12.6893V10.9334L10.169 10.116L11.6861 10.9939L12.3501 13.4688L13.7988 13.0801L13.2488 11.0301L15.2988 10.4801L14.9101 9.03129L12.4363 9.695L10.9199 8.81745V7.18276L12.4365 6.3051L14.9101 6.96875L15.2988 5.51999L13.2488 4.96999L13.7988 2.91999L12.3501 2.53129L11.686 5.00635L10.1693 5.88407L8.75 5.06648L8.75 3.31043L10.5605 1.49989L9.49989 0.439226L7.99989 1.93923L6.49989 0.439226L5.43923 1.49989L7.25 3.31066V5.06639L5.83078 5.88392L4.31419 5.00626L3.65018 2.53129L2.20141 2.91998L2.384 3.60052L2.38063 3.60143L2.75032 4.97028L0.701408 5.51999L1.0901 6.96875L1.7708 6.78612L1.77173 6.78955L3.56437 6.30541L5.07992 7.18246L5.07992 8.81775L3.564 9.69502L1.0901 9.03129L0.701408 10.4801L2.75141 11.0301L2.20141 13.0801L3.65018 13.4687L4.31414 10.994L5.83106 10.1161L7.25 10.9335V12.6891L5.43923 14.4999L6.49989 15.5605L7.99989 14.0605ZM9.41992 7.18345V8.81644L7.99992 9.63441L6.57992 8.81644L6.57992 7.18345L7.99992 6.36548L9.41992 7.18345Z"
|
|
669
|
+
}, null, -1)
|
|
670
|
+
]), 8, Xl),
|
|
671
|
+
O("defs", null, [
|
|
672
|
+
O("clipPath", {
|
|
673
|
+
id: "uia-icons-16-freeze__a" + e.uuid
|
|
674
|
+
}, a[1] || (a[1] = [
|
|
675
|
+
O("rect", {
|
|
676
|
+
width: "16",
|
|
677
|
+
height: "16",
|
|
678
|
+
fill: "#fff",
|
|
679
|
+
transform: "matrix(1 0 0 -1 0 16)"
|
|
680
|
+
}, null, -1)
|
|
681
|
+
]), 8, Kl)
|
|
682
|
+
])
|
|
683
|
+
], 16);
|
|
684
|
+
}
|
|
685
|
+
const jt = /* @__PURE__ */ se(ql, [["render", Jl]]);
|
|
686
|
+
let Nt = 0;
|
|
687
|
+
const Ql = {
|
|
688
|
+
beforeCreate() {
|
|
689
|
+
this.uuid = Nt.toString(), Nt += 1;
|
|
690
|
+
}
|
|
691
|
+
}, es = { key: 0 }, ts = ["clip-path"], ns = ["id"];
|
|
692
|
+
function ls(e, a, g, n, d, t) {
|
|
693
|
+
return c(), y("svg", Q({ role: "img" }, e.$attrs, {
|
|
694
|
+
class: "ui-assets-icons-16",
|
|
695
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
696
|
+
width: "16",
|
|
697
|
+
height: "16",
|
|
698
|
+
fill: "none"
|
|
699
|
+
}), [
|
|
700
|
+
e.$attrs["svg-title"] ? (c(), y("title", es, q(e.$attrs["svg-title"]), 1)) : U("", !0),
|
|
701
|
+
O("g", {
|
|
702
|
+
fill: "#00112C",
|
|
703
|
+
"clip-path": "url(#uia-icons-16-sort_ascending__a" + e.uuid + ")"
|
|
704
|
+
}, a[0] || (a[0] = [
|
|
705
|
+
O("path", { d: "M12.0001 1.93945L16.0608 6.00011L15.0001 7.06077L12.75 4.81066V12.75H11.25V4.81089L9.00011 7.06077L7.93945 6.00011L12.0001 1.93945Z" }, null, -1),
|
|
706
|
+
O("path", { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" }, null, -1),
|
|
707
|
+
O("path", { d: "M1.25 11.25H8.75V12.75H1.25V11.25Z" }, null, -1),
|
|
708
|
+
O("path", { d: "M6.75 3.25H1.25V4.75H6.75V3.25Z" }, null, -1)
|
|
709
|
+
]), 8, ts),
|
|
710
|
+
O("defs", null, [
|
|
711
|
+
O("clipPath", {
|
|
712
|
+
id: "uia-icons-16-sort_ascending__a" + e.uuid
|
|
713
|
+
}, a[1] || (a[1] = [
|
|
714
|
+
O("rect", {
|
|
715
|
+
width: "16",
|
|
716
|
+
height: "16",
|
|
717
|
+
fill: "#fff"
|
|
718
|
+
}, null, -1)
|
|
719
|
+
]), 8, ns)
|
|
720
|
+
])
|
|
721
|
+
], 16);
|
|
722
|
+
}
|
|
723
|
+
const ss = /* @__PURE__ */ se(Ql, [["render", ls]]);
|
|
724
|
+
let Tt = 0;
|
|
725
|
+
const os = {
|
|
726
|
+
beforeCreate() {
|
|
727
|
+
this.uuid = Tt.toString(), Tt += 1;
|
|
728
|
+
}
|
|
729
|
+
}, is = { key: 0 }, as = ["clip-path"], rs = ["id"];
|
|
730
|
+
function ds(e, a, g, n, d, t) {
|
|
731
|
+
return c(), y("svg", Q({ role: "img" }, e.$attrs, {
|
|
732
|
+
class: "ui-assets-icons-16",
|
|
733
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
734
|
+
width: "16",
|
|
735
|
+
height: "16",
|
|
736
|
+
fill: "none"
|
|
737
|
+
}), [
|
|
738
|
+
e.$attrs["svg-title"] ? (c(), y("title", is, q(e.$attrs["svg-title"]), 1)) : U("", !0),
|
|
739
|
+
O("g", {
|
|
740
|
+
fill: "#00112C",
|
|
741
|
+
"clip-path": "url(#uia-icons-16-sort_descending__a" + e.uuid + ")"
|
|
742
|
+
}, a[0] || (a[0] = [
|
|
743
|
+
O("path", { d: "M12.75 3.25V11.1896L15.0001 8.93945L16.0608 10.0001L12.0001 14.0608L7.93945 10.0001L9.00011 8.93945L11.25 11.1893V3.25H12.75Z" }, null, -1),
|
|
744
|
+
O("path", { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" }, null, -1),
|
|
745
|
+
O("path", { d: "M1.25 3.25H9.09V4.75H1.25V3.25Z" }, null, -1),
|
|
746
|
+
O("path", { d: "M6.75 11.25H1.25V12.75H6.75V11.25Z" }, null, -1)
|
|
747
|
+
]), 8, as),
|
|
748
|
+
O("defs", null, [
|
|
749
|
+
O("clipPath", {
|
|
750
|
+
id: "uia-icons-16-sort_descending__a" + e.uuid
|
|
751
|
+
}, a[1] || (a[1] = [
|
|
752
|
+
O("rect", {
|
|
753
|
+
width: "16",
|
|
754
|
+
height: "16",
|
|
755
|
+
fill: "#fff"
|
|
756
|
+
}, null, -1)
|
|
757
|
+
]), 8, rs)
|
|
758
|
+
])
|
|
759
|
+
], 16);
|
|
760
|
+
}
|
|
761
|
+
const us = /* @__PURE__ */ se(os, [["render", ds]]);
|
|
762
|
+
let At = 0;
|
|
763
|
+
const cs = {
|
|
764
|
+
beforeCreate() {
|
|
765
|
+
this.uuid = At.toString(), At += 1;
|
|
766
|
+
}
|
|
767
|
+
}, fs = { key: 0 };
|
|
768
|
+
function gs(e, a, g, n, d, t) {
|
|
769
|
+
return c(), y("svg", Q({ role: "img" }, e.$attrs, {
|
|
770
|
+
class: "ui-assets-icons-16",
|
|
771
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
772
|
+
width: "16",
|
|
773
|
+
height: "16",
|
|
774
|
+
fill: "none"
|
|
775
|
+
}), [
|
|
776
|
+
e.$attrs["svg-title"] ? (c(), y("title", fs, q(e.$attrs["svg-title"]), 1)) : U("", !0),
|
|
777
|
+
a[0] || (a[0] = O("path", {
|
|
778
|
+
fill: "#00112C",
|
|
779
|
+
d: "M8 11.25L12.5 5.25H3.5L8 11.25Z"
|
|
780
|
+
}, null, -1))
|
|
781
|
+
], 16);
|
|
782
|
+
}
|
|
783
|
+
const vs = /* @__PURE__ */ se(cs, [["render", gs]]), qt = {
|
|
784
|
+
"en-US": {
|
|
785
|
+
sortColumn: "Sort {name} column",
|
|
786
|
+
sortColumnInAscendingOrder: "Sort {name} column in ascending order",
|
|
787
|
+
sortColumnInDescendingOrder: "Sort {name} column in descending order",
|
|
788
|
+
freezeColumn: "Freeze column",
|
|
789
|
+
hideColumn: "Hide column",
|
|
790
|
+
moveColumnLeft: "Move column left",
|
|
791
|
+
moveColumnRight: "Move column right",
|
|
792
|
+
selectAll: "Select all",
|
|
793
|
+
selectPage: "Select this page",
|
|
794
|
+
selectionMenu: "Selection menu",
|
|
795
|
+
showColumn: "Show column",
|
|
796
|
+
unfreezeColumn: "Unfreeze column",
|
|
797
|
+
columnActions: "{name} column actions"
|
|
798
|
+
},
|
|
799
|
+
"pt-BR": {
|
|
800
|
+
freezeColumn: "Congelar coluna",
|
|
801
|
+
hideColumn: "Ocultar coluna",
|
|
802
|
+
moveColumnLeft: "Mover coluna para a esquerda",
|
|
803
|
+
moveColumnRight: "Mover coluna para a direita",
|
|
804
|
+
selectAll: "Selecionar tudo",
|
|
805
|
+
unfreezeColumn: "Descongelar coluna"
|
|
806
|
+
},
|
|
807
|
+
"ja-JP": {
|
|
808
|
+
freezeColumn: "列を固定",
|
|
809
|
+
hideColumn: "列を非表示",
|
|
810
|
+
moveColumnLeft: "列を左へ移動",
|
|
811
|
+
moveColumnRight: "列を右へ移動",
|
|
812
|
+
selectAll: "すべて選択",
|
|
813
|
+
unfreezeColumn: "列の固定を解除"
|
|
814
|
+
}
|
|
815
|
+
}, ms = ["aria-colindex", "aria-label", "aria-sort", "data-testid", "draggable", "tabindex"], hs = {
|
|
816
|
+
key: 0,
|
|
817
|
+
class: "b-data-grid-columns__select-column"
|
|
818
|
+
}, Cs = ["aria-label"], _s = { class: "b-data-grid-columns__label" }, ws = {
|
|
819
|
+
key: 0,
|
|
820
|
+
class: "b-data-grid-columns__column-info-icon"
|
|
821
|
+
}, Ls = {
|
|
822
|
+
key: 1,
|
|
823
|
+
class: "b-data-grid-columns__column-sort"
|
|
824
|
+
}, Ss = ["data-testid", "onMousedown"], Es = {
|
|
825
|
+
key: 0,
|
|
826
|
+
class: "b-data-grid-columns__column-separator"
|
|
827
|
+
}, ys = {
|
|
828
|
+
i18n: { messages: qt },
|
|
829
|
+
name: "data-grid-columns"
|
|
830
|
+
}, bs = /* @__PURE__ */ Ee({
|
|
831
|
+
...ys,
|
|
832
|
+
props: {
|
|
833
|
+
/**
|
|
834
|
+
* Column definitions using 'key' to relate to data object.
|
|
835
|
+
*/
|
|
836
|
+
columns: {
|
|
837
|
+
type: Array,
|
|
838
|
+
required: !0
|
|
839
|
+
},
|
|
840
|
+
/**
|
|
841
|
+
* Columns being dragged, contains dragging column and a target column
|
|
842
|
+
*/
|
|
843
|
+
draggingColumns: {
|
|
844
|
+
type: Object,
|
|
845
|
+
default: void 0
|
|
846
|
+
},
|
|
847
|
+
/**
|
|
848
|
+
* Toggle the columns draggable events.
|
|
849
|
+
*/
|
|
850
|
+
hasDraggableColumns: {
|
|
851
|
+
type: Boolean,
|
|
852
|
+
default: !0
|
|
853
|
+
},
|
|
854
|
+
/**
|
|
855
|
+
* If resize is enabled
|
|
856
|
+
*/
|
|
857
|
+
hasResizableColumns: {
|
|
858
|
+
type: Boolean,
|
|
859
|
+
default: !0
|
|
860
|
+
},
|
|
861
|
+
/**
|
|
862
|
+
* Signifies if the column panel is enabled.
|
|
863
|
+
*/
|
|
864
|
+
hasColumnPanel: {
|
|
865
|
+
type: Boolean,
|
|
866
|
+
default: !1
|
|
867
|
+
},
|
|
868
|
+
/**
|
|
869
|
+
* If set to true, aligns the first column panel to the right of its button.
|
|
870
|
+
*/
|
|
871
|
+
hasFirstColumnPanelRightAligned: {
|
|
872
|
+
type: Boolean,
|
|
873
|
+
default: !1
|
|
874
|
+
},
|
|
875
|
+
/**
|
|
876
|
+
* If the data grid has overflow on the left side
|
|
877
|
+
*/
|
|
878
|
+
hasLeftOverflow: {
|
|
879
|
+
type: Boolean,
|
|
880
|
+
default: !1
|
|
881
|
+
},
|
|
882
|
+
/**
|
|
883
|
+
* The column hovered over state and whether the hovered over column should show a border right or left.
|
|
884
|
+
*/
|
|
885
|
+
hoveredOverColumnState: {
|
|
886
|
+
type: Object,
|
|
887
|
+
required: !0
|
|
888
|
+
},
|
|
889
|
+
/**
|
|
890
|
+
* Toggled to true when the DataGrid has auto width columns and is measuring the
|
|
891
|
+
*/
|
|
892
|
+
isMeasuringColumnWidths: {
|
|
893
|
+
type: Boolean,
|
|
894
|
+
default: !1
|
|
895
|
+
},
|
|
896
|
+
/**
|
|
897
|
+
* Used to disable hiding the last visible column.
|
|
898
|
+
*/
|
|
899
|
+
isOnlyOneVisibleColumn: {
|
|
900
|
+
type: Boolean,
|
|
901
|
+
default: !1
|
|
902
|
+
},
|
|
903
|
+
/**
|
|
904
|
+
* If these columns are frozen (pinned) columns
|
|
905
|
+
*/
|
|
906
|
+
isFrozenColumns: {
|
|
907
|
+
type: Boolean,
|
|
908
|
+
default: !1
|
|
909
|
+
},
|
|
910
|
+
/**
|
|
911
|
+
* Show frozen columns separator
|
|
912
|
+
*/
|
|
913
|
+
showFrozenColumnsSeparator: {
|
|
914
|
+
type: Boolean,
|
|
915
|
+
default: !1
|
|
916
|
+
},
|
|
917
|
+
/**
|
|
918
|
+
* The column all items selected state
|
|
919
|
+
*/
|
|
920
|
+
allItemsSelectedState: {
|
|
921
|
+
type: Object,
|
|
922
|
+
default: void 0
|
|
923
|
+
},
|
|
924
|
+
/**
|
|
925
|
+
* Determines if the user has enabled row selection
|
|
926
|
+
*/
|
|
927
|
+
selectable: {
|
|
928
|
+
type: Boolean,
|
|
929
|
+
default: !1
|
|
930
|
+
},
|
|
931
|
+
/**
|
|
932
|
+
* Adds an extra option when selecting all, to select items in other pages too
|
|
933
|
+
*/
|
|
934
|
+
selectableAcrossPages: {
|
|
935
|
+
type: Boolean,
|
|
936
|
+
default: !1
|
|
937
|
+
},
|
|
938
|
+
/**
|
|
939
|
+
* Sortby handles proper rendering of sort icon in header. Sorting currently is only supported server side.
|
|
940
|
+
* It does make sure the currently sorted column has a more visible sort icon, and the sort icon points in the right direction.
|
|
941
|
+
*/
|
|
942
|
+
sortBy: {
|
|
943
|
+
type: Array,
|
|
944
|
+
// NOTE: is an array to allow multi-sorting in the future
|
|
945
|
+
default: () => []
|
|
946
|
+
},
|
|
947
|
+
/**
|
|
948
|
+
* Truncates all data grid column headers
|
|
949
|
+
*/
|
|
950
|
+
truncateColumnHeaders: {
|
|
951
|
+
type: Boolean,
|
|
952
|
+
default: !1
|
|
953
|
+
}
|
|
954
|
+
},
|
|
955
|
+
emits: ["sort", "column-hover"],
|
|
956
|
+
setup(e, { expose: a, emit: g }) {
|
|
957
|
+
const n = e, d = g, t = 100, { t: s } = Ne({ messages: qt }), { columns: w, sortBy: C } = Qe(n), L = A({}), N = A({}), f = A(), b = A(), l = (r) => d(ee.SELECT_ALL_ROWS, r), u = (r) => r.field === fe, i = E(() => [
|
|
958
|
+
{
|
|
959
|
+
text: s("selectPage"),
|
|
960
|
+
handler: () => l(!0)
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
text: s("selectAll"),
|
|
964
|
+
handler: () => d(ee.SELECT_ALL_ACROSS_PAGES)
|
|
965
|
+
}
|
|
966
|
+
]), { startResize: _, isResizing: h, columnHoverEventToEmitAfterResizing: $ } = Cl(w, d), { isSorting: R, getSortingDirection: B, sortByColumnField: K } = Al(C, w, d), S = (r) => {
|
|
967
|
+
var ae;
|
|
968
|
+
if (!r.sortable)
|
|
969
|
+
return null;
|
|
970
|
+
const M = (ae = n.sortBy.find(({ field: J }) => J === r.field)) == null ? void 0 : ae.direction;
|
|
971
|
+
return M ? {
|
|
972
|
+
[Oe.ASCENDING]: Ve.ASCENDING,
|
|
973
|
+
[Oe.DESCENDING]: Ve.DESCENDING
|
|
974
|
+
}[M] : Ve.NONE;
|
|
975
|
+
}, p = E(() => (r) => n.hasDraggableColumns ? {
|
|
976
|
+
dragstart: (M) => {
|
|
977
|
+
d(ee.COLUMN_DRAG_START, r, M);
|
|
978
|
+
},
|
|
979
|
+
dragover: (M) => {
|
|
980
|
+
M.preventDefault();
|
|
981
|
+
},
|
|
982
|
+
dragenter: (M) => {
|
|
983
|
+
M.preventDefault(), d(ee.COLUMN_DRAG_ENTER, r, M);
|
|
984
|
+
},
|
|
985
|
+
drop: () => {
|
|
986
|
+
d(ee.COLUMN_DROP, r);
|
|
987
|
+
},
|
|
988
|
+
dragend: () => {
|
|
989
|
+
d(ee.COLUMN_DRAG_END);
|
|
990
|
+
}
|
|
991
|
+
} : {}), G = E(() => (r) => [
|
|
992
|
+
{
|
|
993
|
+
text: s("moveColumnLeft"),
|
|
994
|
+
handler: () => d(ee.COLUMN_MOVE, r, -1),
|
|
995
|
+
icon: ul,
|
|
996
|
+
disabled: n.columns[0].field === r.field
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
text: s("moveColumnRight"),
|
|
1000
|
+
handler: () => d(ee.COLUMN_MOVE, r, 1),
|
|
1001
|
+
icon: jl,
|
|
1002
|
+
disabled: n.columns[n.columns.length - 1].field === r.field
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
text: r != null && r.frozen ? s("unfreezeColumn") : s("freezeColumn"),
|
|
1006
|
+
handler: () => d(ee.COLUMN_UPDATE, { ...r, frozen: !(r != null && r.frozen) }),
|
|
1007
|
+
icon: jt
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
text: (r == null ? void 0 : r.visible) !== !1 ? s("hideColumn") : s("showColumn"),
|
|
1011
|
+
handler: () => {
|
|
1012
|
+
d(ee.COLUMN_UPDATE, {
|
|
1013
|
+
...r,
|
|
1014
|
+
visible: (r == null ? void 0 : r.visible) === !1
|
|
1015
|
+
});
|
|
1016
|
+
},
|
|
1017
|
+
icon: (r == null ? void 0 : r.visible) !== !1 ? cl : fl,
|
|
1018
|
+
disabled: (r == null ? void 0 : r.mandatory) || (r == null ? void 0 : r.visible) !== !1 && n.isOnlyOneVisibleColumn
|
|
1019
|
+
}
|
|
1020
|
+
]), x = (r) => {
|
|
1021
|
+
f.value = r.field, b.value && clearTimeout(b.value);
|
|
1022
|
+
}, te = () => {
|
|
1023
|
+
const r = setTimeout(() => {
|
|
1024
|
+
f.value = "";
|
|
1025
|
+
}, t);
|
|
1026
|
+
b.value = r;
|
|
1027
|
+
}, v = (r) => {
|
|
1028
|
+
let M = {
|
|
1029
|
+
mouseenter: () => {
|
|
1030
|
+
x(r), h.value ? $.value = r : d("column-hover", r);
|
|
1031
|
+
},
|
|
1032
|
+
mouseleave: () => {
|
|
1033
|
+
te(), h.value ? $.value = null : d("column-hover", null);
|
|
1034
|
+
},
|
|
1035
|
+
focus: () => x(r)
|
|
1036
|
+
};
|
|
1037
|
+
return u(r) || (M = {
|
|
1038
|
+
...M,
|
|
1039
|
+
...p.value(r)
|
|
1040
|
+
}), M;
|
|
1041
|
+
}, V = (r) => r.infoIconTooltip || r.sortable || n.hasColumnPanel, F = (r, M) => {
|
|
1042
|
+
var T;
|
|
1043
|
+
((T = L.value) == null ? void 0 : T[M]) === void 0 && (L.value = { ...L.value, [M]: null }), r !== null && (L.value[M] = r);
|
|
1044
|
+
}, W = E(() => {
|
|
1045
|
+
var M;
|
|
1046
|
+
const r = {
|
|
1047
|
+
"b-data-grid-columns--is-measuring": n.isMeasuringColumnWidths
|
|
1048
|
+
};
|
|
1049
|
+
return (M = w.value[0]) != null && M.frozen ? {
|
|
1050
|
+
...r,
|
|
1051
|
+
"b-data-grid-columns--frozen": !0,
|
|
1052
|
+
"b-data-grid-columns--frozen-separator": n.showFrozenColumnsSeparator,
|
|
1053
|
+
"b-data-grid-columns--overflow-shadow-left": n.hasLeftOverflow
|
|
1054
|
+
} : {
|
|
1055
|
+
...r,
|
|
1056
|
+
"b-data-grid-columns--unfrozen": !0
|
|
1057
|
+
};
|
|
1058
|
+
}), oe = (r, M) => r && M === 0 ? wt.BOTTOM_START : wt.BOTTOM_END, Z = (r, M) => {
|
|
1059
|
+
var T, ae, J, Re, Te, le, Ie, ze, Ue, Fe;
|
|
1060
|
+
return {
|
|
1061
|
+
"b-data-grid-columns__column--column-hovered": r.field === n.hoveredOverColumnState.hoveredOverColumnField,
|
|
1062
|
+
"b-data-grid-columns__column--column-hovered-no-border-left": r.field === n.hoveredOverColumnState.hoveredOverColumnField && n.hoveredOverColumnState.noBorderLeft,
|
|
1063
|
+
"b-data-grid-columns__column--column-hovered-no-border-right": r.field === n.hoveredOverColumnState.hoveredOverColumnField && n.hoveredOverColumnState.noBorderRight,
|
|
1064
|
+
"b-data-grid-columns__column--last-frozen-frozen-column": n.isFrozenColumns && M === w.value.length - 1,
|
|
1065
|
+
"b-data-grid-columns__column--sortable": r.sortable,
|
|
1066
|
+
"b-data-grid-columns__column--padding-left-unset": ((T = r == null ? void 0 : r.padding) == null ? void 0 : T.left) === !1,
|
|
1067
|
+
"b-data-grid-columns__column--padding-right-unset": ((ae = r == null ? void 0 : r.padding) == null ? void 0 : ae.right) === !1,
|
|
1068
|
+
"b-data-grid-columns__column--numeric": r == null ? void 0 : r.numeric,
|
|
1069
|
+
"b-data-grid-columns__column--frozen": r == null ? void 0 : r.frozen,
|
|
1070
|
+
"b-data-grid-columns__column--is-re-ordering": (r == null ? void 0 : r.field) === ((Re = (J = n.draggingColumns) == null ? void 0 : J.dragging) == null ? void 0 : Re.field),
|
|
1071
|
+
"b-data-grid-columns__column--is-re-ordering-target-left": (r == null ? void 0 : r.field) === ((le = (Te = n.draggingColumns) == null ? void 0 : Te.target) == null ? void 0 : le.field) && ((Ie = n.draggingColumns) == null ? void 0 : Ie.dragToLeft),
|
|
1072
|
+
"b-data-grid-columns__column--is-re-ordering-target-right": (r == null ? void 0 : r.field) === ((Ue = (ze = n.draggingColumns) == null ? void 0 : ze.target) == null ? void 0 : Ue.field) && !((Fe = n.draggingColumns) != null && Fe.dragToLeft),
|
|
1073
|
+
"b-data-grid-columns__column--with-sorting-or-column-panel": r.sortable || r.infoIconTooltip || n.hasColumnPanel && f.value === r.field || n.selectableAcrossPages
|
|
1074
|
+
};
|
|
1075
|
+
}, m = (r) => ({
|
|
1076
|
+
"b-data-grid-columns__column-header-and-actions--numeric": r == null ? void 0 : r.numeric
|
|
1077
|
+
}), D = (r) => ({
|
|
1078
|
+
"b-data-grid-columns__column-actions--numeric": r == null ? void 0 : r.numeric
|
|
1079
|
+
}), Y = (r) => ({
|
|
1080
|
+
"b-data-grid-columns__column-separator-container--is-resizeable": n.hasResizableColumns,
|
|
1081
|
+
"b-data-grid-columns__column-separator-container--is-offset": n.hoveredOverColumnState.hoveredOverColumnField === r.field && n.hoveredOverColumnState.isSeparatorOffset
|
|
1082
|
+
}), ne = E(() => ({
|
|
1083
|
+
"b-data-grid-columns__column-header--truncated": n.truncateColumnHeaders
|
|
1084
|
+
}));
|
|
1085
|
+
return a({
|
|
1086
|
+
columnHeaderRefs: L
|
|
1087
|
+
}), (r, M) => (c(), y("div", {
|
|
1088
|
+
class: ce(["b-data-grid-columns", W.value]),
|
|
1089
|
+
"data-testid": "data-grid-columns"
|
|
1090
|
+
}, [
|
|
1091
|
+
(c(!0), y(ve, null, Ce(o(w), (T, ae) => (c(), y("div", Q({
|
|
1092
|
+
key: T.field,
|
|
1093
|
+
ref_for: !0,
|
|
1094
|
+
ref: (J) => F(J, T.field),
|
|
1095
|
+
"aria-colindex": ae + 1,
|
|
1096
|
+
"aria-label": T.label,
|
|
1097
|
+
"aria-sort": S(T),
|
|
1098
|
+
class: [Z(T, ae), "b-data-grid-columns__column"],
|
|
1099
|
+
"data-testid": `${T.field}-column-header`,
|
|
1100
|
+
draggable: e.hasDraggableColumns && !o(h) && !u(T),
|
|
1101
|
+
role: "columnheader",
|
|
1102
|
+
tabindex: T.sortable || e.hasColumnPanel || T.infoIconTooltip ? "0" : "-1",
|
|
1103
|
+
style: { width: T.autoWidth && e.isMeasuringColumnWidths ? "auto" : `${T.width}px` }
|
|
1104
|
+
}, xe(v(T), !0)), [
|
|
1105
|
+
u(T) && e.selectable ? (c(), y("div", hs, [
|
|
1106
|
+
X(o(xt), {
|
|
1107
|
+
"model-value": e.allItemsSelectedState.allItemsSelected,
|
|
1108
|
+
"data-testid": "checkbox-select-all",
|
|
1109
|
+
indeterminate: e.allItemsSelectedState.isIndeterminate,
|
|
1110
|
+
value: "data-grid-select-all",
|
|
1111
|
+
"onUpdate:modelValue": l
|
|
1112
|
+
}, null, 8, ["model-value", "indeterminate"]),
|
|
1113
|
+
e.selectableAcrossPages ? (c(), P(o(Xe), {
|
|
1114
|
+
key: 0,
|
|
1115
|
+
class: "b-data-grid-columns__select-column-menu",
|
|
1116
|
+
data: i.value,
|
|
1117
|
+
"menu-position": "bottom-start",
|
|
1118
|
+
"menu-fixed-positioning": "",
|
|
1119
|
+
button: { variant: "tertiary", condensed: !0 }
|
|
1120
|
+
}, {
|
|
1121
|
+
iconLeft: H(() => [
|
|
1122
|
+
X(o(vs), {
|
|
1123
|
+
"svg-title": o(s)("selectionMenu")
|
|
1124
|
+
}, null, 8, ["svg-title"])
|
|
1125
|
+
]),
|
|
1126
|
+
_: 1
|
|
1127
|
+
}, 8, ["data"])) : U("", !0)
|
|
1128
|
+
])) : (c(), y(ve, { key: 1 }, [
|
|
1129
|
+
O("div", {
|
|
1130
|
+
"aria-label": o(s)("columnActions", { name: T.label }),
|
|
1131
|
+
"aria-live": "polite",
|
|
1132
|
+
role: "region",
|
|
1133
|
+
class: ce(["b-data-grid-columns__column-header-and-actions", m(T)])
|
|
1134
|
+
}, [
|
|
1135
|
+
X(o(Ze), {
|
|
1136
|
+
el: "div",
|
|
1137
|
+
strongest: "",
|
|
1138
|
+
class: ce(["b-data-grid-columns__column-header", ne.value])
|
|
1139
|
+
}, {
|
|
1140
|
+
default: H(() => [
|
|
1141
|
+
Se(r.$slots, `head-${T.field}`, { column: T }, () => [
|
|
1142
|
+
O("span", _s, q(T.label), 1)
|
|
1143
|
+
], !0)
|
|
1144
|
+
]),
|
|
1145
|
+
_: 2
|
|
1146
|
+
}, 1032, ["class"]),
|
|
1147
|
+
V(T) ? (c(), y("div", {
|
|
1148
|
+
key: 0,
|
|
1149
|
+
class: ce(["b-data-grid-columns__column-actions", D(T)])
|
|
1150
|
+
}, [
|
|
1151
|
+
T.infoIconTooltip ? (c(), y("div", ws, [
|
|
1152
|
+
X(o(al), {
|
|
1153
|
+
"tooltip-text": T.infoIconTooltip
|
|
1154
|
+
}, null, 8, ["tooltip-text"])
|
|
1155
|
+
])) : U("", !0),
|
|
1156
|
+
T.sortable ? (c(), y("div", Ls, [
|
|
1157
|
+
X(o(it), {
|
|
1158
|
+
condensed: "",
|
|
1159
|
+
toggled: o(R)(T.field),
|
|
1160
|
+
variant: "tertiary",
|
|
1161
|
+
onClick: (J) => o(K)(T.field)
|
|
1162
|
+
}, {
|
|
1163
|
+
iconLeft: H(() => [
|
|
1164
|
+
o(B)(T.field) ? o(B)(T.field) === o(Oe).ASCENDING ? (c(), P(o(ss), {
|
|
1165
|
+
key: 1,
|
|
1166
|
+
"svg-title": o(s)("sortColumnInDescendingOrder", { name: T.label })
|
|
1167
|
+
}, null, 8, ["svg-title"])) : o(B)(T.field) === o(Oe).DESCENDING ? (c(), P(o(us), {
|
|
1168
|
+
key: 2,
|
|
1169
|
+
"svg-title": o(s)("sortColumnInAscendingOrder", { name: T.label })
|
|
1170
|
+
}, null, 8, ["svg-title"])) : U("", !0) : (c(), P(o(Hl), {
|
|
1171
|
+
key: 0,
|
|
1172
|
+
"svg-title": o(s)("sortColumn", { name: T.label })
|
|
1173
|
+
}, null, 8, ["svg-title"]))
|
|
1174
|
+
]),
|
|
1175
|
+
_: 2
|
|
1176
|
+
}, 1032, ["toggled", "onClick"])
|
|
1177
|
+
])) : U("", !0),
|
|
1178
|
+
e.hasColumnPanel && f.value === T.field ? (c(), P(o(Xe), {
|
|
1179
|
+
key: 2,
|
|
1180
|
+
ref_for: !0,
|
|
1181
|
+
ref: (J) => N.value[T.field] = J,
|
|
1182
|
+
class: "b-data-grid-columns__menu",
|
|
1183
|
+
data: G.value(T),
|
|
1184
|
+
"menu-position": oe(e.hasFirstColumnPanelRightAligned, ae),
|
|
1185
|
+
"menu-fixed-positioning": !0,
|
|
1186
|
+
button: { variant: "tertiary", condensed: !0 },
|
|
1187
|
+
onOpen: M[0] || (M[0] = (J) => r.$emit(o(ee).COLUMN_MENU_OPEN)),
|
|
1188
|
+
onClose: M[1] || (M[1] = (J) => r.$emit(o(ee).COLUMN_MENU_CLOSE))
|
|
1189
|
+
}, null, 8, ["data", "menu-position"])) : U("", !0)
|
|
1190
|
+
], 2)) : U("", !0)
|
|
1191
|
+
], 10, Cs),
|
|
1192
|
+
O("div", {
|
|
1193
|
+
"data-testid": `data-grid-column-${T.field}`,
|
|
1194
|
+
class: ce(["b-data-grid-columns__column-separator-container", Y(T)]),
|
|
1195
|
+
role: "presentation",
|
|
1196
|
+
onMousedown: (J) => o(_)(e.hasResizableColumns, T.field, J),
|
|
1197
|
+
onClick: M[2] || (M[2] = Pn(() => {
|
|
1198
|
+
}, ["stop"]))
|
|
1199
|
+
}, [
|
|
1200
|
+
!e.isFrozenColumns || e.isFrozenColumns && ae !== o(w).length - 1 ? (c(), y("div", Es)) : U("", !0)
|
|
1201
|
+
], 42, Ss)
|
|
1202
|
+
], 64))
|
|
1203
|
+
], 16, ms))), 128))
|
|
1204
|
+
], 2));
|
|
1205
|
+
}
|
|
1206
|
+
}), ps = /* @__PURE__ */ se(bs, [["__scopeId", "data-v-5b48d3ec"]]);
|
|
1207
|
+
var be = /* @__PURE__ */ ((e) => (e.CONFIG_SETTINGS = "config-settings", e.UPDATE_COLUMNS = "update:columns", e))(be || {});
|
|
1208
|
+
let It = 0;
|
|
1209
|
+
const Os = {
|
|
1210
|
+
beforeCreate() {
|
|
1211
|
+
this.uuid = It.toString(), It += 1;
|
|
1212
|
+
}
|
|
1213
|
+
}, Rs = { key: 0 }, Ns = ["clip-path"], Ts = ["id"];
|
|
1214
|
+
function As(e, a, g, n, d, t) {
|
|
1215
|
+
return c(), y("svg", Q({ role: "img" }, e.$attrs, {
|
|
1216
|
+
class: "ui-assets-icons-16",
|
|
1217
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1218
|
+
width: "16",
|
|
1219
|
+
height: "16",
|
|
1220
|
+
fill: "none"
|
|
1221
|
+
}), [
|
|
1222
|
+
e.$attrs["svg-title"] ? (c(), y("title", Rs, q(e.$attrs["svg-title"]), 1)) : U("", !0),
|
|
1223
|
+
O("g", {
|
|
1224
|
+
fill: "#00112C",
|
|
1225
|
+
"clip-path": "url(#uia-icons-16-settings__a" + e.uuid + ")"
|
|
1226
|
+
}, a[0] || (a[0] = [
|
|
1227
|
+
O("path", { d: "M8 5.25C6.48122 5.25 5.25 6.48122 5.25 8C5.25 9.51878 6.48122 10.75 8 10.75C9.51878 10.75 10.75 9.51878 10.75 8C10.75 6.48122 9.51878 5.25 8 5.25ZM6.75 8C6.75 7.30964 7.30964 6.75 8 6.75C8.69036 6.75 9.25 7.30964 9.25 8C9.25 8.69036 8.69036 9.25 8 9.25C7.30964 9.25 6.75 8.69036 6.75 8Z" }, null, -1),
|
|
1228
|
+
O("path", { d: "M6.84701 0.973015L6.59985 0.35083L5.9537 0.526056C4.64534 0.880867 3.48225 1.56808 2.55285 2.48641L2.07533 2.95826L2.49158 3.48495C2.79648 3.87074 2.85279 4.419 2.58992 4.87589C2.32905 5.32931 1.82436 5.55631 1.33473 5.48726L0.677319 5.39455L0.505539 6.03586C0.33838 6.65992 0.25 7.32519 0.25 7.99991C0.25 8.67463 0.33838 9.3399 0.505539 9.96396L0.677319 10.6053L1.33473 10.5126C1.82436 10.4435 2.32905 10.6705 2.58992 11.1239C2.85279 11.5808 2.79648 12.1291 2.49158 12.5149L2.07533 13.0416L2.55285 13.5134C3.48225 14.4317 4.64534 15.119 5.9537 15.4738L6.59985 15.649L6.84701 15.0268C7.02659 14.5748 7.47549 14.2499 8 14.2499C8.52452 14.2499 8.97341 14.5748 9.15299 15.0268L9.40016 15.649L10.0463 15.4738C11.3547 15.119 12.5177 14.4317 13.4471 13.5134L13.9247 13.0416L13.5084 12.5149C13.2035 12.1291 13.1472 11.5808 13.4101 11.1239C13.671 10.6705 14.1756 10.4435 14.6653 10.5126L15.3227 10.6053L15.4945 9.96396C15.6616 9.3399 15.75 8.67463 15.75 7.99991C15.75 7.32519 15.6616 6.65992 15.4945 6.03586L15.3227 5.39455L14.6653 5.48726C14.1756 5.55631 13.671 5.32931 13.4101 4.87589C13.1472 4.419 13.2035 3.87074 13.5084 3.48495L13.9247 2.95826L13.4471 2.48641C12.5177 1.56808 11.3547 0.880867 10.0463 0.526056L9.40016 0.35083L9.15299 0.973015C8.97341 1.42506 8.52452 1.74991 8 1.74991C7.47549 1.74991 7.02659 1.42506 6.84701 0.973015ZM3.89008 5.62393C4.33946 4.84286 4.36394 3.9353 4.03405 3.16853C4.55803 2.73795 5.15349 2.39116 5.80146 2.14902C6.30062 2.81653 7.10051 3.24991 8 3.24991C8.89949 3.24991 9.69938 2.81653 10.1985 2.14902C10.8465 2.39116 11.442 2.73795 11.966 3.16853C11.6361 3.9353 11.6605 4.84287 12.1099 5.62393C12.5612 6.40839 13.3382 6.88092 14.1658 6.97982C14.221 7.31075 14.25 7.65319 14.25 7.99991C14.25 8.34663 14.221 8.68908 14.1658 9.02001C13.3382 9.11891 12.5612 9.59143 12.1099 10.3759C11.6605 11.157 11.6361 12.0645 11.9659 12.8313C11.442 13.2619 10.8465 13.6087 10.1985 13.8508C9.69938 13.1833 8.89949 12.7499 8 12.7499C7.10051 12.7499 6.30062 13.1833 5.80146 13.8508C5.15349 13.6087 4.55803 13.2619 4.03405 12.8313C4.36394 12.0645 4.33946 11.157 3.89008 10.3759C3.43875 9.59143 2.66177 9.1189 1.8342 9.02C1.77896 8.68908 1.75 8.34663 1.75 7.99991C1.75 7.65319 1.77896 7.31074 1.8342 6.97982C2.66177 6.88092 3.43875 6.40839 3.89008 5.62393Z" }, null, -1)
|
|
1229
|
+
]), 8, Ns),
|
|
1230
|
+
O("defs", null, [
|
|
1231
|
+
O("clipPath", {
|
|
1232
|
+
id: "uia-icons-16-settings__a" + e.uuid
|
|
1233
|
+
}, a[1] || (a[1] = [
|
|
1234
|
+
O("rect", {
|
|
1235
|
+
width: "16",
|
|
1236
|
+
height: "16",
|
|
1237
|
+
fill: "#fff"
|
|
1238
|
+
}, null, -1)
|
|
1239
|
+
]), 8, Ts)
|
|
1240
|
+
])
|
|
1241
|
+
], 16);
|
|
1242
|
+
}
|
|
1243
|
+
const Is = /* @__PURE__ */ se(Os, [["render", As]]), $t = {
|
|
1244
|
+
"en-US": {
|
|
1245
|
+
toggleColumnVisibility: "Toggle {label} column visibility",
|
|
1246
|
+
toggleColumnFreeze: "Toggle {label} column freeze"
|
|
1247
|
+
}
|
|
1248
|
+
}, $s = Ee({
|
|
1249
|
+
i18n: { messages: $t },
|
|
1250
|
+
name: "bento-data-grid",
|
|
1251
|
+
components: {
|
|
1252
|
+
BentoFreezeIcon: jt,
|
|
1253
|
+
BentoToggle: Vt
|
|
1254
|
+
},
|
|
1255
|
+
props: {
|
|
1256
|
+
/**
|
|
1257
|
+
* Is column visibitlity toggle disabled
|
|
1258
|
+
*/
|
|
1259
|
+
isColumnVisibilityToggleDisabled: {
|
|
1260
|
+
type: Boolean,
|
|
1261
|
+
required: !0
|
|
1262
|
+
},
|
|
1263
|
+
/**
|
|
1264
|
+
* Column definition
|
|
1265
|
+
*/
|
|
1266
|
+
column: {
|
|
1267
|
+
type: Object,
|
|
1268
|
+
required: !0
|
|
1269
|
+
}
|
|
1270
|
+
},
|
|
1271
|
+
emits: ["visible-column", "updated-column"],
|
|
1272
|
+
setup(e, { emit: a }) {
|
|
1273
|
+
const { t: g } = Ne({ messages: $t }), n = A(!1), d = E(() => {
|
|
1274
|
+
var f;
|
|
1275
|
+
return (f = e.column) == null ? void 0 : f.frozen;
|
|
1276
|
+
}), t = E(() => {
|
|
1277
|
+
var f;
|
|
1278
|
+
return ((f = e.column) == null ? void 0 : f.visible) !== !1;
|
|
1279
|
+
}), s = () => {
|
|
1280
|
+
a("visible-column", { ...e.column, visible: !t.value });
|
|
1281
|
+
}, w = () => {
|
|
1282
|
+
a("updated-column", { ...e.column, frozen: !d.value });
|
|
1283
|
+
}, C = () => {
|
|
1284
|
+
d.value || (n.value = !0);
|
|
1285
|
+
}, L = () => {
|
|
1286
|
+
d.value || (n.value = !1);
|
|
1287
|
+
}, N = E(() => ({
|
|
1288
|
+
"b-data-grid-config-settings-column-row__freeze-icon--frozen": d.value
|
|
1289
|
+
}));
|
|
1290
|
+
return {
|
|
1291
|
+
// Values
|
|
1292
|
+
isFreezeIconOptionShown: n,
|
|
1293
|
+
isColumnFrozen: d,
|
|
1294
|
+
freezeIconConditionalClasses: N,
|
|
1295
|
+
isColumnVisible: t,
|
|
1296
|
+
// Methods
|
|
1297
|
+
toggleColumnVisibility: s,
|
|
1298
|
+
showFreezeIcon: C,
|
|
1299
|
+
hideFreezeIcon: L,
|
|
1300
|
+
toggleColumnFreeze: w,
|
|
1301
|
+
// Translations
|
|
1302
|
+
t: g
|
|
1303
|
+
};
|
|
1304
|
+
}
|
|
1305
|
+
});
|
|
1306
|
+
function Ds(e, a, g, n, d, t) {
|
|
1307
|
+
const s = he("bento-toggle"), w = he("bento-freeze-icon");
|
|
1308
|
+
return c(), y("div", {
|
|
1309
|
+
class: "b-data-grid-config-settings-column-row",
|
|
1310
|
+
onMouseover: a[0] || (a[0] = (...C) => e.showFreezeIcon && e.showFreezeIcon(...C)),
|
|
1311
|
+
onMouseleave: a[1] || (a[1] = (...C) => e.hideFreezeIcon && e.hideFreezeIcon(...C))
|
|
1312
|
+
}, [
|
|
1313
|
+
X(s, {
|
|
1314
|
+
"aria-label": e.t("toggleColumnVisibility", { label: e.column.label }),
|
|
1315
|
+
disabled: e.isColumnVisibilityToggleDisabled,
|
|
1316
|
+
"label-position": "after",
|
|
1317
|
+
value: e.isColumnVisible,
|
|
1318
|
+
onInput: e.toggleColumnVisibility
|
|
1319
|
+
}, {
|
|
1320
|
+
default: H(() => [
|
|
1321
|
+
ue(q(e.column.label), 1)
|
|
1322
|
+
]),
|
|
1323
|
+
_: 1
|
|
1324
|
+
}, 8, ["aria-label", "disabled", "value", "onInput"]),
|
|
1325
|
+
tt(X(w, {
|
|
1326
|
+
"aria-label": e.t("toggleColumnFreeze", { label: e.column.label }),
|
|
1327
|
+
class: ce(["b-data-grid-config-settings-column-row__freeze-icon", e.freezeIconConditionalClasses]),
|
|
1328
|
+
onClick: e.toggleColumnFreeze
|
|
1329
|
+
}, null, 8, ["aria-label", "class", "onClick"]), [
|
|
1330
|
+
[Bn, e.isColumnFrozen || e.isFreezeIconOptionShown]
|
|
1331
|
+
])
|
|
1332
|
+
], 32);
|
|
1333
|
+
}
|
|
1334
|
+
const ks = /* @__PURE__ */ se($s, [["render", Ds], ["__scopeId", "data-v-bb87a729"]]), Dt = {
|
|
1335
|
+
"en-US": {
|
|
1336
|
+
closeConfigSettingsPanel: "Close configuration settings panel",
|
|
1337
|
+
closeSearch: "Close search",
|
|
1338
|
+
columns: "Columns",
|
|
1339
|
+
columnVisibilitySearchFilter: "Column visibility search filter",
|
|
1340
|
+
condensed: "Condensed",
|
|
1341
|
+
condensedToggle: "Condensed toggle",
|
|
1342
|
+
configSettingsPanel: "Configuration settings Panel",
|
|
1343
|
+
displayOptions: "Display options",
|
|
1344
|
+
noColumnsMatch: "No columns match this search",
|
|
1345
|
+
search: "Search",
|
|
1346
|
+
showAllColumns: "Show all columns ({numberOfColumns})",
|
|
1347
|
+
size: "Size",
|
|
1348
|
+
toggleConfigSettingsPanelVisibility: "Toggle Configuration settings panel visibility"
|
|
1349
|
+
},
|
|
1350
|
+
"pt-BR": {
|
|
1351
|
+
condensed: "Condensado",
|
|
1352
|
+
search: "Buscar",
|
|
1353
|
+
size: "Tamanho"
|
|
1354
|
+
},
|
|
1355
|
+
"ja-JP": {
|
|
1356
|
+
condensed: "凝縮",
|
|
1357
|
+
search: "検索",
|
|
1358
|
+
size: "サイズ"
|
|
1359
|
+
}
|
|
1360
|
+
}, Ms = Ee({
|
|
1361
|
+
i18n: { messages: Dt },
|
|
1362
|
+
name: "bento-data-grid",
|
|
1363
|
+
components: {
|
|
1364
|
+
BentoButton: Ht,
|
|
1365
|
+
BentoCrossIcon: Wt,
|
|
1366
|
+
BentoPopover: nl,
|
|
1367
|
+
BentoSettingsIcon: Is,
|
|
1368
|
+
BentoToggleButton: it,
|
|
1369
|
+
BentoDataGridConfigSettingsConfigRow: ks,
|
|
1370
|
+
BentoSearchBar: ll,
|
|
1371
|
+
BentoSearchIcon: il,
|
|
1372
|
+
BentoToggle: Vt,
|
|
1373
|
+
BentoTypography: Ze
|
|
1374
|
+
},
|
|
1375
|
+
directives: { BentoClickOutsideDirective: ol },
|
|
1376
|
+
props: {
|
|
1377
|
+
/**
|
|
1378
|
+
* Column definitions
|
|
1379
|
+
*/
|
|
1380
|
+
columns: {
|
|
1381
|
+
type: Array,
|
|
1382
|
+
required: !0
|
|
1383
|
+
},
|
|
1384
|
+
/**
|
|
1385
|
+
* Sets the row cells to the condensed padding state.
|
|
1386
|
+
*/
|
|
1387
|
+
condensed: {
|
|
1388
|
+
type: Boolean,
|
|
1389
|
+
default: !1
|
|
1390
|
+
}
|
|
1391
|
+
},
|
|
1392
|
+
emits: [be.CONFIG_SETTINGS, be.UPDATE_COLUMNS],
|
|
1393
|
+
setup(e, { emit: a }) {
|
|
1394
|
+
const { t: g } = Ne({ messages: Dt }), n = A(null), d = Ye("data-grid-config-settings-popover"), t = A(null), s = A(!1), w = A(!0), C = A(null), L = A(""), N = Pt(e, "columns"), f = A(!1), b = sl(L, N), l = () => {
|
|
1395
|
+
L.value = "";
|
|
1396
|
+
}, u = E(
|
|
1397
|
+
() => !e.columns.some((p) => p.visible === !1 && !p.mandatory)
|
|
1398
|
+
), i = () => {
|
|
1399
|
+
l(), f.value = !f.value, f.value ? ge(() => {
|
|
1400
|
+
var p;
|
|
1401
|
+
return (p = t.value.$refs.bentoInputField) == null ? void 0 : p.focusInput();
|
|
1402
|
+
}) : ge(() => {
|
|
1403
|
+
var p, G;
|
|
1404
|
+
return (G = (p = C == null ? void 0 : C.value) == null ? void 0 : p.$el) == null ? void 0 : G.focus();
|
|
1405
|
+
}), w.value = u.value;
|
|
1406
|
+
}, _ = (p) => p.mandatory ?? !1, h = (p) => {
|
|
1407
|
+
const G = e.columns.map((x) => ({
|
|
1408
|
+
...x,
|
|
1409
|
+
visible: p.field === x.field ? p.visible : x.visible
|
|
1410
|
+
}));
|
|
1411
|
+
a(be.UPDATE_COLUMNS, G);
|
|
1412
|
+
}, $ = (p) => {
|
|
1413
|
+
p ? a(
|
|
1414
|
+
be.UPDATE_COLUMNS,
|
|
1415
|
+
e.columns.map((G) => ({ ...G, visible: !0 }))
|
|
1416
|
+
) : a(
|
|
1417
|
+
be.UPDATE_COLUMNS,
|
|
1418
|
+
e.columns.map((G) => ({ ...G, visible: (G == null ? void 0 : G.mandatory) === !0 }))
|
|
1419
|
+
);
|
|
1420
|
+
}, R = (p) => {
|
|
1421
|
+
const G = e.columns.map((x) => ({
|
|
1422
|
+
...x,
|
|
1423
|
+
frozen: p.field === x.field ? !!(p != null && p.frozen) : !!(x != null && x.frozen)
|
|
1424
|
+
}));
|
|
1425
|
+
a(be.UPDATE_COLUMNS, G);
|
|
1426
|
+
}, B = (p) => {
|
|
1427
|
+
s.value = p, w.value = u.value;
|
|
1428
|
+
};
|
|
1429
|
+
return {
|
|
1430
|
+
// Values
|
|
1431
|
+
configSettingsButtonRef: n,
|
|
1432
|
+
popoverId: d,
|
|
1433
|
+
isConfigSettingsPanelOpen: s,
|
|
1434
|
+
allColumnsVisbilityToggleState: w,
|
|
1435
|
+
filteredColumnVisibilityColumns: b,
|
|
1436
|
+
searchTerm: L,
|
|
1437
|
+
isColumnVisibilityFilterShown: f,
|
|
1438
|
+
searchBarRef: t,
|
|
1439
|
+
searchButtonRef: C,
|
|
1440
|
+
DATAGRID_ACTIONS_COLUMN_FIELD_NAME: fe,
|
|
1441
|
+
// Methods
|
|
1442
|
+
setConfigSettingsPanelVisibility: B,
|
|
1443
|
+
emitCondensedToggle: (p) => a(be.CONFIG_SETTINGS, p),
|
|
1444
|
+
toggleAllColumnVisibility: $,
|
|
1445
|
+
clearAction: l,
|
|
1446
|
+
toggleColumnFilter: i,
|
|
1447
|
+
emitVisibleColumns: h,
|
|
1448
|
+
emitFrozenColumns: R,
|
|
1449
|
+
onClickOutside: () => B(!1),
|
|
1450
|
+
isColumnVisibilityToggleDisabled: _,
|
|
1451
|
+
// Translations
|
|
1452
|
+
t: g
|
|
1453
|
+
};
|
|
1454
|
+
}
|
|
1455
|
+
}), zs = { class: "b-data-grid-config-settings" }, Us = { class: "b-data-grid-config-settings__button-and-separator" }, Fs = {
|
|
1456
|
+
ref: "configSettingsButtonRef",
|
|
1457
|
+
class: "b-data-grid-config-settings__button-container"
|
|
1458
|
+
}, Ps = { class: "b-data-grid-config-settings__panel-header" }, Bs = { class: "b-data-grid-config-settings__condensed-view-settings" }, Ws = { class: "b-data-grid-config-settings__column-visibility-settings" }, Gs = { class: "b-data-grid-config-settings__column-visibility-header" }, Hs = {
|
|
1459
|
+
key: 0,
|
|
1460
|
+
class: "b-data-grid-config-settings__column-visibility-search"
|
|
1461
|
+
}, Vs = {
|
|
1462
|
+
key: 1,
|
|
1463
|
+
class: "b-data-grid-config-settings__column-visibility-show-all"
|
|
1464
|
+
}, xs = { class: "b-data-grid-config-settings__column-visibility-toggles" };
|
|
1465
|
+
function Zs(e, a, g, n, d, t) {
|
|
1466
|
+
const s = he("bento-settings-icon"), w = he("bento-toggle-button"), C = he("bento-typography"), L = he("bento-cross-icon"), N = he("bento-button"), f = he("bento-toggle"), b = he("bento-search-icon"), l = he("bento-search-bar"), u = he("bento-data-grid-config-settings-config-row"), i = he("bento-popover"), _ = Wn("bento-click-outside-directive");
|
|
1467
|
+
return tt((c(), y("div", zs, [
|
|
1468
|
+
O("div", Us, [
|
|
1469
|
+
O("div", Fs, [
|
|
1470
|
+
X(w, {
|
|
1471
|
+
"aria-controls": e.isConfigSettingsPanelOpen ? e.popoverId : null,
|
|
1472
|
+
variant: "tertiary",
|
|
1473
|
+
condensed: "",
|
|
1474
|
+
toggled: e.isConfigSettingsPanelOpen,
|
|
1475
|
+
onClick: a[0] || (a[0] = (h) => e.setConfigSettingsPanelVisibility(!e.isConfigSettingsPanelOpen))
|
|
1476
|
+
}, {
|
|
1477
|
+
iconLeft: H(() => [
|
|
1478
|
+
X(s, {
|
|
1479
|
+
"svg-title": e.t("toggleConfigSettingsPanelVisibility")
|
|
1480
|
+
}, null, 8, ["svg-title"])
|
|
1481
|
+
]),
|
|
1482
|
+
_: 1
|
|
1483
|
+
}, 8, ["aria-controls", "toggled"])
|
|
1484
|
+
], 512)
|
|
1485
|
+
]),
|
|
1486
|
+
e.configSettingsButtonRef ? (c(), P(i, {
|
|
1487
|
+
key: 0,
|
|
1488
|
+
id: e.popoverId,
|
|
1489
|
+
open: e.isConfigSettingsPanelOpen,
|
|
1490
|
+
class: "b-data-grid-config-settings__panel",
|
|
1491
|
+
"aria-label": e.t("configSettingsPanel"),
|
|
1492
|
+
"target-element": e.configSettingsButtonRef,
|
|
1493
|
+
position: "bottom-end"
|
|
1494
|
+
}, {
|
|
1495
|
+
default: H(() => [
|
|
1496
|
+
O("div", Ps, [
|
|
1497
|
+
X(C, {
|
|
1498
|
+
el: "span",
|
|
1499
|
+
strongest: ""
|
|
1500
|
+
}, {
|
|
1501
|
+
default: H(() => [
|
|
1502
|
+
ue(q(e.t("displayOptions")), 1)
|
|
1503
|
+
]),
|
|
1504
|
+
_: 1
|
|
1505
|
+
}),
|
|
1506
|
+
X(N, {
|
|
1507
|
+
variant: "tertiary",
|
|
1508
|
+
onClick: a[1] || (a[1] = (h) => e.setConfigSettingsPanelVisibility(!1))
|
|
1509
|
+
}, {
|
|
1510
|
+
iconLeft: H(() => [
|
|
1511
|
+
X(L, {
|
|
1512
|
+
"svg-title": e.t("closeConfigSettingsPanel")
|
|
1513
|
+
}, null, 8, ["svg-title"])
|
|
1514
|
+
]),
|
|
1515
|
+
_: 1
|
|
1516
|
+
})
|
|
1517
|
+
]),
|
|
1518
|
+
O("div", Bs, [
|
|
1519
|
+
X(C, {
|
|
1520
|
+
class: "b-data-grid-config-settings__condensed-view-title",
|
|
1521
|
+
el: "span",
|
|
1522
|
+
stronger: ""
|
|
1523
|
+
}, {
|
|
1524
|
+
default: H(() => [
|
|
1525
|
+
ue(q(e.t("size")), 1)
|
|
1526
|
+
]),
|
|
1527
|
+
_: 1
|
|
1528
|
+
}),
|
|
1529
|
+
X(f, {
|
|
1530
|
+
"label-position": "after",
|
|
1531
|
+
"aria-label": e.t("condensedToggle"),
|
|
1532
|
+
value: e.condensed,
|
|
1533
|
+
onInput: e.emitCondensedToggle
|
|
1534
|
+
}, {
|
|
1535
|
+
default: H(() => [
|
|
1536
|
+
ue(q(e.t("condensed")), 1)
|
|
1537
|
+
]),
|
|
1538
|
+
_: 1
|
|
1539
|
+
}, 8, ["aria-label", "value", "onInput"])
|
|
1540
|
+
]),
|
|
1541
|
+
O("div", Ws, [
|
|
1542
|
+
O("div", Gs, [
|
|
1543
|
+
X(C, {
|
|
1544
|
+
class: "b-data-grid-config-settings__column-visibility-title",
|
|
1545
|
+
el: "span",
|
|
1546
|
+
stronger: ""
|
|
1547
|
+
}, {
|
|
1548
|
+
default: H(() => [
|
|
1549
|
+
ue(q(e.t("columns")), 1)
|
|
1550
|
+
]),
|
|
1551
|
+
_: 1
|
|
1552
|
+
}),
|
|
1553
|
+
e.isColumnVisibilityFilterShown ? (c(), P(N, {
|
|
1554
|
+
key: 1,
|
|
1555
|
+
variant: "tertiary",
|
|
1556
|
+
onClick: e.toggleColumnFilter
|
|
1557
|
+
}, {
|
|
1558
|
+
iconLeft: H(() => [
|
|
1559
|
+
X(L)
|
|
1560
|
+
]),
|
|
1561
|
+
default: H(() => [
|
|
1562
|
+
ue(" " + q(e.t("closeSearch")), 1)
|
|
1563
|
+
]),
|
|
1564
|
+
_: 1
|
|
1565
|
+
}, 8, ["onClick"])) : (c(), P(N, {
|
|
1566
|
+
key: 0,
|
|
1567
|
+
ref: "searchButtonRef",
|
|
1568
|
+
variant: "tertiary",
|
|
1569
|
+
onClick: e.toggleColumnFilter
|
|
1570
|
+
}, {
|
|
1571
|
+
iconLeft: H(() => [
|
|
1572
|
+
X(b)
|
|
1573
|
+
]),
|
|
1574
|
+
default: H(() => [
|
|
1575
|
+
ue(q(e.t("search")), 1)
|
|
1576
|
+
]),
|
|
1577
|
+
_: 1
|
|
1578
|
+
}, 8, ["onClick"]))
|
|
1579
|
+
]),
|
|
1580
|
+
e.isColumnVisibilityFilterShown ? (c(), y("div", Hs, [
|
|
1581
|
+
X(l, {
|
|
1582
|
+
ref: "searchBarRef",
|
|
1583
|
+
value: e.searchTerm,
|
|
1584
|
+
"input-field-aria-label": e.t("columnVisibilitySearchFilter").toString(),
|
|
1585
|
+
onInput: a[2] || (a[2] = (h) => e.searchTerm = h),
|
|
1586
|
+
onClear: e.clearAction,
|
|
1587
|
+
onEscapePressed: e.toggleColumnFilter
|
|
1588
|
+
}, null, 8, ["value", "input-field-aria-label", "onClear", "onEscapePressed"])
|
|
1589
|
+
])) : (c(), y("div", Vs, [
|
|
1590
|
+
X(f, {
|
|
1591
|
+
"label-position": "after",
|
|
1592
|
+
value: e.allColumnsVisbilityToggleState,
|
|
1593
|
+
onInput: e.toggleAllColumnVisibility
|
|
1594
|
+
}, {
|
|
1595
|
+
default: H(() => [
|
|
1596
|
+
ue(q(e.t("showAllColumns", { numberOfColumns: e.columns.length })), 1)
|
|
1597
|
+
]),
|
|
1598
|
+
_: 1
|
|
1599
|
+
}, 8, ["value", "onInput"])
|
|
1600
|
+
])),
|
|
1601
|
+
O("div", xs, [
|
|
1602
|
+
(c(!0), y(ve, null, Ce(e.filteredColumnVisibilityColumns, (h) => (c(), y("div", {
|
|
1603
|
+
key: h.field
|
|
1604
|
+
}, [
|
|
1605
|
+
h.field !== e.DATAGRID_ACTIONS_COLUMN_FIELD_NAME ? (c(), P(u, {
|
|
1606
|
+
key: 0,
|
|
1607
|
+
column: h,
|
|
1608
|
+
"is-column-visibility-toggle-disabled": e.isColumnVisibilityToggleDisabled(h),
|
|
1609
|
+
onVisibleColumn: e.emitVisibleColumns,
|
|
1610
|
+
onUpdatedColumn: e.emitFrozenColumns
|
|
1611
|
+
}, null, 8, ["column", "is-column-visibility-toggle-disabled", "onVisibleColumn", "onUpdatedColumn"])) : U("", !0)
|
|
1612
|
+
]))), 128)),
|
|
1613
|
+
e.filteredColumnVisibilityColumns.length === 0 ? (c(), P(C, {
|
|
1614
|
+
key: 0,
|
|
1615
|
+
el: "span",
|
|
1616
|
+
class: "b-data-grid-config-settings__column-visibility-empty-search-message"
|
|
1617
|
+
}, {
|
|
1618
|
+
default: H(() => [
|
|
1619
|
+
ue(q(e.t("noColumnsMatch")), 1)
|
|
1620
|
+
]),
|
|
1621
|
+
_: 1
|
|
1622
|
+
})) : U("", !0)
|
|
1623
|
+
])
|
|
1624
|
+
])
|
|
1625
|
+
]),
|
|
1626
|
+
_: 1
|
|
1627
|
+
}, 8, ["id", "open", "aria-label", "target-element"])) : U("", !0)
|
|
1628
|
+
])), [
|
|
1629
|
+
[_, e.onClickOutside]
|
|
1630
|
+
]);
|
|
1631
|
+
}
|
|
1632
|
+
const js = /* @__PURE__ */ se(Ms, [["render", Zs], ["__scopeId", "data-v-f5950a53"]]), je = {
|
|
1633
|
+
"en-US": {
|
|
1634
|
+
gettingYourData: "Getting your data",
|
|
1635
|
+
loading: "Loading",
|
|
1636
|
+
selectRow: "Select row",
|
|
1637
|
+
showMore: "Show more",
|
|
1638
|
+
sortAscending: "{field} sort ascending",
|
|
1639
|
+
sortDescending: "{field} sort descending",
|
|
1640
|
+
sortInactive: "{field} sort inactive"
|
|
1641
|
+
},
|
|
1642
|
+
"pt-BR": {
|
|
1643
|
+
loading: "Carregando",
|
|
1644
|
+
showMore: "Mostrar mais"
|
|
1645
|
+
},
|
|
1646
|
+
"ja-JP": {
|
|
1647
|
+
loading: "読み込み中",
|
|
1648
|
+
showMore: "表示内容を増やす"
|
|
1649
|
+
}
|
|
1650
|
+
}, qs = { class: "b-data-grid-lazy-load" }, Ys = {
|
|
1651
|
+
i18n: { messages: je }
|
|
1652
|
+
}, Xs = /* @__PURE__ */ Ee({
|
|
1653
|
+
...Ys,
|
|
1654
|
+
__name: "data-grid-lazy-load",
|
|
1655
|
+
props: {
|
|
1656
|
+
loading: { type: Boolean },
|
|
1657
|
+
isInfiniteScroll: { type: Boolean }
|
|
1658
|
+
},
|
|
1659
|
+
setup(e) {
|
|
1660
|
+
const { t: a } = Ne({ messages: je });
|
|
1661
|
+
return (g, n) => (c(), y("div", qs, [
|
|
1662
|
+
g.loading && g.isInfiniteScroll ? (c(), P(o(lt), { key: 0 })) : U("", !0),
|
|
1663
|
+
g.loading && !g.isInfiniteScroll ? (c(), P(o(Lt), {
|
|
1664
|
+
key: 1,
|
|
1665
|
+
variant: "secondary",
|
|
1666
|
+
state: o(St).LOADING
|
|
1667
|
+
}, {
|
|
1668
|
+
default: H(() => [
|
|
1669
|
+
ue(q(o(a)("loading")), 1)
|
|
1670
|
+
]),
|
|
1671
|
+
_: 1
|
|
1672
|
+
}, 8, ["state"])) : U("", !0),
|
|
1673
|
+
!g.loading && !g.isInfiniteScroll ? (c(), P(o(Lt), {
|
|
1674
|
+
key: 2,
|
|
1675
|
+
state: o(St).START,
|
|
1676
|
+
variant: "secondary",
|
|
1677
|
+
onClick: n[0] || (n[0] = (d) => g.$emit(o(k).UPDATE_SHOW_MORE))
|
|
1678
|
+
}, {
|
|
1679
|
+
default: H(() => [
|
|
1680
|
+
ue(q(o(a)("showMore")), 1)
|
|
1681
|
+
]),
|
|
1682
|
+
_: 1
|
|
1683
|
+
}, 8, ["state"])) : U("", !0)
|
|
1684
|
+
]));
|
|
1685
|
+
}
|
|
1686
|
+
}), Ks = /* @__PURE__ */ se(Xs, [["__scopeId", "data-v-a4824c2d"]]);
|
|
1687
|
+
let kt = 0;
|
|
1688
|
+
const Js = {
|
|
1689
|
+
beforeCreate() {
|
|
1690
|
+
this.uuid = kt.toString(), kt += 1;
|
|
1691
|
+
}
|
|
1692
|
+
}, Qs = { key: 0 };
|
|
1693
|
+
function eo(e, a, g, n, d, t) {
|
|
1694
|
+
return c(), y("svg", Q({ role: "img" }, e.$attrs, {
|
|
1695
|
+
class: "ui-assets-icons-16",
|
|
1696
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1697
|
+
width: "16",
|
|
1698
|
+
height: "16",
|
|
1699
|
+
fill: "none"
|
|
1700
|
+
}), [
|
|
1701
|
+
e.$attrs["svg-title"] ? (c(), y("title", Qs, q(e.$attrs["svg-title"]), 1)) : U("", !0),
|
|
1702
|
+
a[0] || (a[0] = O("path", {
|
|
1703
|
+
fill: "#00112C",
|
|
1704
|
+
d: "M12.9243 1.86372C12.0456 0.985043 10.621 0.985041 9.74234 1.86372L1.25 10.3561V14.7501H5.64399L14.1363 6.25772C15.015 5.37904 15.015 3.95442 14.1363 3.07574L12.9243 1.86372ZM10.803 2.92438C11.0959 2.63149 11.5708 2.63149 11.8637 2.92438L13.0757 4.1364C13.3686 4.42929 13.3686 4.90416 13.0757 5.19706L12.3333 5.93947L10.0606 3.6668L10.803 2.92438ZM8.99993 4.72746L11.2726 7.00013L5.02267 13.2501H2.75V10.9774L8.99993 4.72746Z"
|
|
1705
|
+
}, null, -1))
|
|
1706
|
+
], 16);
|
|
1707
|
+
}
|
|
1708
|
+
const to = /* @__PURE__ */ se(Js, [["render", eo]]);
|
|
1709
|
+
let Mt = 0;
|
|
1710
|
+
const no = {
|
|
1711
|
+
beforeCreate() {
|
|
1712
|
+
this.uuid = Mt.toString(), Mt += 1;
|
|
1713
|
+
}
|
|
1714
|
+
}, lo = { key: 0 };
|
|
1715
|
+
function so(e, a, g, n, d, t) {
|
|
1716
|
+
return c(), y("svg", Q({ role: "img" }, e.$attrs, {
|
|
1717
|
+
class: "ui-assets-icons-16",
|
|
1718
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1719
|
+
width: "16",
|
|
1720
|
+
height: "16",
|
|
1721
|
+
fill: "none"
|
|
1722
|
+
}), [
|
|
1723
|
+
e.$attrs["svg-title"] ? (c(), y("title", lo, q(e.$attrs["svg-title"]), 1)) : U("", !0),
|
|
1724
|
+
a[0] || (a[0] = O("path", {
|
|
1725
|
+
fill: "#00112C",
|
|
1726
|
+
d: "M2.93933 11.9999L10.1893 4.74989H5.24999V3.24989H12.75V10.7499H11.25V5.81055L3.99999 13.0605L2.93933 11.9999Z"
|
|
1727
|
+
}, null, -1))
|
|
1728
|
+
], 16);
|
|
1729
|
+
}
|
|
1730
|
+
const zt = /* @__PURE__ */ se(no, [["render", so]]), Yt = {
|
|
1731
|
+
"en-US": {
|
|
1732
|
+
copy: "Copy",
|
|
1733
|
+
edit: "Edit",
|
|
1734
|
+
open: "Open",
|
|
1735
|
+
more: "More"
|
|
1736
|
+
},
|
|
1737
|
+
"pt-BR": {
|
|
1738
|
+
copy: "Copiar",
|
|
1739
|
+
edit: "Editar",
|
|
1740
|
+
open: "Abrir",
|
|
1741
|
+
more: "Mais"
|
|
1742
|
+
},
|
|
1743
|
+
"ja-JP": {
|
|
1744
|
+
copy: "コピー",
|
|
1745
|
+
edit: "編集",
|
|
1746
|
+
open: "を開く",
|
|
1747
|
+
more: "表示を増やす"
|
|
1748
|
+
}
|
|
1749
|
+
}, oo = { class: "b-data-grid-cell-actions" }, io = {
|
|
1750
|
+
class: "b-data-grid-cell-actions__actions",
|
|
1751
|
+
role: "group"
|
|
1752
|
+
}, ao = {
|
|
1753
|
+
i18n: { messages: Yt },
|
|
1754
|
+
name: "data-grid-cell-actions"
|
|
1755
|
+
}, ro = /* @__PURE__ */ Ee({
|
|
1756
|
+
...ao,
|
|
1757
|
+
props: {
|
|
1758
|
+
/**
|
|
1759
|
+
* Column definitions using 'key' to relate to data object.
|
|
1760
|
+
*/
|
|
1761
|
+
cellActions: {
|
|
1762
|
+
type: Array,
|
|
1763
|
+
required: !0,
|
|
1764
|
+
validator: (e) => (e == null ? void 0 : e.length) <= 2
|
|
1765
|
+
},
|
|
1766
|
+
/**
|
|
1767
|
+
* The column field key.
|
|
1768
|
+
*/
|
|
1769
|
+
columnKey: {
|
|
1770
|
+
type: String,
|
|
1771
|
+
required: !0
|
|
1772
|
+
},
|
|
1773
|
+
/**
|
|
1774
|
+
* The row data item object.
|
|
1775
|
+
*/
|
|
1776
|
+
rowDataItem: {
|
|
1777
|
+
type: Object,
|
|
1778
|
+
required: !0
|
|
1779
|
+
}
|
|
1780
|
+
},
|
|
1781
|
+
emits: ["menu-item-click-close"],
|
|
1782
|
+
setup(e, { emit: a }) {
|
|
1783
|
+
const { t: g } = Ne({ messages: Yt }), n = e, d = a, t = E(() => {
|
|
1784
|
+
var l;
|
|
1785
|
+
return ((l = n.cellActions) == null ? void 0 : l.length) > 2 && Gt(
|
|
1786
|
+
"WARNING: BentoDataGrid Cell actions can only have a maximum of 2 actions, if you need more consider using the menuData property instead."
|
|
1787
|
+
), n.cellActions.slice(0, 2);
|
|
1788
|
+
}), s = E(() => (l, u) => {
|
|
1789
|
+
if (!(!u && l.isShort || u && !l.isShort))
|
|
1790
|
+
switch (l.variant) {
|
|
1791
|
+
case "copy":
|
|
1792
|
+
return g("copy");
|
|
1793
|
+
case "edit":
|
|
1794
|
+
return g("edit");
|
|
1795
|
+
case "open":
|
|
1796
|
+
return g("open");
|
|
1797
|
+
case "more":
|
|
1798
|
+
return g("more");
|
|
1799
|
+
default:
|
|
1800
|
+
return l.title;
|
|
1801
|
+
}
|
|
1802
|
+
}), w = (l) => (l == null ? void 0 : l.event) !== void 0 ? {
|
|
1803
|
+
click: () => l.event(n.rowDataItem, n.columnKey)
|
|
1804
|
+
} : {}, C = (l) => ({
|
|
1805
|
+
...l,
|
|
1806
|
+
handler: () => {
|
|
1807
|
+
l != null && l.handler && typeof l.handler == "function" && (l == null || l.handler()), l != null && l.event && typeof l.event == "function" && (l == null || l.event(n.rowDataItem, n.columnKey));
|
|
1808
|
+
}
|
|
1809
|
+
}), L = (l) => l.map((u) => {
|
|
1810
|
+
const i = u;
|
|
1811
|
+
return i != null && i.items && (i.items = L(i.items)), { ...C(i) };
|
|
1812
|
+
}), N = (l) => {
|
|
1813
|
+
var u, i;
|
|
1814
|
+
return (l == null ? void 0 : l.getCopyData) !== void 0 ? l.getCopyData(n.rowDataItem, n.columnKey) : (i = (u = n.rowDataItem) == null ? void 0 : u[n.columnKey]) == null ? void 0 : i.toString();
|
|
1815
|
+
}, f = (l) => l.iconRight || ((l == null ? void 0 : l.variant) === "more" || (l == null ? void 0 : l.variant) === "open") && !l.isShort, b = (l) => l.iconLeft || (l == null ? void 0 : l.variant) === "more";
|
|
1816
|
+
return (l, u) => (c(), P(Bt, {
|
|
1817
|
+
name: "b-data-grid-cell-actions__animation",
|
|
1818
|
+
appear: ""
|
|
1819
|
+
}, {
|
|
1820
|
+
default: H(() => [
|
|
1821
|
+
O("div", oo, [
|
|
1822
|
+
u[1] || (u[1] = O("div", { class: "b-data-grid-cell-actions__background-gradient" }, null, -1)),
|
|
1823
|
+
O("div", io, [
|
|
1824
|
+
(c(!0), y(ve, null, Ce(t.value, (i, _) => (c(), y("div", {
|
|
1825
|
+
key: _,
|
|
1826
|
+
class: "b-data-grid-cell-actions__action"
|
|
1827
|
+
}, [
|
|
1828
|
+
i.menuData ? (c(), P(o(Xe), {
|
|
1829
|
+
key: 0,
|
|
1830
|
+
data: L(i.menuData),
|
|
1831
|
+
button: {
|
|
1832
|
+
condensed: !0,
|
|
1833
|
+
variant: "secondary",
|
|
1834
|
+
disabled: i.disabled
|
|
1835
|
+
},
|
|
1836
|
+
teleport: "",
|
|
1837
|
+
onMenuItemClick: u[0] || (u[0] = (h) => d("menu-item-click-close"))
|
|
1838
|
+
}, Ae({ _: 2 }, [
|
|
1839
|
+
b(i) ? {
|
|
1840
|
+
name: "iconLeft",
|
|
1841
|
+
fn: H(() => [
|
|
1842
|
+
(i == null ? void 0 : i.variant) === "more" ? (c(), P(o(rl), {
|
|
1843
|
+
key: 0,
|
|
1844
|
+
"svg-title": s.value(i, !0)
|
|
1845
|
+
}, null, 8, ["svg-title"])) : (c(), P(Me(i.iconLeft), {
|
|
1846
|
+
key: 1,
|
|
1847
|
+
"svg-title": s.value(i, !0)
|
|
1848
|
+
}, null, 8, ["svg-title"]))
|
|
1849
|
+
]),
|
|
1850
|
+
key: "0"
|
|
1851
|
+
} : void 0,
|
|
1852
|
+
i != null && i.isShort ? void 0 : {
|
|
1853
|
+
name: "default",
|
|
1854
|
+
fn: H(() => [
|
|
1855
|
+
ue(q(s.value(i)), 1)
|
|
1856
|
+
]),
|
|
1857
|
+
key: "1"
|
|
1858
|
+
},
|
|
1859
|
+
f(i) ? {
|
|
1860
|
+
name: "iconRight",
|
|
1861
|
+
fn: H(() => [
|
|
1862
|
+
(i == null ? void 0 : i.variant) === "open" ? (c(), P(o(zt), {
|
|
1863
|
+
key: 0,
|
|
1864
|
+
"svg-title": s.value(i, !0)
|
|
1865
|
+
}, null, 8, ["svg-title"])) : (c(), P(Me(i.iconRight), {
|
|
1866
|
+
key: 1,
|
|
1867
|
+
"svg-title": i.title
|
|
1868
|
+
}, null, 8, ["svg-title"]))
|
|
1869
|
+
]),
|
|
1870
|
+
key: "2"
|
|
1871
|
+
} : void 0
|
|
1872
|
+
]), 1032, ["data", "button"])) : i.variant === "copy" ? (c(), P(o(vl), {
|
|
1873
|
+
key: 1,
|
|
1874
|
+
text: N(i),
|
|
1875
|
+
"button-text": s.value(i),
|
|
1876
|
+
button: {
|
|
1877
|
+
condensed: !0,
|
|
1878
|
+
variant: "secondary"
|
|
1879
|
+
}
|
|
1880
|
+
}, null, 8, ["text", "button-text"])) : (c(), P(o(Ht), Q({
|
|
1881
|
+
key: 2,
|
|
1882
|
+
condensed: "",
|
|
1883
|
+
variant: "secondary",
|
|
1884
|
+
critical: i.critical,
|
|
1885
|
+
disabled: i.disabled,
|
|
1886
|
+
link: i.link
|
|
1887
|
+
}, xe(w(i))), Ae({ _: 2 }, [
|
|
1888
|
+
i.iconLeft || i.variant === "edit" ? {
|
|
1889
|
+
name: "iconLeft",
|
|
1890
|
+
fn: H(() => [
|
|
1891
|
+
(i == null ? void 0 : i.variant) === "edit" ? (c(), P(o(to), {
|
|
1892
|
+
key: 0,
|
|
1893
|
+
"svg-title": s.value(i, !0)
|
|
1894
|
+
}, null, 8, ["svg-title"])) : (c(), P(Me(i.iconLeft), {
|
|
1895
|
+
key: 1,
|
|
1896
|
+
"svg-title": i.title
|
|
1897
|
+
}, null, 8, ["svg-title"]))
|
|
1898
|
+
]),
|
|
1899
|
+
key: "0"
|
|
1900
|
+
} : void 0,
|
|
1901
|
+
i != null && i.isShort ? void 0 : {
|
|
1902
|
+
name: "default",
|
|
1903
|
+
fn: H(() => [
|
|
1904
|
+
ue(q(s.value(i)), 1)
|
|
1905
|
+
]),
|
|
1906
|
+
key: "1"
|
|
1907
|
+
},
|
|
1908
|
+
i.iconRight || i.variant === "open" ? {
|
|
1909
|
+
name: "iconRight",
|
|
1910
|
+
fn: H(() => [
|
|
1911
|
+
(i == null ? void 0 : i.variant) === "open" ? (c(), P(o(zt), {
|
|
1912
|
+
key: 0,
|
|
1913
|
+
"svg-title": s.value(i, !0)
|
|
1914
|
+
}, null, 8, ["svg-title"])) : (c(), P(Me(i.iconRight), {
|
|
1915
|
+
key: 1,
|
|
1916
|
+
"svg-title": i.title
|
|
1917
|
+
}, null, 8, ["svg-title"]))
|
|
1918
|
+
]),
|
|
1919
|
+
key: "2"
|
|
1920
|
+
} : void 0
|
|
1921
|
+
]), 1040, ["critical", "disabled", "link"]))
|
|
1922
|
+
]))), 128))
|
|
1923
|
+
])
|
|
1924
|
+
])
|
|
1925
|
+
]),
|
|
1926
|
+
_: 1
|
|
1927
|
+
}));
|
|
1928
|
+
}
|
|
1929
|
+
}), uo = /* @__PURE__ */ se(ro, [["__scopeId", "data-v-da2fa02e"]]);
|
|
1930
|
+
var ie = /* @__PURE__ */ ((e) => (e.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED = "action-col-nested-content-and-selection-enabled", e.ACTION_COL_NESTED_CONTENT_ENABLED = "action-col-nested-content-enabled", e.ACTION_COL_SELECTION_ENABLED = "action-col-selection-enabled", e.COLUMN_HOVERED = "column-hovered", e.COLUMN_HOVERED_NO_BORDER_LEFT = "column-hovered-no-border-left", e.COLUMN_HOVERED_NO_BORDER_RIGHT = "column-hovered-no-border-right", e.CONDENSED = "condensed", e.FROZEN = "frozen", e.IS_COLUMN_REORDERING = "is-column-re-ordering", e.IS_COLUMN_REORDERING_TARGET_LEFT = "is-column-re-order-target-left", e.IS_COLUMN_REORDERING_TARGET_RIGHT = "is-column-re-order-target-right", e.LAST_FROZEN_COLUMN_CELL = "last-frozen-column-cell", e.NESTED_CONTENT_ENABLED = "nested-content-toggle-enabled", e.NUMERIC = "numeric", e.OVERFLOW_ELLIPSIS = "overflow-ellipsis", e.PADDING_LEFT_UNSET = "padding-left-unset", e.PADDING_RIGHT_UNSET = "padding-right-unset", e))(ie || {});
|
|
1931
|
+
const Xt = {
|
|
1932
|
+
"en-US": {
|
|
1933
|
+
collapseNestedContent: "Collapse nested content",
|
|
1934
|
+
expandNestedContent: "Expand nested content",
|
|
1935
|
+
selectRow: "Select row"
|
|
1936
|
+
}
|
|
1937
|
+
}, co = ["aria-hidden", "data-testid", "data-cellindex", "tabindex", "aria-colindex"], fo = ["title"], go = {
|
|
1938
|
+
key: 0,
|
|
1939
|
+
class: "b-data-grid-cell__cell-actions"
|
|
1940
|
+
}, vo = {
|
|
1941
|
+
i18n: { messages: Xt },
|
|
1942
|
+
name: "data-grid-cell"
|
|
1943
|
+
}, mo = /* @__PURE__ */ Ee({
|
|
1944
|
+
...vo,
|
|
1945
|
+
props: {
|
|
1946
|
+
draggingEventsForRowCell: {
|
|
1947
|
+
type: Function,
|
|
1948
|
+
required: !0
|
|
1949
|
+
},
|
|
1950
|
+
/**
|
|
1951
|
+
* The columns sets including
|
|
1952
|
+
*/
|
|
1953
|
+
columnSets: {
|
|
1954
|
+
type: Array,
|
|
1955
|
+
required: !0
|
|
1956
|
+
},
|
|
1957
|
+
/**
|
|
1958
|
+
* The columns set we are iterating over
|
|
1959
|
+
*/
|
|
1960
|
+
column: {
|
|
1961
|
+
type: Object,
|
|
1962
|
+
required: !0
|
|
1963
|
+
},
|
|
1964
|
+
colIndex: {
|
|
1965
|
+
type: Number,
|
|
1966
|
+
required: !0
|
|
1967
|
+
},
|
|
1968
|
+
columnSetIndex: {
|
|
1969
|
+
type: Number,
|
|
1970
|
+
required: !0
|
|
1971
|
+
},
|
|
1972
|
+
/**
|
|
1973
|
+
* Sets the row cells to the condensed padding state.
|
|
1974
|
+
*/
|
|
1975
|
+
condensed: {
|
|
1976
|
+
type: Boolean,
|
|
1977
|
+
default: !1
|
|
1978
|
+
},
|
|
1979
|
+
/**
|
|
1980
|
+
* Columns being dragged, contains dragging column and a target column
|
|
1981
|
+
*/
|
|
1982
|
+
draggingColumns: {
|
|
1983
|
+
type: Object,
|
|
1984
|
+
default: void 0
|
|
1985
|
+
},
|
|
1986
|
+
/**
|
|
1987
|
+
* A customisable method to retrieve a unique identifier for a data item in the array of data supplied.
|
|
1988
|
+
* This is used selecting and performance reasons and must exist in each data item.
|
|
1989
|
+
*/
|
|
1990
|
+
getDataItemId: {
|
|
1991
|
+
type: Function,
|
|
1992
|
+
default: (e) => e.id
|
|
1993
|
+
},
|
|
1994
|
+
/**
|
|
1995
|
+
* The column hovered over state and whether the hovered over column should show a border right or left.
|
|
1996
|
+
*/
|
|
1997
|
+
hoveredOverColumnState: {
|
|
1998
|
+
type: Object,
|
|
1999
|
+
required: !0
|
|
2000
|
+
},
|
|
2001
|
+
/**
|
|
2002
|
+
* A customisable method to determine if a row is not selectable.
|
|
2003
|
+
* The default is that every row is selectable.
|
|
2004
|
+
*/
|
|
2005
|
+
isDataItemDisabled: {
|
|
2006
|
+
type: Function,
|
|
2007
|
+
default: () => !1
|
|
2008
|
+
},
|
|
2009
|
+
isMeasuringColumnWidths: {
|
|
2010
|
+
type: Boolean,
|
|
2011
|
+
default: !1
|
|
2012
|
+
},
|
|
2013
|
+
/**
|
|
2014
|
+
* Determines if the nested content is visible.
|
|
2015
|
+
*/
|
|
2016
|
+
isNestedContentExpanded: {
|
|
2017
|
+
type: Boolean,
|
|
2018
|
+
default: !1
|
|
2019
|
+
},
|
|
2020
|
+
/**
|
|
2021
|
+
* Determines if the nest content slot is enabled for this data row.
|
|
2022
|
+
*/
|
|
2023
|
+
nestedContent: {
|
|
2024
|
+
type: Boolean,
|
|
2025
|
+
default: !1
|
|
2026
|
+
},
|
|
2027
|
+
/**
|
|
2028
|
+
* The IDs of the rows this cell controls to show / hide them.
|
|
2029
|
+
*/
|
|
2030
|
+
nestedRowsElementIds: {
|
|
2031
|
+
type: Array,
|
|
2032
|
+
default: () => []
|
|
2033
|
+
},
|
|
2034
|
+
/**
|
|
2035
|
+
* The row data object
|
|
2036
|
+
*/
|
|
2037
|
+
rowData: {
|
|
2038
|
+
type: Object,
|
|
2039
|
+
required: !0
|
|
2040
|
+
},
|
|
2041
|
+
rowIndex: {
|
|
2042
|
+
type: Number,
|
|
2043
|
+
required: !0
|
|
2044
|
+
},
|
|
2045
|
+
/**
|
|
2046
|
+
* The row selection checkbox indeterminate state.
|
|
2047
|
+
*/
|
|
2048
|
+
selectionIsIndeterminate: {
|
|
2049
|
+
type: Boolean,
|
|
2050
|
+
default: !1
|
|
2051
|
+
},
|
|
2052
|
+
/**
|
|
2053
|
+
* Determines if the row selection is enabled.
|
|
2054
|
+
*/
|
|
2055
|
+
selectable: {
|
|
2056
|
+
type: Boolean,
|
|
2057
|
+
default: !1
|
|
2058
|
+
},
|
|
2059
|
+
selectedItems: {
|
|
2060
|
+
type: Array,
|
|
2061
|
+
required: !0
|
|
2062
|
+
}
|
|
2063
|
+
},
|
|
2064
|
+
emits: ["on-frozen-columns-key-press", "select-row", "register-row-cell-element", "cell-hovered", "nested-content-toggled"],
|
|
2065
|
+
setup(e, { expose: a, emit: g }) {
|
|
2066
|
+
const n = nt(), d = st(n), { t } = Ne({ messages: Xt }), s = e, w = g, C = A(null), L = A(null), N = A(!1), f = A([]), b = E(() => {
|
|
2067
|
+
var v;
|
|
2068
|
+
return !!((v = s.rowData) != null && v[s.column.field]);
|
|
2069
|
+
}), l = E(
|
|
2070
|
+
() => {
|
|
2071
|
+
var v;
|
|
2072
|
+
return s.column.field === fe && ((v = s.nestedRowsElementIds) == null ? void 0 : v.length) > 0 ? s.nestedRowsElementIds.join(" ") : void 0;
|
|
2073
|
+
}
|
|
2074
|
+
), u = E(
|
|
2075
|
+
() => s.column.field === fe && !s.selectable && !s.nestedContent
|
|
2076
|
+
), i = (v, V) => (v == null ? void 0 : v.overflow) === Ke.ELLIPSIS ? `${V}` : void 0, _ = (v) => v ?? "-", h = (v) => s.columnSets.slice(0, v).reduce((V, { columnSet: F }) => V + F.length, 0), $ = (v, V) => v + h(V), R = (v, V, F) => h() * v + $(V, F), B = (v) => {
|
|
2077
|
+
var V;
|
|
2078
|
+
(v === null || !C.value.contains(v) && !((V = f.value) != null && V.map((F) => F.value).some((F) => F === v || (F == null ? void 0 : F.contains(v))))) && (N.value = !1);
|
|
2079
|
+
}, K = () => {
|
|
2080
|
+
N.value = !1;
|
|
2081
|
+
}, S = (v) => {
|
|
2082
|
+
const F = { ...{
|
|
2083
|
+
...s.draggingEventsForRowCell(v)
|
|
2084
|
+
} };
|
|
2085
|
+
return v.frozen && (F.keyup = (W) => w("on-frozen-columns-key-press", W), F.keydown = (W) => w("on-frozen-columns-key-press", W)), v.cellActions && (F.mouseenter = () => {
|
|
2086
|
+
N.value = !0;
|
|
2087
|
+
}, F.mouseleave = (W) => {
|
|
2088
|
+
N.value = !1, B(W == null ? void 0 : W.relatedTarget);
|
|
2089
|
+
}, F.mouseleave = (W) => {
|
|
2090
|
+
B(W == null ? void 0 : W.relatedTarget);
|
|
2091
|
+
}, F.focus = (W) => {
|
|
2092
|
+
N.value = !0;
|
|
2093
|
+
}, F.focusout = (W) => {
|
|
2094
|
+
B(W == null ? void 0 : W.relatedTarget);
|
|
2095
|
+
}), F;
|
|
2096
|
+
}, p = () => {
|
|
2097
|
+
w("nested-content-toggled");
|
|
2098
|
+
};
|
|
2099
|
+
me(
|
|
2100
|
+
() => N.value,
|
|
2101
|
+
() => {
|
|
2102
|
+
N.value === !0 ? w("cell-hovered", s.rowIndex) : w("cell-hovered", -1);
|
|
2103
|
+
}
|
|
2104
|
+
), Gn(dl, {
|
|
2105
|
+
registerMenuContainerElement: (v) => {
|
|
2106
|
+
f.value.push(v);
|
|
2107
|
+
},
|
|
2108
|
+
menuMouseLeave: (v) => {
|
|
2109
|
+
C.value.contains(v == null ? void 0 : v.relatedTarget) || (N.value = !1);
|
|
2110
|
+
}
|
|
2111
|
+
});
|
|
2112
|
+
const te = (v) => {
|
|
2113
|
+
var V, F, W, oe, Z, m, D;
|
|
2114
|
+
return {
|
|
2115
|
+
[`b-data-grid-cell--${ie.COLUMN_HOVERED}`]: (v == null ? void 0 : v.field) === s.hoveredOverColumnState.hoveredOverColumnField,
|
|
2116
|
+
[`b-data-grid-cell--${ie.COLUMN_HOVERED_NO_BORDER_LEFT}`]: (v == null ? void 0 : v.field) === s.hoveredOverColumnState.hoveredOverColumnField && s.hoveredOverColumnState.noBorderLeft,
|
|
2117
|
+
[`b-data-grid-cell--${ie.COLUMN_HOVERED_NO_BORDER_RIGHT}`]: (v == null ? void 0 : v.field) === s.hoveredOverColumnState.hoveredOverColumnField && s.hoveredOverColumnState.noBorderRight,
|
|
2118
|
+
[`b-data-grid-cell--${ie.PADDING_LEFT_UNSET}`]: ((V = v == null ? void 0 : v.padding) == null ? void 0 : V.left) === !1,
|
|
2119
|
+
[`b-data-grid-cell--${ie.PADDING_RIGHT_UNSET}`]: ((F = v == null ? void 0 : v.padding) == null ? void 0 : F.right) === !1,
|
|
2120
|
+
[`b-data-grid-cell--${ie.NUMERIC}`]: v == null ? void 0 : v.numeric,
|
|
2121
|
+
[`b-data-grid-cell--${ie.CONDENSED}`]: s.condensed,
|
|
2122
|
+
[`b-data-grid-cell--${ie.OVERFLOW_ELLIPSIS}`]: (v == null ? void 0 : v.overflow) === Ke.ELLIPSIS,
|
|
2123
|
+
[`b-data-grid-cell--${ie.IS_COLUMN_REORDERING}`]: ((W = s.draggingColumns.dragging) == null ? void 0 : W.field) === v.field,
|
|
2124
|
+
[`b-data-grid-cell--${ie.IS_COLUMN_REORDERING_TARGET_LEFT}`]: ((oe = s.draggingColumns.target) == null ? void 0 : oe.field) === v.field && ((Z = s.draggingColumns) == null ? void 0 : Z.dragToLeft),
|
|
2125
|
+
[`b-data-grid-cell--${ie.IS_COLUMN_REORDERING_TARGET_RIGHT}`]: ((m = s.draggingColumns.target) == null ? void 0 : m.field) === v.field && !((D = s.draggingColumns) != null && D.dragToLeft),
|
|
2126
|
+
[`b-data-grid-cell--${ie.FROZEN}`]: v == null ? void 0 : v.frozen,
|
|
2127
|
+
[`b-data-grid-cell--${ie.NESTED_CONTENT_ENABLED}`]: s.nestedContent,
|
|
2128
|
+
[`b-data-grid-cell--${ie.ACTION_COL_NESTED_CONTENT_ENABLED}`]: s.nestedContent && !s.selectable && v.field === fe,
|
|
2129
|
+
[`b-data-grid-cell--${ie.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED}`]: s.nestedContent && s.selectable && v.field === fe,
|
|
2130
|
+
[`b-data-grid-cell--${ie.ACTION_COL_SELECTION_ENABLED}`]: v.field === fe && s.selectable
|
|
2131
|
+
};
|
|
2132
|
+
};
|
|
2133
|
+
return a({
|
|
2134
|
+
gridcellRef: C
|
|
2135
|
+
}), (v, V) => {
|
|
2136
|
+
var F;
|
|
2137
|
+
return c(), y("div", Q({
|
|
2138
|
+
key: `cell-${e.column.field}`,
|
|
2139
|
+
ref_key: "gridcellRef",
|
|
2140
|
+
ref: C,
|
|
2141
|
+
"aria-hidden": u.value,
|
|
2142
|
+
"data-testid": `cell-${e.column.field}`,
|
|
2143
|
+
"data-cellindex": R(e.rowIndex, e.colIndex, e.columnSetIndex),
|
|
2144
|
+
class: ["b-data-grid-cell", te(e.column)],
|
|
2145
|
+
role: "gridcell",
|
|
2146
|
+
tabindex: R(e.rowIndex, e.colIndex, e.columnSetIndex) === 0 ? "0" : "-1",
|
|
2147
|
+
"aria-colindex": $(e.colIndex, e.columnSetIndex) + 1,
|
|
2148
|
+
style: {
|
|
2149
|
+
width: e.column.autoWidth && e.isMeasuringColumnWidths ? "auto" : `${e.column.width}px`
|
|
2150
|
+
}
|
|
2151
|
+
}, xe(S(e.column), !0)), [
|
|
2152
|
+
e.column.field === o(fe) ? (c(), y(ve, { key: 0 }, [
|
|
2153
|
+
e.selectable ? (c(), P(o(xt), {
|
|
2154
|
+
key: 0,
|
|
2155
|
+
class: "b-data-grid-cell__select-cell",
|
|
2156
|
+
"aria-label": o(t)("selectRow"),
|
|
2157
|
+
disabled: e.isDataItemDisabled(e.rowData),
|
|
2158
|
+
indeterminate: e.selectionIsIndeterminate,
|
|
2159
|
+
"model-value": e.selectedItems,
|
|
2160
|
+
value: e.getDataItemId(e.rowData),
|
|
2161
|
+
"onUpdate:modelValue": V[0] || (V[0] = (W) => v.$emit("select-row", W))
|
|
2162
|
+
}, null, 8, ["aria-label", "disabled", "indeterminate", "model-value", "value"])) : U("", !0),
|
|
2163
|
+
e.nestedContent ? (c(), P(o(it), {
|
|
2164
|
+
key: 1,
|
|
2165
|
+
ref: "menuButtonRef",
|
|
2166
|
+
"aria-haspopup": "true",
|
|
2167
|
+
"aria-controls": l.value,
|
|
2168
|
+
condensed: "",
|
|
2169
|
+
variant: "tertiary",
|
|
2170
|
+
toggled: e.isNestedContentExpanded,
|
|
2171
|
+
onClick: p
|
|
2172
|
+
}, {
|
|
2173
|
+
iconLeft: H(() => [
|
|
2174
|
+
e.isNestedContentExpanded ? (c(), P(o(ml), {
|
|
2175
|
+
key: 0,
|
|
2176
|
+
class: "b-accordion-item__icon",
|
|
2177
|
+
"svg-title": o(t)("collapseNestedContent")
|
|
2178
|
+
}, null, 8, ["svg-title"])) : (c(), P(o(hl), {
|
|
2179
|
+
key: 1,
|
|
2180
|
+
class: "b-accordion-item__icon",
|
|
2181
|
+
"svg-title": o(t)("expandNestedContent")
|
|
2182
|
+
}, null, 8, ["svg-title"]))
|
|
2183
|
+
]),
|
|
2184
|
+
_: 1
|
|
2185
|
+
}, 8, ["aria-controls", "toggled"])) : U("", !0)
|
|
2186
|
+
], 64)) : (c(), y(ve, { key: 1 }, [
|
|
2187
|
+
X(o(Ze), { el: "div" }, {
|
|
2188
|
+
default: H(() => [
|
|
2189
|
+
Se(v.$slots, `item-${e.column.field}`, {
|
|
2190
|
+
item: e.rowData,
|
|
2191
|
+
rowIndex: e.rowIndex
|
|
2192
|
+
}, () => [
|
|
2193
|
+
O("span", {
|
|
2194
|
+
title: i(e.column, e.rowData[e.column.field])
|
|
2195
|
+
}, q(_(e.rowData[e.column.field])), 9, fo)
|
|
2196
|
+
], !0)
|
|
2197
|
+
]),
|
|
2198
|
+
_: 3
|
|
2199
|
+
}),
|
|
2200
|
+
((F = e.column.cellActions) == null ? void 0 : F.length) > 0 ? (c(), y("div", go, [
|
|
2201
|
+
N.value && (b.value || o(d)(`item-${e.column.field}`)) ? (c(), P(uo, {
|
|
2202
|
+
key: 0,
|
|
2203
|
+
ref_key: "cellActionsRef",
|
|
2204
|
+
ref: L,
|
|
2205
|
+
"cell-actions": e.column.cellActions,
|
|
2206
|
+
"column-key": e.column.field,
|
|
2207
|
+
"row-data-item": e.rowData,
|
|
2208
|
+
onMenuItemClickClose: K
|
|
2209
|
+
}, null, 8, ["cell-actions", "column-key", "row-data-item"])) : U("", !0)
|
|
2210
|
+
])) : U("", !0)
|
|
2211
|
+
], 64))
|
|
2212
|
+
], 16, co);
|
|
2213
|
+
};
|
|
2214
|
+
}
|
|
2215
|
+
}), ho = /* @__PURE__ */ se(mo, [["__scopeId", "data-v-1dc382fc"]]), Co = { class: "b-data-grid-row-container" }, _o = ["id", "aria-selected"], wo = ["data-testid"], Lo = {
|
|
2216
|
+
key: 0,
|
|
2217
|
+
class: "b-data-grid-row-container__row-nested-rows-loading-container"
|
|
2218
|
+
}, So = { key: 2 }, Eo = {
|
|
2219
|
+
name: "data-grid-row"
|
|
2220
|
+
}, yo = /* @__PURE__ */ Ee({
|
|
2221
|
+
...Eo,
|
|
2222
|
+
props: {
|
|
2223
|
+
/**
|
|
2224
|
+
* When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
|
|
2225
|
+
*/
|
|
2226
|
+
allowRowClicks: { type: Boolean, default: !1 },
|
|
2227
|
+
/**
|
|
2228
|
+
* The columns sets including
|
|
2229
|
+
*/
|
|
2230
|
+
columnSets: {
|
|
2231
|
+
type: Array,
|
|
2232
|
+
required: !0
|
|
2233
|
+
},
|
|
2234
|
+
/**
|
|
2235
|
+
* Sets the row cells to the condensed padding state.
|
|
2236
|
+
*/
|
|
2237
|
+
condensed: {
|
|
2238
|
+
type: Boolean,
|
|
2239
|
+
default: !1
|
|
2240
|
+
},
|
|
2241
|
+
/**
|
|
2242
|
+
* Columns being dragged, contains dragging column and a target column
|
|
2243
|
+
*/
|
|
2244
|
+
draggingColumns: {
|
|
2245
|
+
type: Object,
|
|
2246
|
+
default: void 0
|
|
2247
|
+
},
|
|
2248
|
+
/**
|
|
2249
|
+
* Dragging event handlers for each row cell
|
|
2250
|
+
*/
|
|
2251
|
+
draggingEventsForRowCell: {
|
|
2252
|
+
type: Function,
|
|
2253
|
+
required: !0
|
|
2254
|
+
},
|
|
2255
|
+
/**
|
|
2256
|
+
* A customisable method to retrieve a unique identifier for a data item in the array of data supplied.
|
|
2257
|
+
* This is used selecting and performance reasons and must exist in each data item.
|
|
2258
|
+
*/
|
|
2259
|
+
getDataItemId: {
|
|
2260
|
+
type: Function,
|
|
2261
|
+
default: (e) => e.id
|
|
2262
|
+
},
|
|
2263
|
+
/**
|
|
2264
|
+
* Set to true if the datagrid has been scrolled and the left side has overflowing space.
|
|
2265
|
+
*/
|
|
2266
|
+
hasLeftOverflow: {
|
|
2267
|
+
type: Boolean,
|
|
2268
|
+
default: !1
|
|
2269
|
+
},
|
|
2270
|
+
/**
|
|
2271
|
+
* Enables the nested content slot functionality.
|
|
2272
|
+
*/
|
|
2273
|
+
hasNestedContent: {
|
|
2274
|
+
type: Boolean,
|
|
2275
|
+
default: !1
|
|
2276
|
+
},
|
|
2277
|
+
/**
|
|
2278
|
+
* Enables the nested content slot functionality.
|
|
2279
|
+
*/
|
|
2280
|
+
hasNestedRows: {
|
|
2281
|
+
type: Boolean,
|
|
2282
|
+
default: !1
|
|
2283
|
+
},
|
|
2284
|
+
/**
|
|
2285
|
+
* Highlighted row IDs.
|
|
2286
|
+
*/
|
|
2287
|
+
highlightedRows: {
|
|
2288
|
+
type: Array,
|
|
2289
|
+
default: () => []
|
|
2290
|
+
},
|
|
2291
|
+
/**
|
|
2292
|
+
* The row index of a currently hovered row.
|
|
2293
|
+
*/
|
|
2294
|
+
hoveredRowIndex: {
|
|
2295
|
+
type: Number,
|
|
2296
|
+
default: -1
|
|
2297
|
+
},
|
|
2298
|
+
/**
|
|
2299
|
+
* The column hovered over state and whether the hovered over column should show a border right or left.
|
|
2300
|
+
*/
|
|
2301
|
+
hoveredOverColumnState: {
|
|
2302
|
+
type: Object,
|
|
2303
|
+
required: !0
|
|
2304
|
+
},
|
|
2305
|
+
/**
|
|
2306
|
+
* A customisable method to determine if a row is not selectable.
|
|
2307
|
+
* The default is that every row is selectable.
|
|
2308
|
+
*/
|
|
2309
|
+
isDataItemDisabled: {
|
|
2310
|
+
type: Function,
|
|
2311
|
+
default: () => !1
|
|
2312
|
+
},
|
|
2313
|
+
/**
|
|
2314
|
+
* If the row is the last child in it's parent container.
|
|
2315
|
+
*/
|
|
2316
|
+
isRowLastChild: {
|
|
2317
|
+
type: Boolean,
|
|
2318
|
+
default: !1
|
|
2319
|
+
},
|
|
2320
|
+
/**
|
|
2321
|
+
* If columns are being measured for the autoWidth functionality.
|
|
2322
|
+
*/
|
|
2323
|
+
isMeasuringColumnWidths: {
|
|
2324
|
+
type: Boolean,
|
|
2325
|
+
default: !1
|
|
2326
|
+
},
|
|
2327
|
+
/**
|
|
2328
|
+
* Determines if this row is nested inside another row.
|
|
2329
|
+
*/
|
|
2330
|
+
isNestedRow: {
|
|
2331
|
+
type: Boolean,
|
|
2332
|
+
default: !1
|
|
2333
|
+
},
|
|
2334
|
+
/**
|
|
2335
|
+
* The row data object
|
|
2336
|
+
*/
|
|
2337
|
+
rowData: {
|
|
2338
|
+
type: Object,
|
|
2339
|
+
required: !0
|
|
2340
|
+
},
|
|
2341
|
+
/**
|
|
2342
|
+
* The row index.
|
|
2343
|
+
*/
|
|
2344
|
+
rowIndex: {
|
|
2345
|
+
type: Number,
|
|
2346
|
+
required: !0
|
|
2347
|
+
},
|
|
2348
|
+
/**
|
|
2349
|
+
* The row ID to be using for the ID attribute.
|
|
2350
|
+
*/
|
|
2351
|
+
rowId: {
|
|
2352
|
+
type: Number,
|
|
2353
|
+
default: void 0
|
|
2354
|
+
},
|
|
2355
|
+
/**
|
|
2356
|
+
* The number of rows that this row is within.
|
|
2357
|
+
*/
|
|
2358
|
+
rowSetSize: {
|
|
2359
|
+
type: Number,
|
|
2360
|
+
default: 0
|
|
2361
|
+
},
|
|
2362
|
+
/**
|
|
2363
|
+
* Determines whether to render frozen seperator on the row.
|
|
2364
|
+
*/
|
|
2365
|
+
showFrozenColumnsSeparator: {
|
|
2366
|
+
type: Boolean,
|
|
2367
|
+
default: !1
|
|
2368
|
+
},
|
|
2369
|
+
/**
|
|
2370
|
+
* Determines if the row selection is enabled.
|
|
2371
|
+
*/
|
|
2372
|
+
selectable: {
|
|
2373
|
+
type: Boolean,
|
|
2374
|
+
default: !1
|
|
2375
|
+
},
|
|
2376
|
+
/**
|
|
2377
|
+
* The array of IDs for the selected rows.
|
|
2378
|
+
*/
|
|
2379
|
+
selectedItems: {
|
|
2380
|
+
type: Array,
|
|
2381
|
+
required: !0
|
|
2382
|
+
},
|
|
2383
|
+
/**
|
|
2384
|
+
* Enables / Disables the nested-content slot
|
|
2385
|
+
*/
|
|
2386
|
+
shouldShowNestedContent: {
|
|
2387
|
+
type: Function,
|
|
2388
|
+
default: (e) => !0
|
|
2389
|
+
},
|
|
2390
|
+
/**
|
|
2391
|
+
* Returns the nested rows for a given BentoDatagridDataItem.
|
|
2392
|
+
*/
|
|
2393
|
+
shouldShowNestedRows: {
|
|
2394
|
+
type: Function,
|
|
2395
|
+
default: (e) => !0
|
|
2396
|
+
}
|
|
2397
|
+
},
|
|
2398
|
+
emits: ["cell-hovered", "on-frozen-columns-key-press", "select-row", "select-nested-row", "row-click", "nested-content-toggled"],
|
|
2399
|
+
setup(e, { expose: a, emit: g }) {
|
|
2400
|
+
const n = nt(), d = st(n), t = e, s = g, w = A({}), C = A(!1), L = A(), N = Ye("nested-content-slot"), f = E(() => t.shouldShowNestedRows(t.rowData)), b = E(
|
|
2401
|
+
() => {
|
|
2402
|
+
var m, D;
|
|
2403
|
+
return !t.isNestedRow && t.hasNestedRows && f.value && ((D = (m = t.rowData) == null ? void 0 : m.children) == null ? void 0 : D.length) > 0;
|
|
2404
|
+
}
|
|
2405
|
+
), l = E(
|
|
2406
|
+
() => {
|
|
2407
|
+
var m, D;
|
|
2408
|
+
return !t.isNestedRow && t.hasNestedRows && f.value && (((m = t.rowData) == null ? void 0 : m.children) === void 0 || ((D = t == null ? void 0 : t.rowData) == null ? void 0 : D.children.length) === 0);
|
|
2409
|
+
}
|
|
2410
|
+
), u = E(
|
|
2411
|
+
() => t.hasNestedContent && t.shouldShowNestedContent(t.rowData) || t.hasNestedRows && f.value && !t.isNestedRow
|
|
2412
|
+
), i = E(() => {
|
|
2413
|
+
if (t.hasNestedContent || t.hasNestedRows) {
|
|
2414
|
+
const m = C.value.toString();
|
|
2415
|
+
return {
|
|
2416
|
+
"aria-expanded": u.value ? m : void 0,
|
|
2417
|
+
"aria-level": t.isNestedRow ? "2" : "1",
|
|
2418
|
+
"aria-posinset": t.rowIndex + 1,
|
|
2419
|
+
"aria-setsize": t.rowSetSize
|
|
2420
|
+
};
|
|
2421
|
+
}
|
|
2422
|
+
return { "aria-rowindex": t.rowIndex + 1 };
|
|
2423
|
+
}), _ = E(() => {
|
|
2424
|
+
if (l.value)
|
|
2425
|
+
return {
|
|
2426
|
+
"aria-busy": "true",
|
|
2427
|
+
"aria-live": "polite"
|
|
2428
|
+
};
|
|
2429
|
+
if (!(b.value || !t.hasNestedContent || !t.shouldShowNestedContent(t.rowData)))
|
|
2430
|
+
return {
|
|
2431
|
+
"aria-level": t.isNestedRow ? "3" : "2",
|
|
2432
|
+
"aria-posinset": "1",
|
|
2433
|
+
"aria-setsize": "1",
|
|
2434
|
+
id: N,
|
|
2435
|
+
role: "row",
|
|
2436
|
+
tabindex: "-1"
|
|
2437
|
+
};
|
|
2438
|
+
}), h = E(() => {
|
|
2439
|
+
var m, D;
|
|
2440
|
+
return b.value ? (D = (m = t.rowData) == null ? void 0 : m.children) == null ? void 0 : D.reduce((Y, ne, r) => (Y[r] = Ye("nested-row"), Y), {}) : [];
|
|
2441
|
+
}), $ = E(() => {
|
|
2442
|
+
var m;
|
|
2443
|
+
if (C.value) {
|
|
2444
|
+
if (t.hasNestedContent && t.shouldShowNestedContent(t.rowData))
|
|
2445
|
+
return [N];
|
|
2446
|
+
if (b.value && ((m = Object.keys(h.value)) == null ? void 0 : m.length) > 0) {
|
|
2447
|
+
const D = Object.values(h.value);
|
|
2448
|
+
if ((D == null ? void 0 : D.length) > 0)
|
|
2449
|
+
return D;
|
|
2450
|
+
}
|
|
2451
|
+
return [];
|
|
2452
|
+
}
|
|
2453
|
+
}), R = E(() => {
|
|
2454
|
+
var D, Y;
|
|
2455
|
+
const m = (Y = (D = t.rowData) == null ? void 0 : D.children) == null ? void 0 : Y.map((ne) => t.getDataItemId(ne));
|
|
2456
|
+
if ((m == null ? void 0 : m.length) > 0) {
|
|
2457
|
+
const ne = m.every((M) => {
|
|
2458
|
+
var T;
|
|
2459
|
+
return (T = t == null ? void 0 : t.selectedItems) == null ? void 0 : T.includes(M);
|
|
2460
|
+
}), r = m.some((M) => {
|
|
2461
|
+
var T;
|
|
2462
|
+
return (T = t == null ? void 0 : t.selectedItems) == null ? void 0 : T.includes(M);
|
|
2463
|
+
});
|
|
2464
|
+
return !ne && r;
|
|
2465
|
+
}
|
|
2466
|
+
return !1;
|
|
2467
|
+
}), B = (m, D) => {
|
|
2468
|
+
const Y = m;
|
|
2469
|
+
m !== null && (Y != null && Y.gridcellRef) && (w.value[D] = Y.gridcellRef);
|
|
2470
|
+
}, K = (m) => h.value[m], S = (m) => {
|
|
2471
|
+
if (!t.selectable)
|
|
2472
|
+
return null;
|
|
2473
|
+
const D = t.getDataItemId(m);
|
|
2474
|
+
return t.selectedItems.includes(D).toString();
|
|
2475
|
+
}, p = (m) => {
|
|
2476
|
+
t.allowRowClicks && s("row-click", t.rowData, m);
|
|
2477
|
+
}, G = (m) => {
|
|
2478
|
+
s("select-row", m, t.rowData);
|
|
2479
|
+
}, x = (m, D) => {
|
|
2480
|
+
s("select-nested-row", D, t.rowData, m);
|
|
2481
|
+
}, { updateContentHeight: te, contentHeight: v } = gl(L, C), V = E(() => {
|
|
2482
|
+
var m;
|
|
2483
|
+
if (t.hasNestedContent || t.hasNestedRows)
|
|
2484
|
+
return {
|
|
2485
|
+
paddingLeft: `${b.value || l.value ? 0 : w.value[fe].clientWidth + Zt}px`,
|
|
2486
|
+
"max-height": (t.hasNestedContent || t.hasNestedRows) && v.value && !((m = v == null ? void 0 : v.value) != null && m.includes("null")) ? v.value : 0
|
|
2487
|
+
};
|
|
2488
|
+
});
|
|
2489
|
+
me(
|
|
2490
|
+
() => L.value,
|
|
2491
|
+
() => {
|
|
2492
|
+
let m = null;
|
|
2493
|
+
!m && L.value && (m = ot(L.value, () => {
|
|
2494
|
+
L.value && te();
|
|
2495
|
+
}));
|
|
2496
|
+
}
|
|
2497
|
+
);
|
|
2498
|
+
const F = () => {
|
|
2499
|
+
C.value = !C.value, te(), s("nested-content-toggled", t.rowData);
|
|
2500
|
+
};
|
|
2501
|
+
me(
|
|
2502
|
+
() => {
|
|
2503
|
+
var m;
|
|
2504
|
+
return (m = t.rowData) == null ? void 0 : m.children;
|
|
2505
|
+
},
|
|
2506
|
+
(m, D) => {
|
|
2507
|
+
var Y, ne;
|
|
2508
|
+
((ne = (Y = t == null ? void 0 : t.rowData) == null ? void 0 : Y.children) == null ? void 0 : ne.length) > 0 && D === void 0 && !C.value && te();
|
|
2509
|
+
}
|
|
2510
|
+
);
|
|
2511
|
+
const W = (m, D) => ({
|
|
2512
|
+
"b-data-grid-row-container__row--disabled": t.isDataItemDisabled(m),
|
|
2513
|
+
"b-data-grid-row-container__row--row-clicks-enabled": t.allowRowClicks,
|
|
2514
|
+
"b-data-grid-row-container__row--highlighted": t.highlightedRows.includes(t.getDataItemId(m)) || t.selectedItems.includes(t.getDataItemId(m)),
|
|
2515
|
+
"b-data-grid-row-container__row--hovered": t.hoveredRowIndex === D,
|
|
2516
|
+
"b-data-grid-row-container__row--is-last-child": t.isRowLastChild && !C.value,
|
|
2517
|
+
"b-data-grid-row-container__row--nested-row": t.isNestedRow
|
|
2518
|
+
}), oe = (m) => ({
|
|
2519
|
+
"b-data-grid-row-container__row-cell-set--frozen": m,
|
|
2520
|
+
[`b-data-grid-row-container__row-cell-set--${pe.OVERFLOW_SHADOW_LEFT}`]: m && t.hasLeftOverflow,
|
|
2521
|
+
"b-data-grid-row-container__row-cell-set--frozen-separator": m && t.showFrozenColumnsSeparator,
|
|
2522
|
+
"b-data-grid-row-container__row-cell-set--unfrozen": !m,
|
|
2523
|
+
"b-data-grid-row-container__row-cell-set--is-measuring": t.isMeasuringColumnWidths
|
|
2524
|
+
}), Z = E(() => ({
|
|
2525
|
+
"b-data-grid-row-container__row-nested-slot--is-last-child": t.isRowLastChild,
|
|
2526
|
+
"b-data-grid-row-container__row-nested-slot": !b.value && t.shouldShowNestedContent(t.rowData)
|
|
2527
|
+
}));
|
|
2528
|
+
return a({
|
|
2529
|
+
gridcellRefs: w
|
|
2530
|
+
}), (m, D) => (c(), y("div", Co, [
|
|
2531
|
+
(c(), y("div", Q(i.value, {
|
|
2532
|
+
id: e.rowId,
|
|
2533
|
+
key: e.rowIndex,
|
|
2534
|
+
class: ["b-data-grid-row-container__row", W(e.rowData, e.rowIndex)],
|
|
2535
|
+
role: "row",
|
|
2536
|
+
"aria-selected": S(e.rowData),
|
|
2537
|
+
onClick: p
|
|
2538
|
+
}), [
|
|
2539
|
+
(c(!0), y(ve, null, Ce(e.columnSets, ({ columnSet: Y, id: ne, isFrozenColumns: r }, M) => (c(), y(ve, null, [
|
|
2540
|
+
Y != null && Y.length ? (c(), y("div", {
|
|
2541
|
+
key: `data-grid-rows-${ne}`,
|
|
2542
|
+
class: ce(["b-data-grid-row-container__cells", oe(r)]),
|
|
2543
|
+
"data-testid": `data-grid-${ne}-rows`
|
|
2544
|
+
}, [
|
|
2545
|
+
(c(!0), y(ve, null, Ce(Y, (T, ae) => (c(), P(o(ho), {
|
|
2546
|
+
key: `cell-${T.field}`,
|
|
2547
|
+
ref_for: !0,
|
|
2548
|
+
ref: (J) => B(J, T.field),
|
|
2549
|
+
class: "b-data-grid-row-container__cell",
|
|
2550
|
+
column: T,
|
|
2551
|
+
"column-set-index": M,
|
|
2552
|
+
"col-index": ae,
|
|
2553
|
+
"column-sets": e.columnSets,
|
|
2554
|
+
condensed: e.condensed,
|
|
2555
|
+
"dragging-columns": e.draggingColumns,
|
|
2556
|
+
"dragging-events-for-row-cell": e.draggingEventsForRowCell,
|
|
2557
|
+
"get-data-item-id": e.getDataItemId,
|
|
2558
|
+
"hovered-over-column-state": e.hoveredOverColumnState,
|
|
2559
|
+
"is-data-item-disabled": e.isDataItemDisabled,
|
|
2560
|
+
"is-measuring-column-widths": e.isMeasuringColumnWidths,
|
|
2561
|
+
"is-nested-content-expanded": C.value,
|
|
2562
|
+
"nested-content": u.value,
|
|
2563
|
+
"nested-rows-element-ids": $.value,
|
|
2564
|
+
"row-data": e.rowData,
|
|
2565
|
+
"row-index": e.rowIndex,
|
|
2566
|
+
"selection-is-indeterminate": R.value,
|
|
2567
|
+
selectable: e.selectable,
|
|
2568
|
+
"selected-items": e.selectedItems,
|
|
2569
|
+
onCellHovered: D[0] || (D[0] = (J) => s("cell-hovered", J)),
|
|
2570
|
+
onOnFrozenColumnsKeyPress: D[1] || (D[1] = (J) => s("on-frozen-columns-key-press", J)),
|
|
2571
|
+
onSelectRow: G,
|
|
2572
|
+
onNestedContentToggled: F
|
|
2573
|
+
}, Ae({ _: 2 }, [
|
|
2574
|
+
Ce(o(n), (J, Re) => ({
|
|
2575
|
+
name: Re,
|
|
2576
|
+
fn: H((Te) => [
|
|
2577
|
+
Se(m.$slots, Re, Q({ ref_for: !0 }, Te), void 0, !0)
|
|
2578
|
+
])
|
|
2579
|
+
}))
|
|
2580
|
+
]), 1032, ["column", "column-set-index", "col-index", "column-sets", "condensed", "dragging-columns", "dragging-events-for-row-cell", "get-data-item-id", "hovered-over-column-state", "is-data-item-disabled", "is-measuring-column-widths", "is-nested-content-expanded", "nested-content", "nested-rows-element-ids", "row-data", "row-index", "selection-is-indeterminate", "selectable", "selected-items"]))), 128))
|
|
2581
|
+
], 10, wo)) : U("", !0)
|
|
2582
|
+
], 64))), 256))
|
|
2583
|
+
], 16, _o)),
|
|
2584
|
+
e.hasNestedContent && o(d)("nested-slot") && e.shouldShowNestedContent(e.rowData) || e.hasNestedRows && f.value ? (c(), P(Bt, {
|
|
2585
|
+
key: `${e.rowIndex}-nest-content`,
|
|
2586
|
+
name: "b-data-grid-row-container__animation--nested-content"
|
|
2587
|
+
}, {
|
|
2588
|
+
default: H(() => [
|
|
2589
|
+
C.value ? (c(), y("div", Q({ key: 0 }, _.value, {
|
|
2590
|
+
class: Z.value,
|
|
2591
|
+
"data-testid": "nested-content-container",
|
|
2592
|
+
style: V.value
|
|
2593
|
+
}), [
|
|
2594
|
+
O("div", {
|
|
2595
|
+
ref_key: "nestedContentRef",
|
|
2596
|
+
ref: L
|
|
2597
|
+
}, [
|
|
2598
|
+
l.value ? (c(), y("div", Lo, [
|
|
2599
|
+
X(o(lt))
|
|
2600
|
+
])) : b.value ? (c(!0), y(ve, { key: 1 }, Ce(e.rowData.children, (Y, ne) => (c(), P(Kt, Q({ ref_for: !0 }, t, {
|
|
2601
|
+
id: K(ne),
|
|
2602
|
+
key: `child-${ne}`,
|
|
2603
|
+
"row-data": Y,
|
|
2604
|
+
"row-index": ne,
|
|
2605
|
+
"row-set-size": e.rowData.children.length,
|
|
2606
|
+
"is-nested-row": "",
|
|
2607
|
+
onCellHovered: D[2] || (D[2] = (r) => s("cell-hovered", r)),
|
|
2608
|
+
onRowClick: D[3] || (D[3] = (r) => s("row-click", r)),
|
|
2609
|
+
onOnFrozenColumnsKeyPress: D[4] || (D[4] = (r) => s("con-frozen-columns-key-press", r)),
|
|
2610
|
+
onSelectRow: (r) => x(Y, r)
|
|
2611
|
+
}), Ae({ _: 2 }, [
|
|
2612
|
+
Ce(o(n), (r, M) => ({
|
|
2613
|
+
name: M,
|
|
2614
|
+
fn: H((T) => [
|
|
2615
|
+
Se(m.$slots, M, Q({ ref_for: !0 }, T), void 0, !0)
|
|
2616
|
+
])
|
|
2617
|
+
}))
|
|
2618
|
+
]), 1040, ["id", "row-data", "row-index", "row-set-size", "onSelectRow"]))), 128)) : o(d)("nested-slot") && e.shouldShowNestedContent(e.rowData) ? (c(), y("div", So, [
|
|
2619
|
+
Se(m.$slots, "nested-slot", { item: e.rowData }, void 0, !0)
|
|
2620
|
+
])) : U("", !0)
|
|
2621
|
+
], 512)
|
|
2622
|
+
], 16)) : U("", !0)
|
|
2623
|
+
]),
|
|
2624
|
+
_: 3
|
|
2625
|
+
})) : U("", !0)
|
|
2626
|
+
]));
|
|
2627
|
+
}
|
|
2628
|
+
}), Kt = /* @__PURE__ */ se(yo, [["__scopeId", "data-v-792dbd50"]]);
|
|
2629
|
+
let Ut = 0;
|
|
2630
|
+
const bo = {
|
|
2631
|
+
beforeCreate() {
|
|
2632
|
+
this.uuid = Ut.toString(), Ut += 1;
|
|
2633
|
+
}
|
|
2634
|
+
}, po = { key: 0 }, Oo = ["clip-path"], Ro = ["id"];
|
|
2635
|
+
function No(e, a, g, n, d, t) {
|
|
2636
|
+
return c(), y("svg", Q({ role: "img" }, e.$attrs, {
|
|
2637
|
+
class: "ui-assets-icons-16",
|
|
2638
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2639
|
+
width: "16",
|
|
2640
|
+
height: "16",
|
|
2641
|
+
fill: "none"
|
|
2642
|
+
}), [
|
|
2643
|
+
e.$attrs["svg-title"] ? (c(), y("title", po, q(e.$attrs["svg-title"]), 1)) : U("", !0),
|
|
2644
|
+
O("g", {
|
|
2645
|
+
"clip-path": "url(#uia-icons-16-warning_circle_fill__a" + e.uuid + ")"
|
|
2646
|
+
}, a[0] || (a[0] = [
|
|
2647
|
+
O("path", {
|
|
2648
|
+
fill: "#00112C",
|
|
2649
|
+
d: "M0.25 8C0.25 3.71979 3.71979 0.25 8 0.25C12.2802 0.25 15.75 3.71979 15.75 8C15.75 12.2802 12.2802 15.75 8 15.75C3.71979 15.75 0.25 12.2802 0.25 8ZM8.75 8.75V4.25H7.25V8.75H8.75ZM8 11.5C8.41421 11.5 8.75 11.1642 8.75 10.75C8.75 10.3358 8.41421 10 8 10C7.58579 10 7.25 10.3358 7.25 10.75C7.25 11.1642 7.58579 11.5 8 11.5Z"
|
|
2650
|
+
}, null, -1)
|
|
2651
|
+
]), 8, Oo),
|
|
2652
|
+
O("defs", null, [
|
|
2653
|
+
O("clipPath", {
|
|
2654
|
+
id: "uia-icons-16-warning_circle_fill__a" + e.uuid
|
|
2655
|
+
}, a[1] || (a[1] = [
|
|
2656
|
+
O("rect", {
|
|
2657
|
+
width: "16",
|
|
2658
|
+
height: "16",
|
|
2659
|
+
fill: "#fff"
|
|
2660
|
+
}, null, -1)
|
|
2661
|
+
]), 8, Ro)
|
|
2662
|
+
])
|
|
2663
|
+
], 16);
|
|
2664
|
+
}
|
|
2665
|
+
const To = /* @__PURE__ */ se(bo, [["render", No]]), Ao = ["aria-label"], Io = {}, $o = /* @__PURE__ */ Ee({
|
|
2666
|
+
...Io,
|
|
2667
|
+
__name: "data-grid-static-icon",
|
|
2668
|
+
props: {
|
|
2669
|
+
colored: { type: Boolean, default: !1 },
|
|
2670
|
+
tooltipText: {},
|
|
2671
|
+
variant: { default: "no-value" }
|
|
2672
|
+
},
|
|
2673
|
+
setup(e) {
|
|
2674
|
+
const a = e, g = E(() => {
|
|
2675
|
+
switch (a.variant) {
|
|
2676
|
+
case "checkmark":
|
|
2677
|
+
return xn;
|
|
2678
|
+
case "warning":
|
|
2679
|
+
return Zn;
|
|
2680
|
+
case "error":
|
|
2681
|
+
return To;
|
|
2682
|
+
case "cross":
|
|
2683
|
+
return Wt;
|
|
2684
|
+
case "no-value":
|
|
2685
|
+
return Ct;
|
|
2686
|
+
default:
|
|
2687
|
+
return Ct;
|
|
2688
|
+
}
|
|
2689
|
+
}), n = E(() => ({
|
|
2690
|
+
"b-data-grid-static-icon--colored": a.colored && a.variant !== "no-value"
|
|
2691
|
+
})), d = E(() => `b-data-grid-static-icon__${a.variant}`), t = E(() => qn.AUTO);
|
|
2692
|
+
return (s, w) => tt((c(), y("div", {
|
|
2693
|
+
"aria-label": s.tooltipText,
|
|
2694
|
+
class: ce(["b-data-grid-static-icon", n.value]),
|
|
2695
|
+
tabindex: "0"
|
|
2696
|
+
}, [
|
|
2697
|
+
(c(), P(Me(g.value), {
|
|
2698
|
+
class: ce(d.value),
|
|
2699
|
+
"svg-title": s.tooltipText
|
|
2700
|
+
}, null, 8, ["class", "svg-title"]))
|
|
2701
|
+
], 10, Ao)), [
|
|
2702
|
+
[o(jn), s.tooltipText, t.value]
|
|
2703
|
+
]);
|
|
2704
|
+
}
|
|
2705
|
+
}), Ai = /* @__PURE__ */ se($o, [["__scopeId", "data-v-3ee55e9a"]]), Do = ["aria-rowcount", "aria-colcount", "aria-label", "role"], ko = {
|
|
2706
|
+
key: 1,
|
|
2707
|
+
class: "b-data-grid__header"
|
|
2708
|
+
}, Mo = ["tabindex"], zo = ["tabindex", "aria-busy"], Uo = {
|
|
2709
|
+
key: 0,
|
|
2710
|
+
class: "b-data-grid__loading"
|
|
2711
|
+
}, Fo = {
|
|
2712
|
+
key: 1,
|
|
2713
|
+
class: "b-data-grid__empty-state"
|
|
2714
|
+
}, Po = {
|
|
2715
|
+
key: 5,
|
|
2716
|
+
class: "b-data-grid__footer"
|
|
2717
|
+
}, Bo = {
|
|
2718
|
+
i18n: { messages: je },
|
|
2719
|
+
name: "bento-data-grid"
|
|
2720
|
+
}, Wo = /* @__PURE__ */ Ee({
|
|
2721
|
+
...Bo,
|
|
2722
|
+
props: {
|
|
2723
|
+
/**
|
|
2724
|
+
* When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
|
|
2725
|
+
*/
|
|
2726
|
+
allowRowClicks: { type: Boolean, default: !1 },
|
|
2727
|
+
/**
|
|
2728
|
+
* When true, column headers will become draggable, allowing users to rearrange columns.
|
|
2729
|
+
*/
|
|
2730
|
+
allowColumnDragAndDrop: { type: Boolean, default: !0 },
|
|
2731
|
+
/**
|
|
2732
|
+
* List of actions that will be rendered in the action bar when user selects items.
|
|
2733
|
+
*
|
|
2734
|
+
* Each object in the list should have a `title`, an `event` and,
|
|
2735
|
+
* optionally, an `icon`.
|
|
2736
|
+
*
|
|
2737
|
+
* The component will display 4 actions and the hide the rest inside a menu.
|
|
2738
|
+
*
|
|
2739
|
+
* @see BentoButton for a list of all the other props supported by each button action.
|
|
2740
|
+
*/
|
|
2741
|
+
bulkActions: {
|
|
2742
|
+
type: Array,
|
|
2743
|
+
default: null
|
|
2744
|
+
},
|
|
2745
|
+
/**
|
|
2746
|
+
* Sets the row cells to the condensed padding state.
|
|
2747
|
+
*/
|
|
2748
|
+
condensed: {
|
|
2749
|
+
type: Boolean,
|
|
2750
|
+
default: !1
|
|
2751
|
+
},
|
|
2752
|
+
/**
|
|
2753
|
+
* Column definitions using 'key' to relate to data object.
|
|
2754
|
+
*/
|
|
2755
|
+
columns: {
|
|
2756
|
+
type: Array,
|
|
2757
|
+
required: !0
|
|
2758
|
+
},
|
|
2759
|
+
/**
|
|
2760
|
+
* Enables / hides the display options panel and the column contextual menu functionality.
|
|
2761
|
+
*/
|
|
2762
|
+
columnPanel: { type: Boolean, default: !1 },
|
|
2763
|
+
/**
|
|
2764
|
+
* An array of data objects to display.
|
|
2765
|
+
*/
|
|
2766
|
+
data: {
|
|
2767
|
+
type: Array,
|
|
2768
|
+
required: !0
|
|
2769
|
+
},
|
|
2770
|
+
/**
|
|
2771
|
+
* Empty state props that will be passed down to inner empty-state component
|
|
2772
|
+
*/
|
|
2773
|
+
emptyState: {
|
|
2774
|
+
type: Object,
|
|
2775
|
+
default: void 0
|
|
2776
|
+
},
|
|
2777
|
+
/**
|
|
2778
|
+
* filter-bar value (i.e. filters) that will be passed down to inner filter-bar component
|
|
2779
|
+
* {@see BentoFilterBarModel}
|
|
2780
|
+
*/
|
|
2781
|
+
filters: {
|
|
2782
|
+
type: He.props.value.type,
|
|
2783
|
+
default: void 0
|
|
2784
|
+
},
|
|
2785
|
+
/**
|
|
2786
|
+
* An array of the values for each filter set in `value`.
|
|
2787
|
+
* {@see BentoFilterValues}
|
|
2788
|
+
*/
|
|
2789
|
+
filterValues: {
|
|
2790
|
+
type: He.props.filterValues.type,
|
|
2791
|
+
default: () => []
|
|
2792
|
+
},
|
|
2793
|
+
/**
|
|
2794
|
+
* Filter bar search term useful to filter all the data by text
|
|
2795
|
+
*/
|
|
2796
|
+
filterSearchTerm: {
|
|
2797
|
+
type: He.props.searchTerm.type,
|
|
2798
|
+
default: void 0
|
|
2799
|
+
},
|
|
2800
|
+
/**
|
|
2801
|
+
* Allows the grid to be rendered inside a confined space.
|
|
2802
|
+
*/
|
|
2803
|
+
fitContent: { type: Boolean, default: !1 },
|
|
2804
|
+
/**
|
|
2805
|
+
* A customisable method to retrieve a unique identifier for a data item in the array of data supplied.
|
|
2806
|
+
* This is used selecting and performance reasons and must exist in each data item.
|
|
2807
|
+
*/
|
|
2808
|
+
getDataItemId: {
|
|
2809
|
+
type: Function,
|
|
2810
|
+
default: (e) => e.id
|
|
2811
|
+
},
|
|
2812
|
+
/**
|
|
2813
|
+
* If resize is enabled
|
|
2814
|
+
*/
|
|
2815
|
+
hasResizableColumns: {
|
|
2816
|
+
type: Boolean,
|
|
2817
|
+
default: !0
|
|
2818
|
+
},
|
|
2819
|
+
/**
|
|
2820
|
+
* Enables the nested content slot functionality.
|
|
2821
|
+
*/
|
|
2822
|
+
hasNestedContent: {
|
|
2823
|
+
type: Boolean,
|
|
2824
|
+
default: !1
|
|
2825
|
+
},
|
|
2826
|
+
/**
|
|
2827
|
+
* Enables the nested content slot functionality.
|
|
2828
|
+
*/
|
|
2829
|
+
hasNestedRows: {
|
|
2830
|
+
type: Boolean,
|
|
2831
|
+
default: !1
|
|
2832
|
+
},
|
|
2833
|
+
/**
|
|
2834
|
+
* Highlighted items
|
|
2835
|
+
*/
|
|
2836
|
+
highlightedRows: {
|
|
2837
|
+
type: Array,
|
|
2838
|
+
default: () => []
|
|
2839
|
+
},
|
|
2840
|
+
/**
|
|
2841
|
+
* A customisable method to determine if a row is not selectable.
|
|
2842
|
+
* The default is that every row is selectable.
|
|
2843
|
+
*/
|
|
2844
|
+
isDataItemDisabled: {
|
|
2845
|
+
type: Function,
|
|
2846
|
+
default: () => !1
|
|
2847
|
+
},
|
|
2848
|
+
/**
|
|
2849
|
+
* The type of `Lazy Load`.
|
|
2850
|
+
* Type "automatic" will enable infinite scrolling
|
|
2851
|
+
* Type "button" will enable lazy loading with "Show more" button
|
|
2852
|
+
* @values automatic, button, none
|
|
2853
|
+
*/
|
|
2854
|
+
lazyLoadType: {
|
|
2855
|
+
type: String,
|
|
2856
|
+
default: "none",
|
|
2857
|
+
validator: (e) => ["automatic", "button", "none"].includes(e)
|
|
2858
|
+
},
|
|
2859
|
+
/**
|
|
2860
|
+
* If the loading indicator should be shown.
|
|
2861
|
+
*/
|
|
2862
|
+
loading: {
|
|
2863
|
+
type: Boolean,
|
|
2864
|
+
default: !1
|
|
2865
|
+
},
|
|
2866
|
+
/**
|
|
2867
|
+
* Enables / Disables the table's surrounding border.
|
|
2868
|
+
*/
|
|
2869
|
+
outline: {
|
|
2870
|
+
type: Boolean,
|
|
2871
|
+
default: !1
|
|
2872
|
+
},
|
|
2873
|
+
/**
|
|
2874
|
+
* Renders the data grid with no top spacing, to render inside containers that already have spacing
|
|
2875
|
+
*/
|
|
2876
|
+
noSpacingTop: {
|
|
2877
|
+
type: Boolean,
|
|
2878
|
+
default: !1
|
|
2879
|
+
},
|
|
2880
|
+
/**
|
|
2881
|
+
* Pagination props that will be passed down to inner pagination component
|
|
2882
|
+
*/
|
|
2883
|
+
pagination: {
|
|
2884
|
+
type: Object,
|
|
2885
|
+
default: void 0
|
|
2886
|
+
},
|
|
2887
|
+
/**
|
|
2888
|
+
* Adds an extra option when selecting all items that allows user to select items in other pages too.
|
|
2889
|
+
*/
|
|
2890
|
+
selectableAcrossPages: {
|
|
2891
|
+
type: Boolean,
|
|
2892
|
+
default: !1
|
|
2893
|
+
},
|
|
2894
|
+
/**
|
|
2895
|
+
* Sticks the horizontal scrollbar to the bottom of the screen if the data-grid is larger than the screen height.
|
|
2896
|
+
*/
|
|
2897
|
+
stickyHorizontalScrollbar: {
|
|
2898
|
+
type: Boolean,
|
|
2899
|
+
default: !1
|
|
2900
|
+
},
|
|
2901
|
+
/**
|
|
2902
|
+
* Make pagination stick to the bottom of the page when the data-grid is bigger than the screen.
|
|
2903
|
+
* Because styles have to be applied to pagination container element, this has to be a data-grid prop (rather than a pagination prop).
|
|
2904
|
+
*/
|
|
2905
|
+
stickyPagination: {
|
|
2906
|
+
type: Boolean,
|
|
2907
|
+
default: !1
|
|
2908
|
+
},
|
|
2909
|
+
/**
|
|
2910
|
+
* Make data-grid filters stick to the top of the page along with the data-grid headers.
|
|
2911
|
+
* Defaults to true.
|
|
2912
|
+
*/
|
|
2913
|
+
stickyFilters: {
|
|
2914
|
+
type: Boolean,
|
|
2915
|
+
default: !0
|
|
2916
|
+
},
|
|
2917
|
+
/**
|
|
2918
|
+
* Enables / Disables rows to be selected via a checkbox. On select the "select" event will be emitted.
|
|
2919
|
+
*/
|
|
2920
|
+
selectable: {
|
|
2921
|
+
type: Boolean,
|
|
2922
|
+
default: !1
|
|
2923
|
+
},
|
|
2924
|
+
/**
|
|
2925
|
+
* Selected items
|
|
2926
|
+
*/
|
|
2927
|
+
selection: {
|
|
2928
|
+
type: Array,
|
|
2929
|
+
default: () => []
|
|
2930
|
+
},
|
|
2931
|
+
/**
|
|
2932
|
+
* Enables / Disables the nested-content slot
|
|
2933
|
+
*/
|
|
2934
|
+
shouldShowNestedContent: {
|
|
2935
|
+
type: Function,
|
|
2936
|
+
default: (e) => !0
|
|
2937
|
+
},
|
|
2938
|
+
/**
|
|
2939
|
+
* Returns the nested rows for a given BentoDatagridDataItem.
|
|
2940
|
+
*/
|
|
2941
|
+
shouldShowNestedRows: {
|
|
2942
|
+
type: Function,
|
|
2943
|
+
default: (e) => !0
|
|
2944
|
+
},
|
|
2945
|
+
/**
|
|
2946
|
+
* Sortby handles proper rendering of sort icon in header. Sorting currently is only supported server side.
|
|
2947
|
+
* It does make sure the currently sorted column has a more visible sort icon, and the sort icon points in the right direction.
|
|
2948
|
+
*/
|
|
2949
|
+
sortBy: {
|
|
2950
|
+
type: Array,
|
|
2951
|
+
// NOTE: is an array to allow multi-sorting in the future
|
|
2952
|
+
default: () => []
|
|
2953
|
+
},
|
|
2954
|
+
/**
|
|
2955
|
+
* Title of the data grid to be rendered as tab title when a data grid is passed in a tab layout.
|
|
2956
|
+
*/
|
|
2957
|
+
tabTitle: {
|
|
2958
|
+
type: String,
|
|
2959
|
+
default: null
|
|
2960
|
+
},
|
|
2961
|
+
/**
|
|
2962
|
+
* Truncates all data grid column headers
|
|
2963
|
+
*/
|
|
2964
|
+
truncateColumnHeaders: {
|
|
2965
|
+
type: Boolean,
|
|
2966
|
+
default: !1
|
|
2967
|
+
}
|
|
2968
|
+
},
|
|
2969
|
+
emits: [
|
|
2970
|
+
k.COLUMNS,
|
|
2971
|
+
k.COLUMN_RESIZE,
|
|
2972
|
+
k.ITEMS_PAGE,
|
|
2973
|
+
k.FILTER_SEARCH_INPUT,
|
|
2974
|
+
k.FILTER_SEARCH_CLEAR,
|
|
2975
|
+
k.NAVIGATE,
|
|
2976
|
+
k.NESTED_CONTENT_TOGGLED,
|
|
2977
|
+
k.UPDATE_COLUMNS,
|
|
2978
|
+
k.UPDATE_CONDENSED,
|
|
2979
|
+
k.UPDATE_FILTER_VALUES,
|
|
2980
|
+
k.UPDATE_FILTERS,
|
|
2981
|
+
k.UPDATE_FILTER_SEARCH_TERM,
|
|
2982
|
+
k.UPDATE_SHOW_MORE,
|
|
2983
|
+
k.UPDATE_PAGINATION,
|
|
2984
|
+
k.UPDATE_SELECTION,
|
|
2985
|
+
k.UPDATE_SORT_BY,
|
|
2986
|
+
k.ROW_CLICK,
|
|
2987
|
+
k.SELECT,
|
|
2988
|
+
k.SELECT_ALL_ACROSS_PAGES,
|
|
2989
|
+
k.SORT
|
|
2990
|
+
],
|
|
2991
|
+
setup(e, { expose: a, emit: g }) {
|
|
2992
|
+
const n = e, d = nt(), t = st(d), s = A(null), w = A(), C = A({}), L = A(null), N = A(null), f = A(), b = A(null), l = A(null), {
|
|
2993
|
+
allowColumnDragAndDrop: u,
|
|
2994
|
+
columns: i,
|
|
2995
|
+
columnPanel: _,
|
|
2996
|
+
data: h,
|
|
2997
|
+
lazyLoadType: $,
|
|
2998
|
+
loading: R,
|
|
2999
|
+
hasNestedContent: B,
|
|
3000
|
+
hasNestedRows: K,
|
|
3001
|
+
selectable: S,
|
|
3002
|
+
selection: p,
|
|
3003
|
+
selectableAcrossPages: G,
|
|
3004
|
+
stickyPagination: x,
|
|
3005
|
+
outline: te,
|
|
3006
|
+
pagination: v
|
|
3007
|
+
} = Qe(n), V = A(-1), { t: F } = Ne({ messages: je }), W = E(() => ne.value.filter((I) => I.frozen).length), oe = ht(
|
|
3008
|
+
tl,
|
|
3009
|
+
() => ({
|
|
3010
|
+
isDataGridTemplate: !1,
|
|
3011
|
+
stickyTabs: A(!1),
|
|
3012
|
+
tabsRef: A(null)
|
|
3013
|
+
})
|
|
3014
|
+
), { isDataGridTemplate: Z, stickyTabs: m, tabsRef: D } = oe(), Y = E(() => n.fitContent || Z ? 0 : null), {
|
|
3015
|
+
columnDefs: ne,
|
|
3016
|
+
onColumnWidthOverride: r,
|
|
3017
|
+
gridColumnWidthStyle: M,
|
|
3018
|
+
isMeasuringColumnWidths: T,
|
|
3019
|
+
isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: ae,
|
|
3020
|
+
columns: J,
|
|
3021
|
+
totalWidthOfAllColumns: Re
|
|
3022
|
+
} = Nl(i, h, s, C, L, {
|
|
3023
|
+
hasColumnPanel: _,
|
|
3024
|
+
hasSelectableColumn: S,
|
|
3025
|
+
hasSelectableAcrossPages: G,
|
|
3026
|
+
hasNestedContent: B,
|
|
3027
|
+
hasNestedRows: K,
|
|
3028
|
+
allowColumnDragAndDrop: u,
|
|
3029
|
+
isDataGridTemplate: Z
|
|
3030
|
+
}), Te = g, le = (I, ...z) => {
|
|
3031
|
+
(I === k.COLUMNS || I === k.UPDATE_COLUMNS) && ([J.value] = z), Te(I, ...z);
|
|
3032
|
+
}, Ie = bt(D, m), ze = E(
|
|
3033
|
+
() => n.stickyFilters ? `${Ie.value}px` : null
|
|
3034
|
+
), Ue = bt(N, Pt(n, "stickyFilters")), Fe = E(
|
|
3035
|
+
() => `${Ue.value + Ie.value}px`
|
|
3036
|
+
), {
|
|
3037
|
+
sortedColumns: Jt,
|
|
3038
|
+
columnSets: Pe,
|
|
3039
|
+
isOnlyOneVisibleColumn: Qt,
|
|
3040
|
+
onConfigSettingsUpdate: en,
|
|
3041
|
+
onConfigSettingsColumnsUpdate: tn,
|
|
3042
|
+
onConfigSettingsColumnUpdate: nn
|
|
3043
|
+
} = Ml(ne, le), { hoveredOverColumn: ln, hoveredOverColumnState: at } = Ul(
|
|
3044
|
+
Pe,
|
|
3045
|
+
S,
|
|
3046
|
+
te,
|
|
3047
|
+
ae
|
|
3048
|
+
), { draggingColumns: rt, draggingEventsForColumns: sn, draggingEventsForRowCell: on, onMoveColumnByOffset: an } = kl(Jt, u, le), { onAllRowSelect: dt, onRowSelect: rn, onNestedRowSelect: dn, selectedItems: ut, allItemsSelectedState: un } = Tl(
|
|
3049
|
+
p,
|
|
3050
|
+
le,
|
|
3051
|
+
h,
|
|
3052
|
+
n.getDataItemId,
|
|
3053
|
+
n.isDataItemDisabled
|
|
3054
|
+
), { navigationInput: ct } = Il(L, i, S), { isLazyLoad: $e, isInfiniteScroll: cn, verticalScrollPosition: fn, emitLazyLoadEvent: gn } = Dl(
|
|
3055
|
+
$,
|
|
3056
|
+
b,
|
|
3057
|
+
s,
|
|
3058
|
+
R,
|
|
3059
|
+
le
|
|
3060
|
+
), {
|
|
3061
|
+
updateScrollPosition: Be,
|
|
3062
|
+
updateScrollPositionOnFrozenColumnsNavigation: vn,
|
|
3063
|
+
syncVirtualScrollerWithBody: ft,
|
|
3064
|
+
hasLeftOverflow: We,
|
|
3065
|
+
hasRightOverflow: mn,
|
|
3066
|
+
horizontalScrollbarConditionalClasses: hn
|
|
3067
|
+
} = zl(s, w, fn, l, {
|
|
3068
|
+
isLazyLoad: $e,
|
|
3069
|
+
pagination: v,
|
|
3070
|
+
stickyPagination: x,
|
|
3071
|
+
isDataGridTemplate: Z
|
|
3072
|
+
}), Cn = () => {
|
|
3073
|
+
f.value.isClearAllVisible ? f.value.clearAllFilters() : f.value.isResetAllVisible && f.value.resetAllFilters();
|
|
3074
|
+
}, _n = E(() => {
|
|
3075
|
+
var I, z;
|
|
3076
|
+
return {
|
|
3077
|
+
...n.emptyState,
|
|
3078
|
+
variant: ((I = n.emptyState) == null ? void 0 : I.variant) === "embedded" || ((z = n.emptyState) == null ? void 0 : z.variant) === "basic" ? n.emptyState.variant : "basic"
|
|
3079
|
+
};
|
|
3080
|
+
}), wn = E(() => ({
|
|
3081
|
+
[`b-data-grid--${pe.OUTLINE}`]: n.outline,
|
|
3082
|
+
[`b-data-grid--${pe.SCROLL}`]: n.fitContent || $e.value,
|
|
3083
|
+
[`b-data-grid--${pe.STICKY_FILTERS}`]: n.filters && n.stickyFilters,
|
|
3084
|
+
[`b-data-grid--${pe.OVERFLOW_SHADOW_LEFT}`]: We.value && !W.value,
|
|
3085
|
+
[`b-data-grid--${pe.OVERFLOW_SHADOW_RIGHT}`]: mn.value,
|
|
3086
|
+
[`b-data-grid--${pe.NO_SPACING_TOP}`]: n.noSpacingTop
|
|
3087
|
+
})), Ln = E(() => ({
|
|
3088
|
+
"b-data-grid__body--sticky-horizontal-scrollbar": n.stickyHorizontalScrollbar
|
|
3089
|
+
})), Sn = E(() => Pe.value.findIndex((I) => I.columnSet.length)), gt = E(() => !((n.selectable || n.hasNestedContent || n.hasNestedRows) && W.value === 1) || We.value), En = E(() => ({
|
|
3090
|
+
"b-data-grid__filters--sticky": !!n.stickyFilters || Z
|
|
3091
|
+
})), yn = E(() => {
|
|
3092
|
+
var I, z, re, j, _e, we;
|
|
3093
|
+
return {
|
|
3094
|
+
"b-data-grid__pagination--padding-left-unset": ((re = (z = (I = n.columns) == null ? void 0 : I[0]) == null ? void 0 : z.padding) == null ? void 0 : re.left) === !1,
|
|
3095
|
+
"b-data-grid__pagination--padding-right-unset": ((we = (_e = (j = n.columns) == null ? void 0 : j[n.columns.length - 1]) == null ? void 0 : _e.padding) == null ? void 0 : we.right) === !1,
|
|
3096
|
+
"b-data-grid__pagination--sticky": !!n.stickyPagination || Z
|
|
3097
|
+
};
|
|
3098
|
+
}), bn = (I) => {
|
|
3099
|
+
const z = I;
|
|
3100
|
+
I !== null && (z != null && z.columnHeaderRefs) && Object.entries(z == null ? void 0 : z.columnHeaderRefs).forEach(([re, j]) => {
|
|
3101
|
+
C.value[re] = j;
|
|
3102
|
+
});
|
|
3103
|
+
}, pn = (I, z) => {
|
|
3104
|
+
const re = I;
|
|
3105
|
+
I !== null && (re != null && re.gridcellRefs) && Object.entries(re == null ? void 0 : re.gridcellRefs).map(([j, _e]) => {
|
|
3106
|
+
var we;
|
|
3107
|
+
((we = L.value) == null ? void 0 : we[j]) === void 0 && (L.value = { ...L.value, [j]: [] }), L.value[j][z] = _e;
|
|
3108
|
+
});
|
|
3109
|
+
}, On = (I, z) => {
|
|
3110
|
+
n.allowRowClicks && le(k.ROW_CLICK, I, z);
|
|
3111
|
+
}, Rn = (I) => {
|
|
3112
|
+
V.value = I;
|
|
3113
|
+
}, Nn = E(() => !!n.selectableAcrossPages && !!n.pagination), Tn = E(() => n.hasNestedContent || n.hasNestedRows ? "treegrid" : "grid"), vt = Kn({
|
|
3114
|
+
label: d != null && d.header ? Jn(d)("header") : null,
|
|
3115
|
+
defaultFallback: "data grid"
|
|
3116
|
+
}), mt = E(() => {
|
|
3117
|
+
var I;
|
|
3118
|
+
return ((I = ut.value) == null ? void 0 : I.length) ?? 0;
|
|
3119
|
+
}), An = E(() => n.bulkActions && mt.value > 0), In = (I) => le(k.COLUMN_RESIZE, I), $n = (I) => {
|
|
3120
|
+
le(k.UPDATE_SORT_BY, I), le(k.SORT, I);
|
|
3121
|
+
}, Dn = (I, z) => {
|
|
3122
|
+
le(k.NAVIGATE, I), le(k.UPDATE_PAGINATION, {
|
|
3123
|
+
...n.pagination,
|
|
3124
|
+
size: z,
|
|
3125
|
+
page: I
|
|
3126
|
+
});
|
|
3127
|
+
}, kn = (I) => {
|
|
3128
|
+
le(k.ITEMS_PAGE, I);
|
|
3129
|
+
}, Mn = () => {
|
|
3130
|
+
le(k.FILTER_SEARCH_CLEAR);
|
|
3131
|
+
}, zn = (I) => {
|
|
3132
|
+
le(k.UPDATE_FILTER_SEARCH_TERM, I), le(k.FILTER_SEARCH_INPUT, I);
|
|
3133
|
+
};
|
|
3134
|
+
return E(() => i.value.some((I) => I.mandatory)).value || Gt(
|
|
3135
|
+
"WARNING: At least one BentoDataGrid column should be set as mandatory to ensure data is always displayed correctly."
|
|
3136
|
+
), ht(el, () => null)(n.tabTitle), a({ onEmptyStateClearResetButtonClick: Cn }), (I, z) => {
|
|
3137
|
+
var re;
|
|
3138
|
+
return c(), y("div", {
|
|
3139
|
+
class: ce(["b-data-grid", wn.value]),
|
|
3140
|
+
"aria-rowcount": o(h).length,
|
|
3141
|
+
"aria-colcount": o(i).length,
|
|
3142
|
+
"aria-label": o(vt),
|
|
3143
|
+
role: Tn.value
|
|
3144
|
+
}, [
|
|
3145
|
+
e.filters ? (c(), y("div", {
|
|
3146
|
+
key: 0,
|
|
3147
|
+
ref_key: "filtersRef",
|
|
3148
|
+
ref: N,
|
|
3149
|
+
class: ce(["b-data-grid__filters", En.value]),
|
|
3150
|
+
style: ke({ top: ze.value })
|
|
3151
|
+
}, [
|
|
3152
|
+
e.filters ? (c(), P(He, {
|
|
3153
|
+
key: 0,
|
|
3154
|
+
ref_key: "filterBarRef",
|
|
3155
|
+
ref: f,
|
|
3156
|
+
config: e.filters,
|
|
3157
|
+
"filter-values": e.filterValues,
|
|
3158
|
+
"search-term": e.filterSearchTerm,
|
|
3159
|
+
onSearchInput: zn,
|
|
3160
|
+
onSearchClear: Mn,
|
|
3161
|
+
onInput: z[0] || (z[0] = (j) => I.$emit(o(k).UPDATE_FILTERS, j)),
|
|
3162
|
+
"onUpdate:filterValues": z[1] || (z[1] = (j) => I.$emit(o(k).UPDATE_FILTER_VALUES, j))
|
|
3163
|
+
}, null, 8, ["config", "filter-values", "search-term"])) : U("", !0)
|
|
3164
|
+
], 6)) : U("", !0),
|
|
3165
|
+
I.$slots.header ? (c(), y("div", ko, [
|
|
3166
|
+
Se(I.$slots, "header", {}, void 0, !0)
|
|
3167
|
+
])) : U("", !0),
|
|
3168
|
+
O("div", {
|
|
3169
|
+
class: "b-data-grid__column-headers",
|
|
3170
|
+
style: ke({ top: Fe.value })
|
|
3171
|
+
}, [
|
|
3172
|
+
o(_) ? (c(), P(o(js), {
|
|
3173
|
+
key: 0,
|
|
3174
|
+
class: "b-data-grid__config-settings",
|
|
3175
|
+
columns: o(J),
|
|
3176
|
+
condensed: e.condensed,
|
|
3177
|
+
onConfigSettings: o(en),
|
|
3178
|
+
"onUpdate:columns": o(tn)
|
|
3179
|
+
}, null, 8, ["columns", "condensed", "onConfigSettings", "onUpdate:columns"])) : U("", !0),
|
|
3180
|
+
O("div", {
|
|
3181
|
+
ref_key: "columnsRef",
|
|
3182
|
+
ref: w,
|
|
3183
|
+
role: "rowgroup",
|
|
3184
|
+
class: "b-data-grid__columns-row",
|
|
3185
|
+
tabindex: Y.value,
|
|
3186
|
+
onScroll: z[4] || (z[4] = //@ts-ignore
|
|
3187
|
+
(...j) => o(Be) && o(Be)(...j))
|
|
3188
|
+
}, [
|
|
3189
|
+
O("div", {
|
|
3190
|
+
style: ke(o(M)),
|
|
3191
|
+
class: "b-data-grid__columns",
|
|
3192
|
+
role: "row"
|
|
3193
|
+
}, [
|
|
3194
|
+
(c(!0), y(ve, null, Ce(o(Pe), ({ columnSet: j, id: _e, isFrozenColumns: we }, Ge) => (c(), y(ve, null, [
|
|
3195
|
+
j != null && j.length ? (c(), P(o(ps), Q({
|
|
3196
|
+
key: `data-grid-columns-${_e}`,
|
|
3197
|
+
ref_for: !0,
|
|
3198
|
+
ref: (Le) => bn(Le),
|
|
3199
|
+
columns: j,
|
|
3200
|
+
"has-resizable-columns": e.hasResizableColumns,
|
|
3201
|
+
"sort-by": e.sortBy,
|
|
3202
|
+
"all-items-selected-state": o(un),
|
|
3203
|
+
"is-frozen-columns": we,
|
|
3204
|
+
"show-frozen-columns-separator": gt.value,
|
|
3205
|
+
"dragging-columns": o(rt),
|
|
3206
|
+
"has-draggable-columns": o(u),
|
|
3207
|
+
"has-column-panel": o(_),
|
|
3208
|
+
"has-left-overflow": o(We),
|
|
3209
|
+
"has-first-column-panel-right-aligned": Ge === Sn.value,
|
|
3210
|
+
"hovered-over-column-state": o(at),
|
|
3211
|
+
"is-measuring-column-widths": o(T),
|
|
3212
|
+
"is-only-one-visible-column": o(Qt),
|
|
3213
|
+
selectable: o(S),
|
|
3214
|
+
"selectable-across-pages": Nn.value,
|
|
3215
|
+
"truncate-column-headers": e.truncateColumnHeaders
|
|
3216
|
+
}, xe(o(sn)), {
|
|
3217
|
+
onColumnHover: z[2] || (z[2] = (Le) => ln.value = Le),
|
|
3218
|
+
onColumnMove: o(an),
|
|
3219
|
+
onColumnUpdate: o(nn),
|
|
3220
|
+
onColumnResize: In,
|
|
3221
|
+
onColumnResizing: o(r),
|
|
3222
|
+
onSelectAllRows: o(dt),
|
|
3223
|
+
onSelectAllAcrossPages: z[3] || (z[3] = (Le) => le(o(k).SELECT_ALL_ACROSS_PAGES)),
|
|
3224
|
+
onSort: $n
|
|
3225
|
+
}), Ae({ _: 2 }, [
|
|
3226
|
+
Ce(o(d), (Le, De) => ({
|
|
3227
|
+
name: De,
|
|
3228
|
+
fn: H((qe) => [
|
|
3229
|
+
Se(I.$slots, De, Q({ ref_for: !0 }, qe), void 0, !0)
|
|
3230
|
+
])
|
|
3231
|
+
}))
|
|
3232
|
+
]), 1040, ["columns", "has-resizable-columns", "sort-by", "all-items-selected-state", "is-frozen-columns", "show-frozen-columns-separator", "dragging-columns", "has-draggable-columns", "has-column-panel", "has-left-overflow", "has-first-column-panel-right-aligned", "hovered-over-column-state", "is-measuring-column-widths", "is-only-one-visible-column", "selectable", "selectable-across-pages", "truncate-column-headers", "onColumnMove", "onColumnUpdate", "onColumnResizing", "onSelectAllRows"])) : U("", !0)
|
|
3233
|
+
], 64))), 256))
|
|
3234
|
+
], 4)
|
|
3235
|
+
], 40, Mo)
|
|
3236
|
+
], 4),
|
|
3237
|
+
O("div", {
|
|
3238
|
+
ref_key: "body",
|
|
3239
|
+
ref: s,
|
|
3240
|
+
"data-testid": "data-grid-body",
|
|
3241
|
+
class: ce(["b-data-grid__body", Ln.value]),
|
|
3242
|
+
tabindex: o(R) ? "0" : "-1",
|
|
3243
|
+
"aria-busy": o(R),
|
|
3244
|
+
"aria-live": "polite",
|
|
3245
|
+
onScroll: z[7] || (z[7] = //@ts-ignore
|
|
3246
|
+
(...j) => o(Be) && o(Be)(...j))
|
|
3247
|
+
}, [
|
|
3248
|
+
o(R) && !o($e) ? (c(), y("div", Uo, [
|
|
3249
|
+
X(o(lt), {
|
|
3250
|
+
class: "b-data-grid__loading-indicator",
|
|
3251
|
+
large: ""
|
|
3252
|
+
}),
|
|
3253
|
+
X(o(Ze), {
|
|
3254
|
+
el: "span",
|
|
3255
|
+
variant: "caption"
|
|
3256
|
+
}, {
|
|
3257
|
+
default: H(() => [
|
|
3258
|
+
ue(q(o(F)("gettingYourData")), 1)
|
|
3259
|
+
]),
|
|
3260
|
+
_: 1
|
|
3261
|
+
})
|
|
3262
|
+
])) : ((re = o(h)) == null ? void 0 : re.length) === 0 && e.emptyState ? (c(), y("div", Fo, [
|
|
3263
|
+
X(o(Qn), Hn(Vn(_n.value)), null, 16)
|
|
3264
|
+
])) : (c(), y("div", {
|
|
3265
|
+
key: 2,
|
|
3266
|
+
class: "b-data-grid__rows",
|
|
3267
|
+
role: "rowgroup",
|
|
3268
|
+
onKeydown: z[6] || (z[6] = //@ts-ignore
|
|
3269
|
+
(...j) => o(ct) && o(ct)(...j))
|
|
3270
|
+
}, [
|
|
3271
|
+
(c(!0), y(ve, null, Ce(o(h), (j, _e) => {
|
|
3272
|
+
var we, Ge;
|
|
3273
|
+
return c(), P(o(Kt), {
|
|
3274
|
+
key: _e,
|
|
3275
|
+
ref_for: !0,
|
|
3276
|
+
ref: (Le) => pn(Le, _e),
|
|
3277
|
+
style: ke(o(M)),
|
|
3278
|
+
"allow-row-clicks": e.allowRowClicks,
|
|
3279
|
+
"column-sets": o(Pe),
|
|
3280
|
+
condensed: e.condensed,
|
|
3281
|
+
"dragging-columns": o(rt),
|
|
3282
|
+
"dragging-events-for-row-cell": o(on),
|
|
3283
|
+
"get-data-item-id": e.getDataItemId,
|
|
3284
|
+
"has-nested-content": o(B),
|
|
3285
|
+
"has-nested-rows": o(K),
|
|
3286
|
+
"has-left-overflow": o(We),
|
|
3287
|
+
"highlighted-rows": e.highlightedRows,
|
|
3288
|
+
"hovered-row-index": V.value,
|
|
3289
|
+
"hovered-over-column-state": o(at),
|
|
3290
|
+
"is-data-item-disabled": e.isDataItemDisabled,
|
|
3291
|
+
"is-row-last-child": _e + 1 === ((we = o(h)) == null ? void 0 : we.length),
|
|
3292
|
+
"is-measuring-column-widths": o(T),
|
|
3293
|
+
"row-data": j,
|
|
3294
|
+
"row-index": _e,
|
|
3295
|
+
"row-set-size": (Ge = o(h)) == null ? void 0 : Ge.length,
|
|
3296
|
+
"show-frozen-columns-separator": gt.value,
|
|
3297
|
+
"should-show-nested-content": e.shouldShowNestedContent,
|
|
3298
|
+
"should-show-nested-rows": e.shouldShowNestedRows,
|
|
3299
|
+
selectable: o(S),
|
|
3300
|
+
"selected-items": o(ut),
|
|
3301
|
+
onCellHovered: Rn,
|
|
3302
|
+
onNestedContentToggled: z[5] || (z[5] = (Le) => le(o(k).NESTED_CONTENT_TOGGLED, Le)),
|
|
3303
|
+
onRowClick: On,
|
|
3304
|
+
onOnFrozenColumnsKeyPress: o(vn),
|
|
3305
|
+
onSelectRow: o(rn),
|
|
3306
|
+
onSelectNestedRow: o(dn)
|
|
3307
|
+
}, Ae({ _: 2 }, [
|
|
3308
|
+
Ce(o(d), (Le, De) => ({
|
|
3309
|
+
name: De,
|
|
3310
|
+
fn: H((qe) => [
|
|
3311
|
+
Se(I.$slots, De, Q({ ref_for: !0 }, qe), void 0, !0)
|
|
3312
|
+
])
|
|
3313
|
+
}))
|
|
3314
|
+
]), 1032, ["style", "allow-row-clicks", "column-sets", "condensed", "dragging-columns", "dragging-events-for-row-cell", "get-data-item-id", "has-nested-content", "has-nested-rows", "has-left-overflow", "highlighted-rows", "hovered-row-index", "hovered-over-column-state", "is-data-item-disabled", "is-row-last-child", "is-measuring-column-widths", "row-data", "row-index", "row-set-size", "show-frozen-columns-separator", "should-show-nested-content", "should-show-nested-rows", "selectable", "selected-items", "onOnFrozenColumnsKeyPress", "onSelectRow", "onSelectNestedRow"]);
|
|
3315
|
+
}), 128))
|
|
3316
|
+
], 32))
|
|
3317
|
+
], 42, zo),
|
|
3318
|
+
o($e) ? (c(), P(o(Ks), {
|
|
3319
|
+
key: 2,
|
|
3320
|
+
loading: o(R),
|
|
3321
|
+
"is-infinite-scroll": o(cn),
|
|
3322
|
+
"onUpdate:showMore": o(gn)
|
|
3323
|
+
}, null, 8, ["loading", "is-infinite-scroll", "onUpdate:showMore"])) : U("", !0),
|
|
3324
|
+
e.stickyHorizontalScrollbar ? (c(), y("div", {
|
|
3325
|
+
key: 3,
|
|
3326
|
+
ref_key: "virtualHorizontalScrollbarRef",
|
|
3327
|
+
ref: l,
|
|
3328
|
+
class: ce(["b-data-grid__horizontal-scrollbar", o(hn)]),
|
|
3329
|
+
"aria-hidden": "true",
|
|
3330
|
+
"data-testid": "sticky-horizontal-scrollbar",
|
|
3331
|
+
onScroll: z[8] || (z[8] = //@ts-ignore
|
|
3332
|
+
(...j) => o(ft) && o(ft)(...j))
|
|
3333
|
+
}, [
|
|
3334
|
+
O("div", {
|
|
3335
|
+
style: ke({ width: `${o(Re)}px`, height: "15px" })
|
|
3336
|
+
}, null, 4)
|
|
3337
|
+
], 34)) : U("", !0),
|
|
3338
|
+
o(v) && !o($e) ? (c(), y("div", {
|
|
3339
|
+
key: 4,
|
|
3340
|
+
"data-testid": "pagination-container",
|
|
3341
|
+
class: ce(["b-data-grid__pagination", yn.value])
|
|
3342
|
+
}, [
|
|
3343
|
+
X(o(Xn), Q(o(v), {
|
|
3344
|
+
"aria-label": `${o(vt)} navigation`,
|
|
3345
|
+
onNavigate: Dn,
|
|
3346
|
+
onItemsPage: kn
|
|
3347
|
+
}), {
|
|
3348
|
+
default: H(() => [
|
|
3349
|
+
o(t)("pagination-slot") ? Se(I.$slots, "pagination-slot", { key: 0 }, void 0, !0) : U("", !0)
|
|
3350
|
+
]),
|
|
3351
|
+
_: 3
|
|
3352
|
+
}, 16, ["aria-label"])
|
|
3353
|
+
], 2)) : U("", !0),
|
|
3354
|
+
I.$slots.footer ? (c(), y("div", Po, [
|
|
3355
|
+
Se(I.$slots, "footer", {}, void 0, !0)
|
|
3356
|
+
])) : U("", !0),
|
|
3357
|
+
An.value ? (c(), P(o(Yn), {
|
|
3358
|
+
key: 6,
|
|
3359
|
+
actions: e.bulkActions,
|
|
3360
|
+
"item-counter": mt.value,
|
|
3361
|
+
"extra-bottom-spacing": o(x),
|
|
3362
|
+
onClose: z[9] || (z[9] = (j) => o(dt)(!1))
|
|
3363
|
+
}, null, 8, ["actions", "item-counter", "extra-bottom-spacing"])) : U("", !0)
|
|
3364
|
+
], 10, Do);
|
|
3365
|
+
};
|
|
3366
|
+
}
|
|
3367
|
+
}), Ii = /* @__PURE__ */ se(Wo, [["__scopeId", "data-v-4ee57c29"]]);
|
|
3368
|
+
export {
|
|
3369
|
+
Ke as B,
|
|
3370
|
+
Ai as a,
|
|
3371
|
+
pe as b,
|
|
3372
|
+
Oe as c,
|
|
3373
|
+
Ii as d,
|
|
3374
|
+
k as e,
|
|
3375
|
+
Ve as f
|
|
3376
|
+
};
|
|
3377
|
+
//# sourceMappingURL=data-grid.DVc9qzLU.js.map
|