@adyen/bento-vue3 1.77.0 → 1.78.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 (89) hide show
  1. package/dist/@types/index.d.ts +145 -99
  2. package/dist/assets/accordion-item.css +1 -1
  3. package/dist/assets/action-bar.css +1 -1
  4. package/dist/assets/base-modal.css +1 -1
  5. package/dist/assets/button-actions.css +1 -1
  6. package/dist/assets/card.css +1 -1
  7. package/dist/assets/checkbox-group.css +1 -1
  8. package/dist/assets/data-grid.css +1 -1
  9. package/dist/assets/date-range-picker.css +1 -1
  10. package/dist/assets/dialog-page.css +1 -1
  11. package/dist/assets/file-uploader.css +1 -1
  12. package/dist/assets/filter-bar.css +1 -1
  13. package/dist/assets/index.css +1 -0
  14. package/dist/assets/inspector.css +1 -1
  15. package/dist/assets/modal-fullscreen.css +1 -1
  16. package/dist/assets/radio-group.css +1 -1
  17. package/dist/assets/selection-card-group.css +1 -1
  18. package/dist/assets/sidepanel.css +1 -1
  19. package/dist/checkbox.js +1 -1
  20. package/dist/chunks/checkbox-group.D56nUmre.js +176 -0
  21. package/dist/chunks/checkbox-group.D56nUmre.js.map +1 -0
  22. package/dist/chunks/{code-snippet.ByoBEM00.js → code-snippet.D1iNH2rn.js} +2 -2
  23. package/dist/chunks/{code-snippet.ByoBEM00.js.map → code-snippet.D1iNH2rn.js.map} +1 -1
  24. package/dist/chunks/{data-grid.CMIG82Xt.js → data-grid.D70AFJkA.js} +573 -568
  25. package/dist/chunks/data-grid.D70AFJkA.js.map +1 -0
  26. package/dist/chunks/{date-picker.CsGq3iSK.js → date-picker.De5ox4c1.js} +15 -15
  27. package/dist/chunks/{date-picker.CsGq3iSK.js.map → date-picker.De5ox4c1.js.map} +1 -1
  28. package/dist/chunks/date-range-picker.qXIfFq69.js +1100 -0
  29. package/dist/chunks/date-range-picker.qXIfFq69.js.map +1 -0
  30. package/dist/chunks/date-range-picker.types.Ckt7zxGy.js +5 -0
  31. package/dist/chunks/date-range-picker.types.Ckt7zxGy.js.map +1 -0
  32. package/dist/chunks/{dropdown-tag.B90dpg8J.js → dropdown-tag.D63up7xm.js} +2 -2
  33. package/dist/chunks/{dropdown-tag.B90dpg8J.js.map → dropdown-tag.D63up7xm.js.map} +1 -1
  34. package/dist/chunks/{dropdown.DYDHM__3.js → dropdown.cUORKsFC.js} +19 -19
  35. package/dist/chunks/{dropdown.DYDHM__3.js.map → dropdown.cUORKsFC.js.map} +1 -1
  36. package/dist/chunks/es6.MoTTyETW.js.map +1 -1
  37. package/dist/chunks/{filter-bar.CmF92iAr.js → filter-bar.CnKxMs_L.js} +84 -84
  38. package/dist/chunks/filter-bar.CnKxMs_L.js.map +1 -0
  39. package/dist/chunks/{header-with-views.xPfeOz0Y.js → header-with-views.C773fdiL.js} +2 -2
  40. package/dist/chunks/{header-with-views.xPfeOz0Y.js.map → header-with-views.C773fdiL.js.map} +1 -1
  41. package/dist/chunks/{input-field-password.BZBYVyAb.js → input-field-password.COET8hlJ.js} +3 -3
  42. package/dist/chunks/{input-field-password.BZBYVyAb.js.map → input-field-password.COET8hlJ.js.map} +1 -1
  43. package/dist/chunks/{input-field-phone-number.a8Mw5PAW.js → input-field-phone-number.rBDPxxxe.js} +3 -3
  44. package/dist/chunks/{input-field-phone-number.a8Mw5PAW.js.map → input-field-phone-number.rBDPxxxe.js.map} +1 -1
  45. package/dist/chunks/{input-field.CYGGIK48.js → input-field.GEIdI0nu.js} +2 -2
  46. package/dist/chunks/{input-field.CYGGIK48.js.map → input-field.GEIdI0nu.js.map} +1 -1
  47. package/dist/chunks/{pagination.CYdGcyMA.js → pagination.BZbMpRHw.js} +2 -2
  48. package/dist/chunks/{pagination.CYdGcyMA.js.map → pagination.BZbMpRHw.js.map} +1 -1
  49. package/dist/chunks/{radio-group.B_8R6vGx.js → radio-group.D3GbOHUx.js} +102 -101
  50. package/dist/chunks/radio-group.D3GbOHUx.js.map +1 -0
  51. package/dist/chunks/{search-bar.D3Ri_RUK.js → search-bar.eP4fk79T.js} +3 -3
  52. package/dist/chunks/{search-bar.D3Ri_RUK.js.map → search-bar.eP4fk79T.js.map} +1 -1
  53. package/dist/chunks/{secondary-nav.CAb20jWW.js → secondary-nav.CKA07_TU.js} +2 -2
  54. package/dist/chunks/{secondary-nav.CAb20jWW.js.map → secondary-nav.CKA07_TU.js.map} +1 -1
  55. package/dist/chunks/selection-card-group.B8Uoar3X.js +415 -0
  56. package/dist/chunks/{selection-card-group.F8alOPtl.js.map → selection-card-group.B8Uoar3X.js.map} +1 -1
  57. package/dist/code-snippet.js +1 -1
  58. package/dist/data-grid.js +1 -1
  59. package/dist/date-picker.js +1 -1
  60. package/dist/date-range-picker.js +5 -4
  61. package/dist/date-range-picker.js.map +1 -1
  62. package/dist/dropdown.js +2 -2
  63. package/dist/filter-bar.js +1 -1
  64. package/dist/header-with-views.js +1 -1
  65. package/dist/index.js +381 -356
  66. package/dist/index.js.map +1 -1
  67. package/dist/input-field-password.js +1 -1
  68. package/dist/input-field-phone-number.js +1 -1
  69. package/dist/input-field.js +1 -1
  70. package/dist/pagination.js +1 -1
  71. package/dist/radio-group.js +1 -1
  72. package/dist/search-bar.js +2 -2
  73. package/dist/secondary-nav.js +1 -1
  74. package/dist/selection-card.js +1 -1
  75. package/dist/styles/bento-dark.css +5 -0
  76. package/dist/styles/bento-light.css +5 -0
  77. package/dist/styles/bento.css +5 -0
  78. package/dist/styles/legacy.css +5 -0
  79. package/dist/styles/styleguide.css +5 -0
  80. package/dist/web-types.json +1 -1
  81. package/package.json +6 -6
  82. package/dist/chunks/checkbox-group.COUx8Ne8.js +0 -192
  83. package/dist/chunks/checkbox-group.COUx8Ne8.js.map +0 -1
  84. package/dist/chunks/data-grid.CMIG82Xt.js.map +0 -1
  85. package/dist/chunks/date-range-picker.C19CWG27.js +0 -1149
  86. package/dist/chunks/date-range-picker.C19CWG27.js.map +0 -1
  87. package/dist/chunks/filter-bar.CmF92iAr.js.map +0 -1
  88. package/dist/chunks/radio-group.B_8R6vGx.js.map +0 -1
  89. package/dist/chunks/selection-card-group.F8alOPtl.js +0 -412
@@ -1,21 +1,21 @@
1
- import { ref as y, onMounted as Ye, nextTick as _e, watch as Le, onUnmounted as cl, reactive as yt, toRefs as St, computed as C, watchEffect as mn, onBeforeUpdate as hn, createElementBlock as L, openBlock as u, mergeProps as ie, createCommentVNode as W, createElementVNode as R, toDisplayString as ee, defineComponent as ze, inject as Me, normalizeClass as ue, Fragment as be, renderList as Ae, unref as o, toHandlers as ft, createBlock as H, withCtx as V, createVNode as X, renderSlot as Ue, withModifiers as Cn, normalizeStyle as ke, resolveComponent as Oe, withDirectives as Lt, createTextVNode as he, vShow as _n, toRef as bt, resolveDirective as bn, Transition as fl, createSlots as Ke, resolveDynamicComponent as Xe, useSlots as pt, provide as rt, withKeys as Ft } from "vue";
1
+ import { ref as S, onMounted as Ye, nextTick as _e, watch as Le, onUnmounted as cl, reactive as St, toRefs as yt, computed as C, watchEffect as mn, onBeforeUpdate as hn, createElementBlock as L, openBlock as u, mergeProps as ie, createCommentVNode as W, createElementVNode as R, toDisplayString as ee, defineComponent as ze, inject as Me, normalizeClass as ce, Fragment as be, renderList as Ae, unref as o, toHandlers as ft, createBlock as G, withCtx as V, createVNode as X, renderSlot as Ue, withModifiers as Cn, normalizeStyle as ke, resolveComponent as Oe, withDirectives as Lt, createTextVNode as he, vShow as _n, toRef as bt, resolveDirective as bn, Transition as fl, createSlots as Ke, resolveDynamicComponent as Xe, useSlots as pt, provide as rt, withKeys as Ft } from "vue";
2
2
  import { C as wn } from "./checkmark-circle-fill._6-d40ru.js";
3
3
  import { W as En } from "./warning-filled.BMGD0G-_.js";
4
4
  /* empty css */
5
5
  import { _ as fe } from "./_plugin-vue_export-helper.CHgC5LLL.js";
6
6
  import { C as gl } from "./cross.B92GxFTY.js";
7
7
  import { N as Pt } from "./minus-small.DYIyF5XW.js";
8
- import { E as Ne, b as yn, T as Sn, B as Ln } from "./tooltip.Dp9_ESm_.js";
8
+ import { E as Ne, b as Sn, T as yn, B as Ln } from "./tooltip.Dp9_ESm_.js";
9
9
  import { d as pn } from "./popper-container.Uod3yjsR.js";
10
10
  import { B as Rn } from "./dashed-underline.r62L_XBr.js";
11
11
  import { B as et, p as vl } from "./typography.yBEME_Gu.js";
12
12
  import { u as Ve } from "./index.pdBj0KQU.js";
13
13
  import { B as An } from "./action-bar.BZ04Y7Yi.js";
14
- import { B as Tn } from "./pagination.CYdGcyMA.js";
14
+ import { B as Tn } from "./pagination.BZbMpRHw.js";
15
15
  import { B as ut } from "./loading-indicator.Db794TT5.js";
16
16
  import { u as Rt } from "./use-has-slot.B7eQSabc.js";
17
17
  import { g as ct } from "./generate-uid.NJ8tVoha.js";
18
- import { B as _t } from "./filter-bar.CmF92iAr.js";
18
+ import { B as _t } from "./filter-bar.CnKxMs_L.js";
19
19
  import { B as On } from "./empty-state.Be6M8ivH.js";
20
20
  import { E as Nn } from "./tabs.keys.Cb4Vw5Jh.js";
21
21
  import { D as In } from "./data-grid-template.keys.2_AkxuNT.js";
@@ -24,9 +24,9 @@ import { o as At } from "./resize.Bqks3WUm.js";
24
24
  import { f as wt, c as Tt, h as $n, a as Bt, b as Wt, O as Ht, D as kn } from "./button-actions.BQ3AFQqt.js";
25
25
  import { B as ml } from "./button.DhcxX2GJ.js";
26
26
  import { B as hl } from "./toggle.BHCUjMpp.js";
27
- import { B as Un } from "./search-bar.D3Ri_RUK.js";
27
+ import { B as Un } from "./search-bar.eP4fk79T.js";
28
28
  import { B as Mn } from "./directive.Cbdox5VL.js";
29
- import { u as zn } from "./dropdown.DYDHM__3.js";
29
+ import { u as zn } from "./dropdown.cUORKsFC.js";
30
30
  import { S as Fn } from "./search.PczW-onY.js";
31
31
  import { B as Cl } from "./checkbox.SffuKyNj.js";
32
32
  import { B as Pn } from "./info-icon.BhOm72U4.js";
@@ -54,8 +54,8 @@ const jt = (e) => {
54
54
  }
55
55
  const c = parseFloat(s.top);
56
56
  return !isNaN(c) && c < 0 && (i += c), i;
