@adyen/bento-vue3 1.11.0 → 1.12.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 (220) hide show
  1. package/dist/@types/packages/vue2/src/components/avatar-image/avatar-image.vue.d.ts +1 -1
  2. package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +1 -1
  3. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +11 -0
  4. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-scroller/use-scroller.d.ts +1 -0
  5. package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +1 -1
  6. package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +2 -2
  7. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +43 -34
  8. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +50 -1052
  9. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +7 -13
  10. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +4 -5
  11. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/index.d.ts +2 -0
  12. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +4 -5
  13. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/index.d.ts +2 -0
  14. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +4 -4
  15. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/index.d.ts +2 -0
  16. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +4 -4
  17. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/index.d.ts +2 -0
  18. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +4 -5
  19. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/index.d.ts +2 -0
  20. package/dist/@types/packages/vue2/src/components/dropdown/composables/index.d.ts +2 -0
  21. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.d.ts +2 -0
  22. package/dist/@types/packages/vue2/src/components/dropdown/composables/{useDisplayValue.types.d.ts → use-display-value.types.d.ts} +16 -0
  23. package/dist/@types/packages/vue2/src/components/dropdown/composables/{useKeyboardNavigation.d.ts → use-keyboard-navigation.d.ts} +3 -13
  24. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-keyboard-navigation.types.d.ts +15 -0
  25. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +50 -2435
  26. package/dist/@types/packages/vue2/src/components/dropdown/index.d.ts +6 -5
  27. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +12 -12
  28. package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +1 -1
  29. package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +1 -1
  30. package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +17 -11
  31. package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +17 -61
  32. package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +60 -50
  33. package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +40 -357
  34. package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +77 -84
  35. package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +1 -1
  36. package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +1 -1
  37. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +3 -3
  38. package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +1 -1
  39. package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +5 -5
  40. package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.types.d.ts +6 -0
  41. package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.vue.d.ts +10 -0
  42. package/dist/@types/packages/vue2/src/templates/data-grid-template/index.d.ts +1 -0
  43. package/dist/accordion.js +2 -2
  44. package/dist/action-bar.js +5 -5
  45. package/dist/alert.js +3 -3
  46. package/dist/assets/base-modal.css +1 -1
  47. package/dist/assets/button.css +1 -1
  48. package/dist/assets/dropdown-default-textbox.css +1 -1
  49. package/dist/assets/dropdown.css +1 -1
  50. package/dist/assets/index10.css +1 -1
  51. package/dist/assets/index11.css +1 -1
  52. package/dist/assets/index12.css +1 -1
  53. package/dist/assets/index13.css +1 -1
  54. package/dist/assets/index14.css +1 -1
  55. package/dist/assets/index15.css +1 -1
  56. package/dist/assets/index16.css +1 -1
  57. package/dist/assets/index17.css +1 -1
  58. package/dist/assets/index18.css +1 -1
  59. package/dist/assets/index19.css +1 -1
  60. package/dist/assets/index2.css +1 -1
  61. package/dist/assets/index20.css +1 -1
  62. package/dist/assets/index21.css +1 -1
  63. package/dist/assets/index22.css +1 -1
  64. package/dist/assets/index23.css +1 -1
  65. package/dist/assets/index24.css +1 -1
  66. package/dist/assets/index25.css +1 -1
  67. package/dist/assets/index26.css +1 -1
  68. package/dist/assets/index27.css +1 -1
  69. package/dist/assets/index28.css +1 -1
  70. package/dist/assets/index29.css +1 -1
  71. package/dist/assets/index3.css +1 -1
  72. package/dist/assets/index30.css +1 -1
  73. package/dist/assets/index31.css +1 -1
  74. package/dist/assets/index32.css +1 -1
  75. package/dist/assets/index33.css +1 -1
  76. package/dist/assets/index34.css +1 -1
  77. package/dist/assets/index35.css +1 -1
  78. package/dist/assets/index36.css +1 -1
  79. package/dist/assets/index37.css +1 -1
  80. package/dist/assets/index38.css +1 -1
  81. package/dist/assets/index39.css +1 -1
  82. package/dist/assets/index4.css +1 -1
  83. package/dist/assets/index40.css +1 -1
  84. package/dist/assets/index41.css +1 -1
  85. package/dist/assets/index42.css +1 -1
  86. package/dist/assets/index43.css +1 -1
  87. package/dist/assets/index44.css +1 -1
  88. package/dist/assets/index45.css +1 -1
  89. package/dist/assets/index46.css +1 -1
  90. package/dist/assets/index47.css +1 -1
  91. package/dist/assets/index5.css +1 -1
  92. package/dist/assets/index6.css +1 -1
  93. package/dist/assets/index7.css +1 -1
  94. package/dist/assets/index8.css +1 -1
  95. package/dist/assets/index9.css +1 -1
  96. package/dist/avatar-image.js +1 -1
  97. package/dist/badge.js +1 -1
  98. package/dist/button.js +5 -5
  99. package/dist/card.js +25 -24
  100. package/dist/card.js.map +1 -1
  101. package/dist/checkbox.js +6 -6
  102. package/dist/chunks/{base-button.39fae75f.js → base-button.9f2acdeb.js} +2 -2
  103. package/dist/chunks/{base-button.39fae75f.js.map → base-button.9f2acdeb.js.map} +1 -1
  104. package/dist/chunks/base-modal.56a671c3.js +284 -0
  105. package/dist/chunks/base-modal.56a671c3.js.map +1 -0
  106. package/dist/chunks/{button-actions-with-menu.2ff339f6.js → button-actions-with-menu.080ccaf8.js} +3 -3
  107. package/dist/chunks/{button-actions-with-menu.2ff339f6.js.map → button-actions-with-menu.080ccaf8.js.map} +1 -1
  108. package/dist/chunks/{button.623a46d2.js → button.7ce49c43.js} +2 -2
  109. package/dist/chunks/{button.623a46d2.js.map → button.7ce49c43.js.map} +1 -1
  110. package/dist/chunks/{calendar.b1d05580.js → calendar.f0f7b405.js} +8 -7
  111. package/dist/chunks/{calendar.b1d05580.js.map → calendar.f0f7b405.js.map} +1 -1
  112. package/dist/chunks/{checkbox.d65694f2.js → checkbox.c63cd1d8.js} +3 -3
  113. package/dist/chunks/{checkbox.d65694f2.js.map → checkbox.c63cd1d8.js.map} +1 -1
  114. package/dist/chunks/{controls-group.30352ce4.js → controls-group.1660076e.js} +3 -3
  115. package/dist/chunks/{controls-group.30352ce4.js.map → controls-group.1660076e.js.map} +1 -1
  116. package/dist/chunks/{copy.2a9cddc1.js → copy.91983fad.js} +4 -4
  117. package/dist/chunks/{copy.2a9cddc1.js.map → copy.91983fad.js.map} +1 -1
  118. package/dist/chunks/dropdown-default-textbox.157f95f0.js +399 -0
  119. package/dist/chunks/dropdown-default-textbox.157f95f0.js.map +1 -0
  120. package/dist/chunks/dropdown.b0e80aaa.js +902 -0
  121. package/dist/chunks/dropdown.b0e80aaa.js.map +1 -0
  122. package/dist/chunks/{field-label.b681234d.js → field-label.894140ec.js} +2 -2
  123. package/dist/chunks/{field-label.b681234d.js.map → field-label.894140ec.js.map} +1 -1
  124. package/dist/chunks/{fixed-scroller.ebfb2f80.js → fixed-scroller.708a4c4e.js} +2 -2
  125. package/dist/chunks/{fixed-scroller.ebfb2f80.js.map → fixed-scroller.708a4c4e.js.map} +1 -1
  126. package/dist/chunks/{footer-actions.03015ba1.js → footer-actions.21ba3026.js} +3 -3
  127. package/dist/chunks/{footer-actions.03015ba1.js.map → footer-actions.21ba3026.js.map} +1 -1
  128. package/dist/chunks/{index.80078bf9.js → index.266dd8ff.js} +2 -2
  129. package/dist/chunks/{index.80078bf9.js.map → index.266dd8ff.js.map} +1 -1
  130. package/dist/chunks/{index.45d00aad.js → index.3ec651d0.js} +5 -4
  131. package/dist/chunks/{index.45d00aad.js.map → index.3ec651d0.js.map} +1 -1
  132. package/dist/chunks/{index.0a8ddfaa.js → index.46b7b1d3.js} +6 -6
  133. package/dist/chunks/{index.0a8ddfaa.js.map → index.46b7b1d3.js.map} +1 -1
  134. package/dist/chunks/{index.1dac266a.js → index.62c5d91f.js} +3 -3
  135. package/dist/chunks/{index.1dac266a.js.map → index.62c5d91f.js.map} +1 -1
  136. package/dist/chunks/{index.cf561336.js → index.762f7ec9.js} +6 -6
  137. package/dist/chunks/{index.cf561336.js.map → index.762f7ec9.js.map} +1 -1
  138. package/dist/chunks/{index.a4a6e52f.js → index.9ae856b3.js} +3 -3
  139. package/dist/chunks/{index.a4a6e52f.js.map → index.9ae856b3.js.map} +1 -1
  140. package/dist/chunks/{index.03605cb0.js → index.a25e53b8.js} +5 -5
  141. package/dist/chunks/{index.03605cb0.js.map → index.a25e53b8.js.map} +1 -1
  142. package/dist/chunks/{index.ef1c4d59.js → index.d57976cb.js} +320 -317
  143. package/dist/chunks/index.d57976cb.js.map +1 -0
  144. package/dist/chunks/{index.09f7f1b5.js → index.fcfca776.js} +2 -2
  145. package/dist/chunks/{index.09f7f1b5.js.map → index.fcfca776.js.map} +1 -1
  146. package/dist/chunks/{listbox-option-tag.ff6d6f32.js → listbox-option-tag.1f42ad7f.js} +3 -3
  147. package/dist/chunks/{listbox-option-tag.ff6d6f32.js.map → listbox-option-tag.1f42ad7f.js.map} +1 -1
  148. package/dist/chunks/{listbox.dd9883c5.js → listbox.2c0a69a6.js} +6 -6
  149. package/dist/chunks/{listbox.dd9883c5.js.map → listbox.2c0a69a6.js.map} +1 -1
  150. package/dist/chunks/{loading-button.30c5fede.js → loading-button.52696f0f.js} +2 -2
  151. package/dist/chunks/{loading-button.30c5fede.js.map → loading-button.52696f0f.js.map} +1 -1
  152. package/dist/chunks/{tooltip.785993dd.js → tooltip.d366f95d.js} +3 -3
  153. package/dist/chunks/{tooltip.785993dd.js.map → tooltip.d366f95d.js.map} +1 -1
  154. package/dist/chunks/{useCountryItems.d2a1f224.js → use-country-items.d2a1f224.js} +1 -1
  155. package/dist/chunks/use-country-items.d2a1f224.js.map +1 -0
  156. package/dist/code-snippet.js +7 -7
  157. package/dist/code-snippet.js.map +1 -1
  158. package/dist/country.js +2 -2
  159. package/dist/currency.js +1 -1
  160. package/dist/data-grid.js +658 -649
  161. package/dist/data-grid.js.map +1 -1
  162. package/dist/date-picker.js +36 -35
  163. package/dist/date-picker.js.map +1 -1
  164. package/dist/date-range-picker.js +2 -2
  165. package/dist/date.js +1 -1
  166. package/dist/dropdown.js +122 -174
  167. package/dist/dropdown.js.map +1 -1
  168. package/dist/empty-state.js +3 -3
  169. package/dist/filter-bar.js +20 -19
  170. package/dist/filter-bar.js.map +1 -1
  171. package/dist/focus-trap.js +1 -1
  172. package/dist/form-layout.js +2 -2
  173. package/dist/header.js +3 -3
  174. package/dist/index.js +203 -200
  175. package/dist/info-icon.js +3 -3
  176. package/dist/input-field.js +4 -4
  177. package/dist/internal.js +7 -7
  178. package/dist/link.js +40 -30
  179. package/dist/link.js.map +1 -1
  180. package/dist/loading-indicator.js +1 -1
  181. package/dist/menu.js +1 -1
  182. package/dist/modal.js +297 -404
  183. package/dist/modal.js.map +1 -1
  184. package/dist/pagination.js +122 -122
  185. package/dist/pagination.js.map +1 -1
  186. package/dist/payment-method.js +2 -2
  187. package/dist/popover.js +1 -1
  188. package/dist/popper-container.js +1 -1
  189. package/dist/radio-group.js +4 -4
  190. package/dist/search-bar.js +2 -2
  191. package/dist/secondary-nav.js +2 -2
  192. package/dist/segmented-control.js +3 -3
  193. package/dist/sidepanel.js +5 -5
  194. package/dist/status.js +2 -2
  195. package/dist/stepper.js +3 -3
  196. package/dist/structured-list.js +1 -1
  197. package/dist/summary-grid.js +3 -3
  198. package/dist/tabs.js +39 -39
  199. package/dist/tabs.js.map +1 -1
  200. package/dist/tag.js +3 -3
  201. package/dist/textarea.js +4 -4
  202. package/dist/timeline.js +5 -5
  203. package/dist/toast.js +3 -3
  204. package/dist/toggle.js +2 -2
  205. package/dist/tutorial.js +5 -5
  206. package/dist/typography.js +1 -1
  207. package/dist/web-types.json +1 -1
  208. package/package.json +2 -2
  209. package/dist/@types/packages/vue2/src/components/dropdown/composables/useDisplayValue.d.ts +0 -2
  210. package/dist/@types/packages/vue2/src/components/dropdown/composables/useDropdownSearchFilter.d.ts +0 -3
  211. package/dist/chunks/base-modal.161ce8f0.js +0 -310
  212. package/dist/chunks/base-modal.161ce8f0.js.map +0 -1
  213. package/dist/chunks/dropdown-default-textbox.a731b5fb.js +0 -420
  214. package/dist/chunks/dropdown-default-textbox.a731b5fb.js.map +0 -1
  215. package/dist/chunks/dropdown.96431c25.js +0 -993
  216. package/dist/chunks/dropdown.96431c25.js.map +0 -1
  217. package/dist/chunks/index.ef1c4d59.js.map +0 -1
  218. package/dist/chunks/useCountryItems.d2a1f224.js.map +0 -1
  219. /package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/composables/{useDropdownOptionsListbox.d.ts → use-dropdown-options-listbox.d.ts} +0 -0
  220. /package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/composables/{useCountryItems.d.ts → use-country-items.d.ts} +0 -0
package/dist/data-grid.js CHANGED
@@ -1,71 +1,71 @@
1
- import { ref as w, reactive as Ne, toRefs as Pe, computed as R, watchEffect as cn, onMounted as ct, nextTick as ie, watch as le, onUnmounted as ut, onBeforeUpdate as un, openBlock as c, createElementBlock as y, mergeProps as K, toDisplayString as F, createCommentVNode as N, createElementVNode as T, defineComponent as de, resolveComponent as H, normalizeClass as te, Fragment as Q, renderList as se, toHandlers as Ie, createVNode as G, withCtx as k, renderSlot as ge, createBlock as U, withModifiers as gn, createTextVNode as X, withDirectives as gt, vShow as fn, toRef as ft, resolveDirective as _n, pushScopeId as _t, popScopeId as Ct, unref as a, Transition as Cn, createSlots as we, resolveDynamicComponent as Se, useSlots as mn, inject as He, normalizeStyle as ue, normalizeProps as Ze, guardReactiveProps as je } from "vue";
2
- import { BentoActionBar as vn } from "./action-bar.js";
3
- import { B as mt } from "./chunks/checkbox.d65694f2.js";
4
- import { BentoPagination as pn } from "./pagination.js";
5
- import { BentoLoadingIndicator as vt } from "./loading-indicator.js";
6
- import { B as Re, p as pt } from "./chunks/index.09f7f1b5.js";
7
- import { u as hn } from "./chunks/aria-label.ac9651a5.js";
8
- import { g as Ln } from "./chunks/get-slot-text.bead058f.js";
1
+ import { ref as w, reactive as Ne, toRefs as Pe, computed as R, watchEffect as un, onMounted as ut, nextTick as ie, watch as le, onUnmounted as gt, onBeforeUpdate as gn, openBlock as c, createElementBlock as L, mergeProps as K, toDisplayString as F, createCommentVNode as N, createElementVNode as T, defineComponent as de, resolveComponent as H, normalizeClass as te, Fragment as Q, renderList as se, toHandlers as Ie, createVNode as G, withCtx as D, renderSlot as ue, createBlock as U, withModifiers as fn, createTextVNode as X, withDirectives as ft, vShow as _n, toRef as _t, resolveDirective as Cn, pushScopeId as Ct, popScopeId as mt, unref as a, Transition as mn, createSlots as we, resolveDynamicComponent as ye, useSlots as vn, inject as Ze, normalizeStyle as Se, normalizeProps as je, guardReactiveProps as Ye } from "vue";
2
+ import { BentoActionBar as pn } from "./action-bar.js";
3
+ import { B as vt } from "./chunks/checkbox.c63cd1d8.js";
4
+ import { BentoPagination as hn } from "./pagination.js";
5
+ import { BentoLoadingIndicator as pt } from "./loading-indicator.js";
6
+ import { B as Re, p as ht } from "./chunks/index.fcfca776.js";
7
+ import { u as Ln } from "./chunks/aria-label.ac9651a5.js";
8
+ import { g as yn } from "./chunks/get-slot-text.bead058f.js";
9
9
  import { u as Ue } from "./chunks/i18n.6c402773.js";
10
- import { BentoEmptyState as yn } from "./empty-state.js";
10
+ import { BentoEmptyState as Sn } from "./empty-state.js";
11
11
  import { BentoFilterBar as be } from "./filter-bar.js";
12
- import { E as Sn } from "./chunks/tabs.keys.358742f2.js";
13
- import { o as ht } from "./chunks/resize.a041304d.js";
14
- import { K as ee } from "./chunks/tooltip.785993dd.js";
15
- import { B as Ye, a as bn } from "./chunks/index.03605cb0.js";
16
- import { a as Lt } from "./chunks/button.623a46d2.js";
17
- import { BentoToggle as yt } from "./toggle.js";
18
- import { BentoSearchBar as En } from "./search-bar.js";
19
- import { u as $n } from "./chunks/dropdown.96431c25.js";
20
- import { B as An } from "./chunks/directive.0408e565.js";
12
+ import { E as bn } from "./chunks/tabs.keys.358742f2.js";
13
+ import { o as Lt } from "./chunks/resize.a041304d.js";
14
+ import { K as ee } from "./chunks/tooltip.d366f95d.js";
15
+ import { B as qe, a as En } from "./chunks/index.a25e53b8.js";
16
+ import { a as yt } from "./chunks/button.7ce49c43.js";
17
+ import { BentoToggle as St } from "./toggle.js";
18
+ import { BentoSearchBar as An } from "./search-bar.js";
19
+ import { u as $n } from "./chunks/dropdown.b0e80aaa.js";
20
+ import { B as In } from "./chunks/directive.0408e565.js";
21
21
  import { _ as j } from "./chunks/_plugin-vue_export-helper.dad06003.js";
