@adyen/bento-vue3 1.60.1 → 1.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/index.d.ts +119 -7
- package/dist/action-bar.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/dashed-underline.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/header-with-views.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/menu.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/popover.css +1 -1
- package/dist/assets/radio-group.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/button.js +3 -3
- package/dist/card.js +1 -1
- package/dist/chunks/{action-bar.BDF61iH-.js → action-bar.BVfkekHC.js} +5 -5
- package/dist/chunks/{action-bar.BDF61iH-.js.map → action-bar.BVfkekHC.js.map} +1 -1
- package/dist/chunks/{alert.CjegN2iG.js → alert.C0YBI66O.js} +2 -2
- package/dist/chunks/{alert.CjegN2iG.js.map → alert.C0YBI66O.js.map} +1 -1
- package/dist/chunks/{base-modal.D2tNbxw3.js → base-modal.BphJ3uEa.js} +4 -4
- package/dist/chunks/{base-modal.D2tNbxw3.js.map → base-modal.BphJ3uEa.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.DG5t9zB7.js → button-actions-with-menu.DZVOijPY.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.DG5t9zB7.js.map → button-actions-with-menu.DZVOijPY.js.map} +1 -1
- package/dist/chunks/{button-actions.1MReMMnL.js → button-actions.Cr5gxSXb.js} +2 -2
- package/dist/chunks/{button-actions.1MReMMnL.js.map → button-actions.Cr5gxSXb.js.map} +1 -1
- package/dist/chunks/{button.CVZJTZv0.js → button.BF_dGonK.js} +37 -26
- package/dist/chunks/button.BF_dGonK.js.map +1 -0
- package/dist/chunks/{calendar.ugV5Vzqs.js → calendar.CTcfG9JK.js} +2 -2
- package/dist/chunks/{calendar.ugV5Vzqs.js.map → calendar.CTcfG9JK.js.map} +1 -1
- package/dist/chunks/{card.dF_i6neN.js → card.B9AfyVI3.js} +2 -2
- package/dist/chunks/{card.dF_i6neN.js.map → card.B9AfyVI3.js.map} +1 -1
- package/dist/chunks/{code-snippet.iD36_pOw.js → code-snippet.CK52UjIT.js} +5 -5
- package/dist/chunks/{code-snippet.iD36_pOw.js.map → code-snippet.CK52UjIT.js.map} +1 -1
- package/dist/chunks/{copy.jE0EciK8.js → copy.CHnSy6IK.js} +2 -2
- package/dist/chunks/{copy.jE0EciK8.js.map → copy.CHnSy6IK.js.map} +1 -1
- package/dist/chunks/{dashboard-section.Bq1abySA.js → dashboard-section.Dmtz7Dcc.js} +3 -3
- package/dist/chunks/{dashboard-section.Bq1abySA.js.map → dashboard-section.Dmtz7Dcc.js.map} +1 -1
- package/dist/chunks/dashed-underline.BTdq4lZ4.js +114 -0
- package/dist/chunks/dashed-underline.BTdq4lZ4.js.map +1 -0
- package/dist/chunks/{data-grid-template.UkERMC7S.js → data-grid-template.CP8N6JL8.js} +4 -4
- package/dist/chunks/{data-grid-template.UkERMC7S.js.map → data-grid-template.CP8N6JL8.js.map} +1 -1
- package/dist/chunks/{data-grid.o4emi6FA.js → data-grid.mNFj1mbB.js} +338 -335
- package/dist/chunks/data-grid.mNFj1mbB.js.map +1 -0
- package/dist/chunks/{date-picker.BPLtpBbX.js → date-picker.C61tyaW9.js} +3 -3
- package/dist/chunks/{date-picker.BPLtpBbX.js.map → date-picker.C61tyaW9.js.map} +1 -1
- package/dist/chunks/{date-range-picker.BYvj1y8T.js → date-range-picker.BCD198XQ.js} +6 -6
- package/dist/chunks/{date-range-picker.BYvj1y8T.js.map → date-range-picker.BCD198XQ.js.map} +1 -1
- package/dist/chunks/delight.CDBAFnwC.js +5 -0
- package/dist/chunks/delight.CDBAFnwC.js.map +1 -0
- package/dist/chunks/delight.xKDCvvaS.js +5 -0
- package/dist/chunks/delight.xKDCvvaS.js.map +1 -0
- package/dist/chunks/{dialog-page.Cngbnn1Z.js → dialog-page.D0E69ruX.js} +2 -2
- package/dist/chunks/{dialog-page.Cngbnn1Z.js.map → dialog-page.D0E69ruX.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.DxLOtAIw.js → dropdown-tag.DstHH6nK.js} +2 -2
- package/dist/chunks/{dropdown-tag.DxLOtAIw.js.map → dropdown-tag.DstHH6nK.js.map} +1 -1
- package/dist/chunks/{dropdown.FJu_m8Tw.js → dropdown.B4yyYeuQ.js} +119 -104
- package/dist/chunks/{dropdown.FJu_m8Tw.js.map → dropdown.B4yyYeuQ.js.map} +1 -1
- package/dist/chunks/{empty-state.BGWjUH6G.js → empty-state.CEphUdux.js} +28 -28
- package/dist/chunks/empty-state.CEphUdux.js.map +1 -0
- package/dist/chunks/es6.n1ewaW31.js.map +1 -1
- package/dist/chunks/{file-uploader.Bp8PDPHt.js → file-uploader.DLFdbRG_.js} +3 -3
- package/dist/chunks/{file-uploader.Bp8PDPHt.js.map → file-uploader.DLFdbRG_.js.map} +1 -1
- package/dist/chunks/{filter-bar.BRB7BjbE.js → filter-bar.B4xd462M.js} +800 -794
- package/dist/chunks/filter-bar.B4xd462M.js.map +1 -0
- package/dist/chunks/{fixed-scroller.BjxA_R63.js → fixed-scroller.A-YuItwn.js} +2 -2
- package/dist/chunks/{fixed-scroller.BjxA_R63.js.map → fixed-scroller.A-YuItwn.js.map} +1 -1
- package/dist/chunks/{footer-actions.jRnnqdse.js → footer-actions.v8GdXxdM.js} +3 -3
- package/dist/chunks/{footer-actions.jRnnqdse.js.map → footer-actions.v8GdXxdM.js.map} +1 -1
- package/dist/chunks/{form-layout-title.CsmjzAje.js → form-layout-title.DTurbdqZ.js} +2 -2
- package/dist/chunks/{form-layout-title.CsmjzAje.js.map → form-layout-title.DTurbdqZ.js.map} +1 -1
- package/dist/chunks/{header-with-views.DJSGKRhj.js → header-with-views.CrR5TEJ6.js} +526 -522
- package/dist/chunks/{header-with-views.DJSGKRhj.js.map → header-with-views.CrR5TEJ6.js.map} +1 -1
- package/dist/chunks/{header.BBnN_HU9.js → header.B5gm8-_5.js} +4 -4
- package/dist/chunks/{header.BBnN_HU9.js.map → header.B5gm8-_5.js.map} +1 -1
- package/dist/chunks/{info-icon-with-popover.D6WFtFFY.js → info-icon-with-popover.DAq-iAlh.js} +2 -2
- package/dist/chunks/{info-icon-with-popover.D6WFtFFY.js.map → info-icon-with-popover.DAq-iAlh.js.map} +1 -1
- package/dist/chunks/{input-field-password.CtK2VVqL.js → input-field-password.B_khsQVP.js} +5 -5
- package/dist/chunks/{input-field-password.CtK2VVqL.js.map → input-field-password.B_khsQVP.js.map} +1 -1
- package/dist/chunks/{input-field-phone-number.Cf5nQpfS.js → input-field-phone-number.CLgA141p.js} +3 -3
- package/dist/chunks/{input-field-phone-number.Cf5nQpfS.js.map → input-field-phone-number.CLgA141p.js.map} +1 -1
- package/dist/chunks/{input-field.C94JL_Qv.js → input-field.hOqNPju4.js} +2 -2
- package/dist/chunks/{input-field.C94JL_Qv.js.map → input-field.hOqNPju4.js.map} +1 -1
- package/dist/chunks/{inspector.CxNXHV8C.js → inspector.DteTv0He.js} +2 -2
- package/dist/chunks/{inspector.CxNXHV8C.js.map → inspector.DteTv0He.js.map} +1 -1
- package/dist/chunks/{menu.BcXV6WhV.js → menu.CxYiSxSe.js} +3 -3
- package/dist/chunks/{menu.BcXV6WhV.js.map → menu.CxYiSxSe.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.D93NZCBg.js → modal-fullscreen.ByaJ5E40.js} +4 -4
- package/dist/chunks/{modal-fullscreen.D93NZCBg.js.map → modal-fullscreen.ByaJ5E40.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.B3uzibmr.js → modal.vue_vue_type_script_setup_true_lang.B6khnywr.js} +5 -5
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.B3uzibmr.js.map → modal.vue_vue_type_script_setup_true_lang.B6khnywr.js.map} +1 -1
- package/dist/chunks/{pagination.rrPdG7nK.js → pagination.CrwYnynf.js} +3 -3
- package/dist/chunks/{pagination.rrPdG7nK.js.map → pagination.CrwYnynf.js.map} +1 -1
- package/dist/chunks/{popover.KFyR9BXF.js → popover.DvAXLmCp.js} +3 -3
- package/dist/chunks/{popover.KFyR9BXF.js.map → popover.DvAXLmCp.js.map} +1 -1
- package/dist/chunks/{promo-banner.BfXfaCrf.js → promo-banner.Di_GK1ac.js} +2 -2
- package/dist/chunks/{promo-banner.BfXfaCrf.js.map → promo-banner.Di_GK1ac.js.map} +1 -1
- package/dist/chunks/{rich-text-editor.Ddt7IVXL.js → rich-text-editor.9z0_M-YN.js} +2 -2
- package/dist/chunks/{rich-text-editor.Ddt7IVXL.js.map → rich-text-editor.9z0_M-YN.js.map} +1 -1
- package/dist/chunks/{search-bar.ZidZj4NE.js → search-bar.ye0aeyd2.js} +3 -3
- package/dist/chunks/{search-bar.ZidZj4NE.js.map → search-bar.ye0aeyd2.js.map} +1 -1
- package/dist/chunks/{secondary-nav.Cy2JAzoO.js → secondary-nav.Dsa986cq.js} +2 -2
- package/dist/chunks/{secondary-nav.Cy2JAzoO.js.map → secondary-nav.Dsa986cq.js.map} +1 -1
- package/dist/chunks/{sidepanel.CNA3pTXy.js → sidepanel.UiX__UxV.js} +4 -4
- package/dist/chunks/{sidepanel.CNA3pTXy.js.map → sidepanel.UiX__UxV.js.map} +1 -1
- package/dist/chunks/{structured-list-item.CLpfMbkV.js → structured-list-item.BYFd1N3z.js} +3 -3
- package/dist/chunks/{structured-list-item.CLpfMbkV.js.map → structured-list-item.BYFd1N3z.js.map} +1 -1
- package/dist/chunks/{summary-grid.types.BcicwgZm.js → summary-grid.types.IkdgA45D.js} +3 -3
- package/dist/chunks/{summary-grid.types.BcicwgZm.js.map → summary-grid.types.IkdgA45D.js.map} +1 -1
- package/dist/chunks/{tabs.Bn4YIjoy.js → tabs.CVCqPMAR.js} +2 -2
- package/dist/chunks/{tabs.Bn4YIjoy.js.map → tabs.CVCqPMAR.js.map} +1 -1
- package/dist/chunks/{textarea.Dl5TFi8E.js → textarea.UtxQ22_c.js} +2 -2
- package/dist/chunks/{textarea.Dl5TFi8E.js.map → textarea.UtxQ22_c.js.map} +1 -1
- package/dist/chunks/{timeline-item.CcbL86D0.js → timeline-item.C3AkVKE8.js} +5 -5
- package/dist/chunks/{timeline-item.CcbL86D0.js.map → timeline-item.C3AkVKE8.js.map} +1 -1
- package/dist/chunks/{toast.Ae5ZoWHb.js → toast.DdAPkCce.js} +2 -2
- package/dist/chunks/{toast.Ae5ZoWHb.js.map → toast.DdAPkCce.js.map} +1 -1
- package/dist/chunks/{toggle-button.Dv1t15yj.js → toggle-button.D-jybXy-.js} +2 -2
- package/dist/chunks/{toggle-button.Dv1t15yj.js.map → toggle-button.D-jybXy-.js.map} +1 -1
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.Bcu-t4d8.js → tutorial.vue_vue_type_script_setup_true_lang.DwYfNGGI.js} +4 -4
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.Bcu-t4d8.js.map → tutorial.vue_vue_type_script_setup_true_lang.DwYfNGGI.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.Ber7lUiH.js → use-cached-selected-values.CRwxKmxX.js} +586 -580
- package/dist/chunks/use-cached-selected-values.CRwxKmxX.js.map +1 -0
- package/dist/code-snippet.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/dropdown.js +3 -3
- package/dist/empty-state.js +1 -1
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/form-layout.js +1 -1
- package/dist/header-with-views.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +45 -45
- package/dist/input-field-password.js +1 -1
- package/dist/input-field-phone-number.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/inspector.js +1 -1
- package/dist/internal.js +8 -8
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/pagination.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/promo-banner.js +1 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento-dark.css +1 -0
- package/dist/styles/bento-light.css +1 -0
- package/dist/styles/bento.css +1 -0
- package/dist/styles/legacy.css +1 -0
- package/dist/styles/styleguide.css +1 -0
- package/dist/summary-grid.js +1 -1
- package/dist/tabs.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/toast.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +4 -4
- package/dist/chunks/button.CVZJTZv0.js.map +0 -1
- package/dist/chunks/dashed-underline.DweJIpuJ.js +0 -98
- package/dist/chunks/dashed-underline.DweJIpuJ.js.map +0 -1
- package/dist/chunks/data-grid.o4emi6FA.js.map +0 -1
- package/dist/chunks/empty-state.BGWjUH6G.js.map +0 -1
- package/dist/chunks/filter-bar.BRB7BjbE.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.Ber7lUiH.js.map +0 -1
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { ref as A, onMounted as at, nextTick as he, watch as ye, onUnmounted as
|
|
2
|
-
import { C as
|
|
3
|
-
import { W as
|
|
1
|
+
import { ref as A, onMounted as at, nextTick as he, watch as ye, onUnmounted as Yt, reactive as rt, toRefs as dt, computed as b, watchEffect as Kn, onBeforeUpdate as Yn, createElementBlock as R, openBlock as f, mergeProps as te, createCommentVNode as B, createElementVNode as O, toDisplayString as J, defineComponent as Oe, normalizeClass as ce, Fragment as Ce, renderList as Le, unref as o, toHandlers as Xe, createVNode as Y, createBlock as H, withCtx as Z, renderSlot as Re, withModifiers as Xn, normalizeStyle as ke, resolveComponent as Ee, withDirectives as ut, createTextVNode as me, vShow as Jn, toRef as nt, resolveDirective as Qn, Transition as Xt, createSlots as Pe, resolveDynamicComponent as Ge, useSlots as ct, provide as Jt, inject as lt, normalizeProps as el, guardReactiveProps as tl } from "vue";
|
|
2
|
+
import { C as nl } from "./checkmark-circle-fill.jicbqe7k.js";
|
|
3
|
+
import { W as ll } from "./warning-filled.DmHh0nYG.js";
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { _ as de } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
6
|
-
import { C as
|
|
6
|
+
import { C as Qt } from "./cross.CbLEjiVy.js";
|
|
7
7
|
import { N as At } from "./checkbox-input.DVayucaL.js";
|
|
8
8
|
import { l as Ot } from "./events.FNmSWp_P.js";
|
|
9
|
-
import { E as $e, B as
|
|
10
|
-
import { c as
|
|
11
|
-
import { B as
|
|
12
|
-
import { B as
|
|
9
|
+
import { E as $e, B as ol } from "./tooltip.D2o0d8Xf.js";
|
|
10
|
+
import { c as sl } from "./popper-container.types.BCZMbVFD.js";
|
|
11
|
+
import { B as il } from "./action-bar.BVfkekHC.js";
|
|
12
|
+
import { B as al } from "./pagination.CrwYnynf.js";
|
|
13
13
|
import { B as ft } from "./loading-indicator.DEepb9Wl.js";
|
|
14
|
-
import { B as Je, p as
|
|
14
|
+
import { B as Je, p as en } from "./typography.DN5eC5ch.js";
|
|
15
15
|
import { u as gt } from "./use-has-slot.B7eQSabc.js";
|
|
16
|
-
import { u as
|
|
17
|
-
import { g as
|
|
16
|
+
import { u as rl } from "./aria-label.CaUURpnB.js";
|
|
17
|
+
import { g as dl } from "./get-slot-text.DQlZEsId.js";
|
|
18
18
|
import { u as Ue } from "./i18n.B6g5VX0q.js";
|
|
19
|
-
import { B as tt } from "./filter-bar.
|
|
20
|
-
import { B as
|
|
21
|
-
import { E as
|
|
22
|
-
import { D as
|
|
19
|
+
import { B as tt } from "./filter-bar.B4xd462M.js";
|
|
20
|
+
import { B as ul } from "./empty-state.CEphUdux.js";
|
|
21
|
+
import { E as cl } from "./tabs.keys.Bc2pSKRw.js";
|
|
22
|
+
import { D as fl } from "./data-grid-template.keys.2_AkxuNT.js";
|
|
23
23
|
import { o as vt } from "./resize.Bqks3WUm.js";
|
|
24
|
-
import { b as
|
|
25
|
-
import { a as Nt, B as
|
|
26
|
-
import { B as
|
|
27
|
-
import { B as
|
|
28
|
-
import { B as
|
|
29
|
-
import { u as
|
|
30
|
-
import { B as
|
|
24
|
+
import { b as gl } from "./focus-trap.CljZgv9i.js";
|
|
25
|
+
import { a as Nt, B as vl } from "./popover.DvAXLmCp.js";
|
|
26
|
+
import { B as tn } from "./button.BF_dGonK.js";
|
|
27
|
+
import { B as nn } from "./toggle.hoD_i2Ey.js";
|
|
28
|
+
import { B as ml } from "./search-bar.ye0aeyd2.js";
|
|
29
|
+
import { u as hl } from "./dropdown.B4yyYeuQ.js";
|
|
30
|
+
import { B as Cl } from "./directive.Cbdox5VL.js";
|
|
31
31
|
import { g as ot } from "./generate-uid.NJ8tVoha.js";
|
|
32
|
-
import { S as
|
|
33
|
-
import { B as mt } from "./toggle-button.
|
|
34
|
-
import { B as
|
|
35
|
-
import { B as
|
|
36
|
-
import { B as st, O as
|
|
37
|
-
import { A as
|
|
38
|
-
import { H as
|
|
39
|
-
import { u as
|
|
32
|
+
import { S as wl } from "./search.CW_aTqip.js";
|
|
33
|
+
import { B as mt } from "./toggle-button.D-jybXy-.js";
|
|
34
|
+
import { B as ln } from "./checkbox.B-jC5L05.js";
|
|
35
|
+
import { B as _l } from "./info-icon.BYCwlUzk.js";
|
|
36
|
+
import { B as st, O as yl, D as bl } from "./menu.CxYiSxSe.js";
|
|
37
|
+
import { A as Sl } from "./dialog-page.D0E69ruX.js";
|
|
38
|
+
import { H as El, S as Ll } from "./show.ByWWaogc.js";
|
|
39
|
+
import { u as pl } from "./use-expandable-content-height.GkjjbmPy.js";
|
|
40
40
|
import { E as Tt } from "./link.CTH1xj0i.js";
|
|
41
|
-
import { C as
|
|
42
|
-
import { C as
|
|
43
|
-
import { d as It, e as $t } from "./button-actions.
|
|
41
|
+
import { C as Rl } from "./copy.CHnSy6IK.js";
|
|
42
|
+
import { C as Al, a as Ol } from "./chevron-up.-0oLlHmh.js";
|
|
43
|
+
import { d as It, e as $t } from "./button-actions.Cr5gxSXb.js";
|
|
44
44
|
import "../assets/data-grid.css";
|
|
45
45
|
const Dt = (e) => {
|
|
46
46
|
if (!e)
|
|
@@ -78,18 +78,18 @@ const Dt = (e) => {
|
|
|
78
78
|
{ immediate: !0 }
|
|
79
79
|
);
|
|
80
80
|
});
|
|
81
|
-
}),
|
|
81
|
+
}), Yt(() => {
|
|
82
82
|
t == null || t.disconnect(), l == null || l.disconnect();
|
|
83
83
|
}), d;
|
|
84
84
|
};
|
|
85
85
|
var it = /* @__PURE__ */ ((e) => (e.WRAP = "wrap", e.ELLIPSIS = "ellipsis", e))(it || {}), Me = /* @__PURE__ */ ((e) => (e.OUTLINE = "outline", e.SCROLL = "scroll", e.STICKY_FILTERS = "sticky-filters", e.OVERFLOW_SHADOW_LEFT = "overflow-shadow-left", e.OVERFLOW_SHADOW_RIGHT = "overflow-shadow-right", e.NO_SPACING_TOP = "no-spacing-top", e))(Me || {}), Fe = /* @__PURE__ */ ((e) => (e.ASCENDING = "asc", e.DESCENDING = "desc", e))(Fe || {}), k = /* @__PURE__ */ ((e) => (e.COLUMNS = "columns", e.COLUMN_RESIZE = "column-resize", e.ITEMS_PAGE = "items-page", e.NAVIGATE = "navigate", e.NESTED_CONTENT_TOGGLED = "nested-content-toggled", e.FILTER_SEARCH_INPUT = "filter-search-input", e.FILTER_SEARCH_CLEAR = "filter-search-clear", e.UPDATE_COLUMNS = "update:columns", e.UPDATE_CONDENSED = "update:condensed", e.UPDATE_FILTERS = "update:filters", e.UPDATE_FILTER_VALUES = "update:filter-values", e.UPDATE_FILTER_SEARCH_TERM = "update:filter-search-term", e.UPDATE_PAGINATION = "update:pagination", e.UPDATE_SELECTION = "update:selection", e.UPDATE_SHOW_MORE = "update:show-more", e.UPDATE_SORT_BY = "update:sort-by", e.ROW_CLICK = "row-click", e.SELECT = "select", e.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", e.SORT = "sort", e))(k || {}), Ye = /* @__PURE__ */ ((e) => (e.ASCENDING = "ascending", e.DESCENDING = "descending", e.NONE = "none", e))(Ye || {}), oe = /* @__PURE__ */ ((e) => (e.COLUMN_RESIZE = "column-resize", e.COLUMN_RESIZING = "column-resizing", e.SELECT_ALL_ROWS = "select-all-rows", e.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", e.COLUMN_MOVE = "column-move", e.COLUMN_UPDATE = "column-update", e.COLUMN_MENU_OPEN = "column-menu-open", e.COLUMN_MENU_CLOSE = "column-menu-close", e.COLUMN_HOVER = "column-hover", e.COLUMN_DRAG_START = "column-dragstart", e.COLUMN_DRAG_ENTER = "column-dragenter", e.COLUMN_DRAG_END = "column-dragend", e.COLUMN_DROP = "column-drop", e))(oe || {});
|
|
86
|
-
const
|
|
86
|
+
const Nl = (e, i) => {
|
|
87
87
|
const c = A(null), n = A(!1), d = A(void 0), t = e.value.reduce((L, S) => (L[S.field] = null, L), {}), l = rt(t), _ = dt(l);
|
|
88
88
|
let h = 0, C = "";
|
|
89
89
|
const N = b(
|
|
90
90
|
() => Object.fromEntries(e.value.map(({ field: L, width: S, minWidth: s }) => [L, { width: S, minWidth: s }]))
|
|
91
91
|
);
|
|
92
|
-
|
|
92
|
+
Kn(() => d.value = N.value);
|
|
93
93
|
let v = null, P = null;
|
|
94
94
|
const E = (L) => {
|
|
95
95
|
const S = L.clientX - h, s = C, m = d.value[s].width + S;
|
|
@@ -120,7 +120,7 @@ const Ol = (e, i) => {
|
|
|
120
120
|
isResizing: n,
|
|
121
121
|
columnHoverEventToEmitAfterResizing: c
|
|
122
122
|
};
|
|
123
|
-
},
|
|
123
|
+
}, Tl = 100, Mt = 50, _e = "b-actions-column", Il = 32, $l = 56, Dl = 56, kl = 80, Ml = 36, Fl = 1, on = 16, zl = 20, Ul = (e, i, c) => {
|
|
124
124
|
const n = {}, d = [], t = (_) => {
|
|
125
125
|
const h = n[_];
|
|
126
126
|
h && h.frozen !== !0 && (n[_].frozen = !0, d.push(_));
|
|
@@ -152,12 +152,12 @@ const Ol = (e, i) => {
|
|
|
152
152
|
}
|
|
153
153
|
return l(), n;
|
|
154
154
|
}, Ft = (e, i) => {
|
|
155
|
-
let c =
|
|
156
|
-
return i && (c +=
|
|
157
|
-
},
|
|
155
|
+
let c = Fl;
|
|
156
|
+
return i && (c += on * 2), e != null && e.offsetWidth ? e.offsetWidth + c : 0;
|
|
157
|
+
}, Pl = (e) => {
|
|
158
158
|
var i, c, n, d, t;
|
|
159
|
-
return (i = e == null ? void 0 : e.hasNestedContent) != null && i.value || (c = e == null ? void 0 : e.hasNestedRows) != null && c.value ? (n = e == null ? void 0 : e.hasSelectableColumn) != null && n.value ? (d = e == null ? void 0 : e.hasSelectableAcrossPages) != null && d.value ?
|
|
160
|
-
},
|
|
159
|
+
return (i = e == null ? void 0 : e.hasNestedContent) != null && i.value || (c = e == null ? void 0 : e.hasNestedRows) != null && c.value ? (n = e == null ? void 0 : e.hasSelectableColumn) != null && n.value ? (d = e == null ? void 0 : e.hasSelectableAcrossPages) != null && d.value ? kl : Dl : Ml : (t = e == null ? void 0 : e.hasSelectableAcrossPages) != null && t.value ? $l : Il;
|
|
160
|
+
}, Bl = (e, i, c, n, d, t) => {
|
|
161
161
|
const l = A(e.value), _ = A(i), h = A(c), C = A(n), N = A(d), v = A(!1), P = A(0);
|
|
162
162
|
ye(
|
|
163
163
|
() => e.value,
|
|
@@ -184,7 +184,7 @@ const Ol = (e, i) => {
|
|
|
184
184
|
let ue = l.value.filter(($) => $.visible !== !1);
|
|
185
185
|
const ne = l.value.filter(($) => $.visible === !1);
|
|
186
186
|
if ((y = t == null ? void 0 : t.hasSelectableColumn) != null && y.value || (V = t == null ? void 0 : t.hasNestedContent) != null && V.value || (W = t == null ? void 0 : t.hasNestedRows) != null && W.value) {
|
|
187
|
-
const $ =
|
|
187
|
+
const $ = Pl(t);
|
|
188
188
|
ue = [
|
|
189
189
|
{
|
|
190
190
|
field: _e,
|
|
@@ -201,13 +201,13 @@ const Ol = (e, i) => {
|
|
|
201
201
|
const G = { ...$ };
|
|
202
202
|
let we;
|
|
203
203
|
G.flex && G.flex > 0 ? (F += G.flex, we = 0, g.push(G)) : we = Math.max(
|
|
204
|
-
(G == null ? void 0 : G.width) ??
|
|
204
|
+
(G == null ? void 0 : G.width) ?? Tl,
|
|
205
205
|
(G == null ? void 0 : G.minWidth) ?? Mt
|
|
206
206
|
), j += we, G.width = we, G.minWidth = (G == null ? void 0 : G.minWidth) ?? Mt, se[G.field] = G;
|
|
207
207
|
});
|
|
208
208
|
const fe = Math.max(E.value - j, 0);
|
|
209
209
|
if (F > 0 && E.value > 0) {
|
|
210
|
-
const $ =
|
|
210
|
+
const $ = Ul(fe, F, g);
|
|
211
211
|
Object.keys($).forEach((G) => {
|
|
212
212
|
se[G].width = $[G].computedWidth;
|
|
213
213
|
});
|
|
@@ -259,7 +259,7 @@ const Ol = (e, i) => {
|
|
|
259
259
|
}));
|
|
260
260
|
return at(() => {
|
|
261
261
|
var F;
|
|
262
|
-
const g = t != null && t.isDataGridTemplate ?
|
|
262
|
+
const g = t != null && t.isDataGridTemplate ? zl : 0;
|
|
263
263
|
he(() => {
|
|
264
264
|
h.value && (E.value = h.value.getBoundingClientRect().width - g);
|
|
265
265
|
const j = ye(
|
|
@@ -274,9 +274,9 @@ const Ol = (e, i) => {
|
|
|
274
274
|
}), (F = document == null ? void 0 : document.fonts) != null && F.ready ? document.fonts.ready.then(() => {
|
|
275
275
|
s();
|
|
276
276
|
}) : s();
|
|
277
|
-
}),
|
|
277
|
+
}), Yt(() => {
|
|
278
278
|
a == null || a.disconnect();
|
|
279
|
-
}),
|
|
279
|
+
}), Yn(() => {
|
|
280
280
|
var g;
|
|
281
281
|
N.value && ((g = Object.keys(N.value)) == null ? void 0 : g.length) > 0 && Object.keys(N.value).forEach((j) => {
|
|
282
282
|
N.value[j] = [];
|
|
@@ -291,7 +291,7 @@ const Ol = (e, i) => {
|
|
|
291
291
|
totalWidthOfAllColumns: r,
|
|
292
292
|
rowActionsMaxWidth: P
|
|
293
293
|
};
|
|
294
|
-
},
|
|
294
|
+
}, Wl = (e, i, c, n, d) => {
|
|
295
295
|
const t = A(e.value ?? []), l = rt({
|
|
296
296
|
allItemsSelected: !1,
|
|
297
297
|
isIndeterminate: !1
|
|
@@ -372,7 +372,7 @@ const Ol = (e, i) => {
|
|
|
372
372
|
(a == null ? void 0 : a.length) > 0 ? (C([...t.value, ...a]), h()) : C(t.value);
|
|
373
373
|
}
|
|
374
374
|
), { onAllRowSelect: N, onRowSelect: v, onNestedRowSelect: E, allItemsSelectedState: l, selectedItems: t };
|
|
375
|
-
},
|
|
375
|
+
}, Gl = (e, i, c) => ({ isSorting: (l) => e.value.some((_) => _.field === l), getSortingDirection: (l) => {
|
|
376
376
|
var _;
|
|
377
377
|
return (_ = e.value.find((h) => h.field === l)) == null ? void 0 : _.direction;
|
|
378
378
|
}, sortByColumnField: (l) => {
|
|
@@ -387,9 +387,9 @@ const Ol = (e, i) => {
|
|
|
387
387
|
} });
|
|
388
388
|
var ve = ((e) => (e[e.ARROW_DOWN = $e.ARROW_DOWN] = "ARROW_DOWN", e[e.ARROW_UP = $e.ARROW_UP] = "ARROW_UP", e[e.ARROW_LEFT = $e.ARROW_LEFT] = "ARROW_LEFT", e[e.ARROW_RIGHT = $e.ARROW_RIGHT] = "ARROW_RIGHT", e[e.PAGE_UP = $e.PAGE_UP] = "PAGE_UP", e[e.PAGE_DOWN = $e.PAGE_DOWN] = "PAGE_DOWN", e[e.END = $e.END] = "END", e[e.HOME = $e.HOME] = "HOME", e))(ve || {});
|
|
389
389
|
const He = "b-row-actions-column", ht = (e) => {
|
|
390
|
-
const c =
|
|
390
|
+
const c = gl(e).filter((n) => n.node !== e);
|
|
391
391
|
return (c == null ? void 0 : c.length) > 0 ? (c[0].node.focus(), !0) : !1;
|
|
392
|
-
},
|
|
392
|
+
}, Hl = (e, i, c, n, d, t) => {
|
|
393
393
|
const l = b(() => t.value || n.value ? !0 : c.value.some((s) => s.infoIconTooltip || s.sortable)), _ = b(() => {
|
|
394
394
|
let s = c.value.filter(({ visible: m }) => m !== !1);
|
|
395
395
|
return d.value && (s = [
|
|
@@ -454,17 +454,17 @@ const He = "b-row-actions-column", ht = (e) => {
|
|
|
454
454
|
g.getAttribute("role") !== "menuitem" && (C.value.includes(g) || (g = z.closest('[role="gridcell"], [role="columnheader"]')), C.value.includes(g) && L(U) && w(g, U, m));
|
|
455
455
|
}
|
|
456
456
|
};
|
|
457
|
-
},
|
|
457
|
+
}, Vl = 90, xl = (e, i, c, n, d) => {
|
|
458
458
|
const t = A(e), l = A(i), _ = A(c), h = A(n), C = b(() => t.value !== "none"), N = b(() => t.value === "automatic"), v = () => {
|
|
459
459
|
d(k.UPDATE_SHOW_MORE);
|
|
460
460
|
};
|
|
461
461
|
return ye(
|
|
462
462
|
() => l.value,
|
|
463
463
|
() => {
|
|
464
|
-
N.value && _.value.offsetHeight / l.value * 100 >
|
|
464
|
+
N.value && _.value.offsetHeight / l.value * 100 > Vl && !h.value && v();
|
|
465
465
|
}
|
|
466
466
|
), { isLazyLoad: C, isInfiniteScroll: N, verticalScrollPosition: l, emitLazyLoadEvent: v };
|
|
467
|
-
},
|
|
467
|
+
}, Zl = (e, i, c) => {
|
|
468
468
|
const n = A(e), d = A(i), t = rt({
|
|
469
469
|
dragging: null,
|
|
470
470
|
dragToLeft: null,
|
|
@@ -529,7 +529,7 @@ const He = "b-row-actions-column", ht = (e) => {
|
|
|
529
529
|
draggingEventsForRowCell: P,
|
|
530
530
|
onMoveColumnByOffset: l
|
|
531
531
|
};
|
|
532
|
-
},
|
|
532
|
+
}, jl = (e, i) => {
|
|
533
533
|
const c = A(e), n = b(
|
|
534
534
|
() => [...c.value].sort((v, P) => v.frozen === P.frozen ? 0 : v.frozen ? -1 : 1)
|
|
535
535
|
), d = b(
|
|
@@ -561,7 +561,7 @@ const He = "b-row-actions-column", ht = (e) => {
|
|
|
561
561
|
C(P);
|
|
562
562
|
}
|
|
563
563
|
};
|
|
564
|
-
},
|
|
564
|
+
}, ql = (e, i, c, n, d, t, l) => {
|
|
565
565
|
const _ = A(0), h = A(!1), C = A(!1);
|
|
566
566
|
ye([() => _.value, () => t.value], ([a]) => {
|
|
567
567
|
e.value.scrollLeft = a, i.value.scrollLeft = a, h.value = !!a, C.value = i.value.scrollWidth - i.value.offsetWidth > a;
|
|
@@ -596,7 +596,7 @@ const He = "b-row-actions-column", ht = (e) => {
|
|
|
596
596
|
updateScrollPositionOnFrozenColumnsNavigation: v,
|
|
597
597
|
syncVirtualScrollerWithBody: P
|
|
598
598
|
};
|
|
599
|
-
},
|
|
599
|
+
}, Kl = (e, i, c, n) => {
|
|
600
600
|
const d = A(null), t = b(() => {
|
|
601
601
|
var w, L, S, s;
|
|
602
602
|
if (!d.value || d.value.field === _e)
|
|
@@ -620,12 +620,12 @@ const He = "b-row-actions-column", ht = (e) => {
|
|
|
620
620
|
};
|
|
621
621
|
};
|
|
622
622
|
let zt = 0;
|
|
623
|
-
const
|
|
623
|
+
const Yl = {
|
|
624
624
|
beforeCreate() {
|
|
625
625
|
this.uuid = zt.toString(), zt += 1;
|
|
626
626
|
}
|
|
627
|
-
},
|
|
628
|
-
function
|
|
627
|
+
}, Xl = { key: 0 }, Jl = ["clip-path"], Ql = ["id"];
|
|
628
|
+
function eo(e, i, c, n, d, t) {
|
|
629
629
|
return f(), R("svg", te({ role: "img" }, e.$attrs, {
|
|
630
630
|
class: "ui-assets-icons-16",
|
|
631
631
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -633,14 +633,14 @@ function Ql(e, i, c, n, d, t) {
|
|
|
633
633
|
height: "16",
|
|
634
634
|
fill: "none"
|
|
635
635
|
}), [
|
|
636
|
-
e.$attrs["svg-title"] ? (f(), R("title",
|
|
636
|
+
e.$attrs["svg-title"] ? (f(), R("title", Xl, J(e.$attrs["svg-title"]), 1)) : B("", !0),
|
|
637
637
|
O("g", {
|
|
638
638
|
fill: "#00112C",
|
|
639
639
|
"clip-path": "url(#uia-ui-assets/icons-16-arrow_up_down_sort__a" + e.uuid + ")"
|
|
640
640
|
}, i[0] || (i[0] = [
|
|
641
641
|
O("path", { d: "M9.06077 4.00011L5.00011 -0.0605469L0.939453 4.00011L2.00011 5.06077L4.25 2.81089V10.75H5.75V2.81066L8.00011 5.06077L9.06077 4.00011Z" }, null, -1),
|
|
642
642
|
O("path", { d: "M10.25 13.1893L8.00011 10.9395L6.93945 12.0001L11.0001 16.0608L15.0608 12.0001L14.0001 10.9395L11.75 13.1896V5.25H10.25V13.1893Z" }, null, -1)
|
|
643
|
-
]), 8,
|
|
643
|
+
]), 8, Jl),
|
|
644
644
|
O("defs", null, [
|
|
645
645
|
O("clipPath", {
|
|
646
646
|
id: "uia-ui-assets/icons-16-arrow_up_down_sort__a" + e.uuid
|
|
@@ -650,18 +650,18 @@ function Ql(e, i, c, n, d, t) {
|
|
|
650
650
|
height: "16",
|
|
651
651
|
fill: "#fff"
|
|
652
652
|
}, null, -1)
|
|
653
|
-
]), 8,
|
|
653
|
+
]), 8, Ql)
|
|
654
654
|
])
|
|
655
655
|
], 16);
|
|
656
656
|
}
|
|
657
|
-
const
|
|
657
|
+
const to = /* @__PURE__ */ de(Yl, [["render", eo]]);
|
|
658
658
|
let Ut = 0;
|
|
659
|
-
const
|
|
659
|
+
const no = {
|
|
660
660
|
beforeCreate() {
|
|
661
661
|
this.uuid = Ut.toString(), Ut += 1;
|
|
662
662
|
}
|
|
663
|
-
},
|
|
664
|
-
function
|
|
663
|
+
}, lo = { key: 0 };
|
|
664
|
+
function oo(e, i, c, n, d, t) {
|
|
665
665
|
return f(), R("svg", te({ role: "img" }, e.$attrs, {
|
|
666
666
|
class: "ui-assets-icons-16",
|
|
667
667
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -669,21 +669,21 @@ function lo(e, i, c, n, d, t) {
|
|
|
669
669
|
height: "16",
|
|
670
670
|
fill: "none"
|
|
671
671
|
}), [
|
|
672
|
-
e.$attrs["svg-title"] ? (f(), R("title",
|
|
672
|
+
e.$attrs["svg-title"] ? (f(), R("title", lo, J(e.$attrs["svg-title"]), 1)) : B("", !0),
|
|
673
673
|
i[0] || (i[0] = O("path", {
|
|
674
674
|
fill: "#00112C",
|
|
675
675
|
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"
|
|
676
676
|
}, null, -1))
|
|
677
677
|
], 16);
|
|
678
678
|
}
|
|
679
|
-
const
|
|
679
|
+
const so = /* @__PURE__ */ de(no, [["render", oo]]);
|
|
680
680
|
let Pt = 0;
|
|
681
|
-
const
|
|
681
|
+
const io = {
|
|
682
682
|
beforeCreate() {
|
|
683
683
|
this.uuid = Pt.toString(), Pt += 1;
|
|
684
684
|
}
|
|
685
|
-
},
|
|
686
|
-
function
|
|
685
|
+
}, ao = { key: 0 }, ro = ["clip-path"], uo = ["id"];
|
|
686
|
+
function co(e, i, c, n, d, t) {
|
|
687
687
|
return f(), R("svg", te({ role: "img" }, e.$attrs, {
|
|
688
688
|
class: "ui-assets-icons-16",
|
|
689
689
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -691,7 +691,7 @@ function uo(e, i, c, n, d, t) {
|
|
|
691
691
|
height: "16",
|
|
692
692
|
fill: "none"
|
|
693
693
|
}), [
|
|
694
|
-
e.$attrs["svg-title"] ? (f(), R("title",
|
|
694
|
+
e.$attrs["svg-title"] ? (f(), R("title", ao, J(e.$attrs["svg-title"]), 1)) : B("", !0),
|
|
695
695
|
O("g", {
|
|
696
696
|
"clip-path": "url(#uia-ui-assets/icons-16-freeze__a" + e.uuid + ")"
|
|
697
697
|
}, i[0] || (i[0] = [
|
|
@@ -699,7 +699,7 @@ function uo(e, i, c, n, d, t) {
|
|
|
699
699
|
fill: "#00112C",
|
|
700
700
|
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"
|
|
701
701
|
}, null, -1)
|
|
702
|
-
]), 8,
|
|
702
|
+
]), 8, ro),
|
|
703
703
|
O("defs", null, [
|
|
704
704
|
O("clipPath", {
|
|
705
705
|
id: "uia-ui-assets/icons-16-freeze__a" + e.uuid
|
|
@@ -710,18 +710,18 @@ function uo(e, i, c, n, d, t) {
|
|
|
710
710
|
fill: "#fff",
|
|
711
711
|
transform: "matrix(1 0 0 -1 0 16)"
|
|
712
712
|
}, null, -1)
|
|
713
|
-
]), 8,
|
|
713
|
+
]), 8, uo)
|
|
714
714
|
])
|
|
715
715
|
], 16);
|
|
716
716
|
}
|
|
717
|
-
const
|
|
717
|
+
const sn = /* @__PURE__ */ de(io, [["render", co]]);
|
|
718
718
|
let Bt = 0;
|
|
719
|
-
const
|
|
719
|
+
const fo = {
|
|
720
720
|
beforeCreate() {
|
|
721
721
|
this.uuid = Bt.toString(), Bt += 1;
|
|
722
722
|
}
|
|
723
|
-
},
|
|
724
|
-
function
|
|
723
|
+
}, go = { key: 0 }, vo = ["clip-path"], mo = ["id"];
|
|
724
|
+
function ho(e, i, c, n, d, t) {
|
|
725
725
|
return f(), R("svg", te({ role: "img" }, e.$attrs, {
|
|
726
726
|
class: "ui-assets-icons-16",
|
|
727
727
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -729,7 +729,7 @@ function mo(e, i, c, n, d, t) {
|
|
|
729
729
|
height: "16",
|
|
730
730
|
fill: "none"
|
|
731
731
|
}), [
|
|
732
|
-
e.$attrs["svg-title"] ? (f(), R("title",
|
|
732
|
+
e.$attrs["svg-title"] ? (f(), R("title", go, J(e.$attrs["svg-title"]), 1)) : B("", !0),
|
|
733
733
|
O("g", {
|
|
734
734
|
fill: "#00112C",
|
|
735
735
|
"clip-path": "url(#uia-ui-assets/icons-16-sort_ascending__a" + e.uuid + ")"
|
|
@@ -738,7 +738,7 @@ function mo(e, i, c, n, d, t) {
|
|
|
738
738
|
O("path", { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" }, null, -1),
|
|
739
739
|
O("path", { d: "M1.25 11.25H8.75V12.75H1.25V11.25Z" }, null, -1),
|
|
740
740
|
O("path", { d: "M6.75 3.25H1.25V4.75H6.75V3.25Z" }, null, -1)
|
|
741
|
-
]), 8,
|
|
741
|
+
]), 8, vo),
|
|
742
742
|
O("defs", null, [
|
|
743
743
|
O("clipPath", {
|
|
744
744
|
id: "uia-ui-assets/icons-16-sort_ascending__a" + e.uuid
|
|
@@ -748,18 +748,18 @@ function mo(e, i, c, n, d, t) {
|
|
|
748
748
|
height: "16",
|
|
749
749
|
fill: "#fff"
|
|
750
750
|
}, null, -1)
|
|
751
|
-
]), 8,
|
|
751
|
+
]), 8, mo)
|
|
752
752
|
])
|
|
753
753
|
], 16);
|
|
754
754
|
}
|
|
755
|
-
const
|
|
755
|
+
const Co = /* @__PURE__ */ de(fo, [["render", ho]]);
|
|
756
756
|
let Wt = 0;
|
|
757
|
-
const
|
|
757
|
+
const wo = {
|
|
758
758
|
beforeCreate() {
|
|
759
759
|
this.uuid = Wt.toString(), Wt += 1;
|
|
760
760
|
}
|
|
761
|
-
},
|
|
762
|
-
function
|
|
761
|
+
}, _o = { key: 0 }, yo = ["clip-path"], bo = ["id"];
|
|
762
|
+
function So(e, i, c, n, d, t) {
|
|
763
763
|
return f(), R("svg", te({ role: "img" }, e.$attrs, {
|
|
764
764
|
class: "ui-assets-icons-16",
|
|
765
765
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -767,7 +767,7 @@ function bo(e, i, c, n, d, t) {
|
|
|
767
767
|
height: "16",
|
|
768
768
|
fill: "none"
|
|
769
769
|
}), [
|
|
770
|
-
e.$attrs["svg-title"] ? (f(), R("title",
|
|
770
|
+
e.$attrs["svg-title"] ? (f(), R("title", _o, J(e.$attrs["svg-title"]), 1)) : B("", !0),
|
|
771
771
|
O("g", {
|
|
772
772
|
fill: "#00112C",
|
|
773
773
|
"clip-path": "url(#uia-ui-assets/icons-16-sort_descending__a" + e.uuid + ")"
|
|
@@ -776,7 +776,7 @@ function bo(e, i, c, n, d, t) {
|
|
|
776
776
|
O("path", { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" }, null, -1),
|
|
777
777
|
O("path", { d: "M1.25 3.25H9.09V4.75H1.25V3.25Z" }, null, -1),
|
|
778
778
|
O("path", { d: "M6.75 11.25H1.25V12.75H6.75V11.25Z" }, null, -1)
|
|
779
|
-
]), 8,
|
|
779
|
+
]), 8, yo),
|
|
780
780
|
O("defs", null, [
|
|
781
781
|
O("clipPath", {
|
|
782
782
|
id: "uia-ui-assets/icons-16-sort_descending__a" + e.uuid
|
|
@@ -786,18 +786,18 @@ function bo(e, i, c, n, d, t) {
|
|
|
786
786
|
height: "16",
|
|
787
787
|
fill: "#fff"
|
|
788
788
|
}, null, -1)
|
|
789
|
-
]), 8,
|
|
789
|
+
]), 8, bo)
|
|
790
790
|
])
|
|
791
791
|
], 16);
|
|
792
792
|
}
|
|
793
|
-
const
|
|
793
|
+
const Eo = /* @__PURE__ */ de(wo, [["render", So]]);
|
|
794
794
|
let Gt = 0;
|
|
795
|
-
const
|
|
795
|
+
const Lo = {
|
|
796
796
|
beforeCreate() {
|
|
797
797
|
this.uuid = Gt.toString(), Gt += 1;
|
|
798
798
|
}
|
|
799
|
-
},
|
|
800
|
-
function
|
|
799
|
+
}, po = { key: 0 };
|
|
800
|
+
function Ro(e, i, c, n, d, t) {
|
|
801
801
|
return f(), R("svg", te({ role: "img" }, e.$attrs, {
|
|
802
802
|
class: "ui-assets-icons-16",
|
|
803
803
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -805,14 +805,14 @@ function po(e, i, c, n, d, t) {
|
|
|
805
805
|
height: "16",
|
|
806
806
|
fill: "none"
|
|
807
807
|
}), [
|
|
808
|
-
e.$attrs["svg-title"] ? (f(), R("title",
|
|
808
|
+
e.$attrs["svg-title"] ? (f(), R("title", po, J(e.$attrs["svg-title"]), 1)) : B("", !0),
|
|
809
809
|
i[0] || (i[0] = O("path", {
|
|
810
810
|
fill: "#00112C",
|
|
811
811
|
d: "M8 11.25L12.5 5.25H3.5L8 11.25Z"
|
|
812
812
|
}, null, -1))
|
|
813
813
|
], 16);
|
|
814
814
|
}
|
|
815
|
-
const
|
|
815
|
+
const Ao = /* @__PURE__ */ de(Lo, [["render", Ro]]), an = {
|
|
816
816
|
"en-US": {
|
|
817
817
|
columnActions: "{name} column actions",
|
|
818
818
|
freezeColumn: "Freeze column",
|
|
@@ -845,23 +845,23 @@ const Ro = /* @__PURE__ */ de(Eo, [["render", po]]), sn = {
|
|
|
845
845
|
selectAll: "Selecionar tudo",
|
|
846
846
|
unfreezeColumn: "Descongelar coluna"
|
|
847
847
|
}
|
|
848
|
-
},
|
|
848
|
+
}, Oo = ["aria-colindex", "aria-label", "aria-sort", "data-testid", "draggable", "tabindex"], No = {
|
|
849
849
|
key: 0,
|
|
850
850
|
class: "b-data-grid-columns__select-column"
|
|
851
|
-
},
|
|
851
|
+
}, To = ["aria-label"], Io = { class: "b-data-grid-columns__label" }, $o = {
|
|
852
852
|
key: 0,
|
|
853
853
|
class: "b-data-grid-columns__column-info-icon"
|
|
854
|
-
},
|
|
854
|
+
}, Do = {
|
|
855
855
|
key: 1,
|
|
856
856
|
class: "b-data-grid-columns__column-sort"
|
|
857
|
-
},
|
|
857
|
+
}, ko = ["data-testid", "onMousedown"], Mo = {
|
|
858
858
|
key: 0,
|
|
859
859
|
class: "b-data-grid-columns__column-separator"
|
|
860
|
-
},
|
|
861
|
-
i18n: { messages:
|
|
860
|
+
}, Fo = ["aria-label", "aria-colindex"], zo = {
|
|
861
|
+
i18n: { messages: an },
|
|
862
862
|
name: "data-grid-columns"
|
|
863
|
-
},
|
|
864
|
-
...
|
|
863
|
+
}, Uo = /* @__PURE__ */ Oe({
|
|
864
|
+
...zo,
|
|
865
865
|
props: {
|
|
866
866
|
/**
|
|
867
867
|
* Column definitions using 'key' to relate to data object.
|
|
@@ -994,7 +994,7 @@ const Ro = /* @__PURE__ */ de(Eo, [["render", po]]), sn = {
|
|
|
994
994
|
},
|
|
995
995
|
emits: ["sort", "column-hover"],
|
|
996
996
|
setup(e, { expose: i, emit: c }) {
|
|
997
|
-
const n = e, d = c, t = 100, { t: l } = Ue({ messages:
|
|
997
|
+
const n = e, d = c, t = 100, { t: l } = Ue({ messages: an }), { columns: _, sortBy: h } = dt(n), C = A({}), N = A({}), v = A(), P = A(), E = (u) => d(oe.SELECT_ALL_ROWS, u), a = (u) => u.field === _e, w = b(() => [
|
|
998
998
|
{
|
|
999
999
|
text: l("selectPage"),
|
|
1000
1000
|
handler: () => E(!0)
|
|
@@ -1003,7 +1003,7 @@ const Ro = /* @__PURE__ */ de(Eo, [["render", po]]), sn = {
|
|
|
1003
1003
|
text: l("selectAll"),
|
|
1004
1004
|
handler: () => d(oe.SELECT_ALL_ACROSS_PAGES)
|
|
1005
1005
|
}
|
|
1006
|
-
]), { startResize: L, isResizing: S, columnHoverEventToEmitAfterResizing: s } =
|
|
1006
|
+
]), { startResize: L, isResizing: S, columnHoverEventToEmitAfterResizing: s } = Nl(_, d), { isSorting: m, getSortingDirection: r, sortByColumnField: z } = Gl(h, _, d), U = (u) => {
|
|
1007
1007
|
var ge;
|
|
1008
1008
|
if (!u.sortable)
|
|
1009
1009
|
return null;
|
|
@@ -1032,19 +1032,19 @@ const Ro = /* @__PURE__ */ de(Eo, [["render", po]]), sn = {
|
|
|
1032
1032
|
{
|
|
1033
1033
|
text: l("moveColumnLeft"),
|
|
1034
1034
|
handler: () => d(oe.COLUMN_MOVE, u, -1),
|
|
1035
|
-
icon:
|
|
1035
|
+
icon: Sl,
|
|
1036
1036
|
disabled: n.columns[0].field === u.field
|
|
1037
1037
|
},
|
|
1038
1038
|
{
|
|
1039
1039
|
text: l("moveColumnRight"),
|
|
1040
1040
|
handler: () => d(oe.COLUMN_MOVE, u, 1),
|
|
1041
|
-
icon:
|
|
1041
|
+
icon: so,
|
|
1042
1042
|
disabled: n.columns[n.columns.length - 1].field === u.field
|
|
1043
1043
|
},
|
|
1044
1044
|
{
|
|
1045
1045
|
text: u != null && u.frozen ? l("unfreezeColumn") : l("freezeColumn"),
|
|
1046
1046
|
handler: () => d(oe.COLUMN_UPDATE, { ...u, frozen: !(u != null && u.frozen) }),
|
|
1047
|
-
icon:
|
|
1047
|
+
icon: sn
|
|
1048
1048
|
},
|
|
1049
1049
|
{
|
|
1050
1050
|
text: (u == null ? void 0 : u.visible) !== !1 ? l("hideColumn") : l("showColumn"),
|
|
@@ -1054,7 +1054,7 @@ const Ro = /* @__PURE__ */ de(Eo, [["render", po]]), sn = {
|
|
|
1054
1054
|
visible: (u == null ? void 0 : u.visible) === !1
|
|
1055
1055
|
});
|
|
1056
1056
|
},
|
|
1057
|
-
icon: (u == null ? void 0 : u.visible) !== !1 ?
|
|
1057
|
+
icon: (u == null ? void 0 : u.visible) !== !1 ? El : Ll,
|
|
1058
1058
|
disabled: (u == null ? void 0 : u.mandatory) || (u == null ? void 0 : u.visible) !== !1 && n.isOnlyOneVisibleColumn
|
|
1059
1059
|
}
|
|
1060
1060
|
]), j = (u) => {
|
|
@@ -1144,8 +1144,8 @@ const Ro = /* @__PURE__ */ de(Eo, [["render", po]]), sn = {
|
|
|
1144
1144
|
tabindex: I.sortable || e.hasColumnPanel || I.infoIconTooltip ? "0" : "-1",
|
|
1145
1145
|
style: { width: I.autoWidth && e.isMeasuringColumnWidths ? "auto" : `${I.width}px` }
|
|
1146
1146
|
}, Xe(ue(I), !0)), [
|
|
1147
|
-
a(I) && e.selectable ? (f(), R("div",
|
|
1148
|
-
Y(o(
|
|
1147
|
+
a(I) && e.selectable ? (f(), R("div", No, [
|
|
1148
|
+
Y(o(ln), {
|
|
1149
1149
|
"aria-label": o(l)("selectAll"),
|
|
1150
1150
|
"model-value": e.allItemsSelectedState.allItemsSelected,
|
|
1151
1151
|
"data-testid": "checkbox-select-all",
|
|
@@ -1163,7 +1163,7 @@ const Ro = /* @__PURE__ */ de(Eo, [["render", po]]), sn = {
|
|
|
1163
1163
|
button: { variant: "tertiary", condensed: !0 }
|
|
1164
1164
|
}, {
|
|
1165
1165
|
iconLeft: Z(() => [
|
|
1166
|
-
Y(o(
|
|
1166
|
+
Y(o(Ao), {
|
|
1167
1167
|
"svg-title": o(l)("selectionMenu")
|
|
1168
1168
|
}, null, 8, ["svg-title"])
|
|
1169
1169
|
]),
|
|
@@ -1183,7 +1183,7 @@ const Ro = /* @__PURE__ */ de(Eo, [["render", po]]), sn = {
|
|
|
1183
1183
|
}, {
|
|
1184
1184
|
default: Z(() => [
|
|
1185
1185
|
Re(u.$slots, `head-${I.field}`, { column: I }, () => [
|
|
1186
|
-
O("span",
|
|
1186
|
+
O("span", Io, J(I.label), 1)
|
|
1187
1187
|
], !0)
|
|
1188
1188
|
]),
|
|
1189
1189
|
_: 2
|
|
@@ -1192,12 +1192,12 @@ const Ro = /* @__PURE__ */ de(Eo, [["render", po]]), sn = {
|
|
|
1192
1192
|
key: 0,
|
|
1193
1193
|
class: ce(["b-data-grid-columns__column-actions", G(I)])
|
|
1194
1194
|
}, [
|
|
1195
|
-
I.infoIconTooltip ? (f(), R("div",
|
|
1196
|
-
Y(o(
|
|
1195
|
+
I.infoIconTooltip ? (f(), R("div", $o, [
|
|
1196
|
+
Y(o(_l), {
|
|
1197
1197
|
"tooltip-text": I.infoIconTooltip
|
|
1198
1198
|
}, null, 8, ["tooltip-text"])
|
|
1199
1199
|
])) : B("", !0),
|
|
1200
|
-
I.sortable ? (f(), R("div",
|
|
1200
|
+
I.sortable ? (f(), R("div", Do, [
|
|
1201
1201
|
Y(o(mt), {
|
|
1202
1202
|
condensed: "",
|
|
1203
1203
|
toggled: o(m)(I.field),
|
|
@@ -1205,13 +1205,13 @@ const Ro = /* @__PURE__ */ de(Eo, [["render", po]]), sn = {
|
|
|
1205
1205
|
onClick: (ae) => o(z)(I.field)
|
|
1206
1206
|
}, {
|
|
1207
1207
|
iconLeft: Z(() => [
|
|
1208
|
-
o(r)(I.field) ? o(r)(I.field) === o(Fe).ASCENDING ? (f(), H(o(
|
|
1208
|
+
o(r)(I.field) ? o(r)(I.field) === o(Fe).ASCENDING ? (f(), H(o(Co), {
|
|
1209
1209
|
key: 1,
|
|
1210
1210
|
"svg-title": o(l)("sortColumnInDescendingOrder", { name: I.label })
|
|
1211
|
-
}, null, 8, ["svg-title"])) : o(r)(I.field) === o(Fe).DESCENDING ? (f(), H(o(
|
|
1211
|
+
}, null, 8, ["svg-title"])) : o(r)(I.field) === o(Fe).DESCENDING ? (f(), H(o(Eo), {
|
|
1212
1212
|
key: 2,
|
|
1213
1213
|
"svg-title": o(l)("sortColumnInAscendingOrder", { name: I.label })
|
|
1214
|
-
}, null, 8, ["svg-title"])) : B("", !0) : (f(), H(o(
|
|
1214
|
+
}, null, 8, ["svg-title"])) : B("", !0) : (f(), H(o(to), {
|
|
1215
1215
|
key: 0,
|
|
1216
1216
|
"svg-title": o(l)("sortColumn", { name: I.label })
|
|
1217
1217
|
}, null, 8, ["svg-title"]))
|
|
@@ -1233,19 +1233,19 @@ const Ro = /* @__PURE__ */ de(Eo, [["render", po]]), sn = {
|
|
|
1233
1233
|
onClose: x[1] || (x[1] = (ae) => u.$emit(o(oe).COLUMN_MENU_CLOSE))
|
|
1234
1234
|
}, null, 8, ["data", "menu-position"])) : B("", !0)
|
|
1235
1235
|
], 2)) : B("", !0)
|
|
1236
|
-
], 10,
|
|
1236
|
+
], 10, To),
|
|
1237
1237
|
O("div", {
|
|
1238
1238
|
"data-testid": `data-grid-column-${I.field}`,
|
|
1239
1239
|
class: ce(["b-data-grid-columns__column-separator-container", we(I)]),
|
|
1240
1240
|
role: "presentation",
|
|
1241
1241
|
onMousedown: (ae) => o(L)(e.hasResizableColumns, I.field, ae),
|
|
1242
|
-
onClick: x[2] || (x[2] =
|
|
1242
|
+
onClick: x[2] || (x[2] = Xn(() => {
|
|
1243
1243
|
}, ["stop"]))
|
|
1244
1244
|
}, [
|
|
1245
|
-
!e.isFrozenColumns || e.isFrozenColumns && ge !== o(_).length - 1 ? (f(), R("div",
|
|
1246
|
-
], 42,
|
|
1245
|
+
!e.isFrozenColumns || e.isFrozenColumns && ge !== o(_).length - 1 ? (f(), R("div", Mo)) : B("", !0)
|
|
1246
|
+
], 42, ko)
|
|
1247
1247
|
], 64))
|
|
1248
|
-
], 16,
|
|
1248
|
+
], 16, Oo))), 128)),
|
|
1249
1249
|
e.rowActionsMaximumWidth && !e.isFrozenColumns ? (f(), R(Ce, { key: 0 }, [
|
|
1250
1250
|
x[3] || (x[3] = O("div", {
|
|
1251
1251
|
role: "presentation",
|
|
@@ -1259,19 +1259,19 @@ const Ro = /* @__PURE__ */ de(Eo, [["render", po]]), sn = {
|
|
|
1259
1259
|
role: "columnheader",
|
|
1260
1260
|
tabindex: "0",
|
|
1261
1261
|
style: ke({ minWidth: `${e.rowActionsMaximumWidth}px` })
|
|
1262
|
-
}, null, 12,
|
|
1262
|
+
}, null, 12, Fo)
|
|
1263
1263
|
], 64)) : B("", !0)
|
|
1264
1264
|
], 2));
|
|
1265
1265
|
}
|
|
1266
|
-
}),
|
|
1266
|
+
}), Po = /* @__PURE__ */ de(Uo, [["__scopeId", "data-v-8f3b3034"]]);
|
|
1267
1267
|
var De = /* @__PURE__ */ ((e) => (e.CONFIG_SETTINGS = "config-settings", e.UPDATE_COLUMNS = "update:columns", e))(De || {});
|
|
1268
1268
|
let Ht = 0;
|
|
1269
|
-
const
|
|
1269
|
+
const Bo = {
|
|
1270
1270
|
beforeCreate() {
|
|
1271
1271
|
this.uuid = Ht.toString(), Ht += 1;
|
|
1272
1272
|
}
|
|
1273
|
-
},
|
|
1274
|
-
function
|
|
1273
|
+
}, Wo = { key: 0 }, Go = ["clip-path"], Ho = ["id"];
|
|
1274
|
+
function Vo(e, i, c, n, d, t) {
|
|
1275
1275
|
return f(), R("svg", te({ role: "img" }, e.$attrs, {
|
|
1276
1276
|
class: "ui-assets-icons-16",
|
|
1277
1277
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1279,14 +1279,14 @@ function Ho(e, i, c, n, d, t) {
|
|
|
1279
1279
|
height: "16",
|
|
1280
1280
|
fill: "none"
|
|
1281
1281
|
}), [
|
|
1282
|
-
e.$attrs["svg-title"] ? (f(), R("title",
|
|
1282
|
+
e.$attrs["svg-title"] ? (f(), R("title", Wo, J(e.$attrs["svg-title"]), 1)) : B("", !0),
|
|
1283
1283
|
O("g", {
|
|
1284
1284
|
fill: "#00112C",
|
|
1285
1285
|
"clip-path": "url(#uia-ui-assets/icons-16-settings__a" + e.uuid + ")"
|
|
1286
1286
|
}, i[0] || (i[0] = [
|
|
1287
1287
|
O("path", { d: "M8 5.25C6.48122 5.25 5.25 6.48122 5.25 8C5.25 9.51878 6.48122 10.75 8 10.75C9.51878 10.75 10.75 9.51878 10.75 8C10.75 6.48122 9.51878 5.25 8 5.25ZM6.75 8C6.75 7.30964 7.30964 6.75 8 6.75C8.69036 6.75 9.25 7.30964 9.25 8C9.25 8.69036 8.69036 9.25 8 9.25C7.30964 9.25 6.75 8.69036 6.75 8Z" }, null, -1),
|
|
1288
1288
|
O("path", { d: "M6.84701 0.973015L6.59985 0.35083L5.9537 0.526056C4.64534 0.880867 3.48225 1.56808 2.55285 2.48641L2.07533 2.95826L2.49158 3.48495C2.79648 3.87074 2.85279 4.419 2.58992 4.87589C2.32905 5.32931 1.82436 5.55631 1.33473 5.48726L0.677319 5.39455L0.505539 6.03586C0.33838 6.65992 0.25 7.32519 0.25 7.99991C0.25 8.67463 0.33838 9.3399 0.505539 9.96396L0.677319 10.6053L1.33473 10.5126C1.82436 10.4435 2.32905 10.6705 2.58992 11.1239C2.85279 11.5808 2.79648 12.1291 2.49158 12.5149L2.07533 13.0416L2.55285 13.5134C3.48225 14.4317 4.64534 15.119 5.9537 15.4738L6.59985 15.649L6.84701 15.0268C7.02659 14.5748 7.47549 14.2499 8 14.2499C8.52452 14.2499 8.97341 14.5748 9.15299 15.0268L9.40016 15.649L10.0463 15.4738C11.3547 15.119 12.5177 14.4317 13.4471 13.5134L13.9247 13.0416L13.5084 12.5149C13.2035 12.1291 13.1472 11.5808 13.4101 11.1239C13.671 10.6705 14.1756 10.4435 14.6653 10.5126L15.3227 10.6053L15.4945 9.96396C15.6616 9.3399 15.75 8.67463 15.75 7.99991C15.75 7.32519 15.6616 6.65992 15.4945 6.03586L15.3227 5.39455L14.6653 5.48726C14.1756 5.55631 13.671 5.32931 13.4101 4.87589C13.1472 4.419 13.2035 3.87074 13.5084 3.48495L13.9247 2.95826L13.4471 2.48641C12.5177 1.56808 11.3547 0.880867 10.0463 0.526056L9.40016 0.35083L9.15299 0.973015C8.97341 1.42506 8.52452 1.74991 8 1.74991C7.47549 1.74991 7.02659 1.42506 6.84701 0.973015ZM3.89008 5.62393C4.33946 4.84286 4.36394 3.9353 4.03405 3.16853C4.55803 2.73795 5.15349 2.39116 5.80146 2.14902C6.30062 2.81653 7.10051 3.24991 8 3.24991C8.89949 3.24991 9.69938 2.81653 10.1985 2.14902C10.8465 2.39116 11.442 2.73795 11.966 3.16853C11.6361 3.9353 11.6605 4.84287 12.1099 5.62393C12.5612 6.40839 13.3382 6.88092 14.1658 6.97982C14.221 7.31075 14.25 7.65319 14.25 7.99991C14.25 8.34663 14.221 8.68908 14.1658 9.02001C13.3382 9.11891 12.5612 9.59143 12.1099 10.3759C11.6605 11.157 11.6361 12.0645 11.9659 12.8313C11.442 13.2619 10.8465 13.6087 10.1985 13.8508C9.69938 13.1833 8.89949 12.7499 8 12.7499C7.10051 12.7499 6.30062 13.1833 5.80146 13.8508C5.15349 13.6087 4.55803 13.2619 4.03405 12.8313C4.36394 12.0645 4.33946 11.157 3.89008 10.3759C3.43875 9.59143 2.66177 9.1189 1.8342 9.02C1.77896 8.68908 1.75 8.34663 1.75 7.99991C1.75 7.65319 1.77896 7.31074 1.8342 6.97982C2.66177 6.88092 3.43875 6.40839 3.89008 5.62393Z" }, null, -1)
|
|
1289
|
-
]), 8,
|
|
1289
|
+
]), 8, Go),
|
|
1290
1290
|
O("defs", null, [
|
|
1291
1291
|
O("clipPath", {
|
|
1292
1292
|
id: "uia-ui-assets/icons-16-settings__a" + e.uuid
|
|
@@ -1296,21 +1296,21 @@ function Ho(e, i, c, n, d, t) {
|
|
|
1296
1296
|
height: "16",
|
|
1297
1297
|
fill: "#fff"
|
|
1298
1298
|
}, null, -1)
|
|
1299
|
-
]), 8,
|
|
1299
|
+
]), 8, Ho)
|
|
1300
1300
|
])
|
|
1301
1301
|
], 16);
|
|
1302
1302
|
}
|
|
1303
|
-
const
|
|
1303
|
+
const xo = /* @__PURE__ */ de(Bo, [["render", Vo]]), Vt = {
|
|
1304
1304
|
"en-US": {
|
|
1305
1305
|
toggleColumnFreeze: "Toggle {label} column freeze",
|
|
1306
1306
|
toggleColumnVisibility: "Toggle {label} column visibility"
|
|
1307
1307
|
}
|
|
1308
|
-
},
|
|
1308
|
+
}, Zo = Oe({
|
|
1309
1309
|
i18n: { messages: Vt },
|
|
1310
1310
|
name: "bento-data-grid",
|
|
1311
1311
|
components: {
|
|
1312
|
-
BentoFreezeIcon:
|
|
1313
|
-
BentoToggle:
|
|
1312
|
+
BentoFreezeIcon: sn,
|
|
1313
|
+
BentoToggle: nn
|
|
1314
1314
|
},
|
|
1315
1315
|
props: {
|
|
1316
1316
|
/**
|
|
@@ -1363,7 +1363,7 @@ const Vo = /* @__PURE__ */ de(Po, [["render", Ho]]), Vt = {
|
|
|
1363
1363
|
};
|
|
1364
1364
|
}
|
|
1365
1365
|
});
|
|
1366
|
-
function
|
|
1366
|
+
function jo(e, i, c, n, d, t) {
|
|
1367
1367
|
const l = Ee("bento-toggle"), _ = Ee("bento-freeze-icon");
|
|
1368
1368
|
return f(), R("div", {
|
|
1369
1369
|
class: "b-data-grid-config-settings-column-row",
|
|
@@ -1387,11 +1387,11 @@ function Zo(e, i, c, n, d, t) {
|
|
|
1387
1387
|
class: ce(["b-data-grid-config-settings-column-row__freeze-icon", e.freezeIconConditionalClasses]),
|
|
1388
1388
|
onClick: e.toggleColumnFreeze
|
|
1389
1389
|
}, null, 8, ["aria-label", "class", "onClick"]), [
|
|
1390
|
-
[
|
|
1390
|
+
[Jn, e.isColumnFrozen || e.isFreezeIconOptionShown]
|
|
1391
1391
|
])
|
|
1392
1392
|
], 32);
|
|
1393
1393
|
}
|
|
1394
|
-
const
|
|
1394
|
+
const qo = /* @__PURE__ */ de(Zo, [["render", jo], ["__scopeId", "data-v-bb87a729"]]), xt = {
|
|
1395
1395
|
"en-US": {
|
|
1396
1396
|
closeConfigSettingsPanel: "Close configuration settings panel",
|
|
1397
1397
|
closeSearch: "Close search",
|
|
@@ -1417,22 +1417,22 @@ const jo = /* @__PURE__ */ de(xo, [["render", Zo], ["__scopeId", "data-v-bb87a72
|
|
|
1417
1417
|
search: "Buscar",
|
|
1418
1418
|
size: "Tamanho"
|
|
1419
1419
|
}
|
|
1420
|
-
},
|
|
1420
|
+
}, Ko = Oe({
|
|
1421
1421
|
i18n: { messages: xt },
|
|
1422
1422
|
name: "bento-data-grid",
|
|
1423
1423
|
components: {
|
|
1424
|
-
BentoButton:
|
|
1425
|
-
BentoCrossIcon:
|
|
1426
|
-
BentoPopover:
|
|
1427
|
-
BentoSettingsIcon:
|
|
1424
|
+
BentoButton: tn,
|
|
1425
|
+
BentoCrossIcon: Qt,
|
|
1426
|
+
BentoPopover: vl,
|
|
1427
|
+
BentoSettingsIcon: xo,
|
|
1428
1428
|
BentoToggleButton: mt,
|
|
1429
|
-
BentoDataGridConfigSettingsConfigRow:
|
|
1430
|
-
BentoSearchBar:
|
|
1431
|
-
BentoSearchIcon:
|
|
1432
|
-
BentoToggle:
|
|
1429
|
+
BentoDataGridConfigSettingsConfigRow: qo,
|
|
1430
|
+
BentoSearchBar: ml,
|
|
1431
|
+
BentoSearchIcon: wl,
|
|
1432
|
+
BentoToggle: nn,
|
|
1433
1433
|
BentoTypography: Je
|
|
1434
1434
|
},
|
|
1435
|
-
directives: { BentoClickOutsideDirective:
|
|
1435
|
+
directives: { BentoClickOutsideDirective: Cl },
|
|
1436
1436
|
props: {
|
|
1437
1437
|
/**
|
|
1438
1438
|
* Column definitions
|
|
@@ -1451,7 +1451,7 @@ const jo = /* @__PURE__ */ de(xo, [["render", Zo], ["__scopeId", "data-v-bb87a72
|
|
|
1451
1451
|
},
|
|
1452
1452
|
emits: [De.CONFIG_SETTINGS, De.UPDATE_COLUMNS],
|
|
1453
1453
|
setup(e, { emit: i }) {
|
|
1454
|
-
const { t: c } = Ue({ messages: xt }), n = A(null), d = ot("data-grid-config-settings-popover"), t = A(null), l = A(!1), _ = A(!0), h = A(null), C = A(""), N = nt(e, "columns"), v = A(!1), P =
|
|
1454
|
+
const { t: c } = Ue({ messages: xt }), n = A(null), d = ot("data-grid-config-settings-popover"), t = A(null), l = A(!1), _ = A(!0), h = A(null), C = A(""), N = nt(e, "columns"), v = A(!1), P = hl(C, N), E = () => {
|
|
1455
1455
|
C.value = "";
|
|
1456
1456
|
}, a = b(
|
|
1457
1457
|
() => !e.columns.some((g) => g.visible === !1 && !g.mandatory)
|
|
@@ -1512,21 +1512,21 @@ const jo = /* @__PURE__ */ de(xo, [["render", Zo], ["__scopeId", "data-v-bb87a72
|
|
|
1512
1512
|
t: c
|
|
1513
1513
|
};
|
|
1514
1514
|
}
|
|
1515
|
-
}),
|
|
1515
|
+
}), Yo = { class: "b-data-grid-config-settings" }, Xo = { class: "b-data-grid-config-settings__button-and-separator" }, Jo = {
|
|
1516
1516
|
ref: "configSettingsButtonRef",
|
|
1517
1517
|
class: "b-data-grid-config-settings__button-container"
|
|
1518
|
-
},
|
|
1518
|
+
}, Qo = { class: "b-data-grid-config-settings__panel-header" }, es = { class: "b-data-grid-config-settings__condensed-view-settings" }, ts = { class: "b-data-grid-config-settings__column-visibility-settings" }, ns = { class: "b-data-grid-config-settings__column-visibility-header" }, ls = {
|
|
1519
1519
|
key: 0,
|
|
1520
1520
|
class: "b-data-grid-config-settings__column-visibility-search"
|
|
1521
|
-
},
|
|
1521
|
+
}, os = {
|
|
1522
1522
|
key: 1,
|
|
1523
1523
|
class: "b-data-grid-config-settings__column-visibility-show-all"
|
|
1524
|
-
},
|
|
1525
|
-
function
|
|
1526
|
-
const l = Ee("bento-settings-icon"), _ = Ee("bento-toggle-button"), h = Ee("bento-typography"), C = Ee("bento-cross-icon"), N = Ee("bento-button"), v = Ee("bento-toggle"), P = Ee("bento-search-icon"), E = Ee("bento-search-bar"), a = Ee("bento-data-grid-config-settings-config-row"), w = Ee("bento-popover"), L =
|
|
1527
|
-
return ut((f(), R("div",
|
|
1528
|
-
O("div",
|
|
1529
|
-
O("div",
|
|
1524
|
+
}, ss = { class: "b-data-grid-config-settings__column-visibility-toggles" };
|
|
1525
|
+
function is(e, i, c, n, d, t) {
|
|
1526
|
+
const l = Ee("bento-settings-icon"), _ = Ee("bento-toggle-button"), h = Ee("bento-typography"), C = Ee("bento-cross-icon"), N = Ee("bento-button"), v = Ee("bento-toggle"), P = Ee("bento-search-icon"), E = Ee("bento-search-bar"), a = Ee("bento-data-grid-config-settings-config-row"), w = Ee("bento-popover"), L = Qn("bento-click-outside-directive");
|
|
1527
|
+
return ut((f(), R("div", Yo, [
|
|
1528
|
+
O("div", Xo, [
|
|
1529
|
+
O("div", Jo, [
|
|
1530
1530
|
Y(_, {
|
|
1531
1531
|
"aria-controls": e.isConfigSettingsPanelOpen ? e.popoverId : null,
|
|
1532
1532
|
variant: "tertiary",
|
|
@@ -1553,7 +1553,7 @@ function ss(e, i, c, n, d, t) {
|
|
|
1553
1553
|
position: "bottom-end"
|
|
1554
1554
|
}, {
|
|
1555
1555
|
default: Z(() => [
|
|
1556
|
-
O("div",
|
|
1556
|
+
O("div", Qo, [
|
|
1557
1557
|
Y(h, {
|
|
1558
1558
|
el: "span",
|
|
1559
1559
|
strongest: ""
|
|
@@ -1575,7 +1575,7 @@ function ss(e, i, c, n, d, t) {
|
|
|
1575
1575
|
_: 1
|
|
1576
1576
|
})
|
|
1577
1577
|
]),
|
|
1578
|
-
O("div",
|
|
1578
|
+
O("div", es, [
|
|
1579
1579
|
Y(h, {
|
|
1580
1580
|
class: "b-data-grid-config-settings__condensed-view-title",
|
|
1581
1581
|
el: "span",
|
|
@@ -1598,8 +1598,8 @@ function ss(e, i, c, n, d, t) {
|
|
|
1598
1598
|
_: 1
|
|
1599
1599
|
}, 8, ["aria-label", "value", "onInput"])
|
|
1600
1600
|
]),
|
|
1601
|
-
O("div",
|
|
1602
|
-
O("div",
|
|
1601
|
+
O("div", ts, [
|
|
1602
|
+
O("div", ns, [
|
|
1603
1603
|
Y(h, {
|
|
1604
1604
|
class: "b-data-grid-config-settings__column-visibility-title",
|
|
1605
1605
|
el: "span",
|
|
@@ -1637,7 +1637,7 @@ function ss(e, i, c, n, d, t) {
|
|
|
1637
1637
|
_: 1
|
|
1638
1638
|
}, 8, ["onClick"]))
|
|
1639
1639
|
]),
|
|
1640
|
-
e.isColumnVisibilityFilterShown ? (f(), R("div",
|
|
1640
|
+
e.isColumnVisibilityFilterShown ? (f(), R("div", ls, [
|
|
1641
1641
|
Y(E, {
|
|
1642
1642
|
ref: "searchBarRef",
|
|
1643
1643
|
value: e.searchTerm,
|
|
@@ -1646,7 +1646,7 @@ function ss(e, i, c, n, d, t) {
|
|
|
1646
1646
|
onClear: e.clearAction,
|
|
1647
1647
|
onEscapePressed: e.toggleColumnFilter
|
|
1648
1648
|
}, null, 8, ["value", "input-field-aria-label", "onClear", "onEscapePressed"])
|
|
1649
|
-
])) : (f(), R("div",
|
|
1649
|
+
])) : (f(), R("div", os, [
|
|
1650
1650
|
Y(v, {
|
|
1651
1651
|
"label-position": "after",
|
|
1652
1652
|
value: e.allColumnsVisbilityToggleState,
|
|
@@ -1658,7 +1658,7 @@ function ss(e, i, c, n, d, t) {
|
|
|
1658
1658
|
_: 1
|
|
1659
1659
|
}, 8, ["value", "onInput"])
|
|
1660
1660
|
])),
|
|
1661
|
-
O("div",
|
|
1661
|
+
O("div", ss, [
|
|
1662
1662
|
(f(!0), R(Ce, null, Le(e.filteredColumnVisibilityColumns, (S) => (f(), R("div", {
|
|
1663
1663
|
key: S.field
|
|
1664
1664
|
}, [
|
|
@@ -1689,7 +1689,7 @@ function ss(e, i, c, n, d, t) {
|
|
|
1689
1689
|
[L, e.onClickOutside]
|
|
1690
1690
|
]);
|
|
1691
1691
|
}
|
|
1692
|
-
const
|
|
1692
|
+
const as = /* @__PURE__ */ de(Ko, [["render", is], ["__scopeId", "data-v-f5950a53"]]), Qe = {
|
|
1693
1693
|
"en-US": {
|
|
1694
1694
|
gettingYourData: "Getting your data",
|
|
1695
1695
|
loading: "Loading",
|
|
@@ -1707,10 +1707,10 @@ const is = /* @__PURE__ */ de(qo, [["render", ss], ["__scopeId", "data-v-f5950a5
|
|
|
1707
1707
|
loading: "Carregando",
|
|
1708
1708
|
showMore: "Mostrar mais"
|
|
1709
1709
|
}
|
|
1710
|
-
},
|
|
1710
|
+
}, rs = { class: "b-data-grid-lazy-load" }, ds = {
|
|
1711
1711
|
i18n: { messages: Qe }
|
|
1712
|
-
},
|
|
1713
|
-
...
|
|
1712
|
+
}, us = /* @__PURE__ */ Oe({
|
|
1713
|
+
...ds,
|
|
1714
1714
|
__name: "data-grid-lazy-load",
|
|
1715
1715
|
props: {
|
|
1716
1716
|
loading: { type: Boolean },
|
|
@@ -1718,7 +1718,7 @@ const is = /* @__PURE__ */ de(qo, [["render", ss], ["__scopeId", "data-v-f5950a5
|
|
|
1718
1718
|
},
|
|
1719
1719
|
setup(e) {
|
|
1720
1720
|
const { t: i } = Ue({ messages: Qe });
|
|
1721
|
-
return (c, n) => (f(), R("div",
|
|
1721
|
+
return (c, n) => (f(), R("div", rs, [
|
|
1722
1722
|
c.loading && c.isInfiniteScroll ? (f(), H(o(ft), { key: 0 })) : B("", !0),
|
|
1723
1723
|
c.loading && !c.isInfiniteScroll ? (f(), H(o(It), {
|
|
1724
1724
|
key: 1,
|
|
@@ -1743,14 +1743,14 @@ const is = /* @__PURE__ */ de(qo, [["render", ss], ["__scopeId", "data-v-f5950a5
|
|
|
1743
1743
|
}, 8, ["state"])) : B("", !0)
|
|
1744
1744
|
]));
|
|
1745
1745
|
}
|
|
1746
|
-
}),
|
|
1746
|
+
}), cs = /* @__PURE__ */ de(us, [["__scopeId", "data-v-a4824c2d"]]);
|
|
1747
1747
|
let Zt = 0;
|
|
1748
|
-
const
|
|
1748
|
+
const fs = {
|
|
1749
1749
|
beforeCreate() {
|
|
1750
1750
|
this.uuid = Zt.toString(), Zt += 1;
|
|
1751
1751
|
}
|
|
1752
|
-
},
|
|
1753
|
-
function
|
|
1752
|
+
}, gs = { key: 0 };
|
|
1753
|
+
function vs(e, i, c, n, d, t) {
|
|
1754
1754
|
return f(), R("svg", te({ role: "img" }, e.$attrs, {
|
|
1755
1755
|
class: "ui-assets-icons-16",
|
|
1756
1756
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1758,14 +1758,14 @@ function gs(e, i, c, n, d, t) {
|
|
|
1758
1758
|
height: "16",
|
|
1759
1759
|
fill: "none"
|
|
1760
1760
|
}), [
|
|
1761
|
-
e.$attrs["svg-title"] ? (f(), R("title",
|
|
1761
|
+
e.$attrs["svg-title"] ? (f(), R("title", gs, J(e.$attrs["svg-title"]), 1)) : B("", !0),
|
|
1762
1762
|
i[0] || (i[0] = O("path", {
|
|
1763
1763
|
fill: "#00112C",
|
|
1764
1764
|
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"
|
|
1765
1765
|
}, null, -1))
|
|
1766
1766
|
], 16);
|
|
1767
1767
|
}
|
|
1768
|
-
const
|
|
1768
|
+
const ms = /* @__PURE__ */ de(fs, [["render", vs]]), rn = {
|
|
1769
1769
|
"en-US": {
|
|
1770
1770
|
copy: "Copy",
|
|
1771
1771
|
edit: "Edit",
|
|
@@ -1784,11 +1784,11 @@ const vs = /* @__PURE__ */ de(cs, [["render", gs]]), an = {
|
|
|
1784
1784
|
more: "Mais",
|
|
1785
1785
|
open: "Abrir"
|
|
1786
1786
|
}
|
|
1787
|
-
},
|
|
1788
|
-
i18n: { messages:
|
|
1787
|
+
}, hs = { class: "b-data-grid-cell-actions" }, Cs = {
|
|
1788
|
+
i18n: { messages: rn },
|
|
1789
1789
|
name: "data-grid-cell-actions"
|
|
1790
|
-
},
|
|
1791
|
-
...
|
|
1790
|
+
}, ws = /* @__PURE__ */ Oe({
|
|
1791
|
+
...Cs,
|
|
1792
1792
|
props: {
|
|
1793
1793
|
/**
|
|
1794
1794
|
* Column definitions using 'key' to relate to data object.
|
|
@@ -1836,7 +1836,7 @@ const vs = /* @__PURE__ */ de(cs, [["render", gs]]), an = {
|
|
|
1836
1836
|
},
|
|
1837
1837
|
emits: ["menu-open", "menu-close", "menu-item-click"],
|
|
1838
1838
|
setup(e, { emit: i }) {
|
|
1839
|
-
const { t: c } = Ue({ messages:
|
|
1839
|
+
const { t: c } = Ue({ messages: rn }), n = e, d = i, t = b(() => n.columnKey === void 0), l = b(() => ({
|
|
1840
1840
|
"b-data-grid-cell-actions__background-gradient--with-row-actions-and-overflow": t.value && n.hasRightOverflow
|
|
1841
1841
|
})), _ = b(() => ({
|
|
1842
1842
|
"b-data-grid-cell-actions__actions--with-row-actions": t.value
|
|
@@ -1847,7 +1847,7 @@ const vs = /* @__PURE__ */ de(cs, [["render", gs]]), an = {
|
|
|
1847
1847
|
const N = b(() => {
|
|
1848
1848
|
var m;
|
|
1849
1849
|
const s = C(n.cellActions) ? (m = n.cellActions) == null ? void 0 : m.call(n, n.rowDataItem, n.columnKey) : n.cellActions;
|
|
1850
|
-
return (s == null ? void 0 : s.length) > 2 &&
|
|
1850
|
+
return (s == null ? void 0 : s.length) > 2 && en(
|
|
1851
1851
|
"WARNING: BentoDataGrid Cell actions can only have a maximum of 2 actions, if you need more consider using the menuData property instead."
|
|
1852
1852
|
), s == null ? void 0 : s.slice(0, 2);
|
|
1853
1853
|
}), v = b(() => (s, m) => {
|
|
@@ -1880,12 +1880,12 @@ const vs = /* @__PURE__ */ de(cs, [["render", gs]]), an = {
|
|
|
1880
1880
|
var m, r;
|
|
1881
1881
|
return (s == null ? void 0 : s.getCopyData) !== void 0 ? s.getCopyData(n.rowDataItem, n.columnKey) : n.columnKey ? (r = (m = n.rowDataItem) == null ? void 0 : m[n.columnKey]) == null ? void 0 : r.toString() : "";
|
|
1882
1882
|
}, L = (s) => s.iconRight || ((s == null ? void 0 : s.variant) === "more" || (s == null ? void 0 : s.variant) === "open") && !s.isShort, S = (s) => s.iconLeft || (s == null ? void 0 : s.variant) === "more";
|
|
1883
|
-
return (s, m) => (f(), H(
|
|
1883
|
+
return (s, m) => (f(), H(Xt, {
|
|
1884
1884
|
name: "b-data-grid-cell-actions__animation",
|
|
1885
1885
|
appear: ""
|
|
1886
1886
|
}, {
|
|
1887
1887
|
default: Z(() => [
|
|
1888
|
-
O("div",
|
|
1888
|
+
O("div", hs, [
|
|
1889
1889
|
h.value ? (f(), R("div", {
|
|
1890
1890
|
key: 0,
|
|
1891
1891
|
class: ce(["b-data-grid-cell-actions__background-gradient", l.value])
|
|
@@ -1915,7 +1915,7 @@ const vs = /* @__PURE__ */ de(cs, [["render", gs]]), an = {
|
|
|
1915
1915
|
S(r) ? {
|
|
1916
1916
|
name: "iconLeft",
|
|
1917
1917
|
fn: Z(() => [
|
|
1918
|
-
(r == null ? void 0 : r.variant) === "more" ? (f(), H(o(
|
|
1918
|
+
(r == null ? void 0 : r.variant) === "more" ? (f(), H(o(yl), {
|
|
1919
1919
|
key: 0,
|
|
1920
1920
|
"svg-title": v.value(r, !0)
|
|
1921
1921
|
}, null, 8, ["svg-title"])) : (f(), H(Ge(r.iconLeft), {
|
|
@@ -1945,7 +1945,7 @@ const vs = /* @__PURE__ */ de(cs, [["render", gs]]), an = {
|
|
|
1945
1945
|
]),
|
|
1946
1946
|
key: "2"
|
|
1947
1947
|
} : void 0
|
|
1948
|
-
]), 1032, ["data", "button", "disable-arrow-down-opening-menu", "teleport"])) : r.variant === "copy" ? (f(), H(o(
|
|
1948
|
+
]), 1032, ["data", "button", "disable-arrow-down-opening-menu", "teleport"])) : r.variant === "copy" ? (f(), H(o(Rl), {
|
|
1949
1949
|
key: 1,
|
|
1950
1950
|
text: w(r),
|
|
1951
1951
|
"button-text": v.value(r),
|
|
@@ -1953,7 +1953,7 @@ const vs = /* @__PURE__ */ de(cs, [["render", gs]]), an = {
|
|
|
1953
1953
|
condensed: !0,
|
|
1954
1954
|
variant: "secondary"
|
|
1955
1955
|
}
|
|
1956
|
-
}, null, 8, ["text", "button-text"])) : (f(), H(o(
|
|
1956
|
+
}, null, 8, ["text", "button-text"])) : (f(), H(o(tn), te({
|
|
1957
1957
|
key: 2,
|
|
1958
1958
|
condensed: "",
|
|
1959
1959
|
variant: "secondary",
|
|
@@ -1964,7 +1964,7 @@ const vs = /* @__PURE__ */ de(cs, [["render", gs]]), an = {
|
|
|
1964
1964
|
r.iconLeft || r.variant === "edit" ? {
|
|
1965
1965
|
name: "iconLeft",
|
|
1966
1966
|
fn: Z(() => [
|
|
1967
|
-
(r == null ? void 0 : r.variant) === "edit" ? (f(), H(o(
|
|
1967
|
+
(r == null ? void 0 : r.variant) === "edit" ? (f(), H(o(ms), {
|
|
1968
1968
|
key: 0,
|
|
1969
1969
|
"svg-title": v.value(r, !0)
|
|
1970
1970
|
}, null, 8, ["svg-title"])) : (f(), H(Ge(r.iconLeft), {
|
|
@@ -2002,22 +2002,25 @@ const vs = /* @__PURE__ */ de(cs, [["render", gs]]), an = {
|
|
|
2002
2002
|
_: 1
|
|
2003
2003
|
}));
|
|
2004
2004
|
}
|
|
2005
|
-
}),
|
|
2005
|
+
}), dn = /* @__PURE__ */ de(ws, [["__scopeId", "data-v-8951677e"]]), un = Symbol("data-grid slashed zero key");
|
|
2006
2006
|
var re = /* @__PURE__ */ ((e) => (e.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED = "action-col-nested-content-and-selection-enabled", e.ACTION_COL_NESTED_CONTENT_ENABLED = "action-col-nested-content-enabled", e.ACTION_COL_SELECTION_ENABLED = "action-col-selection-enabled", e.COLUMN_HOVERED = "column-hovered", e.COLUMN_HOVERED_NO_BORDER_LEFT = "column-hovered-no-border-left", e.COLUMN_HOVERED_NO_BORDER_RIGHT = "column-hovered-no-border-right", e.CONDENSED = "condensed", e.FROZEN = "frozen", e.IS_COLUMN_REORDERING = "is-column-re-ordering", e.IS_COLUMN_REORDERING_TARGET_LEFT = "is-column-re-order-target-left", e.IS_COLUMN_REORDERING_TARGET_RIGHT = "is-column-re-order-target-right", e.LAST_FROZEN_COLUMN_CELL = "last-frozen-column-cell", e.NESTED_CONTENT_ENABLED = "nested-content-toggle-enabled", e.NUMERIC = "numeric", e.OVERFLOW_ELLIPSIS = "overflow-ellipsis", e.PADDING_LEFT_UNSET = "padding-left-unset", e.PADDING_RIGHT_UNSET = "padding-right-unset", e.SLASHED_ZERO = "slashed-zero", e))(re || {});
|
|
2007
|
-
const
|
|
2007
|
+
const jt = () => {
|
|
2008
|
+
const e = document.activeElement;
|
|
2009
|
+
return e ? e.matches(":focus-visible") || e.matches(".focus-visible") : !1;
|
|
2010
|
+
}, cn = {
|
|
2008
2011
|
"en-US": {
|
|
2009
2012
|
collapseNestedContent: "Collapse nested content",
|
|
2010
2013
|
expandNestedContent: "Expand nested content",
|
|
2011
2014
|
selectRow: "Select row"
|
|
2012
2015
|
}
|
|
2013
|
-
},
|
|
2016
|
+
}, _s = ["aria-hidden", "data-testid", "data-cellindex", "tabindex", "aria-colindex"], ys = ["title"], bs = {
|
|
2014
2017
|
key: 0,
|
|
2015
2018
|
class: "b-data-grid-cell__cell-actions"
|
|
2016
|
-
},
|
|
2017
|
-
i18n: { messages:
|
|
2019
|
+
}, Ss = {
|
|
2020
|
+
i18n: { messages: cn },
|
|
2018
2021
|
name: "data-grid-cell"
|
|
2019
|
-
},
|
|
2020
|
-
...
|
|
2022
|
+
}, Es = /* @__PURE__ */ Oe({
|
|
2023
|
+
...Ss,
|
|
2021
2024
|
props: {
|
|
2022
2025
|
draggingEventsForRowCell: {
|
|
2023
2026
|
type: Function,
|
|
@@ -2139,7 +2142,7 @@ const un = {
|
|
|
2139
2142
|
},
|
|
2140
2143
|
emits: ["on-frozen-columns-key-press", "select-row", "register-row-cell-element", "cell-hovered", "nested-content-toggled"],
|
|
2141
2144
|
setup(e, { expose: i, emit: c }) {
|
|
2142
|
-
const n = ct(), d = gt(n), { t } = Ue({ messages:
|
|
2145
|
+
const n = ct(), d = gt(n), { t } = Ue({ messages: cn }), l = e, _ = c, h = A(null), C = A(null), N = A(!1), v = A([]), P = b(() => {
|
|
2143
2146
|
var y;
|
|
2144
2147
|
return !!((y = l.rowData) != null && y[l.column.field]);
|
|
2145
2148
|
}), E = b(
|
|
@@ -2172,9 +2175,9 @@ const un = {
|
|
|
2172
2175
|
}, W.mouseleave = ($) => {
|
|
2173
2176
|
r($ == null ? void 0 : $.relatedTarget);
|
|
2174
2177
|
}, W.focus = async ($) => {
|
|
2175
|
-
V.focus($), await he(), N.value = !0;
|
|
2178
|
+
jt() && V.focus($), await he(), N.value = !0;
|
|
2176
2179
|
}, W.focusout = ($) => {
|
|
2177
|
-
V.focusout($), r($ == null ? void 0 : $.relatedTarget);
|
|
2180
|
+
jt() && V.focusout($), r($ == null ? void 0 : $.relatedTarget);
|
|
2178
2181
|
}), W;
|
|
2179
2182
|
}, F = () => {
|
|
2180
2183
|
_("nested-content-toggled");
|
|
@@ -2184,7 +2187,7 @@ const un = {
|
|
|
2184
2187
|
() => {
|
|
2185
2188
|
N.value === !0 ? _("cell-hovered", l.rowIndex) : _("cell-hovered", -1);
|
|
2186
2189
|
}
|
|
2187
|
-
),
|
|
2190
|
+
), Jt(bl, {
|
|
2188
2191
|
registerMenuContainerElement: (y) => {
|
|
2189
2192
|
v.value.push(y);
|
|
2190
2193
|
},
|
|
@@ -2192,7 +2195,7 @@ const un = {
|
|
|
2192
2195
|
h.value.contains(y == null ? void 0 : y.relatedTarget) || (N.value = !1);
|
|
2193
2196
|
}
|
|
2194
2197
|
});
|
|
2195
|
-
const ue = lt(
|
|
2198
|
+
const ue = lt(un, A(!1)), ne = (y) => {
|
|
2196
2199
|
var V, W, $, G, we, Ne, u;
|
|
2197
2200
|
return {
|
|
2198
2201
|
[`b-data-grid-cell--${re.COLUMN_HOVERED}`]: (y == null ? void 0 : y.field) === l.hoveredOverColumnState.hoveredOverColumnField,
|
|
@@ -2236,7 +2239,7 @@ const un = {
|
|
|
2236
2239
|
}
|
|
2237
2240
|
}, Xe(g(e.column), !0)), [
|
|
2238
2241
|
e.column.field === o(_e) ? (f(), R(Ce, { key: 0 }, [
|
|
2239
|
-
e.selectable ? (f(), H(o(
|
|
2242
|
+
e.selectable ? (f(), H(o(ln), {
|
|
2240
2243
|
key: 0,
|
|
2241
2244
|
class: "b-data-grid-cell__select-cell",
|
|
2242
2245
|
"aria-label": o(t)("selectRow"),
|
|
@@ -2258,11 +2261,11 @@ const un = {
|
|
|
2258
2261
|
onClick: F
|
|
2259
2262
|
}, {
|
|
2260
2263
|
iconLeft: Z(() => [
|
|
2261
|
-
e.isNestedContentExpanded ? (f(), H(o(
|
|
2264
|
+
e.isNestedContentExpanded ? (f(), H(o(Al), {
|
|
2262
2265
|
key: 0,
|
|
2263
2266
|
class: "b-accordion-item__icon",
|
|
2264
2267
|
"svg-title": o(t)("collapseNestedContent")
|
|
2265
|
-
}, null, 8, ["svg-title"])) : (f(), H(o(
|
|
2268
|
+
}, null, 8, ["svg-title"])) : (f(), H(o(Ol), {
|
|
2266
2269
|
key: 1,
|
|
2267
2270
|
class: "b-accordion-item__icon",
|
|
2268
2271
|
"svg-title": o(t)("expandNestedContent")
|
|
@@ -2283,13 +2286,13 @@ const un = {
|
|
|
2283
2286
|
}, () => [
|
|
2284
2287
|
O("span", {
|
|
2285
2288
|
title: w(e.column, e.rowData[e.column.field])
|
|
2286
|
-
}, J(L(e.rowData[e.column.field])), 9,
|
|
2289
|
+
}, J(L(e.rowData[e.column.field])), 9, ys)
|
|
2287
2290
|
], !0)
|
|
2288
2291
|
]),
|
|
2289
2292
|
_: 3
|
|
2290
2293
|
}, 8, ["class"]),
|
|
2291
|
-
((W = e.column.cellActions) == null ? void 0 : W.length) > 0 ? (f(), R("div",
|
|
2292
|
-
N.value && (P.value || o(d)(`item-${e.column.field}`)) ? (f(), H(
|
|
2294
|
+
((W = e.column.cellActions) == null ? void 0 : W.length) > 0 ? (f(), R("div", bs, [
|
|
2295
|
+
N.value && (P.value || o(d)(`item-${e.column.field}`)) ? (f(), H(dn, {
|
|
2293
2296
|
key: 0,
|
|
2294
2297
|
ref_key: "cellActionsRef",
|
|
2295
2298
|
ref: C,
|
|
@@ -2301,16 +2304,16 @@ const un = {
|
|
|
2301
2304
|
}, null, 8, ["cell-actions", "column-key", "row-data-item"])) : B("", !0)
|
|
2302
2305
|
])) : B("", !0)
|
|
2303
2306
|
], 64))
|
|
2304
|
-
], 16,
|
|
2307
|
+
], 16, _s);
|
|
2305
2308
|
};
|
|
2306
2309
|
}
|
|
2307
|
-
}),
|
|
2310
|
+
}), Ls = /* @__PURE__ */ de(Es, [["__scopeId", "data-v-96321e56"]]), ps = { class: "b-data-grid-row-container" }, Rs = ["id", "aria-selected"], As = ["data-testid"], Os = ["aria-colindex", "data-cellindex"], Ns = {
|
|
2308
2311
|
key: 0,
|
|
2309
2312
|
class: "b-data-grid-row-container__row-nested-rows-loading-container"
|
|
2310
|
-
},
|
|
2313
|
+
}, Ts = { key: 2 }, Is = {
|
|
2311
2314
|
name: "data-grid-row"
|
|
2312
|
-
},
|
|
2313
|
-
...
|
|
2315
|
+
}, $s = /* @__PURE__ */ Oe({
|
|
2316
|
+
...Is,
|
|
2314
2317
|
props: {
|
|
2315
2318
|
/**
|
|
2316
2319
|
* Row actions property that generates which button to show in row actions area
|
|
@@ -2605,11 +2608,11 @@ const un = {
|
|
|
2605
2608
|
P.value = !1;
|
|
2606
2609
|
}, y = () => {
|
|
2607
2610
|
ht(N.value);
|
|
2608
|
-
}, V = () => t.columnSets.reduce((p, { columnSet: D }) => p + D.length, 0), W = () => V() * t.rowIndex + V(), { updateContentHeight: $, contentHeight: G } =
|
|
2611
|
+
}, V = () => t.columnSets.reduce((p, { columnSet: D }) => p + D.length, 0), W = () => V() * t.rowIndex + V(), { updateContentHeight: $, contentHeight: G } = pl(C, h), we = b(() => {
|
|
2609
2612
|
var p;
|
|
2610
2613
|
if (t.hasNestedContent || t.hasNestedRows)
|
|
2611
2614
|
return {
|
|
2612
|
-
paddingLeft: `${a.value || w.value ? 0 : _.value[_e].clientWidth +
|
|
2615
|
+
paddingLeft: `${a.value || w.value ? 0 : _.value[_e].clientWidth + on}px`,
|
|
2613
2616
|
"max-height": (t.hasNestedContent || t.hasNestedRows) && G.value && !((p = G == null ? void 0 : G.value) != null && p.includes("null")) ? G.value : 0
|
|
2614
2617
|
};
|
|
2615
2618
|
});
|
|
@@ -2661,7 +2664,7 @@ const un = {
|
|
|
2661
2664
|
rowActionsRef: N
|
|
2662
2665
|
}), (p, D) => {
|
|
2663
2666
|
var X;
|
|
2664
|
-
return f(), R("div",
|
|
2667
|
+
return f(), R("div", ps, [
|
|
2665
2668
|
(f(), R("div", te(S.value, {
|
|
2666
2669
|
id: (X = e.rowId) == null ? void 0 : X.toString(),
|
|
2667
2670
|
key: e.rowIndex,
|
|
@@ -2676,7 +2679,7 @@ const un = {
|
|
|
2676
2679
|
class: ce(["b-data-grid-row-container__cells", x(le)]),
|
|
2677
2680
|
"data-testid": `data-grid-${ee}-rows`
|
|
2678
2681
|
}, [
|
|
2679
|
-
(f(!0), R(Ce, null, Le(Q, (Te, et) => (f(), H(o(
|
|
2682
|
+
(f(!0), R(Ce, null, Le(Q, (Te, et) => (f(), H(o(Ls), {
|
|
2680
2683
|
key: `cell-${Te.field}`,
|
|
2681
2684
|
ref_for: !0,
|
|
2682
2685
|
ref: (Ie) => U(Ie, Te.field),
|
|
@@ -2712,7 +2715,7 @@ const un = {
|
|
|
2712
2715
|
])
|
|
2713
2716
|
}))
|
|
2714
2717
|
]), 1032, ["column", "column-set-index", "col-index", "column-sets", "condensed", "dragging-columns", "dragging-events-for-row-cell", "get-data-item-id", "hovered-over-column-state", "is-data-item-disabled", "is-measuring-column-widths", "is-nested-content-expanded", "nested-content", "nested-rows-element-ids", "row-data", "row-index", "selection-is-indeterminate", "selectable", "selected-items"]))), 128))
|
|
2715
|
-
], 10,
|
|
2718
|
+
], 10, As)) : B("", !0),
|
|
2716
2719
|
!le && e.rowActions ? (f(), R("div", {
|
|
2717
2720
|
key: `data-grid-row-actions-${ee}`,
|
|
2718
2721
|
ref_for: !0,
|
|
@@ -2726,7 +2729,7 @@ const un = {
|
|
|
2726
2729
|
role: "gridcell",
|
|
2727
2730
|
onFocus: y
|
|
2728
2731
|
}, [
|
|
2729
|
-
Y(o(
|
|
2732
|
+
Y(o(dn), {
|
|
2730
2733
|
class: "b-data-grid-row-container__row-actions",
|
|
2731
2734
|
"disable-arrow-down-opening-menu": "",
|
|
2732
2735
|
"cell-actions": e.rowActions,
|
|
@@ -2735,10 +2738,10 @@ const un = {
|
|
|
2735
2738
|
onMenuOpen: ne,
|
|
2736
2739
|
onMenuClose: fe
|
|
2737
2740
|
}, null, 8, ["cell-actions", "has-right-overflow", "row-data-item"])
|
|
2738
|
-
], 46,
|
|
2741
|
+
], 46, Os)) : B("", !0)
|
|
2739
2742
|
], 64))), 256))
|
|
2740
|
-
], 16,
|
|
2741
|
-
e.hasNestedContent && o(d)("nested-slot") && e.shouldShowNestedContent(e.rowData) || e.hasNestedRows && E.value ? (f(), H(
|
|
2743
|
+
], 16, Rs)),
|
|
2744
|
+
e.hasNestedContent && o(d)("nested-slot") && e.shouldShowNestedContent(e.rowData) || e.hasNestedRows && E.value ? (f(), H(Xt, {
|
|
2742
2745
|
key: `${e.rowIndex}-nest-content`,
|
|
2743
2746
|
name: "b-data-grid-row-container__animation--nested-content"
|
|
2744
2747
|
}, {
|
|
@@ -2752,9 +2755,9 @@ const un = {
|
|
|
2752
2755
|
ref_key: "nestedContentRef",
|
|
2753
2756
|
ref: C
|
|
2754
2757
|
}, [
|
|
2755
|
-
w.value ? (f(), R("div",
|
|
2758
|
+
w.value ? (f(), R("div", Ns, [
|
|
2756
2759
|
Y(o(ft))
|
|
2757
|
-
])) : a.value ? (f(!0), R(Ce, { key: 1 }, Le(e.rowData.children, (Q, ee) => (f(), H(
|
|
2760
|
+
])) : a.value ? (f(!0), R(Ce, { key: 1 }, Le(e.rowData.children, (Q, ee) => (f(), H(fn, te({ ref_for: !0 }, t, {
|
|
2758
2761
|
id: g(ee),
|
|
2759
2762
|
key: `child-${ee}`,
|
|
2760
2763
|
"row-data": Q,
|
|
@@ -2772,7 +2775,7 @@ const un = {
|
|
|
2772
2775
|
Re(p.$slots, K, te({ ref_for: !0 }, Te), void 0, !0)
|
|
2773
2776
|
])
|
|
2774
2777
|
}))
|
|
2775
|
-
]), 1040, ["id", "row-data", "row-index", "row-set-size", "onSelectRow"]))), 128)) : o(d)("nested-slot") && e.shouldShowNestedContent(e.rowData) ? (f(), R("div",
|
|
2778
|
+
]), 1040, ["id", "row-data", "row-index", "row-set-size", "onSelectRow"]))), 128)) : o(d)("nested-slot") && e.shouldShowNestedContent(e.rowData) ? (f(), R("div", Ts, [
|
|
2776
2779
|
Re(p.$slots, "nested-slot", { item: e.rowData }, void 0, !0)
|
|
2777
2780
|
])) : B("", !0)
|
|
2778
2781
|
], 512)
|
|
@@ -2783,14 +2786,14 @@ const un = {
|
|
|
2783
2786
|
]);
|
|
2784
2787
|
};
|
|
2785
2788
|
}
|
|
2786
|
-
}),
|
|
2787
|
-
let
|
|
2788
|
-
const
|
|
2789
|
+
}), fn = /* @__PURE__ */ de($s, [["__scopeId", "data-v-d2f50b05"]]);
|
|
2790
|
+
let qt = 0;
|
|
2791
|
+
const Ds = {
|
|
2789
2792
|
beforeCreate() {
|
|
2790
|
-
this.uuid =
|
|
2793
|
+
this.uuid = qt.toString(), qt += 1;
|
|
2791
2794
|
}
|
|
2792
|
-
},
|
|
2793
|
-
function
|
|
2795
|
+
}, ks = { key: 0 }, Ms = ["clip-path"], Fs = ["id"];
|
|
2796
|
+
function zs(e, i, c, n, d, t) {
|
|
2794
2797
|
return f(), R("svg", te({ role: "img" }, e.$attrs, {
|
|
2795
2798
|
class: "ui-assets-icons-16",
|
|
2796
2799
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2798,7 +2801,7 @@ function Fs(e, i, c, n, d, t) {
|
|
|
2798
2801
|
height: "16",
|
|
2799
2802
|
fill: "none"
|
|
2800
2803
|
}), [
|
|
2801
|
-
e.$attrs["svg-title"] ? (f(), R("title",
|
|
2804
|
+
e.$attrs["svg-title"] ? (f(), R("title", ks, J(e.$attrs["svg-title"]), 1)) : B("", !0),
|
|
2802
2805
|
O("g", {
|
|
2803
2806
|
"clip-path": "url(#uia-ui-assets/icons-16-warning_circle_fill__a" + e.uuid + ")"
|
|
2804
2807
|
}, i[0] || (i[0] = [
|
|
@@ -2806,7 +2809,7 @@ function Fs(e, i, c, n, d, t) {
|
|
|
2806
2809
|
fill: "#00112C",
|
|
2807
2810
|
d: "M0.25 8C0.25 3.71979 3.71979 0.25 8 0.25C12.2802 0.25 15.75 3.71979 15.75 8C15.75 12.2802 12.2802 15.75 8 15.75C3.71979 15.75 0.25 12.2802 0.25 8ZM8.75 8.75V4.25H7.25V8.75H8.75ZM8 11.5C8.41421 11.5 8.75 11.1642 8.75 10.75C8.75 10.3358 8.41421 10 8 10C7.58579 10 7.25 10.3358 7.25 10.75C7.25 11.1642 7.58579 11.5 8 11.5Z"
|
|
2808
2811
|
}, null, -1)
|
|
2809
|
-
]), 8,
|
|
2812
|
+
]), 8, Ms),
|
|
2810
2813
|
O("defs", null, [
|
|
2811
2814
|
O("clipPath", {
|
|
2812
2815
|
id: "uia-ui-assets/icons-16-warning_circle_fill__a" + e.uuid
|
|
@@ -2816,12 +2819,12 @@ function Fs(e, i, c, n, d, t) {
|
|
|
2816
2819
|
height: "16",
|
|
2817
2820
|
fill: "#fff"
|
|
2818
2821
|
}, null, -1)
|
|
2819
|
-
]), 8,
|
|
2822
|
+
]), 8, Fs)
|
|
2820
2823
|
])
|
|
2821
2824
|
], 16);
|
|
2822
2825
|
}
|
|
2823
|
-
const
|
|
2824
|
-
...
|
|
2826
|
+
const Us = /* @__PURE__ */ de(Ds, [["render", zs]]), Ps = ["aria-label"], Bs = {}, Ws = /* @__PURE__ */ Oe({
|
|
2827
|
+
...Bs,
|
|
2825
2828
|
__name: "data-grid-static-icon",
|
|
2826
2829
|
props: {
|
|
2827
2830
|
colored: { type: Boolean, default: !1 },
|
|
@@ -2832,13 +2835,13 @@ const zs = /* @__PURE__ */ de($s, [["render", Fs]]), Us = ["aria-label"], Ps = {
|
|
|
2832
2835
|
const i = e, c = b(() => {
|
|
2833
2836
|
switch (i.variant) {
|
|
2834
2837
|
case "checkmark":
|
|
2835
|
-
return tl;
|
|
2836
|
-
case "warning":
|
|
2837
2838
|
return nl;
|
|
2839
|
+
case "warning":
|
|
2840
|
+
return ll;
|
|
2838
2841
|
case "error":
|
|
2839
|
-
return
|
|
2842
|
+
return Us;
|
|
2840
2843
|
case "cross":
|
|
2841
|
-
return
|
|
2844
|
+
return Qt;
|
|
2842
2845
|
case "no-value":
|
|
2843
2846
|
return At;
|
|
2844
2847
|
default:
|
|
@@ -2846,7 +2849,7 @@ const zs = /* @__PURE__ */ de($s, [["render", Fs]]), Us = ["aria-label"], Ps = {
|
|
|
2846
2849
|
}
|
|
2847
2850
|
}), n = b(() => ({
|
|
2848
2851
|
"b-data-grid-static-icon--colored": i.colored && i.variant !== "no-value"
|
|
2849
|
-
})), d = b(() => `b-data-grid-static-icon__${i.variant}`), t = b(() =>
|
|
2852
|
+
})), d = b(() => `b-data-grid-static-icon__${i.variant}`), t = b(() => sl.AUTO);
|
|
2850
2853
|
return (l, _) => ut((f(), R("div", {
|
|
2851
2854
|
"aria-label": l.tooltipText,
|
|
2852
2855
|
class: ce(["b-data-grid-static-icon", n.value]),
|
|
@@ -2856,11 +2859,11 @@ const zs = /* @__PURE__ */ de($s, [["render", Fs]]), Us = ["aria-label"], Ps = {
|
|
|
2856
2859
|
class: ce(d.value),
|
|
2857
2860
|
"svg-title": l.tooltipText
|
|
2858
2861
|
}, null, 8, ["class", "svg-title"]))
|
|
2859
|
-
], 10,
|
|
2860
|
-
[o(
|
|
2862
|
+
], 10, Ps)), [
|
|
2863
|
+
[o(ol), l.tooltipText, t.value]
|
|
2861
2864
|
]);
|
|
2862
2865
|
}
|
|
2863
|
-
}),
|
|
2866
|
+
}), Gi = /* @__PURE__ */ de(Ws, [["__scopeId", "data-v-3ee55e9a"]]), Kt = () => {
|
|
2864
2867
|
const e = window.getSelection().getRangeAt(0).cloneContents(), i = e.querySelectorAll('[role="row"]');
|
|
2865
2868
|
let c = "<table>";
|
|
2866
2869
|
const n = (d) => {
|
|
@@ -2889,23 +2892,23 @@ const zs = /* @__PURE__ */ de($s, [["render", Fs]]), Us = ["aria-label"], Ps = {
|
|
|
2889
2892
|
"text/plain": new Blob([c], { type: "text/plain" })
|
|
2890
2893
|
})
|
|
2891
2894
|
]);
|
|
2892
|
-
},
|
|
2895
|
+
}, Gs = ["aria-rowcount", "aria-colcount", "aria-label", "role"], Hs = {
|
|
2893
2896
|
key: 1,
|
|
2894
2897
|
class: "b-data-grid__header"
|
|
2895
|
-
},
|
|
2898
|
+
}, Vs = ["tabindex"], xs = ["tabindex", "aria-busy"], Zs = {
|
|
2896
2899
|
key: 0,
|
|
2897
2900
|
class: "b-data-grid__loading"
|
|
2898
|
-
},
|
|
2901
|
+
}, js = {
|
|
2899
2902
|
key: 1,
|
|
2900
2903
|
class: "b-data-grid__empty-state"
|
|
2901
|
-
},
|
|
2904
|
+
}, qs = {
|
|
2902
2905
|
key: 5,
|
|
2903
2906
|
class: "b-data-grid__footer"
|
|
2904
|
-
},
|
|
2907
|
+
}, Ks = {
|
|
2905
2908
|
i18n: { messages: Qe },
|
|
2906
2909
|
name: "bento-data-grid"
|
|
2907
|
-
},
|
|
2908
|
-
...
|
|
2910
|
+
}, Ys = /* @__PURE__ */ Oe({
|
|
2911
|
+
...Ks,
|
|
2909
2912
|
props: {
|
|
2910
2913
|
/**
|
|
2911
2914
|
* When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
|
|
@@ -3231,7 +3234,7 @@ const zs = /* @__PURE__ */ de($s, [["render", Fs]]), Us = ["aria-label"], Ps = {
|
|
|
3231
3234
|
outline: ue,
|
|
3232
3235
|
pagination: ne
|
|
3233
3236
|
} = dt(n), fe = A(-1), { t: y } = Ue({ messages: Qe }), V = b(() => I.value.filter((T) => T.frozen).length), W = lt(
|
|
3234
|
-
|
|
3237
|
+
fl,
|
|
3235
3238
|
() => ({
|
|
3236
3239
|
additionalContentSlotRef: A(null),
|
|
3237
3240
|
isDataGridTemplate: !1,
|
|
@@ -3248,7 +3251,7 @@ const zs = /* @__PURE__ */ de($s, [["render", Fs]]), Us = ["aria-label"], Ps = {
|
|
|
3248
3251
|
columns: X,
|
|
3249
3252
|
totalWidthOfAllColumns: Q,
|
|
3250
3253
|
rowActionsMaxWidth: ee
|
|
3251
|
-
} =
|
|
3254
|
+
} = Bl(L, s, l, h, C, {
|
|
3252
3255
|
hasColumnPanel: S,
|
|
3253
3256
|
hasSelectableColumn: g,
|
|
3254
3257
|
hasSelectableAcrossPages: j,
|
|
@@ -3270,29 +3273,29 @@ const zs = /* @__PURE__ */ de($s, [["render", Fs]]), Us = ["aria-label"], Ps = {
|
|
|
3270
3273
|
), {
|
|
3271
3274
|
sortedColumns: xe,
|
|
3272
3275
|
columnSets: Ze,
|
|
3273
|
-
isOnlyOneVisibleColumn:
|
|
3274
|
-
onConfigSettingsUpdate:
|
|
3275
|
-
onConfigSettingsColumnsUpdate:
|
|
3276
|
-
onConfigSettingsColumnUpdate:
|
|
3277
|
-
} =
|
|
3276
|
+
isOnlyOneVisibleColumn: gn,
|
|
3277
|
+
onConfigSettingsUpdate: vn,
|
|
3278
|
+
onConfigSettingsColumnsUpdate: mn,
|
|
3279
|
+
onConfigSettingsColumnUpdate: hn
|
|
3280
|
+
} = jl(I, K), { hoveredOverColumn: Cn, hoveredOverColumnState: Ct } = Kl(
|
|
3278
3281
|
Ze,
|
|
3279
3282
|
g,
|
|
3280
3283
|
ue,
|
|
3281
3284
|
D
|
|
3282
|
-
), { draggingColumns: wt, draggingEventsForColumns:
|
|
3285
|
+
), { draggingColumns: wt, draggingEventsForColumns: wn, draggingEventsForRowCell: _n, onMoveColumnByOffset: yn } = Zl(xe, w, K), { onAllRowSelect: _t, onRowSelect: bn, onNestedRowSelect: Sn, selectedItems: yt, allItemsSelectedState: En } = Wl(
|
|
3283
3286
|
F,
|
|
3284
3287
|
K,
|
|
3285
3288
|
s,
|
|
3286
3289
|
n.getDataItemId,
|
|
3287
3290
|
n.isDataItemDisabled
|
|
3288
|
-
), { navigationInput: je } =
|
|
3291
|
+
), { navigationInput: je } = Hl(
|
|
3289
3292
|
C,
|
|
3290
3293
|
h,
|
|
3291
3294
|
xe,
|
|
3292
3295
|
g,
|
|
3293
3296
|
b(() => n.rowActions !== void 0),
|
|
3294
3297
|
S
|
|
3295
|
-
), { isLazyLoad: Be, isInfiniteScroll:
|
|
3298
|
+
), { isLazyLoad: Be, isInfiniteScroll: Ln, verticalScrollPosition: pn, emitLazyLoadEvent: Rn } = xl(
|
|
3296
3299
|
m,
|
|
3297
3300
|
E,
|
|
3298
3301
|
l,
|
|
@@ -3300,15 +3303,15 @@ const zs = /* @__PURE__ */ de($s, [["render", Fs]]), Us = ["aria-label"], Ps = {
|
|
|
3300
3303
|
K
|
|
3301
3304
|
), {
|
|
3302
3305
|
updateScrollPosition: qe,
|
|
3303
|
-
updateScrollPositionOnFrozenColumnsNavigation:
|
|
3306
|
+
updateScrollPositionOnFrozenColumnsNavigation: An,
|
|
3304
3307
|
syncVirtualScrollerWithBody: bt,
|
|
3305
3308
|
hasLeftOverflow: Ke,
|
|
3306
3309
|
hasRightOverflow: St,
|
|
3307
|
-
horizontalScrollbarConditionalStyles:
|
|
3308
|
-
} =
|
|
3310
|
+
horizontalScrollbarConditionalStyles: On
|
|
3311
|
+
} = ql(
|
|
3309
3312
|
l,
|
|
3310
3313
|
_,
|
|
3311
|
-
|
|
3314
|
+
pn,
|
|
3312
3315
|
a,
|
|
3313
3316
|
P,
|
|
3314
3317
|
Q,
|
|
@@ -3318,38 +3321,38 @@ const zs = /* @__PURE__ */ de($s, [["render", Fs]]), Us = ["aria-label"], Ps = {
|
|
|
3318
3321
|
stickyPagination: se,
|
|
3319
3322
|
isDataGridTemplate: G
|
|
3320
3323
|
}
|
|
3321
|
-
),
|
|
3324
|
+
), Nn = () => {
|
|
3322
3325
|
v.value.isClearAllVisible ? v.value.clearAllFilters() : v.value.isResetAllVisible && v.value.resetAllFilters();
|
|
3323
|
-
},
|
|
3326
|
+
}, Tn = b(() => {
|
|
3324
3327
|
var T, M;
|
|
3325
3328
|
return {
|
|
3326
3329
|
...n.emptyState,
|
|
3327
3330
|
variant: ((T = n.emptyState) == null ? void 0 : T.variant) === "embedded" || ((M = n.emptyState) == null ? void 0 : M.variant) === "basic" ? n.emptyState.variant : "basic"
|
|
3328
3331
|
};
|
|
3329
|
-
}),
|
|
3332
|
+
}), In = b(() => ({
|
|
3330
3333
|
[`b-data-grid--${Me.OUTLINE}`]: n.outline,
|
|
3331
3334
|
[`b-data-grid--${Me.SCROLL}`]: n.fitContent || Be.value,
|
|
3332
3335
|
[`b-data-grid--${Me.STICKY_FILTERS}`]: n.filters && n.stickyFilters,
|
|
3333
3336
|
[`b-data-grid--${Me.OVERFLOW_SHADOW_LEFT}`]: Ke.value && !V.value,
|
|
3334
3337
|
[`b-data-grid--${Me.OVERFLOW_SHADOW_RIGHT}`]: St.value && n.rowActions === void 0,
|
|
3335
3338
|
[`b-data-grid--${Me.NO_SPACING_TOP}`]: n.noSpacingTop
|
|
3336
|
-
})),
|
|
3339
|
+
})), $n = b(() => ({
|
|
3337
3340
|
"b-data-grid__body--sticky-horizontal-scrollbar": n.stickyHorizontalScrollbar
|
|
3338
|
-
})),
|
|
3341
|
+
})), Dn = b(() => Ze.value.findIndex((T) => T.columnSet.length)), Et = b(() => !((n.selectable || n.hasNestedContent || n.hasNestedRows) && V.value === 1) || Ke.value), kn = b(() => ({
|
|
3339
3342
|
"b-data-grid__filters--sticky": !!n.stickyFilters || G
|
|
3340
|
-
})),
|
|
3343
|
+
})), Mn = b(() => {
|
|
3341
3344
|
var T, M, ie, q, be, pe;
|
|
3342
3345
|
return {
|
|
3343
3346
|
"b-data-grid__pagination--padding-left-unset": ((ie = (M = (T = n.columns) == null ? void 0 : T[0]) == null ? void 0 : M.padding) == null ? void 0 : ie.left) === !1,
|
|
3344
3347
|
"b-data-grid__pagination--padding-right-unset": ((pe = (be = (q = n.columns) == null ? void 0 : q[n.columns.length - 1]) == null ? void 0 : be.padding) == null ? void 0 : pe.right) === !1,
|
|
3345
3348
|
"b-data-grid__pagination--sticky": !!n.stickyPagination || G
|
|
3346
3349
|
};
|
|
3347
|
-
}),
|
|
3350
|
+
}), Fn = (T) => {
|
|
3348
3351
|
const M = T;
|
|
3349
3352
|
T !== null && (M != null && M.columnHeaderRefs) && Object.entries(M == null ? void 0 : M.columnHeaderRefs).forEach(([ie, q]) => {
|
|
3350
3353
|
h.value[ie] = q;
|
|
3351
3354
|
});
|
|
3352
|
-
},
|
|
3355
|
+
}, zn = (T, M) => {
|
|
3353
3356
|
var q, be, pe, ze;
|
|
3354
3357
|
const ie = T;
|
|
3355
3358
|
if (T !== null && ie != null && ie.gridcellRefs) {
|
|
@@ -3362,49 +3365,49 @@ const zs = /* @__PURE__ */ de($s, [["render", Fs]]), Us = ["aria-label"], Ps = {
|
|
|
3362
3365
|
((ze = (pe = ie.rowActionsRef) == null ? void 0 : pe[0]) == null ? void 0 : ze.offsetWidth) ?? 0
|
|
3363
3366
|
));
|
|
3364
3367
|
}
|
|
3365
|
-
},
|
|
3368
|
+
}, Un = (T, M) => {
|
|
3366
3369
|
n.allowRowClicks && K(k.ROW_CLICK, T, M);
|
|
3367
|
-
},
|
|
3370
|
+
}, Pn = (T) => {
|
|
3368
3371
|
fe.value = T;
|
|
3369
|
-
},
|
|
3370
|
-
label: d != null && d.header ?
|
|
3372
|
+
}, Bn = b(() => !!n.selectableAcrossPages && !!n.pagination), Wn = b(() => n.hasNestedContent || n.hasNestedRows ? "treegrid" : "grid"), Lt = rl({
|
|
3373
|
+
label: d != null && d.header ? dl(d)("header") : null,
|
|
3371
3374
|
defaultFallback: "data grid"
|
|
3372
3375
|
}), pt = b(() => {
|
|
3373
3376
|
var T;
|
|
3374
3377
|
return ((T = yt.value) == null ? void 0 : T.length) ?? 0;
|
|
3375
|
-
}),
|
|
3378
|
+
}), Gn = b(() => n.bulkActions && pt.value > 0), Hn = (T) => K(k.COLUMN_RESIZE, T), Vn = (T) => {
|
|
3376
3379
|
K(k.UPDATE_SORT_BY, T), K(k.SORT, T);
|
|
3377
|
-
},
|
|
3380
|
+
}, xn = (T, M) => {
|
|
3378
3381
|
K(k.NAVIGATE, T), K(k.UPDATE_PAGINATION, {
|
|
3379
3382
|
...n.pagination,
|
|
3380
3383
|
size: M,
|
|
3381
3384
|
page: T
|
|
3382
3385
|
});
|
|
3383
|
-
},
|
|
3386
|
+
}, Zn = (T) => {
|
|
3384
3387
|
K(k.ITEMS_PAGE, T);
|
|
3385
|
-
},
|
|
3388
|
+
}, jn = () => {
|
|
3386
3389
|
K(k.FILTER_SEARCH_CLEAR);
|
|
3387
|
-
},
|
|
3390
|
+
}, qn = (T) => {
|
|
3388
3391
|
K(k.UPDATE_FILTER_SEARCH_TERM, T), K(k.FILTER_SEARCH_INPUT, T);
|
|
3389
3392
|
};
|
|
3390
|
-
return b(() => L.value.some((T) => T.mandatory)).value ||
|
|
3393
|
+
return b(() => L.value.some((T) => T.mandatory)).value || en(
|
|
3391
3394
|
"WARNING: At least one BentoDataGrid column should be set as mandatory to ensure data is always displayed correctly."
|
|
3392
|
-
), lt(
|
|
3395
|
+
), lt(cl, () => null)(n.tabTitle), Jt(un, nt(n, "slashedZero")), i({ onEmptyStateClearResetButtonClick: Nn }), (T, M) => {
|
|
3393
3396
|
var ie;
|
|
3394
3397
|
return f(), R("div", {
|
|
3395
|
-
class: ce(["b-data-grid",
|
|
3398
|
+
class: ce(["b-data-grid", In.value]),
|
|
3396
3399
|
"aria-rowcount": o(s).length,
|
|
3397
3400
|
"aria-colcount": o(L).length,
|
|
3398
3401
|
"aria-label": o(Lt),
|
|
3399
|
-
role:
|
|
3402
|
+
role: Wn.value,
|
|
3400
3403
|
onCopy: M[11] || (M[11] = //@ts-ignore
|
|
3401
|
-
(...q) => o(
|
|
3404
|
+
(...q) => o(Kt) && o(Kt)(...q))
|
|
3402
3405
|
}, [
|
|
3403
3406
|
e.filters ? (f(), R("div", {
|
|
3404
3407
|
key: 0,
|
|
3405
3408
|
ref_key: "filtersRef",
|
|
3406
3409
|
ref: N,
|
|
3407
|
-
class: ce(["b-data-grid__filters",
|
|
3410
|
+
class: ce(["b-data-grid__filters", kn.value]),
|
|
3408
3411
|
style: ke({ top: et.value })
|
|
3409
3412
|
}, [
|
|
3410
3413
|
e.filters ? (f(), H(o(tt), {
|
|
@@ -3416,26 +3419,26 @@ const zs = /* @__PURE__ */ de($s, [["render", Fs]]), Us = ["aria-label"], Ps = {
|
|
|
3416
3419
|
"filter-values": e.filterValues,
|
|
3417
3420
|
search: e.filterSearchConfig,
|
|
3418
3421
|
"search-term": e.filterSearchTerm,
|
|
3419
|
-
onSearchInput:
|
|
3420
|
-
onSearchClear:
|
|
3422
|
+
onSearchInput: qn,
|
|
3423
|
+
onSearchClear: jn,
|
|
3421
3424
|
onInput: M[0] || (M[0] = (q) => T.$emit(o(k).UPDATE_FILTERS, q)),
|
|
3422
3425
|
"onUpdate:filterValues": M[1] || (M[1] = (q) => T.$emit(o(k).UPDATE_FILTER_VALUES, q))
|
|
3423
3426
|
}, null, 8, ["config", "container-size-layout", "filter-values", "search", "search-term"])) : B("", !0)
|
|
3424
3427
|
], 6)) : B("", !0),
|
|
3425
|
-
T.$slots.header ? (f(), R("div",
|
|
3428
|
+
T.$slots.header ? (f(), R("div", Hs, [
|
|
3426
3429
|
Re(T.$slots, "header", {}, void 0, !0)
|
|
3427
3430
|
])) : B("", !0),
|
|
3428
3431
|
O("div", {
|
|
3429
3432
|
class: "b-data-grid__column-headers",
|
|
3430
3433
|
style: ke({ top: Ve.value })
|
|
3431
3434
|
}, [
|
|
3432
|
-
o(S) ? (f(), H(o(
|
|
3435
|
+
o(S) ? (f(), H(o(as), {
|
|
3433
3436
|
key: 0,
|
|
3434
3437
|
class: "b-data-grid__config-settings",
|
|
3435
3438
|
columns: o(X),
|
|
3436
3439
|
condensed: e.condensed,
|
|
3437
|
-
onConfigSettings: o(
|
|
3438
|
-
"onUpdate:columns": o(
|
|
3440
|
+
onConfigSettings: o(vn),
|
|
3441
|
+
"onUpdate:columns": o(mn)
|
|
3439
3442
|
}, null, 8, ["columns", "condensed", "onConfigSettings", "onUpdate:columns"])) : B("", !0),
|
|
3440
3443
|
O("div", {
|
|
3441
3444
|
ref_key: "columnsRef",
|
|
@@ -3454,37 +3457,37 @@ const zs = /* @__PURE__ */ de($s, [["render", Fs]]), Us = ["aria-label"], Ps = {
|
|
|
3454
3457
|
role: "row"
|
|
3455
3458
|
}, [
|
|
3456
3459
|
(f(!0), R(Ce, null, Le(o(Ze), ({ columnSet: q, id: be, isFrozenColumns: pe }, ze) => (f(), R(Ce, null, [
|
|
3457
|
-
q != null && q.length ? (f(), H(o(
|
|
3460
|
+
q != null && q.length ? (f(), H(o(Po), te({
|
|
3458
3461
|
key: `data-grid-columns-${be}`,
|
|
3459
3462
|
ref_for: !0,
|
|
3460
|
-
ref: (Se) =>
|
|
3463
|
+
ref: (Se) => Fn(Se),
|
|
3461
3464
|
columns: q,
|
|
3462
3465
|
"has-resizable-columns": e.hasResizableColumns,
|
|
3463
3466
|
"sort-by": e.sortBy,
|
|
3464
|
-
"all-items-selected-state": o(
|
|
3467
|
+
"all-items-selected-state": o(En),
|
|
3465
3468
|
"is-frozen-columns": pe,
|
|
3466
3469
|
"show-frozen-columns-separator": Et.value,
|
|
3467
3470
|
"dragging-columns": o(wt),
|
|
3468
3471
|
"has-draggable-columns": o(w),
|
|
3469
3472
|
"has-column-panel": o(S),
|
|
3470
3473
|
"has-left-overflow": o(Ke),
|
|
3471
|
-
"has-first-column-panel-right-aligned": ze ===
|
|
3474
|
+
"has-first-column-panel-right-aligned": ze === Dn.value,
|
|
3472
3475
|
"hovered-over-column-state": o(Ct),
|
|
3473
3476
|
"is-measuring-column-widths": o(p),
|
|
3474
|
-
"is-only-one-visible-column": o(
|
|
3477
|
+
"is-only-one-visible-column": o(gn),
|
|
3475
3478
|
selectable: o(g),
|
|
3476
|
-
"selectable-across-pages":
|
|
3479
|
+
"selectable-across-pages": Bn.value,
|
|
3477
3480
|
"truncate-column-headers": e.truncateColumnHeaders,
|
|
3478
3481
|
"row-actions-maximum-width": o(ee)
|
|
3479
|
-
}, Xe(o(
|
|
3480
|
-
onColumnHover: M[2] || (M[2] = (Se) =>
|
|
3481
|
-
onColumnMove: o(
|
|
3482
|
-
onColumnUpdate: o(
|
|
3483
|
-
onColumnResize:
|
|
3482
|
+
}, Xe(o(wn)), {
|
|
3483
|
+
onColumnHover: M[2] || (M[2] = (Se) => Cn.value = Se),
|
|
3484
|
+
onColumnMove: o(yn),
|
|
3485
|
+
onColumnUpdate: o(hn),
|
|
3486
|
+
onColumnResize: Hn,
|
|
3484
3487
|
onColumnResizing: o(ge),
|
|
3485
3488
|
onSelectAllRows: o(_t),
|
|
3486
3489
|
onSelectAllAcrossPages: M[3] || (M[3] = (Se) => K(o(k).SELECT_ALL_ACROSS_PAGES)),
|
|
3487
|
-
onSort:
|
|
3490
|
+
onSort: Vn
|
|
3488
3491
|
}), Pe({ _: 2 }, [
|
|
3489
3492
|
Le(o(d), (Se, Ae) => ({
|
|
3490
3493
|
name: Ae,
|
|
@@ -3495,20 +3498,20 @@ const zs = /* @__PURE__ */ de($s, [["render", Fs]]), Us = ["aria-label"], Ps = {
|
|
|
3495
3498
|
]), 1040, ["columns", "has-resizable-columns", "sort-by", "all-items-selected-state", "is-frozen-columns", "show-frozen-columns-separator", "dragging-columns", "has-draggable-columns", "has-column-panel", "has-left-overflow", "has-first-column-panel-right-aligned", "hovered-over-column-state", "is-measuring-column-widths", "is-only-one-visible-column", "selectable", "selectable-across-pages", "truncate-column-headers", "row-actions-maximum-width", "onColumnMove", "onColumnUpdate", "onColumnResizing", "onSelectAllRows"])) : B("", !0)
|
|
3496
3499
|
], 64))), 256))
|
|
3497
3500
|
], 4)
|
|
3498
|
-
], 40,
|
|
3501
|
+
], 40, Vs)
|
|
3499
3502
|
], 4),
|
|
3500
3503
|
O("div", {
|
|
3501
3504
|
ref_key: "body",
|
|
3502
3505
|
ref: l,
|
|
3503
3506
|
"data-testid": "data-grid-body",
|
|
3504
|
-
class: ce(["b-data-grid__body",
|
|
3507
|
+
class: ce(["b-data-grid__body", $n.value]),
|
|
3505
3508
|
tabindex: o(r) ? "0" : "-1",
|
|
3506
3509
|
"aria-busy": o(r),
|
|
3507
3510
|
"aria-live": "polite",
|
|
3508
3511
|
onScroll: M[8] || (M[8] = //@ts-ignore
|
|
3509
3512
|
(...q) => o(qe) && o(qe)(...q))
|
|
3510
3513
|
}, [
|
|
3511
|
-
o(r) && !o(Be) ? (f(), R("div",
|
|
3514
|
+
o(r) && !o(Be) ? (f(), R("div", Zs, [
|
|
3512
3515
|
Y(o(ft), {
|
|
3513
3516
|
class: "b-data-grid__loading-indicator",
|
|
3514
3517
|
large: ""
|
|
@@ -3522,8 +3525,8 @@ const zs = /* @__PURE__ */ de($s, [["render", Fs]]), Us = ["aria-label"], Ps = {
|
|
|
3522
3525
|
]),
|
|
3523
3526
|
_: 1
|
|
3524
3527
|
})
|
|
3525
|
-
])) : ((ie = o(s)) == null ? void 0 : ie.length) === 0 && e.emptyState ? (f(), R("div",
|
|
3526
|
-
Y(o(
|
|
3528
|
+
])) : ((ie = o(s)) == null ? void 0 : ie.length) === 0 && e.emptyState ? (f(), R("div", js, [
|
|
3529
|
+
Y(o(ul), el(tl(Tn.value)), null, 16)
|
|
3527
3530
|
])) : (f(), R("div", {
|
|
3528
3531
|
key: 2,
|
|
3529
3532
|
class: "b-data-grid__rows",
|
|
@@ -3533,16 +3536,16 @@ const zs = /* @__PURE__ */ de($s, [["render", Fs]]), Us = ["aria-label"], Ps = {
|
|
|
3533
3536
|
}, [
|
|
3534
3537
|
(f(!0), R(Ce, null, Le(o(s), (q, be) => {
|
|
3535
3538
|
var pe, ze;
|
|
3536
|
-
return f(), H(o(
|
|
3539
|
+
return f(), H(o(fn), {
|
|
3537
3540
|
key: be,
|
|
3538
3541
|
ref_for: !0,
|
|
3539
|
-
ref: (Se) =>
|
|
3542
|
+
ref: (Se) => zn(Se, be),
|
|
3540
3543
|
style: ke(o(ae)),
|
|
3541
3544
|
"allow-row-clicks": e.allowRowClicks,
|
|
3542
3545
|
"column-sets": o(Ze),
|
|
3543
3546
|
condensed: e.condensed,
|
|
3544
3547
|
"dragging-columns": o(wt),
|
|
3545
|
-
"dragging-events-for-row-cell": o(
|
|
3548
|
+
"dragging-events-for-row-cell": o(_n),
|
|
3546
3549
|
"get-data-item-id": e.getDataItemId,
|
|
3547
3550
|
"has-nested-content": o(z),
|
|
3548
3551
|
"has-nested-rows": o(U),
|
|
@@ -3564,12 +3567,12 @@ const zs = /* @__PURE__ */ de($s, [["render", Fs]]), Us = ["aria-label"], Ps = {
|
|
|
3564
3567
|
"should-show-nested-rows": e.shouldShowNestedRows,
|
|
3565
3568
|
selectable: o(g),
|
|
3566
3569
|
"selected-items": o(yt),
|
|
3567
|
-
onCellHovered:
|
|
3570
|
+
onCellHovered: Pn,
|
|
3568
3571
|
onNestedContentToggled: M[6] || (M[6] = (Se) => K(o(k).NESTED_CONTENT_TOGGLED, Se)),
|
|
3569
|
-
onRowClick:
|
|
3570
|
-
onOnFrozenColumnsKeyPress: o(
|
|
3571
|
-
onSelectRow: o(
|
|
3572
|
-
onSelectNestedRow: o(
|
|
3572
|
+
onRowClick: Un,
|
|
3573
|
+
onOnFrozenColumnsKeyPress: o(An),
|
|
3574
|
+
onSelectRow: o(bn),
|
|
3575
|
+
onSelectNestedRow: o(Sn)
|
|
3573
3576
|
}, Pe({ _: 2 }, [
|
|
3574
3577
|
Le(o(d), (Se, Ae) => ({
|
|
3575
3578
|
name: Ae,
|
|
@@ -3580,12 +3583,12 @@ const zs = /* @__PURE__ */ de($s, [["render", Fs]]), Us = ["aria-label"], Ps = {
|
|
|
3580
3583
|
]), 1032, ["style", "allow-row-clicks", "column-sets", "condensed", "dragging-columns", "dragging-events-for-row-cell", "get-data-item-id", "has-nested-content", "has-nested-rows", "has-left-overflow", "has-right-overflow", "highlighted-rows", "hovered-row-index", "hovered-over-column-state", "is-data-item-disabled", "is-row-last-child", "is-measuring-column-widths", "row-actions-maximum-width", "row-actions", "row-data", "row-index", "row-set-size", "show-frozen-columns-separator", "should-show-nested-content", "should-show-nested-rows", "selectable", "selected-items", "onOnFrozenColumnsKeyPress", "onSelectRow", "onSelectNestedRow"]);
|
|
3581
3584
|
}), 128))
|
|
3582
3585
|
], 32))
|
|
3583
|
-
], 42,
|
|
3584
|
-
o(Be) ? (f(), H(o(
|
|
3586
|
+
], 42, xs),
|
|
3587
|
+
o(Be) ? (f(), H(o(cs), {
|
|
3585
3588
|
key: 2,
|
|
3586
3589
|
loading: o(r),
|
|
3587
|
-
"is-infinite-scroll": o(
|
|
3588
|
-
"onUpdate:showMore": o(
|
|
3590
|
+
"is-infinite-scroll": o(Ln),
|
|
3591
|
+
"onUpdate:showMore": o(Rn)
|
|
3589
3592
|
}, null, 8, ["loading", "is-infinite-scroll", "onUpdate:showMore"])) : B("", !0),
|
|
3590
3593
|
e.stickyHorizontalScrollbar ? (f(), R("div", {
|
|
3591
3594
|
key: 3,
|
|
@@ -3594,7 +3597,7 @@ const zs = /* @__PURE__ */ de($s, [["render", Fs]]), Us = ["aria-label"], Ps = {
|
|
|
3594
3597
|
class: "b-data-grid__horizontal-scrollbar",
|
|
3595
3598
|
"aria-hidden": "true",
|
|
3596
3599
|
"data-testid": "sticky-horizontal-scrollbar",
|
|
3597
|
-
style: ke(o(
|
|
3600
|
+
style: ke(o(On)),
|
|
3598
3601
|
onScroll: M[9] || (M[9] = //@ts-ignore
|
|
3599
3602
|
(...q) => o(bt) && o(bt)(...q))
|
|
3600
3603
|
}, [
|
|
@@ -3607,12 +3610,12 @@ const zs = /* @__PURE__ */ de($s, [["render", Fs]]), Us = ["aria-label"], Ps = {
|
|
|
3607
3610
|
ref_key: "paginationContainerRef",
|
|
3608
3611
|
ref: P,
|
|
3609
3612
|
"data-testid": "pagination-container",
|
|
3610
|
-
class: ce(["b-data-grid__pagination",
|
|
3613
|
+
class: ce(["b-data-grid__pagination", Mn.value])
|
|
3611
3614
|
}, [
|
|
3612
|
-
Y(o(
|
|
3615
|
+
Y(o(al), te(o(ne), {
|
|
3613
3616
|
"aria-label": `${o(Lt)} navigation`,
|
|
3614
|
-
onNavigate:
|
|
3615
|
-
onItemsPage:
|
|
3617
|
+
onNavigate: xn,
|
|
3618
|
+
onItemsPage: Zn
|
|
3616
3619
|
}), {
|
|
3617
3620
|
default: Z(() => [
|
|
3618
3621
|
o(t)("pagination-slot") ? Re(T.$slots, "pagination-slot", { key: 0 }, void 0, !0) : B("", !0)
|
|
@@ -3620,27 +3623,27 @@ const zs = /* @__PURE__ */ de($s, [["render", Fs]]), Us = ["aria-label"], Ps = {
|
|
|
3620
3623
|
_: 3
|
|
3621
3624
|
}, 16, ["aria-label"])
|
|
3622
3625
|
], 2)) : B("", !0),
|
|
3623
|
-
T.$slots.footer ? (f(), R("div",
|
|
3626
|
+
T.$slots.footer ? (f(), R("div", qs, [
|
|
3624
3627
|
Re(T.$slots, "footer", {}, void 0, !0)
|
|
3625
3628
|
])) : B("", !0),
|
|
3626
|
-
|
|
3629
|
+
Gn.value ? (f(), H(o(il), {
|
|
3627
3630
|
key: 6,
|
|
3628
3631
|
actions: e.bulkActions,
|
|
3629
3632
|
"item-counter": pt.value,
|
|
3630
3633
|
"extra-bottom-spacing": o(se),
|
|
3631
3634
|
onClose: M[10] || (M[10] = (q) => o(_t)(!1))
|
|
3632
3635
|
}, null, 8, ["actions", "item-counter", "extra-bottom-spacing"])) : B("", !0)
|
|
3633
|
-
], 42,
|
|
3636
|
+
], 42, Gs);
|
|
3634
3637
|
};
|
|
3635
3638
|
}
|
|
3636
|
-
}),
|
|
3639
|
+
}), Hi = /* @__PURE__ */ de(Ys, [["__scopeId", "data-v-1551c664"]]);
|
|
3637
3640
|
export {
|
|
3638
3641
|
it as B,
|
|
3639
|
-
|
|
3642
|
+
Gi as a,
|
|
3640
3643
|
Me as b,
|
|
3641
3644
|
Fe as c,
|
|
3642
|
-
|
|
3645
|
+
Hi as d,
|
|
3643
3646
|
k as e,
|
|
3644
3647
|
Ye as f
|
|
3645
3648
|
};
|
|
3646
|
-
//# sourceMappingURL=data-grid.
|
|
3649
|
+
//# sourceMappingURL=data-grid.mNFj1mbB.js.map
|