@adyen/bento-vue3 1.81.0 → 1.82.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 (579) hide show
  1. package/dist/@types/components.d.ts +196 -0
  2. package/dist/@types/index.d.ts +17825 -0
  3. package/dist/@types/use-form-v4.d.ts +86 -0
  4. package/dist/accordion.js +6 -0
  5. package/dist/accordion.js.map +1 -0
  6. package/dist/action-bar.js +5 -0
  7. package/dist/action-bar.js.map +1 -0
  8. package/dist/alert.js +8 -0
  9. package/dist/alert.js.map +1 -0
  10. package/dist/assets/accordion-item.css +1 -0
  11. package/dist/assets/action-bar.css +1 -0
  12. package/dist/assets/ai-button.css +1 -0
  13. package/dist/assets/alert.css +1 -0
  14. package/dist/assets/avatar.css +1 -0
  15. package/dist/assets/base-button.css +1 -0
  16. package/dist/assets/base-modal.css +1 -0
  17. package/dist/assets/button-actions-with-menu.css +1 -0
  18. package/dist/assets/button-actions.css +1 -0
  19. package/dist/assets/button.css +1 -0
  20. package/dist/assets/calendar.css +1 -0
  21. package/dist/assets/card.css +1 -0
  22. package/dist/assets/checkbox-group.css +1 -0
  23. package/dist/assets/checkbox-input.css +1 -0
  24. package/dist/assets/checkbox.css +1 -0
  25. package/dist/assets/chip.css +1 -0
  26. package/dist/assets/code-snippet.css +1 -0
  27. package/dist/assets/controls-group.css +1 -0
  28. package/dist/assets/copy.css +1 -0
  29. package/dist/assets/country.css +1 -0
  30. package/dist/assets/currency.css +1 -0
  31. package/dist/assets/dashboard-section.css +1 -0
  32. package/dist/assets/dashed-underline.css +1 -0
  33. package/dist/assets/data-grid-template.css +1 -0
  34. package/dist/assets/data-grid.css +1 -0
  35. package/dist/assets/date-picker.css +1 -0
  36. package/dist/assets/date-range-picker.css +1 -0
  37. package/dist/assets/date.css +1 -0
  38. package/dist/assets/dialog-page.css +1 -0
  39. package/dist/assets/divider.css +1 -0
  40. package/dist/assets/dropdown-default-textbox.css +1 -0
  41. package/dist/assets/dropdown-tag.css +1 -0
  42. package/dist/assets/dropdown.css +1 -0
  43. package/dist/assets/empty-state.css +1 -0
  44. package/dist/assets/field-label.css +1 -0
  45. package/dist/assets/file-uploader.css +1 -0
  46. package/dist/assets/filter-bar.css +1 -0
  47. package/dist/assets/fixed-scroller.css +1 -0
  48. package/dist/assets/focus-trap.css +1 -0
  49. package/dist/assets/footer-actions.css +1 -0
  50. package/dist/assets/form-layout-title.css +1 -0
  51. package/dist/assets/grid-layout.css +1 -0
  52. package/dist/assets/header-meta.css +1 -0
  53. package/dist/assets/header-with-views.css +1 -0
  54. package/dist/assets/header.css +1 -0
  55. package/dist/assets/index.css +1 -0
  56. package/dist/assets/info-icon.css +1 -0
  57. package/dist/assets/input-field-password.css +1 -0
  58. package/dist/assets/input-field-phone-number.css +1 -0
  59. package/dist/assets/input-field.css +1 -0
  60. package/dist/assets/inspector.css +1 -0
  61. package/dist/assets/layout-row.css +1 -0
  62. package/dist/assets/link.css +1 -0
  63. package/dist/assets/listbox-option-tag.css +1 -0
  64. package/dist/assets/loading-indicator.css +1 -0
  65. package/dist/assets/main.css +1 -0
  66. package/dist/assets/modal-fullscreen.css +1 -0
  67. package/dist/assets/pagination.css +1 -0
  68. package/dist/assets/payment-method.css +1 -0
  69. package/dist/assets/popper-container.css +1 -0
  70. package/dist/assets/promo-banner.css +1 -0
  71. package/dist/assets/radio-group.css +1 -0
  72. package/dist/assets/radio-input.css +1 -0
  73. package/dist/assets/rich-text-editor.css +1 -0
  74. package/dist/assets/search-bar.css +1 -0
  75. package/dist/assets/secondary-nav.css +1 -0
  76. package/dist/assets/segmented-control.css +1 -0
  77. package/dist/assets/selection-card-group.css +1 -0
  78. package/dist/assets/sidepanel.css +1 -0
  79. package/dist/assets/status.css +1 -0
  80. package/dist/assets/step.css +1 -0
  81. package/dist/assets/structured-list-item.css +1 -0
  82. package/dist/assets/summary-grid.css +1 -0
  83. package/dist/assets/tab.css +1 -0
  84. package/dist/assets/tag.css +1 -0
  85. package/dist/assets/textarea.css +1 -0
  86. package/dist/assets/timeline-item.css +1 -0
  87. package/dist/assets/toast.css +1 -0
  88. package/dist/assets/toggle.css +1 -0
  89. package/dist/assets/tooltip.css +1 -0
  90. package/dist/assets/tutorial.css +1 -0
  91. package/dist/assets/typography.css +1 -0
  92. package/dist/assets/use-cached-selected-values.css +1 -0
  93. package/dist/avatar.js +5 -0
  94. package/dist/avatar.js.map +1 -0
  95. package/dist/button.js +18 -0
  96. package/dist/button.js.map +1 -0
  97. package/dist/card.js +7 -0
  98. package/dist/card.js.map +1 -0
  99. package/dist/checkbox.js +11 -0
  100. package/dist/checkbox.js.map +1 -0
  101. package/dist/chip.js +5 -0
  102. package/dist/chip.js.map +1 -0
  103. package/dist/chunks/1-generic-use.CZhwP2Yc.js +5 -0
  104. package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +1 -0
  105. package/dist/chunks/1-generic-use.R6x8PEGA.js +5 -0
  106. package/dist/chunks/1-generic-use.R6x8PEGA.js.map +1 -0
  107. package/dist/chunks/2-generic-use.CNKjB4B7.js +5 -0
  108. package/dist/chunks/2-generic-use.CNKjB4B7.js.map +1 -0
  109. package/dist/chunks/2-generic-use.w0fUhovx.js +5 -0
  110. package/dist/chunks/2-generic-use.w0fUhovx.js.map +1 -0
  111. package/dist/chunks/3-generic-use.BLEzR04g.js +5 -0
  112. package/dist/chunks/3-generic-use.BLEzR04g.js.map +1 -0
  113. package/dist/chunks/3-generic-use.D3NFHgI4.js +5 -0
  114. package/dist/chunks/3-generic-use.D3NFHgI4.js.map +1 -0
  115. package/dist/chunks/4-generic-use.CULEpvgj.js +5 -0
  116. package/dist/chunks/4-generic-use.CULEpvgj.js.map +1 -0
  117. package/dist/chunks/4-generic-use.D82y3n39.js +5 -0
  118. package/dist/chunks/4-generic-use.D82y3n39.js.map +1 -0
  119. package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js +10 -0
  120. package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js.map +1 -0
  121. package/dist/chunks/accordion-item.DHyAfeAu.js +143 -0
  122. package/dist/chunks/accordion-item.DHyAfeAu.js.map +1 -0
  123. package/dist/chunks/action-bar.BsLU4Bp3.js +202 -0
  124. package/dist/chunks/action-bar.BsLU4Bp3.js.map +1 -0
  125. package/dist/chunks/adding-payment-methods.BJZLPxtM.js +5 -0
  126. package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +1 -0
  127. package/dist/chunks/adding-payment-methods.Dle8zt43.js +5 -0
  128. package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +1 -0
  129. package/dist/chunks/adyen-giving.Ffw_DlJK.js +5 -0
  130. package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +1 -0
  131. package/dist/chunks/adyen-giving.LiKHj_jY.js +5 -0
  132. package/dist/chunks/adyen-giving.LiKHj_jY.js.map +1 -0
  133. package/dist/chunks/ai-button.DaRuea3x.js +93 -0
  134. package/dist/chunks/ai-button.DaRuea3x.js.map +1 -0
  135. package/dist/chunks/alert.C2pusd-_.js +171 -0
  136. package/dist/chunks/alert.C2pusd-_.js.map +1 -0
  137. package/dist/chunks/aria-label.CaUURpnB.js +13 -0
  138. package/dist/chunks/aria-label.CaUURpnB.js.map +1 -0
  139. package/dist/chunks/avatar.P2Fkz2I6.js +95 -0
  140. package/dist/chunks/avatar.P2Fkz2I6.js.map +1 -0
  141. package/dist/chunks/base-button.BSLpAs8A.js +114 -0
  142. package/dist/chunks/base-button.BSLpAs8A.js.map +1 -0
  143. package/dist/chunks/base-modal.Bt3mQ_5Y.js +441 -0
  144. package/dist/chunks/base-modal.Bt3mQ_5Y.js.map +1 -0
  145. package/dist/chunks/bin.DuHlEQBO.js +37 -0
  146. package/dist/chunks/bin.DuHlEQBO.js.map +1 -0
  147. package/dist/chunks/button-actions-with-menu.D2GU8abn.js +93 -0
  148. package/dist/chunks/button-actions-with-menu.D2GU8abn.js.map +1 -0
  149. package/dist/chunks/button-actions.CbEoQYUV.js +1367 -0
  150. package/dist/chunks/button-actions.CbEoQYUV.js.map +1 -0
  151. package/dist/chunks/button-actions.types.BptAXjD8.js +8 -0
  152. package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -0
  153. package/dist/chunks/button.DhcxX2GJ.js +131 -0
  154. package/dist/chunks/button.DhcxX2GJ.js.map +1 -0
  155. package/dist/chunks/calendar.CyJXcMz2.js +1962 -0
  156. package/dist/chunks/calendar.CyJXcMz2.js.map +1 -0
  157. package/dist/chunks/card.s3fBTh55.js +228 -0
  158. package/dist/chunks/card.s3fBTh55.js.map +1 -0
  159. package/dist/chunks/checkbox-group.tnj89uhH.js +177 -0
  160. package/dist/chunks/checkbox-group.tnj89uhH.js.map +1 -0
  161. package/dist/chunks/checkbox-input.BXNGT9U0.js +144 -0
  162. package/dist/chunks/checkbox-input.BXNGT9U0.js.map +1 -0
  163. package/dist/chunks/checkbox.Wqhh2aRA.js +257 -0
  164. package/dist/chunks/checkbox.Wqhh2aRA.js.map +1 -0
  165. package/dist/chunks/checkmark-circle-fill._6-d40ru.js +44 -0
  166. package/dist/chunks/checkmark-circle-fill._6-d40ru.js.map +1 -0
  167. package/dist/chunks/checkmark-small.x-gmK2Dt.js +29 -0
  168. package/dist/chunks/checkmark-small.x-gmK2Dt.js.map +1 -0
  169. package/dist/chunks/chevron-down.DCQ6ZLaq.js +29 -0
  170. package/dist/chunks/chevron-down.DCQ6ZLaq.js.map +1 -0
  171. package/dist/chunks/chevron-left.Cfn1uGLH.js +52 -0
  172. package/dist/chunks/chevron-left.Cfn1uGLH.js.map +1 -0
  173. package/dist/chunks/chevron-up.kfuLRpZb.js +29 -0
  174. package/dist/chunks/chevron-up.kfuLRpZb.js.map +1 -0
  175. package/dist/chunks/chip.CoV28mKv.js +71 -0
  176. package/dist/chunks/chip.CoV28mKv.js.map +1 -0
  177. package/dist/chunks/click-outside.C1Ud8AA2.js +23 -0
  178. package/dist/chunks/click-outside.C1Ud8AA2.js.map +1 -0
  179. package/dist/chunks/code-snippet.LRw3jGjV.js +343 -0
  180. package/dist/chunks/code-snippet.LRw3jGjV.js.map +1 -0
  181. package/dist/chunks/codemirror.Cy7iSLbd.js +14628 -0
  182. package/dist/chunks/codemirror.Cy7iSLbd.js.map +1 -0
  183. package/dist/chunks/constructNow.BhymNmy5.js +8 -0
  184. package/dist/chunks/constructNow.BhymNmy5.js.map +1 -0
  185. package/dist/chunks/controls-group.B2Qci77U.js +101 -0
  186. package/dist/chunks/controls-group.B2Qci77U.js.map +1 -0
  187. package/dist/chunks/copy.D5CBHqUB.js +117 -0
  188. package/dist/chunks/copy.D5CBHqUB.js.map +1 -0
  189. package/dist/chunks/country.D484ezGU.js +69 -0
  190. package/dist/chunks/country.D484ezGU.js.map +1 -0
  191. package/dist/chunks/country.types.C0Q_hhgJ.js +269 -0
  192. package/dist/chunks/country.types.C0Q_hhgJ.js.map +1 -0
  193. package/dist/chunks/cross-circle-fill-small.Dv5-PxwF.js +29 -0
  194. package/dist/chunks/cross-circle-fill-small.Dv5-PxwF.js.map +1 -0
  195. package/dist/chunks/cross-circle-fill.CYLL7jfC.js +44 -0
  196. package/dist/chunks/cross-circle-fill.CYLL7jfC.js.map +1 -0
  197. package/dist/chunks/cross-small.n1UO5wNB.js +29 -0
  198. package/dist/chunks/cross-small.n1UO5wNB.js.map +1 -0
  199. package/dist/chunks/cross.B92GxFTY.js +29 -0
  200. package/dist/chunks/cross.B92GxFTY.js.map +1 -0
  201. package/dist/chunks/currency.WmvQjX7l.js +116 -0
  202. package/dist/chunks/currency.WmvQjX7l.js.map +1 -0
  203. package/dist/chunks/dashboard-section.DlokD9Rf.js +165 -0
  204. package/dist/chunks/dashboard-section.DlokD9Rf.js.map +1 -0
  205. package/dist/chunks/dashed-underline.Dw1Iqk0l.js +114 -0
  206. package/dist/chunks/dashed-underline.Dw1Iqk0l.js.map +1 -0
  207. package/dist/chunks/data-grid-template.BwTVHbpB.js +144 -0
  208. package/dist/chunks/data-grid-template.BwTVHbpB.js.map +1 -0
  209. package/dist/chunks/data-grid-template.keys.VezYtHtM.js +5 -0
  210. package/dist/chunks/data-grid-template.keys.VezYtHtM.js.map +1 -0
  211. package/dist/chunks/data-grid.Be6Ao4He.js +4271 -0
  212. package/dist/chunks/data-grid.Be6Ao4He.js.map +1 -0
  213. package/dist/chunks/date-format.B8RU7D42.js +17 -0
  214. package/dist/chunks/date-format.B8RU7D42.js.map +1 -0
  215. package/dist/chunks/date-picker.CYBx1TS_.js +245 -0
  216. package/dist/chunks/date-picker.CYBx1TS_.js.map +1 -0
  217. package/dist/chunks/date-picker.types.Ckt7zxGy.js +5 -0
  218. package/dist/chunks/date-picker.types.Ckt7zxGy.js.map +1 -0
  219. package/dist/chunks/date-range-picker.BgEM0fyZ.js +1109 -0
  220. package/dist/chunks/date-range-picker.BgEM0fyZ.js.map +1 -0
  221. package/dist/chunks/date-range-picker.types.Ckt7zxGy.js +5 -0
  222. package/dist/chunks/date-range-picker.types.Ckt7zxGy.js.map +1 -0
  223. package/dist/chunks/date.DZvVL-uz.js +163 -0
  224. package/dist/chunks/date.DZvVL-uz.js.map +1 -0
  225. package/dist/chunks/debounce.DUTu11PS.js +10 -0
  226. package/dist/chunks/debounce.DUTu11PS.js.map +1 -0
  227. package/dist/chunks/delight.CDBAFnwC.js +5 -0
  228. package/dist/chunks/delight.CDBAFnwC.js.map +1 -0
  229. package/dist/chunks/delight.xKDCvvaS.js +5 -0
  230. package/dist/chunks/delight.xKDCvvaS.js.map +1 -0
  231. package/dist/chunks/dialog-page.BY6T1jYZ.js +175 -0
  232. package/dist/chunks/dialog-page.BY6T1jYZ.js.map +1 -0
  233. package/dist/chunks/differenceInMonths.Cab3nOsb.js +1590 -0
  234. package/dist/chunks/differenceInMonths.Cab3nOsb.js.map +1 -0
  235. package/dist/chunks/directive.Cbdox5VL.js +23 -0
  236. package/dist/chunks/directive.Cbdox5VL.js.map +1 -0
  237. package/dist/chunks/divider.Dho4_hQ7.js +33 -0
  238. package/dist/chunks/divider.Dho4_hQ7.js.map +1 -0
  239. package/dist/chunks/dot.ob6N-5Um.js +29 -0
  240. package/dist/chunks/dot.ob6N-5Um.js.map +1 -0
  241. package/dist/chunks/dropdown-default-textbox.CNrsjXUU.js +425 -0
  242. package/dist/chunks/dropdown-default-textbox.CNrsjXUU.js.map +1 -0
  243. package/dist/chunks/dropdown-tag.DmIHi3i-.js +301 -0
  244. package/dist/chunks/dropdown-tag.DmIHi3i-.js.map +1 -0
  245. package/dist/chunks/dropdown.Be6ses6k.js +833 -0
  246. package/dist/chunks/dropdown.Be6ses6k.js.map +1 -0
  247. package/dist/chunks/empty-state.Be6M8ivH.js +140 -0
  248. package/dist/chunks/empty-state.Be6M8ivH.js.map +1 -0
  249. package/dist/chunks/es6.MoTTyETW.js +12 -0
  250. package/dist/chunks/es6.MoTTyETW.js.map +1 -0
  251. package/dist/chunks/events.BQOQSSb7.js +44 -0
  252. package/dist/chunks/events.BQOQSSb7.js.map +1 -0
  253. package/dist/chunks/expand.C9IAqYYL.js +33 -0
  254. package/dist/chunks/expand.C9IAqYYL.js.map +1 -0
  255. package/dist/chunks/field-label.Cu6X9V0_.js +158 -0
  256. package/dist/chunks/field-label.Cu6X9V0_.js.map +1 -0
  257. package/dist/chunks/file-uploader.Bdhm4TVh.js +2299 -0
  258. package/dist/chunks/file-uploader.Bdhm4TVh.js.map +1 -0
  259. package/dist/chunks/filter-bar.CLNU1Ixm.js +3211 -0
  260. package/dist/chunks/filter-bar.CLNU1Ixm.js.map +1 -0
  261. package/dist/chunks/fixed-scroller.Dmg8r9QP.js +147 -0
  262. package/dist/chunks/fixed-scroller.Dmg8r9QP.js.map +1 -0
  263. package/dist/chunks/focus-trap.BaHvK7aT.js +1171 -0
  264. package/dist/chunks/focus-trap.BaHvK7aT.js.map +1 -0
  265. package/dist/chunks/footer-actions.C_EniPHo.js +110 -0
  266. package/dist/chunks/footer-actions.C_EniPHo.js.map +1 -0
  267. package/dist/chunks/form-field.D_2g7vaP.js +10 -0
  268. package/dist/chunks/form-field.D_2g7vaP.js.map +1 -0
  269. package/dist/chunks/form-layout-title.sxPU_lB_.js +214 -0
  270. package/dist/chunks/form-layout-title.sxPU_lB_.js.map +1 -0
  271. package/dist/chunks/form-layout.types.bZW9iR6_.js +5 -0
  272. package/dist/chunks/form-layout.types.bZW9iR6_.js.map +1 -0
  273. package/dist/chunks/generate-uid.NJ8tVoha.js +32 -0
  274. package/dist/chunks/generate-uid.NJ8tVoha.js.map +1 -0
  275. package/dist/chunks/get-slot-text.CQRAP2_q.js +12 -0
  276. package/dist/chunks/get-slot-text.CQRAP2_q.js.map +1 -0
  277. package/dist/chunks/getRoundingMethod.C3eaeGLR.js +10 -0
  278. package/dist/chunks/getRoundingMethod.C3eaeGLR.js.map +1 -0
  279. package/dist/chunks/getTimezoneOffsetInMilliseconds.B7sxiukN.js +484 -0
  280. package/dist/chunks/getTimezoneOffsetInMilliseconds.B7sxiukN.js.map +1 -0
  281. package/dist/chunks/grid-layout.DDaRNz4-.js +114 -0
  282. package/dist/chunks/grid-layout.DDaRNz4-.js.map +1 -0
  283. package/dist/chunks/header-meta.DMjERxW-.js +221 -0
  284. package/dist/chunks/header-meta.DMjERxW-.js.map +1 -0
  285. package/dist/chunks/header-with-views.CVgISUVn.js +2426 -0
  286. package/dist/chunks/header-with-views.CVgISUVn.js.map +1 -0
  287. package/dist/chunks/header.Dq5aBp9l.js +141 -0
  288. package/dist/chunks/header.Dq5aBp9l.js.map +1 -0
  289. package/dist/chunks/image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js +47 -0
  290. package/dist/chunks/image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js.map +1 -0
  291. package/dist/chunks/index.CWuzEfiV.js +6 -0
  292. package/dist/chunks/index.CWuzEfiV.js.map +1 -0
  293. package/dist/chunks/index.E60QniEu.js +592 -0
  294. package/dist/chunks/index.E60QniEu.js.map +1 -0
  295. package/dist/chunks/index.pdBj0KQU.js +15 -0
  296. package/dist/chunks/index.pdBj0KQU.js.map +1 -0
  297. package/dist/chunks/info-icon.C7RAAeQQ.js +35 -0
  298. package/dist/chunks/info-icon.C7RAAeQQ.js.map +1 -0
  299. package/dist/chunks/info.BKwey1HA.js +44 -0
  300. package/dist/chunks/info.BKwey1HA.js.map +1 -0
  301. package/dist/chunks/input-field-password.BhksIaXB.js +396 -0
  302. package/dist/chunks/input-field-password.BhksIaXB.js.map +1 -0
  303. package/dist/chunks/input-field-phone-number.jW5pH96y.js +3333 -0
  304. package/dist/chunks/input-field-phone-number.jW5pH96y.js.map +1 -0
  305. package/dist/chunks/input-field.CYBjHzVA.js +318 -0
  306. package/dist/chunks/input-field.CYBjHzVA.js.map +1 -0
  307. package/dist/chunks/inspector.BBhrSgO6.js +200 -0
  308. package/dist/chunks/inspector.BBhrSgO6.js.map +1 -0
  309. package/dist/chunks/inspector.types.DyHwE18g.js +5 -0
  310. package/dist/chunks/inspector.types.DyHwE18g.js.map +1 -0
  311. package/dist/chunks/internal-error.BLZodVBE.js +5 -0
  312. package/dist/chunks/internal-error.BLZodVBE.js.map +1 -0
  313. package/dist/chunks/internal-error.BmrwJFpR.js +5 -0
  314. package/dist/chunks/internal-error.BmrwJFpR.js.map +1 -0
  315. package/dist/chunks/keyboard-navigation.DWmhelVv.js +66 -0
  316. package/dist/chunks/keyboard-navigation.DWmhelVv.js.map +1 -0
  317. package/dist/chunks/layout-row.BxP9SxrL.js +100 -0
  318. package/dist/chunks/layout-row.BxP9SxrL.js.map +1 -0
  319. package/dist/chunks/link.cwPmWlsk.js +116 -0
  320. package/dist/chunks/link.cwPmWlsk.js.map +1 -0
  321. package/dist/chunks/listbox-option-tag.VRGb_04i.js +57 -0
  322. package/dist/chunks/listbox-option-tag.VRGb_04i.js.map +1 -0
  323. package/dist/chunks/loading-indicator.Db794TT5.js +33 -0
  324. package/dist/chunks/loading-indicator.Db794TT5.js.map +1 -0
  325. package/dist/chunks/minus-small.DYIyF5XW.js +32 -0
  326. package/dist/chunks/minus-small.DYIyF5XW.js.map +1 -0
  327. package/dist/chunks/modal-fullscreen.hOTnlB9T.js +285 -0
  328. package/dist/chunks/modal-fullscreen.hOTnlB9T.js.map +1 -0
  329. package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.DFCZG9Zc.js +501 -0
  330. package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.DFCZG9Zc.js.map +1 -0
  331. package/dist/chunks/no-results-found.Bg_ZcEid.js +5 -0
  332. package/dist/chunks/no-results-found.Bg_ZcEid.js.map +1 -0
  333. package/dist/chunks/no-results-found.BqvYsBR6.js +5 -0
  334. package/dist/chunks/no-results-found.BqvYsBR6.js.map +1 -0
  335. package/dist/chunks/notifications-cleared.BMZk37uf.js +5 -0
  336. package/dist/chunks/notifications-cleared.BMZk37uf.js.map +1 -0
  337. package/dist/chunks/notifications-cleared.C7W9ZXY7.js +5 -0
  338. package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +1 -0
  339. package/dist/chunks/on-click-outside.D9aY9g8G.js +101 -0
  340. package/dist/chunks/on-click-outside.D9aY9g8G.js.map +1 -0
  341. package/dist/chunks/page-not-found.COJLPVaU.js +5 -0
  342. package/dist/chunks/page-not-found.COJLPVaU.js.map +1 -0
  343. package/dist/chunks/page-not-found.DWW6W-PZ.js +5 -0
  344. package/dist/chunks/page-not-found.DWW6W-PZ.js.map +1 -0
  345. package/dist/chunks/pagination.Cj_FYHm-.js +461 -0
  346. package/dist/chunks/pagination.Cj_FYHm-.js.map +1 -0
  347. package/dist/chunks/payment-method.CExDsirg.js +128 -0
  348. package/dist/chunks/payment-method.CExDsirg.js.map +1 -0
  349. package/dist/chunks/payment-method.types.BqtH7RM2.js +5 -0
  350. package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -0
  351. package/dist/chunks/planned-maintenance.C61sWB9h.js +5 -0
  352. package/dist/chunks/planned-maintenance.C61sWB9h.js.map +1 -0
  353. package/dist/chunks/planned-maintenance.jmWYTdet.js +5 -0
  354. package/dist/chunks/planned-maintenance.jmWYTdet.js.map +1 -0
  355. package/dist/chunks/popover.types.DgfeurkF.js +6 -0
  356. package/dist/chunks/popover.types.DgfeurkF.js.map +1 -0
  357. package/dist/chunks/popper-container.I9gzp1NR.js +1413 -0
  358. package/dist/chunks/popper-container.I9gzp1NR.js.map +1 -0
  359. package/dist/chunks/promo-banner.B-TLTLEd.js +126 -0
  360. package/dist/chunks/promo-banner.B-TLTLEd.js.map +1 -0
  361. package/dist/chunks/radio-group.C0qJThJ2.js +278 -0
  362. package/dist/chunks/radio-group.C0qJThJ2.js.map +1 -0
  363. package/dist/chunks/radio-input.CBNE-AkM.js +95 -0
  364. package/dist/chunks/radio-input.CBNE-AkM.js.map +1 -0
  365. package/dist/chunks/referrals.BvtT-kQS.js +5 -0
  366. package/dist/chunks/referrals.BvtT-kQS.js.map +1 -0
  367. package/dist/chunks/referrals.aX8WZigH.js +5 -0
  368. package/dist/chunks/referrals.aX8WZigH.js.map +1 -0
  369. package/dist/chunks/refresh.BB4ouvz_.js +29 -0
  370. package/dist/chunks/refresh.BB4ouvz_.js.map +1 -0
  371. package/dist/chunks/resize.Bqks3WUm.js +15 -0
  372. package/dist/chunks/resize.Bqks3WUm.js.map +1 -0
  373. package/dist/chunks/rich-text-editor.CDcfVhGv.js +6224 -0
  374. package/dist/chunks/rich-text-editor.CDcfVhGv.js.map +1 -0
  375. package/dist/chunks/search-bar.CIi1zffn.js +116 -0
  376. package/dist/chunks/search-bar.CIi1zffn.js.map +1 -0
  377. package/dist/chunks/search.PczW-onY.js +44 -0
  378. package/dist/chunks/search.PczW-onY.js.map +1 -0
  379. package/dist/chunks/secondary-nav.C9ApoJ-J.js +138 -0
  380. package/dist/chunks/secondary-nav.C9ApoJ-J.js.map +1 -0
  381. package/dist/chunks/segmented-control.PlGfqyxH.js +145 -0
  382. package/dist/chunks/segmented-control.PlGfqyxH.js.map +1 -0
  383. package/dist/chunks/segmented-control.types.BHRLV8KU.js +5 -0
  384. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -0
  385. package/dist/chunks/selection-card-group.DjlLf4oi.js +415 -0
  386. package/dist/chunks/selection-card-group.DjlLf4oi.js.map +1 -0
  387. package/dist/chunks/show.CT4Augxb.js +64 -0
  388. package/dist/chunks/show.CT4Augxb.js.map +1 -0
  389. package/dist/chunks/sidepanel.CiyGOtAx.js +254 -0
  390. package/dist/chunks/sidepanel.CiyGOtAx.js.map +1 -0
  391. package/dist/chunks/status.types.-l2qJxLn.js +44 -0
  392. package/dist/chunks/status.types.-l2qJxLn.js.map +1 -0
  393. package/dist/chunks/step.rYLkDMZ0.js +267 -0
  394. package/dist/chunks/step.rYLkDMZ0.js.map +1 -0
  395. package/dist/chunks/structured-list-item.CsUD3M_V.js +111 -0
  396. package/dist/chunks/structured-list-item.CsUD3M_V.js.map +1 -0
  397. package/dist/chunks/success.DhioLvPD.js +5 -0
  398. package/dist/chunks/success.DhioLvPD.js.map +1 -0
  399. package/dist/chunks/success.nNwxJRBS.js +5 -0
  400. package/dist/chunks/success.nNwxJRBS.js.map +1 -0
  401. package/dist/chunks/summary-grid.keys.Xx-W5a2w.js +6 -0
  402. package/dist/chunks/summary-grid.keys.Xx-W5a2w.js.map +1 -0
  403. package/dist/chunks/summary-grid.types.BzPSYDUX.js +496 -0
  404. package/dist/chunks/summary-grid.types.BzPSYDUX.js.map +1 -0
  405. package/dist/chunks/tab.BAwuVDsV.js +252 -0
  406. package/dist/chunks/tab.BAwuVDsV.js.map +1 -0
  407. package/dist/chunks/tabs.keys.B4qGhjp2.js +7 -0
  408. package/dist/chunks/tabs.keys.B4qGhjp2.js.map +1 -0
  409. package/dist/chunks/tag.EDED27n5.js +57 -0
  410. package/dist/chunks/tag.EDED27n5.js.map +1 -0
  411. package/dist/chunks/textarea.7MePsezm.js +254 -0
  412. package/dist/chunks/textarea.7MePsezm.js.map +1 -0
  413. package/dist/chunks/timeline-item.D6SeOiVe.js +428 -0
  414. package/dist/chunks/timeline-item.D6SeOiVe.js.map +1 -0
  415. package/dist/chunks/toast.BFw86uEp.js +221 -0
  416. package/dist/chunks/toast.BFw86uEp.js.map +1 -0
  417. package/dist/chunks/toggle.BHCUjMpp.js +143 -0
  418. package/dist/chunks/toggle.BHCUjMpp.js.map +1 -0
  419. package/dist/chunks/tooltip.B76ucISL.js +202 -0
  420. package/dist/chunks/tooltip.B76ucISL.js.map +1 -0
  421. package/dist/chunks/truncate.BfIl_-71.js +8 -0
  422. package/dist/chunks/truncate.BfIl_-71.js.map +1 -0
  423. package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.CyO3qbAU.js +421 -0
  424. package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.CyO3qbAU.js.map +1 -0
  425. package/dist/chunks/typography.yBEME_Gu.js +83 -0
  426. package/dist/chunks/typography.yBEME_Gu.js.map +1 -0
  427. package/dist/chunks/upload-files.5wQwbfkp.js +5 -0
  428. package/dist/chunks/upload-files.5wQwbfkp.js.map +1 -0
  429. package/dist/chunks/upload-files.jTQY6y2X.js +5 -0
  430. package/dist/chunks/upload-files.jTQY6y2X.js.map +1 -0
  431. package/dist/chunks/use-bento-toast-controller.DK1PV3YW.js +50 -0
  432. package/dist/chunks/use-bento-toast-controller.DK1PV3YW.js.map +1 -0
  433. package/dist/chunks/use-cached-selected-values.DimYI3lv.js +1702 -0
  434. package/dist/chunks/use-cached-selected-values.DimYI3lv.js.map +1 -0
  435. package/dist/chunks/use-country-items.Dzbl2UsO.js +30 -0
  436. package/dist/chunks/use-country-items.Dzbl2UsO.js.map +1 -0
  437. package/dist/chunks/use-country-phon-code.Bui3zD6W.js +5621 -0
  438. package/dist/chunks/use-country-phon-code.Bui3zD6W.js.map +1 -0
  439. package/dist/chunks/use-default-slot-validator.O02rzsob.js +16 -0
  440. package/dist/chunks/use-default-slot-validator.O02rzsob.js.map +1 -0
  441. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js +17 -0
  442. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js.map +1 -0
  443. package/dist/chunks/use-form-layout-loading.CWbjZiwP.js +12 -0
  444. package/dist/chunks/use-form-layout-loading.CWbjZiwP.js.map +1 -0
  445. package/dist/chunks/use-has-slot.B7eQSabc.js +15 -0
  446. package/dist/chunks/use-has-slot.B7eQSabc.js.map +1 -0
  447. package/dist/chunks/warning-filled.BMGD0G-_.js +29 -0
  448. package/dist/chunks/warning-filled.BMGD0G-_.js.map +1 -0
  449. package/dist/chunks/wrong-environment.BOsyKdRI.js +5 -0
  450. package/dist/chunks/wrong-environment.BOsyKdRI.js.map +1 -0
  451. package/dist/chunks/wrong-environment.BiHTPtbJ.js +5 -0
  452. package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +1 -0
  453. package/dist/click-outside.js +5 -0
  454. package/dist/click-outside.js.map +1 -0
  455. package/dist/code-snippet.js +8 -0
  456. package/dist/code-snippet.js.map +1 -0
  457. package/dist/country.js +12 -0
  458. package/dist/country.js.map +1 -0
  459. package/dist/currency.js +6 -0
  460. package/dist/currency.js.map +1 -0
  461. package/dist/dashboard-template.js +6 -0
  462. package/dist/dashboard-template.js.map +1 -0
  463. package/dist/dashed-underline.js +5 -0
  464. package/dist/dashed-underline.js.map +1 -0
  465. package/dist/data-grid-template.js +5 -0
  466. package/dist/data-grid-template.js.map +1 -0
  467. package/dist/data-grid.js +13 -0
  468. package/dist/data-grid.js.map +1 -0
  469. package/dist/date-picker.js +10 -0
  470. package/dist/date-picker.js.map +1 -0
  471. package/dist/date-range-picker.js +10 -0
  472. package/dist/date-range-picker.js.map +1 -0
  473. package/dist/date.js +6 -0
  474. package/dist/date.js.map +1 -0
  475. package/dist/divider.js +5 -0
  476. package/dist/divider.js.map +1 -0
  477. package/dist/dropdown.js +16 -0
  478. package/dist/dropdown.js.map +1 -0
  479. package/dist/empty-state.js +8 -0
  480. package/dist/empty-state.js.map +1 -0
  481. package/dist/file-uploader.js +5 -0
  482. package/dist/file-uploader.js.map +1 -0
  483. package/dist/filter-bar.js +9 -0
  484. package/dist/filter-bar.js.map +1 -0
  485. package/dist/focus-trap.js +5 -0
  486. package/dist/focus-trap.js.map +1 -0
  487. package/dist/fonts/fonts.css +2 -0
  488. package/dist/form-layout.js +8 -0
  489. package/dist/form-layout.js.map +1 -0
  490. package/dist/header-with-views.js +5 -0
  491. package/dist/header-with-views.js.map +1 -0
  492. package/dist/header.js +5 -0
  493. package/dist/header.js.map +1 -0
  494. package/dist/image.js +7 -0
  495. package/dist/image.js.map +1 -0
  496. package/dist/index.js +439 -0
  497. package/dist/index.js.map +1 -0
  498. package/dist/info-icon.js +5 -0
  499. package/dist/info-icon.js.map +1 -0
  500. package/dist/input-field-password.js +10 -0
  501. package/dist/input-field-password.js.map +1 -0
  502. package/dist/input-field-phone-number.js +6 -0
  503. package/dist/input-field-phone-number.js.map +1 -0
  504. package/dist/input-field.js +10 -0
  505. package/dist/input-field.js.map +1 -0
  506. package/dist/inspector.js +7 -0
  507. package/dist/inspector.js.map +1 -0
  508. package/dist/internal.js +45 -0
  509. package/dist/internal.js.map +1 -0
  510. package/dist/layout.js +6 -0
  511. package/dist/layout.js.map +1 -0
  512. package/dist/link.js +6 -0
  513. package/dist/link.js.map +1 -0
  514. package/dist/loading-indicator.js +6 -0
  515. package/dist/loading-indicator.js.map +1 -0
  516. package/dist/menu.js +6 -0
  517. package/dist/menu.js.map +1 -0
  518. package/dist/modal-fullscreen.js +6 -0
  519. package/dist/modal-fullscreen.js.map +1 -0
  520. package/dist/modal.js +14 -0
  521. package/dist/modal.js.map +1 -0
  522. package/dist/pagination.js +5 -0
  523. package/dist/pagination.js.map +1 -0
  524. package/dist/payment-method.js +7 -0
  525. package/dist/payment-method.js.map +1 -0
  526. package/dist/popover.js +7 -0
  527. package/dist/popover.js.map +1 -0
  528. package/dist/popper-container.js +9 -0
  529. package/dist/popper-container.js.map +1 -0
  530. package/dist/promo-banner.js +7 -0
  531. package/dist/promo-banner.js.map +1 -0
  532. package/dist/radio-group.js +9 -0
  533. package/dist/radio-group.js.map +1 -0
  534. package/dist/rich-text-editor.js +5 -0
  535. package/dist/rich-text-editor.js.map +1 -0
  536. package/dist/search-bar.js +9 -0
  537. package/dist/search-bar.js.map +1 -0
  538. package/dist/secondary-nav.js +5 -0
  539. package/dist/secondary-nav.js.map +1 -0
  540. package/dist/segmented-control.js +7 -0
  541. package/dist/segmented-control.js.map +1 -0
  542. package/dist/selection-card.js +7 -0
  543. package/dist/selection-card.js.map +1 -0
  544. package/dist/sidepanel.js +7 -0
  545. package/dist/sidepanel.js.map +1 -0
  546. package/dist/status.js +6 -0
  547. package/dist/status.js.map +1 -0
  548. package/dist/stepper.js +8 -0
  549. package/dist/stepper.js.map +1 -0
  550. package/dist/structured-list.js +6 -0
  551. package/dist/structured-list.js.map +1 -0
  552. package/dist/styles/bento-dark.css +2133 -0
  553. package/dist/styles/bento-light.css +2132 -0
  554. package/dist/styles/bento.css +2132 -0
  555. package/dist/styles/legacy.css +2132 -0
  556. package/dist/styles/styleguide.css +2187 -0
  557. package/dist/styles/utility.css +1002 -0
  558. package/dist/summary-grid.js +12 -0
  559. package/dist/summary-grid.js.map +1 -0
  560. package/dist/tabs.js +6 -0
  561. package/dist/tabs.js.map +1 -0
  562. package/dist/tag.js +6 -0
  563. package/dist/tag.js.map +1 -0
  564. package/dist/textarea.js +5 -0
  565. package/dist/textarea.js.map +1 -0
  566. package/dist/timeline.js +10 -0
  567. package/dist/timeline.js.map +1 -0
  568. package/dist/toast.js +5 -0
  569. package/dist/toast.js.map +1 -0
  570. package/dist/toggle.js +7 -0
  571. package/dist/toggle.js.map +1 -0
  572. package/dist/tutorial.js +5 -0
  573. package/dist/tutorial.js.map +1 -0
  574. package/dist/typography.js +8 -0
  575. package/dist/typography.js.map +1 -0
  576. package/dist/use-form-v4.js +8300 -0
  577. package/dist/use-form-v4.js.map +1 -0
  578. package/dist/web-types.json +49 -0
  579. package/package.json +13 -12
