@adyen/bento-vue2 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 (221) hide show
  1. package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +1 -1
  2. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +11 -0
  3. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-scroller/use-scroller.d.ts +1 -0
  4. package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +1 -1
  5. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +38 -29
  6. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +43 -1306
  7. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +5 -11
  8. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +43 -48
  9. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/index.d.ts +2 -0
  10. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +43 -44
  11. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/index.d.ts +2 -0
  12. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +43 -43
  13. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/index.d.ts +2 -0
  14. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +43 -43
  15. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/index.d.ts +2 -0
  16. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +43 -48
  17. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/index.d.ts +2 -0
  18. package/dist/@types/packages/vue2/src/components/dropdown/composables/index.d.ts +2 -0
  19. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.d.ts +2 -0
  20. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.types.d.ts +28 -0
  21. package/dist/@types/packages/vue2/src/components/dropdown/composables/{useKeyboardNavigation.d.ts → use-keyboard-navigation.d.ts} +3 -13
  22. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-keyboard-navigation.types.d.ts +15 -0
  23. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +48 -1674
  24. package/dist/@types/packages/vue2/src/components/dropdown/index.d.ts +6 -5
  25. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +12 -12
  26. package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +1 -1
  27. package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +1 -1
  28. package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +17 -11
  29. package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +16 -60
  30. package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +59 -49
  31. package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +39 -291
  32. package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +76 -83
  33. package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +1 -1
  34. package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +1 -1
  35. package/dist/@types/packages/vue2/src/components/search-bar/search-bar.vue.d.ts +1 -1
  36. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +3 -3
  37. package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +1 -1
  38. package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +3 -3
  39. package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.types.d.ts +6 -0
  40. package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.vue.d.ts +10 -0
  41. package/dist/@types/packages/vue2/src/templates/data-grid-template/index.d.ts +1 -0
  42. package/dist/accordion.js +2 -2
  43. package/dist/action-bar.js +5 -5
  44. package/dist/alert.js +3 -3
  45. package/dist/assets/base-modal.css +1 -1
  46. package/dist/assets/button.css +1 -1
  47. package/dist/assets/dropdown-default-textbox.css +1 -1
  48. package/dist/assets/dropdown.css +1 -1
  49. package/dist/assets/index10.css +1 -1
  50. package/dist/assets/index11.css +1 -1
  51. package/dist/assets/index12.css +1 -1
  52. package/dist/assets/index13.css +1 -1
  53. package/dist/assets/index14.css +1 -1
  54. package/dist/assets/index15.css +1 -1
  55. package/dist/assets/index16.css +1 -1
  56. package/dist/assets/index17.css +1 -1
  57. package/dist/assets/index18.css +1 -1
  58. package/dist/assets/index19.css +1 -1
  59. package/dist/assets/index2.css +1 -1
  60. package/dist/assets/index20.css +1 -1
  61. package/dist/assets/index21.css +1 -1
  62. package/dist/assets/index22.css +1 -1
  63. package/dist/assets/index23.css +1 -1
  64. package/dist/assets/index24.css +1 -1
  65. package/dist/assets/index25.css +1 -1
  66. package/dist/assets/index26.css +1 -1
  67. package/dist/assets/index27.css +1 -1
  68. package/dist/assets/index28.css +1 -1
  69. package/dist/assets/index29.css +1 -1
  70. package/dist/assets/index3.css +1 -1
  71. package/dist/assets/index30.css +1 -1
  72. package/dist/assets/index31.css +1 -1
  73. package/dist/assets/index32.css +1 -1
  74. package/dist/assets/index33.css +1 -1
  75. package/dist/assets/index34.css +1 -1
  76. package/dist/assets/index35.css +1 -1
  77. package/dist/assets/index36.css +1 -1
  78. package/dist/assets/index37.css +1 -1
  79. package/dist/assets/index38.css +1 -1
  80. package/dist/assets/index39.css +1 -1
  81. package/dist/assets/index4.css +1 -1
  82. package/dist/assets/index40.css +1 -1
  83. package/dist/assets/index41.css +1 -1
  84. package/dist/assets/index42.css +1 -1
  85. package/dist/assets/index43.css +1 -1
  86. package/dist/assets/index44.css +1 -1
  87. package/dist/assets/index45.css +1 -1
  88. package/dist/assets/index46.css +1 -1
  89. package/dist/assets/index5.css +1 -1
  90. package/dist/assets/index6.css +1 -1
  91. package/dist/assets/index7.css +1 -1
  92. package/dist/assets/index8.css +1 -1
  93. package/dist/assets/index9.css +1 -1
  94. package/dist/avatar-image.js +1 -1
  95. package/dist/button.js +5 -5
  96. package/dist/card.js +15 -15
  97. package/dist/card.js.map +1 -1
  98. package/dist/checkbox.js +6 -6
  99. package/dist/chunks/{base-button.bd61ab14.js → base-button.1f07b7c1.js} +2 -2
  100. package/dist/chunks/{base-button.bd61ab14.js.map → base-button.1f07b7c1.js.map} +1 -1
  101. package/dist/chunks/base-modal.9d63bdaf.js +200 -0
  102. package/dist/chunks/base-modal.9d63bdaf.js.map +1 -0
  103. package/dist/chunks/{button-actions-with-menu.767344df.js → button-actions-with-menu.4c5091f4.js} +3 -3
  104. package/dist/chunks/{button-actions-with-menu.767344df.js.map → button-actions-with-menu.4c5091f4.js.map} +1 -1
  105. package/dist/chunks/{button.bb5b4909.js → button.133f145e.js} +2 -2
  106. package/dist/chunks/{button.bb5b4909.js.map → button.133f145e.js.map} +1 -1
  107. package/dist/chunks/{calendar.4ab3c2dc.js → calendar.9a8605d1.js} +8 -7
  108. package/dist/chunks/{calendar.4ab3c2dc.js.map → calendar.9a8605d1.js.map} +1 -1
  109. package/dist/chunks/{checkbox.c684c20a.js → checkbox.d8b810c7.js} +3 -3
  110. package/dist/chunks/{checkbox.c684c20a.js.map → checkbox.d8b810c7.js.map} +1 -1
  111. package/dist/chunks/{controls-group.d25f5044.js → controls-group.bf152dea.js} +3 -3
  112. package/dist/chunks/{controls-group.d25f5044.js.map → controls-group.bf152dea.js.map} +1 -1
  113. package/dist/chunks/{copy.36c058e9.js → copy.68a7d416.js} +4 -4
  114. package/dist/chunks/{copy.36c058e9.js.map → copy.68a7d416.js.map} +1 -1
  115. package/dist/chunks/{dropdown-default-textbox.1cba89ea.js → dropdown-default-textbox.c595fd31.js} +129 -148
  116. package/dist/chunks/dropdown-default-textbox.c595fd31.js.map +1 -0
  117. package/dist/chunks/dropdown.eaee22a3.js +797 -0
  118. package/dist/chunks/dropdown.eaee22a3.js.map +1 -0
  119. package/dist/chunks/{field-label.a0c54b7d.js → field-label.66f52c8f.js} +2 -2
  120. package/dist/chunks/{field-label.a0c54b7d.js.map → field-label.66f52c8f.js.map} +1 -1
  121. package/dist/chunks/{fixed-scroller.5c90f692.js → fixed-scroller.01fc96f7.js} +2 -2
  122. package/dist/chunks/{fixed-scroller.5c90f692.js.map → fixed-scroller.01fc96f7.js.map} +1 -1
  123. package/dist/chunks/{footer-actions.b14cfca8.js → footer-actions.38e99891.js} +3 -3
  124. package/dist/chunks/{footer-actions.b14cfca8.js.map → footer-actions.38e99891.js.map} +1 -1
  125. package/dist/chunks/{index.aaedd8f9.js → index.14758ff7.js} +3 -3
  126. package/dist/chunks/{index.aaedd8f9.js.map → index.14758ff7.js.map} +1 -1
  127. package/dist/chunks/index.18773b0b.js +637 -0
  128. package/dist/chunks/index.18773b0b.js.map +1 -0
  129. package/dist/chunks/{index.7d2ea1de.js → index.2cfe4a09.js} +2 -2
  130. package/dist/chunks/{index.7d2ea1de.js.map → index.2cfe4a09.js.map} +1 -1
  131. package/dist/chunks/{index.1e8c900a.js → index.3b7d40b7.js} +2 -2
  132. package/dist/chunks/{index.1e8c900a.js.map → index.3b7d40b7.js.map} +1 -1
  133. package/dist/chunks/{index.f18f79eb.js → index.45aa17fc.js} +5 -5
  134. package/dist/chunks/{index.f18f79eb.js.map → index.45aa17fc.js.map} +1 -1
  135. package/dist/chunks/{index.b0a89960.js → index.99a2184a.js} +2 -2
  136. package/dist/chunks/{index.b0a89960.js.map → index.99a2184a.js.map} +1 -1
  137. package/dist/chunks/{index.f2223abb.js → index.9b669c12.js} +6 -6
  138. package/dist/chunks/{index.f2223abb.js.map → index.9b669c12.js.map} +1 -1
  139. package/dist/chunks/{index.720f0cbf.js → index.b38a191d.js} +13 -12
  140. package/dist/chunks/{index.720f0cbf.js.map → index.b38a191d.js.map} +1 -1
  141. package/dist/chunks/{index.58282364.js → index.d90c5838.js} +3 -3
  142. package/dist/chunks/{index.58282364.js.map → index.d90c5838.js.map} +1 -1
  143. package/dist/chunks/{index.75f0e99f.js → index.eb527b75.js} +6 -6
  144. package/dist/chunks/{index.75f0e99f.js.map → index.eb527b75.js.map} +1 -1
  145. package/dist/chunks/{listbox-option-tag.9103c011.js → listbox-option-tag.168c794c.js} +3 -3
  146. package/dist/chunks/{listbox-option-tag.9103c011.js.map → listbox-option-tag.168c794c.js.map} +1 -1
  147. package/dist/chunks/{listbox.7cf6d6b4.js → listbox.23c6b393.js} +6 -6
  148. package/dist/chunks/{listbox.7cf6d6b4.js.map → listbox.23c6b393.js.map} +1 -1
  149. package/dist/chunks/{loading-button.fb025a2e.js → loading-button.44d698b9.js} +2 -2
  150. package/dist/chunks/{loading-button.fb025a2e.js.map → loading-button.44d698b9.js.map} +1 -1
  151. package/dist/chunks/{tooltip.f48beb54.js → tooltip.f91b2040.js} +3 -3
  152. package/dist/chunks/{tooltip.f48beb54.js.map → tooltip.f91b2040.js.map} +1 -1
  153. package/dist/chunks/{useCountryItems.6b7985bf.js → use-country-items.6b7985bf.js} +1 -1
  154. package/dist/chunks/use-country-items.6b7985bf.js.map +1 -0
  155. package/dist/code-snippet.js +7 -7
  156. package/dist/code-snippet.js.map +1 -1
  157. package/dist/country.js +2 -2
  158. package/dist/currency.js +1 -1
  159. package/dist/data-grid.js +460 -451
  160. package/dist/data-grid.js.map +1 -1
  161. package/dist/date-picker.js +38 -38
  162. package/dist/date-picker.js.map +1 -1
  163. package/dist/date-range-picker.js +2 -2
  164. package/dist/date.js +1 -1
  165. package/dist/divider.js +1 -1
  166. package/dist/dropdown.js +102 -132
  167. package/dist/dropdown.js.map +1 -1
  168. package/dist/empty-state.js +3 -3
  169. package/dist/filter-bar.js +54 -53
  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 +218 -215
  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 +38 -28
  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 +209 -302
  183. package/dist/modal.js.map +1 -1
  184. package/dist/pagination.js +88 -88
  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 +4 -4
  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 +3739 -3589
  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/useDisplayValue.types.d.ts +0 -12
  211. package/dist/@types/packages/vue2/src/components/dropdown/composables/useDropdownSearchFilter.d.ts +0 -3
  212. package/dist/chunks/base-modal.5640a66a.js +0 -222
  213. package/dist/chunks/base-modal.5640a66a.js.map +0 -1
  214. package/dist/chunks/dropdown-default-textbox.1cba89ea.js.map +0 -1
  215. package/dist/chunks/dropdown.4152cc00.js +0 -887
  216. package/dist/chunks/dropdown.4152cc00.js.map +0 -1
  217. package/dist/chunks/index.179d485c.js +0 -635
  218. package/dist/chunks/index.179d485c.js.map +0 -1
  219. package/dist/chunks/useCountryItems.6b7985bf.js.map +0 -1
  220. /package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/composables/{useDropdownOptionsListbox.d.ts → use-dropdown-options-listbox.d.ts} +0 -0
  221. /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,67 +1,67 @@
1
- import { ref as E, reactive as le, toRefs as ae, computed as y, watchEffect as It, onMounted as Ne, nextTick as G, watch as B, onUnmounted as De, onBeforeUpdate as Ot, defineComponent as H, toRef as $e, useSlots as wt, inject as pe } from "vue";
2
- import { BentoActionBar as Pt } from "./action-bar.js";
3
- import { B as Me } from "./chunks/checkbox.c684c20a.js";
4
- import { BentoPagination as Nt } from "./pagination.js";
5
- import { BentoLoadingIndicator as Ue } from "./loading-indicator.js";
6
- import { B as oe, p as xe } from "./chunks/index.b0a89960.js";
7
- import { u as Dt } from "./chunks/aria-label.ac9651a5.js";
8
- import { g as $t } from "./chunks/get-slot-text.99c3d860.js";
1
+ import { ref as E, reactive as le, toRefs as ae, computed as y, watchEffect as Ot, onMounted as $e, nextTick as G, watch as B, onUnmounted as Me, onBeforeUpdate as wt, defineComponent as H, toRef as Ue, useSlots as Pt, inject as Le } from "vue";
2
+ import { BentoActionBar as Nt } from "./action-bar.js";
3
+ import { B as xe } from "./chunks/checkbox.d8b810c7.js";
4
+ import { BentoPagination as Dt } from "./pagination.js";
5
+ import { BentoLoadingIndicator as ze } from "./loading-indicator.js";
6
+ import { B as oe, p as Fe } from "./chunks/index.99a2184a.js";
7
+ import { u as $t } from "./chunks/aria-label.ac9651a5.js";
8
+ import { g as Mt } from "./chunks/get-slot-text.99c3d860.js";
9
9
  import { u as re } from "./chunks/i18n.eb5b985b.js";
10
- import { BentoEmptyState as Mt } from "./empty-state.js";
10
+ import { BentoEmptyState as Ut } from "./empty-state.js";
11
11
  import { BentoFilterBar as Q } from "./filter-bar.js";
12
- import { E as Ut } from "./chunks/tabs.keys.358742f2.js";
13
- import { o as ze } from "./chunks/resize.a041304d.js";
14
- import { K as z } from "./chunks/tooltip.f48beb54.js";
15
- import { B as he, a as xt } from "./chunks/index.f18f79eb.js";
16
- import { a as Fe } from "./chunks/button.bb5b4909.js";
17
- import { BentoToggle as Ge } from "./toggle.js";
18
- import { BentoSearchBar as zt } from "./search-bar.js";
19
- import { u as Ft } from "./chunks/dropdown.4152cc00.js";
12
+ import { E as xt } from "./chunks/tabs.keys.358742f2.js";
13
+ import { o as Ge } from "./chunks/resize.a041304d.js";
14
+ import { K as z } from "./chunks/tooltip.f91b2040.js";
15
+ import { B as Se, a as zt } from "./chunks/index.45aa17fc.js";
16
+ import { a as Be } from "./chunks/button.133f145e.js";
17
+ import { BentoToggle as ke } from "./toggle.js";
18
+ import { BentoSearchBar as Ft } from "./search-bar.js";
19
+ import { u as Gt } from "./chunks/dropdown.eaee22a3.js";
20
20
  import { n as $ } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
