@adyen/bento-vue3 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 (306) hide show
  1. package/dist/@types/index.d.ts +57 -6
  2. package/dist/action-bar.js +1 -1
  3. package/dist/alert.js +1 -1
  4. package/dist/assets/accordion-item.css +1 -1
  5. package/dist/assets/action-bar.css +1 -1
  6. package/dist/assets/ai-button.css +1 -1
  7. package/dist/assets/alert.css +1 -1
  8. package/dist/assets/avatar.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-actions.css +1 -1
  12. package/dist/assets/button.css +1 -1
  13. package/dist/assets/calendar.css +1 -1
  14. package/dist/assets/card.css +1 -1
  15. package/dist/assets/checkbox-group.css +1 -1
  16. package/dist/assets/checkbox-input.css +1 -1
  17. package/dist/assets/checkbox.css +1 -1
  18. package/dist/assets/chip.css +1 -1
  19. package/dist/assets/code-snippet.css +1 -1
  20. package/dist/assets/controls-group.css +1 -1
  21. package/dist/assets/country.css +1 -1
  22. package/dist/assets/currency.css +1 -1
  23. package/dist/assets/dashboard-section.css +1 -1
  24. package/dist/assets/dashed-underline.css +1 -1
  25. package/dist/assets/data-grid-template.css +1 -1
  26. package/dist/assets/data-grid.css +1 -1
  27. package/dist/assets/date-picker.css +1 -1
  28. package/dist/assets/date-range-picker.css +1 -1
  29. package/dist/assets/date.css +1 -1
  30. package/dist/assets/dialog-page.css +1 -1
  31. package/dist/assets/divider.css +1 -1
  32. package/dist/assets/dropdown-default-textbox.css +1 -1
  33. package/dist/assets/dropdown-tag.css +1 -1
  34. package/dist/assets/dropdown.css +1 -1
  35. package/dist/assets/empty-state.css +1 -1
  36. package/dist/assets/field-label.css +1 -1
  37. package/dist/assets/file-uploader.css +1 -1
  38. package/dist/assets/filter-bar.css +1 -1
  39. package/dist/assets/fixed-scroller.css +1 -1
  40. package/dist/assets/footer-actions.css +1 -1
  41. package/dist/assets/form-layout-title.css +1 -1
  42. package/dist/assets/grid-layout.css +1 -1
  43. package/dist/assets/header-meta.css +1 -1
  44. package/dist/assets/header-with-views.css +1 -1
  45. package/dist/assets/header.css +1 -1
  46. package/dist/assets/index.css +1 -1
  47. package/dist/assets/info-icon.css +1 -1
  48. package/dist/assets/input-field-password.css +1 -1
  49. package/dist/assets/input-field.css +1 -1
  50. package/dist/assets/inspector.css +1 -1
  51. package/dist/assets/layout-row.css +1 -1
  52. package/dist/assets/link.css +1 -1
  53. package/dist/assets/listbox-option-tag.css +1 -1
  54. package/dist/assets/loading-indicator.css +1 -1
  55. package/dist/assets/modal-fullscreen.css +1 -1
  56. package/dist/assets/pagination.css +1 -1
  57. package/dist/assets/payment-method.css +1 -1
  58. package/dist/assets/popper-container.css +1 -1
  59. package/dist/assets/promo-banner.css +1 -1
  60. package/dist/assets/radio-group.css +1 -1
  61. package/dist/assets/radio-input.css +1 -1
  62. package/dist/assets/rich-text-editor.css +1 -1
  63. package/dist/assets/secondary-nav.css +1 -1
  64. package/dist/assets/segmented-control.css +1 -1
  65. package/dist/assets/selection-card-group.css +1 -1
  66. package/dist/assets/sidepanel.css +1 -1
  67. package/dist/assets/status.css +1 -1
  68. package/dist/assets/step.css +1 -1
  69. package/dist/assets/structured-list-item.css +1 -1
  70. package/dist/assets/summary-grid.css +1 -1
  71. package/dist/assets/tab.css +1 -1
  72. package/dist/assets/tag.css +1 -1
  73. package/dist/assets/textarea.css +1 -1
  74. package/dist/assets/timeline-item.css +1 -1
  75. package/dist/assets/toast.css +1 -1
  76. package/dist/assets/toggle.css +1 -1
  77. package/dist/assets/tooltip.css +1 -1
  78. package/dist/assets/tutorial.css +1 -1
  79. package/dist/assets/use-cached-selected-values.css +1 -1
  80. package/dist/button.js +1 -1
  81. package/dist/card.js +1 -1
  82. package/dist/checkbox.js +2 -2
  83. package/dist/chunks/{action-bar.D5y9JWnT.js → action-bar.CriH15oF.js} +11 -9
  84. package/dist/chunks/{action-bar.D5y9JWnT.js.map → action-bar.CriH15oF.js.map} +1 -1
  85. package/dist/chunks/{alert.CYaIUaUn.js → alert.BYcw-u3b.js} +48 -40
  86. package/dist/chunks/{alert.CYaIUaUn.js.map → alert.BYcw-u3b.js.map} +1 -1
  87. package/dist/chunks/{base-modal.B8HZItVN.js → base-modal.D3GyeCFT.js} +44 -42
  88. package/dist/chunks/{base-modal.B8HZItVN.js.map → base-modal.D3GyeCFT.js.map} +1 -1
  89. package/dist/chunks/{button-actions-with-menu.LlNWeD3B.js → button-actions-with-menu.B8xFgt-p.js} +2 -2
  90. package/dist/chunks/{button-actions-with-menu.LlNWeD3B.js.map → button-actions-with-menu.B8xFgt-p.js.map} +1 -1
  91. package/dist/chunks/{button-actions.O0cnu1_g.js → button-actions.Crj4QFAd.js} +445 -413
  92. package/dist/chunks/button-actions.Crj4QFAd.js.map +1 -0
  93. package/dist/chunks/calendar.DKPx_cQU.js +1237 -0
  94. package/dist/chunks/calendar.DKPx_cQU.js.map +1 -0
  95. package/dist/chunks/{card.Dqt_BOMI.js → card.C_03IYJe.js} +2 -2
  96. package/dist/chunks/{card.Dqt_BOMI.js.map → card.C_03IYJe.js.map} +1 -1
  97. package/dist/chunks/{checkbox-group.S0FqSg9s.js → checkbox-group.DZrhxIHp.js} +4 -4
  98. package/dist/chunks/{checkbox-group.S0FqSg9s.js.map → checkbox-group.DZrhxIHp.js.map} +1 -1
  99. package/dist/chunks/{checkbox-input.BXNGT9U0.js → checkbox-input.Dk9iFQQe.js} +62 -57
  100. package/dist/chunks/checkbox-input.Dk9iFQQe.js.map +1 -0
  101. package/dist/chunks/{checkbox.B_WaHSop.js → checkbox.BWgWtiLJ.js} +10 -10
  102. package/dist/chunks/{checkbox.B_WaHSop.js.map → checkbox.BWgWtiLJ.js.map} +1 -1
  103. package/dist/chunks/{code-snippet.Bfq5pgmE.js → code-snippet.4HtbNUDE.js} +78 -76
  104. package/dist/chunks/code-snippet.4HtbNUDE.js.map +1 -0
  105. package/dist/chunks/constructNow.DuaJst0D.js +8 -0
  106. package/dist/chunks/{constructNow.BhymNmy5.js.map → constructNow.DuaJst0D.js.map} +1 -1
  107. package/dist/chunks/{controls-group.CdnMYv1j.js → controls-group.DpFv8c4E.js} +2 -2
  108. package/dist/chunks/{controls-group.CdnMYv1j.js.map → controls-group.DpFv8c4E.js.map} +1 -1
  109. package/dist/chunks/{copy.Cg-VyVQ4.js → copy.xg9ElNxd.js} +35 -33
  110. package/dist/chunks/{copy.Cg-VyVQ4.js.map → copy.xg9ElNxd.js.map} +1 -1
  111. package/dist/chunks/country.types.DaVCMxk-.js +773 -0
  112. package/dist/chunks/{country.types.C0Q_hhgJ.js.map → country.types.DaVCMxk-.js.map} +1 -1
  113. package/dist/chunks/{country.CPGT2RsT.js → country.vSfTQW51.js} +2 -2
  114. package/dist/chunks/{country.CPGT2RsT.js.map → country.vSfTQW51.js.map} +1 -1
  115. package/dist/chunks/{dashboard-section.CGS38Swm.js → dashboard-section.D_k3_Z2T.js} +3 -3
  116. package/dist/chunks/{dashboard-section.CGS38Swm.js.map → dashboard-section.D_k3_Z2T.js.map} +1 -1
  117. package/dist/chunks/{dashed-underline.DV3p60Ne.js → dashed-underline.B0z2ZZh7.js} +2 -2
  118. package/dist/chunks/{dashed-underline.DV3p60Ne.js.map → dashed-underline.B0z2ZZh7.js.map} +1 -1
  119. package/dist/chunks/{data-grid-template.D2g9KHSZ.js → data-grid-template.DdIrvOXp.js} +4 -4
  120. package/dist/chunks/{data-grid-template.D2g9KHSZ.js.map → data-grid-template.DdIrvOXp.js.map} +1 -1
  121. package/dist/chunks/{data-grid.BoPfKLRj.js → data-grid.BBkF9ojy.js} +896 -812
  122. package/dist/chunks/{data-grid.BoPfKLRj.js.map → data-grid.BBkF9ojy.js.map} +1 -1
  123. package/dist/chunks/date-input.BbZqj10S.js +15 -0
  124. package/dist/chunks/date-input.BbZqj10S.js.map +1 -0
  125. package/dist/chunks/date-picker.dyp0YK9_.js +249 -0
  126. package/dist/chunks/date-picker.dyp0YK9_.js.map +1 -0
  127. package/dist/chunks/date-range-picker.TsUvRvGy.js +1896 -0
  128. package/dist/chunks/date-range-picker.TsUvRvGy.js.map +1 -0
  129. package/dist/chunks/de.DvtL0g75.js +478 -0
  130. package/dist/chunks/de.DvtL0g75.js.map +1 -0
  131. package/dist/chunks/{dialog-page.CTEyyZ_R.js → dialog-page.DaZSlMzY.js} +23 -17
  132. package/dist/chunks/{dialog-page.CTEyyZ_R.js.map → dialog-page.DaZSlMzY.js.map} +1 -1
  133. package/dist/chunks/differenceInMonths.DcFDl4eH.js +43 -0
  134. package/dist/chunks/differenceInMonths.DcFDl4eH.js.map +1 -0
  135. package/dist/chunks/{dropdown-tag.BWnAPzEN.js → dropdown-tag.DtpDzWl4.js} +4 -4
  136. package/dist/chunks/{dropdown-tag.BWnAPzEN.js.map → dropdown-tag.DtpDzWl4.js.map} +1 -1
  137. package/dist/chunks/{dropdown.CtP9keJ4.js → dropdown.D0_8f9Mz.js} +114 -110
  138. package/dist/chunks/{dropdown.CtP9keJ4.js.map → dropdown.D0_8f9Mz.js.map} +1 -1
  139. package/dist/chunks/en-GB.DCGuCmAv.js +46 -0
  140. package/dist/chunks/en-GB.DCGuCmAv.js.map +1 -0
  141. package/dist/chunks/{getTimezoneOffsetInMilliseconds.B7sxiukN.js → en-US.BZii9jNW.js} +160 -196
  142. package/dist/chunks/en-US.BZii9jNW.js.map +1 -0
  143. package/dist/chunks/es.bz0mzkMq.js +374 -0
  144. package/dist/chunks/es.bz0mzkMq.js.map +1 -0
  145. package/dist/chunks/es6.C1DXQV6f.js +12 -0
  146. package/dist/chunks/es6.C1DXQV6f.js.map +1 -0
  147. package/dist/chunks/{field-label.CfizwLcQ.js → field-label.D7vU2Icm.js} +8 -8
  148. package/dist/chunks/{field-label.CfizwLcQ.js.map → field-label.D7vU2Icm.js.map} +1 -1
  149. package/dist/chunks/{file-uploader.C9qXXyin.js → file-uploader.BmBKLzIx.js} +253 -207
  150. package/dist/chunks/{file-uploader.C9qXXyin.js.map → file-uploader.BmBKLzIx.js.map} +1 -1
  151. package/dist/chunks/filter-bar.D0BEt7ia.js +3363 -0
  152. package/dist/chunks/filter-bar.D0BEt7ia.js.map +1 -0
  153. package/dist/chunks/{fixed-scroller.DCjtCzKy.js → fixed-scroller.e56yJp7Q.js} +52 -44
  154. package/dist/chunks/{fixed-scroller.DCjtCzKy.js.map → fixed-scroller.e56yJp7Q.js.map} +1 -1
  155. package/dist/chunks/{footer-actions.CTCV-SW-.js → footer-actions.BqNvwVk7.js} +2 -2
  156. package/dist/chunks/{footer-actions.CTCV-SW-.js.map → footer-actions.BqNvwVk7.js.map} +1 -1
  157. package/dist/chunks/{form-layout-title.Dvlo-2z_.js → form-layout-title.CPsEzRzS.js} +2 -2
  158. package/dist/chunks/{form-layout-title.Dvlo-2z_.js.map → form-layout-title.CPsEzRzS.js.map} +1 -1
  159. package/dist/chunks/fr-CA.B1aPU8fp.js +48 -0
  160. package/dist/chunks/fr-CA.B1aPU8fp.js.map +1 -0
  161. package/dist/chunks/fr.Dj7wEToe.js +47 -0
  162. package/dist/chunks/fr.Dj7wEToe.js.map +1 -0
  163. package/dist/chunks/getTimezoneOffsetInMilliseconds.C-aIpRfB.js +51 -0
  164. package/dist/chunks/getTimezoneOffsetInMilliseconds.C-aIpRfB.js.map +1 -0
  165. package/dist/chunks/header-meta.PysBmkSU.js +263 -0
  166. package/dist/chunks/header-meta.PysBmkSU.js.map +1 -0
  167. package/dist/chunks/{header-with-views.CHObq1kM.js → header-with-views.BGIZadqh.js} +844 -780
  168. package/dist/chunks/{header-with-views.CHObq1kM.js.map → header-with-views.BGIZadqh.js.map} +1 -1
  169. package/dist/chunks/{header.BMTf9s8L.js → header.yMTOq8MR.js} +3 -3
  170. package/dist/chunks/{header.BMTf9s8L.js.map → header.yMTOq8MR.js.map} +1 -1
  171. package/dist/chunks/{input-field-password.CTdUPz2y.js → input-field-password.DN3ltmAg.js} +101 -95
  172. package/dist/chunks/{input-field-password.CTdUPz2y.js.map → input-field-password.DN3ltmAg.js.map} +1 -1
  173. package/dist/chunks/{input-field-phone-number.Bp57oBMS.js → input-field-phone-number.CouE9QiR.js} +180 -174
  174. package/dist/chunks/{input-field-phone-number.Bp57oBMS.js.map → input-field-phone-number.CouE9QiR.js.map} +1 -1
  175. package/dist/chunks/{input-field.DzNDGqBP.js → input-field.C2SQq0V1.js} +67 -59
  176. package/dist/chunks/{input-field.DzNDGqBP.js.map → input-field.C2SQq0V1.js.map} +1 -1
  177. package/dist/chunks/{inspector.p4ukEAWH.js → inspector.Dox76eqN.js} +41 -35
  178. package/dist/chunks/{inspector.p4ukEAWH.js.map → inspector.Dox76eqN.js.map} +1 -1
  179. package/dist/chunks/isSameWeek.CUD7czUN.js +14 -0
  180. package/dist/chunks/isSameWeek.CUD7czUN.js.map +1 -0
  181. package/dist/chunks/it.Oaj6BklL.js +392 -0
  182. package/dist/chunks/it.Oaj6BklL.js.map +1 -0
  183. package/dist/chunks/ja.Cm9tJMi2.js +367 -0
  184. package/dist/chunks/ja.Cm9tJMi2.js.map +1 -0
  185. package/dist/chunks/ko.Ceaof6EP.js +348 -0
  186. package/dist/chunks/ko.Ceaof6EP.js.map +1 -0
  187. package/dist/chunks/match.CMBZxEs9.js +302 -0
  188. package/dist/chunks/match.CMBZxEs9.js.map +1 -0
  189. package/dist/chunks/{modal-fullscreen.DYDW-zC0.js → modal-fullscreen.BXjxVsAq.js} +3 -3
  190. package/dist/chunks/{modal-fullscreen.DYDW-zC0.js.map → modal-fullscreen.BXjxVsAq.js.map} +1 -1
  191. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DI5HA_3W.js → modal.vue_vue_type_script_setup_true_lang.CRovU08l.js} +4 -4
  192. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DI5HA_3W.js.map → modal.vue_vue_type_script_setup_true_lang.CRovU08l.js.map} +1 -1
  193. package/dist/chunks/nl.B6vCf2B9.js +327 -0
  194. package/dist/chunks/nl.B6vCf2B9.js.map +1 -0
  195. package/dist/chunks/{pagination.0cHVUbmR.js → pagination.Biy7xN75.js} +5 -5
  196. package/dist/chunks/{pagination.0cHVUbmR.js.map → pagination.Biy7xN75.js.map} +1 -1
  197. package/dist/chunks/pt-BR.CiGdfP45.js +380 -0
  198. package/dist/chunks/pt-BR.CiGdfP45.js.map +1 -0
  199. package/dist/chunks/{radio-group.B2JLD8_2.js → radio-group.BqsQRDjs.js} +3 -3
  200. package/dist/chunks/{radio-group.B2JLD8_2.js.map → radio-group.BqsQRDjs.js.map} +1 -1
  201. package/dist/chunks/{rich-text-editor.Dw01KOhU.js → rich-text-editor.Bafyvjc3.js} +4 -4
  202. package/dist/chunks/{rich-text-editor.Dw01KOhU.js.map → rich-text-editor.Bafyvjc3.js.map} +1 -1
  203. package/dist/chunks/{search-bar.fCnPv83a.js → search-bar.BF8M5OSY.js} +3 -3
  204. package/dist/chunks/{search-bar.fCnPv83a.js.map → search-bar.BF8M5OSY.js.map} +1 -1
  205. package/dist/chunks/secondary-nav.D2lBMjqY.js +144 -0
  206. package/dist/chunks/{secondary-nav.D1y_GiqG.js.map → secondary-nav.D2lBMjqY.js.map} +1 -1
  207. package/dist/chunks/{selection-card-group.CPSDSz7m.js → selection-card-group.DNPlEqEq.js} +5 -5
  208. package/dist/chunks/{selection-card-group.CPSDSz7m.js.map → selection-card-group.DNPlEqEq.js.map} +1 -1
  209. package/dist/chunks/{sidepanel.1WPpJp8O.js → sidepanel.RJihFo_R.js} +4 -4
  210. package/dist/chunks/{sidepanel.1WPpJp8O.js.map → sidepanel.RJihFo_R.js.map} +1 -1
  211. package/dist/chunks/startOfWeek.Dxw2MhGp.js +10 -0
  212. package/dist/chunks/startOfWeek.Dxw2MhGp.js.map +1 -0
  213. package/dist/chunks/step.DpgnDx29.js +271 -0
  214. package/dist/chunks/step.DpgnDx29.js.map +1 -0
  215. package/dist/chunks/{structured-list-item.C4Fnc7sX.js → structured-list-item.B-hdp7rW.js} +2 -2
  216. package/dist/chunks/{structured-list-item.C4Fnc7sX.js.map → structured-list-item.B-hdp7rW.js.map} +1 -1
  217. package/dist/chunks/{summary-grid.types.CbROj1cf.js → summary-grid.types.BVLRSBAF.js} +3 -3
  218. package/dist/chunks/{summary-grid.types.CbROj1cf.js.map → summary-grid.types.BVLRSBAF.js.map} +1 -1
  219. package/dist/chunks/sv.f8EfZjMZ.js +377 -0
  220. package/dist/chunks/sv.f8EfZjMZ.js.map +1 -0
  221. package/dist/chunks/{tab.C-kmkQiE.js → tab.JPngc9oS.js} +2 -2
  222. package/dist/chunks/{tab.C-kmkQiE.js.map → tab.JPngc9oS.js.map} +1 -1
  223. package/dist/chunks/{textarea.C0tLoH2I.js → textarea.CEDkF8BB.js} +45 -45
  224. package/dist/chunks/textarea.CEDkF8BB.js.map +1 -0
  225. package/dist/chunks/{timeline-item.-IGN2sbj.js → timeline-item.BxGaSGLf.js} +14 -13
  226. package/dist/chunks/{timeline-item.-IGN2sbj.js.map → timeline-item.BxGaSGLf.js.map} +1 -1
  227. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BGbo_qv_.js → tutorial.vue_vue_type_script_setup_true_lang.CEfCLTsD.js} +2 -2
  228. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BGbo_qv_.js.map → tutorial.vue_vue_type_script_setup_true_lang.CEfCLTsD.js.map} +1 -1
  229. package/dist/chunks/{use-cached-selected-values.u6wcYuin.js → use-cached-selected-values.BZIa5TRx.js} +97 -88
  230. package/dist/chunks/{use-cached-selected-values.u6wcYuin.js.map → use-cached-selected-values.BZIa5TRx.js.map} +1 -1
  231. package/dist/chunks/{use-country-items.Dzbl2UsO.js → use-country-items.JZCYNoW7.js} +2 -2
  232. package/dist/chunks/{use-country-items.Dzbl2UsO.js.map → use-country-items.JZCYNoW7.js.map} +1 -1
  233. package/dist/chunks/zh-CN.BzH0fIXr.js +389 -0
  234. package/dist/chunks/zh-CN.BzH0fIXr.js.map +1 -0
  235. package/dist/code-snippet.js +1 -1
  236. package/dist/country.js +2 -2
  237. package/dist/dashboard-template.js +1 -1
  238. package/dist/dashed-underline.js +1 -1
  239. package/dist/data-grid-template.js +1 -1
  240. package/dist/data-grid.js +1 -1
  241. package/dist/date-picker.js +2 -2
  242. package/dist/date-range-picker.js +2 -2
  243. package/dist/dropdown.js +3 -3
  244. package/dist/file-uploader.js +1 -1
  245. package/dist/filter-bar.js +1 -1
  246. package/dist/form-layout.js +1 -1
  247. package/dist/header-with-views.js +1 -1
  248. package/dist/header.js +1 -1
  249. package/dist/index.js +248 -249
  250. package/dist/index.js.map +1 -1
  251. package/dist/input-field-password.js +1 -1
  252. package/dist/input-field-phone-number.js +1 -1
  253. package/dist/input-field.js +1 -1
  254. package/dist/inspector.js +1 -1
  255. package/dist/internal.js +10 -10
  256. package/dist/menu.js +1 -1
  257. package/dist/modal-fullscreen.js +1 -1
  258. package/dist/modal.js +2 -2
  259. package/dist/pagination.js +1 -1
  260. package/dist/popover.js +1 -1
  261. package/dist/radio-group.js +1 -1
  262. package/dist/rich-text-editor.js +1 -1
  263. package/dist/search-bar.js +2 -2
  264. package/dist/secondary-nav.js +1 -1
  265. package/dist/selection-card.js +1 -1
  266. package/dist/sidepanel.js +1 -1
  267. package/dist/stepper.js +1 -1
  268. package/dist/structured-list.js +1 -1
  269. package/dist/styles/bento-dark.css +0 -1829
  270. package/dist/styles/bento-light.css +0 -1829
  271. package/dist/styles/bento.css +0 -1829
  272. package/dist/styles/legacy.css +0 -1829
  273. package/dist/styles/styleguide.css +0 -1829
  274. package/dist/summary-grid.js +1 -1
  275. package/dist/tabs.js +1 -1
  276. package/dist/textarea.js +1 -1
  277. package/dist/timeline.js +1 -1
  278. package/dist/tutorial.js +1 -1
  279. package/dist/web-types.json +1 -1
  280. package/package.json +7 -7
  281. package/dist/chunks/button-actions.O0cnu1_g.js.map +0 -1
  282. package/dist/chunks/calendar.NVmCgJrJ.js +0 -1962
  283. package/dist/chunks/calendar.NVmCgJrJ.js.map +0 -1
  284. package/dist/chunks/checkbox-input.BXNGT9U0.js.map +0 -1
  285. package/dist/chunks/code-snippet.Bfq5pgmE.js.map +0 -1
  286. package/dist/chunks/constructNow.BhymNmy5.js +0 -8
  287. package/dist/chunks/country.types.C0Q_hhgJ.js +0 -269
  288. package/dist/chunks/date-format.B8RU7D42.js +0 -17
  289. package/dist/chunks/date-format.B8RU7D42.js.map +0 -1
  290. package/dist/chunks/date-picker.BIdfeL7b.js +0 -245
  291. package/dist/chunks/date-picker.BIdfeL7b.js.map +0 -1
  292. package/dist/chunks/date-range-picker.BT3I5M44.js +0 -1109
  293. package/dist/chunks/date-range-picker.BT3I5M44.js.map +0 -1
  294. package/dist/chunks/differenceInMonths.Cab3nOsb.js +0 -1590
  295. package/dist/chunks/differenceInMonths.Cab3nOsb.js.map +0 -1
  296. package/dist/chunks/es6.MoTTyETW.js +0 -12
  297. package/dist/chunks/es6.MoTTyETW.js.map +0 -1
  298. package/dist/chunks/filter-bar.DB87uMbx.js +0 -3211
  299. package/dist/chunks/filter-bar.DB87uMbx.js.map +0 -1
  300. package/dist/chunks/getTimezoneOffsetInMilliseconds.B7sxiukN.js.map +0 -1
  301. package/dist/chunks/header-meta.C2W1eMZc.js +0 -221
  302. package/dist/chunks/header-meta.C2W1eMZc.js.map +0 -1
  303. package/dist/chunks/secondary-nav.D1y_GiqG.js +0 -138
  304. package/dist/chunks/step._8f9kwI5.js +0 -267
  305. package/dist/chunks/step._8f9kwI5.js.map +0 -1
  306. package/dist/chunks/textarea.C0tLoH2I.js.map +0 -1
