@adyen/bento-vue2 1.68.2 → 1.69.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 (428) hide show
  1. package/dist/@types/components.d.ts +1 -0
  2. package/dist/@types/index.d.ts +625 -1274
  3. package/dist/accordion.js +1 -1
  4. package/dist/action-bar.js +1 -1
  5. package/dist/alert.js +1 -1
  6. package/dist/assets/accordion-item.css +1 -1
  7. package/dist/assets/action-bar.css +1 -1
  8. package/dist/assets/base-button.css +1 -1
  9. package/dist/assets/base-modal.css +1 -1
  10. package/dist/assets/button-actions-with-menu.css +1 -1
  11. package/dist/assets/button.css +1 -1
  12. package/dist/assets/calendar.css +1 -1
  13. package/dist/assets/card.css +1 -1
  14. package/dist/assets/checkbox-group.css +1 -1
  15. package/dist/assets/checkbox-input.css +1 -1
  16. package/dist/assets/checkbox.css +1 -1
  17. package/dist/assets/chip.css +1 -1
  18. package/dist/assets/copy.css +1 -1
  19. package/dist/assets/country.css +1 -1
  20. package/dist/assets/currency.css +1 -1
  21. package/dist/assets/dashed-underline.css +1 -1
  22. package/dist/assets/data-grid-template.css +1 -1
  23. package/dist/assets/data-grid.css +1 -1
  24. package/dist/assets/date-picker.css +1 -1
  25. package/dist/assets/date-range-picker.css +1 -1
  26. package/dist/assets/dialog-page.css +1 -1
  27. package/dist/assets/divider.css +1 -1
  28. package/dist/assets/dropdown-default-textbox.css +1 -1
  29. package/dist/assets/dropdown-tag.css +1 -1
  30. package/dist/assets/dropdown.css +1 -1
  31. package/dist/assets/empty-state.css +1 -1
  32. package/dist/assets/file-uploader.css +1 -1
  33. package/dist/assets/filter-bar.css +1 -1
  34. package/dist/assets/focus-trap.css +1 -1
  35. package/dist/assets/footer-actions.css +1 -1
  36. package/dist/assets/form-layout-title.css +1 -1
  37. package/dist/assets/grid-layout.css +1 -1
  38. package/dist/assets/header-meta.css +1 -1
  39. package/dist/assets/header-with-views.css +1 -1
  40. package/dist/assets/header.css +1 -1
  41. package/dist/assets/info-icon.css +1 -1
  42. package/dist/assets/input-field-password.css +1 -1
  43. package/dist/assets/input-field-phone-number.css +1 -1
  44. package/dist/assets/input-field.css +1 -1
  45. package/dist/assets/inspector.css +1 -1
  46. package/dist/assets/layout-row.css +1 -1
  47. package/dist/assets/link.css +1 -1
  48. package/dist/assets/listbox-option-tag.css +1 -1
  49. package/dist/assets/loading-indicator.css +1 -1
  50. package/dist/assets/modal-fullscreen.css +1 -1
  51. package/dist/assets/pagination.css +1 -1
  52. package/dist/assets/payment-method.css +1 -1
  53. package/dist/assets/popper-container.css +1 -1
  54. package/dist/assets/promo-banner.css +1 -1
  55. package/dist/assets/radio-group.css +1 -1
  56. package/dist/assets/radio-input.css +1 -1
  57. package/dist/assets/rich-text-editor.css +1 -1
  58. package/dist/assets/search-bar.css +1 -1
  59. package/dist/assets/secondary-nav.css +1 -1
  60. package/dist/assets/segmented-control.css +1 -1
  61. package/dist/assets/selection-card-group.css +1 -1
  62. package/dist/assets/sidepanel.css +1 -1
  63. package/dist/assets/status.css +1 -1
  64. package/dist/assets/step.css +1 -1
  65. package/dist/assets/structured-list-item.css +1 -1
  66. package/dist/assets/tab.css +1 -1
  67. package/dist/assets/tag.css +1 -1
  68. package/dist/assets/textarea.css +1 -1
  69. package/dist/assets/timeline-item.css +1 -1
  70. package/dist/assets/toast.css +1 -1
  71. package/dist/assets/toggle-button.css +1 -1
  72. package/dist/assets/toggle.css +1 -1
  73. package/dist/assets/tooltip.css +1 -1
  74. package/dist/assets/tutorial.css +1 -1
  75. package/dist/assets/typography.css +1 -1
  76. package/dist/assets/use-cached-selected-values.css +1 -1
  77. package/dist/avatar.js +1 -1
  78. package/dist/button.js +9 -9
  79. package/dist/card.js +1 -1
  80. package/dist/checkbox.js +2 -2
  81. package/dist/chip.js +1 -1
  82. package/dist/chunks/{accordion-item.BNtdoVto.js → accordion-item.NSQ50RyR.js} +3 -3
  83. package/dist/chunks/accordion-item.NSQ50RyR.js.map +1 -0
  84. package/dist/chunks/{action-bar.DQb7WVVd.js → action-bar.Dhi6k0CP.js} +18 -19
  85. package/dist/chunks/action-bar.Dhi6k0CP.js.map +1 -0
  86. package/dist/chunks/{alert.c1rhDDrU.js → alert.Dx9P_L2k.js} +3 -3
  87. package/dist/chunks/{alert.c1rhDDrU.js.map → alert.Dx9P_L2k.js.map} +1 -1
  88. package/dist/chunks/aria-label.CaUURpnB.js.map +1 -1
  89. package/dist/chunks/{avatar.BgwjpLQO.js → avatar.CWmZ2n1W.js} +2 -2
  90. package/dist/chunks/avatar.CWmZ2n1W.js.map +1 -0
  91. package/dist/chunks/{base-button.-gx_u8Bd.js → base-button.BPZ_qSAu.js} +6 -6
  92. package/dist/chunks/base-button.BPZ_qSAu.js.map +1 -0
  93. package/dist/chunks/{base-modal.CkkfT6r6.js → base-modal.Cehud1uW.js} +19 -19
  94. package/dist/chunks/base-modal.Cehud1uW.js.map +1 -0
  95. package/dist/chunks/button-actions-with-menu.DIpUg6BF.js +85 -0
  96. package/dist/chunks/button-actions-with-menu.DIpUg6BF.js.map +1 -0
  97. package/dist/chunks/button-actions.types.BptAXjD8.js +8 -0
  98. package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -0
  99. package/dist/chunks/{button.hF-nD1Og.js → button.B0hSQWOR.js} +4 -4
  100. package/dist/chunks/button.B0hSQWOR.js.map +1 -0
  101. package/dist/chunks/{calendar.DvIQEYwN.js → calendar.BuAVH2aU.js} +8 -8
  102. package/dist/chunks/calendar.BuAVH2aU.js.map +1 -0
  103. package/dist/chunks/{card.CASAAsuJ.js → card.DLRC9V0Q.js} +20 -19
  104. package/dist/chunks/card.DLRC9V0Q.js.map +1 -0
  105. package/dist/chunks/{checkbox-group.QdX-NrSG.js → checkbox-group.Cdt2Ik2_.js} +6 -6
  106. package/dist/chunks/checkbox-group.Cdt2Ik2_.js.map +1 -0
  107. package/dist/chunks/{checkbox-input.CNWigbX4.js → checkbox-input.C9vmlMZe.js} +7 -7
  108. package/dist/chunks/checkbox-input.C9vmlMZe.js.map +1 -0
  109. package/dist/chunks/{checkbox.DCD6SSXC.js → checkbox.JhfbjDfJ.js} +6 -6
  110. package/dist/chunks/checkbox.JhfbjDfJ.js.map +1 -0
  111. package/dist/chunks/{chip.OV0EWIP3.js → chip.Cn68PNxA.js} +10 -10
  112. package/dist/chunks/chip.Cn68PNxA.js.map +1 -0
  113. package/dist/chunks/{code-snippet.dIKi0D7d.js → code-snippet.hYghglvk.js} +8 -8
  114. package/dist/chunks/code-snippet.hYghglvk.js.map +1 -0
  115. package/dist/chunks/{controls-group.CccuLkgP.js → controls-group.B1cxRdIA.js} +3 -3
  116. package/dist/chunks/{controls-group.CccuLkgP.js.map → controls-group.B1cxRdIA.js.map} +1 -1
  117. package/dist/chunks/{copy.CF8Fzu2Y.js → copy.UbMV4m6b.js} +14 -14
  118. package/dist/chunks/copy.UbMV4m6b.js.map +1 -0
  119. package/dist/chunks/{country.melpzEsY.js → country.CZQYhKpE.js} +6 -6
  120. package/dist/chunks/country.CZQYhKpE.js.map +1 -0
  121. package/dist/chunks/country.types.C0Q_hhgJ.js.map +1 -1
  122. package/dist/chunks/{currency.BM9OXTqe.js → currency.Oq7zcRM5.js} +3 -3
  123. package/dist/chunks/currency.Oq7zcRM5.js.map +1 -0
  124. package/dist/chunks/{dashboard-section.BIe6eVHq.js → dashboard-section.BRnRO3AZ.js} +4 -4
  125. package/dist/chunks/{dashboard-section.BIe6eVHq.js.map → dashboard-section.BRnRO3AZ.js.map} +1 -1
  126. package/dist/chunks/{dashed-underline.BbH6Lnd2.js → dashed-underline.BN_whJrR.js} +12 -13
  127. package/dist/chunks/dashed-underline.BN_whJrR.js.map +1 -0
  128. package/dist/chunks/{data-grid-template.Co0Ecr79.js → data-grid-template.BlRKgkX6.js} +5 -5
  129. package/dist/chunks/data-grid-template.BlRKgkX6.js.map +1 -0
  130. package/dist/chunks/{data-grid.erxjh5TN.js → data-grid.B0bOXr4p.js} +1218 -1166
  131. package/dist/chunks/data-grid.B0bOXr4p.js.map +1 -0
  132. package/dist/chunks/{date-picker.DGIS6Pp-.js → date-picker.Dyf6HJwP.js} +11 -11
  133. package/dist/chunks/date-picker.Dyf6HJwP.js.map +1 -0
  134. package/dist/chunks/date-range-picker.-FSh7RLm.js +967 -0
  135. package/dist/chunks/date-range-picker.-FSh7RLm.js.map +1 -0
  136. package/dist/chunks/{date.BfyWX2PY.js → date.w2Ya6_lp.js} +2 -2
  137. package/dist/chunks/{date.BfyWX2PY.js.map → date.w2Ya6_lp.js.map} +1 -1
  138. package/dist/chunks/{dialog-page.CLHZqQeU.js → dialog-page.CdJloGXQ.js} +9 -9
  139. package/dist/chunks/dialog-page.CdJloGXQ.js.map +1 -0
  140. package/dist/chunks/{divider.Cc4JFWG_.js → divider.CFbtmKeQ.js} +6 -6
  141. package/dist/chunks/divider.CFbtmKeQ.js.map +1 -0
  142. package/dist/chunks/{dropdown-default-textbox.94q6opSD.js → dropdown-default-textbox.DzpZoK-P.js} +81 -80
  143. package/dist/chunks/dropdown-default-textbox.DzpZoK-P.js.map +1 -0
  144. package/dist/chunks/dropdown-tag.CRbOHBPK.js +273 -0
  145. package/dist/chunks/dropdown-tag.CRbOHBPK.js.map +1 -0
  146. package/dist/chunks/{dropdown.DazYAy4B.js → dropdown.DB_MlO1F.js} +43 -43
  147. package/dist/chunks/dropdown.DB_MlO1F.js.map +1 -0
  148. package/dist/chunks/{empty-state.mtXfb1BB.js → empty-state.BqMgiQAu.js} +6 -6
  149. package/dist/chunks/empty-state.BqMgiQAu.js.map +1 -0
  150. package/dist/chunks/{error-message.BgxnwPLF.js → error-message.PWgUfpvo.js} +3 -3
  151. package/dist/chunks/{error-message.BgxnwPLF.js.map → error-message.PWgUfpvo.js.map} +1 -1
  152. package/dist/chunks/es6.MoTTyETW.js +12 -0
  153. package/dist/chunks/es6.MoTTyETW.js.map +1 -0
  154. package/dist/chunks/events.CMzGybJJ.js.map +1 -1
  155. package/dist/chunks/{file-uploader.BPslxGI8.js → file-uploader.llBOTc1s.js} +41 -41
  156. package/dist/chunks/file-uploader.llBOTc1s.js.map +1 -0
  157. package/dist/chunks/{filter-bar.DL19SXF1.js → filter-bar.8rNB7K2X.js} +189 -192
  158. package/dist/chunks/filter-bar.8rNB7K2X.js.map +1 -0
  159. package/dist/chunks/{fixed-scroller.XN-jvWqb.js → fixed-scroller.CRnBrXfk.js} +2 -2
  160. package/dist/chunks/{fixed-scroller.XN-jvWqb.js.map → fixed-scroller.CRnBrXfk.js.map} +1 -1
  161. package/dist/chunks/{focus-trap.C-wIQqpO.js → focus-trap.B4C5TXxl.js} +2 -2
  162. package/dist/chunks/focus-trap.B4C5TXxl.js.map +1 -0
  163. package/dist/chunks/{footer-actions.BE_zzX-e.js → footer-actions.C9ZYDWNU.js} +12 -12
  164. package/dist/chunks/footer-actions.C9ZYDWNU.js.map +1 -0
  165. package/dist/chunks/{form-layout-title.CIynHgCF.js → form-layout-title.CboZDCN9.js} +5 -5
  166. package/dist/chunks/form-layout-title.CboZDCN9.js.map +1 -0
  167. package/dist/chunks/{grid-layout.HvTAa4to.js → grid-layout.1aIiz2N_.js} +4 -4
  168. package/dist/chunks/grid-layout.1aIiz2N_.js.map +1 -0
  169. package/dist/chunks/{header-meta.CfloYa86.js → header-meta.C75OXHwb.js} +26 -27
  170. package/dist/chunks/{header-meta.CfloYa86.js.map → header-meta.C75OXHwb.js.map} +1 -1
  171. package/dist/chunks/{header-with-views.BUQ-MlAq.js → header-with-views.Dzifal09.js} +129 -133
  172. package/dist/chunks/header-with-views.Dzifal09.js.map +1 -0
  173. package/dist/chunks/{header.uyxNdQa3.js → header.DAcRpRch.js} +8 -8
  174. package/dist/chunks/header.DAcRpRch.js.map +1 -0
  175. package/dist/chunks/image.C2D2hKat.js.map +1 -1
  176. package/dist/chunks/{info-icon.CYOXx8CL.js → info-icon.B4P_Zi58.js} +10 -10
  177. package/dist/chunks/info-icon.B4P_Zi58.js.map +1 -0
  178. package/dist/chunks/{input-field-password.C1zTapiN.js → input-field-password.DsslmTb_.js} +29 -29
  179. package/dist/chunks/input-field-password.DsslmTb_.js.map +1 -0
  180. package/dist/chunks/{input-field-phone-number.K8BYjWfa.js → input-field-phone-number.D2T8jzAr.js} +8 -7
  181. package/dist/chunks/{input-field-phone-number.K8BYjWfa.js.map → input-field-phone-number.D2T8jzAr.js.map} +1 -1
  182. package/dist/chunks/{input-field.5S-pUNxA.js → input-field.DnnXXill.js} +5 -5
  183. package/dist/chunks/input-field.DnnXXill.js.map +1 -0
  184. package/dist/chunks/{inspector.BI28vKQz.js → inspector.H05UI3LY.js} +6 -6
  185. package/dist/chunks/inspector.H05UI3LY.js.map +1 -0
  186. package/dist/chunks/keyboard-navigation.pB8weElW.js.map +1 -1
  187. package/dist/chunks/{layout-row.C_F2wX6d.js → layout-row.BWxn-eQ-.js} +12 -12
  188. package/dist/chunks/layout-row.BWxn-eQ-.js.map +1 -0
  189. package/dist/chunks/{link.CXy_LoFI.js → link.B3F22FTY.js} +3 -3
  190. package/dist/chunks/link.B3F22FTY.js.map +1 -0
  191. package/dist/chunks/{listbox-option-tag.D0Cql_R3.js → listbox-option-tag.On3eD2RE.js} +4 -4
  192. package/dist/chunks/listbox-option-tag.On3eD2RE.js.map +1 -0
  193. package/dist/chunks/{loading-indicator.z8COalOc.js → loading-indicator.Iy1CVr_T.js} +2 -2
  194. package/dist/chunks/loading-indicator.Iy1CVr_T.js.map +1 -0
  195. package/dist/chunks/minus-small.DJacLGTw.js.map +1 -1
  196. package/dist/chunks/{modal-fullscreen.DHotw1RI.js → modal-fullscreen.BgmKDCl4.js} +31 -32
  197. package/dist/chunks/modal-fullscreen.BgmKDCl4.js.map +1 -0
  198. package/dist/chunks/{modal.eoNQ6E3U.js → modal.DMqbIDcX.js} +6 -6
  199. package/dist/chunks/modal.DMqbIDcX.js.map +1 -0
  200. package/dist/chunks/{pagination.4J7ZMyf5.js → pagination.38ahUAk8.js} +5 -5
  201. package/dist/chunks/pagination.38ahUAk8.js.map +1 -0
  202. package/dist/chunks/{payment-method.Cx4nPDtE.js → payment-method.CRluCp_L.js} +3 -3
  203. package/dist/chunks/payment-method.CRluCp_L.js.map +1 -0
  204. package/dist/chunks/popover.types.B1HUQoCG.js +6 -0
  205. package/dist/chunks/popover.types.B1HUQoCG.js.map +1 -0
  206. package/dist/chunks/{popper-container.DIFqmRsp.js → popper-container.Bu75g2nc.js} +3 -3
  207. package/dist/chunks/popper-container.Bu75g2nc.js.map +1 -0
  208. package/dist/chunks/{promo-banner.Bbc2U3S3.js → promo-banner.BGMV3nRn.js} +6 -6
  209. package/dist/chunks/promo-banner.BGMV3nRn.js.map +1 -0
  210. package/dist/chunks/{radio-group.4_KKjvAm.js → radio-group.BVLoYrgU.js} +8 -8
  211. package/dist/chunks/radio-group.BVLoYrgU.js.map +1 -0
  212. package/dist/chunks/{radio-input.uJAhxKRs.js → radio-input.BRceOAA4.js} +7 -7
  213. package/dist/chunks/radio-input.BRceOAA4.js.map +1 -0
  214. package/dist/chunks/{rich-text-editor.BUKLdRkN.js → rich-text-editor.BZ6CyBsK.js} +8 -8
  215. package/dist/chunks/rich-text-editor.BZ6CyBsK.js.map +1 -0
  216. package/dist/chunks/{search-bar.CuBj5FAE.js → search-bar.VfZoy5FX.js} +6 -5
  217. package/dist/chunks/search-bar.VfZoy5FX.js.map +1 -0
  218. package/dist/chunks/{secondary-nav.C6usurfD.js → secondary-nav.BXXKo5HE.js} +9 -9
  219. package/dist/chunks/secondary-nav.BXXKo5HE.js.map +1 -0
  220. package/dist/chunks/{segmented-control.DHZEfmT-.js → segmented-control.CGBrRBLL.js} +11 -11
  221. package/dist/chunks/segmented-control.CGBrRBLL.js.map +1 -0
  222. package/dist/chunks/{selection-card-group.0o5T4tab.js → selection-card-group.DgQLQ4Wo.js} +10 -10
  223. package/dist/chunks/selection-card-group.DgQLQ4Wo.js.map +1 -0
  224. package/dist/chunks/{sidepanel.DyThBUgV.js → sidepanel.BR0coAJl.js} +9 -9
  225. package/dist/chunks/sidepanel.BR0coAJl.js.map +1 -0
  226. package/dist/chunks/{status.types.p_TCvoo0.js → status.types.DBYsEsiT.js} +3 -3
  227. package/dist/chunks/status.types.DBYsEsiT.js.map +1 -0
  228. package/dist/chunks/{step.DMMofD4B.js → step.DJkLl2s4.js} +5 -5
  229. package/dist/chunks/step.DJkLl2s4.js.map +1 -0
  230. package/dist/chunks/{structured-list-item.Bnn6-Z3q.js → structured-list-item.CACpjdy4.js} +7 -7
  231. package/dist/chunks/structured-list-item.CACpjdy4.js.map +1 -0
  232. package/dist/chunks/{summary-grid.types.D_FU3sUq.js → summary-grid.types.CVuvqM3p.js} +7 -7
  233. package/dist/chunks/{summary-grid.types.D_FU3sUq.js.map → summary-grid.types.CVuvqM3p.js.map} +1 -1
  234. package/dist/chunks/{tab.BhWPBxcB.js → tab.D33__imf.js} +5 -5
  235. package/dist/chunks/tab.D33__imf.js.map +1 -0
  236. package/dist/chunks/{tag.CGkclKVL.js → tag.DfHE26ZN.js} +4 -4
  237. package/dist/chunks/tag.DfHE26ZN.js.map +1 -0
  238. package/dist/chunks/textarea.D7uQzuRr.js +214 -0
  239. package/dist/chunks/textarea.D7uQzuRr.js.map +1 -0
  240. package/dist/chunks/{timeline-item.DqLhj0Lb.js → timeline-item.QOBiWKEL.js} +11 -11
  241. package/dist/chunks/timeline-item.QOBiWKEL.js.map +1 -0
  242. package/dist/chunks/{toast.BOyeuS19.js → toast.CZxRRsPl.js} +5 -5
  243. package/dist/chunks/toast.CZxRRsPl.js.map +1 -0
  244. package/dist/chunks/toggle-button.DeECoGRn.js +1031 -0
  245. package/dist/chunks/toggle-button.DeECoGRn.js.map +1 -0
  246. package/dist/chunks/{toggle.DyXL09-x.js → toggle.hylSNOmz.js} +8 -8
  247. package/dist/chunks/toggle.hylSNOmz.js.map +1 -0
  248. package/dist/chunks/{tooltip.wQsyAwkC.js → tooltip.BYj8cc9F.js} +66 -62
  249. package/dist/chunks/tooltip.BYj8cc9F.js.map +1 -0
  250. package/dist/chunks/{tutorial.CxrGhLS7.js → tutorial.BkAXmyzV.js} +29 -31
  251. package/dist/chunks/tutorial.BkAXmyzV.js.map +1 -0
  252. package/dist/chunks/{typography.J1v_SPG3.js → typography.w3m-EY4E.js} +7 -7
  253. package/dist/chunks/typography.w3m-EY4E.js.map +1 -0
  254. package/dist/chunks/{use-bento-toast-controller.Cn_2Eogn.js → use-bento-toast-controller.uglKlMjv.js} +2 -2
  255. package/dist/chunks/{use-bento-toast-controller.Cn_2Eogn.js.map → use-bento-toast-controller.uglKlMjv.js.map} +1 -1
  256. package/dist/chunks/{use-cached-selected-values.0EeyFfyF.js → use-cached-selected-values.CI9xi8dE.js} +12 -12
  257. package/dist/chunks/use-cached-selected-values.CI9xi8dE.js.map +1 -0
  258. package/dist/chunks/use-country-items.BllTb5MK.js.map +1 -1
  259. package/dist/chunks/use-country-phon-code.BOaJ9PDl.js.map +1 -1
  260. package/dist/chunks/use-has-slot.C9lQZ6nz.js.map +1 -1
  261. package/dist/code-snippet.js +1 -1
  262. package/dist/country.js +1 -1
  263. package/dist/currency.js +1 -1
  264. package/dist/dashboard-template.js +1 -1
  265. package/dist/dashed-underline.js +1 -1
  266. package/dist/data-grid-template.js +1 -1
  267. package/dist/data-grid.js +1 -1
  268. package/dist/date-picker.js +2 -2
  269. package/dist/date-range-picker.js +2 -2
  270. package/dist/date.js +1 -1
  271. package/dist/divider.js +1 -1
  272. package/dist/dropdown.js +4 -4
  273. package/dist/empty-state.js +1 -1
  274. package/dist/file-uploader.js +1 -1
  275. package/dist/filter-bar.js +1 -1
  276. package/dist/focus-trap.js +1 -1
  277. package/dist/form-layout.js +1 -1
  278. package/dist/header-with-views.js +1 -1
  279. package/dist/header.js +1 -1
  280. package/dist/index.js +175 -177
  281. package/dist/index.js.map +1 -1
  282. package/dist/info-icon.js +1 -1
  283. package/dist/input-field-password.js +1 -1
  284. package/dist/input-field-phone-number.js +3 -2
  285. package/dist/input-field.js +1 -1
  286. package/dist/inspector.js +1 -1
  287. package/dist/internal.js +33 -32
  288. package/dist/internal.js.map +1 -1
  289. package/dist/layout.js +1 -1
  290. package/dist/link.js +1 -1
  291. package/dist/loading-indicator.js +1 -1
  292. package/dist/menu.js +1 -1
  293. package/dist/modal-fullscreen.js +1 -1
  294. package/dist/modal.js +2 -2
  295. package/dist/pagination.js +1 -1
  296. package/dist/payment-method.js +1 -1
  297. package/dist/popover.js +2 -2
  298. package/dist/popper-container.js +1 -1
  299. package/dist/promo-banner.js +1 -1
  300. package/dist/radio-group.js +2 -2
  301. package/dist/rich-text-editor.js +1 -1
  302. package/dist/search-bar.js +2 -2
  303. package/dist/secondary-nav.js +1 -1
  304. package/dist/segmented-control.js +1 -1
  305. package/dist/selection-card.js +1 -1
  306. package/dist/sidepanel.js +1 -1
  307. package/dist/status.js +1 -1
  308. package/dist/stepper.js +1 -1
  309. package/dist/structured-list.js +1 -1
  310. package/dist/styles/bento-dark.css +17 -4
  311. package/dist/styles/bento-light.css +17 -4
  312. package/dist/styles/bento.css +17 -4
  313. package/dist/styles/legacy.css +17 -4
  314. package/dist/styles/styleguide.css +17 -4
  315. package/dist/styles/utility.css +3 -0
  316. package/dist/summary-grid.js +1 -1
  317. package/dist/tabs.js +1 -1
  318. package/dist/tag.js +1 -1
  319. package/dist/textarea.js +1 -1
  320. package/dist/timeline.js +1 -1
  321. package/dist/toast.js +1 -1
  322. package/dist/toggle.js +1 -1
  323. package/dist/tutorial.js +1 -1
  324. package/dist/typography.js +1 -1
  325. package/dist/use-form-v4.js.map +1 -1
  326. package/dist/web-types.json +934 -363
  327. package/package.json +7 -7
  328. package/dist/assets/button-actions.css +0 -1
  329. package/dist/assets/menu.css +0 -1
  330. package/dist/assets/popover.css +0 -1
  331. package/dist/assets/teleport.css +0 -1
  332. package/dist/chunks/accordion-item.BNtdoVto.js.map +0 -1
  333. package/dist/chunks/action-bar.DQb7WVVd.js.map +0 -1
  334. package/dist/chunks/avatar.BgwjpLQO.js.map +0 -1
  335. package/dist/chunks/base-button.-gx_u8Bd.js.map +0 -1
  336. package/dist/chunks/base-modal.CkkfT6r6.js.map +0 -1
  337. package/dist/chunks/base-modal.keys.C2PQXcE2.js +0 -5
  338. package/dist/chunks/base-modal.keys.C2PQXcE2.js.map +0 -1
  339. package/dist/chunks/button-actions-with-menu.nPj7sdGE.js +0 -83
  340. package/dist/chunks/button-actions-with-menu.nPj7sdGE.js.map +0 -1
  341. package/dist/chunks/button-actions.Ju27CRNG.js +0 -194
  342. package/dist/chunks/button-actions.Ju27CRNG.js.map +0 -1
  343. package/dist/chunks/button.hF-nD1Og.js.map +0 -1
  344. package/dist/chunks/calendar.DvIQEYwN.js.map +0 -1
  345. package/dist/chunks/card.CASAAsuJ.js.map +0 -1
  346. package/dist/chunks/checkbox-group.QdX-NrSG.js.map +0 -1
  347. package/dist/chunks/checkbox-input.CNWigbX4.js.map +0 -1
  348. package/dist/chunks/checkbox.DCD6SSXC.js.map +0 -1
  349. package/dist/chunks/chip.OV0EWIP3.js.map +0 -1
  350. package/dist/chunks/code-snippet.dIKi0D7d.js.map +0 -1
  351. package/dist/chunks/copy.CF8Fzu2Y.js.map +0 -1
  352. package/dist/chunks/country.melpzEsY.js.map +0 -1
  353. package/dist/chunks/currency.BM9OXTqe.js.map +0 -1
  354. package/dist/chunks/dashed-underline.BbH6Lnd2.js.map +0 -1
  355. package/dist/chunks/data-grid-template.Co0Ecr79.js.map +0 -1
  356. package/dist/chunks/data-grid.erxjh5TN.js.map +0 -1
  357. package/dist/chunks/date-picker.DGIS6Pp-.js.map +0 -1
  358. package/dist/chunks/date-range-picker.CIaKRXIQ.js +0 -1021
  359. package/dist/chunks/date-range-picker.CIaKRXIQ.js.map +0 -1
  360. package/dist/chunks/dialog-page.CLHZqQeU.js.map +0 -1
  361. package/dist/chunks/divider.Cc4JFWG_.js.map +0 -1
  362. package/dist/chunks/dropdown-default-textbox.94q6opSD.js.map +0 -1
  363. package/dist/chunks/dropdown-tag.BaosvGGZ.js +0 -240
  364. package/dist/chunks/dropdown-tag.BaosvGGZ.js.map +0 -1
  365. package/dist/chunks/dropdown.DazYAy4B.js.map +0 -1
  366. package/dist/chunks/empty-state.mtXfb1BB.js.map +0 -1
  367. package/dist/chunks/es6.n1ewaW31.js +0 -11
  368. package/dist/chunks/es6.n1ewaW31.js.map +0 -1
  369. package/dist/chunks/file-uploader.BPslxGI8.js.map +0 -1
  370. package/dist/chunks/filter-bar.DL19SXF1.js.map +0 -1
  371. package/dist/chunks/focus-trap.C-wIQqpO.js.map +0 -1
  372. package/dist/chunks/footer-actions.BE_zzX-e.js.map +0 -1
  373. package/dist/chunks/form-layout-title.CIynHgCF.js.map +0 -1
  374. package/dist/chunks/grid-layout.HvTAa4to.js.map +0 -1
  375. package/dist/chunks/header-with-views.BUQ-MlAq.js.map +0 -1
  376. package/dist/chunks/header.uyxNdQa3.js.map +0 -1
  377. package/dist/chunks/info-icon.CYOXx8CL.js.map +0 -1
  378. package/dist/chunks/input-field-password.C1zTapiN.js.map +0 -1
  379. package/dist/chunks/input-field.5S-pUNxA.js.map +0 -1
  380. package/dist/chunks/inspector.BI28vKQz.js.map +0 -1
  381. package/dist/chunks/layout-row.C_F2wX6d.js.map +0 -1
  382. package/dist/chunks/link.CXy_LoFI.js.map +0 -1
  383. package/dist/chunks/listbox-option-tag.D0Cql_R3.js.map +0 -1
  384. package/dist/chunks/loading-indicator.z8COalOc.js.map +0 -1
  385. package/dist/chunks/menu.D0OQgk40.js +0 -515
  386. package/dist/chunks/menu.D0OQgk40.js.map +0 -1
  387. package/dist/chunks/modal-fullscreen.DHotw1RI.js.map +0 -1
  388. package/dist/chunks/modal-fullscreen.keys.CMba3hYp.js +0 -5
  389. package/dist/chunks/modal-fullscreen.keys.CMba3hYp.js.map +0 -1
  390. package/dist/chunks/modal.eoNQ6E3U.js.map +0 -1
  391. package/dist/chunks/pagination.4J7ZMyf5.js.map +0 -1
  392. package/dist/chunks/payment-method.Cx4nPDtE.js.map +0 -1
  393. package/dist/chunks/popover.Bo4Bkudr.js +0 -145
  394. package/dist/chunks/popover.Bo4Bkudr.js.map +0 -1
  395. package/dist/chunks/popover.types.CBqyA4ly.js +0 -6
  396. package/dist/chunks/popover.types.CBqyA4ly.js.map +0 -1
  397. package/dist/chunks/popper-container.DIFqmRsp.js.map +0 -1
  398. package/dist/chunks/promo-banner.Bbc2U3S3.js.map +0 -1
  399. package/dist/chunks/radio-group.4_KKjvAm.js.map +0 -1
  400. package/dist/chunks/radio-input.uJAhxKRs.js.map +0 -1
  401. package/dist/chunks/rich-text-editor.BUKLdRkN.js.map +0 -1
  402. package/dist/chunks/search-bar.CuBj5FAE.js.map +0 -1
  403. package/dist/chunks/secondary-nav.C6usurfD.js.map +0 -1
  404. package/dist/chunks/segmented-control.DHZEfmT-.js.map +0 -1
  405. package/dist/chunks/selection-card-group.0o5T4tab.js.map +0 -1
  406. package/dist/chunks/sidepanel.DyThBUgV.js.map +0 -1
  407. package/dist/chunks/sidepanel.keys.R0DKQuYx.js +0 -5
  408. package/dist/chunks/sidepanel.keys.R0DKQuYx.js.map +0 -1
  409. package/dist/chunks/status.types.p_TCvoo0.js.map +0 -1
  410. package/dist/chunks/step.DMMofD4B.js.map +0 -1
  411. package/dist/chunks/structured-list-item.Bnn6-Z3q.js.map +0 -1
  412. package/dist/chunks/tab.BhWPBxcB.js.map +0 -1
  413. package/dist/chunks/tag.CGkclKVL.js.map +0 -1
  414. package/dist/chunks/teleport.BV6zrDjA.js +0 -128
  415. package/dist/chunks/teleport.BV6zrDjA.js.map +0 -1
  416. package/dist/chunks/textarea.UPM6N9V1.js +0 -203
  417. package/dist/chunks/textarea.UPM6N9V1.js.map +0 -1
  418. package/dist/chunks/timeline-item.DqLhj0Lb.js.map +0 -1
  419. package/dist/chunks/toast.BOyeuS19.js.map +0 -1
  420. package/dist/chunks/toggle-button.DEVVvpkw.js +0 -83
  421. package/dist/chunks/toggle-button.DEVVvpkw.js.map +0 -1
  422. package/dist/chunks/toggle.DyXL09-x.js.map +0 -1
  423. package/dist/chunks/tooltip.wQsyAwkC.js.map +0 -1
  424. package/dist/chunks/tutorial.CxrGhLS7.js.map +0 -1
  425. package/dist/chunks/typography.J1v_SPG3.js.map +0 -1
  426. package/dist/chunks/use-cached-selected-values.0EeyFfyF.js.map +0 -1
  427. package/dist/chunks/use-click-outside.BnhTgpSt.js +0 -14
  428. package/dist/chunks/use-click-outside.BnhTgpSt.js.map +0 -1
