@adyen/bento-vue2 1.83.1 → 1.84.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 (323) hide show
  1. package/README.md +5 -5
  2. package/dist/@types/index.d.ts +56 -5
  3. package/dist/action-bar.js +1 -1
  4. package/dist/alert.js +1 -1
  5. package/dist/assets/accordion-item.css +1 -1
  6. package/dist/assets/action-bar.css +1 -1
  7. package/dist/assets/ai-button.css +1 -1
  8. package/dist/assets/alert.css +1 -1
  9. package/dist/assets/avatar.css +1 -1
  10. package/dist/assets/base-modal.css +1 -1
  11. package/dist/assets/button-actions-with-menu.css +1 -1
  12. package/dist/assets/button-actions.css +1 -1
  13. package/dist/assets/button.css +1 -1
  14. package/dist/assets/calendar.css +1 -1
  15. package/dist/assets/card.css +1 -1
  16. package/dist/assets/checkbox-group.css +1 -1
  17. package/dist/assets/checkbox-input.css +1 -1
  18. package/dist/assets/checkbox.css +1 -1
  19. package/dist/assets/chip.css +1 -1
  20. package/dist/assets/code-snippet.css +1 -1
  21. package/dist/assets/controls-group.css +1 -1
  22. package/dist/assets/country.css +1 -1
  23. package/dist/assets/currency.css +1 -1
  24. package/dist/assets/dashboard-section.css +1 -1
  25. package/dist/assets/dashed-underline.css +1 -1
  26. package/dist/assets/data-grid-template.css +1 -1
  27. package/dist/assets/data-grid.css +1 -1
  28. package/dist/assets/date-picker.css +1 -1
  29. package/dist/assets/date-range-picker.css +1 -1
  30. package/dist/assets/date.css +1 -1
  31. package/dist/assets/dialog-page.css +1 -1
  32. package/dist/assets/divider.css +1 -1
  33. package/dist/assets/dropdown-default-textbox.css +1 -1
  34. package/dist/assets/dropdown-tag.css +1 -1
  35. package/dist/assets/dropdown.css +1 -1
  36. package/dist/assets/empty-state.css +1 -1
  37. package/dist/assets/field-label.css +1 -1
  38. package/dist/assets/file-uploader.css +1 -1
  39. package/dist/assets/filter-bar.css +1 -1
  40. package/dist/assets/fixed-scroller.css +1 -1
  41. package/dist/assets/footer-actions.css +1 -1
  42. package/dist/assets/form-layout-title.css +1 -1
  43. package/dist/assets/grid-layout.css +1 -1
  44. package/dist/assets/header-meta.css +1 -1
  45. package/dist/assets/header-with-views.css +1 -1
  46. package/dist/assets/header.css +1 -1
  47. package/dist/assets/index.css +1 -1
  48. package/dist/assets/info-icon.css +1 -1
  49. package/dist/assets/input-field-password.css +1 -1
  50. package/dist/assets/input-field.css +1 -1
  51. package/dist/assets/inspector.css +1 -1
  52. package/dist/assets/layout-row.css +1 -1
  53. package/dist/assets/link.css +1 -1
  54. package/dist/assets/listbox-option-tag.css +1 -1
  55. package/dist/assets/loading-indicator.css +1 -1
  56. package/dist/assets/modal-fullscreen.css +1 -1
  57. package/dist/assets/pagination.css +1 -1
  58. package/dist/assets/payment-method.css +1 -1
  59. package/dist/assets/popper-container.css +1 -1
  60. package/dist/assets/promo-banner.css +1 -1
  61. package/dist/assets/radio-group.css +1 -1
  62. package/dist/assets/radio-input.css +1 -1
  63. package/dist/assets/rich-text-editor.css +1 -1
  64. package/dist/assets/secondary-nav.css +1 -1
  65. package/dist/assets/segmented-control.css +1 -1
  66. package/dist/assets/selection-card-group.css +1 -1
  67. package/dist/assets/sidepanel.css +1 -1
  68. package/dist/assets/status.css +1 -1
  69. package/dist/assets/step.css +1 -1
  70. package/dist/assets/structured-list-item.css +1 -1
  71. package/dist/assets/summary-grid.css +1 -1
  72. package/dist/assets/tab.css +1 -1
  73. package/dist/assets/tag.css +1 -1
  74. package/dist/assets/textarea.css +1 -1
  75. package/dist/assets/timeline-item.css +1 -1
  76. package/dist/assets/toast.css +1 -1
  77. package/dist/assets/toggle.css +1 -1
  78. package/dist/assets/tooltip.css +1 -1
  79. package/dist/assets/tutorial.css +1 -1
  80. package/dist/assets/use-cached-selected-values.css +1 -1
  81. package/dist/button.js +3 -3
  82. package/dist/card.js +1 -1
  83. package/dist/checkbox.js +2 -2
  84. package/dist/chunks/{action-bar.C2GnRugW.js → action-bar.y4tcdk7R.js} +8 -6
  85. package/dist/chunks/{action-bar.C2GnRugW.js.map → action-bar.y4tcdk7R.js.map} +1 -1
  86. package/dist/chunks/{ai-button.C9Uc6vBY.js → ai-button.BEy4Gly-.js} +2 -2
  87. package/dist/chunks/{ai-button.C9Uc6vBY.js.map → ai-button.BEy4Gly-.js.map} +1 -1
  88. package/dist/chunks/{alert.BlJBrD8c.js → alert.B3Pdp02a.js} +29 -21
  89. package/dist/chunks/{alert.BlJBrD8c.js.map → alert.B3Pdp02a.js.map} +1 -1
  90. package/dist/chunks/{base-modal.L39wmqVD.js → base-modal.KYkLKswF.js} +20 -18
  91. package/dist/chunks/{base-modal.L39wmqVD.js.map → base-modal.KYkLKswF.js.map} +1 -1
  92. package/dist/chunks/{button-actions-with-menu.CQlsQa_f.js → button-actions-with-menu.B5mKwc-F.js} +2 -2
  93. package/dist/chunks/{button-actions-with-menu.CQlsQa_f.js.map → button-actions-with-menu.B5mKwc-F.js.map} +1 -1
  94. package/dist/chunks/{button-actions.BWVq6OZQ.js → button-actions.D9n7MxWe.js} +270 -239
  95. package/dist/chunks/{button-actions.BWVq6OZQ.js.map → button-actions.D9n7MxWe.js.map} +1 -1
  96. package/dist/chunks/{button.C5GvPqe5.js → button.DIU6m9wD.js} +2 -2
  97. package/dist/chunks/{button.C5GvPqe5.js.map → button.DIU6m9wD.js.map} +1 -1
  98. package/dist/chunks/calendar.C8DpZ4Sr.js +1101 -0
  99. package/dist/chunks/calendar.C8DpZ4Sr.js.map +1 -0
  100. package/dist/chunks/{card.CktheSva.js → card.CLX0RGG6.js} +2 -2
  101. package/dist/chunks/{card.CktheSva.js.map → card.CLX0RGG6.js.map} +1 -1
  102. package/dist/chunks/{checkbox-group.BUXnMhO8.js → checkbox-group.BCnhjQie.js} +4 -4
  103. package/dist/chunks/{checkbox-group.BUXnMhO8.js.map → checkbox-group.BCnhjQie.js.map} +1 -1
  104. package/dist/chunks/{checkbox-input.B0NsfSNR.js → checkbox-input.08E9BNeF.js} +45 -40
  105. package/dist/chunks/checkbox-input.08E9BNeF.js.map +1 -0
  106. package/dist/chunks/{checkbox.DgPVHJnT.js → checkbox.CU5ierOq.js} +9 -9
  107. package/dist/chunks/{checkbox.DgPVHJnT.js.map → checkbox.CU5ierOq.js.map} +1 -1
  108. package/dist/chunks/{code-snippet.1_edHDaZ.js → code-snippet.9MwDHp50.js} +62 -60
  109. package/dist/chunks/code-snippet.9MwDHp50.js.map +1 -0
  110. package/dist/chunks/constructNow.DuaJst0D.js +8 -0
  111. package/dist/chunks/{constructNow.BhymNmy5.js.map → constructNow.DuaJst0D.js.map} +1 -1
  112. package/dist/chunks/{controls-group.BqPxnEl3.js → controls-group.D4eW9DtP.js} +2 -2
  113. package/dist/chunks/{controls-group.BqPxnEl3.js.map → controls-group.D4eW9DtP.js.map} +1 -1
  114. package/dist/chunks/{copy.I2GvwCvt.js → copy.C0q7xgXs.js} +19 -17
  115. package/dist/chunks/{copy.I2GvwCvt.js.map → copy.C0q7xgXs.js.map} +1 -1
  116. package/dist/chunks/{country.BPrh4fXO.js → country.DyrDj95W.js} +2 -2
  117. package/dist/chunks/{country.BPrh4fXO.js.map → country.DyrDj95W.js.map} +1 -1
  118. package/dist/chunks/country.types.DaVCMxk-.js +773 -0
  119. package/dist/chunks/{country.types.C0Q_hhgJ.js.map → country.types.DaVCMxk-.js.map} +1 -1
  120. package/dist/chunks/{dashboard-section.B4bHrFIl.js → dashboard-section.B83FdC0Z.js} +3 -3
  121. package/dist/chunks/{dashboard-section.B4bHrFIl.js.map → dashboard-section.B83FdC0Z.js.map} +1 -1
  122. package/dist/chunks/{dashed-underline.ByK3QxFJ.js → dashed-underline.DQGVy5T2.js} +2 -2
  123. package/dist/chunks/{dashed-underline.ByK3QxFJ.js.map → dashed-underline.DQGVy5T2.js.map} +1 -1
  124. package/dist/chunks/{data-grid-template.CvZbOkih.js → data-grid-template.BTEFoEwf.js} +4 -4
  125. package/dist/chunks/{data-grid-template.CvZbOkih.js.map → data-grid-template.BTEFoEwf.js.map} +1 -1
  126. package/dist/chunks/{data-grid.CsVqTwy0.js → data-grid.BPG1GPIl.js} +482 -398
  127. package/dist/chunks/{data-grid.CsVqTwy0.js.map → data-grid.BPG1GPIl.js.map} +1 -1
  128. package/dist/chunks/date-input.BbZqj10S.js +15 -0
  129. package/dist/chunks/date-input.BbZqj10S.js.map +1 -0
  130. package/dist/chunks/{date-picker.-a_TXwjx.js → date-picker.CnsC_UMG.js} +78 -74
  131. package/dist/chunks/date-picker.CnsC_UMG.js.map +1 -0
  132. package/dist/chunks/date-range-picker.B6GSRjjK.js +1693 -0
  133. package/dist/chunks/date-range-picker.B6GSRjjK.js.map +1 -0
  134. package/dist/chunks/de.DvtL0g75.js +478 -0
  135. package/dist/chunks/de.DvtL0g75.js.map +1 -0
  136. package/dist/chunks/{dialog-page.Dn-WbcxU.js → dialog-page.QpRiNPyx.js} +29 -23
  137. package/dist/chunks/{dialog-page.Dn-WbcxU.js.map → dialog-page.QpRiNPyx.js.map} +1 -1
  138. package/dist/chunks/differenceInMonths.DcFDl4eH.js +43 -0
  139. package/dist/chunks/differenceInMonths.DcFDl4eH.js.map +1 -0
  140. package/dist/chunks/{dropdown-tag.AYIB0ec5.js → dropdown-tag.HBM0wrEV.js} +4 -4
  141. package/dist/chunks/{dropdown-tag.AYIB0ec5.js.map → dropdown-tag.HBM0wrEV.js.map} +1 -1
  142. package/dist/chunks/{dropdown.Dt0_ZUBn.js → dropdown.C2pXf8Li.js} +85 -81
  143. package/dist/chunks/{dropdown.Dt0_ZUBn.js.map → dropdown.C2pXf8Li.js.map} +1 -1
  144. package/dist/chunks/{empty-state.jVTWhJW7.js → empty-state.DpBnqAxu.js} +2 -2
  145. package/dist/chunks/{empty-state.jVTWhJW7.js.map → empty-state.DpBnqAxu.js.map} +1 -1
  146. package/dist/chunks/en-GB.DCGuCmAv.js +46 -0
  147. package/dist/chunks/en-GB.DCGuCmAv.js.map +1 -0
  148. package/dist/chunks/{getTimezoneOffsetInMilliseconds.B7sxiukN.js → en-US.BZii9jNW.js} +160 -196
  149. package/dist/chunks/en-US.BZii9jNW.js.map +1 -0
  150. package/dist/chunks/es.bz0mzkMq.js +374 -0
  151. package/dist/chunks/es.bz0mzkMq.js.map +1 -0
  152. package/dist/chunks/es6.C1DXQV6f.js +12 -0
  153. package/dist/chunks/es6.C1DXQV6f.js.map +1 -0
  154. package/dist/chunks/{field-label.BpeaR4Qc.js → field-label.CEkJnsiL.js} +5 -5
  155. package/dist/chunks/{field-label.BpeaR4Qc.js.map → field-label.CEkJnsiL.js.map} +1 -1
  156. package/dist/chunks/{file-uploader.G6mr6RuA.js → file-uploader.CnOqfuI-.js} +299 -253
  157. package/dist/chunks/{file-uploader.G6mr6RuA.js.map → file-uploader.CnOqfuI-.js.map} +1 -1
  158. package/dist/chunks/filter-bar.CnJAxz9B.js +2559 -0
  159. package/dist/chunks/filter-bar.CnJAxz9B.js.map +1 -0
  160. package/dist/chunks/fixed-scroller.Bp4-iO80.js +114 -0
  161. package/dist/chunks/{fixed-scroller.Ca1ujamx.js.map → fixed-scroller.Bp4-iO80.js.map} +1 -1
  162. package/dist/chunks/{footer-actions.3JdT8b0p.js → footer-actions.BOiN47Xd.js} +3 -3
  163. package/dist/chunks/{footer-actions.3JdT8b0p.js.map → footer-actions.BOiN47Xd.js.map} +1 -1
  164. package/dist/chunks/{form-layout-title.D9GJQfF9.js → form-layout-title.CdC1T4gs.js} +2 -2
  165. package/dist/chunks/{form-layout-title.D9GJQfF9.js.map → form-layout-title.CdC1T4gs.js.map} +1 -1
  166. package/dist/chunks/fr-CA.B1aPU8fp.js +48 -0
  167. package/dist/chunks/fr-CA.B1aPU8fp.js.map +1 -0
  168. package/dist/chunks/fr.Dj7wEToe.js +47 -0
  169. package/dist/chunks/fr.Dj7wEToe.js.map +1 -0
  170. package/dist/chunks/getTimezoneOffsetInMilliseconds.C-aIpRfB.js +51 -0
  171. package/dist/chunks/getTimezoneOffsetInMilliseconds.C-aIpRfB.js.map +1 -0
  172. package/dist/chunks/header-meta.D_oAu2S9.js +212 -0
  173. package/dist/chunks/header-meta.D_oAu2S9.js.map +1 -0
  174. package/dist/chunks/{header-with-views.lzT3kGpo.js → header-with-views.Dc9LUYNY.js} +379 -315
  175. package/dist/chunks/{header-with-views.lzT3kGpo.js.map → header-with-views.Dc9LUYNY.js.map} +1 -1
  176. package/dist/chunks/{header.D76MKCdS.js → header.BmtlQmPs.js} +3 -3
  177. package/dist/chunks/{header.D76MKCdS.js.map → header.BmtlQmPs.js.map} +1 -1
  178. package/dist/chunks/{input-field-password.C7zjyp7f.js → input-field-password.D23H_RvO.js} +48 -42
  179. package/dist/chunks/{input-field-password.C7zjyp7f.js.map → input-field-password.D23H_RvO.js.map} +1 -1
  180. package/dist/chunks/{input-field-phone-number.DwuTziSU.js → input-field-phone-number.Bvk2Pvec.js} +9 -3
  181. package/dist/chunks/{input-field-phone-number.DwuTziSU.js.map → input-field-phone-number.Bvk2Pvec.js.map} +1 -1
  182. package/dist/chunks/{input-field.DsT4AWXC.js → input-field.hf0_ALq0.js} +37 -29
  183. package/dist/chunks/{input-field.DsT4AWXC.js.map → input-field.hf0_ALq0.js.map} +1 -1
  184. package/dist/chunks/{inspector.2A5vWUou.js → inspector.C0iAxxoz.js} +40 -34
  185. package/dist/chunks/{inspector.2A5vWUou.js.map → inspector.C0iAxxoz.js.map} +1 -1
  186. package/dist/chunks/isSameWeek.CUD7czUN.js +14 -0
  187. package/dist/chunks/isSameWeek.CUD7czUN.js.map +1 -0
  188. package/dist/chunks/it.Oaj6BklL.js +392 -0
  189. package/dist/chunks/it.Oaj6BklL.js.map +1 -0
  190. package/dist/chunks/ja.Cm9tJMi2.js +367 -0
  191. package/dist/chunks/ja.Cm9tJMi2.js.map +1 -0
  192. package/dist/chunks/ko.Ceaof6EP.js +348 -0
  193. package/dist/chunks/ko.Ceaof6EP.js.map +1 -0
  194. package/dist/chunks/{link.BoDUCYmM.js → link.PsTSQjK3.js} +27 -21
  195. package/dist/chunks/{link.BoDUCYmM.js.map → link.PsTSQjK3.js.map} +1 -1
  196. package/dist/chunks/match.CMBZxEs9.js +302 -0
  197. package/dist/chunks/match.CMBZxEs9.js.map +1 -0
  198. package/dist/chunks/{modal-fullscreen.CcvZBUoF.js → modal-fullscreen.B1gltlxA.js} +5 -5
  199. package/dist/chunks/{modal-fullscreen.CcvZBUoF.js.map → modal-fullscreen.B1gltlxA.js.map} +1 -1
  200. package/dist/chunks/{modal.6hFEbnZM.js → modal.e3EQ6Kex.js} +5 -5
  201. package/dist/chunks/{modal.6hFEbnZM.js.map → modal.e3EQ6Kex.js.map} +1 -1
  202. package/dist/chunks/nl.B6vCf2B9.js +327 -0
  203. package/dist/chunks/nl.B6vCf2B9.js.map +1 -0
  204. package/dist/chunks/{pagination.BSyshRGH.js → pagination.BcFt2FqK.js} +6 -6
  205. package/dist/chunks/{pagination.BSyshRGH.js.map → pagination.BcFt2FqK.js.map} +1 -1
  206. package/dist/chunks/{promo-banner.D3aG5wnp.js → promo-banner.yfBorKj7.js} +2 -2
  207. package/dist/chunks/{promo-banner.D3aG5wnp.js.map → promo-banner.yfBorKj7.js.map} +1 -1
  208. package/dist/chunks/pt-BR.CiGdfP45.js +380 -0
  209. package/dist/chunks/pt-BR.CiGdfP45.js.map +1 -0
  210. package/dist/chunks/{radio-group.DTZwsfwW.js → radio-group.CtTnfkYg.js} +3 -3
  211. package/dist/chunks/{radio-group.DTZwsfwW.js.map → radio-group.CtTnfkYg.js.map} +1 -1
  212. package/dist/chunks/{rich-text-editor.B0ivi3UG.js → rich-text-editor.Dq2CFGOu.js} +5 -5
  213. package/dist/chunks/{rich-text-editor.B0ivi3UG.js.map → rich-text-editor.Dq2CFGOu.js.map} +1 -1
  214. package/dist/chunks/{search-bar.Bpk-PuYT.js → search-bar.B0SdQBnY.js} +3 -3
  215. package/dist/chunks/{search-bar.Bpk-PuYT.js.map → search-bar.B0SdQBnY.js.map} +1 -1
  216. package/dist/chunks/{secondary-nav.BGOYJrsB.js → secondary-nav.BPGpxd0p.js} +35 -29
  217. package/dist/chunks/{secondary-nav.BGOYJrsB.js.map → secondary-nav.BPGpxd0p.js.map} +1 -1
  218. package/dist/chunks/{selection-card-group.CLqWoLSN.js → selection-card-group.BryV14qP.js} +5 -5
  219. package/dist/chunks/{selection-card-group.CLqWoLSN.js.map → selection-card-group.BryV14qP.js.map} +1 -1
  220. package/dist/chunks/{sidepanel.C5SvJNMR.js → sidepanel.NFyZGE57.js} +5 -5
  221. package/dist/chunks/{sidepanel.C5SvJNMR.js.map → sidepanel.NFyZGE57.js.map} +1 -1
  222. package/dist/chunks/startOfWeek.Dxw2MhGp.js +10 -0
  223. package/dist/chunks/startOfWeek.Dxw2MhGp.js.map +1 -0
  224. package/dist/chunks/step.BLFXvHL6.js +223 -0
  225. package/dist/chunks/step.BLFXvHL6.js.map +1 -0
  226. package/dist/chunks/{structured-list-item.CbXDKwsF.js → structured-list-item.CptOCpHP.js} +3 -3
  227. package/dist/chunks/{structured-list-item.CbXDKwsF.js.map → structured-list-item.CptOCpHP.js.map} +1 -1
  228. package/dist/chunks/{summary-grid.types.haWi7oaf.js → summary-grid.types.B1T8_k1m.js} +3 -3
  229. package/dist/chunks/{summary-grid.types.haWi7oaf.js.map → summary-grid.types.B1T8_k1m.js.map} +1 -1
  230. package/dist/chunks/sv.f8EfZjMZ.js +377 -0
  231. package/dist/chunks/sv.f8EfZjMZ.js.map +1 -0
  232. package/dist/chunks/{tab.ZQfGp_FP.js → tab.FUMpPsBP.js} +2 -2
  233. package/dist/chunks/{tab.ZQfGp_FP.js.map → tab.FUMpPsBP.js.map} +1 -1
  234. package/dist/chunks/{textarea.DfR2o1lz.js → textarea.riUt0BiI.js} +31 -31
  235. package/dist/chunks/textarea.riUt0BiI.js.map +1 -0
  236. package/dist/chunks/{timeline-item.rLqeBsyz.js → timeline-item.CFfW1DoD.js} +16 -15
  237. package/dist/chunks/{timeline-item.rLqeBsyz.js.map → timeline-item.CFfW1DoD.js.map} +1 -1
  238. package/dist/chunks/{toast.C7lu_NsX.js → toast.Csv6tMyT.js} +2 -2
  239. package/dist/chunks/{toast.C7lu_NsX.js.map → toast.Csv6tMyT.js.map} +1 -1
  240. package/dist/chunks/{tutorial.DA775wec.js → tutorial.D18LwXVy.js} +2 -2
  241. package/dist/chunks/{tutorial.DA775wec.js.map → tutorial.D18LwXVy.js.map} +1 -1
  242. package/dist/chunks/{use-cached-selected-values.DIKJ8yNE.js → use-cached-selected-values.gDWGi5Nk.js} +240 -231
  243. package/dist/chunks/{use-cached-selected-values.DIKJ8yNE.js.map → use-cached-selected-values.gDWGi5Nk.js.map} +1 -1
  244. package/dist/chunks/{use-country-items.B3Cd3Tdo.js → use-country-items.ClS_So5N.js} +2 -2
  245. package/dist/chunks/{use-country-items.B3Cd3Tdo.js.map → use-country-items.ClS_So5N.js.map} +1 -1
  246. package/dist/chunks/zh-CN.BzH0fIXr.js +389 -0
  247. package/dist/chunks/zh-CN.BzH0fIXr.js.map +1 -0
  248. package/dist/code-snippet.js +1 -1
  249. package/dist/country.js +2 -2
  250. package/dist/dashboard-template.js +1 -1
  251. package/dist/dashed-underline.js +1 -1
  252. package/dist/data-grid-template.js +1 -1
  253. package/dist/data-grid.js +1 -1
  254. package/dist/date-picker.js +2 -2
  255. package/dist/date-range-picker.js +2 -2
  256. package/dist/dropdown.js +3 -3
  257. package/dist/empty-state.js +1 -1
  258. package/dist/file-uploader.js +1 -1
  259. package/dist/filter-bar.js +1 -1
  260. package/dist/form-layout.js +1 -1
  261. package/dist/header-with-views.js +1 -1
  262. package/dist/header.js +1 -1
  263. package/dist/index.js +250 -251
  264. package/dist/index.js.map +1 -1
  265. package/dist/input-field-password.js +1 -1
  266. package/dist/input-field-phone-number.js +1 -1
  267. package/dist/input-field.js +1 -1
  268. package/dist/inspector.js +1 -1
  269. package/dist/internal.js +10 -10
  270. package/dist/link.js +1 -1
  271. package/dist/menu.js +1 -1
  272. package/dist/modal-fullscreen.js +1 -1
  273. package/dist/modal.js +2 -2
  274. package/dist/pagination.js +1 -1
  275. package/dist/popover.js +1 -1
  276. package/dist/promo-banner.js +1 -1
  277. package/dist/radio-group.js +1 -1
  278. package/dist/rich-text-editor.js +1 -1
  279. package/dist/search-bar.js +2 -2
  280. package/dist/secondary-nav.js +1 -1
  281. package/dist/selection-card.js +1 -1
  282. package/dist/sidepanel.js +1 -1
  283. package/dist/stepper.js +1 -1
  284. package/dist/structured-list.js +1 -1
  285. package/dist/styles/bento-dark.css +0 -1829
  286. package/dist/styles/bento-light.css +0 -1829
  287. package/dist/styles/bento.css +0 -1829
  288. package/dist/styles/legacy.css +0 -1829
  289. package/dist/styles/styleguide.css +0 -1829
  290. package/dist/summary-grid.js +1 -1
  291. package/dist/tabs.js +1 -1
  292. package/dist/textarea.js +1 -1
  293. package/dist/timeline.js +1 -1
  294. package/dist/toast.js +1 -1
  295. package/dist/tutorial.js +1 -1
  296. package/package.json +14 -25
  297. package/dist/@types/components.d.ts +0 -196
  298. package/dist/@types/use-form-v4.d.ts +0 -86
  299. package/dist/chunks/calendar.DCLyThOl.js +0 -1832
  300. package/dist/chunks/calendar.DCLyThOl.js.map +0 -1
  301. package/dist/chunks/checkbox-input.B0NsfSNR.js.map +0 -1
  302. package/dist/chunks/code-snippet.1_edHDaZ.js.map +0 -1
  303. package/dist/chunks/constructNow.BhymNmy5.js +0 -8
  304. package/dist/chunks/country.types.C0Q_hhgJ.js +0 -269
  305. package/dist/chunks/date-format.B8RU7D42.js +0 -17
  306. package/dist/chunks/date-format.B8RU7D42.js.map +0 -1
  307. package/dist/chunks/date-picker.-a_TXwjx.js.map +0 -1
  308. package/dist/chunks/date-range-picker.Bw1yPTu-.js +0 -906
  309. package/dist/chunks/date-range-picker.Bw1yPTu-.js.map +0 -1
  310. package/dist/chunks/differenceInMonths.Cab3nOsb.js +0 -1590
  311. package/dist/chunks/differenceInMonths.Cab3nOsb.js.map +0 -1
  312. package/dist/chunks/es6.MoTTyETW.js +0 -12
  313. package/dist/chunks/es6.MoTTyETW.js.map +0 -1
  314. package/dist/chunks/filter-bar.DNA9QblV.js +0 -2472
  315. package/dist/chunks/filter-bar.DNA9QblV.js.map +0 -1
  316. package/dist/chunks/fixed-scroller.Ca1ujamx.js +0 -106
  317. package/dist/chunks/getTimezoneOffsetInMilliseconds.B7sxiukN.js.map +0 -1
  318. package/dist/chunks/header-meta.C8_W0j_p.js +0 -170
  319. package/dist/chunks/header-meta.C8_W0j_p.js.map +0 -1
  320. package/dist/chunks/step.mqn8E6dm.js +0 -217
  321. package/dist/chunks/step.mqn8E6dm.js.map +0 -1
  322. package/dist/chunks/textarea.DfR2o1lz.js.map +0 -1
  323. package/dist/web-types.json +0 -17280
