@adyen/bento-vue2 1.26.0 → 1.28.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 (577) hide show
  1. package/dist/@types/components.d.ts +8 -0
  2. package/dist/@types/index.d.ts +967 -374
  3. package/dist/accordion.js +3 -101
  4. package/dist/accordion.js.map +1 -1
  5. package/dist/action-bar.js +2 -231
  6. package/dist/action-bar.js.map +1 -1
  7. package/dist/alert.js +5 -116
  8. package/dist/alert.js.map +1 -1
  9. package/dist/assets/{index2.css → accordion-item.css} +1 -1
  10. package/dist/assets/{index3.css → action-bar.css} +1 -1
  11. package/dist/assets/alert.css +1 -0
  12. package/dist/assets/base-modal.css +1 -1
  13. package/dist/assets/button-actions.css +1 -1
  14. package/dist/assets/button.css +1 -1
  15. package/dist/assets/{index7.css → card.css} +1 -1
  16. package/dist/assets/checkbox-input.css +1 -1
  17. package/dist/assets/{index9.css → code-snippet.css} +1 -1
  18. package/dist/assets/dashboard-section.css +1 -0
  19. package/dist/assets/dashed-underline.css +1 -0
  20. package/dist/assets/data-grid-template.css +1 -0
  21. package/dist/assets/data-grid.css +1 -0
  22. package/dist/assets/dialog-page.css +1 -1
  23. package/dist/assets/dropdown-default-textbox.css +1 -1
  24. package/dist/assets/dropdown.css +1 -1
  25. package/dist/assets/filter-bar.css +1 -0
  26. package/dist/assets/{index15.css → form-layout-title.css} +1 -1
  27. package/dist/assets/{index25.css → input-field.css} +1 -1
  28. package/dist/assets/listbox-option-tag.css +1 -1
  29. package/dist/assets/{index26.css → menu.css} +1 -1
  30. package/dist/assets/{index22.css → modal-fullscreen.css} +1 -1
  31. package/dist/assets/{index28.css → popover.css} +1 -1
  32. package/dist/assets/radio-input.css +1 -1
  33. package/dist/assets/segmented-control.css +1 -0
  34. package/dist/assets/selection-card-group.css +1 -0
  35. package/dist/assets/{index37.css → sidepanel.css} +1 -1
  36. package/dist/assets/status.css +1 -0
  37. package/dist/assets/structured-list-item.css +1 -0
  38. package/dist/assets/{index43.css → tabs.css} +1 -1
  39. package/dist/assets/toggle.css +1 -0
  40. package/dist/assets/tutorial.css +1 -0
  41. package/dist/assets/use-cached-selected-values.css +1 -1
  42. package/dist/avatar-image.js +1 -1
  43. package/dist/badge.js +22 -24
  44. package/dist/badge.js.map +1 -1
  45. package/dist/button.js +14 -94
  46. package/dist/button.js.map +1 -1
  47. package/dist/card.js +4 -114
  48. package/dist/card.js.map +1 -1
  49. package/dist/checkbox.js +8 -155
  50. package/dist/checkbox.js.map +1 -1
  51. package/dist/chunks/1-generic-use.CZhwP2Yc.js +5 -0
  52. package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +1 -0
  53. package/dist/chunks/1-generic-use.R6x8PEGA.js +5 -0
  54. package/dist/chunks/1-generic-use.R6x8PEGA.js.map +1 -0
  55. package/dist/chunks/2-generic-use.CNKjB4B7.js +5 -0
  56. package/dist/chunks/2-generic-use.CNKjB4B7.js.map +1 -0
  57. package/dist/chunks/2-generic-use.w0fUhovx.js +5 -0
  58. package/dist/chunks/2-generic-use.w0fUhovx.js.map +1 -0
  59. package/dist/chunks/3-generic-use.BLEzR04g.js +5 -0
  60. package/dist/chunks/3-generic-use.BLEzR04g.js.map +1 -0
  61. package/dist/chunks/3-generic-use.D3NFHgI4.js +5 -0
  62. package/dist/chunks/3-generic-use.D3NFHgI4.js.map +1 -0
  63. package/dist/chunks/4-generic-use.CULEpvgj.js +5 -0
  64. package/dist/chunks/4-generic-use.CULEpvgj.js.map +1 -0
  65. package/dist/chunks/4-generic-use.D82y3n39.js +5 -0
  66. package/dist/chunks/4-generic-use.D82y3n39.js.map +1 -0
  67. package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js +11 -0
  68. package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js.map +1 -0
  69. package/dist/chunks/accordion-item.DmnrjNzw.js +100 -0
  70. package/dist/chunks/accordion-item.DmnrjNzw.js.map +1 -0
  71. package/dist/chunks/action-bar.Bebh6PHI.js +147 -0
  72. package/dist/chunks/action-bar.Bebh6PHI.js.map +1 -0
  73. package/dist/chunks/adding-payment-methods.BJZLPxtM.js +5 -0
  74. package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +1 -0
  75. package/dist/chunks/adding-payment-methods.Dle8zt43.js +5 -0
  76. package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +1 -0
  77. package/dist/chunks/adyen-giving.Ffw_DlJK.js +5 -0
  78. package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +1 -0
  79. package/dist/chunks/adyen-giving.LiKHj_jY.js +5 -0
  80. package/dist/chunks/adyen-giving.LiKHj_jY.js.map +1 -0
  81. package/dist/chunks/alert.CJyTM4Az.js +96 -0
  82. package/dist/chunks/alert.CJyTM4Az.js.map +1 -0
  83. package/dist/chunks/{aria-label.ac9651a5.js → aria-label.CaUURpnB.js} +1 -1
  84. package/dist/chunks/{aria-label.ac9651a5.js.map → aria-label.CaUURpnB.js.map} +1 -1
  85. package/dist/chunks/{index.7eefc59c.js → avatar-image.DhlR-7Yg.js} +22 -24
  86. package/dist/chunks/avatar-image.DhlR-7Yg.js.map +1 -0
  87. package/dist/chunks/base-button.DER7_IsF.js +86 -0
  88. package/dist/chunks/{base-button.ad74b6f8.js.map → base-button.DER7_IsF.js.map} +1 -1
  89. package/dist/chunks/{base-modal.1fff7abe.js → base-modal.C5I7bR0d.js} +42 -46
  90. package/dist/chunks/{base-modal.1fff7abe.js.map → base-modal.C5I7bR0d.js.map} +1 -1
  91. package/dist/chunks/{base-modal.keys.b08a6bdf.js → base-modal.keys.C2PQXcE2.js} +1 -1
  92. package/dist/chunks/{base-modal.keys.b08a6bdf.js.map → base-modal.keys.C2PQXcE2.js.map} +1 -1
  93. package/dist/chunks/{button-actions-with-menu.e845d77a.js → button-actions-with-menu.f3yuLK-L.js} +25 -27
  94. package/dist/chunks/{button-actions-with-menu.e845d77a.js.map → button-actions-with-menu.f3yuLK-L.js.map} +1 -1
  95. package/dist/chunks/button-actions.Bg9ey0p6.js +111 -0
  96. package/dist/chunks/button-actions.Bg9ey0p6.js.map +1 -0
  97. package/dist/chunks/button.DhAUh5JA.js +99 -0
  98. package/dist/chunks/button.DhAUh5JA.js.map +1 -0
  99. package/dist/chunks/{calendar.640b8d25.js → calendar.B69z8gjb.js} +287 -332
  100. package/dist/chunks/{calendar.640b8d25.js.map → calendar.B69z8gjb.js.map} +1 -1
  101. package/dist/chunks/card.70Xvba2C.js +115 -0
  102. package/dist/chunks/card.70Xvba2C.js.map +1 -0
  103. package/dist/chunks/checkbox-group.B-KdeRXC.js +152 -0
  104. package/dist/chunks/checkbox-group.B-KdeRXC.js.map +1 -0
  105. package/dist/chunks/{checkbox-input.1c3cc8ed.js → checkbox-input.DwDwI2BD.js} +27 -30
  106. package/dist/chunks/{checkbox-input.1c3cc8ed.js.map → checkbox-input.DwDwI2BD.js.map} +1 -1
  107. package/dist/chunks/{checkbox.bfed007c.js → checkbox.Bi2RDBEZ.js} +21 -23
  108. package/dist/chunks/{checkbox.bfed007c.js.map → checkbox.Bi2RDBEZ.js.map} +1 -1
  109. package/dist/chunks/checkmark-circle-fill.DVl6QSwm.js +24 -0
  110. package/dist/chunks/{checkmark-circle-fill.345311d2.js.map → checkmark-circle-fill.DVl6QSwm.js.map} +1 -1
  111. package/dist/chunks/{checkmark-small.520f01b1.js → checkmark-small.BtF8b2gE.js} +6 -8
  112. package/dist/chunks/{checkmark-small.520f01b1.js.map → checkmark-small.BtF8b2gE.js.map} +1 -1
  113. package/dist/chunks/{chevron-left.5edf02ac.js → chevron-left.CtnrsqUy.js} +13 -17
  114. package/dist/chunks/{chevron-left.5edf02ac.js.map → chevron-left.CtnrsqUy.js.map} +1 -1
  115. package/dist/chunks/{chevron-up.81185563.js → chevron-up.B2uWhZf7.js} +14 -18
  116. package/dist/chunks/{chevron-up.81185563.js.map → chevron-up.B2uWhZf7.js.map} +1 -1
  117. package/dist/chunks/click-outside.DABh6NLr.js +23 -0
  118. package/dist/chunks/click-outside.DABh6NLr.js.map +1 -0
  119. package/dist/chunks/code-snippet.C4IbjAhH.js +968 -0
  120. package/dist/chunks/code-snippet.C4IbjAhH.js.map +1 -0
  121. package/dist/chunks/{controls-group.4fb50009.js → controls-group.cSRFiEVO.js} +17 -19
  122. package/dist/chunks/{controls-group.4fb50009.js.map → controls-group.cSRFiEVO.js.map} +1 -1
  123. package/dist/chunks/{copy.f85700c6.js → copy.BtFWFG3q.js} +15 -19
  124. package/dist/chunks/{copy.f85700c6.js.map → copy.BtFWFG3q.js.map} +1 -1
  125. package/dist/chunks/country.KayLT0zy.js +93 -0
  126. package/dist/chunks/country.KayLT0zy.js.map +1 -0
  127. package/dist/chunks/{country.types.002caff2.js → country.types.Br0AjxGy.js} +5 -5
  128. package/dist/chunks/{country.types.002caff2.js.map → country.types.Br0AjxGy.js.map} +1 -1
  129. package/dist/chunks/{cross-circle-fill.27580c4b.js → cross-circle-fill.CnYH4R_h.js} +7 -9
  130. package/dist/chunks/{cross-circle-fill.27580c4b.js.map → cross-circle-fill.CnYH4R_h.js.map} +1 -1
  131. package/dist/chunks/{cross-small.e851e0de.js → cross-small.BLUwtRB-.js} +9 -11
  132. package/dist/chunks/{cross-small.e851e0de.js.map → cross-small.BLUwtRB-.js.map} +1 -1
  133. package/dist/chunks/{cross.04678d81.js → cross.CsUPDmaA.js} +9 -11
  134. package/dist/chunks/{cross.04678d81.js.map → cross.CsUPDmaA.js.map} +1 -1
  135. package/dist/chunks/currency.H7n7RQiX.js +113 -0
  136. package/dist/chunks/currency.H7n7RQiX.js.map +1 -0
  137. package/dist/chunks/dashboard-section.BcH-_en7.js +105 -0
  138. package/dist/chunks/dashboard-section.BcH-_en7.js.map +1 -0
  139. package/dist/chunks/dashed-underline.ChUlcFJR.js +59 -0
  140. package/dist/chunks/dashed-underline.ChUlcFJR.js.map +1 -0
  141. package/dist/chunks/data-grid-template.DqG5bNeD.js +66 -0
  142. package/dist/chunks/data-grid-template.DqG5bNeD.js.map +1 -0
  143. package/dist/chunks/{data-grid-template.keys.a819a991.js → data-grid-template.keys.2_AkxuNT.js} +1 -1
  144. package/dist/chunks/{data-grid-template.keys.a819a991.js.map → data-grid-template.keys.2_AkxuNT.js.map} +1 -1
  145. package/dist/chunks/data-grid.CvHAdmvs.js +2022 -0
  146. package/dist/chunks/data-grid.CvHAdmvs.js.map +1 -0
  147. package/dist/chunks/{date-input.9186a0bf.js → date-input.BqBdAO1E.js} +1 -1
  148. package/dist/chunks/{date-input.9186a0bf.js.map → date-input.BqBdAO1E.js.map} +1 -1
  149. package/dist/chunks/date-picker.ByP2Wpo0.js +196 -0
  150. package/dist/chunks/date-picker.ByP2Wpo0.js.map +1 -0
  151. package/dist/chunks/{index.8b8c3b16.js → date-range-picker.DrnklTJ-.js} +113 -117
  152. package/dist/chunks/date-range-picker.DrnklTJ-.js.map +1 -0
  153. package/dist/chunks/{index.b21197ca.js → date.DKjxxR6P.js} +44 -51
  154. package/dist/chunks/date.DKjxxR6P.js.map +1 -0
  155. package/dist/chunks/{debounce.b5ef6acf.js → debounce.DUTu11PS.js} +1 -1
  156. package/dist/chunks/{debounce.b5ef6acf.js.map → debounce.DUTu11PS.js.map} +1 -1
  157. package/dist/chunks/{dialog-page.73da22cf.js → dialog-page.DAh0M4mT.js} +20 -24
  158. package/dist/chunks/{dialog-page.73da22cf.js.map → dialog-page.DAh0M4mT.js.map} +1 -1
  159. package/dist/chunks/divider.BZfeYmB9.js +30 -0
  160. package/dist/chunks/divider.BZfeYmB9.js.map +1 -0
  161. package/dist/chunks/{dropdown-default-textbox.54ca1b18.js → dropdown-default-textbox.CKOkl_Qa.js} +30 -34
  162. package/dist/chunks/{dropdown-default-textbox.54ca1b18.js.map → dropdown-default-textbox.CKOkl_Qa.js.map} +1 -1
  163. package/dist/chunks/dropdown-tag.DCMKQy-E.js +214 -0
  164. package/dist/chunks/dropdown-tag.DCMKQy-E.js.map +1 -0
  165. package/dist/chunks/{dropdown.10c034aa.js → dropdown.yhhQCKve.js} +195 -214
  166. package/dist/chunks/dropdown.yhhQCKve.js.map +1 -0
  167. package/dist/chunks/empty-state.BqVOj4v1.js +151 -0
  168. package/dist/chunks/empty-state.BqVOj4v1.js.map +1 -0
  169. package/dist/chunks/error-message.BSxUoE3_.js +107 -0
  170. package/dist/chunks/{error-message.31ec12b7.js.map → error-message.BSxUoE3_.js.map} +1 -1
  171. package/dist/chunks/events.CMzGybJJ.js +47 -0
  172. package/dist/chunks/events.CMzGybJJ.js.map +1 -0
  173. package/dist/chunks/filter-bar.AhsOPMZ1.js +2119 -0
  174. package/dist/chunks/filter-bar.AhsOPMZ1.js.map +1 -0
  175. package/dist/chunks/{fixed-scroller.4eb9a9ac.js → fixed-scroller.Bq1AgPnw.js} +18 -20
  176. package/dist/chunks/{fixed-scroller.4eb9a9ac.js.map → fixed-scroller.Bq1AgPnw.js.map} +1 -1
  177. package/dist/chunks/{index.d553d3d1.js → focus-trap.DSkLNO_i.js} +35 -37
  178. package/dist/chunks/focus-trap.DSkLNO_i.js.map +1 -0
  179. package/dist/chunks/{footer-actions.a1e09b4f.js → footer-actions.DqMRmlV_.js} +11 -13
  180. package/dist/chunks/{footer-actions.a1e09b4f.js.map → footer-actions.DqMRmlV_.js.map} +1 -1
  181. package/dist/chunks/form-layout-title.BzNU0B72.js +187 -0
  182. package/dist/chunks/form-layout-title.BzNU0B72.js.map +1 -0
  183. package/dist/chunks/{form-layout.types.a7a1438d.js → form-layout.types.D3EKzbE7.js} +1 -1
  184. package/dist/chunks/{form-layout.types.a7a1438d.js.map → form-layout.types.D3EKzbE7.js.map} +1 -1
  185. package/dist/chunks/{get-slot-text.99c3d860.js → get-slot-text.Cgn-E48s.js} +2 -2
  186. package/dist/chunks/{get-slot-text.99c3d860.js.map → get-slot-text.Cgn-E48s.js.map} +1 -1
  187. package/dist/chunks/{grid-layout.e0025286.js → grid-layout.HvTAa4to.js} +11 -13
  188. package/dist/chunks/{grid-layout.e0025286.js.map → grid-layout.HvTAa4to.js.map} +1 -1
  189. package/dist/chunks/header.DmKHCmXh.js +245 -0
  190. package/dist/chunks/header.DmKHCmXh.js.map +1 -0
  191. package/dist/chunks/{i18n.eb5b985b.js → i18n.BQkEbtPM.js} +2 -2
  192. package/dist/chunks/{i18n.eb5b985b.js.map → i18n.BQkEbtPM.js.map} +1 -1
  193. package/dist/chunks/image.B3uqhFjl.js +82 -0
  194. package/dist/chunks/image.B3uqhFjl.js.map +1 -0
  195. package/dist/chunks/{index.fdf12170.js → index.B_EJflcs.js} +2 -2
  196. package/dist/chunks/{index.fdf12170.js.map → index.B_EJflcs.js.map} +1 -1
  197. package/dist/chunks/{index.f55fdc32.js → index.B_UZQ6qF.js} +209 -243
  198. package/dist/chunks/{index.f55fdc32.js.map → index.B_UZQ6qF.js.map} +1 -1
  199. package/dist/chunks/{index.4c062058.js → index.Cl4_42j5.js} +1 -1
  200. package/dist/chunks/{index.4c062058.js.map → index.Cl4_42j5.js.map} +1 -1
  201. package/dist/chunks/index.OCPp3NST.js +126 -0
  202. package/dist/chunks/index.OCPp3NST.js.map +1 -0
  203. package/dist/chunks/{index.d80206ed.js → index.Z84QE0E2.js} +2 -2
  204. package/dist/chunks/{index.d80206ed.js.map → index.Z84QE0E2.js.map} +1 -1
  205. package/dist/chunks/{index.86453263.js → index.xqFSZOAb.js} +2 -2
  206. package/dist/chunks/{index.86453263.js.map → index.xqFSZOAb.js.map} +1 -1
  207. package/dist/chunks/info-icon.CLguYHRt.js +41 -0
  208. package/dist/chunks/info-icon.CLguYHRt.js.map +1 -0
  209. package/dist/chunks/{info.8b6328aa.js → info.CyeBsLgt.js} +9 -11
  210. package/dist/chunks/{info.8b6328aa.js.map → info.CyeBsLgt.js.map} +1 -1
  211. package/dist/chunks/input-field.BnlEPPYr.js +218 -0
  212. package/dist/chunks/input-field.BnlEPPYr.js.map +1 -0
  213. package/dist/chunks/internal-error.BLZodVBE.js +5 -0
  214. package/dist/chunks/internal-error.BLZodVBE.js.map +1 -0
  215. package/dist/chunks/internal-error.BmrwJFpR.js +5 -0
  216. package/dist/chunks/internal-error.BmrwJFpR.js.map +1 -0
  217. package/dist/chunks/{keyboard-navigation.ca47dfa8.js → keyboard-navigation.Clz1jOaA.js} +2 -2
  218. package/dist/chunks/{keyboard-navigation.ca47dfa8.js.map → keyboard-navigation.Clz1jOaA.js.map} +1 -1
  219. package/dist/chunks/{index.317fca12.js → link.DJ1A53gF.js} +20 -24
  220. package/dist/chunks/link.DJ1A53gF.js.map +1 -0
  221. package/dist/chunks/listbox-option-tag.BDjsYOE1.js +75 -0
  222. package/dist/chunks/listbox-option-tag.BDjsYOE1.js.map +1 -0
  223. package/dist/chunks/{loading-button.eafc9e1b.js → loading-button.CoF1IhEU.js} +32 -34
  224. package/dist/chunks/{loading-button.eafc9e1b.js.map → loading-button.CoF1IhEU.js.map} +1 -1
  225. package/dist/chunks/loading-indicator.DXc7I1Lm.js +48 -0
  226. package/dist/chunks/loading-indicator.DXc7I1Lm.js.map +1 -0
  227. package/dist/chunks/{index.1ea85d4a.js → menu.2TwUMlA9.js} +82 -94
  228. package/dist/chunks/menu.2TwUMlA9.js.map +1 -0
  229. package/dist/chunks/modal-fullscreen.BB_8EMNo.js +196 -0
  230. package/dist/chunks/modal-fullscreen.BB_8EMNo.js.map +1 -0
  231. package/dist/chunks/{modal-fullscreen.keys.b9f31632.js → modal-fullscreen.keys.CMba3hYp.js} +1 -1
  232. package/dist/chunks/{modal-fullscreen.keys.b9f31632.js.map → modal-fullscreen.keys.CMba3hYp.js.map} +1 -1
  233. package/dist/chunks/modal.DLwvcaRx.js +439 -0
  234. package/dist/chunks/modal.DLwvcaRx.js.map +1 -0
  235. package/dist/chunks/no-results-found.Bg_ZcEid.js +5 -0
  236. package/dist/chunks/no-results-found.Bg_ZcEid.js.map +1 -0
  237. package/dist/chunks/no-results-found.BqvYsBR6.js +5 -0
  238. package/dist/chunks/no-results-found.BqvYsBR6.js.map +1 -0
  239. package/dist/chunks/notifications-cleared.BMZk37uf.js +5 -0
  240. package/dist/chunks/notifications-cleared.BMZk37uf.js.map +1 -0
  241. package/dist/chunks/notifications-cleared.C7W9ZXY7.js +5 -0
  242. package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +1 -0
  243. package/dist/chunks/{on-click-outside.3e0c3e2a.js → on-click-outside.CcNG5w7_.js} +1 -1
  244. package/dist/chunks/{on-click-outside.3e0c3e2a.js.map → on-click-outside.CcNG5w7_.js.map} +1 -1
  245. package/dist/chunks/page-not-found.COJLPVaU.js +5 -0
  246. package/dist/chunks/page-not-found.COJLPVaU.js.map +1 -0
  247. package/dist/chunks/page-not-found.DWW6W-PZ.js +5 -0
  248. package/dist/chunks/page-not-found.DWW6W-PZ.js.map +1 -0
  249. package/dist/chunks/pagination.BXjbVe4Z.js +494 -0
  250. package/dist/chunks/pagination.BXjbVe4Z.js.map +1 -0
  251. package/dist/chunks/{payment-method.6c1ce07c.js → payment-method.D9Qx-s4V.js} +19 -21
  252. package/dist/chunks/{payment-method.6c1ce07c.js.map → payment-method.D9Qx-s4V.js.map} +1 -1
  253. package/dist/chunks/payment-method.types.CJKfZQN5.js +5 -0
  254. package/dist/chunks/payment-method.types.CJKfZQN5.js.map +1 -0
  255. package/dist/chunks/planned-maintenance.C61sWB9h.js +5 -0
  256. package/dist/chunks/planned-maintenance.C61sWB9h.js.map +1 -0
  257. package/dist/chunks/planned-maintenance.jmWYTdet.js +5 -0
  258. package/dist/chunks/planned-maintenance.jmWYTdet.js.map +1 -0
  259. package/dist/chunks/{index.15b088b9.js → popover.B8YH92W8.js} +31 -37
  260. package/dist/chunks/popover.B8YH92W8.js.map +1 -0
  261. package/dist/chunks/{index.671768a1.js → popper-container.Bt02N3o1.js} +12 -15
  262. package/dist/chunks/popper-container.Bt02N3o1.js.map +1 -0
  263. package/dist/chunks/radio-group.CPbBFTzB.js +211 -0
  264. package/dist/chunks/radio-group.CPbBFTzB.js.map +1 -0
  265. package/dist/chunks/{radio-input.c6550a9c.js → radio-input.BQcC0INR.js} +17 -19
  266. package/dist/chunks/radio-input.BQcC0INR.js.map +1 -0
  267. package/dist/chunks/referrals.BvtT-kQS.js +5 -0
  268. package/dist/chunks/referrals.BvtT-kQS.js.map +1 -0
  269. package/dist/chunks/referrals.aX8WZigH.js +5 -0
  270. package/dist/chunks/referrals.aX8WZigH.js.map +1 -0
  271. package/dist/chunks/{refresh.71a03998.js → refresh.BKI9WwKh.js} +7 -9
  272. package/dist/chunks/{refresh.71a03998.js.map → refresh.BKI9WwKh.js.map} +1 -1
  273. package/dist/chunks/{resize.a041304d.js → resize.Bqks3WUm.js} +1 -1
  274. package/dist/chunks/{resize.a041304d.js.map → resize.Bqks3WUm.js.map} +1 -1
  275. package/dist/chunks/search-bar.CsAgO-t5.js +89 -0
  276. package/dist/chunks/search-bar.CsAgO-t5.js.map +1 -0
  277. package/dist/chunks/{search.471270fe.js → search.CBKhp7zB.js} +10 -12
  278. package/dist/chunks/{search.471270fe.js.map → search.CBKhp7zB.js.map} +1 -1
  279. package/dist/chunks/secondary-nav.CNgpPxUU.js +97 -0
  280. package/dist/chunks/secondary-nav.CNgpPxUU.js.map +1 -0
  281. package/dist/chunks/segmented-control.DGjIC7Ab.js +111 -0
  282. package/dist/chunks/segmented-control.DGjIC7Ab.js.map +1 -0
  283. package/dist/chunks/segmented-control.types.BHRLV8KU.js +5 -0
  284. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -0
  285. package/dist/chunks/selection-card-group.DlOs8BkR.js +247 -0
  286. package/dist/chunks/selection-card-group.DlOs8BkR.js.map +1 -0
  287. package/dist/chunks/sidepanel.BBjm2QvZ.js +187 -0
  288. package/dist/chunks/sidepanel.BBjm2QvZ.js.map +1 -0
  289. package/dist/chunks/{sidepanel.keys.1ed8a57c.js → sidepanel.keys.R0DKQuYx.js} +1 -1
  290. package/dist/chunks/{sidepanel.keys.1ed8a57c.js.map → sidepanel.keys.R0DKQuYx.js.map} +1 -1
  291. package/dist/chunks/status.types.BhbOYpZx.js +36 -0
  292. package/dist/chunks/status.types.BhbOYpZx.js.map +1 -0
  293. package/dist/chunks/step.DY8Txb6a.js +234 -0
  294. package/dist/chunks/step.DY8Txb6a.js.map +1 -0
  295. package/dist/chunks/structured-list-item.C9NTVDvT.js +81 -0
  296. package/dist/chunks/structured-list-item.C9NTVDvT.js.map +1 -0
  297. package/dist/chunks/success.DhioLvPD.js +5 -0
  298. package/dist/chunks/success.DhioLvPD.js.map +1 -0
  299. package/dist/chunks/success.nNwxJRBS.js +5 -0
  300. package/dist/chunks/success.nNwxJRBS.js.map +1 -0
  301. package/dist/chunks/summary-grid-item-custom.CJpDnoPw.js +573 -0
  302. package/dist/chunks/summary-grid-item-custom.CJpDnoPw.js.map +1 -0
  303. package/dist/chunks/{summary-grid.keys.1d1028c2.js → summary-grid.keys.BBbFrFGF.js} +1 -1
  304. package/dist/chunks/{summary-grid.keys.1d1028c2.js.map → summary-grid.keys.BBbFrFGF.js.map} +1 -1
  305. package/dist/chunks/tabs.CE65f3E_.js +140 -0
  306. package/dist/chunks/tabs.CE65f3E_.js.map +1 -0
  307. package/dist/chunks/{tabs.keys.358742f2.js → tabs.keys.Bc2pSKRw.js} +1 -1
  308. package/dist/chunks/{tabs.keys.358742f2.js.map → tabs.keys.Bc2pSKRw.js.map} +1 -1
  309. package/dist/chunks/tag.bhKrZHTU.js +64 -0
  310. package/dist/chunks/tag.bhKrZHTU.js.map +1 -0
  311. package/dist/chunks/{teleport.84b0f20b.js → teleport.CQKBJZU5.js} +14 -16
  312. package/dist/chunks/{teleport.84b0f20b.js.map → teleport.CQKBJZU5.js.map} +1 -1
  313. package/dist/chunks/textarea.CcKbtQBs.js +208 -0
  314. package/dist/chunks/textarea.CcKbtQBs.js.map +1 -0
  315. package/dist/chunks/timeline-item.ScTrUBKC.js +364 -0
  316. package/dist/chunks/timeline-item.ScTrUBKC.js.map +1 -0
  317. package/dist/chunks/toast.0EYDj8o-.js +165 -0
  318. package/dist/chunks/toast.0EYDj8o-.js.map +1 -0
  319. package/dist/chunks/toggle-button.2U-vbQhk.js +83 -0
  320. package/dist/chunks/toggle-button.2U-vbQhk.js.map +1 -0
  321. package/dist/chunks/toggle.CiOVTWlk.js +121 -0
  322. package/dist/chunks/toggle.CiOVTWlk.js.map +1 -0
  323. package/dist/chunks/{tooltip.58ef3f4a.js → tooltip.DR8rbIYw.js} +29 -32
  324. package/dist/chunks/tooltip.DR8rbIYw.js.map +1 -0
  325. package/dist/chunks/tutorial.DMm12L0S.js +335 -0
  326. package/dist/chunks/tutorial.DMm12L0S.js.map +1 -0
  327. package/dist/chunks/{index.dd30e538.js → typography.Bjtu3Gca.js} +30 -32
  328. package/dist/chunks/typography.Bjtu3Gca.js.map +1 -0
  329. package/dist/chunks/{unique-id.a2a2b458.js → unique-id.XFfoKuc2.js} +14 -20
  330. package/dist/chunks/{unique-id.a2a2b458.js.map → unique-id.XFfoKuc2.js.map} +1 -1
  331. package/dist/chunks/upload-files.5wQwbfkp.js +5 -0
  332. package/dist/chunks/upload-files.5wQwbfkp.js.map +1 -0
  333. package/dist/chunks/upload-files.jTQY6y2X.js +5 -0
  334. package/dist/chunks/upload-files.jTQY6y2X.js.map +1 -0
  335. package/dist/chunks/{use-bento-toast-controller.c3277f73.js → use-bento-toast-controller.BifdE4ak.js} +4 -4
  336. package/dist/chunks/{use-bento-toast-controller.c3277f73.js.map → use-bento-toast-controller.BifdE4ak.js.map} +1 -1
  337. package/dist/chunks/{use-cached-selected-values.69297473.js → use-cached-selected-values.CVLzxvTi.js} +345 -346
  338. package/dist/chunks/use-cached-selected-values.CVLzxvTi.js.map +1 -0
  339. package/dist/chunks/{use-click-outside.941d1600.js → use-click-outside.DbjR7Lh4.js} +2 -2
  340. package/dist/chunks/{use-click-outside.941d1600.js.map → use-click-outside.DbjR7Lh4.js.map} +1 -1
  341. package/dist/chunks/{use-country-items.6b7985bf.js → use-country-items.C25TI6tp.js} +4 -4
  342. package/dist/chunks/{use-country-items.6b7985bf.js.map → use-country-items.C25TI6tp.js.map} +1 -1
  343. package/dist/chunks/{use-default-slot-validator.b9bff4c6.js → use-default-slot-validator.BDn0wkYP.js} +2 -2
  344. package/dist/chunks/{use-default-slot-validator.b9bff4c6.js.map → use-default-slot-validator.BDn0wkYP.js.map} +1 -1
  345. package/dist/chunks/{use-expandable-content-height.62fc84e5.js → use-expandable-content-height.GkjjbmPy.js} +1 -1
  346. package/dist/chunks/{use-expandable-content-height.62fc84e5.js.map → use-expandable-content-height.GkjjbmPy.js.map} +1 -1
  347. package/dist/chunks/{use-form-layout-loading.d03e5d48.js → use-form-layout-loading.D3lALhtC.js} +2 -2
  348. package/dist/chunks/{use-form-layout-loading.d03e5d48.js.map → use-form-layout-loading.D3lALhtC.js.map} +1 -1
  349. package/dist/chunks/use-has-slot.C9lQZ6nz.js +6 -0
  350. package/dist/chunks/{use-has-slot.fbeb19ec.js.map → use-has-slot.C9lQZ6nz.js.map} +1 -1
  351. package/dist/chunks/warning-filled.CLKRzGMT.js +24 -0
  352. package/dist/chunks/warning-filled.CLKRzGMT.js.map +1 -0
  353. package/dist/chunks/wrong-environment.BOsyKdRI.js +5 -0
  354. package/dist/chunks/wrong-environment.BOsyKdRI.js.map +1 -0
  355. package/dist/chunks/wrong-environment.BiHTPtbJ.js +5 -0
  356. package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +1 -0
  357. package/dist/click-outside.js +2 -20
  358. package/dist/click-outside.js.map +1 -1
  359. package/dist/code-snippet.js +5 -2050
  360. package/dist/code-snippet.js.map +1 -1
  361. package/dist/country.js +8 -97
  362. package/dist/country.js.map +1 -1
  363. package/dist/currency.js +3 -112
  364. package/dist/currency.js.map +1 -1
  365. package/dist/dashboard-template.js +6 -0
  366. package/dist/dashboard-template.js.map +1 -0
  367. package/dist/dashed-underline.js +5 -0
  368. package/dist/dashed-underline.js.map +1 -0
  369. package/dist/data-grid-template.js +2 -65
  370. package/dist/data-grid-template.js.map +1 -1
  371. package/dist/data-grid.js +8 -1978
  372. package/dist/data-grid.js.map +1 -1
  373. package/dist/date-picker.js +5 -197
  374. package/dist/date-picker.js.map +1 -1
  375. package/dist/date-range-picker.js +2 -2
  376. package/dist/date.js +1 -1
  377. package/dist/divider.js +1 -1
  378. package/dist/dropdown.js +12 -227
  379. package/dist/dropdown.js.map +1 -1
  380. package/dist/empty-state.js +5 -143
  381. package/dist/empty-state.js.map +1 -1
  382. package/dist/filter-bar.js +5 -2154
  383. package/dist/filter-bar.js.map +1 -1
  384. package/dist/focus-trap.js +1 -1
  385. package/dist/form-layout.js +5 -192
  386. package/dist/form-layout.js.map +1 -1
  387. package/dist/header.js +2 -246
  388. package/dist/header.js.map +1 -1
  389. package/dist/image.js +4 -81
  390. package/dist/image.js.map +1 -1
  391. package/dist/index.js +276 -269
  392. package/dist/index.js.map +1 -1
  393. package/dist/info-icon.js +2 -40
  394. package/dist/info-icon.js.map +1 -1
  395. package/dist/input-field.js +7 -217
  396. package/dist/input-field.js.map +1 -1
  397. package/dist/internal.js +15 -15
  398. package/dist/link.js +1 -1
  399. package/dist/loading-indicator.js +3 -47
  400. package/dist/loading-indicator.js.map +1 -1
  401. package/dist/menu.js +1 -1
  402. package/dist/modal-fullscreen.js +3 -197
  403. package/dist/modal-fullscreen.js.map +1 -1
  404. package/dist/modal.js +11 -451
  405. package/dist/modal.js.map +1 -1
  406. package/dist/pagination.js +2 -507
  407. package/dist/pagination.js.map +1 -1
  408. package/dist/payment-method.js +4 -4
  409. package/dist/payment-method.js.map +1 -1
  410. package/dist/popover.js +1 -1
  411. package/dist/popper-container.js +1 -1
  412. package/dist/radio-group.js +6 -213
  413. package/dist/radio-group.js.map +1 -1
  414. package/dist/search-bar.js +6 -90
  415. package/dist/search-bar.js.map +1 -1
  416. package/dist/secondary-nav.js +2 -100
  417. package/dist/secondary-nav.js.map +1 -1
  418. package/dist/segmented-control.js +4 -215
  419. package/dist/segmented-control.js.map +1 -1
  420. package/dist/selection-card.js +4 -248
  421. package/dist/selection-card.js.map +1 -1
  422. package/dist/sidepanel.js +4 -189
  423. package/dist/sidepanel.js.map +1 -1
  424. package/dist/status.js +3 -40
  425. package/dist/status.js.map +1 -1
  426. package/dist/stepper.js +5 -237
  427. package/dist/stepper.js.map +1 -1
  428. package/dist/structured-list.js +1 -1
  429. package/dist/summary-grid.js +9 -584
  430. package/dist/summary-grid.js.map +1 -1
  431. package/dist/tabs.js +3 -140
  432. package/dist/tabs.js.map +1 -1
  433. package/dist/tag.js +3 -63
  434. package/dist/tag.js.map +1 -1
  435. package/dist/textarea.js +2 -209
  436. package/dist/textarea.js.map +1 -1
  437. package/dist/timeline.js +7 -367
  438. package/dist/timeline.js.map +1 -1
  439. package/dist/toast.js +2 -168
  440. package/dist/toast.js.map +1 -1
  441. package/dist/toggle.js +4 -120
  442. package/dist/toggle.js.map +1 -1
  443. package/dist/tutorial.js +2 -325
  444. package/dist/tutorial.js.map +1 -1
  445. package/dist/typography.js +1 -1
  446. package/dist/web-types.json +482 -305
  447. package/package.json +11 -10
  448. package/dist/assets/index11.css +0 -1
  449. package/dist/assets/index18.css +0 -1
  450. package/dist/assets/index33.css +0 -1
  451. package/dist/assets/index34.css +0 -1
  452. package/dist/assets/index35.css +0 -1
  453. package/dist/assets/index38.css +0 -1
  454. package/dist/assets/index4.css +0 -1
  455. package/dist/assets/index40.css +0 -1
  456. package/dist/assets/index44.css +0 -1
  457. package/dist/assets/index46.css +0 -1
  458. package/dist/chunks/1-generic-use.3ea646cd.js +0 -5
  459. package/dist/chunks/1-generic-use.3ea646cd.js.map +0 -1
  460. package/dist/chunks/1-generic-use.ccca5813.js +0 -5
  461. package/dist/chunks/1-generic-use.ccca5813.js.map +0 -1
  462. package/dist/chunks/2-generic-use.443db127.js +0 -5
  463. package/dist/chunks/2-generic-use.443db127.js.map +0 -1
  464. package/dist/chunks/2-generic-use.d69d7c08.js +0 -5
  465. package/dist/chunks/2-generic-use.d69d7c08.js.map +0 -1
  466. package/dist/chunks/3-generic-use.9f74667f.js +0 -5
  467. package/dist/chunks/3-generic-use.9f74667f.js.map +0 -1
  468. package/dist/chunks/3-generic-use.fe7ae2ce.js +0 -5
  469. package/dist/chunks/3-generic-use.fe7ae2ce.js.map +0 -1
  470. package/dist/chunks/4-generic-use.0356f4a1.js +0 -5
  471. package/dist/chunks/4-generic-use.0356f4a1.js.map +0 -1
  472. package/dist/chunks/4-generic-use.cd04bad0.js +0 -5
  473. package/dist/chunks/4-generic-use.cd04bad0.js.map +0 -1
  474. package/dist/chunks/_plugin-vue2_normalizer.71e2aa87.js +0 -33
  475. package/dist/chunks/_plugin-vue2_normalizer.71e2aa87.js.map +0 -1
  476. package/dist/chunks/adding-payment-methods.d570e03e.js +0 -5
  477. package/dist/chunks/adding-payment-methods.d570e03e.js.map +0 -1
  478. package/dist/chunks/adding-payment-methods.e419d6c0.js +0 -5
  479. package/dist/chunks/adding-payment-methods.e419d6c0.js.map +0 -1
  480. package/dist/chunks/adyen-giving.480913b5.js +0 -5
  481. package/dist/chunks/adyen-giving.480913b5.js.map +0 -1
  482. package/dist/chunks/adyen-giving.54ed984c.js +0 -5
  483. package/dist/chunks/adyen-giving.54ed984c.js.map +0 -1
  484. package/dist/chunks/base-button.ad74b6f8.js +0 -88
  485. package/dist/chunks/button-actions.81db18e8.js +0 -111
  486. package/dist/chunks/button-actions.81db18e8.js.map +0 -1
  487. package/dist/chunks/button.9d6435ae.js +0 -100
  488. package/dist/chunks/button.9d6435ae.js.map +0 -1
  489. package/dist/chunks/checkmark-circle-fill.345311d2.js +0 -26
  490. package/dist/chunks/checkmark.a6ed8f47.js +0 -26
  491. package/dist/chunks/checkmark.a6ed8f47.js.map +0 -1
  492. package/dist/chunks/dropdown.10c034aa.js.map +0 -1
  493. package/dist/chunks/error-message.31ec12b7.js +0 -111
  494. package/dist/chunks/events.58c00e6d.js +0 -50
  495. package/dist/chunks/events.58c00e6d.js.map +0 -1
  496. package/dist/chunks/index.15b088b9.js.map +0 -1
  497. package/dist/chunks/index.1ea85d4a.js.map +0 -1
  498. package/dist/chunks/index.317fca12.js.map +0 -1
  499. package/dist/chunks/index.671768a1.js.map +0 -1
  500. package/dist/chunks/index.7eefc59c.js.map +0 -1
  501. package/dist/chunks/index.885d05a9.js +0 -32
  502. package/dist/chunks/index.885d05a9.js.map +0 -1
  503. package/dist/chunks/index.8b8c3b16.js.map +0 -1
  504. package/dist/chunks/index.aaf965f8.js +0 -147
  505. package/dist/chunks/index.aaf965f8.js.map +0 -1
  506. package/dist/chunks/index.b21197ca.js.map +0 -1
  507. package/dist/chunks/index.d553d3d1.js.map +0 -1
  508. package/dist/chunks/index.dd30e538.js.map +0 -1
  509. package/dist/chunks/internal-error.35cbb071.js +0 -5
  510. package/dist/chunks/internal-error.35cbb071.js.map +0 -1
  511. package/dist/chunks/internal-error.9a4823ed.js +0 -5
  512. package/dist/chunks/internal-error.9a4823ed.js.map +0 -1
  513. package/dist/chunks/listbox-option-tag.6bbb6bbe.js +0 -107
  514. package/dist/chunks/listbox-option-tag.6bbb6bbe.js.map +0 -1
  515. package/dist/chunks/no-results-found.58856d70.js +0 -5
  516. package/dist/chunks/no-results-found.58856d70.js.map +0 -1
  517. package/dist/chunks/no-results-found.cbb12f78.js +0 -5
  518. package/dist/chunks/no-results-found.cbb12f78.js.map +0 -1
  519. package/dist/chunks/notifications-cleared.71025c22.js +0 -5
  520. package/dist/chunks/notifications-cleared.71025c22.js.map +0 -1
  521. package/dist/chunks/notifications-cleared.c4f4bed4.js +0 -5
  522. package/dist/chunks/notifications-cleared.c4f4bed4.js.map +0 -1
  523. package/dist/chunks/page-not-found.a500440d.js +0 -5
  524. package/dist/chunks/page-not-found.a500440d.js.map +0 -1
  525. package/dist/chunks/page-not-found.d1a84ba7.js +0 -5
  526. package/dist/chunks/page-not-found.d1a84ba7.js.map +0 -1
  527. package/dist/chunks/planned-maintenance.7fa5ac16.js +0 -5
  528. package/dist/chunks/planned-maintenance.7fa5ac16.js.map +0 -1
  529. package/dist/chunks/planned-maintenance.cff01aed.js +0 -5
  530. package/dist/chunks/planned-maintenance.cff01aed.js.map +0 -1
  531. package/dist/chunks/radio-input.c6550a9c.js.map +0 -1
  532. package/dist/chunks/referrals.178ce0eb.js +0 -5
  533. package/dist/chunks/referrals.178ce0eb.js.map +0 -1
  534. package/dist/chunks/referrals.599047da.js +0 -5
  535. package/dist/chunks/referrals.599047da.js.map +0 -1
  536. package/dist/chunks/success.41981fe8.js +0 -5
  537. package/dist/chunks/success.41981fe8.js.map +0 -1
  538. package/dist/chunks/success.77fac78b.js +0 -5
  539. package/dist/chunks/success.77fac78b.js.map +0 -1
  540. package/dist/chunks/tooltip.58ef3f4a.js.map +0 -1
  541. package/dist/chunks/upload-files.2708eca7.js +0 -5
  542. package/dist/chunks/upload-files.2708eca7.js.map +0 -1
  543. package/dist/chunks/upload-files.b4cd9f8b.js +0 -5
  544. package/dist/chunks/upload-files.b4cd9f8b.js.map +0 -1
  545. package/dist/chunks/use-cached-selected-values.69297473.js.map +0 -1
  546. package/dist/chunks/use-has-slot.fbeb19ec.js +0 -6
  547. package/dist/chunks/wrong-environment.c73b0bc0.js +0 -5
  548. package/dist/chunks/wrong-environment.c73b0bc0.js.map +0 -1
  549. package/dist/chunks/wrong-environment.f890a237.js +0 -5
  550. package/dist/chunks/wrong-environment.f890a237.js.map +0 -1
  551. /package/dist/assets/{index5.css → avatar-image.css} +0 -0
  552. /package/dist/assets/{index.css → badge.css} +0 -0
  553. /package/dist/assets/{index8.css → checkbox-group.css} +0 -0
  554. /package/dist/assets/{index10.css → country.css} +0 -0
  555. /package/dist/assets/{index12.css → date-picker.css} +0 -0
  556. /package/dist/assets/{index13.css → date-range-picker.css} +0 -0
  557. /package/dist/assets/{index14.css → divider.css} +0 -0
  558. /package/dist/assets/{index16.css → dropdown-tag.css} +0 -0
  559. /package/dist/assets/{index17.css → empty-state.css} +0 -0
  560. /package/dist/assets/{index19.css → focus-trap.css} +0 -0
  561. /package/dist/assets/{index21.css → header.css} +0 -0
  562. /package/dist/assets/{index27.css → info-icon.css} +0 -0
  563. /package/dist/assets/{index42.css → link.css} +0 -0
  564. /package/dist/assets/{index23.css → loading-indicator.css} +0 -0
  565. /package/dist/assets/{index24.css → pagination.css} +0 -0
  566. /package/dist/assets/{index45.css → popper-container.css} +0 -0
  567. /package/dist/assets/{index20.css → radio-group.css} +0 -0
  568. /package/dist/assets/{index47.css → search-bar.css} +0 -0
  569. /package/dist/assets/{index48.css → secondary-nav.css} +0 -0
  570. /package/dist/assets/{index39.css → step.css} +0 -0
  571. /package/dist/assets/{index41.css → summary-grid-item-custom.css} +0 -0
  572. /package/dist/assets/{index36.css → tag.css} +0 -0
  573. /package/dist/assets/{index30.css → textarea.css} +0 -0
  574. /package/dist/assets/{index31.css → timeline-item.css} +0 -0
  575. /package/dist/assets/{index32.css → toast.css} +0 -0
  576. /package/dist/assets/{index6.css → toggle-button.css} +0 -0
  577. /package/dist/assets/{index29.css → typography.css} +0 -0
