@adyen/bento-vue3 1.22.0 → 1.23.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 (199) hide show
  1. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.types.d.ts +9 -5
  2. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.vue.d.ts +15 -0
  3. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.types.d.ts +1 -0
  4. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +18 -0
  5. package/dist/@types/packages/vue2/src/components/data-grid/composables/index.d.ts +1 -0
  6. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.d.ts +1 -0
  7. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-hovering/index.d.ts +2 -0
  8. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-hovering/use-column-hovering.d.ts +53 -0
  9. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-hovering/use-column-hovering.types.d.ts +12 -0
  10. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-config-settings/use-config-settings.d.ts +2 -99
  11. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-config-settings/use-config.settings.types.d.ts +7 -0
  12. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-resizer.d.ts +47 -1
  13. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +48 -8
  14. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +48 -24
  15. package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +12 -2
  16. package/dist/@types/packages/vue2/src/components/menu/menu.types.d.ts +1 -1
  17. package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +1 -0
  18. package/dist/@types/packages/vue2/src/components/stepper/composables/index.d.ts +2 -0
  19. package/dist/@types/packages/vue2/src/components/stepper/composables/use-step-register/use-step-register.d.ts +11 -0
  20. package/dist/@types/packages/vue2/src/components/stepper/stepper.types.d.ts +1 -0
  21. package/dist/accordion.js +2 -2
  22. package/dist/action-bar.js +6 -6
  23. package/dist/alert.js +3 -3
  24. package/dist/assets/base-modal.css +1 -1
  25. package/dist/assets/button.css +1 -1
  26. package/dist/assets/dialog-page.css +1 -1
  27. package/dist/assets/index10.css +1 -1
  28. package/dist/assets/index11.css +1 -1
  29. package/dist/assets/index12.css +1 -1
  30. package/dist/assets/index13.css +1 -1
  31. package/dist/assets/index14.css +1 -1
  32. package/dist/assets/index15.css +1 -1
  33. package/dist/assets/index16.css +1 -1
  34. package/dist/assets/index17.css +1 -1
  35. package/dist/assets/index18.css +1 -1
  36. package/dist/assets/index19.css +1 -1
  37. package/dist/assets/index2.css +1 -1
  38. package/dist/assets/index20.css +1 -1
  39. package/dist/assets/index21.css +1 -1
  40. package/dist/assets/index22.css +1 -1
  41. package/dist/assets/index23.css +1 -1
  42. package/dist/assets/index24.css +1 -1
  43. package/dist/assets/index25.css +1 -1
  44. package/dist/assets/index26.css +1 -1
  45. package/dist/assets/index27.css +1 -1
  46. package/dist/assets/index28.css +1 -1
  47. package/dist/assets/index29.css +1 -1
  48. package/dist/assets/index3.css +1 -1
  49. package/dist/assets/index30.css +1 -1
  50. package/dist/assets/index31.css +1 -1
  51. package/dist/assets/index32.css +1 -1
  52. package/dist/assets/index33.css +1 -1
  53. package/dist/assets/index34.css +1 -1
  54. package/dist/assets/index35.css +1 -1
  55. package/dist/assets/index36.css +1 -1
  56. package/dist/assets/index37.css +1 -1
  57. package/dist/assets/index39.css +1 -1
  58. package/dist/assets/index4.css +1 -1
  59. package/dist/assets/index40.css +1 -1
  60. package/dist/assets/index41.css +1 -1
  61. package/dist/assets/index42.css +1 -1
  62. package/dist/assets/index43.css +1 -1
  63. package/dist/assets/index44.css +1 -1
  64. package/dist/assets/index45.css +1 -1
  65. package/dist/assets/index46.css +1 -1
  66. package/dist/assets/index47.css +1 -1
  67. package/dist/assets/index48.css +1 -1
  68. package/dist/assets/index5.css +1 -1
  69. package/dist/assets/index6.css +1 -1
  70. package/dist/assets/index7.css +1 -1
  71. package/dist/assets/index8.css +1 -1
  72. package/dist/assets/index9.css +1 -1
  73. package/dist/avatar-image.js +1 -1
  74. package/dist/button.js +5 -5
  75. package/dist/card.js +3 -3
  76. package/dist/checkbox.js +5 -5
  77. package/dist/chunks/{base-button.86be8130.js → base-button.13df4e44.js} +2 -2
  78. package/dist/chunks/{base-button.86be8130.js.map → base-button.13df4e44.js.map} +1 -1
  79. package/dist/chunks/{base-modal.01333c00.js → base-modal.30bce990.js} +6 -6
  80. package/dist/chunks/{base-modal.01333c00.js.map → base-modal.30bce990.js.map} +1 -1
  81. package/dist/chunks/{button-actions-with-menu.df95130d.js → button-actions-with-menu.a5d2bb13.js} +4 -4
  82. package/dist/chunks/{button-actions-with-menu.df95130d.js.map → button-actions-with-menu.a5d2bb13.js.map} +1 -1
  83. package/dist/chunks/{button-actions.bcc9dcc7.js → button-actions.ec3c649c.js} +3 -3
  84. package/dist/chunks/{button-actions.bcc9dcc7.js.map → button-actions.ec3c649c.js.map} +1 -1
  85. package/dist/chunks/{button.a378e7ab.js → button.e965bf53.js} +3 -3
  86. package/dist/chunks/{button.a378e7ab.js.map → button.e965bf53.js.map} +1 -1
  87. package/dist/chunks/{calendar.891a60a9.js → calendar.52fe4032.js} +4 -4
  88. package/dist/chunks/{calendar.891a60a9.js.map → calendar.52fe4032.js.map} +1 -1
  89. package/dist/chunks/{checkbox.9753e9d6.js → checkbox.1442f41a.js} +3 -3
  90. package/dist/chunks/{checkbox.9753e9d6.js.map → checkbox.1442f41a.js.map} +1 -1
  91. package/dist/chunks/{controls-group.84981503.js → controls-group.1f29b602.js} +3 -3
  92. package/dist/chunks/{controls-group.84981503.js.map → controls-group.1f29b602.js.map} +1 -1
  93. package/dist/chunks/{copy.86eb5d86.js → copy.d052f444.js} +4 -4
  94. package/dist/chunks/{copy.86eb5d86.js.map → copy.d052f444.js.map} +1 -1
  95. package/dist/chunks/{dialog-page.ce02932b.js → dialog-page.d505c5ec.js} +3 -3
  96. package/dist/chunks/{dialog-page.ce02932b.js.map → dialog-page.d505c5ec.js.map} +1 -1
  97. package/dist/chunks/{dropdown-default-textbox.91ad6585.js → dropdown-default-textbox.e0ca5afb.js} +136 -116
  98. package/dist/chunks/dropdown-default-textbox.e0ca5afb.js.map +1 -0
  99. package/dist/chunks/{dropdown.6c010045.js → dropdown.257691c0.js} +14 -15
  100. package/dist/chunks/{dropdown.6c010045.js.map → dropdown.257691c0.js.map} +1 -1
  101. package/dist/chunks/{error-message.498811e4.js → error-message.56247bcc.js} +2 -2
  102. package/dist/chunks/{error-message.498811e4.js.map → error-message.56247bcc.js.map} +1 -1
  103. package/dist/chunks/{fixed-scroller.51b63488.js → fixed-scroller.47546775.js} +2 -2
  104. package/dist/chunks/{fixed-scroller.51b63488.js.map → fixed-scroller.47546775.js.map} +1 -1
  105. package/dist/chunks/{footer-actions.573307ed.js → footer-actions.3c2dbf43.js} +4 -4
  106. package/dist/chunks/{footer-actions.573307ed.js.map → footer-actions.3c2dbf43.js.map} +1 -1
  107. package/dist/chunks/{index.fb0e9e1a.js → index.08d813e2.js} +6 -6
  108. package/dist/chunks/{index.fb0e9e1a.js.map → index.08d813e2.js.map} +1 -1
  109. package/dist/chunks/{index.19dab2ef.js → index.0e01e0b2.js} +3 -3
  110. package/dist/chunks/{index.19dab2ef.js.map → index.0e01e0b2.js.map} +1 -1
  111. package/dist/chunks/{index.c4f8460d.js → index.10c69f39.js} +187 -187
  112. package/dist/chunks/index.10c69f39.js.map +1 -0
  113. package/dist/chunks/{index.037ae52f.js → index.44f2aca7.js} +2 -2
  114. package/dist/chunks/{index.037ae52f.js.map → index.44f2aca7.js.map} +1 -1
  115. package/dist/chunks/{index.9c423f37.js → index.4fb57ba0.js} +6 -6
  116. package/dist/chunks/{index.9c423f37.js.map → index.4fb57ba0.js.map} +1 -1
  117. package/dist/chunks/{index.da4cb1b8.js → index.56c13d2c.js} +16 -17
  118. package/dist/chunks/{index.da4cb1b8.js.map → index.56c13d2c.js.map} +1 -1
  119. package/dist/chunks/{index.d6a0cf32.js → index.824101bb.js} +2 -2
  120. package/dist/chunks/{index.d6a0cf32.js.map → index.824101bb.js.map} +1 -1
  121. package/dist/chunks/{index.6e7e9ac6.js → index.99c63a74.js} +2 -2
  122. package/dist/chunks/{index.6e7e9ac6.js.map → index.99c63a74.js.map} +1 -1
  123. package/dist/chunks/{index.e2793c20.js → index.9aaed799.js} +3 -3
  124. package/dist/chunks/{index.e2793c20.js.map → index.9aaed799.js.map} +1 -1
  125. package/dist/chunks/{index.030fb327.js → index.bf4a116b.js} +20 -19
  126. package/dist/chunks/index.bf4a116b.js.map +1 -0
  127. package/dist/chunks/{index.9d65b72a.js → index.f800b267.js} +2 -2
  128. package/dist/chunks/{index.9d65b72a.js.map → index.f800b267.js.map} +1 -1
  129. package/dist/chunks/{listbox-option-tag.abedc9e0.js → listbox-option-tag.4de1659c.js} +3 -3
  130. package/dist/chunks/{listbox-option-tag.abedc9e0.js.map → listbox-option-tag.4de1659c.js.map} +1 -1
  131. package/dist/chunks/{listbox.8ce17729.js → listbox.eb436d06.js} +5 -5
  132. package/dist/chunks/{listbox.8ce17729.js.map → listbox.eb436d06.js.map} +1 -1
  133. package/dist/chunks/{loading-button.5f58f1cf.js → loading-button.6e15f27f.js} +2 -2
  134. package/dist/chunks/{loading-button.5f58f1cf.js.map → loading-button.6e15f27f.js.map} +1 -1
  135. package/dist/chunks/{payment-method.313f2635.js → payment-method.df1b62db.js} +2 -2
  136. package/dist/chunks/{payment-method.313f2635.js.map → payment-method.df1b62db.js.map} +1 -1
  137. package/dist/chunks/{tooltip.a70c9e69.js → tooltip.066fd8f7.js} +3 -3
  138. package/dist/chunks/{tooltip.a70c9e69.js.map → tooltip.066fd8f7.js.map} +1 -1
  139. package/dist/chunks/use-click-outside.941d1600.js +14 -0
  140. package/dist/chunks/use-click-outside.941d1600.js.map +1 -0
  141. package/dist/code-snippet.js +7 -7
  142. package/dist/code-snippet.js.map +1 -1
  143. package/dist/country.js +2 -2
  144. package/dist/currency.js +1 -1
  145. package/dist/data-grid-template.js +1 -1
  146. package/dist/data-grid.js +1219 -1127
  147. package/dist/data-grid.js.map +1 -1
  148. package/dist/date-picker.js +21 -22
  149. package/dist/date-picker.js.map +1 -1
  150. package/dist/date-range-picker.js +2 -2
  151. package/dist/date.js +1 -1
  152. package/dist/divider.js +1 -1
  153. package/dist/dropdown.js +7 -7
  154. package/dist/empty-state.js +3 -3
  155. package/dist/filter-bar.js +586 -593
  156. package/dist/filter-bar.js.map +1 -1
  157. package/dist/focus-trap.js +1 -1
  158. package/dist/form-layout.js +2 -2
  159. package/dist/header.js +4 -4
  160. package/dist/index.js +19 -19
  161. package/dist/info-icon.js +3 -3
  162. package/dist/input-field.js +4 -4
  163. package/dist/internal.js +8 -8
  164. package/dist/link.js +1 -1
  165. package/dist/loading-indicator.js +1 -1
  166. package/dist/menu.js +1 -1
  167. package/dist/modal-fullscreen.js +6 -6
  168. package/dist/modal.js +6 -6
  169. package/dist/pagination.js +4 -4
  170. package/dist/payment-method.js +1 -1
  171. package/dist/popover.js +1 -1
  172. package/dist/popper-container.js +1 -1
  173. package/dist/radio-group.js +4 -4
  174. package/dist/search-bar.js +2 -2
  175. package/dist/secondary-nav.js +2 -2
  176. package/dist/segmented-control.js +3 -3
  177. package/dist/selection-card.js +4 -4
  178. package/dist/sidepanel.js +6 -6
  179. package/dist/status.js +2 -2
  180. package/dist/stepper.js +152 -141
  181. package/dist/stepper.js.map +1 -1
  182. package/dist/structured-list.js +1 -1
  183. package/dist/summary-grid.js +3 -3
  184. package/dist/tabs.js +3 -3
  185. package/dist/tag.js +2 -2
  186. package/dist/textarea.js +4 -4
  187. package/dist/timeline.js +7 -7
  188. package/dist/toast.js +3 -3
  189. package/dist/toggle.js +2 -2
  190. package/dist/tutorial.js +6 -6
  191. package/dist/typography.js +1 -1
  192. package/dist/web-types.json +1 -1
  193. package/package.json +2 -2
  194. package/dist/chunks/directive.0408e565.js +0 -23
  195. package/dist/chunks/directive.0408e565.js.map +0 -1
  196. package/dist/chunks/dropdown-default-textbox.91ad6585.js.map +0 -1
  197. package/dist/chunks/index.030fb327.js.map +0 -1
  198. package/dist/chunks/index.c4f8460d.js.map +0 -1
  199. /package/dist/@types/packages/vue2/src/components/stepper/composables/{useKeyboardNavigation/useKeyboardNavigation.d.ts → use-keyboard-navigation/use-keyboard-navigation.d.ts} +0 -0
