@adyen/bento-vue2 1.87.1 → 1.88.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.
Files changed (79) hide show
  1. package/dist/@types/index.d.ts +127 -63
  2. package/dist/action-bar.js +1 -1
  3. package/dist/assets/accordion-item.css +1 -1
  4. package/dist/assets/action-bar.css +1 -1
  5. package/dist/assets/base-modal.css +1 -1
  6. package/dist/assets/button-actions.css +1 -1
  7. package/dist/assets/card.css +1 -1
  8. package/dist/assets/data-grid.css +1 -1
  9. package/dist/assets/dialog-page.css +1 -1
  10. package/dist/assets/dropdown.css +1 -1
  11. package/dist/assets/file-uploader.css +1 -1
  12. package/dist/assets/inspector.css +1 -1
  13. package/dist/assets/modal-fullscreen.css +1 -1
  14. package/dist/assets/radio-input.css +1 -1
  15. package/dist/assets/sidepanel.css +1 -1
  16. package/dist/checkbox.js +2 -2
  17. package/dist/chunks/action-bar.rHHYcsRV.js +233 -0
  18. package/dist/chunks/action-bar.rHHYcsRV.js.map +1 -0
  19. package/dist/chunks/{checkbox-group.BtsDJN9I.js → checkbox-group.ntiYZadA.js} +2 -2
  20. package/dist/chunks/{checkbox-group.BtsDJN9I.js.map → checkbox-group.ntiYZadA.js.map} +1 -1
  21. package/dist/chunks/{checkbox.Dxvh9si9.js → checkbox.DfB3ZeA-.js} +18 -18
  22. package/dist/chunks/{checkbox.Dxvh9si9.js.map → checkbox.DfB3ZeA-.js.map} +1 -1
  23. package/dist/chunks/{code-snippet.CaAEHdBl.js → code-snippet.D5ET8Yc1.js} +2 -2
  24. package/dist/chunks/{code-snippet.CaAEHdBl.js.map → code-snippet.D5ET8Yc1.js.map} +1 -1
  25. package/dist/chunks/{data-grid.BvukOpky.js → data-grid.u3f__x8_.js} +470 -463
  26. package/dist/chunks/data-grid.u3f__x8_.js.map +1 -0
  27. package/dist/chunks/{date-range-picker.BJ-ARlkH.js → date-range-picker.B9XHHv9W.js} +3 -3
  28. package/dist/chunks/{date-range-picker.BJ-ARlkH.js.map → date-range-picker.B9XHHv9W.js.map} +1 -1
  29. package/dist/chunks/{dropdown-tag.DSCZALNp.js → dropdown-tag.Dmq73cu9.js} +2 -2
  30. package/dist/chunks/{dropdown-tag.DSCZALNp.js.map → dropdown-tag.Dmq73cu9.js.map} +1 -1
  31. package/dist/chunks/{dropdown.ET_mq1_P.js → dropdown.Do5c4SST.js} +25 -25
  32. package/dist/chunks/dropdown.Do5c4SST.js.map +1 -0
  33. package/dist/chunks/{filter-bar.DrkWf7T6.js → filter-bar.B_RHM9kR.js} +11 -11
  34. package/dist/chunks/{filter-bar.DrkWf7T6.js.map → filter-bar.B_RHM9kR.js.map} +1 -1
  35. package/dist/chunks/{header-with-views.DLoIc0yO.js → header-with-views.F1h5e4Wn.js} +3 -3
  36. package/dist/chunks/{header-with-views.DLoIc0yO.js.map → header-with-views.F1h5e4Wn.js.map} +1 -1
  37. package/dist/chunks/{input-field-password.TIzrVzR6.js → input-field-password.nYiBJRzJ.js} +3 -3
  38. package/dist/chunks/{input-field-password.TIzrVzR6.js.map → input-field-password.nYiBJRzJ.js.map} +1 -1
  39. package/dist/chunks/{input-field-phone-number.s2fP7BVR.js → input-field-phone-number.BhLVrf55.js} +3 -3
  40. package/dist/chunks/{input-field-phone-number.s2fP7BVR.js.map → input-field-phone-number.BhLVrf55.js.map} +1 -1
  41. package/dist/chunks/{input-field.CSCJTxk1.js → input-field.CFdpdjK5.js} +2 -2
  42. package/dist/chunks/{input-field.CSCJTxk1.js.map → input-field.CFdpdjK5.js.map} +1 -1
  43. package/dist/chunks/{pagination.iN0eYByB.js → pagination.BKIqR6O6.js} +2 -2
  44. package/dist/chunks/{pagination.iN0eYByB.js.map → pagination.BKIqR6O6.js.map} +1 -1
  45. package/dist/chunks/{radio-group.5ZxqWguJ.js → radio-group.DhDhTbZp.js} +2 -2
  46. package/dist/chunks/{radio-group.5ZxqWguJ.js.map → radio-group.DhDhTbZp.js.map} +1 -1
  47. package/dist/chunks/{radio-input.kzb4gxLW.js → radio-input.CLlYadKI.js} +14 -14
  48. package/dist/chunks/radio-input.CLlYadKI.js.map +1 -0
  49. package/dist/chunks/{rich-text-editor.BJ-FvvNc.js → rich-text-editor.BjjQ0hue.js} +2 -2
  50. package/dist/chunks/{rich-text-editor.BJ-FvvNc.js.map → rich-text-editor.BjjQ0hue.js.map} +1 -1
  51. package/dist/chunks/{search-bar.GPl6NU_w.js → search-bar.k0tIoWcb.js} +3 -3
  52. package/dist/chunks/{search-bar.GPl6NU_w.js.map → search-bar.k0tIoWcb.js.map} +1 -1
  53. package/dist/chunks/{secondary-nav.DMHDxGDq.js → secondary-nav.CV6EiZPL.js} +2 -2
  54. package/dist/chunks/{secondary-nav.DMHDxGDq.js.map → secondary-nav.CV6EiZPL.js.map} +1 -1
  55. package/dist/chunks/{selection-card-group.Hol_gJKN.js → selection-card-group.CMTwk1iJ.js} +8 -8
  56. package/dist/chunks/{selection-card-group.Hol_gJKN.js.map → selection-card-group.CMTwk1iJ.js.map} +1 -1
  57. package/dist/code-snippet.js +1 -1
  58. package/dist/data-grid.js +1 -1
  59. package/dist/date-range-picker.js +1 -1
  60. package/dist/dropdown.js +2 -2
  61. package/dist/filter-bar.js +1 -1
  62. package/dist/header-with-views.js +1 -1
  63. package/dist/index.js +20 -20
  64. package/dist/input-field-password.js +1 -1
  65. package/dist/input-field-phone-number.js +1 -1
  66. package/dist/input-field.js +1 -1
  67. package/dist/pagination.js +1 -1
  68. package/dist/radio-group.js +2 -2
  69. package/dist/rich-text-editor.js +1 -1
  70. package/dist/search-bar.js +2 -2
  71. package/dist/secondary-nav.js +1 -1
  72. package/dist/selection-card.js +1 -1
  73. package/dist/web-types.json +57 -3
  74. package/package.json +5 -5
  75. package/dist/chunks/action-bar.ChMlt59Z.js +0 -163
  76. package/dist/chunks/action-bar.ChMlt59Z.js.map +0 -1
  77. package/dist/chunks/data-grid.BvukOpky.js.map +0 -1
  78. package/dist/chunks/dropdown.ET_mq1_P.js.map +0 -1
  79. package/dist/chunks/radio-input.kzb4gxLW.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { ref as h, onMounted as Ee, nextTick as ae, watch as ie, onUnmounted as Tt, reactive as ze, toRefs as ke, computed as v, watchEffect as $n, onBeforeUpdate as zn, defineComponent as de, inject as _e, toRef as Ue, useSlots as We, provide as Ne } from "vue";
1
+ import { ref as p, onMounted as Ee, nextTick as ae, watch as ie, onUnmounted as Tt, reactive as ze, toRefs as ke, computed as v, watchEffect as $n, onBeforeUpdate as zn, defineComponent as de, inject as _e, toRef as Ue, useSlots as We, provide as Ne } from "vue";
2
2
  import { C as kn } from "./checkmark-circle-fill.BttTCjrM.js";
3
3
  import { W as Wn } from "./warning-filled.CbJ1pcB2.js";
4
4
  /* empty css */
@@ -11,19 +11,19 @@ import { B as Zn } from "./dashed-underline.DauOBhSD.js";
11
11
  import { B as Se, p as It } from "./typography.C8lPlsbD.js";
12
12
  import { u as he } from "./index.B6WW_F-J.js";
13
13
  import { B as jn } from "./tag.CocLKztJ.js";
14
- import { B as qn } from "./action-bar.ChMlt59Z.js";
15
- import { B as Yn } from "./pagination.iN0eYByB.js";
14
+ import { B as qn } from "./action-bar.rHHYcsRV.js";
15
+ import { B as Yn } from "./pagination.BKIqR6O6.js";
16
16
  import { B as Ge } from "./loading-indicator.PxbRzshH.js";
17
17
  import { u as He } from "./use-has-slot.C9lQZ6nz.js";
18
18
  import { g as De } from "./generate-uid.NJ8tVoha.js";
19
- import { a as Jn } from "./filter-bar.DrkWf7T6.js";
19
+ import { a as Jn } from "./filter-bar.B_RHM9kR.js";
20
20
  import { B as Kn } from "./empty-state.IiG1LXa2.js";
21
21
  import { E as Xn } from "./tabs.keys.B4qGhjp2.js";
22
22
  import { D as Qn } from "./data-grid-template.keys.VezYtHtM.js";
23
23
  import { b as es } from "./index.CwzYJHw2.js";
24
24
  import { o as Ve } from "./resize.Bqks3WUm.js";
25
25
  import "./index.Cl4_42j5.js";
26
- import { B as Dt } from "./checkbox.Dxvh9si9.js";
26
+ import { B as Dt } from "./checkbox.DfB3ZeA-.js";
27
27
  import { B as xt } from "./button.Ctj3rkxw.js";
28
28
  import { c as Ze, f as Ft, h as ts, b as ns, a as ss, O as it, D as os } from "./button-actions.DyPS54Yi.js";
29
29
  import { E as rt } from "./link.DKimL08z.js";
@@ -40,8 +40,8 @@ import { A as us } from "./arrow-right.Dn3AYpUP.js";
40
40
  import { H as fs, S as gs } from "./show.B_mKPF6I.js";
41
41
  import { l as ut } from "./events.BQOQSSb7.js";
42
42
  import { B as Pt } from "./toggle.B1z1YPe_.js";
43
- import { B as _s } from "./search-bar.GPl6NU_w.js";
44
- import { u as vs } from "./dropdown.ET_mq1_P.js";
43
+ import { B as _s } from "./search-bar.k0tIoWcb.js";
44
+ import { u as vs } from "./dropdown.Do5c4SST.js";
45
45
  import { S as ms } from "./search.D53Ia3rC.js";
46
46
  import { B as Cs } from "./directive.rXUeDb8p.js";
47
47
  import "../assets/data-grid.css";
@@ -57,12 +57,12 @@ const ft = (s) => {
57
57
  }
58
58
  const o = parseFloat(t.top);
59
59
  return !isNaN(o) && o < 0 && (n += o), n;
