@adyen/bento-vue3 1.83.0 → 1.84.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (413) hide show
  1. package/dist/@types/index.d.ts +12481 -12319
  2. package/dist/action-bar.js +1 -1
  3. package/dist/alert.js +1 -1
  4. package/dist/assets/accordion-item.css +1 -1
  5. package/dist/assets/action-bar.css +1 -1
  6. package/dist/assets/ai-button.css +1 -1
  7. package/dist/assets/alert.css +1 -1
  8. package/dist/assets/avatar.css +1 -1
  9. package/dist/assets/base-modal.css +1 -1
  10. package/dist/assets/button-actions-with-menu.css +1 -1
  11. package/dist/assets/button-actions.css +1 -1
  12. package/dist/assets/button.css +1 -1
  13. package/dist/assets/calendar.css +1 -1
  14. package/dist/assets/card.css +1 -1
  15. package/dist/assets/checkbox-group.css +1 -1
  16. package/dist/assets/checkbox-input.css +1 -1
  17. package/dist/assets/checkbox.css +1 -1
  18. package/dist/assets/chip.css +1 -1
  19. package/dist/assets/code-snippet.css +1 -1
  20. package/dist/assets/controls-group.css +1 -1
  21. package/dist/assets/country.css +1 -1
  22. package/dist/assets/currency.css +1 -1
  23. package/dist/assets/dashboard-section.css +1 -1
  24. package/dist/assets/dashed-underline.css +1 -1
  25. package/dist/assets/data-grid-template.css +1 -1
  26. package/dist/assets/data-grid.css +1 -1
  27. package/dist/assets/date-picker.css +1 -1
  28. package/dist/assets/date-range-picker.css +1 -1
  29. package/dist/assets/date.css +1 -1
  30. package/dist/assets/dialog-page.css +1 -1
  31. package/dist/assets/divider.css +1 -1
  32. package/dist/assets/dropdown-default-textbox.css +1 -1
  33. package/dist/assets/dropdown-tag.css +1 -1
  34. package/dist/assets/dropdown.css +1 -1
  35. package/dist/assets/empty-state.css +1 -1
  36. package/dist/assets/field-label.css +1 -1
  37. package/dist/assets/file-uploader.css +1 -1
  38. package/dist/assets/filter-bar.css +1 -1
  39. package/dist/assets/fixed-scroller.css +1 -1
  40. package/dist/assets/footer-actions.css +1 -1
  41. package/dist/assets/form-layout-title.css +1 -1
  42. package/dist/assets/grid-layout.css +1 -1
  43. package/dist/assets/header-meta.css +1 -1
  44. package/dist/assets/header-with-views.css +1 -1
  45. package/dist/assets/header.css +1 -1
  46. package/dist/assets/index.css +1 -1
  47. package/dist/assets/info-icon.css +1 -1
  48. package/dist/assets/input-field-password.css +1 -1
  49. package/dist/assets/input-field.css +1 -1
  50. package/dist/assets/inspector.css +1 -1
  51. package/dist/assets/layout-row.css +1 -1
  52. package/dist/assets/link.css +1 -1
  53. package/dist/assets/listbox-option-tag.css +1 -1
  54. package/dist/assets/loading-indicator.css +1 -1
  55. package/dist/assets/modal-fullscreen.css +1 -1
  56. package/dist/assets/pagination.css +1 -1
  57. package/dist/assets/payment-method.css +1 -1
  58. package/dist/assets/popper-container.css +1 -1
  59. package/dist/assets/promo-banner.css +1 -1
  60. package/dist/assets/radio-group.css +1 -1
  61. package/dist/assets/radio-input.css +1 -1
  62. package/dist/assets/rich-text-editor.css +1 -1
  63. package/dist/assets/secondary-nav.css +1 -1
  64. package/dist/assets/segmented-control.css +1 -1
  65. package/dist/assets/selection-card-group.css +1 -1
  66. package/dist/assets/sidepanel.css +1 -1
  67. package/dist/assets/status.css +1 -1
  68. package/dist/assets/step.css +1 -1
  69. package/dist/assets/structured-list-item.css +1 -1
  70. package/dist/assets/summary-grid.css +1 -1
  71. package/dist/assets/tab.css +1 -1
  72. package/dist/assets/tag.css +1 -1
  73. package/dist/assets/textarea.css +1 -1
  74. package/dist/assets/timeline-item.css +1 -1
  75. package/dist/assets/toast.css +1 -1
  76. package/dist/assets/toggle.css +1 -1
  77. package/dist/assets/tooltip.css +1 -1
  78. package/dist/assets/tutorial.css +1 -1
  79. package/dist/assets/use-cached-selected-values.css +1 -1
  80. package/dist/button.js +1 -1
  81. package/dist/card.js +1 -1
  82. package/dist/checkbox.js +2 -2
  83. package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +1 -1
  84. package/dist/chunks/1-generic-use.R6x8PEGA.js.map +1 -1
  85. package/dist/chunks/2-generic-use.CNKjB4B7.js.map +1 -1
  86. package/dist/chunks/2-generic-use.w0fUhovx.js.map +1 -1
  87. package/dist/chunks/3-generic-use.BLEzR04g.js.map +1 -1
  88. package/dist/chunks/3-generic-use.D3NFHgI4.js.map +1 -1
  89. package/dist/chunks/4-generic-use.CULEpvgj.js.map +1 -1
  90. package/dist/chunks/4-generic-use.D82y3n39.js.map +1 -1
  91. package/dist/chunks/accordion-item.yRlQj4VF.js.map +1 -1
  92. package/dist/chunks/{action-bar.D5y9JWnT.js → action-bar.CriH15oF.js} +11 -9
  93. package/dist/chunks/{action-bar.D5y9JWnT.js.map → action-bar.CriH15oF.js.map} +1 -1
  94. package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +1 -1
  95. package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +1 -1
  96. package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +1 -1
  97. package/dist/chunks/adyen-giving.LiKHj_jY.js.map +1 -1
  98. package/dist/chunks/{alert.CYaIUaUn.js → alert.BYcw-u3b.js} +48 -40
  99. package/dist/chunks/{alert.CYaIUaUn.js.map → alert.BYcw-u3b.js.map} +1 -1
  100. package/dist/chunks/aria-label.CaUURpnB.js.map +1 -1
  101. package/dist/chunks/avatar.CNGMjwg3.js.map +1 -1
  102. package/dist/chunks/base-button.CUd03aA2.js.map +1 -1
  103. package/dist/chunks/{base-modal.B8HZItVN.js → base-modal.D3GyeCFT.js} +44 -42
  104. package/dist/chunks/{base-modal.B8HZItVN.js.map → base-modal.D3GyeCFT.js.map} +1 -1
  105. package/dist/chunks/bin.DuHlEQBO.js.map +1 -1
  106. package/dist/chunks/{button-actions-with-menu.LlNWeD3B.js → button-actions-with-menu.B8xFgt-p.js} +2 -2
  107. package/dist/chunks/{button-actions-with-menu.LlNWeD3B.js.map → button-actions-with-menu.B8xFgt-p.js.map} +1 -1
  108. package/dist/chunks/{button-actions.O0cnu1_g.js → button-actions.Crj4QFAd.js} +445 -413
  109. package/dist/chunks/button-actions.Crj4QFAd.js.map +1 -0
  110. package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -1
  111. package/dist/chunks/button.CSp48LJt.js.map +1 -1
  112. package/dist/chunks/calendar.DKPx_cQU.js +1237 -0
  113. package/dist/chunks/calendar.DKPx_cQU.js.map +1 -0
  114. package/dist/chunks/{card.Dqt_BOMI.js → card.C_03IYJe.js} +2 -2
  115. package/dist/chunks/{card.Dqt_BOMI.js.map → card.C_03IYJe.js.map} +1 -1
  116. package/dist/chunks/{checkbox-group.S0FqSg9s.js → checkbox-group.DZrhxIHp.js} +4 -4
  117. package/dist/chunks/{checkbox-group.S0FqSg9s.js.map → checkbox-group.DZrhxIHp.js.map} +1 -1
  118. package/dist/chunks/{checkbox-input.BXNGT9U0.js → checkbox-input.Dk9iFQQe.js} +62 -57
  119. package/dist/chunks/checkbox-input.Dk9iFQQe.js.map +1 -0
  120. package/dist/chunks/{checkbox.B_WaHSop.js → checkbox.BWgWtiLJ.js} +10 -10
  121. package/dist/chunks/{checkbox.B_WaHSop.js.map → checkbox.BWgWtiLJ.js.map} +1 -1
  122. package/dist/chunks/checkmark-circle-fill._6-d40ru.js.map +1 -1
  123. package/dist/chunks/checkmark-small.x-gmK2Dt.js.map +1 -1
  124. package/dist/chunks/chevron-down.DCQ6ZLaq.js.map +1 -1
  125. package/dist/chunks/chevron-left.Cfn1uGLH.js.map +1 -1
  126. package/dist/chunks/chevron-up.kfuLRpZb.js.map +1 -1
  127. package/dist/chunks/click-outside.C1Ud8AA2.js.map +1 -1
  128. package/dist/chunks/{code-snippet.Bfq5pgmE.js → code-snippet.4HtbNUDE.js} +78 -76
  129. package/dist/chunks/code-snippet.4HtbNUDE.js.map +1 -0
  130. package/dist/chunks/codemirror.Cy7iSLbd.js.map +1 -1
  131. package/dist/chunks/constructNow.DuaJst0D.js +8 -0
  132. package/dist/chunks/{constructNow.BhymNmy5.js.map → constructNow.DuaJst0D.js.map} +1 -1
  133. package/dist/chunks/{controls-group.CdnMYv1j.js → controls-group.DpFv8c4E.js} +2 -2
  134. package/dist/chunks/{controls-group.CdnMYv1j.js.map → controls-group.DpFv8c4E.js.map} +1 -1
  135. package/dist/chunks/{copy.Cg-VyVQ4.js → copy.xg9ElNxd.js} +35 -33
  136. package/dist/chunks/{copy.Cg-VyVQ4.js.map → copy.xg9ElNxd.js.map} +1 -1
  137. package/dist/chunks/country.types.DaVCMxk-.js +773 -0
  138. package/dist/chunks/{country.types.C0Q_hhgJ.js.map → country.types.DaVCMxk-.js.map} +1 -1
  139. package/dist/chunks/{country.CPGT2RsT.js → country.vSfTQW51.js} +2 -2
  140. package/dist/chunks/{country.CPGT2RsT.js.map → country.vSfTQW51.js.map} +1 -1
  141. package/dist/chunks/cross-circle-fill-small.Dv5-PxwF.js.map +1 -1
  142. package/dist/chunks/cross-circle-fill.CYLL7jfC.js.map +1 -1
  143. package/dist/chunks/cross-small.n1UO5wNB.js.map +1 -1
  144. package/dist/chunks/cross.B92GxFTY.js.map +1 -1
  145. package/dist/chunks/currency.DijmAkAB.js.map +1 -1
  146. package/dist/chunks/{dashboard-section.CGS38Swm.js → dashboard-section.D_k3_Z2T.js} +3 -3
  147. package/dist/chunks/{dashboard-section.CGS38Swm.js.map → dashboard-section.D_k3_Z2T.js.map} +1 -1
  148. package/dist/chunks/{dashed-underline.DV3p60Ne.js → dashed-underline.B0z2ZZh7.js} +2 -2
  149. package/dist/chunks/{dashed-underline.DV3p60Ne.js.map → dashed-underline.B0z2ZZh7.js.map} +1 -1
  150. package/dist/chunks/{data-grid-template.D2g9KHSZ.js → data-grid-template.DdIrvOXp.js} +4 -4
  151. package/dist/chunks/{data-grid-template.D2g9KHSZ.js.map → data-grid-template.DdIrvOXp.js.map} +1 -1
  152. package/dist/chunks/data-grid-template.keys.VezYtHtM.js.map +1 -1
  153. package/dist/chunks/{data-grid.ChGEI-jV.js → data-grid.BBkF9ojy.js} +1289 -1207
  154. package/dist/chunks/{data-grid.ChGEI-jV.js.map → data-grid.BBkF9ojy.js.map} +1 -1
  155. package/dist/chunks/date-input.BbZqj10S.js +15 -0
  156. package/dist/chunks/date-input.BbZqj10S.js.map +1 -0
  157. package/dist/chunks/date-picker.dyp0YK9_.js +249 -0
  158. package/dist/chunks/date-picker.dyp0YK9_.js.map +1 -0
  159. package/dist/chunks/date-picker.types.Ckt7zxGy.js.map +1 -1
  160. package/dist/chunks/date-range-picker.TsUvRvGy.js +1896 -0
  161. package/dist/chunks/date-range-picker.TsUvRvGy.js.map +1 -0
  162. package/dist/chunks/date-range-picker.types.Ckt7zxGy.js.map +1 -1
  163. package/dist/chunks/date.CL55prL0.js.map +1 -1
  164. package/dist/chunks/de.DvtL0g75.js +478 -0
  165. package/dist/chunks/de.DvtL0g75.js.map +1 -0
  166. package/dist/chunks/debounce.DUTu11PS.js.map +1 -1
  167. package/dist/chunks/delight.CDBAFnwC.js.map +1 -1
  168. package/dist/chunks/delight.xKDCvvaS.js.map +1 -1
  169. package/dist/chunks/{dialog-page.CTEyyZ_R.js → dialog-page.DaZSlMzY.js} +23 -17
  170. package/dist/chunks/{dialog-page.CTEyyZ_R.js.map → dialog-page.DaZSlMzY.js.map} +1 -1
  171. package/dist/chunks/differenceInMonths.DcFDl4eH.js +43 -0
  172. package/dist/chunks/differenceInMonths.DcFDl4eH.js.map +1 -0
  173. package/dist/chunks/directive.Cbdox5VL.js.map +1 -1
  174. package/dist/chunks/divider.Dho4_hQ7.js.map +1 -1
  175. package/dist/chunks/dot.ob6N-5Um.js.map +1 -1
  176. package/dist/chunks/dropdown-default-textbox.DFtFMu5G.js.map +1 -1
  177. package/dist/chunks/{dropdown-tag.BWnAPzEN.js → dropdown-tag.DtpDzWl4.js} +4 -4
  178. package/dist/chunks/{dropdown-tag.BWnAPzEN.js.map → dropdown-tag.DtpDzWl4.js.map} +1 -1
  179. package/dist/chunks/{dropdown.CtP9keJ4.js → dropdown.D0_8f9Mz.js} +114 -110
  180. package/dist/chunks/{dropdown.CtP9keJ4.js.map → dropdown.D0_8f9Mz.js.map} +1 -1
  181. package/dist/chunks/empty-state.D_ifpeU-.js.map +1 -1
  182. package/dist/chunks/en-GB.DCGuCmAv.js +46 -0
  183. package/dist/chunks/en-GB.DCGuCmAv.js.map +1 -0
  184. package/dist/chunks/{getTimezoneOffsetInMilliseconds.B7sxiukN.js → en-US.BZii9jNW.js} +160 -196
  185. package/dist/chunks/en-US.BZii9jNW.js.map +1 -0
  186. package/dist/chunks/es.bz0mzkMq.js +374 -0
  187. package/dist/chunks/es.bz0mzkMq.js.map +1 -0
  188. package/dist/chunks/es6.C1DXQV6f.js +12 -0
  189. package/dist/chunks/es6.C1DXQV6f.js.map +1 -0
  190. package/dist/chunks/events.BQOQSSb7.js.map +1 -1
  191. package/dist/chunks/expand.C9IAqYYL.js.map +1 -1
  192. package/dist/chunks/{field-label.CfizwLcQ.js → field-label.D7vU2Icm.js} +8 -8
  193. package/dist/chunks/{field-label.CfizwLcQ.js.map → field-label.D7vU2Icm.js.map} +1 -1
  194. package/dist/chunks/{file-uploader.C9qXXyin.js → file-uploader.BmBKLzIx.js} +253 -207
  195. package/dist/chunks/{file-uploader.C9qXXyin.js.map → file-uploader.BmBKLzIx.js.map} +1 -1
  196. package/dist/chunks/filter-bar.D0BEt7ia.js +3363 -0
  197. package/dist/chunks/filter-bar.D0BEt7ia.js.map +1 -0
  198. package/dist/chunks/{fixed-scroller.DCjtCzKy.js → fixed-scroller.e56yJp7Q.js} +52 -44
  199. package/dist/chunks/{fixed-scroller.DCjtCzKy.js.map → fixed-scroller.e56yJp7Q.js.map} +1 -1
  200. package/dist/chunks/focus-trap.BaHvK7aT.js.map +1 -1
  201. package/dist/chunks/{footer-actions.CTCV-SW-.js → footer-actions.BqNvwVk7.js} +2 -2
  202. package/dist/chunks/{footer-actions.CTCV-SW-.js.map → footer-actions.BqNvwVk7.js.map} +1 -1
  203. package/dist/chunks/form-field.D_2g7vaP.js.map +1 -1
  204. package/dist/chunks/{form-layout-title.Dvlo-2z_.js → form-layout-title.CPsEzRzS.js} +2 -2
  205. package/dist/chunks/{form-layout-title.Dvlo-2z_.js.map → form-layout-title.CPsEzRzS.js.map} +1 -1
  206. package/dist/chunks/form-layout.types.bZW9iR6_.js.map +1 -1
  207. package/dist/chunks/fr-CA.B1aPU8fp.js +48 -0
  208. package/dist/chunks/fr-CA.B1aPU8fp.js.map +1 -0
  209. package/dist/chunks/fr.Dj7wEToe.js +47 -0
  210. package/dist/chunks/fr.Dj7wEToe.js.map +1 -0
  211. package/dist/chunks/generate-uid.NJ8tVoha.js.map +1 -1
  212. package/dist/chunks/getRoundingMethod.C3eaeGLR.js.map +1 -1
  213. package/dist/chunks/getTimezoneOffsetInMilliseconds.C-aIpRfB.js +51 -0
  214. package/dist/chunks/getTimezoneOffsetInMilliseconds.C-aIpRfB.js.map +1 -0
  215. package/dist/chunks/grid-layout.DDaRNz4-.js.map +1 -1
  216. package/dist/chunks/header-meta.PysBmkSU.js +263 -0
  217. package/dist/chunks/header-meta.PysBmkSU.js.map +1 -0
  218. package/dist/chunks/{header-with-views.CHObq1kM.js → header-with-views.BGIZadqh.js} +844 -780
  219. package/dist/chunks/{header-with-views.CHObq1kM.js.map → header-with-views.BGIZadqh.js.map} +1 -1
  220. package/dist/chunks/{header.BMTf9s8L.js → header.yMTOq8MR.js} +3 -3
  221. package/dist/chunks/{header.BMTf9s8L.js.map → header.yMTOq8MR.js.map} +1 -1
  222. package/dist/chunks/image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js.map +1 -1
  223. package/dist/chunks/index.E60QniEu.js.map +1 -1
  224. package/dist/chunks/index.pdBj0KQU.js.map +1 -1
  225. package/dist/chunks/info.BKwey1HA.js.map +1 -1
  226. package/dist/chunks/{input-field-password.CTdUPz2y.js → input-field-password.DN3ltmAg.js} +101 -95
  227. package/dist/chunks/{input-field-password.CTdUPz2y.js.map → input-field-password.DN3ltmAg.js.map} +1 -1
  228. package/dist/chunks/{input-field-phone-number.Bp57oBMS.js → input-field-phone-number.CouE9QiR.js} +180 -174
  229. package/dist/chunks/{input-field-phone-number.Bp57oBMS.js.map → input-field-phone-number.CouE9QiR.js.map} +1 -1
  230. package/dist/chunks/{input-field.DzNDGqBP.js → input-field.C2SQq0V1.js} +67 -59
  231. package/dist/chunks/{input-field.DzNDGqBP.js.map → input-field.C2SQq0V1.js.map} +1 -1
  232. package/dist/chunks/{inspector.p4ukEAWH.js → inspector.Dox76eqN.js} +41 -35
  233. package/dist/chunks/{inspector.p4ukEAWH.js.map → inspector.Dox76eqN.js.map} +1 -1
  234. package/dist/chunks/inspector.types.DyHwE18g.js.map +1 -1
  235. package/dist/chunks/internal-error.BLZodVBE.js.map +1 -1
  236. package/dist/chunks/internal-error.BmrwJFpR.js.map +1 -1
  237. package/dist/chunks/isSameWeek.CUD7czUN.js +14 -0
  238. package/dist/chunks/isSameWeek.CUD7czUN.js.map +1 -0
  239. package/dist/chunks/it.Oaj6BklL.js +392 -0
  240. package/dist/chunks/it.Oaj6BklL.js.map +1 -0
  241. package/dist/chunks/ja.Cm9tJMi2.js +367 -0
  242. package/dist/chunks/ja.Cm9tJMi2.js.map +1 -0
  243. package/dist/chunks/keyboard-navigation.DWmhelVv.js.map +1 -1
  244. package/dist/chunks/ko.Ceaof6EP.js +348 -0
  245. package/dist/chunks/ko.Ceaof6EP.js.map +1 -0
  246. package/dist/chunks/layout-row.CX8kV_w0.js.map +1 -1
  247. package/dist/chunks/link.BLCQlEZU.js.map +1 -1
  248. package/dist/chunks/loading-indicator.Db794TT5.js.map +1 -1
  249. package/dist/chunks/match.CMBZxEs9.js +302 -0
  250. package/dist/chunks/match.CMBZxEs9.js.map +1 -0
  251. package/dist/chunks/minus-small.DYIyF5XW.js.map +1 -1
  252. package/dist/chunks/{modal-fullscreen.DYDW-zC0.js → modal-fullscreen.BXjxVsAq.js} +3 -3
  253. package/dist/chunks/{modal-fullscreen.DYDW-zC0.js.map → modal-fullscreen.BXjxVsAq.js.map} +1 -1
  254. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DI5HA_3W.js → modal.vue_vue_type_script_setup_true_lang.CRovU08l.js} +4 -4
  255. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DI5HA_3W.js.map → modal.vue_vue_type_script_setup_true_lang.CRovU08l.js.map} +1 -1
  256. package/dist/chunks/nl.B6vCf2B9.js +327 -0
  257. package/dist/chunks/nl.B6vCf2B9.js.map +1 -0
  258. package/dist/chunks/no-results-found.Bg_ZcEid.js.map +1 -1
  259. package/dist/chunks/no-results-found.BqvYsBR6.js.map +1 -1
  260. package/dist/chunks/notifications-cleared.BMZk37uf.js.map +1 -1
  261. package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +1 -1
  262. package/dist/chunks/on-click-outside.D9aY9g8G.js.map +1 -1
  263. package/dist/chunks/page-not-found.COJLPVaU.js.map +1 -1
  264. package/dist/chunks/page-not-found.DWW6W-PZ.js.map +1 -1
  265. package/dist/chunks/{pagination.0cHVUbmR.js → pagination.Biy7xN75.js} +5 -5
  266. package/dist/chunks/{pagination.0cHVUbmR.js.map → pagination.Biy7xN75.js.map} +1 -1
  267. package/dist/chunks/payment-method.BGEBaa4w.js.map +1 -1
  268. package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -1
  269. package/dist/chunks/planned-maintenance.C61sWB9h.js.map +1 -1
  270. package/dist/chunks/planned-maintenance.jmWYTdet.js.map +1 -1
  271. package/dist/chunks/popover.types.DgfeurkF.js.map +1 -1
  272. package/dist/chunks/popper-container.I9gzp1NR.js.map +1 -1
  273. package/dist/chunks/promo-banner.BIRH5sVX.js.map +1 -1
  274. package/dist/chunks/pt-BR.CiGdfP45.js +380 -0
  275. package/dist/chunks/pt-BR.CiGdfP45.js.map +1 -0
  276. package/dist/chunks/{radio-group.B2JLD8_2.js → radio-group.BqsQRDjs.js} +3 -3
  277. package/dist/chunks/{radio-group.B2JLD8_2.js.map → radio-group.BqsQRDjs.js.map} +1 -1
  278. package/dist/chunks/radio-input.CBNE-AkM.js.map +1 -1
  279. package/dist/chunks/referrals.BvtT-kQS.js.map +1 -1
  280. package/dist/chunks/referrals.aX8WZigH.js.map +1 -1
  281. package/dist/chunks/refresh.BB4ouvz_.js.map +1 -1
  282. package/dist/chunks/resize.Bqks3WUm.js.map +1 -1
  283. package/dist/chunks/{rich-text-editor.Dw01KOhU.js → rich-text-editor.Bafyvjc3.js} +4 -4
  284. package/dist/chunks/{rich-text-editor.Dw01KOhU.js.map → rich-text-editor.Bafyvjc3.js.map} +1 -1
  285. package/dist/chunks/{search-bar.fCnPv83a.js → search-bar.BF8M5OSY.js} +3 -3
  286. package/dist/chunks/{search-bar.fCnPv83a.js.map → search-bar.BF8M5OSY.js.map} +1 -1
  287. package/dist/chunks/search.PczW-onY.js.map +1 -1
  288. package/dist/chunks/secondary-nav.D2lBMjqY.js +144 -0
  289. package/dist/chunks/{secondary-nav.D1y_GiqG.js.map → secondary-nav.D2lBMjqY.js.map} +1 -1
  290. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -1
  291. package/dist/chunks/{selection-card-group.DYklb2t2.js → selection-card-group.DNPlEqEq.js} +17 -17
  292. package/dist/chunks/{selection-card-group.DYklb2t2.js.map → selection-card-group.DNPlEqEq.js.map} +1 -1
  293. package/dist/chunks/show.CT4Augxb.js.map +1 -1
  294. package/dist/chunks/{sidepanel.1WPpJp8O.js → sidepanel.RJihFo_R.js} +4 -4
  295. package/dist/chunks/{sidepanel.1WPpJp8O.js.map → sidepanel.RJihFo_R.js.map} +1 -1
  296. package/dist/chunks/startOfWeek.Dxw2MhGp.js +10 -0
  297. package/dist/chunks/startOfWeek.Dxw2MhGp.js.map +1 -0
  298. package/dist/chunks/status.types.ChOI6XGU.js.map +1 -1
  299. package/dist/chunks/step.DpgnDx29.js +271 -0
  300. package/dist/chunks/step.DpgnDx29.js.map +1 -0
  301. package/dist/chunks/{structured-list-item.C4Fnc7sX.js → structured-list-item.B-hdp7rW.js} +2 -2
  302. package/dist/chunks/{structured-list-item.C4Fnc7sX.js.map → structured-list-item.B-hdp7rW.js.map} +1 -1
  303. package/dist/chunks/success.DhioLvPD.js.map +1 -1
  304. package/dist/chunks/success.nNwxJRBS.js.map +1 -1
  305. package/dist/chunks/summary-grid.keys.Xx-W5a2w.js.map +1 -1
  306. package/dist/chunks/{summary-grid.types.CbROj1cf.js → summary-grid.types.BVLRSBAF.js} +3 -3
  307. package/dist/chunks/{summary-grid.types.CbROj1cf.js.map → summary-grid.types.BVLRSBAF.js.map} +1 -1
  308. package/dist/chunks/sv.f8EfZjMZ.js +377 -0
  309. package/dist/chunks/sv.f8EfZjMZ.js.map +1 -0
  310. package/dist/chunks/{tab.C-kmkQiE.js → tab.JPngc9oS.js} +2 -2
  311. package/dist/chunks/{tab.C-kmkQiE.js.map → tab.JPngc9oS.js.map} +1 -1
  312. package/dist/chunks/tabs.keys.B4qGhjp2.js.map +1 -1
  313. package/dist/chunks/tag.DFJIvNLs.js.map +1 -1
  314. package/dist/chunks/{textarea.C0tLoH2I.js → textarea.CEDkF8BB.js} +45 -45
  315. package/dist/chunks/textarea.CEDkF8BB.js.map +1 -0
  316. package/dist/chunks/{timeline-item.-IGN2sbj.js → timeline-item.BxGaSGLf.js} +14 -13
  317. package/dist/chunks/{timeline-item.-IGN2sbj.js.map → timeline-item.BxGaSGLf.js.map} +1 -1
  318. package/dist/chunks/toggle.vl0ZwLhN.js.map +1 -1
  319. package/dist/chunks/tooltip.Nn3o8_vO.js.map +1 -1
  320. package/dist/chunks/truncate.BfIl_-71.js.map +1 -1
  321. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BeW7xfHC.js → tutorial.vue_vue_type_script_setup_true_lang.CEfCLTsD.js} +26 -26
  322. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.BeW7xfHC.js.map → tutorial.vue_vue_type_script_setup_true_lang.CEfCLTsD.js.map} +1 -1
  323. package/dist/chunks/typography.6Oo5TOMP.js.map +1 -1
  324. package/dist/chunks/upload-files.5wQwbfkp.js.map +1 -1
  325. package/dist/chunks/upload-files.jTQY6y2X.js.map +1 -1
  326. package/dist/chunks/use-bento-toast-controller.V61h7XzI.js.map +1 -1
  327. package/dist/chunks/{use-cached-selected-values.u6wcYuin.js → use-cached-selected-values.BZIa5TRx.js} +97 -88
  328. package/dist/chunks/{use-cached-selected-values.u6wcYuin.js.map → use-cached-selected-values.BZIa5TRx.js.map} +1 -1
  329. package/dist/chunks/{use-country-items.Dzbl2UsO.js → use-country-items.JZCYNoW7.js} +2 -2
  330. package/dist/chunks/{use-country-items.Dzbl2UsO.js.map → use-country-items.JZCYNoW7.js.map} +1 -1
  331. package/dist/chunks/use-country-phon-code.Bui3zD6W.js.map +1 -1
  332. package/dist/chunks/use-default-slot-validator.O02rzsob.js.map +1 -1
  333. package/dist/chunks/use-expandable-content-height.GkjjbmPy.js.map +1 -1
  334. package/dist/chunks/use-form-layout-loading.CWbjZiwP.js.map +1 -1
  335. package/dist/chunks/use-has-slot.B7eQSabc.js.map +1 -1
  336. package/dist/chunks/warning-filled.BMGD0G-_.js.map +1 -1
  337. package/dist/chunks/wrong-environment.BOsyKdRI.js.map +1 -1
  338. package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +1 -1
  339. package/dist/chunks/zh-CN.BzH0fIXr.js +389 -0
  340. package/dist/chunks/zh-CN.BzH0fIXr.js.map +1 -0
  341. package/dist/code-snippet.js +1 -1
  342. package/dist/country.js +2 -2
  343. package/dist/dashboard-template.js +1 -1
  344. package/dist/dashed-underline.js +1 -1
  345. package/dist/data-grid-template.js +1 -1
  346. package/dist/data-grid.js +1 -1
  347. package/dist/date-picker.js +2 -2
  348. package/dist/date-range-picker.js +2 -2
  349. package/dist/dropdown.js +3 -3
  350. package/dist/file-uploader.js +1 -1
  351. package/dist/filter-bar.js +1 -1
  352. package/dist/form-layout.js +1 -1
  353. package/dist/header-with-views.js +1 -1
  354. package/dist/header.js +1 -1
  355. package/dist/index.js +248 -249
  356. package/dist/index.js.map +1 -1
  357. package/dist/input-field-password.js +1 -1
  358. package/dist/input-field-phone-number.js +1 -1
  359. package/dist/input-field.js +1 -1
  360. package/dist/inspector.js +1 -1
  361. package/dist/internal.js +10 -10
  362. package/dist/menu.js +1 -1
  363. package/dist/modal-fullscreen.js +1 -1
  364. package/dist/modal.js +2 -2
  365. package/dist/pagination.js +1 -1
  366. package/dist/popover.js +1 -1
  367. package/dist/radio-group.js +1 -1
  368. package/dist/rich-text-editor.js +1 -1
  369. package/dist/search-bar.js +2 -2
  370. package/dist/secondary-nav.js +1 -1
  371. package/dist/selection-card.js +1 -1
  372. package/dist/sidepanel.js +1 -1
  373. package/dist/stepper.js +1 -1
  374. package/dist/structured-list.js +1 -1
  375. package/dist/styles/bento-dark.css +0 -1829
  376. package/dist/styles/bento-light.css +0 -1829
  377. package/dist/styles/bento.css +0 -1829
  378. package/dist/styles/legacy.css +0 -1829
  379. package/dist/styles/styleguide.css +0 -1829
  380. package/dist/summary-grid.js +1 -1
  381. package/dist/tabs.js +1 -1
  382. package/dist/textarea.js +1 -1
  383. package/dist/timeline.js +1 -1
  384. package/dist/tutorial.js +1 -1
  385. package/dist/use-form-v4.js.map +1 -1
  386. package/dist/web-types.json +1 -1
  387. package/package.json +8 -8
  388. package/dist/chunks/button-actions.O0cnu1_g.js.map +0 -1
  389. package/dist/chunks/calendar.NVmCgJrJ.js +0 -1962
  390. package/dist/chunks/calendar.NVmCgJrJ.js.map +0 -1
  391. package/dist/chunks/checkbox-input.BXNGT9U0.js.map +0 -1
  392. package/dist/chunks/code-snippet.Bfq5pgmE.js.map +0 -1
  393. package/dist/chunks/constructNow.BhymNmy5.js +0 -8
  394. package/dist/chunks/country.types.C0Q_hhgJ.js +0 -269
  395. package/dist/chunks/date-format.B8RU7D42.js +0 -17
  396. package/dist/chunks/date-format.B8RU7D42.js.map +0 -1
  397. package/dist/chunks/date-picker.BIdfeL7b.js +0 -245
  398. package/dist/chunks/date-picker.BIdfeL7b.js.map +0 -1
  399. package/dist/chunks/date-range-picker.BT3I5M44.js +0 -1109
  400. package/dist/chunks/date-range-picker.BT3I5M44.js.map +0 -1
  401. package/dist/chunks/differenceInMonths.Cab3nOsb.js +0 -1590
  402. package/dist/chunks/differenceInMonths.Cab3nOsb.js.map +0 -1
  403. package/dist/chunks/es6.MoTTyETW.js +0 -12
  404. package/dist/chunks/es6.MoTTyETW.js.map +0 -1
  405. package/dist/chunks/filter-bar.DnfdHnSL.js +0 -3211
  406. package/dist/chunks/filter-bar.DnfdHnSL.js.map +0 -1
  407. package/dist/chunks/getTimezoneOffsetInMilliseconds.B7sxiukN.js.map +0 -1
  408. package/dist/chunks/header-meta.C2W1eMZc.js +0 -221
  409. package/dist/chunks/header-meta.C2W1eMZc.js.map +0 -1
  410. package/dist/chunks/secondary-nav.D1y_GiqG.js +0 -138
  411. package/dist/chunks/step._8f9kwI5.js +0 -267
  412. package/dist/chunks/step._8f9kwI5.js.map +0 -1
  413. package/dist/chunks/textarea.C0tLoH2I.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"tutorial.vue_vue_type_script_setup_true_lang.BeW7xfHC.js","sources":["../../../vue2/src/components/tutorial/components/tutorial-popover/components/tutorial-indicator/tutorial-indicator.vue","../../../ui-assets/icons-16/dist/vue/blocked.vue","../../../vue2/src/components/tutorial/components/tutorial-popover/tutorial-popover.vue","../../../vue2/src/components/tutorial/tutorial.vue"],"sourcesContent":["<template>\n <popper-container\n :target-element=\"targetElement\"\n :middleware=\"middleware\"\n position=\"top-start\"\n fixed-positioning\n disabled-focus-trap\n class=\"b-tutorial-indicator\"\n data-testid=\"tutorial-indicator\"\n >\n <div class=\"b-tutorial-indicator__highlight\" :style=\"computedStyles\"></div>\n </popper-container>\n</template>\n\n<script setup lang=\"ts\">\n import { ref } from 'vue';\n import { hide, type Middleware, offset } from '@floating-ui/vue';\n import { PopperContainer } from '@/components/popper-container';\n\n const BORDER_OFFSET = 2;\n\n defineProps({\n /**\n * Tutorial indicator's target element.\n * The indicator will position itself around the target element.\n */\n targetElement: {\n type: PopperContainer.props?.targetElement.type,\n required: true,\n },\n });\n\n const computedStyles = ref({\n width: '0',\n height: '0',\n borderRadius: '0',\n });\n\n function getBorderRadius(element: HTMLElement) {\n try {\n const radius = parseFloat(getComputedStyle(element).getPropertyValue('border-radius'));\n return Number.isNaN(radius) ? '' : `${radius + 2 * BORDER_OFFSET}px`;\n } catch {\n return '';\n }\n }\n\n const middleware = [\n hide(),\n offset({\n mainAxis: BORDER_OFFSET,\n alignmentAxis: -BORDER_OFFSET,\n }),\n {\n name: 'updateIndicatorSize',\n fn: ({ x, y, elements }) => {\n const target = elements.reference as HTMLElement;\n computedStyles.value.width = `${target.offsetWidth + 4 * BORDER_OFFSET}px`;\n computedStyles.value.height = `${target.offsetHeight + 4 * BORDER_OFFSET}px`;\n computedStyles.value.borderRadius = getBorderRadius(target);\n return { x, y };\n },\n } as Middleware,\n ];\n</script>\n\n<style lang=\"scss\" scoped src=\"./tutorial-indicator.scss\" />\n","\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><g :clip-path=\"'url(#uia-ui-assets/icons-16-blocked__a' + uuid + ')'\"><path fill=\"#001222\" d=\"M9.51195 0.398918C8.00859 0.0998821 6.45033 0.253358 5.0342 0.839937C3.61808 1.42652 2.40769 2.41985 1.55611 3.69433C0.704529 4.96881 0.25 6.4672 0.25 8C0.25 10.0554 1.06652 12.0267 2.51992 13.4801C3.97333 14.9335 5.94457 15.75 8 15.75C9.53281 15.75 11.0312 15.2955 12.3057 14.4439C13.5801 13.5923 14.5735 12.3819 15.1601 10.9658C15.7466 9.54967 15.9001 7.99141 15.6011 6.48805C15.3021 4.9847 14.5639 3.60378 13.4801 2.51993C12.3962 1.43607 11.0153 0.697953 9.51195 0.398918ZM5.60823 2.22576C6.75027 1.75271 8.00693 1.62894 9.21931 1.8701C10.4317 2.11125 11.5453 2.70651 12.4194 3.58059C13.2935 4.45466 13.8887 5.56831 14.1299 6.78069C14.3711 7.99307 14.2473 9.24974 13.7742 10.3918C13.5555 10.9198 13.2667 11.4124 12.9177 11.8573L4.14271 3.0823C4.58761 2.73333 5.08018 2.44448 5.60823 2.22576ZM3.08208 4.14298L11.857 12.9179C11.7327 13.0154 11.6044 13.1085 11.4723 13.1967C10.4445 13.8834 9.23613 14.25 8 14.25C6.3424 14.25 4.75268 13.5915 3.58058 12.4194C2.40848 11.2473 1.75 9.65761 1.75 8C1.75 6.76387 2.11656 5.5555 2.80331 4.52769C2.89155 4.39564 2.98456 4.26733 3.08208 4.14298Z\"/></g><defs><clipPath :id=\"'uia-ui-assets/icons-16-blocked__a' + uuid\"><rect width=\"16\" height=\"16\" fill=\"#fff\"/></clipPath></defs></svg>\n</template>\n<script>\n import '../css/main.css';\n\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n","<template>\n <div v-if=\"active && targetElement\">\n <tutorial-indicator v-if=\"isIndicatorVisible && targetElement\" :target-element=\"targetElement\" />\n\n <bento-popover\n :target-element=\"targetElement\"\n :position=\"position\"\n :open=\"isPopoverOpen\"\n :aria-label=\"title\"\n fixed-positioning\n class=\"b-tutorial-popover\"\n @keydown.esc.native=\"emit('finish')\"\n >\n <template v-if=\"image\" #image>\n <bento-image v-bind=\"image\" aspect-ratio=\"landscape\" class=\"b-tutorial-popover__image\" />\n </template>\n\n <div aria-hidden=\"true\" class=\"b-tutorial-popover__ripple\"></div>\n\n <div class=\"b-tutorial-popover__header\">\n <bento-typography variant=\"title\" el=\"span\"> {{ title }} </bento-typography>\n\n <bento-typography v-if=\"showSteps\" el=\"span\" class=\"b-tutorial-popover__steps\">\n {{ t('stepsOfTotal', { step, totalSteps }) }}\n </bento-typography>\n </div>\n\n <bento-typography>\n <slot />\n </bento-typography>\n\n <div class=\"b-tutorial-popover__footer\">\n <bento-menu\n v-if=\"!isFirstStep\"\n :data=\"menuData\"\n class=\"b-tutorial-popover__menu\"\n data-testid=\"menu-button\"\n />\n <div class=\"b-tutorial-popover__actions\">\n <bento-button-actions :actions=\"computedActions\" layout=\"buttons-end\" />\n </div>\n </div>\n </bento-popover>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, isRef, nextTick, type PropType, ref, type default as Vue, watch } from 'vue';\n import { BentoMenu } from '@/components/menu';\n import { BentoPopover, BentoPopoverPositions } from '@/components/popover';\n import { BentoTypography } from '@/components/typography';\n import { type BentoButtonActionObject, BentoButtonActions } from '@/components/button';\n import { BentoImage } from '@/components/image';\n import { TutorialIndicator } from './components/tutorial-indicator';\n import { useI18n } from '@/utils/ts/i18n';\n import type { BentoMenuItem } from '@/components/menu/components';\n import type { VueNodeElement } from '@/types/elements';\n import type { BentoTutorialScrollOptions, BentoTutorialStep } from '../../tutorial.types';\n import RefreshIcon from '@adyen/ui-assets-icons-16/vue/refresh';\n import BlockedIcon from '@adyen/ui-assets-icons-16/vue/blocked';\n\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const DEFAULT_SCROLL_OPTIONS: BentoTutorialScrollOptions = { behavior: 'smooth' };\n\n const props = defineProps({\n /**\n * Optional configuration for the secondary action.\n * In tour tutorials, this is ignored for the introductory step.\n */\n action: {\n type: Object as PropType<BentoButtonActionObject>,\n default: null,\n },\n\n /**\n * Indicates whether this popover is the active step (and should be visible).\n */\n active: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Optional illustration to display at the top of the popover.\n */\n image: {\n type: Object as PropType<BentoTutorialStep['image']>,\n default: null,\n },\n\n /**\n * Popover's position relative to the target element.\n * Possible values are:\n * 'auto', 'auto-start', 'auto-end',\n * 'top', 'top-start', 'top-end'\n * 'right', 'right-start', 'right-end'\n * 'bottom', 'bottom-start', 'bottom-end'\n * 'left', 'left-start', 'left-end'\n */\n position: {\n type: String as PropType<`${BentoPopoverPositions}`>,\n default: BentoPopoverPositions.BOTTOM_START,\n validator: (value: BentoPopoverPositions) => Object.values(BentoPopoverPositions).includes(value),\n },\n\n /**\n * Options to control the scroll into view behavior.\n * Takes the same options as the `scrollIntoView` function\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView}\n */\n scrollOptions: {\n type: [Boolean, Object] as PropType<BentoTutorialScrollOptions>,\n default: null,\n },\n\n /**\n * Indicates whether this popover is a single tutorial or a tour.\n */\n single: {\n type: Boolean,\n default: false,\n },\n\n /**\n * The tutorial step number.\n * In tour tutorials, `0` is the introductory step, and is displayed next\n * to the title.\n */\n step: {\n type: Number,\n default: null,\n },\n\n /**\n * Tutorial popover's target element.\n * The popover will position itself relatively to target element.\n */\n targetElement: {\n type: [Element, Object] as PropType<VueNodeElement>,\n required: true,\n },\n\n /**\n * The tutorial step title.\n */\n title: {\n type: String,\n required: true,\n },\n\n /**\n * Total count of steps.\n * In tour tutorials, this does not include the introductory step, and is\n * displayed next to the title.\n */\n totalSteps: {\n type: Number,\n default: null,\n },\n });\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const emit = defineEmits<{\n /**\n * Emitted when the user clicks the primary action in popovers during introductory or intermediate steps of tour tutorials\n */\n (e: 'next'): void;\n\n /**\n * Emitted when the user clicks the primary action in a single tutorial, the last step of a tour, or skips the tutorial\n */\n (e: 'finish'): void;\n\n /**\n * Emitted when the user selects the restart tour option\n */\n (e: 'restart'): void;\n }>();\n\n const ACTION_SKIP = computed<BentoButtonActionObject>(() => ({\n title: t('skipTour') as string,\n event: () => emit('finish'),\n }));\n\n const ACTION_START = computed<BentoButtonActionObject>(() => ({\n title: t('startTour') as string,\n event: () => emit('next'),\n }));\n\n const ACTION_NEXT = computed<BentoButtonActionObject>(() => ({\n title: t('next') as string,\n event: () => emit('next'),\n }));\n\n const ACTION_FINISH = computed<BentoButtonActionObject>(() => ({\n title: t('finish') as string,\n event: () => emit('finish'),\n }));\n\n const ACTION_OK = computed<BentoButtonActionObject>(() => ({\n title: t('ok') as string,\n event: () => emit('finish'),\n }));\n\n const isPopoverOpen = ref(false);\n const isIndicatorVisible = ref(false);\n\n const targetElement = computed(() => {\n if (isRef(props.targetElement)) {\n return ((props.targetElement.value as Vue)?.$el || props.targetElement.value) as HTMLElement;\n }\n return ((props.targetElement as Vue).$el || props.targetElement) as HTMLElement;\n });\n\n const isFirstStep = computed(() => props.step === 0);\n const isLastStep = computed(() => props.step === props.totalSteps);\n\n const showSteps = computed(() => !isFirstStep.value);\n\n const menuData = computed<Array<BentoMenuItem>>(() => [\n {\n text: t('restartTour'),\n handler: () => emit('restart'),\n icon: RefreshIcon,\n },\n ...(isLastStep.value\n ? []\n : [\n {\n text: t('skipTour'),\n handler: () => emit('finish'),\n icon: BlockedIcon,\n },\n ]),\n ]);\n\n const computedActions = computed(() => {\n let primaryAction: BentoButtonActionObject;\n if (isFirstStep.value) {\n primaryAction = props.single ? ACTION_OK.value : ACTION_START.value;\n } else if (isLastStep.value) {\n primaryAction = ACTION_FINISH.value;\n } else {\n primaryAction = ACTION_NEXT.value;\n }\n\n const actions = [primaryAction];\n if (isFirstStep.value && !props.single) {\n actions.push(ACTION_SKIP.value);\n } else if (props.action) {\n actions.push(props.action);\n }\n\n return actions;\n });\n\n watch(\n () => props.active,\n async isActive => {\n if (isActive && targetElement.value?.scrollIntoView) {\n targetElement.value?.scrollIntoView(\n props.scrollOptions != null ? props.scrollOptions : DEFAULT_SCROLL_OPTIONS\n );\n\n // Skip to next tick to preserve popover appear animation\n await nextTick();\n }\n\n isPopoverOpen.value = isActive;\n isIndicatorVisible.value = isActive;\n },\n { immediate: true }\n );\n</script>\n\n<script lang=\"ts\">\n export default {\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./tutorial-popover.scss\" />\n","<template>\n <div class=\"b-tutorial\">\n <tutorial-popover\n v-for=\"(step, i) in steps\"\n v-bind=\"getPopoverProps(step, i)\"\n :key=\"step.title\"\n @finish=\"currentStep = -1\"\n @next=\"currentStep += 1\"\n @restart=\"currentStep = 0\"\n >\n {{ step.description }}\n </tutorial-popover>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, type PropType, ref, watch } from 'vue';\n import { TutorialPopover } from './components/tutorial-popover';\n import type { BentoTutorialScrollOptions, BentoTutorialStep } from './tutorial.types';\n\n const props = defineProps({\n /**\n * The current step index. If provided, will start the tutorial in that step.\n */\n index: {\n type: Number,\n default: null,\n },\n\n /**\n * The steps configuration for the tutorial.\n *\n */\n steps: {\n type: Array as PropType<Array<BentoTutorialStep>>,\n required: true,\n validator: (value: Array<BentoTutorialStep>) => value.length > 0,\n },\n\n /**\n * Options to control the scroll into view behavior.\n * Takes the same options as the `scrollIntoView` function\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView}\n */\n scrollOptions: {\n type: [Boolean, Object] as PropType<BentoTutorialScrollOptions>,\n default: null,\n },\n });\n\n const emit = defineEmits<{\n /**\n * Fired every time the step index is changed. `-1` value means the tutorial is finished/skipped.\n */\n (e: 'update:index', value: number);\n }>();\n\n const currentStep = ref(props.index || 0);\n\n const totalSteps = computed(() => props.steps.length - 1);\n const isSingleTutorial = computed(() => totalSteps.value === 0);\n\n function getPopoverProps(step: BentoTutorialStep, index: number) {\n return {\n // Visual\n targetElement: step.target,\n image: step.image,\n title: step.title,\n step: index,\n totalSteps: totalSteps.value,\n action: step.action,\n scrollOptions: props.scrollOptions,\n\n // Config\n active: index === currentStep.value,\n single: isSingleTutorial.value,\n position: step.position,\n };\n }\n\n watch(currentStep, step => {\n emit('update:index', step);\n });\n\n watch(\n () => props.index,\n value => {\n if (value >= -1 && value <= totalSteps.value) {\n currentStep.value = value;\n }\n }\n );\n</script>\n\n<script lang=\"ts\">\n /**\n * The Tutorial is a temporary popover that should be used to educate users about\n * new or unfamiliar features or experiences.\n *\n * You can use single tutorial or chain them into a tour.\n *\n * Only use this component for new features/experiences that are not obvious and\n * self-explanatory on their own.\n *\n * @example\n * import { BentoTutorial } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoTutorial },\n * template: `\n * <bento-tutorial\n * :steps=\"[\n * {\n * target: targetElement1,\n * title: 'Tutorial intro title',\n * description: 'Intro body content',\n * image: { src: imageSource, alt: 'Alt text' }\n * },\n * {\n * target: targetElement1,\n * title: 'Tutorial intro title',\n * description: 'Intro body content',\n * action: { title: 'Action label', event: () => {} }\n * },\n * ]\"\n * />\n * `\n * }\n */\n export default {};\n</script>\n"],"names":["BORDER_OFFSET","computedStyles","ref","getBorderRadius","element","radius","middleware","hide","offset","x","y","elements","target","uuid","_hoisted_2$1","_hoisted_3$1","openBlock","createElementBlock","mergeProps","_ctx","createCommentVNode","__default__$1","messages","DEFAULT_SCROLL_OPTIONS","props","__props","t","useI18n","emit","__emit","ACTION_SKIP","computed","ACTION_START","ACTION_NEXT","ACTION_FINISH","ACTION_OK","isPopoverOpen","isIndicatorVisible","targetElement","isRef","_a","isFirstStep","isLastStep","showSteps","menuData","RefreshIcon","BlockedIcon","computedActions","primaryAction","actions","watch","isActive","_b","nextTick","__default__","currentStep","totalSteps","isSingleTutorial","getPopoverProps","step","index","value"],"mappings":";;;;;;;;;;;AAmBI,MAAAA,IAAA;;;;;;;;;;;;;;;AAaA,UAAAC,IAAAC,EAAA;AAAA,MAA2B,OAAA;AAAA,MAChB,QAAA;AAAA,MACC,cAAA;AAAA,IACM,CAAA;AAGlB,aAAAC,EAAAC,GAAA;AACI,UAAA;AACI,cAAAC,IAAA,WAAA,iBAAAD,CAAA,EAAA,iBAAA,eAAA,CAAA;AACA,eAAA,OAAA,MAAAC,CAAA,IAAA,KAAA,GAAAA,IAAA,IAAAL,CAAA;AAAA,MAAgE,QAAA;AAEhE,eAAA;AAAA,MAAO;AAAA,IACX;AAGJ,UAAAM,IAAA;AAAA,MAAmBC,GAAA;AAAA,MACVC,GAAA;AAAA,QACE,UAAAR;AAAA,QACO,eAAA,CAAAA;AAAA,MACM,CAAA;AAAA,MACnB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A;AAAA,QACA,MAAAC;AAAA,QACN,YAAAJ,EAAA;AAAA,QACiB,QAAAG,EAAA;AAAA,QACV,eAAAnC,EAAA;AAAA;AAAA,QACQ,QAAAoC,MAAAL,EAAA;AAAA,QAGS,QAAAE,EAAA;AAAA,QACL,UAAAE,EAAA;AAAA,MACV;AAAA,IACnB;AAGJ,WAAAT,EAAAK,GAAA,CAAAI,MAAA;AACI,MAAA/B,EAAA,gBAAA+B,CAAA;AAAA,IAAyB,CAAA,GAG7BT;AAAA,MAAA,MAAA1B,EAAA;AAAA,MACgB,CAAAqC,MAAA;AAER,QAAAA,KAAA,MAAAA,KAAAL,EAAA,UACID,EAAA,QAAAM;AAAA,MACJ;AAAA,IACJ;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"tutorial.vue_vue_type_script_setup_true_lang.CEfCLTsD.js","sources":["../../../vue2/src/components/tutorial/components/tutorial-popover/components/tutorial-indicator/tutorial-indicator.vue","../../../ui-assets/icons-16/dist/vue/blocked.vue","../../../vue2/src/components/tutorial/components/tutorial-popover/tutorial-popover.vue","../../../vue2/src/components/tutorial/tutorial.vue"],"sourcesContent":["<template>\n <popper-container\n :target-element=\"targetElement\"\n :middleware=\"middleware\"\n position=\"top-start\"\n fixed-positioning\n disabled-focus-trap\n class=\"b-tutorial-indicator\"\n data-testid=\"tutorial-indicator\"\n >\n <div class=\"b-tutorial-indicator__highlight\" :style=\"computedStyles\"></div>\n </popper-container>\n</template>\n\n<script setup lang=\"ts\">\n import { ref } from 'vue';\n import { hide, type Middleware, offset } from '@floating-ui/vue';\n import { PopperContainer } from '@/components/popper-container';\n\n const BORDER_OFFSET = 2;\n\n defineProps({\n /**\n * Tutorial indicator's target element.\n * The indicator will position itself around the target element.\n */\n targetElement: {\n type: PopperContainer.props?.targetElement.type,\n required: true,\n },\n });\n\n const computedStyles = ref({\n width: '0',\n height: '0',\n borderRadius: '0',\n });\n\n function getBorderRadius(element: HTMLElement) {\n try {\n const radius = parseFloat(getComputedStyle(element).getPropertyValue('border-radius'));\n return Number.isNaN(radius) ? '' : `${radius + 2 * BORDER_OFFSET}px`;\n } catch {\n return '';\n }\n }\n\n const middleware = [\n hide(),\n offset({\n mainAxis: BORDER_OFFSET,\n alignmentAxis: -BORDER_OFFSET,\n }),\n {\n name: 'updateIndicatorSize',\n fn: ({ x, y, elements }) => {\n const target = elements.reference as HTMLElement;\n computedStyles.value.width = `${target.offsetWidth + 4 * BORDER_OFFSET}px`;\n computedStyles.value.height = `${target.offsetHeight + 4 * BORDER_OFFSET}px`;\n computedStyles.value.borderRadius = getBorderRadius(target);\n return { x, y };\n },\n } as Middleware,\n ];\n</script>\n\n<style lang=\"scss\" scoped src=\"./tutorial-indicator.scss\" />\n","\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><g :clip-path=\"'url(#uia-ui-assets/icons-16-blocked__a' + uuid + ')'\"><path fill=\"#001222\" d=\"M9.51195 0.398918C8.00859 0.0998821 6.45033 0.253358 5.0342 0.839937C3.61808 1.42652 2.40769 2.41985 1.55611 3.69433C0.704529 4.96881 0.25 6.4672 0.25 8C0.25 10.0554 1.06652 12.0267 2.51992 13.4801C3.97333 14.9335 5.94457 15.75 8 15.75C9.53281 15.75 11.0312 15.2955 12.3057 14.4439C13.5801 13.5923 14.5735 12.3819 15.1601 10.9658C15.7466 9.54967 15.9001 7.99141 15.6011 6.48805C15.3021 4.9847 14.5639 3.60378 13.4801 2.51993C12.3962 1.43607 11.0153 0.697953 9.51195 0.398918ZM5.60823 2.22576C6.75027 1.75271 8.00693 1.62894 9.21931 1.8701C10.4317 2.11125 11.5453 2.70651 12.4194 3.58059C13.2935 4.45466 13.8887 5.56831 14.1299 6.78069C14.3711 7.99307 14.2473 9.24974 13.7742 10.3918C13.5555 10.9198 13.2667 11.4124 12.9177 11.8573L4.14271 3.0823C4.58761 2.73333 5.08018 2.44448 5.60823 2.22576ZM3.08208 4.14298L11.857 12.9179C11.7327 13.0154 11.6044 13.1085 11.4723 13.1967C10.4445 13.8834 9.23613 14.25 8 14.25C6.3424 14.25 4.75268 13.5915 3.58058 12.4194C2.40848 11.2473 1.75 9.65761 1.75 8C1.75 6.76387 2.11656 5.5555 2.80331 4.52769C2.89155 4.39564 2.98456 4.26733 3.08208 4.14298Z\"/></g><defs><clipPath :id=\"'uia-ui-assets/icons-16-blocked__a' + uuid\"><rect width=\"16\" height=\"16\" fill=\"#fff\"/></clipPath></defs></svg>\n</template>\n<script>\n import '../css/main.css';\n\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n","<template>\n <div v-if=\"active && targetElement\">\n <tutorial-indicator v-if=\"isIndicatorVisible && targetElement\" :target-element=\"targetElement\" />\n\n <bento-popover\n :target-element=\"targetElement\"\n :position=\"position\"\n :open=\"isPopoverOpen\"\n :aria-label=\"title\"\n fixed-positioning\n class=\"b-tutorial-popover\"\n @keydown.esc.native=\"emit('finish')\"\n >\n <template v-if=\"image\" #image>\n <bento-image v-bind=\"image\" aspect-ratio=\"landscape\" class=\"b-tutorial-popover__image\" />\n </template>\n\n <div aria-hidden=\"true\" class=\"b-tutorial-popover__ripple\"></div>\n\n <div class=\"b-tutorial-popover__header\">\n <bento-typography variant=\"title\" el=\"span\"> {{ title }} </bento-typography>\n\n <bento-typography v-if=\"showSteps\" el=\"span\" class=\"b-tutorial-popover__steps\">\n {{ t('stepsOfTotal', { step, totalSteps }) }}\n </bento-typography>\n </div>\n\n <bento-typography>\n <slot />\n </bento-typography>\n\n <div class=\"b-tutorial-popover__footer\">\n <bento-menu\n v-if=\"!isFirstStep\"\n :data=\"menuData\"\n class=\"b-tutorial-popover__menu\"\n data-testid=\"menu-button\"\n />\n <div class=\"b-tutorial-popover__actions\">\n <bento-button-actions :actions=\"computedActions\" layout=\"buttons-end\" />\n </div>\n </div>\n </bento-popover>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, isRef, nextTick, type PropType, ref, type default as Vue, watch } from 'vue';\n import { BentoMenu } from '@/components/menu';\n import { BentoPopover, BentoPopoverPositions } from '@/components/popover';\n import { BentoTypography } from '@/components/typography';\n import { type BentoButtonActionObject, BentoButtonActions } from '@/components/button';\n import { BentoImage } from '@/components/image';\n import { TutorialIndicator } from './components/tutorial-indicator';\n import { useI18n } from '@/utils/ts/i18n';\n import type { BentoMenuItem } from '@/components/menu/components';\n import type { VueNodeElement } from '@/types/elements';\n import type { BentoTutorialScrollOptions, BentoTutorialStep } from '../../tutorial.types';\n import RefreshIcon from '@adyen/ui-assets-icons-16/vue/refresh';\n import BlockedIcon from '@adyen/ui-assets-icons-16/vue/blocked';\n\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const DEFAULT_SCROLL_OPTIONS: BentoTutorialScrollOptions = { behavior: 'smooth' };\n\n const props = defineProps({\n /**\n * Optional configuration for the secondary action.\n * In tour tutorials, this is ignored for the introductory step.\n */\n action: {\n type: Object as PropType<BentoButtonActionObject>,\n default: null,\n },\n\n /**\n * Indicates whether this popover is the active step (and should be visible).\n */\n active: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Optional illustration to display at the top of the popover.\n */\n image: {\n type: Object as PropType<BentoTutorialStep['image']>,\n default: null,\n },\n\n /**\n * Popover's position relative to the target element.\n * Possible values are:\n * 'auto', 'auto-start', 'auto-end',\n * 'top', 'top-start', 'top-end'\n * 'right', 'right-start', 'right-end'\n * 'bottom', 'bottom-start', 'bottom-end'\n * 'left', 'left-start', 'left-end'\n */\n position: {\n type: String as PropType<`${BentoPopoverPositions}`>,\n default: BentoPopoverPositions.BOTTOM_START,\n validator: (value: BentoPopoverPositions) => Object.values(BentoPopoverPositions).includes(value),\n },\n\n /**\n * Options to control the scroll into view behavior.\n * Takes the same options as the `scrollIntoView` function\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView}\n */\n scrollOptions: {\n type: [Boolean, Object] as PropType<BentoTutorialScrollOptions>,\n default: null,\n },\n\n /**\n * Indicates whether this popover is a single tutorial or a tour.\n */\n single: {\n type: Boolean,\n default: false,\n },\n\n /**\n * The tutorial step number.\n * In tour tutorials, `0` is the introductory step, and is displayed next\n * to the title.\n */\n step: {\n type: Number,\n default: null,\n },\n\n /**\n * Tutorial popover's target element.\n * The popover will position itself relatively to target element.\n */\n targetElement: {\n type: [Element, Object] as PropType<VueNodeElement>,\n required: true,\n },\n\n /**\n * The tutorial step title.\n */\n title: {\n type: String,\n required: true,\n },\n\n /**\n * Total count of steps.\n * In tour tutorials, this does not include the introductory step, and is\n * displayed next to the title.\n */\n totalSteps: {\n type: Number,\n default: null,\n },\n });\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const emit = defineEmits<{\n /**\n * Emitted when the user clicks the primary action in popovers during introductory or intermediate steps of tour tutorials\n */\n (e: 'next'): void;\n\n /**\n * Emitted when the user clicks the primary action in a single tutorial, the last step of a tour, or skips the tutorial\n */\n (e: 'finish'): void;\n\n /**\n * Emitted when the user selects the restart tour option\n */\n (e: 'restart'): void;\n }>();\n\n const ACTION_SKIP = computed<BentoButtonActionObject>(() => ({\n title: t('skipTour') as string,\n event: () => emit('finish'),\n }));\n\n const ACTION_START = computed<BentoButtonActionObject>(() => ({\n title: t('startTour') as string,\n event: () => emit('next'),\n }));\n\n const ACTION_NEXT = computed<BentoButtonActionObject>(() => ({\n title: t('next') as string,\n event: () => emit('next'),\n }));\n\n const ACTION_FINISH = computed<BentoButtonActionObject>(() => ({\n title: t('finish') as string,\n event: () => emit('finish'),\n }));\n\n const ACTION_OK = computed<BentoButtonActionObject>(() => ({\n title: t('ok') as string,\n event: () => emit('finish'),\n }));\n\n const isPopoverOpen = ref(false);\n const isIndicatorVisible = ref(false);\n\n const targetElement = computed(() => {\n if (isRef(props.targetElement)) {\n return ((props.targetElement.value as Vue)?.$el || props.targetElement.value) as HTMLElement;\n }\n return ((props.targetElement as Vue).$el || props.targetElement) as HTMLElement;\n });\n\n const isFirstStep = computed(() => props.step === 0);\n const isLastStep = computed(() => props.step === props.totalSteps);\n\n const showSteps = computed(() => !isFirstStep.value);\n\n const menuData = computed<Array<BentoMenuItem>>(() => [\n {\n text: t('restartTour'),\n handler: () => emit('restart'),\n icon: RefreshIcon,\n },\n ...(isLastStep.value\n ? []\n : [\n {\n text: t('skipTour'),\n handler: () => emit('finish'),\n icon: BlockedIcon,\n },\n ]),\n ]);\n\n const computedActions = computed(() => {\n let primaryAction: BentoButtonActionObject;\n if (isFirstStep.value) {\n primaryAction = props.single ? ACTION_OK.value : ACTION_START.value;\n } else if (isLastStep.value) {\n primaryAction = ACTION_FINISH.value;\n } else {\n primaryAction = ACTION_NEXT.value;\n }\n\n const actions = [primaryAction];\n if (isFirstStep.value && !props.single) {\n actions.push(ACTION_SKIP.value);\n } else if (props.action) {\n actions.push(props.action);\n }\n\n return actions;\n });\n\n watch(\n () => props.active,\n async isActive => {\n if (isActive && targetElement.value?.scrollIntoView) {\n targetElement.value?.scrollIntoView(\n props.scrollOptions != null ? props.scrollOptions : DEFAULT_SCROLL_OPTIONS\n );\n\n // Skip to next tick to preserve popover appear animation\n await nextTick();\n }\n\n isPopoverOpen.value = isActive;\n isIndicatorVisible.value = isActive;\n },\n { immediate: true }\n );\n</script>\n\n<script lang=\"ts\">\n export default {\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./tutorial-popover.scss\" />\n","<template>\n <div class=\"b-tutorial\">\n <tutorial-popover\n v-for=\"(step, i) in steps\"\n v-bind=\"getPopoverProps(step, i)\"\n :key=\"step.title\"\n @finish=\"currentStep = -1\"\n @next=\"currentStep += 1\"\n @restart=\"currentStep = 0\"\n >\n {{ step.description }}\n </tutorial-popover>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, type PropType, ref, watch } from 'vue';\n import { TutorialPopover } from './components/tutorial-popover';\n import type { BentoTutorialScrollOptions, BentoTutorialStep } from './tutorial.types';\n\n const props = defineProps({\n /**\n * The current step index. If provided, will start the tutorial in that step.\n */\n index: {\n type: Number,\n default: null,\n },\n\n /**\n * The steps configuration for the tutorial.\n *\n */\n steps: {\n type: Array as PropType<Array<BentoTutorialStep>>,\n required: true,\n validator: (value: Array<BentoTutorialStep>) => value.length > 0,\n },\n\n /**\n * Options to control the scroll into view behavior.\n * Takes the same options as the `scrollIntoView` function\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView}\n */\n scrollOptions: {\n type: [Boolean, Object] as PropType<BentoTutorialScrollOptions>,\n default: null,\n },\n });\n\n const emit = defineEmits<{\n /**\n * Fired every time the step index is changed. `-1` value means the tutorial is finished/skipped.\n */\n (e: 'update:index', value: number);\n }>();\n\n const currentStep = ref(props.index || 0);\n\n const totalSteps = computed(() => props.steps.length - 1);\n const isSingleTutorial = computed(() => totalSteps.value === 0);\n\n function getPopoverProps(step: BentoTutorialStep, index: number) {\n return {\n // Visual\n targetElement: step.target,\n image: step.image,\n title: step.title,\n step: index,\n totalSteps: totalSteps.value,\n action: step.action,\n scrollOptions: props.scrollOptions,\n\n // Config\n active: index === currentStep.value,\n single: isSingleTutorial.value,\n position: step.position,\n };\n }\n\n watch(currentStep, step => {\n emit('update:index', step);\n });\n\n watch(\n () => props.index,\n value => {\n if (value >= -1 && value <= totalSteps.value) {\n currentStep.value = value;\n }\n }\n );\n</script>\n\n<script lang=\"ts\">\n /**\n * The Tutorial is a temporary popover that should be used to educate users about\n * new or unfamiliar features or experiences.\n *\n * You can use single tutorial or chain them into a tour.\n *\n * Only use this component for new features/experiences that are not obvious and\n * self-explanatory on their own.\n *\n * @example\n * import { BentoTutorial } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoTutorial },\n * template: `\n * <bento-tutorial\n * :steps=\"[\n * {\n * target: targetElement1,\n * title: 'Tutorial intro title',\n * description: 'Intro body content',\n * image: { src: imageSource, alt: 'Alt text' }\n * },\n * {\n * target: targetElement1,\n * title: 'Tutorial intro title',\n * description: 'Intro body content',\n * action: { title: 'Action label', event: () => {} }\n * },\n * ]\"\n * />\n * `\n * }\n */\n export default {};\n</script>\n"],"names":["BORDER_OFFSET","computedStyles","ref","getBorderRadius","element","radius","middleware","hide","offset","x","y","elements","target","uuid","_hoisted_2$1","_hoisted_3$1","openBlock","createElementBlock","mergeProps","_ctx","createCommentVNode","__default__$1","messages","DEFAULT_SCROLL_OPTIONS","props","__props","t","useI18n","emit","__emit","ACTION_SKIP","computed","ACTION_START","ACTION_NEXT","ACTION_FINISH","ACTION_OK","isPopoverOpen","isIndicatorVisible","targetElement","isRef","_a","isFirstStep","isLastStep","showSteps","menuData","RefreshIcon","BlockedIcon","computedActions","primaryAction","actions","watch","isActive","_b","nextTick","__default__","currentStep","totalSteps","isSingleTutorial","getPopoverProps","step","index","value"],"mappings":";;;;;;;;;;;AAmBI,MAAAA,IAAA;;;;;;;;;;;;;;;AAaA,UAAAC,IAAAC,EAAA;AAAA,MAA2B,OAAA;AAAA,MAChB,QAAA;AAAA,MACC,cAAA;AAAA,IACM,CAAA;AAGlB,aAAAC,EAAAC,GAAA;AACI,UAAA;AACI,cAAAC,IAAA,WAAA,iBAAAD,CAAA,EAAA,iBAAA,eAAA,CAAA;AACA,eAAA,OAAA,MAAAC,CAAA,IAAA,KAAA,GAAAA,IAAA,IAAAL,CAAA;AAAA,MAAgE,QAAA;AAEhE,eAAA;AAAA,MAAO;AAAA,IACX;AAGJ,UAAAM,IAAA;AAAA,MAAmBC,GAAA;AAAA,MACVC,GAAA;AAAA,QACE,UAAAR;AAAA,QACO,eAAA;AAAA,MACM,CAAA;AAAA,MACnB;AAAA,QACD,MAAA;AAAA,QACU,IAAA,CAAA,EAAA,GAAAS,GAAA,GAAAC,GAAA,UAAAC,EAAA,MAAA;AAEF,gBAAAC,IAAAD,EAAA;AACA,iBAAAV,EAAA,MAAA,QAAA,GAAAW,EAAA,cAA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ACL,UAAAE,EAAA;AAAA,MACV;AAAA,IACnB;AAGJ,WAAAT,EAAAK,GAAA,CAAAI,MAAA;AACI,MAAA/B,EAAA,gBAAA+B,CAAA;AAAA,IAAyB,CAAA,GAG7BT;AAAA,MAAA,MAAA1B,EAAA;AAAA,MACgB,CAAAqC,MAAA;AAER,QAAAA,KAAA,MAAAA,KAAAL,EAAA,UACID,EAAA,QAAAM;AAAA,MACJ;AAAA,IACJ;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"typography.6Oo5TOMP.js","sources":["../../../vue2/src/utils/ts/dev-environment.ts","../../../vue2/src/utils/ts/print-development-warning.ts","../../../vue2/src/utils/ts/deprecate.ts","../../../vue2/src/components/typography/typography.types.ts","../../../vue2/src/components/typography/typography.vue"],"sourcesContent":["const DEV_ENVIROMENT_NAMES = ['development', 'DEVELOPMENT', 'dev', 'DEV'];\n\nexport const isDevelopmentEnviroment = () => DEV_ENVIROMENT_NAMES.includes(process.env.NODE_ENV);\n","import { isDevelopmentEnviroment } from '@/utils/ts/dev-environment';\n\n/**\n * Prints console.warn messages in development mode only.\n *\n * @see console.warn for what parameters you can use\n */\n\nexport function printDevelopmentWarning(...args: Parameters<typeof console.warn>) {\n if (isDevelopmentEnviroment()) {\n // eslint-disable-next-line no-console\n console.warn(...args);\n }\n}\n","import { printDevelopmentWarning } from './print-development-warning';\n\nconst DEPRECATION_STYLES = ['color: red', 'background: yellow'].join(';');\nconst shownMessages = new Set<string>();\n\n/**\n * Informs users about the deprecations in development mode only.\n *\n * @param title Indicates what is being deprecated.\n * @param deprecationMessage How to avoid the deprecation by giving an example of the alternatives. Backticks can be used to multi-line the message.\n * @param toBeRemovedInVersion The version it will be removed. Must be in X.Y.Z format.\n */\nexport function deprecate(title: string, deprecationMessage: string, toBeRemovedInVersion: string) {\n // If the message is already showing, don't show it again\n if (!shownMessages.has(title)) {\n printDevelopmentWarning(`%cDEPRECATED:\\x1b[0m ${title}`, DEPRECATION_STYLES);\n // Format multi-line descriptions with the backtick\n printDevelopmentWarning(`${deprecationMessage.replaceAll(' ', '').trim()}`);\n printDevelopmentWarning(`To be removed in: %c${toBeRemovedInVersion}`, DEPRECATION_STYLES);\n shownMessages.add(title);\n }\n}\n\n/**\n * Reset shownMessages set\n *\n * @deprecated For testing purposes only. Do not use.\n */\nexport function resetShownMessages() {\n shownMessages.clear();\n}\n","/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoTypographyVariant {\n CAPTION = 'caption',\n BODY = 'body',\n /** @deprecated Use \"TITLE\" instead. */\n SUBTITLE = 'subtitle',\n TITLE = 'title',\n}\n\nexport enum BentoTypographyModifier {\n WIDE = 'wide',\n STRONGER = 'stronger',\n STRONGER_WIDE = 'stronger-wide',\n STRONGEST = 'strongest',\n STRONGEST_WIDE = 'strongest-wide',\n MEDIUM = 'm',\n LARGE = 'l',\n MOBILE = 'mobile',\n}\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoTypographyElement {\n H1 = 'h1',\n H2 = 'h2',\n H3 = 'h3',\n H4 = 'h4',\n H5 = 'h5',\n H6 = 'h6',\n DIV = 'div',\n PARAGRAPH = 'p',\n SPAN = 'span',\n}\n\nexport interface BentoTypographyProps {\n /**\n * Sets the HTML DOM element.\n * @values h1, h2, h3, h4, h5, h6, div, p, span\n */\n el?: BentoTypographyElement | `${BentoTypographyElement}`;\n\n /**\n * Adds the large class modifier.\n * Applicable to the Title variant.\n */\n large?: boolean;\n\n /**\n * Adds the medium class modifier.\n * Applicable to the Title variant.\n */\n medium?: boolean;\n\n /**\n * Adds the rich-text modifier, which allows for the use of HTML tags inside typography.\n */\n richText?: boolean;\n\n /**\n * Adds the stronger class modifier.\n * Applicable to Caption, Body and Subtitle variants.\n */\n stronger?: boolean;\n\n /**\n * Adds the strongest class modifier.\n * Applicable to Caption, Body and Subtitle variants.\n */\n strongest?: boolean;\n\n /**\n * Sets the type of typography variant.\n * @values caption, body, title.\n */\n variant?: BentoTypographyVariant | `${BentoTypographyVariant}`;\n\n /**\n * Adds the medium class modifier.\n * Applicable to the Body variant.\n */\n wide?: boolean;\n}\n","<template>\n <component :is=\"el\" class=\"b-typography\" :class=\"conditionalClasses\" data-testid=\"typography\">\n <slot />\n </component>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, onMounted } from 'vue';\n import { deprecate } from '@/utils/ts/deprecate';\n import {\n BentoTypographyElement,\n BentoTypographyModifier,\n type BentoTypographyProps,\n BentoTypographyVariant,\n } from './typography.types';\n\n const props = withDefaults(defineProps<BentoTypographyProps>(), {\n el: BentoTypographyElement.PARAGRAPH,\n large: false,\n medium: false,\n stronger: false,\n strongest: false,\n variant: BentoTypographyVariant.BODY,\n wide: false,\n });\n\n if (props.variant === BentoTypographyVariant.SUBTITLE) {\n deprecate(\n 'BentoTypography \"subtitle\" variant (BentoTypographyVariant.SUBTITLE)',\n `Use the \"title\" or \"BentoTypographyVariant.TITLE\" variant and (optionally) combine it with a size property. e.g. medium / large.\n <bento-typography :variant=\"BentoTypographyVariant.TITLE\" medium>`,\n '2.0.0'\n );\n }\n\n const conditionalClasses = computed(() => ({\n // Rich text\n ['b-typography--rich-text']: props.richText,\n // Caption\n [`b-typography--${BentoTypographyVariant.CAPTION}`]: props.variant === BentoTypographyVariant.CAPTION,\n [`b-typography--${BentoTypographyVariant.CAPTION}-${BentoTypographyModifier.WIDE}`]:\n props.variant === BentoTypographyVariant.CAPTION && props.wide,\n [`b-typography--${BentoTypographyVariant.CAPTION}-${BentoTypographyModifier.STRONGER}`]:\n props.variant === BentoTypographyVariant.CAPTION && props.stronger,\n\n // Body\n [`b-typography--${BentoTypographyVariant.BODY}`]: props.variant === BentoTypographyVariant.BODY,\n [`b-typography--${BentoTypographyVariant.BODY}-${BentoTypographyModifier.WIDE}`]:\n props.variant === BentoTypographyVariant.BODY && props.wide,\n [`b-typography--${BentoTypographyVariant.BODY}-${BentoTypographyModifier.STRONGER}`]:\n props.variant === BentoTypographyVariant.BODY && props.stronger,\n [`b-typography--${BentoTypographyVariant.BODY}-${BentoTypographyModifier.STRONGEST}`]:\n props.variant === BentoTypographyVariant.BODY && props.strongest,\n\n // Subtitle\n [`b-typography--${BentoTypographyVariant.SUBTITLE}`]: props.variant === BentoTypographyVariant.SUBTITLE,\n [`b-typography--${BentoTypographyVariant.SUBTITLE}-${BentoTypographyModifier.STRONGER}`]:\n props.variant === BentoTypographyVariant.SUBTITLE && props.stronger,\n\n // Title\n [`b-typography--${BentoTypographyVariant.TITLE}`]:\n props.variant === BentoTypographyVariant.TITLE && !props.medium && !props.large,\n [`b-typography--${BentoTypographyVariant.TITLE}-${BentoTypographyModifier.MEDIUM}`]:\n props.variant === BentoTypographyVariant.TITLE && props.medium,\n [`b-typography--${BentoTypographyVariant.TITLE}-${BentoTypographyModifier.LARGE}`]:\n props.variant === BentoTypographyVariant.TITLE && props.large,\n }));\n\n onMounted(() => {\n if (props.richText && props.el !== 'div') {\n throw new Error('Rich-text prop must be used with el=\"div\" for correct HTML semantics');\n }\n\n if (props.richText && props.variant === 'title') {\n throw new Error('Rich-text prop cannot be used with the title variant.');\n }\n\n if (props.richText && props.variant === 'subtitle') {\n throw new Error('Rich-text prop cannot be used with the subtitle variant.');\n }\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * The Typography component makes it easy to apply a default set of font weights, sizes and other text styles\n * easily to text. The variants and properties match with those found in Figma.\n *\n * For example, seeing text with the typography styling of\n *\n * @example\n * import { BentoTypography } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoTypography },\n * template: `\n * <bento-typography>\n * ... text content\n * </bento-typography>\n * `\n * }\n */\n export default {\n name: 'bento-typography',\n inheritAttrs: true,\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./typography.scss\" />\n"],"names":["DEV_ENVIROMENT_NAMES","isDevelopmentEnviroment","printDevelopmentWarning","args","DEPRECATION_STYLES","shownMessages","deprecate","title","deprecationMessage","toBeRemovedInVersion","BentoTypographyVariant","BentoTypographyVariant2","BentoTypographyModifier","BentoTypographyModifier2","BentoTypographyElement","BentoTypographyElement2","__default__","props","__props","conditionalClasses","computed","onMounted"],"mappings":";;;AAAA,MAAAA,IAAA,CAAA,eAAA,eAAA,OAAA,KAAA,GAEOC,IAAA,MAAAD,EAAA,SAAA,QAAA,IAAA,QAAA;ACMA,SAAAE,KAAAC,GAAA;AACH,EAAAF,EAAA,KAEI,QAAA,KAAA,GAAAE,CAAA;AAER;ACXA,MAAAC,IAAA,CAAA,cAAA,oBAAA,EAAA,KAAA,GAAA,GACAC,IAAA,oBAAA,IAAA;AASO,SAAAC,EAAAC,GAAAC,GAAAC,GAAA;AAEH,EAAAJ,EAAA,IAAAE,CAAA,MACIL,EAAA,wBAAAK,CAAA,IAAAH,CAAA,GAEAF,EAAA,GAAAM,EAAA,WAAA,MAAA,EAAA,EAAA,KAAA,CAAA,EAAA,GACAN,EAAA,uBAAAO,CAAA,IAAAL,CAAA,GACAC,EAAA,IAAAE,CAAA;AAER;AClBO,IAAAG,IAAA,kBAAAC,OACHA,EAAA,UAAA,WACAA,EAAA,OAAA,QAEAA,EAAA,WAAA,YACAA,EAAA,QAAA,SALQA,IAAAD,KAAA,CAAA,CAAA,GAQLE,IAAA,kBAAAC,OACHA,EAAA,OAAA,QACAA,EAAA,WAAA,YACAA,EAAA,gBAAA,iBACAA,EAAA,YAAA,aACAA,EAAA,iBAAA,kBACAA,EAAA,SAAA,KACAA,EAAA,QAAA,KACAA,EAAA,SAAA,UARQA,IAAAD,KAAA,CAAA,CAAA,GAcLE,IAAA,kBAAAC,OACHA,EAAA,KAAA,MACAA,EAAA,KAAA,MACAA,EAAA,KAAA,MACAA,EAAA,KAAA,MACAA,EAAA,KAAA,MACAA,EAAA,KAAA,MACAA,EAAA,MAAA,OACAA,EAAA,YAAA,KACAA,EAAA,OAAA,QATQA,IAAAD,KAAA,CAAA,CAAA;AC6ER,MAAAE,IAAA;AAAA,EAAe,MAAA;AAAA,EACL,cAAA;AAEV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A,GAAAK,EAAA,YAAAP,EAAA,SAAAO,EAAA;AAAA,MAElB,CAAA,iBAAAP,EAAA,KAAA,IAAAE,EAAA,KAAA,EAAA,GAAAK,EAAA,YAAAP,EAAA,SAAAO,EAAA;AAAA,IAEA,EAAA;AAGhE,WAAAI,EAAA,MAAA;AACI,UAAAJ,EAAA,YAAAA,EAAA,OAAA;AACI,cAAA,IAAA,MAAA,sEAAA;AAGJ,UAAAA,EAAA,YAAAA,EAAA,YAAA;AACI,cAAA,IAAA,MAAA,uDAAA;AAGJ,UAAAA,EAAA,YAAAA,EAAA,YAAA;AACI,cAAA,IAAA,MAAA,0DAAA;AAAA,IACJ,CAAA;;;;;;;;;;;"}
1
+ {"version":3,"file":"typography.6Oo5TOMP.js","sources":["../../../vue2/src/utils/ts/dev-environment.ts","../../../vue2/src/utils/ts/print-development-warning.ts","../../../vue2/src/utils/ts/deprecate.ts","../../../vue2/src/components/typography/typography.types.ts","../../../vue2/src/components/typography/typography.vue"],"sourcesContent":["const DEV_ENVIROMENT_NAMES = ['development', 'DEVELOPMENT', 'dev', 'DEV'];\n\nexport const isDevelopmentEnviroment = () => DEV_ENVIROMENT_NAMES.includes(process.env.NODE_ENV);\n","import { isDevelopmentEnviroment } from '@/utils/ts/dev-environment';\n\n/**\n * Prints console.warn messages in development mode only.\n *\n * @see console.warn for what parameters you can use\n */\n\nexport function printDevelopmentWarning(...args: Parameters<typeof console.warn>) {\n if (isDevelopmentEnviroment()) {\n // eslint-disable-next-line no-console\n console.warn(...args);\n }\n}\n","import { printDevelopmentWarning } from './print-development-warning';\n\nconst DEPRECATION_STYLES = ['color: red', 'background: yellow'].join(';');\nconst shownMessages = new Set<string>();\n\n/**\n * Informs users about the deprecations in development mode only.\n *\n * @param title Indicates what is being deprecated.\n * @param deprecationMessage How to avoid the deprecation by giving an example of the alternatives. Backticks can be used to multi-line the message.\n * @param toBeRemovedInVersion The version it will be removed. Must be in X.Y.Z format.\n */\nexport function deprecate(title: string, deprecationMessage: string, toBeRemovedInVersion: string) {\n // If the message is already showing, don't show it again\n if (!shownMessages.has(title)) {\n printDevelopmentWarning(`%cDEPRECATED:\\x1b[0m ${title}`, DEPRECATION_STYLES);\n // Format multi-line descriptions with the backtick\n printDevelopmentWarning(`${deprecationMessage.replaceAll(' ', '').trim()}`);\n printDevelopmentWarning(`To be removed in: %c${toBeRemovedInVersion}`, DEPRECATION_STYLES);\n shownMessages.add(title);\n }\n}\n\n/**\n * Reset shownMessages set\n *\n * @deprecated For testing purposes only. Do not use.\n */\nexport function resetShownMessages() {\n shownMessages.clear();\n}\n","/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoTypographyVariant {\n CAPTION = 'caption',\n BODY = 'body',\n /** @deprecated Use \"TITLE\" instead. */\n SUBTITLE = 'subtitle',\n TITLE = 'title',\n}\n\nexport enum BentoTypographyModifier {\n WIDE = 'wide',\n STRONGER = 'stronger',\n STRONGER_WIDE = 'stronger-wide',\n STRONGEST = 'strongest',\n STRONGEST_WIDE = 'strongest-wide',\n MEDIUM = 'm',\n LARGE = 'l',\n MOBILE = 'mobile',\n}\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoTypographyElement {\n H1 = 'h1',\n H2 = 'h2',\n H3 = 'h3',\n H4 = 'h4',\n H5 = 'h5',\n H6 = 'h6',\n DIV = 'div',\n PARAGRAPH = 'p',\n SPAN = 'span',\n}\n\nexport interface BentoTypographyProps {\n /**\n * Sets the HTML DOM element.\n * @values h1, h2, h3, h4, h5, h6, div, p, span\n */\n el?: BentoTypographyElement | `${BentoTypographyElement}`;\n\n /**\n * Adds the large class modifier.\n * Applicable to the Title variant.\n */\n large?: boolean;\n\n /**\n * Adds the medium class modifier.\n * Applicable to the Title variant.\n */\n medium?: boolean;\n\n /**\n * Adds the rich-text modifier, which allows for the use of HTML tags inside typography.\n */\n richText?: boolean;\n\n /**\n * Adds the stronger class modifier.\n * Applicable to Caption, Body and Subtitle variants.\n */\n stronger?: boolean;\n\n /**\n * Adds the strongest class modifier.\n * Applicable to Caption, Body and Subtitle variants.\n */\n strongest?: boolean;\n\n /**\n * Sets the type of typography variant.\n * @values caption, body, title.\n */\n variant?: BentoTypographyVariant | `${BentoTypographyVariant}`;\n\n /**\n * Adds the medium class modifier.\n * Applicable to the Body variant.\n */\n wide?: boolean;\n}\n","<template>\n <component :is=\"el\" class=\"b-typography\" :class=\"conditionalClasses\" data-testid=\"typography\">\n <slot />\n </component>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, onMounted } from 'vue';\n import { deprecate } from '@/utils/ts/deprecate';\n import {\n BentoTypographyElement,\n BentoTypographyModifier,\n type BentoTypographyProps,\n BentoTypographyVariant,\n } from './typography.types';\n\n const props = withDefaults(defineProps<BentoTypographyProps>(), {\n el: BentoTypographyElement.PARAGRAPH,\n large: false,\n medium: false,\n stronger: false,\n strongest: false,\n variant: BentoTypographyVariant.BODY,\n wide: false,\n });\n\n if (props.variant === BentoTypographyVariant.SUBTITLE) {\n deprecate(\n 'BentoTypography \"subtitle\" variant (BentoTypographyVariant.SUBTITLE)',\n `Use the \"title\" or \"BentoTypographyVariant.TITLE\" variant and (optionally) combine it with a size property. e.g. medium / large.\n <bento-typography :variant=\"BentoTypographyVariant.TITLE\" medium>`,\n '2.0.0'\n );\n }\n\n const conditionalClasses = computed(() => ({\n // Rich text\n ['b-typography--rich-text']: props.richText,\n // Caption\n [`b-typography--${BentoTypographyVariant.CAPTION}`]: props.variant === BentoTypographyVariant.CAPTION,\n [`b-typography--${BentoTypographyVariant.CAPTION}-${BentoTypographyModifier.WIDE}`]:\n props.variant === BentoTypographyVariant.CAPTION && props.wide,\n [`b-typography--${BentoTypographyVariant.CAPTION}-${BentoTypographyModifier.STRONGER}`]:\n props.variant === BentoTypographyVariant.CAPTION && props.stronger,\n\n // Body\n [`b-typography--${BentoTypographyVariant.BODY}`]: props.variant === BentoTypographyVariant.BODY,\n [`b-typography--${BentoTypographyVariant.BODY}-${BentoTypographyModifier.WIDE}`]:\n props.variant === BentoTypographyVariant.BODY && props.wide,\n [`b-typography--${BentoTypographyVariant.BODY}-${BentoTypographyModifier.STRONGER}`]:\n props.variant === BentoTypographyVariant.BODY && props.stronger,\n [`b-typography--${BentoTypographyVariant.BODY}-${BentoTypographyModifier.STRONGEST}`]:\n props.variant === BentoTypographyVariant.BODY && props.strongest,\n\n // Subtitle\n [`b-typography--${BentoTypographyVariant.SUBTITLE}`]: props.variant === BentoTypographyVariant.SUBTITLE,\n [`b-typography--${BentoTypographyVariant.SUBTITLE}-${BentoTypographyModifier.STRONGER}`]:\n props.variant === BentoTypographyVariant.SUBTITLE && props.stronger,\n\n // Title\n [`b-typography--${BentoTypographyVariant.TITLE}`]:\n props.variant === BentoTypographyVariant.TITLE && !props.medium && !props.large,\n [`b-typography--${BentoTypographyVariant.TITLE}-${BentoTypographyModifier.MEDIUM}`]:\n props.variant === BentoTypographyVariant.TITLE && props.medium,\n [`b-typography--${BentoTypographyVariant.TITLE}-${BentoTypographyModifier.LARGE}`]:\n props.variant === BentoTypographyVariant.TITLE && props.large,\n }));\n\n onMounted(() => {\n if (props.richText && props.el !== 'div') {\n throw new Error('Rich-text prop must be used with el=\"div\" for correct HTML semantics');\n }\n\n if (props.richText && props.variant === 'title') {\n throw new Error('Rich-text prop cannot be used with the title variant.');\n }\n\n if (props.richText && props.variant === 'subtitle') {\n throw new Error('Rich-text prop cannot be used with the subtitle variant.');\n }\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * The Typography component makes it easy to apply a default set of font weights, sizes and other text styles\n * easily to text. The variants and properties match with those found in Figma.\n *\n * For example, seeing text with the typography styling of\n *\n * @example\n * import { BentoTypography } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoTypography },\n * template: `\n * <bento-typography>\n * ... text content\n * </bento-typography>\n * `\n * }\n */\n export default {\n name: 'bento-typography',\n inheritAttrs: true,\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./typography.scss\" />\n"],"names":["DEV_ENVIROMENT_NAMES","isDevelopmentEnviroment","printDevelopmentWarning","args","DEPRECATION_STYLES","shownMessages","deprecate","title","deprecationMessage","toBeRemovedInVersion","BentoTypographyVariant","BentoTypographyVariant2","BentoTypographyModifier","BentoTypographyModifier2","BentoTypographyElement","BentoTypographyElement2","__default__","props","__props","conditionalClasses","computed","onMounted"],"mappings":";;;AAAA,MAAAA,IAAA,CAAA,eAAA,eAAA,OAAA,KAAA,GAEOC,IAAA,MAAAD,EAAA,SAAA,QAAA,IAAA,QAAA;ACMA,SAAAE,KAAAC,GAAA;AACH,EAAAF,EAAA,KAEI,QAAA,KAAA,GAAAE,CAAA;AAER;ACXA,MAAAC,IAAA,CAAA,cAAA,oBAAA,EAAA,KAAA,GAAA,GACAC,IAAA,oBAAA,IAAA;AASgB,SAAAC,EAAAC,GAAAC,GAAAC,GAAA;AAEZ,EAAAJ,EAAA,IAAAE,CAAA,MACIL,EAAA,wBAAAK,CAAA,IAAAH,CAAA,GAEAF,EAAA,GAAAM,EAAA,WAAA,MAAA,EAAA,EAAA,KAAA,CAAA,EAAA,GACAN,EAAA,uBAAAO,CAAA,IAAAL,CAAA,GACAC,EAAA,IAAAE,CAAA;AAER;AClBY,IAAAG,IAAA,kBAAAC,OACRA,EAAA,UAAA,WACAA,EAAA,OAAA,QAEAA,EAAA,WAAA,YACAA,EAAA,QAAA,SALQA,IAAAD,KAAA,CAAA,CAAA,GAQAE,IAAA,kBAAAC,OACRA,EAAA,OAAA,QACAA,EAAA,WAAA,YACAA,EAAA,gBAAA,iBACAA,EAAA,YAAA,aACAA,EAAA,iBAAA,kBACAA,EAAA,SAAA,KACAA,EAAA,QAAA,KACAA,EAAA,SAAA,UARQA,IAAAD,KAAA,CAAA,CAAA,GAcAE,IAAA,kBAAAC,OACRA,EAAA,KAAA,MACAA,EAAA,KAAA,MACAA,EAAA,KAAA,MACAA,EAAA,KAAA,MACAA,EAAA,KAAA,MACAA,EAAA,KAAA,MACAA,EAAA,MAAA,OACA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AAO,EAAA,YAAAP,EAAA,SAAA,CAAAO,EAAA,UAAA,CAAAA,EAAA;AAAA,MAIe,CAAA,iBAAAP,EAAA,KAAA,IAAAE,EAAA,MAAA,EAAA,GAAAK,EAAA,YAAAP,EAAA,SAAAO,EAAA;AAAA,MAElB,CAAA,iBAAAP,EAAA,KAAA,IAAAE,EAAA,KAAA,EAAA,GAAAK,EAAA,YAAAP,EAAA,SAAAO,EAAA;AAAA,IAEA,EAAA;AAGhE,WAAAI,EAAA,MAAA;AACI,UAAAJ,EAAA,YAAAA,EAAA,OAAA;AACI,cAAA,IAAA,MAAA,sEAAA;AAGJ,UAAAA,EAAA,YAAAA,EAAA,YAAA;AACI,cAAA,IAAA,MAAA,uDAAA;AAGJ,UAAAA,EAAA,YAAAA,EAAA,YAAA;AACI,cAAA,IAAA,MAAA,0DAAA;AAAA,IACJ,CAAA;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"upload-files.5wQwbfkp.js","sources":["../../../vue2/src/components/empty-state/assets/large/upload-files.svg"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='300'%20height='300'%20viewBox='0%200%20300%20300'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_69_698)'%3e%3cpath%20d='M274.644%2053.2879H106.437V257.832H274.644V53.2879Z'%20fill='%23EEF0F3'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-dasharray='4.71%204.71'/%3e%3cpath%20d='M110.981%2042.4709L99.6461%2058.7553L83.4088%2047.4485L46.2676%20108.659L147.416%20174.663L195.897%2097.1682L110.981%2042.4709Z'%20fill='white'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M83.4089%2047.4485L95.1584%2059.5747L98.2617%2054.7666L83.4089%2047.4485Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M83.4089%2047.4485L110.981%2042.4709L99.6462%2058.7553L83.4089%2047.4485Z'%20fill='white'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M194.894%20164.952L207.232%20216.598L222.509%20203.775L234.72%20218.326L240.541%20213.443L228.33%20198.891L243.611%20186.073L194.894%20164.952Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M200.555%2081.5855C199.528%2081.7644%20198.845%2082.7439%20199.029%2083.7658L202.217%20101.854L203.361%20108.348C203.945%20111.673%20201.718%20114.851%20198.393%20115.44C195.068%20116.024%20191.885%20113.796%20191.301%20110.476L190.566%20106.304L190.157%20103.987L186.969%2085.8991L186.587%2083.7282L186.399%2082.6545C185.994%2080.3517%20187.534%2078.1525%20189.837%2077.7428C192.139%2077.3378%20194.339%2078.8777%20194.748%2081.1805L198.511%20102.513C198.737%20103.794%20197.88%20105.014%20196.599%20105.24C195.318%20105.466%20194.098%20104.609%20193.872%20103.328L190.684%2085.2398C190.505%2084.2132%20189.526%2083.5304%20188.504%2083.714C187.482%2083.8977%20186.794%2084.8725%20186.978%2085.8944L190.166%20103.982C190.75%20107.307%20193.934%20109.535%20197.258%20108.951C200.583%20108.367%20202.81%20105.183%20202.226%20101.859L199.038%2083.7705L198.464%2080.5259C197.696%2076.1793%20193.538%2073.2643%20189.191%2074.0319C184.845%2074.7995%20181.93%2078.9578%20182.697%2083.3043L187.604%20111.131C188.551%20116.499%20193.689%20120.097%20199.062%20119.151C204.43%20118.204%20208.033%20113.066%20207.082%20107.693L202.749%2083.1113C202.57%2082.0847%20201.591%2081.4018%20200.569%2081.5855H200.555Z'%20fill='white'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M190.957%20225.946L33.275%20198.143C28.1514%20197.239%2024.7325%20192.355%2025.6367%20187.232L46.8987%2066.6526C47.8029%2061.529%2052.6863%2058.1102%2057.8099%2059.0143L89.1493%2064.5382C92.8414%2065.1881%2096.1189%2067.2789%2098.271%2070.3493L99.1988%2071.6726C101.346%2074.743%20104.628%2076.8339%20108.32%2077.4838L213.863%2096.0945C218.987%2096.9987%20222.405%20101.882%20221.501%20107.006L201.873%20218.307C200.969%20223.431%20196.086%20226.85%20190.962%20225.946H190.957Z'%20fill='%23D5F3E1'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M212.216%20105.367L54.5365%2077.5637C49.4139%2076.6605%2044.529%2080.0809%2043.6257%2085.2035L25.6354%20187.232C24.7321%20192.355%2028.1526%20197.24%2033.2752%20198.143L190.955%20225.946C196.078%20226.849%20200.963%20223.429%20201.866%20218.306L219.857%20116.278C220.76%20111.155%20217.339%20106.27%20212.216%20105.367Z'%20fill='%2385DFA9'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M105.005%20189.337L151.075%2078.4209L230.731%20107.415L184.656%20218.326L105.005%20189.337Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M192.074%20213.616L230.73%20107.412L151.076%2078.4202L112.421%20184.625L192.074%20213.616Z'%20fill='white'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M118.459%20181.814L189.262%20207.584L224.696%20110.23L153.893%2084.4599L118.459%20181.814Z'%20fill='%230ABF53'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M200.23%20166.464L144.577%20176.278C147.284%20191.644%20161.939%20201.905%20177.31%20199.198C192.676%20196.49%20202.938%20181.835%20200.23%20166.464Z'%20fill='%23D5F3E1'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M155.921%20145.734L138.926%20142.739L127.835%20155.958L133.736%20172.176L150.732%20175.171L161.826%20161.953L155.921%20145.734Z'%20fill='%230ABF53'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M148.651%20117.385L138.99%20125.491L176.816%20170.57L186.477%20162.464L148.651%20117.385Z'%20fill='%23067934'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M195.874%20167.029C202.319%20167.029%20207.543%20161.805%20207.543%20155.36C207.543%20148.915%20202.319%20143.69%20195.874%20143.69C189.429%20143.69%20184.204%20148.915%20184.204%20155.36C184.204%20161.805%20189.429%20167.029%20195.874%20167.029Z'%20fill='%2385DFA9'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M179.382%20153.881L176.114%20135.331L172.841%20116.782L190.543%20123.224L208.245%20129.666L193.811%20141.774L179.382%20153.881Z'%20fill='white'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M182.688%2083.3043L187.595%20111.131C188.542%20116.499%20193.679%20120.097%20199.052%20119.151C204.421%20118.204%20208.023%20113.066%20207.072%20107.693L202.74%2083.1113C202.561%2082.0847%20201.581%2081.4018%20200.559%2081.5855C199.537%2081.7691%20198.85%2082.7439%20199.034%2083.7658L203.366%20108.348C203.95%20111.673%20201.723%20114.851%20198.398%20115.44C195.073%20116.024%20191.89%20113.796%20191.306%20110.476L190.571%20106.304L186.399%2082.6498'%20fill='white'/%3e%3cpath%20d='M182.688%2083.3043L187.595%20111.131C188.542%20116.499%20193.679%20120.097%20199.052%20119.151C204.421%20118.204%20208.023%20113.066%20207.072%20107.693L202.74%2083.1113C202.561%2082.0847%20201.581%2081.4018%20200.559%2081.5855C199.537%2081.7691%20198.85%2082.7439%20199.034%2083.7658L203.366%20108.348C203.95%20111.673%20201.723%20114.851%20198.398%20115.44C195.073%20116.024%20191.89%20113.796%20191.306%20110.476L190.571%20106.304L186.399%2082.6498'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M196.848%2093.0947L200.621%2093.7587L200.272%2091.8515L196.533%2091.3194L196.848%2093.0947Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M200.103%20154.733L212.441%20206.379L227.722%20193.556L239.933%20208.107L245.753%20203.224L233.543%20188.673L248.819%20175.849L200.103%20154.733Z'%20fill='white'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_69_698'%3e%3crect%20width='251'%20height='216.623'%20fill='white'%20transform='translate(24%2042)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\""],"names":["uploadFiles"],"mappings":"AAAA,MAAAA,IAAe;"}
1
+ {"version":3,"file":"upload-files.5wQwbfkp.js","sources":["../../../vue2/src/components/empty-state/assets/large/upload-files.svg"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='300'%20height='300'%20viewBox='0%200%20300%20300'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_69_698)'%3e%3cpath%20d='M274.644%2053.2879H106.437V257.832H274.644V53.2879Z'%20fill='%23EEF0F3'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-dasharray='4.71%204.71'/%3e%3cpath%20d='M110.981%2042.4709L99.6461%2058.7553L83.4088%2047.4485L46.2676%20108.659L147.416%20174.663L195.897%2097.1682L110.981%2042.4709Z'%20fill='white'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M83.4089%2047.4485L95.1584%2059.5747L98.2617%2054.7666L83.4089%2047.4485Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M83.4089%2047.4485L110.981%2042.4709L99.6462%2058.7553L83.4089%2047.4485Z'%20fill='white'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M194.894%20164.952L207.232%20216.598L222.509%20203.775L234.72%20218.326L240.541%20213.443L228.33%20198.891L243.611%20186.073L194.894%20164.952Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M200.555%2081.5855C199.528%2081.7644%20198.845%2082.7439%20199.029%2083.7658L202.217%20101.854L203.361%20108.348C203.945%20111.673%20201.718%20114.851%20198.393%20115.44C195.068%20116.024%20191.885%20113.796%20191.301%20110.476L190.566%20106.304L190.157%20103.987L186.969%2085.8991L186.587%2083.7282L186.399%2082.6545C185.994%2080.3517%20187.534%2078.1525%20189.837%2077.7428C192.139%2077.3378%20194.339%2078.8777%20194.748%2081.1805L198.511%20102.513C198.737%20103.794%20197.88%20105.014%20196.599%20105.24C195.318%20105.466%20194.098%20104.609%20193.872%20103.328L190.684%2085.2398C190.505%2084.2132%20189.526%2083.5304%20188.504%2083.714C187.482%2083.8977%20186.794%2084.8725%20186.978%2085.8944L190.166%20103.982C190.75%20107.307%20193.934%20109.535%20197.258%20108.951C200.583%20108.367%20202.81%20105.183%20202.226%20101.859L199.038%2083.7705L198.464%2080.5259C197.696%2076.1793%20193.538%2073.2643%20189.191%2074.0319C184.845%2074.7995%20181.93%2078.9578%20182.697%2083.3043L187.604%20111.131C188.551%20116.499%20193.689%20120.097%20199.062%20119.151C204.43%20118.204%20208.033%20113.066%20207.082%20107.693L202.749%2083.1113C202.57%2082.0847%20201.591%2081.4018%20200.569%2081.5855H200.555Z'%20fill='white'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M190.957%20225.946L33.275%20198.143C28.1514%20197.239%2024.7325%20192.355%2025.6367%20187.232L46.8987%2066.6526C47.8029%2061.529%2052.6863%2058.1102%2057.8099%2059.0143L89.1493%2064.5382C92.8414%2065.1881%2096.1189%2067.2789%2098.271%2070.3493L99.1988%2071.6726C101.346%2074.743%20104.628%2076.8339%20108.32%2077.4838L213.863%2096.0945C218.987%2096.9987%20222.405%20101.882%20221.501%20107.006L201.873%20218.307C200.969%20223.431%20196.086%20226.85%20190.962%20225.946H190.957Z'%20fill='%23D5F3E1'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M212.216%20105.367L54.5365%2077.5637C49.4139%2076.6605%2044.529%2080.0809%2043.6257%2085.2035L25.6354%20187.232C24.7321%20192.355%2028.1526%20197.24%2033.2752%20198.143L190.955%20225.946C196.078%20226.849%20200.963%20223.429%20201.866%20218.306L219.857%20116.278C220.76%20111.155%20217.339%20106.27%20212.216%20105.367Z'%20fill='%2385DFA9'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M105.005%20189.337L151.075%2078.4209L230.731%20107.415L184.656%20218.326L105.005%20189.337Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M192.074%20213.616L230.73%20107.412L151.076%2078.4202L112.421%20184.625L192.074%20213.616Z'%20fill='white'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M118.459%20181.814L189.262%20207.584L224.696%20110.23L153.893%2084.4599L118.459%20181.814Z'%20fill='%230ABF53'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M200.23%20166.464L144.577%20176.278C147.284%20191.644%20161.939%20201.905%20177.31%20199.198C192.676%20196.49%20202.938%20181.835%20200.23%20166.464Z'%20fill='%23D5F3E1'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M155.921%20145.734L138.926%20142.739L127.835%20155.958L133.736%20172.176L150.732%20175.171L161.826%20161.953L155.921%20145.734Z'%20fill='%230ABF53'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M148.651%20117.385L138.99%20125.491L176.816%20170.57L186.477%20162.464L148.651%20117.385Z'%20fill='%23067934'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M195.874%20167.029C202.319%20167.029%20207.543%20161.805%20207.543%20155.36C207.543%20148.915%20202.319%20143.69%20195.874%20143.69C189.429%20143.69%20184.204%20148.915%20184.204%20155.36C184.204%20161.805%20189.429%20167.029%20195.874%20167.029Z'%20fill='%2385DFA9'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M179.382%20153.881L176.114%20135.331L172.841%20116.782L190.543%20123.224L208.245%20129.666L193.811%20141.774L179.382%20153.881Z'%20fill='white'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M182.688%2083.3043L187.595%20111.131C188.542%20116.499%20193.679%20120.097%20199.052%20119.151C204.421%20118.204%20208.023%20113.066%20207.072%20107.693L202.74%2083.1113C202.561%2082.0847%20201.581%2081.4018%20200.559%2081.5855C199.537%2081.7691%20198.85%2082.7439%20199.034%2083.7658L203.366%20108.348C203.95%20111.673%20201.723%20114.851%20198.398%20115.44C195.073%20116.024%20191.89%20113.796%20191.306%20110.476L190.571%20106.304L186.399%2082.6498'%20fill='white'/%3e%3cpath%20d='M182.688%2083.3043L187.595%20111.131C188.542%20116.499%20193.679%20120.097%20199.052%20119.151C204.421%20118.204%20208.023%20113.066%20207.072%20107.693L202.74%2083.1113C202.561%2082.0847%20201.581%2081.4018%20200.559%2081.5855C199.537%2081.7691%20198.85%2082.7439%20199.034%2083.7658L203.366%20108.348C203.95%20111.673%20201.723%20114.851%20198.398%20115.44C195.073%20116.024%20191.89%20113.796%20191.306%20110.476L190.571%20106.304L186.399%2082.6498'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M196.848%2093.0947L200.621%2093.7587L200.272%2091.8515L196.533%2091.3194L196.848%2093.0947Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M200.103%20154.733L212.441%20206.379L227.722%20193.556L239.933%20208.107L245.753%20203.224L233.543%20188.673L248.819%20175.849L200.103%20154.733Z'%20fill='white'%20stroke='%2300112C'%20stroke-width='0.706379'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_69_698'%3e%3crect%20width='251'%20height='216.623'%20fill='white'%20transform='translate(24%2042)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\""],"names":["uploadFiles"],"mappings":"AAAA,MAAeA,IAAA;"}
@@ -1 +1 @@
1
- {"version":3,"file":"upload-files.jTQY6y2X.js","sources":["../../../vue2/src/components/empty-state/assets/small/upload-files.svg"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='200'%20height='200'%20viewBox='0%200%20200%20200'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M175.783%2040.8807H73.2502V165.563H175.783V40.8807Z'%20fill='%23EEF0F3'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-dasharray='2.87%202.87'/%3e%3cpath%20d='M76.0203%2034.287L69.1109%2044.2134L59.2132%2037.3212L36.5734%2074.6325L98.2297%20114.866L127.782%2067.6284L76.0203%2034.287Z'%20fill='white'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M59.2134%2037.3212L66.3754%2044.7129L68.2671%2041.7821L59.2134%2037.3212Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M59.2134%2037.3212L76.0204%2034.287L69.111%2044.2134L59.2134%2037.3212Z'%20fill='white'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M127.171%20108.947L134.691%20140.428L144.004%20132.612L151.447%20141.482L154.995%20138.505L147.552%20129.635L156.866%20121.821L127.171%20108.947Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M130.621%2058.1298C129.995%2058.2389%20129.579%2058.836%20129.691%2059.4589L131.634%2070.4846L132.332%2074.4431C132.688%2076.4697%20131.33%2078.4073%20129.303%2078.7662C127.277%2079.1221%20125.336%2077.7643%20124.98%2075.7406L124.533%2073.1973L124.283%2071.785L122.339%2060.7592L122.107%2059.4359L121.992%2058.7814C121.745%2057.3777%20122.684%2056.0372%20124.088%2055.7875C125.491%2055.5406%20126.832%2056.4793%20127.082%2057.8829L129.375%2070.8865C129.513%2071.6673%20128.991%2072.4108%20128.21%2072.5486C127.429%2072.6863%20126.686%2072.1639%20126.548%2071.3831L124.604%2060.3574C124.495%2059.7316%20123.898%2059.3154%20123.275%2059.4273C122.652%2059.5393%20122.233%2060.1335%20122.345%2060.7564L124.289%2071.7821C124.645%2073.8087%20126.585%2075.1665%20128.612%2074.8105C130.638%2074.4546%20131.996%2072.5141%20131.64%2070.4875L129.697%2059.4617L129.346%2057.4839C128.879%2054.8344%20126.344%2053.0576%20123.694%2053.5255C121.045%2053.9934%20119.268%2056.5281%20119.736%2059.1776L122.727%2076.1396C123.304%2079.412%20126.436%2081.6051%20129.711%2081.0281C132.983%2080.4512%20135.179%2077.3194%20134.6%2074.0441L131.959%2059.0599C131.85%2058.4341%20131.253%2058.0179%20130.63%2058.1298H130.621Z'%20fill='white'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M124.771%20146.126L28.6537%20129.179C25.5305%20128.627%2023.4465%20125.651%2023.9977%20122.528L36.9582%2049.0273C37.5093%2045.9041%2040.4861%2043.8201%2043.6092%2044.3713L62.7126%2047.7384C64.9631%2048.1346%2066.961%2049.4091%2068.2728%2051.2807L68.8383%2052.0873C70.1473%2053.9589%2072.148%2055.2334%2074.3985%2055.6295L138.733%2066.9739C141.856%2067.5251%20143.94%2070.5018%20143.389%2073.625L131.425%20141.47C130.874%20144.593%20127.897%20146.677%20124.774%20146.126H124.771Z'%20fill='%23D5F3E1'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M137.73%2072.626L41.614%2055.6783C38.4915%2055.1277%2035.5138%2057.2127%2034.9632%2060.3352L23.997%20122.528C23.4464%20125.65%2025.5314%20128.628%2028.6539%20129.179L124.77%20146.126C127.892%20146.677%20130.87%20144.592%20131.421%20141.469L142.387%2079.2768C142.937%2076.1542%20140.852%2073.1766%20137.73%2072.626Z'%20fill='%2385DFA9'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M72.3777%20123.811L100.46%2056.2008L149.015%2073.8747L120.93%20141.482L72.3777%20123.811Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M125.452%20138.611L149.015%2073.8724L100.461%2056.2004L76.8979%20120.939L125.452%20138.611Z'%20fill='white'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M80.5785%20119.225L123.737%20134.934L145.337%2075.5904L102.178%2059.8819L80.5785%20119.225Z'%20fill='%230ABF53'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M130.423%20109.868L96.4989%20115.851C98.1495%20125.217%20107.083%20131.472%20116.452%20129.822C125.819%20128.171%20132.074%20119.238%20130.423%20109.868Z'%20fill='%23D5F3E1'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M103.414%2097.2323L93.0542%2095.4067L86.2941%20103.464L89.8909%20113.35L100.251%20115.176L107.014%20107.118L103.414%2097.2323Z'%20fill='%230ABF53'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M98.9824%2079.9517L93.0935%2084.893L116.151%20112.371L122.039%20107.43L98.9824%2079.9517Z'%20fill='%23067934'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M127.768%20110.213C131.696%20110.213%20134.881%20107.028%20134.881%20103.1C134.881%2099.1711%20131.696%2095.9865%20127.768%2095.9865C123.839%2095.9865%20120.655%2099.1711%20120.655%20103.1C120.655%20107.028%20123.839%20110.213%20127.768%20110.213Z'%20fill='%2385DFA9'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M117.715%20102.198L115.723%2090.8913L113.728%2079.5842L124.518%2083.5111L135.309%2087.438L126.51%2094.8182L117.715%20102.198Z'%20fill='white'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M119.73%2059.1775L122.721%2076.1396C123.298%2079.412%20126.43%2081.6051%20129.705%2081.0281C132.978%2080.4511%20135.174%2077.3194%20134.594%2074.0441L131.953%2059.0598C131.844%2058.434%20131.247%2058.0178%20130.624%2058.1298C130.001%2058.2417%20129.582%2058.8359%20129.694%2059.4588L132.335%2074.4431C132.691%2076.4697%20131.333%2078.4073%20129.306%2078.7661C127.28%2079.1221%20125.339%2077.7643%20124.983%2075.7406L124.536%2073.1973L121.992%2058.7785'%20fill='white'/%3e%3cpath%20d='M119.73%2059.1775L122.721%2076.1396C123.298%2079.412%20126.43%2081.6051%20129.705%2081.0281C132.978%2080.4511%20135.174%2077.3194%20134.594%2074.0441L131.953%2059.0598C131.844%2058.434%20131.247%2058.0178%20130.624%2058.1298C130.001%2058.2417%20129.582%2058.8359%20129.694%2059.4588L132.335%2074.4431C132.691%2076.4697%20131.333%2078.4073%20129.306%2078.7661C127.28%2079.1221%20125.339%2077.7643%20124.983%2075.7406L124.536%2073.1973L121.992%2058.7785'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M128.362%2065.1454L130.661%2065.5502L130.449%2064.3876L128.17%2064.0632L128.362%2065.1454Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M130.345%20102.718L137.866%20134.199L147.181%20126.383L154.625%20135.253L158.173%20132.276L150.729%20123.406L160.041%20115.589L130.345%20102.718Z'%20fill='white'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["uploadFiles"],"mappings":"AAAA,MAAAA,IAAe;"}
1
+ {"version":3,"file":"upload-files.jTQY6y2X.js","sources":["../../../vue2/src/components/empty-state/assets/small/upload-files.svg"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='200'%20height='200'%20viewBox='0%200%20200%20200'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M175.783%2040.8807H73.2502V165.563H175.783V40.8807Z'%20fill='%23EEF0F3'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-dasharray='2.87%202.87'/%3e%3cpath%20d='M76.0203%2034.287L69.1109%2044.2134L59.2132%2037.3212L36.5734%2074.6325L98.2297%20114.866L127.782%2067.6284L76.0203%2034.287Z'%20fill='white'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M59.2134%2037.3212L66.3754%2044.7129L68.2671%2041.7821L59.2134%2037.3212Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M59.2134%2037.3212L76.0204%2034.287L69.111%2044.2134L59.2134%2037.3212Z'%20fill='white'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M127.171%20108.947L134.691%20140.428L144.004%20132.612L151.447%20141.482L154.995%20138.505L147.552%20129.635L156.866%20121.821L127.171%20108.947Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M130.621%2058.1298C129.995%2058.2389%20129.579%2058.836%20129.691%2059.4589L131.634%2070.4846L132.332%2074.4431C132.688%2076.4697%20131.33%2078.4073%20129.303%2078.7662C127.277%2079.1221%20125.336%2077.7643%20124.98%2075.7406L124.533%2073.1973L124.283%2071.785L122.339%2060.7592L122.107%2059.4359L121.992%2058.7814C121.745%2057.3777%20122.684%2056.0372%20124.088%2055.7875C125.491%2055.5406%20126.832%2056.4793%20127.082%2057.8829L129.375%2070.8865C129.513%2071.6673%20128.991%2072.4108%20128.21%2072.5486C127.429%2072.6863%20126.686%2072.1639%20126.548%2071.3831L124.604%2060.3574C124.495%2059.7316%20123.898%2059.3154%20123.275%2059.4273C122.652%2059.5393%20122.233%2060.1335%20122.345%2060.7564L124.289%2071.7821C124.645%2073.8087%20126.585%2075.1665%20128.612%2074.8105C130.638%2074.4546%20131.996%2072.5141%20131.64%2070.4875L129.697%2059.4617L129.346%2057.4839C128.879%2054.8344%20126.344%2053.0576%20123.694%2053.5255C121.045%2053.9934%20119.268%2056.5281%20119.736%2059.1776L122.727%2076.1396C123.304%2079.412%20126.436%2081.6051%20129.711%2081.0281C132.983%2080.4512%20135.179%2077.3194%20134.6%2074.0441L131.959%2059.0599C131.85%2058.4341%20131.253%2058.0179%20130.63%2058.1298H130.621Z'%20fill='white'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M124.771%20146.126L28.6537%20129.179C25.5305%20128.627%2023.4465%20125.651%2023.9977%20122.528L36.9582%2049.0273C37.5093%2045.9041%2040.4861%2043.8201%2043.6092%2044.3713L62.7126%2047.7384C64.9631%2048.1346%2066.961%2049.4091%2068.2728%2051.2807L68.8383%2052.0873C70.1473%2053.9589%2072.148%2055.2334%2074.3985%2055.6295L138.733%2066.9739C141.856%2067.5251%20143.94%2070.5018%20143.389%2073.625L131.425%20141.47C130.874%20144.593%20127.897%20146.677%20124.774%20146.126H124.771Z'%20fill='%23D5F3E1'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M137.73%2072.626L41.614%2055.6783C38.4915%2055.1277%2035.5138%2057.2127%2034.9632%2060.3352L23.997%20122.528C23.4464%20125.65%2025.5314%20128.628%2028.6539%20129.179L124.77%20146.126C127.892%20146.677%20130.87%20144.592%20131.421%20141.469L142.387%2079.2768C142.937%2076.1542%20140.852%2073.1766%20137.73%2072.626Z'%20fill='%2385DFA9'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M72.3777%20123.811L100.46%2056.2008L149.015%2073.8747L120.93%20141.482L72.3777%20123.811Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M125.452%20138.611L149.015%2073.8724L100.461%2056.2004L76.8979%20120.939L125.452%20138.611Z'%20fill='white'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M80.5785%20119.225L123.737%20134.934L145.337%2075.5904L102.178%2059.8819L80.5785%20119.225Z'%20fill='%230ABF53'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M130.423%20109.868L96.4989%20115.851C98.1495%20125.217%20107.083%20131.472%20116.452%20129.822C125.819%20128.171%20132.074%20119.238%20130.423%20109.868Z'%20fill='%23D5F3E1'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M103.414%2097.2323L93.0542%2095.4067L86.2941%20103.464L89.8909%20113.35L100.251%20115.176L107.014%20107.118L103.414%2097.2323Z'%20fill='%230ABF53'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M98.9824%2079.9517L93.0935%2084.893L116.151%20112.371L122.039%20107.43L98.9824%2079.9517Z'%20fill='%23067934'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M127.768%20110.213C131.696%20110.213%20134.881%20107.028%20134.881%20103.1C134.881%2099.1711%20131.696%2095.9865%20127.768%2095.9865C123.839%2095.9865%20120.655%2099.1711%20120.655%20103.1C120.655%20107.028%20123.839%20110.213%20127.768%20110.213Z'%20fill='%2385DFA9'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M117.715%20102.198L115.723%2090.8913L113.728%2079.5842L124.518%2083.5111L135.309%2087.438L126.51%2094.8182L117.715%20102.198Z'%20fill='white'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M119.73%2059.1775L122.721%2076.1396C123.298%2079.412%20126.43%2081.6051%20129.705%2081.0281C132.978%2080.4511%20135.174%2077.3194%20134.594%2074.0441L131.953%2059.0598C131.844%2058.434%20131.247%2058.0178%20130.624%2058.1298C130.001%2058.2417%20129.582%2058.8359%20129.694%2059.4588L132.335%2074.4431C132.691%2076.4697%20131.333%2078.4073%20129.306%2078.7661C127.28%2079.1221%20125.339%2077.7643%20124.983%2075.7406L124.536%2073.1973L121.992%2058.7785'%20fill='white'/%3e%3cpath%20d='M119.73%2059.1775L122.721%2076.1396C123.298%2079.412%20126.43%2081.6051%20129.705%2081.0281C132.978%2080.4511%20135.174%2077.3194%20134.594%2074.0441L131.953%2059.0598C131.844%2058.434%20131.247%2058.0178%20130.624%2058.1298C130.001%2058.2417%20129.582%2058.8359%20129.694%2059.4588L132.335%2074.4431C132.691%2076.4697%20131.333%2078.4073%20129.306%2078.7661C127.28%2079.1221%20125.339%2077.7643%20124.983%2075.7406L124.536%2073.1973L121.992%2058.7785'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M128.362%2065.1454L130.661%2065.5502L130.449%2064.3876L128.17%2064.0632L128.362%2065.1454Z'%20fill='%2300112C'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M130.345%20102.718L137.866%20134.199L147.181%20126.383L154.625%20135.253L158.173%20132.276L150.729%20123.406L160.041%20115.589L130.345%20102.718Z'%20fill='white'%20stroke='%2300112C'%20stroke-width='0.430582'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["uploadFiles"],"mappings":"AAAA,MAAeA,IAAA;"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-bento-toast-controller.V61h7XzI.js","sources":["../../../vue2/src/composables/use-bento-toast-controller/toast-stack.ts","../../../vue2/src/composables/use-bento-toast-controller/use-bento-toast-controller.ts"],"sourcesContent":["import { computed, ref, type Ref } from 'vue';\nimport { generateUid } from '@/core/utils/ts';\nimport type { BentoToastItemsList, ToastStack } from './use-bento-toast-controller.types';\n\nconst dismissToast: (stack: Ref<BentoToastItemsList>, id: string) => void = (stack, id) => {\n const toastIndex = stack.value.findIndex(toast => toast.id === id);\n if (toastIndex !== -1) {\n stack.value.splice(toastIndex, 1);\n }\n};\n\nexport const toastStackInjectionKey = Symbol('toast-stack');\n\n/**\n * This utility creates a global reactive state to add new toasts and keep track of them.\n * @returns {ToastStack} An object that contains reactive stack property with all add toasts and a function to add new toasts\n */\nexport const createToastStack: () => ToastStack = () => {\n const stack = ref<BentoToastItemsList>([]);\n\n const addToast = params => {\n const id = generateUid('toast');\n const toast = {\n ...params,\n id,\n dismiss: () => dismissToast(stack, id),\n };\n\n stack.value.unshift(toast);\n\n return {\n dismiss: () => dismissToast(stack, id),\n };\n };\n\n return {\n // Even though stack is a reactive property, its content suppose to be only changed from this module.\n // For this reason we return \"stack\" as readonly prop, but also return methods that can affect \"stack\" content.\n stack: computed(() => Object.freeze(Array.from(stack.value))),\n /**\n * A function that allows to add new toasts\n * @param {Object} params Toast parameters\n * @param {String} params.text A text to display inside the toast\n * @param {Object} [params.action] An object that defines action parameters for the toast\n * @param {String} params.action.text An action button text\n * @param {Function} params.action.handler A callback that would be called when action button is clicked\n * @return {Object} An object that includes \"dismiss\" function to programatically dismiss the toast\n */\n addToast,\n };\n};\n","import { getCurrentInstance, inject, readonly, ref } from 'vue';\nimport { isVue2 } from 'vue-demi';\nimport { printDevelopmentWarning } from '../../utils/ts/print-development-warning';\nimport { toastStackInjectionKey } from './toast-stack';\nimport { type UseBentoToastController } from './use-bento-toast-controller.types';\n\nexport function useBentoToastController(): UseBentoToastController {\n const toastStack = isVue2\n ? getCurrentInstance()?.proxy[toastStackInjectionKey]\n : inject(toastStackInjectionKey, null);\n if (!toastStack) {\n printDevelopmentWarning('Toast does not work without Vue.use(BentoPlugin, { withToast: true })');\n // Return placeholder functions so client code won't brake, but Toasts just won't show up\n return {\n stack: readonly(ref([])),\n addToast: () => ({\n // eslint-disable-next-line @typescript-eslint/no-empty-function -- intentional empty function explained by the comment above\n dismiss: () => {},\n }),\n };\n }\n // Return a new object so unintentional reassigning its properties won't override a global state\n return { ...toastStack };\n}\n"],"names":["dismissToast","stack","id","toastIndex","toast","toastStackInjectionKey","createToastStack","ref","addToast","params","generateUid","computed","useBentoToastController","toastStack","inject","printDevelopmentWarning","readonly"],"mappings":";;;AAIA,MAAMA,IAAsE,CAACC,GAAOC,MAAO;AACvF,QAAMC,IAAaF,EAAM,MAAM,UAAU,CAAAG,MAASA,EAAM,OAAOF,CAAE;AACjE,EAAIC,MAAe,MACfF,EAAM,MAAM,OAAOE,GAAY,CAAC;AAExC,GAEaE,2BAAgC,aAAa,GAM7CC,IAAqC,MAAM;AACpD,QAAML,IAAQM,EAAyB,EAAE,GAEnCC,IAAW,CAAAC,MAAU;AACvB,UAAMP,IAAKQ,EAAY,OAAO,GACxBN,IAAQ;AAAA,MACV,GAAGK;AAAA,MACH,IAAAP;AAAA,MACA,SAAS,MAAMF,EAAaC,GAAOC,CAAE;AAAA,IAAA;AAGzC,WAAAD,EAAM,MAAM,QAAQG,CAAK,GAElB;AAAA,MACH,SAAS,MAAMJ,EAAaC,GAAOC,CAAE;AAAA,IAAA;AAAA,EAE7C;AAEA,SAAO;AAAA;AAAA;AAAA,IAGH,OAAOS,EAAS,MAAM,OAAO,OAAO,MAAM,KAAKV,EAAM,KAAK,CAAC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAU5D,UAAAO;AAAA,EAAA;AAER;AC5CO,SAASI,IAAmD;AAC/D,QAAMC,IAEAC,EAAOT,GAAwB,IAAI;AACzC,SAAKQ,IAYE,EAAE,GAAGA,EAAA,KAXRE,EAAwB,uEAAuE,GAExF;AAAA,IACH,OAAOC,EAAST,EAAI,CAAA,CAAE,CAAC;AAAA,IACvB,UAAU,OAAO;AAAA;AAAA,MAEb,SAAS,MAAM;AAAA,MAAC;AAAA,IAAA;AAAA,EACpB;AAKZ;"}
1
+ {"version":3,"file":"use-bento-toast-controller.V61h7XzI.js","sources":["../../../vue2/src/composables/use-bento-toast-controller/toast-stack.ts","../../../vue2/src/composables/use-bento-toast-controller/use-bento-toast-controller.ts"],"sourcesContent":["import { computed, ref, type Ref } from 'vue';\nimport { generateUid } from '@/core/utils/ts';\nimport type { BentoToastItemsList, ToastStack } from './use-bento-toast-controller.types';\n\nconst dismissToast: (stack: Ref<BentoToastItemsList>, id: string) => void = (stack, id) => {\n const toastIndex = stack.value.findIndex(toast => toast.id === id);\n if (toastIndex !== -1) {\n stack.value.splice(toastIndex, 1);\n }\n};\n\nexport const toastStackInjectionKey = Symbol('toast-stack');\n\n/**\n * This utility creates a global reactive state to add new toasts and keep track of them.\n * @returns {ToastStack} An object that contains reactive stack property with all add toasts and a function to add new toasts\n */\nexport const createToastStack: () => ToastStack = () => {\n const stack = ref<BentoToastItemsList>([]);\n\n const addToast = params => {\n const id = generateUid('toast');\n const toast = {\n ...params,\n id,\n dismiss: () => dismissToast(stack, id),\n };\n\n stack.value.unshift(toast);\n\n return {\n dismiss: () => dismissToast(stack, id),\n };\n };\n\n return {\n // Even though stack is a reactive property, its content suppose to be only changed from this module.\n // For this reason we return \"stack\" as readonly prop, but also return methods that can affect \"stack\" content.\n stack: computed(() => Object.freeze(Array.from(stack.value))),\n /**\n * A function that allows to add new toasts\n * @param {Object} params Toast parameters\n * @param {String} params.text A text to display inside the toast\n * @param {Object} [params.action] An object that defines action parameters for the toast\n * @param {String} params.action.text An action button text\n * @param {Function} params.action.handler A callback that would be called when action button is clicked\n * @return {Object} An object that includes \"dismiss\" function to programatically dismiss the toast\n */\n addToast,\n };\n};\n","import { getCurrentInstance, inject, readonly, ref } from 'vue';\nimport { isVue2 } from 'vue-demi';\nimport { printDevelopmentWarning } from '../../utils/ts/print-development-warning';\nimport { toastStackInjectionKey } from './toast-stack';\nimport { type UseBentoToastController } from './use-bento-toast-controller.types';\n\nexport function useBentoToastController(): UseBentoToastController {\n const toastStack = isVue2\n ? getCurrentInstance()?.proxy[toastStackInjectionKey]\n : inject(toastStackInjectionKey, null);\n if (!toastStack) {\n printDevelopmentWarning('Toast does not work without Vue.use(BentoPlugin, { withToast: true })');\n // Return placeholder functions so client code won't brake, but Toasts just won't show up\n return {\n stack: readonly(ref([])),\n addToast: () => ({\n // eslint-disable-next-line @typescript-eslint/no-empty-function -- intentional empty function explained by the comment above\n dismiss: () => {},\n }),\n };\n }\n // Return a new object so unintentional reassigning its properties won't override a global state\n return { ...toastStack };\n}\n"],"names":["dismissToast","stack","id","toastIndex","toast","toastStackInjectionKey","createToastStack","ref","addToast","params","generateUid","computed","useBentoToastController","toastStack","inject","printDevelopmentWarning","readonly"],"mappings":";;;AAIA,MAAMA,IAAsE,CAACC,GAAOC,MAAO;AACvF,QAAMC,IAAaF,EAAM,MAAM,UAAU,CAASG,MAAAA,EAAM,OAAOF,CAAE;AACjE,EAAIC,MAAe,MACTF,EAAA,MAAM,OAAOE,GAAY,CAAC;AAExC,GAEaE,2BAAgC,aAAa,GAM7CC,IAAqC,MAAM;AAC9C,QAAAL,IAAQM,EAAyB,EAAE,GAEnCC,IAAW,CAAUC,MAAA;AACjB,UAAAP,IAAKQ,EAAY,OAAO,GACxBN,IAAQ;AAAA,MACV,GAAGK;AAAA,MACH,IAAAP;AAAA,MACA,SAAS,MAAMF,EAAaC,GAAOC,CAAE;AAAA,IACzC;AAEM,WAAAD,EAAA,MAAM,QAAQG,CAAK,GAElB;AAAA,MACH,SAAS,MAAMJ,EAAaC,GAAOC,CAAE;AAAA,IACzC;AAAA,EACJ;AAEO,SAAA;AAAA;AAAA;AAAA,IAGH,OAAOS,EAAS,MAAM,OAAO,OAAO,MAAM,KAAKV,EAAM,KAAK,CAAC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAU5D,UAAAO;AAAA,EACJ;AACJ;AC5CO,SAASI,IAAmD;AACzD,QAAAC,IAEAC,EAAOT,GAAwB,IAAI;AACzC,SAAKQ,IAYE,EAAE,GAAGA,EAAW,KAXnBE,EAAwB,uEAAuE,GAExF;AAAA,IACH,OAAOC,EAAST,EAAI,CAAA,CAAE,CAAC;AAAA,IACvB,UAAU,OAAO;AAAA;AAAA,MAEb,SAAS,MAAM;AAAA,MAAA;AAAA,IACnB;AAAA,EACJ;AAIR;"}