@@ -0,0 +1,335 @@
1
+ import { defineComponent as h, ref as d, computed as a, isRef as P, watch as g, nextTick as $ } from "vue";
2
+ import { B as I } from "./menu.2TwUMlA9.js";
3
+ import { a as T, B as w } from "./popover.B8YH92W8.js";
4
+ import { B as k } from "./typography.Bjtu3Gca.js";
5
+ import { B as N } from "./image.B3uqhFjl.js";
6
+ import { u as A } from "./i18n.BQkEbtPM.js";
7
+ import { R as D } from "./refresh.BKI9WwKh.js";
8
+ import { n as f } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
9
+ import { P as b, h as j, o as L } from "./popper-container.Bt02N3o1.js";
10
+ import { B as M } from "./button-actions.Bg9ey0p6.js";
11
+ import "../assets/tutorial.css";
12
+ var E;
13
+ const V = /* @__PURE__ */ h({
14
+ __name: "tutorial-indicator",
15
+ props: {
16
+ /**
17
+ * Tutorial indicator's target element.
18
+ * The indicator will position itself around the target element.
19
+ */
20
+ targetElement: {
21
+ type: (E = b.props) == null ? void 0 : E.targetElement.type,
22
+ required: !0
23
+ }
24
+ },
25
+ setup(n) {
26
+ const e = d({
27
+ width: "0",
28
+ height: "0",
29
+ borderRadius: "0"
30
+ });
31
+ function s(l) {
32
+ try {
33
+ const i = parseFloat(getComputedStyle(l).getPropertyValue("border-radius"));
34
+ return Number.isNaN(i) ? "" : `${i + 2 * 2}px`;
35
+ } catch {
36
+ return "";
37
+ }
38
+ }
39
+ const o = [
40
+ j(),
41
+ L({
42
+ mainAxis: 2,
43
+ alignmentAxis: -2
44
+ }),
45
+ {
46
+ name: "updateIndicatorSize",
47
+ fn: ({ x: l, y: i, elements: r }) => {
48
+ const p = r.reference;
49
+ return e.value.width = `${p.offsetWidth + 4 * 2}px`, e.value.height = `${p.offsetHeight + 4 * 2}px`, e.value.borderRadius = s(p), { x: l, y: i };
50
+ }
51
+ }
52
+ ];
53
+ return { __sfc: !0, BORDER_OFFSET: 2, computedStyles: e, getBorderRadius: s, middleware: o, PopperContainer: b };
54
+ }
55
+ });
56
+ var q = function() {
57
+ var t = this, e = t._self._c, s = t._self._setupProxy;
58
+ return e(s.PopperContainer, { staticClass: "b-tutorial-indicator", attrs: { "target-element": t.targetElement, middleware: s.middleware, position: "top-start", "fixed-positioning": "", "disabled-focus-trap": "", "data-testid": "tutorial-indicator" } }, [e("div", { staticClass: "b-tutorial-indicator__highlight", style: s.computedStyles })]);
59
+ }, K = [], Z = /* @__PURE__ */ f(
60
+ V,
61
+ q,
62
+ K,
63
+ !1,
64
+ null,
65
+ "ea45578e"
66
+ );
67
+ const z = Z.exports;
68
+ let B = 0;
69
+ const H = {
70
+ beforeCreate() {
71
+ this.uuid = B.toString(), B += 1;
72
+ }
73
+ };
74
+ var U = function() {
75
+ var t = this, e = t._self._c;
76
+ return e("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? e("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), e("g", { attrs: { "clip-path": "url(#uia-icons-16-blocked__a" + t.uuid + ")" } }, [e("path", { attrs: { fill: "#00112C", 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" } })]), e("defs", [e("clipPath", { attrs: { id: "uia-icons-16-blocked__a" + t.uuid } }, [e("rect", { attrs: { width: "16", height: "16", fill: "#fff" } })])])]);
77
+ }, W = [], X = /* @__PURE__ */ f(
78
+ H,
79
+ U,
80
+ W,
81
+ !1,
82
+ null,
83
+ null
84
+ );
85
+ const G = X.exports, J = {
86
+ "en-US": {
87
+ finish: "Finish",
88
+ next: "Next",
89
+ ok: "OK",
90
+ restartTour: "Restart tour",
91
+ skipTour: "Skip tour",
92
+ startTour: "Start tour",
93
+ stepsOfTotal: "{step} of {totalSteps}"
94
+ }
95
+ }, Q = {
96
+ i18n: { messages: J }
97
+ }, Y = /* @__PURE__ */ h({
98
+ ...Q,
99
+ __name: "tutorial-popover",
100
+ props: {
101
+ /**
102
+ * Optional configuration for the secondary action.
103
+ * In tour tutorials, this is ignored for the introductory step.
104
+ */
105
+ action: {
106
+ type: Object,
107
+ default: null
108
+ },
109
+ /**
110
+ * Indicates whether this popover is the active step (and should be visible).
111
+ */
112
+ active: {
113
+ type: Boolean,
114
+ default: !1
115
+ },
116
+ /**
117
+ * Optional illustration to display at the top of the popover.
118
+ */
119
+ image: {
120
+ type: Object,
121
+ default: null
122
+ },
123
+ /**
124
+ * Popover's position relative to the target element.
125
+ * Possible values are:
126
+ * 'auto', 'auto-start', 'auto-end',
127
+ * 'top', 'top-start', 'top-end'
128
+ * 'right', 'right-start', 'right-end'
129
+ * 'bottom', 'bottom-start', 'bottom-end'
130
+ * 'left', 'left-start', 'left-end'
131
+ */
132
+ position: {
133
+ type: String,
134
+ default: T.BOTTOM_START,
135
+ validator: (n) => Object.values(T).includes(n)
136
+ },
137
+ /**
138
+ * Options to control the scroll into view behavior.
139
+ * Takes the same options as the `scrollIntoView` function
140
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView}
141
+ */
142
+ scrollOptions: {
143
+ type: [Boolean, Object],
144
+ default: null
145
+ },
146
+ /**
147
+ * Indicates whether this popover is a single tutorial or a tour.
148
+ */
149
+ single: {
150
+ type: Boolean,
151
+ default: !1
152
+ },
153
+ /**
154
+ * The tutorial step number.
155
+ * In tour tutorials, `0` is the introductory step, and is displayed next
156
+ * to the title.
157
+ */
158
+ step: {
159
+ type: Number,
160
+ default: null
161
+ },
162
+ /**
163
+ * Tutorial popover's target element.
164
+ * The popover will position itself relatively to target element.
165
+ */
166
+ targetElement: {
167
+ type: [Element, Object],
168
+ required: !0
169
+ },
170
+ /**
171
+ * The tutorial step title.
172
+ */
173
+ title: {
174
+ type: String,
175
+ required: !0
176
+ },
177
+ /**
178
+ * Total count of steps.
179
+ * In tour tutorials, this does not include the introductory step, and is
180
+ * displayed next to the title.
181
+ */
182
+ totalSteps: {
183
+ type: Number,
184
+ default: null
185
+ }
186
+ },
187
+ emits: ["next", "finish", "restart"],
188
+ setup(n, { emit: t }) {
189
+ const e = n, s = { behavior: "smooth" }, { t: o } = A(), l = a(() => ({
190
+ title: o("skipTour"),
191
+ event: () => t("finish")
192
+ })), i = a(() => ({
193
+ title: o("startTour"),
194
+ event: () => t("next")
195
+ })), r = a(() => ({
196
+ title: o("next"),
197
+ event: () => t("next")
198
+ })), p = a(() => ({
199
+ title: o("finish"),
200
+ event: () => t("finish")
201
+ })), C = a(() => ({
202
+ title: o("ok"),
203
+ event: () => t("finish")
204
+ })), y = d(!1), O = d(!1), v = a(() => {
205
+ var u;
206
+ return P(e.targetElement) ? ((u = e.targetElement.value) == null ? void 0 : u.$el) || e.targetElement.value : e.targetElement.$el || e.targetElement;
207
+ }), _ = a(() => e.step === 0), m = a(() => e.step === e.totalSteps), x = a(() => !_.value), R = a(() => [
208
+ {
209
+ text: o("restartTour"),
210
+ handler: () => t("restart"),
211
+ icon: D
212
+ },
213
+ ...m.value ? [] : [
214
+ {
215
+ text: "Skip tour",
216
+ handler: () => t("finish"),
217
+ icon: G
218
+ }
219
+ ]
220
+ ]), F = a(() => {
221
+ let u;
222
+ _.value ? u = e.single ? C.value : i.value : m.value ? u = p.value : u = r.value;
223
+ const c = [u];
224
+ return _.value && !e.single ? c.push(l.value) : e.action && c.push(e.action), c;
225
+ });
226
+ return g(
227
+ () => e.active,
228
+ async (u) => {
229
+ var c, S;
230
+ u && ((c = v.value) != null && c.scrollIntoView) && ((S = v.value) == null || S.scrollIntoView(
231
+ e.scrollOptions != null ? e.scrollOptions : s
232
+ ), await $()), y.value = u, O.value = u;
233
+ },
234
+ { immediate: !0 }
235
+ ), { __sfc: !0, DEFAULT_SCROLL_OPTIONS: s, props: e, t: o, emit: t, ACTION_SKIP: l, ACTION_START: i, ACTION_NEXT: r, ACTION_FINISH: p, ACTION_OK: C, isPopoverOpen: y, isIndicatorVisible: O, targetElement: v, isFirstStep: _, isLastStep: m, showSteps: x, menuData: R, computedActions: F, BentoMenu: I, BentoPopover: w, BentoTypography: k, BentoButtonActions: M, BentoImage: N, TutorialIndicator: z };
236
+ }
237
+ });
238
+ var tt = function() {
239
+ var t = this, e = t._self._c, s = t._self._setupProxy;
240
+ return t.active && s.targetElement ? e("div", [s.isIndicatorVisible && s.targetElement ? e(s.TutorialIndicator, { attrs: { "target-element": s.targetElement } }) : t._e(), e(s.BentoPopover, { staticClass: "b-tutorial-popover", attrs: { "target-element": s.targetElement, position: t.position, open: s.isPopoverOpen, "aria-label": t.title, "fixed-positioning": "" }, nativeOn: { keydown: function(o) {
241
+ return !o.type.indexOf("key") && t._k(o.keyCode, "esc", 27, o.key, ["Esc", "Escape"]) ? null : s.emit("finish");
242
+ } }, scopedSlots: t._u([t.image ? { key: "image", fn: function() {
243
+ return [e(s.BentoImage, t._b({ staticClass: "b-tutorial-popover__image", attrs: { "aspect-ratio": "landscape" } }, "bento-image", t.image, !1))];
244
+ }, proxy: !0 } : null], null, !0) }, [e("div", { staticClass: "b-tutorial-popover__ripple", attrs: { "aria-hidden": "true" } }), e("div", { staticClass: "b-tutorial-popover__header" }, [e(s.BentoTypography, { attrs: { variant: "title", el: "span" } }, [t._v(" " + t._s(t.title) + " ")]), s.showSteps ? e(s.BentoTypography, { staticClass: "b-tutorial-popover__steps", attrs: { el: "span" } }, [t._v(" " + t._s(s.t("stepsOfTotal", { step: t.step, totalSteps: t.totalSteps })) + " ")]) : t._e()], 1), e(s.BentoTypography, [t._t("default")], 2), e("div", { staticClass: "b-tutorial-popover__footer" }, [s.isFirstStep ? t._e() : e(s.BentoMenu, { staticClass: "b-tutorial-popover__menu", attrs: { data: s.menuData, "data-testid": "menu-button" } }), e("div", { staticClass: "b-tutorial-popover__actions" }, [e(s.BentoButtonActions, { attrs: { actions: s.computedActions, layout: "buttons-end" } })], 1)], 1)], 1)], 1) : t._e();
245
+ }, et = [], st = /* @__PURE__ */ f(
246
+ Y,
247
+ tt,
248
+ et,
249
+ !1,
250
+ null,
251
+ "ac66e07d"
252
+ );
253
+ const ot = st.exports, rt = {}, at = /* @__PURE__ */ h({
254
+ ...rt,
255
+ __name: "tutorial",
256
+ props: {
257
+ /**
258
+ * The current step index. If provided, will start the tutorial in that step.
259
+ */
260
+ index: {
261
+ type: Number,
262
+ default: null
263
+ },
264
+ /**
265
+ * The steps configuration for the tutorial.
266
+ *
267
+ */
268
+ steps: {
269
+ type: Array,
270
+ required: !0,
271
+ validator: (n) => n.length > 0
272
+ },
273
+ /**
274
+ * Options to control the scroll into view behavior.
275
+ * Takes the same options as the `scrollIntoView` function
276
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView}
277
+ */
278
+ scrollOptions: {
279
+ type: [Boolean, Object],
280
+ default: null
281
+ }
282
+ },
283
+ emits: ["update:index"],
284
+ setup(n, { emit: t }) {
285
+ const e = n, s = d(e.index || 0), o = a(() => e.steps.length - 1), l = a(() => o.value === 0);
286
+ function i(r, p) {
287
+ return {
288
+ // Visual
289
+ targetElement: r.target,
290
+ image: r.image,
291
+ title: r.title,
292
+ step: p,
293
+ totalSteps: o.value,
294
+ action: r.action,
295
+ scrollOptions: e.scrollOptions,
296
+ // Config
297
+ active: p === s.value,
298
+ single: l.value,
299
+ position: r.position
300
+ };
301
+ }
302
+ return g(s, (r) => {
303
+ t("update:index", r);
304
+ }), g(
305
+ () => e.index,
306
+ (r) => {
307
+ r >= -1 && r <= o.value && (s.value = r);
308
+ }
309
+ ), { __sfc: !0, props: e, emit: t, currentStep: s, totalSteps: o, isSingleTutorial: l, getPopoverProps: i, TutorialPopover: ot };
310
+ }
311
+ });
312
+ var nt = function() {
313
+ var t = this, e = t._self._c, s = t._self._setupProxy;
314
+ return e("div", { staticClass: "b-tutorial" }, t._l(t.steps, function(o, l) {
315
+ return e(s.TutorialPopover, t._b({ key: o.title, on: { finish: function(i) {
316
+ s.currentStep = -1;
317
+ }, next: function(i) {
318
+ s.currentStep += 1;
319
+ }, restart: function(i) {
320
+ s.currentStep = 0;
321
+ } } }, "tutorial-popover", s.getPopoverProps(o, l), !1), [t._v(" " + t._s(o.description) + " ")]);
322
+ }), 1);
323
+ }, it = [], lt = /* @__PURE__ */ f(
324
+ at,
325
+ nt,
326
+ it,
327
+ !1,
328
+ null,
329
+ null
330
+ );
331
+ const Ct = lt.exports;
332
+ export {
333
+ Ct as t
334
+ };
335
+ //# sourceMappingURL=tutorial.DMm12L0S.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tutorial.DMm12L0S.js","sources":["../../src/components/tutorial/components/tutorial-popover/components/tutorial-indicator/tutorial-indicator.vue","../../../../node_modules/@adyen/ui-assets-icons-16/dist/vue/blocked.vue","../../src/components/tutorial/components/tutorial-popover/tutorial-popover.vue","../../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-icons-16-blocked__a' + uuid + ')'\"><path fill=\"#00112C\" 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-icons-16-blocked__a' + uuid\"><rect width=\"16\" height=\"16\" fill=\"#fff\"/></clipPath></defs></svg>\n</template>\n<script>\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n<style>\n @import '../css/main.css';\n</style>\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, 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';\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<BentoMenuItem[]>(() => [\n {\n text: t('restartTour'),\n handler: () => emit('restart'),\n icon: RefreshIcon,\n },\n ...(isLastStep.value\n ? []\n : [\n {\n text: 'Skip tour',\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, 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<BentoTutorialStep[]>,\n required: true,\n validator: (value: 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":["computedStyles","ref","getBorderRadius","element","radius","middleware","hide","offset","x","y","elements","target","uuid","_sfc_main$2","__default__$1","messages","DEFAULT_SCROLL_OPTIONS","t","useI18n","ACTION_SKIP","computed","emit","ACTION_START","ACTION_NEXT","ACTION_FINISH","ACTION_OK","isPopoverOpen","isIndicatorVisible","targetElement","isRef","props","_a","isFirstStep","isLastStep","showSteps","menuData","RefreshIcon","BlockedIcon","computedActions","primaryAction","actions","watch","isActive","_b","nextTick","__default__","currentStep","totalSteps","isSingleTutorial","getPopoverProps","step","index","value"],"mappings":"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","x_google_ignoreList":[1]}
@@ -1,19 +1,19 @@
1
- import { defineComponent as _, computed as c } from "vue";
2
- import { n as E } from "./_plugin-vue2_normalizer.71e2aa87.js";
3
- import "../assets/index29.css";
4
- var e = /* @__PURE__ */ ((t) => (t.CAPTION = "caption", t.BODY = "body", t.SUBTITLE = "subtitle", t.TITLE = "title", t))(e || {}), s = /* @__PURE__ */ ((t) => (t.WIDE = "wide", t.STRONGER = "stronger", t.STRONGER_WIDE = "stronger-wide", t.STRONGEST = "strongest", t.STRONGEST_WIDE = "strongest-wide", t.MEDIUM = "m", t.LARGE = "l", t.MOBILE = "mobile", t))(s || {}), l = /* @__PURE__ */ ((t) => (t.H1 = "h1", t.H2 = "h2", t.H3 = "h3", t.H4 = "h4", t.H5 = "h5", t.H6 = "h6", t.DIV = "div", t.PARAGRAPH = "p", t.SPAN = "span", t))(l || {});
5
- const T = ["development", "DEVELOPMENT", "dev", "DEV"], d = () => T.includes(process.env.NODE_ENV);
1
+ import { defineComponent as T, computed as p } from "vue";
2
+ import { n as c } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
3
+ import "../assets/typography.css";
4
+ var e = /* @__PURE__ */ ((t) => (t.CAPTION = "caption", t.BODY = "body", t.SUBTITLE = "subtitle", t.TITLE = "title", t))(e || {}), r = /* @__PURE__ */ ((t) => (t.WIDE = "wide", t.STRONGER = "stronger", t.STRONGER_WIDE = "stronger-wide", t.STRONGEST = "strongest", t.STRONGEST_WIDE = "strongest-wide", t.MEDIUM = "m", t.LARGE = "l", t.MOBILE = "mobile", t))(r || {}), l = /* @__PURE__ */ ((t) => (t.H1 = "h1", t.H2 = "h2", t.H3 = "h3", t.H4 = "h4", t.H5 = "h5", t.H6 = "h6", t.DIV = "div", t.PARAGRAPH = "p", t.SPAN = "span", t))(l || {});
5
+ const d = ["development", "DEVELOPMENT", "dev", "DEV"], I = () => d.includes(process.env.NODE_ENV);
6
6
  function n(...t) {
7
- d() && console.warn(...t);
7
+ I() && console.warn(...t);
8
8
  }
9
9
  const o = ["color: red", "background: yellow"].join(";"), i = /* @__PURE__ */ new Set();
10
- function u(t, a, r) {
11
- i.has(t) || (n(`%cDEPRECATED:\x1B[0m ${t}`, o), n(`${a.replaceAll(" ", "").trim()}`), n(`To be removed in: %c${r}`, o), i.add(t));
10
+ function u(t, a, s) {
11
+ i.has(t) || (n(`%cDEPRECATED:\x1B[0m ${t}`, o), n(`${a.replaceAll(" ", "").trim()}`), n(`To be removed in: %c${s}`, o), i.add(t));
12
12
  }
13
13
  const v = {
14
14
  name: "bento-typography",
15
15
  inheritAttrs: !0
16
- }, I = /* @__PURE__ */ _({
16
+ }, O = /* @__PURE__ */ T({
17
17
  ...v,
18
18
  props: {
19
19
  el: { default: l.PARAGRAPH },
@@ -32,48 +32,46 @@ const v = {
32
32
  <bento-typography :variant="BentoTypographyVariant.TITLE" medium>`,
33
33
  "2.0.0"
34
34
  );
35
- const r = c(() => ({
35
+ const s = p(() => ({
36
36
  // Caption
37
37
  [`b-typography--${e.CAPTION}`]: a.variant === e.CAPTION,
38
- [`b-typography--${e.CAPTION}-${s.WIDE}`]: a.variant === e.CAPTION && a.wide,
39
- [`b-typography--${e.CAPTION}-${s.STRONGER}`]: a.variant === e.CAPTION && a.stronger,
38
+ [`b-typography--${e.CAPTION}-${r.WIDE}`]: a.variant === e.CAPTION && a.wide,
39
+ [`b-typography--${e.CAPTION}-${r.STRONGER}`]: a.variant === e.CAPTION && a.stronger,
40
40
  // Body
41
41
  [`b-typography--${e.BODY}`]: a.variant === e.BODY,
42
- [`b-typography--${e.BODY}-${s.WIDE}`]: a.variant === e.BODY && a.wide,
43
- [`b-typography--${e.BODY}-${s.STRONGER}`]: a.variant === e.BODY && a.stronger,
44
- [`b-typography--${e.BODY}-${s.STRONGEST}`]: a.variant === e.BODY && a.strongest,
42
+ [`b-typography--${e.BODY}-${r.WIDE}`]: a.variant === e.BODY && a.wide,
43
+ [`b-typography--${e.BODY}-${r.STRONGER}`]: a.variant === e.BODY && a.stronger,
44
+ [`b-typography--${e.BODY}-${r.STRONGEST}`]: a.variant === e.BODY && a.strongest,
45
45
  // Subtitle
46
46
  [`b-typography--${e.SUBTITLE}`]: a.variant === e.SUBTITLE,
47
- [`b-typography--${e.SUBTITLE}-${s.STRONGER}`]: a.variant === e.SUBTITLE && a.stronger,
47
+ [`b-typography--${e.SUBTITLE}-${r.STRONGER}`]: a.variant === e.SUBTITLE && a.stronger,
48
48
  // Title
49
49
  [`b-typography--${e.TITLE}`]: a.variant === e.TITLE && !a.medium && !a.large,
50
- [`b-typography--${e.TITLE}-${s.MEDIUM}`]: a.variant === e.TITLE && a.medium,
51
- [`b-typography--${e.TITLE}-${s.LARGE}`]: a.variant === e.TITLE && a.large
50
+ [`b-typography--${e.TITLE}-${r.MEDIUM}`]: a.variant === e.TITLE && a.medium,
51
+ [`b-typography--${e.TITLE}-${r.LARGE}`]: a.variant === e.TITLE && a.large
52
52
  }));
53
- return { __sfc: !0, props: a, conditionalClasses: r };
53
+ return { __sfc: !0, props: a, conditionalClasses: s };
54
54
  }
55
55
  });
56
- var O = function() {
57
- var a = this, r = a._self._c, p = a._self._setupProxy;
58
- return r(a.el, { tag: "component", staticClass: "b-typography", class: p.conditionalClasses, attrs: { "data-testid": "typography" } }, [a._t("default")], 2);
59
- }, D = [], f = /* @__PURE__ */ E(
60
- I,
56
+ var _ = function() {
57
+ var a = this, s = a._self._c, E = a._self._setupProxy;
58
+ return s(a.el, { tag: "component", staticClass: "b-typography", class: E.conditionalClasses, attrs: { "data-testid": "typography" } }, [a._t("default")], 2);
59
+ }, D = [], m = /* @__PURE__ */ c(
61
60
  O,
61
+ _,
62
62
  D,
63
63
  !1,
64
64
  null,
65
- "f3c9953d",
66
- null,
67
- null
65
+ "f3c9953d"
68
66
  );
69
- const y = f.exports;
67
+ const N = m.exports;
70
68
  export {
71
- y as B,
69
+ N as B,
72
70
  e as a,
73
- s as b,
71
+ r as b,
74
72
  l as c,
75
73
  u as d,
76
- d as i,
74
+ I as i,
77
75
  n as p
78
76
  };
79
- //# sourceMappingURL=index.dd30e538.js.map
77
+ //# sourceMappingURL=typography.Bjtu3Gca.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typography.Bjtu3Gca.js","sources":["../../../core/src/components/typography/typography.types.ts","../../src/utils/ts/dev-environment.ts","../../src/utils/ts/print-development-warning.ts","../../src/utils/ts/deprecate.ts","../../src/components/typography/typography.vue"],"sourcesContent":["/**\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","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","<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 } from 'vue';\n import {\n BentoTypographyElement,\n BentoTypographyModifier,\n BentoTypographyVariant,\n } from '@/core/components/typography/typography.types';\n import { deprecate } from '@/utils/ts/deprecate';\n\n const props = withDefaults(\n defineProps<{\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 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 tje Body variant.\n */\n wide?: boolean;\n }>(),\n {\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\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 // 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</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=\"@/core/components/typography/typography.scss\" />\n<style lang=\"scss\">\n // Reset preset browser margin on all elements but allow for it to be overriden\n .b-typography {\n margin: 0;\n }\n</style>\n"],"names":["BentoTypographyVariant","BentoTypographyVariant2","BentoTypographyModifier","BentoTypographyModifier2","BentoTypographyElement","BentoTypographyElement2","DEV_ENVIROMENT_NAMES","isDevelopmentEnviroment","printDevelopmentWarning","args","DEPRECATION_STYLES","shownMessages","deprecate","title","deprecationMessage","toBeRemovedInVersion","__default__","props","conditionalClasses","computed"],"mappings":"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"}
@@ -1,34 +1,28 @@
1
1
  let o;
2
- const p = new Uint8Array(16);
3
- function y() {
2
+ const i = new Uint8Array(16);
3
+ function p() {
4
4
  if (!o && (o = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !o))
5
5
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
6
- return o(p);
6
+ return o(i);
7
7
  }
8
8
  const d = [];
9
9
  for (let n = 0; n < 256; ++n)
10
10
  d.push((n + 256).toString(16).slice(1));
11
- function g(n, t = 0) {
11
+ function y(n, t = 0) {
12
12
  return (d[n[t + 0]] + d[n[t + 1]] + d[n[t + 2]] + d[n[t + 3]] + "-" + d[n[t + 4]] + d[n[t + 5]] + "-" + d[n[t + 6]] + d[n[t + 7]] + "-" + d[n[t + 8]] + d[n[t + 9]] + "-" + d[n[t + 10]] + d[n[t + 11]] + d[n[t + 12]] + d[n[t + 13]] + d[n[t + 14]] + d[n[t + 15]]).toLowerCase();
13
13
  }
14
- const m = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), i = {
15
- randomUUID: m
14
+ const g = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), u = {
15
+ randomUUID: g
16
16
  };
17
- function r(n, t, u) {
18
- if (i.randomUUID && !t && !n)
19
- return i.randomUUID();
17
+ function c(n, t, m) {
18
+ if (u.randomUUID && !t && !n)
19
+ return u.randomUUID();
20
20
  n = n || {};
21
- const e = n.random || (n.rng || y)();
22
- if (e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128, t) {
23
- u = u || 0;
24
- for (let c = 0; c < 16; ++c)
25
- t[u + c] = e[c];
26
- return t;
27
- }
28
- return g(e);
21
+ const e = n.random || (n.rng || p)();
22
+ return e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128, y(e);
29
23
  }
30
- const U = (n) => n ? `${n}-${r()}` : r();
24
+ const r = (n) => n ? `${n}-${c()}` : c();
31
25
  export {
32
- U as g
26
+ r as g
33
27
  };
34
- //# sourceMappingURL=unique-id.a2a2b458.js.map
28
+ //# sourceMappingURL=unique-id.XFfoKuc2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"unique-id.a2a2b458.js","sources":["../../../../node_modules/uuid/dist/esm-browser/rng.js","../../../../node_modules/uuid/dist/esm-browser/stringify.js","../../../../node_modules/uuid/dist/esm-browser/native.js","../../../../node_modules/uuid/dist/esm-browser/v4.js","../../src/utils/ts/unique-id.ts"],"sourcesContent":["// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\nlet getRandomValues;\nconst rnds8 = new Uint8Array(16);\nexport default function rng() {\n // lazy load so that environments that need to polyfill have a chance to do so\n if (!getRandomValues) {\n // getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation.\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);\n\n if (!getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n }\n\n return getRandomValues(rnds8);\n}","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\n\nexport function unsafeStringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();\n}\n\nfunction stringify(arr, offset = 0) {\n const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;","const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);\nexport default {\n randomUUID\n};","import native from './native.js';\nimport rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\n\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return unsafeStringify(rnds);\n}\n\nexport default v4;","import { v4 } from 'uuid';\n\n/**\n * Returns a unique identifier optionally prefixed by a custom string\n * @param value - The string to be prepended to the unique identifier\n */\nexport const generateUid = (value: string): string => (value ? `${value}-${v4()}` : v4());\n"],"names":["getRandomValues","rnds8","rng","byteToHex","i","unsafeStringify","arr","offset","randomUUID","native","v4","options","buf","rnds","generateUid","value"],"mappings":"AAGA,IAAIA;AACJ,MAAMC,IAAQ,IAAI,WAAW,EAAE;AAChB,SAASC,IAAM;AAE5B,MAAI,CAACF,MAEHA,IAAkB,OAAO,SAAW,OAAe,OAAO,mBAAmB,OAAO,gBAAgB,KAAK,MAAM,GAE3G,CAACA;AACH,UAAM,IAAI,MAAM,0GAA0G;AAI9H,SAAOA,EAAgBC,CAAK;AAC9B;ACXA,MAAME,IAAY,CAAA;AAElB,SAASC,IAAI,GAAGA,IAAI,KAAK,EAAEA;AACzB,EAAAD,EAAU,MAAMC,IAAI,KAAO,SAAS,EAAE,EAAE,MAAM,CAAC,CAAC;AAG3C,SAASC,EAAgBC,GAAKC,IAAS,GAAG;AAG/C,UAAQJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAI,MAAMJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAI,MAAMJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAI,MAAMJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAI,MAAMJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,GAAG;AACvf;AChBA,MAAMC,IAAa,OAAO,SAAW,OAAe,OAAO,cAAc,OAAO,WAAW,KAAK,MAAM,GACvFC,IAAA;AAAA,EACb,YAAAD;AACF;ACCA,SAASE,EAAGC,GAASC,GAAKL,GAAQ;AAChC,MAAIE,EAAO,cAAc,CAACG,KAAO,CAACD;AAChC,WAAOF,EAAO;AAGhB,EAAAE,IAAUA,KAAW;AACrB,QAAME,IAAOF,EAAQ,WAAWA,EAAQ,OAAOT;AAK/C,MAHAW,EAAK,CAAC,IAAIA,EAAK,CAAC,IAAI,KAAO,IAC3BA,EAAK,CAAC,IAAIA,EAAK,CAAC,IAAI,KAAO,KAEvBD,GAAK;AACP,IAAAL,IAASA,KAAU;AAEnB,aAASH,IAAI,GAAGA,IAAI,IAAI,EAAEA;AACxB,MAAAQ,EAAIL,IAASH,CAAC,IAAIS,EAAKT,CAAC;AAG1B,WAAOQ;AAAA;AAGT,SAAOP,EAAgBQ,CAAI;AAC7B;ACpBa,MAAAC,IAAc,CAACC,MAA2BA,IAAQ,GAAGA,KAASL,QAASA,EAAG;","x_google_ignoreList":[0,1,2,3]}
1
+ {"version":3,"file":"unique-id.XFfoKuc2.js","sources":["../../../../node_modules/uuid/dist/esm-browser/rng.js","../../../../node_modules/uuid/dist/esm-browser/stringify.js","../../../../node_modules/uuid/dist/esm-browser/native.js","../../../../node_modules/uuid/dist/esm-browser/v4.js","../../src/utils/ts/unique-id.ts"],"sourcesContent":["// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\nlet getRandomValues;\nconst rnds8 = new Uint8Array(16);\nexport default function rng() {\n // lazy load so that environments that need to polyfill have a chance to do so\n if (!getRandomValues) {\n // getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation.\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);\n\n if (!getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n }\n\n return getRandomValues(rnds8);\n}","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\n\nexport function unsafeStringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();\n}\n\nfunction stringify(arr, offset = 0) {\n const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;","const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);\nexport default {\n randomUUID\n};","import native from './native.js';\nimport rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\n\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return unsafeStringify(rnds);\n}\n\nexport default v4;","import { v4 } from 'uuid';\n\n/**\n * Returns a unique identifier optionally prefixed by a custom string\n * @param value - The string to be prepended to the unique identifier\n */\nexport const generateUid = (value: string): string => (value ? `${value}-${v4()}` : v4());\n"],"names":["getRandomValues","rnds8","rng","byteToHex","i","unsafeStringify","arr","offset","randomUUID","native","v4","options","buf","rnds","generateUid","value"],"mappings":"AAGA,IAAIA;AACJ,MAAMC,IAAQ,IAAI,WAAW,EAAE;AAChB,SAASC,IAAM;AAE5B,MAAI,CAACF,MAEHA,IAAkB,OAAO,SAAW,OAAe,OAAO,mBAAmB,OAAO,gBAAgB,KAAK,MAAM,GAE3G,CAACA;AACH,UAAM,IAAI,MAAM,0GAA0G;AAI9H,SAAOA,EAAgBC,CAAK;AAC9B;ACXA,MAAME,IAAY,CAAE;AAEpB,SAASC,IAAI,GAAGA,IAAI,KAAK,EAAEA;AACzB,EAAAD,EAAU,MAAMC,IAAI,KAAO,SAAS,EAAE,EAAE,MAAM,CAAC,CAAC;AAG3C,SAASC,EAAgBC,GAAKC,IAAS,GAAG;AAG/C,UAAQJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAI,MAAMJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAI,MAAMJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAI,MAAMJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,CAAC,CAAC,IAAI,MAAMJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,IAAIJ,EAAUG,EAAIC,IAAS,EAAE,CAAC,GAAG,YAAa;AACpgB;AChBA,MAAMC,IAAa,OAAO,SAAW,OAAe,OAAO,cAAc,OAAO,WAAW,KAAK,MAAM,GACvFC,IAAA;AAAA,EACb,YAAAD;AACF;ACCA,SAASE,EAAGC,GAASC,GAAKL,GAAQ;AAChC,MAAIE,EAAO,cAAc,CAACG,KAAO,CAACD;AAChC,WAAOF,EAAO,WAAY;AAG5B,EAAAE,IAAUA,KAAW,CAAE;AACvB,QAAME,IAAOF,EAAQ,WAAWA,EAAQ,OAAOT;AAE/C,SAAAW,EAAK,CAAC,IAAIA,EAAK,CAAC,IAAI,KAAO,IAC3BA,EAAK,CAAC,IAAIA,EAAK,CAAC,IAAI,KAAO,KAYpBR,EAAgBQ,CAAI;AAC7B;ACpBa,MAAAC,IAAc,CAACC,MAA2BA,IAAQ,GAAGA,CAAK,IAAIL,GAAI,KAAKA,EAAG;","x_google_ignoreList":[0,1,2,3]}
@@ -0,0 +1,5 @@
1
+ const e = "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";
2
+ export {
3
+ e as default
4
+ };
5
+ //# sourceMappingURL=upload-files.5wQwbfkp.js.map