@@ -1,43 +1,45 @@
1
- import { defineComponent as g, useSlots as w, computed as p, onMounted as T, onUnmounted as G, useAttrs as Q, inject as x, ref as d, toRefs as ee, watch as j, nextTick as P, provide as te, toRef as ne } from "vue";
2
- import { B as b } from "./button.C5GvPqe5.js";
3
- import { B as se } from "./loading-indicator.PxbRzshH.js";
4
- import { C as oe } from "./cross-circle-fill.DTDtgLMf.js";
5
- import { C as ae } from "./checkmark-circle-fill.BttTCjrM.js";
1
+ import { defineComponent as g, useSlots as w, computed as p, onMounted as T, onUnmounted as j, useAttrs as se, inject as x, ref as c, toRefs as oe, watch as G, nextTick as N, toRef as Y, provide as ae } from "vue";
2
+ import { B as b } from "./button.DIU6m9wD.js";
3
+ import { B as ie } from "./loading-indicator.PxbRzshH.js";
4
+ import { C as re } from "./cross-circle-fill.DTDtgLMf.js";
5
+ import { C as le } from "./checkmark-circle-fill.BttTCjrM.js";
6
6
  import { u as D } from "./use-has-slot.C9lQZ6nz.js";
7
7
  import { u as H } from "./index.B6WW_F-J.js";