60
- }, gt = (s, t, n = h(!1), e = null) => {
61
- const o = h(0);
60
+ }, gt = (s, t, n = p(!1), e = null) => {
61
+ const o = p(0);
62
62
  let l = null, a = null;
63
63
  const i = () => {
64
- const _ = t.value ? ft(s.value) : 0, g = n.value && e ? ft(e.value) : 0;
65
- o.value = _ + g;
64
+ const _ = t.value ? ft(s.value) : 0, d = n.value && e ? ft(e.value) : 0;
65
+ o.value = _ + d;
66
66
  };
67
67
  return Ee(() => {
68
68
  ae(() => {
@@ -87,28 +87,28 @@ const ft = (s) => {
87
87
  };
88
88
  var $e = /* @__PURE__ */ ((s) => (s.WRAP = "wrap", s.ELLIPSIS = "ellipsis", s))($e || {}), j = /* @__PURE__ */ ((s) => (s.COLUMN_RESIZE = "column-resize", s.COLUMN_RESIZING = "column-resizing", s.SELECT_ALL_ROWS = "select-all-rows", s.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", s.SELECT_ALL_CURRENT_RESULTS = "select-all-current-results", s.DESELECT_ALL = "deselect-all", s.DESELECT_ALL_CURRENT_RESULTS = "deselect-all-current-results", s.COLUMN_MOVE = "column-move", s.COLUMN_UPDATE = "column-update", s.COLUMN_MENU_OPEN = "column-menu-open", s.COLUMN_MENU_CLOSE = "column-menu-close", s.COLUMN_HOVER = "column-hover", s.COLUMN_DRAG_START = "column-dragstart", s.COLUMN_DRAG_ENTER = "column-dragenter", s.COLUMN_DRAG_END = "column-dragend", s.COLUMN_DROP = "column-drop", s))(j || {}), ge = /* @__PURE__ */ ((s) => (s.OUTLINE = "outline", s.SCROLL = "scroll", s.STICKY_FILTERS = "sticky-filters", s.OVERFLOW_SHADOW_LEFT = "overflow-shadow-left", s.OVERFLOW_SHADOW_RIGHT = "overflow-shadow-right", s.NO_SPACING_TOP = "no-spacing-top", s.FIT_CONTENT = "fit-content", s.ZEBRA_ROWS = "zebra-rows", s))(ge || {}), be = /* @__PURE__ */ ((s) => (s.ASCENDING = "asc", s.DESCENDING = "desc", s))(be || {}), N = /* @__PURE__ */ ((s) => (s.CELL_FOCUS = "cell-focus", s.COLUMNS = "columns", s.COLUMN_RESIZE = "column-resize", s.ITEMS_PAGE = "items-page", s.NAVIGATE = "navigate", s.NESTED_CONTENT_TOGGLED = "nested-content-toggled", s.FILTER_SEARCH_INPUT = "filter-search-input", s.FILTER_SEARCH_CLEAR = "filter-search-clear", s.UPDATE_COLUMNS = "update:columns", s.UPDATE_CONDENSED = "update:condensed", s.UPDATE_FILTERS = "update:filters", s.UPDATE_FILTER_VALUES = "update:filter-values", s.UPDATE_FILTER_VALUES_OBJECT = "update:filter-values-object", s.UPDATE_FILTER_SEARCH_TERM = "update:filter-search-term", s.UPDATE_PAGINATION = "update:pagination", s.UPDATE_SELECTION = "update:selection", s.UPDATE_SHOW_MORE = "update:show-more", s.UPDATE_SORT_BY = "update:sort-by", s.UPDATE_ZEBRA_ROWS = "update:zebra-rows", s.ROW_CLICK = "row-click", s.SELECT = "select", s.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", s.SELECT_ALL_CURRENT_RESULTS = "select-all-current-results", s.DESELECT_ALL_CURRENT_RESULTS = "deselect-all-current-results", s.SORT = "sort", s))(N || {}), Ie = /* @__PURE__ */ ((s) => (s.ASCENDING = "ascending", s.DESCENDING = "descending", s.NONE = "none", s))(Ie || {});
89
89
  const hs = (s, t) => {
90
- const n = h(null), e = h(!1), o = h(void 0), l = s.value.reduce((L, F) => (L[F.field] = null, L), {}), a = ze(l), i = ke(a);
91
- let _ = 0, g = "";
92
- const p = v(
93
- () => Object.fromEntries(s.value.map(({ field: L, width: F, minWidth: R }) => [L, { width: F, minWidth: R }]))
90
+ const n = p(null), e = p(!1), o = p(void 0), l = s.value.reduce((L, F) => (L[F.field] = null, L), {}), a = ze(l), i = ke(a);
91
+ let _ = 0, d = "";
92
+ const C = v(
93
+ () => Object.fromEntries(s.value.map(({ field: L, width: F, minWidth: E }) => [L, { width: F, minWidth: E }]))
94
94
  );
95
- $n(() => o.value = p.value);
96
- let m = null, E = null;
95
+ $n(() => o.value = C.value);
96
+ let m = null, S = null;
97
97
  const b = (L) => {
98
- const F = L.clientX - _, R = g, d = o.value[R].width + F;
99
- o.value[R].width = d > p.value[R].minWidth ? d : p.value[R].minWidth, t(j.COLUMN_RESIZING, o.value), _ = L.clientX;
100
- }, u = () => {
101
- e.value = !1, m == null || m(), E == null || E(), g && t(j.COLUMN_RESIZE, {
102
- field: g,
103
- width: o.value[g].width
104
- }), m = null, E = null, g = "", _ = null;
105
- }, A = (L, F, R) => {
106
- if (R.preventDefault(), L) {
107
- if (e.value = !0, R.buttons !== 1) {
108
- u();
98
+ const F = L.clientX - _, E = d, u = o.value[E].width + F;
99
+ o.value[E].width = u > C.value[E].minWidth ? u : C.value[E].minWidth, t(j.COLUMN_RESIZING, o.value), _ = L.clientX;
100
+ }, f = () => {
101
+ e.value = !1, m == null || m(), S == null || S(), d && t(j.COLUMN_RESIZE, {
102
+ field: d,
103
+ width: o.value[d].width
104
+ }), m = null, S = null, d = "", _ = null;
105
+ }, A = (L, F, E) => {
106
+ if (E.preventDefault(), L) {
107
+ if (e.value = !0, E.buttons !== 1) {
108
+ f();
109
109
  return;
110
110
  }
111
- g = F, _ = R.clientX, m = ut(window, "mousemove", b), E = ut(window, "mouseup", u);
111
+ d = F, _ = E.clientX, m = ut(window, "mousemove", b), S = ut(window, "mouseup", f);
112
112
  }
113
113
  };
114
114
  return ie(
@@ -132,22 +132,22 @@ const hs = (s, t) => {
132
132
  if (o.length === n.length)
133
133
  return;
134
134
  const i = { min: {} };
135
- let _ = s, g = t, p = 0;
135
+ let _ = s, d = t, C = 0;
136
136
  o.forEach((m) => {
137
- _ -= e[m].computedWidth, g -= e[m].flex;
137
+ _ -= e[m].computedWidth, d -= e[m].flex;
138
138
  });
139
- for (let m = 0, E = n.length; m < E; m += 1) {
139
+ for (let m = 0, S = n.length; m < S; m += 1) {
140
140
  const b = n[m];
141
141
  if (e[b.field] && e[b.field].frozen === !0)
142
142
  continue;
143
- let A = _ / g * b.flex;
144
- A < b.minWidth && (p += b.minWidth - A, A = b.minWidth, i.min[b.field] = !0), e[b.field] = {
143
+ let A = _ / d * b.flex;
144
+ A < b.minWidth && (C += b.minWidth - A, A = b.minWidth, i.min[b.field] = !0), e[b.field] = {
145
145
  frozen: !1,
146
146
  computedWidth: A,
147
147
  flex: b.flex
148
148
  };
149
149
  }
150
- p > 0 ? Object.keys(i.min).forEach((m) => {
150
+ C > 0 ? Object.keys(i.min).forEach((m) => {
151
151
  l(m);
152
152
  }) : n.forEach(({ field: m }) => {
153
153
  l(m);
@@ -161,13 +161,13 @@ const hs = (s, t) => {
161
161
  var t, n, e, o, l;
162
162
  return (t = s == null ? void 0 : s.hasNestedContent) != null && t.value || (n = s == null ? void 0 : s.hasNestedRows) != null && n.value ? (e = s == null ? void 0 : s.hasSelectableColumn) != null && e.value ? (o = s == null ? void 0 : s.hasSelectableAcrossPages) != null && o.value ? Rs : Ss : Es : (l = s == null ? void 0 : s.hasSelectableAcrossPages) != null && l.value ? bs : ws;
163
163
  }, Os = (s, t, n, e, o, l) => {
164
- const a = h(s.value), i = h(t), _ = h(n), g = h(e), p = h(o), m = h(!1), E = h(0);
164
+ const a = p(s.value), i = p(t), _ = p(n), d = p(e), C = p(o), m = p(!1), S = p(0);
165
165
  ie(
166
166
  () => s.value,
167
- (r, f) => {
167
+ (r, g) => {
168
168
  var T, B;
169
- const S = (r == null ? void 0 : r.map(({ field: P }) => P).toString()) === (f == null ? void 0 : f.map(({ field: P }) => P).toString());
170
- if (!((T = l == null ? void 0 : l.allowColumnDragAndDrop) != null && T.value) || !S) {
169
+ const R = (r == null ? void 0 : r.map(({ field: P }) => P).toString()) === (g == null ? void 0 : g.map(({ field: P }) => P).toString());
170
+ if (!((T = l == null ? void 0 : l.allowColumnDragAndDrop) != null && T.value) || !R) {
171
171
  a.value = s.value;
172
172
  return;
173
173
  }
@@ -177,12 +177,12 @@ const hs = (s, t) => {
177
177
  });
178
178
  }
179
179
  );
180
- const b = h();
181
- let u = null;
180
+ const b = p();
181
+ let f = null;
182
182
  const A = v(() => {
183
183
  var K, Y, ee;
184
184
  const r = [];
185
- let f = 0, S = 0;
185
+ let g = 0, R = 0;
186
186
  const T = {};
187
187
  let B = a.value.filter((G) => G.visible !== !1);
188
188
  const P = a.value.filter((G) => G.visible === !1);
@@ -203,14 +203,14 @@ const hs = (s, t) => {
203
203
  B.forEach((G) => {
204
204
  const M = { ...G };
205
205
  let w;
206
- M.flex && M.flex > 0 ? (f += M.flex, w = 0, r.push(M)) : w = Math.max(
206
+ M.flex && M.flex > 0 ? (g += M.flex, w = 0, r.push(M)) : w = Math.max(
207
207
  (M == null ? void 0 : M.width) ?? ps,
208
208
  (M == null ? void 0 : M.minWidth) ?? _t
209
- ), S += w, M.width = w, M.minWidth = (M == null ? void 0 : M.minWidth) ?? _t, T[M.field] = M;
210
- }), S += E.value;
211
- const k = Math.max(b.value - S, 0);
212
- if (f > 0 && b.value > 0) {
213
- const G = ys(k, f, r);
209
+ ), R += w, M.width = w, M.minWidth = (M == null ? void 0 : M.minWidth) ?? _t, T[M.field] = M;
210
+ }), R += S.value;
211
+ const k = Math.max(b.value - R, 0);
212
+ if (g > 0 && b.value > 0) {
213
+ const G = ys(k, g, r);
214
214
  Object.keys(G).forEach((M) => {
215
215
  T[M].width = G[M].computedWidth;
216
216
  });
@@ -219,19 +219,19 @@ const hs = (s, t) => {
219
219
  const M = { ...G };
220
220
  T[M.field] = M;
221
221
  }), Object.values(T);
222
- }), L = h(void 0), F = (r) => {
222
+ }), L = p(void 0), F = (r) => {
223
223
  L.value = { ...L.value, ...r };
224
- }, R = async () => {
225
- a.value.some((r) => r == null ? void 0 : r.autoWidth) && (m.value = !0, await ae(), a == null || a.value.filter((r) => r == null ? void 0 : r.autoWidth).forEach(({ field: r, minWidth: f }) => {
224
+ }, E = async () => {
225
+ a.value.some((r) => r == null ? void 0 : r.autoWidth) && (m.value = !0, await ae(), a == null || a.value.filter((r) => r == null ? void 0 : r.autoWidth).forEach(({ field: r, minWidth: g }) => {
226
226
  var P, k, K, Y;
227
- const S = vt(
228
- (P = g.value) == null ? void 0 : P[r],
227
+ const R = vt(
228
+ (P = d.value) == null ? void 0 : P[r],
229
229
  (k = l == null ? void 0 : l.hasColumnPanel) == null ? void 0 : k.value
230
- ), T = (Y = (K = p.value) == null ? void 0 : K[r]) == null ? void 0 : Y.reduce(
230
+ ), T = (Y = (K = C.value) == null ? void 0 : K[r]) == null ? void 0 : Y.reduce(
231
231
  (ee, G) => Math.max(ee, vt(G)),
232
232
  0
233
- ), B = Math.max(S, T ?? 0);
234
- (f === void 0 || B > f) && F({
233
+ ), B = Math.max(R, T ?? 0);
234
+ (g === void 0 || B > g) && F({
235
235
  [r]: {
236
236
  width: B
237
237
  }
@@ -239,21 +239,21 @@ const hs = (s, t) => {
239
239
  }), m.value = !1);
240
240
  };
241
241
  ie([() => a.value, () => i.value], async () => {
242
- a.value.some((r) => r == null ? void 0 : r.autoWidth) && await R();
242
+ a.value.some((r) => r == null ? void 0 : r.autoWidth) && await E();
243
243
  });
244
- const d = v(
244
+ const u = v(
245
245
  () => A.value.map((r) => {
246
- var f, S;
246
+ var g, R;
247
247
  return {
248
248
  ...r,
249
249
  // Override column width with resized ones
250
- width: ((S = (f = L.value) == null ? void 0 : f[r.field]) == null ? void 0 : S.width) ?? r.width
250
+ width: ((R = (g = L.value) == null ? void 0 : g[r.field]) == null ? void 0 : R.width) ?? r.width
251
251
  };
252
252
  })
253
253
  ), y = v(
254
254
  () => {
255
255
  var r;
256
- return ((r = d.value) == null ? void 0 : r.filter(({ visible: f }) => f !== !1).reduce((f, S) => S.width + f, 0)) + E.value;
256
+ return ((r = u.value) == null ? void 0 : r.filter(({ visible: g }) => g !== !1).reduce((g, R) => R.width + g, 0)) + S.value;
257
257
  }
258
258
  ), O = v(
259
259
  () => b.value <= y.value
@@ -261,76 +261,76 @@ const hs = (s, t) => {
261
261
  width: b.value > y.value ? "100%" : "fit-content"
262
262
  }));
263
263
  return Ee(() => {
264
- var f;
264
+ var g;
265
265
  const r = l != null && l.isDataGridTemplate ? As : 0;
266
266
  ae(() => {
267
267
  _.value && (b.value = _.value.getBoundingClientRect().width - r);
268
- const S = ie(
268
+ const R = ie(
269
269
  _,
270
270
  () => {
271
- _.value && (ae(() => S()), u = Ve(_.value, ({ width: T }) => {
271
+ _.value && (ae(() => R()), f = Ve(_.value, ({ width: T }) => {
272
272
  b.value = T - r;
273
273
  }));
274
274
  },
275
275
  { immediate: !0 }
276
276
  );
277
- }), (f = document == null ? void 0 : document.fonts) != null && f.ready ? document.fonts.ready.then(() => {
278
- R();
279
- }) : R();
277
+ }), (g = document == null ? void 0 : document.fonts) != null && g.ready ? document.fonts.ready.then(() => {
278
+ E();
279
+ }) : E();
280
280
  }), Tt(() => {
281
- u == null || u.disconnect();
281
+ f == null || f.disconnect();
282
282
  }), zn(() => {
283
283
  var r;
284
- p.value && ((r = Object.keys(p.value)) == null ? void 0 : r.length) > 0 && Object.keys(p.value).forEach((S) => {
285
- p.value[S] = [];
284
+ C.value && ((r = Object.keys(C.value)) == null ? void 0 : r.length) > 0 && Object.keys(C.value).forEach((R) => {
285
+ C.value[R] = [];
286
286
  });
287
287
  }), {
288
- columnDefs: d,
288
+ columnDefs: u,
289
289
  gridRowWidthStyle: x,
290
290
  onColumnWidthOverride: F,
291
291
  isMeasuringColumnWidths: m,
292
292
  isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: O,
293
293
  columns: a,
294
294
  totalWidthOfAllColumns: y,
295
- rowActionsMaxWidth: E
295
+ rowActionsMaxWidth: S
296
296
  };
297
297
  }, Ns = (s, t, n, e, o, l, a) => {
298
- const i = h(s.value ?? []), _ = ze({
298
+ const i = p(s.value ?? []), _ = ze({
299
299
  allItemsSelected: !1,
300
300
  isIndeterminate: !1
301
- }), g = v(
301
+ }), d = v(
302
302
  () => n.value.flatMap((r) => {
303
- var f;
304
- return [r, ((f = r == null ? void 0 : r.children) == null ? void 0 : f.length) > 0 ? r == null ? void 0 : r.children : []];
303
+ var g;
304
+ return [r, ((g = r == null ? void 0 : r.children) == null ? void 0 : g.length) > 0 ? r == null ? void 0 : r.children : []];
305
305
  }).flat()
306
- ), p = v(
306
+ ), C = v(
307
307
  () => {
308
- var r, f;
309
- return ((r = n.value) == null ? void 0 : r.length) > 0 && ((f = g.value) == null ? void 0 : f.every((S) => i.value.includes(e(S))));
308
+ var r, g;
309
+ return ((r = n.value) == null ? void 0 : r.length) > 0 && ((g = d.value) == null ? void 0 : g.every((R) => i.value.includes(e(R))));
310
310
  }
311
311
  ), m = v(
312
312
  () => {
313
- var r, f;
314
- return ((r = n.value) == null ? void 0 : r.length) > 0 && ((f = g.value) == null ? void 0 : f.filter((S) => !o(S)).every((S) => i.value.includes(e(S))));
313
+ var r, g;
314
+ return ((r = n.value) == null ? void 0 : r.length) > 0 && ((g = d.value) == null ? void 0 : g.filter((R) => !o(R)).every((R) => i.value.includes(e(R))));
315
315
  }
316
- ), E = v(
316
+ ), S = v(
317
317
  () => {
318
- var r, f;
319
- return ((r = n.value) == null ? void 0 : r.length) > 0 && !((f = g.value) != null && f.some((S) => i.value.includes(e(S))));
318
+ var r, g;
319
+ return ((r = n.value) == null ? void 0 : r.length) > 0 && !((g = d.value) != null && g.some((R) => i.value.includes(e(R))));
320
320
  }
321
321
  ), b = v(
322
322
  () => {
323
- var r, f;
324
- return ((r = n.value) == null ? void 0 : r.length) > 0 && !((f = g.value) != null && f.filter((S) => !o(S)).some((S) => i.value.includes(e(S))));
323
+ var r, g;
324
+ return ((r = n.value) == null ? void 0 : r.length) > 0 && !((g = d.value) != null && g.filter((R) => !o(R)).some((R) => i.value.includes(e(R))));
325
325
  }
326
- ), u = v(() => {
326
+ ), f = v(() => {
327
327
  var r;
328
328
  return !(l != null && l.value) || ((r = a == null ? void 0 : a.value) == null ? void 0 : r.totalCount) === void 0 ? !1 : i.value.length >= a.value.totalCount && m.value;
329
329
  }), A = () => {
330
330
  t(N.SELECT, i.value), t(N.UPDATE_SELECTION, i.value);
331
331
  }, L = (r) => {
332
- var f, S;
333
- i.value = r, p.value ? (_.allItemsSelected = !0, _.isIndeterminate = !1) : (_.allItemsSelected = !1, _.isIndeterminate = ((f = i.value) == null ? void 0 : f.length) > 0 && ((S = n.value) == null ? void 0 : S.length) > 0 && n.value.some(
332
+ var g, R;
333
+ i.value = r, C.value ? (_.allItemsSelected = !0, _.isIndeterminate = !1) : (_.allItemsSelected = !1, _.isIndeterminate = ((g = i.value) == null ? void 0 : g.length) > 0 && ((R = n.value) == null ? void 0 : R.length) > 0 && n.value.some(
334
334
  (T) => {
335
335
  var B;
336
336
  return i.value.includes(e(T)) || ((B = T == null ? void 0 : T.children) == null ? void 0 : B.some((P) => i.value.includes(e(P))));
@@ -338,43 +338,43 @@ const hs = (s, t) => {
338
338
  ));
339
339
  }, F = (r) => {
340
340
  ae(() => {
341
- var S, T;
341
+ var R, T;
342
342
  _.allItemsSelected = r;
343
- const f = ((T = (S = g.value) == null ? void 0 : S.filter(
343
+ const g = ((T = (R = d.value) == null ? void 0 : R.filter(
344
344
  (B) => !o(B) && ((B == null ? void 0 : B.children) === void 0 || B.children.every((P) => !o(P)))
345
345
  )) == null ? void 0 : T.map((B) => e(B))) ?? [];
346
- r ? (i.value = [.../* @__PURE__ */ new Set([...i.value, ...f])], _.isIndeterminate = !p.value) : (i.value = i.value.filter((B) => !f.includes(B)), _.isIndeterminate = !E.value), A();
346
+ r ? (i.value = [.../* @__PURE__ */ new Set([...i.value, ...g])], _.isIndeterminate = !C.value) : (i.value = i.value.filter((B) => !g.includes(B)), _.isIndeterminate = !S.value), A();
347
347
  });
348
- }, R = () => {
348
+ }, E = () => {
349
349
  ae(() => {
350
350
  L([]), A();
351
351
  });
352
- }, d = (r, f) => {
352
+ }, u = (r, g) => {
353
353
  ae(() => {
354
- var S;
355
- L(((S = f == null ? void 0 : f.children) == null ? void 0 : S.length) > 0 ? y(r, f) : r), A();
354
+ var R;
355
+ L(((R = g == null ? void 0 : g.children) == null ? void 0 : R.length) > 0 ? y(r, g) : r), A();
356
356
  });
357
- }, y = (r, f) => {
357
+ }, y = (r, g) => {
358
358
  var B;
359
- const S = e(f), T = (B = f.children) == null ? void 0 : B.filter((P) => !o(P)).map((P) => e(P));
360
- if (r.includes(S)) {
359
+ const R = e(g), T = (B = g.children) == null ? void 0 : B.filter((P) => !o(P)).map((P) => e(P));
360
+ if (r.includes(R)) {
361
361
  const P = r;
362
362
  return T.forEach((k) => {
363
363
  P.includes(k) || P.push(k);
364
364
  }), P;
365
365
  }
366
366
  return r.filter((P) => !T.includes(P));
367
- }, O = (r, f, S) => {
367
+ }, O = (r, g, R) => {
368
368
  ae(() => {
369
369
  var B, P;
370
- const T = e(f);
371
- r.includes(e(S)) ? L(
372
- !r.includes(T) && ((B = f == null ? void 0 : f.children) != null && B.every((k) => r.includes(e(k)))) ? [...r, T] : r
370
+ const T = e(g);
371
+ r.includes(e(R)) ? L(
372
+ !r.includes(T) && ((B = g == null ? void 0 : g.children) != null && B.every((k) => r.includes(e(k)))) ? [...r, T] : r
373
373
  ) : L(
374
- r.includes(T) && !((P = f == null ? void 0 : f.children) != null && P.every((k) => r.includes(e(k)))) ? r.filter((k) => k !== T) : r
374
+ r.includes(T) && !((P = g == null ? void 0 : g.children) != null && P.every((k) => r.includes(e(k)))) ? r.filter((k) => k !== T) : r
375
375
  ), A();
376
376
  });
377
- }, x = v(() => u.value ? "all" : m.value ? "page" : !i.value || i.value.length === 0 ? "none" : b.value ? "unselected-page" : "single");
377
+ }, x = v(() => f.value ? "all" : m.value ? "page" : !i.value || i.value.length === 0 ? "none" : b.value ? "unselected-page" : "single");
378
378
  return ie(
379
379
  () => s.value,
380
380
  () => {
@@ -384,19 +384,19 @@ const hs = (s, t) => {
384
384
  ), ie(
385
385
  () => n.value,
386
386
  () => {
387
- const r = n.value.filter((f) => i.value.includes(e(f))).flatMap(
388
- (f) => {
389
- var S;
390
- return ((S = f == null ? void 0 : f.children) == null ? void 0 : S.length) > 0 ? f.children.map((T) => e(T)).filter((T) => !i.value.includes(T)) : [];
387
+ const r = n.value.filter((g) => i.value.includes(e(g))).flatMap(
388
+ (g) => {
389
+ var R;
390
+ return ((R = g == null ? void 0 : g.children) == null ? void 0 : R.length) > 0 ? g.children.map((T) => e(T)).filter((T) => !i.value.includes(T)) : [];
391
391
  }
392
392
  );
393
393
  (r == null ? void 0 : r.length) > 0 ? (L([...i.value, ...r]), A()) : L(i.value);
394
394
  }
395
395
  ), {
396
396
  onAllRowSelect: F,
397
- onRowSelect: d,
397
+ onRowSelect: u,
398
398
  onNestedRowSelect: O,
399
- onDeselectAll: R,
399
+ onDeselectAll: E,
400
400
  allItemsSelectedState: _,
401
401
  selectedItems: i,
402
402
  selectionState: x
@@ -405,123 +405,123 @@ const hs = (s, t) => {
405
405
  var i;
406
406
  return (i = s.value.find((_) => _.field === a)) == null ? void 0 : i.direction;
407
407
  }, sortByColumnField: (a) => {
408
- var g;
409
- if (!t.value.some((p) => p.field === a && p.sortable))
408
+ var d;
409
+ if (!t.value.some((C) => C.field === a && C.sortable))
410
410
  return;
411
411
  const _ = [{
412
412
  field: a,
413
- direction: ((g = s.value.find((p) => p.field === a)) == null ? void 0 : g.direction) === be.ASCENDING ? be.DESCENDING : be.ASCENDING
413
+ direction: ((d = s.value.find((C) => C.field === a)) == null ? void 0 : d.direction) === be.ASCENDING ? be.DESCENDING : be.ASCENDING
414
414
  }];
415
415
  n("sort", _);
416
416
  } });
417
417
  var oe = ((s) => (s[s.ARROW_DOWN = ce.ARROW_DOWN] = "ARROW_DOWN", s[s.ARROW_UP = ce.ARROW_UP] = "ARROW_UP", s[s.ARROW_LEFT = ce.ARROW_LEFT] = "ARROW_LEFT", s[s.ARROW_RIGHT = ce.ARROW_RIGHT] = "ARROW_RIGHT", s[s.PAGE_UP = ce.PAGE_UP] = "PAGE_UP", s[s.PAGE_DOWN = ce.PAGE_DOWN] = "PAGE_DOWN", s[s.END = ce.END] = "END", s[s.HOME = ce.HOME] = "HOME", s))(oe || {});
418
418
  const ye = "b-row-actions-column", Ds = (s, t, n, e, o, l) => {
419
- const a = v(() => l.value || e.value ? !0 : n.value.some((R) => R.infoIconTooltip || R.sortable)), i = v(() => {
420
- let R = n.value.filter(({ visible: d }) => d !== !1);
421
- return o.value && (R = [
422
- ...R,
419
+ const a = v(() => l.value || e.value ? !0 : n.value.some((E) => E.infoIconTooltip || E.sortable)), i = v(() => {
420
+ let E = n.value.filter(({ visible: u }) => u !== !1);
421
+ return o.value && (E = [
422
+ ...E,
423
423
  { field: ye, label: "" }
424
- ]), R;
425
- }), _ = v(() => i.value.length), g = v(() => {
424
+ ]), E;
425
+ }), _ = v(() => i.value.length), d = v(() => {
426
426
  if (!s.value)
427
427
  return [];
428
- const R = Object.keys(s.value)[0];
429
- if (!R || !s.value[R])
428
+ const E = Object.keys(s.value)[0];
429
+ if (!E || !s.value[E])
430
430
  return [];
431
- const d = [];
431
+ const u = [];
432
432
  if (a.value)
433
433
  for (const O of i.value) {
434
434
  const x = t.value[O.field];
435
- d.push(x);
435
+ u.push(x);
436
436
  }
437
- const y = s.value[R].length;
437
+ const y = s.value[E].length;
438
438
  for (let O = 0; O < y; O++)
439
439
  for (const x of i.value) {
440
440
  const r = s.value[x.field];
441
- r != null && r[O] && d.push(r[O]);
441
+ r != null && r[O] && u.push(r[O]);
442
442
  }
443
- return d;
444
- }), p = (R) => Math.floor(R / _.value), m = (R, d, y) => {
445
- const O = g.value.length - 1, x = _.value - 1, r = p(R), f = R - _.value * r;
443
+ return u;
444
+ }), C = (E) => Math.floor(E / _.value), m = (E, u, y) => {
445
+ const O = d.value.length - 1, x = _.value - 1, r = C(E), g = E - _.value * r;
446
446
  return {
447
- [oe.PAGE_UP]: f + (a.value ? _.value : 0),
448
- [oe.PAGE_DOWN]: O - x + f,
447
+ [oe.PAGE_UP]: g + (a.value ? _.value : 0),
448
+ [oe.PAGE_DOWN]: O - x + g,
449
449
  [oe.END]: y ? O : _.value * r + x,
450
450
  [oe.HOME]: y ? a.value ? _.value : 0 : _.value * r
451
- }[d];
452
- }, E = (R, d) => {
453
- const y = p(R), x = {
451
+ }[u];
452
+ }, S = (E, u) => {
453
+ const y = C(E), x = {
454
454
  [oe.ARROW_DOWN]: _.value,
455
455
  [oe.ARROW_UP]: y === 0 && !a.value ? 0 : -_.value,
456
456
  [oe.ARROW_LEFT]: -1,
457
457
  [oe.ARROW_RIGHT]: 1
458
- }[d], r = R + x;
459
- return r < 0 || r >= g.value.length ? R : r;
460
- }, b = (R) => [
458
+ }[u], r = E + x;
459
+ return r < 0 || r >= d.value.length ? E : r;
460
+ }, b = (E) => [
461
461
  oe.PAGE_UP,
462
462
  oe.PAGE_DOWN,
463
463
  oe.END,
464
464
  oe.HOME
465
- ].includes(R), u = (R, d, y) => {
466
- const O = g.value.indexOf(R);
467
- return b(d) ? m(O, d, y) : E(O, d);
468
- }, A = (R, d, y) => {
469
- if (!g.value.includes(R))
465
+ ].includes(E), f = (E, u, y) => {
466
+ const O = d.value.indexOf(E);
467
+ return b(u) ? m(O, u, y) : S(O, u);
468
+ }, A = (E, u, y) => {
469
+ if (!d.value.includes(E))
470
470
  return;
471
- const O = u(R, d, y);
472
- g.value[O].focus();
473
- }, L = (R) => R in oe;
471
+ const O = f(E, u, y);
472
+ d.value[O].focus();
473
+ }, L = (E) => E in oe;
474
474
  return {
475
475
  isNavigationKeyCode: L,
476
476
  focusOnNextGridcell: A,
477
- navigationInput: (R) => {
478
- const { ctrlKey: d, key: y, target: O } = R, x = y;
477
+ navigationInput: (E) => {
478
+ const { ctrlKey: u, key: y, target: O } = E, x = y;
479
479
  let r = O;
480
- r.getAttribute("role") !== "menuitem" && (g.value.includes(r) || (r = O.closest('[role="gridcell"], [role="columnheader"]')), g.value.includes(r) && L(x) && A(r, x, d));
480
+ r.getAttribute("role") !== "menuitem" && (d.value.includes(r) || (r = O.closest('[role="gridcell"], [role="columnheader"]')), d.value.includes(r) && L(x) && A(r, x, u));
481
481
  }
482
482
  };
483
483
  }, xs = 90, Fs = (s, t, n, e, o) => {
484
- const l = h(s), a = h(t), i = h(n), _ = h(e), g = v(() => l.value !== "none"), p = v(() => l.value === "automatic"), m = () => {
484
+ const l = p(s), a = p(t), i = p(n), _ = p(e), d = v(() => l.value !== "none"), C = v(() => l.value === "automatic"), m = () => {
485
485
  o(N.UPDATE_SHOW_MORE);
486
486
  };
487
487
  return ie(
488
488
  () => a.value,
489
489
  () => {
490
- p.value && i.value.offsetHeight / a.value * 100 > xs && !_.value && m();
490
+ C.value && i.value.offsetHeight / a.value * 100 > xs && !_.value && m();
491
491
  }
492
- ), { isLazyLoad: g, isInfiniteScroll: p, verticalScrollPosition: a, emitLazyLoadEvent: m };
492
+ ), { isLazyLoad: d, isInfiniteScroll: C, verticalScrollPosition: a, emitLazyLoadEvent: m };
493
493
  }, Bs = (s, t, n) => {
494
- const e = h(s), o = h(t), l = ze({
494
+ const e = p(s), o = p(t), l = ze({
495
495
  dragging: null,
496
496
  dragToLeft: null,
497
497
  target: null
498
- }), a = (b, u = 0) => {
499
- const A = e.value.findIndex((R) => R.field === b.field), L = A + u;
498
+ }), a = (b, f = 0) => {
499
+ const A = e.value.findIndex((E) => E.field === b.field), L = A + f;
500
500
  if (L < 0 || L > e.value.length - 1)
501
501
  return;
502
502
  const F = [...e.value];
503
503
  F.splice(L, 0, F.splice(A, 1)[0]), n(N.COLUMNS, F), n(N.UPDATE_COLUMNS, F);
504
- }, i = (b, u) => {
505
- l.dragging = b, u.dataTransfer.setData("text", ""), u.dataTransfer.dropEffect = "move";
506
- }, _ = (b, u) => {
504
+ }, i = (b, f) => {
505
+ l.dragging = b, f.dataTransfer.setData("text", ""), f.dataTransfer.dropEffect = "move";
506
+ }, _ = (b, f) => {
507
507
  l.target = b;
508
- const A = u.currentTarget.getBoundingClientRect(), L = A.left + A.width / 2, F = u.clientX ?? 0;
508
+ const A = f.currentTarget.getBoundingClientRect(), L = A.left + A.width / 2, F = f.clientX ?? 0;
509
509
  l.dragToLeft = F <= L;
510
- }, g = (b) => {
511
- var u, A;
512
- if (((u = l.dragging) == null ? void 0 : u.field) !== b.field) {
510
+ }, d = (b) => {
511
+ var f, A;
512
+ if (((f = l.dragging) == null ? void 0 : f.field) !== b.field) {
513
513
  const L = e.value.findIndex((x) => {
514
514
  var r;
515
515
  return x.field === ((r = l.dragging) == null ? void 0 : r.field);
516
- }), F = e.value.findIndex((x) => x.field === b.field), R = l.dragToLeft ? F : F + 1, d = R > L ? R - 1 : R;
516
+ }), F = e.value.findIndex((x) => x.field === b.field), E = l.dragToLeft ? F : F + 1, u = E > L ? E - 1 : E;
517
517
  let y = [...e.value];
518
518
  y.splice(
519
- d === -1 ? 0 : d,
519
+ u === -1 ? 0 : u,
520
520
  0,
521
521
  y.splice(L, 1)[0]
522
522
  );
523
523
  const O = e.value.findIndex((x) => !(x != null && x.frozen));
524
- ((A = l.dragging) == null ? void 0 : A.frozen) !== b.frozen && R !== O && (y = y.map(
524
+ ((A = l.dragging) == null ? void 0 : A.frozen) !== b.frozen && E !== O && (y = y.map(
525
525
  (x) => {
526
526
  var r;
527
527
  return ((r = l.dragging) == null ? void 0 : r.field) === x.field ? { ...x, frozen: !!(b != null && b.frozen) } : x;
@@ -529,22 +529,22 @@ const ye = "b-row-actions-column", Ds = (s, t, n, e, o, l) => {
529
529
  )), n(N.COLUMNS, y), n(N.UPDATE_COLUMNS, y);
530
530
  }
531
531
  l.dragging = null, l.target = null;
532
- }, p = () => {
532
+ }, C = () => {
533
533
  l.dragging = null, l.dragToLeft = null, l.target = null;
534
534
  }, m = v(() => o.value ? {
535
- [j.COLUMN_DRAG_START]: (b, u) => i(b, u),
536
- [j.COLUMN_DRAG_ENTER]: (b, u) => _(b, u),
537
- [j.COLUMN_DROP]: (b) => g(b),
538
- [j.COLUMN_DRAG_END]: () => p()
539
- } : {}), E = v(() => (b) => o.value ? {
540
- dragenter: (u) => {
541
- u.preventDefault(), _(b, u);
535
+ [j.COLUMN_DRAG_START]: (b, f) => i(b, f),
536
+ [j.COLUMN_DRAG_ENTER]: (b, f) => _(b, f),
537
+ [j.COLUMN_DROP]: (b) => d(b),
538
+ [j.COLUMN_DRAG_END]: () => C()
539
+ } : {}), S = v(() => (b) => o.value ? {
540
+ dragenter: (f) => {
541
+ f.preventDefault(), _(b, f);
542
542
  },
543
543
  drop: () => {
544
- g(b);
544
+ d(b);
545
545
  },
546
- dragover: (u) => {
547
- u.preventDefault();
546
+ dragover: (f) => {
547
+ f.preventDefault();
548
548
  }
549
549
  } : {});
550
550
  return {
@@ -552,85 +552,85 @@ const ye = "b-row-actions-column", Ds = (s, t, n, e, o, l) => {
552
552
  draggingColumns: l,
553
553
  // Methods
554
554
  draggingEventsForColumns: m,
555
- draggingEventsForRowCell: E,
555
+ draggingEventsForRowCell: S,
556
556
  onMoveColumnByOffset: a
557
557
  };
558
558
  }, Ps = (s, t, n) => {
559
- const e = h(s), o = h(t.value), l = v(
560
- () => [...e.value].sort((u, A) => u.frozen === A.frozen ? 0 : u.frozen ? -1 : 1)
559
+ const e = p(s), o = p(t.value), l = v(
560
+ () => [...e.value].sort((f, A) => f.frozen === A.frozen ? 0 : f.frozen ? -1 : 1)
561
561
  ), a = v(
562
- () => l.value.filter((u) => u.frozen && u.visible !== !1)
562
+ () => l.value.filter((f) => f.frozen && f.visible !== !1)
563
563
  ), i = v(
564
- () => l.value.filter((u) => !u.frozen && u.visible !== !1)
564
+ () => l.value.filter((f) => !f.frozen && f.visible !== !1)
565
565
  ), _ = v(
566
566
  () => [
567
567
  { columnSet: a.value, id: "frozen", isFrozenColumns: !0 },
568
568
  { columnSet: i.value, id: "unfrozen" }
569
- ].filter(({ columnSet: u }) => u.length)
570
- ), g = v(
571
- () => e.value.filter((u) => (u == null ? void 0 : u.visible) !== !1 && (u == null ? void 0 : u.field) !== le).length === 1
572
- ), p = (u) => n(N.UPDATE_CONDENSED, u), m = (u) => {
573
- o.value = u, n(N.UPDATE_ZEBRA_ROWS, u);
574
- }, E = (u) => {
575
- n(N.COLUMNS, u), n(N.UPDATE_COLUMNS, u);
576
- }, b = (u) => {
569
+ ].filter(({ columnSet: f }) => f.length)
570
+ ), d = v(
571
+ () => e.value.filter((f) => (f == null ? void 0 : f.visible) !== !1 && (f == null ? void 0 : f.field) !== le).length === 1
572
+ ), C = (f) => n(N.UPDATE_CONDENSED, f), m = (f) => {
573
+ o.value = f, n(N.UPDATE_ZEBRA_ROWS, f);
574
+ }, S = (f) => {
575
+ n(N.COLUMNS, f), n(N.UPDATE_COLUMNS, f);
576
+ }, b = (f) => {
577
577
  const A = l.value.map(
578
- (L) => (L == null ? void 0 : L.field) === u.field ? u : L
578
+ (L) => (L == null ? void 0 : L.field) === f.field ? f : L
579
579
  );
580
- E(A);
580
+ S(A);
581
581
  };
582
- return ie(t, (u) => {
583
- o.value = u;
582
+ return ie(t, (f) => {
583
+ o.value = f;
584
584
  }), {
585
585
  // Values
586
586
  columnSets: _,
587
- isOnlyOneVisibleColumn: g,
587
+ isOnlyOneVisibleColumn: d,
588
588
  internalZebraRows: o,
589
589
  sortedColumns: l,
590
590
  // Methods
591
- onConfigSettingsColumnsUpdate: E,
591
+ onConfigSettingsColumnsUpdate: S,
592
592
  onConfigSettingsColumnUpdate: b,
593
- onConfigSettingsCondensedUpdate: p,
593
+ onConfigSettingsCondensedUpdate: C,
594
594
  onConfigSettingsZebraRowsUpdate: m
595
595
  };
596
596
  }, Ms = (s, t, n, e, o, l, a) => {
597
- const i = h(0), _ = h(!1), g = h(!1);
598
- ie([() => i.value, () => l.value], ([u]) => {
599
- s.value.scrollLeft = u, t.value.scrollLeft = u, _.value = !!u, g.value = t.value.scrollWidth - t.value.offsetWidth > u;
597
+ const i = p(0), _ = p(!1), d = p(!1);
598
+ ie([() => i.value, () => l.value], ([f]) => {
599
+ s.value.scrollLeft = f, t.value.scrollLeft = f, _.value = !!f, d.value = t.value.scrollWidth - t.value.offsetWidth > f;
600
600
  }), Ee(async () => {
601
- var u, A;
602
- await ae(), ((u = t.value) == null ? void 0 : u.offsetWidth) < ((A = t.value) == null ? void 0 : A.scrollWidth) && (g.value = !0);
601
+ var f, A;
602
+ await ae(), ((f = t.value) == null ? void 0 : f.offsetWidth) < ((A = t.value) == null ? void 0 : A.scrollWidth) && (d.value = !0);
603
603
  });
604
- const p = (u) => {
605
- if (i.value = u.target.scrollLeft, n.value = s.value.scrollHeight - u.target.scrollTop, e != null && e.value) {
606
- const A = u.target.scrollLeft;
604
+ const C = (f) => {
605
+ if (i.value = f.target.scrollLeft, n.value = s.value.scrollHeight - f.target.scrollTop, e != null && e.value) {
606
+ const A = f.target.scrollLeft;
607
607
  e.value.scrollLeft !== A && (e.value.scrollLeft = A);
608
608
  }
609
- }, m = (u) => {
610
- u.key === "Tab" || u.key !== "ArrowRight" && u.key !== "ArrowLeft" || (u.preventDefault(), s.value.scrollLeft = 0, s.value.style.overflowX = "hidden", setTimeout(() => {
609
+ }, m = (f) => {
610
+ f.key === "Tab" || f.key !== "ArrowRight" && f.key !== "ArrowLeft" || (f.preventDefault(), s.value.scrollLeft = 0, s.value.style.overflowX = "hidden", setTimeout(() => {
611
611
  s.value && (s.value.style.overflowX = "auto");
612
612
  }));
613
- }, E = (u) => {
614
- const A = u.target.scrollLeft;
613
+ }, S = (f) => {
614
+ const A = f.target.scrollLeft;
615
615
  s.value.scrollLeft !== A && (s.value.scrollLeft = A);
616
616
  }, b = v(() => {
617
- var u, A, L, F;
618
- return (u = a == null ? void 0 : a.pagination) != null && u.value && ((A = a == null ? void 0 : a.stickyPagination) != null && A.value || a != null && a.isDataGridTemplate) && !((L = a == null ? void 0 : a.isLazyLoad) != null && L.value) ? { bottom: `${(((F = o.value) == null ? void 0 : F.clientHeight) ?? 0) + 1}px` } : {};
617
+ var f, A, L, F;
618
+ return (f = a == null ? void 0 : a.pagination) != null && f.value && ((A = a == null ? void 0 : a.stickyPagination) != null && A.value || a != null && a.isDataGridTemplate) && !((L = a == null ? void 0 : a.isLazyLoad) != null && L.value) ? { bottom: `${(((F = o.value) == null ? void 0 : F.clientHeight) ?? 0) + 1}px` } : {};
619
619
  });
620
620
  return {
621
621
  // Values
622
622
  scrollLeftPosition: i,
623
623
  hasLeftOverflow: _,
624
- hasRightOverflow: g,
624
+ hasRightOverflow: d,
625
625
  horizontalScrollbarConditionalStyles: b,
626
626
  // Methods
627
- updateScrollPosition: p,
627
+ updateScrollPosition: C,
628
628
  updateScrollPositionOnFrozenColumnsNavigation: m,
629
- syncVirtualScrollerWithBody: E
629
+ syncVirtualScrollerWithBody: S
630
630
  };
631
631
  }, Us = (s, t, n, e) => {
632
- const o = h(null), l = v(() => {
633
- var A, L, F, R;
632
+ const o = p(null), l = v(() => {
633
+ var A, L, F, E;
634
634
  if (!o.value || o.value.field === le)
635
635
  return {
636
636
  hoveredOverColumnField: "",
@@ -638,12 +638,12 @@ const ye = "b-row-actions-column", Ds = (s, t, n, e, o, l) => {
638
638
  noBorderLeft: !1,
639
639
  noBorderRight: !1
640
640
  };
641
- const a = (L = (A = s.value.find((d) => d.isFrozenColumns)) == null ? void 0 : A.columnSet) == null ? void 0 : L.filter((d) => d.field !== le), i = s.value.find((d) => !(d != null && d.isFrozenColumns)), _ = o.value.frozen && (a == null ? void 0 : a[0].field) === o.value.field, g = !o.value.frozen && ((F = i == null ? void 0 : i.columnSet) == null ? void 0 : F[0].field) === o.value.field, p = (t.value || n.value) && _, m = (t.value || n.value) && !a && g, E = a && g, b = (a == null ? void 0 : a.length) > 0 && o.value.frozen && (a == null ? void 0 : a[a.length - 1].field) === o.value.field, u = n.value && e.value && !o.value.frozen && ((R = i == null ? void 0 : i.columnSet) == null ? void 0 : R[i.columnSet.length - 1].field) === o.value.field;
641
+ const a = (L = (A = s.value.find((u) => u.isFrozenColumns)) == null ? void 0 : A.columnSet) == null ? void 0 : L.filter((u) => u.field !== le), i = s.value.find((u) => !(u != null && u.isFrozenColumns)), _ = o.value.frozen && (a == null ? void 0 : a[0].field) === o.value.field, d = !o.value.frozen && ((F = i == null ? void 0 : i.columnSet) == null ? void 0 : F[0].field) === o.value.field, C = (t.value || n.value) && _, m = (t.value || n.value) && !a && d, S = a && d, b = (a == null ? void 0 : a.length) > 0 && o.value.frozen && (a == null ? void 0 : a[a.length - 1].field) === o.value.field, f = n.value && e.value && !o.value.frozen && ((E = i == null ? void 0 : i.columnSet) == null ? void 0 : E[i.columnSet.length - 1].field) === o.value.field;
642
642
  return {
643
643
  hoveredOverColumnField: o.value.field,
644
- isSeparatorOffset: u,
645
- noBorderLeft: !!p || !!m || !!E,
646
- noBorderRight: !!b || !!u
644
+ isSeparatorOffset: f,
645
+ noBorderLeft: !!C || !!m || !!S,
646
+ noBorderRight: !!b || !!f
647
647
  };
648
648
  });
649
649
  return {
@@ -659,42 +659,49 @@ const ye = "b-row-actions-column", Ds = (s, t, n, e, o, l) => {
659
659
  return n.forEach((e) => e.node.setAttribute("tabindex", "-1")), n;
660
660
  }, Ut = (s) => {
661
661
  (s == null ? void 0 : s.length) > 0 && s.forEach((t) => t == null ? void 0 : t.node.setAttribute("tabindex", "0"));
662
- }, $s = () => {
663
- const s = window.getSelection().getRangeAt(0).cloneContents(), t = s.querySelectorAll('[role="row"]');
664
- let n = "<table>", e = "";
665
- const o = (l) => {
666
- l.forEach((a) => {
667
- const i = a.closest("[role]").getAttribute("role") === "gridcell" ? "td" : "th", _ = a.textContent.trim();
668
- _ && (n += `<${i}>${_}</${i}>`, e += `${_} `);
662
+ }, $s = (s) => {
663
+ var _;
664
+ const t = window.getSelection();
665
+ if (!t || !t.rangeCount)
666
+ return;
667
+ const n = t.getRangeAt(0).cloneContents(), e = (_ = n.textContent) == null ? void 0 : _.trim();
668
+ if (!e)
669
+ return;
670
+ const o = n.querySelectorAll('[role="row"]');
671
+ let l = "<table>", a = "";
672
+ const i = (d) => {
673
+ d.forEach((C) => {
674
+ const m = C.closest("[role]").getAttribute("role") === "gridcell" ? "td" : "th", S = C.textContent.trim();
675
+ S && (l += `<${m}>${S}</${m}>`, a += `${S} `);
669
676
  });
670
677
  };
671
- if (!t.length) {
672
- const l = s.querySelectorAll(
678
+ if (!o.length) {
679
+ const d = n.querySelectorAll(
673
680
  '[role="gridcell"] > .b-typography:first-of-type, [role="columnheader"] .b-typography'
674
681
  );
675
- if (l.length)
676
- n += "<tr>", o(l), n += "</tr>";
682
+ if (d.length)
683
+ l += "<tr>", i(d), l += "</tr>";
677
684
  else {
678
- navigator.clipboard.writeText(s.textContent);
685
+ s == null || s.preventDefault(), navigator.clipboard.writeText(e);
679
686
  return;
680
687
  }
681
688
  }
682
- t.forEach((l) => {
683
- const a = l.querySelectorAll(
689
+ o.forEach((d) => {
690
+ const C = d.querySelectorAll(
684
691
  '[role="gridcell"] > .b-typography:first-of-type, [role="columnheader"] .b-typography'
685
692
  );
686
- if (n += "<tr>", a.length)
687
- o(a);
693
+ if (l += "<tr>", C.length)
694
+ i(C);
688
695
  else {
689
- const i = l.textContent.trim();
690
- n += `<td>${i}</td>`, e += `${i} `;
696
+ const m = d.textContent.trim();
697
+ l += `<td>${m}</td>`, a += `${m} `;
691
698
  }
692
- n += "</tr>", e += `
699
+ l += "</tr>", a += `
693
700
  `;
694
- }), n += "</table>", navigator.clipboard.write([
701
+ }), l += "</table>", s == null || s.preventDefault(), navigator.clipboard.write([
695
702
  new ClipboardItem({
696
- "text/html": new Blob([n], { type: "text/html" }),
697
- "text/plain": new Blob([e || s.textContent.trim()], { type: "text/plain" })
703
+ "text/html": new Blob([l], { type: "text/html" }),
704
+ "text/plain": new Blob([a || e], { type: "text/plain" })
698
705
  })
699
706
  ]);
700
707
  };
@@ -1002,7 +1009,7 @@ const co = ro.exports, uo = {
1002
1009
  },
1003
1010
  emits: ["sort", "column-hover"],
1004
1011
  setup(s, { expose: t, emit: n }) {
1005
- const e = s, o = 100, { t: l } = he(), { columns: a, sortBy: i } = ke(e), _ = h(), g = h({}), p = h({}), m = h(), E = h(), b = (c) => n(j.SELECT_ALL_ROWS, c), u = (c) => c.field === le, A = v(() => e.selectionState === "all"), L = v(
1012
+ const e = s, o = 100, { t: l } = he(), { columns: a, sortBy: i } = ke(e), _ = p(), d = p({}), C = p({}), m = p(), S = p(), b = (c) => n(j.SELECT_ALL_ROWS, c), f = (c) => c.field === le, A = v(() => e.selectionState === "all"), L = v(
1006
1013
  () => {
1007
1014
  var c, U, X;
1008
1015
  return [
@@ -1041,7 +1048,7 @@ const co = ro.exports, uo = {
1041
1048
  }
1042
1049
  ].filter(Boolean);
1043
1050
  }
1044
- ), { startResize: F, isResizing: R, columnHoverEventToEmitAfterResizing: d } = hs(a, n), { isSorting: y, getSortingDirection: O, sortByColumnField: x } = Is(i, a, n), r = (c) => {
1051
+ ), { startResize: F, isResizing: E, columnHoverEventToEmitAfterResizing: u } = hs(a, n), { isSorting: y, getSortingDirection: O, sortByColumnField: x } = Is(i, a, n), r = (c) => {
1045
1052
  var ne;
1046
1053
  if (!c.sortable)
1047
1054
  return null;
@@ -1050,7 +1057,7 @@ const co = ro.exports, uo = {
1050
1057
  [be.ASCENDING]: Ie.ASCENDING,
1051
1058
  [be.DESCENDING]: Ie.DESCENDING
1052
1059
  }[U] : Ie.NONE;
1053
- }, f = v(() => (c) => e.hasDraggableColumns ? {
1060
+ }, g = v(() => (c) => e.hasDraggableColumns ? {
1054
1061
  dragstart: (U) => {
1055
1062
  n(j.COLUMN_DRAG_START, c, U);
1056
1063
  },
@@ -1066,7 +1073,7 @@ const co = ro.exports, uo = {
1066
1073
  dragend: () => {
1067
1074
  n(j.COLUMN_DRAG_END);
1068
1075
  }
1069
- } : {}), S = v(
1076
+ } : {}), R = v(
1070
1077
  () => (c) => [
1071
1078
  {
1072
1079
  text: l("moveColumnLeft"),
@@ -1098,39 +1105,39 @@ const co = ro.exports, uo = {
1098
1105
  }
1099
1106
  ].filter(Boolean)
1100
1107
  ), T = (c) => {
1101
- m.value = c.field, E.value && clearTimeout(E.value);
1108
+ m.value = c.field, S.value && clearTimeout(S.value);
1102
1109
  }, B = (c) => {
1103
1110
  const U = setTimeout(() => {
1104
1111
  c.field === m.value && (m.value = "");
1105
1112
  }, o);
1106
- E.value = U;
1113
+ S.value = U;
1107
1114
  }, P = (c) => {
1108
1115
  let U = {
1109
1116
  mouseenter: () => {
1110
- T(c), R.value ? d.value = c : n("column-hover", c);
1117
+ T(c), E.value ? u.value = c : n("column-hover", c);
1111
1118
  },
1112
1119
  mouseleave: () => {
1113
- B(c), R.value ? d.value = null : n("column-hover", null);
1120
+ B(c), E.value ? u.value = null : n("column-hover", null);
1114
1121
  },
1115
1122
  focus: () => {
1116
- T(c), u(c) && je(g.value[c.field]);
1123
+ T(c), f(c) && je(d.value[c.field]);
1117
1124
  },
1118
1125
  focusout: (X) => {
1119
1126
  var ne;
1120
1127
  (ne = _.value) != null && ne.contains(X == null ? void 0 : X.relatedTarget) || B(c);
1121
1128
  }
1122
1129
  };
1123
- return u(c) || (U = {
1130
+ return f(c) || (U = {
1124
1131
  ...U,
1125
- ...f.value(c)
1132
+ ...g.value(c)
1126
1133
  }), U;
1127
1134
  }, k = (c) => c.infoIconTooltip || c.sortable || e.hasColumnPanel, K = (c, U) => {
1128
1135
  var X;
1129
- ((X = g.value) == null ? void 0 : X[U]) === void 0 && (g.value = { ...g.value, [U]: null }), c !== null && (g.value[U] = c);
1136
+ ((X = d.value) == null ? void 0 : X[U]) === void 0 && (d.value = { ...d.value, [U]: null }), c !== null && (d.value[U] = c);
1130
1137
  }, Y = _e(
1131
1138
  Te,
1132
1139
  v(() => !1)
1133
- ), ee = _e(xe, h(!1)), G = v(() => {
1140
+ ), ee = _e(xe, p(!1)), G = v(() => {
1134
1141
  var U;
1135
1142
  const c = {
1136
1143
  "b-data-grid-columns--is-measuring": e.isMeasuringColumnWidths
@@ -1147,7 +1154,7 @@ const co = ro.exports, uo = {
1147
1154
  }), M = v(() => ({
1148
1155
  "b-data-grid-columns__select-column--all": e.selectableAcrossPages
1149
1156
  })), w = (c, U) => c && U === 0 ? dt.BOTTOM_START : dt.BOTTOM_END, W = (c, U) => {
1150
- var X, ne, pe, Re, C, I, H, te, se, Z;
1157
+ var X, ne, pe, Re, h, I, H, te, se, Z;
1151
1158
  return {
1152
1159
  "b-data-grid-columns__column--column-hovered": c.field === e.hoveredOverColumnState.hoveredOverColumnField,
1153
1160
  "b-data-grid-columns__column--column-hovered-no-border-left": c.field === e.hoveredOverColumnState.hoveredOverColumnField && e.hoveredOverColumnState.noBorderLeft,
@@ -1159,7 +1166,7 @@ const co = ro.exports, uo = {
1159
1166
  "b-data-grid-columns__column--numeric": c == null ? void 0 : c.numeric,
1160
1167
  "b-data-grid-columns__column--frozen": c == null ? void 0 : c.frozen,
1161
1168
  "b-data-grid-columns__column--is-re-ordering": (c == null ? void 0 : c.field) === ((Re = (pe = e.draggingColumns) == null ? void 0 : pe.dragging) == null ? void 0 : Re.field),
1162
- "b-data-grid-columns__column--is-re-ordering-target-left": (c == null ? void 0 : c.field) === ((I = (C = e.draggingColumns) == null ? void 0 : C.target) == null ? void 0 : I.field) && ((H = e.draggingColumns) == null ? void 0 : H.dragToLeft),
1169
+ "b-data-grid-columns__column--is-re-ordering-target-left": (c == null ? void 0 : c.field) === ((I = (h = e.draggingColumns) == null ? void 0 : h.target) == null ? void 0 : I.field) && ((H = e.draggingColumns) == null ? void 0 : H.dragToLeft),
1163
1170
  "b-data-grid-columns__column--is-re-ordering-target-right": (c == null ? void 0 : c.field) === ((se = (te = e.draggingColumns) == null ? void 0 : te.target) == null ? void 0 : se.field) && !((Z = e.draggingColumns) != null && Z.dragToLeft),
1164
1171
  "b-data-grid-columns__column--with-sorting-or-column-panel": c.sortable || c.infoIconTooltip || e.hasColumnPanel || e.selectableAcrossPages,
1165
1172
  "b-data-grid-columns--small-container": Y.value
@@ -1177,8 +1184,8 @@ const co = ro.exports, uo = {
1177
1184
  "b-data-grid-columns__menu--hovered": m.value === c.field || ee.value
1178
1185
  });
1179
1186
  return t({
1180
- columnHeaderRefs: g
1181
- }), { __sfc: !0, props: e, emit: n, CLOSING_CONTEXTUAL_MENU_DELAY_MS: o, t: l, columns: a, sortBy: i, allColumnsRef: _, columnHeaderRefs: g, contextMenuRef: p, hoveredColumnField: m, closingTimeOutId: E, onAllRowSelect: b, isActionsColumn: u, isAllSelectionState: A, selectAllMenu: L, startResize: F, isResizing: R, columnHoverEventToEmitAfterResizing: d, isSorting: y, getSortingDirection: O, sortByColumnField: x, getSortingColumnDirection: r, draggingEventsForColumn: f, contextualMenuData: S, showContextualMenu: T, hideContextualMenu: B, dataGridColumnEvents: P, hasColumnActions: k, registerColumnsRefs: K, isSmallContainer: Y, isTouchDevice: ee, conditionalColumnsClasses: G, conditionalSelectColumnClasses: M, computeMenuPosition: w, conditionalColumnClasses: W, conditionalColumnHeaderAndActionsClasses: $, conditionalColumnActionsClasses: z, conditionalColumnSeparatorClasses: ve, conditionalColumnHeaderClasses: me, conditionalColumnMenuClasses: re, BentoCheckbox: Dt, BentoDatagridSortDirection: be, BentoTypography: Se, DATAGRID_ROW_ACTIONS_COLUMN_FIELD_NAME: ye, BentoInfoIcon: rs, DatagridColumnsEvent: j, BentoMenu: Ft, BentoToggleButton: Ze, DecorativeCheckbox: cs, ArrowUpAndDownSortIcon: Hs, SortAscendingIcon: Qs, SortDescendingIcon: oo, TriangleDown: co };
1187
+ columnHeaderRefs: d
1188
+ }), { __sfc: !0, props: e, emit: n, CLOSING_CONTEXTUAL_MENU_DELAY_MS: o, t: l, columns: a, sortBy: i, allColumnsRef: _, columnHeaderRefs: d, contextMenuRef: C, hoveredColumnField: m, closingTimeOutId: S, onAllRowSelect: b, isActionsColumn: f, isAllSelectionState: A, selectAllMenu: L, startResize: F, isResizing: E, columnHoverEventToEmitAfterResizing: u, isSorting: y, getSortingDirection: O, sortByColumnField: x, getSortingColumnDirection: r, draggingEventsForColumn: g, contextualMenuData: R, showContextualMenu: T, hideContextualMenu: B, dataGridColumnEvents: P, hasColumnActions: k, registerColumnsRefs: K, isSmallContainer: Y, isTouchDevice: ee, conditionalColumnsClasses: G, conditionalSelectColumnClasses: M, computeMenuPosition: w, conditionalColumnClasses: W, conditionalColumnHeaderAndActionsClasses: $, conditionalColumnActionsClasses: z, conditionalColumnSeparatorClasses: ve, conditionalColumnHeaderClasses: me, conditionalColumnMenuClasses: re, BentoCheckbox: Dt, BentoDatagridSortDirection: be, BentoTypography: Se, DATAGRID_ROW_ACTIONS_COLUMN_FIELD_NAME: ye, BentoInfoIcon: rs, DatagridColumnsEvent: j, BentoMenu: Ft, BentoToggleButton: Ze, DecorativeCheckbox: cs, ArrowUpAndDownSortIcon: Hs, SortAscendingIcon: Qs, SortDescendingIcon: oo, TriangleDown: co };
1182
1189
  }
1183
1190
  });
1184
1191
  var _o = function() {
@@ -1267,12 +1274,12 @@ const So = bo.exports, Ro = {
1267
1274
  },
1268
1275
  emits: ["visible-column", "updated-column"],
1269
1276
  setup(s, { emit: t }) {
1270
- const { t: n } = he(), e = h(!1), o = v(() => {
1271
- var E;
1272
- return (E = s.column) == null ? void 0 : E.frozen;
1277
+ const { t: n } = he(), e = p(!1), o = v(() => {
1278
+ var S;
1279
+ return (S = s.column) == null ? void 0 : S.frozen;
1273
1280
  }), l = v(() => {
1274
- var E;
1275
- return ((E = s.column) == null ? void 0 : E.visible) !== !1;
1281
+ var S;
1282
+ return ((S = s.column) == null ? void 0 : S.visible) !== !1;
1276
1283
  }), a = _e(
1277
1284
  Te,
1278
1285
  v(() => !1)
@@ -1280,9 +1287,9 @@ const So = bo.exports, Ro = {
1280
1287
  t("visible-column", { ...s.column, visible: !l.value });
1281
1288
  }, _ = () => {
1282
1289
  t("updated-column", { ...s.column, frozen: !o.value });
1283
- }, g = () => {
1290
+ }, d = () => {
1284
1291
  o.value || (e.value = !0);
1285
- }, p = () => {
1292
+ }, C = () => {
1286
1293
  o.value || (e.value = !1);
1287
1294
  }, m = v(() => ({
1288
1295
  "b-data-grid-config-settings-column-row__freeze-icon--frozen": o.value
@@ -1296,8 +1303,8 @@ const So = bo.exports, Ro = {
1296
1303
  isSmallContainer: a,
1297
1304
  // Methods
1298
1305
  toggleColumnVisibility: i,
1299
- showFreezeIcon: g,
1300
- hideFreezeIcon: p,
1306
+ showFreezeIcon: d,
1307
+ hideFreezeIcon: C,
1301
1308
  toggleColumnFreeze: _,
1302
1309
  // Translations
1303
1310
  t: n
@@ -1414,40 +1421,40 @@ const To = yo.exports, Oo = {
1414
1421
  fe.UPDATE_ZEBRA_ROWS
1415
1422
  ],
1416
1423
  setup(s, { emit: t }) {
1417
- const { t: n } = he(), e = h(null), o = De("data-grid-config-settings-popover"), l = h(null), a = h(!1), i = h(!0), _ = h(null), g = h(""), p = Ue(s, "columns"), m = h(!1), E = vs(g, p), b = () => {
1418
- g.value = "";
1419
- }, u = v(
1420
- () => !s.columns.some((f) => f.visible === !1 && !f.mandatory)
1424
+ const { t: n } = he(), e = p(null), o = De("data-grid-config-settings-popover"), l = p(null), a = p(!1), i = p(!0), _ = p(null), d = p(""), C = Ue(s, "columns"), m = p(!1), S = vs(d, C), b = () => {
1425
+ d.value = "";
1426
+ }, f = v(
1427
+ () => !s.columns.some((g) => g.visible === !1 && !g.mandatory)
1421
1428
  ), A = () => {
1422
1429
  b(), m.value = !m.value, m.value ? ae(() => {
1423
- var f;
1424
- return (f = l.value.$refs.bentoInputField) == null ? void 0 : f.focusInput();
1430
+ var g;
1431
+ return (g = l.value.$refs.bentoInputField) == null ? void 0 : g.focusInput();
1425
1432
  }) : ae(() => {
1426
- var f, S;
1427
- return (S = (f = _ == null ? void 0 : _.value) == null ? void 0 : f.$el) == null ? void 0 : S.focus();
1428
- }), i.value = u.value;
1429
- }, L = (f) => f.mandatory ?? !1, F = (f) => {
1430
- const S = s.columns.map((T) => ({
1433
+ var g, R;
1434
+ return (R = (g = _ == null ? void 0 : _.value) == null ? void 0 : g.$el) == null ? void 0 : R.focus();
1435
+ }), i.value = f.value;
1436
+ }, L = (g) => g.mandatory ?? !1, F = (g) => {
1437
+ const R = s.columns.map((T) => ({
1431
1438
  ...T,
1432
- visible: f.field === T.field ? f.visible : T.visible
1439
+ visible: g.field === T.field ? g.visible : T.visible
1433
1440
  }));
1434
- t(fe.UPDATE_COLUMNS, S);
1435
- }, R = (f) => {
1436
- f ? t(
1441
+ t(fe.UPDATE_COLUMNS, R);
1442
+ }, E = (g) => {
1443
+ g ? t(
1437
1444
  fe.UPDATE_COLUMNS,
1438
- s.columns.map((S) => ({ ...S, visible: !0 }))
1445
+ s.columns.map((R) => ({ ...R, visible: !0 }))
1439
1446
  ) : t(
1440
1447
  fe.UPDATE_COLUMNS,
1441
- s.columns.map((S) => ({ ...S, visible: (S == null ? void 0 : S.mandatory) === !0 }))
1448
+ s.columns.map((R) => ({ ...R, visible: (R == null ? void 0 : R.mandatory) === !0 }))
1442
1449
  );
1443
- }, d = (f) => {
1444
- const S = s.columns.map((T) => ({
1450
+ }, u = (g) => {
1451
+ const R = s.columns.map((T) => ({
1445
1452
  ...T,
1446
- frozen: f.field === T.field ? !!(f != null && f.frozen) : !!(T != null && T.frozen)
1453
+ frozen: g.field === T.field ? !!(g != null && g.frozen) : !!(T != null && T.frozen)
1447
1454
  }));
1448
- t(fe.UPDATE_COLUMNS, S);
1449
- }, y = (f) => {
1450
- a.value = f, i.value = u.value;
1455
+ t(fe.UPDATE_COLUMNS, R);
1456
+ }, y = (g) => {
1457
+ a.value = g, i.value = f.value;
1451
1458
  };
1452
1459
  return {
1453
1460
  // Values
@@ -1455,23 +1462,23 @@ const To = yo.exports, Oo = {
1455
1462
  popoverId: o,
1456
1463
  isConfigSettingsPanelOpen: a,
1457
1464
  allColumnsVisbilityToggleState: i,
1458
- filteredColumnVisibilityColumns: E,
1459
- searchTerm: g,
1465
+ filteredColumnVisibilityColumns: S,
1466
+ searchTerm: d,
1460
1467
  isColumnVisibilityFilterShown: m,
1461
1468
  searchBarRef: l,
1462
1469
  searchButtonRef: _,
1463
1470
  DATAGRID_ACTIONS_COLUMN_FIELD_NAME: le,
1464
1471
  // Methods
1465
1472
  setConfigSettingsPanelVisibility: y,
1466
- emitCondensedToggle: (f) => t(fe.UPDATE_CONDENSED, f),
1467
- toggleAllColumnVisibility: R,
1473
+ emitCondensedToggle: (g) => t(fe.UPDATE_CONDENSED, g),
1474
+ toggleAllColumnVisibility: E,
1468
1475
  clearAction: b,
1469
1476
  toggleColumnFilter: A,
1470
1477
  emitVisibleColumns: F,
1471
- emitFrozenColumns: d,
1478
+ emitFrozenColumns: u,
1472
1479
  onClickOutside: () => y(!1),
1473
1480
  isColumnVisibilityToggleDisabled: L,
1474
- emitZebraRowsToggle: (f) => t(fe.UPDATE_ZEBRA_ROWS, f),
1481
+ emitZebraRowsToggle: (g) => t(fe.UPDATE_ZEBRA_ROWS, g),
1475
1482
  // Translations
1476
1483
  t: n
1477
1484
  };
@@ -1678,10 +1685,10 @@ const Rt = Ho.exports, Vo = {
1678
1685
  },
1679
1686
  emits: ["menu-open", "menu-close", "menu-item-click"],
1680
1687
  setup(s, { emit: t }) {
1681
- const n = s, { t: e } = he(), o = _e(xe, h(!1)), l = (d) => {
1682
- if ("text" in d && d.text !== void 0)
1683
- return d.text;
1684
- switch (d.variant) {
1688
+ const n = s, { t: e } = he(), o = _e(xe, p(!1)), l = (u) => {
1689
+ if ("text" in u && u.text !== void 0)
1690
+ return u.text;
1691
+ switch (u.variant) {
1685
1692
  case "copy":
1686
1693
  return e("copy");
1687
1694
  case "edit":
@@ -1691,10 +1698,10 @@ const Rt = Ho.exports, Vo = {
1691
1698
  case "more":
1692
1699
  return e("more");
1693
1700
  default:
1694
- return d.title;
1701
+ return u.title;
1695
1702
  }
1696
- }, a = (d) => {
1697
- switch (d.variant) {
1703
+ }, a = (u) => {
1704
+ switch (u.variant) {
1698
1705
  case "copy":
1699
1706
  return ct;
1700
1707
  case "edit":
@@ -1709,21 +1716,21 @@ const Rt = Ho.exports, Vo = {
1709
1716
  "b-data-grid-cell-actions__background-gradient--zebra": n.hasZebraBackground,
1710
1717
  "b-data-grid-cell-actions__background-gradient--highlighted": n.isHighlighted,
1711
1718
  "b-data-grid-cell-actions__background-gradient--selected": n.isSelected
1712
- })), g = v(() => ({
1719
+ })), d = v(() => ({
1713
1720
  "b-data-grid-cell-actions__actions--with-row-actions": i.value,
1714
1721
  "b-data-grid-cell-actions__actions--zebra": n.hasZebraBackground,
1715
1722
  "b-data-grid-cell-actions__actions--highlighted": n.isHighlighted,
1716
1723
  "b-data-grid-cell-actions__actions--selected": n.isSelected
1717
- })), p = v(() => !i.value || i.value && n.hasRightOverflow);
1718
- function m(d) {
1719
- return typeof d == "function";
1724
+ })), C = v(() => !i.value || i.value && n.hasRightOverflow);
1725
+ function m(u) {
1726
+ return typeof u == "function";
1720
1727
  }
1721
- const E = v(() => {
1728
+ const S = v(() => {
1722
1729
  var y;
1723
- const d = m(n.cellActions) ? (y = n.cellActions) == null ? void 0 : y.call(n, n.rowDataItem, n.columnKey) : n.cellActions;
1724
- if (o.value && !i.value && d) {
1730
+ const u = m(n.cellActions) ? (y = n.cellActions) == null ? void 0 : y.call(n, n.rowDataItem, n.columnKey) : n.cellActions;
1731
+ if (o.value && !i.value && u) {
1725
1732
  const O = [];
1726
- return d.forEach((x) => {
1733
+ return u.forEach((x) => {
1727
1734
  x.menuData ? x.menuData.forEach((r) => {
1728
1735
  O.push(r);
1729
1736
  }) : O.push({
@@ -1742,12 +1749,12 @@ const Rt = Ho.exports, Vo = {
1742
1749
  }
1743
1750
  ];
1744
1751
  }
1745
- return !o.value && (d == null ? void 0 : d.length) > 2 && It(
1752
+ return !o.value && (u == null ? void 0 : u.length) > 2 && It(
1746
1753
  "WARNING: BentoDataGrid Cell actions can only have a maximum of 2 actions, if you need more consider using the menuData property instead."
1747
- ), d == null ? void 0 : d.slice(0, 2);
1748
- }), b = v(() => (d, y) => {
1749
- if (!(!y && d.isShort || y && !d.isShort))
1750
- switch (d.variant) {
1754
+ ), u == null ? void 0 : u.slice(0, 2);
1755
+ }), b = v(() => (u, y) => {
1756
+ if (!(!y && u.isShort || y && !u.isShort))
1757
+ switch (u.variant) {
1751
1758
  case "copy":
1752
1759
  return e("copy");
1753
1760
  case "edit":
@@ -1757,25 +1764,25 @@ const Rt = Ho.exports, Vo = {
1757
1764
  case "more":
1758
1765
  return e("more");
1759
1766
  default:
1760
- return d.title;
1767
+ return u.title;
1761
1768
  }
1762
- }), u = (d) => (d == null ? void 0 : d.event) !== void 0 ? {
1769
+ }), f = (u) => (u == null ? void 0 : u.event) !== void 0 ? {
1763
1770
  click: (y) => {
1764
- y.stopPropagation(), d.event(n.rowDataItem, n.columnKey);
1771
+ y.stopPropagation(), u.event(n.rowDataItem, n.columnKey);
1765
1772
  }
1766
- } : {}, A = (d) => ({
1767
- ...d,
1773
+ } : {}, A = (u) => ({
1774
+ ...u,
1768
1775
  handler: () => {
1769
- d != null && d.handler && typeof d.handler == "function" && (d == null || d.handler()), d != null && d.event && typeof d.event == "function" && (d == null || d.event(n.rowDataItem, n.columnKey));
1776
+ u != null && u.handler && typeof u.handler == "function" && (u == null || u.handler()), u != null && u.event && typeof u.event == "function" && (u == null || u.event(n.rowDataItem, n.columnKey));
1770
1777
  }
1771
- }), L = (d) => d.map((y) => {
1778
+ }), L = (u) => u.map((y) => {
1772
1779
  const O = y;
1773
1780
  return O != null && O.items && (O.items = L(O.items)), { ...A(O) };
1774
1781
  });
1775
- return { __sfc: !0, t: e, props: n, emit: t, isTouchDevice: o, getMenuItemText: l, getMenuItemIcon: a, isRowActions: i, conditionalCellActionsBackgroundGradientClasses: _, conditionalCellActionsClasses: g, showGradientElement: p, isBentoColumnCellActionsByCellValueDataFn: m, computedCellActions: E, getButtonTitle: b, generateButtonEvents: u, generateMenuEvents: A, transformMenuEvents: L, getCopyText: (d) => {
1782
+ return { __sfc: !0, t: e, props: n, emit: t, isTouchDevice: o, getMenuItemText: l, getMenuItemIcon: a, isRowActions: i, conditionalCellActionsBackgroundGradientClasses: _, conditionalCellActionsClasses: d, showGradientElement: C, isBentoColumnCellActionsByCellValueDataFn: m, computedCellActions: S, getButtonTitle: b, generateButtonEvents: f, generateMenuEvents: A, transformMenuEvents: L, getCopyText: (u) => {
1776
1783
  var y, O;
1777
- return (d == null ? void 0 : d.getCopyData) !== void 0 ? d.getCopyData(n.rowDataItem, n.columnKey) : n.columnKey ? (O = (y = n.rowDataItem) == null ? void 0 : y[n.columnKey]) == null ? void 0 : O.toString() : "";
1778
- }, shouldShowMenuIconLeft: (d) => d.iconLeft || (d == null ? void 0 : d.variant) === "more", BentoButton: xt, BentoMenu: Ft, Copy: ct, vBentoTooltipDirective: Nt, Edit1Icon: Rt, ExternalLinkIcon: rt, OptionsVerticalIcon: it };
1784
+ return (u == null ? void 0 : u.getCopyData) !== void 0 ? u.getCopyData(n.rowDataItem, n.columnKey) : n.columnKey ? (O = (y = n.rowDataItem) == null ? void 0 : y[n.columnKey]) == null ? void 0 : O.toString() : "";
1785
+ }, shouldShowMenuIconLeft: (u) => u.iconLeft || (u == null ? void 0 : u.variant) === "more", BentoButton: xt, BentoMenu: Ft, Copy: ct, vBentoTooltipDirective: Nt, Edit1Icon: Rt, ExternalLinkIcon: rt, OptionsVerticalIcon: it };
1779
1786
  }
1780
1787
  });
1781
1788
  var qo = function() {
@@ -1982,7 +1989,7 @@ const Et = () => {
1982
1989
  },
1983
1990
  emits: ["on-frozen-columns-key-press", "select-row", "register-row-cell-element", "cell-hovered", "nested-content-toggled", "cell-focus"],
1984
1991
  setup(s, { expose: t, emit: n }) {
1985
- const e = s, o = We(), l = He(o), { t: a } = he(), i = h(null), _ = h(null), g = h(!1), p = h([]), m = h(!1), E = h(), b = h(!1), u = v(() => {
1992
+ const e = s, o = We(), l = He(o), { t: a } = he(), i = p(null), _ = p(null), d = p(!1), C = p([]), m = p(!1), S = p(), b = p(!1), f = v(() => {
1986
1993
  var w;
1987
1994
  return !!((w = e.rowData) != null && w[e.column.field]);
1988
1995
  }), A = v(
@@ -1992,12 +1999,12 @@ const Et = () => {
1992
1999
  }
1993
2000
  ), L = v(
1994
2001
  () => e.column.field === le && !e.selectable && !e.nestedContent
1995
- ), F = v(() => !L.value && (x(e.rowIndex, e.colIndex, e.columnSetIndex) === 0 && !b.value || m.value) ? "0" : (e.column.field === le, "-1")), R = (w, W) => (w == null ? void 0 : w.overflow) === $e.ELLIPSIS ? `${W}` : void 0, d = (w) => w ?? "-", y = (w) => e.columnSets.slice(0, w).reduce((W, { columnSet: $ }) => W + $.length, 0), O = (w, W) => w + y(W), x = (w, W, $) => y() * w + O(W, $), r = (w) => {
2002
+ ), F = v(() => !L.value && (x(e.rowIndex, e.colIndex, e.columnSetIndex) === 0 && !b.value || m.value) ? "0" : (e.column.field === le, "-1")), E = (w, W) => (w == null ? void 0 : w.overflow) === $e.ELLIPSIS ? `${W}` : void 0, u = (w) => w ?? "-", y = (w) => e.columnSets.slice(0, w).reduce((W, { columnSet: $ }) => W + $.length, 0), O = (w, W) => w + y(W), x = (w, W, $) => y() * w + O(W, $), r = (w) => {
1996
2003
  var W;
1997
- (w === null || !i.value.contains(w) && !((W = p.value) != null && W.map(($) => $.value).some(($) => $ === w || ($ == null ? void 0 : $.contains(w))))) && (g.value = !1);
1998
- }, f = () => {
1999
- g.value = !1;
2000
- }, S = h(!1), T = (w) => {
2004
+ (w === null || !i.value.contains(w) && !((W = C.value) != null && W.map(($) => $.value).some(($) => $ === w || ($ == null ? void 0 : $.contains(w))))) && (d.value = !1);
2005
+ }, g = () => {
2006
+ d.value = !1;
2007
+ }, R = p(!1), T = (w) => {
2001
2008
  const W = {
2002
2009
  ...e.draggingEventsForRowCell(w),
2003
2010
  // Focus on the first interactive child in the grid cell if one exists
@@ -2009,52 +2016,52 @@ const Et = () => {
2009
2016
  column: e.column,
2010
2017
  rowIndex: e.rowIndex,
2011
2018
  colIndex: O(e.colIndex, e.columnSetIndex)
2012
- }), Ut(E.value), await ae(), je(i.value) && (S.value = !0);
2019
+ }), Ut(S.value), await ae(), je(i.value) && (R.value = !0);
2013
2020
  },
2014
2021
  focusout: () => {
2015
- Et() && (S.value = !1);
2022
+ Et() && (R.value = !1);
2016
2023
  },
2017
2024
  keydown: (z) => {
2018
- z.key !== ce.TAB && (S.value = !1, m.value = !1, we(i.value));
2025
+ z.key !== ce.TAB && (R.value = !1, m.value = !1, we(i.value));
2019
2026
  }
2020
2027
  }, $ = { ...W };
2021
2028
  return w.frozen && ($.keyup = (z) => n("on-frozen-columns-key-press", z), $.keydown = (z) => {
2022
2029
  W.keydown(z), n("on-frozen-columns-key-press", z);
2023
2030
  }), w.cellActions && ($.mouseenter = () => {
2024
- g.value = !0;
2031
+ d.value = !0;
2025
2032
  }, $.mouseleave = (z) => {
2026
2033
  r(z == null ? void 0 : z.relatedTarget);
2027
2034
  }, $.focus = async (z) => {
2028
- W.focus(z), await ae(), g.value = !0;
2035
+ W.focus(z), await ae(), d.value = !0;
2029
2036
  }, $.focusout = (z) => {
2030
2037
  W.focusout(z), r(z == null ? void 0 : z.relatedTarget);
2031
2038
  }), $;
2032
2039
  };
2033
2040
  Ee(() => {
2034
- E.value = we(i.value);
2041
+ S.value = we(i.value);
2035
2042
  });
2036
2043
  const B = () => {
2037
2044
  n("nested-content-toggled");
2038
2045
  };
2039
2046
  ie(
2040
- () => g.value,
2047
+ () => d.value,
2041
2048
  () => {
2042
- g.value === !0 ? n("cell-hovered", e.rowIndex) : n("cell-hovered", -1);
2049
+ d.value === !0 ? n("cell-hovered", e.rowIndex) : n("cell-hovered", -1);
2043
2050
  }
2044
2051
  );
2045
2052
  const P = (w) => {
2046
- p.value.push(w);
2053
+ C.value.push(w);
2047
2054
  }, k = (w) => {
2048
- i.value.contains(w == null ? void 0 : w.relatedTarget) || (g.value = !1);
2055
+ i.value.contains(w == null ? void 0 : w.relatedTarget) || (d.value = !1);
2049
2056
  };
2050
2057
  Ne(os, {
2051
2058
  registerMenuContainerElement: P,
2052
2059
  menuMouseLeave: k
2053
2060
  });
2054
- const K = _e(zt, h(!1)), Y = _e(
2061
+ const K = _e(zt, p(!1)), Y = _e(
2055
2062
  Te,
2056
2063
  v(() => !1)
2057
- ), ee = _e(xe, h(!1)), G = (w) => {
2064
+ ), ee = _e(xe, p(!1)), G = (w) => {
2058
2065
  var W, $, z, ve, me, re, c;
2059
2066
  return {
2060
2067
  [`b-data-grid-cell--${Q.COLUMN_HOVERED}`]: (w == null ? void 0 : w.field) === e.hoveredOverColumnState.hoveredOverColumnField,
@@ -2077,11 +2084,11 @@ const Et = () => {
2077
2084
  "b-data-grid-cell--small-container": Y.value
2078
2085
  };
2079
2086
  }, M = v(() => ({
2080
- "b-data-grid-cell__cell-content--is-focused-on-inside-interactive-element": S.value
2087
+ "b-data-grid-cell__cell-content--is-focused-on-inside-interactive-element": R.value
2081
2088
  }));
2082
2089
  return t({
2083
2090
  gridcellRef: i
2084
- }), { __sfc: !0, slots: o, hasSlot: l, t: a, props: e, emit: n, gridcellRef: i, cellActionsRef: _, shouldShowCellActions: g, childrenMenuContainerElements: p, isFocused: m, focusableItems: E, hasEverBeenFocused: b, hasRowData: u, controlledNestedRowElementIds: A, ariaHidden: L, tabIndex: F, conditionalTitleAttribute: R, getRowData: d, sumColumnAmountsInColumnSets: y, getColIndex: O, getCellIndex: x, isLeavingCellFocus: r, onMenuClose: f, hasInteractiveElFocusedInside: S, getGridcellEvents: T, toggleNestedContent: B, registerMenuContainerElement: P, menuMouseLeave: k, hasSlashedZero: K, isSmallContainer: Y, isTouchDevice: ee, conditionalRowCellClasses: G, computedCellContentClasses: M, DATAGRID_ACTIONS_COLUMN_FIELD_NAME: le, BentoCheckbox: Dt, BentoTypography: Se, BentoToggleButton: Ze, DataGridCellActions: Wt, ChevronDownIcon: ls, ChevronUpIcon: as };
2091
+ }), { __sfc: !0, slots: o, hasSlot: l, t: a, props: e, emit: n, gridcellRef: i, cellActionsRef: _, shouldShowCellActions: d, childrenMenuContainerElements: C, isFocused: m, focusableItems: S, hasEverBeenFocused: b, hasRowData: f, controlledNestedRowElementIds: A, ariaHidden: L, tabIndex: F, conditionalTitleAttribute: E, getRowData: u, sumColumnAmountsInColumnSets: y, getColIndex: O, getCellIndex: x, isLeavingCellFocus: r, onMenuClose: g, hasInteractiveElFocusedInside: R, getGridcellEvents: T, toggleNestedContent: B, registerMenuContainerElement: P, menuMouseLeave: k, hasSlashedZero: K, isSmallContainer: Y, isTouchDevice: ee, conditionalRowCellClasses: G, computedCellContentClasses: M, DATAGRID_ACTIONS_COLUMN_FIELD_NAME: le, BentoCheckbox: Dt, BentoTypography: Se, BentoToggleButton: Ze, DataGridCellActions: Wt, ChevronDownIcon: ls, ChevronUpIcon: as };
2085
2092
  }
2086
2093
  });
2087
2094
  var el = function() {
@@ -2315,58 +2322,58 @@ const sl = nl.exports, ol = {
2315
2322
  },
2316
2323
  emits: ["cell-hovered", "on-frozen-columns-key-press", "select-row", "select-nested-row", "row-click", "nested-content-toggled", "cell-focus"],
2317
2324
  setup(s, { expose: t, emit: n }) {
2318
- const e = s, o = We(), l = He(o), a = h({}), i = h(!1), _ = h(), g = h(), p = De("nested-content-slot"), m = h(!1), E = h();
2325
+ const e = s, o = We(), l = He(o), a = p({}), i = p(!1), _ = p(), d = p(), C = De("nested-content-slot"), m = p(!1), S = p();
2319
2326
  Ee(() => {
2320
- g.value && (E.value = we(g.value));
2327
+ d.value && (S.value = we(d.value));
2321
2328
  });
2322
- const b = v(() => e.shouldShowNestedRows(e.rowData)), u = v(
2329
+ const b = v(() => e.shouldShowNestedRows(e.rowData)), f = v(
2323
2330
  () => {
2324
- var C, I;
2325
- return !e.isNestedRow && e.hasNestedRows && b.value && ((I = (C = e.rowData) == null ? void 0 : C.children) == null ? void 0 : I.length) > 0;
2331
+ var h, I;
2332
+ return !e.isNestedRow && e.hasNestedRows && b.value && ((I = (h = e.rowData) == null ? void 0 : h.children) == null ? void 0 : I.length) > 0;
2326
2333
  }
2327
2334
  ), A = v(
2328
2335
  () => {
2329
- var C, I;
2330
- return !e.isNestedRow && e.hasNestedRows && b.value && (((C = e.rowData) == null ? void 0 : C.children) === void 0 || ((I = e == null ? void 0 : e.rowData) == null ? void 0 : I.children.length) === 0);
2336
+ var h, I;
2337
+ return !e.isNestedRow && e.hasNestedRows && b.value && (((h = e.rowData) == null ? void 0 : h.children) === void 0 || ((I = e == null ? void 0 : e.rowData) == null ? void 0 : I.children.length) === 0);
2331
2338
  }
2332
2339
  ), L = v(
2333
2340
  () => e.hasNestedContent && e.shouldShowNestedContent(e.rowData) || e.hasNestedRows && b.value && !e.isNestedRow
2334
2341
  ), F = v(() => {
2335
2342
  if (e.hasNestedContent || e.hasNestedRows) {
2336
- const C = i.value.toString();
2343
+ const h = i.value.toString();
2337
2344
  return {
2338
- "aria-expanded": L.value ? C : void 0,
2345
+ "aria-expanded": L.value ? h : void 0,
2339
2346
  "aria-level": e.isNestedRow ? "2" : "1",
2340
2347
  "aria-posinset": e.rowIndex + 1,
2341
2348
  "aria-setsize": e.rowSetSize
2342
2349
  };
2343
2350
  }
2344
2351
  return { "aria-rowindex": e.rowIndex + 1 };
2345
- }), R = v(() => {
2352
+ }), E = v(() => {
2346
2353
  if (A.value)
2347
2354
  return {
2348
2355
  "aria-busy": "true",
2349
2356
  "aria-live": "polite"
2350
2357
  };
2351
- if (!(u.value || !e.hasNestedContent || !e.shouldShowNestedContent(e.rowData)))
2358
+ if (!(f.value || !e.hasNestedContent || !e.shouldShowNestedContent(e.rowData)))
2352
2359
  return {
2353
2360
  "aria-level": e.isNestedRow ? "3" : "2",
2354
2361
  "aria-posinset": "1",
2355
2362
  "aria-setsize": "1",
2356
- id: p,
2363
+ id: C,
2357
2364
  role: "row",
2358
2365
  tabindex: "-1"
2359
2366
  };
2360
- }), d = v(() => {
2361
- var C, I;
2362
- return u.value ? (I = (C = e.rowData) == null ? void 0 : C.children) == null ? void 0 : I.reduce((H, te, se) => (H[se] = De("nested-row"), H), {}) : [];
2367
+ }), u = v(() => {
2368
+ var h, I;
2369
+ return f.value ? (I = (h = e.rowData) == null ? void 0 : h.children) == null ? void 0 : I.reduce((H, te, se) => (H[se] = De("nested-row"), H), {}) : [];
2363
2370
  }), y = v(() => {
2364
- var C;
2371
+ var h;
2365
2372
  if (i.value) {
2366
2373
  if (e.hasNestedContent && e.shouldShowNestedContent(e.rowData))
2367
- return [p];
2368
- if (u.value && ((C = Object.keys(d.value)) == null ? void 0 : C.length) > 0) {
2369
- const I = Object.values(d.value);
2374
+ return [C];
2375
+ if (f.value && ((h = Object.keys(u.value)) == null ? void 0 : h.length) > 0) {
2376
+ const I = Object.values(u.value);
2370
2377
  if ((I == null ? void 0 : I.length) > 0)
2371
2378
  return I;
2372
2379
  }
@@ -2374,69 +2381,69 @@ const sl = nl.exports, ol = {
2374
2381
  }
2375
2382
  }), O = v(() => {
2376
2383
  var I, H;
2377
- const C = (H = (I = e.rowData) == null ? void 0 : I.children) == null ? void 0 : H.map((te) => e.getDataItemId(te));
2378
- if ((C == null ? void 0 : C.length) > 0) {
2379
- const te = C.every((Z) => {
2384
+ const h = (H = (I = e.rowData) == null ? void 0 : I.children) == null ? void 0 : H.map((te) => e.getDataItemId(te));
2385
+ if ((h == null ? void 0 : h.length) > 0) {
2386
+ const te = h.every((Z) => {
2380
2387
  var Ce;
2381
2388
  return (Ce = e == null ? void 0 : e.selectedItems) == null ? void 0 : Ce.includes(Z);
2382
- }), se = C.some((Z) => {
2389
+ }), se = h.some((Z) => {
2383
2390
  var Ce;
2384
2391
  return (Ce = e == null ? void 0 : e.selectedItems) == null ? void 0 : Ce.includes(Z);
2385
2392
  });
2386
2393
  return !te && se;
2387
2394
  }
2388
2395
  return !1;
2389
- }), x = (C, I) => {
2390
- const H = C;
2391
- C !== null && (H != null && H.gridcellRef) && (a.value[I] = H.gridcellRef);
2392
- }, r = (C) => d.value[C], f = (C) => {
2396
+ }), x = (h, I) => {
2397
+ const H = h;
2398
+ h !== null && (H != null && H.gridcellRef) && (a.value[I] = H.gridcellRef);
2399
+ }, r = (h) => u.value[h], g = (h) => {
2393
2400
  if (!e.selectable)
2394
2401
  return null;
2395
- const I = e.getDataItemId(C);
2402
+ const I = e.getDataItemId(h);
2396
2403
  return e.selectedItems.includes(I).toString();
2397
- }, S = (C, I) => {
2398
- n("row-click", C, I);
2399
- }, T = (C) => {
2404
+ }, R = (h, I) => {
2405
+ n("row-click", h, I);
2406
+ }, T = (h) => {
2400
2407
  var te;
2401
2408
  if (!e.allowRowClicks)
2402
2409
  return;
2403
2410
  let I = !1;
2404
2411
  const H = ["button", "input", "a"];
2405
2412
  for (let se = 0; se < H.length; se++)
2406
- if ((te = C == null ? void 0 : C.target) != null && te.closest(H[se])) {
2413
+ if ((te = h == null ? void 0 : h.target) != null && te.closest(H[se])) {
2407
2414
  I = !0;
2408
2415
  break;
2409
2416
  }
2410
- I || S(e.rowData, C);
2411
- }, B = (C) => {
2412
- n("select-row", C, e.rowData);
2413
- }, P = (C, I) => {
2414
- n("select-nested-row", I, e.rowData, C);
2417
+ I || R(e.rowData, h);
2418
+ }, B = (h) => {
2419
+ n("select-row", h, e.rowData);
2420
+ }, P = (h, I) => {
2421
+ n("select-nested-row", I, e.rowData, h);
2415
2422
  }, k = () => {
2416
2423
  m.value = !0;
2417
2424
  }, K = () => {
2418
2425
  m.value = !1;
2419
2426
  }, Y = () => {
2420
- var C;
2421
- Ut([(C = E.value) == null ? void 0 : C[0]]), je(g.value);
2427
+ var h;
2428
+ Ut([(h = S.value) == null ? void 0 : h[0]]), je(d.value);
2422
2429
  }, ee = () => {
2423
- we(g.value);
2424
- }, G = (C) => {
2430
+ we(d.value);
2431
+ }, G = (h) => {
2425
2432
  var I, H;
2426
- C.key !== ce.TAB && we(g.value), C.key === ce.ARROW_RIGHT && ((I = E.value) == null ? void 0 : I.length) > 1 && E.value[0].node === document.activeElement ? (we(g.value), E.value[1].node.setAttribute("tabindex", "0"), E.value[1].node.focus(), C.stopPropagation(), C.preventDefault()) : C.key === ce.ARROW_LEFT && ((H = E.value) == null ? void 0 : H.length) > 1 && E.value[1].node === document.activeElement && (we(g.value), E.value[0].node.setAttribute("tabindex", "0"), E.value[0].node.focus(), C.stopPropagation(), C.preventDefault());
2427
- }, M = () => e.columnSets.reduce((C, { columnSet: I }) => C + I.length, 0), w = () => M() * e.rowIndex + M(), { updateContentHeight: W, contentHeight: $ } = is(_, i), z = v(() => {
2428
- var C;
2433
+ h.key !== ce.TAB && we(d.value), h.key === ce.ARROW_RIGHT && ((I = S.value) == null ? void 0 : I.length) > 1 && S.value[0].node === document.activeElement ? (we(d.value), S.value[1].node.setAttribute("tabindex", "0"), S.value[1].node.focus(), h.stopPropagation(), h.preventDefault()) : h.key === ce.ARROW_LEFT && ((H = S.value) == null ? void 0 : H.length) > 1 && S.value[1].node === document.activeElement && (we(d.value), S.value[0].node.setAttribute("tabindex", "0"), S.value[0].node.focus(), h.stopPropagation(), h.preventDefault());
2434
+ }, M = () => e.columnSets.reduce((h, { columnSet: I }) => h + I.length, 0), w = () => M() * e.rowIndex + M(), { updateContentHeight: W, contentHeight: $ } = is(_, i), z = v(() => {
2435
+ var h;
2429
2436
  if (e.hasNestedContent || e.hasNestedRows)
2430
2437
  return {
2431
- paddingLeft: `${u.value || A.value ? 0 : a.value[le].offsetWidth + Mt}px`,
2432
- "max-height": (e.hasNestedContent || e.hasNestedRows) && $.value && !((C = $ == null ? void 0 : $.value) != null && C.includes("null")) ? $.value : 0
2438
+ paddingLeft: `${f.value || A.value ? 0 : a.value[le].offsetWidth + Mt}px`,
2439
+ "max-height": (e.hasNestedContent || e.hasNestedRows) && $.value && !((h = $ == null ? void 0 : $.value) != null && h.includes("null")) ? $.value : 0
2433
2440
  };
2434
2441
  });
2435
2442
  ie(
2436
2443
  () => _.value,
2437
2444
  () => {
2438
- let C = null;
2439
- !C && _.value && (C = Ve(_.value, () => {
2445
+ let h = null;
2446
+ !h && _.value && (h = Ve(_.value, () => {
2440
2447
  _.value && W();
2441
2448
  }));
2442
2449
  }
@@ -2446,10 +2453,10 @@ const sl = nl.exports, ol = {
2446
2453
  };
2447
2454
  ie(
2448
2455
  () => {
2449
- var C;
2450
- return (C = e.rowData) == null ? void 0 : C.children;
2456
+ var h;
2457
+ return (h = e.rowData) == null ? void 0 : h.children;
2451
2458
  },
2452
- (C, I) => {
2459
+ (h, I) => {
2453
2460
  var H, te;
2454
2461
  ((te = (H = e == null ? void 0 : e.rowData) == null ? void 0 : H.children) == null ? void 0 : te.length) > 0 && I === void 0 && !i.value && W();
2455
2462
  }
@@ -2457,24 +2464,24 @@ const sl = nl.exports, ol = {
2457
2464
  const me = _e(
2458
2465
  Te,
2459
2466
  v(() => !1)
2460
- ), re = (C) => e.highlightedRows.includes(e.getDataItemId(C)), c = (C) => e.selectedItems.includes(e.getDataItemId(C)), U = (C, I) => ({
2461
- "b-data-grid-row-container__row--disabled": e.isDataItemDisabled(C),
2467
+ ), re = (h) => e.highlightedRows.includes(e.getDataItemId(h)), c = (h) => e.selectedItems.includes(e.getDataItemId(h)), U = (h, I) => ({
2468
+ "b-data-grid-row-container__row--disabled": e.isDataItemDisabled(h),
2462
2469
  "b-data-grid-row-container__row--row-clicks-enabled": e.allowRowClicks,
2463
- "b-data-grid-row-container__row--highlighted": re(C),
2464
- "b-data-grid-row-container__row--selected": c(C),
2470
+ "b-data-grid-row-container__row--highlighted": re(h),
2471
+ "b-data-grid-row-container__row--selected": c(h),
2465
2472
  "b-data-grid-row-container__row--hovered": e.hoveredRowIndex === I,
2466
2473
  "b-data-grid-row-container__row--is-last-child": e.isRowLastChild && !i.value,
2467
2474
  "b-data-grid-row-container__row--nested-row": e.isNestedRow,
2468
2475
  "b-data-grid-row-container__row--zebra": e.isRowEven
2469
- }), X = (C, I) => ({
2470
- "b-data-grid-row-container__row-cell-set--frozen": C && !I,
2471
- [`b-data-grid-row-container__row-cell-set--${ge.OVERFLOW_SHADOW_LEFT}`]: !I && C && e.hasLeftOverflow,
2472
- "b-data-grid-row-container__row-cell-set--frozen-separator": !I && C && e.showFrozenColumnsSeparator,
2473
- "b-data-grid-row-container__row-cell-set--unfrozen": !C || I,
2476
+ }), X = (h, I) => ({
2477
+ "b-data-grid-row-container__row-cell-set--frozen": h && !I,
2478
+ [`b-data-grid-row-container__row-cell-set--${ge.OVERFLOW_SHADOW_LEFT}`]: !I && h && e.hasLeftOverflow,
2479
+ "b-data-grid-row-container__row-cell-set--frozen-separator": !I && h && e.showFrozenColumnsSeparator,
2480
+ "b-data-grid-row-container__row-cell-set--unfrozen": !h || I,
2474
2481
  "b-data-grid-row-container__row-cell-set--is-measuring": e.isMeasuringColumnWidths
2475
2482
  }), ne = v(() => ({
2476
2483
  "b-data-grid-row-container__row-nested-slot--is-last-child": e.isRowLastChild,
2477
- "b-data-grid-row-container__row-nested-slot": !u.value && e.shouldShowNestedContent(e.rowData)
2484
+ "b-data-grid-row-container__row-nested-slot": !f.value && e.shouldShowNestedContent(e.rowData)
2478
2485
  })), pe = v(() => ({
2479
2486
  "b-data-grid-row-container__row-actions-container--row-actions-menu-open": m.value
2480
2487
  })), Re = v(() => ({
@@ -2482,8 +2489,8 @@ const sl = nl.exports, ol = {
2482
2489
  }));
2483
2490
  return t({
2484
2491
  gridcellRefs: a,
2485
- rowActionsRef: g
2486
- }), { __sfc: !0, slots: o, hasSlot: l, props: e, emit: n, gridcellRefs: a, isNestedContentShown: i, nestedContentRef: _, rowActionsRef: g, nestedContentSlotId: p, isRowActionMenuOpen: m, focusableItems: E, shouldShowNestedRowsBooleanResult: b, shouldShowRenderNestedRows: u, isLoadingNestedRows: A, shouldShowNestedContentToggle: L, ariaRowAttributes: F, nestedContentContainerDivAriaAttributes: R, nestedRowIds: d, allNestedRowIds: y, hasUnSelectedNestedRows: O, registerRowCellRef: x, getRowId: r, getRowAriaSelectedValue: f, emitRowClick: S, onRowClick: T, onRowSelect: B, onNestedRowSelect: P, onRowActionMenuOpen: k, onRowActionMenuClose: K, onRowActionsCellFocus: Y, onRowActionsCellFocusOut: ee, onRowActionsCellOnKeyDown: G, sumColumnAmountsInColumnSets: M, getRowActionsCellIndex: w, updateContentHeight: W, contentHeight: $, nestedContentStyles: z, nestedContentToggled: ve, isSmallContainer: me, isHighlightedRow: re, isSelectedRow: c, conditionalRowClasses: U, conditionalRowSetClasses: X, conditionalNestedRowClasses: ne, conditionalRowActionsContainerClasses: pe, computedRowActionsStyles: Re, BentoLoadingIndicator: Ge, DataGridRow: Gt, DataGridCell: sl, DataGridCellActions: Wt };
2492
+ rowActionsRef: d
2493
+ }), { __sfc: !0, slots: o, hasSlot: l, props: e, emit: n, gridcellRefs: a, isNestedContentShown: i, nestedContentRef: _, rowActionsRef: d, nestedContentSlotId: C, isRowActionMenuOpen: m, focusableItems: S, shouldShowNestedRowsBooleanResult: b, shouldShowRenderNestedRows: f, isLoadingNestedRows: A, shouldShowNestedContentToggle: L, ariaRowAttributes: F, nestedContentContainerDivAriaAttributes: E, nestedRowIds: u, allNestedRowIds: y, hasUnSelectedNestedRows: O, registerRowCellRef: x, getRowId: r, getRowAriaSelectedValue: g, emitRowClick: R, onRowClick: T, onRowSelect: B, onNestedRowSelect: P, onRowActionMenuOpen: k, onRowActionMenuClose: K, onRowActionsCellFocus: Y, onRowActionsCellFocusOut: ee, onRowActionsCellOnKeyDown: G, sumColumnAmountsInColumnSets: M, getRowActionsCellIndex: w, updateContentHeight: W, contentHeight: $, nestedContentStyles: z, nestedContentToggled: ve, isSmallContainer: me, isHighlightedRow: re, isSelectedRow: c, conditionalRowClasses: U, conditionalRowSetClasses: X, conditionalNestedRowClasses: ne, conditionalRowActionsContainerClasses: pe, computedRowActionsStyles: Re, BentoLoadingIndicator: Ge, DataGridRow: Gt, DataGridCell: sl, DataGridCellActions: Wt };
2487
2494
  }
2488
2495
  });
2489
2496
  var al = function() {
@@ -2494,16 +2501,16 @@ var al = function() {
2494
2501
  }, function(l) {
2495
2502
  return !l.type.indexOf("key") && t._k(l.keyCode, "space", 32, l.key, [" ", "Spacebar"]) ? null : e.onRowClick.apply(null, arguments);
2496
2503
  }] } }, "div", e.ariaRowAttributes, !1), [t._l(t.columnSets, function({ columnSet: l, id: a, isFrozenColumns: i }, _) {
2497
- return [l != null && l.length ? n("div", { key: `data-grid-rows-${a}`, staticClass: "b-data-grid-row-container__cells", class: e.conditionalRowSetClasses(i, e.isSmallContainer), attrs: { "data-testid": `data-grid-${a}-rows` } }, t._l(l, function(g, p) {
2498
- return n(e.DataGridCell, { key: `cell-${g.field}`, ref: (m) => e.registerRowCellRef(m, g.field), refInFor: !0, staticClass: "b-data-grid-row-container__cell", attrs: { column: g, "column-set-index": _, "col-index": p, "column-sets": t.columnSets, condensed: t.condensed, "dragging-columns": t.draggingColumns, "dragging-events-for-row-cell": t.draggingEventsForRowCell, "get-data-item-id": t.getDataItemId, "has-zebra-background": t.isRowEven, "is-highlighted": e.isHighlightedRow(t.rowData), "is-selected": e.isSelectedRow(t.rowData), "hovered-over-column-state": t.hoveredOverColumnState, "is-data-item-disabled": t.isDataItemDisabled, "is-measuring-column-widths": t.isMeasuringColumnWidths, "is-nested-content-expanded": e.isNestedContentShown, "nested-content": e.shouldShowNestedContentToggle, "nested-rows-element-ids": e.allNestedRowIds, "row-data": t.rowData, "row-index": t.rowIndex, "selection-is-indeterminate": e.hasUnSelectedNestedRows, selectable: t.selectable, "selected-items": t.selectedItems }, on: { "cell-hovered": function(m) {
2504
+ return [l != null && l.length ? n("div", { key: `data-grid-rows-${a}`, staticClass: "b-data-grid-row-container__cells", class: e.conditionalRowSetClasses(i, e.isSmallContainer), attrs: { "data-testid": `data-grid-${a}-rows` } }, t._l(l, function(d, C) {
2505
+ return n(e.DataGridCell, { key: `cell-${d.field}`, ref: (m) => e.registerRowCellRef(m, d.field), refInFor: !0, staticClass: "b-data-grid-row-container__cell", attrs: { column: d, "column-set-index": _, "col-index": C, "column-sets": t.columnSets, condensed: t.condensed, "dragging-columns": t.draggingColumns, "dragging-events-for-row-cell": t.draggingEventsForRowCell, "get-data-item-id": t.getDataItemId, "has-zebra-background": t.isRowEven, "is-highlighted": e.isHighlightedRow(t.rowData), "is-selected": e.isSelectedRow(t.rowData), "hovered-over-column-state": t.hoveredOverColumnState, "is-data-item-disabled": t.isDataItemDisabled, "is-measuring-column-widths": t.isMeasuringColumnWidths, "is-nested-content-expanded": e.isNestedContentShown, "nested-content": e.shouldShowNestedContentToggle, "nested-rows-element-ids": e.allNestedRowIds, "row-data": t.rowData, "row-index": t.rowIndex, "selection-is-indeterminate": e.hasUnSelectedNestedRows, selectable: t.selectable, "selected-items": t.selectedItems }, on: { "cell-hovered": function(m) {
2499
2506
  return e.emit("cell-hovered", m);
2500
2507
  }, "cell-focus": function(m) {
2501
2508
  return e.emit("cell-focus", m);
2502
2509
  }, "on-frozen-columns-key-press": function(m) {
2503
2510
  return e.emit("on-frozen-columns-key-press", m);
2504
- }, "select-row": e.onRowSelect, "nested-content-toggled": e.nestedContentToggled }, scopedSlots: t._u([t._l(e.slots, function(m, E) {
2505
- return { key: E, fn: function(b) {
2506
- return [t._t(E, null, null, b)];
2511
+ }, "select-row": e.onRowSelect, "nested-content-toggled": e.nestedContentToggled }, scopedSlots: t._u([t._l(e.slots, function(m, S) {
2512
+ return { key: S, fn: function(b) {
2513
+ return [t._t(S, null, null, b)];
2507
2514
  } };
2508
2515
  })], null, !0) });
2509
2516
  }), 1) : t._e(), !i && t.rowActions ? n("div", { key: `data-grid-row-actions-${a}`, ref: "rowActionsRef", refInFor: !0, staticClass: "b-data-grid-row-container__row-actions-container", class: e.conditionalRowActionsContainerClasses, style: e.computedRowActionsStyles, attrs: { "aria-colindex": e.sumColumnAmountsInColumnSets().toString(), "data-cellindex": e.getRowActionsCellIndex(), tabindex: "-1", role: "gridcell" }, on: { focus: e.onRowActionsCellFocus, focusOut: e.onRowActionsCellFocusOut, keydown: e.onRowActionsCellOnKeyDown } }, [n(e.DataGridCellActions, { staticClass: "b-data-grid-row-container__row-actions", attrs: { "disable-arrow-down-opening-menu": "", "cell-actions": t.rowActions, "has-right-overflow": t.hasRightOverflow, "row-data-item": t.rowData, "teleport-menu": "" }, on: { "menu-open": e.onRowActionMenuOpen, "menu-close": e.onRowActionMenuClose } })], 1) : t._e()];
@@ -2517,8 +2524,8 @@ var al = function() {
2517
2524
  }, "select-row": function(i) {
2518
2525
  return e.onNestedRowSelect(l, i);
2519
2526
  } }, scopedSlots: t._u([t._l(e.slots, function(i, _) {
2520
- return { key: _, fn: function(g) {
2521
- return [t._t(_, null, null, g)];
2527
+ return { key: _, fn: function(d) {
2528
+ return [t._t(_, null, null, d)];
2522
2529
  } };
2523
2530
  })], null, !0) }, "data-grid-row", e.props, !1));
2524
2531
  })], 2)]) : e.isNestedContentShown ? n("div", t._b({ class: e.conditionalNestedRowClasses, style: e.nestedContentStyles, attrs: { "data-testid": "nested-content-container", role: "row", tabindex: "-1" } }, "div", e.nestedContentContainerDivAriaAttributes, !1), [n("div", { ref: "nestedContentRef", attrs: { role: "gridcell" } }, [e.isLoadingNestedRows ? n("div", { staticClass: "b-data-grid-row-container__row-nested-rows-loading-container" }, [n(e.BentoLoadingIndicator)], 1) : e.hasSlot("nested-slot") && t.shouldShowNestedContent(t.rowData) ? n("div", [t._t("nested-slot", null, { item: t.rowData })], 2) : t._e()])]) : t._e()]) : t._e()], 1);
@@ -2621,7 +2628,7 @@ const Ga = hl.exports, pl = {
2621
2628
  tooltipText: { default: null }
2622
2629
  },
2623
2630
  setup(s) {
2624
- const t = s, { tc: n } = he(), e = h(), o = v(() => ({
2631
+ const t = s, { tc: n } = he(), e = p(), o = v(() => ({
2625
2632
  popoverPosition: "right",
2626
2633
  // Setting popover defaults, but they are overriden if used passes dashedUnderline prop
2627
2634
  popoverTitle: t.label,
@@ -2632,9 +2639,9 @@ const Ga = hl.exports, pl = {
2632
2639
  disabled: !1
2633
2640
  }
2634
2641
  })), l = v(() => {
2635
- var g;
2636
- return ((g = t.searchTerm) == null ? void 0 : g.toLowerCase()) ?? "";
2637
- }), a = (g) => t.searchTerm && g.toLowerCase().includes(l.value) ? "mark" : "span", i = v(() => t.searchTerm ? t.items.filter((g) => g.toLowerCase().includes(l.value)).length : 0), _ = v(
2642
+ var d;
2643
+ return ((d = t.searchTerm) == null ? void 0 : d.toLowerCase()) ?? "";
2644
+ }), a = (d) => t.searchTerm && d.toLowerCase().includes(l.value) ? "mark" : "span", i = v(() => t.searchTerm ? t.items.filter((d) => d.toLowerCase().includes(l.value)).length : 0), _ = v(
2638
2645
  () => t.tooltipText ?? (i.value > 0 ? n("numberResults", i.value) : "")
2639
2646
  );
2640
2647
  return { __sfc: !0, tc: n, props: t, dashedUnderlineRef: e, dashedUnderlineProps: o, lowerCaseSearchTerm: l, highlightedComponent: a, highlightedItemsCount: i, computedToolTipText: _, BentoDashedUnderline: Zn, BentoTypography: Se, Tooltip: Vn, BentoTooltipPosition: Hn };
@@ -3122,49 +3129,49 @@ const Za = Vl.exports, Zl = {
3122
3129
  N.CELL_FOCUS
3123
3130
  ],
3124
3131
  setup(s, { expose: t, emit: n }) {
3125
- const e = s, o = We(), l = He(o), a = h(null), i = h(), _ = h({}), g = h(De("data-grid")), p = h(null), m = h(null), E = h(null), b = h(null), u = h(null), A = h(null), {
3132
+ const e = s, o = We(), l = He(o), a = p(null), i = p(), _ = p({}), d = p(De("data-grid")), C = p(null), m = p(null), S = p(null), b = p(null), f = p(null), A = p(null), {
3126
3133
  allowColumnDragAndDrop: L,
3127
3134
  columns: F,
3128
- columnPanel: R,
3129
- data: d,
3135
+ columnPanel: E,
3136
+ data: u,
3130
3137
  lazyLoadType: y,
3131
3138
  loading: O,
3132
3139
  hasNestedContent: x,
3133
3140
  hasNestedRows: r,
3134
- selectable: f,
3135
- selection: S,
3141
+ selectable: g,
3142
+ selection: R,
3136
3143
  selectableAcrossPages: T,
3137
3144
  stickyPagination: B,
3138
3145
  outline: P,
3139
3146
  pagination: k,
3140
3147
  zebraRows: K
3141
- } = ke(e), Y = h(-1), { t: ee } = he(), G = v(() => ne.value.filter((D) => D.frozen).length), M = 550, w = h(), { width: W } = es(w), $ = v(() => W.value <= M);
3148
+ } = ke(e), Y = p(-1), { t: ee } = he(), G = v(() => ne.value.filter((D) => D.frozen).length), M = 550, w = p(), { width: W } = es(w), $ = v(() => W.value <= M);
3142
3149
  Ne(Te, $);
3143
- const z = h(!1);
3150
+ const z = p(!1);
3144
3151
  Ee(() => {
3145
3152
  typeof window < "u" && (z.value = "ontouchstart" in window || (navigator == null ? void 0 : navigator.maxTouchPoints) > 0);
3146
3153
  }), Ne(xe, z);
3147
3154
  const ve = _e(
3148
3155
  Qn,
3149
3156
  () => ({
3150
- additionalContentSlotRef: h(null),
3157
+ additionalContentSlotRef: p(null),
3151
3158
  isDataGridTemplate: !1,
3152
- stickyAditionalContent: h(!1),
3153
- stickyTabs: h(!1),
3154
- tabsRef: h(null)
3159
+ stickyAditionalContent: p(!1),
3160
+ stickyTabs: p(!1),
3161
+ tabsRef: p(null)
3155
3162
  })
3156
3163
  ), { additionalContentSlotRef: me, isDataGridTemplate: re, stickyTabs: c, tabsRef: U, stickyAdditionalContent: X } = ve(), {
3157
3164
  columnDefs: ne,
3158
3165
  onColumnWidthOverride: pe,
3159
3166
  gridRowWidthStyle: Re,
3160
- isMeasuringColumnWidths: C,
3167
+ isMeasuringColumnWidths: h,
3161
3168
  isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: I,
3162
3169
  columns: H,
3163
3170
  totalWidthOfAllColumns: te,
3164
3171
  rowActionsMaxWidth: se
3165
- } = Os(F, d, a, _, p, {
3166
- hasColumnPanel: R,
3167
- hasSelectableColumn: f,
3172
+ } = Os(F, u, a, _, C, {
3173
+ hasColumnPanel: E,
3174
+ hasSelectableColumn: g,
3168
3175
  hasSelectableAcrossPages: T,
3169
3176
  hasNestedContent: x,
3170
3177
  hasNestedRows: r,
@@ -3192,7 +3199,7 @@ const Za = Vl.exports, Zl = {
3192
3199
  onConfigSettingsZebraRowsUpdate: Jt
3193
3200
  } = Ps(ne, K, Z), { hoveredOverColumn: Kt, hoveredOverColumnState: Xt } = Us(
3194
3201
  Be,
3195
- f,
3202
+ g,
3196
3203
  P,
3197
3204
  I
3198
3205
  ), { draggingColumns: Qt, draggingEventsForColumns: en, draggingEventsForRowCell: tn, onMoveColumnByOffset: nn } = Bs(Fe, L, Z), Je = v(
@@ -3209,9 +3216,9 @@ const Za = Vl.exports, Zl = {
3209
3216
  selectedItems: Ke,
3210
3217
  selectionState: cn
3211
3218
  } = Ns(
3212
- S,
3219
+ R,
3213
3220
  Z,
3214
- d,
3221
+ u,
3215
3222
  e.getDataItemId,
3216
3223
  e.isDataItemDisabled,
3217
3224
  Je,
@@ -3219,19 +3226,19 @@ const Za = Vl.exports, Zl = {
3219
3226
  ), dn = v(() => {
3220
3227
  var D, V, J, ue;
3221
3228
  return {
3222
- filtered: ((D = E.value) == null ? void 0 : D.isClearAllVisible) || ((V = E.value) == null ? void 0 : V.isResetAllVisible) || !!e.filterSearchTerm,
3229
+ filtered: ((D = S.value) == null ? void 0 : D.isClearAllVisible) || ((V = S.value) == null ? void 0 : V.isResetAllVisible) || !!e.filterSearchTerm,
3223
3230
  allRowsVisible: ((J = k.value) == null ? void 0 : J.size) >= ((ue = k.value) == null ? void 0 : ue.totalCount)
3224
3231
  };
3225
3232
  }), { navigationInput: un } = Ds(
3226
- p,
3233
+ C,
3227
3234
  _,
3228
3235
  Fe,
3229
- f,
3236
+ g,
3230
3237
  v(() => e.rowActions !== void 0),
3231
- R
3238
+ E
3232
3239
  ), { isLazyLoad: Oe, isInfiniteScroll: fn, verticalScrollPosition: Xe, emitLazyLoadEvent: gn } = Fs(
3233
3240
  y,
3234
- u,
3241
+ f,
3235
3242
  a,
3236
3243
  O,
3237
3244
  Z
@@ -3256,7 +3263,7 @@ const Za = Vl.exports, Zl = {
3256
3263
  isDataGridTemplate: re
3257
3264
  }
3258
3265
  ), et = () => {
3259
- E.value.isClearAllVisible ? E.value.clearAllFilters() : E.value.isResetAllVisible && E.value.resetAllFilters();
3266
+ S.value.isClearAllVisible ? S.value.clearAllFilters() : S.value.isResetAllVisible && S.value.resetAllFilters();
3260
3267
  }, hn = v(() => {
3261
3268
  var D, V;
3262
3269
  return {
@@ -3296,8 +3303,8 @@ const Za = Vl.exports, Zl = {
3296
3303
  const Mn = e.rowActions !== void 0 && (J == null ? void 0 : J.rowActionsRef);
3297
3304
  Object.entries(J == null ? void 0 : J.gridcellRefs).map(([Me, Un]) => {
3298
3305
  var lt;
3299
- ((lt = p.value) == null ? void 0 : lt[Me]) === void 0 && (p.value = { ...p.value, [Me]: [] }), p.value[Me][V] = Un;
3300
- }), Mn && (((ue = p.value) == null ? void 0 : ue[ye]) === void 0 && (p.value = { ...p.value, [ye]: [] }), p.value[ye][V] = (Le = J.rowActionsRef) == null ? void 0 : Le[0], se.value = Math.max(
3306
+ ((lt = C.value) == null ? void 0 : lt[Me]) === void 0 && (C.value = { ...C.value, [Me]: [] }), C.value[Me][V] = Un;
3307
+ }), Mn && (((ue = C.value) == null ? void 0 : ue[ye]) === void 0 && (C.value = { ...C.value, [ye]: [] }), C.value[ye][V] = (Le = J.rowActionsRef) == null ? void 0 : Le[0], se.value = Math.max(
3301
3308
  se.value,
3302
3309
  ((ot = (Ae = J.rowActionsRef) == null ? void 0 : Ae[0]) == null ? void 0 : ot.offsetWidth) ?? 0
3303
3310
  ));
@@ -3328,36 +3335,36 @@ const Za = Vl.exports, Zl = {
3328
3335
  "WARNING: At least one BentoDataGrid column should be set as mandatory to ensure data is always displayed correctly."
3329
3336
  );
3330
3337
  const st = _e(Xn, () => null);
3331
- return st(e.tabTitle), Ne(zt, Ue(e, "slashedZero")), t({ onEmptyStateClearResetButtonClick: et }), { __sfc: !0, props: e, slots: o, hasSlot: l, body: a, columnsRef: i, columnHeaderRefs: _, dataGridUid: g, gridcellRefs: p, filtersRef: m, filterBarRef: E, paginationContainerRef: b, verticalScrollPositionRef: u, virtualHorizontalScrollbarRef: A, allowColumnDragAndDrop: L, columns: F, columnPanel: R, data: d, lazyLoadType: y, loading: O, hasNestedContent: x, hasNestedRows: r, selectable: f, selection: S, selectableAcrossPages: T, stickyPagination: B, outline: P, pagination: k, zebraRows: K, hoveredRowIndex: Y, t: ee, frozenColumnsLength: G, MOBILE_BREAKPOINT: M, dataGridRef: w, width: W, isSmallContainer: $, isTouchDevice: z, registerDatagridInDataGridTemplate: ve, additionalContentSlotRef: me, isDataGridTemplate: re, stickyTabs: c, tabsRef: U, stickyAdditionalContent: X, columnDefs: ne, onColumnWidthOverride: pe, gridRowWidthStyle: Re, isMeasuringColumnWidths: C, isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: I, localColumnsState: H, totalWidthOfAllColumns: te, rowActionsMaxWidth: se, definedEmitsFunction: n, emit: Z, stickyFiltersHeight: Ce, computedStickyFiltersTopPosition: Ht, columnHeadersHeight: qe, computedColumnHeadersTopPosition: Vt, sortedColumns: Fe, columnSets: Be, isOnlyOneVisibleColumn: Zt, internalZebraRows: Ye, onConfigSettingsColumnsUpdate: jt, onConfigSettingsColumnUpdate: qt, onConfigSettingsCondensedUpdate: Yt, onConfigSettingsZebraRowsUpdate: Jt, hoveredOverColumn: Kt, hoveredOverColumnState: Xt, draggingColumns: Qt, draggingEventsForColumns: en, draggingEventsForRowCell: tn, onMoveColumnByOffset: nn, selectableAcrossPagesComputed: Je, onAllRowSelect: sn, onRowSelect: on, onNestedRowSelect: ln, onDeselectAll: an, allItemsSelectedState: rn, selectedItems: Ke, selectionState: cn, visibleRowsState: dn, navigationInput: un, isLazyLoad: Oe, isInfiniteScroll: fn, verticalScrollPosition: Xe, emitLazyLoadEvent: gn, updateScrollPosition: _n, updateScrollPositionOnFrozenColumnsNavigation: vn, syncVirtualScrollerWithBody: mn, hasLeftOverflow: Pe, hasRightOverflow: Qe, horizontalScrollbarConditionalStyles: Cn, onEmptyStateClearResetButtonClick: et, limitedEmptyStateProps: hn, conditionalGridClasses: pn, conditionalGridBodyClasses: wn, computedColumnPanelAlignment: bn, showFrozenColumnsSeparator: Sn, conditionalFilterClasses: Rn, conditionalPaginationClasses: En, registerColumnHeaderRefs: Ln, registerRowCellRefs: An, onRowClick: yn, onCellHover: Tn, ariaGridRole: On, itemsSelectedCounter: tt, showActionBar: Nn, onColumnResized: In, onSort: Dn, onPaginationNavigate: xn, onItemsPerPageChange: Fn, onSearchTermCleared: Bn, onSearchTermInput: Pn, hasMandatoryColumn: nt, setTitle: st, BentoActionBar: qn, BentoPagination: Yn, BentoLoadingIndicator: Ge, BentoTypography: Se, BentoDataGridConfigSettings: Fo, DataGridColumns: Co, DataGridLazyLoad: zo, DataGridRow: Gt, handleClipboard: $s, BentoDatagridEvent: N, BentoFilterBar: Jn, BentoEmptyState: Kn };
3338
+ return st(e.tabTitle), Ne(zt, Ue(e, "slashedZero")), t({ onEmptyStateClearResetButtonClick: et }), { __sfc: !0, props: e, slots: o, hasSlot: l, body: a, columnsRef: i, columnHeaderRefs: _, dataGridUid: d, gridcellRefs: C, filtersRef: m, filterBarRef: S, paginationContainerRef: b, verticalScrollPositionRef: f, virtualHorizontalScrollbarRef: A, allowColumnDragAndDrop: L, columns: F, columnPanel: E, data: u, lazyLoadType: y, loading: O, hasNestedContent: x, hasNestedRows: r, selectable: g, selection: R, selectableAcrossPages: T, stickyPagination: B, outline: P, pagination: k, zebraRows: K, hoveredRowIndex: Y, t: ee, frozenColumnsLength: G, MOBILE_BREAKPOINT: M, dataGridRef: w, width: W, isSmallContainer: $, isTouchDevice: z, registerDatagridInDataGridTemplate: ve, additionalContentSlotRef: me, isDataGridTemplate: re, stickyTabs: c, tabsRef: U, stickyAdditionalContent: X, columnDefs: ne, onColumnWidthOverride: pe, gridRowWidthStyle: Re, isMeasuringColumnWidths: h, isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: I, localColumnsState: H, totalWidthOfAllColumns: te, rowActionsMaxWidth: se, definedEmitsFunction: n, emit: Z, stickyFiltersHeight: Ce, computedStickyFiltersTopPosition: Ht, columnHeadersHeight: qe, computedColumnHeadersTopPosition: Vt, sortedColumns: Fe, columnSets: Be, isOnlyOneVisibleColumn: Zt, internalZebraRows: Ye, onConfigSettingsColumnsUpdate: jt, onConfigSettingsColumnUpdate: qt, onConfigSettingsCondensedUpdate: Yt, onConfigSettingsZebraRowsUpdate: Jt, hoveredOverColumn: Kt, hoveredOverColumnState: Xt, draggingColumns: Qt, draggingEventsForColumns: en, draggingEventsForRowCell: tn, onMoveColumnByOffset: nn, selectableAcrossPagesComputed: Je, onAllRowSelect: sn, onRowSelect: on, onNestedRowSelect: ln, onDeselectAll: an, allItemsSelectedState: rn, selectedItems: Ke, selectionState: cn, visibleRowsState: dn, navigationInput: un, isLazyLoad: Oe, isInfiniteScroll: fn, verticalScrollPosition: Xe, emitLazyLoadEvent: gn, updateScrollPosition: _n, updateScrollPositionOnFrozenColumnsNavigation: vn, syncVirtualScrollerWithBody: mn, hasLeftOverflow: Pe, hasRightOverflow: Qe, horizontalScrollbarConditionalStyles: Cn, onEmptyStateClearResetButtonClick: et, limitedEmptyStateProps: hn, conditionalGridClasses: pn, conditionalGridBodyClasses: wn, computedColumnPanelAlignment: bn, showFrozenColumnsSeparator: Sn, conditionalFilterClasses: Rn, conditionalPaginationClasses: En, registerColumnHeaderRefs: Ln, registerRowCellRefs: An, onRowClick: yn, onCellHover: Tn, ariaGridRole: On, itemsSelectedCounter: tt, showActionBar: Nn, onColumnResized: In, onSort: Dn, onPaginationNavigate: xn, onItemsPerPageChange: Fn, onSearchTermCleared: Bn, onSearchTermInput: Pn, hasMandatoryColumn: nt, setTitle: st, BentoActionBar: qn, BentoPagination: Yn, BentoLoadingIndicator: Ge, BentoTypography: Se, BentoDataGridConfigSettings: Fo, DataGridColumns: Co, DataGridLazyLoad: zo, DataGridRow: Gt, handleClipboard: $s, BentoDatagridEvent: N, BentoFilterBar: Jn, BentoEmptyState: Kn };
3332
3339
  }
3333
3340
  });
3334
3341
  var ql = function() {
3335
3342
  var o;
3336
3343
  var t = this, n = t._self._c, e = t._self._setupProxy;
3337
3344
  return n("div", { ref: "dataGridRef", staticClass: "b-data-grid", class: e.conditionalGridClasses, attrs: { "data-testid": "data-grid", "aria-live": "polite", "aria-busy": e.loading }, on: { copy: e.handleClipboard } }, [t.filters ? n("div", { ref: "filtersRef", staticClass: "b-data-grid__filters", class: e.conditionalFilterClasses, style: { top: e.computedStickyFiltersTopPosition }, attrs: { "aria-controls": e.dataGridUid, "aria-label": e.t("filterBar"), role: "region" } }, [t.filters ? n(e.BentoFilterBar, { ref: "filterBarRef", attrs: { config: t.filters, "container-size-layout": t.filtersContainerSizeLayout, "filter-values": t.filterValues, "filter-values-object": t.filterValuesObject, search: t.filterSearchConfig, "search-term": t.filterSearchTerm }, on: { "search-input": e.onSearchTermInput, "search-clear": e.onSearchTermCleared, input: (l) => t.$emit(e.BentoDatagridEvent.UPDATE_FILTERS, l), "update:filter-values": (l) => t.$emit(e.BentoDatagridEvent.UPDATE_FILTER_VALUES, l), "update:filter-values-object": (l) => t.$emit(e.BentoDatagridEvent.UPDATE_FILTER_VALUES_OBJECT, l) } }) : t._e()], 1) : t._e(), t.$slots.header ? n("div", { staticClass: "b-data-grid__header" }, [t._t("header")], 2) : t._e(), n("div", { staticClass: "b-data-grid__wrapper", style: { top: e.computedColumnHeadersTopPosition }, attrs: { id: e.dataGridUid, role: e.ariaGridRole, "aria-rowcount": e.data.length, "aria-colcount": e.columns.length, "aria-label": t.emptyState ? e.t("noResults") : null } }, [n("div", { staticClass: "b-data-grid__column-headers", style: { top: e.computedColumnHeadersTopPosition } }, [n("div", { ref: "columnsRef", staticClass: "b-data-grid__columns-row", attrs: { role: "rowgroup" }, on: { scroll: e.updateScrollPosition, keydown: e.navigationInput } }, [e.columnPanel ? n("div", { attrs: { role: "row" } }, [n(e.BentoDataGridConfigSettings, { staticClass: "b-data-grid__config-settings", attrs: { role: "gridcell", columns: e.localColumnsState, condensed: t.condensed, "zebra-rows": e.internalZebraRows }, on: { "update:condensed": e.onConfigSettingsCondensedUpdate, "update:zebra-rows": e.onConfigSettingsZebraRowsUpdate, "update:columns": e.onConfigSettingsColumnsUpdate } })], 1) : t._e(), n("div", { staticClass: "b-data-grid__columns", style: e.gridRowWidthStyle, attrs: { role: "row" } }, [t._l(e.columnSets, function({ columnSet: l, id: a, isFrozenColumns: i }, _) {
3338
- var g;
3339
- return [l != null && l.length ? n(e.DataGridColumns, t._g({ key: `data-grid-columns-${a}`, ref: (p) => e.registerColumnHeaderRefs(p), refInFor: !0, attrs: { columns: l, "has-resizable-columns": t.hasResizableColumns, "sort-by": t.sortBy, "all-items-selected-state": e.allItemsSelectedState, "is-frozen-columns": i, "show-frozen-columns-separator": e.showFrozenColumnsSeparator, "dragging-columns": e.draggingColumns, "has-draggable-columns": e.allowColumnDragAndDrop, "has-column-panel": e.columnPanel, "has-left-overflow": e.hasLeftOverflow, "has-first-column-panel-right-aligned": _ === e.computedColumnPanelAlignment, "hovered-over-column-state": e.hoveredOverColumnState, "is-measuring-column-widths": e.isMeasuringColumnWidths, "is-only-one-visible-column": e.isOnlyOneVisibleColumn, selectable: ((g = e.data) == null ? void 0 : g.length) > 0 && e.selectable, "selectable-across-pages": e.selectableAcrossPagesComputed, "selected-items": e.selectedItems, "visible-rows-state": e.visibleRowsState, "selection-state": e.selectionState, "truncate-column-headers": t.truncateColumnHeaders, "row-actions-maximum-width": e.rowActionsMaxWidth }, on: { "column-hover": function(p) {
3340
- e.hoveredOverColumn = p;
3341
- }, "column-move": e.onMoveColumnByOffset, "column-update": e.onConfigSettingsColumnUpdate, "column-resize": e.onColumnResized, "column-resizing": e.onColumnWidthOverride, "select-all-rows": e.onAllRowSelect, "select-all-across-pages": function(p) {
3345
+ var d;
3346
+ return [l != null && l.length ? n(e.DataGridColumns, t._g({ key: `data-grid-columns-${a}`, ref: (C) => e.registerColumnHeaderRefs(C), refInFor: !0, attrs: { columns: l, "has-resizable-columns": t.hasResizableColumns, "sort-by": t.sortBy, "all-items-selected-state": e.allItemsSelectedState, "is-frozen-columns": i, "show-frozen-columns-separator": e.showFrozenColumnsSeparator, "dragging-columns": e.draggingColumns, "has-draggable-columns": e.allowColumnDragAndDrop, "has-column-panel": e.columnPanel, "has-left-overflow": e.hasLeftOverflow, "has-first-column-panel-right-aligned": _ === e.computedColumnPanelAlignment, "hovered-over-column-state": e.hoveredOverColumnState, "is-measuring-column-widths": e.isMeasuringColumnWidths, "is-only-one-visible-column": e.isOnlyOneVisibleColumn, selectable: ((d = e.data) == null ? void 0 : d.length) > 0 && e.selectable, "selectable-across-pages": e.selectableAcrossPagesComputed, "selected-items": e.selectedItems, "visible-rows-state": e.visibleRowsState, "selection-state": e.selectionState, "truncate-column-headers": t.truncateColumnHeaders, "row-actions-maximum-width": e.rowActionsMaxWidth }, on: { "column-hover": function(C) {
3347
+ e.hoveredOverColumn = C;
3348
+ }, "column-move": e.onMoveColumnByOffset, "column-update": e.onConfigSettingsColumnUpdate, "column-resize": e.onColumnResized, "column-resizing": e.onColumnWidthOverride, "select-all-rows": e.onAllRowSelect, "select-all-across-pages": function(C) {
3342
3349
  return e.emit(e.BentoDatagridEvent.SELECT_ALL_ACROSS_PAGES);
3343
- }, "select-all-current-results": function(p) {
3350
+ }, "select-all-current-results": function(C) {
3344
3351
  return e.emit(e.BentoDatagridEvent.SELECT_ALL_CURRENT_RESULTS);
3345
- }, "deselect-all-current-results": function(p) {
3352
+ }, "deselect-all-current-results": function(C) {
3346
3353
  return e.emit(e.BentoDatagridEvent.DESELECT_ALL_CURRENT_RESULTS);
3347
- }, "deselect-all": e.onDeselectAll, sort: e.onSort }, scopedSlots: t._u([t._l(e.slots, function(p, m) {
3348
- return { key: m, fn: function(E) {
3349
- return [t._t(m, null, null, E)];
3354
+ }, "deselect-all": e.onDeselectAll, sort: e.onSort }, scopedSlots: t._u([t._l(e.slots, function(C, m) {
3355
+ return { key: m, fn: function(S) {
3356
+ return [t._t(m, null, null, S)];
3350
3357
  } };
3351
3358
  })], null, !0) }, e.draggingEventsForColumns)) : t._e()];
3352
3359
  })], 2)])]), n("div", { ref: "body", staticClass: "b-data-grid__body", class: e.conditionalGridBodyClasses, attrs: { "data-testid": "data-grid-body" }, on: { scroll: e.updateScrollPosition } }, [e.loading && !e.isLazyLoad ? n("div", { staticClass: "b-data-grid__loading" }, [n(e.BentoLoadingIndicator, { staticClass: "b-data-grid__loading-indicator", attrs: { large: "" } }), n(e.BentoTypography, { attrs: { el: "span", variant: "caption" } }, [t._v(t._s(e.t("gettingYourData")))])], 1) : n("div", { attrs: { role: "rowgroup" }, on: { keydown: e.navigationInput } }, [((o = e.data) == null ? void 0 : o.length) === 0 && t.emptyState ? [n("div", { attrs: { role: "row", tabindex: "-1" } }, [n("div", { attrs: { role: "gridcell", "aria-colspan": e.columns.length, tabindex: "-1" } }, [n(e.BentoEmptyState, t._b({ staticClass: "b-data-grid__empty-state" }, "bento-empty-state", e.limitedEmptyStateProps, !1))], 1)])] : t._l(e.data, function(l, a) {
3353
3360
  var i, _;
3354
- return n(e.DataGridRow, { key: a, ref: (g) => e.registerRowCellRefs(g, a), refInFor: !0, style: e.gridRowWidthStyle, attrs: { "allow-row-clicks": t.allowRowClicks, "column-sets": e.columnSets, condensed: t.condensed, "dragging-columns": e.draggingColumns, "dragging-events-for-row-cell": e.draggingEventsForRowCell, "get-data-item-id": t.getDataItemId, "has-nested-content": e.hasNestedContent, "has-nested-rows": e.hasNestedRows, "has-left-overflow": e.hasLeftOverflow, "has-right-overflow": e.hasRightOverflow, "highlighted-rows": t.highlightedRows, "hovered-row-index": e.hoveredRowIndex, "hovered-over-column-state": e.hoveredOverColumnState, "is-data-item-disabled": t.isDataItemDisabled, "is-row-even": e.internalZebraRows ? a % 2 !== 0 : !1, "is-row-last-child": a + 1 === ((i = e.data) == null ? void 0 : i.length), "is-measuring-column-widths": e.isMeasuringColumnWidths, "row-actions-maximum-width": e.rowActionsMaxWidth, "row-actions": t.rowActions, "row-data": l, "row-index": a, "row-set-size": (_ = e.data) == null ? void 0 : _.length, "show-frozen-columns-separator": e.showFrozenColumnsSeparator, "should-show-nested-content": t.shouldShowNestedContent, "should-show-nested-rows": t.shouldShowNestedRows, selectable: e.selectable, "selected-items": e.selectedItems }, on: { "cell-hovered": e.onCellHover, "cell-focus": function(g) {
3355
- return e.emit(e.BentoDatagridEvent.CELL_FOCUS, g);
3356
- }, "nested-content-toggled": function(g) {
3357
- return e.emit(e.BentoDatagridEvent.NESTED_CONTENT_TOGGLED, g);
3358
- }, "row-click": e.onRowClick, "on-frozen-columns-key-press": e.updateScrollPositionOnFrozenColumnsNavigation, "select-row": e.onRowSelect, "select-nested-row": e.onNestedRowSelect }, scopedSlots: t._u([t._l(e.slots, function(g, p) {
3359
- return { key: p, fn: function(m) {
3360
- return [t._t(p, null, null, m)];
3361
+ return n(e.DataGridRow, { key: a, ref: (d) => e.registerRowCellRefs(d, a), refInFor: !0, style: e.gridRowWidthStyle, attrs: { "allow-row-clicks": t.allowRowClicks, "column-sets": e.columnSets, condensed: t.condensed, "dragging-columns": e.draggingColumns, "dragging-events-for-row-cell": e.draggingEventsForRowCell, "get-data-item-id": t.getDataItemId, "has-nested-content": e.hasNestedContent, "has-nested-rows": e.hasNestedRows, "has-left-overflow": e.hasLeftOverflow, "has-right-overflow": e.hasRightOverflow, "highlighted-rows": t.highlightedRows, "hovered-row-index": e.hoveredRowIndex, "hovered-over-column-state": e.hoveredOverColumnState, "is-data-item-disabled": t.isDataItemDisabled, "is-row-even": e.internalZebraRows ? a % 2 !== 0 : !1, "is-row-last-child": a + 1 === ((i = e.data) == null ? void 0 : i.length), "is-measuring-column-widths": e.isMeasuringColumnWidths, "row-actions-maximum-width": e.rowActionsMaxWidth, "row-actions": t.rowActions, "row-data": l, "row-index": a, "row-set-size": (_ = e.data) == null ? void 0 : _.length, "show-frozen-columns-separator": e.showFrozenColumnsSeparator, "should-show-nested-content": t.shouldShowNestedContent, "should-show-nested-rows": t.shouldShowNestedRows, selectable: e.selectable, "selected-items": e.selectedItems }, on: { "cell-hovered": e.onCellHover, "cell-focus": function(d) {
3362
+ return e.emit(e.BentoDatagridEvent.CELL_FOCUS, d);
3363
+ }, "nested-content-toggled": function(d) {
3364
+ return e.emit(e.BentoDatagridEvent.NESTED_CONTENT_TOGGLED, d);
3365
+ }, "row-click": e.onRowClick, "on-frozen-columns-key-press": e.updateScrollPositionOnFrozenColumnsNavigation, "select-row": e.onRowSelect, "select-nested-row": e.onNestedRowSelect }, scopedSlots: t._u([t._l(e.slots, function(d, C) {
3366
+ return { key: C, fn: function(m) {
3367
+ return [t._t(C, null, null, m)];
3361
3368
  } };
3362
3369
  })], null, !0) });
3363
3370
  })], 2)])]), e.isLazyLoad ? n(e.DataGridLazyLoad, { attrs: { loading: e.loading, "is-infinite-scroll": e.isInfiniteScroll }, on: { "update:show-more": e.emitLazyLoadEvent } }) : t._e(), t.stickyHorizontalScrollbar ? n("div", { ref: "virtualHorizontalScrollbarRef", staticClass: "b-data-grid__horizontal-scrollbar", style: e.horizontalScrollbarConditionalStyles, attrs: { "aria-hidden": "true", "data-testid": "sticky-horizontal-scrollbar" }, on: { scroll: e.syncVirtualScrollerWithBody } }, [n("div", { style: { width: `${e.totalWidthOfAllColumns}px`, height: "15px" } })]) : t._e(), e.pagination && !e.isLazyLoad ? n("div", { ref: "paginationContainerRef", staticClass: "b-data-grid__pagination", class: e.conditionalPaginationClasses, attrs: { "data-testid": "pagination-container" } }, [n(e.BentoPagination, t._b({ attrs: { "aria-label": t.$t("pagination"), "aria-controls": e.dataGridUid }, on: { navigate: e.onPaginationNavigate, "items-page": e.onItemsPerPageChange } }, "bento-pagination", e.pagination, !1), [e.hasSlot("pagination-slot") ? t._t("pagination-slot") : t._e()], 2)], 1) : t._e(), t.$slots.footer ? n("div", { staticClass: "b-data-grid__footer" }, [t._t("footer")], 2) : t._e(), e.showActionBar ? n(e.BentoActionBar, { attrs: { actions: t.bulkActions, "item-counter": e.itemsSelectedCounter, "extra-bottom-spacing": e.stickyPagination }, on: { close: e.onDeselectAll } }) : t._e()], 1);
@@ -3382,4 +3389,4 @@ export {
3382
3389
  be as h,
3383
3390
  ge as i
3384
3391
  };
3385
- //# sourceMappingURL=data-grid.BvukOpky.js.map
3392
+ //# sourceMappingURL=data-grid.u3f__x8_.js.map