57
- }, qt = (e, s, i = y(!1), t = null) => {
58
- const c = y(0);
57
+ }, qt = (e, s, i = S(!1), t = null) => {
58
+ const c = S(0);
59
59
  let l = null, n = null;
60
60
  const v = () => {
61
61
  const g = s.value ? jt(e.value) : 0, _ = i.value && t ? jt(t.value) : 0;
@@ -84,7 +84,7 @@ const jt = (e) => {
84
84
  };
85
85
  var Et = /* @__PURE__ */ ((e) => (e.WRAP = "wrap", e.ELLIPSIS = "ellipsis", e))(Et || {}), ae = /* @__PURE__ */ ((e) => (e.COLUMN_RESIZE = "column-resize", e.COLUMN_RESIZING = "column-resizing", e.SELECT_ALL_ROWS = "select-all-rows", e.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", e.SELECT_ALL_CURRENT_RESULTS = "select-all-current-results", e.DESELECT_ALL = "deselect-all", e.DESELECT_ALL_CURRENT_RESULTS = "deselect-all-current-results", e.COLUMN_MOVE = "column-move", e.COLUMN_UPDATE = "column-update", e.COLUMN_MENU_OPEN = "column-menu-open", e.COLUMN_MENU_CLOSE = "column-menu-close", e.COLUMN_HOVER = "column-hover", e.COLUMN_DRAG_START = "column-dragstart", e.COLUMN_DRAG_ENTER = "column-dragenter", e.COLUMN_DRAG_END = "column-dragend", e.COLUMN_DROP = "column-drop", e))(ae || {}), $e = /* @__PURE__ */ ((e) => (e.OUTLINE = "outline", e.SCROLL = "scroll", e.STICKY_FILTERS = "sticky-filters", e.OVERFLOW_SHADOW_LEFT = "overflow-shadow-left", e.OVERFLOW_SHADOW_RIGHT = "overflow-shadow-right", e.NO_SPACING_TOP = "no-spacing-top", e.FIT_CONTENT = "fit-content", e.ZEBRA_ROWS = "zebra-rows", e))($e || {}), Ge = /* @__PURE__ */ ((e) => (e.ASCENDING = "asc", e.DESCENDING = "desc", e))(Ge || {}), F = /* @__PURE__ */ ((e) => (e.COLUMNS = "columns", e.COLUMN_RESIZE = "column-resize", e.ITEMS_PAGE = "items-page", e.NAVIGATE = "navigate", e.NESTED_CONTENT_TOGGLED = "nested-content-toggled", e.FILTER_SEARCH_INPUT = "filter-search-input", e.FILTER_SEARCH_CLEAR = "filter-search-clear", e.UPDATE_COLUMNS = "update:columns", e.UPDATE_CONDENSED = "update:condensed", e.UPDATE_FILTERS = "update:filters", e.UPDATE_FILTER_VALUES = "update:filter-values", e.UPDATE_FILTER_VALUES_OBJECT = "update:filter-values-object", e.UPDATE_FILTER_SEARCH_TERM = "update:filter-search-term", e.UPDATE_PAGINATION = "update:pagination", e.UPDATE_SELECTION = "update:selection", e.UPDATE_SHOW_MORE = "update:show-more", e.UPDATE_SORT_BY = "update:sort-by", e.UPDATE_ZEBRA_ROWS = "update:zebra-rows", e.ROW_CLICK = "row-click", e.SELECT = "select", e.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", e.SELECT_ALL_CURRENT_RESULTS = "select-all-current-results", e.DESELECT_ALL_CURRENT_RESULTS = "deselect-all-current-results", e.SORT = "sort", e))(F || {}), dt = /* @__PURE__ */ ((e) => (e.ASCENDING = "ascending", e.DESCENDING = "descending", e.NONE = "none", e))(dt || {});
86
86
  const jn = (e, s) => {
87
- const i = y(null), t = y(!1), c = y(void 0), l = e.value.reduce((O, $) => (O[$.field] = null, O), {}), n = yt(l), v = St(n);
87
+ const i = S(null), t = S(!1), c = S(void 0), l = e.value.reduce((O, $) => (O[$.field] = null, O), {}), n = St(l), v = yt(n);
88
88
  let g = 0, _ = "";
89
89
  const b = C(
90
90
  () => Object.fromEntries(e.value.map(({ field: O, width: $, minWidth: p }) => [O, { width: $, minWidth: p }]))
@@ -92,9 +92,9 @@ const jn = (e, s) => {
92
92
  mn(() => c.value = b.value);
93
93
  let N = null, D = null;
94
94
  const E = (O) => {
95
- const $ = O.clientX - g, p = _, k = c.value[p].width + $;
96
- c.value[p].width = k > b.value[p].minWidth ? k : b.value[p].minWidth, s(ae.COLUMN_RESIZING, c.value), g = O.clientX;
97
- }, r = () => {
95
+ const $ = O.clientX - g, p = _, U = c.value[p].width + $;
96
+ c.value[p].width = U > b.value[p].minWidth ? U : b.value[p].minWidth, s(ae.COLUMN_RESIZING, c.value), g = O.clientX;
97
+ }, d = () => {
98
98
  t.value = !1, N == null || N(), D == null || D(), _ && s(ae.COLUMN_RESIZE, {
99
99
  field: _,
100
100
  width: c.value[_].width
@@ -102,10 +102,10 @@ const jn = (e, s) => {
102
102
  }, A = (O, $, p) => {
103
103
  if (p.preventDefault(), O) {
104
104
  if (t.value = !0, p.buttons !== 1) {
105
- r();
105
+ d();
106
106
  return;
107
107
  }
108
- _ = $, g = p.clientX, N = Vt(window, "mousemove", E), D = Vt(window, "mouseup", r);
108
+ _ = $, g = p.clientX, N = Vt(window, "mousemove", E), D = Vt(window, "mouseup", d);
109
109
  }
110
110
  };
111
111
  return Le(
@@ -120,7 +120,7 @@ const jn = (e, s) => {
120
120
  isResizing: t,
121
121
  columnHoverEventToEmitAfterResizing: i
122
122
  };
123
- }, qn = 100, Kt = 50, Se = "b-actions-column", Kn = 42, Yn = 56, Jn = 56, Xn = 80, Qn = 36, eo = 1, bl = 16, to = 20, lo = (e, s, i) => {
123
+ }, qn = 100, Kt = 50, ye = "b-actions-column", Kn = 42, Yn = 56, Jn = 56, Xn = 80, Qn = 36, eo = 1, bl = 16, to = 20, lo = (e, s, i) => {
124
124
  const t = {}, c = [], l = (v) => {
125
125
  const g = t[v];
126
126
  g && g.frozen !== !0 && (t[v].frozen = !0, c.push(v));
@@ -158,7 +158,7 @@ const jn = (e, s) => {
158
158
  var s, i, t, c, l;
159
159
  return (s = e == null ? void 0 : e.hasNestedContent) != null && s.value || (i = e == null ? void 0 : e.hasNestedRows) != null && i.value ? (t = e == null ? void 0 : e.hasSelectableColumn) != null && t.value ? (c = e == null ? void 0 : e.hasSelectableAcrossPages) != null && c.value ? Xn : Jn : Qn : (l = e == null ? void 0 : e.hasSelectableAcrossPages) != null && l.value ? Yn : Kn;
160
160
  }, oo = (e, s, i, t, c, l) => {
161
- const n = y(e.value), v = y(s), g = y(i), _ = y(t), b = y(c), N = y(!1), D = y(0);
161
+ const n = S(e.value), v = S(s), g = S(i), _ = S(t), b = S(c), N = S(!1), D = S(0);
162
162
  Le(
163
163
  () => e.value,
164
164
  (a, f) => {
@@ -169,25 +169,25 @@ const jn = (e, s) => {
169
169
  return;
170
170
  }
171
171
  n.value = ((x = n.value) == null ? void 0 : x.length) === 0 ? e.value : e.value.sort((Z, le) => {
172
- const we = n.value.findIndex((re) => re.field === Z.field), ge = n.value.findIndex((re) => re.field === le.field);
172
+ const we = n.value.findIndex((de) => de.field === Z.field), ge = n.value.findIndex((de) => de.field === le.field);
173
173
  return we === -1 ? 1 : ge === -1 ? -1 : we - ge;
174
174
  });
175
175
  }
176
176
  );
177
- const E = y();
178
- let r = null;
177
+ const E = S();
178
+ let d = null;
179
179
  const A = C(() => {
180
- var we, ge, re;
180
+ var we, ge, de;
181
181
  const a = [];
182
182
  let f = 0, T = 0;
183
183
  const P = {};
184
184
  let x = n.value.filter((ne) => ne.visible !== !1);
185
185
  const Z = n.value.filter((ne) => ne.visible === !1);
186
- if ((we = l == null ? void 0 : l.hasSelectableColumn) != null && we.value || (ge = l == null ? void 0 : l.hasNestedContent) != null && ge.value || (re = l == null ? void 0 : l.hasNestedRows) != null && re.value) {
186
+ if ((we = l == null ? void 0 : l.hasSelectableColumn) != null && we.value || (ge = l == null ? void 0 : l.hasNestedContent) != null && ge.value || (de = l == null ? void 0 : l.hasNestedRows) != null && de.value) {
187
187
  const ne = no(l);
188
188
  x = [
189
189
  {
190
- field: Se,
190
+ field: ye,
191
191
  label: "",
192
192
  minWidth: ne,
193
193
  width: ne,
@@ -198,25 +198,25 @@ const jn = (e, s) => {
198
198
  ];
199
199
  }
200
200
  x.forEach((ne) => {
201
- const j = { ...ne };
201
+ const q = { ...ne };
202
202
  let pe;
203
- j.flex && j.flex > 0 ? (f += j.flex, pe = 0, a.push(j)) : pe = Math.max(
204
- (j == null ? void 0 : j.width) ?? qn,
205
- (j == null ? void 0 : j.minWidth) ?? Kt
206
- ), T += pe, j.width = pe, j.minWidth = (j == null ? void 0 : j.minWidth) ?? Kt, P[j.field] = j;
203
+ q.flex && q.flex > 0 ? (f += q.flex, pe = 0, a.push(q)) : pe = Math.max(
204
+ (q == null ? void 0 : q.width) ?? qn,
205
+ (q == null ? void 0 : q.minWidth) ?? Kt
206
+ ), T += pe, q.width = pe, q.minWidth = (q == null ? void 0 : q.minWidth) ?? Kt, P[q.field] = q;
207
207
  }), T += D.value;
208
208
  const le = Math.max(E.value - T, 0);
209
209
  if (f > 0 && E.value > 0) {
210
210
  const ne = lo(le, f, a);
211
- Object.keys(ne).forEach((j) => {
212
- P[j].width = ne[j].computedWidth;
211
+ Object.keys(ne).forEach((q) => {
212
+ P[q].width = ne[q].computedWidth;
213
213
  });
214
214
  }
215
215
  return Z.forEach((ne) => {
216
- const j = { ...ne };
217
- P[j.field] = j;
216
+ const q = { ...ne };
217
+ P[q.field] = q;
218
218
  }), Object.values(P);
219
- }), O = y(void 0), $ = (a) => {
219
+ }), O = S(void 0), $ = (a) => {
220
220
  O.value = { ...O.value, ...a };
221
221
  }, p = async () => {
222
222
  n.value.some((a) => a == null ? void 0 : a.autoWidth) && (N.value = !0, await _e(), await _e(), n == null || n.value.filter((a) => a == null ? void 0 : a.autoWidth).forEach(({ field: a, minWidth: f }) => {
@@ -225,7 +225,7 @@ const jn = (e, s) => {
225
225
  (Z = _.value) == null ? void 0 : Z[a],
226
226
  (le = l == null ? void 0 : l.hasColumnPanel) == null ? void 0 : le.value
227
227
  ), P = (ge = (we = b.value) == null ? void 0 : we[a]) == null ? void 0 : ge.reduce(
228
- (re, ne) => Math.max(re, Yt(ne)),
228
+ (de, ne) => Math.max(de, Yt(ne)),
229
229
  0
230
230
  ), x = Math.max(T, P ?? 0);
231
231
  (f === void 0 || x > f) && $({
@@ -238,7 +238,7 @@ const jn = (e, s) => {
238
238
  Le([() => n.value, () => v.value], async () => {
239
239
  n.value.some((a) => a == null ? void 0 : a.autoWidth) && await p();
240
240
  });
241
- const k = C(
241
+ const U = C(
242
242
  () => A.value.map((a) => {
243
243
  var f, T;
244
244
  return {
@@ -250,9 +250,9 @@ const jn = (e, s) => {
250
250
  ), m = C(
251
251
  () => {
252
252
  var a;
253
- return ((a = k.value) == null ? void 0 : a.filter(({ visible: f }) => f !== !1).reduce((f, T) => T.width + f, 0)) + D.value;
253
+ return ((a = U.value) == null ? void 0 : a.filter(({ visible: f }) => f !== !1).reduce((f, T) => T.width + f, 0)) + D.value;
254
254
  }
255
- ), U = C(
255
+ ), M = C(
256
256
  () => E.value <= m.value
257
257
  ), h = C(() => ({
258
258
  width: E.value > m.value ? "100%" : "fit-content"
@@ -265,7 +265,7 @@ const jn = (e, s) => {
265
265
  const T = Le(
266
266
  g,
267
267
  () => {
268
- g.value && (_e(() => T()), r = At(g.value, ({ width: P }) => {
268
+ g.value && (_e(() => T()), d = At(g.value, ({ width: P }) => {
269
269
  E.value = P - a;
270
270
  }));
271
271
  },
@@ -275,24 +275,24 @@ const jn = (e, s) => {
275
275
  p();
276
276
  }) : p();
277
277
  }), cl(() => {
278
- r == null || r.disconnect();
278
+ d == null || d.disconnect();
279
279
  }), hn(() => {
280
280
  var a;
281
281
  b.value && ((a = Object.keys(b.value)) == null ? void 0 : a.length) > 0 && Object.keys(b.value).forEach((T) => {
282
282
  b.value[T] = [];
283
283
  });
284
284
  }), {
285
- columnDefs: k,
285
+ columnDefs: U,
286
286
  gridRowWidthStyle: h,
287
287
  onColumnWidthOverride: $,
288
288
  isMeasuringColumnWidths: N,
289
- isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: U,
289
+ isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: M,
290
290
  columns: n,
291
291
  totalWidthOfAllColumns: m,
292
292
  rowActionsMaxWidth: D
293
293
  };
294
294
  }, so = (e, s, i, t, c, l, n) => {
295
- const v = y(e.value ?? []), g = yt({
295
+ const v = S(e.value ?? []), g = St({
296
296
  allItemsSelected: !1,
297
297
  isIndeterminate: !1
298
298
  }), _ = C(
@@ -320,9 +320,9 @@ const jn = (e, s) => {
320
320
  var a, f;
321
321
  return ((a = i.value) == null ? void 0 : a.length) > 0 && !((f = _.value) != null && f.filter((T) => !c(T)).some((T) => v.value.includes(t(T))));
322
322
  }
323
- ), r = C(() => {
323
+ ), d = C(() => {
324
324
  var a;
325
- return !(l != null && l.value) || ((a = n == null ? void 0 : n.value) == null ? void 0 : a.totalCount) === void 0 ? !1 : v.value.length >= n.value.totalCount;
325
+ return !(l != null && l.value) || ((a = n == null ? void 0 : n.value) == null ? void 0 : a.totalCount) === void 0 ? !1 : v.value.length >= n.value.totalCount && N.value;
326
326
  }), A = () => {
327
327
  s(F.SELECT, v.value), s(F.UPDATE_SELECTION, v.value);
328
328
  }, O = (a) => {
@@ -346,7 +346,7 @@ const jn = (e, s) => {
346
346
  _e(() => {
347
347
  O([]), A();
348
348
  });
349
- }, k = (a, f) => {
349
+ }, U = (a, f) => {
350
350
  _e(() => {
351
351
  var T;
352
352
  O(((T = f == null ? void 0 : f.children) == null ? void 0 : T.length) > 0 ? m(a, f) : a), A();
@@ -361,7 +361,7 @@ const jn = (e, s) => {
361
361
  }), Z;
362
362
  }
363
363
  return a.filter((Z) => !P.includes(Z));
364
- }, U = (a, f, T) => {
364
+ }, M = (a, f, T) => {
365
365
  _e(() => {
366
366
  var x, Z;
367
367
  const P = t(f);
@@ -371,7 +371,7 @@ const jn = (e, s) => {
371
371
  a.includes(P) && !((Z = f == null ? void 0 : f.children) != null && Z.every((le) => a.includes(t(le)))) ? a.filter((le) => le !== P) : a
372
372
  ), A();
373
373
  });
374
- }, h = C(() => r.value ? "all" : N.value ? "page" : !v.value || v.value.length === 0 ? "none" : E.value ? "unselected-page" : "single");
374
+ }, h = C(() => d.value ? "all" : N.value ? "page" : !v.value || v.value.length === 0 ? "none" : E.value ? "unselected-page" : "single");
375
375
  return Le(
376
376
  () => e.value,
377
377
  () => {
@@ -391,8 +391,8 @@ const jn = (e, s) => {
391
391
  }
392
392
  ), {
393
393
  onAllRowSelect: $,
394
- onRowSelect: k,
395
- onNestedRowSelect: U,
394
+ onRowSelect: U,
395
+ onNestedRowSelect: M,
396
396
  onDeselectAll: p,
397
397
  allItemsSelectedState: g,
398
398
  selectedItems: v,
@@ -411,10 +411,10 @@ const jn = (e, s) => {
411
411
  }];
412
412
  i("sort", g);
413
413
  } });
414
- var ye = ((e) => (e[e.ARROW_DOWN = Ne.ARROW_DOWN] = "ARROW_DOWN", e[e.ARROW_UP = Ne.ARROW_UP] = "ARROW_UP", e[e.ARROW_LEFT = Ne.ARROW_LEFT] = "ARROW_LEFT", e[e.ARROW_RIGHT = Ne.ARROW_RIGHT] = "ARROW_RIGHT", e[e.PAGE_UP = Ne.PAGE_UP] = "PAGE_UP", e[e.PAGE_DOWN = Ne.PAGE_DOWN] = "PAGE_DOWN", e[e.END = Ne.END] = "END", e[e.HOME = Ne.HOME] = "HOME", e))(ye || {});
414
+ var Se = ((e) => (e[e.ARROW_DOWN = Ne.ARROW_DOWN] = "ARROW_DOWN", e[e.ARROW_UP = Ne.ARROW_UP] = "ARROW_UP", e[e.ARROW_LEFT = Ne.ARROW_LEFT] = "ARROW_LEFT", e[e.ARROW_RIGHT = Ne.ARROW_RIGHT] = "ARROW_RIGHT", e[e.PAGE_UP = Ne.PAGE_UP] = "PAGE_UP", e[e.PAGE_DOWN = Ne.PAGE_DOWN] = "PAGE_DOWN", e[e.END = Ne.END] = "END", e[e.HOME = Ne.HOME] = "HOME", e))(Se || {});
415
415
  const Qe = "b-row-actions-column", io = (e, s, i, t, c, l) => {
416
416
  const n = C(() => l.value || t.value ? !0 : i.value.some((p) => p.infoIconTooltip || p.sortable)), v = C(() => {
417
- let p = i.value.filter(({ visible: k }) => k !== !1);
417
+ let p = i.value.filter(({ visible: U }) => U !== !1);
418
418
  return c.value && (p = [
419
419
  ...p,
420
420
  { field: Qe, label: "" }
@@ -425,60 +425,60 @@ const Qe = "b-row-actions-column", io = (e, s, i, t, c, l) => {
425
425
  const p = Object.keys(e.value)[0];
426
426
  if (!p || !e.value[p])
427
427
  return [];
428
- const k = [];
428
+ const U = [];
429
429
  if (n.value)
430
- for (const U of v.value) {
431
- const h = s.value[U.field];
432
- k.push(h);
430
+ for (const M of v.value) {
431
+ const h = s.value[M.field];
432
+ U.push(h);
433
433
  }
434
434
  const m = e.value[p].length;
435
- for (let U = 0; U < m; U++)
435
+ for (let M = 0; M < m; M++)
436
436
  for (const h of v.value) {
437
437
  const a = e.value[h.field];
438
- a != null && a[U] && k.push(a[U]);
438
+ a != null && a[M] && U.push(a[M]);
439
439
  }
440
- return k;
441
- }), b = (p) => Math.floor(p / g.value), N = (p, k, m) => {
442
- const U = _.value.length - 1, h = g.value - 1, a = b(p), f = p - g.value * a;
440
+ return U;
441
+ }), b = (p) => Math.floor(p / g.value), N = (p, U, m) => {
442
+ const M = _.value.length - 1, h = g.value - 1, a = b(p), f = p - g.value * a;
443
443
  return {
444
- [ye.PAGE_UP]: f + (n.value ? g.value : 0),
445
- [ye.PAGE_DOWN]: U - h + f,
446
- [ye.END]: m ? U : g.value * a + h,
447
- [ye.HOME]: m ? n.value ? g.value : 0 : g.value * a
448
- }[k];
449
- }, D = (p, k) => {
444
+ [Se.PAGE_UP]: f + (n.value ? g.value : 0),
445
+ [Se.PAGE_DOWN]: M - h + f,
446
+ [Se.END]: m ? M : g.value * a + h,
447
+ [Se.HOME]: m ? n.value ? g.value : 0 : g.value * a
448
+ }[U];
449
+ }, D = (p, U) => {
450
450
  const m = b(p), h = {
451
- [ye.ARROW_DOWN]: g.value,
452
- [ye.ARROW_UP]: m === 0 && !n.value ? 0 : -g.value,
453
- [ye.ARROW_LEFT]: -1,
454
- [ye.ARROW_RIGHT]: 1
455
- }[k], a = p + h;
451
+ [Se.ARROW_DOWN]: g.value,
452
+ [Se.ARROW_UP]: m === 0 && !n.value ? 0 : -g.value,
453
+ [Se.ARROW_LEFT]: -1,
454
+ [Se.ARROW_RIGHT]: 1
455
+ }[U], a = p + h;
456
456
  return a < 0 || a >= _.value.length ? p : a;
457
457
  }, E = (p) => [
458
- ye.PAGE_UP,
459
- ye.PAGE_DOWN,
460
- ye.END,
461
- ye.HOME
462
- ].includes(p), r = (p, k, m) => {
463
- const U = _.value.indexOf(p);
464
- return E(k) ? N(U, k, m) : D(U, k);
465
- }, A = (p, k, m) => {
458
+ Se.PAGE_UP,
459
+ Se.PAGE_DOWN,
460
+ Se.END,
461
+ Se.HOME
462
+ ].includes(p), d = (p, U, m) => {
463
+ const M = _.value.indexOf(p);
464
+ return E(U) ? N(M, U, m) : D(M, U);
465
+ }, A = (p, U, m) => {
466
466
  if (!_.value.includes(p))
467
467
  return;
468
- const U = r(p, k, m);
469
- _.value[U].focus();
470
- }, O = (p) => p in ye;
468
+ const M = d(p, U, m);
469
+ _.value[M].focus();
470
+ }, O = (p) => p in Se;
471
471
  return {
472
472
  isNavigationKeyCode: O,
473
473
  focusOnNextGridcell: A,
474
474
  navigationInput: (p) => {
475
- const { ctrlKey: k, key: m, target: U } = p, h = m;
476
- let a = U;
477
- a.getAttribute("role") !== "menuitem" && (_.value.includes(a) || (a = U.closest('[role="gridcell"], [role="columnheader"]')), _.value.includes(a) && O(h) && A(a, h, k));
475
+ const { ctrlKey: U, key: m, target: M } = p, h = m;
476
+ let a = M;
477
+ a.getAttribute("role") !== "menuitem" && (_.value.includes(a) || (a = M.closest('[role="gridcell"], [role="columnheader"]')), _.value.includes(a) && O(h) && A(a, h, U));
478
478
  }
479
479
  };
480
480
  }, ro = 90, uo = (e, s, i, t, c) => {
481
- const l = y(e), n = y(s), v = y(i), g = y(t), _ = C(() => l.value !== "none"), b = C(() => l.value === "automatic"), N = () => {
481
+ const l = S(e), n = S(s), v = S(i), g = S(t), _ = C(() => l.value !== "none"), b = C(() => l.value === "automatic"), N = () => {
482
482
  c(F.UPDATE_SHOW_MORE);
483
483
  };
484
484
  return Le(
@@ -488,37 +488,37 @@ const Qe = "b-row-actions-column", io = (e, s, i, t, c, l) => {
488
488
  }
489
489
  ), { isLazyLoad: _, isInfiniteScroll: b, verticalScrollPosition: n, emitLazyLoadEvent: N };
490
490
  }, co = (e, s, i) => {
491
- const t = y(e), c = y(s), l = yt({
491
+ const t = S(e), c = S(s), l = St({
492
492
  dragging: null,
493
493
  dragToLeft: null,
494
494
  target: null
495
- }), n = (E, r = 0) => {
496
- const A = t.value.findIndex((p) => p.field === E.field), O = A + r;
495
+ }), n = (E, d = 0) => {
496
+ const A = t.value.findIndex((p) => p.field === E.field), O = A + d;
497
497
  if (O < 0 || O > t.value.length - 1)
498
498
  return;
499
499
  const $ = [...t.value];
500
500
  $.splice(O, 0, $.splice(A, 1)[0]), i(F.COLUMNS, $), i(F.UPDATE_COLUMNS, $);
501
- }, v = (E, r) => {
502
- l.dragging = E, r.dataTransfer.setData("text", ""), r.dataTransfer.dropEffect = "move";
503
- }, g = (E, r) => {
501
+ }, v = (E, d) => {
502
+ l.dragging = E, d.dataTransfer.setData("text", ""), d.dataTransfer.dropEffect = "move";
503
+ }, g = (E, d) => {
504
504
  l.target = E;
505
- const A = r.currentTarget.getBoundingClientRect(), O = A.left + A.width / 2, $ = r.clientX ?? 0;
505
+ const A = d.currentTarget.getBoundingClientRect(), O = A.left + A.width / 2, $ = d.clientX ?? 0;
506
506
  l.dragToLeft = $ <= O;
507
507
  }, _ = (E) => {
508
- var r, A;
509
- if (((r = l.dragging) == null ? void 0 : r.field) !== E.field) {
508
+ var d, A;
509
+ if (((d = l.dragging) == null ? void 0 : d.field) !== E.field) {
510
510
  const O = t.value.findIndex((h) => {
511
511
  var a;
512
512
  return h.field === ((a = l.dragging) == null ? void 0 : a.field);
513
- }), $ = t.value.findIndex((h) => h.field === E.field), p = l.dragToLeft ? $ : $ + 1, k = p > O ? p - 1 : p;
513
+ }), $ = t.value.findIndex((h) => h.field === E.field), p = l.dragToLeft ? $ : $ + 1, U = p > O ? p - 1 : p;
514
514
  let m = [...t.value];
515
515
  m.splice(
516
- k === -1 ? 0 : k,
516
+ U === -1 ? 0 : U,
517
517
  0,
518
518
  m.splice(O, 1)[0]
519
519
  );
520
- const U = t.value.findIndex((h) => !(h != null && h.frozen));
521
- ((A = l.dragging) == null ? void 0 : A.frozen) !== E.frozen && p !== U && (m = m.map(
520
+ const M = t.value.findIndex((h) => !(h != null && h.frozen));
521
+ ((A = l.dragging) == null ? void 0 : A.frozen) !== E.frozen && p !== M && (m = m.map(
522
522
  (h) => {
523
523
  var a;
524
524
  return ((a = l.dragging) == null ? void 0 : a.field) === h.field ? { ...h, frozen: !!(E != null && E.frozen) } : h;
@@ -529,19 +529,19 @@ const Qe = "b-row-actions-column", io = (e, s, i, t, c, l) => {
529
529
  }, b = () => {
530
530
  l.dragging = null, l.dragToLeft = null, l.target = null;
531
531
  }, N = C(() => c.value ? {
532
- [ae.COLUMN_DRAG_START]: (E, r) => v(E, r),
533
- [ae.COLUMN_DRAG_ENTER]: (E, r) => g(E, r),
532
+ [ae.COLUMN_DRAG_START]: (E, d) => v(E, d),
533
+ [ae.COLUMN_DRAG_ENTER]: (E, d) => g(E, d),
534
534
  [ae.COLUMN_DROP]: (E) => _(E),
535
535
  [ae.COLUMN_DRAG_END]: () => b()
536
536
  } : {}), D = C(() => (E) => c.value ? {
537
- dragenter: (r) => {
538
- r.preventDefault(), g(E, r);
537
+ dragenter: (d) => {
538
+ d.preventDefault(), g(E, d);
539
539
  },
540
540
  drop: () => {
541
541
  _(E);
542
542
  },
543
- dragover: (r) => {
544
- r.preventDefault();
543
+ dragover: (d) => {
544
+ d.preventDefault();
545
545
  }
546
546
  } : {});
547
547
  return {
@@ -553,31 +553,31 @@ const Qe = "b-row-actions-column", io = (e, s, i, t, c, l) => {
553
553
  onMoveColumnByOffset: n
554
554
  };
555
555
  }, fo = (e, s, i) => {
556
- const t = y(e), c = y(s.value), l = C(
557
- () => [...t.value].sort((r, A) => r.frozen === A.frozen ? 0 : r.frozen ? -1 : 1)
556
+ const t = S(e), c = S(s.value), l = C(
557
+ () => [...t.value].sort((d, A) => d.frozen === A.frozen ? 0 : d.frozen ? -1 : 1)
558
558
  ), n = C(
559
- () => l.value.filter((r) => r.frozen && r.visible !== !1)
559
+ () => l.value.filter((d) => d.frozen && d.visible !== !1)
560
560
  ), v = C(
561
- () => l.value.filter((r) => !r.frozen && r.visible !== !1)
561
+ () => l.value.filter((d) => !d.frozen && d.visible !== !1)
562
562
  ), g = C(
563
563
  () => [
564
564
  { columnSet: n.value, id: "frozen", isFrozenColumns: !0 },
565
565
  { columnSet: v.value, id: "unfrozen" }
566
- ].filter(({ columnSet: r }) => r.length)
566
+ ].filter(({ columnSet: d }) => d.length)
567
567
  ), _ = C(
568
- () => t.value.filter((r) => (r == null ? void 0 : r.visible) !== !1 && (r == null ? void 0 : r.field) !== Se).length === 1
569
- ), b = (r) => i(F.UPDATE_CONDENSED, r), N = (r) => {
570
- c.value = r, i(F.UPDATE_ZEBRA_ROWS, r);
571
- }, D = (r) => {
572
- i(F.COLUMNS, r), i(F.UPDATE_COLUMNS, r);
573
- }, E = (r) => {
568
+ () => t.value.filter((d) => (d == null ? void 0 : d.visible) !== !1 && (d == null ? void 0 : d.field) !== ye).length === 1
569
+ ), b = (d) => i(F.UPDATE_CONDENSED, d), N = (d) => {
570
+ c.value = d, i(F.UPDATE_ZEBRA_ROWS, d);
571
+ }, D = (d) => {
572
+ i(F.COLUMNS, d), i(F.UPDATE_COLUMNS, d);
573
+ }, E = (d) => {
574
574
  const A = l.value.map(
575
- (O) => (O == null ? void 0 : O.field) === r.field ? r : O
575
+ (O) => (O == null ? void 0 : O.field) === d.field ? d : O
576
576
  );
577
577
  D(A);
578
578
  };
579
- return Le(s, (r) => {
580
- c.value = r;
579
+ return Le(s, (d) => {
580
+ c.value = d;
581
581
  }), {
582
582
  // Values
583
583
  columnSets: g,
@@ -591,28 +591,28 @@ const Qe = "b-row-actions-column", io = (e, s, i, t, c, l) => {
591
591
  onConfigSettingsZebraRowsUpdate: N
592
592
  };
593
593
  }, go = (e, s, i, t, c, l, n) => {
594
- const v = y(0), g = y(!1), _ = y(!1);
595
- Le([() => v.value, () => l.value], ([r]) => {
596
- e.value.scrollLeft = r, s.value.scrollLeft = r, g.value = !!r, _.value = s.value.scrollWidth - s.value.offsetWidth > r;
594
+ const v = S(0), g = S(!1), _ = S(!1);
595
+ Le([() => v.value, () => l.value], ([d]) => {
596
+ e.value.scrollLeft = d, s.value.scrollLeft = d, g.value = !!d, _.value = s.value.scrollWidth - s.value.offsetWidth > d;
597
597
  }), Ye(async () => {
598
- var r, A;
599
- await _e(), await _e(), ((r = s.value) == null ? void 0 : r.offsetWidth) < ((A = s.value) == null ? void 0 : A.scrollWidth) && (_.value = !0);
598
+ var d, A;
599
+ await _e(), await _e(), ((d = s.value) == null ? void 0 : d.offsetWidth) < ((A = s.value) == null ? void 0 : A.scrollWidth) && (_.value = !0);
600
600
  });
601
- const b = (r) => {
602
- if (v.value = r.target.scrollLeft, i.value = e.value.scrollHeight - r.target.scrollTop, t != null && t.value) {
603
- const A = r.target.scrollLeft;
601
+ const b = (d) => {
602
+ if (v.value = d.target.scrollLeft, i.value = e.value.scrollHeight - d.target.scrollTop, t != null && t.value) {
603
+ const A = d.target.scrollLeft;
604
604
  t.value.scrollLeft !== A && (t.value.scrollLeft = A);
605
605
  }
606
- }, N = (r) => {
607
- r.key === "Tab" || r.key !== "ArrowRight" && r.key !== "ArrowLeft" || (r.preventDefault(), e.value.scrollLeft = 0, e.value.style.overflowX = "hidden", setTimeout(() => {
606
+ }, N = (d) => {
607
+ d.key === "Tab" || d.key !== "ArrowRight" && d.key !== "ArrowLeft" || (d.preventDefault(), e.value.scrollLeft = 0, e.value.style.overflowX = "hidden", setTimeout(() => {
608
608
  e.value && (e.value.style.overflowX = "auto");
609
609
  }));
610
- }, D = (r) => {
611
- const A = r.target.scrollLeft;
610
+ }, D = (d) => {
611
+ const A = d.target.scrollLeft;
612
612
  e.value.scrollLeft !== A && (e.value.scrollLeft = A);
613
613
  }, E = C(() => {
614
- var r, A, O, $;
615
- return (r = n == null ? void 0 : n.pagination) != null && r.value && ((A = n == null ? void 0 : n.stickyPagination) != null && A.value || n != null && n.isDataGridTemplate) && !((O = n == null ? void 0 : n.isLazyLoad) != null && O.value) ? { bottom: `${((($ = c.value) == null ? void 0 : $.clientHeight) ?? 0) + 1}px` } : {};
614
+ var d, A, O, $;
615
+ return (d = n == null ? void 0 : n.pagination) != null && d.value && ((A = n == null ? void 0 : n.stickyPagination) != null && A.value || n != null && n.isDataGridTemplate) && !((O = n == null ? void 0 : n.isLazyLoad) != null && O.value) ? { bottom: `${((($ = c.value) == null ? void 0 : $.clientHeight) ?? 0) + 1}px` } : {};
616
616
  });
617
617
  return {
618
618
  // Values
@@ -626,21 +626,21 @@ const Qe = "b-row-actions-column", io = (e, s, i, t, c, l) => {
626
626
  syncVirtualScrollerWithBody: D
627
627
  };
628
628
  }, vo = (e, s, i, t) => {
629
- const c = y(null), l = C(() => {
629
+ const c = S(null), l = C(() => {
630
630
  var A, O, $, p;
631
- if (!c.value || c.value.field === Se)
631
+ if (!c.value || c.value.field === ye)
632
632
  return {
633
633
  hoveredOverColumnField: "",
634
634
  isSeparatorOffset: !1,
635
635
  noBorderLeft: !1,
636
636
  noBorderRight: !1
637
637
  };
638
- const n = (O = (A = e.value.find((k) => k.isFrozenColumns)) == null ? void 0 : A.columnSet) == null ? void 0 : O.filter((k) => k.field !== Se), v = e.value.find((k) => !(k != null && k.isFrozenColumns)), g = c.value.frozen && (n == null ? void 0 : n[0].field) === c.value.field, _ = !c.value.frozen && (($ = v == null ? void 0 : v.columnSet) == null ? void 0 : $[0].field) === c.value.field, b = (s.value || i.value) && g, N = (s.value || i.value) && !n && _, D = n && _, E = (n == null ? void 0 : n.length) > 0 && c.value.frozen && (n == null ? void 0 : n[n.length - 1].field) === c.value.field, r = i.value && t.value && !c.value.frozen && ((p = v == null ? void 0 : v.columnSet) == null ? void 0 : p[v.columnSet.length - 1].field) === c.value.field;
638
+ const n = (O = (A = e.value.find((U) => U.isFrozenColumns)) == null ? void 0 : A.columnSet) == null ? void 0 : O.filter((U) => U.field !== ye), v = e.value.find((U) => !(U != null && U.isFrozenColumns)), g = c.value.frozen && (n == null ? void 0 : n[0].field) === c.value.field, _ = !c.value.frozen && (($ = v == null ? void 0 : v.columnSet) == null ? void 0 : $[0].field) === c.value.field, b = (s.value || i.value) && g, N = (s.value || i.value) && !n && _, D = n && _, E = (n == null ? void 0 : n.length) > 0 && c.value.frozen && (n == null ? void 0 : n[n.length - 1].field) === c.value.field, d = i.value && t.value && !c.value.frozen && ((p = v == null ? void 0 : v.columnSet) == null ? void 0 : p[v.columnSet.length - 1].field) === c.value.field;
639
639
  return {
640
640
  hoveredOverColumnField: c.value.field,
641
- isSeparatorOffset: r,
641
+ isSeparatorOffset: d,
642
642
  noBorderLeft: !!b || !!N || !!D,
643
- noBorderRight: !!E || !!r
643
+ noBorderRight: !!E || !!d
644
644
  };
645
645
  });
646
646
  return {
@@ -736,8 +736,8 @@ const Eo = {
736
736
  beforeCreate() {
737
737
  this.uuid = Qt.toString(), Qt += 1;
738
738
  }
739
- }, yo = { key: 0 };
740
- function So(e, s, i, t, c, l) {
739
+ }, So = { key: 0 };
740
+ function yo(e, s, i, t, c, l) {
741
741
  return u(), L("svg", ie({ role: "img" }, e.$attrs, {
742
742
  class: "ui-assets-icons-16",
743
743
  xmlns: "http://www.w3.org/2000/svg",
@@ -745,14 +745,14 @@ function So(e, s, i, t, c, l) {
745
745
  height: "16",
746
746
  fill: "none"
747
747
  }), [
748
- e.$attrs["svg-title"] ? (u(), L("title", yo, ee(e.$attrs["svg-title"]), 1)) : W("", !0),
748
+ e.$attrs["svg-title"] ? (u(), L("title", So, ee(e.$attrs["svg-title"]), 1)) : W("", !0),
749
749
  s[0] || (s[0] = R("path", {
750
750
  fill: "#001222",
751
751
  d: "M12.1933 8.7454L7.93903 12.9996L8.99969 14.0603L15.0604 7.99963L8.99969 1.93896L7.93903 2.99963L12.1848 7.24541L1.24902 7.25658L1.25056 8.75658L12.1933 8.7454Z"
752
752
  }, null, -1))
753
753
  ], 16);
754
754
  }
755
- const Lo = /* @__PURE__ */ fe(Eo, [["render", So]]);
755
+ const Lo = /* @__PURE__ */ fe(Eo, [["render", yo]]);
756
756
  let el = 0;
757
757
  const po = {
758
758
  beforeCreate() {
@@ -888,7 +888,7 @@ function Vo(e, s, i, t, c, l) {
888
888
  }, null, -1))
889
889
  ], 16);
890
890
  }
891
- const xo = /* @__PURE__ */ fe(Ho, [["render", Vo]]), yl = {
891
+ const xo = /* @__PURE__ */ fe(Ho, [["render", Vo]]), Sl = {
892
892
  "en-US": {
893
893
  columnActions: "{name} column actions",
894
894
  deselectAll: "Deselect all",
@@ -926,7 +926,7 @@ const xo = /* @__PURE__ */ fe(Ho, [["render", Vo]]), yl = {
926
926
  selectAll: "Selecionar tudo",
927
927
  unfreezeColumn: "Descongelar coluna"
928
928
  }
929
- }, Sl = Symbol("data-grid slashed zero key"), tt = Symbol("data-grid small container key"), gt = Symbol("data-grid touch device key"), Zo = ["aria-colindex", "aria-label", "aria-sort", "data-testid", "draggable", "tabindex"], jo = { class: "b-data-grid-columns__select-column-menu-button" }, qo = ["aria-label"], Ko = { class: "b-data-grid-columns__label" }, Yo = {
929
+ }, yl = Symbol("data-grid slashed zero key"), tt = Symbol("data-grid small container key"), gt = Symbol("data-grid touch device key"), Zo = ["aria-colindex", "aria-label", "aria-sort", "data-testid", "draggable", "tabindex"], jo = { class: "b-data-grid-columns__select-column-menu-button" }, qo = ["aria-label"], Ko = { class: "b-data-grid-columns__label" }, Yo = {
930
930
  key: 0,
931
931
  class: "b-data-grid-columns__column-info-icon"
932
932
  }, Jo = {
@@ -936,7 +936,7 @@ const xo = /* @__PURE__ */ fe(Ho, [["render", Vo]]), yl = {
936
936
  key: 0,
937
937
  class: "b-data-grid-columns__column-separator"
938
938
  }, es = ["aria-label", "aria-colindex"], ts = {
939
- i18n: { messages: yl },
939
+ i18n: { messages: Sl },
940
940
  name: "data-grid-columns"
941
941
  }, ls = /* @__PURE__ */ ze({
942
942
  ...ts,
@@ -956,11 +956,11 @@ const xo = /* @__PURE__ */ fe(Ho, [["render", Vo]]), yl = {
956
956
  default: void 0
957
957
  },
958
958
  /**
959
- * If there are any active filters.
959
+ * Determines the state of the current results: { filtered: boolean, allItemsVisible: boolean } to render the correct select all menu options
960
960
  */
961
- hasActiveFilters: {
962
- type: Boolean,
963
- default: !1
961
+ visibleRowsState: {
962
+ type: Object,
963
+ default: void 0
964
964
  },
965
965
  /**
966
966
  * Toggle the columns draggable events.
@@ -1086,212 +1086,216 @@ const xo = /* @__PURE__ */ fe(Ho, [["render", Vo]]), yl = {
1086
1086
  },
1087
1087
  emits: ["sort", "column-hover"],
1088
1088
  setup(e, { expose: s, emit: i }) {
1089
- const t = e, c = i, l = 100, { t: n } = Ve({ messages: yl }), { columns: v, sortBy: g } = St(t), _ = y(), b = y({}), N = y({}), D = y(), E = y(), r = (d) => c(ae.SELECT_ALL_ROWS, d), A = (d) => d.field === Se, O = C(() => t.selectionState === "all"), $ = C(
1090
- () => [
1091
- {
1092
- text: n("selectPage"),
1093
- handler: () => r(!0),
1094
- disabled: t.selectionState === "page" || t.selectionState === "all"
1095
- },
1096
- t.hasActiveFilters ? {
1097
- text: n("selectAllCurrentResults"),
1098
- handler: () => c(ae.SELECT_ALL_CURRENT_RESULTS),
1099
- addDivider: t.selectionState !== "none",
1100
- disabled: t.selectionState === "all"
1101
- } : {
1102
- text: n("selectAll"),
1103
- handler: () => c(ae.SELECT_ALL_ACROSS_PAGES),
1104
- addDivider: t.selectionState !== "none",
1105
- disabled: t.selectionState === "all"
1106
- },
1107
- t.selectionState !== "none" && {
1108
- text: n("deselectPage"),
1109
- handler: () => r(!1),
1110
- addDivider: !t.hasActiveFilters,
1111
- // otherwise divider shown in deselect all in current results
1112
- disabled: t.selectionState === "unselected-page"
1113
- },
1114
- t.hasActiveFilters && t.selectionState !== "none" && {
1115
- text: n("deselectAllCurrentResults"),
1116
- handler: () => c(ae.DESELECT_ALL_CURRENT_RESULTS),
1117
- addDivider: !0
1118
- },
1119
- t.selectionState !== "none" && {
1120
- text: n("deselectAll"),
1121
- handler: () => c(ae.DESELECT_ALL)
1122
- }
1123
- ].filter(Boolean)
1124
- ), { startResize: p, isResizing: k, columnHoverEventToEmitAfterResizing: m } = jn(v, c), { isSorting: U, getSortingDirection: h, sortByColumnField: a } = ao(g, v, c), f = (d) => {
1089
+ const t = e, c = i, l = 100, { t: n } = Ve({ messages: Sl }), { columns: v, sortBy: g } = yt(t), _ = S(), b = S({}), N = S({}), D = S(), E = S(), d = (r) => c(ae.SELECT_ALL_ROWS, r), A = (r) => r.field === ye, O = C(() => t.selectionState === "all"), $ = C(
1090
+ () => {
1091
+ var r, H, k;
1092
+ return [
1093
+ {
1094
+ text: n("selectPage"),
1095
+ handler: () => d(!0),
1096
+ disabled: t.selectionState === "page" || t.selectionState === "all"
1097
+ },
1098
+ (r = t.visibleRowsState) != null && r.filtered ? {
1099
+ text: n("selectAllCurrentResults"),
1100
+ handler: () => c(ae.SELECT_ALL_CURRENT_RESULTS),
1101
+ addDivider: t.selectionState !== "none",
1102
+ disabled: t.selectionState === "all"
1103
+ } : {
1104
+ text: n("selectAll"),
1105
+ handler: () => c(ae.SELECT_ALL_ACROSS_PAGES),
1106
+ addDivider: t.selectionState !== "none",
1107
+ disabled: t.selectionState === "all"
1108
+ },
1109
+ t.selectionState !== "none" && {
1110
+ text: n("deselectPage"),
1111
+ handler: () => d(!1),
1112
+ addDivider: !((H = t.visibleRowsState) != null && H.filtered),
1113
+ // otherwise divider shown in deselect all in current results
1114
+ disabled: t.selectionState === "unselected-page"
1115
+ },
1116
+ ((k = t.visibleRowsState) == null ? void 0 : k.filtered) && t.selectionState !== "none" && {
1117
+ text: n("deselectAllCurrentResults"),
1118
+ handler: () => c(ae.DESELECT_ALL_CURRENT_RESULTS),
1119
+ addDivider: !0,
1120
+ disabled: t.selectionState === "unselected-page" && t.visibleRowsState.allRowsVisible
1121
+ },
1122
+ t.selectionState !== "none" && {
1123
+ text: n("deselectAll"),
1124
+ handler: () => c(ae.DESELECT_ALL)
1125
+ }
1126
+ ].filter(Boolean);
1127
+ }
1128
+ ), { startResize: p, isResizing: U, columnHoverEventToEmitAfterResizing: m } = jn(v, c), { isSorting: M, getSortingDirection: h, sortByColumnField: a } = ao(g, v, c), f = (r) => {
1125
1129
  var Ce;
1126
- if (!d.sortable)
1130
+ if (!r.sortable)
1127
1131
  return null;
1128
- const G = (Ce = t.sortBy.find(({ field: ve }) => ve === d.field)) == null ? void 0 : Ce.direction;
1129
- return G ? {
1132
+ const H = (Ce = t.sortBy.find(({ field: ve }) => ve === r.field)) == null ? void 0 : Ce.direction;
1133
+ return H ? {
1130
1134
  [Ge.ASCENDING]: dt.ASCENDING,
1131
1135
  [Ge.DESCENDING]: dt.DESCENDING
1132
- }[G] : dt.NONE;
1133
- }, T = C(() => (d) => t.hasDraggableColumns ? {
1134
- dragstart: (G) => {
1135
- c(ae.COLUMN_DRAG_START, d, G);
1136
+ }[H] : dt.NONE;
1137
+ }, T = C(() => (r) => t.hasDraggableColumns ? {
1138
+ dragstart: (H) => {
1139
+ c(ae.COLUMN_DRAG_START, r, H);
1136
1140
  },
1137
- dragover: (G) => {
1138
- G.preventDefault();
1141
+ dragover: (H) => {
1142
+ H.preventDefault();
1139
1143
  },
1140
- dragenter: (G) => {
1141
- G.preventDefault(), c(ae.COLUMN_DRAG_ENTER, d, G);
1144
+ dragenter: (H) => {
1145
+ H.preventDefault(), c(ae.COLUMN_DRAG_ENTER, r, H);
1142
1146
  },
1143
1147
  drop: () => {
1144
- c(ae.COLUMN_DROP, d);
1148
+ c(ae.COLUMN_DROP, r);
1145
1149
  },
1146
1150
  dragend: () => {
1147
1151
  c(ae.COLUMN_DRAG_END);
1148
1152
  }
1149
1153
  } : {}), P = C(
1150
- () => (d) => [
1154
+ () => (r) => [
1151
1155
  {
1152
1156
  text: n("moveColumnLeft"),
1153
- handler: () => c(ae.COLUMN_MOVE, d, -1),
1157
+ handler: () => c(ae.COLUMN_MOVE, r, -1),
1154
1158
  icon: Wn,
1155
- disabled: t.columns[0].field === d.field
1159
+ disabled: t.columns[0].field === r.field
1156
1160
  },
1157
1161
  {
1158
1162
  text: n("moveColumnRight"),
1159
- handler: () => c(ae.COLUMN_MOVE, d, 1),
1163
+ handler: () => c(ae.COLUMN_MOVE, r, 1),
1160
1164
  icon: Lo,
1161
- disabled: t.columns[t.columns.length - 1].field === d.field
1165
+ disabled: t.columns[t.columns.length - 1].field === r.field
1162
1166
  },
1163
- !re.value && {
1164
- text: d != null && d.frozen ? n("unfreezeColumn") : n("freezeColumn"),
1165
- handler: () => c(ae.COLUMN_UPDATE, { ...d, frozen: !(d != null && d.frozen) }),
1167
+ !de.value && {
1168
+ text: r != null && r.frozen ? n("unfreezeColumn") : n("freezeColumn"),
1169
+ handler: () => c(ae.COLUMN_UPDATE, { ...r, frozen: !(r != null && r.frozen) }),
1166
1170
  icon: El
1167
1171
  },
1168
1172
  {
1169
- text: (d == null ? void 0 : d.visible) !== !1 ? n("hideColumn") : n("showColumn"),
1173
+ text: (r == null ? void 0 : r.visible) !== !1 ? n("hideColumn") : n("showColumn"),
1170
1174
  handler: () => {
1171
1175
  c(ae.COLUMN_UPDATE, {
1172
- ...d,
1173
- visible: (d == null ? void 0 : d.visible) === !1
1176
+ ...r,
1177
+ visible: (r == null ? void 0 : r.visible) === !1
1174
1178
  });
1175
1179
  },
1176
- icon: (d == null ? void 0 : d.visible) !== !1 ? Hn : Gn,
1177
- disabled: (d == null ? void 0 : d.mandatory) || (d == null ? void 0 : d.visible) !== !1 && t.isOnlyOneVisibleColumn
1180
+ icon: (r == null ? void 0 : r.visible) !== !1 ? Hn : Gn,
1181
+ disabled: (r == null ? void 0 : r.mandatory) || (r == null ? void 0 : r.visible) !== !1 && t.isOnlyOneVisibleColumn
1178
1182
  }
1179
1183
  ].filter(Boolean)
1180
- ), x = (d) => {
1181
- D.value = d.field, E.value && clearTimeout(E.value);
1182
- }, Z = (d) => {
1183
- const G = setTimeout(() => {
1184
- d.field === D.value && (D.value = "");
1184
+ ), x = (r) => {
1185
+ D.value = r.field, E.value && clearTimeout(E.value);
1186
+ }, Z = (r) => {
1187
+ const H = setTimeout(() => {
1188
+ r.field === D.value && (D.value = "");
1185
1189
  }, l);
1186
- E.value = G;
1187
- }, le = (d) => {
1188
- let G = {
1190
+ E.value = H;
1191
+ }, le = (r) => {
1192
+ let H = {
1189
1193
  mouseenter: () => {
1190
- x(d), k.value ? m.value = d : c("column-hover", d);
1194
+ x(r), U.value ? m.value = r : c("column-hover", r);
1191
1195
  },
1192
1196
  mouseleave: () => {
1193
- Z(d), k.value ? m.value = null : c("column-hover", null);
1197
+ Z(r), U.value ? m.value = null : c("column-hover", null);
1194
1198
  },
1195
1199
  focus: () => {
1196
- x(d), A(d) && Ot(b.value[d.field]);
1200
+ x(r), A(r) && Ot(b.value[r.field]);
1197
1201
  },
1198
- focusout: (M) => {
1202
+ focusout: (k) => {
1199
1203
  var Ce;
1200
- (Ce = _.value) != null && Ce.contains(M == null ? void 0 : M.relatedTarget) || Z(d);
1204
+ (Ce = _.value) != null && Ce.contains(k == null ? void 0 : k.relatedTarget) || Z(r);
1201
1205
  }
1202
1206
  };
1203
- return A(d) || (G = {
1204
- ...G,
1205
- ...T.value(d)
1206
- }), G;
1207
- }, we = (d) => d.infoIconTooltip || d.sortable || t.hasColumnPanel, ge = (d, G) => {
1208
- var M;
1209
- ((M = b.value) == null ? void 0 : M[G]) === void 0 && (b.value = { ...b.value, [G]: null }), d !== null && (b.value[G] = d);
1210
- }, re = Me(
1207
+ return A(r) || (H = {
1208
+ ...H,
1209
+ ...T.value(r)
1210
+ }), H;
1211
+ }, we = (r) => r.infoIconTooltip || r.sortable || t.hasColumnPanel, ge = (r, H) => {
1212
+ var k;
1213
+ ((k = b.value) == null ? void 0 : k[H]) === void 0 && (b.value = { ...b.value, [H]: null }), r !== null && (b.value[H] = r);
1214
+ }, de = Me(
1211
1215
  tt,
1212
1216
  C(() => !1)
1213
- ), ne = Me(gt, y(!1)), j = C(() => {
1214
- var G;
1215
- const d = {
1217
+ ), ne = Me(gt, S(!1)), q = C(() => {
1218
+ var H;
1219
+ const r = {
1216
1220
  "b-data-grid-columns--is-measuring": t.isMeasuringColumnWidths
1217
1221
  };
1218
- return (G = v.value[0]) != null && G.frozen && !re.value ? {
1219
- ...d,
1222
+ return (H = v.value[0]) != null && H.frozen && !de.value ? {
1223
+ ...r,
1220
1224
  "b-data-grid-columns--frozen": !0,
1221
1225
  "b-data-grid-columns--frozen-separator": t.showFrozenColumnsSeparator,
1222
1226
  "b-data-grid-columns--overflow-shadow-left": t.hasLeftOverflow
1223
1227
  } : {
1224
- ...d,
1228
+ ...r,
1225
1229
  "b-data-grid-columns--unfrozen": !0
1226
1230
  };
1227
1231
  }), pe = C(() => ({
1228
1232
  "b-data-grid-columns__select-column--all": t.selectableAcrossPages
1229
- })), S = (d, G) => d && G === 0 ? Gt.BOTTOM_START : Gt.BOTTOM_END, J = (d, G) => {
1230
- var M, Ce, ve, w, z, te, oe, se, de, K;
1233
+ })), y = (r, H) => r && H === 0 ? Gt.BOTTOM_START : Gt.BOTTOM_END, J = (r, H) => {
1234
+ var k, Ce, ve, w, z, te, oe, se, ue, Y;
1231
1235
  return {
1232
- "b-data-grid-columns__column--column-hovered": d.field === t.hoveredOverColumnState.hoveredOverColumnField,
1233
- "b-data-grid-columns__column--column-hovered-no-border-left": d.field === t.hoveredOverColumnState.hoveredOverColumnField && t.hoveredOverColumnState.noBorderLeft,
1234
- "b-data-grid-columns__column--column-hovered-no-border-right": d.field === t.hoveredOverColumnState.hoveredOverColumnField && t.hoveredOverColumnState.noBorderRight,
1235
- "b-data-grid-columns__column--last-frozen-frozen-column": t.isFrozenColumns && G === v.value.length - 1,
1236
- "b-data-grid-columns__column--sortable": d.sortable,
1237
- "b-data-grid-columns__column--padding-left-unset": ((M = d == null ? void 0 : d.padding) == null ? void 0 : M.left) === !1,
1238
- "b-data-grid-columns__column--padding-right-unset": ((Ce = d == null ? void 0 : d.padding) == null ? void 0 : Ce.right) === !1,
1239
- "b-data-grid-columns__column--numeric": d == null ? void 0 : d.numeric,
1240
- "b-data-grid-columns__column--frozen": d == null ? void 0 : d.frozen,
1241
- "b-data-grid-columns__column--is-re-ordering": (d == null ? void 0 : d.field) === ((w = (ve = t.draggingColumns) == null ? void 0 : ve.dragging) == null ? void 0 : w.field),
1242
- "b-data-grid-columns__column--is-re-ordering-target-left": (d == null ? void 0 : d.field) === ((te = (z = t.draggingColumns) == null ? void 0 : z.target) == null ? void 0 : te.field) && ((oe = t.draggingColumns) == null ? void 0 : oe.dragToLeft),
1243
- "b-data-grid-columns__column--is-re-ordering-target-right": (d == null ? void 0 : d.field) === ((de = (se = t.draggingColumns) == null ? void 0 : se.target) == null ? void 0 : de.field) && !((K = t.draggingColumns) != null && K.dragToLeft),
1244
- "b-data-grid-columns__column--with-sorting-or-column-panel": d.sortable || d.infoIconTooltip || t.hasColumnPanel || t.selectableAcrossPages,
1245
- "b-data-grid-columns--small-container": re.value
1236
+ "b-data-grid-columns__column--column-hovered": r.field === t.hoveredOverColumnState.hoveredOverColumnField,
1237
+ "b-data-grid-columns__column--column-hovered-no-border-left": r.field === t.hoveredOverColumnState.hoveredOverColumnField && t.hoveredOverColumnState.noBorderLeft,
1238
+ "b-data-grid-columns__column--column-hovered-no-border-right": r.field === t.hoveredOverColumnState.hoveredOverColumnField && t.hoveredOverColumnState.noBorderRight,
1239
+ "b-data-grid-columns__column--last-frozen-frozen-column": t.isFrozenColumns && H === v.value.length - 1,
1240
+ "b-data-grid-columns__column--sortable": r.sortable,
1241
+ "b-data-grid-columns__column--padding-left-unset": ((k = r == null ? void 0 : r.padding) == null ? void 0 : k.left) === !1,
1242
+ "b-data-grid-columns__column--padding-right-unset": ((Ce = r == null ? void 0 : r.padding) == null ? void 0 : Ce.right) === !1,
1243
+ "b-data-grid-columns__column--numeric": r == null ? void 0 : r.numeric,
1244
+ "b-data-grid-columns__column--frozen": r == null ? void 0 : r.frozen,
1245
+ "b-data-grid-columns__column--is-re-ordering": (r == null ? void 0 : r.field) === ((w = (ve = t.draggingColumns) == null ? void 0 : ve.dragging) == null ? void 0 : w.field),
1246
+ "b-data-grid-columns__column--is-re-ordering-target-left": (r == null ? void 0 : r.field) === ((te = (z = t.draggingColumns) == null ? void 0 : z.target) == null ? void 0 : te.field) && ((oe = t.draggingColumns) == null ? void 0 : oe.dragToLeft),
1247
+ "b-data-grid-columns__column--is-re-ordering-target-right": (r == null ? void 0 : r.field) === ((ue = (se = t.draggingColumns) == null ? void 0 : se.target) == null ? void 0 : ue.field) && !((Y = t.draggingColumns) != null && Y.dragToLeft),
1248
+ "b-data-grid-columns__column--with-sorting-or-column-panel": r.sortable || r.infoIconTooltip || t.hasColumnPanel || t.selectableAcrossPages,
1249
+ "b-data-grid-columns--small-container": de.value
1246
1250
  };
1247
- }, q = (d) => ({
1248
- "b-data-grid-columns__column-header-and-actions--numeric": d == null ? void 0 : d.numeric
1249
- }), Q = (d) => ({
1250
- "b-data-grid-columns__column-actions--numeric": d == null ? void 0 : d.numeric
1251
- }), Be = (d) => ({
1251
+ }, K = (r) => ({
1252
+ "b-data-grid-columns__column-header-and-actions--numeric": r == null ? void 0 : r.numeric
1253
+ }), Q = (r) => ({
1254
+ "b-data-grid-columns__column-actions--numeric": r == null ? void 0 : r.numeric
1255
+ }), Be = (r) => ({
1252
1256
  "b-data-grid-columns__column-separator-container--is-resizeable": t.hasResizableColumns,
1253
- "b-data-grid-columns__column-separator-container--is-offset": t.hoveredOverColumnState.hoveredOverColumnField === d.field && t.hoveredOverColumnState.isSeparatorOffset
1257
+ "b-data-grid-columns__column-separator-container--is-offset": t.hoveredOverColumnState.hoveredOverColumnField === r.field && t.hoveredOverColumnState.isSeparatorOffset
1254
1258
  }), Te = C(() => ({
1255
1259
  "b-data-grid-columns__column-header--truncated": t.truncateColumnHeaders
1256
- })), Fe = (d) => ({
1257
- "b-data-grid-columns__menu--hovered": D.value === d.field || ne.value
1260
+ })), Fe = (r) => ({
1261
+ "b-data-grid-columns__menu--hovered": D.value === r.field || ne.value
1258
1262
  });
1259
1263
  return s({
1260
1264
  columnHeaderRefs: b
1261
- }), (d, G) => (u(), L("div", {
1265
+ }), (r, H) => (u(), L("div", {
1262
1266
  ref_key: "allColumnsRef",
1263
1267
  ref: _,
1264
- class: ue(["b-data-grid-columns", j.value]),
1268
+ class: ce(["b-data-grid-columns", q.value]),
1265
1269
  "data-testid": "data-grid-columns"
1266
1270
  }, [
1267
- (u(!0), L(be, null, Ae(o(v), (M, Ce) => (u(), L("div", ie({
1268
- key: M.field,
1271
+ (u(!0), L(be, null, Ae(o(v), (k, Ce) => (u(), L("div", ie({
1272
+ key: k.field,
1269
1273
  ref_for: !0,
1270
- ref: (ve) => ge(ve, M.field),
1274
+ ref: (ve) => ge(ve, k.field),
1271
1275
  "aria-colindex": Ce + 1,
1272
- "aria-label": M.label,
1273
- "aria-sort": f(M),
1274
- class: [J(M, Ce), "b-data-grid-columns__column"],
1275
- "data-testid": `${M.field}-column-header`,
1276
- draggable: e.hasDraggableColumns && !o(k) && !A(M),
1276
+ "aria-label": k.label,
1277
+ "aria-sort": f(k),
1278
+ class: [J(k, Ce), "b-data-grid-columns__column"],
1279
+ "data-testid": `${k.field}-column-header`,
1280
+ draggable: e.hasDraggableColumns && !o(U) && !A(k),
1277
1281
  role: "columnheader",
1278
- tabindex: M.sortable || e.hasColumnPanel || M.infoIconTooltip ? "0" : "-1",
1279
- style: { width: M.autoWidth && e.isMeasuringColumnWidths ? "auto" : `${M.width}px` }
1280
- }, ft(le(M), !0)), [
1281
- A(M) && e.selectable ? (u(), L("div", {
1282
+ tabindex: k.sortable || e.hasColumnPanel || k.infoIconTooltip ? "0" : "-1",
1283
+ style: { width: k.autoWidth && e.isMeasuringColumnWidths ? "auto" : `${k.width}px` }
1284
+ }, ft(le(k), !0)), [
1285
+ A(k) && e.selectable ? (u(), L("div", {
1282
1286
  key: 0,
1283
- class: ue(["b-data-grid-columns__select-column", pe.value])
1287
+ class: ce(["b-data-grid-columns__select-column", pe.value])
1284
1288
  }, [
1285
- e.selectableAcrossPages ? W("", !0) : (u(), H(o(Cl), {
1289
+ e.selectableAcrossPages ? W("", !0) : (u(), G(o(Cl), {
1286
1290
  key: 0,
1287
1291
  "aria-label": o(n)("selectAll"),
1288
1292
  "model-value": e.allItemsSelectedState.allItemsSelected,
1289
1293
  "data-testid": "checkbox-select-all",
1290
1294
  indeterminate: e.allItemsSelectedState.isIndeterminate,
1291
1295
  value: "data-grid-select-all",
1292
- "onUpdate:modelValue": r
1296
+ "onUpdate:modelValue": d
1293
1297
  }, null, 8, ["aria-label", "model-value", "indeterminate"])),
1294
- e.selectableAcrossPages ? (u(), H(o(wt), {
1298
+ e.selectableAcrossPages ? (u(), G(o(wt), {
1295
1299
  key: 1,
1296
1300
  button: { variant: "tertiary", condensed: !0, "aria-label": o(n)("selectAllMenu") },
1297
1301
  data: $.value,
@@ -1319,75 +1323,75 @@ const xo = /* @__PURE__ */ fe(Ho, [["render", Vo]]), yl = {
1319
1323
  }, 8, ["button", "data"])) : W("", !0)
1320
1324
  ], 2)) : (u(), L(be, { key: 1 }, [
1321
1325
  R("div", {
1322
- "aria-label": o(n)("columnActions", { name: M.label }),
1326
+ "aria-label": o(n)("columnActions", { name: k.label }),
1323
1327
  "aria-live": "polite",
1324
1328
  role: "region",
1325
- class: ue(["b-data-grid-columns__column-header-and-actions", q(M)])
1329
+ class: ce(["b-data-grid-columns__column-header-and-actions", K(k)])
1326
1330
  }, [
1327
1331
  X(o(et), {
1328
1332
  el: "div",
1329
1333
  strongest: "",
1330
- class: ue(["b-data-grid-columns__column-header", Te.value])
1334
+ class: ce(["b-data-grid-columns__column-header", Te.value])
1331
1335
  }, {
1332
1336
  default: V(() => [
1333
- Ue(d.$slots, `head-${M.field}`, { column: M }, () => [
1334
- R("span", Ko, ee(M.label), 1)
1337
+ Ue(r.$slots, `head-${k.field}`, { column: k }, () => [
1338
+ R("span", Ko, ee(k.label), 1)
1335
1339
  ], !0)
1336
1340
  ]),
1337
1341
  _: 2
1338
1342
  }, 1032, ["class"]),
1339
- we(M) ? (u(), L("div", {
1343
+ we(k) ? (u(), L("div", {
1340
1344
  key: 0,
1341
- class: ue(["b-data-grid-columns__column-actions", Q(M)])
1345
+ class: ce(["b-data-grid-columns__column-actions", Q(k)])
1342
1346
  }, [
1343
- M.infoIconTooltip ? (u(), L("div", Yo, [
1347
+ k.infoIconTooltip ? (u(), L("div", Yo, [
1344
1348
  X(o(Pn), {
1345
- "tooltip-text": M.infoIconTooltip
1349
+ "tooltip-text": k.infoIconTooltip
1346
1350
  }, null, 8, ["tooltip-text"])
1347
1351
  ])) : W("", !0),
1348
- M.sortable ? (u(), L("div", Jo, [
1352
+ k.sortable ? (u(), L("div", Jo, [
1349
1353
  X(o(Tt), {
1350
1354
  condensed: "",
1351
- toggled: o(U)(M.field),
1355
+ toggled: o(M)(k.field),
1352
1356
  variant: "tertiary",
1353
- onClick: (ve) => o(a)(M.field)
1357
+ onClick: (ve) => o(a)(k.field)
1354
1358
  }, {
1355
1359
  iconLeft: V(() => [
1356
- o(h)(M.field) ? o(h)(M.field) === o(Ge).ASCENDING ? (u(), H(o(Uo), {
1360
+ o(h)(k.field) ? o(h)(k.field) === o(Ge).ASCENDING ? (u(), G(o(Uo), {
1357
1361
  key: 1,
1358
- "svg-title": o(n)("sortColumnInDescendingOrder", { name: M.label })
1359
- }, null, 8, ["svg-title"])) : o(h)(M.field) === o(Ge).DESCENDING ? (u(), H(o(Wo), {
1362
+ "svg-title": o(n)("sortColumnInDescendingOrder", { name: k.label })
1363
+ }, null, 8, ["svg-title"])) : o(h)(k.field) === o(Ge).DESCENDING ? (u(), G(o(Wo), {
1360
1364
  key: 2,
1361
- "svg-title": o(n)("sortColumnInAscendingOrder", { name: M.label })
1362
- }, null, 8, ["svg-title"])) : W("", !0) : (u(), H(o(wo), {
1365
+ "svg-title": o(n)("sortColumnInAscendingOrder", { name: k.label })
1366
+ }, null, 8, ["svg-title"])) : W("", !0) : (u(), G(o(wo), {
1363
1367
  key: 0,
1364
- "svg-title": o(n)("sortColumn", { name: M.label })
1368
+ "svg-title": o(n)("sortColumn", { name: k.label })
1365
1369
  }, null, 8, ["svg-title"]))
1366
1370
  ]),
1367
1371
  _: 2
1368
1372
  }, 1032, ["toggled", "onClick"])
1369
1373
  ])) : W("", !0),
1370
- e.hasColumnPanel ? (u(), H(o(wt), {
1374
+ e.hasColumnPanel ? (u(), G(o(wt), {
1371
1375
  key: 2,
1372
1376
  ref_for: !0,
1373
- ref: (ve) => N.value[M.field] = ve,
1374
- class: ue(["b-data-grid-columns__menu", Fe(M)]),
1377
+ ref: (ve) => N.value[k.field] = ve,
1378
+ class: ce(["b-data-grid-columns__menu", Fe(k)]),
1375
1379
  "disable-arrow-down-opening-menu": "",
1376
- data: P.value(M),
1377
- "menu-position": S(e.hasFirstColumnPanelRightAligned, Ce),
1380
+ data: P.value(k),
1381
+ "menu-position": y(e.hasFirstColumnPanelRightAligned, Ce),
1378
1382
  "menu-fixed-positioning": !0,
1379
1383
  button: { variant: "tertiary", condensed: !0 },
1380
- onOpen: G[0] || (G[0] = (ve) => d.$emit(o(ae).COLUMN_MENU_OPEN)),
1381
- onClose: G[1] || (G[1] = (ve) => d.$emit(o(ae).COLUMN_MENU_CLOSE))
1384
+ onOpen: H[0] || (H[0] = (ve) => r.$emit(o(ae).COLUMN_MENU_OPEN)),
1385
+ onClose: H[1] || (H[1] = (ve) => r.$emit(o(ae).COLUMN_MENU_CLOSE))
1382
1386
  }, null, 8, ["class", "data", "menu-position"])) : W("", !0)
1383
1387
  ], 2)) : W("", !0)
1384
1388
  ], 10, qo),
1385
1389
  R("div", {
1386
- "data-testid": `data-grid-column-${M.field}`,
1387
- class: ue(["b-data-grid-columns__column-separator-container", Be(M)]),
1390
+ "data-testid": `data-grid-column-${k.field}`,
1391
+ class: ce(["b-data-grid-columns__column-separator-container", Be(k)]),
1388
1392
  role: "presentation",
1389
- onMousedown: (ve) => o(p)(e.hasResizableColumns, M.field, ve),
1390
- onClick: G[2] || (G[2] = Cn(() => {
1393
+ onMousedown: (ve) => o(p)(e.hasResizableColumns, k.field, ve),
1394
+ onClick: H[2] || (H[2] = Cn(() => {
1391
1395
  }, ["stop"]))
1392
1396
  }, [
1393
1397
  !e.isFrozenColumns || e.isFrozenColumns && Ce !== o(v).length - 1 ? (u(), L("div", Qo)) : W("", !0)
@@ -1395,12 +1399,12 @@ const xo = /* @__PURE__ */ fe(Ho, [["render", Vo]]), yl = {
1395
1399
  ], 64))
1396
1400
  ], 16, Zo))), 128)),
1397
1401
  e.rowActionsMaximumWidth && !e.isFrozenColumns ? (u(), L(be, { key: 0 }, [
1398
- G[3] || (G[3] = R("div", {
1402
+ H[3] || (H[3] = R("div", {
1399
1403
  role: "presentation",
1400
1404
  class: "b-data-grid-columns__row-actions-filler"
1401
1405
  }, null, -1)),
1402
1406
  R("div", {
1403
- ref: (M) => ge(M, o(Qe)),
1407
+ ref: (k) => ge(k, o(Qe)),
1404
1408
  "aria-label": o(n)("rowActionsColumn"),
1405
1409
  "aria-colindex": o(v).length + 1,
1406
1410
  class: "b-data-grid-columns__column",
@@ -1411,7 +1415,7 @@ const xo = /* @__PURE__ */ fe(Ho, [["render", Vo]]), yl = {
1411
1415
  ], 64)) : W("", !0)
1412
1416
  ], 2));
1413
1417
  }
1414
- }), ns = /* @__PURE__ */ fe(ls, [["__scopeId", "data-v-5e699776"]]);
1418
+ }), ns = /* @__PURE__ */ fe(ls, [["__scopeId", "data-v-ee88da0d"]]);
1415
1419
  var De = /* @__PURE__ */ ((e) => (e.UPDATE_CONDENSED = "update:condensed", e.UPDATE_COLUMNS = "update:columns", e.UPDATE_ZEBRA_ROWS = "update:zebra-rows", e))(De || {});
1416
1420
  let ol = 0;
1417
1421
  const os = {
@@ -1478,7 +1482,7 @@ const ds = /* @__PURE__ */ fe(os, [["render", rs]]), sl = {
1478
1482
  },
1479
1483
  emits: ["visible-column", "updated-column"],
1480
1484
  setup(e, { emit: s }) {
1481
- const { t: i } = Ve({ messages: sl }), t = y(!1), c = C(() => {
1485
+ const { t: i } = Ve({ messages: sl }), t = S(!1), c = C(() => {
1482
1486
  var D;
1483
1487
  return (D = e.column) == null ? void 0 : D.frozen;
1484
1488
  }), l = C(() => {
@@ -1536,7 +1540,7 @@ function cs(e, s, i, t, c, l) {
1536
1540
  }, 8, ["aria-label", "disabled", "value", "onInput"]),
1537
1541
  Lt(X(v, {
1538
1542
  "aria-label": e.t("toggleColumnFreeze", { label: e.column.label }),
1539
- class: ue(["b-data-grid-config-settings-column-row__freeze-icon", e.freezeIconConditionalClasses]),
1543
+ class: ce(["b-data-grid-config-settings-column-row__freeze-icon", e.freezeIconConditionalClasses]),
1540
1544
  onClick: e.toggleColumnFreeze
1541
1545
  }, null, 8, ["aria-label", "class", "onClick"]), [
1542
1546
  [_n, (e.isColumnFrozen || e.isFreezeIconOptionShown) && !e.isSmallContainer]
@@ -1616,9 +1620,9 @@ const fs = /* @__PURE__ */ fe(us, [["render", cs], ["__scopeId", "data-v-0769d04
1616
1620
  De.UPDATE_ZEBRA_ROWS
1617
1621
  ],
1618
1622
  setup(e, { emit: s }) {
1619
- const { t: i } = Ve({ messages: al }), t = y(null), c = ct("data-grid-config-settings-popover"), l = y(null), n = y(!1), v = y(!0), g = y(null), _ = y(""), b = bt(e, "columns"), N = y(!1), D = zn(_, b), E = () => {
1623
+ const { t: i } = Ve({ messages: al }), t = S(null), c = ct("data-grid-config-settings-popover"), l = S(null), n = S(!1), v = S(!0), g = S(null), _ = S(""), b = bt(e, "columns"), N = S(!1), D = zn(_, b), E = () => {
1620
1624
  _.value = "";
1621
- }, r = C(
1625
+ }, d = C(
1622
1626
  () => !e.columns.some((f) => f.visible === !1 && !f.mandatory)
1623
1627
  ), A = () => {
1624
1628
  E(), N.value = !N.value, N.value ? _e(() => {
@@ -1627,7 +1631,7 @@ const fs = /* @__PURE__ */ fe(us, [["render", cs], ["__scopeId", "data-v-0769d04
1627
1631
  }) : _e(() => {
1628
1632
  var f, T;
1629
1633
  return (T = (f = g == null ? void 0 : g.value) == null ? void 0 : f.$el) == null ? void 0 : T.focus();
1630
- }), v.value = r.value;
1634
+ }), v.value = d.value;
1631
1635
  }, O = (f) => f.mandatory ?? !1, $ = (f) => {
1632
1636
  const T = e.columns.map((P) => ({
1633
1637
  ...P,
@@ -1642,14 +1646,14 @@ const fs = /* @__PURE__ */ fe(us, [["render", cs], ["__scopeId", "data-v-0769d04
1642
1646
  De.UPDATE_COLUMNS,
1643
1647
  e.columns.map((T) => ({ ...T, visible: (T == null ? void 0 : T.mandatory) === !0 }))
1644
1648
  );
1645
- }, k = (f) => {
1649
+ }, U = (f) => {
1646
1650
  const T = e.columns.map((P) => ({
1647
1651
  ...P,
1648
1652
  frozen: f.field === P.field ? !!(f != null && f.frozen) : !!(P != null && P.frozen)
1649
1653
  }));
1650
1654
  s(De.UPDATE_COLUMNS, T);
1651
1655
  }, m = (f) => {
1652
- n.value = f, v.value = r.value;
1656
+ n.value = f, v.value = d.value;
1653
1657
  };
1654
1658
  return {
1655
1659
  // Values
@@ -1662,7 +1666,7 @@ const fs = /* @__PURE__ */ fe(us, [["render", cs], ["__scopeId", "data-v-0769d04
1662
1666
  isColumnVisibilityFilterShown: N,
1663
1667
  searchBarRef: l,
1664
1668
  searchButtonRef: g,
1665
- DATAGRID_ACTIONS_COLUMN_FIELD_NAME: Se,
1669
+ DATAGRID_ACTIONS_COLUMN_FIELD_NAME: ye,
1666
1670
  // Methods
1667
1671
  setConfigSettingsPanelVisibility: m,
1668
1672
  emitCondensedToggle: (f) => s(De.UPDATE_CONDENSED, f),
@@ -1670,7 +1674,7 @@ const fs = /* @__PURE__ */ fe(us, [["render", cs], ["__scopeId", "data-v-0769d04
1670
1674
  clearAction: E,
1671
1675
  toggleColumnFilter: A,
1672
1676
  emitVisibleColumns: $,
1673
- emitFrozenColumns: k,
1677
+ emitFrozenColumns: U,
1674
1678
  onClickOutside: () => m(!1),
1675
1679
  isColumnVisibilityToggleDisabled: O,
1676
1680
  emitZebraRowsToggle: (f) => s(De.UPDATE_ZEBRA_ROWS, f),
@@ -1681,7 +1685,7 @@ const fs = /* @__PURE__ */ fe(us, [["render", cs], ["__scopeId", "data-v-0769d04
1681
1685
  }), vs = { class: "b-data-grid-config-settings" }, ms = { class: "b-data-grid-config-settings__button-and-separator" }, hs = {
1682
1686
  ref: "configSettingsButtonRef",
1683
1687
  class: "b-data-grid-config-settings__button-container"
1684
- }, Cs = { class: "b-data-grid-config-settings__panel-header" }, _s = { class: "b-data-grid-config-settings__appearance" }, bs = { class: "b-data-grid-config-settings__appearance-button" }, ws = { class: "b-data-grid-config-settings__appearance-button" }, Es = { class: "b-data-grid-config-settings__column-visibility-settings" }, ys = { class: "b-data-grid-config-settings__column-visibility-header" }, Ss = {
1688
+ }, Cs = { class: "b-data-grid-config-settings__panel-header" }, _s = { class: "b-data-grid-config-settings__appearance" }, bs = { class: "b-data-grid-config-settings__appearance-button" }, ws = { class: "b-data-grid-config-settings__appearance-button" }, Es = { class: "b-data-grid-config-settings__column-visibility-settings" }, Ss = { class: "b-data-grid-config-settings__column-visibility-header" }, ys = {
1685
1689
  key: 0,
1686
1690
  class: "b-data-grid-config-settings__column-visibility-search"
1687
1691
  }, Ls = {
@@ -1689,7 +1693,7 @@ const fs = /* @__PURE__ */ fe(us, [["render", cs], ["__scopeId", "data-v-0769d04
1689
1693
  class: "b-data-grid-config-settings__column-visibility-show-all"
1690
1694
  }, ps = { class: "b-data-grid-config-settings__column-visibility-toggles" };
1691
1695
  function Rs(e, s, i, t, c, l) {
1692
- const n = Oe("bento-settings-icon"), v = Oe("bento-toggle-button"), g = Oe("bento-typography"), _ = Oe("bento-cross-icon"), b = Oe("bento-button"), N = Oe("bento-toggle"), D = Oe("bento-search-icon"), E = Oe("bento-search-bar"), r = Oe("bento-data-grid-config-settings-config-row"), A = Oe("bento-popover"), O = bn("bento-click-outside-directive");
1696
+ const n = Oe("bento-settings-icon"), v = Oe("bento-toggle-button"), g = Oe("bento-typography"), _ = Oe("bento-cross-icon"), b = Oe("bento-button"), N = Oe("bento-toggle"), D = Oe("bento-search-icon"), E = Oe("bento-search-bar"), d = Oe("bento-data-grid-config-settings-config-row"), A = Oe("bento-popover"), O = bn("bento-click-outside-directive");
1693
1697
  return Lt((u(), L("div", vs, [
1694
1698
  R("div", ms, [
1695
1699
  R("div", hs, [
@@ -1709,7 +1713,7 @@ function Rs(e, s, i, t, c, l) {
1709
1713
  }, 8, ["aria-controls", "toggled"])
1710
1714
  ], 512)
1711
1715
  ]),
1712
- e.configSettingsButtonRef ? (u(), H(A, {
1716
+ e.configSettingsButtonRef ? (u(), G(A, {
1713
1717
  key: 0,
1714
1718
  id: e.popoverId,
1715
1719
  open: e.isConfigSettingsPanelOpen,
@@ -1780,7 +1784,7 @@ function Rs(e, s, i, t, c, l) {
1780
1784
  ])
1781
1785
  ]),
1782
1786
  R("div", Es, [
1783
- R("div", ys, [
1787
+ R("div", Ss, [
1784
1788
  X(g, {
1785
1789
  class: "b-data-grid-config-settings__column-visibility-title",
1786
1790
  el: "span",
@@ -1791,7 +1795,7 @@ function Rs(e, s, i, t, c, l) {
1791
1795
  ]),
1792
1796
  _: 1
1793
1797
  }),
1794
- e.isColumnVisibilityFilterShown ? (u(), H(b, {
1798
+ e.isColumnVisibilityFilterShown ? (u(), G(b, {
1795
1799
  key: 1,
1796
1800
  variant: "tertiary",
1797
1801
  onClick: e.toggleColumnFilter
@@ -1803,7 +1807,7 @@ function Rs(e, s, i, t, c, l) {
1803
1807
  he(" " + ee(e.t("closeSearch")), 1)
1804
1808
  ]),
1805
1809
  _: 1
1806
- }, 8, ["onClick"])) : (u(), H(b, {
1810
+ }, 8, ["onClick"])) : (u(), G(b, {
1807
1811
  key: 0,
1808
1812
  ref: "searchButtonRef",
1809
1813
  variant: "tertiary",
@@ -1818,7 +1822,7 @@ function Rs(e, s, i, t, c, l) {
1818
1822
  _: 1
1819
1823
  }, 8, ["onClick"]))
1820
1824
  ]),
1821
- e.isColumnVisibilityFilterShown ? (u(), L("div", Ss, [
1825
+ e.isColumnVisibilityFilterShown ? (u(), L("div", ys, [
1822
1826
  X(E, {
1823
1827
  ref: "searchBarRef",
1824
1828
  value: e.searchTerm,
@@ -1843,7 +1847,7 @@ function Rs(e, s, i, t, c, l) {
1843
1847
  (u(!0), L(be, null, Ae(e.filteredColumnVisibilityColumns, ($) => (u(), L("div", {
1844
1848
  key: $.field
1845
1849
  }, [
1846
- $.field !== e.DATAGRID_ACTIONS_COLUMN_FIELD_NAME ? (u(), H(r, {
1850
+ $.field !== e.DATAGRID_ACTIONS_COLUMN_FIELD_NAME ? (u(), G(d, {
1847
1851
  key: 0,
1848
1852
  column: $,
1849
1853
  "is-column-visibility-toggle-disabled": e.isColumnVisibilityToggleDisabled($),
@@ -1851,7 +1855,7 @@ function Rs(e, s, i, t, c, l) {
1851
1855
  onUpdatedColumn: e.emitFrozenColumns
1852
1856
  }, null, 8, ["column", "is-column-visibility-toggle-disabled", "onVisibleColumn", "onUpdatedColumn"])) : W("", !0)
1853
1857
  ]))), 128)),
1854
- e.filteredColumnVisibilityColumns.length === 0 ? (u(), H(g, {
1858
+ e.filteredColumnVisibilityColumns.length === 0 ? (u(), G(g, {
1855
1859
  key: 0,
1856
1860
  el: "span",
1857
1861
  class: "b-data-grid-config-settings__column-visibility-empty-search-message"
@@ -1903,8 +1907,8 @@ const As = /* @__PURE__ */ fe(gs, [["render", Rs], ["__scopeId", "data-v-01dda33
1903
1907
  setup(e) {
1904
1908
  const { t: s } = Ve({ messages: vt });
1905
1909
  return (i, t) => (u(), L("div", Ts, [
1906
- i.loading && i.isInfiniteScroll ? (u(), H(o(ut), { key: 0 })) : W("", !0),
1907
- i.loading && !i.isInfiniteScroll ? (u(), H(o(Bt), {
1910
+ i.loading && i.isInfiniteScroll ? (u(), G(o(ut), { key: 0 })) : W("", !0),
1911
+ i.loading && !i.isInfiniteScroll ? (u(), G(o(Bt), {
1908
1912
  key: 1,
1909
1913
  variant: "secondary",
1910
1914
  state: o(Wt).LOADING
@@ -1914,7 +1918,7 @@ const As = /* @__PURE__ */ fe(gs, [["render", Rs], ["__scopeId", "data-v-01dda33
1914
1918
  ]),
1915
1919
  _: 1
1916
1920
  }, 8, ["state"])) : W("", !0),
1917
- !i.loading && !i.isInfiniteScroll ? (u(), H(o(Bt), {
1921
+ !i.loading && !i.isInfiniteScroll ? (u(), G(o(Bt), {
1918
1922
  key: 2,
1919
1923
  state: o(Wt).START,
1920
1924
  variant: "secondary",
@@ -2041,7 +2045,7 @@ const rl = /* @__PURE__ */ fe(Ds, [["render", ks]]), Ll = {
2041
2045
  },
2042
2046
  emits: ["menu-open", "menu-close", "menu-item-click"],
2043
2047
  setup(e, { emit: s }) {
2044
- const { t: i } = Ve({ messages: Ll }), t = e, c = s, l = Me(gt, y(!1)), n = (m) => {
2048
+ const { t: i } = Ve({ messages: Ll }), t = e, c = s, l = Me(gt, S(!1)), n = (m) => {
2045
2049
  if ("text" in m && m.text !== void 0)
2046
2050
  return m.text;
2047
2051
  switch (m.variant) {
@@ -2082,8 +2086,8 @@ const rl = /* @__PURE__ */ fe(Ds, [["render", ks]]), Ll = {
2082
2086
  return typeof m == "function";
2083
2087
  }
2084
2088
  const E = C(() => {
2085
- var U;
2086
- const m = D(t.cellActions) ? (U = t.cellActions) == null ? void 0 : U.call(t, t.rowDataItem, t.columnKey) : t.cellActions;
2089
+ var M;
2090
+ const m = D(t.cellActions) ? (M = t.cellActions) == null ? void 0 : M.call(t, t.rowDataItem, t.columnKey) : t.cellActions;
2087
2091
  if (l.value && !g.value && m) {
2088
2092
  const h = [];
2089
2093
  return m.forEach((a) => {
@@ -2108,8 +2112,8 @@ const rl = /* @__PURE__ */ fe(Ds, [["render", ks]]), Ll = {
2108
2112
  return !l.value && (m == null ? void 0 : m.length) > 2 && vl(
2109
2113
  "WARNING: BentoDataGrid Cell actions can only have a maximum of 2 actions, if you need more consider using the menuData property instead."
2110
2114
  ), m == null ? void 0 : m.slice(0, 2);
2111
- }), r = C(() => (m, U) => {
2112
- if (!(!U && m.isShort || U && !m.isShort))
2115
+ }), d = C(() => (m, M) => {
2116
+ if (!(!M && m.isShort || M && !m.isShort))
2113
2117
  switch (m.variant) {
2114
2118
  case "copy":
2115
2119
  return i("copy");
@@ -2123,22 +2127,22 @@ const rl = /* @__PURE__ */ fe(Ds, [["render", ks]]), Ll = {
2123
2127
  return m.title;
2124
2128
  }
2125
2129
  }), A = (m) => (m == null ? void 0 : m.event) !== void 0 ? {
2126
- click: (U) => {
2127
- U.stopPropagation(), m.event(t.rowDataItem, t.columnKey);
2130
+ click: (M) => {
2131
+ M.stopPropagation(), m.event(t.rowDataItem, t.columnKey);
2128
2132
  }
2129
2133
  } : {}, O = (m) => ({
2130
2134
  ...m,
2131
2135
  handler: () => {
2132
2136
  m != null && m.handler && typeof m.handler == "function" && (m == null || m.handler()), m != null && m.event && typeof m.event == "function" && (m == null || m.event(t.rowDataItem, t.columnKey));
2133
2137
  }
2134
- }), $ = (m) => m.map((U) => {
2135
- const h = U;
2138
+ }), $ = (m) => m.map((M) => {
2139
+ const h = M;
2136
2140
  return h != null && h.items && (h.items = $(h.items)), { ...O(h) };
2137
2141
  }), p = (m) => {
2138
- var U, h;
2139
- return (m == null ? void 0 : m.getCopyData) !== void 0 ? m.getCopyData(t.rowDataItem, t.columnKey) : t.columnKey ? (h = (U = t.rowDataItem) == null ? void 0 : U[t.columnKey]) == null ? void 0 : h.toString() : "";
2140
- }, k = (m) => m.iconLeft || (m == null ? void 0 : m.variant) === "more";
2141
- return (m, U) => (u(), H(fl, {
2142
+ var M, h;
2143
+ return (m == null ? void 0 : m.getCopyData) !== void 0 ? m.getCopyData(t.rowDataItem, t.columnKey) : t.columnKey ? (h = (M = t.rowDataItem) == null ? void 0 : M[t.columnKey]) == null ? void 0 : h.toString() : "";
2144
+ }, U = (m) => m.iconLeft || (m == null ? void 0 : m.variant) === "more";
2145
+ return (m, M) => (u(), G(fl, {
2142
2146
  name: "b-data-grid-cell-actions__animation",
2143
2147
  appear: ""
2144
2148
  }, {
@@ -2146,17 +2150,17 @@ const rl = /* @__PURE__ */ fe(Ds, [["render", ks]]), Ll = {
2146
2150
  R("div", Us, [
2147
2151
  N.value && !o(l) ? (u(), L("div", {
2148
2152
  key: 0,
2149
- class: ue(["b-data-grid-cell-actions__background-gradient", _.value])
2153
+ class: ce(["b-data-grid-cell-actions__background-gradient", _.value])
2150
2154
  }, null, 2)) : W("", !0),
2151
2155
  R("div", {
2152
- class: ue(["b-data-grid-cell-actions__actions", b.value]),
2156
+ class: ce(["b-data-grid-cell-actions__actions", b.value]),
2153
2157
  role: "group"
2154
2158
  }, [
2155
2159
  (u(!0), L(be, null, Ae(E.value, (h, a) => (u(), L("div", {
2156
2160
  key: a,
2157
2161
  class: "b-data-grid-cell-actions__action"
2158
2162
  }, [
2159
- h.menuData ? (u(), H(o(wt), {
2163
+ h.menuData ? (u(), G(o(wt), {
2160
2164
  key: 0,
2161
2165
  data: $(h.menuData),
2162
2166
  button: {
@@ -2166,19 +2170,19 @@ const rl = /* @__PURE__ */ fe(Ds, [["render", ks]]), Ll = {
2166
2170
  },
2167
2171
  "disable-arrow-down-opening-menu": e.disableArrowDownOpeningMenu,
2168
2172
  teleport: e.teleportMenu,
2169
- onOpen: U[0] || (U[0] = (f) => c("menu-open")),
2170
- onClose: U[1] || (U[1] = (f) => c("menu-close")),
2171
- onMenuItemClick: U[2] || (U[2] = (f) => c("menu-item-click"))
2173
+ onOpen: M[0] || (M[0] = (f) => c("menu-open")),
2174
+ onClose: M[1] || (M[1] = (f) => c("menu-close")),
2175
+ onMenuItemClick: M[2] || (M[2] = (f) => c("menu-item-click"))
2172
2176
  }, Ke({ _: 2 }, [
2173
- k(h) ? {
2177
+ U(h) ? {
2174
2178
  name: "iconLeft",
2175
2179
  fn: V(() => [
2176
- (h == null ? void 0 : h.variant) === "more" ? (u(), H(o(Ht), {
2180
+ (h == null ? void 0 : h.variant) === "more" ? (u(), G(o(Ht), {
2177
2181
  key: 0,
2178
- "svg-title": r.value(h, !0)
2179
- }, null, 8, ["svg-title"])) : (u(), H(Xe(h.iconLeft), {
2182
+ "svg-title": d.value(h, !0)
2183
+ }, null, 8, ["svg-title"])) : (u(), G(Xe(h.iconLeft), {
2180
2184
  key: 1,
2181
- "svg-title": r.value(h, !0)
2185
+ "svg-title": d.value(h, !0)
2182
2186
  }, null, 8, ["svg-title"]))
2183
2187
  ]),
2184
2188
  key: "0"
@@ -2186,19 +2190,19 @@ const rl = /* @__PURE__ */ fe(Ds, [["render", ks]]), Ll = {
2186
2190
  h != null && h.isShort ? void 0 : {
2187
2191
  name: "default",
2188
2192
  fn: V(() => [
2189
- he(ee(r.value(h)), 1)
2193
+ he(ee(d.value(h)), 1)
2190
2194
  ]),
2191
2195
  key: "1"
2192
2196
  }
2193
- ]), 1032, ["data", "button", "disable-arrow-down-opening-menu", "teleport"])) : h.variant === "copy" ? (u(), H(o(Zt), {
2197
+ ]), 1032, ["data", "button", "disable-arrow-down-opening-menu", "teleport"])) : h.variant === "copy" ? (u(), G(o(Zt), {
2194
2198
  key: 1,
2195
2199
  text: p(h),
2196
- "button-text": r.value(h),
2200
+ "button-text": d.value(h),
2197
2201
  button: {
2198
2202
  condensed: !0,
2199
2203
  variant: "secondary"
2200
2204
  }
2201
- }, null, 8, ["text", "button-text"])) : (u(), H(o(ml), ie({
2205
+ }, null, 8, ["text", "button-text"])) : (u(), G(o(ml), ie({
2202
2206
  key: 2,
2203
2207
  condensed: "",
2204
2208
  variant: "secondary",
@@ -2209,10 +2213,10 @@ const rl = /* @__PURE__ */ fe(Ds, [["render", ks]]), Ll = {
2209
2213
  h.iconLeft || h.variant === "edit" ? {
2210
2214
  name: "iconLeft",
2211
2215
  fn: V(() => [
2212
- (h == null ? void 0 : h.variant) === "edit" ? (u(), H(o(rl), {
2216
+ (h == null ? void 0 : h.variant) === "edit" ? (u(), G(o(rl), {
2213
2217
  key: 0,
2214
- "svg-title": r.value(h, !0)
2215
- }, null, 8, ["svg-title"])) : (u(), H(Xe(h.iconLeft), {
2218
+ "svg-title": d.value(h, !0)
2219
+ }, null, 8, ["svg-title"])) : (u(), G(Xe(h.iconLeft), {
2216
2220
  key: 1,
2217
2221
  "svg-title": h.title
2218
2222
  }, null, 8, ["svg-title"]))
@@ -2222,17 +2226,17 @@ const rl = /* @__PURE__ */ fe(Ds, [["render", ks]]), Ll = {
2222
2226
  h != null && h.isShort ? void 0 : {
2223
2227
  name: "default",
2224
2228
  fn: V(() => [
2225
- he(ee(r.value(h)), 1)
2229
+ he(ee(d.value(h)), 1)
2226
2230
  ]),
2227
2231
  key: "1"
2228
2232
  },
2229
2233
  h.iconRight || h.variant === "open" ? {
2230
2234
  name: "iconRight",
2231
2235
  fn: V(() => [
2232
- (h == null ? void 0 : h.variant) === "open" ? (u(), H(o(xt), {
2236
+ (h == null ? void 0 : h.variant) === "open" ? (u(), G(o(xt), {
2233
2237
  key: 0,
2234
- "svg-title": r.value(h, !0)
2235
- }, null, 8, ["svg-title"])) : (u(), H(Xe(h.iconRight), {
2238
+ "svg-title": d.value(h, !0)
2239
+ }, null, 8, ["svg-title"])) : (u(), G(Xe(h.iconRight), {
2236
2240
  key: 1,
2237
2241
  "svg-title": h.title
2238
2242
  }, null, 8, ["svg-title"]))
@@ -2408,29 +2412,29 @@ const dl = () => {
2408
2412
  },
2409
2413
  emits: ["on-frozen-columns-key-press", "select-row", "register-row-cell-element", "cell-hovered", "nested-content-toggled"],
2410
2414
  setup(e, { expose: s, emit: i }) {
2411
- const t = pt(), c = Rt(t), { t: l } = Ve({ messages: Rl }), n = e, v = i, g = y(null), _ = y(null), b = y(!1), N = y([]), D = y(!1), E = y(), r = y(!1), A = C(() => {
2412
- var S;
2413
- return !!((S = n.rowData) != null && S[n.column.field]);
2415
+ const t = pt(), c = Rt(t), { t: l } = Ve({ messages: Rl }), n = e, v = i, g = S(null), _ = S(null), b = S(!1), N = S([]), D = S(!1), E = S(), d = S(!1), A = C(() => {
2416
+ var y;
2417
+ return !!((y = n.rowData) != null && y[n.column.field]);
2414
2418
  }), O = C(
2415
2419
  () => {
2416
- var S;
2417
- return n.column.field === Se && ((S = n.nestedRowsElementIds) == null ? void 0 : S.length) > 0 ? n.nestedRowsElementIds.join(" ") : void 0;
2420
+ var y;
2421
+ return n.column.field === ye && ((y = n.nestedRowsElementIds) == null ? void 0 : y.length) > 0 ? n.nestedRowsElementIds.join(" ") : void 0;
2418
2422
  }
2419
2423
  ), $ = C(
2420
- () => n.column.field === Se && !n.selectable && !n.nestedContent
2421
- ), p = C(() => !$.value && (a(n.rowIndex, n.colIndex, n.columnSetIndex) === 0 && !r.value || D.value) ? "0" : (n.column.field === Se, "-1")), k = (S, J) => (S == null ? void 0 : S.overflow) === Et.ELLIPSIS ? `${J}` : void 0, m = (S) => S ?? "-", U = (S) => n.columnSets.slice(0, S).reduce((J, { columnSet: q }) => J + q.length, 0), h = (S, J) => S + U(J), a = (S, J, q) => U() * S + h(J, q), f = (S) => {
2424
+ () => n.column.field === ye && !n.selectable && !n.nestedContent
2425
+ ), p = C(() => !$.value && (a(n.rowIndex, n.colIndex, n.columnSetIndex) === 0 && !d.value || D.value) ? "0" : (n.column.field === ye, "-1")), U = (y, J) => (y == null ? void 0 : y.overflow) === Et.ELLIPSIS ? `${J}` : void 0, m = (y) => y ?? "-", M = (y) => n.columnSets.slice(0, y).reduce((J, { columnSet: K }) => J + K.length, 0), h = (y, J) => y + M(J), a = (y, J, K) => M() * y + h(J, K), f = (y) => {
2422
2426
  var J;
2423
- (S === null || !g.value.contains(S) && !((J = N.value) != null && J.map((q) => q.value).some((q) => q === S || (q == null ? void 0 : q.contains(S))))) && (b.value = !1);
2427
+ (y === null || !g.value.contains(y) && !((J = N.value) != null && J.map((K) => K.value).some((K) => K === y || (K == null ? void 0 : K.contains(y))))) && (b.value = !1);
2424
2428
  }, T = () => {
2425
2429
  b.value = !1;
2426
- }, P = y(!1), x = (S) => {
2430
+ }, P = S(!1), x = (y) => {
2427
2431
  const J = {
2428
- ...n.draggingEventsForRowCell(S),
2432
+ ...n.draggingEventsForRowCell(y),
2429
2433
  // Focus on the first interactive child in the grid cell if one exists
2430
2434
  focus: async () => {
2431
2435
  if (!dl())
2432
2436
  return;
2433
- D.value = !0, r.value = !0, wl(E.value), await _e(), Ot(g.value) && (P.value = !0);
2437
+ D.value = !0, d.value = !0, wl(E.value), await _e(), Ot(g.value) && (P.value = !0);
2434
2438
  },
2435
2439
  focusout: () => {
2436
2440
  dl() && (P.value = !1);
@@ -2438,18 +2442,18 @@ const dl = () => {
2438
2442
  keydown: (Q) => {
2439
2443
  Q.key !== Ne.TAB && (P.value = !1, D.value = !1, Ze(g.value));
2440
2444
  }
2441
- }, q = { ...J };
2442
- return S.frozen && (q.keyup = (Q) => v("on-frozen-columns-key-press", Q), q.keydown = (Q) => {
2445
+ }, K = { ...J };
2446
+ return y.frozen && (K.keyup = (Q) => v("on-frozen-columns-key-press", Q), K.keydown = (Q) => {
2443
2447
  J.keydown(Q), v("on-frozen-columns-key-press", Q);
2444
- }), S.cellActions && (q.mouseenter = () => {
2448
+ }), y.cellActions && (K.mouseenter = () => {
2445
2449
  b.value = !0;
2446
- }, q.mouseleave = (Q) => {
2450
+ }, K.mouseleave = (Q) => {
2447
2451
  f(Q == null ? void 0 : Q.relatedTarget);
2448
- }, q.focus = async (Q) => {
2452
+ }, K.focus = async (Q) => {
2449
2453
  J.focus(Q), await _e(), b.value = !0;
2450
- }, q.focusout = (Q) => {
2454
+ }, K.focusout = (Q) => {
2451
2455
  J.focusout(Q), f(Q == null ? void 0 : Q.relatedTarget);
2452
- }), q;
2456
+ }), K;
2453
2457
  };
2454
2458
  Ye(() => {
2455
2459
  E.value = Ze(g.value);
@@ -2463,45 +2467,45 @@ const dl = () => {
2463
2467
  b.value === !0 ? v("cell-hovered", n.rowIndex) : v("cell-hovered", -1);
2464
2468
  }
2465
2469
  ), rt(kn, {
2466
- registerMenuContainerElement: (S) => {
2467
- N.value.push(S);
2470
+ registerMenuContainerElement: (y) => {
2471
+ N.value.push(y);
2468
2472
  },
2469
- menuMouseLeave: (S) => {
2470
- g.value.contains(S == null ? void 0 : S.relatedTarget) || (b.value = !1);
2473
+ menuMouseLeave: (y) => {
2474
+ g.value.contains(y == null ? void 0 : y.relatedTarget) || (b.value = !1);
2471
2475
  }
2472
2476
  });
2473
- const ge = Me(Sl, y(!1)), re = Me(
2477
+ const ge = Me(yl, S(!1)), de = Me(
2474
2478
  tt,
2475
2479
  C(() => !1)
2476
- ), ne = Me(gt, y(!1)), j = (S) => {
2477
- var J, q, Q, Be, Te, Fe, d;
2480
+ ), ne = Me(gt, S(!1)), q = (y) => {
2481
+ var J, K, Q, Be, Te, Fe, r;
2478
2482
  return {
2479
- [`b-data-grid-cell--${me.COLUMN_HOVERED}`]: (S == null ? void 0 : S.field) === n.hoveredOverColumnState.hoveredOverColumnField,
2480
- [`b-data-grid-cell--${me.COLUMN_HOVERED_NO_BORDER_LEFT}`]: (S == null ? void 0 : S.field) === n.hoveredOverColumnState.hoveredOverColumnField && n.hoveredOverColumnState.noBorderLeft,
2481
- [`b-data-grid-cell--${me.COLUMN_HOVERED_NO_BORDER_RIGHT}`]: (S == null ? void 0 : S.field) === n.hoveredOverColumnState.hoveredOverColumnField && n.hoveredOverColumnState.noBorderRight,
2482
- [`b-data-grid-cell--${me.PADDING_LEFT_UNSET}`]: ((J = S == null ? void 0 : S.padding) == null ? void 0 : J.left) === !1,
2483
- [`b-data-grid-cell--${me.PADDING_RIGHT_UNSET}`]: ((q = S == null ? void 0 : S.padding) == null ? void 0 : q.right) === !1,
2484
- [`b-data-grid-cell--${me.NUMERIC}`]: S == null ? void 0 : S.numeric,
2483
+ [`b-data-grid-cell--${me.COLUMN_HOVERED}`]: (y == null ? void 0 : y.field) === n.hoveredOverColumnState.hoveredOverColumnField,
2484
+ [`b-data-grid-cell--${me.COLUMN_HOVERED_NO_BORDER_LEFT}`]: (y == null ? void 0 : y.field) === n.hoveredOverColumnState.hoveredOverColumnField && n.hoveredOverColumnState.noBorderLeft,
2485
+ [`b-data-grid-cell--${me.COLUMN_HOVERED_NO_BORDER_RIGHT}`]: (y == null ? void 0 : y.field) === n.hoveredOverColumnState.hoveredOverColumnField && n.hoveredOverColumnState.noBorderRight,
2486
+ [`b-data-grid-cell--${me.PADDING_LEFT_UNSET}`]: ((J = y == null ? void 0 : y.padding) == null ? void 0 : J.left) === !1,
2487
+ [`b-data-grid-cell--${me.PADDING_RIGHT_UNSET}`]: ((K = y == null ? void 0 : y.padding) == null ? void 0 : K.right) === !1,
2488
+ [`b-data-grid-cell--${me.NUMERIC}`]: y == null ? void 0 : y.numeric,
2485
2489
  [`b-data-grid-cell--${me.CONDENSED}`]: n.condensed,
2486
- [`b-data-grid-cell--${me.OVERFLOW_ELLIPSIS}`]: (S == null ? void 0 : S.overflow) === Et.ELLIPSIS,
2487
- [`b-data-grid-cell--${me.IS_COLUMN_REORDERING}`]: ((Q = n.draggingColumns.dragging) == null ? void 0 : Q.field) === S.field,
2488
- [`b-data-grid-cell--${me.IS_COLUMN_REORDERING_TARGET_LEFT}`]: ((Be = n.draggingColumns.target) == null ? void 0 : Be.field) === S.field && ((Te = n.draggingColumns) == null ? void 0 : Te.dragToLeft),
2489
- [`b-data-grid-cell--${me.IS_COLUMN_REORDERING_TARGET_RIGHT}`]: ((Fe = n.draggingColumns.target) == null ? void 0 : Fe.field) === S.field && !((d = n.draggingColumns) != null && d.dragToLeft),
2490
- [`b-data-grid-cell--${me.FROZEN}`]: S == null ? void 0 : S.frozen,
2490
+ [`b-data-grid-cell--${me.OVERFLOW_ELLIPSIS}`]: (y == null ? void 0 : y.overflow) === Et.ELLIPSIS,
2491
+ [`b-data-grid-cell--${me.IS_COLUMN_REORDERING}`]: ((Q = n.draggingColumns.dragging) == null ? void 0 : Q.field) === y.field,
2492
+ [`b-data-grid-cell--${me.IS_COLUMN_REORDERING_TARGET_LEFT}`]: ((Be = n.draggingColumns.target) == null ? void 0 : Be.field) === y.field && ((Te = n.draggingColumns) == null ? void 0 : Te.dragToLeft),
2493
+ [`b-data-grid-cell--${me.IS_COLUMN_REORDERING_TARGET_RIGHT}`]: ((Fe = n.draggingColumns.target) == null ? void 0 : Fe.field) === y.field && !((r = n.draggingColumns) != null && r.dragToLeft),
2494
+ [`b-data-grid-cell--${me.FROZEN}`]: y == null ? void 0 : y.frozen,
2491
2495
  [`b-data-grid-cell--${me.NESTED_CONTENT_ENABLED}`]: n.nestedContent,
2492
- [`b-data-grid-cell--${me.ACTION_COL_NESTED_CONTENT_ENABLED}`]: n.nestedContent && !n.selectable && S.field === Se,
2493
- [`b-data-grid-cell--${me.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED}`]: n.nestedContent && n.selectable && S.field === Se,
2494
- [`b-data-grid-cell--${me.ACTION_COL_SELECTION_ENABLED}`]: S.field === Se && n.selectable,
2496
+ [`b-data-grid-cell--${me.ACTION_COL_NESTED_CONTENT_ENABLED}`]: n.nestedContent && !n.selectable && y.field === ye,
2497
+ [`b-data-grid-cell--${me.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED}`]: n.nestedContent && n.selectable && y.field === ye,
2498
+ [`b-data-grid-cell--${me.ACTION_COL_SELECTION_ENABLED}`]: y.field === ye && n.selectable,
2495
2499
  [`b-data-grid-cell--${me.SLASHED_ZERO}`]: ge.value,
2496
- "b-data-grid-cell--small-container": re.value
2500
+ "b-data-grid-cell--small-container": de.value
2497
2501
  };
2498
2502
  }, pe = C(() => ({
2499
2503
  "b-data-grid-cell__cell-content--is-focused-on-inside-interactive-element": P.value
2500
2504
  }));
2501
2505
  return s({
2502
2506
  gridcellRef: g
2503
- }), (S, J) => {
2504
- var q;
2507
+ }), (y, J) => {
2508
+ var K;
2505
2509
  return u(), L("div", ie({
2506
2510
  key: `cell-${e.column.field}`,
2507
2511
  ref_key: "gridcellRef",
@@ -2509,7 +2513,7 @@ const dl = () => {
2509
2513
  "aria-hidden": $.value,
2510
2514
  "data-testid": `cell-${e.column.field}`,
2511
2515
  "data-cellindex": a(e.rowIndex, e.colIndex, e.columnSetIndex),
2512
- class: ["b-data-grid-cell", j(e.column)],
2516
+ class: ["b-data-grid-cell", q(e.column)],
2513
2517
  role: "gridcell",
2514
2518
  tabindex: p.value,
2515
2519
  "aria-colindex": h(e.colIndex, e.columnSetIndex) + 1,
@@ -2517,8 +2521,8 @@ const dl = () => {
2517
2521
  width: e.column.autoWidth && e.isMeasuringColumnWidths ? "auto" : `${e.column.width}px`
2518
2522
  }
2519
2523
  }, ft(x(e.column), !0)), [
2520
- e.column.field === o(Se) ? (u(), L(be, { key: 0 }, [
2521
- e.selectable ? (u(), H(o(Cl), {
2524
+ e.column.field === o(ye) ? (u(), L(be, { key: 0 }, [
2525
+ e.selectable ? (u(), G(o(Cl), {
2522
2526
  key: 0,
2523
2527
  class: "b-data-grid-cell__select-cell",
2524
2528
  "aria-label": o(l)("selectRow"),
@@ -2527,9 +2531,9 @@ const dl = () => {
2527
2531
  "model-value": e.selectedItems,
2528
2532
  value: e.getDataItemId(e.rowData),
2529
2533
  tabindex: D.value ? 0 : -1,
2530
- "onUpdate:modelValue": J[0] || (J[0] = (Q) => S.$emit("select-row", Q))
2534
+ "onUpdate:modelValue": J[0] || (J[0] = (Q) => y.$emit("select-row", Q))
2531
2535
  }, null, 8, ["aria-label", "disabled", "indeterminate", "model-value", "value", "tabindex"])) : W("", !0),
2532
- e.nestedContent ? (u(), H(o(Tt), {
2536
+ e.nestedContent ? (u(), G(o(Tt), {
2533
2537
  key: 1,
2534
2538
  ref: "menuButtonRef",
2535
2539
  "aria-haspopup": "true",
@@ -2540,11 +2544,11 @@ const dl = () => {
2540
2544
  onClick: Z
2541
2545
  }, {
2542
2546
  iconLeft: V(() => [
2543
- e.isNestedContentExpanded ? (u(), H(o(xn), {
2547
+ e.isNestedContentExpanded ? (u(), G(o(xn), {
2544
2548
  key: 0,
2545
2549
  class: "b-accordion-item__icon",
2546
2550
  "svg-title": o(l)("collapseNestedContent")
2547
- }, null, 8, ["svg-title"])) : (u(), H(o(Vn), {
2551
+ }, null, 8, ["svg-title"])) : (u(), G(o(Vn), {
2548
2552
  key: 1,
2549
2553
  class: "b-accordion-item__icon",
2550
2554
  "svg-title": o(l)("expandNestedContent")
@@ -2555,23 +2559,23 @@ const dl = () => {
2555
2559
  ], 64)) : (u(), L(be, { key: 1 }, [
2556
2560
  X(o(et), {
2557
2561
  el: "div",
2558
- class: ue(["b-data-grid-cell__cell-content", pe.value]),
2562
+ class: ce(["b-data-grid-cell__cell-content", pe.value]),
2559
2563
  "data-testid": "cell-content"
2560
2564
  }, {
2561
2565
  default: V(() => [
2562
- Ue(S.$slots, `item-${e.column.field}`, {
2566
+ Ue(y.$slots, `item-${e.column.field}`, {
2563
2567
  item: e.rowData,
2564
2568
  rowIndex: e.rowIndex
2565
2569
  }, () => [
2566
2570
  R("span", {
2567
- title: k(e.column, e.rowData[e.column.field])
2571
+ title: U(e.column, e.rowData[e.column.field])
2568
2572
  }, ee(m(e.rowData[e.column.field])), 9, Ps)
2569
2573
  ], !0)
2570
2574
  ]),
2571
2575
  _: 3
2572
2576
  }, 8, ["class"]),
2573
- ((q = e.column.cellActions) == null ? void 0 : q.length) > 0 ? (u(), L("div", Bs, [
2574
- (b.value || o(ne)) && (A.value || o(c)(`item-${e.column.field}`)) ? (u(), H(pl, {
2577
+ ((K = e.column.cellActions) == null ? void 0 : K.length) > 0 ? (u(), L("div", Bs, [
2578
+ (b.value || o(ne)) && (A.value || o(c)(`item-${e.column.field}`)) ? (u(), G(pl, {
2575
2579
  key: 0,
2576
2580
  ref_key: "cellActionsRef",
2577
2581
  ref: _,
@@ -2809,22 +2813,22 @@ const dl = () => {
2809
2813
  },
2810
2814
  emits: ["cell-hovered", "on-frozen-columns-key-press", "select-row", "select-nested-row", "row-click", "nested-content-toggled"],
2811
2815
  setup(e, { expose: s, emit: i }) {
2812
- const t = pt(), c = Rt(t), l = e, n = i, v = y({}), g = y(!1), _ = y(), b = y(), N = ct("nested-content-slot"), D = y(!1), E = y();
2816
+ const t = pt(), c = Rt(t), l = e, n = i, v = S({}), g = S(!1), _ = S(), b = S(), N = ct("nested-content-slot"), D = S(!1), E = S();
2813
2817
  Ye(() => {
2814
2818
  b.value && (E.value = Ze(b.value));
2815
2819
  });
2816
- const r = C(() => l.shouldShowNestedRows(l.rowData)), A = C(
2820
+ const d = C(() => l.shouldShowNestedRows(l.rowData)), A = C(
2817
2821
  () => {
2818
2822
  var w, z;
2819
- return !l.isNestedRow && l.hasNestedRows && r.value && ((z = (w = l.rowData) == null ? void 0 : w.children) == null ? void 0 : z.length) > 0;
2823
+ return !l.isNestedRow && l.hasNestedRows && d.value && ((z = (w = l.rowData) == null ? void 0 : w.children) == null ? void 0 : z.length) > 0;
2820
2824
  }
2821
2825
  ), O = C(
2822
2826
  () => {
2823
2827
  var w, z;
2824
- return !l.isNestedRow && l.hasNestedRows && r.value && (((w = l.rowData) == null ? void 0 : w.children) === void 0 || ((z = l == null ? void 0 : l.rowData) == null ? void 0 : z.children.length) === 0);
2828
+ return !l.isNestedRow && l.hasNestedRows && d.value && (((w = l.rowData) == null ? void 0 : w.children) === void 0 || ((z = l == null ? void 0 : l.rowData) == null ? void 0 : z.children.length) === 0);
2825
2829
  }
2826
2830
  ), $ = C(
2827
- () => l.hasNestedContent && l.shouldShowNestedContent(l.rowData) || l.hasNestedRows && r.value && !l.isNestedRow
2831
+ () => l.hasNestedContent && l.shouldShowNestedContent(l.rowData) || l.hasNestedRows && d.value && !l.isNestedRow
2828
2832
  ), p = C(() => {
2829
2833
  if (l.hasNestedContent || l.hasNestedRows) {
2830
2834
  const w = g.value.toString();
@@ -2836,7 +2840,7 @@ const dl = () => {
2836
2840
  };
2837
2841
  }
2838
2842
  return { "aria-rowindex": l.rowIndex + 1 };
2839
- }), k = C(() => {
2843
+ }), U = C(() => {
2840
2844
  if (O.value)
2841
2845
  return {
2842
2846
  "aria-busy": "true",
@@ -2854,7 +2858,7 @@ const dl = () => {
2854
2858
  }), m = C(() => {
2855
2859
  var w, z;
2856
2860
  return A.value ? (z = (w = l.rowData) == null ? void 0 : w.children) == null ? void 0 : z.reduce((te, oe, se) => (te[se] = ct("nested-row"), te), {}) : [];
2857
- }), U = C(() => {
2861
+ }), M = C(() => {
2858
2862
  var w;
2859
2863
  if (g.value) {
2860
2864
  if (l.hasNestedContent && l.shouldShowNestedContent(l.rowData))
@@ -2870,12 +2874,12 @@ const dl = () => {
2870
2874
  var z, te;
2871
2875
  const w = (te = (z = l.rowData) == null ? void 0 : z.children) == null ? void 0 : te.map((oe) => l.getDataItemId(oe));
2872
2876
  if ((w == null ? void 0 : w.length) > 0) {
2873
- const oe = w.every((de) => {
2874
- var K;
2875
- return (K = l == null ? void 0 : l.selectedItems) == null ? void 0 : K.includes(de);
2876
- }), se = w.some((de) => {
2877
- var K;
2878
- return (K = l == null ? void 0 : l.selectedItems) == null ? void 0 : K.includes(de);
2877
+ const oe = w.every((ue) => {
2878
+ var Y;
2879
+ return (Y = l == null ? void 0 : l.selectedItems) == null ? void 0 : Y.includes(ue);
2880
+ }), se = w.some((ue) => {
2881
+ var Y;
2882
+ return (Y = l == null ? void 0 : l.selectedItems) == null ? void 0 : Y.includes(ue);
2879
2883
  });
2880
2884
  return !oe && se;
2881
2885
  }
@@ -2911,16 +2915,16 @@ const dl = () => {
2911
2915
  }, ge = () => {
2912
2916
  var w;
2913
2917
  wl([(w = E.value) == null ? void 0 : w[0]]), Ot(b.value);
2914
- }, re = () => {
2918
+ }, de = () => {
2915
2919
  Ze(b.value);
2916
2920
  }, ne = (w) => {
2917
2921
  var z, te;
2918
2922
  w.key !== Ne.TAB && Ze(b.value), w.key === Ne.ARROW_RIGHT && ((z = E.value) == null ? void 0 : z.length) > 1 && E.value[0].node === document.activeElement ? (Ze(b.value), E.value[1].node.setAttribute("tabindex", "0"), E.value[1].node.focus(), w.stopPropagation(), w.preventDefault()) : w.key === Ne.ARROW_LEFT && ((te = E.value) == null ? void 0 : te.length) > 1 && E.value[1].node === document.activeElement && (Ze(b.value), E.value[0].node.setAttribute("tabindex", "0"), E.value[0].node.focus(), w.stopPropagation(), w.preventDefault());
2919
- }, j = () => l.columnSets.reduce((w, { columnSet: z }) => w + z.length, 0), pe = () => j() * l.rowIndex + j(), { updateContentHeight: S, contentHeight: J } = Zn(_, g), q = C(() => {
2923
+ }, q = () => l.columnSets.reduce((w, { columnSet: z }) => w + z.length, 0), pe = () => q() * l.rowIndex + q(), { updateContentHeight: y, contentHeight: J } = Zn(_, g), K = C(() => {
2920
2924
  var w;
2921
2925
  if (l.hasNestedContent || l.hasNestedRows)
2922
2926
  return {
2923
- paddingLeft: `${A.value || O.value ? 0 : v.value[Se].offsetWidth + bl}px`,
2927
+ paddingLeft: `${A.value || O.value ? 0 : v.value[ye].offsetWidth + bl}px`,
2924
2928
  "max-height": (l.hasNestedContent || l.hasNestedRows) && J.value && !((w = J == null ? void 0 : J.value) != null && w.includes("null")) ? J.value : 0
2925
2929
  };
2926
2930
  });
@@ -2929,12 +2933,12 @@ const dl = () => {
2929
2933
  () => {
2930
2934
  let w = null;
2931
2935
  !w && _.value && (w = At(_.value, () => {
2932
- _.value && S();
2936
+ _.value && y();
2933
2937
  }));
2934
2938
  }
2935
2939
  );
2936
2940
  const Q = () => {
2937
- g.value = !g.value, S(), n("nested-content-toggled", l.rowData);
2941
+ g.value = !g.value, y(), n("nested-content-toggled", l.rowData);
2938
2942
  };
2939
2943
  Le(
2940
2944
  () => {
@@ -2943,13 +2947,13 @@ const dl = () => {
2943
2947
  },
2944
2948
  (w, z) => {
2945
2949
  var te, oe;
2946
- ((oe = (te = l == null ? void 0 : l.rowData) == null ? void 0 : te.children) == null ? void 0 : oe.length) > 0 && z === void 0 && !g.value && S();
2950
+ ((oe = (te = l == null ? void 0 : l.rowData) == null ? void 0 : te.children) == null ? void 0 : oe.length) > 0 && z === void 0 && !g.value && y();
2947
2951
  }
2948
2952
  );
2949
2953
  const Be = Me(
2950
2954
  tt,
2951
2955
  C(() => !1)
2952
- ), Te = (w) => l.highlightedRows.includes(l.getDataItemId(w)), Fe = (w) => l.selectedItems.includes(l.getDataItemId(w)), d = (w, z) => ({
2956
+ ), Te = (w) => l.highlightedRows.includes(l.getDataItemId(w)), Fe = (w) => l.selectedItems.includes(l.getDataItemId(w)), r = (w, z) => ({
2953
2957
  "b-data-grid-row-container__row--disabled": l.isDataItemDisabled(w),
2954
2958
  "b-data-grid-row-container__row--row-clicks-enabled": l.allowRowClicks,
2955
2959
  "b-data-grid-row-container__row--highlighted": Te(w),
@@ -2958,13 +2962,13 @@ const dl = () => {
2958
2962
  "b-data-grid-row-container__row--is-last-child": l.isRowLastChild && !g.value,
2959
2963
  "b-data-grid-row-container__row--nested-row": l.isNestedRow,
2960
2964
  "b-data-grid-row-container__row--zebra": l.isRowEven
2961
- }), G = (w, z) => ({
2965
+ }), H = (w, z) => ({
2962
2966
  "b-data-grid-row-container__row-cell-set--frozen": w && !z,
2963
2967
  [`b-data-grid-row-container__row-cell-set--${$e.OVERFLOW_SHADOW_LEFT}`]: !z && w && l.hasLeftOverflow,
2964
2968
  "b-data-grid-row-container__row-cell-set--frozen-separator": !z && w && l.showFrozenColumnsSeparator,
2965
2969
  "b-data-grid-row-container__row-cell-set--unfrozen": !w || z,
2966
2970
  "b-data-grid-row-container__row-cell-set--is-measuring": l.isMeasuringColumnWidths
2967
- }), M = C(() => ({
2971
+ }), k = C(() => ({
2968
2972
  "b-data-grid-row-container__row-nested-slot--is-last-child": l.isRowLastChild,
2969
2973
  "b-data-grid-row-container__row-nested-slot": !A.value && l.shouldShowNestedContent(l.rowData)
2970
2974
  })), Ce = C(() => ({
@@ -2981,7 +2985,7 @@ const dl = () => {
2981
2985
  (u(), L("div", ie(p.value, {
2982
2986
  id: (te = e.rowId) == null ? void 0 : te.toString(),
2983
2987
  key: e.rowIndex,
2984
- class: ["b-data-grid-row-container__row", d(e.rowData, e.rowIndex)],
2988
+ class: ["b-data-grid-row-container__row", r(e.rowData, e.rowIndex)],
2985
2989
  role: "row",
2986
2990
  "aria-selected": T(e.rowData),
2987
2991
  onClick: P,
@@ -2990,19 +2994,19 @@ const dl = () => {
2990
2994
  Ft(P, ["space"])
2991
2995
  ]
2992
2996
  }), [
2993
- (u(!0), L(be, null, Ae(e.columnSets, ({ columnSet: oe, id: se, isFrozenColumns: de }, K) => (u(), L(be, null, [
2997
+ (u(!0), L(be, null, Ae(e.columnSets, ({ columnSet: oe, id: se, isFrozenColumns: ue }, Y) => (u(), L(be, null, [
2994
2998
  oe != null && oe.length ? (u(), L("div", {
2995
2999
  key: `data-grid-rows-${se}`,
2996
- class: ue(["b-data-grid-row-container__cells", G(de, o(Be))]),
3000
+ class: ce(["b-data-grid-row-container__cells", H(ue, o(Be))]),
2997
3001
  "data-testid": `data-grid-${se}-rows`
2998
3002
  }, [
2999
- (u(!0), L(be, null, Ae(oe, (We, mt) => (u(), H(Gs, {
3003
+ (u(!0), L(be, null, Ae(oe, (We, mt) => (u(), G(Gs, {
3000
3004
  key: `cell-${We.field}`,
3001
3005
  ref_for: !0,
3002
3006
  ref: (He) => a(He, We.field),
3003
3007
  class: "b-data-grid-row-container__cell",
3004
3008
  column: We,
3005
- "column-set-index": K,
3009
+ "column-set-index": Y,
3006
3010
  "col-index": mt,
3007
3011
  "column-sets": e.columnSets,
3008
3012
  condensed: e.condensed,
@@ -3017,7 +3021,7 @@ const dl = () => {
3017
3021
  "is-measuring-column-widths": e.isMeasuringColumnWidths,
3018
3022
  "is-nested-content-expanded": g.value,
3019
3023
  "nested-content": $.value,
3020
- "nested-rows-element-ids": U.value,
3024
+ "nested-rows-element-ids": M.value,
3021
3025
  "row-data": e.rowData,
3022
3026
  "row-index": e.rowIndex,
3023
3027
  "selection-is-indeterminate": h.value,
@@ -3036,19 +3040,19 @@ const dl = () => {
3036
3040
  }))
3037
3041
  ]), 1032, ["column", "column-set-index", "col-index", "column-sets", "condensed", "dragging-columns", "dragging-events-for-row-cell", "get-data-item-id", "has-zebra-background", "is-highlighted", "is-selected", "hovered-over-column-state", "is-data-item-disabled", "is-measuring-column-widths", "is-nested-content-expanded", "nested-content", "nested-rows-element-ids", "row-data", "row-index", "selection-is-indeterminate", "selectable", "selected-items"]))), 128))
3038
3042
  ], 10, Zs)) : W("", !0),
3039
- !de && e.rowActions ? (u(), L("div", {
3043
+ !ue && e.rowActions ? (u(), L("div", {
3040
3044
  key: `data-grid-row-actions-${se}`,
3041
3045
  ref_for: !0,
3042
3046
  ref_key: "rowActionsRef",
3043
3047
  ref: b,
3044
- "aria-colindex": j().toString(),
3045
- class: ue(["b-data-grid-row-container__row-actions-container", Ce.value]),
3048
+ "aria-colindex": q().toString(),
3049
+ class: ce(["b-data-grid-row-container__row-actions-container", Ce.value]),
3046
3050
  style: ke(ve.value),
3047
3051
  "data-cellindex": pe(),
3048
3052
  tabindex: "-1",
3049
3053
  role: "gridcell",
3050
3054
  onFocus: ge,
3051
- "on:focusOut": re,
3055
+ "on:focusOut": de,
3052
3056
  onKeydown: ne
3053
3057
  }, [
3054
3058
  X(pl, {
@@ -3064,16 +3068,16 @@ const dl = () => {
3064
3068
  ], 46, js)) : W("", !0)
3065
3069
  ], 64))), 256))
3066
3070
  ], 16, xs)),
3067
- e.hasNestedContent && o(c)("nested-slot") && e.shouldShowNestedContent(e.rowData) || e.hasNestedRows && r.value ? (u(), H(fl, {
3071
+ e.hasNestedContent && o(c)("nested-slot") && e.shouldShowNestedContent(e.rowData) || e.hasNestedRows && d.value ? (u(), G(fl, {
3068
3072
  key: `${e.rowIndex}-nest-content`,
3069
3073
  name: "b-data-grid-row-container__animation--nested-content"
3070
3074
  }, {
3071
3075
  default: V(() => [
3072
3076
  g.value && A.value ? (u(), L("div", {
3073
3077
  key: 0,
3074
- class: ue(M.value),
3078
+ class: ce(k.value),
3075
3079
  "data-testid": "nested-content-container",
3076
- style: ke(q.value),
3080
+ style: ke(K.value),
3077
3081
  role: "presentation"
3078
3082
  }, [
3079
3083
  R("div", {
@@ -3083,30 +3087,30 @@ const dl = () => {
3083
3087
  O.value ? (u(), L("div", qs, [
3084
3088
  X(o(ut))
3085
3089
  ])) : W("", !0),
3086
- (u(!0), L(be, null, Ae(e.rowData.children, (oe, se) => (u(), H(Al, ie({ ref_for: !0 }, l, {
3090
+ (u(!0), L(be, null, Ae(e.rowData.children, (oe, se) => (u(), G(Al, ie({ ref_for: !0 }, l, {
3087
3091
  id: f(se),
3088
3092
  key: `child-${se}`,
3089
3093
  "row-data": oe,
3090
3094
  "row-index": se,
3091
3095
  "row-set-size": e.rowData.children.length,
3092
3096
  "is-nested-row": "",
3093
- onCellHovered: z[2] || (z[2] = (de) => n("cell-hovered", de)),
3094
- onRowClick: z[3] || (z[3] = (de) => n("row-click", ...de)),
3095
- onOnFrozenColumnsKeyPress: z[4] || (z[4] = (de) => n("on-frozen-columns-key-press", de)),
3096
- onSelectRow: (de) => Z(oe, de)
3097
+ onCellHovered: z[2] || (z[2] = (ue) => n("cell-hovered", ue)),
3098
+ onRowClick: z[3] || (z[3] = (ue) => n("row-click", ...ue)),
3099
+ onOnFrozenColumnsKeyPress: z[4] || (z[4] = (ue) => n("on-frozen-columns-key-press", ue)),
3100
+ onSelectRow: (ue) => Z(oe, ue)
3097
3101
  }), Ke({ _: 2 }, [
3098
- Ae(o(t), (de, K) => ({
3099
- name: K,
3102
+ Ae(o(t), (ue, Y) => ({
3103
+ name: Y,
3100
3104
  fn: V((We) => [
3101
- Ue(w.$slots, K, ie({ ref_for: !0 }, We), void 0, !0)
3105
+ Ue(w.$slots, Y, ie({ ref_for: !0 }, We), void 0, !0)
3102
3106
  ])
3103
3107
  }))
3104
3108
  ]), 1040, ["id", "row-data", "row-index", "row-set-size", "onSelectRow"]))), 128))
3105
3109
  ], 512)
3106
- ], 6)) : g.value ? (u(), L("div", ie({ key: 1 }, k.value, {
3107
- class: M.value,
3110
+ ], 6)) : g.value ? (u(), L("div", ie({ key: 1 }, U.value, {
3111
+ class: k.value,
3108
3112
  "data-testid": "nested-content-container",
3109
- style: q.value,
3113
+ style: K.value,
3110
3114
  role: "row",
3111
3115
  tabindex: "-1"
3112
3116
  }), [
@@ -3194,15 +3198,15 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
3194
3198
  })), c = C(() => `b-data-grid-static-icon__${s.variant}`), l = C(() => pn.AUTO);
3195
3199
  return (n, v) => Lt((u(), L("div", {
3196
3200
  "aria-label": n.tooltipText,
3197
- class: ue(["b-data-grid-static-icon", t.value]),
3201
+ class: ce(["b-data-grid-static-icon", t.value]),
3198
3202
  tabindex: "0"
3199
3203
  }, [
3200
- (u(), H(Xe(i.value), {
3201
- class: ue(c.value),
3204
+ (u(), G(Xe(i.value), {
3205
+ class: ce(c.value),
3202
3206
  "svg-title": n.tooltipText
3203
3207
  }, null, 8, ["class", "svg-title"]))
3204
3208
  ], 10, sa)), [
3205
- [o(yn), n.tooltipText, l.value]
3209
+ [o(Sn), n.tooltipText, l.value]
3206
3210
  ]);
3207
3211
  }
3208
3212
  }), vi = /* @__PURE__ */ fe(ia, [["__scopeId", "data-v-b8c9e150"]]), Tl = {
@@ -3237,7 +3241,7 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
3237
3241
  tooltipText: { default: null }
3238
3242
  },
3239
3243
  setup(e) {
3240
- const { tc: s } = Ve({ messages: Tl }), i = e, t = y(), c = C(() => ({
3244
+ const { tc: s } = Ve({ messages: Tl }), i = e, t = S(), c = C(() => ({
3241
3245
  popoverPosition: "right",
3242
3246
  // Setting popover defaults, but they are overriden if used passes dashedUnderline prop
3243
3247
  popoverTitle: i.label,
@@ -3254,7 +3258,7 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
3254
3258
  () => i.tooltipText ?? (v.value > 0 ? s("numberResults", v.value) : "")
3255
3259
  );
3256
3260
  return (_, b) => (u(), L("div", ra, [
3257
- _.items.length > 1 ? (u(), H(o(Rn), ie({
3261
+ _.items.length > 1 ? (u(), G(o(Rn), ie({
3258
3262
  key: 0,
3259
3263
  ref_key: "dashedUnderlineRef",
3260
3264
  ref: t
@@ -3264,7 +3268,7 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
3264
3268
  default: V(() => [
3265
3269
  R("ul", da, [
3266
3270
  (u(!0), L(be, null, Ae(_.items, (N) => (u(), L("li", { key: N }, [
3267
- (u(), H(Xe(n(N)), null, {
3271
+ (u(), G(Xe(n(N)), null, {
3268
3272
  default: V(() => [
3269
3273
  he(ee(N), 1)
3270
3274
  ]),
@@ -3283,7 +3287,7 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
3283
3287
  }, 16)) : (u(), L(be, { key: 1 }, [
3284
3288
  he(ee(_.items[0]), 1)
3285
3289
  ], 64)),
3286
- t.value && g.value ? (u(), H(o(Sn), {
3290
+ t.value && g.value ? (u(), G(o(yn), {
3287
3291
  key: 2,
3288
3292
  content: g.value,
3289
3293
  "disabled-focus-trap": !0,
@@ -3313,7 +3317,7 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
3313
3317
  }, Ea = {
3314
3318
  i18n: { messages: vt },
3315
3319
  name: "bento-data-grid"
3316
- }, ya = /* @__PURE__ */ ze({
3320
+ }, Sa = /* @__PURE__ */ ze({
3317
3321
  ...Ea,
3318
3322
  props: {
3319
3323
  /**
@@ -3650,13 +3654,13 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
3650
3654
  F.SORT
3651
3655
  ],
3652
3656
  setup(e, { expose: s, emit: i }) {
3653
- const t = e, c = pt(), l = Rt(c), n = y(null), v = y(), g = y({}), _ = y(ct("data-grid")), b = y(null), N = y(null), D = y(), E = y(null), r = y(null), A = y(null), {
3657
+ const t = e, c = pt(), l = Rt(c), n = S(null), v = S(), g = S({}), _ = S(ct("data-grid")), b = S(null), N = S(null), D = S(), E = S(null), d = S(null), A = S(null), {
3654
3658
  allowColumnDragAndDrop: O,
3655
3659
  columns: $,
3656
3660
  columnPanel: p,
3657
- data: k,
3661
+ data: U,
3658
3662
  lazyLoadType: m,
3659
- loading: U,
3663
+ loading: M,
3660
3664
  hasNestedContent: h,
3661
3665
  hasNestedRows: a,
3662
3666
  selectable: f,
@@ -3666,23 +3670,23 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
3666
3670
  outline: Z,
3667
3671
  pagination: le,
3668
3672
  zebraRows: we
3669
- } = St(t), ge = y(-1), { t: re } = Ve({ messages: vt }), ne = C(() => M.value.filter((I) => I.frozen).length), j = 550, pe = y(), { width: S } = Dn(pe), J = C(() => S.value <= j);
3673
+ } = yt(t), ge = S(-1), { t: de } = Ve({ messages: vt }), ne = C(() => k.value.filter((I) => I.frozen).length), q = 550, pe = S(), { width: y } = Dn(pe), J = C(() => y.value <= q);
3670
3674
  rt(tt, J);
3671
- const q = y(!1);
3675
+ const K = S(!1);
3672
3676
  Ye(() => {
3673
- typeof window < "u" && (q.value = "ontouchstart" in window || (navigator == null ? void 0 : navigator.maxTouchPoints) > 0);
3674
- }), rt(gt, q);
3677
+ typeof window < "u" && (K.value = "ontouchstart" in window || (navigator == null ? void 0 : navigator.maxTouchPoints) > 0);
3678
+ }), rt(gt, K);
3675
3679
  const Q = Me(
3676
3680
  In,
3677
3681
  () => ({
3678
- additionalContentSlotRef: y(null),
3682
+ additionalContentSlotRef: S(null),
3679
3683
  isDataGridTemplate: !1,
3680
- stickyAditionalContent: y(!1),
3681
- stickyTabs: y(!1),
3682
- tabsRef: y(null)
3684
+ stickyAditionalContent: S(!1),
3685
+ stickyTabs: S(!1),
3686
+ tabsRef: S(null)
3683
3687
  })
3684
- ), { additionalContentSlotRef: Be, isDataGridTemplate: Te, stickyTabs: Fe, tabsRef: d, stickyAdditionalContent: G } = Q(), {
3685
- columnDefs: M,
3688
+ ), { additionalContentSlotRef: Be, isDataGridTemplate: Te, stickyTabs: Fe, tabsRef: r, stickyAdditionalContent: H } = Q(), {
3689
+ columnDefs: k,
3686
3690
  onColumnWidthOverride: Ce,
3687
3691
  gridRowWidthStyle: ve,
3688
3692
  isMeasuringColumnWidths: w,
@@ -3690,7 +3694,7 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
3690
3694
  columns: te,
3691
3695
  totalWidthOfAllColumns: oe,
3692
3696
  rowActionsMaxWidth: se
3693
- } = oo($, k, n, g, b, {
3697
+ } = oo($, U, n, g, b, {
3694
3698
  hasColumnPanel: p,
3695
3699
  hasSelectableColumn: f,
3696
3700
  hasSelectableAcrossPages: P,
@@ -3698,12 +3702,12 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
3698
3702
  hasNestedRows: a,
3699
3703
  allowColumnDragAndDrop: O,
3700
3704
  isDataGridTemplate: Te
3701
- }), de = i, K = (I, ...B) => {
3702
- (I === F.COLUMNS || I === F.UPDATE_COLUMNS) && ([te.value] = B), de(I, ...B);
3705
+ }), ue = i, Y = (I, ...B) => {
3706
+ (I === F.COLUMNS || I === F.UPDATE_COLUMNS) && ([te.value] = B), ue(I, ...B);
3703
3707
  }, We = qt(
3704
- d,
3708
+ r,
3705
3709
  Fe,
3706
- G,
3710
+ H,
3707
3711
  Be
3708
3712
  ), mt = C(
3709
3713
  () => t.stickyFilters ? `${We.value}px` : null
@@ -3718,12 +3722,12 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
3718
3722
  onConfigSettingsColumnUpdate: Il,
3719
3723
  onConfigSettingsCondensedUpdate: Dl,
3720
3724
  onConfigSettingsZebraRowsUpdate: $l
3721
- } = fo(M, we, K), { hoveredOverColumn: kl, hoveredOverColumnState: Nt } = vo(
3725
+ } = fo(k, we, Y), { hoveredOverColumn: kl, hoveredOverColumnState: Nt } = vo(
3722
3726
  nt,
3723
3727
  f,
3724
3728
  Z,
3725
3729
  z
3726
- ), { draggingColumns: It, draggingEventsForColumns: Ul, draggingEventsForRowCell: Ml, onMoveColumnByOffset: zl } = co(lt, O, K), Dt = C(
3730
+ ), { draggingColumns: It, draggingEventsForColumns: Ul, draggingEventsForRowCell: Ml, onMoveColumnByOffset: zl } = co(lt, O, Y), Dt = C(
3727
3731
  () => {
3728
3732
  var I;
3729
3733
  return ((I = t.data) == null ? void 0 : I.length) > 0 && !!t.selectableAcrossPages && !!t.pagination && t.pagination.totalCount > 0;
@@ -3738,18 +3742,19 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
3738
3742
  selectionState: Hl
3739
3743
  } = so(
3740
3744
  T,
3741
- K,
3742
- k,
3745
+ Y,
3746
+ U,
3743
3747
  t.getDataItemId,
3744
3748
  t.isDataItemDisabled,
3745
3749
  Dt,
3746
3750
  le
3747
- ), Gl = C(
3748
- () => {
3749
- var I, B;
3750
- return ((I = D.value) == null ? void 0 : I.isClearAllVisible) || ((B = D.value) == null ? void 0 : B.isResetAllVisible) || !!t.filterSearchTerm;
3751
- }
3752
- ), { navigationInput: ot } = io(
3751
+ ), Gl = C(() => {
3752
+ var I, B, re, j;
3753
+ return {
3754
+ filtered: ((I = D.value) == null ? void 0 : I.isClearAllVisible) || ((B = D.value) == null ? void 0 : B.isResetAllVisible) || !!t.filterSearchTerm,
3755
+ allRowsVisible: ((re = le.value) == null ? void 0 : re.size) >= ((j = le.value) == null ? void 0 : j.totalCount)
3756
+ };
3757
+ }), { navigationInput: ot } = io(
3753
3758
  b,
3754
3759
  g,
3755
3760
  lt,
@@ -3758,10 +3763,10 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
3758
3763
  p
3759
3764
  ), { isLazyLoad: je, isInfiniteScroll: Vl, verticalScrollPosition: xl, emitLazyLoadEvent: Zl } = uo(
3760
3765
  m,
3761
- r,
3766
+ d,
3762
3767
  n,
3763
- U,
3764
- K
3768
+ M,
3769
+ Y
3765
3770
  ), {
3766
3771
  updateScrollPosition: st,
3767
3772
  updateScrollPositionOnFrozenColumnsNavigation: jl,
@@ -3805,77 +3810,77 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
3805
3810
  })), Ql = C(() => nt.value.findIndex((I) => I.columnSet.length)), Mt = C(() => !((t.selectable || t.hasNestedContent || t.hasNestedRows) && ne.value === 1) || at.value), en = C(() => ({
3806
3811
  "b-data-grid__filters--sticky": !!t.stickyFilters || Te
3807
3812
  })), tn = C(() => {
3808
- var I, B, ce, Y, Re, Ie;
3813
+ var I, B, re, j, Re, Ie;
3809
3814
  return {
3810
- "b-data-grid__pagination--padding-left-unset": ((ce = (B = (I = t.columns) == null ? void 0 : I[0]) == null ? void 0 : B.padding) == null ? void 0 : ce.left) === !1,
3811
- "b-data-grid__pagination--padding-right-unset": ((Ie = (Re = (Y = t.columns) == null ? void 0 : Y[t.columns.length - 1]) == null ? void 0 : Re.padding) == null ? void 0 : Ie.right) === !1,
3815
+ "b-data-grid__pagination--padding-left-unset": ((re = (B = (I = t.columns) == null ? void 0 : I[0]) == null ? void 0 : B.padding) == null ? void 0 : re.left) === !1,
3816
+ "b-data-grid__pagination--padding-right-unset": ((Ie = (Re = (j = t.columns) == null ? void 0 : j[t.columns.length - 1]) == null ? void 0 : Re.padding) == null ? void 0 : Ie.right) === !1,
3812
3817
  "b-data-grid__pagination--sticky": !!t.stickyPagination || Te
3813
3818
  };
3814
3819
  }), ln = (I) => {
3815
3820
  const B = I;
3816
- I !== null && (B != null && B.columnHeaderRefs) && Object.entries(B == null ? void 0 : B.columnHeaderRefs).forEach(([ce, Y]) => {
3817
- g.value[ce] = Y;
3821
+ I !== null && (B != null && B.columnHeaderRefs) && Object.entries(B == null ? void 0 : B.columnHeaderRefs).forEach(([re, j]) => {
3822
+ g.value[re] = j;
3818
3823
  });
3819
3824
  }, nn = (I, B) => {
3820
- var Y, Re, Ie, xe;
3821
- const ce = I;
3822
- if (I !== null && ce != null && ce.gridcellRefs) {
3823
- const Pe = t.rowActions !== void 0 && (ce == null ? void 0 : ce.rowActionsRef);
3824
- Object.entries(ce == null ? void 0 : ce.gridcellRefs).map(([Ee, qe]) => {
3825
+ var j, Re, Ie, xe;
3826
+ const re = I;
3827
+ if (I !== null && re != null && re.gridcellRefs) {
3828
+ const Pe = t.rowActions !== void 0 && (re == null ? void 0 : re.rowActionsRef);
3829
+ Object.entries(re == null ? void 0 : re.gridcellRefs).map(([Ee, qe]) => {
3825
3830
  var it;
3826
3831
  ((it = b.value) == null ? void 0 : it[Ee]) === void 0 && (b.value = { ...b.value, [Ee]: [] }), b.value[Ee][B] = qe;
3827
- }), Pe && (((Y = b.value) == null ? void 0 : Y[Qe]) === void 0 && (b.value = { ...b.value, [Qe]: [] }), b.value[Qe][B] = (Re = ce.rowActionsRef) == null ? void 0 : Re[0], se.value = Math.max(
3832
+ }), Pe && (((j = b.value) == null ? void 0 : j[Qe]) === void 0 && (b.value = { ...b.value, [Qe]: [] }), b.value[Qe][B] = (Re = re.rowActionsRef) == null ? void 0 : Re[0], se.value = Math.max(
3828
3833
  se.value,
3829
- ((xe = (Ie = ce.rowActionsRef) == null ? void 0 : Ie[0]) == null ? void 0 : xe.offsetWidth) ?? 0
3834
+ ((xe = (Ie = re.rowActionsRef) == null ? void 0 : Ie[0]) == null ? void 0 : xe.offsetWidth) ?? 0
3830
3835
  ));
3831
3836
  }
3832
3837
  }, on = (I, B) => {
3833
- t.allowRowClicks && K(F.ROW_CLICK, I, B);
3838
+ t.allowRowClicks && Y(F.ROW_CLICK, I, B);
3834
3839
  }, sn = (I) => {
3835
3840
  ge.value = I;
3836
3841
  }, an = C(() => t.hasNestedContent || t.hasNestedRows ? "treegrid" : "grid"), zt = C(() => {
3837
3842
  var I;
3838
3843
  return ((I = Ct.value) == null ? void 0 : I.length) ?? 0;
3839
- }), rn = C(() => t.bulkActions && zt.value > 0), dn = (I) => K(F.COLUMN_RESIZE, I), un = (I) => {
3840
- K(F.UPDATE_SORT_BY, I), K(F.SORT, I);
3844
+ }), rn = C(() => t.bulkActions && zt.value > 0), dn = (I) => Y(F.COLUMN_RESIZE, I), un = (I) => {
3845
+ Y(F.UPDATE_SORT_BY, I), Y(F.SORT, I);
3841
3846
  }, cn = (I, B) => {
3842
- K(F.NAVIGATE, I), K(F.UPDATE_PAGINATION, {
3847
+ Y(F.NAVIGATE, I), Y(F.UPDATE_PAGINATION, {
3843
3848
  ...t.pagination,
3844
3849
  size: B,
3845
3850
  page: I
3846
3851
  });
3847
3852
  }, fn = (I) => {
3848
- K(F.ITEMS_PAGE, I);
3853
+ Y(F.ITEMS_PAGE, I);
3849
3854
  }, gn = () => {
3850
- K(F.FILTER_SEARCH_CLEAR);
3855
+ Y(F.FILTER_SEARCH_CLEAR);
3851
3856
  }, vn = (I) => {
3852
- K(F.UPDATE_FILTER_SEARCH_TERM, I), K(F.FILTER_SEARCH_INPUT, I);
3857
+ Y(F.UPDATE_FILTER_SEARCH_TERM, I), Y(F.FILTER_SEARCH_INPUT, I);
3853
3858
  };
3854
3859
  return C(() => $.value.some((I) => I.mandatory)).value || vl(
3855
3860
  "WARNING: At least one BentoDataGrid column should be set as mandatory to ensure data is always displayed correctly."
3856
- ), Me(Nn, () => null)(t.tabTitle), rt(Sl, bt(t, "slashedZero")), s({ onEmptyStateClearResetButtonClick: Kl }), (I, B) => {
3857
- var ce;
3861
+ ), Me(Nn, () => null)(t.tabTitle), rt(yl, bt(t, "slashedZero")), s({ onEmptyStateClearResetButtonClick: Kl }), (I, B) => {
3862
+ var re;
3858
3863
  return u(), L("div", {
3859
3864
  ref_key: "dataGridRef",
3860
3865
  ref: pe,
3861
- class: ue(["b-data-grid", Jl.value]),
3866
+ class: ce(["b-data-grid", Jl.value]),
3862
3867
  "data-testid": "data-grid",
3863
3868
  "aria-live": "polite",
3864
- "aria-busy": o(U),
3869
+ "aria-busy": o(M),
3865
3870
  onCopy: B[13] || (B[13] = //@ts-ignore
3866
- (...Y) => o(Jt) && o(Jt)(...Y))
3871
+ (...j) => o(Jt) && o(Jt)(...j))
3867
3872
  }, [
3868
3873
  e.filters ? (u(), L("div", {
3869
3874
  key: 0,
3870
3875
  ref_key: "filtersRef",
3871
3876
  ref: N,
3872
- class: ue(["b-data-grid__filters", en.value]),
3877
+ class: ce(["b-data-grid__filters", en.value]),
3873
3878
  style: ke({ top: mt.value }),
3874
3879
  "aria-controls": _.value,
3875
- "aria-label": o(re)("filterBar"),
3880
+ "aria-label": o(de)("filterBar"),
3876
3881
  role: "region"
3877
3882
  }, [
3878
- e.filters ? (u(), H(o(_t), {
3883
+ e.filters ? (u(), G(o(_t), {
3879
3884
  key: 0,
3880
3885
  ref_key: "filterBarRef",
3881
3886
  ref: D,
@@ -3887,9 +3892,9 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
3887
3892
  "search-term": e.filterSearchTerm,
3888
3893
  onSearchInput: vn,
3889
3894
  onSearchClear: gn,
3890
- onInput: B[0] || (B[0] = (Y) => I.$emit(o(F).UPDATE_FILTERS, Y)),
3891
- "onUpdate:filterValues": B[1] || (B[1] = (Y) => I.$emit(o(F).UPDATE_FILTER_VALUES, Y)),
3892
- "onUpdate:filterValuesObject": B[2] || (B[2] = (Y) => I.$emit(o(F).UPDATE_FILTER_VALUES_OBJECT, Y))
3895
+ onInput: B[0] || (B[0] = (j) => I.$emit(o(F).UPDATE_FILTERS, j)),
3896
+ "onUpdate:filterValues": B[1] || (B[1] = (j) => I.$emit(o(F).UPDATE_FILTER_VALUES, j)),
3897
+ "onUpdate:filterValuesObject": B[2] || (B[2] = (j) => I.$emit(o(F).UPDATE_FILTER_VALUES_OBJECT, j))
3893
3898
  }, null, 8, ["config", "container-size-layout", "filter-values", "filter-values-object", "search", "search-term"])) : W("", !0)
3894
3899
  ], 14, ga)) : W("", !0),
3895
3900
  I.$slots.header ? (u(), L("div", va, [
@@ -3898,9 +3903,9 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
3898
3903
  R("div", {
3899
3904
  id: _.value,
3900
3905
  role: an.value,
3901
- "aria-rowcount": o(k).length,
3906
+ "aria-rowcount": o(U).length,
3902
3907
  "aria-colcount": o($).length,
3903
- "aria-label": e.emptyState ? o(re)("noResults") : null,
3908
+ "aria-label": e.emptyState ? o(de)("noResults") : null,
3904
3909
  class: "b-data-grid__wrapper",
3905
3910
  style: ke({ top: Je.value })
3906
3911
  }, [
@@ -3914,9 +3919,9 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
3914
3919
  role: "rowgroup",
3915
3920
  class: "b-data-grid__columns-row",
3916
3921
  onScroll: B[7] || (B[7] = //@ts-ignore
3917
- (...Y) => o(st) && o(st)(...Y)),
3922
+ (...j) => o(st) && o(st)(...j)),
3918
3923
  onKeydown: B[8] || (B[8] = //@ts-ignore
3919
- (...Y) => o(ot) && o(ot)(...Y))
3924
+ (...j) => o(ot) && o(ot)(...j))
3920
3925
  }, [
3921
3926
  o(p) ? (u(), L("div", ha, [
3922
3927
  X(o(As), {
@@ -3935,21 +3940,20 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
3935
3940
  class: "b-data-grid__columns",
3936
3941
  role: "row"
3937
3942
  }, [
3938
- (u(!0), L(be, null, Ae(o(nt), ({ columnSet: Y, id: Re, isFrozenColumns: Ie }, xe) => {
3943
+ (u(!0), L(be, null, Ae(o(nt), ({ columnSet: j, id: Re, isFrozenColumns: Ie }, xe) => {
3939
3944
  var Pe;
3940
3945
  return u(), L(be, null, [
3941
- Y != null && Y.length ? (u(), H(o(ns), ie({
3946
+ j != null && j.length ? (u(), G(o(ns), ie({
3942
3947
  key: `data-grid-columns-${Re}`,
3943
3948
  ref_for: !0,
3944
3949
  ref: (Ee) => ln(Ee),
3945
- columns: Y,
3950
+ columns: j,
3946
3951
  "has-resizable-columns": e.hasResizableColumns,
3947
3952
  "sort-by": e.sortBy,
3948
3953
  "all-items-selected-state": o(Wl),
3949
3954
  "is-frozen-columns": Ie,
3950
3955
  "show-frozen-columns-separator": Mt.value,
3951
3956
  "dragging-columns": o(It),
3952
- "has-active-filters": Gl.value,
3953
3957
  "has-draggable-columns": o(O),
3954
3958
  "has-column-panel": o(p),
3955
3959
  "has-left-overflow": o(at),
@@ -3957,9 +3961,10 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
3957
3961
  "hovered-over-column-state": o(Nt),
3958
3962
  "is-measuring-column-widths": o(w),
3959
3963
  "is-only-one-visible-column": o(Ol),
3960
- selectable: ((Pe = o(k)) == null ? void 0 : Pe.length) > 0 && o(f),
3964
+ selectable: ((Pe = o(U)) == null ? void 0 : Pe.length) > 0 && o(f),
3961
3965
  "selectable-across-pages": Dt.value,
3962
3966
  "selected-items": o(Ct),
3967
+ "visible-rows-state": Gl.value,
3963
3968
  "selection-state": o(Hl),
3964
3969
  "truncate-column-headers": e.truncateColumnHeaders,
3965
3970
  "row-actions-maximum-width": o(se)
@@ -3970,9 +3975,9 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
3970
3975
  onColumnResize: dn,
3971
3976
  onColumnResizing: o(Ce),
3972
3977
  onSelectAllRows: o(Fl),
3973
- onSelectAllAcrossPages: B[4] || (B[4] = (Ee) => K(o(F).SELECT_ALL_ACROSS_PAGES)),
3974
- onSelectAllCurrentResults: B[5] || (B[5] = (Ee) => K(o(F).SELECT_ALL_CURRENT_RESULTS)),
3975
- onDeselectAllCurrentResults: B[6] || (B[6] = (Ee) => K(o(F).DESELECT_ALL_CURRENT_RESULTS)),
3978
+ onSelectAllAcrossPages: B[4] || (B[4] = (Ee) => Y(o(F).SELECT_ALL_ACROSS_PAGES)),
3979
+ onSelectAllCurrentResults: B[5] || (B[5] = (Ee) => Y(o(F).SELECT_ALL_CURRENT_RESULTS)),
3980
+ onDeselectAllCurrentResults: B[6] || (B[6] = (Ee) => Y(o(F).DESELECT_ALL_CURRENT_RESULTS)),
3976
3981
  onDeselectAll: o($t),
3977
3982
  onSort: un
3978
3983
  }), Ke({ _: 2 }, [
@@ -3982,7 +3987,7 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
3982
3987
  Ue(I.$slots, qe, ie({ ref_for: !0 }, it), void 0, !0)
3983
3988
  ])
3984
3989
  }))
3985
- ]), 1040, ["columns", "has-resizable-columns", "sort-by", "all-items-selected-state", "is-frozen-columns", "show-frozen-columns-separator", "dragging-columns", "has-active-filters", "has-draggable-columns", "has-column-panel", "has-left-overflow", "has-first-column-panel-right-aligned", "hovered-over-column-state", "is-measuring-column-widths", "is-only-one-visible-column", "selectable", "selectable-across-pages", "selected-items", "selection-state", "truncate-column-headers", "row-actions-maximum-width", "onColumnMove", "onColumnUpdate", "onColumnResizing", "onSelectAllRows", "onDeselectAll"])) : W("", !0)
3990
+ ]), 1040, ["columns", "has-resizable-columns", "sort-by", "all-items-selected-state", "is-frozen-columns", "show-frozen-columns-separator", "dragging-columns", "has-draggable-columns", "has-column-panel", "has-left-overflow", "has-first-column-panel-right-aligned", "hovered-over-column-state", "is-measuring-column-widths", "is-only-one-visible-column", "selectable", "selectable-across-pages", "selected-items", "visible-rows-state", "selection-state", "truncate-column-headers", "row-actions-maximum-width", "onColumnMove", "onColumnUpdate", "onColumnResizing", "onSelectAllRows", "onDeselectAll"])) : W("", !0)
3986
3991
  ], 64);
3987
3992
  }), 256))
3988
3993
  ], 4)
@@ -3992,11 +3997,11 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
3992
3997
  ref_key: "body",
3993
3998
  ref: n,
3994
3999
  "data-testid": "data-grid-body",
3995
- class: ue(["b-data-grid__body", Xl.value]),
4000
+ class: ce(["b-data-grid__body", Xl.value]),
3996
4001
  onScroll: B[11] || (B[11] = //@ts-ignore
3997
- (...Y) => o(st) && o(st)(...Y))
4002
+ (...j) => o(st) && o(st)(...j))
3998
4003
  }, [
3999
- o(U) && !o(je) ? (u(), L("div", Ca, [
4004
+ o(M) && !o(je) ? (u(), L("div", Ca, [
4000
4005
  X(o(ut), {
4001
4006
  class: "b-data-grid__loading-indicator",
4002
4007
  large: ""
@@ -4006,7 +4011,7 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
4006
4011
  variant: "caption"
4007
4012
  }, {
4008
4013
  default: V(() => [
4009
- he(ee(o(re)("gettingYourData")), 1)
4014
+ he(ee(o(de)("gettingYourData")), 1)
4010
4015
  ]),
4011
4016
  _: 1
4012
4017
  })
@@ -4014,9 +4019,9 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
4014
4019
  key: 1,
4015
4020
  role: "rowgroup",
4016
4021
  onKeydown: B[10] || (B[10] = //@ts-ignore
4017
- (...Y) => o(ot) && o(ot)(...Y))
4022
+ (...j) => o(ot) && o(ot)(...j))
4018
4023
  }, [
4019
- ((ce = o(k)) == null ? void 0 : ce.length) === 0 && e.emptyState ? (u(), L("div", _a, [
4024
+ ((re = o(U)) == null ? void 0 : re.length) === 0 && e.emptyState ? (u(), L("div", _a, [
4020
4025
  R("div", {
4021
4026
  role: "gridcell",
4022
4027
  "aria-colspan": o($).length,
@@ -4024,9 +4029,9 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
4024
4029
  }, [
4025
4030
  X(o(On), ie({ class: "b-data-grid__empty-state" }, Yl.value), null, 16)
4026
4031
  ], 8, ba)
4027
- ])) : (u(!0), L(be, { key: 1 }, Ae(o(k), (Y, Re) => {
4032
+ ])) : (u(!0), L(be, { key: 1 }, Ae(o(U), (j, Re) => {
4028
4033
  var Ie, xe;
4029
- return u(), H(o(Al), {
4034
+ return u(), G(o(Al), {
4030
4035
  key: Re,
4031
4036
  ref_for: !0,
4032
4037
  ref: (Pe) => nn(Pe, Re),
@@ -4046,20 +4051,20 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
4046
4051
  "hovered-over-column-state": o(Nt),
4047
4052
  "is-data-item-disabled": e.isDataItemDisabled,
4048
4053
  "is-row-even": o(ht) ? Re % 2 !== 0 : !1,
4049
- "is-row-last-child": Re + 1 === ((Ie = o(k)) == null ? void 0 : Ie.length),
4054
+ "is-row-last-child": Re + 1 === ((Ie = o(U)) == null ? void 0 : Ie.length),
4050
4055
  "is-measuring-column-widths": o(w),
4051
4056
  "row-actions-maximum-width": o(se),
4052
4057
  "row-actions": e.rowActions,
4053
- "row-data": Y,
4058
+ "row-data": j,
4054
4059
  "row-index": Re,
4055
- "row-set-size": (xe = o(k)) == null ? void 0 : xe.length,
4060
+ "row-set-size": (xe = o(U)) == null ? void 0 : xe.length,
4056
4061
  "show-frozen-columns-separator": Mt.value,
4057
4062
  "should-show-nested-content": e.shouldShowNestedContent,
4058
4063
  "should-show-nested-rows": e.shouldShowNestedRows,
4059
4064
  selectable: o(f),
4060
4065
  "selected-items": o(Ct),
4061
4066
  onCellHovered: sn,
4062
- onNestedContentToggled: B[9] || (B[9] = (Pe) => K(o(F).NESTED_CONTENT_TOGGLED, Pe)),
4067
+ onNestedContentToggled: B[9] || (B[9] = (Pe) => Y(o(F).NESTED_CONTENT_TOGGLED, Pe)),
4063
4068
  onRowClick: on,
4064
4069
  onOnFrozenColumnsKeyPress: o(jl),
4065
4070
  onSelectRow: o(Pl),
@@ -4076,9 +4081,9 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
4076
4081
  ], 32))
4077
4082
  ], 34)
4078
4083
  ], 12, ma),
4079
- o(je) ? (u(), H(o(Is), {
4084
+ o(je) ? (u(), G(o(Is), {
4080
4085
  key: 2,
4081
- loading: o(U),
4086
+ loading: o(M),
4082
4087
  "is-infinite-scroll": o(Vl),
4083
4088
  "onUpdate:showMore": o(Zl)
4084
4089
  }, null, 8, ["loading", "is-infinite-scroll", "onUpdate:showMore"])) : W("", !0),
@@ -4091,7 +4096,7 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
4091
4096
  "data-testid": "sticky-horizontal-scrollbar",
4092
4097
  style: ke(o(ql)),
4093
4098
  onScroll: B[12] || (B[12] = //@ts-ignore
4094
- (...Y) => o(kt) && o(kt)(...Y))
4099
+ (...j) => o(kt) && o(kt)(...j))
4095
4100
  }, [
4096
4101
  R("div", {
4097
4102
  style: ke({ width: `${o(oe)}px`, height: "15px" })
@@ -4102,7 +4107,7 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
4102
4107
  ref_key: "paginationContainerRef",
4103
4108
  ref: E,
4104
4109
  "data-testid": "pagination-container",
4105
- class: ue(["b-data-grid__pagination", tn.value])
4110
+ class: ce(["b-data-grid__pagination", tn.value])
4106
4111
  }, [
4107
4112
  X(o(Tn), ie(o(le), {
4108
4113
  "aria-label": I.$t("pagination"),
@@ -4119,7 +4124,7 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
4119
4124
  I.$slots.footer ? (u(), L("div", wa, [
4120
4125
  Ue(I.$slots, "footer", {}, void 0, !0)
4121
4126
  ])) : W("", !0),
4122
- rn.value ? (u(), H(o(An), {
4127
+ rn.value ? (u(), G(o(An), {
4123
4128
  key: 6,
4124
4129
  actions: e.bulkActions,
4125
4130
  "item-counter": zt.value,
@@ -4129,7 +4134,7 @@ const oa = /* @__PURE__ */ fe(Qs, [["render", na]]), sa = ["aria-label"], aa = {
4129
4134
  ], 42, fa);
4130
4135
  };
4131
4136
  }
4132
- }), hi = /* @__PURE__ */ fe(ya, [["__scopeId", "data-v-fee2c8a9"]]);
4137
+ }), hi = /* @__PURE__ */ fe(Sa, [["__scopeId", "data-v-de462046"]]);
4133
4138
  export {
4134
4139
  $e as B,
4135
4140
  vi as a,
@@ -4140,4 +4145,4 @@ export {
4140
4145
  dt as f,
4141
4146
  Et as g
4142
4147
  };
4143
- //# sourceMappingURL=data-grid.CMIG82Xt.js.map
4148
+ //# sourceMappingURL=data-grid.D70AFJkA.js.map