@@ -1,52 +1,49 @@
1
- import { ref as y, onMounted as Se, nextTick as se, watch as oe, onUnmounted as Ct, reactive as Me, toRefs as Be, computed as C, watchEffect as Ln, onBeforeUpdate as An, defineComponent as ie, toRef as Ne, useSlots as $e, provide as ht, inject as De } from "vue";
2
- import { C as Tn } from "./checkmark-circle-fill.BttTCjrM.js";
3
- import { W as On } from "./warning-filled.tWOyLUQT.js";
1
+ import { ref as R, onMounted as be, nextTick as se, watch as oe, onUnmounted as pt, reactive as Be, toRefs as Me, computed as C, watchEffect as Tn, onBeforeUpdate as Nn, defineComponent as de, toRef as Ie, useSlots as Ue, provide as wt, inject as De } from "vue";
2
+ import { C as In } from "./checkmark-circle-fill.BttTCjrM.js";
3
+ import { W as Dn } from "./warning-filled.tWOyLUQT.js";
4
4
  /* empty css */
5
- import { n as V } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
6
- import { C as pt } from "./cross.CC_B-vG-.js";
7
- import { N as et } from "./minus-small.DJacLGTw.js";
8
- import { d as In } from "./popper-container.DIFqmRsp.js";
9
- import { E as le, B as Nn, a as Dn, T as xn } from "./tooltip.wQsyAwkC.js";
10
- import { B as Fn } from "./dashed-underline.BbH6Lnd2.js";
11
- import { B as be, p as wt } from "./typography.J1v_SPG3.js";
12
- import { u as ue } from "./i18n.BQkEbtPM.js";
13
- import { B as Mn } from "./action-bar.DQb7WVVd.js";
14
- import { B as Bn } from "./pagination.4J7ZMyf5.js";
15
- import { B as Ue } from "./loading-indicator.z8COalOc.js";
16
- import { u as ze } from "./use-has-slot.C9lQZ6nz.js";
17
- import { u as $n } from "./aria-label.CaUURpnB.js";
18
- import { g as Un } from "./get-slot-text.BQS5Olxm.js";
19
- import { B as Ie } from "./filter-bar.DL19SXF1.js";
20
- import { B as zn } from "./empty-state.mtXfb1BB.js";
21
- import { E as Pn } from "./tabs.keys.Cb4Vw5Jh.js";
22
- import { D as kn } from "./data-grid-template.keys.2_AkxuNT.js";
5
+ import { n as H } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
6
+ import { C as bt } from "./cross.CC_B-vG-.js";
7
+ import { N as nt } from "./minus-small.DJacLGTw.js";
8
+ import { d as xn } from "./popper-container.Bu75g2nc.js";
9
+ import { E as le, b as Fn, B as Bn, T as Mn } from "./tooltip.BYj8cc9F.js";
10
+ import { B as Un } from "./dashed-underline.BN_whJrR.js";
11
+ import { B as Se, p as St } from "./typography.w3m-EY4E.js";
12
+ import { u as ce } from "./i18n.BQkEbtPM.js";
13
+ import { B as zn } from "./action-bar.Dhi6k0CP.js";
14
+ import { B as $n } from "./pagination.38ahUAk8.js";
15
+ import { B as ze } from "./loading-indicator.Iy1CVr_T.js";
16
+ import { u as $e } from "./use-has-slot.C9lQZ6nz.js";
17
+ import { u as Pn } from "./aria-label.CaUURpnB.js";
18
+ import { g as kn } from "./get-slot-text.BQS5Olxm.js";
19
+ import { B as Ne } from "./filter-bar.8rNB7K2X.js";
20
+ import { B as Wn } from "./empty-state.BqMgiQAu.js";
21
+ import { E as Gn } from "./tabs.keys.Cb4Vw5Jh.js";
22
+ import { D as Hn } from "./data-grid-template.keys.2_AkxuNT.js";
23
23
  import { o as Pe } from "./resize.Bqks3WUm.js";
24
24
  import "./index.Cl4_42j5.js";
25
- import { u as Wn } from "./use-expandable-content-height.GkjjbmPy.js";
25
+ import { b as Rt } from "./focus-trap.B4C5TXxl.js";
26
+ import { u as Vn } from "./use-expandable-content-height.GkjjbmPy.js";
26
27
  import { g as xe } from "./generate-uid.NJ8tVoha.js";
27
- import { B as St } from "./button.hF-nD1Og.js";
28
- import { B as bt, O as Gn, D as Hn } from "./menu.D0OQgk40.js";
29
- import { E as Vn } from "./link.CXy_LoFI.js";
30
- import { C as Zn } from "./copy.CF8Fzu2Y.js";
31
- import { B as yt } from "./checkbox.DCD6SSXC.js";
32
- import { C as jn } from "./chevron-down.eYtgv5ly.js";
33
- import { C as qn } from "./chevron-up.d8cwIlA_.js";
34
- import { b as Et } from "./focus-trap.C-wIQqpO.js";
35
- import { B as ke } from "./toggle-button.DEVVvpkw.js";
36
- import { e as Yn, d as Kn } from "./button-actions.Ju27CRNG.js";
37
- import { B as Xn } from "./info-icon.CYOXx8CL.js";
38
- import { B as tt } from "./popover.types.CBqyA4ly.js";
39
- import { A as Jn } from "./dialog-page.CLHZqQeU.js";
40
- import { H as Qn, S as es } from "./show.B_mKPF6I.js";
41
- import { l as nt } from "./events.CMzGybJJ.js";
42
- import { B as ts } from "./popover.Bo4Bkudr.js";
43
- import { B as Rt } from "./toggle.DyXL09-x.js";
44
- import { B as ns } from "./search-bar.CuBj5FAE.js";
45
- import { u as ss } from "./dropdown.DazYAy4B.js";
46
- import { S as os } from "./search.D53Ia3rC.js";
47
- import { B as ls } from "./directive.Cbdox5VL.js";
28
+ import { B as Et } from "./button.B0hSQWOR.js";
29
+ import { c as ke, f as yt, h as Zn, b as jn, a as qn, O as Yn, D as Kn } from "./toggle-button.DeECoGRn.js";
30
+ import { E as Xn } from "./link.B3F22FTY.js";
31
+ import { C as Jn } from "./copy.UbMV4m6b.js";
32
+ import { B as Lt } from "./checkbox.JhfbjDfJ.js";
33
+ import { C as Qn } from "./chevron-down.eYtgv5ly.js";
34
+ import { C as es } from "./chevron-up.d8cwIlA_.js";
35
+ import { B as ts } from "./info-icon.B4P_Zi58.js";
36
+ import { B as st } from "./popover.types.B1HUQoCG.js";
37
+ import { A as ns } from "./dialog-page.CdJloGXQ.js";
38
+ import { H as ss, S as os } from "./show.B_mKPF6I.js";
39
+ import { l as ot } from "./events.CMzGybJJ.js";
40
+ import { B as At } from "./toggle.hylSNOmz.js";
41
+ import { B as ls } from "./search-bar.VfZoy5FX.js";
42
+ import { u as as } from "./dropdown.DB_MlO1F.js";
43
+ import { S as is } from "./search.D53Ia3rC.js";
44
+ import { B as rs } from "./directive.Cbdox5VL.js";
48
45
  import "../assets/data-grid.css";
