@adyen/bento-vue3 1.40.0 → 1.41.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 (140) hide show
  1. package/dist/@types/components.d.ts +6 -0
  2. package/dist/@types/packages/vue2/src/components/currency/currency.types.d.ts +18 -0
  3. package/dist/@types/packages/vue2/src/components/currency/currency.vue.d.ts +34 -211
  4. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.types.d.ts +0 -1
  5. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +1 -1
  6. package/dist/@types/packages/vue2/src/components/data-grid/composables/index.d.ts +1 -1
  7. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.d.ts +1 -0
  8. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-scroller/use-scroller.d.ts +10 -1
  9. package/dist/@types/packages/vue2/src/components/data-grid/composables/{use-selector.d.ts → use-selector/use-selector.d.ts} +2 -2
  10. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-sorter.d.ts +1 -2
  11. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +16 -1
  12. package/dist/@types/packages/vue2/src/components/image/image.vue.d.ts +43 -72
  13. package/dist/@types/packages/vue2/src/components/image/index.d.ts +1 -1
  14. package/dist/@types/packages/vue2/src/components/layout/components/layout-row/layout-row.vue.d.ts +54 -0
  15. package/dist/@types/packages/vue2/src/components/layout/index.d.ts +3 -0
  16. package/dist/@types/packages/vue2/src/components/layout/layout.keys.d.ts +1 -0
  17. package/dist/@types/packages/vue2/src/components/layout/layout.types.d.ts +19 -0
  18. package/dist/@types/packages/vue2/src/components/layout/layout.vue.d.ts +53 -0
  19. package/dist/@types/packages/vue2/src/components/promo-banner/__mock-image.d.ts +1 -0
  20. package/dist/@types/packages/vue2/src/components/promo-banner/index.d.ts +2 -0
  21. package/dist/@types/packages/vue2/src/components/promo-banner/promo-banner.types.d.ts +83 -0
  22. package/dist/@types/packages/vue2/src/components/promo-banner/promo-banner.vue.d.ts +65 -0
  23. package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/selection-card-group.types.d.ts +2 -0
  24. package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/selection-card-group.vue.d.ts +19 -4
  25. package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +1 -3
  26. package/dist/@types/packages/vue2/src/components/structured-list/structured-list.vue.d.ts +1 -3
  27. package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/tutorial-popover.vue.d.ts +4 -4
  28. package/dist/@types/packages/vue2/src/index.d.ts +2 -0
  29. package/dist/action-bar.js +1 -1
  30. package/dist/assets/accordion-item.css +1 -1
  31. package/dist/assets/action-bar.css +1 -1
  32. package/dist/assets/base-modal.css +1 -1
  33. package/dist/assets/card.css +1 -1
  34. package/dist/assets/currency.css +1 -1
  35. package/dist/assets/data-grid.css +1 -1
  36. package/dist/assets/dialog-page.css +1 -1
  37. package/dist/assets/inspector.css +1 -1
  38. package/dist/assets/layout-row.css +1 -0
  39. package/dist/assets/menu.css +1 -1
  40. package/dist/assets/modal-fullscreen.css +1 -1
  41. package/dist/assets/popover.css +1 -1
  42. package/dist/assets/promo-banner.css +1 -0
  43. package/dist/assets/selection-card-group.css +1 -1
  44. package/dist/assets/sidepanel.css +1 -1
  45. package/dist/assets/structured-list-item.css +1 -1
  46. package/dist/checkbox.js +2 -2
  47. package/dist/chunks/{action-bar.CNH2XWmk.js → action-bar.BZIBGja0.js} +2 -2
  48. package/dist/chunks/{action-bar.CNH2XWmk.js.map → action-bar.BZIBGja0.js.map} +1 -1
  49. package/dist/chunks/{checkbox-group.Bu6WRt6i.js → checkbox-group.Zf-GivDW.js} +2 -2
  50. package/dist/chunks/{checkbox-group.Bu6WRt6i.js.map → checkbox-group.Zf-GivDW.js.map} +1 -1
  51. package/dist/chunks/{checkbox.DfUxRkJe.js → checkbox.DdMkyTo5.js} +15 -15
  52. package/dist/chunks/{checkbox.DfUxRkJe.js.map → checkbox.DdMkyTo5.js.map} +1 -1
  53. package/dist/chunks/{code-snippet.DqTEK8cz.js → code-snippet.Dp_tDJ-S.js} +3 -3
  54. package/dist/chunks/{code-snippet.DqTEK8cz.js.map → code-snippet.Dp_tDJ-S.js.map} +1 -1
  55. package/dist/chunks/{currency.BGrGBnhm.js → currency.Dz2x17_Q.js} +57 -70
  56. package/dist/chunks/currency.Dz2x17_Q.js.map +1 -0
  57. package/dist/chunks/{dashboard-section.rv0r2_-a.js → dashboard-section.BdRXcY4u.js} +2 -2
  58. package/dist/chunks/{dashboard-section.rv0r2_-a.js.map → dashboard-section.BdRXcY4u.js.map} +1 -1
  59. package/dist/chunks/{data-grid.DR-w_KKU.js → data-grid.BC2tOBxm.js} +1329 -1276
  60. package/dist/chunks/data-grid.BC2tOBxm.js.map +1 -0
  61. package/dist/chunks/{date-picker.mfXjVZ9w.js → date-picker.B6HK0sb2.js} +14 -14
  62. package/dist/chunks/{date-picker.mfXjVZ9w.js.map → date-picker.B6HK0sb2.js.map} +1 -1
  63. package/dist/chunks/{date-range-picker.Cs8Ia3Qs.js → date-range-picker.3iWt1Cd6.js} +23 -23
  64. package/dist/chunks/{date-range-picker.Cs8Ia3Qs.js.map → date-range-picker.3iWt1Cd6.js.map} +1 -1
  65. package/dist/chunks/{dropdown-tag.DeoUXbp4.js → dropdown-tag.ChFJ9l5g.js} +2 -2
  66. package/dist/chunks/{dropdown-tag.DeoUXbp4.js.map → dropdown-tag.ChFJ9l5g.js.map} +1 -1
  67. package/dist/chunks/{dropdown.DBxpqjEM.js → dropdown.CMKdLPHi.js} +26 -26
  68. package/dist/chunks/{dropdown.DBxpqjEM.js.map → dropdown.CMKdLPHi.js.map} +1 -1
  69. package/dist/chunks/es6.b4enG1py.js +10 -0
  70. package/dist/chunks/es6.b4enG1py.js.map +1 -0
  71. package/dist/chunks/{filter-bar.DiW13x-f.js → filter-bar.pKcJryD3.js} +7 -7
  72. package/dist/chunks/{filter-bar.DiW13x-f.js.map → filter-bar.pKcJryD3.js.map} +1 -1
  73. package/dist/chunks/image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js +47 -0
  74. package/dist/chunks/image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js.map +1 -0
  75. package/dist/chunks/index.ChdIlujs.js +248 -0
  76. package/dist/chunks/{index.DKQuLmwu.js.map → index.ChdIlujs.js.map} +1 -1
  77. package/dist/chunks/{input-field.DbeVnbwg.js → input-field.Bk2p3kIb.js} +2 -2
  78. package/dist/chunks/{input-field.DbeVnbwg.js.map → input-field.Bk2p3kIb.js.map} +1 -1
  79. package/dist/chunks/layout-row.rzhGrBQ3.js +101 -0
  80. package/dist/chunks/layout-row.rzhGrBQ3.js.map +1 -0
  81. package/dist/chunks/{pagination.B-OihXTg.js → pagination.D_4FRHE9.js} +2 -2
  82. package/dist/chunks/{pagination.B-OihXTg.js.map → pagination.D_4FRHE9.js.map} +1 -1
  83. package/dist/chunks/promo-banner.BRn1iznD.js +126 -0
  84. package/dist/chunks/promo-banner.BRn1iznD.js.map +1 -0
  85. package/dist/chunks/{search-bar.DN-QKFlJ.js → search-bar.D_4u91te.js} +3 -3
  86. package/dist/chunks/{search-bar.DN-QKFlJ.js.map → search-bar.D_4u91te.js.map} +1 -1
  87. package/dist/chunks/{secondary-nav.C-7Qq6rE.js → secondary-nav.CQ3aLyrM.js} +4 -4
  88. package/dist/chunks/{secondary-nav.C-7Qq6rE.js.map → secondary-nav.CQ3aLyrM.js.map} +1 -1
  89. package/dist/chunks/selection-card-group.Du3Cwf47.js +474 -0
  90. package/dist/chunks/selection-card-group.Du3Cwf47.js.map +1 -0
  91. package/dist/chunks/{structured-list-item.BhNJlDub.js → structured-list-item.CujUEOTK.js} +3 -3
  92. package/dist/chunks/structured-list-item.CujUEOTK.js.map +1 -0
  93. package/dist/chunks/{timeline-item.CEolKFn0.js → timeline-item.B8VvkDfR.js} +2 -2
  94. package/dist/chunks/{timeline-item.CEolKFn0.js.map → timeline-item.B8VvkDfR.js.map} +1 -1
  95. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.Bz6QyDuV.js → tutorial.vue_vue_type_script_setup_true_lang.CGpbGgfc.js} +9 -9
  96. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.Bz6QyDuV.js.map → tutorial.vue_vue_type_script_setup_true_lang.CGpbGgfc.js.map} +1 -1
  97. package/dist/chunks/{use-cached-selected-values.C7Lt5U_S.js → use-cached-selected-values.DaRzXFIt.js} +2 -2
  98. package/dist/chunks/{use-cached-selected-values.C7Lt5U_S.js.map → use-cached-selected-values.DaRzXFIt.js.map} +1 -1
  99. package/dist/code-snippet.js +1 -1
  100. package/dist/currency.js +1 -1
  101. package/dist/dashboard-template.js +1 -1
  102. package/dist/data-grid.js +1 -1
  103. package/dist/date-picker.js +1 -1
  104. package/dist/date-range-picker.js +1 -1
  105. package/dist/dropdown.js +3 -3
  106. package/dist/filter-bar.js +1 -1
  107. package/dist/image.js +1 -1
  108. package/dist/index.js +197 -190
  109. package/dist/index.js.map +1 -1
  110. package/dist/input-field.js +1 -1
  111. package/dist/internal.js +1 -1
  112. package/dist/layout.js +6 -0
  113. package/dist/layout.js.map +1 -0
  114. package/dist/pagination.js +1 -1
  115. package/dist/promo-banner.js +7 -0
  116. package/dist/promo-banner.js.map +1 -0
  117. package/dist/search-bar.js +2 -2
  118. package/dist/secondary-nav.js +1 -1
  119. package/dist/selection-card.js +1 -1
  120. package/dist/structured-list.js +1 -1
  121. package/dist/styles/bento-dark.css +16 -0
  122. package/dist/styles/bento-light.css +16 -0
  123. package/dist/styles/bento.css +16 -0
  124. package/dist/styles/legacy.css +16 -0
  125. package/dist/styles/styleguide.css +16 -0
  126. package/dist/timeline.js +1 -1
  127. package/dist/tutorial.js +1 -1
  128. package/dist/web-types.json +1 -1
  129. package/package.json +2 -2
  130. package/dist/@types/packages/vue2/src/components/image/image.types.d.ts +0 -19
  131. package/dist/chunks/currency.BGrGBnhm.js.map +0 -1
  132. package/dist/chunks/data-grid.DR-w_KKU.js.map +0 -1
  133. package/dist/chunks/es6.BvpG4Oi6.js +0 -9
  134. package/dist/chunks/es6.BvpG4Oi6.js.map +0 -1
  135. package/dist/chunks/image.0KzfycGE.js +0 -78
  136. package/dist/chunks/image.0KzfycGE.js.map +0 -1
  137. package/dist/chunks/index.DKQuLmwu.js +0 -182
  138. package/dist/chunks/selection-card-group.DkSYInMF.js +0 -392
  139. package/dist/chunks/selection-card-group.DkSYInMF.js.map +0 -1
  140. package/dist/chunks/structured-list-item.BhNJlDub.js.map +0 -1
@@ -1,149 +1,149 @@
1
- import { ref as O, reactive as Xe, toRefs as Ke, computed as w, watchEffect as An, watch as ce, onMounted as Je, nextTick as ue, onUnmounted as kt, onBeforeUpdate as Rn, openBlock as u, createElementBlock as E, mergeProps as X, toDisplayString as x, createCommentVNode as k, createElementVNode as p, defineComponent as Ce, normalizeClass as oe, Fragment as fe, renderList as me, unref as o, toHandlers as Ge, createVNode as q, createBlock as z, withCtx as W, renderSlot as Ee, withModifiers as Tn, resolveComponent as de, createTextVNode as le, withDirectives as Qe, vShow as Nn, toRef as Ut, resolveDirective as $n, Transition as zt, createSlots as Re, resolveDynamicComponent as Ie, useSlots as et, provide as Dn, normalizeStyle as Ae, inject as ct, normalizeProps as Mn, guardReactiveProps as kn } from "vue";
2
- import { C as Un } from "./checkmark-circle-fill.ChV7Jy6r.js";
3
- import { W as zn } from "./warning-filled.Dm_HhqzW.js";
4
- import { _ as K } from "./_plugin-vue_export-helper.CHgC5LLL.js";
5
- import { C as Ft } from "./cross.OvPfvoqX.js";
6
- import { N as ft } from "./checkbox-input.D8ZUqd4m.js";
7
- import { l as gt } from "./events.FNmSWp_P.js";
8
- import { K as _e, B as Fn } from "./tooltip.BEl_LdFo.js";
9
- import { c as Pn } from "./popper-container.types.BCZMbVFD.js";
10
- import { B as Bn } from "./action-bar.CNH2XWmk.js";
11
- import { B as Wn } from "./pagination.B-OihXTg.js";
12
- import { B as Pt } from "./loading-indicator.N_WV9Gwz.js";
13
- import { B as Ve, p as Bt } from "./typography.DNzU41ah.js";
14
- import { u as Hn } from "./aria-label.CaUURpnB.js";
15
- import { g as Gn } from "./get-slot-text.D5WBGjic.js";
16
- import { u as we } from "./i18n.CPGoe9tN.js";
17
- import { B as Vn } from "./empty-state.CpXSj1aU.js";
18
- import { B as We } from "./filter-bar.DiW13x-f.js";
19
- import { E as xn } from "./tabs.keys.Bc2pSKRw.js";
20
- import { D as Zn } from "./data-grid-template.keys.2_AkxuNT.js";
1
+ import { ref as I, reactive as Xe, toRefs as Ke, computed as O, watchEffect as kn, watch as ce, onMounted as Je, nextTick as ue, onUnmounted as zt, onBeforeUpdate as zn, openBlock as u, createElementBlock as E, mergeProps as Y, toDisplayString as j, createCommentVNode as M, createElementVNode as p, defineComponent as he, normalizeClass as ne, Fragment as fe, renderList as Ce, unref as l, toHandlers as He, createVNode as q, createBlock as U, withCtx as G, renderSlot as be, withModifiers as Un, resolveComponent as de, createTextVNode as oe, withDirectives as Qe, vShow as Fn, toRef as Ut, resolveDirective as Pn, Transition as Ft, createSlots as $e, resolveDynamicComponent as Ne, useSlots as et, provide as Bn, normalizeStyle as Ie, inject as ft, normalizeProps as Wn, guardReactiveProps as Gn } from "vue";
2
+ import { C as Hn } from "./checkmark-circle-fill.ChV7Jy6r.js";
3
+ import { W as Vn } from "./warning-filled.Dm_HhqzW.js";
4
+ import { _ as X } from "./_plugin-vue_export-helper.CHgC5LLL.js";
5
+ import { C as Pt } from "./cross.OvPfvoqX.js";
6
+ import { N as gt } from "./checkbox-input.D8ZUqd4m.js";
7
+ import { l as vt } from "./events.FNmSWp_P.js";
8
+ import { K as Le, B as xn } from "./tooltip.BEl_LdFo.js";
9
+ import { c as Zn } from "./popper-container.types.BCZMbVFD.js";
10
+ import { B as jn } from "./action-bar.BZIBGja0.js";
11
+ import { B as qn } from "./pagination.D_4FRHE9.js";
12
+ import { B as Bt } from "./loading-indicator.N_WV9Gwz.js";
13
+ import { B as Ve, p as Wt } from "./typography.DNzU41ah.js";
14
+ import { u as Yn } from "./aria-label.CaUURpnB.js";
15
+ import { g as Xn } from "./get-slot-text.D5WBGjic.js";
16
+ import { u as Oe } from "./i18n.CPGoe9tN.js";
17
+ import { B as Kn } from "./empty-state.CpXSj1aU.js";
18
+ import { B as We } from "./filter-bar.pKcJryD3.js";
19
+ import { E as Jn } from "./tabs.keys.Bc2pSKRw.js";
20
+ import { D as Qn } from "./data-grid-template.keys.2_AkxuNT.js";
21
21
  import { o as tt } from "./resize.Bqks3WUm.js";
22
- import { a as vt, B as jn } from "./popover.HArIkKve.js";
23
- import { B as Wt } from "./button.pwNCxwPu.js";
22
+ import { a as mt, B as el } from "./popover.HArIkKve.js";
23
+ import { B as Gt } from "./button.pwNCxwPu.js";
24
24
  import { B as Ht } from "./toggle.Bme9eaeR.js";
25
- import { B as qn } from "./search-bar.DN-QKFlJ.js";
26
- import { u as Yn } from "./dropdown.DBxpqjEM.js";
27
- import { B as Xn } from "./directive.O3yEdalv.js";
28
- import { g as Gt } from "./generate-uid.D-HFI38h.js";
29
- import { S as Kn } from "./search.EnLryD8V.js";
25
+ import { B as tl } from "./search-bar.D_4u91te.js";
26
+ import { u as nl } from "./dropdown.CMKdLPHi.js";
27
+ import { B as ll } from "./directive.O3yEdalv.js";
28
+ import { g as Vt } from "./generate-uid.D-HFI38h.js";
29
+ import { S as sl } from "./search.EnLryD8V.js";
30
30
  import { B as nt } from "./toggle-button.Bf77_tMh.js";
31
- import { B as Vt } from "./checkbox.DfUxRkJe.js";
32
- import { B as Jn } from "./info-icon.CNPSAUM6.js";
33
- import { B as qe, O as Qn, D as el } from "./menu.DXVN_WLr.js";
34
- import { A as tl } from "./dialog-page.CnDOg98_.js";
35
- import { u as xt } from "./use-has-slot.B7eQSabc.js";
36
- import { u as nl } from "./use-expandable-content-height.GkjjbmPy.js";
37
- import { C as ll } from "./copy.dbbJppdL.js";
38
- import { C as sl, a as ol } from "./chevron-up.DQZG_BP3.js";
39
- import { B as mt, a as Ct } from "./loading-button.CHujR70I.js";
31
+ import { B as xt } from "./checkbox.DdMkyTo5.js";
32
+ import { B as ol } from "./info-icon.CNPSAUM6.js";
33
+ import { B as qe, O as il, D as al } from "./menu.DXVN_WLr.js";
34
+ import { A as rl } from "./dialog-page.CnDOg98_.js";
35
+ import { u as Zt } from "./use-has-slot.B7eQSabc.js";
36
+ import { u as dl } from "./use-expandable-content-height.GkjjbmPy.js";
37
+ import { C as ul } from "./copy.dbbJppdL.js";
38
+ import { C as cl, a as fl } from "./chevron-up.DQZG_BP3.js";
39
+ import { B as Ct, a as ht } from "./loading-button.CHujR70I.js";
40
40
  import "../assets/data-grid.css";
