@adyen/bento-vue2 1.58.0 → 1.59.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 (178) hide show
  1. package/dist/@types/index.d.ts +30 -0
  2. package/dist/action-bar.js +1 -1
  3. package/dist/assets/accordion-item.css +1 -1
  4. package/dist/assets/action-bar.css +1 -1
  5. package/dist/assets/base-modal.css +1 -1
  6. package/dist/assets/calendar.css +1 -1
  7. package/dist/assets/card.css +1 -1
  8. package/dist/assets/data-grid.css +1 -1
  9. package/dist/assets/date-range-picker.css +1 -1
  10. package/dist/assets/dialog-page.css +1 -1
  11. package/dist/assets/file-uploader.css +1 -1
  12. package/dist/assets/filter-bar.css +1 -1
  13. package/dist/assets/header.css +1 -1
  14. package/dist/assets/inspector.css +1 -1
  15. package/dist/assets/menu.css +1 -1
  16. package/dist/assets/modal-fullscreen.css +1 -1
  17. package/dist/assets/popover.css +1 -1
  18. package/dist/assets/sidepanel.css +1 -1
  19. package/dist/checkbox.js +2 -2
  20. package/dist/chip.js +1 -1
  21. package/dist/chunks/{action-bar.CErJh_wJ.js → action-bar.CHVePTM6.js} +3 -3
  22. package/dist/chunks/{action-bar.CErJh_wJ.js.map → action-bar.CHVePTM6.js.map} +1 -1
  23. package/dist/chunks/{base-modal.D4x_tmYO.js → base-modal.DxywEyGO.js} +2 -2
  24. package/dist/chunks/{base-modal.D4x_tmYO.js.map → base-modal.DxywEyGO.js.map} +1 -1
  25. package/dist/chunks/{button-actions-with-menu.BHmj0Xvn.js → button-actions-with-menu.Bh5D7sgB.js} +3 -3
  26. package/dist/chunks/{button-actions-with-menu.BHmj0Xvn.js.map → button-actions-with-menu.Bh5D7sgB.js.map} +1 -1
  27. package/dist/chunks/{calendar.C7onA58P.js → calendar.C4vFYvsY.js} +3 -3
  28. package/dist/chunks/{calendar.C7onA58P.js.map → calendar.C4vFYvsY.js.map} +1 -1
  29. package/dist/chunks/{checkbox-group.Bev3ogYa.js → checkbox-group.BfPZ_Eec.js} +4 -4
  30. package/dist/chunks/{checkbox-group.Bev3ogYa.js.map → checkbox-group.BfPZ_Eec.js.map} +1 -1
  31. package/dist/chunks/{checkbox.DCIphKqu.js → checkbox.CTeT6JEP.js} +3 -3
  32. package/dist/chunks/{checkbox.DCIphKqu.js.map → checkbox.CTeT6JEP.js.map} +1 -1
  33. package/dist/chunks/{chip.BeK9uqmW.js → chip.bZEhHfIk.js} +21 -24
  34. package/dist/chunks/chip.bZEhHfIk.js.map +1 -0
  35. package/dist/chunks/{code-snippet.BjtPvt9m.js → code-snippet.0x8O1dkV.js} +4 -4
  36. package/dist/chunks/{code-snippet.BjtPvt9m.js.map → code-snippet.0x8O1dkV.js.map} +1 -1
  37. package/dist/chunks/{controls-group.CtpaKQIg.js → controls-group.CvpddKxq.js} +2 -2
  38. package/dist/chunks/{controls-group.CtpaKQIg.js.map → controls-group.CvpddKxq.js.map} +1 -1
  39. package/dist/chunks/{copy.BggvtZCO.js → copy.TvI9Au3G.js} +3 -3
  40. package/dist/chunks/{copy.BggvtZCO.js.map → copy.TvI9Au3G.js.map} +1 -1
  41. package/dist/chunks/{dashboard-section.D9LPEZ88.js → dashboard-section.C5zXN82c.js} +2 -2
  42. package/dist/chunks/{dashboard-section.D9LPEZ88.js.map → dashboard-section.C5zXN82c.js.map} +1 -1
  43. package/dist/chunks/{dashed-underline.DGRnOVkG.js → dashed-underline.pd87ohFZ.js} +3 -3
  44. package/dist/chunks/{dashed-underline.DGRnOVkG.js.map → dashed-underline.pd87ohFZ.js.map} +1 -1
  45. package/dist/chunks/{data-grid-template.CwqfhYua.js → data-grid-template.l-aJapU0.js} +2 -2
  46. package/dist/chunks/{data-grid-template.CwqfhYua.js.map → data-grid-template.l-aJapU0.js.map} +1 -1
  47. package/dist/chunks/{data-grid.Dl3xh62_.js → data-grid.vFEU_kt8.js} +965 -940
  48. package/dist/chunks/data-grid.vFEU_kt8.js.map +1 -0
  49. package/dist/chunks/{date-picker.DgF85qSC.js → date-picker.DjbZAEcj.js} +15 -15
  50. package/dist/chunks/{date-picker.DgF85qSC.js.map → date-picker.DjbZAEcj.js.map} +1 -1
  51. package/dist/chunks/{date-range-picker.CAQY6v7g.js → date-range-picker.C1ijTRdf.js} +388 -389
  52. package/dist/chunks/date-range-picker.C1ijTRdf.js.map +1 -0
  53. package/dist/chunks/{dropdown-tag.Cn6lz_lG.js → dropdown-tag.CXY_WiRj.js} +3 -3
  54. package/dist/chunks/{dropdown-tag.Cn6lz_lG.js.map → dropdown-tag.CXY_WiRj.js.map} +1 -1
  55. package/dist/chunks/{dropdown.C01pOog2.js → dropdown.DYN8Okpo.js} +19 -19
  56. package/dist/chunks/{dropdown.C01pOog2.js.map → dropdown.DYN8Okpo.js.map} +1 -1
  57. package/dist/chunks/{error-message.dQtl9mYG.js → error-message.BM8Y6-u5.js} +2 -2
  58. package/dist/chunks/{error-message.dQtl9mYG.js.map → error-message.BM8Y6-u5.js.map} +1 -1
  59. package/dist/chunks/es6.BA9GH7QZ.js.map +1 -1
  60. package/dist/chunks/{file-uploader.D81zRKpY.js → file-uploader.pWrwnN-c.js} +3 -3
  61. package/dist/chunks/{file-uploader.D81zRKpY.js.map → file-uploader.pWrwnN-c.js.map} +1 -1
  62. package/dist/chunks/{filter-bar.CcsUi7Xg.js → filter-bar.BYHzhAr8.js} +856 -828
  63. package/dist/chunks/filter-bar.BYHzhAr8.js.map +1 -0
  64. package/dist/chunks/{focus-trap.DiqwA-bw.js → focus-trap.DKT1Fe6X.js} +2 -1
  65. package/dist/chunks/{focus-trap.DiqwA-bw.js.map → focus-trap.DKT1Fe6X.js.map} +1 -1
  66. package/dist/chunks/{header-with-views.BTd57MWZ.js → header-with-views.Cqd864mp.js} +9 -9
  67. package/dist/chunks/{header-with-views.BTd57MWZ.js.map → header-with-views.Cqd864mp.js.map} +1 -1
  68. package/dist/chunks/{header.Rr0lnNYz.js → header.Ds1iyTzn.js} +30 -26
  69. package/dist/chunks/{header.Rr0lnNYz.js.map → header.Ds1iyTzn.js.map} +1 -1
  70. package/dist/chunks/{info-icon-with-popover.B9QgNl-S.js → info-icon-with-popover.yLETQrb9.js} +2 -2
  71. package/dist/chunks/{info-icon-with-popover.B9QgNl-S.js.map → info-icon-with-popover.yLETQrb9.js.map} +1 -1
  72. package/dist/chunks/{info-icon.BL55W9hd.js → info-icon.G9FAlO4C.js} +3 -3
  73. package/dist/chunks/{info-icon.BL55W9hd.js.map → info-icon.G9FAlO4C.js.map} +1 -1
  74. package/dist/chunks/{input-field-password.DMcXkdVE.js → input-field-password.C1OF1nmo.js} +5 -5
  75. package/dist/chunks/{input-field-password.DMcXkdVE.js.map → input-field-password.C1OF1nmo.js.map} +1 -1
  76. package/dist/chunks/{input-field-phone-number.Cfy_o9aE.js → input-field-phone-number.Dfa1fxvS.js} +3 -3
  77. package/dist/chunks/{input-field-phone-number.Cfy_o9aE.js.map → input-field-phone-number.Dfa1fxvS.js.map} +1 -1
  78. package/dist/chunks/{input-field.CP8Qui6G.js → input-field.C9-4Xo4h.js} +3 -3
  79. package/dist/chunks/{input-field.CP8Qui6G.js.map → input-field.C9-4Xo4h.js.map} +1 -1
  80. package/dist/chunks/{inspector.types.Dab4xYKV.js → inspector.types.NVDCPiVL.js} +2 -2
  81. package/dist/chunks/{inspector.types.Dab4xYKV.js.map → inspector.types.NVDCPiVL.js.map} +1 -1
  82. package/dist/chunks/{listbox-option-tag.DDmqT1rs.js → listbox-option-tag.BcLYsizL.js} +2 -2
  83. package/dist/chunks/{listbox-option-tag.DDmqT1rs.js.map → listbox-option-tag.BcLYsizL.js.map} +1 -1
  84. package/dist/chunks/{menu.Dkesc658.js → menu.DDXB-L8u.js} +226 -194
  85. package/dist/chunks/menu.DDXB-L8u.js.map +1 -0
  86. package/dist/chunks/{modal-fullscreen.D1pHbGYd.js → modal-fullscreen.os2jZ30i.js} +2 -2
  87. package/dist/chunks/{modal-fullscreen.D1pHbGYd.js.map → modal-fullscreen.os2jZ30i.js.map} +1 -1
  88. package/dist/chunks/{modal.bgya0ObK.js → modal.D5OesJnF.js} +2 -2
  89. package/dist/chunks/{modal.bgya0ObK.js.map → modal.D5OesJnF.js.map} +1 -1
  90. package/dist/chunks/{pagination.CaHPf-Ye.js → pagination.BoWzbJVF.js} +2 -2
  91. package/dist/chunks/{pagination.CaHPf-Ye.js.map → pagination.BoWzbJVF.js.map} +1 -1
  92. package/dist/chunks/{popover.CuOrBXcF.js → popover.K53VtitI.js} +2 -2
  93. package/dist/chunks/{popover.CuOrBXcF.js.map → popover.K53VtitI.js.map} +1 -1
  94. package/dist/chunks/{popper-container.1kHSxyxu.js → popper-container.DUNt7nKd.js} +2 -2
  95. package/dist/chunks/{popper-container.1kHSxyxu.js.map → popper-container.DUNt7nKd.js.map} +1 -1
  96. package/dist/chunks/{radio-group.9jAj6AKb.js → radio-group.BE8gvwsL.js} +4 -4
  97. package/dist/chunks/{radio-group.9jAj6AKb.js.map → radio-group.BE8gvwsL.js.map} +1 -1
  98. package/dist/chunks/{rich-text-editor.Ch-ETIRi.js → rich-text-editor.CP_xdt6R.js} +4 -4
  99. package/dist/chunks/{rich-text-editor.Ch-ETIRi.js.map → rich-text-editor.CP_xdt6R.js.map} +1 -1
  100. package/dist/chunks/{search-bar.Cs60bUZc.js → search-bar.I2f0f4fU.js} +3 -3
  101. package/dist/chunks/{search-bar.Cs60bUZc.js.map → search-bar.I2f0f4fU.js.map} +1 -1
  102. package/dist/chunks/{secondary-nav.i_Bb4wQF.js → secondary-nav.D1-GnlU-.js} +2 -2
  103. package/dist/chunks/{secondary-nav.i_Bb4wQF.js.map → secondary-nav.D1-GnlU-.js.map} +1 -1
  104. package/dist/chunks/{segmented-control.BffWAGrf.js → segmented-control.A2eatwIG.js} +2 -2
  105. package/dist/chunks/{segmented-control.BffWAGrf.js.map → segmented-control.A2eatwIG.js.map} +1 -1
  106. package/dist/chunks/{selection-card-group.DTz7k_M7.js → selection-card-group.CFNCbcRU.js} +3 -3
  107. package/dist/chunks/{selection-card-group.DTz7k_M7.js.map → selection-card-group.CFNCbcRU.js.map} +1 -1
  108. package/dist/chunks/{sidepanel.DuTesKDW.js → sidepanel.CGGRp0oL.js} +2 -2
  109. package/dist/chunks/{sidepanel.DuTesKDW.js.map → sidepanel.CGGRp0oL.js.map} +1 -1
  110. package/dist/chunks/{structured-list-item.-vyqAp4Y.js → structured-list-item.C8K371Ss.js} +4 -4
  111. package/dist/chunks/{structured-list-item.-vyqAp4Y.js.map → structured-list-item.C8K371Ss.js.map} +1 -1
  112. package/dist/chunks/{summary-grid.types.fm_VmUVA.js → summary-grid.types.DdghLR6f.js} +5 -5
  113. package/dist/chunks/{summary-grid.types.fm_VmUVA.js.map → summary-grid.types.DdghLR6f.js.map} +1 -1
  114. package/dist/chunks/{tag.DczYlfXd.js → tag.B2vxWwV1.js} +2 -2
  115. package/dist/chunks/{tag.DczYlfXd.js.map → tag.B2vxWwV1.js.map} +1 -1
  116. package/dist/chunks/{textarea.B7BgCn_l.js → textarea.DPa9t8Jw.js} +2 -2
  117. package/dist/chunks/{textarea.B7BgCn_l.js.map → textarea.DPa9t8Jw.js.map} +1 -1
  118. package/dist/chunks/{timeline-item.DdF6EN2w.js → timeline-item.D2534IA9.js} +4 -4
  119. package/dist/chunks/{timeline-item.DdF6EN2w.js.map → timeline-item.D2534IA9.js.map} +1 -1
  120. package/dist/chunks/{tooltip.Bm5S2goP.js → tooltip.B8nCejpo.js} +2 -2
  121. package/dist/chunks/{tooltip.Bm5S2goP.js.map → tooltip.B8nCejpo.js.map} +1 -1
  122. package/dist/chunks/truncate.BfIl_-71.js +8 -0
  123. package/dist/chunks/truncate.BfIl_-71.js.map +1 -0
  124. package/dist/chunks/{tutorial.DIYd-V8c.js → tutorial.X3GhtKlY.js} +4 -4
  125. package/dist/chunks/{tutorial.DIYd-V8c.js.map → tutorial.X3GhtKlY.js.map} +1 -1
  126. package/dist/chunks/{use-cached-selected-values.BrkzIuaE.js → use-cached-selected-values.C6VRhL5_.js} +3 -3
  127. package/dist/chunks/{use-cached-selected-values.BrkzIuaE.js.map → use-cached-selected-values.C6VRhL5_.js.map} +1 -1
  128. package/dist/code-snippet.js +1 -1
  129. package/dist/dashboard-template.js +1 -1
  130. package/dist/dashed-underline.js +1 -1
  131. package/dist/data-grid-template.js +1 -1
  132. package/dist/data-grid.js +1 -1
  133. package/dist/date-picker.js +2 -2
  134. package/dist/date-range-picker.js +2 -2
  135. package/dist/dropdown.js +3 -3
  136. package/dist/file-uploader.js +1 -1
  137. package/dist/filter-bar.js +1 -1
  138. package/dist/focus-trap.js +1 -1
  139. package/dist/header-with-views.js +1 -1
  140. package/dist/header.js +1 -1
  141. package/dist/index.js +44 -44
  142. package/dist/info-icon.js +1 -1
  143. package/dist/input-field-password.js +1 -1
  144. package/dist/input-field-phone-number.js +1 -1
  145. package/dist/input-field.js +1 -1
  146. package/dist/inspector.js +1 -1
  147. package/dist/internal.js +9 -9
  148. package/dist/menu.js +1 -1
  149. package/dist/modal-fullscreen.js +1 -1
  150. package/dist/modal.js +2 -2
  151. package/dist/pagination.js +1 -1
  152. package/dist/popover.js +1 -1
  153. package/dist/popper-container.js +1 -1
  154. package/dist/radio-group.js +1 -1
  155. package/dist/rich-text-editor.js +1 -1
  156. package/dist/search-bar.js +2 -2
  157. package/dist/secondary-nav.js +1 -1
  158. package/dist/segmented-control.js +1 -1
  159. package/dist/selection-card.js +1 -1
  160. package/dist/sidepanel.js +1 -1
  161. package/dist/structured-list.js +1 -1
  162. package/dist/styles/bento-dark.css +3 -0
  163. package/dist/styles/bento-light.css +3 -0
  164. package/dist/styles/bento.css +3 -0
  165. package/dist/styles/legacy.css +3 -0
  166. package/dist/styles/styleguide.css +3 -0
  167. package/dist/summary-grid.js +1 -1
  168. package/dist/tag.js +1 -1
  169. package/dist/textarea.js +1 -1
  170. package/dist/timeline.js +1 -1
  171. package/dist/tutorial.js +1 -1
  172. package/dist/web-types.json +36 -1
  173. package/package.json +5 -5
  174. package/dist/chunks/chip.BeK9uqmW.js.map +0 -1
  175. package/dist/chunks/data-grid.Dl3xh62_.js.map +0 -1
  176. package/dist/chunks/date-range-picker.CAQY6v7g.js.map +0 -1
  177. package/dist/chunks/filter-bar.CcsUi7Xg.js.map +0 -1
  178. package/dist/chunks/menu.Dkesc658.js.map +0 -1
@@ -1,48 +1,49 @@
1
- import { ref as y, onMounted as Te, nextTick as oe, watch as ee, onUnmounted as ct, reactive as Ie, toRefs as De, computed as w, watchEffect as hn, onBeforeUpdate as mn, defineComponent as ie, toRef as be, useSlots as xe, provide as ut, inject as Ae } from "vue";
2
- import { C as pn } from "./checkmark-circle-fill.DZBl7CeY.js";
3
- import { W as wn } from "./warning-filled.Cd0kVWwa.js";
1
+ import { ref as E, onMounted as Te, nextTick as se, watch as te, onUnmounted as ut, reactive as Ie, toRefs as De, computed as w, watchEffect as mn, onBeforeUpdate as pn, defineComponent as ae, toRef as be, useSlots as xe, provide as ft, inject as Ae } from "vue";
2
+ import { C as wn } from "./checkmark-circle-fill.DZBl7CeY.js";
3
+ import { W as Sn } from "./warning-filled.Cd0kVWwa.js";
4
4
  /* empty css */
5
5
  import { n as q } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
6
- import { C as ft } from "./cross.CJ5EEL2c.js";
7
- import { N as qe } from "./checkbox-input.Dr1GS2BZ.js";
8
- import { d as Sn } from "./popper-container.1kHSxyxu.js";
9
- import { E as re, B as Ln } from "./tooltip.Bm5S2goP.js";
10
- import { B as En } from "./action-bar.CErJh_wJ.js";
11
- import { B as yn } from "./pagination.CaHPf-Ye.js";
12
- import { B as Me } from "./loading-indicator.z8COalOc.js";
13
- import { B as me, p as gt } from "./typography.J1v_SPG3.js";
14
- import { u as Fe } from "./use-has-slot.C9lQZ6nz.js";
15
- import { u as Rn } from "./aria-label.CaUURpnB.js";
16
- import { g as bn } from "./get-slot-text.BQS5Olxm.js";
6
+ import { C as gt } from "./cross.CJ5EEL2c.js";
7
+ import { N as Ye } from "./checkbox-input.Dr1GS2BZ.js";
8
+ import { d as En } from "./popper-container.DUNt7nKd.js";
9
+ import { E as re, B as Ln } from "./tooltip.B8nCejpo.js";
10
+ import { B as yn } from "./action-bar.CHVePTM6.js";
11
+ import { B as Rn } from "./pagination.BoWzbJVF.js";
12
+ import { B as Fe } from "./loading-indicator.z8COalOc.js";
13
+ import { B as me, p as _t } from "./typography.J1v_SPG3.js";
14
+ import { u as Me } from "./use-has-slot.C9lQZ6nz.js";
15
+ import { u as bn } from "./aria-label.CaUURpnB.js";
16
+ import { g as An } from "./get-slot-text.BQS5Olxm.js";
17
17
  import { u as ge } from "./i18n.BQkEbtPM.js";
18
- import { B as Re } from "./filter-bar.CcsUi7Xg.js";
19
- import { B as An } from "./empty-state.IvvHHQ35.js";
20
- import { E as On } from "./tabs.keys.Bc2pSKRw.js";
21
- import { D as Nn } from "./data-grid-template.keys.2_AkxuNT.js";
18
+ import { B as Re } from "./filter-bar.BYHzhAr8.js";
19
+ import { B as On } from "./empty-state.IvvHHQ35.js";
20
+ import { E as Nn } from "./tabs.keys.Bc2pSKRw.js";
21
+ import { D as Tn } from "./data-grid-template.keys.2_AkxuNT.js";
22
22
  import { o as Be } from "./resize.Bqks3WUm.js";
23
23
  import "./index.Cl4_42j5.js";
24
- import { u as Tn } from "./use-expandable-content-height.GkjjbmPy.js";
24
+ import { b as In } from "./focus-trap.DKT1Fe6X.js";
25
+ import { u as Dn } from "./use-expandable-content-height.GkjjbmPy.js";
25
26
  import { g as Oe } from "./generate-uid.NJ8tVoha.js";
26
- import { B as _t } from "./button.BuD-IsW5.js";
27
- import { B as vt, O as In, D as Dn } from "./menu.Dkesc658.js";
28
- import { E as xn } from "./link.D0P79Toh.js";
29
- import { C as Mn } from "./copy.BggvtZCO.js";
30
- import { B as Ct } from "./checkbox.DCIphKqu.js";
31
- import { C as Fn, a as Bn } from "./chevron-up.CSVyoaTy.js";
27
+ import { B as vt } from "./button.BuD-IsW5.js";
28
+ import { B as Ct, O as xn, D as Fn } from "./menu.DDXB-L8u.js";
29
+ import { E as Mn } from "./link.D0P79Toh.js";
30
+ import { C as Bn } from "./copy.TvI9Au3G.js";
31
+ import { B as ht } from "./checkbox.CTeT6JEP.js";
32
+ import { C as $n, a as zn } from "./chevron-up.CSVyoaTy.js";
32
33
  import { B as $e } from "./toggle-button.ChDbeBZ8.js";
33
- import { e as $n, d as Pn } from "./button-actions.V0te_IrY.js";
34
- import { B as zn } from "./info-icon.BL55W9hd.js";
35
- import { a as Ye, B as Un } from "./popover.CuOrBXcF.js";
36
- import { A as kn } from "./dialog-page.uGh0kYDL.js";
37
- import { H as Wn, S as Gn } from "./show.e4LEpZKG.js";
38
- import { l as Xe } from "./events.CMzGybJJ.js";
39
- import { B as ht } from "./toggle.Q52IIKfi.js";
40
- import { B as Hn } from "./search-bar.Cs60bUZc.js";
41
- import { u as Vn } from "./dropdown.C01pOog2.js";
42
- import { S as Zn } from "./search.DLtglc02.js";
43
- import { B as jn } from "./directive.Cbdox5VL.js";
34
+ import { e as Pn, d as Un } from "./button-actions.V0te_IrY.js";
35
+ import { B as kn } from "./info-icon.G9FAlO4C.js";
36
+ import { a as Xe, B as Wn } from "./popover.K53VtitI.js";
37
+ import { A as Gn } from "./dialog-page.uGh0kYDL.js";
38
+ import { H as Hn, S as Vn } from "./show.e4LEpZKG.js";
39
+ import { l as Ke } from "./events.CMzGybJJ.js";
40
+ import { B as mt } from "./toggle.Q52IIKfi.js";
41
+ import { B as Zn } from "./search-bar.I2f0f4fU.js";
42
+ import { u as jn } from "./dropdown.DYN8Okpo.js";
43
+ import { S as qn } from "./search.DLtglc02.js";
44
+ import { B as Yn } from "./directive.Cbdox5VL.js";
44
45
  import "../assets/data-grid.css";
