@adyen/bento-vue2 1.7.0 → 1.8.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 (223) hide show
  1. package/dist/@types/components.d.ts +2 -0
  2. package/dist/@types/packages/core/src/components/button/button.types.d.ts +1 -1
  3. package/dist/@types/packages/vue2/src/components/action-bar/action-bar.vue.d.ts +11 -0
  4. package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +1 -1
  5. package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +7 -2
  6. package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +28 -18
  7. package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +25 -0
  8. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +13 -1
  9. package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +9 -0
  10. package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.types.d.ts +6 -2
  11. package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +153 -12
  12. package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.types.d.ts +1 -1
  13. package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +18 -0
  14. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +320 -21
  15. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +9 -0
  16. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +9 -0
  17. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +9 -0
  18. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +9 -0
  19. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +9 -0
  20. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +12 -3
  21. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +30 -24
  22. package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +1 -0
  23. package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +9 -0
  24. package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.types.d.ts +12 -0
  25. package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.vue.d.ts +11 -1
  26. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/composables/granular-min-max-date.d.ts +2 -0
  27. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/composables/granular-min-max-date.types.d.ts +13 -0
  28. package/dist/@types/packages/vue2/src/components/internal/calendar/composables/use-granularity-adjustments.d.ts +2 -0
  29. package/dist/@types/packages/vue2/src/components/internal/calendar/composables/use-granularity-adjustments.types.d.ts +14 -0
  30. package/dist/@types/packages/vue2/src/components/internal/calendar/composables/use-granularity-memory.d.ts +2 -0
  31. package/dist/@types/packages/vue2/src/components/internal/calendar/composables/use-granularity-memory.types.d.ts +22 -0
  32. package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +1 -1
  33. package/dist/@types/packages/vue2/src/components/internal/field-label/field-label.vue.d.ts +48 -0
  34. package/dist/@types/packages/vue2/src/components/internal/field-label/index.d.ts +1 -0
  35. package/dist/@types/packages/vue2/src/components/internal/grid-layout/grid-layout.vue.d.ts +11 -0
  36. package/dist/@types/packages/vue2/src/components/internal/index.d.ts +1 -0
  37. package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +2 -1
  38. package/dist/@types/packages/vue2/src/components/popover/popover.keys.d.ts +1 -0
  39. package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +16 -22
  40. package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +1 -0
  41. package/dist/@types/packages/vue2/src/components/structured-list/structured-list.keys.d.ts +1 -0
  42. package/dist/@types/packages/vue2/src/components/structured-list/structured-list.vue.d.ts +20 -1
  43. package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.types.d.ts +4 -4
  44. package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +9 -0
  45. package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +19 -2
  46. package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +4 -2
  47. package/dist/@types/packages/vue2/src/components/timeline/timeline.vue.d.ts +18 -2
  48. package/dist/@types/packages/vue2/src/index.d.ts +1 -0
  49. package/dist/accordion.js +1 -1
  50. package/dist/action-bar.js +112 -93
  51. package/dist/action-bar.js.map +1 -1
  52. package/dist/alert.js +1 -1
  53. package/dist/assets/base-modal.css +1 -1
  54. package/dist/assets/calendar.css +1 -1
  55. package/dist/assets/checkbox.css +1 -1
  56. package/dist/assets/controls-group.css +1 -1
  57. package/dist/assets/dropdown.css +1 -1
  58. package/dist/assets/field-label.css +1 -0
  59. package/dist/assets/grid-layout.css +1 -1
  60. package/dist/assets/index.css +1 -1
  61. package/dist/assets/index11.css +1 -1
  62. package/dist/assets/index12.css +1 -1
  63. package/dist/assets/index13.css +1 -1
  64. package/dist/assets/index14.css +1 -1
  65. package/dist/assets/index15.css +1 -1
  66. package/dist/assets/index16.css +1 -1
  67. package/dist/assets/index17.css +1 -1
  68. package/dist/assets/index18.css +1 -1
  69. package/dist/assets/index19.css +1 -1
  70. package/dist/assets/index2.css +1 -1
  71. package/dist/assets/index20.css +1 -1
  72. package/dist/assets/index21.css +1 -1
  73. package/dist/assets/index22.css +1 -1
  74. package/dist/assets/index23.css +1 -1
  75. package/dist/assets/index24.css +1 -1
  76. package/dist/assets/index25.css +1 -1
  77. package/dist/assets/index26.css +1 -1
  78. package/dist/assets/index27.css +1 -1
  79. package/dist/assets/index28.css +1 -1
  80. package/dist/assets/index29.css +1 -1
  81. package/dist/assets/index3.css +1 -1
  82. package/dist/assets/index30.css +1 -1
  83. package/dist/assets/index32.css +1 -1
  84. package/dist/assets/index33.css +1 -1
  85. package/dist/assets/index34.css +1 -1
  86. package/dist/assets/index35.css +1 -1
  87. package/dist/assets/index36.css +1 -1
  88. package/dist/assets/index37.css +1 -1
  89. package/dist/assets/index38.css +1 -1
  90. package/dist/assets/index39.css +1 -1
  91. package/dist/assets/index4.css +1 -1
  92. package/dist/assets/index40.css +1 -1
  93. package/dist/assets/index41.css +1 -1
  94. package/dist/assets/index42.css +1 -1
  95. package/dist/assets/index43.css +1 -1
  96. package/dist/assets/index44.css +1 -1
  97. package/dist/assets/index45.css +1 -1
  98. package/dist/assets/index5.css +1 -1
  99. package/dist/assets/index6.css +1 -1
  100. package/dist/assets/index7.css +1 -1
  101. package/dist/assets/index8.css +1 -1
  102. package/dist/assets/index9.css +1 -1
  103. package/dist/assets/loading-button.css +1 -1
  104. package/dist/avatar-image.js +1 -1
  105. package/dist/badge.js +1 -1
  106. package/dist/button.js +38 -35
  107. package/dist/button.js.map +1 -1
  108. package/dist/card.js +1 -1
  109. package/dist/checkbox.js +5 -5
  110. package/dist/chunks/{base-modal.88e7b9d4.js → base-modal.31634fe8.js} +60 -49
  111. package/dist/chunks/base-modal.31634fe8.js.map +1 -0
  112. package/dist/chunks/{button-actions-with-menu.a5413243.js → button-actions-with-menu.5faea13e.js} +5 -5
  113. package/dist/chunks/{button-actions-with-menu.a5413243.js.map → button-actions-with-menu.5faea13e.js.map} +1 -1
  114. package/dist/chunks/button.e09d5980.js.map +1 -1
  115. package/dist/chunks/calendar.47e9e755.js +959 -0
  116. package/dist/chunks/calendar.47e9e755.js.map +1 -0
  117. package/dist/chunks/{checkbox.5343e28e.js → checkbox.2277450e.js} +67 -56
  118. package/dist/chunks/checkbox.2277450e.js.map +1 -0
  119. package/dist/chunks/controls-group.6c5bfccd.js +79 -0
  120. package/dist/chunks/controls-group.6c5bfccd.js.map +1 -0
  121. package/dist/chunks/{copy.346eadb1.js → copy.a85c2e9f.js} +3 -3
  122. package/dist/chunks/{copy.346eadb1.js.map → copy.a85c2e9f.js.map} +1 -1
  123. package/dist/chunks/{dropdown.f1253a54.js → dropdown.ce937989.js} +200 -196
  124. package/dist/chunks/dropdown.ce937989.js.map +1 -0
  125. package/dist/chunks/field-label.330edb60.js +107 -0
  126. package/dist/chunks/field-label.330edb60.js.map +1 -0
  127. package/dist/chunks/{grid-layout.b7e0d964.js → grid-layout.a806acb2.js} +36 -27
  128. package/dist/chunks/grid-layout.a806acb2.js.map +1 -0
  129. package/dist/chunks/index.210d2169.js +290 -0
  130. package/dist/chunks/index.210d2169.js.map +1 -0
  131. package/dist/chunks/{index.8ac70774.js → index.66503760.js} +3 -3
  132. package/dist/chunks/{index.8ac70774.js.map → index.66503760.js.map} +1 -1
  133. package/dist/chunks/{index.2625175a.js → index.86fc63ca.js} +30 -28
  134. package/dist/chunks/{index.2625175a.js.map → index.86fc63ca.js.map} +1 -1
  135. package/dist/chunks/{index.a201f750.js → index.89942d3a.js} +4 -5
  136. package/dist/chunks/{index.a201f750.js.map → index.89942d3a.js.map} +1 -1
  137. package/dist/chunks/index.a5de5242.js +130 -0
  138. package/dist/chunks/index.a5de5242.js.map +1 -0
  139. package/dist/chunks/index.a99ffd48.js +634 -0
  140. package/dist/chunks/index.a99ffd48.js.map +1 -0
  141. package/dist/chunks/index.d80206ed.js +10 -0
  142. package/dist/chunks/index.d80206ed.js.map +1 -0
  143. package/dist/chunks/{index.37283390.js → index.d8bd7596.js} +96 -99
  144. package/dist/chunks/{index.37283390.js.map → index.d8bd7596.js.map} +1 -1
  145. package/dist/chunks/{listbox-option-tag.6a09e8e2.js → listbox-option-tag.97af47fc.js} +6 -7
  146. package/dist/chunks/{listbox-option-tag.6a09e8e2.js.map → listbox-option-tag.97af47fc.js.map} +1 -1
  147. package/dist/chunks/{listbox.73c38f38.js → listbox.d039b178.js} +5 -6
  148. package/dist/chunks/{listbox.73c38f38.js.map → listbox.d039b178.js.map} +1 -1
  149. package/dist/chunks/loading-button.9a9cbbad.js +89 -0
  150. package/dist/chunks/loading-button.9a9cbbad.js.map +1 -0
  151. package/dist/chunks/{tooltip.104e5fac.js → tooltip.ecd0f707.js} +2 -2
  152. package/dist/chunks/{tooltip.104e5fac.js.map → tooltip.ecd0f707.js.map} +1 -1
  153. package/dist/code-snippet.js +4 -4
  154. package/dist/code-snippet.js.map +1 -1
  155. package/dist/country.js +1 -1
  156. package/dist/data-grid.js +563 -541
  157. package/dist/data-grid.js.map +1 -1
  158. package/dist/date-picker.js +83 -80
  159. package/dist/date-picker.js.map +1 -1
  160. package/dist/date-range-picker.js +2 -2
  161. package/dist/divider.js +1 -1
  162. package/dist/dropdown.js +3 -3
  163. package/dist/empty-state.js +1 -1
  164. package/dist/filter-bar.js +13 -12
  165. package/dist/filter-bar.js.map +1 -1
  166. package/dist/focus-trap.js +1 -1
  167. package/dist/form-layout.js +1 -1
  168. package/dist/header.js +63 -67
  169. package/dist/header.js.map +1 -1
  170. package/dist/index.js +211 -209
  171. package/dist/index.js.map +1 -1
  172. package/dist/info-icon.js +3 -3
  173. package/dist/input-field.js +57 -55
  174. package/dist/input-field.js.map +1 -1
  175. package/dist/internal.js +13 -12
  176. package/dist/link.js +1 -1
  177. package/dist/loading-indicator.js +1 -1
  178. package/dist/menu.js +1 -1
  179. package/dist/modal.js +2 -2
  180. package/dist/modal.js.map +1 -1
  181. package/dist/pagination.js +2 -2
  182. package/dist/payment-method.js +1 -1
  183. package/dist/popover.js +3 -305
  184. package/dist/popover.js.map +1 -1
  185. package/dist/popper-container.js +1 -1
  186. package/dist/radio-group.js +3 -3
  187. package/dist/search-bar.js +2 -2
  188. package/dist/segmented-control.js +2 -2
  189. package/dist/sidepanel.js +2 -2
  190. package/dist/status.js +1 -1
  191. package/dist/stepper.js +1 -1
  192. package/dist/structured-list.js +1 -1
  193. package/dist/summary-grid.js +3 -3
  194. package/dist/summary-grid.js.map +1 -1
  195. package/dist/tabs.js +1 -1
  196. package/dist/tag.js +2 -2
  197. package/dist/textarea.js +59 -56
  198. package/dist/textarea.js.map +1 -1
  199. package/dist/timeline.js +226 -173
  200. package/dist/timeline.js.map +1 -1
  201. package/dist/toast.js +1 -1
  202. package/dist/toggle.js +1 -1
  203. package/dist/tutorial.js +7 -7
  204. package/dist/web-types.json +519 -393
  205. package/package.json +3 -3
  206. package/dist/@types/packages/vue2/src/components/modal/components/base-modal/__mocks__/base-modal.vue.d.ts +0 -118
  207. package/dist/assets/error-message.css +0 -1
  208. package/dist/chunks/base-modal.88e7b9d4.js.map +0 -1
  209. package/dist/chunks/calendar.24d0ac04.js +0 -821
  210. package/dist/chunks/calendar.24d0ac04.js.map +0 -1
  211. package/dist/chunks/checkbox.5343e28e.js.map +0 -1
  212. package/dist/chunks/controls-group.2a21bd83.js +0 -87
  213. package/dist/chunks/controls-group.2a21bd83.js.map +0 -1
  214. package/dist/chunks/dropdown.f1253a54.js.map +0 -1
  215. package/dist/chunks/error-message.8302a46c.js +0 -47
  216. package/dist/chunks/error-message.8302a46c.js.map +0 -1
  217. package/dist/chunks/grid-layout.b7e0d964.js.map +0 -1
  218. package/dist/chunks/index.d6b5f5e1.js +0 -112
  219. package/dist/chunks/index.d6b5f5e1.js.map +0 -1
  220. package/dist/chunks/index.e566354f.js +0 -532
  221. package/dist/chunks/index.e566354f.js.map +0 -1
  222. package/dist/chunks/loading-button.c65682d6.js +0 -86
  223. package/dist/chunks/loading-button.c65682d6.js.map +0 -1
package/dist/data-grid.js CHANGED
@@ -1,78 +1,50 @@
1
- import { ref as y, onMounted as he, nextTick as G, watch as B, onUnmounted as Se, reactive as ne, toRefs as se, computed as E, watchEffect as bt, onBeforeUpdate as ht, defineComponent as j, toRef as Le, inject as re } from "vue";
2
- import { o as ye } from "./chunks/resize.a041304d.js";
3
- import { u as St } from "./chunks/aria-label.ac9651a5.js";
4
- import { B as Ee } from "./chunks/checkbox.5343e28e.js";
5
- import { BentoPagination as Lt } from "./pagination.js";
1
+ import { ref as E, reactive as se, toRefs as ie, computed as L, watchEffect as St, onMounted as Se, nextTick as G, watch as B, onUnmounted as Le, onBeforeUpdate as Lt, defineComponent as j, toRef as ye, inject as de } from "vue";
2
+ import { BentoActionBar as yt } from "./action-bar.js";
3
+ import { B as Ee } from "./chunks/checkbox.2277450e.js";
4
+ import { BentoEmptyState as Et } from "./empty-state.js";
5
+ import { BentoFilterBar as K } from "./filter-bar.js";
6
6
  import { BentoLoadingIndicator as Re } from "./loading-indicator.js";
7
- import { B as ie, p as yt } from "./chunks/index.965ac1af.js";
8
- import { g as Et } from "./chunks/get-slot-text.c1114034.js";
9
- import { u as Te } from "./chunks/i18n.155748d6.js";
10
- import { BentoEmptyState as Rt } from "./empty-state.js";
11
- import { BentoFilterBar as J } from "./filter-bar.js";
12
- import { E as Tt } from "./chunks/tabs.keys.358742f2.js";
13
- import { BentoPopoverPositions as de, BentoPopover as Ot } from "./popover.js";
14
- import { a as It } from "./chunks/button.e09d5980.js";
7
+ import { BentoPagination as Rt } from "./pagination.js";
8
+ import { B as le, p as Tt } from "./chunks/index.965ac1af.js";
9
+ import { g as It } from "./chunks/get-slot-text.c1114034.js";
10
+ import { u as Ot } from "./chunks/aria-label.ac9651a5.js";
11
+ import { o as Te } from "./chunks/resize.a041304d.js";
12
+ import { u as Ie } from "./chunks/i18n.155748d6.js";
13
+ import { E as At } from "./chunks/tabs.keys.358742f2.js";
14
+ import { B as ce, a as wt } from "./chunks/index.210d2169.js";
15
+ import { a as Nt } from "./chunks/button.e09d5980.js";
15
16
  import { BentoToggle as Oe } from "./toggle.js";
16
- import { BentoSearchBar as At } from "./search-bar.js";
17
- import { u as Nt } from "./chunks/dropdown.f1253a54.js";
17
+ import { BentoSearchBar as Pt } from "./search-bar.js";
18
+ import { u as Ut } from "./chunks/dropdown.ce937989.js";
18
19
  import { n as M } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