package/dist/data-grid.js CHANGED
@@ -1,238 +1,252 @@
1
- import { ref as w, reactive as We, toRefs as Ve, computed as R, watchEffect as gn, watch as ie, onMounted as He, nextTick as ee, onUnmounted as Ct, onBeforeUpdate as fn, openBlock as r, createElementBlock as b, mergeProps as j, toDisplayString as G, createCommentVNode as D, createElementVNode as L, defineComponent as ue, normalizeClass as se, unref as n, Fragment as Q, renderList as le, toHandlers as Ne, createVNode as W, withCtx as k, renderSlot as ge, createBlock as U, withModifiers as _n, resolveComponent as X, createTextVNode as Z, withDirectives as vt, vShow as mn, toRef as ht, resolveDirective as Cn, Transition as vn, createSlots as Te, resolveDynamicComponent as Ae, pushScopeId as hn, popScopeId as pn, useSlots as Ln, inject as Je, normalizeStyle as Re, normalizeProps as ke, guardReactiveProps as ze } from "vue";
2
- import { BentoActionBar as yn } from "./action-bar.js";
3
- import { BentoPagination as Sn } from "./pagination.js";
4
- import { BentoLoadingIndicator as pt } from "./loading-indicator.js";
5
- import { B as De, p as Lt } from "./chunks/index.6e7e9ac6.js";
6
- import { u as bn } from "./chunks/aria-label.ac9651a5.js";
7
- import { g as En } from "./chunks/get-slot-text.bead058f.js";
8
- import { u as Pe } from "./chunks/i18n.f7e6533e.js";
9
- import { BentoEmptyState as In } from "./empty-state.js";
10
- import { BentoFilterBar as we } from "./filter-bar.js";
11
- import { E as $n } from "./chunks/tabs.keys.358742f2.js";
12
- import { D as An } from "./chunks/data-grid-template.keys.a819a991.js";
13
- import { o as yt } from "./chunks/resize.a041304d.js";
14
- import { K as oe } from "./chunks/tooltip.a70c9e69.js";
15
- import { B as Qe, a as Rn } from "./chunks/index.fb0e9e1a.js";
16
- import { a as St } from "./chunks/button.a378e7ab.js";
17
- import { BentoToggle as bt } from "./toggle.js";
18
- import { BentoSearchBar as wn } from "./search-bar.js";
19
- import { u as On } from "./chunks/dropdown.6c010045.js";
20
- import { B as Tn } from "./chunks/directive.0408e565.js";
21
- import { _ as x } from "./chunks/_plugin-vue_export-helper.dad06003.js";
22
- import { C as Nn } from "./chunks/cross.26509efc.js";
23
- import { S as Dn } from "./chunks/search.ade93bda.js";
24
- import { g as Pn } from "./chunks/unique-id.a2a2b458.js";
25
- import { BentoToggleButton as Et } from "./button.js";
26
- import { B as It } from "./chunks/checkbox.9753e9d6.js";
27
- import { BentoInfoIcon as Un } from "./info-icon.js";
28
- import { B as Fe, O as Mn } from "./chunks/index.c4f8460d.js";
29
- import { A as kn } from "./chunks/dialog-page.ce02932b.js";
30
- import { l as et } from "./chunks/events.58c00e6d.js";
31
- import { E as tt } from "./chunks/index.030fb327.js";
32
- import { C as zn } from "./chunks/copy.86eb5d86.js";
33
- import { B as nt, a as st } from "./chunks/loading-button.5f58f1cf.js";
34
- import "./assets/index24.css";
35
- var Ge = /* @__PURE__ */ ((e) => (e.WRAP = "wrap", e.ELLIPSIS = "ellipsis", e))(Ge || {}), ce = /* @__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))(ce || {}), re = /* @__PURE__ */ ((e) => (e.ASCENDING = "asc", e.DESCENDING = "desc", e))(re || {}), $ = /* @__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))($ || {}), Oe = /* @__PURE__ */ ((e) => (e.ASCENDING = "ascending", e.DESCENDING = "descending", e.NONE = "none", e))(Oe || {}), V = /* @__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_DRAG_START = "column-dragstart", e.COLUMN_DRAG_ENTER = "column-dragenter", e.COLUMN_DRAG_END = "column-dragend", e.COLUMN_DROP = "column-drop", e))(V || {});
36
- const Fn = (e, l) => {
37
- const o = w(!1), t = w(void 0), _ = e.value.reduce((f, C) => (f[C.field] = null, f), {}), s = We(_), E = Ve(s);
38
- let p = 0, m = "";
39
- const I = R(
40
- () => Object.fromEntries(e.value.map(({ field: f, width: C, minWidth: y }) => [f, { width: C, minWidth: y }]))
1
+ import { ref as $, reactive as Xe, toRefs as Ke, computed as A, watchEffect as vn, watch as ie, onMounted as Je, nextTick as le, onUnmounted as Ot, onBeforeUpdate as Cn, openBlock as u, createElementBlock as b, mergeProps as j, toDisplayString as V, createCommentVNode as U, createElementVNode as y, defineComponent as me, normalizeClass as oe, unref as n, Fragment as ne, renderList as re, toHandlers as Ge, createVNode as W, withCtx as P, renderSlot as Ce, createBlock as M, withModifiers as hn, resolveComponent as Q, createTextVNode as Z, withDirectives as It, vShow as pn, toRef as Rt, resolveDirective as Ln, Transition as yn, createSlots as Fe, resolveDynamicComponent as Me, pushScopeId as Sn, popScopeId as bn, useSlots as En, inject as at, normalizeStyle as Pe, normalizeProps as Ze, guardReactiveProps as je } from "vue";
2
+ import { BentoActionBar as On } from "./action-bar.js";
3
+ import { BentoPagination as In } from "./pagination.js";
4
+ import { BentoLoadingIndicator as $t } from "./loading-indicator.js";
5
+ import { B as Ve, p as At } from "./chunks/index.99c63a74.js";
6
+ import { u as Rn } from "./chunks/aria-label.ac9651a5.js";
7
+ import { g as $n } from "./chunks/get-slot-text.bead058f.js";
8
+ import { u as We } from "./chunks/i18n.f7e6533e.js";
9
+ import { BentoEmptyState as An } from "./empty-state.js";
10
+ import { BentoFilterBar as ke } from "./filter-bar.js";
11
+ import { E as Tn } from "./chunks/tabs.keys.358742f2.js";
12
+ import { D as wn } from "./chunks/data-grid-template.keys.a819a991.js";
13
+ import { o as Tt } from "./chunks/resize.a041304d.js";
14
+ import { K as ue } from "./chunks/tooltip.066fd8f7.js";
15
+ import { B as rt, a as Nn } from "./chunks/index.08d813e2.js";
16
+ import { a as wt } from "./chunks/button.e965bf53.js";
17
+ import { BentoToggle as Nt } from "./toggle.js";
18
+ import { BentoSearchBar as Dn } from "./search-bar.js";
19
+ import { u as Un } from "./chunks/dropdown.257691c0.js";
20
+ import { B as Mn } from "./chunks/dropdown-default-textbox.e0ca5afb.js";
21
+ import { _ as B } from "./chunks/_plugin-vue_export-helper.dad06003.js";
22
+ import { C as Pn } from "./chunks/cross.26509efc.js";
23
+ import { S as kn } from "./chunks/search.ade93bda.js";
24
+ import { g as zn } from "./chunks/unique-id.a2a2b458.js";
25
+ import { BentoToggleButton as Dt } from "./button.js";
26
+ import { B as Ut } from "./chunks/checkbox.1442f41a.js";
27
+ import { BentoInfoIcon as Fn } from "./info-icon.js";
28
+ import { B as qe, O as Gn } from "./chunks/index.10c69f39.js";
29
+ import { A as Vn } from "./chunks/dialog-page.d505c5ec.js";
30
+ import { l as dt } from "./chunks/events.58c00e6d.js";
31
+ import { E as ut } from "./chunks/index.bf4a116b.js";
32
+ import { C as Wn } from "./chunks/copy.d052f444.js";
33
+ import { B as ct, a as gt } from "./chunks/loading-button.6e15f27f.js";
34
+ import "./assets/index34.css";
35
+ var Ye = /* @__PURE__ */ ((e) => (e.WRAP = "wrap", e.ELLIPSIS = "ellipsis", e))(Ye || {}), _e = /* @__PURE__ */ ((e) => (e.OUTLINE = "outline", e.SCROLL = "scroll", e.STICKY_FILTERS = "sticky-filters", e.OVERFLOW_SHADOW_LEFT = "overflow-shadow-left", e.OVERFLOW_SHADOW_RIGHT = "overflow-shadow-right", e))(_e || {}), ge = /* @__PURE__ */ ((e) => (e.ASCENDING = "asc", e.DESCENDING = "desc", e))(ge || {}), I = /* @__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))(I || {}), ze = /* @__PURE__ */ ((e) => (e.ASCENDING = "ascending", e.DESCENDING = "descending", e.NONE = "none", e))(ze || {}), H = /* @__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))(H || {});
36
+ const Hn = (e, a) => {
37
+ const o = $(null), t = $(!1), r = $(void 0), i = e.value.reduce((_, h) => (_[h.field] = null, _), {}), v = Xe(i), p = Ke(v);
38
+ let m = 0, L = "";
39
+ const f = A(
40
+ () => Object.fromEntries(e.value.map(({ field: _, width: h, minWidth: R }) => [_, { width: h, minWidth: R }]))
41
41
  );
42
- gn(() => t.value = I.value);
43
- let g = null, u = null;
44
- const c = (f) => {
45
- const C = f.clientX - p, y = m, v = t.value[y].width + C;
46
- t.value[y].width = v > I.value[y].minWidth ? v : I.value[y].minWidth, l(V.COLUMN_RESIZING, t.value), p = f.clientX;
47
- }, a = () => {
48
- o.value = !1, g == null || g(), u == null || u(), m && l(V.COLUMN_RESIZE, {
49
- field: m,
50
- width: t.value[m].width
51
- }), g = null, u = null, m = "", p = null;
52
- };
53
- return { resizeData: t, allColumnRefs: E, startResize: (f, C, y) => {
54
- if (y.preventDefault(), f) {
55
- if (o.value = !0, y.buttons !== 1) {
56
- a();
42
+ vn(() => r.value = f.value);
43
+ let g = null, c = null;
44
+ const d = (_) => {
45
+ const h = _.clientX - m, R = L, E = r.value[R].width + h;
46
+ r.value[R].width = E > f.value[R].minWidth ? E : f.value[R].minWidth, a(H.COLUMN_RESIZING, r.value), m = _.clientX;
47
+ }, s = () => {
48
+ t.value = !1, g == null || g(), c == null || c(), L && a(H.COLUMN_RESIZE, {
49
+ field: L,
50
+ width: r.value[L].width
51
+ }), g = null, c = null, L = "", m = null;
52
+ }, C = (_, h, R) => {
53
+ if (R.preventDefault(), _) {
54
+ if (t.value = !0, R.buttons !== 1) {
55
+ s();
57
56
  return;
58
57
  }
59
- m = C, p = y.clientX, g = et(window, "mousemove", c), u = et(window, "mouseup", a);
58
+ L = h, m = R.clientX, g = dt(window, "mousemove", d), c = dt(window, "mouseup", s);
59
+ }
60
+ };
61
+ return ie(
62
+ () => t.value,
63
+ (_, h) => {
64
+ !_ && h && (a(H.COLUMN_HOVER, o.value), o.value = null);
60
65
  }
61
- }, isResizing: o };
62
- }, Gn = 100, lt = 50, Ce = "b-select", Wn = 50, Vn = 56, Hn = (e, l, o) => {
63
- const t = {}, _ = [], s = (p) => {
66
+ ), {
67
+ resizeData: r,
68
+ allColumnRefs: p,
69
+ startResize: C,
70
+ isResizing: t,
71
+ columnHoverEventToEmitAfterResizing: o
72
+ };
73
+ }, Bn = 100, ft = 50, he = "b-select", xn = 50, Zn = 56, jn = (e, a, o) => {
74
+ const t = {}, r = [], i = (p) => {
64
75
  const m = t[p];
65
- m && m.frozen !== !0 && (t[p].frozen = !0, _.push(p));
76
+ m && m.frozen !== !0 && (t[p].frozen = !0, r.push(p));
66
77
  };
67
- function E() {
68
- if (_.length === o.length)
78
+ function v() {
79
+ if (r.length === o.length)
69
80
  return;
70
81
  const p = { min: {}, max: {} };
71
- let m = e, I = l, g = 0;
72
- _.forEach((u) => {
73
- m -= t[u].computedWidth, I -= t[u].flex;
82
+ let m = e, L = a, f = 0;
83
+ r.forEach((g) => {
84
+ m -= t[g].computedWidth, L -= t[g].flex;
74
85
  });
75
- for (let u = 0, c = o.length; u < c; u += 1) {
76
- const a = o[u];
77
- if (t[a.field] && t[a.field].frozen === !0)
86
+ for (let g = 0, c = o.length; g < c; g += 1) {
87
+ const d = o[g];
88
+ if (t[d.field] && t[d.field].frozen === !0)
78
89
  continue;
79
- let f = m / I * a.flex;
80
- f < a.minWidth && (g += a.minWidth - f, f = a.minWidth, p.min[a.field] = !0), t[a.field] = {
90
+ let C = m / L * d.flex;
91
+ C < d.minWidth && (f += d.minWidth - C, C = d.minWidth, p.min[d.field] = !0), t[d.field] = {
81
92
  frozen: !1,
82
- computedWidth: f,
83
- flex: a.flex
93
+ computedWidth: C,
94
+ flex: d.flex
84
95
  };
85
96
  }
86
- g > 0 ? Object.keys(p.min).forEach((u) => {
87
- s(u);
88
- }) : o.forEach(({ field: u }) => {
89
- s(u);
90
- }), E();
97
+ f > 0 ? Object.keys(p.min).forEach((g) => {
98
+ i(g);
99
+ }) : o.forEach(({ field: g }) => {
100
+ i(g);
101
+ }), v();
91
102
  }
92
- return E(), t;
93
- }, Bn = (e, l, o, t, _) => {
94
- const s = w(e.value), E = w(l), p = w(o), m = w(t), I = w(!1);
103
+ return v(), t;
104
+ }, qn = (e, a, o, t, r) => {
105
+ const i = $(e.value), v = $(a), p = $(o), m = $(t), L = $(!1);
95
106
  ie(
96
107
  () => e.value,
97
108
  () => {
98
- var v;
99
- s.value = ((v = s.value) == null ? void 0 : v.length) === 0 ? e.value : e.value.sort((P, M) => {
100
- const A = s.value.findIndex((F) => F.field === P.field), T = s.value.findIndex((F) => F.field === M.field);
101
- return A === -1 ? 1 : T === -1 ? -1 : A - T;
109
+ var E;
110
+ i.value = ((E = i.value) == null ? void 0 : E.length) === 0 ? e.value : e.value.sort((w, O) => {
111
+ const D = i.value.findIndex((ee) => ee.field === w.field), k = i.value.findIndex((ee) => ee.field === O.field);
112
+ return D === -1 ? 1 : k === -1 ? -1 : D - k;
102
113
  });
103
114
  }
104
115
  );
105
- const g = w();
106
- let u = null;
107
- He(() => {
108
- ee(() => {
109
- p.value && (g.value = p.value.getBoundingClientRect().width);
110
- const v = ie(
116
+ const f = $();
117
+ let g = null;
118
+ Je(() => {
119
+ le(() => {
120
+ p.value && (f.value = p.value.getBoundingClientRect().width);
121
+ const E = ie(
111
122
  p,
112
123
  () => {
113
- p.value && (ee(() => v()), u = yt(p.value, ({ width: P }) => {
114
- g.value = P;
124
+ p.value && (le(() => E()), g = Tt(p.value, ({ width: w }) => {
125
+ f.value = w;
115
126
  }));
116
127
  },
117
128
  { immediate: !0 }
118
129
  );
119
130
  });
120
- }), Ct(() => {
121
- u == null || u.disconnect();
122
- }), fn(() => {
123
- var v;
124
- m.value && ((v = Object.keys(m.value)) == null ? void 0 : v.length) > 0 && Object.keys(m.value).forEach((M) => {
125
- m.value[M] = [];
131
+ }), Ot(() => {
132
+ g == null || g.disconnect();
133
+ }), Cn(() => {
134
+ var E;
135
+ m.value && ((E = Object.keys(m.value)) == null ? void 0 : E.length) > 0 && Object.keys(m.value).forEach((O) => {
136
+ m.value[O] = [];
126
137
  });
127
138
  });
128
- const c = R(() => {
129
- var d;
130
- const v = [];
131
- let P = 0, M = 0;
132
- const A = {};
133
- let T = s.value.filter((O) => O.visible !== !1);
134
- const F = s.value.filter((O) => O.visible === !1);
135
- _ != null && _.hasSelectableColumn.value && (T = [
139
+ const c = A(() => {
140
+ var ve;
141
+ const E = [];
142
+ let w = 0, O = 0;
143
+ const D = {};
144
+ let k = i.value.filter((x) => x.visible !== !1);
145
+ const ee = i.value.filter((x) => x.visible === !1);
146
+ r != null && r.hasSelectableColumn.value && (k = [
136
147
  {
137
- field: Ce,
148
+ field: he,
138
149
  label: "",
139
- width: (d = _ == null ? void 0 : _.hasSelectableAcrossPages) != null && d.value ? Vn : Wn,
150
+ width: (ve = r == null ? void 0 : r.hasSelectableAcrossPages) != null && ve.value ? Zn : xn,
140
151
  frozen: !0,
141
152
  padding: { left: !1, right: !1 }
142
153
  },
143
- ...T
144
- ]), T.forEach((O) => {
145
- const h = { ...O };
146
- let B;
147
- h.flex && h.flex > 0 ? (P += h.flex, B = 0, v.push(h)) : B = Math.max(
148
- (h == null ? void 0 : h.width) ?? Gn,
149
- (h == null ? void 0 : h.minWidth) ?? lt
150
- ), M += B, h.width = B, h.minWidth = (h == null ? void 0 : h.minWidth) ?? lt, A[h.field] = h;
154
+ ...k
155
+ ]), k.forEach((x) => {
156
+ const F = { ...x };
157
+ let ae;
158
+ F.flex && F.flex > 0 ? (w += F.flex, ae = 0, E.push(F)) : ae = Math.max(
159
+ (F == null ? void 0 : F.width) ?? Bn,
160
+ (F == null ? void 0 : F.minWidth) ?? ft
161
+ ), O += ae, F.width = ae, F.minWidth = (F == null ? void 0 : F.minWidth) ?? ft, D[F.field] = F;
151
162
  });
152
- const te = Math.max(g.value - M, 0);
153
- if (P > 0 && g.value > 0) {
154
- const O = Hn(te, P, v);
155
- Object.keys(O).forEach((h) => {
156
- A[h].width = O[h].computedWidth;
163
+ const se = Math.max(f.value - O, 0);
164
+ if (w > 0 && f.value > 0) {
165
+ const x = jn(se, w, E);
166
+ Object.keys(x).forEach((F) => {
167
+ D[F].width = x[F].computedWidth;
157
168
  });
158
169
  }
159
- return F.forEach((O) => {
160
- const h = { ...O };
161
- A[h.field] = h;
162
- }), Object.values(A);
163
- }), a = w(void 0), i = (v) => {
164
- a.value = { ...a.value, ...v };
170
+ return ee.forEach((x) => {
171
+ const F = { ...x };
172
+ D[F.field] = F;
173
+ }), Object.values(D);
174
+ }), d = $(void 0), s = (E) => {
175
+ d.value = { ...d.value, ...E };
165
176
  };
166
- s.value.some((v) => v == null ? void 0 : v.autoWidth) && ie(
167
- [() => s.value, () => E.value],
177
+ i.value.some((E) => E == null ? void 0 : E.autoWidth) && ie(
178
+ [() => i.value, () => v.value],
168
179
  async () => {
169
- I.value = !0, await ee(), await ee(), s == null || s.value.filter((v) => v == null ? void 0 : v.autoWidth).forEach(({ field: v, minWidth: P }) => {
170
- var A, T;
171
- const M = (T = (A = m.value) == null ? void 0 : A[v]) == null ? void 0 : T.reduce(
172
- (F, te) => Math.max(F, te != null && te.offsetWidth ? te.offsetWidth + 4 : 0),
180
+ L.value = !0, await le(), await le(), i == null || i.value.filter((E) => E == null ? void 0 : E.autoWidth).forEach(({ field: E, minWidth: w }) => {
181
+ var D, k;
182
+ const O = (k = (D = m.value) == null ? void 0 : D[E]) == null ? void 0 : k.reduce(
183
+ (ee, se) => Math.max(ee, se != null && se.offsetWidth ? se.offsetWidth + 4 : 0),
173
184
  0
174
185
  );
175
- (P === void 0 || M > P) && i({
176
- [v]: {
177
- width: M
186
+ (w === void 0 || O > w) && s({
187
+ [E]: {
188
+ width: O
178
189
  }
179
190
  });
180
- }), I.value = !1;
191
+ }), L.value = !1;
181
192
  },
182
193
  { immediate: !0 }
183
194
  );
184
- const f = R(
185
- () => c.value.map((v) => {
186
- var P, M;
195
+ const C = A(
196
+ () => c.value.map((E) => {
197
+ var w, O;
187
198
  return {
188
- ...v,
199
+ ...E,
189
200
  // Override column width with resized ones
190
- width: ((M = (P = a.value) == null ? void 0 : P[v.field]) == null ? void 0 : M.width) ?? v.width
201
+ width: ((O = (w = d.value) == null ? void 0 : w[E.field]) == null ? void 0 : O.width) ?? E.width
191
202
  };
192
203
  })
193
- ), C = R(
204
+ ), _ = A(
194
205
  () => {
195
- var v;
196
- return (v = f.value) == null ? void 0 : v.filter(({ visible: P }) => P !== !1).reduce((P, M) => M.width + P, 0);
206
+ var E;
207
+ return (E = C.value) == null ? void 0 : E.filter(({ visible: w }) => w !== !1).reduce((w, O) => O.width + w, 0);
197
208
  }
198
- ), y = R(() => ({
199
- width: g.value > C.value ? "100%" : "fit-content"
209
+ ), h = A(
210
+ () => f.value <= _.value
211
+ ), R = A(() => ({
212
+ width: f.value > _.value ? "100%" : "fit-content"
200
213
  }));
201
214
  return {
202
- columnDefs: f,
203
- gridColumnWidthStyle: y,
204
- onColumnWidthOverride: i,
205
- isMeasuringColumnWidths: I,
206
- columns: s
215
+ columnDefs: C,
216
+ gridColumnWidthStyle: R,
217
+ onColumnWidthOverride: s,
218
+ isMeasuringColumnWidths: L,
219
+ isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: h,
220
+ columns: i
207
221
  };
208
- }, xn = (e, l, o, t, _) => {
209
- const s = w(e.value ?? []), E = We({
222
+ }, Yn = (e, a, o, t, r) => {
223
+ const i = $(e.value ?? []), v = Xe({
210
224
  allItemsSelected: !1,
211
225
  isIndeterminate: !1
212
226
  }), p = () => {
213
- l($.SELECT, s.value), l($.UPDATE_SELECTION, s.value);
214
- }, m = (u) => {
215
- var a, i, f, C, y;
216
- if (s.value = u, ((a = o.value) == null ? void 0 : a.length) > 0 && ((i = o.value) == null ? void 0 : i.filter((v) => !_(v)).every((v) => s.value.includes(t(v))))) {
217
- E.allItemsSelected = !0;
218
- const v = ((f = o.value) == null ? void 0 : f.length) > 0 && o.value.every((P) => s.value.includes(t(P)));
219
- E.isIndeterminate = !v;
227
+ a(I.SELECT, i.value), a(I.UPDATE_SELECTION, i.value);
228
+ }, m = (g) => {
229
+ var d, s, C, _, h;
230
+ if (i.value = g, ((d = o.value) == null ? void 0 : d.length) > 0 && ((s = o.value) == null ? void 0 : s.filter((R) => !r(R)).every((R) => i.value.includes(t(R))))) {
231
+ v.allItemsSelected = !0;
232
+ const R = ((C = o.value) == null ? void 0 : C.length) > 0 && o.value.every((E) => i.value.includes(t(E)));
233
+ v.isIndeterminate = !R;
220
234
  } else
221
- E.allItemsSelected = !1, E.isIndeterminate = ((C = s.value) == null ? void 0 : C.length) > 0 && ((y = o.value) == null ? void 0 : y.length) > 0 && o.value.some((v) => s.value.includes(t(v)));
222
- }, I = (u) => {
223
- ee(() => {
224
- var c, a, i;
225
- if (E.allItemsSelected = u, u) {
226
- s.value = (a = (c = o.value) == null ? void 0 : c.filter((C) => !_(C))) == null ? void 0 : a.map((C) => t(C));
227
- const f = ((i = o.value) == null ? void 0 : i.length) > 0 && o.value.every((C) => s.value.includes(t(C)));
228
- E.isIndeterminate = s.value.length > 0 && !f;
235
+ v.allItemsSelected = !1, v.isIndeterminate = ((_ = i.value) == null ? void 0 : _.length) > 0 && ((h = o.value) == null ? void 0 : h.length) > 0 && o.value.some((R) => i.value.includes(t(R)));
236
+ }, L = (g) => {
237
+ le(() => {
238
+ var c, d, s;
239
+ if (v.allItemsSelected = g, g) {
240
+ i.value = (d = (c = o.value) == null ? void 0 : c.filter((_) => !r(_))) == null ? void 0 : d.map((_) => t(_));
241
+ const C = ((s = o.value) == null ? void 0 : s.length) > 0 && o.value.every((_) => i.value.includes(t(_)));
242
+ v.isIndeterminate = i.value.length > 0 && !C;
229
243
  } else
230
- s.value = [], E.isIndeterminate = !1;
244
+ i.value = [], v.isIndeterminate = !1;
231
245
  p();
232
246
  });
233
- }, g = (u) => {
234
- ee(() => {
235
- m(u), p();
247
+ }, f = (g) => {
248
+ le(() => {
249
+ m(g), p();
236
250
  });
237
251
  };
238
252
  return ie(
@@ -244,220 +258,220 @@ const Fn = (e, l) => {
244
258
  ), ie(
245
259
  () => o.value,
246
260
  () => {
247
- m(s.value);
261
+ m(i.value);
248
262
  }
249
- ), { onAllRowSelect: I, onRowSelect: g, allItemsSelectedState: E, selectedItems: s };
250
- }, Zn = (e, l, o) => ({ isSorting: (E) => e.value.some((p) => p.field === E), getSortingDirection: (E) => {
263
+ ), { onAllRowSelect: L, onRowSelect: f, allItemsSelectedState: v, selectedItems: i };
264
+ }, Xn = (e, a, o) => ({ isSorting: (v) => e.value.some((p) => p.field === v), getSortingDirection: (v) => {
251
265
  var p;
252
- return (p = e.value.find((m) => m.field === E)) == null ? void 0 : p.direction;
253
- }, sortByColumnField: (E) => {
254
- var I;
255
- if (!l.value.some((g) => g.field === E && g.sortable))
266
+ return (p = e.value.find((m) => m.field === v)) == null ? void 0 : p.direction;
267
+ }, sortByColumnField: (v) => {
268
+ var L;
269
+ if (!a.value.some((f) => f.field === v && f.sortable))
256
270
  return;
257
271
  const m = [{
258
- field: E,
259
- direction: ((I = e.value.find((g) => g.field === E)) == null ? void 0 : I.direction) === re.ASCENDING ? re.DESCENDING : re.ASCENDING
272
+ field: v,
273
+ direction: ((L = e.value.find((f) => f.field === v)) == null ? void 0 : L.direction) === ge.ASCENDING ? ge.DESCENDING : ge.ASCENDING
260
274
  }];
261
- o(V.SORT, m);
275
+ o(H.SORT, m);
262
276
  } });
263
- var q = ((e) => (e[e.ARROW_DOWN = oe.ARROW_DOWN] = "ARROW_DOWN", e[e.ARROW_UP = oe.ARROW_UP] = "ARROW_UP", e[e.ARROW_LEFT = oe.ARROW_LEFT] = "ARROW_LEFT", e[e.ARROW_RIGHT = oe.ARROW_RIGHT] = "ARROW_RIGHT", e[e.PAGE_UP = oe.PAGE_UP] = "PAGE_UP", e[e.PAGE_DOWN = oe.PAGE_DOWN] = "PAGE_DOWN", e[e.END = oe.END] = "END", e[e.HOME = oe.HOME] = "HOME", e))(q || {});
264
- const jn = (e, l, o) => {
265
- const t = R(() => {
266
- const a = l.value.filter(({ visible: i }) => i !== !1);
267
- return o.value ? a.length + 1 : a.length;
268
- }), _ = R(
269
- () => [...Object.values(e.value)].flat(1).sort((a, i) => {
270
- const f = Number(a.getAttribute("data-cellindex")), C = Number(i.getAttribute("data-cellindex"));
271
- return f > C ? 1 : C > f ? -1 : 0;
277
+ var q = ((e) => (e[e.ARROW_DOWN = ue.ARROW_DOWN] = "ARROW_DOWN", e[e.ARROW_UP = ue.ARROW_UP] = "ARROW_UP", e[e.ARROW_LEFT = ue.ARROW_LEFT] = "ARROW_LEFT", e[e.ARROW_RIGHT = ue.ARROW_RIGHT] = "ARROW_RIGHT", e[e.PAGE_UP = ue.PAGE_UP] = "PAGE_UP", e[e.PAGE_DOWN = ue.PAGE_DOWN] = "PAGE_DOWN", e[e.END = ue.END] = "END", e[e.HOME = ue.HOME] = "HOME", e))(q || {});
278
+ const Kn = (e, a, o) => {
279
+ const t = A(() => {
280
+ const d = a.value.filter(({ visible: s }) => s !== !1);
281
+ return o.value ? d.length + 1 : d.length;
282
+ }), r = A(
283
+ () => [...Object.values(e.value)].flat(1).sort((d, s) => {
284
+ const C = Number(d.getAttribute("data-cellindex")), _ = Number(s.getAttribute("data-cellindex"));
285
+ return C > _ ? 1 : _ > C ? -1 : 0;
272
286
  })
273
- ), s = (a) => Math.floor(a / t.value), E = (a, i, f) => {
274
- const C = _.value.length - 1, y = t.value - 1, v = s(a), P = a - t.value * v;
287
+ ), i = (d) => Math.floor(d / t.value), v = (d, s, C) => {
288
+ const _ = r.value.length - 1, h = t.value - 1, R = i(d), E = d - t.value * R;
275
289
  return {
276
- [q.PAGE_UP]: P,
277
- [q.PAGE_DOWN]: C - y + P,
278
- [q.END]: f ? C : t.value * v + y,
279
- [q.HOME]: f ? 0 : t.value * v
280
- }[i];
281
- }, p = (a, i) => {
282
- const C = {
290
+ [q.PAGE_UP]: E,
291
+ [q.PAGE_DOWN]: _ - h + E,
292
+ [q.END]: C ? _ : t.value * R + h,
293
+ [q.HOME]: C ? 0 : t.value * R
294
+ }[s];
295
+ }, p = (d, s) => {
296
+ const _ = {
283
297
  [q.ARROW_DOWN]: t.value,
284
298
  [q.ARROW_UP]: -t.value,
285
299
  [q.ARROW_LEFT]: -1,
286
300
  [q.ARROW_RIGHT]: 1
287
- }[i], y = a + C;
288
- return y < 0 || y >= _.value.length ? a : y;
289
- }, m = (a) => [
301
+ }[s], h = d + _;
302
+ return h < 0 || h >= r.value.length ? d : h;
303
+ }, m = (d) => [
290
304
  q.PAGE_UP,
291
305
  q.PAGE_DOWN,
292
306
  q.END,
293
307
  q.HOME
294
- ].includes(a), I = (a, i, f) => {
295
- const C = _.value.indexOf(a);
296
- return m(i) ? E(C, i, f) : p(C, i);
297
- }, g = (a, i, f) => {
298
- if (!_.value.includes(a))
308
+ ].includes(d), L = (d, s, C) => {
309
+ const _ = r.value.indexOf(d);
310
+ return m(s) ? v(_, s, C) : p(_, s);
311
+ }, f = (d, s, C) => {
312
+ if (!r.value.includes(d))
299
313
  return;
300
- const C = I(a, i, f);
301
- _.value[C].focus();
302
- }, u = (a) => a in q;
314
+ const _ = L(d, s, C);
315
+ r.value[_].focus();
316
+ }, g = (d) => d in q;
303
317
  return {
304
- isNavigationKeyCode: u,
305
- focusOnNextGridcell: g,
306
- navigationInput: (a) => {
307
- const { ctrlKey: i, keyCode: f, target: C } = a;
308
- Object.values(e.value).flat(1).includes(C) && u(f) && g(C, f, i);
318
+ isNavigationKeyCode: g,
319
+ focusOnNextGridcell: f,
320
+ navigationInput: (d) => {
321
+ const { ctrlKey: s, keyCode: C, target: _ } = d;
322
+ Object.values(e.value).flat(1).includes(_) && g(C) && f(_, C, s);
309
323
  }
310
324
  };
311
- }, qn = 90, Yn = (e, l, o, t, _) => {
312
- const s = w(e), E = w(l), p = w(o), m = w(t), I = R(() => s.value !== "none"), g = R(() => s.value === "automatic"), u = () => {
313
- _($.UPDATE_SHOW_MORE);
325
+ }, Jn = 90, Qn = (e, a, o, t, r) => {
326
+ const i = $(e), v = $(a), p = $(o), m = $(t), L = A(() => i.value !== "none"), f = A(() => i.value === "automatic"), g = () => {
327
+ r(I.UPDATE_SHOW_MORE);
314
328
  };
315
329
  return ie(
316
- () => E.value,
330
+ () => v.value,
317
331
  () => {
318
- g.value && p.value.offsetHeight / E.value * 100 > qn && !m.value && u();
332
+ f.value && p.value.offsetHeight / v.value * 100 > Jn && !m.value && g();
319
333
  }
320
- ), { isLazyLoad: I, isInfiniteScroll: g, verticalScrollPosition: E, emitLazyLoadEvent: u };
321
- }, Xn = (e, l, o) => {
322
- const t = w(e), _ = w(l), s = We({
334
+ ), { isLazyLoad: L, isInfiniteScroll: f, verticalScrollPosition: v, emitLazyLoadEvent: g };
335
+ }, el = (e, a, o) => {
336
+ const t = $(e), r = $(a), i = Xe({
323
337
  dragging: null,
324
338
  dragToLeft: null,
325
339
  target: null
326
- }), E = (a, i = 0) => {
327
- const f = t.value.findIndex((v) => v.field === a.field), C = f + i;
328
- if (C < 0 || C > t.value.length - 1)
340
+ }), v = (d, s = 0) => {
341
+ const C = t.value.findIndex((R) => R.field === d.field), _ = C + s;
342
+ if (_ < 0 || _ > t.value.length - 1)
329
343
  return;
330
- const y = [...t.value];
331
- y.splice(C, 0, y.splice(f, 1)[0]), o($.COLUMNS, y), o($.UPDATE_COLUMNS, y);
332
- }, p = (a, i) => {
333
- s.dragging = a, i.dataTransfer.setData("text", ""), i.dataTransfer.dropEffect = "move";
334
- }, m = (a, i) => {
335
- s.target = a;
336
- const f = i.currentTarget.getBoundingClientRect(), C = f.left + f.width / 2, y = i.clientX ?? 0;
337
- s.dragToLeft = y <= C;
338
- }, I = (a) => {
339
- var i, f;
340
- if (((i = s.dragging) == null ? void 0 : i.field) !== a.field) {
341
- const C = t.value.findIndex((T) => {
342
- var F;
343
- return T.field === ((F = s.dragging) == null ? void 0 : F.field);
344
- }), y = t.value.findIndex((T) => T.field === a.field), v = s.dragToLeft ? y : y + 1, P = v > C ? v - 1 : v;
345
- let M = [...t.value];
346
- M.splice(
347
- P === -1 ? 0 : P,
344
+ const h = [...t.value];
345
+ h.splice(_, 0, h.splice(C, 1)[0]), o(I.COLUMNS, h), o(I.UPDATE_COLUMNS, h);
346
+ }, p = (d, s) => {
347
+ i.dragging = d, s.dataTransfer.setData("text", ""), s.dataTransfer.dropEffect = "move";
348
+ }, m = (d, s) => {
349
+ i.target = d;
350
+ const C = s.currentTarget.getBoundingClientRect(), _ = C.left + C.width / 2, h = s.clientX ?? 0;
351
+ i.dragToLeft = h <= _;
352
+ }, L = (d) => {
353
+ var s, C;
354
+ if (((s = i.dragging) == null ? void 0 : s.field) !== d.field) {
355
+ const _ = t.value.findIndex((D) => {
356
+ var k;
357
+ return D.field === ((k = i.dragging) == null ? void 0 : k.field);
358
+ }), h = t.value.findIndex((D) => D.field === d.field), R = i.dragToLeft ? h : h + 1, E = R > _ ? R - 1 : R;
359
+ let w = [...t.value];
360
+ w.splice(
361
+ E === -1 ? 0 : E,
348
362
  0,
349
- M.splice(C, 1)[0]
363
+ w.splice(_, 1)[0]
350
364
  );
351
- const A = t.value.findIndex((T) => !(T != null && T.frozen));
352
- ((f = s.dragging) == null ? void 0 : f.frozen) !== a.frozen && v !== A && (M = M.map(
353
- (T) => {
354
- var F;
355
- return ((F = s.dragging) == null ? void 0 : F.field) === T.field ? { ...T, frozen: !!(a != null && a.frozen) } : T;
365
+ const O = t.value.findIndex((D) => !(D != null && D.frozen));
366
+ ((C = i.dragging) == null ? void 0 : C.frozen) !== d.frozen && R !== O && (w = w.map(
367
+ (D) => {
368
+ var k;
369
+ return ((k = i.dragging) == null ? void 0 : k.field) === D.field ? { ...D, frozen: !!(d != null && d.frozen) } : D;
356
370
  }
357
- )), o($.COLUMNS, M), o($.UPDATE_COLUMNS, M);
371
+ )), o(I.COLUMNS, w), o(I.UPDATE_COLUMNS, w);
358
372
  }
359
- s.dragging = null, s.target = null;
360
- }, g = () => {
361
- s.dragging = null, s.dragToLeft = null, s.target = null;
362
- }, u = R(() => _.value ? {
363
- [V.COLUMN_DRAG_START]: (a, i) => p(a, i),
364
- [V.COLUMN_DRAG_ENTER]: (a, i) => m(a, i),
365
- [V.COLUMN_DROP]: (a) => I(a),
366
- [V.COLUMN_DRAG_END]: () => g()
367
- } : {}), c = R(() => (a) => _.value ? {
368
- dragenter: (i) => {
369
- i.preventDefault(), m(a, i);
373
+ i.dragging = null, i.target = null;
374
+ }, f = () => {
375
+ i.dragging = null, i.dragToLeft = null, i.target = null;
376
+ }, g = A(() => r.value ? {
377
+ [H.COLUMN_DRAG_START]: (d, s) => p(d, s),
378
+ [H.COLUMN_DRAG_ENTER]: (d, s) => m(d, s),
379
+ [H.COLUMN_DROP]: (d) => L(d),
380
+ [H.COLUMN_DRAG_END]: () => f()
381
+ } : {}), c = A(() => (d) => r.value ? {
382
+ dragenter: (s) => {
383
+ s.preventDefault(), m(d, s);
370
384
  },
371
385
  drop: () => {
372
- I(a);
386
+ L(d);
373
387
  },
374
- dragover: (i) => {
375
- i.preventDefault();
388
+ dragover: (s) => {
389
+ s.preventDefault();
376
390
  }
377
391
  } : {});
378
392
  return {
379
393
  // Values
380
- draggingColumns: s,
394
+ draggingColumns: i,
381
395
  // Methods
382
- draggingEventsForColumns: u,
396
+ draggingEventsForColumns: g,
383
397
  draggingEventsForRowCell: c,
384
- onMoveColumnByOffset: E
398
+ onMoveColumnByOffset: v
385
399
  };
386
- }, Kn = (e, l) => {
387
- const o = w(e), t = R(
388
- () => [...o.value].sort((u, c) => u.frozen === c.frozen ? 0 : u.frozen ? -1 : 1)
389
- ), _ = R(
390
- () => t.value.filter((u) => u.frozen && u.visible !== !1)
391
- ), s = R(
392
- () => t.value.filter((u) => !u.frozen && u.visible !== !1)
393
- ), E = R(
400
+ }, tl = (e, a) => {
401
+ const o = $(e), t = A(
402
+ () => [...o.value].sort((g, c) => g.frozen === c.frozen ? 0 : g.frozen ? -1 : 1)
403
+ ), r = A(
404
+ () => t.value.filter((g) => g.frozen && g.visible !== !1)
405
+ ), i = A(
406
+ () => t.value.filter((g) => !g.frozen && g.visible !== !1)
407
+ ), v = A(
394
408
  () => [
395
- { columnSet: _.value, id: "frozen", isFrozenColumns: !0 },
396
- { columnSet: s.value, id: "unfrozen" }
397
- ].filter(({ columnSet: u }) => u.length)
398
- ), p = R(
399
- () => o.value.filter((u) => (u == null ? void 0 : u.visible) !== !1 && (u == null ? void 0 : u.field) !== Ce).length === 1
400
- ), m = (u) => l($.UPDATE_CONDENSED, u), I = (u) => {
401
- l($.COLUMNS, u), l($.UPDATE_COLUMNS, u);
409
+ { columnSet: r.value, id: "frozen", isFrozenColumns: !0 },
410
+ { columnSet: i.value, id: "unfrozen" }
411
+ ].filter(({ columnSet: g }) => g.length)
412
+ ), p = A(
413
+ () => o.value.filter((g) => (g == null ? void 0 : g.visible) !== !1 && (g == null ? void 0 : g.field) !== he).length === 1
414
+ ), m = (g) => a(I.UPDATE_CONDENSED, g), L = (g) => {
415
+ a(I.COLUMNS, g), a(I.UPDATE_COLUMNS, g);
402
416
  };
403
417
  return {
404
418
  // Values
405
- columnSets: E,
419
+ columnSets: v,
406
420
  isOnlyOneVisibleColumn: p,
407
421
  sortedColumns: t,
408
422
  // Methods
409
423
  onConfigSettingsUpdate: m,
410
- onConfigSettingsColumnsUpdate: I,
411
- onConfigSettingsColumnUpdate: (u) => {
424
+ onConfigSettingsColumnsUpdate: L,
425
+ onConfigSettingsColumnUpdate: (g) => {
412
426
  const c = t.value.map(
413
- (a) => (a == null ? void 0 : a.field) === u.field ? u : a
427
+ (d) => (d == null ? void 0 : d.field) === g.field ? g : d
414
428
  );
415
- I(c);
429
+ L(c);
416
430
  }
417
431
  };
418
- }, it = (e, l) => {
419
- const o = w(0);
432
+ }, _t = (e, a) => {
433
+ const o = $(0);
420
434
  let t = null;
421
- const _ = () => {
422
- e != null && e.value && l.value && (o.value = e.value.offsetHeight);
435
+ const r = () => {
436
+ e != null && e.value && a.value && (o.value = e.value.offsetHeight);
423
437
  };
424
- return He(() => {
425
- ee(() => {
426
- const s = ie(
438
+ return Je(() => {
439
+ le(() => {
440
+ const i = ie(
427
441
  e,
428
442
  () => {
429
- e != null && e.value && (ee(() => s()), t = yt(e.value, () => {
430
- _();
443
+ e != null && e.value && (le(() => i()), t = Tt(e.value, () => {
444
+ r();
431
445
  }));
432
446
  },
433
447
  { immediate: !0 }
434
448
  );
435
449
  ie(
436
- l,
450
+ a,
437
451
  () => {
438
- l.value ? _() : o.value = 0;
452
+ a.value ? r() : o.value = 0;
439
453
  },
440
454
  { immediate: !0 }
441
455
  );
442
456
  });
443
- }), Ct(() => {
457
+ }), Ot(() => {
444
458
  t == null || t.disconnect();
445
459
  }), o;
446
- }, Jn = (e, l, o) => {
447
- const t = w(0), _ = w(!1), s = w(!1);
460
+ }, nl = (e, a, o) => {
461
+ const t = $(0), r = $(!1), i = $(!1);
448
462
  return ie(
449
463
  () => t.value,
450
464
  () => {
451
- e.value.scrollLeft = t.value, l.value.scrollLeft = t.value, _.value = !!t.value, s.value = l.value.scrollWidth - l.value.offsetWidth > t.value;
465
+ e.value.scrollLeft = t.value, a.value.scrollLeft = t.value, r.value = !!t.value, i.value = a.value.scrollWidth - a.value.offsetWidth > t.value;
452
466
  }
453
- ), He(async () => {
454
- var m, I;
455
- await ee(), await ee(), ((m = l.value) == null ? void 0 : m.offsetWidth) < ((I = l.value) == null ? void 0 : I.scrollWidth) && (s.value = !0);
467
+ ), Je(async () => {
468
+ var m, L;
469
+ await le(), await le(), ((m = a.value) == null ? void 0 : m.offsetWidth) < ((L = a.value) == null ? void 0 : L.scrollWidth) && (i.value = !0);
456
470
  }), {
457
471
  // Values
458
472
  scrollLeftPosition: t,
459
- hasLeftOverflow: _,
460
- hasRightOverflow: s,
473
+ hasLeftOverflow: r,
474
+ hasRightOverflow: i,
461
475
  // Methods
462
476
  updateScrollPosition: (m) => {
463
477
  t.value = m.target.scrollLeft, o.value = e.value.scrollHeight - m.target.scrollTop;
@@ -468,257 +482,279 @@ const jn = (e, l, o) => {
468
482
  }));
469
483
  }
470
484
  };
485
+ }, ll = (e, a, o, t) => {
486
+ const r = $(null), i = A(() => {
487
+ var C, _, h, R, E;
488
+ if (!r.value || r.value.field === he)
489
+ return {
490
+ hoveredOverColumnField: "",
491
+ isSeparatorOffset: !1,
492
+ noBorderLeft: !1,
493
+ noBorderRight: !1
494
+ };
495
+ const v = e.value.find((w) => w.isFrozenColumns), p = e.value.find((w) => !(w != null && w.isFrozenColumns)), m = r.value.frozen && ((C = v == null ? void 0 : v.columnSet) == null ? void 0 : C[0].field) === r.value.field, L = !r.value.frozen && ((_ = p == null ? void 0 : p.columnSet) == null ? void 0 : _[0].field) === r.value.field, f = (a.value || o.value) && m, g = (a.value || o.value) && !v && L, c = v && L, d = ((h = v == null ? void 0 : v.columnSet) == null ? void 0 : h.length) > 0 && r.value.frozen && ((R = v == null ? void 0 : v.columnSet) == null ? void 0 : R[v.columnSet.length - 1].field) === r.value.field, s = o.value && t.value && !r.value.frozen && ((E = p == null ? void 0 : p.columnSet) == null ? void 0 : E[p.columnSet.length - 1].field) === r.value.field;
496
+ return {
497
+ hoveredOverColumnField: r.value.field,
498
+ isSeparatorOffset: s,
499
+ noBorderLeft: !!f || !!g || !!c,
500
+ noBorderRight: !!d || !!s
501
+ };
502
+ });
503
+ return {
504
+ hoveredOverColumn: r,
505
+ hoveredOverColumnState: i
506
+ };
471
507
  };
472
- let ot = 0;
473
- const Qn = {
508
+ let mt = 0;
509
+ const sl = {
474
510
  beforeCreate() {
475
- this.uuid = ot.toString(), ot += 1;
511
+ this.uuid = mt.toString(), mt += 1;
476
512
  }
477
- }, es = { key: 0 }, ts = ["clip-path"], ns = /* @__PURE__ */ L("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), ss = /* @__PURE__ */ L("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), ls = [
478
- ns,
479
- ss
480
- ], is = ["id"], os = /* @__PURE__ */ L("rect", {
513
+ }, ol = { key: 0 }, il = ["clip-path"], al = /* @__PURE__ */ y("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), rl = /* @__PURE__ */ y("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), dl = [
514
+ al,
515
+ rl
516
+ ], ul = ["id"], cl = /* @__PURE__ */ y("rect", {
481
517
  width: "16",
482
518
  height: "16",
483
519
  fill: "#fff"
484
- }, null, -1), as = [
485
- os
520
+ }, null, -1), gl = [
521
+ cl
486
522
  ];
