@adyen/bento-vue2 1.47.1 → 1.49.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 (268) hide show
  1. package/dist/@types/components.d.ts +4 -0
  2. package/dist/@types/index.d.ts +541 -267
  3. package/dist/action-bar.js +1 -1
  4. package/dist/alert.js +1 -1
  5. package/dist/assets/accordion-item.css +1 -1
  6. package/dist/assets/action-bar.css +1 -1
  7. package/dist/assets/base-modal.css +1 -1
  8. package/dist/assets/card.css +1 -1
  9. package/dist/assets/chip.css +1 -0
  10. package/dist/assets/data-grid.css +1 -1
  11. package/dist/assets/date-range-picker.css +1 -1
  12. package/dist/assets/dialog-page.css +1 -1
  13. package/dist/assets/file-uploader.css +1 -1
  14. package/dist/assets/input-field-password.css +1 -1
  15. package/dist/assets/input-field-phone-number.css +1 -0
  16. package/dist/assets/input-field.css +1 -1
  17. package/dist/assets/inspector.css +1 -1
  18. package/dist/assets/link.css +1 -1
  19. package/dist/assets/menu.css +1 -1
  20. package/dist/assets/modal-fullscreen.css +1 -1
  21. package/dist/assets/popover.css +1 -1
  22. package/dist/assets/segmented-control.css +1 -1
  23. package/dist/assets/sidepanel.css +1 -1
  24. package/dist/assets/summary-grid-item-custom.css +1 -1
  25. package/dist/button.js +3 -3
  26. package/dist/card.js +1 -1
  27. package/dist/checkbox.js +2 -2
  28. package/dist/chip.js +5 -0
  29. package/dist/chip.js.map +1 -0
  30. package/dist/chunks/{action-bar.EcN2I7Az.js → action-bar.pYOeP8WX.js} +6 -6
  31. package/dist/chunks/{action-bar.EcN2I7Az.js.map → action-bar.pYOeP8WX.js.map} +1 -1
  32. package/dist/chunks/{alert.BRN8cpXl.js → alert.hiTIDSeX.js} +2 -2
  33. package/dist/chunks/{alert.BRN8cpXl.js.map → alert.hiTIDSeX.js.map} +1 -1
  34. package/dist/chunks/{base-modal.BgTZ8iQ6.js → base-modal.8kcvtFRx.js} +5 -5
  35. package/dist/chunks/{base-modal.BgTZ8iQ6.js.map → base-modal.8kcvtFRx.js.map} +1 -1
  36. package/dist/chunks/{button-actions-with-menu.C8EjGVCT.js → button-actions-with-menu.BxWulRXh.js} +4 -4
  37. package/dist/chunks/{button-actions-with-menu.C8EjGVCT.js.map → button-actions-with-menu.BxWulRXh.js.map} +1 -1
  38. package/dist/chunks/{button-actions.BU173IFE.js → button-actions.BovYBINL.js} +2 -2
  39. package/dist/chunks/{button-actions.BU173IFE.js.map → button-actions.BovYBINL.js.map} +1 -1
  40. package/dist/chunks/{button.BX6ZJxF7.js → button.CdAFZa4V.js} +2 -2
  41. package/dist/chunks/{button.BX6ZJxF7.js.map → button.CdAFZa4V.js.map} +1 -1
  42. package/dist/chunks/{calendar.DlOcbH6E.js → calendar.Bb0-Svhx.js} +4 -4
  43. package/dist/chunks/{calendar.DlOcbH6E.js.map → calendar.Bb0-Svhx.js.map} +1 -1
  44. package/dist/chunks/{card.DoyCGJay.js → card.D-w9c3-n.js} +2 -2
  45. package/dist/chunks/{card.DoyCGJay.js.map → card.D-w9c3-n.js.map} +1 -1
  46. package/dist/chunks/{checkbox-group.k7Au5RP-.js → checkbox-group.4TiIcnc7.js} +4 -4
  47. package/dist/chunks/{checkbox-group.k7Au5RP-.js.map → checkbox-group.4TiIcnc7.js.map} +1 -1
  48. package/dist/chunks/{checkbox.Beyvm7Oh.js → checkbox.CE9NdY0R.js} +4 -4
  49. package/dist/chunks/{checkbox.Beyvm7Oh.js.map → checkbox.CE9NdY0R.js.map} +1 -1
  50. package/dist/chunks/chip.HNUA9VZl.js +63 -0
  51. package/dist/chunks/chip.HNUA9VZl.js.map +1 -0
  52. package/dist/chunks/{code-snippet.BDgd8txq.js → code-snippet.DSsZWtwa.js} +7 -7
  53. package/dist/chunks/{code-snippet.BDgd8txq.js.map → code-snippet.DSsZWtwa.js.map} +1 -1
  54. package/dist/chunks/{codemirror.0fz2cWJS.js → codemirror.Zv80n3Z2.js} +13 -14
  55. package/dist/chunks/{codemirror.0fz2cWJS.js.map → codemirror.Zv80n3Z2.js.map} +1 -1
  56. package/dist/chunks/{controls-group.C3RDqB9H.js → controls-group.BnDPMaGI.js} +2 -2
  57. package/dist/chunks/{controls-group.C3RDqB9H.js.map → controls-group.BnDPMaGI.js.map} +1 -1
  58. package/dist/chunks/{copy.BuMSGw23.js → copy.DMlIj53I.js} +4 -4
  59. package/dist/chunks/{copy.BuMSGw23.js.map → copy.DMlIj53I.js.map} +1 -1
  60. package/dist/chunks/{country.2-ZtYkh7.js → country.Df7erZov.js} +22 -21
  61. package/dist/chunks/{country.2-ZtYkh7.js.map → country.Df7erZov.js.map} +1 -1
  62. package/dist/chunks/country.types.C0Q_hhgJ.js +269 -0
  63. package/dist/chunks/country.types.C0Q_hhgJ.js.map +1 -0
  64. package/dist/chunks/{currency.BmI4Sqy5.js → currency.B1F9YOIx.js} +2 -2
  65. package/dist/chunks/currency.B1F9YOIx.js.map +1 -0
  66. package/dist/chunks/{dashboard-section.COWO5SVw.js → dashboard-section.DzMn8yDZ.js} +4 -4
  67. package/dist/chunks/{dashboard-section.COWO5SVw.js.map → dashboard-section.DzMn8yDZ.js.map} +1 -1
  68. package/dist/chunks/{dashed-underline.BEAEmTCb.js → dashed-underline.COTMts4l.js} +3 -3
  69. package/dist/chunks/{dashed-underline.BEAEmTCb.js.map → dashed-underline.COTMts4l.js.map} +1 -1
  70. package/dist/chunks/{data-grid-template.vBl7u2cB.js → data-grid-template.BPBneEHq.js} +3 -3
  71. package/dist/chunks/{data-grid-template.vBl7u2cB.js.map → data-grid-template.BPBneEHq.js.map} +1 -1
  72. package/dist/chunks/{data-grid.CjtvBoki.js → data-grid.iqFUbiZy.js} +984 -973
  73. package/dist/chunks/data-grid.iqFUbiZy.js.map +1 -0
  74. package/dist/chunks/{date-picker.Bym2OEd9.js → date-picker.C68IAqHR.js} +5 -5
  75. package/dist/chunks/{date-picker.Bym2OEd9.js.map → date-picker.C68IAqHR.js.map} +1 -1
  76. package/dist/chunks/date-range-picker.dcQRDNS7.js +884 -0
  77. package/dist/chunks/date-range-picker.dcQRDNS7.js.map +1 -0
  78. package/dist/chunks/{date.1zs9CRhw.js → date.YLIcAerL.js} +69 -1
  79. package/dist/chunks/{date.1zs9CRhw.js.map → date.YLIcAerL.js.map} +1 -1
  80. package/dist/chunks/{dialog-page.DcJ7LaOE.js → dialog-page.Bf07JxdG.js} +2 -2
  81. package/dist/chunks/{dialog-page.DcJ7LaOE.js.map → dialog-page.Bf07JxdG.js.map} +1 -1
  82. package/dist/chunks/{dropdown-tag.DiOkEmGh.js → dropdown-tag.DhENnOHT.js} +6 -6
  83. package/dist/chunks/{dropdown-tag.DiOkEmGh.js.map → dropdown-tag.DhENnOHT.js.map} +1 -1
  84. package/dist/chunks/{dropdown.ndl5cKe0.js → dropdown.BBHNOorv.js} +6 -6
  85. package/dist/chunks/{dropdown.ndl5cKe0.js.map → dropdown.BBHNOorv.js.map} +1 -1
  86. package/dist/chunks/{empty-state.1TyzB5ju.js → empty-state.BnHTBgKG.js} +2 -2
  87. package/dist/chunks/{empty-state.1TyzB5ju.js.map → empty-state.BnHTBgKG.js.map} +1 -1
  88. package/dist/chunks/{error-message.Da-p1QIA.js → error-message.xTNEaNn8.js} +2 -2
  89. package/dist/chunks/{error-message.Da-p1QIA.js.map → error-message.xTNEaNn8.js.map} +1 -1
  90. package/dist/chunks/es6.BtaxuP0b.js.map +1 -1
  91. package/dist/chunks/{file-uploader.DVyryYaq.js → file-uploader.mLUYQnz1.js} +325 -316
  92. package/dist/chunks/{file-uploader.DVyryYaq.js.map → file-uploader.mLUYQnz1.js.map} +1 -1
  93. package/dist/chunks/{filter-bar.ClRwHFxl.js → filter-bar.CFcu6P8H.js} +105 -108
  94. package/dist/chunks/filter-bar.CFcu6P8H.js.map +1 -0
  95. package/dist/chunks/{fixed-scroller.IPM3AzHS.js → fixed-scroller.DX2YUuoU.js} +2 -2
  96. package/dist/chunks/{fixed-scroller.IPM3AzHS.js.map → fixed-scroller.DX2YUuoU.js.map} +1 -1
  97. package/dist/chunks/{focus-trap.CGypVwG6.js → focus-trap._RrLaKlq.js} +6 -3
  98. package/dist/chunks/{focus-trap.CGypVwG6.js.map → focus-trap._RrLaKlq.js.map} +1 -1
  99. package/dist/chunks/{footer-actions.Cbe_YLjP.js → footer-actions.BsoofCrv.js} +3 -3
  100. package/dist/chunks/{footer-actions.Cbe_YLjP.js.map → footer-actions.BsoofCrv.js.map} +1 -1
  101. package/dist/chunks/{form-layout-title.Xdsi84v2.js → form-layout-title.CJbgfh3P.js} +2 -2
  102. package/dist/chunks/{form-layout-title.Xdsi84v2.js.map → form-layout-title.CJbgfh3P.js.map} +1 -1
  103. package/dist/chunks/get-slot-text.BQS5Olxm.js +12 -0
  104. package/dist/chunks/get-slot-text.BQS5Olxm.js.map +1 -0
  105. package/dist/chunks/{header.BIZTUAJE.js → header.BeS6ktqU.js} +4 -4
  106. package/dist/chunks/{header.BIZTUAJE.js.map → header.BeS6ktqU.js.map} +1 -1
  107. package/dist/chunks/{index.D8ivUe7P.js → index.CU8GKq4C.js} +8 -7
  108. package/dist/chunks/{index.D8ivUe7P.js.map → index.CU8GKq4C.js.map} +1 -1
  109. package/dist/chunks/{info-icon-with-popover.Bly2e0uy.js → info-icon-with-popover.yeIoJzhj.js} +2 -2
  110. package/dist/chunks/{info-icon-with-popover.Bly2e0uy.js.map → info-icon-with-popover.yeIoJzhj.js.map} +1 -1
  111. package/dist/chunks/{info-icon.0d0GzDe2.js → info-icon.C4_l0WAf.js} +3 -3
  112. package/dist/chunks/{info-icon.0d0GzDe2.js.map → info-icon.C4_l0WAf.js.map} +1 -1
  113. package/dist/chunks/{input-field-password.DEW15Tfy.js → input-field-password.Dez8haIj.js} +6 -6
  114. package/dist/chunks/{input-field-password.DEW15Tfy.js.map → input-field-password.Dez8haIj.js.map} +1 -1
  115. package/dist/chunks/input-field-phone-number.CPTonsjM.js +3098 -0
  116. package/dist/chunks/input-field-phone-number.CPTonsjM.js.map +1 -0
  117. package/dist/chunks/{input-field.DUf6qDBc.js → input-field.lEMEBT7J.js} +32 -27
  118. package/dist/chunks/input-field.lEMEBT7J.js.map +1 -0
  119. package/dist/chunks/inspector.types.BtgXpTC7.js +101 -0
  120. package/dist/chunks/inspector.types.BtgXpTC7.js.map +1 -0
  121. package/dist/chunks/{keyboard-navigation.Clz1jOaA.js → keyboard-navigation.pB8weElW.js} +2 -1
  122. package/dist/chunks/{keyboard-navigation.Clz1jOaA.js.map → keyboard-navigation.pB8weElW.js.map} +1 -1
  123. package/dist/chunks/{layout-row.BfS-cPky.js → layout-row.CHwDU8yK.js} +7 -7
  124. package/dist/chunks/{layout-row.BfS-cPky.js.map → layout-row.CHwDU8yK.js.map} +1 -1
  125. package/dist/chunks/{link.UOEUR35A.js → link.DZlbzVSB.js} +35 -28
  126. package/dist/chunks/link.DZlbzVSB.js.map +1 -0
  127. package/dist/chunks/{listbox-option-tag.Co0ycEdQ.js → listbox-option-tag.BJBWnC2r.js} +2 -2
  128. package/dist/chunks/{listbox-option-tag.Co0ycEdQ.js.map → listbox-option-tag.BJBWnC2r.js.map} +1 -1
  129. package/dist/chunks/{menu.Dq7RlryT.js → menu.lbODB0y3.js} +3 -3
  130. package/dist/chunks/{menu.Dq7RlryT.js.map → menu.lbODB0y3.js.map} +1 -1
  131. package/dist/chunks/{modal-fullscreen.CfrgVR_K.js → modal-fullscreen.Dz3kSuTz.js} +5 -5
  132. package/dist/chunks/{modal-fullscreen.CfrgVR_K.js.map → modal-fullscreen.Dz3kSuTz.js.map} +1 -1
  133. package/dist/chunks/{modal.CuUUMIU_.js → modal.DV55hSPn.js} +5 -5
  134. package/dist/chunks/{modal.CuUUMIU_.js.map → modal.DV55hSPn.js.map} +1 -1
  135. package/dist/chunks/{pagination.H-13o3aM.js → pagination.CuJ-P2bO.js} +3 -3
  136. package/dist/chunks/{pagination.H-13o3aM.js.map → pagination.CuJ-P2bO.js.map} +1 -1
  137. package/dist/chunks/{payment-method.UaERFtej.js → payment-method.BKr_q5cZ.js} +2 -2
  138. package/dist/chunks/{payment-method.UaERFtej.js.map → payment-method.BKr_q5cZ.js.map} +1 -1
  139. package/dist/chunks/{popover.nev0GndY.js → popover.BQGNMbQN.js} +4 -4
  140. package/dist/chunks/{popover.nev0GndY.js.map → popover.BQGNMbQN.js.map} +1 -1
  141. package/dist/chunks/{popper-container.B1iB2ovW.js → popper-container.CsW4R0-t.js} +2 -2
  142. package/dist/chunks/{popper-container.B1iB2ovW.js.map → popper-container.CsW4R0-t.js.map} +1 -1
  143. package/dist/chunks/{promo-banner.BXtIM4C9.js → promo-banner.BNXfyv3h.js} +7 -7
  144. package/dist/chunks/{promo-banner.BXtIM4C9.js.map → promo-banner.BNXfyv3h.js.map} +1 -1
  145. package/dist/chunks/{radio-group.D1q0VKvv.js → radio-group.CUgib4vp.js} +5 -5
  146. package/dist/chunks/{radio-group.D1q0VKvv.js.map → radio-group.CUgib4vp.js.map} +1 -1
  147. package/dist/chunks/{search-bar.2uugiaDY.js → search-bar.Dk-GuqgF.js} +3 -3
  148. package/dist/chunks/{search-bar.2uugiaDY.js.map → search-bar.Dk-GuqgF.js.map} +1 -1
  149. package/dist/chunks/{secondary-nav.sknezArI.js → secondary-nav.DC2GrGaQ.js} +3 -3
  150. package/dist/chunks/{secondary-nav.sknezArI.js.map → secondary-nav.DC2GrGaQ.js.map} +1 -1
  151. package/dist/chunks/{segmented-control.DL0W7lJ_.js → segmented-control.BxCcPbKd.js} +18 -17
  152. package/dist/chunks/segmented-control.BxCcPbKd.js.map +1 -0
  153. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -1
  154. package/dist/chunks/{selection-card-group.usHcqYKO.js → selection-card-group.B-YY-iKp.js} +4 -4
  155. package/dist/chunks/{selection-card-group.usHcqYKO.js.map → selection-card-group.B-YY-iKp.js.map} +1 -1
  156. package/dist/chunks/{sidepanel.D-KuHnwI.js → sidepanel.Dp6dKRnq.js} +5 -5
  157. package/dist/chunks/{sidepanel.D-KuHnwI.js.map → sidepanel.Dp6dKRnq.js.map} +1 -1
  158. package/dist/chunks/{step.BsIdWhaZ.js → step.DrP2Frvn.js} +2 -2
  159. package/dist/chunks/{step.BsIdWhaZ.js.map → step.DrP2Frvn.js.map} +1 -1
  160. package/dist/chunks/{structured-list-item.Dk8Z-FPn.js → structured-list-item.DrY71Ndc.js} +5 -5
  161. package/dist/chunks/{structured-list-item.Dk8Z-FPn.js.map → structured-list-item.DrY71Ndc.js.map} +1 -1
  162. package/dist/chunks/{summary-grid-item-custom.atXX3GY9.js → summary-grid-item-custom.CXs6AMS4.js} +109 -104
  163. package/dist/chunks/summary-grid-item-custom.CXs6AMS4.js.map +1 -0
  164. package/dist/chunks/summary-grid.keys.CxTf_FOc.js +6 -0
  165. package/dist/chunks/summary-grid.keys.CxTf_FOc.js.map +1 -0
  166. package/dist/chunks/{tabs.9kObZry9.js → tabs.5zgaD1k3.js} +2 -2
  167. package/dist/chunks/{tabs.9kObZry9.js.map → tabs.5zgaD1k3.js.map} +1 -1
  168. package/dist/chunks/{tag.-YNhsBv7.js → tag.CevG31iQ.js} +3 -3
  169. package/dist/chunks/{tag.-YNhsBv7.js.map → tag.CevG31iQ.js.map} +1 -1
  170. package/dist/chunks/{textarea.BVzGn3zO.js → textarea.DHbXaxdU.js} +3 -3
  171. package/dist/chunks/{textarea.BVzGn3zO.js.map → textarea.DHbXaxdU.js.map} +1 -1
  172. package/dist/chunks/{timeline-item.D_YNHlRi.js → timeline-item.C4HOsaEG.js} +8 -8
  173. package/dist/chunks/{timeline-item.D_YNHlRi.js.map → timeline-item.C4HOsaEG.js.map} +1 -1
  174. package/dist/chunks/{toast.DgJbW9CL.js → toast.C5I7Wsfa.js} +2 -2
  175. package/dist/chunks/{toast.DgJbW9CL.js.map → toast.C5I7Wsfa.js.map} +1 -1
  176. package/dist/chunks/{toggle-button.Cf8C7p6e.js → toggle-button.BX_9vB0d.js} +2 -2
  177. package/dist/chunks/{toggle-button.Cf8C7p6e.js.map → toggle-button.BX_9vB0d.js.map} +1 -1
  178. package/dist/chunks/{toggle.CnS7qszG.js → toggle.CyaY0U0K.js} +2 -2
  179. package/dist/chunks/{toggle.CnS7qszG.js.map → toggle.CyaY0U0K.js.map} +1 -1
  180. package/dist/chunks/{tooltip.R2sqydIE.js → tooltip.Bu8o7uyZ.js} +2 -2
  181. package/dist/chunks/{tooltip.R2sqydIE.js.map → tooltip.Bu8o7uyZ.js.map} +1 -1
  182. package/dist/chunks/truncate.BfIl_-71.js +8 -0
  183. package/dist/chunks/truncate.BfIl_-71.js.map +1 -0
  184. package/dist/chunks/{tutorial.cQXPvqV4.js → tutorial.BWWTUI9f.js} +5 -5
  185. package/dist/chunks/{tutorial.cQXPvqV4.js.map → tutorial.BWWTUI9f.js.map} +1 -1
  186. package/dist/chunks/{use-cached-selected-values.nHAjK6Nj.js → use-cached-selected-values.C5gHa-dC.js} +5 -5
  187. package/dist/chunks/{use-cached-selected-values.nHAjK6Nj.js.map → use-cached-selected-values.C5gHa-dC.js.map} +1 -1
  188. package/dist/chunks/use-country-items.HFnjuDsG.js +30 -0
  189. package/dist/chunks/{use-country-items.eWARMT6I.js.map → use-country-items.HFnjuDsG.js.map} +1 -1
  190. package/dist/chunks/{country.types.CLjbulKL.js → use-country-phon-code.DVgE19zT.js} +497 -761
  191. package/dist/chunks/use-country-phon-code.DVgE19zT.js.map +1 -0
  192. package/dist/code-snippet.js +1 -1
  193. package/dist/country.js +7 -6
  194. package/dist/country.js.map +1 -1
  195. package/dist/currency.js +1 -1
  196. package/dist/dashboard-template.js +1 -1
  197. package/dist/dashed-underline.js +1 -1
  198. package/dist/data-grid-template.js +1 -1
  199. package/dist/data-grid.js +1 -1
  200. package/dist/date-picker.js +2 -2
  201. package/dist/date-range-picker.js +2 -2
  202. package/dist/date.js +1 -1
  203. package/dist/dropdown.js +3 -3
  204. package/dist/empty-state.js +1 -1
  205. package/dist/file-uploader.js +1 -1
  206. package/dist/filter-bar.js +1 -1
  207. package/dist/focus-trap.js +1 -1
  208. package/dist/form-layout.js +1 -1
  209. package/dist/header.js +1 -1
  210. package/dist/index.js +218 -213
  211. package/dist/index.js.map +1 -1
  212. package/dist/info-icon.js +1 -1
  213. package/dist/input-field-password.js +1 -1
  214. package/dist/input-field-phone-number.js +5 -0
  215. package/dist/input-field-phone-number.js.map +1 -0
  216. package/dist/input-field.js +1 -1
  217. package/dist/inspector.js +1 -1
  218. package/dist/internal.js +12 -12
  219. package/dist/layout.js +1 -1
  220. package/dist/link.js +1 -1
  221. package/dist/menu.js +1 -1
  222. package/dist/modal-fullscreen.js +1 -1
  223. package/dist/modal.js +2 -2
  224. package/dist/pagination.js +1 -1
  225. package/dist/payment-method.js +1 -1
  226. package/dist/popover.js +1 -1
  227. package/dist/popper-container.js +1 -1
  228. package/dist/promo-banner.js +1 -1
  229. package/dist/radio-group.js +1 -1
  230. package/dist/search-bar.js +2 -2
  231. package/dist/secondary-nav.js +1 -1
  232. package/dist/segmented-control.js +1 -1
  233. package/dist/selection-card.js +1 -1
  234. package/dist/sidepanel.js +1 -1
  235. package/dist/stepper.js +1 -1
  236. package/dist/structured-list.js +1 -1
  237. package/dist/styles/bento-dark.css +16 -1
  238. package/dist/styles/bento-light.css +16 -1
  239. package/dist/styles/bento.css +16 -1
  240. package/dist/styles/legacy.css +15 -0
  241. package/dist/styles/styleguide.css +16 -1
  242. package/dist/summary-grid.js +1 -1
  243. package/dist/tabs.js +1 -1
  244. package/dist/tag.js +1 -1
  245. package/dist/textarea.js +1 -1
  246. package/dist/timeline.js +1 -1
  247. package/dist/toast.js +1 -1
  248. package/dist/toggle.js +1 -1
  249. package/dist/tutorial.js +1 -1
  250. package/dist/web-types.json +293 -7
  251. package/package.json +7 -6
  252. package/dist/chunks/country.types.CLjbulKL.js.map +0 -1
  253. package/dist/chunks/currency.BmI4Sqy5.js.map +0 -1
  254. package/dist/chunks/data-grid.CjtvBoki.js.map +0 -1
  255. package/dist/chunks/date-range-picker.D6BNlau6.js +0 -840
  256. package/dist/chunks/date-range-picker.D6BNlau6.js.map +0 -1
  257. package/dist/chunks/filter-bar.ClRwHFxl.js.map +0 -1
  258. package/dist/chunks/get-slot-text.Cgn-E48s.js +0 -9
  259. package/dist/chunks/get-slot-text.Cgn-E48s.js.map +0 -1
  260. package/dist/chunks/input-field.DUf6qDBc.js.map +0 -1
  261. package/dist/chunks/inspector.types.8071wkf0.js +0 -70
  262. package/dist/chunks/inspector.types.8071wkf0.js.map +0 -1
  263. package/dist/chunks/link.UOEUR35A.js.map +0 -1
  264. package/dist/chunks/segmented-control.DL0W7lJ_.js.map +0 -1
  265. package/dist/chunks/summary-grid-item-custom.atXX3GY9.js.map +0 -1
  266. package/dist/chunks/summary-grid.keys.BBbFrFGF.js +0 -5
  267. package/dist/chunks/summary-grid.keys.BBbFrFGF.js.map +0 -1
  268. package/dist/chunks/use-country-items.eWARMT6I.js +0 -29
@@ -1,515 +1,515 @@
1
- import { ref as b, reactive as Re, toRefs as ye, computed as w, watchEffect as nn, watch as Y, onMounted as be, nextTick as K, onUnmounted as nt, onBeforeUpdate as sn, defineComponent as Q, toRef as st, useSlots as Oe, provide as on, inject as Ue } from "vue";
2
- import { C as ln } from "./checkmark-circle-fill.Cn7JN_Tk.js";
3
- import { W as an } from "./warning-filled.CLKRzGMT.js";
4
- import { n as H } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
5
- import { C as ot } from "./cross.CsUPDmaA.js";
6
- import { N as ke } from "./checkbox-input.Bo4NxNOh.js";
7
- import { d as rn } from "./popper-container.B1iB2ovW.js";
8
- import { K as te, B as dn } from "./tooltip.R2sqydIE.js";
9
- import { B as cn } from "./action-bar.EcN2I7Az.js";
10
- import { B as un } from "./pagination.H-13o3aM.js";
11
- import { B as Te } from "./loading-indicator.z8COalOc.js";
12
- import { B as me, p as lt } from "./typography.J1v_SPG3.js";
13
- import { u as Ae } from "./use-has-slot.C9lQZ6nz.js";
14
- import { u as fn } from "./aria-label.CaUURpnB.js";
15
- import { g as gn } from "./get-slot-text.Cgn-E48s.js";
1
+ import { ref as b, reactive as be, toRefs as Oe, computed as L, watchEffect as on, watch as Y, onMounted as Ae, nextTick as K, onUnmounted as st, onBeforeUpdate as ln, defineComponent as Q, toRef as we, useSlots as Te, provide as ot, inject as Ee } from "vue";
2
+ import { C as an } from "./checkmark-circle-fill.Cn7JN_Tk.js";
3
+ import { W as rn } from "./warning-filled.CLKRzGMT.js";
4
+ import { n as V } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
5
+ import { C as lt } from "./cross.CsUPDmaA.js";
6
+ import { N as Ge } from "./checkbox-input.Bo4NxNOh.js";
7
+ import { d as dn } from "./popper-container.CsW4R0-t.js";
8
+ import { K as te, B as cn } from "./tooltip.Bu8o7uyZ.js";
9
+ import { B as un } from "./action-bar.pYOeP8WX.js";
10
+ import { B as fn } from "./pagination.CuJ-P2bO.js";
11
+ import { B as Ne } from "./loading-indicator.z8COalOc.js";
12
+ import { B as he, p as at } from "./typography.J1v_SPG3.js";
13
+ import { u as Ie } from "./use-has-slot.C9lQZ6nz.js";
14
+ import { u as gn } from "./aria-label.CaUURpnB.js";
15
+ import { g as _n } from "./get-slot-text.BQS5Olxm.js";
16
16
  import { u as ie } from "./i18n.BQkEbtPM.js";
17
- import { B as _n } from "./empty-state.1TyzB5ju.js";
18
- import { B as Ce } from "./filter-bar.ClRwHFxl.js";
19
- import { E as vn } from "./tabs.keys.Bc2pSKRw.js";
20
- import { D as Cn } from "./data-grid-template.keys.2_AkxuNT.js";
21
- import { o as Ne } from "./resize.Bqks3WUm.js";
17
+ import { B as Le } from "./filter-bar.CFcu6P8H.js";
18
+ import { B as vn } from "./empty-state.BnHTBgKG.js";
19
+ import { E as Cn } from "./tabs.keys.Bc2pSKRw.js";
20
+ import { D as hn } from "./data-grid-template.keys.2_AkxuNT.js";
21
+ import { o as De } from "./resize.Bqks3WUm.js";
22
22
  import "./index.Cl4_42j5.js";
23
- import { u as hn } from "./use-expandable-content-height.GkjjbmPy.js";
24
- import { g as we } from "./generate-uid.NJ8tVoha.js";
25
- import { B as at } from "./checkbox.Beyvm7Oh.js";
26
- import { B as it } from "./button.BX6ZJxF7.js";
27
- import { B as rt, O as mn, D as pn } from "./menu.Dq7RlryT.js";
28
- import { E as Sn } from "./link.UOEUR35A.js";
29
- import { C as Ln } from "./copy.BuMSGw23.js";
30
- import { C as wn, a as En } from "./chevron-up.DVfo78kV.js";
31
- import { B as Ie } from "./toggle-button.Cf8C7p6e.js";
32
- import { e as Rn, d as yn } from "./button-actions.BU173IFE.js";
33
- import { B as bn } from "./info-icon.0d0GzDe2.js";
34
- import { a as Ge, B as On } from "./popover.nev0GndY.js";
35
- import { A as Tn } from "./dialog-page.DcJ7LaOE.js";
36
- import { H as An, S as Nn } from "./show.IEAxtCB7.js";
37
- import { l as We } from "./events.CMzGybJJ.js";
38
- import { B as dt } from "./toggle.CnS7qszG.js";
39
- import { B as In } from "./search-bar.2uugiaDY.js";
40
- import { u as Dn } from "./dropdown.ndl5cKe0.js";
41
- import { S as Fn } from "./search.CBKhp7zB.js";
42
- import { B as xn } from "./directive.O3yEdalv.js";
23
+ import { u as mn } from "./use-expandable-content-height.GkjjbmPy.js";
24
+ import { g as Re } from "./generate-uid.NJ8tVoha.js";
25
+ import { B as it } from "./checkbox.CE9NdY0R.js";
26
+ import { B as rt } from "./button.CdAFZa4V.js";
27
+ import { B as dt, O as pn, D as Sn } from "./menu.lbODB0y3.js";
28
+ import { E as Ln } from "./link.DZlbzVSB.js";
29
+ import { C as wn } from "./copy.DMlIj53I.js";
30
+ import { C as En, a as Rn } from "./chevron-up.DVfo78kV.js";
31
+ import { B as Fe } from "./toggle-button.BX_9vB0d.js";
32
+ import { e as yn, d as bn } from "./button-actions.BovYBINL.js";
33
+ import { B as On } from "./info-icon.C4_l0WAf.js";
34
+ import { a as We, B as An } from "./popover.BQGNMbQN.js";
35
+ import { A as Tn } from "./dialog-page.Bf07JxdG.js";
36
+ import { H as Nn, S as In } from "./show.IEAxtCB7.js";
37
+ import { l as He } from "./events.CMzGybJJ.js";
38
+ import { B as ct } from "./toggle.CyaY0U0K.js";
39
+ import { B as Dn } from "./search-bar.Dk-GuqgF.js";
40
+ import { u as Fn } from "./dropdown.BBHNOorv.js";
41
+ import { S as xn } from "./search.CBKhp7zB.js";
42
+ import { B as Mn } from "./directive.O3yEdalv.js";
43
43
  import "../assets/data-grid.css";