19
- import { C as wt } from "./chunks/cross.a2cadac5.js";
20
- import { S as Pt } from "./chunks/search.a8055e95.js";
21
- import { g as Ut } from "./chunks/unique-id.a2a2b458.js";
22
- import { B as Dt } from "./chunks/directive.0408e565.js";
23
- import { BentoInfoIcon as Mt } from "./info-icon.js";
24
- import { B as $t } from "./chunks/index.37283390.js";
25
- import { K as x } from "./chunks/tooltip.104e5fac.js";
26
- import { A as zt } from "./chunks/arrow-left.1d5d08bd.js";
27
- import { l as ce } from "./chunks/events.58c00e6d.js";
28
- import { B as xt, a as Ft } from "./chunks/loading-button.c65682d6.js";
29
- import "./assets/index17.css";
30
- const ue = (t, e) => {
31
- const n = y(0);
32
- let s = null;
33
- const c = () => {
34
- t != null && t.value && e.value && (n.value = t.value.offsetHeight);
35
- };
36
- return he(() => {
37
- G(() => {
38
- const l = B(
39
- t,
40
- () => {
41
- t != null && t.value && (G(() => l()), s = ye(t.value, () => {
42
- c();
43
- }));
44
- },
45
- { immediate: !0 }
46
- );
47
- B(
48
- e,
49
- () => {
50
- e.value ? c() : n.value = 0;
51
- },
52
- { immediate: !0 }
53
- );
54
- });
55
- }), Se(() => {
56
- s == null || s.disconnect();
57
- }), n;
58
- };
59
- var K = /* @__PURE__ */ ((t) => (t.WRAP = "wrap", t.ELLIPSIS = "ellipsis", t))(K || {}), Q = /* @__PURE__ */ ((t) => (t.OUTLINE = "outline", t.SCROLL = "scroll", t.STICKY_FILTERS = "sticky-filters", t))(Q || {}), W = /* @__PURE__ */ ((t) => (t.ASCENDING = "asc", t.DESCENDING = "desc", t))(W || {}), m = /* @__PURE__ */ ((t) => (t.COLUMNS = "columns", t.COLUMN_RESIZE = "column-resize", t.ITEMS_PAGE = "items-page", t.NAVIGATE = "navigate", t.FILTER_SEARCH_INPUT = "filter-search-input", t.FILTER_SEARCH_CLEAR = "filter-search-clear", t.UPDATE_COLUMNS = "update:columns", t.UPDATE_CONDENSED = "update:condensed", t.UPDATE_FILTERS = "update:filters", t.UPDATE_FILTER_VALUES = "update:filter-values", t.UPDATE_FILTER_SEARCH_TERM = "update:filter-search-term", t.UPDATE_PAGINATION = "update:pagination", t.UPDATE_SELECTION = "update:selection", t.UPDATE_SHOW_MORE = "update:show-more", t.UPDATE_SORT_BY = "update:sort-by", t.ROW_CLICK = "row-click", t.SELECT = "select", t.SORT = "sort", t))(m || {}), ee = /* @__PURE__ */ ((t) => (t.ASCENDING = "ascending", t.DESCENDING = "descending", t.NONE = "none", t))(ee || {}), R = /* @__PURE__ */ ((t) => (t.COLUMN_RESIZE = "column-resize", t.COLUMN_RESIZING = "column-resizing", t.SORT = "sort", t.SELECT_ALL_ROWS = "select-all-rows", t.COLUMN_MOVE = "column-move", t.COLUMN_UPDATE = "column-update", t.COLUMN_MENU_OPEN = "column-menu-open", t.COLUMN_MENU_CLOSE = "column-menu-close", t.COLUMN_DRAG_START = "column-dragstart", t.COLUMN_DRAG_ENTER = "column-dragenter", t.COLUMN_DRAG_END = "column-dragend", t.COLUMN_DROP = "column-drop", t))(R || {});
60
- const Gt = (t, e) => {
61
- const n = y(!1), s = y(void 0), c = t.value.reduce((S, A) => (S[A.field] = null, S), {}), l = ne(c), C = se(l);
20
+ import { C as Dt } from "./chunks/cross.a2cadac5.js";
21
+ import { S as Mt } from "./chunks/search.a8055e95.js";
22
+ import { g as $t } from "./chunks/unique-id.a2a2b458.js";
23
+ import { B as zt } from "./chunks/directive.0408e565.js";
24
+ import { BentoInfoIcon as xt } from "./info-icon.js";
25
+ import { B as Ft } from "./chunks/index.d8bd7596.js";
26
+ import { K as x } from "./chunks/tooltip.ecd0f707.js";
27
+ import { A as Gt } from "./chunks/arrow-left.1d5d08bd.js";
28
+ import { l as ue } from "./chunks/events.58c00e6d.js";
29
+ import { B as Wt, a as kt } from "./chunks/loading-button.9a9cbbad.js";
30
+ import "./assets/index43.css";
31
+ var Q = /* @__PURE__ */ ((t) => (t.WRAP = "wrap", t.ELLIPSIS = "ellipsis", t))(Q || {}), ee = /* @__PURE__ */ ((t) => (t.OUTLINE = "outline", t.SCROLL = "scroll", t.STICKY_FILTERS = "sticky-filters", t))(ee || {}), W = /* @__PURE__ */ ((t) => (t.ASCENDING = "asc", t.DESCENDING = "desc", t))(W || {}), m = /* @__PURE__ */ ((t) => (t.COLUMNS = "columns", t.COLUMN_RESIZE = "column-resize", t.ITEMS_PAGE = "items-page", t.NAVIGATE = "navigate", t.FILTER_SEARCH_INPUT = "filter-search-input", t.FILTER_SEARCH_CLEAR = "filter-search-clear", t.UPDATE_COLUMNS = "update:columns", t.UPDATE_CONDENSED = "update:condensed", t.UPDATE_FILTERS = "update:filters", t.UPDATE_FILTER_VALUES = "update:filter-values", t.UPDATE_FILTER_SEARCH_TERM = "update:filter-search-term", t.UPDATE_PAGINATION = "update:pagination", t.UPDATE_SELECTION = "update:selection", t.UPDATE_SHOW_MORE = "update:show-more", t.UPDATE_SORT_BY = "update:sort-by", t.ROW_CLICK = "row-click", t.SELECT = "select", t.SORT = "sort", t))(m || {}), te = /* @__PURE__ */ ((t) => (t.ASCENDING = "ascending", t.DESCENDING = "descending", t.NONE = "none", t))(te || {}), R = /* @__PURE__ */ ((t) => (t.COLUMN_RESIZE = "column-resize", t.COLUMN_RESIZING = "column-resizing", t.SORT = "sort", t.SELECT_ALL_ROWS = "select-all-rows", t.COLUMN_MOVE = "column-move", t.COLUMN_UPDATE = "column-update", t.COLUMN_MENU_OPEN = "column-menu-open", t.COLUMN_MENU_CLOSE = "column-menu-close", t.COLUMN_DRAG_START = "column-dragstart", t.COLUMN_DRAG_ENTER = "column-dragenter", t.COLUMN_DRAG_END = "column-dragend", t.COLUMN_DROP = "column-drop", t))(R || {});
32
+ const Bt = (t, e) => {
33
+ const n = E(!1), s = E(void 0), d = t.value.reduce((S, A) => (S[A.field] = null, S), {}), a = se(d), C = ie(a);
62
34
  let _ = 0, g = "";
63
- const d = E(
35
+ const c = L(
64
36
  () => Object.fromEntries(t.value.map(({ field: S, width: A, minWidth: T }) => [S, { width: A, minWidth: T }]))
65
37
  );
66
- bt(() => s.value = d.value);
67
- let u = null, a = null;
68
- const b = (S) => {
38
+ St(() => s.value = c.value);
39
+ let u = null, o = null;
40
+ const h = (S) => {
69
41
  const A = S.clientX - _, T = g, v = s.value[T].width + A;
70
- s.value[T].width = v > d.value[T].minWidth ? v : d.value[T].minWidth, e(R.COLUMN_RESIZING, s.value), _ = S.clientX;
42
+ s.value[T].width = v > c.value[T].minWidth ? v : c.value[T].minWidth, e(R.COLUMN_RESIZING, s.value), _ = S.clientX;
71
43
  }, r = () => {
72
- n.value = !1, u == null || u(), a == null || a(), g && e(R.COLUMN_RESIZE, {
44
+ n.value = !1, u == null || u(), o == null || o(), g && e(R.COLUMN_RESIZE, {
73
45
  field: g,
74
46
  width: s.value[g].width
75
- }), u = null, a = null, g = "", _ = null;
47
+ }), u = null, o = null, g = "", _ = null;
76
48
  };
77
49
  return { resizeData: s, allColumnRefs: C, startResize: (S, A, T) => {
78
50
  if (T.preventDefault(), S) {
@@ -80,279 +52,279 @@ const Gt = (t, e) => {
80
52
  r();
81
53
  return;
82
54
  }
83
- g = A, _ = T.clientX, u = ce(window, "mousemove", b), a = ce(window, "mouseup", r);
55
+ g = A, _ = T.clientX, u = ue(window, "mousemove", h), o = ue(window, "mouseup", r);
84
56
  }
85
57
  }, isResizing: n };
86
- }, Wt = Gt, kt = 100, _e = 50, V = "b-select", Bt = (t, e, n) => {
87
- const s = {}, c = [], l = (_) => {
58
+ }, Vt = Bt, Ht = 100, _e = 50, V = "b-select", Zt = (t, e, n) => {
59
+ const s = {}, d = [], a = (_) => {
88
60
  const g = s[_];
89
- g && g.frozen !== !0 && (s[_].frozen = !0, c.push(_));
61
+ g && g.frozen !== !0 && (s[_].frozen = !0, d.push(_));
90
62
  };
91
63
  function C() {
92
- if (c.length === n.length)
64
+ if (d.length === n.length)
93
65
  return;
94
66
  const _ = { min: {}, max: {} };
95
- let g = t, d = e, u = 0;
96
- c.forEach((a) => {
97
- g -= s[a].computedWidth, d -= s[a].flex;
67
+ let g = t, c = e, u = 0;
68
+ d.forEach((o) => {
69
+ g -= s[o].computedWidth, c -= s[o].flex;
98
70
  });
99
- for (let a = 0, b = n.length; a < b; a += 1) {
100
- const r = n[a];
71
+ for (let o = 0, h = n.length; o < h; o += 1) {
72
+ const r = n[o];
101
73
  if (s[r.field] && s[r.field].frozen === !0)
102
74
  continue;
103
- let S = g / d * r.flex;
75
+ let S = g / c * r.flex;
104
76
  S < r.minWidth && (u += r.minWidth - S, S = r.minWidth, _.min[r.field] = !0), s[r.field] = {
105
77
  frozen: !1,
106
78
  computedWidth: S,
107
79
  flex: r.flex
108
80
  };
109
81
  }
110
- u > 0 ? Object.keys(_.min).forEach((a) => {
111
- l(a);
112
- }) : n.forEach(({ field: a }) => {
113
- l(a);
82
+ u > 0 ? Object.keys(_.min).forEach((o) => {
83
+ a(o);
84
+ }) : n.forEach(({ field: o }) => {
85
+ a(o);
114
86
  }), C();
115
87
  }
116
88
  return C(), s;
117
- }, Vt = (t, e, n, s, c) => {
118
- const l = y(t), C = y(e), _ = y(n), g = y(s), d = y(!1), u = y();
119
- let a = null;
120
- he(() => {
89
+ }, jt = (t, e, n, s, d) => {
90
+ const a = E(t), C = E(e), _ = E(n), g = E(s), c = E(!1), u = E();
91
+ let o = null;
92
+ Se(() => {
121
93
  G(() => {
122
94
  _.value && (u.value = _.value.getBoundingClientRect().width);
123
95
  const v = B(
124
96
  _,
125
97
  () => {
126
- _.value && (G(() => v()), a = ye(_.value, ({ width: N }) => {
127
- u.value = N;
98
+ _.value && (G(() => v()), o = Te(_.value, ({ width: w }) => {
99
+ u.value = w;
128
100
  }));
129
101
  },
130
102
  { immediate: !0 }
131
103
  );
132
104
  });
133
- }), Se(() => {
134
- a == null || a.disconnect();
135
- }), ht(() => {
105
+ }), Le(() => {
106
+ o == null || o.disconnect();
107
+ }), Lt(() => {
136
108
  var v;
137
109
  g.value && ((v = Object.keys(g.value)) == null ? void 0 : v.length) > 0 && Object.keys(g.value).forEach((i) => {
138
110
  g.value[i] = [];
139
111
  });
140
112
  });
141
- const b = E(() => {
113
+ const h = L(() => {
142
114
  const v = [];
143
- let N = 0, i = 0;
115
+ let w = 0, i = 0;
144
116
  const f = {};
145
- let p = l.value.filter((w) => w.visible !== !1);
146
- c != null && c.hasSelectableColumn.value && (p = [{ field: V, label: "", width: 40 }, ...p]), p.forEach((w) => {
147
- const I = { ...w };
117
+ let p = a.value.filter((N) => N.visible !== !1);
118
+ d != null && d.hasSelectableColumn.value && (p = [{ field: V, label: "", width: 40 }, ...p]), p.forEach((N) => {
119
+ const O = { ...N };
148
120
  let z;
149
- I.flex && I.flex > 0 ? (N += I.flex, z = 0, v.push(I)) : z = Math.max(
150
- (I == null ? void 0 : I.width) ?? kt,
151
- (I == null ? void 0 : I.minWidth) ?? _e
152
- ), i += z, I.width = z, I.minWidth = (I == null ? void 0 : I.minWidth) ?? _e, f[I.field] = I;
121
+ O.flex && O.flex > 0 ? (w += O.flex, z = 0, v.push(O)) : z = Math.max(
122
+ (O == null ? void 0 : O.width) ?? Ht,
123
+ (O == null ? void 0 : O.minWidth) ?? _e
124
+ ), i += z, O.width = z, O.minWidth = (O == null ? void 0 : O.minWidth) ?? _e, f[O.field] = O;
153
125
  });
154
- const O = Math.max(u.value - i, 0);
155
- if (N > 0 && u.value > 0) {
156
- const w = Bt(O, N, v);
157
- Object.keys(w).forEach((I) => {
158
- f[I].width = w[I].computedWidth;
126
+ const I = Math.max(u.value - i, 0);
127
+ if (w > 0 && u.value > 0) {
128
+ const N = Zt(I, w, v);
129
+ Object.keys(N).forEach((O) => {
130
+ f[O].width = N[O].computedWidth;
159
131
  });
160
132
  }
161
133
  return Object.values(f);
162
- }), r = y(void 0), h = (v) => {
134
+ }), r = E(void 0), b = (v) => {
163
135
  r.value = { ...r.value, ...v };
164
136
  };
165
- l.value.some((v) => v == null ? void 0 : v.autoWidth) && B(
166
- [() => l.value, () => C.value],
137
+ a.value.some((v) => v == null ? void 0 : v.autoWidth) && B(
138
+ [() => a.value, () => C.value],
167
139
  async () => {
168
- d.value = !0, await G(), l == null || l.value.filter((v) => v == null ? void 0 : v.autoWidth).forEach(({ field: v, minWidth: N }) => {
140
+ c.value = !0, await G(), a == null || a.value.filter((v) => v == null ? void 0 : v.autoWidth).forEach(({ field: v, minWidth: w }) => {
169
141
  var f, p;
170
142
  const i = (p = (f = g.value) == null ? void 0 : f[v]) == null ? void 0 : p.reduce(
171
- (O, w) => Math.max(O, w != null && w.offsetWidth ? w.offsetWidth + 4 : 0),
143
+ (I, N) => Math.max(I, N != null && N.offsetWidth ? N.offsetWidth + 4 : 0),
172
144
  0
173
145
  );
174
- (N === void 0 || i > N) && h({
146
+ (w === void 0 || i > w) && b({
175
147
  [v]: {
176
148
  width: i
177
149
  }
178
150
  });
179
- }), d.value = !1;
151
+ }), c.value = !1;
180
152
  },
181
153
  { immediate: !0 }
182
154
  );
183
- const S = E(
184
- () => b.value.map((v) => {
185
- var N, i;
155
+ const S = L(
156
+ () => h.value.map((v) => {
157
+ var w, i;
186
158
  return {
187
159
  ...v,
188
160
  // Override column width with resized ones
189
- width: ((i = (N = r.value) == null ? void 0 : N[v.field]) == null ? void 0 : i.width) ?? v.width
161
+ width: ((i = (w = r.value) == null ? void 0 : w[v.field]) == null ? void 0 : i.width) ?? v.width
190
162
  };
191
163
  })
192
- ), A = E(() => S.value.reduce((v, N) => N.width + v, 0)), T = E(() => ({
164
+ ), A = L(() => S.value.reduce((v, w) => w.width + v, 0)), T = L(() => ({
193
165
  width: u.value > A.value ? "100%" : "fit-content"
194
166
  }));
195
- return { columnDefs: S, gridColumnWidthStyle: T, onColumnWidthOverride: h, isMeasuringColumnWidths: d };
196
- }, Ht = Vt, Zt = (t, e, n) => ({ conditionalSortDirectionClasses: (l, C) => ({
167
+ return { columnDefs: S, gridColumnWidthStyle: T, onColumnWidthOverride: b, isMeasuringColumnWidths: c };
168
+ }, Yt = jt, Xt = (t, e, n) => ({ conditionalSortDirectionClasses: (a, C) => ({
197
169
  "b-data-grid-columns__column-sort-icon--sorted": t.value.some(
198
- (_) => _.field === l && _.direction === C
170
+ (_) => _.field === a && _.direction === C
199
171
  )
200
- }), sortByColumnField: (l) => {
172
+ }), sortByColumnField: (a) => {
201
173
  var g;
202
- if (!e.value.some((d) => d.field === l && d.sortable))
174
+ if (!e.value.some((c) => c.field === a && c.sortable))
203
175
  return;
204
176
  const _ = [{
205
- field: l,
206
- direction: ((g = t.value.find((d) => d.field === l)) == null ? void 0 : g.direction) === W.ASCENDING ? W.DESCENDING : W.ASCENDING
177
+ field: a,
178
+ direction: ((g = t.value.find((c) => c.field === a)) == null ? void 0 : g.direction) === W.ASCENDING ? W.DESCENDING : W.ASCENDING
207
179
  }];
208
180
  n(R.SORT, _);
209
- } }), jt = (t, e, n, s, c) => {
210
- const l = y(t.value), C = ne({
181
+ } }), qt = (t, e, n, s, d) => {
182
+ const a = E(t.value), C = se({
211
183
  allItemsSelected: !1,
212
184
  isIndeterminate: !1
213
185
  }), _ = () => {
214
- e(m.SELECT, l.value), e(m.UPDATE_SELECTION, l.value);
186
+ e(m.SELECT, a.value), e(m.UPDATE_SELECTION, a.value);
215
187
  }, g = (u) => {
216
188
  G(() => {
217
- var a, b;
218
- u ? l.value = (b = (a = n.value) == null ? void 0 : a.filter((r) => !c(r))) == null ? void 0 : b.map((r) => s(r)) : l.value = [], C.allItemsSelected = u, C.isIndeterminate = !1, _();
189
+ var o, h;
190
+ u ? a.value = (h = (o = n.value) == null ? void 0 : o.filter((r) => !d(r))) == null ? void 0 : h.map((r) => s(r)) : a.value = [], C.allItemsSelected = u, C.isIndeterminate = !1, _();
219
191
  });
220
- }, d = (u) => {
192
+ }, c = (u) => {
221
193
  G(() => {
222
- var b;
223
- l.value = u;
224
- const a = (b = n.value) == null ? void 0 : b.filter((r) => !c(r)).every((r) => l.value.includes(s(r)));
225
- C.isIndeterminate = l.value.length > 0 && !a, a ? C.allItemsSelected = !0 : (C.isIndeterminate || !a) && (C.allItemsSelected = !1), _();
194
+ var h, r;
195
+ a.value = u;
196
+ const o = ((h = n.value) == null ? void 0 : h.length) > 0 && ((r = n.value) == null ? void 0 : r.filter((b) => !d(b)).every((b) => a.value.includes(s(b))));
197
+ C.isIndeterminate = a.value.length > 0 && !o, o ? C.allItemsSelected = !0 : (C.isIndeterminate || !o) && (C.allItemsSelected = !1), _();
226
198
  });
227
199
  };
228
- return d(t.value), { onAllRowSelect: g, onRowSelect: d, allItemsSelectedState: C, selectedItems: l };
200
+ return c(t.value), { onAllRowSelect: g, onRowSelect: c, allItemsSelectedState: C, selectedItems: a };
229
201
  };
230
202
  var D = ((t) => (t[t.ARROW_DOWN = x.ARROW_DOWN] = "ARROW_DOWN", t[t.ARROW_UP = x.ARROW_UP] = "ARROW_UP", t[t.ARROW_LEFT = x.ARROW_LEFT] = "ARROW_LEFT", t[t.ARROW_RIGHT = x.ARROW_RIGHT] = "ARROW_RIGHT", t[t.PAGE_UP = x.PAGE_UP] = "PAGE_UP", t[t.PAGE_DOWN = x.PAGE_DOWN] = "PAGE_DOWN", t[t.END = x.END] = "END", t[t.HOME = x.HOME] = "HOME", t))(D || {});
231
- const Yt = (t, e) => {
232
- const n = (d) => Math.floor(d / e.value), s = (d, u, a) => {
233
- const b = t.value.length - 1, r = e.value - 1, h = n(d), S = d - e.value * h;
203
+ const Jt = (t, e) => {
204
+ const n = (c) => Math.floor(c / e.value), s = (c, u, o) => {
205
+ const h = t.value.length - 1, r = e.value - 1, b = n(c), S = c - e.value * b;
234
206
  return {
235
207
  [D.PAGE_UP]: S,
236
- [D.PAGE_DOWN]: b - r + S,
237
- [D.END]: a ? b : e.value * h + r,
238
- [D.HOME]: a ? 0 : e.value * h
208
+ [D.PAGE_DOWN]: h - r + S,
209
+ [D.END]: o ? h : e.value * b + r,
210
+ [D.HOME]: o ? 0 : e.value * b
239
211
  }[u];
240
- }, c = (d, u) => {
241
- const b = {
212
+ }, d = (c, u) => {
213
+ const h = {
242
214
  [D.ARROW_DOWN]: e.value,
243
215
  [D.ARROW_UP]: -e.value,
244
216
  [D.ARROW_LEFT]: -1,
245
217
  [D.ARROW_RIGHT]: 1
246
- }[u], r = d + b;
247
- return r < 0 || r >= t.value.length ? d : r;
248
- }, l = (d) => [
218
+ }[u], r = c + h;
219
+ return r < 0 || r >= t.value.length ? c : r;
220
+ }, a = (c) => [
249
221
  D.PAGE_UP,
250
222
  D.PAGE_DOWN,
251
223
  D.END,
252
224
  D.HOME
253
- ].includes(d), C = (d, u, a) => {
254
- const b = t.value.indexOf(d);
255
- return l(u) ? s(b, u, a) : c(b, u);
225
+ ].includes(c), C = (c, u, o) => {
226
+ const h = t.value.indexOf(c);
227
+ return a(u) ? s(h, u, o) : d(h, u);
256
228
  };
257
229
  return {
258
- focusOnNextGridcell: (d, u, a) => {
259
- if (!t.value.includes(d))
230
+ focusOnNextGridcell: (c, u, o) => {
231
+ if (!t.value.includes(c))
260
232
  return;
261
- const b = C(d, u, a);
262
- t.value[b].focus();
233
+ const h = C(c, u, o);
234
+ t.value[h].focus();
263
235
  },
264
- isNavigationKeyCode: (d) => d in D
236
+ isNavigationKeyCode: (c) => c in D
265
237
  };
266
- }, Xt = (t, e, n, s) => {
267
- const c = y(t), l = y(e), C = y(n), _ = E(() => c.value !== "none"), g = E(() => c.value === "automatic"), d = () => {
238
+ }, Kt = (t, e, n, s) => {
239
+ const d = E(t), a = E(e), C = E(n), _ = L(() => d.value !== "none"), g = L(() => d.value === "automatic"), c = () => {
268
240
  s(m.UPDATE_SHOW_MORE);
269
241
  };
270
242
  return B(
271
- () => l.value,
243
+ () => a.value,
272
244
  () => {
273
245
  if (g.value) {
274
- const a = C.value.offsetHeight - l.value;
275
- (a === 0 || a === 1) && d();
246
+ const o = C.value.offsetHeight - a.value;
247
+ (o === 0 || o === 1) && c();
276
248
  }
277
249
  }
278
- ), { isLazyLoad: _, isInfiniteScroll: g, verticalScrollPosition: l, emitLazyLoadEvent: d };
279
- }, qt = (t, e, n) => {
280
- const s = y(t), c = y(e), l = ne({
250
+ ), { isLazyLoad: _, isInfiniteScroll: g, verticalScrollPosition: a, emitLazyLoadEvent: c };
251
+ }, Qt = (t, e, n) => {
252
+ const s = E(t), d = E(e), a = se({
281
253
  dragging: null,
282
254
  dragToLeft: null,
283
255
  target: null
284
- }), C = (r, h = 0) => {
285
- const S = s.value.findIndex((v) => v.field === r.field), A = S + h;
256
+ }), C = (r, b = 0) => {
257
+ const S = s.value.findIndex((v) => v.field === r.field), A = S + b;
286
258
  if (A < 0 || A > s.value.length - 1)
287
259
  return;
288
260
  const T = [...s.value];
289
261
  T.splice(A, 0, T.splice(S, 1)[0]), n(m.COLUMNS, T), n(m.UPDATE_COLUMNS, T);
290
- }, _ = (r, h) => {
291
- l.dragging = r, h.dataTransfer.setData("text", ""), h.dataTransfer.dropEffect = "move";
292
- }, g = (r, h) => {
293
- l.target = r;
294
- const S = h.currentTarget.getBoundingClientRect(), A = S.left + S.width / 2, T = h.clientX ?? 0;
295
- l.dragToLeft = T <= A;
296
- }, d = (r) => {
297
- var h, S;
298
- if (((h = l.dragging) == null ? void 0 : h.field) !== r.field) {
262
+ }, _ = (r, b) => {
263
+ a.dragging = r, b.dataTransfer.setData("text", ""), b.dataTransfer.dropEffect = "move";
264
+ }, g = (r, b) => {
265
+ a.target = r;
266
+ const S = b.currentTarget.getBoundingClientRect(), A = S.left + S.width / 2, T = b.clientX ?? 0;
267
+ a.dragToLeft = T <= A;
268
+ }, c = (r) => {
269
+ var b, S;
270
+ if (((b = a.dragging) == null ? void 0 : b.field) !== r.field) {
299
271
  const A = s.value.findIndex((p) => {
300
- var O;
301
- return p.field === ((O = l.dragging) == null ? void 0 : O.field);
302
- }), T = s.value.findIndex((p) => p.field === r.field), v = l.dragToLeft ? T : T + 1, N = v > A ? v - 1 : v;
272
+ var I;
273
+ return p.field === ((I = a.dragging) == null ? void 0 : I.field);
274
+ }), T = s.value.findIndex((p) => p.field === r.field), v = a.dragToLeft ? T : T + 1, w = v > A ? v - 1 : v;
303
275
  let i = [...s.value];
304
276
  i.splice(
305
- N === -1 ? 0 : N,
277
+ w === -1 ? 0 : w,
306
278
  0,
307
279
  i.splice(A, 1)[0]
308
280
  );
309
281
  const f = s.value.findIndex((p) => !(p != null && p.frozen));
310
- ((S = l.dragging) == null ? void 0 : S.frozen) !== r.frozen && v !== f && (i = i.map(
282
+ ((S = a.dragging) == null ? void 0 : S.frozen) !== r.frozen && v !== f && (i = i.map(
311
283
  (p) => {
312
- var O;
313
- return ((O = l.dragging) == null ? void 0 : O.field) === p.field ? { ...p, frozen: !!(r != null && r.frozen) } : p;
284
+ var I;
285
+ return ((I = a.dragging) == null ? void 0 : I.field) === p.field ? { ...p, frozen: !!(r != null && r.frozen) } : p;
314
286
  }
315
287
  )), n(m.COLUMNS, i), n(m.UPDATE_COLUMNS, i);
316
288
  }
317
- l.dragging = null, l.target = null;
289
+ a.dragging = null, a.target = null;
318
290
  }, u = () => {
319
- l.dragging = null, l.dragToLeft = null, l.target = null;
320
- }, a = E(() => c.value ? {
321
- [R.COLUMN_DRAG_START]: (r, h) => _(r, h),
322
- [R.COLUMN_DRAG_ENTER]: (r, h) => g(r, h),
323
- [R.COLUMN_DROP]: (r) => d(r),
291
+ a.dragging = null, a.dragToLeft = null, a.target = null;
292
+ }, o = L(() => d.value ? {
293
+ [R.COLUMN_DRAG_START]: (r, b) => _(r, b),
294
+ [R.COLUMN_DRAG_ENTER]: (r, b) => g(r, b),
295
+ [R.COLUMN_DROP]: (r) => c(r),
324
296
  [R.COLUMN_DRAG_END]: () => u()
325
- } : {}), b = E(() => (r) => c.value ? {
326
- dragenter: (h) => {
327
- h.preventDefault(), g(r, h);
297
+ } : {}), h = L(() => (r) => d.value ? {
298
+ dragenter: (b) => {
299
+ b.preventDefault(), g(r, b);
328
300
  },
329
301
  drop: () => {
330
- d(r);
302
+ c(r);
331
303
  },
332
- dragover: (h) => {
333
- h.preventDefault();
304
+ dragover: (b) => {
305
+ b.preventDefault();
334
306
  }
335
307
  } : {});
336
308
  return {
337
309
  // Values
338
- draggingColumns: l,
310
+ draggingColumns: a,
339
311
  // Methods
340
- draggingEventsForColumns: a,
341
- draggingEventsForRowCell: b,
312
+ draggingEventsForColumns: o,
313
+ draggingEventsForRowCell: h,
342
314
  onMoveColumnByOffset: C
343
315
  };
344
- }, Jt = (t, e) => {
345
- const n = y(t), s = E(
346
- () => [...n.value].sort((a, b) => a.frozen === b.frozen ? 0 : a.frozen ? -1 : 1)
347
- ), c = E(() => s.value.filter((a) => a.frozen)), l = E(() => s.value.filter((a) => !a.frozen)), C = E(
316
+ }, en = (t, e) => {
317
+ const n = E(t), s = L(
318
+ () => [...n.value].sort((o, h) => o.frozen === h.frozen ? 0 : o.frozen ? -1 : 1)
319
+ ), d = L(() => s.value.filter((o) => o.frozen)), a = L(() => s.value.filter((o) => !o.frozen)), C = L(
348
320
  () => [
349
- { columnSet: c.value, id: "frozen", isFrozenColumns: !0 },
350
- { columnSet: l.value, id: "unfrozen" }
351
- ].filter(({ columnSet: a }) => a.length)
352
- ), _ = E(
353
- () => n.value.filter((a) => (a == null ? void 0 : a.visible) !== !1 && (a == null ? void 0 : a.field) !== V).length === 1
354
- ), g = (a) => e(m.UPDATE_CONDENSED, a), d = (a) => {
355
- e(m.COLUMNS, a), e(m.UPDATE_COLUMNS, a);
321
+ { columnSet: d.value, id: "frozen", isFrozenColumns: !0 },
322
+ { columnSet: a.value, id: "unfrozen" }
323
+ ].filter(({ columnSet: o }) => o.length)
324
+ ), _ = L(
325
+ () => n.value.filter((o) => (o == null ? void 0 : o.visible) !== !1 && (o == null ? void 0 : o.field) !== V).length === 1
326
+ ), g = (o) => e(m.UPDATE_CONDENSED, o), c = (o) => {
327
+ e(m.COLUMNS, o), e(m.UPDATE_COLUMNS, o);
356
328
  };
357
329
  return {
358
330
  // Values
@@ -361,135 +333,135 @@ const Yt = (t, e) => {
361
333
  sortedColumns: s,
362
334
  // Methods
363
335
  onConfigSettingsUpdate: g,
364
- onConfigSettingsColumnsUpdate: d,
365
- onConfigSettingsColumnUpdate: (a) => {
366
- const b = s.value.map(
367
- (r) => (r == null ? void 0 : r.field) === a.field ? a : r
336
+ onConfigSettingsColumnsUpdate: c,
337
+ onConfigSettingsColumnUpdate: (o) => {
338
+ const h = s.value.map(
339
+ (r) => (r == null ? void 0 : r.field) === o.field ? o : r
368
340
  );
369
- d(b);
341
+ c(h);
370
342
  }
371
343
  };
372
344
  };
373
345
  let fe = 0;
374
- const Kt = {
346
+ const tn = {
375
347
  beforeCreate() {
376
348
  this.uuid = fe.toString(), fe += 1;
377
349
  }
378
350
  };
379
- var Qt = function() {
351
+ var nn = function() {
380
352
  var e = this, n = e._self._c;
381
353
  return n("svg", e._b({ attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? n("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), n("path", { attrs: { fill: "#00112C", "fill-rule": "evenodd", d: "M11 10.75C11.2841 10.75 11.5438 10.5895 11.6708 10.3354C11.7979 10.0813 11.7705 9.77726 11.6 9.55L8.6 5.55C8.45836 5.36115 8.23607 5.25 8.00001 5.25C7.76394 5.25 7.54165 5.36115 7.40001 5.55L4.4 9.55C4.22956 9.77726 4.20214 10.0813 4.32918 10.3354C4.45623 10.5895 4.71593 10.75 5 10.75L11 10.75Z", "clip-rule": "evenodd" } })]);
382
- }, en = [], tn = /* @__PURE__ */ M(
383
- Kt,
384
- Qt,
385
- en,
354
+ }, sn = [], ln = /* @__PURE__ */ M(
355
+ tn,
356
+ nn,
357
+ sn,
386
358
  !1,
387
359
  null,
388
360
  "4ebc0033",
389
361
  null,
390
362
  null
391
363
  );
392
- const nn = tn.exports;
364
+ const an = ln.exports;
393
365
  let ge = 0;
394
- const sn = {
366
+ const on = {
395
367
  beforeCreate() {
396
368
  this.uuid = ge.toString(), ge += 1;
397
369
  }
398
370
  };
399
- var ln = function() {
371
+ var rn = function() {
400
372
  var e = this, n = e._self._c;
401
373
  return n("svg", e._b({ attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? n("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), n("path", { attrs: { fill: "#00112C", "fill-rule": "evenodd", d: "M5 5.25C4.71593 5.25 4.45623 5.4105 4.32918 5.66459C4.20214 5.91868 4.22956 6.22274 4.4 6.45L7.4 10.45C7.54165 10.6389 7.76394 10.75 8 10.75C8.23607 10.75 8.45836 10.6389 8.6 10.45L11.6 6.45C11.7705 6.22274 11.7979 5.91868 11.6708 5.66459C11.5438 5.4105 11.2841 5.25 11 5.25H5Z", "clip-rule": "evenodd" } })]);
402
- }, an = [], on = /* @__PURE__ */ M(
403
- sn,
404
- ln,
405
- an,
374
+ }, dn = [], cn = /* @__PURE__ */ M(
375
+ on,
376
+ rn,
377
+ dn,
406
378
  !1,
407
379
  null,
408
380
  "bda8fd91",
409
381
  null,
410
382
  null
411
383
  );
412
- const rn = on.exports;
384
+ const un = cn.exports;
413
385
  let Ce = 0;
414
- const dn = {
386
+ const _n = {
415
387
  beforeCreate() {
416
388
  this.uuid = Ce.toString(), Ce += 1;
417
389
  }
418
390
  };
419
- var cn = function() {
391
+ var fn = function() {
420
392
  var e = this, n = e._self._c;
421
393
  return n("svg", e._b({ attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? n("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), n("path", { attrs: { fill: "#00112C", "fill-rule": "evenodd", d: "M9.53 13.55L14.53 8.55C14.6 8.48 14.66 8.4 14.69 8.31C14.72 8.22 14.75 8.12 14.75 8.02C14.75 8.02 14.75 7.92 14.75 7.87C14.75 7.83 14.75 7.79 14.75 7.75C14.71 7.65 14.65 7.55 14.57 7.48L9.57 2.48C9.43 2.34 9.23 2.25 9.03 2.25C8.83 2.25 8.63 2.33 8.48 2.47C8.33 2.61 8.25 2.81 8.25 3.01C8.25 3.21 8.33 3.41 8.47 3.56L12.19 7.28H2C1.8 7.28 1.61 7.36 1.47 7.5C1.33 7.64 1.25 7.83 1.25 8.03C1.25 8.23 1.33 8.42 1.47 8.56C1.61 8.7 1.8 8.78 2 8.78H12.19L8.47 12.5C8.34 12.64 8.27 12.83 8.27 13.02C8.27 13.21 8.35 13.4 8.49 13.54C8.63 13.68 8.81 13.76 9.01 13.76C9.2 13.76 9.39 13.69 9.53 13.56V13.55Z", "clip-rule": "evenodd" } })]);
422
- }, un = [], _n = /* @__PURE__ */ M(
423
- dn,
424
- cn,
425
- un,
394
+ }, gn = [], Cn = /* @__PURE__ */ M(
395
+ _n,
396
+ fn,
397
+ gn,
426
398
  !1,
427
399
  null,
428
400
  "1954bfce",
429
401
  null,
430
402
  null
431
403
  );
432
- const fn = _n.exports;
404
+ const vn = Cn.exports;
433
405
  let ve = 0;
434
- const gn = {
406
+ const mn = {
435
407
  beforeCreate() {
436
408
  this.uuid = ve.toString(), ve += 1;
437
409
  }
438
410
  };
439
- var Cn = function() {
411
+ var bn = function() {
440
412
  var e = this, n = e._self._c;
441
413
  return n("svg", e._b({ attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? n("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), n("path", { attrs: { fill: "#00112C", "fill-rule": "evenodd", d: "M7.03033 0.96967C6.73744 0.676777 6.26256 0.676777 5.96967 0.96967C5.67678 1.26256 5.67678 1.73744 5.96967 2.03033L7.25 3.31066V5.06654L5.83093 5.88398L4.3138 5.00601L3.8442 3.25567C3.73686 2.8556 3.32553 2.6183 2.92547 2.72563C2.5254 2.83297 2.2881 3.2443 2.39543 3.64436L2.75109 4.96998L1.42547 5.32563C1.0254 5.43297 0.788098 5.8443 0.895433 6.24436C1.00277 6.64443 1.4141 6.88173 1.81416 6.7744L3.56372 6.305L5.08008 7.18253V8.81748L3.56369 9.69502L1.81416 9.22563C1.4141 9.1183 1.00277 9.3556 0.895433 9.75567C0.788098 10.1557 1.0254 10.5671 1.42547 10.6744L2.75109 11.0301L2.39543 12.3557C2.2881 12.7557 2.5254 13.1671 2.92547 13.2744C3.32553 13.3817 3.73686 13.1444 3.8442 12.7444L4.31381 10.994L5.83093 10.116L7.25 10.9335V12.6893L5.96967 13.9697C5.67678 14.2626 5.67678 14.7374 5.96967 15.0303C6.26256 15.3232 6.73744 15.3232 7.03033 15.0303L8 14.0607L8.96967 15.0303C9.26256 15.3232 9.73744 15.3232 10.0303 15.0303C10.3232 14.7374 10.3232 14.2626 10.0303 13.9697L8.75 12.6893V10.9336L10.1692 10.116L11.6857 10.9936L12.1554 12.7444C12.2627 13.1444 12.6741 13.3817 13.0741 13.2744C13.4742 13.1671 13.7115 12.7557 13.6042 12.3557L13.4374 11.7342C13.4337 11.7143 13.4292 11.6943 13.4238 11.6745L13.2497 11.0297L14.5741 10.6744C14.9742 10.5671 15.2115 10.1557 15.1042 9.75567C14.9968 9.3556 14.5855 9.1183 14.1854 9.22563L13.564 9.39237C13.5441 9.39606 13.5241 9.40058 13.5042 9.40595L12.4356 9.69456L10.9201 8.81752V7.18249L12.4363 6.30504L14.1857 6.7744C14.5858 6.88173 14.9971 6.64443 15.1045 6.24436C15.2118 5.8443 14.9745 5.43297 14.5744 5.32563L13.2488 4.96998L13.6045 3.64436C13.7118 3.2443 13.4745 2.83297 13.0744 2.72563C12.6744 2.6183 12.263 2.8556 12.1557 3.25567L11.6861 5.00615L10.1692 5.88396L8.75 5.06645V3.31066L10.0303 2.03033C10.3232 1.73744 10.3232 1.26256 10.0303 0.96967C9.73744 0.676777 9.26256 0.676777 8.96967 0.96967L8 1.93934L7.03033 0.96967ZM6.58008 8.81649V7.18351L8.00008 6.36553L9.42008 7.18351V8.81649L8.00008 9.63447L6.58008 8.81649Z", "clip-rule": "evenodd" } })]);
442
- }, vn = [], mn = /* @__PURE__ */ M(
443
- gn,
444
- Cn,
445
- vn,
414
+ }, pn = [], hn = /* @__PURE__ */ M(
415
+ mn,
416
+ bn,
417
+ pn,
446
418
  !1,
447
419
  null,
448
420
  "9da4de4c",
449
421
  null,
450
422
  null
451
423
  );
452
- const Ie = mn.exports;
424
+ const Ae = hn.exports;
453
425
  let me = 0;
454
- const pn = {
426
+ const Sn = {
455
427
  beforeCreate() {
456
428
  this.uuid = me.toString(), me += 1;
457
429
  }
458
430
  };
459
- var bn = function() {
431
+ var Ln = function() {
460
432
  var e = this, n = e._self._c;
461
433
  return n("svg", e._b({ attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? n("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), n("path", { attrs: { fill: "#00112C", "fill-rule": "evenodd", d: "M1.85822 8.00063C2.23115 8.61494 2.6599 9.19394 3.1392 9.73021C3.41522 10.0391 3.38862 10.5132 3.07978 10.7892C2.77094 11.0652 2.29681 11.0386 2.02078 10.7298C1.37391 10.006 0.808653 9.21323 0.335231 8.36577C0.209001 8.13981 0.2082 7.86474 0.333112 7.63805C0.481818 7.36817 1.22715 6.04687 2.49452 4.78481C3.75589 3.52873 5.61815 2.25 7.98999 2.25H7.99122C8.59964 2.251 9.20512 2.33426 9.79122 2.4975C10.1903 2.60864 10.4236 3.02221 10.3125 3.42123C10.2014 3.82026 9.78778 4.05364 9.38876 3.9425C8.9331 3.81559 8.46237 3.75083 7.98937 3.75C6.18148 3.75022 4.67897 4.7264 3.55296 5.84769C2.73159 6.66562 2.15512 7.51757 1.85822 8.00063Z", "clip-rule": "evenodd" } }), n("path", { attrs: { fill: "#00112C", "fill-rule": "evenodd", d: "M12.9002 5.21082C13.209 4.9348 13.6832 4.9614 13.9592 5.27024C14.6061 5.99402 15.1713 6.7868 15.6448 7.63425C15.771 7.86021 15.7718 8.13529 15.6469 8.36198C15.4982 8.63186 14.7528 9.95316 13.4855 11.2152C12.2241 12.4713 10.3618 13.75 7.98999 13.75L7.98876 13.75C7.38034 13.749 6.77486 13.6658 6.18876 13.5025C5.78973 13.3914 5.55635 12.9778 5.66749 12.5788C5.77863 12.1798 6.1922 11.9464 6.59123 12.0575C7.0469 12.1844 7.51763 12.2492 7.99064 12.25C9.79852 12.2498 11.301 11.2736 12.427 10.1523C13.2484 9.3344 13.8249 8.48246 14.1218 7.99939C13.7488 7.38508 13.3201 6.80609 12.8408 6.26982C12.5648 5.96097 12.5914 5.48685 12.9002 5.21082Z", "clip-rule": "evenodd" } }), n("path", { attrs: { fill: "#00112C", "fill-rule": "evenodd", d: "M13.5203 3.53033C13.8132 3.23744 13.8132 2.76256 13.5203 2.46967C13.2274 2.17678 12.7526 2.17678 12.4597 2.46967L2.45966 12.4697C2.16677 12.7626 2.16677 13.2374 2.45966 13.5303C2.75255 13.8232 3.22743 13.8232 3.52032 13.5303L13.5203 3.53033Z", "clip-rule": "evenodd" } })]);
462
- }, hn = [], Sn = /* @__PURE__ */ M(
463
- pn,
464
- bn,
465
- hn,
434
+ }, yn = [], En = /* @__PURE__ */ M(
435
+ Sn,
436
+ Ln,
437
+ yn,
466
438
  !1,
467
439
  null,
468
440
  "2fe7aaf4",
469
441
  null,
470
442
  null
471
443
  );
472
- const Ln = Sn.exports;
473
- let pe = 0;
474
- const yn = {
444
+ const Rn = En.exports;
445
+ let be = 0;
446
+ const Tn = {
475
447
  beforeCreate() {
476
- this.uuid = pe.toString(), pe += 1;
448
+ this.uuid = be.toString(), be += 1;
477
449
  }
478
450
  };
479
- var En = function() {
451
+ var In = function() {
480
452
  var e = this, n = e._self._c;
481
453
  return n("svg", e._b({ attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? n("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), n("path", { attrs: { fill: "#00112C", "fill-rule": "evenodd", d: "M5.2525 8C5.2525 6.48 6.4825 5.25 8.0025 5.25C9.5225 5.25 10.7525 6.48 10.7525 8C10.7525 9.52 9.5225 10.75 8.0025 10.75C6.4825 10.75 5.2525 9.52 5.2525 8ZM6.7525 8C6.7525 8.69 7.3125 9.25 8.0025 9.25C8.6925 9.25 9.2525 8.69 9.2525 8C9.2525 7.31 8.6925 6.75 8.0025 6.75C7.3125 6.75 6.7525 7.31 6.7525 8Z", "clip-rule": "evenodd" } }), n("path", { attrs: { fill: "#00112C", "fill-rule": "evenodd", d: "M8.0025 2.25C12.8125 2.25 15.5625 7.43 15.6725 7.65C15.7825 7.87 15.7825 8.12 15.6725 8.34C15.6711 8.34265 15.6692 8.34603 15.667 8.35011C15.4859 8.6842 12.7446 13.74 8.0025 13.74C3.2025 13.74 0.4425 8.56 0.3325 8.34C0.2225 8.13 0.2225 7.87 0.3325 7.65C0.334097 7.64707 0.336157 7.64327 0.33868 7.63861C0.525781 7.29307 3.2565 2.25 8.0025 2.25ZM1.8725 8C2.5325 9.07 4.7525 12.25 8.0025 12.25C11.2425 12.25 13.4725 9.07 14.1325 8C13.4725 6.93 11.2425 3.75 8.0025 3.75C4.7625 3.75 2.5325 6.93 1.8725 8Z", "clip-rule": "evenodd" } })]);
482
- }, Rn = [], Tn = /* @__PURE__ */ M(
483
- yn,
484
- En,
485
- Rn,
454
+ }, On = [], An = /* @__PURE__ */ M(
455
+ Tn,
456
+ In,
457
+ On,
486
458
  !1,
487
459
  null,
488
460
  "6e578b8e",
489
461
  null,
490
462
  null
491
463
  );
492
- const On = Tn.exports, In = {
464
+ const wn = An.exports, Nn = {
493
465
  "en-US": {
494
466
  moveColumnLeft: "Move column left",
495
467
  moveColumnRight: "Move column right",
@@ -498,16 +470,16 @@ const On = Tn.exports, In = {
498
470
  showColumn: "Show column",
499
471
  hideColumn: "Hide column"
500
472
  }
501
- }, An = j({
502
- i18n: { messages: In },
473
+ }, Pn = j({
474
+ i18n: { messages: Nn },
503
475
  name: "data-grid-columns",
504
476
  components: {
505
477
  BentoCheckbox: Ee,
506
- BentoInfoIcon: Mt,
507
- BentoTypography: ie,
508
- BentoMenu: $t,
509
- TriangleUp: nn,
510
- TriangleDown: rn
478
+ BentoInfoIcon: xt,
479
+ BentoTypography: le,
480
+ BentoMenu: Ft,
481
+ TriangleUp: an,
482
+ TriangleDown: un
511
483
  },
512
484
  props: {
513
485
  /**
@@ -598,16 +570,16 @@ const On = Tn.exports, In = {
598
570
  R.COLUMN_MENU_CLOSE
599
571
  ],
600
572
  setup(t, { emit: e }) {
601
- const { t: n } = Te(), { columns: s, sortBy: c } = se(t), l = y(t.allItemsSelectedState), C = (i) => e(R.SELECT_ALL_ROWS, i), _ = (i) => i.field === V, { startResize: g, isResizing: d } = Wt(s, e), { conditionalSortDirectionClasses: u, sortByColumnField: a } = Zt(c, s, e), b = (i) => {
602
- var O;
573
+ const { t: n } = Ie(), { columns: s, sortBy: d } = ie(t), a = E(t.allItemsSelectedState), C = (i) => e(R.SELECT_ALL_ROWS, i), _ = (i) => i.field === V, { startResize: g, isResizing: c } = Vt(s, e), { conditionalSortDirectionClasses: u, sortByColumnField: o } = Xt(d, s, e), h = (i) => {
574
+ var I;
603
575
  if (!i.sortable)
604
576
  return null;
605
- const f = (O = t.sortBy.find(({ field: w }) => w === i.field)) == null ? void 0 : O.direction;
577
+ const f = (I = t.sortBy.find(({ field: N }) => N === i.field)) == null ? void 0 : I.direction;
606
578
  return f ? {
607
- [W.ASCENDING]: ee.ASCENDING,
608
- [W.DESCENDING]: ee.DESCENDING
609
- }[f] : ee.NONE;
610
- }, r = E(() => (i) => t.hasDraggableColumns ? {
579
+ [W.ASCENDING]: te.ASCENDING,
580
+ [W.DESCENDING]: te.DESCENDING
581
+ }[f] : te.NONE;
582
+ }, r = L(() => (i) => t.hasDraggableColumns ? {
611
583
  dragstart: (f) => {
612
584
  e(R.COLUMN_DRAG_START, i, f);
613
585
  },
@@ -623,23 +595,23 @@ const On = Tn.exports, In = {
623
595
  dragend: () => {
624
596
  e(R.COLUMN_DRAG_END);
625
597
  }
626
- } : {}), h = E(() => (i) => [
598
+ } : {}), b = L(() => (i) => [
627
599
  {
628
600
  text: n("moveColumnLeft"),
629
601
  handler: () => e(R.COLUMN_MOVE, i, -1),
630
- icon: zt,
602
+ icon: Gt,
631
603
  disabled: t.columns[0].field === i.field
632
604
  },
633
605
  {
634
606
  text: n("moveColumnRight"),
635
607
  handler: () => e(R.COLUMN_MOVE, i, 1),
636
- icon: fn,
608
+ icon: vn,
637
609
  disabled: t.columns[t.columns.length - 1].field === i.field
638
610
  },
639
611
  {
640
612
  text: i != null && i.frozen ? n("unfreezeColumn") : n("freezeColumn"),
641
613
  handler: () => e(R.COLUMN_UPDATE, { ...i, frozen: !(i != null && i.frozen) }),
642
- icon: Ie
614
+ icon: Ae
643
615
  },
644
616
  {
645
617
  text: (i == null ? void 0 : i.visible) !== !1 ? n("hideColumn") : n("showColumn"),
@@ -649,17 +621,17 @@ const On = Tn.exports, In = {
649
621
  visible: (i == null ? void 0 : i.visible) === !1
650
622
  });
651
623
  },
652
- icon: (i == null ? void 0 : i.visible) !== !1 ? Ln : On,
624
+ icon: (i == null ? void 0 : i.visible) !== !1 ? Rn : wn,
653
625
  disabled: (i == null ? void 0 : i.mandatory) || (i == null ? void 0 : i.visible) !== !1 && t.isOnlyOneVisibleColumn
654
626
  }
655
627
  ]), S = (i) => {
656
628
  let f = {};
657
629
  return _(i) || (f = {
658
630
  ...r.value(i)
659
- }), i.sortable && (f.click = () => a(i.field), f.keydown = (p) => {
660
- p.keyCode === x.ENTER && a(i.field);
631
+ }), i.sortable && (f.click = () => o(i.field), f.keydown = (p) => {
632
+ p.keyCode === x.ENTER && o(i.field);
661
633
  }), f;
662
- }, A = E(
634
+ }, A = L(
663
635
  () => {
664
636
  var i;
665
637
  return (i = s.value[0]) != null && i.frozen ? { "b-data-grid-columns--frozen": !0 } : {
@@ -667,19 +639,19 @@ const On = Tn.exports, In = {
667
639
  "b-data-grid-columns--config-settings-margin": t.hasColumnPanel
668
640
  };
669
641
  }
670
- ), T = (i, f) => i && f === 0 ? de.BOTTOM_START : de.BOTTOM_END, v = (i) => {
671
- var f, p, O, w, I, z, Y, X, H, q;
642
+ ), T = (i, f) => i && f === 0 ? ce.BOTTOM_START : ce.BOTTOM_END, v = (i) => {
643
+ var f, p, I, N, O, z, Y, X, H, q;
672
644
  return {
673
645
  "b-data-grid-columns__column--sortable": i.sortable,
674
646
  "b-data-grid-columns__column--padding-left-unset": ((f = i == null ? void 0 : i.padding) == null ? void 0 : f.left) === !1,
675
647
  "b-data-grid-columns__column--padding-right-unset": ((p = i == null ? void 0 : i.padding) == null ? void 0 : p.right) === !1,
676
648
  "b-data-grid-columns__column--numeric": i == null ? void 0 : i.numeric,
677
649
  "b-data-grid-columns__column--frozen": i == null ? void 0 : i.frozen,
678
- "b-data-grid-columns__column--is-re-ordering": (i == null ? void 0 : i.field) === ((w = (O = t.draggingColumns) == null ? void 0 : O.dragging) == null ? void 0 : w.field),
679
- "b-data-grid-columns__column--is-re-ordering-target-left": (i == null ? void 0 : i.field) === ((z = (I = t.draggingColumns) == null ? void 0 : I.target) == null ? void 0 : z.field) && ((Y = t.draggingColumns) == null ? void 0 : Y.dragToLeft),
650
+ "b-data-grid-columns__column--is-re-ordering": (i == null ? void 0 : i.field) === ((N = (I = t.draggingColumns) == null ? void 0 : I.dragging) == null ? void 0 : N.field),
651
+ "b-data-grid-columns__column--is-re-ordering-target-left": (i == null ? void 0 : i.field) === ((z = (O = t.draggingColumns) == null ? void 0 : O.target) == null ? void 0 : z.field) && ((Y = t.draggingColumns) == null ? void 0 : Y.dragToLeft),
680
652
  "b-data-grid-columns__column--is-re-ordering-target-right": (i == null ? void 0 : i.field) === ((H = (X = t.draggingColumns) == null ? void 0 : X.target) == null ? void 0 : H.field) && !((q = t.draggingColumns) != null && q.dragToLeft)
681
653
  };
682
- }, N = E(() => ({
654
+ }, w = L(() => ({
683
655
  "b-data-grid-columns__column-separator-container--is-resizeable": t.hasResizableColumns
684
656
  }));
685
657
  return {
@@ -687,25 +659,25 @@ const On = Tn.exports, In = {
687
659
  DATAGRID_SELECT_FIELD_NAME: V,
688
660
  // Styles and classes
689
661
  conditionalColumnClasses: v,
690
- conditionalColumnSeparatorClasses: N,
662
+ conditionalColumnSeparatorClasses: w,
691
663
  conditionalColumnsClasses: A,
692
664
  // Selecting
693
- allItemsSelectedCheckboxState: l,
665
+ allItemsSelectedCheckboxState: a,
694
666
  isSelectColumn: _,
695
667
  onAllRowSelect: C,
696
668
  // Sorting
697
669
  conditionalSortDirectionClasses: u,
698
- sortByColumnField: a,
699
- getSortingColumnDirection: b,
670
+ sortByColumnField: o,
671
+ getSortingColumnDirection: h,
700
672
  // Resizing
701
673
  startResize: g,
702
- isResizing: d,
674
+ isResizing: c,
703
675
  // Event handlers
704
676
  dataGridColumnEvents: S,
705
677
  // Dragging
706
678
  draggingEventsForColumn: r,
707
679
  // Contextual menu
708
- contextualMenuData: h,
680
+ contextualMenuData: b,
709
681
  computeMenuPosition: T,
710
682
  // Enums
711
683
  BentoDatagridSortDirection: W,
@@ -713,62 +685,62 @@ const On = Tn.exports, In = {
713
685
  };
714
686
  }
715
687
  });
716
- var Nn = function() {
688
+ var Un = function() {
717
689
  var e = this, n = e._self._c;
718
- return e._self._setupProxy, n("div", { staticClass: "b-data-grid-columns", class: e.conditionalColumnsClasses, attrs: { "data-testid": "data-grid-columns" } }, e._l(e.columns, function(s, c) {
719
- return n("div", e._g({ key: s.field, staticClass: "b-data-grid-columns__column", class: e.conditionalColumnClasses(s), style: { width: `${s.width}px` }, attrs: { "aria-colindex": c + 1, "aria-label": s.label, "aria-sort": e.getSortingColumnDirection(s), "data-testid": `${s.field}-column-header`, draggable: e.hasDraggableColumns && !e.isResizing && !e.isSelectColumn(s), role: "columnheader", tabindex: s.sortable ? "0" : "-1" } }, e.dataGridColumnEvents(s)), [e.isSelectColumn(s) ? [n("bento-checkbox", { attrs: { "model-value": e.allItemsSelectedCheckboxState.allItemsSelected, "data-testid": "checkbox-select-all", indeterminate: e.allItemsSelectedCheckboxState.isIndeterminate, value: "data-grid-select-all" }, on: { "update:model-value": e.onAllRowSelect } })] : [n("bento-typography", { staticClass: "b-data-grid-columns__column-header", attrs: { el: "div", strongest: "" } }, [e._t(`head-${s.field}`, function() {
690
+ return e._self._setupProxy, n("div", { staticClass: "b-data-grid-columns", class: e.conditionalColumnsClasses, attrs: { "data-testid": "data-grid-columns" } }, e._l(e.columns, function(s, d) {
691
+ return n("div", e._g({ key: s.field, staticClass: "b-data-grid-columns__column", class: e.conditionalColumnClasses(s), style: { width: `${s.width}px` }, attrs: { "aria-colindex": d + 1, "aria-label": s.label, "aria-sort": e.getSortingColumnDirection(s), "data-testid": `${s.field}-column-header`, draggable: e.hasDraggableColumns && !e.isResizing && !e.isSelectColumn(s), role: "columnheader", tabindex: s.sortable ? "0" : "-1" } }, e.dataGridColumnEvents(s)), [e.isSelectColumn(s) ? [n("bento-checkbox", { attrs: { "model-value": e.allItemsSelectedCheckboxState.allItemsSelected, "data-testid": "checkbox-select-all", indeterminate: e.allItemsSelectedCheckboxState.isIndeterminate, value: "data-grid-select-all" }, on: { "update:model-value": e.onAllRowSelect } })] : [n("bento-typography", { staticClass: "b-data-grid-columns__column-header", attrs: { el: "div", strongest: "" } }, [e._t(`head-${s.field}`, function() {
720
692
  return [n("span", [e._v(e._s(s.label))]), s.infoIconTooltip ? n("bento-info-icon", { attrs: { "tooltip-text": s.infoIconTooltip } }) : e._e()];
721
- }, { column: s })], 2), s.sortable || e.hasColumnPanel ? n("div", { staticClass: "b-data-grid-columns__column-actions" }, [s.sortable ? n("div", { staticClass: "b-data-grid-columns__column-sort" }, [n("triangle-up", { staticClass: "b-data-grid-columns__column-sort-icon", class: e.conditionalSortDirectionClasses(s.field, e.BentoDatagridSortDirection.ASCENDING), attrs: { "svg-title": `${s.field} sort ascending`, "data-testid": `${s.field}-sort-icon-asc` } }), n("triangle-down", { staticClass: "b-data-grid-columns__column-sort-icon", class: e.conditionalSortDirectionClasses(s.field, e.BentoDatagridSortDirection.DESCENDING), attrs: { "svg-title": `${s.field}sort descending`, "data-testid": `${s.field}-sort-icon-desc` } })], 1) : e._e(), e.hasColumnPanel ? n("bento-menu", { staticClass: "b-data-grid-columns__menu", attrs: { data: e.contextualMenuData(s), "menu-position": e.computeMenuPosition(e.hasFirstColumnPanelRightAligned, c), "menu-fixed-positioning": !0, button: { variant: "tertiary" } }, on: { open: function(l) {
693
+ }, { column: s })], 2), s.sortable || e.hasColumnPanel ? n("div", { staticClass: "b-data-grid-columns__column-actions" }, [s.sortable ? n("div", { staticClass: "b-data-grid-columns__column-sort" }, [n("triangle-up", { staticClass: "b-data-grid-columns__column-sort-icon", class: e.conditionalSortDirectionClasses(s.field, e.BentoDatagridSortDirection.ASCENDING), attrs: { "svg-title": `${s.field} sort ascending`, "data-testid": `${s.field}-sort-icon-asc` } }), n("triangle-down", { staticClass: "b-data-grid-columns__column-sort-icon", class: e.conditionalSortDirectionClasses(s.field, e.BentoDatagridSortDirection.DESCENDING), attrs: { "svg-title": `${s.field}sort descending`, "data-testid": `${s.field}-sort-icon-desc` } })], 1) : e._e(), e.hasColumnPanel ? n("bento-menu", { staticClass: "b-data-grid-columns__menu", attrs: { data: e.contextualMenuData(s), "menu-position": e.computeMenuPosition(e.hasFirstColumnPanelRightAligned, d), "menu-fixed-positioning": !0, button: { variant: "tertiary" } }, on: { open: function(a) {
722
694
  return e.$emit(e.DatagridColumnsEvent.COLUMN_MENU_OPEN);
723
- }, close: function(l) {
695
+ }, close: function(a) {
724
696
  return e.$emit(e.DatagridColumnsEvent.COLUMN_MENU_CLOSE);
725
- } } }) : e._e()], 1) : e._e(), n("div", { staticClass: "b-data-grid-columns__column-separator-container", class: e.conditionalColumnSeparatorClasses, attrs: { "data-testid": `data-grid-column-${s.field}`, role: "presentation" }, on: { mousedown: function(l) {
726
- return e.startResize(e.hasResizableColumns, s.field, l);
727
- }, click: function(l) {
728
- l.stopPropagation();
729
- } } }, [!e.isFrozenColumns || e.isFrozenColumns && c !== e.columns.length - 1 ? n("div", { staticClass: "b-data-grid-columns__column-separator" }) : e._e()])]], 2);
697
+ } } }) : e._e()], 1) : e._e(), n("div", { staticClass: "b-data-grid-columns__column-separator-container", class: e.conditionalColumnSeparatorClasses, attrs: { "data-testid": `data-grid-column-${s.field}`, role: "presentation" }, on: { mousedown: function(a) {
698
+ return e.startResize(e.hasResizableColumns, s.field, a);
699
+ }, click: function(a) {
700
+ a.stopPropagation();
701
+ } } }, [!e.isFrozenColumns || e.isFrozenColumns && d !== e.columns.length - 1 ? n("div", { staticClass: "b-data-grid-columns__column-separator" }) : e._e()])]], 2);
730
702
  }), 0);
731
- }, wn = [], Pn = /* @__PURE__ */ M(
732
- An,
733
- Nn,
734
- wn,
703
+ }, Dn = [], Mn = /* @__PURE__ */ M(
704
+ Pn,
705
+ Un,
706
+ Dn,
735
707
  !1,
736
708
  null,
737
709
  "037928b9",
738
710
  null,
739
711
  null
740
712
  );
741
- const Un = Pn.exports;
713
+ const $n = Mn.exports;
742
714
  var F = /* @__PURE__ */ ((t) => (t.CONFIG_SETTINGS = "config-settings", t.UPDATE_COLUMNS = "update:columns", t))(F || {});
743
- let be = 0;
744
- const Dn = {
715
+ let pe = 0;
716
+ const zn = {
745
717
  beforeCreate() {
746
- this.uuid = be.toString(), be += 1;
718
+ this.uuid = pe.toString(), pe += 1;
747
719
  }
748
720
  };
749
- var Mn = function() {
721
+ var xn = function() {
750
722
  var e = this, n = e._self._c;
751
723
  return n("svg", e._b({ attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? n("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), n("g", { attrs: { "clip-path": "url(#uia-icons-16-settings__a" + e.uuid + ")" } }, [n("path", { attrs: { fill: "#00112C", "fill-rule": "evenodd", d: "M8.75 1C8.75 0.585786 8.41421 0.25 8 0.25C7.58579 0.25 7.25 0.585786 7.25 1V1.2979C6.57635 1.37321 5.91783 1.54959 5.29672 1.82106L5.15026 1.56623C4.94387 1.2071 4.48542 1.08329 4.12629 1.28969C3.76716 1.49608 3.64335 1.95453 3.84974 2.31366L3.99751 2.57078C3.45281 2.97189 2.97145 3.45265 2.56967 3.99684L2.31372 3.84974C1.95459 3.64335 1.49614 3.76716 1.28975 4.12629C1.08335 4.48542 1.20717 4.94387 1.56629 5.15026L1.81832 5.29511C1.54577 5.91658 1.36849 6.57567 1.29247 7.25H1C0.585786 7.25 0.25 7.58579 0.25 8C0.25 8.41421 0.585786 8.75 1 8.75H1.29249C1.36851 9.42433 1.54581 10.0834 1.81837 10.7049L1.56629 10.8497C1.20717 11.0561 1.08335 11.5146 1.28975 11.8737C1.49614 12.2328 1.95459 12.3567 2.31372 12.1503L2.56974 12.0031C2.97151 12.5473 3.45284 13.028 3.99752 13.4291L3.84974 13.6862C3.64335 14.0454 3.76716 14.5038 4.12629 14.7102C4.48542 14.9166 4.94387 14.7928 5.15027 14.4337L5.29669 14.1789C5.91781 14.4504 6.57634 14.6267 7.25 14.7021V15C7.25 15.4142 7.58579 15.75 8 15.75C8.41421 15.75 8.75 15.4142 8.75 15V14.7021C9.42366 14.6267 10.0822 14.4504 10.7033 14.1789L10.8497 14.4337C11.0561 14.7928 11.5146 14.9166 11.8737 14.7102C12.2328 14.5038 12.3567 14.0454 12.1503 13.6862L12.0025 13.4291C12.5472 13.028 13.0285 12.5473 13.4303 12.0031L13.6863 12.1503C14.0454 12.3567 14.5039 12.2328 14.7103 11.8737C14.9167 11.5146 14.7928 11.0561 14.4337 10.8497L14.1817 10.7049C14.4542 10.0834 14.6315 9.42433 14.7075 8.75H15C15.4142 8.75 15.75 8.41421 15.75 8C15.75 7.58579 15.4142 7.25 15 7.25H14.7075C14.6315 6.57567 14.4542 5.91659 14.1817 5.29512L14.4337 5.15027C14.7928 4.94387 14.9167 4.48542 14.7103 4.12629C14.5039 3.76716 14.0454 3.64335 13.6863 3.84974L13.4303 3.99685C13.0285 3.45266 12.5472 2.9719 12.0025 2.57079L12.1503 2.31366C12.3567 1.95453 12.2328 1.49608 11.8737 1.28969C11.5146 1.08329 11.0561 1.2071 10.8497 1.56623L10.7033 1.82106C10.0822 1.54959 9.42365 1.37321 8.75 1.2979V1ZM3.46027 10.6263C3.46894 10.6414 3.47703 10.6567 3.48455 10.6721C3.81553 11.2301 4.24603 11.7202 4.75273 12.119L6.02977 9.90977C5.87643 9.75181 5.74113 9.57619 5.62698 9.38602L5.62041 9.37508C5.5299 9.2183 5.45553 9.0535 5.39784 8.88345C5.36087 8.77446 5.33077 8.66327 5.30773 8.55053C5.27085 8.37007 5.25205 8.18563 5.25205 7.99994C5.25205 7.51721 5.37912 7.04299 5.62048 6.62494L5.62686 6.61388C5.74103 6.4237 5.87643 6.24812 6.02979 6.09014L4.75273 3.88083C4.24621 4.27955 3.81584 4.76943 3.4849 5.32721C3.47729 5.34287 3.46908 5.35839 3.46027 5.37372C3.45059 5.39055 3.44036 5.40687 3.42962 5.42266C2.98528 6.20874 2.75106 7.09641 2.75 7.99994C2.75106 8.90376 2.98543 9.79172 3.43005 10.578C3.44064 10.5936 3.45072 10.6097 3.46027 10.6263ZM9.22412 7.75044C9.24103 7.83222 9.24976 7.9158 9.25 7.99998C9.24939 8.21721 9.19217 8.4305 9.08403 8.61885C8.96887 8.80892 8.80952 8.96837 8.61952 9.08363C8.43083 9.1913 8.21731 9.24795 8 9.24795C7.78331 9.24795 7.57039 9.19162 7.3821 9.08455C7.19161 8.96935 7.03182 8.80977 6.91637 8.61945C6.876 8.5487 6.84279 8.47445 6.81706 8.39782C6.80127 8.35077 6.78829 8.30283 6.77819 8.25425C6.76089 8.17096 6.75208 8.08579 6.75208 8.00002C6.75208 7.78271 6.80873 7.56919 6.91639 7.38051C7.03152 7.19073 7.19073 7.03152 7.38051 6.91639C7.56919 6.80873 7.78271 6.75208 8.00002 6.75208C8.21734 6.75208 8.43085 6.80873 8.61954 6.91639C8.80954 7.03165 8.96889 7.1911 9.08405 7.38117C9.12468 7.45192 9.15811 7.52619 9.18406 7.60287C9.20042 7.6512 9.21379 7.70048 9.22412 7.75044ZM10.6447 7.24995H13.1953C13.102 6.60939 12.8908 5.98951 12.5703 5.4225C12.5596 5.40676 12.5494 5.39049 12.5397 5.37372C12.531 5.35844 12.5228 5.34299 12.5152 5.32739C12.0559 4.55324 11.4051 3.90987 10.625 3.45947C9.8269 2.99869 8.92157 2.7561 8 2.7561C7.33041 2.7561 6.66938 2.88417 6.05183 3.13095L7.32631 5.3358C7.54562 5.28038 7.77186 5.252 8 5.252C8.48273 5.252 8.95695 5.37907 9.375 5.62043L9.38606 5.62681C9.79104 5.86991 10.1299 6.20898 10.373 6.61395L10.3788 6.62358C10.4505 6.74721 10.5122 6.87582 10.5635 7.00811C10.5944 7.08748 10.6214 7.16818 10.6447 7.24995ZM6.05183 12.869L7.3263 10.6642C7.54562 10.7196 7.77187 10.748 8.00002 10.748C8.48275 10.748 8.95697 10.6209 9.37502 10.3795L9.38602 10.3731C9.791 10.13 10.13 9.791 10.3731 9.38602L10.3788 9.37636C10.4935 9.17854 10.5826 8.96807 10.6448 8.75H13.1953C13.102 9.3907 12.8907 10.0107 12.5701 10.5778C12.5594 10.5935 12.5493 10.6096 12.5397 10.6263C12.531 10.6415 12.5229 10.6568 12.5154 10.6723C12.0574 11.4444 11.4089 12.0864 10.6317 12.5366L10.6263 12.5397L10.6183 12.5443C9.82186 13.0026 8.919 13.2438 8 13.2438C7.33041 13.2438 6.66938 13.1158 6.05183 12.869Z", "clip-rule": "evenodd" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-icons-16-settings__a" + e.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
752
- }, $n = [], zn = /* @__PURE__ */ M(
753
- Dn,
754
- Mn,
755
- $n,
724
+ }, Fn = [], Gn = /* @__PURE__ */ M(
725
+ zn,
726
+ xn,
727
+ Fn,
756
728
  !1,
757
729
  null,
758
730
  "6e917c82",
759
731
  null,
760
732
  null
761
733
  );
762
- const xn = zn.exports, Fn = {
734
+ const Wn = Gn.exports, kn = {
763
735
  "en-US": {
764
736
  toggleColumnVisibility: "Toggle {label} column visibility",
765
737
  toggleColumnFreeze: "Toggle {label} column freeze"
766
738
  }
767
- }, Gn = j({
768
- i18n: { messages: Fn },
739
+ }, Bn = j({
740
+ i18n: { messages: kn },
769
741
  name: "bento-data-grid",
770
742
  components: {
771
- BentoFreezeIcon: Ie,
743
+ BentoFreezeIcon: Ae,
772
744
  BentoToggle: Oe
773
745
  },
774
746
  props: {
@@ -789,53 +761,53 @@ const xn = zn.exports, Fn = {
789
761
  },
790
762
  emits: ["visible-column", "updated-column"],
791
763
  setup(t, { emit: e }) {
792
- const n = y(!1), s = E(() => {
764
+ const n = E(!1), s = L(() => {
793
765
  var u;
794
766
  return (u = t.column) == null ? void 0 : u.frozen;
795
- }), c = E(() => {
767
+ }), d = L(() => {
796
768
  var u;
797
769
  return ((u = t.column) == null ? void 0 : u.visible) !== !1;
798
- }), l = () => {
799
- e("visible-column", { ...t.column, visible: !c.value });
770
+ }), a = () => {
771
+ e("visible-column", { ...t.column, visible: !d.value });
800
772
  }, C = () => {
801
773
  e("updated-column", { ...t.column, frozen: !s.value });
802
774
  }, _ = () => {
803
775
  s.value || (n.value = !0);
804
776
  }, g = () => {
805
777
  s.value || (n.value = !1);
806
- }, d = E(() => ({
778
+ }, c = L(() => ({
807
779
  ["b-data-grid-config-settings-column-row__freeze-icon--frozen"]: s.value
808
780
  }));
809
781
  return {
810
782
  // Values
811
783
  isFreezeIconOptionShown: n,
812
784
  isColumnFrozen: s,
813
- freezeIconConditionalClasses: d,
814
- isColumnVisible: c,
785
+ freezeIconConditionalClasses: c,
786
+ isColumnVisible: d,
815
787
  // Methods
816
- toggleColumnVisibility: l,
788
+ toggleColumnVisibility: a,
817
789
  showFreezeIcon: _,
818
790
  hideFreezeIcon: g,
819
791
  toggleColumnFreeze: C
820
792
  };
821
793
  }
822
794
  });
823
- var Wn = function() {
795
+ var Vn = function() {
824
796
  var e = this, n = e._self._c;
825
797
  return e._self._setupProxy, n("div", { staticClass: "b-data-grid-config-settings-column-row", on: { mouseover: e.showFreezeIcon, mouseleave: e.hideFreezeIcon } }, [n("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) + " ")]), n("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(s) {
826
798
  return e.toggleColumnFreeze.apply(null, arguments);
827
799
  } } })], 1);
828
- }, kn = [], Bn = /* @__PURE__ */ M(
829
- Gn,
830
- Wn,
831
- kn,
800
+ }, Hn = [], Zn = /* @__PURE__ */ M(
801
+ Bn,
802
+ Vn,
803
+ Hn,
832
804
  !1,
833
805
  null,
834
806
  "246774cd",
835
807
  null,
836
808
  null
837
809
  );
838
- const Vn = Bn.exports, Hn = {
810
+ const jn = Zn.exports, Yn = {
839
811
  "en-US": {
840
812
  closeConfigSettingsPanel: "Close configuration settings panel",
841
813
  configSettingsPanel: "Configuration settings Panel",
@@ -851,21 +823,21 @@ const Vn = Bn.exports, Hn = {
851
823
  closeSearch: "Close search",
852
824
  noColumnsMatch: "No columns match this search"
853
825
  }
854
- }, Zn = j({
855
- i18n: { messages: Hn },
826
+ }, Xn = j({
827
+ i18n: { messages: Yn },
856
828
  name: "bento-data-grid",
857
829
  components: {
858
- BentoCrossIcon: wt,
859
- BentoPopover: Ot,
860
- BentoSettingsIcon: xn,
861
- BentoButton: It,
862
- BentoDataGridConfigSettingsConfigRow: Vn,
863
- BentoSearchBar: At,
864
- BentoSearchIcon: Pt,
830
+ BentoCrossIcon: Dt,
831
+ BentoPopover: wt,
832
+ BentoSettingsIcon: Wn,
833
+ BentoButton: Nt,
834
+ BentoDataGridConfigSettingsConfigRow: jn,
835
+ BentoSearchBar: Pt,
836
+ BentoSearchIcon: Mt,
865
837
  BentoToggle: Oe,
866
- BentoTypography: ie
838
+ BentoTypography: le
867
839
  },
868
- directives: { BentoClickOutsideDirective: Dt },
840
+ directives: { BentoClickOutsideDirective: zt },
869
841
  props: {
870
842
  /**
871
843
  * Column definitions
@@ -884,19 +856,19 @@ const Vn = Bn.exports, Hn = {
884
856
  },
885
857
  emits: [F.CONFIG_SETTINGS, F.UPDATE_COLUMNS],
886
858
  setup(t, { emit: e }) {
887
- const n = y(null), s = Ut("data-grid-config-settings-popover"), c = y(null), l = y(!1), C = y(!0), _ = y(""), g = Le(t, "columns"), d = y(!1), u = Nt(_, g), a = () => {
859
+ const n = E(null), s = $t("data-grid-config-settings-popover"), d = E(null), a = E(!1), C = E(!0), _ = E(""), g = ye(t, "columns"), c = E(!1), u = Ut(_, g), o = () => {
888
860
  _.value = "";
889
- }, b = E(
861
+ }, h = L(
890
862
  () => !t.columns.some((f) => f.visible === !1 && !f.mandatory)
891
863
  ), r = () => {
892
- a(), d.value = !d.value, d.value && G(() => {
864
+ o(), c.value = !c.value, c.value && G(() => {
893
865
  var f;
894
- return (f = c.value.bentoInputField) == null ? void 0 : f.focusInput();
895
- }), C.value = b.value;
896
- }, h = (f) => f.mandatory ?? !1, S = (f) => {
897
- const p = t.columns.map((O) => ({
898
- ...O,
899
- visible: f.field === O.field ? f.visible : O.visible
866
+ return (f = d.value.bentoInputField) == null ? void 0 : f.focusInput();
867
+ }), C.value = h.value;
868
+ }, b = (f) => f.mandatory ?? !1, S = (f) => {
869
+ const p = t.columns.map((I) => ({
870
+ ...I,
871
+ visible: f.field === I.field ? f.visible : I.visible
900
872
  }));
901
873
  e(F.UPDATE_COLUMNS, p);
902
874
  }, A = (f) => {
@@ -908,39 +880,39 @@ const Vn = Bn.exports, Hn = {
908
880
  t.columns.map((p) => ({ ...p, visible: (p == null ? void 0 : p.mandatory) === !0 }))
909
881
  );
910
882
  }, T = (f) => {
911
- const p = t.columns.map((O) => ({
912
- ...O,
913
- frozen: f.field === O.field ? !!(f != null && f.frozen) : !!(O != null && O.frozen)
883
+ const p = t.columns.map((I) => ({
884
+ ...I,
885
+ frozen: f.field === I.field ? !!(f != null && f.frozen) : !!(I != null && I.frozen)
914
886
  }));
915
887
  e(F.UPDATE_COLUMNS, p);
916
888
  }, v = (f) => {
917
- l.value = f, C.value = b.value;
889
+ a.value = f, C.value = h.value;
918
890
  };
919
891
  return {
920
892
  // Values
921
893
  configSettingsButtonRef: n,
922
894
  popoverId: s,
923
- isConfigSettingsPanelOpen: l,
895
+ isConfigSettingsPanelOpen: a,
924
896
  allColumnsVisbilityToggleState: C,
925
897
  filteredColumnVisibilityColumns: u,
926
898
  searchTerm: _,
927
- isColumnVisibilityFilterShown: d,
928
- searchBarRef: c,
899
+ isColumnVisibilityFilterShown: c,
900
+ searchBarRef: d,
929
901
  DATAGRID_SELECT_FIELD_NAME: V,
930
902
  // Methods
931
903
  setConfigSettingsPanelVisibility: v,
932
904
  emitCondensedToggle: (f) => e(F.CONFIG_SETTINGS, f),
933
905
  toggleAllColumnVisibility: A,
934
- clearAction: a,
906
+ clearAction: o,
935
907
  toggleColumnFilter: r,
936
908
  emitVisibleColumns: S,
937
909
  emitFrozenColumns: T,
938
910
  onClickOutside: () => v(!1),
939
- isColumnVisibilityToggleDisabled: h
911
+ isColumnVisibilityToggleDisabled: b
940
912
  };
941
913
  }
942
914
  });
943
- var jn = function() {
915
+ var qn = function() {
944
916
  var e = this, n = e._self._c;
945
917
  return e._self._setupProxy, n("div", { directives: [{ name: "bento-click-outside-directive", rawName: "v-bento-click-outside-directive", value: e.onClickOutside, expression: "onClickOutside" }], staticClass: "b-data-grid-config-settings" }, [n("div", { staticClass: "b-data-grid-config-settings__button-and-separator" }, [n("div", { staticClass: "b-data-grid-config-settings__column-separator" }), n("div", { ref: "configSettingsButtonRef", staticClass: "b-data-grid-config-settings__button-container" }, [n("bento-button", { attrs: { "aria-controls": e.isConfigSettingsPanelOpen ? e.popoverId : null, variant: "tertiary" }, on: { click: function(s) {
946
918
  return e.setConfigSettingsPanelVisibility(!e.isConfigSettingsPanelOpen);
@@ -961,17 +933,17 @@ var jn = function() {
961
933
  } } })], 1) : n("div", { staticClass: "b-data-grid-config-settings__column-visibility-show-all" }, [n("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), n("div", { staticClass: "b-data-grid-config-settings__column-visibility-toggles" }, [e._l(e.filteredColumnVisibilityColumns, function(s) {
962
934
  return n("div", { key: s.field }, [s.field !== e.DATAGRID_SELECT_FIELD_NAME ? n("bento-data-grid-config-settings-config-row", { attrs: { column: s, "is-column-visibility-toggle-disabled": e.isColumnVisibilityToggleDisabled(s) }, on: { "visible-column": e.emitVisibleColumns, "updated-column": e.emitFrozenColumns } }) : e._e()], 1);
963
935
  }), e.filteredColumnVisibilityColumns.length === 0 ? n("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);
964
- }, Yn = [], Xn = /* @__PURE__ */ M(
965
- Zn,
966
- jn,
967
- Yn,
936
+ }, Jn = [], Kn = /* @__PURE__ */ M(
937
+ Xn,
938
+ qn,
939
+ Jn,
968
940
  !1,
969
941
  null,
970
942
  "86ff67f7",
971
943
  null,
972
944
  null
973
945
  );
974
- const qn = Xn.exports, Ae = {
946
+ const Qn = Kn.exports, we = {
975
947
  "en-US": {
976
948
  gettingYourData: "Getting your data",
977
949
  loading: "Loading",
@@ -981,49 +953,92 @@ const qn = Xn.exports, Ae = {
981
953
  sortInactive: "{field} sort inactive",
982
954
  selectRow: "Select row"
983
955
  }
984
- }, Jn = {
985
- i18n: { messages: Ae }
986
- }, Kn = /* @__PURE__ */ j({
987
- ...Jn,
956
+ }, es = {
957
+ i18n: { messages: we }
958
+ }, ts = /* @__PURE__ */ j({
959
+ ...es,
988
960
  __name: "data-grid-lazy-load",
989
961
  props: {
990
962
  loading: { type: Boolean },
991
963
  isInfiniteScroll: { type: Boolean }
992
964
  },
993
965
  setup(t) {
994
- return { __sfc: !0, BentoLoadingButton: xt, BentoLoadingButtonState: Ft, BentoLoadingIndicator: Re, BentoDatagridEvent: m };
966
+ return { __sfc: !0, BentoLoadingButton: Wt, BentoLoadingButtonState: kt, BentoLoadingIndicator: Re, BentoDatagridEvent: m };
995
967
  }
996
968
  });
997
- var Qn = function() {
969
+ var ns = function() {
998
970
  var e = this, n = e._self._c, s = e._self._setupProxy;
999
- return n("div", { staticClass: "b-data-grid-lazy-load" }, [e.loading && e.isInfiniteScroll ? n(s.BentoLoadingIndicator) : e._e(), e.loading && !e.isInfiniteScroll ? n(s.BentoLoadingButton, { attrs: { variant: "secondary", state: s.BentoLoadingButtonState.LOADING } }, [e._v(e._s(e.$t("loading")))]) : e._e(), !e.loading && !e.isInfiniteScroll ? n(s.BentoLoadingButton, { attrs: { state: s.BentoLoadingButtonState.START, variant: "secondary" }, on: { click: function(c) {
971
+ return n("div", { staticClass: "b-data-grid-lazy-load" }, [e.loading && e.isInfiniteScroll ? n(s.BentoLoadingIndicator) : e._e(), e.loading && !e.isInfiniteScroll ? n(s.BentoLoadingButton, { attrs: { variant: "secondary", state: s.BentoLoadingButtonState.LOADING } }, [e._v(e._s(e.$t("loading")))]) : e._e(), !e.loading && !e.isInfiniteScroll ? n(s.BentoLoadingButton, { attrs: { state: s.BentoLoadingButtonState.START, variant: "secondary" }, on: { click: function(d) {
1000
972
  return e.$emit(s.BentoDatagridEvent.UPDATE_SHOW_MORE);
1001
973
  } } }, [e._v(e._s(e.$t("showMore")))]) : e._e()], 1);
1002
- }, es = [], ts = /* @__PURE__ */ M(
1003
- Kn,
1004
- Qn,
1005
- es,
974
+ }, ss = [], is = /* @__PURE__ */ M(
975
+ ts,
976
+ ns,
977
+ ss,
1006
978
  !1,
1007
979
  null,
1008
980
  "434be84c",
1009
981
  null,
1010
982
  null
1011
983
  );
1012
- const ns = ts.exports, ss = Symbol("data-grid-template injection key"), is = j({
1013
- i18n: { messages: Ae },
984
+ const ls = is.exports, he = (t, e) => {
985
+ const n = E(0);
986
+ let s = null;
987
+ const d = () => {
988
+ t != null && t.value && e.value && (n.value = t.value.offsetHeight);
989
+ };
990
+ return Se(() => {
991
+ G(() => {
992
+ const a = B(
993
+ t,
994
+ () => {
995
+ t != null && t.value && (G(() => a()), s = Te(t.value, () => {
996
+ d();
997
+ }));
998
+ },
999
+ { immediate: !0 }
1000
+ );
1001
+ B(
1002
+ e,
1003
+ () => {
1004
+ e.value ? d() : n.value = 0;
1005
+ },
1006
+ { immediate: !0 }
1007
+ );
1008
+ });
1009
+ }), Le(() => {
1010
+ s == null || s.disconnect();
1011
+ }), n;
1012
+ }, as = Symbol("data-grid-template injection key"), os = j({
1013
+ i18n: { messages: we },
1014
1014
  name: "bento-data-grid",
1015
1015
  components: {
1016
+ BentoActionBar: yt,
1016
1017
  BentoCheckbox: Ee,
1017
- BentoDataGridConfigSettings: qn,
1018
- BentoEmptyState: Rt,
1018
+ BentoDataGridConfigSettings: Qn,
1019
+ BentoEmptyState: Et,
1019
1020
  BentoLoadingIndicator: Re,
1020
- BentoPagination: Lt,
1021
- BentoFilterBar: J,
1022
- BentoTypography: ie,
1023
- DataGridColumns: Un,
1024
- DataGridLazyLoad: ns
1021
+ BentoPagination: Rt,
1022
+ BentoFilterBar: K,
1023
+ BentoTypography: le,
1024
+ DataGridColumns: $n,
1025
+ DataGridLazyLoad: ls
1025
1026
  },
1026
1027
  props: {
1028
+ /**
1029
+ * List of actions that will be rendered in the action bar when user selects items.
1030
+ *
1031
+ * Each object in the list should have a `title`, an `event` and,
1032
+ * optionally, an `icon`.
1033
+ *
1034
+ * The component will display 4 actions and the hide the rest inside a menu.
1035
+ *
1036
+ * @see BentoButton for a list of all the other props supported by each button action.
1037
+ */
1038
+ bulkActions: {
1039
+ type: Array,
1040
+ default: null
1041
+ },
1027
1042
  /**
1028
1043
  * When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
1029
1044
  */
@@ -1069,7 +1084,7 @@ const ns = ts.exports, ss = Symbol("data-grid-template injection key"), is = j({
1069
1084
  * {@see BentoFilterBarModel}
1070
1085
  */
1071
1086
  filters: {
1072
- type: J.props.value.type,
1087
+ type: K.props.value.type,
1073
1088
  default: void 0
1074
1089
  },
1075
1090
  /**
@@ -1077,14 +1092,14 @@ const ns = ts.exports, ss = Symbol("data-grid-template injection key"), is = j({
1077
1092
  * {@see BentoFilterValues}
1078
1093
  */
1079
1094
  filterValues: {
1080
- type: J.props.filterValues.type,
1095
+ type: K.props.filterValues.type,
1081
1096
  default: () => []
1082
1097
  },
1083
1098
  /**
1084
1099
  * Filter bar search term useful to filter all the data by text
1085
1100
  */
1086
1101
  filterSearchTerm: {
1087
- type: J.props.searchTerm.type,
1102
+ type: K.props.searchTerm.type,
1088
1103
  default: void 0
1089
1104
  },
1090
1105
  /**
@@ -1221,265 +1236,272 @@ const ns = ts.exports, ss = Symbol("data-grid-template injection key"), is = j({
1221
1236
  m.SORT
1222
1237
  ],
1223
1238
  setup(t, { emit: e, slots: n }) {
1224
- const s = y(null), c = y(), l = y(null), C = y(null), _ = y(), g = y(0), d = y(null), { allowColumnDragAndDrop: u, columns: a, data: b, lazyLoadType: r, selectable: h, selection: S } = se(t), { t: A } = Te(), { isLazyLoad: T, isInfiniteScroll: v, verticalScrollPosition: N, emitLazyLoadEvent: i } = Xt(
1239
+ const s = E(null), d = E(), a = E(null), C = E(null), _ = E(), g = E(0), c = E(null), { allowColumnDragAndDrop: u, columns: o, data: h, lazyLoadType: r, selectable: b, selection: S } = ie(t), { t: A } = Ie(), { isLazyLoad: T, isInfiniteScroll: v, verticalScrollPosition: w, emitLazyLoadEvent: i } = Kt(
1225
1240
  r,
1226
- d,
1241
+ c,
1227
1242
  s,
1228
1243
  e
1229
- ), f = re(
1230
- ss,
1244
+ ), f = de(
1245
+ as,
1231
1246
  () => ({
1232
1247
  isDataGridTemplate: !1,
1233
- stickyTabs: y(!1),
1234
- tabsRef: y(null)
1248
+ stickyTabs: E(!1),
1249
+ tabsRef: E(null)
1235
1250
  })
1236
- ), { isDataGridTemplate: p, stickyTabs: O, tabsRef: w } = f(), { columnDefs: I, onColumnWidthOverride: z, gridColumnWidthStyle: Y, isMeasuringColumnWidths: X } = Ht(a, b, s, l, {
1237
- hasSelectableColumn: h
1238
- }), H = ue(w, O), q = E(
1251
+ ), { isDataGridTemplate: p, stickyTabs: I, tabsRef: N } = f(), { columnDefs: O, onColumnWidthOverride: z, gridColumnWidthStyle: Y, isMeasuringColumnWidths: X } = Yt(o, h, s, a, {
1252
+ hasSelectableColumn: b
1253
+ }), H = he(N, I), q = L(
1239
1254
  () => t.stickyFilters ? `${H.value}px` : null
1240
- ), Ne = ue(C, Le(t, "stickyFilters")), we = E(
1255
+ ), Ne = he(C, ye(t, "stickyFilters")), Pe = L(
1241
1256
  () => `${Ne.value + H.value}px`
1242
1257
  ), {
1243
- sortedColumns: Pe,
1244
- columnSets: te,
1245
- isOnlyOneVisibleColumn: Ue,
1246
- onConfigSettingsUpdate: De,
1247
- onConfigSettingsColumnsUpdate: Me,
1248
- onConfigSettingsColumnUpdate: $e
1249
- } = Jt(I, e), { draggingColumns: $, draggingEventsForColumns: ze, draggingEventsForRowCell: le, onMoveColumnByOffset: xe } = qt(Pe, u, e), { onAllRowSelect: Fe, onRowSelect: Ge, selectedItems: ae, allItemsSelectedState: We } = jt(
1258
+ sortedColumns: Ue,
1259
+ columnSets: ne,
1260
+ isOnlyOneVisibleColumn: De,
1261
+ onConfigSettingsUpdate: Me,
1262
+ onConfigSettingsColumnsUpdate: $e,
1263
+ onConfigSettingsColumnUpdate: ze
1264
+ } = en(O, e), { draggingColumns: $, draggingEventsForColumns: xe, draggingEventsForRowCell: ae, onMoveColumnByOffset: Fe } = Qt(Ue, u, e), { onAllRowSelect: Ge, onRowSelect: We, selectedItems: J, allItemsSelectedState: ke } = qt(
1250
1265
  S,
1251
1266
  e,
1252
- b,
1267
+ h,
1253
1268
  t.getDataItemId,
1254
1269
  t.isDataItemDisabled
1255
- ), ke = E(() => t.fitContent || p ? 0 : null), Be = E(() => ({
1256
- [`b-data-grid--${Q.OUTLINE}`]: t.outline,
1257
- [`b-data-grid--${Q.SCROLL}`]: t.fitContent || T.value,
1258
- [`b-data-grid--${Q.STICKY_FILTERS}`]: t.filters && t.stickyFilters
1259
- })), Ve = E(() => te.value.findIndex((o) => o.columnSet.length)), He = (o) => {
1260
- var L;
1270
+ ), Be = L(() => t.fitContent || p ? 0 : null), oe = L(() => {
1271
+ var l;
1272
+ return ((l = J.value) == null ? void 0 : l.length) ?? 0;
1273
+ }), Ve = L(() => t.bulkActions && oe.value > 0), He = L(() => ({
1274
+ [`b-data-grid--${ee.OUTLINE}`]: t.outline,
1275
+ [`b-data-grid--${ee.SCROLL}`]: t.fitContent || T.value,
1276
+ [`b-data-grid--${ee.STICKY_FILTERS}`]: t.filters && t.stickyFilters
1277
+ })), Ze = L(() => ne.value.findIndex((l) => l.columnSet.length)), je = (l) => {
1278
+ var y;
1261
1279
  return {
1262
- "b-data-grid__row--disabled": t.isDataItemDisabled(o),
1280
+ "b-data-grid__row--disabled": t.isDataItemDisabled(l),
1263
1281
  "b-data-grid__row--row-clicks-enabled": t.allowRowClicks,
1264
- "b-data-grid__cell--is-re-ordering": ((L = $.target) == null ? void 0 : L.field) !== void 0,
1265
- "b-data-grid__row--highlighted": t.highlightedRows.includes(t.getDataItemId(o))
1282
+ "b-data-grid__cell--is-re-ordering": ((y = $.target) == null ? void 0 : y.field) !== void 0,
1283
+ "b-data-grid__row--highlighted": t.highlightedRows.includes(t.getDataItemId(l)) || J.value.includes(t.getDataItemId(l))
1266
1284
  };
1267
- }, Ze = (o) => ({
1268
- "b-data-grid__row-cell-set--frozen": o,
1269
- "b-data-grid__row-cell-set--unfrozen": !o,
1270
- "b-data-grid__row-cell-set--config-settings-margin": !o && t.columnPanel
1271
- }), je = (o) => {
1272
- var L, P, U, k, Z;
1285
+ }, Ye = (l) => ({
1286
+ "b-data-grid__row-cell-set--frozen": l,
1287
+ "b-data-grid__row-cell-set--unfrozen": !l,
1288
+ "b-data-grid__row-cell-set--config-settings-margin": !l && t.columnPanel
1289
+ }), Xe = (l) => {
1290
+ var y, P, U, k, Z;
1273
1291
  return {
1274
- "b-data-grid__cell--padding-left-unset": ((L = o == null ? void 0 : o.padding) == null ? void 0 : L.left) === !1,
1275
- "b-data-grid__cell--padding-right-unset": ((P = o == null ? void 0 : o.padding) == null ? void 0 : P.right) === !1,
1276
- "b-data-grid__cell--numeric": o == null ? void 0 : o.numeric,
1292
+ "b-data-grid__cell--padding-left-unset": ((y = l == null ? void 0 : l.padding) == null ? void 0 : y.left) === !1,
1293
+ "b-data-grid__cell--padding-right-unset": ((P = l == null ? void 0 : l.padding) == null ? void 0 : P.right) === !1,
1294
+ "b-data-grid__cell--numeric": l == null ? void 0 : l.numeric,
1277
1295
  "b-data-grid__cell--condensed": t.condensed,
1278
- "b-data-grid__cell--frozen": o == null ? void 0 : o.frozen,
1279
- [`b-data-grid__cell--overflow-${K.ELLIPSIS}`]: (o == null ? void 0 : o.overflow) === K.ELLIPSIS,
1280
- "b-data-grid__cell--is-column-re-ordering": ((U = $.dragging) == null ? void 0 : U.field) === o.field,
1281
- "b-data-grid__cell--is-column-re-order-target-left": ((k = $.target) == null ? void 0 : k.field) === o.field && ($ == null ? void 0 : $.dragToLeft),
1282
- "b-data-grid__cell--is-column-re-order-target-right": ((Z = $.target) == null ? void 0 : Z.field) === o.field && !($ != null && $.dragToLeft)
1296
+ "b-data-grid__cell--frozen": l == null ? void 0 : l.frozen,
1297
+ [`b-data-grid__cell--overflow-${Q.ELLIPSIS}`]: (l == null ? void 0 : l.overflow) === Q.ELLIPSIS,
1298
+ "b-data-grid__cell--is-column-re-ordering": ((U = $.dragging) == null ? void 0 : U.field) === l.field,
1299
+ "b-data-grid__cell--is-column-re-order-target-left": ((k = $.target) == null ? void 0 : k.field) === l.field && ($ == null ? void 0 : $.dragToLeft),
1300
+ "b-data-grid__cell--is-column-re-order-target-right": ((Z = $.target) == null ? void 0 : Z.field) === l.field && !($ != null && $.dragToLeft)
1283
1301
  };
1284
- }, Ye = (o, L) => (o == null ? void 0 : o.overflow) === K.ELLIPSIS ? `${L}` : void 0, Xe = (o) => o ?? "-", qe = (o, L, P) => {
1302
+ }, qe = (l, y) => (l == null ? void 0 : l.overflow) === Q.ELLIPSIS ? `${y}` : void 0, Je = (l) => l ?? "-", Ke = (l, y, P) => {
1285
1303
  var U;
1286
- ((U = l.value) == null ? void 0 : U[L]) === void 0 && (l.value = { ...l.value, [L]: [] }), l.value[L][P] = o;
1287
- }, Je = E(() => {
1288
- var o, L, P, U, k, Z;
1304
+ ((U = a.value) == null ? void 0 : U[y]) === void 0 && (a.value = { ...a.value, [y]: [] }), a.value[y][P] = l;
1305
+ }, Qe = L(() => {
1306
+ var l, y, P, U, k, Z;
1289
1307
  return {
1290
- "b-data-grid__pagination--padding-left-unset": ((P = (L = (o = t.columns) == null ? void 0 : o[0]) == null ? void 0 : L.padding) == null ? void 0 : P.left) === !1,
1308
+ "b-data-grid__pagination--padding-left-unset": ((P = (y = (l = t.columns) == null ? void 0 : l[0]) == null ? void 0 : y.padding) == null ? void 0 : P.left) === !1,
1291
1309
  "b-data-grid__pagination--padding-right-unset": ((Z = (k = (U = t.columns) == null ? void 0 : U[t.columns.length - 1]) == null ? void 0 : k.padding) == null ? void 0 : Z.right) === !1,
1292
1310
  "b-data-grid__pagination--sticky": !!t.stickyPagination || p
1293
1311
  };
1294
- }), Ke = E(() => {
1295
- var o;
1312
+ }), et = L(() => {
1313
+ var l;
1296
1314
  return {
1297
- height: `${(o = c.value) == null ? void 0 : o.clientHeight}px`
1315
+ height: `${(l = d.value) == null ? void 0 : l.clientHeight}px`
1298
1316
  };
1299
- }), Qe = St({
1300
- label: n != null && n.header ? Et(n)("header") : null,
1317
+ }), tt = Ot({
1318
+ label: n != null && n.header ? It(n)("header") : null,
1301
1319
  defaultFallback: "data grid"
1302
- }), et = (o) => {
1320
+ }), nt = (l) => {
1303
1321
  if (!t.selectable)
1304
1322
  return null;
1305
- const L = t.getDataItemId(o);
1306
- return ae.value.includes(L).toString();
1307
- }, tt = (o) => e(m.COLUMN_RESIZE, o), nt = (o) => {
1308
- e(m.UPDATE_SORT_BY, o), e(m.SORT, o);
1309
- }, st = (o) => {
1310
- e(m.NAVIGATE, o), e(m.UPDATE_PAGINATION, {
1323
+ const y = t.getDataItemId(l);
1324
+ return J.value.includes(y).toString();
1325
+ }, st = (l) => e(m.COLUMN_RESIZE, l), it = (l) => {
1326
+ e(m.UPDATE_SORT_BY, l), e(m.SORT, l);
1327
+ }, lt = (l) => {
1328
+ e(m.NAVIGATE, l), e(m.UPDATE_PAGINATION, {
1311
1329
  ...t.pagination,
1312
- page: o
1330
+ page: l
1313
1331
  });
1314
- }, it = (o) => e(m.ITEMS_PAGE, o), lt = () => {
1332
+ }, at = (l) => e(m.ITEMS_PAGE, l), ot = () => {
1315
1333
  e(m.FILTER_SEARCH_CLEAR);
1316
- }, at = (o) => {
1317
- e(m.UPDATE_FILTER_SEARCH_TERM, o), e(m.FILTER_SEARCH_INPUT, o);
1318
- }, ot = () => {
1334
+ }, rt = (l) => {
1335
+ e(m.UPDATE_FILTER_SEARCH_TERM, l), e(m.FILTER_SEARCH_INPUT, l);
1336
+ }, dt = () => {
1319
1337
  _.value.isClearAllVisible ? _.value.clearAllFilters() : _.value.isResetAllVisible && _.value.resetAllFilters();
1320
- }, rt = E(() => {
1321
- var o, L;
1338
+ }, ct = L(() => {
1339
+ var l, y;
1322
1340
  return {
1323
1341
  ...t.emptyState,
1324
- variant: ((o = t.emptyState) == null ? void 0 : o.variant) === "embedded" || ((L = t.emptyState) == null ? void 0 : L.variant) === "basic" ? t.emptyState.variant : "basic"
1342
+ variant: ((l = t.emptyState) == null ? void 0 : l.variant) === "embedded" || ((y = t.emptyState) == null ? void 0 : y.variant) === "basic" ? t.emptyState.variant : "basic"
1325
1343
  };
1326
- }), dt = (o, L) => {
1327
- t.allowRowClicks && e(m.ROW_CLICK, o, L);
1328
- }, ct = E(() => {
1329
- const o = a.value.filter(({ visible: L }) => L !== !1);
1330
- return h.value ? o.length + 1 : o.length;
1331
- }), ut = E(
1332
- () => [...Object.values(l.value)].flat(1).sort((o, L) => {
1333
- const P = Number(o.getAttribute("data-cellindex")), U = Number(L.getAttribute("data-cellindex"));
1344
+ }), ut = (l, y) => {
1345
+ t.allowRowClicks && e(m.ROW_CLICK, l, y);
1346
+ }, _t = L(() => {
1347
+ const l = o.value.filter(({ visible: y }) => y !== !1);
1348
+ return b.value ? l.length + 1 : l.length;
1349
+ }), ft = L(
1350
+ () => [...Object.values(a.value)].flat(1).sort((l, y) => {
1351
+ const P = Number(l.getAttribute("data-cellindex")), U = Number(y.getAttribute("data-cellindex"));
1334
1352
  return P > U ? 1 : U > P ? -1 : 0;
1335
1353
  })
1336
- ), { focusOnNextGridcell: _t, isNavigationKeyCode: ft } = Yt(ut, ct), gt = (o) => {
1337
- const { ctrlKey: L, keyCode: P, target: U } = o;
1338
- Object.values(l.value).flat(1).includes(U) && ft(P) && _t(U, P, L);
1354
+ ), { focusOnNextGridcell: gt, isNavigationKeyCode: Ct } = Jt(ft, _t), vt = (l) => {
1355
+ const { ctrlKey: y, keyCode: P, target: U } = l;
1356
+ Object.values(a.value).flat(1).includes(U) && Ct(P) && gt(U, P, y);
1339
1357
  };
1340
1358
  B(
1341
1359
  () => g.value,
1342
1360
  () => {
1343
- s.value.scrollLeft = g.value, c.value.scrollLeft = g.value;
1361
+ s.value.scrollLeft = g.value, d.value.scrollLeft = g.value;
1344
1362
  }
1345
1363
  );
1346
- const Ct = (o) => {
1347
- g.value = o.target.scrollLeft, N.value = s.value.scrollHeight - o.target.scrollTop;
1348
- }, vt = () => {
1364
+ const mt = (l) => {
1365
+ g.value = l.target.scrollLeft, w.value = s.value.scrollHeight - l.target.scrollTop;
1366
+ }, bt = () => {
1349
1367
  s.value.scrollLeft = 0, s.value.style.overflowX = "hidden", setTimeout(() => {
1350
1368
  s.value.style.overflowX = "auto";
1351
1369
  });
1352
- }, mt = (o) => {
1353
- const L = {
1354
- ...le.value(o)
1370
+ }, pt = (l) => {
1371
+ const y = {
1372
+ ...ae.value(l)
1355
1373
  };
1356
- return o.frozen && (L.focus = vt), L;
1357
- }, oe = (o, L) => o + te.value.length * L, pt = (o, L, P) => a.value.length * o + oe(L, P);
1358
- return E(() => a.value.some((o) => o.mandatory)).value || yt(
1374
+ return l.frozen && (y.focus = bt), y;
1375
+ }, re = (l, y) => l + ne.value.length * y, ht = (l, y, P) => o.value.length * l + re(y, P);
1376
+ return L(() => o.value.some((l) => l.mandatory)).value || Tt(
1359
1377
  "WARNING: At least one BentoDataGrid column should be set as mandatory to ensure data is always displayed correctly."
1360
- ), re(Tt, () => null)(t.tabTitle), {
1378
+ ), de(At, () => null)(t.tabTitle), {
1361
1379
  // Refs
1362
1380
  body: s,
1363
- columnDefs: I,
1364
- columnSets: te,
1365
- gridcellRefs: l,
1381
+ columnDefs: O,
1382
+ columnSets: ne,
1383
+ gridcellRefs: a,
1366
1384
  filtersRef: C,
1367
1385
  // Calculate dynamic top position for sticky elements
1368
1386
  computedStickyFiltersTopPosition: q,
1369
- computedColumnHeadersTopPosition: we,
1387
+ computedColumnHeadersTopPosition: Pe,
1370
1388
  // Column width auto
1371
1389
  isMeasuringColumnWidths: X,
1372
1390
  // $scopedSlots/$slots children
1373
1391
  slots: n,
1374
1392
  // Labels and text
1375
- ariaGridHeaderText: Qe,
1376
- conditionalTitleAttribute: Ye,
1377
- getRowData: Xe,
1393
+ ariaGridHeaderText: tt,
1394
+ conditionalTitleAttribute: qe,
1395
+ getRowData: Je,
1378
1396
  // Styles and classes
1379
1397
  gridColumnWidthStyle: Y,
1380
- conditionalGridClasses: Be,
1381
- conditionalRowClasses: He,
1382
- conditionalRowSetClasses: Ze,
1383
- conditionalRowCellClasses: je,
1384
- conditionalPaginationClasses: Je,
1398
+ conditionalGridClasses: He,
1399
+ conditionalRowClasses: je,
1400
+ conditionalRowSetClasses: Ye,
1401
+ conditionalRowCellClasses: Xe,
1402
+ conditionalPaginationClasses: Qe,
1385
1403
  // Empty state
1386
- limitedEmptyStateProps: rt,
1404
+ limitedEmptyStateProps: ct,
1387
1405
  // Resizing
1388
1406
  onColumnWidthOverride: z,
1389
- onColumnResized: tt,
1407
+ onColumnResized: st,
1390
1408
  // Sorting
1391
- onSort: nt,
1409
+ onSort: it,
1392
1410
  // Select
1393
- allItemsSelectedState: We,
1394
- selectedItems: ae,
1395
- onAllRowSelect: Fe,
1396
- onRowSelect: Ge,
1411
+ allItemsSelectedState: ke,
1412
+ selectedItems: J,
1413
+ onAllRowSelect: Ge,
1414
+ onRowSelect: We,
1397
1415
  DATAGRID_SELECT_FIELD_NAME: V,
1398
- onRowClick: dt,
1399
- getRowAriaSelectedValue: et,
1416
+ onRowClick: ut,
1417
+ getRowAriaSelectedValue: nt,
1418
+ itemsSelectedCounter: oe,
1419
+ showActionBar: Ve,
1400
1420
  // Config settings (and column updating)
1401
- onConfigSettingsUpdate: De,
1402
- onConfigSettingsColumnsUpdate: Me,
1403
- onConfigSettingsColumnUpdate: $e,
1404
- columnsRef: c,
1405
- configSettingsButtonStyle: Ke,
1406
- isOnlyOneVisibleColumn: Ue,
1407
- computedColumnsTabIndex: ke,
1421
+ onConfigSettingsUpdate: Me,
1422
+ onConfigSettingsColumnsUpdate: $e,
1423
+ onConfigSettingsColumnUpdate: ze,
1424
+ columnsRef: d,
1425
+ configSettingsButtonStyle: et,
1426
+ isOnlyOneVisibleColumn: De,
1427
+ computedColumnsTabIndex: Be,
1408
1428
  // Enums
1409
1429
  BentoDatagridSortDirection: W,
1410
1430
  BentoDatagridEvent: m,
1411
1431
  // Pagination props and events
1412
- onPaginationNavigate: st,
1413
- onItemsPerPageChange: it,
1432
+ onPaginationNavigate: lt,
1433
+ onItemsPerPageChange: at,
1414
1434
  // Filterbar
1415
1435
  filterBarRef: _,
1416
- onEmptyStateClearResetButtonClick: ot,
1417
- onSearchTermCleared: lt,
1418
- onSearchTermInput: at,
1436
+ onEmptyStateClearResetButtonClick: dt,
1437
+ onSearchTermCleared: ot,
1438
+ onSearchTermInput: rt,
1419
1439
  // Re-ordering columns
1420
- onMoveColumnByOffset: xe,
1440
+ onMoveColumnByOffset: Fe,
1421
1441
  draggingColumns: $,
1422
- draggingEventsForColumns: ze,
1423
- draggingEventsForRowCell: le,
1442
+ draggingEventsForColumns: xe,
1443
+ draggingEventsForRowCell: ae,
1424
1444
  // Sync body and column headers scrolling
1425
- updateScrollPosition: Ct,
1445
+ updateScrollPosition: mt,
1426
1446
  // Lazy loading/infinite scrolling
1427
1447
  isLazyLoad: T,
1428
1448
  isInfiniteScroll: v,
1429
1449
  emitLazyLoadEvent: i,
1430
1450
  // Leftmost column panel alignment
1431
- computedColumnPanelAlignment: Ve,
1451
+ computedColumnPanelAlignment: Ze,
1432
1452
  // Gridcells events
1433
- gridcellEvents: mt,
1434
- registerRowCellRef: qe,
1453
+ gridcellEvents: pt,
1454
+ registerRowCellRef: Ke,
1435
1455
  // Keyboard navigation
1436
- getCellindex: pt,
1437
- getColIndex: oe,
1438
- navigationInput: gt,
1456
+ getCellindex: ht,
1457
+ getColIndex: re,
1458
+ navigationInput: vt,
1439
1459
  // Translations
1440
1460
  t: A
1441
1461
  };
1442
1462
  }
1443
1463
  });
1444
- var ls = function() {
1464
+ var rs = function() {
1445
1465
  var s;
1446
1466
  var e = this, n = e._self._c;
1447
- return e._self._setupProxy, n("div", { staticClass: "b-data-grid", class: e.conditionalGridClasses, attrs: { role: "grid", "aria-rowcount": e.data.length, "aria-colcount": e.columns.length, "aria-label": e.ariaGridHeaderText } }, [e.filters ? n("div", { ref: "filtersRef", staticClass: "b-data-grid__filters", style: { top: e.computedStickyFiltersTopPosition } }, [e.filters ? n("bento-filter-bar", { ref: "filterBarRef", attrs: { config: e.filters, "filter-values": e.filterValues, "search-term": e.filterSearchTerm }, on: { "search-input": e.onSearchTermInput, "search-clear": e.onSearchTermCleared, input: (c) => e.$emit(e.BentoDatagridEvent.UPDATE_FILTERS, c), "update:filter-values": (c) => e.$emit(e.BentoDatagridEvent.UPDATE_FILTER_VALUES, c) } }) : e._e()], 1) : e._e(), e.$slots.header ? n("div", { staticClass: "b-data-grid__header" }, [e._t("header")], 2) : e._e(), n("div", { staticClass: "b-data-grid__column-headers", style: { top: e.computedColumnHeadersTopPosition } }, [e.columnPanel ? n("bento-data-grid-config-settings", { staticClass: "b-data-grid__config-settings", style: e.configSettingsButtonStyle, attrs: { columns: e.columns, condensed: e.condensed }, on: { "config-settings": e.onConfigSettingsUpdate, "update:columns": e.onConfigSettingsColumnsUpdate } }) : e._e(), n("div", { ref: "columnsRef", staticClass: "b-data-grid__columns-row", attrs: { role: "rowgroup", tabindex: e.computedColumnsTabIndex }, on: { scroll: e.updateScrollPosition } }, [n("div", { staticClass: "b-data-grid__columns", style: e.gridColumnWidthStyle, attrs: { role: "row" } }, [e._l(e.columnSets, function({ columnSet: c, id: l, isFrozenColumns: C }, _) {
1448
- return [c != null && c.length ? n("data-grid-columns", e._g({ key: `data-grid-columns-${l}`, attrs: { columns: c, "has-resizable-columns": e.hasResizableColumns, "sort-by": e.sortBy, "all-items-selected-state": e.allItemsSelectedState, "is-frozen-columns": C, "dragging-columns": e.draggingColumns, "has-draggable-columns": e.allowColumnDragAndDrop, "has-column-panel": e.columnPanel, "has-first-column-panel-right-aligned": _ === e.computedColumnPanelAlignment, "is-only-one-visible-column": e.isOnlyOneVisibleColumn }, on: { "column-move": e.onMoveColumnByOffset, "column-update": e.onConfigSettingsColumnUpdate, "column-resize": e.onColumnResized, "column-resizing": e.onColumnWidthOverride, "select-all-rows": e.onAllRowSelect, sort: e.onSort }, scopedSlots: e._u([e._l(e.slots, function(g, d) {
1449
- return { key: d, fn: function(u) {
1450
- return [e._t(d, null, null, u)];
1467
+ return e._self._setupProxy, n("div", { staticClass: "b-data-grid", class: e.conditionalGridClasses, attrs: { role: "grid", "aria-rowcount": e.data.length, "aria-colcount": e.columns.length, "aria-label": e.ariaGridHeaderText } }, [e.filters ? n("div", { ref: "filtersRef", staticClass: "b-data-grid__filters", style: { top: e.computedStickyFiltersTopPosition } }, [e.filters ? n("bento-filter-bar", { ref: "filterBarRef", attrs: { config: e.filters, "filter-values": e.filterValues, "search-term": e.filterSearchTerm }, on: { "search-input": e.onSearchTermInput, "search-clear": e.onSearchTermCleared, input: (d) => e.$emit(e.BentoDatagridEvent.UPDATE_FILTERS, d), "update:filter-values": (d) => e.$emit(e.BentoDatagridEvent.UPDATE_FILTER_VALUES, d) } }) : e._e()], 1) : e._e(), e.$slots.header ? n("div", { staticClass: "b-data-grid__header" }, [e._t("header")], 2) : e._e(), n("div", { staticClass: "b-data-grid__column-headers", style: { top: e.computedColumnHeadersTopPosition } }, [e.columnPanel ? n("bento-data-grid-config-settings", { staticClass: "b-data-grid__config-settings", style: e.configSettingsButtonStyle, attrs: { columns: e.columns, condensed: e.condensed }, on: { "config-settings": e.onConfigSettingsUpdate, "update:columns": e.onConfigSettingsColumnsUpdate } }) : e._e(), n("div", { ref: "columnsRef", staticClass: "b-data-grid__columns-row", attrs: { role: "rowgroup", tabindex: e.computedColumnsTabIndex }, on: { scroll: e.updateScrollPosition } }, [n("div", { staticClass: "b-data-grid__columns", style: e.gridColumnWidthStyle, attrs: { role: "row" } }, [e._l(e.columnSets, function({ columnSet: d, id: a, isFrozenColumns: C }, _) {
1468
+ return [d != null && d.length ? n("data-grid-columns", e._g({ key: `data-grid-columns-${a}`, attrs: { columns: d, "has-resizable-columns": e.hasResizableColumns, "sort-by": e.sortBy, "all-items-selected-state": e.allItemsSelectedState, "is-frozen-columns": C, "dragging-columns": e.draggingColumns, "has-draggable-columns": e.allowColumnDragAndDrop, "has-column-panel": e.columnPanel, "has-first-column-panel-right-aligned": _ === e.computedColumnPanelAlignment, "is-only-one-visible-column": e.isOnlyOneVisibleColumn }, on: { "column-move": e.onMoveColumnByOffset, "column-update": e.onConfigSettingsColumnUpdate, "column-resize": e.onColumnResized, "column-resizing": e.onColumnWidthOverride, "select-all-rows": e.onAllRowSelect, sort: e.onSort }, scopedSlots: e._u([e._l(e.slots, function(g, c) {
1469
+ return { key: c, fn: function(u) {
1470
+ return [e._t(c, null, null, u)];
1451
1471
  } };
1452
1472
  })], null, !0) }, e.draggingEventsForColumns)) : e._e()];
1453
- })], 2)])], 1), n("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: e.updateScrollPosition } }, [e.loading && !e.isLazyLoad ? n("div", { staticClass: "b-data-grid__loading" }, [n("bento-loading-indicator", { staticClass: "b-data-grid__loading-indicator", attrs: { large: "" } }), n("bento-typography", { attrs: { el: "span", variant: "caption" } }, [e._v(e._s(e.t("gettingYourData")))])], 1) : ((s = e.data) == null ? void 0 : s.length) === 0 && e.emptyState ? n("div", { staticClass: "b-data-grid__empty-state" }, [n("bento-empty-state", e._b({}, "bento-empty-state", e.limitedEmptyStateProps, !1))], 1) : n("div", { staticClass: "b-data-grid__rows", attrs: { role: "rowgroup" }, on: { keydown: e.navigationInput } }, e._l(e.data, function(c, l) {
1454
- return n("div", { key: l, staticClass: "b-data-grid__row", class: e.conditionalRowClasses(c), style: e.gridColumnWidthStyle, attrs: { role: "row", "aria-rowindex": l + 1, "aria-selected": e.getRowAriaSelectedValue(c) }, on: { click: function(C) {
1455
- return e.onRowClick(c, C);
1456
- } } }, [e._l(e.columnSets, function({ columnSet: C, id: _, isFrozenColumns: g }, d) {
1457
- return [C != null && C.length ? n("div", { key: `data-grid-rows-${_}`, staticClass: "b-data-grid__cells", class: e.conditionalRowSetClasses(g), attrs: { "data-testid": `data-grid-${_}-rows` } }, e._l(C, function(u, a) {
1458
- return n("div", e._g({ key: `cell-${u.field}`, ref: (b) => e.registerRowCellRef(b, u.field, l), refInFor: !0, staticClass: "b-data-grid__cell", class: e.conditionalRowCellClasses(u), style: {
1473
+ })], 2)])], 1), n("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: e.updateScrollPosition } }, [e.loading && !e.isLazyLoad ? n("div", { staticClass: "b-data-grid__loading" }, [n("bento-loading-indicator", { staticClass: "b-data-grid__loading-indicator", attrs: { large: "" } }), n("bento-typography", { attrs: { el: "span", variant: "caption" } }, [e._v(e._s(e.t("gettingYourData")))])], 1) : ((s = e.data) == null ? void 0 : s.length) === 0 && e.emptyState ? n("div", { staticClass: "b-data-grid__empty-state" }, [n("bento-empty-state", e._b({}, "bento-empty-state", e.limitedEmptyStateProps, !1))], 1) : n("div", { staticClass: "b-data-grid__rows", attrs: { role: "rowgroup" }, on: { keydown: e.navigationInput } }, e._l(e.data, function(d, a) {
1474
+ return n("div", { key: a, staticClass: "b-data-grid__row", class: e.conditionalRowClasses(d), style: e.gridColumnWidthStyle, attrs: { role: "row", "aria-rowindex": a + 1, "aria-selected": e.getRowAriaSelectedValue(d) }, on: { click: function(C) {
1475
+ return e.onRowClick(d, C);
1476
+ } } }, [e._l(e.columnSets, function({ columnSet: C, id: _, isFrozenColumns: g }, c) {
1477
+ return [C != null && C.length ? n("div", { key: `data-grid-rows-${_}`, staticClass: "b-data-grid__cells", class: e.conditionalRowSetClasses(g), attrs: { "data-testid": `data-grid-${_}-rows` } }, e._l(C, function(u, o) {
1478
+ return n("div", e._g({ key: `cell-${u.field}`, ref: (h) => e.registerRowCellRef(h, u.field, a), refInFor: !0, staticClass: "b-data-grid__cell", class: e.conditionalRowCellClasses(u), style: {
1459
1479
  width: u.autoWidth && e.isMeasuringColumnWidths ? "auto" : `${u.width}px`
1460
- }, attrs: { "data-testid": `cell-${u.field}`, "data-cellindex": e.getCellindex(l, a, d), role: "gridcell", tabindex: e.getCellindex(l, a, d) === 0 ? "0" : "-1", "aria-colindex": e.getColIndex(a, d) + 1 } }, e.gridcellEvents(u)), [u.field !== e.DATAGRID_SELECT_FIELD_NAME ? [n("bento-typography", { attrs: { el: "div" } }, [e._t(`item-${u.field}`, function() {
1461
- return [n("span", { attrs: { title: e.conditionalTitleAttribute(u, c[u.field]) } }, [e._v(e._s(e.getRowData(c[u.field])))])];
1462
- }, { item: c })], 2)] : [n("bento-checkbox", { attrs: { "aria-label": e.t("selectRow"), "model-value": e.selectedItems, disabled: e.isDataItemDisabled(c), value: e.getDataItemId(c) }, on: { "update:model-value": e.onRowSelect } })]], 2);
1480
+ }, attrs: { "data-testid": `cell-${u.field}`, "data-cellindex": e.getCellindex(a, o, c), role: "gridcell", tabindex: e.getCellindex(a, o, c) === 0 ? "0" : "-1", "aria-colindex": e.getColIndex(o, c) + 1 } }, e.gridcellEvents(u)), [u.field !== e.DATAGRID_SELECT_FIELD_NAME ? [n("bento-typography", { attrs: { el: "div" } }, [e._t(`item-${u.field}`, function() {
1481
+ return [n("span", { attrs: { title: e.conditionalTitleAttribute(u, d[u.field]) } }, [e._v(e._s(e.getRowData(d[u.field])))])];
1482
+ }, { item: d })], 2)] : [n("bento-checkbox", { attrs: { "aria-label": e.t("selectRow"), "model-value": e.selectedItems, disabled: e.isDataItemDisabled(d), value: e.getDataItemId(d) }, on: { "update:model-value": e.onRowSelect } })]], 2);
1463
1483
  }), 0) : e._e()];
1464
1484
  })], 2);
1465
- }), 0)]), e.isLazyLoad ? n("data-grid-lazy-load", { attrs: { loading: e.loading, "is-infinite-scroll": e.isInfiniteScroll }, on: { "update:show-more": e.emitLazyLoadEvent } }) : e._e(), e.pagination && !e.isLazyLoad ? n("div", { staticClass: "b-data-grid__pagination", class: e.conditionalPaginationClasses, attrs: { "data-testid": "pagination-container" } }, [n("bento-pagination", e._b({ attrs: { "aria-label": `${e.ariaGridHeaderText} navigation` }, on: { navigate: e.onPaginationNavigate, "items-page": e.onItemsPerPageChange } }, "bento-pagination", e.pagination, !1))], 1) : e._e(), e.$slots.footer ? n("div", { staticClass: "b-data-grid__footer" }, [e._t("footer")], 2) : e._e()], 1);
1466
- }, as = [], os = /* @__PURE__ */ M(
1467
- is,
1468
- ls,
1469
- as,
1485
+ }), 0)]), e.isLazyLoad ? n("data-grid-lazy-load", { attrs: { loading: e.loading, "is-infinite-scroll": e.isInfiniteScroll }, on: { "update:show-more": e.emitLazyLoadEvent } }) : e._e(), e.pagination && !e.isLazyLoad ? n("div", { staticClass: "b-data-grid__pagination", class: e.conditionalPaginationClasses, attrs: { "data-testid": "pagination-container" } }, [n("bento-pagination", e._b({ attrs: { "aria-label": `${e.ariaGridHeaderText} navigation` }, on: { navigate: e.onPaginationNavigate, "items-page": e.onItemsPerPageChange } }, "bento-pagination", e.pagination, !1))], 1) : e._e(), e.$slots.footer ? n("div", { staticClass: "b-data-grid__footer" }, [e._t("footer")], 2) : e._e(), e.showActionBar ? n("bento-action-bar", { attrs: { actions: e.bulkActions, "item-counter": e.itemsSelectedCounter, "extra-bottom-spacing": e.stickyPagination }, on: { close: function(d) {
1486
+ return e.onAllRowSelect(!1);
1487
+ } } }) : e._e()], 1);
1488
+ }, ds = [], cs = /* @__PURE__ */ M(
1489
+ os,
1490
+ rs,
1491
+ ds,
1470
1492
  !1,
1471
1493
  null,
1472
- "bc7d42fc",
1494
+ "1e3bb939",
1473
1495
  null,
1474
1496
  null
1475
1497
  );
1476
- const xs = os.exports;
1498
+ const ks = cs.exports;
1477
1499
  export {
1478
- K as BentoColumnOverflow,
1479
- xs as BentoDataGrid,
1480
- ee as BentoDatagridAriaSortValue,
1500
+ Q as BentoColumnOverflow,
1501
+ ks as BentoDataGrid,
1502
+ te as BentoDatagridAriaSortValue,
1481
1503
  m as BentoDatagridEvent,
1482
1504
  W as BentoDatagridSortDirection,
1483
- Q as BentoDatagridStyleState
1505
+ ee as BentoDatagridStyleState
1484
1506
  };
1485
1507
  //# sourceMappingURL=data-grid.js.map