@@ -1,67 +1,69 @@
1
- import { defineComponent as M, useSlots as Q, computed as _, createBlock as g, openBlock as u, withModifiers as z, normalizeClass as U, createSlots as G, withCtx as b, renderSlot as D, unref as p, createElementVNode as V, createCommentVNode as B, mergeProps as Y, renderList as x, normalizeProps as Be, guardReactiveProps as $e, resolveComponent as T, createVNode as E, createTextVNode as H, toDisplayString as j, onMounted as ee, onUnmounted as pe, useAttrs as Ee, inject as K, ref as v, toRefs as Se, Transition as ve, createElementBlock as k, Teleport as Le, resolveDynamicComponent as X, toHandlers as ie, withKeys as N, Fragment as Z, watch as be, nextTick as te, normalizeStyle as he, provide as Te, toRef as Me } from "vue";
2
- import { B as L } from "./button.CSp48LJt.js";
3
- import { B as we } from "./loading-indicator.Db794TT5.js";
4
- import { C as Ne } from "./cross-circle-fill.CYLL7jfC.js";
5
- import { C as Re } from "./checkmark-circle-fill._6-d40ru.js";
1
+ import { defineComponent as w, useSlots as Q, computed as _, createBlock as g, openBlock as r, withModifiers as X, normalizeClass as U, createSlots as j, withCtx as b, renderSlot as P, unref as p, createElementVNode as V, createCommentVNode as O, mergeProps as H, renderList as x, normalizeProps as Ee, guardReactiveProps as Te, resolveComponent as T, createVNode as S, createTextVNode as Y, toDisplayString as G, onMounted as ee, onUnmounted as pe, useAttrs as we, inject as K, ref as v, toRefs as Me, Transition as ve, createElementBlock as I, Teleport as Ne, resolveDynamicComponent as z, toHandlers as ie, withKeys as N, Fragment as Z, watch as be, nextTick as te, toRef as he, normalizeStyle as ye, provide as Ae } from "vue";
2
+ import { B as E } from "./button.CSp48LJt.js";
3
+ import { B as Re } from "./loading-indicator.Db794TT5.js";
4
+ import { C as Pe } from "./cross-circle-fill.CYLL7jfC.js";
5
+ import { C as De } from "./checkmark-circle-fill._6-d40ru.js";
6
6
  import { u as ae } from "./use-has-slot.B7eQSabc.js";