8
8
  import { n as C } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
9
- import { i as Y } from "./index.Cl4_42j5.js";
10
- import { B as J, D as ie } from "./divider.DX5gwN7p.js";
11
- import { C as re } from "./cross.CC_B-vG-.js";
12
- import { B as q, a as F, p as le } from "./typography.Bq-EGj9y.js";
13
- import { c as ue, P as ce, d as de } from "./popper-container.Cdokz_NE.js";
14
- import { u as fe } from "./aria-label.CaUURpnB.js";
15
- import { o as pe } from "./on-click-outside.D9aY9g8G.js";
16
- import { g as _e } from "./generate-uid.NJ8tVoha.js";
17
- import { C as me } from "./chevron-down.eYtgv5ly.js";
9
+ import { i as J } from "./index.Cl4_42j5.js";
10
+ import { B as q, D as ue } from "./divider.DX5gwN7p.js";
11
+ import { C as ce } from "./cross.CC_B-vG-.js";
12
+ import { B as X, a as F, p as de } from "./typography.Bq-EGj9y.js";
13
+ import { c as fe, P as pe, d as _e } from "./popper-container.Cdokz_NE.js";
14
+ import { u as me } from "./aria-label.CaUURpnB.js";
15
+ import { o as ve } from "./on-click-outside.D9aY9g8G.js";
16
+ import { g as ye } from "./generate-uid.NJ8tVoha.js";
17
+ import { C as he } from "./chevron-down.eYtgv5ly.js";
18
18
  /* empty css */
19
- import { C as ve, a as W } from "./chevron-left.BS24hEFa.js";
20
- import { a as U, B as ye } from "./base-button.IN4bpcds.js";
21
- import { t as he } from "./truncate.BfIl_-71.js";
22
- import { o as be } from "./resize.Bqks3WUm.js";
23
- import { g as ge } from "./es6.MoTTyETW.js";
19
+ import { C as be, a as W } from "./chevron-left.BS24hEFa.js";
20
+ import { a as U, B as ge } from "./base-button.IN4bpcds.js";
21
+ import { t as Ce } from "./truncate.BfIl_-71.js";
22
+ import { o as ke } from "./resize.Bqks3WUm.js";
23
+ import { g as Ie } from "./es6.C1DXQV6f.js";
24
24
  import "../assets/button-actions.css";
25
25
  var I = /* @__PURE__ */ ((o) => (o.START = "start", o.LOADING = "loading", o.SUCCESS = "success", o.FAIL = "fail", o))(I || {});