21
- import { C as Gt } from "./chunks/cross.04678d81.js";
22
- import { S as Bt } from "./chunks/search.471270fe.js";
23
- import { g as kt } from "./chunks/unique-id.a2a2b458.js";
24
- import { B as Wt } from "./chunks/directive.0408e565.js";
25
- import { B as Be, O as Vt } from "./chunks/index.f2223abb.js";
26
- import { C as Ht } from "./chunks/copy.36c058e9.js";
27
- import { BentoInfoIcon as Zt } from "./info-icon.js";
28
- import { A as jt } from "./chunks/arrow-left.2db60716.js";
29
- import { l as Le } from "./chunks/events.58c00e6d.js";
30
- import { B as Yt, a as qt } from "./chunks/loading-button.fb025a2e.js";
31
- import "./assets/index14.css";
32
- var ee = /* @__PURE__ */ ((n) => (n.WRAP = "wrap", n.ELLIPSIS = "ellipsis", n))(ee || {}), te = /* @__PURE__ */ ((n) => (n.OUTLINE = "outline", n.SCROLL = "scroll", n.STICKY_FILTERS = "sticky-filters", n))(te || {}), k = /* @__PURE__ */ ((n) => (n.ASCENDING = "asc", n.DESCENDING = "desc", n))(k || {}), L = /* @__PURE__ */ ((n) => (n.COLUMNS = "columns", n.COLUMN_RESIZE = "column-resize", n.ITEMS_PAGE = "items-page", n.NAVIGATE = "navigate", n.FILTER_SEARCH_INPUT = "filter-search-input", n.FILTER_SEARCH_CLEAR = "filter-search-clear", n.UPDATE_COLUMNS = "update:columns", n.UPDATE_CONDENSED = "update:condensed", n.UPDATE_FILTERS = "update:filters", n.UPDATE_FILTER_VALUES = "update:filter-values", n.UPDATE_FILTER_SEARCH_TERM = "update:filter-search-term", n.UPDATE_PAGINATION = "update:pagination", n.UPDATE_SELECTION = "update:selection", n.UPDATE_SHOW_MORE = "update:show-more", n.UPDATE_SORT_BY = "update:sort-by", n.ROW_CLICK = "row-click", n.SELECT = "select", n.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", n.SORT = "sort", n))(L || {}), se = /* @__PURE__ */ ((n) => (n.ASCENDING = "ascending", n.DESCENDING = "descending", n.NONE = "none", n))(se || {}), R = /* @__PURE__ */ ((n) => (n.COLUMN_RESIZE = "column-resize", n.COLUMN_RESIZING = "column-resizing", n.SORT = "sort", n.SELECT_ALL_ROWS = "select-all-rows", n.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", n.COLUMN_MOVE = "column-move", n.COLUMN_UPDATE = "column-update", n.COLUMN_MENU_OPEN = "column-menu-open", n.COLUMN_MENU_CLOSE = "column-menu-close", n.COLUMN_DRAG_START = "column-dragstart", n.COLUMN_DRAG_ENTER = "column-dragenter", n.COLUMN_DRAG_END = "column-dragend", n.COLUMN_DROP = "column-drop", n))(R || {});
33
- const Xt = (n, e) => {
34
- const s = E(!1), t = E(void 0), i = n.value.reduce((C, p) => (C[p.field] = null, C), {}), l = le(i), _ = ae(l);
21
+ import { C as Bt } from "./chunks/cross.04678d81.js";
22
+ import { S as kt } from "./chunks/search.471270fe.js";
23
+ import { g as Wt } from "./chunks/unique-id.a2a2b458.js";
24
+ import { B as Vt } from "./chunks/directive.0408e565.js";
25
+ import { B as We, O as Ht } from "./chunks/index.9b669c12.js";
26
+ import { C as Zt } from "./chunks/copy.68a7d416.js";
27
+ import { BentoInfoIcon as jt } from "./info-icon.js";
28
+ import { A as Yt } from "./chunks/arrow-left.2db60716.js";
29
+ import { l as ye } from "./chunks/events.58c00e6d.js";
30
+ import { B as qt, a as Xt } from "./chunks/loading-button.44d698b9.js";
31
+ import "./assets/index8.css";
32
+ var ee = /* @__PURE__ */ ((n) => (n.WRAP = "wrap", n.ELLIPSIS = "ellipsis", n))(ee || {}), te = /* @__PURE__ */ ((n) => (n.OUTLINE = "outline", n.SCROLL = "scroll", n.STICKY_FILTERS = "sticky-filters", n))(te || {}), k = /* @__PURE__ */ ((n) => (n.ASCENDING = "asc", n.DESCENDING = "desc", n))(k || {}), L = /* @__PURE__ */ ((n) => (n.COLUMNS = "columns", n.COLUMN_RESIZE = "column-resize", n.ITEMS_PAGE = "items-page", n.NAVIGATE = "navigate", n.FILTER_SEARCH_INPUT = "filter-search-input", n.FILTER_SEARCH_CLEAR = "filter-search-clear", n.UPDATE_COLUMNS = "update:columns", n.UPDATE_CONDENSED = "update:condensed", n.UPDATE_FILTERS = "update:filters", n.UPDATE_FILTER_VALUES = "update:filter-values", n.UPDATE_FILTER_SEARCH_TERM = "update:filter-search-term", n.UPDATE_PAGINATION = "update:pagination", n.UPDATE_SELECTION = "update:selection", n.UPDATE_SHOW_MORE = "update:show-more", n.UPDATE_SORT_BY = "update:sort-by", n.ROW_CLICK = "row-click", n.SELECT = "select", n.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", n.SORT = "sort", n))(L || {}), se = /* @__PURE__ */ ((n) => (n.ASCENDING = "ascending", n.DESCENDING = "descending", n.NONE = "none", n))(se || {}), T = /* @__PURE__ */ ((n) => (n.COLUMN_RESIZE = "column-resize", n.COLUMN_RESIZING = "column-resizing", n.SORT = "sort", n.SELECT_ALL_ROWS = "select-all-rows", n.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", n.COLUMN_MOVE = "column-move", n.COLUMN_UPDATE = "column-update", n.COLUMN_MENU_OPEN = "column-menu-open", n.COLUMN_MENU_CLOSE = "column-menu-close", n.COLUMN_DRAG_START = "column-dragstart", n.COLUMN_DRAG_ENTER = "column-dragenter", n.COLUMN_DRAG_END = "column-dragend", n.COLUMN_DROP = "column-drop", n))(T || {});
33
+ const Kt = (n, e) => {
34
+ const s = E(!1), t = E(void 0), i = n.value.reduce((f, p) => (f[p.field] = null, f), {}), l = le(i), v = ae(l);
35
35
  let u = 0, m = "";
36
36
  const c = y(
37
- () => Object.fromEntries(n.value.map(({ field: C, width: p, minWidth: S }) => [C, { width: p, minWidth: S }]))
37
+ () => Object.fromEntries(n.value.map(({ field: f, width: p, minWidth: S }) => [f, { width: p, minWidth: S }]))
38
38
  );
39
- It(() => t.value = c.value);
39
+ Ot(() => t.value = c.value);
40
40
  let h = null, o = null;
41
- const T = (C) => {
42
- const p = C.clientX - u, S = m, g = t.value[S].width + p;
43
- t.value[S].width = g > c.value[S].minWidth ? g : c.value[S].minWidth, e(R.COLUMN_RESIZING, t.value), u = C.clientX;
41
+ const A = (f) => {
42
+ const p = f.clientX - u, S = m, _ = t.value[S].width + p;
43
+ t.value[S].width = _ > c.value[S].minWidth ? _ : c.value[S].minWidth, e(T.COLUMN_RESIZING, t.value), u = f.clientX;
44
44
  }, r = () => {
45
- s.value = !1, h == null || h(), o == null || o(), m && e(R.COLUMN_RESIZE, {
45
+ s.value = !1, h == null || h(), o == null || o(), m && e(T.COLUMN_RESIZE, {
46
46
  field: m,
47
47
  width: t.value[m].width
48
48
  }), h = null, o = null, m = "", u = null;
49
49
  };
50
- return { resizeData: t, allColumnRefs: _, startResize: (C, p, S) => {
51
- if (S.preventDefault(), C) {
50
+ return { resizeData: t, allColumnRefs: v, startResize: (f, p, S) => {
51
+ if (S.preventDefault(), f) {
52
52
  if (s.value = !0, S.buttons !== 1) {
53
53
  r();
54
54
  return;
55
55
  }
56
- m = p, u = S.clientX, h = Le(window, "mousemove", T), o = Le(window, "mouseup", r);
56
+ m = p, u = S.clientX, h = ye(window, "mousemove", A), o = ye(window, "mouseup", r);
57
57
  }
58
58
  }, isResizing: s };
59
- }, Kt = 100, Se = 50, V = "b-select", Jt = (n, e, s) => {
59
+ }, Jt = 100, be = 50, V = "b-select", Qt = (n, e, s) => {
60
60
  const t = {}, i = [], l = (u) => {
61
61
  const m = t[u];
62
62
  m && m.frozen !== !0 && (t[u].frozen = !0, i.push(u));
63
63
  };
64
- function _() {
64
+ function v() {
65
65
  if (i.length === s.length)
66
66
  return;
67
67
  const u = { min: {}, max: {} };
@@ -69,14 +69,14 @@ const Xt = (n, e) => {
69
69
  i.forEach((o) => {
70
70
  m -= t[o].computedWidth, c -= t[o].flex;
71
71
  });
72
- for (let o = 0, T = s.length; o < T; o += 1) {
72
+ for (let o = 0, A = s.length; o < A; o += 1) {
73
73
  const r = s[o];
74
74
  if (t[r.field] && t[r.field].frozen === !0)
75
75
  continue;
76
- let C = m / c * r.flex;
77
- C < r.minWidth && (h += r.minWidth - C, C = r.minWidth, u.min[r.field] = !0), t[r.field] = {
76
+ let f = m / c * r.flex;
77
+ f < r.minWidth && (h += r.minWidth - f, f = r.minWidth, u.min[r.field] = !0), t[r.field] = {
78
78
  frozen: !1,
79
- computedWidth: C,
79
+ computedWidth: f,
80
80
  flex: r.flex
81
81
  };
82
82
  }
@@ -84,71 +84,71 @@ const Xt = (n, e) => {
84
84
  l(o);
85
85
  }) : s.forEach(({ field: o }) => {
86
86
  l(o);
87
- }), _();
87
+ }), v();
88
88
  }
89
- return _(), t;
90
- }, Qt = (n, e, s, t, i) => {
91
- const l = E(n), _ = E(e), u = E(s), m = E(t), c = E(!1), h = E();
89
+ return v(), t;
90
+ }, es = (n, e, s, t, i) => {
91
+ const l = E(n), v = E(e), u = E(s), m = E(t), c = E(!1), h = E();
92
92
  let o = null;
93
- Ne(() => {
93
+ $e(() => {
94
94
  G(() => {
95
95
  u.value && (h.value = u.value.getBoundingClientRect().width);
96
- const g = B(
96
+ const _ = B(
97
97
  u,
98
98
  () => {
99
- u.value && (G(() => g()), o = ze(u.value, ({ width: A }) => {
100
- h.value = A;
99
+ u.value && (G(() => _()), o = Ge(u.value, ({ width: I }) => {
100
+ h.value = I;
101
101
  }));
102
102
  },
103
103
  { immediate: !0 }
104
104
  );
105
105
  });
106
- }), De(() => {
106
+ }), Me(() => {
107
107
  o == null || o.disconnect();
108
- }), Ot(() => {
109
- var g;
110
- m.value && ((g = Object.keys(m.value)) == null ? void 0 : g.length) > 0 && Object.keys(m.value).forEach((a) => {
108
+ }), wt(() => {
109
+ var _;
110
+ m.value && ((_ = Object.keys(m.value)) == null ? void 0 : _.length) > 0 && Object.keys(m.value).forEach((a) => {
111
111
  m.value[a] = [];
112
112
  });
113
113
  });
114
- const T = y(() => {
115
- const g = [];
116
- let A = 0, a = 0;
117
- const v = {};
118
- let b = l.value.filter((P) => P.visible !== !1);
114
+ const A = y(() => {
115
+ const _ = [];
116
+ let I = 0, a = 0;
117
+ const C = {};
118
+ let b = l.value.filter((N) => N.visible !== !1);
119
119
  i != null && i.hasSelectableColumn.value && (b = [
120
- { field: V, label: "", width: 40, padding: { left: !1, right: !1 } },
120
+ { field: V, label: "", width: 40, frozen: !0, padding: { left: !1, right: !1 } },
121
121
  ...b
122
- ]), b.forEach((P) => {
123
- const w = { ...P };
122
+ ]), b.forEach((N) => {
123
+ const w = { ...N };
124
124
  let x;
125
- w.flex && w.flex > 0 ? (A += w.flex, x = 0, g.push(w)) : x = Math.max(
126
- (w == null ? void 0 : w.width) ?? Kt,
127
- (w == null ? void 0 : w.minWidth) ?? Se
128
- ), a += x, w.width = x, w.minWidth = (w == null ? void 0 : w.minWidth) ?? Se, v[w.field] = w;
125
+ w.flex && w.flex > 0 ? (I += w.flex, x = 0, _.push(w)) : x = Math.max(
126
+ (w == null ? void 0 : w.width) ?? Jt,
127
+ (w == null ? void 0 : w.minWidth) ?? be
128
+ ), a += x, w.width = x, w.minWidth = (w == null ? void 0 : w.minWidth) ?? be, C[w.field] = w;
129
129
  });
130
130
  const O = Math.max(h.value - a, 0);
131
- if (A > 0 && h.value > 0) {
132
- const P = Jt(O, A, g);
133
- Object.keys(P).forEach((w) => {
134
- v[w].width = P[w].computedWidth;
131
+ if (I > 0 && h.value > 0) {
132
+ const N = Qt(O, I, _);
133
+ Object.keys(N).forEach((w) => {
134
+ C[w].width = N[w].computedWidth;
135
135
  });
136
136
  }
137
- return Object.values(v);
138
- }), r = E(void 0), f = (g) => {
139
- r.value = { ...r.value, ...g };
137
+ return Object.values(C);
138
+ }), r = E(void 0), g = (_) => {
139
+ r.value = { ...r.value, ..._ };
140
140
  };
141
- l.value.some((g) => g == null ? void 0 : g.autoWidth) && B(
142
- [() => l.value, () => _.value],
141
+ l.value.some((_) => _ == null ? void 0 : _.autoWidth) && B(
142
+ [() => l.value, () => v.value],
143
143
  async () => {
144
- c.value = !0, await G(), l == null || l.value.filter((g) => g == null ? void 0 : g.autoWidth).forEach(({ field: g, minWidth: A }) => {
145
- var v, b;
146
- const a = (b = (v = m.value) == null ? void 0 : v[g]) == null ? void 0 : b.reduce(
147
- (O, P) => Math.max(O, P != null && P.offsetWidth ? P.offsetWidth + 4 : 0),
144
+ c.value = !0, await G(), l == null || l.value.filter((_) => _ == null ? void 0 : _.autoWidth).forEach(({ field: _, minWidth: I }) => {
145
+ var C, b;
146
+ const a = (b = (C = m.value) == null ? void 0 : C[_]) == null ? void 0 : b.reduce(
147
+ (O, N) => Math.max(O, N != null && N.offsetWidth ? N.offsetWidth + 4 : 0),
148
148
  0
149
149
  );
150
- (A === void 0 || a > A) && f({
151
- [g]: {
150
+ (I === void 0 || a > I) && g({
151
+ [_]: {
152
152
  width: a
153
153
  }
154
154
  });
@@ -156,42 +156,42 @@ const Xt = (n, e) => {
156
156
  },
157
157
  { immediate: !0 }
158
158
  );
159
- const C = y(
160
- () => T.value.map((g) => {
161
- var A, a;
159
+ const f = y(
160
+ () => A.value.map((_) => {
161
+ var I, a;
162
162
  return {
163
- ...g,
163
+ ..._,
164
164
  // Override column width with resized ones
165
- width: ((a = (A = r.value) == null ? void 0 : A[g.field]) == null ? void 0 : a.width) ?? g.width
165
+ width: ((a = (I = r.value) == null ? void 0 : I[_.field]) == null ? void 0 : a.width) ?? _.width
166
166
  };
167
167
  })
168
- ), p = y(() => C.value.reduce((g, A) => A.width + g, 0)), S = y(() => ({
168
+ ), p = y(() => f.value.reduce((_, I) => I.width + _, 0)), S = y(() => ({
169
169
  width: h.value > p.value ? "100%" : "fit-content"
170
170
  }));
171
- return { columnDefs: C, gridColumnWidthStyle: S, onColumnWidthOverride: f, isMeasuringColumnWidths: c };
172
- }, es = (n, e, s, t, i) => {
173
- const l = E(n.value ?? []), _ = le({
171
+ return { columnDefs: f, gridColumnWidthStyle: S, onColumnWidthOverride: g, isMeasuringColumnWidths: c };
172
+ }, ts = (n, e, s, t, i) => {
173
+ const l = E(n.value ?? []), v = le({
174
174
  allItemsSelected: !1,
175
175
  isIndeterminate: !1
176
176
  }), u = () => {
177
177
  e(L.SELECT, l.value), e(L.UPDATE_SELECTION, l.value);
178
178
  }, m = (o) => {
179
- var r, f, C, p, S;
180
- if (l.value = o, ((r = s.value) == null ? void 0 : r.length) > 0 && ((f = s.value) == null ? void 0 : f.filter((g) => !i(g)).every((g) => l.value.includes(t(g))))) {
181
- _.allItemsSelected = !0;
182
- const g = ((C = s.value) == null ? void 0 : C.length) > 0 && s.value.every((A) => l.value.includes(t(A)));
183
- _.isIndeterminate = !g;
179
+ var r, g, f, p, S;
180
+ if (l.value = o, ((r = s.value) == null ? void 0 : r.length) > 0 && ((g = s.value) == null ? void 0 : g.filter((_) => !i(_)).every((_) => l.value.includes(t(_))))) {
181
+ v.allItemsSelected = !0;
182
+ const _ = ((f = s.value) == null ? void 0 : f.length) > 0 && s.value.every((I) => l.value.includes(t(I)));
183
+ v.isIndeterminate = !_;
184
184
  } else
185
- _.allItemsSelected = !1, _.isIndeterminate = ((p = l.value) == null ? void 0 : p.length) > 0 && ((S = s.value) == null ? void 0 : S.length) > 0 && s.value.some((g) => l.value.includes(t(g)));
185
+ v.allItemsSelected = !1, v.isIndeterminate = ((p = l.value) == null ? void 0 : p.length) > 0 && ((S = s.value) == null ? void 0 : S.length) > 0 && s.value.some((_) => l.value.includes(t(_)));
186
186
  }, c = (o) => {
187
187
  G(() => {
188
- var T, r, f;
189
- if (_.allItemsSelected = o, o) {
190
- l.value = (r = (T = s.value) == null ? void 0 : T.filter((p) => !i(p))) == null ? void 0 : r.map((p) => t(p));
191
- const C = ((f = s.value) == null ? void 0 : f.length) > 0 && s.value.every((p) => l.value.includes(t(p)));
192
- _.isIndeterminate = l.value.length > 0 && !C;
188
+ var A, r, g;
189
+ if (v.allItemsSelected = o, o) {
190
+ l.value = (r = (A = s.value) == null ? void 0 : A.filter((p) => !i(p))) == null ? void 0 : r.map((p) => t(p));
191
+ const f = ((g = s.value) == null ? void 0 : g.length) > 0 && s.value.every((p) => l.value.includes(t(p)));
192
+ v.isIndeterminate = l.value.length > 0 && !f;
193
193
  } else
194
- l.value = [], _.isIndeterminate = !1;
194
+ l.value = [], v.isIndeterminate = !1;
195
195
  u();
196
196
  });
197
197
  }, h = (o) => {
@@ -210,10 +210,10 @@ const Xt = (n, e) => {
210
210
  () => {
211
211
  m(l.value);
212
212
  }
213
- ), { onAllRowSelect: c, onRowSelect: h, allItemsSelectedState: _, selectedItems: l };
214
- }, ts = (n, e, s) => ({ conditionalSortDirectionClasses: (l, _) => ({
213
+ ), { onAllRowSelect: c, onRowSelect: h, allItemsSelectedState: v, selectedItems: l };
214
+ }, ss = (n, e, s) => ({ conditionalSortDirectionClasses: (l, v) => ({
215
215
  "b-data-grid-columns__column-sort-icon--sorted": n.value.some(
216
- (u) => u.field === l && u.direction === _
216
+ (u) => u.field === l && u.direction === v
217
217
  )
218
218
  }), sortByColumnField: (l) => {
219
219
  var m;
@@ -223,101 +223,101 @@ const Xt = (n, e) => {
223
223
  field: l,
224
224
  direction: ((m = n.value.find((c) => c.field === l)) == null ? void 0 : m.direction) === k.ASCENDING ? k.DESCENDING : k.ASCENDING
225
225
  }];
226
- s(R.SORT, u);
226
+ s(T.SORT, u);
227
227
  } });
228
228
  var M = ((n) => (n[n.ARROW_DOWN = z.ARROW_DOWN] = "ARROW_DOWN", n[n.ARROW_UP = z.ARROW_UP] = "ARROW_UP", n[n.ARROW_LEFT = z.ARROW_LEFT] = "ARROW_LEFT", n[n.ARROW_RIGHT = z.ARROW_RIGHT] = "ARROW_RIGHT", n[n.PAGE_UP = z.PAGE_UP] = "PAGE_UP", n[n.PAGE_DOWN = z.PAGE_DOWN] = "PAGE_DOWN", n[n.END = z.END] = "END", n[n.HOME = z.HOME] = "HOME", n))(M || {});
229
- const ss = (n, e, s) => {
229
+ const ns = (n, e, s) => {
230
230
  const t = y(() => {
231
- const r = e.value.filter(({ visible: f }) => f !== !1);
231
+ const r = e.value.filter(({ visible: g }) => g !== !1);
232
232
  return s.value ? r.length + 1 : r.length;
233
233
  }), i = y(
234
- () => [...Object.values(n.value)].flat(1).sort((r, f) => {
235
- const C = Number(r.getAttribute("data-cellindex")), p = Number(f.getAttribute("data-cellindex"));
236
- return C > p ? 1 : p > C ? -1 : 0;
234
+ () => [...Object.values(n.value)].flat(1).sort((r, g) => {
235
+ const f = Number(r.getAttribute("data-cellindex")), p = Number(g.getAttribute("data-cellindex"));
236
+ return f > p ? 1 : p > f ? -1 : 0;
237
237
  })
238
- ), l = (r) => Math.floor(r / t.value), _ = (r, f, C) => {
239
- const p = i.value.length - 1, S = t.value - 1, g = l(r), A = r - t.value * g;
238
+ ), l = (r) => Math.floor(r / t.value), v = (r, g, f) => {
239
+ const p = i.value.length - 1, S = t.value - 1, _ = l(r), I = r - t.value * _;
240
240
  return {
241
- [M.PAGE_UP]: A,
242
- [M.PAGE_DOWN]: p - S + A,
243
- [M.END]: C ? p : t.value * g + S,
244
- [M.HOME]: C ? 0 : t.value * g
245
- }[f];
246
- }, u = (r, f) => {
241
+ [M.PAGE_UP]: I,
242
+ [M.PAGE_DOWN]: p - S + I,
243
+ [M.END]: f ? p : t.value * _ + S,
244
+ [M.HOME]: f ? 0 : t.value * _
245
+ }[g];
246
+ }, u = (r, g) => {
247
247
  const p = {
248
248
  [M.ARROW_DOWN]: t.value,
249
249
  [M.ARROW_UP]: -t.value,
250
250
  [M.ARROW_LEFT]: -1,
251
251
  [M.ARROW_RIGHT]: 1
252
- }[f], S = r + p;
252
+ }[g], S = r + p;
253
253
  return S < 0 || S >= i.value.length ? r : S;
254
254
  }, m = (r) => [
255
255
  M.PAGE_UP,
256
256
  M.PAGE_DOWN,
257
257
  M.END,
258
258
  M.HOME
259
- ].includes(r), c = (r, f, C) => {
259
+ ].includes(r), c = (r, g, f) => {
260
260
  const p = i.value.indexOf(r);
261
- return m(f) ? _(p, f, C) : u(p, f);
262
- }, h = (r, f, C) => {
261
+ return m(g) ? v(p, g, f) : u(p, g);
262
+ }, h = (r, g, f) => {
263
263
  if (!i.value.includes(r))
264
264
  return;
265
- const p = c(r, f, C);
265
+ const p = c(r, g, f);
266
266
  i.value[p].focus();
267
267
  }, o = (r) => r in M;
268
268
  return {
269
269
  isNavigationKeyCode: o,
270
270
  focusOnNextGridcell: h,
271
271
  navigationInput: (r) => {
272
- const { ctrlKey: f, keyCode: C, target: p } = r;
273
- Object.values(n.value).flat(1).includes(p) && o(C) && h(p, C, f);
272
+ const { ctrlKey: g, keyCode: f, target: p } = r;
273
+ Object.values(n.value).flat(1).includes(p) && o(f) && h(p, f, g);
274
274
  }
275
275
  };
276
- }, ns = (n, e, s, t) => {
277
- const i = E(n), l = E(e), _ = E(s), u = y(() => i.value !== "none"), m = y(() => i.value === "automatic"), c = () => {
276
+ }, is = (n, e, s, t) => {
277
+ const i = E(n), l = E(e), v = E(s), u = y(() => i.value !== "none"), m = y(() => i.value === "automatic"), c = () => {
278
278
  t(L.UPDATE_SHOW_MORE);
279
279
  };
280
280
  return B(
281
281
  () => l.value,
282
282
  () => {
283
283
  if (m.value) {
284
- const o = _.value.offsetHeight - l.value;
284
+ const o = v.value.offsetHeight - l.value;
285
285
  (o === 0 || o === 1) && c();
286
286
  }
287
287
  }
288
288
  ), { isLazyLoad: u, isInfiniteScroll: m, verticalScrollPosition: l, emitLazyLoadEvent: c };
289
- }, is = (n, e, s) => {
289
+ }, ls = (n, e, s) => {
290
290
  const t = E(n), i = E(e), l = le({
291
291
  dragging: null,
292
292
  dragToLeft: null,
293
293
  target: null
294
- }), _ = (r, f = 0) => {
295
- const C = t.value.findIndex((g) => g.field === r.field), p = C + f;
294
+ }), v = (r, g = 0) => {
295
+ const f = t.value.findIndex((_) => _.field === r.field), p = f + g;
296
296
  if (p < 0 || p > t.value.length - 1)
297
297
  return;
298
298
  const S = [...t.value];
299
- S.splice(p, 0, S.splice(C, 1)[0]), s(L.COLUMNS, S), s(L.UPDATE_COLUMNS, S);
300
- }, u = (r, f) => {
301
- l.dragging = r, f.dataTransfer.setData("text", ""), f.dataTransfer.dropEffect = "move";
302
- }, m = (r, f) => {
299
+ S.splice(p, 0, S.splice(f, 1)[0]), s(L.COLUMNS, S), s(L.UPDATE_COLUMNS, S);
300
+ }, u = (r, g) => {
301
+ l.dragging = r, g.dataTransfer.setData("text", ""), g.dataTransfer.dropEffect = "move";
302
+ }, m = (r, g) => {
303
303
  l.target = r;
304
- const C = f.currentTarget.getBoundingClientRect(), p = C.left + C.width / 2, S = f.clientX ?? 0;
304
+ const f = g.currentTarget.getBoundingClientRect(), p = f.left + f.width / 2, S = g.clientX ?? 0;
305
305
  l.dragToLeft = S <= p;
306
306
  }, c = (r) => {
307
- var f, C;
308
- if (((f = l.dragging) == null ? void 0 : f.field) !== r.field) {
307
+ var g, f;
308
+ if (((g = l.dragging) == null ? void 0 : g.field) !== r.field) {
309
309
  const p = t.value.findIndex((b) => {
310
310
  var O;
311
311
  return b.field === ((O = l.dragging) == null ? void 0 : O.field);
312
- }), S = t.value.findIndex((b) => b.field === r.field), g = l.dragToLeft ? S : S + 1, A = g > p ? g - 1 : g;
312
+ }), S = t.value.findIndex((b) => b.field === r.field), _ = l.dragToLeft ? S : S + 1, I = _ > p ? _ - 1 : _;
313
313
  let a = [...t.value];
314
314
  a.splice(
315
- A === -1 ? 0 : A,
315
+ I === -1 ? 0 : I,
316
316
  0,
317
317
  a.splice(p, 1)[0]
318
318
  );
319
- const v = t.value.findIndex((b) => !(b != null && b.frozen));
320
- ((C = l.dragging) == null ? void 0 : C.frozen) !== r.frozen && g !== v && (a = a.map(
319
+ const C = t.value.findIndex((b) => !(b != null && b.frozen));
320
+ ((f = l.dragging) == null ? void 0 : f.frozen) !== r.frozen && _ !== C && (a = a.map(
321
321
  (b) => {
322
322
  var O;
323
323
  return ((O = l.dragging) == null ? void 0 : O.field) === b.field ? { ...b, frozen: !!(r != null && r.frozen) } : b;
@@ -328,19 +328,19 @@ const ss = (n, e, s) => {
328
328
  }, h = () => {
329
329
  l.dragging = null, l.dragToLeft = null, l.target = null;
330
330
  }, o = y(() => i.value ? {
331
- [R.COLUMN_DRAG_START]: (r, f) => u(r, f),
332
- [R.COLUMN_DRAG_ENTER]: (r, f) => m(r, f),
333
- [R.COLUMN_DROP]: (r) => c(r),
334
- [R.COLUMN_DRAG_END]: () => h()
335
- } : {}), T = y(() => (r) => i.value ? {
336
- dragenter: (f) => {
337
- f.preventDefault(), m(r, f);
331
+ [T.COLUMN_DRAG_START]: (r, g) => u(r, g),
332
+ [T.COLUMN_DRAG_ENTER]: (r, g) => m(r, g),
333
+ [T.COLUMN_DROP]: (r) => c(r),
334
+ [T.COLUMN_DRAG_END]: () => h()
335
+ } : {}), A = y(() => (r) => i.value ? {
336
+ dragenter: (g) => {
337
+ g.preventDefault(), m(r, g);
338
338
  },
339
339
  drop: () => {
340
340
  c(r);
341
341
  },
342
- dragover: (f) => {
343
- f.preventDefault();
342
+ dragover: (g) => {
343
+ g.preventDefault();
344
344
  }
345
345
  } : {});
346
346
  return {
@@ -348,13 +348,13 @@ const ss = (n, e, s) => {
348
348
  draggingColumns: l,
349
349
  // Methods
350
350
  draggingEventsForColumns: o,
351
- draggingEventsForRowCell: T,
352
- onMoveColumnByOffset: _
351
+ draggingEventsForRowCell: A,
352
+ onMoveColumnByOffset: v
353
353
  };
354
- }, ls = (n, e) => {
354
+ }, as = (n, e) => {
355
355
  const s = E(n), t = y(
356
- () => [...s.value].sort((o, T) => o.frozen === T.frozen ? 0 : o.frozen ? -1 : 1)
357
- ), i = y(() => t.value.filter((o) => o.frozen)), l = y(() => t.value.filter((o) => !o.frozen)), _ = y(
356
+ () => [...s.value].sort((o, A) => o.frozen === A.frozen ? 0 : o.frozen ? -1 : 1)
357
+ ), i = y(() => t.value.filter((o) => o.frozen)), l = y(() => t.value.filter((o) => !o.frozen)), v = y(
358
358
  () => [
359
359
  { columnSet: i.value, id: "frozen", isFrozenColumns: !0 },
360
360
  { columnSet: l.value, id: "unfrozen" }
@@ -366,31 +366,31 @@ const ss = (n, e, s) => {
366
366
  };
367
367
  return {
368
368
  // Values
369
- columnSets: _,
369
+ columnSets: v,
370
370
  isOnlyOneVisibleColumn: u,
371
371
  sortedColumns: t,
372
372
  // Methods
373
373
  onConfigSettingsUpdate: m,
374
374
  onConfigSettingsColumnsUpdate: c,
375
375
  onConfigSettingsColumnUpdate: (o) => {
376
- const T = t.value.map(
376
+ const A = t.value.map(
377
377
  (r) => (r == null ? void 0 : r.field) === o.field ? o : r
378
378
  );
379
- c(T);
379
+ c(A);
380
380
  }
381
381
  };
382
- }, ye = (n, e) => {
382
+ }, Ee = (n, e) => {
383
383
  const s = E(0);
384
384
  let t = null;
385
385
  const i = () => {
386
386
  n != null && n.value && e.value && (s.value = n.value.offsetHeight);
387
387
  };
388
- return Ne(() => {
388
+ return $e(() => {
389
389
  G(() => {
390
390
  const l = B(
391
391
  n,
392
392
  () => {
393
- n != null && n.value && (G(() => l()), t = ze(n.value, () => {
393
+ n != null && n.value && (G(() => l()), t = Ge(n.value, () => {
394
394
  i();
395
395
  }));
396
396
  },
@@ -404,150 +404,151 @@ const ss = (n, e, s) => {
404
404
  { immediate: !0 }
405
405
  );
406
406
  });
407
- }), De(() => {
407
+ }), Me(() => {
408
408
  t == null || t.disconnect();
409
409
  }), s;
410
- }, as = (n, e, s) => {
411
- const t = E(0);
410
+ }, os = (n, e, s) => {
411
+ const t = E(0), i = E(!1);
412
412
  return B(
413
413
  () => t.value,
414
414
  () => {
415
- n.value.scrollLeft = t.value, e.value.scrollLeft = t.value;
415
+ n.value.scrollLeft = t.value, e.value.scrollLeft = t.value, i.value = !!t.value;
416
416
  }
417
417
  ), {
418
418
  // Values
419
419
  scrollLeftPosition: t,
420
+ isHorizontallyScrolling: i,
420
421
  // Methods
421
- updateScrollPosition: (_) => {
422
- t.value = _.target.scrollLeft, s.value = n.value.scrollHeight - _.target.scrollTop;
422
+ updateScrollPosition: (u) => {
423
+ t.value = u.target.scrollLeft, s.value = n.value.scrollHeight - u.target.scrollTop;
423
424
  },
424
- updateScrollPositionOnFrozenColumnsNavigation: (_) => {
425
- _.key !== "Tab" && _.key !== "ArrowRight" && _.key !== "ArrowLeft" || (_.preventDefault(), n.value.scrollLeft = 0, n.value.style.overflowX = "hidden", setTimeout(() => {
425
+ updateScrollPositionOnFrozenColumnsNavigation: (u) => {
426
+ u.key !== "Tab" && u.key !== "ArrowRight" && u.key !== "ArrowLeft" || (u.preventDefault(), n.value.scrollLeft = 0, n.value.style.overflowX = "hidden", setTimeout(() => {
426
427
  n.value.style.overflowX = "auto";
427
428
  }));
428
429
  }
429
430
  };
430
431
  };
431
- let be = 0;
432
- const os = {
432
+ let Re = 0;
433
+ const rs = {
433
434
  beforeCreate() {
434
- this.uuid = be.toString(), be += 1;
435
+ this.uuid = Re.toString(), Re += 1;
435
436
  }
436
437
  };
437
- var rs = function() {
438
+ var cs = function() {
438
439
  var e = this, s = e._self._c;
439
440
  return s("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? s("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), s("path", { attrs: { fill: "#00112C", d: "M8 4.75L3.5 10.75L12.5 10.75L8 4.75Z" } })]);
440
- }, cs = [], ds = /* @__PURE__ */ $(
441
- os,
441
+ }, ds = [], us = /* @__PURE__ */ $(
442
442
  rs,
443
443
  cs,
444
+ ds,
444
445
  !1,
445
446
  null,
446
447
  null,
447
448
  null,
448
449
  null
449
450
  );
450
- const us = ds.exports;
451
- let Ee = 0;
452
- const _s = {
451
+ const _s = us.exports;
452
+ let Te = 0;
453
+ const gs = {
453
454
  beforeCreate() {
454
- this.uuid = Ee.toString(), Ee += 1;
455
+ this.uuid = Te.toString(), Te += 1;
455
456
  }
456
457
  };
457
- var gs = function() {
458
+ var fs = function() {
458
459
  var e = this, s = e._self._c;
459
460
  return s("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? s("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), s("path", { attrs: { fill: "#00112C", d: "M8 11.25L12.5 5.25H3.5L8 11.25Z" } })]);
460
- }, fs = [], Cs = /* @__PURE__ */ $(
461
- _s,
461
+ }, Cs = [], vs = /* @__PURE__ */ $(
462
462
  gs,
463
463
  fs,
464
+ Cs,
464
465
  !1,
465
466
  null,
466
467
  null,
467
468
  null,
468
469
  null
469
470
  );
470
- const vs = Cs.exports;
471
- let Re = 0;
472
- const ms = {
471
+ const ms = vs.exports;
472
+ let Ae = 0;
473
+ const ps = {
473
474
  beforeCreate() {
474
- this.uuid = Re.toString(), Re += 1;
475
+ this.uuid = Ae.toString(), Ae += 1;
475
476
  }
476
477
  };
477
- var ps = function() {
478
+ var hs = function() {
478
479
  var e = this, s = e._self._c;
479
480
  return s("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? s("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), s("path", { attrs: { fill: "#00112C", 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" } })]);
480
- }, hs = [], Ls = /* @__PURE__ */ $(
481
- ms,
481
+ }, Ls = [], Ss = /* @__PURE__ */ $(
482
482
  ps,
483
483
  hs,
484
+ Ls,
484
485
  !1,
485
486
  null,
486
487
  null,
487
488
  null,
488
489
  null
489
490
  );
490
- const Ss = Ls.exports;
491
- let Te = 0;
492
- const ys = {
491
+ const ys = Ss.exports;
492
+ let Ie = 0;
493
+ const bs = {
493
494
  beforeCreate() {
494
- this.uuid = Te.toString(), Te += 1;
495
+ this.uuid = Ie.toString(), Ie += 1;
495
496
  }
496
497
  };
497
- var bs = function() {
498
+ var Es = function() {
498
499
  var e = this, s = e._self._c;
499
500
  return s("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? s("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), s("g", { attrs: { "clip-path": "url(#uia-icons-16-freeze__a" + e.uuid + ")" } }, [s("path", { attrs: { fill: "#00112C", 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" } })]), s("defs", [s("clipPath", { attrs: { id: "uia-icons-16-freeze__a" + e.uuid } }, [s("rect", { attrs: { width: "16", height: "16", fill: "#fff", transform: "matrix(1 0 0 -1 0 16)" } })])])]);
500
- }, Es = [], Rs = /* @__PURE__ */ $(
501
- ys,
501
+ }, Rs = [], Ts = /* @__PURE__ */ $(
502
502
  bs,
503
503
  Es,
504
+ Rs,
504
505
  !1,
505
506
  null,
506
507
  null,
507
508
  null,
508
509
  null
509
510
  );
510
- const ke = Rs.exports;
511
- let Ae = 0;
512
- const Ts = {
511
+ const Ve = Ts.exports;
512
+ let Oe = 0;
513
+ const As = {
513
514
  beforeCreate() {
514
- this.uuid = Ae.toString(), Ae += 1;
515
+ this.uuid = Oe.toString(), Oe += 1;
515
516
  }
516
517
  };
517
- var As = function() {
518
+ var Is = function() {
518
519
  var e = this, s = e._self._c;
519
520
  return s("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? s("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), s("path", { attrs: { fill: "#00112C", d: "M2.99035 14.0608L14.051 3.00011L12.9903 1.93945L1.92969 13.0001L2.99035 14.0608Z" } }), s("path", { attrs: { fill: "#00112C", 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" } }), s("path", { attrs: { fill: "#00112C", 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" } })]);
520
- }, Is = [], Os = /* @__PURE__ */ $(
521
- Ts,
521
+ }, Os = [], ws = /* @__PURE__ */ $(
522
522
  As,
523
523
  Is,
524
+ Os,
524
525
  !1,
525
526
  null,
526
527
  null,
527
528
  null,
528
529
  null
529
530
  );
530
- const ws = Os.exports;
531
- let Ie = 0;
532
- const Ps = {
531
+ const Ps = ws.exports;
532
+ let we = 0;
533
+ const Ns = {
533
534
  beforeCreate() {
534
- this.uuid = Ie.toString(), Ie += 1;
535
+ this.uuid = we.toString(), we += 1;
535
536
  }
536
537
  };
537
- var Ns = function() {
538
+ var Ds = function() {
538
539
  var e = this, s = e._self._c;
539
540
  return s("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? s("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), s("path", { attrs: { fill: "#00112C", 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" } }), s("path", { attrs: { fill: "#00112C", 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" } })]);
540
- }, Ds = [], $s = /* @__PURE__ */ $(
541
- Ps,
541
+ }, $s = [], Ms = /* @__PURE__ */ $(
542
542
  Ns,
543
543
  Ds,
544
+ $s,
544
545
  !1,
545
546
  null,
546
547
  null,
547
548
  null,
548
549
  null
549
550
  );
550
- const Ms = $s.exports, Us = {
551
+ const Us = Ms.exports, xs = {
551
552
  "en-US": {
552
553
  freezeColumn: "Freeze column",
553
554
  hideColumn: "Hide column",
@@ -559,16 +560,16 @@ const Ms = $s.exports, Us = {
559
560
  showColumn: "Show column",
560
561
  unfreezeColumn: "Unfreeze column"
561
562
  }
562
- }, xs = H({
563
- i18n: { messages: Us },
563
+ }, zs = H({
564
+ i18n: { messages: xs },
564
565
  name: "data-grid-columns",
565
566
  components: {
566
- BentoCheckbox: Me,
567
- BentoInfoIcon: Zt,
567
+ BentoCheckbox: xe,
568
+ BentoInfoIcon: jt,
568
569
  BentoTypography: oe,
569
- BentoMenu: Be,
570
- TriangleUp: us,
571
- TriangleDown: vs
570
+ BentoMenu: We,
571
+ TriangleUp: _s,
572
+ TriangleDown: ms
572
573
  },
573
574
  props: {
574
575
  /**
@@ -627,6 +628,13 @@ const Ms = $s.exports, Us = {
627
628
  type: Boolean,
628
629
  default: !1
629
630
  },
631
+ /**
632
+ * Show frozen columns separator
633
+ */
634
+ showFrozenColumnsSeparator: {
635
+ type: Boolean,
636
+ default: !1
637
+ },
630
638
  /**
631
639
  * The column all items selected state
632
640
  */
@@ -652,148 +660,151 @@ const Ms = $s.exports, Us = {
652
660
  }
653
661
  },
654
662
  emits: [
655
- R.COLUMN_RESIZE,
656
- R.COLUMN_RESIZING,
657
- R.SORT,
658
- R.SELECT_ALL_ROWS,
659
- R.SELECT_ALL_ACROSS_PAGES,
660
- R.COLUMN_DRAG_START,
661
- R.COLUMN_DRAG_ENTER,
662
- R.COLUMN_DROP,
663
- R.COLUMN_DRAG_END,
664
- R.COLUMN_MOVE,
665
- R.COLUMN_UPDATE,
666
- R.COLUMN_MENU_OPEN,
667
- R.COLUMN_MENU_CLOSE
663
+ T.COLUMN_RESIZE,
664
+ T.COLUMN_RESIZING,
665
+ T.SORT,
666
+ T.SELECT_ALL_ROWS,
667
+ T.SELECT_ALL_ACROSS_PAGES,
668
+ T.COLUMN_DRAG_START,
669
+ T.COLUMN_DRAG_ENTER,
670
+ T.COLUMN_DROP,
671
+ T.COLUMN_DRAG_END,
672
+ T.COLUMN_MOVE,
673
+ T.COLUMN_UPDATE,
674
+ T.COLUMN_MENU_OPEN,
675
+ T.COLUMN_MENU_CLOSE
668
676
  ],
669
677
  setup(n, { emit: e }) {
670
- const { t: s } = re(), { columns: t, sortBy: i } = ae(n), l = (a) => e(R.SELECT_ALL_ROWS, a), _ = (a) => a.field === V, u = y(() => [
678
+ const { t: s } = re(), { columns: t, sortBy: i } = ae(n), l = (a) => e(T.SELECT_ALL_ROWS, a), v = (a) => a.field === V, u = y(() => [
671
679
  {
672
680
  text: s("selectPage"),
673
681
  handler: () => l(!0)
674
682
  },
675
683
  {
676
684
  text: s("selectAll"),
677
- handler: () => e(R.SELECT_ALL_ACROSS_PAGES)
685
+ handler: () => e(T.SELECT_ALL_ACROSS_PAGES)
678
686
  }
679
- ]), { startResize: m, isResizing: c } = Xt(t, e), { conditionalSortDirectionClasses: h, sortByColumnField: o } = ts(i, t, e), T = (a) => {
687
+ ]), { startResize: m, isResizing: c } = Kt(t, e), { conditionalSortDirectionClasses: h, sortByColumnField: o } = ss(i, t, e), A = (a) => {
680
688
  var O;
681
689
  if (!a.sortable)
682
690
  return null;
683
- const v = (O = n.sortBy.find(({ field: P }) => P === a.field)) == null ? void 0 : O.direction;
684
- return v ? {
691
+ const C = (O = n.sortBy.find(({ field: N }) => N === a.field)) == null ? void 0 : O.direction;
692
+ return C ? {
685
693
  [k.ASCENDING]: se.ASCENDING,
686
694
  [k.DESCENDING]: se.DESCENDING
687
- }[v] : se.NONE;
695
+ }[C] : se.NONE;
688
696
  }, r = y(() => (a) => n.hasDraggableColumns ? {
689
- dragstart: (v) => {
690
- e(R.COLUMN_DRAG_START, a, v);
697
+ dragstart: (C) => {
698
+ e(T.COLUMN_DRAG_START, a, C);
691
699
  },
692
- dragover: (v) => {
693
- v.preventDefault();
700
+ dragover: (C) => {
701
+ C.preventDefault();
694
702
  },
695
- dragenter: (v) => {
696
- v.preventDefault(), e(R.COLUMN_DRAG_ENTER, a, v);
703
+ dragenter: (C) => {
704
+ C.preventDefault(), e(T.COLUMN_DRAG_ENTER, a, C);
697
705
  },
698
706
  drop: () => {
699
- e(R.COLUMN_DROP, a);
707
+ e(T.COLUMN_DROP, a);
700
708
  },
701
709
  dragend: () => {
702
- e(R.COLUMN_DRAG_END);
710
+ e(T.COLUMN_DRAG_END);
703
711
  }
704
- } : {}), f = y(() => (a) => [
712
+ } : {}), g = y(() => (a) => [
705
713
  {
706
714
  text: s("moveColumnLeft"),
707
- handler: () => e(R.COLUMN_MOVE, a, -1),
708
- icon: jt,
715
+ handler: () => e(T.COLUMN_MOVE, a, -1),
716
+ icon: Yt,
709
717
  disabled: n.columns[0].field === a.field
710
718
  },
711
719
  {
712
720
  text: s("moveColumnRight"),
713
- handler: () => e(R.COLUMN_MOVE, a, 1),
714
- icon: Ss,
721
+ handler: () => e(T.COLUMN_MOVE, a, 1),
722
+ icon: ys,
715
723
  disabled: n.columns[n.columns.length - 1].field === a.field
716
724
  },
717
725
  {
718
726
  text: a != null && a.frozen ? s("unfreezeColumn") : s("freezeColumn"),
719
- handler: () => e(R.COLUMN_UPDATE, { ...a, frozen: !(a != null && a.frozen) }),
720
- icon: ke
727
+ handler: () => e(T.COLUMN_UPDATE, { ...a, frozen: !(a != null && a.frozen) }),
728
+ icon: Ve
721
729
  },
722
730
  {
723
731
  text: (a == null ? void 0 : a.visible) !== !1 ? s("hideColumn") : s("showColumn"),
724
732
  handler: () => {
725
- e(R.COLUMN_UPDATE, {
733
+ e(T.COLUMN_UPDATE, {
726
734
  ...a,
727
735
  visible: (a == null ? void 0 : a.visible) === !1
728
736
  });
729
737
  },
730
- icon: (a == null ? void 0 : a.visible) !== !1 ? ws : Ms,
738
+ icon: (a == null ? void 0 : a.visible) !== !1 ? Ps : Us,
731
739
  disabled: (a == null ? void 0 : a.mandatory) || (a == null ? void 0 : a.visible) !== !1 && n.isOnlyOneVisibleColumn
732
740
  }
733
- ]), C = (a) => {
734
- let v = {};
735
- return _(a) || (v = {
741
+ ]), f = (a) => {
742
+ let C = {};
743
+ return v(a) || (C = {
736
744
  ...r.value(a)
737
- }), a.sortable && (v.click = () => o(a.field), v.keydown = (b) => {
745
+ }), a.sortable && (C.click = () => o(a.field), C.keydown = (b) => {
738
746
  b.keyCode === z.ENTER && o(a.field);
739
- }), v;
747
+ }), C;
740
748
  }, p = y(
741
749
  () => {
742
750
  var a;
743
- return (a = t.value[0]) != null && a.frozen ? { "b-data-grid-columns--frozen": !0 } : {
751
+ return (a = t.value[0]) != null && a.frozen ? {
752
+ "b-data-grid-columns--frozen": !0,
753
+ "b-data-grid-columns--frozen-separator": n.showFrozenColumnsSeparator
754
+ } : {
744
755
  "b-data-grid-columns--unfrozen": !0,
745
756
  "b-data-grid-columns--config-settings-margin": n.hasColumnPanel
746
757
  };
747
758
  }
748
- ), S = (a, v) => a && v === 0 ? he.BOTTOM_START : he.BOTTOM_END, g = (a) => {
749
- var v, b, O, P, w, x, W, X, Z, K;
759
+ ), S = (a, C) => a && C === 0 ? Se.BOTTOM_START : Se.BOTTOM_END, _ = (a) => {
760
+ var C, b, O, N, w, x, W, X, Z, K;
750
761
  return {
751
762
  "b-data-grid-columns__column--sortable": a.sortable,
752
- "b-data-grid-columns__column--padding-left-unset": ((v = a == null ? void 0 : a.padding) == null ? void 0 : v.left) === !1,
763
+ "b-data-grid-columns__column--padding-left-unset": ((C = a == null ? void 0 : a.padding) == null ? void 0 : C.left) === !1,
753
764
  "b-data-grid-columns__column--padding-right-unset": ((b = a == null ? void 0 : a.padding) == null ? void 0 : b.right) === !1,
754
765
  "b-data-grid-columns__column--numeric": a == null ? void 0 : a.numeric,
755
766
  "b-data-grid-columns__column--frozen": a == null ? void 0 : a.frozen,
756
- "b-data-grid-columns__column--is-re-ordering": (a == null ? void 0 : a.field) === ((P = (O = n.draggingColumns) == null ? void 0 : O.dragging) == null ? void 0 : P.field),
767
+ "b-data-grid-columns__column--is-re-ordering": (a == null ? void 0 : a.field) === ((N = (O = n.draggingColumns) == null ? void 0 : O.dragging) == null ? void 0 : N.field),
757
768
  "b-data-grid-columns__column--is-re-ordering-target-left": (a == null ? void 0 : a.field) === ((x = (w = n.draggingColumns) == null ? void 0 : w.target) == null ? void 0 : x.field) && ((W = n.draggingColumns) == null ? void 0 : W.dragToLeft),
758
769
  "b-data-grid-columns__column--is-re-ordering-target-right": (a == null ? void 0 : a.field) === ((Z = (X = n.draggingColumns) == null ? void 0 : X.target) == null ? void 0 : Z.field) && !((K = n.draggingColumns) != null && K.dragToLeft)
759
770
  };
760
- }, A = y(() => ({
771
+ }, I = y(() => ({
761
772
  "b-data-grid-columns__column-separator-container--is-resizeable": n.hasResizableColumns
762
773
  }));
763
774
  return {
764
775
  // Values
765
776
  DATAGRID_SELECT_FIELD_NAME: V,
766
777
  // Styles and classes
767
- conditionalColumnClasses: g,
768
- conditionalColumnSeparatorClasses: A,
778
+ conditionalColumnClasses: _,
779
+ conditionalColumnSeparatorClasses: I,
769
780
  conditionalColumnsClasses: p,
770
781
  // Selecting
771
- isSelectColumn: _,
782
+ isSelectColumn: v,
772
783
  onAllRowSelect: l,
773
784
  selectAllMenu: u,
774
785
  // Sorting
775
786
  conditionalSortDirectionClasses: h,
776
787
  sortByColumnField: o,
777
- getSortingColumnDirection: T,
788
+ getSortingColumnDirection: A,
778
789
  // Resizing
779
790
  startResize: m,
780
791
  isResizing: c,
781
792
  // Event handlers
782
- dataGridColumnEvents: C,
793
+ dataGridColumnEvents: f,
783
794
  // Dragging
784
795
  draggingEventsForColumn: r,
785
796
  // Contextual menu
786
- contextualMenuData: f,
797
+ contextualMenuData: g,
787
798
  computeMenuPosition: S,
788
799
  // Enums
789
800
  BentoDatagridSortDirection: k,
790
- DatagridColumnsEvent: R,
801
+ DatagridColumnsEvent: T,
791
802
  // Messages
792
803
  t: s
793
804
  };
794
805
  }
795
806
  });
796
- var zs = function() {
807
+ var Fs = function() {
797
808
  var e = this, s = e._self._c;
798
809
  return e._self._setupProxy, s("div", { staticClass: "b-data-grid-columns", class: e.conditionalColumnsClasses, attrs: { "data-testid": "data-grid-columns" } }, e._l(e.columns, function(t, i) {
799
810
  return s("div", e._g({ key: t.field, staticClass: "b-data-grid-columns__column", class: e.conditionalColumnClasses(t), style: { width: `${t.width}px` }, attrs: { "aria-colindex": i + 1, "aria-label": t.label, "aria-sort": e.getSortingColumnDirection(t), "data-testid": `${t.field}-column-header`, draggable: e.hasDraggableColumns && !e.isResizing && !e.isSelectColumn(t), role: "columnheader", tabindex: t.sortable ? "0" : "-1" } }, e.dataGridColumnEvents(t)), [e.isSelectColumn(t) ? s("div", { staticClass: "b-data-grid-columns__select-column" }, [s("bento-checkbox", { attrs: { "model-value": e.allItemsSelectedState.allItemsSelected, "data-testid": "checkbox-select-all", indeterminate: e.allItemsSelectedState.isIndeterminate, value: "data-grid-select-all" }, on: { "update:model-value": e.onAllRowSelect } }), e.selectableAcrossPages ? [s("bento-menu", { staticClass: "b-data-grid-columns__select-column-menu", attrs: { data: e.selectAllMenu, "menu-position": "bottom-start", "menu-fixed-positioning": "", button: { variant: "tertiary" } } }, [s("triangle-down", { attrs: { "svg-title": e.t("selectionMenu") } })], 1)] : e._e()], 2) : [s("bento-typography", { staticClass: "b-data-grid-columns__column-header", attrs: { el: "div", strongest: "" } }, [e._t(`head-${t.field}`, function() {
@@ -808,48 +819,48 @@ var zs = function() {
808
819
  l.stopPropagation();
809
820
  } } }, [!e.isFrozenColumns || e.isFrozenColumns && i !== e.columns.length - 1 ? s("div", { staticClass: "b-data-grid-columns__column-separator" }) : e._e()])]], 2);
810
821
  }), 0);
811
- }, Fs = [], Gs = /* @__PURE__ */ $(
812
- xs,
822
+ }, Gs = [], Bs = /* @__PURE__ */ $(
813
823
  zs,
814
824
  Fs,
825
+ Gs,
815
826
  !1,
816
827
  null,
817
- "0d8de668",
828
+ "5e73c453",
818
829
  null,
819
830
  null
820
831
  );
821
- const Bs = Gs.exports;
832
+ const ks = Bs.exports;
822
833
  var F = /* @__PURE__ */ ((n) => (n.CONFIG_SETTINGS = "config-settings", n.UPDATE_COLUMNS = "update:columns", n))(F || {});
823
- let Oe = 0;
824
- const ks = {
834
+ let Pe = 0;
835
+ const Ws = {
825
836
  beforeCreate() {
826
- this.uuid = Oe.toString(), Oe += 1;
837
+ this.uuid = Pe.toString(), Pe += 1;
827
838
  }
828
839
  };
829
- var Ws = function() {
840
+ var Vs = function() {
830
841
  var e = this, s = e._self._c;
831
842
  return s("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? s("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), s("g", { attrs: { fill: "#00112C", "clip-path": "url(#uia-icons-16-settings__a" + e.uuid + ")" } }, [s("path", { attrs: { 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" } }), s("path", { attrs: { 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" } })]), s("defs", [s("clipPath", { attrs: { id: "uia-icons-16-settings__a" + e.uuid } }, [s("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
832
- }, Vs = [], Hs = /* @__PURE__ */ $(
833
- ks,
843
+ }, Hs = [], Zs = /* @__PURE__ */ $(
834
844
  Ws,
835
845
  Vs,
846
+ Hs,
836
847
  !1,
837
848
  null,
838
849
  null,
839
850
  null,
840
851
  null
841
852
  );
842
- const Zs = Hs.exports, js = {
853
+ const js = Zs.exports, Ys = {
843
854
  "en-US": {
844
855
  toggleColumnVisibility: "Toggle {label} column visibility",
845
856
  toggleColumnFreeze: "Toggle {label} column freeze"
846
857
  }
847
- }, Ys = H({
848
- i18n: { messages: js },
858
+ }, qs = H({
859
+ i18n: { messages: Ys },
849
860
  name: "bento-data-grid",
850
861
  components: {
851
- BentoFreezeIcon: ke,
852
- BentoToggle: Ge
862
+ BentoFreezeIcon: Ve,
863
+ BentoToggle: ke
853
864
  },
854
865
  props: {
855
866
  /**
@@ -877,7 +888,7 @@ const Zs = Hs.exports, js = {
877
888
  return ((h = n.column) == null ? void 0 : h.visible) !== !1;
878
889
  }), l = () => {
879
890
  e("visible-column", { ...n.column, visible: !i.value });
880
- }, _ = () => {
891
+ }, v = () => {
881
892
  e("updated-column", { ...n.column, frozen: !t.value });
882
893
  }, u = () => {
883
894
  t.value || (s.value = !0);
@@ -896,26 +907,26 @@ const Zs = Hs.exports, js = {
896
907
  toggleColumnVisibility: l,
897
908
  showFreezeIcon: u,
898
909
  hideFreezeIcon: m,
899
- toggleColumnFreeze: _
910
+ toggleColumnFreeze: v
900
911
  };
901
912
  }
902
913
  });
903
- var qs = function() {
914
+ var Xs = function() {
904
915
  var e = this, s = e._self._c;
905
916
  return e._self._setupProxy, s("div", { staticClass: "b-data-grid-config-settings-column-row", on: { mouseover: e.showFreezeIcon, mouseleave: e.hideFreezeIcon } }, [s("bento-toggle", { attrs: { "aria-label": e.$t("toggleColumnVisibility", { label: e.column.label }), disabled: e.isColumnVisibilityToggleDisabled, "label-position": "after", value: e.isColumnVisible }, on: { input: e.toggleColumnVisibility } }, [e._v(" " + e._s(e.column.label) + " ")]), s("bento-freeze-icon", { directives: [{ name: "show", rawName: "v-show", value: e.isColumnFrozen || e.isFreezeIconOptionShown, expression: "isColumnFrozen || isFreezeIconOptionShown" }], staticClass: "b-data-grid-config-settings-column-row__freeze-icon", class: e.freezeIconConditionalClasses, attrs: { "aria-label": e.$t("toggleColumnFreeze", { label: e.column.label }) }, nativeOn: { click: function(t) {
906
917
  return e.toggleColumnFreeze.apply(null, arguments);
907
918
  } } })], 1);
908
- }, Xs = [], Ks = /* @__PURE__ */ $(
909
- Ys,
919
+ }, Ks = [], Js = /* @__PURE__ */ $(
910
920
  qs,
911
921
  Xs,
922
+ Ks,
912
923
  !1,
913
924
  null,
914
925
  "246774cd",
915
926
  null,
916
927
  null
917
928
  );
918
- const Js = Ks.exports, Qs = {
929
+ const Qs = Js.exports, en = {
919
930
  "en-US": {
920
931
  closeConfigSettingsPanel: "Close configuration settings panel",
921
932
  configSettingsPanel: "Configuration settings Panel",
@@ -931,21 +942,21 @@ const Js = Ks.exports, Qs = {
931
942
  closeSearch: "Close search",
932
943
  noColumnsMatch: "No columns match this search"
933
944
  }
934
- }, en = H({
935
- i18n: { messages: Qs },
945
+ }, tn = H({
946
+ i18n: { messages: en },
936
947
  name: "bento-data-grid",
937
948
  components: {
938
- BentoCrossIcon: Gt,
939
- BentoPopover: xt,
940
- BentoSettingsIcon: Zs,
941
- BentoButton: Fe,
942
- BentoDataGridConfigSettingsConfigRow: Js,
943
- BentoSearchBar: zt,
944
- BentoSearchIcon: Bt,
945
- BentoToggle: Ge,
949
+ BentoCrossIcon: Bt,
950
+ BentoPopover: zt,
951
+ BentoSettingsIcon: js,
952
+ BentoButton: Be,
953
+ BentoDataGridConfigSettingsConfigRow: Qs,
954
+ BentoSearchBar: Ft,
955
+ BentoSearchIcon: kt,
956
+ BentoToggle: ke,
946
957
  BentoTypography: oe
947
958
  },
948
- directives: { BentoClickOutsideDirective: Wt },
959
+ directives: { BentoClickOutsideDirective: Vt },
949
960
  props: {
950
961
  /**
951
962
  * Column definitions
@@ -964,63 +975,63 @@ const Js = Ks.exports, Qs = {
964
975
  },
965
976
  emits: [F.CONFIG_SETTINGS, F.UPDATE_COLUMNS],
966
977
  setup(n, { emit: e }) {
967
- const s = E(null), t = kt("data-grid-config-settings-popover"), i = E(null), l = E(!1), _ = E(!0), u = E(""), m = $e(n, "columns"), c = E(!1), h = Ft(u, m), o = () => {
978
+ const s = E(null), t = Wt("data-grid-config-settings-popover"), i = E(null), l = E(!1), v = E(!0), u = E(""), m = Ue(n, "columns"), c = E(!1), h = Gt(u, m), o = () => {
968
979
  u.value = "";
969
- }, T = y(
970
- () => !n.columns.some((v) => v.visible === !1 && !v.mandatory)
980
+ }, A = y(
981
+ () => !n.columns.some((C) => C.visible === !1 && !C.mandatory)
971
982
  ), r = () => {
972
983
  o(), c.value = !c.value, c.value && G(() => {
973
- var v;
974
- return (v = i.value.bentoInputField) == null ? void 0 : v.focusInput();
975
- }), _.value = T.value;
976
- }, f = (v) => v.mandatory ?? !1, C = (v) => {
984
+ var C;
985
+ return (C = i.value.bentoInputField) == null ? void 0 : C.focusInput();
986
+ }), v.value = A.value;
987
+ }, g = (C) => C.mandatory ?? !1, f = (C) => {
977
988
  const b = n.columns.map((O) => ({
978
989
  ...O,
979
- visible: v.field === O.field ? v.visible : O.visible
990
+ visible: C.field === O.field ? C.visible : O.visible
980
991
  }));
981
992
  e(F.UPDATE_COLUMNS, b);
982
- }, p = (v) => {
983
- v ? e(
993
+ }, p = (C) => {
994
+ C ? e(
984
995
  F.UPDATE_COLUMNS,
985
996
  n.columns.map((b) => ({ ...b, visible: !0 }))
986
997
  ) : e(
987
998
  F.UPDATE_COLUMNS,
988
999
  n.columns.map((b) => ({ ...b, visible: (b == null ? void 0 : b.mandatory) === !0 }))
989
1000
  );
990
- }, S = (v) => {
1001
+ }, S = (C) => {
991
1002
  const b = n.columns.map((O) => ({
992
1003
  ...O,
993
- frozen: v.field === O.field ? !!(v != null && v.frozen) : !!(O != null && O.frozen)
1004
+ frozen: C.field === O.field ? !!(C != null && C.frozen) : !!(O != null && O.frozen)
994
1005
  }));
995
1006
  e(F.UPDATE_COLUMNS, b);
996
- }, g = (v) => {
997
- l.value = v, _.value = T.value;
1007
+ }, _ = (C) => {
1008
+ l.value = C, v.value = A.value;
998
1009
  };
999
1010
  return {
1000
1011
  // Values
1001
1012
  configSettingsButtonRef: s,
1002
1013
  popoverId: t,
1003
1014
  isConfigSettingsPanelOpen: l,
1004
- allColumnsVisbilityToggleState: _,
1015
+ allColumnsVisbilityToggleState: v,
1005
1016
  filteredColumnVisibilityColumns: h,
1006
1017
  searchTerm: u,
1007
1018
  isColumnVisibilityFilterShown: c,
1008
1019
  searchBarRef: i,
1009
1020
  DATAGRID_SELECT_FIELD_NAME: V,
1010
1021
  // Methods
1011
- setConfigSettingsPanelVisibility: g,
1012
- emitCondensedToggle: (v) => e(F.CONFIG_SETTINGS, v),
1022
+ setConfigSettingsPanelVisibility: _,
1023
+ emitCondensedToggle: (C) => e(F.CONFIG_SETTINGS, C),
1013
1024
  toggleAllColumnVisibility: p,
1014
1025
  clearAction: o,
1015
1026
  toggleColumnFilter: r,
1016
- emitVisibleColumns: C,
1027
+ emitVisibleColumns: f,
1017
1028
  emitFrozenColumns: S,
1018
- onClickOutside: () => g(!1),
1019
- isColumnVisibilityToggleDisabled: f
1029
+ onClickOutside: () => _(!1),
1030
+ isColumnVisibilityToggleDisabled: g
1020
1031
  };
1021
1032
  }
1022
1033
  });
1023
- var tn = function() {
1034
+ var sn = function() {
1024
1035
  var e = this, s = e._self._c;
1025
1036
  return e._self._setupProxy, s("div", { directives: [{ name: "bento-click-outside-directive", rawName: "v-bento-click-outside-directive", value: e.onClickOutside, expression: "onClickOutside" }], staticClass: "b-data-grid-config-settings" }, [s("div", { staticClass: "b-data-grid-config-settings__button-and-separator" }, [s("div", { staticClass: "b-data-grid-config-settings__column-separator" }), s("div", { ref: "configSettingsButtonRef", staticClass: "b-data-grid-config-settings__button-container" }, [s("bento-button", { attrs: { "aria-controls": e.isConfigSettingsPanelOpen ? e.popoverId : null, variant: "tertiary" }, on: { click: function(t) {
1026
1037
  return e.setConfigSettingsPanelVisibility(!e.isConfigSettingsPanelOpen);
@@ -1041,17 +1052,17 @@ var tn = function() {
1041
1052
  } } })], 1) : s("div", { staticClass: "b-data-grid-config-settings__column-visibility-show-all" }, [s("bento-toggle", { attrs: { "label-position": "after", value: e.allColumnsVisbilityToggleState }, on: { input: e.toggleAllColumnVisibility } }, [e._v(" " + e._s(e.$t("showAllColumns", { numberOfColumns: e.columns.length })) + " ")])], 1), s("div", { staticClass: "b-data-grid-config-settings__column-visibility-toggles" }, [e._l(e.filteredColumnVisibilityColumns, function(t) {
1042
1053
  return s("div", { key: t.field }, [t.field !== e.DATAGRID_SELECT_FIELD_NAME ? s("bento-data-grid-config-settings-config-row", { attrs: { column: t, "is-column-visibility-toggle-disabled": e.isColumnVisibilityToggleDisabled(t) }, on: { "visible-column": e.emitVisibleColumns, "updated-column": e.emitFrozenColumns } }) : e._e()], 1);
1043
1054
  }), e.filteredColumnVisibilityColumns.length === 0 ? s("bento-typography", { staticClass: "b-data-grid-config-settings__column-visibility-empty-search-message", attrs: { el: "span" } }, [e._v(" " + e._s(e.$t("noColumnsMatch")) + " ")]) : e._e()], 2)])]) : e._e()], 1);
1044
- }, sn = [], nn = /* @__PURE__ */ $(
1045
- en,
1055
+ }, nn = [], ln = /* @__PURE__ */ $(
1046
1056
  tn,
1047
1057
  sn,
1058
+ nn,
1048
1059
  !1,
1049
1060
  null,
1050
1061
  "86ff67f7",
1051
1062
  null,
1052
1063
  null
1053
1064
  );
1054
- const ln = nn.exports, We = {
1065
+ const an = ln.exports, He = {
1055
1066
  "en-US": {
1056
1067
  gettingYourData: "Getting your data",
1057
1068
  loading: "Loading",
@@ -1061,86 +1072,86 @@ const ln = nn.exports, We = {
1061
1072
  sortInactive: "{field} sort inactive",
1062
1073
  selectRow: "Select row"
1063
1074
  }
1064
- }, an = {
1065
- i18n: { messages: We }
1066
- }, on = /* @__PURE__ */ H({
1067
- ...an,
1075
+ }, on = {
1076
+ i18n: { messages: He }
1077
+ }, rn = /* @__PURE__ */ H({
1078
+ ...on,
1068
1079
  __name: "data-grid-lazy-load",
1069
1080
  props: {
1070
1081
  loading: { type: Boolean },
1071
1082
  isInfiniteScroll: { type: Boolean }
1072
1083
  },
1073
1084
  setup(n) {
1074
- return { __sfc: !0, BentoLoadingButton: Yt, BentoLoadingButtonState: qt, BentoLoadingIndicator: Ue, BentoDatagridEvent: L };
1085
+ return { __sfc: !0, BentoLoadingButton: qt, BentoLoadingButtonState: Xt, BentoLoadingIndicator: ze, BentoDatagridEvent: L };
1075
1086
  }
1076
1087
  });
1077
- var rn = function() {
1088
+ var cn = function() {
1078
1089
  var e = this, s = e._self._c, t = e._self._setupProxy;
1079
1090
  return s("div", { staticClass: "b-data-grid-lazy-load" }, [e.loading && e.isInfiniteScroll ? s(t.BentoLoadingIndicator) : e._e(), e.loading && !e.isInfiniteScroll ? s(t.BentoLoadingButton, { attrs: { variant: "secondary", state: t.BentoLoadingButtonState.LOADING } }, [e._v(e._s(e.$t("loading")))]) : e._e(), !e.loading && !e.isInfiniteScroll ? s(t.BentoLoadingButton, { attrs: { state: t.BentoLoadingButtonState.START, variant: "secondary" }, on: { click: function(i) {
1080
1091
  return e.$emit(t.BentoDatagridEvent.UPDATE_SHOW_MORE);
1081
1092
  } } }, [e._v(e._s(e.$t("showMore")))]) : e._e()], 1);
1082
- }, cn = [], dn = /* @__PURE__ */ $(
1083
- on,
1093
+ }, dn = [], un = /* @__PURE__ */ $(
1084
1094
  rn,
1085
1095
  cn,
1096
+ dn,
1086
1097
  !1,
1087
1098
  null,
1088
1099
  "434be84c",
1089
1100
  null,
1090
1101
  null
1091
1102
  );
1092
- const un = dn.exports;
1093
- let we = 0;
1094
- const _n = {
1103
+ const _n = un.exports;
1104
+ let Ne = 0;
1105
+ const gn = {
1095
1106
  beforeCreate() {
1096
- this.uuid = we.toString(), we += 1;
1107
+ this.uuid = Ne.toString(), Ne += 1;
1097
1108
  }
1098
1109
  };
1099
- var gn = function() {
1110
+ var fn = function() {
1100
1111
  var e = this, s = e._self._c;
1101
1112
  return s("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? s("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), s("path", { attrs: { fill: "#00112C", 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" } })]);
1102
- }, fn = [], Cn = /* @__PURE__ */ $(
1103
- _n,
1113
+ }, Cn = [], vn = /* @__PURE__ */ $(
1104
1114
  gn,
1105
1115
  fn,
1116
+ Cn,
1106
1117
  !1,
1107
1118
  null,
1108
1119
  null,
1109
1120
  null,
1110
1121
  null
1111
1122
  );
1112
- const vn = Cn.exports;
1113
- let Pe = 0;
1114
- const mn = {
1123
+ const mn = vn.exports;
1124
+ let De = 0;
1125
+ const pn = {
1115
1126
  beforeCreate() {
1116
- this.uuid = Pe.toString(), Pe += 1;
1127
+ this.uuid = De.toString(), De += 1;
1117
1128
  }
1118
1129
  };
1119
- var pn = function() {
1130
+ var hn = function() {
1120
1131
  var e = this, s = e._self._c;
1121
1132
  return s("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? s("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), s("path", { attrs: { fill: "#00112C", d: "M2.93933 11.9999L10.1893 4.74989H5.24999V3.24989H12.75V10.7499H11.25V5.81055L3.99999 13.0605L2.93933 11.9999Z" } })]);
1122
- }, hn = [], Ln = /* @__PURE__ */ $(
1123
- mn,
1133
+ }, Ln = [], Sn = /* @__PURE__ */ $(
1124
1134
  pn,
1125
1135
  hn,
1136
+ Ln,
1126
1137
  !1,
1127
1138
  null,
1128
1139
  null,
1129
1140
  null,
1130
1141
  null
1131
1142
  );
1132
- const Sn = Ln.exports, yn = {
1143
+ const yn = Sn.exports, bn = {
1133
1144
  "en-US": {
1134
1145
  copy: "Copy",
1135
1146
  edit: "Edit",
1136
1147
  open: "Open",
1137
1148
  more: "More"
1138
1149
  }
1139
- }, bn = {
1140
- i18n: { messages: yn },
1150
+ }, En = {
1151
+ i18n: { messages: bn },
1141
1152
  name: "data-grid-cell-actions"
1142
- }, En = /* @__PURE__ */ H({
1143
- ...bn,
1153
+ }, Rn = /* @__PURE__ */ H({
1154
+ ...En,
1144
1155
  props: {
1145
1156
  /**
1146
1157
  * Column definitions using 'key' to relate to data object.
@@ -1168,7 +1179,7 @@ const Sn = Ln.exports, yn = {
1168
1179
  setup(n) {
1169
1180
  const e = n, { t: s } = re(), t = y(() => {
1170
1181
  var c;
1171
- return ((c = e.cellActions) == null ? void 0 : c.length) > 2 && xe(
1182
+ return ((c = e.cellActions) == null ? void 0 : c.length) > 2 && Fe(
1172
1183
  "WARNING: BentoDataGrid Cell actions can only have a maximum of 2 actions, if you need more consider using the menuData property instead."
1173
1184
  ), e.cellActions.slice(0, 2);
1174
1185
  }), i = y(() => (c, h) => {
@@ -1191,10 +1202,10 @@ const Sn = Ln.exports, yn = {
1191
1202
  } : {}, getCopyText: (c) => {
1192
1203
  var h, o;
1193
1204
  return (c == null ? void 0 : c.getCopyData) !== void 0 ? c.getCopyData(e.rowDataItem, e.columnKey) : (o = (h = e.rowDataItem) == null ? void 0 : h[e.columnKey]) == null ? void 0 : o.toString();
1194
- }, shouldShowMenuIconRight: (c) => c.iconRight || ((c == null ? void 0 : c.variant) === "more" || (c == null ? void 0 : c.variant) === "open") && !c.isShort, shouldShowMenuIconLeft: (c) => c.iconLeft || (c == null ? void 0 : c.variant) === "more", BentoButton: Fe, BentoMenu: Be, Copy: Ht, Edit1Icon: vn, ExternalLinkIcon: Sn, OptionsVerticalIcon: Vt };
1205
+ }, shouldShowMenuIconRight: (c) => c.iconRight || ((c == null ? void 0 : c.variant) === "more" || (c == null ? void 0 : c.variant) === "open") && !c.isShort, shouldShowMenuIconLeft: (c) => c.iconLeft || (c == null ? void 0 : c.variant) === "more", BentoButton: Be, BentoMenu: We, Copy: Zt, Edit1Icon: mn, ExternalLinkIcon: yn, OptionsVerticalIcon: Ht };
1195
1206
  }
1196
1207
  });
1197
- var Rn = function() {
1208
+ var Tn = function() {
1198
1209
  var e = this, s = e._self._c, t = e._self._setupProxy;
1199
1210
  return s("Transition", { attrs: { name: "b-data-grid-cell-actions__animation", appear: "" } }, [s("div", { staticClass: "b-data-grid-cell-actions" }, [s("div", { staticClass: "b-data-grid-cell-actions__background-gradient" }), s("div", { staticClass: "b-data-grid-cell-actions__actions", attrs: { role: "group" } }, e._l(t.limitedRowCellActionsProps, function(i, l) {
1200
1211
  return s("div", { key: l, staticClass: "b-data-grid-cell-actions__action" }, [i.menuData ? s(t.BentoMenu, { attrs: { data: i.menuData, button: {
@@ -1218,21 +1229,21 @@ var Rn = function() {
1218
1229
  return [(i == null ? void 0 : i.variant) === "open" ? s(t.ExternalLinkIcon, { attrs: { "svg-title": t.getButtonTitle(i, !0) } }) : s(i.iconRight, { tag: "component", attrs: { "svg-title": i.title } })];
1219
1230
  }, proxy: !0 } : null], null, !0) }, t.generateButtonEvents(i)))], 1);
1220
1231
  }), 0)])]);
1221
- }, Tn = [], An = /* @__PURE__ */ $(
1222
- En,
1232
+ }, An = [], In = /* @__PURE__ */ $(
1223
1233
  Rn,
1224
1234
  Tn,
1235
+ An,
1225
1236
  !1,
1226
1237
  null,
1227
1238
  "bf15c0be",
1228
1239
  null,
1229
1240
  null
1230
1241
  );
1231
- const In = An.exports, On = Symbol("data-grid-template injection key"), wn = {
1232
- i18n: { messages: We },
1242
+ const On = In.exports, wn = Symbol("data-grid-template injection key"), Pn = {
1243
+ i18n: { messages: He },
1233
1244
  name: "bento-data-grid"
1234
- }, Pn = /* @__PURE__ */ H({
1235
- ...wn,
1245
+ }, Nn = /* @__PURE__ */ H({
1246
+ ...Pn,
1236
1247
  props: {
1237
1248
  /**
1238
1249
  * When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
@@ -1453,70 +1464,70 @@ const In = An.exports, On = Symbol("data-grid-template injection key"), wn = {
1453
1464
  L.SORT
1454
1465
  ],
1455
1466
  setup(n, { expose: e, emit: s }) {
1456
- const t = n, i = wt(), l = E(null), _ = E(), u = E(null), m = E(null), c = E(), h = E(null), { allowColumnDragAndDrop: o, columns: T, data: r, lazyLoadType: f, selectable: C, selection: p } = ae(t), { t: S } = re(), g = pe(
1457
- On,
1467
+ const t = n, i = Pt(), l = E(null), v = E(), u = E(null), m = E(null), c = E(), h = E(null), { allowColumnDragAndDrop: o, columns: A, data: r, lazyLoadType: g, selectable: f, selection: p } = ae(t), { t: S } = re(), _ = Le(
1468
+ wn,
1458
1469
  () => ({
1459
1470
  isDataGridTemplate: !1,
1460
1471
  stickyTabs: E(!1),
1461
1472
  tabsRef: E(null)
1462
1473
  })
1463
- ), { isDataGridTemplate: A, stickyTabs: a, tabsRef: v } = g(), b = y(() => t.fitContent || A ? 0 : null), { columnDefs: O, onColumnWidthOverride: P, gridColumnWidthStyle: w, isMeasuringColumnWidths: x } = Qt(T, r, l, u, {
1464
- hasSelectableColumn: C
1465
- }), W = ye(v, a), X = y(
1474
+ ), { isDataGridTemplate: I, stickyTabs: a, tabsRef: C } = _(), b = y(() => t.fitContent || I ? 0 : null), { columnDefs: O, onColumnWidthOverride: N, gridColumnWidthStyle: w, isMeasuringColumnWidths: x } = es(A, r, l, u, {
1475
+ hasSelectableColumn: f
1476
+ }), W = Ee(C, a), X = y(
1466
1477
  () => t.stickyFilters ? `${W.value}px` : null
1467
- ), Z = ye(m, $e(t, "stickyFilters")), K = y(
1478
+ ), Z = Ee(m, Ue(t, "stickyFilters")), K = y(
1468
1479
  () => `${Z.value + W.value}px`
1469
1480
  ), {
1470
1481
  sortedColumns: ce,
1471
1482
  columnSets: ne,
1472
- isOnlyOneVisibleColumn: Ve,
1473
- onConfigSettingsUpdate: He,
1474
- onConfigSettingsColumnsUpdate: Ze,
1475
- onConfigSettingsColumnUpdate: je
1476
- } = ls(O, s), { draggingColumns: U, draggingEventsForColumns: Ye, draggingEventsForRowCell: de, onMoveColumnByOffset: qe } = is(ce, o, s), { onAllRowSelect: Xe, onRowSelect: Ke, selectedItems: J, allItemsSelectedState: Je } = es(
1483
+ isOnlyOneVisibleColumn: Ze,
1484
+ onConfigSettingsUpdate: je,
1485
+ onConfigSettingsColumnsUpdate: Ye,
1486
+ onConfigSettingsColumnUpdate: qe
1487
+ } = as(O, s), { draggingColumns: U, draggingEventsForColumns: Xe, draggingEventsForRowCell: de, onMoveColumnByOffset: Ke } = ls(ce, o, s), { onAllRowSelect: Je, onRowSelect: Qe, selectedItems: J, allItemsSelectedState: et } = ts(
1477
1488
  p,
1478
1489
  s,
1479
1490
  r,
1480
1491
  t.getDataItemId,
1481
1492
  t.isDataItemDisabled
1482
- ), { navigationInput: Qe } = ss(u, T, C), { isLazyLoad: ue, isInfiniteScroll: et, verticalScrollPosition: _e, emitLazyLoadEvent: tt } = ns(
1483
- f,
1493
+ ), { navigationInput: tt } = ns(u, A, f), { isLazyLoad: ue, isInfiniteScroll: st, verticalScrollPosition: _e, emitLazyLoadEvent: nt } = is(
1494
+ g,
1484
1495
  h,
1485
1496
  l,
1486
1497
  s
1487
- ), { updateScrollPosition: st, updateScrollPositionOnFrozenColumnsNavigation: ie } = as(
1488
- l,
1489
- _,
1490
- _e
1491
- ), ge = () => {
1498
+ ), { updateScrollPosition: it, updateScrollPositionOnFrozenColumnsNavigation: ie, isHorizontallyScrolling: ge } = os(l, v, _e), fe = () => {
1492
1499
  c.value.isClearAllVisible ? c.value.clearAllFilters() : c.value.isResetAllVisible && c.value.resetAllFilters();
1493
- }, nt = y(() => {
1494
- var d, I;
1500
+ }, lt = y(() => {
1501
+ var d, R;
1495
1502
  return {
1496
1503
  ...t.emptyState,
1497
- variant: ((d = t.emptyState) == null ? void 0 : d.variant) === "embedded" || ((I = t.emptyState) == null ? void 0 : I.variant) === "basic" ? t.emptyState.variant : "basic"
1504
+ variant: ((d = t.emptyState) == null ? void 0 : d.variant) === "embedded" || ((R = t.emptyState) == null ? void 0 : R.variant) === "basic" ? t.emptyState.variant : "basic"
1498
1505
  };
1499
- }), it = y(() => ({
1506
+ }), at = y(() => ({
1500
1507
  [`b-data-grid--${te.OUTLINE}`]: t.outline,
1501
1508
  [`b-data-grid--${te.SCROLL}`]: t.fitContent || ue.value,
1502
1509
  [`b-data-grid--${te.STICKY_FILTERS}`]: t.filters && t.stickyFilters
1503
- })), lt = y(() => ne.value.findIndex((d) => d.columnSet.length)), at = (d) => {
1504
- var I;
1510
+ })), ot = y(() => ne.value.findIndex((d) => d.columnSet.length)), rt = (d) => {
1511
+ var R;
1505
1512
  return {
1506
1513
  "b-data-grid__row--disabled": t.isDataItemDisabled(d),
1507
1514
  "b-data-grid__row--row-clicks-enabled": t.allowRowClicks,
1508
- "b-data-grid__cell--is-re-ordering": ((I = U.target) == null ? void 0 : I.field) !== void 0,
1515
+ "b-data-grid__cell--is-re-ordering": ((R = U.target) == null ? void 0 : R.field) !== void 0,
1509
1516
  "b-data-grid__row--highlighted": t.highlightedRows.includes(t.getDataItemId(d)) || J.value.includes(t.getDataItemId(d))
1510
1517
  };
1511
- }, ot = (d) => ({
1518
+ }, Ce = y(() => {
1519
+ const d = O.value.filter((P) => P.frozen);
1520
+ return !(t.selectable && d.length === 1) || ge.value;
1521
+ }), ct = (d) => ({
1512
1522
  "b-data-grid__row-cell-set--frozen": d,
1523
+ "b-data-grid__row-cell-set--frozen-separator": d && Ce.value,
1513
1524
  "b-data-grid__row-cell-set--unfrozen": !d,
1514
1525
  "b-data-grid__row-cell-set--config-settings-margin": !d && t.columnPanel
1515
- }), rt = (d) => {
1516
- var I, N, D, Y, q;
1526
+ }), dt = (d) => {
1527
+ var R, P, D, Y, q;
1517
1528
  return {
1518
- "b-data-grid__cell--padding-left-unset": ((I = d == null ? void 0 : d.padding) == null ? void 0 : I.left) === !1,
1519
- "b-data-grid__cell--padding-right-unset": ((N = d == null ? void 0 : d.padding) == null ? void 0 : N.right) === !1,
1529
+ "b-data-grid__cell--padding-left-unset": ((R = d == null ? void 0 : d.padding) == null ? void 0 : R.left) === !1,
1530
+ "b-data-grid__cell--padding-right-unset": ((P = d == null ? void 0 : d.padding) == null ? void 0 : P.right) === !1,
1520
1531
  "b-data-grid__cell--numeric": d == null ? void 0 : d.numeric,
1521
1532
  "b-data-grid__cell--condensed": t.condensed,
1522
1533
  "b-data-grid__cell--frozen": d == null ? void 0 : d.frozen,
@@ -1525,106 +1536,104 @@ const In = An.exports, On = Symbol("data-grid-template injection key"), wn = {
1525
1536
  "b-data-grid__cell--is-column-re-order-target-left": ((Y = U.target) == null ? void 0 : Y.field) === d.field && (U == null ? void 0 : U.dragToLeft),
1526
1537
  "b-data-grid__cell--is-column-re-order-target-right": ((q = U.target) == null ? void 0 : q.field) === d.field && !(U != null && U.dragToLeft)
1527
1538
  };
1528
- }, ct = y(() => {
1529
- var d, I, N, D, Y, q;
1539
+ }, ut = y(() => {
1540
+ var d, R, P, D, Y, q;
1530
1541
  return {
1531
- "b-data-grid__pagination--padding-left-unset": ((N = (I = (d = t.columns) == null ? void 0 : d[0]) == null ? void 0 : I.padding) == null ? void 0 : N.left) === !1,
1542
+ "b-data-grid__pagination--padding-left-unset": ((P = (R = (d = t.columns) == null ? void 0 : d[0]) == null ? void 0 : R.padding) == null ? void 0 : P.left) === !1,
1532
1543
  "b-data-grid__pagination--padding-right-unset": ((q = (Y = (D = t.columns) == null ? void 0 : D[t.columns.length - 1]) == null ? void 0 : Y.padding) == null ? void 0 : q.right) === !1,
1533
- "b-data-grid__pagination--sticky": !!t.stickyPagination || A
1534
- };
1535
- }), dt = y(() => {
1536
- var d;
1537
- return {
1538
- height: `${(d = _.value) == null ? void 0 : d.clientHeight}px`
1544
+ "b-data-grid__pagination--sticky": !!t.stickyPagination || I
1539
1545
  };
1540
- }), ut = (d, I) => (d == null ? void 0 : d.overflow) === ee.ELLIPSIS ? `${I}` : void 0, _t = (d) => d ?? "-", gt = (d, I, N) => {
1546
+ }), _t = (d, R) => (d == null ? void 0 : d.overflow) === ee.ELLIPSIS ? `${R}` : void 0, gt = (d) => d ?? "-", ft = (d, R, P) => {
1541
1547
  var D;
1542
- ((D = u.value) == null ? void 0 : D[I]) === void 0 && (u.value = { ...u.value, [I]: [] }), u.value[I][N] = d;
1543
- }, ft = (d, I) => {
1544
- t.allowRowClicks && s(L.ROW_CLICK, d, I);
1545
- }, Ct = y(() => !!t.selectableAcrossPages && !!t.pagination), vt = Dt({
1546
- label: i != null && i.header ? $t(i)("header") : null,
1548
+ ((D = u.value) == null ? void 0 : D[R]) === void 0 && (u.value = { ...u.value, [R]: [] }), u.value[R][P] = d;
1549
+ }, Ct = (d, R) => {
1550
+ t.allowRowClicks && s(L.ROW_CLICK, d, R);
1551
+ }, vt = y(() => !!t.selectableAcrossPages && !!t.pagination), mt = $t({
1552
+ label: i != null && i.header ? Mt(i)("header") : null,
1547
1553
  defaultFallback: "data grid"
1548
- }), mt = (d) => {
1554
+ }), pt = (d) => {
1549
1555
  if (!t.selectable)
1550
1556
  return null;
1551
- const I = t.getDataItemId(d);
1552
- return J.value.includes(I).toString();
1553
- }, fe = (d, I) => d + ne.value.length * I, pt = (d, I, N) => T.value.length * d + fe(I, N), Ce = y(() => {
1557
+ const R = t.getDataItemId(d);
1558
+ return J.value.includes(R).toString();
1559
+ }, ve = (d, R) => d + ne.value.length * R, ht = (d, R, P) => A.value.length * d + ve(R, P), me = y(() => {
1554
1560
  var d;
1555
1561
  return ((d = J.value) == null ? void 0 : d.length) ?? 0;
1556
- }), ht = y(() => t.bulkActions && Ce.value > 0), Lt = (d) => s(L.COLUMN_RESIZE, d), St = (d) => {
1562
+ }), Lt = y(() => t.bulkActions && me.value > 0), St = (d) => s(L.COLUMN_RESIZE, d), yt = (d) => {
1557
1563
  s(L.UPDATE_SORT_BY, d), s(L.SORT, d);
1558
- }, yt = (d) => {
1564
+ }, bt = (d, R) => {
1559
1565
  s(L.NAVIGATE, d), s(L.UPDATE_PAGINATION, {
1560
1566
  ...t.pagination,
1567
+ size: R,
1561
1568
  page: d
1562
1569
  });
1563
- }, bt = (d) => s(L.ITEMS_PAGE, d), Et = () => {
1570
+ }, Et = (d) => {
1571
+ s(L.ITEMS_PAGE, d);
1572
+ }, Rt = () => {
1564
1573
  s(L.FILTER_SEARCH_CLEAR);
1565
- }, Rt = (d) => {
1574
+ }, Tt = (d) => {
1566
1575
  s(L.UPDATE_FILTER_SEARCH_TERM, d), s(L.FILTER_SEARCH_INPUT, d);
1567
- }, j = E(), Tt = (d, I) => {
1568
- const N = {
1576
+ }, j = E(), At = (d, R) => {
1577
+ const P = {
1569
1578
  ...de.value(d)
1570
1579
  };
1571
- return d.frozen && (N.keyup = (D) => ie(D), N.keydown = (D) => ie(D)), d.cellActions && (N.mouseenter = () => {
1572
- j.value = { columnField: d.field, rowIndex: I };
1573
- }, N.mouseleave = () => {
1580
+ return d.frozen && (P.keyup = (D) => ie(D), P.keydown = (D) => ie(D)), d.cellActions && (P.mouseenter = () => {
1581
+ j.value = { columnField: d.field, rowIndex: R };
1582
+ }, P.mouseleave = () => {
1574
1583
  j.value = null;
1575
- }), N;
1576
- }, At = (d, I) => {
1577
- var N, D;
1578
- return ((N = j.value) == null ? void 0 : N.columnField) === d.field && ((D = j.value) == null ? void 0 : D.rowIndex) === I;
1579
- }, ve = y(() => T.value.some((d) => d.mandatory));
1580
- ve.value || xe(
1584
+ }), P;
1585
+ }, It = (d, R) => {
1586
+ var P, D;
1587
+ return ((P = j.value) == null ? void 0 : P.columnField) === d.field && ((D = j.value) == null ? void 0 : D.rowIndex) === R;
1588
+ }, pe = y(() => A.value.some((d) => d.mandatory));
1589
+ pe.value || Fe(
1581
1590
  "WARNING: At least one BentoDataGrid column should be set as mandatory to ensure data is always displayed correctly."
1582
1591
  );
1583
- const me = pe(Ut, () => null);
1584
- return me(t.tabTitle), e({ onEmptyStateClearResetButtonClick: ge }), { __sfc: !0, props: t, emit: s, slots: i, body: l, columnsRef: _, gridcellRefs: u, filtersRef: m, filterBarRef: c, verticalScrollPositionRef: h, allowColumnDragAndDrop: o, columns: T, data: r, lazyLoadType: f, selectable: C, selection: p, t: S, registerDatagridInDataGridTemplate: g, isDataGridTemplate: A, stickyTabs: a, tabsRef: v, computedColumnsTabIndex: b, columnDefs: O, onColumnWidthOverride: P, gridColumnWidthStyle: w, isMeasuringColumnWidths: x, stickyFiltersHeight: W, computedStickyFiltersTopPosition: X, columnHeadersHeight: Z, computedColumnHeadersTopPosition: K, sortedColumns: ce, columnSets: ne, isOnlyOneVisibleColumn: Ve, onConfigSettingsUpdate: He, onConfigSettingsColumnsUpdate: Ze, onConfigSettingsColumnUpdate: je, draggingColumns: U, draggingEventsForColumns: Ye, draggingEventsForRowCell: de, onMoveColumnByOffset: qe, onAllRowSelect: Xe, onRowSelect: Ke, selectedItems: J, allItemsSelectedState: Je, navigationInput: Qe, isLazyLoad: ue, isInfiniteScroll: et, verticalScrollPosition: _e, emitLazyLoadEvent: tt, updateScrollPosition: st, updateScrollPositionOnFrozenColumnsNavigation: ie, onEmptyStateClearResetButtonClick: ge, limitedEmptyStateProps: nt, conditionalGridClasses: it, computedColumnPanelAlignment: lt, conditionalRowClasses: at, conditionalRowSetClasses: ot, conditionalRowCellClasses: rt, conditionalPaginationClasses: ct, configSettingsButtonStyle: dt, conditionalTitleAttribute: ut, getRowData: _t, registerRowCellRef: gt, onRowClick: ft, selectableAcrossPagesComputed: Ct, ariaGridHeaderText: vt, getRowAriaSelectedValue: mt, getColIndex: fe, getCellindex: pt, itemsSelectedCounter: Ce, showActionBar: ht, onColumnResized: Lt, onSort: St, onPaginationNavigate: yt, onItemsPerPageChange: bt, onSearchTermCleared: Et, onSearchTermInput: Rt, gridcellMouseOverCell: j, gridcellEvents: Tt, shouldShowGridCellActions: At, hasMandatoryColumn: ve, setTitle: me, BentoActionBar: Pt, BentoCheckbox: Me, BentoPagination: Nt, BentoLoadingIndicator: Ue, BentoTypography: oe, BentoDataGridConfigSettings: ln, DataGridCellActions: In, DataGridColumns: Bs, DataGridLazyLoad: un, DATAGRID_SELECT_FIELD_NAME: V, BentoDatagridEvent: L, BentoEmptyState: Mt, BentoFilterBar: Q };
1592
+ const he = Le(xt, () => null);
1593
+ return he(t.tabTitle), e({ onEmptyStateClearResetButtonClick: fe }), { __sfc: !0, props: t, emit: s, slots: i, body: l, columnsRef: v, gridcellRefs: u, filtersRef: m, filterBarRef: c, verticalScrollPositionRef: h, allowColumnDragAndDrop: o, columns: A, data: r, lazyLoadType: g, selectable: f, selection: p, t: S, registerDatagridInDataGridTemplate: _, isDataGridTemplate: I, stickyTabs: a, tabsRef: C, computedColumnsTabIndex: b, columnDefs: O, onColumnWidthOverride: N, gridColumnWidthStyle: w, isMeasuringColumnWidths: x, stickyFiltersHeight: W, computedStickyFiltersTopPosition: X, columnHeadersHeight: Z, computedColumnHeadersTopPosition: K, sortedColumns: ce, columnSets: ne, isOnlyOneVisibleColumn: Ze, onConfigSettingsUpdate: je, onConfigSettingsColumnsUpdate: Ye, onConfigSettingsColumnUpdate: qe, draggingColumns: U, draggingEventsForColumns: Xe, draggingEventsForRowCell: de, onMoveColumnByOffset: Ke, onAllRowSelect: Je, onRowSelect: Qe, selectedItems: J, allItemsSelectedState: et, navigationInput: tt, isLazyLoad: ue, isInfiniteScroll: st, verticalScrollPosition: _e, emitLazyLoadEvent: nt, updateScrollPosition: it, updateScrollPositionOnFrozenColumnsNavigation: ie, isHorizontallyScrolling: ge, onEmptyStateClearResetButtonClick: fe, limitedEmptyStateProps: lt, conditionalGridClasses: at, computedColumnPanelAlignment: ot, conditionalRowClasses: rt, showFrozenColumnsSeparator: Ce, conditionalRowSetClasses: ct, conditionalRowCellClasses: dt, conditionalPaginationClasses: ut, conditionalTitleAttribute: _t, getRowData: gt, registerRowCellRef: ft, onRowClick: Ct, selectableAcrossPagesComputed: vt, ariaGridHeaderText: mt, getRowAriaSelectedValue: pt, getColIndex: ve, getCellindex: ht, itemsSelectedCounter: me, showActionBar: Lt, onColumnResized: St, onSort: yt, onPaginationNavigate: bt, onItemsPerPageChange: Et, onSearchTermCleared: Rt, onSearchTermInput: Tt, gridcellMouseOverCell: j, gridcellEvents: At, shouldShowGridCellActions: It, hasMandatoryColumn: pe, setTitle: he, BentoActionBar: Nt, BentoCheckbox: xe, BentoPagination: Dt, BentoLoadingIndicator: ze, BentoTypography: oe, BentoDataGridConfigSettings: an, DataGridCellActions: On, DataGridColumns: ks, DataGridLazyLoad: _n, DATAGRID_SELECT_FIELD_NAME: V, BentoDatagridEvent: L, BentoEmptyState: Ut, BentoFilterBar: Q };
1585
1594
  }
1586
1595
  });
1587
- var Nn = function() {
1596
+ var Dn = function() {
1588
1597
  var i;
1589
1598
  var e = this, s = e._self._c, t = e._self._setupProxy;
1590
- return s("div", { staticClass: "b-data-grid", class: t.conditionalGridClasses, attrs: { role: "grid", "aria-rowcount": t.data.length, "aria-colcount": t.columns.length, "aria-label": t.ariaGridHeaderText } }, [e.filters ? s("div", { ref: "filtersRef", staticClass: "b-data-grid__filters", style: { top: t.computedStickyFiltersTopPosition } }, [e.filters ? s(t.BentoFilterBar, { ref: "filterBarRef", attrs: { config: e.filters, "filter-values": e.filterValues, "search-term": e.filterSearchTerm }, on: { "search-input": t.onSearchTermInput, "search-clear": t.onSearchTermCleared, input: (l) => e.$emit(t.BentoDatagridEvent.UPDATE_FILTERS, l), "update:filter-values": (l) => e.$emit(t.BentoDatagridEvent.UPDATE_FILTER_VALUES, l) } }) : e._e()], 1) : e._e(), e.$slots.header ? s("div", { staticClass: "b-data-grid__header" }, [e._t("header")], 2) : e._e(), s("div", { staticClass: "b-data-grid__column-headers", style: { top: t.computedColumnHeadersTopPosition } }, [e.columnPanel ? s(t.BentoDataGridConfigSettings, { staticClass: "b-data-grid__config-settings", style: t.configSettingsButtonStyle, attrs: { columns: t.columns, condensed: e.condensed }, on: { "config-settings": t.onConfigSettingsUpdate, "update:columns": t.onConfigSettingsColumnsUpdate } }) : e._e(), s("div", { ref: "columnsRef", staticClass: "b-data-grid__columns-row", attrs: { role: "rowgroup", tabindex: t.computedColumnsTabIndex }, on: { scroll: t.updateScrollPosition } }, [s("div", { staticClass: "b-data-grid__columns", style: t.gridColumnWidthStyle, attrs: { role: "row" } }, [e._l(t.columnSets, function({ columnSet: l, id: _, isFrozenColumns: u }, m) {
1591
- return [l != null && l.length ? s(t.DataGridColumns, e._g({ key: `data-grid-columns-${_}`, attrs: { columns: l, "has-resizable-columns": e.hasResizableColumns, "sort-by": e.sortBy, "all-items-selected-state": t.allItemsSelectedState, "is-frozen-columns": u, "dragging-columns": t.draggingColumns, "has-draggable-columns": t.allowColumnDragAndDrop, "has-column-panel": e.columnPanel, "has-first-column-panel-right-aligned": m === t.computedColumnPanelAlignment, "is-only-one-visible-column": t.isOnlyOneVisibleColumn, "selectable-across-pages": t.selectableAcrossPagesComputed }, on: { "column-move": t.onMoveColumnByOffset, "column-update": t.onConfigSettingsColumnUpdate, "column-resize": t.onColumnResized, "column-resizing": t.onColumnWidthOverride, "select-all-rows": t.onAllRowSelect, "select-all-across-pages": function(c) {
1599
+ return s("div", { staticClass: "b-data-grid", class: t.conditionalGridClasses, attrs: { role: "grid", "aria-rowcount": t.data.length, "aria-colcount": t.columns.length, "aria-label": t.ariaGridHeaderText } }, [e.filters ? s("div", { ref: "filtersRef", staticClass: "b-data-grid__filters", style: { top: t.computedStickyFiltersTopPosition } }, [e.filters ? s(t.BentoFilterBar, { ref: "filterBarRef", attrs: { config: e.filters, "filter-values": e.filterValues, "search-term": e.filterSearchTerm }, on: { "search-input": t.onSearchTermInput, "search-clear": t.onSearchTermCleared, input: (l) => e.$emit(t.BentoDatagridEvent.UPDATE_FILTERS, l), "update:filter-values": (l) => e.$emit(t.BentoDatagridEvent.UPDATE_FILTER_VALUES, l) } }) : e._e()], 1) : e._e(), e.$slots.header ? s("div", { staticClass: "b-data-grid__header" }, [e._t("header")], 2) : e._e(), s("div", { staticClass: "b-data-grid__column-headers", style: { top: t.computedColumnHeadersTopPosition } }, [e.columnPanel ? s(t.BentoDataGridConfigSettings, { staticClass: "b-data-grid__config-settings", attrs: { columns: t.columns, condensed: e.condensed }, on: { "config-settings": t.onConfigSettingsUpdate, "update:columns": t.onConfigSettingsColumnsUpdate } }) : e._e(), s("div", { ref: "columnsRef", staticClass: "b-data-grid__columns-row", attrs: { role: "rowgroup", tabindex: t.computedColumnsTabIndex }, on: { scroll: t.updateScrollPosition } }, [s("div", { staticClass: "b-data-grid__columns", style: t.gridColumnWidthStyle, attrs: { role: "row" } }, [e._l(t.columnSets, function({ columnSet: l, id: v, isFrozenColumns: u }, m) {
1600
+ return [l != null && l.length ? s(t.DataGridColumns, e._g({ key: `data-grid-columns-${v}`, attrs: { columns: l, "has-resizable-columns": e.hasResizableColumns, "sort-by": e.sortBy, "all-items-selected-state": t.allItemsSelectedState, "is-frozen-columns": u, "show-frozen-columns-separator": t.showFrozenColumnsSeparator, "dragging-columns": t.draggingColumns, "has-draggable-columns": t.allowColumnDragAndDrop, "has-column-panel": e.columnPanel, "has-first-column-panel-right-aligned": m === t.computedColumnPanelAlignment, "is-only-one-visible-column": t.isOnlyOneVisibleColumn, "selectable-across-pages": t.selectableAcrossPagesComputed }, on: { "column-move": t.onMoveColumnByOffset, "column-update": t.onConfigSettingsColumnUpdate, "column-resize": t.onColumnResized, "column-resizing": t.onColumnWidthOverride, "select-all-rows": t.onAllRowSelect, "select-all-across-pages": function(c) {
1592
1601
  return t.emit(t.BentoDatagridEvent.SELECT_ALL_ACROSS_PAGES);
1593
1602
  }, sort: t.onSort }, scopedSlots: e._u([e._l(t.slots, function(c, h) {
1594
1603
  return { key: h, fn: function(o) {
1595
1604
  return [e._t(h, null, null, o)];
1596
1605
  } };
1597
1606
  })], null, !0) }, t.draggingEventsForColumns)) : e._e()];
1598
- })], 2)])], 1), s("div", { ref: "body", staticClass: "b-data-grid__body", attrs: { "data-testid": "data-grid-body", tabindex: e.loading ? "0" : "-1", "aria-busy": e.loading, "aria-live": "polite" }, on: { scroll: t.updateScrollPosition } }, [e.loading && !t.isLazyLoad ? s("div", { staticClass: "b-data-grid__loading" }, [s(t.BentoLoadingIndicator, { staticClass: "b-data-grid__loading-indicator", attrs: { large: "" } }), s(t.BentoTypography, { attrs: { el: "span", variant: "caption" } }, [e._v(e._s(t.t("gettingYourData")))])], 1) : ((i = t.data) == null ? void 0 : i.length) === 0 && e.emptyState ? s("div", { staticClass: "b-data-grid__empty-state" }, [s(t.BentoEmptyState, e._b({}, "bento-empty-state", t.limitedEmptyStateProps, !1))], 1) : s("div", { staticClass: "b-data-grid__rows", attrs: { role: "rowgroup" }, on: { keydown: t.navigationInput } }, e._l(t.data, function(l, _) {
1599
- return s("div", { key: _, staticClass: "b-data-grid__row", class: t.conditionalRowClasses(l), style: t.gridColumnWidthStyle, attrs: { role: "row", "aria-rowindex": _ + 1, "aria-selected": t.getRowAriaSelectedValue(l) }, on: { click: function(u) {
1607
+ })], 2)])], 1), s("div", { ref: "body", staticClass: "b-data-grid__body", attrs: { "data-testid": "data-grid-body", tabindex: e.loading ? "0" : "-1", "aria-busy": e.loading, "aria-live": "polite" }, on: { scroll: t.updateScrollPosition } }, [e.loading && !t.isLazyLoad ? s("div", { staticClass: "b-data-grid__loading" }, [s(t.BentoLoadingIndicator, { staticClass: "b-data-grid__loading-indicator", attrs: { large: "" } }), s(t.BentoTypography, { attrs: { el: "span", variant: "caption" } }, [e._v(e._s(t.t("gettingYourData")))])], 1) : ((i = t.data) == null ? void 0 : i.length) === 0 && e.emptyState ? s("div", { staticClass: "b-data-grid__empty-state" }, [s(t.BentoEmptyState, e._b({}, "bento-empty-state", t.limitedEmptyStateProps, !1))], 1) : s("div", { staticClass: "b-data-grid__rows", attrs: { role: "rowgroup" }, on: { keydown: t.navigationInput } }, e._l(t.data, function(l, v) {
1608
+ return s("div", { key: v, staticClass: "b-data-grid__row", class: t.conditionalRowClasses(l), style: t.gridColumnWidthStyle, attrs: { role: "row", "aria-rowindex": v + 1, "aria-selected": t.getRowAriaSelectedValue(l) }, on: { click: function(u) {
1600
1609
  return t.onRowClick(l, u);
1601
1610
  } } }, [e._l(t.columnSets, function({ columnSet: u, id: m, isFrozenColumns: c }, h) {
1602
- return [u != null && u.length ? s("div", { key: `data-grid-rows-${m}`, staticClass: "b-data-grid__cells", class: t.conditionalRowSetClasses(c), attrs: { "data-testid": `data-grid-${m}-rows` } }, e._l(u, function(o, T) {
1611
+ return [u != null && u.length ? s("div", { key: `data-grid-rows-${m}`, staticClass: "b-data-grid__cells", class: t.conditionalRowSetClasses(c), attrs: { "data-testid": `data-grid-${m}-rows` } }, e._l(u, function(o, A) {
1603
1612
  var r;
1604
- return s("div", e._g({ key: `cell-${o.field}`, ref: (f) => t.registerRowCellRef(f, o.field, _), refInFor: !0, staticClass: "b-data-grid__cell", class: t.conditionalRowCellClasses(o), style: {
1613
+ return s("div", e._g({ key: `cell-${o.field}`, ref: (g) => t.registerRowCellRef(g, o.field, v), refInFor: !0, staticClass: "b-data-grid__cell", class: t.conditionalRowCellClasses(o), style: {
1605
1614
  width: o.autoWidth && t.isMeasuringColumnWidths ? "auto" : `${o.width}px`
1606
- }, attrs: { "data-testid": `cell-${o.field}`, "data-cellindex": t.getCellindex(_, T, h), role: "gridcell", tabindex: t.getCellindex(_, T, h) === 0 ? "0" : "-1", "aria-colindex": t.getColIndex(T, h) + 1 } }, t.gridcellEvents(o, _)), [o.field !== t.DATAGRID_SELECT_FIELD_NAME ? [s(t.BentoTypography, { attrs: { el: "div" } }, [e._t(`item-${o.field}`, function() {
1615
+ }, attrs: { "data-testid": `cell-${o.field}`, "data-cellindex": t.getCellindex(v, A, h), role: "gridcell", tabindex: t.getCellindex(v, A, h) === 0 ? "0" : "-1", "aria-colindex": t.getColIndex(A, h) + 1 } }, t.gridcellEvents(o, v)), [o.field !== t.DATAGRID_SELECT_FIELD_NAME ? [s(t.BentoTypography, { attrs: { el: "div" } }, [e._t(`item-${o.field}`, function() {
1607
1616
  return [s("span", { attrs: { title: t.conditionalTitleAttribute(o, l[o.field]) } }, [e._v(e._s(t.getRowData(l[o.field])))])];
1608
- }, { item: l })], 2), ((r = o.cellActions) == null ? void 0 : r.length) > 0 ? s("div", { staticClass: "b-data-grid__cell-actions" }, [t.shouldShowGridCellActions(o, _) ? s(t.DataGridCellActions, { attrs: { "cell-actions": o.cellActions, "column-key": o.field, "row-data-item": l } }) : e._e()], 1) : e._e()] : [s(t.BentoCheckbox, { staticClass: "b-data-grid__select-cell", attrs: { "aria-label": t.t("selectRow"), "model-value": t.selectedItems, disabled: e.isDataItemDisabled(l), value: e.getDataItemId(l) }, on: { "update:model-value": t.onRowSelect } })]], 2);
1617
+ }, { item: l })], 2), ((r = o.cellActions) == null ? void 0 : r.length) > 0 ? s("div", { staticClass: "b-data-grid__cell-actions" }, [t.shouldShowGridCellActions(o, v) ? s(t.DataGridCellActions, { attrs: { "cell-actions": o.cellActions, "column-key": o.field, "row-data-item": l } }) : e._e()], 1) : e._e()] : [s(t.BentoCheckbox, { staticClass: "b-data-grid__select-cell", attrs: { "aria-label": t.t("selectRow"), "model-value": t.selectedItems, disabled: e.isDataItemDisabled(l), value: e.getDataItemId(l) }, on: { "update:model-value": t.onRowSelect } })]], 2);
1609
1618
  }), 0) : e._e()];
1610
1619
  })], 2);
1611
1620
  }), 0)]), t.isLazyLoad ? s(t.DataGridLazyLoad, { attrs: { loading: e.loading, "is-infinite-scroll": t.isInfiniteScroll }, on: { "update:show-more": t.emitLazyLoadEvent } }) : e._e(), e.pagination && !t.isLazyLoad ? s("div", { staticClass: "b-data-grid__pagination", class: t.conditionalPaginationClasses, attrs: { "data-testid": "pagination-container" } }, [s(t.BentoPagination, e._b({ attrs: { "aria-label": `${t.ariaGridHeaderText} navigation` }, on: { navigate: t.onPaginationNavigate, "items-page": t.onItemsPerPageChange } }, "bento-pagination", e.pagination, !1))], 1) : e._e(), e.$slots.footer ? s("div", { staticClass: "b-data-grid__footer" }, [e._t("footer")], 2) : e._e(), t.showActionBar ? s(t.BentoActionBar, { attrs: { actions: e.bulkActions, "item-counter": t.itemsSelectedCounter, "extra-bottom-spacing": e.stickyPagination }, on: { close: function(l) {
1612
1621
  return t.onAllRowSelect(!1);
1613
1622
  } } }) : e._e()], 1);
1614
- }, Dn = [], $n = /* @__PURE__ */ $(
1615
- Pn,
1623
+ }, $n = [], Mn = /* @__PURE__ */ $(
1616
1624
  Nn,
1617
1625
  Dn,
1626
+ $n,
1618
1627
  !1,
1619
1628
  null,
1620
- "78484540",
1629
+ "88f55fed",
1621
1630
  null,
1622
1631
  null
1623
1632
  );
1624
- const ui = $n.exports;
1633
+ const _i = Mn.exports;
1625
1634
  export {
1626
1635
  ee as BentoColumnOverflow,
1627
- ui as BentoDataGrid,
1636
+ _i as BentoDataGrid,
1628
1637
  se as BentoDatagridAriaSortValue,
1629
1638
  L as BentoDatagridEvent,
1630
1639
  k as BentoDatagridSortDirection,