@adyen/bento-vue3 1.47.0 → 1.48.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 (249) hide show
  1. package/dist/@types/components.d.ts +4 -0
  2. package/dist/@types/index.d.ts +347 -111
  3. package/dist/accordion.js +1 -1
  4. package/dist/action-bar.js +1 -1
  5. package/dist/alert.js +1 -1
  6. package/dist/assets/accordion-item.css +1 -1
  7. package/dist/assets/action-bar.css +1 -1
  8. package/dist/assets/base-modal.css +1 -1
  9. package/dist/assets/card.css +1 -1
  10. package/dist/assets/chip.css +1 -0
  11. package/dist/assets/data-grid.css +1 -1
  12. package/dist/assets/date-range-picker.css +1 -1
  13. package/dist/assets/dialog-page.css +1 -1
  14. package/dist/assets/file-uploader.css +1 -1
  15. package/dist/assets/input-field-password.css +1 -1
  16. package/dist/assets/input-field-phone-number.css +1 -0
  17. package/dist/assets/input-field.css +1 -1
  18. package/dist/assets/inspector.css +1 -1
  19. package/dist/assets/link.css +1 -1
  20. package/dist/assets/menu.css +1 -1
  21. package/dist/assets/modal-fullscreen.css +1 -1
  22. package/dist/assets/popover.css +1 -1
  23. package/dist/assets/segmented-control.css +1 -1
  24. package/dist/assets/sidepanel.css +1 -1
  25. package/dist/assets/summary-grid-item-custom.css +1 -1
  26. package/dist/button.js +1 -1
  27. package/dist/card.js +1 -1
  28. package/dist/checkbox.js +2 -2
  29. package/dist/chip.js +5 -0
  30. package/dist/chip.js.map +1 -0
  31. package/dist/chunks/{accordion-item.LeB4jteX.js → accordion-item.Cf184uiI.js} +2 -2
  32. package/dist/chunks/{accordion-item.LeB4jteX.js.map → accordion-item.Cf184uiI.js.map} +1 -1
  33. package/dist/chunks/{action-bar.BN-AoRn0.js → action-bar.DWekSxPr.js} +5 -5
  34. package/dist/chunks/{action-bar.BN-AoRn0.js.map → action-bar.DWekSxPr.js.map} +1 -1
  35. package/dist/chunks/{alert.DTX7XqPC.js → alert.Dd2DYCZ1.js} +2 -2
  36. package/dist/chunks/{alert.DTX7XqPC.js.map → alert.Dd2DYCZ1.js.map} +1 -1
  37. package/dist/chunks/{base-modal.BsD3EOCY.js → base-modal.DOrcARK1.js} +4 -4
  38. package/dist/chunks/{base-modal.BsD3EOCY.js.map → base-modal.DOrcARK1.js.map} +1 -1
  39. package/dist/chunks/{button-actions-with-menu.CUL1q1Ca.js → button-actions-with-menu.BRdRrr4J.js} +4 -4
  40. package/dist/chunks/{button-actions-with-menu.CUL1q1Ca.js.map → button-actions-with-menu.BRdRrr4J.js.map} +1 -1
  41. package/dist/chunks/{button-actions.DBgK5Qwo.js → button-actions.ncthaz2m.js} +2 -2
  42. package/dist/chunks/{button-actions.DBgK5Qwo.js.map → button-actions.ncthaz2m.js.map} +1 -1
  43. package/dist/chunks/{calendar.CKY08nCx.js → calendar.BdLQOioy.js} +4 -4
  44. package/dist/chunks/{calendar.CKY08nCx.js.map → calendar.BdLQOioy.js.map} +1 -1
  45. package/dist/chunks/{card.BUBXMpP5.js → card.BAg7yMMT.js} +3 -3
  46. package/dist/chunks/{card.BUBXMpP5.js.map → card.BAg7yMMT.js.map} +1 -1
  47. package/dist/chunks/{checkbox-group.DOAFzAX-.js → checkbox-group.C-EmVp5t.js} +4 -4
  48. package/dist/chunks/{checkbox-group.DOAFzAX-.js.map → checkbox-group.C-EmVp5t.js.map} +1 -1
  49. package/dist/chunks/{checkbox.J51-tG4g.js → checkbox.BOtqaTUl.js} +18 -18
  50. package/dist/chunks/{checkbox.J51-tG4g.js.map → checkbox.BOtqaTUl.js.map} +1 -1
  51. package/dist/chunks/chip.sG_6gh3Z.js +71 -0
  52. package/dist/chunks/chip.sG_6gh3Z.js.map +1 -0
  53. package/dist/chunks/{code-snippet.CUzz3c-V.js → code-snippet.C9fCiM5V.js} +6 -6
  54. package/dist/chunks/{code-snippet.CUzz3c-V.js.map → code-snippet.C9fCiM5V.js.map} +1 -1
  55. package/dist/chunks/{codemirror.0fz2cWJS.js → codemirror.Zv80n3Z2.js} +13 -14
  56. package/dist/chunks/{codemirror.0fz2cWJS.js.map → codemirror.Zv80n3Z2.js.map} +1 -1
  57. package/dist/chunks/{controls-group.CjqybvY2.js → controls-group.BeK9igGT.js} +2 -2
  58. package/dist/chunks/{controls-group.CjqybvY2.js.map → controls-group.BeK9igGT.js.map} +1 -1
  59. package/dist/chunks/{copy.VRsofU-g.js → copy.HpUjy6OL.js} +2 -2
  60. package/dist/chunks/{copy.VRsofU-g.js.map → copy.HpUjy6OL.js.map} +1 -1
  61. package/dist/chunks/{country.D2t_VEYd.js → country.D0WFfaql.js} +14 -13
  62. package/dist/chunks/{country.D2t_VEYd.js.map → country.D0WFfaql.js.map} +1 -1
  63. package/dist/chunks/country.types.C0Q_hhgJ.js +269 -0
  64. package/dist/chunks/country.types.C0Q_hhgJ.js.map +1 -0
  65. package/dist/chunks/{currency.DGX-aejv.js → currency.DagWnTry.js} +2 -2
  66. package/dist/chunks/{currency.DGX-aejv.js.map → currency.DagWnTry.js.map} +1 -1
  67. package/dist/chunks/{dashboard-section.BAJgkMXW.js → dashboard-section.DoGuJKz_.js} +3 -3
  68. package/dist/chunks/{dashboard-section.BAJgkMXW.js.map → dashboard-section.DoGuJKz_.js.map} +1 -1
  69. package/dist/chunks/{dashed-underline.B_eVv1aB.js → dashed-underline.DZuyR-N7.js} +2 -2
  70. package/dist/chunks/{dashed-underline.B_eVv1aB.js.map → dashed-underline.DZuyR-N7.js.map} +1 -1
  71. package/dist/chunks/{data-grid-template.DrwGj6Yq.js → data-grid-template.BpJbblNT.js} +3 -3
  72. package/dist/chunks/{data-grid-template.DrwGj6Yq.js.map → data-grid-template.BpJbblNT.js.map} +1 -1
  73. package/dist/chunks/{data-grid.V4b5UdXZ.js → data-grid.CdTcZ3DP.js} +846 -841
  74. package/dist/chunks/data-grid.CdTcZ3DP.js.map +1 -0
  75. package/dist/chunks/{date-picker.DjuQyWzZ.js → date-picker.CjbhJWGH.js} +19 -19
  76. package/dist/chunks/{date-picker.DjuQyWzZ.js.map → date-picker.CjbhJWGH.js.map} +1 -1
  77. package/dist/chunks/date-range-picker.CoonfpYT.js +1086 -0
  78. package/dist/chunks/date-range-picker.CoonfpYT.js.map +1 -0
  79. package/dist/chunks/{date.DeaBl297.js → date.Cvfyq77s.js} +70 -2
  80. package/dist/chunks/{date.DeaBl297.js.map → date.Cvfyq77s.js.map} +1 -1
  81. package/dist/chunks/{dialog-page.CJBSluwk.js → dialog-page.D_r_CbyD.js} +2 -2
  82. package/dist/chunks/{dialog-page.CJBSluwk.js.map → dialog-page.D_r_CbyD.js.map} +1 -1
  83. package/dist/chunks/{dropdown-default-textbox.Dl8Jv2bS.js → dropdown-default-textbox.BpvVMlcX.js} +2 -2
  84. package/dist/chunks/{dropdown-default-textbox.Dl8Jv2bS.js.map → dropdown-default-textbox.BpvVMlcX.js.map} +1 -1
  85. package/dist/chunks/{dropdown-tag.D8hXRrMj.js → dropdown-tag.B5QFkTl_.js} +6 -6
  86. package/dist/chunks/{dropdown-tag.D8hXRrMj.js.map → dropdown-tag.B5QFkTl_.js.map} +1 -1
  87. package/dist/chunks/{dropdown.BWu3fV-K.js → dropdown.BN6DALZa.js} +29 -29
  88. package/dist/chunks/{dropdown.BWu3fV-K.js.map → dropdown.BN6DALZa.js.map} +1 -1
  89. package/dist/chunks/{error-message.qsc0nOWT.js → error-message.X-gxnQcx.js} +2 -2
  90. package/dist/chunks/{error-message.qsc0nOWT.js.map → error-message.X-gxnQcx.js.map} +1 -1
  91. package/dist/chunks/es6.BtaxuP0b.js.map +1 -1
  92. package/dist/chunks/{file-uploader.BNGBBltW.js → file-uploader.CLZ1rPz0.js} +4 -4
  93. package/dist/chunks/{file-uploader.BNGBBltW.js.map → file-uploader.CLZ1rPz0.js.map} +1 -1
  94. package/dist/chunks/{filter-bar.Db-KfD-S.js → filter-bar.zvHeHs9B.js} +277 -279
  95. package/dist/chunks/filter-bar.zvHeHs9B.js.map +1 -0
  96. package/dist/chunks/{fixed-scroller.XaGPUsUO.js → fixed-scroller.BZwgM5Io.js} +2 -2
  97. package/dist/chunks/{fixed-scroller.XaGPUsUO.js.map → fixed-scroller.BZwgM5Io.js.map} +1 -1
  98. package/dist/chunks/{footer-actions.BG8-pOU-.js → footer-actions.X_RokrtM.js} +2 -2
  99. package/dist/chunks/{footer-actions.BG8-pOU-.js.map → footer-actions.X_RokrtM.js.map} +1 -1
  100. package/dist/chunks/{form-layout-title._25l9_Xm.js → form-layout-title.xkALokzl.js} +2 -2
  101. package/dist/chunks/{form-layout-title._25l9_Xm.js.map → form-layout-title.xkALokzl.js.map} +1 -1
  102. package/dist/chunks/get-slot-text.DQlZEsId.js +12 -0
  103. package/dist/chunks/get-slot-text.DQlZEsId.js.map +1 -0
  104. package/dist/chunks/{header.vPx_0dwO.js → header.CUhyy9NL.js} +5 -5
  105. package/dist/chunks/{header.vPx_0dwO.js.map → header.CUhyy9NL.js.map} +1 -1
  106. package/dist/chunks/{i18n.WMYWtwxB.js → i18n.D9azDLPe.js} +14 -1
  107. package/dist/chunks/{i18n.WMYWtwxB.js.map → i18n.D9azDLPe.js.map} +1 -1
  108. package/dist/chunks/{info-icon-with-popover.CieLDo3g.js → info-icon-with-popover.NzQciGvf.js} +3 -3
  109. package/dist/chunks/{info-icon-with-popover.CieLDo3g.js.map → info-icon-with-popover.NzQciGvf.js.map} +1 -1
  110. package/dist/chunks/{input-field-password.CS7rxMCK.js → input-field-password.B4HgGilX.js} +4 -4
  111. package/dist/chunks/{input-field-password.CS7rxMCK.js.map → input-field-password.B4HgGilX.js.map} +1 -1
  112. package/dist/chunks/input-field-phone-number.CpY2BLfO.js +3107 -0
  113. package/dist/chunks/input-field-phone-number.CpY2BLfO.js.map +1 -0
  114. package/dist/chunks/{input-field.Cx4fMIb7.js → input-field.DQKiMtZo.js} +30 -25
  115. package/dist/chunks/input-field.DQKiMtZo.js.map +1 -0
  116. package/dist/chunks/{inspector.types.DQQN1eqF.js → inspector.types.C-Qos3dV.js} +2 -2
  117. package/dist/chunks/{inspector.types.DQQN1eqF.js.map → inspector.types.C-Qos3dV.js.map} +1 -1
  118. package/dist/chunks/{keyboard-navigation.C3QMVRKY.js → keyboard-navigation.CqgGzfZQ.js} +2 -1
  119. package/dist/chunks/{keyboard-navigation.C3QMVRKY.js.map → keyboard-navigation.CqgGzfZQ.js.map} +1 -1
  120. package/dist/chunks/{listbox-option-tag.zYn_kSFz.js → listbox-option-tag.CFNRfAtf.js} +2 -2
  121. package/dist/chunks/{listbox-option-tag.zYn_kSFz.js.map → listbox-option-tag.CFNRfAtf.js.map} +1 -1
  122. package/dist/chunks/{menu.CihQsfY6.js → menu.DIKy_Pyt.js} +3 -3
  123. package/dist/chunks/{menu.CihQsfY6.js.map → menu.DIKy_Pyt.js.map} +1 -1
  124. package/dist/chunks/{modal-fullscreen.D39_mhdY.js → modal-fullscreen.Fqcd3B6-.js} +4 -4
  125. package/dist/chunks/{modal-fullscreen.D39_mhdY.js.map → modal-fullscreen.Fqcd3B6-.js.map} +1 -1
  126. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.BHd_MGgH.js → modal.vue_vue_type_script_setup_true_lang.PEGJemgc.js} +5 -5
  127. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.BHd_MGgH.js.map → modal.vue_vue_type_script_setup_true_lang.PEGJemgc.js.map} +1 -1
  128. package/dist/chunks/{pagination.CbzgV2xT.js → pagination.DogGVwa2.js} +3 -3
  129. package/dist/chunks/{pagination.CbzgV2xT.js.map → pagination.DogGVwa2.js.map} +1 -1
  130. package/dist/chunks/{payment-method.2IeC7f4x.js → payment-method.NguqkTwG.js} +2 -2
  131. package/dist/chunks/{payment-method.2IeC7f4x.js.map → payment-method.NguqkTwG.js.map} +1 -1
  132. package/dist/chunks/{popover.Bzb-pzfB.js → popover.NEP6wuPa.js} +2 -2
  133. package/dist/chunks/{popover.Bzb-pzfB.js.map → popover.NEP6wuPa.js.map} +1 -1
  134. package/dist/chunks/{promo-banner.BjLfDhBq.js → promo-banner.DTH4CZ_2.js} +2 -2
  135. package/dist/chunks/{promo-banner.BjLfDhBq.js.map → promo-banner.DTH4CZ_2.js.map} +1 -1
  136. package/dist/chunks/{radio-group.DkfCMh_u.js → radio-group.BLHcC22p.js} +5 -5
  137. package/dist/chunks/{radio-group.DkfCMh_u.js.map → radio-group.BLHcC22p.js.map} +1 -1
  138. package/dist/chunks/{search-bar.BTu1j3Ll.js → search-bar.CatznIEM.js} +4 -4
  139. package/dist/chunks/{search-bar.BTu1j3Ll.js.map → search-bar.CatznIEM.js.map} +1 -1
  140. package/dist/chunks/{secondary-nav.Bqvz5hjH.js → secondary-nav.LIzkbQY1.js} +3 -3
  141. package/dist/chunks/{secondary-nav.Bqvz5hjH.js.map → secondary-nav.LIzkbQY1.js.map} +1 -1
  142. package/dist/chunks/{segmented-control.BIwBQ8i3.js → segmented-control.DOxyrdMz.js} +33 -32
  143. package/dist/chunks/segmented-control.DOxyrdMz.js.map +1 -0
  144. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -1
  145. package/dist/chunks/{selection-card-group.BHYvAL-T.js → selection-card-group.BKatprYB.js} +11 -11
  146. package/dist/chunks/{selection-card-group.BHYvAL-T.js.map → selection-card-group.BKatprYB.js.map} +1 -1
  147. package/dist/chunks/{sidepanel.Bk35AAFF.js → sidepanel.Be3uyOVd.js} +4 -4
  148. package/dist/chunks/{sidepanel.Bk35AAFF.js.map → sidepanel.Be3uyOVd.js.map} +1 -1
  149. package/dist/chunks/status.types.Bdv2zuuh.js +44 -0
  150. package/dist/chunks/{status.types.DsYAH3RM.js.map → status.types.Bdv2zuuh.js.map} +1 -1
  151. package/dist/chunks/{step.DAB8h_4u.js → step.DsfmsUU6.js} +3 -3
  152. package/dist/chunks/{step.DAB8h_4u.js.map → step.DsfmsUU6.js.map} +1 -1
  153. package/dist/chunks/{structured-list-item.wpnBS69h.js → structured-list-item.BwgEJywb.js} +3 -3
  154. package/dist/chunks/{structured-list-item.wpnBS69h.js.map → structured-list-item.BwgEJywb.js.map} +1 -1
  155. package/dist/chunks/{summary-grid-item-custom.C8AD1NAh.js → summary-grid-item-custom.Vx_YxH7S.js} +97 -92
  156. package/dist/chunks/summary-grid-item-custom.Vx_YxH7S.js.map +1 -0
  157. package/dist/chunks/summary-grid.keys.CxTf_FOc.js +6 -0
  158. package/dist/chunks/summary-grid.keys.CxTf_FOc.js.map +1 -0
  159. package/dist/chunks/{tabs.B5-PZCxc.js → tabs.CR2tWuz3.js} +2 -2
  160. package/dist/chunks/{tabs.B5-PZCxc.js.map → tabs.CR2tWuz3.js.map} +1 -1
  161. package/dist/chunks/{tag.BuUbvgok.js → tag.Chr4TP7d.js} +2 -2
  162. package/dist/chunks/{tag.BuUbvgok.js.map → tag.Chr4TP7d.js.map} +1 -1
  163. package/dist/chunks/{textarea.C0k8by9A.js → textarea.BLhKC_iw.js} +3 -3
  164. package/dist/chunks/{textarea.C0k8by9A.js.map → textarea.BLhKC_iw.js.map} +1 -1
  165. package/dist/chunks/{timeline-item.CYw68jQr.js → timeline-item.BVm2YscV.js} +7 -7
  166. package/dist/chunks/{timeline-item.CYw68jQr.js.map → timeline-item.BVm2YscV.js.map} +1 -1
  167. package/dist/chunks/{toast.CVy2sf_5.js → toast.A5f1_NqV.js} +2 -2
  168. package/dist/chunks/{toast.CVy2sf_5.js.map → toast.A5f1_NqV.js.map} +1 -1
  169. package/dist/chunks/{toggle.Dl82VpiQ.js → toggle.BmwlaQon.js} +2 -2
  170. package/dist/chunks/{toggle.Dl82VpiQ.js.map → toggle.BmwlaQon.js.map} +1 -1
  171. package/dist/chunks/truncate.BfIl_-71.js +8 -0
  172. package/dist/chunks/truncate.BfIl_-71.js.map +1 -0
  173. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CjlNffBI.js → tutorial.vue_vue_type_script_setup_true_lang.D4ifiOTn.js} +5 -5
  174. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CjlNffBI.js.map → tutorial.vue_vue_type_script_setup_true_lang.D4ifiOTn.js.map} +1 -1
  175. package/dist/chunks/{use-cached-selected-values.YAg3m-Af.js → use-cached-selected-values.CoelUIEy.js} +5 -5
  176. package/dist/chunks/{use-cached-selected-values.YAg3m-Af.js.map → use-cached-selected-values.CoelUIEy.js.map} +1 -1
  177. package/dist/chunks/use-country-items.BMhCqIWd.js +30 -0
  178. package/dist/chunks/{use-country-items.DJn6gU4P.js.map → use-country-items.BMhCqIWd.js.map} +1 -1
  179. package/dist/chunks/{country.types.CLjbulKL.js → use-country-phon-code.DVgE19zT.js} +497 -761
  180. package/dist/chunks/use-country-phon-code.DVgE19zT.js.map +1 -0
  181. package/dist/code-snippet.js +1 -1
  182. package/dist/country.js +7 -6
  183. package/dist/country.js.map +1 -1
  184. package/dist/currency.js +1 -1
  185. package/dist/dashboard-template.js +1 -1
  186. package/dist/dashed-underline.js +1 -1
  187. package/dist/data-grid-template.js +1 -1
  188. package/dist/data-grid.js +1 -1
  189. package/dist/date-picker.js +2 -2
  190. package/dist/date-range-picker.js +2 -2
  191. package/dist/date.js +1 -1
  192. package/dist/dropdown.js +4 -4
  193. package/dist/file-uploader.js +1 -1
  194. package/dist/filter-bar.js +1 -1
  195. package/dist/form-layout.js +1 -1
  196. package/dist/header.js +1 -1
  197. package/dist/index.js +196 -191
  198. package/dist/index.js.map +1 -1
  199. package/dist/input-field-password.js +1 -1
  200. package/dist/input-field-phone-number.js +5 -0
  201. package/dist/input-field-phone-number.js.map +1 -0
  202. package/dist/input-field.js +1 -1
  203. package/dist/inspector.js +1 -1
  204. package/dist/internal.js +11 -11
  205. package/dist/menu.js +1 -1
  206. package/dist/modal-fullscreen.js +1 -1
  207. package/dist/modal.js +2 -2
  208. package/dist/pagination.js +1 -1
  209. package/dist/payment-method.js +1 -1
  210. package/dist/popover.js +1 -1
  211. package/dist/promo-banner.js +1 -1
  212. package/dist/radio-group.js +1 -1
  213. package/dist/search-bar.js +2 -2
  214. package/dist/secondary-nav.js +1 -1
  215. package/dist/segmented-control.js +1 -1
  216. package/dist/selection-card.js +1 -1
  217. package/dist/sidepanel.js +1 -1
  218. package/dist/status.js +1 -1
  219. package/dist/stepper.js +1 -1
  220. package/dist/structured-list.js +1 -1
  221. package/dist/styles/bento-dark.css +15 -1
  222. package/dist/styles/bento-light.css +15 -1
  223. package/dist/styles/bento.css +15 -1
  224. package/dist/styles/legacy.css +14 -0
  225. package/dist/styles/styleguide.css +15 -1
  226. package/dist/summary-grid.js +1 -1
  227. package/dist/tabs.js +1 -1
  228. package/dist/tag.js +1 -1
  229. package/dist/textarea.js +1 -1
  230. package/dist/timeline.js +1 -1
  231. package/dist/toast.js +1 -1
  232. package/dist/toggle.js +1 -1
  233. package/dist/tutorial.js +1 -1
  234. package/dist/web-types.json +1 -1
  235. package/package.json +4 -3
  236. package/dist/chunks/country.types.CLjbulKL.js.map +0 -1
  237. package/dist/chunks/data-grid.V4b5UdXZ.js.map +0 -1
  238. package/dist/chunks/date-range-picker.CmxXWnBc.js +0 -1042
  239. package/dist/chunks/date-range-picker.CmxXWnBc.js.map +0 -1
  240. package/dist/chunks/filter-bar.Db-KfD-S.js.map +0 -1
  241. package/dist/chunks/get-slot-text.D5WBGjic.js +0 -9
  242. package/dist/chunks/get-slot-text.D5WBGjic.js.map +0 -1
  243. package/dist/chunks/input-field.Cx4fMIb7.js.map +0 -1
  244. package/dist/chunks/segmented-control.BIwBQ8i3.js.map +0 -1
  245. package/dist/chunks/status.types.DsYAH3RM.js +0 -45
  246. package/dist/chunks/summary-grid-item-custom.C8AD1NAh.js.map +0 -1
  247. package/dist/chunks/summary-grid.keys.BBbFrFGF.js +0 -5
  248. package/dist/chunks/summary-grid.keys.BBbFrFGF.js.map +0 -1
  249. package/dist/chunks/use-country-items.DJn6gU4P.js +0 -29
@@ -1,74 +1,74 @@
1
- import { ref as A, reactive as Je, toRefs as Qe, computed as E, watchEffect as Un, watch as me, onMounted as et, nextTick as ge, onUnmounted as Ft, onBeforeUpdate as Fn, createElementBlock as y, openBlock as c, mergeProps as Q, createCommentVNode as U, createElementVNode as O, toDisplayString as q, defineComponent as Ee, normalizeClass as ce, Fragment as ve, renderList as Ce, unref as o, toHandlers as xe, createVNode as X, createBlock as P, withCtx as H, renderSlot as Se, withModifiers as Pn, resolveComponent as he, withDirectives as tt, createTextVNode as ue, vShow as Bn, toRef as Pt, resolveDirective as Wn, Transition as Bt, createSlots as Ae, resolveDynamicComponent as Me, useSlots as nt, provide as Gn, inject as ht, normalizeStyle as ke, normalizeProps as Hn, guardReactiveProps as Vn } from "vue";
2
- import { C as xn } from "./checkmark-circle-fill.g_tcBhFJ.js";
3
- import { W as Zn } from "./warning-filled.tTkVob0l.js";
4
- import { _ as se } from "./_plugin-vue_export-helper.CHgC5LLL.js";
5
- import { C as Wt } from "./cross.BZYw4R3N.js";
6
- import { N as Ct } from "./checkbox-input.CAYgiRHG.js";
7
- import { l as _t } from "./events.FNmSWp_P.js";
8
- import { K as ye, B as jn } from "./tooltip.2MOlGHD9.js";
9
- import { c as qn } from "./popper-container.types.BCZMbVFD.js";
10
- import { B as Yn } from "./action-bar.BN-AoRn0.js";
11
- import { B as Xn } from "./pagination.CbzgV2xT.js";
12
- import { B as lt } from "./loading-indicator.DEepb9Wl.js";
13
- import { B as Ze, p as Gt } from "./typography.DN5eC5ch.js";
14
- import { u as st } from "./use-has-slot.B7eQSabc.js";
15
- import { u as Kn } from "./aria-label.CaUURpnB.js";
16
- import { g as Jn } from "./get-slot-text.D5WBGjic.js";
17
- import { u as Ne } from "./i18n.WMYWtwxB.js";
18
- import { B as Qn } from "./empty-state.C2ancCe6.js";
19
- import { B as He } from "./filter-bar.Db-KfD-S.js";
20
- import { E as el } from "./tabs.keys.Bc2pSKRw.js";
21
- import { D as tl } from "./data-grid-template.keys.2_AkxuNT.js";
22
- import { o as ot } from "./resize.Bqks3WUm.js";
23
- import { a as wt, B as nl } from "./popover.Bzb-pzfB.js";
24
- import { B as Ht } from "./button.Cneb6rPP.js";
25
- import { B as Vt } from "./toggle.Dl82VpiQ.js";
26
- import { B as ll } from "./search-bar.BTu1j3Ll.js";
27
- import { u as sl } from "./dropdown.BWu3fV-K.js";
28
- import { B as ol } from "./directive.O3yEdalv.js";
29
- import { g as Ye } from "./generate-uid.NJ8tVoha.js";
30
- import { S as il } from "./search.KgjmJMHa.js";
31
- import { B as it } from "./toggle-button.CCgvi7TQ.js";
32
- import { B as xt } from "./checkbox.J51-tG4g.js";
33
- import { B as al } from "./info-icon.BCSBCH-5.js";
34
- import { B as Xe, O as rl, D as dl } from "./menu.CihQsfY6.js";
35
- import { A as ul } from "./dialog-page.CJBSluwk.js";
36
- import { H as cl, S as fl } from "./show.J9zXGWlK.js";
37
- import { u as gl } from "./use-expandable-content-height.GkjjbmPy.js";
38
- import { C as vl } from "./copy.VRsofU-g.js";
39
- import { C as ml, a as hl } from "./chevron-up.Cu9qXgBY.js";
40
- import { d as Lt, e as St } from "./button-actions.DBgK5Qwo.js";
1
+ import { ref as T, reactive as et, toRefs as tt, computed as E, watchEffect as Pn, watch as me, onMounted as nt, nextTick as ge, onUnmounted as Pt, onBeforeUpdate as Bn, createElementBlock as y, openBlock as c, mergeProps as ee, createCommentVNode as U, createElementVNode as O, toDisplayString as Y, defineComponent as Ee, normalizeClass as ce, Fragment as ve, renderList as Ce, unref as o, toHandlers as xe, createVNode as X, createBlock as P, withCtx as H, renderSlot as Le, withModifiers as Wn, resolveComponent as he, withDirectives as lt, createTextVNode as ue, vShow as Gn, toRef as Ye, resolveDirective as Hn, Transition as Bt, createSlots as Te, resolveDynamicComponent as Me, useSlots as st, provide as Wt, inject as Xe, normalizeStyle as ke, normalizeProps as Vn, guardReactiveProps as xn } from "vue";
2
+ import { C as Zn } from "./checkmark-circle-fill.g_tcBhFJ.js";
3
+ import { W as jn } from "./warning-filled.tTkVob0l.js";
4
+ import { _ as oe } from "./_plugin-vue_export-helper.CHgC5LLL.js";
5
+ import { C as Gt } from "./cross.BZYw4R3N.js";
6
+ import { N as _t } from "./checkbox-input.CAYgiRHG.js";
7
+ import { l as wt } from "./events.FNmSWp_P.js";
8
+ import { K as ye, B as qn } from "./tooltip.2MOlGHD9.js";
9
+ import { c as Yn } from "./popper-container.types.BCZMbVFD.js";
10
+ import { B as Xn } from "./action-bar.DWekSxPr.js";
11
+ import { B as Kn } from "./pagination.DogGVwa2.js";
12
+ import { B as ot } from "./loading-indicator.DEepb9Wl.js";
13
+ import { B as Ze, p as Ht } from "./typography.DN5eC5ch.js";
14
+ import { u as it } from "./use-has-slot.B7eQSabc.js";
15
+ import { u as Jn } from "./aria-label.CaUURpnB.js";
16
+ import { g as Qn } from "./get-slot-text.DQlZEsId.js";
17
+ import { u as Ne } from "./i18n.D9azDLPe.js";
18
+ import { B as el } from "./empty-state.C2ancCe6.js";
19
+ import { B as He } from "./filter-bar.zvHeHs9B.js";
20
+ import { E as tl } from "./tabs.keys.Bc2pSKRw.js";
21
+ import { D as nl } from "./data-grid-template.keys.2_AkxuNT.js";
22
+ import { o as at } from "./resize.Bqks3WUm.js";
23
+ import { a as St, B as ll } from "./popover.NEP6wuPa.js";
24
+ import { B as Vt } from "./button.Cneb6rPP.js";
25
+ import { B as xt } from "./toggle.BmwlaQon.js";
26
+ import { B as sl } from "./search-bar.CatznIEM.js";
27
+ import { u as ol } from "./dropdown.BN6DALZa.js";
28
+ import { B as il } from "./directive.O3yEdalv.js";
29
+ import { g as Ke } from "./generate-uid.NJ8tVoha.js";
30
+ import { S as al } from "./search.KgjmJMHa.js";
31
+ import { B as rt } from "./toggle-button.CCgvi7TQ.js";
32
+ import { B as Zt } from "./checkbox.BOtqaTUl.js";
33
+ import { B as rl } from "./info-icon.BCSBCH-5.js";
34
+ import { B as Je, O as dl, D as ul } from "./menu.DIKy_Pyt.js";
35
+ import { A as cl } from "./dialog-page.D_r_CbyD.js";
36
+ import { H as fl, S as gl } from "./show.J9zXGWlK.js";
37
+ import { u as vl } from "./use-expandable-content-height.GkjjbmPy.js";
38
+ import { C as ml } from "./copy.HpUjy6OL.js";
39
+ import { C as hl, a as Cl } from "./chevron-up.Cu9qXgBY.js";
40
+ import { d as Lt, e as Et } from "./button-actions.ncthaz2m.js";
41
41
  import "../assets/data-grid.css";