41
- var Ye = /* @__PURE__ */ ((e) => (e.WRAP = "wrap", e.ELLIPSIS = "ellipsis", e))(Ye || {}), pe = /* @__PURE__ */ ((e) => (e.OUTLINE = "outline", e.SCROLL = "scroll", e.STICKY_FILTERS = "sticky-filters", e.OVERFLOW_SHADOW_LEFT = "overflow-shadow-left", e.OVERFLOW_SHADOW_RIGHT = "overflow-shadow-right", e.NO_SPACING_TOP = "no-spacing-top", e))(pe || {}), Se = /* @__PURE__ */ ((e) => (e.ASCENDING = "asc", e.DESCENDING = "desc", e))(Se || {}), $ = /* @__PURE__ */ ((e) => (e.COLUMNS = "columns", e.COLUMN_RESIZE = "column-resize", e.ITEMS_PAGE = "items-page", e.NAVIGATE = "navigate", e.FILTER_SEARCH_INPUT = "filter-search-input", e.FILTER_SEARCH_CLEAR = "filter-search-clear", e.UPDATE_COLUMNS = "update:columns", e.UPDATE_CONDENSED = "update:condensed", e.UPDATE_FILTERS = "update:filters", e.UPDATE_FILTER_VALUES = "update:filter-values", e.UPDATE_FILTER_SEARCH_TERM = "update:filter-search-term", e.UPDATE_PAGINATION = "update:pagination", e.UPDATE_SELECTION = "update:selection", e.UPDATE_SHOW_MORE = "update:show-more", e.UPDATE_SORT_BY = "update:sort-by", e.ROW_CLICK = "row-click", e.SELECT = "select", e.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", e.SORT = "sort", e))($ || {}), He = /* @__PURE__ */ ((e) => (e.ASCENDING = "ascending", e.DESCENDING = "descending", e.NONE = "none", e))(He || {}), Y = /* @__PURE__ */ ((e) => (e.COLUMN_RESIZE = "column-resize", e.COLUMN_RESIZING = "column-resizing", e.SORT = "sort", e.SELECT_ALL_ROWS = "select-all-rows", e.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", e.COLUMN_MOVE = "column-move", e.COLUMN_UPDATE = "column-update", e.COLUMN_MENU_OPEN = "column-menu-open", e.COLUMN_MENU_CLOSE = "column-menu-close", e.COLUMN_HOVER = "column-hover", e.COLUMN_DRAG_START = "column-dragstart", e.COLUMN_DRAG_ENTER = "column-dragenter", e.COLUMN_DRAG_END = "column-dragend", e.COLUMN_DROP = "column-drop", e))(Y || {});
42
- const il = (e, l) => {
43
- const c = O(null), t = O(!1), d = O(void 0), i = e.value.reduce((L, S) => (L[S.field] = null, L), {}), s = Xe(i), _ = Ke(s);
44
- let g = 0, b = "";
45
- const y = w(
46
- () => Object.fromEntries(e.value.map(({ field: L, width: S, minWidth: A }) => [L, { width: S, minWidth: A }]))
41
+ var Ye = /* @__PURE__ */ ((e) => (e.WRAP = "wrap", e.ELLIPSIS = "ellipsis", e))(Ye || {}), Ee = /* @__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))(Ee || {}), Se = /* @__PURE__ */ ((e) => (e.ASCENDING = "asc", e.DESCENDING = "desc", e))(Se || {}), $ = /* @__PURE__ */ ((e) => (e.COLUMNS = "columns", e.COLUMN_RESIZE = "column-resize", e.ITEMS_PAGE = "items-page", e.NAVIGATE = "navigate", e.FILTER_SEARCH_INPUT = "filter-search-input", e.FILTER_SEARCH_CLEAR = "filter-search-clear", e.UPDATE_COLUMNS = "update:columns", e.UPDATE_CONDENSED = "update:condensed", e.UPDATE_FILTERS = "update:filters", e.UPDATE_FILTER_VALUES = "update:filter-values", e.UPDATE_FILTER_SEARCH_TERM = "update:filter-search-term", e.UPDATE_PAGINATION = "update:pagination", e.UPDATE_SELECTION = "update:selection", e.UPDATE_SHOW_MORE = "update:show-more", e.UPDATE_SORT_BY = "update:sort-by", e.ROW_CLICK = "row-click", e.SELECT = "select", e.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", e.SORT = "sort", e))($ || {}), Ge = /* @__PURE__ */ ((e) => (e.ASCENDING = "ascending", e.DESCENDING = "descending", e.NONE = "none", e))(Ge || {}), K = /* @__PURE__ */ ((e) => (e.COLUMN_RESIZE = "column-resize", e.COLUMN_RESIZING = "column-resizing", e.SELECT_ALL_ROWS = "select-all-rows", e.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", e.COLUMN_MOVE = "column-move", e.COLUMN_UPDATE = "column-update", e.COLUMN_MENU_OPEN = "column-menu-open", e.COLUMN_MENU_CLOSE = "column-menu-close", e.COLUMN_HOVER = "column-hover", e.COLUMN_DRAG_START = "column-dragstart", e.COLUMN_DRAG_ENTER = "column-dragenter", e.COLUMN_DRAG_END = "column-dragend", e.COLUMN_DROP = "column-drop", e))(K || {});
42
+ const gl = (e, o) => {
43
+ const f = I(null), t = I(!1), r = I(void 0), i = e.value.reduce((_, w) => (_[w.field] = null, _), {}), s = Xe(i), h = Ke(s);
44
+ let C = 0, y = "";
45
+ const b = O(
46
+ () => Object.fromEntries(e.value.map(({ field: _, width: w, minWidth: A }) => [_, { width: w, minWidth: A }]))
47
47
  );
48
- An(() => d.value = y.value);
49
- let f = null, N = null;
50
- const n = (L) => {
51
- const S = L.clientX - g, A = b, P = d.value[A].width + S;
52
- d.value[A].width = P > y.value[A].minWidth ? P : y.value[A].minWidth, l(Y.COLUMN_RESIZING, d.value), g = L.clientX;
53
- }, C = () => {
54
- t.value = !1, f == null || f(), N == null || N(), b && l(Y.COLUMN_RESIZE, {
55
- field: b,
56
- width: d.value[b].width
57
- }), f = null, N = null, b = "", g = null;
58
- }, a = (L, S, A) => {
59
- if (A.preventDefault(), L) {
48
+ kn(() => r.value = b.value);
49
+ let c = null, S = null;
50
+ const n = (_) => {
51
+ const w = _.clientX - C, A = y, F = r.value[A].width + w;
52
+ r.value[A].width = F > b.value[A].minWidth ? F : b.value[A].minWidth, o(K.COLUMN_RESIZING, r.value), C = _.clientX;
53
+ }, g = () => {
54
+ t.value = !1, c == null || c(), S == null || S(), y && o(K.COLUMN_RESIZE, {
55
+ field: y,
56
+ width: r.value[y].width
57
+ }), c = null, S = null, y = "", C = null;
58
+ }, a = (_, w, A) => {
59
+ if (A.preventDefault(), _) {
60
60
  if (t.value = !0, A.buttons !== 1) {
61
- C();
61
+ g();
62
62
  return;
63
63
  }
64
- b = S, g = A.clientX, f = gt(window, "mousemove", n), N = gt(window, "mouseup", C);
64
+ y = w, C = A.clientX, c = vt(window, "mousemove", n), S = vt(window, "mouseup", g);
65
65
  }
66
66
  };
67
67
  return ce(
68
68
  () => t.value,
69
- (L, S) => {
70
- !L && S && (l(Y.COLUMN_HOVER, c.value), c.value = null);
69
+ (_, w) => {
70
+ !_ && w && (o(K.COLUMN_HOVER, f.value), f.value = null);
71
71
  }
72
72
  ), {
73
- resizeData: d,
74
- allColumnRefs: _,
73
+ resizeData: r,
74
+ allColumnRefs: h,
75
75
  startResize: a,
76
76
  isResizing: t,
77
- columnHoverEventToEmitAfterResizing: c
77
+ columnHoverEventToEmitAfterResizing: f
78
78
  };
79
- }, al = 100, ht = 50, se = "b-actions-column", rl = 32, dl = 56, ul = 56, cl = 80, fl = 36, gl = 1, Zt = 16, vl = 20, ml = (e, l, c) => {
80
- const t = {}, d = [], i = (_) => {
81
- const g = t[_];
82
- g && g.frozen !== !0 && (t[_].frozen = !0, d.push(_));
79
+ }, vl = 100, _t = 50, ie = "b-actions-column", ml = 32, Cl = 56, hl = 56, _l = 80, Ll = 36, pl = 1, jt = 16, El = 20, bl = (e, o, f) => {
80
+ const t = {}, r = [], i = (h) => {
81
+ const C = t[h];
82
+ C && C.frozen !== !0 && (t[h].frozen = !0, r.push(h));
83
83
  };
84
84
  function s() {
85
- if (d.length === c.length)
85
+ if (r.length === f.length)
86
86
  return;
87
- const _ = { min: {}, max: {} };
88
- let g = e, b = l, y = 0;
89
- d.forEach((f) => {
90
- g -= t[f].computedWidth, b -= t[f].flex;
87
+ const h = { min: {}, max: {} };
88
+ let C = e, y = o, b = 0;
89
+ r.forEach((c) => {
90
+ C -= t[c].computedWidth, y -= t[c].flex;
91
91
  });
92
- for (let f = 0, N = c.length; f < N; f += 1) {
93
- const n = c[f];
92
+ for (let c = 0, S = f.length; c < S; c += 1) {
93
+ const n = f[c];
94
94
  if (t[n.field] && t[n.field].frozen === !0)
95
95
  continue;
96
- let a = g / b * n.flex;
97
- a < n.minWidth && (y += n.minWidth - a, a = n.minWidth, _.min[n.field] = !0), t[n.field] = {
96
+ let a = C / y * n.flex;
97
+ a < n.minWidth && (b += n.minWidth - a, a = n.minWidth, h.min[n.field] = !0), t[n.field] = {
98
98
  frozen: !1,
99
99
  computedWidth: a,
100
100
  flex: n.flex
101
101
  };
102
102
  }
103
- y > 0 ? Object.keys(_.min).forEach((f) => {
104
- i(f);
105
- }) : c.forEach(({ field: f }) => {
106
- i(f);
103
+ b > 0 ? Object.keys(h.min).forEach((c) => {
104
+ i(c);
105
+ }) : f.forEach(({ field: c }) => {
106
+ i(c);
107
107
  }), s();
108
108
  }
109
109
  return s(), t;
110
- }, _t = (e, l) => {
111
- let c = gl;
112
- return l && (c += Zt * 2), e != null && e.offsetWidth ? e.offsetWidth + c : 0;
113
- }, Cl = (e) => {
114
- var l, c, t, d;
115
- return (l = e == null ? void 0 : e.hasNestedContent) != null && l.value ? (c = e == null ? void 0 : e.hasSelectableColumn) != null && c.value ? (t = e == null ? void 0 : e.hasSelectableAcrossPages) != null && t.value ? cl : ul : fl : (d = e == null ? void 0 : e.hasSelectableAcrossPages) != null && d.value ? dl : rl;
116
- }, hl = (e, l, c, t, d, i) => {
117
- const s = O(e.value), _ = O(l), g = O(c), b = O(t), y = O(d), f = O(!1);
110
+ }, Lt = (e, o) => {
111
+ let f = pl;
112
+ return o && (f += jt * 2), e != null && e.offsetWidth ? e.offsetWidth + f : 0;
113
+ }, Sl = (e) => {
114
+ var o, f, t, r;
115
+ return (o = e == null ? void 0 : e.hasNestedContent) != null && o.value ? (f = e == null ? void 0 : e.hasSelectableColumn) != null && f.value ? (t = e == null ? void 0 : e.hasSelectableAcrossPages) != null && t.value ? _l : hl : Ll : (r = e == null ? void 0 : e.hasSelectableAcrossPages) != null && r.value ? Cl : ml;
116
+ }, yl = (e, o, f, t, r, i) => {
117
+ const s = I(e.value), h = I(o), C = I(f), y = I(t), b = I(r), c = I(!1);
118
118
  ce(
119
119
  () => e.value,
120
- (m, h) => {
121
- var G, J;
122
- const D = (m == null ? void 0 : m.map(({ field: v }) => v).toString()) === (h == null ? void 0 : h.map(({ field: v }) => v).toString());
123
- if (!((G = i == null ? void 0 : i.allowColumnDragAndDrop) != null && G.value) || !D) {
120
+ (v, L) => {
121
+ var H, J;
122
+ const D = (v == null ? void 0 : v.map(({ field: m }) => m).toString()) === (L == null ? void 0 : L.map(({ field: m }) => m).toString());
123
+ if (!((H = i == null ? void 0 : i.allowColumnDragAndDrop) != null && H.value) || !D) {
124
124
  s.value = e.value;
125
125
  return;
126
126
  }
127
- s.value = ((J = s.value) == null ? void 0 : J.length) === 0 ? e.value : e.value.sort((v, H) => {
128
- const U = s.value.findIndex((V) => V.field === v.field), M = s.value.findIndex((V) => V.field === H.field);
129
- return U === -1 ? 1 : M === -1 ? -1 : U - M;
127
+ s.value = ((J = s.value) == null ? void 0 : J.length) === 0 ? e.value : e.value.sort((m, B) => {
128
+ const k = s.value.findIndex((V) => V.field === m.field), N = s.value.findIndex((V) => V.field === B.field);
129
+ return k === -1 ? 1 : N === -1 ? -1 : k - N;
130
130
  });
131
131
  }
132
132
  );
133
- const N = O();
133
+ const S = I();
134
134
  let n = null;
135
- const C = w(() => {
136
- var U, M;
137
- const m = [];
138
- let h = 0, D = 0;
139
- const G = {};
135
+ const g = O(() => {
136
+ var k, N;
137
+ const v = [];
138
+ let L = 0, D = 0;
139
+ const H = {};
140
140
  let J = s.value.filter((V) => V.visible !== !1);
141
- const v = s.value.filter((V) => V.visible === !1);
142
- if ((U = i == null ? void 0 : i.hasSelectableColumn) != null && U.value || (M = i == null ? void 0 : i.hasNestedContent) != null && M.value) {
143
- const V = Cl(i);
141
+ const m = s.value.filter((V) => V.visible === !1);
142
+ if ((k = i == null ? void 0 : i.hasSelectableColumn) != null && k.value || (N = i == null ? void 0 : i.hasNestedContent) != null && N.value) {
143
+ const V = Sl(i);
144
144
  J = [
145
145
  {
146
- field: se,
146
+ field: ie,
147
147
  label: "",
148
148
  minWidth: V,
149
149
  width: V,
@@ -154,312 +154,313 @@ const il = (e, l) => {
154
154
  ];
155
155
  }
156
156
  J.forEach((V) => {
157
- const B = { ...V };
158
- let ae;
159
- B.flex && B.flex > 0 ? (h += B.flex, ae = 0, m.push(B)) : ae = Math.max(
160
- (B == null ? void 0 : B.width) ?? al,
161
- (B == null ? void 0 : B.minWidth) ?? ht
162
- ), D += ae, B.width = ae, B.minWidth = (B == null ? void 0 : B.minWidth) ?? ht, G[B.field] = B;
157
+ const P = { ...V };
158
+ let ge;
159
+ P.flex && P.flex > 0 ? (L += P.flex, ge = 0, v.push(P)) : ge = Math.max(
160
+ (P == null ? void 0 : P.width) ?? vl,
161
+ (P == null ? void 0 : P.minWidth) ?? _t
162
+ ), D += ge, P.width = ge, P.minWidth = (P == null ? void 0 : P.minWidth) ?? _t, H[P.field] = P;
163
163
  });
164
- const H = Math.max(N.value - D, 0);
165
- if (h > 0 && N.value > 0) {
166
- const V = ml(H, h, m);
167
- Object.keys(V).forEach((B) => {
168
- G[B].width = V[B].computedWidth;
164
+ const B = Math.max(S.value - D, 0);
165
+ if (L > 0 && S.value > 0) {
166
+ const V = bl(B, L, v);
167
+ Object.keys(V).forEach((P) => {
168
+ H[P].width = V[P].computedWidth;
169
169
  });
170
170
  }
171
- return v.forEach((V) => {
172
- const B = { ...V };
173
- G[B.field] = B;
174
- }), Object.values(G);
175
- }), a = O(void 0), L = (m) => {
176
- a.value = { ...a.value, ...m };
177
- }, S = async () => {
178
- s.value.some((m) => m == null ? void 0 : m.autoWidth) && (f.value = !0, await ue(), await ue(), s == null || s.value.filter((m) => m == null ? void 0 : m.autoWidth).forEach(({ field: m, minWidth: h }) => {
179
- var v, H, U, M;
180
- const D = _t(
181
- (v = b.value) == null ? void 0 : v[m],
182
- (H = i == null ? void 0 : i.hasColumnPanel) == null ? void 0 : H.value
183
- ), G = (M = (U = y.value) == null ? void 0 : U[m]) == null ? void 0 : M.reduce(
184
- (V, B) => Math.max(V, _t(B)),
171
+ return m.forEach((V) => {
172
+ const P = { ...V };
173
+ H[P.field] = P;
174
+ }), Object.values(H);
175
+ }), a = I(void 0), _ = (v) => {
176
+ a.value = { ...a.value, ...v };
177
+ }, w = async () => {
178
+ s.value.some((v) => v == null ? void 0 : v.autoWidth) && (c.value = !0, await ue(), await ue(), s == null || s.value.filter((v) => v == null ? void 0 : v.autoWidth).forEach(({ field: v, minWidth: L }) => {
179
+ var m, B, k, N;
180
+ const D = Lt(
181
+ (m = y.value) == null ? void 0 : m[v],
182
+ (B = i == null ? void 0 : i.hasColumnPanel) == null ? void 0 : B.value
183
+ ), H = (N = (k = b.value) == null ? void 0 : k[v]) == null ? void 0 : N.reduce(
184
+ (V, P) => Math.max(V, Lt(P)),
185
185
  0
186
- ), J = Math.max(D, G ?? 0);
187
- (h === void 0 || J > h) && L({
188
- [m]: {
186
+ ), J = Math.max(D, H ?? 0);
187
+ (L === void 0 || J > L) && _({
188
+ [v]: {
189
189
  width: J
190
190
  }
191
191
  });
192
- }), f.value = !1);
192
+ }), c.value = !1);
193
193
  };
194
- ce([() => s.value, () => _.value], async () => {
195
- s.value.some((m) => m == null ? void 0 : m.autoWidth) && await S();
194
+ ce([() => s.value, () => h.value], async () => {
195
+ s.value.some((v) => v == null ? void 0 : v.autoWidth) && await w();
196
196
  });
197
- const A = w(
198
- () => C.value.map((m) => {
199
- var h, D;
197
+ const A = O(
198
+ () => g.value.map((v) => {
199
+ var L, D;
200
200
  return {
201
- ...m,
201
+ ...v,
202
202
  // Override column width with resized ones
203
- width: ((D = (h = a.value) == null ? void 0 : h[m.field]) == null ? void 0 : D.width) ?? m.width
203
+ width: ((D = (L = a.value) == null ? void 0 : L[v.field]) == null ? void 0 : D.width) ?? v.width
204
204
  };
205
205
  })
206
- ), P = w(
206
+ ), F = O(
207
207
  () => {
208
- var m;
209
- return (m = A.value) == null ? void 0 : m.filter(({ visible: h }) => h !== !1).reduce((h, D) => D.width + h, 0);
208
+ var v;
209
+ return (v = A.value) == null ? void 0 : v.filter(({ visible: L }) => L !== !1).reduce((L, D) => D.width + L, 0);
210
210
  }
211
- ), j = w(
212
- () => N.value <= P.value
213
- ), ie = w(() => ({
214
- width: N.value > P.value ? "100%" : "fit-content"
211
+ ), x = O(
212
+ () => S.value <= F.value
213
+ ), ae = O(() => ({
214
+ width: S.value > F.value ? "100%" : "fit-content"
215
215
  }));
216
216
  return Je(() => {
217
- var h;
218
- const m = i != null && i.isDataGridTemplate ? vl : 0;
217
+ var L;
218
+ const v = i != null && i.isDataGridTemplate ? El : 0;
219
219
  ue(() => {
220
- g.value && (N.value = g.value.getBoundingClientRect().width - m);
220
+ C.value && (S.value = C.value.getBoundingClientRect().width - v);
221
221
  const D = ce(
222
- g,
222
+ C,
223
223
  () => {
224
- g.value && (ue(() => D()), n = tt(g.value, ({ width: G }) => {
225
- N.value = G - m;
224
+ C.value && (ue(() => D()), n = tt(C.value, ({ width: H }) => {
225
+ S.value = H - v;
226
226
  }));
227
227
  },
228
228
  { immediate: !0 }
229
229
  );
230
- }), (h = document == null ? void 0 : document.fonts) != null && h.ready ? document.fonts.ready.then(() => {
231
- S();
232
- }) : S();
233
- }), kt(() => {
230
+ }), (L = document == null ? void 0 : document.fonts) != null && L.ready ? document.fonts.ready.then(() => {
231
+ w();
232
+ }) : w();
233
+ }), zt(() => {
234
234
  n == null || n.disconnect();
235
- }), Rn(() => {
236
- var m;
237
- y.value && ((m = Object.keys(y.value)) == null ? void 0 : m.length) > 0 && Object.keys(y.value).forEach((D) => {
238
- y.value[D] = [];
235
+ }), zn(() => {
236
+ var v;
237
+ b.value && ((v = Object.keys(b.value)) == null ? void 0 : v.length) > 0 && Object.keys(b.value).forEach((D) => {
238
+ b.value[D] = [];
239
239
  });
240
240
  }), {
241
241
  columnDefs: A,
242
- gridColumnWidthStyle: ie,
243
- onColumnWidthOverride: L,
244
- isMeasuringColumnWidths: f,
245
- isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: j,
246
- columns: s
242
+ gridColumnWidthStyle: ae,
243
+ onColumnWidthOverride: _,
244
+ isMeasuringColumnWidths: c,
245
+ isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: x,
246
+ columns: s,
247
+ totalWidthOfAllColumns: F
247
248
  };
248
- }, _l = (e, l, c, t, d) => {
249
- const i = O(e.value ?? []), s = Xe({
249
+ }, wl = (e, o, f, t, r) => {
250
+ const i = I(e.value ?? []), s = Xe({
250
251
  allItemsSelected: !1,
251
252
  isIndeterminate: !1
252
- }), _ = () => {
253
- l($.SELECT, i.value), l($.UPDATE_SELECTION, i.value);
254
- }, g = (f) => {
255
- var n, C, a, L, S;
256
- if (i.value = f, ((n = c.value) == null ? void 0 : n.length) > 0 && ((C = c.value) == null ? void 0 : C.filter((A) => !d(A)).every((A) => i.value.includes(t(A))))) {
253
+ }), h = () => {
254
+ o($.SELECT, i.value), o($.UPDATE_SELECTION, i.value);
255
+ }, C = (c) => {
256
+ var n, g, a, _, w;
257
+ if (i.value = c, ((n = f.value) == null ? void 0 : n.length) > 0 && ((g = f.value) == null ? void 0 : g.filter((A) => !r(A)).every((A) => i.value.includes(t(A))))) {
257
258
  s.allItemsSelected = !0;
258
- const A = ((a = c.value) == null ? void 0 : a.length) > 0 && c.value.every((P) => i.value.includes(t(P)));
259
+ const A = ((a = f.value) == null ? void 0 : a.length) > 0 && f.value.every((F) => i.value.includes(t(F)));
259
260
  s.isIndeterminate = !A;
260
261
  } else
261
- s.allItemsSelected = !1, s.isIndeterminate = ((L = i.value) == null ? void 0 : L.length) > 0 && ((S = c.value) == null ? void 0 : S.length) > 0 && c.value.some((A) => i.value.includes(t(A)));
262
- }, b = (f) => {
262
+ s.allItemsSelected = !1, s.isIndeterminate = ((_ = i.value) == null ? void 0 : _.length) > 0 && ((w = f.value) == null ? void 0 : w.length) > 0 && f.value.some((A) => i.value.includes(t(A)));
263
+ }, y = (c) => {
263
264
  ue(() => {
264
- var N, n, C;
265
- if (s.allItemsSelected = f, f) {
266
- i.value = (n = (N = c.value) == null ? void 0 : N.filter((L) => !d(L))) == null ? void 0 : n.map((L) => t(L));
267
- const a = ((C = c.value) == null ? void 0 : C.length) > 0 && c.value.every((L) => i.value.includes(t(L)));
265
+ var S, n, g;
266
+ if (s.allItemsSelected = c, c) {
267
+ i.value = (n = (S = f.value) == null ? void 0 : S.filter((_) => !r(_))) == null ? void 0 : n.map((_) => t(_));
268
+ const a = ((g = f.value) == null ? void 0 : g.length) > 0 && f.value.every((_) => i.value.includes(t(_)));
268
269
  s.isIndeterminate = i.value.length > 0 && !a;
269
270
  } else
270
271
  i.value = [], s.isIndeterminate = !1;
271
- _();
272
+ h();
272
273
  });
273
- }, y = (f) => {
274
+ }, b = (c) => {
274
275
  ue(() => {
275
- g(f), _();
276
+ C(c), h();
276
277
  });
277
278
  };
278
279
  return ce(
279
280
  () => e.value,
280
281
  () => {
281
- g(e.value ?? []);
282
+ C(e.value ?? []);
282
283
  },
283
284
  { immediate: !0 }
284
285
  ), ce(
285
- () => c.value,
286
+ () => f.value,
286
287
  () => {
287
- g(i.value);
288
+ C(i.value);
288
289
  }
289
- ), { onAllRowSelect: b, onRowSelect: y, allItemsSelectedState: s, selectedItems: i };
290
- }, Ll = (e, l, c) => ({ isSorting: (s) => e.value.some((_) => _.field === s), getSortingDirection: (s) => {
291
- var _;
292
- return (_ = e.value.find((g) => g.field === s)) == null ? void 0 : _.direction;
290
+ ), { onAllRowSelect: y, onRowSelect: b, allItemsSelectedState: s, selectedItems: i };
291
+ }, Ol = (e, o, f) => ({ isSorting: (s) => e.value.some((h) => h.field === s), getSortingDirection: (s) => {
292
+ var h;
293
+ return (h = e.value.find((C) => C.field === s)) == null ? void 0 : h.direction;
293
294
  }, sortByColumnField: (s) => {
294
- var b;
295
- if (!l.value.some((y) => y.field === s && y.sortable))
295
+ var y;
296
+ if (!o.value.some((b) => b.field === s && b.sortable))
296
297
  return;
297
- const g = [{
298
+ const C = [{
298
299
  field: s,
299
- direction: ((b = e.value.find((y) => y.field === s)) == null ? void 0 : b.direction) === Se.ASCENDING ? Se.DESCENDING : Se.ASCENDING
300
+ direction: ((y = e.value.find((b) => b.field === s)) == null ? void 0 : y.direction) === Se.ASCENDING ? Se.DESCENDING : Se.ASCENDING
300
301
  }];
301
- c(Y.SORT, g);
302
+ f("sort", C);
302
303
  } });
303
- var ne = ((e) => (e[e.ARROW_DOWN = _e.ARROW_DOWN] = "ARROW_DOWN", e[e.ARROW_UP = _e.ARROW_UP] = "ARROW_UP", e[e.ARROW_LEFT = _e.ARROW_LEFT] = "ARROW_LEFT", e[e.ARROW_RIGHT = _e.ARROW_RIGHT] = "ARROW_RIGHT", e[e.PAGE_UP = _e.PAGE_UP] = "PAGE_UP", e[e.PAGE_DOWN = _e.PAGE_DOWN] = "PAGE_DOWN", e[e.END = _e.END] = "END", e[e.HOME = _e.HOME] = "HOME", e))(ne || {});
304
- const pl = (e, l, c) => {
305
- const t = w(() => {
306
- const n = l.value.filter(({ visible: C }) => C !== !1);
307
- return c.value ? n.length + 1 : n.length;
308
- }), d = w(
309
- () => [...Object.values(e.value)].flat(1).sort((n, C) => {
310
- const a = Number(n.getAttribute("data-cellindex")), L = Number(C.getAttribute("data-cellindex"));
311
- return a > L ? 1 : L > a ? -1 : 0;
304
+ var se = ((e) => (e[e.ARROW_DOWN = Le.ARROW_DOWN] = "ARROW_DOWN", e[e.ARROW_UP = Le.ARROW_UP] = "ARROW_UP", e[e.ARROW_LEFT = Le.ARROW_LEFT] = "ARROW_LEFT", e[e.ARROW_RIGHT = Le.ARROW_RIGHT] = "ARROW_RIGHT", e[e.PAGE_UP = Le.PAGE_UP] = "PAGE_UP", e[e.PAGE_DOWN = Le.PAGE_DOWN] = "PAGE_DOWN", e[e.END = Le.END] = "END", e[e.HOME = Le.HOME] = "HOME", e))(se || {});
305
+ const Il = (e, o, f) => {
306
+ const t = O(() => {
307
+ const n = o.value.filter(({ visible: g }) => g !== !1);
308
+ return f.value ? n.length + 1 : n.length;
309
+ }), r = O(
310
+ () => [...Object.values(e.value)].flat(1).sort((n, g) => {
311
+ const a = Number(n.getAttribute("data-cellindex")), _ = Number(g.getAttribute("data-cellindex"));
312
+ return a > _ ? 1 : _ > a ? -1 : 0;
312
313
  })
313
- ), i = (n) => Math.floor(n / t.value), s = (n, C, a) => {
314
- const L = d.value.length - 1, S = t.value - 1, A = i(n), P = n - t.value * A;
314
+ ), i = (n) => Math.floor(n / t.value), s = (n, g, a) => {
315
+ const _ = r.value.length - 1, w = t.value - 1, A = i(n), F = n - t.value * A;
315
316
  return {
316
- [ne.PAGE_UP]: P,
317
- [ne.PAGE_DOWN]: L - S + P,
318
- [ne.END]: a ? L : t.value * A + S,
319
- [ne.HOME]: a ? 0 : t.value * A
320
- }[C];
321
- }, _ = (n, C) => {
322
- const L = {
323
- [ne.ARROW_DOWN]: t.value,
324
- [ne.ARROW_UP]: -t.value,
325
- [ne.ARROW_LEFT]: -1,
326
- [ne.ARROW_RIGHT]: 1
327
- }[C], S = n + L;
328
- return S < 0 || S >= d.value.length ? n : S;
329
- }, g = (n) => [
330
- ne.PAGE_UP,
331
- ne.PAGE_DOWN,
332
- ne.END,
333
- ne.HOME
334
- ].includes(n), b = (n, C, a) => {
335
- const L = d.value.indexOf(n);
336
- return g(C) ? s(L, C, a) : _(L, C);
337
- }, y = (n, C, a) => {
338
- if (!d.value.includes(n))
317
+ [se.PAGE_UP]: F,
318
+ [se.PAGE_DOWN]: _ - w + F,
319
+ [se.END]: a ? _ : t.value * A + w,
320
+ [se.HOME]: a ? 0 : t.value * A
321
+ }[g];
322
+ }, h = (n, g) => {
323
+ const _ = {
324
+ [se.ARROW_DOWN]: t.value,
325
+ [se.ARROW_UP]: -t.value,
326
+ [se.ARROW_LEFT]: -1,
327
+ [se.ARROW_RIGHT]: 1
328
+ }[g], w = n + _;
329
+ return w < 0 || w >= r.value.length ? n : w;
330
+ }, C = (n) => [
331
+ se.PAGE_UP,
332
+ se.PAGE_DOWN,
333
+ se.END,
334
+ se.HOME
335
+ ].includes(n), y = (n, g, a) => {
336
+ const _ = r.value.indexOf(n);
337
+ return C(g) ? s(_, g, a) : h(_, g);
338
+ }, b = (n, g, a) => {
339
+ if (!r.value.includes(n))
339
340
  return;
340
- const L = b(n, C, a);
341
- d.value[L].focus();
342
- }, f = (n) => n in ne;
341
+ const _ = y(n, g, a);
342
+ r.value[_].focus();
343
+ }, c = (n) => n in se;
343
344
  return {
344
- isNavigationKeyCode: f,
345
- focusOnNextGridcell: y,
345
+ isNavigationKeyCode: c,
346
+ focusOnNextGridcell: b,
346
347
  navigationInput: (n) => {
347
- const { ctrlKey: C, keyCode: a, target: L } = n;
348
- Object.values(e.value).flat(1).includes(L) && f(a) && y(L, a, C);
348
+ const { ctrlKey: g, keyCode: a, target: _ } = n;
349
+ Object.values(e.value).flat(1).includes(_) && c(a) && b(_, a, g);
349
350
  }
350
351
  };
351
- }, El = 90, Sl = (e, l, c, t, d) => {
352
- const i = O(e), s = O(l), _ = O(c), g = O(t), b = w(() => i.value !== "none"), y = w(() => i.value === "automatic"), f = () => {
353
- d($.UPDATE_SHOW_MORE);
352
+ }, Al = 90, Rl = (e, o, f, t, r) => {
353
+ const i = I(e), s = I(o), h = I(f), C = I(t), y = O(() => i.value !== "none"), b = O(() => i.value === "automatic"), c = () => {
354
+ r($.UPDATE_SHOW_MORE);
354
355
  };
355
356
  return ce(
356
357
  () => s.value,
357
358
  () => {
358
- y.value && _.value.offsetHeight / s.value * 100 > El && !g.value && f();
359
+ b.value && h.value.offsetHeight / s.value * 100 > Al && !C.value && c();
359
360
  }
360
- ), { isLazyLoad: b, isInfiniteScroll: y, verticalScrollPosition: s, emitLazyLoadEvent: f };
361
- }, bl = (e, l, c) => {
362
- const t = O(e), d = O(l), i = Xe({
361
+ ), { isLazyLoad: y, isInfiniteScroll: b, verticalScrollPosition: s, emitLazyLoadEvent: c };
362
+ }, Tl = (e, o, f) => {
363
+ const t = I(e), r = I(o), i = Xe({
363
364
  dragging: null,
364
365
  dragToLeft: null,
365
366
  target: null
366
- }), s = (n, C = 0) => {
367
- const a = t.value.findIndex((A) => A.field === n.field), L = a + C;
368
- if (L < 0 || L > t.value.length - 1)
367
+ }), s = (n, g = 0) => {
368
+ const a = t.value.findIndex((A) => A.field === n.field), _ = a + g;
369
+ if (_ < 0 || _ > t.value.length - 1)
369
370
  return;
370
- const S = [...t.value];
371
- S.splice(L, 0, S.splice(a, 1)[0]), c($.COLUMNS, S), c($.UPDATE_COLUMNS, S);
372
- }, _ = (n, C) => {
373
- i.dragging = n, C.dataTransfer.setData("text", ""), C.dataTransfer.dropEffect = "move";
374
- }, g = (n, C) => {
371
+ const w = [...t.value];
372
+ w.splice(_, 0, w.splice(a, 1)[0]), f($.COLUMNS, w), f($.UPDATE_COLUMNS, w);
373
+ }, h = (n, g) => {
374
+ i.dragging = n, g.dataTransfer.setData("text", ""), g.dataTransfer.dropEffect = "move";
375
+ }, C = (n, g) => {
375
376
  i.target = n;
376
- const a = C.currentTarget.getBoundingClientRect(), L = a.left + a.width / 2, S = C.clientX ?? 0;
377
- i.dragToLeft = S <= L;
378
- }, b = (n) => {
379
- var C, a;
380
- if (((C = i.dragging) == null ? void 0 : C.field) !== n.field) {
381
- const L = t.value.findIndex((m) => {
382
- var h;
383
- return m.field === ((h = i.dragging) == null ? void 0 : h.field);
384
- }), S = t.value.findIndex((m) => m.field === n.field), A = i.dragToLeft ? S : S + 1, P = A > L ? A - 1 : A;
385
- let j = [...t.value];
386
- j.splice(
387
- P === -1 ? 0 : P,
377
+ const a = g.currentTarget.getBoundingClientRect(), _ = a.left + a.width / 2, w = g.clientX ?? 0;
378
+ i.dragToLeft = w <= _;
379
+ }, y = (n) => {
380
+ var g, a;
381
+ if (((g = i.dragging) == null ? void 0 : g.field) !== n.field) {
382
+ const _ = t.value.findIndex((v) => {
383
+ var L;
384
+ return v.field === ((L = i.dragging) == null ? void 0 : L.field);
385
+ }), w = t.value.findIndex((v) => v.field === n.field), A = i.dragToLeft ? w : w + 1, F = A > _ ? A - 1 : A;
386
+ let x = [...t.value];
387
+ x.splice(
388
+ F === -1 ? 0 : F,
388
389
  0,
389
- j.splice(L, 1)[0]
390
+ x.splice(_, 1)[0]
390
391
  );
391
- const ie = t.value.findIndex((m) => !(m != null && m.frozen));
392
- ((a = i.dragging) == null ? void 0 : a.frozen) !== n.frozen && A !== ie && (j = j.map(
393
- (m) => {
394
- var h;
395
- return ((h = i.dragging) == null ? void 0 : h.field) === m.field ? { ...m, frozen: !!(n != null && n.frozen) } : m;
392
+ const ae = t.value.findIndex((v) => !(v != null && v.frozen));
393
+ ((a = i.dragging) == null ? void 0 : a.frozen) !== n.frozen && A !== ae && (x = x.map(
394
+ (v) => {
395
+ var L;
396
+ return ((L = i.dragging) == null ? void 0 : L.field) === v.field ? { ...v, frozen: !!(n != null && n.frozen) } : v;
396
397
  }
397
- )), c($.COLUMNS, j), c($.UPDATE_COLUMNS, j);
398
+ )), f($.COLUMNS, x), f($.UPDATE_COLUMNS, x);
398
399
  }
399
400
  i.dragging = null, i.target = null;
400
- }, y = () => {
401
+ }, b = () => {
401
402
  i.dragging = null, i.dragToLeft = null, i.target = null;
402
- }, f = w(() => d.value ? {
403
- [Y.COLUMN_DRAG_START]: (n, C) => _(n, C),
404
- [Y.COLUMN_DRAG_ENTER]: (n, C) => g(n, C),
405
- [Y.COLUMN_DROP]: (n) => b(n),
406
- [Y.COLUMN_DRAG_END]: () => y()
407
- } : {}), N = w(() => (n) => d.value ? {
408
- dragenter: (C) => {
409
- C.preventDefault(), g(n, C);
403
+ }, c = O(() => r.value ? {
404
+ [K.COLUMN_DRAG_START]: (n, g) => h(n, g),
405
+ [K.COLUMN_DRAG_ENTER]: (n, g) => C(n, g),
406
+ [K.COLUMN_DROP]: (n) => y(n),
407
+ [K.COLUMN_DRAG_END]: () => b()
408
+ } : {}), S = O(() => (n) => r.value ? {
409
+ dragenter: (g) => {
410
+ g.preventDefault(), C(n, g);
410
411
  },
411
412
  drop: () => {
412
- b(n);
413
+ y(n);
413
414
  },
414
- dragover: (C) => {
415
- C.preventDefault();
415
+ dragover: (g) => {
416
+ g.preventDefault();
416
417
  }
417
418
  } : {});
418
419
  return {
419
420
  // Values
420
421
  draggingColumns: i,
421
422
  // Methods
422
- draggingEventsForColumns: f,
423
- draggingEventsForRowCell: N,
423
+ draggingEventsForColumns: c,
424
+ draggingEventsForRowCell: S,
424
425
  onMoveColumnByOffset: s
425
426
  };
426
- }, yl = (e, l) => {
427
- const c = O(e), t = w(
428
- () => [...c.value].sort((f, N) => f.frozen === N.frozen ? 0 : f.frozen ? -1 : 1)
429
- ), d = w(
430
- () => t.value.filter((f) => f.frozen && f.visible !== !1)
431
- ), i = w(
432
- () => t.value.filter((f) => !f.frozen && f.visible !== !1)
433
- ), s = w(
427
+ }, Nl = (e, o) => {
428
+ const f = I(e), t = O(
429
+ () => [...f.value].sort((c, S) => c.frozen === S.frozen ? 0 : c.frozen ? -1 : 1)
430
+ ), r = O(
431
+ () => t.value.filter((c) => c.frozen && c.visible !== !1)
432
+ ), i = O(
433
+ () => t.value.filter((c) => !c.frozen && c.visible !== !1)
434
+ ), s = O(
434
435
  () => [
435
- { columnSet: d.value, id: "frozen", isFrozenColumns: !0 },
436
+ { columnSet: r.value, id: "frozen", isFrozenColumns: !0 },
436
437
  { columnSet: i.value, id: "unfrozen" }
437
- ].filter(({ columnSet: f }) => f.length)
438
- ), _ = w(
439
- () => c.value.filter((f) => (f == null ? void 0 : f.visible) !== !1 && (f == null ? void 0 : f.field) !== se).length === 1
440
- ), g = (f) => l($.UPDATE_CONDENSED, f), b = (f) => {
441
- l($.COLUMNS, f), l($.UPDATE_COLUMNS, f);
438
+ ].filter(({ columnSet: c }) => c.length)
439
+ ), h = O(
440
+ () => f.value.filter((c) => (c == null ? void 0 : c.visible) !== !1 && (c == null ? void 0 : c.field) !== ie).length === 1
441
+ ), C = (c) => o($.UPDATE_CONDENSED, c), y = (c) => {
442
+ o($.COLUMNS, c), o($.UPDATE_COLUMNS, c);
442
443
  };
443
444
  return {
444
445
  // Values
445
446
  columnSets: s,
446
- isOnlyOneVisibleColumn: _,
447
+ isOnlyOneVisibleColumn: h,
447
448
  sortedColumns: t,
448
449
  // Methods
449
- onConfigSettingsUpdate: g,
450
- onConfigSettingsColumnsUpdate: b,
451
- onConfigSettingsColumnUpdate: (f) => {
452
- const N = t.value.map(
453
- (n) => (n == null ? void 0 : n.field) === f.field ? f : n
450
+ onConfigSettingsUpdate: C,
451
+ onConfigSettingsColumnsUpdate: y,
452
+ onConfigSettingsColumnUpdate: (c) => {
453
+ const S = t.value.map(
454
+ (n) => (n == null ? void 0 : n.field) === c.field ? c : n
454
455
  );
455
- b(N);
456
+ y(S);
456
457
  }
457
458
  };
458
- }, Lt = (e, l) => {
459
- const c = O(0);
459
+ }, pt = (e, o) => {
460
+ const f = I(0);
460
461
  let t = null;
461
- const d = () => {
462
- e != null && e.value && l.value && (c.value = e.value.offsetHeight);
462
+ const r = () => {
463
+ e != null && e.value && o.value && (f.value = e.value.offsetHeight);
463
464
  };
464
465
  return Je(() => {
465
466
  ue(() => {
@@ -467,320 +468,335 @@ const pl = (e, l, c) => {
467
468
  e,
468
469
  () => {
469
470
  e != null && e.value && (ue(() => i()), t = tt(e.value, () => {
470
- d();
471
+ r();
471
472
  }));
472
473
  },
473
474
  { immediate: !0 }
474
475
  );
475
476
  ce(
476
- l,
477
+ o,
477
478
  () => {
478
- l.value ? d() : c.value = 0;
479
+ o.value ? r() : f.value = 0;
479
480
  },
480
481
  { immediate: !0 }
481
482
  );
482
483
  });
483
- }), kt(() => {
484
+ }), zt(() => {
484
485
  t == null || t.disconnect();
485
- }), c;
486
- }, wl = (e, l, c) => {
487
- const t = O(0), d = O(!1), i = O(!1);
488
- return ce(
489
- () => t.value,
486
+ }), f;
487
+ }, $l = (e, o, f, t, r) => {
488
+ const i = I(0), s = I(!1), h = I(!1);
489
+ ce(
490
+ () => i.value,
490
491
  () => {
491
- e.value.scrollLeft = t.value, l.value.scrollLeft = t.value, d.value = !!t.value, i.value = l.value.scrollWidth - l.value.offsetWidth > t.value;
492
+ e.value.scrollLeft = i.value, o.value.scrollLeft = i.value, s.value = !!i.value, h.value = o.value.scrollWidth - o.value.offsetWidth > i.value;
492
493
  }
493
494
  ), Je(async () => {
494
- var g, b;
495
- await ue(), await ue(), ((g = l.value) == null ? void 0 : g.offsetWidth) < ((b = l.value) == null ? void 0 : b.scrollWidth) && (i.value = !0);
496
- }), {
495
+ var S, n;
496
+ await ue(), await ue(), ((S = o.value) == null ? void 0 : S.offsetWidth) < ((n = o.value) == null ? void 0 : n.scrollWidth) && (h.value = !0);
497
+ });
498
+ const C = (S) => {
499
+ if (i.value = S.target.scrollLeft, f.value = e.value.scrollHeight - S.target.scrollTop, t != null && t.value) {
500
+ const n = S.target.scrollLeft;
501
+ t.value.scrollLeft !== n && (t.value.scrollLeft = n);
502
+ }
503
+ }, y = (S) => {
504
+ S.key !== "Tab" && S.key !== "ArrowRight" && S.key !== "ArrowLeft" || (S.preventDefault(), e.value.scrollLeft = 0, e.value.style.overflowX = "hidden", setTimeout(() => {
505
+ e.value.style.overflowX = "auto";
506
+ }));
507
+ }, b = (S) => {
508
+ const n = S.target.scrollLeft;
509
+ e.value.scrollLeft !== n && (e.value.scrollLeft = n);
510
+ }, c = O(() => {
511
+ var S, n, g;
512
+ return {
513
+ "b-data-grid__horizontal-scrollbar--sticky-pagination": ((S = r == null ? void 0 : r.pagination) == null ? void 0 : S.value) && ((n = r == null ? void 0 : r.stickyPagination) == null ? void 0 : n.value) && !((g = r == null ? void 0 : r.isLazyLoad) != null && g.value)
514
+ };
515
+ });
516
+ return {
497
517
  // Values
498
- scrollLeftPosition: t,
499
- hasLeftOverflow: d,
500
- hasRightOverflow: i,
518
+ scrollLeftPosition: i,
519
+ hasLeftOverflow: s,
520
+ hasRightOverflow: h,
521
+ horizontalScrollbarConditionalClasses: c,
501
522
  // Methods
502
- updateScrollPosition: (g) => {
503
- t.value = g.target.scrollLeft, c.value = e.value.scrollHeight - g.target.scrollTop;
504
- },
505
- updateScrollPositionOnFrozenColumnsNavigation: (g) => {
506
- g.key !== "Tab" && g.key !== "ArrowRight" && g.key !== "ArrowLeft" || (g.preventDefault(), e.value.scrollLeft = 0, e.value.style.overflowX = "hidden", setTimeout(() => {
507
- e.value.style.overflowX = "auto";
508
- }));
509
- }
523
+ updateScrollPosition: C,
524
+ updateScrollPositionOnFrozenColumnsNavigation: y,
525
+ syncVirtualScrollerWithBody: b
510
526
  };
511
- }, Ol = (e, l, c, t) => {
512
- const d = O(null), i = w(() => {
513
- var a, L, S, A;
514
- if (!d.value || d.value.field === se)
527
+ }, Dl = (e, o, f, t) => {
528
+ const r = I(null), i = O(() => {
529
+ var a, _, w, A;
530
+ if (!r.value || r.value.field === ie)
515
531
  return {
516
532
  hoveredOverColumnField: "",
517
533
  isSeparatorOffset: !1,
518
534
  noBorderLeft: !1,
519
535
  noBorderRight: !1
520
536
  };
521
- const s = (L = (a = e.value.find((P) => P.isFrozenColumns)) == null ? void 0 : a.columnSet) == null ? void 0 : L.filter((P) => P.field !== se), _ = e.value.find((P) => !(P != null && P.isFrozenColumns)), g = d.value.frozen && (s == null ? void 0 : s[0].field) === d.value.field, b = !d.value.frozen && ((S = _ == null ? void 0 : _.columnSet) == null ? void 0 : S[0].field) === d.value.field, y = (l.value || c.value) && g, f = (l.value || c.value) && !s && b, N = s && b, n = (s == null ? void 0 : s.length) > 0 && d.value.frozen && (s == null ? void 0 : s[s.length - 1].field) === d.value.field, C = c.value && t.value && !d.value.frozen && ((A = _ == null ? void 0 : _.columnSet) == null ? void 0 : A[_.columnSet.length - 1].field) === d.value.field;
537
+ const s = (_ = (a = e.value.find((F) => F.isFrozenColumns)) == null ? void 0 : a.columnSet) == null ? void 0 : _.filter((F) => F.field !== ie), h = e.value.find((F) => !(F != null && F.isFrozenColumns)), C = r.value.frozen && (s == null ? void 0 : s[0].field) === r.value.field, y = !r.value.frozen && ((w = h == null ? void 0 : h.columnSet) == null ? void 0 : w[0].field) === r.value.field, b = (o.value || f.value) && C, c = (o.value || f.value) && !s && y, S = s && y, n = (s == null ? void 0 : s.length) > 0 && r.value.frozen && (s == null ? void 0 : s[s.length - 1].field) === r.value.field, g = f.value && t.value && !r.value.frozen && ((A = h == null ? void 0 : h.columnSet) == null ? void 0 : A[h.columnSet.length - 1].field) === r.value.field;
522
538
  return {
523
- hoveredOverColumnField: d.value.field,
524
- isSeparatorOffset: C,
525
- noBorderLeft: !!y || !!f || !!N,
526
- noBorderRight: !!n || !!C
539
+ hoveredOverColumnField: r.value.field,
540
+ isSeparatorOffset: g,
541
+ noBorderLeft: !!b || !!c || !!S,
542
+ noBorderRight: !!n || !!g
527
543
  };
528
544
  });
529
545
  return {
530
- hoveredOverColumn: d,
546
+ hoveredOverColumn: r,
531
547
  hoveredOverColumnState: i
532
548
  };
533
549
  };
534
- let pt = 0;
535
- const Il = {
550
+ let Et = 0;
551
+ const Ml = {
536
552
  beforeCreate() {
537
- this.uuid = pt.toString(), pt += 1;
553
+ this.uuid = Et.toString(), Et += 1;
538
554
  }
539
- }, Al = { key: 0 }, Rl = ["clip-path"], Tl = ["id"];
540
- function Nl(e, l, c, t, d, i) {
541
- return u(), E("svg", X({ role: "img" }, e.$attrs, {
555
+ }, kl = { key: 0 }, zl = ["clip-path"], Ul = ["id"];
556
+ function Fl(e, o, f, t, r, i) {
557
+ return u(), E("svg", Y({ role: "img" }, e.$attrs, {
542
558
  class: "ui-assets-icons-16",
543
559
  xmlns: "http://www.w3.org/2000/svg",
544
560
  width: "16",
545
561
  height: "16",
546
562
  fill: "none"
547
563
  }), [
548
- e.$attrs["svg-title"] ? (u(), E("title", Al, x(e.$attrs["svg-title"]), 1)) : k("", !0),
564
+ e.$attrs["svg-title"] ? (u(), E("title", kl, j(e.$attrs["svg-title"]), 1)) : M("", !0),
549
565
  p("g", {
550
566
  fill: "#00112C",
551
567
  "clip-path": "url(#uia-icons-16-arrow_up_down_sort__a" + e.uuid + ")"
552
- }, l[0] || (l[0] = [
568
+ }, o[0] || (o[0] = [
553
569
  p("path", { d: "M9.06077 4.00011L5.00011 -0.0605469L0.939453 4.00011L2.00011 5.06077L4.25 2.81089V10.75H5.75V2.81066L8.00011 5.06077L9.06077 4.00011Z" }, null, -1),
554
570
  p("path", { d: "M10.25 13.1893L8.00011 10.9395L6.93945 12.0001L11.0001 16.0608L15.0608 12.0001L14.0001 10.9395L11.75 13.1896V5.25H10.25V13.1893Z" }, null, -1)
555
- ]), 8, Rl),
571
+ ]), 8, zl),
556
572
  p("defs", null, [
557
573
  p("clipPath", {
558
574
  id: "uia-icons-16-arrow_up_down_sort__a" + e.uuid
559
- }, l[1] || (l[1] = [
575
+ }, o[1] || (o[1] = [
560
576
  p("rect", {
561
577
  width: "16",
562
578
  height: "16",
563
579
  fill: "#fff"
564
580
  }, null, -1)
565
- ]), 8, Tl)
581
+ ]), 8, Ul)
566
582
  ])
567
583
  ], 16);
568
584
  }
569
- const $l = /* @__PURE__ */ K(Il, [["render", Nl]]);
570
- let Et = 0;
571
- const Dl = {
585
+ const Pl = /* @__PURE__ */ X(Ml, [["render", Fl]]);
586
+ let bt = 0;
587
+ const Bl = {
572
588
  beforeCreate() {
573
- this.uuid = Et.toString(), Et += 1;
589
+ this.uuid = bt.toString(), bt += 1;
574
590
  }
575
- }, Ml = { key: 0 };
576
- function kl(e, l, c, t, d, i) {
577
- return u(), E("svg", X({ role: "img" }, e.$attrs, {
591
+ }, Wl = { key: 0 };
592
+ function Gl(e, o, f, t, r, i) {
593
+ return u(), E("svg", Y({ role: "img" }, e.$attrs, {
578
594
  class: "ui-assets-icons-16",
579
595
  xmlns: "http://www.w3.org/2000/svg",
580
596
  width: "16",
581
597
  height: "16",
582
598
  fill: "none"
583
599
  }), [
584
- e.$attrs["svg-title"] ? (u(), E("title", Ml, x(e.$attrs["svg-title"]), 1)) : k("", !0),
585
- l[0] || (l[0] = p("path", {
600
+ e.$attrs["svg-title"] ? (u(), E("title", Wl, j(e.$attrs["svg-title"]), 1)) : M("", !0),
601
+ o[0] || (o[0] = p("path", {
586
602
  fill: "#00112C",
587
603
  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"
588
604
  }, null, -1))
589
605
  ], 16);
590
606
  }
591
- const Ul = /* @__PURE__ */ K(Dl, [["render", kl]]);
607
+ const Hl = /* @__PURE__ */ X(Bl, [["render", Gl]]);
592
608
  let St = 0;
593
- const zl = {
609
+ const Vl = {
594
610
  beforeCreate() {
595
611
  this.uuid = St.toString(), St += 1;
596
612
  }
597
- }, Fl = { key: 0 }, Pl = ["clip-path"], Bl = ["id"];
598
- function Wl(e, l, c, t, d, i) {
599
- return u(), E("svg", X({ role: "img" }, e.$attrs, {
613
+ }, xl = { key: 0 }, Zl = ["clip-path"], jl = ["id"];
614
+ function ql(e, o, f, t, r, i) {
615
+ return u(), E("svg", Y({ role: "img" }, e.$attrs, {
600
616
  class: "ui-assets-icons-16",
601
617
  xmlns: "http://www.w3.org/2000/svg",
602
618
  width: "16",
603
619
  height: "16",
604
620
  fill: "none"
605
621
  }), [
606
- e.$attrs["svg-title"] ? (u(), E("title", Fl, x(e.$attrs["svg-title"]), 1)) : k("", !0),
622
+ e.$attrs["svg-title"] ? (u(), E("title", xl, j(e.$attrs["svg-title"]), 1)) : M("", !0),
607
623
  p("g", {
608
624
  "clip-path": "url(#uia-icons-16-freeze__a" + e.uuid + ")"
609
- }, l[0] || (l[0] = [
625
+ }, o[0] || (o[0] = [
610
626
  p("path", {
611
627
  fill: "#00112C",
612
628
  d: "M7.99989 14.0605L9.49989 15.5605L10.5605 14.4999L8.75 12.6893V10.9334L10.169 10.116L11.6861 10.9939L12.3501 13.4688L13.7988 13.0801L13.2488 11.0301L15.2988 10.4801L14.9101 9.03129L12.4363 9.695L10.9199 8.81745V7.18276L12.4365 6.3051L14.9101 6.96875L15.2988 5.51999L13.2488 4.96999L13.7988 2.91999L12.3501 2.53129L11.686 5.00635L10.1693 5.88407L8.75 5.06648L8.75 3.31043L10.5605 1.49989L9.49989 0.439226L7.99989 1.93923L6.49989 0.439226L5.43923 1.49989L7.25 3.31066V5.06639L5.83078 5.88392L4.31419 5.00626L3.65018 2.53129L2.20141 2.91998L2.384 3.60052L2.38063 3.60143L2.75032 4.97028L0.701408 5.51999L1.0901 6.96875L1.7708 6.78612L1.77173 6.78955L3.56437 6.30541L5.07992 7.18246L5.07992 8.81775L3.564 9.69502L1.0901 9.03129L0.701408 10.4801L2.75141 11.0301L2.20141 13.0801L3.65018 13.4687L4.31414 10.994L5.83106 10.1161L7.25 10.9335V12.6891L5.43923 14.4999L6.49989 15.5605L7.99989 14.0605ZM9.41992 7.18345V8.81644L7.99992 9.63441L6.57992 8.81644L6.57992 7.18345L7.99992 6.36548L9.41992 7.18345Z"
613
629
  }, null, -1)
614
- ]), 8, Pl),
630
+ ]), 8, Zl),
615
631
  p("defs", null, [
616
632
  p("clipPath", {
617
633
  id: "uia-icons-16-freeze__a" + e.uuid
618
- }, l[1] || (l[1] = [
634
+ }, o[1] || (o[1] = [
619
635
  p("rect", {
620
636
  width: "16",
621
637
  height: "16",
622
638
  fill: "#fff",
623
639
  transform: "matrix(1 0 0 -1 0 16)"
624
640
  }, null, -1)
625
- ]), 8, Bl)
641
+ ]), 8, jl)
626
642
  ])
627
643
  ], 16);
628
644
  }
629
- const jt = /* @__PURE__ */ K(zl, [["render", Wl]]);
630
- let bt = 0;
631
- const Hl = {
645
+ const qt = /* @__PURE__ */ X(Vl, [["render", ql]]);
646
+ let yt = 0;
647
+ const Yl = {
632
648
  beforeCreate() {
633
- this.uuid = bt.toString(), bt += 1;
649
+ this.uuid = yt.toString(), yt += 1;
634
650
  }
635
- }, Gl = { key: 0 };
636
- function Vl(e, l, c, t, d, i) {
637
- return u(), E("svg", X({ role: "img" }, e.$attrs, {
651
+ }, Xl = { key: 0 };
652
+ function Kl(e, o, f, t, r, i) {
653
+ return u(), E("svg", Y({ role: "img" }, e.$attrs, {
638
654
  class: "ui-assets-icons-16",
639
655
  xmlns: "http://www.w3.org/2000/svg",
640
656
  width: "16",
641
657
  height: "16",
642
658
  fill: "none"
643
659
  }), [
644
- e.$attrs["svg-title"] ? (u(), E("title", Gl, x(e.$attrs["svg-title"]), 1)) : k("", !0),
645
- l[0] || (l[0] = p("path", {
660
+ e.$attrs["svg-title"] ? (u(), E("title", Xl, j(e.$attrs["svg-title"]), 1)) : M("", !0),
661
+ o[0] || (o[0] = p("path", {
646
662
  fill: "#00112C",
647
663
  d: "M2.99035 14.0608L14.051 3.00011L12.9903 1.93945L1.92969 13.0001L2.99035 14.0608Z"
648
664
  }, null, -1)),
649
- l[1] || (l[1] = p("path", {
665
+ o[1] || (o[1] = p("path", {
650
666
  fill: "#00112C",
651
667
  d: "M13.9404 5.23L12.8704 6.3C13.4704 6.97 13.9004 7.62 14.1304 8C13.4704 9.07 11.2504 12.25 8.00039 12.25C7.67039 12.25 7.34039 12.22 7.03039 12.14L5.80039 13.37C6.48039 13.61 7.21039 13.75 8.00039 13.75C12.7425 13.75 15.4838 8.69421 15.6649 8.36011C15.6671 8.35603 15.6689 8.35265 15.6704 8.35L15.8504 8L15.6704 7.65C15.6204 7.55 15.0204 6.43 13.9404 5.23Z"
652
668
  }, null, -1)),
653
- l[2] || (l[2] = p("path", {
669
+ o[2] || (o[2] = p("path", {
654
670
  fill: "#00112C",
655
671
  d: "M8.96039 3.85C8.65039 3.78 8.33039 3.75 8.00039 3.75C4.75039 3.75 2.53039 6.93 1.87039 8C2.10039 8.38 2.53039 9.02 3.12039 9.69L2.06039 10.75C0.98039 9.56 0.380391 8.45 0.330391 8.35L0.150391 8L0.330391 7.65C0.331838 7.64735 0.333668 7.64397 0.33588 7.63989C0.517034 7.30578 3.25829 2.25 8.00039 2.25C8.79039 2.25 9.52039 2.39 10.1904 2.62L8.96039 3.85Z"
656
672
  }, null, -1))
657
673
  ], 16);
658
674
  }
659
- const xl = /* @__PURE__ */ K(Hl, [["render", Vl]]);
660
- let yt = 0;
661
- const Zl = {
675
+ const Jl = /* @__PURE__ */ X(Yl, [["render", Kl]]);
676
+ let wt = 0;
677
+ const Ql = {
662
678
  beforeCreate() {
663
- this.uuid = yt.toString(), yt += 1;
679
+ this.uuid = wt.toString(), wt += 1;
664
680
  }
665
- }, jl = { key: 0 }, ql = ["clip-path"], Yl = ["id"];
666
- function Xl(e, l, c, t, d, i) {
667
- return u(), E("svg", X({ role: "img" }, e.$attrs, {
681
+ }, es = { key: 0 }, ts = ["clip-path"], ns = ["id"];
682
+ function ls(e, o, f, t, r, i) {
683
+ return u(), E("svg", Y({ role: "img" }, e.$attrs, {
668
684
  class: "ui-assets-icons-16",
669
685
  xmlns: "http://www.w3.org/2000/svg",
670
686
  width: "16",
671
687
  height: "16",
672
688
  fill: "none"
673
689
  }), [
674
- e.$attrs["svg-title"] ? (u(), E("title", jl, x(e.$attrs["svg-title"]), 1)) : k("", !0),
690
+ e.$attrs["svg-title"] ? (u(), E("title", es, j(e.$attrs["svg-title"]), 1)) : M("", !0),
675
691
  p("g", {
676
692
  fill: "#00112C",
677
693
  "clip-path": "url(#uia-icons-16-sort_ascending__a" + e.uuid + ")"
678
- }, l[0] || (l[0] = [
694
+ }, o[0] || (o[0] = [
679
695
  p("path", { d: "M12.0001 1.93945L16.0608 6.00011L15.0001 7.06077L12.75 4.81066V12.75H11.25V4.81089L9.00011 7.06077L7.93945 6.00011L12.0001 1.93945Z" }, null, -1),
680
696
  p("path", { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" }, null, -1),
681
697
  p("path", { d: "M1.25 11.25H8.75V12.75H1.25V11.25Z" }, null, -1),
682
698
  p("path", { d: "M6.75 3.25H1.25V4.75H6.75V3.25Z" }, null, -1)
683
- ]), 8, ql),
699
+ ]), 8, ts),
684
700
  p("defs", null, [
685
701
  p("clipPath", {
686
702
  id: "uia-icons-16-sort_ascending__a" + e.uuid
687
- }, l[1] || (l[1] = [
703
+ }, o[1] || (o[1] = [
688
704
  p("rect", {
689
705
  width: "16",
690
706
  height: "16",
691
707
  fill: "#fff"
692
708
  }, null, -1)
693
- ]), 8, Yl)
709
+ ]), 8, ns)
694
710
  ])
695
711
  ], 16);
696
712
  }
697
- const Kl = /* @__PURE__ */ K(Zl, [["render", Xl]]);
698
- let wt = 0;
699
- const Jl = {
713
+ const ss = /* @__PURE__ */ X(Ql, [["render", ls]]);
714
+ let Ot = 0;
715
+ const os = {
700
716
  beforeCreate() {
701
- this.uuid = wt.toString(), wt += 1;
717
+ this.uuid = Ot.toString(), Ot += 1;
702
718
  }
703
- }, Ql = { key: 0 }, es = ["clip-path"], ts = ["id"];
704
- function ns(e, l, c, t, d, i) {
705
- return u(), E("svg", X({ role: "img" }, e.$attrs, {
719
+ }, is = { key: 0 }, as = ["clip-path"], rs = ["id"];
720
+ function ds(e, o, f, t, r, i) {
721
+ return u(), E("svg", Y({ role: "img" }, e.$attrs, {
706
722
  class: "ui-assets-icons-16",
707
723
  xmlns: "http://www.w3.org/2000/svg",
708
724
  width: "16",
709
725
  height: "16",
710
726
  fill: "none"
711
727
  }), [
712
- e.$attrs["svg-title"] ? (u(), E("title", Ql, x(e.$attrs["svg-title"]), 1)) : k("", !0),
728
+ e.$attrs["svg-title"] ? (u(), E("title", is, j(e.$attrs["svg-title"]), 1)) : M("", !0),
713
729
  p("g", {
714
730
  fill: "#00112C",
715
731
  "clip-path": "url(#uia-icons-16-sort_descending__a" + e.uuid + ")"
716
- }, l[0] || (l[0] = [
732
+ }, o[0] || (o[0] = [
717
733
  p("path", { d: "M12.75 3.25V11.1896L15.0001 8.93945L16.0608 10.0001L12.0001 14.0608L7.93945 10.0001L9.00011 8.93945L11.25 11.1893V3.25H12.75Z" }, null, -1),
718
734
  p("path", { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" }, null, -1),
719
735
  p("path", { d: "M1.25 3.25H9.09V4.75H1.25V3.25Z" }, null, -1),
720
736
  p("path", { d: "M6.75 11.25H1.25V12.75H6.75V11.25Z" }, null, -1)
721
- ]), 8, es),
737
+ ]), 8, as),
722
738
  p("defs", null, [
723
739
  p("clipPath", {
724
740
  id: "uia-icons-16-sort_descending__a" + e.uuid
725
- }, l[1] || (l[1] = [
741
+ }, o[1] || (o[1] = [
726
742
  p("rect", {
727
743
  width: "16",
728
744
  height: "16",
729
745
  fill: "#fff"
730
746
  }, null, -1)
731
- ]), 8, ts)
747
+ ]), 8, rs)
732
748
  ])
733
749
  ], 16);
734
750
  }
735
- const ls = /* @__PURE__ */ K(Jl, [["render", ns]]);
736
- let Ot = 0;
737
- const ss = {
751
+ const us = /* @__PURE__ */ X(os, [["render", ds]]);
752
+ let It = 0;
753
+ const cs = {
738
754
  beforeCreate() {
739
- this.uuid = Ot.toString(), Ot += 1;
755
+ this.uuid = It.toString(), It += 1;
740
756
  }
741
- }, os = { key: 0 };
742
- function is(e, l, c, t, d, i) {
743
- return u(), E("svg", X({ role: "img" }, e.$attrs, {
757
+ }, fs = { key: 0 };
758
+ function gs(e, o, f, t, r, i) {
759
+ return u(), E("svg", Y({ role: "img" }, e.$attrs, {
744
760
  class: "ui-assets-icons-16",
745
761
  xmlns: "http://www.w3.org/2000/svg",
746
762
  width: "16",
747
763
  height: "16",
748
764
  fill: "none"
749
765
  }), [
750
- e.$attrs["svg-title"] ? (u(), E("title", os, x(e.$attrs["svg-title"]), 1)) : k("", !0),
751
- l[0] || (l[0] = p("path", {
766
+ e.$attrs["svg-title"] ? (u(), E("title", fs, j(e.$attrs["svg-title"]), 1)) : M("", !0),
767
+ o[0] || (o[0] = p("path", {
752
768
  fill: "#00112C",
753
769
  d: "M8 5.25C6.48122 5.25 5.25 6.48122 5.25 8C5.25 9.51878 6.48122 10.75 8 10.75C9.51878 10.75 10.75 9.51878 10.75 8C10.75 6.48122 9.51878 5.25 8 5.25ZM6.75 8C6.75 7.30964 7.30964 6.75 8 6.75C8.69036 6.75 9.25 7.30964 9.25 8C9.25 8.69036 8.69036 9.25 8 9.25C7.30964 9.25 6.75 8.69036 6.75 8Z"
754
770
  }, null, -1)),
755
- l[1] || (l[1] = p("path", {
771
+ o[1] || (o[1] = p("path", {
756
772
  fill: "#00112C",
757
773
  d: "M7.99964 2.25C5.50387 2.25 3.57073 3.66588 2.3086 4.9806C1.6704 5.64539 1.18078 6.30745 0.850599 6.80272C0.685043 7.05106 0.558349 7.2593 0.471981 7.40748C0.428769 7.48162 0.395568 7.54087 0.372564 7.58275C0.36106 7.60369 0.352097 7.6203 0.345701 7.63227L0.338032 7.64672L0.335646 7.65126L0.334488 7.65348L0.154297 8L0.334225 8.34601L0.999638 8C0.334225 8.34601 0.334814 8.34715 0.334814 8.34715L0.335646 8.34874L0.338032 8.35328L0.345701 8.36773C0.352097 8.3797 0.36106 8.39631 0.372564 8.41725C0.395568 8.45913 0.428769 8.51838 0.471981 8.59252C0.558349 8.7407 0.685043 8.94894 0.850599 9.19728C1.18078 9.69255 1.6704 10.3546 2.3086 11.0194C3.57073 12.3341 5.50387 13.75 7.99964 13.75C10.4954 13.75 12.4285 12.3341 13.6907 11.0194C14.3289 10.3546 14.8185 9.69255 15.1487 9.19728C15.3142 8.94894 15.4409 8.7407 15.5273 8.59252C15.5705 8.51838 15.6037 8.45913 15.6267 8.41725C15.6382 8.39631 15.6472 8.3797 15.6536 8.36773L15.6612 8.35328L15.6636 8.34874L15.6648 8.34652L15.845 8L15.6651 7.65399L14.9996 8C15.6651 7.65399 15.6645 7.65285 15.6645 7.65285L15.6636 7.65126L15.6612 7.64672L15.6536 7.63227C15.6472 7.6203 15.6382 7.60369 15.6267 7.58275C15.6037 7.54087 15.5705 7.48162 15.5273 7.40748C15.4409 7.2593 15.3142 7.05106 15.1487 6.80272C14.8185 6.30745 14.3289 5.64539 13.6907 4.9806C12.4285 3.66588 10.4954 2.25 7.99964 2.25ZM14.9996 8L15.6648 8.34652C15.6648 8.34652 15.6651 8.34601 14.9996 8ZM0.999638 8L0.334488 7.65348C0.334488 7.65348 0.334225 7.65399 0.999638 8ZM2.09867 8.36522C2.00649 8.22694 1.92852 8.10363 1.86519 8C1.92852 7.89637 2.00649 7.77306 2.09867 7.63478C2.39349 7.19255 2.82887 6.60461 3.39068 6.0194C4.52855 4.83412 6.09541 3.75 7.99964 3.75C9.90387 3.75 11.4707 4.83412 12.6086 6.0194C13.1704 6.60461 13.6058 7.19255 13.9006 7.63478C13.9928 7.77306 14.0708 7.89637 14.1341 8C14.0708 8.10363 13.9928 8.22694 13.9006 8.36522C13.6058 8.80745 13.1704 9.39539 12.6086 9.9806C11.4707 11.1659 9.90387 12.25 7.99964 12.25C6.09541 12.25 4.52855 11.1659 3.39068 9.9806C2.82887 9.39539 2.39349 8.80745 2.09867 8.36522Z"
758
774
  }, null, -1))
759
775
  ], 16);
760
776
  }
761
- const as = /* @__PURE__ */ K(ss, [["render", is]]);
762
- let It = 0;
763
- const rs = {
777
+ const vs = /* @__PURE__ */ X(cs, [["render", gs]]);
778
+ let At = 0;
779
+ const ms = {
764
780
  beforeCreate() {
765
- this.uuid = It.toString(), It += 1;
781
+ this.uuid = At.toString(), At += 1;
766
782
  }
767
- }, ds = { key: 0 };
768
- function us(e, l, c, t, d, i) {
769
- return u(), E("svg", X({ role: "img" }, e.$attrs, {
783
+ }, Cs = { key: 0 };
784
+ function hs(e, o, f, t, r, i) {
785
+ return u(), E("svg", Y({ role: "img" }, e.$attrs, {
770
786
  class: "ui-assets-icons-16",
771
787
  xmlns: "http://www.w3.org/2000/svg",
772
788
  width: "16",
773
789
  height: "16",
774
790
  fill: "none"
775
791
  }), [
776
- e.$attrs["svg-title"] ? (u(), E("title", ds, x(e.$attrs["svg-title"]), 1)) : k("", !0),
777
- l[0] || (l[0] = p("path", {
792
+ e.$attrs["svg-title"] ? (u(), E("title", Cs, j(e.$attrs["svg-title"]), 1)) : M("", !0),
793
+ o[0] || (o[0] = p("path", {
778
794
  fill: "#00112C",
779
795
  d: "M8 11.25L12.5 5.25H3.5L8 11.25Z"
780
796
  }, null, -1))
781
797
  ], 16);
782
798
  }
783
- const cs = /* @__PURE__ */ K(rs, [["render", us]]), qt = {
799
+ const _s = /* @__PURE__ */ X(ms, [["render", hs]]), Yt = {
784
800
  "en-US": {
785
801
  sortColumn: "Sort {name} column",
786
802
  sortColumnInAscendingOrder: "Sort {name} column in ascending order",
@@ -812,23 +828,23 @@ const cs = /* @__PURE__ */ K(rs, [["render", us]]), qt = {
812
828
  selectAll: "すべて選択",
813
829
  unfreezeColumn: "列の固定を解除"
814
830
  }
815
- }, fs = ["aria-colindex", "aria-label", "aria-sort", "data-testid", "draggable", "tabindex"], gs = {
831
+ }, Ls = ["aria-colindex", "aria-label", "aria-sort", "data-testid", "draggable", "tabindex"], ps = {
816
832
  key: 0,
817
833
  class: "b-data-grid-columns__select-column"
818
- }, vs = ["aria-label"], ms = { class: "b-data-grid-columns__label" }, Cs = {
834
+ }, Es = ["aria-label"], bs = { class: "b-data-grid-columns__label" }, Ss = {
819
835
  key: 0,
820
836
  class: "b-data-grid-columns__column-info-icon"
821
- }, hs = {
837
+ }, ys = {
822
838
  key: 1,
823
839
  class: "b-data-grid-columns__column-sort"
824
- }, _s = ["data-testid", "onMousedown"], Ls = {
840
+ }, ws = ["data-testid", "onMousedown"], Os = {
825
841
  key: 0,
826
842
  class: "b-data-grid-columns__column-separator"
827
- }, ps = {
828
- i18n: { messages: qt },
843
+ }, Is = {
844
+ i18n: { messages: Yt },
829
845
  name: "data-grid-columns"
830
- }, Es = /* @__PURE__ */ Ce({
831
- ...ps,
846
+ }, As = /* @__PURE__ */ he({
847
+ ...Is,
832
848
  props: {
833
849
  /**
834
850
  * Column definitions using 'key' to relate to data object.
@@ -952,165 +968,165 @@ const cs = /* @__PURE__ */ K(rs, [["render", us]]), qt = {
952
968
  default: !1
953
969
  }
954
970
  },
955
- emits: ["column-hover"],
956
- setup(e, { expose: l, emit: c }) {
957
- const t = e, d = c, i = 100, { t: s } = we({ messages: qt }), { columns: _, sortBy: g } = Ke(t), b = O({}), y = O({}), f = O(), N = O(), n = (r) => d(Y.SELECT_ALL_ROWS, r), C = (r) => r.field === se, a = w(() => [
971
+ emits: ["sort", "column-hover"],
972
+ setup(e, { expose: o, emit: f }) {
973
+ const t = e, r = f, i = 100, { t: s } = Oe({ messages: Yt }), { columns: h, sortBy: C } = Ke(t), y = I({}), b = I({}), c = I(), S = I(), n = (d) => r(K.SELECT_ALL_ROWS, d), g = (d) => d.field === ie, a = O(() => [
958
974
  {
959
975
  text: s("selectPage"),
960
976
  handler: () => n(!0)
961
977
  },
962
978
  {
963
979
  text: s("selectAll"),
964
- handler: () => d(Y.SELECT_ALL_ACROSS_PAGES)
980
+ handler: () => r(K.SELECT_ALL_ACROSS_PAGES)
965
981
  }
966
- ]), { startResize: L, isResizing: S, columnHoverEventToEmitAfterResizing: A } = il(_, d), { isSorting: P, getSortingDirection: j, sortByColumnField: ie } = Ll(g, _, d), m = (r) => {
982
+ ]), { startResize: _, isResizing: w, columnHoverEventToEmitAfterResizing: A } = gl(h, r), { isSorting: F, getSortingDirection: x, sortByColumnField: ae } = Ol(C, h, r), v = (d) => {
967
983
  var re;
968
- if (!r.sortable)
984
+ if (!d.sortable)
969
985
  return null;
970
- const R = (re = t.sortBy.find(({ field: ee }) => ee === r.field)) == null ? void 0 : re.direction;
971
- return R ? {
972
- [Se.ASCENDING]: He.ASCENDING,
973
- [Se.DESCENDING]: He.DESCENDING
974
- }[R] : He.NONE;
975
- }, h = w(() => (r) => t.hasDraggableColumns ? {
976
- dragstart: (R) => {
977
- d(Y.COLUMN_DRAG_START, r, R);
986
+ const W = (re = t.sortBy.find(({ field: te }) => te === d.field)) == null ? void 0 : re.direction;
987
+ return W ? {
988
+ [Se.ASCENDING]: Ge.ASCENDING,
989
+ [Se.DESCENDING]: Ge.DESCENDING
990
+ }[W] : Ge.NONE;
991
+ }, L = O(() => (d) => t.hasDraggableColumns ? {
992
+ dragstart: (W) => {
993
+ r(K.COLUMN_DRAG_START, d, W);
978
994
  },
979
- dragover: (R) => {
980
- R.preventDefault();
995
+ dragover: (W) => {
996
+ W.preventDefault();
981
997
  },
982
- dragenter: (R) => {
983
- R.preventDefault(), d(Y.COLUMN_DRAG_ENTER, r, R);
998
+ dragenter: (W) => {
999
+ W.preventDefault(), r(K.COLUMN_DRAG_ENTER, d, W);
984
1000
  },
985
1001
  drop: () => {
986
- d(Y.COLUMN_DROP, r);
1002
+ r(K.COLUMN_DROP, d);
987
1003
  },
988
1004
  dragend: () => {
989
- d(Y.COLUMN_DRAG_END);
1005
+ r(K.COLUMN_DRAG_END);
990
1006
  }
991
- } : {}), D = w(() => (r) => [
1007
+ } : {}), D = O(() => (d) => [
992
1008
  {
993
1009
  text: s("moveColumnLeft"),
994
- handler: () => d(Y.COLUMN_MOVE, r, -1),
995
- icon: tl,
996
- disabled: t.columns[0].field === r.field
1010
+ handler: () => r(K.COLUMN_MOVE, d, -1),
1011
+ icon: rl,
1012
+ disabled: t.columns[0].field === d.field
997
1013
  },
998
1014
  {
999
1015
  text: s("moveColumnRight"),
1000
- handler: () => d(Y.COLUMN_MOVE, r, 1),
1001
- icon: Ul,
1002
- disabled: t.columns[t.columns.length - 1].field === r.field
1016
+ handler: () => r(K.COLUMN_MOVE, d, 1),
1017
+ icon: Hl,
1018
+ disabled: t.columns[t.columns.length - 1].field === d.field
1003
1019
  },
1004
1020
  {
1005
- text: r != null && r.frozen ? s("unfreezeColumn") : s("freezeColumn"),
1006
- handler: () => d(Y.COLUMN_UPDATE, { ...r, frozen: !(r != null && r.frozen) }),
1007
- icon: jt
1021
+ text: d != null && d.frozen ? s("unfreezeColumn") : s("freezeColumn"),
1022
+ handler: () => r(K.COLUMN_UPDATE, { ...d, frozen: !(d != null && d.frozen) }),
1023
+ icon: qt
1008
1024
  },
1009
1025
  {
1010
- text: (r == null ? void 0 : r.visible) !== !1 ? s("hideColumn") : s("showColumn"),
1026
+ text: (d == null ? void 0 : d.visible) !== !1 ? s("hideColumn") : s("showColumn"),
1011
1027
  handler: () => {
1012
- d(Y.COLUMN_UPDATE, {
1013
- ...r,
1014
- visible: (r == null ? void 0 : r.visible) === !1
1028
+ r(K.COLUMN_UPDATE, {
1029
+ ...d,
1030
+ visible: (d == null ? void 0 : d.visible) === !1
1015
1031
  });
1016
1032
  },
1017
- icon: (r == null ? void 0 : r.visible) !== !1 ? xl : as,
1018
- disabled: (r == null ? void 0 : r.mandatory) || (r == null ? void 0 : r.visible) !== !1 && t.isOnlyOneVisibleColumn
1033
+ icon: (d == null ? void 0 : d.visible) !== !1 ? Jl : vs,
1034
+ disabled: (d == null ? void 0 : d.mandatory) || (d == null ? void 0 : d.visible) !== !1 && t.isOnlyOneVisibleColumn
1019
1035
  }
1020
- ]), G = (r) => {
1021
- f.value = r.field, N.value && clearTimeout(N.value);
1036
+ ]), H = (d) => {
1037
+ c.value = d.field, S.value && clearTimeout(S.value);
1022
1038
  }, J = () => {
1023
- const r = setTimeout(() => {
1024
- f.value = "";
1039
+ const d = setTimeout(() => {
1040
+ c.value = "";
1025
1041
  }, i);
1026
- N.value = r;
1027
- }, v = (r) => {
1028
- let R = {
1042
+ S.value = d;
1043
+ }, m = (d) => {
1044
+ let W = {
1029
1045
  mouseenter: () => {
1030
- G(r), S.value ? A.value = r : d("column-hover", r);
1046
+ H(d), w.value ? A.value = d : r("column-hover", d);
1031
1047
  },
1032
1048
  mouseleave: () => {
1033
- J(), S.value ? A.value = null : d("column-hover", null);
1049
+ J(), w.value ? A.value = null : r("column-hover", null);
1034
1050
  },
1035
- focus: () => G(r)
1051
+ focus: () => H(d)
1036
1052
  };
1037
- return C(r) || (R = {
1038
- ...R,
1039
- ...h.value(r)
1040
- }), R;
1041
- }, H = (r) => r.infoIconTooltip || r.sortable || t.hasColumnPanel, U = (r, R) => {
1053
+ return g(d) || (W = {
1054
+ ...W,
1055
+ ...L.value(d)
1056
+ }), W;
1057
+ }, B = (d) => d.infoIconTooltip || d.sortable || t.hasColumnPanel, k = (d, W) => {
1042
1058
  var T;
1043
- ((T = b.value) == null ? void 0 : T[R]) === void 0 && (b.value = { ...b.value, [R]: null }), r !== null && (b.value[R] = r);
1044
- }, M = w(() => {
1045
- var R;
1046
- const r = {
1059
+ ((T = y.value) == null ? void 0 : T[W]) === void 0 && (y.value = { ...y.value, [W]: null }), d !== null && (y.value[W] = d);
1060
+ }, N = O(() => {
1061
+ var W;
1062
+ const d = {
1047
1063
  "b-data-grid-columns--is-measuring": t.isMeasuringColumnWidths
1048
1064
  };
1049
- return (R = _.value[0]) != null && R.frozen ? {
1050
- ...r,
1065
+ return (W = h.value[0]) != null && W.frozen ? {
1066
+ ...d,
1051
1067
  "b-data-grid-columns--frozen": !0,
1052
1068
  "b-data-grid-columns--frozen-separator": t.showFrozenColumnsSeparator,
1053
1069
  "b-data-grid-columns--overflow-shadow-left": t.hasLeftOverflow
1054
1070
  } : {
1055
- ...r,
1071
+ ...d,
1056
1072
  "b-data-grid-columns--unfrozen": !0
1057
1073
  };
1058
- }), V = (r, R) => r && R === 0 ? vt.BOTTOM_START : vt.BOTTOM_END, B = (r, R) => {
1059
- var T, re, ee, Ne, $e, ye, De, Me, ke, Ue;
1074
+ }), V = (d, W) => d && W === 0 ? mt.BOTTOM_START : mt.BOTTOM_END, P = (d, W) => {
1075
+ var T, re, te, Q, Ae, Me, ke, ze, Ue, we;
1060
1076
  return {
1061
- "b-data-grid-columns__column--column-hovered": r.field === t.hoveredOverColumnState.hoveredOverColumnField,
1062
- "b-data-grid-columns__column--column-hovered-no-border-left": r.field === t.hoveredOverColumnState.hoveredOverColumnField && t.hoveredOverColumnState.noBorderLeft,
1063
- "b-data-grid-columns__column--column-hovered-no-border-right": r.field === t.hoveredOverColumnState.hoveredOverColumnField && t.hoveredOverColumnState.noBorderRight,
1064
- "b-data-grid-columns__column--last-frozen-frozen-column": t.isFrozenColumns && R === _.value.length - 1,
1065
- "b-data-grid-columns__column--sortable": r.sortable,
1066
- "b-data-grid-columns__column--padding-left-unset": ((T = r == null ? void 0 : r.padding) == null ? void 0 : T.left) === !1,
1067
- "b-data-grid-columns__column--padding-right-unset": ((re = r == null ? void 0 : r.padding) == null ? void 0 : re.right) === !1,
1068
- "b-data-grid-columns__column--numeric": r == null ? void 0 : r.numeric,
1069
- "b-data-grid-columns__column--frozen": r == null ? void 0 : r.frozen,
1070
- "b-data-grid-columns__column--is-re-ordering": (r == null ? void 0 : r.field) === ((Ne = (ee = t.draggingColumns) == null ? void 0 : ee.dragging) == null ? void 0 : Ne.field),
1071
- "b-data-grid-columns__column--is-re-ordering-target-left": (r == null ? void 0 : r.field) === ((ye = ($e = t.draggingColumns) == null ? void 0 : $e.target) == null ? void 0 : ye.field) && ((De = t.draggingColumns) == null ? void 0 : De.dragToLeft),
1072
- "b-data-grid-columns__column--is-re-ordering-target-right": (r == null ? void 0 : r.field) === ((ke = (Me = t.draggingColumns) == null ? void 0 : Me.target) == null ? void 0 : ke.field) && !((Ue = t.draggingColumns) != null && Ue.dragToLeft),
1073
- "b-data-grid-columns__column--with-sorting-or-column-panel": r.sortable || r.infoIconTooltip || t.hasColumnPanel && f.value === r.field || t.selectableAcrossPages
1077
+ "b-data-grid-columns__column--column-hovered": d.field === t.hoveredOverColumnState.hoveredOverColumnField,
1078
+ "b-data-grid-columns__column--column-hovered-no-border-left": d.field === t.hoveredOverColumnState.hoveredOverColumnField && t.hoveredOverColumnState.noBorderLeft,
1079
+ "b-data-grid-columns__column--column-hovered-no-border-right": d.field === t.hoveredOverColumnState.hoveredOverColumnField && t.hoveredOverColumnState.noBorderRight,
1080
+ "b-data-grid-columns__column--last-frozen-frozen-column": t.isFrozenColumns && W === h.value.length - 1,
1081
+ "b-data-grid-columns__column--sortable": d.sortable,
1082
+ "b-data-grid-columns__column--padding-left-unset": ((T = d == null ? void 0 : d.padding) == null ? void 0 : T.left) === !1,
1083
+ "b-data-grid-columns__column--padding-right-unset": ((re = d == null ? void 0 : d.padding) == null ? void 0 : re.right) === !1,
1084
+ "b-data-grid-columns__column--numeric": d == null ? void 0 : d.numeric,
1085
+ "b-data-grid-columns__column--frozen": d == null ? void 0 : d.frozen,
1086
+ "b-data-grid-columns__column--is-re-ordering": (d == null ? void 0 : d.field) === ((Q = (te = t.draggingColumns) == null ? void 0 : te.dragging) == null ? void 0 : Q.field),
1087
+ "b-data-grid-columns__column--is-re-ordering-target-left": (d == null ? void 0 : d.field) === ((Me = (Ae = t.draggingColumns) == null ? void 0 : Ae.target) == null ? void 0 : Me.field) && ((ke = t.draggingColumns) == null ? void 0 : ke.dragToLeft),
1088
+ "b-data-grid-columns__column--is-re-ordering-target-right": (d == null ? void 0 : d.field) === ((Ue = (ze = t.draggingColumns) == null ? void 0 : ze.target) == null ? void 0 : Ue.field) && !((we = t.draggingColumns) != null && we.dragToLeft),
1089
+ "b-data-grid-columns__column--with-sorting-or-column-panel": d.sortable || d.infoIconTooltip || t.hasColumnPanel && c.value === d.field || t.selectableAcrossPages
1074
1090
  };
1075
- }, ae = (r) => ({
1076
- "b-data-grid-columns__column-header-and-actions--numeric": r == null ? void 0 : r.numeric
1077
- }), be = (r) => ({
1078
- "b-data-grid-columns__column-actions--numeric": r == null ? void 0 : r.numeric
1079
- }), Ze = (r) => ({
1091
+ }, ge = (d) => ({
1092
+ "b-data-grid-columns__column-header-and-actions--numeric": d == null ? void 0 : d.numeric
1093
+ }), ye = (d) => ({
1094
+ "b-data-grid-columns__column-actions--numeric": d == null ? void 0 : d.numeric
1095
+ }), Ze = (d) => ({
1080
1096
  "b-data-grid-columns__column-separator-container--is-resizeable": t.hasResizableColumns,
1081
- "b-data-grid-columns__column-separator-container--is-offset": t.hoveredOverColumnState.hoveredOverColumnField === r.field && t.hoveredOverColumnState.isSeparatorOffset
1082
- }), Te = w(() => ({
1097
+ "b-data-grid-columns__column-separator-container--is-offset": t.hoveredOverColumnState.hoveredOverColumnField === d.field && t.hoveredOverColumnState.isSeparatorOffset
1098
+ }), De = O(() => ({
1083
1099
  "b-data-grid-columns__column-header--truncated": t.truncateColumnHeaders
1084
1100
  }));
1085
- return l({
1086
- columnHeaderRefs: b
1087
- }), (r, R) => (u(), E("div", {
1088
- class: oe(["b-data-grid-columns", M.value]),
1101
+ return o({
1102
+ columnHeaderRefs: y
1103
+ }), (d, W) => (u(), E("div", {
1104
+ class: ne(["b-data-grid-columns", N.value]),
1089
1105
  "data-testid": "data-grid-columns"
1090
1106
  }, [
1091
- (u(!0), E(fe, null, me(o(_), (T, re) => (u(), E("div", X({
1107
+ (u(!0), E(fe, null, Ce(l(h), (T, re) => (u(), E("div", Y({
1092
1108
  key: T.field,
1093
1109
  ref_for: !0,
1094
- ref: (ee) => U(ee, T.field),
1110
+ ref: (te) => k(te, T.field),
1095
1111
  "aria-colindex": re + 1,
1096
1112
  "aria-label": T.label,
1097
- "aria-sort": m(T),
1098
- class: [B(T, re), "b-data-grid-columns__column"],
1113
+ "aria-sort": v(T),
1114
+ class: [P(T, re), "b-data-grid-columns__column"],
1099
1115
  "data-testid": `${T.field}-column-header`,
1100
- draggable: e.hasDraggableColumns && !o(S) && !C(T),
1116
+ draggable: e.hasDraggableColumns && !l(w) && !g(T),
1101
1117
  role: "columnheader",
1102
1118
  tabindex: T.sortable || e.hasColumnPanel || T.infoIconTooltip ? "0" : "-1",
1103
1119
  style: { width: T.autoWidth && e.isMeasuringColumnWidths ? "auto" : `${T.width}px` }
1104
- }, Ge(v(T), !0)), [
1105
- C(T) && e.selectable ? (u(), E("div", gs, [
1106
- q(o(Vt), {
1120
+ }, He(m(T), !0)), [
1121
+ g(T) && e.selectable ? (u(), E("div", ps, [
1122
+ q(l(xt), {
1107
1123
  "model-value": e.allItemsSelectedState.allItemsSelected,
1108
1124
  "data-testid": "checkbox-select-all",
1109
1125
  indeterminate: e.allItemsSelectedState.isIndeterminate,
1110
1126
  value: "data-grid-select-all",
1111
1127
  "onUpdate:modelValue": n
1112
1128
  }, null, 8, ["model-value", "indeterminate"]),
1113
- e.selectableAcrossPages ? (u(), z(o(qe), {
1129
+ e.selectableAcrossPages ? (u(), U(l(qe), {
1114
1130
  key: 0,
1115
1131
  class: "b-data-grid-columns__select-column-menu",
1116
1132
  data: a.value,
@@ -1118,138 +1134,138 @@ const cs = /* @__PURE__ */ K(rs, [["render", us]]), qt = {
1118
1134
  "menu-fixed-positioning": "",
1119
1135
  button: { variant: "tertiary", condensed: !0 }
1120
1136
  }, {
1121
- iconLeft: W(() => [
1122
- q(o(cs), {
1123
- "svg-title": o(s)("selectionMenu")
1137
+ iconLeft: G(() => [
1138
+ q(l(_s), {
1139
+ "svg-title": l(s)("selectionMenu")
1124
1140
  }, null, 8, ["svg-title"])
1125
1141
  ]),
1126
1142
  _: 1
1127
- }, 8, ["data"])) : k("", !0)
1143
+ }, 8, ["data"])) : M("", !0)
1128
1144
  ])) : (u(), E(fe, { key: 1 }, [
1129
1145
  p("div", {
1130
- "aria-label": o(s)("columnActions", { name: T.label }),
1146
+ "aria-label": l(s)("columnActions", { name: T.label }),
1131
1147
  "aria-live": "polite",
1132
1148
  role: "region",
1133
- class: oe(["b-data-grid-columns__column-header-and-actions", ae(T)])
1149
+ class: ne(["b-data-grid-columns__column-header-and-actions", ge(T)])
1134
1150
  }, [
1135
- q(o(Ve), {
1151
+ q(l(Ve), {
1136
1152
  el: "div",
1137
1153
  strongest: "",
1138
- class: oe(["b-data-grid-columns__column-header", Te.value])
1154
+ class: ne(["b-data-grid-columns__column-header", De.value])
1139
1155
  }, {
1140
- default: W(() => [
1141
- Ee(r.$slots, `head-${T.field}`, { column: T }, () => [
1142
- p("span", ms, x(T.label), 1)
1156
+ default: G(() => [
1157
+ be(d.$slots, `head-${T.field}`, { column: T }, () => [
1158
+ p("span", bs, j(T.label), 1)
1143
1159
  ], !0)
1144
1160
  ]),
1145
1161
  _: 2
1146
1162
  }, 1032, ["class"]),
1147
- H(T) ? (u(), E("div", {
1163
+ B(T) ? (u(), E("div", {
1148
1164
  key: 0,
1149
- class: oe(["b-data-grid-columns__column-actions", be(T)])
1165
+ class: ne(["b-data-grid-columns__column-actions", ye(T)])
1150
1166
  }, [
1151
- T.infoIconTooltip ? (u(), E("div", Cs, [
1152
- q(o(Jn), {
1167
+ T.infoIconTooltip ? (u(), E("div", Ss, [
1168
+ q(l(ol), {
1153
1169
  "tooltip-text": T.infoIconTooltip
1154
1170
  }, null, 8, ["tooltip-text"])
1155
- ])) : k("", !0),
1156
- T.sortable ? (u(), E("div", hs, [
1157
- q(o(nt), {
1171
+ ])) : M("", !0),
1172
+ T.sortable ? (u(), E("div", ys, [
1173
+ q(l(nt), {
1158
1174
  condensed: "",
1159
- toggled: o(P)(T.field),
1175
+ toggled: l(F)(T.field),
1160
1176
  variant: "tertiary",
1161
- onClick: (ee) => o(ie)(T.field)
1177
+ onClick: (te) => l(ae)(T.field)
1162
1178
  }, {
1163
- iconLeft: W(() => [
1164
- o(j)(T.field) ? o(j)(T.field) === o(Se).ASCENDING ? (u(), z(o(Kl), {
1179
+ iconLeft: G(() => [
1180
+ l(x)(T.field) ? l(x)(T.field) === l(Se).ASCENDING ? (u(), U(l(ss), {
1165
1181
  key: 1,
1166
- "svg-title": o(s)("sortColumnInDescendingOrder", { name: T.label })
1167
- }, null, 8, ["svg-title"])) : o(j)(T.field) === o(Se).DESCENDING ? (u(), z(o(ls), {
1182
+ "svg-title": l(s)("sortColumnInDescendingOrder", { name: T.label })
1183
+ }, null, 8, ["svg-title"])) : l(x)(T.field) === l(Se).DESCENDING ? (u(), U(l(us), {
1168
1184
  key: 2,
1169
- "svg-title": o(s)("sortColumnInAscendingOrder", { name: T.label })
1170
- }, null, 8, ["svg-title"])) : k("", !0) : (u(), z(o($l), {
1185
+ "svg-title": l(s)("sortColumnInAscendingOrder", { name: T.label })
1186
+ }, null, 8, ["svg-title"])) : M("", !0) : (u(), U(l(Pl), {
1171
1187
  key: 0,
1172
- "svg-title": o(s)("sortColumn", { name: T.label })
1188
+ "svg-title": l(s)("sortColumn", { name: T.label })
1173
1189
  }, null, 8, ["svg-title"]))
1174
1190
  ]),
1175
1191
  _: 2
1176
1192
  }, 1032, ["toggled", "onClick"])
1177
- ])) : k("", !0),
1178
- e.hasColumnPanel && f.value === T.field ? (u(), z(o(qe), {
1193
+ ])) : M("", !0),
1194
+ e.hasColumnPanel && c.value === T.field ? (u(), U(l(qe), {
1179
1195
  key: 2,
1180
1196
  ref_for: !0,
1181
- ref: (ee) => y.value[T.field] = ee,
1197
+ ref: (te) => b.value[T.field] = te,
1182
1198
  class: "b-data-grid-columns__menu",
1183
1199
  data: D.value(T),
1184
1200
  "menu-position": V(e.hasFirstColumnPanelRightAligned, re),
1185
1201
  "menu-fixed-positioning": !0,
1186
1202
  button: { variant: "tertiary", condensed: !0 },
1187
- onOpen: R[0] || (R[0] = (ee) => r.$emit(o(Y).COLUMN_MENU_OPEN)),
1188
- onClose: R[1] || (R[1] = (ee) => r.$emit(o(Y).COLUMN_MENU_CLOSE))
1189
- }, null, 8, ["data", "menu-position"])) : k("", !0)
1190
- ], 2)) : k("", !0)
1191
- ], 10, vs),
1203
+ onOpen: W[0] || (W[0] = (te) => d.$emit(l(K).COLUMN_MENU_OPEN)),
1204
+ onClose: W[1] || (W[1] = (te) => d.$emit(l(K).COLUMN_MENU_CLOSE))
1205
+ }, null, 8, ["data", "menu-position"])) : M("", !0)
1206
+ ], 2)) : M("", !0)
1207
+ ], 10, Es),
1192
1208
  p("div", {
1193
1209
  "data-testid": `data-grid-column-${T.field}`,
1194
- class: oe(["b-data-grid-columns__column-separator-container", Ze(T)]),
1210
+ class: ne(["b-data-grid-columns__column-separator-container", Ze(T)]),
1195
1211
  role: "presentation",
1196
- onMousedown: (ee) => o(L)(e.hasResizableColumns, T.field, ee),
1197
- onClick: R[2] || (R[2] = Tn(() => {
1212
+ onMousedown: (te) => l(_)(e.hasResizableColumns, T.field, te),
1213
+ onClick: W[2] || (W[2] = Un(() => {
1198
1214
  }, ["stop"]))
1199
1215
  }, [
1200
- !e.isFrozenColumns || e.isFrozenColumns && re !== o(_).length - 1 ? (u(), E("div", Ls)) : k("", !0)
1201
- ], 42, _s)
1216
+ !e.isFrozenColumns || e.isFrozenColumns && re !== l(h).length - 1 ? (u(), E("div", Os)) : M("", !0)
1217
+ ], 42, ws)
1202
1218
  ], 64))
1203
- ], 16, fs))), 128))
1219
+ ], 16, Ls))), 128))
1204
1220
  ], 2));
1205
1221
  }
1206
- }), Ss = /* @__PURE__ */ K(Es, [["__scopeId", "data-v-5b6aca7d"]]);
1207
- var Le = /* @__PURE__ */ ((e) => (e.CONFIG_SETTINGS = "config-settings", e.UPDATE_COLUMNS = "update:columns", e))(Le || {});
1208
- let At = 0;
1209
- const bs = {
1222
+ }), Rs = /* @__PURE__ */ X(As, [["__scopeId", "data-v-5b48d3ec"]]);
1223
+ var pe = /* @__PURE__ */ ((e) => (e.CONFIG_SETTINGS = "config-settings", e.UPDATE_COLUMNS = "update:columns", e))(pe || {});
1224
+ let Rt = 0;
1225
+ const Ts = {
1210
1226
  beforeCreate() {
1211
- this.uuid = At.toString(), At += 1;
1227
+ this.uuid = Rt.toString(), Rt += 1;
1212
1228
  }
1213
- }, ys = { key: 0 }, ws = ["clip-path"], Os = ["id"];
1214
- function Is(e, l, c, t, d, i) {
1215
- return u(), E("svg", X({ role: "img" }, e.$attrs, {
1229
+ }, Ns = { key: 0 }, $s = ["clip-path"], Ds = ["id"];
1230
+ function Ms(e, o, f, t, r, i) {
1231
+ return u(), E("svg", Y({ role: "img" }, e.$attrs, {
1216
1232
  class: "ui-assets-icons-16",
1217
1233
  xmlns: "http://www.w3.org/2000/svg",
1218
1234
  width: "16",
1219
1235
  height: "16",
1220
1236
  fill: "none"
1221
1237
  }), [
1222
- e.$attrs["svg-title"] ? (u(), E("title", ys, x(e.$attrs["svg-title"]), 1)) : k("", !0),
1238
+ e.$attrs["svg-title"] ? (u(), E("title", Ns, j(e.$attrs["svg-title"]), 1)) : M("", !0),
1223
1239
  p("g", {
1224
1240
  fill: "#00112C",
1225
1241
  "clip-path": "url(#uia-icons-16-settings__a" + e.uuid + ")"
1226
- }, l[0] || (l[0] = [
1242
+ }, o[0] || (o[0] = [
1227
1243
  p("path", { d: "M8 5.25C6.48122 5.25 5.25 6.48122 5.25 8C5.25 9.51878 6.48122 10.75 8 10.75C9.51878 10.75 10.75 9.51878 10.75 8C10.75 6.48122 9.51878 5.25 8 5.25ZM6.75 8C6.75 7.30964 7.30964 6.75 8 6.75C8.69036 6.75 9.25 7.30964 9.25 8C9.25 8.69036 8.69036 9.25 8 9.25C7.30964 9.25 6.75 8.69036 6.75 8Z" }, null, -1),
1228
1244
  p("path", { d: "M6.84701 0.973015L6.59985 0.35083L5.9537 0.526056C4.64534 0.880867 3.48225 1.56808 2.55285 2.48641L2.07533 2.95826L2.49158 3.48495C2.79648 3.87074 2.85279 4.419 2.58992 4.87589C2.32905 5.32931 1.82436 5.55631 1.33473 5.48726L0.677319 5.39455L0.505539 6.03586C0.33838 6.65992 0.25 7.32519 0.25 7.99991C0.25 8.67463 0.33838 9.3399 0.505539 9.96396L0.677319 10.6053L1.33473 10.5126C1.82436 10.4435 2.32905 10.6705 2.58992 11.1239C2.85279 11.5808 2.79648 12.1291 2.49158 12.5149L2.07533 13.0416L2.55285 13.5134C3.48225 14.4317 4.64534 15.119 5.9537 15.4738L6.59985 15.649L6.84701 15.0268C7.02659 14.5748 7.47549 14.2499 8 14.2499C8.52452 14.2499 8.97341 14.5748 9.15299 15.0268L9.40016 15.649L10.0463 15.4738C11.3547 15.119 12.5177 14.4317 13.4471 13.5134L13.9247 13.0416L13.5084 12.5149C13.2035 12.1291 13.1472 11.5808 13.4101 11.1239C13.671 10.6705 14.1756 10.4435 14.6653 10.5126L15.3227 10.6053L15.4945 9.96396C15.6616 9.3399 15.75 8.67463 15.75 7.99991C15.75 7.32519 15.6616 6.65992 15.4945 6.03586L15.3227 5.39455L14.6653 5.48726C14.1756 5.55631 13.671 5.32931 13.4101 4.87589C13.1472 4.419 13.2035 3.87074 13.5084 3.48495L13.9247 2.95826L13.4471 2.48641C12.5177 1.56808 11.3547 0.880867 10.0463 0.526056L9.40016 0.35083L9.15299 0.973015C8.97341 1.42506 8.52452 1.74991 8 1.74991C7.47549 1.74991 7.02659 1.42506 6.84701 0.973015ZM3.89008 5.62393C4.33946 4.84286 4.36394 3.9353 4.03405 3.16853C4.55803 2.73795 5.15349 2.39116 5.80146 2.14902C6.30062 2.81653 7.10051 3.24991 8 3.24991C8.89949 3.24991 9.69938 2.81653 10.1985 2.14902C10.8465 2.39116 11.442 2.73795 11.966 3.16853C11.6361 3.9353 11.6605 4.84287 12.1099 5.62393C12.5612 6.40839 13.3382 6.88092 14.1658 6.97982C14.221 7.31075 14.25 7.65319 14.25 7.99991C14.25 8.34663 14.221 8.68908 14.1658 9.02001C13.3382 9.11891 12.5612 9.59143 12.1099 10.3759C11.6605 11.157 11.6361 12.0645 11.9659 12.8313C11.442 13.2619 10.8465 13.6087 10.1985 13.8508C9.69938 13.1833 8.89949 12.7499 8 12.7499C7.10051 12.7499 6.30062 13.1833 5.80146 13.8508C5.15349 13.6087 4.55803 13.2619 4.03405 12.8313C4.36394 12.0645 4.33946 11.157 3.89008 10.3759C3.43875 9.59143 2.66177 9.1189 1.8342 9.02C1.77896 8.68908 1.75 8.34663 1.75 7.99991C1.75 7.65319 1.77896 7.31074 1.8342 6.97982C2.66177 6.88092 3.43875 6.40839 3.89008 5.62393Z" }, null, -1)
1229
- ]), 8, ws),
1245
+ ]), 8, $s),
1230
1246
  p("defs", null, [
1231
1247
  p("clipPath", {
1232
1248
  id: "uia-icons-16-settings__a" + e.uuid
1233
- }, l[1] || (l[1] = [
1249
+ }, o[1] || (o[1] = [
1234
1250
  p("rect", {
1235
1251
  width: "16",
1236
1252
  height: "16",
1237
1253
  fill: "#fff"
1238
1254
  }, null, -1)
1239
- ]), 8, Os)
1255
+ ]), 8, Ds)
1240
1256
  ])
1241
1257
  ], 16);
1242
1258
  }
1243
- const As = /* @__PURE__ */ K(bs, [["render", Is]]), Rt = {
1259
+ const ks = /* @__PURE__ */ X(Ts, [["render", Ms]]), Tt = {
1244
1260
  "en-US": {
1245
1261
  toggleColumnVisibility: "Toggle {label} column visibility",
1246
1262
  toggleColumnFreeze: "Toggle {label} column freeze"
1247
1263
  }
1248
- }, Rs = Ce({
1249
- i18n: { messages: Rt },
1264
+ }, zs = he({
1265
+ i18n: { messages: Tt },
1250
1266
  name: "bento-data-grid",
1251
1267
  components: {
1252
- BentoFreezeIcon: jt,
1268
+ BentoFreezeIcon: qt,
1253
1269
  BentoToggle: Ht
1254
1270
  },
1255
1271
  props: {
@@ -1269,46 +1285,46 @@ const As = /* @__PURE__ */ K(bs, [["render", Is]]), Rt = {
1269
1285
  }
1270
1286
  },
1271
1287
  emits: ["visible-column", "updated-column"],
1272
- setup(e, { emit: l }) {
1273
- const { t: c } = we({ messages: Rt }), t = O(!1), d = w(() => {
1274
- var f;
1275
- return (f = e.column) == null ? void 0 : f.frozen;
1276
- }), i = w(() => {
1277
- var f;
1278
- return ((f = e.column) == null ? void 0 : f.visible) !== !1;
1288
+ setup(e, { emit: o }) {
1289
+ const { t: f } = Oe({ messages: Tt }), t = I(!1), r = O(() => {
1290
+ var c;
1291
+ return (c = e.column) == null ? void 0 : c.frozen;
1292
+ }), i = O(() => {
1293
+ var c;
1294
+ return ((c = e.column) == null ? void 0 : c.visible) !== !1;
1279
1295
  }), s = () => {
1280
- l("visible-column", { ...e.column, visible: !i.value });
1281
- }, _ = () => {
1282
- l("updated-column", { ...e.column, frozen: !d.value });
1283
- }, g = () => {
1284
- d.value || (t.value = !0);
1285
- }, b = () => {
1286
- d.value || (t.value = !1);
1287
- }, y = w(() => ({
1288
- "b-data-grid-config-settings-column-row__freeze-icon--frozen": d.value
1296
+ o("visible-column", { ...e.column, visible: !i.value });
1297
+ }, h = () => {
1298
+ o("updated-column", { ...e.column, frozen: !r.value });
1299
+ }, C = () => {
1300
+ r.value || (t.value = !0);
1301
+ }, y = () => {
1302
+ r.value || (t.value = !1);
1303
+ }, b = O(() => ({
1304
+ "b-data-grid-config-settings-column-row__freeze-icon--frozen": r.value
1289
1305
  }));
1290
1306
  return {
1291
1307
  // Values
1292
1308
  isFreezeIconOptionShown: t,
1293
- isColumnFrozen: d,
1294
- freezeIconConditionalClasses: y,
1309
+ isColumnFrozen: r,
1310
+ freezeIconConditionalClasses: b,
1295
1311
  isColumnVisible: i,
1296
1312
  // Methods
1297
1313
  toggleColumnVisibility: s,
1298
- showFreezeIcon: g,
1299
- hideFreezeIcon: b,
1300
- toggleColumnFreeze: _,
1314
+ showFreezeIcon: C,
1315
+ hideFreezeIcon: y,
1316
+ toggleColumnFreeze: h,
1301
1317
  // Translations
1302
- t: c
1318
+ t: f
1303
1319
  };
1304
1320
  }
1305
1321
  });
1306
- function Ts(e, l, c, t, d, i) {
1307
- const s = de("bento-toggle"), _ = de("bento-freeze-icon");
1322
+ function Us(e, o, f, t, r, i) {
1323
+ const s = de("bento-toggle"), h = de("bento-freeze-icon");
1308
1324
  return u(), E("div", {
1309
1325
  class: "b-data-grid-config-settings-column-row",
1310
- onMouseover: l[0] || (l[0] = (...g) => e.showFreezeIcon && e.showFreezeIcon(...g)),
1311
- onMouseleave: l[1] || (l[1] = (...g) => e.hideFreezeIcon && e.hideFreezeIcon(...g))
1326
+ onMouseover: o[0] || (o[0] = (...C) => e.showFreezeIcon && e.showFreezeIcon(...C)),
1327
+ onMouseleave: o[1] || (o[1] = (...C) => e.hideFreezeIcon && e.hideFreezeIcon(...C))
1312
1328
  }, [
1313
1329
  q(s, {
1314
1330
  "aria-label": e.t("toggleColumnVisibility", { label: e.column.label }),
@@ -1317,21 +1333,21 @@ function Ts(e, l, c, t, d, i) {
1317
1333
  value: e.isColumnVisible,
1318
1334
  onInput: e.toggleColumnVisibility
1319
1335
  }, {
1320
- default: W(() => [
1321
- le(x(e.column.label), 1)
1336
+ default: G(() => [
1337
+ oe(j(e.column.label), 1)
1322
1338
  ]),
1323
1339
  _: 1
1324
1340
  }, 8, ["aria-label", "disabled", "value", "onInput"]),
1325
- Qe(q(_, {
1341
+ Qe(q(h, {
1326
1342
  "aria-label": e.t("toggleColumnFreeze", { label: e.column.label }),
1327
- class: oe(["b-data-grid-config-settings-column-row__freeze-icon", e.freezeIconConditionalClasses]),
1343
+ class: ne(["b-data-grid-config-settings-column-row__freeze-icon", e.freezeIconConditionalClasses]),
1328
1344
  onClick: e.toggleColumnFreeze
1329
1345
  }, null, 8, ["aria-label", "class", "onClick"]), [
1330
- [Nn, e.isColumnFrozen || e.isFreezeIconOptionShown]
1346
+ [Fn, e.isColumnFrozen || e.isFreezeIconOptionShown]
1331
1347
  ])
1332
1348
  ], 32);
1333
1349
  }
1334
- const Ns = /* @__PURE__ */ K(Rs, [["render", Ts], ["__scopeId", "data-v-bb87a729"]]), Tt = {
1350
+ const Fs = /* @__PURE__ */ X(zs, [["render", Us], ["__scopeId", "data-v-bb87a729"]]), Nt = {
1335
1351
  "en-US": {
1336
1352
  closeConfigSettingsPanel: "Close configuration settings panel",
1337
1353
  closeSearch: "Close search",
@@ -1357,22 +1373,22 @@ const Ns = /* @__PURE__ */ K(Rs, [["render", Ts], ["__scopeId", "data-v-bb87a729
1357
1373
  search: "検索",
1358
1374
  size: "サイズ"
1359
1375
  }
1360
- }, $s = Ce({
1361
- i18n: { messages: Tt },
1376
+ }, Ps = he({
1377
+ i18n: { messages: Nt },
1362
1378
  name: "bento-data-grid",
1363
1379
  components: {
1364
- BentoButton: Wt,
1365
- BentoCrossIcon: Ft,
1366
- BentoPopover: jn,
1367
- BentoSettingsIcon: As,
1380
+ BentoButton: Gt,
1381
+ BentoCrossIcon: Pt,
1382
+ BentoPopover: el,
1383
+ BentoSettingsIcon: ks,
1368
1384
  BentoToggleButton: nt,
1369
- BentoDataGridConfigSettingsConfigRow: Ns,
1370
- BentoSearchBar: qn,
1371
- BentoSearchIcon: Kn,
1385
+ BentoDataGridConfigSettingsConfigRow: Fs,
1386
+ BentoSearchBar: tl,
1387
+ BentoSearchIcon: sl,
1372
1388
  BentoToggle: Ht,
1373
1389
  BentoTypography: Ve
1374
1390
  },
1375
- directives: { BentoClickOutsideDirective: Xn },
1391
+ directives: { BentoClickOutsideDirective: ll },
1376
1392
  props: {
1377
1393
  /**
1378
1394
  * Column definitions
@@ -1389,92 +1405,92 @@ const Ns = /* @__PURE__ */ K(Rs, [["render", Ts], ["__scopeId", "data-v-bb87a729
1389
1405
  default: !1
1390
1406
  }
1391
1407
  },
1392
- emits: [Le.CONFIG_SETTINGS, Le.UPDATE_COLUMNS],
1393
- setup(e, { emit: l }) {
1394
- const { t: c } = we({ messages: Tt }), t = O(null), d = Gt("data-grid-config-settings-popover"), i = O(null), s = O(!1), _ = O(!0), g = O(null), b = O(""), y = Ut(e, "columns"), f = O(!1), N = Yn(b, y), n = () => {
1395
- b.value = "";
1396
- }, C = w(
1397
- () => !e.columns.some((h) => h.visible === !1 && !h.mandatory)
1408
+ emits: [pe.CONFIG_SETTINGS, pe.UPDATE_COLUMNS],
1409
+ setup(e, { emit: o }) {
1410
+ const { t: f } = Oe({ messages: Nt }), t = I(null), r = Vt("data-grid-config-settings-popover"), i = I(null), s = I(!1), h = I(!0), C = I(null), y = I(""), b = Ut(e, "columns"), c = I(!1), S = nl(y, b), n = () => {
1411
+ y.value = "";
1412
+ }, g = O(
1413
+ () => !e.columns.some((L) => L.visible === !1 && !L.mandatory)
1398
1414
  ), a = () => {
1399
- n(), f.value = !f.value, f.value ? ue(() => {
1400
- var h;
1401
- return (h = i.value.$refs.bentoInputField) == null ? void 0 : h.focusInput();
1415
+ n(), c.value = !c.value, c.value ? ue(() => {
1416
+ var L;
1417
+ return (L = i.value.$refs.bentoInputField) == null ? void 0 : L.focusInput();
1402
1418
  }) : ue(() => {
1403
- var h, D;
1404
- return (D = (h = g == null ? void 0 : g.value) == null ? void 0 : h.$el) == null ? void 0 : D.focus();
1405
- }), _.value = C.value;
1406
- }, L = (h) => h.mandatory ?? !1, S = (h) => {
1407
- const D = e.columns.map((G) => ({
1408
- ...G,
1409
- visible: h.field === G.field ? h.visible : G.visible
1419
+ var L, D;
1420
+ return (D = (L = C == null ? void 0 : C.value) == null ? void 0 : L.$el) == null ? void 0 : D.focus();
1421
+ }), h.value = g.value;
1422
+ }, _ = (L) => L.mandatory ?? !1, w = (L) => {
1423
+ const D = e.columns.map((H) => ({
1424
+ ...H,
1425
+ visible: L.field === H.field ? L.visible : H.visible
1410
1426
  }));
1411
- l(Le.UPDATE_COLUMNS, D);
1412
- }, A = (h) => {
1413
- h ? l(
1414
- Le.UPDATE_COLUMNS,
1427
+ o(pe.UPDATE_COLUMNS, D);
1428
+ }, A = (L) => {
1429
+ L ? o(
1430
+ pe.UPDATE_COLUMNS,
1415
1431
  e.columns.map((D) => ({ ...D, visible: !0 }))
1416
- ) : l(
1417
- Le.UPDATE_COLUMNS,
1432
+ ) : o(
1433
+ pe.UPDATE_COLUMNS,
1418
1434
  e.columns.map((D) => ({ ...D, visible: (D == null ? void 0 : D.mandatory) === !0 }))
1419
1435
  );
1420
- }, P = (h) => {
1421
- const D = e.columns.map((G) => ({
1422
- ...G,
1423
- frozen: h.field === G.field ? !!(h != null && h.frozen) : !!(G != null && G.frozen)
1436
+ }, F = (L) => {
1437
+ const D = e.columns.map((H) => ({
1438
+ ...H,
1439
+ frozen: L.field === H.field ? !!(L != null && L.frozen) : !!(H != null && H.frozen)
1424
1440
  }));
1425
- l(Le.UPDATE_COLUMNS, D);
1426
- }, j = (h) => {
1427
- s.value = h, _.value = C.value;
1441
+ o(pe.UPDATE_COLUMNS, D);
1442
+ }, x = (L) => {
1443
+ s.value = L, h.value = g.value;
1428
1444
  };
1429
1445
  return {
1430
1446
  // Values
1431
1447
  configSettingsButtonRef: t,
1432
- popoverId: d,
1448
+ popoverId: r,
1433
1449
  isConfigSettingsPanelOpen: s,
1434
- allColumnsVisbilityToggleState: _,
1435
- filteredColumnVisibilityColumns: N,
1436
- searchTerm: b,
1437
- isColumnVisibilityFilterShown: f,
1450
+ allColumnsVisbilityToggleState: h,
1451
+ filteredColumnVisibilityColumns: S,
1452
+ searchTerm: y,
1453
+ isColumnVisibilityFilterShown: c,
1438
1454
  searchBarRef: i,
1439
- searchButtonRef: g,
1440
- DATAGRID_ACTIONS_COLUMN_FIELD_NAME: se,
1455
+ searchButtonRef: C,
1456
+ DATAGRID_ACTIONS_COLUMN_FIELD_NAME: ie,
1441
1457
  // Methods
1442
- setConfigSettingsPanelVisibility: j,
1443
- emitCondensedToggle: (h) => l(Le.CONFIG_SETTINGS, h),
1458
+ setConfigSettingsPanelVisibility: x,
1459
+ emitCondensedToggle: (L) => o(pe.CONFIG_SETTINGS, L),
1444
1460
  toggleAllColumnVisibility: A,
1445
1461
  clearAction: n,
1446
1462
  toggleColumnFilter: a,
1447
- emitVisibleColumns: S,
1448
- emitFrozenColumns: P,
1449
- onClickOutside: () => j(!1),
1450
- isColumnVisibilityToggleDisabled: L,
1463
+ emitVisibleColumns: w,
1464
+ emitFrozenColumns: F,
1465
+ onClickOutside: () => x(!1),
1466
+ isColumnVisibilityToggleDisabled: _,
1451
1467
  // Translations
1452
- t: c
1468
+ t: f
1453
1469
  };
1454
1470
  }
1455
- }), Ds = { class: "b-data-grid-config-settings" }, Ms = { class: "b-data-grid-config-settings__button-and-separator" }, ks = {
1471
+ }), Bs = { class: "b-data-grid-config-settings" }, Ws = { class: "b-data-grid-config-settings__button-and-separator" }, Gs = {
1456
1472
  ref: "configSettingsButtonRef",
1457
1473
  class: "b-data-grid-config-settings__button-container"
1458
- }, Us = { class: "b-data-grid-config-settings__panel-header" }, zs = { class: "b-data-grid-config-settings__condensed-view-settings" }, Fs = { class: "b-data-grid-config-settings__column-visibility-settings" }, Ps = { class: "b-data-grid-config-settings__column-visibility-header" }, Bs = {
1474
+ }, Hs = { class: "b-data-grid-config-settings__panel-header" }, Vs = { class: "b-data-grid-config-settings__condensed-view-settings" }, xs = { class: "b-data-grid-config-settings__column-visibility-settings" }, Zs = { class: "b-data-grid-config-settings__column-visibility-header" }, js = {
1459
1475
  key: 0,
1460
1476
  class: "b-data-grid-config-settings__column-visibility-search"
1461
- }, Ws = {
1477
+ }, qs = {
1462
1478
  key: 1,
1463
1479
  class: "b-data-grid-config-settings__column-visibility-show-all"
1464
- }, Hs = { class: "b-data-grid-config-settings__column-visibility-toggles" };
1465
- function Gs(e, l, c, t, d, i) {
1466
- const s = de("bento-settings-icon"), _ = de("bento-toggle-button"), g = de("bento-typography"), b = de("bento-cross-icon"), y = de("bento-button"), f = de("bento-toggle"), N = de("bento-search-icon"), n = de("bento-search-bar"), C = de("bento-data-grid-config-settings-config-row"), a = de("bento-popover"), L = $n("bento-click-outside-directive");
1467
- return Qe((u(), E("div", Ds, [
1468
- p("div", Ms, [
1469
- p("div", ks, [
1470
- q(_, {
1480
+ }, Ys = { class: "b-data-grid-config-settings__column-visibility-toggles" };
1481
+ function Xs(e, o, f, t, r, i) {
1482
+ const s = de("bento-settings-icon"), h = de("bento-toggle-button"), C = de("bento-typography"), y = de("bento-cross-icon"), b = de("bento-button"), c = de("bento-toggle"), S = de("bento-search-icon"), n = de("bento-search-bar"), g = de("bento-data-grid-config-settings-config-row"), a = de("bento-popover"), _ = Pn("bento-click-outside-directive");
1483
+ return Qe((u(), E("div", Bs, [
1484
+ p("div", Ws, [
1485
+ p("div", Gs, [
1486
+ q(h, {
1471
1487
  "aria-controls": e.isConfigSettingsPanelOpen ? e.popoverId : null,
1472
1488
  variant: "tertiary",
1473
1489
  condensed: "",
1474
1490
  toggled: e.isConfigSettingsPanelOpen,
1475
- onClick: l[0] || (l[0] = (S) => e.setConfigSettingsPanelVisibility(!e.isConfigSettingsPanelOpen))
1491
+ onClick: o[0] || (o[0] = (w) => e.setConfigSettingsPanelVisibility(!e.isConfigSettingsPanelOpen))
1476
1492
  }, {
1477
- iconLeft: W(() => [
1493
+ iconLeft: G(() => [
1478
1494
  q(s, {
1479
1495
  "svg-title": e.t("toggleConfigSettingsPanelVisibility")
1480
1496
  }, null, 8, ["svg-title"])
@@ -1483,7 +1499,7 @@ function Gs(e, l, c, t, d, i) {
1483
1499
  }, 8, ["aria-controls", "toggled"])
1484
1500
  ], 512)
1485
1501
  ]),
1486
- e.configSettingsButtonRef ? (u(), z(a, {
1502
+ e.configSettingsButtonRef ? (u(), U(a, {
1487
1503
  key: 0,
1488
1504
  id: e.popoverId,
1489
1505
  open: e.isConfigSettingsPanelOpen,
@@ -1492,144 +1508,144 @@ function Gs(e, l, c, t, d, i) {
1492
1508
  "target-element": e.configSettingsButtonRef,
1493
1509
  position: "bottom-end"
1494
1510
  }, {
1495
- default: W(() => [
1496
- p("div", Us, [
1497
- q(g, {
1511
+ default: G(() => [
1512
+ p("div", Hs, [
1513
+ q(C, {
1498
1514
  el: "span",
1499
1515
  strongest: ""
1500
1516
  }, {
1501
- default: W(() => [
1502
- le(x(e.t("displayOptions")), 1)
1517
+ default: G(() => [
1518
+ oe(j(e.t("displayOptions")), 1)
1503
1519
  ]),
1504
1520
  _: 1
1505
1521
  }),
1506
- q(y, {
1522
+ q(b, {
1507
1523
  variant: "tertiary",
1508
- onClick: l[1] || (l[1] = (S) => e.setConfigSettingsPanelVisibility(!1))
1524
+ onClick: o[1] || (o[1] = (w) => e.setConfigSettingsPanelVisibility(!1))
1509
1525
  }, {
1510
- iconLeft: W(() => [
1511
- q(b, {
1526
+ iconLeft: G(() => [
1527
+ q(y, {
1512
1528
  "svg-title": e.t("closeConfigSettingsPanel")
1513
1529
  }, null, 8, ["svg-title"])
1514
1530
  ]),
1515
1531
  _: 1
1516
1532
  })
1517
1533
  ]),
1518
- p("div", zs, [
1519
- q(g, {
1534
+ p("div", Vs, [
1535
+ q(C, {
1520
1536
  class: "b-data-grid-config-settings__condensed-view-title",
1521
1537
  el: "span",
1522
1538
  stronger: ""
1523
1539
  }, {
1524
- default: W(() => [
1525
- le(x(e.t("size")), 1)
1540
+ default: G(() => [
1541
+ oe(j(e.t("size")), 1)
1526
1542
  ]),
1527
1543
  _: 1
1528
1544
  }),
1529
- q(f, {
1545
+ q(c, {
1530
1546
  "label-position": "after",
1531
1547
  "aria-label": e.t("condensedToggle"),
1532
1548
  value: e.condensed,
1533
1549
  onInput: e.emitCondensedToggle
1534
1550
  }, {
1535
- default: W(() => [
1536
- le(x(e.t("condensed")), 1)
1551
+ default: G(() => [
1552
+ oe(j(e.t("condensed")), 1)
1537
1553
  ]),
1538
1554
  _: 1
1539
1555
  }, 8, ["aria-label", "value", "onInput"])
1540
1556
  ]),
1541
- p("div", Fs, [
1542
- p("div", Ps, [
1543
- q(g, {
1557
+ p("div", xs, [
1558
+ p("div", Zs, [
1559
+ q(C, {
1544
1560
  class: "b-data-grid-config-settings__column-visibility-title",
1545
1561
  el: "span",
1546
1562
  stronger: ""
1547
1563
  }, {
1548
- default: W(() => [
1549
- le(x(e.t("columns")), 1)
1564
+ default: G(() => [
1565
+ oe(j(e.t("columns")), 1)
1550
1566
  ]),
1551
1567
  _: 1
1552
1568
  }),
1553
- e.isColumnVisibilityFilterShown ? (u(), z(y, {
1569
+ e.isColumnVisibilityFilterShown ? (u(), U(b, {
1554
1570
  key: 1,
1555
1571
  variant: "tertiary",
1556
1572
  onClick: e.toggleColumnFilter
1557
1573
  }, {
1558
- iconLeft: W(() => [
1559
- q(b)
1574
+ iconLeft: G(() => [
1575
+ q(y)
1560
1576
  ]),
1561
- default: W(() => [
1562
- le(" " + x(e.t("closeSearch")), 1)
1577
+ default: G(() => [
1578
+ oe(" " + j(e.t("closeSearch")), 1)
1563
1579
  ]),
1564
1580
  _: 1
1565
- }, 8, ["onClick"])) : (u(), z(y, {
1581
+ }, 8, ["onClick"])) : (u(), U(b, {
1566
1582
  key: 0,
1567
1583
  ref: "searchButtonRef",
1568
1584
  variant: "tertiary",
1569
1585
  onClick: e.toggleColumnFilter
1570
1586
  }, {
1571
- iconLeft: W(() => [
1572
- q(N)
1587
+ iconLeft: G(() => [
1588
+ q(S)
1573
1589
  ]),
1574
- default: W(() => [
1575
- le(x(e.t("search")), 1)
1590
+ default: G(() => [
1591
+ oe(j(e.t("search")), 1)
1576
1592
  ]),
1577
1593
  _: 1
1578
1594
  }, 8, ["onClick"]))
1579
1595
  ]),
1580
- e.isColumnVisibilityFilterShown ? (u(), E("div", Bs, [
1596
+ e.isColumnVisibilityFilterShown ? (u(), E("div", js, [
1581
1597
  q(n, {
1582
1598
  ref: "searchBarRef",
1583
1599
  value: e.searchTerm,
1584
1600
  "input-field-aria-label": e.t("columnVisibilitySearchFilter").toString(),
1585
- onInput: l[2] || (l[2] = (S) => e.searchTerm = S),
1601
+ onInput: o[2] || (o[2] = (w) => e.searchTerm = w),
1586
1602
  onClear: e.clearAction,
1587
1603
  onEscapePressed: e.toggleColumnFilter
1588
1604
  }, null, 8, ["value", "input-field-aria-label", "onClear", "onEscapePressed"])
1589
- ])) : (u(), E("div", Ws, [
1590
- q(f, {
1605
+ ])) : (u(), E("div", qs, [
1606
+ q(c, {
1591
1607
  "label-position": "after",
1592
1608
  value: e.allColumnsVisbilityToggleState,
1593
1609
  onInput: e.toggleAllColumnVisibility
1594
1610
  }, {
1595
- default: W(() => [
1596
- le(x(e.t("showAllColumns", { numberOfColumns: e.columns.length })), 1)
1611
+ default: G(() => [
1612
+ oe(j(e.t("showAllColumns", { numberOfColumns: e.columns.length })), 1)
1597
1613
  ]),
1598
1614
  _: 1
1599
1615
  }, 8, ["value", "onInput"])
1600
1616
  ])),
1601
- p("div", Hs, [
1602
- (u(!0), E(fe, null, me(e.filteredColumnVisibilityColumns, (S) => (u(), E("div", {
1603
- key: S.field
1617
+ p("div", Ys, [
1618
+ (u(!0), E(fe, null, Ce(e.filteredColumnVisibilityColumns, (w) => (u(), E("div", {
1619
+ key: w.field
1604
1620
  }, [
1605
- S.field !== e.DATAGRID_ACTIONS_COLUMN_FIELD_NAME ? (u(), z(C, {
1621
+ w.field !== e.DATAGRID_ACTIONS_COLUMN_FIELD_NAME ? (u(), U(g, {
1606
1622
  key: 0,
1607
- column: S,
1608
- "is-column-visibility-toggle-disabled": e.isColumnVisibilityToggleDisabled(S),
1623
+ column: w,
1624
+ "is-column-visibility-toggle-disabled": e.isColumnVisibilityToggleDisabled(w),
1609
1625
  onVisibleColumn: e.emitVisibleColumns,
1610
1626
  onUpdatedColumn: e.emitFrozenColumns
1611
- }, null, 8, ["column", "is-column-visibility-toggle-disabled", "onVisibleColumn", "onUpdatedColumn"])) : k("", !0)
1627
+ }, null, 8, ["column", "is-column-visibility-toggle-disabled", "onVisibleColumn", "onUpdatedColumn"])) : M("", !0)
1612
1628
  ]))), 128)),
1613
- e.filteredColumnVisibilityColumns.length === 0 ? (u(), z(g, {
1629
+ e.filteredColumnVisibilityColumns.length === 0 ? (u(), U(C, {
1614
1630
  key: 0,
1615
1631
  el: "span",
1616
1632
  class: "b-data-grid-config-settings__column-visibility-empty-search-message"
1617
1633
  }, {
1618
- default: W(() => [
1619
- le(x(e.t("noColumnsMatch")), 1)
1634
+ default: G(() => [
1635
+ oe(j(e.t("noColumnsMatch")), 1)
1620
1636
  ]),
1621
1637
  _: 1
1622
- })) : k("", !0)
1638
+ })) : M("", !0)
1623
1639
  ])
1624
1640
  ])
1625
1641
  ]),
1626
1642
  _: 1
1627
- }, 8, ["id", "open", "aria-label", "target-element"])) : k("", !0)
1643
+ }, 8, ["id", "open", "aria-label", "target-element"])) : M("", !0)
1628
1644
  ])), [
1629
- [L, e.onClickOutside]
1645
+ [_, e.onClickOutside]
1630
1646
  ]);
1631
1647
  }
1632
- const Vs = /* @__PURE__ */ K($s, [["render", Gs], ["__scopeId", "data-v-f5950a53"]]), xe = {
1648
+ const Ks = /* @__PURE__ */ X(Ps, [["render", Xs], ["__scopeId", "data-v-f5950a53"]]), xe = {
1633
1649
  "en-US": {
1634
1650
  gettingYourData: "Getting your data",
1635
1651
  loading: "Loading",
@@ -1647,87 +1663,87 @@ const Vs = /* @__PURE__ */ K($s, [["render", Gs], ["__scopeId", "data-v-f5950a53
1647
1663
  loading: "読み込み中",
1648
1664
  showMore: "表示内容を増やす"
1649
1665
  }
1650
- }, xs = { class: "b-data-grid-lazy-load" }, Zs = {
1666
+ }, Js = { class: "b-data-grid-lazy-load" }, Qs = {
1651
1667
  i18n: { messages: xe }
1652
- }, js = /* @__PURE__ */ Ce({
1653
- ...Zs,
1668
+ }, eo = /* @__PURE__ */ he({
1669
+ ...Qs,
1654
1670
  __name: "data-grid-lazy-load",
1655
1671
  props: {
1656
1672
  loading: { type: Boolean },
1657
1673
  isInfiniteScroll: { type: Boolean }
1658
1674
  },
1659
1675
  setup(e) {
1660
- const { t: l } = we({ messages: xe });
1661
- return (c, t) => (u(), E("div", xs, [
1662
- c.loading && c.isInfiniteScroll ? (u(), z(o(Pt), { key: 0 })) : k("", !0),
1663
- c.loading && !c.isInfiniteScroll ? (u(), z(o(mt), {
1676
+ const { t: o } = Oe({ messages: xe });
1677
+ return (f, t) => (u(), E("div", Js, [
1678
+ f.loading && f.isInfiniteScroll ? (u(), U(l(Bt), { key: 0 })) : M("", !0),
1679
+ f.loading && !f.isInfiniteScroll ? (u(), U(l(Ct), {
1664
1680
  key: 1,
1665
1681
  variant: "secondary",
1666
- state: o(Ct).LOADING
1682
+ state: l(ht).LOADING
1667
1683
  }, {
1668
- default: W(() => [
1669
- le(x(o(l)("loading")), 1)
1684
+ default: G(() => [
1685
+ oe(j(l(o)("loading")), 1)
1670
1686
  ]),
1671
1687
  _: 1
1672
- }, 8, ["state"])) : k("", !0),
1673
- !c.loading && !c.isInfiniteScroll ? (u(), z(o(mt), {
1688
+ }, 8, ["state"])) : M("", !0),
1689
+ !f.loading && !f.isInfiniteScroll ? (u(), U(l(Ct), {
1674
1690
  key: 2,
1675
- state: o(Ct).START,
1691
+ state: l(ht).START,
1676
1692
  variant: "secondary",
1677
- onClick: t[0] || (t[0] = (d) => c.$emit(o($).UPDATE_SHOW_MORE))
1693
+ onClick: t[0] || (t[0] = (r) => f.$emit(l($).UPDATE_SHOW_MORE))
1678
1694
  }, {
1679
- default: W(() => [
1680
- le(x(o(l)("showMore")), 1)
1695
+ default: G(() => [
1696
+ oe(j(l(o)("showMore")), 1)
1681
1697
  ]),
1682
1698
  _: 1
1683
- }, 8, ["state"])) : k("", !0)
1699
+ }, 8, ["state"])) : M("", !0)
1684
1700
  ]));
1685
1701
  }
1686
- }), qs = /* @__PURE__ */ K(js, [["__scopeId", "data-v-a4824c2d"]]);
1687
- let Nt = 0;
1688
- const Ys = {
1702
+ }), to = /* @__PURE__ */ X(eo, [["__scopeId", "data-v-a4824c2d"]]);
1703
+ let $t = 0;
1704
+ const no = {
1689
1705
  beforeCreate() {
1690
- this.uuid = Nt.toString(), Nt += 1;
1706
+ this.uuid = $t.toString(), $t += 1;
1691
1707
  }
1692
- }, Xs = { key: 0 };
1693
- function Ks(e, l, c, t, d, i) {
1694
- return u(), E("svg", X({ role: "img" }, e.$attrs, {
1708
+ }, lo = { key: 0 };
1709
+ function so(e, o, f, t, r, i) {
1710
+ return u(), E("svg", Y({ role: "img" }, e.$attrs, {
1695
1711
  class: "ui-assets-icons-16",
1696
1712
  xmlns: "http://www.w3.org/2000/svg",
1697
1713
  width: "16",
1698
1714
  height: "16",
1699
1715
  fill: "none"
1700
1716
  }), [
1701
- e.$attrs["svg-title"] ? (u(), E("title", Xs, x(e.$attrs["svg-title"]), 1)) : k("", !0),
1702
- l[0] || (l[0] = p("path", {
1717
+ e.$attrs["svg-title"] ? (u(), E("title", lo, j(e.$attrs["svg-title"]), 1)) : M("", !0),
1718
+ o[0] || (o[0] = p("path", {
1703
1719
  fill: "#00112C",
1704
1720
  d: "M12.9243 1.86372C12.0456 0.985043 10.621 0.985041 9.74234 1.86372L1.25 10.3561V14.7501H5.64399L14.1363 6.25772C15.015 5.37904 15.015 3.95442 14.1363 3.07574L12.9243 1.86372ZM10.803 2.92438C11.0959 2.63149 11.5708 2.63149 11.8637 2.92438L13.0757 4.1364C13.3686 4.42929 13.3686 4.90416 13.0757 5.19706L12.3333 5.93947L10.0606 3.6668L10.803 2.92438ZM8.99993 4.72746L11.2726 7.00013L5.02267 13.2501H2.75V10.9774L8.99993 4.72746Z"
1705
1721
  }, null, -1))
1706
1722
  ], 16);
1707
1723
  }
1708
- const Js = /* @__PURE__ */ K(Ys, [["render", Ks]]);
1709
- let $t = 0;
1710
- const Qs = {
1724
+ const oo = /* @__PURE__ */ X(no, [["render", so]]);
1725
+ let Dt = 0;
1726
+ const io = {
1711
1727
  beforeCreate() {
1712
- this.uuid = $t.toString(), $t += 1;
1728
+ this.uuid = Dt.toString(), Dt += 1;
1713
1729
  }
1714
- }, eo = { key: 0 };
1715
- function to(e, l, c, t, d, i) {
1716
- return u(), E("svg", X({ role: "img" }, e.$attrs, {
1730
+ }, ao = { key: 0 };
1731
+ function ro(e, o, f, t, r, i) {
1732
+ return u(), E("svg", Y({ role: "img" }, e.$attrs, {
1717
1733
  class: "ui-assets-icons-16",
1718
1734
  xmlns: "http://www.w3.org/2000/svg",
1719
1735
  width: "16",
1720
1736
  height: "16",
1721
1737
  fill: "none"
1722
1738
  }), [
1723
- e.$attrs["svg-title"] ? (u(), E("title", eo, x(e.$attrs["svg-title"]), 1)) : k("", !0),
1724
- l[0] || (l[0] = p("path", {
1739
+ e.$attrs["svg-title"] ? (u(), E("title", ao, j(e.$attrs["svg-title"]), 1)) : M("", !0),
1740
+ o[0] || (o[0] = p("path", {
1725
1741
  fill: "#00112C",
1726
1742
  d: "M2.93933 11.9999L10.1893 4.74989H5.24999V3.24989H12.75V10.7499H11.25V5.81055L3.99999 13.0605L2.93933 11.9999Z"
1727
1743
  }, null, -1))
1728
1744
  ], 16);
1729
1745
  }
1730
- const Dt = /* @__PURE__ */ K(Qs, [["render", to]]), Yt = {
1746
+ const Mt = /* @__PURE__ */ X(io, [["render", ro]]), Xt = {
1731
1747
  "en-US": {
1732
1748
  copy: "Copy",
1733
1749
  edit: "Edit",
@@ -1746,14 +1762,14 @@ const Dt = /* @__PURE__ */ K(Qs, [["render", to]]), Yt = {
1746
1762
  open: "を開く",
1747
1763
  more: "表示を増やす"
1748
1764
  }
1749
- }, no = { class: "b-data-grid-cell-actions" }, lo = {
1765
+ }, uo = { class: "b-data-grid-cell-actions" }, co = {
1750
1766
  class: "b-data-grid-cell-actions__actions",
1751
1767
  role: "group"
1752
- }, so = {
1753
- i18n: { messages: Yt },
1768
+ }, fo = {
1769
+ i18n: { messages: Xt },
1754
1770
  name: "data-grid-cell-actions"
1755
- }, oo = /* @__PURE__ */ Ce({
1756
- ...so,
1771
+ }, go = /* @__PURE__ */ he({
1772
+ ...fo,
1757
1773
  props: {
1758
1774
  /**
1759
1775
  * Column definitions using 'key' to relate to data object.
@@ -1779,70 +1795,70 @@ const Dt = /* @__PURE__ */ K(Qs, [["render", to]]), Yt = {
1779
1795
  }
1780
1796
  },
1781
1797
  emits: ["menu-item-click-close"],
1782
- setup(e, { emit: l }) {
1783
- const { t: c } = we({ messages: Yt }), t = e, d = l, i = w(() => {
1798
+ setup(e, { emit: o }) {
1799
+ const { t: f } = Oe({ messages: Xt }), t = e, r = o, i = O(() => {
1784
1800
  var n;
1785
- return ((n = t.cellActions) == null ? void 0 : n.length) > 2 && Bt(
1801
+ return ((n = t.cellActions) == null ? void 0 : n.length) > 2 && Wt(
1786
1802
  "WARNING: BentoDataGrid Cell actions can only have a maximum of 2 actions, if you need more consider using the menuData property instead."
1787
1803
  ), t.cellActions.slice(0, 2);
1788
- }), s = w(() => (n, C) => {
1789
- if (!(!C && n.isShort || C && !n.isShort))
1804
+ }), s = O(() => (n, g) => {
1805
+ if (!(!g && n.isShort || g && !n.isShort))
1790
1806
  switch (n.variant) {
1791
1807
  case "copy":
1792
- return c("copy");
1808
+ return f("copy");
1793
1809
  case "edit":
1794
- return c("edit");
1810
+ return f("edit");
1795
1811
  case "open":
1796
- return c("open");
1812
+ return f("open");
1797
1813
  case "more":
1798
- return c("more");
1814
+ return f("more");
1799
1815
  default:
1800
1816
  return n.title;
1801
1817
  }
1802
- }), _ = (n) => (n == null ? void 0 : n.event) !== void 0 ? {
1818
+ }), h = (n) => (n == null ? void 0 : n.event) !== void 0 ? {
1803
1819
  click: () => n.event(t.rowDataItem, t.columnKey)
1804
- } : {}, g = (n) => ({
1820
+ } : {}, C = (n) => ({
1805
1821
  ...n,
1806
1822
  handler: () => {
1807
1823
  n != null && n.handler && typeof n.handler == "function" && (n == null || n.handler()), n != null && n.event && typeof n.event == "function" && (n == null || n.event(t.rowDataItem, t.columnKey));
1808
1824
  }
1809
- }), b = (n) => n.map((C) => {
1810
- const a = C;
1811
- return a != null && a.items && (a.items = b(a.items)), { ...g(a) };
1812
- }), y = (n) => {
1813
- var C, a;
1814
- return (n == null ? void 0 : n.getCopyData) !== void 0 ? n.getCopyData(t.rowDataItem, t.columnKey) : (a = (C = t.rowDataItem) == null ? void 0 : C[t.columnKey]) == null ? void 0 : a.toString();
1815
- }, f = (n) => n.iconRight || ((n == null ? void 0 : n.variant) === "more" || (n == null ? void 0 : n.variant) === "open") && !n.isShort, N = (n) => n.iconLeft || (n == null ? void 0 : n.variant) === "more";
1816
- return (n, C) => (u(), z(zt, {
1825
+ }), y = (n) => n.map((g) => {
1826
+ const a = g;
1827
+ return a != null && a.items && (a.items = y(a.items)), { ...C(a) };
1828
+ }), b = (n) => {
1829
+ var g, a;
1830
+ return (n == null ? void 0 : n.getCopyData) !== void 0 ? n.getCopyData(t.rowDataItem, t.columnKey) : (a = (g = t.rowDataItem) == null ? void 0 : g[t.columnKey]) == null ? void 0 : a.toString();
1831
+ }, c = (n) => n.iconRight || ((n == null ? void 0 : n.variant) === "more" || (n == null ? void 0 : n.variant) === "open") && !n.isShort, S = (n) => n.iconLeft || (n == null ? void 0 : n.variant) === "more";
1832
+ return (n, g) => (u(), U(Ft, {
1817
1833
  name: "b-data-grid-cell-actions__animation",
1818
1834
  appear: ""
1819
1835
  }, {
1820
- default: W(() => [
1821
- p("div", no, [
1822
- C[1] || (C[1] = p("div", { class: "b-data-grid-cell-actions__background-gradient" }, null, -1)),
1823
- p("div", lo, [
1824
- (u(!0), E(fe, null, me(i.value, (a, L) => (u(), E("div", {
1825
- key: L,
1836
+ default: G(() => [
1837
+ p("div", uo, [
1838
+ g[1] || (g[1] = p("div", { class: "b-data-grid-cell-actions__background-gradient" }, null, -1)),
1839
+ p("div", co, [
1840
+ (u(!0), E(fe, null, Ce(i.value, (a, _) => (u(), E("div", {
1841
+ key: _,
1826
1842
  class: "b-data-grid-cell-actions__action"
1827
1843
  }, [
1828
- a.menuData ? (u(), z(o(qe), {
1844
+ a.menuData ? (u(), U(l(qe), {
1829
1845
  key: 0,
1830
- data: b(a.menuData),
1846
+ data: y(a.menuData),
1831
1847
  button: {
1832
1848
  condensed: !0,
1833
1849
  variant: "secondary",
1834
1850
  disabled: a.disabled
1835
1851
  },
1836
1852
  teleport: "",
1837
- onMenuItemClick: C[0] || (C[0] = (S) => d("menu-item-click-close"))
1838
- }, Re({ _: 2 }, [
1839
- N(a) ? {
1853
+ onMenuItemClick: g[0] || (g[0] = (w) => r("menu-item-click-close"))
1854
+ }, $e({ _: 2 }, [
1855
+ S(a) ? {
1840
1856
  name: "iconLeft",
1841
- fn: W(() => [
1842
- (a == null ? void 0 : a.variant) === "more" ? (u(), z(o(Qn), {
1857
+ fn: G(() => [
1858
+ (a == null ? void 0 : a.variant) === "more" ? (u(), U(l(il), {
1843
1859
  key: 0,
1844
1860
  "svg-title": s.value(a, !0)
1845
- }, null, 8, ["svg-title"])) : (u(), z(Ie(a.iconLeft), {
1861
+ }, null, 8, ["svg-title"])) : (u(), U(Ne(a.iconLeft), {
1846
1862
  key: 1,
1847
1863
  "svg-title": s.value(a, !0)
1848
1864
  }, null, 8, ["svg-title"]))
@@ -1851,47 +1867,47 @@ const Dt = /* @__PURE__ */ K(Qs, [["render", to]]), Yt = {
1851
1867
  } : void 0,
1852
1868
  a != null && a.isShort ? void 0 : {
1853
1869
  name: "default",
1854
- fn: W(() => [
1855
- le(x(s.value(a)), 1)
1870
+ fn: G(() => [
1871
+ oe(j(s.value(a)), 1)
1856
1872
  ]),
1857
1873
  key: "1"
1858
1874
  },
1859
- f(a) ? {
1875
+ c(a) ? {
1860
1876
  name: "iconRight",
1861
- fn: W(() => [
1862
- (a == null ? void 0 : a.variant) === "open" ? (u(), z(o(Dt), {
1877
+ fn: G(() => [
1878
+ (a == null ? void 0 : a.variant) === "open" ? (u(), U(l(Mt), {
1863
1879
  key: 0,
1864
1880
  "svg-title": s.value(a, !0)
1865
- }, null, 8, ["svg-title"])) : (u(), z(Ie(a.iconRight), {
1881
+ }, null, 8, ["svg-title"])) : (u(), U(Ne(a.iconRight), {
1866
1882
  key: 1,
1867
1883
  "svg-title": a.title
1868
1884
  }, null, 8, ["svg-title"]))
1869
1885
  ]),
1870
1886
  key: "2"
1871
1887
  } : void 0
1872
- ]), 1032, ["data", "button"])) : a.variant === "copy" ? (u(), z(o(ll), {
1888
+ ]), 1032, ["data", "button"])) : a.variant === "copy" ? (u(), U(l(ul), {
1873
1889
  key: 1,
1874
- text: y(a),
1890
+ text: b(a),
1875
1891
  "button-text": s.value(a),
1876
1892
  button: {
1877
1893
  condensed: !0,
1878
1894
  variant: "secondary"
1879
1895
  }
1880
- }, null, 8, ["text", "button-text"])) : (u(), z(o(Wt), X({
1896
+ }, null, 8, ["text", "button-text"])) : (u(), U(l(Gt), Y({
1881
1897
  key: 2,
1882
1898
  condensed: "",
1883
1899
  variant: "secondary",
1884
1900
  critical: a.critical,
1885
1901
  disabled: a.disabled,
1886
1902
  link: a.link
1887
- }, Ge(_(a))), Re({ _: 2 }, [
1903
+ }, He(h(a))), $e({ _: 2 }, [
1888
1904
  a.iconLeft || a.variant === "edit" ? {
1889
1905
  name: "iconLeft",
1890
- fn: W(() => [
1891
- (a == null ? void 0 : a.variant) === "edit" ? (u(), z(o(Js), {
1906
+ fn: G(() => [
1907
+ (a == null ? void 0 : a.variant) === "edit" ? (u(), U(l(oo), {
1892
1908
  key: 0,
1893
1909
  "svg-title": s.value(a, !0)
1894
- }, null, 8, ["svg-title"])) : (u(), z(Ie(a.iconLeft), {
1910
+ }, null, 8, ["svg-title"])) : (u(), U(Ne(a.iconLeft), {
1895
1911
  key: 1,
1896
1912
  "svg-title": a.title
1897
1913
  }, null, 8, ["svg-title"]))
@@ -1900,18 +1916,18 @@ const Dt = /* @__PURE__ */ K(Qs, [["render", to]]), Yt = {
1900
1916
  } : void 0,
1901
1917
  a != null && a.isShort ? void 0 : {
1902
1918
  name: "default",
1903
- fn: W(() => [
1904
- le(x(s.value(a)), 1)
1919
+ fn: G(() => [
1920
+ oe(j(s.value(a)), 1)
1905
1921
  ]),
1906
1922
  key: "1"
1907
1923
  },
1908
1924
  a.iconRight || a.variant === "open" ? {
1909
1925
  name: "iconRight",
1910
- fn: W(() => [
1911
- (a == null ? void 0 : a.variant) === "open" ? (u(), z(o(Dt), {
1926
+ fn: G(() => [
1927
+ (a == null ? void 0 : a.variant) === "open" ? (u(), U(l(Mt), {
1912
1928
  key: 0,
1913
1929
  "svg-title": s.value(a, !0)
1914
- }, null, 8, ["svg-title"])) : (u(), z(Ie(a.iconRight), {
1930
+ }, null, 8, ["svg-title"])) : (u(), U(Ne(a.iconRight), {
1915
1931
  key: 1,
1916
1932
  "svg-title": a.title
1917
1933
  }, null, 8, ["svg-title"]))
@@ -1926,22 +1942,22 @@ const Dt = /* @__PURE__ */ K(Qs, [["render", to]]), Yt = {
1926
1942
  _: 1
1927
1943
  }));
1928
1944
  }
1929
- }), io = /* @__PURE__ */ K(oo, [["__scopeId", "data-v-da2fa02e"]]);
1930
- var Q = /* @__PURE__ */ ((e) => (e.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED = "action-col-nested-content-and-selection-enabled", e.ACTION_COL_NESTED_CONTENT_ENABLED = "action-col-nested-content-enabled", e.ACTION_COL_SELECTION_ENABLED = "action-col-selection-enabled", e.COLUMN_HOVERED = "column-hovered", e.COLUMN_HOVERED_NO_BORDER_LEFT = "column-hovered-no-border-left", e.COLUMN_HOVERED_NO_BORDER_RIGHT = "column-hovered-no-border-right", e.CONDENSED = "condensed", e.FROZEN = "frozen", e.IS_COLUMN_REORDERING = "is-column-re-ordering", e.IS_COLUMN_REORDERING_TARGET_LEFT = "is-column-re-order-target-left", e.IS_COLUMN_REORDERING_TARGET_RIGHT = "is-column-re-order-target-right", e.LAST_FROZEN_COLUMN_CELL = "last-frozen-column-cell", e.NESTED_CONTENT_ENABLED = "nested-content-toggle-enabled", e.NUMERIC = "numeric", e.OVERFLOW_ELLIPSIS = "overflow-ellipsis", e.PADDING_LEFT_UNSET = "padding-left-unset", e.PADDING_RIGHT_UNSET = "padding-right-unset", e))(Q || {});
1931
- const Xt = {
1945
+ }), vo = /* @__PURE__ */ X(go, [["__scopeId", "data-v-da2fa02e"]]);
1946
+ var ee = /* @__PURE__ */ ((e) => (e.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED = "action-col-nested-content-and-selection-enabled", e.ACTION_COL_NESTED_CONTENT_ENABLED = "action-col-nested-content-enabled", e.ACTION_COL_SELECTION_ENABLED = "action-col-selection-enabled", e.COLUMN_HOVERED = "column-hovered", e.COLUMN_HOVERED_NO_BORDER_LEFT = "column-hovered-no-border-left", e.COLUMN_HOVERED_NO_BORDER_RIGHT = "column-hovered-no-border-right", e.CONDENSED = "condensed", e.FROZEN = "frozen", e.IS_COLUMN_REORDERING = "is-column-re-ordering", e.IS_COLUMN_REORDERING_TARGET_LEFT = "is-column-re-order-target-left", e.IS_COLUMN_REORDERING_TARGET_RIGHT = "is-column-re-order-target-right", e.LAST_FROZEN_COLUMN_CELL = "last-frozen-column-cell", e.NESTED_CONTENT_ENABLED = "nested-content-toggle-enabled", e.NUMERIC = "numeric", e.OVERFLOW_ELLIPSIS = "overflow-ellipsis", e.PADDING_LEFT_UNSET = "padding-left-unset", e.PADDING_RIGHT_UNSET = "padding-right-unset", e))(ee || {});
1947
+ const Kt = {
1932
1948
  "en-US": {
1933
1949
  collapseNestedContent: "Collapse nested content",
1934
1950
  expandNestedContent: "Expand nested content",
1935
1951
  selectRow: "Select row"
1936
1952
  }
1937
- }, ao = ["aria-hidden", "data-testid", "data-cellindex", "tabindex", "aria-colindex"], ro = ["title"], uo = {
1953
+ }, mo = ["aria-hidden", "data-testid", "data-cellindex", "tabindex", "aria-colindex"], Co = ["title"], ho = {
1938
1954
  key: 0,
1939
1955
  class: "b-data-grid-cell__cell-actions"
1940
- }, co = {
1941
- i18n: { messages: Xt },
1956
+ }, _o = {
1957
+ i18n: { messages: Kt },
1942
1958
  name: "data-grid-cell"
1943
- }, fo = /* @__PURE__ */ Ce({
1944
- ...co,
1959
+ }, Lo = /* @__PURE__ */ he({
1960
+ ..._o,
1945
1961
  props: {
1946
1962
  draggingEventsForRowCell: {
1947
1963
  type: Function,
@@ -2055,101 +2071,101 @@ const Xt = {
2055
2071
  }
2056
2072
  },
2057
2073
  emits: ["on-frozen-columns-key-press", "select-row", "register-row-cell-element", "cell-hovered", "nested-content-toggled"],
2058
- setup(e, { expose: l, emit: c }) {
2059
- const t = et(), d = xt(t), { t: i } = we({ messages: Xt }), s = e, _ = c, g = O(null), b = O(null), y = O(!1), f = O([]), N = w(() => {
2060
- var v;
2061
- return !!((v = s.rowData) != null && v[s.column.field]);
2062
- }), n = w(
2063
- () => s.column.field === se ? s.nestedRowsElementIds.join(" ") : ""
2064
- ), C = w(
2065
- () => s.column.field === se && !s.selectable && !s.nestedContent
2066
- ), a = (v, H) => (v == null ? void 0 : v.overflow) === Ye.ELLIPSIS ? `${H}` : void 0, L = (v) => v ?? "-", S = (v) => s.columnSets.slice(0, v).reduce((H, { columnSet: U }) => H + U.length, 0), A = (v, H) => v + S(H), P = (v, H, U) => S() * v + A(H, U), j = (v) => {
2067
- var H;
2068
- (v === null || !g.value.contains(v) && !((H = f.value) != null && H.map((U) => U.value).some((U) => U === v || (U == null ? void 0 : U.contains(v))))) && (y.value = !1);
2069
- }, ie = () => {
2070
- y.value = !1;
2071
- }, m = (v) => {
2072
- const U = { ...{
2073
- ...s.draggingEventsForRowCell(v)
2074
+ setup(e, { expose: o, emit: f }) {
2075
+ const t = et(), r = Zt(t), { t: i } = Oe({ messages: Kt }), s = e, h = f, C = I(null), y = I(null), b = I(!1), c = I([]), S = O(() => {
2076
+ var m;
2077
+ return !!((m = s.rowData) != null && m[s.column.field]);
2078
+ }), n = O(
2079
+ () => s.column.field === ie ? s.nestedRowsElementIds.join(" ") : ""
2080
+ ), g = O(
2081
+ () => s.column.field === ie && !s.selectable && !s.nestedContent
2082
+ ), a = (m, B) => (m == null ? void 0 : m.overflow) === Ye.ELLIPSIS ? `${B}` : void 0, _ = (m) => m ?? "-", w = (m) => s.columnSets.slice(0, m).reduce((B, { columnSet: k }) => B + k.length, 0), A = (m, B) => m + w(B), F = (m, B, k) => w() * m + A(B, k), x = (m) => {
2083
+ var B;
2084
+ (m === null || !C.value.contains(m) && !((B = c.value) != null && B.map((k) => k.value).some((k) => k === m || (k == null ? void 0 : k.contains(m))))) && (b.value = !1);
2085
+ }, ae = () => {
2086
+ b.value = !1;
2087
+ }, v = (m) => {
2088
+ const k = { ...{
2089
+ ...s.draggingEventsForRowCell(m)
2074
2090
  } };
2075
- return v.frozen && (U.keyup = (M) => _("on-frozen-columns-key-press", M), U.keydown = (M) => _("on-frozen-columns-key-press", M)), v.cellActions && (U.mouseenter = () => {
2076
- y.value = !0;
2077
- }, U.mouseleave = (M) => {
2078
- y.value = !1, j(M == null ? void 0 : M.relatedTarget);
2079
- }, U.mouseleave = (M) => {
2080
- j(M == null ? void 0 : M.relatedTarget);
2081
- }, U.focus = (M) => {
2082
- y.value = !0;
2083
- }, U.focusout = (M) => {
2084
- j(M == null ? void 0 : M.relatedTarget);
2085
- }), U;
2086
- }, h = () => {
2087
- _("nested-content-toggled");
2091
+ return m.frozen && (k.keyup = (N) => h("on-frozen-columns-key-press", N), k.keydown = (N) => h("on-frozen-columns-key-press", N)), m.cellActions && (k.mouseenter = () => {
2092
+ b.value = !0;
2093
+ }, k.mouseleave = (N) => {
2094
+ b.value = !1, x(N == null ? void 0 : N.relatedTarget);
2095
+ }, k.mouseleave = (N) => {
2096
+ x(N == null ? void 0 : N.relatedTarget);
2097
+ }, k.focus = (N) => {
2098
+ b.value = !0;
2099
+ }, k.focusout = (N) => {
2100
+ x(N == null ? void 0 : N.relatedTarget);
2101
+ }), k;
2102
+ }, L = () => {
2103
+ h("nested-content-toggled");
2088
2104
  };
2089
2105
  ce(
2090
- () => y.value,
2106
+ () => b.value,
2091
2107
  () => {
2092
- y.value === !0 ? _("cell-hovered", s.rowIndex) : _("cell-hovered", -1);
2108
+ b.value === !0 ? h("cell-hovered", s.rowIndex) : h("cell-hovered", -1);
2093
2109
  }
2094
- ), Dn(el, {
2095
- registerMenuContainerElement: (v) => {
2096
- f.value.push(v);
2110
+ ), Bn(al, {
2111
+ registerMenuContainerElement: (m) => {
2112
+ c.value.push(m);
2097
2113
  },
2098
- menuMouseLeave: (v) => {
2099
- g.value.contains(v == null ? void 0 : v.relatedTarget) || (y.value = !1);
2114
+ menuMouseLeave: (m) => {
2115
+ C.value.contains(m == null ? void 0 : m.relatedTarget) || (b.value = !1);
2100
2116
  }
2101
2117
  });
2102
- const J = (v) => {
2103
- var H, U, M, V, B, ae, be;
2118
+ const J = (m) => {
2119
+ var B, k, N, V, P, ge, ye;
2104
2120
  return {
2105
- [`b-data-grid-cell--${Q.COLUMN_HOVERED}`]: (v == null ? void 0 : v.field) === s.hoveredOverColumnState.hoveredOverColumnField,
2106
- [`b-data-grid-cell--${Q.COLUMN_HOVERED_NO_BORDER_LEFT}`]: (v == null ? void 0 : v.field) === s.hoveredOverColumnState.hoveredOverColumnField && s.hoveredOverColumnState.noBorderLeft,
2107
- [`b-data-grid-cell--${Q.COLUMN_HOVERED_NO_BORDER_RIGHT}`]: (v == null ? void 0 : v.field) === s.hoveredOverColumnState.hoveredOverColumnField && s.hoveredOverColumnState.noBorderRight,
2108
- [`b-data-grid-cell--${Q.PADDING_LEFT_UNSET}`]: ((H = v == null ? void 0 : v.padding) == null ? void 0 : H.left) === !1,
2109
- [`b-data-grid-cell--${Q.PADDING_RIGHT_UNSET}`]: ((U = v == null ? void 0 : v.padding) == null ? void 0 : U.right) === !1,
2110
- [`b-data-grid-cell--${Q.NUMERIC}`]: v == null ? void 0 : v.numeric,
2111
- [`b-data-grid-cell--${Q.CONDENSED}`]: s.condensed,
2112
- [`b-data-grid-cell--${Q.OVERFLOW_ELLIPSIS}`]: (v == null ? void 0 : v.overflow) === Ye.ELLIPSIS,
2113
- [`b-data-grid-cell--${Q.IS_COLUMN_REORDERING}`]: ((M = s.draggingColumns.dragging) == null ? void 0 : M.field) === v.field,
2114
- [`b-data-grid-cell--${Q.IS_COLUMN_REORDERING_TARGET_LEFT}`]: ((V = s.draggingColumns.target) == null ? void 0 : V.field) === v.field && ((B = s.draggingColumns) == null ? void 0 : B.dragToLeft),
2115
- [`b-data-grid-cell--${Q.IS_COLUMN_REORDERING_TARGET_RIGHT}`]: ((ae = s.draggingColumns.target) == null ? void 0 : ae.field) === v.field && !((be = s.draggingColumns) != null && be.dragToLeft),
2116
- [`b-data-grid-cell--${Q.FROZEN}`]: v == null ? void 0 : v.frozen,
2117
- [`b-data-grid-cell--${Q.NESTED_CONTENT_ENABLED}`]: s.nestedContent,
2118
- [`b-data-grid-cell--${Q.ACTION_COL_NESTED_CONTENT_ENABLED}`]: s.nestedContent && !s.selectable && v.field === se,
2119
- [`b-data-grid-cell--${Q.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED}`]: s.nestedContent && s.selectable && v.field === se,
2120
- [`b-data-grid-cell--${Q.ACTION_COL_SELECTION_ENABLED}`]: v.field === se && s.selectable
2121
+ [`b-data-grid-cell--${ee.COLUMN_HOVERED}`]: (m == null ? void 0 : m.field) === s.hoveredOverColumnState.hoveredOverColumnField,
2122
+ [`b-data-grid-cell--${ee.COLUMN_HOVERED_NO_BORDER_LEFT}`]: (m == null ? void 0 : m.field) === s.hoveredOverColumnState.hoveredOverColumnField && s.hoveredOverColumnState.noBorderLeft,
2123
+ [`b-data-grid-cell--${ee.COLUMN_HOVERED_NO_BORDER_RIGHT}`]: (m == null ? void 0 : m.field) === s.hoveredOverColumnState.hoveredOverColumnField && s.hoveredOverColumnState.noBorderRight,
2124
+ [`b-data-grid-cell--${ee.PADDING_LEFT_UNSET}`]: ((B = m == null ? void 0 : m.padding) == null ? void 0 : B.left) === !1,
2125
+ [`b-data-grid-cell--${ee.PADDING_RIGHT_UNSET}`]: ((k = m == null ? void 0 : m.padding) == null ? void 0 : k.right) === !1,
2126
+ [`b-data-grid-cell--${ee.NUMERIC}`]: m == null ? void 0 : m.numeric,
2127
+ [`b-data-grid-cell--${ee.CONDENSED}`]: s.condensed,
2128
+ [`b-data-grid-cell--${ee.OVERFLOW_ELLIPSIS}`]: (m == null ? void 0 : m.overflow) === Ye.ELLIPSIS,
2129
+ [`b-data-grid-cell--${ee.IS_COLUMN_REORDERING}`]: ((N = s.draggingColumns.dragging) == null ? void 0 : N.field) === m.field,
2130
+ [`b-data-grid-cell--${ee.IS_COLUMN_REORDERING_TARGET_LEFT}`]: ((V = s.draggingColumns.target) == null ? void 0 : V.field) === m.field && ((P = s.draggingColumns) == null ? void 0 : P.dragToLeft),
2131
+ [`b-data-grid-cell--${ee.IS_COLUMN_REORDERING_TARGET_RIGHT}`]: ((ge = s.draggingColumns.target) == null ? void 0 : ge.field) === m.field && !((ye = s.draggingColumns) != null && ye.dragToLeft),
2132
+ [`b-data-grid-cell--${ee.FROZEN}`]: m == null ? void 0 : m.frozen,
2133
+ [`b-data-grid-cell--${ee.NESTED_CONTENT_ENABLED}`]: s.nestedContent,
2134
+ [`b-data-grid-cell--${ee.ACTION_COL_NESTED_CONTENT_ENABLED}`]: s.nestedContent && !s.selectable && m.field === ie,
2135
+ [`b-data-grid-cell--${ee.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED}`]: s.nestedContent && s.selectable && m.field === ie,
2136
+ [`b-data-grid-cell--${ee.ACTION_COL_SELECTION_ENABLED}`]: m.field === ie && s.selectable
2121
2137
  };
2122
2138
  };
2123
- return l({
2124
- gridcellRef: g
2125
- }), (v, H) => {
2126
- var U;
2127
- return u(), E("div", X({
2139
+ return o({
2140
+ gridcellRef: C
2141
+ }), (m, B) => {
2142
+ var k;
2143
+ return u(), E("div", Y({
2128
2144
  key: `cell-${e.column.field}`,
2129
2145
  ref_key: "gridcellRef",
2130
- ref: g,
2131
- "aria-hidden": C.value,
2146
+ ref: C,
2147
+ "aria-hidden": g.value,
2132
2148
  "data-testid": `cell-${e.column.field}`,
2133
- "data-cellindex": P(e.rowIndex, e.colIndex, e.columnSetIndex),
2149
+ "data-cellindex": F(e.rowIndex, e.colIndex, e.columnSetIndex),
2134
2150
  class: ["b-data-grid-cell", J(e.column)],
2135
2151
  role: "gridcell",
2136
- tabindex: P(e.rowIndex, e.colIndex, e.columnSetIndex) === 0 ? "0" : "-1",
2152
+ tabindex: F(e.rowIndex, e.colIndex, e.columnSetIndex) === 0 ? "0" : "-1",
2137
2153
  "aria-colindex": A(e.colIndex, e.columnSetIndex) + 1,
2138
2154
  style: {
2139
2155
  width: e.column.autoWidth && e.isMeasuringColumnWidths ? "auto" : `${e.column.width}px`
2140
2156
  }
2141
- }, Ge(m(e.column), !0)), [
2142
- e.column.field === o(se) ? (u(), E(fe, { key: 0 }, [
2143
- e.selectable ? (u(), z(o(Vt), {
2157
+ }, He(v(e.column), !0)), [
2158
+ e.column.field === l(ie) ? (u(), E(fe, { key: 0 }, [
2159
+ e.selectable ? (u(), U(l(xt), {
2144
2160
  key: 0,
2145
2161
  class: "b-data-grid-cell__select-cell",
2146
- "aria-label": o(i)("selectRow"),
2162
+ "aria-label": l(i)("selectRow"),
2147
2163
  "model-value": e.selectedItems,
2148
2164
  disabled: e.isDataItemDisabled(e.rowData),
2149
2165
  value: e.getDataItemId(e.rowData),
2150
- "onUpdate:modelValue": H[0] || (H[0] = (M) => v.$emit("select-row", M))
2151
- }, null, 8, ["aria-label", "model-value", "disabled", "value"])) : k("", !0),
2152
- e.nestedContent ? (u(), z(o(nt), {
2166
+ "onUpdate:modelValue": B[0] || (B[0] = (N) => m.$emit("select-row", N))
2167
+ }, null, 8, ["aria-label", "model-value", "disabled", "value"])) : M("", !0),
2168
+ e.nestedContent ? (u(), U(l(nt), {
2153
2169
  key: 1,
2154
2170
  ref: "menuButtonRef",
2155
2171
  "aria-haspopup": "true",
@@ -2157,51 +2173,51 @@ const Xt = {
2157
2173
  condensed: "",
2158
2174
  variant: "tertiary",
2159
2175
  toggled: e.isNestedContentExpanded,
2160
- onClick: h
2176
+ onClick: L
2161
2177
  }, {
2162
- iconLeft: W(() => [
2163
- e.isNestedContentExpanded ? (u(), z(o(sl), {
2178
+ iconLeft: G(() => [
2179
+ e.isNestedContentExpanded ? (u(), U(l(cl), {
2164
2180
  key: 0,
2165
2181
  class: "b-accordion-item__icon",
2166
- "svg-title": o(i)("collapseNestedContent")
2167
- }, null, 8, ["svg-title"])) : (u(), z(o(ol), {
2182
+ "svg-title": l(i)("collapseNestedContent")
2183
+ }, null, 8, ["svg-title"])) : (u(), U(l(fl), {
2168
2184
  key: 1,
2169
2185
  class: "b-accordion-item__icon",
2170
- "svg-title": o(i)("expandNestedContent")
2186
+ "svg-title": l(i)("expandNestedContent")
2171
2187
  }, null, 8, ["svg-title"]))
2172
2188
  ]),
2173
2189
  _: 1
2174
- }, 8, ["aria-controls", "toggled"])) : k("", !0)
2190
+ }, 8, ["aria-controls", "toggled"])) : M("", !0)
2175
2191
  ], 64)) : (u(), E(fe, { key: 1 }, [
2176
- q(o(Ve), { el: "div" }, {
2177
- default: W(() => [
2178
- Ee(v.$slots, `item-${e.column.field}`, { item: e.rowData }, () => [
2192
+ q(l(Ve), { el: "div" }, {
2193
+ default: G(() => [
2194
+ be(m.$slots, `item-${e.column.field}`, { item: e.rowData }, () => [
2179
2195
  p("span", {
2180
2196
  title: a(e.column, e.rowData[e.column.field])
2181
- }, x(L(e.rowData[e.column.field])), 9, ro)
2197
+ }, j(_(e.rowData[e.column.field])), 9, Co)
2182
2198
  ], !0)
2183
2199
  ]),
2184
2200
  _: 3
2185
2201
  }),
2186
- ((U = e.column.cellActions) == null ? void 0 : U.length) > 0 ? (u(), E("div", uo, [
2187
- y.value && (N.value || o(d)(`item-${e.column.field}`)) ? (u(), z(io, {
2202
+ ((k = e.column.cellActions) == null ? void 0 : k.length) > 0 ? (u(), E("div", ho, [
2203
+ b.value && (S.value || l(r)(`item-${e.column.field}`)) ? (u(), U(vo, {
2188
2204
  key: 0,
2189
2205
  ref_key: "cellActionsRef",
2190
- ref: b,
2206
+ ref: y,
2191
2207
  "cell-actions": e.column.cellActions,
2192
2208
  "column-key": e.column.field,
2193
2209
  "row-data-item": e.rowData,
2194
- onMenuItemClickClose: ie
2195
- }, null, 8, ["cell-actions", "column-key", "row-data-item"])) : k("", !0)
2196
- ])) : k("", !0)
2210
+ onMenuItemClickClose: ae
2211
+ }, null, 8, ["cell-actions", "column-key", "row-data-item"])) : M("", !0)
2212
+ ])) : M("", !0)
2197
2213
  ], 64))
2198
- ], 16, ao);
2214
+ ], 16, mo);
2199
2215
  };
2200
2216
  }
2201
- }), go = /* @__PURE__ */ K(fo, [["__scopeId", "data-v-0450eb4d"]]), vo = { class: "b-data-grid-row-container" }, mo = ["aria-selected"], Co = ["data-testid"], ho = ["id"], _o = {
2217
+ }), po = /* @__PURE__ */ X(Lo, [["__scopeId", "data-v-0450eb4d"]]), Eo = { class: "b-data-grid-row-container" }, bo = ["aria-selected"], So = ["data-testid"], yo = ["id"], wo = {
2202
2218
  name: "data-grid-row"
2203
- }, Lo = /* @__PURE__ */ Ce({
2204
- ..._o,
2219
+ }, Oo = /* @__PURE__ */ he({
2220
+ ...wo,
2205
2221
  props: {
2206
2222
  /**
2207
2223
  * When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
@@ -2351,85 +2367,85 @@ const Xt = {
2351
2367
  }
2352
2368
  },
2353
2369
  emits: ["cell-hovered", "on-frozen-columns-key-press", "select-row", "row-click"],
2354
- setup(e, { expose: l, emit: c }) {
2355
- const t = et(), d = xt(t), i = e, s = c, _ = O({}), g = O(!1), b = O(), y = Gt("nested-content-slot"), f = w(() => {
2370
+ setup(e, { expose: o, emit: f }) {
2371
+ const t = et(), r = Zt(t), i = e, s = f, h = I({}), C = I(!1), y = I(), b = Vt("nested-content-slot"), c = O(() => {
2356
2372
  if (i.hasNestedContent) {
2357
- const m = g.value.toString();
2373
+ const v = C.value.toString();
2358
2374
  return {
2359
- "aria-expanded": i.shouldShowNestedContent(i.rowData) ? m : void 0,
2375
+ "aria-expanded": i.shouldShowNestedContent(i.rowData) ? v : void 0,
2360
2376
  "aria-level": "1",
2361
2377
  "aria-posinset": i.rowIndex + 1,
2362
2378
  "aria-setsize": i.rowSetSize
2363
2379
  };
2364
2380
  }
2365
2381
  return { "aria-rowindex": i.rowIndex + 1 };
2366
- }), N = (m, h) => {
2367
- const D = m;
2368
- m !== null && (D != null && D.gridcellRef) && (_.value[h] = D.gridcellRef);
2369
- }, n = (m) => {
2382
+ }), S = (v, L) => {
2383
+ const D = v;
2384
+ v !== null && (D != null && D.gridcellRef) && (h.value[L] = D.gridcellRef);
2385
+ }, n = (v) => {
2370
2386
  if (!i.selectable)
2371
2387
  return null;
2372
- const h = i.getDataItemId(m);
2373
- return i.selectedItems.includes(h).toString();
2374
- }, C = (m) => {
2375
- i.allowRowClicks && s("row-click", i.rowData, m);
2376
- }, { updateContentHeight: a, contentHeight: L } = nl(b, g), S = w(() => {
2388
+ const L = i.getDataItemId(v);
2389
+ return i.selectedItems.includes(L).toString();
2390
+ }, g = (v) => {
2391
+ i.allowRowClicks && s("row-click", i.rowData, v);
2392
+ }, { updateContentHeight: a, contentHeight: _ } = dl(y, C), w = O(() => {
2377
2393
  if (i.hasNestedContent)
2378
2394
  return {
2379
- paddingLeft: `${_.value[se].clientWidth + Zt}px`,
2380
- "max-height": i.hasNestedContent && L.value ? L.value : 0
2395
+ paddingLeft: `${h.value[ie].clientWidth + jt}px`,
2396
+ "max-height": i.hasNestedContent && _.value ? _.value : 0
2381
2397
  };
2382
2398
  });
2383
2399
  ce(
2384
- () => b.value,
2400
+ () => y.value,
2385
2401
  () => {
2386
- let m = null;
2387
- !m && b.value && (m = tt(b.value, () => {
2388
- b.value && a();
2402
+ let v = null;
2403
+ !v && y.value && (v = tt(y.value, () => {
2404
+ y.value && a();
2389
2405
  }));
2390
2406
  }
2391
2407
  );
2392
2408
  const A = () => {
2393
- g.value = !g.value, a();
2394
- }, P = (m, h) => ({
2395
- "b-data-grid-row-container__row--disabled": i.isDataItemDisabled(m),
2409
+ C.value = !C.value, a();
2410
+ }, F = (v, L) => ({
2411
+ "b-data-grid-row-container__row--disabled": i.isDataItemDisabled(v),
2396
2412
  "b-data-grid-row-container__row--row-clicks-enabled": i.allowRowClicks,
2397
- "b-data-grid-row-container__row--highlighted": i.highlightedRows.includes(i.getDataItemId(m)) || i.selectedItems.includes(i.getDataItemId(m)),
2398
- "b-data-grid-row-container__row--hovered": i.hoveredRowIndex === h,
2399
- "b-data-grid-row-container__row--is-last-child": i.isRowLastChild && !g.value
2400
- }), j = (m) => ({
2401
- "b-data-grid-row-container__row-cell-set--frozen": m,
2402
- [`b-data-grid-row-container__row-cell-set--${pe.OVERFLOW_SHADOW_LEFT}`]: m && i.hasLeftOverflow,
2403
- "b-data-grid-row-container__row-cell-set--frozen-separator": m && i.showFrozenColumnsSeparator,
2404
- "b-data-grid-row-container__row-cell-set--unfrozen": !m,
2413
+ "b-data-grid-row-container__row--highlighted": i.highlightedRows.includes(i.getDataItemId(v)) || i.selectedItems.includes(i.getDataItemId(v)),
2414
+ "b-data-grid-row-container__row--hovered": i.hoveredRowIndex === L,
2415
+ "b-data-grid-row-container__row--is-last-child": i.isRowLastChild && !C.value
2416
+ }), x = (v) => ({
2417
+ "b-data-grid-row-container__row-cell-set--frozen": v,
2418
+ [`b-data-grid-row-container__row-cell-set--${Ee.OVERFLOW_SHADOW_LEFT}`]: v && i.hasLeftOverflow,
2419
+ "b-data-grid-row-container__row-cell-set--frozen-separator": v && i.showFrozenColumnsSeparator,
2420
+ "b-data-grid-row-container__row-cell-set--unfrozen": !v,
2405
2421
  "b-data-grid-row-container__row-cell-set--is-measuring": i.isMeasuringColumnWidths
2406
- }), ie = w(() => ({
2422
+ }), ae = O(() => ({
2407
2423
  "b-data-grid-row-container__row-nested-slot--is-last-child": i.isRowLastChild
2408
2424
  }));
2409
- return l({
2410
- gridcellRefs: _
2411
- }), (m, h) => (u(), E("div", vo, [
2412
- (u(), E("div", X(f.value, {
2425
+ return o({
2426
+ gridcellRefs: h
2427
+ }), (v, L) => (u(), E("div", Eo, [
2428
+ (u(), E("div", Y(c.value, {
2413
2429
  key: e.rowIndex,
2414
- class: ["b-data-grid-row-container__row", P(e.rowData, e.rowIndex)],
2430
+ class: ["b-data-grid-row-container__row", F(e.rowData, e.rowIndex)],
2415
2431
  role: "row",
2416
2432
  "aria-selected": n(e.rowData),
2417
- onClick: C
2433
+ onClick: g
2418
2434
  }), [
2419
- (u(!0), E(fe, null, me(e.columnSets, ({ columnSet: D, id: G, isFrozenColumns: J }, v) => (u(), E(fe, null, [
2435
+ (u(!0), E(fe, null, Ce(e.columnSets, ({ columnSet: D, id: H, isFrozenColumns: J }, m) => (u(), E(fe, null, [
2420
2436
  D != null && D.length ? (u(), E("div", {
2421
- key: `data-grid-rows-${G}`,
2422
- class: oe(["b-data-grid-row-container__cells", j(J)]),
2423
- "data-testid": `data-grid-${G}-rows`
2437
+ key: `data-grid-rows-${H}`,
2438
+ class: ne(["b-data-grid-row-container__cells", x(J)]),
2439
+ "data-testid": `data-grid-${H}-rows`
2424
2440
  }, [
2425
- (u(!0), E(fe, null, me(D, (H, U) => (u(), z(o(go), {
2426
- key: `cell-${H.field}`,
2441
+ (u(!0), E(fe, null, Ce(D, (B, k) => (u(), U(l(po), {
2442
+ key: `cell-${B.field}`,
2427
2443
  ref_for: !0,
2428
- ref: (M) => N(M, H.field),
2444
+ ref: (N) => S(N, B.field),
2429
2445
  class: "b-data-grid-row-container__cell",
2430
- column: H,
2431
- "column-set-index": v,
2432
- "col-index": U,
2446
+ column: B,
2447
+ "column-set-index": m,
2448
+ "col-index": k,
2433
2449
  "column-sets": e.columnSets,
2434
2450
  condensed: e.condensed,
2435
2451
  "dragging-columns": e.draggingColumns,
@@ -2438,95 +2454,95 @@ const Xt = {
2438
2454
  "hovered-over-column-state": e.hoveredOverColumnState,
2439
2455
  "is-data-item-disabled": e.isDataItemDisabled,
2440
2456
  "is-measuring-column-widths": e.isMeasuringColumnWidths,
2441
- "is-nested-content-expanded": g.value,
2457
+ "is-nested-content-expanded": C.value,
2442
2458
  "nested-content": e.hasNestedContent && e.shouldShowNestedContent(e.rowData),
2443
- "nested-rows-element-ids": [o(y)],
2459
+ "nested-rows-element-ids": [l(b)],
2444
2460
  "row-data": e.rowData,
2445
2461
  "row-index": e.rowIndex,
2446
2462
  selectable: e.selectable,
2447
2463
  "selected-items": e.selectedItems,
2448
- onCellHovered: h[0] || (h[0] = (M) => s("cell-hovered", M)),
2449
- onOnFrozenColumnsKeyPress: h[1] || (h[1] = (M) => s("on-frozen-columns-key-press", M)),
2450
- onSelectRow: h[2] || (h[2] = (M) => s("select-row", M)),
2464
+ onCellHovered: L[0] || (L[0] = (N) => s("cell-hovered", N)),
2465
+ onOnFrozenColumnsKeyPress: L[1] || (L[1] = (N) => s("on-frozen-columns-key-press", N)),
2466
+ onSelectRow: L[2] || (L[2] = (N) => s("select-row", N)),
2451
2467
  onNestedContentToggled: A
2452
- }, Re({ _: 2 }, [
2453
- me(o(t), (M, V) => ({
2468
+ }, $e({ _: 2 }, [
2469
+ Ce(l(t), (N, V) => ({
2454
2470
  name: V,
2455
- fn: W((B) => [
2456
- Ee(m.$slots, V, X({ ref_for: !0 }, B), void 0, !0)
2471
+ fn: G((P) => [
2472
+ be(v.$slots, V, Y({ ref_for: !0 }, P), void 0, !0)
2457
2473
  ])
2458
2474
  }))
2459
2475
  ]), 1032, ["column", "column-set-index", "col-index", "column-sets", "condensed", "dragging-columns", "dragging-events-for-row-cell", "get-data-item-id", "hovered-over-column-state", "is-data-item-disabled", "is-measuring-column-widths", "is-nested-content-expanded", "nested-content", "nested-rows-element-ids", "row-data", "row-index", "selectable", "selected-items"]))), 128))
2460
- ], 10, Co)) : k("", !0)
2476
+ ], 10, So)) : M("", !0)
2461
2477
  ], 64))), 256))
2462
- ], 16, mo)),
2463
- e.hasNestedContent && o(d)("nested-slot") ? (u(), z(zt, {
2478
+ ], 16, bo)),
2479
+ e.hasNestedContent && l(r)("nested-slot") ? (u(), U(Ft, {
2464
2480
  key: `${e.rowIndex}-nest-content`,
2465
2481
  name: "b-data-grid-row-container__animation--nested-content"
2466
2482
  }, {
2467
- default: W(() => [
2468
- g.value ? (u(), E("div", {
2483
+ default: G(() => [
2484
+ C.value ? (u(), E("div", {
2469
2485
  key: 0,
2470
- id: o(y),
2486
+ id: l(b),
2471
2487
  "aria-level": "2",
2472
2488
  "aria-posinset": "1",
2473
2489
  "aria-setsize": "1",
2474
- class: oe(["b-data-grid-row-container__row-nested-slot", ie.value]),
2490
+ class: ne(["b-data-grid-row-container__row-nested-slot", ae.value]),
2475
2491
  role: "row",
2476
2492
  tabindex: "-1",
2477
- style: Ae(S.value)
2493
+ style: Ie(w.value)
2478
2494
  }, [
2479
2495
  p("div", {
2480
2496
  ref_key: "nestedContentRef",
2481
- ref: b
2497
+ ref: y
2482
2498
  }, [
2483
- Ee(m.$slots, "nested-slot", { item: e.rowData }, void 0, !0)
2499
+ be(v.$slots, "nested-slot", { item: e.rowData }, void 0, !0)
2484
2500
  ], 512)
2485
- ], 14, ho)) : k("", !0)
2501
+ ], 14, yo)) : M("", !0)
2486
2502
  ]),
2487
2503
  _: 3
2488
- })) : k("", !0)
2504
+ })) : M("", !0)
2489
2505
  ]));
2490
2506
  }
2491
- }), po = /* @__PURE__ */ K(Lo, [["__scopeId", "data-v-fca272f7"]]);
2492
- let Mt = 0;
2493
- const Eo = {
2507
+ }), Io = /* @__PURE__ */ X(Oo, [["__scopeId", "data-v-fca272f7"]]);
2508
+ let kt = 0;
2509
+ const Ao = {
2494
2510
  beforeCreate() {
2495
- this.uuid = Mt.toString(), Mt += 1;
2511
+ this.uuid = kt.toString(), kt += 1;
2496
2512
  }
2497
- }, So = { key: 0 }, bo = ["clip-path"], yo = ["id"];
2498
- function wo(e, l, c, t, d, i) {
2499
- return u(), E("svg", X({ role: "img" }, e.$attrs, {
2513
+ }, Ro = { key: 0 }, To = ["clip-path"], No = ["id"];
2514
+ function $o(e, o, f, t, r, i) {
2515
+ return u(), E("svg", Y({ role: "img" }, e.$attrs, {
2500
2516
  class: "ui-assets-icons-16",
2501
2517
  xmlns: "http://www.w3.org/2000/svg",
2502
2518
  width: "16",
2503
2519
  height: "16",
2504
2520
  fill: "none"
2505
2521
  }), [
2506
- e.$attrs["svg-title"] ? (u(), E("title", So, x(e.$attrs["svg-title"]), 1)) : k("", !0),
2522
+ e.$attrs["svg-title"] ? (u(), E("title", Ro, j(e.$attrs["svg-title"]), 1)) : M("", !0),
2507
2523
  p("g", {
2508
2524
  "clip-path": "url(#uia-icons-16-warning_circle_fill__a" + e.uuid + ")"
2509
- }, l[0] || (l[0] = [
2525
+ }, o[0] || (o[0] = [
2510
2526
  p("path", {
2511
2527
  fill: "#00112C",
2512
2528
  d: "M0.25 8C0.25 3.71979 3.71979 0.25 8 0.25C12.2802 0.25 15.75 3.71979 15.75 8C15.75 12.2802 12.2802 15.75 8 15.75C3.71979 15.75 0.25 12.2802 0.25 8ZM8.75 8.75V4.25H7.25V8.75H8.75ZM8 11.5C8.41421 11.5 8.75 11.1642 8.75 10.75C8.75 10.3358 8.41421 10 8 10C7.58579 10 7.25 10.3358 7.25 10.75C7.25 11.1642 7.58579 11.5 8 11.5Z"
2513
2529
  }, null, -1)
2514
- ]), 8, bo),
2530
+ ]), 8, To),
2515
2531
  p("defs", null, [
2516
2532
  p("clipPath", {
2517
2533
  id: "uia-icons-16-warning_circle_fill__a" + e.uuid
2518
- }, l[1] || (l[1] = [
2534
+ }, o[1] || (o[1] = [
2519
2535
  p("rect", {
2520
2536
  width: "16",
2521
2537
  height: "16",
2522
2538
  fill: "#fff"
2523
2539
  }, null, -1)
2524
- ]), 8, yo)
2540
+ ]), 8, No)
2525
2541
  ])
2526
2542
  ], 16);
2527
2543
  }
2528
- const Oo = /* @__PURE__ */ K(Eo, [["render", wo]]), Io = ["aria-label"], Ao = {}, Ro = /* @__PURE__ */ Ce({
2529
- ...Ao,
2544
+ const Do = /* @__PURE__ */ X(Ao, [["render", $o]]), Mo = ["aria-label"], ko = {}, zo = /* @__PURE__ */ he({
2545
+ ...ko,
2530
2546
  __name: "data-grid-static-icon",
2531
2547
  props: {
2532
2548
  colored: { type: Boolean, default: !1 },
@@ -2534,54 +2550,54 @@ const Oo = /* @__PURE__ */ K(Eo, [["render", wo]]), Io = ["aria-label"], Ao = {}
2534
2550
  variant: { default: "no-value" }
2535
2551
  },
2536
2552
  setup(e) {
2537
- const l = e, c = w(() => {
2538
- switch (l.variant) {
2553
+ const o = e, f = O(() => {
2554
+ switch (o.variant) {
2539
2555
  case "checkmark":
2540
- return Un;
2556
+ return Hn;
2541
2557
  case "warning":
2542
- return zn;
2558
+ return Vn;
2543
2559
  case "error":
2544
- return Oo;
2560
+ return Do;
2545
2561
  case "cross":
2546
- return Ft;
2562
+ return Pt;
2547
2563
  case "no-value":
2548
- return ft;
2564
+ return gt;
2549
2565
  default:
2550
- return ft;
2566
+ return gt;
2551
2567
  }
2552
- }), t = w(() => ({
2553
- "b-data-grid-static-icon--colored": l.colored && l.variant !== "no-value"
2554
- })), d = w(() => `b-data-grid-static-icon__${l.variant}`), i = w(() => Pn.AUTO);
2555
- return (s, _) => Qe((u(), E("div", {
2568
+ }), t = O(() => ({
2569
+ "b-data-grid-static-icon--colored": o.colored && o.variant !== "no-value"
2570
+ })), r = O(() => `b-data-grid-static-icon__${o.variant}`), i = O(() => Zn.AUTO);
2571
+ return (s, h) => Qe((u(), E("div", {
2556
2572
  "aria-label": s.tooltipText,
2557
- class: oe(["b-data-grid-static-icon", t.value]),
2573
+ class: ne(["b-data-grid-static-icon", t.value]),
2558
2574
  tabindex: "0"
2559
2575
  }, [
2560
- (u(), z(Ie(c.value), {
2561
- class: oe(d.value),
2576
+ (u(), U(Ne(f.value), {
2577
+ class: ne(r.value),
2562
2578
  "svg-title": s.tooltipText
2563
2579
  }, null, 8, ["class", "svg-title"]))
2564
- ], 10, Io)), [
2565
- [o(Fn), s.tooltipText, i.value]
2580
+ ], 10, Mo)), [
2581
+ [l(xn), s.tooltipText, i.value]
2566
2582
  ]);
2567
2583
  }
2568
- }), Oi = /* @__PURE__ */ K(Ro, [["__scopeId", "data-v-3ee55e9a"]]), To = ["aria-rowcount", "aria-colcount", "aria-label", "role"], No = {
2584
+ }), Di = /* @__PURE__ */ X(zo, [["__scopeId", "data-v-3ee55e9a"]]), Uo = ["aria-rowcount", "aria-colcount", "aria-label", "role"], Fo = {
2569
2585
  key: 1,
2570
2586
  class: "b-data-grid__header"
2571
- }, $o = ["tabindex"], Do = ["tabindex", "aria-busy"], Mo = {
2587
+ }, Po = ["tabindex"], Bo = ["tabindex", "aria-busy"], Wo = {
2572
2588
  key: 0,
2573
2589
  class: "b-data-grid__loading"
2574
- }, ko = {
2590
+ }, Go = {
2575
2591
  key: 1,
2576
2592
  class: "b-data-grid__empty-state"
2577
- }, Uo = {
2578
- key: 4,
2593
+ }, Ho = {
2594
+ key: 5,
2579
2595
  class: "b-data-grid__footer"
2580
- }, zo = {
2596
+ }, Vo = {
2581
2597
  i18n: { messages: xe },
2582
2598
  name: "bento-data-grid"
2583
- }, Fo = /* @__PURE__ */ Ce({
2584
- ...zo,
2599
+ }, xo = /* @__PURE__ */ he({
2600
+ ...Vo,
2585
2601
  props: {
2586
2602
  /**
2587
2603
  * When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
@@ -2747,6 +2763,13 @@ const Oo = /* @__PURE__ */ K(Eo, [["render", wo]]), Io = ["aria-label"], Ao = {}
2747
2763
  type: Boolean,
2748
2764
  default: !1
2749
2765
  },
2766
+ /**
2767
+ * Sticks the horizontal scrollbar to the bottom of the screen if the data-grid is larger than the screen height.
2768
+ */
2769
+ stickyHorizontalScrollbar: {
2770
+ type: Boolean,
2771
+ default: !1
2772
+ },
2750
2773
  /**
2751
2774
  * Make pagination stick to the bottom of the page when the data-grid is bigger than the screen.
2752
2775
  * Because styles have to be applied to pagination container element, this has to be a data-grid prop (rather than a pagination prop).
@@ -2829,348 +2852,378 @@ const Oo = /* @__PURE__ */ K(Eo, [["render", wo]]), Io = ["aria-label"], Ao = {}
2829
2852
  $.SELECT_ALL_ACROSS_PAGES,
2830
2853
  $.SORT
2831
2854
  ],
2832
- setup(e, { expose: l, emit: c }) {
2833
- const t = e, d = et(), i = O(null), s = O(), _ = O({}), g = O(null), b = O(null), y = O(), f = O(null), {
2834
- allowColumnDragAndDrop: N,
2835
- columns: n,
2836
- columnPanel: C,
2837
- data: a,
2838
- lazyLoadType: L,
2839
- selectable: S,
2840
- selection: A,
2841
- loading: P,
2842
- selectableAcrossPages: j,
2843
- outline: ie,
2844
- hasNestedContent: m
2845
- } = Ke(t), h = O(-1), { t: D } = we({ messages: xe }), G = w(() => V.value.filter((I) => I.frozen).length), J = ct(
2846
- Zn,
2855
+ setup(e, { expose: o, emit: f }) {
2856
+ const t = e, r = et(), i = I(null), s = I(), h = I({}), C = I(null), y = I(null), b = I(), c = I(null), S = I(null), {
2857
+ allowColumnDragAndDrop: n,
2858
+ columns: g,
2859
+ columnPanel: a,
2860
+ data: _,
2861
+ lazyLoadType: w,
2862
+ loading: A,
2863
+ hasNestedContent: F,
2864
+ selectable: x,
2865
+ selection: ae,
2866
+ selectableAcrossPages: v,
2867
+ stickyPagination: L,
2868
+ outline: D,
2869
+ pagination: H
2870
+ } = Ke(t), J = I(-1), { t: m } = Oe({ messages: xe }), B = O(() => ye.value.filter((R) => R.frozen).length), k = ft(
2871
+ Qn,
2847
2872
  () => ({
2848
2873
  isDataGridTemplate: !1,
2849
- stickyTabs: O(!1),
2850
- tabsRef: O(null)
2874
+ stickyTabs: I(!1),
2875
+ tabsRef: I(null)
2851
2876
  })
2852
- ), { isDataGridTemplate: v, stickyTabs: H, tabsRef: U } = J(), M = w(() => t.fitContent || v ? 0 : null), {
2853
- columnDefs: V,
2854
- onColumnWidthOverride: B,
2855
- gridColumnWidthStyle: ae,
2856
- isMeasuringColumnWidths: be,
2857
- isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: Ze,
2858
- columns: Te
2859
- } = hl(n, a, i, _, g, {
2860
- hasColumnPanel: C,
2861
- hasSelectableColumn: S,
2862
- hasSelectableAcrossPages: j,
2863
- hasNestedContent: m,
2864
- allowColumnDragAndDrop: N,
2865
- isDataGridTemplate: v
2866
- }), r = c, R = (I, ...F) => {
2867
- (I === $.COLUMNS || I === $.UPDATE_COLUMNS) && ([Te.value] = F), r(I, ...F);
2868
- }, T = Lt(U, H), re = w(
2869
- () => t.stickyFilters ? `${T.value}px` : null
2870
- ), ee = Lt(b, Ut(t, "stickyFilters")), Ne = w(
2871
- () => `${ee.value + T.value}px`
2877
+ ), { isDataGridTemplate: N, stickyTabs: V, tabsRef: P } = k(), ge = O(() => t.fitContent || N ? 0 : null), {
2878
+ columnDefs: ye,
2879
+ onColumnWidthOverride: Ze,
2880
+ gridColumnWidthStyle: De,
2881
+ isMeasuringColumnWidths: d,
2882
+ isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: W,
2883
+ columns: T,
2884
+ totalWidthOfAllColumns: re
2885
+ } = yl(g, _, i, h, C, {
2886
+ hasColumnPanel: a,
2887
+ hasSelectableColumn: x,
2888
+ hasSelectableAcrossPages: v,
2889
+ hasNestedContent: F,
2890
+ allowColumnDragAndDrop: n,
2891
+ isDataGridTemplate: N
2892
+ }), te = f, Q = (R, ...z) => {
2893
+ (R === $.COLUMNS || R === $.UPDATE_COLUMNS) && ([T.value] = z), te(R, ...z);
2894
+ }, Ae = pt(P, V), Me = O(
2895
+ () => t.stickyFilters ? `${Ae.value}px` : null
2896
+ ), ke = pt(y, Ut(t, "stickyFilters")), ze = O(
2897
+ () => `${ke.value + Ae.value}px`
2872
2898
  ), {
2873
- sortedColumns: $e,
2874
- columnSets: ye,
2875
- isOnlyOneVisibleColumn: De,
2876
- onConfigSettingsUpdate: Me,
2877
- onConfigSettingsColumnsUpdate: ke,
2878
- onConfigSettingsColumnUpdate: Ue
2879
- } = yl(V, R), { hoveredOverColumn: Kt, hoveredOverColumnState: lt } = Ol(
2880
- ye,
2881
- S,
2882
- ie,
2883
- Ze
2884
- ), { draggingColumns: st, draggingEventsForColumns: Jt, draggingEventsForRowCell: Qt, onMoveColumnByOffset: en } = bl($e, N, R), { onAllRowSelect: ot, onRowSelect: tn, selectedItems: it, allItemsSelectedState: nn } = _l(
2885
- A,
2886
- R,
2887
- a,
2899
+ sortedColumns: Ue,
2900
+ columnSets: we,
2901
+ isOnlyOneVisibleColumn: Jt,
2902
+ onConfigSettingsUpdate: Qt,
2903
+ onConfigSettingsColumnsUpdate: en,
2904
+ onConfigSettingsColumnUpdate: tn
2905
+ } = Nl(ye, Q), { hoveredOverColumn: nn, hoveredOverColumnState: lt } = Dl(
2906
+ we,
2907
+ x,
2908
+ D,
2909
+ W
2910
+ ), { draggingColumns: st, draggingEventsForColumns: ln, draggingEventsForRowCell: sn, onMoveColumnByOffset: on } = Tl(Ue, n, Q), { onAllRowSelect: ot, onRowSelect: an, selectedItems: it, allItemsSelectedState: rn } = wl(
2911
+ ae,
2912
+ Q,
2913
+ _,
2888
2914
  t.getDataItemId,
2889
2915
  t.isDataItemDisabled
2890
- ), { navigationInput: at } = pl(g, n, S), { isLazyLoad: ze, isInfiniteScroll: ln, verticalScrollPosition: sn, emitLazyLoadEvent: on } = Sl(
2891
- L,
2892
- f,
2916
+ ), { navigationInput: at } = Il(C, g, x), { isLazyLoad: Re, isInfiniteScroll: dn, verticalScrollPosition: un, emitLazyLoadEvent: cn } = Rl(
2917
+ w,
2918
+ c,
2893
2919
  i,
2894
- P,
2895
- R
2896
- ), { updateScrollPosition: Fe, updateScrollPositionOnFrozenColumnsNavigation: an, hasLeftOverflow: Pe, hasRightOverflow: rn } = wl(i, s, sn), dn = () => {
2897
- y.value.isClearAllVisible ? y.value.clearAllFilters() : y.value.isResetAllVisible && y.value.resetAllFilters();
2898
- }, un = w(() => {
2899
- var I, F;
2920
+ A,
2921
+ Q
2922
+ ), {
2923
+ updateScrollPosition: Fe,
2924
+ updateScrollPositionOnFrozenColumnsNavigation: fn,
2925
+ syncVirtualScrollerWithBody: rt,
2926
+ hasLeftOverflow: Pe,
2927
+ hasRightOverflow: gn,
2928
+ horizontalScrollbarConditionalClasses: vn
2929
+ } = $l(i, s, un, S, {
2930
+ isLazyLoad: Re,
2931
+ pagination: H,
2932
+ stickyPagination: L
2933
+ }), mn = () => {
2934
+ b.value.isClearAllVisible ? b.value.clearAllFilters() : b.value.isResetAllVisible && b.value.resetAllFilters();
2935
+ }, Cn = O(() => {
2936
+ var R, z;
2900
2937
  return {
2901
2938
  ...t.emptyState,
2902
- variant: ((I = t.emptyState) == null ? void 0 : I.variant) === "embedded" || ((F = t.emptyState) == null ? void 0 : F.variant) === "basic" ? t.emptyState.variant : "basic"
2939
+ variant: ((R = t.emptyState) == null ? void 0 : R.variant) === "embedded" || ((z = t.emptyState) == null ? void 0 : z.variant) === "basic" ? t.emptyState.variant : "basic"
2903
2940
  };
2904
- }), cn = w(() => ({
2905
- [`b-data-grid--${pe.OUTLINE}`]: t.outline,
2906
- [`b-data-grid--${pe.SCROLL}`]: t.fitContent || ze.value,
2907
- [`b-data-grid--${pe.STICKY_FILTERS}`]: t.filters && t.stickyFilters,
2908
- [`b-data-grid--${pe.OVERFLOW_SHADOW_LEFT}`]: Pe.value && !G.value,
2909
- [`b-data-grid--${pe.OVERFLOW_SHADOW_RIGHT}`]: rn.value,
2910
- [`b-data-grid--${pe.NO_SPACING_TOP}`]: t.noSpacingTop
2911
- })), fn = w(() => ye.value.findIndex((I) => I.columnSet.length)), rt = w(() => !((t.selectable || t.hasNestedContent) && G.value === 1) || Pe.value), gn = w(() => ({
2912
- "b-data-grid__filters--sticky": !!t.stickyFilters || v
2913
- })), vn = w(() => {
2914
- var I, F, te, Z, ge, ve;
2941
+ }), hn = O(() => ({
2942
+ [`b-data-grid--${Ee.OUTLINE}`]: t.outline,
2943
+ [`b-data-grid--${Ee.SCROLL}`]: t.fitContent || Re.value,
2944
+ [`b-data-grid--${Ee.STICKY_FILTERS}`]: t.filters && t.stickyFilters,
2945
+ [`b-data-grid--${Ee.OVERFLOW_SHADOW_LEFT}`]: Pe.value && !B.value,
2946
+ [`b-data-grid--${Ee.OVERFLOW_SHADOW_RIGHT}`]: gn.value,
2947
+ [`b-data-grid--${Ee.NO_SPACING_TOP}`]: t.noSpacingTop
2948
+ })), _n = O(() => ({
2949
+ "b-data-grid__body--sticky-horizontal-scrollbar": t.stickyHorizontalScrollbar
2950
+ })), Ln = O(() => we.value.findIndex((R) => R.columnSet.length)), dt = O(() => !((t.selectable || t.hasNestedContent) && B.value === 1) || Pe.value), pn = O(() => ({
2951
+ "b-data-grid__filters--sticky": !!t.stickyFilters || N
2952
+ })), En = O(() => {
2953
+ var R, z, le, Z, ve, me;
2915
2954
  return {
2916
- "b-data-grid__pagination--padding-left-unset": ((te = (F = (I = t.columns) == null ? void 0 : I[0]) == null ? void 0 : F.padding) == null ? void 0 : te.left) === !1,
2917
- "b-data-grid__pagination--padding-right-unset": ((ve = (ge = (Z = t.columns) == null ? void 0 : Z[t.columns.length - 1]) == null ? void 0 : ge.padding) == null ? void 0 : ve.right) === !1,
2918
- "b-data-grid__pagination--sticky": !!t.stickyPagination || v
2955
+ "b-data-grid__pagination--padding-left-unset": ((le = (z = (R = t.columns) == null ? void 0 : R[0]) == null ? void 0 : z.padding) == null ? void 0 : le.left) === !1,
2956
+ "b-data-grid__pagination--padding-right-unset": ((me = (ve = (Z = t.columns) == null ? void 0 : Z[t.columns.length - 1]) == null ? void 0 : ve.padding) == null ? void 0 : me.right) === !1,
2957
+ "b-data-grid__pagination--sticky": !!t.stickyPagination || N
2919
2958
  };
2920
- }), mn = (I) => {
2921
- const F = I;
2922
- I !== null && (F != null && F.columnHeaderRefs) && Object.entries(F == null ? void 0 : F.columnHeaderRefs).forEach(([te, Z]) => {
2923
- _.value[te] = Z;
2959
+ }), bn = (R) => {
2960
+ const z = R;
2961
+ R !== null && (z != null && z.columnHeaderRefs) && Object.entries(z == null ? void 0 : z.columnHeaderRefs).forEach(([le, Z]) => {
2962
+ h.value[le] = Z;
2924
2963
  });
2925
- }, Cn = (I, F) => {
2926
- const te = I;
2927
- I !== null && (te != null && te.gridcellRefs) && Object.entries(te == null ? void 0 : te.gridcellRefs).map(([Z, ge]) => {
2928
- var ve;
2929
- ((ve = g.value) == null ? void 0 : ve[Z]) === void 0 && (g.value = { ...g.value, [Z]: [] }), g.value[Z][F] = ge;
2964
+ }, Sn = (R, z) => {
2965
+ const le = R;
2966
+ R !== null && (le != null && le.gridcellRefs) && Object.entries(le == null ? void 0 : le.gridcellRefs).map(([Z, ve]) => {
2967
+ var me;
2968
+ ((me = C.value) == null ? void 0 : me[Z]) === void 0 && (C.value = { ...C.value, [Z]: [] }), C.value[Z][z] = ve;
2930
2969
  });
2931
- }, hn = (I, F) => {
2932
- t.allowRowClicks && R($.ROW_CLICK, I, F);
2933
- }, _n = (I) => {
2934
- h.value = I;
2935
- }, Ln = w(() => !!t.selectableAcrossPages && !!t.pagination), pn = w(() => t.hasNestedContent ? "treegrid" : "grid"), dt = Hn({
2936
- label: d != null && d.header ? Gn(d)("header") : null,
2970
+ }, yn = (R, z) => {
2971
+ t.allowRowClicks && Q($.ROW_CLICK, R, z);
2972
+ }, wn = (R) => {
2973
+ J.value = R;
2974
+ }, On = O(() => !!t.selectableAcrossPages && !!t.pagination), In = O(() => t.hasNestedContent ? "treegrid" : "grid"), ut = Yn({
2975
+ label: r != null && r.header ? Xn(r)("header") : null,
2937
2976
  defaultFallback: "data grid"
2938
- }), ut = w(() => {
2939
- var I;
2940
- return ((I = it.value) == null ? void 0 : I.length) ?? 0;
2941
- }), En = w(() => t.bulkActions && ut.value > 0), Sn = (I) => R($.COLUMN_RESIZE, I), bn = (I) => {
2942
- R($.UPDATE_SORT_BY, I), R($.SORT, I);
2943
- }, yn = (I, F) => {
2944
- R($.NAVIGATE, I), R($.UPDATE_PAGINATION, {
2977
+ }), ct = O(() => {
2978
+ var R;
2979
+ return ((R = it.value) == null ? void 0 : R.length) ?? 0;
2980
+ }), An = O(() => t.bulkActions && ct.value > 0), Rn = (R) => Q($.COLUMN_RESIZE, R), Tn = (R) => {
2981
+ Q($.UPDATE_SORT_BY, R), Q($.SORT, R);
2982
+ }, Nn = (R, z) => {
2983
+ Q($.NAVIGATE, R), Q($.UPDATE_PAGINATION, {
2945
2984
  ...t.pagination,
2946
- size: F,
2947
- page: I
2985
+ size: z,
2986
+ page: R
2948
2987
  });
2949
- }, wn = (I) => {
2950
- R($.ITEMS_PAGE, I);
2951
- }, On = () => {
2952
- R($.FILTER_SEARCH_CLEAR);
2953
- }, In = (I) => {
2954
- R($.UPDATE_FILTER_SEARCH_TERM, I), R($.FILTER_SEARCH_INPUT, I);
2988
+ }, $n = (R) => {
2989
+ Q($.ITEMS_PAGE, R);
2990
+ }, Dn = () => {
2991
+ Q($.FILTER_SEARCH_CLEAR);
2992
+ }, Mn = (R) => {
2993
+ Q($.UPDATE_FILTER_SEARCH_TERM, R), Q($.FILTER_SEARCH_INPUT, R);
2955
2994
  };
2956
- return w(() => n.value.some((I) => I.mandatory)).value || Bt(
2995
+ return O(() => g.value.some((R) => R.mandatory)).value || Wt(
2957
2996
  "WARNING: At least one BentoDataGrid column should be set as mandatory to ensure data is always displayed correctly."
2958
- ), ct(xn, () => null)(t.tabTitle), l({ onEmptyStateClearResetButtonClick: dn }), (I, F) => {
2959
- var te;
2997
+ ), ft(Jn, () => null)(t.tabTitle), o({ onEmptyStateClearResetButtonClick: mn }), (R, z) => {
2998
+ var le;
2960
2999
  return u(), E("div", {
2961
- class: oe(["b-data-grid", cn.value]),
2962
- "aria-rowcount": o(a).length,
2963
- "aria-colcount": o(n).length,
2964
- "aria-label": o(dt),
2965
- role: pn.value
3000
+ class: ne(["b-data-grid", hn.value]),
3001
+ "aria-rowcount": l(_).length,
3002
+ "aria-colcount": l(g).length,
3003
+ "aria-label": l(ut),
3004
+ role: In.value
2966
3005
  }, [
2967
3006
  e.filters ? (u(), E("div", {
2968
3007
  key: 0,
2969
3008
  ref_key: "filtersRef",
2970
- ref: b,
2971
- class: oe(["b-data-grid__filters", gn.value]),
2972
- style: Ae({ top: re.value })
3009
+ ref: y,
3010
+ class: ne(["b-data-grid__filters", pn.value]),
3011
+ style: Ie({ top: Me.value })
2973
3012
  }, [
2974
- e.filters ? (u(), z(We, {
3013
+ e.filters ? (u(), U(We, {
2975
3014
  key: 0,
2976
3015
  ref_key: "filterBarRef",
2977
- ref: y,
3016
+ ref: b,
2978
3017
  config: e.filters,
2979
3018
  "filter-values": e.filterValues,
2980
3019
  "search-term": e.filterSearchTerm,
2981
- onSearchInput: In,
2982
- onSearchClear: On,
2983
- onInput: F[0] || (F[0] = (Z) => I.$emit(o($).UPDATE_FILTERS, Z)),
2984
- "onUpdate:filterValues": F[1] || (F[1] = (Z) => I.$emit(o($).UPDATE_FILTER_VALUES, Z))
2985
- }, null, 8, ["config", "filter-values", "search-term"])) : k("", !0)
2986
- ], 6)) : k("", !0),
2987
- I.$slots.header ? (u(), E("div", No, [
2988
- Ee(I.$slots, "header", {}, void 0, !0)
2989
- ])) : k("", !0),
3020
+ onSearchInput: Mn,
3021
+ onSearchClear: Dn,
3022
+ onInput: z[0] || (z[0] = (Z) => R.$emit(l($).UPDATE_FILTERS, Z)),
3023
+ "onUpdate:filterValues": z[1] || (z[1] = (Z) => R.$emit(l($).UPDATE_FILTER_VALUES, Z))
3024
+ }, null, 8, ["config", "filter-values", "search-term"])) : M("", !0)
3025
+ ], 6)) : M("", !0),
3026
+ R.$slots.header ? (u(), E("div", Fo, [
3027
+ be(R.$slots, "header", {}, void 0, !0)
3028
+ ])) : M("", !0),
2990
3029
  p("div", {
2991
3030
  class: "b-data-grid__column-headers",
2992
- style: Ae({ top: Ne.value })
3031
+ style: Ie({ top: ze.value })
2993
3032
  }, [
2994
- o(C) ? (u(), z(o(Vs), {
3033
+ l(a) ? (u(), U(l(Ks), {
2995
3034
  key: 0,
2996
3035
  class: "b-data-grid__config-settings",
2997
- columns: o(Te),
3036
+ columns: l(T),
2998
3037
  condensed: e.condensed,
2999
- onConfigSettings: o(Me),
3000
- "onUpdate:columns": o(ke)
3001
- }, null, 8, ["columns", "condensed", "onConfigSettings", "onUpdate:columns"])) : k("", !0),
3038
+ onConfigSettings: l(Qt),
3039
+ "onUpdate:columns": l(en)
3040
+ }, null, 8, ["columns", "condensed", "onConfigSettings", "onUpdate:columns"])) : M("", !0),
3002
3041
  p("div", {
3003
3042
  ref_key: "columnsRef",
3004
3043
  ref: s,
3005
3044
  role: "rowgroup",
3006
3045
  class: "b-data-grid__columns-row",
3007
- tabindex: M.value,
3008
- onScroll: F[4] || (F[4] = //@ts-ignore
3009
- (...Z) => o(Fe) && o(Fe)(...Z))
3046
+ tabindex: ge.value,
3047
+ onScroll: z[4] || (z[4] = //@ts-ignore
3048
+ (...Z) => l(Fe) && l(Fe)(...Z))
3010
3049
  }, [
3011
3050
  p("div", {
3012
- style: Ae(o(ae)),
3051
+ style: Ie(l(De)),
3013
3052
  class: "b-data-grid__columns",
3014
3053
  role: "row"
3015
3054
  }, [
3016
- (u(!0), E(fe, null, me(o(ye), ({ columnSet: Z, id: ge, isFrozenColumns: ve }, Be) => (u(), E(fe, null, [
3017
- Z != null && Z.length ? (u(), z(o(Ss), X({
3018
- key: `data-grid-columns-${ge}`,
3055
+ (u(!0), E(fe, null, Ce(l(we), ({ columnSet: Z, id: ve, isFrozenColumns: me }, Be) => (u(), E(fe, null, [
3056
+ Z != null && Z.length ? (u(), U(l(Rs), Y({
3057
+ key: `data-grid-columns-${ve}`,
3019
3058
  ref_for: !0,
3020
- ref: (he) => mn(he),
3059
+ ref: (_e) => bn(_e),
3021
3060
  columns: Z,
3022
3061
  "has-resizable-columns": e.hasResizableColumns,
3023
3062
  "sort-by": e.sortBy,
3024
- "all-items-selected-state": o(nn),
3025
- "is-frozen-columns": ve,
3026
- "show-frozen-columns-separator": rt.value,
3027
- "dragging-columns": o(st),
3028
- "has-draggable-columns": o(N),
3029
- "has-column-panel": o(C),
3030
- "has-left-overflow": o(Pe),
3031
- "has-first-column-panel-right-aligned": Be === fn.value,
3032
- "hovered-over-column-state": o(lt),
3033
- "is-measuring-column-widths": o(be),
3034
- "is-only-one-visible-column": o(De),
3035
- selectable: o(S),
3036
- "selectable-across-pages": Ln.value,
3063
+ "all-items-selected-state": l(rn),
3064
+ "is-frozen-columns": me,
3065
+ "show-frozen-columns-separator": dt.value,
3066
+ "dragging-columns": l(st),
3067
+ "has-draggable-columns": l(n),
3068
+ "has-column-panel": l(a),
3069
+ "has-left-overflow": l(Pe),
3070
+ "has-first-column-panel-right-aligned": Be === Ln.value,
3071
+ "hovered-over-column-state": l(lt),
3072
+ "is-measuring-column-widths": l(d),
3073
+ "is-only-one-visible-column": l(Jt),
3074
+ selectable: l(x),
3075
+ "selectable-across-pages": On.value,
3037
3076
  "truncate-column-headers": e.truncateColumnHeaders
3038
- }, Ge(o(Jt)), {
3039
- onColumnHover: F[2] || (F[2] = (he) => Kt.value = he),
3040
- onColumnMove: o(en),
3041
- onColumnUpdate: o(Ue),
3042
- onColumnResize: Sn,
3043
- onColumnResizing: o(B),
3044
- onSelectAllRows: o(ot),
3045
- onSelectAllAcrossPages: F[3] || (F[3] = (he) => R(o($).SELECT_ALL_ACROSS_PAGES)),
3046
- onSort: bn
3047
- }), Re({ _: 2 }, [
3048
- me(o(d), (he, Oe) => ({
3049
- name: Oe,
3050
- fn: W((je) => [
3051
- Ee(I.$slots, Oe, X({ ref_for: !0 }, je), void 0, !0)
3077
+ }, He(l(ln)), {
3078
+ onColumnHover: z[2] || (z[2] = (_e) => nn.value = _e),
3079
+ onColumnMove: l(on),
3080
+ onColumnUpdate: l(tn),
3081
+ onColumnResize: Rn,
3082
+ onColumnResizing: l(Ze),
3083
+ onSelectAllRows: l(ot),
3084
+ onSelectAllAcrossPages: z[3] || (z[3] = (_e) => Q(l($).SELECT_ALL_ACROSS_PAGES)),
3085
+ onSort: Tn
3086
+ }), $e({ _: 2 }, [
3087
+ Ce(l(r), (_e, Te) => ({
3088
+ name: Te,
3089
+ fn: G((je) => [
3090
+ be(R.$slots, Te, Y({ ref_for: !0 }, je), void 0, !0)
3052
3091
  ])
3053
3092
  }))
3054
- ]), 1040, ["columns", "has-resizable-columns", "sort-by", "all-items-selected-state", "is-frozen-columns", "show-frozen-columns-separator", "dragging-columns", "has-draggable-columns", "has-column-panel", "has-left-overflow", "has-first-column-panel-right-aligned", "hovered-over-column-state", "is-measuring-column-widths", "is-only-one-visible-column", "selectable", "selectable-across-pages", "truncate-column-headers", "onColumnMove", "onColumnUpdate", "onColumnResizing", "onSelectAllRows"])) : k("", !0)
3093
+ ]), 1040, ["columns", "has-resizable-columns", "sort-by", "all-items-selected-state", "is-frozen-columns", "show-frozen-columns-separator", "dragging-columns", "has-draggable-columns", "has-column-panel", "has-left-overflow", "has-first-column-panel-right-aligned", "hovered-over-column-state", "is-measuring-column-widths", "is-only-one-visible-column", "selectable", "selectable-across-pages", "truncate-column-headers", "onColumnMove", "onColumnUpdate", "onColumnResizing", "onSelectAllRows"])) : M("", !0)
3055
3094
  ], 64))), 256))
3056
3095
  ], 4)
3057
- ], 40, $o)
3096
+ ], 40, Po)
3058
3097
  ], 4),
3059
3098
  p("div", {
3060
3099
  ref_key: "body",
3061
3100
  ref: i,
3062
3101
  "data-testid": "data-grid-body",
3063
- class: "b-data-grid__body",
3064
- tabindex: o(P) ? "0" : "-1",
3065
- "aria-busy": o(P),
3102
+ class: ne(["b-data-grid__body", _n.value]),
3103
+ tabindex: l(A) ? "0" : "-1",
3104
+ "aria-busy": l(A),
3066
3105
  "aria-live": "polite",
3067
- onScroll: F[6] || (F[6] = //@ts-ignore
3068
- (...Z) => o(Fe) && o(Fe)(...Z))
3106
+ onScroll: z[6] || (z[6] = //@ts-ignore
3107
+ (...Z) => l(Fe) && l(Fe)(...Z))
3069
3108
  }, [
3070
- o(P) && !o(ze) ? (u(), E("div", Mo, [
3071
- q(o(Pt), {
3109
+ l(A) && !l(Re) ? (u(), E("div", Wo, [
3110
+ q(l(Bt), {
3072
3111
  class: "b-data-grid__loading-indicator",
3073
3112
  large: ""
3074
3113
  }),
3075
- q(o(Ve), {
3114
+ q(l(Ve), {
3076
3115
  el: "span",
3077
3116
  variant: "caption"
3078
3117
  }, {
3079
- default: W(() => [
3080
- le(x(o(D)("gettingYourData")), 1)
3118
+ default: G(() => [
3119
+ oe(j(l(m)("gettingYourData")), 1)
3081
3120
  ]),
3082
3121
  _: 1
3083
3122
  })
3084
- ])) : ((te = o(a)) == null ? void 0 : te.length) === 0 && e.emptyState ? (u(), E("div", ko, [
3085
- q(o(Vn), Mn(kn(un.value)), null, 16)
3123
+ ])) : ((le = l(_)) == null ? void 0 : le.length) === 0 && e.emptyState ? (u(), E("div", Go, [
3124
+ q(l(Kn), Wn(Gn(Cn.value)), null, 16)
3086
3125
  ])) : (u(), E("div", {
3087
3126
  key: 2,
3088
3127
  class: "b-data-grid__rows",
3089
3128
  role: "rowgroup",
3090
- onKeydown: F[5] || (F[5] = //@ts-ignore
3091
- (...Z) => o(at) && o(at)(...Z))
3129
+ onKeydown: z[5] || (z[5] = //@ts-ignore
3130
+ (...Z) => l(at) && l(at)(...Z))
3092
3131
  }, [
3093
- (u(!0), E(fe, null, me(o(a), (Z, ge) => {
3094
- var ve, Be;
3095
- return u(), z(o(po), {
3096
- key: ge,
3132
+ (u(!0), E(fe, null, Ce(l(_), (Z, ve) => {
3133
+ var me, Be;
3134
+ return u(), U(l(Io), {
3135
+ key: ve,
3097
3136
  ref_for: !0,
3098
- ref: (he) => Cn(he, ge),
3099
- style: Ae(o(ae)),
3137
+ ref: (_e) => Sn(_e, ve),
3138
+ style: Ie(l(De)),
3100
3139
  "allow-row-clicks": e.allowRowClicks,
3101
- "column-sets": o(ye),
3140
+ "column-sets": l(we),
3102
3141
  condensed: e.condensed,
3103
- "dragging-columns": o(st),
3104
- "dragging-events-for-row-cell": o(Qt),
3142
+ "dragging-columns": l(st),
3143
+ "dragging-events-for-row-cell": l(sn),
3105
3144
  "get-data-item-id": e.getDataItemId,
3106
- "has-nested-content": o(m),
3107
- "has-left-overflow": o(Pe),
3145
+ "has-nested-content": l(F),
3146
+ "has-left-overflow": l(Pe),
3108
3147
  "highlighted-rows": e.highlightedRows,
3109
- "hovered-row-index": h.value,
3110
- "hovered-over-column-state": o(lt),
3148
+ "hovered-row-index": J.value,
3149
+ "hovered-over-column-state": l(lt),
3111
3150
  "is-data-item-disabled": e.isDataItemDisabled,
3112
- "is-row-last-child": ge + 1 === ((ve = o(a)) == null ? void 0 : ve.length),
3113
- "is-measuring-column-widths": o(be),
3151
+ "is-row-last-child": ve + 1 === ((me = l(_)) == null ? void 0 : me.length),
3152
+ "is-measuring-column-widths": l(d),
3114
3153
  "row-data": Z,
3115
- "row-index": ge,
3116
- "row-set-size": (Be = o(a)) == null ? void 0 : Be.length,
3117
- "show-frozen-columns-separator": rt.value,
3154
+ "row-index": ve,
3155
+ "row-set-size": (Be = l(_)) == null ? void 0 : Be.length,
3156
+ "show-frozen-columns-separator": dt.value,
3118
3157
  "should-show-nested-content": e.shouldShowNestedContent,
3119
- selectable: o(S),
3120
- "selected-items": o(it),
3121
- onCellHovered: _n,
3122
- onRowClick: hn,
3123
- onOnFrozenColumnsKeyPress: o(an),
3124
- onSelectRow: o(tn)
3125
- }, Re({ _: 2 }, [
3126
- me(o(d), (he, Oe) => ({
3127
- name: Oe,
3128
- fn: W((je) => [
3129
- Ee(I.$slots, Oe, X({ ref_for: !0 }, je), void 0, !0)
3158
+ selectable: l(x),
3159
+ "selected-items": l(it),
3160
+ onCellHovered: wn,
3161
+ onRowClick: yn,
3162
+ onOnFrozenColumnsKeyPress: l(fn),
3163
+ onSelectRow: l(an)
3164
+ }, $e({ _: 2 }, [
3165
+ Ce(l(r), (_e, Te) => ({
3166
+ name: Te,
3167
+ fn: G((je) => [
3168
+ be(R.$slots, Te, Y({ ref_for: !0 }, je), void 0, !0)
3130
3169
  ])
3131
3170
  }))
3132
3171
  ]), 1032, ["style", "allow-row-clicks", "column-sets", "condensed", "dragging-columns", "dragging-events-for-row-cell", "get-data-item-id", "has-nested-content", "has-left-overflow", "highlighted-rows", "hovered-row-index", "hovered-over-column-state", "is-data-item-disabled", "is-row-last-child", "is-measuring-column-widths", "row-data", "row-index", "row-set-size", "show-frozen-columns-separator", "should-show-nested-content", "selectable", "selected-items", "onOnFrozenColumnsKeyPress", "onSelectRow"]);
3133
3172
  }), 128))
3134
3173
  ], 32))
3135
- ], 40, Do),
3136
- o(ze) ? (u(), z(o(qs), {
3174
+ ], 42, Bo),
3175
+ l(Re) ? (u(), U(l(to), {
3137
3176
  key: 2,
3138
- loading: o(P),
3139
- "is-infinite-scroll": o(ln),
3140
- "onUpdate:showMore": o(on)
3141
- }, null, 8, ["loading", "is-infinite-scroll", "onUpdate:showMore"])) : k("", !0),
3142
- e.pagination && !o(ze) ? (u(), E("div", {
3177
+ loading: l(A),
3178
+ "is-infinite-scroll": l(dn),
3179
+ "onUpdate:showMore": l(cn)
3180
+ }, null, 8, ["loading", "is-infinite-scroll", "onUpdate:showMore"])) : M("", !0),
3181
+ e.stickyHorizontalScrollbar ? (u(), E("div", {
3143
3182
  key: 3,
3183
+ ref_key: "virtualHorizontalScrollbarRef",
3184
+ ref: S,
3185
+ class: ne(["b-data-grid__horizontal-scrollbar", l(vn)]),
3186
+ "aria-hidden": "true",
3187
+ "data-testid": "sticky-horizontal-scrollbar",
3188
+ onScroll: z[7] || (z[7] = //@ts-ignore
3189
+ (...Z) => l(rt) && l(rt)(...Z))
3190
+ }, [
3191
+ p("div", {
3192
+ style: Ie({ width: `${l(re)}px`, height: "15px" })
3193
+ }, null, 4)
3194
+ ], 34)) : M("", !0),
3195
+ l(H) && !l(Re) ? (u(), E("div", {
3196
+ key: 4,
3144
3197
  "data-testid": "pagination-container",
3145
- class: oe(["b-data-grid__pagination", vn.value])
3198
+ class: ne(["b-data-grid__pagination", En.value])
3146
3199
  }, [
3147
- q(o(Wn), X(e.pagination, {
3148
- "aria-label": `${o(dt)} navigation`,
3149
- onNavigate: yn,
3150
- onItemsPage: wn
3200
+ q(l(qn), Y(l(H), {
3201
+ "aria-label": `${l(ut)} navigation`,
3202
+ onNavigate: Nn,
3203
+ onItemsPage: $n
3151
3204
  }), null, 16, ["aria-label"])
3152
- ], 2)) : k("", !0),
3153
- I.$slots.footer ? (u(), E("div", Uo, [
3154
- Ee(I.$slots, "footer", {}, void 0, !0)
3155
- ])) : k("", !0),
3156
- En.value ? (u(), z(o(Bn), {
3157
- key: 5,
3205
+ ], 2)) : M("", !0),
3206
+ R.$slots.footer ? (u(), E("div", Ho, [
3207
+ be(R.$slots, "footer", {}, void 0, !0)
3208
+ ])) : M("", !0),
3209
+ An.value ? (u(), U(l(jn), {
3210
+ key: 6,
3158
3211
  actions: e.bulkActions,
3159
- "item-counter": ut.value,
3160
- "extra-bottom-spacing": e.stickyPagination,
3161
- onClose: F[7] || (F[7] = (Z) => o(ot)(!1))
3162
- }, null, 8, ["actions", "item-counter", "extra-bottom-spacing"])) : k("", !0)
3163
- ], 10, To);
3212
+ "item-counter": ct.value,
3213
+ "extra-bottom-spacing": l(L),
3214
+ onClose: z[8] || (z[8] = (Z) => l(ot)(!1))
3215
+ }, null, 8, ["actions", "item-counter", "extra-bottom-spacing"])) : M("", !0)
3216
+ ], 10, Uo);
3164
3217
  };
3165
3218
  }
3166
- }), Ii = /* @__PURE__ */ K(Fo, [["__scopeId", "data-v-70b059e3"]]);
3219
+ }), Mi = /* @__PURE__ */ X(xo, [["__scopeId", "data-v-ab5fef4d"]]);
3167
3220
  export {
3168
3221
  Ye as B,
3169
- Oi as a,
3170
- pe as b,
3222
+ Di as a,
3223
+ Ee as b,
3171
3224
  Se as c,
3172
- Ii as d,
3225
+ Mi as d,
3173
3226
  $ as e,
3174
- He as f
3227
+ Ge as f
3175
3228
  };
3176
- //# sourceMappingURL=data-grid.DR-w_KKU.js.map
3229
+ //# sourceMappingURL=data-grid.BC2tOBxm.js.map