@@ -0,0 +1,1367 @@
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.DhcxX2GJ.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";
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.yBEME_Gu.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";
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.BSLpAs8A.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";
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 || {});
26
+ const Ie = {
27
+ "en-US": {
28
+ failed: "Failed",
29
+ succeded: "Succeded"
30
+ },
31
+ "ja-JP": {
32
+ failed: "失敗しました"
33
+ },
34
+ "pt-BR": {
35
+ failed: "Falha"
36
+ }
37
+ }, ze = {
38
+ class: "b-loading-button__icon",
39
+ "data-testid": "loading-button-rotating-icon"
40
+ }, Ze = {
41
+ i18n: { messages: Ie }
42
+ }, Qe = /* @__PURE__ */ M({
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: A.START,
81
+ validator: (e) => Object.values(A).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: 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
101
+ ), 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);
105
+ };
106
+ return (r, n) => (u(), g(L, {
107
+ critical: a.value,
108
+ variant: e.variant,
109
+ condensed: e.condensed,
110
+ disabled: e.disabled,
111
+ inverse: e.inverse,
112
+ class: U(["b-loading-button", f.value]),
113
+ onClickCapture: z(i, ["stop"])
114
+ }, G({
115
+ default: b(() => [
116
+ D(r.$slots, "default", {}, void 0, !0)
117
+ ]),
118
+ _: 2
119
+ }, [
120
+ e.state === "start" && p(m)("iconLeft") ? {
121
+ name: "iconLeft",
122
+ fn: b(() => [
123
+ D(r.$slots, "iconLeft", {}, void 0, !0)
124
+ ]),
125
+ key: "0"
126
+ } : e.state !== "start" ? {
127
+ name: "iconLeft",
128
+ fn: b(() => [
129
+ V("span", ze, [
130
+ e.state === "fail" ? (u(), g(p(Ne), {
131
+ key: 0,
132
+ "svg-title": p(l)("failed")
133
+ }, null, 8, ["svg-title"])) : e.state === "success" ? (u(), g(p(Re), {
134
+ key: 1,
135
+ "svg-title": p(l)("succeded")
136
+ }, null, 8, ["svg-title"])) : e.state === "loading" ? (u(), g(p(we), {
137
+ key: 2,
138
+ small: "",
139
+ inverse: c.value
140
+ }, null, 8, ["inverse"])) : B("", !0)
141
+ ])
142
+ ]),
143
+ key: "1"
144
+ } : void 0
145
+ ]), 1032, ["critical", "variant", "condensed", "disabled", "inverse", "class"]));
146
+ }
147
+ }), xe = /* @__PURE__ */ w(Qe, [["__scopeId", "data-v-e68a786b"]]), et = {}, tt = /* @__PURE__ */ M({
148
+ ...et,
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: t }) {
191
+ const o = e, s = t, d = _(
192
+ () => o.variant === "tertiary" ? "tertiary-with-background" : o.variant
193
+ ), 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, {
201
+ "aria-expanded": `${e.toggled}`,
202
+ "aria-pressed": `${e.toggled}`,
203
+ condensed: e.condensed,
204
+ class: m.value,
205
+ disabled: e.disabled,
206
+ inverse: e.inverse,
207
+ variant: d.value,
208
+ onClickCapture: z(l, ["stop"])
209
+ }), G({ _: 2 }, [
210
+ x(p(f), (r, n) => ({
211
+ name: n,
212
+ fn: b(() => [
213
+ D(a.$slots, n, Be($e(c(n))), void 0, !0)
214
+ ])
215
+ }))
216
+ ]), 1040, ["aria-expanded", "aria-pressed", "condensed", "class", "disabled", "inverse", "variant"]));
217
+ }
218
+ }), nt = /* @__PURE__ */ w(tt, [["__scopeId", "data-v-f1b10e5f"]]), ot = M({
219
+ name: "bento-popover-dismiss-button",
220
+ components: { BentoButton: L, CrossIcon: De },
221
+ props: {
222
+ onImage: {
223
+ type: Boolean,
224
+ default: !1
225
+ }
226
+ },
227
+ setup(e) {
228
+ return {
229
+ // Values
230
+ conditionalClass: _(() => ({ "b-popover-dismiss-button--on-image": e.onImage }))
231
+ };
232
+ }
233
+ });
234
+ function st(e, t, o, s, d, m) {
235
+ const l = T("cross-icon"), f = T("bento-button");
236
+ return u(), g(f, {
237
+ class: U(e.conditionalClass),
238
+ variant: "tertiary",
239
+ onClick: t[0] || (t[0] = (c) => e.$emit("click"))
240
+ }, {
241
+ iconLeft: b(() => [
242
+ E(l, { "svg-title": "dismiss" })
243
+ ]),
244
+ _: 1
245
+ }, 8, ["class"]);
246
+ }
247
+ const ce = /* @__PURE__ */ w(ot, [["render", st], ["__scopeId", "data-v-424ecdaa"]]), it = M({
248
+ components: { BentoTypography: _e },
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 t = _(() => !e.isImageTitle), o = _(
261
+ () => e.isImageTitle ? re.SUBTITLE : re.BODY
262
+ );
263
+ return {
264
+ // Values
265
+ isStrongest: t,
266
+ titleVariant: o
267
+ };
268
+ }
269
+ });
270
+ function at(e, t, o, s, d, m) {
271
+ const l = T("bento-typography");
272
+ return u(), g(l, {
273
+ strongest: e.isStrongest,
274
+ variant: e.titleVariant,
275
+ el: "span"
276
+ }, {
277
+ default: b(() => [
278
+ H(j(e.title), 1)
279
+ ]),
280
+ _: 1
281
+ }, 8, ["strongest", "variant"]);
282
+ }
283
+ const lt = /* @__PURE__ */ w(it, [["render", at]]), rt = (e, t, o = {}) => {
284
+ let s;
285
+ ee(() => {
286
+ s = Ve(e, t, o);
287
+ }), pe(() => {
288
+ s && (s(), s = null);
289
+ });
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 = {
291
+ key: 0,
292
+ class: "b-popover__image"
293
+ }, mt = {
294
+ key: 0,
295
+ class: "b-popover__image-dismiss-button"
296
+ }, pt = {
297
+ key: 1,
298
+ class: "b-popover__header"
299
+ }, vt = { class: "b-popover__header-title" }, bt = { key: 0 }, ht = {
300
+ key: 3,
301
+ class: "b-popover__footer"
302
+ }, yt = {}, gt = /* @__PURE__ */ M({
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: t }) {
329
+ const s = e, d = t, m = Q(), l = Ee(), f = _(() => {
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 : Fe.POPOVER
334
+ };
335
+ }), c = K(ct, 2), a = v(l["aria-label"]), { ariaLabel: i, title: r } = Se(s), n = Ue({
336
+ ariaLabel: a.value,
337
+ // TODO: take this line away when the aria-label props is removed
338
+ 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
347
+ })), $ = _(() => ({
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" }, {
351
+ default: b(() => [
352
+ y.open ? (u(), g(p(We), {
353
+ key: 0,
354
+ id: f.value.id,
355
+ "aria-role": f.value.role,
356
+ "aria-label": p(n),
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: U([C.value, "b-popover"]),
362
+ "fallback-position": y.fallbackPosition,
363
+ "fixed-positioning": y.fixedPositioning,
364
+ offset: [0, p(c)],
365
+ position: y.position,
366
+ "target-element": y.targetElement,
367
+ onPlacement: F[0] || (F[0] = (J) => y.$emit("placement", J))
368
+ }, {
369
+ default: b(() => [
370
+ p(P)("image") ? (u(), k("div", ft, [
371
+ y.dismissible ? (u(), k("div", mt, [
372
+ E(ce, {
373
+ "on-image": "",
374
+ onClick: R
375
+ })
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")
385
+ }, null, 8, ["title", "is-image-title"])
386
+ ]),
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", {
392
+ key: 2,
393
+ class: U(["b-popover__content", $.value])
394
+ }, [
395
+ D(y.$slots, "default", {}, void 0, !0)
396
+ ], 2)) : B("", !0),
397
+ y.actions ? (u(), k("div", ht, [
398
+ E(xt, {
399
+ actions: y.actions,
400
+ layout: y.actionsLayout
401
+ }, null, 8, ["actions", "layout"])
402
+ ])) : B("", !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"])) : B("", !0)
406
+ ]),
407
+ _: 3
408
+ }));
409
+ }
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({
411
+ name: "teleport",
412
+ props: {
413
+ to: {
414
+ type: String,
415
+ default: ""
416
+ },
417
+ where: {
418
+ type: String,
419
+ default: "after"
420
+ },
421
+ disabled: Boolean
422
+ },
423
+ data: () => ({
424
+ childObserver: null,
425
+ nodes: [],
426
+ waiting: !1,
427
+ observer: null,
428
+ parent: null,
429
+ isVue2: Ce
430
+ }),
431
+ computed: {
432
+ classes() {
433
+ return this.disabled ? ["b-teleport"] : ["b-teleport", "b-teleport--hidden"];
434
+ },
435
+ defaultTo() {
436
+ if (this.to)
437
+ return this.to;
438
+ const e = K(Ct, "") || K(kt, "") || K(It, "");
439
+ return e ? `#${e}` : "body";
440
+ }
441
+ },
442
+ watch: {
443
+ to: "maybeMove",
444
+ where: "maybeMove",
445
+ disabled(e) {
446
+ e ? (this.disable(), this.$nextTick(() => {
447
+ this.teardownObserver();
448
+ })) : (this.bootObserver(), this.move());
449
+ }
450
+ },
451
+ mounted() {
452
+ this.nodes = Array.from(this.$el.childNodes), this.disabled || this.bootObserver(), this.maybeMove();
453
+ },
454
+ beforeDestroy() {
455
+ this.nodes = this.getComponentChildrenNode(), this.disable(), this.teardownObserver();
456
+ },
457
+ methods: {
458
+ // Using a fragment is faster because it'll trigger only a single reflow
459
+ // See https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment
460
+ getFragment() {
461
+ const e = document.createDocumentFragment();
462
+ return this.nodes.forEach((t) => e.appendChild(t)), e;
463
+ },
464
+ disable() {
465
+ this.$el.appendChild(this.getFragment()), this.parent = null;
466
+ },
467
+ move() {
468
+ if (this.waiting = !1, this.parent = document.querySelector(this.defaultTo), !this.parent) {
469
+ this.disable(), this.waiting = !0;
470
+ return;
471
+ }
472
+ this.where === "before" ? this.parent.prepend(this.getFragment()) : this.parent.appendChild(this.getFragment());
473
+ },
474
+ maybeMove() {
475
+ this.disabled || this.move();
476
+ },
477
+ onMutations(e) {
478
+ let t = !1;
479
+ for (let o = 0; o < e.length; o++) {
480
+ const s = e[o], d = Array.from(s.addedNodes).filter(
481
+ (m) => !this.nodes.includes(m)
482
+ );
483
+ Array.from(s.removedNodes).includes(this.parent) ? (this.disable(), this.waiting = !this.disabled) : this.waiting && d.length > 0 && (t = !0);
484
+ }
485
+ t && this.move();
486
+ },
487
+ bootObserver() {
488
+ this.observer || (this.observer = new MutationObserver((e) => this.onMutations(e)), this.observer.observe(document.body, {
489
+ childList: !0,
490
+ subtree: !0,
491
+ attributes: !1,
492
+ characterData: !1
493
+ }), !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());
495
+ }), this.childObserver.observe(this.$el, {
496
+ childList: !0,
497
+ subtree: !1,
498
+ attributes: !1,
499
+ characterData: !1
500
+ })));
501
+ },
502
+ teardownObserver() {
503
+ this.observer && (this.observer.disconnect(), this.observer = null), this.childObserver && (this.childObserver.disconnect(), this.childObserver = null);
504
+ },
505
+ getComponentChildrenNode() {
506
+ return [];
507
+ }
508
+ }
509
+ }), Bt = /* @__PURE__ */ M({
510
+ ...Ot,
511
+ setup(e) {
512
+ return (t, o) => p(Ce) ? (u(), k("div", {
513
+ key: 0,
514
+ class: U(t.classes)
515
+ }, [
516
+ D(t.$slots, "default", {}, void 0, !0)
517
+ ], 2)) : (u(), g(Le, {
518
+ key: 1,
519
+ to: t.defaultTo,
520
+ where: t.where,
521
+ disabled: t.disabled,
522
+ class: U(t.classes)
523
+ }, [
524
+ D(t.$slots, "default", {}, void 0, !0)
525
+ ], 8, ["to", "where", "disabled", "class"]));
526
+ }
527
+ }), $t = /* @__PURE__ */ w(Bt, [["__scopeId", "data-v-acbda3aa"]]);
528
+ let fe = 0;
529
+ const Et = {
530
+ beforeCreate() {
531
+ this.uuid = fe.toString(), fe += 1;
532
+ }
533
+ }, St = { key: 0 };
534
+ function Lt(e, t, o, s, d, m) {
535
+ return u(), k("svg", Y({ role: "img" }, e.$attrs, {
536
+ class: "ui-assets-icons-16",
537
+ xmlns: "http://www.w3.org/2000/svg",
538
+ width: "16",
539
+ height: "16",
540
+ fill: "none"
541
+ }), [
542
+ e.$attrs["svg-title"] ? (u(), k("title", St, j(e.$attrs["svg-title"]), 1)) : B("", !0),
543
+ t[0] || (t[0] = V("path", {
544
+ fill: "#001222",
545
+ 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"
546
+ }, null, -1)),
547
+ t[1] || (t[1] = V("path", {
548
+ fill: "#001222",
549
+ 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"
550
+ }, null, -1)),
551
+ t[2] || (t[2] = V("path", {
552
+ fill: "#001222",
553
+ 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"
554
+ }, null, -1))
555
+ ], 16);
556
+ }
557
+ const Tt = /* @__PURE__ */ w(Et, [["render", Lt]]), Mt = M({
558
+ name: "menu-item",
559
+ components: { BaseButton: Ye, BentoTypography: _e, ChevronRightIcon: He },
560
+ props: {
561
+ /**
562
+ * menu-item text that gets displayed as the main label
563
+ */
564
+ text: {
565
+ type: String,
566
+ required: !0
567
+ },
568
+ /**
569
+ * menu-item action that gets executed when the MeniItem is clicked
570
+ */
571
+ handler: {
572
+ type: Function,
573
+ required: !0
574
+ },
575
+ /**
576
+ * menu-item text that gets displayed as the secondary label
577
+ */
578
+ secondaryText: {
579
+ type: String,
580
+ default: null
581
+ },
582
+ /**
583
+ * Optional chevron icon displayed to the right of the menu-item
584
+ */
585
+ chevron: {
586
+ type: Boolean,
587
+ default: !1
588
+ },
589
+ /**
590
+ * Optional icon displayed to the left of the menu-item
591
+ */
592
+ icon: {
593
+ // Types for Vue2 (Object) and Vue3 (Function)
594
+ // TODO: Remove Object when fully migrated to Vue3
595
+ type: [Object, Function],
596
+ default: null
597
+ },
598
+ /**
599
+ * Disables menu-item button functionality
600
+ */
601
+ disabled: {
602
+ type: Boolean,
603
+ default: !1
604
+ },
605
+ /**
606
+ * Displays an indent variant od the menu-item
607
+ */
608
+ indent: {
609
+ type: Boolean,
610
+ default: !1
611
+ },
612
+ /**
613
+ * Displays menu-item button as critical
614
+ */
615
+ critical: {
616
+ type: Boolean,
617
+ default: !1
618
+ },
619
+ /**
620
+ * Renders the text in a bold variant
621
+ */
622
+ isTitle: {
623
+ type: Boolean,
624
+ default: !1
625
+ }
626
+ },
627
+ emits: [de.CLICK],
628
+ setup(e, { emit: t }) {
629
+ const s = _(() => ({
630
+ "b-menu-item--critical": e.critical,
631
+ "b-menu-item--indent": e.indent
632
+ })), d = _(() => Je(e.secondaryText, 10));
633
+ return {
634
+ // Values
635
+ conditionalClasses: s,
636
+ computedSecondaryText: d,
637
+ // Methods
638
+ onClick: (l) => {
639
+ l.stopPropagation(), e.handler(), t(de.CLICK);
640
+ }
641
+ };
642
+ }
643
+ });
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, {
647
+ class: U(["b-menu-item", e.conditionalClasses]),
648
+ role: "menuitem",
649
+ disabled: e.disabled,
650
+ tabindex: "-1",
651
+ onClick: e.onClick
652
+ }, G({
653
+ default: b(() => [
654
+ E(l, {
655
+ el: "span",
656
+ variant: "body",
657
+ stronger: e.isTitle,
658
+ class: "b-menu-item__primary-text"
659
+ }, {
660
+ default: b(() => [
661
+ H(j(e.text), 1)
662
+ ]),
663
+ _: 1
664
+ }, 8, ["stronger"]),
665
+ e.computedSecondaryText ? (u(), g(l, {
666
+ key: 0,
667
+ el: "span",
668
+ variant: "body",
669
+ class: "b-menu-item__secondary-text"
670
+ }, {
671
+ default: b(() => [
672
+ H(j(e.computedSecondaryText), 1)
673
+ ]),
674
+ _: 1
675
+ })) : B("", !0)
676
+ ]),
677
+ _: 2
678
+ }, [
679
+ e.icon ? {
680
+ name: "iconLeft",
681
+ fn: b(() => [
682
+ (u(), g(X(e.icon), {
683
+ class: "b-menu-item__icon-left",
684
+ "aria-hidden": "true"
685
+ }))
686
+ ]),
687
+ key: "0"
688
+ } : void 0,
689
+ e.chevron ? {
690
+ name: "iconRight",
691
+ fn: b(() => [
692
+ E(f, { "aria-hidden": "true" })
693
+ ]),
694
+ key: "1"
695
+ } : void 0
696
+ ]), 1032, ["class", "disabled", "onClick"]);
697
+ }
698
+ const ke = /* @__PURE__ */ w(Mt, [["render", wt], ["__scopeId", "data-v-9dace5ac"]]);
699
+ ({ ...Ke });
700
+ 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 = {
702
+ name: "bento-menu-list-container"
703
+ }, At = /* @__PURE__ */ M({
704
+ ...Rt,
705
+ 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
711
+ };
712
+ }
713
+ return (d, m) => (u(), k("div", Y({
714
+ ref_key: "menuListContainerRef",
715
+ ref: t,
716
+ class: "b-menu-list-container",
717
+ "data-testid": "menu-list-container"
718
+ }, ie(o.value, !0)), [
719
+ D(d.$slots, "default", {}, void 0, !0)
720
+ ], 16));
721
+ }
722
+ }), Oe = /* @__PURE__ */ w(At, [["__scopeId", "data-v-9ef14d73"]]), le = {
723
+ "en-US": {
724
+ backButton: "Go back",
725
+ menuButton: "Open menu"
726
+ }
727
+ }, Dt = M({
728
+ i18n: { messages: le },
729
+ name: "sub-menu-item-list",
730
+ components: { BentoDivider: ge, MenuItem: ke, MenuListContainer: Oe },
731
+ props: {
732
+ items: {
733
+ type: Array,
734
+ required: !0
735
+ },
736
+ title: {
737
+ type: String,
738
+ required: !0
739
+ }
740
+ },
741
+ emits: [W.CLOSE, W.BACK],
742
+ 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 = _(() => {
744
+ var n;
745
+ const r = (n = e.items) == null ? void 0 : n.map((h) => ({
746
+ ...h,
747
+ indent: !h.icon,
748
+ isTitle: !1,
749
+ clickHandler: m
750
+ }));
751
+ return [
752
+ {
753
+ text: e.title,
754
+ secondaryText: null,
755
+ critical: !1,
756
+ icon: ue,
757
+ isTitle: !0,
758
+ disabled: !1,
759
+ indent: !1,
760
+ handler: l,
761
+ clickHandler: l,
762
+ addDivider: !0
763
+ },
764
+ ...r
765
+ ];
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();
769
+ };
770
+ ee(async () => {
771
+ setTimeout(() => c(), 150);
772
+ });
773
+ const a = () => {
774
+ s.value > 0 ? (s.value -= 1, f.value[s.value].disabled && a()) : s.value = d.value, c();
775
+ }, i = () => {
776
+ s.value < d.value ? (s.value += 1, f.value[s.value].disabled && i()) : s.value = 0, c();
777
+ };
778
+ return {
779
+ // Enums
780
+ BentoMenuEvent: W,
781
+ // Values
782
+ subMenuItemListRefLocal: o,
783
+ subMenuFocusedIndex: s,
784
+ ChevronLeftIcon: ue,
785
+ computedItems: f,
786
+ // Methods
787
+ closeMenu: m,
788
+ onBackButton: l,
789
+ focusPrevious: a,
790
+ focusNext: i
791
+ };
792
+ }
793
+ });
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, {
797
+ name: "b-sub-menu-item-list__transition",
798
+ appear: ""
799
+ }, {
800
+ default: b(() => [
801
+ E(c, { class: "b-sub-menu-item-list" }, {
802
+ default: b(() => [
803
+ V("ul", {
804
+ ref: "subMenuItemListRefLocal",
805
+ role: "menu",
806
+ class: "b-sub-menu-item-list__list",
807
+ 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"]))
811
+ ]
812
+ }, [
813
+ (u(!0), k(Z, null, x(e.computedItems, (a, i) => (u(), k("li", {
814
+ key: `sub-menu-item-list-item-${i}`,
815
+ role: "none"
816
+ }, [
817
+ E(l, {
818
+ text: a.text,
819
+ handler: a.handler,
820
+ "secondary-text": a.secondaryText,
821
+ icon: a.icon,
822
+ "is-title": a.isTitle,
823
+ disabled: a.disabled,
824
+ critical: a.critical,
825
+ indent: a.indent,
826
+ tabindex: i === e.subMenuFocusedIndex ? "0" : "-1",
827
+ onClick: a.clickHandler
828
+ }, null, 8, ["text", "handler", "secondary-text", "icon", "is-title", "disabled", "critical", "indent", "tabindex", "onClick"]),
829
+ a.addDivider ? (u(), g(f, {
830
+ key: 0,
831
+ class: "b-sub-menu-item-list__divider"
832
+ })) : B("", !0)
833
+ ]))), 128))
834
+ ], 544)
835
+ ]),
836
+ _: 1
837
+ })
838
+ ]),
839
+ _: 1
840
+ });
841
+ }
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) => {
845
+ if (!a || !a.parentElement)
846
+ 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;
853
+ };
854
+ return be([t, o], async ([a]) => {
855
+ var i, r;
856
+ if (a !== null) {
857
+ await te();
858
+ const n = (r = (i = e.value) == null ? void 0 : i[0]) == null ? void 0 : r.$el;
859
+ n && f(n);
860
+ } 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;
865
+ }) };
866
+ }
867
+ const Kt = M({
868
+ name: "menu-item-list",
869
+ components: { BentoDivider: ge, MenuItem: ke, MenuListContainer: Oe, SubMenuItemList: Ft },
870
+ props: {
871
+ /**
872
+ * The data to be displayed in the list
873
+ */
874
+ data: {
875
+ type: Array,
876
+ required: !0
877
+ },
878
+ /**
879
+ * Displays the menu-items of the list in the indent variant. Only applies to elements that don't have an icon to their left.
880
+ */
881
+ indentItems: {
882
+ type: Boolean,
883
+ default: !1
884
+ },
885
+ /**
886
+ * 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.
887
+ */
888
+ focusLastElement: {
889
+ type: Boolean,
890
+ default: !1
891
+ },
892
+ /**
893
+ * If set to true, closes the menu when an item is clicked.
894
+ */
895
+ closeMenuOnItemSelect: {
896
+ type: Boolean,
897
+ default: !0
898
+ }
899
+ },
900
+ 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
907
+ };
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;
914
+ return;
915
+ }
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();
919
+ }, 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);
924
+ }, J = () => {
925
+ c.value && f.value && (c.value = null, f.value = !1);
926
+ }, ne = () => {
927
+ f.value = !1, c.value = null, C();
928
+ };
929
+ o({
930
+ focusItem: C
931
+ });
932
+ const { computedStyle: oe } = Wt(l, c, f);
933
+ return {
934
+ // Values
935
+ menuItemListRef: d,
936
+ menuItemListWrapperRef: m,
937
+ subMenuItemListRef: l,
938
+ menuItemRef: s,
939
+ computedData: h,
940
+ computedStyle: oe,
941
+ focusedIndex: a,
942
+ subMenuFocusedIndex: i,
943
+ showSubMenu: f,
944
+ visibleSubMenuIndex: c,
945
+ // Methods
946
+ menuItemClick: R,
947
+ closeMenu: $,
948
+ focusPrevious: P,
949
+ focusNext: y,
950
+ focusRight: F,
951
+ focusLeft: J,
952
+ onBackButton: ne
953
+ };
954
+ }
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, {
959
+ ref: "menuItemListWrapperRef",
960
+ style: he(e.computedStyle)
961
+ }, {
962
+ default: b(() => [
963
+ V("ul", {
964
+ ref: "menuItemListRef",
965
+ class: "b-menu-item-list",
966
+ role: "menu",
967
+ onKeydown: [
968
+ t[1] || (t[1] = N((...i) => e.focusNext && e.focusNext(...i), ["down"])),
969
+ t[2] || (t[2] = N((...i) => e.focusPrevious && e.focusPrevious(...i), ["up"])),
970
+ t[3] || (t[3] = N((...i) => e.closeMenu && e.closeMenu(...i), ["esc"])),
971
+ t[4] || (t[4] = N((...i) => e.closeMenu && e.closeMenu(...i), ["tab"]))
972
+ ]
973
+ }, [
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}`,
978
+ ref_for: !0,
979
+ ref: "menuItemRef",
980
+ class: "b-menu-item-list__item",
981
+ role: "none",
982
+ onKeydown: [
983
+ N((R) => e.focusRight(i, r), ["right"]),
984
+ t[0] || (t[0] = N((R) => e.focusLeft(), ["left"]))
985
+ ]
986
+ }, [
987
+ E(l, {
988
+ text: i.text,
989
+ handler: (n = i.items) != null && n.length ? () => null : i.handler,
990
+ "secondary-text": i.secondaryText,
991
+ icon: i.icon,
992
+ chevron: !!((h = i.items) != null && h.length),
993
+ disabled: i.disabled,
994
+ critical: i.critical,
995
+ 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)
1000
+ }, null, 8, ["text", "handler", "secondary-text", "icon", "chevron", "disabled", "critical", "indent", "tabindex", "aria-haspopup", "aria-expanded", "onClick"]),
1001
+ i.addDivider ? (u(), g(f, {
1002
+ key: 0,
1003
+ class: "b-menu-item-list__divider"
1004
+ })) : B("", !0),
1005
+ ($ = i.items) != null && $.length && e.showSubMenu && e.visibleSubMenuIndex === r ? (u(), g(c, {
1006
+ key: 1,
1007
+ ref_for: !0,
1008
+ ref: "subMenuItemListRef",
1009
+ items: i.items,
1010
+ title: i.text,
1011
+ onBack: e.onBackButton,
1012
+ onClose: e.closeMenu
1013
+ }, null, 8, ["items", "title", "onBack", "onClose"])) : B("", !0)
1014
+ ], 40, Ut);
1015
+ }), 128))
1016
+ ], 544)
1017
+ ]),
1018
+ _: 1
1019
+ }, 8, ["style"]);
1020
+ }
1021
+ const Gt = /* @__PURE__ */ w(Kt, [["render", Vt], ["__scopeId", "data-v-968b28cb"]]), jt = /* @__PURE__ */ Symbol("menu inverse style injection key"), Ht = {
1022
+ i18n: { messages: le },
1023
+ name: "bento-menu"
1024
+ }, Yt = /* @__PURE__ */ M({
1025
+ ...Ht,
1026
+ props: {
1027
+ button: { default: () => ({
1028
+ variant: "secondary"
1029
+ }) },
1030
+ closeMenuOnItemSelect: { type: Boolean, default: !0 },
1031
+ data: {},
1032
+ disableArrowDownOpeningMenu: { type: Boolean, default: !1 },
1033
+ menuPosition: { default: "bottom-start" },
1034
+ menuFixedPositioning: { type: Boolean, default: !1 },
1035
+ menuWidth: { default: null },
1036
+ revertFocusToButton: { type: Boolean, default: !0 },
1037
+ teleport: { type: Boolean, default: !1 },
1038
+ closeOnClickOutsideOptions: { default: void 0 }
1039
+ },
1040
+ 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);
1045
+ const $ = _(() => ({
1046
+ "b-menu--inverse": C.value
1047
+ })), R = _(() => s.menuWidth ? { width: `${s.menuWidth}px` } : null), P = _(() => {
1048
+ if (s != null && s.button)
1049
+ return {
1050
+ variant: "secondary",
1051
+ ...s.button
1052
+ };
1053
+ }), y = () => {
1054
+ i.value = !0, d(W.OPEN);
1055
+ }, F = async (I = s.revertFocusToButton) => {
1056
+ 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 = () => {
1065
+ d("menu-item-click");
1066
+ };
1067
+ return rt(
1068
+ n,
1069
+ () => {
1070
+ F(), d("click-outside");
1071
+ },
1072
+ {
1073
+ ...s.closeOnClickOutsideOptions,
1074
+ ignore: [c, ...((S = s.closeOnClickOutsideOptions) == null ? void 0 : S.ignore) ?? []]
1075
+ }
1076
+ ), t({
1077
+ /**
1078
+ * Control to enable programmatic closing of the menu
1079
+ */
1080
+ closeMenu: F
1081
+ }), ee(() => {
1082
+ l("iconRight") && Pe(
1083
+ '"bento-menu" no longer supports the "iconRight" slot. The right-aligned icon is now fixed by design.'
1084
+ );
1085
+ }), (I, q) => (u(), k("div", {
1086
+ class: U([$.value, "b-menu"]),
1087
+ "data-testid": "menu",
1088
+ onKeydown: [
1089
+ N(ne, ["down"]),
1090
+ N(oe, ["up"]),
1091
+ q[0] || (q[0] = N((se) => F(), ["esc"]))
1092
+ ]
1093
+ }, [
1094
+ E(nt, Y({
1095
+ ref_key: "menuButtonRef",
1096
+ ref: c,
1097
+ class: "b-menu__toggle-button",
1098
+ "aria-haspopup": "true"
1099
+ }, P.value, {
1100
+ "aria-controls": i.value ? p(h) : null,
1101
+ toggled: i.value,
1102
+ inverse: p(C),
1103
+ onClick: J
1104
+ }), G({ _: 2 }, [
1105
+ !p(l)("default") || p(l)("iconLeft") ? {
1106
+ name: "iconLeft",
1107
+ fn: b(() => [
1108
+ D(I.$slots, "iconLeft", {}, () => [
1109
+ E(p(Tt), {
1110
+ title: p(f)("menuButton")
1111
+ }, null, 8, ["title"])
1112
+ ], !0)
1113
+ ]),
1114
+ key: "0"
1115
+ } : void 0,
1116
+ p(l)("default") ? {
1117
+ name: "default",
1118
+ fn: b(() => [
1119
+ D(I.$slots, "default", {}, void 0, !0)
1120
+ ]),
1121
+ key: "1"
1122
+ } : void 0,
1123
+ p(l)("default") ? {
1124
+ name: "iconRight",
1125
+ fn: b(() => [
1126
+ E(p(je))
1127
+ ]),
1128
+ key: "2"
1129
+ } : void 0
1130
+ ]), 1040, ["aria-controls", "toggled", "inverse"]),
1131
+ c.value ? (u(), g(p($t), {
1132
+ key: 0,
1133
+ disabled: !I.teleport
1134
+ }, {
1135
+ default: b(() => [
1136
+ c.value ? (u(), g(_t, {
1137
+ key: 0,
1138
+ id: p(h),
1139
+ ref_key: "popoverRef",
1140
+ ref: n,
1141
+ role: null,
1142
+ open: i.value,
1143
+ class: "b-menu__popover",
1144
+ style: he(R.value),
1145
+ "target-element": c.value,
1146
+ position: I.menuPosition,
1147
+ "fixed-positioning": I.menuFixedPositioning,
1148
+ "fallback-position": [
1149
+ "bottom-start",
1150
+ "bottom-end",
1151
+ "top-start",
1152
+ "top-end",
1153
+ "right-start",
1154
+ "right-end",
1155
+ "left-start",
1156
+ "left-end"
1157
+ ],
1158
+ teleport: I.teleport,
1159
+ "without-space": ""
1160
+ }, {
1161
+ default: b(() => [
1162
+ E(Gt, {
1163
+ ref_key: "menuItemListRef",
1164
+ ref: a,
1165
+ "close-menu-on-item-select": I.closeMenuOnItemSelect,
1166
+ data: I.data,
1167
+ "focus-last-element": r.value,
1168
+ onClose: F,
1169
+ onMenuItemClick: O
1170
+ }, null, 8, ["close-menu-on-item-select", "data", "focus-last-element"])
1171
+ ]),
1172
+ _: 1
1173
+ }, 8, ["id", "open", "style", "target-element", "position", "fixed-positioning", "teleport"])) : B("", !0)
1174
+ ]),
1175
+ _: 1
1176
+ }, 8, ["disabled"])) : B("", !0)
1177
+ ], 34));
1178
+ }
1179
+ }), Jt = /* @__PURE__ */ w(Yt, [["__scopeId", "data-v-4d921a39"]]), qt = /* @__PURE__ */ Symbol(
1180
+ "button actions with menu container injection key"
1181
+ ), Xt = 242, me = parseInt(Xe, 10), zt = (e, t, o) => {
1182
+ const s = v(0);
1183
+ let d = null;
1184
+ const { buttonActionsWithMenu: m, menu: l, stackButtons: f } = K(qt, {
1185
+ buttonActionsWithMenu: v(null),
1186
+ menu: v(null),
1187
+ 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,
1192
+ -me - 1
1193
+ ), h = c.value.clientWidth;
1194
+ return r && (s.value = h >= Xt && !f.value ? n : 0), s.value > h;
1195
+ };
1196
+ return be(
1197
+ () => o.value,
1198
+ () => {
1199
+ te(() => {
1200
+ f.value = i(!0);
1201
+ });
1202
+ },
1203
+ { deep: !0 }
1204
+ ), ee(() => {
1205
+ d = qe(c.value, () => {
1206
+ f.value = i(s.value === 0);
1207
+ });
1208
+ }), pe(() => {
1209
+ d == null || d.disconnect();
1210
+ }), f;
1211
+ }, Zt = {}, Qt = /* @__PURE__ */ M({
1212
+ ...Zt,
1213
+ __name: "button-actions",
1214
+ props: {
1215
+ actions: {},
1216
+ inverse: { type: Boolean, default: !1 },
1217
+ layout: { default: "buttons-end" }
1218
+ },
1219
+ 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 = _(() => ({
1224
+ [`b-button-actions--${t.layout}`]: !0,
1225
+ "b-button-actions--stacked-buttons": d.value
1226
+ })), c = (i) => (i == null ? void 0 : i.event) !== void 0 ? {
1227
+ click: i.event
1228
+ } : {}, a = (i) => i.iconOnly && (i.iconLeft || i.iconRight || i.icon);
1229
+ return (i, r) => (u(), k("div", {
1230
+ ref_key: "buttonActions",
1231
+ ref: o,
1232
+ class: "b-button-actions"
1233
+ }, [
1234
+ V("div", {
1235
+ class: U(["b-button-actions__container-wrapper", f.value]),
1236
+ role: "group"
1237
+ }, [
1238
+ (u(!0), k(Z, null, x(m.value, (n, h) => (u(), k("div", {
1239
+ key: h,
1240
+ ref_for: !0,
1241
+ ref_key: "buttons",
1242
+ ref: s,
1243
+ class: "b-button-actions__button-wrapper"
1244
+ }, [
1245
+ n.data ? (u(), g(Jt, {
1246
+ key: 0,
1247
+ ref_for: !0,
1248
+ ref: n.elementRef,
1249
+ data: n.data,
1250
+ "close-menu-on-item-select": n.closeMenuOnItemSelect,
1251
+ "close-on-click-outside-options": n.closeOnClickOutsideOptions,
1252
+ "disable-arrow-down-opening-menu": n.disableArrowDownOpeningMenu,
1253
+ "menu-position": n.menuPosition,
1254
+ "menu-fixed-positioning": n.menuFixedPositioning,
1255
+ "menu-width": n.menuWidth,
1256
+ "revert-focus-to-button": n.revertFocusToButton,
1257
+ teleport: n.teleport
1258
+ }, G({ _: 2 }, [
1259
+ n.icon || n.iconLeft ? {
1260
+ name: "iconLeft",
1261
+ fn: b(() => [
1262
+ (u(), g(X(n.icon || n.iconLeft), {
1263
+ "svg-title": n.title
1264
+ }, null, 8, ["svg-title"]))
1265
+ ]),
1266
+ key: "0"
1267
+ } : void 0,
1268
+ a(n) ? void 0 : {
1269
+ name: "default",
1270
+ fn: b(() => [
1271
+ H(j(n.title), 1)
1272
+ ]),
1273
+ key: "1"
1274
+ }
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({
1277
+ key: 0,
1278
+ ref_for: !0,
1279
+ ref: n.elementRef,
1280
+ condensed: n.condensed,
1281
+ critical: n.critical,
1282
+ disabled: n.disabled,
1283
+ inverse: i.inverse,
1284
+ state: n.state,
1285
+ variant: n.variant || l(h)
1286
+ }, ie(c(n))), G({ _: 2 }, [
1287
+ n.icon || n.iconLeft ? {
1288
+ name: "iconLeft",
1289
+ fn: b(() => [
1290
+ (u(), g(X(n.icon || n.iconLeft), {
1291
+ "svg-title": n.title
1292
+ }, null, 8, ["svg-title"]))
1293
+ ]),
1294
+ key: "0"
1295
+ } : void 0,
1296
+ a(n) ? void 0 : {
1297
+ name: "default",
1298
+ fn: b(() => [
1299
+ H(j(n.title), 1)
1300
+ ]),
1301
+ key: "1"
1302
+ }
1303
+ ]), 1040, ["condensed", "critical", "disabled", "inverse", "state", "variant"])) : (u(), g(L, Y({
1304
+ key: 1,
1305
+ ref_for: !0,
1306
+ ref: n.elementRef,
1307
+ condensed: n.condensed,
1308
+ critical: n.critical,
1309
+ disabled: n.disabled,
1310
+ inverse: i.inverse,
1311
+ link: n.link,
1312
+ variant: n.variant || l(h)
1313
+ }, ie(c(n))), G({ _: 2 }, [
1314
+ n.icon || n.iconLeft ? {
1315
+ name: "iconLeft",
1316
+ fn: b(() => [
1317
+ (u(), g(X(n.icon || n.iconLeft), {
1318
+ "svg-title": n.title
1319
+ }, null, 8, ["svg-title"]))
1320
+ ]),
1321
+ key: "0"
1322
+ } : void 0,
1323
+ a(n) ? void 0 : {
1324
+ name: "default",
1325
+ fn: b(() => [
1326
+ H(j(n.title), 1)
1327
+ ]),
1328
+ key: "1"
1329
+ },
1330
+ n.iconRight ? {
1331
+ name: "iconRight",
1332
+ fn: b(() => [
1333
+ (u(), g(X(n.iconRight), {
1334
+ "svg-title": n.title
1335
+ }, null, 8, ["svg-title"]))
1336
+ ]),
1337
+ key: "2"
1338
+ } : void 0
1339
+ ]), 1040, ["condensed", "critical", "disabled", "inverse", "link", "variant"]))
1340
+ ], 64))
1341
+ ]))), 128))
1342
+ ], 2)
1343
+ ], 512));
1344
+ }
1345
+ }), xt = /* @__PURE__ */ w(Qt, [["__scopeId", "data-v-1a12c479"]]);
1346
+ 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,
1360
+ W as g,
1361
+ _t as h,
1362
+ kt as i,
1363
+ Ct as j,
1364
+ dt as k,
1365
+ rt as u
1366
+ };
1367
+ //# sourceMappingURL=button-actions.CbEoQYUV.js.map