@adyen/bento-vue3 1.78.2 → 1.79.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 (266) hide show
  1. package/dist/@types/index.d.ts +79 -30
  2. package/dist/accordion.js +1 -1
  3. package/dist/action-bar.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/base-modal.css +1 -1
  8. package/dist/assets/button-actions.css +1 -1
  9. package/dist/assets/button.css +1 -1
  10. package/dist/assets/calendar.css +1 -1
  11. package/dist/assets/card.css +1 -1
  12. package/dist/assets/checkbox-group.css +1 -1
  13. package/dist/assets/dashboard-section.css +1 -1
  14. package/dist/assets/data-grid.css +1 -1
  15. package/dist/assets/date-range-picker.css +1 -1
  16. package/dist/assets/dialog-page.css +1 -1
  17. package/dist/assets/file-uploader.css +1 -1
  18. package/dist/assets/filter-bar.css +1 -1
  19. package/dist/assets/form-layout-title.css +1 -1
  20. package/dist/assets/header-with-views.css +1 -1
  21. package/dist/assets/index.css +1 -1
  22. package/dist/assets/input-field-password.css +1 -1
  23. package/dist/assets/input-field-phone-number.css +1 -1
  24. package/dist/assets/input-field.css +1 -1
  25. package/dist/assets/inspector.css +1 -1
  26. package/dist/assets/layout-row.css +1 -1
  27. package/dist/assets/modal-fullscreen.css +1 -1
  28. package/dist/assets/search-bar.css +1 -1
  29. package/dist/assets/secondary-nav.css +1 -1
  30. package/dist/assets/sidepanel.css +1 -1
  31. package/dist/assets/step.css +1 -1
  32. package/dist/assets/structured-list-item.css +1 -1
  33. package/dist/assets/summary-grid.css +1 -1
  34. package/dist/assets/tab.css +1 -1
  35. package/dist/assets/teleport.css +1 -0
  36. package/dist/assets/toast.css +1 -1
  37. package/dist/assets/tooltip.css +1 -1
  38. package/dist/assets/tutorial.css +1 -1
  39. package/dist/assets/use-cached-selected-values.css +1 -1
  40. package/dist/button.js +1 -1
  41. package/dist/card.js +1 -1
  42. package/dist/checkbox.js +2 -2
  43. package/dist/chunks/{accordion-item.Bd3v6erb.js → accordion-item.DHyAfeAu.js} +2 -2
  44. package/dist/chunks/{accordion-item.Bd3v6erb.js.map → accordion-item.DHyAfeAu.js.map} +1 -1
  45. package/dist/chunks/{action-bar.BZ04Y7Yi.js → action-bar.QX16Mu4L.js} +3 -3
  46. package/dist/chunks/{action-bar.BZ04Y7Yi.js.map → action-bar.QX16Mu4L.js.map} +1 -1
  47. package/dist/chunks/{base-modal.UA93s_8c.js → base-modal.CHYvJ_xU.js} +17 -17
  48. package/dist/chunks/{base-modal.UA93s_8c.js.map → base-modal.CHYvJ_xU.js.map} +1 -1
  49. package/dist/chunks/{button-actions-with-menu.BeQ-j1bv.js → button-actions-with-menu.B8qBBN82.js} +2 -2
  50. package/dist/chunks/{button-actions-with-menu.BeQ-j1bv.js.map → button-actions-with-menu.B8qBBN82.js.map} +1 -1
  51. package/dist/chunks/button-actions.Bg38lywL.js +1234 -0
  52. package/dist/chunks/button-actions.Bg38lywL.js.map +1 -0
  53. package/dist/chunks/{calendar.Tm7Cvpwu.js → calendar.CyJXcMz2.js} +4 -43
  54. package/dist/chunks/{calendar.Tm7Cvpwu.js.map → calendar.CyJXcMz2.js.map} +1 -1
  55. package/dist/chunks/{card.GxkxfBoV.js → card.BqkufnQe.js} +2 -2
  56. package/dist/chunks/{card.GxkxfBoV.js.map → card.BqkufnQe.js.map} +1 -1
  57. package/dist/chunks/{checkbox-group.D56nUmre.js → checkbox-group.BRQiuU3y.js} +51 -50
  58. package/dist/chunks/checkbox-group.BRQiuU3y.js.map +1 -0
  59. package/dist/chunks/{checkbox.SffuKyNj.js → checkbox.BRTK_DHj.js} +3 -3
  60. package/dist/chunks/{checkbox.SffuKyNj.js.map → checkbox.BRTK_DHj.js.map} +1 -1
  61. package/dist/chunks/{code-snippet.B5NUDrZ-.js → code-snippet.YxZ3_4ye.js} +5 -5
  62. package/dist/chunks/{code-snippet.B5NUDrZ-.js.map → code-snippet.YxZ3_4ye.js.map} +1 -1
  63. package/dist/chunks/{codemirror.Zv80n3Z2.js → codemirror.Cy7iSLbd.js} +12 -12
  64. package/dist/chunks/{codemirror.Zv80n3Z2.js.map → codemirror.Cy7iSLbd.js.map} +1 -1
  65. package/dist/chunks/constructNow.BhymNmy5.js +8 -0
  66. package/dist/chunks/{constructNow.CHWWeLPc.js.map → constructNow.BhymNmy5.js.map} +1 -1
  67. package/dist/chunks/{controls-group.cbGiHr7n.js → controls-group.CJe5J84d.js} +2 -2
  68. package/dist/chunks/{controls-group.cbGiHr7n.js.map → controls-group.CJe5J84d.js.map} +1 -1
  69. package/dist/chunks/{copy.ClKnDjMI.js → copy.mq0o1Rag.js} +2 -2
  70. package/dist/chunks/{copy.ClKnDjMI.js.map → copy.mq0o1Rag.js.map} +1 -1
  71. package/dist/chunks/{country.DmnN9YIW.js → country.D484ezGU.js} +2 -2
  72. package/dist/chunks/{country.DmnN9YIW.js.map → country.D484ezGU.js.map} +1 -1
  73. package/dist/chunks/{dashboard-section.Cqi0PWeJ.js → dashboard-section.CNCqp74F.js} +4 -4
  74. package/dist/chunks/{dashboard-section.Cqi0PWeJ.js.map → dashboard-section.CNCqp74F.js.map} +1 -1
  75. package/dist/chunks/{dashed-underline.r62L_XBr.js → dashed-underline.CtTu1AOE.js} +26 -25
  76. package/dist/chunks/{dashed-underline.r62L_XBr.js.map → dashed-underline.CtTu1AOE.js.map} +1 -1
  77. package/dist/chunks/{data-grid-template.D7kB3S1u.js → data-grid-template.CLpaJvTj.js} +4 -4
  78. package/dist/chunks/{data-grid-template.D7kB3S1u.js.map → data-grid-template.CLpaJvTj.js.map} +1 -1
  79. package/dist/chunks/data-grid-template.keys.VezYtHtM.js +5 -0
  80. package/dist/chunks/{data-grid-template.keys.2_AkxuNT.js.map → data-grid-template.keys.VezYtHtM.js.map} +1 -1
  81. package/dist/chunks/{data-grid.jC1eKDzq.js → data-grid.CD3Nb4pg.js} +18 -18
  82. package/dist/chunks/{data-grid.jC1eKDzq.js.map → data-grid.CD3Nb4pg.js.map} +1 -1
  83. package/dist/chunks/{date-picker.x9GeC_UO.js → date-picker.C3BH0Bsr.js} +13 -13
  84. package/dist/chunks/{date-picker.x9GeC_UO.js.map → date-picker.C3BH0Bsr.js.map} +1 -1
  85. package/dist/chunks/date-range-picker.BPZE6r01.js +1108 -0
  86. package/dist/chunks/date-range-picker.BPZE6r01.js.map +1 -0
  87. package/dist/chunks/{dialog-page.zWrBSgBD.js → dialog-page.BY6T1jYZ.js} +2 -2
  88. package/dist/chunks/{dialog-page.zWrBSgBD.js.map → dialog-page.BY6T1jYZ.js.map} +1 -1
  89. package/dist/chunks/{differenceInMonths.C8FyCrav.js → differenceInMonths.Cab3nOsb.js} +2 -2
  90. package/dist/chunks/{differenceInMonths.C8FyCrav.js.map → differenceInMonths.Cab3nOsb.js.map} +1 -1
  91. package/dist/chunks/{divider.DnKNNyWB.js → divider.Dho4_hQ7.js} +2 -2
  92. package/dist/chunks/{divider.DnKNNyWB.js.map → divider.Dho4_hQ7.js.map} +1 -1
  93. package/dist/chunks/{dropdown-default-textbox._KEBXjKT.js → dropdown-default-textbox.CNrsjXUU.js} +2 -2
  94. package/dist/chunks/{dropdown-default-textbox._KEBXjKT.js.map → dropdown-default-textbox.CNrsjXUU.js.map} +1 -1
  95. package/dist/chunks/{dropdown-tag.DIlF7mOi.js → dropdown-tag.B0LtUuUk.js} +4 -4
  96. package/dist/chunks/{dropdown-tag.DIlF7mOi.js.map → dropdown-tag.B0LtUuUk.js.map} +1 -1
  97. package/dist/chunks/{dropdown.CdsjtT9_.js → dropdown.B5tPWVxg.js} +9 -9
  98. package/dist/chunks/{dropdown.CdsjtT9_.js.map → dropdown.B5tPWVxg.js.map} +1 -1
  99. package/dist/chunks/es6.MoTTyETW.js.map +1 -1
  100. package/dist/chunks/{events.CMzGybJJ.js → events.BQOQSSb7.js} +2 -5
  101. package/dist/chunks/{events.CMzGybJJ.js.map → events.BQOQSSb7.js.map} +1 -1
  102. package/dist/chunks/{field-label.C97CrBI_.js → field-label.B1rMWIWY.js} +2 -2
  103. package/dist/chunks/{field-label.C97CrBI_.js.map → field-label.B1rMWIWY.js.map} +1 -1
  104. package/dist/chunks/{file-uploader.R0NZXIsS.js → file-uploader.BwmQdkmz.js} +367 -350
  105. package/dist/chunks/file-uploader.BwmQdkmz.js.map +1 -0
  106. package/dist/chunks/{filter-bar.DAYxD7wi.js → filter-bar.B9yGivxl.js} +118 -122
  107. package/dist/chunks/filter-bar.B9yGivxl.js.map +1 -0
  108. package/dist/chunks/{footer-actions.BO52wpv-.js → footer-actions.pC1mxLQm.js} +2 -2
  109. package/dist/chunks/{footer-actions.BO52wpv-.js.map → footer-actions.pC1mxLQm.js.map} +1 -1
  110. package/dist/chunks/{form-layout-title.61ESsGAY.js → form-layout-title.sxPU_lB_.js} +2 -2
  111. package/dist/chunks/{form-layout-title.61ESsGAY.js.map → form-layout-title.sxPU_lB_.js.map} +1 -1
  112. package/dist/chunks/form-layout.types.bZW9iR6_.js +5 -0
  113. package/dist/chunks/{form-layout.types.D3EKzbE7.js.map → form-layout.types.bZW9iR6_.js.map} +1 -1
  114. package/dist/chunks/get-slot-text.CQRAP2_q.js.map +1 -1
  115. package/dist/chunks/{getTimezoneOffsetInMilliseconds.BW7U6PxE.js → getTimezoneOffsetInMilliseconds.B7sxiukN.js} +2 -2
  116. package/dist/chunks/{getTimezoneOffsetInMilliseconds.BW7U6PxE.js.map → getTimezoneOffsetInMilliseconds.B7sxiukN.js.map} +1 -1
  117. package/dist/chunks/{header-meta.BE6QfUNi.js → header-meta.DZ8Gx4XE.js} +17 -17
  118. package/dist/chunks/{header-meta.BE6QfUNi.js.map → header-meta.DZ8Gx4XE.js.map} +1 -1
  119. package/dist/chunks/{header-with-views.CzLcYeW5.js → header-with-views.b1gt2wud.js} +109 -109
  120. package/dist/chunks/{header-with-views.CzLcYeW5.js.map → header-with-views.b1gt2wud.js.map} +1 -1
  121. package/dist/chunks/{header.3It50Clh.js → header.BQAAmjUF.js} +3 -3
  122. package/dist/chunks/{header.3It50Clh.js.map → header.BQAAmjUF.js.map} +1 -1
  123. package/dist/chunks/{info-icon.BhOm72U4.js → info-icon.DB0MI-dH.js} +2 -2
  124. package/dist/chunks/{info-icon.BhOm72U4.js.map → info-icon.DB0MI-dH.js.map} +1 -1
  125. package/dist/chunks/{input-field-password.-xEY2VB8.js → input-field-password.noxsH61p.js} +154 -146
  126. package/dist/chunks/input-field-password.noxsH61p.js.map +1 -0
  127. package/dist/chunks/{input-field-phone-number.DcxhP_qK.js → input-field-phone-number.B_uFvUXP.js} +587 -585
  128. package/dist/chunks/{input-field-phone-number.DcxhP_qK.js.map → input-field-phone-number.B_uFvUXP.js.map} +1 -1
  129. package/dist/chunks/{input-field.B6nL7d8O.js → input-field.C9ABE4cI.js} +118 -110
  130. package/dist/chunks/input-field.C9ABE4cI.js.map +1 -0
  131. package/dist/chunks/{keyboard-navigation.pB8weElW.js → keyboard-navigation.DWmhelVv.js} +2 -2
  132. package/dist/chunks/{keyboard-navigation.pB8weElW.js.map → keyboard-navigation.DWmhelVv.js.map} +1 -1
  133. package/dist/chunks/{layout-row.DVf7wNSB.js → layout-row.BxP9SxrL.js} +2 -2
  134. package/dist/chunks/{layout-row.DVf7wNSB.js.map → layout-row.BxP9SxrL.js.map} +1 -1
  135. package/dist/chunks/{listbox-option-tag.Cwe9Bn-R.js → listbox-option-tag.C1cZs38g.js} +2 -2
  136. package/dist/chunks/{listbox-option-tag.Cwe9Bn-R.js.map → listbox-option-tag.C1cZs38g.js.map} +1 -1
  137. package/dist/chunks/{modal-fullscreen.DTT-5rQX.js → modal-fullscreen.B69QJ8D6.js} +23 -21
  138. package/dist/chunks/modal-fullscreen.B69QJ8D6.js.map +1 -0
  139. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.c3Ma1oAL.js → modal.vue_vue_type_script_setup_true_lang.BYqbdsty.js} +4 -4
  140. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.c3Ma1oAL.js.map → modal.vue_vue_type_script_setup_true_lang.BYqbdsty.js.map} +1 -1
  141. package/dist/chunks/{pagination.DCn_tenp.js → pagination.Dst8Y6DD.js} +2 -2
  142. package/dist/chunks/{pagination.DCn_tenp.js.map → pagination.Dst8Y6DD.js.map} +1 -1
  143. package/dist/chunks/{payment-method.D6PeTYWq.js → payment-method.CExDsirg.js} +2 -2
  144. package/dist/chunks/{payment-method.D6PeTYWq.js.map → payment-method.CExDsirg.js.map} +1 -1
  145. package/dist/chunks/promo-banner.B-TLTLEd.js.map +1 -1
  146. package/dist/chunks/{radio-group.Br-N309Y.js → radio-group.CVDDBCP4.js} +5 -5
  147. package/dist/chunks/{radio-group.Br-N309Y.js.map → radio-group.CVDDBCP4.js.map} +1 -1
  148. package/dist/chunks/{rich-text-editor.B6Ftqv55.js → rich-text-editor.DyC-Nnc8.js} +12 -12
  149. package/dist/chunks/{rich-text-editor.B6Ftqv55.js.map → rich-text-editor.DyC-Nnc8.js.map} +1 -1
  150. package/dist/chunks/{search-bar.BmNEcy0L.js → search-bar.BwrFcw9L.js} +28 -28
  151. package/dist/chunks/search-bar.BwrFcw9L.js.map +1 -0
  152. package/dist/chunks/{secondary-nav.CPosCncv.js → secondary-nav.D7l9h0_t.js} +3 -3
  153. package/dist/chunks/{secondary-nav.CPosCncv.js.map → secondary-nav.D7l9h0_t.js.map} +1 -1
  154. package/dist/chunks/{segmented-control.BCHGDSrf.js → segmented-control.CwDOwDIu.js} +2 -2
  155. package/dist/chunks/{segmented-control.BCHGDSrf.js.map → segmented-control.CwDOwDIu.js.map} +1 -1
  156. package/dist/chunks/{selection-card-group.DBdwqWsH.js → selection-card-group.CZfusjo0.js} +4 -4
  157. package/dist/chunks/{selection-card-group.DBdwqWsH.js.map → selection-card-group.CZfusjo0.js.map} +1 -1
  158. package/dist/chunks/{sidepanel.CS9CfAWZ.js → sidepanel.BFz_7DKg.js} +4 -4
  159. package/dist/chunks/{sidepanel.CS9CfAWZ.js.map → sidepanel.BFz_7DKg.js.map} +1 -1
  160. package/dist/chunks/{step.CoSuGK16.js → step.CxnmaTMe.js} +3 -3
  161. package/dist/chunks/{step.CoSuGK16.js.map → step.CxnmaTMe.js.map} +1 -1
  162. package/dist/chunks/structured-list-item.DjbvVIwI.js +111 -0
  163. package/dist/chunks/{structured-list-item.BTPh7SPj.js.map → structured-list-item.DjbvVIwI.js.map} +1 -1
  164. package/dist/chunks/summary-grid.keys.Xx-W5a2w.js +6 -0
  165. package/dist/chunks/{summary-grid.keys.CxTf_FOc.js.map → summary-grid.keys.Xx-W5a2w.js.map} +1 -1
  166. package/dist/chunks/{summary-grid.types.cE1fyLvC.js → summary-grid.types.KVqau_I-.js} +74 -68
  167. package/dist/chunks/summary-grid.types.KVqau_I-.js.map +1 -0
  168. package/dist/chunks/{tab.CD5Eu6ql.js → tab.BAwuVDsV.js} +2 -2
  169. package/dist/chunks/{tab.CD5Eu6ql.js.map → tab.BAwuVDsV.js.map} +1 -1
  170. package/dist/chunks/tabs.keys.B4qGhjp2.js +7 -0
  171. package/dist/chunks/{tabs.keys.Cb4Vw5Jh.js.map → tabs.keys.B4qGhjp2.js.map} +1 -1
  172. package/dist/chunks/{tag.CjaB9DxL.js → tag.BmMnGJMp.js} +2 -2
  173. package/dist/chunks/{tag.CjaB9DxL.js.map → tag.BmMnGJMp.js.map} +1 -1
  174. package/dist/chunks/teleport.CHhznja1.js +129 -0
  175. package/dist/chunks/teleport.CHhznja1.js.map +1 -0
  176. package/dist/chunks/{textarea.XRETLCSj.js → textarea.BZjnJf5q.js} +3 -3
  177. package/dist/chunks/{textarea.XRETLCSj.js.map → textarea.BZjnJf5q.js.map} +1 -1
  178. package/dist/chunks/{timeline-item.19zg_gBi.js → timeline-item.YjC_8BBB.js} +7 -7
  179. package/dist/chunks/{timeline-item.19zg_gBi.js.map → timeline-item.YjC_8BBB.js.map} +1 -1
  180. package/dist/chunks/toast.e1-BCZks.js +229 -0
  181. package/dist/chunks/toast.e1-BCZks.js.map +1 -0
  182. package/dist/chunks/{tooltip.Dp9_ESm_.js → tooltip.CeX5eGnw.js} +2 -2
  183. package/dist/chunks/{tooltip.Dp9_ESm_.js.map → tooltip.CeX5eGnw.js.map} +1 -1
  184. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.KvlJ_dl9.js → tutorial.vue_vue_type_script_setup_true_lang.Cqimmacx.js} +2 -2
  185. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.KvlJ_dl9.js.map → tutorial.vue_vue_type_script_setup_true_lang.Cqimmacx.js.map} +1 -1
  186. package/dist/chunks/{use-bento-toast-controller.Kri_h7jS.js → use-bento-toast-controller.DK1PV3YW.js} +2 -2
  187. package/dist/chunks/{use-bento-toast-controller.Kri_h7jS.js.map → use-bento-toast-controller.DK1PV3YW.js.map} +1 -1
  188. package/dist/chunks/{use-cached-selected-values.8MdrR9wt.js → use-cached-selected-values.os3Yp7Tw.js} +3 -3
  189. package/dist/chunks/{use-cached-selected-values.8MdrR9wt.js.map → use-cached-selected-values.os3Yp7Tw.js.map} +1 -1
  190. package/dist/chunks/{use-form-layout-loading.D3lALhtC.js → use-form-layout-loading.CWbjZiwP.js} +2 -2
  191. package/dist/chunks/{use-form-layout-loading.D3lALhtC.js.map → use-form-layout-loading.CWbjZiwP.js.map} +1 -1
  192. package/dist/code-snippet.js +1 -1
  193. package/dist/country.js +1 -1
  194. package/dist/dashboard-template.js +1 -1
  195. package/dist/dashed-underline.js +1 -1
  196. package/dist/data-grid-template.js +1 -1
  197. package/dist/data-grid.js +1 -1
  198. package/dist/date-picker.js +2 -2
  199. package/dist/date-range-picker.js +2 -2
  200. package/dist/divider.js +1 -1
  201. package/dist/dropdown.js +4 -4
  202. package/dist/file-uploader.js +1 -1
  203. package/dist/filter-bar.js +1 -1
  204. package/dist/form-layout.js +1 -1
  205. package/dist/header-with-views.js +1 -1
  206. package/dist/header.js +1 -1
  207. package/dist/index.js +288 -287
  208. package/dist/index.js.map +1 -1
  209. package/dist/info-icon.js +1 -1
  210. package/dist/input-field-password.js +1 -1
  211. package/dist/input-field-phone-number.js +1 -1
  212. package/dist/input-field.js +1 -1
  213. package/dist/internal.js +27 -26
  214. package/dist/internal.js.map +1 -1
  215. package/dist/layout.js +1 -1
  216. package/dist/menu.js +1 -1
  217. package/dist/modal-fullscreen.js +1 -1
  218. package/dist/modal.js +2 -2
  219. package/dist/pagination.js +1 -1
  220. package/dist/payment-method.js +1 -1
  221. package/dist/popover.js +1 -1
  222. package/dist/radio-group.js +1 -1
  223. package/dist/rich-text-editor.js +1 -1
  224. package/dist/search-bar.js +2 -2
  225. package/dist/secondary-nav.js +1 -1
  226. package/dist/segmented-control.js +1 -1
  227. package/dist/selection-card.js +1 -1
  228. package/dist/sidepanel.js +1 -1
  229. package/dist/stepper.js +1 -1
  230. package/dist/structured-list.js +1 -1
  231. package/dist/styles/bento-dark.css +4 -1
  232. package/dist/styles/bento-light.css +4 -1
  233. package/dist/styles/bento.css +4 -1
  234. package/dist/styles/legacy.css +4 -1
  235. package/dist/styles/styleguide.css +4 -1
  236. package/dist/summary-grid.js +1 -1
  237. package/dist/tabs.js +1 -1
  238. package/dist/tag.js +1 -1
  239. package/dist/textarea.js +1 -1
  240. package/dist/timeline.js +1 -1
  241. package/dist/toast.js +1 -1
  242. package/dist/tutorial.js +1 -1
  243. package/dist/use-form-v4.js +8 -8
  244. package/dist/use-form-v4.js.map +1 -1
  245. package/dist/web-types.json +1 -1
  246. package/package.json +11 -10
  247. package/dist/chunks/button-actions.BQ3AFQqt.js +0 -1355
  248. package/dist/chunks/button-actions.BQ3AFQqt.js.map +0 -1
  249. package/dist/chunks/checkbox-group.D56nUmre.js.map +0 -1
  250. package/dist/chunks/constructNow.CHWWeLPc.js +0 -8
  251. package/dist/chunks/data-grid-template.keys.2_AkxuNT.js +0 -5
  252. package/dist/chunks/date-range-picker.CXeFdxAA.js +0 -1100
  253. package/dist/chunks/date-range-picker.CXeFdxAA.js.map +0 -1
  254. package/dist/chunks/file-uploader.R0NZXIsS.js.map +0 -1
  255. package/dist/chunks/filter-bar.DAYxD7wi.js.map +0 -1
  256. package/dist/chunks/form-layout.types.D3EKzbE7.js +0 -5
  257. package/dist/chunks/input-field-password.-xEY2VB8.js.map +0 -1
  258. package/dist/chunks/input-field.B6nL7d8O.js.map +0 -1
  259. package/dist/chunks/modal-fullscreen.DTT-5rQX.js.map +0 -1
  260. package/dist/chunks/search-bar.BmNEcy0L.js.map +0 -1
  261. package/dist/chunks/structured-list-item.BTPh7SPj.js +0 -111
  262. package/dist/chunks/summary-grid.keys.CxTf_FOc.js +0 -6
  263. package/dist/chunks/summary-grid.types.cE1fyLvC.js.map +0 -1
  264. package/dist/chunks/tabs.keys.Cb4Vw5Jh.js +0 -7
  265. package/dist/chunks/toast.6oJx7SNq.js +0 -221
  266. package/dist/chunks/toast.6oJx7SNq.js.map +0 -1