22
- import { C as In } from "./chunks/cross.26509efc.js";
23
- import { S as Rn } from "./chunks/search.ade93bda.js";
24
- import { g as Tn } from "./chunks/unique-id.a2a2b458.js";
25
- import { BentoInfoIcon as On } from "./info-icon.js";
26
- import { B as St, O as wn } from "./chunks/index.cf561336.js";
27
- import { A as Nn } from "./chunks/arrow-left.81a91b8f.js";
28
- import { l as qe } from "./chunks/events.58c00e6d.js";
29
- import { C as Pn } from "./chunks/copy.2a9cddc1.js";
30
- import { B as Xe, a as Ke } from "./chunks/loading-button.30c5fede.js";
31
- import "./assets/index12.css";
32
- var Ee = /* @__PURE__ */ ((e) => (e.WRAP = "wrap", e.ELLIPSIS = "ellipsis", e))(Ee || {}), $e = /* @__PURE__ */ ((e) => (e.OUTLINE = "outline", e.SCROLL = "scroll", e.STICKY_FILTERS = "sticky-filters", e))($e || {}), oe = /* @__PURE__ */ ((e) => (e.ASCENDING = "asc", e.DESCENDING = "desc", e))(oe || {}), $ = /* @__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))($ || {}), Ae = /* @__PURE__ */ ((e) => (e.ASCENDING = "ascending", e.DESCENDING = "descending", e.NONE = "none", e))(Ae || {}), P = /* @__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))(P || {});
33
- const Un = (e, s) => {
34
- const l = w(!1), n = w(void 0), g = e.value.reduce((L, C) => (L[C.field] = null, L), {}), d = Ne(g), p = Pe(d);
22
+ import { C as Rn } from "./chunks/cross.26509efc.js";
23
+ import { S as Tn } from "./chunks/search.ade93bda.js";
24
+ import { g as On } from "./chunks/unique-id.a2a2b458.js";
25
+ import { BentoInfoIcon as wn } from "./info-icon.js";
26
+ import { B as bt, O as Nn } from "./chunks/index.762f7ec9.js";
27
+ import { A as Pn } from "./chunks/arrow-left.81a91b8f.js";
28
+ import { l as Xe } from "./chunks/events.58c00e6d.js";
29
+ import { C as Un } from "./chunks/copy.91983fad.js";
30
+ import { B as Ke, a as Je } from "./chunks/loading-button.52696f0f.js";
31
+ import "./assets/index14.css";
32
+ var Ee = /* @__PURE__ */ ((e) => (e.WRAP = "wrap", e.ELLIPSIS = "ellipsis", e))(Ee || {}), Ae = /* @__PURE__ */ ((e) => (e.OUTLINE = "outline", e.SCROLL = "scroll", e.STICKY_FILTERS = "sticky-filters", e))(Ae || {}), oe = /* @__PURE__ */ ((e) => (e.ASCENDING = "asc", e.DESCENDING = "desc", e))(oe || {}), A = /* @__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))(A || {}), $e = /* @__PURE__ */ ((e) => (e.ASCENDING = "ascending", e.DESCENDING = "descending", e.NONE = "none", e))($e || {}), P = /* @__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))(P || {});
33
+ const Mn = (e, s) => {
34
+ const l = w(!1), n = w(void 0), g = e.value.reduce((h, C) => (h[C.field] = null, h), {}), d = Ne(g), b = Pe(d);
35
35
  let f = 0, v = "";
36
36
  const u = R(
37
- () => Object.fromEntries(e.value.map(({ field: L, width: C, minWidth: I }) => [L, { width: C, minWidth: I }]))
37
+ () => Object.fromEntries(e.value.map(({ field: h, width: C, minWidth: I }) => [h, { width: C, minWidth: I }]))
38
38
  );
39
- cn(() => n.value = u.value);
40
- let b = null, t = null;
41
- const _ = (L) => {
42
- const C = L.clientX - f, I = v, h = n.value[I].width + C;
43
- n.value[I].width = h > u.value[I].minWidth ? h : u.value[I].minWidth, s(P.COLUMN_RESIZING, n.value), f = L.clientX;
39
+ un(() => n.value = u.value);
40
+ let S = null, t = null;
41
+ const _ = (h) => {
42
+ const C = h.clientX - f, I = v, p = n.value[I].width + C;
43
+ n.value[I].width = p > u.value[I].minWidth ? p : u.value[I].minWidth, s(P.COLUMN_RESIZING, n.value), f = h.clientX;
44
44
  }, o = () => {
45
- l.value = !1, b == null || b(), t == null || t(), v && s(P.COLUMN_RESIZE, {
45
+ l.value = !1, S == null || S(), t == null || t(), v && s(P.COLUMN_RESIZE, {
46
46
  field: v,
47
47
  width: n.value[v].width
48
- }), b = null, t = null, v = "", f = null;
48
+ }), S = null, t = null, v = "", f = null;
49
49
  };
50
- return { resizeData: n, allColumnRefs: p, startResize: (L, C, I) => {
51
- if (I.preventDefault(), L) {
50
+ return { resizeData: n, allColumnRefs: b, startResize: (h, C, I) => {
51
+ if (I.preventDefault(), h) {
52
52
  if (l.value = !0, I.buttons !== 1) {
53
53
  o();
54
54
  return;
55
55
  }
56
- v = C, f = I.clientX, b = qe(window, "mousemove", _), t = qe(window, "mouseup", o);
56
+ v = C, f = I.clientX, S = Xe(window, "mousemove", _), t = Xe(window, "mouseup", o);
57
57
  }
58
58
  }, isResizing: l };
59
- }, Mn = 100, Je = 50, re = "b-select", kn = (e, s, l) => {
59
+ }, kn = 100, Qe = 50, re = "b-select", Dn = (e, s, l) => {
60
60
  const n = {}, g = [], d = (f) => {
61
61
  const v = n[f];
62
62
  v && v.frozen !== !0 && (n[f].frozen = !0, g.push(f));
63
63
  };
64
- function p() {
64
+ function b() {
65
65
  if (g.length === l.length)
66
66
  return;
67
67
  const f = { min: {}, max: {} };
68
- let v = e, u = s, b = 0;
68
+ let v = e, u = s, S = 0;
69
69
  g.forEach((t) => {
70
70
  v -= n[t].computedWidth, u -= n[t].flex;
71
71
  });
@@ -73,82 +73,82 @@ const Un = (e, s) => {
73
73
  const o = l[t];
74
74
  if (n[o.field] && n[o.field].frozen === !0)
75
75
  continue;
76
- let L = v / u * o.flex;
77
- L < o.minWidth && (b += o.minWidth - L, L = o.minWidth, f.min[o.field] = !0), n[o.field] = {
76
+ let h = v / u * o.flex;
77
+ h < o.minWidth && (S += o.minWidth - h, h = o.minWidth, f.min[o.field] = !0), n[o.field] = {
78
78
  frozen: !1,
79
- computedWidth: L,
79
+ computedWidth: h,
80
80
  flex: o.flex
81
81
  };
82
82
  }
83
- b > 0 ? Object.keys(f.min).forEach((t) => {
83
+ S > 0 ? Object.keys(f.min).forEach((t) => {
84
84
  d(t);
85
85
  }) : l.forEach(({ field: t }) => {
86
86
  d(t);
87
- }), p();
87
+ }), b();
88
88
  }
89
- return p(), n;
90
- }, Dn = (e, s, l, n, g) => {
91
- const d = w(e), p = w(s), f = w(l), v = w(n), u = w(!1), b = w();
89
+ return b(), n;
90
+ }, zn = (e, s, l, n, g) => {
91
+ const d = w(e), b = w(s), f = w(l), v = w(n), u = w(!1), S = w();
92
92
  let t = null;
93
- ct(() => {
93
+ ut(() => {
94
94
  ie(() => {
95
- f.value && (b.value = f.value.getBoundingClientRect().width);
96
- const h = le(
95
+ f.value && (S.value = f.value.getBoundingClientRect().width);
96
+ const p = le(
97
97
  f,
98
98
  () => {
99
- f.value && (ie(() => h()), t = ht(f.value, ({ width: M }) => {
100
- b.value = M;
99
+ f.value && (ie(() => p()), t = Lt(f.value, ({ width: M }) => {
100
+ S.value = M;
101
101
  }));
102
102
  },
103
103
  { immediate: !0 }
104
104
  );
105
105
  });
106
- }), ut(() => {
106
+ }), gt(() => {
107
107
  t == null || t.disconnect();
108
- }), un(() => {
109
- var h;
110
- v.value && ((h = Object.keys(v.value)) == null ? void 0 : h.length) > 0 && Object.keys(v.value).forEach((i) => {
108
+ }), gn(() => {
109
+ var p;
110
+ v.value && ((p = Object.keys(v.value)) == null ? void 0 : p.length) > 0 && Object.keys(v.value).forEach((i) => {
111
111
  v.value[i] = [];
112
112
  });
113
113
  });
114
114
  const _ = R(() => {
115
- const h = [];
115
+ const p = [];
116
116
  let M = 0, i = 0;
117
- const S = {};
117
+ const y = {};
118
118
  let O = d.value.filter((V) => V.visible !== !1);
119
119
  g != null && g.hasSelectableColumn.value && (O = [
120
- { field: re, label: "", width: 40, padding: { left: !1, right: !1 } },
120
+ { field: re, label: "", width: 40, frozen: !0, padding: { left: !1, right: !1 } },
121
121
  ...O
122
122
  ]), O.forEach((V) => {
123
123
  const z = { ...V };
124
124
  let x;
125
- z.flex && z.flex > 0 ? (M += z.flex, x = 0, h.push(z)) : x = Math.max(
126
- (z == null ? void 0 : z.width) ?? Mn,
127
- (z == null ? void 0 : z.minWidth) ?? Je
128
- ), i += x, z.width = x, z.minWidth = (z == null ? void 0 : z.minWidth) ?? Je, S[z.field] = z;
125
+ z.flex && z.flex > 0 ? (M += z.flex, x = 0, p.push(z)) : x = Math.max(
126
+ (z == null ? void 0 : z.width) ?? kn,
127
+ (z == null ? void 0 : z.minWidth) ?? Qe
128
+ ), i += x, z.width = x, z.minWidth = (z == null ? void 0 : z.minWidth) ?? Qe, y[z.field] = z;
129
129
  });
130
- const D = Math.max(b.value - i, 0);
131
- if (M > 0 && b.value > 0) {
132
- const V = kn(D, M, h);
130
+ const k = Math.max(S.value - i, 0);
131
+ if (M > 0 && S.value > 0) {
132
+ const V = Dn(k, M, p);
133
133
  Object.keys(V).forEach((z) => {
134
- S[z].width = V[z].computedWidth;
134
+ y[z].width = V[z].computedWidth;
135
135
  });
136
136
  }
137
- return Object.values(S);
138
- }), o = w(void 0), m = (h) => {
139
- o.value = { ...o.value, ...h };
137
+ return Object.values(y);
138
+ }), o = w(void 0), m = (p) => {
139
+ o.value = { ...o.value, ...p };
140
140
  };
141
- d.value.some((h) => h == null ? void 0 : h.autoWidth) && le(
142
- [() => d.value, () => p.value],
141
+ d.value.some((p) => p == null ? void 0 : p.autoWidth) && le(
142
+ [() => d.value, () => b.value],
143
143
  async () => {
144
- u.value = !0, await ie(), d == null || d.value.filter((h) => h == null ? void 0 : h.autoWidth).forEach(({ field: h, minWidth: M }) => {
145
- var S, O;
146
- const i = (O = (S = v.value) == null ? void 0 : S[h]) == null ? void 0 : O.reduce(
147
- (D, V) => Math.max(D, V != null && V.offsetWidth ? V.offsetWidth + 4 : 0),
144
+ u.value = !0, await ie(), d == null || d.value.filter((p) => p == null ? void 0 : p.autoWidth).forEach(({ field: p, minWidth: M }) => {
145
+ var y, O;
146
+ const i = (O = (y = v.value) == null ? void 0 : y[p]) == null ? void 0 : O.reduce(
147
+ (k, V) => Math.max(k, V != null && V.offsetWidth ? V.offsetWidth + 4 : 0),
148
148
  0
149
149
  );
150
150
  (M === void 0 || i > M) && m({
151
- [h]: {
151
+ [p]: {
152
152
  width: i
153
153
  }
154
154
  });
@@ -156,45 +156,45 @@ const Un = (e, s) => {
156
156
  },
157
157
  { immediate: !0 }
158
158
  );
159
- const L = R(
160
- () => _.value.map((h) => {
159
+ const h = R(
160
+ () => _.value.map((p) => {
161
161
  var M, i;
162
162
  return {
163
- ...h,
163
+ ...p,
164
164
  // Override column width with resized ones
165
- width: ((i = (M = o.value) == null ? void 0 : M[h.field]) == null ? void 0 : i.width) ?? h.width
165
+ width: ((i = (M = o.value) == null ? void 0 : M[p.field]) == null ? void 0 : i.width) ?? p.width
166
166
  };
167
167
  })
168
- ), C = R(() => L.value.reduce((h, M) => M.width + h, 0)), I = R(() => ({
169
- width: b.value > C.value ? "100%" : "fit-content"
168
+ ), C = R(() => h.value.reduce((p, M) => M.width + p, 0)), I = R(() => ({
169
+ width: S.value > C.value ? "100%" : "fit-content"
170
170
  }));
171
- return { columnDefs: L, gridColumnWidthStyle: I, onColumnWidthOverride: m, isMeasuringColumnWidths: u };
172
- }, zn = (e, s, l, n, g) => {
173
- const d = w(e.value ?? []), p = Ne({
171
+ return { columnDefs: h, gridColumnWidthStyle: I, onColumnWidthOverride: m, isMeasuringColumnWidths: u };
172
+ }, Fn = (e, s, l, n, g) => {
173
+ const d = w(e.value ?? []), b = Ne({
174
174
  allItemsSelected: !1,
175
175
  isIndeterminate: !1
176
176
  }), f = () => {
177
- s($.SELECT, d.value), s($.UPDATE_SELECTION, d.value);
177
+ s(A.SELECT, d.value), s(A.UPDATE_SELECTION, d.value);
178
178
  }, v = (t) => {
179
- var o, m, L, C, I;
180
- if (d.value = t, ((o = l.value) == null ? void 0 : o.length) > 0 && ((m = l.value) == null ? void 0 : m.filter((h) => !g(h)).every((h) => d.value.includes(n(h))))) {
181
- p.allItemsSelected = !0;
182
- const h = ((L = l.value) == null ? void 0 : L.length) > 0 && l.value.every((M) => d.value.includes(n(M)));
183
- p.isIndeterminate = !h;
179
+ var o, m, h, C, I;
180
+ if (d.value = t, ((o = l.value) == null ? void 0 : o.length) > 0 && ((m = l.value) == null ? void 0 : m.filter((p) => !g(p)).every((p) => d.value.includes(n(p))))) {
181
+ b.allItemsSelected = !0;
182
+ const p = ((h = l.value) == null ? void 0 : h.length) > 0 && l.value.every((M) => d.value.includes(n(M)));
183
+ b.isIndeterminate = !p;
184
184
  } else
185
- p.allItemsSelected = !1, p.isIndeterminate = ((C = d.value) == null ? void 0 : C.length) > 0 && ((I = l.value) == null ? void 0 : I.length) > 0 && l.value.some((h) => d.value.includes(n(h)));
185
+ b.allItemsSelected = !1, b.isIndeterminate = ((C = d.value) == null ? void 0 : C.length) > 0 && ((I = l.value) == null ? void 0 : I.length) > 0 && l.value.some((p) => d.value.includes(n(p)));
186
186
  }, u = (t) => {
187
187
  ie(() => {
188
188
  var _, o, m;
189
- if (p.allItemsSelected = t, t) {
189
+ if (b.allItemsSelected = t, t) {
190
190
  d.value = (o = (_ = l.value) == null ? void 0 : _.filter((C) => !g(C))) == null ? void 0 : o.map((C) => n(C));
191
- const L = ((m = l.value) == null ? void 0 : m.length) > 0 && l.value.every((C) => d.value.includes(n(C)));
192
- p.isIndeterminate = d.value.length > 0 && !L;
191
+ const h = ((m = l.value) == null ? void 0 : m.length) > 0 && l.value.every((C) => d.value.includes(n(C)));
192
+ b.isIndeterminate = d.value.length > 0 && !h;
193
193
  } else
194
- d.value = [], p.isIndeterminate = !1;
194
+ d.value = [], b.isIndeterminate = !1;
195
195
  f();
196
196
  });
197
- }, b = (t) => {
197
+ }, S = (t) => {
198
198
  ie(() => {
199
199
  v(t), f();
200
200
  });
@@ -210,10 +210,10 @@ const Un = (e, s) => {
210
210
  () => {
211
211
  v(d.value);
212
212
  }
213
- ), { onAllRowSelect: u, onRowSelect: b, allItemsSelectedState: p, selectedItems: d };
214
- }, Fn = (e, s, l) => ({ conditionalSortDirectionClasses: (d, p) => ({
213
+ ), { onAllRowSelect: u, onRowSelect: S, allItemsSelectedState: b, selectedItems: d };
214
+ }, Gn = (e, s, l) => ({ conditionalSortDirectionClasses: (d, b) => ({
215
215
  "b-data-grid-columns__column-sort-icon--sorted": e.value.some(
216
- (f) => f.field === d && f.direction === p
216
+ (f) => f.field === d && f.direction === b
217
217
  )
218
218
  }), sortByColumnField: (d) => {
219
219
  var v;
@@ -226,22 +226,22 @@ const Un = (e, s) => {
226
226
  l(P.SORT, f);
227
227
  } });
228
228
  var q = ((e) => (e[e.ARROW_DOWN = ee.ARROW_DOWN] = "ARROW_DOWN", e[e.ARROW_UP = ee.ARROW_UP] = "ARROW_UP", e[e.ARROW_LEFT = ee.ARROW_LEFT] = "ARROW_LEFT", e[e.ARROW_RIGHT = ee.ARROW_RIGHT] = "ARROW_RIGHT", e[e.PAGE_UP = ee.PAGE_UP] = "PAGE_UP", e[e.PAGE_DOWN = ee.PAGE_DOWN] = "PAGE_DOWN", e[e.END = ee.END] = "END", e[e.HOME = ee.HOME] = "HOME", e))(q || {});
229
- const Gn = (e, s, l) => {
229
+ const Wn = (e, s, l) => {
230
230
  const n = R(() => {
231
231
  const o = s.value.filter(({ visible: m }) => m !== !1);
232
232
  return l.value ? o.length + 1 : o.length;
233
233
  }), g = R(
234
234
  () => [...Object.values(e.value)].flat(1).sort((o, m) => {
235
- const L = Number(o.getAttribute("data-cellindex")), C = Number(m.getAttribute("data-cellindex"));
236
- return L > C ? 1 : C > L ? -1 : 0;
235
+ const h = Number(o.getAttribute("data-cellindex")), C = Number(m.getAttribute("data-cellindex"));
236
+ return h > C ? 1 : C > h ? -1 : 0;
237
237
  })
238
- ), d = (o) => Math.floor(o / n.value), p = (o, m, L) => {
239
- const C = g.value.length - 1, I = n.value - 1, h = d(o), M = o - n.value * h;
238
+ ), d = (o) => Math.floor(o / n.value), b = (o, m, h) => {
239
+ const C = g.value.length - 1, I = n.value - 1, p = d(o), M = o - n.value * p;
240
240
  return {
241
241
  [q.PAGE_UP]: M,
242
242
  [q.PAGE_DOWN]: C - I + M,
243
- [q.END]: L ? C : n.value * h + I,
244
- [q.HOME]: L ? 0 : n.value * h
243
+ [q.END]: h ? C : n.value * p + I,
244
+ [q.HOME]: h ? 0 : n.value * p
245
245
  }[m];
246
246
  }, f = (o, m) => {
247
247
  const C = {
@@ -256,82 +256,82 @@ const Gn = (e, s, l) => {
256
256
  q.PAGE_DOWN,
257
257
  q.END,
258
258
  q.HOME
259
- ].includes(o), u = (o, m, L) => {
259
+ ].includes(o), u = (o, m, h) => {
260
260
  const C = g.value.indexOf(o);
261
- return v(m) ? p(C, m, L) : f(C, m);
262
- }, b = (o, m, L) => {
261
+ return v(m) ? b(C, m, h) : f(C, m);
262
+ }, S = (o, m, h) => {
263
263
  if (!g.value.includes(o))
264
264
  return;
265
- const C = u(o, m, L);
265
+ const C = u(o, m, h);
266
266
  g.value[C].focus();
267
267
  }, t = (o) => o in q;
268
268
  return {
269
269
  isNavigationKeyCode: t,
270
- focusOnNextGridcell: b,
270
+ focusOnNextGridcell: S,
271
271
  navigationInput: (o) => {
272
- const { ctrlKey: m, keyCode: L, target: C } = o;
273
- Object.values(e.value).flat(1).includes(C) && t(L) && b(C, L, m);
272
+ const { ctrlKey: m, keyCode: h, target: C } = o;
273
+ Object.values(e.value).flat(1).includes(C) && t(h) && S(C, h, m);
274
274
  }
275
275
  };
276
- }, Wn = (e, s, l, n) => {
277
- const g = w(e), d = w(s), p = w(l), f = R(() => g.value !== "none"), v = R(() => g.value === "automatic"), u = () => {
278
- n($.UPDATE_SHOW_MORE);
276
+ }, Vn = (e, s, l, n) => {
277
+ const g = w(e), d = w(s), b = w(l), f = R(() => g.value !== "none"), v = R(() => g.value === "automatic"), u = () => {
278
+ n(A.UPDATE_SHOW_MORE);
279
279
  };
280
280
  return le(
281
281
  () => d.value,
282
282
  () => {
283
283
  if (v.value) {
284
- const t = p.value.offsetHeight - d.value;
284
+ const t = b.value.offsetHeight - d.value;
285
285
  (t === 0 || t === 1) && u();
286
286
  }
287
287
  }
288
288
  ), { isLazyLoad: f, isInfiniteScroll: v, verticalScrollPosition: d, emitLazyLoadEvent: u };
289
- }, Vn = (e, s, l) => {
289
+ }, Bn = (e, s, l) => {
290
290
  const n = w(e), g = w(s), d = Ne({
291
291
  dragging: null,
292
292
  dragToLeft: null,
293
293
  target: null
294
- }), p = (o, m = 0) => {
295
- const L = n.value.findIndex((h) => h.field === o.field), C = L + m;
294
+ }), b = (o, m = 0) => {
295
+ const h = n.value.findIndex((p) => p.field === o.field), C = h + m;
296
296
  if (C < 0 || C > n.value.length - 1)
297
297
  return;
298
298
  const I = [...n.value];
299
- I.splice(C, 0, I.splice(L, 1)[0]), l($.COLUMNS, I), l($.UPDATE_COLUMNS, I);
299
+ I.splice(C, 0, I.splice(h, 1)[0]), l(A.COLUMNS, I), l(A.UPDATE_COLUMNS, I);
300
300
  }, f = (o, m) => {
301
301
  d.dragging = o, m.dataTransfer.setData("text", ""), m.dataTransfer.dropEffect = "move";
302
302
  }, v = (o, m) => {
303
303
  d.target = o;
304
- const L = m.currentTarget.getBoundingClientRect(), C = L.left + L.width / 2, I = m.clientX ?? 0;
304
+ const h = m.currentTarget.getBoundingClientRect(), C = h.left + h.width / 2, I = m.clientX ?? 0;
305
305
  d.dragToLeft = I <= C;
306
306
  }, u = (o) => {
307
- var m, L;
307
+ var m, h;
308
308
  if (((m = d.dragging) == null ? void 0 : m.field) !== o.field) {
309
309
  const C = n.value.findIndex((O) => {
310
- var D;
311
- return O.field === ((D = d.dragging) == null ? void 0 : D.field);
312
- }), I = n.value.findIndex((O) => O.field === o.field), h = d.dragToLeft ? I : I + 1, M = h > C ? h - 1 : h;
310
+ var k;
311
+ return O.field === ((k = d.dragging) == null ? void 0 : k.field);
312
+ }), I = n.value.findIndex((O) => O.field === o.field), p = d.dragToLeft ? I : I + 1, M = p > C ? p - 1 : p;
313
313
  let i = [...n.value];
314
314
  i.splice(
315
315
  M === -1 ? 0 : M,
316
316
  0,
317
317
  i.splice(C, 1)[0]
318
318
  );
319
- const S = n.value.findIndex((O) => !(O != null && O.frozen));
320
- ((L = d.dragging) == null ? void 0 : L.frozen) !== o.frozen && h !== S && (i = i.map(
319
+ const y = n.value.findIndex((O) => !(O != null && O.frozen));
320
+ ((h = d.dragging) == null ? void 0 : h.frozen) !== o.frozen && p !== y && (i = i.map(
321
321
  (O) => {
322
- var D;
323
- return ((D = d.dragging) == null ? void 0 : D.field) === O.field ? { ...O, frozen: !!(o != null && o.frozen) } : O;
322
+ var k;
323
+ return ((k = d.dragging) == null ? void 0 : k.field) === O.field ? { ...O, frozen: !!(o != null && o.frozen) } : O;
324
324
  }
325
- )), l($.COLUMNS, i), l($.UPDATE_COLUMNS, i);
325
+ )), l(A.COLUMNS, i), l(A.UPDATE_COLUMNS, i);
326
326
  }
327
327
  d.dragging = null, d.target = null;
328
- }, b = () => {
328
+ }, S = () => {
329
329
  d.dragging = null, d.dragToLeft = null, d.target = null;
330
330
  }, t = R(() => g.value ? {
331
331
  [P.COLUMN_DRAG_START]: (o, m) => f(o, m),
332
332
  [P.COLUMN_DRAG_ENTER]: (o, m) => v(o, m),
333
333
  [P.COLUMN_DROP]: (o) => u(o),
334
- [P.COLUMN_DRAG_END]: () => b()
334
+ [P.COLUMN_DRAG_END]: () => S()
335
335
  } : {}), _ = R(() => (o) => g.value ? {
336
336
  dragenter: (m) => {
337
337
  m.preventDefault(), v(o, m);
@@ -349,24 +349,24 @@ const Gn = (e, s, l) => {
349
349
  // Methods
350
350
  draggingEventsForColumns: t,
351
351
  draggingEventsForRowCell: _,
352
- onMoveColumnByOffset: p
352
+ onMoveColumnByOffset: b
353
353
  };
354
- }, Bn = (e, s) => {
354
+ }, Hn = (e, s) => {
355
355
  const l = w(e), n = R(
356
356
  () => [...l.value].sort((t, _) => t.frozen === _.frozen ? 0 : t.frozen ? -1 : 1)
357
- ), g = R(() => n.value.filter((t) => t.frozen)), d = R(() => n.value.filter((t) => !t.frozen)), p = R(
357
+ ), g = R(() => n.value.filter((t) => t.frozen)), d = R(() => n.value.filter((t) => !t.frozen)), b = R(
358
358
  () => [
359
359
  { columnSet: g.value, id: "frozen", isFrozenColumns: !0 },
360
360
  { columnSet: d.value, id: "unfrozen" }
361
361
  ].filter(({ columnSet: t }) => t.length)
362
362
  ), f = R(
363
363
  () => l.value.filter((t) => (t == null ? void 0 : t.visible) !== !1 && (t == null ? void 0 : t.field) !== re).length === 1
364
- ), v = (t) => s($.UPDATE_CONDENSED, t), u = (t) => {
365
- s($.COLUMNS, t), s($.UPDATE_COLUMNS, t);
364
+ ), v = (t) => s(A.UPDATE_CONDENSED, t), u = (t) => {
365
+ s(A.COLUMNS, t), s(A.UPDATE_COLUMNS, t);
366
366
  };
367
367
  return {
368
368
  // Values
369
- columnSets: p,
369
+ columnSets: b,
370
370
  isOnlyOneVisibleColumn: f,
371
371
  sortedColumns: n,
372
372
  // Methods
@@ -379,18 +379,18 @@ const Gn = (e, s, l) => {
379
379
  u(_);
380
380
  }
381
381
  };
382
- }, Qe = (e, s) => {
382
+ }, xe = (e, s) => {
383
383
  const l = w(0);
384
384
  let n = null;
385
385
  const g = () => {
386
386
  e != null && e.value && s.value && (l.value = e.value.offsetHeight);
387
387
  };
388
- return ct(() => {
388
+ return ut(() => {
389
389
  ie(() => {
390
390
  const d = le(
391
391
  e,
392
392
  () => {
393
- e != null && e.value && (ie(() => d()), n = ht(e.value, () => {
393
+ e != null && e.value && (ie(() => d()), n = Lt(e.value, () => {
394
394
  g();
395
395
  }));
396
396
  },
@@ -404,190 +404,191 @@ const Gn = (e, s, l) => {
404
404
  { immediate: !0 }
405
405
  );
406
406
  });
407
- }), ut(() => {
407
+ }), gt(() => {
408
408
  n == null || n.disconnect();
409
409
  }), l;
410
- }, Hn = (e, s, l) => {
411
- const n = w(0);
410
+ }, Zn = (e, s, l) => {
411
+ const n = w(0), g = w(!1);
412
412
  return le(
413
413
  () => n.value,
414
414
  () => {
415
- e.value.scrollLeft = n.value, s.value.scrollLeft = n.value;
415
+ e.value.scrollLeft = n.value, s.value.scrollLeft = n.value, g.value = !!n.value;
416
416
  }
417
417
  ), {
418
418
  // Values
419
419
  scrollLeftPosition: n,
420
+ isHorizontallyScrolling: g,
420
421
  // Methods
421
- updateScrollPosition: (p) => {
422
- n.value = p.target.scrollLeft, l.value = e.value.scrollHeight - p.target.scrollTop;
422
+ updateScrollPosition: (f) => {
423
+ n.value = f.target.scrollLeft, l.value = e.value.scrollHeight - f.target.scrollTop;
423
424
  },
424
- updateScrollPositionOnFrozenColumnsNavigation: (p) => {
425
- p.key !== "Tab" && p.key !== "ArrowRight" && p.key !== "ArrowLeft" || (p.preventDefault(), e.value.scrollLeft = 0, e.value.style.overflowX = "hidden", setTimeout(() => {
425
+ updateScrollPositionOnFrozenColumnsNavigation: (f) => {
426
+ f.key !== "Tab" && f.key !== "ArrowRight" && f.key !== "ArrowLeft" || (f.preventDefault(), e.value.scrollLeft = 0, e.value.style.overflowX = "hidden", setTimeout(() => {
426
427
  e.value.style.overflowX = "auto";
427
428
  }));
428
429
  }
429
430
  };
430
431
  };
431
- let xe = 0;
432
- const Zn = {
432
+ let et = 0;
433
+ const jn = {
433
434
  beforeCreate() {
434
- this.uuid = xe.toString(), xe += 1;
435
+ this.uuid = et.toString(), et += 1;
435
436
  }
436
- }, jn = { key: 0 }, Yn = /* @__PURE__ */ T("path", {
437
+ }, Yn = { key: 0 }, qn = /* @__PURE__ */ T("path", {
437
438
  fill: "#00112C",
438
439
  d: "M8 4.75L3.5 10.75L12.5 10.75L8 4.75Z"
439
440
  }, null, -1);
440
- function qn(e, s, l, n, g, d) {
441
- return c(), y("svg", K({ role: "img" }, e.$attrs, {
441
+ function Xn(e, s, l, n, g, d) {
442
+ return c(), L("svg", K({ role: "img" }, e.$attrs, {
442
443
  class: "ui-assets-icons-16",
443
444
  xmlns: "http://www.w3.org/2000/svg",
444
445
  width: "16",
445
446
  height: "16",
446
447
  fill: "none"
447
448
  }), [
448
- e.$attrs["svg-title"] ? (c(), y("title", jn, F(e.$attrs["svg-title"]), 1)) : N("", !0),
449
- Yn
449
+ e.$attrs["svg-title"] ? (c(), L("title", Yn, F(e.$attrs["svg-title"]), 1)) : N("", !0),
450
+ qn
450
451
  ], 16);
451
452
  }
452
- const Xn = /* @__PURE__ */ j(Zn, [["render", qn]]);
453
- let et = 0;
454
- const Kn = {
453
+ const Kn = /* @__PURE__ */ j(jn, [["render", Xn]]);
454
+ let tt = 0;
455
+ const Jn = {
455
456
  beforeCreate() {
456
- this.uuid = et.toString(), et += 1;
457
+ this.uuid = tt.toString(), tt += 1;
457
458
  }
458
- }, Jn = { key: 0 }, Qn = /* @__PURE__ */ T("path", {
459
+ }, Qn = { key: 0 }, xn = /* @__PURE__ */ T("path", {
459
460
  fill: "#00112C",
460
461
  d: "M8 11.25L12.5 5.25H3.5L8 11.25Z"
461
462
  }, null, -1);
462
- function xn(e, s, l, n, g, d) {
463
- return c(), y("svg", K({ role: "img" }, e.$attrs, {
463
+ function es(e, s, l, n, g, d) {
464
+ return c(), L("svg", K({ role: "img" }, e.$attrs, {
464
465
  class: "ui-assets-icons-16",
465
466
  xmlns: "http://www.w3.org/2000/svg",
466
467
  width: "16",
467
468
  height: "16",
468
469
  fill: "none"
469
470
  }), [
470
- e.$attrs["svg-title"] ? (c(), y("title", Jn, F(e.$attrs["svg-title"]), 1)) : N("", !0),
471
- Qn
471
+ e.$attrs["svg-title"] ? (c(), L("title", Qn, F(e.$attrs["svg-title"]), 1)) : N("", !0),
472
+ xn
472
473
  ], 16);
473
474
  }
474
- const es = /* @__PURE__ */ j(Kn, [["render", xn]]);
475
- let tt = 0;
476
- const ts = {
475
+ const ts = /* @__PURE__ */ j(Jn, [["render", es]]);
476
+ let nt = 0;
477
+ const ns = {
477
478
  beforeCreate() {
478
- this.uuid = tt.toString(), tt += 1;
479
+ this.uuid = nt.toString(), nt += 1;
479
480
  }
480
- }, ns = { key: 0 }, ss = /* @__PURE__ */ T("path", {
481
+ }, ss = { key: 0 }, is = /* @__PURE__ */ T("path", {
481
482
  fill: "#00112C",
482
483
  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"
483
484
  }, null, -1);
484
- function is(e, s, l, n, g, d) {
485
- return c(), y("svg", K({ role: "img" }, e.$attrs, {
485
+ function ls(e, s, l, n, g, d) {
486
+ return c(), L("svg", K({ role: "img" }, e.$attrs, {
486
487
  class: "ui-assets-icons-16",
487
488
  xmlns: "http://www.w3.org/2000/svg",
488
489
  width: "16",
489
490
  height: "16",
490
491
  fill: "none"
491
492
  }), [
492
- e.$attrs["svg-title"] ? (c(), y("title", ns, F(e.$attrs["svg-title"]), 1)) : N("", !0),
493
- ss
493
+ e.$attrs["svg-title"] ? (c(), L("title", ss, F(e.$attrs["svg-title"]), 1)) : N("", !0),
494
+ is
494
495
  ], 16);
495
496
  }
496
- const ls = /* @__PURE__ */ j(ts, [["render", is]]);
497
- let nt = 0;
498
- const os = {
497
+ const os = /* @__PURE__ */ j(ns, [["render", ls]]);
498
+ let st = 0;
499
+ const as = {
499
500
  beforeCreate() {
500
- this.uuid = nt.toString(), nt += 1;
501
+ this.uuid = st.toString(), st += 1;
501
502
  }
502
- }, as = { key: 0 }, rs = ["clip-path"], ds = /* @__PURE__ */ T("path", {
503
+ }, rs = { key: 0 }, ds = ["clip-path"], cs = /* @__PURE__ */ T("path", {
503
504
  fill: "#00112C",
504
505
  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"
505
- }, null, -1), cs = [
506
- ds
507
- ], us = ["id"], gs = /* @__PURE__ */ T("rect", {
506
+ }, null, -1), us = [
507
+ cs
508
+ ], gs = ["id"], fs = /* @__PURE__ */ T("rect", {
508
509
  width: "16",
509
510
  height: "16",
510
511
  fill: "#fff",
511
512
  transform: "matrix(1 0 0 -1 0 16)"
512
- }, null, -1), fs = [
513
- gs
513
+ }, null, -1), _s = [
514
+ fs
514
515
  ];
515
- function _s(e, s, l, n, g, d) {
516
- return c(), y("svg", K({ role: "img" }, e.$attrs, {
516
+ function Cs(e, s, l, n, g, d) {
517
+ return c(), L("svg", K({ role: "img" }, e.$attrs, {
517
518
  class: "ui-assets-icons-16",
518
519
  xmlns: "http://www.w3.org/2000/svg",
519
520
  width: "16",
520
521
  height: "16",
521
522
  fill: "none"
522
523
  }), [
523
- e.$attrs["svg-title"] ? (c(), y("title", as, F(e.$attrs["svg-title"]), 1)) : N("", !0),
524
+ e.$attrs["svg-title"] ? (c(), L("title", rs, F(e.$attrs["svg-title"]), 1)) : N("", !0),
524
525
  T("g", {
525
526
  "clip-path": "url(#uia-icons-16-freeze__a" + e.uuid + ")"
526
- }, cs, 8, rs),
527
+ }, us, 8, ds),
527
528
  T("defs", null, [
528
529
  T("clipPath", {
529
530
  id: "uia-icons-16-freeze__a" + e.uuid
530
- }, fs, 8, us)
531
+ }, _s, 8, gs)
531
532
  ])
532
533
  ], 16);
533
534
  }
534
- const bt = /* @__PURE__ */ j(os, [["render", _s]]);
535
- let st = 0;
536
- const Cs = {
535
+ const Et = /* @__PURE__ */ j(as, [["render", Cs]]);
536
+ let it = 0;
537
+ const ms = {
537
538
  beforeCreate() {
538
- this.uuid = st.toString(), st += 1;
539
+ this.uuid = it.toString(), it += 1;
539
540
  }
540
- }, ms = { key: 0 }, vs = /* @__PURE__ */ T("path", {
541
+ }, vs = { key: 0 }, ps = /* @__PURE__ */ T("path", {
541
542
  fill: "#00112C",
542
543
  d: "M2.99035 14.0608L14.051 3.00011L12.9903 1.93945L1.92969 13.0001L2.99035 14.0608Z"
543
- }, null, -1), ps = /* @__PURE__ */ T("path", {
544
+ }, null, -1), hs = /* @__PURE__ */ T("path", {
544
545
  fill: "#00112C",
545
546
  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"
546
- }, null, -1), hs = /* @__PURE__ */ T("path", {
547
+ }, null, -1), Ls = /* @__PURE__ */ T("path", {
547
548
  fill: "#00112C",
548
549
  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"
549
550
  }, null, -1);
550
- function Ls(e, s, l, n, g, d) {
551
- return c(), y("svg", K({ role: "img" }, e.$attrs, {
551
+ function ys(e, s, l, n, g, d) {
552
+ return c(), L("svg", K({ role: "img" }, e.$attrs, {
552
553
  class: "ui-assets-icons-16",
553
554
  xmlns: "http://www.w3.org/2000/svg",
554
555
  width: "16",
555
556
  height: "16",
556
557
  fill: "none"
557
558
  }), [
558
- e.$attrs["svg-title"] ? (c(), y("title", ms, F(e.$attrs["svg-title"]), 1)) : N("", !0),
559
- vs,
559
+ e.$attrs["svg-title"] ? (c(), L("title", vs, F(e.$attrs["svg-title"]), 1)) : N("", !0),
560
560
  ps,
561
- hs
561
+ hs,
562
+ Ls
562
563
  ], 16);
563
564
  }
564
- const ys = /* @__PURE__ */ j(Cs, [["render", Ls]]);
565
- let it = 0;
566
- const Ss = {
565
+ const Ss = /* @__PURE__ */ j(ms, [["render", ys]]);
566
+ let lt = 0;
567
+ const bs = {
567
568
  beforeCreate() {
568
- this.uuid = it.toString(), it += 1;
569
+ this.uuid = lt.toString(), lt += 1;
569
570
  }
570
- }, bs = { key: 0 }, Es = /* @__PURE__ */ T("path", {
571
+ }, Es = { key: 0 }, As = /* @__PURE__ */ T("path", {
571
572
  fill: "#00112C",
572
573
  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"
573
574
  }, null, -1), $s = /* @__PURE__ */ T("path", {
574
575
  fill: "#00112C",
575
576
  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"
576
577
  }, null, -1);
577
- function As(e, s, l, n, g, d) {
578
- return c(), y("svg", K({ role: "img" }, e.$attrs, {
578
+ function Is(e, s, l, n, g, d) {
579
+ return c(), L("svg", K({ role: "img" }, e.$attrs, {
579
580
  class: "ui-assets-icons-16",
580
581
  xmlns: "http://www.w3.org/2000/svg",
581
582
  width: "16",
582
583
  height: "16",
583
584
  fill: "none"
584
585
  }), [
585
- e.$attrs["svg-title"] ? (c(), y("title", bs, F(e.$attrs["svg-title"]), 1)) : N("", !0),
586
- Es,
586
+ e.$attrs["svg-title"] ? (c(), L("title", Es, F(e.$attrs["svg-title"]), 1)) : N("", !0),
587
+ As,
587
588
  $s
588
589
  ], 16);
589
590
  }
590
- const Is = /* @__PURE__ */ j(Ss, [["render", As]]), lt = {
591
+ const Rs = /* @__PURE__ */ j(bs, [["render", Is]]), ot = {
591
592
  "en-US": {
592
593
  freezeColumn: "Freeze column",
593
594
  hideColumn: "Hide column",
@@ -599,16 +600,16 @@ const Is = /* @__PURE__ */ j(Ss, [["render", As]]), lt = {
599
600
  showColumn: "Show column",
600
601
  unfreezeColumn: "Unfreeze column"
601
602
  }
602
- }, Rs = de({
603
- i18n: { messages: lt },
603
+ }, Ts = de({
604
+ i18n: { messages: ot },
604
605
  name: "data-grid-columns",
605
606
  components: {
606
- BentoCheckbox: mt,
607
- BentoInfoIcon: On,
607
+ BentoCheckbox: vt,
608
+ BentoInfoIcon: wn,
608
609
  BentoTypography: Re,
609
- BentoMenu: St,
610
- TriangleUp: Xn,
611
- TriangleDown: es
610
+ BentoMenu: bt,
611
+ TriangleUp: Kn,
612
+ TriangleDown: ts
612
613
  },
613
614
  props: {
614
615
  /**
@@ -667,6 +668,13 @@ const Is = /* @__PURE__ */ j(Ss, [["render", As]]), lt = {
667
668
  type: Boolean,
668
669
  default: !1
669
670
  },
671
+ /**
672
+ * Show frozen columns separator
673
+ */
674
+ showFrozenColumnsSeparator: {
675
+ type: Boolean,
676
+ default: !1
677
+ },
670
678
  /**
671
679
  * The column all items selected state
672
680
  */
@@ -707,7 +715,7 @@ const Is = /* @__PURE__ */ j(Ss, [["render", As]]), lt = {
707
715
  P.COLUMN_MENU_CLOSE
708
716
  ],
709
717
  setup(e, { emit: s }) {
710
- const { t: l } = Ue({ messages: lt }), { columns: n, sortBy: g } = Pe(e), d = (i) => s(P.SELECT_ALL_ROWS, i), p = (i) => i.field === re, f = R(() => [
718
+ const { t: l } = Ue({ messages: ot }), { columns: n, sortBy: g } = Pe(e), d = (i) => s(P.SELECT_ALL_ROWS, i), b = (i) => i.field === re, f = R(() => [
711
719
  {
712
720
  text: l("selectPage"),
713
721
  handler: () => d(!0)
@@ -716,24 +724,24 @@ const Is = /* @__PURE__ */ j(Ss, [["render", As]]), lt = {
716
724
  text: l("selectAll"),
717
725
  handler: () => s(P.SELECT_ALL_ACROSS_PAGES)
718
726
  }
719
- ]), { startResize: v, isResizing: u } = Un(n, s), { conditionalSortDirectionClasses: b, sortByColumnField: t } = Fn(g, n, s), _ = (i) => {
720
- var D;
727
+ ]), { startResize: v, isResizing: u } = Mn(n, s), { conditionalSortDirectionClasses: S, sortByColumnField: t } = Gn(g, n, s), _ = (i) => {
728
+ var k;
721
729
  if (!i.sortable)
722
730
  return null;
723
- const S = (D = e.sortBy.find(({ field: V }) => V === i.field)) == null ? void 0 : D.direction;
724
- return S ? {
725
- [oe.ASCENDING]: Ae.ASCENDING,
726
- [oe.DESCENDING]: Ae.DESCENDING
727
- }[S] : Ae.NONE;
731
+ const y = (k = e.sortBy.find(({ field: V }) => V === i.field)) == null ? void 0 : k.direction;
732
+ return y ? {
733
+ [oe.ASCENDING]: $e.ASCENDING,
734
+ [oe.DESCENDING]: $e.DESCENDING
735
+ }[y] : $e.NONE;
728
736
  }, o = R(() => (i) => e.hasDraggableColumns ? {
729
- dragstart: (S) => {
730
- s(P.COLUMN_DRAG_START, i, S);
737
+ dragstart: (y) => {
738
+ s(P.COLUMN_DRAG_START, i, y);
731
739
  },
732
- dragover: (S) => {
733
- S.preventDefault();
740
+ dragover: (y) => {
741
+ y.preventDefault();
734
742
  },
735
- dragenter: (S) => {
736
- S.preventDefault(), s(P.COLUMN_DRAG_ENTER, i, S);
743
+ dragenter: (y) => {
744
+ y.preventDefault(), s(P.COLUMN_DRAG_ENTER, i, y);
737
745
  },
738
746
  drop: () => {
739
747
  s(P.COLUMN_DROP, i);
@@ -745,19 +753,19 @@ const Is = /* @__PURE__ */ j(Ss, [["render", As]]), lt = {
745
753
  {
746
754
  text: l("moveColumnLeft"),
747
755
  handler: () => s(P.COLUMN_MOVE, i, -1),
748
- icon: Nn,
756
+ icon: Pn,
749
757
  disabled: e.columns[0].field === i.field
750
758
  },
751
759
  {
752
760
  text: l("moveColumnRight"),
753
761
  handler: () => s(P.COLUMN_MOVE, i, 1),
754
- icon: ls,
762
+ icon: os,
755
763
  disabled: e.columns[e.columns.length - 1].field === i.field
756
764
  },
757
765
  {
758
766
  text: i != null && i.frozen ? l("unfreezeColumn") : l("freezeColumn"),
759
767
  handler: () => s(P.COLUMN_UPDATE, { ...i, frozen: !(i != null && i.frozen) }),
760
- icon: bt
768
+ icon: Et
761
769
  },
762
770
  {
763
771
  text: (i == null ? void 0 : i.visible) !== !1 ? l("hideColumn") : l("showColumn"),
@@ -767,35 +775,38 @@ const Is = /* @__PURE__ */ j(Ss, [["render", As]]), lt = {
767
775
  visible: (i == null ? void 0 : i.visible) === !1
768
776
  });
769
777
  },
770
- icon: (i == null ? void 0 : i.visible) !== !1 ? ys : Is,
778
+ icon: (i == null ? void 0 : i.visible) !== !1 ? Ss : Rs,
771
779
  disabled: (i == null ? void 0 : i.mandatory) || (i == null ? void 0 : i.visible) !== !1 && e.isOnlyOneVisibleColumn
772
780
  }
773
- ]), L = (i) => {
774
- let S = {};
775
- return p(i) || (S = {
781
+ ]), h = (i) => {
782
+ let y = {};
783
+ return b(i) || (y = {
776
784
  ...o.value(i)
777
- }), i.sortable && (S.click = () => t(i.field), S.keydown = (O) => {
785
+ }), i.sortable && (y.click = () => t(i.field), y.keydown = (O) => {
778
786
  O.keyCode === ee.ENTER && t(i.field);
779
- }), S;
787
+ }), y;
780
788
  }, C = R(
781
789
  () => {
782
790
  var i;
783
- return (i = n.value[0]) != null && i.frozen ? { "b-data-grid-columns--frozen": !0 } : {
791
+ return (i = n.value[0]) != null && i.frozen ? {
792
+ "b-data-grid-columns--frozen": !0,
793
+ "b-data-grid-columns--frozen-separator": e.showFrozenColumnsSeparator
794
+ } : {
784
795
  "b-data-grid-columns--unfrozen": !0,
785
796
  "b-data-grid-columns--config-settings-margin": e.hasColumnPanel
786
797
  };
787
798
  }
788
- ), I = (i, S) => i && S === 0 ? Ye.BOTTOM_START : Ye.BOTTOM_END, h = (i) => {
789
- var S, O, D, V, z, x, ce, fe, _e, Ce;
799
+ ), I = (i, y) => i && y === 0 ? qe.BOTTOM_START : qe.BOTTOM_END, p = (i) => {
800
+ var y, O, k, V, z, x, ce, ge, fe, _e;
790
801
  return {
791
802
  "b-data-grid-columns__column--sortable": i.sortable,
792
- "b-data-grid-columns__column--padding-left-unset": ((S = i == null ? void 0 : i.padding) == null ? void 0 : S.left) === !1,
803
+ "b-data-grid-columns__column--padding-left-unset": ((y = i == null ? void 0 : i.padding) == null ? void 0 : y.left) === !1,
793
804
  "b-data-grid-columns__column--padding-right-unset": ((O = i == null ? void 0 : i.padding) == null ? void 0 : O.right) === !1,
794
805
  "b-data-grid-columns__column--numeric": i == null ? void 0 : i.numeric,
795
806
  "b-data-grid-columns__column--frozen": i == null ? void 0 : i.frozen,
796
- "b-data-grid-columns__column--is-re-ordering": (i == null ? void 0 : i.field) === ((V = (D = e.draggingColumns) == null ? void 0 : D.dragging) == null ? void 0 : V.field),
807
+ "b-data-grid-columns__column--is-re-ordering": (i == null ? void 0 : i.field) === ((V = (k = e.draggingColumns) == null ? void 0 : k.dragging) == null ? void 0 : V.field),
797
808
  "b-data-grid-columns__column--is-re-ordering-target-left": (i == null ? void 0 : i.field) === ((x = (z = e.draggingColumns) == null ? void 0 : z.target) == null ? void 0 : x.field) && ((ce = e.draggingColumns) == null ? void 0 : ce.dragToLeft),
798
- "b-data-grid-columns__column--is-re-ordering-target-right": (i == null ? void 0 : i.field) === ((_e = (fe = e.draggingColumns) == null ? void 0 : fe.target) == null ? void 0 : _e.field) && !((Ce = e.draggingColumns) != null && Ce.dragToLeft)
809
+ "b-data-grid-columns__column--is-re-ordering-target-right": (i == null ? void 0 : i.field) === ((fe = (ge = e.draggingColumns) == null ? void 0 : ge.target) == null ? void 0 : fe.field) && !((_e = e.draggingColumns) != null && _e.dragToLeft)
799
810
  };
800
811
  }, M = R(() => ({
801
812
  "b-data-grid-columns__column-separator-container--is-resizeable": e.hasResizableColumns
@@ -804,22 +815,22 @@ const Is = /* @__PURE__ */ j(Ss, [["render", As]]), lt = {
804
815
  // Values
805
816
  DATAGRID_SELECT_FIELD_NAME: re,
806
817
  // Styles and classes
807
- conditionalColumnClasses: h,
818
+ conditionalColumnClasses: p,
808
819
  conditionalColumnSeparatorClasses: M,
809
820
  conditionalColumnsClasses: C,
810
821
  // Selecting
811
- isSelectColumn: p,
822
+ isSelectColumn: b,
812
823
  onAllRowSelect: d,
813
824
  selectAllMenu: f,
814
825
  // Sorting
815
- conditionalSortDirectionClasses: b,
826
+ conditionalSortDirectionClasses: S,
816
827
  sortByColumnField: t,
817
828
  getSortingColumnDirection: _,
818
829
  // Resizing
819
830
  startResize: v,
820
831
  isResizing: u,
821
832
  // Event handlers
822
- dataGridColumnEvents: L,
833
+ dataGridColumnEvents: h,
823
834
  // Dragging
824
835
  draggingEventsForColumn: o,
825
836
  // Contextual menu
@@ -833,26 +844,26 @@ const Is = /* @__PURE__ */ j(Ss, [["render", As]]), lt = {
833
844
  };
834
845
  }
835
846
  });
836
- const Ts = ["aria-colindex", "aria-label", "aria-sort", "data-testid", "draggable", "tabindex"], Os = {
847
+ const Os = ["aria-colindex", "aria-label", "aria-sort", "data-testid", "draggable", "tabindex"], ws = {
837
848
  key: 0,
838
849
  class: "b-data-grid-columns__column-actions"
839
- }, ws = {
850
+ }, Ns = {
840
851
  key: 0,
841
852
  class: "b-data-grid-columns__column-sort"
842
- }, Ns = ["data-testid", "onMousedown"], Ps = {
853
+ }, Ps = ["data-testid", "onMousedown"], Us = {
843
854
  key: 0,
844
855
  class: "b-data-grid-columns__column-separator"
845
- }, Us = {
856
+ }, Ms = {
846
857
  key: 1,
847
858
  class: "b-data-grid-columns__select-column"
848
859
  };
849
- function Ms(e, s, l, n, g, d) {
850
- const p = H("bento-info-icon"), f = H("bento-typography"), v = H("triangle-up"), u = H("triangle-down"), b = H("bento-menu"), t = H("bento-checkbox");
851
- return c(), y("div", {
860
+ function ks(e, s, l, n, g, d) {
861
+ const b = H("bento-info-icon"), f = H("bento-typography"), v = H("triangle-up"), u = H("triangle-down"), S = H("bento-menu"), t = H("bento-checkbox");
862
+ return c(), L("div", {
852
863
  class: te(["b-data-grid-columns", e.conditionalColumnsClasses]),
853
864
  "data-testid": "data-grid-columns"
854
865
  }, [
855
- (c(!0), y(Q, null, se(e.columns, (_, o) => (c(), y("div", K({
866
+ (c(!0), L(Q, null, se(e.columns, (_, o) => (c(), L("div", K({
856
867
  key: _.field,
857
868
  "aria-colindex": o + 1,
858
869
  "aria-label": _.label,
@@ -864,7 +875,7 @@ function Ms(e, s, l, n, g, d) {
864
875
  tabindex: _.sortable ? "0" : "-1",
865
876
  style: { width: `${_.width}px` }
866
877
  }, Ie(e.dataGridColumnEvents(_), !0)), [
867
- e.isSelectColumn(_) ? (c(), y("div", Us, [
878
+ e.isSelectColumn(_) ? (c(), L("div", Ms, [
868
879
  G(t, {
869
880
  "model-value": e.allItemsSelectedState.allItemsSelected,
870
881
  "data-testid": "checkbox-select-all",
@@ -872,7 +883,7 @@ function Ms(e, s, l, n, g, d) {
872
883
  value: "data-grid-select-all",
873
884
  "onUpdate:modelValue": e.onAllRowSelect
874
885
  }, null, 8, ["model-value", "indeterminate", "onUpdate:modelValue"]),
875
- e.selectableAcrossPages ? (c(), U(b, {
886
+ e.selectableAcrossPages ? (c(), U(S, {
876
887
  key: 0,
877
888
  class: "b-data-grid-columns__select-column-menu",
878
889
  data: e.selectAllMenu,
@@ -880,23 +891,23 @@ function Ms(e, s, l, n, g, d) {
880
891
  "menu-fixed-positioning": "",
881
892
  button: { variant: "tertiary" }
882
893
  }, {
883
- default: k(() => [
894
+ default: D(() => [
884
895
  G(u, {
885
896
  "svg-title": e.t("selectionMenu")
886
897
  }, null, 8, ["svg-title"])
887
898
  ]),
888
899
  _: 1
889
900
  }, 8, ["data"])) : N("", !0)
890
- ])) : (c(), y(Q, { key: 0 }, [
901
+ ])) : (c(), L(Q, { key: 0 }, [
891
902
  G(f, {
892
903
  el: "div",
893
904
  strongest: "",
894
905
  class: "b-data-grid-columns__column-header"
895
906
  }, {
896
- default: k(() => [
897
- ge(e.$slots, `head-${_.field}`, { column: _ }, () => [
907
+ default: D(() => [
908
+ ue(e.$slots, `head-${_.field}`, { column: _ }, () => [
898
909
  T("span", null, F(_.label), 1),
899
- _.infoIconTooltip ? (c(), U(p, {
910
+ _.infoIconTooltip ? (c(), U(b, {
900
911
  key: 0,
901
912
  "tooltip-text": _.infoIconTooltip
902
913
  }, null, 8, ["tooltip-text"])) : N("", !0)
@@ -904,8 +915,8 @@ function Ms(e, s, l, n, g, d) {
904
915
  ]),
905
916
  _: 2
906
917
  }, 1024),
907
- _.sortable || e.hasColumnPanel ? (c(), y("div", Os, [
908
- _.sortable ? (c(), y("div", ws, [
918
+ _.sortable || e.hasColumnPanel ? (c(), L("div", ws, [
919
+ _.sortable ? (c(), L("div", Ns, [
909
920
  G(v, {
910
921
  class: te(["b-data-grid-columns__column-sort-icon", e.conditionalSortDirectionClasses(_.field, e.BentoDatagridSortDirection.ASCENDING)]),
911
922
  "svg-title": `${_.field} sort ascending`,
@@ -920,7 +931,7 @@ function Ms(e, s, l, n, g, d) {
920
931
  "data-testid": `${_.field}-sort-icon-desc`
921
932
  }, null, 8, ["class", "svg-title", "data-testid"])
922
933
  ])) : N("", !0),
923
- e.hasColumnPanel ? (c(), U(b, {
934
+ e.hasColumnPanel ? (c(), U(S, {
924
935
  key: 1,
925
936
  class: "b-data-grid-columns__menu",
926
937
  data: e.contextualMenuData(_),
@@ -936,63 +947,63 @@ function Ms(e, s, l, n, g, d) {
936
947
  class: te(["b-data-grid-columns__column-separator-container", e.conditionalColumnSeparatorClasses]),
937
948
  role: "presentation",
938
949
  onMousedown: (m) => e.startResize(e.hasResizableColumns, _.field, m),
939
- onClick: s[2] || (s[2] = gn(() => {
950
+ onClick: s[2] || (s[2] = fn(() => {
940
951
  }, ["stop"]))
941
952
  }, [
942
- !e.isFrozenColumns || e.isFrozenColumns && o !== e.columns.length - 1 ? (c(), y("div", Ps)) : N("", !0)
943
- ], 42, Ns)
953
+ !e.isFrozenColumns || e.isFrozenColumns && o !== e.columns.length - 1 ? (c(), L("div", Us)) : N("", !0)
954
+ ], 42, Ps)
944
955
  ], 64))
945
- ], 16, Ts))), 128))
956
+ ], 16, Os))), 128))
946
957
  ], 2);
947
958
  }
948
- const ks = /* @__PURE__ */ j(Rs, [["render", Ms], ["__scopeId", "data-v-bfad506b"]]);
959
+ const Ds = /* @__PURE__ */ j(Ts, [["render", ks], ["__scopeId", "data-v-22b5d518"]]);
949
960
  var ne = /* @__PURE__ */ ((e) => (e.CONFIG_SETTINGS = "config-settings", e.UPDATE_COLUMNS = "update:columns", e))(ne || {});
950
- let ot = 0;
951
- const Ds = {
961
+ let at = 0;
962
+ const zs = {
952
963
  beforeCreate() {
953
- this.uuid = ot.toString(), ot += 1;
964
+ this.uuid = at.toString(), at += 1;
954
965
  }
955
- }, zs = { key: 0 }, Fs = ["clip-path"], Gs = /* @__PURE__ */ T("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), Ws = /* @__PURE__ */ T("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), Vs = [
956
- Gs,
957
- Ws
958
- ], Bs = ["id"], Hs = /* @__PURE__ */ T("rect", {
966
+ }, Fs = { key: 0 }, Gs = ["clip-path"], Ws = /* @__PURE__ */ T("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), Vs = /* @__PURE__ */ T("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), Bs = [
967
+ Ws,
968
+ Vs
969
+ ], Hs = ["id"], Zs = /* @__PURE__ */ T("rect", {
959
970
  width: "16",
960
971
  height: "16",
961
972
  fill: "#fff"
962
- }, null, -1), Zs = [
963
- Hs
973
+ }, null, -1), js = [
974
+ Zs
964
975
  ];
965
- function js(e, s, l, n, g, d) {
966
- return c(), y("svg", K({ role: "img" }, e.$attrs, {
976
+ function Ys(e, s, l, n, g, d) {
977
+ return c(), L("svg", K({ role: "img" }, e.$attrs, {
967
978
  class: "ui-assets-icons-16",
968
979
  xmlns: "http://www.w3.org/2000/svg",
969
980
  width: "16",
970
981
  height: "16",
971
982
  fill: "none"
972
983
  }), [
973
- e.$attrs["svg-title"] ? (c(), y("title", zs, F(e.$attrs["svg-title"]), 1)) : N("", !0),
984
+ e.$attrs["svg-title"] ? (c(), L("title", Fs, F(e.$attrs["svg-title"]), 1)) : N("", !0),
974
985
  T("g", {
975
986
  fill: "#00112C",
976
987
  "clip-path": "url(#uia-icons-16-settings__a" + e.uuid + ")"
977
- }, Vs, 8, Fs),
988
+ }, Bs, 8, Gs),
978
989
  T("defs", null, [
979
990
  T("clipPath", {
980
991
  id: "uia-icons-16-settings__a" + e.uuid
981
- }, Zs, 8, Bs)
992
+ }, js, 8, Hs)
982
993
  ])
983
994
  ], 16);
984
995
  }
985
- const Ys = /* @__PURE__ */ j(Ds, [["render", js]]), qs = {
996
+ const qs = /* @__PURE__ */ j(zs, [["render", Ys]]), Xs = {
986
997
  "en-US": {
987
998
  toggleColumnVisibility: "Toggle {label} column visibility",
988
999
  toggleColumnFreeze: "Toggle {label} column freeze"
989
1000
  }
990
- }, Xs = de({
991
- i18n: { messages: qs },
1001
+ }, Ks = de({
1002
+ i18n: { messages: Xs },
992
1003
  name: "bento-data-grid",
993
1004
  components: {
994
- BentoFreezeIcon: bt,
995
- BentoToggle: yt
1005
+ BentoFreezeIcon: Et,
1006
+ BentoToggle: St
996
1007
  },
997
1008
  props: {
998
1009
  /**
@@ -1013,14 +1024,14 @@ const Ys = /* @__PURE__ */ j(Ds, [["render", js]]), qs = {
1013
1024
  emits: ["visible-column", "updated-column"],
1014
1025
  setup(e, { emit: s }) {
1015
1026
  const l = w(!1), n = R(() => {
1016
- var b;
1017
- return (b = e.column) == null ? void 0 : b.frozen;
1027
+ var S;
1028
+ return (S = e.column) == null ? void 0 : S.frozen;
1018
1029
  }), g = R(() => {
1019
- var b;
1020
- return ((b = e.column) == null ? void 0 : b.visible) !== !1;
1030
+ var S;
1031
+ return ((S = e.column) == null ? void 0 : S.visible) !== !1;
1021
1032
  }), d = () => {
1022
1033
  s("visible-column", { ...e.column, visible: !g.value });
1023
- }, p = () => {
1034
+ }, b = () => {
1024
1035
  s("updated-column", { ...e.column, frozen: !n.value });
1025
1036
  }, f = () => {
1026
1037
  n.value || (l.value = !0);
@@ -1039,39 +1050,39 @@ const Ys = /* @__PURE__ */ j(Ds, [["render", js]]), qs = {
1039
1050
  toggleColumnVisibility: d,
1040
1051
  showFreezeIcon: f,
1041
1052
  hideFreezeIcon: v,
1042
- toggleColumnFreeze: p
1053
+ toggleColumnFreeze: b
1043
1054
  };
1044
1055
  }
1045
1056
  });
1046
- function Ks(e, s, l, n, g, d) {
1047
- const p = H("bento-toggle"), f = H("bento-freeze-icon");
1048
- return c(), y("div", {
1057
+ function Js(e, s, l, n, g, d) {
1058
+ const b = H("bento-toggle"), f = H("bento-freeze-icon");
1059
+ return c(), L("div", {
1049
1060
  class: "b-data-grid-config-settings-column-row",
1050
1061
  onMouseover: s[0] || (s[0] = (...v) => e.showFreezeIcon && e.showFreezeIcon(...v)),
1051
1062
  onMouseleave: s[1] || (s[1] = (...v) => e.hideFreezeIcon && e.hideFreezeIcon(...v))
1052
1063
  }, [
1053
- G(p, {
1064
+ G(b, {
1054
1065
  "aria-label": e.$t("toggleColumnVisibility", { label: e.column.label }),
1055
1066
  disabled: e.isColumnVisibilityToggleDisabled,
1056
1067
  "label-position": "after",
1057
1068
  value: e.isColumnVisible,
1058
1069
  onInput: e.toggleColumnVisibility
1059
1070
  }, {
1060
- default: k(() => [
1071
+ default: D(() => [
1061
1072
  X(F(e.column.label), 1)
1062
1073
  ]),
1063
1074
  _: 1
1064
1075
  }, 8, ["aria-label", "disabled", "value", "onInput"]),
1065
- gt(G(f, {
1076
+ ft(G(f, {
1066
1077
  "aria-label": e.$t("toggleColumnFreeze", { label: e.column.label }),
1067
1078
  class: te(["b-data-grid-config-settings-column-row__freeze-icon", e.freezeIconConditionalClasses]),
1068
1079
  onClick: e.toggleColumnFreeze
1069
1080
  }, null, 8, ["aria-label", "class", "onClick"]), [
1070
- [fn, e.isColumnFrozen || e.isFreezeIconOptionShown]
1081
+ [_n, e.isColumnFrozen || e.isFreezeIconOptionShown]
1071
1082
  ])
1072
1083
  ], 32);
1073
1084
  }
1074
- const Js = /* @__PURE__ */ j(Xs, [["render", Ks], ["__scopeId", "data-v-3ce82b51"]]), Qs = {
1085
+ const Qs = /* @__PURE__ */ j(Ks, [["render", Js], ["__scopeId", "data-v-3ce82b51"]]), xs = {
1075
1086
  "en-US": {
1076
1087
  closeConfigSettingsPanel: "Close configuration settings panel",
1077
1088
  configSettingsPanel: "Configuration settings Panel",
@@ -1087,21 +1098,21 @@ const Js = /* @__PURE__ */ j(Xs, [["render", Ks], ["__scopeId", "data-v-3ce82b51
1087
1098
  closeSearch: "Close search",
1088
1099
  noColumnsMatch: "No columns match this search"
1089
1100
  }
1090
- }, xs = de({
1091
- i18n: { messages: Qs },
1101
+ }, ei = de({
1102
+ i18n: { messages: xs },
1092
1103
  name: "bento-data-grid",
1093
1104
  components: {
1094
- BentoCrossIcon: In,
1095
- BentoPopover: bn,
1096
- BentoSettingsIcon: Ys,
1097
- BentoButton: Lt,
1098
- BentoDataGridConfigSettingsConfigRow: Js,
1099
- BentoSearchBar: En,
1100
- BentoSearchIcon: Rn,
1101
- BentoToggle: yt,
1105
+ BentoCrossIcon: Rn,
1106
+ BentoPopover: En,
1107
+ BentoSettingsIcon: qs,
1108
+ BentoButton: yt,
1109
+ BentoDataGridConfigSettingsConfigRow: Qs,
1110
+ BentoSearchBar: An,
1111
+ BentoSearchIcon: Tn,
1112
+ BentoToggle: St,
1102
1113
  BentoTypography: Re
1103
1114
  },
1104
- directives: { BentoClickOutsideDirective: An },
1115
+ directives: { BentoClickOutsideDirective: In },
1105
1116
  props: {
1106
1117
  /**
1107
1118
  * Column definitions
@@ -1120,85 +1131,85 @@ const Js = /* @__PURE__ */ j(Xs, [["render", Ks], ["__scopeId", "data-v-3ce82b51
1120
1131
  },
1121
1132
  emits: [ne.CONFIG_SETTINGS, ne.UPDATE_COLUMNS],
1122
1133
  setup(e, { emit: s }) {
1123
- const l = w(null), n = Tn("data-grid-config-settings-popover"), g = w(null), d = w(!1), p = w(!0), f = w(""), v = ft(e, "columns"), u = w(!1), b = $n(f, v), t = () => {
1134
+ const l = w(null), n = On("data-grid-config-settings-popover"), g = w(null), d = w(!1), b = w(!0), f = w(""), v = _t(e, "columns"), u = w(!1), S = $n(f, v), t = () => {
1124
1135
  f.value = "";
1125
1136
  }, _ = R(
1126
- () => !e.columns.some((S) => S.visible === !1 && !S.mandatory)
1137
+ () => !e.columns.some((y) => y.visible === !1 && !y.mandatory)
1127
1138
  ), o = () => {
1128
1139
  t(), u.value = !u.value, u.value && ie(() => {
1129
- var S;
1130
- return (S = g.value.bentoInputField) == null ? void 0 : S.focusInput();
1131
- }), p.value = _.value;
1132
- }, m = (S) => S.mandatory ?? !1, L = (S) => {
1133
- const O = e.columns.map((D) => ({
1134
- ...D,
1135
- visible: S.field === D.field ? S.visible : D.visible
1140
+ var y;
1141
+ return (y = g.value.bentoInputField) == null ? void 0 : y.focusInput();
1142
+ }), b.value = _.value;
1143
+ }, m = (y) => y.mandatory ?? !1, h = (y) => {
1144
+ const O = e.columns.map((k) => ({
1145
+ ...k,
1146
+ visible: y.field === k.field ? y.visible : k.visible
1136
1147
  }));
1137
1148
  s(ne.UPDATE_COLUMNS, O);
1138
- }, C = (S) => {
1139
- S ? s(
1149
+ }, C = (y) => {
1150
+ y ? s(
1140
1151
  ne.UPDATE_COLUMNS,
1141
1152
  e.columns.map((O) => ({ ...O, visible: !0 }))
1142
1153
  ) : s(
1143
1154
  ne.UPDATE_COLUMNS,
1144
1155
  e.columns.map((O) => ({ ...O, visible: (O == null ? void 0 : O.mandatory) === !0 }))
1145
1156
  );
1146
- }, I = (S) => {
1147
- const O = e.columns.map((D) => ({
1148
- ...D,
1149
- frozen: S.field === D.field ? !!(S != null && S.frozen) : !!(D != null && D.frozen)
1157
+ }, I = (y) => {
1158
+ const O = e.columns.map((k) => ({
1159
+ ...k,
1160
+ frozen: y.field === k.field ? !!(y != null && y.frozen) : !!(k != null && k.frozen)
1150
1161
  }));
1151
1162
  s(ne.UPDATE_COLUMNS, O);
1152
- }, h = (S) => {
1153
- d.value = S, p.value = _.value;
1163
+ }, p = (y) => {
1164
+ d.value = y, b.value = _.value;
1154
1165
  };
1155
1166
  return {
1156
1167
  // Values
1157
1168
  configSettingsButtonRef: l,
1158
1169
  popoverId: n,
1159
1170
  isConfigSettingsPanelOpen: d,
1160
- allColumnsVisbilityToggleState: p,
1161
- filteredColumnVisibilityColumns: b,
1171
+ allColumnsVisbilityToggleState: b,
1172
+ filteredColumnVisibilityColumns: S,
1162
1173
  searchTerm: f,
1163
1174
  isColumnVisibilityFilterShown: u,
1164
1175
  searchBarRef: g,
1165
1176
  DATAGRID_SELECT_FIELD_NAME: re,
1166
1177
  // Methods
1167
- setConfigSettingsPanelVisibility: h,
1168
- emitCondensedToggle: (S) => s(ne.CONFIG_SETTINGS, S),
1178
+ setConfigSettingsPanelVisibility: p,
1179
+ emitCondensedToggle: (y) => s(ne.CONFIG_SETTINGS, y),
1169
1180
  toggleAllColumnVisibility: C,
1170
1181
  clearAction: t,
1171
1182
  toggleColumnFilter: o,
1172
- emitVisibleColumns: L,
1183
+ emitVisibleColumns: h,
1173
1184
  emitFrozenColumns: I,
1174
- onClickOutside: () => h(!1),
1185
+ onClickOutside: () => p(!1),
1175
1186
  isColumnVisibilityToggleDisabled: m
1176
1187
  };
1177
1188
  }
1178
1189
  });
1179
- const ei = (e) => (_t("data-v-87adbca0"), e = e(), Ct(), e), ti = { class: "b-data-grid-config-settings" }, ni = { class: "b-data-grid-config-settings__button-and-separator" }, si = /* @__PURE__ */ ei(() => /* @__PURE__ */ T("div", { class: "b-data-grid-config-settings__column-separator" }, null, -1)), ii = {
1190
+ const ti = (e) => (Ct("data-v-87adbca0"), e = e(), mt(), e), ni = { class: "b-data-grid-config-settings" }, si = { class: "b-data-grid-config-settings__button-and-separator" }, ii = /* @__PURE__ */ ti(() => /* @__PURE__ */ T("div", { class: "b-data-grid-config-settings__column-separator" }, null, -1)), li = {
1180
1191
  ref: "configSettingsButtonRef",
1181
1192
  class: "b-data-grid-config-settings__button-container"
1182
- }, li = { class: "b-data-grid-config-settings__panel-header" }, oi = { class: "b-data-grid-config-settings__condensed-view-settings" }, ai = { class: "b-data-grid-config-settings__column-visibility-settings" }, ri = { class: "b-data-grid-config-settings__column-visibility-header" }, di = {
1193
+ }, oi = { class: "b-data-grid-config-settings__panel-header" }, ai = { class: "b-data-grid-config-settings__condensed-view-settings" }, ri = { class: "b-data-grid-config-settings__column-visibility-settings" }, di = { class: "b-data-grid-config-settings__column-visibility-header" }, ci = {
1183
1194
  key: 0,
1184
1195
  class: "b-data-grid-config-settings__column-visibility-search"
1185
- }, ci = {
1196
+ }, ui = {
1186
1197
  key: 1,
1187
1198
  class: "b-data-grid-config-settings__column-visibility-show-all"
1188
- }, ui = { class: "b-data-grid-config-settings__column-visibility-toggles" };
1189
- function gi(e, s, l, n, g, d) {
1190
- const p = H("bento-settings-icon"), f = H("bento-button"), v = H("bento-typography"), u = H("bento-cross-icon"), b = H("bento-toggle"), t = H("bento-search-icon"), _ = H("bento-search-bar"), o = H("bento-data-grid-config-settings-config-row"), m = H("bento-popover"), L = _n("bento-click-outside-directive");
1191
- return gt((c(), y("div", ti, [
1192
- T("div", ni, [
1193
- si,
1194
- T("div", ii, [
1199
+ }, gi = { class: "b-data-grid-config-settings__column-visibility-toggles" };
1200
+ function fi(e, s, l, n, g, d) {
1201
+ const b = H("bento-settings-icon"), f = H("bento-button"), v = H("bento-typography"), u = H("bento-cross-icon"), S = H("bento-toggle"), t = H("bento-search-icon"), _ = H("bento-search-bar"), o = H("bento-data-grid-config-settings-config-row"), m = H("bento-popover"), h = Cn("bento-click-outside-directive");
1202
+ return ft((c(), L("div", ni, [
1203
+ T("div", si, [
1204
+ ii,
1205
+ T("div", li, [
1195
1206
  G(f, {
1196
1207
  "aria-controls": e.isConfigSettingsPanelOpen ? e.popoverId : null,
1197
1208
  variant: "tertiary",
1198
1209
  onClick: s[0] || (s[0] = (C) => e.setConfigSettingsPanelVisibility(!e.isConfigSettingsPanelOpen))
1199
1210
  }, {
1200
- iconLeft: k(() => [
1201
- G(p, {
1211
+ iconLeft: D(() => [
1212
+ G(b, {
1202
1213
  "svg-title": e.$t("toggleConfigSettingsPanelVisibility")
1203
1214
  }, null, 8, ["svg-title"])
1204
1215
  ]),
@@ -1215,13 +1226,13 @@ function gi(e, s, l, n, g, d) {
1215
1226
  "target-element": e.configSettingsButtonRef,
1216
1227
  position: "bottom-end"
1217
1228
  }, {
1218
- default: k(() => [
1219
- T("div", li, [
1229
+ default: D(() => [
1230
+ T("div", oi, [
1220
1231
  G(v, {
1221
1232
  el: "span",
1222
1233
  strongest: ""
1223
1234
  }, {
1224
- default: k(() => [
1235
+ default: D(() => [
1225
1236
  X(F(e.$t("displayOptions")), 1)
1226
1237
  ]),
1227
1238
  _: 1
@@ -1230,7 +1241,7 @@ function gi(e, s, l, n, g, d) {
1230
1241
  variant: "tertiary",
1231
1242
  onClick: s[1] || (s[1] = (C) => e.setConfigSettingsPanelVisibility(!1))
1232
1243
  }, {
1233
- iconLeft: k(() => [
1244
+ iconLeft: D(() => [
1234
1245
  G(u, {
1235
1246
  "svg-title": e.$t("closeConfigSettingsPanel")
1236
1247
  }, null, 8, ["svg-title"])
@@ -1238,37 +1249,37 @@ function gi(e, s, l, n, g, d) {
1238
1249
  _: 1
1239
1250
  })
1240
1251
  ]),
1241
- T("div", oi, [
1252
+ T("div", ai, [
1242
1253
  G(v, {
1243
1254
  class: "b-data-grid-config-settings__condensed-view-title",
1244
1255
  el: "span",
1245
1256
  stronger: ""
1246
1257
  }, {
1247
- default: k(() => [
1258
+ default: D(() => [
1248
1259
  X(F(e.$t("size")), 1)
1249
1260
  ]),
1250
1261
  _: 1
1251
1262
  }),
1252
- G(b, {
1263
+ G(S, {
1253
1264
  "label-position": "after",
1254
1265
  "aria-label": e.$t("condensedToggle"),
1255
1266
  value: e.condensed,
1256
1267
  onInput: e.emitCondensedToggle
1257
1268
  }, {
1258
- default: k(() => [
1269
+ default: D(() => [
1259
1270
  X(F(e.$t("condensed")), 1)
1260
1271
  ]),
1261
1272
  _: 1
1262
1273
  }, 8, ["aria-label", "value", "onInput"])
1263
1274
  ]),
1264
- T("div", ai, [
1265
- T("div", ri, [
1275
+ T("div", ri, [
1276
+ T("div", di, [
1266
1277
  G(v, {
1267
1278
  class: "b-data-grid-config-settings__column-visibility-title",
1268
1279
  el: "span",
1269
1280
  stronger: ""
1270
1281
  }, {
1271
- default: k(() => [
1282
+ default: D(() => [
1272
1283
  X(F(e.$t("columns")), 1)
1273
1284
  ]),
1274
1285
  _: 1
@@ -1278,10 +1289,10 @@ function gi(e, s, l, n, g, d) {
1278
1289
  variant: "tertiary",
1279
1290
  onClick: e.toggleColumnFilter
1280
1291
  }, {
1281
- iconLeft: k(() => [
1292
+ iconLeft: D(() => [
1282
1293
  G(u)
1283
1294
  ]),
1284
- default: k(() => [
1295
+ default: D(() => [
1285
1296
  X(" " + F(e.$t("closeSearch")), 1)
1286
1297
  ]),
1287
1298
  _: 1
@@ -1290,16 +1301,16 @@ function gi(e, s, l, n, g, d) {
1290
1301
  variant: "tertiary",
1291
1302
  onClick: e.toggleColumnFilter
1292
1303
  }, {
1293
- iconLeft: k(() => [
1304
+ iconLeft: D(() => [
1294
1305
  G(t)
1295
1306
  ]),
1296
- default: k(() => [
1307
+ default: D(() => [
1297
1308
  X(" " + F(e.$t("search")), 1)
1298
1309
  ]),
1299
1310
  _: 1
1300
1311
  }, 8, ["onClick"]))
1301
1312
  ]),
1302
- e.isColumnVisibilityFilterShown ? (c(), y("div", di, [
1313
+ e.isColumnVisibilityFilterShown ? (c(), L("div", ci, [
1303
1314
  G(_, {
1304
1315
  ref: "searchBarRef",
1305
1316
  value: e.searchTerm,
@@ -1308,20 +1319,20 @@ function gi(e, s, l, n, g, d) {
1308
1319
  onClear: e.clearAction,
1309
1320
  onEscapePressed: s[3] || (s[3] = (C) => e.toggleColumnFilter())
1310
1321
  }, null, 8, ["value", "input-field-aria-label", "onClear"])
1311
- ])) : (c(), y("div", ci, [
1312
- G(b, {
1322
+ ])) : (c(), L("div", ui, [
1323
+ G(S, {
1313
1324
  "label-position": "after",
1314
1325
  value: e.allColumnsVisbilityToggleState,
1315
1326
  onInput: e.toggleAllColumnVisibility
1316
1327
  }, {
1317
- default: k(() => [
1328
+ default: D(() => [
1318
1329
  X(F(e.$t("showAllColumns", { numberOfColumns: e.columns.length })), 1)
1319
1330
  ]),
1320
1331
  _: 1
1321
1332
  }, 8, ["value", "onInput"])
1322
1333
  ])),
1323
- T("div", ui, [
1324
- (c(!0), y(Q, null, se(e.filteredColumnVisibilityColumns, (C) => (c(), y("div", {
1334
+ T("div", gi, [
1335
+ (c(!0), L(Q, null, se(e.filteredColumnVisibilityColumns, (C) => (c(), L("div", {
1325
1336
  key: C.field
1326
1337
  }, [
1327
1338
  C.field !== e.DATAGRID_SELECT_FIELD_NAME ? (c(), U(o, {
@@ -1337,7 +1348,7 @@ function gi(e, s, l, n, g, d) {
1337
1348
  el: "span",
1338
1349
  class: "b-data-grid-config-settings__column-visibility-empty-search-message"
1339
1350
  }, {
1340
- default: k(() => [
1351
+ default: D(() => [
1341
1352
  X(F(e.$t("noColumnsMatch")), 1)
1342
1353
  ]),
1343
1354
  _: 1
@@ -1348,10 +1359,10 @@ function gi(e, s, l, n, g, d) {
1348
1359
  _: 1
1349
1360
  }, 8, ["id", "open", "aria-label", "target-element"])) : N("", !0)
1350
1361
  ])), [
1351
- [L, e.onClickOutside]
1362
+ [h, e.onClickOutside]
1352
1363
  ]);
1353
1364
  }
1354
- const fi = /* @__PURE__ */ j(xs, [["render", gi], ["__scopeId", "data-v-87adbca0"]]), Me = {
1365
+ const _i = /* @__PURE__ */ j(ei, [["render", fi], ["__scopeId", "data-v-87adbca0"]]), Me = {
1355
1366
  "en-US": {
1356
1367
  gettingYourData: "Getting your data",
1357
1368
  loading: "Loading",
@@ -1361,35 +1372,35 @@ const fi = /* @__PURE__ */ j(xs, [["render", gi], ["__scopeId", "data-v-87adbca0
1361
1372
  sortInactive: "{field} sort inactive",
1362
1373
  selectRow: "Select row"
1363
1374
  }
1364
- }, _i = { class: "b-data-grid-lazy-load" }, Ci = {
1375
+ }, Ci = { class: "b-data-grid-lazy-load" }, mi = {
1365
1376
  i18n: { messages: Me }
1366
- }, mi = /* @__PURE__ */ de({
1367
- ...Ci,
1377
+ }, vi = /* @__PURE__ */ de({
1378
+ ...mi,
1368
1379
  __name: "data-grid-lazy-load",
1369
1380
  props: {
1370
1381
  loading: { type: Boolean },
1371
1382
  isInfiniteScroll: { type: Boolean }
1372
1383
  },
1373
1384
  setup(e) {
1374
- return (s, l) => (c(), y("div", _i, [
1375
- e.loading && e.isInfiniteScroll ? (c(), U(a(vt), { key: 0 })) : N("", !0),
1376
- e.loading && !e.isInfiniteScroll ? (c(), U(a(Xe), {
1385
+ return (s, l) => (c(), L("div", Ci, [
1386
+ e.loading && e.isInfiniteScroll ? (c(), U(a(pt), { key: 0 })) : N("", !0),
1387
+ e.loading && !e.isInfiniteScroll ? (c(), U(a(Ke), {
1377
1388
  key: 1,
1378
1389
  variant: "secondary",
1379
- state: a(Ke).LOADING
1390
+ state: a(Je).LOADING
1380
1391
  }, {
1381
- default: k(() => [
1392
+ default: D(() => [
1382
1393
  X(F(s.$t("loading")), 1)
1383
1394
  ]),
1384
1395
  _: 1
1385
1396
  }, 8, ["state"])) : N("", !0),
1386
- !e.loading && !e.isInfiniteScroll ? (c(), U(a(Xe), {
1397
+ !e.loading && !e.isInfiniteScroll ? (c(), U(a(Ke), {
1387
1398
  key: 2,
1388
- state: a(Ke).START,
1399
+ state: a(Je).START,
1389
1400
  variant: "secondary",
1390
- onClick: l[0] || (l[0] = (n) => s.$emit(a($).UPDATE_SHOW_MORE))
1401
+ onClick: l[0] || (l[0] = (n) => s.$emit(a(A).UPDATE_SHOW_MORE))
1391
1402
  }, {
1392
- default: k(() => [
1403
+ default: D(() => [
1393
1404
  X(F(s.$t("showMore")), 1)
1394
1405
  ]),
1395
1406
  _: 1
@@ -1397,65 +1408,65 @@ const fi = /* @__PURE__ */ j(xs, [["render", gi], ["__scopeId", "data-v-87adbca0
1397
1408
  ]));
1398
1409
  }
1399
1410
  });
1400
- const vi = /* @__PURE__ */ j(mi, [["__scopeId", "data-v-4b9efd59"]]);
1401
- let at = 0;
1402
- const pi = {
1411
+ const pi = /* @__PURE__ */ j(vi, [["__scopeId", "data-v-4b9efd59"]]);
1412
+ let rt = 0;
1413
+ const hi = {
1403
1414
  beforeCreate() {
1404
- this.uuid = at.toString(), at += 1;
1415
+ this.uuid = rt.toString(), rt += 1;
1405
1416
  }
1406
- }, hi = { key: 0 }, Li = /* @__PURE__ */ T("path", {
1417
+ }, Li = { key: 0 }, yi = /* @__PURE__ */ T("path", {
1407
1418
  fill: "#00112C",
1408
1419
  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"
1409
1420
  }, null, -1);
1410
- function yi(e, s, l, n, g, d) {
1411
- return c(), y("svg", K({ role: "img" }, e.$attrs, {
1421
+ function Si(e, s, l, n, g, d) {
1422
+ return c(), L("svg", K({ role: "img" }, e.$attrs, {
1412
1423
  class: "ui-assets-icons-16",
1413
1424
  xmlns: "http://www.w3.org/2000/svg",
1414
1425
  width: "16",
1415
1426
  height: "16",
1416
1427
  fill: "none"
1417
1428
  }), [
1418
- e.$attrs["svg-title"] ? (c(), y("title", hi, F(e.$attrs["svg-title"]), 1)) : N("", !0),
1419
- Li
1429
+ e.$attrs["svg-title"] ? (c(), L("title", Li, F(e.$attrs["svg-title"]), 1)) : N("", !0),
1430
+ yi
1420
1431
  ], 16);
1421
1432
  }
1422
- const Si = /* @__PURE__ */ j(pi, [["render", yi]]);
1423
- let rt = 0;
1424
- const bi = {
1433
+ const bi = /* @__PURE__ */ j(hi, [["render", Si]]);
1434
+ let dt = 0;
1435
+ const Ei = {
1425
1436
  beforeCreate() {
1426
- this.uuid = rt.toString(), rt += 1;
1437
+ this.uuid = dt.toString(), dt += 1;
1427
1438
  }
1428
- }, Ei = { key: 0 }, $i = /* @__PURE__ */ T("path", {
1439
+ }, Ai = { key: 0 }, $i = /* @__PURE__ */ T("path", {
1429
1440
  fill: "#00112C",
1430
1441
  d: "M2.93933 11.9999L10.1893 4.74989H5.24999V3.24989H12.75V10.7499H11.25V5.81055L3.99999 13.0605L2.93933 11.9999Z"
1431
1442
  }, null, -1);
1432
- function Ai(e, s, l, n, g, d) {
1433
- return c(), y("svg", K({ role: "img" }, e.$attrs, {
1443
+ function Ii(e, s, l, n, g, d) {
1444
+ return c(), L("svg", K({ role: "img" }, e.$attrs, {
1434
1445
  class: "ui-assets-icons-16",
1435
1446
  xmlns: "http://www.w3.org/2000/svg",
1436
1447
  width: "16",
1437
1448
  height: "16",
1438
1449
  fill: "none"
1439
1450
  }), [
1440
- e.$attrs["svg-title"] ? (c(), y("title", Ei, F(e.$attrs["svg-title"]), 1)) : N("", !0),
1451
+ e.$attrs["svg-title"] ? (c(), L("title", Ai, F(e.$attrs["svg-title"]), 1)) : N("", !0),
1441
1452
  $i
1442
1453
  ], 16);
1443
1454
  }
1444
- const dt = /* @__PURE__ */ j(bi, [["render", Ai]]), Et = {
1455
+ const ct = /* @__PURE__ */ j(Ei, [["render", Ii]]), At = {
1445
1456
  "en-US": {
1446
1457
  copy: "Copy",
1447
1458
  edit: "Edit",
1448
1459
  open: "Open",
1449
1460
  more: "More"
1450
1461
  }
1451
- }, Ii = (e) => (_t("data-v-4133257e"), e = e(), Ct(), e), Ri = { class: "b-data-grid-cell-actions" }, Ti = /* @__PURE__ */ Ii(() => /* @__PURE__ */ T("div", { class: "b-data-grid-cell-actions__background-gradient" }, null, -1)), Oi = {
1462
+ }, Ri = (e) => (Ct("data-v-4133257e"), e = e(), mt(), e), Ti = { class: "b-data-grid-cell-actions" }, Oi = /* @__PURE__ */ Ri(() => /* @__PURE__ */ T("div", { class: "b-data-grid-cell-actions__background-gradient" }, null, -1)), wi = {
1452
1463
  class: "b-data-grid-cell-actions__actions",
1453
1464
  role: "group"
1454
- }, wi = {
1455
- i18n: { messages: Et },
1465
+ }, Ni = {
1466
+ i18n: { messages: At },
1456
1467
  name: "data-grid-cell-actions"
1457
- }, Ni = /* @__PURE__ */ de({
1458
- ...wi,
1468
+ }, Pi = /* @__PURE__ */ de({
1469
+ ...Ni,
1459
1470
  props: {
1460
1471
  /**
1461
1472
  * Column definitions using 'key' to relate to data object.
@@ -1481,13 +1492,13 @@ const dt = /* @__PURE__ */ j(bi, [["render", Ai]]), Et = {
1481
1492
  }
1482
1493
  },
1483
1494
  setup(e) {
1484
- const s = e, { t: l } = Ue({ messages: Et }), n = R(() => {
1495
+ const s = e, { t: l } = Ue({ messages: At }), n = R(() => {
1485
1496
  var u;
1486
- return ((u = s.cellActions) == null ? void 0 : u.length) > 2 && pt(
1497
+ return ((u = s.cellActions) == null ? void 0 : u.length) > 2 && ht(
1487
1498
  "WARNING: BentoDataGrid Cell actions can only have a maximum of 2 actions, if you need more consider using the menuData property instead."
1488
1499
  ), s.cellActions.slice(0, 2);
1489
- }), g = R(() => (u, b) => {
1490
- if (!(!b && u.isShort || b && !u.isShort))
1500
+ }), g = R(() => (u, S) => {
1501
+ if (!(!S && u.isShort || S && !u.isShort))
1491
1502
  switch (u.variant) {
1492
1503
  case "copy":
1493
1504
  return l("copy");
@@ -1502,23 +1513,23 @@ const dt = /* @__PURE__ */ j(bi, [["render", Ai]]), Et = {
1502
1513
  }
1503
1514
  }), d = (u) => (u == null ? void 0 : u.event) !== void 0 ? {
1504
1515
  click: () => u.event(s.rowDataItem, s.columnKey)
1505
- } : {}, p = (u) => {
1506
- var b, t;
1507
- return (u == null ? void 0 : u.getCopyData) !== void 0 ? u.getCopyData(s.rowDataItem, s.columnKey) : (t = (b = s.rowDataItem) == null ? void 0 : b[s.columnKey]) == null ? void 0 : t.toString();
1516
+ } : {}, b = (u) => {
1517
+ var S, t;
1518
+ return (u == null ? void 0 : u.getCopyData) !== void 0 ? u.getCopyData(s.rowDataItem, s.columnKey) : (t = (S = s.rowDataItem) == null ? void 0 : S[s.columnKey]) == null ? void 0 : t.toString();
1508
1519
  }, f = (u) => u.iconRight || ((u == null ? void 0 : u.variant) === "more" || (u == null ? void 0 : u.variant) === "open") && !u.isShort, v = (u) => u.iconLeft || (u == null ? void 0 : u.variant) === "more";
1509
- return (u, b) => (c(), U(Cn, {
1520
+ return (u, S) => (c(), U(mn, {
1510
1521
  name: "b-data-grid-cell-actions__animation",
1511
1522
  appear: ""
1512
1523
  }, {
1513
- default: k(() => [
1514
- T("div", Ri, [
1515
- Ti,
1516
- T("div", Oi, [
1517
- (c(!0), y(Q, null, se(a(n), (t, _) => (c(), y("div", {
1524
+ default: D(() => [
1525
+ T("div", Ti, [
1526
+ Oi,
1527
+ T("div", wi, [
1528
+ (c(!0), L(Q, null, se(a(n), (t, _) => (c(), L("div", {
1518
1529
  key: _,
1519
1530
  class: "b-data-grid-cell-actions__action"
1520
1531
  }, [
1521
- t.menuData ? (c(), U(a(St), {
1532
+ t.menuData ? (c(), U(a(bt), {
1522
1533
  key: 0,
1523
1534
  data: t.menuData,
1524
1535
  button: {
@@ -1529,11 +1540,11 @@ const dt = /* @__PURE__ */ j(bi, [["render", Ai]]), Et = {
1529
1540
  }, we({ _: 2 }, [
1530
1541
  v(t) ? {
1531
1542
  name: "iconLeft",
1532
- fn: k(() => [
1533
- (t == null ? void 0 : t.variant) === "more" ? (c(), U(a(wn), {
1543
+ fn: D(() => [
1544
+ (t == null ? void 0 : t.variant) === "more" ? (c(), U(a(Nn), {
1534
1545
  key: 0,
1535
1546
  "svg-title": a(g)(t, !0)
1536
- }, null, 8, ["svg-title"])) : (c(), U(Se(t.iconLeft), {
1547
+ }, null, 8, ["svg-title"])) : (c(), U(ye(t.iconLeft), {
1537
1548
  key: 1,
1538
1549
  "svg-title": a(g)(t, !0)
1539
1550
  }, null, 8, ["svg-title"]))
@@ -1542,33 +1553,33 @@ const dt = /* @__PURE__ */ j(bi, [["render", Ai]]), Et = {
1542
1553
  } : void 0,
1543
1554
  t != null && t.isShort ? void 0 : {
1544
1555
  name: "default",
1545
- fn: k(() => [
1556
+ fn: D(() => [
1546
1557
  X(F(a(g)(t)), 1)
1547
1558
  ]),
1548
1559
  key: "1"
1549
1560
  },
1550
1561
  f(t) ? {
1551
1562
  name: "iconRight",
1552
- fn: k(() => [
1553
- (t == null ? void 0 : t.variant) === "open" ? (c(), U(a(dt), {
1563
+ fn: D(() => [
1564
+ (t == null ? void 0 : t.variant) === "open" ? (c(), U(a(ct), {
1554
1565
  key: 0,
1555
1566
  "svg-title": a(g)(t, !0)
1556
- }, null, 8, ["svg-title"])) : (c(), U(Se(t.iconRight), {
1567
+ }, null, 8, ["svg-title"])) : (c(), U(ye(t.iconRight), {
1557
1568
  key: 1,
1558
1569
  "svg-title": t.title
1559
1570
  }, null, 8, ["svg-title"]))
1560
1571
  ]),
1561
1572
  key: "2"
1562
1573
  } : void 0
1563
- ]), 1032, ["data", "button"])) : t.variant === "copy" ? (c(), U(a(Pn), {
1574
+ ]), 1032, ["data", "button"])) : t.variant === "copy" ? (c(), U(a(Un), {
1564
1575
  key: 1,
1565
- text: p(t),
1576
+ text: b(t),
1566
1577
  "button-text": a(g)(t),
1567
1578
  button: {
1568
1579
  condensed: !0,
1569
1580
  variant: "secondary"
1570
1581
  }
1571
- }, null, 8, ["text", "button-text"])) : (c(), U(a(Lt), K({
1582
+ }, null, 8, ["text", "button-text"])) : (c(), U(a(yt), K({
1572
1583
  key: 2,
1573
1584
  condensed: "",
1574
1585
  variant: "secondary",
@@ -1578,11 +1589,11 @@ const dt = /* @__PURE__ */ j(bi, [["render", Ai]]), Et = {
1578
1589
  }, Ie(d(t))), we({ _: 2 }, [
1579
1590
  t.iconLeft || t.variant === "edit" ? {
1580
1591
  name: "iconLeft",
1581
- fn: k(() => [
1582
- (t == null ? void 0 : t.variant) === "edit" ? (c(), U(a(Si), {
1592
+ fn: D(() => [
1593
+ (t == null ? void 0 : t.variant) === "edit" ? (c(), U(a(bi), {
1583
1594
  key: 0,
1584
1595
  "svg-title": a(g)(t, !0)
1585
- }, null, 8, ["svg-title"])) : (c(), U(Se(t.iconLeft), {
1596
+ }, null, 8, ["svg-title"])) : (c(), U(ye(t.iconLeft), {
1586
1597
  key: 1,
1587
1598
  "svg-title": t.title
1588
1599
  }, null, 8, ["svg-title"]))
@@ -1591,18 +1602,18 @@ const dt = /* @__PURE__ */ j(bi, [["render", Ai]]), Et = {
1591
1602
  } : void 0,
1592
1603
  t != null && t.isShort ? void 0 : {
1593
1604
  name: "default",
1594
- fn: k(() => [
1605
+ fn: D(() => [
1595
1606
  X(F(a(g)(t)), 1)
1596
1607
  ]),
1597
1608
  key: "1"
1598
1609
  },
1599
1610
  t.iconRight || t.variant === "open" ? {
1600
1611
  name: "iconRight",
1601
- fn: k(() => [
1602
- (t == null ? void 0 : t.variant) === "open" ? (c(), U(a(dt), {
1612
+ fn: D(() => [
1613
+ (t == null ? void 0 : t.variant) === "open" ? (c(), U(a(ct), {
1603
1614
  key: 0,
1604
1615
  "svg-title": a(g)(t, !0)
1605
- }, null, 8, ["svg-title"])) : (c(), U(Se(t.iconRight), {
1616
+ }, null, 8, ["svg-title"])) : (c(), U(ye(t.iconRight), {
1606
1617
  key: 1,
1607
1618
  "svg-title": t.title
1608
1619
  }, null, 8, ["svg-title"]))
@@ -1618,26 +1629,26 @@ const dt = /* @__PURE__ */ j(bi, [["render", Ai]]), Et = {
1618
1629
  }));
1619
1630
  }
1620
1631
  });
1621
- const Pi = /* @__PURE__ */ j(Ni, [["__scopeId", "data-v-4133257e"]]), Ui = Symbol("data-grid-template injection key"), Mi = ["aria-rowcount", "aria-colcount", "aria-label"], ki = {
1632
+ const Ui = /* @__PURE__ */ j(Pi, [["__scopeId", "data-v-4133257e"]]), Mi = Symbol("data-grid-template injection key"), ki = ["aria-rowcount", "aria-colcount", "aria-label"], Di = {
1622
1633
  key: 1,
1623
1634
  class: "b-data-grid__header"
1624
- }, Di = ["tabindex"], zi = ["tabindex", "aria-busy"], Fi = {
1635
+ }, zi = ["tabindex"], Fi = ["tabindex", "aria-busy"], Gi = {
1625
1636
  key: 0,
1626
1637
  class: "b-data-grid__loading"
1627
- }, Gi = {
1638
+ }, Wi = {
1628
1639
  key: 1,
1629
1640
  class: "b-data-grid__empty-state"
1630
- }, Wi = ["aria-rowindex", "aria-selected", "onClick"], Vi = ["data-testid"], Bi = ["data-testid", "data-cellindex", "tabindex", "aria-colindex"], Hi = ["title"], Zi = {
1641
+ }, Vi = ["aria-rowindex", "aria-selected", "onClick"], Bi = ["data-testid"], Hi = ["data-testid", "data-cellindex", "tabindex", "aria-colindex"], Zi = ["title"], ji = {
1631
1642
  key: 0,
1632
1643
  class: "b-data-grid__cell-actions"
1633
- }, ji = {
1644
+ }, Yi = {
1634
1645
  key: 4,
1635
1646
  class: "b-data-grid__footer"
1636
- }, Yi = {
1647
+ }, qi = {
1637
1648
  i18n: { messages: Me },
1638
1649
  name: "bento-data-grid"
1639
- }, qi = /* @__PURE__ */ de({
1640
- ...Yi,
1650
+ }, Xi = /* @__PURE__ */ de({
1651
+ ...qi,
1641
1652
  props: {
1642
1653
  /**
1643
1654
  * When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
@@ -1837,88 +1848,88 @@ const Pi = /* @__PURE__ */ j(Ni, [["__scopeId", "data-v-4133257e"]]), Ui = Symbo
1837
1848
  }
1838
1849
  },
1839
1850
  emits: [
1840
- $.COLUMNS,
1841
- $.COLUMN_RESIZE,
1842
- $.ITEMS_PAGE,
1843
- $.FILTER_SEARCH_INPUT,
1844
- $.FILTER_SEARCH_CLEAR,
1845
- $.NAVIGATE,
1846
- $.UPDATE_COLUMNS,
1847
- $.UPDATE_CONDENSED,
1848
- $.UPDATE_FILTER_VALUES,
1849
- $.UPDATE_FILTERS,
1850
- $.UPDATE_FILTER_SEARCH_TERM,
1851
- $.UPDATE_SHOW_MORE,
1852
- $.UPDATE_PAGINATION,
1853
- $.UPDATE_SELECTION,
1854
- $.UPDATE_SORT_BY,
1855
- $.ROW_CLICK,
1856
- $.SELECT,
1857
- $.SELECT_ALL_ACROSS_PAGES,
1858
- $.SORT
1851
+ A.COLUMNS,
1852
+ A.COLUMN_RESIZE,
1853
+ A.ITEMS_PAGE,
1854
+ A.FILTER_SEARCH_INPUT,
1855
+ A.FILTER_SEARCH_CLEAR,
1856
+ A.NAVIGATE,
1857
+ A.UPDATE_COLUMNS,
1858
+ A.UPDATE_CONDENSED,
1859
+ A.UPDATE_FILTER_VALUES,
1860
+ A.UPDATE_FILTERS,
1861
+ A.UPDATE_FILTER_SEARCH_TERM,
1862
+ A.UPDATE_SHOW_MORE,
1863
+ A.UPDATE_PAGINATION,
1864
+ A.UPDATE_SELECTION,
1865
+ A.UPDATE_SORT_BY,
1866
+ A.ROW_CLICK,
1867
+ A.SELECT,
1868
+ A.SELECT_ALL_ACROSS_PAGES,
1869
+ A.SORT
1859
1870
  ],
1860
1871
  setup(e, { expose: s, emit: l }) {
1861
- const n = e, g = mn(), d = w(null), p = w(), f = w(null), v = w(null), u = w(), b = w(null), { allowColumnDragAndDrop: t, columns: _, data: o, lazyLoadType: m, selectable: L, selection: C } = Pe(n), { t: I } = Ue({ messages: Me }), h = He(
1862
- Ui,
1872
+ const n = e, g = vn(), d = w(null), b = w(), f = w(null), v = w(null), u = w(), S = w(null), { allowColumnDragAndDrop: t, columns: _, data: o, lazyLoadType: m, selectable: h, selection: C } = Pe(n), { t: I } = Ue({ messages: Me }), p = Ze(
1873
+ Mi,
1863
1874
  () => ({
1864
1875
  isDataGridTemplate: !1,
1865
1876
  stickyTabs: w(!1),
1866
1877
  tabsRef: w(null)
1867
1878
  })
1868
- ), { isDataGridTemplate: M, stickyTabs: i, tabsRef: S } = h(), O = R(() => n.fitContent || M ? 0 : null), { columnDefs: D, onColumnWidthOverride: V, gridColumnWidthStyle: z, isMeasuringColumnWidths: x } = Dn(_, o, d, f, {
1869
- hasSelectableColumn: L
1870
- }), ce = Qe(S, i), fe = R(
1879
+ ), { isDataGridTemplate: M, stickyTabs: i, tabsRef: y } = p(), O = R(() => n.fitContent || M ? 0 : null), { columnDefs: k, onColumnWidthOverride: V, gridColumnWidthStyle: z, isMeasuringColumnWidths: x } = zn(_, o, d, f, {
1880
+ hasSelectableColumn: h
1881
+ }), ce = xe(y, i), ge = R(
1871
1882
  () => n.stickyFilters ? `${ce.value}px` : null
1872
- ), _e = Qe(v, ft(n, "stickyFilters")), Ce = R(
1873
- () => `${_e.value + ce.value}px`
1883
+ ), fe = xe(v, _t(n, "stickyFilters")), _e = R(
1884
+ () => `${fe.value + ce.value}px`
1874
1885
  ), {
1875
1886
  sortedColumns: $t,
1876
- columnSets: me,
1877
- isOnlyOneVisibleColumn: At,
1878
- onConfigSettingsUpdate: It,
1879
- onConfigSettingsColumnsUpdate: Rt,
1880
- onConfigSettingsColumnUpdate: Tt
1881
- } = Bn(D, l), { draggingColumns: J, draggingEventsForColumns: Ot, draggingEventsForRowCell: wt, onMoveColumnByOffset: Nt } = Vn($t, t, l), { onAllRowSelect: ke, onRowSelect: Pt, selectedItems: ve, allItemsSelectedState: Ut } = zn(
1887
+ columnSets: Ce,
1888
+ isOnlyOneVisibleColumn: It,
1889
+ onConfigSettingsUpdate: Rt,
1890
+ onConfigSettingsColumnsUpdate: Tt,
1891
+ onConfigSettingsColumnUpdate: Ot
1892
+ } = Hn(k, l), { draggingColumns: J, draggingEventsForColumns: wt, draggingEventsForRowCell: Nt, onMoveColumnByOffset: Pt } = Bn($t, t, l), { onAllRowSelect: ke, onRowSelect: Ut, selectedItems: me, allItemsSelectedState: Mt } = Fn(
1882
1893
  C,
1883
1894
  l,
1884
1895
  o,
1885
1896
  n.getDataItemId,
1886
1897
  n.isDataItemDisabled
1887
- ), { navigationInput: De } = Gn(f, _, L), { isLazyLoad: pe, isInfiniteScroll: Mt, verticalScrollPosition: kt, emitLazyLoadEvent: Dt } = Wn(
1898
+ ), { navigationInput: De } = Wn(f, _, h), { isLazyLoad: ve, isInfiniteScroll: kt, verticalScrollPosition: Dt, emitLazyLoadEvent: zt } = Vn(
1888
1899
  m,
1889
- b,
1900
+ S,
1890
1901
  d,
1891
1902
  l
1892
- ), { updateScrollPosition: he, updateScrollPositionOnFrozenColumnsNavigation: ze } = Hn(
1893
- d,
1894
- p,
1895
- kt
1896
- ), zt = () => {
1903
+ ), { updateScrollPosition: pe, updateScrollPositionOnFrozenColumnsNavigation: ze, isHorizontallyScrolling: Ft } = Zn(d, b, Dt), Gt = () => {
1897
1904
  u.value.isClearAllVisible ? u.value.clearAllFilters() : u.value.isResetAllVisible && u.value.resetAllFilters();
1898
- }, Ft = R(() => {
1905
+ }, Wt = R(() => {
1899
1906
  var r, E;
1900
1907
  return {
1901
1908
  ...n.emptyState,
1902
1909
  variant: ((r = n.emptyState) == null ? void 0 : r.variant) === "embedded" || ((E = n.emptyState) == null ? void 0 : E.variant) === "basic" ? n.emptyState.variant : "basic"
1903
1910
  };
1904
- }), Gt = R(() => ({
1905
- [`b-data-grid--${$e.OUTLINE}`]: n.outline,
1906
- [`b-data-grid--${$e.SCROLL}`]: n.fitContent || pe.value,
1907
- [`b-data-grid--${$e.STICKY_FILTERS}`]: n.filters && n.stickyFilters
1908
- })), Wt = R(() => me.value.findIndex((r) => r.columnSet.length)), Vt = (r) => {
1911
+ }), Vt = R(() => ({
1912
+ [`b-data-grid--${Ae.OUTLINE}`]: n.outline,
1913
+ [`b-data-grid--${Ae.SCROLL}`]: n.fitContent || ve.value,
1914
+ [`b-data-grid--${Ae.STICKY_FILTERS}`]: n.filters && n.stickyFilters
1915
+ })), Bt = R(() => Ce.value.findIndex((r) => r.columnSet.length)), Ht = (r) => {
1909
1916
  var E;
1910
1917
  return {
1911
1918
  "b-data-grid__row--disabled": n.isDataItemDisabled(r),
1912
1919
  "b-data-grid__row--row-clicks-enabled": n.allowRowClicks,
1913
1920
  "b-data-grid__cell--is-re-ordering": ((E = J.target) == null ? void 0 : E.field) !== void 0,
1914
- "b-data-grid__row--highlighted": n.highlightedRows.includes(n.getDataItemId(r)) || ve.value.includes(n.getDataItemId(r))
1921
+ "b-data-grid__row--highlighted": n.highlightedRows.includes(n.getDataItemId(r)) || me.value.includes(n.getDataItemId(r))
1915
1922
  };
1916
- }, Bt = (r) => ({
1923
+ }, Fe = R(() => {
1924
+ const r = k.value.filter((W) => W.frozen);
1925
+ return !(n.selectable && r.length === 1) || Ft.value;
1926
+ }), Zt = (r) => ({
1917
1927
  "b-data-grid__row-cell-set--frozen": r,
1928
+ "b-data-grid__row-cell-set--frozen-separator": r && Fe.value,
1918
1929
  "b-data-grid__row-cell-set--unfrozen": !r,
1919
1930
  "b-data-grid__row-cell-set--config-settings-margin": !r && n.columnPanel
1920
- }), Ht = (r) => {
1921
- var E, W, A, Z, Y;
1931
+ }), jt = (r) => {
1932
+ var E, W, $, Z, Y;
1922
1933
  return {
1923
1934
  "b-data-grid__cell--padding-left-unset": ((E = r == null ? void 0 : r.padding) == null ? void 0 : E.left) === !1,
1924
1935
  "b-data-grid__cell--padding-right-unset": ((W = r == null ? void 0 : r.padding) == null ? void 0 : W.right) === !1,
@@ -1926,79 +1937,77 @@ const Pi = /* @__PURE__ */ j(Ni, [["__scopeId", "data-v-4133257e"]]), Ui = Symbo
1926
1937
  "b-data-grid__cell--condensed": n.condensed,
1927
1938
  "b-data-grid__cell--frozen": r == null ? void 0 : r.frozen,
1928
1939
  [`b-data-grid__cell--overflow-${Ee.ELLIPSIS}`]: (r == null ? void 0 : r.overflow) === Ee.ELLIPSIS,
1929
- "b-data-grid__cell--is-column-re-ordering": ((A = J.dragging) == null ? void 0 : A.field) === r.field,
1940
+ "b-data-grid__cell--is-column-re-ordering": (($ = J.dragging) == null ? void 0 : $.field) === r.field,
1930
1941
  "b-data-grid__cell--is-column-re-order-target-left": ((Z = J.target) == null ? void 0 : Z.field) === r.field && (J == null ? void 0 : J.dragToLeft),
1931
1942
  "b-data-grid__cell--is-column-re-order-target-right": ((Y = J.target) == null ? void 0 : Y.field) === r.field && !(J != null && J.dragToLeft)
1932
1943
  };
1933
- }, Zt = R(() => {
1934
- var r, E, W, A, Z, Y;
1944
+ }, Yt = R(() => {
1945
+ var r, E, W, $, Z, Y;
1935
1946
  return {
1936
1947
  "b-data-grid__pagination--padding-left-unset": ((W = (E = (r = n.columns) == null ? void 0 : r[0]) == null ? void 0 : E.padding) == null ? void 0 : W.left) === !1,
1937
- "b-data-grid__pagination--padding-right-unset": ((Y = (Z = (A = n.columns) == null ? void 0 : A[n.columns.length - 1]) == null ? void 0 : Z.padding) == null ? void 0 : Y.right) === !1,
1948
+ "b-data-grid__pagination--padding-right-unset": ((Y = (Z = ($ = n.columns) == null ? void 0 : $[n.columns.length - 1]) == null ? void 0 : Z.padding) == null ? void 0 : Y.right) === !1,
1938
1949
  "b-data-grid__pagination--sticky": !!n.stickyPagination || M
1939
1950
  };
1940
- }), jt = R(() => {
1941
- var r;
1942
- return {
1943
- height: `${(r = p.value) == null ? void 0 : r.clientHeight}px`
1944
- };
1945
- }), Yt = (r, E) => (r == null ? void 0 : r.overflow) === Ee.ELLIPSIS ? `${E}` : void 0, qt = (r) => r ?? "-", Xt = (r, E, W) => {
1946
- var A;
1947
- ((A = f.value) == null ? void 0 : A[E]) === void 0 && (f.value = { ...f.value, [E]: [] }), f.value[E][W] = r;
1948
- }, Kt = (r, E) => {
1949
- n.allowRowClicks && l($.ROW_CLICK, r, E);
1950
- }, Jt = R(() => !!n.selectableAcrossPages && !!n.pagination), Fe = hn({
1951
- label: g != null && g.header ? Ln(g)("header") : null,
1951
+ }), qt = (r, E) => (r == null ? void 0 : r.overflow) === Ee.ELLIPSIS ? `${E}` : void 0, Xt = (r) => r ?? "-", Kt = (r, E, W) => {
1952
+ var $;
1953
+ (($ = f.value) == null ? void 0 : $[E]) === void 0 && (f.value = { ...f.value, [E]: [] }), f.value[E][W] = r;
1954
+ }, Jt = (r, E) => {
1955
+ n.allowRowClicks && l(A.ROW_CLICK, r, E);
1956
+ }, Qt = R(() => !!n.selectableAcrossPages && !!n.pagination), Ge = Ln({
1957
+ label: g != null && g.header ? yn(g)("header") : null,
1952
1958
  defaultFallback: "data grid"
1953
- }), Qt = (r) => {
1959
+ }), xt = (r) => {
1954
1960
  if (!n.selectable)
1955
1961
  return null;
1956
1962
  const E = n.getDataItemId(r);
1957
- return ve.value.includes(E).toString();
1958
- }, Ge = (r, E) => r + me.value.length * E, We = (r, E, W) => _.value.length * r + Ge(E, W), Ve = R(() => {
1963
+ return me.value.includes(E).toString();
1964
+ }, We = (r, E) => r + Ce.value.length * E, Ve = (r, E, W) => _.value.length * r + We(E, W), Be = R(() => {
1959
1965
  var r;
1960
- return ((r = ve.value) == null ? void 0 : r.length) ?? 0;
1961
- }), xt = R(() => n.bulkActions && Ve.value > 0), en = (r) => l($.COLUMN_RESIZE, r), tn = (r) => {
1962
- l($.UPDATE_SORT_BY, r), l($.SORT, r);
1963
- }, nn = (r) => {
1964
- l($.NAVIGATE, r), l($.UPDATE_PAGINATION, {
1966
+ return ((r = me.value) == null ? void 0 : r.length) ?? 0;
1967
+ }), en = R(() => n.bulkActions && Be.value > 0), tn = (r) => l(A.COLUMN_RESIZE, r), nn = (r) => {
1968
+ l(A.UPDATE_SORT_BY, r), l(A.SORT, r);
1969
+ }, sn = (r, E) => {
1970
+ l(A.NAVIGATE, r), l(A.UPDATE_PAGINATION, {
1965
1971
  ...n.pagination,
1972
+ size: E,
1966
1973
  page: r
1967
1974
  });
1968
- }, sn = (r) => l($.ITEMS_PAGE, r), ln = () => {
1969
- l($.FILTER_SEARCH_CLEAR);
1970
- }, on = (r) => {
1971
- l($.UPDATE_FILTER_SEARCH_TERM, r), l($.FILTER_SEARCH_INPUT, r);
1972
- }, Le = w(), an = (r, E) => {
1975
+ }, ln = (r) => {
1976
+ l(A.ITEMS_PAGE, r);
1977
+ }, on = () => {
1978
+ l(A.FILTER_SEARCH_CLEAR);
1979
+ }, an = (r) => {
1980
+ l(A.UPDATE_FILTER_SEARCH_TERM, r), l(A.FILTER_SEARCH_INPUT, r);
1981
+ }, he = w(), rn = (r, E) => {
1973
1982
  const W = {
1974
- ...wt.value(r)
1983
+ ...Nt.value(r)
1975
1984
  };
1976
- return r.frozen && (W.keyup = (A) => ze(A), W.keydown = (A) => ze(A)), r.cellActions && (W.mouseenter = () => {
1977
- Le.value = { columnField: r.field, rowIndex: E };
1985
+ return r.frozen && (W.keyup = ($) => ze($), W.keydown = ($) => ze($)), r.cellActions && (W.mouseenter = () => {
1986
+ he.value = { columnField: r.field, rowIndex: E };
1978
1987
  }, W.mouseleave = () => {
1979
- Le.value = null;
1988
+ he.value = null;
1980
1989
  }), W;
1981
- }, rn = (r, E) => {
1982
- var W, A;
1983
- return ((W = Le.value) == null ? void 0 : W.columnField) === r.field && ((A = Le.value) == null ? void 0 : A.rowIndex) === E;
1990
+ }, dn = (r, E) => {
1991
+ var W, $;
1992
+ return ((W = he.value) == null ? void 0 : W.columnField) === r.field && (($ = he.value) == null ? void 0 : $.rowIndex) === E;
1984
1993
  };
1985
- return R(() => _.value.some((r) => r.mandatory)).value || pt(
1994
+ return R(() => _.value.some((r) => r.mandatory)).value || ht(
1986
1995
  "WARNING: At least one BentoDataGrid column should be set as mandatory to ensure data is always displayed correctly."
1987
- ), He(Sn, () => null)(n.tabTitle), s({ onEmptyStateClearResetButtonClick: zt }), (r, E) => {
1996
+ ), Ze(bn, () => null)(n.tabTitle), s({ onEmptyStateClearResetButtonClick: Gt }), (r, E) => {
1988
1997
  var W;
1989
- return c(), y("div", {
1990
- class: te(["b-data-grid", a(Gt)]),
1998
+ return c(), L("div", {
1999
+ class: te(["b-data-grid", a(Vt)]),
1991
2000
  role: "grid",
1992
2001
  "aria-rowcount": a(o).length,
1993
2002
  "aria-colcount": a(_).length,
1994
- "aria-label": a(Fe)
2003
+ "aria-label": a(Ge)
1995
2004
  }, [
1996
- e.filters ? (c(), y("div", {
2005
+ e.filters ? (c(), L("div", {
1997
2006
  key: 0,
1998
2007
  ref_key: "filtersRef",
1999
2008
  ref: v,
2000
2009
  class: "b-data-grid__filters",
2001
- style: ue({ top: a(fe) })
2010
+ style: Se({ top: a(ge) })
2002
2011
  }, [
2003
2012
  e.filters ? (c(), U(be, {
2004
2013
  key: 0,
@@ -2007,75 +2016,75 @@ const Pi = /* @__PURE__ */ j(Ni, [["__scopeId", "data-v-4133257e"]]), Ui = Symbo
2007
2016
  config: e.filters,
2008
2017
  "filter-values": e.filterValues,
2009
2018
  "search-term": e.filterSearchTerm,
2010
- onSearchInput: on,
2011
- onSearchClear: ln,
2012
- onInput: E[0] || (E[0] = (A) => r.$emit(a($).UPDATE_FILTERS, A)),
2013
- "onUpdate:filterValues": E[1] || (E[1] = (A) => r.$emit(a($).UPDATE_FILTER_VALUES, A))
2019
+ onSearchInput: an,
2020
+ onSearchClear: on,
2021
+ onInput: E[0] || (E[0] = ($) => r.$emit(a(A).UPDATE_FILTERS, $)),
2022
+ "onUpdate:filterValues": E[1] || (E[1] = ($) => r.$emit(a(A).UPDATE_FILTER_VALUES, $))
2014
2023
  }, null, 8, ["config", "filter-values", "search-term"])) : N("", !0)
2015
2024
  ], 4)) : N("", !0),
2016
- r.$slots.header ? (c(), y("div", ki, [
2017
- ge(r.$slots, "header", {}, void 0, !0)
2025
+ r.$slots.header ? (c(), L("div", Di, [
2026
+ ue(r.$slots, "header", {}, void 0, !0)
2018
2027
  ])) : N("", !0),
2019
2028
  T("div", {
2020
2029
  class: "b-data-grid__column-headers",
2021
- style: ue({ top: a(Ce) })
2030
+ style: Se({ top: a(_e) })
2022
2031
  }, [
2023
- e.columnPanel ? (c(), U(a(fi), {
2032
+ e.columnPanel ? (c(), U(a(_i), {
2024
2033
  key: 0,
2025
2034
  class: "b-data-grid__config-settings",
2026
- style: ue(a(jt)),
2027
2035
  columns: a(_),
2028
2036
  condensed: e.condensed,
2029
- onConfigSettings: a(It),
2030
- "onUpdate:columns": a(Rt)
2031
- }, null, 8, ["style", "columns", "condensed", "onConfigSettings", "onUpdate:columns"])) : N("", !0),
2037
+ onConfigSettings: a(Rt),
2038
+ "onUpdate:columns": a(Tt)
2039
+ }, null, 8, ["columns", "condensed", "onConfigSettings", "onUpdate:columns"])) : N("", !0),
2032
2040
  T("div", {
2033
2041
  ref_key: "columnsRef",
2034
- ref: p,
2042
+ ref: b,
2035
2043
  role: "rowgroup",
2036
2044
  class: "b-data-grid__columns-row",
2037
2045
  tabindex: a(O),
2038
2046
  onScroll: E[3] || (E[3] = //@ts-ignore
2039
- (...A) => a(he) && a(he)(...A))
2047
+ (...$) => a(pe) && a(pe)(...$))
2040
2048
  }, [
2041
2049
  T("div", {
2042
- style: ue(a(z)),
2050
+ style: Se(a(z)),
2043
2051
  class: "b-data-grid__columns",
2044
2052
  role: "row"
2045
2053
  }, [
2046
- (c(!0), y(Q, null, se(a(me), ({ columnSet: A, id: Z, isFrozenColumns: Y }, ye) => (c(), y(Q, null, [
2047
- A != null && A.length ? (c(), U(a(ks), K({
2054
+ (c(!0), L(Q, null, se(a(Ce), ({ columnSet: $, id: Z, isFrozenColumns: Y }, Le) => (c(), L(Q, null, [
2055
+ $ != null && $.length ? (c(), U(a(Ds), K({
2048
2056
  key: `data-grid-columns-${Z}`,
2049
- columns: A,
2057
+ columns: $,
2050
2058
  "has-resizable-columns": e.hasResizableColumns,
2051
2059
  "sort-by": e.sortBy,
2052
- "all-items-selected-state": a(Ut),
2060
+ "all-items-selected-state": a(Mt),
2053
2061
  "is-frozen-columns": Y,
2062
+ "show-frozen-columns-separator": a(Fe),
2054
2063
  "dragging-columns": a(J),
2055
2064
  "has-draggable-columns": a(t),
2056
2065
  "has-column-panel": e.columnPanel,
2057
- "has-first-column-panel-right-aligned": ye === a(Wt),
2058
- "is-only-one-visible-column": a(At),
2059
- "selectable-across-pages": a(Jt)
2060
- }, Ie(a(Ot)), {
2061
- onColumnMove: a(Nt),
2062
- onColumnUpdate: a(Tt),
2063
- onColumnResize: en,
2066
+ "has-first-column-panel-right-aligned": Le === a(Bt),
2067
+ "is-only-one-visible-column": a(It),
2068
+ "selectable-across-pages": a(Qt)
2069
+ }, Ie(a(wt)), {
2070
+ onColumnMove: a(Pt),
2071
+ onColumnUpdate: a(Ot),
2072
+ onColumnResize: tn,
2064
2073
  onColumnResizing: a(V),
2065
2074
  onSelectAllRows: a(ke),
2066
- onSelectAllAcrossPages: E[2] || (E[2] = (Te) => l(a($).SELECT_ALL_ACROSS_PAGES)),
2067
- onSort: tn
2075
+ onSelectAllAcrossPages: E[2] || (E[2] = (Te) => l(a(A).SELECT_ALL_ACROSS_PAGES)),
2076
+ onSort: nn
2068
2077
  }), we({ _: 2 }, [
2069
2078
  se(a(g), (Te, ae) => ({
2070
2079
  name: ae,
2071
- fn: k((B) => [
2072
- ge(r.$slots, ae, Ze(je(B)), void 0, !0)
2080
+ fn: D((B) => [
2081
+ ue(r.$slots, ae, je(Ye(B)), void 0, !0)
2073
2082
  ])
2074
2083
  }))
2075
- ]), 1040, ["columns", "has-resizable-columns", "sort-by", "all-items-selected-state", "is-frozen-columns", "dragging-columns", "has-draggable-columns", "has-column-panel", "has-first-column-panel-right-aligned", "is-only-one-visible-column", "selectable-across-pages", "onColumnMove", "onColumnUpdate", "onColumnResizing", "onSelectAllRows"])) : N("", !0)
2084
+ ]), 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-first-column-panel-right-aligned", "is-only-one-visible-column", "selectable-across-pages", "onColumnMove", "onColumnUpdate", "onColumnResizing", "onSelectAllRows"])) : N("", !0)
2076
2085
  ], 64))), 256))
2077
2086
  ], 4)
2078
- ], 40, Di)
2087
+ ], 40, zi)
2079
2088
  ], 4),
2080
2089
  T("div", {
2081
2090
  ref_key: "body",
@@ -2086,10 +2095,10 @@ const Pi = /* @__PURE__ */ j(Ni, [["__scopeId", "data-v-4133257e"]]), Ui = Symbo
2086
2095
  "aria-busy": e.loading,
2087
2096
  "aria-live": "polite",
2088
2097
  onScroll: E[5] || (E[5] = //@ts-ignore
2089
- (...A) => a(he) && a(he)(...A))
2098
+ (...$) => a(pe) && a(pe)(...$))
2090
2099
  }, [
2091
- e.loading && !a(pe) ? (c(), y("div", Fi, [
2092
- G(a(vt), {
2100
+ e.loading && !a(ve) ? (c(), L("div", Gi, [
2101
+ G(a(pt), {
2093
2102
  class: "b-data-grid__loading-indicator",
2094
2103
  large: ""
2095
2104
  }),
@@ -2097,124 +2106,124 @@ const Pi = /* @__PURE__ */ j(Ni, [["__scopeId", "data-v-4133257e"]]), Ui = Symbo
2097
2106
  el: "span",
2098
2107
  variant: "caption"
2099
2108
  }, {
2100
- default: k(() => [
2109
+ default: D(() => [
2101
2110
  X(F(a(I)("gettingYourData")), 1)
2102
2111
  ]),
2103
2112
  _: 1
2104
2113
  })
2105
- ])) : ((W = a(o)) == null ? void 0 : W.length) === 0 && e.emptyState ? (c(), y("div", Gi, [
2106
- G(a(yn), Ze(je(a(Ft))), null, 16)
2107
- ])) : (c(), y("div", {
2114
+ ])) : ((W = a(o)) == null ? void 0 : W.length) === 0 && e.emptyState ? (c(), L("div", Wi, [
2115
+ G(a(Sn), je(Ye(a(Wt))), null, 16)
2116
+ ])) : (c(), L("div", {
2108
2117
  key: 2,
2109
2118
  class: "b-data-grid__rows",
2110
2119
  role: "rowgroup",
2111
2120
  onKeydown: E[4] || (E[4] = //@ts-ignore
2112
- (...A) => a(De) && a(De)(...A))
2121
+ (...$) => a(De) && a(De)(...$))
2113
2122
  }, [
2114
- (c(!0), y(Q, null, se(a(o), (A, Z) => (c(), y("div", {
2123
+ (c(!0), L(Q, null, se(a(o), ($, Z) => (c(), L("div", {
2115
2124
  key: Z,
2116
- style: ue(a(z)),
2117
- class: te(["b-data-grid__row", Vt(A)]),
2125
+ style: Se(a(z)),
2126
+ class: te(["b-data-grid__row", Ht($)]),
2118
2127
  role: "row",
2119
2128
  "aria-rowindex": Z + 1,
2120
- "aria-selected": Qt(A),
2121
- onClick: (Y) => Kt(A, Y)
2129
+ "aria-selected": xt($),
2130
+ onClick: (Y) => Jt($, Y)
2122
2131
  }, [
2123
- (c(!0), y(Q, null, se(a(me), ({ columnSet: Y, id: ye, isFrozenColumns: Te }, ae) => (c(), y(Q, null, [
2124
- Y != null && Y.length ? (c(), y("div", {
2125
- key: `data-grid-rows-${ye}`,
2126
- class: te(["b-data-grid__cells", Bt(Te)]),
2127
- "data-testid": `data-grid-${ye}-rows`
2132
+ (c(!0), L(Q, null, se(a(Ce), ({ columnSet: Y, id: Le, isFrozenColumns: Te }, ae) => (c(), L(Q, null, [
2133
+ Y != null && Y.length ? (c(), L("div", {
2134
+ key: `data-grid-rows-${Le}`,
2135
+ class: te(["b-data-grid__cells", Zt(Te)]),
2136
+ "data-testid": `data-grid-${Le}-rows`
2128
2137
  }, [
2129
- (c(!0), y(Q, null, se(Y, (B, Oe) => {
2130
- var Be;
2131
- return c(), y("div", K({
2138
+ (c(!0), L(Q, null, se(Y, (B, Oe) => {
2139
+ var He;
2140
+ return c(), L("div", K({
2132
2141
  key: `cell-${B.field}`,
2133
2142
  ref_for: !0,
2134
- ref: (dn) => Xt(dn, B.field, Z),
2143
+ ref: (cn) => Kt(cn, B.field, Z),
2135
2144
  "data-testid": `cell-${B.field}`,
2136
- "data-cellindex": We(Z, Oe, ae),
2137
- class: ["b-data-grid__cell", Ht(B)],
2145
+ "data-cellindex": Ve(Z, Oe, ae),
2146
+ class: ["b-data-grid__cell", jt(B)],
2138
2147
  role: "gridcell",
2139
- tabindex: We(Z, Oe, ae) === 0 ? "0" : "-1",
2140
- "aria-colindex": Ge(Oe, ae) + 1,
2148
+ tabindex: Ve(Z, Oe, ae) === 0 ? "0" : "-1",
2149
+ "aria-colindex": We(Oe, ae) + 1,
2141
2150
  style: {
2142
2151
  width: B.autoWidth && a(x) ? "auto" : `${B.width}px`
2143
2152
  }
2144
- }, Ie(an(B, Z), !0)), [
2145
- B.field !== a(re) ? (c(), y(Q, { key: 0 }, [
2153
+ }, Ie(rn(B, Z), !0)), [
2154
+ B.field !== a(re) ? (c(), L(Q, { key: 0 }, [
2146
2155
  G(a(Re), { el: "div" }, {
2147
- default: k(() => [
2148
- ge(r.$slots, `item-${B.field}`, { item: A }, () => [
2156
+ default: D(() => [
2157
+ ue(r.$slots, `item-${B.field}`, { item: $ }, () => [
2149
2158
  T("span", {
2150
- title: Yt(B, A[B.field])
2151
- }, F(qt(A[B.field])), 9, Hi)
2159
+ title: qt(B, $[B.field])
2160
+ }, F(Xt($[B.field])), 9, Zi)
2152
2161
  ], !0)
2153
2162
  ]),
2154
2163
  _: 2
2155
2164
  }, 1024),
2156
- ((Be = B.cellActions) == null ? void 0 : Be.length) > 0 ? (c(), y("div", Zi, [
2157
- rn(B, Z) ? (c(), U(a(Pi), {
2165
+ ((He = B.cellActions) == null ? void 0 : He.length) > 0 ? (c(), L("div", ji, [
2166
+ dn(B, Z) ? (c(), U(a(Ui), {
2158
2167
  key: 0,
2159
2168
  "cell-actions": B.cellActions,
2160
2169
  "column-key": B.field,
2161
- "row-data-item": A
2170
+ "row-data-item": $
2162
2171
  }, null, 8, ["cell-actions", "column-key", "row-data-item"])) : N("", !0)
2163
2172
  ])) : N("", !0)
2164
- ], 64)) : (c(), U(a(mt), {
2173
+ ], 64)) : (c(), U(a(vt), {
2165
2174
  key: 1,
2166
2175
  class: "b-data-grid__select-cell",
2167
2176
  "aria-label": a(I)("selectRow"),
2168
- "model-value": a(ve),
2169
- disabled: e.isDataItemDisabled(A),
2170
- value: e.getDataItemId(A),
2171
- "onUpdate:modelValue": a(Pt)
2177
+ "model-value": a(me),
2178
+ disabled: e.isDataItemDisabled($),
2179
+ value: e.getDataItemId($),
2180
+ "onUpdate:modelValue": a(Ut)
2172
2181
  }, null, 8, ["aria-label", "model-value", "disabled", "value", "onUpdate:modelValue"]))
2173
- ], 16, Bi);
2182
+ ], 16, Hi);
2174
2183
  }), 128))
2175
- ], 10, Vi)) : N("", !0)
2184
+ ], 10, Bi)) : N("", !0)
2176
2185
  ], 64))), 256))
2177
- ], 14, Wi))), 128))
2186
+ ], 14, Vi))), 128))
2178
2187
  ], 32))
2179
- ], 40, zi),
2180
- a(pe) ? (c(), U(a(vi), {
2188
+ ], 40, Fi),
2189
+ a(ve) ? (c(), U(a(pi), {
2181
2190
  key: 2,
2182
2191
  loading: e.loading,
2183
- "is-infinite-scroll": a(Mt),
2184
- "onUpdate:showMore": a(Dt)
2192
+ "is-infinite-scroll": a(kt),
2193
+ "onUpdate:showMore": a(zt)
2185
2194
  }, null, 8, ["loading", "is-infinite-scroll", "onUpdate:showMore"])) : N("", !0),
2186
- e.pagination && !a(pe) ? (c(), y("div", {
2195
+ e.pagination && !a(ve) ? (c(), L("div", {
2187
2196
  key: 3,
2188
2197
  "data-testid": "pagination-container",
2189
- class: te(["b-data-grid__pagination", a(Zt)])
2198
+ class: te(["b-data-grid__pagination", a(Yt)])
2190
2199
  }, [
2191
- G(a(pn), K(e.pagination, {
2192
- "aria-label": `${a(Fe)} navigation`,
2193
- onNavigate: nn,
2194
- onItemsPage: sn
2200
+ G(a(hn), K(e.pagination, {
2201
+ "aria-label": `${a(Ge)} navigation`,
2202
+ onNavigate: sn,
2203
+ onItemsPage: ln
2195
2204
  }), null, 16, ["aria-label"])
2196
2205
  ], 2)) : N("", !0),
2197
- r.$slots.footer ? (c(), y("div", ji, [
2198
- ge(r.$slots, "footer", {}, void 0, !0)
2206
+ r.$slots.footer ? (c(), L("div", Yi, [
2207
+ ue(r.$slots, "footer", {}, void 0, !0)
2199
2208
  ])) : N("", !0),
2200
- a(xt) ? (c(), U(a(vn), {
2209
+ a(en) ? (c(), U(a(pn), {
2201
2210
  key: 5,
2202
2211
  actions: e.bulkActions,
2203
- "item-counter": a(Ve),
2212
+ "item-counter": a(Be),
2204
2213
  "extra-bottom-spacing": e.stickyPagination,
2205
- onClose: E[6] || (E[6] = (A) => a(ke)(!1))
2214
+ onClose: E[6] || (E[6] = ($) => a(ke)(!1))
2206
2215
  }, null, 8, ["actions", "item-counter", "extra-bottom-spacing"])) : N("", !0)
2207
- ], 10, Mi);
2216
+ ], 10, ki);
2208
2217
  };
2209
2218
  }
2210
2219
  });
2211
- const Il = /* @__PURE__ */ j(qi, [["__scopeId", "data-v-ae91568c"]]);
2220
+ const Rl = /* @__PURE__ */ j(Xi, [["__scopeId", "data-v-388b243f"]]);
2212
2221
  export {
2213
2222
  Ee as BentoColumnOverflow,
2214
- Il as BentoDataGrid,
2215
- Ae as BentoDatagridAriaSortValue,
2216
- $ as BentoDatagridEvent,
2223
+ Rl as BentoDataGrid,
2224
+ $e as BentoDatagridAriaSortValue,
2225
+ A as BentoDatagridEvent,
2217
2226
  oe as BentoDatagridSortDirection,
2218
- $e as BentoDatagridStyleState
2227
+ Ae as BentoDatagridStyleState
2219
2228
  };
2220
2229
  //# sourceMappingURL=data-grid.js.map