49
- const st = (s) => {
46
+ const lt = (s) => {
50
47
  if (!s)
51
48
  return 0;
52
49
  const t = window.getComputedStyle(s);
@@ -58,19 +55,19 @@ const st = (s) => {
58
55
  }
59
56
  const o = parseFloat(t.top);
60
57
  return !isNaN(o) && o < 0 && (n += o), n;
61
- }, ot = (s, t, n = y(!1), e = null) => {
62
- const o = y(0);
58
+ }, at = (s, t, n = R(!1), e = null) => {
59
+ const o = R(0);
63
60
  let l = null, a = null;
64
61
  const i = () => {
65
- const f = t.value ? st(s.value) : 0, d = n.value && e ? st(e.value) : 0;
66
- o.value = f + d;
62
+ const u = t.value ? lt(s.value) : 0, r = n.value && e ? lt(e.value) : 0;
63
+ o.value = u + r;
67
64
  };
68
- return Se(() => {
65
+ return be(() => {
69
66
  se(() => {
70
- const f = oe(
67
+ const u = oe(
71
68
  s,
72
69
  () => {
73
- s != null && s.value && (se(() => f()), l = Pe(s.value, i), a = new MutationObserver(i), a.observe(s.value, { attributes: !0, attributeFilter: ["class"] }));
70
+ s != null && s.value && (se(() => u()), l = Pe(s.value, i), a = new MutationObserver(i), a.observe(s.value, { attributes: !0, attributeFilter: ["class"] }));
74
71
  },
75
72
  { immediate: !0 }
76
73
  );
@@ -82,545 +79,551 @@ const st = (s) => {
82
79
  { immediate: !0 }
83
80
  );
84
81
  });
85
- }), Ct(() => {
82
+ }), pt(() => {
86
83
  l == null || l.disconnect(), a == null || a.disconnect();
87
84
  }), o;
88
85
  };
89
- var Fe = /* @__PURE__ */ ((s) => (s.WRAP = "wrap", s.ELLIPSIS = "ellipsis", s))(Fe || {}), re = /* @__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.FIT_CONTENT = "fit-content", s))(re || {}), ve = /* @__PURE__ */ ((s) => (s.ASCENDING = "asc", s.DESCENDING = "desc", s))(ve || {}), x = /* @__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))(x || {}), ye = /* @__PURE__ */ ((s) => (s.ASCENDING = "ascending", s.DESCENDING = "descending", s.NONE = "none", s))(ye || {}), G = /* @__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.DESELECT_ALL = "deselect-all", 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))(G || {});
90
- const as = (s, t) => {
91
- const n = y(null), e = y(!1), o = y(void 0), l = s.value.reduce((g, L) => (g[L.field] = null, g), {}), a = Me(l), i = Be(a);
92
- let f = 0, d = "";
86
+ var Fe = /* @__PURE__ */ ((s) => (s.WRAP = "wrap", s.ELLIPSIS = "ellipsis", s))(Fe || {}), re = /* @__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.FIT_CONTENT = "fit-content", s.ZEBRA_ROWS = "zebra-rows", s))(re || {}), ve = /* @__PURE__ */ ((s) => (s.ASCENDING = "asc", s.DESCENDING = "desc", s))(ve || {}), D = /* @__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.UPDATE_ZEBRA_ROWS = "update:zebra-rows", s.ROW_CLICK = "row-click", s.SELECT = "select", s.SELECT_ALL_ACROSS_PAGES = "select-all-across-pages", s.SORT = "sort", s))(D || {}), Re = /* @__PURE__ */ ((s) => (s.ASCENDING = "ascending", s.DESCENDING = "descending", s.NONE = "none", s))(Re || {}), G = /* @__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.DESELECT_ALL = "deselect-all", 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))(G || {});
87
+ const ds = (s, t) => {
88
+ const n = R(null), e = R(!1), o = R(void 0), l = s.value.reduce((f, A) => (f[A.field] = null, f), {}), a = Be(l), i = Me(a);
89
+ let u = 0, r = "";
93
90
  const E = C(
94
- () => Object.fromEntries(s.value.map(({ field: g, width: L, minWidth: h }) => [g, { width: L, minWidth: h }]))
91
+ () => Object.fromEntries(s.value.map(({ field: f, width: A, minWidth: w }) => [f, { width: A, minWidth: w }]))
95
92
  );
96
- Ln(() => o.value = E.value);
97
- let u = null, R = null;
98
- const m = (g) => {
99
- const L = g.clientX - f, h = d, _ = o.value[h].width + L;
100
- o.value[h].width = _ > E.value[h].minWidth ? _ : E.value[h].minWidth, t(G.COLUMN_RESIZING, o.value), f = g.clientX;
101
- }, w = () => {
102
- e.value = !1, u == null || u(), R == null || R(), d && t(G.COLUMN_RESIZE, {
103
- field: d,
104
- width: o.value[d].width
105
- }), u = null, R = null, d = "", f = null;
106
- }, N = (g, L, h) => {
107
- if (h.preventDefault(), g) {
108
- if (e.value = !0, h.buttons !== 1) {
109
- w();
93
+ Tn(() => o.value = E.value);
94
+ let h = null, y = null;
95
+ const p = (f) => {
96
+ const A = f.clientX - u, w = r, v = o.value[w].width + A;
97
+ o.value[w].width = v > E.value[w].minWidth ? v : E.value[w].minWidth, t(G.COLUMN_RESIZING, o.value), u = f.clientX;
98
+ }, c = () => {
99
+ e.value = !1, h == null || h(), y == null || y(), r && t(G.COLUMN_RESIZE, {
100
+ field: r,
101
+ width: o.value[r].width
102
+ }), h = null, y = null, r = "", u = null;
103
+ }, O = (f, A, w) => {
104
+ if (w.preventDefault(), f) {
105
+ if (e.value = !0, w.buttons !== 1) {
106
+ c();
110
107
  return;
111
108
  }
112
- d = L, f = h.clientX, u = nt(window, "mousemove", m), R = nt(window, "mouseup", w);
109
+ r = A, u = w.clientX, h = ot(window, "mousemove", p), y = ot(window, "mouseup", c);
113
110
  }
114
111
  };
115
112
  return oe(
116
113
  () => e.value,
117
- (g, L) => {
118
- !g && L && (t(G.COLUMN_HOVER, n.value), n.value = null);
114
+ (f, A) => {
115
+ !f && A && (t(G.COLUMN_HOVER, n.value), n.value = null);
119
116
  }
120
117
  ), {
121
118
  resizeData: o,
122
119
  allColumnRefs: i,
123
- startResize: N,
120
+ startResize: O,
124
121
  isResizing: e,
125
122
  columnHoverEventToEmitAfterResizing: n
126
123
  };
127
- }, is = 100, lt = 50, ne = "b-actions-column", rs = 32, ds = 56, cs = 56, us = 80, fs = 36, gs = 1, Lt = 16, _s = 20, vs = (s, t, n) => {
124
+ }, cs = 100, it = 50, ne = "b-actions-column", us = 32, fs = 56, gs = 56, _s = 80, vs = 36, ms = 1, Ot = 16, Cs = 20, hs = (s, t, n) => {
128
125
  const e = {}, o = [], l = (i) => {
129
- const f = e[i];
130
- f && f.frozen !== !0 && (e[i].frozen = !0, o.push(i));
126
+ const u = e[i];
127
+ u && u.frozen !== !0 && (e[i].frozen = !0, o.push(i));
131
128
  };
132
129
  function a() {
133
130
  if (o.length === n.length)
134
131
  return;
135
132
  const i = { min: {} };
136
- let f = s, d = t, E = 0;
137
- o.forEach((u) => {
138
- f -= e[u].computedWidth, d -= e[u].flex;
133
+ let u = s, r = t, E = 0;
134
+ o.forEach((h) => {
135
+ u -= e[h].computedWidth, r -= e[h].flex;
139
136
  });
140
- for (let u = 0, R = n.length; u < R; u += 1) {
141
- const m = n[u];
142
- if (e[m.field] && e[m.field].frozen === !0)
137
+ for (let h = 0, y = n.length; h < y; h += 1) {
138
+ const p = n[h];
139
+ if (e[p.field] && e[p.field].frozen === !0)
143
140
  continue;
144
- let N = f / d * m.flex;
145
- N < m.minWidth && (E += m.minWidth - N, N = m.minWidth, i.min[m.field] = !0), e[m.field] = {
141
+ let O = u / r * p.flex;
142
+ O < p.minWidth && (E += p.minWidth - O, O = p.minWidth, i.min[p.field] = !0), e[p.field] = {
146
143
  frozen: !1,
147
- computedWidth: N,
148
- flex: m.flex
144
+ computedWidth: O,
145
+ flex: p.flex
149
146
  };
150
147
  }
151
- E > 0 ? Object.keys(i.min).forEach((u) => {
152
- l(u);
153
- }) : n.forEach(({ field: u }) => {
154
- l(u);
148
+ E > 0 ? Object.keys(i.min).forEach((h) => {
149
+ l(h);
150
+ }) : n.forEach(({ field: h }) => {
151
+ l(h);
155
152
  }), a();
156
153
  }
157
154
  return a(), e;
158
- }, at = (s, t) => {
159
- let n = gs;
160
- return t && (n += Lt * 2), s != null && s.offsetWidth ? s.offsetWidth + n : 0;
161
- }, ms = (s) => {
155
+ }, rt = (s, t) => {
156
+ let n = ms;
157
+ return t && (n += Ot * 2), s != null && s.offsetWidth ? s.offsetWidth + n : 0;
158
+ }, ps = (s) => {
162
159
  var t, n, e, o, l;
163
- 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 ? us : cs : fs : (l = s == null ? void 0 : s.hasSelectableAcrossPages) != null && l.value ? ds : rs;
164
- }, Cs = (s, t, n, e, o, l) => {
165
- const a = y(s.value), i = y(t), f = y(n), d = y(e), E = y(o), u = y(!1), R = y(0);
160
+ return (t = s == null ? void 0 : s.hasNestedContent) != null && t.value || (n = s == null ? void 0 : s.hasNestedRows) != null && n.value ? (e = s == null ? void 0 : s.hasSelectableColumn) != null && e.value ? (o = s == null ? void 0 : s.hasSelectableAcrossPages) != null && o.value ? _s : gs : vs : (l = s == null ? void 0 : s.hasSelectableAcrossPages) != null && l.value ? fs : us;
161
+ }, ws = (s, t, n, e, o, l) => {
162
+ const a = R(s.value), i = R(t), u = R(n), r = R(e), E = R(o), h = R(!1), y = R(0);
166
163
  oe(
167
164
  () => s.value,
168
- (r, p) => {
169
- var W, Z;
170
- const T = (r == null ? void 0 : r.map(({ field: k }) => k).toString()) === (p == null ? void 0 : p.map(({ field: k }) => k).toString());
171
- if (!((W = l == null ? void 0 : l.allowColumnDragAndDrop) != null && W.value) || !T) {
165
+ (g, _) => {
166
+ var z, V;
167
+ const L = (g == null ? void 0 : g.map(({ field: W }) => W).toString()) === (_ == null ? void 0 : _.map(({ field: W }) => W).toString());
168
+ if (!((z = l == null ? void 0 : l.allowColumnDragAndDrop) != null && z.value) || !L) {
172
169
  a.value = s.value;
173
170
  return;
174
171
  }
175
- a.value = ((Z = a.value) == null ? void 0 : Z.length) === 0 ? s.value : s.value.sort((k, X) => {
176
- const Y = a.value.findIndex((K) => K.field === k.field), j = a.value.findIndex((K) => K.field === X.field);
177
- return Y === -1 ? 1 : j === -1 ? -1 : Y - j;
172
+ a.value = ((V = a.value) == null ? void 0 : V.length) === 0 ? s.value : s.value.sort((W, J) => {
173
+ const Z = a.value.findIndex((j) => j.field === W.field), Q = a.value.findIndex((j) => j.field === J.field);
174
+ return Z === -1 ? 1 : Q === -1 ? -1 : Z - Q;
178
175
  });
179
176
  }
180
177
  );
181
- const m = y();
182
- let w = null;
183
- const N = C(() => {
184
- var Y, j, K;
185
- const r = [];
186
- let p = 0, T = 0;
187
- const W = {};
188
- let Z = a.value.filter((v) => v.visible !== !1);
189
- const k = a.value.filter((v) => v.visible === !1);
190
- if ((Y = l == null ? void 0 : l.hasSelectableColumn) != null && Y.value || (j = l == null ? void 0 : l.hasNestedContent) != null && j.value || (K = l == null ? void 0 : l.hasNestedRows) != null && K.value) {
191
- const v = ms(l);
192
- Z = [
178
+ const p = R();
179
+ let c = null;
180
+ const O = C(() => {
181
+ var Z, Q, j;
182
+ const g = [];
183
+ let _ = 0, L = 0;
184
+ const z = {};
185
+ let V = a.value.filter((m) => m.visible !== !1);
186
+ const W = a.value.filter((m) => m.visible === !1);
187
+ if ((Z = l == null ? void 0 : l.hasSelectableColumn) != null && Z.value || (Q = l == null ? void 0 : l.hasNestedContent) != null && Q.value || (j = l == null ? void 0 : l.hasNestedRows) != null && j.value) {
188
+ const m = ps(l);
189
+ V = [
193
190
  {
194
191
  field: ne,
195
192
  label: "",
196
- minWidth: v,
197
- width: v,
193
+ minWidth: m,
194
+ width: m,
198
195
  frozen: !0,
199
196
  padding: { left: !1, right: !1 }
200
197
  },
201
- ...Z
198
+ ...V
202
199
  ];
203
200
  }
204
- Z.forEach((v) => {
205
- const I = { ...v };
206
- let M;
207
- I.flex && I.flex > 0 ? (p += I.flex, M = 0, r.push(I)) : M = Math.max(
208
- (I == null ? void 0 : I.width) ?? is,
209
- (I == null ? void 0 : I.minWidth) ?? lt
210
- ), T += M, I.width = M, I.minWidth = (I == null ? void 0 : I.minWidth) ?? lt, W[I.field] = I;
211
- }), T += R.value;
212
- const X = Math.max(m.value - T, 0);
213
- if (p > 0 && m.value > 0) {
214
- const v = vs(X, p, r);
215
- Object.keys(v).forEach((I) => {
216
- W[I].width = v[I].computedWidth;
201
+ V.forEach((m) => {
202
+ const I = { ...m };
203
+ let F;
204
+ I.flex && I.flex > 0 ? (_ += I.flex, F = 0, g.push(I)) : F = Math.max(
205
+ (I == null ? void 0 : I.width) ?? cs,
206
+ (I == null ? void 0 : I.minWidth) ?? it
207
+ ), L += F, I.width = F, I.minWidth = (I == null ? void 0 : I.minWidth) ?? it, z[I.field] = I;
208
+ }), L += y.value;
209
+ const J = Math.max(p.value - L, 0);
210
+ if (_ > 0 && p.value > 0) {
211
+ const m = hs(J, _, g);
212
+ Object.keys(m).forEach((I) => {
213
+ z[I].width = m[I].computedWidth;
217
214
  });
218
215
  }
219
- return k.forEach((v) => {
220
- const I = { ...v };
221
- W[I.field] = I;
222
- }), Object.values(W);
223
- }), g = y(void 0), L = (r) => {
224
- g.value = { ...g.value, ...r };
225
- }, h = async () => {
226
- a.value.some((r) => r == null ? void 0 : r.autoWidth) && (u.value = !0, await se(), a == null || a.value.filter((r) => r == null ? void 0 : r.autoWidth).forEach(({ field: r, minWidth: p }) => {
227
- var k, X, Y, j;
228
- const T = at(
229
- (k = d.value) == null ? void 0 : k[r],
230
- (X = l == null ? void 0 : l.hasColumnPanel) == null ? void 0 : X.value
231
- ), W = (j = (Y = E.value) == null ? void 0 : Y[r]) == null ? void 0 : j.reduce(
232
- (K, v) => Math.max(K, at(v)),
216
+ return W.forEach((m) => {
217
+ const I = { ...m };
218
+ z[I.field] = I;
219
+ }), Object.values(z);
220
+ }), f = R(void 0), A = (g) => {
221
+ f.value = { ...f.value, ...g };
222
+ }, w = async () => {
223
+ a.value.some((g) => g == null ? void 0 : g.autoWidth) && (h.value = !0, await se(), a == null || a.value.filter((g) => g == null ? void 0 : g.autoWidth).forEach(({ field: g, minWidth: _ }) => {
224
+ var W, J, Z, Q;
225
+ const L = rt(
226
+ (W = r.value) == null ? void 0 : W[g],
227
+ (J = l == null ? void 0 : l.hasColumnPanel) == null ? void 0 : J.value
228
+ ), z = (Q = (Z = E.value) == null ? void 0 : Z[g]) == null ? void 0 : Q.reduce(
229
+ (j, m) => Math.max(j, rt(m)),
233
230
  0
234
- ), Z = Math.max(T, W ?? 0);
235
- (p === void 0 || Z > p) && L({
236
- [r]: {
237
- width: Z
231
+ ), V = Math.max(L, z ?? 0);
232
+ (_ === void 0 || V > _) && A({
233
+ [g]: {
234
+ width: V
238
235
  }
239
236
  });
240
- }), u.value = !1);
237
+ }), h.value = !1);
241
238
  };
242
239
  oe([() => a.value, () => i.value], async () => {
243
- a.value.some((r) => r == null ? void 0 : r.autoWidth) && await h();
240
+ a.value.some((g) => g == null ? void 0 : g.autoWidth) && await w();
244
241
  });
245
- const _ = C(
246
- () => N.value.map((r) => {
247
- var p, T;
242
+ const v = C(
243
+ () => O.value.map((g) => {
244
+ var _, L;
248
245
  return {
249
- ...r,
246
+ ...g,
250
247
  // Override column width with resized ones
251
- width: ((T = (p = g.value) == null ? void 0 : p[r.field]) == null ? void 0 : T.width) ?? r.width
248
+ width: ((L = (_ = f.value) == null ? void 0 : _[g.field]) == null ? void 0 : L.width) ?? g.width
252
249
  };
253
250
  })
254
- ), b = C(
251
+ ), S = C(
255
252
  () => {
256
- var r;
257
- return ((r = _.value) == null ? void 0 : r.filter(({ visible: p }) => p !== !1).reduce((p, T) => T.width + p, 0)) + R.value;
253
+ var g;
254
+ return ((g = v.value) == null ? void 0 : g.filter(({ visible: _ }) => _ !== !1).reduce((_, L) => L.width + _, 0)) + y.value;
258
255
  }
259
- ), O = C(
260
- () => m.value <= b.value
261
- ), A = C(() => ({
262
- width: m.value > b.value ? "100%" : "fit-content"
256
+ ), N = C(
257
+ () => p.value <= S.value
258
+ ), T = C(() => ({
259
+ width: p.value > S.value ? "100%" : "fit-content"
263
260
  }));
264
- return Se(() => {
265
- var p;
266
- const r = l != null && l.isDataGridTemplate ? _s : 0;
261
+ return be(() => {
262
+ var _;
263
+ const g = l != null && l.isDataGridTemplate ? Cs : 0;
267
264
  se(() => {
268
- f.value && (m.value = f.value.getBoundingClientRect().width - r);
269
- const T = oe(
270
- f,
265
+ u.value && (p.value = u.value.getBoundingClientRect().width - g);
266
+ const L = oe(
267
+ u,
271
268
  () => {
272
- f.value && (se(() => T()), w = Pe(f.value, ({ width: W }) => {
273
- m.value = W - r;
269
+ u.value && (se(() => L()), c = Pe(u.value, ({ width: z }) => {
270
+ p.value = z - g;
274
271
  }));
275
272
  },
276
273
  { immediate: !0 }
277
274
  );
278
- }), (p = document == null ? void 0 : document.fonts) != null && p.ready ? document.fonts.ready.then(() => {
279
- h();
280
- }) : h();
281
- }), Ct(() => {
282
- w == null || w.disconnect();
283
- }), An(() => {
284
- var r;
285
- E.value && ((r = Object.keys(E.value)) == null ? void 0 : r.length) > 0 && Object.keys(E.value).forEach((T) => {
286
- E.value[T] = [];
275
+ }), (_ = document == null ? void 0 : document.fonts) != null && _.ready ? document.fonts.ready.then(() => {
276
+ w();
277
+ }) : w();
278
+ }), pt(() => {
279
+ c == null || c.disconnect();
280
+ }), Nn(() => {
281
+ var g;
282
+ E.value && ((g = Object.keys(E.value)) == null ? void 0 : g.length) > 0 && Object.keys(E.value).forEach((L) => {
283
+ E.value[L] = [];
287
284
  });
288
285
  }), {
289
- columnDefs: _,
290
- gridRowWidthStyle: A,
291
- onColumnWidthOverride: L,
292
- isMeasuringColumnWidths: u,
293
- isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: O,
286
+ columnDefs: v,
287
+ gridRowWidthStyle: T,
288
+ onColumnWidthOverride: A,
289
+ isMeasuringColumnWidths: h,
290
+ isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: N,
294
291
  columns: a,
295
- totalWidthOfAllColumns: b,
296
- rowActionsMaxWidth: R
292
+ totalWidthOfAllColumns: S,
293
+ rowActionsMaxWidth: y
297
294
  };
298
- }, hs = (s, t, n, e, o, l, a) => {
299
- const i = y(s.value ?? []), f = Me({
295
+ }, bs = (s, t, n, e, o, l, a) => {
296
+ const i = R(s.value ?? []), u = Be({
300
297
  allItemsSelected: !1,
301
298
  isIndeterminate: !1
302
- }), d = C(
303
- () => n.value.flatMap((_) => {
304
- var b;
305
- return [_, ((b = _ == null ? void 0 : _.children) == null ? void 0 : b.length) > 0 ? _ == null ? void 0 : _.children : []];
299
+ }), r = C(
300
+ () => n.value.flatMap((v) => {
301
+ var S;
302
+ return [v, ((S = v == null ? void 0 : v.children) == null ? void 0 : S.length) > 0 ? v == null ? void 0 : v.children : []];
306
303
  }).flat()
307
304
  ), E = C(
308
305
  () => {
309
- var _, b;
310
- return ((_ = n.value) == null ? void 0 : _.length) > 0 && ((b = d.value) == null ? void 0 : b.filter((O) => !o(O)).every((O) => i.value.includes(e(O))));
306
+ var v, S;
307
+ return ((v = n.value) == null ? void 0 : v.length) > 0 && ((S = r.value) == null ? void 0 : S.filter((N) => !o(N)).every((N) => i.value.includes(e(N))));
311
308
  }
312
- ), u = C(() => {
313
- var _;
314
- return !(l != null && l.value) || ((_ = a == null ? void 0 : a.value) == null ? void 0 : _.totalCount) === void 0 ? !1 : i.value.length === a.value.totalCount;
315
- }), R = () => {
316
- t(x.SELECT, i.value), t(x.UPDATE_SELECTION, i.value);
317
- }, m = (_) => {
318
- var b, O, A;
319
- if (i.value = _, E.value) {
320
- f.allItemsSelected = !0;
321
- const r = ((b = n.value) == null ? void 0 : b.length) > 0 && n.value.every((p) => i.value.includes(e(p)));
322
- f.isIndeterminate = (l == null ? void 0 : l.value) && !u.value || !r;
309
+ ), h = C(() => {
310
+ var v;
311
+ return !(l != null && l.value) || ((v = a == null ? void 0 : a.value) == null ? void 0 : v.totalCount) === void 0 ? !1 : i.value.length === a.value.totalCount;
312
+ }), y = () => {
313
+ t(D.SELECT, i.value), t(D.UPDATE_SELECTION, i.value);
314
+ }, p = (v) => {
315
+ var S, N, T;
316
+ if (i.value = v, E.value) {
317
+ u.allItemsSelected = !0;
318
+ const g = ((S = n.value) == null ? void 0 : S.length) > 0 && n.value.every((_) => i.value.includes(e(_)));
319
+ u.isIndeterminate = (l == null ? void 0 : l.value) && !h.value || !g;
323
320
  } else
324
- f.allItemsSelected = !1, f.isIndeterminate = ((O = i.value) == null ? void 0 : O.length) > 0 && ((A = n.value) == null ? void 0 : A.length) > 0 && n.value.some(
325
- (r) => {
326
- var p;
327
- return i.value.includes(e(r)) || ((p = r == null ? void 0 : r.children) == null ? void 0 : p.some((T) => i.value.includes(e(T))));
321
+ u.allItemsSelected = !1, u.isIndeterminate = ((N = i.value) == null ? void 0 : N.length) > 0 && ((T = n.value) == null ? void 0 : T.length) > 0 && n.value.some(
322
+ (g) => {
323
+ var _;
324
+ return i.value.includes(e(g)) || ((_ = g == null ? void 0 : g.children) == null ? void 0 : _.some((L) => i.value.includes(e(L))));
328
325
  }
329
326
  );
330
- }, w = (_) => {
327
+ }, c = (v) => {
331
328
  se(() => {
332
- var b, O, A;
333
- if (f.allItemsSelected = _, _) {
334
- i.value = (O = (b = d.value) == null ? void 0 : b.filter(
335
- (p) => !o(p) && ((p == null ? void 0 : p.children) === void 0 || p.children.every((T) => !o(T)))
336
- )) == null ? void 0 : O.map((p) => e(p));
337
- const r = ((A = n.value) == null ? void 0 : A.length) > 0 && n.value.every((p) => i.value.includes(e(p)));
338
- f.isIndeterminate = (l == null ? void 0 : l.value) && !u.value || i.value.length > 0 && !r;
329
+ var S, N, T;
330
+ if (u.allItemsSelected = v, v) {
331
+ i.value = (N = (S = r.value) == null ? void 0 : S.filter(
332
+ (_) => !o(_) && ((_ == null ? void 0 : _.children) === void 0 || _.children.every((L) => !o(L)))
333
+ )) == null ? void 0 : N.map((_) => e(_));
334
+ const g = ((T = n.value) == null ? void 0 : T.length) > 0 && n.value.every((_) => i.value.includes(e(_)));
335
+ u.isIndeterminate = (l == null ? void 0 : l.value) && !h.value || i.value.length > 0 && !g;
339
336
  } else
340
- i.value = [], f.isIndeterminate = !1;
341
- R();
337
+ i.value = [], u.isIndeterminate = !1;
338
+ y();
342
339
  });
343
- }, N = () => {
340
+ }, O = () => {
344
341
  se(() => {
345
- m([]), R();
342
+ p([]), y();
346
343
  });
347
- }, g = (_, b) => {
344
+ }, f = (v, S) => {
348
345
  se(() => {
349
- var O;
350
- m(((O = b == null ? void 0 : b.children) == null ? void 0 : O.length) > 0 ? L(_, b) : _), R();
346
+ var N;
347
+ p(((N = S == null ? void 0 : S.children) == null ? void 0 : N.length) > 0 ? A(v, S) : v), y();
351
348
  });
352
- }, L = (_, b) => {
353
- var r;
354
- const O = e(b), A = (r = b.children) == null ? void 0 : r.filter((p) => !o(p)).map((p) => e(p));
355
- if (_.includes(O)) {
356
- const p = _;
357
- return A.forEach((T) => {
358
- p.includes(T) || p.push(T);
359
- }), p;
349
+ }, A = (v, S) => {
350
+ var g;
351
+ const N = e(S), T = (g = S.children) == null ? void 0 : g.filter((_) => !o(_)).map((_) => e(_));
352
+ if (v.includes(N)) {
353
+ const _ = v;
354
+ return T.forEach((L) => {
355
+ _.includes(L) || _.push(L);
356
+ }), _;
360
357
  }
361
- return _.filter((p) => !A.includes(p));
362
- }, h = (_, b, O) => {
358
+ return v.filter((_) => !T.includes(_));
359
+ }, w = (v, S, N) => {
363
360
  se(() => {
364
- var r, p;
365
- const A = e(b);
366
- _.includes(e(O)) ? m(
367
- !_.includes(A) && ((r = b == null ? void 0 : b.children) != null && r.every((T) => _.includes(e(T)))) ? [..._, A] : _
368
- ) : m(
369
- _.includes(A) && !((p = b == null ? void 0 : b.children) != null && p.every((T) => _.includes(e(T)))) ? _.filter((T) => T !== A) : _
370
- ), R();
361
+ var g, _;
362
+ const T = e(S);
363
+ v.includes(e(N)) ? p(
364
+ !v.includes(T) && ((g = S == null ? void 0 : S.children) != null && g.every((L) => v.includes(e(L)))) ? [...v, T] : v
365
+ ) : p(
366
+ v.includes(T) && !((_ = S == null ? void 0 : S.children) != null && _.every((L) => v.includes(e(L)))) ? v.filter((L) => L !== T) : v
367
+ ), y();
371
368
  });
372
369
  };
373
370
  return oe(
374
371
  () => s.value,
375
372
  () => {
376
- m(s.value ?? []);
373
+ p(s.value ?? []);
377
374
  },
378
375
  { immediate: !0 }
379
376
  ), oe(
380
377
  () => n.value,
381
378
  () => {
382
- const _ = n.value.filter((b) => i.value.includes(e(b))).flatMap(
383
- (b) => {
384
- var O;
385
- return ((O = b == null ? void 0 : b.children) == null ? void 0 : O.length) > 0 ? b.children.map((A) => e(A)).filter((A) => !i.value.includes(A)) : [];
379
+ const v = n.value.filter((S) => i.value.includes(e(S))).flatMap(
380
+ (S) => {
381
+ var N;
382
+ return ((N = S == null ? void 0 : S.children) == null ? void 0 : N.length) > 0 ? S.children.map((T) => e(T)).filter((T) => !i.value.includes(T)) : [];
386
383
  }
387
384
  );
388
- (_ == null ? void 0 : _.length) > 0 ? (m([...i.value, ..._]), R()) : m(i.value);
385
+ (v == null ? void 0 : v.length) > 0 ? (p([...i.value, ...v]), y()) : p(i.value);
389
386
  }
390
387
  ), {
391
- onAllRowSelect: w,
392
- onRowSelect: g,
393
- onNestedRowSelect: h,
394
- onDeselectAll: N,
395
- allItemsSelectedState: f,
388
+ onAllRowSelect: c,
389
+ onRowSelect: f,
390
+ onNestedRowSelect: w,
391
+ onDeselectAll: O,
392
+ allItemsSelectedState: u,
396
393
  selectedItems: i,
397
394
  isEveryItemSelected: E,
398
- isEveryItemAcrossPagesSelected: u
395
+ isEveryItemAcrossPagesSelected: h
399
396
  };
400
- }, ps = (s, t, n) => ({ isSorting: (a) => s.value.some((i) => i.field === a), getSortingDirection: (a) => {
397
+ }, Ss = (s, t, n) => ({ isSorting: (a) => s.value.some((i) => i.field === a), getSortingDirection: (a) => {
401
398
  var i;
402
- return (i = s.value.find((f) => f.field === a)) == null ? void 0 : i.direction;
399
+ return (i = s.value.find((u) => u.field === a)) == null ? void 0 : i.direction;
403
400
  }, sortByColumnField: (a) => {
404
- var d;
401
+ var r;
405
402
  if (!t.value.some((E) => E.field === a && E.sortable))
406
403
  return;
407
- const f = [{
404
+ const u = [{
408
405
  field: a,
409
- direction: ((d = s.value.find((E) => E.field === a)) == null ? void 0 : d.direction) === ve.ASCENDING ? ve.DESCENDING : ve.ASCENDING
406
+ direction: ((r = s.value.find((E) => E.field === a)) == null ? void 0 : r.direction) === ve.ASCENDING ? ve.DESCENDING : ve.ASCENDING
410
407
  }];
411
- n("sort", f);
408
+ n("sort", u);
412
409
  } });
413
410
  var te = ((s) => (s[s.ARROW_DOWN = le.ARROW_DOWN] = "ARROW_DOWN", s[s.ARROW_UP = le.ARROW_UP] = "ARROW_UP", s[s.ARROW_LEFT = le.ARROW_LEFT] = "ARROW_LEFT", s[s.ARROW_RIGHT = le.ARROW_RIGHT] = "ARROW_RIGHT", s[s.PAGE_UP = le.PAGE_UP] = "PAGE_UP", s[s.PAGE_DOWN = le.PAGE_DOWN] = "PAGE_DOWN", s[s.END = le.END] = "END", s[s.HOME = le.HOME] = "HOME", s))(te || {});
414
- const we = "b-row-actions-column", ws = (s, t, n, e, o, l) => {
415
- const a = C(() => l.value || e.value ? !0 : n.value.some((h) => h.infoIconTooltip || h.sortable)), i = C(() => {
416
- let h = n.value.filter(({ visible: _ }) => _ !== !1);
417
- return o.value && (h = [
418
- ...h,
411
+ const we = "b-row-actions-column", Rs = (s, t, n, e, o, l) => {
412
+ const a = C(() => l.value || e.value ? !0 : n.value.some((w) => w.infoIconTooltip || w.sortable)), i = C(() => {
413
+ let w = n.value.filter(({ visible: v }) => v !== !1);
414
+ return o.value && (w = [
415
+ ...w,
419
416
  { field: we, label: "" }
420
- ]), h;
421
- }), f = C(() => i.value.length), d = C(() => {
417
+ ]), w;
418
+ }), u = C(() => i.value.length), r = C(() => {
422
419
  if (!s.value)
423
420
  return [];
424
- const h = Object.keys(s.value)[0];
425
- if (!h || !s.value[h])
421
+ const w = Object.keys(s.value)[0];
422
+ if (!w || !s.value[w])
426
423
  return [];
427
- const _ = [];
424
+ const v = [];
428
425
  if (a.value)
429
- for (const O of i.value) {
430
- const A = t.value[O.field];
431
- _.push(A);
426
+ for (const N of i.value) {
427
+ const T = t.value[N.field];
428
+ v.push(T);
432
429
  }
433
- const b = s.value[h].length;
434
- for (let O = 0; O < b; O++)
435
- for (const A of i.value) {
436
- const r = s.value[A.field];
437
- r != null && r[O] && _.push(r[O]);
430
+ const S = s.value[w].length;
431
+ for (let N = 0; N < S; N++)
432
+ for (const T of i.value) {
433
+ const g = s.value[T.field];
434
+ g != null && g[N] && v.push(g[N]);
438
435
  }
439
- return _;
440
- }), E = (h) => Math.floor(h / f.value), u = (h, _, b) => {
441
- const O = d.value.length - 1, A = f.value - 1, r = E(h), p = h - f.value * r;
436
+ return v;
437
+ }), E = (w) => Math.floor(w / u.value), h = (w, v, S) => {
438
+ const N = r.value.length - 1, T = u.value - 1, g = E(w), _ = w - u.value * g;
442
439
  return {
443
- [te.PAGE_UP]: p + (a.value ? f.value : 0),
444
- [te.PAGE_DOWN]: O - A + p,
445
- [te.END]: b ? O : f.value * r + A,
446
- [te.HOME]: b ? a.value ? f.value : 0 : f.value * r
447
- }[_];
448
- }, R = (h, _) => {
449
- const b = E(h), A = {
450
- [te.ARROW_DOWN]: f.value,
451
- [te.ARROW_UP]: b === 0 && !a.value ? 0 : -f.value,
440
+ [te.PAGE_UP]: _ + (a.value ? u.value : 0),
441
+ [te.PAGE_DOWN]: N - T + _,
442
+ [te.END]: S ? N : u.value * g + T,
443
+ [te.HOME]: S ? a.value ? u.value : 0 : u.value * g
444
+ }[v];
445
+ }, y = (w, v) => {
446
+ const S = E(w), T = {
447
+ [te.ARROW_DOWN]: u.value,
448
+ [te.ARROW_UP]: S === 0 && !a.value ? 0 : -u.value,
452
449
  [te.ARROW_LEFT]: -1,
453
450
  [te.ARROW_RIGHT]: 1
454
- }[_], r = h + A;
455
- return r < 0 || r >= d.value.length ? h : r;
456
- }, m = (h) => [
451
+ }[v], g = w + T;
452
+ return g < 0 || g >= r.value.length ? w : g;
453
+ }, p = (w) => [
457
454
  te.PAGE_UP,
458
455
  te.PAGE_DOWN,
459
456
  te.END,
460
457
  te.HOME
461
- ].includes(h), w = (h, _, b) => {
462
- const O = d.value.indexOf(h);
463
- return m(_) ? u(O, _, b) : R(O, _);
464
- }, N = (h, _, b) => {
465
- if (!d.value.includes(h))
458
+ ].includes(w), c = (w, v, S) => {
459
+ const N = r.value.indexOf(w);
460
+ return p(v) ? h(N, v, S) : y(N, v);
461
+ }, O = (w, v, S) => {
462
+ if (!r.value.includes(w))
466
463
  return;
467
- const O = w(h, _, b);
468
- d.value[O].focus();
469
- }, g = (h) => h in te;
464
+ const N = c(w, v, S);
465
+ r.value[N].focus();
466
+ }, f = (w) => w in te;
470
467
  return {
471
- isNavigationKeyCode: g,
472
- focusOnNextGridcell: N,
473
- navigationInput: (h) => {
474
- const { ctrlKey: _, key: b, target: O } = h, A = b;
475
- let r = O;
476
- r.getAttribute("role") !== "menuitem" && (d.value.includes(r) || (r = O.closest('[role="gridcell"], [role="columnheader"]')), d.value.includes(r) && g(A) && N(r, A, _));
468
+ isNavigationKeyCode: f,
469
+ focusOnNextGridcell: O,
470
+ navigationInput: (w) => {
471
+ const { ctrlKey: v, key: S, target: N } = w, T = S;
472
+ let g = N;
473
+ g.getAttribute("role") !== "menuitem" && (r.value.includes(g) || (g = N.closest('[role="gridcell"], [role="columnheader"]')), r.value.includes(g) && f(T) && O(g, T, v));
477
474
  }
478
475
  };
479
- }, Ss = 90, bs = (s, t, n, e, o) => {
480
- const l = y(s), a = y(t), i = y(n), f = y(e), d = C(() => l.value !== "none"), E = C(() => l.value === "automatic"), u = () => {
481
- o(x.UPDATE_SHOW_MORE);
476
+ }, Es = 90, ys = (s, t, n, e, o) => {
477
+ const l = R(s), a = R(t), i = R(n), u = R(e), r = C(() => l.value !== "none"), E = C(() => l.value === "automatic"), h = () => {
478
+ o(D.UPDATE_SHOW_MORE);
482
479
  };
483
480
  return oe(
484
481
  () => a.value,
485
482
  () => {
486
- E.value && i.value.offsetHeight / a.value * 100 > Ss && !f.value && u();
483
+ E.value && i.value.offsetHeight / a.value * 100 > Es && !u.value && h();
487
484
  }
488
- ), { isLazyLoad: d, isInfiniteScroll: E, verticalScrollPosition: a, emitLazyLoadEvent: u };
489
- }, ys = (s, t, n) => {
490
- const e = y(s), o = y(t), l = Me({
485
+ ), { isLazyLoad: r, isInfiniteScroll: E, verticalScrollPosition: a, emitLazyLoadEvent: h };
486
+ }, Ls = (s, t, n) => {
487
+ const e = R(s), o = R(t), l = Be({
491
488
  dragging: null,
492
489
  dragToLeft: null,
493
490
  target: null
494
- }), a = (m, w = 0) => {
495
- const N = e.value.findIndex((h) => h.field === m.field), g = N + w;
496
- if (g < 0 || g > e.value.length - 1)
491
+ }), a = (p, c = 0) => {
492
+ const O = e.value.findIndex((w) => w.field === p.field), f = O + c;
493
+ if (f < 0 || f > e.value.length - 1)
497
494
  return;
498
- const L = [...e.value];
499
- L.splice(g, 0, L.splice(N, 1)[0]), n(x.COLUMNS, L), n(x.UPDATE_COLUMNS, L);
500
- }, i = (m, w) => {
501
- l.dragging = m, w.dataTransfer.setData("text", ""), w.dataTransfer.dropEffect = "move";
502
- }, f = (m, w) => {
503
- l.target = m;
504
- const N = w.currentTarget.getBoundingClientRect(), g = N.left + N.width / 2, L = w.clientX ?? 0;
505
- l.dragToLeft = L <= g;
506
- }, d = (m) => {
507
- var w, N;
508
- if (((w = l.dragging) == null ? void 0 : w.field) !== m.field) {
509
- const g = e.value.findIndex((A) => {
510
- var r;
511
- return A.field === ((r = l.dragging) == null ? void 0 : r.field);
512
- }), L = e.value.findIndex((A) => A.field === m.field), h = l.dragToLeft ? L : L + 1, _ = h > g ? h - 1 : h;
513
- let b = [...e.value];
514
- b.splice(
515
- _ === -1 ? 0 : _,
495
+ const A = [...e.value];
496
+ A.splice(f, 0, A.splice(O, 1)[0]), n(D.COLUMNS, A), n(D.UPDATE_COLUMNS, A);
497
+ }, i = (p, c) => {
498
+ l.dragging = p, c.dataTransfer.setData("text", ""), c.dataTransfer.dropEffect = "move";
499
+ }, u = (p, c) => {
500
+ l.target = p;
501
+ const O = c.currentTarget.getBoundingClientRect(), f = O.left + O.width / 2, A = c.clientX ?? 0;
502
+ l.dragToLeft = A <= f;
503
+ }, r = (p) => {
504
+ var c, O;
505
+ if (((c = l.dragging) == null ? void 0 : c.field) !== p.field) {
506
+ const f = e.value.findIndex((T) => {
507
+ var g;
508
+ return T.field === ((g = l.dragging) == null ? void 0 : g.field);
509
+ }), A = e.value.findIndex((T) => T.field === p.field), w = l.dragToLeft ? A : A + 1, v = w > f ? w - 1 : w;
510
+ let S = [...e.value];
511
+ S.splice(
512
+ v === -1 ? 0 : v,
516
513
  0,
517
- b.splice(g, 1)[0]
514
+ S.splice(f, 1)[0]
518
515
  );
519
- const O = e.value.findIndex((A) => !(A != null && A.frozen));
520
- ((N = l.dragging) == null ? void 0 : N.frozen) !== m.frozen && h !== O && (b = b.map(
521
- (A) => {
522
- var r;
523
- return ((r = l.dragging) == null ? void 0 : r.field) === A.field ? { ...A, frozen: !!(m != null && m.frozen) } : A;
516
+ const N = e.value.findIndex((T) => !(T != null && T.frozen));
517
+ ((O = l.dragging) == null ? void 0 : O.frozen) !== p.frozen && w !== N && (S = S.map(
518
+ (T) => {
519
+ var g;
520
+ return ((g = l.dragging) == null ? void 0 : g.field) === T.field ? { ...T, frozen: !!(p != null && p.frozen) } : T;
524
521
  }
525
- )), n(x.COLUMNS, b), n(x.UPDATE_COLUMNS, b);
522
+ )), n(D.COLUMNS, S), n(D.UPDATE_COLUMNS, S);
526
523
  }
527
524
  l.dragging = null, l.target = null;
528
525
  }, E = () => {
529
526
  l.dragging = null, l.dragToLeft = null, l.target = null;
530
- }, u = C(() => o.value ? {
531
- [G.COLUMN_DRAG_START]: (m, w) => i(m, w),
532
- [G.COLUMN_DRAG_ENTER]: (m, w) => f(m, w),
533
- [G.COLUMN_DROP]: (m) => d(m),
527
+ }, h = C(() => o.value ? {
528
+ [G.COLUMN_DRAG_START]: (p, c) => i(p, c),
529
+ [G.COLUMN_DRAG_ENTER]: (p, c) => u(p, c),
530
+ [G.COLUMN_DROP]: (p) => r(p),
534
531
  [G.COLUMN_DRAG_END]: () => E()
535
- } : {}), R = C(() => (m) => o.value ? {
536
- dragenter: (w) => {
537
- w.preventDefault(), f(m, w);
532
+ } : {}), y = C(() => (p) => o.value ? {
533
+ dragenter: (c) => {
534
+ c.preventDefault(), u(p, c);
538
535
  },
539
536
  drop: () => {
540
- d(m);
537
+ r(p);
541
538
  },
542
- dragover: (w) => {
543
- w.preventDefault();
539
+ dragover: (c) => {
540
+ c.preventDefault();
544
541
  }
545
542
  } : {});
546
543
  return {
547
544
  // Values
548
545
  draggingColumns: l,
549
546
  // Methods
550
- draggingEventsForColumns: u,
551
- draggingEventsForRowCell: R,
547
+ draggingEventsForColumns: h,
548
+ draggingEventsForRowCell: y,
552
549
  onMoveColumnByOffset: a
553
550
  };
554
- }, Es = (s, t) => {
555
- const n = y(s), e = C(
556
- () => [...n.value].sort((u, R) => u.frozen === R.frozen ? 0 : u.frozen ? -1 : 1)
557
- ), o = C(
558
- () => e.value.filter((u) => u.frozen && u.visible !== !1)
559
- ), l = C(
560
- () => e.value.filter((u) => !u.frozen && u.visible !== !1)
551
+ }, As = (s, t, n) => {
552
+ const e = R(s), o = R(t.value), l = C(
553
+ () => [...e.value].sort((c, O) => c.frozen === O.frozen ? 0 : c.frozen ? -1 : 1)
561
554
  ), a = C(
562
- () => [
563
- { columnSet: o.value, id: "frozen", isFrozenColumns: !0 },
564
- { columnSet: l.value, id: "unfrozen" }
565
- ].filter(({ columnSet: u }) => u.length)
555
+ () => l.value.filter((c) => c.frozen && c.visible !== !1)
566
556
  ), i = C(
567
- () => n.value.filter((u) => (u == null ? void 0 : u.visible) !== !1 && (u == null ? void 0 : u.field) !== ne).length === 1
568
- ), f = (u) => t(x.UPDATE_CONDENSED, u), d = (u) => {
569
- t(x.COLUMNS, u), t(x.UPDATE_COLUMNS, u);
557
+ () => l.value.filter((c) => !c.frozen && c.visible !== !1)
558
+ ), u = C(
559
+ () => [
560
+ { columnSet: a.value, id: "frozen", isFrozenColumns: !0 },
561
+ { columnSet: i.value, id: "unfrozen" }
562
+ ].filter(({ columnSet: c }) => c.length)
563
+ ), r = C(
564
+ () => e.value.filter((c) => (c == null ? void 0 : c.visible) !== !1 && (c == null ? void 0 : c.field) !== ne).length === 1
565
+ ), E = (c) => n(D.UPDATE_CONDENSED, c), h = (c) => {
566
+ o.value = c, n(D.UPDATE_ZEBRA_ROWS, c);
567
+ }, y = (c) => {
568
+ n(D.COLUMNS, c), n(D.UPDATE_COLUMNS, c);
569
+ }, p = (c) => {
570
+ const O = l.value.map(
571
+ (f) => (f == null ? void 0 : f.field) === c.field ? c : f
572
+ );
573
+ y(O);
570
574
  };
571
- return {
575
+ return oe(t, (c) => {
576
+ o.value = c;
577
+ }), {
572
578
  // Values
573
- columnSets: a,
574
- isOnlyOneVisibleColumn: i,
575
- sortedColumns: e,
579
+ columnSets: u,
580
+ isOnlyOneVisibleColumn: r,
581
+ internalZebraRows: o,
582
+ sortedColumns: l,
576
583
  // Methods
577
- onConfigSettingsUpdate: f,
578
- onConfigSettingsColumnsUpdate: d,
579
- onConfigSettingsColumnUpdate: (u) => {
580
- const R = e.value.map(
581
- (m) => (m == null ? void 0 : m.field) === u.field ? u : m
582
- );
583
- d(R);
584
- }
584
+ onConfigSettingsColumnsUpdate: y,
585
+ onConfigSettingsColumnUpdate: p,
586
+ onConfigSettingsCondensedUpdate: E,
587
+ onConfigSettingsZebraRowsUpdate: h
585
588
  };
586
- }, Rs = (s, t, n, e, o, l, a) => {
587
- const i = y(0), f = y(!1), d = y(!1);
588
- oe([() => i.value, () => l.value], ([w]) => {
589
- s.value.scrollLeft = w, t.value.scrollLeft = w, f.value = !!w, d.value = t.value.scrollWidth - t.value.offsetWidth > w;
590
- }), Se(async () => {
591
- var w, N;
592
- await se(), ((w = t.value) == null ? void 0 : w.offsetWidth) < ((N = t.value) == null ? void 0 : N.scrollWidth) && (d.value = !0);
589
+ }, Os = (s, t, n, e, o, l, a) => {
590
+ const i = R(0), u = R(!1), r = R(!1);
591
+ oe([() => i.value, () => l.value], ([c]) => {
592
+ s.value.scrollLeft = c, t.value.scrollLeft = c, u.value = !!c, r.value = t.value.scrollWidth - t.value.offsetWidth > c;
593
+ }), be(async () => {
594
+ var c, O;
595
+ await se(), ((c = t.value) == null ? void 0 : c.offsetWidth) < ((O = t.value) == null ? void 0 : O.scrollWidth) && (r.value = !0);
593
596
  });
594
- const E = (w) => {
595
- if (i.value = w.target.scrollLeft, n.value = s.value.scrollHeight - w.target.scrollTop, e != null && e.value) {
596
- const N = w.target.scrollLeft;
597
- e.value.scrollLeft !== N && (e.value.scrollLeft = N);
597
+ const E = (c) => {
598
+ if (i.value = c.target.scrollLeft, n.value = s.value.scrollHeight - c.target.scrollTop, e != null && e.value) {
599
+ const O = c.target.scrollLeft;
600
+ e.value.scrollLeft !== O && (e.value.scrollLeft = O);
598
601
  }
599
- }, u = (w) => {
600
- w.key === "Tab" || w.key !== "ArrowRight" && w.key !== "ArrowLeft" || (w.preventDefault(), s.value.scrollLeft = 0, s.value.style.overflowX = "hidden", setTimeout(() => {
602
+ }, h = (c) => {
603
+ c.key === "Tab" || c.key !== "ArrowRight" && c.key !== "ArrowLeft" || (c.preventDefault(), s.value.scrollLeft = 0, s.value.style.overflowX = "hidden", setTimeout(() => {
601
604
  s.value && (s.value.style.overflowX = "auto");
602
605
  }));
603
- }, R = (w) => {
604
- const N = w.target.scrollLeft;
605
- s.value.scrollLeft !== N && (s.value.scrollLeft = N);
606
- }, m = C(() => {
607
- var w, N, g, L;
608
- return (w = a == null ? void 0 : a.pagination) != null && w.value && ((N = a == null ? void 0 : a.stickyPagination) != null && N.value || a != null && a.isDataGridTemplate) && !((g = a == null ? void 0 : a.isLazyLoad) != null && g.value) ? { bottom: `${(((L = o.value) == null ? void 0 : L.clientHeight) ?? 0) + 1}px` } : {};
606
+ }, y = (c) => {
607
+ const O = c.target.scrollLeft;
608
+ s.value.scrollLeft !== O && (s.value.scrollLeft = O);
609
+ }, p = C(() => {
610
+ var c, O, f, A;
611
+ return (c = a == null ? void 0 : a.pagination) != null && c.value && ((O = a == null ? void 0 : a.stickyPagination) != null && O.value || a != null && a.isDataGridTemplate) && !((f = a == null ? void 0 : a.isLazyLoad) != null && f.value) ? { bottom: `${(((A = o.value) == null ? void 0 : A.clientHeight) ?? 0) + 1}px` } : {};
609
612
  });
610
613
  return {
611
614
  // Values
612
615
  scrollLeftPosition: i,
613
- hasLeftOverflow: f,
614
- hasRightOverflow: d,
615
- horizontalScrollbarConditionalStyles: m,
616
+ hasLeftOverflow: u,
617
+ hasRightOverflow: r,
618
+ horizontalScrollbarConditionalStyles: p,
616
619
  // Methods
617
620
  updateScrollPosition: E,
618
- updateScrollPositionOnFrozenColumnsNavigation: u,
619
- syncVirtualScrollerWithBody: R
621
+ updateScrollPositionOnFrozenColumnsNavigation: h,
622
+ syncVirtualScrollerWithBody: y
620
623
  };
621
- }, Ls = (s, t, n, e) => {
622
- const o = y(null), l = C(() => {
623
- var N, g, L, h;
624
+ }, Ts = (s, t, n, e) => {
625
+ const o = R(null), l = C(() => {
626
+ var O, f, A, w;
624
627
  if (!o.value || o.value.field === ne)
625
628
  return {
626
629
  hoveredOverColumnField: "",
@@ -628,12 +631,12 @@ const we = "b-row-actions-column", ws = (s, t, n, e, o, l) => {
628
631
  noBorderLeft: !1,
629
632
  noBorderRight: !1
630
633
  };
631
- const a = (g = (N = s.value.find((_) => _.isFrozenColumns)) == null ? void 0 : N.columnSet) == null ? void 0 : g.filter((_) => _.field !== ne), i = s.value.find((_) => !(_ != null && _.isFrozenColumns)), f = o.value.frozen && (a == null ? void 0 : a[0].field) === o.value.field, d = !o.value.frozen && ((L = i == null ? void 0 : i.columnSet) == null ? void 0 : L[0].field) === o.value.field, E = (t.value || n.value) && f, u = (t.value || n.value) && !a && d, R = a && d, m = (a == null ? void 0 : a.length) > 0 && o.value.frozen && (a == null ? void 0 : a[a.length - 1].field) === o.value.field, w = n.value && e.value && !o.value.frozen && ((h = i == null ? void 0 : i.columnSet) == null ? void 0 : h[i.columnSet.length - 1].field) === o.value.field;
634
+ const a = (f = (O = s.value.find((v) => v.isFrozenColumns)) == null ? void 0 : O.columnSet) == null ? void 0 : f.filter((v) => v.field !== ne), i = s.value.find((v) => !(v != null && v.isFrozenColumns)), u = o.value.frozen && (a == null ? void 0 : a[0].field) === o.value.field, r = !o.value.frozen && ((A = i == null ? void 0 : i.columnSet) == null ? void 0 : A[0].field) === o.value.field, E = (t.value || n.value) && u, h = (t.value || n.value) && !a && r, y = a && r, p = (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 && ((w = i == null ? void 0 : i.columnSet) == null ? void 0 : w[i.columnSet.length - 1].field) === o.value.field;
632
635
  return {
633
636
  hoveredOverColumnField: o.value.field,
634
- isSeparatorOffset: w,
635
- noBorderLeft: !!E || !!u || !!R,
636
- noBorderRight: !!m || !!w
637
+ isSeparatorOffset: c,
638
+ noBorderLeft: !!E || !!h || !!y,
639
+ noBorderRight: !!p || !!c
637
640
  };
638
641
  });
639
642
  return {
@@ -641,21 +644,21 @@ const we = "b-row-actions-column", ws = (s, t, n, e, o, l) => {
641
644
  hoveredOverColumnState: l
642
645
  };
643
646
  }, We = (s) => {
644
- const n = Et(s).filter((e) => e.node !== s);
647
+ const n = Rt(s).filter((e) => e.node !== s);
645
648
  return (n == null ? void 0 : n.length) > 0 ? (n[0].node.focus(), !0) : !1;
646
649
  }, _e = (s) => {
647
- const t = Et(s), n = t == null ? void 0 : t.filter((e) => e.node !== s);
650
+ const t = Rt(s), n = t == null ? void 0 : t.filter((e) => e.node !== s);
648
651
  if ((n == null ? void 0 : n.length) > 0)
649
652
  return n.forEach((e) => e.node.setAttribute("tabindex", "-1")), n;
650
- }, At = (s) => {
653
+ }, Tt = (s) => {
651
654
  (s == null ? void 0 : s.length) > 0 && s.forEach((t) => t == null ? void 0 : t.node.setAttribute("tabindex", "0"));
652
- }, As = () => {
655
+ }, Ns = () => {
653
656
  const s = window.getSelection().getRangeAt(0).cloneContents(), t = s.querySelectorAll('[role="row"]');
654
657
  let n = "<table>", e = "";
655
658
  const o = (l) => {
656
659
  l.forEach((a) => {
657
- const i = a.closest("[role]").getAttribute("role") === "gridcell" ? "td" : "th", f = a.textContent.trim();
658
- f && (n += `<${i}>${f}</${i}>`, e += `${f} `);
660
+ const i = a.closest("[role]").getAttribute("role") === "gridcell" ? "td" : "th", u = a.textContent.trim();
661
+ u && (n += `<${i}>${u}</${i}>`, e += `${u} `);
659
662
  });
660
663
  };
661
664
  if (!t.length) {
@@ -688,114 +691,114 @@ const we = "b-row-actions-column", ws = (s, t, n, e, o, l) => {
688
691
  })
689
692
  ]);
690
693
  };
691
- let it = 0;
692
- const Ts = {
694
+ let dt = 0;
695
+ const Is = {
693
696
  beforeCreate() {
694
- this.uuid = it.toString(), it += 1;
697
+ this.uuid = dt.toString(), dt += 1;
695
698
  }
696
699
  };
697
- var Os = function() {
700
+ var Ds = function() {
698
701
  var t = this, n = t._self._c;
699
702
  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: "#001222", "clip-path": "url(#uia-ui-assets/icons-16-arrow_up_down_sort__a" + t.uuid + ")" } }, [n("path", { attrs: { d: "M9.06077 4.00011L5.00011 -0.0605469L0.939453 4.00011L2.00011 5.06077L4.25 2.81089V10.75H5.75V2.81066L8.00011 5.06077L9.06077 4.00011Z" } }), n("path", { attrs: { d: "M10.25 13.1893L8.00011 10.9395L6.93945 12.0001L11.0001 16.0608L15.0608 12.0001L14.0001 10.9395L11.75 13.1896V5.25H10.25V13.1893Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-ui-assets/icons-16-arrow_up_down_sort__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
700
- }, Is = [], Ns = /* @__PURE__ */ V(
701
- Ts,
702
- Os,
703
+ }, xs = [], Fs = /* @__PURE__ */ H(
703
704
  Is,
705
+ Ds,
706
+ xs,
704
707
  !1,
705
708
  null,
706
709
  null
707
710
  );
708
- const Ds = Ns.exports;
709
- let rt = 0;
710
- const xs = {
711
+ const Bs = Fs.exports;
712
+ let ct = 0;
713
+ const Ms = {
711
714
  beforeCreate() {
712
- this.uuid = rt.toString(), rt += 1;
715
+ this.uuid = ct.toString(), ct += 1;
713
716
  }
714
717
  };
715
- var Fs = function() {
718
+ var Us = function() {
716
719
  var t = this, n = t._self._c;
717
720
  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: "#001222", 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" } })]);
718
- }, Ms = [], Bs = /* @__PURE__ */ V(
719
- xs,
720
- Fs,
721
+ }, zs = [], $s = /* @__PURE__ */ H(
721
722
  Ms,
723
+ Us,
724
+ zs,
722
725
  !1,
723
726
  null,
724
727
  null
725
728
  );
726
- const $s = Bs.exports;
727
- let dt = 0;
728
- const Us = {
729
+ const Ps = $s.exports;
730
+ let ut = 0;
731
+ const ks = {
729
732
  beforeCreate() {
730
- this.uuid = dt.toString(), dt += 1;
733
+ this.uuid = ut.toString(), ut += 1;
731
734
  }
732
735
  };
733
- var zs = function() {
736
+ var Ws = function() {
734
737
  var t = this, n = t._self._c;
735
738
  return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { "clip-path": "url(#uia-ui-assets/icons-16-freeze__a" + t.uuid + ")" } }, [n("path", { attrs: { fill: "#001222", d: "M7.99989 14.0605L9.49989 15.5605L10.5605 14.4999L8.75 12.6893V10.9334L10.169 10.116L11.6861 10.9939L12.3501 13.4688L13.7988 13.0801L13.2488 11.0301L15.2988 10.4801L14.9101 9.03129L12.4363 9.695L10.9199 8.81745V7.18276L12.4365 6.3051L14.9101 6.96875L15.2988 5.51999L13.2488 4.96999L13.7988 2.91999L12.3501 2.53129L11.686 5.00635L10.1693 5.88407L8.75 5.06648L8.75 3.31043L10.5605 1.49989L9.49989 0.439226L7.99989 1.93923L6.49989 0.439226L5.43923 1.49989L7.25 3.31066V5.06639L5.83078 5.88392L4.31419 5.00626L3.65018 2.53129L2.20141 2.91998L2.384 3.60052L2.38063 3.60143L2.75032 4.97028L0.701408 5.51999L1.0901 6.96875L1.7708 6.78612L1.77173 6.78955L3.56437 6.30541L5.07992 7.18246L5.07992 8.81775L3.564 9.69502L1.0901 9.03129L0.701408 10.4801L2.75141 11.0301L2.20141 13.0801L3.65018 13.4687L4.31414 10.994L5.83106 10.1161L7.25 10.9335V12.6891L5.43923 14.4999L6.49989 15.5605L7.99989 14.0605ZM9.41992 7.18345V8.81644L7.99992 9.63441L6.57992 8.81644L6.57992 7.18345L7.99992 6.36548L9.41992 7.18345Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-ui-assets/icons-16-freeze__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff", transform: "matrix(1 0 0 -1 0 16)" } })])])]);
736
- }, Ps = [], ks = /* @__PURE__ */ V(
737
- Us,
738
- zs,
739
- Ps,
739
+ }, Gs = [], Hs = /* @__PURE__ */ H(
740
+ ks,
741
+ Ws,
742
+ Gs,
740
743
  !1,
741
744
  null,
742
745
  null
743
746
  );
744
- const Tt = ks.exports;
745
- let ct = 0;
746
- const Ws = {
747
+ const Nt = Hs.exports;
748
+ let ft = 0;
749
+ const Vs = {
747
750
  beforeCreate() {
748
- this.uuid = ct.toString(), ct += 1;
751
+ this.uuid = ft.toString(), ft += 1;
749
752
  }
750
753
  };
751
- var Gs = function() {
754
+ var Zs = function() {
752
755
  var t = this, n = t._self._c;
753
756
  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: "#001222", "clip-path": "url(#uia-ui-assets/icons-16-sort_ascending__a" + t.uuid + ")" } }, [n("path", { attrs: { d: "M12.0001 1.93945L16.0608 6.00011L15.0001 7.06077L12.75 4.81066V12.75H11.25V4.81089L9.00011 7.06077L7.93945 6.00011L12.0001 1.93945Z" } }), n("path", { attrs: { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" } }), n("path", { attrs: { d: "M1.25 11.25H8.75V12.75H1.25V11.25Z" } }), n("path", { attrs: { d: "M6.75 3.25H1.25V4.75H6.75V3.25Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-ui-assets/icons-16-sort_ascending__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
754
- }, Hs = [], Vs = /* @__PURE__ */ V(
755
- Ws,
756
- Gs,
757
- Hs,
757
+ }, js = [], qs = /* @__PURE__ */ H(
758
+ Vs,
759
+ Zs,
760
+ js,
758
761
  !1,
759
762
  null,
760
763
  null
761
764
  );
762
- const Zs = Vs.exports;
763
- let ut = 0;
764
- const js = {
765
+ const Ys = qs.exports;
766
+ let gt = 0;
767
+ const Ks = {
765
768
  beforeCreate() {
766
- this.uuid = ut.toString(), ut += 1;
769
+ this.uuid = gt.toString(), gt += 1;
767
770
  }
768
771
  };
769
- var qs = function() {
772
+ var Xs = function() {
770
773
  var t = this, n = t._self._c;
771
774
  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: "#001222", "clip-path": "url(#uia-ui-assets/icons-16-sort_descending__a" + t.uuid + ")" } }, [n("path", { attrs: { d: "M12.75 3.25V11.1896L15.0001 8.93945L16.0608 10.0001L12.0001 14.0608L7.93945 10.0001L9.00011 8.93945L11.25 11.1893V3.25H12.75Z" } }), n("path", { attrs: { d: "M6.75 7.25H1.25V8.75H6.75V7.25Z" } }), n("path", { attrs: { d: "M1.25 3.25H9.09V4.75H1.25V3.25Z" } }), n("path", { attrs: { d: "M6.75 11.25H1.25V12.75H6.75V11.25Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-ui-assets/icons-16-sort_descending__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
772
- }, Ys = [], Ks = /* @__PURE__ */ V(
773
- js,
774
- qs,
775
- Ys,
775
+ }, Js = [], Qs = /* @__PURE__ */ H(
776
+ Ks,
777
+ Xs,
778
+ Js,
776
779
  !1,
777
780
  null,
778
781
  null
779
782
  );
780
- const Xs = Ks.exports;
781
- let ft = 0;
782
- const Js = {
783
+ const eo = Qs.exports;
784
+ let _t = 0;
785
+ const to = {
783
786
  beforeCreate() {
784
- this.uuid = ft.toString(), ft += 1;
787
+ this.uuid = _t.toString(), _t += 1;
785
788
  }
786
789
  };
787
- var Qs = function() {
790
+ var no = function() {
788
791
  var t = this, n = t._self._c;
789
792
  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: "#001222", d: "M8 11.25L12.5 5.25H3.5L8 11.25Z" } })]);
790
- }, eo = [], to = /* @__PURE__ */ V(
791
- Js,
792
- Qs,
793
- eo,
793
+ }, so = [], oo = /* @__PURE__ */ H(
794
+ to,
795
+ no,
796
+ so,
794
797
  !1,
795
798
  null,
796
799
  null
797
800
  );
798
- const no = to.exports, so = {
801
+ const lo = oo.exports, ao = {
799
802
  "en-US": {
800
803
  columnActions: "{name} column actions",
801
804
  deselectAll: "Deselect all",
@@ -830,11 +833,11 @@ const no = to.exports, so = {
830
833
  selectAll: "Selecionar tudo",
831
834
  unfreezeColumn: "Descongelar coluna"
832
835
  }
833
- }, oo = {
834
- i18n: { messages: so },
836
+ }, io = {
837
+ i18n: { messages: ao },
835
838
  name: "data-grid-columns"
836
- }, lo = /* @__PURE__ */ ie({
837
- ...oo,
839
+ }, ro = /* @__PURE__ */ de({
840
+ ...io,
838
841
  props: {
839
842
  /**
840
843
  * Column definitions using 'key' to relate to data object.
@@ -974,11 +977,11 @@ const no = to.exports, so = {
974
977
  },
975
978
  emits: ["sort", "column-hover"],
976
979
  setup(s, { expose: t, emit: n }) {
977
- const e = s, o = 100, { t: l } = ue(), { columns: a, sortBy: i } = Be(e), f = y({}), d = y({}), E = y(), u = y(), R = (c) => n(G.SELECT_ALL_ROWS, c), m = (c) => c.field === ne, w = C(
980
+ const e = s, o = 100, { t: l } = ce(), { columns: a, sortBy: i } = Me(e), u = R({}), r = R({}), E = R(), h = R(), y = (d) => n(G.SELECT_ALL_ROWS, d), p = (d) => d.field === ne, c = C(
978
981
  () => [
979
982
  e.selectionState !== "page" && {
980
983
  text: l("selectPage"),
981
- handler: () => R(!0)
984
+ handler: () => y(!0)
982
985
  },
983
986
  {
984
987
  text: l("selectAll"),
@@ -989,139 +992,139 @@ const no = to.exports, so = {
989
992
  handler: () => n(G.DESELECT_ALL)
990
993
  }
991
994
  ].filter(Boolean)
992
- ), { startResize: N, isResizing: g, columnHoverEventToEmitAfterResizing: L } = as(a, n), { isSorting: h, getSortingDirection: _, sortByColumnField: b } = ps(i, a, n), O = (c) => {
993
- var Q;
994
- if (!c.sortable)
995
+ ), { startResize: O, isResizing: f, columnHoverEventToEmitAfterResizing: A } = ds(a, n), { isSorting: w, getSortingDirection: v, sortByColumnField: S } = Ss(i, a, n), N = (d) => {
996
+ var K;
997
+ if (!d.sortable)
995
998
  return null;
996
- const $ = (Q = e.sortBy.find(({ field: ae }) => ae === c.field)) == null ? void 0 : Q.direction;
997
- return $ ? {
998
- [ve.ASCENDING]: ye.ASCENDING,
999
- [ve.DESCENDING]: ye.DESCENDING
1000
- }[$] : ye.NONE;
1001
- }, A = C(() => (c) => e.hasDraggableColumns ? {
1002
- dragstart: ($) => {
1003
- n(G.COLUMN_DRAG_START, c, $);
999
+ const U = (K = e.sortBy.find(({ field: ae }) => ae === d.field)) == null ? void 0 : K.direction;
1000
+ return U ? {
1001
+ [ve.ASCENDING]: Re.ASCENDING,
1002
+ [ve.DESCENDING]: Re.DESCENDING
1003
+ }[U] : Re.NONE;
1004
+ }, T = C(() => (d) => e.hasDraggableColumns ? {
1005
+ dragstart: (U) => {
1006
+ n(G.COLUMN_DRAG_START, d, U);
1004
1007
  },
1005
- dragover: ($) => {
1006
- $.preventDefault();
1008
+ dragover: (U) => {
1009
+ U.preventDefault();
1007
1010
  },
1008
- dragenter: ($) => {
1009
- $.preventDefault(), n(G.COLUMN_DRAG_ENTER, c, $);
1011
+ dragenter: (U) => {
1012
+ U.preventDefault(), n(G.COLUMN_DRAG_ENTER, d, U);
1010
1013
  },
1011
1014
  drop: () => {
1012
- n(G.COLUMN_DROP, c);
1015
+ n(G.COLUMN_DROP, d);
1013
1016
  },
1014
1017
  dragend: () => {
1015
1018
  n(G.COLUMN_DRAG_END);
1016
1019
  }
1017
- } : {}), r = C(() => (c) => [
1020
+ } : {}), g = C(() => (d) => [
1018
1021
  {
1019
1022
  text: l("moveColumnLeft"),
1020
- handler: () => n(G.COLUMN_MOVE, c, -1),
1021
- icon: Jn,
1022
- disabled: e.columns[0].field === c.field
1023
+ handler: () => n(G.COLUMN_MOVE, d, -1),
1024
+ icon: ns,
1025
+ disabled: e.columns[0].field === d.field
1023
1026
  },
1024
1027
  {
1025
1028
  text: l("moveColumnRight"),
1026
- handler: () => n(G.COLUMN_MOVE, c, 1),
1027
- icon: $s,
1028
- disabled: e.columns[e.columns.length - 1].field === c.field
1029
+ handler: () => n(G.COLUMN_MOVE, d, 1),
1030
+ icon: Ps,
1031
+ disabled: e.columns[e.columns.length - 1].field === d.field
1029
1032
  },
1030
1033
  {
1031
- text: c != null && c.frozen ? l("unfreezeColumn") : l("freezeColumn"),
1032
- handler: () => n(G.COLUMN_UPDATE, { ...c, frozen: !(c != null && c.frozen) }),
1033
- icon: Tt
1034
+ text: d != null && d.frozen ? l("unfreezeColumn") : l("freezeColumn"),
1035
+ handler: () => n(G.COLUMN_UPDATE, { ...d, frozen: !(d != null && d.frozen) }),
1036
+ icon: Nt
1034
1037
  },
1035
1038
  {
1036
- text: (c == null ? void 0 : c.visible) !== !1 ? l("hideColumn") : l("showColumn"),
1039
+ text: (d == null ? void 0 : d.visible) !== !1 ? l("hideColumn") : l("showColumn"),
1037
1040
  handler: () => {
1038
1041
  n(G.COLUMN_UPDATE, {
1039
- ...c,
1040
- visible: (c == null ? void 0 : c.visible) === !1
1042
+ ...d,
1043
+ visible: (d == null ? void 0 : d.visible) === !1
1041
1044
  });
1042
1045
  },
1043
- icon: (c == null ? void 0 : c.visible) !== !1 ? Qn : es,
1044
- disabled: (c == null ? void 0 : c.mandatory) || (c == null ? void 0 : c.visible) !== !1 && e.isOnlyOneVisibleColumn
1046
+ icon: (d == null ? void 0 : d.visible) !== !1 ? ss : os,
1047
+ disabled: (d == null ? void 0 : d.mandatory) || (d == null ? void 0 : d.visible) !== !1 && e.isOnlyOneVisibleColumn
1045
1048
  }
1046
- ]), p = (c) => {
1047
- E.value = c.field, u.value && clearTimeout(u.value);
1048
- }, T = () => {
1049
- const c = setTimeout(() => {
1049
+ ]), _ = (d) => {
1050
+ E.value = d.field, h.value && clearTimeout(h.value);
1051
+ }, L = () => {
1052
+ const d = setTimeout(() => {
1050
1053
  E.value = "";
1051
1054
  }, o);
1052
- u.value = c;
1053
- }, W = (c) => {
1054
- let $ = {
1055
+ h.value = d;
1056
+ }, z = (d) => {
1057
+ let U = {
1055
1058
  mouseenter: () => {
1056
- p(c), g.value ? L.value = c : n("column-hover", c);
1059
+ _(d), f.value ? A.value = d : n("column-hover", d);
1057
1060
  },
1058
1061
  mouseleave: () => {
1059
- T(), g.value ? L.value = null : n("column-hover", null);
1062
+ L(), f.value ? A.value = null : n("column-hover", null);
1060
1063
  },
1061
1064
  focus: () => {
1062
- p(c), m(c) && We(f.value[c.field]);
1065
+ _(d), p(d) && We(u.value[d.field]);
1063
1066
  },
1064
- focusout: (H) => {
1065
- var Q, ae;
1066
- (ae = (Q = f.value) == null ? void 0 : Q[c.field]) != null && ae.contains(H == null ? void 0 : H.relatedTarget) || T();
1067
+ focusout: (Y) => {
1068
+ var K, ae;
1069
+ (ae = (K = u.value) == null ? void 0 : K[d.field]) != null && ae.contains(Y == null ? void 0 : Y.relatedTarget) || L();
1067
1070
  }
1068
1071
  };
1069
- return m(c) || ($ = {
1070
- ...$,
1071
- ...A.value(c)
1072
- }), $;
1073
- }, Z = (c) => c.infoIconTooltip || c.sortable || e.hasColumnPanel, k = (c, $) => {
1074
- var H;
1075
- ((H = f.value) == null ? void 0 : H[$]) === void 0 && (f.value = { ...f.value, [$]: null }), c !== null && (f.value[$] = c);
1076
- }, X = C(() => {
1077
- var $;
1078
- const c = {
1072
+ return p(d) || (U = {
1073
+ ...U,
1074
+ ...T.value(d)
1075
+ }), U;
1076
+ }, V = (d) => d.infoIconTooltip || d.sortable || e.hasColumnPanel, W = (d, U) => {
1077
+ var Y;
1078
+ ((Y = u.value) == null ? void 0 : Y[U]) === void 0 && (u.value = { ...u.value, [U]: null }), d !== null && (u.value[U] = d);
1079
+ }, J = C(() => {
1080
+ var U;
1081
+ const d = {
1079
1082
  "b-data-grid-columns--is-measuring": e.isMeasuringColumnWidths
1080
1083
  };
1081
- return ($ = a.value[0]) != null && $.frozen ? {
1082
- ...c,
1084
+ return (U = a.value[0]) != null && U.frozen ? {
1085
+ ...d,
1083
1086
  "b-data-grid-columns--frozen": !0,
1084
1087
  "b-data-grid-columns--frozen-separator": e.showFrozenColumnsSeparator,
1085
1088
  "b-data-grid-columns--overflow-shadow-left": e.hasLeftOverflow
1086
1089
  } : {
1087
- ...c,
1090
+ ...d,
1088
1091
  "b-data-grid-columns--unfrozen": !0
1089
1092
  };
1090
- }), Y = C(() => ({
1093
+ }), Z = C(() => ({
1091
1094
  "b-data-grid-columns__select-column--all": e.selectableAcrossPages
1092
- })), j = (c, $) => c && $ === 0 ? tt.BOTTOM_START : tt.BOTTOM_END, K = (c, $) => {
1093
- var H, Q, ae, me, fe, S, F, z, U, ee;
1095
+ })), Q = (d, U) => d && U === 0 ? st.BOTTOM_START : st.BOTTOM_END, j = (d, U) => {
1096
+ var Y, K, ae, me, Ce, b, B, P, X, $;
1094
1097
  return {
1095
- "b-data-grid-columns__column--column-hovered": c.field === e.hoveredOverColumnState.hoveredOverColumnField,
1096
- "b-data-grid-columns__column--column-hovered-no-border-left": c.field === e.hoveredOverColumnState.hoveredOverColumnField && e.hoveredOverColumnState.noBorderLeft,
1097
- "b-data-grid-columns__column--column-hovered-no-border-right": c.field === e.hoveredOverColumnState.hoveredOverColumnField && e.hoveredOverColumnState.noBorderRight,
1098
- "b-data-grid-columns__column--last-frozen-frozen-column": e.isFrozenColumns && $ === a.value.length - 1,
1099
- "b-data-grid-columns__column--sortable": c.sortable,
1100
- "b-data-grid-columns__column--padding-left-unset": ((H = c == null ? void 0 : c.padding) == null ? void 0 : H.left) === !1,
1101
- "b-data-grid-columns__column--padding-right-unset": ((Q = c == null ? void 0 : c.padding) == null ? void 0 : Q.right) === !1,
1102
- "b-data-grid-columns__column--numeric": c == null ? void 0 : c.numeric,
1103
- "b-data-grid-columns__column--frozen": c == null ? void 0 : c.frozen,
1104
- "b-data-grid-columns__column--is-re-ordering": (c == null ? void 0 : c.field) === ((me = (ae = e.draggingColumns) == null ? void 0 : ae.dragging) == null ? void 0 : me.field),
1105
- "b-data-grid-columns__column--is-re-ordering-target-left": (c == null ? void 0 : c.field) === ((S = (fe = e.draggingColumns) == null ? void 0 : fe.target) == null ? void 0 : S.field) && ((F = e.draggingColumns) == null ? void 0 : F.dragToLeft),
1106
- "b-data-grid-columns__column--is-re-ordering-target-right": (c == null ? void 0 : c.field) === ((U = (z = e.draggingColumns) == null ? void 0 : z.target) == null ? void 0 : U.field) && !((ee = e.draggingColumns) != null && ee.dragToLeft),
1107
- "b-data-grid-columns__column--with-sorting-or-column-panel": c.sortable || c.infoIconTooltip || e.hasColumnPanel && E.value === c.field || e.selectableAcrossPages
1098
+ "b-data-grid-columns__column--column-hovered": d.field === e.hoveredOverColumnState.hoveredOverColumnField,
1099
+ "b-data-grid-columns__column--column-hovered-no-border-left": d.field === e.hoveredOverColumnState.hoveredOverColumnField && e.hoveredOverColumnState.noBorderLeft,
1100
+ "b-data-grid-columns__column--column-hovered-no-border-right": d.field === e.hoveredOverColumnState.hoveredOverColumnField && e.hoveredOverColumnState.noBorderRight,
1101
+ "b-data-grid-columns__column--last-frozen-frozen-column": e.isFrozenColumns && U === a.value.length - 1,
1102
+ "b-data-grid-columns__column--sortable": d.sortable,
1103
+ "b-data-grid-columns__column--padding-left-unset": ((Y = d == null ? void 0 : d.padding) == null ? void 0 : Y.left) === !1,
1104
+ "b-data-grid-columns__column--padding-right-unset": ((K = d == null ? void 0 : d.padding) == null ? void 0 : K.right) === !1,
1105
+ "b-data-grid-columns__column--numeric": d == null ? void 0 : d.numeric,
1106
+ "b-data-grid-columns__column--frozen": d == null ? void 0 : d.frozen,
1107
+ "b-data-grid-columns__column--is-re-ordering": (d == null ? void 0 : d.field) === ((me = (ae = e.draggingColumns) == null ? void 0 : ae.dragging) == null ? void 0 : me.field),
1108
+ "b-data-grid-columns__column--is-re-ordering-target-left": (d == null ? void 0 : d.field) === ((b = (Ce = e.draggingColumns) == null ? void 0 : Ce.target) == null ? void 0 : b.field) && ((B = e.draggingColumns) == null ? void 0 : B.dragToLeft),
1109
+ "b-data-grid-columns__column--is-re-ordering-target-right": (d == null ? void 0 : d.field) === ((X = (P = e.draggingColumns) == null ? void 0 : P.target) == null ? void 0 : X.field) && !(($ = e.draggingColumns) != null && $.dragToLeft),
1110
+ "b-data-grid-columns__column--with-sorting-or-column-panel": d.sortable || d.infoIconTooltip || e.hasColumnPanel && E.value === d.field || e.selectableAcrossPages
1108
1111
  };
1109
- }, v = (c) => ({
1110
- "b-data-grid-columns__column-header-and-actions--numeric": c == null ? void 0 : c.numeric
1111
- }), I = (c) => ({
1112
- "b-data-grid-columns__column-actions--numeric": c == null ? void 0 : c.numeric
1113
- }), M = (c) => ({
1112
+ }, m = (d) => ({
1113
+ "b-data-grid-columns__column-header-and-actions--numeric": d == null ? void 0 : d.numeric
1114
+ }), I = (d) => ({
1115
+ "b-data-grid-columns__column-actions--numeric": d == null ? void 0 : d.numeric
1116
+ }), F = (d) => ({
1114
1117
  "b-data-grid-columns__column-separator-container--is-resizeable": e.hasResizableColumns,
1115
- "b-data-grid-columns__column-separator-container--is-offset": e.hoveredOverColumnState.hoveredOverColumnField === c.field && e.hoveredOverColumnState.isSeparatorOffset
1116
- }), B = C(() => ({
1118
+ "b-data-grid-columns__column-separator-container--is-offset": e.hoveredOverColumnState.hoveredOverColumnField === d.field && e.hoveredOverColumnState.isSeparatorOffset
1119
+ }), M = C(() => ({
1117
1120
  "b-data-grid-columns__column-header--truncated": e.truncateColumnHeaders
1118
1121
  }));
1119
1122
  return t({
1120
- columnHeaderRefs: f
1121
- }), { __sfc: !0, props: e, emit: n, CLOSING_CONTEXTUAL_MENU_DELAY_MS: o, t: l, columns: a, sortBy: i, columnHeaderRefs: f, contextMenuRef: d, hoveredColumnField: E, closingTimeOutId: u, onAllRowSelect: R, isActionsColumn: m, selectAllMenu: w, startResize: N, isResizing: g, columnHoverEventToEmitAfterResizing: L, isSorting: h, getSortingDirection: _, sortByColumnField: b, getSortingColumnDirection: O, draggingEventsForColumn: A, contextualMenuData: r, showContextualMenu: p, hideContextualMenu: T, dataGridColumnEvents: W, hasColumnActions: Z, registerColumnsRefs: k, conditionalColumnsClasses: X, conditionalSelectColumnClasses: Y, computeMenuPosition: j, conditionalColumnClasses: K, conditionalColumnHeaderAndActionsClasses: v, conditionalColumnActionsClasses: I, conditionalColumnSeparatorClasses: M, conditionalColumnHeaderClasses: B, BentoCheckbox: yt, BentoDatagridSortDirection: ve, BentoTypography: be, DATAGRID_ROW_ACTIONS_COLUMN_FIELD_NAME: we, BentoInfoIcon: Xn, DatagridColumnsEvent: G, BentoMenu: bt, BentoToggleButton: ke, ArrowUpAndDownSortIcon: Ds, SortAscendingIcon: Zs, SortDescendingIcon: Xs, TriangleDown: no };
1123
+ columnHeaderRefs: u
1124
+ }), { __sfc: !0, props: e, emit: n, CLOSING_CONTEXTUAL_MENU_DELAY_MS: o, t: l, columns: a, sortBy: i, columnHeaderRefs: u, contextMenuRef: r, hoveredColumnField: E, closingTimeOutId: h, onAllRowSelect: y, isActionsColumn: p, selectAllMenu: c, startResize: O, isResizing: f, columnHoverEventToEmitAfterResizing: A, isSorting: w, getSortingDirection: v, sortByColumnField: S, getSortingColumnDirection: N, draggingEventsForColumn: T, contextualMenuData: g, showContextualMenu: _, hideContextualMenu: L, dataGridColumnEvents: z, hasColumnActions: V, registerColumnsRefs: W, conditionalColumnsClasses: J, conditionalSelectColumnClasses: Z, computeMenuPosition: Q, conditionalColumnClasses: j, conditionalColumnHeaderAndActionsClasses: m, conditionalColumnActionsClasses: I, conditionalColumnSeparatorClasses: F, conditionalColumnHeaderClasses: M, BentoCheckbox: Lt, BentoDatagridSortDirection: ve, BentoTypography: Se, DATAGRID_ROW_ACTIONS_COLUMN_FIELD_NAME: we, BentoInfoIcon: ts, DatagridColumnsEvent: G, BentoMenu: yt, BentoToggleButton: ke, ArrowUpAndDownSortIcon: Bs, SortAscendingIcon: Ys, SortDescendingIcon: eo, TriangleDown: lo };
1122
1125
  }
1123
1126
  });
1124
- var ao = function() {
1127
+ var co = function() {
1125
1128
  var t = this, n = t._self._c, e = t._self._setupProxy;
1126
1129
  return n("div", { staticClass: "b-data-grid-columns", class: e.conditionalColumnsClasses, attrs: { "data-testid": "data-grid-columns" } }, [t._l(e.columns, function(o, l) {
1127
1130
  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", class: e.conditionalSelectColumnClasses }, [t.selectableAcrossPages ? t._e() : n(e.BentoCheckbox, { attrs: { "aria-label": e.t("selectAll"), "model-value": t.allItemsSelectedState.allItemsSelected, "data-testid": "checkbox-select-all", indeterminate: t.allItemsSelectedState.isIndeterminate, value: "data-grid-select-all" }, on: { "update:model-value": e.onAllRowSelect } }), t.selectableAcrossPages ? [t.selectionState === "all" ? n(e.BentoCheckbox, { staticClass: "b-data-grid-columns__deselect-all-checkbox", attrs: { "aria-label": e.t("deselectAll"), "model-value": t.allItemsSelectedState.allItemsSelected, "data-testid": "checkbox-deselect-all", value: "data-grid-deselect-all" }, on: { input: function(a) {
@@ -1144,44 +1147,44 @@ var ao = function() {
1144
1147
  a.stopPropagation();
1145
1148
  } } }, [!t.isFrozenColumns || t.isFrozenColumns && l !== e.columns.length - 1 ? n("div", { staticClass: "b-data-grid-columns__column-separator" }) : t._e()])]], 2);
1146
1149
  }), t.rowActionsMaximumWidth && !t.isFrozenColumns ? [n("div", { staticClass: "b-data-grid-columns__row-actions-filler", attrs: { role: "presentation" } }), n("div", { ref: (o) => e.registerColumnsRefs(o, e.DATAGRID_ROW_ACTIONS_COLUMN_FIELD_NAME), staticClass: "b-data-grid-columns__column", style: { minWidth: `${t.rowActionsMaximumWidth}px` }, attrs: { "aria-label": e.t("rowActionsColumn"), "aria-colindex": e.columns.length + 1, role: "columnheader", tabindex: "0" } })] : t._e()], 2);
1147
- }, io = [], ro = /* @__PURE__ */ V(
1148
- lo,
1149
- ao,
1150
- io,
1150
+ }, uo = [], fo = /* @__PURE__ */ H(
1151
+ ro,
1152
+ co,
1153
+ uo,
1151
1154
  !1,
1152
1155
  null,
1153
- "b7ed8695"
1156
+ "1300b9a0"
1154
1157
  );
1155
- const co = ro.exports;
1156
- var ce = /* @__PURE__ */ ((s) => (s.CONFIG_SETTINGS = "config-settings", s.UPDATE_COLUMNS = "update:columns", s))(ce || {});
1157
- let gt = 0;
1158
- const uo = {
1158
+ const go = fo.exports;
1159
+ var ie = /* @__PURE__ */ ((s) => (s.UPDATE_CONDENSED = "update:condensed", s.UPDATE_COLUMNS = "update:columns", s.UPDATE_ZEBRA_ROWS = "update:zebra-rows", s))(ie || {});
1160
+ let vt = 0;
1161
+ const _o = {
1159
1162
  beforeCreate() {
1160
- this.uuid = gt.toString(), gt += 1;
1163
+ this.uuid = vt.toString(), vt += 1;
1161
1164
  }
1162
1165
  };
1163
- var fo = function() {
1166
+ var vo = function() {
1164
1167
  var t = this, n = t._self._c;
1165
1168
  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: "#001222", "clip-path": "url(#uia-ui-assets/icons-16-settings__a" + t.uuid + ")" } }, [n("path", { attrs: { d: "M8 5.25C6.48122 5.25 5.25 6.48122 5.25 8C5.25 9.51878 6.48122 10.75 8 10.75C9.51878 10.75 10.75 9.51878 10.75 8C10.75 6.48122 9.51878 5.25 8 5.25ZM6.75 8C6.75 7.30964 7.30964 6.75 8 6.75C8.69036 6.75 9.25 7.30964 9.25 8C9.25 8.69036 8.69036 9.25 8 9.25C7.30964 9.25 6.75 8.69036 6.75 8Z" } }), n("path", { attrs: { d: "M6.84701 0.973015L6.59985 0.35083L5.9537 0.526056C4.64534 0.880867 3.48225 1.56808 2.55285 2.48641L2.07533 2.95826L2.49158 3.48495C2.79648 3.87074 2.85279 4.419 2.58992 4.87589C2.32905 5.32931 1.82436 5.55631 1.33473 5.48726L0.677319 5.39455L0.505539 6.03586C0.33838 6.65992 0.25 7.32519 0.25 7.99991C0.25 8.67463 0.33838 9.3399 0.505539 9.96396L0.677319 10.6053L1.33473 10.5126C1.82436 10.4435 2.32905 10.6705 2.58992 11.1239C2.85279 11.5808 2.79648 12.1291 2.49158 12.5149L2.07533 13.0416L2.55285 13.5134C3.48225 14.4317 4.64534 15.119 5.9537 15.4738L6.59985 15.649L6.84701 15.0268C7.02659 14.5748 7.47549 14.2499 8 14.2499C8.52452 14.2499 8.97341 14.5748 9.15299 15.0268L9.40016 15.649L10.0463 15.4738C11.3547 15.119 12.5177 14.4317 13.4471 13.5134L13.9247 13.0416L13.5084 12.5149C13.2035 12.1291 13.1472 11.5808 13.4101 11.1239C13.671 10.6705 14.1756 10.4435 14.6653 10.5126L15.3227 10.6053L15.4945 9.96396C15.6616 9.3399 15.75 8.67463 15.75 7.99991C15.75 7.32519 15.6616 6.65992 15.4945 6.03586L15.3227 5.39455L14.6653 5.48726C14.1756 5.55631 13.671 5.32931 13.4101 4.87589C13.1472 4.419 13.2035 3.87074 13.5084 3.48495L13.9247 2.95826L13.4471 2.48641C12.5177 1.56808 11.3547 0.880867 10.0463 0.526056L9.40016 0.35083L9.15299 0.973015C8.97341 1.42506 8.52452 1.74991 8 1.74991C7.47549 1.74991 7.02659 1.42506 6.84701 0.973015ZM3.89008 5.62393C4.33946 4.84286 4.36394 3.9353 4.03405 3.16853C4.55803 2.73795 5.15349 2.39116 5.80146 2.14902C6.30062 2.81653 7.10051 3.24991 8 3.24991C8.89949 3.24991 9.69938 2.81653 10.1985 2.14902C10.8465 2.39116 11.442 2.73795 11.966 3.16853C11.6361 3.9353 11.6605 4.84287 12.1099 5.62393C12.5612 6.40839 13.3382 6.88092 14.1658 6.97982C14.221 7.31075 14.25 7.65319 14.25 7.99991C14.25 8.34663 14.221 8.68908 14.1658 9.02001C13.3382 9.11891 12.5612 9.59143 12.1099 10.3759C11.6605 11.157 11.6361 12.0645 11.9659 12.8313C11.442 13.2619 10.8465 13.6087 10.1985 13.8508C9.69938 13.1833 8.89949 12.7499 8 12.7499C7.10051 12.7499 6.30062 13.1833 5.80146 13.8508C5.15349 13.6087 4.55803 13.2619 4.03405 12.8313C4.36394 12.0645 4.33946 11.157 3.89008 10.3759C3.43875 9.59143 2.66177 9.1189 1.8342 9.02C1.77896 8.68908 1.75 8.34663 1.75 7.99991C1.75 7.65319 1.77896 7.31074 1.8342 6.97982C2.66177 6.88092 3.43875 6.40839 3.89008 5.62393Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-ui-assets/icons-16-settings__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
1166
- }, go = [], _o = /* @__PURE__ */ V(
1167
- uo,
1168
- fo,
1169
- go,
1169
+ }, mo = [], Co = /* @__PURE__ */ H(
1170
+ _o,
1171
+ vo,
1172
+ mo,
1170
1173
  !1,
1171
1174
  null,
1172
1175
  null
1173
1176
  );
1174
- const vo = _o.exports, mo = {
1177
+ const ho = Co.exports, po = {
1175
1178
  "en-US": {
1176
1179
  toggleColumnFreeze: "Toggle {label} column freeze",
1177
1180
  toggleColumnVisibility: "Toggle {label} column visibility"
1178
1181
  }
1179
- }, Co = ie({
1180
- i18n: { messages: mo },
1182
+ }, wo = de({
1183
+ i18n: { messages: po },
1181
1184
  name: "bento-data-grid",
1182
1185
  components: {
1183
- BentoFreezeIcon: Tt,
1184
- BentoToggle: Rt
1186
+ BentoFreezeIcon: Nt,
1187
+ BentoToggle: At
1185
1188
  },
1186
1189
  props: {
1187
1190
  /**
@@ -1201,19 +1204,19 @@ const vo = _o.exports, mo = {
1201
1204
  },
1202
1205
  emits: ["visible-column", "updated-column"],
1203
1206
  setup(s, { emit: t }) {
1204
- const { t: n } = ue(), e = y(!1), o = C(() => {
1205
- var u;
1206
- return (u = s.column) == null ? void 0 : u.frozen;
1207
+ const { t: n } = ce(), e = R(!1), o = C(() => {
1208
+ var h;
1209
+ return (h = s.column) == null ? void 0 : h.frozen;
1207
1210
  }), l = C(() => {
1208
- var u;
1209
- return ((u = s.column) == null ? void 0 : u.visible) !== !1;
1211
+ var h;
1212
+ return ((h = s.column) == null ? void 0 : h.visible) !== !1;
1210
1213
  }), a = () => {
1211
1214
  t("visible-column", { ...s.column, visible: !l.value });
1212
1215
  }, i = () => {
1213
1216
  t("updated-column", { ...s.column, frozen: !o.value });
1214
- }, f = () => {
1217
+ }, u = () => {
1215
1218
  o.value || (e.value = !0);
1216
- }, d = () => {
1219
+ }, r = () => {
1217
1220
  o.value || (e.value = !1);
1218
1221
  }, E = C(() => ({
1219
1222
  "b-data-grid-config-settings-column-row__freeze-icon--frozen": o.value
@@ -1226,29 +1229,30 @@ const vo = _o.exports, mo = {
1226
1229
  isColumnVisible: l,
1227
1230
  // Methods
1228
1231
  toggleColumnVisibility: a,
1229
- showFreezeIcon: f,
1230
- hideFreezeIcon: d,
1232
+ showFreezeIcon: u,
1233
+ hideFreezeIcon: r,
1231
1234
  toggleColumnFreeze: i,
1232
1235
  // Translations
1233
1236
  t: n
1234
1237
  };
1235
1238
  }
1236
1239
  });
1237
- var ho = function() {
1240
+ var bo = function() {
1238
1241
  var t = this, n = t._self._c;
1239
1242
  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) {
1240
1243
  return t.toggleColumnFreeze.apply(null, arguments);
1241
1244
  } } })], 1);
1242
- }, po = [], wo = /* @__PURE__ */ V(
1243
- Co,
1244
- ho,
1245
- po,
1245
+ }, So = [], Ro = /* @__PURE__ */ H(
1246
+ wo,
1247
+ bo,
1248
+ So,
1246
1249
  !1,
1247
1250
  null,
1248
- "eae7733f"
1251
+ "7ea6db9b"
1249
1252
  );
1250
- const So = wo.exports, bo = {
1253
+ const Eo = Ro.exports, yo = {
1251
1254
  "en-US": {
1255
+ appearance: "Appearance",
1252
1256
  closeConfigSettingsPanel: "Close configuration settings panel",
1253
1257
  closeSearch: "Close search",
1254
1258
  columnVisibilitySearchFilter: "Column visibility search filter",
@@ -1260,35 +1264,36 @@ const So = wo.exports, bo = {
1260
1264
  noColumnsMatch: "No columns match this search",
1261
1265
  search: "Search",
1262
1266
  showAllColumns: "Show all columns ({numberOfColumns})",
1263
- size: "Size",
1264
- toggleConfigSettingsPanelVisibility: "Toggle Configuration settings panel visibility"
1267
+ toggleConfigSettingsPanelVisibility: "Toggle Configuration settings panel visibility",
1268
+ zebraRows: "Zebra rows",
1269
+ zebraRowsToggle: "Zebra rows toggle"
1265
1270
  },
1266
1271
  "ja-JP": {
1272
+ appearance: "外観",
1267
1273
  condensed: "凝縮",
1268
- search: "検索",
1269
- size: "サイズ"
1274
+ search: "検索"
1270
1275
  },
1271
1276
  "pt-BR": {
1277
+ appearance: "Aparência",
1272
1278
  condensed: "Condensado",
1273
- search: "Buscar",
1274
- size: "Tamanho"
1279
+ search: "Buscar"
1275
1280
  }
1276
- }, yo = ie({
1277
- i18n: { messages: bo },
1281
+ }, Lo = de({
1282
+ i18n: { messages: yo },
1278
1283
  name: "bento-data-grid",
1279
1284
  components: {
1280
- BentoButton: St,
1281
- BentoCrossIcon: pt,
1282
- BentoPopover: ts,
1283
- BentoSettingsIcon: vo,
1285
+ BentoButton: Et,
1286
+ BentoCrossIcon: bt,
1287
+ BentoPopover: Zn,
1288
+ BentoSettingsIcon: ho,
1284
1289
  BentoToggleButton: ke,
1285
- BentoDataGridConfigSettingsConfigRow: So,
1286
- BentoSearchBar: ns,
1287
- BentoSearchIcon: os,
1288
- BentoToggle: Rt,
1289
- BentoTypography: be
1290
+ BentoDataGridConfigSettingsConfigRow: Eo,
1291
+ BentoSearchBar: ls,
1292
+ BentoSearchIcon: is,
1293
+ BentoToggle: At,
1294
+ BentoTypography: Se
1290
1295
  },
1291
- directives: { BentoClickOutsideDirective: ls },
1296
+ directives: { BentoClickOutsideDirective: rs },
1292
1297
  props: {
1293
1298
  /**
1294
1299
  * Column definitions
@@ -1303,44 +1308,55 @@ const So = wo.exports, bo = {
1303
1308
  condensed: {
1304
1309
  type: Boolean,
1305
1310
  default: !1
1311
+ },
1312
+ /**
1313
+ * Sets a different background color for even rows.
1314
+ */
1315
+ zebraRows: {
1316
+ type: Boolean,
1317
+ default: !1
1306
1318
  }
1307
1319
  },
1308
- emits: [ce.CONFIG_SETTINGS, ce.UPDATE_COLUMNS],
1320
+ emits: [
1321
+ ie.UPDATE_CONDENSED,
1322
+ ie.UPDATE_COLUMNS,
1323
+ ie.UPDATE_ZEBRA_ROWS
1324
+ ],
1309
1325
  setup(s, { emit: t }) {
1310
- const { t: n } = ue(), e = y(null), o = xe("data-grid-config-settings-popover"), l = y(null), a = y(!1), i = y(!0), f = y(null), d = y(""), E = Ne(s, "columns"), u = y(!1), R = ss(d, E), m = () => {
1311
- d.value = "";
1312
- }, w = C(
1313
- () => !s.columns.some((r) => r.visible === !1 && !r.mandatory)
1314
- ), N = () => {
1315
- m(), u.value = !u.value, u.value ? se(() => {
1316
- var r;
1317
- return (r = l.value.$refs.bentoInputField) == null ? void 0 : r.focusInput();
1326
+ const { t: n } = ce(), e = R(null), o = xe("data-grid-config-settings-popover"), l = R(null), a = R(!1), i = R(!0), u = R(null), r = R(""), E = Ie(s, "columns"), h = R(!1), y = as(r, E), p = () => {
1327
+ r.value = "";
1328
+ }, c = C(
1329
+ () => !s.columns.some((_) => _.visible === !1 && !_.mandatory)
1330
+ ), O = () => {
1331
+ p(), h.value = !h.value, h.value ? se(() => {
1332
+ var _;
1333
+ return (_ = l.value.$refs.bentoInputField) == null ? void 0 : _.focusInput();
1318
1334
  }) : se(() => {
1319
- var r, p;
1320
- return (p = (r = f == null ? void 0 : f.value) == null ? void 0 : r.$el) == null ? void 0 : p.focus();
1321
- }), i.value = w.value;
1322
- }, g = (r) => r.mandatory ?? !1, L = (r) => {
1323
- const p = s.columns.map((T) => ({
1324
- ...T,
1325
- visible: r.field === T.field ? r.visible : T.visible
1335
+ var _, L;
1336
+ return (L = (_ = u == null ? void 0 : u.value) == null ? void 0 : _.$el) == null ? void 0 : L.focus();
1337
+ }), i.value = c.value;
1338
+ }, f = (_) => _.mandatory ?? !1, A = (_) => {
1339
+ const L = s.columns.map((z) => ({
1340
+ ...z,
1341
+ visible: _.field === z.field ? _.visible : z.visible
1326
1342
  }));
1327
- t(ce.UPDATE_COLUMNS, p);
1328
- }, h = (r) => {
1329
- r ? t(
1330
- ce.UPDATE_COLUMNS,
1331
- s.columns.map((p) => ({ ...p, visible: !0 }))
1343
+ t(ie.UPDATE_COLUMNS, L);
1344
+ }, w = (_) => {
1345
+ _ ? t(
1346
+ ie.UPDATE_COLUMNS,
1347
+ s.columns.map((L) => ({ ...L, visible: !0 }))
1332
1348
  ) : t(
1333
- ce.UPDATE_COLUMNS,
1334
- s.columns.map((p) => ({ ...p, visible: (p == null ? void 0 : p.mandatory) === !0 }))
1349
+ ie.UPDATE_COLUMNS,
1350
+ s.columns.map((L) => ({ ...L, visible: (L == null ? void 0 : L.mandatory) === !0 }))
1335
1351
  );
1336
- }, _ = (r) => {
1337
- const p = s.columns.map((T) => ({
1338
- ...T,
1339
- frozen: r.field === T.field ? !!(r != null && r.frozen) : !!(T != null && T.frozen)
1352
+ }, v = (_) => {
1353
+ const L = s.columns.map((z) => ({
1354
+ ...z,
1355
+ frozen: _.field === z.field ? !!(_ != null && _.frozen) : !!(z != null && z.frozen)
1340
1356
  }));
1341
- t(ce.UPDATE_COLUMNS, p);
1342
- }, b = (r) => {
1343
- a.value = r, i.value = w.value;
1357
+ t(ie.UPDATE_COLUMNS, L);
1358
+ }, S = (_) => {
1359
+ a.value = _, i.value = c.value;
1344
1360
  };
1345
1361
  return {
1346
1362
  // Values
@@ -1348,28 +1364,29 @@ const So = wo.exports, bo = {
1348
1364
  popoverId: o,
1349
1365
  isConfigSettingsPanelOpen: a,
1350
1366
  allColumnsVisbilityToggleState: i,
1351
- filteredColumnVisibilityColumns: R,
1352
- searchTerm: d,
1353
- isColumnVisibilityFilterShown: u,
1367
+ filteredColumnVisibilityColumns: y,
1368
+ searchTerm: r,
1369
+ isColumnVisibilityFilterShown: h,
1354
1370
  searchBarRef: l,
1355
- searchButtonRef: f,
1371
+ searchButtonRef: u,
1356
1372
  DATAGRID_ACTIONS_COLUMN_FIELD_NAME: ne,
1357
1373
  // Methods
1358
- setConfigSettingsPanelVisibility: b,
1359
- emitCondensedToggle: (r) => t(ce.CONFIG_SETTINGS, r),
1360
- toggleAllColumnVisibility: h,
1361
- clearAction: m,
1362
- toggleColumnFilter: N,
1363
- emitVisibleColumns: L,
1364
- emitFrozenColumns: _,
1365
- onClickOutside: () => b(!1),
1366
- isColumnVisibilityToggleDisabled: g,
1374
+ setConfigSettingsPanelVisibility: S,
1375
+ emitCondensedToggle: (_) => t(ie.UPDATE_CONDENSED, _),
1376
+ toggleAllColumnVisibility: w,
1377
+ clearAction: p,
1378
+ toggleColumnFilter: O,
1379
+ emitVisibleColumns: A,
1380
+ emitFrozenColumns: v,
1381
+ onClickOutside: () => S(!1),
1382
+ isColumnVisibilityToggleDisabled: f,
1383
+ emitZebraRowsToggle: (_) => t(ie.UPDATE_ZEBRA_ROWS, _),
1367
1384
  // Translations
1368
1385
  t: n
1369
1386
  };
1370
1387
  }
1371
1388
  });
1372
- var Eo = function() {
1389
+ var Ao = function() {
1373
1390
  var t = this, n = t._self._c;
1374
1391
  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) {
1375
1392
  return t.setConfigSettingsPanelVisibility(!t.isConfigSettingsPanelOpen);
@@ -1379,7 +1396,7 @@ var Eo = function() {
1379
1396
  return t.setConfigSettingsPanelVisibility(!1);
1380
1397
  } }, scopedSlots: t._u([{ key: "iconLeft", fn: function() {
1381
1398
  return [n("bento-cross-icon", { attrs: { "svg-title": t.t("closeConfigSettingsPanel") } })];
1382
- }, proxy: !0 }], null, !1, 353359238) })], 1), n("div", { staticClass: "b-data-grid-config-settings__condensed-view-settings" }, [n("bento-typography", { staticClass: "b-data-grid-config-settings__condensed-view-title", attrs: { el: "span", stronger: "" } }, [t._v(" " + t._s(t.t("size")) + " ")]), n("bento-toggle", { attrs: { "label-position": "after", "aria-label": t.t("condensedToggle"), value: t.condensed }, on: { input: t.emitCondensedToggle } }, [t._v(" " + t._s(t.t("condensed")) + " ")])], 1), n("div", { staticClass: "b-data-grid-config-settings__column-visibility-settings" }, [n("div", { staticClass: "b-data-grid-config-settings__column-visibility-header" }, [n("bento-typography", { staticClass: "b-data-grid-config-settings__column-visibility-title", attrs: { el: "span", stronger: "" } }, [t._v(" " + t._s(t.t("columns")) + " ")]), t.isColumnVisibilityFilterShown ? n("bento-button", { attrs: { variant: "tertiary" }, on: { click: t.toggleColumnFilter }, scopedSlots: t._u([{ key: "iconLeft", fn: function() {
1399
+ }, proxy: !0 }], null, !1, 353359238) })], 1), n("div", { staticClass: "b-data-grid-config-settings__appearance" }, [n("bento-typography", { staticClass: "b-data-grid-config-settings__appearance-title", attrs: { el: "span", stronger: "" } }, [t._v(" " + t._s(t.t("appearance")) + " ")]), n("div", { staticClass: "b-data-grid-config-settings__appearance-button" }, [n("bento-toggle", { attrs: { "label-position": "after", "aria-label": t.t("condensedToggle"), value: t.condensed }, on: { input: t.emitCondensedToggle } }, [t._v(" " + t._s(t.t("condensed")) + " ")])], 1), n("div", { staticClass: "b-data-grid-config-settings__appearance-button" }, [n("bento-toggle", { attrs: { "label-position": "after", "aria-label": t.t("zebraRowsToggle"), value: t.zebraRows }, on: { input: t.emitZebraRowsToggle } }, [t._v(" " + t._s(t.t("zebraRows")) + " ")])], 1)], 1), n("div", { staticClass: "b-data-grid-config-settings__column-visibility-settings" }, [n("div", { staticClass: "b-data-grid-config-settings__column-visibility-header" }, [n("bento-typography", { staticClass: "b-data-grid-config-settings__column-visibility-title", attrs: { el: "span", stronger: "" } }, [t._v(" " + t._s(t.t("columns")) + " ")]), t.isColumnVisibilityFilterShown ? n("bento-button", { attrs: { variant: "tertiary" }, on: { click: t.toggleColumnFilter }, scopedSlots: t._u([{ key: "iconLeft", fn: function() {
1383
1400
  return [n("bento-cross-icon")];
1384
1401
  }, proxy: !0 }], null, !1, 2651303519) }, [t._v(" " + t._s(t.t("closeSearch")) + " ")]) : n("bento-button", { ref: "searchButtonRef", attrs: { variant: "tertiary" }, on: { click: t.toggleColumnFilter }, scopedSlots: t._u([{ key: "iconLeft", fn: function() {
1385
1402
  return [n("bento-search-icon")];
@@ -1388,15 +1405,15 @@ var Eo = function() {
1388
1405
  }, 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) {
1389
1406
  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);
1390
1407
  }), 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);
1391
- }, Ro = [], Lo = /* @__PURE__ */ V(
1392
- yo,
1393
- Eo,
1394
- Ro,
1408
+ }, Oo = [], To = /* @__PURE__ */ H(
1409
+ Lo,
1410
+ Ao,
1411
+ Oo,
1395
1412
  !1,
1396
1413
  null,
1397
- "e7f0a261"
1414
+ "fa0a9775"
1398
1415
  );
1399
- const Ao = Lo.exports, Ot = {
1416
+ const No = To.exports, It = {
1400
1417
  "en-US": {
1401
1418
  gettingYourData: "Getting your data",
1402
1419
  loading: "Loading",
@@ -1414,52 +1431,52 @@ const Ao = Lo.exports, Ot = {
1414
1431
  loading: "Carregando",
1415
1432
  showMore: "Mostrar mais"
1416
1433
  }
1417
- }, To = {
1418
- i18n: { messages: Ot }
1419
- }, Oo = /* @__PURE__ */ ie({
1420
- ...To,
1434
+ }, Io = {
1435
+ i18n: { messages: It }
1436
+ }, Do = /* @__PURE__ */ de({
1437
+ ...Io,
1421
1438
  __name: "data-grid-lazy-load",
1422
1439
  props: {
1423
1440
  loading: { type: Boolean },
1424
1441
  isInfiniteScroll: { type: Boolean }
1425
1442
  },
1426
1443
  setup(s) {
1427
- const { t } = ue();
1428
- return { __sfc: !0, t, BentoLoadingButton: Kn, BentoLoadingButtonState: Yn, BentoLoadingIndicator: Ue, BentoDatagridEvent: x };
1444
+ const { t } = ce();
1445
+ return { __sfc: !0, t, BentoLoadingButton: qn, BentoLoadingButtonState: jn, BentoLoadingIndicator: ze, BentoDatagridEvent: D };
1429
1446
  }
1430
1447
  });
1431
- var Io = function() {
1448
+ var xo = function() {
1432
1449
  var t = this, n = t._self._c, e = t._self._setupProxy;
1433
1450
  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) {
1434
1451
  return t.$emit(e.BentoDatagridEvent.UPDATE_SHOW_MORE);
1435
1452
  } } }, [t._v(t._s(e.t("showMore")))]) : t._e()], 1);
1436
- }, No = [], Do = /* @__PURE__ */ V(
1437
- Oo,
1438
- Io,
1439
- No,
1453
+ }, Fo = [], Bo = /* @__PURE__ */ H(
1454
+ Do,
1455
+ xo,
1456
+ Fo,
1440
1457
  !1,
1441
1458
  null,
1442
1459
  "fd9b8204"
1443
1460
  );
1444
- const xo = Do.exports;
1445
- let _t = 0;
1446
- const Fo = {
1461
+ const Mo = Bo.exports;
1462
+ let mt = 0;
1463
+ const Uo = {
1447
1464
  beforeCreate() {
1448
- this.uuid = _t.toString(), _t += 1;
1465
+ this.uuid = mt.toString(), mt += 1;
1449
1466
  }
1450
1467
  };
1451
- var Mo = function() {
1468
+ var zo = function() {
1452
1469
  var t = this, n = t._self._c;
1453
1470
  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: "#001222", 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" } })]);
1454
- }, Bo = [], $o = /* @__PURE__ */ V(
1455
- Fo,
1456
- Mo,
1457
- Bo,
1471
+ }, $o = [], Po = /* @__PURE__ */ H(
1472
+ Uo,
1473
+ zo,
1474
+ $o,
1458
1475
  !1,
1459
1476
  null,
1460
1477
  null
1461
1478
  );
1462
- const Uo = $o.exports, zo = {
1479
+ const ko = Po.exports, Wo = {
1463
1480
  "en-US": {
1464
1481
  copy: "Copy",
1465
1482
  edit: "Edit",
@@ -1478,11 +1495,11 @@ const Uo = $o.exports, zo = {
1478
1495
  more: "Mais",
1479
1496
  open: "Abrir"
1480
1497
  }
1481
- }, Po = {
1482
- i18n: { messages: zo },
1498
+ }, Go = {
1499
+ i18n: { messages: Wo },
1483
1500
  name: "data-grid-cell-actions"
1484
- }, ko = /* @__PURE__ */ ie({
1485
- ...Po,
1501
+ }, Ho = /* @__PURE__ */ de({
1502
+ ...Go,
1486
1503
  props: {
1487
1504
  /**
1488
1505
  * Column definitions using 'key' to relate to data object.
@@ -1513,6 +1530,13 @@ const Uo = $o.exports, zo = {
1513
1530
  type: Boolean,
1514
1531
  default: !1
1515
1532
  },
1533
+ /**
1534
+ * Set to true if the row has a darker background when zebra rows is enabled.
1535
+ */
1536
+ hasZebraBackground: {
1537
+ type: Boolean,
1538
+ default: !1
1539
+ },
1516
1540
  /**
1517
1541
  * Set if set to true will teleport the action menu component
1518
1542
  */
@@ -1530,23 +1554,24 @@ const Uo = $o.exports, zo = {
1530
1554
  },
1531
1555
  emits: ["menu-open", "menu-close", "menu-item-click"],
1532
1556
  setup(s, { emit: t }) {
1533
- const n = s, { t: e } = ue(), o = C(() => n.columnKey === void 0), l = C(() => ({
1534
- "b-data-grid-cell-actions__background-gradient--with-row-actions-and-overflow": o.value && n.hasRightOverflow
1557
+ const n = s, { t: e } = ce(), o = C(() => n.columnKey === void 0), l = C(() => ({
1558
+ "b-data-grid-cell-actions__background-gradient--with-row-actions-and-overflow": o.value && n.hasRightOverflow,
1559
+ "b-data-grid-cell-actions__background-gradient--zebra": n.hasZebraBackground
1535
1560
  })), a = C(() => ({
1536
1561
  "b-data-grid-cell-actions__actions--with-row-actions": o.value
1537
1562
  })), i = C(() => !o.value || o.value && n.hasRightOverflow);
1538
- function f(g) {
1539
- return typeof g == "function";
1563
+ function u(f) {
1564
+ return typeof f == "function";
1540
1565
  }
1541
- const d = C(() => {
1542
- var L;
1543
- const g = f(n.cellActions) ? (L = n.cellActions) == null ? void 0 : L.call(n, n.rowDataItem, n.columnKey) : n.cellActions;
1544
- return (g == null ? void 0 : g.length) > 2 && wt(
1566
+ const r = C(() => {
1567
+ var A;
1568
+ const f = u(n.cellActions) ? (A = n.cellActions) == null ? void 0 : A.call(n, n.rowDataItem, n.columnKey) : n.cellActions;
1569
+ return (f == null ? void 0 : f.length) > 2 && St(
1545
1570
  "WARNING: BentoDataGrid Cell actions can only have a maximum of 2 actions, if you need more consider using the menuData property instead."
1546
- ), g == null ? void 0 : g.slice(0, 2);
1547
- }), E = C(() => (g, L) => {
1548
- if (!(!L && g.isShort || L && !g.isShort))
1549
- switch (g.variant) {
1571
+ ), f == null ? void 0 : f.slice(0, 2);
1572
+ }), E = C(() => (f, A) => {
1573
+ if (!(!A && f.isShort || A && !f.isShort))
1574
+ switch (f.variant) {
1550
1575
  case "copy":
1551
1576
  return e("copy");
1552
1577
  case "edit":
@@ -1556,28 +1581,28 @@ const Uo = $o.exports, zo = {
1556
1581
  case "more":
1557
1582
  return e("more");
1558
1583
  default:
1559
- return g.title;
1584
+ return f.title;
1560
1585
  }
1561
- }), u = (g) => (g == null ? void 0 : g.event) !== void 0 ? {
1562
- click: (L) => {
1563
- L.stopPropagation(), g.event(n.rowDataItem, n.columnKey);
1586
+ }), h = (f) => (f == null ? void 0 : f.event) !== void 0 ? {
1587
+ click: (A) => {
1588
+ A.stopPropagation(), f.event(n.rowDataItem, n.columnKey);
1564
1589
  }
1565
- } : {}, R = (g) => ({
1566
- ...g,
1590
+ } : {}, y = (f) => ({
1591
+ ...f,
1567
1592
  handler: () => {
1568
- g != null && g.handler && typeof g.handler == "function" && (g == null || g.handler()), g != null && g.event && typeof g.event == "function" && (g == null || g.event(n.rowDataItem, n.columnKey));
1593
+ f != null && f.handler && typeof f.handler == "function" && (f == null || f.handler()), f != null && f.event && typeof f.event == "function" && (f == null || f.event(n.rowDataItem, n.columnKey));
1569
1594
  }
1570
- }), m = (g) => g.map((L) => {
1571
- const h = L;
1572
- return h != null && h.items && (h.items = m(h.items)), { ...R(h) };
1595
+ }), p = (f) => f.map((A) => {
1596
+ const w = A;
1597
+ return w != null && w.items && (w.items = p(w.items)), { ...y(w) };
1573
1598
  });
1574
- return { __sfc: !0, t: e, props: n, emit: t, isRowActions: o, conditionalCellActionsBackgroundGradientClasses: l, conditionalCellActionsClasses: a, showGradientElement: i, isBentoColumnCellActionsByCellValueDataFn: f, computedCellActions: d, getButtonTitle: E, generateButtonEvents: u, generateMenuEvents: R, transformMenuEvents: m, getCopyText: (g) => {
1575
- var L, h;
1576
- return (g == null ? void 0 : g.getCopyData) !== void 0 ? g.getCopyData(n.rowDataItem, n.columnKey) : n.columnKey ? (h = (L = n.rowDataItem) == null ? void 0 : L[n.columnKey]) == null ? void 0 : h.toString() : "";
1577
- }, shouldShowMenuIconLeft: (g) => g.iconLeft || (g == null ? void 0 : g.variant) === "more", BentoButton: St, BentoMenu: bt, Copy: Zn, Edit1Icon: Uo, ExternalLinkIcon: Vn, OptionsVerticalIcon: Gn };
1599
+ return { __sfc: !0, t: e, props: n, emit: t, isRowActions: o, conditionalCellActionsBackgroundGradientClasses: l, conditionalCellActionsClasses: a, showGradientElement: i, isBentoColumnCellActionsByCellValueDataFn: u, computedCellActions: r, getButtonTitle: E, generateButtonEvents: h, generateMenuEvents: y, transformMenuEvents: p, getCopyText: (f) => {
1600
+ var A, w;
1601
+ return (f == null ? void 0 : f.getCopyData) !== void 0 ? f.getCopyData(n.rowDataItem, n.columnKey) : n.columnKey ? (w = (A = n.rowDataItem) == null ? void 0 : A[n.columnKey]) == null ? void 0 : w.toString() : "";
1602
+ }, shouldShowMenuIconLeft: (f) => f.iconLeft || (f == null ? void 0 : f.variant) === "more", BentoButton: Et, BentoMenu: yt, Copy: Jn, Edit1Icon: ko, ExternalLinkIcon: Xn, OptionsVerticalIcon: Yn };
1578
1603
  }
1579
1604
  });
1580
- var Wo = function() {
1605
+ var Vo = function() {
1581
1606
  var t = this, n = t._self._c, e = t._self._setupProxy;
1582
1607
  return n("Transition", { attrs: { name: "b-data-grid-cell-actions__animation", appear: "" } }, [n("div", { staticClass: "b-data-grid-cell-actions" }, [e.showGradientElement ? n("div", { staticClass: "b-data-grid-cell-actions__background-gradient", class: e.conditionalCellActionsBackgroundGradientClasses }) : t._e(), n("div", { staticClass: "b-data-grid-cell-actions__actions", class: e.conditionalCellActionsClasses, attrs: { role: "group" } }, t._l(e.computedCellActions, function(o, l) {
1583
1608
  return n("div", { key: l, staticClass: "b-data-grid-cell-actions__action" }, [o.menuData ? n(e.BentoMenu, { attrs: { data: e.transformMenuEvents(o.menuData), button: {
@@ -1605,30 +1630,30 @@ var Wo = function() {
1605
1630
  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 } })];
1606
1631
  }, proxy: !0 } : null], null, !0) }, e.generateButtonEvents(o)))], 1);
1607
1632
  }), 0)])]);
1608
- }, Go = [], Ho = /* @__PURE__ */ V(
1609
- ko,
1610
- Wo,
1611
- Go,
1633
+ }, Zo = [], jo = /* @__PURE__ */ H(
1634
+ Ho,
1635
+ Vo,
1636
+ Zo,
1612
1637
  !1,
1613
1638
  null,
1614
- "868b432e"
1639
+ "5319bc70"
1615
1640
  );
1616
- const It = Ho.exports, Nt = Symbol("data-grid slashed zero key");
1641
+ const Dt = jo.exports, xt = Symbol("data-grid slashed zero key");
1617
1642
  var q = /* @__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))(q || {});
1618
- const vt = () => {
1643
+ const Ct = () => {
1619
1644
  const s = document.activeElement;
1620
1645
  return s ? s.matches(":focus-visible") || s.matches(".focus-visible") : !1;
1621
- }, Vo = {
1646
+ }, qo = {
1622
1647
  "en-US": {
1623
1648
  collapseNestedContent: "Collapse nested content",
1624
1649
  expandNestedContent: "Expand nested content",
1625
1650
  selectRow: "Select row"
1626
1651
  }
1627
- }, Zo = {
1628
- i18n: { messages: Vo },
1652
+ }, Yo = {
1653
+ i18n: { messages: qo },
1629
1654
  name: "data-grid-cell"
1630
- }, jo = /* @__PURE__ */ ie({
1631
- ...Zo,
1655
+ }, Ko = /* @__PURE__ */ de({
1656
+ ...Yo,
1632
1657
  props: {
1633
1658
  draggingEventsForRowCell: {
1634
1659
  type: Function,
@@ -1678,6 +1703,13 @@ const vt = () => {
1678
1703
  type: Function,
1679
1704
  default: (s) => s.id
1680
1705
  },
1706
+ /**
1707
+ * Set to true if the cell has a darker background when zebra rows is enabled.
1708
+ */
1709
+ hasZebraBackground: {
1710
+ type: Boolean,
1711
+ default: !1
1712
+ },
1681
1713
  /**
1682
1714
  * The column hovered over state and whether the hovered over column should show a border right or left.
1683
1715
  */
@@ -1750,102 +1782,102 @@ const vt = () => {
1750
1782
  },
1751
1783
  emits: ["on-frozen-columns-key-press", "select-row", "register-row-cell-element", "cell-hovered", "nested-content-toggled"],
1752
1784
  setup(s, { expose: t, emit: n }) {
1753
- const e = s, o = $e(), l = ze(o), { t: a } = ue(), i = y(null), f = y(null), d = y(!1), E = y([]), u = y(!1), R = y(), m = y(!1), w = C(() => {
1754
- var v;
1755
- return !!((v = e.rowData) != null && v[e.column.field]);
1756
- }), N = C(
1785
+ const e = s, o = Ue(), l = $e(o), { t: a } = ce(), i = R(null), u = R(null), r = R(!1), E = R([]), h = R(!1), y = R(), p = R(!1), c = C(() => {
1786
+ var m;
1787
+ return !!((m = e.rowData) != null && m[e.column.field]);
1788
+ }), O = C(
1757
1789
  () => {
1758
- var v;
1759
- return e.column.field === ne && ((v = e.nestedRowsElementIds) == null ? void 0 : v.length) > 0 ? e.nestedRowsElementIds.join(" ") : void 0;
1790
+ var m;
1791
+ return e.column.field === ne && ((m = e.nestedRowsElementIds) == null ? void 0 : m.length) > 0 ? e.nestedRowsElementIds.join(" ") : void 0;
1760
1792
  }
1761
- ), g = C(
1793
+ ), f = C(
1762
1794
  () => e.column.field === ne && !e.selectable && !e.nestedContent
1763
- ), L = C(() => A(e.rowIndex, e.colIndex, e.columnSetIndex) === 0 && !m.value ? "0" : e.column.field === ne ? "-1" : u.value ? "0" : "-1"), h = (v, I) => (v == null ? void 0 : v.overflow) === Fe.ELLIPSIS ? `${I}` : void 0, _ = (v) => v ?? "-", b = (v) => e.columnSets.slice(0, v).reduce((I, { columnSet: M }) => I + M.length, 0), O = (v, I) => v + b(I), A = (v, I, M) => b() * v + O(I, M), r = (v) => {
1795
+ ), A = C(() => T(e.rowIndex, e.colIndex, e.columnSetIndex) === 0 && !p.value ? "0" : e.column.field === ne ? "-1" : h.value ? "0" : "-1"), w = (m, I) => (m == null ? void 0 : m.overflow) === Fe.ELLIPSIS ? `${I}` : void 0, v = (m) => m ?? "-", S = (m) => e.columnSets.slice(0, m).reduce((I, { columnSet: F }) => I + F.length, 0), N = (m, I) => m + S(I), T = (m, I, F) => S() * m + N(I, F), g = (m) => {
1764
1796
  var I;
1765
- (v === null || !i.value.contains(v) && !((I = E.value) != null && I.map((M) => M.value).some((M) => M === v || (M == null ? void 0 : M.contains(v))))) && (d.value = !1);
1766
- }, p = () => {
1767
- d.value = !1;
1768
- }, T = y(!1), W = (v) => {
1797
+ (m === null || !i.value.contains(m) && !((I = E.value) != null && I.map((F) => F.value).some((F) => F === m || (F == null ? void 0 : F.contains(m))))) && (r.value = !1);
1798
+ }, _ = () => {
1799
+ r.value = !1;
1800
+ }, L = R(!1), z = (m) => {
1769
1801
  const I = {
1770
- ...e.draggingEventsForRowCell(v),
1802
+ ...e.draggingEventsForRowCell(m),
1771
1803
  // Focus on the first interactive child in the grid cell if one exists
1772
1804
  focus: async () => {
1773
- if (!vt())
1805
+ if (!Ct())
1774
1806
  return;
1775
- u.value = !0, m.value = !0, At(R.value), await se(), We(i.value) && (T.value = !0);
1807
+ h.value = !0, p.value = !0, Tt(y.value), await se(), We(i.value) && (L.value = !0);
1776
1808
  },
1777
1809
  focusout: () => {
1778
- vt() && (T.value = !1);
1810
+ Ct() && (L.value = !1);
1779
1811
  },
1780
- keydown: (B) => {
1781
- B.key !== le.TAB && (T.value = !1, u.value = !1, _e(i.value));
1812
+ keydown: (M) => {
1813
+ M.key !== le.TAB && (L.value = !1, h.value = !1, _e(i.value));
1782
1814
  }
1783
- }, M = { ...I };
1784
- return v.frozen && (M.keyup = (B) => n("on-frozen-columns-key-press", B), M.keydown = (B) => {
1785
- I.keydown(B), n("on-frozen-columns-key-press", B);
1786
- }), v.cellActions && (M.mouseenter = () => {
1787
- d.value = !0;
1788
- }, M.mouseleave = (B) => {
1789
- d.value = !1, r(B == null ? void 0 : B.relatedTarget);
1790
- }, M.mouseleave = (B) => {
1791
- r(B == null ? void 0 : B.relatedTarget);
1792
- }, M.focus = async (B) => {
1793
- I.focus(B), await se(), d.value = !0;
1794
- }, M.focusout = (B) => {
1795
- I.focusout(B), r(B == null ? void 0 : B.relatedTarget);
1796
- }), M;
1815
+ }, F = { ...I };
1816
+ return m.frozen && (F.keyup = (M) => n("on-frozen-columns-key-press", M), F.keydown = (M) => {
1817
+ I.keydown(M), n("on-frozen-columns-key-press", M);
1818
+ }), m.cellActions && (F.mouseenter = () => {
1819
+ r.value = !0;
1820
+ }, F.mouseleave = (M) => {
1821
+ r.value = !1, g(M == null ? void 0 : M.relatedTarget);
1822
+ }, F.mouseleave = (M) => {
1823
+ g(M == null ? void 0 : M.relatedTarget);
1824
+ }, F.focus = async (M) => {
1825
+ I.focus(M), await se(), r.value = !0;
1826
+ }, F.focusout = (M) => {
1827
+ I.focusout(M), g(M == null ? void 0 : M.relatedTarget);
1828
+ }), F;
1797
1829
  };
1798
- Se(() => {
1799
- R.value = _e(i.value);
1830
+ be(() => {
1831
+ y.value = _e(i.value);
1800
1832
  });
1801
- const Z = () => {
1833
+ const V = () => {
1802
1834
  n("nested-content-toggled");
1803
1835
  };
1804
1836
  oe(
1805
- () => d.value,
1837
+ () => r.value,
1806
1838
  () => {
1807
- d.value === !0 ? n("cell-hovered", e.rowIndex) : n("cell-hovered", -1);
1839
+ r.value === !0 ? n("cell-hovered", e.rowIndex) : n("cell-hovered", -1);
1808
1840
  }
1809
1841
  );
1810
- const k = (v) => {
1811
- E.value.push(v);
1812
- }, X = (v) => {
1813
- i.value.contains(v == null ? void 0 : v.relatedTarget) || (d.value = !1);
1842
+ const W = (m) => {
1843
+ E.value.push(m);
1844
+ }, J = (m) => {
1845
+ i.value.contains(m == null ? void 0 : m.relatedTarget) || (r.value = !1);
1814
1846
  };
1815
- ht(Hn, {
1816
- registerMenuContainerElement: k,
1817
- menuMouseLeave: X
1847
+ wt(Kn, {
1848
+ registerMenuContainerElement: W,
1849
+ menuMouseLeave: J
1818
1850
  });
1819
- const Y = De(Nt, y(!1)), j = (v) => {
1820
- var I, M, B, c, $, H, Q;
1851
+ const Z = De(xt, R(!1)), Q = (m) => {
1852
+ var I, F, M, d, U, Y, K;
1821
1853
  return {
1822
- [`b-data-grid-cell--${q.COLUMN_HOVERED}`]: (v == null ? void 0 : v.field) === e.hoveredOverColumnState.hoveredOverColumnField,
1823
- [`b-data-grid-cell--${q.COLUMN_HOVERED_NO_BORDER_LEFT}`]: (v == null ? void 0 : v.field) === e.hoveredOverColumnState.hoveredOverColumnField && e.hoveredOverColumnState.noBorderLeft,
1824
- [`b-data-grid-cell--${q.COLUMN_HOVERED_NO_BORDER_RIGHT}`]: (v == null ? void 0 : v.field) === e.hoveredOverColumnState.hoveredOverColumnField && e.hoveredOverColumnState.noBorderRight,
1825
- [`b-data-grid-cell--${q.PADDING_LEFT_UNSET}`]: ((I = v == null ? void 0 : v.padding) == null ? void 0 : I.left) === !1,
1826
- [`b-data-grid-cell--${q.PADDING_RIGHT_UNSET}`]: ((M = v == null ? void 0 : v.padding) == null ? void 0 : M.right) === !1,
1827
- [`b-data-grid-cell--${q.NUMERIC}`]: v == null ? void 0 : v.numeric,
1854
+ [`b-data-grid-cell--${q.COLUMN_HOVERED}`]: (m == null ? void 0 : m.field) === e.hoveredOverColumnState.hoveredOverColumnField,
1855
+ [`b-data-grid-cell--${q.COLUMN_HOVERED_NO_BORDER_LEFT}`]: (m == null ? void 0 : m.field) === e.hoveredOverColumnState.hoveredOverColumnField && e.hoveredOverColumnState.noBorderLeft,
1856
+ [`b-data-grid-cell--${q.COLUMN_HOVERED_NO_BORDER_RIGHT}`]: (m == null ? void 0 : m.field) === e.hoveredOverColumnState.hoveredOverColumnField && e.hoveredOverColumnState.noBorderRight,
1857
+ [`b-data-grid-cell--${q.PADDING_LEFT_UNSET}`]: ((I = m == null ? void 0 : m.padding) == null ? void 0 : I.left) === !1,
1858
+ [`b-data-grid-cell--${q.PADDING_RIGHT_UNSET}`]: ((F = m == null ? void 0 : m.padding) == null ? void 0 : F.right) === !1,
1859
+ [`b-data-grid-cell--${q.NUMERIC}`]: m == null ? void 0 : m.numeric,
1828
1860
  [`b-data-grid-cell--${q.CONDENSED}`]: e.condensed,
1829
- [`b-data-grid-cell--${q.OVERFLOW_ELLIPSIS}`]: (v == null ? void 0 : v.overflow) === Fe.ELLIPSIS,
1830
- [`b-data-grid-cell--${q.IS_COLUMN_REORDERING}`]: ((B = e.draggingColumns.dragging) == null ? void 0 : B.field) === v.field,
1831
- [`b-data-grid-cell--${q.IS_COLUMN_REORDERING_TARGET_LEFT}`]: ((c = e.draggingColumns.target) == null ? void 0 : c.field) === v.field && (($ = e.draggingColumns) == null ? void 0 : $.dragToLeft),
1832
- [`b-data-grid-cell--${q.IS_COLUMN_REORDERING_TARGET_RIGHT}`]: ((H = e.draggingColumns.target) == null ? void 0 : H.field) === v.field && !((Q = e.draggingColumns) != null && Q.dragToLeft),
1833
- [`b-data-grid-cell--${q.FROZEN}`]: v == null ? void 0 : v.frozen,
1861
+ [`b-data-grid-cell--${q.OVERFLOW_ELLIPSIS}`]: (m == null ? void 0 : m.overflow) === Fe.ELLIPSIS,
1862
+ [`b-data-grid-cell--${q.IS_COLUMN_REORDERING}`]: ((M = e.draggingColumns.dragging) == null ? void 0 : M.field) === m.field,
1863
+ [`b-data-grid-cell--${q.IS_COLUMN_REORDERING_TARGET_LEFT}`]: ((d = e.draggingColumns.target) == null ? void 0 : d.field) === m.field && ((U = e.draggingColumns) == null ? void 0 : U.dragToLeft),
1864
+ [`b-data-grid-cell--${q.IS_COLUMN_REORDERING_TARGET_RIGHT}`]: ((Y = e.draggingColumns.target) == null ? void 0 : Y.field) === m.field && !((K = e.draggingColumns) != null && K.dragToLeft),
1865
+ [`b-data-grid-cell--${q.FROZEN}`]: m == null ? void 0 : m.frozen,
1834
1866
  [`b-data-grid-cell--${q.NESTED_CONTENT_ENABLED}`]: e.nestedContent,
1835
- [`b-data-grid-cell--${q.ACTION_COL_NESTED_CONTENT_ENABLED}`]: e.nestedContent && !e.selectable && v.field === ne,
1836
- [`b-data-grid-cell--${q.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED}`]: e.nestedContent && e.selectable && v.field === ne,
1837
- [`b-data-grid-cell--${q.ACTION_COL_SELECTION_ENABLED}`]: v.field === ne && e.selectable,
1838
- [`b-data-grid-cell--${q.SLASHED_ZERO}`]: Y.value
1867
+ [`b-data-grid-cell--${q.ACTION_COL_NESTED_CONTENT_ENABLED}`]: e.nestedContent && !e.selectable && m.field === ne,
1868
+ [`b-data-grid-cell--${q.ACTION_COL_NESTED_CONTENT_AND_SELECTION_ENABLED}`]: e.nestedContent && e.selectable && m.field === ne,
1869
+ [`b-data-grid-cell--${q.ACTION_COL_SELECTION_ENABLED}`]: m.field === ne && e.selectable,
1870
+ [`b-data-grid-cell--${q.SLASHED_ZERO}`]: Z.value
1839
1871
  };
1840
- }, K = C(() => ({
1841
- "b-data-grid-cell__cell-content--is-focused-on-inside-interactive-element": T.value
1872
+ }, j = C(() => ({
1873
+ "b-data-grid-cell__cell-content--is-focused-on-inside-interactive-element": L.value
1842
1874
  }));
1843
1875
  return t({
1844
1876
  gridcellRef: i
1845
- }), { __sfc: !0, slots: o, hasSlot: l, t: a, props: e, emit: n, gridcellRef: i, cellActionsRef: f, shouldShowCellActions: d, childrenMenuContainerElements: E, isFocused: u, focusableItems: R, hasEverBeenFocused: m, hasRowData: w, controlledNestedRowElementIds: N, ariaHidden: g, tabIndex: L, conditionalTitleAttribute: h, getRowData: _, sumColumnAmountsInColumnSets: b, getColIndex: O, getCellIndex: A, isLeavingCellFocus: r, onMenuClose: p, hasInteractiveElFocusedInside: T, getGridcellEvents: W, toggleNestedContent: Z, registerMenuContainerElement: k, menuMouseLeave: X, hasSlashedZero: Y, conditionalRowCellClasses: j, computedCellContentClasses: K, DATAGRID_ACTIONS_COLUMN_FIELD_NAME: ne, BentoCheckbox: yt, BentoTypography: be, BentoToggleButton: ke, DataGridCellActions: It, ChevronDownIcon: jn, ChevronUpIcon: qn };
1877
+ }), { __sfc: !0, slots: o, hasSlot: l, t: a, props: e, emit: n, gridcellRef: i, cellActionsRef: u, shouldShowCellActions: r, childrenMenuContainerElements: E, isFocused: h, focusableItems: y, hasEverBeenFocused: p, hasRowData: c, controlledNestedRowElementIds: O, ariaHidden: f, tabIndex: A, conditionalTitleAttribute: w, getRowData: v, sumColumnAmountsInColumnSets: S, getColIndex: N, getCellIndex: T, isLeavingCellFocus: g, onMenuClose: _, hasInteractiveElFocusedInside: L, getGridcellEvents: z, toggleNestedContent: V, registerMenuContainerElement: W, menuMouseLeave: J, hasSlashedZero: Z, conditionalRowCellClasses: Q, computedCellContentClasses: j, DATAGRID_ACTIONS_COLUMN_FIELD_NAME: ne, BentoCheckbox: Lt, BentoTypography: Se, BentoToggleButton: ke, DataGridCellActions: Dt, ChevronDownIcon: Qn, ChevronUpIcon: es };
1846
1878
  }
1847
1879
  });
1848
- var qo = function() {
1880
+ var Xo = function() {
1849
1881
  var o;
1850
1882
  var t = this, n = t._self._c, e = t._self._setupProxy;
1851
1883
  return n("div", t._g({ key: `cell-${t.column.field}`, ref: "gridcellRef", staticClass: "b-data-grid-cell", class: e.conditionalRowCellClasses(t.column), style: {
@@ -1856,19 +1888,19 @@ var qo = function() {
1856
1888
  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") } })];
1857
1889
  }, proxy: !0 }], null, !1, 1879847906) })] : t._e()] : [n(e.BentoTypography, { staticClass: "b-data-grid-cell__cell-content", class: e.computedCellContentClasses, attrs: { el: "div", "data-testid": "cell-content" } }, [t._t(`item-${t.column.field}`, function() {
1858
1890
  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])))])];
1859
- }, { item: t.rowData, rowIndex: t.rowIndex })], 2), ((o = t.column.cellActions) == null ? void 0 : o.length) > 0 ? n("div", { staticClass: "b-data-grid-cell__cell-actions" }, [e.shouldShowCellActions && (e.hasRowData || e.hasSlot(`item-${t.column.field}`)) ? n(e.DataGridCellActions, { ref: "cellActionsRef", attrs: { "cell-actions": t.column.cellActions, "column-key": t.column.field, "row-data-item": t.rowData, "teleport-menu": "" }, on: { "menu-item-click": e.onMenuClose } }) : t._e()], 1) : t._e()]], 2);
1860
- }, Yo = [], Ko = /* @__PURE__ */ V(
1861
- jo,
1862
- qo,
1863
- Yo,
1891
+ }, { 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, "has-zebra-background": t.hasZebraBackground, "teleport-menu": "" }, on: { "menu-item-click": e.onMenuClose } }) : t._e()], 1) : t._e()]], 2);
1892
+ }, Jo = [], Qo = /* @__PURE__ */ H(
1893
+ Ko,
1894
+ Xo,
1895
+ Jo,
1864
1896
  !1,
1865
1897
  null,
1866
- "2c1267a6"
1898
+ "b6764a2e"
1867
1899
  );
1868
- const Xo = Ko.exports, Jo = {
1900
+ const el = Qo.exports, tl = {
1869
1901
  name: "data-grid-row"
1870
- }, Qo = /* @__PURE__ */ ie({
1871
- ...Jo,
1902
+ }, nl = /* @__PURE__ */ de({
1903
+ ...tl,
1872
1904
  props: {
1873
1905
  /**
1874
1906
  * Row actions property that generates which button to show in row actions area
@@ -1974,6 +2006,14 @@ const Xo = Ko.exports, Jo = {
1974
2006
  type: Function,
1975
2007
  default: () => !1
1976
2008
  },
2009
+ /**
2010
+ * If the row is of an even number.
2011
+ * Rows are 0th based index e.g. index 0 is an odd-numbered row.
2012
+ */
2013
+ isRowEven: {
2014
+ type: Boolean,
2015
+ default: !1
2016
+ },
1977
2017
  /**
1978
2018
  * If the row is the last child in it's parent container.
1979
2019
  */
@@ -2068,40 +2108,40 @@ const Xo = Ko.exports, Jo = {
2068
2108
  },
2069
2109
  emits: ["cell-hovered", "on-frozen-columns-key-press", "select-row", "select-nested-row", "row-click", "nested-content-toggled"],
2070
2110
  setup(s, { expose: t, emit: n }) {
2071
- const e = s, o = $e(), l = ze(o), a = y({}), i = y(!1), f = y(), d = y(), E = xe("nested-content-slot"), u = y(!1), R = y();
2072
- Se(() => {
2073
- d.value && (R.value = _e(d.value));
2111
+ const e = s, o = Ue(), l = $e(o), a = R({}), i = R(!1), u = R(), r = R(), E = xe("nested-content-slot"), h = R(!1), y = R();
2112
+ be(() => {
2113
+ r.value && (y.value = _e(r.value));
2074
2114
  });
2075
- const m = C(() => e.shouldShowNestedRows(e.rowData)), w = C(
2115
+ const p = C(() => e.shouldShowNestedRows(e.rowData)), c = C(
2076
2116
  () => {
2077
- var S, F;
2078
- return !e.isNestedRow && e.hasNestedRows && m.value && ((F = (S = e.rowData) == null ? void 0 : S.children) == null ? void 0 : F.length) > 0;
2117
+ var b, B;
2118
+ return !e.isNestedRow && e.hasNestedRows && p.value && ((B = (b = e.rowData) == null ? void 0 : b.children) == null ? void 0 : B.length) > 0;
2079
2119
  }
2080
- ), N = C(
2120
+ ), O = C(
2081
2121
  () => {
2082
- var S, F;
2083
- return !e.isNestedRow && e.hasNestedRows && m.value && (((S = e.rowData) == null ? void 0 : S.children) === void 0 || ((F = e == null ? void 0 : e.rowData) == null ? void 0 : F.children.length) === 0);
2122
+ var b, B;
2123
+ return !e.isNestedRow && e.hasNestedRows && p.value && (((b = e.rowData) == null ? void 0 : b.children) === void 0 || ((B = e == null ? void 0 : e.rowData) == null ? void 0 : B.children.length) === 0);
2084
2124
  }
2085
- ), g = C(
2086
- () => e.hasNestedContent && e.shouldShowNestedContent(e.rowData) || e.hasNestedRows && m.value && !e.isNestedRow
2087
- ), L = C(() => {
2125
+ ), f = C(
2126
+ () => e.hasNestedContent && e.shouldShowNestedContent(e.rowData) || e.hasNestedRows && p.value && !e.isNestedRow
2127
+ ), A = C(() => {
2088
2128
  if (e.hasNestedContent || e.hasNestedRows) {
2089
- const S = i.value.toString();
2129
+ const b = i.value.toString();
2090
2130
  return {
2091
- "aria-expanded": g.value ? S : void 0,
2131
+ "aria-expanded": f.value ? b : void 0,
2092
2132
  "aria-level": e.isNestedRow ? "2" : "1",
2093
2133
  "aria-posinset": e.rowIndex + 1,
2094
2134
  "aria-setsize": e.rowSetSize
2095
2135
  };
2096
2136
  }
2097
2137
  return { "aria-rowindex": e.rowIndex + 1 };
2098
- }), h = C(() => {
2099
- if (N.value)
2138
+ }), w = C(() => {
2139
+ if (O.value)
2100
2140
  return {
2101
2141
  "aria-busy": "true",
2102
2142
  "aria-live": "polite"
2103
2143
  };
2104
- if (!(w.value || !e.hasNestedContent || !e.shouldShowNestedContent(e.rowData)))
2144
+ if (!(c.value || !e.hasNestedContent || !e.shouldShowNestedContent(e.rowData)))
2105
2145
  return {
2106
2146
  "aria-level": e.isNestedRow ? "3" : "2",
2107
2147
  "aria-posinset": "1",
@@ -2110,144 +2150,145 @@ const Xo = Ko.exports, Jo = {
2110
2150
  role: "row",
2111
2151
  tabindex: "-1"
2112
2152
  };
2113
- }), _ = C(() => {
2114
- var S, F;
2115
- return w.value ? (F = (S = e.rowData) == null ? void 0 : S.children) == null ? void 0 : F.reduce((z, U, ee) => (z[ee] = xe("nested-row"), z), {}) : [];
2116
- }), b = C(() => {
2117
- var S;
2153
+ }), v = C(() => {
2154
+ var b, B;
2155
+ return c.value ? (B = (b = e.rowData) == null ? void 0 : b.children) == null ? void 0 : B.reduce((P, X, $) => (P[$] = xe("nested-row"), P), {}) : [];
2156
+ }), S = C(() => {
2157
+ var b;
2118
2158
  if (i.value) {
2119
2159
  if (e.hasNestedContent && e.shouldShowNestedContent(e.rowData))
2120
2160
  return [E];
2121
- if (w.value && ((S = Object.keys(_.value)) == null ? void 0 : S.length) > 0) {
2122
- const F = Object.values(_.value);
2123
- if ((F == null ? void 0 : F.length) > 0)
2124
- return F;
2161
+ if (c.value && ((b = Object.keys(v.value)) == null ? void 0 : b.length) > 0) {
2162
+ const B = Object.values(v.value);
2163
+ if ((B == null ? void 0 : B.length) > 0)
2164
+ return B;
2125
2165
  }
2126
2166
  return [];
2127
2167
  }
2128
- }), O = C(() => {
2129
- var F, z;
2130
- const S = (z = (F = e.rowData) == null ? void 0 : F.children) == null ? void 0 : z.map((U) => e.getDataItemId(U));
2131
- if ((S == null ? void 0 : S.length) > 0) {
2132
- const U = S.every((Ce) => {
2133
- var de;
2134
- return (de = e == null ? void 0 : e.selectedItems) == null ? void 0 : de.includes(Ce);
2135
- }), ee = S.some((Ce) => {
2136
- var de;
2137
- return (de = e == null ? void 0 : e.selectedItems) == null ? void 0 : de.includes(Ce);
2168
+ }), N = C(() => {
2169
+ var B, P;
2170
+ const b = (P = (B = e.rowData) == null ? void 0 : B.children) == null ? void 0 : P.map((X) => e.getDataItemId(X));
2171
+ if ((b == null ? void 0 : b.length) > 0) {
2172
+ const X = b.every((ue) => {
2173
+ var fe;
2174
+ return (fe = e == null ? void 0 : e.selectedItems) == null ? void 0 : fe.includes(ue);
2175
+ }), $ = b.some((ue) => {
2176
+ var fe;
2177
+ return (fe = e == null ? void 0 : e.selectedItems) == null ? void 0 : fe.includes(ue);
2138
2178
  });
2139
- return !U && ee;
2179
+ return !X && $;
2140
2180
  }
2141
2181
  return !1;
2142
- }), A = (S, F) => {
2143
- const z = S;
2144
- S !== null && (z != null && z.gridcellRef) && (a.value[F] = z.gridcellRef);
2145
- }, r = (S) => _.value[S], p = (S) => {
2182
+ }), T = (b, B) => {
2183
+ const P = b;
2184
+ b !== null && (P != null && P.gridcellRef) && (a.value[B] = P.gridcellRef);
2185
+ }, g = (b) => v.value[b], _ = (b) => {
2146
2186
  if (!e.selectable)
2147
2187
  return null;
2148
- const F = e.getDataItemId(S);
2149
- return e.selectedItems.includes(F).toString();
2150
- }, T = (S) => {
2151
- var U;
2188
+ const B = e.getDataItemId(b);
2189
+ return e.selectedItems.includes(B).toString();
2190
+ }, L = (b) => {
2191
+ var X;
2152
2192
  if (!e.allowRowClicks)
2153
2193
  return;
2154
- let F = !1;
2155
- const z = ["button", "input", "a"];
2156
- for (let ee = 0; ee < z.length; ee++)
2157
- if ((U = S == null ? void 0 : S.target) != null && U.closest(z[ee])) {
2158
- F = !0;
2194
+ let B = !1;
2195
+ const P = ["button", "input", "a"];
2196
+ for (let $ = 0; $ < P.length; $++)
2197
+ if ((X = b == null ? void 0 : b.target) != null && X.closest(P[$])) {
2198
+ B = !0;
2159
2199
  break;
2160
2200
  }
2161
- F || n("row-click", e.rowData, S);
2162
- }, W = (S) => {
2163
- n("select-row", S, e.rowData);
2164
- }, Z = (S, F) => {
2165
- n("select-nested-row", F, e.rowData, S);
2166
- }, k = () => {
2167
- u.value = !0;
2168
- }, X = () => {
2169
- u.value = !1;
2170
- }, Y = () => {
2171
- var S;
2172
- At([(S = R.value) == null ? void 0 : S[0]]), We(d.value);
2173
- }, j = () => {
2174
- _e(d.value);
2175
- }, K = (S) => {
2176
- var F, z;
2177
- S.key !== le.TAB && _e(d.value), S.key === le.ARROW_RIGHT && ((F = R.value) == null ? void 0 : F.length) > 1 && R.value[0].node === document.activeElement ? (_e(d.value), R.value[1].node.setAttribute("tabindex", "0"), R.value[1].node.focus(), S.stopPropagation(), S.preventDefault()) : S.key === le.ARROW_LEFT && ((z = R.value) == null ? void 0 : z.length) > 1 && R.value[1].node === document.activeElement && (_e(d.value), R.value[0].node.setAttribute("tabindex", "0"), R.value[0].node.focus(), S.stopPropagation(), S.preventDefault());
2178
- }, v = () => e.columnSets.reduce((S, { columnSet: F }) => S + F.length, 0), I = () => v() * e.rowIndex + v(), { updateContentHeight: M, contentHeight: B } = Wn(f, i), c = C(() => {
2179
- var S;
2201
+ B || n("row-click", e.rowData, b);
2202
+ }, z = (b) => {
2203
+ n("select-row", b, e.rowData);
2204
+ }, V = (b, B) => {
2205
+ n("select-nested-row", B, e.rowData, b);
2206
+ }, W = () => {
2207
+ h.value = !0;
2208
+ }, J = () => {
2209
+ h.value = !1;
2210
+ }, Z = () => {
2211
+ var b;
2212
+ Tt([(b = y.value) == null ? void 0 : b[0]]), We(r.value);
2213
+ }, Q = () => {
2214
+ _e(r.value);
2215
+ }, j = (b) => {
2216
+ var B, P;
2217
+ b.key !== le.TAB && _e(r.value), b.key === le.ARROW_RIGHT && ((B = y.value) == null ? void 0 : B.length) > 1 && y.value[0].node === document.activeElement ? (_e(r.value), y.value[1].node.setAttribute("tabindex", "0"), y.value[1].node.focus(), b.stopPropagation(), b.preventDefault()) : b.key === le.ARROW_LEFT && ((P = y.value) == null ? void 0 : P.length) > 1 && y.value[1].node === document.activeElement && (_e(r.value), y.value[0].node.setAttribute("tabindex", "0"), y.value[0].node.focus(), b.stopPropagation(), b.preventDefault());
2218
+ }, m = () => e.columnSets.reduce((b, { columnSet: B }) => b + B.length, 0), I = () => m() * e.rowIndex + m(), { updateContentHeight: F, contentHeight: M } = Vn(u, i), d = C(() => {
2219
+ var b;
2180
2220
  if (e.hasNestedContent || e.hasNestedRows)
2181
2221
  return {
2182
- paddingLeft: `${w.value || N.value ? 0 : a.value[ne].clientWidth + Lt}px`,
2183
- "max-height": (e.hasNestedContent || e.hasNestedRows) && B.value && !((S = B == null ? void 0 : B.value) != null && S.includes("null")) ? B.value : 0
2222
+ paddingLeft: `${c.value || O.value ? 0 : a.value[ne].clientWidth + Ot}px`,
2223
+ "max-height": (e.hasNestedContent || e.hasNestedRows) && M.value && !((b = M == null ? void 0 : M.value) != null && b.includes("null")) ? M.value : 0
2184
2224
  };
2185
2225
  });
2186
2226
  oe(
2187
- () => f.value,
2227
+ () => u.value,
2188
2228
  () => {
2189
- let S = null;
2190
- !S && f.value && (S = Pe(f.value, () => {
2191
- f.value && M();
2229
+ let b = null;
2230
+ !b && u.value && (b = Pe(u.value, () => {
2231
+ u.value && F();
2192
2232
  }));
2193
2233
  }
2194
2234
  );
2195
- const $ = () => {
2196
- i.value = !i.value, M(), n("nested-content-toggled", e.rowData);
2235
+ const U = () => {
2236
+ i.value = !i.value, F(), n("nested-content-toggled", e.rowData);
2197
2237
  };
2198
2238
  oe(
2199
2239
  () => {
2200
- var S;
2201
- return (S = e.rowData) == null ? void 0 : S.children;
2240
+ var b;
2241
+ return (b = e.rowData) == null ? void 0 : b.children;
2202
2242
  },
2203
- (S, F) => {
2204
- var z, U;
2205
- ((U = (z = e == null ? void 0 : e.rowData) == null ? void 0 : z.children) == null ? void 0 : U.length) > 0 && F === void 0 && !i.value && M();
2243
+ (b, B) => {
2244
+ var P, X;
2245
+ ((X = (P = e == null ? void 0 : e.rowData) == null ? void 0 : P.children) == null ? void 0 : X.length) > 0 && B === void 0 && !i.value && F();
2206
2246
  }
2207
2247
  );
2208
- const H = (S, F) => ({
2209
- "b-data-grid-row-container__row--disabled": e.isDataItemDisabled(S),
2248
+ const Y = (b, B) => ({
2249
+ "b-data-grid-row-container__row--disabled": e.isDataItemDisabled(b),
2210
2250
  "b-data-grid-row-container__row--row-clicks-enabled": e.allowRowClicks,
2211
- "b-data-grid-row-container__row--highlighted": e.highlightedRows.includes(e.getDataItemId(S)) || e.selectedItems.includes(e.getDataItemId(S)),
2212
- "b-data-grid-row-container__row--hovered": e.hoveredRowIndex === F,
2251
+ "b-data-grid-row-container__row--highlighted": e.highlightedRows.includes(e.getDataItemId(b)) || e.selectedItems.includes(e.getDataItemId(b)),
2252
+ "b-data-grid-row-container__row--hovered": e.hoveredRowIndex === B,
2213
2253
  "b-data-grid-row-container__row--is-last-child": e.isRowLastChild && !i.value,
2214
- "b-data-grid-row-container__row--nested-row": e.isNestedRow
2215
- }), Q = (S) => ({
2216
- "b-data-grid-row-container__row-cell-set--frozen": S,
2217
- [`b-data-grid-row-container__row-cell-set--${re.OVERFLOW_SHADOW_LEFT}`]: S && e.hasLeftOverflow,
2218
- "b-data-grid-row-container__row-cell-set--frozen-separator": S && e.showFrozenColumnsSeparator,
2219
- "b-data-grid-row-container__row-cell-set--unfrozen": !S,
2254
+ "b-data-grid-row-container__row--nested-row": e.isNestedRow,
2255
+ "b-data-grid-row-container__row--zebra": e.isRowEven
2256
+ }), K = (b) => ({
2257
+ "b-data-grid-row-container__row-cell-set--frozen": b,
2258
+ [`b-data-grid-row-container__row-cell-set--${re.OVERFLOW_SHADOW_LEFT}`]: b && e.hasLeftOverflow,
2259
+ "b-data-grid-row-container__row-cell-set--frozen-separator": b && e.showFrozenColumnsSeparator,
2260
+ "b-data-grid-row-container__row-cell-set--unfrozen": !b,
2220
2261
  "b-data-grid-row-container__row-cell-set--is-measuring": e.isMeasuringColumnWidths
2221
2262
  }), ae = C(() => ({
2222
2263
  "b-data-grid-row-container__row-nested-slot--is-last-child": e.isRowLastChild,
2223
- "b-data-grid-row-container__row-nested-slot": !w.value && e.shouldShowNestedContent(e.rowData)
2264
+ "b-data-grid-row-container__row-nested-slot": !c.value && e.shouldShowNestedContent(e.rowData)
2224
2265
  })), me = C(() => ({
2225
- "b-data-grid-row-container__row-actions-container--row-actions-menu-open": u.value
2226
- })), fe = C(() => ({
2266
+ "b-data-grid-row-container__row-actions-container--row-actions-menu-open": h.value
2267
+ })), Ce = C(() => ({
2227
2268
  minWidth: `${e.rowActionsMaximumWidth}px`
2228
2269
  }));
2229
2270
  return t({
2230
2271
  gridcellRefs: a,
2231
- rowActionsRef: d
2232
- }), { __sfc: !0, slots: o, hasSlot: l, props: e, emit: n, gridcellRefs: a, isNestedContentShown: i, nestedContentRef: f, rowActionsRef: d, nestedContentSlotId: E, isRowActionMenuOpen: u, focusableItems: R, shouldShowNestedRowsBooleanResult: m, shouldShowRenderNestedRows: w, isLoadingNestedRows: N, shouldShowNestedContentToggle: g, ariaRowAttributes: L, nestedContentContainerDivAriaAttributes: h, nestedRowIds: _, allNestedRowIds: b, hasUnSelectedNestedRows: O, registerRowCellRef: A, getRowId: r, getRowAriaSelectedValue: p, onRowClick: T, onRowSelect: W, onNestedRowSelect: Z, onRowActionMenuOpen: k, onRowActionMenuClose: X, onRowActionsCellFocus: Y, onRowActionsCellFocusOut: j, onRowActionsCellOnKeyDown: K, sumColumnAmountsInColumnSets: v, getRowActionsCellIndex: I, updateContentHeight: M, contentHeight: B, nestedContentStyles: c, nestedContentToggled: $, conditionalRowClasses: H, conditionalRowSetClasses: Q, conditionalNestedRowClasses: ae, conditionalRowActionsContainerClasses: me, computedRowActionsStyles: fe, DataGridCell: Xo, DataGridCellActions: It, BentoLoadingIndicator: Ue, DataGridRow: Dt };
2272
+ rowActionsRef: r
2273
+ }), { __sfc: !0, slots: o, hasSlot: l, props: e, emit: n, gridcellRefs: a, isNestedContentShown: i, nestedContentRef: u, rowActionsRef: r, nestedContentSlotId: E, isRowActionMenuOpen: h, focusableItems: y, shouldShowNestedRowsBooleanResult: p, shouldShowRenderNestedRows: c, isLoadingNestedRows: O, shouldShowNestedContentToggle: f, ariaRowAttributes: A, nestedContentContainerDivAriaAttributes: w, nestedRowIds: v, allNestedRowIds: S, hasUnSelectedNestedRows: N, registerRowCellRef: T, getRowId: g, getRowAriaSelectedValue: _, onRowClick: L, onRowSelect: z, onNestedRowSelect: V, onRowActionMenuOpen: W, onRowActionMenuClose: J, onRowActionsCellFocus: Z, onRowActionsCellFocusOut: Q, onRowActionsCellOnKeyDown: j, sumColumnAmountsInColumnSets: m, getRowActionsCellIndex: I, updateContentHeight: F, contentHeight: M, nestedContentStyles: d, nestedContentToggled: U, conditionalRowClasses: Y, conditionalRowSetClasses: K, conditionalNestedRowClasses: ae, conditionalRowActionsContainerClasses: me, computedRowActionsStyles: Ce, DataGridCell: el, DataGridCellActions: Dt, BentoLoadingIndicator: ze, DataGridRow: Ft };
2233
2274
  }
2234
2275
  });
2235
- var el = function() {
2276
+ var sl = function() {
2236
2277
  var o;
2237
2278
  var t = this, n = t._self._c, e = t._self._setupProxy;
2238
2279
  return n("div", { staticClass: "b-data-grid-row-container" }, [n("div", t._b({ key: t.rowIndex, staticClass: "b-data-grid-row-container__row", class: e.conditionalRowClasses(t.rowData, t.rowIndex), attrs: { id: (o = t.rowId) == null ? void 0 : o.toString(), role: "row", "aria-selected": e.getRowAriaSelectedValue(t.rowData) }, on: { click: e.onRowClick, keyup: [function(l) {
2239
2280
  return !l.type.indexOf("key") && t._k(l.keyCode, "enter", 13, l.key, "Enter") ? null : e.onRowClick.apply(null, arguments);
2240
2281
  }, function(l) {
2241
2282
  return !l.type.indexOf("key") && t._k(l.keyCode, "space", 32, l.key, [" ", "Spacebar"]) ? null : e.onRowClick.apply(null, arguments);
2242
- }] } }, "div", e.ariaRowAttributes, !1), [t._l(t.columnSets, function({ columnSet: l, id: a, isFrozenColumns: i }, f) {
2243
- return [l != null && l.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(l, function(d, E) {
2244
- return n(e.DataGridCell, { key: `cell-${d.field}`, ref: (u) => e.registerRowCellRef(u, d.field), refInFor: !0, staticClass: "b-data-grid-row-container__cell", attrs: { column: d, "column-set-index": f, "col-index": E, "column-sets": t.columnSets, condensed: t.condensed, "dragging-columns": t.draggingColumns, "dragging-events-for-row-cell": t.draggingEventsForRowCell, "get-data-item-id": t.getDataItemId, "hovered-over-column-state": t.hoveredOverColumnState, "is-data-item-disabled": t.isDataItemDisabled, "is-measuring-column-widths": t.isMeasuringColumnWidths, "is-nested-content-expanded": e.isNestedContentShown, "nested-content": e.shouldShowNestedContentToggle, "nested-rows-element-ids": e.allNestedRowIds, "row-data": t.rowData, "row-index": t.rowIndex, "selection-is-indeterminate": e.hasUnSelectedNestedRows, selectable: t.selectable, "selected-items": t.selectedItems }, on: { "cell-hovered": function(u) {
2245
- return e.emit("cell-hovered", u);
2246
- }, "on-frozen-columns-key-press": function(u) {
2247
- return e.emit("on-frozen-columns-key-press", u);
2248
- }, "select-row": e.onRowSelect, "nested-content-toggled": e.nestedContentToggled }, scopedSlots: t._u([t._l(e.slots, function(u, R) {
2249
- return { key: R, fn: function(m) {
2250
- return [t._t(R, null, null, m)];
2283
+ }] } }, "div", e.ariaRowAttributes, !1), [t._l(t.columnSets, function({ columnSet: l, id: a, isFrozenColumns: i }, u) {
2284
+ return [l != null && l.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(l, function(r, E) {
2285
+ return n(e.DataGridCell, { key: `cell-${r.field}`, ref: (h) => e.registerRowCellRef(h, r.field), refInFor: !0, staticClass: "b-data-grid-row-container__cell", attrs: { column: r, "column-set-index": u, "col-index": E, "column-sets": t.columnSets, condensed: t.condensed, "dragging-columns": t.draggingColumns, "dragging-events-for-row-cell": t.draggingEventsForRowCell, "get-data-item-id": t.getDataItemId, "has-zebra-background": t.isRowEven, "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(h) {
2286
+ return e.emit("cell-hovered", h);
2287
+ }, "on-frozen-columns-key-press": function(h) {
2288
+ return e.emit("on-frozen-columns-key-press", h);
2289
+ }, "select-row": e.onRowSelect, "nested-content-toggled": e.nestedContentToggled }, scopedSlots: t._u([t._l(e.slots, function(h, y) {
2290
+ return { key: y, fn: function(p) {
2291
+ return [t._t(y, null, null, p)];
2251
2292
  } };
2252
2293
  })], null, !0) });
2253
2294
  }), 1) : t._e(), !i && t.rowActions ? n("div", { key: `data-grid-row-actions-${a}`, ref: "rowActionsRef", refInFor: !0, staticClass: "b-data-grid-row-container__row-actions-container", class: e.conditionalRowActionsContainerClasses, style: e.computedRowActionsStyles, attrs: { "aria-colindex": e.sumColumnAmountsInColumnSets().toString(), "data-cellindex": e.getRowActionsCellIndex(), tabindex: "-1", role: "gridcell" }, on: { focus: e.onRowActionsCellFocus, focusOut: e.onRowActionsCellFocusOut, keydown: e.onRowActionsCellOnKeyDown } }, [n(e.DataGridCellActions, { staticClass: "b-data-grid-row-container__row-actions", attrs: { "disable-arrow-down-opening-menu": "", "cell-actions": t.rowActions, "has-right-overflow": t.hasRightOverflow, "row-data-item": t.rowData, "teleport-menu": "" }, on: { "menu-open": e.onRowActionMenuOpen, "menu-close": e.onRowActionMenuClose } })], 1) : t._e()];
@@ -2260,40 +2301,40 @@ var el = function() {
2260
2301
  return e.emit("on-frozen-columns-key-press", i);
2261
2302
  }, "select-row": function(i) {
2262
2303
  return e.onNestedRowSelect(l, i);
2263
- } }, scopedSlots: t._u([t._l(e.slots, function(i, f) {
2264
- return { key: f, fn: function(d) {
2265
- return [t._t(f, null, null, d)];
2304
+ } }, scopedSlots: t._u([t._l(e.slots, function(i, u) {
2305
+ return { key: u, fn: function(r) {
2306
+ return [t._t(u, null, null, r)];
2266
2307
  } };
2267
2308
  })], null, !0) }, "data-grid-row", e.props, !1));
2268
2309
  }) : 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);
2269
- }, tl = [], nl = /* @__PURE__ */ V(
2270
- Qo,
2271
- el,
2272
- tl,
2310
+ }, ol = [], ll = /* @__PURE__ */ H(
2311
+ nl,
2312
+ sl,
2313
+ ol,
2273
2314
  !1,
2274
2315
  null,
2275
- "4557cada"
2316
+ "400d0d87"
2276
2317
  );
2277
- const Dt = nl.exports;
2278
- let mt = 0;
2279
- const sl = {
2318
+ const Ft = ll.exports;
2319
+ let ht = 0;
2320
+ const al = {
2280
2321
  beforeCreate() {
2281
- this.uuid = mt.toString(), mt += 1;
2322
+ this.uuid = ht.toString(), ht += 1;
2282
2323
  }
2283
2324
  };
2284
- var ol = function() {
2325
+ var il = function() {
2285
2326
  var t = this, n = t._self._c;
2286
2327
  return n("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? n("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), n("g", { attrs: { "clip-path": "url(#uia-ui-assets/icons-16-warning_circle_fill__a" + t.uuid + ")" } }, [n("path", { attrs: { fill: "#001222", d: "M0.25 8C0.25 3.71979 3.71979 0.25 8 0.25C12.2802 0.25 15.75 3.71979 15.75 8C15.75 12.2802 12.2802 15.75 8 15.75C3.71979 15.75 0.25 12.2802 0.25 8ZM8.75 8.75V4.25H7.25V8.75H8.75ZM8 11.5C8.41421 11.5 8.75 11.1642 8.75 10.75C8.75 10.3358 8.41421 10 8 10C7.58579 10 7.25 10.3358 7.25 10.75C7.25 11.1642 7.58579 11.5 8 11.5Z" } })]), n("defs", [n("clipPath", { attrs: { id: "uia-ui-assets/icons-16-warning_circle_fill__a" + t.uuid } }, [n("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
2287
- }, ll = [], al = /* @__PURE__ */ V(
2288
- sl,
2289
- ol,
2290
- ll,
2328
+ }, rl = [], dl = /* @__PURE__ */ H(
2329
+ al,
2330
+ il,
2331
+ rl,
2291
2332
  !1,
2292
2333
  null,
2293
2334
  null
2294
2335
  );
2295
- const il = al.exports, rl = {}, dl = /* @__PURE__ */ ie({
2296
- ...rl,
2336
+ const cl = dl.exports, ul = {}, fl = /* @__PURE__ */ de({
2337
+ ...ul,
2297
2338
  __name: "data-grid-static-icon",
2298
2339
  props: {
2299
2340
  colored: { type: Boolean, default: !1 },
@@ -2304,36 +2345,36 @@ const il = al.exports, rl = {}, dl = /* @__PURE__ */ ie({
2304
2345
  const t = s, n = C(() => {
2305
2346
  switch (t.variant) {
2306
2347
  case "checkmark":
2307
- return Tn;
2348
+ return In;
2308
2349
  case "warning":
2309
- return On;
2350
+ return Dn;
2310
2351
  case "error":
2311
- return il;
2352
+ return cl;
2312
2353
  case "cross":
2313
- return pt;
2354
+ return bt;
2314
2355
  case "no-value":
2315
- return et;
2356
+ return nt;
2316
2357
  default:
2317
- return et;
2358
+ return nt;
2318
2359
  }
2319
2360
  }), e = C(() => ({
2320
2361
  "b-data-grid-static-icon--colored": t.colored && t.variant !== "no-value"
2321
- })), o = C(() => `b-data-grid-static-icon__${t.variant}`), l = C(() => In.AUTO);
2322
- return { __sfc: !0, props: t, computedIcon: n, conditionalClasses: e, computedIconClass: o, tooltipPosition: l, vBentoTooltipDirective: Nn };
2362
+ })), o = C(() => `b-data-grid-static-icon__${t.variant}`), l = C(() => xn.AUTO);
2363
+ return { __sfc: !0, props: t, computedIcon: n, conditionalClasses: e, computedIconClass: o, tooltipPosition: l, vBentoTooltipDirective: Fn };
2323
2364
  }
2324
2365
  });
2325
- var cl = function() {
2366
+ var gl = function() {
2326
2367
  var t = this, n = t._self._c, e = t._self._setupProxy;
2327
2368
  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);
2328
- }, ul = [], fl = /* @__PURE__ */ V(
2329
- dl,
2330
- cl,
2331
- ul,
2369
+ }, _l = [], vl = /* @__PURE__ */ H(
2370
+ fl,
2371
+ gl,
2372
+ _l,
2332
2373
  !1,
2333
2374
  null,
2334
- "f8532817"
2375
+ "dbc055cb"
2335
2376
  );
2336
- const Ca = fl.exports, gl = {
2377
+ const Ca = vl.exports, ml = {
2337
2378
  "de-DE": {
2338
2379
  numberResults: "1 Ergebnis | {count} Ergebnisse"
2339
2380
  },
@@ -2352,10 +2393,10 @@ const Ca = fl.exports, gl = {
2352
2393
  "pt-BR": {
2353
2394
  numberResults: "1 resultado | {count} resultados"
2354
2395
  }
2355
- }, _l = {
2356
- i18n: { messages: gl }
2357
- }, vl = /* @__PURE__ */ ie({
2358
- ..._l,
2396
+ }, Cl = {
2397
+ i18n: { messages: ml }
2398
+ }, hl = /* @__PURE__ */ de({
2399
+ ...Cl,
2359
2400
  __name: "data-grid-summary-cell",
2360
2401
  props: {
2361
2402
  label: null,
@@ -2365,47 +2406,47 @@ const Ca = fl.exports, gl = {
2365
2406
  tooltipText: { default: null }
2366
2407
  },
2367
2408
  setup(s) {
2368
- const t = s, { tc: n } = ue(), e = y(), o = C(() => {
2369
- var d;
2409
+ const t = s, { tc: n } = ce(), e = R(), o = C(() => {
2410
+ var r;
2370
2411
  return {
2371
2412
  popoverPosition: "right",
2372
2413
  // Default is right but can be overriden
2373
2414
  ...t.dashedUnderline,
2374
- popoverTitle: ((d = t == null ? void 0 : t.dashedUnderline) == null ? void 0 : d.popoverTitle) ?? t.label,
2415
+ popoverTitle: ((r = t == null ? void 0 : t.dashedUnderline) == null ? void 0 : r.popoverTitle) ?? t.label,
2375
2416
  // We force teleport as this is needed for the popover to appear above all the data grid elements
2376
2417
  teleport: {
2377
2418
  disabled: !1
2378
2419
  }
2379
2420
  };
2380
2421
  }), l = C(() => {
2381
- var d;
2382
- return ((d = t.searchTerm) == null ? void 0 : d.toLowerCase()) ?? "";
2383
- }), a = (d) => t.searchTerm && d.toLowerCase().includes(l.value) ? "mark" : "span", i = C(() => t.searchTerm ? t.items.filter((d) => d.toLowerCase().includes(l.value)).length : 0), f = C(
2422
+ var r;
2423
+ return ((r = t.searchTerm) == null ? void 0 : r.toLowerCase()) ?? "";
2424
+ }), a = (r) => t.searchTerm && r.toLowerCase().includes(l.value) ? "mark" : "span", i = C(() => t.searchTerm ? t.items.filter((r) => r.toLowerCase().includes(l.value)).length : 0), u = C(
2384
2425
  () => t.tooltipText ?? (i.value > 0 ? n("numberResults", i.value) : "")
2385
2426
  );
2386
- return { __sfc: !0, tc: n, props: t, dashedUnderlineRef: e, dashedUnderlineProps: o, lowerCaseSearchTerm: l, highlightedComponent: a, highlightedItemsCount: i, computedToolTipText: f, BentoDashedUnderline: Fn, BentoTypography: be, Tooltip: xn, BentoTooltipPosition: Dn };
2427
+ return { __sfc: !0, tc: n, props: t, dashedUnderlineRef: e, dashedUnderlineProps: o, lowerCaseSearchTerm: l, highlightedComponent: a, highlightedItemsCount: i, computedToolTipText: u, BentoDashedUnderline: Un, BentoTypography: Se, Tooltip: Mn, BentoTooltipPosition: Bn };
2387
2428
  }
2388
2429
  });
2389
- var ml = function() {
2430
+ var pl = function() {
2390
2431
  var t = this, n = t._self._c, e = t._self._setupProxy;
2391
2432
  return n("div", { staticClass: "b-data-grid-summary-cell" }, [t.items.length > 1 ? n(e.BentoDashedUnderline, t._b({ ref: "dashedUnderlineRef", scopedSlots: t._u([{ key: "popover-content", fn: function() {
2392
2433
  return [n(e.BentoTypography, { staticClass: "b-data-grid-summary-cell__popover-content" }, [n("ul", { staticClass: "b-data-grid-summary-cell__list" }, t._l(t.items, function(o) {
2393
2434
  return n("li", { key: o }, [n(e.highlightedComponent(o), { tag: "component" }, [t._v(t._s(o))])], 1);
2394
2435
  }), 0)])];
2395
2436
  }, proxy: !0 }], null, !1, 4023850623) }, "bento-dashed-underline", e.dashedUnderlineProps, !1), [t._v(" " + t._s(t.label) + " ")]) : [t._v(t._s(t.items[0]))], e.dashedUnderlineRef && e.computedToolTipText ? n(e.Tooltip, { attrs: { content: e.computedToolTipText, "disabled-focus-trap": !0, position: e.BentoTooltipPosition.RIGHT, "fallback-position": ["left", "bottom"], "is-shown": !!e.computedToolTipText, "target-element": e.dashedUnderlineRef } }) : t._e()], 2);
2396
- }, Cl = [], hl = /* @__PURE__ */ V(
2397
- vl,
2398
- ml,
2399
- Cl,
2437
+ }, wl = [], bl = /* @__PURE__ */ H(
2438
+ hl,
2439
+ pl,
2440
+ wl,
2400
2441
  !1,
2401
2442
  null,
2402
- "8250b534"
2443
+ "3a78b90f"
2403
2444
  );
2404
- const ha = hl.exports, pl = {
2405
- i18n: { messages: Ot },
2445
+ const ha = bl.exports, Sl = {
2446
+ i18n: { messages: It },
2406
2447
  name: "bento-data-grid"
2407
- }, wl = /* @__PURE__ */ ie({
2408
- ...pl,
2448
+ }, Rl = /* @__PURE__ */ de({
2449
+ ...Sl,
2409
2450
  props: {
2410
2451
  /**
2411
2452
  * When true, will emit a 'rowClick' event when a row is clicked. Will add cursor: pointer to rows.
@@ -2492,7 +2533,7 @@ const ha = hl.exports, pl = {
2492
2533
  * {@see BentoFilterValues}
2493
2534
  */
2494
2535
  filterValues: {
2495
- type: Ie.props.filterValues.type,
2536
+ type: Ne.props.filterValues.type,
2496
2537
  default: () => []
2497
2538
  },
2498
2539
  // TODO: Move this prop as a part of "config" BentoFilterBarModel = Array<BentoFilterModel | BentoFilterSearchModel> in Bento 2.0.
@@ -2509,7 +2550,7 @@ const ha = hl.exports, pl = {
2509
2550
  * Filter bar search term useful to filter all the data by text
2510
2551
  */
2511
2552
  filterSearchTerm: {
2512
- type: Ie.props.searchTerm.type,
2553
+ type: Ne.props.searchTerm.type,
2513
2554
  default: void 0
2514
2555
  },
2515
2556
  /**
@@ -2691,259 +2732,270 @@ const ha = hl.exports, pl = {
2691
2732
  truncateColumnHeaders: {
2692
2733
  type: Boolean,
2693
2734
  default: !1
2735
+ },
2736
+ /**
2737
+ * Toggles the alternating background color of rows.
2738
+ */
2739
+ zebraRows: {
2740
+ type: Boolean,
2741
+ default: !1
2694
2742
  }
2695
2743
  },
2696
2744
  emits: [
2697
- x.COLUMNS,
2698
- x.COLUMN_RESIZE,
2699
- x.ITEMS_PAGE,
2700
- x.FILTER_SEARCH_INPUT,
2701
- x.FILTER_SEARCH_CLEAR,
2702
- x.NAVIGATE,
2703
- x.NESTED_CONTENT_TOGGLED,
2704
- x.UPDATE_COLUMNS,
2705
- x.UPDATE_CONDENSED,
2706
- x.UPDATE_FILTER_VALUES,
2707
- x.UPDATE_FILTERS,
2708
- x.UPDATE_FILTER_SEARCH_TERM,
2709
- x.UPDATE_SHOW_MORE,
2710
- x.UPDATE_PAGINATION,
2711
- x.UPDATE_SELECTION,
2712
- x.UPDATE_SORT_BY,
2713
- x.ROW_CLICK,
2714
- x.SELECT,
2715
- x.SELECT_ALL_ACROSS_PAGES,
2716
- x.SORT
2745
+ D.COLUMNS,
2746
+ D.COLUMN_RESIZE,
2747
+ D.ITEMS_PAGE,
2748
+ D.FILTER_SEARCH_INPUT,
2749
+ D.FILTER_SEARCH_CLEAR,
2750
+ D.NAVIGATE,
2751
+ D.NESTED_CONTENT_TOGGLED,
2752
+ D.UPDATE_COLUMNS,
2753
+ D.UPDATE_CONDENSED,
2754
+ D.UPDATE_FILTER_VALUES,
2755
+ D.UPDATE_FILTERS,
2756
+ D.UPDATE_FILTER_SEARCH_TERM,
2757
+ D.UPDATE_SHOW_MORE,
2758
+ D.UPDATE_PAGINATION,
2759
+ D.UPDATE_SELECTION,
2760
+ D.UPDATE_SORT_BY,
2761
+ D.ROW_CLICK,
2762
+ D.SELECT,
2763
+ D.SELECT_ALL_ACROSS_PAGES,
2764
+ D.SORT
2717
2765
  ],
2718
2766
  setup(s, { expose: t, emit: n }) {
2719
- const e = s, o = $e(), l = ze(o), a = y(null), i = y(), f = y({}), d = y(null), E = y(null), u = y(), R = y(null), m = y(null), w = y(null), {
2720
- allowColumnDragAndDrop: N,
2721
- columns: g,
2722
- columnPanel: L,
2723
- data: h,
2724
- lazyLoadType: _,
2725
- loading: b,
2726
- hasNestedContent: O,
2727
- hasNestedRows: A,
2728
- selectable: r,
2729
- selection: p,
2730
- selectableAcrossPages: T,
2731
- stickyPagination: W,
2732
- outline: Z,
2733
- pagination: k
2734
- } = Be(e), X = y(-1), { t: Y } = ue(), j = C(() => H.value.filter((D) => D.frozen).length), K = De(
2735
- kn,
2767
+ const e = s, o = Ue(), l = $e(o), a = R(null), i = R(), u = R({}), r = R(null), E = R(null), h = R(), y = R(null), p = R(null), c = R(null), {
2768
+ allowColumnDragAndDrop: O,
2769
+ columns: f,
2770
+ columnPanel: A,
2771
+ data: w,
2772
+ lazyLoadType: v,
2773
+ loading: S,
2774
+ hasNestedContent: N,
2775
+ hasNestedRows: T,
2776
+ selectable: g,
2777
+ selection: _,
2778
+ selectableAcrossPages: L,
2779
+ stickyPagination: z,
2780
+ outline: V,
2781
+ pagination: W,
2782
+ zebraRows: J
2783
+ } = Me(e), Z = R(-1), { t: Q } = ce(), j = C(() => K.value.filter((x) => x.frozen).length), m = De(
2784
+ Hn,
2736
2785
  () => ({
2737
- additionalContentSlotRef: y(null),
2786
+ additionalContentSlotRef: R(null),
2738
2787
  isDataGridTemplate: !1,
2739
- stickyAditionalContent: y(!1),
2740
- stickyTabs: y(!1),
2741
- tabsRef: y(null)
2788
+ stickyAditionalContent: R(!1),
2789
+ stickyTabs: R(!1),
2790
+ tabsRef: R(null)
2742
2791
  })
2743
- ), { additionalContentSlotRef: v, isDataGridTemplate: I, stickyTabs: M, tabsRef: B, stickyAdditionalContent: c } = K(), $ = C(() => I ? 0 : null), {
2744
- columnDefs: H,
2745
- onColumnWidthOverride: Q,
2746
- gridRowWidthStyle: ae,
2747
- isMeasuringColumnWidths: me,
2748
- isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: fe,
2749
- columns: S,
2750
- totalWidthOfAllColumns: F,
2751
- rowActionsMaxWidth: z
2752
- } = Cs(g, h, a, f, d, {
2753
- hasColumnPanel: L,
2754
- hasSelectableColumn: r,
2755
- hasSelectableAcrossPages: T,
2756
- hasNestedContent: O,
2757
- hasNestedRows: A,
2758
- allowColumnDragAndDrop: N,
2759
- isDataGridTemplate: I
2760
- }), U = (D, ...P) => {
2761
- (D === x.COLUMNS || D === x.UPDATE_COLUMNS) && ([S.value] = P), n(D, ...P);
2762
- }, ee = ot(
2763
- B,
2792
+ ), { additionalContentSlotRef: I, isDataGridTemplate: F, stickyTabs: M, tabsRef: d, stickyAdditionalContent: U } = m(), Y = C(() => F ? 0 : null), {
2793
+ columnDefs: K,
2794
+ onColumnWidthOverride: ae,
2795
+ gridRowWidthStyle: me,
2796
+ isMeasuringColumnWidths: Ce,
2797
+ isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: b,
2798
+ columns: B,
2799
+ totalWidthOfAllColumns: P,
2800
+ rowActionsMaxWidth: X
2801
+ } = ws(f, w, a, u, r, {
2802
+ hasColumnPanel: A,
2803
+ hasSelectableColumn: g,
2804
+ hasSelectableAcrossPages: L,
2805
+ hasNestedContent: N,
2806
+ hasNestedRows: T,
2807
+ allowColumnDragAndDrop: O,
2808
+ isDataGridTemplate: F
2809
+ }), $ = (x, ...k) => {
2810
+ (x === D.COLUMNS || x === D.UPDATE_COLUMNS) && ([B.value] = k), n(x, ...k);
2811
+ }, ue = at(
2812
+ d,
2764
2813
  M,
2765
- c,
2766
- v
2767
- ), Ce = C(
2768
- () => e.stickyFilters ? `${ee.value}px` : null
2769
- ), de = ot(E, Ne(e, "stickyFilters")), xt = C(
2770
- () => `${de.value + ee.value}px`
2814
+ U,
2815
+ I
2816
+ ), fe = C(
2817
+ () => e.stickyFilters ? `${ue.value}px` : null
2818
+ ), Ge = at(E, Ie(e, "stickyFilters")), Bt = C(
2819
+ () => `${Ge.value + ue.value}px`
2771
2820
  ), {
2772
2821
  sortedColumns: Ee,
2773
- columnSets: Re,
2774
- isOnlyOneVisibleColumn: Ft,
2775
- onConfigSettingsUpdate: Mt,
2776
- onConfigSettingsColumnsUpdate: Bt,
2777
- onConfigSettingsColumnUpdate: $t
2778
- } = Es(H, U), { hoveredOverColumn: Ut, hoveredOverColumnState: zt } = Ls(
2779
- Re,
2780
- r,
2781
- Z,
2782
- fe
2783
- ), { draggingColumns: Pt, draggingEventsForColumns: kt, draggingEventsForRowCell: Wt, onMoveColumnByOffset: Gt } = ys(Ee, N, U), Ge = C(() => !!e.selectableAcrossPages && !!e.pagination), {
2784
- onAllRowSelect: Ht,
2785
- onRowSelect: Vt,
2786
- onNestedRowSelect: Zt,
2787
- onDeselectAll: jt,
2822
+ columnSets: ye,
2823
+ isOnlyOneVisibleColumn: Mt,
2824
+ internalZebraRows: He,
2825
+ onConfigSettingsColumnsUpdate: Ut,
2826
+ onConfigSettingsColumnUpdate: zt,
2827
+ onConfigSettingsCondensedUpdate: $t,
2828
+ onConfigSettingsZebraRowsUpdate: Pt
2829
+ } = As(K, J, $), { hoveredOverColumn: kt, hoveredOverColumnState: Wt } = Ts(
2830
+ ye,
2831
+ g,
2832
+ V,
2833
+ b
2834
+ ), { draggingColumns: Gt, draggingEventsForColumns: Ht, draggingEventsForRowCell: Vt, onMoveColumnByOffset: Zt } = Ls(Ee, O, $), Ve = C(() => !!e.selectableAcrossPages && !!e.pagination), {
2835
+ onAllRowSelect: jt,
2836
+ onRowSelect: qt,
2837
+ onNestedRowSelect: Yt,
2838
+ onDeselectAll: Kt,
2788
2839
  selectedItems: Le,
2789
- allItemsSelectedState: qt,
2790
- isEveryItemSelected: He,
2791
- isEveryItemAcrossPagesSelected: Ve
2792
- } = hs(
2793
- p,
2794
- U,
2795
- h,
2840
+ allItemsSelectedState: Xt,
2841
+ isEveryItemSelected: Ze,
2842
+ isEveryItemAcrossPagesSelected: je
2843
+ } = bs(
2844
+ _,
2845
+ $,
2846
+ w,
2796
2847
  e.getDataItemId,
2797
2848
  e.isDataItemDisabled,
2798
- Ge,
2799
- k
2800
- ), { navigationInput: Yt } = ws(
2801
- d,
2802
- f,
2803
- Ee,
2849
+ Ve,
2850
+ W
2851
+ ), { navigationInput: Jt } = Rs(
2804
2852
  r,
2853
+ u,
2854
+ Ee,
2855
+ g,
2805
2856
  C(() => e.rowActions !== void 0),
2806
- L
2807
- ), { isLazyLoad: Ae, isInfiniteScroll: Kt, verticalScrollPosition: Ze, emitLazyLoadEvent: Xt } = bs(
2808
- _,
2809
- m,
2857
+ A
2858
+ ), { isLazyLoad: Ae, isInfiniteScroll: Qt, verticalScrollPosition: qe, emitLazyLoadEvent: en } = ys(
2859
+ v,
2860
+ p,
2810
2861
  a,
2811
- b,
2812
- U
2862
+ S,
2863
+ $
2813
2864
  ), {
2814
- updateScrollPosition: Jt,
2815
- updateScrollPositionOnFrozenColumnsNavigation: Qt,
2816
- syncVirtualScrollerWithBody: en,
2817
- hasLeftOverflow: Te,
2818
- hasRightOverflow: je,
2819
- horizontalScrollbarConditionalStyles: tn
2820
- } = Rs(
2865
+ updateScrollPosition: tn,
2866
+ updateScrollPositionOnFrozenColumnsNavigation: nn,
2867
+ syncVirtualScrollerWithBody: sn,
2868
+ hasLeftOverflow: Oe,
2869
+ hasRightOverflow: Ye,
2870
+ horizontalScrollbarConditionalStyles: on
2871
+ } = Os(
2821
2872
  a,
2822
2873
  i,
2823
- Ze,
2824
- w,
2825
- R,
2826
- F,
2874
+ qe,
2875
+ c,
2876
+ y,
2877
+ P,
2827
2878
  {
2828
2879
  isLazyLoad: Ae,
2829
- pagination: k,
2830
- stickyPagination: W,
2831
- isDataGridTemplate: I
2880
+ pagination: W,
2881
+ stickyPagination: z,
2882
+ isDataGridTemplate: F
2832
2883
  }
2833
- ), qe = () => {
2834
- u.value.isClearAllVisible ? u.value.clearAllFilters() : u.value.isResetAllVisible && u.value.resetAllFilters();
2835
- }, nn = C(() => {
2836
- var D, P;
2884
+ ), Ke = () => {
2885
+ h.value.isClearAllVisible ? h.value.clearAllFilters() : h.value.isResetAllVisible && h.value.resetAllFilters();
2886
+ }, ln = C(() => {
2887
+ var x, k;
2837
2888
  return {
2838
2889
  ...e.emptyState,
2839
- variant: ((D = e.emptyState) == null ? void 0 : D.variant) === "embedded" || ((P = e.emptyState) == null ? void 0 : P.variant) === "basic" ? e.emptyState.variant : "basic"
2890
+ variant: ((x = e.emptyState) == null ? void 0 : x.variant) === "embedded" || ((k = e.emptyState) == null ? void 0 : k.variant) === "basic" ? e.emptyState.variant : "basic"
2840
2891
  };
2841
- }), sn = C(() => ({
2892
+ }), an = C(() => ({
2842
2893
  [`b-data-grid--${re.OUTLINE}`]: e.outline,
2843
2894
  [`b-data-grid--${re.SCROLL}`]: e.fitContent || Ae.value,
2844
2895
  [`b-data-grid--${re.STICKY_FILTERS}`]: e.filters && e.stickyFilters,
2845
- [`b-data-grid--${re.OVERFLOW_SHADOW_LEFT}`]: Te.value && !j.value,
2846
- [`b-data-grid--${re.OVERFLOW_SHADOW_RIGHT}`]: je.value && e.rowActions === void 0,
2896
+ [`b-data-grid--${re.OVERFLOW_SHADOW_LEFT}`]: Oe.value && !j.value,
2897
+ [`b-data-grid--${re.OVERFLOW_SHADOW_RIGHT}`]: Ye.value && e.rowActions === void 0,
2847
2898
  [`b-data-grid--${re.NO_SPACING_TOP}`]: e.noSpacingTop,
2848
- [`b-data-grid--${re.FIT_CONTENT}`]: e.fitContent
2849
- })), on = C(() => ({
2899
+ [`b-data-grid--${re.FIT_CONTENT}`]: e.fitContent,
2900
+ [`b-data-grid--${re.ZEBRA_ROWS}`]: He.value
2901
+ })), rn = C(() => ({
2850
2902
  "b-data-grid__body--sticky-horizontal-scrollbar": e.stickyHorizontalScrollbar
2851
- })), ln = C(() => Re.value.findIndex((D) => D.columnSet.length)), an = C(() => !((e.selectable || e.hasNestedContent || e.hasNestedRows) && j.value === 1) || Te.value), rn = C(() => ({
2852
- "b-data-grid__filters--sticky": !!e.stickyFilters || I
2853
- })), dn = C(() => {
2854
- var D, P, J, ge, he, pe;
2903
+ })), dn = C(() => ye.value.findIndex((x) => x.columnSet.length)), cn = C(() => !((e.selectable || e.hasNestedContent || e.hasNestedRows) && j.value === 1) || Oe.value), un = C(() => ({
2904
+ "b-data-grid__filters--sticky": !!e.stickyFilters || F
2905
+ })), fn = C(() => {
2906
+ var x, k, ee, ge, he, pe;
2855
2907
  return {
2856
- "b-data-grid__pagination--padding-left-unset": ((J = (P = (D = e.columns) == null ? void 0 : D[0]) == null ? void 0 : P.padding) == null ? void 0 : J.left) === !1,
2908
+ "b-data-grid__pagination--padding-left-unset": ((ee = (k = (x = e.columns) == null ? void 0 : x[0]) == null ? void 0 : k.padding) == null ? void 0 : ee.left) === !1,
2857
2909
  "b-data-grid__pagination--padding-right-unset": ((pe = (he = (ge = e.columns) == null ? void 0 : ge[e.columns.length - 1]) == null ? void 0 : he.padding) == null ? void 0 : pe.right) === !1,
2858
- "b-data-grid__pagination--sticky": !!e.stickyPagination || I
2910
+ "b-data-grid__pagination--sticky": !!e.stickyPagination || F
2859
2911
  };
2860
- }), cn = (D) => {
2861
- const P = D;
2862
- D !== null && (P != null && P.columnHeaderRefs) && Object.entries(P == null ? void 0 : P.columnHeaderRefs).forEach(([J, ge]) => {
2863
- f.value[J] = ge;
2912
+ }), gn = (x) => {
2913
+ const k = x;
2914
+ x !== null && (k != null && k.columnHeaderRefs) && Object.entries(k == null ? void 0 : k.columnHeaderRefs).forEach(([ee, ge]) => {
2915
+ u.value[ee] = ge;
2864
2916
  });
2865
- }, un = (D, P) => {
2866
- var ge, he, pe, Je;
2867
- const J = D;
2868
- if (D !== null && J != null && J.gridcellRefs) {
2869
- const En = e.rowActions !== void 0 && (J == null ? void 0 : J.rowActionsRef);
2870
- Object.entries(J == null ? void 0 : J.gridcellRefs).map(([Oe, Rn]) => {
2871
- var Qe;
2872
- ((Qe = d.value) == null ? void 0 : Qe[Oe]) === void 0 && (d.value = { ...d.value, [Oe]: [] }), d.value[Oe][P] = Rn;
2873
- }), En && (((ge = d.value) == null ? void 0 : ge[we]) === void 0 && (d.value = { ...d.value, [we]: [] }), d.value[we][P] = (he = J.rowActionsRef) == null ? void 0 : he[0], z.value = Math.max(
2874
- z.value,
2875
- ((Je = (pe = J.rowActionsRef) == null ? void 0 : pe[0]) == null ? void 0 : Je.offsetWidth) ?? 0
2917
+ }, _n = (x, k) => {
2918
+ var ge, he, pe, et;
2919
+ const ee = x;
2920
+ if (x !== null && ee != null && ee.gridcellRefs) {
2921
+ const An = e.rowActions !== void 0 && (ee == null ? void 0 : ee.rowActionsRef);
2922
+ Object.entries(ee == null ? void 0 : ee.gridcellRefs).map(([Te, On]) => {
2923
+ var tt;
2924
+ ((tt = r.value) == null ? void 0 : tt[Te]) === void 0 && (r.value = { ...r.value, [Te]: [] }), r.value[Te][k] = On;
2925
+ }), An && (((ge = r.value) == null ? void 0 : ge[we]) === void 0 && (r.value = { ...r.value, [we]: [] }), r.value[we][k] = (he = ee.rowActionsRef) == null ? void 0 : he[0], X.value = Math.max(
2926
+ X.value,
2927
+ ((et = (pe = ee.rowActionsRef) == null ? void 0 : pe[0]) == null ? void 0 : et.offsetWidth) ?? 0
2876
2928
  ));
2877
2929
  }
2878
- }, fn = (D, P) => {
2879
- e.allowRowClicks && U(x.ROW_CLICK, D, P);
2880
- }, gn = (D) => {
2881
- X.value = D;
2882
- }, _n = C(() => e.hasNestedContent || e.hasNestedRows ? "treegrid" : "grid"), vn = $n({
2883
- label: o != null && o.header ? Un(o)("header") : null,
2930
+ }, vn = (x, k) => {
2931
+ e.allowRowClicks && $(D.ROW_CLICK, x, k);
2932
+ }, mn = (x) => {
2933
+ Z.value = x;
2934
+ }, Cn = C(() => e.hasNestedContent || e.hasNestedRows ? "treegrid" : "grid"), hn = Pn({
2935
+ label: o != null && o.header ? kn(o)("header") : null,
2884
2936
  defaultFallback: "data grid"
2885
- }), mn = C(() => {
2886
- var D;
2887
- return Ve.value ? "all" : He.value ? "page" : ((D = Le.value) == null ? void 0 : D.length) > 0 ? "single" : "none";
2888
- }), Ye = C(() => {
2889
- var D;
2890
- return ((D = Le.value) == null ? void 0 : D.length) ?? 0;
2891
- }), Cn = C(() => e.bulkActions && Ye.value > 0), hn = (D) => U(x.COLUMN_RESIZE, D), pn = (D) => {
2892
- U(x.UPDATE_SORT_BY, D), U(x.SORT, D);
2893
- }, wn = (D, P) => {
2894
- U(x.NAVIGATE, D), U(x.UPDATE_PAGINATION, {
2937
+ }), pn = C(() => {
2938
+ var x;
2939
+ return je.value ? "all" : Ze.value ? "page" : ((x = Le.value) == null ? void 0 : x.length) > 0 ? "single" : "none";
2940
+ }), Xe = C(() => {
2941
+ var x;
2942
+ return ((x = Le.value) == null ? void 0 : x.length) ?? 0;
2943
+ }), wn = C(() => e.bulkActions && Xe.value > 0), bn = (x) => $(D.COLUMN_RESIZE, x), Sn = (x) => {
2944
+ $(D.UPDATE_SORT_BY, x), $(D.SORT, x);
2945
+ }, Rn = (x, k) => {
2946
+ $(D.NAVIGATE, x), $(D.UPDATE_PAGINATION, {
2895
2947
  ...e.pagination,
2896
- size: P,
2897
- page: D
2948
+ size: k,
2949
+ page: x
2898
2950
  });
2899
- }, Sn = (D) => {
2900
- U(x.ITEMS_PAGE, D);
2901
- }, bn = () => {
2902
- U(x.FILTER_SEARCH_CLEAR);
2903
- }, yn = (D) => {
2904
- U(x.UPDATE_FILTER_SEARCH_TERM, D), U(x.FILTER_SEARCH_INPUT, D);
2905
- }, Ke = C(() => g.value.some((D) => D.mandatory));
2906
- Ke.value || wt(
2951
+ }, En = (x) => {
2952
+ $(D.ITEMS_PAGE, x);
2953
+ }, yn = () => {
2954
+ $(D.FILTER_SEARCH_CLEAR);
2955
+ }, Ln = (x) => {
2956
+ $(D.UPDATE_FILTER_SEARCH_TERM, x), $(D.FILTER_SEARCH_INPUT, x);
2957
+ }, Je = C(() => f.value.some((x) => x.mandatory));
2958
+ Je.value || St(
2907
2959
  "WARNING: At least one BentoDataGrid column should be set as mandatory to ensure data is always displayed correctly."
2908
2960
  );
2909
- const Xe = De(Pn, () => null);
2910
- return Xe(e.tabTitle), ht(Nt, Ne(e, "slashedZero")), t({ onEmptyStateClearResetButtonClick: qe }), { __sfc: !0, props: e, slots: o, hasSlot: l, body: a, columnsRef: i, columnHeaderRefs: f, gridcellRefs: d, filtersRef: E, filterBarRef: u, paginationContainerRef: R, verticalScrollPositionRef: m, virtualHorizontalScrollbarRef: w, allowColumnDragAndDrop: N, columns: g, columnPanel: L, data: h, lazyLoadType: _, loading: b, hasNestedContent: O, hasNestedRows: A, selectable: r, selection: p, selectableAcrossPages: T, stickyPagination: W, outline: Z, pagination: k, hoveredRowIndex: X, t: Y, frozenColumnsLength: j, registerDatagridInDataGridTemplate: K, additionalContentSlotRef: v, isDataGridTemplate: I, stickyTabs: M, tabsRef: B, stickyAdditionalContent: c, computedColumnsTabIndex: $, columnDefs: H, onColumnWidthOverride: Q, gridRowWidthStyle: ae, isMeasuringColumnWidths: me, isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: fe, localColumnsState: S, totalWidthOfAllColumns: F, rowActionsMaxWidth: z, definedEmitsFunction: n, emit: U, stickyFiltersHeight: ee, computedStickyFiltersTopPosition: Ce, columnHeadersHeight: de, computedColumnHeadersTopPosition: xt, sortedColumns: Ee, columnSets: Re, isOnlyOneVisibleColumn: Ft, onConfigSettingsUpdate: Mt, onConfigSettingsColumnsUpdate: Bt, onConfigSettingsColumnUpdate: $t, hoveredOverColumn: Ut, hoveredOverColumnState: zt, draggingColumns: Pt, draggingEventsForColumns: kt, draggingEventsForRowCell: Wt, onMoveColumnByOffset: Gt, selectableAcrossPagesComputed: Ge, onAllRowSelect: Ht, onRowSelect: Vt, onNestedRowSelect: Zt, onDeselectAll: jt, selectedItems: Le, allItemsSelectedState: qt, isEveryItemSelected: He, isEveryItemAcrossPagesSelected: Ve, navigationInput: Yt, isLazyLoad: Ae, isInfiniteScroll: Kt, verticalScrollPosition: Ze, emitLazyLoadEvent: Xt, updateScrollPosition: Jt, updateScrollPositionOnFrozenColumnsNavigation: Qt, syncVirtualScrollerWithBody: en, hasLeftOverflow: Te, hasRightOverflow: je, horizontalScrollbarConditionalStyles: tn, onEmptyStateClearResetButtonClick: qe, limitedEmptyStateProps: nn, conditionalGridClasses: sn, conditionalGridBodyClasses: on, computedColumnPanelAlignment: ln, showFrozenColumnsSeparator: an, conditionalFilterClasses: rn, conditionalPaginationClasses: dn, registerColumnHeaderRefs: cn, registerRowCellRefs: un, onRowClick: fn, onCellHover: gn, ariaGridRole: _n, ariaGridHeaderText: vn, selectionState: mn, itemsSelectedCounter: Ye, showActionBar: Cn, onColumnResized: hn, onSort: pn, onPaginationNavigate: wn, onItemsPerPageChange: Sn, onSearchTermCleared: bn, onSearchTermInput: yn, hasMandatoryColumn: Ke, setTitle: Xe, BentoActionBar: Mn, BentoPagination: Bn, BentoLoadingIndicator: Ue, BentoTypography: be, BentoDataGridConfigSettings: Ao, DataGridColumns: co, DataGridLazyLoad: xo, DataGridRow: Dt, handleClipboard: As, BentoDatagridEvent: x, BentoFilterBar: Ie, BentoEmptyState: zn };
2961
+ const Qe = De(Gn, () => null);
2962
+ return Qe(e.tabTitle), wt(xt, Ie(e, "slashedZero")), t({ onEmptyStateClearResetButtonClick: Ke }), { __sfc: !0, props: e, slots: o, hasSlot: l, body: a, columnsRef: i, columnHeaderRefs: u, gridcellRefs: r, filtersRef: E, filterBarRef: h, paginationContainerRef: y, verticalScrollPositionRef: p, virtualHorizontalScrollbarRef: c, allowColumnDragAndDrop: O, columns: f, columnPanel: A, data: w, lazyLoadType: v, loading: S, hasNestedContent: N, hasNestedRows: T, selectable: g, selection: _, selectableAcrossPages: L, stickyPagination: z, outline: V, pagination: W, zebraRows: J, hoveredRowIndex: Z, t: Q, frozenColumnsLength: j, registerDatagridInDataGridTemplate: m, additionalContentSlotRef: I, isDataGridTemplate: F, stickyTabs: M, tabsRef: d, stickyAdditionalContent: U, computedColumnsTabIndex: Y, columnDefs: K, onColumnWidthOverride: ae, gridRowWidthStyle: me, isMeasuringColumnWidths: Ce, isTotalWidthOfColumnsTakingUpAllAvailableGridWidth: b, localColumnsState: B, totalWidthOfAllColumns: P, rowActionsMaxWidth: X, definedEmitsFunction: n, emit: $, stickyFiltersHeight: ue, computedStickyFiltersTopPosition: fe, columnHeadersHeight: Ge, computedColumnHeadersTopPosition: Bt, sortedColumns: Ee, columnSets: ye, isOnlyOneVisibleColumn: Mt, internalZebraRows: He, onConfigSettingsColumnsUpdate: Ut, onConfigSettingsColumnUpdate: zt, onConfigSettingsCondensedUpdate: $t, onConfigSettingsZebraRowsUpdate: Pt, hoveredOverColumn: kt, hoveredOverColumnState: Wt, draggingColumns: Gt, draggingEventsForColumns: Ht, draggingEventsForRowCell: Vt, onMoveColumnByOffset: Zt, selectableAcrossPagesComputed: Ve, onAllRowSelect: jt, onRowSelect: qt, onNestedRowSelect: Yt, onDeselectAll: Kt, selectedItems: Le, allItemsSelectedState: Xt, isEveryItemSelected: Ze, isEveryItemAcrossPagesSelected: je, navigationInput: Jt, isLazyLoad: Ae, isInfiniteScroll: Qt, verticalScrollPosition: qe, emitLazyLoadEvent: en, updateScrollPosition: tn, updateScrollPositionOnFrozenColumnsNavigation: nn, syncVirtualScrollerWithBody: sn, hasLeftOverflow: Oe, hasRightOverflow: Ye, horizontalScrollbarConditionalStyles: on, onEmptyStateClearResetButtonClick: Ke, limitedEmptyStateProps: ln, conditionalGridClasses: an, conditionalGridBodyClasses: rn, computedColumnPanelAlignment: dn, showFrozenColumnsSeparator: cn, conditionalFilterClasses: un, conditionalPaginationClasses: fn, registerColumnHeaderRefs: gn, registerRowCellRefs: _n, onRowClick: vn, onCellHover: mn, ariaGridRole: Cn, ariaGridHeaderText: hn, selectionState: pn, itemsSelectedCounter: Xe, showActionBar: wn, onColumnResized: bn, onSort: Sn, onPaginationNavigate: Rn, onItemsPerPageChange: En, onSearchTermCleared: yn, onSearchTermInput: Ln, hasMandatoryColumn: Je, setTitle: Qe, BentoActionBar: zn, BentoPagination: $n, BentoLoadingIndicator: ze, BentoTypography: Se, BentoDataGridConfigSettings: No, DataGridColumns: go, DataGridLazyLoad: Mo, DataGridRow: Ft, handleClipboard: Ns, BentoDatagridEvent: D, BentoFilterBar: Ne, BentoEmptyState: Wn };
2911
2963
  }
2912
2964
  });
2913
- var Sl = function() {
2965
+ var El = function() {
2914
2966
  var o;
2915
2967
  var t = this, n = t._self._c, e = t._self._setupProxy;
2916
- return n("div", { staticClass: "b-data-grid", class: e.conditionalGridClasses, attrs: { "aria-rowcount": e.data.length, "aria-colcount": e.columns.length, "aria-label": e.ariaGridHeaderText, role: e.ariaGridRole }, on: { copy: e.handleClipboard } }, [t.filters ? n("div", { ref: "filtersRef", staticClass: "b-data-grid__filters", class: e.conditionalFilterClasses, style: { top: e.computedStickyFiltersTopPosition } }, [t.filters ? n(e.BentoFilterBar, { ref: "filterBarRef", attrs: { config: t.filters, "container-size-layout": t.filtersContainerSizeLayout, "filter-values": t.filterValues, search: t.filterSearchConfig, "search-term": t.filterSearchTerm }, on: { "search-input": e.onSearchTermInput, "search-clear": e.onSearchTermCleared, input: (l) => t.$emit(e.BentoDatagridEvent.UPDATE_FILTERS, l), "update:filter-values": (l) => t.$emit(e.BentoDatagridEvent.UPDATE_FILTER_VALUES, l) } }) : t._e()], 1) : t._e(), t.$slots.header ? n("div", { staticClass: "b-data-grid__header" }, [t._t("header")], 2) : t._e(), n("div", { staticClass: "b-data-grid__column-headers", style: { top: e.computedColumnHeadersTopPosition } }, [e.columnPanel ? n(e.BentoDataGridConfigSettings, { staticClass: "b-data-grid__config-settings", attrs: { columns: e.localColumnsState, condensed: t.condensed }, on: { "config-settings": e.onConfigSettingsUpdate, "update:columns": e.onConfigSettingsColumnsUpdate } }) : t._e(), n("div", { ref: "columnsRef", staticClass: "b-data-grid__columns-row", attrs: { role: "rowgroup", tabindex: e.computedColumnsTabIndex }, on: { scroll: e.updateScrollPosition, keydown: e.navigationInput } }, [n("div", { staticClass: "b-data-grid__columns", style: e.gridRowWidthStyle, attrs: { role: "row" } }, [t._l(e.columnSets, function({ columnSet: l, id: a, isFrozenColumns: i }, f) {
2917
- return [l != null && l.length ? n(e.DataGridColumns, t._g({ key: `data-grid-columns-${a}`, ref: (d) => e.registerColumnHeaderRefs(d), refInFor: !0, attrs: { columns: l, "has-resizable-columns": t.hasResizableColumns, "sort-by": t.sortBy, "all-items-selected-state": e.allItemsSelectedState, "is-frozen-columns": i, "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": f === 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, "selected-items": e.selectedItems, "selection-state": e.selectionState, "truncate-column-headers": t.truncateColumnHeaders, "row-actions-maximum-width": e.rowActionsMaxWidth }, on: { "column-hover": function(d) {
2918
- e.hoveredOverColumn = d;
2919
- }, "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(d) {
2968
+ return n("div", { staticClass: "b-data-grid", class: e.conditionalGridClasses, attrs: { "aria-rowcount": e.data.length, "aria-colcount": e.columns.length, "aria-label": e.ariaGridHeaderText, role: e.ariaGridRole }, on: { copy: e.handleClipboard } }, [t.filters ? n("div", { ref: "filtersRef", staticClass: "b-data-grid__filters", class: e.conditionalFilterClasses, style: { top: e.computedStickyFiltersTopPosition } }, [t.filters ? n(e.BentoFilterBar, { ref: "filterBarRef", attrs: { config: t.filters, "container-size-layout": t.filtersContainerSizeLayout, "filter-values": t.filterValues, search: t.filterSearchConfig, "search-term": t.filterSearchTerm }, on: { "search-input": e.onSearchTermInput, "search-clear": e.onSearchTermCleared, input: (l) => t.$emit(e.BentoDatagridEvent.UPDATE_FILTERS, l), "update:filter-values": (l) => t.$emit(e.BentoDatagridEvent.UPDATE_FILTER_VALUES, l) } }) : t._e()], 1) : t._e(), t.$slots.header ? n("div", { staticClass: "b-data-grid__header" }, [t._t("header")], 2) : t._e(), n("div", { staticClass: "b-data-grid__column-headers", style: { top: e.computedColumnHeadersTopPosition } }, [e.columnPanel ? n(e.BentoDataGridConfigSettings, { staticClass: "b-data-grid__config-settings", attrs: { columns: e.localColumnsState, condensed: t.condensed, "zebra-rows": e.internalZebraRows }, on: { "update:condensed": e.onConfigSettingsCondensedUpdate, "update:zebra-rows": e.onConfigSettingsZebraRowsUpdate, "update:columns": e.onConfigSettingsColumnsUpdate } }) : t._e(), n("div", { ref: "columnsRef", staticClass: "b-data-grid__columns-row", attrs: { role: "rowgroup", tabindex: e.computedColumnsTabIndex }, on: { scroll: e.updateScrollPosition, keydown: e.navigationInput } }, [n("div", { staticClass: "b-data-grid__columns", style: e.gridRowWidthStyle, attrs: { role: "row" } }, [t._l(e.columnSets, function({ columnSet: l, id: a, isFrozenColumns: i }, u) {
2969
+ return [l != null && l.length ? n(e.DataGridColumns, t._g({ key: `data-grid-columns-${a}`, ref: (r) => e.registerColumnHeaderRefs(r), refInFor: !0, attrs: { columns: l, "has-resizable-columns": t.hasResizableColumns, "sort-by": t.sortBy, "all-items-selected-state": e.allItemsSelectedState, "is-frozen-columns": i, "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": u === 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, "selected-items": e.selectedItems, "selection-state": e.selectionState, "truncate-column-headers": t.truncateColumnHeaders, "row-actions-maximum-width": e.rowActionsMaxWidth }, on: { "column-hover": function(r) {
2970
+ e.hoveredOverColumn = r;
2971
+ }, "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(r) {
2920
2972
  return e.emit(e.BentoDatagridEvent.SELECT_ALL_ACROSS_PAGES);
2921
- }, "deselect-all": e.onDeselectAll, sort: e.onSort }, scopedSlots: t._u([t._l(e.slots, function(d, E) {
2922
- return { key: E, fn: function(u) {
2923
- return [t._t(E, null, null, u)];
2973
+ }, "deselect-all": e.onDeselectAll, sort: e.onSort }, scopedSlots: t._u([t._l(e.slots, function(r, E) {
2974
+ return { key: E, fn: function(h) {
2975
+ return [t._t(E, null, null, h)];
2924
2976
  } };
2925
2977
  })], null, !0) }, e.draggingEventsForColumns)) : t._e()];
2926
2978
  })], 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) {
2927
- var i, f;
2928
- return n(e.DataGridRow, { key: a, ref: (d) => e.registerRowCellRefs(d, a), refInFor: !0, style: e.gridRowWidthStyle, attrs: { "allow-row-clicks": t.allowRowClicks, "column-sets": e.columnSets, condensed: t.condensed, "dragging-columns": e.draggingColumns, "dragging-events-for-row-cell": e.draggingEventsForRowCell, "get-data-item-id": t.getDataItemId, "has-nested-content": e.hasNestedContent, "has-nested-rows": e.hasNestedRows, "has-left-overflow": e.hasLeftOverflow, "has-right-overflow": e.hasRightOverflow, "highlighted-rows": t.highlightedRows, "hovered-row-index": e.hoveredRowIndex, "hovered-over-column-state": e.hoveredOverColumnState, "is-data-item-disabled": t.isDataItemDisabled, "is-row-last-child": a + 1 === ((i = e.data) == null ? void 0 : i.length), "is-measuring-column-widths": e.isMeasuringColumnWidths, "row-actions-maximum-width": e.rowActionsMaxWidth, "row-actions": t.rowActions, "row-data": l, "row-index": a, "row-set-size": (f = e.data) == null ? void 0 : f.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(d) {
2929
- return e.emit(e.BentoDatagridEvent.NESTED_CONTENT_TOGGLED, d);
2930
- }, "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(d, E) {
2931
- return { key: E, fn: function(u) {
2932
- return [t._t(E, null, null, u)];
2979
+ var i, u;
2980
+ return n(e.DataGridRow, { key: a, ref: (r) => e.registerRowCellRefs(r, a), refInFor: !0, style: e.gridRowWidthStyle, attrs: { "allow-row-clicks": t.allowRowClicks, "column-sets": e.columnSets, condensed: t.condensed, "dragging-columns": e.draggingColumns, "dragging-events-for-row-cell": e.draggingEventsForRowCell, "get-data-item-id": t.getDataItemId, "has-nested-content": e.hasNestedContent, "has-nested-rows": e.hasNestedRows, "has-left-overflow": e.hasLeftOverflow, "has-right-overflow": e.hasRightOverflow, "highlighted-rows": t.highlightedRows, "hovered-row-index": e.hoveredRowIndex, "hovered-over-column-state": e.hoveredOverColumnState, "is-data-item-disabled": t.isDataItemDisabled, "is-row-even": e.internalZebraRows ? a % 2 !== 0 : !1, "is-row-last-child": a + 1 === ((i = e.data) == null ? void 0 : i.length), "is-measuring-column-widths": e.isMeasuringColumnWidths, "row-actions-maximum-width": e.rowActionsMaxWidth, "row-actions": t.rowActions, "row-data": l, "row-index": a, "row-set-size": (u = e.data) == null ? void 0 : u.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(r) {
2981
+ return e.emit(e.BentoDatagridEvent.NESTED_CONTENT_TOGGLED, r);
2982
+ }, "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(r, E) {
2983
+ return { key: E, fn: function(h) {
2984
+ return [t._t(E, null, null, h)];
2933
2985
  } };
2934
2986
  })], null, !0) });
2935
2987
  }), 1)]), e.isLazyLoad ? n(e.DataGridLazyLoad, { attrs: { loading: e.loading, "is-infinite-scroll": e.isInfiniteScroll }, on: { "update:show-more": e.emitLazyLoadEvent } }) : t._e(), t.stickyHorizontalScrollbar ? n("div", { ref: "virtualHorizontalScrollbarRef", staticClass: "b-data-grid__horizontal-scrollbar", style: e.horizontalScrollbarConditionalStyles, attrs: { "aria-hidden": "true", "data-testid": "sticky-horizontal-scrollbar" }, on: { scroll: e.syncVirtualScrollerWithBody } }, [n("div", { style: { width: `${e.totalWidthOfAllColumns}px`, height: "15px" } })]) : t._e(), e.pagination && !e.isLazyLoad ? n("div", { ref: "paginationContainerRef", staticClass: "b-data-grid__pagination", class: e.conditionalPaginationClasses, attrs: { "data-testid": "pagination-container" } }, [n(e.BentoPagination, t._b({ attrs: { "aria-label": `${e.ariaGridHeaderText} navigation` }, on: { navigate: e.onPaginationNavigate, "items-page": e.onItemsPerPageChange } }, "bento-pagination", e.pagination, !1), [e.hasSlot("pagination-slot") ? t._t("pagination-slot") : t._e()], 2)], 1) : t._e(), t.$slots.footer ? n("div", { staticClass: "b-data-grid__footer" }, [t._t("footer")], 2) : t._e(), e.showActionBar ? n(e.BentoActionBar, { attrs: { actions: t.bulkActions, "item-counter": e.itemsSelectedCounter, "extra-bottom-spacing": e.stickyPagination }, on: { close: function(l) {
2936
2988
  return e.onAllRowSelect(!1);
2937
2989
  } } }) : t._e()], 1);
2938
- }, bl = [], yl = /* @__PURE__ */ V(
2939
- wl,
2940
- Sl,
2941
- bl,
2990
+ }, yl = [], Ll = /* @__PURE__ */ H(
2991
+ Rl,
2992
+ El,
2993
+ yl,
2942
2994
  !1,
2943
2995
  null,
2944
- "1d4a2092"
2996
+ "073e5ad3"
2945
2997
  );
2946
- const pa = yl.exports;
2998
+ const pa = Ll.exports;
2947
2999
  export {
2948
3000
  Fe as B,
2949
3001
  Ca as a,
@@ -2951,7 +3003,7 @@ export {
2951
3003
  re as c,
2952
3004
  pa as d,
2953
3005
  ve as e,
2954
- x as f,
2955
- ye as g
3006
+ D as f,
3007
+ Re as g
2956
3008
  };
2957
- //# sourceMappingURL=data-grid.erxjh5TN.js.map
3009
+ //# sourceMappingURL=data-grid.B0bOXr4p.js.map