7
- import { u as ye } from "./index.pdBj0KQU.js";
8
- import { _ as w } from "./_plugin-vue_export-helper.CHgC5LLL.js";
9
- import { B as ge, D as Ae } from "./divider.Dho4_hQ7.js";
10
- import { C as De } from "./cross.B92GxFTY.js";
11
- import { B as _e, a as re, p as Pe } from "./typography.6Oo5TOMP.js";
12
- import { c as Fe, P as We, d as Ke } from "./popper-container.I9gzp1NR.js";
13
- import { u as Ue } from "./aria-label.CaUURpnB.js";
14
- import { o as Ve } from "./on-click-outside.D9aY9g8G.js";
15
- import { g as Ge } from "./generate-uid.NJ8tVoha.js";
16
- import { C as je } from "./chevron-down.DCQ6ZLaq.js";
7
+ import { u as ge } from "./index.pdBj0KQU.js";
8
+ import { _ as M } from "./_plugin-vue_export-helper.CHgC5LLL.js";
9
+ import { B as _e, D as Fe } from "./divider.Dho4_hQ7.js";
10
+ import { C as We } from "./cross.B92GxFTY.js";
11
+ import { B as Ce, a as re, p as Ke } from "./typography.6Oo5TOMP.js";
12
+ import { c as Ue, P as Ve, d as je } from "./popper-container.I9gzp1NR.js";
13
+ import { u as Ge } from "./aria-label.CaUURpnB.js";
14
+ import { o as Ye } from "./on-click-outside.D9aY9g8G.js";
15
+ import { g as He } from "./generate-uid.NJ8tVoha.js";
16
+ import { C as Je } from "./chevron-down.DCQ6ZLaq.js";
17
17
  /* empty css */
18
- import { a as He, C as ue } from "./chevron-left.Cfn1uGLH.js";
19
- import { a as de, B as Ye } from "./base-button.CUd03aA2.js";
20
- import { t as Je } from "./truncate.BfIl_-71.js";
21
- import { i as Ce } from "./index.CWuzEfiV.js";
22
- import { o as qe } from "./resize.Bqks3WUm.js";
23
- import { g as Xe } from "./es6.MoTTyETW.js";
18
+ import { a as qe, C as ue } from "./chevron-left.Cfn1uGLH.js";
19
+ import { a as de, B as ze } from "./base-button.CUd03aA2.js";
20
+ import { t as Xe } from "./truncate.BfIl_-71.js";
21
+ import { i as ke } from "./index.CWuzEfiV.js";
22
+ import { o as Ze } from "./resize.Bqks3WUm.js";
23
+ import { g as Qe } from "./es6.C1DXQV6f.js";
24
24
  import "../assets/button-actions.css";