42
- var Ke = /* @__PURE__ */ ((e) => (e.WRAP = "wrap", e.ELLIPSIS = "ellipsis", e))(Ke || {}), pe = /* @__PURE__ */ ((e) => (e.OUTLINE = "outline", e.SCROLL = "scroll", e.STICKY_FILTERS = "sticky-filters", e.OVERFLOW_SHADOW_LEFT = "overflow-shadow-left", e.OVERFLOW_SHADOW_RIGHT = "overflow-shadow-right", e.NO_SPACING_TOP = "no-spacing-top", e))(pe || {}), Oe = /* @__PURE__ */ ((e) => (e.ASCENDING = "asc", e.DESCENDING = "desc", e))(Oe || {}), k = /* @__PURE__ */ ((e) => (e.COLUMNS = "columns", e.COLUMN_RESIZE = "column-resize", e.ITEMS_PAGE = "items-page", e.NAVIGATE = "navigate", e.NESTED_CONTENT_TOGGLED = "nested-content-toggled", e.FILTER_SEARCH_INPUT = "filter-search-input", e.FILTER_SEARCH_CLEAR = "filter-search-clear", e.UPDATE_COLUMNS = "update:columns", e.UPDATE_CONDENSED = "update:condensed", e.UPDATE_FILTERS = "update:filters", e.UPDATE_FILTER_VALUES = "update:filter-values", e.UPDATE_FILTER_SEARCH_TERM = "update:filter-search-term", e.UPDATE_PAGINATION = "update:pagination", e.UPDATE_SELECTION = "update:selection", e.UPDATE_SHOW_MORE = "update:show-more", e.UPDATE_SORT_BY = "update:sort-by", e.ROW_CLICK = "row-click", e.SELECT = "select", e.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", e.SORT = "sort", e))(k || {}), Ve = /* @__PURE__ */ ((e) => (e.ASCENDING = "ascending", e.DESCENDING = "descending", e.NONE = "none", e))(Ve || {}), ee = /* @__PURE__ */ ((e) => (e.COLUMN_RESIZE = "column-resize", e.COLUMN_RESIZING = "column-resizing", e.SELECT_ALL_ROWS = "select-all-rows", e.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", e.COLUMN_MOVE = "column-move", e.COLUMN_UPDATE = "column-update", e.COLUMN_MENU_OPEN = "column-menu-open", e.COLUMN_MENU_CLOSE = "column-menu-close", e.COLUMN_HOVER = "column-hover", e.COLUMN_DRAG_START = "column-dragstart", e.COLUMN_DRAG_ENTER = "column-dragenter", e.COLUMN_DRAG_END = "column-dragend", e.COLUMN_DROP = "column-drop", e))(ee || {});
43
- const Cl = (e, a) => {
44
- const g = A(null), n = A(!1), d = A(void 0), t = e.value.reduce((_, h) => (_[h.field] = null, _), {}), s = Je(t), w = Qe(s);
45
- let C = 0, L = "";
42
+ var Qe = /* @__PURE__ */ ((e) => (e.WRAP = "wrap", e.ELLIPSIS = "ellipsis", e))(Qe || {}), pe = /* @__PURE__ */ ((e) => (e.OUTLINE = "outline", e.SCROLL = "scroll", e.STICKY_FILTERS = "sticky-filters", e.OVERFLOW_SHADOW_LEFT = "overflow-shadow-left", e.OVERFLOW_SHADOW_RIGHT = "overflow-shadow-right", e.NO_SPACING_TOP = "no-spacing-top", e))(pe || {}), Oe = /* @__PURE__ */ ((e) => (e.ASCENDING = "asc", e.DESCENDING = "desc", e))(Oe || {}), k = /* @__PURE__ */ ((e) => (e.COLUMNS = "columns", e.COLUMN_RESIZE = "column-resize", e.ITEMS_PAGE = "items-page", e.NAVIGATE = "navigate", e.NESTED_CONTENT_TOGGLED = "nested-content-toggled", e.FILTER_SEARCH_INPUT = "filter-search-input", e.FILTER_SEARCH_CLEAR = "filter-search-clear", e.UPDATE_COLUMNS = "update:columns", e.UPDATE_CONDENSED = "update:condensed", e.UPDATE_FILTERS = "update:filters", e.UPDATE_FILTER_VALUES = "update:filter-values", e.UPDATE_FILTER_SEARCH_TERM = "update:filter-search-term", e.UPDATE_PAGINATION = "update:pagination", e.UPDATE_SELECTION = "update:selection", e.UPDATE_SHOW_MORE = "update:show-more", e.UPDATE_SORT_BY = "update:sort-by", e.ROW_CLICK = "row-click", e.SELECT = "select", e.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", e.SORT = "sort", e))(k || {}), Ve = /* @__PURE__ */ ((e) => (e.ASCENDING = "ascending", e.DESCENDING = "descending", e.NONE = "none", e))(Ve || {}), te = /* @__PURE__ */ ((e) => (e.COLUMN_RESIZE = "column-resize", e.COLUMN_RESIZING = "column-resizing", e.SELECT_ALL_ROWS = "select-all-rows", e.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", e.COLUMN_MOVE = "column-move", e.COLUMN_UPDATE = "column-update", e.COLUMN_MENU_OPEN = "column-menu-open", e.COLUMN_MENU_CLOSE = "column-menu-close", e.COLUMN_HOVER = "column-hover", e.COLUMN_DRAG_START = "column-dragstart", e.COLUMN_DRAG_ENTER = "column-dragenter", e.COLUMN_DRAG_END = "column-dragend", e.COLUMN_DROP = "column-drop", e))(te || {});
43
+ const _l = (e, a) => {
44
+ const g = T(null), n = T(!1), d = T(void 0), t = e.value.reduce((_, m) => (_[m.field] = null, _), {}), s = et(t), w = tt(s);
45
+ let C = 0, S = "";
46
46
  const N = E(
47
- () => Object.fromEntries(e.value.map(({ field: _, width: h, minWidth: $ }) => [_, { width: h, minWidth: $ }]))
47
+ () => Object.fromEntries(e.value.map(({ field: _, width: m, minWidth: $ }) => [_, { width: m, minWidth: $ }]))
48
48
  );
49
- Un(() => d.value = N.value);
49
+ Pn(() => d.value = N.value);
50
50
  let f = null, b = null;
51
51
  const l = (_) => {
52
- const h = _.clientX - C, $ = L, R = d.value[$].width + h;
53
- d.value[$].width = R > N.value[$].minWidth ? R : N.value[$].minWidth, a(ee.COLUMN_RESIZING, d.value), C = _.clientX;
52
+ const m = _.clientX - C, $ = S, R = d.value[$].width + m;
53
+ d.value[$].width = R > N.value[$].minWidth ? R : N.value[$].minWidth, a(te.COLUMN_RESIZING, d.value), C = _.clientX;
54
54
  }, u = () => {
55
- n.value = !1, f == null || f(), b == null || b(), L && a(ee.COLUMN_RESIZE, {
56
- field: L,
57
- width: d.value[L].width
58
- }), f = null, b = null, L = "", C = null;
59
- }, i = (_, h, $) => {
55
+ n.value = !1, f == null || f(), b == null || b(), S && a(te.COLUMN_RESIZE, {
56
+ field: S,
57
+ width: d.value[S].width
58
+ }), f = null, b = null, S = "", C = null;
59
+ }, i = (_, m, $) => {
60
60
  if ($.preventDefault(), _) {
61
61
  if (n.value = !0, $.buttons !== 1) {
62
62
  u();
63
63
  return;
64
64
  }
65
- L = h, C = $.clientX, f = _t(window, "mousemove", l), b = _t(window, "mouseup", u);
65
+ S = m, C = $.clientX, f = wt(window, "mousemove", l), b = wt(window, "mouseup", u);
66
66
  }
67
67
  };
68
68
  return me(
69
69
  () => n.value,
70
- (_, h) => {
71
- !_ && h && (a(ee.COLUMN_HOVER, g.value), g.value = null);
70
+ (_, m) => {
71
+ !_ && m && (a(te.COLUMN_HOVER, g.value), g.value = null);
72
72
  }
73
73
  ), {
74
74
  resizeData: d,
@@ -77,7 +77,7 @@ const Cl = (e, a) => {
77
77
  isResizing: n,
78
78
  columnHoverEventToEmitAfterResizing: g
79
79
  };
80
- }, _l = 100, Et = 50, fe = "b-actions-column", wl = 32, Ll = 56, Sl = 56, El = 80, yl = 36, bl = 1, Zt = 16, pl = 20, Ol = (e, a, g) => {
80
+ }, wl = 100, yt = 50, fe = "b-actions-column", Sl = 32, Ll = 56, El = 56, yl = 80, bl = 36, pl = 1, jt = 16, Ol = 20, Rl = (e, a, g) => {
81
81
  const n = {}, d = [], t = (w) => {
82
82
  const C = n[w];
83
83
  C && C.frozen !== !0 && (n[w].frozen = !0, d.push(w));
@@ -86,15 +86,15 @@ const Cl = (e, a) => {
86
86
  if (d.length === g.length)
87
87
  return;
88
88
  const w = { min: {} };
89
- let C = e, L = a, N = 0;
89
+ let C = e, S = a, N = 0;
90
90
  d.forEach((f) => {
91
- C -= n[f].computedWidth, L -= n[f].flex;
91
+ C -= n[f].computedWidth, S -= n[f].flex;
92
92
  });
93
93
  for (let f = 0, b = g.length; f < b; f += 1) {
94
94
  const l = g[f];
95
95
  if (n[l.field] && n[l.field].frozen === !0)
96
96
  continue;
97
- let i = C / L * l.flex;
97
+ let i = C / S * l.flex;
98
98
  i < l.minWidth && (N += l.minWidth - i, i = l.minWidth, w.min[l.field] = !0), n[l.field] = {
99
99
  frozen: !1,
100
100
  computedWidth: i,
@@ -108,41 +108,41 @@ const Cl = (e, a) => {
108
108
  }), s();
109
109
  }
110
110
  return s(), n;
111
- }, yt = (e, a) => {
112
- let g = bl;
113
- return a && (g += Zt * 2), e != null && e.offsetWidth ? e.offsetWidth + g : 0;
114
- }, Rl = (e) => {
111
+ }, bt = (e, a) => {
112
+ let g = pl;
113
+ return a && (g += jt * 2), e != null && e.offsetWidth ? e.offsetWidth + g : 0;
114
+ }, Nl = (e) => {
115
115
  var a, g, n, d, t;
116
- return (a = e == null ? void 0 : e.hasNestedContent) != null && a.value || (g = e == null ? void 0 : e.hasNestedRows) != null && g.value ? (n = e == null ? void 0 : e.hasSelectableColumn) != null && n.value ? (d = e == null ? void 0 : e.hasSelectableAcrossPages) != null && d.value ? El : Sl : yl : (t = e == null ? void 0 : e.hasSelectableAcrossPages) != null && t.value ? Ll : wl;
117
- }, Nl = (e, a, g, n, d, t) => {
118
- const s = A(e.value), w = A(a), C = A(g), L = A(n), N = A(d), f = A(!1);
116
+ return (a = e == null ? void 0 : e.hasNestedContent) != null && a.value || (g = e == null ? void 0 : e.hasNestedRows) != null && g.value ? (n = e == null ? void 0 : e.hasSelectableColumn) != null && n.value ? (d = e == null ? void 0 : e.hasSelectableAcrossPages) != null && d.value ? yl : El : bl : (t = e == null ? void 0 : e.hasSelectableAcrossPages) != null && t.value ? Ll : Sl;
117
+ }, Al = (e, a, g, n, d, t) => {
118
+ const s = T(e.value), w = T(a), C = T(g), S = T(n), N = T(d), f = T(!1);
119
119
  me(
120
120
  () => e.value,
121
- (S, p) => {
122
- var x, te;
123
- const G = (S == null ? void 0 : S.map(({ field: v }) => v).toString()) === (p == null ? void 0 : p.map(({ field: v }) => v).toString());
124
- if (!((x = t == null ? void 0 : t.allowColumnDragAndDrop) != null && x.value) || !G) {
121
+ (L, p) => {
122
+ var x, ne;
123
+ const W = (L == null ? void 0 : L.map(({ field: J }) => J).toString()) === (p == null ? void 0 : p.map(({ field: J }) => J).toString());
124
+ if (!((x = t == null ? void 0 : t.allowColumnDragAndDrop) != null && x.value) || !W) {
125
125
  s.value = e.value;
126
126
  return;
127
127
  }
128
- s.value = ((te = s.value) == null ? void 0 : te.length) === 0 ? e.value : e.value.sort((v, V) => {
129
- const F = s.value.findIndex((oe) => oe.field === v.field), W = s.value.findIndex((oe) => oe.field === V.field);
130
- return F === -1 ? 1 : W === -1 ? -1 : F - W;
128
+ s.value = ((ne = s.value) == null ? void 0 : ne.length) === 0 ? e.value : e.value.sort((J, h) => {
129
+ const V = s.value.findIndex((G) => G.field === J.field), F = s.value.findIndex((G) => G.field === h.field);
130
+ return V === -1 ? 1 : F === -1 ? -1 : V - F;
131
131
  });
132
132
  }
133
133
  );
134
- const b = A();
134
+ const b = T();
135
135
  let l = null;
136
136
  const u = E(() => {
137
- var F, W, oe;
138
- const S = [];
139
- let p = 0, G = 0;
137
+ var V, F, G;
138
+ const L = [];
139
+ let p = 0, W = 0;
140
140
  const x = {};
141
- let te = s.value.filter((Z) => Z.visible !== !1);
142
- const v = s.value.filter((Z) => Z.visible === !1);
143
- if ((F = t == null ? void 0 : t.hasSelectableColumn) != null && F.value || (W = t == null ? void 0 : t.hasNestedContent) != null && W.value || (oe = t == null ? void 0 : t.hasNestedRows) != null && oe.value) {
144
- const Z = Rl(t);
145
- te = [
141
+ let ne = s.value.filter((Z) => Z.visible !== !1);
142
+ const J = s.value.filter((Z) => Z.visible === !1);
143
+ if ((V = t == null ? void 0 : t.hasSelectableColumn) != null && V.value || (F = t == null ? void 0 : t.hasNestedContent) != null && F.value || (G = t == null ? void 0 : t.hasNestedRows) != null && G.value) {
144
+ const Z = Nl(t);
145
+ ne = [
146
146
  {
147
147
  field: fe,
148
148
  label: "",
@@ -151,92 +151,92 @@ const Cl = (e, a) => {
151
151
  frozen: !0,
152
152
  padding: { left: !1, right: !1 }
153
153
  },
154
- ...te
154
+ ...ne
155
155
  ];
156
156
  }
157
- te.forEach((Z) => {
158
- const m = { ...Z };
157
+ ne.forEach((Z) => {
158
+ const v = { ...Z };
159
159
  let D;
160
- m.flex && m.flex > 0 ? (p += m.flex, D = 0, S.push(m)) : D = Math.max(
161
- (m == null ? void 0 : m.width) ?? _l,
162
- (m == null ? void 0 : m.minWidth) ?? Et
163
- ), G += D, m.width = D, m.minWidth = (m == null ? void 0 : m.minWidth) ?? Et, x[m.field] = m;
160
+ v.flex && v.flex > 0 ? (p += v.flex, D = 0, L.push(v)) : D = Math.max(
161
+ (v == null ? void 0 : v.width) ?? wl,
162
+ (v == null ? void 0 : v.minWidth) ?? yt
163
+ ), W += D, v.width = D, v.minWidth = (v == null ? void 0 : v.minWidth) ?? yt, x[v.field] = v;
164
164
  });
165
- const V = Math.max(b.value - G, 0);
165
+ const h = Math.max(b.value - W, 0);
166
166
  if (p > 0 && b.value > 0) {
167
- const Z = Ol(V, p, S);
168
- Object.keys(Z).forEach((m) => {
169
- x[m].width = Z[m].computedWidth;
167
+ const Z = Rl(h, p, L);
168
+ Object.keys(Z).forEach((v) => {
169
+ x[v].width = Z[v].computedWidth;
170
170
  });
171
171
  }
172
- return v.forEach((Z) => {
173
- const m = { ...Z };
174
- x[m.field] = m;
172
+ return J.forEach((Z) => {
173
+ const v = { ...Z };
174
+ x[v.field] = v;
175
175
  }), Object.values(x);
176
- }), i = A(void 0), _ = (S) => {
177
- i.value = { ...i.value, ...S };
178
- }, h = async () => {
179
- s.value.some((S) => S == null ? void 0 : S.autoWidth) && (f.value = !0, await ge(), await ge(), s == null || s.value.filter((S) => S == null ? void 0 : S.autoWidth).forEach(({ field: S, minWidth: p }) => {
180
- var v, V, F, W;
181
- const G = yt(
182
- (v = L.value) == null ? void 0 : v[S],
183
- (V = t == null ? void 0 : t.hasColumnPanel) == null ? void 0 : V.value
184
- ), x = (W = (F = N.value) == null ? void 0 : F[S]) == null ? void 0 : W.reduce(
185
- (oe, Z) => Math.max(oe, yt(Z)),
176
+ }), i = T(void 0), _ = (L) => {
177
+ i.value = { ...i.value, ...L };
178
+ }, m = async () => {
179
+ s.value.some((L) => L == null ? void 0 : L.autoWidth) && (f.value = !0, await ge(), await ge(), s == null || s.value.filter((L) => L == null ? void 0 : L.autoWidth).forEach(({ field: L, minWidth: p }) => {
180
+ var J, h, V, F;
181
+ const W = bt(
182
+ (J = S.value) == null ? void 0 : J[L],
183
+ (h = t == null ? void 0 : t.hasColumnPanel) == null ? void 0 : h.value
184
+ ), x = (F = (V = N.value) == null ? void 0 : V[L]) == null ? void 0 : F.reduce(
185
+ (G, Z) => Math.max(G, bt(Z)),
186
186
  0
187
- ), te = Math.max(G, x ?? 0);
188
- (p === void 0 || te > p) && _({
189
- [S]: {
190
- width: te
187
+ ), ne = Math.max(W, x ?? 0);
188
+ (p === void 0 || ne > p) && _({
189
+ [L]: {
190
+ width: ne
191
191
  }
192
192
  });
193
193
  }), f.value = !1);
194
194
  };
195
195
  me([() => s.value, () => w.value], async () => {
196
- s.value.some((S) => S == null ? void 0 : S.autoWidth) && await h();
196
+ s.value.some((L) => L == null ? void 0 : L.autoWidth) && await m();
197
197
  });
198
198
  const $ = E(
199
- () => u.value.map((S) => {
200
- var p, G;
199
+ () => u.value.map((L) => {
200
+ var p, W;
201
201
  return {
202
- ...S,
202
+ ...L,
203
203
  // Override column width with resized ones
204
- width: ((G = (p = i.value) == null ? void 0 : p[S.field]) == null ? void 0 : G.width) ?? S.width
204
+ width: ((W = (p = i.value) == null ? void 0 : p[L.field]) == null ? void 0 : W.width) ?? L.width
205
205
  };
206
206
  })
207
207
  ), R = E(
208
208
  () => {
209
- var S;
210
- return (S = $.value) == null ? void 0 : S.filter(({ visible: p }) => p !== !1).reduce((p, G) => G.width + p, 0);
209
+ var L;
210
+ return (L = $.value) == null ? void 0 : L.filter(({ visible: p }) => p !== !1).reduce((p, W) => W.width + p, 0);
211
211
  }
212
212
  ), B = E(
213
213
  () => b.value <= R.value
214
214
  ), K = E(() => ({
215
215
  width: b.value > R.value ? "100%" : "fit-content"
216
216
  }));
217
- return et(() => {
217
+ return nt(() => {
218
218
  var p;
219
- const S = t != null && t.isDataGridTemplate ? pl : 0;
219
+ const L = t != null && t.isDataGridTemplate ? Ol : 0;
220
220
  ge(() => {
221
- C.value && (b.value = C.value.getBoundingClientRect().width - S);
222
- const G = me(
221
+ C.value && (b.value = C.value.getBoundingClientRect().width - L);
222
+ const W = me(
223
223
  C,
224
224
  () => {
225
- C.value && (ge(() => G()), l = ot(C.value, ({ width: x }) => {
226
- b.value = x - S;
225
+ C.value && (ge(() => W()), l = at(C.value, ({ width: x }) => {
226
+ b.value = x - L;
227
227
  }));
228
228
  },
229
229
  { immediate: !0 }
230
230
  );
231
231
  }), (p = document == null ? void 0 : document.fonts) != null && p.ready ? document.fonts.ready.then(() => {
232
- h();
233
- }) : h();
234
- }), Ft(() => {
232
+ m();
233
+ }) : m();
234
+ }), Pt(() => {
235
235
  l == null || l.disconnect();
236
- }), Fn(() => {
237
- var S;
238
- N.value && ((S = Object.keys(N.value)) == null ? void 0 : S.length) > 0 && Object.keys(N.value).forEach((G) => {
239
- N.value[G] = [];
236
+ }), Bn(() => {
237
+ var L;
238
+ N.value && ((L = Object.keys(N.value)) == null ? void 0 : L.length) > 0 && Object.keys(N.value).forEach((W) => {
239
+ N.value[W] = [];
240
240
  });
241
241
  }), {
242
242
  columnDefs: $,
@@ -248,7 +248,7 @@ const Cl = (e, a) => {
248
248
  totalWidthOfAllColumns: R
249
249
  };
250
250
  }, Tl = (e, a, g, n, d) => {
251
- const t = A(e.value ?? []), s = Je({
251
+ const t = T(e.value ?? []), s = et({
252
252
  allItemsSelected: !1,
253
253
  isIndeterminate: !1
254
254
  }), w = E(
@@ -258,27 +258,27 @@ const Cl = (e, a) => {
258
258
  }).flat()
259
259
  ), C = () => {
260
260
  a(k.SELECT, t.value), a(k.UPDATE_SELECTION, t.value);
261
- }, L = (u) => {
262
- var _, h, $, R, B;
263
- if (t.value = u, ((_ = g.value) == null ? void 0 : _.length) > 0 && ((h = w.value) == null ? void 0 : h.filter((K) => !d(K)).every((K) => t.value.includes(n(K))))) {
261
+ }, S = (u) => {
262
+ var _, m, $, R, B;
263
+ if (t.value = u, ((_ = g.value) == null ? void 0 : _.length) > 0 && ((m = w.value) == null ? void 0 : m.filter((K) => !d(K)).every((K) => t.value.includes(n(K))))) {
264
264
  s.allItemsSelected = !0;
265
- const K = (($ = g.value) == null ? void 0 : $.length) > 0 && g.value.every((S) => t.value.includes(n(S)));
265
+ const K = (($ = g.value) == null ? void 0 : $.length) > 0 && g.value.every((L) => t.value.includes(n(L)));
266
266
  s.isIndeterminate = !K;
267
267
  } else
268
268
  s.allItemsSelected = !1, s.isIndeterminate = ((R = t.value) == null ? void 0 : R.length) > 0 && ((B = g.value) == null ? void 0 : B.length) > 0 && g.value.some(
269
269
  (K) => {
270
- var S;
271
- return t.value.includes(n(K)) || ((S = K == null ? void 0 : K.children) == null ? void 0 : S.some((p) => t.value.includes(n(p))));
270
+ var L;
271
+ return t.value.includes(n(K)) || ((L = K == null ? void 0 : K.children) == null ? void 0 : L.some((p) => t.value.includes(n(p))));
272
272
  }
273
273
  );
274
274
  }, N = (u) => {
275
275
  ge(() => {
276
- var i, _, h;
276
+ var i, _, m;
277
277
  if (s.allItemsSelected = u, u) {
278
278
  t.value = (_ = (i = w.value) == null ? void 0 : i.filter(
279
279
  (R) => !d(R) && ((R == null ? void 0 : R.children) === void 0 || R.children.every((B) => !d(B)))
280
280
  )) == null ? void 0 : _.map((R) => n(R));
281
- const $ = ((h = g.value) == null ? void 0 : h.length) > 0 && g.value.every((R) => t.value.includes(n(R)));
281
+ const $ = ((m = g.value) == null ? void 0 : m.length) > 0 && g.value.every((R) => t.value.includes(n(R)));
282
282
  s.isIndeterminate = t.value.length > 0 && !$;
283
283
  } else
284
284
  t.value = [], s.isIndeterminate = !1;
@@ -287,33 +287,33 @@ const Cl = (e, a) => {
287
287
  }, f = (u, i) => {
288
288
  ge(() => {
289
289
  var _;
290
- L(((_ = i == null ? void 0 : i.children) == null ? void 0 : _.length) > 0 ? b(u, i) : u), C();
290
+ S(((_ = i == null ? void 0 : i.children) == null ? void 0 : _.length) > 0 ? b(u, i) : u), C();
291
291
  });
292
292
  }, b = (u, i) => {
293
293
  var $;
294
- const _ = n(i), h = ($ = i.children) == null ? void 0 : $.filter((R) => !d(R)).map((R) => n(R));
294
+ const _ = n(i), m = ($ = i.children) == null ? void 0 : $.filter((R) => !d(R)).map((R) => n(R));
295
295
  if (u.includes(_)) {
296
296
  const R = u;
297
- return h.forEach((B) => {
297
+ return m.forEach((B) => {
298
298
  R.includes(B) || R.push(B);
299
299
  }), R;
300
300
  }
301
- return u.filter((R) => !h.includes(R));
301
+ return u.filter((R) => !m.includes(R));
302
302
  }, l = (u, i, _) => {
303
303
  ge(() => {
304
304
  var $, R;
305
- const h = n(i);
306
- u.includes(n(_)) ? L(
307
- !u.includes(h) && (($ = i == null ? void 0 : i.children) != null && $.every((B) => u.includes(n(B)))) ? [...u, h] : u
308
- ) : L(
309
- u.includes(h) && !((R = i == null ? void 0 : i.children) != null && R.every((B) => u.includes(n(B)))) ? u.filter((B) => B !== h) : u
305
+ const m = n(i);
306
+ u.includes(n(_)) ? S(
307
+ !u.includes(m) && (($ = i == null ? void 0 : i.children) != null && $.every((B) => u.includes(n(B)))) ? [...u, m] : u
308
+ ) : S(
309
+ u.includes(m) && !((R = i == null ? void 0 : i.children) != null && R.every((B) => u.includes(n(B)))) ? u.filter((B) => B !== m) : u
310
310
  ), C();
311
311
  });
312
312
  };
313
313
  return me(
314
314
  () => e.value,
315
315
  () => {
316
- L(e.value ?? []);
316
+ S(e.value ?? []);
317
317
  },
318
318
  { immediate: !0 }
319
319
  ), me(
@@ -322,27 +322,27 @@ const Cl = (e, a) => {
322
322
  const u = g.value.filter((i) => t.value.includes(n(i))).flatMap(
323
323
  (i) => {
324
324
  var _;
325
- return ((_ = i == null ? void 0 : i.children) == null ? void 0 : _.length) > 0 ? i.children.map((h) => n(h)).filter((h) => !t.value.includes(h)) : [];
325
+ return ((_ = i == null ? void 0 : i.children) == null ? void 0 : _.length) > 0 ? i.children.map((m) => n(m)).filter((m) => !t.value.includes(m)) : [];
326
326
  }
327
327
  );
328
- L([...t.value, ...u]), C();
328
+ S([...t.value, ...u]), C();
329
329
  }
330
330
  ), { onAllRowSelect: N, onRowSelect: f, onNestedRowSelect: l, allItemsSelectedState: s, selectedItems: t };
331
- }, Al = (e, a, g) => ({ isSorting: (s) => e.value.some((w) => w.field === s), getSortingDirection: (s) => {
331
+ }, Il = (e, a, g) => ({ isSorting: (s) => e.value.some((w) => w.field === s), getSortingDirection: (s) => {
332
332
  var w;
333
333
  return (w = e.value.find((C) => C.field === s)) == null ? void 0 : w.direction;
334
334
  }, sortByColumnField: (s) => {
335
- var L;
335
+ var S;
336
336
  if (!a.value.some((N) => N.field === s && N.sortable))
337
337
  return;
338
338
  const C = [{
339
339
  field: s,
340
- direction: ((L = e.value.find((N) => N.field === s)) == null ? void 0 : L.direction) === Oe.ASCENDING ? Oe.DESCENDING : Oe.ASCENDING
340
+ direction: ((S = e.value.find((N) => N.field === s)) == null ? void 0 : S.direction) === Oe.ASCENDING ? Oe.DESCENDING : Oe.ASCENDING
341
341
  }];
342
342
  g("sort", C);
343
343
  } });
344
344
  var de = ((e) => (e[e.ARROW_DOWN = ye.ARROW_DOWN] = "ARROW_DOWN", e[e.ARROW_UP = ye.ARROW_UP] = "ARROW_UP", e[e.ARROW_LEFT = ye.ARROW_LEFT] = "ARROW_LEFT", e[e.ARROW_RIGHT = ye.ARROW_RIGHT] = "ARROW_RIGHT", e[e.PAGE_UP = ye.PAGE_UP] = "PAGE_UP", e[e.PAGE_DOWN = ye.PAGE_DOWN] = "PAGE_DOWN", e[e.END = ye.END] = "END", e[e.HOME = ye.HOME] = "HOME", e))(de || {});
345
- const Il = (e, a, g) => {
345
+ const $l = (e, a, g) => {
346
346
  const n = E(() => {
347
347
  const l = a.value.filter(({ visible: u }) => u !== !1);
348
348
  return g.value ? l.length + 1 : l.length;
@@ -352,11 +352,11 @@ const Il = (e, a, g) => {
352
352
  return i > _ ? 1 : _ > i ? -1 : 0;
353
353
  })
354
354
  ), t = (l) => Math.floor(l / n.value), s = (l, u, i) => {
355
- const _ = d.value.length - 1, h = n.value - 1, $ = t(l), R = l - n.value * $;
355
+ const _ = d.value.length - 1, m = n.value - 1, $ = t(l), R = l - n.value * $;
356
356
  return {
357
357
  [de.PAGE_UP]: R,
358
- [de.PAGE_DOWN]: _ - h + R,
359
- [de.END]: i ? _ : n.value * $ + h,
358
+ [de.PAGE_DOWN]: _ - m + R,
359
+ [de.END]: i ? _ : n.value * $ + m,
360
360
  [de.HOME]: i ? 0 : n.value * $
361
361
  }[u];
362
362
  }, w = (l, u) => {
@@ -365,20 +365,20 @@ const Il = (e, a, g) => {
365
365
  [de.ARROW_UP]: -n.value,
366
366
  [de.ARROW_LEFT]: -1,
367
367
  [de.ARROW_RIGHT]: 1
368
- }[u], h = l + _;
369
- return h < 0 || h >= d.value.length ? l : h;
368
+ }[u], m = l + _;
369
+ return m < 0 || m >= d.value.length ? l : m;
370
370
  }, C = (l) => [
371
371
  de.PAGE_UP,
372
372
  de.PAGE_DOWN,
373
373
  de.END,
374
374
  de.HOME
375
- ].includes(l), L = (l, u, i) => {
375
+ ].includes(l), S = (l, u, i) => {
376
376
  const _ = d.value.indexOf(l);
377
377
  return C(u) ? s(_, u, i) : w(_, u);
378
378
  }, N = (l, u, i) => {
379
379
  if (!d.value.includes(l))
380
380
  return;
381
- const _ = L(l, u, i);
381
+ const _ = S(l, u, i);
382
382
  d.value[_].focus();
383
383
  }, f = (l) => l in de;
384
384
  return {
@@ -389,18 +389,18 @@ const Il = (e, a, g) => {
389
389
  Object.values(e.value).flat(1).includes(_) && f(i) && N(_, i, u);
390
390
  }
391
391
  };
392
- }, $l = 90, Dl = (e, a, g, n, d) => {
393
- const t = A(e), s = A(a), w = A(g), C = A(n), L = E(() => t.value !== "none"), N = E(() => t.value === "automatic"), f = () => {
392
+ }, Dl = 90, kl = (e, a, g, n, d) => {
393
+ const t = T(e), s = T(a), w = T(g), C = T(n), S = E(() => t.value !== "none"), N = E(() => t.value === "automatic"), f = () => {
394
394
  d(k.UPDATE_SHOW_MORE);
395
395
  };
396
396
  return me(
397
397
  () => s.value,
398
398
  () => {
399
- N.value && w.value.offsetHeight / s.value * 100 > $l && !C.value && f();
399
+ N.value && w.value.offsetHeight / s.value * 100 > Dl && !C.value && f();
400
400
  }
401
- ), { isLazyLoad: L, isInfiniteScroll: N, verticalScrollPosition: s, emitLazyLoadEvent: f };
402
- }, kl = (e, a, g) => {
403
- const n = A(e), d = A(a), t = Je({
401
+ ), { isLazyLoad: S, isInfiniteScroll: N, verticalScrollPosition: s, emitLazyLoadEvent: f };
402
+ }, Ml = (e, a, g) => {
403
+ const n = T(e), d = T(a), t = et({
404
404
  dragging: null,
405
405
  dragToLeft: null,
406
406
  target: null
@@ -408,32 +408,32 @@ const Il = (e, a, g) => {
408
408
  const i = n.value.findIndex(($) => $.field === l.field), _ = i + u;
409
409
  if (_ < 0 || _ > n.value.length - 1)
410
410
  return;
411
- const h = [...n.value];
412
- h.splice(_, 0, h.splice(i, 1)[0]), g(k.COLUMNS, h), g(k.UPDATE_COLUMNS, h);
411
+ const m = [...n.value];
412
+ m.splice(_, 0, m.splice(i, 1)[0]), g(k.COLUMNS, m), g(k.UPDATE_COLUMNS, m);
413
413
  }, w = (l, u) => {
414
414
  t.dragging = l, u.dataTransfer.setData("text", ""), u.dataTransfer.dropEffect = "move";
415
415
  }, C = (l, u) => {
416
416
  t.target = l;
417
- const i = u.currentTarget.getBoundingClientRect(), _ = i.left + i.width / 2, h = u.clientX ?? 0;
418
- t.dragToLeft = h <= _;
419
- }, L = (l) => {
417
+ const i = u.currentTarget.getBoundingClientRect(), _ = i.left + i.width / 2, m = u.clientX ?? 0;
418
+ t.dragToLeft = m <= _;
419
+ }, S = (l) => {
420
420
  var u, i;
421
421
  if (((u = t.dragging) == null ? void 0 : u.field) !== l.field) {
422
- const _ = n.value.findIndex((S) => {
422
+ const _ = n.value.findIndex((L) => {
423
423
  var p;
424
- return S.field === ((p = t.dragging) == null ? void 0 : p.field);
425
- }), h = n.value.findIndex((S) => S.field === l.field), $ = t.dragToLeft ? h : h + 1, R = $ > _ ? $ - 1 : $;
424
+ return L.field === ((p = t.dragging) == null ? void 0 : p.field);
425
+ }), m = n.value.findIndex((L) => L.field === l.field), $ = t.dragToLeft ? m : m + 1, R = $ > _ ? $ - 1 : $;
426
426
  let B = [...n.value];
427
427
  B.splice(
428
428
  R === -1 ? 0 : R,
429
429
  0,
430
430
  B.splice(_, 1)[0]
431
431
  );
432
- const K = n.value.findIndex((S) => !(S != null && S.frozen));
432
+ const K = n.value.findIndex((L) => !(L != null && L.frozen));
433
433
  ((i = t.dragging) == null ? void 0 : i.frozen) !== l.frozen && $ !== K && (B = B.map(
434
- (S) => {
434
+ (L) => {
435
435
  var p;
436
- return ((p = t.dragging) == null ? void 0 : p.field) === S.field ? { ...S, frozen: !!(l != null && l.frozen) } : S;
436
+ return ((p = t.dragging) == null ? void 0 : p.field) === L.field ? { ...L, frozen: !!(l != null && l.frozen) } : L;
437
437
  }
438
438
  )), g(k.COLUMNS, B), g(k.UPDATE_COLUMNS, B);
439
439
  }
@@ -441,16 +441,16 @@ const Il = (e, a, g) => {
441
441
  }, N = () => {
442
442
  t.dragging = null, t.dragToLeft = null, t.target = null;
443
443
  }, f = E(() => d.value ? {
444
- [ee.COLUMN_DRAG_START]: (l, u) => w(l, u),
445
- [ee.COLUMN_DRAG_ENTER]: (l, u) => C(l, u),
446
- [ee.COLUMN_DROP]: (l) => L(l),
447
- [ee.COLUMN_DRAG_END]: () => N()
444
+ [te.COLUMN_DRAG_START]: (l, u) => w(l, u),
445
+ [te.COLUMN_DRAG_ENTER]: (l, u) => C(l, u),
446
+ [te.COLUMN_DROP]: (l) => S(l),
447
+ [te.COLUMN_DRAG_END]: () => N()
448
448
  } : {}), b = E(() => (l) => d.value ? {
449
449
  dragenter: (u) => {
450
450
  u.preventDefault(), C(l, u);
451
451
  },
452
452
  drop: () => {
453
- L(l);
453
+ S(l);
454
454
  },
455
455
  dragover: (u) => {
456
456
  u.preventDefault();
@@ -464,8 +464,8 @@ const Il = (e, a, g) => {
464
464
  draggingEventsForRowCell: b,
465
465
  onMoveColumnByOffset: s
466
466
  };
467
- }, Ml = (e, a) => {
468
- const g = A(e), n = E(
467
+ }, zl = (e, a) => {
468
+ const g = T(e), n = E(
469
469
  () => [...g.value].sort((f, b) => f.frozen === b.frozen ? 0 : f.frozen ? -1 : 1)
470
470
  ), d = E(
471
471
  () => n.value.filter((f) => f.frozen && f.visible !== !1)
@@ -478,7 +478,7 @@ const Il = (e, a, g) => {
478
478
  ].filter(({ columnSet: f }) => f.length)
479
479
  ), w = E(
480
480
  () => g.value.filter((f) => (f == null ? void 0 : f.visible) !== !1 && (f == null ? void 0 : f.field) !== fe).length === 1
481
- ), C = (f) => a(k.UPDATE_CONDENSED, f), L = (f) => {
481
+ ), C = (f) => a(k.UPDATE_CONDENSED, f), S = (f) => {
482
482
  a(k.COLUMNS, f), a(k.UPDATE_COLUMNS, f);
483
483
  };
484
484
  return {
@@ -488,26 +488,26 @@ const Il = (e, a, g) => {
488
488
  sortedColumns: n,
489
489
  // Methods
490
490
  onConfigSettingsUpdate: C,
491
- onConfigSettingsColumnsUpdate: L,
491
+ onConfigSettingsColumnsUpdate: S,
492
492
  onConfigSettingsColumnUpdate: (f) => {
493
493
  const b = n.value.map(
494
494
  (l) => (l == null ? void 0 : l.field) === f.field ? f : l
495
495
  );
496
- L(b);
496
+ S(b);
497
497
  }
498
498
  };
499
- }, bt = (e, a) => {
500
- const g = A(0);
499
+ }, pt = (e, a) => {
500
+ const g = T(0);
501
501
  let n = null;
502
502
  const d = () => {
503
503
  e != null && e.value && a.value && (g.value = e.value.offsetHeight);
504
504
  };
505
- return et(() => {
505
+ return nt(() => {
506
506
  ge(() => {
507
507
  const t = me(
508
508
  e,
509
509
  () => {
510
- e != null && e.value && (ge(() => t()), n = ot(e.value, () => {
510
+ e != null && e.value && (ge(() => t()), n = at(e.value, () => {
511
511
  d();
512
512
  }));
513
513
  },
@@ -521,17 +521,17 @@ const Il = (e, a, g) => {
521
521
  { immediate: !0 }
522
522
  );
523
523
  });
524
- }), Ft(() => {
524
+ }), Pt(() => {
525
525
  n == null || n.disconnect();
526
526
  }), g;
527
- }, zl = (e, a, g, n, d) => {
528
- const t = A(0), s = A(!1), w = A(!1);
527
+ }, Ul = (e, a, g, n, d) => {
528
+ const t = T(0), s = T(!1), w = T(!1);
529
529
  me(
530
530
  () => t.value,
531
531
  () => {
532
532
  e.value.scrollLeft = t.value, a.value.scrollLeft = t.value, s.value = !!t.value, w.value = a.value.scrollWidth - a.value.offsetWidth > t.value;
533
533
  }
534
- ), et(async () => {
534
+ ), nt(async () => {
535
535
  var b, l;
536
536
  await ge(), await ge(), ((b = a.value) == null ? void 0 : b.offsetWidth) < ((l = a.value) == null ? void 0 : l.scrollWidth) && (w.value = !0);
537
537
  });
@@ -540,7 +540,7 @@ const Il = (e, a, g) => {
540
540
  const l = b.target.scrollLeft;
541
541
  n.value.scrollLeft !== l && (n.value.scrollLeft = l);
542
542
  }
543
- }, L = (b) => {
543
+ }, S = (b) => {
544
544
  b.key !== "Tab" && b.key !== "ArrowRight" && b.key !== "ArrowLeft" || (b.preventDefault(), e.value.scrollLeft = 0, e.value.style.overflowX = "hidden", setTimeout(() => {
545
545
  e.value.style.overflowX = "auto";
546
546
  }));
@@ -561,12 +561,12 @@ const Il = (e, a, g) => {
561
561
  horizontalScrollbarConditionalClasses: f,
562
562
  // Methods
563
563
  updateScrollPosition: C,
564
- updateScrollPositionOnFrozenColumnsNavigation: L,
564
+ updateScrollPositionOnFrozenColumnsNavigation: S,
565
565
  syncVirtualScrollerWithBody: N
566
566
  };
567
- }, Ul = (e, a, g, n) => {
568
- const d = A(null), t = E(() => {
569
- var i, _, h, $;
567
+ }, Fl = (e, a, g, n) => {
568
+ const d = T(null), t = E(() => {
569
+ var i, _, m, $;
570
570
  if (!d.value || d.value.field === fe)
571
571
  return {
572
572
  hoveredOverColumnField: "",
@@ -574,7 +574,7 @@ const Il = (e, a, g) => {
574
574
  noBorderLeft: !1,
575
575
  noBorderRight: !1
576
576
  };
577
- const s = (_ = (i = e.value.find((R) => R.isFrozenColumns)) == null ? void 0 : i.columnSet) == null ? void 0 : _.filter((R) => R.field !== fe), w = e.value.find((R) => !(R != null && R.isFrozenColumns)), C = d.value.frozen && (s == null ? void 0 : s[0].field) === d.value.field, L = !d.value.frozen && ((h = w == null ? void 0 : w.columnSet) == null ? void 0 : h[0].field) === d.value.field, N = (a.value || g.value) && C, f = (a.value || g.value) && !s && L, b = s && L, l = (s == null ? void 0 : s.length) > 0 && d.value.frozen && (s == null ? void 0 : s[s.length - 1].field) === d.value.field, u = g.value && n.value && !d.value.frozen && (($ = w == null ? void 0 : w.columnSet) == null ? void 0 : $[w.columnSet.length - 1].field) === d.value.field;
577
+ const s = (_ = (i = e.value.find((R) => R.isFrozenColumns)) == null ? void 0 : i.columnSet) == null ? void 0 : _.filter((R) => R.field !== fe), w = e.value.find((R) => !(R != null && R.isFrozenColumns)), C = d.value.frozen && (s == null ? void 0 : s[0].field) === d.value.field, S = !d.value.frozen && ((m = w == null ? void 0 : w.columnSet) == null ? void 0 : m[0].field) === d.value.field, N = (a.value || g.value) && C, f = (a.value || g.value) && !s && S, b = s && S, l = (s == null ? void 0 : s.length) > 0 && d.value.frozen && (s == null ? void 0 : s[s.length - 1].field) === d.value.field, u = g.value && n.value && !d.value.frozen && (($ = w == null ? void 0 : w.columnSet) == null ? void 0 : $[w.columnSet.length - 1].field) === d.value.field;
578
578
  return {
579
579
  hoveredOverColumnField: d.value.field,
580
580
  isSeparatorOffset: u,
@@ -587,28 +587,28 @@ const Il = (e, a, g) => {
587
587
  hoveredOverColumnState: t
588
588
  };
589
589
  };
590
- let pt = 0;
591
- const Fl = {
590
+ let Ot = 0;
591
+ const Pl = {
592
592
  beforeCreate() {
593
- this.uuid = pt.toString(), pt += 1;
593
+ this.uuid = Ot.toString(), Ot += 1;
594
594
  }
595
- }, Pl = { key: 0 }, Bl = ["clip-path"], Wl = ["id"];
596
- function Gl(e, a, g, n, d, t) {
597
- return c(), y("svg", Q({ role: "img" }, e.$attrs, {
595
+ }, Bl = { key: 0 }, Wl = ["clip-path"], Gl = ["id"];
596
+ function Hl(e, a, g, n, d, t) {
597
+ return c(), y("svg", ee({ role: "img" }, e.$attrs, {
598
598
  class: "ui-assets-icons-16",
599
599
  xmlns: "http://www.w3.org/2000/svg",
600
600
  width: "16",
601
601
  height: "16",
602
602
  fill: "none"
603
603
  }), [
604
- e.$attrs["svg-title"] ? (c(), y("title", Pl, q(e.$attrs["svg-title"]), 1)) : U("", !0),
604
+ e.$attrs["svg-title"] ? (c(), y("title", Bl, Y(e.$attrs["svg-title"]), 1)) : U("", !0),
605
605
  O("g", {
606
606
  fill: "#00112C",
607
607
  "clip-path": "url(#uia-icons-16-arrow_up_down_sort__a" + e.uuid + ")"
608
608
  }, a[0] || (a[0] = [
609
609
  O("path", { d: "M9.06077 4.00011L5.00011 -0.0605469L0.939453 4.00011L2.00011 5.06077L4.25 2.81089V10.75H5.75V2.81066L8.00011 5.06077L9.06077 4.00011Z" }, null, -1),
610
610
  O("path", { d: "M10.25 13.1893L8.00011 10.9395L6.93945 12.0001L11.0001 16.0608L15.0608 12.0001L14.0001 10.9395L11.75 13.1896V5.25H10.25V13.1893Z" }, null, -1)
611
- ]), 8, Bl),
611
+ ]), 8, Wl),
612
612
  O("defs", null, [
613
613
  O("clipPath", {
614
614
  id: "uia-icons-16-arrow_up_down_sort__a" + e.uuid
@@ -618,48 +618,48 @@ function Gl(e, a, g, n, d, t) {
618
618
  height: "16",
619
619
  fill: "#fff"
620
620
  }, null, -1)
621
- ]), 8, Wl)
621
+ ]), 8, Gl)
622
622
  ])
623
623
  ], 16);
624
624
  }
625
- const Hl = /* @__PURE__ */ se(Fl, [["render", Gl]]);
626
- let Ot = 0;
627
- const Vl = {
625
+ const Vl = /* @__PURE__ */ oe(Pl, [["render", Hl]]);
626
+ let Rt = 0;
627
+ const xl = {
628
628
  beforeCreate() {
629
- this.uuid = Ot.toString(), Ot += 1;
629
+ this.uuid = Rt.toString(), Rt += 1;
630
630
  }
631
- }, xl = { key: 0 };
632
- function Zl(e, a, g, n, d, t) {
633
- return c(), y("svg", Q({ role: "img" }, e.$attrs, {
631
+ }, Zl = { key: 0 };
632
+ function jl(e, a, g, n, d, t) {
633
+ return c(), y("svg", ee({ role: "img" }, e.$attrs, {
634
634
  class: "ui-assets-icons-16",
635
635
  xmlns: "http://www.w3.org/2000/svg",
636
636
  width: "16",
637
637
  height: "16",
638
638
  fill: "none"
639
639
  }), [
640
- e.$attrs["svg-title"] ? (c(), y("title", xl, q(e.$attrs["svg-title"]), 1)) : U("", !0),
640
+ e.$attrs["svg-title"] ? (c(), y("title", Zl, Y(e.$attrs["svg-title"]), 1)) : U("", !0),
641
641
  a[0] || (a[0] = O("path", {
642
642
  fill: "#00112C",
643
643
  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"
644
644
  }, null, -1))
645
645
  ], 16);
646
646
  }
647
- const jl = /* @__PURE__ */ se(Vl, [["render", Zl]]);
648
- let Rt = 0;
649
- const ql = {
647
+ const ql = /* @__PURE__ */ oe(xl, [["render", jl]]);
648
+ let Nt = 0;
649
+ const Yl = {
650
650
  beforeCreate() {
651
- this.uuid = Rt.toString(), Rt += 1;
651
+ this.uuid = Nt.toString(), Nt += 1;
652
652
  }
653
- }, Yl = { key: 0 }, Xl = ["clip-path"], Kl = ["id"];
654
- function Jl(e, a, g, n, d, t) {
655
- return c(), y("svg", Q({ role: "img" }, e.$attrs, {
653
+ }, Xl = { key: 0 }, Kl = ["clip-path"], Jl = ["id"];
654
+ function Ql(e, a, g, n, d, t) {
655
+ return c(), y("svg", ee({ role: "img" }, e.$attrs, {
656
656
  class: "ui-assets-icons-16",
657
657
  xmlns: "http://www.w3.org/2000/svg",
658
658
  width: "16",
659
659
  height: "16",
660
660
  fill: "none"
661
661
  }), [
662
- e.$attrs["svg-title"] ? (c(), y("title", Yl, q(e.$attrs["svg-title"]), 1)) : U("", !0),
662
+ e.$attrs["svg-title"] ? (c(), y("title", Xl, Y(e.$attrs["svg-title"]), 1)) : U("", !0),
663
663
  O("g", {
664
664
  "clip-path": "url(#uia-icons-16-freeze__a" + e.uuid + ")"
665
665
  }, a[0] || (a[0] = [
@@ -667,7 +667,7 @@ function Jl(e, a, g, n, d, t) {
667
667
  fill: "#00112C",
668
668
  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"
669
669
  }, null, -1)
670
- ]), 8, Xl),
670
+ ]), 8, Kl),
671
671
  O("defs", null, [
672
672
  O("clipPath", {
673
673
  id: "uia-icons-16-freeze__a" + e.uuid
@@ -678,26 +678,26 @@ function Jl(e, a, g, n, d, t) {
678
678
  fill: "#fff",
679
679
  transform: "matrix(1 0 0 -1 0 16)"
680
680
  }, null, -1)
681
- ]), 8, Kl)
681
+ ]), 8, Jl)
682
682
  ])
683
683
  ], 16);
684
684
  }
685
- const jt = /* @__PURE__ */ se(ql, [["render", Jl]]);
686
- let Nt = 0;
687
- const Ql = {
685
+ const qt = /* @__PURE__ */ oe(Yl, [["render", Ql]]);
686
+ let At = 0;
687
+ const es = {
688
688
  beforeCreate() {
689
- this.uuid = Nt.toString(), Nt += 1;
689
+ this.uuid = At.toString(), At += 1;
690
690
  }
691
- }, es = { key: 0 }, ts = ["clip-path"], ns = ["id"];
692
- function ls(e, a, g, n, d, t) {
693
- return c(), y("svg", Q({ role: "img" }, e.$attrs, {
691
+ }, ts = { key: 0 }, ns = ["clip-path"], ls = ["id"];
692
+ function ss(e, a, g, n, d, t) {
693
+ return c(), y("svg", ee({ role: "img" }, e.$attrs, {
694
694
  class: "ui-assets-icons-16",
695
695
  xmlns: "http://www.w3.org/2000/svg",
696
696
  width: "16",
697
697
  height: "16",
698
698
  fill: "none"
699
699
  }), [
700
- e.$attrs["svg-title"] ? (c(), y("title", es, q(e.$attrs["svg-title"]), 1)) : U("", !0),
700
+ e.$attrs["svg-title"] ? (c(), y("title", ts, Y(e.$attrs["svg-title"]), 1)) : U("", !0),
701
701
  O("g", {
702
702
  fill: "#00112C",
703
703
  "clip-path": "url(#uia-icons-16-sort_ascending__a" + e.uuid + ")"
@@ -706,7 +706,7 @@ function ls(e, a, g, n, d, t) {
706
706
  O("path", { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" }, null, -1),
707
707
  O("path", { d: "M1.25 11.25H8.75V12.75H1.25V11.25Z" }, null, -1),
708
708
  O("path", { d: "M6.75 3.25H1.25V4.75H6.75V3.25Z" }, null, -1)
709
- ]), 8, ts),
709
+ ]), 8, ns),
710
710
  O("defs", null, [
711
711
  O("clipPath", {
712
712
  id: "uia-icons-16-sort_ascending__a" + e.uuid
@@ -716,26 +716,26 @@ function ls(e, a, g, n, d, t) {
716
716
  height: "16",
717
717
  fill: "#fff"
718
718
  }, null, -1)
719
- ]), 8, ns)
719
+ ]), 8, ls)
720
720
  ])
721
721
  ], 16);
722
722
  }
723
- const ss = /* @__PURE__ */ se(Ql, [["render", ls]]);
723
+ const os = /* @__PURE__ */ oe(es, [["render", ss]]);
724
724
  let Tt = 0;
725
- const os = {
725
+ const is = {
726
726
  beforeCreate() {
727
727
  this.uuid = Tt.toString(), Tt += 1;
728
728
  }
729
- }, is = { key: 0 }, as = ["clip-path"], rs = ["id"];
730
- function ds(e, a, g, n, d, t) {
731
- return c(), y("svg", Q({ role: "img" }, e.$attrs, {
729
+ }, as = { key: 0 }, rs = ["clip-path"], ds = ["id"];
730
+ function us(e, a, g, n, d, t) {
731
+ return c(), y("svg", ee({ role: "img" }, e.$attrs, {
732
732
  class: "ui-assets-icons-16",
733
733
  xmlns: "http://www.w3.org/2000/svg",
734
734
  width: "16",
735
735
  height: "16",
736
736
  fill: "none"
737
737
  }), [
738
- e.$attrs["svg-title"] ? (c(), y("title", is, q(e.$attrs["svg-title"]), 1)) : U("", !0),
738
+ e.$attrs["svg-title"] ? (c(), y("title", as, Y(e.$attrs["svg-title"]), 1)) : U("", !0),
739
739
  O("g", {
740
740
  fill: "#00112C",
741
741
  "clip-path": "url(#uia-icons-16-sort_descending__a" + e.uuid + ")"
@@ -744,7 +744,7 @@ function ds(e, a, g, n, d, t) {
744
744
  O("path", { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" }, null, -1),
745
745
  O("path", { d: "M1.25 3.25H9.09V4.75H1.25V3.25Z" }, null, -1),
746
746
  O("path", { d: "M6.75 11.25H1.25V12.75H6.75V11.25Z" }, null, -1)
747
- ]), 8, as),
747
+ ]), 8, rs),
748
748
  O("defs", null, [
749
749
  O("clipPath", {
750
750
  id: "uia-icons-16-sort_descending__a" + e.uuid
@@ -754,33 +754,33 @@ function ds(e, a, g, n, d, t) {
754
754
  height: "16",
755
755
  fill: "#fff"
756
756
  }, null, -1)
757
- ]), 8, rs)
757
+ ]), 8, ds)
758
758
  ])
759
759
  ], 16);
760
760
  }
761
- const us = /* @__PURE__ */ se(os, [["render", ds]]);
762
- let At = 0;
763
- const cs = {
761
+ const cs = /* @__PURE__ */ oe(is, [["render", us]]);
762
+ let It = 0;
763
+ const fs = {
764
764
  beforeCreate() {
765
- this.uuid = At.toString(), At += 1;
765
+ this.uuid = It.toString(), It += 1;
766
766
  }
767
- }, fs = { key: 0 };
768
- function gs(e, a, g, n, d, t) {
769
- return c(), y("svg", Q({ role: "img" }, e.$attrs, {
767
+ }, gs = { key: 0 };
768
+ function vs(e, a, g, n, d, t) {
769
+ return c(), y("svg", ee({ role: "img" }, e.$attrs, {
770
770
  class: "ui-assets-icons-16",
771
771
  xmlns: "http://www.w3.org/2000/svg",
772
772
  width: "16",
773
773
  height: "16",
774
774
  fill: "none"
775
775
  }), [
776
- e.$attrs["svg-title"] ? (c(), y("title", fs, q(e.$attrs["svg-title"]), 1)) : U("", !0),
776
+ e.$attrs["svg-title"] ? (c(), y("title", gs, Y(e.$attrs["svg-title"]), 1)) : U("", !0),
777
777
  a[0] || (a[0] = O("path", {
778
778
  fill: "#00112C",
779
779
  d: "M8 11.25L12.5 5.25H3.5L8 11.25Z"
780
780
  }, null, -1))
781
781
  ], 16);
782
782
  }
783
- const vs = /* @__PURE__ */ se(cs, [["render", gs]]), qt = {
783
+ const ms = /* @__PURE__ */ oe(fs, [["render", vs]]), Yt = {
784
784
  "en-US": {
785
785
  columnActions: "{name} column actions",
786
786
  freezeColumn: "Freeze column",
@@ -812,23 +812,23 @@ const vs = /* @__PURE__ */ se(cs, [["render", gs]]), qt = {
812
812
  selectAll: "Selecionar tudo",
813
813
  unfreezeColumn: "Descongelar coluna"
814
814
  }
815
- }, ms = ["aria-colindex", "aria-label", "aria-sort", "data-testid", "draggable", "tabindex"], hs = {
815
+ }, hs = ["aria-colindex", "aria-label", "aria-sort", "data-testid", "draggable", "tabindex"], Cs = {
816
816
  key: 0,
817
817
  class: "b-data-grid-columns__select-column"
818
- }, Cs = ["aria-label"], _s = { class: "b-data-grid-columns__label" }, ws = {
818
+ }, _s = ["aria-label"], ws = { class: "b-data-grid-columns__label" }, Ss = {
819
819
  key: 0,
820
820
  class: "b-data-grid-columns__column-info-icon"
821
821
  }, Ls = {
822
822
  key: 1,
823
823
  class: "b-data-grid-columns__column-sort"
824
- }, Ss = ["data-testid", "onMousedown"], Es = {
824
+ }, Es = ["data-testid", "onMousedown"], ys = {
825
825
  key: 0,
826
826
  class: "b-data-grid-columns__column-separator"
827
- }, ys = {
828
- i18n: { messages: qt },
827
+ }, bs = {
828
+ i18n: { messages: Yt },
829
829
  name: "data-grid-columns"
830
- }, bs = /* @__PURE__ */ Ee({
831
- ...ys,
830
+ }, ps = /* @__PURE__ */ Ee({
831
+ ...bs,
832
832
  props: {
833
833
  /**
834
834
  * Column definitions using 'key' to relate to data object.
@@ -954,83 +954,83 @@ const vs = /* @__PURE__ */ se(cs, [["render", gs]]), qt = {
954
954
  },
955
955
  emits: ["sort", "column-hover"],
956
956
  setup(e, { expose: a, emit: g }) {
957
- const n = e, d = g, t = 100, { t: s } = Ne({ messages: qt }), { columns: w, sortBy: C } = Qe(n), L = A({}), N = A({}), f = A(), b = A(), l = (r) => d(ee.SELECT_ALL_ROWS, r), u = (r) => r.field === fe, i = E(() => [
957
+ const n = e, d = g, t = 100, { t: s } = Ne({ messages: Yt }), { columns: w, sortBy: C } = tt(n), S = T({}), N = T({}), f = T(), b = T(), l = (r) => d(te.SELECT_ALL_ROWS, r), u = (r) => r.field === fe, i = E(() => [
958
958
  {
959
959
  text: s("selectPage"),
960
960
  handler: () => l(!0)
961
961
  },
962
962
  {
963
963
  text: s("selectAll"),
964
- handler: () => d(ee.SELECT_ALL_ACROSS_PAGES)
964
+ handler: () => d(te.SELECT_ALL_ACROSS_PAGES)
965
965
  }
966
- ]), { startResize: _, isResizing: h, columnHoverEventToEmitAfterResizing: $ } = Cl(w, d), { isSorting: R, getSortingDirection: B, sortByColumnField: K } = Al(C, w, d), S = (r) => {
966
+ ]), { startResize: _, isResizing: m, columnHoverEventToEmitAfterResizing: $ } = _l(w, d), { isSorting: R, getSortingDirection: B, sortByColumnField: K } = Il(C, w, d), L = (r) => {
967
967
  var ae;
968
968
  if (!r.sortable)
969
969
  return null;
970
- const M = (ae = n.sortBy.find(({ field: J }) => J === r.field)) == null ? void 0 : ae.direction;
970
+ const M = (ae = n.sortBy.find(({ field: Q }) => Q === r.field)) == null ? void 0 : ae.direction;
971
971
  return M ? {
972
972
  [Oe.ASCENDING]: Ve.ASCENDING,
973
973
  [Oe.DESCENDING]: Ve.DESCENDING
974
974
  }[M] : Ve.NONE;
975
975
  }, p = E(() => (r) => n.hasDraggableColumns ? {
976
976
  dragstart: (M) => {
977
- d(ee.COLUMN_DRAG_START, r, M);
977
+ d(te.COLUMN_DRAG_START, r, M);
978
978
  },
979
979
  dragover: (M) => {
980
980
  M.preventDefault();
981
981
  },
982
982
  dragenter: (M) => {
983
- M.preventDefault(), d(ee.COLUMN_DRAG_ENTER, r, M);
983
+ M.preventDefault(), d(te.COLUMN_DRAG_ENTER, r, M);
984
984
  },
985
985
  drop: () => {
986
- d(ee.COLUMN_DROP, r);
986
+ d(te.COLUMN_DROP, r);
987
987
  },
988
988
  dragend: () => {
989
- d(ee.COLUMN_DRAG_END);
989
+ d(te.COLUMN_DRAG_END);
990
990
  }
991
- } : {}), G = E(() => (r) => [
991
+ } : {}), W = E(() => (r) => [
992
992
  {
993
993
  text: s("moveColumnLeft"),
994
- handler: () => d(ee.COLUMN_MOVE, r, -1),
995
- icon: ul,
994
+ handler: () => d(te.COLUMN_MOVE, r, -1),
995
+ icon: cl,
996
996
  disabled: n.columns[0].field === r.field
997
997
  },
998
998
  {
999
999
  text: s("moveColumnRight"),
1000
- handler: () => d(ee.COLUMN_MOVE, r, 1),
1001
- icon: jl,
1000
+ handler: () => d(te.COLUMN_MOVE, r, 1),
1001
+ icon: ql,
1002
1002
  disabled: n.columns[n.columns.length - 1].field === r.field
1003
1003
  },
1004
1004
  {
1005
1005
  text: r != null && r.frozen ? s("unfreezeColumn") : s("freezeColumn"),
1006
- handler: () => d(ee.COLUMN_UPDATE, { ...r, frozen: !(r != null && r.frozen) }),
1007
- icon: jt
1006
+ handler: () => d(te.COLUMN_UPDATE, { ...r, frozen: !(r != null && r.frozen) }),
1007
+ icon: qt
1008
1008
  },
1009
1009
  {
1010
1010
  text: (r == null ? void 0 : r.visible) !== !1 ? s("hideColumn") : s("showColumn"),
1011
1011
  handler: () => {
1012
- d(ee.COLUMN_UPDATE, {
1012
+ d(te.COLUMN_UPDATE, {
1013
1013
  ...r,
1014
1014
  visible: (r == null ? void 0 : r.visible) === !1
1015
1015
  });
1016
1016
  },
1017
- icon: (r == null ? void 0 : r.visible) !== !1 ? cl : fl,
1017
+ icon: (r == null ? void 0 : r.visible) !== !1 ? fl : gl,
1018
1018
  disabled: (r == null ? void 0 : r.mandatory) || (r == null ? void 0 : r.visible) !== !1 && n.isOnlyOneVisibleColumn
1019
1019
  }
1020
1020
  ]), x = (r) => {
1021
1021
  f.value = r.field, b.value && clearTimeout(b.value);
1022
- }, te = () => {
1022
+ }, ne = () => {
1023
1023
  const r = setTimeout(() => {
1024
1024
  f.value = "";
1025
1025
  }, t);
1026
1026
  b.value = r;
1027
- }, v = (r) => {
1027
+ }, J = (r) => {
1028
1028
  let M = {
1029
1029
  mouseenter: () => {
1030
- x(r), h.value ? $.value = r : d("column-hover", r);
1030
+ x(r), m.value ? $.value = r : d("column-hover", r);
1031
1031
  },
1032
1032
  mouseleave: () => {
1033
- te(), h.value ? $.value = null : d("column-hover", null);
1033
+ ne(), m.value ? $.value = null : d("column-hover", null);
1034
1034
  },
1035
1035
  focus: () => x(r)
1036
1036
  };
@@ -1038,10 +1038,10 @@ const vs = /* @__PURE__ */ se(cs, [["render", gs]]), qt = {
1038
1038
  ...M,
1039
1039
  ...p.value(r)
1040
1040
  }), M;
1041
- }, V = (r) => r.infoIconTooltip || r.sortable || n.hasColumnPanel, F = (r, M) => {
1042
- var T;
1043
- ((T = L.value) == null ? void 0 : T[M]) === void 0 && (L.value = { ...L.value, [M]: null }), r !== null && (L.value[M] = r);
1044
- }, W = E(() => {
1041
+ }, h = (r) => r.infoIconTooltip || r.sortable || n.hasColumnPanel, V = (r, M) => {
1042
+ var A;
1043
+ ((A = S.value) == null ? void 0 : A[M]) === void 0 && (S.value = { ...S.value, [M]: null }), r !== null && (S.value[M] = r);
1044
+ }, F = E(() => {
1045
1045
  var M;
1046
1046
  const r = {
1047
1047
  "b-data-grid-columns--is-measuring": n.isMeasuringColumnWidths
@@ -1055,62 +1055,62 @@ const vs = /* @__PURE__ */ se(cs, [["render", gs]]), qt = {
1055
1055
  ...r,
1056
1056
  "b-data-grid-columns--unfrozen": !0
1057
1057
  };
1058
- }), oe = (r, M) => r && M === 0 ? wt.BOTTOM_START : wt.BOTTOM_END, Z = (r, M) => {
1059
- var T, ae, J, Re, Te, le, Ie, ze, Ue, Fe;
1058
+ }), G = (r, M) => r && M === 0 ? St.BOTTOM_START : St.BOTTOM_END, Z = (r, M) => {
1059
+ var A, ae, Q, Re, Ae, se, Ie, ze, Ue, Fe;
1060
1060
  return {
1061
1061
  "b-data-grid-columns__column--column-hovered": r.field === n.hoveredOverColumnState.hoveredOverColumnField,
1062
1062
  "b-data-grid-columns__column--column-hovered-no-border-left": r.field === n.hoveredOverColumnState.hoveredOverColumnField && n.hoveredOverColumnState.noBorderLeft,
1063
1063
  "b-data-grid-columns__column--column-hovered-no-border-right": r.field === n.hoveredOverColumnState.hoveredOverColumnField && n.hoveredOverColumnState.noBorderRight,
1064
1064
  "b-data-grid-columns__column--last-frozen-frozen-column": n.isFrozenColumns && M === w.value.length - 1,
1065
1065
  "b-data-grid-columns__column--sortable": r.sortable,
1066
- "b-data-grid-columns__column--padding-left-unset": ((T = r == null ? void 0 : r.padding) == null ? void 0 : T.left) === !1,
1066
+ "b-data-grid-columns__column--padding-left-unset": ((A = r == null ? void 0 : r.padding) == null ? void 0 : A.left) === !1,
1067
1067
  "b-data-grid-columns__column--padding-right-unset": ((ae = r == null ? void 0 : r.padding) == null ? void 0 : ae.right) === !1,
1068
1068
  "b-data-grid-columns__column--numeric": r == null ? void 0 : r.numeric,
1069
1069
  "b-data-grid-columns__column--frozen": r == null ? void 0 : r.frozen,
1070
- "b-data-grid-columns__column--is-re-ordering": (r == null ? void 0 : r.field) === ((Re = (J = n.draggingColumns) == null ? void 0 : J.dragging) == null ? void 0 : Re.field),
1071
- "b-data-grid-columns__column--is-re-ordering-target-left": (r == null ? void 0 : r.field) === ((le = (Te = n.draggingColumns) == null ? void 0 : Te.target) == null ? void 0 : le.field) && ((Ie = n.draggingColumns) == null ? void 0 : Ie.dragToLeft),
1070
+ "b-data-grid-columns__column--is-re-ordering": (r == null ? void 0 : r.field) === ((Re = (Q = n.draggingColumns) == null ? void 0 : Q.dragging) == null ? void 0 : Re.field),
1071
+ "b-data-grid-columns__column--is-re-ordering-target-left": (r == null ? void 0 : r.field) === ((se = (Ae = n.draggingColumns) == null ? void 0 : Ae.target) == null ? void 0 : se.field) && ((Ie = n.draggingColumns) == null ? void 0 : Ie.dragToLeft),
1072
1072
  "b-data-grid-columns__column--is-re-ordering-target-right": (r == null ? void 0 : r.field) === ((Ue = (ze = n.draggingColumns) == null ? void 0 : ze.target) == null ? void 0 : Ue.field) && !((Fe = n.draggingColumns) != null && Fe.dragToLeft),
1073
1073
  "b-data-grid-columns__column--with-sorting-or-column-panel": r.sortable || r.infoIconTooltip || n.hasColumnPanel && f.value === r.field || n.selectableAcrossPages
1074
1074
  };
1075
- }, m = (r) => ({
1075
+ }, v = (r) => ({
1076
1076
  "b-data-grid-columns__column-header-and-actions--numeric": r == null ? void 0 : r.numeric
1077
1077
  }), D = (r) => ({
1078
1078
  "b-data-grid-columns__column-actions--numeric": r == null ? void 0 : r.numeric
1079
- }), Y = (r) => ({
1079
+ }), j = (r) => ({
1080
1080
  "b-data-grid-columns__column-separator-container--is-resizeable": n.hasResizableColumns,
1081
1081
  "b-data-grid-columns__column-separator-container--is-offset": n.hoveredOverColumnState.hoveredOverColumnField === r.field && n.hoveredOverColumnState.isSeparatorOffset
1082
- }), ne = E(() => ({
1082
+ }), le = E(() => ({
1083
1083
  "b-data-grid-columns__column-header--truncated": n.truncateColumnHeaders
1084
1084
  }));
1085
1085
  return a({
1086
- columnHeaderRefs: L
1086
+ columnHeaderRefs: S
1087
1087
  }), (r, M) => (c(), y("div", {
1088
- class: ce(["b-data-grid-columns", W.value]),
1088
+ class: ce(["b-data-grid-columns", F.value]),
1089
1089
  "data-testid": "data-grid-columns"
1090
1090
  }, [
1091
- (c(!0), y(ve, null, Ce(o(w), (T, ae) => (c(), y("div", Q({
1092
- key: T.field,
1091
+ (c(!0), y(ve, null, Ce(o(w), (A, ae) => (c(), y("div", ee({
1092
+ key: A.field,
1093
1093
  ref_for: !0,
1094
- ref: (J) => F(J, T.field),
1094
+ ref: (Q) => V(Q, A.field),
1095
1095
  "aria-colindex": ae + 1,
1096
- "aria-label": T.label,
1097
- "aria-sort": S(T),
1098
- class: [Z(T, ae), "b-data-grid-columns__column"],
1099
- "data-testid": `${T.field}-column-header`,
1100
- draggable: e.hasDraggableColumns && !o(h) && !u(T),
1096
+ "aria-label": A.label,
1097
+ "aria-sort": L(A),
1098
+ class: [Z(A, ae), "b-data-grid-columns__column"],
1099
+ "data-testid": `${A.field}-column-header`,
1100
+ draggable: e.hasDraggableColumns && !o(m) && !u(A),
1101
1101
  role: "columnheader",
1102
- tabindex: T.sortable || e.hasColumnPanel || T.infoIconTooltip ? "0" : "-1",
1103
- style: { width: T.autoWidth && e.isMeasuringColumnWidths ? "auto" : `${T.width}px` }
1104
- }, xe(v(T), !0)), [
1105
- u(T) && e.selectable ? (c(), y("div", hs, [
1106
- X(o(xt), {
1102
+ tabindex: A.sortable || e.hasColumnPanel || A.infoIconTooltip ? "0" : "-1",
1103
+ style: { width: A.autoWidth && e.isMeasuringColumnWidths ? "auto" : `${A.width}px` }
1104
+ }, xe(J(A), !0)), [
1105
+ u(A) && e.selectable ? (c(), y("div", Cs, [
1106
+ X(o(Zt), {
1107
1107
  "model-value": e.allItemsSelectedState.allItemsSelected,
1108
1108
  "data-testid": "checkbox-select-all",
1109
1109
  indeterminate: e.allItemsSelectedState.isIndeterminate,
1110
1110
  value: "data-grid-select-all",
1111
1111
  "onUpdate:modelValue": l
1112
1112
  }, null, 8, ["model-value", "indeterminate"]),
1113
- e.selectableAcrossPages ? (c(), P(o(Xe), {
1113
+ e.selectableAcrossPages ? (c(), P(o(Je), {
1114
1114
  key: 0,
1115
1115
  class: "b-data-grid-columns__select-column-menu",
1116
1116
  data: i.value,
@@ -1119,7 +1119,7 @@ const vs = /* @__PURE__ */ se(cs, [["render", gs]]), qt = {
1119
1119
  button: { variant: "tertiary", condensed: !0 }
1120
1120
  }, {
1121
1121
  iconLeft: H(() => [
1122
- X(o(vs), {
1122
+ X(o(ms), {
1123
1123
  "svg-title": o(s)("selectionMenu")
1124
1124
  }, null, 8, ["svg-title"])
1125
1125
  ]),
@@ -1127,106 +1127,106 @@ const vs = /* @__PURE__ */ se(cs, [["render", gs]]), qt = {
1127
1127
  }, 8, ["data"])) : U("", !0)
1128
1128
  ])) : (c(), y(ve, { key: 1 }, [
1129
1129
  O("div", {
1130
- "aria-label": o(s)("columnActions", { name: T.label }),
1130
+ "aria-label": o(s)("columnActions", { name: A.label }),
1131
1131
  "aria-live": "polite",
1132
1132
  role: "region",
1133
- class: ce(["b-data-grid-columns__column-header-and-actions", m(T)])
1133
+ class: ce(["b-data-grid-columns__column-header-and-actions", v(A)])
1134
1134
  }, [
1135
1135
  X(o(Ze), {
1136
1136
  el: "div",
1137
1137
  strongest: "",
1138
- class: ce(["b-data-grid-columns__column-header", ne.value])
1138
+ class: ce(["b-data-grid-columns__column-header", le.value])
1139
1139
  }, {
1140
1140
  default: H(() => [
1141
- Se(r.$slots, `head-${T.field}`, { column: T }, () => [
1142
- O("span", _s, q(T.label), 1)
1141
+ Le(r.$slots, `head-${A.field}`, { column: A }, () => [
1142
+ O("span", ws, Y(A.label), 1)
1143
1143
  ], !0)
1144
1144
  ]),
1145
1145
  _: 2
1146
1146
  }, 1032, ["class"]),
1147
- V(T) ? (c(), y("div", {
1147
+ h(A) ? (c(), y("div", {
1148
1148
  key: 0,
1149
- class: ce(["b-data-grid-columns__column-actions", D(T)])
1149
+ class: ce(["b-data-grid-columns__column-actions", D(A)])
1150
1150
  }, [
1151
- T.infoIconTooltip ? (c(), y("div", ws, [
1152
- X(o(al), {
1153
- "tooltip-text": T.infoIconTooltip
1151
+ A.infoIconTooltip ? (c(), y("div", Ss, [
1152
+ X(o(rl), {
1153
+ "tooltip-text": A.infoIconTooltip
1154
1154
  }, null, 8, ["tooltip-text"])
1155
1155
  ])) : U("", !0),
1156
- T.sortable ? (c(), y("div", Ls, [
1157
- X(o(it), {
1156
+ A.sortable ? (c(), y("div", Ls, [
1157
+ X(o(rt), {
1158
1158
  condensed: "",
1159
- toggled: o(R)(T.field),
1159
+ toggled: o(R)(A.field),
1160
1160
  variant: "tertiary",
1161
- onClick: (J) => o(K)(T.field)
1161
+ onClick: (Q) => o(K)(A.field)
1162
1162
  }, {
1163
1163
  iconLeft: H(() => [
1164
- o(B)(T.field) ? o(B)(T.field) === o(Oe).ASCENDING ? (c(), P(o(ss), {
1164
+ o(B)(A.field) ? o(B)(A.field) === o(Oe).ASCENDING ? (c(), P(o(os), {
1165
1165
  key: 1,
1166
- "svg-title": o(s)("sortColumnInDescendingOrder", { name: T.label })
1167
- }, null, 8, ["svg-title"])) : o(B)(T.field) === o(Oe).DESCENDING ? (c(), P(o(us), {
1166
+ "svg-title": o(s)("sortColumnInDescendingOrder", { name: A.label })
1167
+ }, null, 8, ["svg-title"])) : o(B)(A.field) === o(Oe).DESCENDING ? (c(), P(o(cs), {
1168
1168
  key: 2,
1169
- "svg-title": o(s)("sortColumnInAscendingOrder", { name: T.label })
1170
- }, null, 8, ["svg-title"])) : U("", !0) : (c(), P(o(Hl), {
1169
+ "svg-title": o(s)("sortColumnInAscendingOrder", { name: A.label })
1170
+ }, null, 8, ["svg-title"])) : U("", !0) : (c(), P(o(Vl), {
1171
1171
  key: 0,
1172
- "svg-title": o(s)("sortColumn", { name: T.label })
1172
+ "svg-title": o(s)("sortColumn", { name: A.label })
1173
1173
  }, null, 8, ["svg-title"]))
1174
1174
  ]),
1175
1175
  _: 2
1176
1176
  }, 1032, ["toggled", "onClick"])
1177
1177
  ])) : U("", !0),
1178
- e.hasColumnPanel && f.value === T.field ? (c(), P(o(Xe), {
1178
+ e.hasColumnPanel && f.value === A.field ? (c(), P(o(Je), {
1179
1179
  key: 2,
1180
1180
  ref_for: !0,
1181
- ref: (J) => N.value[T.field] = J,
1181
+ ref: (Q) => N.value[A.field] = Q,
1182
1182
  class: "b-data-grid-columns__menu",
1183
- data: G.value(T),
1184
- "menu-position": oe(e.hasFirstColumnPanelRightAligned, ae),
1183
+ data: W.value(A),
1184
+ "menu-position": G(e.hasFirstColumnPanelRightAligned, ae),
1185
1185
  "menu-fixed-positioning": !0,
1186
1186
  button: { variant: "tertiary", condensed: !0 },
1187
- onOpen: M[0] || (M[0] = (J) => r.$emit(o(ee).COLUMN_MENU_OPEN)),
1188
- onClose: M[1] || (M[1] = (J) => r.$emit(o(ee).COLUMN_MENU_CLOSE))
1187
+ onOpen: M[0] || (M[0] = (Q) => r.$emit(o(te).COLUMN_MENU_OPEN)),
1188
+ onClose: M[1] || (M[1] = (Q) => r.$emit(o(te).COLUMN_MENU_CLOSE))
1189
1189
  }, null, 8, ["data", "menu-position"])) : U("", !0)
1190
1190
  ], 2)) : U("", !0)
1191
- ], 10, Cs),
1191
+ ], 10, _s),
1192
1192
  O("div", {
1193
- "data-testid": `data-grid-column-${T.field}`,
1194
- class: ce(["b-data-grid-columns__column-separator-container", Y(T)]),
1193
+ "data-testid": `data-grid-column-${A.field}`,
1194
+ class: ce(["b-data-grid-columns__column-separator-container", j(A)]),
1195
1195
  role: "presentation",
1196
- onMousedown: (J) => o(_)(e.hasResizableColumns, T.field, J),
1197
- onClick: M[2] || (M[2] = Pn(() => {
1196
+ onMousedown: (Q) => o(_)(e.hasResizableColumns, A.field, Q),
1197
+ onClick: M[2] || (M[2] = Wn(() => {
1198
1198
  }, ["stop"]))
1199
1199
  }, [
1200
- !e.isFrozenColumns || e.isFrozenColumns && ae !== o(w).length - 1 ? (c(), y("div", Es)) : U("", !0)
1201
- ], 42, Ss)
1200
+ !e.isFrozenColumns || e.isFrozenColumns && ae !== o(w).length - 1 ? (c(), y("div", ys)) : U("", !0)
1201
+ ], 42, Es)
1202
1202
  ], 64))
1203
- ], 16, ms))), 128))
1203
+ ], 16, hs))), 128))
1204
1204
  ], 2));
1205
1205
  }
1206
- }), ps = /* @__PURE__ */ se(bs, [["__scopeId", "data-v-5b48d3ec"]]);
1206
+ }), Os = /* @__PURE__ */ oe(ps, [["__scopeId", "data-v-5b48d3ec"]]);
1207
1207
  var be = /* @__PURE__ */ ((e) => (e.CONFIG_SETTINGS = "config-settings", e.UPDATE_COLUMNS = "update:columns", e))(be || {});
1208
- let It = 0;
1209
- const Os = {
1208
+ let $t = 0;
1209
+ const Rs = {
1210
1210
  beforeCreate() {
1211
- this.uuid = It.toString(), It += 1;
1211
+ this.uuid = $t.toString(), $t += 1;
1212
1212
  }
1213
- }, Rs = { key: 0 }, Ns = ["clip-path"], Ts = ["id"];
1214
- function As(e, a, g, n, d, t) {
1215
- return c(), y("svg", Q({ role: "img" }, e.$attrs, {
1213
+ }, Ns = { key: 0 }, As = ["clip-path"], Ts = ["id"];
1214
+ function Is(e, a, g, n, d, t) {
1215
+ return c(), y("svg", ee({ role: "img" }, e.$attrs, {
1216
1216
  class: "ui-assets-icons-16",
1217
1217
  xmlns: "http://www.w3.org/2000/svg",
1218
1218
  width: "16",
1219
1219
  height: "16",
1220
1220
  fill: "none"
1221
1221
  }), [
1222
- e.$attrs["svg-title"] ? (c(), y("title", Rs, q(e.$attrs["svg-title"]), 1)) : U("", !0),
1222
+ e.$attrs["svg-title"] ? (c(), y("title", Ns, Y(e.$attrs["svg-title"]), 1)) : U("", !0),
1223
1223
  O("g", {
1224
1224
  fill: "#00112C",
1225
1225
  "clip-path": "url(#uia-icons-16-settings__a" + e.uuid + ")"
1226
1226
  }, a[0] || (a[0] = [
1227
1227
  O("path", { d: "M8 5.25C6.48122 5.25 5.25 6.48122 5.25 8C5.25 9.51878 6.48122 10.75 8 10.75C9.51878 10.75 10.75 9.51878 10.75 8C10.75 6.48122 9.51878 5.25 8 5.25ZM6.75 8C6.75 7.30964 7.30964 6.75 8 6.75C8.69036 6.75 9.25 7.30964 9.25 8C9.25 8.69036 8.69036 9.25 8 9.25C7.30964 9.25 6.75 8.69036 6.75 8Z" }, null, -1),
1228
1228
  O("path", { d: "M6.84701 0.973015L6.59985 0.35083L5.9537 0.526056C4.64534 0.880867 3.48225 1.56808 2.55285 2.48641L2.07533 2.95826L2.49158 3.48495C2.79648 3.87074 2.85279 4.419 2.58992 4.87589C2.32905 5.32931 1.82436 5.55631 1.33473 5.48726L0.677319 5.39455L0.505539 6.03586C0.33838 6.65992 0.25 7.32519 0.25 7.99991C0.25 8.67463 0.33838 9.3399 0.505539 9.96396L0.677319 10.6053L1.33473 10.5126C1.82436 10.4435 2.32905 10.6705 2.58992 11.1239C2.85279 11.5808 2.79648 12.1291 2.49158 12.5149L2.07533 13.0416L2.55285 13.5134C3.48225 14.4317 4.64534 15.119 5.9537 15.4738L6.59985 15.649L6.84701 15.0268C7.02659 14.5748 7.47549 14.2499 8 14.2499C8.52452 14.2499 8.97341 14.5748 9.15299 15.0268L9.40016 15.649L10.0463 15.4738C11.3547 15.119 12.5177 14.4317 13.4471 13.5134L13.9247 13.0416L13.5084 12.5149C13.2035 12.1291 13.1472 11.5808 13.4101 11.1239C13.671 10.6705 14.1756 10.4435 14.6653 10.5126L15.3227 10.6053L15.4945 9.96396C15.6616 9.3399 15.75 8.67463 15.75 7.99991C15.75 7.32519 15.6616 6.65992 15.4945 6.03586L15.3227 5.39455L14.6653 5.48726C14.1756 5.55631 13.671 5.32931 13.4101 4.87589C13.1472 4.419 13.2035 3.87074 13.5084 3.48495L13.9247 2.95826L13.4471 2.48641C12.5177 1.56808 11.3547 0.880867 10.0463 0.526056L9.40016 0.35083L9.15299 0.973015C8.97341 1.42506 8.52452 1.74991 8 1.74991C7.47549 1.74991 7.02659 1.42506 6.84701 0.973015ZM3.89008 5.62393C4.33946 4.84286 4.36394 3.9353 4.03405 3.16853C4.55803 2.73795 5.15349 2.39116 5.80146 2.14902C6.30062 2.81653 7.10051 3.24991 8 3.24991C8.89949 3.24991 9.69938 2.81653 10.1985 2.14902C10.8465 2.39116 11.442 2.73795 11.966 3.16853C11.6361 3.9353 11.6605 4.84287 12.1099 5.62393C12.5612 6.40839 13.3382 6.88092 14.1658 6.97982C14.221 7.31075 14.25 7.65319 14.25 7.99991C14.25 8.34663 14.221 8.68908 14.1658 9.02001C13.3382 9.11891 12.5612 9.59143 12.1099 10.3759C11.6605 11.157 11.6361 12.0645 11.9659 12.8313C11.442 13.2619 10.8465 13.6087 10.1985 13.8508C9.69938 13.1833 8.89949 12.7499 8 12.7499C7.10051 12.7499 6.30062 13.1833 5.80146 13.8508C5.15349 13.6087 4.55803 13.2619 4.03405 12.8313C4.36394 12.0645 4.33946 11.157 3.89008 10.3759C3.43875 9.59143 2.66177 9.1189 1.8342 9.02C1.77896 8.68908 1.75 8.34663 1.75 7.99991C1.75 7.65319 1.77896 7.31074 1.8342 6.97982C2.66177 6.88092 3.43875 6.40839 3.89008 5.62393Z" }, null, -1)
1229
- ]), 8, Ns),
1229
+ ]), 8, As),
1230
1230
  O("defs", null, [
1231
1231
  O("clipPath", {
1232
1232
  id: "uia-icons-16-settings__a" + e.uuid
@@ -1240,17 +1240,17 @@ function As(e, a, g, n, d, t) {
1240
1240
  ])
1241
1241
  ], 16);
1242
1242
  }
1243
- const Is = /* @__PURE__ */ se(Os, [["render", As]]), $t = {
1243
+ const $s = /* @__PURE__ */ oe(Rs, [["render", Is]]), Dt = {
1244
1244
  "en-US": {
1245
1245
  toggleColumnFreeze: "Toggle {label} column freeze",
1246
1246
  toggleColumnVisibility: "Toggle {label} column visibility"
1247
1247
  }
1248
- }, $s = Ee({
1249
- i18n: { messages: $t },
1248
+ }, Ds = Ee({
1249
+ i18n: { messages: Dt },
1250
1250
  name: "bento-data-grid",
1251
1251
  components: {
1252
- BentoFreezeIcon: jt,
1253
- BentoToggle: Vt
1252
+ BentoFreezeIcon: qt,
1253
+ BentoToggle: xt
1254
1254
  },
1255
1255
  props: {
1256
1256
  /**
@@ -1270,7 +1270,7 @@ const Is = /* @__PURE__ */ se(Os, [["render", As]]), $t = {
1270
1270
  },
1271
1271
  emits: ["visible-column", "updated-column"],
1272
1272
  setup(e, { emit: a }) {
1273
- const { t: g } = Ne({ messages: $t }), n = A(!1), d = E(() => {
1273
+ const { t: g } = Ne({ messages: Dt }), n = T(!1), d = E(() => {
1274
1274
  var f;
1275
1275
  return (f = e.column) == null ? void 0 : f.frozen;
1276
1276
  }), t = E(() => {
@@ -1282,7 +1282,7 @@ const Is = /* @__PURE__ */ se(Os, [["render", As]]), $t = {
1282
1282
  a("updated-column", { ...e.column, frozen: !d.value });
1283
1283
  }, C = () => {
1284
1284
  d.value || (n.value = !0);
1285
- }, L = () => {
1285
+ }, S = () => {
1286
1286
  d.value || (n.value = !1);
1287
1287
  }, N = E(() => ({
1288
1288
  "b-data-grid-config-settings-column-row__freeze-icon--frozen": d.value
@@ -1296,14 +1296,14 @@ const Is = /* @__PURE__ */ se(Os, [["render", As]]), $t = {
1296
1296
  // Methods
1297
1297
  toggleColumnVisibility: s,
1298
1298
  showFreezeIcon: C,
1299
- hideFreezeIcon: L,
1299
+ hideFreezeIcon: S,
1300
1300
  toggleColumnFreeze: w,
1301
1301
  // Translations
1302
1302
  t: g
1303
1303
  };
1304
1304
  }
1305
1305
  });
1306
- function Ds(e, a, g, n, d, t) {
1306
+ function ks(e, a, g, n, d, t) {
1307
1307
  const s = he("bento-toggle"), w = he("bento-freeze-icon");
1308
1308
  return c(), y("div", {
1309
1309
  class: "b-data-grid-config-settings-column-row",
@@ -1318,20 +1318,20 @@ function Ds(e, a, g, n, d, t) {
1318
1318
  onInput: e.toggleColumnVisibility
1319
1319
  }, {
1320
1320
  default: H(() => [
1321
- ue(q(e.column.label), 1)
1321
+ ue(Y(e.column.label), 1)
1322
1322
  ]),
1323
1323
  _: 1
1324
1324
  }, 8, ["aria-label", "disabled", "value", "onInput"]),
1325
- tt(X(w, {
1325
+ lt(X(w, {
1326
1326
  "aria-label": e.t("toggleColumnFreeze", { label: e.column.label }),
1327
1327
  class: ce(["b-data-grid-config-settings-column-row__freeze-icon", e.freezeIconConditionalClasses]),
1328
1328
  onClick: e.toggleColumnFreeze
1329
1329
  }, null, 8, ["aria-label", "class", "onClick"]), [
1330
- [Bn, e.isColumnFrozen || e.isFreezeIconOptionShown]
1330
+ [Gn, e.isColumnFrozen || e.isFreezeIconOptionShown]
1331
1331
  ])
1332
1332
  ], 32);
1333
1333
  }
1334
- const ks = /* @__PURE__ */ se($s, [["render", Ds], ["__scopeId", "data-v-bb87a729"]]), Dt = {
1334
+ const Ms = /* @__PURE__ */ oe(Ds, [["render", ks], ["__scopeId", "data-v-bb87a729"]]), kt = {
1335
1335
  "en-US": {
1336
1336
  closeConfigSettingsPanel: "Close configuration settings panel",
1337
1337
  closeSearch: "Close search",
@@ -1357,22 +1357,22 @@ const ks = /* @__PURE__ */ se($s, [["render", Ds], ["__scopeId", "data-v-bb87a72
1357
1357
  search: "Buscar",
1358
1358
  size: "Tamanho"
1359
1359
  }
1360
- }, Ms = Ee({
1361
- i18n: { messages: Dt },
1360
+ }, zs = Ee({
1361
+ i18n: { messages: kt },
1362
1362
  name: "bento-data-grid",
1363
1363
  components: {
1364
- BentoButton: Ht,
1365
- BentoCrossIcon: Wt,
1366
- BentoPopover: nl,
1367
- BentoSettingsIcon: Is,
1368
- BentoToggleButton: it,
1369
- BentoDataGridConfigSettingsConfigRow: ks,
1370
- BentoSearchBar: ll,
1371
- BentoSearchIcon: il,
1372
- BentoToggle: Vt,
1364
+ BentoButton: Vt,
1365
+ BentoCrossIcon: Gt,
1366
+ BentoPopover: ll,
1367
+ BentoSettingsIcon: $s,
1368
+ BentoToggleButton: rt,
1369
+ BentoDataGridConfigSettingsConfigRow: Ms,
1370
+ BentoSearchBar: sl,
1371
+ BentoSearchIcon: al,
1372
+ BentoToggle: xt,
1373
1373
  BentoTypography: Ze
1374
1374
  },
1375
- directives: { BentoClickOutsideDirective: ol },
1375
+ directives: { BentoClickOutsideDirective: il },
1376
1376
  props: {
1377
1377
  /**
1378
1378
  * Column definitions
@@ -1391,8 +1391,8 @@ const ks = /* @__PURE__ */ se($s, [["render", Ds], ["__scopeId", "data-v-bb87a72
1391
1391
  },
1392
1392
  emits: [be.CONFIG_SETTINGS, be.UPDATE_COLUMNS],
1393
1393
  setup(e, { emit: a }) {
1394
- const { t: g } = Ne({ messages: Dt }), n = A(null), d = Ye("data-grid-config-settings-popover"), t = A(null), s = A(!1), w = A(!0), C = A(null), L = A(""), N = Pt(e, "columns"), f = A(!1), b = sl(L, N), l = () => {
1395
- L.value = "";
1394
+ const { t: g } = Ne({ messages: kt }), n = T(null), d = Ke("data-grid-config-settings-popover"), t = T(null), s = T(!1), w = T(!0), C = T(null), S = T(""), N = Ye(e, "columns"), f = T(!1), b = ol(S, N), l = () => {
1395
+ S.value = "";
1396
1396
  }, u = E(
1397
1397
  () => !e.columns.some((p) => p.visible === !1 && !p.mandatory)
1398
1398
  ), i = () => {
@@ -1400,29 +1400,29 @@ const ks = /* @__PURE__ */ se($s, [["render", Ds], ["__scopeId", "data-v-bb87a72
1400
1400
  var p;
1401
1401
  return (p = t.value.$refs.bentoInputField) == null ? void 0 : p.focusInput();
1402
1402
  }) : ge(() => {
1403
- var p, G;
1404
- return (G = (p = C == null ? void 0 : C.value) == null ? void 0 : p.$el) == null ? void 0 : G.focus();
1403
+ var p, W;
1404
+ return (W = (p = C == null ? void 0 : C.value) == null ? void 0 : p.$el) == null ? void 0 : W.focus();
1405
1405
  }), w.value = u.value;
1406
- }, _ = (p) => p.mandatory ?? !1, h = (p) => {
1407
- const G = e.columns.map((x) => ({
1406
+ }, _ = (p) => p.mandatory ?? !1, m = (p) => {
1407
+ const W = e.columns.map((x) => ({
1408
1408
  ...x,
1409
1409
  visible: p.field === x.field ? p.visible : x.visible
1410
1410
  }));
1411
- a(be.UPDATE_COLUMNS, G);
1411
+ a(be.UPDATE_COLUMNS, W);
1412
1412
  }, $ = (p) => {
1413
1413
  p ? a(
1414
1414
  be.UPDATE_COLUMNS,
1415
- e.columns.map((G) => ({ ...G, visible: !0 }))
1415
+ e.columns.map((W) => ({ ...W, visible: !0 }))
1416
1416
  ) : a(
1417
1417
  be.UPDATE_COLUMNS,
1418
- e.columns.map((G) => ({ ...G, visible: (G == null ? void 0 : G.mandatory) === !0 }))
1418
+ e.columns.map((W) => ({ ...W, visible: (W == null ? void 0 : W.mandatory) === !0 }))
1419
1419
  );
1420
1420
  }, R = (p) => {
1421
- const G = e.columns.map((x) => ({
1421
+ const W = e.columns.map((x) => ({
1422
1422
  ...x,
1423
1423
  frozen: p.field === x.field ? !!(p != null && p.frozen) : !!(x != null && x.frozen)
1424
1424
  }));
1425
- a(be.UPDATE_COLUMNS, G);
1425
+ a(be.UPDATE_COLUMNS, W);
1426
1426
  }, B = (p) => {
1427
1427
  s.value = p, w.value = u.value;
1428
1428
  };
@@ -1433,7 +1433,7 @@ const ks = /* @__PURE__ */ se($s, [["render", Ds], ["__scopeId", "data-v-bb87a72
1433
1433
  isConfigSettingsPanelOpen: s,
1434
1434
  allColumnsVisbilityToggleState: w,
1435
1435
  filteredColumnVisibilityColumns: b,
1436
- searchTerm: L,
1436
+ searchTerm: S,
1437
1437
  isColumnVisibilityFilterShown: f,
1438
1438
  searchBarRef: t,
1439
1439
  searchButtonRef: C,
@@ -1444,7 +1444,7 @@ const ks = /* @__PURE__ */ se($s, [["render", Ds], ["__scopeId", "data-v-bb87a72
1444
1444
  toggleAllColumnVisibility: $,
1445
1445
  clearAction: l,
1446
1446
  toggleColumnFilter: i,
1447
- emitVisibleColumns: h,
1447
+ emitVisibleColumns: m,
1448
1448
  emitFrozenColumns: R,
1449
1449
  onClickOutside: () => B(!1),
1450
1450
  isColumnVisibilityToggleDisabled: _,
@@ -1452,27 +1452,27 @@ const ks = /* @__PURE__ */ se($s, [["render", Ds], ["__scopeId", "data-v-bb87a72
1452
1452
  t: g
1453
1453
  };
1454
1454
  }
1455
- }), zs = { class: "b-data-grid-config-settings" }, Us = { class: "b-data-grid-config-settings__button-and-separator" }, Fs = {
1455
+ }), Us = { class: "b-data-grid-config-settings" }, Fs = { class: "b-data-grid-config-settings__button-and-separator" }, Ps = {
1456
1456
  ref: "configSettingsButtonRef",
1457
1457
  class: "b-data-grid-config-settings__button-container"
1458
- }, Ps = { class: "b-data-grid-config-settings__panel-header" }, Bs = { class: "b-data-grid-config-settings__condensed-view-settings" }, Ws = { class: "b-data-grid-config-settings__column-visibility-settings" }, Gs = { class: "b-data-grid-config-settings__column-visibility-header" }, Hs = {
1458
+ }, Bs = { class: "b-data-grid-config-settings__panel-header" }, Ws = { class: "b-data-grid-config-settings__condensed-view-settings" }, Gs = { class: "b-data-grid-config-settings__column-visibility-settings" }, Hs = { class: "b-data-grid-config-settings__column-visibility-header" }, Vs = {
1459
1459
  key: 0,
1460
1460
  class: "b-data-grid-config-settings__column-visibility-search"
1461
- }, Vs = {
1461
+ }, xs = {
1462
1462
  key: 1,
1463
1463
  class: "b-data-grid-config-settings__column-visibility-show-all"
1464
- }, xs = { class: "b-data-grid-config-settings__column-visibility-toggles" };
1465
- function Zs(e, a, g, n, d, t) {
1466
- const s = he("bento-settings-icon"), w = he("bento-toggle-button"), C = he("bento-typography"), L = he("bento-cross-icon"), N = he("bento-button"), f = he("bento-toggle"), b = he("bento-search-icon"), l = he("bento-search-bar"), u = he("bento-data-grid-config-settings-config-row"), i = he("bento-popover"), _ = Wn("bento-click-outside-directive");
1467
- return tt((c(), y("div", zs, [
1468
- O("div", Us, [
1469
- O("div", Fs, [
1464
+ }, Zs = { class: "b-data-grid-config-settings__column-visibility-toggles" };
1465
+ function js(e, a, g, n, d, t) {
1466
+ const s = he("bento-settings-icon"), w = he("bento-toggle-button"), C = he("bento-typography"), S = he("bento-cross-icon"), N = he("bento-button"), f = he("bento-toggle"), b = he("bento-search-icon"), l = he("bento-search-bar"), u = he("bento-data-grid-config-settings-config-row"), i = he("bento-popover"), _ = Hn("bento-click-outside-directive");
1467
+ return lt((c(), y("div", Us, [
1468
+ O("div", Fs, [
1469
+ O("div", Ps, [
1470
1470
  X(w, {
1471
1471
  "aria-controls": e.isConfigSettingsPanelOpen ? e.popoverId : null,
1472
1472
  variant: "tertiary",
1473
1473
  condensed: "",
1474
1474
  toggled: e.isConfigSettingsPanelOpen,
1475
- onClick: a[0] || (a[0] = (h) => e.setConfigSettingsPanelVisibility(!e.isConfigSettingsPanelOpen))
1475
+ onClick: a[0] || (a[0] = (m) => e.setConfigSettingsPanelVisibility(!e.isConfigSettingsPanelOpen))
1476
1476
  }, {
1477
1477
  iconLeft: H(() => [
1478
1478
  X(s, {
@@ -1493,36 +1493,36 @@ function Zs(e, a, g, n, d, t) {
1493
1493
  position: "bottom-end"
1494
1494
  }, {
1495
1495
  default: H(() => [
1496
- O("div", Ps, [
1496
+ O("div", Bs, [
1497
1497
  X(C, {
1498
1498
  el: "span",
1499
1499
  strongest: ""
1500
1500
  }, {
1501
1501
  default: H(() => [
1502
- ue(q(e.t("displayOptions")), 1)
1502
+ ue(Y(e.t("displayOptions")), 1)
1503
1503
  ]),
1504
1504
  _: 1
1505
1505
  }),
1506
1506
  X(N, {
1507
1507
  variant: "tertiary",
1508
- onClick: a[1] || (a[1] = (h) => e.setConfigSettingsPanelVisibility(!1))
1508
+ onClick: a[1] || (a[1] = (m) => e.setConfigSettingsPanelVisibility(!1))
1509
1509
  }, {
1510
1510
  iconLeft: H(() => [
1511
- X(L, {
1511
+ X(S, {
1512
1512
  "svg-title": e.t("closeConfigSettingsPanel")
1513
1513
  }, null, 8, ["svg-title"])
1514
1514
  ]),
1515
1515
  _: 1
1516
1516
  })
1517
1517
  ]),
1518
- O("div", Bs, [
1518
+ O("div", Ws, [
1519
1519
  X(C, {
1520
1520
  class: "b-data-grid-config-settings__condensed-view-title",
1521
1521
  el: "span",
1522
1522
  stronger: ""
1523
1523
  }, {
1524
1524
  default: H(() => [
1525
- ue(q(e.t("size")), 1)
1525
+ ue(Y(e.t("size")), 1)
1526
1526
  ]),
1527
1527
  _: 1
1528
1528
  }),
@@ -1533,20 +1533,20 @@ function Zs(e, a, g, n, d, t) {
1533
1533
  onInput: e.emitCondensedToggle
1534
1534
  }, {
1535
1535
  default: H(() => [
1536
- ue(q(e.t("condensed")), 1)
1536
+ ue(Y(e.t("condensed")), 1)
1537
1537
  ]),
1538
1538
  _: 1
1539
1539
  }, 8, ["aria-label", "value", "onInput"])
1540
1540
  ]),
1541
- O("div", Ws, [
1542
- O("div", Gs, [
1541
+ O("div", Gs, [
1542
+ O("div", Hs, [
1543
1543
  X(C, {
1544
1544
  class: "b-data-grid-config-settings__column-visibility-title",
1545
1545
  el: "span",
1546
1546
  stronger: ""
1547
1547
  }, {
1548
1548
  default: H(() => [
1549
- ue(q(e.t("columns")), 1)
1549
+ ue(Y(e.t("columns")), 1)
1550
1550
  ]),
1551
1551
  _: 1
1552
1552
  }),
@@ -1556,10 +1556,10 @@ function Zs(e, a, g, n, d, t) {
1556
1556
  onClick: e.toggleColumnFilter
1557
1557
  }, {
1558
1558
  iconLeft: H(() => [
1559
- X(L)
1559
+ X(S)
1560
1560
  ]),
1561
1561
  default: H(() => [
1562
- ue(" " + q(e.t("closeSearch")), 1)
1562
+ ue(" " + Y(e.t("closeSearch")), 1)
1563
1563
  ]),
1564
1564
  _: 1
1565
1565
  }, 8, ["onClick"])) : (c(), P(N, {
@@ -1572,40 +1572,40 @@ function Zs(e, a, g, n, d, t) {
1572
1572
  X(b)
1573
1573
  ]),
1574
1574
  default: H(() => [
1575
- ue(q(e.t("search")), 1)
1575
+ ue(Y(e.t("search")), 1)
1576
1576
  ]),
1577
1577
  _: 1
1578
1578
  }, 8, ["onClick"]))
1579
1579
  ]),
1580
- e.isColumnVisibilityFilterShown ? (c(), y("div", Hs, [
1580
+ e.isColumnVisibilityFilterShown ? (c(), y("div", Vs, [
1581
1581
  X(l, {
1582
1582
  ref: "searchBarRef",
1583
1583
  value: e.searchTerm,
1584
1584
  "input-field-aria-label": e.t("columnVisibilitySearchFilter").toString(),
1585
- onInput: a[2] || (a[2] = (h) => e.searchTerm = h),
1585
+ onInput: a[2] || (a[2] = (m) => e.searchTerm = m),
1586
1586
  onClear: e.clearAction,
1587
1587
  onEscapePressed: e.toggleColumnFilter
1588
1588
  }, null, 8, ["value", "input-field-aria-label", "onClear", "onEscapePressed"])
1589
- ])) : (c(), y("div", Vs, [
1589
+ ])) : (c(), y("div", xs, [
1590
1590
  X(f, {
1591
1591
  "label-position": "after",
1592
1592
  value: e.allColumnsVisbilityToggleState,
1593
1593
  onInput: e.toggleAllColumnVisibility
1594
1594
  }, {
1595
1595
  default: H(() => [
1596
- ue(q(e.t("showAllColumns", { numberOfColumns: e.columns.length })), 1)
1596
+ ue(Y(e.t("showAllColumns", { numberOfColumns: e.columns.length })), 1)
1597
1597
  ]),
1598
1598
  _: 1
1599
1599
  }, 8, ["value", "onInput"])
1600
1600
  ])),
1601
- O("div", xs, [
1602
- (c(!0), y(ve, null, Ce(e.filteredColumnVisibilityColumns, (h) => (c(), y("div", {
1603
- key: h.field
1601
+ O("div", Zs, [
1602
+ (c(!0), y(ve, null, Ce(e.filteredColumnVisibilityColumns, (m) => (c(), y("div", {
1603
+ key: m.field
1604
1604
  }, [
1605
- h.field !== e.DATAGRID_ACTIONS_COLUMN_FIELD_NAME ? (c(), P(u, {
1605
+ m.field !== e.DATAGRID_ACTIONS_COLUMN_FIELD_NAME ? (c(), P(u, {
1606
1606
  key: 0,
1607
- column: h,
1608
- "is-column-visibility-toggle-disabled": e.isColumnVisibilityToggleDisabled(h),
1607
+ column: m,
1608
+ "is-column-visibility-toggle-disabled": e.isColumnVisibilityToggleDisabled(m),
1609
1609
  onVisibleColumn: e.emitVisibleColumns,
1610
1610
  onUpdatedColumn: e.emitFrozenColumns
1611
1611
  }, null, 8, ["column", "is-column-visibility-toggle-disabled", "onVisibleColumn", "onUpdatedColumn"])) : U("", !0)
@@ -1616,7 +1616,7 @@ function Zs(e, a, g, n, d, t) {
1616
1616
  class: "b-data-grid-config-settings__column-visibility-empty-search-message"
1617
1617
  }, {
1618
1618
  default: H(() => [
1619
- ue(q(e.t("noColumnsMatch")), 1)
1619
+ ue(Y(e.t("noColumnsMatch")), 1)
1620
1620
  ]),
1621
1621
  _: 1
1622
1622
  })) : U("", !0)
@@ -1629,7 +1629,7 @@ function Zs(e, a, g, n, d, t) {
1629
1629
  [_, e.onClickOutside]
1630
1630
  ]);
1631
1631
  }
1632
- const js = /* @__PURE__ */ se(Ms, [["render", Zs], ["__scopeId", "data-v-f5950a53"]]), je = {
1632
+ const qs = /* @__PURE__ */ oe(zs, [["render", js], ["__scopeId", "data-v-f5950a53"]]), je = {
1633
1633
  "en-US": {
1634
1634
  gettingYourData: "Getting your data",
1635
1635
  loading: "Loading",
@@ -1647,10 +1647,10 @@ const js = /* @__PURE__ */ se(Ms, [["render", Zs], ["__scopeId", "data-v-f5950a5
1647
1647
  loading: "Carregando",
1648
1648
  showMore: "Mostrar mais"
1649
1649
  }
1650
- }, qs = { class: "b-data-grid-lazy-load" }, Ys = {
1650
+ }, Ys = { class: "b-data-grid-lazy-load" }, Xs = {
1651
1651
  i18n: { messages: je }
1652
- }, Xs = /* @__PURE__ */ Ee({
1653
- ...Ys,
1652
+ }, Ks = /* @__PURE__ */ Ee({
1653
+ ...Xs,
1654
1654
  __name: "data-grid-lazy-load",
1655
1655
  props: {
1656
1656
  loading: { type: Boolean },
@@ -1658,76 +1658,76 @@ const js = /* @__PURE__ */ se(Ms, [["render", Zs], ["__scopeId", "data-v-f5950a5
1658
1658
  },
1659
1659
  setup(e) {
1660
1660
  const { t: a } = Ne({ messages: je });
1661
- return (g, n) => (c(), y("div", qs, [
1662
- g.loading && g.isInfiniteScroll ? (c(), P(o(lt), { key: 0 })) : U("", !0),
1661
+ return (g, n) => (c(), y("div", Ys, [
1662
+ g.loading && g.isInfiniteScroll ? (c(), P(o(ot), { key: 0 })) : U("", !0),
1663
1663
  g.loading && !g.isInfiniteScroll ? (c(), P(o(Lt), {
1664
1664
  key: 1,
1665
1665
  variant: "secondary",
1666
- state: o(St).LOADING
1666
+ state: o(Et).LOADING
1667
1667
  }, {
1668
1668
  default: H(() => [
1669
- ue(q(o(a)("loading")), 1)
1669
+ ue(Y(o(a)("loading")), 1)
1670
1670
  ]),
1671
1671
  _: 1
1672
1672
  }, 8, ["state"])) : U("", !0),
1673
1673
  !g.loading && !g.isInfiniteScroll ? (c(), P(o(Lt), {
1674
1674
  key: 2,
1675
- state: o(St).START,
1675
+ state: o(Et).START,
1676
1676
  variant: "secondary",
1677
1677
  onClick: n[0] || (n[0] = (d) => g.$emit(o(k).UPDATE_SHOW_MORE))
1678
1678
  }, {
1679
1679
  default: H(() => [
1680
- ue(q(o(a)("showMore")), 1)
1680
+ ue(Y(o(a)("showMore")), 1)
1681
1681
  ]),
1682
1682
  _: 1
1683
1683
  }, 8, ["state"])) : U("", !0)
1684
1684
  ]));
1685
1685
  }
1686
- }), Ks = /* @__PURE__ */ se(Xs, [["__scopeId", "data-v-a4824c2d"]]);
1687
- let kt = 0;
1688
- const Js = {
1686
+ }), Js = /* @__PURE__ */ oe(Ks, [["__scopeId", "data-v-a4824c2d"]]);
1687
+ let Mt = 0;
1688
+ const Qs = {
1689
1689
  beforeCreate() {
1690
- this.uuid = kt.toString(), kt += 1;
1690
+ this.uuid = Mt.toString(), Mt += 1;
1691
1691
  }
1692
- }, Qs = { key: 0 };
1693
- function eo(e, a, g, n, d, t) {
1694
- return c(), y("svg", Q({ role: "img" }, e.$attrs, {
1692
+ }, eo = { key: 0 };
1693
+ function to(e, a, g, n, d, t) {
1694
+ return c(), y("svg", ee({ role: "img" }, e.$attrs, {
1695
1695
  class: "ui-assets-icons-16",
1696
1696
  xmlns: "http://www.w3.org/2000/svg",
1697
1697
  width: "16",
1698
1698
  height: "16",
1699
1699
  fill: "none"
1700
1700
  }), [
1701
- e.$attrs["svg-title"] ? (c(), y("title", Qs, q(e.$attrs["svg-title"]), 1)) : U("", !0),
1701
+ e.$attrs["svg-title"] ? (c(), y("title", eo, Y(e.$attrs["svg-title"]), 1)) : U("", !0),
1702
1702
  a[0] || (a[0] = O("path", {
1703
1703
  fill: "#00112C",
1704
1704
  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"
1705
1705
  }, null, -1))
1706
1706
  ], 16);
1707
1707
  }
1708
- const to = /* @__PURE__ */ se(Js, [["render", eo]]);
1709
- let Mt = 0;
1710
- const no = {
1708
+ const no = /* @__PURE__ */ oe(Qs, [["render", to]]);
1709
+ let zt = 0;
1710
+ const lo = {
1711
1711
  beforeCreate() {
1712
- this.uuid = Mt.toString(), Mt += 1;
1712
+ this.uuid = zt.toString(), zt += 1;
1713
1713
  }
1714
- }, lo = { key: 0 };
1715
- function so(e, a, g, n, d, t) {
1716
- return c(), y("svg", Q({ role: "img" }, e.$attrs, {
1714
+ }, so = { key: 0 };
1715
+ function oo(e, a, g, n, d, t) {
1716
+ return c(), y("svg", ee({ role: "img" }, e.$attrs, {
1717
1717
  class: "ui-assets-icons-16",
1718
1718
  xmlns: "http://www.w3.org/2000/svg",
1719
1719
  width: "16",
1720
1720
  height: "16",
1721
1721
  fill: "none"
1722
1722
  }), [
1723
- e.$attrs["svg-title"] ? (c(), y("title", lo, q(e.$attrs["svg-title"]), 1)) : U("", !0),
1723
+ e.$attrs["svg-title"] ? (c(), y("title", so, Y(e.$attrs["svg-title"]), 1)) : U("", !0),
1724
1724
  a[0] || (a[0] = O("path", {
1725
1725
  fill: "#00112C",
1726
1726
  d: "M2.93933 11.9999L10.1893 4.74989H5.24999V3.24989H12.75V10.7499H11.25V5.81055L3.99999 13.0605L2.93933 11.9999Z"
1727
1727
  }, null, -1))
1728
1728
  ], 16);
1729
1729
  }
1730
- const zt = /* @__PURE__ */ se(no, [["render", so]]), Yt = {
1730
+ const Ut = /* @__PURE__ */ oe(lo, [["render", oo]]), Xt = {
1731
1731
  "en-US": {
1732
1732
  copy: "Copy",
1733
1733
  edit: "Edit",
@@ -1746,14 +1746,14 @@ const zt = /* @__PURE__ */ se(no, [["render", so]]), Yt = {
1746
1746
  more: "Mais",
1747
1747
  open: "Abrir"
1748
1748
  }
1749
- }, oo = { class: "b-data-grid-cell-actions" }, io = {
1749
+ }, io = { class: "b-data-grid-cell-actions" }, ao = {
1750
1750
  class: "b-data-grid-cell-actions__actions",
1751
1751
  role: "group"
1752
- }, ao = {
1753
- i18n: { messages: Yt },
1752
+ }, ro = {
1753
+ i18n: { messages: Xt },
1754
1754
  name: "data-grid-cell-actions"
1755
- }, ro = /* @__PURE__ */ Ee({
1756
- ...ao,
1755
+ }, uo = /* @__PURE__ */ Ee({
1756
+ ...ro,
1757
1757
  props: {
1758
1758
  /**
1759
1759
  * Column definitions using 'key' to relate to data object.
@@ -1780,9 +1780,9 @@ const zt = /* @__PURE__ */ se(no, [["render", so]]), Yt = {
1780
1780
  },
1781
1781
  emits: ["menu-item-click-close"],
1782
1782
  setup(e, { emit: a }) {
1783
- const { t: g } = Ne({ messages: Yt }), n = e, d = a, t = E(() => {
1783
+ const { t: g } = Ne({ messages: Xt }), n = e, d = a, t = E(() => {
1784
1784
  var l;
1785
- return ((l = n.cellActions) == null ? void 0 : l.length) > 2 && Gt(
1785
+ return ((l = n.cellActions) == null ? void 0 : l.length) > 2 && Ht(
1786
1786
  "WARNING: BentoDataGrid Cell actions can only have a maximum of 2 actions, if you need more consider using the menuData property instead."
1787
1787
  ), n.cellActions.slice(0, 2);
1788
1788
  }), s = E(() => (l, u) => {
@@ -1806,9 +1806,9 @@ const zt = /* @__PURE__ */ se(no, [["render", so]]), Yt = {
1806
1806
  handler: () => {
1807
1807
  l != null && l.handler && typeof l.handler == "function" && (l == null || l.handler()), l != null && l.event && typeof l.event == "function" && (l == null || l.event(n.rowDataItem, n.columnKey));
1808
1808
  }
1809
- }), L = (l) => l.map((u) => {
1809
+ }), S = (l) => l.map((u) => {
1810
1810
  const i = u;
1811
- return i != null && i.items && (i.items = L(i.items)), { ...C(i) };
1811
+ return i != null && i.items && (i.items = S(i.items)), { ...C(i) };
1812
1812
  }), N = (l) => {
1813
1813
  var u, i;
1814
1814
  return (l == null ? void 0 : l.getCopyData) !== void 0 ? l.getCopyData(n.rowDataItem, n.columnKey) : (i = (u = n.rowDataItem) == null ? void 0 : u[n.columnKey]) == null ? void 0 : i.toString();
@@ -1818,28 +1818,28 @@ const zt = /* @__PURE__ */ se(no, [["render", so]]), Yt = {
1818
1818
  appear: ""
1819
1819
  }, {
1820
1820
  default: H(() => [
1821
- O("div", oo, [
1821
+ O("div", io, [
1822
1822
  u[1] || (u[1] = O("div", { class: "b-data-grid-cell-actions__background-gradient" }, null, -1)),
1823
- O("div", io, [
1823
+ O("div", ao, [
1824
1824
  (c(!0), y(ve, null, Ce(t.value, (i, _) => (c(), y("div", {
1825
1825
  key: _,
1826
1826
  class: "b-data-grid-cell-actions__action"
1827
1827
  }, [
1828
- i.menuData ? (c(), P(o(Xe), {
1828
+ i.menuData ? (c(), P(o(Je), {
1829
1829
  key: 0,
1830
- data: L(i.menuData),
1830
+ data: S(i.menuData),
1831
1831
  button: {
1832
1832
  condensed: !0,
1833
1833
  variant: "secondary",
1834
1834
  disabled: i.disabled
1835
1835
  },
1836
1836
  teleport: "",
1837
- onMenuItemClick: u[0] || (u[0] = (h) => d("menu-item-click-close"))
1838
- }, Ae({ _: 2 }, [
1837
+ onMenuItemClick: u[0] || (u[0] = (m) => d("menu-item-click-close"))
1838
+ }, Te({ _: 2 }, [
1839
1839
  b(i) ? {
1840
1840
  name: "iconLeft",
1841
1841
  fn: H(() => [
1842
- (i == null ? void 0 : i.variant) === "more" ? (c(), P(o(rl), {
1842
+ (i == null ? void 0 : i.variant) === "more" ? (c(), P(o(dl), {
1843
1843
  key: 0,
1844
1844
  "svg-title": s.value(i, !0)
1845
1845
  }, null, 8, ["svg-title"])) : (c(), P(Me(i.iconLeft), {
@@ -1852,14 +1852,14 @@ const zt = /* @__PURE__ */ se(no, [["render", so]]), Yt = {
1852
1852
  i != null && i.isShort ? void 0 : {
1853
1853
  name: "default",
1854
1854
  fn: H(() => [
1855
- ue(q(s.value(i)), 1)
1855
+ ue(Y(s.value(i)), 1)
1856
1856
  ]),
1857
1857
  key: "1"
1858
1858
  },
1859
1859
  f(i) ? {
1860
1860
  name: "iconRight",
1861
1861
  fn: H(() => [
1862
- (i == null ? void 0 : i.variant) === "open" ? (c(), P(o(zt), {
1862
+ (i == null ? void 0 : i.variant) === "open" ? (c(), P(o(Ut), {
1863
1863
  key: 0,
1864
1864
  "svg-title": s.value(i, !0)
1865
1865
  }, null, 8, ["svg-title"])) : (c(), P(Me(i.iconRight), {
@@ -1869,7 +1869,7 @@ const zt = /* @__PURE__ */ se(no, [["render", so]]), Yt = {
1869
1869
  ]),
1870
1870
  key: "2"
1871
1871
  } : void 0
1872
- ]), 1032, ["data", "button"])) : i.variant === "copy" ? (c(), P(o(vl), {
1872
+ ]), 1032, ["data", "button"])) : i.variant === "copy" ? (c(), P(o(ml), {
1873
1873
  key: 1,
1874
1874
  text: N(i),
1875
1875
  "button-text": s.value(i),
@@ -1877,18 +1877,18 @@ const zt = /* @__PURE__ */ se(no, [["render", so]]), Yt = {
1877
1877
  condensed: !0,
1878
1878
  variant: "secondary"
1879
1879
  }
1880
- }, null, 8, ["text", "button-text"])) : (c(), P(o(Ht), Q({
1880
+ }, null, 8, ["text", "button-text"])) : (c(), P(o(Vt), ee({
1881
1881
  key: 2,
1882
1882
  condensed: "",
1883
1883
  variant: "secondary",
1884
1884
  critical: i.critical,
1885
1885
  disabled: i.disabled,
1886
1886
  link: i.link
1887
- }, xe(w(i))), Ae({ _: 2 }, [
1887
+ }, xe(w(i))), Te({ _: 2 }, [
1888
1888
  i.iconLeft || i.variant === "edit" ? {
1889
1889
  name: "iconLeft",
1890
1890
  fn: H(() => [
1891
- (i == null ? void 0 : i.variant) === "edit" ? (c(), P(o(to), {
1891
+ (i == null ? void 0 : i.variant) === "edit" ? (c(), P(o(no), {
1892
1892
  key: 0,
1893
1893
  "svg-title": s.value(i, !0)
1894
1894
  }, null, 8, ["svg-title"])) : (c(), P(Me(i.iconLeft), {
@@ -1901,14 +1901,14 @@ const zt = /* @__PURE__ */ se(no, [["render", so]]), Yt = {
1901
1901
  i != null && i.isShort ? void 0 : {
1902
1902
  name: "default",
1903
1903
  fn: H(() => [
1904
- ue(q(s.value(i)), 1)
1904
+ ue(Y(s.value(i)), 1)
1905
1905
  ]),
1906
1906
  key: "1"
1907
1907
  },
1908
1908
  i.iconRight || i.variant === "open" ? {
1909
1909
  name: "iconRight",
1910
1910
  fn: H(() => [
1911
- (i == null ? void 0 : i.variant) === "open" ? (c(), P(o(zt), {
1911
+ (i == null ? void 0 : i.variant) === "open" ? (c(), P(o(Ut), {
1912
1912
  key: 0,
1913
1913
  "svg-title": s.value(i, !0)
1914
1914
  }, null, 8, ["svg-title"])) : (c(), P(Me(i.iconRight), {
@@ -1926,22 +1926,22 @@ const zt = /* @__PURE__ */ se(no, [["render", so]]), Yt = {
1926
1926
  _: 1
1927
1927
  }));
1928
1928
  }
1929
- }), uo = /* @__PURE__ */ se(ro, [["__scopeId", "data-v-da2fa02e"]]);
1930
- var ie = /* @__PURE__ */ ((e) => (e.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED = "action-col-nested-content-and-selection-enabled", e.ACTION_COL_NESTED_CONTENT_ENABLED = "action-col-nested-content-enabled", e.ACTION_COL_SELECTION_ENABLED = "action-col-selection-enabled", e.COLUMN_HOVERED = "column-hovered", e.COLUMN_HOVERED_NO_BORDER_LEFT = "column-hovered-no-border-left", e.COLUMN_HOVERED_NO_BORDER_RIGHT = "column-hovered-no-border-right", e.CONDENSED = "condensed", e.FROZEN = "frozen", e.IS_COLUMN_REORDERING = "is-column-re-ordering", e.IS_COLUMN_REORDERING_TARGET_LEFT = "is-column-re-order-target-left", e.IS_COLUMN_REORDERING_TARGET_RIGHT = "is-column-re-order-target-right", e.LAST_FROZEN_COLUMN_CELL = "last-frozen-column-cell", e.NESTED_CONTENT_ENABLED = "nested-content-toggle-enabled", e.NUMERIC = "numeric", e.OVERFLOW_ELLIPSIS = "overflow-ellipsis", e.PADDING_LEFT_UNSET = "padding-left-unset", e.PADDING_RIGHT_UNSET = "padding-right-unset", e))(ie || {});
1931
- const Xt = {
1929
+ }), co = /* @__PURE__ */ oe(uo, [["__scopeId", "data-v-da2fa02e"]]), Kt = Symbol("data-grid slashed zero key");
1930
+ var ie = /* @__PURE__ */ ((e) => (e.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED = "action-col-nested-content-and-selection-enabled", e.ACTION_COL_NESTED_CONTENT_ENABLED = "action-col-nested-content-enabled", e.ACTION_COL_SELECTION_ENABLED = "action-col-selection-enabled", e.COLUMN_HOVERED = "column-hovered", e.COLUMN_HOVERED_NO_BORDER_LEFT = "column-hovered-no-border-left", e.COLUMN_HOVERED_NO_BORDER_RIGHT = "column-hovered-no-border-right", e.CONDENSED = "condensed", e.FROZEN = "frozen", e.IS_COLUMN_REORDERING = "is-column-re-ordering", e.IS_COLUMN_REORDERING_TARGET_LEFT = "is-column-re-order-target-left", e.IS_COLUMN_REORDERING_TARGET_RIGHT = "is-column-re-order-target-right", e.LAST_FROZEN_COLUMN_CELL = "last-frozen-column-cell", e.NESTED_CONTENT_ENABLED = "nested-content-toggle-enabled", e.NUMERIC = "numeric", e.OVERFLOW_ELLIPSIS = "overflow-ellipsis", e.PADDING_LEFT_UNSET = "padding-left-unset", e.PADDING_RIGHT_UNSET = "padding-right-unset", e.SLASHED_ZERO = "slashed-zero", e))(ie || {});
1931
+ const Jt = {
1932
1932
  "en-US": {
1933
1933
  collapseNestedContent: "Collapse nested content",
1934
1934
  expandNestedContent: "Expand nested content",
1935
1935
  selectRow: "Select row"
1936
1936
  }
1937
- }, co = ["aria-hidden", "data-testid", "data-cellindex", "tabindex", "aria-colindex"], fo = ["title"], go = {
1937
+ }, fo = ["aria-hidden", "data-testid", "data-cellindex", "tabindex", "aria-colindex"], go = ["title"], vo = {
1938
1938
  key: 0,
1939
1939
  class: "b-data-grid-cell__cell-actions"
1940
- }, vo = {
1941
- i18n: { messages: Xt },
1940
+ }, mo = {
1941
+ i18n: { messages: Jt },
1942
1942
  name: "data-grid-cell"
1943
- }, mo = /* @__PURE__ */ Ee({
1944
- ...vo,
1943
+ }, ho = /* @__PURE__ */ Ee({
1944
+ ...mo,
1945
1945
  props: {
1946
1946
  draggingEventsForRowCell: {
1947
1947
  type: Function,
@@ -2063,35 +2063,35 @@ const Xt = {
2063
2063
  },
2064
2064
  emits: ["on-frozen-columns-key-press", "select-row", "register-row-cell-element", "cell-hovered", "nested-content-toggled"],
2065
2065
  setup(e, { expose: a, emit: g }) {
2066
- const n = nt(), d = st(n), { t } = Ne({ messages: Xt }), s = e, w = g, C = A(null), L = A(null), N = A(!1), f = A([]), b = E(() => {
2067
- var v;
2068
- return !!((v = s.rowData) != null && v[s.column.field]);
2066
+ const n = st(), d = it(n), { t } = Ne({ messages: Jt }), s = e, w = g, C = T(null), S = T(null), N = T(!1), f = T([]), b = E(() => {
2067
+ var h;
2068
+ return !!((h = s.rowData) != null && h[s.column.field]);
2069
2069
  }), l = E(
2070
2070
  () => {
2071
- var v;
2072
- return s.column.field === fe && ((v = s.nestedRowsElementIds) == null ? void 0 : v.length) > 0 ? s.nestedRowsElementIds.join(" ") : void 0;
2071
+ var h;
2072
+ return s.column.field === fe && ((h = s.nestedRowsElementIds) == null ? void 0 : h.length) > 0 ? s.nestedRowsElementIds.join(" ") : void 0;
2073
2073
  }
2074
2074
  ), u = E(
2075
2075
  () => s.column.field === fe && !s.selectable && !s.nestedContent
2076
- ), i = (v, V) => (v == null ? void 0 : v.overflow) === Ke.ELLIPSIS ? `${V}` : void 0, _ = (v) => v ?? "-", h = (v) => s.columnSets.slice(0, v).reduce((V, { columnSet: F }) => V + F.length, 0), $ = (v, V) => v + h(V), R = (v, V, F) => h() * v + $(V, F), B = (v) => {
2076
+ ), i = (h, V) => (h == null ? void 0 : h.overflow) === Qe.ELLIPSIS ? `${V}` : void 0, _ = (h) => h ?? "-", m = (h) => s.columnSets.slice(0, h).reduce((V, { columnSet: F }) => V + F.length, 0), $ = (h, V) => h + m(V), R = (h, V, F) => m() * h + $(V, F), B = (h) => {
2077
2077
  var V;
2078
- (v === null || !C.value.contains(v) && !((V = f.value) != null && V.map((F) => F.value).some((F) => F === v || (F == null ? void 0 : F.contains(v))))) && (N.value = !1);
2078
+ (h === null || !C.value.contains(h) && !((V = f.value) != null && V.map((F) => F.value).some((F) => F === h || (F == null ? void 0 : F.contains(h))))) && (N.value = !1);
2079
2079
  }, K = () => {
2080
2080
  N.value = !1;
2081
- }, S = (v) => {
2081
+ }, L = (h) => {
2082
2082
  const F = { ...{
2083
- ...s.draggingEventsForRowCell(v)
2083
+ ...s.draggingEventsForRowCell(h)
2084
2084
  } };
2085
- return v.frozen && (F.keyup = (W) => w("on-frozen-columns-key-press", W), F.keydown = (W) => w("on-frozen-columns-key-press", W)), v.cellActions && (F.mouseenter = () => {
2085
+ return h.frozen && (F.keyup = (G) => w("on-frozen-columns-key-press", G), F.keydown = (G) => w("on-frozen-columns-key-press", G)), h.cellActions && (F.mouseenter = () => {
2086
2086
  N.value = !0;
2087
- }, F.mouseleave = (W) => {
2088
- N.value = !1, B(W == null ? void 0 : W.relatedTarget);
2089
- }, F.mouseleave = (W) => {
2090
- B(W == null ? void 0 : W.relatedTarget);
2091
- }, F.focus = (W) => {
2087
+ }, F.mouseleave = (G) => {
2088
+ N.value = !1, B(G == null ? void 0 : G.relatedTarget);
2089
+ }, F.mouseleave = (G) => {
2090
+ B(G == null ? void 0 : G.relatedTarget);
2091
+ }, F.focus = (G) => {
2092
2092
  N.value = !0;
2093
- }, F.focusout = (W) => {
2094
- B(W == null ? void 0 : W.relatedTarget);
2093
+ }, F.focusout = (G) => {
2094
+ B(G == null ? void 0 : G.relatedTarget);
2095
2095
  }), F;
2096
2096
  }, p = () => {
2097
2097
  w("nested-content-toggled");
@@ -2101,56 +2101,57 @@ const Xt = {
2101
2101
  () => {
2102
2102
  N.value === !0 ? w("cell-hovered", s.rowIndex) : w("cell-hovered", -1);
2103
2103
  }
2104
- ), Gn(dl, {
2105
- registerMenuContainerElement: (v) => {
2106
- f.value.push(v);
2104
+ ), Wt(ul, {
2105
+ registerMenuContainerElement: (h) => {
2106
+ f.value.push(h);
2107
2107
  },
2108
- menuMouseLeave: (v) => {
2109
- C.value.contains(v == null ? void 0 : v.relatedTarget) || (N.value = !1);
2108
+ menuMouseLeave: (h) => {
2109
+ C.value.contains(h == null ? void 0 : h.relatedTarget) || (N.value = !1);
2110
2110
  }
2111
2111
  });
2112
- const te = (v) => {
2113
- var V, F, W, oe, Z, m, D;
2112
+ const ne = Xe(Kt, T(!1)), J = (h) => {
2113
+ var V, F, G, Z, v, D, j;
2114
2114
  return {
2115
- [`b-data-grid-cell--${ie.COLUMN_HOVERED}`]: (v == null ? void 0 : v.field) === s.hoveredOverColumnState.hoveredOverColumnField,
2116
- [`b-data-grid-cell--${ie.COLUMN_HOVERED_NO_BORDER_LEFT}`]: (v == null ? void 0 : v.field) === s.hoveredOverColumnState.hoveredOverColumnField && s.hoveredOverColumnState.noBorderLeft,
2117
- [`b-data-grid-cell--${ie.COLUMN_HOVERED_NO_BORDER_RIGHT}`]: (v == null ? void 0 : v.field) === s.hoveredOverColumnState.hoveredOverColumnField && s.hoveredOverColumnState.noBorderRight,
2118
- [`b-data-grid-cell--${ie.PADDING_LEFT_UNSET}`]: ((V = v == null ? void 0 : v.padding) == null ? void 0 : V.left) === !1,
2119
- [`b-data-grid-cell--${ie.PADDING_RIGHT_UNSET}`]: ((F = v == null ? void 0 : v.padding) == null ? void 0 : F.right) === !1,
2120
- [`b-data-grid-cell--${ie.NUMERIC}`]: v == null ? void 0 : v.numeric,
2115
+ [`b-data-grid-cell--${ie.COLUMN_HOVERED}`]: (h == null ? void 0 : h.field) === s.hoveredOverColumnState.hoveredOverColumnField,
2116
+ [`b-data-grid-cell--${ie.COLUMN_HOVERED_NO_BORDER_LEFT}`]: (h == null ? void 0 : h.field) === s.hoveredOverColumnState.hoveredOverColumnField && s.hoveredOverColumnState.noBorderLeft,
2117
+ [`b-data-grid-cell--${ie.COLUMN_HOVERED_NO_BORDER_RIGHT}`]: (h == null ? void 0 : h.field) === s.hoveredOverColumnState.hoveredOverColumnField && s.hoveredOverColumnState.noBorderRight,
2118
+ [`b-data-grid-cell--${ie.PADDING_LEFT_UNSET}`]: ((V = h == null ? void 0 : h.padding) == null ? void 0 : V.left) === !1,
2119
+ [`b-data-grid-cell--${ie.PADDING_RIGHT_UNSET}`]: ((F = h == null ? void 0 : h.padding) == null ? void 0 : F.right) === !1,
2120
+ [`b-data-grid-cell--${ie.NUMERIC}`]: h == null ? void 0 : h.numeric,
2121
2121
  [`b-data-grid-cell--${ie.CONDENSED}`]: s.condensed,
2122
- [`b-data-grid-cell--${ie.OVERFLOW_ELLIPSIS}`]: (v == null ? void 0 : v.overflow) === Ke.ELLIPSIS,
2123
- [`b-data-grid-cell--${ie.IS_COLUMN_REORDERING}`]: ((W = s.draggingColumns.dragging) == null ? void 0 : W.field) === v.field,
2124
- [`b-data-grid-cell--${ie.IS_COLUMN_REORDERING_TARGET_LEFT}`]: ((oe = s.draggingColumns.target) == null ? void 0 : oe.field) === v.field && ((Z = s.draggingColumns) == null ? void 0 : Z.dragToLeft),
2125
- [`b-data-grid-cell--${ie.IS_COLUMN_REORDERING_TARGET_RIGHT}`]: ((m = s.draggingColumns.target) == null ? void 0 : m.field) === v.field && !((D = s.draggingColumns) != null && D.dragToLeft),
2126
- [`b-data-grid-cell--${ie.FROZEN}`]: v == null ? void 0 : v.frozen,
2122
+ [`b-data-grid-cell--${ie.OVERFLOW_ELLIPSIS}`]: (h == null ? void 0 : h.overflow) === Qe.ELLIPSIS,
2123
+ [`b-data-grid-cell--${ie.IS_COLUMN_REORDERING}`]: ((G = s.draggingColumns.dragging) == null ? void 0 : G.field) === h.field,
2124
+ [`b-data-grid-cell--${ie.IS_COLUMN_REORDERING_TARGET_LEFT}`]: ((Z = s.draggingColumns.target) == null ? void 0 : Z.field) === h.field && ((v = s.draggingColumns) == null ? void 0 : v.dragToLeft),
2125
+ [`b-data-grid-cell--${ie.IS_COLUMN_REORDERING_TARGET_RIGHT}`]: ((D = s.draggingColumns.target) == null ? void 0 : D.field) === h.field && !((j = s.draggingColumns) != null && j.dragToLeft),
2126
+ [`b-data-grid-cell--${ie.FROZEN}`]: h == null ? void 0 : h.frozen,
2127
2127
  [`b-data-grid-cell--${ie.NESTED_CONTENT_ENABLED}`]: s.nestedContent,
2128
- [`b-data-grid-cell--${ie.ACTION_COL_NESTED_CONTENT_ENABLED}`]: s.nestedContent && !s.selectable && v.field === fe,
2129
- [`b-data-grid-cell--${ie.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED}`]: s.nestedContent && s.selectable && v.field === fe,
2130
- [`b-data-grid-cell--${ie.ACTION_COL_SELECTION_ENABLED}`]: v.field === fe && s.selectable
2128
+ [`b-data-grid-cell--${ie.ACTION_COL_NESTED_CONTENT_ENABLED}`]: s.nestedContent && !s.selectable && h.field === fe,
2129
+ [`b-data-grid-cell--${ie.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED}`]: s.nestedContent && s.selectable && h.field === fe,
2130
+ [`b-data-grid-cell--${ie.ACTION_COL_SELECTION_ENABLED}`]: h.field === fe && s.selectable,
2131
+ [`b-data-grid-cell--${ie.SLASHED_ZERO}`]: ne.value
2131
2132
  };
2132
2133
  };
2133
2134
  return a({
2134
2135
  gridcellRef: C
2135
- }), (v, V) => {
2136
+ }), (h, V) => {
2136
2137
  var F;
2137
- return c(), y("div", Q({
2138
+ return c(), y("div", ee({
2138
2139
  key: `cell-${e.column.field}`,
2139
2140
  ref_key: "gridcellRef",
2140
2141
  ref: C,
2141
2142
  "aria-hidden": u.value,
2142
2143
  "data-testid": `cell-${e.column.field}`,
2143
2144
  "data-cellindex": R(e.rowIndex, e.colIndex, e.columnSetIndex),
2144
- class: ["b-data-grid-cell", te(e.column)],
2145
+ class: ["b-data-grid-cell", J(e.column)],
2145
2146
  role: "gridcell",
2146
2147
  tabindex: R(e.rowIndex, e.colIndex, e.columnSetIndex) === 0 ? "0" : "-1",
2147
2148
  "aria-colindex": $(e.colIndex, e.columnSetIndex) + 1,
2148
2149
  style: {
2149
2150
  width: e.column.autoWidth && e.isMeasuringColumnWidths ? "auto" : `${e.column.width}px`
2150
2151
  }
2151
- }, xe(S(e.column), !0)), [
2152
+ }, xe(L(e.column), !0)), [
2152
2153
  e.column.field === o(fe) ? (c(), y(ve, { key: 0 }, [
2153
- e.selectable ? (c(), P(o(xt), {
2154
+ e.selectable ? (c(), P(o(Zt), {
2154
2155
  key: 0,
2155
2156
  class: "b-data-grid-cell__select-cell",
2156
2157
  "aria-label": o(t)("selectRow"),
@@ -2158,9 +2159,9 @@ const Xt = {
2158
2159
  indeterminate: e.selectionIsIndeterminate,
2159
2160
  "model-value": e.selectedItems,
2160
2161
  value: e.getDataItemId(e.rowData),
2161
- "onUpdate:modelValue": V[0] || (V[0] = (W) => v.$emit("select-row", W))
2162
+ "onUpdate:modelValue": V[0] || (V[0] = (G) => h.$emit("select-row", G))
2162
2163
  }, null, 8, ["aria-label", "disabled", "indeterminate", "model-value", "value"])) : U("", !0),
2163
- e.nestedContent ? (c(), P(o(it), {
2164
+ e.nestedContent ? (c(), P(o(rt), {
2164
2165
  key: 1,
2165
2166
  ref: "menuButtonRef",
2166
2167
  "aria-haspopup": "true",
@@ -2171,11 +2172,11 @@ const Xt = {
2171
2172
  onClick: p
2172
2173
  }, {
2173
2174
  iconLeft: H(() => [
2174
- e.isNestedContentExpanded ? (c(), P(o(ml), {
2175
+ e.isNestedContentExpanded ? (c(), P(o(hl), {
2175
2176
  key: 0,
2176
2177
  class: "b-accordion-item__icon",
2177
2178
  "svg-title": o(t)("collapseNestedContent")
2178
- }, null, 8, ["svg-title"])) : (c(), P(o(hl), {
2179
+ }, null, 8, ["svg-title"])) : (c(), P(o(Cl), {
2179
2180
  key: 1,
2180
2181
  class: "b-accordion-item__icon",
2181
2182
  "svg-title": o(t)("expandNestedContent")
@@ -2186,22 +2187,22 @@ const Xt = {
2186
2187
  ], 64)) : (c(), y(ve, { key: 1 }, [
2187
2188
  X(o(Ze), { el: "div" }, {
2188
2189
  default: H(() => [
2189
- Se(v.$slots, `item-${e.column.field}`, {
2190
+ Le(h.$slots, `item-${e.column.field}`, {
2190
2191
  item: e.rowData,
2191
2192
  rowIndex: e.rowIndex
2192
2193
  }, () => [
2193
2194
  O("span", {
2194
2195
  title: i(e.column, e.rowData[e.column.field])
2195
- }, q(_(e.rowData[e.column.field])), 9, fo)
2196
+ }, Y(_(e.rowData[e.column.field])), 9, go)
2196
2197
  ], !0)
2197
2198
  ]),
2198
2199
  _: 3
2199
2200
  }),
2200
- ((F = e.column.cellActions) == null ? void 0 : F.length) > 0 ? (c(), y("div", go, [
2201
- N.value && (b.value || o(d)(`item-${e.column.field}`)) ? (c(), P(uo, {
2201
+ ((F = e.column.cellActions) == null ? void 0 : F.length) > 0 ? (c(), y("div", vo, [
2202
+ N.value && (b.value || o(d)(`item-${e.column.field}`)) ? (c(), P(co, {
2202
2203
  key: 0,
2203
2204
  ref_key: "cellActionsRef",
2204
- ref: L,
2205
+ ref: S,
2205
2206
  "cell-actions": e.column.cellActions,
2206
2207
  "column-key": e.column.field,
2207
2208
  "row-data-item": e.rowData,
@@ -2209,16 +2210,16 @@ const Xt = {
2209
2210
  }, null, 8, ["cell-actions", "column-key", "row-data-item"])) : U("", !0)
2210
2211
  ])) : U("", !0)
2211
2212
  ], 64))
2212
- ], 16, co);
2213
+ ], 16, fo);
2213
2214
  };
2214
2215
  }
2215
- }), ho = /* @__PURE__ */ se(mo, [["__scopeId", "data-v-1dc382fc"]]), Co = { class: "b-data-grid-row-container" }, _o = ["id", "aria-selected"], wo = ["data-testid"], Lo = {
2216
+ }), Co = /* @__PURE__ */ oe(ho, [["__scopeId", "data-v-7d208720"]]), _o = { class: "b-data-grid-row-container" }, wo = ["id", "aria-selected"], So = ["data-testid"], Lo = {
2216
2217
  key: 0,
2217
2218
  class: "b-data-grid-row-container__row-nested-rows-loading-container"
2218
- }, So = { key: 2 }, Eo = {
2219
+ }, Eo = { key: 2 }, yo = {
2219
2220
  name: "data-grid-row"
2220
- }, yo = /* @__PURE__ */ Ee({
2221
- ...Eo,
2221
+ }, bo = /* @__PURE__ */ Ee({
2222
+ ...yo,
2222
2223
  props: {
2223
2224
  /**
2224
2225
  * When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
@@ -2397,23 +2398,23 @@ const Xt = {
2397
2398
  },
2398
2399
  emits: ["cell-hovered", "on-frozen-columns-key-press", "select-row", "select-nested-row", "row-click", "nested-content-toggled"],
2399
2400
  setup(e, { expose: a, emit: g }) {
2400
- const n = nt(), d = st(n), t = e, s = g, w = A({}), C = A(!1), L = A(), N = Ye("nested-content-slot"), f = E(() => t.shouldShowNestedRows(t.rowData)), b = E(
2401
+ const n = st(), d = it(n), t = e, s = g, w = T({}), C = T(!1), S = T(), N = Ke("nested-content-slot"), f = E(() => t.shouldShowNestedRows(t.rowData)), b = E(
2401
2402
  () => {
2402
- var m, D;
2403
- return !t.isNestedRow && t.hasNestedRows && f.value && ((D = (m = t.rowData) == null ? void 0 : m.children) == null ? void 0 : D.length) > 0;
2403
+ var v, D;
2404
+ return !t.isNestedRow && t.hasNestedRows && f.value && ((D = (v = t.rowData) == null ? void 0 : v.children) == null ? void 0 : D.length) > 0;
2404
2405
  }
2405
2406
  ), l = E(
2406
2407
  () => {
2407
- var m, D;
2408
- return !t.isNestedRow && t.hasNestedRows && f.value && (((m = t.rowData) == null ? void 0 : m.children) === void 0 || ((D = t == null ? void 0 : t.rowData) == null ? void 0 : D.children.length) === 0);
2408
+ var v, D;
2409
+ return !t.isNestedRow && t.hasNestedRows && f.value && (((v = t.rowData) == null ? void 0 : v.children) === void 0 || ((D = t == null ? void 0 : t.rowData) == null ? void 0 : D.children.length) === 0);
2409
2410
  }
2410
2411
  ), u = E(
2411
2412
  () => t.hasNestedContent && t.shouldShowNestedContent(t.rowData) || t.hasNestedRows && f.value && !t.isNestedRow
2412
2413
  ), i = E(() => {
2413
2414
  if (t.hasNestedContent || t.hasNestedRows) {
2414
- const m = C.value.toString();
2415
+ const v = C.value.toString();
2415
2416
  return {
2416
- "aria-expanded": u.value ? m : void 0,
2417
+ "aria-expanded": u.value ? v : void 0,
2417
2418
  "aria-level": t.isNestedRow ? "2" : "1",
2418
2419
  "aria-posinset": t.rowIndex + 1,
2419
2420
  "aria-setsize": t.rowSetSize
@@ -2435,91 +2436,91 @@ const Xt = {
2435
2436
  role: "row",
2436
2437
  tabindex: "-1"
2437
2438
  };
2438
- }), h = E(() => {
2439
- var m, D;
2440
- return b.value ? (D = (m = t.rowData) == null ? void 0 : m.children) == null ? void 0 : D.reduce((Y, ne, r) => (Y[r] = Ye("nested-row"), Y), {}) : [];
2439
+ }), m = E(() => {
2440
+ var v, D;
2441
+ return b.value ? (D = (v = t.rowData) == null ? void 0 : v.children) == null ? void 0 : D.reduce((j, le, r) => (j[r] = Ke("nested-row"), j), {}) : [];
2441
2442
  }), $ = E(() => {
2442
- var m;
2443
+ var v;
2443
2444
  if (C.value) {
2444
2445
  if (t.hasNestedContent && t.shouldShowNestedContent(t.rowData))
2445
2446
  return [N];
2446
- if (b.value && ((m = Object.keys(h.value)) == null ? void 0 : m.length) > 0) {
2447
- const D = Object.values(h.value);
2447
+ if (b.value && ((v = Object.keys(m.value)) == null ? void 0 : v.length) > 0) {
2448
+ const D = Object.values(m.value);
2448
2449
  if ((D == null ? void 0 : D.length) > 0)
2449
2450
  return D;
2450
2451
  }
2451
2452
  return [];
2452
2453
  }
2453
2454
  }), R = E(() => {
2454
- var D, Y;
2455
- const m = (Y = (D = t.rowData) == null ? void 0 : D.children) == null ? void 0 : Y.map((ne) => t.getDataItemId(ne));
2456
- if ((m == null ? void 0 : m.length) > 0) {
2457
- const ne = m.every((M) => {
2458
- var T;
2459
- return (T = t == null ? void 0 : t.selectedItems) == null ? void 0 : T.includes(M);
2460
- }), r = m.some((M) => {
2461
- var T;
2462
- return (T = t == null ? void 0 : t.selectedItems) == null ? void 0 : T.includes(M);
2455
+ var D, j;
2456
+ const v = (j = (D = t.rowData) == null ? void 0 : D.children) == null ? void 0 : j.map((le) => t.getDataItemId(le));
2457
+ if ((v == null ? void 0 : v.length) > 0) {
2458
+ const le = v.every((M) => {
2459
+ var A;
2460
+ return (A = t == null ? void 0 : t.selectedItems) == null ? void 0 : A.includes(M);
2461
+ }), r = v.some((M) => {
2462
+ var A;
2463
+ return (A = t == null ? void 0 : t.selectedItems) == null ? void 0 : A.includes(M);
2463
2464
  });
2464
- return !ne && r;
2465
+ return !le && r;
2465
2466
  }
2466
2467
  return !1;
2467
- }), B = (m, D) => {
2468
- const Y = m;
2469
- m !== null && (Y != null && Y.gridcellRef) && (w.value[D] = Y.gridcellRef);
2470
- }, K = (m) => h.value[m], S = (m) => {
2468
+ }), B = (v, D) => {
2469
+ const j = v;
2470
+ v !== null && (j != null && j.gridcellRef) && (w.value[D] = j.gridcellRef);
2471
+ }, K = (v) => m.value[v], L = (v) => {
2471
2472
  if (!t.selectable)
2472
2473
  return null;
2473
- const D = t.getDataItemId(m);
2474
+ const D = t.getDataItemId(v);
2474
2475
  return t.selectedItems.includes(D).toString();
2475
- }, p = (m) => {
2476
- t.allowRowClicks && s("row-click", t.rowData, m);
2477
- }, G = (m) => {
2478
- s("select-row", m, t.rowData);
2479
- }, x = (m, D) => {
2480
- s("select-nested-row", D, t.rowData, m);
2481
- }, { updateContentHeight: te, contentHeight: v } = gl(L, C), V = E(() => {
2482
- var m;
2476
+ }, p = (v) => {
2477
+ t.allowRowClicks && s("row-click", t.rowData, v);
2478
+ }, W = (v) => {
2479
+ s("select-row", v, t.rowData);
2480
+ }, x = (v, D) => {
2481
+ s("select-nested-row", D, t.rowData, v);
2482
+ }, { updateContentHeight: ne, contentHeight: J } = vl(S, C), h = E(() => {
2483
+ var v;
2483
2484
  if (t.hasNestedContent || t.hasNestedRows)
2484
2485
  return {
2485
- paddingLeft: `${b.value || l.value ? 0 : w.value[fe].clientWidth + Zt}px`,
2486
- "max-height": (t.hasNestedContent || t.hasNestedRows) && v.value && !((m = v == null ? void 0 : v.value) != null && m.includes("null")) ? v.value : 0
2486
+ paddingLeft: `${b.value || l.value ? 0 : w.value[fe].clientWidth + jt}px`,
2487
+ "max-height": (t.hasNestedContent || t.hasNestedRows) && J.value && !((v = J == null ? void 0 : J.value) != null && v.includes("null")) ? J.value : 0
2487
2488
  };
2488
2489
  });
2489
2490
  me(
2490
- () => L.value,
2491
+ () => S.value,
2491
2492
  () => {
2492
- let m = null;
2493
- !m && L.value && (m = ot(L.value, () => {
2494
- L.value && te();
2493
+ let v = null;
2494
+ !v && S.value && (v = at(S.value, () => {
2495
+ S.value && ne();
2495
2496
  }));
2496
2497
  }
2497
2498
  );
2498
- const F = () => {
2499
- C.value = !C.value, te(), s("nested-content-toggled", t.rowData);
2499
+ const V = () => {
2500
+ C.value = !C.value, ne(), s("nested-content-toggled", t.rowData);
2500
2501
  };
2501
2502
  me(
2502
2503
  () => {
2503
- var m;
2504
- return (m = t.rowData) == null ? void 0 : m.children;
2504
+ var v;
2505
+ return (v = t.rowData) == null ? void 0 : v.children;
2505
2506
  },
2506
- (m, D) => {
2507
- var Y, ne;
2508
- ((ne = (Y = t == null ? void 0 : t.rowData) == null ? void 0 : Y.children) == null ? void 0 : ne.length) > 0 && D === void 0 && !C.value && te();
2507
+ (v, D) => {
2508
+ var j, le;
2509
+ ((le = (j = t == null ? void 0 : t.rowData) == null ? void 0 : j.children) == null ? void 0 : le.length) > 0 && D === void 0 && !C.value && ne();
2509
2510
  }
2510
2511
  );
2511
- const W = (m, D) => ({
2512
- "b-data-grid-row-container__row--disabled": t.isDataItemDisabled(m),
2512
+ const F = (v, D) => ({
2513
+ "b-data-grid-row-container__row--disabled": t.isDataItemDisabled(v),
2513
2514
  "b-data-grid-row-container__row--row-clicks-enabled": t.allowRowClicks,
2514
- "b-data-grid-row-container__row--highlighted": t.highlightedRows.includes(t.getDataItemId(m)) || t.selectedItems.includes(t.getDataItemId(m)),
2515
+ "b-data-grid-row-container__row--highlighted": t.highlightedRows.includes(t.getDataItemId(v)) || t.selectedItems.includes(t.getDataItemId(v)),
2515
2516
  "b-data-grid-row-container__row--hovered": t.hoveredRowIndex === D,
2516
2517
  "b-data-grid-row-container__row--is-last-child": t.isRowLastChild && !C.value,
2517
2518
  "b-data-grid-row-container__row--nested-row": t.isNestedRow
2518
- }), oe = (m) => ({
2519
- "b-data-grid-row-container__row-cell-set--frozen": m,
2520
- [`b-data-grid-row-container__row-cell-set--${pe.OVERFLOW_SHADOW_LEFT}`]: m && t.hasLeftOverflow,
2521
- "b-data-grid-row-container__row-cell-set--frozen-separator": m && t.showFrozenColumnsSeparator,
2522
- "b-data-grid-row-container__row-cell-set--unfrozen": !m,
2519
+ }), G = (v) => ({
2520
+ "b-data-grid-row-container__row-cell-set--frozen": v,
2521
+ [`b-data-grid-row-container__row-cell-set--${pe.OVERFLOW_SHADOW_LEFT}`]: v && t.hasLeftOverflow,
2522
+ "b-data-grid-row-container__row-cell-set--frozen-separator": v && t.showFrozenColumnsSeparator,
2523
+ "b-data-grid-row-container__row-cell-set--unfrozen": !v,
2523
2524
  "b-data-grid-row-container__row-cell-set--is-measuring": t.isMeasuringColumnWidths
2524
2525
  }), Z = E(() => ({
2525
2526
  "b-data-grid-row-container__row-nested-slot--is-last-child": t.isRowLastChild,
@@ -2527,27 +2528,27 @@ const Xt = {
2527
2528
  }));
2528
2529
  return a({
2529
2530
  gridcellRefs: w
2530
- }), (m, D) => (c(), y("div", Co, [
2531
- (c(), y("div", Q(i.value, {
2531
+ }), (v, D) => (c(), y("div", _o, [
2532
+ (c(), y("div", ee(i.value, {
2532
2533
  id: e.rowId,
2533
2534
  key: e.rowIndex,
2534
- class: ["b-data-grid-row-container__row", W(e.rowData, e.rowIndex)],
2535
+ class: ["b-data-grid-row-container__row", F(e.rowData, e.rowIndex)],
2535
2536
  role: "row",
2536
- "aria-selected": S(e.rowData),
2537
+ "aria-selected": L(e.rowData),
2537
2538
  onClick: p
2538
2539
  }), [
2539
- (c(!0), y(ve, null, Ce(e.columnSets, ({ columnSet: Y, id: ne, isFrozenColumns: r }, M) => (c(), y(ve, null, [
2540
- Y != null && Y.length ? (c(), y("div", {
2541
- key: `data-grid-rows-${ne}`,
2542
- class: ce(["b-data-grid-row-container__cells", oe(r)]),
2543
- "data-testid": `data-grid-${ne}-rows`
2540
+ (c(!0), y(ve, null, Ce(e.columnSets, ({ columnSet: j, id: le, isFrozenColumns: r }, M) => (c(), y(ve, null, [
2541
+ j != null && j.length ? (c(), y("div", {
2542
+ key: `data-grid-rows-${le}`,
2543
+ class: ce(["b-data-grid-row-container__cells", G(r)]),
2544
+ "data-testid": `data-grid-${le}-rows`
2544
2545
  }, [
2545
- (c(!0), y(ve, null, Ce(Y, (T, ae) => (c(), P(o(ho), {
2546
- key: `cell-${T.field}`,
2546
+ (c(!0), y(ve, null, Ce(j, (A, ae) => (c(), P(o(Co), {
2547
+ key: `cell-${A.field}`,
2547
2548
  ref_for: !0,
2548
- ref: (J) => B(J, T.field),
2549
+ ref: (Q) => B(Q, A.field),
2549
2550
  class: "b-data-grid-row-container__cell",
2550
- column: T,
2551
+ column: A,
2551
2552
  "column-set-index": M,
2552
2553
  "col-index": ae,
2553
2554
  "column-sets": e.columnSets,
@@ -2566,57 +2567,57 @@ const Xt = {
2566
2567
  "selection-is-indeterminate": R.value,
2567
2568
  selectable: e.selectable,
2568
2569
  "selected-items": e.selectedItems,
2569
- onCellHovered: D[0] || (D[0] = (J) => s("cell-hovered", J)),
2570
- onOnFrozenColumnsKeyPress: D[1] || (D[1] = (J) => s("on-frozen-columns-key-press", J)),
2571
- onSelectRow: G,
2572
- onNestedContentToggled: F
2573
- }, Ae({ _: 2 }, [
2574
- Ce(o(n), (J, Re) => ({
2570
+ onCellHovered: D[0] || (D[0] = (Q) => s("cell-hovered", Q)),
2571
+ onOnFrozenColumnsKeyPress: D[1] || (D[1] = (Q) => s("on-frozen-columns-key-press", Q)),
2572
+ onSelectRow: W,
2573
+ onNestedContentToggled: V
2574
+ }, Te({ _: 2 }, [
2575
+ Ce(o(n), (Q, Re) => ({
2575
2576
  name: Re,
2576
- fn: H((Te) => [
2577
- Se(m.$slots, Re, Q({ ref_for: !0 }, Te), void 0, !0)
2577
+ fn: H((Ae) => [
2578
+ Le(v.$slots, Re, ee({ ref_for: !0 }, Ae), void 0, !0)
2578
2579
  ])
2579
2580
  }))
2580
2581
  ]), 1032, ["column", "column-set-index", "col-index", "column-sets", "condensed", "dragging-columns", "dragging-events-for-row-cell", "get-data-item-id", "hovered-over-column-state", "is-data-item-disabled", "is-measuring-column-widths", "is-nested-content-expanded", "nested-content", "nested-rows-element-ids", "row-data", "row-index", "selection-is-indeterminate", "selectable", "selected-items"]))), 128))
2581
- ], 10, wo)) : U("", !0)
2582
+ ], 10, So)) : U("", !0)
2582
2583
  ], 64))), 256))
2583
- ], 16, _o)),
2584
+ ], 16, wo)),
2584
2585
  e.hasNestedContent && o(d)("nested-slot") && e.shouldShowNestedContent(e.rowData) || e.hasNestedRows && f.value ? (c(), P(Bt, {
2585
2586
  key: `${e.rowIndex}-nest-content`,
2586
2587
  name: "b-data-grid-row-container__animation--nested-content"
2587
2588
  }, {
2588
2589
  default: H(() => [
2589
- C.value ? (c(), y("div", Q({ key: 0 }, _.value, {
2590
+ C.value ? (c(), y("div", ee({ key: 0 }, _.value, {
2590
2591
  class: Z.value,
2591
2592
  "data-testid": "nested-content-container",
2592
- style: V.value
2593
+ style: h.value
2593
2594
  }), [
2594
2595
  O("div", {
2595
2596
  ref_key: "nestedContentRef",
2596
- ref: L
2597
+ ref: S
2597
2598
  }, [
2598
2599
  l.value ? (c(), y("div", Lo, [
2599
- X(o(lt))
2600
- ])) : b.value ? (c(!0), y(ve, { key: 1 }, Ce(e.rowData.children, (Y, ne) => (c(), P(Kt, Q({ ref_for: !0 }, t, {
2601
- id: K(ne),
2602
- key: `child-${ne}`,
2603
- "row-data": Y,
2604
- "row-index": ne,
2600
+ X(o(ot))
2601
+ ])) : b.value ? (c(!0), y(ve, { key: 1 }, Ce(e.rowData.children, (j, le) => (c(), P(Qt, ee({ ref_for: !0 }, t, {
2602
+ id: K(le),
2603
+ key: `child-${le}`,
2604
+ "row-data": j,
2605
+ "row-index": le,
2605
2606
  "row-set-size": e.rowData.children.length,
2606
2607
  "is-nested-row": "",
2607
2608
  onCellHovered: D[2] || (D[2] = (r) => s("cell-hovered", r)),
2608
2609
  onRowClick: D[3] || (D[3] = (r) => s("row-click", r)),
2609
2610
  onOnFrozenColumnsKeyPress: D[4] || (D[4] = (r) => s("con-frozen-columns-key-press", r)),
2610
- onSelectRow: (r) => x(Y, r)
2611
- }), Ae({ _: 2 }, [
2611
+ onSelectRow: (r) => x(j, r)
2612
+ }), Te({ _: 2 }, [
2612
2613
  Ce(o(n), (r, M) => ({
2613
2614
  name: M,
2614
- fn: H((T) => [
2615
- Se(m.$slots, M, Q({ ref_for: !0 }, T), void 0, !0)
2615
+ fn: H((A) => [
2616
+ Le(v.$slots, M, ee({ ref_for: !0 }, A), void 0, !0)
2616
2617
  ])
2617
2618
  }))
2618
- ]), 1040, ["id", "row-data", "row-index", "row-set-size", "onSelectRow"]))), 128)) : o(d)("nested-slot") && e.shouldShowNestedContent(e.rowData) ? (c(), y("div", So, [
2619
- Se(m.$slots, "nested-slot", { item: e.rowData }, void 0, !0)
2619
+ ]), 1040, ["id", "row-data", "row-index", "row-set-size", "onSelectRow"]))), 128)) : o(d)("nested-slot") && e.shouldShowNestedContent(e.rowData) ? (c(), y("div", Eo, [
2620
+ Le(v.$slots, "nested-slot", { item: e.rowData }, void 0, !0)
2620
2621
  ])) : U("", !0)
2621
2622
  ], 512)
2622
2623
  ], 16)) : U("", !0)
@@ -2625,22 +2626,22 @@ const Xt = {
2625
2626
  })) : U("", !0)
2626
2627
  ]));
2627
2628
  }
2628
- }), Kt = /* @__PURE__ */ se(yo, [["__scopeId", "data-v-792dbd50"]]);
2629
- let Ut = 0;
2630
- const bo = {
2629
+ }), Qt = /* @__PURE__ */ oe(bo, [["__scopeId", "data-v-792dbd50"]]);
2630
+ let Ft = 0;
2631
+ const po = {
2631
2632
  beforeCreate() {
2632
- this.uuid = Ut.toString(), Ut += 1;
2633
+ this.uuid = Ft.toString(), Ft += 1;
2633
2634
  }
2634
- }, po = { key: 0 }, Oo = ["clip-path"], Ro = ["id"];
2635
- function No(e, a, g, n, d, t) {
2636
- return c(), y("svg", Q({ role: "img" }, e.$attrs, {
2635
+ }, Oo = { key: 0 }, Ro = ["clip-path"], No = ["id"];
2636
+ function Ao(e, a, g, n, d, t) {
2637
+ return c(), y("svg", ee({ role: "img" }, e.$attrs, {
2637
2638
  class: "ui-assets-icons-16",
2638
2639
  xmlns: "http://www.w3.org/2000/svg",
2639
2640
  width: "16",
2640
2641
  height: "16",
2641
2642
  fill: "none"
2642
2643
  }), [
2643
- e.$attrs["svg-title"] ? (c(), y("title", po, q(e.$attrs["svg-title"]), 1)) : U("", !0),
2644
+ e.$attrs["svg-title"] ? (c(), y("title", Oo, Y(e.$attrs["svg-title"]), 1)) : U("", !0),
2644
2645
  O("g", {
2645
2646
  "clip-path": "url(#uia-icons-16-warning_circle_fill__a" + e.uuid + ")"
2646
2647
  }, a[0] || (a[0] = [
@@ -2648,7 +2649,7 @@ function No(e, a, g, n, d, t) {
2648
2649
  fill: "#00112C",
2649
2650
  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"
2650
2651
  }, null, -1)
2651
- ]), 8, Oo),
2652
+ ]), 8, Ro),
2652
2653
  O("defs", null, [
2653
2654
  O("clipPath", {
2654
2655
  id: "uia-icons-16-warning_circle_fill__a" + e.uuid
@@ -2658,12 +2659,12 @@ function No(e, a, g, n, d, t) {
2658
2659
  height: "16",
2659
2660
  fill: "#fff"
2660
2661
  }, null, -1)
2661
- ]), 8, Ro)
2662
+ ]), 8, No)
2662
2663
  ])
2663
2664
  ], 16);
2664
2665
  }
2665
- const To = /* @__PURE__ */ se(bo, [["render", No]]), Ao = ["aria-label"], Io = {}, $o = /* @__PURE__ */ Ee({
2666
- ...Io,
2666
+ const To = /* @__PURE__ */ oe(po, [["render", Ao]]), Io = ["aria-label"], $o = {}, Do = /* @__PURE__ */ Ee({
2667
+ ...$o,
2667
2668
  __name: "data-grid-static-icon",
2668
2669
  props: {
2669
2670
  colored: { type: Boolean, default: !1 },
@@ -2674,22 +2675,22 @@ const To = /* @__PURE__ */ se(bo, [["render", No]]), Ao = ["aria-label"], Io = {
2674
2675
  const a = e, g = E(() => {
2675
2676
  switch (a.variant) {
2676
2677
  case "checkmark":
2677
- return xn;
2678
- case "warning":
2679
2678
  return Zn;
2679
+ case "warning":
2680
+ return jn;
2680
2681
  case "error":
2681
2682
  return To;
2682
2683
  case "cross":
2683
- return Wt;
2684
+ return Gt;
2684
2685
  case "no-value":
2685
- return Ct;
2686
+ return _t;
2686
2687
  default:
2687
- return Ct;
2688
+ return _t;
2688
2689
  }
2689
2690
  }), n = E(() => ({
2690
2691
  "b-data-grid-static-icon--colored": a.colored && a.variant !== "no-value"
2691
- })), d = E(() => `b-data-grid-static-icon__${a.variant}`), t = E(() => qn.AUTO);
2692
- return (s, w) => tt((c(), y("div", {
2692
+ })), d = E(() => `b-data-grid-static-icon__${a.variant}`), t = E(() => Yn.AUTO);
2693
+ return (s, w) => lt((c(), y("div", {
2693
2694
  "aria-label": s.tooltipText,
2694
2695
  class: ce(["b-data-grid-static-icon", n.value]),
2695
2696
  tabindex: "0"
@@ -2698,27 +2699,27 @@ const To = /* @__PURE__ */ se(bo, [["render", No]]), Ao = ["aria-label"], Io = {
2698
2699
  class: ce(d.value),
2699
2700
  "svg-title": s.tooltipText
2700
2701
  }, null, 8, ["class", "svg-title"]))
2701
- ], 10, Ao)), [
2702
- [o(jn), s.tooltipText, t.value]
2702
+ ], 10, Io)), [
2703
+ [o(qn), s.tooltipText, t.value]
2703
2704
  ]);
2704
2705
  }
2705
- }), Ai = /* @__PURE__ */ se($o, [["__scopeId", "data-v-3ee55e9a"]]), Do = ["aria-rowcount", "aria-colcount", "aria-label", "role"], ko = {
2706
+ }), Ii = /* @__PURE__ */ oe(Do, [["__scopeId", "data-v-3ee55e9a"]]), ko = ["aria-rowcount", "aria-colcount", "aria-label", "role"], Mo = {
2706
2707
  key: 1,
2707
2708
  class: "b-data-grid__header"
2708
- }, Mo = ["tabindex"], zo = ["tabindex", "aria-busy"], Uo = {
2709
+ }, zo = ["tabindex"], Uo = ["tabindex", "aria-busy"], Fo = {
2709
2710
  key: 0,
2710
2711
  class: "b-data-grid__loading"
2711
- }, Fo = {
2712
+ }, Po = {
2712
2713
  key: 1,
2713
2714
  class: "b-data-grid__empty-state"
2714
- }, Po = {
2715
+ }, Bo = {
2715
2716
  key: 5,
2716
2717
  class: "b-data-grid__footer"
2717
- }, Bo = {
2718
+ }, Wo = {
2718
2719
  i18n: { messages: je },
2719
2720
  name: "bento-data-grid"
2720
- }, Wo = /* @__PURE__ */ Ee({
2721
- ...Bo,
2721
+ }, Go = /* @__PURE__ */ Ee({
2722
+ ...Wo,
2722
2723
  props: {
2723
2724
  /**
2724
2725
  * When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
@@ -2891,6 +2892,10 @@ const To = /* @__PURE__ */ se(bo, [["render", No]]), Ao = ["aria-label"], Io = {
2891
2892
  type: Boolean,
2892
2893
  default: !1
2893
2894
  },
2895
+ /**
2896
+ * Renders a font numeric style with slashed zeros instead of normal ones.
2897
+ */
2898
+ slashedZero: { type: Boolean, default: !1 },
2894
2899
  /**
2895
2900
  * Sticks the horizontal scrollbar to the bottom of the screen if the data-grid is larger than the screen height.
2896
2901
  */
@@ -2989,164 +2994,164 @@ const To = /* @__PURE__ */ se(bo, [["render", No]]), Ao = ["aria-label"], Io = {
2989
2994
  k.SORT
2990
2995
  ],
2991
2996
  setup(e, { expose: a, emit: g }) {
2992
- const n = e, d = nt(), t = st(d), s = A(null), w = A(), C = A({}), L = A(null), N = A(null), f = A(), b = A(null), l = A(null), {
2997
+ const n = e, d = st(), t = it(d), s = T(null), w = T(), C = T({}), S = T(null), N = T(null), f = T(), b = T(null), l = T(null), {
2993
2998
  allowColumnDragAndDrop: u,
2994
2999
  columns: i,
2995
3000
  columnPanel: _,
2996
- data: h,
3001
+ data: m,
2997
3002
  lazyLoadType: $,
2998
3003
  loading: R,
2999
3004
  hasNestedContent: B,
3000
3005
  hasNestedRows: K,
3001
- selectable: S,
3006
+ selectable: L,
3002
3007
  selection: p,
3003
- selectableAcrossPages: G,
3008
+ selectableAcrossPages: W,
3004
3009
  stickyPagination: x,
3005
- outline: te,
3006
- pagination: v
3007
- } = Qe(n), V = A(-1), { t: F } = Ne({ messages: je }), W = E(() => ne.value.filter((I) => I.frozen).length), oe = ht(
3008
- tl,
3010
+ outline: ne,
3011
+ pagination: J
3012
+ } = tt(n), h = T(-1), { t: V } = Ne({ messages: je }), F = E(() => le.value.filter((I) => I.frozen).length), G = Xe(
3013
+ nl,
3009
3014
  () => ({
3010
3015
  isDataGridTemplate: !1,
3011
- stickyTabs: A(!1),
3012
- tabsRef: A(null)
3016
+ stickyTabs: T(!1),
3017
+ tabsRef: T(null)
3013
3018
  })
3014
- ), { isDataGridTemplate: Z, stickyTabs: m, tabsRef: D } = oe(), Y = E(() => n.fitContent || Z ? 0 : null), {
3015
- columnDefs: ne,
3019
+ ), { isDataGridTemplate: Z, stickyTabs: v, tabsRef: D } = G(), j = E(() => n.fitContent || Z ? 0 : null), {
3020
+ columnDefs: le,
3016
3021
  onColumnWidthOverride: r,
3017
3022
  gridColumnWidthStyle: M,
3018
- isMeasuringColumnWidths: T,
3023
+ isMeasuringColumnWidths: A,
3019
3024
  isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: ae,
3020
- columns: J,
3025
+ columns: Q,
3021
3026
  totalWidthOfAllColumns: Re
3022
- } = Nl(i, h, s, C, L, {
3027
+ } = Al(i, m, s, C, S, {
3023
3028
  hasColumnPanel: _,
3024
- hasSelectableColumn: S,
3025
- hasSelectableAcrossPages: G,
3029
+ hasSelectableColumn: L,
3030
+ hasSelectableAcrossPages: W,
3026
3031
  hasNestedContent: B,
3027
3032
  hasNestedRows: K,
3028
3033
  allowColumnDragAndDrop: u,
3029
3034
  isDataGridTemplate: Z
3030
- }), Te = g, le = (I, ...z) => {
3031
- (I === k.COLUMNS || I === k.UPDATE_COLUMNS) && ([J.value] = z), Te(I, ...z);
3032
- }, Ie = bt(D, m), ze = E(
3035
+ }), Ae = g, se = (I, ...z) => {
3036
+ (I === k.COLUMNS || I === k.UPDATE_COLUMNS) && ([Q.value] = z), Ae(I, ...z);
3037
+ }, Ie = pt(D, v), ze = E(
3033
3038
  () => n.stickyFilters ? `${Ie.value}px` : null
3034
- ), Ue = bt(N, Pt(n, "stickyFilters")), Fe = E(
3039
+ ), Ue = pt(N, Ye(n, "stickyFilters")), Fe = E(
3035
3040
  () => `${Ue.value + Ie.value}px`
3036
3041
  ), {
3037
- sortedColumns: Jt,
3042
+ sortedColumns: en,
3038
3043
  columnSets: Pe,
3039
- isOnlyOneVisibleColumn: Qt,
3040
- onConfigSettingsUpdate: en,
3041
- onConfigSettingsColumnsUpdate: tn,
3042
- onConfigSettingsColumnUpdate: nn
3043
- } = Ml(ne, le), { hoveredOverColumn: ln, hoveredOverColumnState: at } = Ul(
3044
+ isOnlyOneVisibleColumn: tn,
3045
+ onConfigSettingsUpdate: nn,
3046
+ onConfigSettingsColumnsUpdate: ln,
3047
+ onConfigSettingsColumnUpdate: sn
3048
+ } = zl(le, se), { hoveredOverColumn: on, hoveredOverColumnState: dt } = Fl(
3044
3049
  Pe,
3045
- S,
3046
- te,
3050
+ L,
3051
+ ne,
3047
3052
  ae
3048
- ), { draggingColumns: rt, draggingEventsForColumns: sn, draggingEventsForRowCell: on, onMoveColumnByOffset: an } = kl(Jt, u, le), { onAllRowSelect: dt, onRowSelect: rn, onNestedRowSelect: dn, selectedItems: ut, allItemsSelectedState: un } = Tl(
3053
+ ), { draggingColumns: ut, draggingEventsForColumns: an, draggingEventsForRowCell: rn, onMoveColumnByOffset: dn } = Ml(en, u, se), { onAllRowSelect: ct, onRowSelect: un, onNestedRowSelect: cn, selectedItems: ft, allItemsSelectedState: fn } = Tl(
3049
3054
  p,
3050
- le,
3051
- h,
3055
+ se,
3056
+ m,
3052
3057
  n.getDataItemId,
3053
3058
  n.isDataItemDisabled
3054
- ), { navigationInput: ct } = Il(L, i, S), { isLazyLoad: $e, isInfiniteScroll: cn, verticalScrollPosition: fn, emitLazyLoadEvent: gn } = Dl(
3059
+ ), { navigationInput: gt } = $l(S, i, L), { isLazyLoad: $e, isInfiniteScroll: gn, verticalScrollPosition: vn, emitLazyLoadEvent: mn } = kl(
3055
3060
  $,
3056
3061
  b,
3057
3062
  s,
3058
3063
  R,
3059
- le
3064
+ se
3060
3065
  ), {
3061
3066
  updateScrollPosition: Be,
3062
- updateScrollPositionOnFrozenColumnsNavigation: vn,
3063
- syncVirtualScrollerWithBody: ft,
3067
+ updateScrollPositionOnFrozenColumnsNavigation: hn,
3068
+ syncVirtualScrollerWithBody: vt,
3064
3069
  hasLeftOverflow: We,
3065
- hasRightOverflow: mn,
3066
- horizontalScrollbarConditionalClasses: hn
3067
- } = zl(s, w, fn, l, {
3070
+ hasRightOverflow: Cn,
3071
+ horizontalScrollbarConditionalClasses: _n
3072
+ } = Ul(s, w, vn, l, {
3068
3073
  isLazyLoad: $e,
3069
- pagination: v,
3074
+ pagination: J,
3070
3075
  stickyPagination: x,
3071
3076
  isDataGridTemplate: Z
3072
- }), Cn = () => {
3077
+ }), wn = () => {
3073
3078
  f.value.isClearAllVisible ? f.value.clearAllFilters() : f.value.isResetAllVisible && f.value.resetAllFilters();
3074
- }, _n = E(() => {
3079
+ }, Sn = E(() => {
3075
3080
  var I, z;
3076
3081
  return {
3077
3082
  ...n.emptyState,
3078
3083
  variant: ((I = n.emptyState) == null ? void 0 : I.variant) === "embedded" || ((z = n.emptyState) == null ? void 0 : z.variant) === "basic" ? n.emptyState.variant : "basic"
3079
3084
  };
3080
- }), wn = E(() => ({
3085
+ }), Ln = E(() => ({
3081
3086
  [`b-data-grid--${pe.OUTLINE}`]: n.outline,
3082
3087
  [`b-data-grid--${pe.SCROLL}`]: n.fitContent || $e.value,
3083
3088
  [`b-data-grid--${pe.STICKY_FILTERS}`]: n.filters && n.stickyFilters,
3084
- [`b-data-grid--${pe.OVERFLOW_SHADOW_LEFT}`]: We.value && !W.value,
3085
- [`b-data-grid--${pe.OVERFLOW_SHADOW_RIGHT}`]: mn.value,
3089
+ [`b-data-grid--${pe.OVERFLOW_SHADOW_LEFT}`]: We.value && !F.value,
3090
+ [`b-data-grid--${pe.OVERFLOW_SHADOW_RIGHT}`]: Cn.value,
3086
3091
  [`b-data-grid--${pe.NO_SPACING_TOP}`]: n.noSpacingTop
3087
- })), Ln = E(() => ({
3092
+ })), En = E(() => ({
3088
3093
  "b-data-grid__body--sticky-horizontal-scrollbar": n.stickyHorizontalScrollbar
3089
- })), Sn = E(() => Pe.value.findIndex((I) => I.columnSet.length)), gt = E(() => !((n.selectable || n.hasNestedContent || n.hasNestedRows) && W.value === 1) || We.value), En = E(() => ({
3094
+ })), yn = E(() => Pe.value.findIndex((I) => I.columnSet.length)), mt = E(() => !((n.selectable || n.hasNestedContent || n.hasNestedRows) && F.value === 1) || We.value), bn = E(() => ({
3090
3095
  "b-data-grid__filters--sticky": !!n.stickyFilters || Z
3091
- })), yn = E(() => {
3092
- var I, z, re, j, _e, we;
3096
+ })), pn = E(() => {
3097
+ var I, z, re, q, _e, we;
3093
3098
  return {
3094
3099
  "b-data-grid__pagination--padding-left-unset": ((re = (z = (I = n.columns) == null ? void 0 : I[0]) == null ? void 0 : z.padding) == null ? void 0 : re.left) === !1,
3095
- "b-data-grid__pagination--padding-right-unset": ((we = (_e = (j = n.columns) == null ? void 0 : j[n.columns.length - 1]) == null ? void 0 : _e.padding) == null ? void 0 : we.right) === !1,
3100
+ "b-data-grid__pagination--padding-right-unset": ((we = (_e = (q = n.columns) == null ? void 0 : q[n.columns.length - 1]) == null ? void 0 : _e.padding) == null ? void 0 : we.right) === !1,
3096
3101
  "b-data-grid__pagination--sticky": !!n.stickyPagination || Z
3097
3102
  };
3098
- }), bn = (I) => {
3103
+ }), On = (I) => {
3099
3104
  const z = I;
3100
- I !== null && (z != null && z.columnHeaderRefs) && Object.entries(z == null ? void 0 : z.columnHeaderRefs).forEach(([re, j]) => {
3101
- C.value[re] = j;
3105
+ I !== null && (z != null && z.columnHeaderRefs) && Object.entries(z == null ? void 0 : z.columnHeaderRefs).forEach(([re, q]) => {
3106
+ C.value[re] = q;
3102
3107
  });
3103
- }, pn = (I, z) => {
3108
+ }, Rn = (I, z) => {
3104
3109
  const re = I;
3105
- I !== null && (re != null && re.gridcellRefs) && Object.entries(re == null ? void 0 : re.gridcellRefs).map(([j, _e]) => {
3110
+ I !== null && (re != null && re.gridcellRefs) && Object.entries(re == null ? void 0 : re.gridcellRefs).map(([q, _e]) => {
3106
3111
  var we;
3107
- ((we = L.value) == null ? void 0 : we[j]) === void 0 && (L.value = { ...L.value, [j]: [] }), L.value[j][z] = _e;
3112
+ ((we = S.value) == null ? void 0 : we[q]) === void 0 && (S.value = { ...S.value, [q]: [] }), S.value[q][z] = _e;
3108
3113
  });
3109
- }, On = (I, z) => {
3110
- n.allowRowClicks && le(k.ROW_CLICK, I, z);
3111
- }, Rn = (I) => {
3112
- V.value = I;
3113
- }, Nn = E(() => !!n.selectableAcrossPages && !!n.pagination), Tn = E(() => n.hasNestedContent || n.hasNestedRows ? "treegrid" : "grid"), vt = Kn({
3114
- label: d != null && d.header ? Jn(d)("header") : null,
3114
+ }, Nn = (I, z) => {
3115
+ n.allowRowClicks && se(k.ROW_CLICK, I, z);
3116
+ }, An = (I) => {
3117
+ h.value = I;
3118
+ }, Tn = E(() => !!n.selectableAcrossPages && !!n.pagination), In = E(() => n.hasNestedContent || n.hasNestedRows ? "treegrid" : "grid"), ht = Jn({
3119
+ label: d != null && d.header ? Qn(d)("header") : null,
3115
3120
  defaultFallback: "data grid"
3116
- }), mt = E(() => {
3121
+ }), Ct = E(() => {
3117
3122
  var I;
3118
- return ((I = ut.value) == null ? void 0 : I.length) ?? 0;
3119
- }), An = E(() => n.bulkActions && mt.value > 0), In = (I) => le(k.COLUMN_RESIZE, I), $n = (I) => {
3120
- le(k.UPDATE_SORT_BY, I), le(k.SORT, I);
3121
- }, Dn = (I, z) => {
3122
- le(k.NAVIGATE, I), le(k.UPDATE_PAGINATION, {
3123
+ return ((I = ft.value) == null ? void 0 : I.length) ?? 0;
3124
+ }), $n = E(() => n.bulkActions && Ct.value > 0), Dn = (I) => se(k.COLUMN_RESIZE, I), kn = (I) => {
3125
+ se(k.UPDATE_SORT_BY, I), se(k.SORT, I);
3126
+ }, Mn = (I, z) => {
3127
+ se(k.NAVIGATE, I), se(k.UPDATE_PAGINATION, {
3123
3128
  ...n.pagination,
3124
3129
  size: z,
3125
3130
  page: I
3126
3131
  });
3127
- }, kn = (I) => {
3128
- le(k.ITEMS_PAGE, I);
3129
- }, Mn = () => {
3130
- le(k.FILTER_SEARCH_CLEAR);
3131
3132
  }, zn = (I) => {
3132
- le(k.UPDATE_FILTER_SEARCH_TERM, I), le(k.FILTER_SEARCH_INPUT, I);
3133
+ se(k.ITEMS_PAGE, I);
3134
+ }, Un = () => {
3135
+ se(k.FILTER_SEARCH_CLEAR);
3136
+ }, Fn = (I) => {
3137
+ se(k.UPDATE_FILTER_SEARCH_TERM, I), se(k.FILTER_SEARCH_INPUT, I);
3133
3138
  };
3134
- return E(() => i.value.some((I) => I.mandatory)).value || Gt(
3139
+ return E(() => i.value.some((I) => I.mandatory)).value || Ht(
3135
3140
  "WARNING: At least one BentoDataGrid column should be set as mandatory to ensure data is always displayed correctly."
3136
- ), ht(el, () => null)(n.tabTitle), a({ onEmptyStateClearResetButtonClick: Cn }), (I, z) => {
3141
+ ), Xe(tl, () => null)(n.tabTitle), Wt(Kt, Ye(n, "slashedZero")), a({ onEmptyStateClearResetButtonClick: wn }), (I, z) => {
3137
3142
  var re;
3138
3143
  return c(), y("div", {
3139
- class: ce(["b-data-grid", wn.value]),
3140
- "aria-rowcount": o(h).length,
3144
+ class: ce(["b-data-grid", Ln.value]),
3145
+ "aria-rowcount": o(m).length,
3141
3146
  "aria-colcount": o(i).length,
3142
- "aria-label": o(vt),
3143
- role: Tn.value
3147
+ "aria-label": o(ht),
3148
+ role: In.value
3144
3149
  }, [
3145
3150
  e.filters ? (c(), y("div", {
3146
3151
  key: 0,
3147
3152
  ref_key: "filtersRef",
3148
3153
  ref: N,
3149
- class: ce(["b-data-grid__filters", En.value]),
3154
+ class: ce(["b-data-grid__filters", bn.value]),
3150
3155
  style: ke({ top: ze.value })
3151
3156
  }, [
3152
3157
  e.filters ? (c(), P(He, {
@@ -3156,97 +3161,97 @@ const To = /* @__PURE__ */ se(bo, [["render", No]]), Ao = ["aria-label"], Io = {
3156
3161
  config: e.filters,
3157
3162
  "filter-values": e.filterValues,
3158
3163
  "search-term": e.filterSearchTerm,
3159
- onSearchInput: zn,
3160
- onSearchClear: Mn,
3161
- onInput: z[0] || (z[0] = (j) => I.$emit(o(k).UPDATE_FILTERS, j)),
3162
- "onUpdate:filterValues": z[1] || (z[1] = (j) => I.$emit(o(k).UPDATE_FILTER_VALUES, j))
3164
+ onSearchInput: Fn,
3165
+ onSearchClear: Un,
3166
+ onInput: z[0] || (z[0] = (q) => I.$emit(o(k).UPDATE_FILTERS, q)),
3167
+ "onUpdate:filterValues": z[1] || (z[1] = (q) => I.$emit(o(k).UPDATE_FILTER_VALUES, q))
3163
3168
  }, null, 8, ["config", "filter-values", "search-term"])) : U("", !0)
3164
3169
  ], 6)) : U("", !0),
3165
- I.$slots.header ? (c(), y("div", ko, [
3166
- Se(I.$slots, "header", {}, void 0, !0)
3170
+ I.$slots.header ? (c(), y("div", Mo, [
3171
+ Le(I.$slots, "header", {}, void 0, !0)
3167
3172
  ])) : U("", !0),
3168
3173
  O("div", {
3169
3174
  class: "b-data-grid__column-headers",
3170
3175
  style: ke({ top: Fe.value })
3171
3176
  }, [
3172
- o(_) ? (c(), P(o(js), {
3177
+ o(_) ? (c(), P(o(qs), {
3173
3178
  key: 0,
3174
3179
  class: "b-data-grid__config-settings",
3175
- columns: o(J),
3180
+ columns: o(Q),
3176
3181
  condensed: e.condensed,
3177
- onConfigSettings: o(en),
3178
- "onUpdate:columns": o(tn)
3182
+ onConfigSettings: o(nn),
3183
+ "onUpdate:columns": o(ln)
3179
3184
  }, null, 8, ["columns", "condensed", "onConfigSettings", "onUpdate:columns"])) : U("", !0),
3180
3185
  O("div", {
3181
3186
  ref_key: "columnsRef",
3182
3187
  ref: w,
3183
3188
  role: "rowgroup",
3184
3189
  class: "b-data-grid__columns-row",
3185
- tabindex: Y.value,
3190
+ tabindex: j.value,
3186
3191
  onScroll: z[4] || (z[4] = //@ts-ignore
3187
- (...j) => o(Be) && o(Be)(...j))
3192
+ (...q) => o(Be) && o(Be)(...q))
3188
3193
  }, [
3189
3194
  O("div", {
3190
3195
  style: ke(o(M)),
3191
3196
  class: "b-data-grid__columns",
3192
3197
  role: "row"
3193
3198
  }, [
3194
- (c(!0), y(ve, null, Ce(o(Pe), ({ columnSet: j, id: _e, isFrozenColumns: we }, Ge) => (c(), y(ve, null, [
3195
- j != null && j.length ? (c(), P(o(ps), Q({
3199
+ (c(!0), y(ve, null, Ce(o(Pe), ({ columnSet: q, id: _e, isFrozenColumns: we }, Ge) => (c(), y(ve, null, [
3200
+ q != null && q.length ? (c(), P(o(Os), ee({
3196
3201
  key: `data-grid-columns-${_e}`,
3197
3202
  ref_for: !0,
3198
- ref: (Le) => bn(Le),
3199
- columns: j,
3203
+ ref: (Se) => On(Se),
3204
+ columns: q,
3200
3205
  "has-resizable-columns": e.hasResizableColumns,
3201
3206
  "sort-by": e.sortBy,
3202
- "all-items-selected-state": o(un),
3207
+ "all-items-selected-state": o(fn),
3203
3208
  "is-frozen-columns": we,
3204
- "show-frozen-columns-separator": gt.value,
3205
- "dragging-columns": o(rt),
3209
+ "show-frozen-columns-separator": mt.value,
3210
+ "dragging-columns": o(ut),
3206
3211
  "has-draggable-columns": o(u),
3207
3212
  "has-column-panel": o(_),
3208
3213
  "has-left-overflow": o(We),
3209
- "has-first-column-panel-right-aligned": Ge === Sn.value,
3210
- "hovered-over-column-state": o(at),
3211
- "is-measuring-column-widths": o(T),
3212
- "is-only-one-visible-column": o(Qt),
3213
- selectable: o(S),
3214
- "selectable-across-pages": Nn.value,
3214
+ "has-first-column-panel-right-aligned": Ge === yn.value,
3215
+ "hovered-over-column-state": o(dt),
3216
+ "is-measuring-column-widths": o(A),
3217
+ "is-only-one-visible-column": o(tn),
3218
+ selectable: o(L),
3219
+ "selectable-across-pages": Tn.value,
3215
3220
  "truncate-column-headers": e.truncateColumnHeaders
3216
- }, xe(o(sn)), {
3217
- onColumnHover: z[2] || (z[2] = (Le) => ln.value = Le),
3218
- onColumnMove: o(an),
3219
- onColumnUpdate: o(nn),
3220
- onColumnResize: In,
3221
+ }, xe(o(an)), {
3222
+ onColumnHover: z[2] || (z[2] = (Se) => on.value = Se),
3223
+ onColumnMove: o(dn),
3224
+ onColumnUpdate: o(sn),
3225
+ onColumnResize: Dn,
3221
3226
  onColumnResizing: o(r),
3222
- onSelectAllRows: o(dt),
3223
- onSelectAllAcrossPages: z[3] || (z[3] = (Le) => le(o(k).SELECT_ALL_ACROSS_PAGES)),
3224
- onSort: $n
3225
- }), Ae({ _: 2 }, [
3226
- Ce(o(d), (Le, De) => ({
3227
+ onSelectAllRows: o(ct),
3228
+ onSelectAllAcrossPages: z[3] || (z[3] = (Se) => se(o(k).SELECT_ALL_ACROSS_PAGES)),
3229
+ onSort: kn
3230
+ }), Te({ _: 2 }, [
3231
+ Ce(o(d), (Se, De) => ({
3227
3232
  name: De,
3228
3233
  fn: H((qe) => [
3229
- Se(I.$slots, De, Q({ ref_for: !0 }, qe), void 0, !0)
3234
+ Le(I.$slots, De, ee({ ref_for: !0 }, qe), void 0, !0)
3230
3235
  ])
3231
3236
  }))
3232
3237
  ]), 1040, ["columns", "has-resizable-columns", "sort-by", "all-items-selected-state", "is-frozen-columns", "show-frozen-columns-separator", "dragging-columns", "has-draggable-columns", "has-column-panel", "has-left-overflow", "has-first-column-panel-right-aligned", "hovered-over-column-state", "is-measuring-column-widths", "is-only-one-visible-column", "selectable", "selectable-across-pages", "truncate-column-headers", "onColumnMove", "onColumnUpdate", "onColumnResizing", "onSelectAllRows"])) : U("", !0)
3233
3238
  ], 64))), 256))
3234
3239
  ], 4)
3235
- ], 40, Mo)
3240
+ ], 40, zo)
3236
3241
  ], 4),
3237
3242
  O("div", {
3238
3243
  ref_key: "body",
3239
3244
  ref: s,
3240
3245
  "data-testid": "data-grid-body",
3241
- class: ce(["b-data-grid__body", Ln.value]),
3246
+ class: ce(["b-data-grid__body", En.value]),
3242
3247
  tabindex: o(R) ? "0" : "-1",
3243
3248
  "aria-busy": o(R),
3244
3249
  "aria-live": "polite",
3245
3250
  onScroll: z[7] || (z[7] = //@ts-ignore
3246
- (...j) => o(Be) && o(Be)(...j))
3251
+ (...q) => o(Be) && o(Be)(...q))
3247
3252
  }, [
3248
- o(R) && !o($e) ? (c(), y("div", Uo, [
3249
- X(o(lt), {
3253
+ o(R) && !o($e) ? (c(), y("div", Fo, [
3254
+ X(o(ot), {
3250
3255
  class: "b-data-grid__loading-indicator",
3251
3256
  large: ""
3252
3257
  }),
@@ -3255,123 +3260,123 @@ const To = /* @__PURE__ */ se(bo, [["render", No]]), Ao = ["aria-label"], Io = {
3255
3260
  variant: "caption"
3256
3261
  }, {
3257
3262
  default: H(() => [
3258
- ue(q(o(F)("gettingYourData")), 1)
3263
+ ue(Y(o(V)("gettingYourData")), 1)
3259
3264
  ]),
3260
3265
  _: 1
3261
3266
  })
3262
- ])) : ((re = o(h)) == null ? void 0 : re.length) === 0 && e.emptyState ? (c(), y("div", Fo, [
3263
- X(o(Qn), Hn(Vn(_n.value)), null, 16)
3267
+ ])) : ((re = o(m)) == null ? void 0 : re.length) === 0 && e.emptyState ? (c(), y("div", Po, [
3268
+ X(o(el), Vn(xn(Sn.value)), null, 16)
3264
3269
  ])) : (c(), y("div", {
3265
3270
  key: 2,
3266
3271
  class: "b-data-grid__rows",
3267
3272
  role: "rowgroup",
3268
3273
  onKeydown: z[6] || (z[6] = //@ts-ignore
3269
- (...j) => o(ct) && o(ct)(...j))
3274
+ (...q) => o(gt) && o(gt)(...q))
3270
3275
  }, [
3271
- (c(!0), y(ve, null, Ce(o(h), (j, _e) => {
3276
+ (c(!0), y(ve, null, Ce(o(m), (q, _e) => {
3272
3277
  var we, Ge;
3273
- return c(), P(o(Kt), {
3278
+ return c(), P(o(Qt), {
3274
3279
  key: _e,
3275
3280
  ref_for: !0,
3276
- ref: (Le) => pn(Le, _e),
3281
+ ref: (Se) => Rn(Se, _e),
3277
3282
  style: ke(o(M)),
3278
3283
  "allow-row-clicks": e.allowRowClicks,
3279
3284
  "column-sets": o(Pe),
3280
3285
  condensed: e.condensed,
3281
- "dragging-columns": o(rt),
3282
- "dragging-events-for-row-cell": o(on),
3286
+ "dragging-columns": o(ut),
3287
+ "dragging-events-for-row-cell": o(rn),
3283
3288
  "get-data-item-id": e.getDataItemId,
3284
3289
  "has-nested-content": o(B),
3285
3290
  "has-nested-rows": o(K),
3286
3291
  "has-left-overflow": o(We),
3287
3292
  "highlighted-rows": e.highlightedRows,
3288
- "hovered-row-index": V.value,
3289
- "hovered-over-column-state": o(at),
3293
+ "hovered-row-index": h.value,
3294
+ "hovered-over-column-state": o(dt),
3290
3295
  "is-data-item-disabled": e.isDataItemDisabled,
3291
- "is-row-last-child": _e + 1 === ((we = o(h)) == null ? void 0 : we.length),
3292
- "is-measuring-column-widths": o(T),
3293
- "row-data": j,
3296
+ "is-row-last-child": _e + 1 === ((we = o(m)) == null ? void 0 : we.length),
3297
+ "is-measuring-column-widths": o(A),
3298
+ "row-data": q,
3294
3299
  "row-index": _e,
3295
- "row-set-size": (Ge = o(h)) == null ? void 0 : Ge.length,
3296
- "show-frozen-columns-separator": gt.value,
3300
+ "row-set-size": (Ge = o(m)) == null ? void 0 : Ge.length,
3301
+ "show-frozen-columns-separator": mt.value,
3297
3302
  "should-show-nested-content": e.shouldShowNestedContent,
3298
3303
  "should-show-nested-rows": e.shouldShowNestedRows,
3299
- selectable: o(S),
3300
- "selected-items": o(ut),
3301
- onCellHovered: Rn,
3302
- onNestedContentToggled: z[5] || (z[5] = (Le) => le(o(k).NESTED_CONTENT_TOGGLED, Le)),
3303
- onRowClick: On,
3304
- onOnFrozenColumnsKeyPress: o(vn),
3305
- onSelectRow: o(rn),
3306
- onSelectNestedRow: o(dn)
3307
- }, Ae({ _: 2 }, [
3308
- Ce(o(d), (Le, De) => ({
3304
+ selectable: o(L),
3305
+ "selected-items": o(ft),
3306
+ onCellHovered: An,
3307
+ onNestedContentToggled: z[5] || (z[5] = (Se) => se(o(k).NESTED_CONTENT_TOGGLED, Se)),
3308
+ onRowClick: Nn,
3309
+ onOnFrozenColumnsKeyPress: o(hn),
3310
+ onSelectRow: o(un),
3311
+ onSelectNestedRow: o(cn)
3312
+ }, Te({ _: 2 }, [
3313
+ Ce(o(d), (Se, De) => ({
3309
3314
  name: De,
3310
3315
  fn: H((qe) => [
3311
- Se(I.$slots, De, Q({ ref_for: !0 }, qe), void 0, !0)
3316
+ Le(I.$slots, De, ee({ ref_for: !0 }, qe), void 0, !0)
3312
3317
  ])
3313
3318
  }))
3314
3319
  ]), 1032, ["style", "allow-row-clicks", "column-sets", "condensed", "dragging-columns", "dragging-events-for-row-cell", "get-data-item-id", "has-nested-content", "has-nested-rows", "has-left-overflow", "highlighted-rows", "hovered-row-index", "hovered-over-column-state", "is-data-item-disabled", "is-row-last-child", "is-measuring-column-widths", "row-data", "row-index", "row-set-size", "show-frozen-columns-separator", "should-show-nested-content", "should-show-nested-rows", "selectable", "selected-items", "onOnFrozenColumnsKeyPress", "onSelectRow", "onSelectNestedRow"]);
3315
3320
  }), 128))
3316
3321
  ], 32))
3317
- ], 42, zo),
3318
- o($e) ? (c(), P(o(Ks), {
3322
+ ], 42, Uo),
3323
+ o($e) ? (c(), P(o(Js), {
3319
3324
  key: 2,
3320
3325
  loading: o(R),
3321
- "is-infinite-scroll": o(cn),
3322
- "onUpdate:showMore": o(gn)
3326
+ "is-infinite-scroll": o(gn),
3327
+ "onUpdate:showMore": o(mn)
3323
3328
  }, null, 8, ["loading", "is-infinite-scroll", "onUpdate:showMore"])) : U("", !0),
3324
3329
  e.stickyHorizontalScrollbar ? (c(), y("div", {
3325
3330
  key: 3,
3326
3331
  ref_key: "virtualHorizontalScrollbarRef",
3327
3332
  ref: l,
3328
- class: ce(["b-data-grid__horizontal-scrollbar", o(hn)]),
3333
+ class: ce(["b-data-grid__horizontal-scrollbar", o(_n)]),
3329
3334
  "aria-hidden": "true",
3330
3335
  "data-testid": "sticky-horizontal-scrollbar",
3331
3336
  onScroll: z[8] || (z[8] = //@ts-ignore
3332
- (...j) => o(ft) && o(ft)(...j))
3337
+ (...q) => o(vt) && o(vt)(...q))
3333
3338
  }, [
3334
3339
  O("div", {
3335
3340
  style: ke({ width: `${o(Re)}px`, height: "15px" })
3336
3341
  }, null, 4)
3337
3342
  ], 34)) : U("", !0),
3338
- o(v) && !o($e) ? (c(), y("div", {
3343
+ o(J) && !o($e) ? (c(), y("div", {
3339
3344
  key: 4,
3340
3345
  "data-testid": "pagination-container",
3341
- class: ce(["b-data-grid__pagination", yn.value])
3346
+ class: ce(["b-data-grid__pagination", pn.value])
3342
3347
  }, [
3343
- X(o(Xn), Q(o(v), {
3344
- "aria-label": `${o(vt)} navigation`,
3345
- onNavigate: Dn,
3346
- onItemsPage: kn
3348
+ X(o(Kn), ee(o(J), {
3349
+ "aria-label": `${o(ht)} navigation`,
3350
+ onNavigate: Mn,
3351
+ onItemsPage: zn
3347
3352
  }), {
3348
3353
  default: H(() => [
3349
- o(t)("pagination-slot") ? Se(I.$slots, "pagination-slot", { key: 0 }, void 0, !0) : U("", !0)
3354
+ o(t)("pagination-slot") ? Le(I.$slots, "pagination-slot", { key: 0 }, void 0, !0) : U("", !0)
3350
3355
  ]),
3351
3356
  _: 3
3352
3357
  }, 16, ["aria-label"])
3353
3358
  ], 2)) : U("", !0),
3354
- I.$slots.footer ? (c(), y("div", Po, [
3355
- Se(I.$slots, "footer", {}, void 0, !0)
3359
+ I.$slots.footer ? (c(), y("div", Bo, [
3360
+ Le(I.$slots, "footer", {}, void 0, !0)
3356
3361
  ])) : U("", !0),
3357
- An.value ? (c(), P(o(Yn), {
3362
+ $n.value ? (c(), P(o(Xn), {
3358
3363
  key: 6,
3359
3364
  actions: e.bulkActions,
3360
- "item-counter": mt.value,
3365
+ "item-counter": Ct.value,
3361
3366
  "extra-bottom-spacing": o(x),
3362
- onClose: z[9] || (z[9] = (j) => o(dt)(!1))
3367
+ onClose: z[9] || (z[9] = (q) => o(ct)(!1))
3363
3368
  }, null, 8, ["actions", "item-counter", "extra-bottom-spacing"])) : U("", !0)
3364
- ], 10, Do);
3369
+ ], 10, ko);
3365
3370
  };
3366
3371
  }
3367
- }), Ii = /* @__PURE__ */ se(Wo, [["__scopeId", "data-v-4ee57c29"]]);
3372
+ }), $i = /* @__PURE__ */ oe(Go, [["__scopeId", "data-v-5426ae3b"]]);
3368
3373
  export {
3369
- Ke as B,
3370
- Ai as a,
3374
+ Qe as B,
3375
+ Ii as a,
3371
3376
  pe as b,
3372
3377
  Oe as c,
3373
- Ii as d,
3378
+ $i as d,
3374
3379
  k as e,
3375
3380
  Ve as f
3376
3381
  };
3377
- //# sourceMappingURL=data-grid.V4b5UdXZ.js.map
3382
+ //# sourceMappingURL=data-grid.CdTcZ3DP.js.map