26
- const Ce = {
26
+ const Be = {
27
27
  "en-US": {
28
28
  failed: "Failed",
29
29
  succeded: "Succeded"
30
30
  },
31
31
  "ja-JP": {
32
- failed: "失敗しました"
32
+ failed: "失敗しました",
33
+ succeded: "成功"
33
34
  },
34
35
  "pt-BR": {
35
- failed: "Falha"
36
+ failed: "Falha",
37
+ succeded: "Bem-sucedido"
36
38
  }
37
- }, ke = {
38
- i18n: { messages: Ce }
39
- }, Ie = /* @__PURE__ */ g({
40
- ...ke,
39
+ }, Oe = {
40
+ i18n: { messages: Be }
41
+ }, xe = /* @__PURE__ */ g({
42
+ ...Oe,
41
43
  __name: "loading-button",
42
44
  props: {
43
45
  /**
@@ -88,7 +90,7 @@ const Ce = {
88
90
  },
89
91
  emits: ["click"],
90
92
  setup(o, { emit: e }) {
91
- const n = o, t = w(), s = D(t), { t: i } = H(), c = p(() => ({
93
+ const n = o, t = w(), s = D(t), { t: i } = H(), f = p(() => ({
92
94
  [`b-loading-button--${n.variant}-${I.LOADING}`]: n.state === I.LOADING && !n.disabled,
93
95
  "b-loading-button--loading": n.state === I.LOADING && !n.disabled,
94
96
  [`b-loading-button--${n.variant}-${I.SUCCESS}`]: n.state === I.SUCCESS,
@@ -98,12 +100,12 @@ const Ce = {
98
100
  ), u = p(
99
101
  () => n.critical && n.state === I.START || n.state === I.FAIL
100
102
  );
101
- return { __sfc: !0, props: n, emit: e, slots: t, hasSlot: s, t: i, conditionalClasses: c, isInverseLoadingIndicator: l, isCritical: u, onClick: (r) => {
103
+ return { __sfc: !0, props: n, emit: e, slots: t, hasSlot: s, t: i, conditionalClasses: f, isInverseLoadingIndicator: l, isCritical: u, onClick: (r) => {
102
104
  r.stopPropagation(), n.state !== I.LOADING && e("click", r);
103
- }, BentoLoadingIndicator: se, BentoButton: b, Cross: oe, Checkmark: ae };
105
+ }, BentoLoadingIndicator: ie, BentoButton: b, Cross: re, Checkmark: le };
104
106
  }
105
107
  });
106
- var Be = function() {
108
+ var Se = function() {
107
109
  var e = this, n = e._self._c, t = e._self._setupProxy;
108
110
  return n(t.BentoButton, { staticClass: "b-loading-button", class: t.conditionalClasses, attrs: { critical: t.isCritical, variant: e.variant, condensed: e.condensed, disabled: e.disabled, inverse: e.inverse }, on: { "!click": function(s) {
109
111
  return s.stopPropagation(), t.onClick.apply(null, arguments);
@@ -112,16 +114,16 @@ var Be = function() {
112
114
  }, proxy: !0 } : e.state !== "start" ? { key: "iconLeft", fn: function() {
113
115
  return [n("span", { staticClass: "b-loading-button__icon", attrs: { "data-testid": "loading-button-rotating-icon" } }, [e.state === "fail" ? n(t.Cross, { attrs: { "svg-title": t.t("failed") } }) : e.state === "success" ? n(t.Checkmark, { attrs: { "svg-title": t.t("succeded") } }) : e.state === "loading" ? n(t.BentoLoadingIndicator, { attrs: { small: "", inverse: t.isInverseLoadingIndicator } }) : e._e()], 1)];
114
116
  }, proxy: !0 } : null], null, !0) }, [e._t("default")], 2);
115
- }, Oe = [], xe = /* @__PURE__ */ C(
116
- Ie,
117
- Be,
118
- Oe,
117
+ }, Le = [], Ee = /* @__PURE__ */ C(
118
+ xe,
119
+ Se,
120
+ Le,
119
121
  !1,
120
122
  null,
121
123
  "bc74b2f7"
122
124
  );
123
- const Se = xe.exports, Ee = {}, Le = /* @__PURE__ */ g({
124
- ...Ee,
125
+ const we = Ee.exports, Te = {}, Me = /* @__PURE__ */ g({
126
+ ...Te,
125
127
  __name: "toggle-button",
126
128
  props: {
127
129
  /**
@@ -172,11 +174,11 @@ const Se = xe.exports, Ee = {}, Le = /* @__PURE__ */ g({
172
174
  "b-toggle-button--inverse": n.inverse
173
175
  })), i = (u) => {
174
176
  u.stopPropagation(), n != null && n.disabled || (e("click", u), e("update:toggled", !n.toggled));
175
- }, c = w();
176
- return { __sfc: !0, props: n, emit: e, computedVariant: t, conditionalClasses: s, onClick: i, slots: c, getSlotKeyIfVue3: (u) => ({}), BentoButton: b };
177
+ }, f = w();
178
+ return { __sfc: !0, props: n, emit: e, computedVariant: t, conditionalClasses: s, onClick: i, slots: f, getSlotKeyIfVue3: (u) => ({}), BentoButton: b };
177
179
  }
178
180
  });
179
- var we = function() {
181
+ var Re = function() {
180
182
  var e = this, n = e._self._c, t = e._self._setupProxy;
181
183
  return n(t.BentoButton, e._b({ staticClass: "b-toggle-button", class: t.conditionalClasses, attrs: { "aria-expanded": `${e.toggled}`, "aria-pressed": `${e.toggled}`, condensed: e.condensed, disabled: e.disabled, inverse: e.inverse, variant: t.computedVariant }, on: { "!click": function(s) {
182
184
  return s.stopPropagation(), t.onClick.apply(null, arguments);
@@ -185,17 +187,17 @@ var we = function() {
185
187
  return [e._t(i, null, null, t.getSlotKeyIfVue3(i))];
186
188
  }, proxy: !0 };
187
189
  })], null, !0) }, "bento-button", e.$attrs, !1));
188
- }, Te = [], Me = /* @__PURE__ */ C(
189
- Le,
190
- we,
191
- Te,
190
+ }, Pe = [], Ae = /* @__PURE__ */ C(
191
+ Me,
192
+ Re,
193
+ Pe,
192
194
  !1,
193
195
  null,
194
196
  "0bc368c9"
195
197
  );
196
- const Re = Me.exports, Ae = g({
198
+ const Ne = Ae.exports, De = g({
197
199
  name: "bento-popover-dismiss-button",
198
- components: { BentoButton: b, CrossIcon: re },
200
+ components: { BentoButton: b, CrossIcon: ce },
199
201
  props: {
200
202
  onImage: {
201
203
  type: Boolean,
@@ -209,23 +211,23 @@ const Re = Me.exports, Ae = g({
209
211
  };
210
212
  }
211
213
  });
212
- var Ne = function() {
214
+ var $e = function() {
213
215
  var e = this, n = e._self._c;
214
216
  return e._self._setupProxy, n("bento-button", { class: e.conditionalClass, attrs: { variant: "tertiary" }, on: { click: function(t) {
215
217
  return e.$emit("click");
216
218
  } }, scopedSlots: e._u([{ key: "iconLeft", fn: function() {
217
219
  return [n("cross-icon", { attrs: { "svg-title": "dismiss" } })];
218
220
  }, proxy: !0 }]) });
219
- }, Pe = [], De = /* @__PURE__ */ C(
220
- Ae,
221
- Ne,
222
- Pe,
221
+ }, Fe = [], We = /* @__PURE__ */ C(
222
+ De,
223
+ $e,
224
+ Fe,
223
225
  !1,
224
226
  null,
225
227
  "4c18828f"
226
228
  );
227
- const $e = De.exports, Fe = g({
228
- components: { BentoTypography: q },
229
+ const Ue = We.exports, Ve = g({
230
+ components: { BentoTypography: X },
229
231
  props: {
230
232
  /**
231
233
  * Indicates if the popover contains an image.
@@ -247,26 +249,26 @@ const $e = De.exports, Fe = g({
247
249
  };
248
250
  }
249
251
  });
250
- var We = function() {
252
+ var Ke = function() {
251
253
  var e = this, n = e._self._c;
252
254
  return e._self._setupProxy, n("bento-typography", { attrs: { strongest: e.isStrongest, variant: e.titleVariant, el: "span" } }, [e._v(" " + e._s(e.title) + " ")]);
253
- }, Ue = [], Ve = /* @__PURE__ */ C(
254
- Fe,
255
- We,
256
- Ue,
255
+ }, je = [], Ge = /* @__PURE__ */ C(
256
+ Ve,
257
+ Ke,
258
+ je,
257
259
  !1,
258
260
  null,
259
261
  null
260
262
  );
261
- const Ke = Ve.exports, Ge = (o, e, n = {}) => {
263
+ const Ye = Ge.exports, He = (o, e, n = {}) => {
262
264
  let t;
263
265
  T(() => {
264
- t = pe(o, e, n);
265
- }), G(() => {
266
+ t = ve(o, e, n);
267
+ }), j(() => {
266
268
  t && (t(), t = null);
267
269
  });
268
- }, je = /* @__PURE__ */ Symbol("input field popover injection key"), He = /* @__PURE__ */ Symbol("input field popover injection key"), Ye = /* @__PURE__ */ Symbol("popover offset injection key"), Je = {}, qe = /* @__PURE__ */ g({
269
- ...Je,
270
+ }, Je = /* @__PURE__ */ Symbol("input field popover injection key"), qe = /* @__PURE__ */ Symbol("input field popover injection key"), Xe = /* @__PURE__ */ Symbol("popover offset injection key"), ze = {}, Ze = /* @__PURE__ */ g({
271
+ ...ze,
270
272
  __name: "popover",
271
273
  props: {
272
274
  actions: { default: void 0 },
@@ -292,18 +294,18 @@ const Ke = Ve.exports, Ge = (o, e, n = {}) => {
292
294
  },
293
295
  emits: ["dismiss", "placement"],
294
296
  setup(o, { emit: e }) {
295
- const n = o, t = 2, s = w(), i = Q(), c = p(() => {
297
+ const n = o, t = 2, s = w(), i = se(), f = p(() => {
296
298
  var B;
297
299
  return {
298
300
  id: (B = i.id) == null ? void 0 : B.toString(),
299
- role: (i == null ? void 0 : i.role) === null ? void 0 : ue.POPOVER
301
+ role: (i == null ? void 0 : i.role) === null ? void 0 : fe.POPOVER
300
302
  };
301
- }), l = x(Ye, t), u = d(i["aria-label"]), { ariaLabel: a, title: r } = ee(n), f = fe({
303
+ }), l = x(Xe, t), u = c(i["aria-label"]), { ariaLabel: a, title: r } = oe(n), d = me({
302
304
  ariaLabel: u.value,
303
305
  // TODO: take this line away when the aria-label props is removed
304
306
  label: a,
305
307
  defaultFallback: r
306
- }), m = x(He, !1) || x(je, !1), _ = p(() => ({
308
+ }), m = x(qe, !1) || x(Je, !1), _ = p(() => ({
307
309
  "b-popover--small": n.small && !n.large,
308
310
  "b-popover--with-divider": !!n.divider,
309
311
  "b-popover--large": n.large && !n.small,
@@ -312,24 +314,24 @@ const Ke = Ve.exports, Ge = (o, e, n = {}) => {
312
314
  "b-popover--overflow-visible": n.overflowVisible || m
313
315
  })), y = p(() => ({
314
316
  "b-popover__content--with-title": !!n.title
315
- })), k = () => e("dismiss"), E = D(s);
316
- return { __sfc: !0, DEFAULT_OFFSET: t, props: n, emit: e, slots: s, attrs: i, computedAttributes: c, offset: l, ariaLabelAttribute: u, ariaLabel: a, title: r, computedAriaLabel: f, isOverflowVisible: m, conditionalClasses: _, contentConditionalClasses: y, dismissPopover: k, hasSlot: E, BentoPopoverDismissButton: $e, BentoPopoverTitle: Ke, BentoButtonActions: Xt, PopperContainer: ce };
317
+ })), k = () => e("dismiss"), L = D(s);
318
+ return { __sfc: !0, DEFAULT_OFFSET: t, props: n, emit: e, slots: s, attrs: i, computedAttributes: f, offset: l, ariaLabelAttribute: u, ariaLabel: a, title: r, computedAriaLabel: d, isOverflowVisible: m, conditionalClasses: _, contentConditionalClasses: y, dismissPopover: k, hasSlot: L, BentoPopoverDismissButton: Ue, BentoPopoverTitle: Ye, BentoButtonActions: Qt, PopperContainer: pe };
317
319
  }
318
320
  });
319
- var Xe = function() {
321
+ var Qe = function() {
320
322
  var e = this, n = e._self._c, t = e._self._setupProxy;
321
323
  return n("Transition", { attrs: { name: "b-popover__animation" } }, [e.open ? n(t.PopperContainer, { staticClass: "b-popover", class: t.conditionalClasses, attrs: { id: t.computedAttributes.id, "aria-role": t.computedAttributes.role, "aria-label": t.computedAriaLabel, arrow: { classes: ["b-popover__arrow"] }, "disabled-focus-trap": e.disableFocusTrap, "trap-all": e.trapAll, "trap-all-options": e.trapAllOptions, "fallback-position": e.fallbackPosition, "fixed-positioning": e.fixedPositioning, offset: [0, t.offset], position: e.position, "target-element": e.targetElement }, on: { placement: function(s) {
322
324
  return e.$emit("placement", s);
323
325
  } } }, [t.hasSlot("image") ? n("div", { staticClass: "b-popover__image" }, [e.dismissible ? n("div", { staticClass: "b-popover__image-dismiss-button" }, [n(t.BentoPopoverDismissButton, { attrs: { "on-image": "" }, on: { click: t.dismissPopover } })], 1) : e._e(), e._t("image")], 2) : e._e(), t.title ? n("div", { staticClass: "b-popover__header" }, [n("div", { staticClass: "b-popover__header-title" }, [t.hasSlot("headerIcon") ? e._t("headerIcon") : e._e(), n(t.BentoPopoverTitle, { attrs: { title: t.title, "is-image-title": !!t.hasSlot("image") } })], 2), e.dismissible && !t.hasSlot("image") ? n("div", [n(t.BentoPopoverDismissButton, { on: { click: t.dismissPopover } })], 1) : e._e()]) : e._e(), t.hasSlot("default") ? n("div", { staticClass: "b-popover__content", class: t.contentConditionalClasses }, [e._t("default")], 2) : e._e(), e.actions ? n("div", { staticClass: "b-popover__footer" }, [n(t.BentoButtonActions, { attrs: { actions: e.actions, layout: e.actionsLayout } })], 1) : e._e()]) : e._e()], 1);
324
- }, ze = [], Ze = /* @__PURE__ */ C(
325
- qe,
326
- Xe,
327
- ze,
326
+ }, et = [], tt = /* @__PURE__ */ C(
327
+ Ze,
328
+ Qe,
329
+ et,
328
330
  !1,
329
331
  null,
330
332
  "2de66a7e"
331
333
  );
332
- const Qe = Ze.exports, et = /* @__PURE__ */ Symbol("modal injection key"), tt = /* @__PURE__ */ Symbol("sidepanel children element injection key"), nt = /* @__PURE__ */ Symbol("modal fullscreen children element injection key"), st = g({
334
+ const nt = tt.exports, st = /* @__PURE__ */ Symbol("modal injection key"), ot = /* @__PURE__ */ Symbol("sidepanel children element injection key"), at = /* @__PURE__ */ Symbol("modal fullscreen children element injection key"), it = g({
333
335
  name: "teleport",
334
336
  props: {
335
337
  to: {
@@ -348,7 +350,7 @@ const Qe = Ze.exports, et = /* @__PURE__ */ Symbol("modal injection key"), tt =
348
350
  waiting: !1,
349
351
  observer: null,
350
352
  parent: null,
351
- isVue2: Y
353
+ isVue2: J
352
354
  }),
353
355
  computed: {
354
356
  classes() {
@@ -357,7 +359,7 @@ const Qe = Ze.exports, et = /* @__PURE__ */ Symbol("modal injection key"), tt =
357
359
  defaultTo() {
358
360
  if (this.to)
359
361
  return this.to;
360
- const o = x(et, "") || x(nt, "") || x(tt, "");
362
+ const o = x(st, "") || x(at, "") || x(ot, "");
361
363
  return o ? `#${o}` : "body";
362
364
  }
363
365
  },
@@ -428,44 +430,44 @@ const Qe = Ze.exports, et = /* @__PURE__ */ Symbol("modal injection key"), tt =
428
430
  return this.$vnode.componentOptions.children.map((o) => o.elm).filter((o) => o);
429
431
  }
430
432
  }
431
- }), ot = /* @__PURE__ */ g({
432
- ...st,
433
+ }), rt = /* @__PURE__ */ g({
434
+ ...it,
433
435
  setup(o) {
434
- return { __sfc: !0, isVue2: Y };
436
+ return { __sfc: !0, isVue2: J };
435
437
  }
436
438
  });
437
- var at = function() {
439
+ var lt = function() {
438
440
  var e = this, n = e._self._c, t = e._self._setupProxy;
439
441
  return t.isVue2 ? n("div", { class: e.classes }, [e._t("default")], 2) : n("Teleport", { class: e.classes, attrs: { to: e.defaultTo, where: e.where, disabled: e.disabled } }, [e._t("default")], 2);
440
- }, it = [], rt = /* @__PURE__ */ C(
441
- ot,
442
- at,
443
- it,
442
+ }, ut = [], ct = /* @__PURE__ */ C(
443
+ rt,
444
+ lt,
445
+ ut,
444
446
  !1,
445
447
  null,
446
448
  "fda08514"
447
449
  );
448
- const lt = rt.exports;
450
+ const dt = ct.exports;
449
451
  let V = 0;
450
- const ut = {
452
+ const ft = {
451
453
  beforeCreate() {
452
454
  this.uuid = V.toString(), V += 1;
453
455
  }
454
456
  };
455
- var ct = function() {
457
+ var pt = function() {
456
458
  var e = this, n = e._self._c;
457
459
  return n("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? n("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), n("path", { attrs: { fill: "#001222", d: "M8 4C8.29667 4 8.58668 3.91203 8.83335 3.74721C9.08003 3.58238 9.27229 3.34811 9.38582 3.07403C9.49935 2.79994 9.52906 2.49834 9.47118 2.20737C9.4133 1.91639 9.27044 1.64912 9.06066 1.43934C8.85088 1.22956 8.58361 1.0867 8.29264 1.02882C8.00167 0.970945 7.70006 1.00065 7.42598 1.11418C7.15189 1.22771 6.91762 1.41997 6.7528 1.66665C6.58797 1.91332 6.5 2.20333 6.5 2.5C6.5 2.89783 6.65803 3.27936 6.93934 3.56066C7.22064 3.84197 7.60218 4 8 4Z" } }), n("path", { attrs: { fill: "#001222", d: "M8 15C8.29667 15 8.58668 14.912 8.83335 14.7472C9.08003 14.5824 9.27229 14.3481 9.38582 14.074C9.49935 13.7999 9.52906 13.4983 9.47118 13.2074C9.4133 12.9164 9.27044 12.6491 9.06066 12.4393C8.85088 12.2296 8.58361 12.0867 8.29264 12.0288C8.00167 11.9709 7.70006 12.0007 7.42598 12.1142C7.15189 12.2277 6.91762 12.42 6.7528 12.6666C6.58797 12.9133 6.5 13.2033 6.5 13.5C6.5 13.8978 6.65803 14.2794 6.93934 14.5607C7.22064 14.842 7.60218 15 8 15Z" } }), n("path", { attrs: { fill: "#001222", d: "M8.83335 9.24721C8.58668 9.41203 8.29667 9.5 8 9.5C7.60218 9.5 7.22064 9.34197 6.93934 9.06066C6.65803 8.77936 6.5 8.39783 6.5 8C6.5 7.70333 6.58797 7.41332 6.7528 7.16665C6.91762 6.91997 7.15189 6.72771 7.42598 6.61418C7.70006 6.50065 8.00167 6.47094 8.29264 6.52882C8.58361 6.5867 8.85088 6.72956 9.06066 6.93934C9.27044 7.14912 9.4133 7.41639 9.47118 7.70737C9.52906 7.99834 9.49935 8.29994 9.38582 8.57403C9.27229 8.84811 9.08003 9.08238 8.83335 9.24721Z" } })]);
458
- }, dt = [], ft = /* @__PURE__ */ C(
459
- ut,
460
- ct,
461
- dt,
460
+ }, _t = [], mt = /* @__PURE__ */ C(
461
+ ft,
462
+ pt,
463
+ _t,
462
464
  !1,
463
465
  null,
464
466
  null
465
467
  );
466
- const pt = ft.exports, _t = g({
468
+ const vt = mt.exports, yt = g({
467
469
  name: "menu-item",
468
- components: { BaseButton: ye, BentoTypography: q, ChevronRightIcon: ve },
470
+ components: { BaseButton: ge, BentoTypography: X, ChevronRightIcon: be },
469
471
  props: {
470
472
  /**
471
473
  * menu-item text that gets displayed as the main label
@@ -538,19 +540,19 @@ const pt = ft.exports, _t = g({
538
540
  const t = p(() => ({
539
541
  "b-menu-item--critical": o.critical,
540
542
  "b-menu-item--indent": o.indent
541
- })), s = p(() => he(o.secondaryText, 10));
543
+ })), s = p(() => Ce(o.secondaryText, 10));
542
544
  return {
543
545
  // Values
544
546
  conditionalClasses: t,
545
547
  computedSecondaryText: s,
546
548
  // Methods
547
- onClick: (c) => {
548
- c.stopPropagation(), o.handler(), e(U.CLICK);
549
+ onClick: (f) => {
550
+ f.stopPropagation(), o.handler(), e(U.CLICK);
549
551
  }
550
552
  };
551
553
  }
552
554
  });
553
- var mt = function() {
555
+ var ht = function() {
554
556
  var e = this, n = e._self._c;
555
557
  return e._self._setupProxy, n("base-button", { staticClass: "b-menu-item", class: e.conditionalClasses, attrs: { role: "menuitem", disabled: e.disabled, tabindex: "-1" }, on: { click: e.onClick }, scopedSlots: e._u([e.icon ? { key: "iconLeft", fn: function() {
556
558
  return [n(e.icon, { tag: "component", staticClass: "b-menu-item__icon-left", attrs: { "aria-hidden": "true" } })];
@@ -559,23 +561,23 @@ var mt = function() {
559
561
  }, proxy: !0 }, e.chevron ? { key: "iconRight", fn: function() {
560
562
  return [n("chevron-right-icon", { attrs: { "aria-hidden": "true" } })];
561
563
  }, proxy: !0 } : null], null, !0) });
562
- }, vt = [], yt = /* @__PURE__ */ C(
563
- _t,
564
- mt,
565
- vt,
564
+ }, bt = [], gt = /* @__PURE__ */ C(
565
+ yt,
566
+ ht,
567
+ bt,
566
568
  !1,
567
569
  null,
568
570
  "a173cbf5"
569
571
  );
570
- const X = yt.exports;
571
- ({ ...de });
572
+ const z = gt.exports;
573
+ ({ ..._e });
572
574
  var O = /* @__PURE__ */ ((o) => (o.BACK = "back", o.CLOSE = "close", o.OPEN = "open", o))(O || {});
573
- const ht = /* @__PURE__ */ Symbol("menu registering injection key"), bt = {
575
+ const Ct = /* @__PURE__ */ Symbol("menu registering injection key"), kt = {
574
576
  name: "bento-menu-list-container"
575
- }, gt = /* @__PURE__ */ g({
576
- ...bt,
577
+ }, It = /* @__PURE__ */ g({
578
+ ...kt,
577
579
  setup(o) {
578
- const e = d(), n = d({}), t = x(ht, !1);
580
+ const e = c(), n = c({}), t = x(Ct, !1);
579
581
  if (t) {
580
582
  const { registerMenuContainerElement: s } = t;
581
583
  s(e), n.value = {
@@ -585,26 +587,34 @@ const ht = /* @__PURE__ */ Symbol("menu registering injection key"), bt = {
585
587
  return { __sfc: !0, menuListContainerRef: e, menuListContainerEvents: n, registeringAndMousingOut: t };
586
588
  }
587
589
  });
588
- var Ct = function() {
590
+ var Bt = function() {
589
591
  var e = this, n = e._self._c, t = e._self._setupProxy;
590
592
  return n("div", e._g({ ref: "menuListContainerRef", staticClass: "b-menu-list-container", attrs: { "data-testid": "menu-list-container" } }, t.menuListContainerEvents), [e._t("default")], 2);
591
- }, kt = [], It = /* @__PURE__ */ C(
592
- gt,
593
- Ct,
594
- kt,
593
+ }, Ot = [], xt = /* @__PURE__ */ C(
594
+ It,
595
+ Bt,
596
+ Ot,
595
597
  !1,
596
598
  null,
597
599
  "1669d56a"
598
600
  );
599
- const z = It.exports, Z = {
601
+ const Z = xt.exports, Q = {
600
602
  "en-US": {
601
603
  backButton: "Go back",
602
604
  menuButton: "Open menu"
605
+ },
606
+ "ja-JP": {
607
+ backButton: "戻る",
608
+ menuButton: "メニューを開く"
609
+ },
610
+ "pt-BR": {
611
+ backButton: "voltar",
612
+ menuButton: "Abrir menu"
603
613
  }
604
- }, Bt = g({
605
- i18n: { messages: Z },
614
+ }, St = g({
615
+ i18n: { messages: Q },
606
616
  name: "sub-menu-item-list",
607
- components: { BentoDivider: J, MenuItem: X, MenuListContainer: z },
617
+ components: { BentoDivider: q, MenuItem: z, MenuListContainer: Z },
608
618
  props: {
609
619
  items: {
610
620
  type: Array,
@@ -617,9 +627,9 @@ const z = It.exports, Z = {
617
627
  },
618
628
  emits: [O.CLOSE, O.BACK],
619
629
  setup(o, { emit: e }) {
620
- const n = d(null), t = d(0), s = d(o.items.length), i = () => e(O.CLOSE), c = () => e(O.BACK), l = p(() => {
630
+ const n = c(null), t = c(0), s = c(o.items.length), i = () => e(O.CLOSE), f = () => e(O.BACK), l = p(() => {
621
631
  var m;
622
- const f = (m = o.items) == null ? void 0 : m.map((_) => ({
632
+ const d = (m = o.items) == null ? void 0 : m.map((_) => ({
623
633
  ..._,
624
634
  indent: !_.icon,
625
635
  isTitle: !1,
@@ -634,15 +644,15 @@ const z = It.exports, Z = {
634
644
  isTitle: !0,
635
645
  disabled: !1,
636
646
  indent: !1,
637
- handler: c,
638
- clickHandler: c,
647
+ handler: f,
648
+ clickHandler: f,
639
649
  addDivider: !0
640
650
  },
641
- ...f
651
+ ...d
642
652
  ];
643
653
  }), u = async () => {
644
- var f, m, _, y, k;
645
- (k = (y = (_ = (m = (f = n.value) == null ? void 0 : f.children) == null ? void 0 : m[t.value]) == null ? void 0 : _.children) == null ? void 0 : y[0]) == null || k.focus();
654
+ var d, m, _, y, k;
655
+ (k = (y = (_ = (m = (d = n.value) == null ? void 0 : d.children) == null ? void 0 : m[t.value]) == null ? void 0 : _.children) == null ? void 0 : y[0]) == null || k.focus();
646
656
  };
647
657
  T(async () => {
648
658
  setTimeout(() => u(), 150);
@@ -662,13 +672,13 @@ const z = It.exports, Z = {
662
672
  computedItems: l,
663
673
  // Methods
664
674
  closeMenu: i,
665
- onBackButton: c,
675
+ onBackButton: f,
666
676
  focusPrevious: a,
667
677
  focusNext: r
668
678
  };
669
679
  }
670
680
  });
671
- var Ot = function() {
681
+ var Lt = function() {
672
682
  var e = this, n = e._self._c;
673
683
  return e._self._setupProxy, n("transition", { attrs: { name: "b-sub-menu-item-list__transition", appear: "" } }, [n("menu-list-container", { staticClass: "b-sub-menu-item-list" }, [n("ul", { ref: "subMenuItemListRefLocal", staticClass: "b-sub-menu-item-list__list", attrs: { role: "menu" }, on: { keydown: [function(t) {
674
684
  return !t.type.indexOf("key") && e._k(t.keyCode, "down", 40, t.key, ["Down", "ArrowDown"]) ? null : (t.stopPropagation(), e.focusNext.apply(null, arguments));
@@ -679,42 +689,49 @@ var Ot = function() {
679
689
  }] } }, e._l(e.computedItems, function(t, s) {
680
690
  return n("li", { key: `sub-menu-item-list-item-${s}`, attrs: { role: "none" } }, [n("menu-item", { attrs: { text: t.text, handler: t.handler, "secondary-text": t.secondaryText, icon: t.icon, "is-title": t.isTitle, disabled: t.disabled, critical: t.critical, indent: t.indent, tabindex: s === e.subMenuFocusedIndex ? "0" : "-1" }, on: { click: t.clickHandler } }), t.addDivider ? n("bento-divider", { staticClass: "b-sub-menu-item-list__divider" }) : e._e()], 1);
681
691
  }), 0)])], 1);
682
- }, xt = [], St = /* @__PURE__ */ C(
683
- Bt,
684
- Ot,
685
- xt,
692
+ }, Et = [], wt = /* @__PURE__ */ C(
693
+ St,
694
+ Lt,
695
+ Et,
686
696
  !1,
687
697
  null,
688
698
  "93387117"
689
699
  );
690
- const Et = St.exports;
691
- function Lt(o, e, n) {
692
- const i = d(0), c = d(0), l = (a) => {
700
+ const Tt = wt.exports, ee = 350, te = 150;
701
+ function ne(o) {
702
+ return Math.max(te, Math.min(o, ee));
703
+ }
704
+ function Mt(o, e, n, t) {
705
+ const s = c(0), i = c(0), f = (a) => {
693
706
  if (!a || !a.parentElement)
694
707
  return;
695
- const r = a.parentElement, f = a.cloneNode(!0);
696
- f.style.position = "absolute", f.style.visibility = "hidden", r.appendChild(f), f.style.width = "max-content";
697
- const m = f.offsetWidth, _ = Math.max(150, Math.min(m, 350));
698
- i.value = _, f.style.width = `${_}px`;
699
- const y = f.offsetHeight;
700
- c.value = y, r.removeChild(f), c.value = y;
708
+ const r = a.parentElement, d = a.cloneNode(!0);
709
+ d.style.position = "absolute", d.style.visibility = "hidden", r.appendChild(d), d.style.width = "max-content";
710
+ const m = d.offsetWidth, _ = Math.max(te, Math.min(m, ee));
711
+ s.value = _, d.style.width = `${_}px`;
712
+ const y = d.offsetHeight;
713
+ i.value = y, r.removeChild(d), i.value = y;
701
714
  };
702
- return j([e, n], async ([a]) => {
703
- var r, f;
715
+ G([e, n], async ([a]) => {
716
+ var r, d;
704
717
  if (a !== null) {
705
- await P();
706
- const m = (f = (r = o.value) == null ? void 0 : r[0]) == null ? void 0 : f.$el;
707
- m && l(m);
718
+ await N();
719
+ const m = (d = (r = o.value) == null ? void 0 : r[0]) == null ? void 0 : d.$el;
720
+ m && f(m);
708
721
  } else
709
- i.value = 0, c.value = 0;
710
- }), { computedStyle: p(() => {
711
- const a = { width: "max-content" };
712
- return n.value && (c.value > 0 && (a.height = `${c.value}px`), i.value > 0 && (a.width = `${i.value}px`)), a;
722
+ s.value = 0, i.value = 0;
723
+ });
724
+ const l = p(() => t != null && t.value ? ne(t.value) : 0);
725
+ return { computedStyle: p(() => {
726
+ const a = {
727
+ width: l.value > 0 ? `${l.value}px` : "max-content"
728
+ };
729
+ return n.value && (i.value > 0 && (a.height = `${i.value}px`), s.value > 0 && (a.width = `${s.value}px`)), a;
713
730
  }) };
714
731
  }
715
- const wt = g({
732
+ const Rt = g({
716
733
  name: "menu-item-list",
717
- components: { BentoDivider: J, MenuItem: X, MenuListContainer: z, SubMenuItemList: Et },
734
+ components: { BentoDivider: q, MenuItem: z, MenuListContainer: Z, SubMenuItemList: Tt },
718
735
  props: {
719
736
  /**
720
737
  * The data to be displayed in the list
@@ -743,11 +760,18 @@ const wt = g({
743
760
  closeMenuOnItemSelect: {
744
761
  type: Boolean,
745
762
  default: !0
763
+ },
764
+ /**
765
+ * The custom popover width if one has been set
766
+ */
767
+ popoverWidth: {
768
+ type: Number,
769
+ default: null
746
770
  }
747
771
  },
748
772
  emits: [O.CLOSE, "menu-item-click"],
749
773
  setup(o, { emit: e, expose: n }) {
750
- const t = d(null), s = d(null), i = d(null), c = d(null), l = d(!1), u = d(null), a = d(o.focusLastElement ? o.data.length - 1 : 0), r = d(0), f = d(o.data.length - 1), m = p(() => o.data.some((h) => h.icon)), _ = p(() => o.indentItems || m.value ? o.data.map((h) => {
774
+ const t = c(null), s = c(null), i = c(null), f = c(null), l = c(!1), u = c(null), a = c(o.focusLastElement ? o.data.length - 1 : 0), r = c(0), d = c(o.data.length - 1), m = p(() => o.data.some((h) => h.icon)), _ = p(() => o.indentItems || m.value ? o.data.map((h) => {
751
775
  let v = !1;
752
776
  return h.icon || (v = !0), {
753
777
  ...h,
@@ -756,52 +780,57 @@ const wt = g({
756
780
  }) : o.data), y = async () => {
757
781
  var h, v, S;
758
782
  (S = (v = (h = s.value) == null ? void 0 : h.children[a.value]) == null ? void 0 : v.children[0]) == null || S.focus();
759
- }, k = () => e(O.CLOSE), E = (h, v) => {
783
+ }, k = () => e(O.CLOSE), L = (h, v) => {
760
784
  if (h.items) {
761
785
  u.value = v, l.value = !0;
762
786
  return;
763
787
  }
764
788
  u.value = v, l.value = !1, !h.skipClose && o.closeMenuOnItemSelect !== !1 && k(), e("menu-item-click");
765
789
  }, B = () => {
766
- a.value > 0 ? (a.value -= 1, _.value[a.value].disabled && B()) : a.value = f.value, y();
767
- }, L = () => {
768
- a.value < f.value ? (a.value += 1, _.value[a.value].disabled && L()) : a.value = 0, y();
790
+ a.value > 0 ? (a.value -= 1, _.value[a.value].disabled && B()) : a.value = d.value, y();
791
+ }, E = () => {
792
+ a.value < d.value ? (a.value += 1, _.value[a.value].disabled && E()) : a.value = 0, y();
769
793
  }, M = (h, v) => {
770
794
  var S;
771
795
  (S = h == null ? void 0 : h.items) != null && S.length && (u.value = v, l.value = !0);
772
796
  }, R = () => {
773
797
  u.value && l.value && (u.value = null, l.value = !1);
774
- }, A = () => {
798
+ }, P = () => {
775
799
  l.value = !1, u.value = null, y();
776
800
  };
777
801
  n({
778
802
  focusItem: y
779
803
  });
780
- const { computedStyle: N } = Lt(c, u, l);
804
+ const { computedStyle: A } = Mt(
805
+ f,
806
+ u,
807
+ l,
808
+ Y(o, "popoverWidth")
809
+ );
781
810
  return {
782
811
  // Values
783
812
  menuItemListRef: s,
784
813
  menuItemListWrapperRef: i,
785
- subMenuItemListRef: c,
814
+ subMenuItemListRef: f,
786
815
  menuItemRef: t,
787
816
  computedData: _,
788
- computedStyle: N,
817
+ computedStyle: A,
789
818
  focusedIndex: a,
790
819
  subMenuFocusedIndex: r,
791
820
  showSubMenu: l,
792
821
  visibleSubMenuIndex: u,
793
822
  // Methods
794
- menuItemClick: E,
823
+ menuItemClick: L,
795
824
  closeMenu: k,
796
825
  focusPrevious: B,
797
- focusNext: L,
826
+ focusNext: E,
798
827
  focusRight: M,
799
828
  focusLeft: R,
800
- onBackButton: A
829
+ onBackButton: P
801
830
  };
802
831
  }
803
832
  });
804
- var Tt = function() {
833
+ var Pt = function() {
805
834
  var e = this, n = e._self._c;
806
835
  return e._self._setupProxy, n("menu-list-container", { ref: "menuItemListWrapperRef", style: e.computedStyle }, [n("ul", { ref: "menuItemListRef", staticClass: "b-menu-item-list", attrs: { role: "menu" }, on: { keydown: [function(t) {
807
836
  return !t.type.indexOf("key") && e._k(t.keyCode, "down", 40, t.key, ["Down", "ArrowDown"]) ? null : e.focusNext.apply(null, arguments);
@@ -812,28 +841,28 @@ var Tt = function() {
812
841
  }, function(t) {
813
842
  return !t.type.indexOf("key") && e._k(t.keyCode, "tab", 9, t.key, "Tab") ? null : e.closeMenu.apply(null, arguments);
814
843
  }] } }, e._l(e.computedData, function(t, s) {
815
- var i, c, l, u;
844
+ var i, f, l, u;
816
845
  return n("li", { key: `menu-item-${s}`, ref: "menuItemRef", refInFor: !0, staticClass: "b-menu-item-list__item", attrs: { role: "none" }, on: { keydown: [function(a) {
817
846
  return !a.type.indexOf("key") && e._k(a.keyCode, "right", 39, a.key, ["Right", "ArrowRight"]) || "button" in a && a.button !== 2 ? null : e.focusRight(t, s);
818
847
  }, function(a) {
819
848
  return !a.type.indexOf("key") && e._k(a.keyCode, "left", 37, a.key, ["Left", "ArrowLeft"]) || "button" in a && a.button !== 0 ? null : e.focusLeft();
820
- }] } }, [n("menu-item", { attrs: { text: t.text, handler: (i = t.items) != null && i.length ? () => null : t.handler, "secondary-text": t.secondaryText, icon: t.icon, chevron: !!((c = t.items) != null && c.length), disabled: t.disabled, critical: t.critical, indent: t.indent, tabindex: s === e.subMenuFocusedIndex ? "0" : "-1", "aria-haspopup": !!((l = t.items) != null && l.length), "aria-expanded": e.showSubMenu && e.visibleSubMenuIndex === s }, on: { click: function(a) {
849
+ }] } }, [n("menu-item", { attrs: { text: t.text, handler: (i = t.items) != null && i.length ? () => null : t.handler, "secondary-text": t.secondaryText, icon: t.icon, chevron: !!((f = t.items) != null && f.length), disabled: t.disabled, critical: t.critical, indent: t.indent, tabindex: s === e.subMenuFocusedIndex ? "0" : "-1", "aria-haspopup": !!((l = t.items) != null && l.length), "aria-expanded": e.showSubMenu && e.visibleSubMenuIndex === s }, on: { click: function(a) {
821
850
  return e.menuItemClick(t, s);
822
851
  } } }), t.addDivider ? n("bento-divider", { staticClass: "b-menu-item-list__divider" }) : e._e(), (u = t.items) != null && u.length && e.showSubMenu && e.visibleSubMenuIndex === s ? n("sub-menu-item-list", { ref: "subMenuItemListRef", refInFor: !0, attrs: { items: t.items, title: t.text }, on: { back: e.onBackButton, close: e.closeMenu } }) : e._e()], 1);
823
852
  }), 0)]);
824
- }, Mt = [], Rt = /* @__PURE__ */ C(
825
- wt,
826
- Tt,
827
- Mt,
853
+ }, At = [], Nt = /* @__PURE__ */ C(
854
+ Rt,
855
+ Pt,
856
+ At,
828
857
  !1,
829
858
  null,
830
- "b402ef99"
859
+ "273aba04"
831
860
  );
832
- const At = Rt.exports, Nt = /* @__PURE__ */ Symbol("menu inverse style injection key"), Pt = {
833
- i18n: { messages: Z },
861
+ const Dt = Nt.exports, $t = /* @__PURE__ */ Symbol("menu inverse style injection key"), Ft = {
862
+ i18n: { messages: Q },
834
863
  name: "bento-menu"
835
- }, Dt = /* @__PURE__ */ g({
836
- ...Pt,
864
+ }, Wt = /* @__PURE__ */ g({
865
+ ...Ft,
837
866
  props: {
838
867
  button: { default: () => ({
839
868
  variant: "secondary"
@@ -851,11 +880,13 @@ const At = Rt.exports, Nt = /* @__PURE__ */ Symbol("menu inverse style injection
851
880
  emits: ["menu-item-click", "click-outside"],
852
881
  setup(o, { expose: e, emit: n }) {
853
882
  var h;
854
- const t = o, s = w(), i = D(s), { t: c } = H(), l = d(null), u = d(null), a = d(!1), r = d(!1), f = d(null), m = _e("menu"), _ = x(Nt, d(!1));
855
- te(ie, _);
883
+ const t = o, s = w(), i = D(s), { t: f } = H(), l = c(null), u = c(null), a = c(!1), r = c(!1), d = c(null), m = ye("menu"), _ = x($t, c(!1));
884
+ ae(ue, _);
856
885
  const y = p(() => ({
857
886
  "b-menu--inverse": _.value
858
- })), k = p(() => t.menuWidth ? { width: `${t.menuWidth}px` } : null), E = p(() => {
887
+ })), k = p(
888
+ () => t.menuWidth ? { width: `${ne(t.menuWidth)}px` } : null
889
+ ), L = p(() => {
859
890
  if (t != null && t.button)
860
891
  return {
861
892
  variant: "secondary",
@@ -863,22 +894,22 @@ const At = Rt.exports, Nt = /* @__PURE__ */ Symbol("menu inverse style injection
863
894
  };
864
895
  }), B = () => {
865
896
  a.value = !0, n(O.OPEN);
866
- }, L = async (v = t.revertFocusToButton) => {
897
+ }, E = async (v = t.revertFocusToButton) => {
867
898
  var S, $;
868
- a.value && (a.value = !1, v && (await P(), ($ = (S = l.value) == null ? void 0 : S.$el) == null || $.focus()), n(O.CLOSE));
899
+ a.value && (a.value = !1, v && (await N(), ($ = (S = l.value) == null ? void 0 : S.$el) == null || $.focus()), n(O.CLOSE));
869
900
  }, M = (v) => {
870
- v.stopPropagation(), a.value ? L() : B();
901
+ v.stopPropagation(), a.value ? E() : B();
871
902
  }, R = (v) => {
872
903
  v.preventDefault(), r.value = !1, t.disableArrowDownOpeningMenu || B();
873
- }, A = (v) => {
904
+ }, P = (v) => {
874
905
  v.preventDefault(), r.value = !0, B();
875
- }, N = () => {
906
+ }, A = () => {
876
907
  n("menu-item-click");
877
908
  };
878
- return Ge(
879
- f,
909
+ return He(
910
+ d,
880
911
  () => {
881
- L(), n("click-outside");
912
+ E(), n("click-outside");
882
913
  },
883
914
  {
884
915
  ...t.closeOnClickOutsideOptions,
@@ -888,15 +919,15 @@ const At = Rt.exports, Nt = /* @__PURE__ */ Symbol("menu inverse style injection
888
919
  /**
889
920
  * Control to enable programmatic closing of the menu
890
921
  */
891
- closeMenu: L
922
+ closeMenu: E
892
923
  }), T(() => {
893
- i("iconRight") && le(
924
+ i("iconRight") && de(
894
925
  '"bento-menu" no longer supports the "iconRight" slot. The right-aligned icon is now fixed by design.'
895
926
  );
896
- }), { __sfc: !0, props: t, emit: n, slots: s, hasSlot: i, t: c, menuButtonRef: l, menuItemListRef: u, showMenu: a, isLastElementFocused: r, popoverRef: f, menuId: m, isInverseColorSet: _, computedClasses: y, computedMenuWidth: k, computedButtonPropsWithDefaults: E, openMenu: B, closeMenu: L, toggleShowMenu: M, onKeyDown: R, onKeyUp: A, menuItemClick: N, BentoToggleButton: Re, BentoPopover: Qe, BentoTeleport: lt, ChevronDownIcon: me, OptionsVerticalIcon: pt, MenuItemList: At };
927
+ }), { __sfc: !0, props: t, emit: n, slots: s, hasSlot: i, t: f, menuButtonRef: l, menuItemListRef: u, showMenu: a, isLastElementFocused: r, popoverRef: d, menuId: m, isInverseColorSet: _, computedClasses: y, computedMenuWidth: k, computedButtonPropsWithDefaults: L, openMenu: B, closeMenu: E, toggleShowMenu: M, onKeyDown: R, onKeyUp: P, menuItemClick: A, BentoToggleButton: Ne, BentoPopover: nt, BentoTeleport: dt, ChevronDownIcon: he, OptionsVerticalIcon: vt, MenuItemList: Dt };
897
928
  }
898
929
  });
899
- var $t = function() {
930
+ var Ut = function() {
900
931
  var e = this, n = e._self._c, t = e._self._setupProxy;
901
932
  return n("div", { staticClass: "b-menu", class: t.computedClasses, attrs: { "data-testid": "menu" }, on: { keydown: [function(s) {
902
933
  return !s.type.indexOf("key") && e._k(s.keyCode, "down", 40, s.key, ["Down", "ArrowDown"]) ? null : t.onKeyDown.apply(null, arguments);
@@ -921,49 +952,49 @@ var $t = function() {
921
952
  "right-end",
922
953
  "left-start",
923
954
  "left-end"
924
- ], teleport: e.teleport, "without-space": "" } }, [n(t.MenuItemList, { ref: "menuItemListRef", attrs: { "close-menu-on-item-select": e.closeMenuOnItemSelect, data: e.data, "focus-last-element": t.isLastElementFocused }, on: { close: t.closeMenu, "menu-item-click": t.menuItemClick } })], 1) : e._e()], 1) : e._e()], 1);
925
- }, Ft = [], Wt = /* @__PURE__ */ C(
926
- Dt,
927
- $t,
928
- Ft,
955
+ ], teleport: e.teleport, "without-space": "" } }, [n(t.MenuItemList, { ref: "menuItemListRef", attrs: { "close-menu-on-item-select": e.closeMenuOnItemSelect, data: e.data, "focus-last-element": t.isLastElementFocused, "popover-width": e.menuWidth }, on: { close: t.closeMenu, "menu-item-click": t.menuItemClick } })], 1) : e._e()], 1) : e._e()], 1);
956
+ }, Vt = [], Kt = /* @__PURE__ */ C(
957
+ Wt,
958
+ Ut,
959
+ Vt,
929
960
  !1,
930
961
  null,
931
- "fbe7541f"
962
+ "677f361d"
932
963
  );
933
- const Ut = Wt.exports, Vt = /* @__PURE__ */ Symbol(
964
+ const jt = Kt.exports, Gt = /* @__PURE__ */ Symbol(
934
965
  "button actions with menu container injection key"
935
- ), Kt = 242, K = parseInt(ge, 10), Gt = (o, e, n) => {
936
- const t = d(0);
966
+ ), Yt = 242, K = parseInt(Ie, 10), Ht = (o, e, n) => {
967
+ const t = c(0);
937
968
  let s = null;
938
- const { buttonActionsWithMenu: i, menu: c, stackButtons: l } = x(Vt, {
939
- buttonActionsWithMenu: d(null),
940
- menu: d(null),
941
- stackButtons: d(!1)
942
- }), u = p(() => i.value ?? o.value), a = p(() => c.value ? [...e.value, c.value.$el] : e.value), r = (f) => {
969
+ const { buttonActionsWithMenu: i, menu: f, stackButtons: l } = x(Gt, {
970
+ buttonActionsWithMenu: c(null),
971
+ menu: c(null),
972
+ stackButtons: c(!1)
973
+ }), u = p(() => i.value ?? o.value), a = p(() => f.value ? [...e.value, f.value.$el] : e.value), r = (d) => {
943
974
  var y;
944
975
  const m = (y = a.value) == null ? void 0 : y.reduce(
945
- (k, E) => k + E.clientWidth + K,
976
+ (k, L) => k + L.clientWidth + K,
946
977
  -K - 1
947
978
  ), _ = u.value.clientWidth;
948
- return f && (t.value = _ >= Kt && !l.value ? m : 0), t.value > _;
979
+ return d && (t.value = _ >= Yt && !l.value ? m : 0), t.value > _;
949
980
  };
950
- return j(
981
+ return G(
951
982
  () => n.value,
952
983
  () => {
953
- P(() => {
984
+ N(() => {
954
985
  l.value = r(!0);
955
986
  });
956
987
  },
957
988
  { deep: !0 }
958
989
  ), T(() => {
959
- s = be(u.value, () => {
990
+ s = ke(u.value, () => {
960
991
  l.value = r(t.value === 0);
961
992
  });
962
- }), G(() => {
993
+ }), j(() => {
963
994
  s == null || s.disconnect();
964
995
  }), l;
965
- }, jt = {}, Ht = /* @__PURE__ */ g({
966
- ...jt,
996
+ }, Jt = {}, qt = /* @__PURE__ */ g({
997
+ ...Jt,
967
998
  __name: "button-actions",
968
999
  props: {
969
1000
  actions: null,
@@ -971,19 +1002,19 @@ const Ut = Wt.exports, Vt = /* @__PURE__ */ Symbol(
971
1002
  layout: { default: "buttons-end" }
972
1003
  },
973
1004
  setup(o) {
974
- const e = o, n = d(null), t = d(null), s = Gt(n, t, ne(e, "actions")), i = p(() => e.actions.slice().reverse()), c = (r) => {
975
- const f = e.actions.length - 1;
976
- return r === f ? "primary" : "secondary";
1005
+ const e = o, n = c(null), t = c(null), s = Ht(n, t, Y(e, "actions")), i = p(() => e.actions.slice().reverse()), f = (r) => {
1006
+ const d = e.actions.length - 1;
1007
+ return r === d ? "primary" : "secondary";
977
1008
  }, l = p(() => ({
978
1009
  [`b-button-actions--${e.layout}`]: !0,
979
1010
  "b-button-actions--stacked-buttons": s.value
980
1011
  }));
981
- return { __sfc: !0, props: e, buttonActions: n, buttons: t, stackButtons: s, reversedActionsList: i, generateButtonVariantByIndex: c, conditionalClasses: l, generateButtonEvents: (r) => (r == null ? void 0 : r.event) !== void 0 ? {
1012
+ return { __sfc: !0, props: e, buttonActions: n, buttons: t, stackButtons: s, reversedActionsList: i, generateButtonVariantByIndex: f, conditionalClasses: l, generateButtonEvents: (r) => (r == null ? void 0 : r.event) !== void 0 ? {
982
1013
  click: r.event
983
- } : {}, isIconOnly: (r) => r.iconOnly && (r.iconLeft || r.iconRight || r.icon), BentoButton: b, BentoLoadingButton: Se, BentoMenu: Ut };
1014
+ } : {}, isIconOnly: (r) => r.iconOnly && (r.iconLeft || r.iconRight || r.icon), BentoButton: b, BentoLoadingButton: we, BentoMenu: jt };
984
1015
  }
985
1016
  });
986
- var Yt = function() {
1017
+ var Xt = function() {
987
1018
  var e = this, n = e._self._c, t = e._self._setupProxy;
988
1019
  return n("div", { ref: "buttonActions", staticClass: "b-button-actions" }, [n("div", { staticClass: "b-button-actions__container-wrapper", class: t.conditionalClasses, attrs: { role: "group" } }, e._l(t.reversedActionsList, function(s, i) {
989
1020
  return n("div", { key: i, ref: "buttons", refInFor: !0, staticClass: "b-button-actions__button-wrapper" }, [s.data ? [n(t.BentoMenu, { ref: s.elementRef, refInFor: !0, attrs: { data: s.data, "close-menu-on-item-select": s.closeMenuOnItemSelect, "close-on-click-outside-options": s.closeOnClickOutsideOptions, "disable-arrow-down-opening-menu": s.disableArrowDownOpeningMenu, "menu-position": s.menuPosition, "menu-fixed-positioning": s.menuFixedPositioning, "menu-width": s.menuWidth, "revert-focus-to-button": s.revertFocusToButton, teleport: s.teleport }, scopedSlots: e._u([s.icon || s.iconLeft ? { key: "iconLeft", fn: function() {
@@ -1002,34 +1033,34 @@ var Yt = function() {
1002
1033
  return [n(s.iconRight, { tag: "component", attrs: { "svg-title": s.title } })];
1003
1034
  }, proxy: !0 } : null], null, !0) }, t.generateButtonEvents(s)))]], 2);
1004
1035
  }), 0)]);
1005
- }, Jt = [], qt = /* @__PURE__ */ C(
1006
- Ht,
1007
- Yt,
1008
- Jt,
1036
+ }, zt = [], Zt = /* @__PURE__ */ C(
1037
+ qt,
1038
+ Xt,
1039
+ zt,
1009
1040
  !1,
1010
1041
  null,
1011
1042
  "82f686dc"
1012
1043
  );
1013
- const Xt = qt.exports;
1044
+ const Qt = Zt.exports;
1014
1045
  export {
1015
- Xt as B,
1016
- ht as D,
1017
- je as I,
1018
- Nt as M,
1019
- pt as O,
1020
- Ye as P,
1021
- tt as S,
1022
- Se as a,
1046
+ Qt as B,
1047
+ Ct as D,
1048
+ Je as I,
1049
+ $t as M,
1050
+ vt as O,
1051
+ Xe as P,
1052
+ ot as S,
1053
+ we as a,
1023
1054
  I as b,
1024
- Re as c,
1025
- lt as d,
1026
- Vt as e,
1027
- Ut as f,
1055
+ Ne as c,
1056
+ dt as d,
1057
+ Gt as e,
1058
+ jt as f,
1028
1059
  O as g,
1029
- Qe as h,
1030
- nt as i,
1031
- et as j,
1032
- He as k,
1033
- Ge as u
1060
+ nt as h,
1061
+ at as i,
1062
+ st as j,
1063
+ qe as k,
1064
+ He as u
1034
1065
  };
1035
- //# sourceMappingURL=button-actions.BWVq6OZQ.js.map
1066
+ //# sourceMappingURL=button-actions.D9n7MxWe.js.map