25
- var A = /* @__PURE__ */ ((e) => (e.START = "start", e.LOADING = "loading", e.SUCCESS = "success", e.FAIL = "fail", e))(A || {});
25
+ var R = /* @__PURE__ */ ((e) => (e.START = "start", e.LOADING = "loading", e.SUCCESS = "success", e.FAIL = "fail", e))(R || {});
26
26
  const Ie = {
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
- }, ze = {
39
+ }, xe = {
38
40
  class: "b-loading-button__icon",
39
41
  "data-testid": "loading-button-rotating-icon"
40
- }, Ze = {
42
+ }, et = {
41
43
  i18n: { messages: Ie }
42
- }, Qe = /* @__PURE__ */ M({
43
- ...Ze,
44
+ }, tt = /* @__PURE__ */ w({
45
+ ...et,
44
46
  __name: "loading-button",
45
47
  props: {
46
48
  /**
47
49
  * Reduces sizing of button
48
50
  */
49
51
  condensed: {
50
- type: L.props.condensed.type,
52
+ type: E.props.condensed.type,
51
53
  default: !1
52
54
  },
53
55
  /**
54
56
  * Displays loading-button as critical
55
57
  */
56
58
  critical: {
57
- type: L.props.critical.type,
59
+ type: E.props.critical.type,
58
60
  default: !1
59
61
  },
60
62
  /**
61
63
  * Disables button functonality
62
64
  */
63
65
  disabled: {
64
- type: L.props.disabled.type,
66
+ type: E.props.disabled.type,
65
67
  default: !1
66
68
  },
67
69
  /**
@@ -77,89 +79,89 @@ const Ie = {
77
79
  */
78
80
  state: {
79
81
  type: String,
80
- default: A.START,
81
- validator: (e) => Object.values(A).includes(e)
82
+ default: R.START,
83
+ validator: (e) => Object.values(R).includes(e)
82
84
  },
83
85
  /**
84
86
  * Types of flavour of Button
85
87
  */
86
88
  variant: {
87
- type: L.props.variant.type,
89
+ type: E.props.variant.type,
88
90
  default: "primary",
89
- validator: L.props.variant.validator
91
+ validator: E.props.variant.validator
90
92
  }
91
93
  },
92
94
  emits: ["click"],
93
95
  setup(e, { emit: t }) {
94
- const o = e, s = t, d = Q(), m = ae(d), { t: l } = ye({ messages: Ie }), f = _(() => ({
95
- [`b-loading-button--${o.variant}-${A.LOADING}`]: o.state === A.LOADING && !o.disabled,
96
- "b-loading-button--loading": o.state === A.LOADING && !o.disabled,
97
- [`b-loading-button--${o.variant}-${A.SUCCESS}`]: o.state === A.SUCCESS,
98
- "b-loading-button--inverse": o.inverse
99
- })), c = _(
100
- () => o.variant === "primary" && !o.inverse || o.variant !== "primary" && o.inverse
96
+ const s = e, o = t, d = Q(), m = ae(d), { t: u } = ge({ messages: Ie }), c = _(() => ({
97
+ [`b-loading-button--${s.variant}-${R.LOADING}`]: s.state === R.LOADING && !s.disabled,
98
+ "b-loading-button--loading": s.state === R.LOADING && !s.disabled,
99
+ [`b-loading-button--${s.variant}-${R.SUCCESS}`]: s.state === R.SUCCESS,
100
+ "b-loading-button--inverse": s.inverse
101
+ })), f = _(
102
+ () => s.variant === "primary" && !s.inverse || s.variant !== "primary" && s.inverse
101
103
  ), a = _(
102
- () => o.critical && o.state === A.START || o.state === A.FAIL
103
- ), i = (r) => {
104
- r.stopPropagation(), o.state !== A.LOADING && s("click", r);
104
+ () => s.critical && s.state === R.START || s.state === R.FAIL
105
+ ), i = (l) => {
106
+ l.stopPropagation(), s.state !== R.LOADING && o("click", l);
105
107
  };
106
- return (r, n) => (u(), g(L, {
108
+ return (l, n) => (r(), g(E, {
107
109
  critical: a.value,
108
110
  variant: e.variant,
109
111
  condensed: e.condensed,
110
112
  disabled: e.disabled,
111
113
  inverse: e.inverse,
112
- class: U(["b-loading-button", f.value]),
113
- onClickCapture: z(i, ["stop"])
114
- }, G({
114
+ class: U(["b-loading-button", c.value]),
115
+ onClickCapture: X(i, ["stop"])
116
+ }, j({
115
117
  default: b(() => [
116
- D(r.$slots, "default", {}, void 0, !0)
118
+ P(l.$slots, "default", {}, void 0, !0)
117
119
  ]),
118
120
  _: 2
119
121
  }, [
120
122
  e.state === "start" && p(m)("iconLeft") ? {
121
123
  name: "iconLeft",
122
124
  fn: b(() => [
123
- D(r.$slots, "iconLeft", {}, void 0, !0)
125
+ P(l.$slots, "iconLeft", {}, void 0, !0)
124
126
  ]),
125
127
  key: "0"
126
128
  } : e.state !== "start" ? {
127
129
  name: "iconLeft",
128
130
  fn: b(() => [
129
- V("span", ze, [
130
- e.state === "fail" ? (u(), g(p(Ne), {
131
+ V("span", xe, [
132
+ e.state === "fail" ? (r(), g(p(Pe), {
131
133
  key: 0,
132
- "svg-title": p(l)("failed")
133
- }, null, 8, ["svg-title"])) : e.state === "success" ? (u(), g(p(Re), {
134
+ "svg-title": p(u)("failed")
135
+ }, null, 8, ["svg-title"])) : e.state === "success" ? (r(), g(p(De), {
134
136
  key: 1,
135
- "svg-title": p(l)("succeded")
136
- }, null, 8, ["svg-title"])) : e.state === "loading" ? (u(), g(p(we), {
137
+ "svg-title": p(u)("succeded")
138
+ }, null, 8, ["svg-title"])) : e.state === "loading" ? (r(), g(p(Re), {
137
139
  key: 2,
138
140
  small: "",
139
- inverse: c.value
140
- }, null, 8, ["inverse"])) : B("", !0)
141
+ inverse: f.value
142
+ }, null, 8, ["inverse"])) : O("", !0)
141
143
  ])
142
144
  ]),
143
145
  key: "1"
144
146
  } : void 0
145
147
  ]), 1032, ["critical", "variant", "condensed", "disabled", "inverse", "class"]));
146
148
  }
147
- }), xe = /* @__PURE__ */ w(Qe, [["__scopeId", "data-v-e68a786b"]]), et = {}, tt = /* @__PURE__ */ M({
148
- ...et,
149
+ }), nt = /* @__PURE__ */ M(tt, [["__scopeId", "data-v-e68a786b"]]), ot = {}, st = /* @__PURE__ */ w({
150
+ ...ot,
149
151
  __name: "toggle-button",
150
152
  props: {
151
153
  /**
152
154
  * Reduces sizing of button
153
155
  */
154
156
  condensed: {
155
- type: L.props.condensed.type,
157
+ type: E.props.condensed.type,
156
158
  default: !1
157
159
  },
158
160
  /**
159
161
  * Disables button functonality
160
162
  */
161
163
  disabled: {
162
- type: L.props.disabled.type,
164
+ type: E.props.disabled.type,
163
165
  default: !1
164
166
  },
165
167
  /**
@@ -174,9 +176,9 @@ const Ie = {
174
176
  * @values primary, secondary, tertiary
175
177
  */
176
178
  variant: {
177
- type: L.props.variant.type,
179
+ type: E.props.variant.type,
178
180
  default: "primary",
179
- validator: L.props.variant.validator
181
+ validator: E.props.variant.validator
180
182
  },
181
183
  /**
182
184
  * The state of the button whether it is toggled or not.
@@ -188,16 +190,16 @@ const Ie = {
188
190
  },
189
191
  emits: ["click", "update:toggled"],
190
192
  setup(e, { emit: t }) {
191
- const o = e, s = t, d = _(
192
- () => o.variant === "tertiary" ? "tertiary-with-background" : o.variant
193
+ const s = e, o = t, d = _(
194
+ () => s.variant === "tertiary" ? "tertiary-with-background" : s.variant
193
195
  ), m = _(() => ({
194
- "b-toggle-button--condensed": o == null ? void 0 : o.condensed,
195
- [`b-toggle-button--${d.value}-toggled`]: o.toggled,
196
- "b-toggle-button--inverse": o.inverse
197
- })), l = (a) => {
198
- a.stopPropagation(), o != null && o.disabled || (s("click", a), s("update:toggled", !o.toggled));
199
- }, f = Q(), c = (a) => ({ key: a });
200
- return (a, i) => (u(), g(L, Y({ class: "b-toggle-button" }, a.$attrs, {
196
+ "b-toggle-button--condensed": s == null ? void 0 : s.condensed,
197
+ [`b-toggle-button--${d.value}-toggled`]: s.toggled,
198
+ "b-toggle-button--inverse": s.inverse
199
+ })), u = (a) => {
200
+ a.stopPropagation(), s != null && s.disabled || (o("click", a), o("update:toggled", !s.toggled));
201
+ }, c = Q(), f = (a) => ({ key: a });
202
+ return (a, i) => (r(), g(E, H({ class: "b-toggle-button" }, a.$attrs, {
201
203
  "aria-expanded": `${e.toggled}`,
202
204
  "aria-pressed": `${e.toggled}`,
203
205
  condensed: e.condensed,
@@ -205,19 +207,19 @@ const Ie = {
205
207
  disabled: e.disabled,
206
208
  inverse: e.inverse,
207
209
  variant: d.value,
208
- onClickCapture: z(l, ["stop"])
209
- }), G({ _: 2 }, [
210
- x(p(f), (r, n) => ({
210
+ onClickCapture: X(u, ["stop"])
211
+ }), j({ _: 2 }, [
212
+ x(p(c), (l, n) => ({
211
213
  name: n,
212
214
  fn: b(() => [
213
- D(a.$slots, n, Be($e(c(n))), void 0, !0)
215
+ P(a.$slots, n, Ee(Te(f(n))), void 0, !0)
214
216
  ])
215
217
  }))
216
218
  ]), 1040, ["aria-expanded", "aria-pressed", "condensed", "class", "disabled", "inverse", "variant"]));
217
219
  }
218
- }), nt = /* @__PURE__ */ w(tt, [["__scopeId", "data-v-f1b10e5f"]]), ot = M({
220
+ }), it = /* @__PURE__ */ M(st, [["__scopeId", "data-v-f1b10e5f"]]), at = w({
219
221
  name: "bento-popover-dismiss-button",
220
- components: { BentoButton: L, CrossIcon: De },
222
+ components: { BentoButton: E, CrossIcon: We },
221
223
  props: {
222
224
  onImage: {
223
225
  type: Boolean,
@@ -231,21 +233,21 @@ const Ie = {
231
233
  };
232
234
  }
233
235
  });
234
- function st(e, t, o, s, d, m) {
235
- const l = T("cross-icon"), f = T("bento-button");
236
- return u(), g(f, {
236
+ function lt(e, t, s, o, d, m) {
237
+ const u = T("cross-icon"), c = T("bento-button");
238
+ return r(), g(c, {
237
239
  class: U(e.conditionalClass),
238
240
  variant: "tertiary",
239
- onClick: t[0] || (t[0] = (c) => e.$emit("click"))
241
+ onClick: t[0] || (t[0] = (f) => e.$emit("click"))
240
242
  }, {
241
243
  iconLeft: b(() => [
242
- E(l, { "svg-title": "dismiss" })
244
+ S(u, { "svg-title": "dismiss" })
243
245
  ]),
244
246
  _: 1
245
247
  }, 8, ["class"]);
246
248
  }
247
- const ce = /* @__PURE__ */ w(ot, [["render", st], ["__scopeId", "data-v-424ecdaa"]]), it = M({
248
- components: { BentoTypography: _e },
249
+ const ce = /* @__PURE__ */ M(at, [["render", lt], ["__scopeId", "data-v-424ecdaa"]]), rt = w({
250
+ components: { BentoTypography: Ce },
249
251
  props: {
250
252
  /**
251
253
  * Indicates if the popover contains an image.
@@ -257,50 +259,50 @@ const ce = /* @__PURE__ */ w(ot, [["render", st], ["__scopeId", "data-v-424ecdaa
257
259
  title: { type: String, default: null }
258
260
  },
259
261
  setup(e) {
260
- const t = _(() => !e.isImageTitle), o = _(
262
+ const t = _(() => !e.isImageTitle), s = _(
261
263
  () => e.isImageTitle ? re.SUBTITLE : re.BODY
262
264
  );
263
265
  return {
264
266
  // Values
265
267
  isStrongest: t,
266
- titleVariant: o
268
+ titleVariant: s
267
269
  };
268
270
  }
269
271
  });
270
- function at(e, t, o, s, d, m) {
271
- const l = T("bento-typography");
272
- return u(), g(l, {
272
+ function ut(e, t, s, o, d, m) {
273
+ const u = T("bento-typography");
274
+ return r(), g(u, {
273
275
  strongest: e.isStrongest,
274
276
  variant: e.titleVariant,
275
277
  el: "span"
276
278
  }, {
277
279
  default: b(() => [
278
- H(j(e.title), 1)
280
+ Y(G(e.title), 1)
279
281
  ]),
280
282
  _: 1
281
283
  }, 8, ["strongest", "variant"]);
282
284
  }
283
- const lt = /* @__PURE__ */ w(it, [["render", at]]), rt = (e, t, o = {}) => {
284
- let s;
285
+ const dt = /* @__PURE__ */ M(rt, [["render", ut]]), ct = (e, t, s = {}) => {
286
+ let o;
285
287
  ee(() => {
286
- s = Ve(e, t, o);
288
+ o = Ye(e, t, s);
287
289
  }), pe(() => {
288
- s && (s(), s = null);
290
+ o && (o(), o = null);
289
291
  });
290
- }, ut = /* @__PURE__ */ Symbol("input field popover injection key"), dt = /* @__PURE__ */ Symbol("input field popover injection key"), ct = /* @__PURE__ */ Symbol("popover offset injection key"), ft = {
292
+ }, ft = /* @__PURE__ */ Symbol("input field popover injection key"), mt = /* @__PURE__ */ Symbol("input field popover injection key"), pt = /* @__PURE__ */ Symbol("popover offset injection key"), vt = {
291
293
  key: 0,
292
294
  class: "b-popover__image"
293
- }, mt = {
295
+ }, bt = {
294
296
  key: 0,
295
297
  class: "b-popover__image-dismiss-button"
296
- }, pt = {
298
+ }, ht = {
297
299
  key: 1,
298
300
  class: "b-popover__header"
299
- }, vt = { class: "b-popover__header-title" }, bt = { key: 0 }, ht = {
301
+ }, yt = { class: "b-popover__header-title" }, gt = { key: 0 }, _t = {
300
302
  key: 3,
301
303
  class: "b-popover__footer"
302
- }, yt = {}, gt = /* @__PURE__ */ M({
303
- ...yt,
304
+ }, Ct = {}, kt = /* @__PURE__ */ w({
305
+ ...Ct,
304
306
  __name: "popover",
305
307
  props: {
306
308
  actions: { default: void 0 },
@@ -326,88 +328,88 @@ const lt = /* @__PURE__ */ w(it, [["render", at]]), rt = (e, t, o = {}) => {
326
328
  },
327
329
  emits: ["dismiss", "placement"],
328
330
  setup(e, { emit: t }) {
329
- const s = e, d = t, m = Q(), l = Ee(), f = _(() => {
331
+ const o = e, d = t, m = Q(), u = we(), c = _(() => {
330
332
  var y;
331
333
  return {
332
- id: (y = l.id) == null ? void 0 : y.toString(),
333
- role: (l == null ? void 0 : l.role) === null ? void 0 : Fe.POPOVER
334
+ id: (y = u.id) == null ? void 0 : y.toString(),
335
+ role: (u == null ? void 0 : u.role) === null ? void 0 : Ue.POPOVER
334
336
  };
335
- }), c = K(ct, 2), a = v(l["aria-label"]), { ariaLabel: i, title: r } = Se(s), n = Ue({
337
+ }), f = K(pt, 2), a = v(u["aria-label"]), { ariaLabel: i, title: l } = Me(o), n = Ge({
336
338
  ariaLabel: a.value,
337
339
  // TODO: take this line away when the aria-label props is removed
338
340
  label: i,
339
- defaultFallback: r
340
- }), h = K(dt, !1) || K(ut, !1), C = _(() => ({
341
- "b-popover--small": s.small && !s.large,
342
- "b-popover--with-divider": !!s.divider,
343
- "b-popover--large": s.large && !s.small,
344
- "b-popover--fit-content": s.fitContent,
345
- "b-popover--without-space": s.withoutSpace,
346
- "b-popover--overflow-visible": s.overflowVisible || h
341
+ defaultFallback: l
342
+ }), h = K(mt, !1) || K(ft, !1), k = _(() => ({
343
+ "b-popover--small": o.small && !o.large,
344
+ "b-popover--with-divider": !!o.divider,
345
+ "b-popover--large": o.large && !o.small,
346
+ "b-popover--fit-content": o.fitContent,
347
+ "b-popover--without-space": o.withoutSpace,
348
+ "b-popover--overflow-visible": o.overflowVisible || h
347
349
  })), $ = _(() => ({
348
- "b-popover__content--with-title": !!s.title
349
- })), R = () => d("dismiss"), P = ae(m);
350
- return (y, F) => (u(), g(ve, { name: "b-popover__animation" }, {
350
+ "b-popover__content--with-title": !!o.title
351
+ })), A = () => d("dismiss"), D = ae(m);
352
+ return (y, F) => (r(), g(ve, { name: "b-popover__animation" }, {
351
353
  default: b(() => [
352
- y.open ? (u(), g(p(We), {
354
+ y.open ? (r(), g(p(Ve), {
353
355
  key: 0,
354
- id: f.value.id,
355
- "aria-role": f.value.role,
356
+ id: c.value.id,
357
+ "aria-role": c.value.role,
356
358
  "aria-label": p(n),
357
359
  arrow: { classes: ["b-popover__arrow"] },
358
360
  "disabled-focus-trap": y.disableFocusTrap,
359
361
  "trap-all": y.trapAll,
360
362
  "trap-all-options": y.trapAllOptions,
361
- class: U([C.value, "b-popover"]),
363
+ class: U([k.value, "b-popover"]),
362
364
  "fallback-position": y.fallbackPosition,
363
365
  "fixed-positioning": y.fixedPositioning,
364
- offset: [0, p(c)],
366
+ offset: [0, p(f)],
365
367
  position: y.position,
366
368
  "target-element": y.targetElement,
367
369
  onPlacement: F[0] || (F[0] = (J) => y.$emit("placement", J))
368
370
  }, {
369
371
  default: b(() => [
370
- p(P)("image") ? (u(), k("div", ft, [
371
- y.dismissible ? (u(), k("div", mt, [
372
- E(ce, {
372
+ p(D)("image") ? (r(), I("div", vt, [
373
+ y.dismissible ? (r(), I("div", bt, [
374
+ S(ce, {
373
375
  "on-image": "",
374
- onClick: R
376
+ onClick: A
375
377
  })
376
- ])) : B("", !0),
377
- D(y.$slots, "image", {}, void 0, !0)
378
- ])) : B("", !0),
379
- p(r) ? (u(), k("div", pt, [
380
- V("div", vt, [
381
- p(P)("headerIcon") ? D(y.$slots, "headerIcon", { key: 0 }, void 0, !0) : B("", !0),
382
- E(lt, {
383
- title: p(r),
384
- "is-image-title": !!p(P)("image")
378
+ ])) : O("", !0),
379
+ P(y.$slots, "image", {}, void 0, !0)
380
+ ])) : O("", !0),
381
+ p(l) ? (r(), I("div", ht, [
382
+ V("div", yt, [
383
+ p(D)("headerIcon") ? P(y.$slots, "headerIcon", { key: 0 }, void 0, !0) : O("", !0),
384
+ S(dt, {
385
+ title: p(l),
386
+ "is-image-title": !!p(D)("image")
385
387
  }, null, 8, ["title", "is-image-title"])
386
388
  ]),
387
- y.dismissible && !p(P)("image") ? (u(), k("div", bt, [
388
- E(ce, { onClick: R })
389
- ])) : B("", !0)
390
- ])) : B("", !0),
391
- p(P)("default") ? (u(), k("div", {
389
+ y.dismissible && !p(D)("image") ? (r(), I("div", gt, [
390
+ S(ce, { onClick: A })
391
+ ])) : O("", !0)
392
+ ])) : O("", !0),
393
+ p(D)("default") ? (r(), I("div", {
392
394
  key: 2,
393
395
  class: U(["b-popover__content", $.value])
394
396
  }, [
395
- D(y.$slots, "default", {}, void 0, !0)
396
- ], 2)) : B("", !0),
397
- y.actions ? (u(), k("div", ht, [
398
- E(xt, {
397
+ P(y.$slots, "default", {}, void 0, !0)
398
+ ], 2)) : O("", !0),
399
+ y.actions ? (r(), I("div", _t, [
400
+ S(nn, {
399
401
  actions: y.actions,
400
402
  layout: y.actionsLayout
401
403
  }, null, 8, ["actions", "layout"])
402
- ])) : B("", !0)
404
+ ])) : O("", !0)
403
405
  ]),
404
406
  _: 3
405
- }, 8, ["id", "aria-role", "aria-label", "disabled-focus-trap", "trap-all", "trap-all-options", "class", "fallback-position", "fixed-positioning", "offset", "position", "target-element"])) : B("", !0)
407
+ }, 8, ["id", "aria-role", "aria-label", "disabled-focus-trap", "trap-all", "trap-all-options", "class", "fallback-position", "fixed-positioning", "offset", "position", "target-element"])) : O("", !0)
406
408
  ]),
407
409
  _: 3
408
410
  }));
409
411
  }
410
- }), _t = /* @__PURE__ */ w(gt, [["__scopeId", "data-v-84ebb43a"]]), Ct = /* @__PURE__ */ Symbol("modal injection key"), It = /* @__PURE__ */ Symbol("sidepanel children element injection key"), kt = /* @__PURE__ */ Symbol("modal fullscreen children element injection key"), Ot = M({
412
+ }), It = /* @__PURE__ */ M(kt, [["__scopeId", "data-v-84ebb43a"]]), Bt = /* @__PURE__ */ Symbol("modal injection key"), Ot = /* @__PURE__ */ Symbol("sidepanel children element injection key"), $t = /* @__PURE__ */ Symbol("modal fullscreen children element injection key"), St = w({
411
413
  name: "teleport",
412
414
  props: {
413
415
  to: {
@@ -426,7 +428,7 @@ const lt = /* @__PURE__ */ w(it, [["render", at]]), rt = (e, t, o = {}) => {
426
428
  waiting: !1,
427
429
  observer: null,
428
430
  parent: null,
429
- isVue2: Ce
431
+ isVue2: ke
430
432
  }),
431
433
  computed: {
432
434
  classes() {
@@ -435,7 +437,7 @@ const lt = /* @__PURE__ */ w(it, [["render", at]]), rt = (e, t, o = {}) => {
435
437
  defaultTo() {
436
438
  if (this.to)
437
439
  return this.to;
438
- const e = K(Ct, "") || K(kt, "") || K(It, "");
440
+ const e = K(Bt, "") || K($t, "") || K(Ot, "");
439
441
  return e ? `#${e}` : "body";
440
442
  }
441
443
  },
@@ -476,11 +478,11 @@ const lt = /* @__PURE__ */ w(it, [["render", at]]), rt = (e, t, o = {}) => {
476
478
  },
477
479
  onMutations(e) {
478
480
  let t = !1;
479
- for (let o = 0; o < e.length; o++) {
480
- const s = e[o], d = Array.from(s.addedNodes).filter(
481
+ for (let s = 0; s < e.length; s++) {
482
+ const o = e[s], d = Array.from(o.addedNodes).filter(
481
483
  (m) => !this.nodes.includes(m)
482
484
  );
483
- Array.from(s.removedNodes).includes(this.parent) ? (this.disable(), this.waiting = !this.disabled) : this.waiting && d.length > 0 && (t = !0);
485
+ Array.from(o.removedNodes).includes(this.parent) ? (this.disable(), this.waiting = !this.disabled) : this.waiting && d.length > 0 && (t = !0);
484
486
  }
485
487
  t && this.move();
486
488
  },
@@ -491,7 +493,7 @@ const lt = /* @__PURE__ */ w(it, [["render", at]]), rt = (e, t, o = {}) => {
491
493
  attributes: !1,
492
494
  characterData: !1
493
495
  }), !this.childObserver && (this.childObserver = new MutationObserver((e) => {
494
- e.find((o) => o.target === this.$el) && (this.nodes.forEach((o) => o.parentNode && o.parentNode.removeChild(o)), this.nodes = this.getComponentChildrenNode(), this.maybeMove());
496
+ e.find((s) => s.target === this.$el) && (this.nodes.forEach((s) => s.parentNode && s.parentNode.removeChild(s)), this.nodes = this.getComponentChildrenNode(), this.maybeMove());
495
497
  }), this.childObserver.observe(this.$el, {
496
498
  childList: !0,
497
499
  subtree: !1,
@@ -506,40 +508,40 @@ const lt = /* @__PURE__ */ w(it, [["render", at]]), rt = (e, t, o = {}) => {
506
508
  return [];
507
509
  }
508
510
  }
509
- }), Bt = /* @__PURE__ */ M({
510
- ...Ot,
511
+ }), Lt = /* @__PURE__ */ w({
512
+ ...St,
511
513
  setup(e) {
512
- return (t, o) => p(Ce) ? (u(), k("div", {
514
+ return (t, s) => p(ke) ? (r(), I("div", {
513
515
  key: 0,
514
516
  class: U(t.classes)
515
517
  }, [
516
- D(t.$slots, "default", {}, void 0, !0)
517
- ], 2)) : (u(), g(Le, {
518
+ P(t.$slots, "default", {}, void 0, !0)
519
+ ], 2)) : (r(), g(Ne, {
518
520
  key: 1,
519
521
  to: t.defaultTo,
520
522
  where: t.where,
521
523
  disabled: t.disabled,
522
524
  class: U(t.classes)
523
525
  }, [
524
- D(t.$slots, "default", {}, void 0, !0)
526
+ P(t.$slots, "default", {}, void 0, !0)
525
527
  ], 8, ["to", "where", "disabled", "class"]));
526
528
  }
527
- }), $t = /* @__PURE__ */ w(Bt, [["__scopeId", "data-v-acbda3aa"]]);
529
+ }), Et = /* @__PURE__ */ M(Lt, [["__scopeId", "data-v-acbda3aa"]]);
528
530
  let fe = 0;
529
- const Et = {
531
+ const Tt = {
530
532
  beforeCreate() {
531
533
  this.uuid = fe.toString(), fe += 1;
532
534
  }
533
- }, St = { key: 0 };
534
- function Lt(e, t, o, s, d, m) {
535
- return u(), k("svg", Y({ role: "img" }, e.$attrs, {
535
+ }, wt = { key: 0 };
536
+ function Mt(e, t, s, o, d, m) {
537
+ return r(), I("svg", H({ role: "img" }, e.$attrs, {
536
538
  class: "ui-assets-icons-16",
537
539
  xmlns: "http://www.w3.org/2000/svg",
538
540
  width: "16",
539
541
  height: "16",
540
542
  fill: "none"
541
543
  }), [
542
- e.$attrs["svg-title"] ? (u(), k("title", St, j(e.$attrs["svg-title"]), 1)) : B("", !0),
544
+ e.$attrs["svg-title"] ? (r(), I("title", wt, G(e.$attrs["svg-title"]), 1)) : O("", !0),
543
545
  t[0] || (t[0] = V("path", {
544
546
  fill: "#001222",
545
547
  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"
@@ -554,9 +556,9 @@ function Lt(e, t, o, s, d, m) {
554
556
  }, null, -1))
555
557
  ], 16);
556
558
  }
557
- const Tt = /* @__PURE__ */ w(Et, [["render", Lt]]), Mt = M({
559
+ const Nt = /* @__PURE__ */ M(Tt, [["render", Mt]]), At = w({
558
560
  name: "menu-item",
559
- components: { BaseButton: Ye, BentoTypography: _e, ChevronRightIcon: He },
561
+ components: { BaseButton: ze, BentoTypography: Ce, ChevronRightIcon: qe },
560
562
  props: {
561
563
  /**
562
564
  * menu-item text that gets displayed as the main label
@@ -626,60 +628,60 @@ const Tt = /* @__PURE__ */ w(Et, [["render", Lt]]), Mt = M({
626
628
  },
627
629
  emits: [de.CLICK],
628
630
  setup(e, { emit: t }) {
629
- const s = _(() => ({
631
+ const o = _(() => ({
630
632
  "b-menu-item--critical": e.critical,
631
633
  "b-menu-item--indent": e.indent
632
- })), d = _(() => Je(e.secondaryText, 10));
634
+ })), d = _(() => Xe(e.secondaryText, 10));
633
635
  return {
634
636
  // Values
635
- conditionalClasses: s,
637
+ conditionalClasses: o,
636
638
  computedSecondaryText: d,
637
639
  // Methods
638
- onClick: (l) => {
639
- l.stopPropagation(), e.handler(), t(de.CLICK);
640
+ onClick: (u) => {
641
+ u.stopPropagation(), e.handler(), t(de.CLICK);
640
642
  }
641
643
  };
642
644
  }
643
645
  });
644
- function wt(e, t, o, s, d, m) {
645
- const l = T("bento-typography"), f = T("chevron-right-icon"), c = T("base-button");
646
- return u(), g(c, {
646
+ function Rt(e, t, s, o, d, m) {
647
+ const u = T("bento-typography"), c = T("chevron-right-icon"), f = T("base-button");
648
+ return r(), g(f, {
647
649
  class: U(["b-menu-item", e.conditionalClasses]),
648
650
  role: "menuitem",
649
651
  disabled: e.disabled,
650
652
  tabindex: "-1",
651
653
  onClick: e.onClick
652
- }, G({
654
+ }, j({
653
655
  default: b(() => [
654
- E(l, {
656
+ S(u, {
655
657
  el: "span",
656
658
  variant: "body",
657
659
  stronger: e.isTitle,
658
660
  class: "b-menu-item__primary-text"
659
661
  }, {
660
662
  default: b(() => [
661
- H(j(e.text), 1)
663
+ Y(G(e.text), 1)
662
664
  ]),
663
665
  _: 1
664
666
  }, 8, ["stronger"]),
665
- e.computedSecondaryText ? (u(), g(l, {
667
+ e.computedSecondaryText ? (r(), g(u, {
666
668
  key: 0,
667
669
  el: "span",
668
670
  variant: "body",
669
671
  class: "b-menu-item__secondary-text"
670
672
  }, {
671
673
  default: b(() => [
672
- H(j(e.computedSecondaryText), 1)
674
+ Y(G(e.computedSecondaryText), 1)
673
675
  ]),
674
676
  _: 1
675
- })) : B("", !0)
677
+ })) : O("", !0)
676
678
  ]),
677
679
  _: 2
678
680
  }, [
679
681
  e.icon ? {
680
682
  name: "iconLeft",
681
683
  fn: b(() => [
682
- (u(), g(X(e.icon), {
684
+ (r(), g(z(e.icon), {
683
685
  class: "b-menu-item__icon-left",
684
686
  "aria-hidden": "true"
685
687
  }))
@@ -689,45 +691,53 @@ function wt(e, t, o, s, d, m) {
689
691
  e.chevron ? {
690
692
  name: "iconRight",
691
693
  fn: b(() => [
692
- E(f, { "aria-hidden": "true" })
694
+ S(c, { "aria-hidden": "true" })
693
695
  ]),
694
696
  key: "1"
695
697
  } : void 0
696
698
  ]), 1032, ["class", "disabled", "onClick"]);
697
699
  }
698
- const ke = /* @__PURE__ */ w(Mt, [["render", wt], ["__scopeId", "data-v-9dace5ac"]]);
699
- ({ ...Ke });
700
+ const Be = /* @__PURE__ */ M(At, [["render", Rt], ["__scopeId", "data-v-9dace5ac"]]);
701
+ ({ ...je });
700
702
  var W = /* @__PURE__ */ ((e) => (e.BACK = "back", e.CLOSE = "close", e.OPEN = "open", e))(W || {});
701
- const Nt = /* @__PURE__ */ Symbol("menu registering injection key"), Rt = {
703
+ const Pt = /* @__PURE__ */ Symbol("menu registering injection key"), Dt = {
702
704
  name: "bento-menu-list-container"
703
- }, At = /* @__PURE__ */ M({
704
- ...Rt,
705
+ }, Ft = /* @__PURE__ */ w({
706
+ ...Dt,
705
707
  setup(e) {
706
- const t = v(), o = v({}), s = K(Nt, !1);
707
- if (s) {
708
- const { registerMenuContainerElement: d } = s;
709
- d(t), o.value = {
710
- mouseleave: s == null ? void 0 : s.menuMouseLeave
708
+ const t = v(), s = v({}), o = K(Pt, !1);
709
+ if (o) {
710
+ const { registerMenuContainerElement: d } = o;
711
+ d(t), s.value = {
712
+ mouseleave: o == null ? void 0 : o.menuMouseLeave
711
713
  };
712
714
  }
713
- return (d, m) => (u(), k("div", Y({
715
+ return (d, m) => (r(), I("div", H({
714
716
  ref_key: "menuListContainerRef",
715
717
  ref: t,
716
718
  class: "b-menu-list-container",
717
719
  "data-testid": "menu-list-container"
718
- }, ie(o.value, !0)), [
719
- D(d.$slots, "default", {}, void 0, !0)
720
+ }, ie(s.value, !0)), [
721
+ P(d.$slots, "default", {}, void 0, !0)
720
722
  ], 16));
721
723
  }
722
- }), Oe = /* @__PURE__ */ w(At, [["__scopeId", "data-v-9ef14d73"]]), le = {
724
+ }), Oe = /* @__PURE__ */ M(Ft, [["__scopeId", "data-v-9ef14d73"]]), le = {
723
725
  "en-US": {
724
726
  backButton: "Go back",
725
727
  menuButton: "Open menu"
728
+ },
729
+ "ja-JP": {
730
+ backButton: "戻る",
731
+ menuButton: "メニューを開く"
732
+ },
733
+ "pt-BR": {
734
+ backButton: "voltar",
735
+ menuButton: "Abrir menu"
726
736
  }
727
- }, Dt = M({
737
+ }, Wt = w({
728
738
  i18n: { messages: le },
729
739
  name: "sub-menu-item-list",
730
- components: { BentoDivider: ge, MenuItem: ke, MenuListContainer: Oe },
740
+ components: { BentoDivider: _e, MenuItem: Be, MenuListContainer: Oe },
731
741
  props: {
732
742
  items: {
733
743
  type: Array,
@@ -740,9 +750,9 @@ const Nt = /* @__PURE__ */ Symbol("menu registering injection key"), Rt = {
740
750
  },
741
751
  emits: [W.CLOSE, W.BACK],
742
752
  setup(e, { emit: t }) {
743
- const o = v(null), s = v(0), d = v(e.items.length), m = () => t(W.CLOSE), l = () => t(W.BACK), f = _(() => {
753
+ const s = v(null), o = v(0), d = v(e.items.length), m = () => t(W.CLOSE), u = () => t(W.BACK), c = _(() => {
744
754
  var n;
745
- const r = (n = e.items) == null ? void 0 : n.map((h) => ({
755
+ const l = (n = e.items) == null ? void 0 : n.map((h) => ({
746
756
  ...h,
747
757
  indent: !h.icon,
748
758
  isTitle: !1,
@@ -757,64 +767,64 @@ const Nt = /* @__PURE__ */ Symbol("menu registering injection key"), Rt = {
757
767
  isTitle: !0,
758
768
  disabled: !1,
759
769
  indent: !1,
760
- handler: l,
761
- clickHandler: l,
770
+ handler: u,
771
+ clickHandler: u,
762
772
  addDivider: !0
763
773
  },
764
- ...r
774
+ ...l
765
775
  ];
766
- }), c = async () => {
767
- var r, n, h, C, $;
768
- ($ = (C = (h = (n = (r = o.value) == null ? void 0 : r.children) == null ? void 0 : n[s.value]) == null ? void 0 : h.children) == null ? void 0 : C[0]) == null || $.focus();
776
+ }), f = async () => {
777
+ var l, n, h, k, $;
778
+ ($ = (k = (h = (n = (l = s.value) == null ? void 0 : l.children) == null ? void 0 : n[o.value]) == null ? void 0 : h.children) == null ? void 0 : k[0]) == null || $.focus();
769
779
  };
770
780
  ee(async () => {
771
- setTimeout(() => c(), 150);
781
+ setTimeout(() => f(), 150);
772
782
  });
773
783
  const a = () => {
774
- s.value > 0 ? (s.value -= 1, f.value[s.value].disabled && a()) : s.value = d.value, c();
784
+ o.value > 0 ? (o.value -= 1, c.value[o.value].disabled && a()) : o.value = d.value, f();
775
785
  }, i = () => {
776
- s.value < d.value ? (s.value += 1, f.value[s.value].disabled && i()) : s.value = 0, c();
786
+ o.value < d.value ? (o.value += 1, c.value[o.value].disabled && i()) : o.value = 0, f();
777
787
  };
778
788
  return {
779
789
  // Enums
780
790
  BentoMenuEvent: W,
781
791
  // Values
782
- subMenuItemListRefLocal: o,
783
- subMenuFocusedIndex: s,
792
+ subMenuItemListRefLocal: s,
793
+ subMenuFocusedIndex: o,
784
794
  ChevronLeftIcon: ue,
785
- computedItems: f,
795
+ computedItems: c,
786
796
  // Methods
787
797
  closeMenu: m,
788
- onBackButton: l,
798
+ onBackButton: u,
789
799
  focusPrevious: a,
790
800
  focusNext: i
791
801
  };
792
802
  }
793
803
  });
794
- function Pt(e, t, o, s, d, m) {
795
- const l = T("menu-item"), f = T("bento-divider"), c = T("menu-list-container");
796
- return u(), g(ve, {
804
+ function Kt(e, t, s, o, d, m) {
805
+ const u = T("menu-item"), c = T("bento-divider"), f = T("menu-list-container");
806
+ return r(), g(ve, {
797
807
  name: "b-sub-menu-item-list__transition",
798
808
  appear: ""
799
809
  }, {
800
810
  default: b(() => [
801
- E(c, { class: "b-sub-menu-item-list" }, {
811
+ S(f, { class: "b-sub-menu-item-list" }, {
802
812
  default: b(() => [
803
813
  V("ul", {
804
814
  ref: "subMenuItemListRefLocal",
805
815
  role: "menu",
806
816
  class: "b-sub-menu-item-list__list",
807
817
  onKeydown: [
808
- t[0] || (t[0] = N(z((...a) => e.focusNext && e.focusNext(...a), ["stop"]), ["down"])),
809
- t[1] || (t[1] = N(z((...a) => e.focusPrevious && e.focusPrevious(...a), ["stop"]), ["up"])),
810
- t[2] || (t[2] = N(z((...a) => e.onBackButton && e.onBackButton(...a), ["stop"]), ["esc"]))
818
+ t[0] || (t[0] = N(X((...a) => e.focusNext && e.focusNext(...a), ["stop"]), ["down"])),
819
+ t[1] || (t[1] = N(X((...a) => e.focusPrevious && e.focusPrevious(...a), ["stop"]), ["up"])),
820
+ t[2] || (t[2] = N(X((...a) => e.onBackButton && e.onBackButton(...a), ["stop"]), ["esc"]))
811
821
  ]
812
822
  }, [
813
- (u(!0), k(Z, null, x(e.computedItems, (a, i) => (u(), k("li", {
823
+ (r(!0), I(Z, null, x(e.computedItems, (a, i) => (r(), I("li", {
814
824
  key: `sub-menu-item-list-item-${i}`,
815
825
  role: "none"
816
826
  }, [
817
- E(l, {
827
+ S(u, {
818
828
  text: a.text,
819
829
  handler: a.handler,
820
830
  "secondary-text": a.secondaryText,
@@ -826,10 +836,10 @@ function Pt(e, t, o, s, d, m) {
826
836
  tabindex: i === e.subMenuFocusedIndex ? "0" : "-1",
827
837
  onClick: a.clickHandler
828
838
  }, null, 8, ["text", "handler", "secondary-text", "icon", "is-title", "disabled", "critical", "indent", "tabindex", "onClick"]),
829
- a.addDivider ? (u(), g(f, {
839
+ a.addDivider ? (r(), g(c, {
830
840
  key: 0,
831
841
  class: "b-sub-menu-item-list__divider"
832
- })) : B("", !0)
842
+ })) : O("", !0)
833
843
  ]))), 128))
834
844
  ], 544)
835
845
  ]),
@@ -839,34 +849,41 @@ function Pt(e, t, o, s, d, m) {
839
849
  _: 1
840
850
  });
841
851
  }
842
- const Ft = /* @__PURE__ */ w(Dt, [["render", Pt], ["__scopeId", "data-v-e1de172e"]]);
843
- function Wt(e, t, o) {
844
- const m = v(0), l = v(0), f = (a) => {
852
+ const Ut = /* @__PURE__ */ M(Wt, [["render", Kt], ["__scopeId", "data-v-e1de172e"]]), $e = 350, Se = 150;
853
+ function Le(e) {
854
+ return Math.max(Se, Math.min(e, $e));
855
+ }
856
+ function Vt(e, t, s, o) {
857
+ const d = v(0), m = v(0), u = (a) => {
845
858
  if (!a || !a.parentElement)
846
859
  return;
847
- const i = a.parentElement, r = a.cloneNode(!0);
848
- r.style.position = "absolute", r.style.visibility = "hidden", i.appendChild(r), r.style.width = "max-content";
849
- const n = r.offsetWidth, h = Math.max(150, Math.min(n, 350));
850
- m.value = h, r.style.width = `${h}px`;
851
- const C = r.offsetHeight;
852
- l.value = C, i.removeChild(r), l.value = C;
860
+ const i = a.parentElement, l = a.cloneNode(!0);
861
+ l.style.position = "absolute", l.style.visibility = "hidden", i.appendChild(l), l.style.width = "max-content";
862
+ const n = l.offsetWidth, h = Math.max(Se, Math.min(n, $e));
863
+ d.value = h, l.style.width = `${h}px`;
864
+ const k = l.offsetHeight;
865
+ m.value = k, i.removeChild(l), m.value = k;
853
866
  };
854
- return be([t, o], async ([a]) => {
855
- var i, r;
867
+ be([t, s], async ([a]) => {
868
+ var i, l;
856
869
  if (a !== null) {
857
870
  await te();
858
- const n = (r = (i = e.value) == null ? void 0 : i[0]) == null ? void 0 : r.$el;
859
- n && f(n);
871
+ const n = (l = (i = e.value) == null ? void 0 : i[0]) == null ? void 0 : l.$el;
872
+ n && u(n);
860
873
  } else
861
- m.value = 0, l.value = 0;
862
- }), { computedStyle: _(() => {
863
- const a = { width: "max-content" };
864
- return o.value && (l.value > 0 && (a.height = `${l.value}px`), m.value > 0 && (a.width = `${m.value}px`)), a;
874
+ d.value = 0, m.value = 0;
875
+ });
876
+ const c = _(() => o != null && o.value ? Le(o.value) : 0);
877
+ return { computedStyle: _(() => {
878
+ const a = {
879
+ width: c.value > 0 ? `${c.value}px` : "max-content"
880
+ };
881
+ return s.value && (m.value > 0 && (a.height = `${m.value}px`), d.value > 0 && (a.width = `${d.value}px`)), a;
865
882
  }) };
866
883
  }
867
- const Kt = M({
884
+ const jt = w({
868
885
  name: "menu-item-list",
869
- components: { BentoDivider: ge, MenuItem: ke, MenuListContainer: Oe, SubMenuItemList: Ft },
886
+ components: { BentoDivider: _e, MenuItem: Be, MenuListContainer: Oe, SubMenuItemList: Ut },
870
887
  props: {
871
888
  /**
872
889
  * The data to be displayed in the list
@@ -895,69 +912,81 @@ const Kt = M({
895
912
  closeMenuOnItemSelect: {
896
913
  type: Boolean,
897
914
  default: !0
915
+ },
916
+ /**
917
+ * The custom popover width if one has been set
918
+ */
919
+ popoverWidth: {
920
+ type: Number,
921
+ default: null
898
922
  }
899
923
  },
900
924
  emits: [W.CLOSE, "menu-item-click"],
901
- setup(e, { emit: t, expose: o }) {
902
- const s = v(null), d = v(null), m = v(null), l = v(null), f = v(!1), c = v(null), a = v(e.focusLastElement ? e.data.length - 1 : 0), i = v(0), r = v(e.data.length - 1), n = _(() => e.data.some((O) => O.icon)), h = _(() => e.indentItems || n.value ? e.data.map((O) => {
903
- let S = !1;
904
- return O.icon || (S = !0), {
905
- ...O,
906
- indent: S
925
+ setup(e, { emit: t, expose: s }) {
926
+ const o = v(null), d = v(null), m = v(null), u = v(null), c = v(!1), f = v(null), a = v(e.focusLastElement ? e.data.length - 1 : 0), i = v(0), l = v(e.data.length - 1), n = _(() => e.data.some((B) => B.icon)), h = _(() => e.indentItems || n.value ? e.data.map((B) => {
927
+ let L = !1;
928
+ return B.icon || (L = !0), {
929
+ ...B,
930
+ indent: L
907
931
  };
908
- }) : e.data), C = async () => {
909
- var O, S, I;
910
- await te(), (I = (S = (O = d.value) == null ? void 0 : O.children[a.value]) == null ? void 0 : S.children[0]) == null || I.focus();
911
- }, $ = () => t(W.CLOSE), R = (O, S) => {
912
- if (O.items) {
913
- c.value = S, f.value = !0;
932
+ }) : e.data), k = async () => {
933
+ var B, L, C;
934
+ await te(), (C = (L = (B = d.value) == null ? void 0 : B.children[a.value]) == null ? void 0 : L.children[0]) == null || C.focus();
935
+ }, $ = () => t(W.CLOSE), A = (B, L) => {
936
+ if (B.items) {
937
+ f.value = L, c.value = !0;
914
938
  return;
915
939
  }
916
- c.value = S, f.value = !1, !O.skipClose && e.closeMenuOnItemSelect !== !1 && $(), t("menu-item-click");
917
- }, P = () => {
918
- a.value > 0 ? (a.value -= 1, h.value[a.value].disabled && P()) : a.value = r.value, C();
940
+ f.value = L, c.value = !1, !B.skipClose && e.closeMenuOnItemSelect !== !1 && $(), t("menu-item-click");
941
+ }, D = () => {
942
+ a.value > 0 ? (a.value -= 1, h.value[a.value].disabled && D()) : a.value = l.value, k();
919
943
  }, y = () => {
920
- a.value < r.value ? (a.value += 1, h.value[a.value].disabled && y()) : a.value = 0, C();
921
- }, F = (O, S) => {
922
- var I;
923
- (I = O == null ? void 0 : O.items) != null && I.length && (c.value = S, f.value = !0);
944
+ a.value < l.value ? (a.value += 1, h.value[a.value].disabled && y()) : a.value = 0, k();
945
+ }, F = (B, L) => {
946
+ var C;
947
+ (C = B == null ? void 0 : B.items) != null && C.length && (f.value = L, c.value = !0);
924
948
  }, J = () => {
925
- c.value && f.value && (c.value = null, f.value = !1);
949
+ f.value && c.value && (f.value = null, c.value = !1);
926
950
  }, ne = () => {
927
- f.value = !1, c.value = null, C();
951
+ c.value = !1, f.value = null, k();
928
952
  };
929
- o({
930
- focusItem: C
953
+ s({
954
+ focusItem: k
931
955
  });
932
- const { computedStyle: oe } = Wt(l, c, f);
956
+ const { computedStyle: oe } = Vt(
957
+ u,
958
+ f,
959
+ c,
960
+ he(e, "popoverWidth")
961
+ );
933
962
  return {
934
963
  // Values
935
964
  menuItemListRef: d,
936
965
  menuItemListWrapperRef: m,
937
- subMenuItemListRef: l,
938
- menuItemRef: s,
966
+ subMenuItemListRef: u,
967
+ menuItemRef: o,
939
968
  computedData: h,
940
969
  computedStyle: oe,
941
970
  focusedIndex: a,
942
971
  subMenuFocusedIndex: i,
943
- showSubMenu: f,
944
- visibleSubMenuIndex: c,
972
+ showSubMenu: c,
973
+ visibleSubMenuIndex: f,
945
974
  // Methods
946
- menuItemClick: R,
975
+ menuItemClick: A,
947
976
  closeMenu: $,
948
- focusPrevious: P,
977
+ focusPrevious: D,
949
978
  focusNext: y,
950
979
  focusRight: F,
951
980
  focusLeft: J,
952
981
  onBackButton: ne
953
982
  };
954
983
  }
955
- }), Ut = ["onKeydown"];
956
- function Vt(e, t, o, s, d, m) {
957
- const l = T("menu-item"), f = T("bento-divider"), c = T("sub-menu-item-list"), a = T("menu-list-container");
958
- return u(), g(a, {
984
+ }), Gt = ["onKeydown"];
985
+ function Yt(e, t, s, o, d, m) {
986
+ const u = T("menu-item"), c = T("bento-divider"), f = T("sub-menu-item-list"), a = T("menu-list-container");
987
+ return r(), g(a, {
959
988
  ref: "menuItemListWrapperRef",
960
- style: he(e.computedStyle)
989
+ style: ye(e.computedStyle)
961
990
  }, {
962
991
  default: b(() => [
963
992
  V("ul", {
@@ -971,20 +1000,20 @@ function Vt(e, t, o, s, d, m) {
971
1000
  t[4] || (t[4] = N((...i) => e.closeMenu && e.closeMenu(...i), ["tab"]))
972
1001
  ]
973
1002
  }, [
974
- (u(!0), k(Z, null, x(e.computedData, (i, r) => {
975
- var n, h, C, $;
976
- return u(), k("li", {
977
- key: `menu-item-${r}`,
1003
+ (r(!0), I(Z, null, x(e.computedData, (i, l) => {
1004
+ var n, h, k, $;
1005
+ return r(), I("li", {
1006
+ key: `menu-item-${l}`,
978
1007
  ref_for: !0,
979
1008
  ref: "menuItemRef",
980
1009
  class: "b-menu-item-list__item",
981
1010
  role: "none",
982
1011
  onKeydown: [
983
- N((R) => e.focusRight(i, r), ["right"]),
984
- t[0] || (t[0] = N((R) => e.focusLeft(), ["left"]))
1012
+ N((A) => e.focusRight(i, l), ["right"]),
1013
+ t[0] || (t[0] = N((A) => e.focusLeft(), ["left"]))
985
1014
  ]
986
1015
  }, [
987
- E(l, {
1016
+ S(u, {
988
1017
  text: i.text,
989
1018
  handler: (n = i.items) != null && n.length ? () => null : i.handler,
990
1019
  "secondary-text": i.secondaryText,
@@ -993,16 +1022,16 @@ function Vt(e, t, o, s, d, m) {
993
1022
  disabled: i.disabled,
994
1023
  critical: i.critical,
995
1024
  indent: i.indent,
996
- tabindex: r === e.subMenuFocusedIndex ? "0" : "-1",
997
- "aria-haspopup": !!((C = i.items) != null && C.length),
998
- "aria-expanded": e.showSubMenu && e.visibleSubMenuIndex === r,
999
- onClick: (R) => e.menuItemClick(i, r)
1025
+ tabindex: l === e.subMenuFocusedIndex ? "0" : "-1",
1026
+ "aria-haspopup": !!((k = i.items) != null && k.length),
1027
+ "aria-expanded": e.showSubMenu && e.visibleSubMenuIndex === l,
1028
+ onClick: (A) => e.menuItemClick(i, l)
1000
1029
  }, null, 8, ["text", "handler", "secondary-text", "icon", "chevron", "disabled", "critical", "indent", "tabindex", "aria-haspopup", "aria-expanded", "onClick"]),
1001
- i.addDivider ? (u(), g(f, {
1030
+ i.addDivider ? (r(), g(c, {
1002
1031
  key: 0,
1003
1032
  class: "b-menu-item-list__divider"
1004
- })) : B("", !0),
1005
- ($ = i.items) != null && $.length && e.showSubMenu && e.visibleSubMenuIndex === r ? (u(), g(c, {
1033
+ })) : O("", !0),
1034
+ ($ = i.items) != null && $.length && e.showSubMenu && e.visibleSubMenuIndex === l ? (r(), g(f, {
1006
1035
  key: 1,
1007
1036
  ref_for: !0,
1008
1037
  ref: "subMenuItemListRef",
@@ -1010,19 +1039,19 @@ function Vt(e, t, o, s, d, m) {
1010
1039
  title: i.text,
1011
1040
  onBack: e.onBackButton,
1012
1041
  onClose: e.closeMenu
1013
- }, null, 8, ["items", "title", "onBack", "onClose"])) : B("", !0)
1014
- ], 40, Ut);
1042
+ }, null, 8, ["items", "title", "onBack", "onClose"])) : O("", !0)
1043
+ ], 40, Gt);
1015
1044
  }), 128))
1016
1045
  ], 544)
1017
1046
  ]),
1018
1047
  _: 1
1019
1048
  }, 8, ["style"]);
1020
1049
  }
1021
- const Gt = /* @__PURE__ */ w(Kt, [["render", Vt], ["__scopeId", "data-v-968b28cb"]]), jt = /* @__PURE__ */ Symbol("menu inverse style injection key"), Ht = {
1050
+ const Ht = /* @__PURE__ */ M(jt, [["render", Yt], ["__scopeId", "data-v-7253ab73"]]), Jt = /* @__PURE__ */ Symbol("menu inverse style injection key"), qt = {
1022
1051
  i18n: { messages: le },
1023
1052
  name: "bento-menu"
1024
- }, Yt = /* @__PURE__ */ M({
1025
- ...Ht,
1053
+ }, zt = /* @__PURE__ */ w({
1054
+ ...qt,
1026
1055
  props: {
1027
1056
  button: { default: () => ({
1028
1057
  variant: "secondary"
@@ -1038,40 +1067,42 @@ const Gt = /* @__PURE__ */ w(Kt, [["render", Vt], ["__scopeId", "data-v-968b28cb
1038
1067
  closeOnClickOutsideOptions: { default: void 0 }
1039
1068
  },
1040
1069
  emits: ["menu-item-click", "click-outside"],
1041
- setup(e, { expose: t, emit: o }) {
1042
- var S;
1043
- const s = e, d = o, m = Q(), l = ae(m), { t: f } = ye({ messages: le }), c = v(null), a = v(null), i = v(!1), r = v(!1), n = v(null), h = Ge("menu"), C = K(jt, v(!1));
1044
- Te(Ae, C);
1070
+ setup(e, { expose: t, emit: s }) {
1071
+ var L;
1072
+ const o = e, d = s, m = Q(), u = ae(m), { t: c } = ge({ messages: le }), f = v(null), a = v(null), i = v(!1), l = v(!1), n = v(null), h = He("menu"), k = K(Jt, v(!1));
1073
+ Ae(Fe, k);
1045
1074
  const $ = _(() => ({
1046
- "b-menu--inverse": C.value
1047
- })), R = _(() => s.menuWidth ? { width: `${s.menuWidth}px` } : null), P = _(() => {
1048
- if (s != null && s.button)
1075
+ "b-menu--inverse": k.value
1076
+ })), A = _(
1077
+ () => o.menuWidth ? { width: `${Le(o.menuWidth)}px` } : null
1078
+ ), D = _(() => {
1079
+ if (o != null && o.button)
1049
1080
  return {
1050
1081
  variant: "secondary",
1051
- ...s.button
1082
+ ...o.button
1052
1083
  };
1053
1084
  }), y = () => {
1054
1085
  i.value = !0, d(W.OPEN);
1055
- }, F = async (I = s.revertFocusToButton) => {
1086
+ }, F = async (C = o.revertFocusToButton) => {
1056
1087
  var q, se;
1057
- i.value && (i.value = !1, I && (await te(), (se = (q = c.value) == null ? void 0 : q.$el) == null || se.focus()), d(W.CLOSE));
1058
- }, J = (I) => {
1059
- I.stopPropagation(), i.value ? F() : y();
1060
- }, ne = (I) => {
1061
- I.preventDefault(), r.value = !1, s.disableArrowDownOpeningMenu || y();
1062
- }, oe = (I) => {
1063
- I.preventDefault(), r.value = !0, y();
1064
- }, O = () => {
1088
+ i.value && (i.value = !1, C && (await te(), (se = (q = f.value) == null ? void 0 : q.$el) == null || se.focus()), d(W.CLOSE));
1089
+ }, J = (C) => {
1090
+ C.stopPropagation(), i.value ? F() : y();
1091
+ }, ne = (C) => {
1092
+ C.preventDefault(), l.value = !1, o.disableArrowDownOpeningMenu || y();
1093
+ }, oe = (C) => {
1094
+ C.preventDefault(), l.value = !0, y();
1095
+ }, B = () => {
1065
1096
  d("menu-item-click");
1066
1097
  };
1067
- return rt(
1098
+ return ct(
1068
1099
  n,
1069
1100
  () => {
1070
1101
  F(), d("click-outside");
1071
1102
  },
1072
1103
  {
1073
- ...s.closeOnClickOutsideOptions,
1074
- ignore: [c, ...((S = s.closeOnClickOutsideOptions) == null ? void 0 : S.ignore) ?? []]
1104
+ ...o.closeOnClickOutsideOptions,
1105
+ ignore: [f, ...((L = o.closeOnClickOutsideOptions) == null ? void 0 : L.ignore) ?? []]
1075
1106
  }
1076
1107
  ), t({
1077
1108
  /**
@@ -1079,10 +1110,10 @@ const Gt = /* @__PURE__ */ w(Kt, [["render", Vt], ["__scopeId", "data-v-968b28cb
1079
1110
  */
1080
1111
  closeMenu: F
1081
1112
  }), ee(() => {
1082
- l("iconRight") && Pe(
1113
+ u("iconRight") && Ke(
1083
1114
  '"bento-menu" no longer supports the "iconRight" slot. The right-aligned icon is now fixed by design.'
1084
1115
  );
1085
- }), (I, q) => (u(), k("div", {
1116
+ }), (C, q) => (r(), I("div", {
1086
1117
  class: U([$.value, "b-menu"]),
1087
1118
  "data-testid": "menu",
1088
1119
  onKeydown: [
@@ -1091,49 +1122,49 @@ const Gt = /* @__PURE__ */ w(Kt, [["render", Vt], ["__scopeId", "data-v-968b28cb
1091
1122
  q[0] || (q[0] = N((se) => F(), ["esc"]))
1092
1123
  ]
1093
1124
  }, [
1094
- E(nt, Y({
1125
+ S(it, H({
1095
1126
  ref_key: "menuButtonRef",
1096
- ref: c,
1127
+ ref: f,
1097
1128
  class: "b-menu__toggle-button",
1098
1129
  "aria-haspopup": "true"
1099
- }, P.value, {
1130
+ }, D.value, {
1100
1131
  "aria-controls": i.value ? p(h) : null,
1101
1132
  toggled: i.value,
1102
- inverse: p(C),
1133
+ inverse: p(k),
1103
1134
  onClick: J
1104
- }), G({ _: 2 }, [
1105
- !p(l)("default") || p(l)("iconLeft") ? {
1135
+ }), j({ _: 2 }, [
1136
+ !p(u)("default") || p(u)("iconLeft") ? {
1106
1137
  name: "iconLeft",
1107
1138
  fn: b(() => [
1108
- D(I.$slots, "iconLeft", {}, () => [
1109
- E(p(Tt), {
1110
- title: p(f)("menuButton")
1139
+ P(C.$slots, "iconLeft", {}, () => [
1140
+ S(p(Nt), {
1141
+ title: p(c)("menuButton")
1111
1142
  }, null, 8, ["title"])
1112
1143
  ], !0)
1113
1144
  ]),
1114
1145
  key: "0"
1115
1146
  } : void 0,
1116
- p(l)("default") ? {
1147
+ p(u)("default") ? {
1117
1148
  name: "default",
1118
1149
  fn: b(() => [
1119
- D(I.$slots, "default", {}, void 0, !0)
1150
+ P(C.$slots, "default", {}, void 0, !0)
1120
1151
  ]),
1121
1152
  key: "1"
1122
1153
  } : void 0,
1123
- p(l)("default") ? {
1154
+ p(u)("default") ? {
1124
1155
  name: "iconRight",
1125
1156
  fn: b(() => [
1126
- E(p(je))
1157
+ S(p(Je))
1127
1158
  ]),
1128
1159
  key: "2"
1129
1160
  } : void 0
1130
1161
  ]), 1040, ["aria-controls", "toggled", "inverse"]),
1131
- c.value ? (u(), g(p($t), {
1162
+ f.value ? (r(), g(p(Et), {
1132
1163
  key: 0,
1133
- disabled: !I.teleport
1164
+ disabled: !C.teleport
1134
1165
  }, {
1135
1166
  default: b(() => [
1136
- c.value ? (u(), g(_t, {
1167
+ f.value ? (r(), g(It, {
1137
1168
  key: 0,
1138
1169
  id: p(h),
1139
1170
  ref_key: "popoverRef",
@@ -1141,10 +1172,10 @@ const Gt = /* @__PURE__ */ w(Kt, [["render", Vt], ["__scopeId", "data-v-968b28cb
1141
1172
  role: null,
1142
1173
  open: i.value,
1143
1174
  class: "b-menu__popover",
1144
- style: he(R.value),
1145
- "target-element": c.value,
1146
- position: I.menuPosition,
1147
- "fixed-positioning": I.menuFixedPositioning,
1175
+ style: ye(A.value),
1176
+ "target-element": f.value,
1177
+ position: C.menuPosition,
1178
+ "fixed-positioning": C.menuFixedPositioning,
1148
1179
  "fallback-position": [
1149
1180
  "bottom-start",
1150
1181
  "bottom-end",
@@ -1155,61 +1186,62 @@ const Gt = /* @__PURE__ */ w(Kt, [["render", Vt], ["__scopeId", "data-v-968b28cb
1155
1186
  "left-start",
1156
1187
  "left-end"
1157
1188
  ],
1158
- teleport: I.teleport,
1189
+ teleport: C.teleport,
1159
1190
  "without-space": ""
1160
1191
  }, {
1161
1192
  default: b(() => [
1162
- E(Gt, {
1193
+ S(Ht, {
1163
1194
  ref_key: "menuItemListRef",
1164
1195
  ref: a,
1165
- "close-menu-on-item-select": I.closeMenuOnItemSelect,
1166
- data: I.data,
1167
- "focus-last-element": r.value,
1196
+ "close-menu-on-item-select": C.closeMenuOnItemSelect,
1197
+ data: C.data,
1198
+ "focus-last-element": l.value,
1199
+ "popover-width": C.menuWidth,
1168
1200
  onClose: F,
1169
- onMenuItemClick: O
1170
- }, null, 8, ["close-menu-on-item-select", "data", "focus-last-element"])
1201
+ onMenuItemClick: B
1202
+ }, null, 8, ["close-menu-on-item-select", "data", "focus-last-element", "popover-width"])
1171
1203
  ]),
1172
1204
  _: 1
1173
- }, 8, ["id", "open", "style", "target-element", "position", "fixed-positioning", "teleport"])) : B("", !0)
1205
+ }, 8, ["id", "open", "style", "target-element", "position", "fixed-positioning", "teleport"])) : O("", !0)
1174
1206
  ]),
1175
1207
  _: 1
1176
- }, 8, ["disabled"])) : B("", !0)
1208
+ }, 8, ["disabled"])) : O("", !0)
1177
1209
  ], 34));
1178
1210
  }
1179
- }), Jt = /* @__PURE__ */ w(Yt, [["__scopeId", "data-v-4d921a39"]]), qt = /* @__PURE__ */ Symbol(
1211
+ }), Xt = /* @__PURE__ */ M(zt, [["__scopeId", "data-v-eee5aa88"]]), Zt = /* @__PURE__ */ Symbol(
1180
1212
  "button actions with menu container injection key"
1181
- ), Xt = 242, me = parseInt(Xe, 10), zt = (e, t, o) => {
1182
- const s = v(0);
1213
+ ), Qt = 242, me = parseInt(Qe, 10), xt = (e, t, s) => {
1214
+ const o = v(0);
1183
1215
  let d = null;
1184
- const { buttonActionsWithMenu: m, menu: l, stackButtons: f } = K(qt, {
1216
+ const { buttonActionsWithMenu: m, menu: u, stackButtons: c } = K(Zt, {
1185
1217
  buttonActionsWithMenu: v(null),
1186
1218
  menu: v(null),
1187
1219
  stackButtons: v(!1)
1188
- }), c = _(() => m.value ?? e.value), a = _(() => l.value ? [...t.value, l.value.$el] : t.value), i = (r) => {
1189
- var C;
1190
- const n = (C = a.value) == null ? void 0 : C.reduce(
1191
- ($, R) => $ + R.clientWidth + me,
1220
+ }), f = _(() => m.value ?? e.value), a = _(() => u.value ? [...t.value, u.value.$el] : t.value), i = (l) => {
1221
+ var k;
1222
+ const n = (k = a.value) == null ? void 0 : k.reduce(
1223
+ ($, A) => $ + A.clientWidth + me,
1192
1224
  -me - 1
1193
- ), h = c.value.clientWidth;
1194
- return r && (s.value = h >= Xt && !f.value ? n : 0), s.value > h;
1225
+ ), h = f.value.clientWidth;
1226
+ return l && (o.value = h >= Qt && !c.value ? n : 0), o.value > h;
1195
1227
  };
1196
1228
  return be(
1197
- () => o.value,
1229
+ () => s.value,
1198
1230
  () => {
1199
1231
  te(() => {
1200
- f.value = i(!0);
1232
+ c.value = i(!0);
1201
1233
  });
1202
1234
  },
1203
1235
  { deep: !0 }
1204
1236
  ), ee(() => {
1205
- d = qe(c.value, () => {
1206
- f.value = i(s.value === 0);
1237
+ d = Ze(f.value, () => {
1238
+ c.value = i(o.value === 0);
1207
1239
  });
1208
1240
  }), pe(() => {
1209
1241
  d == null || d.disconnect();
1210
- }), f;
1211
- }, Zt = {}, Qt = /* @__PURE__ */ M({
1212
- ...Zt,
1242
+ }), c;
1243
+ }, en = {}, tn = /* @__PURE__ */ w({
1244
+ ...en,
1213
1245
  __name: "button-actions",
1214
1246
  props: {
1215
1247
  actions: {},
@@ -1217,32 +1249,32 @@ const Gt = /* @__PURE__ */ w(Kt, [["render", Vt], ["__scopeId", "data-v-968b28cb
1217
1249
  layout: { default: "buttons-end" }
1218
1250
  },
1219
1251
  setup(e) {
1220
- const t = e, o = v(null), s = v(null), d = zt(o, s, Me(t, "actions")), m = _(() => t.actions.slice().reverse()), l = (i) => {
1221
- const r = t.actions.length - 1;
1222
- return i === r ? "primary" : "secondary";
1223
- }, f = _(() => ({
1252
+ const t = e, s = v(null), o = v(null), d = xt(s, o, he(t, "actions")), m = _(() => t.actions.slice().reverse()), u = (i) => {
1253
+ const l = t.actions.length - 1;
1254
+ return i === l ? "primary" : "secondary";
1255
+ }, c = _(() => ({
1224
1256
  [`b-button-actions--${t.layout}`]: !0,
1225
1257
  "b-button-actions--stacked-buttons": d.value
1226
- })), c = (i) => (i == null ? void 0 : i.event) !== void 0 ? {
1258
+ })), f = (i) => (i == null ? void 0 : i.event) !== void 0 ? {
1227
1259
  click: i.event
1228
1260
  } : {}, a = (i) => i.iconOnly && (i.iconLeft || i.iconRight || i.icon);
1229
- return (i, r) => (u(), k("div", {
1261
+ return (i, l) => (r(), I("div", {
1230
1262
  ref_key: "buttonActions",
1231
- ref: o,
1263
+ ref: s,
1232
1264
  class: "b-button-actions"
1233
1265
  }, [
1234
1266
  V("div", {
1235
- class: U(["b-button-actions__container-wrapper", f.value]),
1267
+ class: U(["b-button-actions__container-wrapper", c.value]),
1236
1268
  role: "group"
1237
1269
  }, [
1238
- (u(!0), k(Z, null, x(m.value, (n, h) => (u(), k("div", {
1270
+ (r(!0), I(Z, null, x(m.value, (n, h) => (r(), I("div", {
1239
1271
  key: h,
1240
1272
  ref_for: !0,
1241
1273
  ref_key: "buttons",
1242
- ref: s,
1274
+ ref: o,
1243
1275
  class: "b-button-actions__button-wrapper"
1244
1276
  }, [
1245
- n.data ? (u(), g(Jt, {
1277
+ n.data ? (r(), g(Xt, {
1246
1278
  key: 0,
1247
1279
  ref_for: !0,
1248
1280
  ref: n.elementRef,
@@ -1255,11 +1287,11 @@ const Gt = /* @__PURE__ */ w(Kt, [["render", Vt], ["__scopeId", "data-v-968b28cb
1255
1287
  "menu-width": n.menuWidth,
1256
1288
  "revert-focus-to-button": n.revertFocusToButton,
1257
1289
  teleport: n.teleport
1258
- }, G({ _: 2 }, [
1290
+ }, j({ _: 2 }, [
1259
1291
  n.icon || n.iconLeft ? {
1260
1292
  name: "iconLeft",
1261
1293
  fn: b(() => [
1262
- (u(), g(X(n.icon || n.iconLeft), {
1294
+ (r(), g(z(n.icon || n.iconLeft), {
1263
1295
  "svg-title": n.title
1264
1296
  }, null, 8, ["svg-title"]))
1265
1297
  ]),
@@ -1268,12 +1300,12 @@ const Gt = /* @__PURE__ */ w(Kt, [["render", Vt], ["__scopeId", "data-v-968b28cb
1268
1300
  a(n) ? void 0 : {
1269
1301
  name: "default",
1270
1302
  fn: b(() => [
1271
- H(j(n.title), 1)
1303
+ Y(G(n.title), 1)
1272
1304
  ]),
1273
1305
  key: "1"
1274
1306
  }
1275
- ]), 1032, ["data", "close-menu-on-item-select", "close-on-click-outside-options", "disable-arrow-down-opening-menu", "menu-position", "menu-fixed-positioning", "menu-width", "revert-focus-to-button", "teleport"])) : (u(), k(Z, { key: 1 }, [
1276
- n.state ? (u(), g(xe, Y({
1307
+ ]), 1032, ["data", "close-menu-on-item-select", "close-on-click-outside-options", "disable-arrow-down-opening-menu", "menu-position", "menu-fixed-positioning", "menu-width", "revert-focus-to-button", "teleport"])) : (r(), I(Z, { key: 1 }, [
1308
+ n.state ? (r(), g(nt, H({
1277
1309
  key: 0,
1278
1310
  ref_for: !0,
1279
1311
  ref: n.elementRef,
@@ -1282,12 +1314,12 @@ const Gt = /* @__PURE__ */ w(Kt, [["render", Vt], ["__scopeId", "data-v-968b28cb
1282
1314
  disabled: n.disabled,
1283
1315
  inverse: i.inverse,
1284
1316
  state: n.state,
1285
- variant: n.variant || l(h)
1286
- }, ie(c(n))), G({ _: 2 }, [
1317
+ variant: n.variant || u(h)
1318
+ }, ie(f(n))), j({ _: 2 }, [
1287
1319
  n.icon || n.iconLeft ? {
1288
1320
  name: "iconLeft",
1289
1321
  fn: b(() => [
1290
- (u(), g(X(n.icon || n.iconLeft), {
1322
+ (r(), g(z(n.icon || n.iconLeft), {
1291
1323
  "svg-title": n.title
1292
1324
  }, null, 8, ["svg-title"]))
1293
1325
  ]),
@@ -1296,11 +1328,11 @@ const Gt = /* @__PURE__ */ w(Kt, [["render", Vt], ["__scopeId", "data-v-968b28cb
1296
1328
  a(n) ? void 0 : {
1297
1329
  name: "default",
1298
1330
  fn: b(() => [
1299
- H(j(n.title), 1)
1331
+ Y(G(n.title), 1)
1300
1332
  ]),
1301
1333
  key: "1"
1302
1334
  }
1303
- ]), 1040, ["condensed", "critical", "disabled", "inverse", "state", "variant"])) : (u(), g(L, Y({
1335
+ ]), 1040, ["condensed", "critical", "disabled", "inverse", "state", "variant"])) : (r(), g(E, H({
1304
1336
  key: 1,
1305
1337
  ref_for: !0,
1306
1338
  ref: n.elementRef,
@@ -1309,12 +1341,12 @@ const Gt = /* @__PURE__ */ w(Kt, [["render", Vt], ["__scopeId", "data-v-968b28cb
1309
1341
  disabled: n.disabled,
1310
1342
  inverse: i.inverse,
1311
1343
  link: n.link,
1312
- variant: n.variant || l(h)
1313
- }, ie(c(n))), G({ _: 2 }, [
1344
+ variant: n.variant || u(h)
1345
+ }, ie(f(n))), j({ _: 2 }, [
1314
1346
  n.icon || n.iconLeft ? {
1315
1347
  name: "iconLeft",
1316
1348
  fn: b(() => [
1317
- (u(), g(X(n.icon || n.iconLeft), {
1349
+ (r(), g(z(n.icon || n.iconLeft), {
1318
1350
  "svg-title": n.title
1319
1351
  }, null, 8, ["svg-title"]))
1320
1352
  ]),
@@ -1323,14 +1355,14 @@ const Gt = /* @__PURE__ */ w(Kt, [["render", Vt], ["__scopeId", "data-v-968b28cb
1323
1355
  a(n) ? void 0 : {
1324
1356
  name: "default",
1325
1357
  fn: b(() => [
1326
- H(j(n.title), 1)
1358
+ Y(G(n.title), 1)
1327
1359
  ]),
1328
1360
  key: "1"
1329
1361
  },
1330
1362
  n.iconRight ? {
1331
1363
  name: "iconRight",
1332
1364
  fn: b(() => [
1333
- (u(), g(X(n.iconRight), {
1365
+ (r(), g(z(n.iconRight), {
1334
1366
  "svg-title": n.title
1335
1367
  }, null, 8, ["svg-title"]))
1336
1368
  ]),
@@ -1342,26 +1374,26 @@ const Gt = /* @__PURE__ */ w(Kt, [["render", Vt], ["__scopeId", "data-v-968b28cb
1342
1374
  ], 2)
1343
1375
  ], 512));
1344
1376
  }
1345
- }), xt = /* @__PURE__ */ w(Qt, [["__scopeId", "data-v-1a12c479"]]);
1377
+ }), nn = /* @__PURE__ */ M(tn, [["__scopeId", "data-v-1a12c479"]]);
1346
1378
  export {
1347
- xt as B,
1348
- Nt as D,
1349
- ut as I,
1350
- jt as M,
1351
- Tt as O,
1352
- ct as P,
1353
- It as S,
1354
- xe as a,
1355
- A as b,
1356
- nt as c,
1357
- $t as d,
1358
- qt as e,
1359
- Jt as f,
1379
+ nn as B,
1380
+ Pt as D,
1381
+ ft as I,
1382
+ Jt as M,
1383
+ Nt as O,
1384
+ pt as P,
1385
+ Ot as S,
1386
+ nt as a,
1387
+ R as b,
1388
+ it as c,
1389
+ Et as d,
1390
+ Zt as e,
1391
+ Xt as f,
1360
1392
  W as g,
1361
- _t as h,
1362
- kt as i,
1363
- Ct as j,
1364
- dt as k,
1365
- rt as u
1393
+ It as h,
1394
+ $t as i,
1395
+ Bt as j,
1396
+ mt as k,
1397
+ ct as u
1366
1398
  };
1367
- //# sourceMappingURL=button-actions.O0cnu1_g.js.map
1399
+ //# sourceMappingURL=button-actions.Crj4QFAd.js.map