487
- function rs(e, l, o, t, _, s) {
488
- return r(), b("svg", j({ role: "img" }, e.$attrs, {
523
+ function fl(e, a, o, t, r, i) {
524
+ return u(), b("svg", j({ role: "img" }, e.$attrs, {
489
525
  class: "ui-assets-icons-16",
490
526
  xmlns: "http://www.w3.org/2000/svg",
491
527
  width: "16",
492
528
  height: "16",
493
529
  fill: "none"
494
530
  }), [
495
- e.$attrs["svg-title"] ? (r(), b("title", es, G(e.$attrs["svg-title"]), 1)) : D("", !0),
496
- L("g", {
531
+ e.$attrs["svg-title"] ? (u(), b("title", ol, V(e.$attrs["svg-title"]), 1)) : U("", !0),
532
+ y("g", {
497
533
  fill: "#00112C",
498
534
  "clip-path": "url(#uia-icons-16-arrow_up_down_sort__a" + e.uuid + ")"
499
- }, ls, 8, ts),
500
- L("defs", null, [
501
- L("clipPath", {
535
+ }, dl, 8, il),
536
+ y("defs", null, [
537
+ y("clipPath", {
502
538
  id: "uia-icons-16-arrow_up_down_sort__a" + e.uuid
503
- }, as, 8, is)
539
+ }, gl, 8, ul)
504
540
  ])
505
541
  ], 16);
506
542
  }
507
- const ds = /* @__PURE__ */ x(Qn, [["render", rs]]);
508
- let at = 0;
509
- const cs = {
543
+ const _l = /* @__PURE__ */ B(sl, [["render", fl]]);
544
+ let vt = 0;
545
+ const ml = {
510
546
  beforeCreate() {
511
- this.uuid = at.toString(), at += 1;
547
+ this.uuid = vt.toString(), vt += 1;
512
548
  }
513
- }, us = { key: 0 }, gs = /* @__PURE__ */ L("path", {
549
+ }, vl = { key: 0 }, Cl = /* @__PURE__ */ y("path", {
514
550
  fill: "#00112C",
515
551
  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"
516
552
  }, null, -1);
517
- function fs(e, l, o, t, _, s) {
518
- return r(), b("svg", j({ role: "img" }, e.$attrs, {
553
+ function hl(e, a, o, t, r, i) {
554
+ return u(), b("svg", j({ role: "img" }, e.$attrs, {
519
555
  class: "ui-assets-icons-16",
520
556
  xmlns: "http://www.w3.org/2000/svg",
521
557
  width: "16",
522
558
  height: "16",
523
559
  fill: "none"
524
560
  }), [
525
- e.$attrs["svg-title"] ? (r(), b("title", us, G(e.$attrs["svg-title"]), 1)) : D("", !0),
526
- gs
561
+ e.$attrs["svg-title"] ? (u(), b("title", vl, V(e.$attrs["svg-title"]), 1)) : U("", !0),
562
+ Cl
527
563
  ], 16);
528
564
  }
529
- const _s = /* @__PURE__ */ x(cs, [["render", fs]]);
530
- let rt = 0;
531
- const ms = {
565
+ const pl = /* @__PURE__ */ B(ml, [["render", hl]]);
566
+ let Ct = 0;
567
+ const Ll = {
532
568
  beforeCreate() {
533
- this.uuid = rt.toString(), rt += 1;
569
+ this.uuid = Ct.toString(), Ct += 1;
534
570
  }
535
- }, Cs = { key: 0 }, vs = ["clip-path"], hs = /* @__PURE__ */ L("path", {
571
+ }, yl = { key: 0 }, Sl = ["clip-path"], bl = /* @__PURE__ */ y("path", {
536
572
  fill: "#00112C",
537
573
  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"
538
- }, null, -1), ps = [
539
- hs
540
- ], Ls = ["id"], ys = /* @__PURE__ */ L("rect", {
574
+ }, null, -1), El = [
575
+ bl
576
+ ], Ol = ["id"], Il = /* @__PURE__ */ y("rect", {
541
577
  width: "16",
542
578
  height: "16",
543
579
  fill: "#fff",
544
580
  transform: "matrix(1 0 0 -1 0 16)"
545
- }, null, -1), Ss = [
546
- ys
581
+ }, null, -1), Rl = [
582
+ Il
547
583
  ];
548
- function bs(e, l, o, t, _, s) {
549
- return r(), b("svg", j({ role: "img" }, e.$attrs, {
584
+ function $l(e, a, o, t, r, i) {
585
+ return u(), b("svg", j({ role: "img" }, e.$attrs, {
550
586
  class: "ui-assets-icons-16",
551
587
  xmlns: "http://www.w3.org/2000/svg",
552
588
  width: "16",
553
589
  height: "16",
554
590
  fill: "none"
555
591
  }), [
556
- e.$attrs["svg-title"] ? (r(), b("title", Cs, G(e.$attrs["svg-title"]), 1)) : D("", !0),
557
- L("g", {
592
+ e.$attrs["svg-title"] ? (u(), b("title", yl, V(e.$attrs["svg-title"]), 1)) : U("", !0),
593
+ y("g", {
558
594
  "clip-path": "url(#uia-icons-16-freeze__a" + e.uuid + ")"
559
- }, ps, 8, vs),
560
- L("defs", null, [
561
- L("clipPath", {
595
+ }, El, 8, Sl),
596
+ y("defs", null, [
597
+ y("clipPath", {
562
598
  id: "uia-icons-16-freeze__a" + e.uuid
563
- }, Ss, 8, Ls)
599
+ }, Rl, 8, Ol)
564
600
  ])
565
601
  ], 16);
566
602
  }
567
- const $t = /* @__PURE__ */ x(ms, [["render", bs]]);
568
- let dt = 0;
569
- const Es = {
603
+ const Mt = /* @__PURE__ */ B(Ll, [["render", $l]]);
604
+ let ht = 0;
605
+ const Al = {
570
606
  beforeCreate() {
571
- this.uuid = dt.toString(), dt += 1;
607
+ this.uuid = ht.toString(), ht += 1;
572
608
  }
573
- }, Is = { key: 0 }, $s = /* @__PURE__ */ L("path", {
609
+ }, Tl = { key: 0 }, wl = /* @__PURE__ */ y("path", {
574
610
  fill: "#00112C",
575
611
  d: "M2.99035 14.0608L14.051 3.00011L12.9903 1.93945L1.92969 13.0001L2.99035 14.0608Z"
576
- }, null, -1), As = /* @__PURE__ */ L("path", {
612
+ }, null, -1), Nl = /* @__PURE__ */ y("path", {
577
613
  fill: "#00112C",
578
614
  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"
579
- }, null, -1), Rs = /* @__PURE__ */ L("path", {
615
+ }, null, -1), Dl = /* @__PURE__ */ y("path", {
580
616
  fill: "#00112C",
581
617
  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"
582
618
  }, null, -1);
583
- function ws(e, l, o, t, _, s) {
584
- return r(), b("svg", j({ role: "img" }, e.$attrs, {
619
+ function Ul(e, a, o, t, r, i) {
620
+ return u(), b("svg", j({ role: "img" }, e.$attrs, {
585
621
  class: "ui-assets-icons-16",
586
622
  xmlns: "http://www.w3.org/2000/svg",
587
623
  width: "16",
588
624
  height: "16",
589
625
  fill: "none"
590
626
  }), [
591
- e.$attrs["svg-title"] ? (r(), b("title", Is, G(e.$attrs["svg-title"]), 1)) : D("", !0),
592
- $s,
593
- As,
594
- Rs
627
+ e.$attrs["svg-title"] ? (u(), b("title", Tl, V(e.$attrs["svg-title"]), 1)) : U("", !0),
628
+ wl,
629
+ Nl,
630
+ Dl
595
631
  ], 16);
596
632
  }
597
- const Os = /* @__PURE__ */ x(Es, [["render", ws]]);
598
- let ct = 0;
599
- const Ts = {
633
+ const Ml = /* @__PURE__ */ B(Al, [["render", Ul]]);
634
+ let pt = 0;
635
+ const Pl = {
600
636
  beforeCreate() {
601
- this.uuid = ct.toString(), ct += 1;
637
+ this.uuid = pt.toString(), pt += 1;
602
638
  }
603
- }, Ns = { key: 0 }, Ds = ["clip-path"], Ps = /* @__PURE__ */ L("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), Us = /* @__PURE__ */ L("path", { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" }, null, -1), Ms = /* @__PURE__ */ L("path", { d: "M1.25 11.25H8.75V12.75H1.25V11.25Z" }, null, -1), ks = /* @__PURE__ */ L("path", { d: "M6.75 3.25H1.25V4.75H6.75V3.25Z" }, null, -1), zs = [
604
- Ps,
605
- Us,
606
- Ms,
607
- ks
608
- ], Fs = ["id"], Gs = /* @__PURE__ */ L("rect", {
639
+ }, kl = { key: 0 }, zl = ["clip-path"], Fl = /* @__PURE__ */ y("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), Gl = /* @__PURE__ */ y("path", { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" }, null, -1), Vl = /* @__PURE__ */ y("path", { d: "M1.25 11.25H8.75V12.75H1.25V11.25Z" }, null, -1), Wl = /* @__PURE__ */ y("path", { d: "M6.75 3.25H1.25V4.75H6.75V3.25Z" }, null, -1), Hl = [
640
+ Fl,
641
+ Gl,
642
+ Vl,
643
+ Wl
644
+ ], Bl = ["id"], xl = /* @__PURE__ */ y("rect", {
609
645
  width: "16",
610
646
  height: "16",
611
647
  fill: "#fff"
612
- }, null, -1), Ws = [
613
- Gs
648
+ }, null, -1), Zl = [
649
+ xl
614
650
  ];
615
- function Vs(e, l, o, t, _, s) {
616
- return r(), b("svg", j({ role: "img" }, e.$attrs, {
651
+ function jl(e, a, o, t, r, i) {
652
+ return u(), b("svg", j({ role: "img" }, e.$attrs, {
617
653
  class: "ui-assets-icons-16",
618
654
  xmlns: "http://www.w3.org/2000/svg",
619
655
  width: "16",
620
656
  height: "16",
621
657
  fill: "none"
622
658
  }), [
623
- e.$attrs["svg-title"] ? (r(), b("title", Ns, G(e.$attrs["svg-title"]), 1)) : D("", !0),
624
- L("g", {
659
+ e.$attrs["svg-title"] ? (u(), b("title", kl, V(e.$attrs["svg-title"]), 1)) : U("", !0),
660
+ y("g", {
625
661
  fill: "#00112C",
626
662
  "clip-path": "url(#uia-icons-16-sort_ascending__a" + e.uuid + ")"
627
- }, zs, 8, Ds),
628
- L("defs", null, [
629
- L("clipPath", {
663
+ }, Hl, 8, zl),
664
+ y("defs", null, [
665
+ y("clipPath", {
630
666
  id: "uia-icons-16-sort_ascending__a" + e.uuid
631
- }, Ws, 8, Fs)
667
+ }, Zl, 8, Bl)
632
668
  ])
633
669
  ], 16);
634
670
  }
635
- const Hs = /* @__PURE__ */ x(Ts, [["render", Vs]]);
636
- let ut = 0;
637
- const Bs = {
671
+ const ql = /* @__PURE__ */ B(Pl, [["render", jl]]);
672
+ let Lt = 0;
673
+ const Yl = {
638
674
  beforeCreate() {
639
- this.uuid = ut.toString(), ut += 1;
675
+ this.uuid = Lt.toString(), Lt += 1;
640
676
  }
641
- }, xs = { key: 0 }, Zs = ["clip-path"], js = /* @__PURE__ */ L("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), qs = /* @__PURE__ */ L("path", { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" }, null, -1), Ys = /* @__PURE__ */ L("path", { d: "M1.25 3.25H9.09V4.75H1.25V3.25Z" }, null, -1), Xs = /* @__PURE__ */ L("path", { d: "M6.75 11.25H1.25V12.75H6.75V11.25Z" }, null, -1), Ks = [
642
- js,
643
- qs,
644
- Ys,
645
- Xs
646
- ], Js = ["id"], Qs = /* @__PURE__ */ L("rect", {
677
+ }, Xl = { key: 0 }, Kl = ["clip-path"], Jl = /* @__PURE__ */ y("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), Ql = /* @__PURE__ */ y("path", { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" }, null, -1), es = /* @__PURE__ */ y("path", { d: "M1.25 3.25H9.09V4.75H1.25V3.25Z" }, null, -1), ts = /* @__PURE__ */ y("path", { d: "M6.75 11.25H1.25V12.75H6.75V11.25Z" }, null, -1), ns = [
678
+ Jl,
679
+ Ql,
680
+ es,
681
+ ts
682
+ ], ls = ["id"], ss = /* @__PURE__ */ y("rect", {
647
683
  width: "16",
648
684
  height: "16",
649
685
  fill: "#fff"
650
- }, null, -1), el = [
651
- Qs
686
+ }, null, -1), os = [
687
+ ss
652
688
  ];
653
- function tl(e, l, o, t, _, s) {
654
- return r(), b("svg", j({ role: "img" }, e.$attrs, {
689
+ function is(e, a, o, t, r, i) {
690
+ return u(), b("svg", j({ role: "img" }, e.$attrs, {
655
691
  class: "ui-assets-icons-16",
656
692
  xmlns: "http://www.w3.org/2000/svg",
657
693
  width: "16",
658
694
  height: "16",
659
695
  fill: "none"
660
696
  }), [
661
- e.$attrs["svg-title"] ? (r(), b("title", xs, G(e.$attrs["svg-title"]), 1)) : D("", !0),
662
- L("g", {
697
+ e.$attrs["svg-title"] ? (u(), b("title", Xl, V(e.$attrs["svg-title"]), 1)) : U("", !0),
698
+ y("g", {
663
699
  fill: "#00112C",
664
700
  "clip-path": "url(#uia-icons-16-sort_descending__a" + e.uuid + ")"
665
- }, Ks, 8, Zs),
666
- L("defs", null, [
667
- L("clipPath", {
701
+ }, ns, 8, Kl),
702
+ y("defs", null, [
703
+ y("clipPath", {
668
704
  id: "uia-icons-16-sort_descending__a" + e.uuid
669
- }, el, 8, Js)
705
+ }, os, 8, ls)
670
706
  ])
671
707
  ], 16);
672
708
  }
673
- const nl = /* @__PURE__ */ x(Bs, [["render", tl]]);
674
- let gt = 0;
675
- const sl = {
709
+ const as = /* @__PURE__ */ B(Yl, [["render", is]]);
710
+ let yt = 0;
711
+ const rs = {
676
712
  beforeCreate() {
677
- this.uuid = gt.toString(), gt += 1;
713
+ this.uuid = yt.toString(), yt += 1;
678
714
  }
679
- }, ll = { key: 0 }, il = /* @__PURE__ */ L("path", {
715
+ }, ds = { key: 0 }, us = /* @__PURE__ */ y("path", {
680
716
  fill: "#00112C",
681
717
  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"
682
- }, null, -1), ol = /* @__PURE__ */ L("path", {
718
+ }, null, -1), cs = /* @__PURE__ */ y("path", {
683
719
  fill: "#00112C",
684
720
  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"
685
721
  }, null, -1);
686
- function al(e, l, o, t, _, s) {
687
- return r(), b("svg", j({ role: "img" }, e.$attrs, {
722
+ function gs(e, a, o, t, r, i) {
723
+ return u(), b("svg", j({ role: "img" }, e.$attrs, {
688
724
  class: "ui-assets-icons-16",
689
725
  xmlns: "http://www.w3.org/2000/svg",
690
726
  width: "16",
691
727
  height: "16",
692
728
  fill: "none"
693
729
  }), [
694
- e.$attrs["svg-title"] ? (r(), b("title", ll, G(e.$attrs["svg-title"]), 1)) : D("", !0),
695
- il,
696
- ol
730
+ e.$attrs["svg-title"] ? (u(), b("title", ds, V(e.$attrs["svg-title"]), 1)) : U("", !0),
731
+ us,
732
+ cs
697
733
  ], 16);
698
734
  }
699
- const rl = /* @__PURE__ */ x(sl, [["render", al]]);
700
- let ft = 0;
701
- const dl = {
735
+ const fs = /* @__PURE__ */ B(rs, [["render", gs]]);
736
+ let St = 0;
737
+ const _s = {
702
738
  beforeCreate() {
703
- this.uuid = ft.toString(), ft += 1;
739
+ this.uuid = St.toString(), St += 1;
704
740
  }
705
- }, cl = { key: 0 }, ul = /* @__PURE__ */ L("path", {
741
+ }, ms = { key: 0 }, vs = /* @__PURE__ */ y("path", {
706
742
  fill: "#00112C",
707
743
  d: "M8 11.25L12.5 5.25H3.5L8 11.25Z"
708
744
  }, null, -1);
709
- function gl(e, l, o, t, _, s) {
710
- return r(), b("svg", j({ role: "img" }, e.$attrs, {
745
+ function Cs(e, a, o, t, r, i) {
746
+ return u(), b("svg", j({ role: "img" }, e.$attrs, {
711
747
  class: "ui-assets-icons-16",
712
748
  xmlns: "http://www.w3.org/2000/svg",
713
749
  width: "16",
714
750
  height: "16",
715
751
  fill: "none"
716
752
  }), [
717
- e.$attrs["svg-title"] ? (r(), b("title", cl, G(e.$attrs["svg-title"]), 1)) : D("", !0),
718
- ul
753
+ e.$attrs["svg-title"] ? (u(), b("title", ms, V(e.$attrs["svg-title"]), 1)) : U("", !0),
754
+ vs
719
755
  ], 16);
720
756
  }
721
- const fl = /* @__PURE__ */ x(dl, [["render", gl]]), At = {
757
+ const hs = /* @__PURE__ */ B(_s, [["render", Cs]]), Pt = {
722
758
  "en-US": {
723
759
  sortColumn: "Sort {name} column",
724
760
  sortColumnInAscendingOrder: "Sort {name} column in ascending order",
@@ -731,25 +767,26 @@ const fl = /* @__PURE__ */ x(dl, [["render", gl]]), At = {
731
767
  selectPage: "Select this page",
732
768
  selectionMenu: "Selection menu",
733
769
  showColumn: "Show column",
734
- unfreezeColumn: "Unfreeze column"
770
+ unfreezeColumn: "Unfreeze column",
771
+ columnActions: "{name} column actions"
735
772
  }
736
- }, _l = ["aria-colindex", "aria-label", "aria-sort", "data-testid", "draggable", "tabindex"], ml = { class: "b-data-grid-columns__label" }, Cl = {
773
+ }, ps = ["aria-colindex", "aria-label", "aria-sort", "data-testid", "draggable", "tabindex"], Ls = ["aria-label"], ys = { class: "b-data-grid-columns__label" }, Ss = {
737
774
  key: 0,
738
775
  class: "b-data-grid-columns__column-info-icon"
739
- }, vl = {
776
+ }, bs = {
740
777
  key: 1,
741
778
  class: "b-data-grid-columns__column-sort"
742
- }, hl = ["data-testid", "onMousedown"], pl = {
779
+ }, Es = ["data-testid", "onMousedown"], Os = {
743
780
  key: 0,
744
781
  class: "b-data-grid-columns__column-separator"
745
- }, Ll = {
782
+ }, Is = {
746
783
  key: 1,
747
784
  class: "b-data-grid-columns__select-column"
748
- }, yl = {
749
- i18n: { messages: At },
785
+ }, Rs = {
786
+ i18n: { messages: Pt },
750
787
  name: "data-grid-columns"
751
- }, Sl = /* @__PURE__ */ ue({
752
- ...yl,
788
+ }, $s = /* @__PURE__ */ me({
789
+ ...Rs,
753
790
  props: {
754
791
  /**
755
792
  * Column definitions using 'key' to relate to data object.
@@ -800,6 +837,13 @@ const fl = /* @__PURE__ */ x(dl, [["render", gl]]), At = {
800
837
  type: Boolean,
801
838
  default: !1
802
839
  },
840
+ /**
841
+ * The column hovered over state and whether the hovered over column should show a border right or left.
842
+ */
843
+ hoveredOverColumnState: {
844
+ type: Object,
845
+ required: !0
846
+ },
803
847
  /**
804
848
  * Toggled to true when the DataGrid has auto width columns and is measuring the
805
849
  */
@@ -859,79 +903,96 @@ const fl = /* @__PURE__ */ x(dl, [["render", gl]]), At = {
859
903
  default: !1
860
904
  }
861
905
  },
862
- setup(e, { emit: l }) {
863
- const o = e, { t } = Pe({ messages: At }), { columns: _, sortBy: s } = Ve(o), E = (d) => l(V.SELECT_ALL_ROWS, d), p = (d) => d.field === Ce, m = R(() => [
906
+ emits: ["column-hover"],
907
+ setup(e, { emit: a }) {
908
+ const o = e, t = 100, { t: r } = We({ messages: Pt }), { columns: i, sortBy: v } = Ke(o), p = $({}), m = $(), L = $(), f = (l) => a(H.SELECT_ALL_ROWS, l), g = (l) => l.field === he, c = A(() => [
864
909
  {
865
- text: t("selectPage"),
866
- handler: () => E(!0)
910
+ text: r("selectPage"),
911
+ handler: () => f(!0)
867
912
  },
868
913
  {
869
- text: t("selectAll"),
870
- handler: () => l(V.SELECT_ALL_ACROSS_PAGES)
914
+ text: r("selectAll"),
915
+ handler: () => a(H.SELECT_ALL_ACROSS_PAGES)
871
916
  }
872
- ]), { startResize: I, isResizing: g } = Fn(_, l), { isSorting: u, getSortingDirection: c, sortByColumnField: a } = Zn(s, _, l), i = (d) => {
873
- var B;
874
- if (!d.sortable)
917
+ ]), { startResize: d, isResizing: s, columnHoverEventToEmitAfterResizing: C } = Hn(i, a), { isSorting: _, getSortingDirection: h, sortByColumnField: R } = Xn(v, i, a), E = (l) => {
918
+ var K;
919
+ if (!l.sortable)
875
920
  return null;
876
- const O = (B = o.sortBy.find(({ field: K }) => K === d.field)) == null ? void 0 : B.direction;
877
- return O ? {
878
- [re.ASCENDING]: Oe.ASCENDING,
879
- [re.DESCENDING]: Oe.DESCENDING
880
- }[O] : Oe.NONE;
881
- }, f = R(() => (d) => o.hasDraggableColumns ? {
882
- dragstart: (O) => {
883
- l(V.COLUMN_DRAG_START, d, O);
921
+ const G = (K = o.sortBy.find(({ field: Y }) => Y === l.field)) == null ? void 0 : K.direction;
922
+ return G ? {
923
+ [ge.ASCENDING]: ze.ASCENDING,
924
+ [ge.DESCENDING]: ze.DESCENDING
925
+ }[G] : ze.NONE;
926
+ }, w = A(() => (l) => o.hasDraggableColumns ? {
927
+ dragstart: (G) => {
928
+ a(H.COLUMN_DRAG_START, l, G);
884
929
  },
885
- dragover: (O) => {
886
- O.preventDefault();
930
+ dragover: (G) => {
931
+ G.preventDefault();
887
932
  },
888
- dragenter: (O) => {
889
- O.preventDefault(), l(V.COLUMN_DRAG_ENTER, d, O);
933
+ dragenter: (G) => {
934
+ G.preventDefault(), a(H.COLUMN_DRAG_ENTER, l, G);
890
935
  },
891
936
  drop: () => {
892
- l(V.COLUMN_DROP, d);
937
+ a(H.COLUMN_DROP, l);
893
938
  },
894
939
  dragend: () => {
895
- l(V.COLUMN_DRAG_END);
940
+ a(H.COLUMN_DRAG_END);
896
941
  }
897
- } : {}), C = R(() => (d) => [
942
+ } : {}), O = A(() => (l) => [
898
943
  {
899
- text: t("moveColumnLeft"),
900
- handler: () => l(V.COLUMN_MOVE, d, -1),
901
- icon: kn,
902
- disabled: o.columns[0].field === d.field
944
+ text: r("moveColumnLeft"),
945
+ handler: () => a(H.COLUMN_MOVE, l, -1),
946
+ icon: Vn,
947
+ disabled: o.columns[0].field === l.field
903
948
  },
904
949
  {
905
- text: t("moveColumnRight"),
906
- handler: () => l(V.COLUMN_MOVE, d, 1),
907
- icon: _s,
908
- disabled: o.columns[o.columns.length - 1].field === d.field
950
+ text: r("moveColumnRight"),
951
+ handler: () => a(H.COLUMN_MOVE, l, 1),
952
+ icon: pl,
953
+ disabled: o.columns[o.columns.length - 1].field === l.field
909
954
  },
910
955
  {
911
- text: d != null && d.frozen ? t("unfreezeColumn") : t("freezeColumn"),
912
- handler: () => l(V.COLUMN_UPDATE, { ...d, frozen: !(d != null && d.frozen) }),
913
- icon: $t
956
+ text: l != null && l.frozen ? r("unfreezeColumn") : r("freezeColumn"),
957
+ handler: () => a(H.COLUMN_UPDATE, { ...l, frozen: !(l != null && l.frozen) }),
958
+ icon: Mt
914
959
  },
915
960
  {
916
- text: (d == null ? void 0 : d.visible) !== !1 ? t("hideColumn") : t("showColumn"),
961
+ text: (l == null ? void 0 : l.visible) !== !1 ? r("hideColumn") : r("showColumn"),
917
962
  handler: () => {
918
- l(V.COLUMN_UPDATE, {
919
- ...d,
920
- visible: (d == null ? void 0 : d.visible) === !1
963
+ a(H.COLUMN_UPDATE, {
964
+ ...l,
965
+ visible: (l == null ? void 0 : l.visible) === !1
921
966
  });
922
967
  },
923
- icon: (d == null ? void 0 : d.visible) !== !1 ? Os : rl,
924
- disabled: (d == null ? void 0 : d.mandatory) || (d == null ? void 0 : d.visible) !== !1 && o.isOnlyOneVisibleColumn
968
+ icon: (l == null ? void 0 : l.visible) !== !1 ? Ml : fs,
969
+ disabled: (l == null ? void 0 : l.mandatory) || (l == null ? void 0 : l.visible) !== !1 && o.isOnlyOneVisibleColumn
925
970
  }
926
- ]), y = (d) => {
927
- let O = {};
928
- return p(d) || (O = {
929
- ...f.value(d)
930
- }), O;
931
- }, v = R(
971
+ ]), D = (l) => {
972
+ m.value = l.field, L.value && clearTimeout(L.value);
973
+ }, k = () => {
974
+ const l = setTimeout(() => {
975
+ m.value = "";
976
+ }, t);
977
+ L.value = l;
978
+ }, ee = (l) => {
979
+ let G = {
980
+ mouseenter: () => {
981
+ D(l), s.value ? C.value = l : a("column-hover", l);
982
+ },
983
+ mouseleave: () => {
984
+ k(), s.value ? C.value = null : a("column-hover", null);
985
+ },
986
+ focus: () => D(l)
987
+ };
988
+ return g(l) || (G = {
989
+ ...G,
990
+ ...w.value(l)
991
+ }), G;
992
+ }, se = (l) => l.infoIconTooltip || l.sortable || o.hasColumnPanel, ve = A(
932
993
  () => {
933
- var d;
934
- return (d = _.value[0]) != null && d.frozen ? {
994
+ var l;
995
+ return (l = i.value[0]) != null && l.frozen ? {
935
996
  "b-data-grid-columns--frozen": !0,
936
997
  "b-data-grid-columns--frozen-separator": o.showFrozenColumnsSeparator,
937
998
  "b-data-grid-columns--overflow-shadow-left": o.hasLeftOverflow
@@ -939,189 +1000,199 @@ const fl = /* @__PURE__ */ x(dl, [["render", gl]]), At = {
939
1000
  "b-data-grid-columns--unfrozen": !0
940
1001
  };
941
1002
  }
942
- ), P = (d, O) => d && O === 0 ? Qe.BOTTOM_START : Qe.BOTTOM_END, M = (d) => {
943
- var O, h, B, K, fe, H, _e, ve, he, pe;
1003
+ ), x = (l, G) => l && G === 0 ? rt.BOTTOM_START : rt.BOTTOM_END, F = (l, G) => {
1004
+ var T, K, Y, be, de, Ee, Oe, Ie, Re, pe;
944
1005
  return {
945
- "b-data-grid-columns__column--sortable": d.sortable,
946
- "b-data-grid-columns__column--padding-left-unset": ((O = d == null ? void 0 : d.padding) == null ? void 0 : O.left) === !1,
947
- "b-data-grid-columns__column--padding-right-unset": ((h = d == null ? void 0 : d.padding) == null ? void 0 : h.right) === !1,
948
- "b-data-grid-columns__column--numeric": d == null ? void 0 : d.numeric,
949
- "b-data-grid-columns__column--frozen": d == null ? void 0 : d.frozen,
950
- "b-data-grid-columns__column--is-re-ordering": (d == null ? void 0 : d.field) === ((K = (B = o.draggingColumns) == null ? void 0 : B.dragging) == null ? void 0 : K.field),
951
- "b-data-grid-columns__column--is-re-ordering-target-left": (d == null ? void 0 : d.field) === ((H = (fe = o.draggingColumns) == null ? void 0 : fe.target) == null ? void 0 : H.field) && ((_e = o.draggingColumns) == null ? void 0 : _e.dragToLeft),
952
- "b-data-grid-columns__column--is-re-ordering-target-right": (d == null ? void 0 : d.field) === ((he = (ve = o.draggingColumns) == null ? void 0 : ve.target) == null ? void 0 : he.field) && !((pe = o.draggingColumns) != null && pe.dragToLeft),
953
- "b-data-grid-columns__column--with-sorting-or-column-panel": d.sortable || o.hasColumnPanel
1006
+ "b-data-grid-columns__column--column-hovered": l.field === o.hoveredOverColumnState.hoveredOverColumnField,
1007
+ "b-data-grid-columns__column--column-hovered-no-border-left": l.field === o.hoveredOverColumnState.hoveredOverColumnField && o.hoveredOverColumnState.noBorderLeft,
1008
+ "b-data-grid-columns__column--column-hovered-no-border-right": l.field === o.hoveredOverColumnState.hoveredOverColumnField && o.hoveredOverColumnState.noBorderRight,
1009
+ "b-data-grid-columns__column--last-frozen-frozen-column": o.isFrozenColumns && G === i.value.length - 1,
1010
+ "b-data-grid-columns__column--sortable": l.sortable,
1011
+ "b-data-grid-columns__column--padding-left-unset": ((T = l == null ? void 0 : l.padding) == null ? void 0 : T.left) === !1,
1012
+ "b-data-grid-columns__column--padding-right-unset": ((K = l == null ? void 0 : l.padding) == null ? void 0 : K.right) === !1,
1013
+ "b-data-grid-columns__column--numeric": l == null ? void 0 : l.numeric,
1014
+ "b-data-grid-columns__column--frozen": l == null ? void 0 : l.frozen,
1015
+ "b-data-grid-columns__column--is-re-ordering": (l == null ? void 0 : l.field) === ((be = (Y = o.draggingColumns) == null ? void 0 : Y.dragging) == null ? void 0 : be.field),
1016
+ "b-data-grid-columns__column--is-re-ordering-target-left": (l == null ? void 0 : l.field) === ((Ee = (de = o.draggingColumns) == null ? void 0 : de.target) == null ? void 0 : Ee.field) && ((Oe = o.draggingColumns) == null ? void 0 : Oe.dragToLeft),
1017
+ "b-data-grid-columns__column--is-re-ordering-target-right": (l == null ? void 0 : l.field) === ((Re = (Ie = o.draggingColumns) == null ? void 0 : Ie.target) == null ? void 0 : Re.field) && !((pe = o.draggingColumns) != null && pe.dragToLeft),
1018
+ "b-data-grid-columns__column--with-sorting-or-column-panel": l.sortable || l.infoIconTooltip || o.hasColumnPanel && m.value
954
1019
  };
955
- }, A = (d) => ({
956
- "b-data-grid-columns__column-header-and-actions--numeric": d == null ? void 0 : d.numeric
957
- }), T = (d) => ({
958
- "b-data-grid-columns__column-actions--numeric": d == null ? void 0 : d.numeric
959
- }), F = R(() => ({
960
- "b-data-grid-columns__column-separator-container--is-resizeable": o.hasResizableColumns
961
- })), te = R(() => ({
1020
+ }, ae = (l) => ({
1021
+ "b-data-grid-columns__column-header-and-actions--numeric": l == null ? void 0 : l.numeric
1022
+ }), He = (l) => ({
1023
+ "b-data-grid-columns__column-actions--numeric": l == null ? void 0 : l.numeric
1024
+ }), Be = (l) => ({
1025
+ "b-data-grid-columns__column-separator-container--is-resizeable": o.hasResizableColumns,
1026
+ "b-data-grid-columns__column-separator-container--is-offset": o.hoveredOverColumnState.hoveredOverColumnField === l.field && o.hoveredOverColumnState.isSeparatorOffset
1027
+ }), Se = A(() => ({
962
1028
  "b-data-grid-columns__column-header--truncated": o.truncateColumnHeaders
963
1029
  }));
964
- return (d, O) => (r(), b("div", {
965
- class: se(["b-data-grid-columns", n(v)]),
1030
+ return (l, G) => (u(), b("div", {
1031
+ class: oe(["b-data-grid-columns", n(ve)]),
966
1032
  "data-testid": "data-grid-columns"
967
1033
  }, [
968
- (r(!0), b(Q, null, le(n(_), (h, B) => (r(), b("div", j({
969
- key: h.field,
970
- "aria-colindex": B + 1,
971
- "aria-label": h.label,
972
- "aria-sort": i(h),
973
- class: [M(h), "b-data-grid-columns__column"],
974
- "data-testid": `${h.field}-column-header`,
975
- draggable: e.hasDraggableColumns && !n(g) && !p(h),
1034
+ (u(!0), b(ne, null, re(n(i), (T, K) => (u(), b("div", j({
1035
+ key: T.field,
1036
+ "aria-colindex": K + 1,
1037
+ "aria-label": T.label,
1038
+ "aria-sort": E(T),
1039
+ class: [F(T, K), "b-data-grid-columns__column"],
1040
+ "data-testid": `${T.field}-column-header`,
1041
+ draggable: e.hasDraggableColumns && !n(s) && !g(T),
976
1042
  role: "columnheader",
977
- tabindex: h.sortable ? "0" : "-1",
978
- style: { width: `${h.width}px` }
979
- }, Ne(y(h), !0)), [
980
- p(h) ? (r(), b("div", Ll, [
981
- W(n(It), {
1043
+ tabindex: T.sortable || e.hasColumnPanel || T.infoIconTooltip ? "0" : "-1",
1044
+ style: { width: `${T.width}px` }
1045
+ }, Ge(ee(T), !0)), [
1046
+ g(T) ? (u(), b("div", Is, [
1047
+ W(n(Ut), {
982
1048
  "model-value": e.allItemsSelectedState.allItemsSelected,
983
1049
  "data-testid": "checkbox-select-all",
984
1050
  indeterminate: e.allItemsSelectedState.isIndeterminate,
985
1051
  value: "data-grid-select-all",
986
- "onUpdate:modelValue": E
1052
+ "onUpdate:modelValue": f
987
1053
  }, null, 8, ["model-value", "indeterminate"]),
988
- e.selectableAcrossPages ? (r(), U(n(Fe), {
1054
+ e.selectableAcrossPages ? (u(), M(n(qe), {
989
1055
  key: 0,
990
1056
  class: "b-data-grid-columns__select-column-menu",
991
- data: n(m),
1057
+ data: n(c),
992
1058
  "menu-position": "bottom-start",
993
1059
  "menu-fixed-positioning": "",
994
1060
  button: { variant: "tertiary", condensed: !0 }
995
1061
  }, {
996
- iconLeft: k(() => [
997
- W(n(fl), {
998
- "svg-title": n(t)("selectionMenu")
1062
+ iconLeft: P(() => [
1063
+ W(n(hs), {
1064
+ "svg-title": n(r)("selectionMenu")
999
1065
  }, null, 8, ["svg-title"])
1000
1066
  ]),
1001
1067
  _: 1
1002
- }, 8, ["data"])) : D("", !0)
1003
- ])) : (r(), b(Q, { key: 0 }, [
1004
- L("div", {
1005
- class: se(["b-data-grid-columns__column-header-and-actions", A(h)])
1068
+ }, 8, ["data"])) : U("", !0)
1069
+ ])) : (u(), b(ne, { key: 0 }, [
1070
+ y("div", {
1071
+ "aria-label": n(r)("columnActions", { name: T.label }),
1072
+ "aria-live": "polite",
1073
+ role: "region",
1074
+ class: oe(["b-data-grid-columns__column-header-and-actions", ae(T)])
1006
1075
  }, [
1007
- W(n(De), {
1076
+ W(n(Ve), {
1008
1077
  el: "div",
1009
1078
  strongest: "",
1010
- class: se(["b-data-grid-columns__column-header", n(te)])
1079
+ class: oe(["b-data-grid-columns__column-header", n(Se)])
1011
1080
  }, {
1012
- default: k(() => [
1013
- ge(d.$slots, `head-${h.field}`, { column: h }, () => [
1014
- L("span", ml, G(h.label), 1)
1081
+ default: P(() => [
1082
+ Ce(l.$slots, `head-${T.field}`, { column: T }, () => [
1083
+ y("span", ys, V(T.label), 1)
1015
1084
  ], !0)
1016
1085
  ]),
1017
1086
  _: 2
1018
1087
  }, 1032, ["class"]),
1019
- h.sortable || e.hasColumnPanel || h.infoIconTooltip ? (r(), b("div", {
1088
+ se(T) ? (u(), b("div", {
1020
1089
  key: 0,
1021
- class: se(["b-data-grid-columns__column-actions", T(h)])
1090
+ class: oe(["b-data-grid-columns__column-actions", He(T)])
1022
1091
  }, [
1023
- h.infoIconTooltip ? (r(), b("div", Cl, [
1024
- W(n(Un), {
1025
- "tooltip-text": h.infoIconTooltip
1092
+ T.infoIconTooltip ? (u(), b("div", Ss, [
1093
+ W(n(Fn), {
1094
+ "tooltip-text": T.infoIconTooltip
1026
1095
  }, null, 8, ["tooltip-text"])
1027
- ])) : D("", !0),
1028
- h.sortable ? (r(), b("div", vl, [
1029
- W(n(Et), {
1096
+ ])) : U("", !0),
1097
+ T.sortable ? (u(), b("div", bs, [
1098
+ W(n(Dt), {
1030
1099
  condensed: "",
1031
- toggled: n(u)(h.field),
1100
+ toggled: n(_)(T.field),
1032
1101
  variant: "tertiary",
1033
- onClick: (K) => n(a)(h.field)
1102
+ onClick: (Y) => n(R)(T.field)
1034
1103
  }, {
1035
- iconLeft: k(() => [
1036
- n(c)(h.field) ? n(c)(h.field) === n(re).ASCENDING ? (r(), U(n(Hs), {
1104
+ iconLeft: P(() => [
1105
+ n(h)(T.field) ? n(h)(T.field) === n(ge).ASCENDING ? (u(), M(n(ql), {
1037
1106
  key: 1,
1038
- "svg-title": n(t)("sortColumnInDescendingOrder", { name: h.label })
1039
- }, null, 8, ["svg-title"])) : n(c)(h.field) === n(re).DESCENDING ? (r(), U(n(nl), {
1107
+ "svg-title": n(r)("sortColumnInDescendingOrder", { name: T.label })
1108
+ }, null, 8, ["svg-title"])) : n(h)(T.field) === n(ge).DESCENDING ? (u(), M(n(as), {
1040
1109
  key: 2,
1041
- "svg-title": n(t)("sortColumnInAscendingOrder", { name: h.label })
1042
- }, null, 8, ["svg-title"])) : D("", !0) : (r(), U(n(ds), {
1110
+ "svg-title": n(r)("sortColumnInAscendingOrder", { name: T.label })
1111
+ }, null, 8, ["svg-title"])) : U("", !0) : (u(), M(n(_l), {
1043
1112
  key: 0,
1044
- "svg-title": n(t)("sortColumn", { name: h.label })
1113
+ "svg-title": n(r)("sortColumn", { name: T.label })
1045
1114
  }, null, 8, ["svg-title"]))
1046
1115
  ]),
1047
1116
  _: 2
1048
1117
  }, 1032, ["toggled", "onClick"])
1049
- ])) : D("", !0),
1050
- e.hasColumnPanel ? (r(), U(n(Fe), {
1118
+ ])) : U("", !0),
1119
+ e.hasColumnPanel && m.value === T.field ? (u(), M(n(qe), {
1051
1120
  key: 2,
1121
+ ref_for: !0,
1122
+ ref: (Y) => p.value[T.field] = Y,
1052
1123
  class: "b-data-grid-columns__menu",
1053
- data: n(C)(h),
1054
- "menu-position": P(e.hasFirstColumnPanelRightAligned, B),
1124
+ data: n(O)(T),
1125
+ "menu-position": x(e.hasFirstColumnPanelRightAligned, K),
1055
1126
  "menu-fixed-positioning": !0,
1056
1127
  button: { variant: "tertiary", condensed: !0 },
1057
- onOpen: O[0] || (O[0] = (K) => d.$emit(n(V).COLUMN_MENU_OPEN)),
1058
- onClose: O[1] || (O[1] = (K) => d.$emit(n(V).COLUMN_MENU_CLOSE))
1059
- }, null, 8, ["data", "menu-position"])) : D("", !0)
1060
- ], 2)) : D("", !0)
1061
- ], 2),
1062
- L("div", {
1063
- "data-testid": `data-grid-column-${h.field}`,
1064
- class: se(["b-data-grid-columns__column-separator-container", n(F)]),
1128
+ onOpen: G[0] || (G[0] = (Y) => l.$emit(n(H).COLUMN_MENU_OPEN)),
1129
+ onClose: G[1] || (G[1] = (Y) => l.$emit(n(H).COLUMN_MENU_CLOSE))
1130
+ }, null, 8, ["data", "menu-position"])) : U("", !0)
1131
+ ], 2)) : U("", !0)
1132
+ ], 10, Ls),
1133
+ y("div", {
1134
+ "data-testid": `data-grid-column-${T.field}`,
1135
+ class: oe(["b-data-grid-columns__column-separator-container", Be(T)]),
1065
1136
  role: "presentation",
1066
- onMousedown: (K) => n(I)(e.hasResizableColumns, h.field, K),
1067
- onClick: O[2] || (O[2] = _n(() => {
1137
+ onMousedown: (Y) => n(d)(e.hasResizableColumns, T.field, Y),
1138
+ onClick: G[2] || (G[2] = hn(() => {
1068
1139
  }, ["stop"]))
1069
1140
  }, [
1070
- !e.isFrozenColumns || e.isFrozenColumns && B !== n(_).length - 1 ? (r(), b("div", pl)) : D("", !0)
1071
- ], 42, hl)
1141
+ !e.isFrozenColumns || e.isFrozenColumns && K !== n(i).length - 1 ? (u(), b("div", Os)) : U("", !0)
1142
+ ], 42, Es)
1072
1143
  ], 64))
1073
- ], 16, _l))), 128))
1144
+ ], 16, ps))), 128))
1074
1145
  ], 2));
1075
1146
  }
1076
1147
  });
1077
- const bl = /* @__PURE__ */ x(Sl, [["__scopeId", "data-v-7ec27983"]]);
1078
- var ae = /* @__PURE__ */ ((e) => (e.CONFIG_SETTINGS = "config-settings", e.UPDATE_COLUMNS = "update:columns", e))(ae || {});
1079
- let _t = 0;
1080
- const El = {
1148
+ const As = /* @__PURE__ */ B($s, [["__scopeId", "data-v-c90fb635"]]);
1149
+ var ce = /* @__PURE__ */ ((e) => (e.CONFIG_SETTINGS = "config-settings", e.UPDATE_COLUMNS = "update:columns", e))(ce || {});
1150
+ let bt = 0;
1151
+ const Ts = {
1081
1152
  beforeCreate() {
1082
- this.uuid = _t.toString(), _t += 1;
1153
+ this.uuid = bt.toString(), bt += 1;
1083
1154
  }
1084
- }, Il = { key: 0 }, $l = ["clip-path"], Al = /* @__PURE__ */ L("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), Rl = /* @__PURE__ */ L("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), wl = [
1085
- Al,
1086
- Rl
1087
- ], Ol = ["id"], Tl = /* @__PURE__ */ L("rect", {
1155
+ }, ws = { key: 0 }, Ns = ["clip-path"], Ds = /* @__PURE__ */ y("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), Us = /* @__PURE__ */ y("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), Ms = [
1156
+ Ds,
1157
+ Us
1158
+ ], Ps = ["id"], ks = /* @__PURE__ */ y("rect", {
1088
1159
  width: "16",
1089
1160
  height: "16",
1090
1161
  fill: "#fff"
1091
- }, null, -1), Nl = [
1092
- Tl
1162
+ }, null, -1), zs = [
1163
+ ks
1093
1164
  ];
1094
- function Dl(e, l, o, t, _, s) {
1095
- return r(), b("svg", j({ role: "img" }, e.$attrs, {
1165
+ function Fs(e, a, o, t, r, i) {
1166
+ return u(), b("svg", j({ role: "img" }, e.$attrs, {
1096
1167
  class: "ui-assets-icons-16",
1097
1168
  xmlns: "http://www.w3.org/2000/svg",
1098
1169
  width: "16",
1099
1170
  height: "16",
1100
1171
  fill: "none"
1101
1172
  }), [
1102
- e.$attrs["svg-title"] ? (r(), b("title", Il, G(e.$attrs["svg-title"]), 1)) : D("", !0),
1103
- L("g", {
1173
+ e.$attrs["svg-title"] ? (u(), b("title", ws, V(e.$attrs["svg-title"]), 1)) : U("", !0),
1174
+ y("g", {
1104
1175
  fill: "#00112C",
1105
1176
  "clip-path": "url(#uia-icons-16-settings__a" + e.uuid + ")"
1106
- }, wl, 8, $l),
1107
- L("defs", null, [
1108
- L("clipPath", {
1177
+ }, Ms, 8, Ns),
1178
+ y("defs", null, [
1179
+ y("clipPath", {
1109
1180
  id: "uia-icons-16-settings__a" + e.uuid
1110
- }, Nl, 8, Ol)
1181
+ }, zs, 8, Ps)
1111
1182
  ])
1112
1183
  ], 16);
1113
1184
  }
1114
- const Pl = /* @__PURE__ */ x(El, [["render", Dl]]), Ul = {
1185
+ const Gs = /* @__PURE__ */ B(Ts, [["render", Fs]]), Vs = {
1115
1186
  "en-US": {
1116
1187
  toggleColumnVisibility: "Toggle {label} column visibility",
1117
1188
  toggleColumnFreeze: "Toggle {label} column freeze"
1118
1189
  }
1119
- }, Ml = ue({
1120
- i18n: { messages: Ul },
1190
+ }, Ws = me({
1191
+ i18n: { messages: Vs },
1121
1192
  name: "bento-data-grid",
1122
1193
  components: {
1123
- BentoFreezeIcon: $t,
1124
- BentoToggle: bt
1194
+ BentoFreezeIcon: Mt,
1195
+ BentoToggle: Nt
1125
1196
  },
1126
1197
  props: {
1127
1198
  /**
@@ -1140,67 +1211,67 @@ const Pl = /* @__PURE__ */ x(El, [["render", Dl]]), Ul = {
1140
1211
  }
1141
1212
  },
1142
1213
  emits: ["visible-column", "updated-column"],
1143
- setup(e, { emit: l }) {
1144
- const o = w(!1), t = R(() => {
1145
- var g;
1146
- return (g = e.column) == null ? void 0 : g.frozen;
1147
- }), _ = R(() => {
1148
- var g;
1149
- return ((g = e.column) == null ? void 0 : g.visible) !== !1;
1150
- }), s = () => {
1151
- l("visible-column", { ...e.column, visible: !_.value });
1152
- }, E = () => {
1153
- l("updated-column", { ...e.column, frozen: !t.value });
1214
+ setup(e, { emit: a }) {
1215
+ const o = $(!1), t = A(() => {
1216
+ var f;
1217
+ return (f = e.column) == null ? void 0 : f.frozen;
1218
+ }), r = A(() => {
1219
+ var f;
1220
+ return ((f = e.column) == null ? void 0 : f.visible) !== !1;
1221
+ }), i = () => {
1222
+ a("visible-column", { ...e.column, visible: !r.value });
1223
+ }, v = () => {
1224
+ a("updated-column", { ...e.column, frozen: !t.value });
1154
1225
  }, p = () => {
1155
1226
  t.value || (o.value = !0);
1156
1227
  }, m = () => {
1157
1228
  t.value || (o.value = !1);
1158
- }, I = R(() => ({
1229
+ }, L = A(() => ({
1159
1230
  ["b-data-grid-config-settings-column-row__freeze-icon--frozen"]: t.value
1160
1231
  }));
1161
1232
  return {
1162
1233
  // Values
1163
1234
  isFreezeIconOptionShown: o,
1164
1235
  isColumnFrozen: t,
1165
- freezeIconConditionalClasses: I,
1166
- isColumnVisible: _,
1236
+ freezeIconConditionalClasses: L,
1237
+ isColumnVisible: r,
1167
1238
  // Methods
1168
- toggleColumnVisibility: s,
1239
+ toggleColumnVisibility: i,
1169
1240
  showFreezeIcon: p,
1170
1241
  hideFreezeIcon: m,
1171
- toggleColumnFreeze: E
1242
+ toggleColumnFreeze: v
1172
1243
  };
1173
1244
  }
1174
1245
  });
1175
- function kl(e, l, o, t, _, s) {
1176
- const E = X("bento-toggle"), p = X("bento-freeze-icon");
1177
- return r(), b("div", {
1246
+ function Hs(e, a, o, t, r, i) {
1247
+ const v = Q("bento-toggle"), p = Q("bento-freeze-icon");
1248
+ return u(), b("div", {
1178
1249
  class: "b-data-grid-config-settings-column-row",
1179
- onMouseover: l[0] || (l[0] = (...m) => e.showFreezeIcon && e.showFreezeIcon(...m)),
1180
- onMouseleave: l[1] || (l[1] = (...m) => e.hideFreezeIcon && e.hideFreezeIcon(...m))
1250
+ onMouseover: a[0] || (a[0] = (...m) => e.showFreezeIcon && e.showFreezeIcon(...m)),
1251
+ onMouseleave: a[1] || (a[1] = (...m) => e.hideFreezeIcon && e.hideFreezeIcon(...m))
1181
1252
  }, [
1182
- W(E, {
1253
+ W(v, {
1183
1254
  "aria-label": e.$t("toggleColumnVisibility", { label: e.column.label }),
1184
1255
  disabled: e.isColumnVisibilityToggleDisabled,
1185
1256
  "label-position": "after",
1186
1257
  value: e.isColumnVisible,
1187
1258
  onInput: e.toggleColumnVisibility
1188
1259
  }, {
1189
- default: k(() => [
1190
- Z(G(e.column.label), 1)
1260
+ default: P(() => [
1261
+ Z(V(e.column.label), 1)
1191
1262
  ]),
1192
1263
  _: 1
1193
1264
  }, 8, ["aria-label", "disabled", "value", "onInput"]),
1194
- vt(W(p, {
1265
+ It(W(p, {
1195
1266
  "aria-label": e.$t("toggleColumnFreeze", { label: e.column.label }),
1196
- class: se(["b-data-grid-config-settings-column-row__freeze-icon", e.freezeIconConditionalClasses]),
1267
+ class: oe(["b-data-grid-config-settings-column-row__freeze-icon", e.freezeIconConditionalClasses]),
1197
1268
  onClick: e.toggleColumnFreeze
1198
1269
  }, null, 8, ["aria-label", "class", "onClick"]), [
1199
- [mn, e.isColumnFrozen || e.isFreezeIconOptionShown]
1270
+ [pn, e.isColumnFrozen || e.isFreezeIconOptionShown]
1200
1271
  ])
1201
1272
  ], 32);
1202
1273
  }
1203
- const zl = /* @__PURE__ */ x(Ml, [["render", kl], ["__scopeId", "data-v-3ce82b51"]]), Fl = {
1274
+ const Bs = /* @__PURE__ */ B(Ws, [["render", Hs], ["__scopeId", "data-v-3ce82b51"]]), xs = {
1204
1275
  "en-US": {
1205
1276
  closeConfigSettingsPanel: "Close configuration settings panel",
1206
1277
  configSettingsPanel: "Configuration settings Panel",
@@ -1216,22 +1287,22 @@ const zl = /* @__PURE__ */ x(Ml, [["render", kl], ["__scopeId", "data-v-3ce82b51
1216
1287
  closeSearch: "Close search",
1217
1288
  noColumnsMatch: "No columns match this search"
1218
1289
  }
1219
- }, Gl = ue({
1220
- i18n: { messages: Fl },
1290
+ }, Zs = me({
1291
+ i18n: { messages: xs },
1221
1292
  name: "bento-data-grid",
1222
1293
  components: {
1223
- BentoButton: St,
1224
- BentoCrossIcon: Nn,
1225
- BentoPopover: Rn,
1226
- BentoSettingsIcon: Pl,
1227
- BentoToggleButton: Et,
1228
- BentoDataGridConfigSettingsConfigRow: zl,
1229
- BentoSearchBar: wn,
1230
- BentoSearchIcon: Dn,
1231
- BentoToggle: bt,
1232
- BentoTypography: De
1294
+ BentoButton: wt,
1295
+ BentoCrossIcon: Pn,
1296
+ BentoPopover: Nn,
1297
+ BentoSettingsIcon: Gs,
1298
+ BentoToggleButton: Dt,
1299
+ BentoDataGridConfigSettingsConfigRow: Bs,
1300
+ BentoSearchBar: Dn,
1301
+ BentoSearchIcon: kn,
1302
+ BentoToggle: Nt,
1303
+ BentoTypography: Ve
1233
1304
  },
1234
- directives: { BentoClickOutsideDirective: Tn },
1305
+ directives: { BentoClickOutsideDirective: Mn },
1235
1306
  props: {
1236
1307
  /**
1237
1308
  * Column definitions
@@ -1248,88 +1319,88 @@ const zl = /* @__PURE__ */ x(Ml, [["render", kl], ["__scopeId", "data-v-3ce82b51
1248
1319
  default: !1
1249
1320
  }
1250
1321
  },
1251
- emits: [ae.CONFIG_SETTINGS, ae.UPDATE_COLUMNS],
1252
- setup(e, { emit: l }) {
1253
- const o = w(null), t = Pn("data-grid-config-settings-popover"), _ = w(null), s = w(!1), E = w(!0), p = w(""), m = ht(e, "columns"), I = w(!1), g = On(p, m), u = () => {
1322
+ emits: [ce.CONFIG_SETTINGS, ce.UPDATE_COLUMNS],
1323
+ setup(e, { emit: a }) {
1324
+ const o = $(null), t = zn("data-grid-config-settings-popover"), r = $(null), i = $(!1), v = $(!0), p = $(""), m = Rt(e, "columns"), L = $(!1), f = Un(p, m), g = () => {
1254
1325
  p.value = "";
1255
- }, c = R(
1256
- () => !e.columns.some((A) => A.visible === !1 && !A.mandatory)
1257
- ), a = () => {
1258
- u(), I.value = !I.value, I.value && ee(() => {
1259
- var A;
1260
- return (A = _.value.bentoInputField) == null ? void 0 : A.focusInput();
1261
- }), E.value = c.value;
1262
- }, i = (A) => A.mandatory ?? !1, f = (A) => {
1263
- const T = e.columns.map((F) => ({
1264
- ...F,
1265
- visible: A.field === F.field ? A.visible : F.visible
1326
+ }, c = A(
1327
+ () => !e.columns.some((O) => O.visible === !1 && !O.mandatory)
1328
+ ), d = () => {
1329
+ g(), L.value = !L.value, L.value && le(() => {
1330
+ var O;
1331
+ return (O = r.value.bentoInputField) == null ? void 0 : O.focusInput();
1332
+ }), v.value = c.value;
1333
+ }, s = (O) => O.mandatory ?? !1, C = (O) => {
1334
+ const D = e.columns.map((k) => ({
1335
+ ...k,
1336
+ visible: O.field === k.field ? O.visible : k.visible
1266
1337
  }));
1267
- l(ae.UPDATE_COLUMNS, T);
1268
- }, C = (A) => {
1269
- A ? l(
1270
- ae.UPDATE_COLUMNS,
1271
- e.columns.map((T) => ({ ...T, visible: !0 }))
1272
- ) : l(
1273
- ae.UPDATE_COLUMNS,
1274
- e.columns.map((T) => ({ ...T, visible: (T == null ? void 0 : T.mandatory) === !0 }))
1338
+ a(ce.UPDATE_COLUMNS, D);
1339
+ }, _ = (O) => {
1340
+ O ? a(
1341
+ ce.UPDATE_COLUMNS,
1342
+ e.columns.map((D) => ({ ...D, visible: !0 }))
1343
+ ) : a(
1344
+ ce.UPDATE_COLUMNS,
1345
+ e.columns.map((D) => ({ ...D, visible: (D == null ? void 0 : D.mandatory) === !0 }))
1275
1346
  );
1276
- }, y = (A) => {
1277
- const T = e.columns.map((F) => ({
1278
- ...F,
1279
- frozen: A.field === F.field ? !!(A != null && A.frozen) : !!(F != null && F.frozen)
1347
+ }, h = (O) => {
1348
+ const D = e.columns.map((k) => ({
1349
+ ...k,
1350
+ frozen: O.field === k.field ? !!(O != null && O.frozen) : !!(k != null && k.frozen)
1280
1351
  }));
1281
- l(ae.UPDATE_COLUMNS, T);
1282
- }, v = (A) => {
1283
- s.value = A, E.value = c.value;
1352
+ a(ce.UPDATE_COLUMNS, D);
1353
+ }, R = (O) => {
1354
+ i.value = O, v.value = c.value;
1284
1355
  };
1285
1356
  return {
1286
1357
  // Values
1287
1358
  configSettingsButtonRef: o,
1288
1359
  popoverId: t,
1289
- isConfigSettingsPanelOpen: s,
1290
- allColumnsVisbilityToggleState: E,
1291
- filteredColumnVisibilityColumns: g,
1360
+ isConfigSettingsPanelOpen: i,
1361
+ allColumnsVisbilityToggleState: v,
1362
+ filteredColumnVisibilityColumns: f,
1292
1363
  searchTerm: p,
1293
- isColumnVisibilityFilterShown: I,
1294
- searchBarRef: _,
1295
- DATAGRID_SELECT_FIELD_NAME: Ce,
1364
+ isColumnVisibilityFilterShown: L,
1365
+ searchBarRef: r,
1366
+ DATAGRID_SELECT_FIELD_NAME: he,
1296
1367
  // Methods
1297
- setConfigSettingsPanelVisibility: v,
1298
- emitCondensedToggle: (A) => l(ae.CONFIG_SETTINGS, A),
1299
- toggleAllColumnVisibility: C,
1300
- clearAction: u,
1301
- toggleColumnFilter: a,
1302
- emitVisibleColumns: f,
1303
- emitFrozenColumns: y,
1304
- onClickOutside: () => v(!1),
1305
- isColumnVisibilityToggleDisabled: i
1368
+ setConfigSettingsPanelVisibility: R,
1369
+ emitCondensedToggle: (O) => a(ce.CONFIG_SETTINGS, O),
1370
+ toggleAllColumnVisibility: _,
1371
+ clearAction: g,
1372
+ toggleColumnFilter: d,
1373
+ emitVisibleColumns: C,
1374
+ emitFrozenColumns: h,
1375
+ onClickOutside: () => R(!1),
1376
+ isColumnVisibilityToggleDisabled: s
1306
1377
  };
1307
1378
  }
1308
1379
  });
1309
- const Wl = { class: "b-data-grid-config-settings" }, Vl = { class: "b-data-grid-config-settings__button-and-separator" }, Hl = {
1380
+ const js = { class: "b-data-grid-config-settings" }, qs = { class: "b-data-grid-config-settings__button-and-separator" }, Ys = {
1310
1381
  ref: "configSettingsButtonRef",
1311
1382
  class: "b-data-grid-config-settings__button-container"
1312
- }, Bl = { class: "b-data-grid-config-settings__panel-header" }, xl = { class: "b-data-grid-config-settings__condensed-view-settings" }, Zl = { class: "b-data-grid-config-settings__column-visibility-settings" }, jl = { class: "b-data-grid-config-settings__column-visibility-header" }, ql = {
1383
+ }, Xs = { class: "b-data-grid-config-settings__panel-header" }, Ks = { class: "b-data-grid-config-settings__condensed-view-settings" }, Js = { class: "b-data-grid-config-settings__column-visibility-settings" }, Qs = { class: "b-data-grid-config-settings__column-visibility-header" }, eo = {
1313
1384
  key: 0,
1314
1385
  class: "b-data-grid-config-settings__column-visibility-search"
1315
- }, Yl = {
1386
+ }, to = {
1316
1387
  key: 1,
1317
1388
  class: "b-data-grid-config-settings__column-visibility-show-all"
1318
- }, Xl = { class: "b-data-grid-config-settings__column-visibility-toggles" };
1319
- function Kl(e, l, o, t, _, s) {
1320
- const E = X("bento-settings-icon"), p = X("bento-toggle-button"), m = X("bento-typography"), I = X("bento-cross-icon"), g = X("bento-button"), u = X("bento-toggle"), c = X("bento-search-icon"), a = X("bento-search-bar"), i = X("bento-data-grid-config-settings-config-row"), f = X("bento-popover"), C = Cn("bento-click-outside-directive");
1321
- return vt((r(), b("div", Wl, [
1322
- L("div", Vl, [
1323
- L("div", Hl, [
1389
+ }, no = { class: "b-data-grid-config-settings__column-visibility-toggles" };
1390
+ function lo(e, a, o, t, r, i) {
1391
+ const v = Q("bento-settings-icon"), p = Q("bento-toggle-button"), m = Q("bento-typography"), L = Q("bento-cross-icon"), f = Q("bento-button"), g = Q("bento-toggle"), c = Q("bento-search-icon"), d = Q("bento-search-bar"), s = Q("bento-data-grid-config-settings-config-row"), C = Q("bento-popover"), _ = Ln("bento-click-outside-directive");
1392
+ return It((u(), b("div", js, [
1393
+ y("div", qs, [
1394
+ y("div", Ys, [
1324
1395
  W(p, {
1325
1396
  "aria-controls": e.isConfigSettingsPanelOpen ? e.popoverId : null,
1326
1397
  variant: "tertiary",
1327
1398
  condensed: "",
1328
1399
  toggled: e.isConfigSettingsPanelOpen,
1329
- onClick: l[0] || (l[0] = (y) => e.setConfigSettingsPanelVisibility(!e.isConfigSettingsPanelOpen))
1400
+ onClick: a[0] || (a[0] = (h) => e.setConfigSettingsPanelVisibility(!e.isConfigSettingsPanelOpen))
1330
1401
  }, {
1331
- iconLeft: k(() => [
1332
- W(E, {
1402
+ iconLeft: P(() => [
1403
+ W(v, {
1333
1404
  "svg-title": e.$t("toggleConfigSettingsPanelVisibility")
1334
1405
  }, null, 8, ["svg-title"])
1335
1406
  ]),
@@ -1337,7 +1408,7 @@ function Kl(e, l, o, t, _, s) {
1337
1408
  }, 8, ["aria-controls", "toggled"])
1338
1409
  ], 512)
1339
1410
  ]),
1340
- e.configSettingsButtonRef ? (r(), U(f, {
1411
+ e.configSettingsButtonRef ? (u(), M(C, {
1341
1412
  key: 0,
1342
1413
  id: e.popoverId,
1343
1414
  open: e.isConfigSettingsPanelOpen,
@@ -1346,143 +1417,143 @@ function Kl(e, l, o, t, _, s) {
1346
1417
  "target-element": e.configSettingsButtonRef,
1347
1418
  position: "bottom-end"
1348
1419
  }, {
1349
- default: k(() => [
1350
- L("div", Bl, [
1420
+ default: P(() => [
1421
+ y("div", Xs, [
1351
1422
  W(m, {
1352
1423
  el: "span",
1353
1424
  strongest: ""
1354
1425
  }, {
1355
- default: k(() => [
1356
- Z(G(e.$t("displayOptions")), 1)
1426
+ default: P(() => [
1427
+ Z(V(e.$t("displayOptions")), 1)
1357
1428
  ]),
1358
1429
  _: 1
1359
1430
  }),
1360
- W(g, {
1431
+ W(f, {
1361
1432
  variant: "tertiary",
1362
- onClick: l[1] || (l[1] = (y) => e.setConfigSettingsPanelVisibility(!1))
1433
+ onClick: a[1] || (a[1] = (h) => e.setConfigSettingsPanelVisibility(!1))
1363
1434
  }, {
1364
- iconLeft: k(() => [
1365
- W(I, {
1435
+ iconLeft: P(() => [
1436
+ W(L, {
1366
1437
  "svg-title": e.$t("closeConfigSettingsPanel")
1367
1438
  }, null, 8, ["svg-title"])
1368
1439
  ]),
1369
1440
  _: 1
1370
1441
  })
1371
1442
  ]),
1372
- L("div", xl, [
1443
+ y("div", Ks, [
1373
1444
  W(m, {
1374
1445
  class: "b-data-grid-config-settings__condensed-view-title",
1375
1446
  el: "span",
1376
1447
  stronger: ""
1377
1448
  }, {
1378
- default: k(() => [
1379
- Z(G(e.$t("size")), 1)
1449
+ default: P(() => [
1450
+ Z(V(e.$t("size")), 1)
1380
1451
  ]),
1381
1452
  _: 1
1382
1453
  }),
1383
- W(u, {
1454
+ W(g, {
1384
1455
  "label-position": "after",
1385
1456
  "aria-label": e.$t("condensedToggle"),
1386
1457
  value: e.condensed,
1387
1458
  onInput: e.emitCondensedToggle
1388
1459
  }, {
1389
- default: k(() => [
1390
- Z(G(e.$t("condensed")), 1)
1460
+ default: P(() => [
1461
+ Z(V(e.$t("condensed")), 1)
1391
1462
  ]),
1392
1463
  _: 1
1393
1464
  }, 8, ["aria-label", "value", "onInput"])
1394
1465
  ]),
1395
- L("div", Zl, [
1396
- L("div", jl, [
1466
+ y("div", Js, [
1467
+ y("div", Qs, [
1397
1468
  W(m, {
1398
1469
  class: "b-data-grid-config-settings__column-visibility-title",
1399
1470
  el: "span",
1400
1471
  stronger: ""
1401
1472
  }, {
1402
- default: k(() => [
1403
- Z(G(e.$t("columns")), 1)
1473
+ default: P(() => [
1474
+ Z(V(e.$t("columns")), 1)
1404
1475
  ]),
1405
1476
  _: 1
1406
1477
  }),
1407
- e.isColumnVisibilityFilterShown ? (r(), U(g, {
1478
+ e.isColumnVisibilityFilterShown ? (u(), M(f, {
1408
1479
  key: 1,
1409
1480
  variant: "tertiary",
1410
1481
  onClick: e.toggleColumnFilter
1411
1482
  }, {
1412
- iconLeft: k(() => [
1413
- W(I)
1483
+ iconLeft: P(() => [
1484
+ W(L)
1414
1485
  ]),
1415
- default: k(() => [
1416
- Z(" " + G(e.$t("closeSearch")), 1)
1486
+ default: P(() => [
1487
+ Z(" " + V(e.$t("closeSearch")), 1)
1417
1488
  ]),
1418
1489
  _: 1
1419
- }, 8, ["onClick"])) : (r(), U(g, {
1490
+ }, 8, ["onClick"])) : (u(), M(f, {
1420
1491
  key: 0,
1421
1492
  variant: "tertiary",
1422
1493
  onClick: e.toggleColumnFilter
1423
1494
  }, {
1424
- iconLeft: k(() => [
1495
+ iconLeft: P(() => [
1425
1496
  W(c)
1426
1497
  ]),
1427
- default: k(() => [
1428
- Z(" " + G(e.$t("search")), 1)
1498
+ default: P(() => [
1499
+ Z(" " + V(e.$t("search")), 1)
1429
1500
  ]),
1430
1501
  _: 1
1431
1502
  }, 8, ["onClick"]))
1432
1503
  ]),
1433
- e.isColumnVisibilityFilterShown ? (r(), b("div", ql, [
1434
- W(a, {
1504
+ e.isColumnVisibilityFilterShown ? (u(), b("div", eo, [
1505
+ W(d, {
1435
1506
  ref: "searchBarRef",
1436
1507
  value: e.searchTerm,
1437
1508
  "input-field-aria-label": e.$t("columnVisibilitySearchFilter").toString(),
1438
- onInput: l[2] || (l[2] = (y) => e.searchTerm = y),
1509
+ onInput: a[2] || (a[2] = (h) => e.searchTerm = h),
1439
1510
  onClear: e.clearAction,
1440
- onEscapePressed: l[3] || (l[3] = (y) => e.toggleColumnFilter())
1511
+ onEscapePressed: a[3] || (a[3] = (h) => e.toggleColumnFilter())
1441
1512
  }, null, 8, ["value", "input-field-aria-label", "onClear"])
1442
- ])) : (r(), b("div", Yl, [
1443
- W(u, {
1513
+ ])) : (u(), b("div", to, [
1514
+ W(g, {
1444
1515
  "label-position": "after",
1445
1516
  value: e.allColumnsVisbilityToggleState,
1446
1517
  onInput: e.toggleAllColumnVisibility
1447
1518
  }, {
1448
- default: k(() => [
1449
- Z(G(e.$t("showAllColumns", { numberOfColumns: e.columns.length })), 1)
1519
+ default: P(() => [
1520
+ Z(V(e.$t("showAllColumns", { numberOfColumns: e.columns.length })), 1)
1450
1521
  ]),
1451
1522
  _: 1
1452
1523
  }, 8, ["value", "onInput"])
1453
1524
  ])),
1454
- L("div", Xl, [
1455
- (r(!0), b(Q, null, le(e.filteredColumnVisibilityColumns, (y) => (r(), b("div", {
1456
- key: y.field
1525
+ y("div", no, [
1526
+ (u(!0), b(ne, null, re(e.filteredColumnVisibilityColumns, (h) => (u(), b("div", {
1527
+ key: h.field
1457
1528
  }, [
1458
- y.field !== e.DATAGRID_SELECT_FIELD_NAME ? (r(), U(i, {
1529
+ h.field !== e.DATAGRID_SELECT_FIELD_NAME ? (u(), M(s, {
1459
1530
  key: 0,
1460
- column: y,
1461
- "is-column-visibility-toggle-disabled": e.isColumnVisibilityToggleDisabled(y),
1531
+ column: h,
1532
+ "is-column-visibility-toggle-disabled": e.isColumnVisibilityToggleDisabled(h),
1462
1533
  onVisibleColumn: e.emitVisibleColumns,
1463
1534
  onUpdatedColumn: e.emitFrozenColumns
1464
- }, null, 8, ["column", "is-column-visibility-toggle-disabled", "onVisibleColumn", "onUpdatedColumn"])) : D("", !0)
1535
+ }, null, 8, ["column", "is-column-visibility-toggle-disabled", "onVisibleColumn", "onUpdatedColumn"])) : U("", !0)
1465
1536
  ]))), 128)),
1466
- e.filteredColumnVisibilityColumns.length === 0 ? (r(), U(m, {
1537
+ e.filteredColumnVisibilityColumns.length === 0 ? (u(), M(m, {
1467
1538
  key: 0,
1468
1539
  el: "span",
1469
1540
  class: "b-data-grid-config-settings__column-visibility-empty-search-message"
1470
1541
  }, {
1471
- default: k(() => [
1472
- Z(G(e.$t("noColumnsMatch")), 1)
1542
+ default: P(() => [
1543
+ Z(V(e.$t("noColumnsMatch")), 1)
1473
1544
  ]),
1474
1545
  _: 1
1475
- })) : D("", !0)
1546
+ })) : U("", !0)
1476
1547
  ])
1477
1548
  ])
1478
1549
  ]),
1479
1550
  _: 1
1480
- }, 8, ["id", "open", "aria-label", "target-element"])) : D("", !0)
1551
+ }, 8, ["id", "open", "aria-label", "target-element"])) : U("", !0)
1481
1552
  ])), [
1482
- [C, e.onClickOutside]
1553
+ [_, e.onClickOutside]
1483
1554
  ]);
1484
1555
  }
1485
- const Jl = /* @__PURE__ */ x(Gl, [["render", Kl], ["__scopeId", "data-v-2bbfb65d"]]), Be = {
1556
+ const so = /* @__PURE__ */ B(Zs, [["render", lo], ["__scopeId", "data-v-2bbfb65d"]]), Qe = {
1486
1557
  "en-US": {
1487
1558
  gettingYourData: "Getting your data",
1488
1559
  loading: "Loading",
@@ -1492,79 +1563,79 @@ const Jl = /* @__PURE__ */ x(Gl, [["render", Kl], ["__scopeId", "data-v-2bbfb65d
1492
1563
  sortInactive: "{field} sort inactive",
1493
1564
  selectRow: "Select row"
1494
1565
  }
1495
- }, Ql = { class: "b-data-grid-lazy-load" }, ei = {
1496
- i18n: { messages: Be }
1497
- }, ti = /* @__PURE__ */ ue({
1498
- ...ei,
1566
+ }, oo = { class: "b-data-grid-lazy-load" }, io = {
1567
+ i18n: { messages: Qe }
1568
+ }, ao = /* @__PURE__ */ me({
1569
+ ...io,
1499
1570
  __name: "data-grid-lazy-load",
1500
1571
  props: {
1501
1572
  loading: { type: Boolean },
1502
1573
  isInfiniteScroll: { type: Boolean }
1503
1574
  },
1504
1575
  setup(e) {
1505
- return (l, o) => (r(), b("div", Ql, [
1506
- e.loading && e.isInfiniteScroll ? (r(), U(n(pt), { key: 0 })) : D("", !0),
1507
- e.loading && !e.isInfiniteScroll ? (r(), U(n(nt), {
1576
+ return (a, o) => (u(), b("div", oo, [
1577
+ e.loading && e.isInfiniteScroll ? (u(), M(n($t), { key: 0 })) : U("", !0),
1578
+ e.loading && !e.isInfiniteScroll ? (u(), M(n(ct), {
1508
1579
  key: 1,
1509
1580
  variant: "secondary",
1510
- state: n(st).LOADING
1581
+ state: n(gt).LOADING
1511
1582
  }, {
1512
- default: k(() => [
1513
- Z(G(l.$t("loading")), 1)
1583
+ default: P(() => [
1584
+ Z(V(a.$t("loading")), 1)
1514
1585
  ]),
1515
1586
  _: 1
1516
- }, 8, ["state"])) : D("", !0),
1517
- !e.loading && !e.isInfiniteScroll ? (r(), U(n(nt), {
1587
+ }, 8, ["state"])) : U("", !0),
1588
+ !e.loading && !e.isInfiniteScroll ? (u(), M(n(ct), {
1518
1589
  key: 2,
1519
- state: n(st).START,
1590
+ state: n(gt).START,
1520
1591
  variant: "secondary",
1521
- onClick: o[0] || (o[0] = (t) => l.$emit(n($).UPDATE_SHOW_MORE))
1592
+ onClick: o[0] || (o[0] = (t) => a.$emit(n(I).UPDATE_SHOW_MORE))
1522
1593
  }, {
1523
- default: k(() => [
1524
- Z(G(l.$t("showMore")), 1)
1594
+ default: P(() => [
1595
+ Z(V(a.$t("showMore")), 1)
1525
1596
  ]),
1526
1597
  _: 1
1527
- }, 8, ["state"])) : D("", !0)
1598
+ }, 8, ["state"])) : U("", !0)
1528
1599
  ]));
1529
1600
  }
1530
1601
  });
1531
- const ni = /* @__PURE__ */ x(ti, [["__scopeId", "data-v-4b9efd59"]]);
1532
- let mt = 0;
1533
- const si = {
1602
+ const ro = /* @__PURE__ */ B(ao, [["__scopeId", "data-v-4b9efd59"]]);
1603
+ let Et = 0;
1604
+ const uo = {
1534
1605
  beforeCreate() {
1535
- this.uuid = mt.toString(), mt += 1;
1606
+ this.uuid = Et.toString(), Et += 1;
1536
1607
  }
1537
- }, li = { key: 0 }, ii = /* @__PURE__ */ L("path", {
1608
+ }, co = { key: 0 }, go = /* @__PURE__ */ y("path", {
1538
1609
  fill: "#00112C",
1539
1610
  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"
1540
1611
  }, null, -1);
1541
- function oi(e, l, o, t, _, s) {
1542
- return r(), b("svg", j({ role: "img" }, e.$attrs, {
1612
+ function fo(e, a, o, t, r, i) {
1613
+ return u(), b("svg", j({ role: "img" }, e.$attrs, {
1543
1614
  class: "ui-assets-icons-16",
1544
1615
  xmlns: "http://www.w3.org/2000/svg",
1545
1616
  width: "16",
1546
1617
  height: "16",
1547
1618
  fill: "none"
1548
1619
  }), [
1549
- e.$attrs["svg-title"] ? (r(), b("title", li, G(e.$attrs["svg-title"]), 1)) : D("", !0),
1550
- ii
1620
+ e.$attrs["svg-title"] ? (u(), b("title", co, V(e.$attrs["svg-title"]), 1)) : U("", !0),
1621
+ go
1551
1622
  ], 16);
1552
1623
  }
1553
- const ai = /* @__PURE__ */ x(si, [["render", oi]]), Rt = {
1624
+ const _o = /* @__PURE__ */ B(uo, [["render", fo]]), kt = {
1554
1625
  "en-US": {
1555
1626
  copy: "Copy",
1556
1627
  edit: "Edit",
1557
1628
  open: "Open",
1558
1629
  more: "More"
1559
1630
  }
1560
- }, ri = (e) => (hn("data-v-03db8696"), e = e(), pn(), e), di = { class: "b-data-grid-cell-actions" }, ci = /* @__PURE__ */ ri(() => /* @__PURE__ */ L("div", { class: "b-data-grid-cell-actions__background-gradient" }, null, -1)), ui = {
1631
+ }, mo = (e) => (Sn("data-v-03db8696"), e = e(), bn(), e), vo = { class: "b-data-grid-cell-actions" }, Co = /* @__PURE__ */ mo(() => /* @__PURE__ */ y("div", { class: "b-data-grid-cell-actions__background-gradient" }, null, -1)), ho = {
1561
1632
  class: "b-data-grid-cell-actions__actions",
1562
1633
  role: "group"
1563
- }, gi = {
1564
- i18n: { messages: Rt },
1634
+ }, po = {
1635
+ i18n: { messages: kt },
1565
1636
  name: "data-grid-cell-actions"
1566
- }, fi = /* @__PURE__ */ ue({
1567
- ...gi,
1637
+ }, Lo = /* @__PURE__ */ me({
1638
+ ...po,
1568
1639
  props: {
1569
1640
  /**
1570
1641
  * Column definitions using 'key' to relate to data object.
@@ -1590,14 +1661,14 @@ const ai = /* @__PURE__ */ x(si, [["render", oi]]), Rt = {
1590
1661
  }
1591
1662
  },
1592
1663
  setup(e) {
1593
- const l = e, { t: o } = Pe({ messages: Rt }), t = w(), _ = R(() => {
1594
- var g;
1595
- return ((g = l.cellActions) == null ? void 0 : g.length) > 2 && Lt(
1664
+ const a = e, { t: o } = We({ messages: kt }), t = $(), r = A(() => {
1665
+ var f;
1666
+ return ((f = a.cellActions) == null ? void 0 : f.length) > 2 && At(
1596
1667
  "WARNING: BentoDataGrid Cell actions can only have a maximum of 2 actions, if you need more consider using the menuData property instead."
1597
- ), l.cellActions.slice(0, 2);
1598
- }), s = R(() => (g, u) => {
1599
- if (!(!u && g.isShort || u && !g.isShort))
1600
- switch (g.variant) {
1668
+ ), a.cellActions.slice(0, 2);
1669
+ }), i = A(() => (f, g) => {
1670
+ if (!(!g && f.isShort || g && !f.isShort))
1671
+ switch (f.variant) {
1601
1672
  case "copy":
1602
1673
  return o("copy");
1603
1674
  case "edit":
@@ -1607,27 +1678,27 @@ const ai = /* @__PURE__ */ x(si, [["render", oi]]), Rt = {
1607
1678
  case "more":
1608
1679
  return o("more");
1609
1680
  default:
1610
- return g.title;
1681
+ return f.title;
1611
1682
  }
1612
- }), E = (g) => (g == null ? void 0 : g.event) !== void 0 ? {
1613
- click: () => g.event(l.rowDataItem, l.columnKey)
1614
- } : {}, p = (g) => {
1615
- var u, c;
1616
- return (g == null ? void 0 : g.getCopyData) !== void 0 ? g.getCopyData(l.rowDataItem, l.columnKey) : (c = (u = l.rowDataItem) == null ? void 0 : u[l.columnKey]) == null ? void 0 : c.toString();
1617
- }, m = (g) => g.iconRight || ((g == null ? void 0 : g.variant) === "more" || (g == null ? void 0 : g.variant) === "open") && !g.isShort, I = (g) => g.iconLeft || (g == null ? void 0 : g.variant) === "more";
1618
- return (g, u) => (r(), U(vn, {
1683
+ }), v = (f) => (f == null ? void 0 : f.event) !== void 0 ? {
1684
+ click: () => f.event(a.rowDataItem, a.columnKey)
1685
+ } : {}, p = (f) => {
1686
+ var g, c;
1687
+ return (f == null ? void 0 : f.getCopyData) !== void 0 ? f.getCopyData(a.rowDataItem, a.columnKey) : (c = (g = a.rowDataItem) == null ? void 0 : g[a.columnKey]) == null ? void 0 : c.toString();
1688
+ }, m = (f) => f.iconRight || ((f == null ? void 0 : f.variant) === "more" || (f == null ? void 0 : f.variant) === "open") && !f.isShort, L = (f) => f.iconLeft || (f == null ? void 0 : f.variant) === "more";
1689
+ return (f, g) => (u(), M(yn, {
1619
1690
  name: "b-data-grid-cell-actions__animation",
1620
1691
  appear: ""
1621
1692
  }, {
1622
- default: k(() => [
1623
- L("div", di, [
1624
- ci,
1625
- L("div", ui, [
1626
- (r(!0), b(Q, null, le(n(_), (c, a) => (r(), b("div", {
1627
- key: a,
1693
+ default: P(() => [
1694
+ y("div", vo, [
1695
+ Co,
1696
+ y("div", ho, [
1697
+ (u(!0), b(ne, null, re(n(r), (c, d) => (u(), b("div", {
1698
+ key: d,
1628
1699
  class: "b-data-grid-cell-actions__action"
1629
1700
  }, [
1630
- c.menuData ? (r(), U(n(Fe), {
1701
+ c.menuData ? (u(), M(n(qe), {
1631
1702
  key: 0,
1632
1703
  ref_for: !0,
1633
1704
  ref_key: "cellActionsMenu",
@@ -1638,63 +1709,63 @@ const ai = /* @__PURE__ */ x(si, [["render", oi]]), Rt = {
1638
1709
  variant: "secondary",
1639
1710
  disabled: c.disabled
1640
1711
  }
1641
- }, Te({ _: 2 }, [
1642
- I(c) ? {
1712
+ }, Fe({ _: 2 }, [
1713
+ L(c) ? {
1643
1714
  name: "iconLeft",
1644
- fn: k(() => [
1645
- (c == null ? void 0 : c.variant) === "more" ? (r(), U(n(Mn), {
1715
+ fn: P(() => [
1716
+ (c == null ? void 0 : c.variant) === "more" ? (u(), M(n(Gn), {
1646
1717
  key: 0,
1647
- "svg-title": n(s)(c, !0)
1648
- }, null, 8, ["svg-title"])) : (r(), U(Ae(c.iconLeft), {
1718
+ "svg-title": n(i)(c, !0)
1719
+ }, null, 8, ["svg-title"])) : (u(), M(Me(c.iconLeft), {
1649
1720
  key: 1,
1650
- "svg-title": n(s)(c, !0)
1721
+ "svg-title": n(i)(c, !0)
1651
1722
  }, null, 8, ["svg-title"]))
1652
1723
  ]),
1653
1724
  key: "0"
1654
1725
  } : void 0,
1655
1726
  c != null && c.isShort ? void 0 : {
1656
1727
  name: "default",
1657
- fn: k(() => [
1658
- Z(G(n(s)(c)), 1)
1728
+ fn: P(() => [
1729
+ Z(V(n(i)(c)), 1)
1659
1730
  ]),
1660
1731
  key: "1"
1661
1732
  },
1662
1733
  m(c) ? {
1663
1734
  name: "iconRight",
1664
- fn: k(() => [
1665
- (c == null ? void 0 : c.variant) === "open" ? (r(), U(n(tt), {
1735
+ fn: P(() => [
1736
+ (c == null ? void 0 : c.variant) === "open" ? (u(), M(n(ut), {
1666
1737
  key: 0,
1667
- "svg-title": n(s)(c, !0)
1668
- }, null, 8, ["svg-title"])) : (r(), U(Ae(c.iconRight), {
1738
+ "svg-title": n(i)(c, !0)
1739
+ }, null, 8, ["svg-title"])) : (u(), M(Me(c.iconRight), {
1669
1740
  key: 1,
1670
1741
  "svg-title": c.title
1671
1742
  }, null, 8, ["svg-title"]))
1672
1743
  ]),
1673
1744
  key: "2"
1674
1745
  } : void 0
1675
- ]), 1032, ["data", "button"])) : c.variant === "copy" ? (r(), U(n(zn), {
1746
+ ]), 1032, ["data", "button"])) : c.variant === "copy" ? (u(), M(n(Wn), {
1676
1747
  key: 1,
1677
1748
  text: p(c),
1678
- "button-text": n(s)(c),
1749
+ "button-text": n(i)(c),
1679
1750
  button: {
1680
1751
  condensed: !0,
1681
1752
  variant: "secondary"
1682
1753
  }
1683
- }, null, 8, ["text", "button-text"])) : (r(), U(n(St), j({
1754
+ }, null, 8, ["text", "button-text"])) : (u(), M(n(wt), j({
1684
1755
  key: 2,
1685
1756
  condensed: "",
1686
1757
  variant: "secondary",
1687
1758
  critical: c.critical,
1688
1759
  disabled: c.disabled,
1689
1760
  link: c.link
1690
- }, Ne(E(c))), Te({ _: 2 }, [
1761
+ }, Ge(v(c))), Fe({ _: 2 }, [
1691
1762
  c.iconLeft || c.variant === "edit" ? {
1692
1763
  name: "iconLeft",
1693
- fn: k(() => [
1694
- (c == null ? void 0 : c.variant) === "edit" ? (r(), U(n(ai), {
1764
+ fn: P(() => [
1765
+ (c == null ? void 0 : c.variant) === "edit" ? (u(), M(n(_o), {
1695
1766
  key: 0,
1696
- "svg-title": n(s)(c, !0)
1697
- }, null, 8, ["svg-title"])) : (r(), U(Ae(c.iconLeft), {
1767
+ "svg-title": n(i)(c, !0)
1768
+ }, null, 8, ["svg-title"])) : (u(), M(Me(c.iconLeft), {
1698
1769
  key: 1,
1699
1770
  "svg-title": c.title
1700
1771
  }, null, 8, ["svg-title"]))
@@ -1703,18 +1774,18 @@ const ai = /* @__PURE__ */ x(si, [["render", oi]]), Rt = {
1703
1774
  } : void 0,
1704
1775
  c != null && c.isShort ? void 0 : {
1705
1776
  name: "default",
1706
- fn: k(() => [
1707
- Z(G(n(s)(c)), 1)
1777
+ fn: P(() => [
1778
+ Z(V(n(i)(c)), 1)
1708
1779
  ]),
1709
1780
  key: "1"
1710
1781
  },
1711
1782
  c.iconRight || c.variant === "open" ? {
1712
1783
  name: "iconRight",
1713
- fn: k(() => [
1714
- (c == null ? void 0 : c.variant) === "open" ? (r(), U(n(tt), {
1784
+ fn: P(() => [
1785
+ (c == null ? void 0 : c.variant) === "open" ? (u(), M(n(ut), {
1715
1786
  key: 0,
1716
- "svg-title": n(s)(c, !0)
1717
- }, null, 8, ["svg-title"])) : (r(), U(Ae(c.iconRight), {
1787
+ "svg-title": n(i)(c, !0)
1788
+ }, null, 8, ["svg-title"])) : (u(), M(Me(c.iconRight), {
1718
1789
  key: 1,
1719
1790
  "svg-title": c.title
1720
1791
  }, null, 8, ["svg-title"]))
@@ -1730,20 +1801,20 @@ const ai = /* @__PURE__ */ x(si, [["render", oi]]), Rt = {
1730
1801
  }));
1731
1802
  }
1732
1803
  });
1733
- const _i = /* @__PURE__ */ x(fi, [["__scopeId", "data-v-03db8696"]]);
1734
- var ne = /* @__PURE__ */ ((e) => (e.PADDING_LEFT_UNSET = "padding-left-unset", e.PADDING_RIGHT_UNSET = "padding-right-unset", e.NUMERIC = "numeric", e.CONDENSED = "condensed", e.FROZEN = "frozen", e.OVERFLOW_ELLIPSIS = "overflow-ellipsis", 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))(ne || {});
1735
- const wt = {
1804
+ const yo = /* @__PURE__ */ B(Lo, [["__scopeId", "data-v-03db8696"]]);
1805
+ var X = /* @__PURE__ */ ((e) => (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.NUMERIC = "numeric", e.OVERFLOW_ELLIPSIS = "overflow-ellipsis", e.PADDING_LEFT_UNSET = "padding-left-unset", e.PADDING_RIGHT_UNSET = "padding-right-unset", e))(X || {});
1806
+ const zt = {
1736
1807
  "en-US": {
1737
1808
  selectRow: "Select row"
1738
1809
  }
1739
- }, mi = ["data-testid", "data-cellindex", "tabindex", "aria-colindex"], Ci = ["title"], vi = {
1810
+ }, So = ["data-testid", "data-cellindex", "tabindex", "aria-colindex"], bo = ["title"], Eo = {
1740
1811
  key: 0,
1741
1812
  class: "b-data-grid-cell__cell-actions"
1742
- }, hi = {
1743
- i18n: { messages: wt },
1813
+ }, Oo = {
1814
+ i18n: { messages: zt },
1744
1815
  name: "data-grid-cell"
1745
- }, pi = /* @__PURE__ */ ue({
1746
- ...hi,
1816
+ }, Io = /* @__PURE__ */ me({
1817
+ ...Oo,
1747
1818
  props: {
1748
1819
  draggingEventsForRowCell: {
1749
1820
  type: Function,
@@ -1793,6 +1864,13 @@ const wt = {
1793
1864
  type: Function,
1794
1865
  default: (e) => e.id
1795
1866
  },
1867
+ /**
1868
+ * The column hovered over state and whether the hovered over column should show a border right or left.
1869
+ */
1870
+ hoveredOverColumnState: {
1871
+ type: Object,
1872
+ required: !0
1873
+ },
1796
1874
  /**
1797
1875
  * A customisable method to determine if a row is not selectable.
1798
1876
  * The default is that every row is selectable.
@@ -1822,97 +1900,100 @@ const wt = {
1822
1900
  }
1823
1901
  },
1824
1902
  emits: ["on-frozen-columns-key-press", "select-row", "register-row-cell-element"],
1825
- setup(e, { expose: l, emit: o }) {
1826
- const t = e, { t: _ } = Pe({ messages: wt }), s = w(null), E = w(!1), p = (i, f) => (i == null ? void 0 : i.overflow) === Ge.ELLIPSIS ? `${f}` : void 0, m = (i) => i ?? "-", I = (i) => t.columnSets.slice(0, i).reduce((f, { columnSet: C }) => f + C.length, 0), g = (i, f) => i + I(f), u = (i, f, C) => I() * i + g(f, C), c = (i) => {
1827
- const f = {
1828
- ...t.draggingEventsForRowCell(i)
1829
- };
1830
- return i.frozen && (f.keyup = (C) => o("on-frozen-columns-key-press", C), f.keydown = (C) => o("on-frozen-columns-key-press", C)), i.cellActions && (f.mouseenter = () => {
1831
- E.value = !0;
1832
- }, f.mouseleave = () => {
1833
- E.value = !1;
1834
- }), f;
1835
- }, a = (i) => {
1836
- var f, C, y, v, P, M, A;
1903
+ setup(e, { expose: a, emit: o }) {
1904
+ const t = e, { t: r } = We({ messages: zt }), i = $(null), v = $(!1), p = (s, C) => (s == null ? void 0 : s.overflow) === Ye.ELLIPSIS ? `${C}` : void 0, m = (s) => s ?? "-", L = (s) => t.columnSets.slice(0, s).reduce((C, { columnSet: _ }) => C + _.length, 0), f = (s, C) => s + L(C), g = (s, C, _) => L() * s + f(C, _), c = (s) => {
1905
+ const _ = { ...{
1906
+ ...t.draggingEventsForRowCell(s)
1907
+ } };
1908
+ return s.frozen && (_.keyup = (h) => o("on-frozen-columns-key-press", h), _.keydown = (h) => o("on-frozen-columns-key-press", h)), s.cellActions && (_.mouseenter = () => {
1909
+ v.value = !0;
1910
+ }, _.mouseleave = () => {
1911
+ v.value = !1;
1912
+ }), _;
1913
+ }, d = (s) => {
1914
+ var C, _, h, R, E, w, O;
1837
1915
  return {
1838
- [`b-data-grid-cell--${ne.PADDING_LEFT_UNSET}`]: ((f = i == null ? void 0 : i.padding) == null ? void 0 : f.left) === !1,
1839
- [`b-data-grid-cell--${ne.PADDING_RIGHT_UNSET}`]: ((C = i == null ? void 0 : i.padding) == null ? void 0 : C.right) === !1,
1840
- [`b-data-grid-cell--${ne.NUMERIC}`]: i == null ? void 0 : i.numeric,
1841
- [`b-data-grid-cell--${ne.CONDENSED}`]: t.condensed,
1842
- [`b-data-grid-cell--${ne.FROZEN}`]: i == null ? void 0 : i.frozen,
1843
- [`b-data-grid-cell--${ne.OVERFLOW_ELLIPSIS}`]: (i == null ? void 0 : i.overflow) === Ge.ELLIPSIS,
1844
- [`b-data-grid-cell--${ne.IS_COLUMN_REORDERING}`]: ((y = t.draggingColumns.dragging) == null ? void 0 : y.field) === i.field,
1845
- [`b-data-grid-cell--${ne.IS_COLUMN_REORDERING_TARGET_LEFT}`]: ((v = t.draggingColumns.target) == null ? void 0 : v.field) === i.field && ((P = t.draggingColumns) == null ? void 0 : P.dragToLeft),
1846
- [`b-data-grid-cell--${ne.IS_COLUMN_REORDERING_TARGET_RIGHT}`]: ((M = t.draggingColumns.target) == null ? void 0 : M.field) === i.field && !((A = t.draggingColumns) != null && A.dragToLeft)
1916
+ [`b-data-grid-cell--${X.COLUMN_HOVERED}`]: (s == null ? void 0 : s.field) === t.hoveredOverColumnState.hoveredOverColumnField,
1917
+ [`b-data-grid-cell--${X.COLUMN_HOVERED_NO_BORDER_LEFT}`]: (s == null ? void 0 : s.field) === t.hoveredOverColumnState.hoveredOverColumnField && t.hoveredOverColumnState.noBorderLeft,
1918
+ [`b-data-grid-cell--${X.COLUMN_HOVERED_NO_BORDER_RIGHT}`]: (s == null ? void 0 : s.field) === t.hoveredOverColumnState.hoveredOverColumnField && t.hoveredOverColumnState.noBorderRight,
1919
+ [`b-data-grid-cell--${X.PADDING_LEFT_UNSET}`]: ((C = s == null ? void 0 : s.padding) == null ? void 0 : C.left) === !1,
1920
+ [`b-data-grid-cell--${X.PADDING_RIGHT_UNSET}`]: ((_ = s == null ? void 0 : s.padding) == null ? void 0 : _.right) === !1,
1921
+ [`b-data-grid-cell--${X.NUMERIC}`]: s == null ? void 0 : s.numeric,
1922
+ [`b-data-grid-cell--${X.CONDENSED}`]: t.condensed,
1923
+ [`b-data-grid-cell--${X.OVERFLOW_ELLIPSIS}`]: (s == null ? void 0 : s.overflow) === Ye.ELLIPSIS,
1924
+ [`b-data-grid-cell--${X.IS_COLUMN_REORDERING}`]: ((h = t.draggingColumns.dragging) == null ? void 0 : h.field) === s.field,
1925
+ [`b-data-grid-cell--${X.IS_COLUMN_REORDERING_TARGET_LEFT}`]: ((R = t.draggingColumns.target) == null ? void 0 : R.field) === s.field && ((E = t.draggingColumns) == null ? void 0 : E.dragToLeft),
1926
+ [`b-data-grid-cell--${X.IS_COLUMN_REORDERING_TARGET_RIGHT}`]: ((w = t.draggingColumns.target) == null ? void 0 : w.field) === s.field && !((O = t.draggingColumns) != null && O.dragToLeft),
1927
+ [`b-data-grid-cell--${X.FROZEN}`]: s == null ? void 0 : s.frozen
1847
1928
  };
1848
1929
  };
1849
- return l({
1850
- gridcellRef: s
1851
- }), (i, f) => {
1852
- var C;
1853
- return r(), b("div", j({
1930
+ return a({
1931
+ gridcellRef: i
1932
+ }), (s, C) => {
1933
+ var _;
1934
+ return u(), b("div", j({
1854
1935
  key: `cell-${e.column.field}`,
1855
1936
  ref_key: "gridcellRef",
1856
- ref: s,
1937
+ ref: i,
1857
1938
  "data-testid": `cell-${e.column.field}`,
1858
- "data-cellindex": u(e.rowIndex, e.colIndex, e.columnSetIndex),
1859
- class: ["b-data-grid-cell", a(e.column)],
1939
+ "data-cellindex": g(e.rowIndex, e.colIndex, e.columnSetIndex),
1940
+ class: ["b-data-grid-cell", d(e.column)],
1860
1941
  role: "gridcell",
1861
- tabindex: u(e.rowIndex, e.colIndex, e.columnSetIndex) === 0 ? "0" : "-1",
1862
- "aria-colindex": g(e.colIndex, e.columnSetIndex) + 1,
1942
+ tabindex: g(e.rowIndex, e.colIndex, e.columnSetIndex) === 0 ? "0" : "-1",
1943
+ "aria-colindex": f(e.colIndex, e.columnSetIndex) + 1,
1863
1944
  style: {
1864
1945
  width: e.column.autoWidth && e.isMeasuringColumnWidths ? "auto" : `${e.column.width}px`
1865
1946
  }
1866
- }, Ne(c(e.column), !0)), [
1867
- e.column.field !== n(Ce) ? (r(), b(Q, { key: 0 }, [
1868
- W(n(De), { el: "div" }, {
1869
- default: k(() => [
1870
- ge(i.$slots, `item-${e.column.field}`, { item: e.rowData }, () => [
1871
- L("span", {
1947
+ }, Ge(c(e.column), !0)), [
1948
+ e.column.field !== n(he) ? (u(), b(ne, { key: 0 }, [
1949
+ W(n(Ve), { el: "div" }, {
1950
+ default: P(() => [
1951
+ Ce(s.$slots, `item-${e.column.field}`, { item: e.rowData }, () => [
1952
+ y("span", {
1872
1953
  title: p(e.column, e.rowData[e.column.field])
1873
- }, G(m(e.rowData[e.column.field])), 9, Ci)
1954
+ }, V(m(e.rowData[e.column.field])), 9, bo)
1874
1955
  ], !0)
1875
1956
  ]),
1876
1957
  _: 3
1877
1958
  }),
1878
- ((C = e.column.cellActions) == null ? void 0 : C.length) > 0 ? (r(), b("div", vi, [
1879
- E.value ? (r(), U(_i, {
1959
+ ((_ = e.column.cellActions) == null ? void 0 : _.length) > 0 ? (u(), b("div", Eo, [
1960
+ v.value ? (u(), M(yo, {
1880
1961
  key: 0,
1881
1962
  "cell-actions": e.column.cellActions,
1882
1963
  "column-key": e.column.field,
1883
1964
  "row-data-item": e.rowData
1884
- }, null, 8, ["cell-actions", "column-key", "row-data-item"])) : D("", !0)
1885
- ])) : D("", !0)
1886
- ], 64)) : (r(), U(n(It), {
1965
+ }, null, 8, ["cell-actions", "column-key", "row-data-item"])) : U("", !0)
1966
+ ])) : U("", !0)
1967
+ ], 64)) : (u(), M(n(Ut), {
1887
1968
  key: 1,
1888
1969
  class: "b-data-grid-cell__select-cell",
1889
- "aria-label": n(_)("selectRow"),
1970
+ "aria-label": n(r)("selectRow"),
1890
1971
  "model-value": e.selectedItems,
1891
1972
  disabled: e.isDataItemDisabled(e.rowData),
1892
1973
  value: e.getDataItemId(e.rowData),
1893
- "onUpdate:modelValue": f[0] || (f[0] = (y) => i.$emit("select-row", y))
1974
+ "onUpdate:modelValue": C[0] || (C[0] = (h) => s.$emit("select-row", h))
1894
1975
  }, null, 8, ["aria-label", "model-value", "disabled", "value"]))
1895
- ], 16, mi);
1976
+ ], 16, So);
1896
1977
  };
1897
1978
  }
1898
1979
  });
1899
- const Li = /* @__PURE__ */ x(pi, [["__scopeId", "data-v-62f68b48"]]), yi = ["aria-rowcount", "aria-colcount", "aria-label"], Si = {
1980
+ const Ro = /* @__PURE__ */ B(Io, [["__scopeId", "data-v-5a4e31a1"]]), $o = ["aria-rowcount", "aria-colcount", "aria-label"], Ao = {
1900
1981
  key: 1,
1901
1982
  class: "b-data-grid__header"
1902
- }, bi = ["tabindex"], Ei = ["tabindex", "aria-busy"], Ii = {
1983
+ }, To = ["tabindex"], wo = ["tabindex", "aria-busy"], No = {
1903
1984
  key: 0,
1904
1985
  class: "b-data-grid__loading"
1905
- }, $i = {
1986
+ }, Do = {
1906
1987
  key: 1,
1907
1988
  class: "b-data-grid__empty-state"
1908
- }, Ai = ["aria-rowindex", "aria-selected", "onClick"], Ri = ["data-testid"], wi = {
1989
+ }, Uo = ["aria-rowindex", "aria-selected", "onClick"], Mo = ["data-testid"], Po = {
1909
1990
  key: 4,
1910
1991
  class: "b-data-grid__footer"
1911
- }, Oi = {
1912
- i18n: { messages: Be },
1992
+ }, ko = {
1993
+ i18n: { messages: Qe },
1913
1994
  name: "bento-data-grid"
1914
- }, Ti = /* @__PURE__ */ ue({
1915
- ...Oi,
1995
+ }, zo = /* @__PURE__ */ me({
1996
+ ...ko,
1916
1997
  props: {
1917
1998
  /**
1918
1999
  * When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
@@ -1973,7 +2054,7 @@ const Li = /* @__PURE__ */ x(pi, [["__scopeId", "data-v-62f68b48"]]), yi = ["ari
1973
2054
  * {@see BentoFilterBarModel}
1974
2055
  */
1975
2056
  filters: {
1976
- type: we.props.value.type,
2057
+ type: ke.props.value.type,
1977
2058
  default: void 0
1978
2059
  },
1979
2060
  /**
@@ -1981,14 +2062,14 @@ const Li = /* @__PURE__ */ x(pi, [["__scopeId", "data-v-62f68b48"]]), yi = ["ari
1981
2062
  * {@see BentoFilterValues}
1982
2063
  */
1983
2064
  filterValues: {
1984
- type: we.props.filterValues.type,
2065
+ type: ke.props.filterValues.type,
1985
2066
  default: () => []
1986
2067
  },
1987
2068
  /**
1988
2069
  * Filter bar search term useful to filter all the data by text
1989
2070
  */
1990
2071
  filterSearchTerm: {
1991
- type: we.props.searchTerm.type,
2072
+ type: ke.props.searchTerm.type,
1992
2073
  default: void 0
1993
2074
  },
1994
2075
  /**
@@ -2119,364 +2200,375 @@ const Li = /* @__PURE__ */ x(pi, [["__scopeId", "data-v-62f68b48"]]), yi = ["ari
2119
2200
  }
2120
2201
  },
2121
2202
  emits: [
2122
- $.COLUMNS,
2123
- $.COLUMN_RESIZE,
2124
- $.ITEMS_PAGE,
2125
- $.FILTER_SEARCH_INPUT,
2126
- $.FILTER_SEARCH_CLEAR,
2127
- $.NAVIGATE,
2128
- $.UPDATE_COLUMNS,
2129
- $.UPDATE_CONDENSED,
2130
- $.UPDATE_FILTER_VALUES,
2131
- $.UPDATE_FILTERS,
2132
- $.UPDATE_FILTER_SEARCH_TERM,
2133
- $.UPDATE_SHOW_MORE,
2134
- $.UPDATE_PAGINATION,
2135
- $.UPDATE_SELECTION,
2136
- $.UPDATE_SORT_BY,
2137
- $.ROW_CLICK,
2138
- $.SELECT,
2139
- $.SELECT_ALL_ACROSS_PAGES,
2140
- $.SORT
2203
+ I.COLUMNS,
2204
+ I.COLUMN_RESIZE,
2205
+ I.ITEMS_PAGE,
2206
+ I.FILTER_SEARCH_INPUT,
2207
+ I.FILTER_SEARCH_CLEAR,
2208
+ I.NAVIGATE,
2209
+ I.UPDATE_COLUMNS,
2210
+ I.UPDATE_CONDENSED,
2211
+ I.UPDATE_FILTER_VALUES,
2212
+ I.UPDATE_FILTERS,
2213
+ I.UPDATE_FILTER_SEARCH_TERM,
2214
+ I.UPDATE_SHOW_MORE,
2215
+ I.UPDATE_PAGINATION,
2216
+ I.UPDATE_SELECTION,
2217
+ I.UPDATE_SORT_BY,
2218
+ I.ROW_CLICK,
2219
+ I.SELECT,
2220
+ I.SELECT_ALL_ACROSS_PAGES,
2221
+ I.SORT
2141
2222
  ],
2142
- setup(e, { expose: l, emit: o }) {
2143
- const t = e, _ = Ln(), s = w(null), E = w(), p = w(null), m = w(null), I = w(), g = w(null), {
2144
- allowColumnDragAndDrop: u,
2223
+ setup(e, { expose: a, emit: o }) {
2224
+ const t = e, r = En(), i = $(null), v = $(), p = $(null), m = $(null), L = $(), f = $(null), {
2225
+ allowColumnDragAndDrop: g,
2145
2226
  columns: c,
2146
- data: a,
2147
- lazyLoadType: i,
2148
- selectable: f,
2149
- selection: C,
2150
- loading: y,
2151
- selectableAcrossPages: v
2152
- } = Ve(t), { t: P } = Pe({ messages: Be }), M = R(() => O.value.filter((S) => S.frozen).length), A = Je(
2153
- An,
2227
+ data: d,
2228
+ lazyLoadType: s,
2229
+ selectable: C,
2230
+ selection: _,
2231
+ loading: h,
2232
+ selectableAcrossPages: R,
2233
+ outline: E
2234
+ } = Ke(t), { t: w } = We({ messages: Qe }), O = A(() => x.value.filter((S) => S.frozen).length), D = at(
2235
+ wn,
2154
2236
  () => ({
2155
2237
  isDataGridTemplate: !1,
2156
- stickyTabs: w(!1),
2157
- tabsRef: w(null)
2238
+ stickyTabs: $(!1),
2239
+ tabsRef: $(null)
2158
2240
  })
2159
- ), { isDataGridTemplate: T, stickyTabs: F, tabsRef: te } = A(), d = R(() => t.fitContent || T ? 0 : null), {
2160
- columnDefs: O,
2161
- onColumnWidthOverride: h,
2162
- gridColumnWidthStyle: B,
2163
- isMeasuringColumnWidths: K,
2164
- columns: fe
2165
- } = Bn(c, a, s, p, {
2166
- hasSelectableColumn: f,
2167
- hasSelectableAcrossPages: v
2168
- }), H = (S, ...N) => {
2169
- (S === $.COLUMNS || S === $.UPDATE_COLUMNS) && ([fe.value] = N), o(S, ...N);
2170
- }, _e = it(te, F), ve = R(
2171
- () => t.stickyFilters ? `${_e.value}px` : null
2172
- ), he = it(m, ht(t, "stickyFilters")), pe = R(
2173
- () => `${he.value + _e.value}px`
2241
+ ), { isDataGridTemplate: k, stickyTabs: ee, tabsRef: se } = D(), ve = A(() => t.fitContent || k ? 0 : null), {
2242
+ columnDefs: x,
2243
+ onColumnWidthOverride: F,
2244
+ gridColumnWidthStyle: ae,
2245
+ isMeasuringColumnWidths: He,
2246
+ isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: Be,
2247
+ columns: Se
2248
+ } = qn(c, d, i, p, {
2249
+ hasSelectableColumn: C,
2250
+ hasSelectableAcrossPages: R
2251
+ }), l = (S, ...N) => {
2252
+ (S === I.COLUMNS || S === I.UPDATE_COLUMNS) && ([Se.value] = N), o(S, ...N);
2253
+ }, G = _t(se, ee), T = A(
2254
+ () => t.stickyFilters ? `${G.value}px` : null
2255
+ ), K = _t(m, Rt(t, "stickyFilters")), Y = A(
2256
+ () => `${K.value + G.value}px`
2174
2257
  ), {
2175
- sortedColumns: Ot,
2176
- columnSets: Le,
2177
- isOnlyOneVisibleColumn: Tt,
2178
- onConfigSettingsUpdate: Nt,
2179
- onConfigSettingsColumnsUpdate: Dt,
2180
- onConfigSettingsColumnUpdate: Pt
2181
- } = Kn(O, H), { draggingColumns: Ue, draggingEventsForColumns: Ut, draggingEventsForRowCell: Mt, onMoveColumnByOffset: kt } = Xn(Ot, u, H), { onAllRowSelect: xe, onRowSelect: zt, selectedItems: ye, allItemsSelectedState: Ft } = xn(
2258
+ sortedColumns: be,
2259
+ columnSets: de,
2260
+ isOnlyOneVisibleColumn: Ee,
2261
+ onConfigSettingsUpdate: Oe,
2262
+ onConfigSettingsColumnsUpdate: Ie,
2263
+ onConfigSettingsColumnUpdate: Re
2264
+ } = tl(x, l), { hoveredOverColumn: pe, hoveredOverColumnState: et } = ll(
2265
+ de,
2182
2266
  C,
2183
- H,
2184
- a,
2267
+ E,
2268
+ Be
2269
+ ), { draggingColumns: xe, draggingEventsForColumns: Ft, draggingEventsForRowCell: Gt, onMoveColumnByOffset: Vt } = el(be, g, l), { onAllRowSelect: tt, onRowSelect: Wt, selectedItems: $e, allItemsSelectedState: Ht } = Yn(
2270
+ _,
2271
+ l,
2272
+ d,
2185
2273
  t.getDataItemId,
2186
2274
  t.isDataItemDisabled
2187
- ), { navigationInput: Ze } = jn(p, c, f), { isLazyLoad: Se, isInfiniteScroll: Gt, verticalScrollPosition: Wt, emitLazyLoadEvent: Vt } = Yn(
2188
- i,
2189
- g,
2275
+ ), { navigationInput: nt } = Kn(p, c, C), { isLazyLoad: Ae, isInfiniteScroll: Bt, verticalScrollPosition: xt, emitLazyLoadEvent: Zt } = Qn(
2190
2276
  s,
2191
- y,
2192
- H
2193
- ), { updateScrollPosition: be, updateScrollPositionOnFrozenColumnsNavigation: Ht, hasLeftOverflow: Ee, hasRightOverflow: Bt } = Jn(s, E, Wt), xt = () => {
2194
- I.value.isClearAllVisible ? I.value.clearAllFilters() : I.value.isResetAllVisible && I.value.resetAllFilters();
2195
- }, Zt = R(() => {
2277
+ f,
2278
+ i,
2279
+ h,
2280
+ l
2281
+ ), { updateScrollPosition: Te, updateScrollPositionOnFrozenColumnsNavigation: jt, hasLeftOverflow: we, hasRightOverflow: qt } = nl(i, v, xt), Yt = () => {
2282
+ L.value.isClearAllVisible ? L.value.clearAllFilters() : L.value.isResetAllVisible && L.value.resetAllFilters();
2283
+ }, Xt = A(() => {
2196
2284
  var S, N;
2197
2285
  return {
2198
2286
  ...t.emptyState,
2199
2287
  variant: ((S = t.emptyState) == null ? void 0 : S.variant) === "embedded" || ((N = t.emptyState) == null ? void 0 : N.variant) === "basic" ? t.emptyState.variant : "basic"
2200
2288
  };
2201
- }), jt = R(() => ({
2202
- [`b-data-grid--${ce.OUTLINE}`]: t.outline,
2203
- [`b-data-grid--${ce.SCROLL}`]: t.fitContent || Se.value,
2204
- [`b-data-grid--${ce.STICKY_FILTERS}`]: t.filters && t.stickyFilters,
2205
- [`b-data-grid--${ce.OVERFLOW_SHADOW_LEFT}`]: Ee.value && !M.value,
2206
- [`b-data-grid--${ce.OVERFLOW_SHADOW_RIGHT}`]: Bt.value
2207
- })), qt = R(() => Le.value.findIndex((S) => S.columnSet.length)), Yt = (S) => {
2289
+ }), Kt = A(() => ({
2290
+ [`b-data-grid--${_e.OUTLINE}`]: t.outline,
2291
+ [`b-data-grid--${_e.SCROLL}`]: t.fitContent || Ae.value,
2292
+ [`b-data-grid--${_e.STICKY_FILTERS}`]: t.filters && t.stickyFilters,
2293
+ [`b-data-grid--${_e.OVERFLOW_SHADOW_LEFT}`]: we.value && !O.value,
2294
+ [`b-data-grid--${_e.OVERFLOW_SHADOW_RIGHT}`]: qt.value
2295
+ })), Jt = A(() => de.value.findIndex((S) => S.columnSet.length)), Qt = (S) => {
2208
2296
  var N;
2209
2297
  return {
2210
2298
  "b-data-grid__row--disabled": t.isDataItemDisabled(S),
2211
2299
  "b-data-grid__row--row-clicks-enabled": t.allowRowClicks,
2212
- "b-data-grid__cell--is-re-ordering": ((N = Ue.target) == null ? void 0 : N.field) !== void 0,
2213
- "b-data-grid__row--highlighted": t.highlightedRows.includes(t.getDataItemId(S)) || ye.value.includes(t.getDataItemId(S))
2300
+ "b-data-grid__cell--is-re-ordering": ((N = xe.target) == null ? void 0 : N.field) !== void 0,
2301
+ "b-data-grid__row--highlighted": t.highlightedRows.includes(t.getDataItemId(S)) || $e.value.includes(t.getDataItemId(S))
2214
2302
  };
2215
- }, je = R(() => !(t.selectable && M.value === 1) || Ee.value), Xt = (S) => ({
2303
+ }, lt = A(() => !(t.selectable && O.value === 1) || we.value), en = (S) => ({
2216
2304
  "b-data-grid__row-cell-set--frozen": S,
2217
- [`b-data-grid__row-cell-set--${ce.OVERFLOW_SHADOW_LEFT}`]: S && Ee.value,
2218
- "b-data-grid__row-cell-set--frozen-separator": S && je.value,
2305
+ [`b-data-grid__row-cell-set--${_e.OVERFLOW_SHADOW_LEFT}`]: S && we.value,
2306
+ "b-data-grid__row-cell-set--frozen-separator": S && lt.value,
2219
2307
  "b-data-grid__row-cell-set--unfrozen": !S
2220
- }), Kt = R(() => {
2221
- var S, N, de, z, Y, J;
2308
+ }), tn = A(() => {
2309
+ var S, N, fe, z, J, te;
2222
2310
  return {
2223
- "b-data-grid__pagination--padding-left-unset": ((de = (N = (S = t.columns) == null ? void 0 : S[0]) == null ? void 0 : N.padding) == null ? void 0 : de.left) === !1,
2224
- "b-data-grid__pagination--padding-right-unset": ((J = (Y = (z = t.columns) == null ? void 0 : z[t.columns.length - 1]) == null ? void 0 : Y.padding) == null ? void 0 : J.right) === !1,
2225
- "b-data-grid__pagination--sticky": !!t.stickyPagination || T
2311
+ "b-data-grid__pagination--padding-left-unset": ((fe = (N = (S = t.columns) == null ? void 0 : S[0]) == null ? void 0 : N.padding) == null ? void 0 : fe.left) === !1,
2312
+ "b-data-grid__pagination--padding-right-unset": ((te = (J = (z = t.columns) == null ? void 0 : z[t.columns.length - 1]) == null ? void 0 : J.padding) == null ? void 0 : te.right) === !1,
2313
+ "b-data-grid__pagination--sticky": !!t.stickyPagination || k
2226
2314
  };
2227
- }), Jt = (S, N, de) => {
2228
- var Y;
2315
+ }), nn = (S, N, fe) => {
2316
+ var J;
2229
2317
  const z = S;
2230
- ((Y = p.value) == null ? void 0 : Y[N]) === void 0 && (p.value = { ...p.value, [N]: [] }), S !== null && (z != null && z.gridcellRef) && (p.value[N][de] = z.gridcellRef);
2231
- }, Qt = (S, N) => {
2232
- t.allowRowClicks && H($.ROW_CLICK, S, N);
2233
- }, en = R(() => !!t.selectableAcrossPages && !!t.pagination), qe = bn({
2234
- label: _ != null && _.header ? En(_)("header") : null,
2318
+ ((J = p.value) == null ? void 0 : J[N]) === void 0 && (p.value = { ...p.value, [N]: [] }), S !== null && (z != null && z.gridcellRef) && (p.value[N][fe] = z.gridcellRef);
2319
+ }, ln = (S, N) => {
2320
+ t.allowRowClicks && l(I.ROW_CLICK, S, N);
2321
+ }, sn = A(() => !!t.selectableAcrossPages && !!t.pagination), st = Rn({
2322
+ label: r != null && r.header ? $n(r)("header") : null,
2235
2323
  defaultFallback: "data grid"
2236
- }), tn = (S) => {
2324
+ }), on = (S) => {
2237
2325
  if (!t.selectable)
2238
2326
  return null;
2239
2327
  const N = t.getDataItemId(S);
2240
- return ye.value.includes(N).toString();
2241
- }, Ye = R(() => {
2328
+ return $e.value.includes(N).toString();
2329
+ }, ot = A(() => {
2242
2330
  var S;
2243
- return ((S = ye.value) == null ? void 0 : S.length) ?? 0;
2244
- }), nn = R(() => t.bulkActions && Ye.value > 0), sn = (S) => H($.COLUMN_RESIZE, S), ln = (S) => {
2245
- H($.UPDATE_SORT_BY, S), H($.SORT, S);
2246
- }, on = (S, N) => {
2247
- H($.NAVIGATE, S), H($.UPDATE_PAGINATION, {
2331
+ return ((S = $e.value) == null ? void 0 : S.length) ?? 0;
2332
+ }), an = A(() => t.bulkActions && ot.value > 0), rn = (S) => l(I.COLUMN_RESIZE, S), dn = (S) => {
2333
+ l(I.UPDATE_SORT_BY, S), l(I.SORT, S);
2334
+ }, un = (S, N) => {
2335
+ l(I.NAVIGATE, S), l(I.UPDATE_PAGINATION, {
2248
2336
  ...t.pagination,
2249
2337
  size: N,
2250
2338
  page: S
2251
2339
  });
2252
- }, an = (S) => {
2253
- H($.ITEMS_PAGE, S);
2254
- }, rn = () => {
2255
- H($.FILTER_SEARCH_CLEAR);
2256
- }, dn = (S) => {
2257
- H($.UPDATE_FILTER_SEARCH_TERM, S), H($.FILTER_SEARCH_INPUT, S);
2340
+ }, cn = (S) => {
2341
+ l(I.ITEMS_PAGE, S);
2342
+ }, gn = () => {
2343
+ l(I.FILTER_SEARCH_CLEAR);
2344
+ }, fn = (S) => {
2345
+ l(I.UPDATE_FILTER_SEARCH_TERM, S), l(I.FILTER_SEARCH_INPUT, S);
2258
2346
  };
2259
- return R(() => c.value.some((S) => S.mandatory)).value || Lt(
2347
+ return A(() => c.value.some((S) => S.mandatory)).value || At(
2260
2348
  "WARNING: At least one BentoDataGrid column should be set as mandatory to ensure data is always displayed correctly."
2261
- ), Je($n, () => null)(t.tabTitle), l({ onEmptyStateClearResetButtonClick: xt }), (S, N) => {
2262
- var de;
2263
- return r(), b("div", {
2264
- class: se(["b-data-grid", n(jt)]),
2349
+ ), at(Tn, () => null)(t.tabTitle), a({ onEmptyStateClearResetButtonClick: Yt }), (S, N) => {
2350
+ var fe;
2351
+ return u(), b("div", {
2352
+ class: oe(["b-data-grid", n(Kt)]),
2265
2353
  role: "grid",
2266
- "aria-rowcount": n(a).length,
2354
+ "aria-rowcount": n(d).length,
2267
2355
  "aria-colcount": n(c).length,
2268
- "aria-label": n(qe)
2356
+ "aria-label": n(st)
2269
2357
  }, [
2270
- e.filters ? (r(), b("div", {
2358
+ e.filters ? (u(), b("div", {
2271
2359
  key: 0,
2272
2360
  ref_key: "filtersRef",
2273
2361
  ref: m,
2274
2362
  class: "b-data-grid__filters",
2275
- style: Re({ top: n(ve) })
2363
+ style: Pe({ top: n(T) })
2276
2364
  }, [
2277
- e.filters ? (r(), U(we, {
2365
+ e.filters ? (u(), M(ke, {
2278
2366
  key: 0,
2279
2367
  ref_key: "filterBarRef",
2280
- ref: I,
2368
+ ref: L,
2281
2369
  config: e.filters,
2282
2370
  "filter-values": e.filterValues,
2283
2371
  "search-term": e.filterSearchTerm,
2284
- onSearchInput: dn,
2285
- onSearchClear: rn,
2286
- onInput: N[0] || (N[0] = (z) => S.$emit(n($).UPDATE_FILTERS, z)),
2287
- "onUpdate:filterValues": N[1] || (N[1] = (z) => S.$emit(n($).UPDATE_FILTER_VALUES, z))
2288
- }, null, 8, ["config", "filter-values", "search-term"])) : D("", !0)
2289
- ], 4)) : D("", !0),
2290
- S.$slots.header ? (r(), b("div", Si, [
2291
- ge(S.$slots, "header", {}, void 0, !0)
2292
- ])) : D("", !0),
2293
- L("div", {
2372
+ onSearchInput: fn,
2373
+ onSearchClear: gn,
2374
+ onInput: N[0] || (N[0] = (z) => S.$emit(n(I).UPDATE_FILTERS, z)),
2375
+ "onUpdate:filterValues": N[1] || (N[1] = (z) => S.$emit(n(I).UPDATE_FILTER_VALUES, z))
2376
+ }, null, 8, ["config", "filter-values", "search-term"])) : U("", !0)
2377
+ ], 4)) : U("", !0),
2378
+ S.$slots.header ? (u(), b("div", Ao, [
2379
+ Ce(S.$slots, "header", {}, void 0, !0)
2380
+ ])) : U("", !0),
2381
+ y("div", {
2294
2382
  class: "b-data-grid__column-headers",
2295
- style: Re({ top: n(pe) })
2383
+ style: Pe({ top: n(Y) })
2296
2384
  }, [
2297
- e.columnPanel ? (r(), U(n(Jl), {
2385
+ e.columnPanel ? (u(), M(n(so), {
2298
2386
  key: 0,
2299
2387
  class: "b-data-grid__config-settings",
2300
- columns: n(fe),
2388
+ columns: n(Se),
2301
2389
  condensed: e.condensed,
2302
- onConfigSettings: n(Nt),
2303
- "onUpdate:columns": n(Dt)
2304
- }, null, 8, ["columns", "condensed", "onConfigSettings", "onUpdate:columns"])) : D("", !0),
2305
- L("div", {
2390
+ onConfigSettings: n(Oe),
2391
+ "onUpdate:columns": n(Ie)
2392
+ }, null, 8, ["columns", "condensed", "onConfigSettings", "onUpdate:columns"])) : U("", !0),
2393
+ y("div", {
2306
2394
  ref_key: "columnsRef",
2307
- ref: E,
2395
+ ref: v,
2308
2396
  role: "rowgroup",
2309
2397
  class: "b-data-grid__columns-row",
2310
- tabindex: n(d),
2311
- onScroll: N[3] || (N[3] = //@ts-ignore
2312
- (...z) => n(be) && n(be)(...z))
2398
+ tabindex: n(ve),
2399
+ onScroll: N[4] || (N[4] = //@ts-ignore
2400
+ (...z) => n(Te) && n(Te)(...z))
2313
2401
  }, [
2314
- L("div", {
2315
- style: Re(n(B)),
2402
+ y("div", {
2403
+ style: Pe(n(ae)),
2316
2404
  class: "b-data-grid__columns",
2317
2405
  role: "row"
2318
2406
  }, [
2319
- (r(!0), b(Q, null, le(n(Le), ({ columnSet: z, id: Y, isFrozenColumns: J }, Ie) => (r(), b(Q, null, [
2320
- z != null && z.length ? (r(), U(n(bl), j({
2321
- key: `data-grid-columns-${Y}`,
2407
+ (u(!0), b(ne, null, re(n(de), ({ columnSet: z, id: J, isFrozenColumns: te }, Ne) => (u(), b(ne, null, [
2408
+ z != null && z.length ? (u(), M(n(As), j({
2409
+ key: `data-grid-columns-${J}`,
2322
2410
  columns: z,
2323
2411
  "has-resizable-columns": e.hasResizableColumns,
2324
2412
  "sort-by": e.sortBy,
2325
- "all-items-selected-state": n(Ft),
2326
- "is-frozen-columns": J,
2327
- "show-frozen-columns-separator": n(je),
2328
- "dragging-columns": n(Ue),
2329
- "has-draggable-columns": n(u),
2413
+ "all-items-selected-state": n(Ht),
2414
+ "is-frozen-columns": te,
2415
+ "show-frozen-columns-separator": n(lt),
2416
+ "dragging-columns": n(xe),
2417
+ "has-draggable-columns": n(g),
2330
2418
  "has-column-panel": e.columnPanel,
2331
- "has-left-overflow": n(Ee),
2332
- "has-first-column-panel-right-aligned": Ie === n(qt),
2333
- "is-only-one-visible-column": n(Tt),
2334
- "selectable-across-pages": n(en),
2419
+ "has-left-overflow": n(we),
2420
+ "has-first-column-panel-right-aligned": Ne === n(Jt),
2421
+ "hovered-over-column-state": n(et),
2422
+ "is-only-one-visible-column": n(Ee),
2423
+ "selectable-across-pages": n(sn),
2335
2424
  "truncate-column-headers": e.truncateColumnHeaders
2336
- }, Ne(n(Ut)), {
2337
- onColumnMove: n(kt),
2338
- onColumnUpdate: n(Pt),
2339
- onColumnResize: sn,
2340
- onColumnResizing: n(h),
2341
- onSelectAllRows: n(xe),
2342
- onSelectAllAcrossPages: N[2] || (N[2] = (Me) => H(n($).SELECT_ALL_ACROSS_PAGES)),
2343
- onSort: ln
2344
- }), Te({ _: 2 }, [
2345
- le(n(_), (Me, $e) => ({
2346
- name: $e,
2347
- fn: k((me) => [
2348
- ge(S.$slots, $e, ke(ze(me)), void 0, !0)
2425
+ }, Ge(n(Ft)), {
2426
+ onColumnHover: N[2] || (N[2] = (Le) => pe.value = Le),
2427
+ onColumnMove: n(Vt),
2428
+ onColumnUpdate: n(Re),
2429
+ onColumnResize: rn,
2430
+ onColumnResizing: n(F),
2431
+ onSelectAllRows: n(tt),
2432
+ onSelectAllAcrossPages: N[3] || (N[3] = (Le) => l(n(I).SELECT_ALL_ACROSS_PAGES)),
2433
+ onSort: dn
2434
+ }), Fe({ _: 2 }, [
2435
+ re(n(r), (Le, De) => ({
2436
+ name: De,
2437
+ fn: P((ye) => [
2438
+ Ce(S.$slots, De, Ze(je(ye)), void 0, !0)
2349
2439
  ])
2350
2440
  }))
2351
- ]), 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", "is-only-one-visible-column", "selectable-across-pages", "truncate-column-headers", "onColumnMove", "onColumnUpdate", "onColumnResizing", "onSelectAllRows"])) : D("", !0)
2441
+ ]), 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-only-one-visible-column", "selectable-across-pages", "truncate-column-headers", "onColumnMove", "onColumnUpdate", "onColumnResizing", "onSelectAllRows"])) : U("", !0)
2352
2442
  ], 64))), 256))
2353
2443
  ], 4)
2354
- ], 40, bi)
2444
+ ], 40, To)
2355
2445
  ], 4),
2356
- L("div", {
2446
+ y("div", {
2357
2447
  ref_key: "body",
2358
- ref: s,
2448
+ ref: i,
2359
2449
  "data-testid": "data-grid-body",
2360
2450
  class: "b-data-grid__body",
2361
- tabindex: n(y) ? "0" : "-1",
2362
- "aria-busy": n(y),
2451
+ tabindex: n(h) ? "0" : "-1",
2452
+ "aria-busy": n(h),
2363
2453
  "aria-live": "polite",
2364
- onScroll: N[5] || (N[5] = //@ts-ignore
2365
- (...z) => n(be) && n(be)(...z))
2454
+ onScroll: N[7] || (N[7] = //@ts-ignore
2455
+ (...z) => n(Te) && n(Te)(...z))
2366
2456
  }, [
2367
- n(y) && !n(Se) ? (r(), b("div", Ii, [
2368
- W(n(pt), {
2457
+ n(h) && !n(Ae) ? (u(), b("div", No, [
2458
+ W(n($t), {
2369
2459
  class: "b-data-grid__loading-indicator",
2370
2460
  large: ""
2371
2461
  }),
2372
- W(n(De), {
2462
+ W(n(Ve), {
2373
2463
  el: "span",
2374
2464
  variant: "caption"
2375
2465
  }, {
2376
- default: k(() => [
2377
- Z(G(n(P)("gettingYourData")), 1)
2466
+ default: P(() => [
2467
+ Z(V(n(w)("gettingYourData")), 1)
2378
2468
  ]),
2379
2469
  _: 1
2380
2470
  })
2381
- ])) : ((de = n(a)) == null ? void 0 : de.length) === 0 && e.emptyState ? (r(), b("div", $i, [
2382
- W(n(In), ke(ze(n(Zt))), null, 16)
2383
- ])) : (r(), b("div", {
2471
+ ])) : ((fe = n(d)) == null ? void 0 : fe.length) === 0 && e.emptyState ? (u(), b("div", Do, [
2472
+ W(n(An), Ze(je(n(Xt))), null, 16)
2473
+ ])) : (u(), b("div", {
2384
2474
  key: 2,
2385
2475
  class: "b-data-grid__rows",
2386
2476
  role: "rowgroup",
2387
- onKeydown: N[4] || (N[4] = //@ts-ignore
2388
- (...z) => n(Ze) && n(Ze)(...z))
2477
+ onKeydown: N[6] || (N[6] = //@ts-ignore
2478
+ (...z) => n(nt) && n(nt)(...z))
2389
2479
  }, [
2390
- (r(!0), b(Q, null, le(n(a), (z, Y) => (r(), b("div", {
2391
- key: Y,
2392
- style: Re(n(B)),
2393
- class: se(["b-data-grid__row", Yt(z)]),
2480
+ (u(!0), b(ne, null, re(n(d), (z, J) => (u(), b("div", {
2481
+ key: J,
2482
+ style: Pe(n(ae)),
2483
+ class: oe(["b-data-grid__row", Qt(z)]),
2394
2484
  role: "row",
2395
- "aria-rowindex": Y + 1,
2396
- "aria-selected": tn(z),
2397
- onClick: (J) => Qt(z, J)
2485
+ "aria-rowindex": J + 1,
2486
+ "aria-selected": on(z),
2487
+ onClick: (te) => ln(z, te)
2398
2488
  }, [
2399
- (r(!0), b(Q, null, le(n(Le), ({ columnSet: J, id: Ie, isFrozenColumns: Me }, $e) => (r(), b(Q, null, [
2400
- J != null && J.length ? (r(), b("div", {
2401
- key: `data-grid-rows-${Ie}`,
2402
- class: se(["b-data-grid__cells", Xt(Me)]),
2403
- "data-testid": `data-grid-${Ie}-rows`
2489
+ (u(!0), b(ne, null, re(n(de), ({ columnSet: te, id: Ne, isFrozenColumns: Le }, De) => (u(), b(ne, null, [
2490
+ te != null && te.length ? (u(), b("div", {
2491
+ key: `data-grid-rows-${Ne}`,
2492
+ class: oe(["b-data-grid__cells", en(Le)]),
2493
+ "data-testid": `data-grid-${Ne}-rows`
2404
2494
  }, [
2405
- (r(!0), b(Q, null, le(J, (me, cn) => (r(), U(n(Li), {
2406
- key: `cell-${me.field}`,
2495
+ (u(!0), b(ne, null, re(te, (ye, _n) => (u(), M(n(Ro), {
2496
+ key: `cell-${ye.field}`,
2407
2497
  ref_for: !0,
2408
- ref: (Xe) => Jt(Xe, me.field, Y),
2409
- column: me,
2410
- "column-set-index": $e,
2411
- "col-index": cn,
2412
- "column-sets": n(Le),
2498
+ ref: (Ue) => nn(Ue, ye.field, J),
2499
+ column: ye,
2500
+ "column-set-index": De,
2501
+ "col-index": _n,
2502
+ "column-sets": n(de),
2413
2503
  condensed: e.condensed,
2414
- "dragging-columns": n(Ue),
2415
- "dragging-events-for-row-cell": n(Mt),
2504
+ "dragging-columns": n(xe),
2505
+ "dragging-events-for-row-cell": n(Gt),
2416
2506
  "get-data-item-id": e.getDataItemId,
2507
+ "hovered-over-column-state": n(et),
2417
2508
  "is-data-item-disabled": e.isDataItemDisabled,
2418
- "is-measuring-column-widths": n(K),
2509
+ "is-measuring-column-widths": n(He),
2419
2510
  "row-data": z,
2420
- "row-index": Y,
2421
- "selected-items": n(ye),
2422
- onOnFrozenColumnsKeyPress: n(Ht),
2423
- onSelectRow: n(zt)
2424
- }, Te({
2425
- default: k(() => [
2511
+ "row-index": J,
2512
+ "selected-items": n($e),
2513
+ onCellHover: N[5] || (N[5] = (Ue) => pe.value = Ue),
2514
+ onOnFrozenColumnsKeyPress: n(jt),
2515
+ onSelectRow: n(Wt)
2516
+ }, Fe({
2517
+ default: P(() => [
2426
2518
  Z("s ")
2427
2519
  ]),
2428
2520
  _: 2
2429
2521
  }, [
2430
- le(n(_), (Xe, Ke) => ({
2431
- name: Ke,
2432
- fn: k((un) => [
2433
- ge(S.$slots, Ke, ke(ze(un)), void 0, !0)
2522
+ re(n(r), (Ue, it) => ({
2523
+ name: it,
2524
+ fn: P((mn) => [
2525
+ Ce(S.$slots, it, Ze(je(mn)), void 0, !0)
2434
2526
  ])
2435
2527
  }))
2436
- ]), 1032, ["column", "column-set-index", "col-index", "column-sets", "condensed", "dragging-columns", "dragging-events-for-row-cell", "get-data-item-id", "is-data-item-disabled", "is-measuring-column-widths", "row-data", "row-index", "selected-items", "onOnFrozenColumnsKeyPress", "onSelectRow"]))), 128))
2437
- ], 10, Ri)) : D("", !0)
2528
+ ]), 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", "row-data", "row-index", "selected-items", "onOnFrozenColumnsKeyPress", "onSelectRow"]))), 128))
2529
+ ], 10, Mo)) : U("", !0)
2438
2530
  ], 64))), 256))
2439
- ], 14, Ai))), 128))
2531
+ ], 14, Uo))), 128))
2440
2532
  ], 32))
2441
- ], 40, Ei),
2442
- n(Se) ? (r(), U(n(ni), {
2533
+ ], 40, wo),
2534
+ n(Ae) ? (u(), M(n(ro), {
2443
2535
  key: 2,
2444
- loading: n(y),
2445
- "is-infinite-scroll": n(Gt),
2446
- "onUpdate:showMore": n(Vt)
2447
- }, null, 8, ["loading", "is-infinite-scroll", "onUpdate:showMore"])) : D("", !0),
2448
- e.pagination && !n(Se) ? (r(), b("div", {
2536
+ loading: n(h),
2537
+ "is-infinite-scroll": n(Bt),
2538
+ "onUpdate:showMore": n(Zt)
2539
+ }, null, 8, ["loading", "is-infinite-scroll", "onUpdate:showMore"])) : U("", !0),
2540
+ e.pagination && !n(Ae) ? (u(), b("div", {
2449
2541
  key: 3,
2450
2542
  "data-testid": "pagination-container",
2451
- class: se(["b-data-grid__pagination", n(Kt)])
2543
+ class: oe(["b-data-grid__pagination", n(tn)])
2452
2544
  }, [
2453
- W(n(Sn), j(e.pagination, {
2454
- "aria-label": `${n(qe)} navigation`,
2455
- onNavigate: on,
2456
- onItemsPage: an
2545
+ W(n(In), j(e.pagination, {
2546
+ "aria-label": `${n(st)} navigation`,
2547
+ onNavigate: un,
2548
+ onItemsPage: cn
2457
2549
  }), null, 16, ["aria-label"])
2458
- ], 2)) : D("", !0),
2459
- S.$slots.footer ? (r(), b("div", wi, [
2460
- ge(S.$slots, "footer", {}, void 0, !0)
2461
- ])) : D("", !0),
2462
- n(nn) ? (r(), U(n(yn), {
2550
+ ], 2)) : U("", !0),
2551
+ S.$slots.footer ? (u(), b("div", Po, [
2552
+ Ce(S.$slots, "footer", {}, void 0, !0)
2553
+ ])) : U("", !0),
2554
+ n(an) ? (u(), M(n(On), {
2463
2555
  key: 5,
2464
2556
  actions: e.bulkActions,
2465
- "item-counter": n(Ye),
2557
+ "item-counter": n(ot),
2466
2558
  "extra-bottom-spacing": e.stickyPagination,
2467
- onClose: N[6] || (N[6] = (z) => n(xe)(!1))
2468
- }, null, 8, ["actions", "item-counter", "extra-bottom-spacing"])) : D("", !0)
2469
- ], 10, yi);
2559
+ onClose: N[8] || (N[8] = (z) => n(tt)(!1))
2560
+ }, null, 8, ["actions", "item-counter", "extra-bottom-spacing"])) : U("", !0)
2561
+ ], 10, $o);
2470
2562
  };
2471
2563
  }
2472
2564
  });
2473
- const _o = /* @__PURE__ */ x(Ti, [["__scopeId", "data-v-a958f353"]]);
2565
+ const Li = /* @__PURE__ */ B(zo, [["__scopeId", "data-v-878579d3"]]);
2474
2566
  export {
2475
- Ge as BentoColumnOverflow,
2476
- _o as BentoDataGrid,
2477
- Oe as BentoDatagridAriaSortValue,
2478
- $ as BentoDatagridEvent,
2479
- re as BentoDatagridSortDirection,
2480
- ce as BentoDatagridStyleState
2567
+ Ye as BentoColumnOverflow,
2568
+ Li as BentoDataGrid,
2569
+ ze as BentoDatagridAriaSortValue,
2570
+ I as BentoDatagridEvent,
2571
+ ge as BentoDatagridSortDirection,
2572
+ _e as BentoDatagridStyleState
2481
2573
  };
2482
2574
  //# sourceMappingURL=data-grid.js.map