44
- var Ee = /* @__PURE__ */ ((s) => (s.WRAP = "wrap", s.ELLIPSIS = "ellipsis", s))(Ee || {}), se = /* @__PURE__ */ ((s) => (s.OUTLINE = "outline", s.SCROLL = "scroll", s.STICKY_FILTERS = "sticky-filters", s.OVERFLOW_SHADOW_LEFT = "overflow-shadow-left", s.OVERFLOW_SHADOW_RIGHT = "overflow-shadow-right", s.NO_SPACING_TOP = "no-spacing-top", s))(se || {}), ae = /* @__PURE__ */ ((s) => (s.ASCENDING = "asc", s.DESCENDING = "desc", s))(ae || {}), T = /* @__PURE__ */ ((s) => (s.COLUMNS = "columns", s.COLUMN_RESIZE = "column-resize", s.ITEMS_PAGE = "items-page", s.NAVIGATE = "navigate", s.NESTED_CONTENT_TOGGLED = "nested-content-toggled", s.FILTER_SEARCH_INPUT = "filter-search-input", s.FILTER_SEARCH_CLEAR = "filter-search-clear", s.UPDATE_COLUMNS = "update:columns", s.UPDATE_CONDENSED = "update:condensed", s.UPDATE_FILTERS = "update:filters", s.UPDATE_FILTER_VALUES = "update:filter-values", s.UPDATE_FILTER_SEARCH_TERM = "update:filter-search-term", s.UPDATE_PAGINATION = "update:pagination", s.UPDATE_SELECTION = "update:selection", s.UPDATE_SHOW_MORE = "update:show-more", s.UPDATE_SORT_BY = "update:sort-by", s.ROW_CLICK = "row-click", s.SELECT = "select", s.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", s.SORT = "sort", s))(T || {}), he = /* @__PURE__ */ ((s) => (s.ASCENDING = "ascending", s.DESCENDING = "descending", s.NONE = "none", s))(he || {}), k = /* @__PURE__ */ ((s) => (s.COLUMN_RESIZE = "column-resize", s.COLUMN_RESIZING = "column-resizing", s.SELECT_ALL_ROWS = "select-all-rows", s.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", s.COLUMN_MOVE = "column-move", s.COLUMN_UPDATE = "column-update", s.COLUMN_MENU_OPEN = "column-menu-open", s.COLUMN_MENU_CLOSE = "column-menu-close", s.COLUMN_HOVER = "column-hover", s.COLUMN_DRAG_START = "column-dragstart", s.COLUMN_DRAG_ENTER = "column-dragenter", s.COLUMN_DRAG_END = "column-dragend", s.COLUMN_DROP = "column-drop", s))(k || {});
45
- const Mn = (s, t) => {
46
- const n = b(null), e = b(!1), o = b(void 0), l = s.value.reduce((m, S) => (m[S.field] = null, m), {}), a = Re(l), h = ye(a);
47
- let g = 0, _ = "";
48
- const p = w(
49
- () => Object.fromEntries(s.value.map(({ field: m, width: S, minWidth: O }) => [m, { width: S, minWidth: O }]))
44
+ var ye = /* @__PURE__ */ ((s) => (s.WRAP = "wrap", s.ELLIPSIS = "ellipsis", s))(ye || {}), se = /* @__PURE__ */ ((s) => (s.OUTLINE = "outline", s.SCROLL = "scroll", s.STICKY_FILTERS = "sticky-filters", s.OVERFLOW_SHADOW_LEFT = "overflow-shadow-left", s.OVERFLOW_SHADOW_RIGHT = "overflow-shadow-right", s.NO_SPACING_TOP = "no-spacing-top", s))(se || {}), ae = /* @__PURE__ */ ((s) => (s.ASCENDING = "asc", s.DESCENDING = "desc", s))(ae || {}), A = /* @__PURE__ */ ((s) => (s.COLUMNS = "columns", s.COLUMN_RESIZE = "column-resize", s.ITEMS_PAGE = "items-page", s.NAVIGATE = "navigate", s.NESTED_CONTENT_TOGGLED = "nested-content-toggled", s.FILTER_SEARCH_INPUT = "filter-search-input", s.FILTER_SEARCH_CLEAR = "filter-search-clear", s.UPDATE_COLUMNS = "update:columns", s.UPDATE_CONDENSED = "update:condensed", s.UPDATE_FILTERS = "update:filters", s.UPDATE_FILTER_VALUES = "update:filter-values", s.UPDATE_FILTER_SEARCH_TERM = "update:filter-search-term", s.UPDATE_PAGINATION = "update:pagination", s.UPDATE_SELECTION = "update:selection", s.UPDATE_SHOW_MORE = "update:show-more", s.UPDATE_SORT_BY = "update:sort-by", s.ROW_CLICK = "row-click", s.SELECT = "select", s.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", s.SORT = "sort", s))(A || {}), Ce = /* @__PURE__ */ ((s) => (s.ASCENDING = "ascending", s.DESCENDING = "descending", s.NONE = "none", s))(Ce || {}), k = /* @__PURE__ */ ((s) => (s.COLUMN_RESIZE = "column-resize", s.COLUMN_RESIZING = "column-resizing", s.SELECT_ALL_ROWS = "select-all-rows", s.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", s.COLUMN_MOVE = "column-move", s.COLUMN_UPDATE = "column-update", s.COLUMN_MENU_OPEN = "column-menu-open", s.COLUMN_MENU_CLOSE = "column-menu-close", s.COLUMN_HOVER = "column-hover", s.COLUMN_DRAG_START = "column-dragstart", s.COLUMN_DRAG_ENTER = "column-dragenter", s.COLUMN_DRAG_END = "column-dragend", s.COLUMN_DROP = "column-drop", s))(k || {});
45
+ const Bn = (s, t) => {
46
+ const n = b(null), e = b(!1), o = b(void 0), a = s.value.reduce((h, p) => (h[p.field] = null, h), {}), i = be(a), C = Oe(i);
47
+ let _ = 0, f = "";
48
+ const m = L(
49
+ () => Object.fromEntries(s.value.map(({ field: h, width: p, minWidth: O }) => [h, { width: p, minWidth: O }]))
50
50
  );
51
- nn(() => o.value = p.value);
52
- let u = null, i = null;
53
- const d = (m) => {
54
- const S = m.clientX - g, O = _, R = o.value[O].width + S;
55
- o.value[O].width = R > p.value[O].minWidth ? R : p.value[O].minWidth, t(k.COLUMN_RESIZING, o.value), g = m.clientX;
56
- }, c = () => {
57
- e.value = !1, u == null || u(), i == null || i(), _ && t(k.COLUMN_RESIZE, {
58
- field: _,
59
- width: o.value[_].width
60
- }), u = null, i = null, _ = "", g = null;
61
- }, v = (m, S, O) => {
62
- if (O.preventDefault(), m) {
51
+ on(() => o.value = m.value);
52
+ let c = null, E = null;
53
+ const l = (h) => {
54
+ const p = h.clientX - _, O = f, R = o.value[O].width + p;
55
+ o.value[O].width = R > m.value[O].minWidth ? R : m.value[O].minWidth, t(k.COLUMN_RESIZING, o.value), _ = h.clientX;
56
+ }, d = () => {
57
+ e.value = !1, c == null || c(), E == null || E(), f && t(k.COLUMN_RESIZE, {
58
+ field: f,
59
+ width: o.value[f].width
60
+ }), c = null, E = null, f = "", _ = null;
61
+ }, u = (h, p, O) => {
62
+ if (O.preventDefault(), h) {
63
63
  if (e.value = !0, O.buttons !== 1) {
64
- c();
64
+ d();
65
65
  return;
66
66
  }
67
- _ = S, g = O.clientX, u = We(window, "mousemove", d), i = We(window, "mouseup", c);
67
+ f = p, _ = O.clientX, c = He(window, "mousemove", l), E = He(window, "mouseup", d);
68
68
  }
69
69
  };
70
70
  return Y(
71
71
  () => e.value,
72
- (m, S) => {
73
- !m && S && (t(k.COLUMN_HOVER, n.value), n.value = null);
72
+ (h, p) => {
73
+ !h && p && (t(k.COLUMN_HOVER, n.value), n.value = null);
74
74
  }
75
75
  ), {
76
76
  resizeData: o,
77
- allColumnRefs: h,
78
- startResize: v,
77
+ allColumnRefs: C,
78
+ startResize: u,
79
79
  isResizing: e,
80
80
  columnHoverEventToEmitAfterResizing: n
81
81
  };
82
- }, Pn = 100, He = 50, q = "b-actions-column", Bn = 32, zn = 56, $n = 56, Un = 80, kn = 36, Gn = 1, ct = 16, Wn = 20, Hn = (s, t, n) => {
83
- const e = {}, o = [], l = (h) => {
84
- const g = e[h];
85
- g && g.frozen !== !0 && (e[h].frozen = !0, o.push(h));
82
+ }, Pn = 100, Ve = 50, q = "b-actions-column", zn = 32, $n = 56, Un = 56, kn = 80, Gn = 36, Wn = 1, ut = 16, Hn = 20, Vn = (s, t, n) => {
83
+ const e = {}, o = [], a = (C) => {
84
+ const _ = e[C];
85
+ _ && _.frozen !== !0 && (e[C].frozen = !0, o.push(C));
86
86
  };
87
- function a() {
87
+ function i() {
88
88
  if (o.length === n.length)
89
89
  return;
90
- const h = { min: {} };
91
- let g = s, _ = t, p = 0;
92
- o.forEach((u) => {
93
- g -= e[u].computedWidth, _ -= e[u].flex;
90
+ const C = { min: {} };
91
+ let _ = s, f = t, m = 0;
92
+ o.forEach((c) => {
93
+ _ -= e[c].computedWidth, f -= e[c].flex;
94
94
  });
95
- for (let u = 0, i = n.length; u < i; u += 1) {
96
- const d = n[u];
97
- if (e[d.field] && e[d.field].frozen === !0)
95
+ for (let c = 0, E = n.length; c < E; c += 1) {
96
+ const l = n[c];
97
+ if (e[l.field] && e[l.field].frozen === !0)
98
98
  continue;
99
- let v = g / _ * d.flex;
100
- v < d.minWidth && (p += d.minWidth - v, v = d.minWidth, h.min[d.field] = !0), e[d.field] = {
99
+ let u = _ / f * l.flex;
100
+ u < l.minWidth && (m += l.minWidth - u, u = l.minWidth, C.min[l.field] = !0), e[l.field] = {
101
101
  frozen: !1,
102
- computedWidth: v,
103
- flex: d.flex
102
+ computedWidth: u,
103
+ flex: l.flex
104
104
  };
105
105
  }
106
- p > 0 ? Object.keys(h.min).forEach((u) => {
107
- l(u);
108
- }) : n.forEach(({ field: u }) => {
109
- l(u);
110
- }), a();
106
+ m > 0 ? Object.keys(C.min).forEach((c) => {
107
+ a(c);
108
+ }) : n.forEach(({ field: c }) => {
109
+ a(c);
110
+ }), i();
111
111
  }
112
- return a(), e;
113
- }, Ve = (s, t) => {
114
- let n = Gn;
115
- return t && (n += ct * 2), s != null && s.offsetWidth ? s.offsetWidth + n : 0;
116
- }, Vn = (s) => {
117
- var t, n, e, o, l;
118
- return (t = s == null ? void 0 : s.hasNestedContent) != null && t.value || (n = s == null ? void 0 : s.hasNestedRows) != null && n.value ? (e = s == null ? void 0 : s.hasSelectableColumn) != null && e.value ? (o = s == null ? void 0 : s.hasSelectableAcrossPages) != null && o.value ? Un : $n : kn : (l = s == null ? void 0 : s.hasSelectableAcrossPages) != null && l.value ? zn : Bn;
119
- }, Zn = (s, t, n, e, o, l) => {
120
- const a = b(s.value), h = b(t), g = b(n), _ = b(e), p = b(o), u = b(!1);
112
+ return i(), e;
113
+ }, Ze = (s, t) => {
114
+ let n = Wn;
115
+ return t && (n += ut * 2), s != null && s.offsetWidth ? s.offsetWidth + n : 0;
116
+ }, Zn = (s) => {
117
+ var t, n, e, o, a;
118
+ return (t = s == null ? void 0 : s.hasNestedContent) != null && t.value || (n = s == null ? void 0 : s.hasNestedRows) != null && n.value ? (e = s == null ? void 0 : s.hasSelectableColumn) != null && e.value ? (o = s == null ? void 0 : s.hasSelectableAcrossPages) != null && o.value ? kn : Un : Gn : (a = s == null ? void 0 : s.hasSelectableAcrossPages) != null && a.value ? $n : zn;
119
+ }, jn = (s, t, n, e, o, a) => {
120
+ const i = b(s.value), C = b(t), _ = b(n), f = b(e), m = b(o), c = b(!1);
121
121
  Y(
122
122
  () => s.value,
123
- (L, E) => {
124
- var F, f;
125
- const N = (L == null ? void 0 : L.map(({ field: M }) => M).toString()) === (E == null ? void 0 : E.map(({ field: M }) => M).toString());
126
- if (!((F = l == null ? void 0 : l.allowColumnDragAndDrop) != null && F.value) || !N) {
127
- a.value = s.value;
123
+ (S, w) => {
124
+ var x, $;
125
+ const N = (S == null ? void 0 : S.map(({ field: g }) => g).toString()) === (w == null ? void 0 : w.map(({ field: g }) => g).toString());
126
+ if (!((x = a == null ? void 0 : a.allowColumnDragAndDrop) != null && x.value) || !N) {
127
+ i.value = s.value;
128
128
  return;
129
129
  }
130
- a.value = ((f = a.value) == null ? void 0 : f.length) === 0 ? s.value : s.value.sort((M, I) => {
131
- const x = a.value.findIndex((G) => G.field === M.field), U = a.value.findIndex((G) => G.field === I.field);
132
- return x === -1 ? 1 : U === -1 ? -1 : x - U;
130
+ i.value = (($ = i.value) == null ? void 0 : $.length) === 0 ? s.value : s.value.sort((g, B) => {
131
+ const I = i.value.findIndex((G) => G.field === g.field), D = i.value.findIndex((G) => G.field === B.field);
132
+ return I === -1 ? 1 : D === -1 ? -1 : I - D;
133
133
  });
134
134
  }
135
135
  );
136
- const i = b();
137
- let d = null;
138
- const c = w(() => {
139
- var x, U, G;
140
- const L = [];
141
- let E = 0, N = 0;
142
- const F = {};
143
- let f = a.value.filter((C) => C.visible !== !1);
144
- const M = a.value.filter((C) => C.visible === !1);
145
- if ((x = l == null ? void 0 : l.hasSelectableColumn) != null && x.value || (U = l == null ? void 0 : l.hasNestedContent) != null && U.value || (G = l == null ? void 0 : l.hasNestedRows) != null && G.value) {
146
- const C = Vn(l);
147
- f = [
136
+ const E = b();
137
+ let l = null;
138
+ const d = L(() => {
139
+ var I, D, G;
140
+ const S = [];
141
+ let w = 0, N = 0;
142
+ const x = {};
143
+ let $ = i.value.filter((v) => v.visible !== !1);
144
+ const g = i.value.filter((v) => v.visible === !1);
145
+ if ((I = a == null ? void 0 : a.hasSelectableColumn) != null && I.value || (D = a == null ? void 0 : a.hasNestedContent) != null && D.value || (G = a == null ? void 0 : a.hasNestedRows) != null && G.value) {
146
+ const v = Zn(a);
147
+ $ = [
148
148
  {
149
149
  field: q,
150
150
  label: "",
151
- minWidth: C,
152
- width: C,
151
+ minWidth: v,
152
+ width: v,
153
153
  frozen: !0,
154
154
  padding: { left: !1, right: !1 }
155
155
  },
156
- ...f
156
+ ...$
157
157
  ];
158
158
  }
159
- f.forEach((C) => {
160
- const y = { ...C };
161
- let z;
162
- y.flex && y.flex > 0 ? (E += y.flex, z = 0, L.push(y)) : z = Math.max(
159
+ $.forEach((v) => {
160
+ const y = { ...v };
161
+ let P;
162
+ y.flex && y.flex > 0 ? (w += y.flex, P = 0, S.push(y)) : P = Math.max(
163
163
  (y == null ? void 0 : y.width) ?? Pn,
164
- (y == null ? void 0 : y.minWidth) ?? He
165
- ), N += z, y.width = z, y.minWidth = (y == null ? void 0 : y.minWidth) ?? He, F[y.field] = y;
164
+ (y == null ? void 0 : y.minWidth) ?? Ve
165
+ ), N += P, y.width = P, y.minWidth = (y == null ? void 0 : y.minWidth) ?? Ve, x[y.field] = y;
166
166
  });
167
- const I = Math.max(i.value - N, 0);
168
- if (E > 0 && i.value > 0) {
169
- const C = Hn(I, E, L);
170
- Object.keys(C).forEach((y) => {
171
- F[y].width = C[y].computedWidth;
167
+ const B = Math.max(E.value - N, 0);
168
+ if (w > 0 && E.value > 0) {
169
+ const v = Vn(B, w, S);
170
+ Object.keys(v).forEach((y) => {
171
+ x[y].width = v[y].computedWidth;
172
172
  });
173
173
  }
174
- return M.forEach((C) => {
175
- const y = { ...C };
176
- F[y.field] = y;
177
- }), Object.values(F);
178
- }), v = b(void 0), m = (L) => {
179
- v.value = { ...v.value, ...L };
180
- }, S = async () => {
181
- a.value.some((L) => L == null ? void 0 : L.autoWidth) && (u.value = !0, await K(), a == null || a.value.filter((L) => L == null ? void 0 : L.autoWidth).forEach(({ field: L, minWidth: E }) => {
182
- var M, I, x, U;
183
- const N = Ve(
184
- (M = _.value) == null ? void 0 : M[L],
185
- (I = l == null ? void 0 : l.hasColumnPanel) == null ? void 0 : I.value
186
- ), F = (U = (x = p.value) == null ? void 0 : x[L]) == null ? void 0 : U.reduce(
187
- (G, C) => Math.max(G, Ve(C)),
174
+ return g.forEach((v) => {
175
+ const y = { ...v };
176
+ x[y.field] = y;
177
+ }), Object.values(x);
178
+ }), u = b(void 0), h = (S) => {
179
+ u.value = { ...u.value, ...S };
180
+ }, p = async () => {
181
+ i.value.some((S) => S == null ? void 0 : S.autoWidth) && (c.value = !0, await K(), i == null || i.value.filter((S) => S == null ? void 0 : S.autoWidth).forEach(({ field: S, minWidth: w }) => {
182
+ var g, B, I, D;
183
+ const N = Ze(
184
+ (g = f.value) == null ? void 0 : g[S],
185
+ (B = a == null ? void 0 : a.hasColumnPanel) == null ? void 0 : B.value
186
+ ), x = (D = (I = m.value) == null ? void 0 : I[S]) == null ? void 0 : D.reduce(
187
+ (G, v) => Math.max(G, Ze(v)),
188
188
  0
189
- ), f = Math.max(N, F ?? 0);
190
- (E === void 0 || f > E) && m({
191
- [L]: {
192
- width: f
189
+ ), $ = Math.max(N, x ?? 0);
190
+ (w === void 0 || $ > w) && h({
191
+ [S]: {
192
+ width: $
193
193
  }
194
194
  });
195
- }), u.value = !1);
195
+ }), c.value = !1);
196
196
  };
197
- Y([() => a.value, () => h.value], async () => {
198
- a.value.some((L) => L == null ? void 0 : L.autoWidth) && await S();
197
+ Y([() => i.value, () => C.value], async () => {
198
+ i.value.some((S) => S == null ? void 0 : S.autoWidth) && await p();
199
199
  });
200
- const O = w(
201
- () => c.value.map((L) => {
202
- var E, N;
200
+ const O = L(
201
+ () => d.value.map((S) => {
202
+ var w, N;
203
203
  return {
204
- ...L,
204
+ ...S,
205
205
  // Override column width with resized ones
206
- width: ((N = (E = v.value) == null ? void 0 : E[L.field]) == null ? void 0 : N.width) ?? L.width
206
+ width: ((N = (w = u.value) == null ? void 0 : w[S.field]) == null ? void 0 : N.width) ?? S.width
207
207
  };
208
208
  })
209
- ), R = w(
209
+ ), R = L(
210
210
  () => {
211
- var L;
212
- return (L = O.value) == null ? void 0 : L.filter(({ visible: E }) => E !== !1).reduce((E, N) => N.width + E, 0);
211
+ var S;
212
+ return (S = O.value) == null ? void 0 : S.filter(({ visible: w }) => w !== !1).reduce((w, N) => N.width + w, 0);
213
213
  }
214
- ), D = w(
215
- () => i.value <= R.value
216
- ), B = w(() => ({
217
- width: i.value > R.value ? "100%" : "fit-content"
214
+ ), F = L(
215
+ () => E.value <= R.value
216
+ ), z = L(() => ({
217
+ width: E.value > R.value ? "100%" : "fit-content"
218
218
  }));
219
- return be(() => {
220
- var E;
221
- const L = l != null && l.isDataGridTemplate ? Wn : 0;
219
+ return Ae(() => {
220
+ var w;
221
+ const S = a != null && a.isDataGridTemplate ? Hn : 0;
222
222
  K(() => {
223
- g.value && (i.value = g.value.getBoundingClientRect().width - L);
223
+ _.value && (E.value = _.value.getBoundingClientRect().width - S);
224
224
  const N = Y(
225
- g,
225
+ _,
226
226
  () => {
227
- g.value && (K(() => N()), d = Ne(g.value, ({ width: F }) => {
228
- i.value = F - L;
227
+ _.value && (K(() => N()), l = De(_.value, ({ width: x }) => {
228
+ E.value = x - S;
229
229
  }));
230
230
  },
231
231
  { immediate: !0 }
232
232
  );
233
- }), (E = document == null ? void 0 : document.fonts) != null && E.ready ? document.fonts.ready.then(() => {
234
- S();
235
- }) : S();
236
- }), nt(() => {
237
- d == null || d.disconnect();
238
- }), sn(() => {
239
- var L;
240
- p.value && ((L = Object.keys(p.value)) == null ? void 0 : L.length) > 0 && Object.keys(p.value).forEach((N) => {
241
- p.value[N] = [];
233
+ }), (w = document == null ? void 0 : document.fonts) != null && w.ready ? document.fonts.ready.then(() => {
234
+ p();
235
+ }) : p();
236
+ }), st(() => {
237
+ l == null || l.disconnect();
238
+ }), ln(() => {
239
+ var S;
240
+ m.value && ((S = Object.keys(m.value)) == null ? void 0 : S.length) > 0 && Object.keys(m.value).forEach((N) => {
241
+ m.value[N] = [];
242
242
  });
243
243
  }), {
244
244
  columnDefs: O,
245
- gridColumnWidthStyle: B,
246
- onColumnWidthOverride: m,
247
- isMeasuringColumnWidths: u,
248
- isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: D,
249
- columns: a,
245
+ gridColumnWidthStyle: z,
246
+ onColumnWidthOverride: h,
247
+ isMeasuringColumnWidths: c,
248
+ isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: F,
249
+ columns: i,
250
250
  totalWidthOfAllColumns: R
251
251
  };
252
- }, jn = (s, t, n, e, o) => {
253
- const l = b(s.value ?? []), a = Re({
252
+ }, qn = (s, t, n, e, o) => {
253
+ const a = b(s.value ?? []), i = be({
254
254
  allItemsSelected: !1,
255
255
  isIndeterminate: !1
256
- }), h = w(
257
- () => n.value.flatMap((c) => {
258
- var v;
259
- return [c, ((v = c == null ? void 0 : c.children) == null ? void 0 : v.length) > 0 ? c == null ? void 0 : c.children : []];
256
+ }), C = L(
257
+ () => n.value.flatMap((d) => {
258
+ var u;
259
+ return [d, ((u = d == null ? void 0 : d.children) == null ? void 0 : u.length) > 0 ? d == null ? void 0 : d.children : []];
260
260
  }).flat()
261
- ), g = () => {
262
- t(T.SELECT, l.value), t(T.UPDATE_SELECTION, l.value);
263
- }, _ = (c) => {
264
- var m, S, O, R, D;
265
- if (l.value = c, ((m = n.value) == null ? void 0 : m.length) > 0 && ((S = h.value) == null ? void 0 : S.filter((B) => !o(B)).every((B) => l.value.includes(e(B))))) {
266
- a.allItemsSelected = !0;
267
- const B = ((O = n.value) == null ? void 0 : O.length) > 0 && n.value.every((L) => l.value.includes(e(L)));
268
- a.isIndeterminate = !B;
261
+ ), _ = () => {
262
+ t(A.SELECT, a.value), t(A.UPDATE_SELECTION, a.value);
263
+ }, f = (d) => {
264
+ var h, p, O, R, F;
265
+ if (a.value = d, ((h = n.value) == null ? void 0 : h.length) > 0 && ((p = C.value) == null ? void 0 : p.filter((z) => !o(z)).every((z) => a.value.includes(e(z))))) {
266
+ i.allItemsSelected = !0;
267
+ const z = ((O = n.value) == null ? void 0 : O.length) > 0 && n.value.every((S) => a.value.includes(e(S)));
268
+ i.isIndeterminate = !z;
269
269
  } else
270
- a.allItemsSelected = !1, a.isIndeterminate = ((R = l.value) == null ? void 0 : R.length) > 0 && ((D = n.value) == null ? void 0 : D.length) > 0 && n.value.some(
271
- (B) => {
272
- var L;
273
- return l.value.includes(e(B)) || ((L = B == null ? void 0 : B.children) == null ? void 0 : L.some((E) => l.value.includes(e(E))));
270
+ i.allItemsSelected = !1, i.isIndeterminate = ((R = a.value) == null ? void 0 : R.length) > 0 && ((F = n.value) == null ? void 0 : F.length) > 0 && n.value.some(
271
+ (z) => {
272
+ var S;
273
+ return a.value.includes(e(z)) || ((S = z == null ? void 0 : z.children) == null ? void 0 : S.some((w) => a.value.includes(e(w))));
274
274
  }
275
275
  );
276
- }, p = (c) => {
276
+ }, m = (d) => {
277
277
  K(() => {
278
- var v, m, S;
279
- if (a.allItemsSelected = c, c) {
280
- l.value = (m = (v = h.value) == null ? void 0 : v.filter(
281
- (R) => !o(R) && ((R == null ? void 0 : R.children) === void 0 || R.children.every((D) => !o(D)))
282
- )) == null ? void 0 : m.map((R) => e(R));
283
- const O = ((S = n.value) == null ? void 0 : S.length) > 0 && n.value.every((R) => l.value.includes(e(R)));
284
- a.isIndeterminate = l.value.length > 0 && !O;
278
+ var u, h, p;
279
+ if (i.allItemsSelected = d, d) {
280
+ a.value = (h = (u = C.value) == null ? void 0 : u.filter(
281
+ (R) => !o(R) && ((R == null ? void 0 : R.children) === void 0 || R.children.every((F) => !o(F)))
282
+ )) == null ? void 0 : h.map((R) => e(R));
283
+ const O = ((p = n.value) == null ? void 0 : p.length) > 0 && n.value.every((R) => a.value.includes(e(R)));
284
+ i.isIndeterminate = a.value.length > 0 && !O;
285
285
  } else
286
- l.value = [], a.isIndeterminate = !1;
287
- g();
286
+ a.value = [], i.isIndeterminate = !1;
287
+ _();
288
288
  });
289
- }, u = (c, v) => {
289
+ }, c = (d, u) => {
290
290
  K(() => {
291
- var m;
292
- _(((m = v == null ? void 0 : v.children) == null ? void 0 : m.length) > 0 ? i(c, v) : c), g();
291
+ var h;
292
+ f(((h = u == null ? void 0 : u.children) == null ? void 0 : h.length) > 0 ? E(d, u) : d), _();
293
293
  });
294
- }, i = (c, v) => {
294
+ }, E = (d, u) => {
295
295
  var O;
296
- const m = e(v), S = (O = v.children) == null ? void 0 : O.filter((R) => !o(R)).map((R) => e(R));
297
- if (c.includes(m)) {
298
- const R = c;
299
- return S.forEach((D) => {
300
- R.includes(D) || R.push(D);
296
+ const h = e(u), p = (O = u.children) == null ? void 0 : O.filter((R) => !o(R)).map((R) => e(R));
297
+ if (d.includes(h)) {
298
+ const R = d;
299
+ return p.forEach((F) => {
300
+ R.includes(F) || R.push(F);
301
301
  }), R;
302
302
  }
303
- return c.filter((R) => !S.includes(R));
304
- }, d = (c, v, m) => {
303
+ return d.filter((R) => !p.includes(R));
304
+ }, l = (d, u, h) => {
305
305
  K(() => {
306
306
  var O, R;
307
- const S = e(v);
308
- c.includes(e(m)) ? _(
309
- !c.includes(S) && ((O = v == null ? void 0 : v.children) != null && O.every((D) => c.includes(e(D)))) ? [...c, S] : c
310
- ) : _(
311
- c.includes(S) && !((R = v == null ? void 0 : v.children) != null && R.every((D) => c.includes(e(D)))) ? c.filter((D) => D !== S) : c
312
- ), g();
307
+ const p = e(u);
308
+ d.includes(e(h)) ? f(
309
+ !d.includes(p) && ((O = u == null ? void 0 : u.children) != null && O.every((F) => d.includes(e(F)))) ? [...d, p] : d
310
+ ) : f(
311
+ d.includes(p) && !((R = u == null ? void 0 : u.children) != null && R.every((F) => d.includes(e(F)))) ? d.filter((F) => F !== p) : d
312
+ ), _();
313
313
  });
314
314
  };
315
315
  return Y(
316
316
  () => s.value,
317
317
  () => {
318
- _(s.value ?? []);
318
+ f(s.value ?? []);
319
319
  },
320
320
  { immediate: !0 }
321
321
  ), Y(
322
322
  () => n.value,
323
323
  () => {
324
- const c = n.value.filter((v) => l.value.includes(e(v))).flatMap(
325
- (v) => {
326
- var m;
327
- return ((m = v == null ? void 0 : v.children) == null ? void 0 : m.length) > 0 ? v.children.map((S) => e(S)).filter((S) => !l.value.includes(S)) : [];
324
+ const d = n.value.filter((u) => a.value.includes(e(u))).flatMap(
325
+ (u) => {
326
+ var h;
327
+ return ((h = u == null ? void 0 : u.children) == null ? void 0 : h.length) > 0 ? u.children.map((p) => e(p)).filter((p) => !a.value.includes(p)) : [];
328
328
  }
329
329
  );
330
- _([...l.value, ...c]), g();
330
+ f([...a.value, ...d]), _();
331
331
  }
332
- ), { onAllRowSelect: p, onRowSelect: u, onNestedRowSelect: d, allItemsSelectedState: a, selectedItems: l };
333
- }, qn = (s, t, n) => ({ isSorting: (a) => s.value.some((h) => h.field === a), getSortingDirection: (a) => {
334
- var h;
335
- return (h = s.value.find((g) => g.field === a)) == null ? void 0 : h.direction;
336
- }, sortByColumnField: (a) => {
337
- var _;
338
- if (!t.value.some((p) => p.field === a && p.sortable))
332
+ ), { onAllRowSelect: m, onRowSelect: c, onNestedRowSelect: l, allItemsSelectedState: i, selectedItems: a };
333
+ }, Yn = (s, t, n) => ({ isSorting: (i) => s.value.some((C) => C.field === i), getSortingDirection: (i) => {
334
+ var C;
335
+ return (C = s.value.find((_) => _.field === i)) == null ? void 0 : C.direction;
336
+ }, sortByColumnField: (i) => {
337
+ var f;
338
+ if (!t.value.some((m) => m.field === i && m.sortable))
339
339
  return;
340
- const g = [{
341
- field: a,
342
- direction: ((_ = s.value.find((p) => p.field === a)) == null ? void 0 : _.direction) === ae.ASCENDING ? ae.DESCENDING : ae.ASCENDING
340
+ const _ = [{
341
+ field: i,
342
+ direction: ((f = s.value.find((m) => m.field === i)) == null ? void 0 : f.direction) === ae.ASCENDING ? ae.DESCENDING : ae.ASCENDING
343
343
  }];
344
- n("sort", g);
344
+ n("sort", _);
345
345
  } });
346
346
  var j = ((s) => (s[s.ARROW_DOWN = te.ARROW_DOWN] = "ARROW_DOWN", s[s.ARROW_UP = te.ARROW_UP] = "ARROW_UP", s[s.ARROW_LEFT = te.ARROW_LEFT] = "ARROW_LEFT", s[s.ARROW_RIGHT = te.ARROW_RIGHT] = "ARROW_RIGHT", s[s.PAGE_UP = te.PAGE_UP] = "PAGE_UP", s[s.PAGE_DOWN = te.PAGE_DOWN] = "PAGE_DOWN", s[s.END = te.END] = "END", s[s.HOME = te.HOME] = "HOME", s))(j || {});
347
- const Yn = (s, t, n) => {
348
- const e = w(() => {
349
- const d = t.value.filter(({ visible: c }) => c !== !1);
350
- return n.value ? d.length + 1 : d.length;
351
- }), o = w(
352
- () => [...Object.values(s.value)].flat(1).sort((d, c) => {
353
- const v = Number(d.getAttribute("data-cellindex")), m = Number(c.getAttribute("data-cellindex"));
354
- return v > m ? 1 : m > v ? -1 : 0;
347
+ const Xn = (s, t, n) => {
348
+ const e = L(() => {
349
+ const l = t.value.filter(({ visible: d }) => d !== !1);
350
+ return n.value ? l.length + 1 : l.length;
351
+ }), o = L(
352
+ () => [...Object.values(s.value)].flat(1).sort((l, d) => {
353
+ const u = Number(l.getAttribute("data-cellindex")), h = Number(d.getAttribute("data-cellindex"));
354
+ return u > h ? 1 : h > u ? -1 : 0;
355
355
  })
356
- ), l = (d) => Math.floor(d / e.value), a = (d, c, v) => {
357
- const m = o.value.length - 1, S = e.value - 1, O = l(d), R = d - e.value * O;
356
+ ), a = (l) => Math.floor(l / e.value), i = (l, d, u) => {
357
+ const h = o.value.length - 1, p = e.value - 1, O = a(l), R = l - e.value * O;
358
358
  return {
359
359
  [j.PAGE_UP]: R,
360
- [j.PAGE_DOWN]: m - S + R,
361
- [j.END]: v ? m : e.value * O + S,
362
- [j.HOME]: v ? 0 : e.value * O
363
- }[c];
364
- }, h = (d, c) => {
365
- const m = {
360
+ [j.PAGE_DOWN]: h - p + R,
361
+ [j.END]: u ? h : e.value * O + p,
362
+ [j.HOME]: u ? 0 : e.value * O
363
+ }[d];
364
+ }, C = (l, d) => {
365
+ const h = {
366
366
  [j.ARROW_DOWN]: e.value,
367
367
  [j.ARROW_UP]: -e.value,
368
368
  [j.ARROW_LEFT]: -1,
369
369
  [j.ARROW_RIGHT]: 1
370
- }[c], S = d + m;
371
- return S < 0 || S >= o.value.length ? d : S;
372
- }, g = (d) => [
370
+ }[d], p = l + h;
371
+ return p < 0 || p >= o.value.length ? l : p;
372
+ }, _ = (l) => [
373
373
  j.PAGE_UP,
374
374
  j.PAGE_DOWN,
375
375
  j.END,
376
376
  j.HOME
377
- ].includes(d), _ = (d, c, v) => {
378
- const m = o.value.indexOf(d);
379
- return g(c) ? a(m, c, v) : h(m, c);
380
- }, p = (d, c, v) => {
381
- if (!o.value.includes(d))
377
+ ].includes(l), f = (l, d, u) => {
378
+ const h = o.value.indexOf(l);
379
+ return _(d) ? i(h, d, u) : C(h, d);
380
+ }, m = (l, d, u) => {
381
+ if (!o.value.includes(l))
382
382
  return;
383
- const m = _(d, c, v);
384
- o.value[m].focus();
385
- }, u = (d) => d in j;
383
+ const h = f(l, d, u);
384
+ o.value[h].focus();
385
+ }, c = (l) => l in j;
386
386
  return {
387
- isNavigationKeyCode: u,
388
- focusOnNextGridcell: p,
389
- navigationInput: (d) => {
390
- const { ctrlKey: c, keyCode: v, target: m } = d;
391
- Object.values(s.value).flat(1).includes(m) && u(v) && p(m, v, c);
387
+ isNavigationKeyCode: c,
388
+ focusOnNextGridcell: m,
389
+ navigationInput: (l) => {
390
+ const { ctrlKey: d, keyCode: u, target: h } = l;
391
+ Object.values(s.value).flat(1).includes(h) && c(u) && m(h, u, d);
392
392
  }
393
393
  };
394
- }, Xn = 90, Jn = (s, t, n, e, o) => {
395
- const l = b(s), a = b(t), h = b(n), g = b(e), _ = w(() => l.value !== "none"), p = w(() => l.value === "automatic"), u = () => {
396
- o(T.UPDATE_SHOW_MORE);
394
+ }, Jn = 90, Kn = (s, t, n, e, o) => {
395
+ const a = b(s), i = b(t), C = b(n), _ = b(e), f = L(() => a.value !== "none"), m = L(() => a.value === "automatic"), c = () => {
396
+ o(A.UPDATE_SHOW_MORE);
397
397
  };
398
398
  return Y(
399
- () => a.value,
399
+ () => i.value,
400
400
  () => {
401
- p.value && h.value.offsetHeight / a.value * 100 > Xn && !g.value && u();
401
+ m.value && C.value.offsetHeight / i.value * 100 > Jn && !_.value && c();
402
402
  }
403
- ), { isLazyLoad: _, isInfiniteScroll: p, verticalScrollPosition: a, emitLazyLoadEvent: u };
404
- }, Kn = (s, t, n) => {
405
- const e = b(s), o = b(t), l = Re({
403
+ ), { isLazyLoad: f, isInfiniteScroll: m, verticalScrollPosition: i, emitLazyLoadEvent: c };
404
+ }, Qn = (s, t, n) => {
405
+ const e = b(s), o = b(t), a = be({
406
406
  dragging: null,
407
407
  dragToLeft: null,
408
408
  target: null
409
- }), a = (d, c = 0) => {
410
- const v = e.value.findIndex((O) => O.field === d.field), m = v + c;
411
- if (m < 0 || m > e.value.length - 1)
409
+ }), i = (l, d = 0) => {
410
+ const u = e.value.findIndex((O) => O.field === l.field), h = u + d;
411
+ if (h < 0 || h > e.value.length - 1)
412
412
  return;
413
- const S = [...e.value];
414
- S.splice(m, 0, S.splice(v, 1)[0]), n(T.COLUMNS, S), n(T.UPDATE_COLUMNS, S);
415
- }, h = (d, c) => {
416
- l.dragging = d, c.dataTransfer.setData("text", ""), c.dataTransfer.dropEffect = "move";
417
- }, g = (d, c) => {
418
- l.target = d;
419
- const v = c.currentTarget.getBoundingClientRect(), m = v.left + v.width / 2, S = c.clientX ?? 0;
420
- l.dragToLeft = S <= m;
421
- }, _ = (d) => {
422
- var c, v;
423
- if (((c = l.dragging) == null ? void 0 : c.field) !== d.field) {
424
- const m = e.value.findIndex((L) => {
425
- var E;
426
- return L.field === ((E = l.dragging) == null ? void 0 : E.field);
427
- }), S = e.value.findIndex((L) => L.field === d.field), O = l.dragToLeft ? S : S + 1, R = O > m ? O - 1 : O;
428
- let D = [...e.value];
429
- D.splice(
413
+ const p = [...e.value];
414
+ p.splice(h, 0, p.splice(u, 1)[0]), n(A.COLUMNS, p), n(A.UPDATE_COLUMNS, p);
415
+ }, C = (l, d) => {
416
+ a.dragging = l, d.dataTransfer.setData("text", ""), d.dataTransfer.dropEffect = "move";
417
+ }, _ = (l, d) => {
418
+ a.target = l;
419
+ const u = d.currentTarget.getBoundingClientRect(), h = u.left + u.width / 2, p = d.clientX ?? 0;
420
+ a.dragToLeft = p <= h;
421
+ }, f = (l) => {
422
+ var d, u;
423
+ if (((d = a.dragging) == null ? void 0 : d.field) !== l.field) {
424
+ const h = e.value.findIndex((S) => {
425
+ var w;
426
+ return S.field === ((w = a.dragging) == null ? void 0 : w.field);
427
+ }), p = e.value.findIndex((S) => S.field === l.field), O = a.dragToLeft ? p : p + 1, R = O > h ? O - 1 : O;
428
+ let F = [...e.value];
429
+ F.splice(
430
430
  R === -1 ? 0 : R,
431
431
  0,
432
- D.splice(m, 1)[0]
432
+ F.splice(h, 1)[0]
433
433
  );
434
- const B = e.value.findIndex((L) => !(L != null && L.frozen));
435
- ((v = l.dragging) == null ? void 0 : v.frozen) !== d.frozen && O !== B && (D = D.map(
436
- (L) => {
437
- var E;
438
- return ((E = l.dragging) == null ? void 0 : E.field) === L.field ? { ...L, frozen: !!(d != null && d.frozen) } : L;
434
+ const z = e.value.findIndex((S) => !(S != null && S.frozen));
435
+ ((u = a.dragging) == null ? void 0 : u.frozen) !== l.frozen && O !== z && (F = F.map(
436
+ (S) => {
437
+ var w;
438
+ return ((w = a.dragging) == null ? void 0 : w.field) === S.field ? { ...S, frozen: !!(l != null && l.frozen) } : S;
439
439
  }
440
- )), n(T.COLUMNS, D), n(T.UPDATE_COLUMNS, D);
440
+ )), n(A.COLUMNS, F), n(A.UPDATE_COLUMNS, F);
441
441
  }
442
- l.dragging = null, l.target = null;
443
- }, p = () => {
444
- l.dragging = null, l.dragToLeft = null, l.target = null;
445
- }, u = w(() => o.value ? {
446
- [k.COLUMN_DRAG_START]: (d, c) => h(d, c),
447
- [k.COLUMN_DRAG_ENTER]: (d, c) => g(d, c),
448
- [k.COLUMN_DROP]: (d) => _(d),
449
- [k.COLUMN_DRAG_END]: () => p()
450
- } : {}), i = w(() => (d) => o.value ? {
451
- dragenter: (c) => {
452
- c.preventDefault(), g(d, c);
442
+ a.dragging = null, a.target = null;
443
+ }, m = () => {
444
+ a.dragging = null, a.dragToLeft = null, a.target = null;
445
+ }, c = L(() => o.value ? {
446
+ [k.COLUMN_DRAG_START]: (l, d) => C(l, d),
447
+ [k.COLUMN_DRAG_ENTER]: (l, d) => _(l, d),
448
+ [k.COLUMN_DROP]: (l) => f(l),
449
+ [k.COLUMN_DRAG_END]: () => m()
450
+ } : {}), E = L(() => (l) => o.value ? {
451
+ dragenter: (d) => {
452
+ d.preventDefault(), _(l, d);
453
453
  },
454
454
  drop: () => {
455
- _(d);
455
+ f(l);
456
456
  },
457
- dragover: (c) => {
458
- c.preventDefault();
457
+ dragover: (d) => {
458
+ d.preventDefault();
459
459
  }
460
460
  } : {});
461
461
  return {
462
462
  // Values
463
- draggingColumns: l,
463
+ draggingColumns: a,
464
464
  // Methods
465
- draggingEventsForColumns: u,
466
- draggingEventsForRowCell: i,
467
- onMoveColumnByOffset: a
465
+ draggingEventsForColumns: c,
466
+ draggingEventsForRowCell: E,
467
+ onMoveColumnByOffset: i
468
468
  };
469
- }, Qn = (s, t) => {
470
- const n = b(s), e = w(
471
- () => [...n.value].sort((u, i) => u.frozen === i.frozen ? 0 : u.frozen ? -1 : 1)
472
- ), o = w(
473
- () => e.value.filter((u) => u.frozen && u.visible !== !1)
474
- ), l = w(
475
- () => e.value.filter((u) => !u.frozen && u.visible !== !1)
476
- ), a = w(
469
+ }, es = (s, t) => {
470
+ const n = b(s), e = L(
471
+ () => [...n.value].sort((c, E) => c.frozen === E.frozen ? 0 : c.frozen ? -1 : 1)
472
+ ), o = L(
473
+ () => e.value.filter((c) => c.frozen && c.visible !== !1)
474
+ ), a = L(
475
+ () => e.value.filter((c) => !c.frozen && c.visible !== !1)
476
+ ), i = L(
477
477
  () => [
478
478
  { columnSet: o.value, id: "frozen", isFrozenColumns: !0 },
479
- { columnSet: l.value, id: "unfrozen" }
480
- ].filter(({ columnSet: u }) => u.length)
481
- ), h = w(
482
- () => n.value.filter((u) => (u == null ? void 0 : u.visible) !== !1 && (u == null ? void 0 : u.field) !== q).length === 1
483
- ), g = (u) => t(T.UPDATE_CONDENSED, u), _ = (u) => {
484
- t(T.COLUMNS, u), t(T.UPDATE_COLUMNS, u);
479
+ { columnSet: a.value, id: "unfrozen" }
480
+ ].filter(({ columnSet: c }) => c.length)
481
+ ), C = L(
482
+ () => n.value.filter((c) => (c == null ? void 0 : c.visible) !== !1 && (c == null ? void 0 : c.field) !== q).length === 1
483
+ ), _ = (c) => t(A.UPDATE_CONDENSED, c), f = (c) => {
484
+ t(A.COLUMNS, c), t(A.UPDATE_COLUMNS, c);
485
485
  };
486
486
  return {
487
487
  // Values
488
- columnSets: a,
489
- isOnlyOneVisibleColumn: h,
488
+ columnSets: i,
489
+ isOnlyOneVisibleColumn: C,
490
490
  sortedColumns: e,
491
491
  // Methods
492
- onConfigSettingsUpdate: g,
493
- onConfigSettingsColumnsUpdate: _,
494
- onConfigSettingsColumnUpdate: (u) => {
495
- const i = e.value.map(
496
- (d) => (d == null ? void 0 : d.field) === u.field ? u : d
492
+ onConfigSettingsUpdate: _,
493
+ onConfigSettingsColumnsUpdate: f,
494
+ onConfigSettingsColumnUpdate: (c) => {
495
+ const E = e.value.map(
496
+ (l) => (l == null ? void 0 : l.field) === c.field ? c : l
497
497
  );
498
- _(i);
498
+ f(E);
499
499
  }
500
500
  };
501
- }, Ze = (s, t) => {
501
+ }, je = (s, t) => {
502
502
  const n = b(0);
503
503
  let e = null;
504
504
  const o = () => {
505
505
  s != null && s.value && t.value && (n.value = s.value.offsetHeight);
506
506
  };
507
- return be(() => {
507
+ return Ae(() => {
508
508
  K(() => {
509
- const l = Y(
509
+ const a = Y(
510
510
  s,
511
511
  () => {
512
- s != null && s.value && (K(() => l()), e = Ne(s.value, () => {
512
+ s != null && s.value && (K(() => a()), e = De(s.value, () => {
513
513
  o();
514
514
  }));
515
515
  },
@@ -523,52 +523,52 @@ const Yn = (s, t, n) => {
523
523
  { immediate: !0 }
524
524
  );
525
525
  });
526
- }), nt(() => {
526
+ }), st(() => {
527
527
  e == null || e.disconnect();
528
528
  }), n;
529
- }, es = (s, t, n, e, o) => {
530
- const l = b(0), a = b(!1), h = b(!1);
529
+ }, ts = (s, t, n, e, o) => {
530
+ const a = b(0), i = b(!1), C = b(!1);
531
531
  Y(
532
- () => l.value,
532
+ () => a.value,
533
533
  () => {
534
- s.value.scrollLeft = l.value, t.value.scrollLeft = l.value, a.value = !!l.value, h.value = t.value.scrollWidth - t.value.offsetWidth > l.value;
534
+ s.value.scrollLeft = a.value, t.value.scrollLeft = a.value, i.value = !!a.value, C.value = t.value.scrollWidth - t.value.offsetWidth > a.value;
535
535
  }
536
- ), be(async () => {
537
- var i, d;
538
- await K(), ((i = t.value) == null ? void 0 : i.offsetWidth) < ((d = t.value) == null ? void 0 : d.scrollWidth) && (h.value = !0);
536
+ ), Ae(async () => {
537
+ var E, l;
538
+ await K(), ((E = t.value) == null ? void 0 : E.offsetWidth) < ((l = t.value) == null ? void 0 : l.scrollWidth) && (C.value = !0);
539
539
  });
540
- const g = (i) => {
541
- if (l.value = i.target.scrollLeft, n.value = s.value.scrollHeight - i.target.scrollTop, e != null && e.value) {
542
- const d = i.target.scrollLeft;
543
- e.value.scrollLeft !== d && (e.value.scrollLeft = d);
540
+ const _ = (E) => {
541
+ if (a.value = E.target.scrollLeft, n.value = s.value.scrollHeight - E.target.scrollTop, e != null && e.value) {
542
+ const l = E.target.scrollLeft;
543
+ e.value.scrollLeft !== l && (e.value.scrollLeft = l);
544
544
  }
545
- }, _ = (i) => {
546
- i.key !== "Tab" && i.key !== "ArrowRight" && i.key !== "ArrowLeft" || (i.preventDefault(), s.value.scrollLeft = 0, s.value.style.overflowX = "hidden", setTimeout(() => {
545
+ }, f = (E) => {
546
+ E.key !== "Tab" && E.key !== "ArrowRight" && E.key !== "ArrowLeft" || (E.preventDefault(), s.value.scrollLeft = 0, s.value.style.overflowX = "hidden", setTimeout(() => {
547
547
  s.value.style.overflowX = "auto";
548
548
  }));
549
- }, p = (i) => {
550
- const d = i.target.scrollLeft;
551
- s.value.scrollLeft !== d && (s.value.scrollLeft = d);
552
- }, u = w(() => {
553
- var i, d, c;
549
+ }, m = (E) => {
550
+ const l = E.target.scrollLeft;
551
+ s.value.scrollLeft !== l && (s.value.scrollLeft = l);
552
+ }, c = L(() => {
553
+ var E, l, d;
554
554
  return {
555
- "b-data-grid__horizontal-scrollbar--sticky-pagination": ((i = o == null ? void 0 : o.pagination) == null ? void 0 : i.value) && (((d = o == null ? void 0 : o.stickyPagination) == null ? void 0 : d.value) || (o == null ? void 0 : o.isDataGridTemplate)) && !((c = o == null ? void 0 : o.isLazyLoad) != null && c.value)
555
+ "b-data-grid__horizontal-scrollbar--sticky-pagination": ((E = o == null ? void 0 : o.pagination) == null ? void 0 : E.value) && (((l = o == null ? void 0 : o.stickyPagination) == null ? void 0 : l.value) || (o == null ? void 0 : o.isDataGridTemplate)) && !((d = o == null ? void 0 : o.isLazyLoad) != null && d.value)
556
556
  };
557
557
  });
558
558
  return {
559
559
  // Values
560
- scrollLeftPosition: l,
561
- hasLeftOverflow: a,
562
- hasRightOverflow: h,
563
- horizontalScrollbarConditionalClasses: u,
560
+ scrollLeftPosition: a,
561
+ hasLeftOverflow: i,
562
+ hasRightOverflow: C,
563
+ horizontalScrollbarConditionalClasses: c,
564
564
  // Methods
565
- updateScrollPosition: g,
566
- updateScrollPositionOnFrozenColumnsNavigation: _,
567
- syncVirtualScrollerWithBody: p
565
+ updateScrollPosition: _,
566
+ updateScrollPositionOnFrozenColumnsNavigation: f,
567
+ syncVirtualScrollerWithBody: m
568
568
  };
569
- }, ts = (s, t, n, e) => {
570
- const o = b(null), l = w(() => {
571
- var v, m, S, O;
569
+ }, ns = (s, t, n, e) => {
570
+ const o = b(null), a = L(() => {
571
+ var u, h, p, O;
572
572
  if (!o.value || o.value.field === q)
573
573
  return {
574
574
  hoveredOverColumnField: "",
@@ -576,127 +576,127 @@ const Yn = (s, t, n) => {
576
576
  noBorderLeft: !1,
577
577
  noBorderRight: !1
578
578
  };
579
- const a = (m = (v = s.value.find((R) => R.isFrozenColumns)) == null ? void 0 : v.columnSet) == null ? void 0 : m.filter((R) => R.field !== q), h = s.value.find((R) => !(R != null && R.isFrozenColumns)), g = o.value.frozen && (a == null ? void 0 : a[0].field) === o.value.field, _ = !o.value.frozen && ((S = h == null ? void 0 : h.columnSet) == null ? void 0 : S[0].field) === o.value.field, p = (t.value || n.value) && g, u = (t.value || n.value) && !a && _, i = a && _, d = (a == null ? void 0 : a.length) > 0 && o.value.frozen && (a == null ? void 0 : a[a.length - 1].field) === o.value.field, c = n.value && e.value && !o.value.frozen && ((O = h == null ? void 0 : h.columnSet) == null ? void 0 : O[h.columnSet.length - 1].field) === o.value.field;
579
+ const i = (h = (u = s.value.find((R) => R.isFrozenColumns)) == null ? void 0 : u.columnSet) == null ? void 0 : h.filter((R) => R.field !== q), C = s.value.find((R) => !(R != null && R.isFrozenColumns)), _ = o.value.frozen && (i == null ? void 0 : i[0].field) === o.value.field, f = !o.value.frozen && ((p = C == null ? void 0 : C.columnSet) == null ? void 0 : p[0].field) === o.value.field, m = (t.value || n.value) && _, c = (t.value || n.value) && !i && f, E = i && f, l = (i == null ? void 0 : i.length) > 0 && o.value.frozen && (i == null ? void 0 : i[i.length - 1].field) === o.value.field, d = n.value && e.value && !o.value.frozen && ((O = C == null ? void 0 : C.columnSet) == null ? void 0 : O[C.columnSet.length - 1].field) === o.value.field;
580
580
  return {
581
581
  hoveredOverColumnField: o.value.field,
582
- isSeparatorOffset: c,
583
- noBorderLeft: !!p || !!u || !!i,
584
- noBorderRight: !!d || !!c
582
+ isSeparatorOffset: d,
583
+ noBorderLeft: !!m || !!c || !!E,
584
+ noBorderRight: !!l || !!d
585
585
  };
586
586
  });
587
587
  return {
588
588
  hoveredOverColumn: o,
589
- hoveredOverColumnState: l
589
+ hoveredOverColumnState: a
590
590
  };
591
591
  };
592
- let je = 0;
593
- const ns = {
592
+ let qe = 0;
593
+ const ss = {
594
594
  beforeCreate() {
595
- this.uuid = je.toString(), je += 1;
595
+ this.uuid = qe.toString(), qe += 1;
596
596
  }
597
597
  };
598
- var ss = function() {
598
+ var os = function() {
599
599
  var t = this, n = t._self._c;
600
600
  return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { fill: "#00112C", "clip-path": "url(#uia-icons-16-arrow_up_down_sort__a" + t.uuid + ")" } }, [n("path", { attrs: { d: "M9.06077 4.00011L5.00011 -0.0605469L0.939453 4.00011L2.00011 5.06077L4.25 2.81089V10.75H5.75V2.81066L8.00011 5.06077L9.06077 4.00011Z" } }), n("path", { attrs: { d: "M10.25 13.1893L8.00011 10.9395L6.93945 12.0001L11.0001 16.0608L15.0608 12.0001L14.0001 10.9395L11.75 13.1896V5.25H10.25V13.1893Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-icons-16-arrow_up_down_sort__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
601
- }, os = [], ls = /* @__PURE__ */ H(
602
- ns,
601
+ }, ls = [], as = /* @__PURE__ */ V(
603
602
  ss,
604
603
  os,
604
+ ls,
605
605
  !1,
606
606
  null,
607
607
  null
608
608
  );
609
- const as = ls.exports;
610
- let qe = 0;
611
- const is = {
609
+ const is = as.exports;
610
+ let Ye = 0;
611
+ const rs = {
612
612
  beforeCreate() {
613
- this.uuid = qe.toString(), qe += 1;
613
+ this.uuid = Ye.toString(), Ye += 1;
614
614
  }
615
615
  };
616
- var rs = function() {
616
+ var ds = function() {
617
617
  var t = this, n = t._self._c;
618
618
  return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("path", { attrs: { fill: "#00112C", d: "M12.1933 8.7454L7.93903 12.9996L8.99969 14.0603L15.0604 7.99963L8.99969 1.93896L7.93903 2.99963L12.1848 7.24541L1.24902 7.25658L1.25056 8.75658L12.1933 8.7454Z" } })]);
619
- }, ds = [], cs = /* @__PURE__ */ H(
620
- is,
619
+ }, cs = [], us = /* @__PURE__ */ V(
621
620
  rs,
622
621
  ds,
622
+ cs,
623
623
  !1,
624
624
  null,
625
625
  null
626
626
  );
627
- const us = cs.exports;
628
- let Ye = 0;
629
- const fs = {
627
+ const fs = us.exports;
628
+ let Xe = 0;
629
+ const gs = {
630
630
  beforeCreate() {
631
- this.uuid = Ye.toString(), Ye += 1;
631
+ this.uuid = Xe.toString(), Xe += 1;
632
632
  }
633
633
  };
634
- var gs = function() {
634
+ var _s = function() {
635
635
  var t = this, n = t._self._c;
636
636
  return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { "clip-path": "url(#uia-icons-16-freeze__a" + t.uuid + ")" } }, [n("path", { attrs: { fill: "#00112C", d: "M7.99989 14.0605L9.49989 15.5605L10.5605 14.4999L8.75 12.6893V10.9334L10.169 10.116L11.6861 10.9939L12.3501 13.4688L13.7988 13.0801L13.2488 11.0301L15.2988 10.4801L14.9101 9.03129L12.4363 9.695L10.9199 8.81745V7.18276L12.4365 6.3051L14.9101 6.96875L15.2988 5.51999L13.2488 4.96999L13.7988 2.91999L12.3501 2.53129L11.686 5.00635L10.1693 5.88407L8.75 5.06648L8.75 3.31043L10.5605 1.49989L9.49989 0.439226L7.99989 1.93923L6.49989 0.439226L5.43923 1.49989L7.25 3.31066V5.06639L5.83078 5.88392L4.31419 5.00626L3.65018 2.53129L2.20141 2.91998L2.384 3.60052L2.38063 3.60143L2.75032 4.97028L0.701408 5.51999L1.0901 6.96875L1.7708 6.78612L1.77173 6.78955L3.56437 6.30541L5.07992 7.18246L5.07992 8.81775L3.564 9.69502L1.0901 9.03129L0.701408 10.4801L2.75141 11.0301L2.20141 13.0801L3.65018 13.4687L4.31414 10.994L5.83106 10.1161L7.25 10.9335V12.6891L5.43923 14.4999L6.49989 15.5605L7.99989 14.0605ZM9.41992 7.18345V8.81644L7.99992 9.63441L6.57992 8.81644L6.57992 7.18345L7.99992 6.36548L9.41992 7.18345Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-icons-16-freeze__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff", transform: "matrix(1 0 0 -1 0 16)" } })])])]);
637
- }, _s = [], vs = /* @__PURE__ */ H(
638
- fs,
637
+ }, vs = [], Cs = /* @__PURE__ */ V(
639
638
  gs,
640
639
  _s,
640
+ vs,
641
641
  !1,
642
642
  null,
643
643
  null
644
644
  );
645
- const ut = vs.exports;
646
- let Xe = 0;
647
- const Cs = {
645
+ const ft = Cs.exports;
646
+ let Je = 0;
647
+ const hs = {
648
648
  beforeCreate() {
649
- this.uuid = Xe.toString(), Xe += 1;
649
+ this.uuid = Je.toString(), Je += 1;
650
650
  }
651
651
  };
652
- var hs = function() {
652
+ var ms = function() {
653
653
  var t = this, n = t._self._c;
654
654
  return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { fill: "#00112C", "clip-path": "url(#uia-icons-16-sort_ascending__a" + t.uuid + ")" } }, [n("path", { attrs: { d: "M12.0001 1.93945L16.0608 6.00011L15.0001 7.06077L12.75 4.81066V12.75H11.25V4.81089L9.00011 7.06077L7.93945 6.00011L12.0001 1.93945Z" } }), n("path", { attrs: { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" } }), n("path", { attrs: { d: "M1.25 11.25H8.75V12.75H1.25V11.25Z" } }), n("path", { attrs: { d: "M6.75 3.25H1.25V4.75H6.75V3.25Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-icons-16-sort_ascending__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
655
- }, ms = [], ps = /* @__PURE__ */ H(
656
- Cs,
655
+ }, ps = [], Ss = /* @__PURE__ */ V(
657
656
  hs,
658
657
  ms,
658
+ ps,
659
659
  !1,
660
660
  null,
661
661
  null
662
662
  );
663
- const Ss = ps.exports;
664
- let Je = 0;
665
- const Ls = {
663
+ const Ls = Ss.exports;
664
+ let Ke = 0;
665
+ const ws = {
666
666
  beforeCreate() {
667
- this.uuid = Je.toString(), Je += 1;
667
+ this.uuid = Ke.toString(), Ke += 1;
668
668
  }
669
669
  };
670
- var ws = function() {
670
+ var Es = function() {
671
671
  var t = this, n = t._self._c;
672
672
  return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { fill: "#00112C", "clip-path": "url(#uia-icons-16-sort_descending__a" + t.uuid + ")" } }, [n("path", { attrs: { d: "M12.75 3.25V11.1896L15.0001 8.93945L16.0608 10.0001L12.0001 14.0608L7.93945 10.0001L9.00011 8.93945L11.25 11.1893V3.25H12.75Z" } }), n("path", { attrs: { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" } }), n("path", { attrs: { d: "M1.25 3.25H9.09V4.75H1.25V3.25Z" } }), n("path", { attrs: { d: "M6.75 11.25H1.25V12.75H6.75V11.25Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-icons-16-sort_descending__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
673
- }, Es = [], Rs = /* @__PURE__ */ H(
674
- Ls,
673
+ }, Rs = [], ys = /* @__PURE__ */ V(
675
674
  ws,
676
675
  Es,
676
+ Rs,
677
677
  !1,
678
678
  null,
679
679
  null
680
680
  );
681
- const ys = Rs.exports;
682
- let Ke = 0;
683
- const bs = {
681
+ const bs = ys.exports;
682
+ let Qe = 0;
683
+ const Os = {
684
684
  beforeCreate() {
685
- this.uuid = Ke.toString(), Ke += 1;
685
+ this.uuid = Qe.toString(), Qe += 1;
686
686
  }
687
687
  };
688
- var Os = function() {
688
+ var As = function() {
689
689
  var t = this, n = t._self._c;
690
690
  return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("path", { attrs: { fill: "#00112C", d: "M8 11.25L12.5 5.25H3.5L8 11.25Z" } })]);
691
- }, Ts = [], As = /* @__PURE__ */ H(
692
- bs,
691
+ }, Ts = [], Ns = /* @__PURE__ */ V(
693
692
  Os,
693
+ As,
694
694
  Ts,
695
695
  !1,
696
696
  null,
697
697
  null
698
698
  );
699
- const Ns = As.exports, Is = {
699
+ const Is = Ns.exports, Ds = {
700
700
  "en-US": {
701
701
  columnActions: "{name} column actions",
702
702
  freezeColumn: "Freeze column",
@@ -728,11 +728,11 @@ const Ns = As.exports, Is = {
728
728
  selectAll: "Selecionar tudo",
729
729
  unfreezeColumn: "Descongelar coluna"
730
730
  }
731
- }, Ds = {
732
- i18n: { messages: Is },
731
+ }, Fs = {
732
+ i18n: { messages: Ds },
733
733
  name: "data-grid-columns"
734
- }, Fs = /* @__PURE__ */ Q({
735
- ...Ds,
734
+ }, xs = /* @__PURE__ */ Q({
735
+ ...Fs,
736
736
  props: {
737
737
  /**
738
738
  * Column definitions using 'key' to relate to data object.
@@ -858,33 +858,33 @@ const Ns = As.exports, Is = {
858
858
  },
859
859
  emits: ["sort", "column-hover"],
860
860
  setup(s, { expose: t, emit: n }) {
861
- const e = s, o = 100, { t: l } = ie(), { columns: a, sortBy: h } = ye(e), g = b({}), _ = b({}), p = b(), u = b(), i = (r) => n(k.SELECT_ALL_ROWS, r), d = (r) => r.field === q, c = w(() => [
861
+ const e = s, o = 100, { t: a } = ie(), { columns: i, sortBy: C } = Oe(e), _ = b({}), f = b({}), m = b(), c = b(), E = (r) => n(k.SELECT_ALL_ROWS, r), l = (r) => r.field === q, d = L(() => [
862
862
  {
863
- text: l("selectPage"),
864
- handler: () => i(!0)
863
+ text: a("selectPage"),
864
+ handler: () => E(!0)
865
865
  },
866
866
  {
867
- text: l("selectAll"),
867
+ text: a("selectAll"),
868
868
  handler: () => n(k.SELECT_ALL_ACROSS_PAGES)
869
869
  }
870
- ]), { startResize: v, isResizing: m, columnHoverEventToEmitAfterResizing: S } = Mn(a, n), { isSorting: O, getSortingDirection: R, sortByColumnField: D } = qn(h, a, n), B = (r) => {
870
+ ]), { startResize: u, isResizing: h, columnHoverEventToEmitAfterResizing: p } = Bn(i, n), { isSorting: O, getSortingDirection: R, sortByColumnField: F } = Yn(C, i, n), z = (r) => {
871
871
  var oe;
872
872
  if (!r.sortable)
873
873
  return null;
874
- const P = (oe = e.sortBy.find(({ field: le }) => le === r.field)) == null ? void 0 : oe.direction;
875
- return P ? {
876
- [ae.ASCENDING]: he.ASCENDING,
877
- [ae.DESCENDING]: he.DESCENDING
878
- }[P] : he.NONE;
879
- }, L = w(() => (r) => e.hasDraggableColumns ? {
880
- dragstart: (P) => {
881
- n(k.COLUMN_DRAG_START, r, P);
874
+ const M = (oe = e.sortBy.find(({ field: le }) => le === r.field)) == null ? void 0 : oe.direction;
875
+ return M ? {
876
+ [ae.ASCENDING]: Ce.ASCENDING,
877
+ [ae.DESCENDING]: Ce.DESCENDING
878
+ }[M] : Ce.NONE;
879
+ }, S = L(() => (r) => e.hasDraggableColumns ? {
880
+ dragstart: (M) => {
881
+ n(k.COLUMN_DRAG_START, r, M);
882
882
  },
883
- dragover: (P) => {
884
- P.preventDefault();
883
+ dragover: (M) => {
884
+ M.preventDefault();
885
885
  },
886
- dragenter: (P) => {
887
- P.preventDefault(), n(k.COLUMN_DRAG_ENTER, r, P);
886
+ dragenter: (M) => {
887
+ M.preventDefault(), n(k.COLUMN_DRAG_ENTER, r, M);
888
888
  },
889
889
  drop: () => {
890
890
  n(k.COLUMN_DROP, r);
@@ -892,65 +892,65 @@ const Ns = As.exports, Is = {
892
892
  dragend: () => {
893
893
  n(k.COLUMN_DRAG_END);
894
894
  }
895
- } : {}), E = w(() => (r) => [
895
+ } : {}), w = L(() => (r) => [
896
896
  {
897
- text: l("moveColumnLeft"),
897
+ text: a("moveColumnLeft"),
898
898
  handler: () => n(k.COLUMN_MOVE, r, -1),
899
899
  icon: Tn,
900
900
  disabled: e.columns[0].field === r.field
901
901
  },
902
902
  {
903
- text: l("moveColumnRight"),
903
+ text: a("moveColumnRight"),
904
904
  handler: () => n(k.COLUMN_MOVE, r, 1),
905
- icon: us,
905
+ icon: fs,
906
906
  disabled: e.columns[e.columns.length - 1].field === r.field
907
907
  },
908
908
  {
909
- text: r != null && r.frozen ? l("unfreezeColumn") : l("freezeColumn"),
909
+ text: r != null && r.frozen ? a("unfreezeColumn") : a("freezeColumn"),
910
910
  handler: () => n(k.COLUMN_UPDATE, { ...r, frozen: !(r != null && r.frozen) }),
911
- icon: ut
911
+ icon: ft
912
912
  },
913
913
  {
914
- text: (r == null ? void 0 : r.visible) !== !1 ? l("hideColumn") : l("showColumn"),
914
+ text: (r == null ? void 0 : r.visible) !== !1 ? a("hideColumn") : a("showColumn"),
915
915
  handler: () => {
916
916
  n(k.COLUMN_UPDATE, {
917
917
  ...r,
918
918
  visible: (r == null ? void 0 : r.visible) === !1
919
919
  });
920
920
  },
921
- icon: (r == null ? void 0 : r.visible) !== !1 ? An : Nn,
921
+ icon: (r == null ? void 0 : r.visible) !== !1 ? Nn : In,
922
922
  disabled: (r == null ? void 0 : r.mandatory) || (r == null ? void 0 : r.visible) !== !1 && e.isOnlyOneVisibleColumn
923
923
  }
924
924
  ]), N = (r) => {
925
- p.value = r.field, u.value && clearTimeout(u.value);
926
- }, F = () => {
925
+ m.value = r.field, c.value && clearTimeout(c.value);
926
+ }, x = () => {
927
927
  const r = setTimeout(() => {
928
- p.value = "";
928
+ m.value = "";
929
929
  }, o);
930
- u.value = r;
931
- }, f = (r) => {
932
- let P = {
930
+ c.value = r;
931
+ }, $ = (r) => {
932
+ let M = {
933
933
  mouseenter: () => {
934
- N(r), m.value ? S.value = r : n("column-hover", r);
934
+ N(r), h.value ? p.value = r : n("column-hover", r);
935
935
  },
936
936
  mouseleave: () => {
937
- F(), m.value ? S.value = null : n("column-hover", null);
937
+ x(), h.value ? p.value = null : n("column-hover", null);
938
938
  },
939
939
  focus: () => N(r)
940
940
  };
941
- return d(r) || (P = {
942
- ...P,
943
- ...L.value(r)
944
- }), P;
945
- }, M = (r) => r.infoIconTooltip || r.sortable || e.hasColumnPanel, I = (r, P) => {
941
+ return l(r) || (M = {
942
+ ...M,
943
+ ...S.value(r)
944
+ }), M;
945
+ }, g = (r) => r.infoIconTooltip || r.sortable || e.hasColumnPanel, B = (r, M) => {
946
946
  var Z;
947
- ((Z = g.value) == null ? void 0 : Z[P]) === void 0 && (g.value = { ...g.value, [P]: null }), r !== null && (g.value[P] = r);
948
- }, x = w(() => {
949
- var P;
947
+ ((Z = _.value) == null ? void 0 : Z[M]) === void 0 && (_.value = { ..._.value, [M]: null }), r !== null && (_.value[M] = r);
948
+ }, I = L(() => {
949
+ var M;
950
950
  const r = {
951
951
  "b-data-grid-columns--is-measuring": e.isMeasuringColumnWidths
952
952
  };
953
- return (P = a.value[0]) != null && P.frozen ? {
953
+ return (M = i.value[0]) != null && M.frozen ? {
954
954
  ...r,
955
955
  "b-data-grid-columns--frozen": !0,
956
956
  "b-data-grid-columns--frozen-separator": e.showFrozenColumnsSeparator,
@@ -959,13 +959,13 @@ const Ns = As.exports, Is = {
959
959
  ...r,
960
960
  "b-data-grid-columns--unfrozen": !0
961
961
  };
962
- }), U = (r, P) => r && P === 0 ? Ge.BOTTOM_START : Ge.BOTTOM_END, G = (r, P) => {
962
+ }), D = (r, M) => r && M === 0 ? We.BOTTOM_START : We.BOTTOM_END, G = (r, M) => {
963
963
  var Z, oe, le, de, fe, W, re, ge, ce, _e;
964
964
  return {
965
965
  "b-data-grid-columns__column--column-hovered": r.field === e.hoveredOverColumnState.hoveredOverColumnField,
966
966
  "b-data-grid-columns__column--column-hovered-no-border-left": r.field === e.hoveredOverColumnState.hoveredOverColumnField && e.hoveredOverColumnState.noBorderLeft,
967
967
  "b-data-grid-columns__column--column-hovered-no-border-right": r.field === e.hoveredOverColumnState.hoveredOverColumnField && e.hoveredOverColumnState.noBorderRight,
968
- "b-data-grid-columns__column--last-frozen-frozen-column": e.isFrozenColumns && P === a.value.length - 1,
968
+ "b-data-grid-columns__column--last-frozen-frozen-column": e.isFrozenColumns && M === i.value.length - 1,
969
969
  "b-data-grid-columns__column--sortable": r.sortable,
970
970
  "b-data-grid-columns__column--padding-left-unset": ((Z = r == null ? void 0 : r.padding) == null ? void 0 : Z.left) === !1,
971
971
  "b-data-grid-columns__column--padding-right-unset": ((oe = r == null ? void 0 : r.padding) == null ? void 0 : oe.right) === !1,
@@ -974,82 +974,82 @@ const Ns = As.exports, Is = {
974
974
  "b-data-grid-columns__column--is-re-ordering": (r == null ? void 0 : r.field) === ((de = (le = e.draggingColumns) == null ? void 0 : le.dragging) == null ? void 0 : de.field),
975
975
  "b-data-grid-columns__column--is-re-ordering-target-left": (r == null ? void 0 : r.field) === ((W = (fe = e.draggingColumns) == null ? void 0 : fe.target) == null ? void 0 : W.field) && ((re = e.draggingColumns) == null ? void 0 : re.dragToLeft),
976
976
  "b-data-grid-columns__column--is-re-ordering-target-right": (r == null ? void 0 : r.field) === ((ce = (ge = e.draggingColumns) == null ? void 0 : ge.target) == null ? void 0 : ce.field) && !((_e = e.draggingColumns) != null && _e.dragToLeft),
977
- "b-data-grid-columns__column--with-sorting-or-column-panel": r.sortable || r.infoIconTooltip || e.hasColumnPanel && p.value === r.field || e.selectableAcrossPages
977
+ "b-data-grid-columns__column--with-sorting-or-column-panel": r.sortable || r.infoIconTooltip || e.hasColumnPanel && m.value === r.field || e.selectableAcrossPages
978
978
  };
979
- }, C = (r) => ({
979
+ }, v = (r) => ({
980
980
  "b-data-grid-columns__column-header-and-actions--numeric": r == null ? void 0 : r.numeric
981
981
  }), y = (r) => ({
982
982
  "b-data-grid-columns__column-actions--numeric": r == null ? void 0 : r.numeric
983
- }), z = (r) => ({
983
+ }), P = (r) => ({
984
984
  "b-data-grid-columns__column-separator-container--is-resizeable": e.hasResizableColumns,
985
985
  "b-data-grid-columns__column-separator-container--is-offset": e.hoveredOverColumnState.hoveredOverColumnField === r.field && e.hoveredOverColumnState.isSeparatorOffset
986
- }), X = w(() => ({
986
+ }), X = L(() => ({
987
987
  "b-data-grid-columns__column-header--truncated": e.truncateColumnHeaders
988
988
  }));
989
989
  return t({
990
- columnHeaderRefs: g
991
- }), { __sfc: !0, props: e, emit: n, CLOSING_CONTEXTUAL_MENU_DELAY_MS: o, t: l, columns: a, sortBy: h, columnHeaderRefs: g, contextMenuRef: _, hoveredColumnField: p, closingTimeOutId: u, onAllRowSelect: i, isActionsColumn: d, selectAllMenu: c, startResize: v, isResizing: m, columnHoverEventToEmitAfterResizing: S, isSorting: O, getSortingDirection: R, sortByColumnField: D, getSortingColumnDirection: B, draggingEventsForColumn: L, contextualMenuData: E, showContextualMenu: N, hideContextualMenu: F, dataGridColumnEvents: f, hasColumnActions: M, registerColumnsRefs: I, conditionalColumnsClasses: x, computeMenuPosition: U, conditionalColumnClasses: G, conditionalColumnHeaderAndActionsClasses: C, conditionalColumnActionsClasses: y, conditionalColumnSeparatorClasses: z, conditionalColumnHeaderClasses: X, BentoCheckbox: at, BentoDatagridSortDirection: ae, BentoTypography: me, BentoInfoIcon: bn, DatagridColumnsEvent: k, BentoMenu: rt, BentoToggleButton: Ie, ArrowUpAndDownSortIcon: as, SortAscendingIcon: Ss, SortDescendingIcon: ys, TriangleDown: Ns };
990
+ columnHeaderRefs: _
991
+ }), { __sfc: !0, props: e, emit: n, CLOSING_CONTEXTUAL_MENU_DELAY_MS: o, t: a, columns: i, sortBy: C, columnHeaderRefs: _, contextMenuRef: f, hoveredColumnField: m, closingTimeOutId: c, onAllRowSelect: E, isActionsColumn: l, selectAllMenu: d, startResize: u, isResizing: h, columnHoverEventToEmitAfterResizing: p, isSorting: O, getSortingDirection: R, sortByColumnField: F, getSortingColumnDirection: z, draggingEventsForColumn: S, contextualMenuData: w, showContextualMenu: N, hideContextualMenu: x, dataGridColumnEvents: $, hasColumnActions: g, registerColumnsRefs: B, conditionalColumnsClasses: I, computeMenuPosition: D, conditionalColumnClasses: G, conditionalColumnHeaderAndActionsClasses: v, conditionalColumnActionsClasses: y, conditionalColumnSeparatorClasses: P, conditionalColumnHeaderClasses: X, BentoCheckbox: it, BentoDatagridSortDirection: ae, BentoTypography: he, BentoInfoIcon: On, DatagridColumnsEvent: k, BentoMenu: dt, BentoToggleButton: Fe, ArrowUpAndDownSortIcon: is, SortAscendingIcon: Ls, SortDescendingIcon: bs, TriangleDown: Is };
992
992
  }
993
993
  });
994
- var xs = function() {
994
+ var Ms = function() {
995
995
  var t = this, n = t._self._c, e = t._self._setupProxy;
996
- return n("div", { staticClass: "b-data-grid-columns", class: e.conditionalColumnsClasses, attrs: { "data-testid": "data-grid-columns" } }, t._l(e.columns, function(o, l) {
997
- return n("div", t._g({ key: o.field, ref: (a) => e.registerColumnsRefs(a, o.field), refInFor: !0, staticClass: "b-data-grid-columns__column", class: e.conditionalColumnClasses(o, l), style: { width: o.autoWidth && t.isMeasuringColumnWidths ? "auto" : `${o.width}px` }, attrs: { "aria-colindex": l + 1, "aria-label": o.label, "aria-sort": e.getSortingColumnDirection(o), "data-testid": `${o.field}-column-header`, draggable: t.hasDraggableColumns && !e.isResizing && !e.isActionsColumn(o), role: "columnheader", tabindex: o.sortable || t.hasColumnPanel || o.infoIconTooltip ? "0" : "-1" } }, e.dataGridColumnEvents(o)), [e.isActionsColumn(o) && t.selectable ? n("div", { staticClass: "b-data-grid-columns__select-column" }, [n(e.BentoCheckbox, { attrs: { "model-value": t.allItemsSelectedState.allItemsSelected, "data-testid": "checkbox-select-all", indeterminate: t.allItemsSelectedState.isIndeterminate, value: "data-grid-select-all" }, on: { "update:model-value": e.onAllRowSelect } }), t.selectableAcrossPages ? [n(e.BentoMenu, { staticClass: "b-data-grid-columns__select-column-menu", attrs: { data: e.selectAllMenu, "menu-position": "bottom-start", "menu-fixed-positioning": "", button: { variant: "tertiary", condensed: !0 } }, scopedSlots: t._u([{ key: "iconLeft", fn: function() {
996
+ return n("div", { staticClass: "b-data-grid-columns", class: e.conditionalColumnsClasses, attrs: { "data-testid": "data-grid-columns" } }, t._l(e.columns, function(o, a) {
997
+ return n("div", t._g({ key: o.field, ref: (i) => e.registerColumnsRefs(i, o.field), refInFor: !0, staticClass: "b-data-grid-columns__column", class: e.conditionalColumnClasses(o, a), style: { width: o.autoWidth && t.isMeasuringColumnWidths ? "auto" : `${o.width}px` }, attrs: { "aria-colindex": a + 1, "aria-label": o.label, "aria-sort": e.getSortingColumnDirection(o), "data-testid": `${o.field}-column-header`, draggable: t.hasDraggableColumns && !e.isResizing && !e.isActionsColumn(o), role: "columnheader", tabindex: o.sortable || t.hasColumnPanel || o.infoIconTooltip ? "0" : "-1" } }, e.dataGridColumnEvents(o)), [e.isActionsColumn(o) && t.selectable ? n("div", { staticClass: "b-data-grid-columns__select-column" }, [n(e.BentoCheckbox, { attrs: { "model-value": t.allItemsSelectedState.allItemsSelected, "data-testid": "checkbox-select-all", indeterminate: t.allItemsSelectedState.isIndeterminate, value: "data-grid-select-all" }, on: { "update:model-value": e.onAllRowSelect } }), t.selectableAcrossPages ? [n(e.BentoMenu, { staticClass: "b-data-grid-columns__select-column-menu", attrs: { data: e.selectAllMenu, "menu-position": "bottom-start", "menu-fixed-positioning": "", button: { variant: "tertiary", condensed: !0 } }, scopedSlots: t._u([{ key: "iconLeft", fn: function() {
998
998
  return [n(e.TriangleDown, { attrs: { "svg-title": e.t("selectionMenu") } })];
999
999
  }, proxy: !0 }], null, !0) })] : t._e()], 2) : [n("div", { staticClass: "b-data-grid-columns__column-header-and-actions", class: e.conditionalColumnHeaderAndActionsClasses(o), attrs: { "aria-label": e.t("columnActions", { name: o.label }), "aria-live": "polite", role: "region" } }, [n(e.BentoTypography, { staticClass: "b-data-grid-columns__column-header", class: e.conditionalColumnHeaderClasses, attrs: { el: "div", strongest: "" } }, [t._t(`head-${o.field}`, function() {
1000
1000
  return [n("span", { staticClass: "b-data-grid-columns__label" }, [t._v(t._s(o.label))])];
1001
- }, { column: o })], 2), e.hasColumnActions(o) ? n("div", { staticClass: "b-data-grid-columns__column-actions", class: e.conditionalColumnActionsClasses(o) }, [o.infoIconTooltip ? n("div", { staticClass: "b-data-grid-columns__column-info-icon" }, [n(e.BentoInfoIcon, { attrs: { "tooltip-text": o.infoIconTooltip } })], 1) : t._e(), o.sortable ? n("div", { staticClass: "b-data-grid-columns__column-sort" }, [n(e.BentoToggleButton, { attrs: { condensed: "", toggled: e.isSorting(o.field), variant: "tertiary" }, on: { click: function(a) {
1001
+ }, { column: o })], 2), e.hasColumnActions(o) ? n("div", { staticClass: "b-data-grid-columns__column-actions", class: e.conditionalColumnActionsClasses(o) }, [o.infoIconTooltip ? n("div", { staticClass: "b-data-grid-columns__column-info-icon" }, [n(e.BentoInfoIcon, { attrs: { "tooltip-text": o.infoIconTooltip } })], 1) : t._e(), o.sortable ? n("div", { staticClass: "b-data-grid-columns__column-sort" }, [n(e.BentoToggleButton, { attrs: { condensed: "", toggled: e.isSorting(o.field), variant: "tertiary" }, on: { click: function(i) {
1002
1002
  return e.sortByColumnField(o.field);
1003
1003
  } }, scopedSlots: t._u([{ key: "iconLeft", fn: function() {
1004
1004
  return [e.getSortingDirection(o.field) ? e.getSortingDirection(o.field) === e.BentoDatagridSortDirection.ASCENDING ? n(e.SortAscendingIcon, { attrs: { "svg-title": e.t("sortColumnInDescendingOrder", { name: o.label }) } }) : e.getSortingDirection(o.field) === e.BentoDatagridSortDirection.DESCENDING ? n(e.SortDescendingIcon, { attrs: { "svg-title": e.t("sortColumnInAscendingOrder", { name: o.label }) } }) : t._e() : n(e.ArrowUpAndDownSortIcon, { attrs: { "svg-title": e.t("sortColumn", { name: o.label }) } })];
1005
- }, proxy: !0 }], null, !0) })], 1) : t._e(), t.hasColumnPanel && e.hoveredColumnField === o.field ? n(e.BentoMenu, { ref: (a) => e.contextMenuRef[o.field] = a, refInFor: !0, staticClass: "b-data-grid-columns__menu", attrs: { data: e.contextualMenuData(o), "menu-position": e.computeMenuPosition(t.hasFirstColumnPanelRightAligned, l), "menu-fixed-positioning": !0, button: { variant: "tertiary", condensed: !0 } }, on: { open: function(a) {
1005
+ }, proxy: !0 }], null, !0) })], 1) : t._e(), t.hasColumnPanel && e.hoveredColumnField === o.field ? n(e.BentoMenu, { ref: (i) => e.contextMenuRef[o.field] = i, refInFor: !0, staticClass: "b-data-grid-columns__menu", attrs: { data: e.contextualMenuData(o), "menu-position": e.computeMenuPosition(t.hasFirstColumnPanelRightAligned, a), "menu-fixed-positioning": !0, button: { variant: "tertiary", condensed: !0 } }, on: { open: function(i) {
1006
1006
  return t.$emit(e.DatagridColumnsEvent.COLUMN_MENU_OPEN);
1007
- }, close: function(a) {
1007
+ }, close: function(i) {
1008
1008
  return t.$emit(e.DatagridColumnsEvent.COLUMN_MENU_CLOSE);
1009
- } } }) : t._e()], 1) : t._e()], 1), n("div", { staticClass: "b-data-grid-columns__column-separator-container", class: e.conditionalColumnSeparatorClasses(o), attrs: { "data-testid": `data-grid-column-${o.field}`, role: "presentation" }, on: { mousedown: function(a) {
1010
- return e.startResize(t.hasResizableColumns, o.field, a);
1011
- }, click: function(a) {
1012
- a.stopPropagation();
1013
- } } }, [!t.isFrozenColumns || t.isFrozenColumns && l !== e.columns.length - 1 ? n("div", { staticClass: "b-data-grid-columns__column-separator" }) : t._e()])]], 2);
1009
+ } } }) : t._e()], 1) : t._e()], 1), n("div", { staticClass: "b-data-grid-columns__column-separator-container", class: e.conditionalColumnSeparatorClasses(o), attrs: { "data-testid": `data-grid-column-${o.field}`, role: "presentation" }, on: { mousedown: function(i) {
1010
+ return e.startResize(t.hasResizableColumns, o.field, i);
1011
+ }, click: function(i) {
1012
+ i.stopPropagation();
1013
+ } } }, [!t.isFrozenColumns || t.isFrozenColumns && a !== e.columns.length - 1 ? n("div", { staticClass: "b-data-grid-columns__column-separator" }) : t._e()])]], 2);
1014
1014
  }), 0);
1015
- }, Ms = [], Ps = /* @__PURE__ */ H(
1016
- Fs,
1015
+ }, Bs = [], Ps = /* @__PURE__ */ V(
1017
1016
  xs,
1018
1017
  Ms,
1018
+ Bs,
1019
1019
  !1,
1020
1020
  null,
1021
1021
  "43622155"
1022
1022
  );
1023
- const Bs = Ps.exports;
1023
+ const zs = Ps.exports;
1024
1024
  var ne = /* @__PURE__ */ ((s) => (s.CONFIG_SETTINGS = "config-settings", s.UPDATE_COLUMNS = "update:columns", s))(ne || {});
1025
- let Qe = 0;
1026
- const zs = {
1025
+ let et = 0;
1026
+ const $s = {
1027
1027
  beforeCreate() {
1028
- this.uuid = Qe.toString(), Qe += 1;
1028
+ this.uuid = et.toString(), et += 1;
1029
1029
  }
1030
1030
  };
1031
- var $s = function() {
1031
+ var Us = function() {
1032
1032
  var t = this, n = t._self._c;
1033
1033
  return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { fill: "#00112C", "clip-path": "url(#uia-icons-16-settings__a" + t.uuid + ")" } }, [n("path", { attrs: { d: "M8 5.25C6.48122 5.25 5.25 6.48122 5.25 8C5.25 9.51878 6.48122 10.75 8 10.75C9.51878 10.75 10.75 9.51878 10.75 8C10.75 6.48122 9.51878 5.25 8 5.25ZM6.75 8C6.75 7.30964 7.30964 6.75 8 6.75C8.69036 6.75 9.25 7.30964 9.25 8C9.25 8.69036 8.69036 9.25 8 9.25C7.30964 9.25 6.75 8.69036 6.75 8Z" } }), n("path", { attrs: { d: "M6.84701 0.973015L6.59985 0.35083L5.9537 0.526056C4.64534 0.880867 3.48225 1.56808 2.55285 2.48641L2.07533 2.95826L2.49158 3.48495C2.79648 3.87074 2.85279 4.419 2.58992 4.87589C2.32905 5.32931 1.82436 5.55631 1.33473 5.48726L0.677319 5.39455L0.505539 6.03586C0.33838 6.65992 0.25 7.32519 0.25 7.99991C0.25 8.67463 0.33838 9.3399 0.505539 9.96396L0.677319 10.6053L1.33473 10.5126C1.82436 10.4435 2.32905 10.6705 2.58992 11.1239C2.85279 11.5808 2.79648 12.1291 2.49158 12.5149L2.07533 13.0416L2.55285 13.5134C3.48225 14.4317 4.64534 15.119 5.9537 15.4738L6.59985 15.649L6.84701 15.0268C7.02659 14.5748 7.47549 14.2499 8 14.2499C8.52452 14.2499 8.97341 14.5748 9.15299 15.0268L9.40016 15.649L10.0463 15.4738C11.3547 15.119 12.5177 14.4317 13.4471 13.5134L13.9247 13.0416L13.5084 12.5149C13.2035 12.1291 13.1472 11.5808 13.4101 11.1239C13.671 10.6705 14.1756 10.4435 14.6653 10.5126L15.3227 10.6053L15.4945 9.96396C15.6616 9.3399 15.75 8.67463 15.75 7.99991C15.75 7.32519 15.6616 6.65992 15.4945 6.03586L15.3227 5.39455L14.6653 5.48726C14.1756 5.55631 13.671 5.32931 13.4101 4.87589C13.1472 4.419 13.2035 3.87074 13.5084 3.48495L13.9247 2.95826L13.4471 2.48641C12.5177 1.56808 11.3547 0.880867 10.0463 0.526056L9.40016 0.35083L9.15299 0.973015C8.97341 1.42506 8.52452 1.74991 8 1.74991C7.47549 1.74991 7.02659 1.42506 6.84701 0.973015ZM3.89008 5.62393C4.33946 4.84286 4.36394 3.9353 4.03405 3.16853C4.55803 2.73795 5.15349 2.39116 5.80146 2.14902C6.30062 2.81653 7.10051 3.24991 8 3.24991C8.89949 3.24991 9.69938 2.81653 10.1985 2.14902C10.8465 2.39116 11.442 2.73795 11.966 3.16853C11.6361 3.9353 11.6605 4.84287 12.1099 5.62393C12.5612 6.40839 13.3382 6.88092 14.1658 6.97982C14.221 7.31075 14.25 7.65319 14.25 7.99991C14.25 8.34663 14.221 8.68908 14.1658 9.02001C13.3382 9.11891 12.5612 9.59143 12.1099 10.3759C11.6605 11.157 11.6361 12.0645 11.9659 12.8313C11.442 13.2619 10.8465 13.6087 10.1985 13.8508C9.69938 13.1833 8.89949 12.7499 8 12.7499C7.10051 12.7499 6.30062 13.1833 5.80146 13.8508C5.15349 13.6087 4.55803 13.2619 4.03405 12.8313C4.36394 12.0645 4.33946 11.157 3.89008 10.3759C3.43875 9.59143 2.66177 9.1189 1.8342 9.02C1.77896 8.68908 1.75 8.34663 1.75 7.99991C1.75 7.65319 1.77896 7.31074 1.8342 6.97982C2.66177 6.88092 3.43875 6.40839 3.89008 5.62393Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-icons-16-settings__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
1034
- }, Us = [], ks = /* @__PURE__ */ H(
1035
- zs,
1034
+ }, ks = [], Gs = /* @__PURE__ */ V(
1036
1035
  $s,
1037
1036
  Us,
1037
+ ks,
1038
1038
  !1,
1039
1039
  null,
1040
1040
  null
1041
1041
  );
1042
- const Gs = ks.exports, Ws = {
1042
+ const Ws = Gs.exports, Hs = {
1043
1043
  "en-US": {
1044
1044
  toggleColumnFreeze: "Toggle {label} column freeze",
1045
1045
  toggleColumnVisibility: "Toggle {label} column visibility"
1046
1046
  }
1047
- }, Hs = Q({
1048
- i18n: { messages: Ws },
1047
+ }, Vs = Q({
1048
+ i18n: { messages: Hs },
1049
1049
  name: "bento-data-grid",
1050
1050
  components: {
1051
- BentoFreezeIcon: ut,
1052
- BentoToggle: dt
1051
+ BentoFreezeIcon: ft,
1052
+ BentoToggle: ct
1053
1053
  },
1054
1054
  props: {
1055
1055
  /**
@@ -1069,53 +1069,53 @@ const Gs = ks.exports, Ws = {
1069
1069
  },
1070
1070
  emits: ["visible-column", "updated-column"],
1071
1071
  setup(s, { emit: t }) {
1072
- const { t: n } = ie(), e = b(!1), o = w(() => {
1073
- var u;
1074
- return (u = s.column) == null ? void 0 : u.frozen;
1075
- }), l = w(() => {
1076
- var u;
1077
- return ((u = s.column) == null ? void 0 : u.visible) !== !1;
1078
- }), a = () => {
1079
- t("visible-column", { ...s.column, visible: !l.value });
1080
- }, h = () => {
1072
+ const { t: n } = ie(), e = b(!1), o = L(() => {
1073
+ var c;
1074
+ return (c = s.column) == null ? void 0 : c.frozen;
1075
+ }), a = L(() => {
1076
+ var c;
1077
+ return ((c = s.column) == null ? void 0 : c.visible) !== !1;
1078
+ }), i = () => {
1079
+ t("visible-column", { ...s.column, visible: !a.value });
1080
+ }, C = () => {
1081
1081
  t("updated-column", { ...s.column, frozen: !o.value });
1082
- }, g = () => {
1083
- o.value || (e.value = !0);
1084
1082
  }, _ = () => {
1083
+ o.value || (e.value = !0);
1084
+ }, f = () => {
1085
1085
  o.value || (e.value = !1);
1086
- }, p = w(() => ({
1086
+ }, m = L(() => ({
1087
1087
  "b-data-grid-config-settings-column-row__freeze-icon--frozen": o.value
1088
1088
  }));
1089
1089
  return {
1090
1090
  // Values
1091
1091
  isFreezeIconOptionShown: e,
1092
1092
  isColumnFrozen: o,
1093
- freezeIconConditionalClasses: p,
1094
- isColumnVisible: l,
1093
+ freezeIconConditionalClasses: m,
1094
+ isColumnVisible: a,
1095
1095
  // Methods
1096
- toggleColumnVisibility: a,
1097
- showFreezeIcon: g,
1098
- hideFreezeIcon: _,
1099
- toggleColumnFreeze: h,
1096
+ toggleColumnVisibility: i,
1097
+ showFreezeIcon: _,
1098
+ hideFreezeIcon: f,
1099
+ toggleColumnFreeze: C,
1100
1100
  // Translations
1101
1101
  t: n
1102
1102
  };
1103
1103
  }
1104
1104
  });
1105
- var Vs = function() {
1105
+ var Zs = function() {
1106
1106
  var t = this, n = t._self._c;
1107
1107
  return t._self._setupProxy, n("div", { staticClass: "b-data-grid-config-settings-column-row", on: { mouseover: t.showFreezeIcon, mouseleave: t.hideFreezeIcon } }, [n("bento-toggle", { attrs: { "aria-label": t.t("toggleColumnVisibility", { label: t.column.label }), disabled: t.isColumnVisibilityToggleDisabled, "label-position": "after", value: t.isColumnVisible }, on: { input: t.toggleColumnVisibility } }, [t._v(" " + t._s(t.column.label) + " ")]), n("bento-freeze-icon", { directives: [{ name: "show", rawName: "v-show", value: t.isColumnFrozen || t.isFreezeIconOptionShown, expression: "isColumnFrozen || isFreezeIconOptionShown" }], staticClass: "b-data-grid-config-settings-column-row__freeze-icon", class: t.freezeIconConditionalClasses, attrs: { "aria-label": t.t("toggleColumnFreeze", { label: t.column.label }) }, nativeOn: { click: function(e) {
1108
1108
  return t.toggleColumnFreeze.apply(null, arguments);
1109
1109
  } } })], 1);
1110
- }, Zs = [], js = /* @__PURE__ */ H(
1111
- Hs,
1110
+ }, js = [], qs = /* @__PURE__ */ V(
1112
1111
  Vs,
1113
1112
  Zs,
1113
+ js,
1114
1114
  !1,
1115
1115
  null,
1116
1116
  "eae7733f"
1117
1117
  );
1118
- const qs = js.exports, Ys = {
1118
+ const Ys = qs.exports, Xs = {
1119
1119
  "en-US": {
1120
1120
  closeConfigSettingsPanel: "Close configuration settings panel",
1121
1121
  closeSearch: "Close search",
@@ -1141,22 +1141,22 @@ const qs = js.exports, Ys = {
1141
1141
  search: "Buscar",
1142
1142
  size: "Tamanho"
1143
1143
  }
1144
- }, Xs = Q({
1145
- i18n: { messages: Ys },
1144
+ }, Js = Q({
1145
+ i18n: { messages: Xs },
1146
1146
  name: "bento-data-grid",
1147
1147
  components: {
1148
- BentoButton: it,
1149
- BentoCrossIcon: ot,
1150
- BentoPopover: On,
1151
- BentoSettingsIcon: Gs,
1152
- BentoToggleButton: Ie,
1153
- BentoDataGridConfigSettingsConfigRow: qs,
1154
- BentoSearchBar: In,
1155
- BentoSearchIcon: Fn,
1156
- BentoToggle: dt,
1157
- BentoTypography: me
1148
+ BentoButton: rt,
1149
+ BentoCrossIcon: lt,
1150
+ BentoPopover: An,
1151
+ BentoSettingsIcon: Ws,
1152
+ BentoToggleButton: Fe,
1153
+ BentoDataGridConfigSettingsConfigRow: Ys,
1154
+ BentoSearchBar: Dn,
1155
+ BentoSearchIcon: xn,
1156
+ BentoToggle: ct,
1157
+ BentoTypography: he
1158
1158
  },
1159
- directives: { BentoClickOutsideDirective: xn },
1159
+ directives: { BentoClickOutsideDirective: Mn },
1160
1160
  props: {
1161
1161
  /**
1162
1162
  * Column definitions
@@ -1175,69 +1175,69 @@ const qs = js.exports, Ys = {
1175
1175
  },
1176
1176
  emits: [ne.CONFIG_SETTINGS, ne.UPDATE_COLUMNS],
1177
1177
  setup(s, { emit: t }) {
1178
- const { t: n } = ie(), e = b(null), o = we("data-grid-config-settings-popover"), l = b(null), a = b(!1), h = b(!0), g = b(null), _ = b(""), p = st(s, "columns"), u = b(!1), i = Dn(_, p), d = () => {
1179
- _.value = "";
1180
- }, c = w(
1181
- () => !s.columns.some((E) => E.visible === !1 && !E.mandatory)
1182
- ), v = () => {
1183
- d(), u.value = !u.value, u.value ? K(() => {
1184
- var E;
1185
- return (E = l.value.$refs.bentoInputField) == null ? void 0 : E.focusInput();
1178
+ const { t: n } = ie(), e = b(null), o = Re("data-grid-config-settings-popover"), a = b(null), i = b(!1), C = b(!0), _ = b(null), f = b(""), m = we(s, "columns"), c = b(!1), E = Fn(f, m), l = () => {
1179
+ f.value = "";
1180
+ }, d = L(
1181
+ () => !s.columns.some((w) => w.visible === !1 && !w.mandatory)
1182
+ ), u = () => {
1183
+ l(), c.value = !c.value, c.value ? K(() => {
1184
+ var w;
1185
+ return (w = a.value.$refs.bentoInputField) == null ? void 0 : w.focusInput();
1186
1186
  }) : K(() => {
1187
- var E, N;
1188
- return (N = (E = g == null ? void 0 : g.value) == null ? void 0 : E.$el) == null ? void 0 : N.focus();
1189
- }), h.value = c.value;
1190
- }, m = (E) => E.mandatory ?? !1, S = (E) => {
1191
- const N = s.columns.map((F) => ({
1192
- ...F,
1193
- visible: E.field === F.field ? E.visible : F.visible
1187
+ var w, N;
1188
+ return (N = (w = _ == null ? void 0 : _.value) == null ? void 0 : w.$el) == null ? void 0 : N.focus();
1189
+ }), C.value = d.value;
1190
+ }, h = (w) => w.mandatory ?? !1, p = (w) => {
1191
+ const N = s.columns.map((x) => ({
1192
+ ...x,
1193
+ visible: w.field === x.field ? w.visible : x.visible
1194
1194
  }));
1195
1195
  t(ne.UPDATE_COLUMNS, N);
1196
- }, O = (E) => {
1197
- E ? t(
1196
+ }, O = (w) => {
1197
+ w ? t(
1198
1198
  ne.UPDATE_COLUMNS,
1199
1199
  s.columns.map((N) => ({ ...N, visible: !0 }))
1200
1200
  ) : t(
1201
1201
  ne.UPDATE_COLUMNS,
1202
1202
  s.columns.map((N) => ({ ...N, visible: (N == null ? void 0 : N.mandatory) === !0 }))
1203
1203
  );
1204
- }, R = (E) => {
1205
- const N = s.columns.map((F) => ({
1206
- ...F,
1207
- frozen: E.field === F.field ? !!(E != null && E.frozen) : !!(F != null && F.frozen)
1204
+ }, R = (w) => {
1205
+ const N = s.columns.map((x) => ({
1206
+ ...x,
1207
+ frozen: w.field === x.field ? !!(w != null && w.frozen) : !!(x != null && x.frozen)
1208
1208
  }));
1209
1209
  t(ne.UPDATE_COLUMNS, N);
1210
- }, D = (E) => {
1211
- a.value = E, h.value = c.value;
1210
+ }, F = (w) => {
1211
+ i.value = w, C.value = d.value;
1212
1212
  };
1213
1213
  return {
1214
1214
  // Values
1215
1215
  configSettingsButtonRef: e,
1216
1216
  popoverId: o,
1217
- isConfigSettingsPanelOpen: a,
1218
- allColumnsVisbilityToggleState: h,
1219
- filteredColumnVisibilityColumns: i,
1220
- searchTerm: _,
1221
- isColumnVisibilityFilterShown: u,
1222
- searchBarRef: l,
1223
- searchButtonRef: g,
1217
+ isConfigSettingsPanelOpen: i,
1218
+ allColumnsVisbilityToggleState: C,
1219
+ filteredColumnVisibilityColumns: E,
1220
+ searchTerm: f,
1221
+ isColumnVisibilityFilterShown: c,
1222
+ searchBarRef: a,
1223
+ searchButtonRef: _,
1224
1224
  DATAGRID_ACTIONS_COLUMN_FIELD_NAME: q,
1225
1225
  // Methods
1226
- setConfigSettingsPanelVisibility: D,
1227
- emitCondensedToggle: (E) => t(ne.CONFIG_SETTINGS, E),
1226
+ setConfigSettingsPanelVisibility: F,
1227
+ emitCondensedToggle: (w) => t(ne.CONFIG_SETTINGS, w),
1228
1228
  toggleAllColumnVisibility: O,
1229
- clearAction: d,
1230
- toggleColumnFilter: v,
1231
- emitVisibleColumns: S,
1229
+ clearAction: l,
1230
+ toggleColumnFilter: u,
1231
+ emitVisibleColumns: p,
1232
1232
  emitFrozenColumns: R,
1233
- onClickOutside: () => D(!1),
1234
- isColumnVisibilityToggleDisabled: m,
1233
+ onClickOutside: () => F(!1),
1234
+ isColumnVisibilityToggleDisabled: h,
1235
1235
  // Translations
1236
1236
  t: n
1237
1237
  };
1238
1238
  }
1239
1239
  });
1240
- var Js = function() {
1240
+ var Ks = function() {
1241
1241
  var t = this, n = t._self._c;
1242
1242
  return t._self._setupProxy, n("div", { directives: [{ name: "bento-click-outside-directive", rawName: "v-bento-click-outside-directive", value: t.onClickOutside, expression: "onClickOutside" }], staticClass: "b-data-grid-config-settings" }, [n("div", { staticClass: "b-data-grid-config-settings__button-and-separator" }, [n("div", { ref: "configSettingsButtonRef", staticClass: "b-data-grid-config-settings__button-container" }, [n("bento-toggle-button", { attrs: { "aria-controls": t.isConfigSettingsPanelOpen ? t.popoverId : null, variant: "tertiary", condensed: "", toggled: t.isConfigSettingsPanelOpen }, on: { click: function(e) {
1243
1243
  return t.setConfigSettingsPanelVisibility(!t.isConfigSettingsPanelOpen);
@@ -1256,15 +1256,15 @@ var Js = function() {
1256
1256
  }, clear: t.clearAction, "escape-pressed": t.toggleColumnFilter } })], 1) : n("div", { staticClass: "b-data-grid-config-settings__column-visibility-show-all" }, [n("bento-toggle", { attrs: { "label-position": "after", value: t.allColumnsVisbilityToggleState }, on: { input: t.toggleAllColumnVisibility } }, [t._v(" " + t._s(t.t("showAllColumns", { numberOfColumns: t.columns.length })) + " ")])], 1), n("div", { staticClass: "b-data-grid-config-settings__column-visibility-toggles" }, [t._l(t.filteredColumnVisibilityColumns, function(e) {
1257
1257
  return n("div", { key: e.field }, [e.field !== t.DATAGRID_ACTIONS_COLUMN_FIELD_NAME ? n("bento-data-grid-config-settings-config-row", { attrs: { column: e, "is-column-visibility-toggle-disabled": t.isColumnVisibilityToggleDisabled(e) }, on: { "visible-column": t.emitVisibleColumns, "updated-column": t.emitFrozenColumns } }) : t._e()], 1);
1258
1258
  }), t.filteredColumnVisibilityColumns.length === 0 ? n("bento-typography", { staticClass: "b-data-grid-config-settings__column-visibility-empty-search-message", attrs: { el: "span" } }, [t._v(" " + t._s(t.t("noColumnsMatch")) + " ")]) : t._e()], 2)])]) : t._e()], 1);
1259
- }, Ks = [], Qs = /* @__PURE__ */ H(
1260
- Xs,
1259
+ }, Qs = [], eo = /* @__PURE__ */ V(
1261
1260
  Js,
1262
1261
  Ks,
1262
+ Qs,
1263
1263
  !1,
1264
1264
  null,
1265
1265
  "e7f0a261"
1266
1266
  );
1267
- const eo = Qs.exports, ft = {
1267
+ const to = eo.exports, gt = {
1268
1268
  "en-US": {
1269
1269
  gettingYourData: "Getting your data",
1270
1270
  loading: "Loading",
@@ -1282,10 +1282,10 @@ const eo = Qs.exports, ft = {
1282
1282
  loading: "Carregando",
1283
1283
  showMore: "Mostrar mais"
1284
1284
  }
1285
- }, to = {
1286
- i18n: { messages: ft }
1287
- }, no = /* @__PURE__ */ Q({
1288
- ...to,
1285
+ }, no = {
1286
+ i18n: { messages: gt }
1287
+ }, so = /* @__PURE__ */ Q({
1288
+ ...no,
1289
1289
  __name: "data-grid-lazy-load",
1290
1290
  props: {
1291
1291
  loading: { type: Boolean },
@@ -1293,41 +1293,41 @@ const eo = Qs.exports, ft = {
1293
1293
  },
1294
1294
  setup(s) {
1295
1295
  const { t } = ie();
1296
- return { __sfc: !0, t, BentoLoadingButton: yn, BentoLoadingButtonState: Rn, BentoLoadingIndicator: Te, BentoDatagridEvent: T };
1296
+ return { __sfc: !0, t, BentoLoadingButton: bn, BentoLoadingButtonState: yn, BentoLoadingIndicator: Ne, BentoDatagridEvent: A };
1297
1297
  }
1298
1298
  });
1299
- var so = function() {
1299
+ var oo = function() {
1300
1300
  var t = this, n = t._self._c, e = t._self._setupProxy;
1301
1301
  return n("div", { staticClass: "b-data-grid-lazy-load" }, [t.loading && t.isInfiniteScroll ? n(e.BentoLoadingIndicator) : t._e(), t.loading && !t.isInfiniteScroll ? n(e.BentoLoadingButton, { attrs: { variant: "secondary", state: e.BentoLoadingButtonState.LOADING } }, [t._v(t._s(e.t("loading")))]) : t._e(), !t.loading && !t.isInfiniteScroll ? n(e.BentoLoadingButton, { attrs: { state: e.BentoLoadingButtonState.START, variant: "secondary" }, on: { click: function(o) {
1302
1302
  return t.$emit(e.BentoDatagridEvent.UPDATE_SHOW_MORE);
1303
1303
  } } }, [t._v(t._s(e.t("showMore")))]) : t._e()], 1);
1304
- }, oo = [], lo = /* @__PURE__ */ H(
1305
- no,
1304
+ }, lo = [], ao = /* @__PURE__ */ V(
1306
1305
  so,
1307
1306
  oo,
1307
+ lo,
1308
1308
  !1,
1309
1309
  null,
1310
1310
  "fd9b8204"
1311
1311
  );
1312
- const ao = lo.exports;
1313
- let et = 0;
1314
- const io = {
1312
+ const io = ao.exports;
1313
+ let tt = 0;
1314
+ const ro = {
1315
1315
  beforeCreate() {
1316
- this.uuid = et.toString(), et += 1;
1316
+ this.uuid = tt.toString(), tt += 1;
1317
1317
  }
1318
1318
  };
1319
- var ro = function() {
1319
+ var co = function() {
1320
1320
  var t = this, n = t._self._c;
1321
1321
  return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("path", { attrs: { fill: "#00112C", d: "M12.9243 1.86372C12.0456 0.985043 10.621 0.985041 9.74234 1.86372L1.25 10.3561V14.7501H5.64399L14.1363 6.25772C15.015 5.37904 15.015 3.95442 14.1363 3.07574L12.9243 1.86372ZM10.803 2.92438C11.0959 2.63149 11.5708 2.63149 11.8637 2.92438L13.0757 4.1364C13.3686 4.42929 13.3686 4.90416 13.0757 5.19706L12.3333 5.93947L10.0606 3.6668L10.803 2.92438ZM8.99993 4.72746L11.2726 7.00013L5.02267 13.2501H2.75V10.9774L8.99993 4.72746Z" } })]);
1322
- }, co = [], uo = /* @__PURE__ */ H(
1323
- io,
1322
+ }, uo = [], fo = /* @__PURE__ */ V(
1324
1323
  ro,
1325
1324
  co,
1325
+ uo,
1326
1326
  !1,
1327
1327
  null,
1328
1328
  null
1329
1329
  );
1330
- const fo = uo.exports, go = {
1330
+ const go = fo.exports, _o = {
1331
1331
  "en-US": {
1332
1332
  copy: "Copy",
1333
1333
  edit: "Edit",
@@ -1346,17 +1346,17 @@ const fo = uo.exports, go = {
1346
1346
  more: "Mais",
1347
1347
  open: "Abrir"
1348
1348
  }
1349
- }, _o = {
1350
- i18n: { messages: go },
1349
+ }, vo = {
1350
+ i18n: { messages: _o },
1351
1351
  name: "data-grid-cell-actions"
1352
- }, vo = /* @__PURE__ */ Q({
1353
- ..._o,
1352
+ }, Co = /* @__PURE__ */ Q({
1353
+ ...vo,
1354
1354
  props: {
1355
1355
  /**
1356
1356
  * Column definitions using 'key' to relate to data object.
1357
1357
  */
1358
1358
  cellActions: {
1359
- type: Array,
1359
+ type: [Array, Function],
1360
1360
  required: !0,
1361
1361
  validator: (s) => (s == null ? void 0 : s.length) <= 2
1362
1362
  },
@@ -1377,14 +1377,19 @@ const fo = uo.exports, go = {
1377
1377
  },
1378
1378
  emits: ["menu-item-click-close"],
1379
1379
  setup(s, { emit: t }) {
1380
- const n = s, { t: e } = ie(), o = w(() => {
1381
- var i;
1382
- return ((i = n.cellActions) == null ? void 0 : i.length) > 2 && lt(
1380
+ const n = s, { t: e } = ie();
1381
+ function o(l) {
1382
+ return typeof l == "function";
1383
+ }
1384
+ const a = L(() => {
1385
+ var d;
1386
+ const l = o(n.cellActions) ? (d = n.cellActions) == null ? void 0 : d.call(n, n.rowDataItem, n.columnKey) : n.cellActions;
1387
+ return (l == null ? void 0 : l.length) > 2 && at(
1383
1388
  "WARNING: BentoDataGrid Cell actions can only have a maximum of 2 actions, if you need more consider using the menuData property instead."
1384
- ), n.cellActions.slice(0, 2);
1385
- }), l = w(() => (i, d) => {
1386
- if (!(!d && i.isShort || d && !i.isShort))
1387
- switch (i.variant) {
1389
+ ), l == null ? void 0 : l.slice(0, 2);
1390
+ }), i = L(() => (l, d) => {
1391
+ if (!(!d && l.isShort || d && !l.isShort))
1392
+ switch (l.variant) {
1388
1393
  case "copy":
1389
1394
  return e("copy");
1390
1395
  case "edit":
@@ -1394,33 +1399,33 @@ const fo = uo.exports, go = {
1394
1399
  case "more":
1395
1400
  return e("more");
1396
1401
  default:
1397
- return i.title;
1402
+ return l.title;
1398
1403
  }
1399
- }), a = (i) => (i == null ? void 0 : i.event) !== void 0 ? {
1400
- click: () => i.event(n.rowDataItem, n.columnKey)
1401
- } : {}, h = (i) => ({
1402
- ...i,
1404
+ }), C = (l) => (l == null ? void 0 : l.event) !== void 0 ? {
1405
+ click: () => l.event(n.rowDataItem, n.columnKey)
1406
+ } : {}, _ = (l) => ({
1407
+ ...l,
1403
1408
  handler: () => {
1404
- i != null && i.handler && typeof i.handler == "function" && (i == null || i.handler()), i != null && i.event && typeof i.event == "function" && (i == null || i.event(n.rowDataItem, n.columnKey));
1409
+ 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));
1405
1410
  }
1406
- }), g = (i) => i.map((d) => {
1407
- const c = d;
1408
- return c != null && c.items && (c.items = g(c.items)), { ...h(c) };
1411
+ }), f = (l) => l.map((d) => {
1412
+ const u = d;
1413
+ return u != null && u.items && (u.items = f(u.items)), { ..._(u) };
1409
1414
  });
1410
- return { __sfc: !0, t: e, props: n, emit: t, limitedRowCellActionsProps: o, getButtonTitle: l, generateButtonEvents: a, generateMenuEvents: h, transformMenuEvents: g, getCopyText: (i) => {
1411
- var d, c;
1412
- return (i == null ? void 0 : i.getCopyData) !== void 0 ? i.getCopyData(n.rowDataItem, n.columnKey) : (c = (d = n.rowDataItem) == null ? void 0 : d[n.columnKey]) == null ? void 0 : c.toString();
1413
- }, shouldShowMenuIconRight: (i) => i.iconRight || ((i == null ? void 0 : i.variant) === "more" || (i == null ? void 0 : i.variant) === "open") && !i.isShort, shouldShowMenuIconLeft: (i) => i.iconLeft || (i == null ? void 0 : i.variant) === "more", BentoButton: it, BentoMenu: rt, Copy: Ln, Edit1Icon: fo, ExternalLinkIcon: Sn, OptionsVerticalIcon: mn };
1415
+ return { __sfc: !0, t: e, props: n, emit: t, isBentoColumnCellActionsByCellValueDataFn: o, computedCellActions: a, getButtonTitle: i, generateButtonEvents: C, generateMenuEvents: _, transformMenuEvents: f, getCopyText: (l) => {
1416
+ var d, u;
1417
+ return (l == null ? void 0 : l.getCopyData) !== void 0 ? l.getCopyData(n.rowDataItem, n.columnKey) : (u = (d = n.rowDataItem) == null ? void 0 : d[n.columnKey]) == null ? void 0 : u.toString();
1418
+ }, shouldShowMenuIconRight: (l) => l.iconRight || ((l == null ? void 0 : l.variant) === "more" || (l == null ? void 0 : l.variant) === "open") && !l.isShort, shouldShowMenuIconLeft: (l) => l.iconLeft || (l == null ? void 0 : l.variant) === "more", BentoButton: rt, BentoMenu: dt, Copy: wn, Edit1Icon: go, ExternalLinkIcon: Ln, OptionsVerticalIcon: pn };
1414
1419
  }
1415
1420
  });
1416
- var Co = function() {
1421
+ var ho = function() {
1417
1422
  var t = this, n = t._self._c, e = t._self._setupProxy;
1418
- return n("Transition", { attrs: { name: "b-data-grid-cell-actions__animation", appear: "" } }, [n("div", { staticClass: "b-data-grid-cell-actions" }, [n("div", { staticClass: "b-data-grid-cell-actions__background-gradient" }), n("div", { staticClass: "b-data-grid-cell-actions__actions", attrs: { role: "group" } }, t._l(e.limitedRowCellActionsProps, function(o, l) {
1419
- return n("div", { key: l, staticClass: "b-data-grid-cell-actions__action" }, [o.menuData ? n(e.BentoMenu, { attrs: { data: e.transformMenuEvents(o.menuData), button: {
1423
+ return n("Transition", { attrs: { name: "b-data-grid-cell-actions__animation", appear: "" } }, [n("div", { staticClass: "b-data-grid-cell-actions" }, [n("div", { staticClass: "b-data-grid-cell-actions__background-gradient" }), n("div", { staticClass: "b-data-grid-cell-actions__actions", attrs: { role: "group" } }, t._l(e.computedCellActions, function(o, a) {
1424
+ return n("div", { key: a, staticClass: "b-data-grid-cell-actions__action" }, [o.menuData ? n(e.BentoMenu, { attrs: { data: e.transformMenuEvents(o.menuData), button: {
1420
1425
  condensed: !0,
1421
1426
  variant: "secondary",
1422
1427
  disabled: o.disabled
1423
- }, teleport: "" }, on: { "menu-item-click": function(a) {
1428
+ }, teleport: "" }, on: { "menu-item-click": function(i) {
1424
1429
  return e.emit("menu-item-click-close");
1425
1430
  } }, scopedSlots: t._u([e.shouldShowMenuIconLeft(o) ? { key: "iconLeft", fn: function() {
1426
1431
  return [(o == null ? void 0 : o.variant) === "more" ? n(e.OptionsVerticalIcon, { attrs: { "svg-title": e.getButtonTitle(o, !0) } }) : n(o.iconLeft, { tag: "component", attrs: { "svg-title": e.getButtonTitle(o, !0) } })];
@@ -1439,27 +1444,27 @@ var Co = function() {
1439
1444
  return [(o == null ? void 0 : o.variant) === "open" ? n(e.ExternalLinkIcon, { attrs: { "svg-title": e.getButtonTitle(o, !0) } }) : n(o.iconRight, { tag: "component", attrs: { "svg-title": o.title } })];
1440
1445
  }, proxy: !0 } : null], null, !0) }, e.generateButtonEvents(o)))], 1);
1441
1446
  }), 0)])]);
1442
- }, ho = [], mo = /* @__PURE__ */ H(
1443
- vo,
1447
+ }, mo = [], po = /* @__PURE__ */ V(
1444
1448
  Co,
1445
1449
  ho,
1450
+ mo,
1446
1451
  !1,
1447
1452
  null,
1448
- "a6bb216c"
1453
+ "9b907b4f"
1449
1454
  );
1450
- const po = mo.exports;
1451
- var V = /* @__PURE__ */ ((s) => (s.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED = "action-col-nested-content-and-selection-enabled", s.ACTION_COL_NESTED_CONTENT_ENABLED = "action-col-nested-content-enabled", s.ACTION_COL_SELECTION_ENABLED = "action-col-selection-enabled", s.COLUMN_HOVERED = "column-hovered", s.COLUMN_HOVERED_NO_BORDER_LEFT = "column-hovered-no-border-left", s.COLUMN_HOVERED_NO_BORDER_RIGHT = "column-hovered-no-border-right", s.CONDENSED = "condensed", s.FROZEN = "frozen", s.IS_COLUMN_REORDERING = "is-column-re-ordering", s.IS_COLUMN_REORDERING_TARGET_LEFT = "is-column-re-order-target-left", s.IS_COLUMN_REORDERING_TARGET_RIGHT = "is-column-re-order-target-right", s.LAST_FROZEN_COLUMN_CELL = "last-frozen-column-cell", s.NESTED_CONTENT_ENABLED = "nested-content-toggle-enabled", s.NUMERIC = "numeric", s.OVERFLOW_ELLIPSIS = "overflow-ellipsis", s.PADDING_LEFT_UNSET = "padding-left-unset", s.PADDING_RIGHT_UNSET = "padding-right-unset", s))(V || {});
1452
- const So = {
1455
+ const So = po.exports, _t = Symbol("data-grid slashed zero key");
1456
+ var H = /* @__PURE__ */ ((s) => (s.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED = "action-col-nested-content-and-selection-enabled", s.ACTION_COL_NESTED_CONTENT_ENABLED = "action-col-nested-content-enabled", s.ACTION_COL_SELECTION_ENABLED = "action-col-selection-enabled", s.COLUMN_HOVERED = "column-hovered", s.COLUMN_HOVERED_NO_BORDER_LEFT = "column-hovered-no-border-left", s.COLUMN_HOVERED_NO_BORDER_RIGHT = "column-hovered-no-border-right", s.CONDENSED = "condensed", s.FROZEN = "frozen", s.IS_COLUMN_REORDERING = "is-column-re-ordering", s.IS_COLUMN_REORDERING_TARGET_LEFT = "is-column-re-order-target-left", s.IS_COLUMN_REORDERING_TARGET_RIGHT = "is-column-re-order-target-right", s.LAST_FROZEN_COLUMN_CELL = "last-frozen-column-cell", s.NESTED_CONTENT_ENABLED = "nested-content-toggle-enabled", s.NUMERIC = "numeric", s.OVERFLOW_ELLIPSIS = "overflow-ellipsis", s.PADDING_LEFT_UNSET = "padding-left-unset", s.PADDING_RIGHT_UNSET = "padding-right-unset", s.SLASHED_ZERO = "slashed-zero", s))(H || {});
1457
+ const Lo = {
1453
1458
  "en-US": {
1454
1459
  collapseNestedContent: "Collapse nested content",
1455
1460
  expandNestedContent: "Expand nested content",
1456
1461
  selectRow: "Select row"
1457
1462
  }
1458
- }, Lo = {
1459
- i18n: { messages: So },
1463
+ }, wo = {
1464
+ i18n: { messages: Lo },
1460
1465
  name: "data-grid-cell"
1461
- }, wo = /* @__PURE__ */ Q({
1462
- ...Lo,
1466
+ }, Eo = /* @__PURE__ */ Q({
1467
+ ...wo,
1463
1468
  props: {
1464
1469
  draggingEventsForRowCell: {
1465
1470
  type: Function,
@@ -1581,104 +1586,105 @@ const So = {
1581
1586
  },
1582
1587
  emits: ["on-frozen-columns-key-press", "select-row", "register-row-cell-element", "cell-hovered", "nested-content-toggled"],
1583
1588
  setup(s, { expose: t, emit: n }) {
1584
- const e = s, o = Oe(), l = Ae(o), { t: a } = ie(), h = b(null), g = b(null), _ = b(!1), p = b([]), u = w(() => {
1585
- var f;
1586
- return !!((f = e.rowData) != null && f[e.column.field]);
1587
- }), i = w(
1589
+ const e = s, o = Te(), a = Ie(o), { t: i } = ie(), C = b(null), _ = b(null), f = b(!1), m = b([]), c = L(() => {
1590
+ var g;
1591
+ return !!((g = e.rowData) != null && g[e.column.field]);
1592
+ }), E = L(
1588
1593
  () => {
1589
- var f;
1590
- return e.column.field === q && ((f = e.nestedRowsElementIds) == null ? void 0 : f.length) > 0 ? e.nestedRowsElementIds.join(" ") : void 0;
1594
+ var g;
1595
+ return e.column.field === q && ((g = e.nestedRowsElementIds) == null ? void 0 : g.length) > 0 ? e.nestedRowsElementIds.join(" ") : void 0;
1591
1596
  }
1592
- ), d = w(
1597
+ ), l = L(
1593
1598
  () => e.column.field === q && !e.selectable && !e.nestedContent
1594
- ), c = (f, M) => (f == null ? void 0 : f.overflow) === Ee.ELLIPSIS ? `${M}` : void 0, v = (f) => f ?? "-", m = (f) => e.columnSets.slice(0, f).reduce((M, { columnSet: I }) => M + I.length, 0), S = (f, M) => f + m(M), O = (f, M, I) => m() * f + S(M, I), R = (f) => {
1595
- var M;
1596
- (f === null || !h.value.contains(f) && !((M = p.value) != null && M.map((I) => I.value).some((I) => I === f || (I == null ? void 0 : I.contains(f))))) && (_.value = !1);
1597
- }, D = () => {
1598
- _.value = !1;
1599
- }, B = (f) => {
1599
+ ), d = (g, B) => (g == null ? void 0 : g.overflow) === ye.ELLIPSIS ? `${B}` : void 0, u = (g) => g ?? "-", h = (g) => e.columnSets.slice(0, g).reduce((B, { columnSet: I }) => B + I.length, 0), p = (g, B) => g + h(B), O = (g, B, I) => h() * g + p(B, I), R = (g) => {
1600
+ var B;
1601
+ (g === null || !C.value.contains(g) && !((B = m.value) != null && B.map((I) => I.value).some((I) => I === g || (I == null ? void 0 : I.contains(g))))) && (f.value = !1);
1602
+ }, F = () => {
1603
+ f.value = !1;
1604
+ }, z = (g) => {
1600
1605
  const I = { ...{
1601
- ...e.draggingEventsForRowCell(f)
1606
+ ...e.draggingEventsForRowCell(g)
1602
1607
  } };
1603
- return f.frozen && (I.keyup = (x) => n("on-frozen-columns-key-press", x), I.keydown = (x) => n("on-frozen-columns-key-press", x)), f.cellActions && (I.mouseenter = () => {
1604
- _.value = !0;
1605
- }, I.mouseleave = (x) => {
1606
- _.value = !1, R(x == null ? void 0 : x.relatedTarget);
1607
- }, I.mouseleave = (x) => {
1608
- R(x == null ? void 0 : x.relatedTarget);
1609
- }, I.focus = (x) => {
1610
- _.value = !0;
1611
- }, I.focusout = (x) => {
1612
- R(x == null ? void 0 : x.relatedTarget);
1608
+ return g.frozen && (I.keyup = (D) => n("on-frozen-columns-key-press", D), I.keydown = (D) => n("on-frozen-columns-key-press", D)), g.cellActions && (I.mouseenter = () => {
1609
+ f.value = !0;
1610
+ }, I.mouseleave = (D) => {
1611
+ f.value = !1, R(D == null ? void 0 : D.relatedTarget);
1612
+ }, I.mouseleave = (D) => {
1613
+ R(D == null ? void 0 : D.relatedTarget);
1614
+ }, I.focus = (D) => {
1615
+ f.value = !0;
1616
+ }, I.focusout = (D) => {
1617
+ R(D == null ? void 0 : D.relatedTarget);
1613
1618
  }), I;
1614
- }, L = () => {
1619
+ }, S = () => {
1615
1620
  n("nested-content-toggled");
1616
1621
  };
1617
1622
  Y(
1618
- () => _.value,
1623
+ () => f.value,
1619
1624
  () => {
1620
- _.value === !0 ? n("cell-hovered", e.rowIndex) : n("cell-hovered", -1);
1625
+ f.value === !0 ? n("cell-hovered", e.rowIndex) : n("cell-hovered", -1);
1621
1626
  }
1622
1627
  );
1623
- const E = (f) => {
1624
- p.value.push(f);
1625
- }, N = (f) => {
1626
- h.value.contains(f == null ? void 0 : f.relatedTarget) || (_.value = !1);
1628
+ const w = (g) => {
1629
+ m.value.push(g);
1630
+ }, N = (g) => {
1631
+ C.value.contains(g == null ? void 0 : g.relatedTarget) || (f.value = !1);
1627
1632
  };
1628
- on(pn, {
1629
- registerMenuContainerElement: E,
1633
+ ot(Sn, {
1634
+ registerMenuContainerElement: w,
1630
1635
  menuMouseLeave: N
1631
1636
  });
1632
- const F = (f) => {
1633
- var M, I, x, U, G, C, y;
1637
+ const x = Ee(_t, b(!1)), $ = (g) => {
1638
+ var B, I, D, G, v, y, P;
1634
1639
  return {
1635
- [`b-data-grid-cell--${V.COLUMN_HOVERED}`]: (f == null ? void 0 : f.field) === e.hoveredOverColumnState.hoveredOverColumnField,
1636
- [`b-data-grid-cell--${V.COLUMN_HOVERED_NO_BORDER_LEFT}`]: (f == null ? void 0 : f.field) === e.hoveredOverColumnState.hoveredOverColumnField && e.hoveredOverColumnState.noBorderLeft,
1637
- [`b-data-grid-cell--${V.COLUMN_HOVERED_NO_BORDER_RIGHT}`]: (f == null ? void 0 : f.field) === e.hoveredOverColumnState.hoveredOverColumnField && e.hoveredOverColumnState.noBorderRight,
1638
- [`b-data-grid-cell--${V.PADDING_LEFT_UNSET}`]: ((M = f == null ? void 0 : f.padding) == null ? void 0 : M.left) === !1,
1639
- [`b-data-grid-cell--${V.PADDING_RIGHT_UNSET}`]: ((I = f == null ? void 0 : f.padding) == null ? void 0 : I.right) === !1,
1640
- [`b-data-grid-cell--${V.NUMERIC}`]: f == null ? void 0 : f.numeric,
1641
- [`b-data-grid-cell--${V.CONDENSED}`]: e.condensed,
1642
- [`b-data-grid-cell--${V.OVERFLOW_ELLIPSIS}`]: (f == null ? void 0 : f.overflow) === Ee.ELLIPSIS,
1643
- [`b-data-grid-cell--${V.IS_COLUMN_REORDERING}`]: ((x = e.draggingColumns.dragging) == null ? void 0 : x.field) === f.field,
1644
- [`b-data-grid-cell--${V.IS_COLUMN_REORDERING_TARGET_LEFT}`]: ((U = e.draggingColumns.target) == null ? void 0 : U.field) === f.field && ((G = e.draggingColumns) == null ? void 0 : G.dragToLeft),
1645
- [`b-data-grid-cell--${V.IS_COLUMN_REORDERING_TARGET_RIGHT}`]: ((C = e.draggingColumns.target) == null ? void 0 : C.field) === f.field && !((y = e.draggingColumns) != null && y.dragToLeft),
1646
- [`b-data-grid-cell--${V.FROZEN}`]: f == null ? void 0 : f.frozen,
1647
- [`b-data-grid-cell--${V.NESTED_CONTENT_ENABLED}`]: e.nestedContent,
1648
- [`b-data-grid-cell--${V.ACTION_COL_NESTED_CONTENT_ENABLED}`]: e.nestedContent && !e.selectable && f.field === q,
1649
- [`b-data-grid-cell--${V.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED}`]: e.nestedContent && e.selectable && f.field === q,
1650
- [`b-data-grid-cell--${V.ACTION_COL_SELECTION_ENABLED}`]: f.field === q && e.selectable
1640
+ [`b-data-grid-cell--${H.COLUMN_HOVERED}`]: (g == null ? void 0 : g.field) === e.hoveredOverColumnState.hoveredOverColumnField,
1641
+ [`b-data-grid-cell--${H.COLUMN_HOVERED_NO_BORDER_LEFT}`]: (g == null ? void 0 : g.field) === e.hoveredOverColumnState.hoveredOverColumnField && e.hoveredOverColumnState.noBorderLeft,
1642
+ [`b-data-grid-cell--${H.COLUMN_HOVERED_NO_BORDER_RIGHT}`]: (g == null ? void 0 : g.field) === e.hoveredOverColumnState.hoveredOverColumnField && e.hoveredOverColumnState.noBorderRight,
1643
+ [`b-data-grid-cell--${H.PADDING_LEFT_UNSET}`]: ((B = g == null ? void 0 : g.padding) == null ? void 0 : B.left) === !1,
1644
+ [`b-data-grid-cell--${H.PADDING_RIGHT_UNSET}`]: ((I = g == null ? void 0 : g.padding) == null ? void 0 : I.right) === !1,
1645
+ [`b-data-grid-cell--${H.NUMERIC}`]: g == null ? void 0 : g.numeric,
1646
+ [`b-data-grid-cell--${H.CONDENSED}`]: e.condensed,
1647
+ [`b-data-grid-cell--${H.OVERFLOW_ELLIPSIS}`]: (g == null ? void 0 : g.overflow) === ye.ELLIPSIS,
1648
+ [`b-data-grid-cell--${H.IS_COLUMN_REORDERING}`]: ((D = e.draggingColumns.dragging) == null ? void 0 : D.field) === g.field,
1649
+ [`b-data-grid-cell--${H.IS_COLUMN_REORDERING_TARGET_LEFT}`]: ((G = e.draggingColumns.target) == null ? void 0 : G.field) === g.field && ((v = e.draggingColumns) == null ? void 0 : v.dragToLeft),
1650
+ [`b-data-grid-cell--${H.IS_COLUMN_REORDERING_TARGET_RIGHT}`]: ((y = e.draggingColumns.target) == null ? void 0 : y.field) === g.field && !((P = e.draggingColumns) != null && P.dragToLeft),
1651
+ [`b-data-grid-cell--${H.FROZEN}`]: g == null ? void 0 : g.frozen,
1652
+ [`b-data-grid-cell--${H.NESTED_CONTENT_ENABLED}`]: e.nestedContent,
1653
+ [`b-data-grid-cell--${H.ACTION_COL_NESTED_CONTENT_ENABLED}`]: e.nestedContent && !e.selectable && g.field === q,
1654
+ [`b-data-grid-cell--${H.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED}`]: e.nestedContent && e.selectable && g.field === q,
1655
+ [`b-data-grid-cell--${H.ACTION_COL_SELECTION_ENABLED}`]: g.field === q && e.selectable,
1656
+ [`b-data-grid-cell--${H.SLASHED_ZERO}`]: x.value
1651
1657
  };
1652
1658
  };
1653
1659
  return t({
1654
- gridcellRef: h
1655
- }), { __sfc: !0, slots: o, hasSlot: l, t: a, props: e, emit: n, gridcellRef: h, cellActionsRef: g, shouldShowCellActions: _, childrenMenuContainerElements: p, hasRowData: u, controlledNestedRowElementIds: i, ariaHidden: d, conditionalTitleAttribute: c, getRowData: v, sumColumnAmountsInColumnSets: m, getColIndex: S, getCellIndex: O, isLeavingCellFocus: R, onMenuClose: D, getGridcellEvents: B, toggleNestedContent: L, registerMenuContainerElement: E, menuMouseLeave: N, conditionalRowCellClasses: F, DATAGRID_ACTIONS_COLUMN_FIELD_NAME: q, BentoCheckbox: at, BentoTypography: me, BentoToggleButton: Ie, DataGridCellActions: po, ChevronDownIcon: En, ChevronUpIcon: wn };
1660
+ gridcellRef: C
1661
+ }), { __sfc: !0, slots: o, hasSlot: a, t: i, props: e, emit: n, gridcellRef: C, cellActionsRef: _, shouldShowCellActions: f, childrenMenuContainerElements: m, hasRowData: c, controlledNestedRowElementIds: E, ariaHidden: l, conditionalTitleAttribute: d, getRowData: u, sumColumnAmountsInColumnSets: h, getColIndex: p, getCellIndex: O, isLeavingCellFocus: R, onMenuClose: F, getGridcellEvents: z, toggleNestedContent: S, registerMenuContainerElement: w, menuMouseLeave: N, hasSlashedZero: x, conditionalRowCellClasses: $, DATAGRID_ACTIONS_COLUMN_FIELD_NAME: q, BentoCheckbox: it, BentoTypography: he, BentoToggleButton: Fe, DataGridCellActions: So, ChevronDownIcon: Rn, ChevronUpIcon: En };
1656
1662
  }
1657
1663
  });
1658
- var Eo = function() {
1664
+ var Ro = function() {
1659
1665
  var o;
1660
1666
  var t = this, n = t._self._c, e = t._self._setupProxy;
1661
1667
  return n("div", t._g({ key: `cell-${t.column.field}`, ref: "gridcellRef", staticClass: "b-data-grid-cell", class: e.conditionalRowCellClasses(t.column), style: {
1662
1668
  width: t.column.autoWidth && t.isMeasuringColumnWidths ? "auto" : `${t.column.width}px`
1663
- }, attrs: { "aria-hidden": e.ariaHidden, "data-testid": `cell-${t.column.field}`, "data-cellindex": e.getCellIndex(t.rowIndex, t.colIndex, t.columnSetIndex), role: "gridcell", tabindex: e.getCellIndex(t.rowIndex, t.colIndex, t.columnSetIndex) === 0 ? "0" : "-1", "aria-colindex": e.getColIndex(t.colIndex, t.columnSetIndex) + 1 } }, e.getGridcellEvents(t.column)), [t.column.field === e.DATAGRID_ACTIONS_COLUMN_FIELD_NAME ? [t.selectable ? [n(e.BentoCheckbox, { staticClass: "b-data-grid-cell__select-cell", attrs: { "aria-label": e.t("selectRow"), disabled: t.isDataItemDisabled(t.rowData), indeterminate: t.selectionIsIndeterminate, "model-value": t.selectedItems, value: t.getDataItemId(t.rowData) }, on: { "update:model-value": function(l) {
1664
- return t.$emit("select-row", l);
1669
+ }, attrs: { "aria-hidden": e.ariaHidden, "data-testid": `cell-${t.column.field}`, "data-cellindex": e.getCellIndex(t.rowIndex, t.colIndex, t.columnSetIndex), role: "gridcell", tabindex: e.getCellIndex(t.rowIndex, t.colIndex, t.columnSetIndex) === 0 ? "0" : "-1", "aria-colindex": e.getColIndex(t.colIndex, t.columnSetIndex) + 1 } }, e.getGridcellEvents(t.column)), [t.column.field === e.DATAGRID_ACTIONS_COLUMN_FIELD_NAME ? [t.selectable ? [n(e.BentoCheckbox, { staticClass: "b-data-grid-cell__select-cell", attrs: { "aria-label": e.t("selectRow"), disabled: t.isDataItemDisabled(t.rowData), indeterminate: t.selectionIsIndeterminate, "model-value": t.selectedItems, value: t.getDataItemId(t.rowData) }, on: { "update:model-value": function(a) {
1670
+ return t.$emit("select-row", a);
1665
1671
  } } })] : t._e(), t.nestedContent ? [n(e.BentoToggleButton, { ref: "menuButtonRef", attrs: { "aria-haspopup": "true", "aria-controls": e.controlledNestedRowElementIds, condensed: "", variant: "tertiary", toggled: t.isNestedContentExpanded }, on: { click: e.toggleNestedContent }, scopedSlots: t._u([{ key: "iconLeft", fn: function() {
1666
1672
  return [t.isNestedContentExpanded ? n(e.ChevronUpIcon, { staticClass: "b-accordion-item__icon", attrs: { "svg-title": e.t("collapseNestedContent") } }) : n(e.ChevronDownIcon, { staticClass: "b-accordion-item__icon", attrs: { "svg-title": e.t("expandNestedContent") } })];
1667
1673
  }, proxy: !0 }], null, !1, 1879847906) })] : t._e()] : [n(e.BentoTypography, { attrs: { el: "div" } }, [t._t(`item-${t.column.field}`, function() {
1668
1674
  return [n("span", { attrs: { title: e.conditionalTitleAttribute(t.column, t.rowData[t.column.field]) } }, [t._v(t._s(e.getRowData(t.rowData[t.column.field])))])];
1669
1675
  }, { item: t.rowData, rowIndex: t.rowIndex })], 2), ((o = t.column.cellActions) == null ? void 0 : o.length) > 0 ? n("div", { staticClass: "b-data-grid-cell__cell-actions" }, [e.shouldShowCellActions && (e.hasRowData || e.hasSlot(`item-${t.column.field}`)) ? n(e.DataGridCellActions, { ref: "cellActionsRef", attrs: { "cell-actions": t.column.cellActions, "column-key": t.column.field, "row-data-item": t.rowData }, on: { "menu-item-click-close": e.onMenuClose } }) : t._e()], 1) : t._e()]], 2);
1670
- }, Ro = [], yo = /* @__PURE__ */ H(
1671
- wo,
1676
+ }, yo = [], bo = /* @__PURE__ */ V(
1672
1677
  Eo,
1673
1678
  Ro,
1679
+ yo,
1674
1680
  !1,
1675
1681
  null,
1676
- "c48c88dd"
1682
+ "67064b26"
1677
1683
  );
1678
- const bo = yo.exports, Oo = {
1684
+ const Oo = bo.exports, Ao = {
1679
1685
  name: "data-grid-row"
1680
1686
  }, To = /* @__PURE__ */ Q({
1681
- ...Oo,
1687
+ ...Ao,
1682
1688
  props: {
1683
1689
  /**
1684
1690
  * When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
@@ -1857,196 +1863,196 @@ const bo = yo.exports, Oo = {
1857
1863
  },
1858
1864
  emits: ["cell-hovered", "on-frozen-columns-key-press", "select-row", "select-nested-row", "row-click", "nested-content-toggled"],
1859
1865
  setup(s, { expose: t, emit: n }) {
1860
- const e = s, o = Oe(), l = Ae(o), a = b({}), h = b(!1), g = b(), _ = we("nested-content-slot"), p = w(() => e.shouldShowNestedRows(e.rowData)), u = w(
1866
+ const e = s, o = Te(), a = Ie(o), i = b({}), C = b(!1), _ = b(), f = Re("nested-content-slot"), m = L(() => e.shouldShowNestedRows(e.rowData)), c = L(
1861
1867
  () => {
1862
- var C, y;
1863
- return !e.isNestedRow && e.hasNestedRows && p.value && ((y = (C = e.rowData) == null ? void 0 : C.children) == null ? void 0 : y.length) > 0;
1868
+ var v, y;
1869
+ return !e.isNestedRow && e.hasNestedRows && m.value && ((y = (v = e.rowData) == null ? void 0 : v.children) == null ? void 0 : y.length) > 0;
1864
1870
  }
1865
- ), i = w(
1871
+ ), E = L(
1866
1872
  () => {
1867
- var C, y;
1868
- return !e.isNestedRow && e.hasNestedRows && p.value && (((C = e.rowData) == null ? void 0 : C.children) === void 0 || ((y = e == null ? void 0 : e.rowData) == null ? void 0 : y.children.length) === 0);
1873
+ var v, y;
1874
+ return !e.isNestedRow && e.hasNestedRows && m.value && (((v = e.rowData) == null ? void 0 : v.children) === void 0 || ((y = e == null ? void 0 : e.rowData) == null ? void 0 : y.children.length) === 0);
1869
1875
  }
1870
- ), d = w(
1871
- () => e.hasNestedContent && e.shouldShowNestedContent(e.rowData) || e.hasNestedRows && p.value && !e.isNestedRow
1872
- ), c = w(() => {
1876
+ ), l = L(
1877
+ () => e.hasNestedContent && e.shouldShowNestedContent(e.rowData) || e.hasNestedRows && m.value && !e.isNestedRow
1878
+ ), d = L(() => {
1873
1879
  if (e.hasNestedContent || e.hasNestedRows) {
1874
- const C = h.value.toString();
1880
+ const v = C.value.toString();
1875
1881
  return {
1876
- "aria-expanded": d.value ? C : void 0,
1882
+ "aria-expanded": l.value ? v : void 0,
1877
1883
  "aria-level": e.isNestedRow ? "2" : "1",
1878
1884
  "aria-posinset": e.rowIndex + 1,
1879
1885
  "aria-setsize": e.rowSetSize
1880
1886
  };
1881
1887
  }
1882
1888
  return { "aria-rowindex": e.rowIndex + 1 };
1883
- }), v = w(() => {
1884
- if (i.value)
1889
+ }), u = L(() => {
1890
+ if (E.value)
1885
1891
  return {
1886
1892
  "aria-busy": "true",
1887
1893
  "aria-live": "polite"
1888
1894
  };
1889
- if (!(u.value || !e.hasNestedContent || !e.shouldShowNestedContent(e.rowData)))
1895
+ if (!(c.value || !e.hasNestedContent || !e.shouldShowNestedContent(e.rowData)))
1890
1896
  return {
1891
1897
  "aria-level": e.isNestedRow ? "3" : "2",
1892
1898
  "aria-posinset": "1",
1893
1899
  "aria-setsize": "1",
1894
- id: _,
1900
+ id: f,
1895
1901
  role: "row",
1896
1902
  tabindex: "-1"
1897
1903
  };
1898
- }), m = w(() => {
1899
- var C, y;
1900
- return u.value ? (y = (C = e.rowData) == null ? void 0 : C.children) == null ? void 0 : y.reduce((z, X, r) => (z[r] = we("nested-row"), z), {}) : [];
1901
- }), S = w(() => {
1902
- var C;
1903
- if (h.value) {
1904
+ }), h = L(() => {
1905
+ var v, y;
1906
+ return c.value ? (y = (v = e.rowData) == null ? void 0 : v.children) == null ? void 0 : y.reduce((P, X, r) => (P[r] = Re("nested-row"), P), {}) : [];
1907
+ }), p = L(() => {
1908
+ var v;
1909
+ if (C.value) {
1904
1910
  if (e.hasNestedContent && e.shouldShowNestedContent(e.rowData))
1905
- return [_];
1906
- if (u.value && ((C = Object.keys(m.value)) == null ? void 0 : C.length) > 0) {
1907
- const y = Object.values(m.value);
1911
+ return [f];
1912
+ if (c.value && ((v = Object.keys(h.value)) == null ? void 0 : v.length) > 0) {
1913
+ const y = Object.values(h.value);
1908
1914
  if ((y == null ? void 0 : y.length) > 0)
1909
1915
  return y;
1910
1916
  }
1911
1917
  return [];
1912
1918
  }
1913
- }), O = w(() => {
1914
- var y, z;
1915
- const C = (z = (y = e.rowData) == null ? void 0 : y.children) == null ? void 0 : z.map((X) => e.getDataItemId(X));
1916
- if ((C == null ? void 0 : C.length) > 0) {
1917
- const X = C.every((P) => {
1919
+ }), O = L(() => {
1920
+ var y, P;
1921
+ const v = (P = (y = e.rowData) == null ? void 0 : y.children) == null ? void 0 : P.map((X) => e.getDataItemId(X));
1922
+ if ((v == null ? void 0 : v.length) > 0) {
1923
+ const X = v.every((M) => {
1918
1924
  var Z;
1919
- return (Z = e == null ? void 0 : e.selectedItems) == null ? void 0 : Z.includes(P);
1920
- }), r = C.some((P) => {
1925
+ return (Z = e == null ? void 0 : e.selectedItems) == null ? void 0 : Z.includes(M);
1926
+ }), r = v.some((M) => {
1921
1927
  var Z;
1922
- return (Z = e == null ? void 0 : e.selectedItems) == null ? void 0 : Z.includes(P);
1928
+ return (Z = e == null ? void 0 : e.selectedItems) == null ? void 0 : Z.includes(M);
1923
1929
  });
1924
1930
  return !X && r;
1925
1931
  }
1926
1932
  return !1;
1927
- }), R = (C, y) => {
1928
- const z = C;
1929
- C !== null && (z != null && z.gridcellRef) && (a.value[y] = z.gridcellRef);
1930
- }, D = (C) => m.value[C], B = (C) => {
1933
+ }), R = (v, y) => {
1934
+ const P = v;
1935
+ v !== null && (P != null && P.gridcellRef) && (i.value[y] = P.gridcellRef);
1936
+ }, F = (v) => h.value[v], z = (v) => {
1931
1937
  if (!e.selectable)
1932
1938
  return null;
1933
- const y = e.getDataItemId(C);
1939
+ const y = e.getDataItemId(v);
1934
1940
  return e.selectedItems.includes(y).toString();
1935
- }, L = (C) => {
1936
- e.allowRowClicks && n("row-click", e.rowData, C);
1937
- }, E = (C) => {
1938
- n("select-row", C, e.rowData);
1939
- }, N = (C, y) => {
1940
- n("select-nested-row", y, e.rowData, C);
1941
- }, { updateContentHeight: F, contentHeight: f } = hn(g, h), M = w(() => {
1942
- var C;
1941
+ }, S = (v) => {
1942
+ e.allowRowClicks && n("row-click", e.rowData, v);
1943
+ }, w = (v) => {
1944
+ n("select-row", v, e.rowData);
1945
+ }, N = (v, y) => {
1946
+ n("select-nested-row", y, e.rowData, v);
1947
+ }, { updateContentHeight: x, contentHeight: $ } = mn(_, C), g = L(() => {
1948
+ var v;
1943
1949
  if (e.hasNestedContent || e.hasNestedRows)
1944
1950
  return {
1945
- paddingLeft: `${u.value || i.value ? 0 : a.value[q].clientWidth + ct}px`,
1946
- "max-height": (e.hasNestedContent || e.hasNestedRows) && f.value && !((C = f == null ? void 0 : f.value) != null && C.includes("null")) ? f.value : 0
1951
+ paddingLeft: `${c.value || E.value ? 0 : i.value[q].clientWidth + ut}px`,
1952
+ "max-height": (e.hasNestedContent || e.hasNestedRows) && $.value && !((v = $ == null ? void 0 : $.value) != null && v.includes("null")) ? $.value : 0
1947
1953
  };
1948
1954
  });
1949
1955
  Y(
1950
- () => g.value,
1956
+ () => _.value,
1951
1957
  () => {
1952
- let C = null;
1953
- !C && g.value && (C = Ne(g.value, () => {
1954
- g.value && F();
1958
+ let v = null;
1959
+ !v && _.value && (v = De(_.value, () => {
1960
+ _.value && x();
1955
1961
  }));
1956
1962
  }
1957
1963
  );
1958
- const I = () => {
1959
- h.value = !h.value, F(), n("nested-content-toggled", e.rowData);
1964
+ const B = () => {
1965
+ C.value = !C.value, x(), n("nested-content-toggled", e.rowData);
1960
1966
  };
1961
1967
  Y(
1962
1968
  () => {
1963
- var C;
1964
- return (C = e.rowData) == null ? void 0 : C.children;
1969
+ var v;
1970
+ return (v = e.rowData) == null ? void 0 : v.children;
1965
1971
  },
1966
- (C, y) => {
1967
- var z, X;
1968
- ((X = (z = e == null ? void 0 : e.rowData) == null ? void 0 : z.children) == null ? void 0 : X.length) > 0 && y === void 0 && !h.value && F();
1972
+ (v, y) => {
1973
+ var P, X;
1974
+ ((X = (P = e == null ? void 0 : e.rowData) == null ? void 0 : P.children) == null ? void 0 : X.length) > 0 && y === void 0 && !C.value && x();
1969
1975
  }
1970
1976
  );
1971
- const x = (C, y) => ({
1972
- "b-data-grid-row-container__row--disabled": e.isDataItemDisabled(C),
1977
+ const I = (v, y) => ({
1978
+ "b-data-grid-row-container__row--disabled": e.isDataItemDisabled(v),
1973
1979
  "b-data-grid-row-container__row--row-clicks-enabled": e.allowRowClicks,
1974
- "b-data-grid-row-container__row--highlighted": e.highlightedRows.includes(e.getDataItemId(C)) || e.selectedItems.includes(e.getDataItemId(C)),
1980
+ "b-data-grid-row-container__row--highlighted": e.highlightedRows.includes(e.getDataItemId(v)) || e.selectedItems.includes(e.getDataItemId(v)),
1975
1981
  "b-data-grid-row-container__row--hovered": e.hoveredRowIndex === y,
1976
- "b-data-grid-row-container__row--is-last-child": e.isRowLastChild && !h.value,
1982
+ "b-data-grid-row-container__row--is-last-child": e.isRowLastChild && !C.value,
1977
1983
  "b-data-grid-row-container__row--nested-row": e.isNestedRow
1978
- }), U = (C) => ({
1979
- "b-data-grid-row-container__row-cell-set--frozen": C,
1980
- [`b-data-grid-row-container__row-cell-set--${se.OVERFLOW_SHADOW_LEFT}`]: C && e.hasLeftOverflow,
1981
- "b-data-grid-row-container__row-cell-set--frozen-separator": C && e.showFrozenColumnsSeparator,
1982
- "b-data-grid-row-container__row-cell-set--unfrozen": !C,
1984
+ }), D = (v) => ({
1985
+ "b-data-grid-row-container__row-cell-set--frozen": v,
1986
+ [`b-data-grid-row-container__row-cell-set--${se.OVERFLOW_SHADOW_LEFT}`]: v && e.hasLeftOverflow,
1987
+ "b-data-grid-row-container__row-cell-set--frozen-separator": v && e.showFrozenColumnsSeparator,
1988
+ "b-data-grid-row-container__row-cell-set--unfrozen": !v,
1983
1989
  "b-data-grid-row-container__row-cell-set--is-measuring": e.isMeasuringColumnWidths
1984
- }), G = w(() => ({
1990
+ }), G = L(() => ({
1985
1991
  "b-data-grid-row-container__row-nested-slot--is-last-child": e.isRowLastChild,
1986
- "b-data-grid-row-container__row-nested-slot": !u.value && e.shouldShowNestedContent(e.rowData)
1992
+ "b-data-grid-row-container__row-nested-slot": !c.value && e.shouldShowNestedContent(e.rowData)
1987
1993
  }));
1988
1994
  return t({
1989
- gridcellRefs: a
1990
- }), { __sfc: !0, slots: o, hasSlot: l, props: e, emit: n, gridcellRefs: a, isNestedContentShown: h, nestedContentRef: g, nestedContentSlotId: _, shouldShowNestedRowsBooleanResult: p, shouldShowRenderNestedRows: u, isLoadingNestedRows: i, shouldShowNestedContentToggle: d, ariaRowAttributes: c, nestedContentContainerDivAriaAttributes: v, nestedRowIds: m, allNestedRowIds: S, hasUnSelectedNestedRows: O, registerRowCellRef: R, getRowId: D, getRowAriaSelectedValue: B, onRowClick: L, onRowSelect: E, onNestedRowSelect: N, updateContentHeight: F, contentHeight: f, nestedContentStyles: M, nestedContentToggled: I, conditionalRowClasses: x, conditionalRowSetClasses: U, conditionalNestedRowClasses: G, DataGridCell: bo, BentoLoadingIndicator: Te, DataGridRow: gt };
1995
+ gridcellRefs: i
1996
+ }), { __sfc: !0, slots: o, hasSlot: a, props: e, emit: n, gridcellRefs: i, isNestedContentShown: C, nestedContentRef: _, nestedContentSlotId: f, shouldShowNestedRowsBooleanResult: m, shouldShowRenderNestedRows: c, isLoadingNestedRows: E, shouldShowNestedContentToggle: l, ariaRowAttributes: d, nestedContentContainerDivAriaAttributes: u, nestedRowIds: h, allNestedRowIds: p, hasUnSelectedNestedRows: O, registerRowCellRef: R, getRowId: F, getRowAriaSelectedValue: z, onRowClick: S, onRowSelect: w, onNestedRowSelect: N, updateContentHeight: x, contentHeight: $, nestedContentStyles: g, nestedContentToggled: B, conditionalRowClasses: I, conditionalRowSetClasses: D, conditionalNestedRowClasses: G, DataGridCell: Oo, BentoLoadingIndicator: Ne, DataGridRow: vt };
1991
1997
  }
1992
1998
  });
1993
- var Ao = function() {
1999
+ var No = function() {
1994
2000
  var t = this, n = t._self._c, e = t._self._setupProxy;
1995
- return n("div", { staticClass: "b-data-grid-row-container" }, [n("div", t._b({ key: t.rowIndex, staticClass: "b-data-grid-row-container__row", class: e.conditionalRowClasses(t.rowData, t.rowIndex), attrs: { id: t.rowId, role: "row", "aria-selected": e.getRowAriaSelectedValue(t.rowData) }, on: { click: e.onRowClick } }, "div", e.ariaRowAttributes, !1), [t._l(t.columnSets, function({ columnSet: o, id: l, isFrozenColumns: a }, h) {
1996
- return [o != null && o.length ? n("div", { key: `data-grid-rows-${l}`, staticClass: "b-data-grid-row-container__cells", class: e.conditionalRowSetClasses(a), attrs: { "data-testid": `data-grid-${l}-rows` } }, t._l(o, function(g, _) {
1997
- return n(e.DataGridCell, { key: `cell-${g.field}`, ref: (p) => e.registerRowCellRef(p, g.field), refInFor: !0, staticClass: "b-data-grid-row-container__cell", attrs: { column: g, "column-set-index": h, "col-index": _, "column-sets": t.columnSets, condensed: t.condensed, "dragging-columns": t.draggingColumns, "dragging-events-for-row-cell": t.draggingEventsForRowCell, "get-data-item-id": t.getDataItemId, "hovered-over-column-state": t.hoveredOverColumnState, "is-data-item-disabled": t.isDataItemDisabled, "is-measuring-column-widths": t.isMeasuringColumnWidths, "is-nested-content-expanded": e.isNestedContentShown, "nested-content": e.shouldShowNestedContentToggle, "nested-rows-element-ids": e.allNestedRowIds, "row-data": t.rowData, "row-index": t.rowIndex, "selection-is-indeterminate": e.hasUnSelectedNestedRows, selectable: t.selectable, "selected-items": t.selectedItems }, on: { "cell-hovered": function(p) {
1998
- return e.emit("cell-hovered", p);
1999
- }, "on-frozen-columns-key-press": function(p) {
2000
- return e.emit("on-frozen-columns-key-press", p);
2001
- }, "select-row": e.onRowSelect, "nested-content-toggled": e.nestedContentToggled }, scopedSlots: t._u([t._l(e.slots, function(p, u) {
2002
- return { key: u, fn: function(i) {
2003
- return [t._t(u, null, null, i)];
2001
+ return n("div", { staticClass: "b-data-grid-row-container" }, [n("div", t._b({ key: t.rowIndex, staticClass: "b-data-grid-row-container__row", class: e.conditionalRowClasses(t.rowData, t.rowIndex), attrs: { id: t.rowId, role: "row", "aria-selected": e.getRowAriaSelectedValue(t.rowData) }, on: { click: e.onRowClick } }, "div", e.ariaRowAttributes, !1), [t._l(t.columnSets, function({ columnSet: o, id: a, isFrozenColumns: i }, C) {
2002
+ return [o != null && o.length ? n("div", { key: `data-grid-rows-${a}`, staticClass: "b-data-grid-row-container__cells", class: e.conditionalRowSetClasses(i), attrs: { "data-testid": `data-grid-${a}-rows` } }, t._l(o, function(_, f) {
2003
+ return n(e.DataGridCell, { key: `cell-${_.field}`, ref: (m) => e.registerRowCellRef(m, _.field), refInFor: !0, staticClass: "b-data-grid-row-container__cell", attrs: { column: _, "column-set-index": C, "col-index": f, "column-sets": t.columnSets, condensed: t.condensed, "dragging-columns": t.draggingColumns, "dragging-events-for-row-cell": t.draggingEventsForRowCell, "get-data-item-id": t.getDataItemId, "hovered-over-column-state": t.hoveredOverColumnState, "is-data-item-disabled": t.isDataItemDisabled, "is-measuring-column-widths": t.isMeasuringColumnWidths, "is-nested-content-expanded": e.isNestedContentShown, "nested-content": e.shouldShowNestedContentToggle, "nested-rows-element-ids": e.allNestedRowIds, "row-data": t.rowData, "row-index": t.rowIndex, "selection-is-indeterminate": e.hasUnSelectedNestedRows, selectable: t.selectable, "selected-items": t.selectedItems }, on: { "cell-hovered": function(m) {
2004
+ return e.emit("cell-hovered", m);
2005
+ }, "on-frozen-columns-key-press": function(m) {
2006
+ return e.emit("on-frozen-columns-key-press", m);
2007
+ }, "select-row": e.onRowSelect, "nested-content-toggled": e.nestedContentToggled }, scopedSlots: t._u([t._l(e.slots, function(m, c) {
2008
+ return { key: c, fn: function(E) {
2009
+ return [t._t(c, null, null, E)];
2004
2010
  } };
2005
2011
  })], null, !0) });
2006
2012
  }), 1) : t._e()];
2007
- })], 2), t.hasNestedContent && e.hasSlot("nested-slot") && t.shouldShowNestedContent(t.rowData) || t.hasNestedRows && e.shouldShowNestedRowsBooleanResult ? n("Transition", { key: `${t.rowIndex}-nest-content`, attrs: { name: "b-data-grid-row-container__animation--nested-content" } }, [e.isNestedContentShown ? n("div", t._b({ class: e.conditionalNestedRowClasses, style: e.nestedContentStyles, attrs: { "data-testid": "nested-content-container" } }, "div", e.nestedContentContainerDivAriaAttributes, !1), [n("div", { ref: "nestedContentRef" }, [e.isLoadingNestedRows ? n("div", { staticClass: "b-data-grid-row-container__row-nested-rows-loading-container" }, [n(e.BentoLoadingIndicator)], 1) : e.shouldShowRenderNestedRows ? t._l(t.rowData.children, function(o, l) {
2008
- return n(e.DataGridRow, t._b({ key: `child-${l}`, attrs: { id: e.getRowId(l), "row-data": o, "row-index": l, "row-set-size": t.rowData.children.length, "is-nested-row": "" }, on: { "cell-hovered": function(a) {
2009
- return e.emit("cell-hovered", a);
2010
- }, "row-click": function(a) {
2011
- return e.emit("row-click", a);
2012
- }, "on-frozen-columns-key-press": function(a) {
2013
- return e.emit("con-frozen-columns-key-press", a);
2014
- }, "select-row": function(a) {
2015
- return e.onNestedRowSelect(o, a);
2016
- } }, scopedSlots: t._u([t._l(e.slots, function(a, h) {
2017
- return { key: h, fn: function(g) {
2018
- return [t._t(h, null, null, g)];
2013
+ })], 2), t.hasNestedContent && e.hasSlot("nested-slot") && t.shouldShowNestedContent(t.rowData) || t.hasNestedRows && e.shouldShowNestedRowsBooleanResult ? n("Transition", { key: `${t.rowIndex}-nest-content`, attrs: { name: "b-data-grid-row-container__animation--nested-content" } }, [e.isNestedContentShown ? n("div", t._b({ class: e.conditionalNestedRowClasses, style: e.nestedContentStyles, attrs: { "data-testid": "nested-content-container" } }, "div", e.nestedContentContainerDivAriaAttributes, !1), [n("div", { ref: "nestedContentRef" }, [e.isLoadingNestedRows ? n("div", { staticClass: "b-data-grid-row-container__row-nested-rows-loading-container" }, [n(e.BentoLoadingIndicator)], 1) : e.shouldShowRenderNestedRows ? t._l(t.rowData.children, function(o, a) {
2014
+ return n(e.DataGridRow, t._b({ key: `child-${a}`, attrs: { id: e.getRowId(a), "row-data": o, "row-index": a, "row-set-size": t.rowData.children.length, "is-nested-row": "" }, on: { "cell-hovered": function(i) {
2015
+ return e.emit("cell-hovered", i);
2016
+ }, "row-click": function(i) {
2017
+ return e.emit("row-click", i);
2018
+ }, "on-frozen-columns-key-press": function(i) {
2019
+ return e.emit("con-frozen-columns-key-press", i);
2020
+ }, "select-row": function(i) {
2021
+ return e.onNestedRowSelect(o, i);
2022
+ } }, scopedSlots: t._u([t._l(e.slots, function(i, C) {
2023
+ return { key: C, fn: function(_) {
2024
+ return [t._t(C, null, null, _)];
2019
2025
  } };
2020
2026
  })], null, !0) }, "data-grid-row", e.props, !1));
2021
2027
  }) : e.hasSlot("nested-slot") && t.shouldShowNestedContent(t.rowData) ? n("div", [t._t("nested-slot", null, { item: t.rowData })], 2) : t._e()], 2)]) : t._e()]) : t._e()], 1);
2022
- }, No = [], Io = /* @__PURE__ */ H(
2028
+ }, Io = [], Do = /* @__PURE__ */ V(
2023
2029
  To,
2024
- Ao,
2025
2030
  No,
2031
+ Io,
2026
2032
  !1,
2027
2033
  null,
2028
2034
  "e7701751"
2029
2035
  );
2030
- const gt = Io.exports;
2031
- let tt = 0;
2032
- const Do = {
2036
+ const vt = Do.exports;
2037
+ let nt = 0;
2038
+ const Fo = {
2033
2039
  beforeCreate() {
2034
- this.uuid = tt.toString(), tt += 1;
2040
+ this.uuid = nt.toString(), nt += 1;
2035
2041
  }
2036
2042
  };
2037
- var Fo = function() {
2043
+ var xo = function() {
2038
2044
  var t = this, n = t._self._c;
2039
2045
  return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { "clip-path": "url(#uia-icons-16-warning_circle_fill__a" + t.uuid + ")" } }, [n("path", { attrs: { fill: "#00112C", d: "M0.25 8C0.25 3.71979 3.71979 0.25 8 0.25C12.2802 0.25 15.75 3.71979 15.75 8C15.75 12.2802 12.2802 15.75 8 15.75C3.71979 15.75 0.25 12.2802 0.25 8ZM8.75 8.75V4.25H7.25V8.75H8.75ZM8 11.5C8.41421 11.5 8.75 11.1642 8.75 10.75C8.75 10.3358 8.41421 10 8 10C7.58579 10 7.25 10.3358 7.25 10.75C7.25 11.1642 7.58579 11.5 8 11.5Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-icons-16-warning_circle_fill__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
2040
- }, xo = [], Mo = /* @__PURE__ */ H(
2041
- Do,
2046
+ }, Mo = [], Bo = /* @__PURE__ */ V(
2042
2047
  Fo,
2043
2048
  xo,
2049
+ Mo,
2044
2050
  !1,
2045
2051
  null,
2046
2052
  null
2047
2053
  );
2048
- const Po = Mo.exports, Bo = {}, zo = /* @__PURE__ */ Q({
2049
- ...Bo,
2054
+ const Po = Bo.exports, zo = {}, $o = /* @__PURE__ */ Q({
2055
+ ...zo,
2050
2056
  __name: "data-grid-static-icon",
2051
2057
  props: {
2052
2058
  colored: { type: Boolean, default: !1 },
@@ -2054,43 +2060,43 @@ const Po = Mo.exports, Bo = {}, zo = /* @__PURE__ */ Q({
2054
2060
  variant: { default: "no-value" }
2055
2061
  },
2056
2062
  setup(s) {
2057
- const t = s, n = w(() => {
2063
+ const t = s, n = L(() => {
2058
2064
  switch (t.variant) {
2059
2065
  case "checkmark":
2060
- return ln;
2061
- case "warning":
2062
2066
  return an;
2067
+ case "warning":
2068
+ return rn;
2063
2069
  case "error":
2064
2070
  return Po;
2065
2071
  case "cross":
2066
- return ot;
2072
+ return lt;
2067
2073
  case "no-value":
2068
- return ke;
2074
+ return Ge;
2069
2075
  default:
2070
- return ke;
2076
+ return Ge;
2071
2077
  }
2072
- }), e = w(() => ({
2078
+ }), e = L(() => ({
2073
2079
  "b-data-grid-static-icon--colored": t.colored && t.variant !== "no-value"
2074
- })), o = w(() => `b-data-grid-static-icon__${t.variant}`), l = w(() => rn.AUTO);
2075
- return { __sfc: !0, props: t, computedIcon: n, conditionalClasses: e, computedIconClass: o, tooltipPosition: l, vBentoTooltipDirective: dn };
2080
+ })), o = L(() => `b-data-grid-static-icon__${t.variant}`), a = L(() => dn.AUTO);
2081
+ return { __sfc: !0, props: t, computedIcon: n, conditionalClasses: e, computedIconClass: o, tooltipPosition: a, vBentoTooltipDirective: cn };
2076
2082
  }
2077
2083
  });
2078
- var $o = function() {
2084
+ var Uo = function() {
2079
2085
  var t = this, n = t._self._c, e = t._self._setupProxy;
2080
2086
  return n("div", { directives: [{ name: "bento-tooltip-directive", rawName: "v-bento-tooltip-directive:[tooltipPosition]", value: t.tooltipText, expression: "tooltipText", arg: e.tooltipPosition }], staticClass: "b-data-grid-static-icon", class: e.conditionalClasses, attrs: { "aria-label": t.tooltipText, tabindex: "0" } }, [n(e.computedIcon, { tag: "component", class: e.computedIconClass, attrs: { "svg-title": t.tooltipText } })], 1);
2081
- }, Uo = [], ko = /* @__PURE__ */ H(
2082
- zo,
2087
+ }, ko = [], Go = /* @__PURE__ */ V(
2083
2088
  $o,
2084
2089
  Uo,
2090
+ ko,
2085
2091
  !1,
2086
2092
  null,
2087
2093
  "f8532817"
2088
2094
  );
2089
- const Ml = ko.exports, Go = {
2090
- i18n: { messages: ft },
2095
+ const Bl = Go.exports, Wo = {
2096
+ i18n: { messages: gt },
2091
2097
  name: "bento-data-grid"
2092
- }, Wo = /* @__PURE__ */ Q({
2093
- ...Go,
2098
+ }, Ho = /* @__PURE__ */ Q({
2099
+ ...Wo,
2094
2100
  props: {
2095
2101
  /**
2096
2102
  * When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
@@ -2151,7 +2157,8 @@ const Ml = ko.exports, Go = {
2151
2157
  * {@see BentoFilterBarModel}
2152
2158
  */
2153
2159
  filters: {
2154
- type: Ce.props.value.type,
2160
+ // TODO: Change this to BentoFilterBarProps['value'] when the interface is available
2161
+ type: Array,
2155
2162
  default: void 0
2156
2163
  },
2157
2164
  /**
@@ -2159,14 +2166,14 @@ const Ml = ko.exports, Go = {
2159
2166
  * {@see BentoFilterValues}
2160
2167
  */
2161
2168
  filterValues: {
2162
- type: Ce.props.filterValues.type,
2169
+ type: Le.props.filterValues.type,
2163
2170
  default: () => []
2164
2171
  },
2165
2172
  /**
2166
2173
  * Filter bar search term useful to filter all the data by text
2167
2174
  */
2168
2175
  filterSearchTerm: {
2169
- type: Ce.props.searchTerm.type,
2176
+ type: Le.props.searchTerm.type,
2170
2177
  default: void 0
2171
2178
  },
2172
2179
  /**
@@ -2263,6 +2270,10 @@ const Ml = ko.exports, Go = {
2263
2270
  type: Boolean,
2264
2271
  default: !1
2265
2272
  },
2273
+ /**
2274
+ * Renders a font numeric style with slashed zeros instead of normal ones.
2275
+ */
2276
+ slashedZero: { type: Boolean, default: !1 },
2266
2277
  /**
2267
2278
  * Sticks the horizontal scrollbar to the bottom of the screen if the data-grid is larger than the screen height.
2268
2279
  */
@@ -2339,218 +2350,218 @@ const Ml = ko.exports, Go = {
2339
2350
  }
2340
2351
  },
2341
2352
  emits: [
2342
- T.COLUMNS,
2343
- T.COLUMN_RESIZE,
2344
- T.ITEMS_PAGE,
2345
- T.FILTER_SEARCH_INPUT,
2346
- T.FILTER_SEARCH_CLEAR,
2347
- T.NAVIGATE,
2348
- T.NESTED_CONTENT_TOGGLED,
2349
- T.UPDATE_COLUMNS,
2350
- T.UPDATE_CONDENSED,
2351
- T.UPDATE_FILTER_VALUES,
2352
- T.UPDATE_FILTERS,
2353
- T.UPDATE_FILTER_SEARCH_TERM,
2354
- T.UPDATE_SHOW_MORE,
2355
- T.UPDATE_PAGINATION,
2356
- T.UPDATE_SELECTION,
2357
- T.UPDATE_SORT_BY,
2358
- T.ROW_CLICK,
2359
- T.SELECT,
2360
- T.SELECT_ALL_ACROSS_PAGES,
2361
- T.SORT
2353
+ A.COLUMNS,
2354
+ A.COLUMN_RESIZE,
2355
+ A.ITEMS_PAGE,
2356
+ A.FILTER_SEARCH_INPUT,
2357
+ A.FILTER_SEARCH_CLEAR,
2358
+ A.NAVIGATE,
2359
+ A.NESTED_CONTENT_TOGGLED,
2360
+ A.UPDATE_COLUMNS,
2361
+ A.UPDATE_CONDENSED,
2362
+ A.UPDATE_FILTER_VALUES,
2363
+ A.UPDATE_FILTERS,
2364
+ A.UPDATE_FILTER_SEARCH_TERM,
2365
+ A.UPDATE_SHOW_MORE,
2366
+ A.UPDATE_PAGINATION,
2367
+ A.UPDATE_SELECTION,
2368
+ A.UPDATE_SORT_BY,
2369
+ A.ROW_CLICK,
2370
+ A.SELECT,
2371
+ A.SELECT_ALL_ACROSS_PAGES,
2372
+ A.SORT
2362
2373
  ],
2363
2374
  setup(s, { expose: t, emit: n }) {
2364
- const e = s, o = Oe(), l = Ae(o), a = b(null), h = b(), g = b({}), _ = b(null), p = b(null), u = b(), i = b(null), d = b(null), {
2365
- allowColumnDragAndDrop: c,
2366
- columns: v,
2367
- columnPanel: m,
2368
- data: S,
2375
+ const e = s, o = Te(), a = Ie(o), i = b(null), C = b(), _ = b({}), f = b(null), m = b(null), c = b(), E = b(null), l = b(null), {
2376
+ allowColumnDragAndDrop: d,
2377
+ columns: u,
2378
+ columnPanel: h,
2379
+ data: p,
2369
2380
  lazyLoadType: O,
2370
2381
  loading: R,
2371
- hasNestedContent: D,
2372
- hasNestedRows: B,
2373
- selectable: L,
2374
- selection: E,
2382
+ hasNestedContent: F,
2383
+ hasNestedRows: z,
2384
+ selectable: S,
2385
+ selection: w,
2375
2386
  selectableAcrossPages: N,
2376
- stickyPagination: F,
2377
- outline: f,
2378
- pagination: M
2379
- } = ye(e), I = b(-1), { t: x } = ie(), U = w(() => r.value.filter((A) => A.frozen).length), G = Ue(
2380
- Cn,
2387
+ stickyPagination: x,
2388
+ outline: $,
2389
+ pagination: g
2390
+ } = Oe(e), B = b(-1), { t: I } = ie(), D = L(() => r.value.filter((T) => T.frozen).length), G = Ee(
2391
+ hn,
2381
2392
  () => ({
2382
2393
  isDataGridTemplate: !1,
2383
2394
  stickyTabs: b(!1),
2384
2395
  tabsRef: b(null)
2385
2396
  })
2386
- ), { isDataGridTemplate: C, stickyTabs: y, tabsRef: z } = G(), X = w(() => e.fitContent || C ? 0 : null), {
2397
+ ), { isDataGridTemplate: v, stickyTabs: y, tabsRef: P } = G(), X = L(() => e.fitContent || v ? 0 : null), {
2387
2398
  columnDefs: r,
2388
- onColumnWidthOverride: P,
2399
+ onColumnWidthOverride: M,
2389
2400
  gridColumnWidthStyle: Z,
2390
2401
  isMeasuringColumnWidths: oe,
2391
2402
  isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: le,
2392
2403
  columns: de,
2393
2404
  totalWidthOfAllColumns: fe
2394
- } = Zn(v, S, a, g, _, {
2395
- hasColumnPanel: m,
2396
- hasSelectableColumn: L,
2405
+ } = jn(u, p, i, _, f, {
2406
+ hasColumnPanel: h,
2407
+ hasSelectableColumn: S,
2397
2408
  hasSelectableAcrossPages: N,
2398
- hasNestedContent: D,
2399
- hasNestedRows: B,
2400
- allowColumnDragAndDrop: c,
2401
- isDataGridTemplate: C
2402
- }), W = (A, ...$) => {
2403
- (A === T.COLUMNS || A === T.UPDATE_COLUMNS) && ([de.value] = $), n(A, ...$);
2404
- }, re = Ze(z, y), ge = w(
2409
+ hasNestedContent: F,
2410
+ hasNestedRows: z,
2411
+ allowColumnDragAndDrop: d,
2412
+ isDataGridTemplate: v
2413
+ }), W = (T, ...U) => {
2414
+ (T === A.COLUMNS || T === A.UPDATE_COLUMNS) && ([de.value] = U), n(T, ...U);
2415
+ }, re = je(P, y), ge = L(
2405
2416
  () => e.stickyFilters ? `${re.value}px` : null
2406
- ), ce = Ze(p, st(e, "stickyFilters")), _e = w(
2417
+ ), ce = je(m, we(e, "stickyFilters")), _e = L(
2407
2418
  () => `${ce.value + re.value}px`
2408
2419
  ), {
2409
- sortedColumns: De,
2410
- columnSets: pe,
2411
- isOnlyOneVisibleColumn: _t,
2412
- onConfigSettingsUpdate: vt,
2413
- onConfigSettingsColumnsUpdate: Ct,
2414
- onConfigSettingsColumnUpdate: ht
2415
- } = Qn(r, W), { hoveredOverColumn: mt, hoveredOverColumnState: pt } = ts(
2416
- pe,
2417
- L,
2418
- f,
2420
+ sortedColumns: xe,
2421
+ columnSets: me,
2422
+ isOnlyOneVisibleColumn: Ct,
2423
+ onConfigSettingsUpdate: ht,
2424
+ onConfigSettingsColumnsUpdate: mt,
2425
+ onConfigSettingsColumnUpdate: pt
2426
+ } = es(r, W), { hoveredOverColumn: St, hoveredOverColumnState: Lt } = ns(
2427
+ me,
2428
+ S,
2429
+ $,
2419
2430
  le
2420
- ), { draggingColumns: St, draggingEventsForColumns: Lt, draggingEventsForRowCell: wt, onMoveColumnByOffset: Et } = Kn(De, c, W), { onAllRowSelect: Rt, onRowSelect: yt, onNestedRowSelect: bt, selectedItems: Fe, allItemsSelectedState: Ot } = jn(
2421
- E,
2431
+ ), { draggingColumns: wt, draggingEventsForColumns: Et, draggingEventsForRowCell: Rt, onMoveColumnByOffset: yt } = Qn(xe, d, W), { onAllRowSelect: bt, onRowSelect: Ot, onNestedRowSelect: At, selectedItems: Me, allItemsSelectedState: Tt } = qn(
2432
+ w,
2422
2433
  W,
2423
- S,
2434
+ p,
2424
2435
  e.getDataItemId,
2425
2436
  e.isDataItemDisabled
2426
- ), { navigationInput: Tt } = Yn(_, v, L), { isLazyLoad: Se, isInfiniteScroll: At, verticalScrollPosition: xe, emitLazyLoadEvent: Nt } = Jn(
2437
+ ), { navigationInput: Nt } = Xn(f, u, S), { isLazyLoad: pe, isInfiniteScroll: It, verticalScrollPosition: Be, emitLazyLoadEvent: Dt } = Kn(
2427
2438
  O,
2439
+ E,
2428
2440
  i,
2429
- a,
2430
2441
  R,
2431
2442
  W
2432
2443
  ), {
2433
- updateScrollPosition: It,
2434
- updateScrollPositionOnFrozenColumnsNavigation: Dt,
2435
- syncVirtualScrollerWithBody: Ft,
2436
- hasLeftOverflow: Le,
2437
- hasRightOverflow: Me,
2438
- horizontalScrollbarConditionalClasses: xt
2439
- } = es(a, h, xe, d, {
2440
- isLazyLoad: Se,
2441
- pagination: M,
2442
- stickyPagination: F,
2443
- isDataGridTemplate: C
2444
- }), Pe = () => {
2445
- u.value.isClearAllVisible ? u.value.clearAllFilters() : u.value.isResetAllVisible && u.value.resetAllFilters();
2446
- }, Mt = w(() => {
2447
- var A, $;
2444
+ updateScrollPosition: Ft,
2445
+ updateScrollPositionOnFrozenColumnsNavigation: xt,
2446
+ syncVirtualScrollerWithBody: Mt,
2447
+ hasLeftOverflow: Se,
2448
+ hasRightOverflow: Pe,
2449
+ horizontalScrollbarConditionalClasses: Bt
2450
+ } = ts(i, C, Be, l, {
2451
+ isLazyLoad: pe,
2452
+ pagination: g,
2453
+ stickyPagination: x,
2454
+ isDataGridTemplate: v
2455
+ }), ze = () => {
2456
+ c.value.isClearAllVisible ? c.value.clearAllFilters() : c.value.isResetAllVisible && c.value.resetAllFilters();
2457
+ }, Pt = L(() => {
2458
+ var T, U;
2448
2459
  return {
2449
2460
  ...e.emptyState,
2450
- variant: ((A = e.emptyState) == null ? void 0 : A.variant) === "embedded" || (($ = e.emptyState) == null ? void 0 : $.variant) === "basic" ? e.emptyState.variant : "basic"
2461
+ variant: ((T = e.emptyState) == null ? void 0 : T.variant) === "embedded" || ((U = e.emptyState) == null ? void 0 : U.variant) === "basic" ? e.emptyState.variant : "basic"
2451
2462
  };
2452
- }), Pt = w(() => ({
2463
+ }), zt = L(() => ({
2453
2464
  [`b-data-grid--${se.OUTLINE}`]: e.outline,
2454
- [`b-data-grid--${se.SCROLL}`]: e.fitContent || Se.value,
2465
+ [`b-data-grid--${se.SCROLL}`]: e.fitContent || pe.value,
2455
2466
  [`b-data-grid--${se.STICKY_FILTERS}`]: e.filters && e.stickyFilters,
2456
- [`b-data-grid--${se.OVERFLOW_SHADOW_LEFT}`]: Le.value && !U.value,
2457
- [`b-data-grid--${se.OVERFLOW_SHADOW_RIGHT}`]: Me.value,
2467
+ [`b-data-grid--${se.OVERFLOW_SHADOW_LEFT}`]: Se.value && !D.value,
2468
+ [`b-data-grid--${se.OVERFLOW_SHADOW_RIGHT}`]: Pe.value,
2458
2469
  [`b-data-grid--${se.NO_SPACING_TOP}`]: e.noSpacingTop
2459
- })), Bt = w(() => ({
2470
+ })), $t = L(() => ({
2460
2471
  "b-data-grid__body--sticky-horizontal-scrollbar": e.stickyHorizontalScrollbar
2461
- })), zt = w(() => pe.value.findIndex((A) => A.columnSet.length)), $t = w(() => !((e.selectable || e.hasNestedContent || e.hasNestedRows) && U.value === 1) || Le.value), Ut = w(() => ({
2462
- "b-data-grid__filters--sticky": !!e.stickyFilters || C
2463
- })), kt = w(() => {
2464
- var A, $, J, ee, ve, ue;
2472
+ })), Ut = L(() => me.value.findIndex((T) => T.columnSet.length)), kt = L(() => !((e.selectable || e.hasNestedContent || e.hasNestedRows) && D.value === 1) || Se.value), Gt = L(() => ({
2473
+ "b-data-grid__filters--sticky": !!e.stickyFilters || v
2474
+ })), Wt = L(() => {
2475
+ var T, U, J, ee, ve, ue;
2465
2476
  return {
2466
- "b-data-grid__pagination--padding-left-unset": ((J = ($ = (A = e.columns) == null ? void 0 : A[0]) == null ? void 0 : $.padding) == null ? void 0 : J.left) === !1,
2477
+ "b-data-grid__pagination--padding-left-unset": ((J = (U = (T = e.columns) == null ? void 0 : T[0]) == null ? void 0 : U.padding) == null ? void 0 : J.left) === !1,
2467
2478
  "b-data-grid__pagination--padding-right-unset": ((ue = (ve = (ee = e.columns) == null ? void 0 : ee[e.columns.length - 1]) == null ? void 0 : ve.padding) == null ? void 0 : ue.right) === !1,
2468
- "b-data-grid__pagination--sticky": !!e.stickyPagination || C
2479
+ "b-data-grid__pagination--sticky": !!e.stickyPagination || v
2469
2480
  };
2470
- }), Gt = (A) => {
2471
- const $ = A;
2472
- A !== null && ($ != null && $.columnHeaderRefs) && Object.entries($ == null ? void 0 : $.columnHeaderRefs).forEach(([J, ee]) => {
2473
- g.value[J] = ee;
2481
+ }), Ht = (T) => {
2482
+ const U = T;
2483
+ T !== null && (U != null && U.columnHeaderRefs) && Object.entries(U == null ? void 0 : U.columnHeaderRefs).forEach(([J, ee]) => {
2484
+ _.value[J] = ee;
2474
2485
  });
2475
- }, Wt = (A, $) => {
2476
- const J = A;
2477
- A !== null && (J != null && J.gridcellRefs) && Object.entries(J == null ? void 0 : J.gridcellRefs).map(([ee, ve]) => {
2486
+ }, Vt = (T, U) => {
2487
+ const J = T;
2488
+ T !== null && (J != null && J.gridcellRefs) && Object.entries(J == null ? void 0 : J.gridcellRefs).map(([ee, ve]) => {
2478
2489
  var ue;
2479
- ((ue = _.value) == null ? void 0 : ue[ee]) === void 0 && (_.value = { ..._.value, [ee]: [] }), _.value[ee][$] = ve;
2490
+ ((ue = f.value) == null ? void 0 : ue[ee]) === void 0 && (f.value = { ...f.value, [ee]: [] }), f.value[ee][U] = ve;
2480
2491
  });
2481
- }, Ht = (A, $) => {
2482
- e.allowRowClicks && W(T.ROW_CLICK, A, $);
2483
- }, Vt = (A) => {
2484
- I.value = A;
2485
- }, Zt = w(() => !!e.selectableAcrossPages && !!e.pagination), jt = w(() => e.hasNestedContent || e.hasNestedRows ? "treegrid" : "grid"), qt = fn({
2486
- label: o != null && o.header ? gn(o)("header") : null,
2492
+ }, Zt = (T, U) => {
2493
+ e.allowRowClicks && W(A.ROW_CLICK, T, U);
2494
+ }, jt = (T) => {
2495
+ B.value = T;
2496
+ }, qt = L(() => !!e.selectableAcrossPages && !!e.pagination), Yt = L(() => e.hasNestedContent || e.hasNestedRows ? "treegrid" : "grid"), Xt = gn({
2497
+ label: o != null && o.header ? _n(o)("header") : null,
2487
2498
  defaultFallback: "data grid"
2488
- }), Be = w(() => {
2489
- var A;
2490
- return ((A = Fe.value) == null ? void 0 : A.length) ?? 0;
2491
- }), Yt = w(() => e.bulkActions && Be.value > 0), Xt = (A) => W(T.COLUMN_RESIZE, A), Jt = (A) => {
2492
- W(T.UPDATE_SORT_BY, A), W(T.SORT, A);
2493
- }, Kt = (A, $) => {
2494
- W(T.NAVIGATE, A), W(T.UPDATE_PAGINATION, {
2499
+ }), $e = L(() => {
2500
+ var T;
2501
+ return ((T = Me.value) == null ? void 0 : T.length) ?? 0;
2502
+ }), Jt = L(() => e.bulkActions && $e.value > 0), Kt = (T) => W(A.COLUMN_RESIZE, T), Qt = (T) => {
2503
+ W(A.UPDATE_SORT_BY, T), W(A.SORT, T);
2504
+ }, en = (T, U) => {
2505
+ W(A.NAVIGATE, T), W(A.UPDATE_PAGINATION, {
2495
2506
  ...e.pagination,
2496
- size: $,
2497
- page: A
2507
+ size: U,
2508
+ page: T
2498
2509
  });
2499
- }, Qt = (A) => {
2500
- W(T.ITEMS_PAGE, A);
2501
- }, en = () => {
2502
- W(T.FILTER_SEARCH_CLEAR);
2503
- }, tn = (A) => {
2504
- W(T.UPDATE_FILTER_SEARCH_TERM, A), W(T.FILTER_SEARCH_INPUT, A);
2505
- }, ze = w(() => v.value.some((A) => A.mandatory));
2506
- ze.value || lt(
2510
+ }, tn = (T) => {
2511
+ W(A.ITEMS_PAGE, T);
2512
+ }, nn = () => {
2513
+ W(A.FILTER_SEARCH_CLEAR);
2514
+ }, sn = (T) => {
2515
+ W(A.UPDATE_FILTER_SEARCH_TERM, T), W(A.FILTER_SEARCH_INPUT, T);
2516
+ }, Ue = L(() => u.value.some((T) => T.mandatory));
2517
+ Ue.value || at(
2507
2518
  "WARNING: At least one BentoDataGrid column should be set as mandatory to ensure data is always displayed correctly."
2508
2519
  );
2509
- const $e = Ue(vn, () => null);
2510
- return $e(e.tabTitle), t({ onEmptyStateClearResetButtonClick: Pe }), { __sfc: !0, props: e, slots: o, hasSlot: l, body: a, columnsRef: h, columnHeaderRefs: g, gridcellRefs: _, filtersRef: p, filterBarRef: u, verticalScrollPositionRef: i, virtualHorizontalScrollbarRef: d, allowColumnDragAndDrop: c, columns: v, columnPanel: m, data: S, lazyLoadType: O, loading: R, hasNestedContent: D, hasNestedRows: B, selectable: L, selection: E, selectableAcrossPages: N, stickyPagination: F, outline: f, pagination: M, hoveredRowIndex: I, t: x, frozenColumnsLength: U, registerDatagridInDataGridTemplate: G, isDataGridTemplate: C, stickyTabs: y, tabsRef: z, computedColumnsTabIndex: X, columnDefs: r, onColumnWidthOverride: P, gridColumnWidthStyle: Z, isMeasuringColumnWidths: oe, isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: le, localColumnsState: de, totalWidthOfAllColumns: fe, definedEmitsFunction: n, emit: W, stickyFiltersHeight: re, computedStickyFiltersTopPosition: ge, columnHeadersHeight: ce, computedColumnHeadersTopPosition: _e, sortedColumns: De, columnSets: pe, isOnlyOneVisibleColumn: _t, onConfigSettingsUpdate: vt, onConfigSettingsColumnsUpdate: Ct, onConfigSettingsColumnUpdate: ht, hoveredOverColumn: mt, hoveredOverColumnState: pt, draggingColumns: St, draggingEventsForColumns: Lt, draggingEventsForRowCell: wt, onMoveColumnByOffset: Et, onAllRowSelect: Rt, onRowSelect: yt, onNestedRowSelect: bt, selectedItems: Fe, allItemsSelectedState: Ot, navigationInput: Tt, isLazyLoad: Se, isInfiniteScroll: At, verticalScrollPosition: xe, emitLazyLoadEvent: Nt, updateScrollPosition: It, updateScrollPositionOnFrozenColumnsNavigation: Dt, syncVirtualScrollerWithBody: Ft, hasLeftOverflow: Le, hasRightOverflow: Me, horizontalScrollbarConditionalClasses: xt, onEmptyStateClearResetButtonClick: Pe, limitedEmptyStateProps: Mt, conditionalGridClasses: Pt, conditionalGridBodyClasses: Bt, computedColumnPanelAlignment: zt, showFrozenColumnsSeparator: $t, conditionalFilterClasses: Ut, conditionalPaginationClasses: kt, registerColumnHeaderRefs: Gt, registerRowCellRefs: Wt, onRowClick: Ht, onCellHover: Vt, selectableAcrossPagesComputed: Zt, ariaGridRole: jt, ariaGridHeaderText: qt, itemsSelectedCounter: Be, showActionBar: Yt, onColumnResized: Xt, onSort: Jt, onPaginationNavigate: Kt, onItemsPerPageChange: Qt, onSearchTermCleared: en, onSearchTermInput: tn, hasMandatoryColumn: ze, setTitle: $e, BentoActionBar: cn, BentoPagination: un, BentoLoadingIndicator: Te, BentoTypography: me, BentoDataGridConfigSettings: eo, DataGridColumns: Bs, DataGridLazyLoad: ao, DataGridRow: gt, BentoDatagridEvent: T, BentoEmptyState: _n, BentoFilterBar: Ce };
2520
+ const ke = Ee(Cn, () => null);
2521
+ return ke(e.tabTitle), ot(_t, we(e, "slashedZero")), t({ onEmptyStateClearResetButtonClick: ze }), { __sfc: !0, props: e, slots: o, hasSlot: a, body: i, columnsRef: C, columnHeaderRefs: _, gridcellRefs: f, filtersRef: m, filterBarRef: c, verticalScrollPositionRef: E, virtualHorizontalScrollbarRef: l, allowColumnDragAndDrop: d, columns: u, columnPanel: h, data: p, lazyLoadType: O, loading: R, hasNestedContent: F, hasNestedRows: z, selectable: S, selection: w, selectableAcrossPages: N, stickyPagination: x, outline: $, pagination: g, hoveredRowIndex: B, t: I, frozenColumnsLength: D, registerDatagridInDataGridTemplate: G, isDataGridTemplate: v, stickyTabs: y, tabsRef: P, computedColumnsTabIndex: X, columnDefs: r, onColumnWidthOverride: M, gridColumnWidthStyle: Z, isMeasuringColumnWidths: oe, isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: le, localColumnsState: de, totalWidthOfAllColumns: fe, definedEmitsFunction: n, emit: W, stickyFiltersHeight: re, computedStickyFiltersTopPosition: ge, columnHeadersHeight: ce, computedColumnHeadersTopPosition: _e, sortedColumns: xe, columnSets: me, isOnlyOneVisibleColumn: Ct, onConfigSettingsUpdate: ht, onConfigSettingsColumnsUpdate: mt, onConfigSettingsColumnUpdate: pt, hoveredOverColumn: St, hoveredOverColumnState: Lt, draggingColumns: wt, draggingEventsForColumns: Et, draggingEventsForRowCell: Rt, onMoveColumnByOffset: yt, onAllRowSelect: bt, onRowSelect: Ot, onNestedRowSelect: At, selectedItems: Me, allItemsSelectedState: Tt, navigationInput: Nt, isLazyLoad: pe, isInfiniteScroll: It, verticalScrollPosition: Be, emitLazyLoadEvent: Dt, updateScrollPosition: Ft, updateScrollPositionOnFrozenColumnsNavigation: xt, syncVirtualScrollerWithBody: Mt, hasLeftOverflow: Se, hasRightOverflow: Pe, horizontalScrollbarConditionalClasses: Bt, onEmptyStateClearResetButtonClick: ze, limitedEmptyStateProps: Pt, conditionalGridClasses: zt, conditionalGridBodyClasses: $t, computedColumnPanelAlignment: Ut, showFrozenColumnsSeparator: kt, conditionalFilterClasses: Gt, conditionalPaginationClasses: Wt, registerColumnHeaderRefs: Ht, registerRowCellRefs: Vt, onRowClick: Zt, onCellHover: jt, selectableAcrossPagesComputed: qt, ariaGridRole: Yt, ariaGridHeaderText: Xt, itemsSelectedCounter: $e, showActionBar: Jt, onColumnResized: Kt, onSort: Qt, onPaginationNavigate: en, onItemsPerPageChange: tn, onSearchTermCleared: nn, onSearchTermInput: sn, hasMandatoryColumn: Ue, setTitle: ke, BentoActionBar: un, BentoPagination: fn, BentoLoadingIndicator: Ne, BentoTypography: he, BentoDataGridConfigSettings: to, DataGridColumns: zs, DataGridLazyLoad: io, DataGridRow: vt, BentoDatagridEvent: A, BentoFilterBar: Le, BentoEmptyState: vn };
2511
2522
  }
2512
2523
  });
2513
- var Ho = function() {
2524
+ var Vo = function() {
2514
2525
  var o;
2515
2526
  var t = this, n = t._self._c, e = t._self._setupProxy;
2516
- return n("div", { staticClass: "b-data-grid", class: e.conditionalGridClasses, attrs: { "aria-rowcount": e.data.length, "aria-colcount": e.columns.length, "aria-label": e.ariaGridHeaderText, role: e.ariaGridRole } }, [t.filters ? n("div", { ref: "filtersRef", staticClass: "b-data-grid__filters", class: e.conditionalFilterClasses, style: { top: e.computedStickyFiltersTopPosition } }, [t.filters ? n(e.BentoFilterBar, { ref: "filterBarRef", attrs: { config: t.filters, "filter-values": t.filterValues, "search-term": t.filterSearchTerm }, on: { "search-input": e.onSearchTermInput, "search-clear": e.onSearchTermCleared, input: (l) => t.$emit(e.BentoDatagridEvent.UPDATE_FILTERS, l), "update:filter-values": (l) => t.$emit(e.BentoDatagridEvent.UPDATE_FILTER_VALUES, l) } }) : t._e()], 1) : t._e(), t.$slots.header ? n("div", { staticClass: "b-data-grid__header" }, [t._t("header")], 2) : t._e(), n("div", { staticClass: "b-data-grid__column-headers", style: { top: e.computedColumnHeadersTopPosition } }, [e.columnPanel ? n(e.BentoDataGridConfigSettings, { staticClass: "b-data-grid__config-settings", attrs: { columns: e.localColumnsState, condensed: t.condensed }, on: { "config-settings": e.onConfigSettingsUpdate, "update:columns": e.onConfigSettingsColumnsUpdate } }) : t._e(), n("div", { ref: "columnsRef", staticClass: "b-data-grid__columns-row", attrs: { role: "rowgroup", tabindex: e.computedColumnsTabIndex }, on: { scroll: e.updateScrollPosition } }, [n("div", { staticClass: "b-data-grid__columns", style: e.gridColumnWidthStyle, attrs: { role: "row" } }, [t._l(e.columnSets, function({ columnSet: l, id: a, isFrozenColumns: h }, g) {
2517
- return [l != null && l.length ? n(e.DataGridColumns, t._g({ key: `data-grid-columns-${a}`, ref: (_) => e.registerColumnHeaderRefs(_), refInFor: !0, attrs: { columns: l, "has-resizable-columns": t.hasResizableColumns, "sort-by": t.sortBy, "all-items-selected-state": e.allItemsSelectedState, "is-frozen-columns": h, "show-frozen-columns-separator": e.showFrozenColumnsSeparator, "dragging-columns": e.draggingColumns, "has-draggable-columns": e.allowColumnDragAndDrop, "has-column-panel": e.columnPanel, "has-left-overflow": e.hasLeftOverflow, "has-first-column-panel-right-aligned": g === e.computedColumnPanelAlignment, "hovered-over-column-state": e.hoveredOverColumnState, "is-measuring-column-widths": e.isMeasuringColumnWidths, "is-only-one-visible-column": e.isOnlyOneVisibleColumn, selectable: e.selectable, "selectable-across-pages": e.selectableAcrossPagesComputed, "truncate-column-headers": t.truncateColumnHeaders }, on: { "column-hover": function(_) {
2518
- e.hoveredOverColumn = _;
2519
- }, "column-move": e.onMoveColumnByOffset, "column-update": e.onConfigSettingsColumnUpdate, "column-resize": e.onColumnResized, "column-resizing": e.onColumnWidthOverride, "select-all-rows": e.onAllRowSelect, "select-all-across-pages": function(_) {
2527
+ return n("div", { staticClass: "b-data-grid", class: e.conditionalGridClasses, attrs: { "aria-rowcount": e.data.length, "aria-colcount": e.columns.length, "aria-label": e.ariaGridHeaderText, role: e.ariaGridRole } }, [t.filters ? n("div", { ref: "filtersRef", staticClass: "b-data-grid__filters", class: e.conditionalFilterClasses, style: { top: e.computedStickyFiltersTopPosition } }, [t.filters ? n(e.BentoFilterBar, { ref: "filterBarRef", attrs: { config: t.filters, "filter-values": t.filterValues, "search-term": t.filterSearchTerm }, on: { "search-input": e.onSearchTermInput, "search-clear": e.onSearchTermCleared, input: (a) => t.$emit(e.BentoDatagridEvent.UPDATE_FILTERS, a), "update:filter-values": (a) => t.$emit(e.BentoDatagridEvent.UPDATE_FILTER_VALUES, a) } }) : t._e()], 1) : t._e(), t.$slots.header ? n("div", { staticClass: "b-data-grid__header" }, [t._t("header")], 2) : t._e(), n("div", { staticClass: "b-data-grid__column-headers", style: { top: e.computedColumnHeadersTopPosition } }, [e.columnPanel ? n(e.BentoDataGridConfigSettings, { staticClass: "b-data-grid__config-settings", attrs: { columns: e.localColumnsState, condensed: t.condensed }, on: { "config-settings": e.onConfigSettingsUpdate, "update:columns": e.onConfigSettingsColumnsUpdate } }) : t._e(), n("div", { ref: "columnsRef", staticClass: "b-data-grid__columns-row", attrs: { role: "rowgroup", tabindex: e.computedColumnsTabIndex }, on: { scroll: e.updateScrollPosition } }, [n("div", { staticClass: "b-data-grid__columns", style: e.gridColumnWidthStyle, attrs: { role: "row" } }, [t._l(e.columnSets, function({ columnSet: a, id: i, isFrozenColumns: C }, _) {
2528
+ return [a != null && a.length ? n(e.DataGridColumns, t._g({ key: `data-grid-columns-${i}`, ref: (f) => e.registerColumnHeaderRefs(f), refInFor: !0, attrs: { columns: a, "has-resizable-columns": t.hasResizableColumns, "sort-by": t.sortBy, "all-items-selected-state": e.allItemsSelectedState, "is-frozen-columns": C, "show-frozen-columns-separator": e.showFrozenColumnsSeparator, "dragging-columns": e.draggingColumns, "has-draggable-columns": e.allowColumnDragAndDrop, "has-column-panel": e.columnPanel, "has-left-overflow": e.hasLeftOverflow, "has-first-column-panel-right-aligned": _ === e.computedColumnPanelAlignment, "hovered-over-column-state": e.hoveredOverColumnState, "is-measuring-column-widths": e.isMeasuringColumnWidths, "is-only-one-visible-column": e.isOnlyOneVisibleColumn, selectable: e.selectable, "selectable-across-pages": e.selectableAcrossPagesComputed, "truncate-column-headers": t.truncateColumnHeaders }, on: { "column-hover": function(f) {
2529
+ e.hoveredOverColumn = f;
2530
+ }, "column-move": e.onMoveColumnByOffset, "column-update": e.onConfigSettingsColumnUpdate, "column-resize": e.onColumnResized, "column-resizing": e.onColumnWidthOverride, "select-all-rows": e.onAllRowSelect, "select-all-across-pages": function(f) {
2520
2531
  return e.emit(e.BentoDatagridEvent.SELECT_ALL_ACROSS_PAGES);
2521
- }, sort: e.onSort }, scopedSlots: t._u([t._l(e.slots, function(_, p) {
2522
- return { key: p, fn: function(u) {
2523
- return [t._t(p, null, null, u)];
2532
+ }, sort: e.onSort }, scopedSlots: t._u([t._l(e.slots, function(f, m) {
2533
+ return { key: m, fn: function(c) {
2534
+ return [t._t(m, null, null, c)];
2524
2535
  } };
2525
2536
  })], null, !0) }, e.draggingEventsForColumns)) : t._e()];
2526
- })], 2)])], 1), n("div", { ref: "body", staticClass: "b-data-grid__body", class: e.conditionalGridBodyClasses, attrs: { "data-testid": "data-grid-body", tabindex: e.loading ? "0" : "-1", "aria-busy": e.loading, "aria-live": "polite" }, on: { scroll: e.updateScrollPosition } }, [e.loading && !e.isLazyLoad ? n("div", { staticClass: "b-data-grid__loading" }, [n(e.BentoLoadingIndicator, { staticClass: "b-data-grid__loading-indicator", attrs: { large: "" } }), n(e.BentoTypography, { attrs: { el: "span", variant: "caption" } }, [t._v(t._s(e.t("gettingYourData")))])], 1) : ((o = e.data) == null ? void 0 : o.length) === 0 && t.emptyState ? n("div", { staticClass: "b-data-grid__empty-state" }, [n(e.BentoEmptyState, t._b({}, "bento-empty-state", e.limitedEmptyStateProps, !1))], 1) : n("div", { staticClass: "b-data-grid__rows", attrs: { role: "rowgroup" }, on: { keydown: e.navigationInput } }, t._l(e.data, function(l, a) {
2527
- var h, g;
2528
- return n(e.DataGridRow, { key: a, ref: (_) => e.registerRowCellRefs(_, a), refInFor: !0, style: e.gridColumnWidthStyle, attrs: { "allow-row-clicks": t.allowRowClicks, "column-sets": e.columnSets, condensed: t.condensed, "dragging-columns": e.draggingColumns, "dragging-events-for-row-cell": e.draggingEventsForRowCell, "get-data-item-id": t.getDataItemId, "has-nested-content": e.hasNestedContent, "has-nested-rows": e.hasNestedRows, "has-left-overflow": e.hasLeftOverflow, "highlighted-rows": t.highlightedRows, "hovered-row-index": e.hoveredRowIndex, "hovered-over-column-state": e.hoveredOverColumnState, "is-data-item-disabled": t.isDataItemDisabled, "is-row-last-child": a + 1 === ((h = e.data) == null ? void 0 : h.length), "is-measuring-column-widths": e.isMeasuringColumnWidths, "row-data": l, "row-index": a, "row-set-size": (g = e.data) == null ? void 0 : g.length, "show-frozen-columns-separator": e.showFrozenColumnsSeparator, "should-show-nested-content": t.shouldShowNestedContent, "should-show-nested-rows": t.shouldShowNestedRows, selectable: e.selectable, "selected-items": e.selectedItems }, on: { "cell-hovered": e.onCellHover, "nested-content-toggled": function(_) {
2529
- return e.emit(e.BentoDatagridEvent.NESTED_CONTENT_TOGGLED, _);
2530
- }, "row-click": e.onRowClick, "on-frozen-columns-key-press": e.updateScrollPositionOnFrozenColumnsNavigation, "select-row": e.onRowSelect, "select-nested-row": e.onNestedRowSelect }, scopedSlots: t._u([t._l(e.slots, function(_, p) {
2531
- return { key: p, fn: function(u) {
2532
- return [t._t(p, null, null, u)];
2537
+ })], 2)])], 1), n("div", { ref: "body", staticClass: "b-data-grid__body", class: e.conditionalGridBodyClasses, attrs: { "data-testid": "data-grid-body", tabindex: e.loading ? "0" : "-1", "aria-busy": e.loading, "aria-live": "polite" }, on: { scroll: e.updateScrollPosition } }, [e.loading && !e.isLazyLoad ? n("div", { staticClass: "b-data-grid__loading" }, [n(e.BentoLoadingIndicator, { staticClass: "b-data-grid__loading-indicator", attrs: { large: "" } }), n(e.BentoTypography, { attrs: { el: "span", variant: "caption" } }, [t._v(t._s(e.t("gettingYourData")))])], 1) : ((o = e.data) == null ? void 0 : o.length) === 0 && t.emptyState ? n("div", { staticClass: "b-data-grid__empty-state" }, [n(e.BentoEmptyState, t._b({}, "bento-empty-state", e.limitedEmptyStateProps, !1))], 1) : n("div", { staticClass: "b-data-grid__rows", attrs: { role: "rowgroup" }, on: { keydown: e.navigationInput } }, t._l(e.data, function(a, i) {
2538
+ var C, _;
2539
+ return n(e.DataGridRow, { key: i, ref: (f) => e.registerRowCellRefs(f, i), refInFor: !0, style: e.gridColumnWidthStyle, attrs: { "allow-row-clicks": t.allowRowClicks, "column-sets": e.columnSets, condensed: t.condensed, "dragging-columns": e.draggingColumns, "dragging-events-for-row-cell": e.draggingEventsForRowCell, "get-data-item-id": t.getDataItemId, "has-nested-content": e.hasNestedContent, "has-nested-rows": e.hasNestedRows, "has-left-overflow": e.hasLeftOverflow, "highlighted-rows": t.highlightedRows, "hovered-row-index": e.hoveredRowIndex, "hovered-over-column-state": e.hoveredOverColumnState, "is-data-item-disabled": t.isDataItemDisabled, "is-row-last-child": i + 1 === ((C = e.data) == null ? void 0 : C.length), "is-measuring-column-widths": e.isMeasuringColumnWidths, "row-data": a, "row-index": i, "row-set-size": (_ = e.data) == null ? void 0 : _.length, "show-frozen-columns-separator": e.showFrozenColumnsSeparator, "should-show-nested-content": t.shouldShowNestedContent, "should-show-nested-rows": t.shouldShowNestedRows, selectable: e.selectable, "selected-items": e.selectedItems }, on: { "cell-hovered": e.onCellHover, "nested-content-toggled": function(f) {
2540
+ return e.emit(e.BentoDatagridEvent.NESTED_CONTENT_TOGGLED, f);
2541
+ }, "row-click": e.onRowClick, "on-frozen-columns-key-press": e.updateScrollPositionOnFrozenColumnsNavigation, "select-row": e.onRowSelect, "select-nested-row": e.onNestedRowSelect }, scopedSlots: t._u([t._l(e.slots, function(f, m) {
2542
+ return { key: m, fn: function(c) {
2543
+ return [t._t(m, null, null, c)];
2533
2544
  } };
2534
2545
  })], null, !0) });
2535
- }), 1)]), e.isLazyLoad ? n(e.DataGridLazyLoad, { attrs: { loading: e.loading, "is-infinite-scroll": e.isInfiniteScroll }, on: { "update:show-more": e.emitLazyLoadEvent } }) : t._e(), t.stickyHorizontalScrollbar ? n("div", { ref: "virtualHorizontalScrollbarRef", staticClass: "b-data-grid__horizontal-scrollbar", class: e.horizontalScrollbarConditionalClasses, attrs: { "aria-hidden": "true", "data-testid": "sticky-horizontal-scrollbar" }, on: { scroll: e.syncVirtualScrollerWithBody } }, [n("div", { style: { width: `${e.totalWidthOfAllColumns}px`, height: "15px" } })]) : t._e(), e.pagination && !e.isLazyLoad ? n("div", { staticClass: "b-data-grid__pagination", class: e.conditionalPaginationClasses, attrs: { "data-testid": "pagination-container" } }, [n(e.BentoPagination, t._b({ attrs: { "aria-label": `${e.ariaGridHeaderText} navigation` }, on: { navigate: e.onPaginationNavigate, "items-page": e.onItemsPerPageChange } }, "bento-pagination", e.pagination, !1), [e.hasSlot("pagination-slot") ? t._t("pagination-slot") : t._e()], 2)], 1) : t._e(), t.$slots.footer ? n("div", { staticClass: "b-data-grid__footer" }, [t._t("footer")], 2) : t._e(), e.showActionBar ? n(e.BentoActionBar, { attrs: { actions: t.bulkActions, "item-counter": e.itemsSelectedCounter, "extra-bottom-spacing": e.stickyPagination }, on: { close: function(l) {
2546
+ }), 1)]), e.isLazyLoad ? n(e.DataGridLazyLoad, { attrs: { loading: e.loading, "is-infinite-scroll": e.isInfiniteScroll }, on: { "update:show-more": e.emitLazyLoadEvent } }) : t._e(), t.stickyHorizontalScrollbar ? n("div", { ref: "virtualHorizontalScrollbarRef", staticClass: "b-data-grid__horizontal-scrollbar", class: e.horizontalScrollbarConditionalClasses, attrs: { "aria-hidden": "true", "data-testid": "sticky-horizontal-scrollbar" }, on: { scroll: e.syncVirtualScrollerWithBody } }, [n("div", { style: { width: `${e.totalWidthOfAllColumns}px`, height: "15px" } })]) : t._e(), e.pagination && !e.isLazyLoad ? n("div", { staticClass: "b-data-grid__pagination", class: e.conditionalPaginationClasses, attrs: { "data-testid": "pagination-container" } }, [n(e.BentoPagination, t._b({ attrs: { "aria-label": `${e.ariaGridHeaderText} navigation` }, on: { navigate: e.onPaginationNavigate, "items-page": e.onItemsPerPageChange } }, "bento-pagination", e.pagination, !1), [e.hasSlot("pagination-slot") ? t._t("pagination-slot") : t._e()], 2)], 1) : t._e(), t.$slots.footer ? n("div", { staticClass: "b-data-grid__footer" }, [t._t("footer")], 2) : t._e(), e.showActionBar ? n(e.BentoActionBar, { attrs: { actions: t.bulkActions, "item-counter": e.itemsSelectedCounter, "extra-bottom-spacing": e.stickyPagination }, on: { close: function(a) {
2536
2547
  return e.onAllRowSelect(!1);
2537
2548
  } } }) : t._e()], 1);
2538
- }, Vo = [], Zo = /* @__PURE__ */ H(
2539
- Wo,
2549
+ }, Zo = [], jo = /* @__PURE__ */ V(
2540
2550
  Ho,
2541
2551
  Vo,
2552
+ Zo,
2542
2553
  !1,
2543
2554
  null,
2544
- "a0c2a0f8"
2555
+ "1a51db9c"
2545
2556
  );
2546
- const Pl = Zo.exports;
2557
+ const Pl = jo.exports;
2547
2558
  export {
2548
- Ee as B,
2549
- Ml as a,
2559
+ ye as B,
2560
+ Bl as a,
2550
2561
  se as b,
2551
2562
  ae as c,
2552
2563
  Pl as d,
2553
- T as e,
2554
- he as f
2564
+ A as e,
2565
+ Ce as f
2555
2566
  };
2556
- //# sourceMappingURL=data-grid.CjtvBoki.js.map
2567
+ //# sourceMappingURL=data-grid.iqFUbiZy.js.map