@@ -0,0 +1,1234 @@
1
+ import { defineComponent as P, useSlots as Q, computed as C, createBlock as _, openBlock as u, withModifiers as q, normalizeClass as V, createSlots as Y, withCtx as g, renderSlot as W, unref as v, createElementVNode as U, createCommentVNode as $, mergeProps as j, renderList as x, normalizeProps as Be, guardReactiveProps as $e, resolveComponent as O, createVNode as T, createTextVNode as H, toDisplayString as K, onMounted as ee, onUnmounted as me, useAttrs as Se, inject as G, ref as m, toRefs as Te, Transition as ve, createElementBlock as I, resolveDynamicComponent as z, toHandlers as ae, withKeys as M, Fragment as Z, watch as be, nextTick as te, normalizeStyle as ye, provide as Ee, toRef as Le } from "vue";
2
+ import { B as L } from "./button.DhcxX2GJ.js";
3
+ import { B as Oe } from "./loading-indicator.Db794TT5.js";
4
+ import { C as Me } from "./cross-circle-fill.CYLL7jfC.js";
5
+ import { C as we } from "./checkmark-circle-fill._6-d40ru.js";
6
+ import { u as ie } from "./use-has-slot.B7eQSabc.js";
7
+ import { u as ge } from "./index.pdBj0KQU.js";
8
+ import { _ as w } from "./_plugin-vue_export-helper.CHgC5LLL.js";
9
+ import { B as _e, D as Ne } from "./divider.Dho4_hQ7.js";
10
+ import { C as Re } from "./cross.B92GxFTY.js";
11
+ import { B as Ce, a as re, p as Pe } from "./typography.yBEME_Gu.js";
12
+ import { c as Ae, P as De, d as Fe } from "./popper-container.Uod3yjsR.js";
13
+ import { u as We } from "./aria-label.CaUURpnB.js";
14
+ import { o as Ue } from "./on-click-outside.D9aY9g8G.js";
15
+ import { g as Ke } from "./generate-uid.NJ8tVoha.js";
16
+ import { C as Ve } from "./chevron-down.DCQ6ZLaq.js";
17
+ /* empty css */
18
+ import { a as He, C as ue } from "./chevron-left.Cfn1uGLH.js";
19
+ import { a as ce, B as Ge } from "./base-button.BYhf0xf3.js";
20
+ import { t as Ye } from "./truncate.BfIl_-71.js";
21
+ import { B as je } from "./teleport.CHhznja1.js";
22
+ import { o as Je } from "./resize.Bqks3WUm.js";
23
+ import { g as Xe } from "./es6.MoTTyETW.js";
24
+ import "../assets/button-actions.css";
25
+ var R = /* @__PURE__ */ ((e) => (e.START = "start", e.LOADING = "loading", e.SUCCESS = "success", e.FAIL = "fail", e))(R || {});
26
+ const he = {
27
+ "en-US": {
28
+ failed: "Failed",
29
+ succeded: "Succeded"
30
+ },
31
+ "ja-JP": {
32
+ failed: "失敗しました"
33
+ },
34
+ "pt-BR": {
35
+ failed: "Falha"
36
+ }
37
+ }, qe = {
38
+ class: "b-loading-button__icon",
39
+ "data-testid": "loading-button-rotating-icon"
40
+ }, ze = {
41
+ i18n: { messages: he }
42
+ }, Ze = /* @__PURE__ */ P({
43
+ ...ze,
44
+ __name: "loading-button",
45
+ props: {
46
+ /**
47
+ * Reduces sizing of button
48
+ */
49
+ condensed: {
50
+ type: L.props.condensed.type,
51
+ default: !1
52
+ },
53
+ /**
54
+ * Displays loading-button as critical
55
+ */
56
+ critical: {
57
+ type: L.props.critical.type,
58
+ default: !1
59
+ },
60
+ /**
61
+ * Disables button functonality
62
+ */
63
+ disabled: {
64
+ type: L.props.disabled.type,
65
+ default: !1
66
+ },
67
+ /**
68
+ * Sets color set to inverse
69
+ */
70
+ inverse: {
71
+ type: Boolean,
72
+ default: !1
73
+ },
74
+ /**
75
+ * State of the button.
76
+ * @values start, loading, success, fail
77
+ */
78
+ state: {
79
+ type: String,
80
+ default: R.START,
81
+ validator: (e) => Object.values(R).includes(e)
82
+ },
83
+ /**
84
+ * Types of flavour of Button
85
+ */
86
+ variant: {
87
+ type: L.props.variant.type,
88
+ default: "primary",
89
+ validator: L.props.variant.validator
90
+ }
91
+ },
92
+ emits: ["click"],
93
+ setup(e, { emit: s }) {
94
+ const i = e, o = s, f = Q(), p = ie(f), { t: l } = ge({ messages: he }), d = C(() => ({
95
+ [`b-loading-button--${i.variant}-${R.LOADING}`]: i.state === R.LOADING && !i.disabled,
96
+ "b-loading-button--loading": i.state === R.LOADING && !i.disabled,
97
+ [`b-loading-button--${i.variant}-${R.SUCCESS}`]: i.state === R.SUCCESS,
98
+ "b-loading-button--inverse": i.inverse
99
+ })), c = C(
100
+ () => i.variant === "primary" && !i.inverse || i.variant !== "primary" && i.inverse
101
+ ), a = C(
102
+ () => i.critical && i.state === R.START || i.state === R.FAIL
103
+ ), n = (r) => {
104
+ r.stopPropagation(), i.state !== R.LOADING && o("click", r);
105
+ };
106
+ return (r, t) => (u(), _(L, {
107
+ critical: a.value,
108
+ variant: e.variant,
109
+ condensed: e.condensed,
110
+ disabled: e.disabled,
111
+ inverse: e.inverse,
112
+ class: V(["b-loading-button", d.value]),
113
+ onClickCapture: q(n, ["stop"])
114
+ }, Y({
115
+ default: g(() => [
116
+ W(r.$slots, "default", {}, void 0, !0)
117
+ ]),
118
+ _: 2
119
+ }, [
120
+ e.state === "start" && v(p)("iconLeft") ? {
121
+ name: "iconLeft",
122
+ fn: g(() => [
123
+ W(r.$slots, "iconLeft", {}, void 0, !0)
124
+ ]),
125
+ key: "0"
126
+ } : e.state !== "start" ? {
127
+ name: "iconLeft",
128
+ fn: g(() => [
129
+ U("span", qe, [
130
+ e.state === "fail" ? (u(), _(v(Me), {
131
+ key: 0,
132
+ "svg-title": v(l)("failed")
133
+ }, null, 8, ["svg-title"])) : e.state === "success" ? (u(), _(v(we), {
134
+ key: 1,
135
+ "svg-title": v(l)("succeded")
136
+ }, null, 8, ["svg-title"])) : e.state === "loading" ? (u(), _(v(Oe), {
137
+ key: 2,
138
+ small: "",
139
+ inverse: c.value
140
+ }, null, 8, ["inverse"])) : $("", !0)
141
+ ])
142
+ ]),
143
+ key: "1"
144
+ } : void 0
145
+ ]), 1032, ["critical", "variant", "condensed", "disabled", "inverse", "class"]));
146
+ }
147
+ }), Qe = /* @__PURE__ */ w(Ze, [["__scopeId", "data-v-e68a786b"]]), xe = {}, et = /* @__PURE__ */ P({
148
+ ...xe,
149
+ __name: "toggle-button",
150
+ props: {
151
+ /**
152
+ * Reduces sizing of button
153
+ */
154
+ condensed: {
155
+ type: L.props.condensed.type,
156
+ default: !1
157
+ },
158
+ /**
159
+ * Disables button functonality
160
+ */
161
+ disabled: {
162
+ type: L.props.disabled.type,
163
+ default: !1
164
+ },
165
+ /**
166
+ * Sets color set to inverse
167
+ */
168
+ inverse: {
169
+ type: Boolean,
170
+ default: !1
171
+ },
172
+ /**
173
+ * Types of flavour of Button
174
+ * @values primary, secondary, tertiary
175
+ */
176
+ variant: {
177
+ type: L.props.variant.type,
178
+ default: "primary",
179
+ validator: L.props.variant.validator
180
+ },
181
+ /**
182
+ * The state of the button whether it is toggled or not.
183
+ */
184
+ toggled: {
185
+ type: Boolean,
186
+ default: !1
187
+ }
188
+ },
189
+ emits: ["click", "update:toggled"],
190
+ setup(e, { emit: s }) {
191
+ const i = e, o = s, f = C(
192
+ () => i.variant === "tertiary" ? "tertiary-with-background" : i.variant
193
+ ), p = C(() => ({
194
+ "b-toggle-button--condensed": i == null ? void 0 : i.condensed,
195
+ [`b-toggle-button--${f.value}-toggled`]: i.toggled,
196
+ "b-toggle-button--inverse": i.inverse
197
+ })), l = (a) => {
198
+ a.stopPropagation(), i != null && i.disabled || (o("click", a), o("update:toggled", !i.toggled));
199
+ }, d = Q(), c = (a) => ({ key: a });
200
+ return (a, n) => (u(), _(L, j({ class: "b-toggle-button" }, a.$attrs, {
201
+ "aria-expanded": `${e.toggled}`,
202
+ "aria-pressed": `${e.toggled}`,
203
+ condensed: e.condensed,
204
+ class: p.value,
205
+ disabled: e.disabled,
206
+ inverse: e.inverse,
207
+ variant: f.value,
208
+ onClickCapture: q(l, ["stop"])
209
+ }), Y({ _: 2 }, [
210
+ x(v(d), (r, t) => ({
211
+ name: t,
212
+ fn: g(() => [
213
+ W(a.$slots, t, Be($e(c(t))), void 0, !0)
214
+ ])
215
+ }))
216
+ ]), 1040, ["aria-expanded", "aria-pressed", "condensed", "class", "disabled", "inverse", "variant"]));
217
+ }
218
+ }), tt = /* @__PURE__ */ w(et, [["__scopeId", "data-v-f1b10e5f"]]), nt = P({
219
+ name: "bento-popover-dismiss-button",
220
+ components: { BentoButton: L, CrossIcon: Re },
221
+ props: {
222
+ onImage: {
223
+ type: Boolean,
224
+ default: !1
225
+ }
226
+ },
227
+ setup(e) {
228
+ return {
229
+ // Values
230
+ conditionalClass: C(() => ({ "b-popover-dismiss-button--on-image": e.onImage }))
231
+ };
232
+ }
233
+ });
234
+ function ot(e, s, i, o, f, p) {
235
+ const l = O("cross-icon"), d = O("bento-button");
236
+ return u(), _(d, {
237
+ class: V(e.conditionalClass),
238
+ variant: "tertiary",
239
+ onClick: s[0] || (s[0] = (c) => e.$emit("click"))
240
+ }, {
241
+ iconLeft: g(() => [
242
+ T(l, { "svg-title": "dismiss" })
243
+ ]),
244
+ _: 1
245
+ }, 8, ["class"]);
246
+ }
247
+ const de = /* @__PURE__ */ w(nt, [["render", ot], ["__scopeId", "data-v-424ecdaa"]]), st = P({
248
+ components: { BentoTypography: Ce },
249
+ props: {
250
+ /**
251
+ * Indicates if the popover contains an image.
252
+ */
253
+ isImageTitle: { type: Boolean, default: !1 },
254
+ /**
255
+ * Indicates the title you want to give the popover.
256
+ */
257
+ title: { type: String, default: null }
258
+ },
259
+ setup(e) {
260
+ const s = C(() => !e.isImageTitle), i = C(
261
+ () => e.isImageTitle ? re.SUBTITLE : re.BODY
262
+ );
263
+ return {
264
+ // Values
265
+ isStrongest: s,
266
+ titleVariant: i
267
+ };
268
+ }
269
+ });
270
+ function at(e, s, i, o, f, p) {
271
+ const l = O("bento-typography");
272
+ return u(), _(l, {
273
+ strongest: e.isStrongest,
274
+ variant: e.titleVariant,
275
+ el: "span"
276
+ }, {
277
+ default: g(() => [
278
+ H(K(e.title), 1)
279
+ ]),
280
+ _: 1
281
+ }, 8, ["strongest", "variant"]);
282
+ }
283
+ const it = /* @__PURE__ */ w(st, [["render", at]]), lt = (e, s, i = {}) => {
284
+ let o;
285
+ ee(() => {
286
+ o = Ue(e, s, i);
287
+ }), me(() => {
288
+ o && (o(), o = null);
289
+ });
290
+ }, rt = /* @__PURE__ */ Symbol("input field popover injection key"), ut = /* @__PURE__ */ Symbol("input field popover injection key"), ct = /* @__PURE__ */ Symbol("popover offset injection key"), dt = {
291
+ key: 0,
292
+ class: "b-popover__image"
293
+ }, ft = {
294
+ key: 0,
295
+ class: "b-popover__image-dismiss-button"
296
+ }, pt = {
297
+ key: 1,
298
+ class: "b-popover__header"
299
+ }, mt = { class: "b-popover__header-title" }, vt = { key: 0 }, bt = {
300
+ key: 3,
301
+ class: "b-popover__footer"
302
+ }, yt = {}, gt = /* @__PURE__ */ P({
303
+ ...yt,
304
+ __name: "popover",
305
+ props: {
306
+ actions: { default: void 0 },
307
+ actionsLayout: { default: "buttons-end" },
308
+ ariaLabel: { default: void 0 },
309
+ divider: { type: Boolean, default: !1 },
310
+ disableFocusTrap: { type: Boolean, default: !1 },
311
+ dismissible: { type: Boolean, default: !1 },
312
+ fallbackPosition: { default: () => ["bottom-start", "right-start", "top-start", "left-start"] },
313
+ fitContent: { type: Boolean, default: !1 },
314
+ fixedPositioning: { type: Boolean, default: !1 },
315
+ open: { type: Boolean, default: !1 },
316
+ large: { type: Boolean, default: !1 },
317
+ modifiers: { default: void 0 },
318
+ position: { default: "bottom-start" },
319
+ small: { type: Boolean, default: !1 },
320
+ title: { default: void 0 },
321
+ targetElement: {},
322
+ trapAll: { type: Boolean, default: !1 },
323
+ trapAllOptions: { default: void 0 },
324
+ withoutSpace: { type: Boolean, default: !1 },
325
+ overflowVisible: { type: Boolean, default: !1 }
326
+ },
327
+ emits: ["dismiss", "placement"],
328
+ setup(e, { emit: s }) {
329
+ const o = e, f = s, p = Q(), l = Se(), d = C(() => {
330
+ var y;
331
+ return {
332
+ id: (y = l.id) == null ? void 0 : y.toString(),
333
+ role: (l == null ? void 0 : l.role) === null ? void 0 : Ae.POPOVER
334
+ };
335
+ }), c = G(ct, 2), a = m(l["aria-label"]), { ariaLabel: n, title: r } = Te(o), t = We({
336
+ ariaLabel: a.value,
337
+ // TODO: take this line away when the aria-label props is removed
338
+ label: n,
339
+ defaultFallback: r
340
+ }), b = G(ut, !1) || G(rt, !1), h = C(() => ({
341
+ "b-popover--small": o.small && !o.large,
342
+ "b-popover--with-divider": !!o.divider,
343
+ "b-popover--large": o.large && !o.small,
344
+ "b-popover--fit-content": o.fitContent,
345
+ "b-popover--without-space": o.withoutSpace,
346
+ "b-popover--overflow-visible": o.overflowVisible || b
347
+ })), S = C(() => ({
348
+ "b-popover__content--with-title": !!o.title
349
+ })), N = () => f("dismiss"), A = ie(p);
350
+ return (y, D) => (u(), _(ve, { name: "b-popover__animation" }, {
351
+ default: g(() => [
352
+ y.open ? (u(), _(v(De), {
353
+ key: 0,
354
+ id: d.value.id,
355
+ "aria-role": d.value.role,
356
+ "aria-label": v(t),
357
+ arrow: { classes: ["b-popover__arrow"] },
358
+ "disabled-focus-trap": y.disableFocusTrap,
359
+ "trap-all": y.trapAll,
360
+ "trap-all-options": y.trapAllOptions,
361
+ class: V([h.value, "b-popover"]),
362
+ "fallback-position": y.fallbackPosition,
363
+ "fixed-positioning": y.fixedPositioning,
364
+ offset: [0, v(c)],
365
+ position: y.position,
366
+ "target-element": y.targetElement,
367
+ onPlacement: D[0] || (D[0] = (J) => y.$emit("placement", J))
368
+ }, {
369
+ default: g(() => [
370
+ v(A)("image") ? (u(), I("div", dt, [
371
+ y.dismissible ? (u(), I("div", ft, [
372
+ T(de, {
373
+ "on-image": "",
374
+ onClick: N
375
+ })
376
+ ])) : $("", !0),
377
+ W(y.$slots, "image", {}, void 0, !0)
378
+ ])) : $("", !0),
379
+ v(r) ? (u(), I("div", pt, [
380
+ U("div", mt, [
381
+ v(A)("headerIcon") ? W(y.$slots, "headerIcon", { key: 0 }, void 0, !0) : $("", !0),
382
+ T(it, {
383
+ title: v(r),
384
+ "is-image-title": !!v(A)("image")
385
+ }, null, 8, ["title", "is-image-title"])
386
+ ]),
387
+ y.dismissible && !v(A)("image") ? (u(), I("div", vt, [
388
+ T(de, { onClick: N })
389
+ ])) : $("", !0)
390
+ ])) : $("", !0),
391
+ v(A)("default") ? (u(), I("div", {
392
+ key: 2,
393
+ class: V(["b-popover__content", S.value])
394
+ }, [
395
+ W(y.$slots, "default", {}, void 0, !0)
396
+ ], 2)) : $("", !0),
397
+ y.actions ? (u(), I("div", bt, [
398
+ T(jt, {
399
+ actions: y.actions,
400
+ layout: y.actionsLayout
401
+ }, null, 8, ["actions", "layout"])
402
+ ])) : $("", !0)
403
+ ]),
404
+ _: 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"])) : $("", !0)
406
+ ]),
407
+ _: 3
408
+ }));
409
+ }
410
+ }), _t = /* @__PURE__ */ w(gt, [["__scopeId", "data-v-84ebb43a"]]);
411
+ let fe = 0;
412
+ const Ct = {
413
+ beforeCreate() {
414
+ this.uuid = fe.toString(), fe += 1;
415
+ }
416
+ }, ht = { key: 0 };
417
+ function kt(e, s, i, o, f, p) {
418
+ return u(), I("svg", j({ role: "img" }, e.$attrs, {
419
+ class: "ui-assets-icons-16",
420
+ xmlns: "http://www.w3.org/2000/svg",
421
+ width: "16",
422
+ height: "16",
423
+ fill: "none"
424
+ }), [
425
+ e.$attrs["svg-title"] ? (u(), I("title", ht, K(e.$attrs["svg-title"]), 1)) : $("", !0),
426
+ s[0] || (s[0] = U("path", {
427
+ fill: "#001222",
428
+ 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"
429
+ }, null, -1)),
430
+ s[1] || (s[1] = U("path", {
431
+ fill: "#001222",
432
+ 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"
433
+ }, null, -1)),
434
+ s[2] || (s[2] = U("path", {
435
+ fill: "#001222",
436
+ 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"
437
+ }, null, -1))
438
+ ], 16);
439
+ }
440
+ const It = /* @__PURE__ */ w(Ct, [["render", kt]]), Bt = P({
441
+ name: "menu-item",
442
+ components: { BaseButton: Ge, BentoTypography: Ce, ChevronRightIcon: He },
443
+ props: {
444
+ /**
445
+ * menu-item text that gets displayed as the main label
446
+ */
447
+ text: {
448
+ type: String,
449
+ required: !0
450
+ },
451
+ /**
452
+ * menu-item action that gets executed when the MeniItem is clicked
453
+ */
454
+ handler: {
455
+ type: Function,
456
+ required: !0
457
+ },
458
+ /**
459
+ * menu-item text that gets displayed as the secondary label
460
+ */
461
+ secondaryText: {
462
+ type: String,
463
+ default: null
464
+ },
465
+ /**
466
+ * Optional chevron icon displayed to the right of the menu-item
467
+ */
468
+ chevron: {
469
+ type: Boolean,
470
+ default: !1
471
+ },
472
+ /**
473
+ * Optional icon displayed to the left of the menu-item
474
+ */
475
+ icon: {
476
+ // Types for Vue2 (Object) and Vue3 (Function)
477
+ // TODO: Remove Object when fully migrated to Vue3
478
+ type: [Object, Function],
479
+ default: null
480
+ },
481
+ /**
482
+ * Disables menu-item button functionality
483
+ */
484
+ disabled: {
485
+ type: Boolean,
486
+ default: !1
487
+ },
488
+ /**
489
+ * Displays an indent variant od the menu-item
490
+ */
491
+ indent: {
492
+ type: Boolean,
493
+ default: !1
494
+ },
495
+ /**
496
+ * Displays menu-item button as critical
497
+ */
498
+ critical: {
499
+ type: Boolean,
500
+ default: !1
501
+ },
502
+ /**
503
+ * Renders the text in a bold variant
504
+ */
505
+ isTitle: {
506
+ type: Boolean,
507
+ default: !1
508
+ }
509
+ },
510
+ emits: [ce.CLICK],
511
+ setup(e, { emit: s }) {
512
+ const o = C(() => ({
513
+ "b-menu-item--critical": e.critical,
514
+ "b-menu-item--indent": e.indent
515
+ })), f = C(() => Ye(e.secondaryText, 10));
516
+ return {
517
+ // Values
518
+ conditionalClasses: o,
519
+ computedSecondaryText: f,
520
+ // Methods
521
+ onClick: (l) => {
522
+ l.stopPropagation(), e.handler(), s(ce.CLICK);
523
+ }
524
+ };
525
+ }
526
+ });
527
+ function $t(e, s, i, o, f, p) {
528
+ const l = O("bento-typography"), d = O("chevron-right-icon"), c = O("base-button");
529
+ return u(), _(c, {
530
+ class: V(["b-menu-item", e.conditionalClasses]),
531
+ role: "menuitem",
532
+ disabled: e.disabled,
533
+ tabindex: "-1",
534
+ onClick: e.onClick
535
+ }, Y({
536
+ default: g(() => [
537
+ T(l, {
538
+ el: "span",
539
+ variant: "body",
540
+ stronger: e.isTitle,
541
+ class: "b-menu-item__primary-text"
542
+ }, {
543
+ default: g(() => [
544
+ H(K(e.text), 1)
545
+ ]),
546
+ _: 1
547
+ }, 8, ["stronger"]),
548
+ e.computedSecondaryText ? (u(), _(l, {
549
+ key: 0,
550
+ el: "span",
551
+ variant: "body",
552
+ class: "b-menu-item__secondary-text"
553
+ }, {
554
+ default: g(() => [
555
+ H(K(e.computedSecondaryText), 1)
556
+ ]),
557
+ _: 1
558
+ })) : $("", !0)
559
+ ]),
560
+ _: 2
561
+ }, [
562
+ e.icon ? {
563
+ name: "iconLeft",
564
+ fn: g(() => [
565
+ (u(), _(z(e.icon), {
566
+ class: "b-menu-item__icon-left",
567
+ "aria-hidden": "true"
568
+ }))
569
+ ]),
570
+ key: "0"
571
+ } : void 0,
572
+ e.chevron ? {
573
+ name: "iconRight",
574
+ fn: g(() => [
575
+ T(d, { "aria-hidden": "true" })
576
+ ]),
577
+ key: "1"
578
+ } : void 0
579
+ ]), 1032, ["class", "disabled", "onClick"]);
580
+ }
581
+ const ke = /* @__PURE__ */ w(Bt, [["render", $t], ["__scopeId", "data-v-9dace5ac"]]);
582
+ ({ ...Fe });
583
+ var F = /* @__PURE__ */ ((e) => (e.BACK = "back", e.CLOSE = "close", e.OPEN = "open", e))(F || {});
584
+ const St = /* @__PURE__ */ Symbol("menu registering injection key"), Tt = {
585
+ name: "bento-menu-list-container"
586
+ }, Et = /* @__PURE__ */ P({
587
+ ...Tt,
588
+ setup(e) {
589
+ const s = m(), i = m({}), o = G(St, !1);
590
+ if (o) {
591
+ const { registerMenuContainerElement: f } = o;
592
+ f(s), i.value = {
593
+ mouseleave: o == null ? void 0 : o.menuMouseLeave
594
+ };
595
+ }
596
+ return (f, p) => (u(), I("div", j({
597
+ ref_key: "menuListContainerRef",
598
+ ref: s,
599
+ class: "b-menu-list-container",
600
+ "data-testid": "menu-list-container"
601
+ }, ae(i.value, !0)), [
602
+ W(f.$slots, "default", {}, void 0, !0)
603
+ ], 16));
604
+ }
605
+ }), Ie = /* @__PURE__ */ w(Et, [["__scopeId", "data-v-9ef14d73"]]), le = {
606
+ "en-US": {
607
+ backButton: "Go back",
608
+ menuButton: "Open menu"
609
+ }
610
+ }, Lt = P({
611
+ i18n: { messages: le },
612
+ name: "sub-menu-item-list",
613
+ components: { BentoDivider: _e, MenuItem: ke, MenuListContainer: Ie },
614
+ props: {
615
+ items: {
616
+ type: Array,
617
+ required: !0
618
+ },
619
+ title: {
620
+ type: String,
621
+ required: !0
622
+ }
623
+ },
624
+ emits: [F.CLOSE, F.BACK],
625
+ setup(e, { emit: s }) {
626
+ const i = m(null), o = m(0), f = m(e.items.length), p = () => s(F.CLOSE), l = () => s(F.BACK), d = C(() => {
627
+ var t;
628
+ const r = (t = e.items) == null ? void 0 : t.map((b) => ({
629
+ ...b,
630
+ indent: !b.icon,
631
+ isTitle: !1,
632
+ clickHandler: p
633
+ }));
634
+ return [
635
+ {
636
+ text: e.title,
637
+ secondaryText: null,
638
+ critical: !1,
639
+ icon: ue,
640
+ isTitle: !0,
641
+ disabled: !1,
642
+ indent: !1,
643
+ handler: l,
644
+ clickHandler: l,
645
+ addDivider: !0
646
+ },
647
+ ...r
648
+ ];
649
+ }), c = async () => {
650
+ var r, t, b, h, S;
651
+ (S = (h = (b = (t = (r = i.value) == null ? void 0 : r.children) == null ? void 0 : t[o.value]) == null ? void 0 : b.children) == null ? void 0 : h[0]) == null || S.focus();
652
+ };
653
+ ee(async () => {
654
+ setTimeout(() => c(), 150);
655
+ });
656
+ const a = () => {
657
+ o.value > 0 ? (o.value -= 1, d.value[o.value].disabled && a()) : o.value = f.value, c();
658
+ }, n = () => {
659
+ o.value < f.value ? (o.value += 1, d.value[o.value].disabled && n()) : o.value = 0, c();
660
+ };
661
+ return {
662
+ // Enums
663
+ BentoMenuEvent: F,
664
+ // Values
665
+ subMenuItemListRefLocal: i,
666
+ subMenuFocusedIndex: o,
667
+ ChevronLeftIcon: ue,
668
+ computedItems: d,
669
+ // Methods
670
+ closeMenu: p,
671
+ onBackButton: l,
672
+ focusPrevious: a,
673
+ focusNext: n
674
+ };
675
+ }
676
+ });
677
+ function Ot(e, s, i, o, f, p) {
678
+ const l = O("menu-item"), d = O("bento-divider"), c = O("menu-list-container");
679
+ return u(), _(ve, {
680
+ name: "b-sub-menu-item-list__transition",
681
+ appear: ""
682
+ }, {
683
+ default: g(() => [
684
+ T(c, { class: "b-sub-menu-item-list" }, {
685
+ default: g(() => [
686
+ U("ul", {
687
+ ref: "subMenuItemListRefLocal",
688
+ role: "menu",
689
+ class: "b-sub-menu-item-list__list",
690
+ onKeydown: [
691
+ s[0] || (s[0] = M(q((...a) => e.focusNext && e.focusNext(...a), ["stop"]), ["down"])),
692
+ s[1] || (s[1] = M(q((...a) => e.focusPrevious && e.focusPrevious(...a), ["stop"]), ["up"])),
693
+ s[2] || (s[2] = M(q((...a) => e.onBackButton && e.onBackButton(...a), ["stop"]), ["esc"]))
694
+ ]
695
+ }, [
696
+ (u(!0), I(Z, null, x(e.computedItems, (a, n) => (u(), I("li", {
697
+ key: `sub-menu-item-list-item-${n}`,
698
+ role: "none"
699
+ }, [
700
+ T(l, {
701
+ text: a.text,
702
+ handler: a.handler,
703
+ "secondary-text": a.secondaryText,
704
+ icon: a.icon,
705
+ "is-title": a.isTitle,
706
+ disabled: a.disabled,
707
+ critical: a.critical,
708
+ indent: a.indent,
709
+ tabindex: n === e.subMenuFocusedIndex ? "0" : "-1",
710
+ onClick: a.clickHandler
711
+ }, null, 8, ["text", "handler", "secondary-text", "icon", "is-title", "disabled", "critical", "indent", "tabindex", "onClick"]),
712
+ a.addDivider ? (u(), _(d, {
713
+ key: 0,
714
+ class: "b-sub-menu-item-list__divider"
715
+ })) : $("", !0)
716
+ ]))), 128))
717
+ ], 544)
718
+ ]),
719
+ _: 1
720
+ })
721
+ ]),
722
+ _: 1
723
+ });
724
+ }
725
+ const Mt = /* @__PURE__ */ w(Lt, [["render", Ot], ["__scopeId", "data-v-e1de172e"]]);
726
+ function wt(e, s, i) {
727
+ const p = m(0), l = m(0), d = (a) => {
728
+ if (!a || !a.parentElement)
729
+ return;
730
+ const n = a.parentElement, r = a.cloneNode(!0);
731
+ r.style.position = "absolute", r.style.visibility = "hidden", n.appendChild(r), r.style.width = "max-content";
732
+ const t = r.offsetWidth, b = Math.max(150, Math.min(t, 350));
733
+ p.value = b, r.style.width = `${b}px`;
734
+ const h = r.offsetHeight;
735
+ l.value = h, n.removeChild(r), l.value = h;
736
+ };
737
+ return be([s, i], async ([a]) => {
738
+ var n, r;
739
+ if (a !== null) {
740
+ await te();
741
+ const t = (r = (n = e.value) == null ? void 0 : n[0]) == null ? void 0 : r.$el;
742
+ t && d(t);
743
+ } else
744
+ p.value = 0, l.value = 0;
745
+ }), { computedStyle: C(() => {
746
+ const a = { width: "max-content" };
747
+ return i.value && (l.value > 0 && (a.height = `${l.value}px`), p.value > 0 && (a.width = `${p.value}px`)), a;
748
+ }) };
749
+ }
750
+ const Nt = P({
751
+ name: "menu-item-list",
752
+ components: { BentoDivider: _e, MenuItem: ke, MenuListContainer: Ie, SubMenuItemList: Mt },
753
+ props: {
754
+ /**
755
+ * The data to be displayed in the list
756
+ */
757
+ data: {
758
+ type: Array,
759
+ required: !0
760
+ },
761
+ /**
762
+ * Displays the menu-items of the list in the indent variant. Only applies to elements that don't have an icon to their left.
763
+ */
764
+ indentItems: {
765
+ type: Boolean,
766
+ default: !1
767
+ },
768
+ /**
769
+ * If set to true, focuses the last item on the list instead of the first. Used for accessibility purposes when the menu is opened with the 'up' arrow key.
770
+ */
771
+ focusLastElement: {
772
+ type: Boolean,
773
+ default: !1
774
+ },
775
+ /**
776
+ * If set to true, closes the menu when an item is clicked.
777
+ */
778
+ closeMenuOnItemSelect: {
779
+ type: Boolean,
780
+ default: !0
781
+ }
782
+ },
783
+ emits: [F.CLOSE, "menu-item-click"],
784
+ setup(e, { emit: s, expose: i }) {
785
+ const o = m(null), f = m(null), p = m(null), l = m(null), d = m(!1), c = m(null), a = m(e.focusLastElement ? e.data.length - 1 : 0), n = m(0), r = m(e.data.length - 1), t = C(() => e.data.some((B) => B.icon)), b = C(() => e.indentItems || t.value ? e.data.map((B) => {
786
+ let E = !1;
787
+ return B.icon || (E = !0), {
788
+ ...B,
789
+ indent: E
790
+ };
791
+ }) : e.data), h = async () => {
792
+ var B, E, k;
793
+ await te(), (k = (E = (B = f.value) == null ? void 0 : B.children[a.value]) == null ? void 0 : E.children[0]) == null || k.focus();
794
+ }, S = () => s(F.CLOSE), N = (B, E) => {
795
+ if (B.items) {
796
+ c.value = E, d.value = !0;
797
+ return;
798
+ }
799
+ c.value = E, d.value = !1, !B.skipClose && e.closeMenuOnItemSelect !== !1 && S(), s("menu-item-click");
800
+ }, A = () => {
801
+ a.value > 0 ? (a.value -= 1, b.value[a.value].disabled && A()) : a.value = r.value, h();
802
+ }, y = () => {
803
+ a.value < r.value ? (a.value += 1, b.value[a.value].disabled && y()) : a.value = 0, h();
804
+ }, D = (B, E) => {
805
+ var k;
806
+ (k = B == null ? void 0 : B.items) != null && k.length && (c.value = E, d.value = !0);
807
+ }, J = () => {
808
+ c.value && d.value && (c.value = null, d.value = !1);
809
+ }, ne = () => {
810
+ d.value = !1, c.value = null, h();
811
+ };
812
+ i({
813
+ focusItem: h
814
+ });
815
+ const { computedStyle: oe } = wt(l, c, d);
816
+ return {
817
+ // Values
818
+ menuItemListRef: f,
819
+ menuItemListWrapperRef: p,
820
+ subMenuItemListRef: l,
821
+ menuItemRef: o,
822
+ computedData: b,
823
+ computedStyle: oe,
824
+ focusedIndex: a,
825
+ subMenuFocusedIndex: n,
826
+ showSubMenu: d,
827
+ visibleSubMenuIndex: c,
828
+ // Methods
829
+ menuItemClick: N,
830
+ closeMenu: S,
831
+ focusPrevious: A,
832
+ focusNext: y,
833
+ focusRight: D,
834
+ focusLeft: J,
835
+ onBackButton: ne
836
+ };
837
+ }
838
+ }), Rt = ["onKeydown"];
839
+ function Pt(e, s, i, o, f, p) {
840
+ const l = O("menu-item"), d = O("bento-divider"), c = O("sub-menu-item-list"), a = O("menu-list-container");
841
+ return u(), _(a, {
842
+ ref: "menuItemListWrapperRef",
843
+ style: ye(e.computedStyle)
844
+ }, {
845
+ default: g(() => [
846
+ U("ul", {
847
+ ref: "menuItemListRef",
848
+ class: "b-menu-item-list",
849
+ role: "menu",
850
+ onKeydown: [
851
+ s[1] || (s[1] = M((...n) => e.focusNext && e.focusNext(...n), ["down"])),
852
+ s[2] || (s[2] = M((...n) => e.focusPrevious && e.focusPrevious(...n), ["up"])),
853
+ s[3] || (s[3] = M((...n) => e.closeMenu && e.closeMenu(...n), ["esc"])),
854
+ s[4] || (s[4] = M((...n) => e.closeMenu && e.closeMenu(...n), ["tab"]))
855
+ ]
856
+ }, [
857
+ (u(!0), I(Z, null, x(e.computedData, (n, r) => {
858
+ var t, b, h, S;
859
+ return u(), I("li", {
860
+ key: `menu-item-${r}`,
861
+ ref_for: !0,
862
+ ref: "menuItemRef",
863
+ class: "b-menu-item-list__item",
864
+ role: "none",
865
+ onKeydown: [
866
+ M((N) => e.focusRight(n, r), ["right"]),
867
+ s[0] || (s[0] = M((N) => e.focusLeft(), ["left"]))
868
+ ]
869
+ }, [
870
+ T(l, {
871
+ text: n.text,
872
+ handler: (t = n.items) != null && t.length ? () => null : n.handler,
873
+ "secondary-text": n.secondaryText,
874
+ icon: n.icon,
875
+ chevron: !!((b = n.items) != null && b.length),
876
+ disabled: n.disabled,
877
+ critical: n.critical,
878
+ indent: n.indent,
879
+ tabindex: r === e.subMenuFocusedIndex ? "0" : "-1",
880
+ "aria-haspopup": !!((h = n.items) != null && h.length),
881
+ "aria-expanded": e.showSubMenu && e.visibleSubMenuIndex === r,
882
+ onClick: (N) => e.menuItemClick(n, r)
883
+ }, null, 8, ["text", "handler", "secondary-text", "icon", "chevron", "disabled", "critical", "indent", "tabindex", "aria-haspopup", "aria-expanded", "onClick"]),
884
+ n.addDivider ? (u(), _(d, {
885
+ key: 0,
886
+ class: "b-menu-item-list__divider"
887
+ })) : $("", !0),
888
+ (S = n.items) != null && S.length && e.showSubMenu && e.visibleSubMenuIndex === r ? (u(), _(c, {
889
+ key: 1,
890
+ ref_for: !0,
891
+ ref: "subMenuItemListRef",
892
+ items: n.items,
893
+ title: n.text,
894
+ onBack: e.onBackButton,
895
+ onClose: e.closeMenu
896
+ }, null, 8, ["items", "title", "onBack", "onClose"])) : $("", !0)
897
+ ], 40, Rt);
898
+ }), 128))
899
+ ], 544)
900
+ ]),
901
+ _: 1
902
+ }, 8, ["style"]);
903
+ }
904
+ const At = /* @__PURE__ */ w(Nt, [["render", Pt], ["__scopeId", "data-v-968b28cb"]]), Dt = /* @__PURE__ */ Symbol("menu inverse style injection key"), Ft = {
905
+ i18n: { messages: le },
906
+ name: "bento-menu"
907
+ }, Wt = /* @__PURE__ */ P({
908
+ ...Ft,
909
+ props: {
910
+ button: { default: () => ({
911
+ variant: "secondary"
912
+ }) },
913
+ closeMenuOnItemSelect: { type: Boolean, default: !0 },
914
+ data: {},
915
+ disableArrowDownOpeningMenu: { type: Boolean, default: !1 },
916
+ menuPosition: { default: "bottom-start" },
917
+ menuFixedPositioning: { type: Boolean, default: !1 },
918
+ menuWidth: { default: null },
919
+ revertFocusToButton: { type: Boolean, default: !0 },
920
+ teleport: { type: Boolean, default: !1 },
921
+ closeOnClickOutsideOptions: { default: void 0 }
922
+ },
923
+ emits: ["menu-item-click", "click-outside"],
924
+ setup(e, { expose: s, emit: i }) {
925
+ var E;
926
+ const o = e, f = i, p = Q(), l = ie(p), { t: d } = ge({ messages: le }), c = m(null), a = m(null), n = m(!1), r = m(!1), t = m(null), b = Ke("menu"), h = G(Dt, m(!1));
927
+ Ee(Ne, h);
928
+ const S = C(() => ({
929
+ "b-menu--inverse": h.value
930
+ })), N = C(() => o.menuWidth ? { width: `${o.menuWidth}px` } : null), A = C(() => {
931
+ if (o != null && o.button)
932
+ return {
933
+ variant: "secondary",
934
+ ...o.button
935
+ };
936
+ }), y = () => {
937
+ n.value = !0, f(F.OPEN);
938
+ }, D = async (k = o.revertFocusToButton) => {
939
+ var X, se;
940
+ n.value && (n.value = !1, k && (await te(), (se = (X = c.value) == null ? void 0 : X.$el) == null || se.focus()), f(F.CLOSE));
941
+ }, J = (k) => {
942
+ k.stopPropagation(), n.value ? D() : y();
943
+ }, ne = (k) => {
944
+ k.preventDefault(), r.value = !1, o.disableArrowDownOpeningMenu || y();
945
+ }, oe = (k) => {
946
+ k.preventDefault(), r.value = !0, y();
947
+ }, B = () => {
948
+ f("menu-item-click");
949
+ };
950
+ return lt(
951
+ t,
952
+ () => {
953
+ D(), f("click-outside");
954
+ },
955
+ {
956
+ ...o.closeOnClickOutsideOptions,
957
+ ignore: [c, ...((E = o.closeOnClickOutsideOptions) == null ? void 0 : E.ignore) ?? []]
958
+ }
959
+ ), s({
960
+ /**
961
+ * Control to enable programmatic closing of the menu
962
+ */
963
+ closeMenu: D
964
+ }), ee(() => {
965
+ l("iconRight") && Pe(
966
+ '"bento-menu" no longer supports the "iconRight" slot. The right-aligned icon is now fixed by design.'
967
+ );
968
+ }), (k, X) => (u(), I("div", {
969
+ class: V([S.value, "b-menu"]),
970
+ "data-testid": "menu",
971
+ onKeydown: [
972
+ M(ne, ["down"]),
973
+ M(oe, ["up"]),
974
+ X[0] || (X[0] = M((se) => D(), ["esc"]))
975
+ ]
976
+ }, [
977
+ T(tt, j({
978
+ ref_key: "menuButtonRef",
979
+ ref: c,
980
+ class: "b-menu__toggle-button",
981
+ "aria-haspopup": "true"
982
+ }, A.value, {
983
+ "aria-controls": n.value ? v(b) : null,
984
+ toggled: n.value,
985
+ inverse: v(h),
986
+ onClick: J
987
+ }), Y({ _: 2 }, [
988
+ !v(l)("default") || v(l)("iconLeft") ? {
989
+ name: "iconLeft",
990
+ fn: g(() => [
991
+ W(k.$slots, "iconLeft", {}, () => [
992
+ T(v(It), {
993
+ title: v(d)("menuButton")
994
+ }, null, 8, ["title"])
995
+ ], !0)
996
+ ]),
997
+ key: "0"
998
+ } : void 0,
999
+ v(l)("default") ? {
1000
+ name: "default",
1001
+ fn: g(() => [
1002
+ W(k.$slots, "default", {}, void 0, !0)
1003
+ ]),
1004
+ key: "1"
1005
+ } : void 0,
1006
+ v(l)("default") ? {
1007
+ name: "iconRight",
1008
+ fn: g(() => [
1009
+ T(v(Ve))
1010
+ ]),
1011
+ key: "2"
1012
+ } : void 0
1013
+ ]), 1040, ["aria-controls", "toggled", "inverse"]),
1014
+ c.value ? (u(), _(v(je), {
1015
+ key: 0,
1016
+ disabled: !k.teleport
1017
+ }, {
1018
+ default: g(() => [
1019
+ c.value ? (u(), _(_t, {
1020
+ key: 0,
1021
+ id: v(b),
1022
+ ref_key: "popoverRef",
1023
+ ref: t,
1024
+ role: null,
1025
+ open: n.value,
1026
+ class: "b-menu__popover",
1027
+ style: ye(N.value),
1028
+ "target-element": c.value,
1029
+ position: k.menuPosition,
1030
+ "fixed-positioning": k.menuFixedPositioning,
1031
+ "fallback-position": [
1032
+ "bottom-start",
1033
+ "bottom-end",
1034
+ "top-start",
1035
+ "top-end",
1036
+ "right-start",
1037
+ "right-end",
1038
+ "left-start",
1039
+ "left-end"
1040
+ ],
1041
+ teleport: k.teleport,
1042
+ "without-space": ""
1043
+ }, {
1044
+ default: g(() => [
1045
+ T(At, {
1046
+ ref_key: "menuItemListRef",
1047
+ ref: a,
1048
+ "close-menu-on-item-select": k.closeMenuOnItemSelect,
1049
+ data: k.data,
1050
+ "focus-last-element": r.value,
1051
+ onClose: D,
1052
+ onMenuItemClick: B
1053
+ }, null, 8, ["close-menu-on-item-select", "data", "focus-last-element"])
1054
+ ]),
1055
+ _: 1
1056
+ }, 8, ["id", "open", "style", "target-element", "position", "fixed-positioning", "teleport"])) : $("", !0)
1057
+ ]),
1058
+ _: 1
1059
+ }, 8, ["disabled"])) : $("", !0)
1060
+ ], 34));
1061
+ }
1062
+ }), Ut = /* @__PURE__ */ w(Wt, [["__scopeId", "data-v-4d921a39"]]), Kt = /* @__PURE__ */ Symbol(
1063
+ "button actions with menu container injection key"
1064
+ ), Vt = 242, pe = parseInt(Xe, 10), Ht = (e, s, i) => {
1065
+ const o = m(0);
1066
+ let f = null;
1067
+ const { buttonActionsWithMenu: p, menu: l, stackButtons: d } = G(Kt, {
1068
+ buttonActionsWithMenu: m(null),
1069
+ menu: m(null),
1070
+ stackButtons: m(!1)
1071
+ }), c = C(() => p.value ?? e.value), a = C(() => l.value ? [...s.value, l.value.$el] : s.value), n = (r) => {
1072
+ var h;
1073
+ const t = (h = a.value) == null ? void 0 : h.reduce(
1074
+ (S, N) => S + N.clientWidth + pe,
1075
+ -pe - 1
1076
+ ), b = c.value.clientWidth;
1077
+ return r && (o.value = b >= Vt && !d.value ? t : 0), o.value > b;
1078
+ };
1079
+ return be(
1080
+ () => i.value,
1081
+ () => {
1082
+ te(() => {
1083
+ d.value = n(!0);
1084
+ });
1085
+ },
1086
+ { deep: !0 }
1087
+ ), ee(() => {
1088
+ f = Je(c.value, () => {
1089
+ d.value = n(o.value === 0);
1090
+ });
1091
+ }), me(() => {
1092
+ f == null || f.disconnect();
1093
+ }), d;
1094
+ }, Gt = {}, Yt = /* @__PURE__ */ P({
1095
+ ...Gt,
1096
+ __name: "button-actions",
1097
+ props: {
1098
+ actions: {},
1099
+ inverse: { type: Boolean, default: !1 },
1100
+ layout: { default: "buttons-end" }
1101
+ },
1102
+ setup(e) {
1103
+ const s = e, i = m(null), o = m(null), f = Ht(i, o, Le(s, "actions")), p = C(() => s.actions.slice().reverse()), l = (n) => {
1104
+ const r = s.actions.length - 1;
1105
+ return n === r ? "primary" : "secondary";
1106
+ }, d = C(() => ({
1107
+ [`b-button-actions--${s.layout}`]: !0,
1108
+ "b-button-actions--stacked-buttons": f.value
1109
+ })), c = (n) => (n == null ? void 0 : n.event) !== void 0 ? {
1110
+ click: n.event
1111
+ } : {}, a = (n) => n.iconOnly && (n.iconLeft || n.iconRight || n.icon);
1112
+ return (n, r) => (u(), I("div", {
1113
+ ref_key: "buttonActions",
1114
+ ref: i,
1115
+ class: "b-button-actions"
1116
+ }, [
1117
+ U("div", {
1118
+ class: V(["b-button-actions__container-wrapper", d.value]),
1119
+ role: "group"
1120
+ }, [
1121
+ (u(!0), I(Z, null, x(p.value, (t, b) => (u(), I("div", {
1122
+ key: b,
1123
+ ref_for: !0,
1124
+ ref_key: "buttons",
1125
+ ref: o,
1126
+ class: "b-button-actions__button-wrapper"
1127
+ }, [
1128
+ t.data ? (u(), _(Ut, {
1129
+ key: 0,
1130
+ ref_for: !0,
1131
+ ref: t.elementRef,
1132
+ data: t.data,
1133
+ "close-menu-on-item-select": t.closeMenuOnItemSelect,
1134
+ "close-on-click-outside-options": t.closeOnClickOutsideOptions,
1135
+ "disable-arrow-down-opening-menu": t.disableArrowDownOpeningMenu,
1136
+ "menu-position": t.menuPosition,
1137
+ "menu-fixed-positioning": t.menuFixedPositioning,
1138
+ "menu-width": t.menuWidth,
1139
+ "revert-focus-to-button": t.revertFocusToButton,
1140
+ teleport: t.teleport
1141
+ }, Y({ _: 2 }, [
1142
+ t.icon || t.iconLeft ? {
1143
+ name: "iconLeft",
1144
+ fn: g(() => [
1145
+ (u(), _(z(t.icon || t.iconLeft), {
1146
+ "svg-title": t.title
1147
+ }, null, 8, ["svg-title"]))
1148
+ ]),
1149
+ key: "0"
1150
+ } : void 0,
1151
+ a(t) ? void 0 : {
1152
+ name: "default",
1153
+ fn: g(() => [
1154
+ H(K(t.title), 1)
1155
+ ]),
1156
+ key: "1"
1157
+ }
1158
+ ]), 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(), I(Z, { key: 1 }, [
1159
+ t.state ? (u(), _(Qe, j({
1160
+ key: 0,
1161
+ ref_for: !0,
1162
+ ref: t.elementRef,
1163
+ condensed: t.condensed,
1164
+ critical: t.critical,
1165
+ disabled: t.disabled,
1166
+ inverse: n.inverse,
1167
+ state: t.state,
1168
+ variant: t.variant || l(b)
1169
+ }, ae(c(t))), {
1170
+ default: g(() => [
1171
+ H(K(t.title), 1)
1172
+ ]),
1173
+ _: 2
1174
+ }, 1040, ["condensed", "critical", "disabled", "inverse", "state", "variant"])) : (u(), _(L, j({
1175
+ key: 1,
1176
+ ref_for: !0,
1177
+ ref: t.elementRef,
1178
+ condensed: t.condensed,
1179
+ critical: t.critical,
1180
+ disabled: t.disabled,
1181
+ inverse: n.inverse,
1182
+ link: t.link,
1183
+ variant: t.variant || l(b)
1184
+ }, ae(c(t))), Y({ _: 2 }, [
1185
+ t.icon || t.iconLeft ? {
1186
+ name: "iconLeft",
1187
+ fn: g(() => [
1188
+ (u(), _(z(t.icon || t.iconLeft), {
1189
+ "svg-title": t.title
1190
+ }, null, 8, ["svg-title"]))
1191
+ ]),
1192
+ key: "0"
1193
+ } : void 0,
1194
+ a(t) ? void 0 : {
1195
+ name: "default",
1196
+ fn: g(() => [
1197
+ H(K(t.title), 1)
1198
+ ]),
1199
+ key: "1"
1200
+ },
1201
+ t.iconRight ? {
1202
+ name: "iconRight",
1203
+ fn: g(() => [
1204
+ (u(), _(z(t.iconRight), {
1205
+ "svg-title": t.title
1206
+ }, null, 8, ["svg-title"]))
1207
+ ]),
1208
+ key: "2"
1209
+ } : void 0
1210
+ ]), 1040, ["condensed", "critical", "disabled", "inverse", "link", "variant"]))
1211
+ ], 64))
1212
+ ]))), 128))
1213
+ ], 2)
1214
+ ], 512));
1215
+ }
1216
+ }), jt = /* @__PURE__ */ w(Yt, [["__scopeId", "data-v-6c3554de"]]);
1217
+ export {
1218
+ jt as B,
1219
+ St as D,
1220
+ rt as I,
1221
+ Dt as M,
1222
+ It as O,
1223
+ ct as P,
1224
+ Qe as a,
1225
+ R as b,
1226
+ tt as c,
1227
+ Kt as d,
1228
+ Ut as e,
1229
+ F as f,
1230
+ _t as g,
1231
+ ut as h,
1232
+ lt as u
1233
+ };
1234
+ //# sourceMappingURL=button-actions.Bg38lywL.js.map