@adyen/bento-vue2 1.21.1 → 1.22.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/README.md +12 -2
- package/dist/@types/index.d.ts +19118 -0
- package/dist/accordion.js +3 -3
- package/dist/action-bar.js +7 -7
- package/dist/alert.js +7 -7
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index21.css +1 -1
- package/dist/assets/index22.css +1 -1
- package/dist/assets/index24.css +1 -1
- package/dist/assets/index25.css +1 -1
- package/dist/assets/index26.css +1 -1
- package/dist/assets/index27.css +1 -1
- package/dist/assets/index28.css +1 -1
- package/dist/assets/index29.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index30.css +1 -1
- package/dist/assets/index31.css +1 -1
- package/dist/assets/index32.css +1 -1
- package/dist/assets/index33.css +1 -1
- package/dist/assets/index34.css +1 -1
- package/dist/assets/index35.css +1 -1
- package/dist/assets/index36.css +1 -1
- package/dist/assets/index39.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index40.css +1 -1
- package/dist/assets/index42.css +1 -1
- package/dist/assets/index43.css +1 -1
- package/dist/assets/index44.css +1 -1
- package/dist/assets/index45.css +1 -1
- package/dist/assets/index46.css +1 -1
- package/dist/assets/index47.css +1 -1
- package/dist/assets/index48.css +1 -1
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/payment-method.css +1 -0
- package/dist/avatar-image.js +1 -1
- package/dist/badge.js +1 -1
- package/dist/button.js +27 -27
- package/dist/button.js.map +1 -1
- package/dist/card.js +3 -3
- package/dist/checkbox.js +6 -6
- package/dist/chunks/1-generic-use.3ea646cd.js +5 -0
- package/dist/chunks/1-generic-use.3ea646cd.js.map +1 -0
- package/dist/chunks/1-generic-use.ccca5813.js +5 -0
- package/dist/chunks/1-generic-use.ccca5813.js.map +1 -0
- package/dist/chunks/2-generic-use.443db127.js +5 -0
- package/dist/chunks/2-generic-use.443db127.js.map +1 -0
- package/dist/chunks/2-generic-use.d69d7c08.js +5 -0
- package/dist/chunks/2-generic-use.d69d7c08.js.map +1 -0
- package/dist/chunks/3-generic-use.9f74667f.js +5 -0
- package/dist/chunks/3-generic-use.9f74667f.js.map +1 -0
- package/dist/chunks/3-generic-use.fe7ae2ce.js +5 -0
- package/dist/chunks/3-generic-use.fe7ae2ce.js.map +1 -0
- package/dist/chunks/4-generic-use.0356f4a1.js +5 -0
- package/dist/chunks/4-generic-use.0356f4a1.js.map +1 -0
- package/dist/chunks/4-generic-use.cd04bad0.js +5 -0
- package/dist/chunks/4-generic-use.cd04bad0.js.map +1 -0
- package/dist/chunks/adding-payment-methods.d570e03e.js +5 -0
- package/dist/chunks/adding-payment-methods.d570e03e.js.map +1 -0
- package/dist/chunks/adding-payment-methods.e419d6c0.js +5 -0
- package/dist/chunks/adding-payment-methods.e419d6c0.js.map +1 -0
- package/dist/chunks/adyen-giving.480913b5.js +5 -0
- package/dist/chunks/adyen-giving.480913b5.js.map +1 -0
- package/dist/chunks/adyen-giving.54ed984c.js +5 -0
- package/dist/chunks/adyen-giving.54ed984c.js.map +1 -0
- package/dist/chunks/{base-button.d355a784.js → base-button.6bd3ae4d.js} +2 -2
- package/dist/chunks/{base-button.d355a784.js.map → base-button.6bd3ae4d.js.map} +1 -1
- package/dist/chunks/{base-modal.a144b671.js → base-modal.bf917e7d.js} +7 -7
- package/dist/chunks/{base-modal.a144b671.js.map → base-modal.bf917e7d.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.6fff0861.js → button-actions-with-menu.ec7dfc53.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.6fff0861.js.map → button-actions-with-menu.ec7dfc53.js.map} +1 -1
- package/dist/chunks/{button-actions.96d5721a.js → button-actions.2bf1d9d1.js} +3 -3
- package/dist/chunks/{button-actions.96d5721a.js.map → button-actions.2bf1d9d1.js.map} +1 -1
- package/dist/chunks/{button.325c7a15.js → button.80c3c527.js} +17 -17
- package/dist/chunks/{button.325c7a15.js.map → button.80c3c527.js.map} +1 -1
- package/dist/chunks/{calendar.3fd71195.js → calendar.8cbb911d.js} +5 -5
- package/dist/chunks/{calendar.3fd71195.js.map → calendar.8cbb911d.js.map} +1 -1
- package/dist/chunks/{checkbox-input.1c3cc8ed.js → checkbox-input.17e832f1.js} +2 -2
- package/dist/chunks/{checkbox-input.1c3cc8ed.js.map → checkbox-input.17e832f1.js.map} +1 -1
- package/dist/chunks/{checkbox.98f6c967.js → checkbox.11454247.js} +4 -4
- package/dist/chunks/{checkbox.98f6c967.js.map → checkbox.11454247.js.map} +1 -1
- package/dist/chunks/{checkmark-circle-fill.345311d2.js → checkmark-circle-fill.75b87a2c.js} +2 -2
- package/dist/chunks/{checkmark-circle-fill.345311d2.js.map → checkmark-circle-fill.75b87a2c.js.map} +1 -1
- package/dist/chunks/{checkmark-small.520f01b1.js → checkmark-small.07adbfcb.js} +2 -2
- package/dist/chunks/{checkmark-small.520f01b1.js.map → checkmark-small.07adbfcb.js.map} +1 -1
- package/dist/chunks/{checkmark.a6ed8f47.js → checkmark.9979f1c1.js} +2 -2
- package/dist/chunks/{checkmark.a6ed8f47.js.map → checkmark.9979f1c1.js.map} +1 -1
- package/dist/chunks/{chevron-left.5edf02ac.js → chevron-left.64e168be.js} +2 -2
- package/dist/chunks/{chevron-left.5edf02ac.js.map → chevron-left.64e168be.js.map} +1 -1
- package/dist/chunks/{chevron-up.81185563.js → chevron-up.628ac446.js} +2 -2
- package/dist/chunks/{chevron-up.81185563.js.map → chevron-up.628ac446.js.map} +1 -1
- package/dist/chunks/{controls-group.70d7a0aa.js → controls-group.0892d082.js} +3 -3
- package/dist/chunks/{controls-group.70d7a0aa.js.map → controls-group.0892d082.js.map} +1 -1
- package/dist/chunks/{copy.da2d53c1.js → copy.2d2c6b85.js} +4 -4
- package/dist/chunks/{copy.da2d53c1.js.map → copy.2d2c6b85.js.map} +1 -1
- package/dist/chunks/{cross-circle-fill.27580c4b.js → cross-circle-fill.34e86c56.js} +2 -2
- package/dist/chunks/{cross-circle-fill.27580c4b.js.map → cross-circle-fill.34e86c56.js.map} +1 -1
- package/dist/chunks/{cross-small.e851e0de.js → cross-small.e3c016cb.js} +2 -2
- package/dist/chunks/{cross-small.e851e0de.js.map → cross-small.e3c016cb.js.map} +1 -1
- package/dist/chunks/{cross.04678d81.js → cross.e5433f3b.js} +2 -2
- package/dist/chunks/{cross.04678d81.js.map → cross.e5433f3b.js.map} +1 -1
- package/dist/chunks/{dialog-page.32cbc60e.js → dialog-page.21f1eb92.js} +3 -3
- package/dist/chunks/{dialog-page.32cbc60e.js.map → dialog-page.21f1eb92.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.06b020d1.js → dropdown-default-textbox.9c23c94d.js} +4 -4
- package/dist/chunks/{dropdown-default-textbox.06b020d1.js.map → dropdown-default-textbox.9c23c94d.js.map} +1 -1
- package/dist/chunks/{dropdown.daadea2c.js → dropdown.dad8cedd.js} +7 -7
- package/dist/chunks/{dropdown.daadea2c.js.map → dropdown.dad8cedd.js.map} +1 -1
- package/dist/chunks/{error-message.294de2ad.js → error-message.5fdafd8c.js} +3 -3
- package/dist/chunks/{error-message.294de2ad.js.map → error-message.5fdafd8c.js.map} +1 -1
- package/dist/chunks/{fixed-scroller.96fb2670.js → fixed-scroller.e917ed3f.js} +3 -3
- package/dist/chunks/{fixed-scroller.96fb2670.js.map → fixed-scroller.e917ed3f.js.map} +1 -1
- package/dist/chunks/{footer-actions.39973cb4.js → footer-actions.599e5a1d.js} +4 -4
- package/dist/chunks/{footer-actions.39973cb4.js.map → footer-actions.599e5a1d.js.map} +1 -1
- package/dist/chunks/{index.7b7ef408.js → index.0c33067d.js} +2 -2
- package/dist/chunks/{index.7b7ef408.js.map → index.0c33067d.js.map} +1 -1
- package/dist/chunks/{index.e04c4d75.js → index.0c4a8dd9.js} +3 -3
- package/dist/chunks/{index.e04c4d75.js.map → index.0c4a8dd9.js.map} +1 -1
- package/dist/chunks/{index.57792d67.js → index.3ddbe834.js} +2 -2
- package/dist/chunks/{index.57792d67.js.map → index.3ddbe834.js.map} +1 -1
- package/dist/chunks/{index.a3c06bde.js → index.5af5de46.js} +3 -3
- package/dist/chunks/{index.a3c06bde.js.map → index.5af5de46.js.map} +1 -1
- package/dist/chunks/{index.52ebcdf0.js → index.66c8d79f.js} +7 -7
- package/dist/chunks/{index.52ebcdf0.js.map → index.66c8d79f.js.map} +1 -1
- package/dist/chunks/{index.4f4bc222.js → index.73634ace.js} +9 -9
- package/dist/chunks/{index.4f4bc222.js.map → index.73634ace.js.map} +1 -1
- package/dist/chunks/{index.302e9cf2.js → index.7d2ea1de.js} +2 -2
- package/dist/chunks/{index.302e9cf2.js.map → index.7d2ea1de.js.map} +1 -1
- package/dist/chunks/{index.136e8c90.js → index.823243d9.js} +2 -2
- package/dist/chunks/{index.136e8c90.js.map → index.823243d9.js.map} +1 -1
- package/dist/chunks/{index.a6ec94b7.js → index.929dda57.js} +34 -34
- package/dist/chunks/{index.a6ec94b7.js.map → index.929dda57.js.map} +1 -1
- package/dist/chunks/{index.d1910671.js → index.937a82c2.js} +7 -7
- package/dist/chunks/{index.d1910671.js.map → index.937a82c2.js.map} +1 -1
- package/dist/chunks/{index.0b7e1fa9.js → index.d681cfda.js} +3 -3
- package/dist/chunks/{index.0b7e1fa9.js.map → index.d681cfda.js.map} +1 -1
- package/dist/chunks/{info-filled.c37e091d.js → info-filled.ee9571d9.js} +2 -2
- package/dist/chunks/{info-filled.c37e091d.js.map → info-filled.ee9571d9.js.map} +1 -1
- package/dist/chunks/{info.8b6328aa.js → info.b11d377e.js} +2 -2
- package/dist/chunks/{info.8b6328aa.js.map → info.b11d377e.js.map} +1 -1
- package/dist/chunks/internal-error.35cbb071.js +5 -0
- package/dist/chunks/internal-error.35cbb071.js.map +1 -0
- package/dist/chunks/internal-error.9a4823ed.js +5 -0
- package/dist/chunks/internal-error.9a4823ed.js.map +1 -0
- package/dist/chunks/{listbox-option-tag.07111ec8.js → listbox-option-tag.52ca5a60.js} +3 -3
- package/dist/chunks/{listbox-option-tag.07111ec8.js.map → listbox-option-tag.52ca5a60.js.map} +1 -1
- package/dist/chunks/{listbox.0985aed1.js → listbox.6d8bd2ae.js} +8 -8
- package/dist/chunks/{listbox.0985aed1.js.map → listbox.6d8bd2ae.js.map} +1 -1
- package/dist/chunks/{loading-button.ad4d9b13.js → loading-button.73c0bd64.js} +4 -4
- package/dist/chunks/{loading-button.ad4d9b13.js.map → loading-button.73c0bd64.js.map} +1 -1
- package/dist/chunks/no-results-found.58856d70.js +5 -0
- package/dist/chunks/no-results-found.58856d70.js.map +1 -0
- package/dist/chunks/no-results-found.cbb12f78.js +5 -0
- package/dist/chunks/no-results-found.cbb12f78.js.map +1 -0
- package/dist/chunks/notifications-cleared.71025c22.js +5 -0
- package/dist/chunks/notifications-cleared.71025c22.js.map +1 -0
- package/dist/chunks/notifications-cleared.c4f4bed4.js +5 -0
- package/dist/chunks/notifications-cleared.c4f4bed4.js.map +1 -0
- package/dist/chunks/page-not-found.a500440d.js +5 -0
- package/dist/chunks/page-not-found.a500440d.js.map +1 -0
- package/dist/chunks/page-not-found.d1a84ba7.js +5 -0
- package/dist/chunks/page-not-found.d1a84ba7.js.map +1 -0
- package/dist/chunks/payment-method.eeb54552.js +86 -0
- package/dist/chunks/payment-method.eeb54552.js.map +1 -0
- package/dist/chunks/planned-maintenance.7fa5ac16.js +5 -0
- package/dist/chunks/planned-maintenance.7fa5ac16.js.map +1 -0
- package/dist/chunks/planned-maintenance.cff01aed.js +5 -0
- package/dist/chunks/planned-maintenance.cff01aed.js.map +1 -0
- package/dist/chunks/referrals.178ce0eb.js +5 -0
- package/dist/chunks/referrals.178ce0eb.js.map +1 -0
- package/dist/chunks/referrals.599047da.js +5 -0
- package/dist/chunks/referrals.599047da.js.map +1 -0
- package/dist/chunks/{refresh.71a03998.js → refresh.f8e1b23c.js} +2 -2
- package/dist/chunks/{refresh.71a03998.js.map → refresh.f8e1b23c.js.map} +1 -1
- package/dist/chunks/{search.471270fe.js → search.4b38a2ef.js} +2 -2
- package/dist/chunks/{search.471270fe.js.map → search.4b38a2ef.js.map} +1 -1
- package/dist/chunks/success.41981fe8.js +5 -0
- package/dist/chunks/success.41981fe8.js.map +1 -0
- package/dist/chunks/success.77fac78b.js +5 -0
- package/dist/chunks/success.77fac78b.js.map +1 -0
- package/dist/chunks/{tooltip.1e44a4a6.js → tooltip.a9133b59.js} +3 -3
- package/dist/chunks/{tooltip.1e44a4a6.js.map → tooltip.a9133b59.js.map} +1 -1
- package/dist/chunks/upload-files.2708eca7.js +5 -0
- package/dist/chunks/upload-files.2708eca7.js.map +1 -0
- package/dist/chunks/upload-files.b4cd9f8b.js +5 -0
- package/dist/chunks/upload-files.b4cd9f8b.js.map +1 -0
- package/dist/chunks/wrong-environment.c73b0bc0.js +5 -0
- package/dist/chunks/wrong-environment.c73b0bc0.js.map +1 -0
- package/dist/chunks/wrong-environment.f890a237.js +5 -0
- package/dist/chunks/wrong-environment.f890a237.js.map +1 -0
- package/dist/code-snippet.js +7 -7
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +2 -2
- package/dist/currency.js +1 -1
- package/dist/data-grid.js +890 -828
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +7 -7
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +8 -8
- package/dist/dropdown.js.map +1 -1
- package/dist/empty-state.js +76 -65
- package/dist/empty-state.js.map +1 -1
- package/dist/filter-bar.js +25 -25
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/fonts/fonts.css +2 -71
- package/dist/form-layout.js +71 -88
- package/dist/form-layout.js.map +1 -1
- package/dist/header.js +5 -5
- package/dist/index.js +130 -129
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +4 -4
- package/dist/input-field.js +4 -4
- package/dist/internal.js +8 -8
- package/dist/link.js +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +7 -7
- package/dist/modal.js +6 -6
- package/dist/pagination.js +4 -4
- package/dist/payment-method.js +4 -86
- package/dist/payment-method.js.map +1 -1
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/radio-group.js +4 -4
- package/dist/search-bar.js +4 -4
- package/dist/secondary-nav.js +32 -27
- package/dist/secondary-nav.js.map +1 -1
- package/dist/segmented-control.js +4 -4
- package/dist/selection-card.js +5 -5
- package/dist/sidepanel.js +7 -7
- package/dist/status.js +2 -2
- package/dist/stepper.js +4 -4
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +3 -3
- package/dist/tabs.js +3 -3
- package/dist/tag.js +3 -3
- package/dist/textarea.js +4 -4
- package/dist/timeline.js +6 -6
- package/dist/toast.js +4 -4
- package/dist/toggle.js +3 -3
- package/dist/tutorial.js +7 -7
- package/dist/typography.js +1 -1
- package/dist/web-types.json +36 -36
- package/package.json +7 -5
- package/dist/@types/packages/core/src/components/button/button.types.d.ts +0 -22
- package/dist/@types/packages/core/src/components/link/link.types.d.ts +0 -4
- 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 -1
- package/dist/@types/packages/vue2/src/components/accordion/accordion.vue.d.ts +0 -23
- package/dist/@types/packages/vue2/src/components/accordion/components/accordion-item.vue.d.ts +0 -31
- 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 -69
- 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 -13
- package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +0 -56
- package/dist/@types/packages/vue2/src/components/alert/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/avatar-image/avatar-image.types.d.ts +0 -10
- package/dist/@types/packages/vue2/src/components/avatar-image/avatar-image.vue.d.ts +0 -52
- package/dist/@types/packages/vue2/src/components/avatar-image/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/badge/badge.types.d.ts +0 -7
- package/dist/@types/packages/vue2/src/components/badge/badge.vue.d.ts +0 -32
- package/dist/@types/packages/vue2/src/components/badge/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/button/button.demo.d.ts +0 -6
- package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +0 -97
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +0 -28
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +0 -35
- 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.types.d.ts +0 -9
- package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +0 -74
- 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 -66
- 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 -8
- 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.types.d.ts +0 -9
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +0 -193
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.types.d.ts +0 -17
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +0 -172
- 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 -13
- 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 -15
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +0 -113
- package/dist/@types/packages/vue2/src/components/code-snippet/highlight.d.ts +0 -1
- 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 -6
- package/dist/@types/packages/vue2/src/components/code-snippet/utils/indent-same-as-line-before-extension.d.ts +0 -8
- 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 -3
- package/dist/@types/packages/vue2/src/components/country/composables/use-country-name/use-country-name.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/country/composables/use-country-phone-code/use-country-phon-code.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/country/country.types.d.ts +0 -260
- package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +0 -42
- 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 -170
- package/dist/@types/packages/vue2/src/components/currency/currency.vue.d.ts +0 -38
- package/dist/@types/packages/vue2/src/components/currency/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.types.d.ts +0 -34
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.vue.d.ts +0 -133
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.types.d.ts +0 -14
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.vue.d.ts +0 -33
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.types.d.ts +0 -21
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +0 -178
- 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 -33
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.types.d.ts +0 -4
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +0 -44
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-lazy-load/data-grid-lazy-load.vue.d.ts +0 -17
- package/dist/@types/packages/vue2/src/components/data-grid/components/index.d.ts +0 -5
- package/dist/@types/packages/vue2/src/components/data-grid/composables/index.d.ts +0 -10
- 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 -82
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.types.d.ts +0 -10
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-sticky-element-height/use-calculate-sticky-element-height.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-reorderer/use-column-reorderer.d.ts +0 -121
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-config-settings/use-config-settings.d.ts +0 -154
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-keyboard-navigator/use-keyboard-navigator.d.ts +0 -10
- 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 -8
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-resizer.d.ts +0 -9
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-scroller/use-scroller.d.ts +0 -8
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-selector.d.ts +0 -11
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-sorter.d.ts +0 -9
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +0 -88
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +0 -541
- package/dist/@types/packages/vue2/src/components/data-grid/index.d.ts +0 -2
- 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 -38
- 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 -2
- 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 -152
- 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 -294
- 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 -11
- package/dist/@types/packages/vue2/src/components/date-range-picker/composables/use-granularity-memory.d.ts +0 -2
- 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 -204
- 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 -2
- 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 -63
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +0 -176
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +0 -173
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/composables/use-dropdown-options-listbox.d.ts +0 -24
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +0 -182
- 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 -126
- 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 -248
- 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 -5
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.types.d.ts +0 -7
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +0 -260
- 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 -248
- 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 -6
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +0 -248
- 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 -248
- 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 -2
- package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.types.d.ts +0 -28
- package/dist/@types/packages/vue2/src/components/dropdown/composables/use-keyboard-navigation.d.ts +0 -22
- 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 -8
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +0 -257
- 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 -79
- package/dist/@types/packages/vue2/src/components/empty-state/index.d.ts +0 -2
- 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 -2369
- 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 -46
- 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 -127
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/composables/use-base-filter.d.ts +0 -6
- 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 -63
- package/dist/@types/packages/vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue.d.ts +0 -79
- 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 -143
- 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 -223
- 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 -60
- 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 -12
- 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 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.vue.d.ts +0 -83
- package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/range-filter.vue.d.ts +0 -66
- 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.vue.d.ts +0 -78
- 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 -63
- 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 -86
- 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 -63
- 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 -63
- 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 -89
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +0 -124
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +0 -59
- 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 -18
- package/dist/@types/packages/vue2/src/components/focus-trap/focus-trap.vue.d.ts +0 -42
- 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 -26
- 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/composable/use-form-layout-group-percentage.d.ts +0 -3
- 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 -25
- 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 -33
- 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 -33
- 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 -32
- package/dist/@types/packages/vue2/src/components/header/header.types.d.ts +0 -4
- package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +0 -78
- 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.types.d.ts +0 -19
- package/dist/@types/packages/vue2/src/components/image/image.vue.d.ts +0 -50
- 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 -26
- 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 -1
- package/dist/@types/packages/vue2/src/components/input-field/input-field.types.d.ts +0 -39
- package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +0 -211
- package/dist/@types/packages/vue2/src/components/internal/avatar/avatar.vue.d.ts +0 -37
- package/dist/@types/packages/vue2/src/components/internal/avatar/index.d.ts +0 -1
- 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 -47
- 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.vue.d.ts +0 -45
- package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.types.d.ts +0 -36
- package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.vue.d.ts +0 -238
- 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 -142
- 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 -45
- 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 -52
- 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 -2
- 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 -155
- 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 -2
- 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 -2
- 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.types.d.ts +0 -20
- package/dist/@types/packages/vue2/src/components/internal/checkbox-input/checkbox-input.vue.d.ts +0 -90
- 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 -91
- 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 -49
- 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 -16
- package/dist/@types/packages/vue2/src/components/internal/dialog-page/dialog-page.vue.d.ts +0 -54
- 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 -12
- 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 -57
- 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 -15
- package/dist/@types/packages/vue2/src/components/internal/fixed-scroller/fixed-scroller.vue.d.ts +0 -30
- 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 -33
- 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 -45
- 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 -11
- 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 -28
- 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 -127
- 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 -82
- 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 -75
- 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 -33
- 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 -17
- 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 -12
- 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 -60
- 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 -39
- package/dist/@types/packages/vue2/src/components/internal/listbox/composables/use-cached-selected-values/use-cached-selected-values.d.ts +0 -14
- package/dist/@types/packages/vue2/src/components/internal/listbox/composables/use-multi-level-items/use-multi-level-items.d.ts +0 -6
- package/dist/@types/packages/vue2/src/components/internal/listbox/composables/useListboxKeyboardNavigation.d.ts +0 -9
- 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 -224
- 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.types.d.ts +0 -6
- package/dist/@types/packages/vue2/src/components/internal/radio-input/radio-input.vue.d.ts +0 -80
- 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/link/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +0 -55
- 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.types.d.ts +0 -4
- package/dist/@types/packages/vue2/src/components/loading-indicator/loading-indicator.vue.d.ts +0 -39
- 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 -92
- 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 -51
- package/dist/@types/packages/vue2/src/components/menu/components/menu-list-container/menu-list-container.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/menu/components/sub-menu-item-list/sub-menu-item-list.vue.d.ts +0 -57
- 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 -83
- 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 -130
- 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 -128
- package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +0 -76
- package/dist/@types/packages/vue2/src/components/modal/components/modal-page/modal-page.vue.d.ts +0 -91
- 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 -40
- package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +0 -165
- package/dist/@types/packages/vue2/src/components/modal-fullscreen/components/modal-fullscreen-page.vue.d.ts +0 -60
- 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 -64
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-context/pagination-context.vue.d.ts +0 -47
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-controls/pagination-controls.vue.d.ts +0 -37
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-results-per-page/pagination-results-per-page.vue.d.ts +0 -41
- 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 -81
- 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 -4
- 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 -1079
- package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +0 -43
- package/dist/@types/packages/vue2/src/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue.d.ts +0 -18
- 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 -20
- package/dist/@types/packages/vue2/src/components/popover/components/popover-title/popover-title.vue.d.ts +0 -27
- 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 -19
- package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +0 -178
- 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.types.d.ts +0 -46
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.utils.d.ts +0 -7
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +0 -173
- 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 -137
- 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 -16
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +0 -144
- 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 -55
- package/dist/@types/packages/vue2/src/components/search-bar/useSearchBarDataFilter.d.ts +0 -3
- 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 -18
- 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 -19
- 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 -20
- package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +0 -78
- 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 -8
- package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.vue.d.ts +0 -71
- 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 -2
- package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/selection-card-group.vue.d.ts +0 -145
- 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 -22
- package/dist/@types/packages/vue2/src/components/selection-card/selection-card.vue.d.ts +0 -90
- package/dist/@types/packages/vue2/src/components/sidepanel/components/sidepanel-page.vue.d.ts +0 -68
- 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 -43
- 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 -8
- package/dist/@types/packages/vue2/src/components/status/status.vue.d.ts +0 -20
- 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 -33
- package/dist/@types/packages/vue2/src/components/stepper/composables/useKeyboardNavigation/useKeyboardNavigation.d.ts +0 -15
- 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 -3
- package/dist/@types/packages/vue2/src/components/stepper/stepper.types.d.ts +0 -24
- package/dist/@types/packages/vue2/src/components/stepper/stepper.vue.d.ts +0 -42
- package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +0 -56
- 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 -34
- 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 -7
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +0 -125
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +0 -119
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue.d.ts +0 -40
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +0 -110
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +0 -110
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +0 -48
- 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 -19
- package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.vue.d.ts +0 -19
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.types.d.ts +0 -9
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.vue.d.ts +0 -35
- 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 -12
- 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 -25
- package/dist/@types/packages/vue2/src/components/tag/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/tag/tag.types.d.ts +0 -8
- package/dist/@types/packages/vue2/src/components/tag/tag.vue.d.ts +0 -44
- 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 -20
- package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +0 -156
- package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +0 -177
- 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 -77
- package/dist/@types/packages/vue2/src/components/timeline/timeline.vue.d.ts +0 -41
- package/dist/@types/packages/vue2/src/components/toast/components/toast-item/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/toast/components/toast-item/toast-item.types.d.ts +0 -9
- package/dist/@types/packages/vue2/src/components/toast/components/toast-item/toast-item.vue.d.ts +0 -28
- package/dist/@types/packages/vue2/src/components/toast/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/toast/toast.vue.d.ts +0 -13
- 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 -7
- package/dist/@types/packages/vue2/src/components/toggle/toggle.vue.d.ts +0 -67
- package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +0 -641
- 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 -12
- 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 -226
- 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 -13
- package/dist/@types/packages/vue2/src/components/tutorial/tutorial.vue.d.ts +0 -16
- package/dist/@types/packages/vue2/src/components/typography/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/typography/typography.types.d.ts +0 -27
- package/dist/@types/packages/vue2/src/components/typography/typography.vue.d.ts +0 -78
- package/dist/@types/packages/vue2/src/composables/index.d.ts +0 -8
- package/dist/@types/packages/vue2/src/composables/initials.d.ts +0 -3
- package/dist/@types/packages/vue2/src/composables/use-checkbox-select-all/use-checkbox-select-all.d.ts +0 -8
- package/dist/@types/packages/vue2/src/composables/use-click-outside/use-click-outside.d.ts +0 -3
- 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 -4
- package/dist/@types/packages/vue2/src/composables/use-form-layout-loading/use-form-layout-loading.d.ts +0 -4
- 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 -12
- package/dist/@types/packages/vue2/src/composables/use-form-validate/use-form.types.d.ts +0 -5
- package/dist/@types/packages/vue2/src/composables/use-has-slot/use-has-slot.d.ts +0 -5
- 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 -15
- package/dist/@types/packages/vue2/src/composables/use-virtual-list/use-virtual-list.types.d.ts +0 -20
- package/dist/@types/packages/vue2/src/composables/useDynamicImport.d.ts +0 -2
- 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 -3
- package/dist/@types/packages/vue2/src/directives/click-outside/types.d.ts +0 -8
- package/dist/@types/packages/vue2/src/directives/click-outside/useEventListener/index.d.ts +0 -7
- 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 -6
- 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 -9
- package/dist/@types/packages/vue2/src/directives/tooltip/tooltip.types.d.ts +0 -15
- package/dist/@types/packages/vue2/src/index.d.ts +0 -56
- package/dist/@types/packages/vue2/src/install.d.ts +0 -12
- package/dist/@types/packages/vue2/src/plugins/toastController.d.ts +0 -12
- 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 -162
- 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 -8
- package/dist/@types/packages/vue2/src/types/functions.d.ts +0 -2
- 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 -43
- package/dist/@types/packages/vue2/src/types/maybe-ref.d.ts +0 -2
- package/dist/@types/packages/vue2/src/types/omit-strict.d.ts +0 -1
- package/dist/@types/packages/vue2/src/types/prop-types.d.ts +0 -1
- package/dist/@types/packages/vue2/src/types/refs.d.ts +0 -4
- package/dist/@types/packages/vue2/src/types/utils-events.d.ts +0 -32
- package/dist/@types/packages/vue2/src/utils/ts/aria-label.d.ts +0 -9
- package/dist/@types/packages/vue2/src/utils/ts/currency/countries-list.d.ts +0 -4
- package/dist/@types/packages/vue2/src/utils/ts/currency/currency.d.ts +0 -6
- 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 -1
- 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 -2
- 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 -3
- package/dist/@types/packages/vue2/src/utils/ts/focus-trap.utils.d.ts +0 -8
- package/dist/@types/packages/vue2/src/utils/ts/get-slot-text/get-slot-text.d.ts +0 -3
- 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 -45
- package/dist/@types/packages/vue2/src/utils/ts/print-development-warning.d.ts +0 -1
- 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 -12
- package/dist/@types/packages/vue2/src/utils/ts/time-input.d.ts +0 -2
- package/dist/@types/packages/vue2/src/utils/ts/toastController.d.ts +0 -2
- package/dist/@types/packages/vue2/src/utils/ts/truncate.d.ts +0 -1
- package/dist/@types/packages/vue2/src/utils/ts/unique-id.d.ts +0 -1
- package/dist/assets/index49.css +0 -1
- package/dist/fonts/Inter-Bold.otf +0 -0
- package/dist/fonts/Inter-Bold.ttf +0 -0
- package/dist/fonts/Inter-Bold.woff +0 -0
- package/dist/fonts/Inter-Bold.woff2 +0 -0
- package/dist/fonts/Inter-ExtraBold.otf +0 -0
- package/dist/fonts/Inter-ExtraBold.ttf +0 -0
- package/dist/fonts/Inter-ExtraBold.woff +0 -0
- package/dist/fonts/Inter-ExtraBold.woff2 +0 -0
- package/dist/fonts/Inter-ExtraLight.otf +0 -0
- package/dist/fonts/Inter-ExtraLight.ttf +0 -0
- package/dist/fonts/Inter-ExtraLight.woff +0 -0
- package/dist/fonts/Inter-ExtraLight.woff2 +0 -0
- package/dist/fonts/Inter-Italic.woff +0 -0
- package/dist/fonts/Inter-Italic.woff2 +0 -0
- package/dist/fonts/Inter-Light.otf +0 -0
- package/dist/fonts/Inter-Light.ttf +0 -0
- package/dist/fonts/Inter-Light.woff +0 -0
- package/dist/fonts/Inter-Light.woff2 +0 -0
- package/dist/fonts/Inter-Medium.otf +0 -0
- package/dist/fonts/Inter-Medium.ttf +0 -0
- package/dist/fonts/Inter-Medium.woff +0 -0
- package/dist/fonts/Inter-Medium.woff2 +0 -0
- package/dist/fonts/Inter-Regular.otf +0 -0
- package/dist/fonts/Inter-Regular.ttf +0 -0
- package/dist/fonts/Inter-Regular.woff +0 -0
- package/dist/fonts/Inter-Regular.woff2 +0 -0
- package/dist/fonts/Inter-SemiBold.otf +0 -0
- package/dist/fonts/Inter-SemiBold.ttf +0 -0
- package/dist/fonts/Inter-SemiBold.woff +0 -0
- package/dist/fonts/Inter-SemiBold.woff2 +0 -0
- package/dist/fonts/Inter-Thin.otf +0 -0
- package/dist/fonts/Inter-Thin.ttf +0 -0
- package/dist/fonts/Inter-Thin.woff +0 -0
- package/dist/fonts/Inter-Thin.woff2 +0 -0
- /package/dist/assets/{cross.css → cross-small.css} +0 -0
package/dist/data-grid.js
CHANGED
|
@@ -1,432 +1,433 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { BentoActionBar as
|
|
3
|
-
import { BentoPagination as
|
|
4
|
-
import { BentoLoadingIndicator as
|
|
5
|
-
import { B as
|
|
6
|
-
import { u as
|
|
7
|
-
import { g as
|
|
8
|
-
import { u as
|
|
9
|
-
import { BentoEmptyState as
|
|
10
|
-
import { BentoFilterBar as
|
|
11
|
-
import { E as
|
|
12
|
-
import { D as
|
|
13
|
-
import { o as
|
|
1
|
+
import { ref as E, reactive as ce, toRefs as de, computed as y, watchEffect as Ot, watch as z, onMounted as ue, nextTick as G, onUnmounted as ze, onBeforeUpdate as Dt, defineComponent as Z, toRef as Ge, useSlots as Nt, inject as be } from "vue";
|
|
2
|
+
import { BentoActionBar as $t } from "./action-bar.js";
|
|
3
|
+
import { BentoPagination as Pt } from "./pagination.js";
|
|
4
|
+
import { BentoLoadingIndicator as Be } from "./loading-indicator.js";
|
|
5
|
+
import { B as ae, p as We } from "./chunks/index.0c33067d.js";
|
|
6
|
+
import { u as xt } from "./chunks/aria-label.ac9651a5.js";
|
|
7
|
+
import { g as Mt } from "./chunks/get-slot-text.99c3d860.js";
|
|
8
|
+
import { u as oe } from "./chunks/i18n.eb5b985b.js";
|
|
9
|
+
import { BentoEmptyState as Ut } from "./empty-state.js";
|
|
10
|
+
import { BentoFilterBar as le } from "./filter-bar.js";
|
|
11
|
+
import { E as Ft } from "./chunks/tabs.keys.358742f2.js";
|
|
12
|
+
import { D as zt } from "./chunks/data-grid-template.keys.a819a991.js";
|
|
13
|
+
import { o as ke } from "./chunks/resize.a041304d.js";
|
|
14
14
|
import "./chunks/index.4c062058.js";
|
|
15
|
-
import { K as
|
|
16
|
-
import { B as
|
|
17
|
-
import { a as
|
|
18
|
-
import { BentoToggle as
|
|
19
|
-
import { BentoSearchBar as
|
|
20
|
-
import { u as
|
|
15
|
+
import { K as B } from "./chunks/tooltip.a9133b59.js";
|
|
16
|
+
import { B as Ie, a as Gt } from "./chunks/index.937a82c2.js";
|
|
17
|
+
import { a as Ve } from "./chunks/button.80c3c527.js";
|
|
18
|
+
import { BentoToggle as He } from "./toggle.js";
|
|
19
|
+
import { BentoSearchBar as Bt } from "./search-bar.js";
|
|
20
|
+
import { u as Wt } from "./chunks/dropdown.dad8cedd.js";
|
|
21
21
|
import { n as P } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
22
|
-
import { C as
|
|
23
|
-
import { S as
|
|
24
|
-
import { g as
|
|
25
|
-
import {
|
|
26
|
-
import { B as
|
|
27
|
-
import { B as
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import "./
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
22
|
+
import { C as kt } from "./chunks/cross.e5433f3b.js";
|
|
23
|
+
import { S as Vt } from "./chunks/search.4b38a2ef.js";
|
|
24
|
+
import { g as Ht } from "./chunks/unique-id.a2a2b458.js";
|
|
25
|
+
import { BentoToggleButton as Ze } from "./button.js";
|
|
26
|
+
import { B as Zt } from "./chunks/directive.0408e565.js";
|
|
27
|
+
import { B as je } from "./chunks/checkbox.11454247.js";
|
|
28
|
+
import { B as qe, O as jt } from "./chunks/index.929dda57.js";
|
|
29
|
+
import { E as qt } from "./chunks/index.d681cfda.js";
|
|
30
|
+
import { C as Yt } from "./chunks/copy.2d2c6b85.js";
|
|
31
|
+
import { BentoInfoIcon as Xt } from "./info-icon.js";
|
|
32
|
+
import { A as Kt } from "./chunks/dialog-page.21f1eb92.js";
|
|
33
|
+
import { l as Re } from "./chunks/events.58c00e6d.js";
|
|
34
|
+
import { B as Jt, a as Qt } from "./chunks/loading-button.73c0bd64.js";
|
|
35
|
+
import "./assets/index17.css";
|
|
36
|
+
var re = /* @__PURE__ */ ((s) => (s.WRAP = "wrap", s.ELLIPSIS = "ellipsis", s))(re || {}), V = /* @__PURE__ */ ((s) => (s.OUTLINE = "outline", s.SCROLL = "scroll", s.STICKY_FILTERS = "sticky-filters", s.OVERFLOW_SHADOW_LEFT = "overflow-shadow-left", s.OVERFLOW_SHADOW_RIGHT = "overflow-shadow-right", s))(V || {}), H = /* @__PURE__ */ ((s) => (s.ASCENDING = "asc", s.DESCENDING = "desc", s))(H || {}), h = /* @__PURE__ */ ((s) => (s.COLUMNS = "columns", s.COLUMN_RESIZE = "column-resize", s.ITEMS_PAGE = "items-page", s.NAVIGATE = "navigate", s.FILTER_SEARCH_INPUT = "filter-search-input", s.FILTER_SEARCH_CLEAR = "filter-search-clear", s.UPDATE_COLUMNS = "update:columns", s.UPDATE_CONDENSED = "update:condensed", s.UPDATE_FILTERS = "update:filters", s.UPDATE_FILTER_VALUES = "update:filter-values", s.UPDATE_FILTER_SEARCH_TERM = "update:filter-search-term", s.UPDATE_PAGINATION = "update:pagination", s.UPDATE_SELECTION = "update:selection", s.UPDATE_SHOW_MORE = "update:show-more", s.UPDATE_SORT_BY = "update:sort-by", s.ROW_CLICK = "row-click", s.SELECT = "select", s.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", s.SORT = "sort", s))(h || {}), ie = /* @__PURE__ */ ((s) => (s.ASCENDING = "ascending", s.DESCENDING = "descending", s.NONE = "none", s))(ie || {}), N = /* @__PURE__ */ ((s) => (s.COLUMN_RESIZE = "column-resize", s.COLUMN_RESIZING = "column-resizing", s.SORT = "sort", s.SELECT_ALL_ROWS = "select-all-rows", s.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", s.COLUMN_MOVE = "column-move", s.COLUMN_UPDATE = "column-update", s.COLUMN_MENU_OPEN = "column-menu-open", s.COLUMN_MENU_CLOSE = "column-menu-close", s.COLUMN_DRAG_START = "column-dragstart", s.COLUMN_DRAG_ENTER = "column-dragenter", s.COLUMN_DRAG_END = "column-dragend", s.COLUMN_DROP = "column-drop", s))(N || {});
|
|
37
|
+
const en = (s, e) => {
|
|
38
|
+
const n = E(!1), t = E(void 0), l = s.value.reduce((u, m) => (u[m.field] = null, u), {}), i = ce(l), _ = de(i);
|
|
39
|
+
let g = 0, f = "";
|
|
40
|
+
const v = y(
|
|
41
|
+
() => Object.fromEntries(s.value.map(({ field: u, width: m, minWidth: L }) => [u, { width: m, minWidth: L }]))
|
|
41
42
|
);
|
|
42
|
-
|
|
43
|
-
let
|
|
43
|
+
Ot(() => t.value = v.value);
|
|
44
|
+
let c = null, r = null;
|
|
44
45
|
const I = (u) => {
|
|
45
|
-
const
|
|
46
|
-
t.value[
|
|
47
|
-
},
|
|
48
|
-
|
|
49
|
-
field:
|
|
50
|
-
width: t.value[
|
|
51
|
-
}),
|
|
46
|
+
const m = u.clientX - g, L = f, C = t.value[L].width + m;
|
|
47
|
+
t.value[L].width = C > v.value[L].minWidth ? C : v.value[L].minWidth, e(N.COLUMN_RESIZING, t.value), g = u.clientX;
|
|
48
|
+
}, o = () => {
|
|
49
|
+
n.value = !1, c == null || c(), r == null || r(), f && e(N.COLUMN_RESIZE, {
|
|
50
|
+
field: f,
|
|
51
|
+
width: t.value[f].width
|
|
52
|
+
}), c = null, r = null, f = "", g = null;
|
|
52
53
|
};
|
|
53
|
-
return { resizeData: t, allColumnRefs:
|
|
54
|
-
if (
|
|
55
|
-
if (
|
|
56
|
-
|
|
54
|
+
return { resizeData: t, allColumnRefs: _, startResize: (u, m, L) => {
|
|
55
|
+
if (L.preventDefault(), u) {
|
|
56
|
+
if (n.value = !0, L.buttons !== 1) {
|
|
57
|
+
o();
|
|
57
58
|
return;
|
|
58
59
|
}
|
|
59
|
-
|
|
60
|
+
f = m, g = L.clientX, c = Re(window, "mousemove", I), r = Re(window, "mouseup", o);
|
|
60
61
|
}
|
|
61
|
-
}, isResizing:
|
|
62
|
-
},
|
|
63
|
-
const t = {}, l = [],
|
|
64
|
-
const
|
|
65
|
-
|
|
62
|
+
}, isResizing: n };
|
|
63
|
+
}, tn = 100, Ae = 50, J = "b-select", nn = 50, sn = 56, ln = (s, e, n) => {
|
|
64
|
+
const t = {}, l = [], i = (g) => {
|
|
65
|
+
const f = t[g];
|
|
66
|
+
f && f.frozen !== !0 && (t[g].frozen = !0, l.push(g));
|
|
66
67
|
};
|
|
67
|
-
function
|
|
68
|
-
if (l.length ===
|
|
68
|
+
function _() {
|
|
69
|
+
if (l.length === n.length)
|
|
69
70
|
return;
|
|
70
|
-
const
|
|
71
|
-
let
|
|
72
|
-
l.forEach((
|
|
73
|
-
|
|
71
|
+
const g = { min: {}, max: {} };
|
|
72
|
+
let f = s, v = e, c = 0;
|
|
73
|
+
l.forEach((r) => {
|
|
74
|
+
f -= t[r].computedWidth, v -= t[r].flex;
|
|
74
75
|
});
|
|
75
|
-
for (let
|
|
76
|
-
const
|
|
77
|
-
if (t[
|
|
76
|
+
for (let r = 0, I = n.length; r < I; r += 1) {
|
|
77
|
+
const o = n[r];
|
|
78
|
+
if (t[o.field] && t[o.field].frozen === !0)
|
|
78
79
|
continue;
|
|
79
|
-
let u =
|
|
80
|
-
u <
|
|
80
|
+
let u = f / v * o.flex;
|
|
81
|
+
u < o.minWidth && (c += o.minWidth - u, u = o.minWidth, g.min[o.field] = !0), t[o.field] = {
|
|
81
82
|
frozen: !1,
|
|
82
83
|
computedWidth: u,
|
|
83
|
-
flex:
|
|
84
|
+
flex: o.flex
|
|
84
85
|
};
|
|
85
86
|
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}) :
|
|
89
|
-
|
|
90
|
-
}),
|
|
87
|
+
c > 0 ? Object.keys(g.min).forEach((r) => {
|
|
88
|
+
i(r);
|
|
89
|
+
}) : n.forEach(({ field: r }) => {
|
|
90
|
+
i(r);
|
|
91
|
+
}), _();
|
|
91
92
|
}
|
|
92
|
-
return
|
|
93
|
-
},
|
|
94
|
-
const
|
|
93
|
+
return _(), t;
|
|
94
|
+
}, an = (s, e, n, t, l) => {
|
|
95
|
+
const i = E(s.value), _ = E(e), g = E(n), f = E(t), v = E(!1);
|
|
95
96
|
z(
|
|
96
|
-
() =>
|
|
97
|
+
() => s.value,
|
|
97
98
|
() => {
|
|
98
|
-
var
|
|
99
|
-
|
|
100
|
-
const
|
|
101
|
-
return
|
|
99
|
+
var C;
|
|
100
|
+
i.value = ((C = i.value) == null ? void 0 : C.length) === 0 ? s.value : s.value.sort((R, A) => {
|
|
101
|
+
const S = i.value.findIndex((O) => O.field === R.field), b = i.value.findIndex((O) => O.field === A.field);
|
|
102
|
+
return S === -1 ? 1 : b === -1 ? -1 : S - b;
|
|
102
103
|
});
|
|
103
104
|
}
|
|
104
105
|
);
|
|
105
|
-
const
|
|
106
|
-
let
|
|
107
|
-
|
|
106
|
+
const c = E();
|
|
107
|
+
let r = null;
|
|
108
|
+
ue(() => {
|
|
108
109
|
G(() => {
|
|
109
|
-
|
|
110
|
-
const
|
|
111
|
-
|
|
110
|
+
g.value && (c.value = g.value.getBoundingClientRect().width);
|
|
111
|
+
const C = z(
|
|
112
|
+
g,
|
|
112
113
|
() => {
|
|
113
|
-
|
|
114
|
-
|
|
114
|
+
g.value && (G(() => C()), r = ke(g.value, ({ width: R }) => {
|
|
115
|
+
c.value = R;
|
|
115
116
|
}));
|
|
116
117
|
},
|
|
117
118
|
{ immediate: !0 }
|
|
118
119
|
);
|
|
119
120
|
});
|
|
120
|
-
}),
|
|
121
|
-
|
|
122
|
-
}),
|
|
123
|
-
var
|
|
124
|
-
|
|
125
|
-
|
|
121
|
+
}), ze(() => {
|
|
122
|
+
r == null || r.disconnect();
|
|
123
|
+
}), Dt(() => {
|
|
124
|
+
var C;
|
|
125
|
+
f.value && ((C = Object.keys(f.value)) == null ? void 0 : C.length) > 0 && Object.keys(f.value).forEach((A) => {
|
|
126
|
+
f.value[A] = [];
|
|
126
127
|
});
|
|
127
128
|
});
|
|
128
|
-
const I =
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
129
|
+
const I = y(() => {
|
|
130
|
+
var d;
|
|
131
|
+
const C = [];
|
|
132
|
+
let R = 0, A = 0;
|
|
133
|
+
const S = {};
|
|
134
|
+
let b = i.value.filter((T) => T.visible !== !1);
|
|
135
|
+
const O = i.value.filter((T) => T.visible === !1);
|
|
136
|
+
l != null && l.hasSelectableColumn.value && (b = [
|
|
135
137
|
{
|
|
136
|
-
field:
|
|
138
|
+
field: J,
|
|
137
139
|
label: "",
|
|
138
|
-
width:
|
|
140
|
+
width: (d = l == null ? void 0 : l.hasSelectableAcrossPages) != null && d.value ? sn : nn,
|
|
139
141
|
frozen: !0,
|
|
140
142
|
padding: { left: !1, right: !1 }
|
|
141
143
|
},
|
|
142
|
-
...
|
|
143
|
-
]),
|
|
144
|
-
const
|
|
144
|
+
...b
|
|
145
|
+
]), b.forEach((T) => {
|
|
146
|
+
const w = { ...T };
|
|
145
147
|
let M;
|
|
146
|
-
|
|
147
|
-
(
|
|
148
|
-
(
|
|
149
|
-
),
|
|
148
|
+
w.flex && w.flex > 0 ? (R += w.flex, M = 0, C.push(w)) : M = Math.max(
|
|
149
|
+
(w == null ? void 0 : w.width) ?? tn,
|
|
150
|
+
(w == null ? void 0 : w.minWidth) ?? Ae
|
|
151
|
+
), A += M, w.width = M, w.minWidth = (w == null ? void 0 : w.minWidth) ?? Ae, S[w.field] = w;
|
|
150
152
|
});
|
|
151
|
-
const
|
|
152
|
-
if (R > 0 &&
|
|
153
|
-
const
|
|
154
|
-
Object.keys(
|
|
155
|
-
|
|
153
|
+
const U = Math.max(c.value - A, 0);
|
|
154
|
+
if (R > 0 && c.value > 0) {
|
|
155
|
+
const T = ln(U, R, C);
|
|
156
|
+
Object.keys(T).forEach((w) => {
|
|
157
|
+
S[w].width = T[w].computedWidth;
|
|
156
158
|
});
|
|
157
159
|
}
|
|
158
|
-
return
|
|
159
|
-
const
|
|
160
|
-
|
|
161
|
-
}), Object.values(
|
|
162
|
-
}),
|
|
163
|
-
|
|
160
|
+
return O.forEach((T) => {
|
|
161
|
+
const w = { ...T };
|
|
162
|
+
S[w.field] = w;
|
|
163
|
+
}), Object.values(S);
|
|
164
|
+
}), o = E(void 0), a = (C) => {
|
|
165
|
+
o.value = { ...o.value, ...C };
|
|
164
166
|
};
|
|
165
|
-
|
|
166
|
-
[() =>
|
|
167
|
+
i.value.some((C) => C == null ? void 0 : C.autoWidth) && z(
|
|
168
|
+
[() => i.value, () => _.value],
|
|
167
169
|
async () => {
|
|
168
|
-
v.value = !0, await G(),
|
|
169
|
-
var
|
|
170
|
-
const
|
|
171
|
-
(
|
|
170
|
+
v.value = !0, await G(), i == null || i.value.filter((C) => C == null ? void 0 : C.autoWidth).forEach(({ field: C, minWidth: R }) => {
|
|
171
|
+
var S, b;
|
|
172
|
+
const A = (b = (S = f.value) == null ? void 0 : S[C]) == null ? void 0 : b.reduce(
|
|
173
|
+
(O, U) => Math.max(O, U != null && U.offsetWidth ? U.offsetWidth + 4 : 0),
|
|
172
174
|
0
|
|
173
175
|
);
|
|
174
|
-
(R === void 0 ||
|
|
175
|
-
[
|
|
176
|
-
width:
|
|
176
|
+
(R === void 0 || A > R) && a({
|
|
177
|
+
[C]: {
|
|
178
|
+
width: A
|
|
177
179
|
}
|
|
178
180
|
});
|
|
179
181
|
}), v.value = !1;
|
|
180
182
|
},
|
|
181
183
|
{ immediate: !0 }
|
|
182
184
|
);
|
|
183
|
-
const u =
|
|
184
|
-
() => I.value.map((
|
|
185
|
-
var R,
|
|
185
|
+
const u = y(
|
|
186
|
+
() => I.value.map((C) => {
|
|
187
|
+
var R, A;
|
|
186
188
|
return {
|
|
187
|
-
...
|
|
189
|
+
...C,
|
|
188
190
|
// Override column width with resized ones
|
|
189
|
-
width: ((
|
|
191
|
+
width: ((A = (R = o.value) == null ? void 0 : R[C.field]) == null ? void 0 : A.width) ?? C.width
|
|
190
192
|
};
|
|
191
193
|
})
|
|
192
|
-
),
|
|
194
|
+
), m = y(
|
|
193
195
|
() => {
|
|
194
|
-
var
|
|
195
|
-
return (
|
|
196
|
+
var C;
|
|
197
|
+
return (C = u.value) == null ? void 0 : C.filter(({ visible: R }) => R !== !1).reduce((R, A) => A.width + R, 0);
|
|
196
198
|
}
|
|
197
|
-
),
|
|
198
|
-
width:
|
|
199
|
+
), L = y(() => ({
|
|
200
|
+
width: c.value > m.value ? "100%" : "fit-content"
|
|
199
201
|
}));
|
|
200
202
|
return {
|
|
201
203
|
columnDefs: u,
|
|
202
|
-
gridColumnWidthStyle:
|
|
203
|
-
onColumnWidthOverride:
|
|
204
|
+
gridColumnWidthStyle: L,
|
|
205
|
+
onColumnWidthOverride: a,
|
|
204
206
|
isMeasuringColumnWidths: v,
|
|
205
|
-
columns:
|
|
207
|
+
columns: i
|
|
206
208
|
};
|
|
207
|
-
},
|
|
208
|
-
const
|
|
209
|
+
}, on = (s, e, n, t, l) => {
|
|
210
|
+
const i = E(s.value ?? []), _ = ce({
|
|
209
211
|
allItemsSelected: !1,
|
|
210
212
|
isIndeterminate: !1
|
|
211
|
-
}),
|
|
212
|
-
e(
|
|
213
|
-
},
|
|
214
|
-
var
|
|
215
|
-
if (
|
|
216
|
-
|
|
217
|
-
const
|
|
218
|
-
|
|
213
|
+
}), g = () => {
|
|
214
|
+
e(h.SELECT, i.value), e(h.UPDATE_SELECTION, i.value);
|
|
215
|
+
}, f = (r) => {
|
|
216
|
+
var o, a, u, m, L;
|
|
217
|
+
if (i.value = r, ((o = n.value) == null ? void 0 : o.length) > 0 && ((a = n.value) == null ? void 0 : a.filter((C) => !l(C)).every((C) => i.value.includes(t(C))))) {
|
|
218
|
+
_.allItemsSelected = !0;
|
|
219
|
+
const C = ((u = n.value) == null ? void 0 : u.length) > 0 && n.value.every((R) => i.value.includes(t(R)));
|
|
220
|
+
_.isIndeterminate = !C;
|
|
219
221
|
} else
|
|
220
|
-
|
|
221
|
-
}, v = (
|
|
222
|
+
_.allItemsSelected = !1, _.isIndeterminate = ((m = i.value) == null ? void 0 : m.length) > 0 && ((L = n.value) == null ? void 0 : L.length) > 0 && n.value.some((C) => i.value.includes(t(C)));
|
|
223
|
+
}, v = (r) => {
|
|
222
224
|
G(() => {
|
|
223
|
-
var I,
|
|
224
|
-
if (
|
|
225
|
-
|
|
226
|
-
const u = ((
|
|
227
|
-
|
|
225
|
+
var I, o, a;
|
|
226
|
+
if (_.allItemsSelected = r, r) {
|
|
227
|
+
i.value = (o = (I = n.value) == null ? void 0 : I.filter((m) => !l(m))) == null ? void 0 : o.map((m) => t(m));
|
|
228
|
+
const u = ((a = n.value) == null ? void 0 : a.length) > 0 && n.value.every((m) => i.value.includes(t(m)));
|
|
229
|
+
_.isIndeterminate = i.value.length > 0 && !u;
|
|
228
230
|
} else
|
|
229
|
-
|
|
230
|
-
|
|
231
|
+
i.value = [], _.isIndeterminate = !1;
|
|
232
|
+
g();
|
|
231
233
|
});
|
|
232
|
-
},
|
|
234
|
+
}, c = (r) => {
|
|
233
235
|
G(() => {
|
|
234
|
-
|
|
236
|
+
f(r), g();
|
|
235
237
|
});
|
|
236
238
|
};
|
|
237
239
|
return z(
|
|
238
|
-
() =>
|
|
240
|
+
() => s.value,
|
|
239
241
|
() => {
|
|
240
|
-
|
|
242
|
+
f(s.value ?? []);
|
|
241
243
|
},
|
|
242
244
|
{ immediate: !0 }
|
|
243
245
|
), z(
|
|
244
|
-
() =>
|
|
246
|
+
() => n.value,
|
|
245
247
|
() => {
|
|
246
|
-
|
|
248
|
+
f(i.value);
|
|
247
249
|
}
|
|
248
|
-
), { onAllRowSelect: v, onRowSelect:
|
|
249
|
-
},
|
|
250
|
-
"b-data-grid-columns__column-sort-icon--sorted": n.value.some(
|
|
251
|
-
(_) => _.field === a && _.direction === m
|
|
252
|
-
)
|
|
253
|
-
}), sortByColumnField: (a) => {
|
|
250
|
+
), { onAllRowSelect: v, onRowSelect: c, allItemsSelectedState: _, selectedItems: i };
|
|
251
|
+
}, rn = (s, e, n) => ({ isSorting: (_) => s.value.some((g) => g.field === _), getSortingDirection: (_) => {
|
|
254
252
|
var g;
|
|
255
|
-
|
|
253
|
+
return (g = s.value.find((f) => f.field === _)) == null ? void 0 : g.direction;
|
|
254
|
+
}, sortByColumnField: (_) => {
|
|
255
|
+
var v;
|
|
256
|
+
if (!e.value.some((c) => c.field === _ && c.sortable))
|
|
256
257
|
return;
|
|
257
|
-
const
|
|
258
|
-
field:
|
|
259
|
-
direction: ((
|
|
258
|
+
const f = [{
|
|
259
|
+
field: _,
|
|
260
|
+
direction: ((v = s.value.find((c) => c.field === _)) == null ? void 0 : v.direction) === H.ASCENDING ? H.DESCENDING : H.ASCENDING
|
|
260
261
|
}];
|
|
261
|
-
|
|
262
|
+
n(N.SORT, f);
|
|
262
263
|
} });
|
|
263
|
-
var
|
|
264
|
-
const
|
|
265
|
-
const t =
|
|
266
|
-
const
|
|
267
|
-
return
|
|
268
|
-
}), l =
|
|
269
|
-
() => [...Object.values(
|
|
270
|
-
const u = Number(
|
|
271
|
-
return u >
|
|
264
|
+
var x = ((s) => (s[s.ARROW_DOWN = B.ARROW_DOWN] = "ARROW_DOWN", s[s.ARROW_UP = B.ARROW_UP] = "ARROW_UP", s[s.ARROW_LEFT = B.ARROW_LEFT] = "ARROW_LEFT", s[s.ARROW_RIGHT = B.ARROW_RIGHT] = "ARROW_RIGHT", s[s.PAGE_UP = B.PAGE_UP] = "PAGE_UP", s[s.PAGE_DOWN = B.PAGE_DOWN] = "PAGE_DOWN", s[s.END = B.END] = "END", s[s.HOME = B.HOME] = "HOME", s))(x || {});
|
|
265
|
+
const cn = (s, e, n) => {
|
|
266
|
+
const t = y(() => {
|
|
267
|
+
const o = e.value.filter(({ visible: a }) => a !== !1);
|
|
268
|
+
return n.value ? o.length + 1 : o.length;
|
|
269
|
+
}), l = y(
|
|
270
|
+
() => [...Object.values(s.value)].flat(1).sort((o, a) => {
|
|
271
|
+
const u = Number(o.getAttribute("data-cellindex")), m = Number(a.getAttribute("data-cellindex"));
|
|
272
|
+
return u > m ? 1 : m > u ? -1 : 0;
|
|
272
273
|
})
|
|
273
|
-
),
|
|
274
|
-
const
|
|
274
|
+
), i = (o) => Math.floor(o / t.value), _ = (o, a, u) => {
|
|
275
|
+
const m = l.value.length - 1, L = t.value - 1, C = i(o), R = o - t.value * C;
|
|
275
276
|
return {
|
|
276
|
-
[
|
|
277
|
-
[
|
|
278
|
-
[
|
|
279
|
-
[
|
|
280
|
-
}[
|
|
281
|
-
},
|
|
282
|
-
const
|
|
283
|
-
[
|
|
284
|
-
[
|
|
285
|
-
[
|
|
286
|
-
[
|
|
287
|
-
}[
|
|
288
|
-
return
|
|
289
|
-
},
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
].includes(
|
|
295
|
-
const
|
|
296
|
-
return
|
|
297
|
-
},
|
|
298
|
-
if (!l.value.includes(
|
|
277
|
+
[x.PAGE_UP]: R,
|
|
278
|
+
[x.PAGE_DOWN]: m - L + R,
|
|
279
|
+
[x.END]: u ? m : t.value * C + L,
|
|
280
|
+
[x.HOME]: u ? 0 : t.value * C
|
|
281
|
+
}[a];
|
|
282
|
+
}, g = (o, a) => {
|
|
283
|
+
const m = {
|
|
284
|
+
[x.ARROW_DOWN]: t.value,
|
|
285
|
+
[x.ARROW_UP]: -t.value,
|
|
286
|
+
[x.ARROW_LEFT]: -1,
|
|
287
|
+
[x.ARROW_RIGHT]: 1
|
|
288
|
+
}[a], L = o + m;
|
|
289
|
+
return L < 0 || L >= l.value.length ? o : L;
|
|
290
|
+
}, f = (o) => [
|
|
291
|
+
x.PAGE_UP,
|
|
292
|
+
x.PAGE_DOWN,
|
|
293
|
+
x.END,
|
|
294
|
+
x.HOME
|
|
295
|
+
].includes(o), v = (o, a, u) => {
|
|
296
|
+
const m = l.value.indexOf(o);
|
|
297
|
+
return f(a) ? _(m, a, u) : g(m, a);
|
|
298
|
+
}, c = (o, a, u) => {
|
|
299
|
+
if (!l.value.includes(o))
|
|
299
300
|
return;
|
|
300
|
-
const
|
|
301
|
-
l.value[
|
|
302
|
-
},
|
|
301
|
+
const m = v(o, a, u);
|
|
302
|
+
l.value[m].focus();
|
|
303
|
+
}, r = (o) => o in x;
|
|
303
304
|
return {
|
|
304
|
-
isNavigationKeyCode:
|
|
305
|
-
focusOnNextGridcell:
|
|
306
|
-
navigationInput: (
|
|
307
|
-
const { ctrlKey:
|
|
308
|
-
Object.values(
|
|
305
|
+
isNavigationKeyCode: r,
|
|
306
|
+
focusOnNextGridcell: c,
|
|
307
|
+
navigationInput: (o) => {
|
|
308
|
+
const { ctrlKey: a, keyCode: u, target: m } = o;
|
|
309
|
+
Object.values(s.value).flat(1).includes(m) && r(u) && c(m, u, a);
|
|
309
310
|
}
|
|
310
311
|
};
|
|
311
|
-
},
|
|
312
|
-
const
|
|
313
|
-
l(
|
|
312
|
+
}, dn = 90, un = (s, e, n, t, l) => {
|
|
313
|
+
const i = E(s), _ = E(e), g = E(n), f = E(t), v = y(() => i.value !== "none"), c = y(() => i.value === "automatic"), r = () => {
|
|
314
|
+
l(h.UPDATE_SHOW_MORE);
|
|
314
315
|
};
|
|
315
316
|
return z(
|
|
316
|
-
() =>
|
|
317
|
+
() => _.value,
|
|
317
318
|
() => {
|
|
318
|
-
|
|
319
|
+
c.value && g.value.offsetHeight / _.value * 100 > dn && !f.value && r();
|
|
319
320
|
}
|
|
320
|
-
), { isLazyLoad: v, isInfiniteScroll:
|
|
321
|
-
},
|
|
322
|
-
const t =
|
|
321
|
+
), { isLazyLoad: v, isInfiniteScroll: c, verticalScrollPosition: _, emitLazyLoadEvent: r };
|
|
322
|
+
}, _n = (s, e, n) => {
|
|
323
|
+
const t = E(s), l = E(e), i = ce({
|
|
323
324
|
dragging: null,
|
|
324
325
|
dragToLeft: null,
|
|
325
326
|
target: null
|
|
326
|
-
}),
|
|
327
|
-
const u = t.value.findIndex((
|
|
328
|
-
if (
|
|
327
|
+
}), _ = (o, a = 0) => {
|
|
328
|
+
const u = t.value.findIndex((C) => C.field === o.field), m = u + a;
|
|
329
|
+
if (m < 0 || m > t.value.length - 1)
|
|
329
330
|
return;
|
|
330
|
-
const
|
|
331
|
-
|
|
332
|
-
},
|
|
333
|
-
|
|
334
|
-
},
|
|
335
|
-
|
|
336
|
-
const u =
|
|
337
|
-
|
|
338
|
-
}, v = (
|
|
339
|
-
var
|
|
340
|
-
if (((
|
|
341
|
-
const
|
|
342
|
-
var
|
|
343
|
-
return
|
|
344
|
-
}),
|
|
345
|
-
let
|
|
346
|
-
|
|
331
|
+
const L = [...t.value];
|
|
332
|
+
L.splice(m, 0, L.splice(u, 1)[0]), n(h.COLUMNS, L), n(h.UPDATE_COLUMNS, L);
|
|
333
|
+
}, g = (o, a) => {
|
|
334
|
+
i.dragging = o, a.dataTransfer.setData("text", ""), a.dataTransfer.dropEffect = "move";
|
|
335
|
+
}, f = (o, a) => {
|
|
336
|
+
i.target = o;
|
|
337
|
+
const u = a.currentTarget.getBoundingClientRect(), m = u.left + u.width / 2, L = a.clientX ?? 0;
|
|
338
|
+
i.dragToLeft = L <= m;
|
|
339
|
+
}, v = (o) => {
|
|
340
|
+
var a, u;
|
|
341
|
+
if (((a = i.dragging) == null ? void 0 : a.field) !== o.field) {
|
|
342
|
+
const m = t.value.findIndex((b) => {
|
|
343
|
+
var O;
|
|
344
|
+
return b.field === ((O = i.dragging) == null ? void 0 : O.field);
|
|
345
|
+
}), L = t.value.findIndex((b) => b.field === o.field), C = i.dragToLeft ? L : L + 1, R = C > m ? C - 1 : C;
|
|
346
|
+
let A = [...t.value];
|
|
347
|
+
A.splice(
|
|
347
348
|
R === -1 ? 0 : R,
|
|
348
349
|
0,
|
|
349
|
-
|
|
350
|
+
A.splice(m, 1)[0]
|
|
350
351
|
);
|
|
351
|
-
const
|
|
352
|
-
((u =
|
|
353
|
-
(
|
|
354
|
-
var
|
|
355
|
-
return ((
|
|
352
|
+
const S = t.value.findIndex((b) => !(b != null && b.frozen));
|
|
353
|
+
((u = i.dragging) == null ? void 0 : u.frozen) !== o.frozen && C !== S && (A = A.map(
|
|
354
|
+
(b) => {
|
|
355
|
+
var O;
|
|
356
|
+
return ((O = i.dragging) == null ? void 0 : O.field) === b.field ? { ...b, frozen: !!(o != null && o.frozen) } : b;
|
|
356
357
|
}
|
|
357
|
-
)),
|
|
358
|
+
)), n(h.COLUMNS, A), n(h.UPDATE_COLUMNS, A);
|
|
358
359
|
}
|
|
359
|
-
|
|
360
|
-
},
|
|
361
|
-
|
|
362
|
-
},
|
|
363
|
-
[
|
|
364
|
-
[
|
|
365
|
-
[
|
|
366
|
-
[
|
|
367
|
-
} : {}), I =
|
|
368
|
-
dragenter: (
|
|
369
|
-
|
|
360
|
+
i.dragging = null, i.target = null;
|
|
361
|
+
}, c = () => {
|
|
362
|
+
i.dragging = null, i.dragToLeft = null, i.target = null;
|
|
363
|
+
}, r = y(() => l.value ? {
|
|
364
|
+
[N.COLUMN_DRAG_START]: (o, a) => g(o, a),
|
|
365
|
+
[N.COLUMN_DRAG_ENTER]: (o, a) => f(o, a),
|
|
366
|
+
[N.COLUMN_DROP]: (o) => v(o),
|
|
367
|
+
[N.COLUMN_DRAG_END]: () => c()
|
|
368
|
+
} : {}), I = y(() => (o) => l.value ? {
|
|
369
|
+
dragenter: (a) => {
|
|
370
|
+
a.preventDefault(), f(o, a);
|
|
370
371
|
},
|
|
371
372
|
drop: () => {
|
|
372
|
-
v(
|
|
373
|
+
v(o);
|
|
373
374
|
},
|
|
374
|
-
dragover: (
|
|
375
|
-
|
|
375
|
+
dragover: (a) => {
|
|
376
|
+
a.preventDefault();
|
|
376
377
|
}
|
|
377
378
|
} : {});
|
|
378
379
|
return {
|
|
379
380
|
// Values
|
|
380
|
-
draggingColumns:
|
|
381
|
+
draggingColumns: i,
|
|
381
382
|
// Methods
|
|
382
|
-
draggingEventsForColumns:
|
|
383
|
+
draggingEventsForColumns: r,
|
|
383
384
|
draggingEventsForRowCell: I,
|
|
384
|
-
onMoveColumnByOffset:
|
|
385
|
+
onMoveColumnByOffset: _
|
|
385
386
|
};
|
|
386
|
-
},
|
|
387
|
-
const
|
|
388
|
-
() => [...
|
|
389
|
-
), l =
|
|
390
|
-
() => t.value.filter((
|
|
391
|
-
),
|
|
392
|
-
() => t.value.filter((
|
|
393
|
-
),
|
|
387
|
+
}, gn = (s, e) => {
|
|
388
|
+
const n = E(s), t = y(
|
|
389
|
+
() => [...n.value].sort((r, I) => r.frozen === I.frozen ? 0 : r.frozen ? -1 : 1)
|
|
390
|
+
), l = y(
|
|
391
|
+
() => t.value.filter((r) => r.frozen && r.visible !== !1)
|
|
392
|
+
), i = y(
|
|
393
|
+
() => t.value.filter((r) => !r.frozen && r.visible !== !1)
|
|
394
|
+
), _ = y(
|
|
394
395
|
() => [
|
|
395
396
|
{ columnSet: l.value, id: "frozen", isFrozenColumns: !0 },
|
|
396
|
-
{ columnSet:
|
|
397
|
-
].filter(({ columnSet:
|
|
398
|
-
),
|
|
399
|
-
() =>
|
|
400
|
-
),
|
|
401
|
-
e(
|
|
397
|
+
{ columnSet: i.value, id: "unfrozen" }
|
|
398
|
+
].filter(({ columnSet: r }) => r.length)
|
|
399
|
+
), g = y(
|
|
400
|
+
() => n.value.filter((r) => (r == null ? void 0 : r.visible) !== !1 && (r == null ? void 0 : r.field) !== J).length === 1
|
|
401
|
+
), f = (r) => e(h.UPDATE_CONDENSED, r), v = (r) => {
|
|
402
|
+
e(h.COLUMNS, r), e(h.UPDATE_COLUMNS, r);
|
|
402
403
|
};
|
|
403
404
|
return {
|
|
404
405
|
// Values
|
|
405
|
-
columnSets:
|
|
406
|
-
isOnlyOneVisibleColumn:
|
|
406
|
+
columnSets: _,
|
|
407
|
+
isOnlyOneVisibleColumn: g,
|
|
407
408
|
sortedColumns: t,
|
|
408
409
|
// Methods
|
|
409
|
-
onConfigSettingsUpdate:
|
|
410
|
+
onConfigSettingsUpdate: f,
|
|
410
411
|
onConfigSettingsColumnsUpdate: v,
|
|
411
|
-
onConfigSettingsColumnUpdate: (
|
|
412
|
+
onConfigSettingsColumnUpdate: (r) => {
|
|
412
413
|
const I = t.value.map(
|
|
413
|
-
(
|
|
414
|
+
(o) => (o == null ? void 0 : o.field) === r.field ? r : o
|
|
414
415
|
);
|
|
415
416
|
v(I);
|
|
416
417
|
}
|
|
417
418
|
};
|
|
418
|
-
},
|
|
419
|
-
const
|
|
419
|
+
}, Te = (s, e) => {
|
|
420
|
+
const n = E(0);
|
|
420
421
|
let t = null;
|
|
421
422
|
const l = () => {
|
|
422
|
-
|
|
423
|
+
s != null && s.value && e.value && (n.value = s.value.offsetHeight);
|
|
423
424
|
};
|
|
424
|
-
return
|
|
425
|
+
return ue(() => {
|
|
425
426
|
G(() => {
|
|
426
|
-
const
|
|
427
|
-
|
|
427
|
+
const i = z(
|
|
428
|
+
s,
|
|
428
429
|
() => {
|
|
429
|
-
|
|
430
|
+
s != null && s.value && (G(() => i()), t = ke(s.value, () => {
|
|
430
431
|
l();
|
|
431
432
|
}));
|
|
432
433
|
},
|
|
@@ -435,161 +436,204 @@ const ss = (n, e, s) => {
|
|
|
435
436
|
z(
|
|
436
437
|
e,
|
|
437
438
|
() => {
|
|
438
|
-
e.value ? l() :
|
|
439
|
+
e.value ? l() : n.value = 0;
|
|
439
440
|
},
|
|
440
441
|
{ immediate: !0 }
|
|
441
442
|
);
|
|
442
443
|
});
|
|
443
|
-
}),
|
|
444
|
+
}), ze(() => {
|
|
444
445
|
t == null || t.disconnect();
|
|
445
|
-
}),
|
|
446
|
-
},
|
|
447
|
-
const t =
|
|
446
|
+
}), n;
|
|
447
|
+
}, fn = (s, e, n) => {
|
|
448
|
+
const t = E(0), l = E(!1), i = E(!1);
|
|
448
449
|
return z(
|
|
449
450
|
() => t.value,
|
|
450
451
|
() => {
|
|
451
|
-
|
|
452
|
+
s.value.scrollLeft = t.value, e.value.scrollLeft = t.value, l.value = !!t.value, i.value = e.value.scrollWidth - e.value.offsetWidth > t.value;
|
|
452
453
|
}
|
|
453
|
-
),
|
|
454
|
-
var
|
|
455
|
-
await G(), ((
|
|
454
|
+
), ue(async () => {
|
|
455
|
+
var f, v;
|
|
456
|
+
await G(), ((f = e.value) == null ? void 0 : f.offsetWidth) < ((v = e.value) == null ? void 0 : v.scrollWidth) && (i.value = !0);
|
|
456
457
|
}), {
|
|
457
458
|
// Values
|
|
458
459
|
scrollLeftPosition: t,
|
|
459
460
|
hasLeftOverflow: l,
|
|
460
|
-
hasRightOverflow:
|
|
461
|
+
hasRightOverflow: i,
|
|
461
462
|
// Methods
|
|
462
|
-
updateScrollPosition: (
|
|
463
|
-
t.value =
|
|
463
|
+
updateScrollPosition: (f) => {
|
|
464
|
+
t.value = f.target.scrollLeft, n.value = s.value.scrollHeight - f.target.scrollTop;
|
|
464
465
|
},
|
|
465
|
-
updateScrollPositionOnFrozenColumnsNavigation: (
|
|
466
|
-
|
|
467
|
-
|
|
466
|
+
updateScrollPositionOnFrozenColumnsNavigation: (f) => {
|
|
467
|
+
f.key !== "Tab" && f.key !== "ArrowRight" && f.key !== "ArrowLeft" || (f.preventDefault(), s.value.scrollLeft = 0, s.value.style.overflowX = "hidden", setTimeout(() => {
|
|
468
|
+
s.value.style.overflowX = "auto";
|
|
468
469
|
}));
|
|
469
470
|
}
|
|
470
471
|
};
|
|
471
472
|
};
|
|
472
|
-
let
|
|
473
|
-
const
|
|
473
|
+
let we = 0;
|
|
474
|
+
const Cn = {
|
|
474
475
|
beforeCreate() {
|
|
475
|
-
this.uuid =
|
|
476
|
+
this.uuid = we.toString(), we += 1;
|
|
476
477
|
}
|
|
477
478
|
};
|
|
478
|
-
var
|
|
479
|
-
var e = this,
|
|
480
|
-
return
|
|
481
|
-
},
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
479
|
+
var mn = function() {
|
|
480
|
+
var e = this, n = e._self._c;
|
|
481
|
+
return n("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? n("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), n("g", { attrs: { fill: "#00112C", "clip-path": "url(#uia-icons-16-arrow_up_down_sort__a" + e.uuid + ")" } }, [n("path", { attrs: { 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" } }), n("path", { attrs: { 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" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-icons-16-arrow_up_down_sort__a" + e.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
|
|
482
|
+
}, vn = [], pn = /* @__PURE__ */ P(
|
|
483
|
+
Cn,
|
|
484
|
+
mn,
|
|
485
|
+
vn,
|
|
485
486
|
!1,
|
|
486
487
|
null,
|
|
487
488
|
null,
|
|
488
489
|
null,
|
|
489
490
|
null
|
|
490
491
|
);
|
|
491
|
-
const
|
|
492
|
-
let
|
|
493
|
-
const
|
|
492
|
+
const hn = pn.exports;
|
|
493
|
+
let Oe = 0;
|
|
494
|
+
const Ln = {
|
|
494
495
|
beforeCreate() {
|
|
495
|
-
this.uuid =
|
|
496
|
+
this.uuid = Oe.toString(), Oe += 1;
|
|
496
497
|
}
|
|
497
498
|
};
|
|
498
|
-
var
|
|
499
|
-
var e = this,
|
|
500
|
-
return
|
|
501
|
-
},
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
499
|
+
var Sn = function() {
|
|
500
|
+
var e = this, n = e._self._c;
|
|
501
|
+
return n("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? n("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), n("path", { attrs: { fill: "#00112C", 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" } })]);
|
|
502
|
+
}, yn = [], En = /* @__PURE__ */ P(
|
|
503
|
+
Ln,
|
|
504
|
+
Sn,
|
|
505
|
+
yn,
|
|
505
506
|
!1,
|
|
506
507
|
null,
|
|
507
508
|
null,
|
|
508
509
|
null,
|
|
509
510
|
null
|
|
510
511
|
);
|
|
511
|
-
const
|
|
512
|
-
let
|
|
513
|
-
const
|
|
512
|
+
const bn = En.exports;
|
|
513
|
+
let De = 0;
|
|
514
|
+
const In = {
|
|
514
515
|
beforeCreate() {
|
|
515
|
-
this.uuid =
|
|
516
|
+
this.uuid = De.toString(), De += 1;
|
|
516
517
|
}
|
|
517
518
|
};
|
|
518
|
-
var
|
|
519
|
-
var e = this,
|
|
520
|
-
return
|
|
521
|
-
},
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
519
|
+
var Rn = function() {
|
|
520
|
+
var e = this, n = e._self._c;
|
|
521
|
+
return n("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? n("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), n("g", { attrs: { "clip-path": "url(#uia-icons-16-freeze__a" + e.uuid + ")" } }, [n("path", { attrs: { fill: "#00112C", 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" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-icons-16-freeze__a" + e.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff", transform: "matrix(1 0 0 -1 0 16)" } })])])]);
|
|
522
|
+
}, An = [], Tn = /* @__PURE__ */ P(
|
|
523
|
+
In,
|
|
524
|
+
Rn,
|
|
525
|
+
An,
|
|
525
526
|
!1,
|
|
526
527
|
null,
|
|
527
528
|
null,
|
|
528
529
|
null,
|
|
529
530
|
null
|
|
530
531
|
);
|
|
531
|
-
const
|
|
532
|
-
let
|
|
533
|
-
const
|
|
532
|
+
const Ye = Tn.exports;
|
|
533
|
+
let Ne = 0;
|
|
534
|
+
const wn = {
|
|
534
535
|
beforeCreate() {
|
|
535
|
-
this.uuid =
|
|
536
|
+
this.uuid = Ne.toString(), Ne += 1;
|
|
536
537
|
}
|
|
537
538
|
};
|
|
538
|
-
var
|
|
539
|
-
var e = this,
|
|
540
|
-
return
|
|
541
|
-
},
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
539
|
+
var On = function() {
|
|
540
|
+
var e = this, n = e._self._c;
|
|
541
|
+
return n("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? n("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), n("path", { attrs: { fill: "#00112C", d: "M2.99035 14.0608L14.051 3.00011L12.9903 1.93945L1.92969 13.0001L2.99035 14.0608Z" } }), n("path", { attrs: { fill: "#00112C", d: "M13.9404 5.23L12.8704 6.3C13.4704 6.97 13.9004 7.62 14.1304 8C13.4704 9.07 11.2504 12.25 8.00039 12.25C7.67039 12.25 7.34039 12.22 7.03039 12.14L5.80039 13.37C6.48039 13.61 7.21039 13.75 8.00039 13.75C12.7425 13.75 15.4838 8.69421 15.6649 8.36011C15.6671 8.35603 15.6689 8.35265 15.6704 8.35L15.8504 8L15.6704 7.65C15.6204 7.55 15.0204 6.43 13.9404 5.23Z" } }), n("path", { attrs: { fill: "#00112C", d: "M8.96039 3.85C8.65039 3.78 8.33039 3.75 8.00039 3.75C4.75039 3.75 2.53039 6.93 1.87039 8C2.10039 8.38 2.53039 9.02 3.12039 9.69L2.06039 10.75C0.98039 9.56 0.380391 8.45 0.330391 8.35L0.150391 8L0.330391 7.65C0.331838 7.64735 0.333668 7.64397 0.33588 7.63989C0.517034 7.30578 3.25829 2.25 8.00039 2.25C8.79039 2.25 9.52039 2.39 10.1904 2.62L8.96039 3.85Z" } })]);
|
|
542
|
+
}, Dn = [], Nn = /* @__PURE__ */ P(
|
|
543
|
+
wn,
|
|
544
|
+
On,
|
|
545
|
+
Dn,
|
|
545
546
|
!1,
|
|
546
547
|
null,
|
|
547
548
|
null,
|
|
548
549
|
null,
|
|
549
550
|
null
|
|
550
551
|
);
|
|
551
|
-
const
|
|
552
|
-
let
|
|
553
|
-
const
|
|
552
|
+
const $n = Nn.exports;
|
|
553
|
+
let $e = 0;
|
|
554
|
+
const Pn = {
|
|
554
555
|
beforeCreate() {
|
|
555
|
-
this.uuid =
|
|
556
|
+
this.uuid = $e.toString(), $e += 1;
|
|
556
557
|
}
|
|
557
558
|
};
|
|
558
|
-
var
|
|
559
|
-
var e = this,
|
|
560
|
-
return
|
|
561
|
-
},
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
559
|
+
var xn = function() {
|
|
560
|
+
var e = this, n = e._self._c;
|
|
561
|
+
return n("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? n("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), n("g", { attrs: { fill: "#00112C", "clip-path": "url(#uia-icons-16-sort_ascending__a" + e.uuid + ")" } }, [n("path", { attrs: { 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" } }), n("path", { attrs: { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" } }), n("path", { attrs: { d: "M1.25 11.25H8.75V12.75H1.25V11.25Z" } }), n("path", { attrs: { d: "M6.75 3.25H1.25V4.75H6.75V3.25Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-icons-16-sort_ascending__a" + e.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
|
|
562
|
+
}, Mn = [], Un = /* @__PURE__ */ P(
|
|
563
|
+
Pn,
|
|
564
|
+
xn,
|
|
565
|
+
Mn,
|
|
565
566
|
!1,
|
|
566
567
|
null,
|
|
567
568
|
null,
|
|
568
569
|
null,
|
|
569
570
|
null
|
|
570
571
|
);
|
|
571
|
-
const
|
|
572
|
-
let
|
|
573
|
-
const
|
|
572
|
+
const Fn = Un.exports;
|
|
573
|
+
let Pe = 0;
|
|
574
|
+
const zn = {
|
|
574
575
|
beforeCreate() {
|
|
575
|
-
this.uuid =
|
|
576
|
+
this.uuid = Pe.toString(), Pe += 1;
|
|
576
577
|
}
|
|
577
578
|
};
|
|
578
|
-
var
|
|
579
|
-
var e = this,
|
|
580
|
-
return
|
|
581
|
-
},
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
579
|
+
var Gn = function() {
|
|
580
|
+
var e = this, n = e._self._c;
|
|
581
|
+
return n("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? n("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), n("g", { attrs: { fill: "#00112C", "clip-path": "url(#uia-icons-16-sort_descending__a" + e.uuid + ")" } }, [n("path", { attrs: { 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" } }), n("path", { attrs: { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" } }), n("path", { attrs: { d: "M1.25 3.25H9.09V4.75H1.25V3.25Z" } }), n("path", { attrs: { d: "M6.75 11.25H1.25V12.75H6.75V11.25Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-icons-16-sort_descending__a" + e.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
|
|
582
|
+
}, Bn = [], Wn = /* @__PURE__ */ P(
|
|
583
|
+
zn,
|
|
584
|
+
Gn,
|
|
585
|
+
Bn,
|
|
586
|
+
!1,
|
|
587
|
+
null,
|
|
588
|
+
null,
|
|
589
|
+
null,
|
|
590
|
+
null
|
|
591
|
+
);
|
|
592
|
+
const kn = Wn.exports;
|
|
593
|
+
let xe = 0;
|
|
594
|
+
const Vn = {
|
|
595
|
+
beforeCreate() {
|
|
596
|
+
this.uuid = xe.toString(), xe += 1;
|
|
597
|
+
}
|
|
598
|
+
};
|
|
599
|
+
var Hn = function() {
|
|
600
|
+
var e = this, n = e._self._c;
|
|
601
|
+
return n("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? n("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), n("path", { attrs: { fill: "#00112C", 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" } }), n("path", { attrs: { fill: "#00112C", d: "M7.99964 2.25C5.50387 2.25 3.57073 3.66588 2.3086 4.9806C1.6704 5.64539 1.18078 6.30745 0.850599 6.80272C0.685043 7.05106 0.558349 7.2593 0.471981 7.40748C0.428769 7.48162 0.395568 7.54087 0.372564 7.58275C0.36106 7.60369 0.352097 7.6203 0.345701 7.63227L0.338032 7.64672L0.335646 7.65126L0.334488 7.65348L0.154297 8L0.334225 8.34601L0.999638 8C0.334225 8.34601 0.334814 8.34715 0.334814 8.34715L0.335646 8.34874L0.338032 8.35328L0.345701 8.36773C0.352097 8.3797 0.36106 8.39631 0.372564 8.41725C0.395568 8.45913 0.428769 8.51838 0.471981 8.59252C0.558349 8.7407 0.685043 8.94894 0.850599 9.19728C1.18078 9.69255 1.6704 10.3546 2.3086 11.0194C3.57073 12.3341 5.50387 13.75 7.99964 13.75C10.4954 13.75 12.4285 12.3341 13.6907 11.0194C14.3289 10.3546 14.8185 9.69255 15.1487 9.19728C15.3142 8.94894 15.4409 8.7407 15.5273 8.59252C15.5705 8.51838 15.6037 8.45913 15.6267 8.41725C15.6382 8.39631 15.6472 8.3797 15.6536 8.36773L15.6612 8.35328L15.6636 8.34874L15.6648 8.34652L15.845 8L15.6651 7.65399L14.9996 8C15.6651 7.65399 15.6645 7.65285 15.6645 7.65285L15.6636 7.65126L15.6612 7.64672L15.6536 7.63227C15.6472 7.6203 15.6382 7.60369 15.6267 7.58275C15.6037 7.54087 15.5705 7.48162 15.5273 7.40748C15.4409 7.2593 15.3142 7.05106 15.1487 6.80272C14.8185 6.30745 14.3289 5.64539 13.6907 4.9806C12.4285 3.66588 10.4954 2.25 7.99964 2.25ZM14.9996 8L15.6648 8.34652C15.6648 8.34652 15.6651 8.34601 14.9996 8ZM0.999638 8L0.334488 7.65348C0.334488 7.65348 0.334225 7.65399 0.999638 8ZM2.09867 8.36522C2.00649 8.22694 1.92852 8.10363 1.86519 8C1.92852 7.89637 2.00649 7.77306 2.09867 7.63478C2.39349 7.19255 2.82887 6.60461 3.39068 6.0194C4.52855 4.83412 6.09541 3.75 7.99964 3.75C9.90387 3.75 11.4707 4.83412 12.6086 6.0194C13.1704 6.60461 13.6058 7.19255 13.9006 7.63478C13.9928 7.77306 14.0708 7.89637 14.1341 8C14.0708 8.10363 13.9928 8.22694 13.9006 8.36522C13.6058 8.80745 13.1704 9.39539 12.6086 9.9806C11.4707 11.1659 9.90387 12.25 7.99964 12.25C6.09541 12.25 4.52855 11.1659 3.39068 9.9806C2.82887 9.39539 2.39349 8.80745 2.09867 8.36522Z" } })]);
|
|
602
|
+
}, Zn = [], jn = /* @__PURE__ */ P(
|
|
603
|
+
Vn,
|
|
604
|
+
Hn,
|
|
605
|
+
Zn,
|
|
606
|
+
!1,
|
|
607
|
+
null,
|
|
608
|
+
null,
|
|
609
|
+
null,
|
|
610
|
+
null
|
|
611
|
+
);
|
|
612
|
+
const qn = jn.exports;
|
|
613
|
+
let Me = 0;
|
|
614
|
+
const Yn = {
|
|
615
|
+
beforeCreate() {
|
|
616
|
+
this.uuid = Me.toString(), Me += 1;
|
|
617
|
+
}
|
|
618
|
+
};
|
|
619
|
+
var Xn = function() {
|
|
620
|
+
var e = this, n = e._self._c;
|
|
621
|
+
return n("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? n("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), n("path", { attrs: { fill: "#00112C", d: "M8 11.25L12.5 5.25H3.5L8 11.25Z" } })]);
|
|
622
|
+
}, Kn = [], Jn = /* @__PURE__ */ P(
|
|
623
|
+
Yn,
|
|
624
|
+
Xn,
|
|
625
|
+
Kn,
|
|
585
626
|
!1,
|
|
586
627
|
null,
|
|
587
628
|
null,
|
|
588
629
|
null,
|
|
589
630
|
null
|
|
590
631
|
);
|
|
591
|
-
const
|
|
632
|
+
const Qn = Jn.exports, es = {
|
|
592
633
|
"en-US": {
|
|
634
|
+
sortColumn: "Sort {name} column",
|
|
635
|
+
sortColumnInAscendingOrder: "Sort {name} column in ascending order",
|
|
636
|
+
sortColumnInDescendingOrder: "Sort {name} column in descending order",
|
|
593
637
|
freezeColumn: "Freeze column",
|
|
594
638
|
hideColumn: "Hide column",
|
|
595
639
|
moveColumnLeft: "Move column left",
|
|
@@ -600,11 +644,11 @@ const Us = $s.exports, Ms = {
|
|
|
600
644
|
showColumn: "Show column",
|
|
601
645
|
unfreezeColumn: "Unfreeze column"
|
|
602
646
|
}
|
|
603
|
-
},
|
|
604
|
-
i18n: { messages:
|
|
647
|
+
}, ts = {
|
|
648
|
+
i18n: { messages: es },
|
|
605
649
|
name: "data-grid-columns"
|
|
606
|
-
},
|
|
607
|
-
...
|
|
650
|
+
}, ns = /* @__PURE__ */ Z({
|
|
651
|
+
...ts,
|
|
608
652
|
props: {
|
|
609
653
|
/**
|
|
610
654
|
* Column definitions using 'key' to relate to data object.
|
|
@@ -714,166 +758,174 @@ const Us = $s.exports, Ms = {
|
|
|
714
758
|
default: !1
|
|
715
759
|
}
|
|
716
760
|
},
|
|
717
|
-
setup(
|
|
718
|
-
const
|
|
761
|
+
setup(s, { emit: e }) {
|
|
762
|
+
const n = s, { t } = oe(), { columns: l, sortBy: i } = de(n), _ = (d) => e(N.SELECT_ALL_ROWS, d), g = (d) => d.field === J, f = y(() => [
|
|
719
763
|
{
|
|
720
764
|
text: t("selectPage"),
|
|
721
|
-
handler: () =>
|
|
765
|
+
handler: () => _(!0)
|
|
722
766
|
},
|
|
723
767
|
{
|
|
724
768
|
text: t("selectAll"),
|
|
725
|
-
handler: () => e(
|
|
769
|
+
handler: () => e(N.SELECT_ALL_ACROSS_PAGES)
|
|
726
770
|
}
|
|
727
|
-
]), { startResize: v, isResizing:
|
|
728
|
-
var
|
|
729
|
-
if (!
|
|
771
|
+
]), { startResize: v, isResizing: c } = en(l, e), { isSorting: r, getSortingDirection: I, sortByColumnField: o } = rn(i, l, e), a = (d) => {
|
|
772
|
+
var M;
|
|
773
|
+
if (!d.sortable)
|
|
730
774
|
return null;
|
|
731
|
-
const
|
|
732
|
-
return
|
|
733
|
-
[
|
|
734
|
-
[
|
|
735
|
-
}[
|
|
736
|
-
},
|
|
737
|
-
dragstart: (
|
|
738
|
-
e(
|
|
775
|
+
const T = (M = n.sortBy.find(({ field: j }) => j === d.field)) == null ? void 0 : M.direction;
|
|
776
|
+
return T ? {
|
|
777
|
+
[H.ASCENDING]: ie.ASCENDING,
|
|
778
|
+
[H.DESCENDING]: ie.DESCENDING
|
|
779
|
+
}[T] : ie.NONE;
|
|
780
|
+
}, u = y(() => (d) => n.hasDraggableColumns ? {
|
|
781
|
+
dragstart: (T) => {
|
|
782
|
+
e(N.COLUMN_DRAG_START, d, T);
|
|
739
783
|
},
|
|
740
|
-
dragover: (
|
|
741
|
-
|
|
784
|
+
dragover: (T) => {
|
|
785
|
+
T.preventDefault();
|
|
742
786
|
},
|
|
743
|
-
dragenter: (
|
|
744
|
-
|
|
787
|
+
dragenter: (T) => {
|
|
788
|
+
T.preventDefault(), e(N.COLUMN_DRAG_ENTER, d, T);
|
|
745
789
|
},
|
|
746
790
|
drop: () => {
|
|
747
|
-
e(
|
|
791
|
+
e(N.COLUMN_DROP, d);
|
|
748
792
|
},
|
|
749
793
|
dragend: () => {
|
|
750
|
-
e(
|
|
794
|
+
e(N.COLUMN_DRAG_END);
|
|
751
795
|
}
|
|
752
|
-
} : {}),
|
|
796
|
+
} : {}), m = y(() => (d) => [
|
|
753
797
|
{
|
|
754
798
|
text: t("moveColumnLeft"),
|
|
755
|
-
handler: () => e(
|
|
756
|
-
icon:
|
|
757
|
-
disabled:
|
|
799
|
+
handler: () => e(N.COLUMN_MOVE, d, -1),
|
|
800
|
+
icon: Kt,
|
|
801
|
+
disabled: n.columns[0].field === d.field
|
|
758
802
|
},
|
|
759
803
|
{
|
|
760
804
|
text: t("moveColumnRight"),
|
|
761
|
-
handler: () => e(
|
|
762
|
-
icon:
|
|
763
|
-
disabled:
|
|
805
|
+
handler: () => e(N.COLUMN_MOVE, d, 1),
|
|
806
|
+
icon: bn,
|
|
807
|
+
disabled: n.columns[n.columns.length - 1].field === d.field
|
|
764
808
|
},
|
|
765
809
|
{
|
|
766
|
-
text:
|
|
767
|
-
handler: () => e(
|
|
768
|
-
icon:
|
|
810
|
+
text: d != null && d.frozen ? t("unfreezeColumn") : t("freezeColumn"),
|
|
811
|
+
handler: () => e(N.COLUMN_UPDATE, { ...d, frozen: !(d != null && d.frozen) }),
|
|
812
|
+
icon: Ye
|
|
769
813
|
},
|
|
770
814
|
{
|
|
771
|
-
text: (
|
|
815
|
+
text: (d == null ? void 0 : d.visible) !== !1 ? t("hideColumn") : t("showColumn"),
|
|
772
816
|
handler: () => {
|
|
773
|
-
e(
|
|
774
|
-
...
|
|
775
|
-
visible: (
|
|
817
|
+
e(N.COLUMN_UPDATE, {
|
|
818
|
+
...d,
|
|
819
|
+
visible: (d == null ? void 0 : d.visible) === !1
|
|
776
820
|
});
|
|
777
821
|
},
|
|
778
|
-
icon: (
|
|
779
|
-
disabled: (
|
|
822
|
+
icon: (d == null ? void 0 : d.visible) !== !1 ? $n : qn,
|
|
823
|
+
disabled: (d == null ? void 0 : d.mandatory) || (d == null ? void 0 : d.visible) !== !1 && n.isOnlyOneVisibleColumn
|
|
780
824
|
}
|
|
781
|
-
]),
|
|
782
|
-
let
|
|
783
|
-
return
|
|
784
|
-
...
|
|
785
|
-
}),
|
|
786
|
-
|
|
787
|
-
}), h;
|
|
788
|
-
}, S = E(
|
|
825
|
+
]), L = (d) => {
|
|
826
|
+
let T = {};
|
|
827
|
+
return g(d) || (T = {
|
|
828
|
+
...u.value(d)
|
|
829
|
+
}), T;
|
|
830
|
+
}, C = y(
|
|
789
831
|
() => {
|
|
790
|
-
var
|
|
791
|
-
return (
|
|
832
|
+
var d;
|
|
833
|
+
return (d = l.value[0]) != null && d.frozen ? {
|
|
792
834
|
"b-data-grid-columns--frozen": !0,
|
|
793
|
-
"b-data-grid-columns--frozen-separator":
|
|
794
|
-
"b-data-grid-columns--overflow-shadow-left":
|
|
835
|
+
"b-data-grid-columns--frozen-separator": n.showFrozenColumnsSeparator,
|
|
836
|
+
"b-data-grid-columns--overflow-shadow-left": n.hasLeftOverflow
|
|
795
837
|
} : {
|
|
796
|
-
"b-data-grid-columns--unfrozen": !0
|
|
797
|
-
"b-data-grid-columns--config-settings-margin": s.hasColumnPanel
|
|
838
|
+
"b-data-grid-columns--unfrozen": !0
|
|
798
839
|
};
|
|
799
840
|
}
|
|
800
|
-
),
|
|
801
|
-
var
|
|
841
|
+
), R = (d, T) => d && T === 0 ? Ie.BOTTOM_START : Ie.BOTTOM_END, A = (d) => {
|
|
842
|
+
var T, w, M, j, Y, $, q, Q, X, ee;
|
|
802
843
|
return {
|
|
803
|
-
"b-data-grid-columns__column--sortable":
|
|
804
|
-
"b-data-grid-columns__column--padding-left-unset": ((
|
|
805
|
-
"b-data-grid-columns__column--padding-right-unset": ((
|
|
806
|
-
"b-data-grid-columns__column--numeric":
|
|
807
|
-
"b-data-grid-columns__column--frozen":
|
|
808
|
-
"b-data-grid-columns__column--is-re-ordering": (
|
|
809
|
-
"b-data-grid-columns__column--is-re-ordering-target-left": (
|
|
810
|
-
"b-data-grid-columns__column--is-re-ordering-target-right": (
|
|
844
|
+
"b-data-grid-columns__column--sortable": d.sortable,
|
|
845
|
+
"b-data-grid-columns__column--padding-left-unset": ((T = d == null ? void 0 : d.padding) == null ? void 0 : T.left) === !1,
|
|
846
|
+
"b-data-grid-columns__column--padding-right-unset": ((w = d == null ? void 0 : d.padding) == null ? void 0 : w.right) === !1,
|
|
847
|
+
"b-data-grid-columns__column--numeric": d == null ? void 0 : d.numeric,
|
|
848
|
+
"b-data-grid-columns__column--frozen": d == null ? void 0 : d.frozen,
|
|
849
|
+
"b-data-grid-columns__column--is-re-ordering": (d == null ? void 0 : d.field) === ((j = (M = n.draggingColumns) == null ? void 0 : M.dragging) == null ? void 0 : j.field),
|
|
850
|
+
"b-data-grid-columns__column--is-re-ordering-target-left": (d == null ? void 0 : d.field) === (($ = (Y = n.draggingColumns) == null ? void 0 : Y.target) == null ? void 0 : $.field) && ((q = n.draggingColumns) == null ? void 0 : q.dragToLeft),
|
|
851
|
+
"b-data-grid-columns__column--is-re-ordering-target-right": (d == null ? void 0 : d.field) === ((X = (Q = n.draggingColumns) == null ? void 0 : Q.target) == null ? void 0 : X.field) && !((ee = n.draggingColumns) != null && ee.dragToLeft),
|
|
852
|
+
"b-data-grid-columns__column--with-sorting-or-column-panel": d.sortable || n.hasColumnPanel
|
|
811
853
|
};
|
|
812
|
-
},
|
|
813
|
-
"b-data-grid-columns__column-
|
|
814
|
-
})
|
|
815
|
-
"b-data-grid-columns__column-
|
|
854
|
+
}, S = (d) => ({
|
|
855
|
+
"b-data-grid-columns__column-header-and-actions--numeric": d == null ? void 0 : d.numeric
|
|
856
|
+
}), b = (d) => ({
|
|
857
|
+
"b-data-grid-columns__column-actions--numeric": d == null ? void 0 : d.numeric
|
|
858
|
+
}), O = y(() => ({
|
|
859
|
+
"b-data-grid-columns__column-separator-container--is-resizeable": n.hasResizableColumns
|
|
860
|
+
})), U = y(() => ({
|
|
861
|
+
"b-data-grid-columns__column-header--truncated": n.truncateColumnHeaders
|
|
816
862
|
}));
|
|
817
|
-
return { __sfc: !0, props:
|
|
863
|
+
return { __sfc: !0, props: n, emit: e, t, columns: l, sortBy: i, onAllRowSelect: _, isSelectColumn: g, selectAllMenu: f, startResize: v, isResizing: c, isSorting: r, getSortingDirection: I, sortByColumnField: o, getSortingColumnDirection: a, draggingEventsForColumn: u, contextualMenuData: m, dataGridColumnEvents: L, conditionalColumnsClasses: C, computeMenuPosition: R, conditionalColumnClasses: A, conditionalColumnHeaderAndActionsClasses: S, conditionalColumnActionsClasses: b, conditionalColumnSeparatorClasses: O, conditionalColumnHeaderClasses: U, BentoCheckbox: je, BentoDatagridSortDirection: H, BentoTypography: ae, BentoInfoIcon: Xt, DatagridColumnsEvent: N, BentoMenu: qe, BentoToggleButton: Ze, ArrowUpAndDownSortIcon: hn, SortAscendingIcon: Fn, SortDescendingIcon: kn, TriangleDown: Qn };
|
|
818
864
|
}
|
|
819
865
|
});
|
|
820
|
-
var
|
|
821
|
-
var e = this,
|
|
822
|
-
return
|
|
823
|
-
return
|
|
824
|
-
return [
|
|
825
|
-
},
|
|
866
|
+
var ss = function() {
|
|
867
|
+
var e = this, n = e._self._c, t = e._self._setupProxy;
|
|
868
|
+
return n("div", { staticClass: "b-data-grid-columns", class: t.conditionalColumnsClasses, attrs: { "data-testid": "data-grid-columns" } }, e._l(t.columns, function(l, i) {
|
|
869
|
+
return n("div", e._g({ key: l.field, staticClass: "b-data-grid-columns__column", class: t.conditionalColumnClasses(l), style: { width: `${l.width}px` }, attrs: { "aria-colindex": i + 1, "aria-label": l.label, "aria-sort": t.getSortingColumnDirection(l), "data-testid": `${l.field}-column-header`, draggable: e.hasDraggableColumns && !t.isResizing && !t.isSelectColumn(l), role: "columnheader", tabindex: l.sortable ? "0" : "-1" } }, t.dataGridColumnEvents(l)), [t.isSelectColumn(l) ? n("div", { staticClass: "b-data-grid-columns__select-column" }, [n(t.BentoCheckbox, { attrs: { "model-value": e.allItemsSelectedState.allItemsSelected, "data-testid": "checkbox-select-all", indeterminate: e.allItemsSelectedState.isIndeterminate, value: "data-grid-select-all" }, on: { "update:model-value": t.onAllRowSelect } }), e.selectableAcrossPages ? [n(t.BentoMenu, { staticClass: "b-data-grid-columns__select-column-menu", attrs: { data: t.selectAllMenu, "menu-position": "bottom-start", "menu-fixed-positioning": "", button: { variant: "tertiary", condensed: !0 } }, scopedSlots: e._u([{ key: "iconLeft", fn: function() {
|
|
870
|
+
return [n(t.TriangleDown, { attrs: { "svg-title": t.t("selectionMenu") } })];
|
|
871
|
+
}, proxy: !0 }], null, !0) })] : e._e()], 2) : [n("div", { staticClass: "b-data-grid-columns__column-header-and-actions", class: t.conditionalColumnHeaderAndActionsClasses(l) }, [n(t.BentoTypography, { staticClass: "b-data-grid-columns__column-header", class: t.conditionalColumnHeaderClasses, attrs: { el: "div", strongest: "" } }, [e._t(`head-${l.field}`, function() {
|
|
872
|
+
return [n("span", { staticClass: "b-data-grid-columns__label" }, [e._v(e._s(l.label))])];
|
|
873
|
+
}, { column: l })], 2), l.sortable || e.hasColumnPanel || l.infoIconTooltip ? n("div", { staticClass: "b-data-grid-columns__column-actions", class: t.conditionalColumnActionsClasses(l) }, [l.infoIconTooltip ? n("div", { staticClass: "b-data-grid-columns__column-info-icon" }, [n(t.BentoInfoIcon, { attrs: { "tooltip-text": l.infoIconTooltip } })], 1) : e._e(), l.sortable ? n("div", { staticClass: "b-data-grid-columns__column-sort" }, [n(t.BentoToggleButton, { attrs: { condensed: "", toggled: t.isSorting(l.field), variant: "tertiary" }, on: { click: function(_) {
|
|
874
|
+
return t.sortByColumnField(l.field);
|
|
875
|
+
} }, scopedSlots: e._u([{ key: "iconLeft", fn: function() {
|
|
876
|
+
return [t.getSortingDirection(l.field) ? t.getSortingDirection(l.field) === t.BentoDatagridSortDirection.ASCENDING ? n(t.SortAscendingIcon, { attrs: { "svg-title": t.t("sortColumnInDescendingOrder", { name: l.label }) } }) : t.getSortingDirection(l.field) === t.BentoDatagridSortDirection.DESCENDING ? n(t.SortDescendingIcon, { attrs: { "svg-title": t.t("sortColumnInAscendingOrder", { name: l.label }) } }) : e._e() : n(t.ArrowUpAndDownSortIcon, { attrs: { "svg-title": t.t("sortColumn", { name: l.label }) } })];
|
|
877
|
+
}, proxy: !0 }], null, !0) })], 1) : e._e(), e.hasColumnPanel ? n(t.BentoMenu, { staticClass: "b-data-grid-columns__menu", attrs: { data: t.contextualMenuData(l), "menu-position": t.computeMenuPosition(e.hasFirstColumnPanelRightAligned, i), "menu-fixed-positioning": !0, button: { variant: "tertiary", condensed: !0 } }, on: { open: function(_) {
|
|
826
878
|
return e.$emit(t.DatagridColumnsEvent.COLUMN_MENU_OPEN);
|
|
827
|
-
}, close: function(
|
|
879
|
+
}, close: function(_) {
|
|
828
880
|
return e.$emit(t.DatagridColumnsEvent.COLUMN_MENU_CLOSE);
|
|
829
|
-
} } }) : e._e()], 1) : e._e(),
|
|
830
|
-
return t.startResize(e.hasResizableColumns, l.field,
|
|
831
|
-
}, click: function(
|
|
832
|
-
|
|
833
|
-
} } }, [!e.isFrozenColumns || e.isFrozenColumns &&
|
|
881
|
+
} } }) : e._e()], 1) : e._e()], 1), n("div", { staticClass: "b-data-grid-columns__column-separator-container", class: t.conditionalColumnSeparatorClasses, attrs: { "data-testid": `data-grid-column-${l.field}`, role: "presentation" }, on: { mousedown: function(_) {
|
|
882
|
+
return t.startResize(e.hasResizableColumns, l.field, _);
|
|
883
|
+
}, click: function(_) {
|
|
884
|
+
_.stopPropagation();
|
|
885
|
+
} } }, [!e.isFrozenColumns || e.isFrozenColumns && i !== t.columns.length - 1 ? n("div", { staticClass: "b-data-grid-columns__column-separator" }) : e._e()])]], 2);
|
|
834
886
|
}), 0);
|
|
835
|
-
},
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
887
|
+
}, ls = [], is = /* @__PURE__ */ P(
|
|
888
|
+
ns,
|
|
889
|
+
ss,
|
|
890
|
+
ls,
|
|
839
891
|
!1,
|
|
840
892
|
null,
|
|
841
|
-
"
|
|
893
|
+
"9e5f2d1a",
|
|
842
894
|
null,
|
|
843
895
|
null
|
|
844
896
|
);
|
|
845
|
-
const
|
|
846
|
-
var
|
|
847
|
-
let
|
|
848
|
-
const
|
|
897
|
+
const as = is.exports;
|
|
898
|
+
var W = /* @__PURE__ */ ((s) => (s.CONFIG_SETTINGS = "config-settings", s.UPDATE_COLUMNS = "update:columns", s))(W || {});
|
|
899
|
+
let Ue = 0;
|
|
900
|
+
const os = {
|
|
849
901
|
beforeCreate() {
|
|
850
|
-
this.uuid =
|
|
902
|
+
this.uuid = Ue.toString(), Ue += 1;
|
|
851
903
|
}
|
|
852
904
|
};
|
|
853
|
-
var
|
|
854
|
-
var e = this,
|
|
855
|
-
return
|
|
856
|
-
},
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
905
|
+
var rs = function() {
|
|
906
|
+
var e = this, n = e._self._c;
|
|
907
|
+
return n("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? n("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), n("g", { attrs: { fill: "#00112C", "clip-path": "url(#uia-icons-16-settings__a" + e.uuid + ")" } }, [n("path", { attrs: { 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" } }), n("path", { attrs: { 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" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-icons-16-settings__a" + e.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
|
|
908
|
+
}, cs = [], ds = /* @__PURE__ */ P(
|
|
909
|
+
os,
|
|
910
|
+
rs,
|
|
911
|
+
cs,
|
|
860
912
|
!1,
|
|
861
913
|
null,
|
|
862
914
|
null,
|
|
863
915
|
null,
|
|
864
916
|
null
|
|
865
917
|
);
|
|
866
|
-
const
|
|
918
|
+
const us = ds.exports, _s = {
|
|
867
919
|
"en-US": {
|
|
868
920
|
toggleColumnVisibility: "Toggle {label} column visibility",
|
|
869
921
|
toggleColumnFreeze: "Toggle {label} column freeze"
|
|
870
922
|
}
|
|
871
|
-
},
|
|
872
|
-
i18n: { messages:
|
|
923
|
+
}, gs = Z({
|
|
924
|
+
i18n: { messages: _s },
|
|
873
925
|
name: "bento-data-grid",
|
|
874
926
|
components: {
|
|
875
|
-
BentoFreezeIcon:
|
|
876
|
-
BentoToggle:
|
|
927
|
+
BentoFreezeIcon: Ye,
|
|
928
|
+
BentoToggle: He
|
|
877
929
|
},
|
|
878
930
|
props: {
|
|
879
931
|
/**
|
|
@@ -892,54 +944,54 @@ const qs = js.exports, Ys = {
|
|
|
892
944
|
}
|
|
893
945
|
},
|
|
894
946
|
emits: ["visible-column", "updated-column"],
|
|
895
|
-
setup(
|
|
896
|
-
const
|
|
897
|
-
var
|
|
898
|
-
return (
|
|
899
|
-
}), l =
|
|
900
|
-
var
|
|
901
|
-
return ((
|
|
902
|
-
}),
|
|
903
|
-
e("visible-column", { ...
|
|
904
|
-
}, m = () => {
|
|
905
|
-
e("updated-column", { ...n.column, frozen: !t.value });
|
|
947
|
+
setup(s, { emit: e }) {
|
|
948
|
+
const n = E(!1), t = y(() => {
|
|
949
|
+
var c;
|
|
950
|
+
return (c = s.column) == null ? void 0 : c.frozen;
|
|
951
|
+
}), l = y(() => {
|
|
952
|
+
var c;
|
|
953
|
+
return ((c = s.column) == null ? void 0 : c.visible) !== !1;
|
|
954
|
+
}), i = () => {
|
|
955
|
+
e("visible-column", { ...s.column, visible: !l.value });
|
|
906
956
|
}, _ = () => {
|
|
907
|
-
|
|
957
|
+
e("updated-column", { ...s.column, frozen: !t.value });
|
|
908
958
|
}, g = () => {
|
|
909
|
-
t.value || (
|
|
910
|
-
},
|
|
959
|
+
t.value || (n.value = !0);
|
|
960
|
+
}, f = () => {
|
|
961
|
+
t.value || (n.value = !1);
|
|
962
|
+
}, v = y(() => ({
|
|
911
963
|
["b-data-grid-config-settings-column-row__freeze-icon--frozen"]: t.value
|
|
912
964
|
}));
|
|
913
965
|
return {
|
|
914
966
|
// Values
|
|
915
|
-
isFreezeIconOptionShown:
|
|
967
|
+
isFreezeIconOptionShown: n,
|
|
916
968
|
isColumnFrozen: t,
|
|
917
969
|
freezeIconConditionalClasses: v,
|
|
918
970
|
isColumnVisible: l,
|
|
919
971
|
// Methods
|
|
920
|
-
toggleColumnVisibility:
|
|
921
|
-
showFreezeIcon:
|
|
922
|
-
hideFreezeIcon:
|
|
923
|
-
toggleColumnFreeze:
|
|
972
|
+
toggleColumnVisibility: i,
|
|
973
|
+
showFreezeIcon: g,
|
|
974
|
+
hideFreezeIcon: f,
|
|
975
|
+
toggleColumnFreeze: _
|
|
924
976
|
};
|
|
925
977
|
}
|
|
926
978
|
});
|
|
927
|
-
var
|
|
928
|
-
var e = this,
|
|
929
|
-
return e._self._setupProxy,
|
|
979
|
+
var fs = function() {
|
|
980
|
+
var e = this, n = e._self._c;
|
|
981
|
+
return e._self._setupProxy, n("div", { staticClass: "b-data-grid-config-settings-column-row", on: { mouseover: e.showFreezeIcon, mouseleave: e.hideFreezeIcon } }, [n("bento-toggle", { attrs: { "aria-label": e.$t("toggleColumnVisibility", { label: e.column.label }), disabled: e.isColumnVisibilityToggleDisabled, "label-position": "after", value: e.isColumnVisible }, on: { input: e.toggleColumnVisibility } }, [e._v(" " + e._s(e.column.label) + " ")]), n("bento-freeze-icon", { directives: [{ name: "show", rawName: "v-show", value: e.isColumnFrozen || e.isFreezeIconOptionShown, expression: "isColumnFrozen || isFreezeIconOptionShown" }], staticClass: "b-data-grid-config-settings-column-row__freeze-icon", class: e.freezeIconConditionalClasses, attrs: { "aria-label": e.$t("toggleColumnFreeze", { label: e.column.label }) }, nativeOn: { click: function(t) {
|
|
930
982
|
return e.toggleColumnFreeze.apply(null, arguments);
|
|
931
983
|
} } })], 1);
|
|
932
|
-
},
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
984
|
+
}, Cs = [], ms = /* @__PURE__ */ P(
|
|
985
|
+
gs,
|
|
986
|
+
fs,
|
|
987
|
+
Cs,
|
|
936
988
|
!1,
|
|
937
989
|
null,
|
|
938
990
|
"246774cd",
|
|
939
991
|
null,
|
|
940
992
|
null
|
|
941
993
|
);
|
|
942
|
-
const
|
|
994
|
+
const vs = ms.exports, ps = {
|
|
943
995
|
"en-US": {
|
|
944
996
|
closeConfigSettingsPanel: "Close configuration settings panel",
|
|
945
997
|
configSettingsPanel: "Configuration settings Panel",
|
|
@@ -955,21 +1007,22 @@ const en = Qs.exports, tn = {
|
|
|
955
1007
|
closeSearch: "Close search",
|
|
956
1008
|
noColumnsMatch: "No columns match this search"
|
|
957
1009
|
}
|
|
958
|
-
},
|
|
959
|
-
i18n: { messages:
|
|
1010
|
+
}, hs = Z({
|
|
1011
|
+
i18n: { messages: ps },
|
|
960
1012
|
name: "bento-data-grid",
|
|
961
1013
|
components: {
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
1014
|
+
BentoButton: Ve,
|
|
1015
|
+
BentoCrossIcon: kt,
|
|
1016
|
+
BentoPopover: Gt,
|
|
1017
|
+
BentoSettingsIcon: us,
|
|
1018
|
+
BentoToggleButton: Ze,
|
|
1019
|
+
BentoDataGridConfigSettingsConfigRow: vs,
|
|
1020
|
+
BentoSearchBar: Bt,
|
|
1021
|
+
BentoSearchIcon: Vt,
|
|
1022
|
+
BentoToggle: He,
|
|
1023
|
+
BentoTypography: ae
|
|
971
1024
|
},
|
|
972
|
-
directives: { BentoClickOutsideDirective:
|
|
1025
|
+
directives: { BentoClickOutsideDirective: Zt },
|
|
973
1026
|
props: {
|
|
974
1027
|
/**
|
|
975
1028
|
* Column definitions
|
|
@@ -986,96 +1039,96 @@ const en = Qs.exports, tn = {
|
|
|
986
1039
|
default: !1
|
|
987
1040
|
}
|
|
988
1041
|
},
|
|
989
|
-
emits: [
|
|
990
|
-
setup(
|
|
991
|
-
const
|
|
992
|
-
|
|
993
|
-
}, I =
|
|
994
|
-
() => !
|
|
995
|
-
),
|
|
996
|
-
|
|
997
|
-
var
|
|
998
|
-
return (
|
|
999
|
-
}),
|
|
1000
|
-
},
|
|
1001
|
-
const
|
|
1002
|
-
...
|
|
1003
|
-
visible:
|
|
1042
|
+
emits: [W.CONFIG_SETTINGS, W.UPDATE_COLUMNS],
|
|
1043
|
+
setup(s, { emit: e }) {
|
|
1044
|
+
const n = E(null), t = Ht("data-grid-config-settings-popover"), l = E(null), i = E(!1), _ = E(!0), g = E(""), f = Ge(s, "columns"), v = E(!1), c = Wt(g, f), r = () => {
|
|
1045
|
+
g.value = "";
|
|
1046
|
+
}, I = y(
|
|
1047
|
+
() => !s.columns.some((S) => S.visible === !1 && !S.mandatory)
|
|
1048
|
+
), o = () => {
|
|
1049
|
+
r(), v.value = !v.value, v.value && G(() => {
|
|
1050
|
+
var S;
|
|
1051
|
+
return (S = l.value.bentoInputField) == null ? void 0 : S.focusInput();
|
|
1052
|
+
}), _.value = I.value;
|
|
1053
|
+
}, a = (S) => S.mandatory ?? !1, u = (S) => {
|
|
1054
|
+
const b = s.columns.map((O) => ({
|
|
1055
|
+
...O,
|
|
1056
|
+
visible: S.field === O.field ? S.visible : O.visible
|
|
1004
1057
|
}));
|
|
1005
|
-
e(
|
|
1006
|
-
},
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1058
|
+
e(W.UPDATE_COLUMNS, b);
|
|
1059
|
+
}, m = (S) => {
|
|
1060
|
+
S ? e(
|
|
1061
|
+
W.UPDATE_COLUMNS,
|
|
1062
|
+
s.columns.map((b) => ({ ...b, visible: !0 }))
|
|
1010
1063
|
) : e(
|
|
1011
|
-
|
|
1012
|
-
|
|
1064
|
+
W.UPDATE_COLUMNS,
|
|
1065
|
+
s.columns.map((b) => ({ ...b, visible: (b == null ? void 0 : b.mandatory) === !0 }))
|
|
1013
1066
|
);
|
|
1014
|
-
},
|
|
1015
|
-
const
|
|
1016
|
-
...
|
|
1017
|
-
frozen:
|
|
1067
|
+
}, L = (S) => {
|
|
1068
|
+
const b = s.columns.map((O) => ({
|
|
1069
|
+
...O,
|
|
1070
|
+
frozen: S.field === O.field ? !!(S != null && S.frozen) : !!(O != null && O.frozen)
|
|
1018
1071
|
}));
|
|
1019
|
-
e(
|
|
1020
|
-
},
|
|
1021
|
-
|
|
1072
|
+
e(W.UPDATE_COLUMNS, b);
|
|
1073
|
+
}, C = (S) => {
|
|
1074
|
+
i.value = S, _.value = I.value;
|
|
1022
1075
|
};
|
|
1023
1076
|
return {
|
|
1024
1077
|
// Values
|
|
1025
|
-
configSettingsButtonRef:
|
|
1078
|
+
configSettingsButtonRef: n,
|
|
1026
1079
|
popoverId: t,
|
|
1027
|
-
isConfigSettingsPanelOpen:
|
|
1028
|
-
allColumnsVisbilityToggleState:
|
|
1029
|
-
filteredColumnVisibilityColumns:
|
|
1030
|
-
searchTerm:
|
|
1080
|
+
isConfigSettingsPanelOpen: i,
|
|
1081
|
+
allColumnsVisbilityToggleState: _,
|
|
1082
|
+
filteredColumnVisibilityColumns: c,
|
|
1083
|
+
searchTerm: g,
|
|
1031
1084
|
isColumnVisibilityFilterShown: v,
|
|
1032
1085
|
searchBarRef: l,
|
|
1033
|
-
DATAGRID_SELECT_FIELD_NAME:
|
|
1086
|
+
DATAGRID_SELECT_FIELD_NAME: J,
|
|
1034
1087
|
// Methods
|
|
1035
|
-
setConfigSettingsPanelVisibility:
|
|
1036
|
-
emitCondensedToggle: (
|
|
1037
|
-
toggleAllColumnVisibility:
|
|
1038
|
-
clearAction:
|
|
1039
|
-
toggleColumnFilter:
|
|
1088
|
+
setConfigSettingsPanelVisibility: C,
|
|
1089
|
+
emitCondensedToggle: (S) => e(W.CONFIG_SETTINGS, S),
|
|
1090
|
+
toggleAllColumnVisibility: m,
|
|
1091
|
+
clearAction: r,
|
|
1092
|
+
toggleColumnFilter: o,
|
|
1040
1093
|
emitVisibleColumns: u,
|
|
1041
|
-
emitFrozenColumns:
|
|
1042
|
-
onClickOutside: () =>
|
|
1043
|
-
isColumnVisibilityToggleDisabled:
|
|
1094
|
+
emitFrozenColumns: L,
|
|
1095
|
+
onClickOutside: () => C(!1),
|
|
1096
|
+
isColumnVisibilityToggleDisabled: a
|
|
1044
1097
|
};
|
|
1045
1098
|
}
|
|
1046
1099
|
});
|
|
1047
|
-
var
|
|
1048
|
-
var e = this,
|
|
1049
|
-
return e._self._setupProxy,
|
|
1100
|
+
var Ls = function() {
|
|
1101
|
+
var e = this, n = e._self._c;
|
|
1102
|
+
return e._self._setupProxy, n("div", { directives: [{ name: "bento-click-outside-directive", rawName: "v-bento-click-outside-directive", value: e.onClickOutside, expression: "onClickOutside" }], staticClass: "b-data-grid-config-settings" }, [n("div", { staticClass: "b-data-grid-config-settings__button-and-separator" }, [n("div", { ref: "configSettingsButtonRef", staticClass: "b-data-grid-config-settings__button-container" }, [n("bento-toggle-button", { attrs: { "aria-controls": e.isConfigSettingsPanelOpen ? e.popoverId : null, variant: "tertiary", condensed: "", toggled: e.isConfigSettingsPanelOpen }, on: { click: function(t) {
|
|
1050
1103
|
return e.setConfigSettingsPanelVisibility(!e.isConfigSettingsPanelOpen);
|
|
1051
1104
|
} }, scopedSlots: e._u([{ key: "iconLeft", fn: function() {
|
|
1052
|
-
return [
|
|
1053
|
-
}, proxy: !0 }]) })], 1)]), e.configSettingsButtonRef ?
|
|
1105
|
+
return [n("bento-settings-icon", { attrs: { "svg-title": e.$t("toggleConfigSettingsPanelVisibility") } })];
|
|
1106
|
+
}, proxy: !0 }]) })], 1)]), e.configSettingsButtonRef ? n("bento-popover", { staticClass: "b-data-grid-config-settings__panel", attrs: { id: e.popoverId, open: e.isConfigSettingsPanelOpen, "aria-label": e.$t("configSettingsPanel"), "target-element": e.configSettingsButtonRef, position: "bottom-end" } }, [n("div", { staticClass: "b-data-grid-config-settings__panel-header" }, [n("bento-typography", { attrs: { el: "span", strongest: "" } }, [e._v(" " + e._s(e.$t("displayOptions")) + " ")]), n("bento-button", { attrs: { variant: "tertiary" }, on: { click: function(t) {
|
|
1054
1107
|
return e.setConfigSettingsPanelVisibility(!1);
|
|
1055
1108
|
} }, scopedSlots: e._u([{ key: "iconLeft", fn: function() {
|
|
1056
|
-
return [
|
|
1057
|
-
}, proxy: !0 }], null, !1, 13708930) })], 1),
|
|
1058
|
-
return [
|
|
1059
|
-
}, proxy: !0 }], null, !1, 2651303519) }, [e._v(" " + e._s(e.$t("closeSearch")) + " ")]) :
|
|
1060
|
-
return [
|
|
1061
|
-
}, proxy: !0 }], null, !1, 2341044271) }, [e._v(" " + e._s(e.$t("search")) + " ")])], 1), e.isColumnVisibilityFilterShown ?
|
|
1109
|
+
return [n("bento-cross-icon", { attrs: { "svg-title": e.$t("closeConfigSettingsPanel") } })];
|
|
1110
|
+
}, proxy: !0 }], null, !1, 13708930) })], 1), n("div", { staticClass: "b-data-grid-config-settings__condensed-view-settings" }, [n("bento-typography", { staticClass: "b-data-grid-config-settings__condensed-view-title", attrs: { el: "span", stronger: "" } }, [e._v(" " + e._s(e.$t("size")) + " ")]), n("bento-toggle", { attrs: { "label-position": "after", "aria-label": e.$t("condensedToggle"), value: e.condensed }, on: { input: e.emitCondensedToggle } }, [e._v(" " + e._s(e.$t("condensed")) + " ")])], 1), n("div", { staticClass: "b-data-grid-config-settings__column-visibility-settings" }, [n("div", { staticClass: "b-data-grid-config-settings__column-visibility-header" }, [n("bento-typography", { staticClass: "b-data-grid-config-settings__column-visibility-title", attrs: { el: "span", stronger: "" } }, [e._v(" " + e._s(e.$t("columns")) + " ")]), e.isColumnVisibilityFilterShown ? n("bento-button", { attrs: { variant: "tertiary" }, on: { click: e.toggleColumnFilter }, scopedSlots: e._u([{ key: "iconLeft", fn: function() {
|
|
1111
|
+
return [n("bento-cross-icon")];
|
|
1112
|
+
}, proxy: !0 }], null, !1, 2651303519) }, [e._v(" " + e._s(e.$t("closeSearch")) + " ")]) : n("bento-button", { attrs: { variant: "tertiary" }, on: { click: e.toggleColumnFilter }, scopedSlots: e._u([{ key: "iconLeft", fn: function() {
|
|
1113
|
+
return [n("bento-search-icon")];
|
|
1114
|
+
}, proxy: !0 }], null, !1, 2341044271) }, [e._v(" " + e._s(e.$t("search")) + " ")])], 1), e.isColumnVisibilityFilterShown ? n("div", { staticClass: "b-data-grid-config-settings__column-visibility-search" }, [n("bento-search-bar", { ref: "searchBarRef", attrs: { value: e.searchTerm, "input-field-aria-label": e.$t("columnVisibilitySearchFilter").toString() }, on: { input: function(t) {
|
|
1062
1115
|
e.searchTerm = t;
|
|
1063
1116
|
}, clear: e.clearAction, "escape-pressed": function(t) {
|
|
1064
1117
|
return e.toggleColumnFilter();
|
|
1065
|
-
} } })], 1) :
|
|
1066
|
-
return
|
|
1067
|
-
}), e.filteredColumnVisibilityColumns.length === 0 ?
|
|
1068
|
-
},
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1118
|
+
} } })], 1) : n("div", { staticClass: "b-data-grid-config-settings__column-visibility-show-all" }, [n("bento-toggle", { attrs: { "label-position": "after", value: e.allColumnsVisbilityToggleState }, on: { input: e.toggleAllColumnVisibility } }, [e._v(" " + e._s(e.$t("showAllColumns", { numberOfColumns: e.columns.length })) + " ")])], 1), n("div", { staticClass: "b-data-grid-config-settings__column-visibility-toggles" }, [e._l(e.filteredColumnVisibilityColumns, function(t) {
|
|
1119
|
+
return n("div", { key: t.field }, [t.field !== e.DATAGRID_SELECT_FIELD_NAME ? n("bento-data-grid-config-settings-config-row", { attrs: { column: t, "is-column-visibility-toggle-disabled": e.isColumnVisibilityToggleDisabled(t) }, on: { "visible-column": e.emitVisibleColumns, "updated-column": e.emitFrozenColumns } }) : e._e()], 1);
|
|
1120
|
+
}), e.filteredColumnVisibilityColumns.length === 0 ? n("bento-typography", { staticClass: "b-data-grid-config-settings__column-visibility-empty-search-message", attrs: { el: "span" } }, [e._v(" " + e._s(e.$t("noColumnsMatch")) + " ")]) : e._e()], 2)])]) : e._e()], 1);
|
|
1121
|
+
}, Ss = [], ys = /* @__PURE__ */ P(
|
|
1122
|
+
hs,
|
|
1123
|
+
Ls,
|
|
1124
|
+
Ss,
|
|
1072
1125
|
!1,
|
|
1073
1126
|
null,
|
|
1074
|
-
"
|
|
1127
|
+
"81e18410",
|
|
1075
1128
|
null,
|
|
1076
1129
|
null
|
|
1077
1130
|
);
|
|
1078
|
-
const
|
|
1131
|
+
const Es = ys.exports, Xe = {
|
|
1079
1132
|
"en-US": {
|
|
1080
1133
|
gettingYourData: "Getting your data",
|
|
1081
1134
|
loading: "Loading",
|
|
@@ -1085,66 +1138,66 @@ const on = an.exports, He = {
|
|
|
1085
1138
|
sortInactive: "{field} sort inactive",
|
|
1086
1139
|
selectRow: "Select row"
|
|
1087
1140
|
}
|
|
1088
|
-
},
|
|
1089
|
-
i18n: { messages:
|
|
1090
|
-
},
|
|
1091
|
-
...
|
|
1141
|
+
}, bs = {
|
|
1142
|
+
i18n: { messages: Xe }
|
|
1143
|
+
}, Is = /* @__PURE__ */ Z({
|
|
1144
|
+
...bs,
|
|
1092
1145
|
__name: "data-grid-lazy-load",
|
|
1093
1146
|
props: {
|
|
1094
1147
|
loading: { type: Boolean },
|
|
1095
1148
|
isInfiniteScroll: { type: Boolean }
|
|
1096
1149
|
},
|
|
1097
|
-
setup(
|
|
1098
|
-
return { __sfc: !0, BentoLoadingButton:
|
|
1150
|
+
setup(s) {
|
|
1151
|
+
return { __sfc: !0, BentoLoadingButton: Jt, BentoLoadingButtonState: Qt, BentoLoadingIndicator: Be, BentoDatagridEvent: h };
|
|
1099
1152
|
}
|
|
1100
1153
|
});
|
|
1101
|
-
var
|
|
1102
|
-
var e = this,
|
|
1103
|
-
return
|
|
1154
|
+
var Rs = function() {
|
|
1155
|
+
var e = this, n = e._self._c, t = e._self._setupProxy;
|
|
1156
|
+
return n("div", { staticClass: "b-data-grid-lazy-load" }, [e.loading && e.isInfiniteScroll ? n(t.BentoLoadingIndicator) : e._e(), e.loading && !e.isInfiniteScroll ? n(t.BentoLoadingButton, { attrs: { variant: "secondary", state: t.BentoLoadingButtonState.LOADING } }, [e._v(e._s(e.$t("loading")))]) : e._e(), !e.loading && !e.isInfiniteScroll ? n(t.BentoLoadingButton, { attrs: { state: t.BentoLoadingButtonState.START, variant: "secondary" }, on: { click: function(l) {
|
|
1104
1157
|
return e.$emit(t.BentoDatagridEvent.UPDATE_SHOW_MORE);
|
|
1105
1158
|
} } }, [e._v(e._s(e.$t("showMore")))]) : e._e()], 1);
|
|
1106
|
-
},
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1159
|
+
}, As = [], Ts = /* @__PURE__ */ P(
|
|
1160
|
+
Is,
|
|
1161
|
+
Rs,
|
|
1162
|
+
As,
|
|
1110
1163
|
!1,
|
|
1111
1164
|
null,
|
|
1112
1165
|
"434be84c",
|
|
1113
1166
|
null,
|
|
1114
1167
|
null
|
|
1115
1168
|
);
|
|
1116
|
-
const
|
|
1117
|
-
let
|
|
1118
|
-
const
|
|
1169
|
+
const ws = Ts.exports;
|
|
1170
|
+
let Fe = 0;
|
|
1171
|
+
const Os = {
|
|
1119
1172
|
beforeCreate() {
|
|
1120
|
-
this.uuid =
|
|
1173
|
+
this.uuid = Fe.toString(), Fe += 1;
|
|
1121
1174
|
}
|
|
1122
1175
|
};
|
|
1123
|
-
var
|
|
1124
|
-
var e = this,
|
|
1125
|
-
return
|
|
1126
|
-
},
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1176
|
+
var Ds = function() {
|
|
1177
|
+
var e = this, n = e._self._c;
|
|
1178
|
+
return n("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? n("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), n("path", { attrs: { fill: "#00112C", 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" } })]);
|
|
1179
|
+
}, Ns = [], $s = /* @__PURE__ */ P(
|
|
1180
|
+
Os,
|
|
1181
|
+
Ds,
|
|
1182
|
+
Ns,
|
|
1130
1183
|
!1,
|
|
1131
1184
|
null,
|
|
1132
1185
|
null,
|
|
1133
1186
|
null,
|
|
1134
1187
|
null
|
|
1135
1188
|
);
|
|
1136
|
-
const
|
|
1189
|
+
const Ps = $s.exports, xs = {
|
|
1137
1190
|
"en-US": {
|
|
1138
1191
|
copy: "Copy",
|
|
1139
1192
|
edit: "Edit",
|
|
1140
1193
|
open: "Open",
|
|
1141
1194
|
more: "More"
|
|
1142
1195
|
}
|
|
1143
|
-
},
|
|
1144
|
-
i18n: { messages:
|
|
1196
|
+
}, Ms = {
|
|
1197
|
+
i18n: { messages: xs },
|
|
1145
1198
|
name: "data-grid-cell-actions"
|
|
1146
|
-
},
|
|
1147
|
-
...
|
|
1199
|
+
}, Us = /* @__PURE__ */ Z({
|
|
1200
|
+
...Ms,
|
|
1148
1201
|
props: {
|
|
1149
1202
|
/**
|
|
1150
1203
|
* Column definitions using 'key' to relate to data object.
|
|
@@ -1152,7 +1205,7 @@ const pn = vn.exports, hn = {
|
|
|
1152
1205
|
cellActions: {
|
|
1153
1206
|
type: Array,
|
|
1154
1207
|
required: !0,
|
|
1155
|
-
validator: (
|
|
1208
|
+
validator: (s) => (s == null ? void 0 : s.length) <= 2
|
|
1156
1209
|
},
|
|
1157
1210
|
/**
|
|
1158
1211
|
* The column field key.
|
|
@@ -1169,80 +1222,80 @@ const pn = vn.exports, hn = {
|
|
|
1169
1222
|
required: !0
|
|
1170
1223
|
}
|
|
1171
1224
|
},
|
|
1172
|
-
setup(
|
|
1173
|
-
const e =
|
|
1174
|
-
var
|
|
1175
|
-
return ((
|
|
1225
|
+
setup(s) {
|
|
1226
|
+
const e = s, { t: n } = oe(), t = E(), l = y(() => {
|
|
1227
|
+
var c;
|
|
1228
|
+
return ((c = e.cellActions) == null ? void 0 : c.length) > 2 && We(
|
|
1176
1229
|
"WARNING: BentoDataGrid Cell actions can only have a maximum of 2 actions, if you need more consider using the menuData property instead."
|
|
1177
1230
|
), e.cellActions.slice(0, 2);
|
|
1178
|
-
}),
|
|
1179
|
-
if (!(!
|
|
1180
|
-
switch (
|
|
1231
|
+
}), i = y(() => (c, r) => {
|
|
1232
|
+
if (!(!r && c.isShort || r && !c.isShort))
|
|
1233
|
+
switch (c.variant) {
|
|
1181
1234
|
case "copy":
|
|
1182
|
-
return
|
|
1235
|
+
return n("copy");
|
|
1183
1236
|
case "edit":
|
|
1184
|
-
return
|
|
1237
|
+
return n("edit");
|
|
1185
1238
|
case "open":
|
|
1186
|
-
return
|
|
1239
|
+
return n("open");
|
|
1187
1240
|
case "more":
|
|
1188
|
-
return
|
|
1241
|
+
return n("more");
|
|
1189
1242
|
default:
|
|
1190
|
-
return
|
|
1243
|
+
return c.title;
|
|
1191
1244
|
}
|
|
1192
1245
|
});
|
|
1193
|
-
return { __sfc: !0, t:
|
|
1194
|
-
click: () =>
|
|
1195
|
-
} : {}, getCopyText: (
|
|
1196
|
-
var
|
|
1197
|
-
return (
|
|
1198
|
-
}, shouldShowMenuIconRight: (
|
|
1246
|
+
return { __sfc: !0, t: n, props: e, cellActionsMenu: t, limitedRowCellActionsProps: l, getButtonTitle: i, generateButtonEvents: (c) => (c == null ? void 0 : c.event) !== void 0 ? {
|
|
1247
|
+
click: () => c.event(e.rowDataItem, e.columnKey)
|
|
1248
|
+
} : {}, getCopyText: (c) => {
|
|
1249
|
+
var r, I;
|
|
1250
|
+
return (c == null ? void 0 : c.getCopyData) !== void 0 ? c.getCopyData(e.rowDataItem, e.columnKey) : (I = (r = e.rowDataItem) == null ? void 0 : r[e.columnKey]) == null ? void 0 : I.toString();
|
|
1251
|
+
}, shouldShowMenuIconRight: (c) => c.iconRight || ((c == null ? void 0 : c.variant) === "more" || (c == null ? void 0 : c.variant) === "open") && !c.isShort, shouldShowMenuIconLeft: (c) => c.iconLeft || (c == null ? void 0 : c.variant) === "more", BentoButton: Ve, BentoMenu: qe, Copy: Yt, Edit1Icon: Ps, ExternalLinkIcon: qt, OptionsVerticalIcon: jt };
|
|
1199
1252
|
}
|
|
1200
1253
|
});
|
|
1201
|
-
var
|
|
1202
|
-
var e = this,
|
|
1203
|
-
return
|
|
1204
|
-
return
|
|
1254
|
+
var Fs = function() {
|
|
1255
|
+
var e = this, n = e._self._c, t = e._self._setupProxy;
|
|
1256
|
+
return n("Transition", { attrs: { name: "b-data-grid-cell-actions__animation", appear: "" } }, [n("div", { staticClass: "b-data-grid-cell-actions" }, [n("div", { staticClass: "b-data-grid-cell-actions__background-gradient" }), n("div", { staticClass: "b-data-grid-cell-actions__actions", attrs: { role: "group" } }, e._l(t.limitedRowCellActionsProps, function(l, i) {
|
|
1257
|
+
return n("div", { key: i, staticClass: "b-data-grid-cell-actions__action" }, [l.menuData ? n(t.BentoMenu, { ref: "cellActionsMenu", refInFor: !0, attrs: { data: l.menuData, button: {
|
|
1205
1258
|
condensed: !0,
|
|
1206
1259
|
variant: "secondary",
|
|
1207
1260
|
disabled: l.disabled
|
|
1208
1261
|
} }, scopedSlots: e._u([t.shouldShowMenuIconLeft(l) ? { key: "iconLeft", fn: function() {
|
|
1209
|
-
return [(l == null ? void 0 : l.variant) === "more" ?
|
|
1262
|
+
return [(l == null ? void 0 : l.variant) === "more" ? n(t.OptionsVerticalIcon, { attrs: { "svg-title": t.getButtonTitle(l, !0) } }) : n(l.iconLeft, { tag: "component", attrs: { "svg-title": t.getButtonTitle(l, !0) } })];
|
|
1210
1263
|
}, proxy: !0 } : null, l != null && l.isShort ? null : { key: "default", fn: function() {
|
|
1211
1264
|
return [e._v(" " + e._s(t.getButtonTitle(l)) + " ")];
|
|
1212
1265
|
}, proxy: !0 }, t.shouldShowMenuIconRight(l) ? { key: "iconRight", fn: function() {
|
|
1213
|
-
return [(l == null ? void 0 : l.variant) === "open" ?
|
|
1214
|
-
}, proxy: !0 } : null], null, !0) }) : l.variant === "copy" ?
|
|
1266
|
+
return [(l == null ? void 0 : l.variant) === "open" ? n(t.ExternalLinkIcon, { attrs: { "svg-title": t.getButtonTitle(l, !0) } }) : n(l.iconRight, { tag: "component", attrs: { "svg-title": l.title } })];
|
|
1267
|
+
}, proxy: !0 } : null], null, !0) }) : l.variant === "copy" ? n(t.Copy, { attrs: { text: t.getCopyText(l), "button-text": t.getButtonTitle(l), button: {
|
|
1215
1268
|
condensed: !0,
|
|
1216
1269
|
variant: "secondary"
|
|
1217
|
-
} } }) :
|
|
1218
|
-
return [(l == null ? void 0 : l.variant) === "edit" ?
|
|
1270
|
+
} } }) : n(t.BentoButton, e._g({ attrs: { condensed: "", variant: "secondary", critical: l.critical, disabled: l.disabled, link: l.link }, scopedSlots: e._u([l.iconLeft || l.variant === "edit" ? { key: "iconLeft", fn: function() {
|
|
1271
|
+
return [(l == null ? void 0 : l.variant) === "edit" ? n(t.Edit1Icon, { attrs: { "svg-title": t.getButtonTitle(l, !0) } }) : n(l.iconLeft, { tag: "component", attrs: { "svg-title": l.title } })];
|
|
1219
1272
|
}, proxy: !0 } : null, l != null && l.isShort ? null : { key: "default", fn: function() {
|
|
1220
1273
|
return [e._v(" " + e._s(t.getButtonTitle(l)) + " ")];
|
|
1221
1274
|
}, proxy: !0 }, l.iconRight || l.variant === "open" ? { key: "iconRight", fn: function() {
|
|
1222
|
-
return [(l == null ? void 0 : l.variant) === "open" ?
|
|
1275
|
+
return [(l == null ? void 0 : l.variant) === "open" ? n(t.ExternalLinkIcon, { attrs: { "svg-title": t.getButtonTitle(l, !0) } }) : n(l.iconRight, { tag: "component", attrs: { "svg-title": l.title } })];
|
|
1223
1276
|
}, proxy: !0 } : null], null, !0) }, t.generateButtonEvents(l)))], 1);
|
|
1224
1277
|
}), 0)])]);
|
|
1225
|
-
},
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1278
|
+
}, zs = [], Gs = /* @__PURE__ */ P(
|
|
1279
|
+
Us,
|
|
1280
|
+
Fs,
|
|
1281
|
+
zs,
|
|
1229
1282
|
!1,
|
|
1230
1283
|
null,
|
|
1231
1284
|
"ab88b1aa",
|
|
1232
1285
|
null,
|
|
1233
1286
|
null
|
|
1234
1287
|
);
|
|
1235
|
-
const
|
|
1236
|
-
var
|
|
1237
|
-
const
|
|
1288
|
+
const Bs = Gs.exports;
|
|
1289
|
+
var F = /* @__PURE__ */ ((s) => (s.PADDING_LEFT_UNSET = "padding-left-unset", s.PADDING_RIGHT_UNSET = "padding-right-unset", s.NUMERIC = "numeric", s.CONDENSED = "condensed", s.FROZEN = "frozen", s.OVERFLOW_ELLIPSIS = "overflow-ellipsis", s.IS_COLUMN_REORDERING = "is-column-re-ordering", s.IS_COLUMN_REORDERING_TARGET_LEFT = "is-column-re-order-target-left", s.IS_COLUMN_REORDERING_TARGET_RIGHT = "is-column-re-order-target-right", s))(F || {});
|
|
1290
|
+
const Ws = {
|
|
1238
1291
|
"en-US": {
|
|
1239
1292
|
selectRow: "Select row"
|
|
1240
1293
|
}
|
|
1241
|
-
},
|
|
1242
|
-
i18n: { messages:
|
|
1294
|
+
}, ks = {
|
|
1295
|
+
i18n: { messages: Ws },
|
|
1243
1296
|
name: "data-grid-cell"
|
|
1244
|
-
},
|
|
1245
|
-
...
|
|
1297
|
+
}, Vs = /* @__PURE__ */ Z({
|
|
1298
|
+
...ks,
|
|
1246
1299
|
props: {
|
|
1247
1300
|
draggingEventsForRowCell: {
|
|
1248
1301
|
type: Function,
|
|
@@ -1290,7 +1343,7 @@ const Rn = {
|
|
|
1290
1343
|
*/
|
|
1291
1344
|
getDataItemId: {
|
|
1292
1345
|
type: Function,
|
|
1293
|
-
default: (
|
|
1346
|
+
default: (s) => s.id
|
|
1294
1347
|
},
|
|
1295
1348
|
/**
|
|
1296
1349
|
* A customisable method to determine if a row is not selectable.
|
|
@@ -1321,60 +1374,60 @@ const Rn = {
|
|
|
1321
1374
|
}
|
|
1322
1375
|
},
|
|
1323
1376
|
emits: ["on-frozen-columns-key-press", "select-row", "register-row-cell-element"],
|
|
1324
|
-
setup(
|
|
1325
|
-
const t =
|
|
1377
|
+
setup(s, { expose: e, emit: n }) {
|
|
1378
|
+
const t = s, { t: l } = oe(), i = E(null), _ = E(!1), g = (a, u) => (a == null ? void 0 : a.overflow) === re.ELLIPSIS ? `${u}` : void 0, f = (a) => a ?? "-", v = (a) => t.columnSets.slice(0, a).reduce((u, { columnSet: m }) => u + m.length, 0), c = (a, u) => a + v(u), r = (a, u, m) => v() * a + c(u, m), I = (a) => {
|
|
1326
1379
|
const u = {
|
|
1327
|
-
...t.draggingEventsForRowCell(
|
|
1380
|
+
...t.draggingEventsForRowCell(a)
|
|
1328
1381
|
};
|
|
1329
|
-
return
|
|
1330
|
-
|
|
1382
|
+
return a.frozen && (u.keyup = (m) => n("on-frozen-columns-key-press", m), u.keydown = (m) => n("on-frozen-columns-key-press", m)), a.cellActions && (u.mouseenter = () => {
|
|
1383
|
+
_.value = !0;
|
|
1331
1384
|
}, u.mouseleave = () => {
|
|
1332
|
-
|
|
1385
|
+
_.value = !1;
|
|
1333
1386
|
}), u;
|
|
1334
|
-
},
|
|
1335
|
-
var u,
|
|
1387
|
+
}, o = (a) => {
|
|
1388
|
+
var u, m, L, C, R, A, S;
|
|
1336
1389
|
return {
|
|
1337
|
-
[`b-data-grid-cell--${
|
|
1338
|
-
[`b-data-grid-cell--${
|
|
1339
|
-
[`b-data-grid-cell--${
|
|
1340
|
-
[`b-data-grid-cell--${
|
|
1341
|
-
[`b-data-grid-cell--${
|
|
1342
|
-
[`b-data-grid-cell--${
|
|
1343
|
-
[`b-data-grid-cell--${
|
|
1344
|
-
[`b-data-grid-cell--${
|
|
1345
|
-
[`b-data-grid-cell--${
|
|
1390
|
+
[`b-data-grid-cell--${F.PADDING_LEFT_UNSET}`]: ((u = a == null ? void 0 : a.padding) == null ? void 0 : u.left) === !1,
|
|
1391
|
+
[`b-data-grid-cell--${F.PADDING_RIGHT_UNSET}`]: ((m = a == null ? void 0 : a.padding) == null ? void 0 : m.right) === !1,
|
|
1392
|
+
[`b-data-grid-cell--${F.NUMERIC}`]: a == null ? void 0 : a.numeric,
|
|
1393
|
+
[`b-data-grid-cell--${F.CONDENSED}`]: t.condensed,
|
|
1394
|
+
[`b-data-grid-cell--${F.FROZEN}`]: a == null ? void 0 : a.frozen,
|
|
1395
|
+
[`b-data-grid-cell--${F.OVERFLOW_ELLIPSIS}`]: (a == null ? void 0 : a.overflow) === re.ELLIPSIS,
|
|
1396
|
+
[`b-data-grid-cell--${F.IS_COLUMN_REORDERING}`]: ((L = t.draggingColumns.dragging) == null ? void 0 : L.field) === a.field,
|
|
1397
|
+
[`b-data-grid-cell--${F.IS_COLUMN_REORDERING_TARGET_LEFT}`]: ((C = t.draggingColumns.target) == null ? void 0 : C.field) === a.field && ((R = t.draggingColumns) == null ? void 0 : R.dragToLeft),
|
|
1398
|
+
[`b-data-grid-cell--${F.IS_COLUMN_REORDERING_TARGET_RIGHT}`]: ((A = t.draggingColumns.target) == null ? void 0 : A.field) === a.field && !((S = t.draggingColumns) != null && S.dragToLeft)
|
|
1346
1399
|
};
|
|
1347
1400
|
};
|
|
1348
1401
|
return e({
|
|
1349
|
-
gridcellRef:
|
|
1350
|
-
}), { __sfc: !0, t: l, props: t, emit:
|
|
1402
|
+
gridcellRef: i
|
|
1403
|
+
}), { __sfc: !0, t: l, props: t, emit: n, gridcellRef: i, shouldShowCellActions: _, conditionalTitleAttribute: g, getRowData: f, sumColumnAmountsInColumnSets: v, getColIndex: c, getCellIndex: r, getGridcellEvents: I, conditionalRowCellClasses: o, DATAGRID_SELECT_FIELD_NAME: J, BentoCheckbox: je, BentoTypography: ae, DataGridCellActions: Bs };
|
|
1351
1404
|
}
|
|
1352
1405
|
});
|
|
1353
|
-
var
|
|
1406
|
+
var Hs = function() {
|
|
1354
1407
|
var l;
|
|
1355
|
-
var e = this,
|
|
1356
|
-
return
|
|
1408
|
+
var e = this, n = e._self._c, t = e._self._setupProxy;
|
|
1409
|
+
return n("div", e._g({ key: `cell-${e.column.field}`, ref: "gridcellRef", staticClass: "b-data-grid-cell", class: t.conditionalRowCellClasses(e.column), style: {
|
|
1357
1410
|
width: e.column.autoWidth && e.isMeasuringColumnWidths ? "auto" : `${e.column.width}px`
|
|
1358
|
-
}, attrs: { "data-testid": `cell-${e.column.field}`, "data-cellindex": t.getCellIndex(e.rowIndex, e.colIndex, e.columnSetIndex), role: "gridcell", tabindex: t.getCellIndex(e.rowIndex, e.colIndex, e.columnSetIndex) === 0 ? "0" : "-1", "aria-colindex": t.getColIndex(e.colIndex, e.columnSetIndex) + 1 } }, t.getGridcellEvents(e.column)), [e.column.field !== t.DATAGRID_SELECT_FIELD_NAME ? [
|
|
1359
|
-
return [
|
|
1360
|
-
}, { item: e.rowData })], 2), ((l = e.column.cellActions) == null ? void 0 : l.length) > 0 ?
|
|
1361
|
-
return e.$emit("select-row",
|
|
1411
|
+
}, attrs: { "data-testid": `cell-${e.column.field}`, "data-cellindex": t.getCellIndex(e.rowIndex, e.colIndex, e.columnSetIndex), role: "gridcell", tabindex: t.getCellIndex(e.rowIndex, e.colIndex, e.columnSetIndex) === 0 ? "0" : "-1", "aria-colindex": t.getColIndex(e.colIndex, e.columnSetIndex) + 1 } }, t.getGridcellEvents(e.column)), [e.column.field !== t.DATAGRID_SELECT_FIELD_NAME ? [n(t.BentoTypography, { attrs: { el: "div" } }, [e._t(`item-${e.column.field}`, function() {
|
|
1412
|
+
return [n("span", { attrs: { title: t.conditionalTitleAttribute(e.column, e.rowData[e.column.field]) } }, [e._v(e._s(t.getRowData(e.rowData[e.column.field])))])];
|
|
1413
|
+
}, { item: e.rowData })], 2), ((l = e.column.cellActions) == null ? void 0 : l.length) > 0 ? n("div", { staticClass: "b-data-grid-cell__cell-actions" }, [t.shouldShowCellActions ? n(t.DataGridCellActions, { attrs: { "cell-actions": e.column.cellActions, "column-key": e.column.field, "row-data-item": e.rowData } }) : e._e()], 1) : e._e()] : [n(t.BentoCheckbox, { staticClass: "b-data-grid-cell__select-cell", attrs: { "aria-label": t.t("selectRow"), "model-value": e.selectedItems, disabled: e.isDataItemDisabled(e.rowData), value: e.getDataItemId(e.rowData) }, on: { "update:model-value": function(i) {
|
|
1414
|
+
return e.$emit("select-row", i);
|
|
1362
1415
|
} } })]], 2);
|
|
1363
|
-
},
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1416
|
+
}, Zs = [], js = /* @__PURE__ */ P(
|
|
1417
|
+
Vs,
|
|
1418
|
+
Hs,
|
|
1419
|
+
Zs,
|
|
1367
1420
|
!1,
|
|
1368
1421
|
null,
|
|
1369
1422
|
"26110fcc",
|
|
1370
1423
|
null,
|
|
1371
1424
|
null
|
|
1372
1425
|
);
|
|
1373
|
-
const
|
|
1374
|
-
i18n: { messages:
|
|
1426
|
+
const qs = js.exports, Ys = {
|
|
1427
|
+
i18n: { messages: Xe },
|
|
1375
1428
|
name: "bento-data-grid"
|
|
1376
|
-
},
|
|
1377
|
-
...
|
|
1429
|
+
}, Xs = /* @__PURE__ */ Z({
|
|
1430
|
+
...Ys,
|
|
1378
1431
|
props: {
|
|
1379
1432
|
/**
|
|
1380
1433
|
* When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
|
|
@@ -1435,7 +1488,7 @@ const Nn = Dn.exports, Pn = {
|
|
|
1435
1488
|
* {@see BentoFilterBarModel}
|
|
1436
1489
|
*/
|
|
1437
1490
|
filters: {
|
|
1438
|
-
type:
|
|
1491
|
+
type: le.props.value.type,
|
|
1439
1492
|
default: void 0
|
|
1440
1493
|
},
|
|
1441
1494
|
/**
|
|
@@ -1443,14 +1496,14 @@ const Nn = Dn.exports, Pn = {
|
|
|
1443
1496
|
* {@see BentoFilterValues}
|
|
1444
1497
|
*/
|
|
1445
1498
|
filterValues: {
|
|
1446
|
-
type:
|
|
1499
|
+
type: le.props.filterValues.type,
|
|
1447
1500
|
default: () => []
|
|
1448
1501
|
},
|
|
1449
1502
|
/**
|
|
1450
1503
|
* Filter bar search term useful to filter all the data by text
|
|
1451
1504
|
*/
|
|
1452
1505
|
filterSearchTerm: {
|
|
1453
|
-
type:
|
|
1506
|
+
type: le.props.searchTerm.type,
|
|
1454
1507
|
default: void 0
|
|
1455
1508
|
},
|
|
1456
1509
|
/**
|
|
@@ -1463,7 +1516,7 @@ const Nn = Dn.exports, Pn = {
|
|
|
1463
1516
|
*/
|
|
1464
1517
|
getDataItemId: {
|
|
1465
1518
|
type: Function,
|
|
1466
|
-
default: (
|
|
1519
|
+
default: (s) => s.id
|
|
1467
1520
|
},
|
|
1468
1521
|
/**
|
|
1469
1522
|
* If resize is enabled
|
|
@@ -1489,7 +1542,7 @@ const Nn = Dn.exports, Pn = {
|
|
|
1489
1542
|
lazyLoadType: {
|
|
1490
1543
|
type: String,
|
|
1491
1544
|
default: "none",
|
|
1492
|
-
validator: (
|
|
1545
|
+
validator: (s) => ["automatic", "button", "none"].includes(s)
|
|
1493
1546
|
},
|
|
1494
1547
|
/**
|
|
1495
1548
|
* If the loading indicator should be shown.
|
|
@@ -1581,184 +1634,193 @@ const Nn = Dn.exports, Pn = {
|
|
|
1581
1634
|
}
|
|
1582
1635
|
},
|
|
1583
1636
|
emits: [
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1637
|
+
h.COLUMNS,
|
|
1638
|
+
h.COLUMN_RESIZE,
|
|
1639
|
+
h.ITEMS_PAGE,
|
|
1640
|
+
h.FILTER_SEARCH_INPUT,
|
|
1641
|
+
h.FILTER_SEARCH_CLEAR,
|
|
1642
|
+
h.NAVIGATE,
|
|
1643
|
+
h.UPDATE_COLUMNS,
|
|
1644
|
+
h.UPDATE_CONDENSED,
|
|
1645
|
+
h.UPDATE_FILTER_VALUES,
|
|
1646
|
+
h.UPDATE_FILTERS,
|
|
1647
|
+
h.UPDATE_FILTER_SEARCH_TERM,
|
|
1648
|
+
h.UPDATE_SHOW_MORE,
|
|
1649
|
+
h.UPDATE_PAGINATION,
|
|
1650
|
+
h.UPDATE_SELECTION,
|
|
1651
|
+
h.UPDATE_SORT_BY,
|
|
1652
|
+
h.ROW_CLICK,
|
|
1653
|
+
h.SELECT,
|
|
1654
|
+
h.SELECT_ALL_ACROSS_PAGES,
|
|
1655
|
+
h.SORT
|
|
1603
1656
|
],
|
|
1604
|
-
setup(
|
|
1605
|
-
const t =
|
|
1606
|
-
|
|
1657
|
+
setup(s, { expose: e, emit: n }) {
|
|
1658
|
+
const t = s, l = Nt(), i = E(null), _ = E(), g = E(null), f = E(null), v = E(), c = E(null), {
|
|
1659
|
+
allowColumnDragAndDrop: r,
|
|
1660
|
+
columns: I,
|
|
1661
|
+
data: o,
|
|
1662
|
+
lazyLoadType: a,
|
|
1663
|
+
selectable: u,
|
|
1664
|
+
selection: m,
|
|
1665
|
+
loading: L,
|
|
1666
|
+
selectableAcrossPages: C
|
|
1667
|
+
} = de(t), { t: R } = oe(), A = y(() => T.value.filter((p) => p.frozen).length), S = be(
|
|
1668
|
+
zt,
|
|
1607
1669
|
() => ({
|
|
1608
1670
|
isDataGridTemplate: !1,
|
|
1609
|
-
stickyTabs:
|
|
1610
|
-
tabsRef:
|
|
1671
|
+
stickyTabs: E(!1),
|
|
1672
|
+
tabsRef: E(null)
|
|
1611
1673
|
})
|
|
1612
|
-
), { isDataGridTemplate:
|
|
1613
|
-
columnDefs:
|
|
1614
|
-
onColumnWidthOverride:
|
|
1674
|
+
), { isDataGridTemplate: b, stickyTabs: O, tabsRef: U } = S(), d = y(() => t.fitContent || b ? 0 : null), {
|
|
1675
|
+
columnDefs: T,
|
|
1676
|
+
onColumnWidthOverride: w,
|
|
1615
1677
|
gridColumnWidthStyle: M,
|
|
1616
|
-
isMeasuringColumnWidths:
|
|
1617
|
-
columns:
|
|
1618
|
-
} =
|
|
1619
|
-
hasSelectableColumn: u
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1678
|
+
isMeasuringColumnWidths: j,
|
|
1679
|
+
columns: Y
|
|
1680
|
+
} = an(I, o, i, g, {
|
|
1681
|
+
hasSelectableColumn: u,
|
|
1682
|
+
hasSelectableAcrossPages: C
|
|
1683
|
+
}), $ = (p, ...D) => {
|
|
1684
|
+
(p === h.COLUMNS || p === h.UPDATE_COLUMNS) && ([Y.value] = D), n(p, ...D);
|
|
1685
|
+
}, q = Te(U, O), Q = y(
|
|
1686
|
+
() => t.stickyFilters ? `${q.value}px` : null
|
|
1687
|
+
), X = Te(f, Ge(t, "stickyFilters")), ee = y(
|
|
1688
|
+
() => `${X.value + q.value}px`
|
|
1626
1689
|
), {
|
|
1627
|
-
sortedColumns:
|
|
1628
|
-
columnSets:
|
|
1629
|
-
isOnlyOneVisibleColumn:
|
|
1630
|
-
onConfigSettingsUpdate:
|
|
1631
|
-
onConfigSettingsColumnsUpdate:
|
|
1632
|
-
onConfigSettingsColumnUpdate:
|
|
1633
|
-
} =
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1690
|
+
sortedColumns: _e,
|
|
1691
|
+
columnSets: ge,
|
|
1692
|
+
isOnlyOneVisibleColumn: Ke,
|
|
1693
|
+
onConfigSettingsUpdate: Je,
|
|
1694
|
+
onConfigSettingsColumnsUpdate: Qe,
|
|
1695
|
+
onConfigSettingsColumnUpdate: et
|
|
1696
|
+
} = gn(T, $), { draggingColumns: fe, draggingEventsForColumns: tt, draggingEventsForRowCell: nt, onMoveColumnByOffset: st } = _n(_e, r, $), { onAllRowSelect: lt, onRowSelect: it, selectedItems: te, allItemsSelectedState: at } = on(
|
|
1697
|
+
m,
|
|
1698
|
+
$,
|
|
1699
|
+
o,
|
|
1637
1700
|
t.getDataItemId,
|
|
1638
1701
|
t.isDataItemDisabled
|
|
1639
|
-
), { navigationInput:
|
|
1640
|
-
o,
|
|
1641
|
-
d,
|
|
1702
|
+
), { navigationInput: ot } = cn(g, I, u), { isLazyLoad: Ce, isInfiniteScroll: rt, verticalScrollPosition: me, emitLazyLoadEvent: ct } = un(
|
|
1642
1703
|
a,
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1704
|
+
c,
|
|
1705
|
+
i,
|
|
1706
|
+
L,
|
|
1707
|
+
$
|
|
1708
|
+
), { updateScrollPosition: dt, updateScrollPositionOnFrozenColumnsNavigation: ut, hasLeftOverflow: ne, hasRightOverflow: ve } = fn(i, _, me), pe = () => {
|
|
1646
1709
|
v.value.isClearAllVisible ? v.value.clearAllFilters() : v.value.isResetAllVisible && v.value.resetAllFilters();
|
|
1647
|
-
},
|
|
1648
|
-
var p,
|
|
1710
|
+
}, _t = y(() => {
|
|
1711
|
+
var p, D;
|
|
1649
1712
|
return {
|
|
1650
1713
|
...t.emptyState,
|
|
1651
|
-
variant: ((p = t.emptyState) == null ? void 0 : p.variant) === "embedded" || ((
|
|
1714
|
+
variant: ((p = t.emptyState) == null ? void 0 : p.variant) === "embedded" || ((D = t.emptyState) == null ? void 0 : D.variant) === "basic" ? t.emptyState.variant : "basic"
|
|
1652
1715
|
};
|
|
1653
|
-
}),
|
|
1654
|
-
[`b-data-grid--${
|
|
1655
|
-
[`b-data-grid--${
|
|
1656
|
-
[`b-data-grid--${
|
|
1657
|
-
[`b-data-grid--${
|
|
1658
|
-
[`b-data-grid--${
|
|
1659
|
-
})),
|
|
1660
|
-
var
|
|
1716
|
+
}), gt = y(() => ({
|
|
1717
|
+
[`b-data-grid--${V.OUTLINE}`]: t.outline,
|
|
1718
|
+
[`b-data-grid--${V.SCROLL}`]: t.fitContent || Ce.value,
|
|
1719
|
+
[`b-data-grid--${V.STICKY_FILTERS}`]: t.filters && t.stickyFilters,
|
|
1720
|
+
[`b-data-grid--${V.OVERFLOW_SHADOW_LEFT}`]: ne.value && !A.value,
|
|
1721
|
+
[`b-data-grid--${V.OVERFLOW_SHADOW_RIGHT}`]: ve.value
|
|
1722
|
+
})), ft = y(() => ge.value.findIndex((p) => p.columnSet.length)), Ct = (p) => {
|
|
1723
|
+
var D;
|
|
1661
1724
|
return {
|
|
1662
1725
|
"b-data-grid__row--disabled": t.isDataItemDisabled(p),
|
|
1663
1726
|
"b-data-grid__row--row-clicks-enabled": t.allowRowClicks,
|
|
1664
|
-
"b-data-grid__cell--is-re-ordering": ((
|
|
1665
|
-
"b-data-grid__row--highlighted": t.highlightedRows.includes(t.getDataItemId(p)) ||
|
|
1727
|
+
"b-data-grid__cell--is-re-ordering": ((D = fe.target) == null ? void 0 : D.field) !== void 0,
|
|
1728
|
+
"b-data-grid__row--highlighted": t.highlightedRows.includes(t.getDataItemId(p)) || te.value.includes(t.getDataItemId(p))
|
|
1666
1729
|
};
|
|
1667
|
-
},
|
|
1730
|
+
}, he = y(() => !(t.selectable && A.value === 1) || ne.value), mt = (p) => ({
|
|
1668
1731
|
"b-data-grid__row-cell-set--frozen": p,
|
|
1669
|
-
[`b-data-grid__row-cell-set--${
|
|
1670
|
-
"b-data-grid__row-cell-set--frozen-separator": p &&
|
|
1671
|
-
"b-data-grid__row-cell-set--unfrozen": !p
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
var p, O, ee, k, q, Se;
|
|
1732
|
+
[`b-data-grid__row-cell-set--${V.OVERFLOW_SHADOW_LEFT}`]: p && ne.value,
|
|
1733
|
+
"b-data-grid__row-cell-set--frozen-separator": p && he.value,
|
|
1734
|
+
"b-data-grid__row-cell-set--unfrozen": !p
|
|
1735
|
+
}), vt = y(() => {
|
|
1736
|
+
var p, D, se, k, K, Ee;
|
|
1675
1737
|
return {
|
|
1676
|
-
"b-data-grid__pagination--padding-left-unset": ((
|
|
1677
|
-
"b-data-grid__pagination--padding-right-unset": ((
|
|
1678
|
-
"b-data-grid__pagination--sticky": !!t.stickyPagination ||
|
|
1738
|
+
"b-data-grid__pagination--padding-left-unset": ((se = (D = (p = t.columns) == null ? void 0 : p[0]) == null ? void 0 : D.padding) == null ? void 0 : se.left) === !1,
|
|
1739
|
+
"b-data-grid__pagination--padding-right-unset": ((Ee = (K = (k = t.columns) == null ? void 0 : k[t.columns.length - 1]) == null ? void 0 : K.padding) == null ? void 0 : Ee.right) === !1,
|
|
1740
|
+
"b-data-grid__pagination--sticky": !!t.stickyPagination || b
|
|
1679
1741
|
};
|
|
1680
|
-
}),
|
|
1681
|
-
var
|
|
1742
|
+
}), pt = (p, D, se) => {
|
|
1743
|
+
var K;
|
|
1682
1744
|
const k = p;
|
|
1683
|
-
((
|
|
1684
|
-
},
|
|
1685
|
-
t.allowRowClicks &&
|
|
1686
|
-
},
|
|
1687
|
-
label: l != null && l.header ?
|
|
1745
|
+
((K = g.value) == null ? void 0 : K[D]) === void 0 && (g.value = { ...g.value, [D]: [] }), p !== null && (k != null && k.gridcellRef) && (g.value[D][se] = k.gridcellRef);
|
|
1746
|
+
}, ht = (p, D) => {
|
|
1747
|
+
t.allowRowClicks && $(h.ROW_CLICK, p, D);
|
|
1748
|
+
}, Lt = y(() => !!t.selectableAcrossPages && !!t.pagination), St = xt({
|
|
1749
|
+
label: l != null && l.header ? Mt(l)("header") : null,
|
|
1688
1750
|
defaultFallback: "data grid"
|
|
1689
|
-
}),
|
|
1751
|
+
}), yt = (p) => {
|
|
1690
1752
|
if (!t.selectable)
|
|
1691
1753
|
return null;
|
|
1692
|
-
const
|
|
1693
|
-
return
|
|
1694
|
-
},
|
|
1754
|
+
const D = t.getDataItemId(p);
|
|
1755
|
+
return te.value.includes(D).toString();
|
|
1756
|
+
}, Le = y(() => {
|
|
1695
1757
|
var p;
|
|
1696
|
-
return ((p =
|
|
1697
|
-
}),
|
|
1698
|
-
|
|
1699
|
-
},
|
|
1700
|
-
|
|
1758
|
+
return ((p = te.value) == null ? void 0 : p.length) ?? 0;
|
|
1759
|
+
}), Et = y(() => t.bulkActions && Le.value > 0), bt = (p) => $(h.COLUMN_RESIZE, p), It = (p) => {
|
|
1760
|
+
$(h.UPDATE_SORT_BY, p), $(h.SORT, p);
|
|
1761
|
+
}, Rt = (p, D) => {
|
|
1762
|
+
$(h.NAVIGATE, p), $(h.UPDATE_PAGINATION, {
|
|
1701
1763
|
...t.pagination,
|
|
1702
|
-
size:
|
|
1764
|
+
size: D,
|
|
1703
1765
|
page: p
|
|
1704
1766
|
});
|
|
1705
|
-
},
|
|
1706
|
-
|
|
1707
|
-
},
|
|
1708
|
-
|
|
1709
|
-
},
|
|
1710
|
-
|
|
1711
|
-
},
|
|
1712
|
-
|
|
1767
|
+
}, At = (p) => {
|
|
1768
|
+
$(h.ITEMS_PAGE, p);
|
|
1769
|
+
}, Tt = () => {
|
|
1770
|
+
$(h.FILTER_SEARCH_CLEAR);
|
|
1771
|
+
}, wt = (p) => {
|
|
1772
|
+
$(h.UPDATE_FILTER_SEARCH_TERM, p), $(h.FILTER_SEARCH_INPUT, p);
|
|
1773
|
+
}, Se = y(() => I.value.some((p) => p.mandatory));
|
|
1774
|
+
Se.value || We(
|
|
1713
1775
|
"WARNING: At least one BentoDataGrid column should be set as mandatory to ensure data is always displayed correctly."
|
|
1714
1776
|
);
|
|
1715
|
-
const
|
|
1716
|
-
return
|
|
1777
|
+
const ye = be(Ft, () => null);
|
|
1778
|
+
return ye(t.tabTitle), e({ onEmptyStateClearResetButtonClick: pe }), { __sfc: !0, props: t, slots: l, body: i, columnsRef: _, gridcellRefs: g, filtersRef: f, filterBarRef: v, verticalScrollPositionRef: c, allowColumnDragAndDrop: r, columns: I, data: o, lazyLoadType: a, selectable: u, selection: m, loading: L, selectableAcrossPages: C, t: R, frozenColumnsLength: A, registerDatagridInDataGridTemplate: S, isDataGridTemplate: b, stickyTabs: O, tabsRef: U, computedColumnsTabIndex: d, columnDefs: T, onColumnWidthOverride: w, gridColumnWidthStyle: M, isMeasuringColumnWidths: j, localColumnsState: Y, definedEmitsFunction: n, emit: $, stickyFiltersHeight: q, computedStickyFiltersTopPosition: Q, columnHeadersHeight: X, computedColumnHeadersTopPosition: ee, sortedColumns: _e, columnSets: ge, isOnlyOneVisibleColumn: Ke, onConfigSettingsUpdate: Je, onConfigSettingsColumnsUpdate: Qe, onConfigSettingsColumnUpdate: et, draggingColumns: fe, draggingEventsForColumns: tt, draggingEventsForRowCell: nt, onMoveColumnByOffset: st, onAllRowSelect: lt, onRowSelect: it, selectedItems: te, allItemsSelectedState: at, navigationInput: ot, isLazyLoad: Ce, isInfiniteScroll: rt, verticalScrollPosition: me, emitLazyLoadEvent: ct, updateScrollPosition: dt, updateScrollPositionOnFrozenColumnsNavigation: ut, hasLeftOverflow: ne, hasRightOverflow: ve, onEmptyStateClearResetButtonClick: pe, limitedEmptyStateProps: _t, conditionalGridClasses: gt, computedColumnPanelAlignment: ft, conditionalRowClasses: Ct, showFrozenColumnsSeparator: he, conditionalRowSetClasses: mt, conditionalPaginationClasses: vt, registerRowCellRef: pt, onRowClick: ht, selectableAcrossPagesComputed: Lt, ariaGridHeaderText: St, getRowAriaSelectedValue: yt, itemsSelectedCounter: Le, showActionBar: Et, onColumnResized: bt, onSort: It, onPaginationNavigate: Rt, onItemsPerPageChange: At, onSearchTermCleared: Tt, onSearchTermInput: wt, hasMandatoryColumn: Se, setTitle: ye, BentoActionBar: $t, BentoPagination: Pt, BentoLoadingIndicator: Be, BentoTypography: ae, BentoDataGridConfigSettings: Es, DataGridCell: qs, DataGridColumns: as, DataGridLazyLoad: ws, BentoDatagridEvent: h, BentoEmptyState: Ut, BentoFilterBar: le };
|
|
1717
1779
|
}
|
|
1718
1780
|
});
|
|
1719
|
-
var
|
|
1781
|
+
var Ks = function() {
|
|
1720
1782
|
var l;
|
|
1721
|
-
var e = this,
|
|
1722
|
-
return
|
|
1723
|
-
return [
|
|
1783
|
+
var e = this, n = e._self._c, t = e._self._setupProxy;
|
|
1784
|
+
return n("div", { staticClass: "b-data-grid", class: t.conditionalGridClasses, attrs: { role: "grid", "aria-rowcount": t.data.length, "aria-colcount": t.columns.length, "aria-label": t.ariaGridHeaderText } }, [e.filters ? n("div", { ref: "filtersRef", staticClass: "b-data-grid__filters", style: { top: t.computedStickyFiltersTopPosition } }, [e.filters ? n(t.BentoFilterBar, { ref: "filterBarRef", attrs: { config: e.filters, "filter-values": e.filterValues, "search-term": e.filterSearchTerm }, on: { "search-input": t.onSearchTermInput, "search-clear": t.onSearchTermCleared, input: (i) => e.$emit(t.BentoDatagridEvent.UPDATE_FILTERS, i), "update:filter-values": (i) => e.$emit(t.BentoDatagridEvent.UPDATE_FILTER_VALUES, i) } }) : e._e()], 1) : e._e(), e.$slots.header ? n("div", { staticClass: "b-data-grid__header" }, [e._t("header")], 2) : e._e(), n("div", { staticClass: "b-data-grid__column-headers", style: { top: t.computedColumnHeadersTopPosition } }, [e.columnPanel ? n(t.BentoDataGridConfigSettings, { staticClass: "b-data-grid__config-settings", attrs: { columns: t.localColumnsState, condensed: e.condensed }, on: { "config-settings": t.onConfigSettingsUpdate, "update:columns": t.onConfigSettingsColumnsUpdate } }) : e._e(), n("div", { ref: "columnsRef", staticClass: "b-data-grid__columns-row", attrs: { role: "rowgroup", tabindex: t.computedColumnsTabIndex }, on: { scroll: t.updateScrollPosition } }, [n("div", { staticClass: "b-data-grid__columns", style: t.gridColumnWidthStyle, attrs: { role: "row" } }, [e._l(t.columnSets, function({ columnSet: i, id: _, isFrozenColumns: g }, f) {
|
|
1785
|
+
return [i != null && i.length ? n(t.DataGridColumns, e._g({ key: `data-grid-columns-${_}`, attrs: { columns: i, "has-resizable-columns": e.hasResizableColumns, "sort-by": e.sortBy, "all-items-selected-state": t.allItemsSelectedState, "is-frozen-columns": g, "show-frozen-columns-separator": t.showFrozenColumnsSeparator, "dragging-columns": t.draggingColumns, "has-draggable-columns": t.allowColumnDragAndDrop, "has-column-panel": e.columnPanel, "has-left-overflow": t.hasLeftOverflow, "has-first-column-panel-right-aligned": f === t.computedColumnPanelAlignment, "is-only-one-visible-column": t.isOnlyOneVisibleColumn, "selectable-across-pages": t.selectableAcrossPagesComputed, "truncate-column-headers": e.truncateColumnHeaders }, on: { "column-move": t.onMoveColumnByOffset, "column-update": t.onConfigSettingsColumnUpdate, "column-resize": t.onColumnResized, "column-resizing": t.onColumnWidthOverride, "select-all-rows": t.onAllRowSelect, "select-all-across-pages": function(v) {
|
|
1724
1786
|
return t.emit(t.BentoDatagridEvent.SELECT_ALL_ACROSS_PAGES);
|
|
1725
|
-
}, sort: t.onSort }, scopedSlots: e._u([e._l(t.slots, function(v,
|
|
1726
|
-
return { key:
|
|
1727
|
-
return [e._t(
|
|
1787
|
+
}, sort: t.onSort }, scopedSlots: e._u([e._l(t.slots, function(v, c) {
|
|
1788
|
+
return { key: c, fn: function(r) {
|
|
1789
|
+
return [e._t(c, null, null, r)];
|
|
1728
1790
|
} };
|
|
1729
1791
|
})], null, !0) }, t.draggingEventsForColumns)) : e._e()];
|
|
1730
|
-
})], 2)])], 1),
|
|
1731
|
-
return
|
|
1732
|
-
return t.onRowClick(
|
|
1733
|
-
} } }, [e._l(t.columnSets, function({ columnSet:
|
|
1734
|
-
return [
|
|
1735
|
-
return
|
|
1736
|
-
return { key:
|
|
1737
|
-
return [e._t(
|
|
1792
|
+
})], 2)])], 1), n("div", { ref: "body", staticClass: "b-data-grid__body", attrs: { "data-testid": "data-grid-body", tabindex: t.loading ? "0" : "-1", "aria-busy": t.loading, "aria-live": "polite" }, on: { scroll: t.updateScrollPosition } }, [t.loading && !t.isLazyLoad ? n("div", { staticClass: "b-data-grid__loading" }, [n(t.BentoLoadingIndicator, { staticClass: "b-data-grid__loading-indicator", attrs: { large: "" } }), n(t.BentoTypography, { attrs: { el: "span", variant: "caption" } }, [e._v(e._s(t.t("gettingYourData")))])], 1) : ((l = t.data) == null ? void 0 : l.length) === 0 && e.emptyState ? n("div", { staticClass: "b-data-grid__empty-state" }, [n(t.BentoEmptyState, e._b({}, "bento-empty-state", t.limitedEmptyStateProps, !1))], 1) : n("div", { staticClass: "b-data-grid__rows", attrs: { role: "rowgroup" }, on: { keydown: t.navigationInput } }, e._l(t.data, function(i, _) {
|
|
1793
|
+
return n("div", { key: _, staticClass: "b-data-grid__row", class: t.conditionalRowClasses(i), style: t.gridColumnWidthStyle, attrs: { role: "row", "aria-rowindex": _ + 1, "aria-selected": t.getRowAriaSelectedValue(i) }, on: { click: function(g) {
|
|
1794
|
+
return t.onRowClick(i, g);
|
|
1795
|
+
} } }, [e._l(t.columnSets, function({ columnSet: g, id: f, isFrozenColumns: v }, c) {
|
|
1796
|
+
return [g != null && g.length ? n("div", { key: `data-grid-rows-${f}`, staticClass: "b-data-grid__cells", class: t.conditionalRowSetClasses(v), attrs: { "data-testid": `data-grid-${f}-rows` } }, e._l(g, function(r, I) {
|
|
1797
|
+
return n(t.DataGridCell, { key: `cell-${r.field}`, ref: (o) => t.registerRowCellRef(o, r.field, _), refInFor: !0, attrs: { column: r, "column-set-index": c, "col-index": I, "column-sets": t.columnSets, condensed: e.condensed, "dragging-columns": t.draggingColumns, "dragging-events-for-row-cell": t.draggingEventsForRowCell, "get-data-item-id": e.getDataItemId, "is-data-item-disabled": e.isDataItemDisabled, "is-measuring-column-widths": t.isMeasuringColumnWidths, "row-data": i, "row-index": _, "selected-items": t.selectedItems }, on: { "on-frozen-columns-key-press": t.updateScrollPositionOnFrozenColumnsNavigation, "select-row": t.onRowSelect }, scopedSlots: e._u([e._l(t.slots, function(o, a) {
|
|
1798
|
+
return { key: a, fn: function(u) {
|
|
1799
|
+
return [e._t(a, null, null, u)];
|
|
1738
1800
|
} };
|
|
1739
1801
|
})], null, !0) }, [e._v("s ")]);
|
|
1740
1802
|
}), 1) : e._e()];
|
|
1741
1803
|
})], 2);
|
|
1742
|
-
}), 0)]), t.isLazyLoad ?
|
|
1804
|
+
}), 0)]), t.isLazyLoad ? n(t.DataGridLazyLoad, { attrs: { loading: t.loading, "is-infinite-scroll": t.isInfiniteScroll }, on: { "update:show-more": t.emitLazyLoadEvent } }) : e._e(), e.pagination && !t.isLazyLoad ? n("div", { staticClass: "b-data-grid__pagination", class: t.conditionalPaginationClasses, attrs: { "data-testid": "pagination-container" } }, [n(t.BentoPagination, e._b({ attrs: { "aria-label": `${t.ariaGridHeaderText} navigation` }, on: { navigate: t.onPaginationNavigate, "items-page": t.onItemsPerPageChange } }, "bento-pagination", e.pagination, !1))], 1) : e._e(), e.$slots.footer ? n("div", { staticClass: "b-data-grid__footer" }, [e._t("footer")], 2) : e._e(), t.showActionBar ? n(t.BentoActionBar, { attrs: { actions: e.bulkActions, "item-counter": t.itemsSelectedCounter, "extra-bottom-spacing": e.stickyPagination }, on: { close: function(i) {
|
|
1743
1805
|
return t.onAllRowSelect(!1);
|
|
1744
1806
|
} } }) : e._e()], 1);
|
|
1745
|
-
},
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1807
|
+
}, Js = [], Qs = /* @__PURE__ */ P(
|
|
1808
|
+
Xs,
|
|
1809
|
+
Ks,
|
|
1810
|
+
Js,
|
|
1749
1811
|
!1,
|
|
1750
1812
|
null,
|
|
1751
|
-
"
|
|
1813
|
+
"48327e11",
|
|
1752
1814
|
null,
|
|
1753
1815
|
null
|
|
1754
1816
|
);
|
|
1755
|
-
const
|
|
1817
|
+
const Pl = Qs.exports;
|
|
1756
1818
|
export {
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1819
|
+
re as BentoColumnOverflow,
|
|
1820
|
+
Pl as BentoDataGrid,
|
|
1821
|
+
ie as BentoDatagridAriaSortValue,
|
|
1822
|
+
h as BentoDatagridEvent,
|
|
1823
|
+
H as BentoDatagridSortDirection,
|
|
1824
|
+
V as BentoDatagridStyleState
|
|
1763
1825
|
};
|
|
1764
1826
|
//# sourceMappingURL=data-grid.js.map
|