45
- const Ke = (s) => {
46
+ const Je = (s) => {
46
47
  if (!s)
47
48
  return 0;
48
49
  const t = window.getComputedStyle(s);
@@ -54,467 +55,471 @@ const Ke = (s) => {
54
55
  }
55
56
  const o = parseFloat(t.top);
56
57
  return !isNaN(o) && o < 0 && (n += o), n;
57
- }, Je = (s, t, n = y(!1), e = null) => {
58
- const o = y(0);
58
+ }, Qe = (s, t, n = E(!1), e = null) => {
59
+ const o = E(0);
59
60
  let l = null, a = null;
60
- const _ = () => {
61
- const v = t.value ? Ke(s.value) : 0, u = n.value && e ? Ke(e.value) : 0;
62
- o.value = v + u;
61
+ const g = () => {
62
+ const v = t.value ? Je(s.value) : 0, f = n.value && e ? Je(e.value) : 0;
63
+ o.value = v + f;
63
64
  };
64
65
  return Te(() => {
65
- oe(() => {
66
- const v = ee(
66
+ se(() => {
67
+ const v = te(
67
68
  s,
68
69
  () => {
69
- s != null && s.value && (oe(() => v()), l = Be(s.value, _), a = new MutationObserver(_), a.observe(s.value, { attributes: !0, attributeFilter: ["class"] }));
70
+ s != null && s.value && (se(() => v()), l = Be(s.value, g), a = new MutationObserver(g), a.observe(s.value, { attributes: !0, attributeFilter: ["class"] }));
70
71
  },
71
72
  { immediate: !0 }
72
73
  );
73
- ee(
74
+ te(
74
75
  [t, n],
75
76
  () => {
76
- _();
77
+ g();
77
78
  },
78
79
  { immediate: !0 }
79
80
  );
80
81
  });
81
- }), ct(() => {
82
+ }), ut(() => {
82
83
  l == null || l.disconnect(), a == null || a.disconnect();
83
84
  }), o;
84
85
  };
85
- var Ne = /* @__PURE__ */ ((s) => (s.WRAP = "wrap", s.ELLIPSIS = "ellipsis", s))(Ne || {}), ce = /* @__PURE__ */ ((s) => (s.OUTLINE = "outline", s.SCROLL = "scroll", s.STICKY_FILTERS = "sticky-filters", s.OVERFLOW_SHADOW_LEFT = "overflow-shadow-left", s.OVERFLOW_SHADOW_RIGHT = "overflow-shadow-right", s.NO_SPACING_TOP = "no-spacing-top", s))(ce || {}), fe = /* @__PURE__ */ ((s) => (s.ASCENDING = "asc", s.DESCENDING = "desc", s))(fe || {}), O = /* @__PURE__ */ ((s) => (s.COLUMNS = "columns", s.COLUMN_RESIZE = "column-resize", s.ITEMS_PAGE = "items-page", s.NAVIGATE = "navigate", s.NESTED_CONTENT_TOGGLED = "nested-content-toggled", s.FILTER_SEARCH_INPUT = "filter-search-input", s.FILTER_SEARCH_CLEAR = "filter-search-clear", s.UPDATE_COLUMNS = "update:columns", s.UPDATE_CONDENSED = "update:condensed", s.UPDATE_FILTERS = "update:filters", s.UPDATE_FILTER_VALUES = "update:filter-values", s.UPDATE_FILTER_SEARCH_TERM = "update:filter-search-term", s.UPDATE_PAGINATION = "update:pagination", s.UPDATE_SELECTION = "update:selection", s.UPDATE_SHOW_MORE = "update:show-more", s.UPDATE_SORT_BY = "update:sort-by", s.ROW_CLICK = "row-click", s.SELECT = "select", s.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", s.SORT = "sort", s))(O || {}), he = /* @__PURE__ */ ((s) => (s.ASCENDING = "ascending", s.DESCENDING = "descending", s.NONE = "none", s))(he || {}), V = /* @__PURE__ */ ((s) => (s.COLUMN_RESIZE = "column-resize", s.COLUMN_RESIZING = "column-resizing", s.SELECT_ALL_ROWS = "select-all-rows", s.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", s.COLUMN_MOVE = "column-move", s.COLUMN_UPDATE = "column-update", s.COLUMN_MENU_OPEN = "column-menu-open", s.COLUMN_MENU_CLOSE = "column-menu-close", s.COLUMN_HOVER = "column-hover", s.COLUMN_DRAG_START = "column-dragstart", s.COLUMN_DRAG_ENTER = "column-dragenter", s.COLUMN_DRAG_END = "column-dragend", s.COLUMN_DROP = "column-drop", s))(V || {});
86
- const qn = (s, t) => {
87
- const n = y(null), e = y(!1), o = y(void 0), l = s.value.reduce((S, i) => (S[i.field] = null, S), {}), a = Ie(l), _ = De(a);
88
- let v = 0, u = "";
89
- const E = w(
90
- () => Object.fromEntries(s.value.map(({ field: S, width: i, minWidth: g }) => [S, { width: i, minWidth: g }]))
86
+ var Ne = /* @__PURE__ */ ((s) => (s.WRAP = "wrap", s.ELLIPSIS = "ellipsis", s))(Ne || {}), ce = /* @__PURE__ */ ((s) => (s.OUTLINE = "outline", s.SCROLL = "scroll", s.STICKY_FILTERS = "sticky-filters", s.OVERFLOW_SHADOW_LEFT = "overflow-shadow-left", s.OVERFLOW_SHADOW_RIGHT = "overflow-shadow-right", s.NO_SPACING_TOP = "no-spacing-top", s))(ce || {}), fe = /* @__PURE__ */ ((s) => (s.ASCENDING = "asc", s.DESCENDING = "desc", s))(fe || {}), N = /* @__PURE__ */ ((s) => (s.COLUMNS = "columns", s.COLUMN_RESIZE = "column-resize", s.ITEMS_PAGE = "items-page", s.NAVIGATE = "navigate", s.NESTED_CONTENT_TOGGLED = "nested-content-toggled", s.FILTER_SEARCH_INPUT = "filter-search-input", s.FILTER_SEARCH_CLEAR = "filter-search-clear", s.UPDATE_COLUMNS = "update:columns", s.UPDATE_CONDENSED = "update:condensed", s.UPDATE_FILTERS = "update:filters", s.UPDATE_FILTER_VALUES = "update:filter-values", s.UPDATE_FILTER_SEARCH_TERM = "update:filter-search-term", s.UPDATE_PAGINATION = "update:pagination", s.UPDATE_SELECTION = "update:selection", s.UPDATE_SHOW_MORE = "update:show-more", s.UPDATE_SORT_BY = "update:sort-by", s.ROW_CLICK = "row-click", s.SELECT = "select", s.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", s.SORT = "sort", s))(N || {}), he = /* @__PURE__ */ ((s) => (s.ASCENDING = "ascending", s.DESCENDING = "descending", s.NONE = "none", s))(he || {}), V = /* @__PURE__ */ ((s) => (s.COLUMN_RESIZE = "column-resize", s.COLUMN_RESIZING = "column-resizing", s.SELECT_ALL_ROWS = "select-all-rows", s.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", s.COLUMN_MOVE = "column-move", s.COLUMN_UPDATE = "column-update", s.COLUMN_MENU_OPEN = "column-menu-open", s.COLUMN_MENU_CLOSE = "column-menu-close", s.COLUMN_HOVER = "column-hover", s.COLUMN_DRAG_START = "column-dragstart", s.COLUMN_DRAG_ENTER = "column-dragenter", s.COLUMN_DRAG_END = "column-dragend", s.COLUMN_DROP = "column-drop", s))(V || {});
87
+ const Xn = (s, t) => {
88
+ const n = E(null), e = E(!1), o = E(void 0), l = s.value.reduce((S, i) => (S[i.field] = null, S), {}), a = Ie(l), g = De(a);
89
+ let v = 0, f = "";
90
+ const L = w(
91
+ () => Object.fromEntries(s.value.map(({ field: S, width: i, minWidth: _ }) => [S, { width: i, minWidth: _ }]))
91
92
  );
92
- hn(() => o.value = E.value);
93
+ mn(() => o.value = L.value);
93
94
  let c = null, A = null;
94
- const p = (S) => {
95
- const i = S.clientX - v, g = u, C = o.value[g].width + i;
96
- o.value[g].width = C > E.value[g].minWidth ? C : E.value[g].minWidth, t(V.COLUMN_RESIZING, o.value), v = S.clientX;
97
- }, r = () => {
98
- e.value = !1, c == null || c(), A == null || A(), u && t(V.COLUMN_RESIZE, {
99
- field: u,
100
- width: o.value[u].width
101
- }), c = null, A = null, u = "", v = null;
102
- }, m = (S, i, g) => {
103
- if (g.preventDefault(), S) {
104
- if (e.value = !0, g.buttons !== 1) {
105
- r();
95
+ const m = (S) => {
96
+ const i = S.clientX - v, _ = f, C = o.value[_].width + i;
97
+ o.value[_].width = C > L.value[_].minWidth ? C : L.value[_].minWidth, t(V.COLUMN_RESIZING, o.value), v = S.clientX;
98
+ }, d = () => {
99
+ e.value = !1, c == null || c(), A == null || A(), f && t(V.COLUMN_RESIZE, {
100
+ field: f,
101
+ width: o.value[f].width
102
+ }), c = null, A = null, f = "", v = null;
103
+ }, h = (S, i, _) => {
104
+ if (_.preventDefault(), S) {
105
+ if (e.value = !0, _.buttons !== 1) {
106
+ d();
106
107
  return;
107
108
  }
108
- u = i, v = g.clientX, c = Xe(window, "mousemove", p), A = Xe(window, "mouseup", r);
109
+ f = i, v = _.clientX, c = Ke(window, "mousemove", m), A = Ke(window, "mouseup", d);
109
110
  }
110
111
  };
111
- return ee(
112
+ return te(
112
113
  () => e.value,
113
114
  (S, i) => {
114
115
  !S && i && (t(V.COLUMN_HOVER, n.value), n.value = null);
115
116
  }
116
117
  ), {
117
118
  resizeData: o,
118
- allColumnRefs: _,
119
- startResize: m,
119
+ allColumnRefs: g,
120
+ startResize: h,
120
121
  isResizing: e,
121
122
  columnHoverEventToEmitAfterResizing: n
122
123
  };
123
- }, Yn = 100, Qe = 50, Q = "b-actions-column", Xn = 32, Kn = 56, Jn = 56, Qn = 80, es = 36, ts = 1, mt = 16, ns = 20, ss = (s, t, n) => {
124
- const e = {}, o = [], l = (_) => {
125
- const v = e[_];
126
- v && v.frozen !== !0 && (e[_].frozen = !0, o.push(_));
124
+ }, Kn = 100, et = 50, ee = "b-actions-column", Jn = 32, Qn = 56, es = 56, ts = 80, ns = 36, ss = 1, pt = 16, os = 20, ls = (s, t, n) => {
125
+ const e = {}, o = [], l = (g) => {
126
+ const v = e[g];
127
+ v && v.frozen !== !0 && (e[g].frozen = !0, o.push(g));
127
128
  };
128
129
  function a() {
129
130
  if (o.length === n.length)
130
131
  return;
131
- const _ = { min: {} };
132
- let v = s, u = t, E = 0;
132
+ const g = { min: {} };
133
+ let v = s, f = t, L = 0;
133
134
  o.forEach((c) => {
134
- v -= e[c].computedWidth, u -= e[c].flex;
135
+ v -= e[c].computedWidth, f -= e[c].flex;
135
136
  });
136
137
  for (let c = 0, A = n.length; c < A; c += 1) {
137
- const p = n[c];
138
- if (e[p.field] && e[p.field].frozen === !0)
138
+ const m = n[c];
139
+ if (e[m.field] && e[m.field].frozen === !0)
139
140
  continue;
140
- let m = v / u * p.flex;
141
- m < p.minWidth && (E += p.minWidth - m, m = p.minWidth, _.min[p.field] = !0), e[p.field] = {
141
+ let h = v / f * m.flex;
142
+ h < m.minWidth && (L += m.minWidth - h, h = m.minWidth, g.min[m.field] = !0), e[m.field] = {
142
143
  frozen: !1,
143
- computedWidth: m,
144
- flex: p.flex
144
+ computedWidth: h,
145
+ flex: m.flex
145
146
  };
146
147
  }
147
- E > 0 ? Object.keys(_.min).forEach((c) => {
148
+ L > 0 ? Object.keys(g.min).forEach((c) => {
148
149
  l(c);
149
150
  }) : n.forEach(({ field: c }) => {
150
151
  l(c);
151
152
  }), a();
152
153
  }
153
154
  return a(), e;
154
- }, et = (s, t) => {
155
- let n = ts;
156
- return t && (n += mt * 2), s != null && s.offsetWidth ? s.offsetWidth + n : 0;
157
- }, os = (s) => {
155
+ }, tt = (s, t) => {
156
+ let n = ss;
157
+ return t && (n += pt * 2), s != null && s.offsetWidth ? s.offsetWidth + n : 0;
158
+ }, as = (s) => {
158
159
  var t, n, e, o, l;
159
- return (t = s == null ? void 0 : s.hasNestedContent) != null && t.value || (n = s == null ? void 0 : s.hasNestedRows) != null && n.value ? (e = s == null ? void 0 : s.hasSelectableColumn) != null && e.value ? (o = s == null ? void 0 : s.hasSelectableAcrossPages) != null && o.value ? Qn : Jn : es : (l = s == null ? void 0 : s.hasSelectableAcrossPages) != null && l.value ? Kn : Xn;
160
- }, ls = (s, t, n, e, o, l) => {
161
- const a = y(s.value), _ = y(t), v = y(n), u = y(e), E = y(o), c = y(!1), A = y(0);
162
- ee(
160
+ return (t = s == null ? void 0 : s.hasNestedContent) != null && t.value || (n = s == null ? void 0 : s.hasNestedRows) != null && n.value ? (e = s == null ? void 0 : s.hasSelectableColumn) != null && e.value ? (o = s == null ? void 0 : s.hasSelectableAcrossPages) != null && o.value ? ts : es : ns : (l = s == null ? void 0 : s.hasSelectableAcrossPages) != null && l.value ? Qn : Jn;
161
+ }, is = (s, t, n, e, o, l) => {
162
+ const a = E(s.value), g = E(t), v = E(n), f = E(e), L = E(o), c = E(!1), A = E(0);
163
+ te(
163
164
  () => s.value,
164
- (f, R) => {
165
- var H, h;
166
- const x = (f == null ? void 0 : f.map(({ field: $ }) => $).toString()) === (R == null ? void 0 : R.map(({ field: $ }) => $).toString());
167
- if (!((H = l == null ? void 0 : l.allowColumnDragAndDrop) != null && H.value) || !x) {
165
+ (u, R) => {
166
+ var G, Z;
167
+ const F = (u == null ? void 0 : u.map(({ field: H }) => H).toString()) === (R == null ? void 0 : R.map(({ field: H }) => H).toString());
168
+ if (!((G = l == null ? void 0 : l.allowColumnDragAndDrop) != null && G.value) || !F) {
168
169
  a.value = s.value;
169
170
  return;
170
171
  }
171
- a.value = ((h = a.value) == null ? void 0 : h.length) === 0 ? s.value : s.value.sort(($, D) => {
172
- const B = a.value.findIndex((U) => U.field === $.field), k = a.value.findIndex((U) => U.field === D.field);
173
- return B === -1 ? 1 : k === -1 ? -1 : B - k;
172
+ a.value = ((Z = a.value) == null ? void 0 : Z.length) === 0 ? s.value : s.value.sort((H, p) => {
173
+ const $ = a.value.findIndex((D) => D.field === H.field), x = a.value.findIndex((D) => D.field === p.field);
174
+ return $ === -1 ? 1 : x === -1 ? -1 : $ - x;
174
175
  });
175
176
  }
176
177
  );
177
- const p = y();
178
- let r = null;
179
- const m = w(() => {
180
- var B, k, U;
181
- const f = [];
182
- let R = 0, x = 0;
183
- const H = {};
184
- let h = a.value.filter((z) => z.visible !== !1);
185
- const $ = a.value.filter((z) => z.visible === !1);
186
- if ((B = l == null ? void 0 : l.hasSelectableColumn) != null && B.value || (k = l == null ? void 0 : l.hasNestedContent) != null && k.value || (U = l == null ? void 0 : l.hasNestedRows) != null && U.value) {
187
- const z = os(l);
188
- h = [
178
+ const m = E();
179
+ let d = null;
180
+ const h = w(() => {
181
+ var $, x, D;
182
+ const u = [];
183
+ let R = 0, F = 0;
184
+ const G = {};
185
+ let Z = a.value.filter((z) => z.visible !== !1);
186
+ const H = a.value.filter((z) => z.visible === !1);
187
+ if (($ = l == null ? void 0 : l.hasSelectableColumn) != null && $.value || (x = l == null ? void 0 : l.hasNestedContent) != null && x.value || (D = l == null ? void 0 : l.hasNestedRows) != null && D.value) {
188
+ const z = as(l);
189
+ Z = [
189
190
  {
190
- field: Q,
191
+ field: ee,
191
192
  label: "",
192
193
  minWidth: z,
193
194
  width: z,
194
195
  frozen: !0,
195
196
  padding: { left: !1, right: !1 }
196
197
  },
197
- ...h
198
+ ...Z
198
199
  ];
199
200
  }
200
- h.forEach((z) => {
201
+ Z.forEach((z) => {
201
202
  const M = { ...z };
202
- let ne;
203
- M.flex && M.flex > 0 ? (R += M.flex, ne = 0, f.push(M)) : ne = Math.max(
204
- (M == null ? void 0 : M.width) ?? Yn,
205
- (M == null ? void 0 : M.minWidth) ?? Qe
206
- ), x += ne, M.width = ne, M.minWidth = (M == null ? void 0 : M.minWidth) ?? Qe, H[M.field] = M;
203
+ let K;
204
+ M.flex && M.flex > 0 ? (R += M.flex, K = 0, u.push(M)) : K = Math.max(
205
+ (M == null ? void 0 : M.width) ?? Kn,
206
+ (M == null ? void 0 : M.minWidth) ?? et
207
+ ), F += K, M.width = K, M.minWidth = (M == null ? void 0 : M.minWidth) ?? et, G[M.field] = M;
207
208
  });
208
- const D = Math.max(p.value - x, 0);
209
- if (R > 0 && p.value > 0) {
210
- const z = ss(D, R, f);
209
+ const p = Math.max(m.value - F, 0);
210
+ if (R > 0 && m.value > 0) {
211
+ const z = ls(p, R, u);
211
212
  Object.keys(z).forEach((M) => {
212
- H[M].width = z[M].computedWidth;
213
+ G[M].width = z[M].computedWidth;
213
214
  });
214
215
  }
215
- return $.forEach((z) => {
216
+ return H.forEach((z) => {
216
217
  const M = { ...z };
217
- H[M.field] = M;
218
- }), Object.values(H);
219
- }), S = y(void 0), i = (f) => {
220
- S.value = { ...S.value, ...f };
221
- }, g = async () => {
222
- a.value.some((f) => f == null ? void 0 : f.autoWidth) && (c.value = !0, await oe(), a == null || a.value.filter((f) => f == null ? void 0 : f.autoWidth).forEach(({ field: f, minWidth: R }) => {
223
- var $, D, B, k;
224
- const x = et(
225
- ($ = u.value) == null ? void 0 : $[f],
226
- (D = l == null ? void 0 : l.hasColumnPanel) == null ? void 0 : D.value
227
- ), H = (k = (B = E.value) == null ? void 0 : B[f]) == null ? void 0 : k.reduce(
228
- (U, z) => Math.max(U, et(z)),
218
+ G[M.field] = M;
219
+ }), Object.values(G);
220
+ }), S = E(void 0), i = (u) => {
221
+ S.value = { ...S.value, ...u };
222
+ }, _ = async () => {
223
+ a.value.some((u) => u == null ? void 0 : u.autoWidth) && (c.value = !0, await se(), a == null || a.value.filter((u) => u == null ? void 0 : u.autoWidth).forEach(({ field: u, minWidth: R }) => {
224
+ var H, p, $, x;
225
+ const F = tt(
226
+ (H = f.value) == null ? void 0 : H[u],
227
+ (p = l == null ? void 0 : l.hasColumnPanel) == null ? void 0 : p.value
228
+ ), G = (x = ($ = L.value) == null ? void 0 : $[u]) == null ? void 0 : x.reduce(
229
+ (D, z) => Math.max(D, tt(z)),
229
230
  0
230
- ), h = Math.max(x, H ?? 0);
231
- (R === void 0 || h > R) && i({
232
- [f]: {
233
- width: h
231
+ ), Z = Math.max(F, G ?? 0);
232
+ (R === void 0 || Z > R) && i({
233
+ [u]: {
234
+ width: Z
234
235
  }
235
236
  });
236
237
  }), c.value = !1);
237
238
  };
238
- ee([() => a.value, () => _.value], async () => {
239
- a.value.some((f) => f == null ? void 0 : f.autoWidth) && await g();
239
+ te([() => a.value, () => g.value], async () => {
240
+ a.value.some((u) => u == null ? void 0 : u.autoWidth) && await _();
240
241
  });
241
242
  const C = w(
242
- () => m.value.map((f) => {
243
- var R, x;
243
+ () => h.value.map((u) => {
244
+ var R, F;
244
245
  return {
245
- ...f,
246
+ ...u,
246
247
  // Override column width with resized ones
247
- width: ((x = (R = S.value) == null ? void 0 : R[f.field]) == null ? void 0 : x.width) ?? f.width
248
+ width: ((F = (R = S.value) == null ? void 0 : R[u.field]) == null ? void 0 : F.width) ?? u.width
248
249
  };
249
250
  })
250
251
  ), b = w(
251
252
  () => {
252
- var f;
253
- return ((f = C.value) == null ? void 0 : f.filter(({ visible: R }) => R !== !1).reduce((R, x) => x.width + R, 0)) + A.value;
253
+ var u;
254
+ return ((u = C.value) == null ? void 0 : u.filter(({ visible: R }) => R !== !1).reduce((R, F) => F.width + R, 0)) + A.value;
254
255
  }
255
- ), N = w(
256
- () => p.value <= b.value
256
+ ), O = w(
257
+ () => m.value <= b.value
257
258
  ), I = w(() => ({
258
- width: p.value > b.value ? "100%" : "fit-content"
259
+ width: m.value > b.value ? "100%" : "fit-content"
259
260
  }));
260
261
  return Te(() => {
261
262
  var R;
262
- const f = l != null && l.isDataGridTemplate ? ns : 0;
263
- oe(() => {
264
- v.value && (p.value = v.value.getBoundingClientRect().width - f);
265
- const x = ee(
263
+ const u = l != null && l.isDataGridTemplate ? os : 0;
264
+ se(() => {
265
+ v.value && (m.value = v.value.getBoundingClientRect().width - u);
266
+ const F = te(
266
267
  v,
267
268
  () => {
268
- v.value && (oe(() => x()), r = Be(v.value, ({ width: H }) => {
269
- p.value = H - f;
269
+ v.value && (se(() => F()), d = Be(v.value, ({ width: G }) => {
270
+ m.value = G - u;
270
271
  }));
271
272
  },
272
273
  { immediate: !0 }
273
274
  );
274
275
  }), (R = document == null ? void 0 : document.fonts) != null && R.ready ? document.fonts.ready.then(() => {
275
- g();
276
- }) : g();
277
- }), ct(() => {
278
- r == null || r.disconnect();
279
- }), mn(() => {
280
- var f;
281
- E.value && ((f = Object.keys(E.value)) == null ? void 0 : f.length) > 0 && Object.keys(E.value).forEach((x) => {
282
- E.value[x] = [];
276
+ _();
277
+ }) : _();
278
+ }), ut(() => {
279
+ d == null || d.disconnect();
280
+ }), pn(() => {
281
+ var u;
282
+ L.value && ((u = Object.keys(L.value)) == null ? void 0 : u.length) > 0 && Object.keys(L.value).forEach((F) => {
283
+ L.value[F] = [];
283
284
  });
284
285
  }), {
285
286
  columnDefs: C,
286
287
  gridRowWidthStyle: I,
287
288
  onColumnWidthOverride: i,
288
289
  isMeasuringColumnWidths: c,
289
- isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: N,
290
+ isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: O,
290
291
  columns: a,
291
292
  totalWidthOfAllColumns: b,
292
293
  rowActionsMaxWidth: A
293
294
  };
294
- }, as = (s, t, n, e, o) => {
295
- const l = y(s.value ?? []), a = Ie({
295
+ }, rs = (s, t, n, e, o) => {
296
+ const l = E(s.value ?? []), a = Ie({
296
297
  allItemsSelected: !1,
297
298
  isIndeterminate: !1
298
- }), _ = w(
299
- () => n.value.flatMap((r) => {
300
- var m;
301
- return [r, ((m = r == null ? void 0 : r.children) == null ? void 0 : m.length) > 0 ? r == null ? void 0 : r.children : []];
299
+ }), g = w(
300
+ () => n.value.flatMap((d) => {
301
+ var h;
302
+ return [d, ((h = d == null ? void 0 : d.children) == null ? void 0 : h.length) > 0 ? d == null ? void 0 : d.children : []];
302
303
  }).flat()
303
304
  ), v = () => {
304
- t(O.SELECT, l.value), t(O.UPDATE_SELECTION, l.value);
305
- }, u = (r) => {
306
- var S, i, g, C, b;
307
- if (l.value = r, ((S = n.value) == null ? void 0 : S.length) > 0 && ((i = _.value) == null ? void 0 : i.filter((N) => !o(N)).every((N) => l.value.includes(e(N))))) {
305
+ t(N.SELECT, l.value), t(N.UPDATE_SELECTION, l.value);
306
+ }, f = (d) => {
307
+ var S, i, _, C, b;
308
+ if (l.value = d, ((S = n.value) == null ? void 0 : S.length) > 0 && ((i = g.value) == null ? void 0 : i.filter((O) => !o(O)).every((O) => l.value.includes(e(O))))) {
308
309
  a.allItemsSelected = !0;
309
- const N = ((g = n.value) == null ? void 0 : g.length) > 0 && n.value.every((I) => l.value.includes(e(I)));
310
- a.isIndeterminate = !N;
310
+ const O = ((_ = n.value) == null ? void 0 : _.length) > 0 && n.value.every((I) => l.value.includes(e(I)));
311
+ a.isIndeterminate = !O;
311
312
  } else
312
313
  a.allItemsSelected = !1, a.isIndeterminate = ((C = l.value) == null ? void 0 : C.length) > 0 && ((b = n.value) == null ? void 0 : b.length) > 0 && n.value.some(
313
- (N) => {
314
+ (O) => {
314
315
  var I;
315
- return l.value.includes(e(N)) || ((I = N == null ? void 0 : N.children) == null ? void 0 : I.some((f) => l.value.includes(e(f))));
316
+ return l.value.includes(e(O)) || ((I = O == null ? void 0 : O.children) == null ? void 0 : I.some((u) => l.value.includes(e(u))));
316
317
  }
317
318
  );
318
- }, E = (r) => {
319
- oe(() => {
320
- var m, S, i;
321
- if (a.allItemsSelected = r, r) {
322
- l.value = (S = (m = _.value) == null ? void 0 : m.filter(
319
+ }, L = (d) => {
320
+ se(() => {
321
+ var h, S, i;
322
+ if (a.allItemsSelected = d, d) {
323
+ l.value = (S = (h = g.value) == null ? void 0 : h.filter(
323
324
  (C) => !o(C) && ((C == null ? void 0 : C.children) === void 0 || C.children.every((b) => !o(b)))
324
325
  )) == null ? void 0 : S.map((C) => e(C));
325
- const g = ((i = n.value) == null ? void 0 : i.length) > 0 && n.value.every((C) => l.value.includes(e(C)));
326
- a.isIndeterminate = l.value.length > 0 && !g;
326
+ const _ = ((i = n.value) == null ? void 0 : i.length) > 0 && n.value.every((C) => l.value.includes(e(C)));
327
+ a.isIndeterminate = l.value.length > 0 && !_;
327
328
  } else
328
329
  l.value = [], a.isIndeterminate = !1;
329
330
  v();
330
331
  });
331
- }, c = (r, m) => {
332
- oe(() => {
332
+ }, c = (d, h) => {
333
+ se(() => {
333
334
  var S;
334
- u(((S = m == null ? void 0 : m.children) == null ? void 0 : S.length) > 0 ? A(r, m) : r), v();
335
+ f(((S = h == null ? void 0 : h.children) == null ? void 0 : S.length) > 0 ? A(d, h) : d), v();
335
336
  });
336
- }, A = (r, m) => {
337
- var g;
338
- const S = e(m), i = (g = m.children) == null ? void 0 : g.filter((C) => !o(C)).map((C) => e(C));
339
- if (r.includes(S)) {
340
- const C = r;
337
+ }, A = (d, h) => {
338
+ var _;
339
+ const S = e(h), i = (_ = h.children) == null ? void 0 : _.filter((C) => !o(C)).map((C) => e(C));
340
+ if (d.includes(S)) {
341
+ const C = d;
341
342
  return i.forEach((b) => {
342
343
  C.includes(b) || C.push(b);
343
344
  }), C;
344
345
  }
345
- return r.filter((C) => !i.includes(C));
346
- }, p = (r, m, S) => {
347
- oe(() => {
348
- var g, C;
349
- const i = e(m);
350
- r.includes(e(S)) ? u(
351
- !r.includes(i) && ((g = m == null ? void 0 : m.children) != null && g.every((b) => r.includes(e(b)))) ? [...r, i] : r
352
- ) : u(
353
- r.includes(i) && !((C = m == null ? void 0 : m.children) != null && C.every((b) => r.includes(e(b)))) ? r.filter((b) => b !== i) : r
346
+ return d.filter((C) => !i.includes(C));
347
+ }, m = (d, h, S) => {
348
+ se(() => {
349
+ var _, C;
350
+ const i = e(h);
351
+ d.includes(e(S)) ? f(
352
+ !d.includes(i) && ((_ = h == null ? void 0 : h.children) != null && _.every((b) => d.includes(e(b)))) ? [...d, i] : d
353
+ ) : f(
354
+ d.includes(i) && !((C = h == null ? void 0 : h.children) != null && C.every((b) => d.includes(e(b)))) ? d.filter((b) => b !== i) : d
354
355
  ), v();
355
356
  });
356
357
  };
357
- return ee(
358
+ return te(
358
359
  () => s.value,
359
360
  () => {
360
- u(s.value ?? []);
361
+ f(s.value ?? []);
361
362
  },
362
363
  { immediate: !0 }
363
- ), ee(
364
+ ), te(
364
365
  () => n.value,
365
366
  () => {
366
- const r = n.value.filter((m) => l.value.includes(e(m))).flatMap(
367
- (m) => {
367
+ const d = n.value.filter((h) => l.value.includes(e(h))).flatMap(
368
+ (h) => {
368
369
  var S;
369
- return ((S = m == null ? void 0 : m.children) == null ? void 0 : S.length) > 0 ? m.children.map((i) => e(i)).filter((i) => !l.value.includes(i)) : [];
370
+ return ((S = h == null ? void 0 : h.children) == null ? void 0 : S.length) > 0 ? h.children.map((i) => e(i)).filter((i) => !l.value.includes(i)) : [];
370
371
  }
371
372
  );
372
- (r == null ? void 0 : r.length) > 0 ? (u([...l.value, ...r]), v()) : u(l.value);
373
+ (d == null ? void 0 : d.length) > 0 ? (f([...l.value, ...d]), v()) : f(l.value);
373
374
  }
374
- ), { onAllRowSelect: E, onRowSelect: c, onNestedRowSelect: p, allItemsSelectedState: a, selectedItems: l };
375
- }, is = (s, t, n) => ({ isSorting: (a) => s.value.some((_) => _.field === a), getSortingDirection: (a) => {
376
- var _;
377
- return (_ = s.value.find((v) => v.field === a)) == null ? void 0 : _.direction;
375
+ ), { onAllRowSelect: L, onRowSelect: c, onNestedRowSelect: m, allItemsSelectedState: a, selectedItems: l };
376
+ }, ds = (s, t, n) => ({ isSorting: (a) => s.value.some((g) => g.field === a), getSortingDirection: (a) => {
377
+ var g;
378
+ return (g = s.value.find((v) => v.field === a)) == null ? void 0 : g.direction;
378
379
  }, sortByColumnField: (a) => {
379
- var u;
380
- if (!t.value.some((E) => E.field === a && E.sortable))
380
+ var f;
381
+ if (!t.value.some((L) => L.field === a && L.sortable))
381
382
  return;
382
383
  const v = [{
383
384
  field: a,
384
- direction: ((u = s.value.find((E) => E.field === a)) == null ? void 0 : u.direction) === fe.ASCENDING ? fe.DESCENDING : fe.ASCENDING
385
+ direction: ((f = s.value.find((L) => L.field === a)) == null ? void 0 : f.direction) === fe.ASCENDING ? fe.DESCENDING : fe.ASCENDING
385
386
  }];
386
387
  n("sort", v);
387
388
  } });
388
- var K = ((s) => (s[s.ARROW_DOWN = re.ARROW_DOWN] = "ARROW_DOWN", s[s.ARROW_UP = re.ARROW_UP] = "ARROW_UP", s[s.ARROW_LEFT = re.ARROW_LEFT] = "ARROW_LEFT", s[s.ARROW_RIGHT = re.ARROW_RIGHT] = "ARROW_RIGHT", s[s.PAGE_UP = re.PAGE_UP] = "PAGE_UP", s[s.PAGE_DOWN = re.PAGE_DOWN] = "PAGE_DOWN", s[s.END = re.END] = "END", s[s.HOME = re.HOME] = "HOME", s))(K || {});
389
- const Ce = "b-row-actions-column", rs = (s, t, n, e, o, l) => {
390
- const a = w(() => l.value || e.value ? !0 : n.value.some((g) => g.infoIconTooltip || g.sortable)), _ = w(() => {
391
- let g = n.value.filter(({ visible: C }) => C !== !1);
392
- return o.value && (g = [
393
- ...g,
389
+ var J = ((s) => (s[s.ARROW_DOWN = re.ARROW_DOWN] = "ARROW_DOWN", s[s.ARROW_UP = re.ARROW_UP] = "ARROW_UP", s[s.ARROW_LEFT = re.ARROW_LEFT] = "ARROW_LEFT", s[s.ARROW_RIGHT = re.ARROW_RIGHT] = "ARROW_RIGHT", s[s.PAGE_UP = re.PAGE_UP] = "PAGE_UP", s[s.PAGE_DOWN = re.PAGE_DOWN] = "PAGE_DOWN", s[s.END = re.END] = "END", s[s.HOME = re.HOME] = "HOME", s))(J || {});
390
+ const Ce = "b-row-actions-column", ze = (s) => {
391
+ const n = In(s).filter((e) => e.node !== s);
392
+ return (n == null ? void 0 : n.length) > 0 ? (n[0].node.focus(), !0) : !1;
393
+ }, cs = (s, t, n, e, o, l) => {
394
+ const a = w(() => l.value || e.value ? !0 : n.value.some((_) => _.infoIconTooltip || _.sortable)), g = w(() => {
395
+ let _ = n.value.filter(({ visible: C }) => C !== !1);
396
+ return o.value && (_ = [
397
+ ..._,
394
398
  { field: Ce, label: "" }
395
- ]), g;
396
- }), v = w(() => _.value.length), u = w(() => {
399
+ ]), _;
400
+ }), v = w(() => g.value.length), f = w(() => {
397
401
  if (!s.value)
398
402
  return [];
399
- const g = Object.keys(s.value)[0];
400
- if (!g || !s.value[g])
403
+ const _ = Object.keys(s.value)[0];
404
+ if (!_ || !s.value[_])
401
405
  return [];
402
406
  const C = [];
403
407
  if (a.value)
404
- for (const N of _.value) {
405
- const I = t.value[N.field];
408
+ for (const O of g.value) {
409
+ const I = t.value[O.field];
406
410
  C.push(I);
407
411
  }
408
- const b = s.value[g].length;
409
- for (let N = 0; N < b; N++)
410
- for (const I of _.value) {
411
- const f = s.value[I.field];
412
- f != null && f[N] && C.push(f[N]);
412
+ const b = s.value[_].length;
413
+ for (let O = 0; O < b; O++)
414
+ for (const I of g.value) {
415
+ const u = s.value[I.field];
416
+ u != null && u[O] && C.push(u[O]);
413
417
  }
414
418
  return C;
415
- }), E = (g) => Math.floor(g / v.value), c = (g, C, b) => {
416
- const N = u.value.length - 1, I = v.value - 1, f = E(g), R = g - v.value * f;
419
+ }), L = (_) => Math.floor(_ / v.value), c = (_, C, b) => {
420
+ const O = f.value.length - 1, I = v.value - 1, u = L(_), R = _ - v.value * u;
417
421
  return {
418
- [K.PAGE_UP]: R + (a.value ? v.value : 0),
419
- [K.PAGE_DOWN]: N - I + R,
420
- [K.END]: b ? N : v.value * f + I,
421
- [K.HOME]: b ? a.value ? v.value : 0 : v.value * f
422
+ [J.PAGE_UP]: R + (a.value ? v.value : 0),
423
+ [J.PAGE_DOWN]: O - I + R,
424
+ [J.END]: b ? O : v.value * u + I,
425
+ [J.HOME]: b ? a.value ? v.value : 0 : v.value * u
422
426
  }[C];
423
- }, A = (g, C) => {
424
- const b = E(g), I = {
425
- [K.ARROW_DOWN]: v.value,
426
- [K.ARROW_UP]: b === 0 && !a.value ? 0 : -v.value,
427
- [K.ARROW_LEFT]: -1,
428
- [K.ARROW_RIGHT]: 1
429
- }[C], f = g + I;
430
- return f < 0 || f >= u.value.length ? g : f;
431
- }, p = (g) => [
432
- K.PAGE_UP,
433
- K.PAGE_DOWN,
434
- K.END,
435
- K.HOME
436
- ].includes(g), r = (g, C, b) => {
437
- const N = u.value.indexOf(g);
438
- return p(C) ? c(N, C, b) : A(N, C);
439
- }, m = (g, C, b) => {
440
- if (!u.value.includes(g))
427
+ }, A = (_, C) => {
428
+ const b = L(_), I = {
429
+ [J.ARROW_DOWN]: v.value,
430
+ [J.ARROW_UP]: b === 0 && !a.value ? 0 : -v.value,
431
+ [J.ARROW_LEFT]: -1,
432
+ [J.ARROW_RIGHT]: 1
433
+ }[C], u = _ + I;
434
+ return u < 0 || u >= f.value.length ? _ : u;
435
+ }, m = (_) => [
436
+ J.PAGE_UP,
437
+ J.PAGE_DOWN,
438
+ J.END,
439
+ J.HOME
440
+ ].includes(_), d = (_, C, b) => {
441
+ const O = f.value.indexOf(_);
442
+ return m(C) ? c(O, C, b) : A(O, C);
443
+ }, h = (_, C, b) => {
444
+ if (!f.value.includes(_))
441
445
  return;
442
- const N = r(g, C, b);
443
- u.value[N].focus();
444
- }, S = (g) => g in K;
446
+ const O = d(_, C, b);
447
+ f.value[O].focus();
448
+ }, S = (_) => _ in J;
445
449
  return {
446
450
  isNavigationKeyCode: S,
447
- focusOnNextGridcell: m,
448
- navigationInput: (g) => {
449
- const { ctrlKey: C, key: b, target: N } = g, I = b;
450
- u.value.includes(N) && S(I) && m(N, I, C);
451
+ focusOnNextGridcell: h,
452
+ navigationInput: (_) => {
453
+ const { ctrlKey: C, key: b, target: O } = _, I = b;
454
+ let u = O;
455
+ u.getAttribute("role") !== "menuitem" && (f.value.includes(u) || (u = O.closest('[role="gridcell"], [role="columnheader"]')), f.value.includes(u) && S(I) && h(u, I, C));
451
456
  }
452
457
  };
453
- }, ds = 90, cs = (s, t, n, e, o) => {
454
- const l = y(s), a = y(t), _ = y(n), v = y(e), u = w(() => l.value !== "none"), E = w(() => l.value === "automatic"), c = () => {
455
- o(O.UPDATE_SHOW_MORE);
458
+ }, us = 90, fs = (s, t, n, e, o) => {
459
+ const l = E(s), a = E(t), g = E(n), v = E(e), f = w(() => l.value !== "none"), L = w(() => l.value === "automatic"), c = () => {
460
+ o(N.UPDATE_SHOW_MORE);
456
461
  };
457
- return ee(
462
+ return te(
458
463
  () => a.value,
459
464
  () => {
460
- E.value && _.value.offsetHeight / a.value * 100 > ds && !v.value && c();
465
+ L.value && g.value.offsetHeight / a.value * 100 > us && !v.value && c();
461
466
  }
462
- ), { isLazyLoad: u, isInfiniteScroll: E, verticalScrollPosition: a, emitLazyLoadEvent: c };
463
- }, us = (s, t, n) => {
464
- const e = y(s), o = y(t), l = Ie({
467
+ ), { isLazyLoad: f, isInfiniteScroll: L, verticalScrollPosition: a, emitLazyLoadEvent: c };
468
+ }, gs = (s, t, n) => {
469
+ const e = E(s), o = E(t), l = Ie({
465
470
  dragging: null,
466
471
  dragToLeft: null,
467
472
  target: null
468
- }), a = (p, r = 0) => {
469
- const m = e.value.findIndex((g) => g.field === p.field), S = m + r;
473
+ }), a = (m, d = 0) => {
474
+ const h = e.value.findIndex((_) => _.field === m.field), S = h + d;
470
475
  if (S < 0 || S > e.value.length - 1)
471
476
  return;
472
477
  const i = [...e.value];
473
- i.splice(S, 0, i.splice(m, 1)[0]), n(O.COLUMNS, i), n(O.UPDATE_COLUMNS, i);
474
- }, _ = (p, r) => {
475
- l.dragging = p, r.dataTransfer.setData("text", ""), r.dataTransfer.dropEffect = "move";
476
- }, v = (p, r) => {
477
- l.target = p;
478
- const m = r.currentTarget.getBoundingClientRect(), S = m.left + m.width / 2, i = r.clientX ?? 0;
478
+ i.splice(S, 0, i.splice(h, 1)[0]), n(N.COLUMNS, i), n(N.UPDATE_COLUMNS, i);
479
+ }, g = (m, d) => {
480
+ l.dragging = m, d.dataTransfer.setData("text", ""), d.dataTransfer.dropEffect = "move";
481
+ }, v = (m, d) => {
482
+ l.target = m;
483
+ const h = d.currentTarget.getBoundingClientRect(), S = h.left + h.width / 2, i = d.clientX ?? 0;
479
484
  l.dragToLeft = i <= S;
480
- }, u = (p) => {
481
- var r, m;
482
- if (((r = l.dragging) == null ? void 0 : r.field) !== p.field) {
485
+ }, f = (m) => {
486
+ var d, h;
487
+ if (((d = l.dragging) == null ? void 0 : d.field) !== m.field) {
483
488
  const S = e.value.findIndex((I) => {
484
- var f;
485
- return I.field === ((f = l.dragging) == null ? void 0 : f.field);
486
- }), i = e.value.findIndex((I) => I.field === p.field), g = l.dragToLeft ? i : i + 1, C = g > S ? g - 1 : g;
489
+ var u;
490
+ return I.field === ((u = l.dragging) == null ? void 0 : u.field);
491
+ }), i = e.value.findIndex((I) => I.field === m.field), _ = l.dragToLeft ? i : i + 1, C = _ > S ? _ - 1 : _;
487
492
  let b = [...e.value];
488
493
  b.splice(
489
494
  C === -1 ? 0 : C,
490
495
  0,
491
496
  b.splice(S, 1)[0]
492
497
  );
493
- const N = e.value.findIndex((I) => !(I != null && I.frozen));
494
- ((m = l.dragging) == null ? void 0 : m.frozen) !== p.frozen && g !== N && (b = b.map(
498
+ const O = e.value.findIndex((I) => !(I != null && I.frozen));
499
+ ((h = l.dragging) == null ? void 0 : h.frozen) !== m.frozen && _ !== O && (b = b.map(
495
500
  (I) => {
496
- var f;
497
- return ((f = l.dragging) == null ? void 0 : f.field) === I.field ? { ...I, frozen: !!(p != null && p.frozen) } : I;
501
+ var u;
502
+ return ((u = l.dragging) == null ? void 0 : u.field) === I.field ? { ...I, frozen: !!(m != null && m.frozen) } : I;
498
503
  }
499
- )), n(O.COLUMNS, b), n(O.UPDATE_COLUMNS, b);
504
+ )), n(N.COLUMNS, b), n(N.UPDATE_COLUMNS, b);
500
505
  }
501
506
  l.dragging = null, l.target = null;
502
- }, E = () => {
507
+ }, L = () => {
503
508
  l.dragging = null, l.dragToLeft = null, l.target = null;
504
509
  }, c = w(() => o.value ? {
505
- [V.COLUMN_DRAG_START]: (p, r) => _(p, r),
506
- [V.COLUMN_DRAG_ENTER]: (p, r) => v(p, r),
507
- [V.COLUMN_DROP]: (p) => u(p),
508
- [V.COLUMN_DRAG_END]: () => E()
509
- } : {}), A = w(() => (p) => o.value ? {
510
- dragenter: (r) => {
511
- r.preventDefault(), v(p, r);
510
+ [V.COLUMN_DRAG_START]: (m, d) => g(m, d),
511
+ [V.COLUMN_DRAG_ENTER]: (m, d) => v(m, d),
512
+ [V.COLUMN_DROP]: (m) => f(m),
513
+ [V.COLUMN_DRAG_END]: () => L()
514
+ } : {}), A = w(() => (m) => o.value ? {
515
+ dragenter: (d) => {
516
+ d.preventDefault(), v(m, d);
512
517
  },
513
518
  drop: () => {
514
- u(p);
519
+ f(m);
515
520
  },
516
- dragover: (r) => {
517
- r.preventDefault();
521
+ dragover: (d) => {
522
+ d.preventDefault();
518
523
  }
519
524
  } : {});
520
525
  return {
@@ -525,8 +530,8 @@ const Ce = "b-row-actions-column", rs = (s, t, n, e, o, l) => {
525
530
  draggingEventsForRowCell: A,
526
531
  onMoveColumnByOffset: a
527
532
  };
528
- }, fs = (s, t) => {
529
- const n = y(s), e = w(
533
+ }, _s = (s, t) => {
534
+ const n = E(s), e = w(
530
535
  () => [...n.value].sort((c, A) => c.frozen === A.frozen ? 0 : c.frozen ? -1 : 1)
531
536
  ), o = w(
532
537
  () => e.value.filter((c) => c.frozen && c.visible !== !1)
@@ -537,77 +542,77 @@ const Ce = "b-row-actions-column", rs = (s, t, n, e, o, l) => {
537
542
  { columnSet: o.value, id: "frozen", isFrozenColumns: !0 },
538
543
  { columnSet: l.value, id: "unfrozen" }
539
544
  ].filter(({ columnSet: c }) => c.length)
540
- ), _ = w(
541
- () => n.value.filter((c) => (c == null ? void 0 : c.visible) !== !1 && (c == null ? void 0 : c.field) !== Q).length === 1
542
- ), v = (c) => t(O.UPDATE_CONDENSED, c), u = (c) => {
543
- t(O.COLUMNS, c), t(O.UPDATE_COLUMNS, c);
545
+ ), g = w(
546
+ () => n.value.filter((c) => (c == null ? void 0 : c.visible) !== !1 && (c == null ? void 0 : c.field) !== ee).length === 1
547
+ ), v = (c) => t(N.UPDATE_CONDENSED, c), f = (c) => {
548
+ t(N.COLUMNS, c), t(N.UPDATE_COLUMNS, c);
544
549
  };
545
550
  return {
546
551
  // Values
547
552
  columnSets: a,
548
- isOnlyOneVisibleColumn: _,
553
+ isOnlyOneVisibleColumn: g,
549
554
  sortedColumns: e,
550
555
  // Methods
551
556
  onConfigSettingsUpdate: v,
552
- onConfigSettingsColumnsUpdate: u,
557
+ onConfigSettingsColumnsUpdate: f,
553
558
  onConfigSettingsColumnUpdate: (c) => {
554
559
  const A = e.value.map(
555
- (p) => (p == null ? void 0 : p.field) === c.field ? c : p
560
+ (m) => (m == null ? void 0 : m.field) === c.field ? c : m
556
561
  );
557
- u(A);
562
+ f(A);
558
563
  }
559
564
  };
560
- }, gs = (s, t, n, e, o, l, a) => {
561
- const _ = y(0), v = y(!1), u = y(!1);
562
- ee([() => _.value, () => l.value], ([r]) => {
563
- s.value.scrollLeft = r, t.value.scrollLeft = r, v.value = !!r, u.value = t.value.scrollWidth - t.value.offsetWidth > r;
565
+ }, vs = (s, t, n, e, o, l, a) => {
566
+ const g = E(0), v = E(!1), f = E(!1);
567
+ te([() => g.value, () => l.value], ([d]) => {
568
+ s.value.scrollLeft = d, t.value.scrollLeft = d, v.value = !!d, f.value = t.value.scrollWidth - t.value.offsetWidth > d;
564
569
  }), Te(async () => {
565
- var r, m;
566
- await oe(), ((r = t.value) == null ? void 0 : r.offsetWidth) < ((m = t.value) == null ? void 0 : m.scrollWidth) && (u.value = !0);
570
+ var d, h;
571
+ await se(), ((d = t.value) == null ? void 0 : d.offsetWidth) < ((h = t.value) == null ? void 0 : h.scrollWidth) && (f.value = !0);
567
572
  });
568
- const E = (r) => {
569
- if (_.value = r.target.scrollLeft, n.value = s.value.scrollHeight - r.target.scrollTop, e != null && e.value) {
570
- const m = r.target.scrollLeft;
571
- e.value.scrollLeft !== m && (e.value.scrollLeft = m);
573
+ const L = (d) => {
574
+ if (g.value = d.target.scrollLeft, n.value = s.value.scrollHeight - d.target.scrollTop, e != null && e.value) {
575
+ const h = d.target.scrollLeft;
576
+ e.value.scrollLeft !== h && (e.value.scrollLeft = h);
572
577
  }
573
- }, c = (r) => {
574
- r.key !== "Tab" && r.key !== "ArrowRight" && r.key !== "ArrowLeft" || (r.preventDefault(), s.value.scrollLeft = 0, s.value.style.overflowX = "hidden", setTimeout(() => {
578
+ }, c = (d) => {
579
+ d.key !== "Tab" && d.key !== "ArrowRight" && d.key !== "ArrowLeft" || (d.preventDefault(), s.value.scrollLeft = 0, s.value.style.overflowX = "hidden", setTimeout(() => {
575
580
  s.value && (s.value.style.overflowX = "auto");
576
581
  }));
577
- }, A = (r) => {
578
- const m = r.target.scrollLeft;
579
- s.value.scrollLeft !== m && (s.value.scrollLeft = m);
580
- }, p = w(() => {
581
- var r, m, S, i;
582
- return (r = a == null ? void 0 : a.pagination) != null && r.value && ((m = a == null ? void 0 : a.stickyPagination) != null && m.value || a != null && a.isDataGridTemplate) && !((S = a == null ? void 0 : a.isLazyLoad) != null && S.value) ? { bottom: `${(((i = o.value) == null ? void 0 : i.clientHeight) ?? 0) + 1}px` } : {};
582
+ }, A = (d) => {
583
+ const h = d.target.scrollLeft;
584
+ s.value.scrollLeft !== h && (s.value.scrollLeft = h);
585
+ }, m = w(() => {
586
+ var d, h, S, i;
587
+ return (d = a == null ? void 0 : a.pagination) != null && d.value && ((h = a == null ? void 0 : a.stickyPagination) != null && h.value || a != null && a.isDataGridTemplate) && !((S = a == null ? void 0 : a.isLazyLoad) != null && S.value) ? { bottom: `${(((i = o.value) == null ? void 0 : i.clientHeight) ?? 0) + 1}px` } : {};
583
588
  });
584
589
  return {
585
590
  // Values
586
- scrollLeftPosition: _,
591
+ scrollLeftPosition: g,
587
592
  hasLeftOverflow: v,
588
- hasRightOverflow: u,
589
- horizontalScrollbarConditionalStyles: p,
593
+ hasRightOverflow: f,
594
+ horizontalScrollbarConditionalStyles: m,
590
595
  // Methods
591
- updateScrollPosition: E,
596
+ updateScrollPosition: L,
592
597
  updateScrollPositionOnFrozenColumnsNavigation: c,
593
598
  syncVirtualScrollerWithBody: A
594
599
  };
595
- }, _s = (s, t, n, e) => {
596
- const o = y(null), l = w(() => {
597
- var m, S, i, g;
598
- if (!o.value || o.value.field === Q)
600
+ }, Cs = (s, t, n, e) => {
601
+ const o = E(null), l = w(() => {
602
+ var h, S, i, _;
603
+ if (!o.value || o.value.field === ee)
599
604
  return {
600
605
  hoveredOverColumnField: "",
601
606
  isSeparatorOffset: !1,
602
607
  noBorderLeft: !1,
603
608
  noBorderRight: !1
604
609
  };
605
- const a = (S = (m = s.value.find((C) => C.isFrozenColumns)) == null ? void 0 : m.columnSet) == null ? void 0 : S.filter((C) => C.field !== Q), _ = s.value.find((C) => !(C != null && C.isFrozenColumns)), v = o.value.frozen && (a == null ? void 0 : a[0].field) === o.value.field, u = !o.value.frozen && ((i = _ == null ? void 0 : _.columnSet) == null ? void 0 : i[0].field) === o.value.field, E = (t.value || n.value) && v, c = (t.value || n.value) && !a && u, A = a && u, p = (a == null ? void 0 : a.length) > 0 && o.value.frozen && (a == null ? void 0 : a[a.length - 1].field) === o.value.field, r = n.value && e.value && !o.value.frozen && ((g = _ == null ? void 0 : _.columnSet) == null ? void 0 : g[_.columnSet.length - 1].field) === o.value.field;
610
+ const a = (S = (h = s.value.find((C) => C.isFrozenColumns)) == null ? void 0 : h.columnSet) == null ? void 0 : S.filter((C) => C.field !== ee), g = s.value.find((C) => !(C != null && C.isFrozenColumns)), v = o.value.frozen && (a == null ? void 0 : a[0].field) === o.value.field, f = !o.value.frozen && ((i = g == null ? void 0 : g.columnSet) == null ? void 0 : i[0].field) === o.value.field, L = (t.value || n.value) && v, c = (t.value || n.value) && !a && f, A = a && f, m = (a == null ? void 0 : a.length) > 0 && o.value.frozen && (a == null ? void 0 : a[a.length - 1].field) === o.value.field, d = n.value && e.value && !o.value.frozen && ((_ = g == null ? void 0 : g.columnSet) == null ? void 0 : _[g.columnSet.length - 1].field) === o.value.field;
606
611
  return {
607
612
  hoveredOverColumnField: o.value.field,
608
- isSeparatorOffset: r,
609
- noBorderLeft: !!E || !!c || !!A,
610
- noBorderRight: !!p || !!r
613
+ isSeparatorOffset: d,
614
+ noBorderLeft: !!L || !!c || !!A,
615
+ noBorderRight: !!m || !!d
611
616
  };
612
617
  });
613
618
  return {
@@ -615,114 +620,114 @@ const Ce = "b-row-actions-column", rs = (s, t, n, e, o, l) => {
615
620
  hoveredOverColumnState: l
616
621
  };
617
622
  };
618
- let tt = 0;
619
- const vs = {
623
+ let nt = 0;
624
+ const hs = {
620
625
  beforeCreate() {
621
- this.uuid = tt.toString(), tt += 1;
626
+ this.uuid = nt.toString(), nt += 1;
622
627
  }
623
628
  };
624
- var Cs = function() {
629
+ var ms = function() {
625
630
  var t = this, n = t._self._c;
626
631
  return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { fill: "#00112C", "clip-path": "url(#uia-ui-assets/icons-16-arrow_up_down_sort__a" + t.uuid + ")" } }, [n("path", { attrs: { d: "M9.06077 4.00011L5.00011 -0.0605469L0.939453 4.00011L2.00011 5.06077L4.25 2.81089V10.75H5.75V2.81066L8.00011 5.06077L9.06077 4.00011Z" } }), n("path", { attrs: { d: "M10.25 13.1893L8.00011 10.9395L6.93945 12.0001L11.0001 16.0608L15.0608 12.0001L14.0001 10.9395L11.75 13.1896V5.25H10.25V13.1893Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-ui-assets/icons-16-arrow_up_down_sort__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
627
- }, hs = [], ms = /* @__PURE__ */ q(
628
- vs,
629
- Cs,
632
+ }, ps = [], ws = /* @__PURE__ */ q(
630
633
  hs,
634
+ ms,
635
+ ps,
631
636
  !1,
632
637
  null,
633
638
  null
634
639
  );
635
- const ps = ms.exports;
636
- let nt = 0;
637
- const ws = {
640
+ const Ss = ws.exports;
641
+ let st = 0;
642
+ const Es = {
638
643
  beforeCreate() {
639
- this.uuid = nt.toString(), nt += 1;
644
+ this.uuid = st.toString(), st += 1;
640
645
  }
641
646
  };
642
- var Ss = function() {
647
+ var Ls = function() {
643
648
  var t = this, n = t._self._c;
644
649
  return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("path", { attrs: { fill: "#00112C", d: "M12.1933 8.7454L7.93903 12.9996L8.99969 14.0603L15.0604 7.99963L8.99969 1.93896L7.93903 2.99963L12.1848 7.24541L1.24902 7.25658L1.25056 8.75658L12.1933 8.7454Z" } })]);
645
- }, Ls = [], Es = /* @__PURE__ */ q(
646
- ws,
647
- Ss,
650
+ }, ys = [], Rs = /* @__PURE__ */ q(
651
+ Es,
648
652
  Ls,
653
+ ys,
649
654
  !1,
650
655
  null,
651
656
  null
652
657
  );
653
- const ys = Es.exports;
654
- let st = 0;
655
- const Rs = {
658
+ const bs = Rs.exports;
659
+ let ot = 0;
660
+ const As = {
656
661
  beforeCreate() {
657
- this.uuid = st.toString(), st += 1;
662
+ this.uuid = ot.toString(), ot += 1;
658
663
  }
659
664
  };
660
- var bs = function() {
665
+ var Os = function() {
661
666
  var t = this, n = t._self._c;
662
667
  return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { "clip-path": "url(#uia-ui-assets/icons-16-freeze__a" + t.uuid + ")" } }, [n("path", { attrs: { fill: "#00112C", d: "M7.99989 14.0605L9.49989 15.5605L10.5605 14.4999L8.75 12.6893V10.9334L10.169 10.116L11.6861 10.9939L12.3501 13.4688L13.7988 13.0801L13.2488 11.0301L15.2988 10.4801L14.9101 9.03129L12.4363 9.695L10.9199 8.81745V7.18276L12.4365 6.3051L14.9101 6.96875L15.2988 5.51999L13.2488 4.96999L13.7988 2.91999L12.3501 2.53129L11.686 5.00635L10.1693 5.88407L8.75 5.06648L8.75 3.31043L10.5605 1.49989L9.49989 0.439226L7.99989 1.93923L6.49989 0.439226L5.43923 1.49989L7.25 3.31066V5.06639L5.83078 5.88392L4.31419 5.00626L3.65018 2.53129L2.20141 2.91998L2.384 3.60052L2.38063 3.60143L2.75032 4.97028L0.701408 5.51999L1.0901 6.96875L1.7708 6.78612L1.77173 6.78955L3.56437 6.30541L5.07992 7.18246L5.07992 8.81775L3.564 9.69502L1.0901 9.03129L0.701408 10.4801L2.75141 11.0301L2.20141 13.0801L3.65018 13.4687L4.31414 10.994L5.83106 10.1161L7.25 10.9335V12.6891L5.43923 14.4999L6.49989 15.5605L7.99989 14.0605ZM9.41992 7.18345V8.81644L7.99992 9.63441L6.57992 8.81644L6.57992 7.18345L7.99992 6.36548L9.41992 7.18345Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-ui-assets/icons-16-freeze__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff", transform: "matrix(1 0 0 -1 0 16)" } })])])]);
663
- }, As = [], Os = /* @__PURE__ */ q(
664
- Rs,
665
- bs,
668
+ }, Ns = [], Ts = /* @__PURE__ */ q(
666
669
  As,
670
+ Os,
671
+ Ns,
667
672
  !1,
668
673
  null,
669
674
  null
670
675
  );
671
- const pt = Os.exports;
672
- let ot = 0;
673
- const Ns = {
676
+ const wt = Ts.exports;
677
+ let lt = 0;
678
+ const Is = {
674
679
  beforeCreate() {
675
- this.uuid = ot.toString(), ot += 1;
680
+ this.uuid = lt.toString(), lt += 1;
676
681
  }
677
682
  };
678
- var Ts = function() {
683
+ var Ds = function() {
679
684
  var t = this, n = t._self._c;
680
685
  return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { fill: "#00112C", "clip-path": "url(#uia-ui-assets/icons-16-sort_ascending__a" + t.uuid + ")" } }, [n("path", { attrs: { d: "M12.0001 1.93945L16.0608 6.00011L15.0001 7.06077L12.75 4.81066V12.75H11.25V4.81089L9.00011 7.06077L7.93945 6.00011L12.0001 1.93945Z" } }), n("path", { attrs: { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" } }), n("path", { attrs: { d: "M1.25 11.25H8.75V12.75H1.25V11.25Z" } }), n("path", { attrs: { d: "M6.75 3.25H1.25V4.75H6.75V3.25Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-ui-assets/icons-16-sort_ascending__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
681
- }, Is = [], Ds = /* @__PURE__ */ q(
682
- Ns,
683
- Ts,
686
+ }, xs = [], Fs = /* @__PURE__ */ q(
684
687
  Is,
688
+ Ds,
689
+ xs,
685
690
  !1,
686
691
  null,
687
692
  null
688
693
  );
689
- const xs = Ds.exports;
690
- let lt = 0;
691
- const Ms = {
694
+ const Ms = Fs.exports;
695
+ let at = 0;
696
+ const Bs = {
692
697
  beforeCreate() {
693
- this.uuid = lt.toString(), lt += 1;
698
+ this.uuid = at.toString(), at += 1;
694
699
  }
695
700
  };
696
- var Fs = function() {
701
+ var $s = function() {
697
702
  var t = this, n = t._self._c;
698
703
  return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { fill: "#00112C", "clip-path": "url(#uia-ui-assets/icons-16-sort_descending__a" + t.uuid + ")" } }, [n("path", { attrs: { d: "M12.75 3.25V11.1896L15.0001 8.93945L16.0608 10.0001L12.0001 14.0608L7.93945 10.0001L9.00011 8.93945L11.25 11.1893V3.25H12.75Z" } }), n("path", { attrs: { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" } }), n("path", { attrs: { d: "M1.25 3.25H9.09V4.75H1.25V3.25Z" } }), n("path", { attrs: { d: "M6.75 11.25H1.25V12.75H6.75V11.25Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-ui-assets/icons-16-sort_descending__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
699
- }, Bs = [], $s = /* @__PURE__ */ q(
700
- Ms,
701
- Fs,
704
+ }, zs = [], Ps = /* @__PURE__ */ q(
702
705
  Bs,
706
+ $s,
707
+ zs,
703
708
  !1,
704
709
  null,
705
710
  null
706
711
  );
707
- const Ps = $s.exports;
708
- let at = 0;
709
- const zs = {
712
+ const Us = Ps.exports;
713
+ let it = 0;
714
+ const ks = {
710
715
  beforeCreate() {
711
- this.uuid = at.toString(), at += 1;
716
+ this.uuid = it.toString(), it += 1;
712
717
  }
713
718
  };
714
- var Us = function() {
719
+ var Ws = function() {
715
720
  var t = this, n = t._self._c;
716
721
  return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("path", { attrs: { fill: "#00112C", d: "M8 11.25L12.5 5.25H3.5L8 11.25Z" } })]);
717
- }, ks = [], Ws = /* @__PURE__ */ q(
718
- zs,
719
- Us,
722
+ }, Gs = [], Hs = /* @__PURE__ */ q(
720
723
  ks,
724
+ Ws,
725
+ Gs,
721
726
  !1,
722
727
  null,
723
728
  null
724
729
  );
725
- const Gs = Ws.exports, Hs = {
730
+ const Vs = Hs.exports, Zs = {
726
731
  "en-US": {
727
732
  columnActions: "{name} column actions",
728
733
  freezeColumn: "Freeze column",
@@ -755,11 +760,11 @@ const Gs = Ws.exports, Hs = {
755
760
  selectAll: "Selecionar tudo",
756
761
  unfreezeColumn: "Descongelar coluna"
757
762
  }
758
- }, Vs = {
759
- i18n: { messages: Hs },
763
+ }, js = {
764
+ i18n: { messages: Zs },
760
765
  name: "data-grid-columns"
761
- }, Zs = /* @__PURE__ */ ie({
762
- ...Vs,
766
+ }, qs = /* @__PURE__ */ ae({
767
+ ...js,
763
768
  props: {
764
769
  /**
765
770
  * Column definitions using 'key' to relate to data object.
@@ -892,7 +897,7 @@ const Gs = Ws.exports, Hs = {
892
897
  },
893
898
  emits: ["sort", "column-hover"],
894
899
  setup(s, { expose: t, emit: n }) {
895
- const e = s, o = 100, { t: l } = ge(), { columns: a, sortBy: _ } = De(e), v = y({}), u = y({}), E = y(), c = y(), A = (d) => n(V.SELECT_ALL_ROWS, d), p = (d) => d.field === Q, r = w(() => [
900
+ const e = s, o = 100, { t: l } = ge(), { columns: a, sortBy: g } = De(e), v = E({}), f = E({}), L = E(), c = E(), A = (r) => n(V.SELECT_ALL_ROWS, r), m = (r) => r.field === ee, d = w(() => [
896
901
  {
897
902
  text: l("selectPage"),
898
903
  handler: () => A(!0)
@@ -901,134 +906,136 @@ const Gs = Ws.exports, Hs = {
901
906
  text: l("selectAll"),
902
907
  handler: () => n(V.SELECT_ALL_ACROSS_PAGES)
903
908
  }
904
- ]), { startResize: m, isResizing: S, columnHoverEventToEmitAfterResizing: i } = qn(a, n), { isSorting: g, getSortingDirection: C, sortByColumnField: b } = is(_, a, n), N = (d) => {
905
- var se;
906
- if (!d.sortable)
909
+ ]), { startResize: h, isResizing: S, columnHoverEventToEmitAfterResizing: i } = Xn(a, n), { isSorting: _, getSortingDirection: C, sortByColumnField: b } = ds(g, a, n), O = (r) => {
910
+ var ne;
911
+ if (!r.sortable)
907
912
  return null;
908
- const P = (se = e.sortBy.find(({ field: L }) => L === d.field)) == null ? void 0 : se.direction;
913
+ const P = (ne = e.sortBy.find(({ field: ie }) => ie === r.field)) == null ? void 0 : ne.direction;
909
914
  return P ? {
910
915
  [fe.ASCENDING]: he.ASCENDING,
911
916
  [fe.DESCENDING]: he.DESCENDING
912
917
  }[P] : he.NONE;
913
- }, I = w(() => (d) => e.hasDraggableColumns ? {
918
+ }, I = w(() => (r) => e.hasDraggableColumns ? {
914
919
  dragstart: (P) => {
915
- n(V.COLUMN_DRAG_START, d, P);
920
+ n(V.COLUMN_DRAG_START, r, P);
916
921
  },
917
922
  dragover: (P) => {
918
923
  P.preventDefault();
919
924
  },
920
925
  dragenter: (P) => {
921
- P.preventDefault(), n(V.COLUMN_DRAG_ENTER, d, P);
926
+ P.preventDefault(), n(V.COLUMN_DRAG_ENTER, r, P);
922
927
  },
923
928
  drop: () => {
924
- n(V.COLUMN_DROP, d);
929
+ n(V.COLUMN_DROP, r);
925
930
  },
926
931
  dragend: () => {
927
932
  n(V.COLUMN_DRAG_END);
928
933
  }
929
- } : {}), f = w(() => (d) => [
934
+ } : {}), u = w(() => (r) => [
930
935
  {
931
936
  text: l("moveColumnLeft"),
932
- handler: () => n(V.COLUMN_MOVE, d, -1),
933
- icon: kn,
934
- disabled: e.columns[0].field === d.field
937
+ handler: () => n(V.COLUMN_MOVE, r, -1),
938
+ icon: Gn,
939
+ disabled: e.columns[0].field === r.field
935
940
  },
936
941
  {
937
942
  text: l("moveColumnRight"),
938
- handler: () => n(V.COLUMN_MOVE, d, 1),
939
- icon: ys,
940
- disabled: e.columns[e.columns.length - 1].field === d.field
943
+ handler: () => n(V.COLUMN_MOVE, r, 1),
944
+ icon: bs,
945
+ disabled: e.columns[e.columns.length - 1].field === r.field
941
946
  },
942
947
  {
943
- text: d != null && d.frozen ? l("unfreezeColumn") : l("freezeColumn"),
944
- handler: () => n(V.COLUMN_UPDATE, { ...d, frozen: !(d != null && d.frozen) }),
945
- icon: pt
948
+ text: r != null && r.frozen ? l("unfreezeColumn") : l("freezeColumn"),
949
+ handler: () => n(V.COLUMN_UPDATE, { ...r, frozen: !(r != null && r.frozen) }),
950
+ icon: wt
946
951
  },
947
952
  {
948
- text: (d == null ? void 0 : d.visible) !== !1 ? l("hideColumn") : l("showColumn"),
953
+ text: (r == null ? void 0 : r.visible) !== !1 ? l("hideColumn") : l("showColumn"),
949
954
  handler: () => {
950
955
  n(V.COLUMN_UPDATE, {
951
- ...d,
952
- visible: (d == null ? void 0 : d.visible) === !1
956
+ ...r,
957
+ visible: (r == null ? void 0 : r.visible) === !1
953
958
  });
954
959
  },
955
- icon: (d == null ? void 0 : d.visible) !== !1 ? Wn : Gn,
956
- disabled: (d == null ? void 0 : d.mandatory) || (d == null ? void 0 : d.visible) !== !1 && e.isOnlyOneVisibleColumn
960
+ icon: (r == null ? void 0 : r.visible) !== !1 ? Hn : Vn,
961
+ disabled: (r == null ? void 0 : r.mandatory) || (r == null ? void 0 : r.visible) !== !1 && e.isOnlyOneVisibleColumn
957
962
  }
958
- ]), R = (d) => {
959
- E.value = d.field, c.value && clearTimeout(c.value);
960
- }, x = () => {
961
- const d = setTimeout(() => {
962
- E.value = "";
963
+ ]), R = (r) => {
964
+ L.value = r.field, c.value && clearTimeout(c.value);
965
+ }, F = () => {
966
+ const r = setTimeout(() => {
967
+ L.value = "";
963
968
  }, o);
964
- c.value = d;
965
- }, H = (d) => {
969
+ c.value = r;
970
+ }, G = (r) => {
966
971
  let P = {
967
972
  mouseenter: () => {
968
- R(d), S.value ? i.value = d : n("column-hover", d);
973
+ R(r), S.value ? i.value = r : n("column-hover", r);
969
974
  },
970
975
  mouseleave: () => {
971
- x(), S.value ? i.value = null : n("column-hover", null);
976
+ F(), S.value ? i.value = null : n("column-hover", null);
972
977
  },
973
- focus: () => R(d)
978
+ focus: () => {
979
+ R(r), m(r) && ze(v.value[r.field]);
980
+ }
974
981
  };
975
- return p(d) || (P = {
982
+ return m(r) || (P = {
976
983
  ...P,
977
- ...I.value(d)
984
+ ...I.value(r)
978
985
  }), P;
979
- }, h = (d) => d.infoIconTooltip || d.sortable || e.hasColumnPanel, $ = (d, P) => {
980
- var le;
981
- ((le = v.value) == null ? void 0 : le[P]) === void 0 && (v.value = { ...v.value, [P]: null }), d !== null && (v.value[P] = d);
982
- }, D = w(() => {
986
+ }, Z = (r) => r.infoIconTooltip || r.sortable || e.hasColumnPanel, H = (r, P) => {
987
+ var oe;
988
+ ((oe = v.value) == null ? void 0 : oe[P]) === void 0 && (v.value = { ...v.value, [P]: null }), r !== null && (v.value[P] = r);
989
+ }, p = w(() => {
983
990
  var P;
984
- const d = {
991
+ const r = {
985
992
  "b-data-grid-columns--is-measuring": e.isMeasuringColumnWidths
986
993
  };
987
994
  return (P = a.value[0]) != null && P.frozen ? {
988
- ...d,
995
+ ...r,
989
996
  "b-data-grid-columns--frozen": !0,
990
997
  "b-data-grid-columns--frozen-separator": e.showFrozenColumnsSeparator,
991
998
  "b-data-grid-columns--overflow-shadow-left": e.hasLeftOverflow
992
999
  } : {
993
- ...d,
1000
+ ...r,
994
1001
  "b-data-grid-columns--unfrozen": !0
995
1002
  };
996
- }), B = (d, P) => d && P === 0 ? Ye.BOTTOM_START : Ye.BOTTOM_END, k = (d, P) => {
997
- var le, se, L, F, G, Y, J, ae, te, Z;
1003
+ }), $ = (r, P) => r && P === 0 ? Xe.BOTTOM_START : Xe.BOTTOM_END, x = (r, P) => {
1004
+ var oe, ne, ie, y, B, k, Y, Q, le, U;
998
1005
  return {
999
- "b-data-grid-columns__column--column-hovered": d.field === e.hoveredOverColumnState.hoveredOverColumnField,
1000
- "b-data-grid-columns__column--column-hovered-no-border-left": d.field === e.hoveredOverColumnState.hoveredOverColumnField && e.hoveredOverColumnState.noBorderLeft,
1001
- "b-data-grid-columns__column--column-hovered-no-border-right": d.field === e.hoveredOverColumnState.hoveredOverColumnField && e.hoveredOverColumnState.noBorderRight,
1006
+ "b-data-grid-columns__column--column-hovered": r.field === e.hoveredOverColumnState.hoveredOverColumnField,
1007
+ "b-data-grid-columns__column--column-hovered-no-border-left": r.field === e.hoveredOverColumnState.hoveredOverColumnField && e.hoveredOverColumnState.noBorderLeft,
1008
+ "b-data-grid-columns__column--column-hovered-no-border-right": r.field === e.hoveredOverColumnState.hoveredOverColumnField && e.hoveredOverColumnState.noBorderRight,
1002
1009
  "b-data-grid-columns__column--last-frozen-frozen-column": e.isFrozenColumns && P === a.value.length - 1,
1003
- "b-data-grid-columns__column--sortable": d.sortable,
1004
- "b-data-grid-columns__column--padding-left-unset": ((le = d == null ? void 0 : d.padding) == null ? void 0 : le.left) === !1,
1005
- "b-data-grid-columns__column--padding-right-unset": ((se = d == null ? void 0 : d.padding) == null ? void 0 : se.right) === !1,
1006
- "b-data-grid-columns__column--numeric": d == null ? void 0 : d.numeric,
1007
- "b-data-grid-columns__column--frozen": d == null ? void 0 : d.frozen,
1008
- "b-data-grid-columns__column--is-re-ordering": (d == null ? void 0 : d.field) === ((F = (L = e.draggingColumns) == null ? void 0 : L.dragging) == null ? void 0 : F.field),
1009
- "b-data-grid-columns__column--is-re-ordering-target-left": (d == null ? void 0 : d.field) === ((Y = (G = e.draggingColumns) == null ? void 0 : G.target) == null ? void 0 : Y.field) && ((J = e.draggingColumns) == null ? void 0 : J.dragToLeft),
1010
- "b-data-grid-columns__column--is-re-ordering-target-right": (d == null ? void 0 : d.field) === ((te = (ae = e.draggingColumns) == null ? void 0 : ae.target) == null ? void 0 : te.field) && !((Z = e.draggingColumns) != null && Z.dragToLeft),
1011
- "b-data-grid-columns__column--with-sorting-or-column-panel": d.sortable || d.infoIconTooltip || e.hasColumnPanel && E.value === d.field || e.selectableAcrossPages
1010
+ "b-data-grid-columns__column--sortable": r.sortable,
1011
+ "b-data-grid-columns__column--padding-left-unset": ((oe = r == null ? void 0 : r.padding) == null ? void 0 : oe.left) === !1,
1012
+ "b-data-grid-columns__column--padding-right-unset": ((ne = r == null ? void 0 : r.padding) == null ? void 0 : ne.right) === !1,
1013
+ "b-data-grid-columns__column--numeric": r == null ? void 0 : r.numeric,
1014
+ "b-data-grid-columns__column--frozen": r == null ? void 0 : r.frozen,
1015
+ "b-data-grid-columns__column--is-re-ordering": (r == null ? void 0 : r.field) === ((y = (ie = e.draggingColumns) == null ? void 0 : ie.dragging) == null ? void 0 : y.field),
1016
+ "b-data-grid-columns__column--is-re-ordering-target-left": (r == null ? void 0 : r.field) === ((k = (B = e.draggingColumns) == null ? void 0 : B.target) == null ? void 0 : k.field) && ((Y = e.draggingColumns) == null ? void 0 : Y.dragToLeft),
1017
+ "b-data-grid-columns__column--is-re-ordering-target-right": (r == null ? void 0 : r.field) === ((le = (Q = e.draggingColumns) == null ? void 0 : Q.target) == null ? void 0 : le.field) && !((U = e.draggingColumns) != null && U.dragToLeft),
1018
+ "b-data-grid-columns__column--with-sorting-or-column-panel": r.sortable || r.infoIconTooltip || e.hasColumnPanel && L.value === r.field || e.selectableAcrossPages
1012
1019
  };
1013
- }, U = (d) => ({
1014
- "b-data-grid-columns__column-header-and-actions--numeric": d == null ? void 0 : d.numeric
1015
- }), z = (d) => ({
1016
- "b-data-grid-columns__column-actions--numeric": d == null ? void 0 : d.numeric
1017
- }), M = (d) => ({
1020
+ }, D = (r) => ({
1021
+ "b-data-grid-columns__column-header-and-actions--numeric": r == null ? void 0 : r.numeric
1022
+ }), z = (r) => ({
1023
+ "b-data-grid-columns__column-actions--numeric": r == null ? void 0 : r.numeric
1024
+ }), M = (r) => ({
1018
1025
  "b-data-grid-columns__column-separator-container--is-resizeable": e.hasResizableColumns,
1019
- "b-data-grid-columns__column-separator-container--is-offset": e.hoveredOverColumnState.hoveredOverColumnField === d.field && e.hoveredOverColumnState.isSeparatorOffset
1020
- }), ne = w(() => ({
1026
+ "b-data-grid-columns__column-separator-container--is-offset": e.hoveredOverColumnState.hoveredOverColumnField === r.field && e.hoveredOverColumnState.isSeparatorOffset
1027
+ }), K = w(() => ({
1021
1028
  "b-data-grid-columns__column-header--truncated": e.truncateColumnHeaders
1022
1029
  }));
1023
1030
  return t({
1024
1031
  columnHeaderRefs: v
1025
- }), { __sfc: !0, props: e, emit: n, CLOSING_CONTEXTUAL_MENU_DELAY_MS: o, t: l, columns: a, sortBy: _, columnHeaderRefs: v, contextMenuRef: u, hoveredColumnField: E, closingTimeOutId: c, onAllRowSelect: A, isActionsColumn: p, selectAllMenu: r, startResize: m, isResizing: S, columnHoverEventToEmitAfterResizing: i, isSorting: g, getSortingDirection: C, sortByColumnField: b, getSortingColumnDirection: N, draggingEventsForColumn: I, contextualMenuData: f, showContextualMenu: R, hideContextualMenu: x, dataGridColumnEvents: H, hasColumnActions: h, registerColumnsRefs: $, conditionalColumnsClasses: D, computeMenuPosition: B, conditionalColumnClasses: k, conditionalColumnHeaderAndActionsClasses: U, conditionalColumnActionsClasses: z, conditionalColumnSeparatorClasses: M, conditionalColumnHeaderClasses: ne, BentoCheckbox: Ct, BentoDatagridSortDirection: fe, BentoTypography: me, DATAGRID_ROW_ACTIONS_COLUMN_FIELD_NAME: Ce, BentoInfoIcon: zn, DatagridColumnsEvent: V, BentoMenu: vt, BentoToggleButton: $e, ArrowUpAndDownSortIcon: ps, SortAscendingIcon: xs, SortDescendingIcon: Ps, TriangleDown: Gs };
1032
+ }), { __sfc: !0, props: e, emit: n, CLOSING_CONTEXTUAL_MENU_DELAY_MS: o, t: l, columns: a, sortBy: g, columnHeaderRefs: v, contextMenuRef: f, hoveredColumnField: L, closingTimeOutId: c, onAllRowSelect: A, isActionsColumn: m, selectAllMenu: d, startResize: h, isResizing: S, columnHoverEventToEmitAfterResizing: i, isSorting: _, getSortingDirection: C, sortByColumnField: b, getSortingColumnDirection: O, draggingEventsForColumn: I, contextualMenuData: u, showContextualMenu: R, hideContextualMenu: F, dataGridColumnEvents: G, hasColumnActions: Z, registerColumnsRefs: H, conditionalColumnsClasses: p, computeMenuPosition: $, conditionalColumnClasses: x, conditionalColumnHeaderAndActionsClasses: D, conditionalColumnActionsClasses: z, conditionalColumnSeparatorClasses: M, conditionalColumnHeaderClasses: K, BentoCheckbox: ht, BentoDatagridSortDirection: fe, BentoTypography: me, DATAGRID_ROW_ACTIONS_COLUMN_FIELD_NAME: Ce, BentoInfoIcon: kn, DatagridColumnsEvent: V, BentoMenu: Ct, BentoToggleButton: $e, ArrowUpAndDownSortIcon: Ss, SortAscendingIcon: Ms, SortDescendingIcon: Us, TriangleDown: Vs };
1026
1033
  }
1027
1034
  });
1028
- var js = function() {
1035
+ var Ys = function() {
1029
1036
  var t = this, n = t._self._c, e = t._self._setupProxy;
1030
1037
  return n("div", { staticClass: "b-data-grid-columns", class: e.conditionalColumnsClasses, attrs: { "data-testid": "data-grid-columns" } }, [t._l(e.columns, function(o, l) {
1031
- return n("div", t._g({ key: o.field, ref: (a) => e.registerColumnsRefs(a, o.field), refInFor: !0, staticClass: "b-data-grid-columns__column", class: e.conditionalColumnClasses(o, l), style: { width: o.autoWidth && t.isMeasuringColumnWidths ? "auto" : `${o.width}px` }, attrs: { "aria-colindex": l + 1, "aria-label": o.label, "aria-sort": e.getSortingColumnDirection(o), "data-testid": `${o.field}-column-header`, draggable: t.hasDraggableColumns && !e.isResizing && !e.isActionsColumn(o), role: "columnheader", tabindex: o.sortable || t.hasColumnPanel || o.infoIconTooltip ? "0" : "-1" } }, e.dataGridColumnEvents(o)), [e.isActionsColumn(o) && t.selectable ? n("div", { staticClass: "b-data-grid-columns__select-column" }, [n(e.BentoCheckbox, { attrs: { "aria-label": e.t("selectAll"), "model-value": t.allItemsSelectedState.allItemsSelected, "data-testid": "checkbox-select-all", indeterminate: t.allItemsSelectedState.isIndeterminate, value: "data-grid-select-all" }, on: { "update:model-value": e.onAllRowSelect } }), t.selectableAcrossPages ? [n(e.BentoMenu, { staticClass: "b-data-grid-columns__select-column-menu", attrs: { data: e.selectAllMenu, "menu-position": "bottom-start", "menu-fixed-positioning": "", button: { variant: "tertiary", condensed: !0 } }, scopedSlots: t._u([{ key: "iconLeft", fn: function() {
1038
+ return n("div", t._g({ key: o.field, ref: (a) => e.registerColumnsRefs(a, o.field), refInFor: !0, staticClass: "b-data-grid-columns__column", class: e.conditionalColumnClasses(o, l), style: { width: o.autoWidth && t.isMeasuringColumnWidths ? "auto" : `${o.width}px` }, attrs: { "aria-colindex": l + 1, "aria-label": o.label, "aria-sort": e.getSortingColumnDirection(o), "data-testid": `${o.field}-column-header`, draggable: t.hasDraggableColumns && !e.isResizing && !e.isActionsColumn(o), role: "columnheader", tabindex: o.sortable || t.hasColumnPanel || o.infoIconTooltip ? "0" : "-1" } }, e.dataGridColumnEvents(o)), [e.isActionsColumn(o) && t.selectable ? n("div", { staticClass: "b-data-grid-columns__select-column" }, [n(e.BentoCheckbox, { attrs: { "aria-label": e.t("selectAll"), "model-value": t.allItemsSelectedState.allItemsSelected, "data-testid": "checkbox-select-all", indeterminate: t.allItemsSelectedState.isIndeterminate, value: "data-grid-select-all" }, on: { "update:model-value": e.onAllRowSelect } }), t.selectableAcrossPages ? [n(e.BentoMenu, { staticClass: "b-data-grid-columns__select-column-menu", attrs: { data: e.selectAllMenu, "disable-arrow-down-opening-menu": "", "menu-position": "bottom-start", "menu-fixed-positioning": "", button: { variant: "tertiary", condensed: !0 } }, scopedSlots: t._u([{ key: "iconLeft", fn: function() {
1032
1039
  return [n(e.TriangleDown, { attrs: { "svg-title": e.t("selectionMenu") } })];
1033
1040
  }, proxy: !0 }], null, !0) })] : t._e()], 2) : [n("div", { staticClass: "b-data-grid-columns__column-header-and-actions", class: e.conditionalColumnHeaderAndActionsClasses(o), attrs: { "aria-label": e.t("columnActions", { name: o.label }), "aria-live": "polite", role: "region" } }, [n(e.BentoTypography, { staticClass: "b-data-grid-columns__column-header", class: e.conditionalColumnHeaderClasses, attrs: { el: "div", strongest: "" } }, [t._t(`head-${o.field}`, function() {
1034
1041
  return [n("span", { staticClass: "b-data-grid-columns__label" }, [t._v(t._s(o.label))])];
@@ -1036,7 +1043,7 @@ var js = function() {
1036
1043
  return e.sortByColumnField(o.field);
1037
1044
  } }, scopedSlots: t._u([{ key: "iconLeft", fn: function() {
1038
1045
  return [e.getSortingDirection(o.field) ? e.getSortingDirection(o.field) === e.BentoDatagridSortDirection.ASCENDING ? n(e.SortAscendingIcon, { attrs: { "svg-title": e.t("sortColumnInDescendingOrder", { name: o.label }) } }) : e.getSortingDirection(o.field) === e.BentoDatagridSortDirection.DESCENDING ? n(e.SortDescendingIcon, { attrs: { "svg-title": e.t("sortColumnInAscendingOrder", { name: o.label }) } }) : t._e() : n(e.ArrowUpAndDownSortIcon, { attrs: { "svg-title": e.t("sortColumn", { name: o.label }) } })];
1039
- }, proxy: !0 }], null, !0) })], 1) : t._e(), t.hasColumnPanel && e.hoveredColumnField === o.field ? n(e.BentoMenu, { ref: (a) => e.contextMenuRef[o.field] = a, refInFor: !0, staticClass: "b-data-grid-columns__menu", attrs: { data: e.contextualMenuData(o), "menu-position": e.computeMenuPosition(t.hasFirstColumnPanelRightAligned, l), "menu-fixed-positioning": !0, button: { variant: "tertiary", condensed: !0 } }, on: { open: function(a) {
1046
+ }, proxy: !0 }], null, !0) })], 1) : t._e(), t.hasColumnPanel && e.hoveredColumnField === o.field ? n(e.BentoMenu, { ref: (a) => e.contextMenuRef[o.field] = a, refInFor: !0, staticClass: "b-data-grid-columns__menu", attrs: { "disable-arrow-down-opening-menu": "", data: e.contextualMenuData(o), "menu-position": e.computeMenuPosition(t.hasFirstColumnPanelRightAligned, l), "menu-fixed-positioning": !0, button: { variant: "tertiary", condensed: !0 } }, on: { open: function(a) {
1040
1047
  return t.$emit(e.DatagridColumnsEvent.COLUMN_MENU_OPEN);
1041
1048
  }, close: function(a) {
1042
1049
  return t.$emit(e.DatagridColumnsEvent.COLUMN_MENU_CLOSE);
@@ -1046,44 +1053,44 @@ var js = function() {
1046
1053
  a.stopPropagation();
1047
1054
  } } }, [!t.isFrozenColumns || t.isFrozenColumns && l !== e.columns.length - 1 ? n("div", { staticClass: "b-data-grid-columns__column-separator" }) : t._e()])]], 2);
1048
1055
  }), t.rowActionsMaximumWidth && !t.isFrozenColumns ? [n("div", { staticClass: "b-data-grid-columns__row-actions-filler", attrs: { role: "presentation" } }), n("div", { ref: (o) => e.registerColumnsRefs(o, e.DATAGRID_ROW_ACTIONS_COLUMN_FIELD_NAME), staticClass: "b-data-grid-columns__column", style: { minWidth: `${t.rowActionsMaximumWidth}px` }, attrs: { "aria-label": e.t("rowActionsColumn"), "aria-colindex": e.columns.length + 1, role: "columnheader", tabindex: "0" } })] : t._e()], 2);
1049
- }, qs = [], Ys = /* @__PURE__ */ q(
1050
- Zs,
1051
- js,
1056
+ }, Xs = [], Ks = /* @__PURE__ */ q(
1052
1057
  qs,
1058
+ Ys,
1059
+ Xs,
1053
1060
  !1,
1054
1061
  null,
1055
- "bc980736"
1062
+ "027bd6de"
1056
1063
  );
1057
- const Xs = Ys.exports;
1064
+ const Js = Ks.exports;
1058
1065
  var de = /* @__PURE__ */ ((s) => (s.CONFIG_SETTINGS = "config-settings", s.UPDATE_COLUMNS = "update:columns", s))(de || {});
1059
- let it = 0;
1060
- const Ks = {
1066
+ let rt = 0;
1067
+ const Qs = {
1061
1068
  beforeCreate() {
1062
- this.uuid = it.toString(), it += 1;
1069
+ this.uuid = rt.toString(), rt += 1;
1063
1070
  }
1064
1071
  };
1065
- var Js = function() {
1072
+ var eo = function() {
1066
1073
  var t = this, n = t._self._c;
1067
1074
  return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { fill: "#00112C", "clip-path": "url(#uia-ui-assets/icons-16-settings__a" + t.uuid + ")" } }, [n("path", { attrs: { d: "M8 5.25C6.48122 5.25 5.25 6.48122 5.25 8C5.25 9.51878 6.48122 10.75 8 10.75C9.51878 10.75 10.75 9.51878 10.75 8C10.75 6.48122 9.51878 5.25 8 5.25ZM6.75 8C6.75 7.30964 7.30964 6.75 8 6.75C8.69036 6.75 9.25 7.30964 9.25 8C9.25 8.69036 8.69036 9.25 8 9.25C7.30964 9.25 6.75 8.69036 6.75 8Z" } }), n("path", { attrs: { d: "M6.84701 0.973015L6.59985 0.35083L5.9537 0.526056C4.64534 0.880867 3.48225 1.56808 2.55285 2.48641L2.07533 2.95826L2.49158 3.48495C2.79648 3.87074 2.85279 4.419 2.58992 4.87589C2.32905 5.32931 1.82436 5.55631 1.33473 5.48726L0.677319 5.39455L0.505539 6.03586C0.33838 6.65992 0.25 7.32519 0.25 7.99991C0.25 8.67463 0.33838 9.3399 0.505539 9.96396L0.677319 10.6053L1.33473 10.5126C1.82436 10.4435 2.32905 10.6705 2.58992 11.1239C2.85279 11.5808 2.79648 12.1291 2.49158 12.5149L2.07533 13.0416L2.55285 13.5134C3.48225 14.4317 4.64534 15.119 5.9537 15.4738L6.59985 15.649L6.84701 15.0268C7.02659 14.5748 7.47549 14.2499 8 14.2499C8.52452 14.2499 8.97341 14.5748 9.15299 15.0268L9.40016 15.649L10.0463 15.4738C11.3547 15.119 12.5177 14.4317 13.4471 13.5134L13.9247 13.0416L13.5084 12.5149C13.2035 12.1291 13.1472 11.5808 13.4101 11.1239C13.671 10.6705 14.1756 10.4435 14.6653 10.5126L15.3227 10.6053L15.4945 9.96396C15.6616 9.3399 15.75 8.67463 15.75 7.99991C15.75 7.32519 15.6616 6.65992 15.4945 6.03586L15.3227 5.39455L14.6653 5.48726C14.1756 5.55631 13.671 5.32931 13.4101 4.87589C13.1472 4.419 13.2035 3.87074 13.5084 3.48495L13.9247 2.95826L13.4471 2.48641C12.5177 1.56808 11.3547 0.880867 10.0463 0.526056L9.40016 0.35083L9.15299 0.973015C8.97341 1.42506 8.52452 1.74991 8 1.74991C7.47549 1.74991 7.02659 1.42506 6.84701 0.973015ZM3.89008 5.62393C4.33946 4.84286 4.36394 3.9353 4.03405 3.16853C4.55803 2.73795 5.15349 2.39116 5.80146 2.14902C6.30062 2.81653 7.10051 3.24991 8 3.24991C8.89949 3.24991 9.69938 2.81653 10.1985 2.14902C10.8465 2.39116 11.442 2.73795 11.966 3.16853C11.6361 3.9353 11.6605 4.84287 12.1099 5.62393C12.5612 6.40839 13.3382 6.88092 14.1658 6.97982C14.221 7.31075 14.25 7.65319 14.25 7.99991C14.25 8.34663 14.221 8.68908 14.1658 9.02001C13.3382 9.11891 12.5612 9.59143 12.1099 10.3759C11.6605 11.157 11.6361 12.0645 11.9659 12.8313C11.442 13.2619 10.8465 13.6087 10.1985 13.8508C9.69938 13.1833 8.89949 12.7499 8 12.7499C7.10051 12.7499 6.30062 13.1833 5.80146 13.8508C5.15349 13.6087 4.55803 13.2619 4.03405 12.8313C4.36394 12.0645 4.33946 11.157 3.89008 10.3759C3.43875 9.59143 2.66177 9.1189 1.8342 9.02C1.77896 8.68908 1.75 8.34663 1.75 7.99991C1.75 7.65319 1.77896 7.31074 1.8342 6.97982C2.66177 6.88092 3.43875 6.40839 3.89008 5.62393Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-ui-assets/icons-16-settings__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
1068
- }, Qs = [], eo = /* @__PURE__ */ q(
1069
- Ks,
1070
- Js,
1075
+ }, to = [], no = /* @__PURE__ */ q(
1071
1076
  Qs,
1077
+ eo,
1078
+ to,
1072
1079
  !1,
1073
1080
  null,
1074
1081
  null
1075
1082
  );
1076
- const to = eo.exports, no = {
1083
+ const so = no.exports, oo = {
1077
1084
  "en-US": {
1078
1085
  toggleColumnFreeze: "Toggle {label} column freeze",
1079
1086
  toggleColumnVisibility: "Toggle {label} column visibility"
1080
1087
  }
1081
- }, so = ie({
1082
- i18n: { messages: no },
1088
+ }, lo = ae({
1089
+ i18n: { messages: oo },
1083
1090
  name: "bento-data-grid",
1084
1091
  components: {
1085
- BentoFreezeIcon: pt,
1086
- BentoToggle: ht
1092
+ BentoFreezeIcon: wt,
1093
+ BentoToggle: mt
1087
1094
  },
1088
1095
  props: {
1089
1096
  /**
@@ -1103,7 +1110,7 @@ const to = eo.exports, no = {
1103
1110
  },
1104
1111
  emits: ["visible-column", "updated-column"],
1105
1112
  setup(s, { emit: t }) {
1106
- const { t: n } = ge(), e = y(!1), o = w(() => {
1113
+ const { t: n } = ge(), e = E(!1), o = w(() => {
1107
1114
  var c;
1108
1115
  return (c = s.column) == null ? void 0 : c.frozen;
1109
1116
  }), l = w(() => {
@@ -1111,45 +1118,45 @@ const to = eo.exports, no = {
1111
1118
  return ((c = s.column) == null ? void 0 : c.visible) !== !1;
1112
1119
  }), a = () => {
1113
1120
  t("visible-column", { ...s.column, visible: !l.value });
1114
- }, _ = () => {
1121
+ }, g = () => {
1115
1122
  t("updated-column", { ...s.column, frozen: !o.value });
1116
1123
  }, v = () => {
1117
1124
  o.value || (e.value = !0);
1118
- }, u = () => {
1125
+ }, f = () => {
1119
1126
  o.value || (e.value = !1);
1120
- }, E = w(() => ({
1127
+ }, L = w(() => ({
1121
1128
  "b-data-grid-config-settings-column-row__freeze-icon--frozen": o.value
1122
1129
  }));
1123
1130
  return {
1124
1131
  // Values
1125
1132
  isFreezeIconOptionShown: e,
1126
1133
  isColumnFrozen: o,
1127
- freezeIconConditionalClasses: E,
1134
+ freezeIconConditionalClasses: L,
1128
1135
  isColumnVisible: l,
1129
1136
  // Methods
1130
1137
  toggleColumnVisibility: a,
1131
1138
  showFreezeIcon: v,
1132
- hideFreezeIcon: u,
1133
- toggleColumnFreeze: _,
1139
+ hideFreezeIcon: f,
1140
+ toggleColumnFreeze: g,
1134
1141
  // Translations
1135
1142
  t: n
1136
1143
  };
1137
1144
  }
1138
1145
  });
1139
- var oo = function() {
1146
+ var ao = function() {
1140
1147
  var t = this, n = t._self._c;
1141
1148
  return t._self._setupProxy, n("div", { staticClass: "b-data-grid-config-settings-column-row", on: { mouseover: t.showFreezeIcon, mouseleave: t.hideFreezeIcon } }, [n("bento-toggle", { attrs: { "aria-label": t.t("toggleColumnVisibility", { label: t.column.label }), disabled: t.isColumnVisibilityToggleDisabled, "label-position": "after", value: t.isColumnVisible }, on: { input: t.toggleColumnVisibility } }, [t._v(" " + t._s(t.column.label) + " ")]), n("bento-freeze-icon", { directives: [{ name: "show", rawName: "v-show", value: t.isColumnFrozen || t.isFreezeIconOptionShown, expression: "isColumnFrozen || isFreezeIconOptionShown" }], staticClass: "b-data-grid-config-settings-column-row__freeze-icon", class: t.freezeIconConditionalClasses, attrs: { "aria-label": t.t("toggleColumnFreeze", { label: t.column.label }) }, nativeOn: { click: function(e) {
1142
1149
  return t.toggleColumnFreeze.apply(null, arguments);
1143
1150
  } } })], 1);
1144
- }, lo = [], ao = /* @__PURE__ */ q(
1145
- so,
1146
- oo,
1151
+ }, io = [], ro = /* @__PURE__ */ q(
1147
1152
  lo,
1153
+ ao,
1154
+ io,
1148
1155
  !1,
1149
1156
  null,
1150
1157
  "eae7733f"
1151
1158
  );
1152
- const io = ao.exports, ro = {
1159
+ const co = ro.exports, uo = {
1153
1160
  "en-US": {
1154
1161
  closeConfigSettingsPanel: "Close configuration settings panel",
1155
1162
  closeSearch: "Close search",
@@ -1175,22 +1182,22 @@ const io = ao.exports, ro = {
1175
1182
  search: "Buscar",
1176
1183
  size: "Tamanho"
1177
1184
  }
1178
- }, co = ie({
1179
- i18n: { messages: ro },
1185
+ }, fo = ae({
1186
+ i18n: { messages: uo },
1180
1187
  name: "bento-data-grid",
1181
1188
  components: {
1182
- BentoButton: _t,
1183
- BentoCrossIcon: ft,
1184
- BentoPopover: Un,
1185
- BentoSettingsIcon: to,
1189
+ BentoButton: vt,
1190
+ BentoCrossIcon: gt,
1191
+ BentoPopover: Wn,
1192
+ BentoSettingsIcon: so,
1186
1193
  BentoToggleButton: $e,
1187
- BentoDataGridConfigSettingsConfigRow: io,
1188
- BentoSearchBar: Hn,
1189
- BentoSearchIcon: Zn,
1190
- BentoToggle: ht,
1194
+ BentoDataGridConfigSettingsConfigRow: co,
1195
+ BentoSearchBar: Zn,
1196
+ BentoSearchIcon: qn,
1197
+ BentoToggle: mt,
1191
1198
  BentoTypography: me
1192
1199
  },
1193
- directives: { BentoClickOutsideDirective: jn },
1200
+ directives: { BentoClickOutsideDirective: Yn },
1194
1201
  props: {
1195
1202
  /**
1196
1203
  * Column definitions
@@ -1209,59 +1216,59 @@ const io = ao.exports, ro = {
1209
1216
  },
1210
1217
  emits: [de.CONFIG_SETTINGS, de.UPDATE_COLUMNS],
1211
1218
  setup(s, { emit: t }) {
1212
- const { t: n } = ge(), e = y(null), o = Oe("data-grid-config-settings-popover"), l = y(null), a = y(!1), _ = y(!0), v = y(null), u = y(""), E = be(s, "columns"), c = y(!1), A = Vn(u, E), p = () => {
1213
- u.value = "";
1214
- }, r = w(
1215
- () => !s.columns.some((f) => f.visible === !1 && !f.mandatory)
1216
- ), m = () => {
1217
- p(), c.value = !c.value, c.value ? oe(() => {
1218
- var f;
1219
- return (f = l.value.$refs.bentoInputField) == null ? void 0 : f.focusInput();
1220
- }) : oe(() => {
1221
- var f, R;
1222
- return (R = (f = v == null ? void 0 : v.value) == null ? void 0 : f.$el) == null ? void 0 : R.focus();
1223
- }), _.value = r.value;
1224
- }, S = (f) => f.mandatory ?? !1, i = (f) => {
1225
- const R = s.columns.map((x) => ({
1226
- ...x,
1227
- visible: f.field === x.field ? f.visible : x.visible
1219
+ const { t: n } = ge(), e = E(null), o = Oe("data-grid-config-settings-popover"), l = E(null), a = E(!1), g = E(!0), v = E(null), f = E(""), L = be(s, "columns"), c = E(!1), A = jn(f, L), m = () => {
1220
+ f.value = "";
1221
+ }, d = w(
1222
+ () => !s.columns.some((u) => u.visible === !1 && !u.mandatory)
1223
+ ), h = () => {
1224
+ m(), c.value = !c.value, c.value ? se(() => {
1225
+ var u;
1226
+ return (u = l.value.$refs.bentoInputField) == null ? void 0 : u.focusInput();
1227
+ }) : se(() => {
1228
+ var u, R;
1229
+ return (R = (u = v == null ? void 0 : v.value) == null ? void 0 : u.$el) == null ? void 0 : R.focus();
1230
+ }), g.value = d.value;
1231
+ }, S = (u) => u.mandatory ?? !1, i = (u) => {
1232
+ const R = s.columns.map((F) => ({
1233
+ ...F,
1234
+ visible: u.field === F.field ? u.visible : F.visible
1228
1235
  }));
1229
1236
  t(de.UPDATE_COLUMNS, R);
1230
- }, g = (f) => {
1231
- f ? t(
1237
+ }, _ = (u) => {
1238
+ u ? t(
1232
1239
  de.UPDATE_COLUMNS,
1233
1240
  s.columns.map((R) => ({ ...R, visible: !0 }))
1234
1241
  ) : t(
1235
1242
  de.UPDATE_COLUMNS,
1236
1243
  s.columns.map((R) => ({ ...R, visible: (R == null ? void 0 : R.mandatory) === !0 }))
1237
1244
  );
1238
- }, C = (f) => {
1239
- const R = s.columns.map((x) => ({
1240
- ...x,
1241
- frozen: f.field === x.field ? !!(f != null && f.frozen) : !!(x != null && x.frozen)
1245
+ }, C = (u) => {
1246
+ const R = s.columns.map((F) => ({
1247
+ ...F,
1248
+ frozen: u.field === F.field ? !!(u != null && u.frozen) : !!(F != null && F.frozen)
1242
1249
  }));
1243
1250
  t(de.UPDATE_COLUMNS, R);
1244
- }, b = (f) => {
1245
- a.value = f, _.value = r.value;
1251
+ }, b = (u) => {
1252
+ a.value = u, g.value = d.value;
1246
1253
  };
1247
1254
  return {
1248
1255
  // Values
1249
1256
  configSettingsButtonRef: e,
1250
1257
  popoverId: o,
1251
1258
  isConfigSettingsPanelOpen: a,
1252
- allColumnsVisbilityToggleState: _,
1259
+ allColumnsVisbilityToggleState: g,
1253
1260
  filteredColumnVisibilityColumns: A,
1254
- searchTerm: u,
1261
+ searchTerm: f,
1255
1262
  isColumnVisibilityFilterShown: c,
1256
1263
  searchBarRef: l,
1257
1264
  searchButtonRef: v,
1258
- DATAGRID_ACTIONS_COLUMN_FIELD_NAME: Q,
1265
+ DATAGRID_ACTIONS_COLUMN_FIELD_NAME: ee,
1259
1266
  // Methods
1260
1267
  setConfigSettingsPanelVisibility: b,
1261
- emitCondensedToggle: (f) => t(de.CONFIG_SETTINGS, f),
1262
- toggleAllColumnVisibility: g,
1263
- clearAction: p,
1264
- toggleColumnFilter: m,
1268
+ emitCondensedToggle: (u) => t(de.CONFIG_SETTINGS, u),
1269
+ toggleAllColumnVisibility: _,
1270
+ clearAction: m,
1271
+ toggleColumnFilter: h,
1265
1272
  emitVisibleColumns: i,
1266
1273
  emitFrozenColumns: C,
1267
1274
  onClickOutside: () => b(!1),
@@ -1271,7 +1278,7 @@ const io = ao.exports, ro = {
1271
1278
  };
1272
1279
  }
1273
1280
  });
1274
- var uo = function() {
1281
+ var go = function() {
1275
1282
  var t = this, n = t._self._c;
1276
1283
  return t._self._setupProxy, n("div", { directives: [{ name: "bento-click-outside-directive", rawName: "v-bento-click-outside-directive", value: t.onClickOutside, expression: "onClickOutside" }], staticClass: "b-data-grid-config-settings" }, [n("div", { staticClass: "b-data-grid-config-settings__button-and-separator" }, [n("div", { ref: "configSettingsButtonRef", staticClass: "b-data-grid-config-settings__button-container" }, [n("bento-toggle-button", { attrs: { "aria-controls": t.isConfigSettingsPanelOpen ? t.popoverId : null, variant: "tertiary", condensed: "", toggled: t.isConfigSettingsPanelOpen }, on: { click: function(e) {
1277
1284
  return t.setConfigSettingsPanelVisibility(!t.isConfigSettingsPanelOpen);
@@ -1290,15 +1297,15 @@ var uo = function() {
1290
1297
  }, clear: t.clearAction, "escape-pressed": t.toggleColumnFilter } })], 1) : n("div", { staticClass: "b-data-grid-config-settings__column-visibility-show-all" }, [n("bento-toggle", { attrs: { "label-position": "after", value: t.allColumnsVisbilityToggleState }, on: { input: t.toggleAllColumnVisibility } }, [t._v(" " + t._s(t.t("showAllColumns", { numberOfColumns: t.columns.length })) + " ")])], 1), n("div", { staticClass: "b-data-grid-config-settings__column-visibility-toggles" }, [t._l(t.filteredColumnVisibilityColumns, function(e) {
1291
1298
  return n("div", { key: e.field }, [e.field !== t.DATAGRID_ACTIONS_COLUMN_FIELD_NAME ? n("bento-data-grid-config-settings-config-row", { attrs: { column: e, "is-column-visibility-toggle-disabled": t.isColumnVisibilityToggleDisabled(e) }, on: { "visible-column": t.emitVisibleColumns, "updated-column": t.emitFrozenColumns } }) : t._e()], 1);
1292
1299
  }), t.filteredColumnVisibilityColumns.length === 0 ? n("bento-typography", { staticClass: "b-data-grid-config-settings__column-visibility-empty-search-message", attrs: { el: "span" } }, [t._v(" " + t._s(t.t("noColumnsMatch")) + " ")]) : t._e()], 2)])]) : t._e()], 1);
1293
- }, fo = [], go = /* @__PURE__ */ q(
1294
- co,
1295
- uo,
1300
+ }, _o = [], vo = /* @__PURE__ */ q(
1296
1301
  fo,
1302
+ go,
1303
+ _o,
1297
1304
  !1,
1298
1305
  null,
1299
1306
  "e7f0a261"
1300
1307
  );
1301
- const _o = go.exports, wt = {
1308
+ const Co = vo.exports, St = {
1302
1309
  "en-US": {
1303
1310
  gettingYourData: "Getting your data",
1304
1311
  loading: "Loading",
@@ -1316,10 +1323,10 @@ const _o = go.exports, wt = {
1316
1323
  loading: "Carregando",
1317
1324
  showMore: "Mostrar mais"
1318
1325
  }
1319
- }, vo = {
1320
- i18n: { messages: wt }
1321
- }, Co = /* @__PURE__ */ ie({
1322
- ...vo,
1326
+ }, ho = {
1327
+ i18n: { messages: St }
1328
+ }, mo = /* @__PURE__ */ ae({
1329
+ ...ho,
1323
1330
  __name: "data-grid-lazy-load",
1324
1331
  props: {
1325
1332
  loading: { type: Boolean },
@@ -1327,41 +1334,41 @@ const _o = go.exports, wt = {
1327
1334
  },
1328
1335
  setup(s) {
1329
1336
  const { t } = ge();
1330
- return { __sfc: !0, t, BentoLoadingButton: Pn, BentoLoadingButtonState: $n, BentoLoadingIndicator: Me, BentoDatagridEvent: O };
1337
+ return { __sfc: !0, t, BentoLoadingButton: Un, BentoLoadingButtonState: Pn, BentoLoadingIndicator: Fe, BentoDatagridEvent: N };
1331
1338
  }
1332
1339
  });
1333
- var ho = function() {
1340
+ var po = function() {
1334
1341
  var t = this, n = t._self._c, e = t._self._setupProxy;
1335
1342
  return n("div", { staticClass: "b-data-grid-lazy-load" }, [t.loading && t.isInfiniteScroll ? n(e.BentoLoadingIndicator) : t._e(), t.loading && !t.isInfiniteScroll ? n(e.BentoLoadingButton, { attrs: { variant: "secondary", state: e.BentoLoadingButtonState.LOADING } }, [t._v(t._s(e.t("loading")))]) : t._e(), !t.loading && !t.isInfiniteScroll ? n(e.BentoLoadingButton, { attrs: { state: e.BentoLoadingButtonState.START, variant: "secondary" }, on: { click: function(o) {
1336
1343
  return t.$emit(e.BentoDatagridEvent.UPDATE_SHOW_MORE);
1337
1344
  } } }, [t._v(t._s(e.t("showMore")))]) : t._e()], 1);
1338
- }, mo = [], po = /* @__PURE__ */ q(
1339
- Co,
1340
- ho,
1345
+ }, wo = [], So = /* @__PURE__ */ q(
1341
1346
  mo,
1347
+ po,
1348
+ wo,
1342
1349
  !1,
1343
1350
  null,
1344
1351
  "fd9b8204"
1345
1352
  );
1346
- const wo = po.exports;
1347
- let rt = 0;
1348
- const So = {
1353
+ const Eo = So.exports;
1354
+ let dt = 0;
1355
+ const Lo = {
1349
1356
  beforeCreate() {
1350
- this.uuid = rt.toString(), rt += 1;
1357
+ this.uuid = dt.toString(), dt += 1;
1351
1358
  }
1352
1359
  };
1353
- var Lo = function() {
1360
+ var yo = function() {
1354
1361
  var t = this, n = t._self._c;
1355
1362
  return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("path", { attrs: { fill: "#00112C", d: "M12.9243 1.86372C12.0456 0.985043 10.621 0.985041 9.74234 1.86372L1.25 10.3561V14.7501H5.64399L14.1363 6.25772C15.015 5.37904 15.015 3.95442 14.1363 3.07574L12.9243 1.86372ZM10.803 2.92438C11.0959 2.63149 11.5708 2.63149 11.8637 2.92438L13.0757 4.1364C13.3686 4.42929 13.3686 4.90416 13.0757 5.19706L12.3333 5.93947L10.0606 3.6668L10.803 2.92438ZM8.99993 4.72746L11.2726 7.00013L5.02267 13.2501H2.75V10.9774L8.99993 4.72746Z" } })]);
1356
- }, Eo = [], yo = /* @__PURE__ */ q(
1357
- So,
1363
+ }, Ro = [], bo = /* @__PURE__ */ q(
1358
1364
  Lo,
1359
- Eo,
1365
+ yo,
1366
+ Ro,
1360
1367
  !1,
1361
1368
  null,
1362
1369
  null
1363
1370
  );
1364
- const Ro = yo.exports, bo = {
1371
+ const Ao = bo.exports, Oo = {
1365
1372
  "en-US": {
1366
1373
  copy: "Copy",
1367
1374
  edit: "Edit",
@@ -1380,11 +1387,11 @@ const Ro = yo.exports, bo = {
1380
1387
  more: "Mais",
1381
1388
  open: "Abrir"
1382
1389
  }
1383
- }, Ao = {
1384
- i18n: { messages: bo },
1390
+ }, No = {
1391
+ i18n: { messages: Oo },
1385
1392
  name: "data-grid-cell-actions"
1386
- }, Oo = /* @__PURE__ */ ie({
1387
- ...Ao,
1393
+ }, To = /* @__PURE__ */ ae({
1394
+ ...No,
1388
1395
  props: {
1389
1396
  /**
1390
1397
  * Column definitions using 'key' to relate to data object.
@@ -1401,6 +1408,13 @@ const Ro = yo.exports, bo = {
1401
1408
  type: String,
1402
1409
  default: void 0
1403
1410
  },
1411
+ /**
1412
+ * Disables any opening of the cell actions menus using the down arrow key.
1413
+ */
1414
+ disableArrowDownOpeningMenu: {
1415
+ type: Boolean,
1416
+ default: !1
1417
+ },
1404
1418
  /**
1405
1419
  * Set to true if the datagrid has been scrolled and the right side has overflowing space.
1406
1420
  */
@@ -1429,18 +1443,18 @@ const Ro = yo.exports, bo = {
1429
1443
  "b-data-grid-cell-actions__background-gradient--with-row-actions-and-overflow": o.value && n.hasRightOverflow
1430
1444
  })), a = w(() => ({
1431
1445
  "b-data-grid-cell-actions__actions--with-row-actions": o.value
1432
- })), _ = w(() => !o.value || o.value && n.hasRightOverflow);
1446
+ })), g = w(() => !o.value || o.value && n.hasRightOverflow);
1433
1447
  function v(i) {
1434
1448
  return typeof i == "function";
1435
1449
  }
1436
- const u = w(() => {
1437
- var g;
1438
- const i = v(n.cellActions) ? (g = n.cellActions) == null ? void 0 : g.call(n, n.rowDataItem, n.columnKey) : n.cellActions;
1439
- return (i == null ? void 0 : i.length) > 2 && gt(
1450
+ const f = w(() => {
1451
+ var _;
1452
+ const i = v(n.cellActions) ? (_ = n.cellActions) == null ? void 0 : _.call(n, n.rowDataItem, n.columnKey) : n.cellActions;
1453
+ return (i == null ? void 0 : i.length) > 2 && _t(
1440
1454
  "WARNING: BentoDataGrid Cell actions can only have a maximum of 2 actions, if you need more consider using the menuData property instead."
1441
1455
  ), i == null ? void 0 : i.slice(0, 2);
1442
- }), E = w(() => (i, g) => {
1443
- if (!(!g && i.isShort || g && !i.isShort))
1456
+ }), L = w(() => (i, _) => {
1457
+ if (!(!_ && i.isShort || _ && !i.isShort))
1444
1458
  switch (i.variant) {
1445
1459
  case "copy":
1446
1460
  return e("copy");
@@ -1454,32 +1468,32 @@ const Ro = yo.exports, bo = {
1454
1468
  return i.title;
1455
1469
  }
1456
1470
  }), c = (i) => (i == null ? void 0 : i.event) !== void 0 ? {
1457
- click: (g) => {
1458
- g.stopPropagation(), i.event(n.rowDataItem, n.columnKey);
1471
+ click: (_) => {
1472
+ _.stopPropagation(), i.event(n.rowDataItem, n.columnKey);
1459
1473
  }
1460
1474
  } : {}, A = (i) => ({
1461
1475
  ...i,
1462
1476
  handler: () => {
1463
1477
  i != null && i.handler && typeof i.handler == "function" && (i == null || i.handler()), i != null && i.event && typeof i.event == "function" && (i == null || i.event(n.rowDataItem, n.columnKey));
1464
1478
  }
1465
- }), p = (i) => i.map((g) => {
1466
- const C = g;
1467
- return C != null && C.items && (C.items = p(C.items)), { ...A(C) };
1479
+ }), m = (i) => i.map((_) => {
1480
+ const C = _;
1481
+ return C != null && C.items && (C.items = m(C.items)), { ...A(C) };
1468
1482
  });
1469
- return { __sfc: !0, t: e, props: n, emit: t, isRowActions: o, conditionalCellActionsBackgroundGradientClasses: l, conditionalCellActionsClasses: a, showGradientElement: _, isBentoColumnCellActionsByCellValueDataFn: v, computedCellActions: u, getButtonTitle: E, generateButtonEvents: c, generateMenuEvents: A, transformMenuEvents: p, getCopyText: (i) => {
1470
- var g, C;
1471
- return (i == null ? void 0 : i.getCopyData) !== void 0 ? i.getCopyData(n.rowDataItem, n.columnKey) : n.columnKey ? (C = (g = n.rowDataItem) == null ? void 0 : g[n.columnKey]) == null ? void 0 : C.toString() : "";
1472
- }, shouldShowMenuIconRight: (i) => i.iconRight || ((i == null ? void 0 : i.variant) === "more" || (i == null ? void 0 : i.variant) === "open") && !i.isShort, shouldShowMenuIconLeft: (i) => i.iconLeft || (i == null ? void 0 : i.variant) === "more", BentoButton: _t, BentoMenu: vt, Copy: Mn, Edit1Icon: Ro, ExternalLinkIcon: xn, OptionsVerticalIcon: In };
1483
+ return { __sfc: !0, t: e, props: n, emit: t, isRowActions: o, conditionalCellActionsBackgroundGradientClasses: l, conditionalCellActionsClasses: a, showGradientElement: g, isBentoColumnCellActionsByCellValueDataFn: v, computedCellActions: f, getButtonTitle: L, generateButtonEvents: c, generateMenuEvents: A, transformMenuEvents: m, getCopyText: (i) => {
1484
+ var _, C;
1485
+ return (i == null ? void 0 : i.getCopyData) !== void 0 ? i.getCopyData(n.rowDataItem, n.columnKey) : n.columnKey ? (C = (_ = n.rowDataItem) == null ? void 0 : _[n.columnKey]) == null ? void 0 : C.toString() : "";
1486
+ }, shouldShowMenuIconRight: (i) => i.iconRight || ((i == null ? void 0 : i.variant) === "more" || (i == null ? void 0 : i.variant) === "open") && !i.isShort, shouldShowMenuIconLeft: (i) => i.iconLeft || (i == null ? void 0 : i.variant) === "more", BentoButton: vt, BentoMenu: Ct, Copy: Bn, Edit1Icon: Ao, ExternalLinkIcon: Mn, OptionsVerticalIcon: xn };
1473
1487
  }
1474
1488
  });
1475
- var No = function() {
1489
+ var Io = function() {
1476
1490
  var t = this, n = t._self._c, e = t._self._setupProxy;
1477
1491
  return n("Transition", { attrs: { name: "b-data-grid-cell-actions__animation", appear: "" } }, [n("div", { staticClass: "b-data-grid-cell-actions" }, [e.showGradientElement ? n("div", { staticClass: "b-data-grid-cell-actions__background-gradient", class: e.conditionalCellActionsBackgroundGradientClasses }) : t._e(), n("div", { staticClass: "b-data-grid-cell-actions__actions", class: e.conditionalCellActionsClasses, attrs: { role: "group" } }, t._l(e.computedCellActions, function(o, l) {
1478
1492
  return n("div", { key: l, staticClass: "b-data-grid-cell-actions__action" }, [o.menuData ? n(e.BentoMenu, { attrs: { data: e.transformMenuEvents(o.menuData), button: {
1479
1493
  condensed: !0,
1480
1494
  variant: "secondary",
1481
1495
  disabled: o.disabled
1482
- }, teleport: t.teleportMenu }, on: { open: function(a) {
1496
+ }, "disable-arrow-down-opening-menu": t.disableArrowDownOpeningMenu, teleport: t.teleportMenu }, on: { open: function(a) {
1483
1497
  return e.emit("menu-open");
1484
1498
  }, close: function(a) {
1485
1499
  return e.emit("menu-close");
@@ -1502,27 +1516,27 @@ var No = function() {
1502
1516
  return [(o == null ? void 0 : o.variant) === "open" ? n(e.ExternalLinkIcon, { attrs: { "svg-title": e.getButtonTitle(o, !0) } }) : n(o.iconRight, { tag: "component", attrs: { "svg-title": o.title } })];
1503
1517
  }, proxy: !0 } : null], null, !0) }, e.generateButtonEvents(o)))], 1);
1504
1518
  }), 0)])]);
1505
- }, To = [], Io = /* @__PURE__ */ q(
1506
- Oo,
1507
- No,
1519
+ }, Do = [], xo = /* @__PURE__ */ q(
1508
1520
  To,
1521
+ Io,
1522
+ Do,
1509
1523
  !1,
1510
1524
  null,
1511
- "d6c17c6c"
1525
+ "b6109751"
1512
1526
  );
1513
- const St = Io.exports, Lt = Symbol("data-grid slashed zero key");
1527
+ const Et = xo.exports, Lt = Symbol("data-grid slashed zero key");
1514
1528
  var j = /* @__PURE__ */ ((s) => (s.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED = "action-col-nested-content-and-selection-enabled", s.ACTION_COL_NESTED_CONTENT_ENABLED = "action-col-nested-content-enabled", s.ACTION_COL_SELECTION_ENABLED = "action-col-selection-enabled", s.COLUMN_HOVERED = "column-hovered", s.COLUMN_HOVERED_NO_BORDER_LEFT = "column-hovered-no-border-left", s.COLUMN_HOVERED_NO_BORDER_RIGHT = "column-hovered-no-border-right", s.CONDENSED = "condensed", s.FROZEN = "frozen", s.IS_COLUMN_REORDERING = "is-column-re-ordering", s.IS_COLUMN_REORDERING_TARGET_LEFT = "is-column-re-order-target-left", s.IS_COLUMN_REORDERING_TARGET_RIGHT = "is-column-re-order-target-right", s.LAST_FROZEN_COLUMN_CELL = "last-frozen-column-cell", s.NESTED_CONTENT_ENABLED = "nested-content-toggle-enabled", s.NUMERIC = "numeric", s.OVERFLOW_ELLIPSIS = "overflow-ellipsis", s.PADDING_LEFT_UNSET = "padding-left-unset", s.PADDING_RIGHT_UNSET = "padding-right-unset", s.SLASHED_ZERO = "slashed-zero", s))(j || {});
1515
- const Do = {
1529
+ const Fo = {
1516
1530
  "en-US": {
1517
1531
  collapseNestedContent: "Collapse nested content",
1518
1532
  expandNestedContent: "Expand nested content",
1519
1533
  selectRow: "Select row"
1520
1534
  }
1521
- }, xo = {
1522
- i18n: { messages: Do },
1535
+ }, Mo = {
1536
+ i18n: { messages: Fo },
1523
1537
  name: "data-grid-cell"
1524
- }, Mo = /* @__PURE__ */ ie({
1525
- ...xo,
1538
+ }, Bo = /* @__PURE__ */ ae({
1539
+ ...Mo,
1526
1540
  props: {
1527
1541
  draggingEventsForRowCell: {
1528
1542
  type: Function,
@@ -1644,105 +1658,114 @@ const Do = {
1644
1658
  },
1645
1659
  emits: ["on-frozen-columns-key-press", "select-row", "register-row-cell-element", "cell-hovered", "nested-content-toggled"],
1646
1660
  setup(s, { expose: t, emit: n }) {
1647
- const e = s, o = xe(), l = Fe(o), { t: a } = ge(), _ = y(null), v = y(null), u = y(!1), E = y([]), c = w(() => {
1648
- var h;
1649
- return !!((h = e.rowData) != null && h[e.column.field]);
1661
+ const e = s, o = xe(), l = Me(o), { t: a } = ge(), g = E(null), v = E(null), f = E(!1), L = E([]), c = w(() => {
1662
+ var p;
1663
+ return !!((p = e.rowData) != null && p[e.column.field]);
1650
1664
  }), A = w(
1651
1665
  () => {
1652
- var h;
1653
- return e.column.field === Q && ((h = e.nestedRowsElementIds) == null ? void 0 : h.length) > 0 ? e.nestedRowsElementIds.join(" ") : void 0;
1666
+ var p;
1667
+ return e.column.field === ee && ((p = e.nestedRowsElementIds) == null ? void 0 : p.length) > 0 ? e.nestedRowsElementIds.join(" ") : void 0;
1654
1668
  }
1655
- ), p = w(
1656
- () => e.column.field === Q && !e.selectable && !e.nestedContent
1657
- ), r = (h, $) => (h == null ? void 0 : h.overflow) === Ne.ELLIPSIS ? `${$}` : void 0, m = (h) => h ?? "-", S = (h) => e.columnSets.slice(0, h).reduce(($, { columnSet: D }) => $ + D.length, 0), i = (h, $) => h + S($), g = (h, $, D) => S() * h + i($, D), C = (h) => {
1669
+ ), m = w(
1670
+ () => e.column.field === ee && !e.selectable && !e.nestedContent
1671
+ ), d = (p, $) => (p == null ? void 0 : p.overflow) === Ne.ELLIPSIS ? `${$}` : void 0, h = (p) => p ?? "-", S = (p) => e.columnSets.slice(0, p).reduce(($, { columnSet: x }) => $ + x.length, 0), i = (p, $) => p + S($), _ = (p, $, x) => S() * p + i($, x), C = (p) => {
1658
1672
  var $;
1659
- (h === null || !_.value.contains(h) && !(($ = E.value) != null && $.map((D) => D.value).some((D) => D === h || (D == null ? void 0 : D.contains(h))))) && (u.value = !1);
1673
+ (p === null || !g.value.contains(p) && !(($ = L.value) != null && $.map((x) => x.value).some((x) => x === p || (x == null ? void 0 : x.contains(p))))) && (f.value = !1);
1660
1674
  }, b = () => {
1661
- u.value = !1;
1662
- }, N = (h) => {
1663
- const D = { ...{
1664
- ...e.draggingEventsForRowCell(h)
1665
- } };
1666
- return h.frozen && (D.keyup = (B) => n("on-frozen-columns-key-press", B), D.keydown = (B) => n("on-frozen-columns-key-press", B)), h.cellActions && (D.mouseenter = () => {
1667
- u.value = !0;
1668
- }, D.mouseleave = (B) => {
1669
- u.value = !1, C(B == null ? void 0 : B.relatedTarget);
1670
- }, D.mouseleave = (B) => {
1671
- C(B == null ? void 0 : B.relatedTarget);
1672
- }, D.focus = (B) => {
1673
- u.value = !0;
1674
- }, D.focusout = (B) => {
1675
- C(B == null ? void 0 : B.relatedTarget);
1676
- }), D;
1677
- }, I = () => {
1675
+ f.value = !1;
1676
+ }, O = E(!1), I = (p) => {
1677
+ const $ = {
1678
+ ...e.draggingEventsForRowCell(p),
1679
+ // Focus on the first interactive child in the grid cell if one exists
1680
+ focus: () => {
1681
+ ze(g.value) && (O.value = !0);
1682
+ },
1683
+ focusout: () => {
1684
+ O.value = !1;
1685
+ }
1686
+ }, x = { ...$ };
1687
+ return p.frozen && (x.keyup = (D) => n("on-frozen-columns-key-press", D), x.keydown = (D) => n("on-frozen-columns-key-press", D)), p.cellActions && (x.mouseenter = () => {
1688
+ f.value = !0;
1689
+ }, x.mouseleave = (D) => {
1690
+ f.value = !1, C(D == null ? void 0 : D.relatedTarget);
1691
+ }, x.mouseleave = (D) => {
1692
+ C(D == null ? void 0 : D.relatedTarget);
1693
+ }, x.focus = (D) => {
1694
+ $.focus(D), f.value = !0;
1695
+ }, x.focusout = (D) => {
1696
+ $.focusout(D), C(D == null ? void 0 : D.relatedTarget);
1697
+ }), x;
1698
+ }, u = () => {
1678
1699
  n("nested-content-toggled");
1679
1700
  };
1680
- ee(
1681
- () => u.value,
1701
+ te(
1702
+ () => f.value,
1682
1703
  () => {
1683
- u.value === !0 ? n("cell-hovered", e.rowIndex) : n("cell-hovered", -1);
1704
+ f.value === !0 ? n("cell-hovered", e.rowIndex) : n("cell-hovered", -1);
1684
1705
  }
1685
1706
  );
1686
- const f = (h) => {
1687
- E.value.push(h);
1688
- }, R = (h) => {
1689
- _.value.contains(h == null ? void 0 : h.relatedTarget) || (u.value = !1);
1707
+ const R = (p) => {
1708
+ L.value.push(p);
1709
+ }, F = (p) => {
1710
+ g.value.contains(p == null ? void 0 : p.relatedTarget) || (f.value = !1);
1690
1711
  };
1691
- ut(Dn, {
1692
- registerMenuContainerElement: f,
1693
- menuMouseLeave: R
1712
+ ft(Fn, {
1713
+ registerMenuContainerElement: R,
1714
+ menuMouseLeave: F
1694
1715
  });
1695
- const x = Ae(Lt, y(!1)), H = (h) => {
1696
- var $, D, B, k, U, z, M;
1716
+ const G = Ae(Lt, E(!1)), Z = (p) => {
1717
+ var $, x, D, z, M, K, r;
1697
1718
  return {
1698
- [`b-data-grid-cell--${j.COLUMN_HOVERED}`]: (h == null ? void 0 : h.field) === e.hoveredOverColumnState.hoveredOverColumnField,
1699
- [`b-data-grid-cell--${j.COLUMN_HOVERED_NO_BORDER_LEFT}`]: (h == null ? void 0 : h.field) === e.hoveredOverColumnState.hoveredOverColumnField && e.hoveredOverColumnState.noBorderLeft,
1700
- [`b-data-grid-cell--${j.COLUMN_HOVERED_NO_BORDER_RIGHT}`]: (h == null ? void 0 : h.field) === e.hoveredOverColumnState.hoveredOverColumnField && e.hoveredOverColumnState.noBorderRight,
1701
- [`b-data-grid-cell--${j.PADDING_LEFT_UNSET}`]: (($ = h == null ? void 0 : h.padding) == null ? void 0 : $.left) === !1,
1702
- [`b-data-grid-cell--${j.PADDING_RIGHT_UNSET}`]: ((D = h == null ? void 0 : h.padding) == null ? void 0 : D.right) === !1,
1703
- [`b-data-grid-cell--${j.NUMERIC}`]: h == null ? void 0 : h.numeric,
1719
+ [`b-data-grid-cell--${j.COLUMN_HOVERED}`]: (p == null ? void 0 : p.field) === e.hoveredOverColumnState.hoveredOverColumnField,
1720
+ [`b-data-grid-cell--${j.COLUMN_HOVERED_NO_BORDER_LEFT}`]: (p == null ? void 0 : p.field) === e.hoveredOverColumnState.hoveredOverColumnField && e.hoveredOverColumnState.noBorderLeft,
1721
+ [`b-data-grid-cell--${j.COLUMN_HOVERED_NO_BORDER_RIGHT}`]: (p == null ? void 0 : p.field) === e.hoveredOverColumnState.hoveredOverColumnField && e.hoveredOverColumnState.noBorderRight,
1722
+ [`b-data-grid-cell--${j.PADDING_LEFT_UNSET}`]: (($ = p == null ? void 0 : p.padding) == null ? void 0 : $.left) === !1,
1723
+ [`b-data-grid-cell--${j.PADDING_RIGHT_UNSET}`]: ((x = p == null ? void 0 : p.padding) == null ? void 0 : x.right) === !1,
1724
+ [`b-data-grid-cell--${j.NUMERIC}`]: p == null ? void 0 : p.numeric,
1704
1725
  [`b-data-grid-cell--${j.CONDENSED}`]: e.condensed,
1705
- [`b-data-grid-cell--${j.OVERFLOW_ELLIPSIS}`]: (h == null ? void 0 : h.overflow) === Ne.ELLIPSIS,
1706
- [`b-data-grid-cell--${j.IS_COLUMN_REORDERING}`]: ((B = e.draggingColumns.dragging) == null ? void 0 : B.field) === h.field,
1707
- [`b-data-grid-cell--${j.IS_COLUMN_REORDERING_TARGET_LEFT}`]: ((k = e.draggingColumns.target) == null ? void 0 : k.field) === h.field && ((U = e.draggingColumns) == null ? void 0 : U.dragToLeft),
1708
- [`b-data-grid-cell--${j.IS_COLUMN_REORDERING_TARGET_RIGHT}`]: ((z = e.draggingColumns.target) == null ? void 0 : z.field) === h.field && !((M = e.draggingColumns) != null && M.dragToLeft),
1709
- [`b-data-grid-cell--${j.FROZEN}`]: h == null ? void 0 : h.frozen,
1726
+ [`b-data-grid-cell--${j.OVERFLOW_ELLIPSIS}`]: (p == null ? void 0 : p.overflow) === Ne.ELLIPSIS,
1727
+ [`b-data-grid-cell--${j.IS_COLUMN_REORDERING}`]: ((D = e.draggingColumns.dragging) == null ? void 0 : D.field) === p.field,
1728
+ [`b-data-grid-cell--${j.IS_COLUMN_REORDERING_TARGET_LEFT}`]: ((z = e.draggingColumns.target) == null ? void 0 : z.field) === p.field && ((M = e.draggingColumns) == null ? void 0 : M.dragToLeft),
1729
+ [`b-data-grid-cell--${j.IS_COLUMN_REORDERING_TARGET_RIGHT}`]: ((K = e.draggingColumns.target) == null ? void 0 : K.field) === p.field && !((r = e.draggingColumns) != null && r.dragToLeft),
1730
+ [`b-data-grid-cell--${j.FROZEN}`]: p == null ? void 0 : p.frozen,
1710
1731
  [`b-data-grid-cell--${j.NESTED_CONTENT_ENABLED}`]: e.nestedContent,
1711
- [`b-data-grid-cell--${j.ACTION_COL_NESTED_CONTENT_ENABLED}`]: e.nestedContent && !e.selectable && h.field === Q,
1712
- [`b-data-grid-cell--${j.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED}`]: e.nestedContent && e.selectable && h.field === Q,
1713
- [`b-data-grid-cell--${j.ACTION_COL_SELECTION_ENABLED}`]: h.field === Q && e.selectable,
1714
- [`b-data-grid-cell--${j.SLASHED_ZERO}`]: x.value
1732
+ [`b-data-grid-cell--${j.ACTION_COL_NESTED_CONTENT_ENABLED}`]: e.nestedContent && !e.selectable && p.field === ee,
1733
+ [`b-data-grid-cell--${j.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED}`]: e.nestedContent && e.selectable && p.field === ee,
1734
+ [`b-data-grid-cell--${j.ACTION_COL_SELECTION_ENABLED}`]: p.field === ee && e.selectable,
1735
+ [`b-data-grid-cell--${j.SLASHED_ZERO}`]: G.value
1715
1736
  };
1716
- };
1737
+ }, H = w(() => ({
1738
+ "b-data-grid-cell__cell-content--is-focused-on-inside-interactive-element": O.value
1739
+ }));
1717
1740
  return t({
1718
- gridcellRef: _
1719
- }), { __sfc: !0, slots: o, hasSlot: l, t: a, props: e, emit: n, gridcellRef: _, cellActionsRef: v, shouldShowCellActions: u, childrenMenuContainerElements: E, hasRowData: c, controlledNestedRowElementIds: A, ariaHidden: p, conditionalTitleAttribute: r, getRowData: m, sumColumnAmountsInColumnSets: S, getColIndex: i, getCellIndex: g, isLeavingCellFocus: C, onMenuClose: b, getGridcellEvents: N, toggleNestedContent: I, registerMenuContainerElement: f, menuMouseLeave: R, hasSlashedZero: x, conditionalRowCellClasses: H, DATAGRID_ACTIONS_COLUMN_FIELD_NAME: Q, BentoCheckbox: Ct, BentoTypography: me, BentoToggleButton: $e, DataGridCellActions: St, ChevronDownIcon: Bn, ChevronUpIcon: Fn };
1741
+ gridcellRef: g
1742
+ }), { __sfc: !0, slots: o, hasSlot: l, t: a, props: e, emit: n, gridcellRef: g, cellActionsRef: v, shouldShowCellActions: f, childrenMenuContainerElements: L, hasRowData: c, controlledNestedRowElementIds: A, ariaHidden: m, conditionalTitleAttribute: d, getRowData: h, sumColumnAmountsInColumnSets: S, getColIndex: i, getCellIndex: _, isLeavingCellFocus: C, onMenuClose: b, hasInteractiveElFocusedInside: O, getGridcellEvents: I, toggleNestedContent: u, registerMenuContainerElement: R, menuMouseLeave: F, hasSlashedZero: G, conditionalRowCellClasses: Z, computedCellContentClasses: H, DATAGRID_ACTIONS_COLUMN_FIELD_NAME: ee, BentoCheckbox: ht, BentoTypography: me, BentoToggleButton: $e, DataGridCellActions: Et, ChevronDownIcon: zn, ChevronUpIcon: $n };
1720
1743
  }
1721
1744
  });
1722
- var Fo = function() {
1745
+ var $o = function() {
1723
1746
  var o;
1724
1747
  var t = this, n = t._self._c, e = t._self._setupProxy;
1725
1748
  return n("div", t._g({ key: `cell-${t.column.field}`, ref: "gridcellRef", staticClass: "b-data-grid-cell", class: e.conditionalRowCellClasses(t.column), style: {
1726
1749
  width: t.column.autoWidth && t.isMeasuringColumnWidths ? "auto" : `${t.column.width}px`
1727
- }, attrs: { "aria-hidden": e.ariaHidden, "data-testid": `cell-${t.column.field}`, "data-cellindex": e.getCellIndex(t.rowIndex, t.colIndex, t.columnSetIndex), role: "gridcell", tabindex: e.getCellIndex(t.rowIndex, t.colIndex, t.columnSetIndex) === 0 ? "0" : "-1", "aria-colindex": e.getColIndex(t.colIndex, t.columnSetIndex) + 1 } }, e.getGridcellEvents(t.column)), [t.column.field === e.DATAGRID_ACTIONS_COLUMN_FIELD_NAME ? [t.selectable ? [n(e.BentoCheckbox, { staticClass: "b-data-grid-cell__select-cell", attrs: { "aria-label": e.t("selectRow"), disabled: t.isDataItemDisabled(t.rowData), indeterminate: t.selectionIsIndeterminate, "model-value": t.selectedItems, value: t.getDataItemId(t.rowData) }, on: { "update:model-value": function(l) {
1750
+ }, attrs: { "aria-hidden": e.ariaHidden, "data-testid": `cell-${t.column.field}`, "data-cellindex": e.getCellIndex(t.rowIndex, t.colIndex, t.columnSetIndex), role: "gridcell", tabindex: e.getCellIndex(t.rowIndex, t.colIndex, t.columnSetIndex) === 0 ? "0" : "-1", "aria-colindex": e.getColIndex(t.colIndex, t.columnSetIndex) + 1 } }, e.getGridcellEvents(t.column)), [t.column.field === e.DATAGRID_ACTIONS_COLUMN_FIELD_NAME ? [t.selectable ? [n(e.BentoCheckbox, { staticClass: "b-data-grid-cell__select-cell", attrs: { "aria-label": e.t("selectRow"), disabled: t.isDataItemDisabled(t.rowData), indeterminate: t.selectionIsIndeterminate, "model-value": t.selectedItems, value: t.getDataItemId(t.rowData), tabindex: "0" }, on: { "update:model-value": function(l) {
1728
1751
  return t.$emit("select-row", l);
1729
1752
  } } })] : t._e(), t.nestedContent ? [n(e.BentoToggleButton, { ref: "menuButtonRef", attrs: { "aria-haspopup": "true", "aria-controls": e.controlledNestedRowElementIds, condensed: "", variant: "tertiary", toggled: t.isNestedContentExpanded }, on: { click: e.toggleNestedContent }, scopedSlots: t._u([{ key: "iconLeft", fn: function() {
1730
1753
  return [t.isNestedContentExpanded ? n(e.ChevronUpIcon, { staticClass: "b-accordion-item__icon", attrs: { "svg-title": e.t("collapseNestedContent") } }) : n(e.ChevronDownIcon, { staticClass: "b-accordion-item__icon", attrs: { "svg-title": e.t("expandNestedContent") } })];
1731
- }, proxy: !0 }], null, !1, 1879847906) })] : t._e()] : [n(e.BentoTypography, { attrs: { el: "div" } }, [t._t(`item-${t.column.field}`, function() {
1754
+ }, proxy: !0 }], null, !1, 1879847906) })] : t._e()] : [n(e.BentoTypography, { staticClass: "b-data-grid-cell__cell-content", class: e.computedCellContentClasses, attrs: { el: "div", "data-testid": "cell-content" } }, [t._t(`item-${t.column.field}`, function() {
1732
1755
  return [n("span", { attrs: { title: e.conditionalTitleAttribute(t.column, t.rowData[t.column.field]) } }, [t._v(t._s(e.getRowData(t.rowData[t.column.field])))])];
1733
1756
  }, { item: t.rowData, rowIndex: t.rowIndex })], 2), ((o = t.column.cellActions) == null ? void 0 : o.length) > 0 ? n("div", { staticClass: "b-data-grid-cell__cell-actions" }, [e.shouldShowCellActions && (e.hasRowData || e.hasSlot(`item-${t.column.field}`)) ? n(e.DataGridCellActions, { ref: "cellActionsRef", attrs: { "cell-actions": t.column.cellActions, "column-key": t.column.field, "row-data-item": t.rowData, "teleport-menu": "" }, on: { "menu-item-click": e.onMenuClose } }) : t._e()], 1) : t._e()]], 2);
1734
- }, Bo = [], $o = /* @__PURE__ */ q(
1735
- Mo,
1736
- Fo,
1757
+ }, zo = [], Po = /* @__PURE__ */ q(
1737
1758
  Bo,
1759
+ $o,
1760
+ zo,
1738
1761
  !1,
1739
1762
  null,
1740
- "dd8a6001"
1763
+ "cbcb1afe"
1741
1764
  );
1742
- const Po = $o.exports, zo = {
1765
+ const Uo = Po.exports, ko = {
1743
1766
  name: "data-grid-row"
1744
- }, Uo = /* @__PURE__ */ ie({
1745
- ...zo,
1767
+ }, Wo = /* @__PURE__ */ ae({
1768
+ ...ko,
1746
1769
  props: {
1747
1770
  /**
1748
1771
  * Row actions property that generates which button to show in row actions area
@@ -1942,23 +1965,23 @@ const Po = $o.exports, zo = {
1942
1965
  },
1943
1966
  emits: ["cell-hovered", "on-frozen-columns-key-press", "select-row", "select-nested-row", "row-click", "nested-content-toggled"],
1944
1967
  setup(s, { expose: t, emit: n }) {
1945
- const e = s, o = xe(), l = Fe(o), a = y({}), _ = y(!1), v = y(), u = y(), E = Oe("nested-content-slot"), c = y(!1), A = w(() => e.shouldShowNestedRows(e.rowData)), p = w(
1968
+ const e = s, o = xe(), l = Me(o), a = E({}), g = E(!1), v = E(), f = E(), L = Oe("nested-content-slot"), c = E(!1), A = w(() => e.shouldShowNestedRows(e.rowData)), m = w(
1946
1969
  () => {
1947
- var L, F;
1948
- return !e.isNestedRow && e.hasNestedRows && A.value && ((F = (L = e.rowData) == null ? void 0 : L.children) == null ? void 0 : F.length) > 0;
1970
+ var y, B;
1971
+ return !e.isNestedRow && e.hasNestedRows && A.value && ((B = (y = e.rowData) == null ? void 0 : y.children) == null ? void 0 : B.length) > 0;
1949
1972
  }
1950
- ), r = w(
1973
+ ), d = w(
1951
1974
  () => {
1952
- var L, F;
1953
- return !e.isNestedRow && e.hasNestedRows && A.value && (((L = e.rowData) == null ? void 0 : L.children) === void 0 || ((F = e == null ? void 0 : e.rowData) == null ? void 0 : F.children.length) === 0);
1975
+ var y, B;
1976
+ return !e.isNestedRow && e.hasNestedRows && A.value && (((y = e.rowData) == null ? void 0 : y.children) === void 0 || ((B = e == null ? void 0 : e.rowData) == null ? void 0 : B.children.length) === 0);
1954
1977
  }
1955
- ), m = w(
1978
+ ), h = w(
1956
1979
  () => e.hasNestedContent && e.shouldShowNestedContent(e.rowData) || e.hasNestedRows && A.value && !e.isNestedRow
1957
1980
  ), S = w(() => {
1958
1981
  if (e.hasNestedContent || e.hasNestedRows) {
1959
- const L = _.value.toString();
1982
+ const y = g.value.toString();
1960
1983
  return {
1961
- "aria-expanded": m.value ? L : void 0,
1984
+ "aria-expanded": h.value ? y : void 0,
1962
1985
  "aria-level": e.isNestedRow ? "2" : "1",
1963
1986
  "aria-posinset": e.rowIndex + 1,
1964
1987
  "aria-setsize": e.rowSetSize
@@ -1966,190 +1989,192 @@ const Po = $o.exports, zo = {
1966
1989
  }
1967
1990
  return { "aria-rowindex": e.rowIndex + 1 };
1968
1991
  }), i = w(() => {
1969
- if (r.value)
1992
+ if (d.value)
1970
1993
  return {
1971
1994
  "aria-busy": "true",
1972
1995
  "aria-live": "polite"
1973
1996
  };
1974
- if (!(p.value || !e.hasNestedContent || !e.shouldShowNestedContent(e.rowData)))
1997
+ if (!(m.value || !e.hasNestedContent || !e.shouldShowNestedContent(e.rowData)))
1975
1998
  return {
1976
1999
  "aria-level": e.isNestedRow ? "3" : "2",
1977
2000
  "aria-posinset": "1",
1978
2001
  "aria-setsize": "1",
1979
- id: E,
2002
+ id: L,
1980
2003
  role: "row",
1981
2004
  tabindex: "-1"
1982
2005
  };
1983
- }), g = w(() => {
1984
- var L, F;
1985
- return p.value ? (F = (L = e.rowData) == null ? void 0 : L.children) == null ? void 0 : F.reduce((G, Y, J) => (G[J] = Oe("nested-row"), G), {}) : [];
2006
+ }), _ = w(() => {
2007
+ var y, B;
2008
+ return m.value ? (B = (y = e.rowData) == null ? void 0 : y.children) == null ? void 0 : B.reduce((k, Y, Q) => (k[Q] = Oe("nested-row"), k), {}) : [];
1986
2009
  }), C = w(() => {
1987
- var L;
1988
- if (_.value) {
2010
+ var y;
2011
+ if (g.value) {
1989
2012
  if (e.hasNestedContent && e.shouldShowNestedContent(e.rowData))
1990
- return [E];
1991
- if (p.value && ((L = Object.keys(g.value)) == null ? void 0 : L.length) > 0) {
1992
- const F = Object.values(g.value);
1993
- if ((F == null ? void 0 : F.length) > 0)
1994
- return F;
2013
+ return [L];
2014
+ if (m.value && ((y = Object.keys(_.value)) == null ? void 0 : y.length) > 0) {
2015
+ const B = Object.values(_.value);
2016
+ if ((B == null ? void 0 : B.length) > 0)
2017
+ return B;
1995
2018
  }
1996
2019
  return [];
1997
2020
  }
1998
2021
  }), b = w(() => {
1999
- var F, G;
2000
- const L = (G = (F = e.rowData) == null ? void 0 : F.children) == null ? void 0 : G.map((Y) => e.getDataItemId(Y));
2001
- if ((L == null ? void 0 : L.length) > 0) {
2002
- const Y = L.every((ae) => {
2003
- var te;
2004
- return (te = e == null ? void 0 : e.selectedItems) == null ? void 0 : te.includes(ae);
2005
- }), J = L.some((ae) => {
2006
- var te;
2007
- return (te = e == null ? void 0 : e.selectedItems) == null ? void 0 : te.includes(ae);
2022
+ var B, k;
2023
+ const y = (k = (B = e.rowData) == null ? void 0 : B.children) == null ? void 0 : k.map((Y) => e.getDataItemId(Y));
2024
+ if ((y == null ? void 0 : y.length) > 0) {
2025
+ const Y = y.every((le) => {
2026
+ var U;
2027
+ return (U = e == null ? void 0 : e.selectedItems) == null ? void 0 : U.includes(le);
2028
+ }), Q = y.some((le) => {
2029
+ var U;
2030
+ return (U = e == null ? void 0 : e.selectedItems) == null ? void 0 : U.includes(le);
2008
2031
  });
2009
- return !Y && J;
2032
+ return !Y && Q;
2010
2033
  }
2011
2034
  return !1;
2012
- }), N = (L, F) => {
2013
- const G = L;
2014
- L !== null && (G != null && G.gridcellRef) && (a.value[F] = G.gridcellRef);
2015
- }, I = (L) => g.value[L], f = (L) => {
2035
+ }), O = (y, B) => {
2036
+ const k = y;
2037
+ y !== null && (k != null && k.gridcellRef) && (a.value[B] = k.gridcellRef);
2038
+ }, I = (y) => _.value[y], u = (y) => {
2016
2039
  if (!e.selectable)
2017
2040
  return null;
2018
- const F = e.getDataItemId(L);
2019
- return e.selectedItems.includes(F).toString();
2020
- }, R = (L) => {
2041
+ const B = e.getDataItemId(y);
2042
+ return e.selectedItems.includes(B).toString();
2043
+ }, R = (y) => {
2021
2044
  var Y;
2022
- let F = !1;
2023
- const G = ["button", "input", "a"];
2024
- for (let J = 0; J < G.length; J++)
2025
- if ((Y = L == null ? void 0 : L.target) != null && Y.closest(G[J])) {
2026
- F = !0;
2045
+ let B = !1;
2046
+ const k = ["button", "input", "a"];
2047
+ for (let Q = 0; Q < k.length; Q++)
2048
+ if ((Y = y == null ? void 0 : y.target) != null && Y.closest(k[Q])) {
2049
+ B = !0;
2027
2050
  break;
2028
2051
  }
2029
- !F && e.allowRowClicks && n("row-click", e.rowData, L);
2030
- }, x = (L) => {
2031
- n("select-row", L, e.rowData);
2032
- }, H = (L, F) => {
2033
- n("select-nested-row", F, e.rowData, L);
2034
- }, h = () => {
2052
+ !B && e.allowRowClicks && n("row-click", e.rowData, y);
2053
+ }, F = (y) => {
2054
+ n("select-row", y, e.rowData);
2055
+ }, G = (y, B) => {
2056
+ n("select-nested-row", B, e.rowData, y);
2057
+ }, Z = () => {
2035
2058
  c.value = !0;
2036
- }, $ = () => {
2059
+ }, H = () => {
2037
2060
  c.value = !1;
2038
- }, D = () => e.columnSets.reduce((L, { columnSet: F }) => L + F.length, 0), B = () => D() * e.rowIndex + D(), { updateContentHeight: k, contentHeight: U } = Tn(v, _), z = w(() => {
2039
- var L;
2061
+ }, p = () => {
2062
+ ze(f.value);
2063
+ }, $ = () => e.columnSets.reduce((y, { columnSet: B }) => y + B.length, 0), x = () => $() * e.rowIndex + $(), { updateContentHeight: D, contentHeight: z } = Dn(v, g), M = w(() => {
2064
+ var y;
2040
2065
  if (e.hasNestedContent || e.hasNestedRows)
2041
2066
  return {
2042
- paddingLeft: `${p.value || r.value ? 0 : a.value[Q].clientWidth + mt}px`,
2043
- "max-height": (e.hasNestedContent || e.hasNestedRows) && U.value && !((L = U == null ? void 0 : U.value) != null && L.includes("null")) ? U.value : 0
2067
+ paddingLeft: `${m.value || d.value ? 0 : a.value[ee].clientWidth + pt}px`,
2068
+ "max-height": (e.hasNestedContent || e.hasNestedRows) && z.value && !((y = z == null ? void 0 : z.value) != null && y.includes("null")) ? z.value : 0
2044
2069
  };
2045
2070
  });
2046
- ee(
2071
+ te(
2047
2072
  () => v.value,
2048
2073
  () => {
2049
- let L = null;
2050
- !L && v.value && (L = Be(v.value, () => {
2051
- v.value && k();
2074
+ let y = null;
2075
+ !y && v.value && (y = Be(v.value, () => {
2076
+ v.value && D();
2052
2077
  }));
2053
2078
  }
2054
2079
  );
2055
- const M = () => {
2056
- _.value = !_.value, k(), n("nested-content-toggled", e.rowData);
2080
+ const K = () => {
2081
+ g.value = !g.value, D(), n("nested-content-toggled", e.rowData);
2057
2082
  };
2058
- ee(
2083
+ te(
2059
2084
  () => {
2060
- var L;
2061
- return (L = e.rowData) == null ? void 0 : L.children;
2085
+ var y;
2086
+ return (y = e.rowData) == null ? void 0 : y.children;
2062
2087
  },
2063
- (L, F) => {
2064
- var G, Y;
2065
- ((Y = (G = e == null ? void 0 : e.rowData) == null ? void 0 : G.children) == null ? void 0 : Y.length) > 0 && F === void 0 && !_.value && k();
2088
+ (y, B) => {
2089
+ var k, Y;
2090
+ ((Y = (k = e == null ? void 0 : e.rowData) == null ? void 0 : k.children) == null ? void 0 : Y.length) > 0 && B === void 0 && !g.value && D();
2066
2091
  }
2067
2092
  );
2068
- const ne = (L, F) => ({
2069
- "b-data-grid-row-container__row--disabled": e.isDataItemDisabled(L),
2093
+ const r = (y, B) => ({
2094
+ "b-data-grid-row-container__row--disabled": e.isDataItemDisabled(y),
2070
2095
  "b-data-grid-row-container__row--row-clicks-enabled": e.allowRowClicks,
2071
- "b-data-grid-row-container__row--highlighted": e.highlightedRows.includes(e.getDataItemId(L)) || e.selectedItems.includes(e.getDataItemId(L)),
2072
- "b-data-grid-row-container__row--hovered": e.hoveredRowIndex === F,
2073
- "b-data-grid-row-container__row--is-last-child": e.isRowLastChild && !_.value,
2096
+ "b-data-grid-row-container__row--highlighted": e.highlightedRows.includes(e.getDataItemId(y)) || e.selectedItems.includes(e.getDataItemId(y)),
2097
+ "b-data-grid-row-container__row--hovered": e.hoveredRowIndex === B,
2098
+ "b-data-grid-row-container__row--is-last-child": e.isRowLastChild && !g.value,
2074
2099
  "b-data-grid-row-container__row--nested-row": e.isNestedRow
2075
- }), d = (L) => ({
2076
- "b-data-grid-row-container__row-cell-set--frozen": L,
2077
- [`b-data-grid-row-container__row-cell-set--${ce.OVERFLOW_SHADOW_LEFT}`]: L && e.hasLeftOverflow,
2078
- "b-data-grid-row-container__row-cell-set--frozen-separator": L && e.showFrozenColumnsSeparator,
2079
- "b-data-grid-row-container__row-cell-set--unfrozen": !L,
2100
+ }), P = (y) => ({
2101
+ "b-data-grid-row-container__row-cell-set--frozen": y,
2102
+ [`b-data-grid-row-container__row-cell-set--${ce.OVERFLOW_SHADOW_LEFT}`]: y && e.hasLeftOverflow,
2103
+ "b-data-grid-row-container__row-cell-set--frozen-separator": y && e.showFrozenColumnsSeparator,
2104
+ "b-data-grid-row-container__row-cell-set--unfrozen": !y,
2080
2105
  "b-data-grid-row-container__row-cell-set--is-measuring": e.isMeasuringColumnWidths
2081
- }), P = w(() => ({
2106
+ }), oe = w(() => ({
2082
2107
  "b-data-grid-row-container__row-nested-slot--is-last-child": e.isRowLastChild,
2083
- "b-data-grid-row-container__row-nested-slot": !p.value && e.shouldShowNestedContent(e.rowData)
2084
- })), le = w(() => ({
2108
+ "b-data-grid-row-container__row-nested-slot": !m.value && e.shouldShowNestedContent(e.rowData)
2109
+ })), ne = w(() => ({
2085
2110
  "b-data-grid-row-container__row-actions-container--row-actions-menu-open": c.value
2086
- })), se = w(() => ({
2111
+ })), ie = w(() => ({
2087
2112
  minWidth: `${e.rowActionsMaximumWidth}px`
2088
2113
  }));
2089
2114
  return t({
2090
2115
  gridcellRefs: a,
2091
- rowActionsRef: u
2092
- }), { __sfc: !0, slots: o, hasSlot: l, props: e, emit: n, gridcellRefs: a, isNestedContentShown: _, nestedContentRef: v, rowActionsRef: u, nestedContentSlotId: E, isRowActionMenuOpen: c, shouldShowNestedRowsBooleanResult: A, shouldShowRenderNestedRows: p, isLoadingNestedRows: r, shouldShowNestedContentToggle: m, ariaRowAttributes: S, nestedContentContainerDivAriaAttributes: i, nestedRowIds: g, allNestedRowIds: C, hasUnSelectedNestedRows: b, registerRowCellRef: N, getRowId: I, getRowAriaSelectedValue: f, onRowClick: R, onRowSelect: x, onNestedRowSelect: H, onRowActionMenuOpen: h, onRowActionMenuClose: $, sumColumnAmountsInColumnSets: D, getRowActionsCellIndex: B, updateContentHeight: k, contentHeight: U, nestedContentStyles: z, nestedContentToggled: M, conditionalRowClasses: ne, conditionalRowSetClasses: d, conditionalNestedRowClasses: P, conditionalRowActionsContainerClasses: le, computedRowActionsStyles: se, DataGridCell: Po, DataGridCellActions: St, BentoLoadingIndicator: Me, DataGridRow: Et };
2116
+ rowActionsRef: f
2117
+ }), { __sfc: !0, slots: o, hasSlot: l, props: e, emit: n, gridcellRefs: a, isNestedContentShown: g, nestedContentRef: v, rowActionsRef: f, nestedContentSlotId: L, isRowActionMenuOpen: c, shouldShowNestedRowsBooleanResult: A, shouldShowRenderNestedRows: m, isLoadingNestedRows: d, shouldShowNestedContentToggle: h, ariaRowAttributes: S, nestedContentContainerDivAriaAttributes: i, nestedRowIds: _, allNestedRowIds: C, hasUnSelectedNestedRows: b, registerRowCellRef: O, getRowId: I, getRowAriaSelectedValue: u, onRowClick: R, onRowSelect: F, onNestedRowSelect: G, onRowActionMenuOpen: Z, onRowActionMenuClose: H, onRowActionsCellFocus: p, sumColumnAmountsInColumnSets: $, getRowActionsCellIndex: x, updateContentHeight: D, contentHeight: z, nestedContentStyles: M, nestedContentToggled: K, conditionalRowClasses: r, conditionalRowSetClasses: P, conditionalNestedRowClasses: oe, conditionalRowActionsContainerClasses: ne, computedRowActionsStyles: ie, DataGridCell: Uo, DataGridCellActions: Et, BentoLoadingIndicator: Fe, DataGridRow: yt };
2093
2118
  }
2094
2119
  });
2095
- var ko = function() {
2120
+ var Go = function() {
2096
2121
  var o;
2097
2122
  var t = this, n = t._self._c, e = t._self._setupProxy;
2098
- return n("div", { staticClass: "b-data-grid-row-container" }, [n("div", t._b({ key: t.rowIndex, staticClass: "b-data-grid-row-container__row", class: e.conditionalRowClasses(t.rowData, t.rowIndex), attrs: { id: (o = t.rowId) == null ? void 0 : o.toString(), role: "row", "aria-selected": e.getRowAriaSelectedValue(t.rowData) }, on: { click: e.onRowClick } }, "div", e.ariaRowAttributes, !1), [t._l(t.columnSets, function({ columnSet: l, id: a, isFrozenColumns: _ }, v) {
2099
- return [l != null && l.length ? n("div", { key: `data-grid-rows-${a}`, staticClass: "b-data-grid-row-container__cells", class: e.conditionalRowSetClasses(_), attrs: { "data-testid": `data-grid-${a}-rows` } }, t._l(l, function(u, E) {
2100
- return n(e.DataGridCell, { key: `cell-${u.field}`, ref: (c) => e.registerRowCellRef(c, u.field), refInFor: !0, staticClass: "b-data-grid-row-container__cell", attrs: { column: u, "column-set-index": v, "col-index": E, "column-sets": t.columnSets, condensed: t.condensed, "dragging-columns": t.draggingColumns, "dragging-events-for-row-cell": t.draggingEventsForRowCell, "get-data-item-id": t.getDataItemId, "hovered-over-column-state": t.hoveredOverColumnState, "is-data-item-disabled": t.isDataItemDisabled, "is-measuring-column-widths": t.isMeasuringColumnWidths, "is-nested-content-expanded": e.isNestedContentShown, "nested-content": e.shouldShowNestedContentToggle, "nested-rows-element-ids": e.allNestedRowIds, "row-data": t.rowData, "row-index": t.rowIndex, "selection-is-indeterminate": e.hasUnSelectedNestedRows, selectable: t.selectable, "selected-items": t.selectedItems }, on: { "cell-hovered": function(c) {
2123
+ return n("div", { staticClass: "b-data-grid-row-container" }, [n("div", t._b({ key: t.rowIndex, staticClass: "b-data-grid-row-container__row", class: e.conditionalRowClasses(t.rowData, t.rowIndex), attrs: { id: (o = t.rowId) == null ? void 0 : o.toString(), role: "row", "aria-selected": e.getRowAriaSelectedValue(t.rowData) }, on: { click: e.onRowClick } }, "div", e.ariaRowAttributes, !1), [t._l(t.columnSets, function({ columnSet: l, id: a, isFrozenColumns: g }, v) {
2124
+ return [l != null && l.length ? n("div", { key: `data-grid-rows-${a}`, staticClass: "b-data-grid-row-container__cells", class: e.conditionalRowSetClasses(g), attrs: { "data-testid": `data-grid-${a}-rows` } }, t._l(l, function(f, L) {
2125
+ return n(e.DataGridCell, { key: `cell-${f.field}`, ref: (c) => e.registerRowCellRef(c, f.field), refInFor: !0, staticClass: "b-data-grid-row-container__cell", attrs: { column: f, "column-set-index": v, "col-index": L, "column-sets": t.columnSets, condensed: t.condensed, "dragging-columns": t.draggingColumns, "dragging-events-for-row-cell": t.draggingEventsForRowCell, "get-data-item-id": t.getDataItemId, "hovered-over-column-state": t.hoveredOverColumnState, "is-data-item-disabled": t.isDataItemDisabled, "is-measuring-column-widths": t.isMeasuringColumnWidths, "is-nested-content-expanded": e.isNestedContentShown, "nested-content": e.shouldShowNestedContentToggle, "nested-rows-element-ids": e.allNestedRowIds, "row-data": t.rowData, "row-index": t.rowIndex, "selection-is-indeterminate": e.hasUnSelectedNestedRows, selectable: t.selectable, "selected-items": t.selectedItems }, on: { "cell-hovered": function(c) {
2101
2126
  return e.emit("cell-hovered", c);
2102
2127
  }, "on-frozen-columns-key-press": function(c) {
2103
2128
  return e.emit("on-frozen-columns-key-press", c);
2104
2129
  }, "select-row": e.onRowSelect, "nested-content-toggled": e.nestedContentToggled }, scopedSlots: t._u([t._l(e.slots, function(c, A) {
2105
- return { key: A, fn: function(p) {
2106
- return [t._t(A, null, null, p)];
2130
+ return { key: A, fn: function(m) {
2131
+ return [t._t(A, null, null, m)];
2107
2132
  } };
2108
2133
  })], null, !0) });
2109
- }), 1) : t._e(), !_ && t.rowActions ? n("div", { key: `data-grid-row-actions-${a}`, ref: "rowActionsRef", refInFor: !0, staticClass: "b-data-grid-row-container__row-actions-container", class: e.conditionalRowActionsContainerClasses, style: e.computedRowActionsStyles, attrs: { "aria-colindex": e.sumColumnAmountsInColumnSets().toString(), "data-cellindex": e.getRowActionsCellIndex(), tabindex: "-1", role: "gridcell" } }, [n(e.DataGridCellActions, { staticClass: "b-data-grid-row-container__row-actions", attrs: { "cell-actions": t.rowActions, "has-right-overflow": t.hasRightOverflow, "row-data-item": t.rowData }, on: { "menu-open": e.onRowActionMenuOpen, "menu-close": e.onRowActionMenuClose } })], 1) : t._e()];
2134
+ }), 1) : t._e(), !g && t.rowActions ? n("div", { key: `data-grid-row-actions-${a}`, ref: "rowActionsRef", refInFor: !0, staticClass: "b-data-grid-row-container__row-actions-container", class: e.conditionalRowActionsContainerClasses, style: e.computedRowActionsStyles, attrs: { "aria-colindex": e.sumColumnAmountsInColumnSets().toString(), "data-cellindex": e.getRowActionsCellIndex(), tabindex: "-1", role: "gridcell" }, on: { focus: e.onRowActionsCellFocus } }, [n(e.DataGridCellActions, { staticClass: "b-data-grid-row-container__row-actions", attrs: { "disable-arrow-down-opening-menu": "", "cell-actions": t.rowActions, "has-right-overflow": t.hasRightOverflow, "row-data-item": t.rowData }, on: { "menu-open": e.onRowActionMenuOpen, "menu-close": e.onRowActionMenuClose } })], 1) : t._e()];
2110
2135
  })], 2), t.hasNestedContent && e.hasSlot("nested-slot") && t.shouldShowNestedContent(t.rowData) || t.hasNestedRows && e.shouldShowNestedRowsBooleanResult ? n("Transition", { key: `${t.rowIndex}-nest-content`, attrs: { name: "b-data-grid-row-container__animation--nested-content" } }, [e.isNestedContentShown ? n("div", t._b({ class: e.conditionalNestedRowClasses, style: e.nestedContentStyles, attrs: { "data-testid": "nested-content-container" } }, "div", e.nestedContentContainerDivAriaAttributes, !1), [n("div", { ref: "nestedContentRef" }, [e.isLoadingNestedRows ? n("div", { staticClass: "b-data-grid-row-container__row-nested-rows-loading-container" }, [n(e.BentoLoadingIndicator)], 1) : e.shouldShowRenderNestedRows ? t._l(t.rowData.children, function(l, a) {
2111
- return n(e.DataGridRow, t._b({ key: `child-${a}`, attrs: { id: e.getRowId(a), "row-data": l, "row-index": a, "row-set-size": t.rowData.children.length, "is-nested-row": "" }, on: { "cell-hovered": function(_) {
2112
- return e.emit("cell-hovered", _);
2113
- }, "row-click": function(_) {
2114
- return e.emit("row-click", ..._);
2115
- }, "on-frozen-columns-key-press": function(_) {
2116
- return e.emit("on-frozen-columns-key-press", _);
2117
- }, "select-row": function(_) {
2118
- return e.onNestedRowSelect(l, _);
2119
- } }, scopedSlots: t._u([t._l(e.slots, function(_, v) {
2120
- return { key: v, fn: function(u) {
2121
- return [t._t(v, null, null, u)];
2136
+ return n(e.DataGridRow, t._b({ key: `child-${a}`, attrs: { id: e.getRowId(a), "row-data": l, "row-index": a, "row-set-size": t.rowData.children.length, "is-nested-row": "" }, on: { "cell-hovered": function(g) {
2137
+ return e.emit("cell-hovered", g);
2138
+ }, "row-click": function(g) {
2139
+ return e.emit("row-click", ...g);
2140
+ }, "on-frozen-columns-key-press": function(g) {
2141
+ return e.emit("on-frozen-columns-key-press", g);
2142
+ }, "select-row": function(g) {
2143
+ return e.onNestedRowSelect(l, g);
2144
+ } }, scopedSlots: t._u([t._l(e.slots, function(g, v) {
2145
+ return { key: v, fn: function(f) {
2146
+ return [t._t(v, null, null, f)];
2122
2147
  } };
2123
2148
  })], null, !0) }, "data-grid-row", e.props, !1));
2124
2149
  }) : e.hasSlot("nested-slot") && t.shouldShowNestedContent(t.rowData) ? n("div", [t._t("nested-slot", null, { item: t.rowData })], 2) : t._e()], 2)]) : t._e()]) : t._e()], 1);
2125
- }, Wo = [], Go = /* @__PURE__ */ q(
2126
- Uo,
2127
- ko,
2150
+ }, Ho = [], Vo = /* @__PURE__ */ q(
2128
2151
  Wo,
2152
+ Go,
2153
+ Ho,
2129
2154
  !1,
2130
2155
  null,
2131
- "c6fea0b1"
2156
+ "9ebc1423"
2132
2157
  );
2133
- const Et = Go.exports;
2134
- let dt = 0;
2135
- const Ho = {
2158
+ const yt = Vo.exports;
2159
+ let ct = 0;
2160
+ const Zo = {
2136
2161
  beforeCreate() {
2137
- this.uuid = dt.toString(), dt += 1;
2162
+ this.uuid = ct.toString(), ct += 1;
2138
2163
  }
2139
2164
  };
2140
- var Vo = function() {
2165
+ var jo = function() {
2141
2166
  var t = this, n = t._self._c;
2142
2167
  return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { "clip-path": "url(#uia-ui-assets/icons-16-warning_circle_fill__a" + t.uuid + ")" } }, [n("path", { attrs: { fill: "#00112C", d: "M0.25 8C0.25 3.71979 3.71979 0.25 8 0.25C12.2802 0.25 15.75 3.71979 15.75 8C15.75 12.2802 12.2802 15.75 8 15.75C3.71979 15.75 0.25 12.2802 0.25 8ZM8.75 8.75V4.25H7.25V8.75H8.75ZM8 11.5C8.41421 11.5 8.75 11.1642 8.75 10.75C8.75 10.3358 8.41421 10 8 10C7.58579 10 7.25 10.3358 7.25 10.75C7.25 11.1642 7.58579 11.5 8 11.5Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-ui-assets/icons-16-warning_circle_fill__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
2143
- }, Zo = [], jo = /* @__PURE__ */ q(
2144
- Ho,
2145
- Vo,
2168
+ }, qo = [], Yo = /* @__PURE__ */ q(
2146
2169
  Zo,
2170
+ jo,
2171
+ qo,
2147
2172
  !1,
2148
2173
  null,
2149
2174
  null
2150
2175
  );
2151
- const qo = jo.exports, Yo = {}, Xo = /* @__PURE__ */ ie({
2152
- ...Yo,
2176
+ const Xo = Yo.exports, Ko = {}, Jo = /* @__PURE__ */ ae({
2177
+ ...Ko,
2153
2178
  __name: "data-grid-static-icon",
2154
2179
  props: {
2155
2180
  colored: { type: Boolean, default: !1 },
@@ -2160,42 +2185,42 @@ const qo = jo.exports, Yo = {}, Xo = /* @__PURE__ */ ie({
2160
2185
  const t = s, n = w(() => {
2161
2186
  switch (t.variant) {
2162
2187
  case "checkmark":
2163
- return pn;
2164
- case "warning":
2165
2188
  return wn;
2189
+ case "warning":
2190
+ return Sn;
2166
2191
  case "error":
2167
- return qo;
2192
+ return Xo;
2168
2193
  case "cross":
2169
- return ft;
2194
+ return gt;
2170
2195
  case "no-value":
2171
- return qe;
2196
+ return Ye;
2172
2197
  default:
2173
- return qe;
2198
+ return Ye;
2174
2199
  }
2175
2200
  }), e = w(() => ({
2176
2201
  "b-data-grid-static-icon--colored": t.colored && t.variant !== "no-value"
2177
- })), o = w(() => `b-data-grid-static-icon__${t.variant}`), l = w(() => Sn.AUTO);
2202
+ })), o = w(() => `b-data-grid-static-icon__${t.variant}`), l = w(() => En.AUTO);
2178
2203
  return { __sfc: !0, props: t, computedIcon: n, conditionalClasses: e, computedIconClass: o, tooltipPosition: l, vBentoTooltipDirective: Ln };
2179
2204
  }
2180
2205
  });
2181
- var Ko = function() {
2206
+ var Qo = function() {
2182
2207
  var t = this, n = t._self._c, e = t._self._setupProxy;
2183
2208
  return n("div", { directives: [{ name: "bento-tooltip-directive", rawName: "v-bento-tooltip-directive:[tooltipPosition]", value: t.tooltipText, expression: "tooltipText", arg: e.tooltipPosition }], staticClass: "b-data-grid-static-icon", class: e.conditionalClasses, attrs: { "aria-label": t.tooltipText, tabindex: "0" } }, [n(e.computedIcon, { tag: "component", class: e.computedIconClass, attrs: { "svg-title": t.tooltipText } })], 1);
2184
- }, Jo = [], Qo = /* @__PURE__ */ q(
2185
- Xo,
2186
- Ko,
2209
+ }, el = [], tl = /* @__PURE__ */ q(
2187
2210
  Jo,
2211
+ Qo,
2212
+ el,
2188
2213
  !1,
2189
2214
  null,
2190
2215
  "f8532817"
2191
2216
  );
2192
- const Yl = Qo.exports, el = () => {
2217
+ const Jl = tl.exports, nl = () => {
2193
2218
  const s = window.getSelection().getRangeAt(0).cloneContents(), t = s.querySelectorAll('[role="row"]');
2194
2219
  let n = "<table>";
2195
2220
  const e = (o) => {
2196
2221
  o.forEach((l) => {
2197
- const a = l.closest("[role]").getAttribute("role") === "gridcell" ? "td" : "th", _ = l.textContent.trim();
2198
- _ && (n += `<${a}>${_}</${a}>`);
2222
+ const a = l.closest("[role]").getAttribute("role") === "gridcell" ? "td" : "th", g = l.textContent.trim();
2223
+ g && (n += `<${a}>${g}</${a}>`);
2199
2224
  });
2200
2225
  };
2201
2226
  if (!t.length) {
@@ -2218,11 +2243,11 @@ const Yl = Qo.exports, el = () => {
2218
2243
  "text/plain": new Blob([n], { type: "text/plain" })
2219
2244
  })
2220
2245
  ]);
2221
- }, tl = {
2222
- i18n: { messages: wt },
2246
+ }, sl = {
2247
+ i18n: { messages: St },
2223
2248
  name: "bento-data-grid"
2224
- }, nl = /* @__PURE__ */ ie({
2225
- ...tl,
2249
+ }, ol = /* @__PURE__ */ ae({
2250
+ ...sl,
2226
2251
  props: {
2227
2252
  /**
2228
2253
  * When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
@@ -2510,248 +2535,248 @@ const Yl = Qo.exports, el = () => {
2510
2535
  }
2511
2536
  },
2512
2537
  emits: [
2513
- O.COLUMNS,
2514
- O.COLUMN_RESIZE,
2515
- O.ITEMS_PAGE,
2516
- O.FILTER_SEARCH_INPUT,
2517
- O.FILTER_SEARCH_CLEAR,
2518
- O.NAVIGATE,
2519
- O.NESTED_CONTENT_TOGGLED,
2520
- O.UPDATE_COLUMNS,
2521
- O.UPDATE_CONDENSED,
2522
- O.UPDATE_FILTER_VALUES,
2523
- O.UPDATE_FILTERS,
2524
- O.UPDATE_FILTER_SEARCH_TERM,
2525
- O.UPDATE_SHOW_MORE,
2526
- O.UPDATE_PAGINATION,
2527
- O.UPDATE_SELECTION,
2528
- O.UPDATE_SORT_BY,
2529
- O.ROW_CLICK,
2530
- O.SELECT,
2531
- O.SELECT_ALL_ACROSS_PAGES,
2532
- O.SORT
2538
+ N.COLUMNS,
2539
+ N.COLUMN_RESIZE,
2540
+ N.ITEMS_PAGE,
2541
+ N.FILTER_SEARCH_INPUT,
2542
+ N.FILTER_SEARCH_CLEAR,
2543
+ N.NAVIGATE,
2544
+ N.NESTED_CONTENT_TOGGLED,
2545
+ N.UPDATE_COLUMNS,
2546
+ N.UPDATE_CONDENSED,
2547
+ N.UPDATE_FILTER_VALUES,
2548
+ N.UPDATE_FILTERS,
2549
+ N.UPDATE_FILTER_SEARCH_TERM,
2550
+ N.UPDATE_SHOW_MORE,
2551
+ N.UPDATE_PAGINATION,
2552
+ N.UPDATE_SELECTION,
2553
+ N.UPDATE_SORT_BY,
2554
+ N.ROW_CLICK,
2555
+ N.SELECT,
2556
+ N.SELECT_ALL_ACROSS_PAGES,
2557
+ N.SORT
2533
2558
  ],
2534
2559
  setup(s, { expose: t, emit: n }) {
2535
- const e = s, o = xe(), l = Fe(o), a = y(null), _ = y(), v = y({}), u = y(null), E = y(null), c = y(), A = y(null), p = y(null), r = y(null), {
2536
- allowColumnDragAndDrop: m,
2560
+ const e = s, o = xe(), l = Me(o), a = E(null), g = E(), v = E({}), f = E(null), L = E(null), c = E(), A = E(null), m = E(null), d = E(null), {
2561
+ allowColumnDragAndDrop: h,
2537
2562
  columns: S,
2538
2563
  columnPanel: i,
2539
- data: g,
2564
+ data: _,
2540
2565
  lazyLoadType: C,
2541
2566
  loading: b,
2542
- hasNestedContent: N,
2567
+ hasNestedContent: O,
2543
2568
  hasNestedRows: I,
2544
- selectable: f,
2569
+ selectable: u,
2545
2570
  selection: R,
2546
- selectableAcrossPages: x,
2547
- stickyPagination: H,
2548
- outline: h,
2549
- pagination: $
2550
- } = De(e), D = y(-1), { t: B } = ge(), k = w(() => se.value.filter((T) => T.frozen).length), U = Ae(
2551
- Nn,
2571
+ selectableAcrossPages: F,
2572
+ stickyPagination: G,
2573
+ outline: Z,
2574
+ pagination: H
2575
+ } = De(e), p = E(-1), { t: $ } = ge(), x = w(() => ne.value.filter((T) => T.frozen).length), D = Ae(
2576
+ Tn,
2552
2577
  () => ({
2553
- additionalContentSlotRef: y(null),
2578
+ additionalContentSlotRef: E(null),
2554
2579
  isDataGridTemplate: !1,
2555
- stickyAditionalContent: y(!1),
2556
- stickyTabs: y(!1),
2557
- tabsRef: y(null)
2580
+ stickyAditionalContent: E(!1),
2581
+ stickyTabs: E(!1),
2582
+ tabsRef: E(null)
2558
2583
  })
2559
- ), { additionalContentSlotRef: z, isDataGridTemplate: M, stickyTabs: ne, tabsRef: d, stickyAdditionalContent: P } = U(), le = w(() => e.fitContent || M ? 0 : null), {
2560
- columnDefs: se,
2561
- onColumnWidthOverride: L,
2562
- gridRowWidthStyle: F,
2563
- isMeasuringColumnWidths: G,
2564
- isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: Y,
2565
- columns: J,
2566
- totalWidthOfAllColumns: ae,
2567
- rowActionsMaxWidth: te
2568
- } = ls(S, g, a, v, u, {
2584
+ ), { additionalContentSlotRef: z, isDataGridTemplate: M, stickyTabs: K, tabsRef: r, stickyAdditionalContent: P } = D(), oe = w(() => e.fitContent || M ? 0 : null), {
2585
+ columnDefs: ne,
2586
+ onColumnWidthOverride: ie,
2587
+ gridRowWidthStyle: y,
2588
+ isMeasuringColumnWidths: B,
2589
+ isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: k,
2590
+ columns: Y,
2591
+ totalWidthOfAllColumns: Q,
2592
+ rowActionsMaxWidth: le
2593
+ } = is(S, _, a, v, f, {
2569
2594
  hasColumnPanel: i,
2570
- hasSelectableColumn: f,
2571
- hasSelectableAcrossPages: x,
2572
- hasNestedContent: N,
2595
+ hasSelectableColumn: u,
2596
+ hasSelectableAcrossPages: F,
2597
+ hasNestedContent: O,
2573
2598
  hasNestedRows: I,
2574
- allowColumnDragAndDrop: m,
2599
+ allowColumnDragAndDrop: h,
2575
2600
  isDataGridTemplate: M
2576
- }), Z = (T, ...W) => {
2577
- (T === O.COLUMNS || T === O.UPDATE_COLUMNS) && ([J.value] = W), n(T, ...W);
2578
- }, pe = Je(
2579
- d,
2580
- ne,
2601
+ }), U = (T, ...W) => {
2602
+ (T === N.COLUMNS || T === N.UPDATE_COLUMNS) && ([Y.value] = W), n(T, ...W);
2603
+ }, pe = Qe(
2604
+ r,
2605
+ K,
2581
2606
  P,
2582
2607
  z
2583
- ), yt = w(
2608
+ ), Rt = w(
2584
2609
  () => e.stickyFilters ? `${pe.value}px` : null
2585
- ), Pe = Je(E, be(e, "stickyFilters")), Rt = w(
2610
+ ), Pe = Qe(L, be(e, "stickyFilters")), bt = w(
2586
2611
  () => `${Pe.value + pe.value}px`
2587
2612
  ), {
2588
2613
  sortedColumns: we,
2589
2614
  columnSets: Se,
2590
- isOnlyOneVisibleColumn: bt,
2591
- onConfigSettingsUpdate: At,
2592
- onConfigSettingsColumnsUpdate: Ot,
2593
- onConfigSettingsColumnUpdate: Nt
2594
- } = fs(se, Z), { hoveredOverColumn: Tt, hoveredOverColumnState: It } = _s(
2615
+ isOnlyOneVisibleColumn: At,
2616
+ onConfigSettingsUpdate: Ot,
2617
+ onConfigSettingsColumnsUpdate: Nt,
2618
+ onConfigSettingsColumnUpdate: Tt
2619
+ } = _s(ne, U), { hoveredOverColumn: It, hoveredOverColumnState: Dt } = Cs(
2595
2620
  Se,
2596
- f,
2597
- h,
2598
- Y
2599
- ), { draggingColumns: Dt, draggingEventsForColumns: xt, draggingEventsForRowCell: Mt, onMoveColumnByOffset: Ft } = us(we, m, Z), { onAllRowSelect: Bt, onRowSelect: $t, onNestedRowSelect: Pt, selectedItems: ze, allItemsSelectedState: zt } = as(
2600
- R,
2621
+ u,
2601
2622
  Z,
2602
- g,
2623
+ k
2624
+ ), { draggingColumns: xt, draggingEventsForColumns: Ft, draggingEventsForRowCell: Mt, onMoveColumnByOffset: Bt } = gs(we, h, U), { onAllRowSelect: $t, onRowSelect: zt, onNestedRowSelect: Pt, selectedItems: Ue, allItemsSelectedState: Ut } = rs(
2625
+ R,
2626
+ U,
2627
+ _,
2603
2628
  e.getDataItemId,
2604
2629
  e.isDataItemDisabled
2605
- ), { navigationInput: Ut } = rs(
2606
- u,
2630
+ ), { navigationInput: kt } = cs(
2631
+ f,
2607
2632
  v,
2608
2633
  we,
2609
- f,
2634
+ u,
2610
2635
  w(() => e.rowActions !== void 0),
2611
2636
  i
2612
- ), { isLazyLoad: Le, isInfiniteScroll: kt, verticalScrollPosition: Ue, emitLazyLoadEvent: Wt } = cs(
2637
+ ), { isLazyLoad: Ee, isInfiniteScroll: Wt, verticalScrollPosition: ke, emitLazyLoadEvent: Gt } = fs(
2613
2638
  C,
2614
- p,
2639
+ m,
2615
2640
  a,
2616
2641
  b,
2617
- Z
2642
+ U
2618
2643
  ), {
2619
- updateScrollPosition: Gt,
2620
- updateScrollPositionOnFrozenColumnsNavigation: Ht,
2621
- syncVirtualScrollerWithBody: Vt,
2622
- hasLeftOverflow: Ee,
2623
- hasRightOverflow: ke,
2624
- horizontalScrollbarConditionalStyles: Zt
2625
- } = gs(
2644
+ updateScrollPosition: Ht,
2645
+ updateScrollPositionOnFrozenColumnsNavigation: Vt,
2646
+ syncVirtualScrollerWithBody: Zt,
2647
+ hasLeftOverflow: Le,
2648
+ hasRightOverflow: We,
2649
+ horizontalScrollbarConditionalStyles: jt
2650
+ } = vs(
2626
2651
  a,
2627
- _,
2628
- Ue,
2629
- r,
2652
+ g,
2653
+ ke,
2654
+ d,
2630
2655
  A,
2631
- ae,
2656
+ Q,
2632
2657
  {
2633
- isLazyLoad: Le,
2634
- pagination: $,
2635
- stickyPagination: H,
2658
+ isLazyLoad: Ee,
2659
+ pagination: H,
2660
+ stickyPagination: G,
2636
2661
  isDataGridTemplate: M
2637
2662
  }
2638
- ), We = () => {
2663
+ ), Ge = () => {
2639
2664
  c.value.isClearAllVisible ? c.value.clearAllFilters() : c.value.isResetAllVisible && c.value.resetAllFilters();
2640
- }, jt = w(() => {
2665
+ }, qt = w(() => {
2641
2666
  var T, W;
2642
2667
  return {
2643
2668
  ...e.emptyState,
2644
2669
  variant: ((T = e.emptyState) == null ? void 0 : T.variant) === "embedded" || ((W = e.emptyState) == null ? void 0 : W.variant) === "basic" ? e.emptyState.variant : "basic"
2645
2670
  };
2646
- }), qt = w(() => ({
2671
+ }), Yt = w(() => ({
2647
2672
  [`b-data-grid--${ce.OUTLINE}`]: e.outline,
2648
- [`b-data-grid--${ce.SCROLL}`]: e.fitContent || Le.value,
2673
+ [`b-data-grid--${ce.SCROLL}`]: e.fitContent || Ee.value,
2649
2674
  [`b-data-grid--${ce.STICKY_FILTERS}`]: e.filters && e.stickyFilters,
2650
- [`b-data-grid--${ce.OVERFLOW_SHADOW_LEFT}`]: Ee.value && !k.value,
2651
- [`b-data-grid--${ce.OVERFLOW_SHADOW_RIGHT}`]: ke.value && e.rowActions === void 0,
2675
+ [`b-data-grid--${ce.OVERFLOW_SHADOW_LEFT}`]: Le.value && !x.value,
2676
+ [`b-data-grid--${ce.OVERFLOW_SHADOW_RIGHT}`]: We.value && e.rowActions === void 0,
2652
2677
  [`b-data-grid--${ce.NO_SPACING_TOP}`]: e.noSpacingTop
2653
- })), Yt = w(() => ({
2678
+ })), Xt = w(() => ({
2654
2679
  "b-data-grid__body--sticky-horizontal-scrollbar": e.stickyHorizontalScrollbar
2655
- })), Xt = w(() => Se.value.findIndex((T) => T.columnSet.length)), Kt = w(() => !((e.selectable || e.hasNestedContent || e.hasNestedRows) && k.value === 1) || Ee.value), Jt = w(() => ({
2680
+ })), Kt = w(() => Se.value.findIndex((T) => T.columnSet.length)), Jt = w(() => !((e.selectable || e.hasNestedContent || e.hasNestedRows) && x.value === 1) || Le.value), Qt = w(() => ({
2656
2681
  "b-data-grid__filters--sticky": !!e.stickyFilters || M
2657
- })), Qt = w(() => {
2682
+ })), en = w(() => {
2658
2683
  var T, W, X, ue, _e, ve;
2659
2684
  return {
2660
2685
  "b-data-grid__pagination--padding-left-unset": ((X = (W = (T = e.columns) == null ? void 0 : T[0]) == null ? void 0 : W.padding) == null ? void 0 : X.left) === !1,
2661
2686
  "b-data-grid__pagination--padding-right-unset": ((ve = (_e = (ue = e.columns) == null ? void 0 : ue[e.columns.length - 1]) == null ? void 0 : _e.padding) == null ? void 0 : ve.right) === !1,
2662
2687
  "b-data-grid__pagination--sticky": !!e.stickyPagination || M
2663
2688
  };
2664
- }), en = (T) => {
2689
+ }), tn = (T) => {
2665
2690
  const W = T;
2666
2691
  T !== null && (W != null && W.columnHeaderRefs) && Object.entries(W == null ? void 0 : W.columnHeaderRefs).forEach(([X, ue]) => {
2667
2692
  v.value[X] = ue;
2668
2693
  });
2669
- }, tn = (T, W) => {
2670
- var ue, _e, ve, Ze;
2694
+ }, nn = (T, W) => {
2695
+ var ue, _e, ve, je;
2671
2696
  const X = T;
2672
2697
  if (T !== null && X != null && X.gridcellRefs) {
2673
- const vn = e.rowActions !== void 0 && (X == null ? void 0 : X.rowActionsRef);
2674
- Object.entries(X == null ? void 0 : X.gridcellRefs).map(([ye, Cn]) => {
2675
- var je;
2676
- ((je = u.value) == null ? void 0 : je[ye]) === void 0 && (u.value = { ...u.value, [ye]: [] }), u.value[ye][W] = Cn;
2677
- }), vn && (((ue = u.value) == null ? void 0 : ue[Ce]) === void 0 && (u.value = { ...u.value, [Ce]: [] }), u.value[Ce][W] = (_e = X.rowActionsRef) == null ? void 0 : _e[0], te.value = Math.max(
2678
- te.value,
2679
- ((Ze = (ve = X.rowActionsRef) == null ? void 0 : ve[0]) == null ? void 0 : Ze.offsetWidth) ?? 0
2698
+ const Cn = e.rowActions !== void 0 && (X == null ? void 0 : X.rowActionsRef);
2699
+ Object.entries(X == null ? void 0 : X.gridcellRefs).map(([ye, hn]) => {
2700
+ var qe;
2701
+ ((qe = f.value) == null ? void 0 : qe[ye]) === void 0 && (f.value = { ...f.value, [ye]: [] }), f.value[ye][W] = hn;
2702
+ }), Cn && (((ue = f.value) == null ? void 0 : ue[Ce]) === void 0 && (f.value = { ...f.value, [Ce]: [] }), f.value[Ce][W] = (_e = X.rowActionsRef) == null ? void 0 : _e[0], le.value = Math.max(
2703
+ le.value,
2704
+ ((je = (ve = X.rowActionsRef) == null ? void 0 : ve[0]) == null ? void 0 : je.offsetWidth) ?? 0
2680
2705
  ));
2681
2706
  }
2682
- }, nn = (T, W) => {
2683
- e.allowRowClicks && Z(O.ROW_CLICK, T, W);
2684
- }, sn = (T) => {
2685
- D.value = T;
2686
- }, on = w(() => !!e.selectableAcrossPages && !!e.pagination), ln = w(() => e.hasNestedContent || e.hasNestedRows ? "treegrid" : "grid"), an = Rn({
2687
- label: o != null && o.header ? bn(o)("header") : null,
2707
+ }, sn = (T, W) => {
2708
+ e.allowRowClicks && U(N.ROW_CLICK, T, W);
2709
+ }, on = (T) => {
2710
+ p.value = T;
2711
+ }, ln = w(() => !!e.selectableAcrossPages && !!e.pagination), an = w(() => e.hasNestedContent || e.hasNestedRows ? "treegrid" : "grid"), rn = bn({
2712
+ label: o != null && o.header ? An(o)("header") : null,
2688
2713
  defaultFallback: "data grid"
2689
- }), Ge = w(() => {
2714
+ }), He = w(() => {
2690
2715
  var T;
2691
- return ((T = ze.value) == null ? void 0 : T.length) ?? 0;
2692
- }), rn = w(() => e.bulkActions && Ge.value > 0), dn = (T) => Z(O.COLUMN_RESIZE, T), cn = (T) => {
2693
- Z(O.UPDATE_SORT_BY, T), Z(O.SORT, T);
2694
- }, un = (T, W) => {
2695
- Z(O.NAVIGATE, T), Z(O.UPDATE_PAGINATION, {
2716
+ return ((T = Ue.value) == null ? void 0 : T.length) ?? 0;
2717
+ }), dn = w(() => e.bulkActions && He.value > 0), cn = (T) => U(N.COLUMN_RESIZE, T), un = (T) => {
2718
+ U(N.UPDATE_SORT_BY, T), U(N.SORT, T);
2719
+ }, fn = (T, W) => {
2720
+ U(N.NAVIGATE, T), U(N.UPDATE_PAGINATION, {
2696
2721
  ...e.pagination,
2697
2722
  size: W,
2698
2723
  page: T
2699
2724
  });
2700
- }, fn = (T) => {
2701
- Z(O.ITEMS_PAGE, T);
2702
- }, gn = () => {
2703
- Z(O.FILTER_SEARCH_CLEAR);
2704
- }, _n = (T) => {
2705
- Z(O.UPDATE_FILTER_SEARCH_TERM, T), Z(O.FILTER_SEARCH_INPUT, T);
2706
- }, He = w(() => S.value.some((T) => T.mandatory));
2707
- He.value || gt(
2725
+ }, gn = (T) => {
2726
+ U(N.ITEMS_PAGE, T);
2727
+ }, _n = () => {
2728
+ U(N.FILTER_SEARCH_CLEAR);
2729
+ }, vn = (T) => {
2730
+ U(N.UPDATE_FILTER_SEARCH_TERM, T), U(N.FILTER_SEARCH_INPUT, T);
2731
+ }, Ve = w(() => S.value.some((T) => T.mandatory));
2732
+ Ve.value || _t(
2708
2733
  "WARNING: At least one BentoDataGrid column should be set as mandatory to ensure data is always displayed correctly."
2709
2734
  );
2710
- const Ve = Ae(On, () => null);
2711
- return Ve(e.tabTitle), ut(Lt, be(e, "slashedZero")), t({ onEmptyStateClearResetButtonClick: We }), { __sfc: !0, props: e, slots: o, hasSlot: l, body: a, columnsRef: _, columnHeaderRefs: v, gridcellRefs: u, filtersRef: E, filterBarRef: c, paginationContainerRef: A, verticalScrollPositionRef: p, virtualHorizontalScrollbarRef: r, allowColumnDragAndDrop: m, columns: S, columnPanel: i, data: g, lazyLoadType: C, loading: b, hasNestedContent: N, hasNestedRows: I, selectable: f, selection: R, selectableAcrossPages: x, stickyPagination: H, outline: h, pagination: $, hoveredRowIndex: D, t: B, frozenColumnsLength: k, registerDatagridInDataGridTemplate: U, additionalContentSlotRef: z, isDataGridTemplate: M, stickyTabs: ne, tabsRef: d, stickyAdditionalContent: P, computedColumnsTabIndex: le, columnDefs: se, onColumnWidthOverride: L, gridRowWidthStyle: F, isMeasuringColumnWidths: G, isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: Y, localColumnsState: J, totalWidthOfAllColumns: ae, rowActionsMaxWidth: te, definedEmitsFunction: n, emit: Z, stickyFiltersHeight: pe, computedStickyFiltersTopPosition: yt, columnHeadersHeight: Pe, computedColumnHeadersTopPosition: Rt, sortedColumns: we, columnSets: Se, isOnlyOneVisibleColumn: bt, onConfigSettingsUpdate: At, onConfigSettingsColumnsUpdate: Ot, onConfigSettingsColumnUpdate: Nt, hoveredOverColumn: Tt, hoveredOverColumnState: It, draggingColumns: Dt, draggingEventsForColumns: xt, draggingEventsForRowCell: Mt, onMoveColumnByOffset: Ft, onAllRowSelect: Bt, onRowSelect: $t, onNestedRowSelect: Pt, selectedItems: ze, allItemsSelectedState: zt, navigationInput: Ut, isLazyLoad: Le, isInfiniteScroll: kt, verticalScrollPosition: Ue, emitLazyLoadEvent: Wt, updateScrollPosition: Gt, updateScrollPositionOnFrozenColumnsNavigation: Ht, syncVirtualScrollerWithBody: Vt, hasLeftOverflow: Ee, hasRightOverflow: ke, horizontalScrollbarConditionalStyles: Zt, onEmptyStateClearResetButtonClick: We, limitedEmptyStateProps: jt, conditionalGridClasses: qt, conditionalGridBodyClasses: Yt, computedColumnPanelAlignment: Xt, showFrozenColumnsSeparator: Kt, conditionalFilterClasses: Jt, conditionalPaginationClasses: Qt, registerColumnHeaderRefs: en, registerRowCellRefs: tn, onRowClick: nn, onCellHover: sn, selectableAcrossPagesComputed: on, ariaGridRole: ln, ariaGridHeaderText: an, itemsSelectedCounter: Ge, showActionBar: rn, onColumnResized: dn, onSort: cn, onPaginationNavigate: un, onItemsPerPageChange: fn, onSearchTermCleared: gn, onSearchTermInput: _n, hasMandatoryColumn: He, setTitle: Ve, BentoActionBar: En, BentoPagination: yn, BentoLoadingIndicator: Me, BentoTypography: me, BentoDataGridConfigSettings: _o, DataGridColumns: Xs, DataGridLazyLoad: wo, DataGridRow: Et, handleClipboard: el, BentoDatagridEvent: O, BentoFilterBar: Re, BentoEmptyState: An };
2735
+ const Ze = Ae(Nn, () => null);
2736
+ return Ze(e.tabTitle), ft(Lt, be(e, "slashedZero")), t({ onEmptyStateClearResetButtonClick: Ge }), { __sfc: !0, props: e, slots: o, hasSlot: l, body: a, columnsRef: g, columnHeaderRefs: v, gridcellRefs: f, filtersRef: L, filterBarRef: c, paginationContainerRef: A, verticalScrollPositionRef: m, virtualHorizontalScrollbarRef: d, allowColumnDragAndDrop: h, columns: S, columnPanel: i, data: _, lazyLoadType: C, loading: b, hasNestedContent: O, hasNestedRows: I, selectable: u, selection: R, selectableAcrossPages: F, stickyPagination: G, outline: Z, pagination: H, hoveredRowIndex: p, t: $, frozenColumnsLength: x, registerDatagridInDataGridTemplate: D, additionalContentSlotRef: z, isDataGridTemplate: M, stickyTabs: K, tabsRef: r, stickyAdditionalContent: P, computedColumnsTabIndex: oe, columnDefs: ne, onColumnWidthOverride: ie, gridRowWidthStyle: y, isMeasuringColumnWidths: B, isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: k, localColumnsState: Y, totalWidthOfAllColumns: Q, rowActionsMaxWidth: le, definedEmitsFunction: n, emit: U, stickyFiltersHeight: pe, computedStickyFiltersTopPosition: Rt, columnHeadersHeight: Pe, computedColumnHeadersTopPosition: bt, sortedColumns: we, columnSets: Se, isOnlyOneVisibleColumn: At, onConfigSettingsUpdate: Ot, onConfigSettingsColumnsUpdate: Nt, onConfigSettingsColumnUpdate: Tt, hoveredOverColumn: It, hoveredOverColumnState: Dt, draggingColumns: xt, draggingEventsForColumns: Ft, draggingEventsForRowCell: Mt, onMoveColumnByOffset: Bt, onAllRowSelect: $t, onRowSelect: zt, onNestedRowSelect: Pt, selectedItems: Ue, allItemsSelectedState: Ut, navigationInput: kt, isLazyLoad: Ee, isInfiniteScroll: Wt, verticalScrollPosition: ke, emitLazyLoadEvent: Gt, updateScrollPosition: Ht, updateScrollPositionOnFrozenColumnsNavigation: Vt, syncVirtualScrollerWithBody: Zt, hasLeftOverflow: Le, hasRightOverflow: We, horizontalScrollbarConditionalStyles: jt, onEmptyStateClearResetButtonClick: Ge, limitedEmptyStateProps: qt, conditionalGridClasses: Yt, conditionalGridBodyClasses: Xt, computedColumnPanelAlignment: Kt, showFrozenColumnsSeparator: Jt, conditionalFilterClasses: Qt, conditionalPaginationClasses: en, registerColumnHeaderRefs: tn, registerRowCellRefs: nn, onRowClick: sn, onCellHover: on, selectableAcrossPagesComputed: ln, ariaGridRole: an, ariaGridHeaderText: rn, itemsSelectedCounter: He, showActionBar: dn, onColumnResized: cn, onSort: un, onPaginationNavigate: fn, onItemsPerPageChange: gn, onSearchTermCleared: _n, onSearchTermInput: vn, hasMandatoryColumn: Ve, setTitle: Ze, BentoActionBar: yn, BentoPagination: Rn, BentoLoadingIndicator: Fe, BentoTypography: me, BentoDataGridConfigSettings: Co, DataGridColumns: Js, DataGridLazyLoad: Eo, DataGridRow: yt, handleClipboard: nl, BentoDatagridEvent: N, BentoFilterBar: Re, BentoEmptyState: On };
2712
2737
  }
2713
2738
  });
2714
- var sl = function() {
2739
+ var ll = function() {
2715
2740
  var o;
2716
2741
  var t = this, n = t._self._c, e = t._self._setupProxy;
2717
- return n("div", { staticClass: "b-data-grid", class: e.conditionalGridClasses, attrs: { "aria-rowcount": e.data.length, "aria-colcount": e.columns.length, "aria-label": e.ariaGridHeaderText, role: e.ariaGridRole }, on: { copy: e.handleClipboard } }, [t.filters ? n("div", { ref: "filtersRef", staticClass: "b-data-grid__filters", class: e.conditionalFilterClasses, style: { top: e.computedStickyFiltersTopPosition } }, [t.filters ? n(e.BentoFilterBar, { ref: "filterBarRef", attrs: { config: t.filters, "container-size-layout": t.filtersContainerSizeLayout, "filter-values": t.filterValues, search: t.filterSearchConfig, "search-term": t.filterSearchTerm }, on: { "search-input": e.onSearchTermInput, "search-clear": e.onSearchTermCleared, input: (l) => t.$emit(e.BentoDatagridEvent.UPDATE_FILTERS, l), "update:filter-values": (l) => t.$emit(e.BentoDatagridEvent.UPDATE_FILTER_VALUES, l) } }) : t._e()], 1) : t._e(), t.$slots.header ? n("div", { staticClass: "b-data-grid__header" }, [t._t("header")], 2) : t._e(), n("div", { staticClass: "b-data-grid__column-headers", style: { top: e.computedColumnHeadersTopPosition } }, [e.columnPanel ? n(e.BentoDataGridConfigSettings, { staticClass: "b-data-grid__config-settings", attrs: { columns: e.localColumnsState, condensed: t.condensed }, on: { "config-settings": e.onConfigSettingsUpdate, "update:columns": e.onConfigSettingsColumnsUpdate } }) : t._e(), n("div", { ref: "columnsRef", staticClass: "b-data-grid__columns-row", attrs: { role: "rowgroup", tabindex: e.computedColumnsTabIndex }, on: { scroll: e.updateScrollPosition, keydown: e.navigationInput } }, [n("div", { staticClass: "b-data-grid__columns", style: e.gridRowWidthStyle, attrs: { role: "row" } }, [t._l(e.columnSets, function({ columnSet: l, id: a, isFrozenColumns: _ }, v) {
2718
- return [l != null && l.length ? n(e.DataGridColumns, t._g({ key: `data-grid-columns-${a}`, ref: (u) => e.registerColumnHeaderRefs(u), refInFor: !0, attrs: { columns: l, "has-resizable-columns": t.hasResizableColumns, "sort-by": t.sortBy, "all-items-selected-state": e.allItemsSelectedState, "is-frozen-columns": _, "show-frozen-columns-separator": e.showFrozenColumnsSeparator, "dragging-columns": e.draggingColumns, "has-draggable-columns": e.allowColumnDragAndDrop, "has-column-panel": e.columnPanel, "has-left-overflow": e.hasLeftOverflow, "has-first-column-panel-right-aligned": v === e.computedColumnPanelAlignment, "hovered-over-column-state": e.hoveredOverColumnState, "is-measuring-column-widths": e.isMeasuringColumnWidths, "is-only-one-visible-column": e.isOnlyOneVisibleColumn, selectable: e.selectable, "selectable-across-pages": e.selectableAcrossPagesComputed, "truncate-column-headers": t.truncateColumnHeaders, "row-actions-maximum-width": e.rowActionsMaxWidth }, on: { "column-hover": function(u) {
2719
- e.hoveredOverColumn = u;
2720
- }, "column-move": e.onMoveColumnByOffset, "column-update": e.onConfigSettingsColumnUpdate, "column-resize": e.onColumnResized, "column-resizing": e.onColumnWidthOverride, "select-all-rows": e.onAllRowSelect, "select-all-across-pages": function(u) {
2742
+ return n("div", { staticClass: "b-data-grid", class: e.conditionalGridClasses, attrs: { "aria-rowcount": e.data.length, "aria-colcount": e.columns.length, "aria-label": e.ariaGridHeaderText, role: e.ariaGridRole }, on: { copy: e.handleClipboard } }, [t.filters ? n("div", { ref: "filtersRef", staticClass: "b-data-grid__filters", class: e.conditionalFilterClasses, style: { top: e.computedStickyFiltersTopPosition } }, [t.filters ? n(e.BentoFilterBar, { ref: "filterBarRef", attrs: { config: t.filters, "container-size-layout": t.filtersContainerSizeLayout, "filter-values": t.filterValues, search: t.filterSearchConfig, "search-term": t.filterSearchTerm }, on: { "search-input": e.onSearchTermInput, "search-clear": e.onSearchTermCleared, input: (l) => t.$emit(e.BentoDatagridEvent.UPDATE_FILTERS, l), "update:filter-values": (l) => t.$emit(e.BentoDatagridEvent.UPDATE_FILTER_VALUES, l) } }) : t._e()], 1) : t._e(), t.$slots.header ? n("div", { staticClass: "b-data-grid__header" }, [t._t("header")], 2) : t._e(), n("div", { staticClass: "b-data-grid__column-headers", style: { top: e.computedColumnHeadersTopPosition } }, [e.columnPanel ? n(e.BentoDataGridConfigSettings, { staticClass: "b-data-grid__config-settings", attrs: { columns: e.localColumnsState, condensed: t.condensed }, on: { "config-settings": e.onConfigSettingsUpdate, "update:columns": e.onConfigSettingsColumnsUpdate } }) : t._e(), n("div", { ref: "columnsRef", staticClass: "b-data-grid__columns-row", attrs: { role: "rowgroup", tabindex: e.computedColumnsTabIndex }, on: { scroll: e.updateScrollPosition, keydown: e.navigationInput } }, [n("div", { staticClass: "b-data-grid__columns", style: e.gridRowWidthStyle, attrs: { role: "row" } }, [t._l(e.columnSets, function({ columnSet: l, id: a, isFrozenColumns: g }, v) {
2743
+ return [l != null && l.length ? n(e.DataGridColumns, t._g({ key: `data-grid-columns-${a}`, ref: (f) => e.registerColumnHeaderRefs(f), refInFor: !0, attrs: { columns: l, "has-resizable-columns": t.hasResizableColumns, "sort-by": t.sortBy, "all-items-selected-state": e.allItemsSelectedState, "is-frozen-columns": g, "show-frozen-columns-separator": e.showFrozenColumnsSeparator, "dragging-columns": e.draggingColumns, "has-draggable-columns": e.allowColumnDragAndDrop, "has-column-panel": e.columnPanel, "has-left-overflow": e.hasLeftOverflow, "has-first-column-panel-right-aligned": v === e.computedColumnPanelAlignment, "hovered-over-column-state": e.hoveredOverColumnState, "is-measuring-column-widths": e.isMeasuringColumnWidths, "is-only-one-visible-column": e.isOnlyOneVisibleColumn, selectable: e.selectable, "selectable-across-pages": e.selectableAcrossPagesComputed, "truncate-column-headers": t.truncateColumnHeaders, "row-actions-maximum-width": e.rowActionsMaxWidth }, on: { "column-hover": function(f) {
2744
+ e.hoveredOverColumn = f;
2745
+ }, "column-move": e.onMoveColumnByOffset, "column-update": e.onConfigSettingsColumnUpdate, "column-resize": e.onColumnResized, "column-resizing": e.onColumnWidthOverride, "select-all-rows": e.onAllRowSelect, "select-all-across-pages": function(f) {
2721
2746
  return e.emit(e.BentoDatagridEvent.SELECT_ALL_ACROSS_PAGES);
2722
- }, sort: e.onSort }, scopedSlots: t._u([t._l(e.slots, function(u, E) {
2723
- return { key: E, fn: function(c) {
2724
- return [t._t(E, null, null, c)];
2747
+ }, sort: e.onSort }, scopedSlots: t._u([t._l(e.slots, function(f, L) {
2748
+ return { key: L, fn: function(c) {
2749
+ return [t._t(L, null, null, c)];
2725
2750
  } };
2726
2751
  })], null, !0) }, e.draggingEventsForColumns)) : t._e()];
2727
2752
  })], 2)])], 1), n("div", { ref: "body", staticClass: "b-data-grid__body", class: e.conditionalGridBodyClasses, 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(e.BentoLoadingIndicator, { staticClass: "b-data-grid__loading-indicator", attrs: { large: "" } }), n(e.BentoTypography, { attrs: { el: "span", variant: "caption" } }, [t._v(t._s(e.t("gettingYourData")))])], 1) : ((o = e.data) == null ? void 0 : o.length) === 0 && t.emptyState ? n("div", { staticClass: "b-data-grid__empty-state" }, [n(e.BentoEmptyState, t._b({}, "bento-empty-state", e.limitedEmptyStateProps, !1))], 1) : n("div", { staticClass: "b-data-grid__rows", attrs: { role: "rowgroup" }, on: { keydown: e.navigationInput } }, t._l(e.data, function(l, a) {
2728
- var _, v;
2729
- return n(e.DataGridRow, { key: a, ref: (u) => e.registerRowCellRefs(u, a), refInFor: !0, style: e.gridRowWidthStyle, attrs: { "allow-row-clicks": t.allowRowClicks, "column-sets": e.columnSets, condensed: t.condensed, "dragging-columns": e.draggingColumns, "dragging-events-for-row-cell": e.draggingEventsForRowCell, "get-data-item-id": t.getDataItemId, "has-nested-content": e.hasNestedContent, "has-nested-rows": e.hasNestedRows, "has-left-overflow": e.hasLeftOverflow, "has-right-overflow": e.hasRightOverflow, "highlighted-rows": t.highlightedRows, "hovered-row-index": e.hoveredRowIndex, "hovered-over-column-state": e.hoveredOverColumnState, "is-data-item-disabled": t.isDataItemDisabled, "is-row-last-child": a + 1 === ((_ = e.data) == null ? void 0 : _.length), "is-measuring-column-widths": e.isMeasuringColumnWidths, "row-actions-maximum-width": e.rowActionsMaxWidth, "row-actions": t.rowActions, "row-data": l, "row-index": a, "row-set-size": (v = e.data) == null ? void 0 : v.length, "show-frozen-columns-separator": e.showFrozenColumnsSeparator, "should-show-nested-content": t.shouldShowNestedContent, "should-show-nested-rows": t.shouldShowNestedRows, selectable: e.selectable, "selected-items": e.selectedItems }, on: { "cell-hovered": e.onCellHover, "nested-content-toggled": function(u) {
2730
- return e.emit(e.BentoDatagridEvent.NESTED_CONTENT_TOGGLED, u);
2731
- }, "row-click": e.onRowClick, "on-frozen-columns-key-press": e.updateScrollPositionOnFrozenColumnsNavigation, "select-row": e.onRowSelect, "select-nested-row": e.onNestedRowSelect }, scopedSlots: t._u([t._l(e.slots, function(u, E) {
2732
- return { key: E, fn: function(c) {
2733
- return [t._t(E, null, null, c)];
2753
+ var g, v;
2754
+ return n(e.DataGridRow, { key: a, ref: (f) => e.registerRowCellRefs(f, a), refInFor: !0, style: e.gridRowWidthStyle, attrs: { "allow-row-clicks": t.allowRowClicks, "column-sets": e.columnSets, condensed: t.condensed, "dragging-columns": e.draggingColumns, "dragging-events-for-row-cell": e.draggingEventsForRowCell, "get-data-item-id": t.getDataItemId, "has-nested-content": e.hasNestedContent, "has-nested-rows": e.hasNestedRows, "has-left-overflow": e.hasLeftOverflow, "has-right-overflow": e.hasRightOverflow, "highlighted-rows": t.highlightedRows, "hovered-row-index": e.hoveredRowIndex, "hovered-over-column-state": e.hoveredOverColumnState, "is-data-item-disabled": t.isDataItemDisabled, "is-row-last-child": a + 1 === ((g = e.data) == null ? void 0 : g.length), "is-measuring-column-widths": e.isMeasuringColumnWidths, "row-actions-maximum-width": e.rowActionsMaxWidth, "row-actions": t.rowActions, "row-data": l, "row-index": a, "row-set-size": (v = e.data) == null ? void 0 : v.length, "show-frozen-columns-separator": e.showFrozenColumnsSeparator, "should-show-nested-content": t.shouldShowNestedContent, "should-show-nested-rows": t.shouldShowNestedRows, selectable: e.selectable, "selected-items": e.selectedItems }, on: { "cell-hovered": e.onCellHover, "nested-content-toggled": function(f) {
2755
+ return e.emit(e.BentoDatagridEvent.NESTED_CONTENT_TOGGLED, f);
2756
+ }, "row-click": e.onRowClick, "on-frozen-columns-key-press": e.updateScrollPositionOnFrozenColumnsNavigation, "select-row": e.onRowSelect, "select-nested-row": e.onNestedRowSelect }, scopedSlots: t._u([t._l(e.slots, function(f, L) {
2757
+ return { key: L, fn: function(c) {
2758
+ return [t._t(L, null, null, c)];
2734
2759
  } };
2735
2760
  })], null, !0) });
2736
2761
  }), 1)]), e.isLazyLoad ? n(e.DataGridLazyLoad, { attrs: { loading: e.loading, "is-infinite-scroll": e.isInfiniteScroll }, on: { "update:show-more": e.emitLazyLoadEvent } }) : t._e(), t.stickyHorizontalScrollbar ? n("div", { ref: "virtualHorizontalScrollbarRef", staticClass: "b-data-grid__horizontal-scrollbar", style: e.horizontalScrollbarConditionalStyles, attrs: { "aria-hidden": "true", "data-testid": "sticky-horizontal-scrollbar" }, on: { scroll: e.syncVirtualScrollerWithBody } }, [n("div", { style: { width: `${e.totalWidthOfAllColumns}px`, height: "15px" } })]) : t._e(), e.pagination && !e.isLazyLoad ? n("div", { ref: "paginationContainerRef", staticClass: "b-data-grid__pagination", class: e.conditionalPaginationClasses, attrs: { "data-testid": "pagination-container" } }, [n(e.BentoPagination, t._b({ attrs: { "aria-label": `${e.ariaGridHeaderText} navigation` }, on: { navigate: e.onPaginationNavigate, "items-page": e.onItemsPerPageChange } }, "bento-pagination", e.pagination, !1), [e.hasSlot("pagination-slot") ? t._t("pagination-slot") : t._e()], 2)], 1) : t._e(), t.$slots.footer ? n("div", { staticClass: "b-data-grid__footer" }, [t._t("footer")], 2) : t._e(), e.showActionBar ? n(e.BentoActionBar, { attrs: { actions: t.bulkActions, "item-counter": e.itemsSelectedCounter, "extra-bottom-spacing": e.stickyPagination }, on: { close: function(l) {
2737
2762
  return e.onAllRowSelect(!1);
2738
2763
  } } }) : t._e()], 1);
2739
- }, ol = [], ll = /* @__PURE__ */ q(
2740
- nl,
2741
- sl,
2764
+ }, al = [], il = /* @__PURE__ */ q(
2742
2765
  ol,
2766
+ ll,
2767
+ al,
2743
2768
  !1,
2744
2769
  null,
2745
2770
  "eea84d8f"
2746
2771
  );
2747
- const Xl = ll.exports;
2772
+ const Ql = il.exports;
2748
2773
  export {
2749
2774
  Ne as B,
2750
- Yl as a,
2775
+ Jl as a,
2751
2776
  ce as b,
2752
2777
  fe as c,
2753
- Xl as d,
2754
- O as e,
2778
+ Ql as d,
2779
+ N as e,
2755
2780
  he as f
2756
2781
  };
2757
- //# sourceMappingURL=data-grid.Dl3xh62_.js.map
2782
+ //# sourceMappingURL=data-grid.vFEU_kt8.js.map