@solvimon/solvimon-web 0.1.0-alpha.20 → 0.1.0-alpha.22

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 (636) hide show
  1. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Co3XAxaY.js +1 -0
  2. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DFv-awxb.mjs +223 -0
  3. package/dist/Amount.vue.es-DExaYBqm.js +1 -0
  4. package/dist/Amount.vue.es-DPqHB8Xd.mjs +22 -0
  5. package/dist/Avatar.vue.es-D42J_izE.js +1 -0
  6. package/dist/Avatar.vue.es-DNJ-jexx.mjs +81 -0
  7. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BEVkWJXT.js +1 -0
  8. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-D1uVidXk.mjs +60 -0
  9. package/dist/Button.vue.es-Dz-2L8dJ.mjs +368 -0
  10. package/dist/Button.vue.es-M_jXZda4.js +1 -0
  11. package/dist/Checkout.entry.ce-B5-0AM67.mjs +3747 -0
  12. package/dist/Checkout.entry.ce-C52gkrNZ.js +1 -0
  13. package/dist/Chip.vue.es-DMK9C78d.mjs +114 -0
  14. package/dist/Chip.vue.es-G8doKsZb.js +1 -0
  15. package/dist/Comparators.vue.es-CwhX3rbx.mjs +93 -0
  16. package/dist/Comparators.vue.es-DmkxV0gb.js +1 -0
  17. package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
  18. package/dist/ContentWithAsideLayout-C6yMIVJF.js +1 -0
  19. package/dist/ContextMenu.vue.es-B3Rz6Ojk.js +1 -0
  20. package/dist/ContextMenu.vue.es-CzkkNoJG.mjs +573 -0
  21. package/dist/CustomerBillingInformation.vue.es-BmtU9Pk0.js +1 -0
  22. package/dist/CustomerBillingInformation.vue.es-Db6bN2RZ.mjs +153 -0
  23. package/dist/CustomerPaymentMethods.lib-B_753rau.mjs +4 -0
  24. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BGHaTx1A.js +1 -0
  25. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-fESZVyPe.mjs +140 -0
  26. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-Cnlbp0om.js +1 -0
  27. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DdMHG1_Y.mjs +2684 -0
  28. package/dist/Divider.vue.es-DnP_HqLz.mjs +22 -0
  29. package/dist/Divider.vue.es-UwnWvUTl.js +1 -0
  30. package/dist/DividerText.vue.es-D-QxT2OD.js +1 -0
  31. package/dist/DividerText.vue.es-IK2fns6f.mjs +56 -0
  32. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CM_8Asmw.js +1 -0
  33. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-lhJnqrrh.mjs +335 -0
  34. package/dist/ErrorNotification.vue.es-BGckEwHf.mjs +31 -0
  35. package/dist/ErrorNotification.vue.es-Cd2UKPAz.js +1 -0
  36. package/dist/Expand.vue.es-BleuAfDz.mjs +32 -0
  37. package/dist/Expand.vue.es-BtM0EZEr.js +1 -0
  38. package/dist/FormMessage.vue.es-dqATjC2N.js +1 -0
  39. package/dist/FormMessage.vue.es-jG3fQZms.mjs +29 -0
  40. package/dist/IconButton.vue.es-BTAkuFsm.js +1 -0
  41. package/dist/IconButton.vue.es-C4dQEQAc.mjs +198 -0
  42. package/dist/IconTitle.vue.es-BmX68uJx.mjs +103 -0
  43. package/dist/IconTitle.vue.es-CmR2xoeu.js +1 -0
  44. package/dist/Input.vue.es-BGPELaZU.mjs +235 -0
  45. package/dist/Input.vue.es-CTOrmrcB.js +1 -0
  46. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CMEOOuSU.mjs +92 -0
  47. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-bheNAKzK.js +1 -0
  48. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-Xo9BR6AD.js +1 -0
  49. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-avhwysNq.mjs +41 -0
  50. package/dist/InvoiceSummary.vue.es-BWLiwlNs.mjs +2585 -0
  51. package/dist/InvoiceSummary.vue.es-hpG8Tq1D.js +1 -0
  52. package/dist/Modal.vue.es-BD4vUaOQ.js +1 -0
  53. package/dist/Modal.vue.es-B_G8NQS2.mjs +387 -0
  54. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BnilyGBO.mjs +144 -0
  55. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-CSv-Luvz.js +1 -0
  56. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DIJbzWMV.js +1 -0
  57. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DuorCFo9.mjs +51 -0
  58. package/dist/PaymentHistoryBlock-ComJzB3H.mjs +4 -0
  59. package/dist/{PaymentHistoryBlock-Ci8aSJeb.js → PaymentHistoryBlock-DSHW_eW1.js} +1 -1
  60. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DUN0Hf2v.js +1 -0
  61. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-hjtksV2D.mjs +93 -0
  62. package/dist/PaymentIntegrationForm-CH5B6BY5.mjs +4 -0
  63. package/dist/{PaymentIntegrationForm-CsuueDE0.js → PaymentIntegrationForm-CwfCLnKt.js} +1 -1
  64. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BqYk4_T9.mjs +138 -0
  65. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DzSQC951.js +1 -0
  66. package/dist/PaymentIntegrationFormAdyen-DfN7cPYZ.mjs +621 -0
  67. package/dist/PaymentIntegrationFormAdyen-Q48aDXR7.js +98 -0
  68. package/dist/PaymentIntegrationFormStripe-BSEqarl7.js +102 -0
  69. package/dist/PaymentIntegrationFormStripe-CBsXDuhy.mjs +488 -0
  70. package/dist/PaymentMethod.vue.es-D18g-QB4.js +1 -0
  71. package/dist/PaymentMethod.vue.es-DkQdPXfk.mjs +623 -0
  72. package/dist/PaymentMethodForm-CpIZKfPH.mjs +4 -0
  73. package/dist/{PaymentMethodForm-hZuVHAti.js → PaymentMethodForm-DK8ntFA0.js} +1 -1
  74. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-C1tGJsay.mjs +167 -0
  75. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-D7fDguwa.js +1 -0
  76. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-C6BcIkEV.mjs +169 -0
  77. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-H3vrPllf.js +1 -0
  78. package/dist/PlanCustomizationEditor-0zCXN-cv.mjs +877 -0
  79. package/dist/PlanCustomizationEditor-XpofGULc.js +1 -0
  80. package/dist/PricingGroupRangeInput.vue.es-8_5nfZDI.mjs +627 -0
  81. package/dist/PricingGroupRangeInput.vue.es-QnpfHxaY.js +185 -0
  82. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CGJhKKNL.js +1 -0
  83. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-t6h1j6WD.mjs +131 -0
  84. package/dist/RadioGroupExtended.vue.es-C92xlCFQ.mjs +163 -0
  85. package/dist/RadioGroupExtended.vue.es-Cb1iD73r.js +1 -0
  86. package/dist/Section.vue.es-Btff-cLY.js +1 -0
  87. package/dist/Section.vue.es-DQ5H7mqW.mjs +72 -0
  88. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BfvX14E3.js +1 -0
  89. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DKsunuGT.mjs +687 -0
  90. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs +51 -0
  91. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js +1 -0
  92. package/dist/SubscriptionSchedules-Dc0rUnnf.mjs +4 -0
  93. package/dist/SubscriptionSchedules-pzNsego6.js +1 -0
  94. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Brs9qDs5.mjs +5291 -0
  95. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-nmVRb6hj.js +1 -0
  96. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-C1mkIPMr.mjs +91 -0
  97. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-s5_uhyuB.js +1 -0
  98. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-CFmCJK8M.js +1 -0
  99. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-DSoNs7Xx.mjs +284 -0
  100. package/dist/TooltipParagraph.vue.es-BaqCDjl8.js +1 -0
  101. package/dist/TooltipParagraph.vue.es-CIedcXGT.mjs +129 -0
  102. package/dist/TrialChip.vue.es-BzNI94k0.js +1 -0
  103. package/dist/TrialChip.vue.es-DkBuMNr_.mjs +35 -0
  104. package/dist/accel.svg.es-C0hqmmEY.mjs +4 -0
  105. package/dist/accel.svg.es-DFJXdioD.js +1 -0
  106. package/dist/ach.svg.es-BYP873jU.js +1 -0
  107. package/dist/ach.svg.es-DduMiYM2.mjs +4 -0
  108. package/dist/adyen-BJfC7N6f.js +1 -0
  109. package/dist/adyen-Bugab0JE.mjs +4 -0
  110. package/dist/adyen-CvsH5fok.mjs +117 -0
  111. package/dist/adyen-Druit6gz.js +1 -0
  112. package/dist/adyenSdk-B01MB9Ia.mjs +58 -0
  113. package/dist/adyenSdk-BP2XXzeJ.js +1 -0
  114. package/dist/amazon-pay.svg.es-BACIX6C7.mjs +4 -0
  115. package/dist/amazon-pay.svg.es-CQWgtowB.js +1 -0
  116. package/dist/amex.svg.es-DKhW4Txt.js +1 -0
  117. package/dist/amex.svg.es-DjTEMRVg.mjs +4 -0
  118. package/dist/api.es-QaC926Xu.mjs +43 -0
  119. package/dist/api.es-duCDtZD9.js +1 -0
  120. package/dist/apple-pay.svg.es-B3tkA54p.mjs +4 -0
  121. package/dist/apple-pay.svg.es-Dyojd0F-.js +1 -0
  122. package/dist/bacs.svg.es-CZIjZIE8.mjs +4 -0
  123. package/dist/bacs.svg.es-GJpZs1sD.js +1 -0
  124. package/dist/bancontact.svg.es-B26-JwdE.mjs +4 -0
  125. package/dist/bancontact.svg.es-BQh7nAup.js +1 -0
  126. package/dist/carnet.svg.es-BtO3AmNu.mjs +4 -0
  127. package/dist/carnet.svg.es-DY04-F2L.js +1 -0
  128. package/dist/cartes-bancaires.svg.es-BleHMlkN.js +1 -0
  129. package/dist/cartes-bancaires.svg.es-DEPpdLvi.mjs +4 -0
  130. package/dist/cashapp.svg.es-DOGwRjXp.mjs +4 -0
  131. package/dist/cashapp.svg.es-MwXGYom6.js +1 -0
  132. package/dist/{cn.es-BEU5D0Wz.mjs → cn.es-BGqYNPM3.mjs} +657 -927
  133. package/dist/cn.es-CvmLj7KH.js +1 -0
  134. package/dist/comparators.es-D8WGL-c4.mjs +153 -0
  135. package/dist/comparators.es-OGt19O9U.js +1 -0
  136. package/dist/component-5wqcK7yz.mjs +8 -0
  137. package/dist/component-B7ZDyqBp.js +1 -0
  138. package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
  139. package/dist/components/BillingInformation/BillingInformation.mjs +39 -48
  140. package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
  141. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +256 -307
  142. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
  143. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +43 -52
  144. package/dist/components/Invoice/Invoice.cjs +1 -1
  145. package/dist/components/Invoice/Invoice.mjs +372 -430
  146. package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
  147. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +55 -65
  148. package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
  149. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +41 -46
  150. package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
  151. package/dist/components/InvoicesList/InvoicesList.mjs +43 -53
  152. package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
  153. package/dist/components/PaymentHistory/PaymentHistory.mjs +58 -68
  154. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
  155. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +51 -63
  156. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
  157. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +41 -50
  158. package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
  159. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +49 -60
  160. package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
  161. package/dist/components/WalletBalances/WalletBalances.mjs +59 -70
  162. package/dist/configuration-BytDBAWs.mjs +14 -0
  163. package/dist/configuration-akTS7Wiw.js +1 -0
  164. package/dist/core/index.cjs +1 -1
  165. package/dist/core/index.mjs +89 -104
  166. package/dist/{countryData.es--zJAd6LA.mjs → countryData.es-BegoD-cZ.mjs} +2 -2
  167. package/dist/countryData.es-C4jHBzfo.js +1 -0
  168. package/dist/customElements-CSE7dwUr.mjs +6561 -0
  169. package/dist/customElements-Vox1PB6G.js +1211 -0
  170. package/dist/customer-5krPxZ8i.mjs +31 -0
  171. package/dist/customer-Dsq-Moea.js +1 -0
  172. package/dist/customer.es-B5ppZf0j.mjs +20 -0
  173. package/dist/customer.es-BButyYo0.js +1 -0
  174. package/dist/dana.svg.es-BDtZLpwd.js +1 -0
  175. package/dist/dana.svg.es-Cy8Q6DZi.mjs +4 -0
  176. package/dist/dankort.svg.es-B7VqJdWq.mjs +4 -0
  177. package/dist/dankort.svg.es-CksaipXF.js +1 -0
  178. package/dist/{de-DE-_40QfLNJ.js → de-DE-BSlbAnPE.js} +1 -1
  179. package/dist/de-DE-C3DzP1nj.js +1 -0
  180. package/dist/{de-DE-BeyQVhTv.mjs → de-DE-DXsG-vXA.mjs} +46 -59
  181. package/dist/{de-DE-CI2zQkiP.mjs → de-DE-DsFtpLsx.mjs} +7 -5
  182. package/dist/diners.svg.es-BP9enCow.mjs +4 -0
  183. package/dist/diners.svg.es-D6Mu1pqP.js +1 -0
  184. package/dist/discover.svg.es-DEsEJBYh.mjs +4 -0
  185. package/dist/discover.svg.es-DgqWCMUM.js +1 -0
  186. package/dist/eftpos.svg.es--js6-yfk.mjs +4 -0
  187. package/dist/eftpos.svg.es-Dk2DOT8W.js +1 -0
  188. package/dist/elo.svg.es-C-BzjuRP.js +1 -0
  189. package/dist/elo.svg.es-CMZPAxcn.mjs +4 -0
  190. package/dist/{en-US--NRsi7Hz.js → en-US-9xdcz3T5.js} +1 -1
  191. package/dist/{en-US-5YWNEi-V.mjs → en-US-C939IZ5i.mjs} +50 -63
  192. package/dist/{en-US-DksUWPIu.mjs → en-US-DvkvbV0p.mjs} +7 -5
  193. package/dist/en-US-X_pSFsNm.js +1 -0
  194. package/dist/eps.svg.es-B_85bP-W.js +1 -0
  195. package/dist/eps.svg.es-CzIPBSb9.mjs +4 -0
  196. package/dist/error-BHVZJGwD.mjs +13 -0
  197. package/dist/error-CmduqgVq.js +1 -0
  198. package/dist/floating-ui.vue.es-Bly3DGWm.js +1 -0
  199. package/dist/floating-ui.vue.es-CYt0fSY7.mjs +1108 -0
  200. package/dist/formatting.es-C72Nsrmh.js +1 -0
  201. package/dist/formatting.es-RclXHhKo.mjs +61 -0
  202. package/dist/gcash.svg.es-BKAdhWzv.js +1 -0
  203. package/dist/gcash.svg.es-BpDtvraq.mjs +4 -0
  204. package/dist/getComposedString.es-C__uhJpd.mjs +10 -0
  205. package/dist/getComposedString.es-haS4bAj7.js +1 -0
  206. package/dist/getCountryNameByCode.es-BDHua7VM.mjs +8 -0
  207. package/dist/getCountryNameByCode.es-Xxc0nZsH.js +1 -0
  208. package/dist/girocard.svg.es-HSOEvDif.js +1 -0
  209. package/dist/girocard.svg.es-Riswtk8Z.mjs +4 -0
  210. package/dist/go-pay.svg.es-CiIyLELZ.mjs +4 -0
  211. package/dist/go-pay.svg.es-DQjtunZ_.js +1 -0
  212. package/dist/google-pay.svg.es-Dgj_N6nz.mjs +4 -0
  213. package/dist/google-pay.svg.es-hzc_EgiJ.js +1 -0
  214. package/dist/hipercard.svg.es-B80bu8Vd.mjs +4 -0
  215. package/dist/hipercard.svg.es-CbCsRY2q.js +1 -0
  216. package/dist/icon-sprite.svg.es-Bt21fMEt.mjs +4 -0
  217. package/dist/icon-sprite.svg.es-Dauis9LS.js +1 -0
  218. package/dist/ideal.svg.es-Booz1IML.js +1 -0
  219. package/dist/ideal.svg.es-DaqTS2Ax.mjs +4 -0
  220. package/dist/index-BPU8tIml.mjs +828 -0
  221. package/dist/index-BPZPnOQQ.js +7 -0
  222. package/dist/index-CTwLxoOS.mjs +7250 -0
  223. package/dist/index-DwueOtPi.js +1 -0
  224. package/dist/index.cjs +1 -1
  225. package/dist/index.es-BclokHQX.js +1 -0
  226. package/dist/index.es-CXkP_k3u.mjs +345 -0
  227. package/dist/index.mjs +40 -40
  228. package/dist/invoices-DRgfpkJ6.mjs +118 -0
  229. package/dist/invoices-xOV2YaEV.js +1 -0
  230. package/dist/{it-IT-B6blp8MI.mjs → it-IT-BxpwB3oJ.mjs} +46 -59
  231. package/dist/it-IT-DT3rfjOY.js +1 -0
  232. package/dist/{it-IT-CMy1tHKZ.mjs → it-IT-TE7oqvXa.mjs} +7 -5
  233. package/dist/it-IT-YBtHAao1.js +1 -0
  234. package/dist/jcb.svg.es-B3WPB8c2.js +1 -0
  235. package/dist/jcb.svg.es-Couw-2p9.mjs +4 -0
  236. package/dist/kakao-pay.svg.es-CIFT8fob.mjs +4 -0
  237. package/dist/kakao-pay.svg.es-Cs-lCW74.js +1 -0
  238. package/dist/klarna.svg.es-Cs6XaHD7.js +1 -0
  239. package/dist/klarna.svg.es-WKt8_NZa.mjs +4 -0
  240. package/dist/maestro.svg.es-BvK4oPg4.js +1 -0
  241. package/dist/maestro.svg.es-DbdxwYUE.mjs +4 -0
  242. package/dist/mastercard.svg.es-B7T3PS12.mjs +4 -0
  243. package/dist/mastercard.svg.es-lp4AXyyV.js +1 -0
  244. package/dist/momo.svg.es-C5aLYf_R.js +1 -0
  245. package/dist/momo.svg.es-X5XB25fM.mjs +4 -0
  246. package/dist/nl-NL-C8wnyKju.js +1 -0
  247. package/dist/nl-NL-DfkhOJKc.js +1 -0
  248. package/dist/{nl-NL-CckNM7R9.mjs → nl-NL-Di3-JArV.mjs} +7 -5
  249. package/dist/{nl-NL-CjoW8r_M.mjs → nl-NL-na2I4aiP.mjs} +46 -59
  250. package/dist/nyce.svg.es-ArAivAZW.js +1 -0
  251. package/dist/nyce.svg.es-DcPsO_sh.mjs +4 -0
  252. package/dist/object.es-8aLDIncs.mjs +12 -0
  253. package/dist/object.es-CdriXMPs.js +1 -0
  254. package/dist/open-banking.svg.es-C4mPhwsn.mjs +4 -0
  255. package/dist/open-banking.svg.es-Q3rRkCvP.js +1 -0
  256. package/dist/paymentMethods-CRDIw9lz.js +1 -0
  257. package/dist/paymentMethods-PmkHYomw.mjs +75 -0
  258. package/dist/payments-Dvqh6CGW.mjs +45 -0
  259. package/dist/payments-jAgXhdp_.js +1 -0
  260. package/dist/paypal.svg.es-BC2AP20j.mjs +4 -0
  261. package/dist/paypal.svg.es-Cjp5sNI3.js +1 -0
  262. package/dist/pricing-BVAld27Y.js +1 -0
  263. package/dist/pricing-DLOeiAIB.mjs +16 -0
  264. package/dist/pricingItemConfigs.es-D4aYkYcf.js +1 -0
  265. package/dist/pricingItemConfigs.es-ORxsk_YS.mjs +77 -0
  266. package/dist/pricingPlanSchedule-BM8vsKkV.js +1 -0
  267. package/dist/pricingPlanSchedule-BPrS2WRd.mjs +132 -0
  268. package/dist/pulse.svg.es-Dit33E8S.js +1 -0
  269. package/dist/pulse.svg.es-Rmoz-9Ej.mjs +4 -0
  270. package/dist/screens/Checkout/Checkout.cjs +1 -1
  271. package/dist/screens/Checkout/Checkout.mjs +3 -5237
  272. package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
  273. package/dist/screens/CustomerOverview/CustomerOverview.mjs +112 -138
  274. package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
  275. package/dist/screens/PayInvoice/PayInvoice.mjs +348 -397
  276. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
  277. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +153 -170
  278. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
  279. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +609 -720
  280. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
  281. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +466 -555
  282. package/dist/sepa.svg.es-0t4DKeA1.js +1 -0
  283. package/dist/sepa.svg.es-DIO_K345.mjs +4 -0
  284. package/dist/slots.es-BA4MyEAa.mjs +5 -0
  285. package/dist/slots.es-T9ZJRGtG.js +1 -0
  286. package/dist/sorting.es-DCihKqD2.mjs +77 -0
  287. package/dist/sorting.es-DQsjKr8A.js +1 -0
  288. package/dist/star.svg.es-BUZNUnYq.mjs +4 -0
  289. package/dist/star.svg.es-D2JncY7b.js +1 -0
  290. package/dist/subscription-CrVOr5MF.mjs +69 -0
  291. package/dist/subscription-ZA62t4E9.js +1 -0
  292. package/dist/subscriptions-XDyI2Cqm.mjs +55 -0
  293. package/dist/subscriptions-fJcj88X9.js +1 -0
  294. package/dist/trustly.svg.es-AM7Ha-3Y.mjs +4 -0
  295. package/dist/trustly.svg.es-GJByiFAs.js +1 -0
  296. package/dist/twint.svg.es-BJ2f48og.js +1 -0
  297. package/dist/twint.svg.es-DZogAQG6.mjs +4 -0
  298. package/dist/typeGuards.es-B4XMtlkM.mjs +8 -0
  299. package/dist/typeGuards.es-DS3vZaJn.js +1 -0
  300. package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +1 -0
  301. package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +6 -0
  302. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +7 -0
  303. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +2 -1
  304. package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +1 -0
  305. package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditor.types.d.ts +6 -0
  306. package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditorItem.types.d.ts +6 -0
  307. package/dist/types/composables/useInvoicePreview.types.d.ts +1 -0
  308. package/dist/types/public/components/Invoice/Invoice.types.d.ts +1 -1
  309. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +1 -1
  310. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +7 -0
  311. package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +1 -1
  312. package/dist/unionpay.svg.es-DjFZ5EMQ.js +1 -0
  313. package/dist/unionpay.svg.es-me7q-nTI.mjs +4 -0
  314. package/dist/url-BNKStNY9.js +1 -0
  315. package/dist/url-DwiuKYpu.mjs +20 -0
  316. package/dist/useActionDispatchProvider-B8-oycQk.mjs +11 -0
  317. package/dist/useActionDispatchProvider-CNAuaHdm.js +1 -0
  318. package/dist/useCustomer-CP8eWUZV.mjs +20 -0
  319. package/dist/useCustomer-DSx-wN-6.js +1 -0
  320. package/dist/useCustomerFormLabels-DW6jnDYH.mjs +968 -0
  321. package/dist/useCustomerFormLabels-TVTgy0MT.js +1 -0
  322. package/dist/useExperimentalFeature-BvE_EOX-.mjs +6 -0
  323. package/dist/useExperimentalFeature-CC-DrIcL.js +1 -0
  324. package/dist/useIncrementalLoading-CaWOE8Xl.js +1 -0
  325. package/dist/useIncrementalLoading-Cgxw2GD7.mjs +48 -0
  326. package/dist/useInvoiceData-CRRPdXc6.js +1 -0
  327. package/dist/useInvoiceData-D8ds05CX.mjs +38 -0
  328. package/dist/useInvoicesList-DIfQcvER.js +1 -0
  329. package/dist/useInvoicesList-SJU5YWBQ.mjs +500 -0
  330. package/dist/useLoadInitialData-DsabgMLZ.js +1 -0
  331. package/dist/useLoadInitialData-MUljS38K.mjs +15 -0
  332. package/dist/usePaymentMethodAvailability-Bt7P9InI.js +1 -0
  333. package/dist/usePaymentMethodAvailability-D0NUanyF.mjs +118 -0
  334. package/dist/usePaymentMethodOptions-B7JYkGsw.mjs +37 -0
  335. package/dist/usePaymentMethodOptions-cT1o-BA1.js +1 -0
  336. package/dist/usePaymentMethods-CpzqXQUT.mjs +15 -0
  337. package/dist/usePaymentMethods-DNVw2eVg.js +1 -0
  338. package/dist/usePayments-D9Eo-uBk.js +1 -0
  339. package/dist/usePayments-Gx9kBvNB.mjs +318 -0
  340. package/dist/usePortal-3VCZwSUE.mjs +11 -0
  341. package/dist/usePortal-DsebXdhx.js +1 -0
  342. package/dist/useService-Bh47bllz.mjs +50 -0
  343. package/dist/useService-H7BjLg8P.js +1 -0
  344. package/dist/useSubscription-DnL1wVh1.mjs +210 -0
  345. package/dist/useSubscription-K_gP9TeX.js +1 -0
  346. package/dist/useTimePeriod.es-CmltiTE-.js +1 -0
  347. package/dist/useTimePeriod.es-DMtKzcoB.mjs +93 -0
  348. package/dist/useViewport-BgdA2PPt.mjs +29 -0
  349. package/dist/useViewport-hPRVDWCm.js +1 -0
  350. package/dist/useWatchDebounced-CAU1WI1P.js +1 -0
  351. package/dist/useWatchDebounced-DT5IicPp.mjs +14 -0
  352. package/dist/visa.svg.es-B0T5Su99.mjs +4 -0
  353. package/dist/visa.svg.es-NY3BHhda.js +1 -0
  354. package/dist/vpay.svg.es-VViQi42w.js +1 -0
  355. package/dist/vpay.svg.es-Zt3rrmCy.mjs +4 -0
  356. package/dist/wallets.es-CNIMW5ay.js +1 -0
  357. package/dist/wallets.es-eH2C2ygn.mjs +102 -0
  358. package/dist/zip.svg.es-C9S_F31W.js +1 -0
  359. package/dist/zip.svg.es-QC6dxzC7.mjs +4 -0
  360. package/package.json +3 -3
  361. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Ce30EXY5.mjs +0 -240
  362. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-kmam2c7P.js +0 -1
  363. package/dist/Amount.vue.es-BO5sS1UX.mjs +0 -25
  364. package/dist/Amount.vue.es-JDVa_3H-.js +0 -1
  365. package/dist/Avatar.vue.es-BGTZSAqU.js +0 -1
  366. package/dist/Avatar.vue.es-DJzJiYtv.mjs +0 -91
  367. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-Bq2mTdUs.mjs +0 -66
  368. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BtNTRSqH.js +0 -1
  369. package/dist/Button.vue.es-Cm9pLU9i.mjs +0 -421
  370. package/dist/Button.vue.es-O8mNivLL.js +0 -1
  371. package/dist/Chip.vue.es-BBmn-qJp.mjs +0 -120
  372. package/dist/Chip.vue.es-DmCjC1hi.js +0 -1
  373. package/dist/Comparators.vue.es-CYfxd5H-.mjs +0 -120
  374. package/dist/Comparators.vue.es-DK8wGjxM.js +0 -1
  375. package/dist/ContentWithAsideLayout-DHpnJfGA.js +0 -1
  376. package/dist/ContentWithAsideLayout-Dy9xgxuF.mjs +0 -39
  377. package/dist/ContextMenu.vue.es-CTc1ktXb.mjs +0 -681
  378. package/dist/ContextMenu.vue.es-DaW0yp4Y.js +0 -1
  379. package/dist/CustomerBillingInformation.vue.es-BX0Da7Kr.js +0 -1
  380. package/dist/CustomerBillingInformation.vue.es-CMZO8oLj.mjs +0 -175
  381. package/dist/CustomerPaymentMethods.lib-CcSt0sl1.mjs +0 -4
  382. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bi_dCntQ.js +0 -1
  383. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CtdFharm.mjs +0 -150
  384. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BDqBXbJq.mjs +0 -3264
  385. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-ZyN2vlNu.js +0 -1
  386. package/dist/Divider.vue.es-ClFG8QtG.js +0 -1
  387. package/dist/Divider.vue.es-wKkIVBgb.mjs +0 -24
  388. package/dist/DividerText.vue.es-CeAHAe_Y.mjs +0 -72
  389. package/dist/DividerText.vue.es-DjT4i_YD.js +0 -1
  390. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DLE5-9wz.mjs +0 -562
  391. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DkIK-lID.js +0 -1
  392. package/dist/ErrorNotification.vue.es-CHyVTBGs.mjs +0 -38
  393. package/dist/ErrorNotification.vue.es-CaEFTi2k.js +0 -1
  394. package/dist/Expand.vue.es-C-lnbA1v.js +0 -1
  395. package/dist/Expand.vue.es-C4_XmqbR.mjs +0 -50
  396. package/dist/FormMessage.vue.es-Bd4_NG9H.js +0 -1
  397. package/dist/FormMessage.vue.es-C3oxwq_8.mjs +0 -46
  398. package/dist/IconButton.vue.es-BHdQskx0.js +0 -1
  399. package/dist/IconButton.vue.es-KywqWWvr.mjs +0 -228
  400. package/dist/IconTitle.vue.es-BmjBdZb_.mjs +0 -107
  401. package/dist/IconTitle.vue.es-D9Wc3PIq.js +0 -1
  402. package/dist/Input.vue.es-DqKJhFTr.js +0 -1
  403. package/dist/Input.vue.es-WZGF8dfr.mjs +0 -251
  404. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-B6efz7NU.mjs +0 -97
  405. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-LE6zBLKM.js +0 -1
  406. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-C2aLMfu6.mjs +0 -49
  407. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-CtpFzWU3.js +0 -1
  408. package/dist/InvoiceSummary.vue.es-BI5sD_8F.mjs +0 -2944
  409. package/dist/InvoiceSummary.vue.es-BWYIHezU.js +0 -1
  410. package/dist/Modal.vue.es-B_1aqm_m.js +0 -1
  411. package/dist/Modal.vue.es-qdUHDOnU.mjs +0 -483
  412. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BKKXQbge.js +0 -1
  413. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Ch1TFO7x.mjs +0 -154
  414. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CsH47WSM.mjs +0 -54
  415. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-mKNNYnMU.js +0 -1
  416. package/dist/PaymentHistoryBlock-CgNUV8Gy.mjs +0 -4
  417. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DZwnDzha.js +0 -1
  418. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Uj1aK-dp.mjs +0 -101
  419. package/dist/PaymentIntegrationForm-CLokpXvK.mjs +0 -4
  420. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CRUs7sP4.mjs +0 -167
  421. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-kKkzRi6w.js +0 -1
  422. package/dist/PaymentIntegrationFormAdyen-C885o8IE.mjs +0 -699
  423. package/dist/PaymentIntegrationFormAdyen-Co19AgvG.js +0 -1
  424. package/dist/PaymentIntegrationFormStripe-BjMdJmDC.mjs +0 -547
  425. package/dist/PaymentIntegrationFormStripe-DWff6wzK.js +0 -1
  426. package/dist/PaymentMethod.vue.es-CdskNJ3Z.js +0 -1
  427. package/dist/PaymentMethod.vue.es-rv-pu1CC.mjs +0 -677
  428. package/dist/PaymentMethodForm-IEuDxEPN.mjs +0 -4
  429. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-Cj60U90J.js +0 -1
  430. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-gA74Rak9.mjs +0 -172
  431. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-B3H_AWMM.js +0 -1
  432. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-CTn-OxM6.mjs +0 -189
  433. package/dist/PricingGroupRangeInput.vue.es-ButaePib.mjs +0 -632
  434. package/dist/PricingGroupRangeInput.vue.es-Cls2lm80.js +0 -1
  435. package/dist/Section.vue.es-CAJvEDn6.js +0 -1
  436. package/dist/Section.vue.es-DX_9ueCG.mjs +0 -79
  437. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CQAkPfJz.js +0 -1
  438. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DVtMzgjc.mjs +0 -1044
  439. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DGMxHc20.mjs +0 -78
  440. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DfMgIsGm.js +0 -1
  441. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BJVXCHny.js +0 -1
  442. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-ByO-L6nm.mjs +0 -6171
  443. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-C5zB3CgZ.mjs +0 -101
  444. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CabskT-r.js +0 -1
  445. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-D-T1wGg7.js +0 -1
  446. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-DKd2DIVb.mjs +0 -309
  447. package/dist/TooltipParagraph.vue.es-C5RTcrid.mjs +0 -136
  448. package/dist/TooltipParagraph.vue.es-H9fI7zzt.js +0 -1
  449. package/dist/TrialChip.vue.es-B1puKyR-.mjs +0 -56
  450. package/dist/TrialChip.vue.es-CCs50m02.js +0 -1
  451. package/dist/accel.svg.es-CE5tIWtm.mjs +0 -4
  452. package/dist/accel.svg.es-Dt_1wJmV.js +0 -1
  453. package/dist/ach.svg.es-B4tn0_IV.js +0 -1
  454. package/dist/ach.svg.es-D4QPcIU-.mjs +0 -4
  455. package/dist/adyen-51SvcyqV.mjs +0 -4
  456. package/dist/adyen-BXi_D9TQ.mjs +0 -123
  457. package/dist/adyen-DZsyEXkw.js +0 -1
  458. package/dist/adyen-VS2sDW0m.js +0 -1
  459. package/dist/amazon-pay.svg.es-B428S4f3.js +0 -1
  460. package/dist/amazon-pay.svg.es-DUScOW15.mjs +0 -4
  461. package/dist/amex.svg.es-BCXkaVLN.mjs +0 -4
  462. package/dist/amex.svg.es-Bn9e31C3.js +0 -1
  463. package/dist/api.es-C5pe8LUl.mjs +0 -62
  464. package/dist/api.es-Czekkp_X.js +0 -1
  465. package/dist/apple-pay.svg.es-Cfgn0K28.js +0 -1
  466. package/dist/apple-pay.svg.es-DlCfkt39.mjs +0 -4
  467. package/dist/bacs.svg.es-BKsvSeIP.mjs +0 -4
  468. package/dist/bacs.svg.es-hL7hLPkQ.js +0 -1
  469. package/dist/bancontact.svg.es-BbRqGgZ9.mjs +0 -4
  470. package/dist/bancontact.svg.es-DU2ejvNL.js +0 -1
  471. package/dist/carnet.svg.es-C5SFaOsa.js +0 -1
  472. package/dist/carnet.svg.es-Db-KEb13.mjs +0 -4
  473. package/dist/cartes-bancaires.svg.es-ByD-JAAi.mjs +0 -4
  474. package/dist/cartes-bancaires.svg.es-CbBJQZrk.js +0 -1
  475. package/dist/cashapp.svg.es-CnS5r_D8.mjs +0 -4
  476. package/dist/cashapp.svg.es-DE4vMu_p.js +0 -1
  477. package/dist/cn.es-DxSeYcoP.js +0 -1
  478. package/dist/comparators.es-9VsCB-JI.mjs +0 -175
  479. package/dist/comparators.es-wrKHduVq.js +0 -1
  480. package/dist/component-BG6DmXcy.mjs +0 -9
  481. package/dist/component-hDuDTBt5.js +0 -1
  482. package/dist/configuration-BjYwV4_B.js +0 -1
  483. package/dist/configuration-CD8cOXAJ.mjs +0 -15
  484. package/dist/countryData.es-D3MFzU92.js +0 -1
  485. package/dist/customElements-B-89a5oH.mjs +0 -6810
  486. package/dist/customElements-DD7bpqkx.js +0 -1
  487. package/dist/customer-DozNwS_a.js +0 -1
  488. package/dist/customer-Dzj1g9lV.mjs +0 -32
  489. package/dist/customer.es-C_vSWcVA.mjs +0 -30
  490. package/dist/customer.es-D42Md24r.js +0 -1
  491. package/dist/dana.svg.es-Bbn6_ktN.mjs +0 -4
  492. package/dist/dana.svg.es-DKZaseoJ.js +0 -1
  493. package/dist/dankort.svg.es-D8FgSiFf.js +0 -1
  494. package/dist/dankort.svg.es-DtAdliQq.mjs +0 -4
  495. package/dist/de-DE-BvHD68Ay.js +0 -1
  496. package/dist/diners.svg.es-DhchsD1D.mjs +0 -4
  497. package/dist/diners.svg.es-SydF_H-Z.js +0 -1
  498. package/dist/discover.svg.es-B8vgzVNG.js +0 -1
  499. package/dist/discover.svg.es-BnqYPvnV.mjs +0 -4
  500. package/dist/eftpos.svg.es-DO0YPaY1.js +0 -1
  501. package/dist/eftpos.svg.es-DRLaafYa.mjs +0 -4
  502. package/dist/elo.svg.es-CTOm1rvj.js +0 -1
  503. package/dist/elo.svg.es-CgkEOP_O.mjs +0 -4
  504. package/dist/en-US-dqfKx3GS.js +0 -1
  505. package/dist/eps.svg.es-CApyGjyU.js +0 -1
  506. package/dist/eps.svg.es-D6IHsRYP.mjs +0 -4
  507. package/dist/error-Cg-i7gGl.js +0 -1
  508. package/dist/error-DY_I2hPx.mjs +0 -13
  509. package/dist/floating-ui.vue.es-Bv94BfDm.js +0 -1
  510. package/dist/floating-ui.vue.es-DWY7pdz8.mjs +0 -1573
  511. package/dist/formatting.es-DBtYnvI5.js +0 -1
  512. package/dist/formatting.es-eYgXv_AK.mjs +0 -70
  513. package/dist/gcash.svg.es-BhJ-eA2z.mjs +0 -4
  514. package/dist/gcash.svg.es-JaL4fpZr.js +0 -1
  515. package/dist/getComposedString.es-CELkn0I7.mjs +0 -14
  516. package/dist/getComposedString.es-DvSNX-_z.js +0 -1
  517. package/dist/getCountryNameByCode.es-fP52nO_7.js +0 -1
  518. package/dist/getCountryNameByCode.es-ymC9R46j.mjs +0 -8
  519. package/dist/girocard.svg.es-D_3LML4l.mjs +0 -4
  520. package/dist/girocard.svg.es-tVgtT23w.js +0 -1
  521. package/dist/go-pay.svg.es-6UtgwVBA.mjs +0 -4
  522. package/dist/go-pay.svg.es-fYX6yMzJ.js +0 -1
  523. package/dist/google-pay.svg.es-BYXX1em8.js +0 -1
  524. package/dist/google-pay.svg.es-CRxXgFVl.mjs +0 -4
  525. package/dist/hipercard.svg.es-Ct1-mF9F.mjs +0 -4
  526. package/dist/hipercard.svg.es-D-nmiFXB.js +0 -1
  527. package/dist/icon-sprite.svg.es-BpwT0GQ5.js +0 -1
  528. package/dist/icon-sprite.svg.es-YYqtl2IP.mjs +0 -4
  529. package/dist/ideal.svg.es-D23EhJJ2.mjs +0 -4
  530. package/dist/ideal.svg.es-DXtHE0Jb.js +0 -1
  531. package/dist/index-Cai7laNY.mjs +0 -1069
  532. package/dist/index-DIFK3mcJ.js +0 -6
  533. package/dist/index-DyvRdSR7.mjs +0 -9673
  534. package/dist/index-IZaUTAsE.js +0 -1
  535. package/dist/index.es-2JWHHSgP.js +0 -1
  536. package/dist/index.es-D5xOw_SJ.mjs +0 -542
  537. package/dist/invoices-1oYkdQQV.mjs +0 -121
  538. package/dist/invoices-BAoh6X2a.js +0 -1
  539. package/dist/it-IT-CEP3oeWs.js +0 -1
  540. package/dist/it-IT-aPQY57ht.js +0 -1
  541. package/dist/jcb.svg.es-Bz6J-c0s.js +0 -1
  542. package/dist/jcb.svg.es-CcH08OoO.mjs +0 -4
  543. package/dist/kakao-pay.svg.es-DcgRDAsc.mjs +0 -4
  544. package/dist/kakao-pay.svg.es-qVTABboW.js +0 -1
  545. package/dist/klarna.svg.es-Clu-7zkp.js +0 -1
  546. package/dist/klarna.svg.es-DfIPX0gr.mjs +0 -4
  547. package/dist/maestro.svg.es-CVmNVokN.mjs +0 -4
  548. package/dist/maestro.svg.es-e8E_H2QU.js +0 -1
  549. package/dist/mastercard.svg.es-B8z0ZySS.mjs +0 -4
  550. package/dist/mastercard.svg.es-YO3_jGD6.js +0 -1
  551. package/dist/momo.svg.es-BXTQlQRy.js +0 -1
  552. package/dist/momo.svg.es-Bm5zCTOT.mjs +0 -4
  553. package/dist/nl-NL-e_vf6OuT.js +0 -1
  554. package/dist/nl-NL-zRUAuEHg.js +0 -1
  555. package/dist/nyce.svg.es-CgurqLKH.mjs +0 -4
  556. package/dist/nyce.svg.es-DM6esO47.js +0 -1
  557. package/dist/object.es-DFXiU9p3.js +0 -1
  558. package/dist/object.es-jvvnR8Kr.mjs +0 -12
  559. package/dist/open-banking.svg.es-DUM360xB.js +0 -1
  560. package/dist/open-banking.svg.es-DzzLCVp_.mjs +0 -4
  561. package/dist/paymentMethods-CZ3ydybI.js +0 -1
  562. package/dist/paymentMethods-DIV78w0O.mjs +0 -78
  563. package/dist/payments--lkjiwCt.js +0 -1
  564. package/dist/payments-Cvqdrprv.mjs +0 -47
  565. package/dist/paypal.svg.es-BdkNTf3c.js +0 -1
  566. package/dist/paypal.svg.es-DltWzW4V.mjs +0 -4
  567. package/dist/pricing-3W7XLwL6.js +0 -1
  568. package/dist/pricing-CJxS2hr2.mjs +0 -17
  569. package/dist/pricingItemConfigs.es-BPIm6S8M.mjs +0 -107
  570. package/dist/pricingItemConfigs.es-C73cQlxQ.js +0 -1
  571. package/dist/pricingPlanSchedule-B9HFiXy-.js +0 -1
  572. package/dist/pricingPlanSchedule-CXG3CQ61.mjs +0 -146
  573. package/dist/pulse.svg.es-BdpWAuIN.js +0 -1
  574. package/dist/pulse.svg.es-BecAwT-p.mjs +0 -4
  575. package/dist/sepa.svg.es-BF8PYKZg.js +0 -1
  576. package/dist/sepa.svg.es-cbE9g8gV.mjs +0 -4
  577. package/dist/slots.es-BpwYO3A3.mjs +0 -18
  578. package/dist/slots.es-Dq1PTUOv.js +0 -1
  579. package/dist/sorting.es-CjTrRfSW.mjs +0 -105
  580. package/dist/sorting.es-RyvcgbSL.js +0 -1
  581. package/dist/star.svg.es-DsCD-tSp.mjs +0 -4
  582. package/dist/star.svg.es-Q50IzqXr.js +0 -1
  583. package/dist/subscription-C41lG-rH.mjs +0 -89
  584. package/dist/subscription-b0OPx8Du.js +0 -1
  585. package/dist/subscriptions-300o4ae0.js +0 -1
  586. package/dist/subscriptions-DcMHBPVJ.mjs +0 -58
  587. package/dist/trustly.svg.es-C0Ou1HWk.mjs +0 -4
  588. package/dist/trustly.svg.es-CHojqNqm.js +0 -1
  589. package/dist/twint.svg.es-CQ-ZDfy8.js +0 -1
  590. package/dist/twint.svg.es-WrZYquRs.mjs +0 -4
  591. package/dist/typeGuards.es-C4nR5FkL.js +0 -1
  592. package/dist/typeGuards.es-fwUoeMCe.mjs +0 -12
  593. package/dist/unionpay.svg.es-DYgo83Hf.mjs +0 -4
  594. package/dist/unionpay.svg.es-YqJKKFEj.js +0 -1
  595. package/dist/url-CjULBkjW.js +0 -1
  596. package/dist/url-CvNDq4wp.mjs +0 -22
  597. package/dist/useActionDispatchProvider-BVOBO0Jx.mjs +0 -12
  598. package/dist/useActionDispatchProvider-Cv9amjTf.js +0 -1
  599. package/dist/useCustomer-DLHOs4BR.js +0 -1
  600. package/dist/useCustomer-EDhref7T.mjs +0 -25
  601. package/dist/useCustomerFormLabels-B61-4xQ7.mjs +0 -1168
  602. package/dist/useCustomerFormLabels-C6wW4n2e.js +0 -1
  603. package/dist/useExperimentalFeature-0yFoaEzV.js +0 -1
  604. package/dist/useExperimentalFeature-DvxOrFPU.mjs +0 -9
  605. package/dist/useIncrementalLoading-BK9pRYAU.mjs +0 -71
  606. package/dist/useIncrementalLoading-CdtGJm_Y.js +0 -1
  607. package/dist/useInvoiceData-BSjVeJrI.js +0 -1
  608. package/dist/useInvoiceData-C0Y5WrbT.mjs +0 -45
  609. package/dist/useInvoicesList-BRDZqsaB.js +0 -1
  610. package/dist/useInvoicesList-CYoE7q0u.mjs +0 -580
  611. package/dist/useLoadInitialData-Cp1OA8y6.mjs +0 -18
  612. package/dist/useLoadInitialData-u7IyXqb6.js +0 -1
  613. package/dist/usePaymentMethodAvailability-B3s1lqQ2.js +0 -1
  614. package/dist/usePaymentMethodAvailability-EuhZPghG.mjs +0 -141
  615. package/dist/usePaymentMethodOptions--8QpMvNm.js +0 -1
  616. package/dist/usePaymentMethodOptions-Cljh7HYp.mjs +0 -36
  617. package/dist/usePaymentMethods-BJzoI8dZ.mjs +0 -16
  618. package/dist/usePaymentMethods-DvEnJWmB.js +0 -1
  619. package/dist/usePayments-CANj0QVc.js +0 -1
  620. package/dist/usePayments-CaT1CBzE.mjs +0 -362
  621. package/dist/usePortal-BjGoSeLy.js +0 -1
  622. package/dist/usePortal-CMPQ0M9R.mjs +0 -12
  623. package/dist/useService-D73FNBjT.js +0 -1
  624. package/dist/useService-W3Kxems4.mjs +0 -72
  625. package/dist/useSubscription-D1UKnZAx.mjs +0 -250
  626. package/dist/useSubscription-DZfRHbL7.js +0 -1
  627. package/dist/useViewport-Bu0cyeSi.mjs +0 -38
  628. package/dist/useViewport-CKRY1CKR.js +0 -1
  629. package/dist/useWatchDebounced-C_YxgoQ6.js +0 -1
  630. package/dist/useWatchDebounced-Zmxd6InB.mjs +0 -16
  631. package/dist/visa.svg.es-B6aU_qRs.mjs +0 -4
  632. package/dist/visa.svg.es-D6sc4YTE.js +0 -1
  633. package/dist/vpay.svg.es-4qIqS4aX.mjs +0 -4
  634. package/dist/vpay.svg.es-CLGTyB09.js +0 -1
  635. package/dist/zip.svg.es-3PzSBe1E.mjs +0 -4
  636. package/dist/zip.svg.es-BRsgmur-.js +0 -1
@@ -0,0 +1,93 @@
1
+ import { computed as o } from "vue";
2
+ import { u as d } from "./customElements-CSE7dwUr.mjs";
3
+ function p() {
4
+ const { $t: e } = d(), l = o(() => ({
5
+ DAY: {
6
+ literal: {
7
+ singular: e({
8
+ defaultMessage: "day",
9
+ id: "time_period.day.singular",
10
+ description: "The singular form of the day time period"
11
+ }),
12
+ plural: e({
13
+ defaultMessage: "days",
14
+ id: "time_period.day.plural",
15
+ description: "The plural form of the day time period"
16
+ })
17
+ },
18
+ full: e({
19
+ defaultMessage: "daily",
20
+ id: "time_period.day.full",
21
+ description: "The full form of the day time period"
22
+ })
23
+ },
24
+ WEEK: {
25
+ literal: {
26
+ singular: e({
27
+ defaultMessage: "week",
28
+ id: "time_period.week.singular",
29
+ description: "The singular form of the week time period"
30
+ }),
31
+ plural: e({
32
+ defaultMessage: "weeks",
33
+ id: "time_period.week.plural",
34
+ description: "The plural form of the week time period"
35
+ })
36
+ },
37
+ full: e({
38
+ defaultMessage: "weekly",
39
+ id: "time_period.week.full",
40
+ description: "The full form of the week time period"
41
+ })
42
+ },
43
+ MONTH: {
44
+ literal: {
45
+ singular: e({
46
+ defaultMessage: "month",
47
+ id: "time_period.month.singular",
48
+ description: "The singular form of the month time period"
49
+ }),
50
+ plural: e({
51
+ defaultMessage: "months",
52
+ id: "time_period.month.plural",
53
+ description: "The plural form of the month time period"
54
+ })
55
+ },
56
+ full: e({
57
+ defaultMessage: "monthly",
58
+ id: "time_period.month.full",
59
+ description: "The full form of the month time period"
60
+ })
61
+ },
62
+ YEAR: {
63
+ literal: {
64
+ singular: e({
65
+ defaultMessage: "year",
66
+ id: "time_period.year.singular",
67
+ description: "The singular form of the year time period"
68
+ }),
69
+ plural: e({
70
+ defaultMessage: "years",
71
+ id: "time_period.year.plural",
72
+ description: "The plural form of the year time period"
73
+ })
74
+ },
75
+ full: e({
76
+ defaultMessage: "yearly",
77
+ id: "time_period.year.full",
78
+ description: "The full form of the year time period"
79
+ })
80
+ }
81
+ }));
82
+ return { map: l, formatTimePeriod: (r, i = {
83
+ short: !1,
84
+ hideValueForExactPeriods: !1,
85
+ singular: !1
86
+ }) => {
87
+ const a = r.value ?? 1, t = l.value[r.type].literal[i.singular || +a == 1 ? "singular" : "plural"].toLowerCase();
88
+ return `${i.prefix && !i.short ? `${i.prefix} ` : ""}${i.hideValueForExactPeriods && a === 1 ? t : `${a} ${t}`}`;
89
+ }, formatTimePeriodLiteral: (r, i = { singular: !1 }) => l.value[r].literal[i.singular ? "singular" : "plural"] };
90
+ }
91
+ export {
92
+ p as u
93
+ };
@@ -0,0 +1,29 @@
1
+ import { ref as l, onMounted as i, onUnmounted as u } from "vue";
2
+ function a(r) {
3
+ const n = l(!1);
4
+ let t;
5
+ const e = (o) => {
6
+ n.value = o.matches;
7
+ };
8
+ return i(() => {
9
+ t = window.matchMedia(r), n.value = t.matches, t.addEventListener("change", e);
10
+ }), u(() => {
11
+ t == null || t.removeEventListener("change", e);
12
+ }), n;
13
+ }
14
+ const s = {
15
+ sm: 640,
16
+ md: 768,
17
+ lg: 1024,
18
+ xl: 1280,
19
+ "2xl": 1536
20
+ };
21
+ function m() {
22
+ return { smaller: (e) => a(`(max-width: ${s[e] - 1}px)`), smallerOrEqual: (e) => a(`(max-width: ${s[e]}px)`), greaterOrEqual: (e) => a(`(min-width: ${s[e]}px)`) };
23
+ }
24
+ function p() {
25
+ return { isMobileViewport: m().smallerOrEqual("sm") };
26
+ }
27
+ export {
28
+ p as u
29
+ };
@@ -0,0 +1 @@
1
+ const s=require("vue");function a(r){const n=s.ref(!1);let t;const e=l=>{n.value=l.matches};return s.onMounted(()=>{t=window.matchMedia(r),n.value=t.matches,t.addEventListener("change",e)}),s.onUnmounted(()=>{t==null||t.removeEventListener("change",e)}),n}const o={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};function i(){return{smaller:e=>a(`(max-width: ${o[e]-1}px)`),smallerOrEqual:e=>a(`(max-width: ${o[e]}px)`),greaterOrEqual:e=>a(`(min-width: ${o[e]}px)`)}}function u(){return{isMobileViewport:i().smallerOrEqual("sm")}}exports.useViewport=u;
@@ -0,0 +1 @@
1
+ const t=require("vue");function a(c,n,u){let e;t.watch(c,(o,d)=>{clearTimeout(e),e=setTimeout(()=>n(o,d),u.debounce)},{deep:u.deep}),t.onUnmounted(()=>clearTimeout(e))}exports.useWatchDebounced=a;
@@ -0,0 +1,14 @@
1
+ import { watch as n, onUnmounted as r } from "vue";
2
+ function d(o, u, t) {
3
+ let e;
4
+ n(
5
+ o,
6
+ (c, m) => {
7
+ clearTimeout(e), e = setTimeout(() => u(c, m), t.debounce);
8
+ },
9
+ { deep: t.deep }
10
+ ), r(() => clearTimeout(e));
11
+ }
12
+ export {
13
+ d as u
14
+ };
@@ -0,0 +1,4 @@
1
+ const l = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%231b16e6'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M19.91%2018.2c-.02%201.39%201.25%202.17%202.21%202.63.98.47%201.31.78%201.31%201.2%200%20.65-.78.94-1.51.95-1.27.02-2-.34-2.6-.61l-.45%202.12c.59.27%201.68.5%202.8.51%202.66%200%204.4-1.3%204.4-3.3.01-2.56-3.56-2.7-3.54-3.84.01-.35.35-.72%201.08-.81a5%205%200%200%201%202.49.43l.44-2.05a7%207%200%200%200-2.36-.43c-2.5%200-4.25%201.32-4.27%203.2m10.9-3.02c-.49%200-.9.28-1.08.7l-3.79%208.97h2.65l.53-1.44h3.24l.3%201.44H35l-2.04-9.67zm.37%202.61.76%203.63h-2.1zM16.7%2015.18l-2.09%209.67h2.53l2.08-9.67zm-3.74%200-2.62%206.58-1.07-5.6a1.2%201.2%200%200%200-1.16-.98H3.8l-.06.28c.88.19%201.88.5%202.5.82.36.2.47.37.6.85l2%207.72h2.67l4.1-9.67z'%20clip-rule='evenodd'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
2
+ export {
3
+ l as default
4
+ };
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%231b16e6'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%23fff'%20fill-rule='evenodd'%20d='M19.91%2018.2c-.02%201.39%201.25%202.17%202.21%202.63.98.47%201.31.78%201.31%201.2%200%20.65-.78.94-1.51.95-1.27.02-2-.34-2.6-.61l-.45%202.12c.59.27%201.68.5%202.8.51%202.66%200%204.4-1.3%204.4-3.3.01-2.56-3.56-2.7-3.54-3.84.01-.35.35-.72%201.08-.81a5%205%200%200%201%202.49.43l.44-2.05a7%207%200%200%200-2.36-.43c-2.5%200-4.25%201.32-4.27%203.2m10.9-3.02c-.49%200-.9.28-1.08.7l-3.79%208.97h2.65l.53-1.44h3.24l.3%201.44H35l-2.04-9.67zm.37%202.61.76%203.63h-2.1zM16.7%2015.18l-2.09%209.67h2.53l2.08-9.67zm-3.74%200-2.62%206.58-1.07-5.6a1.2%201.2%200%200%200-1.16-.98H3.8l-.06.28c.88.19%201.88.5%202.5.82.36.2.47.37.6.85l2%207.72h2.67l4.1-9.67z'%20clip-rule='evenodd'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";exports.default=l;
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%231c3378'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%231c3378'%20d='M38.75%200H2v39.75h36.75z'/%3e%3cpath%20fill='%23fff'%20d='M36.96%2025.94H2.04V1.04h34.92z'/%3e%3cpath%20fill='%231c3378'%20d='m28.33%205.56-6.85%2016.33h-4.47L13.63%208.86c-.2-.8-.38-1.1-1-1.44a18%2018%200%200%200-4.18-1.39l.1-.47h7.2c.92%200%201.75.6%201.95%201.66l1.79%209.45%204.4-11.1z'/%3e%3cpath%20fill='%23fff'%20d='M11.77%2032.32q.25.07.65.06c1%200%201.6-.51%201.6-1.4%200-.84-.56-1.3-1.48-1.3a4%204%200%200%200-.77.08zm-1.31-3.53q.7-.16%202.03-.16%201.45%200%202.15.62c.43.37.71.96.71%201.68q0%201.09-.62%201.72c-.53.55-1.37.8-2.3.8a4%204%200%200%201-.66-.04v2.86h-1.31zm9.9%204.29-.57-1.87c-.15-.46-.26-.98-.37-1.42h-.02c-.11.44-.22.97-.35%201.42l-.56%201.87zm-2.09%201.04-.62%202.15h-1.38l2.34-7.59h1.7l2.36%207.6h-1.42l-.66-2.16zm7.2%202.15v-3.16l-2.3-4.43h1.51l.88%201.95c.25.57.43.99.63%201.51h.02q.27-.7.63-1.51l.88-1.95h1.5l-2.42%204.4v3.2z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";exports.default=l;
@@ -0,0 +1,4 @@
1
+ const l = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%231c3378'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%231c3378'%20d='M38.75%200H2v39.75h36.75z'/%3e%3cpath%20fill='%23fff'%20d='M36.96%2025.94H2.04V1.04h34.92z'/%3e%3cpath%20fill='%231c3378'%20d='m28.33%205.56-6.85%2016.33h-4.47L13.63%208.86c-.2-.8-.38-1.1-1-1.44a18%2018%200%200%200-4.18-1.39l.1-.47h7.2c.92%200%201.75.6%201.95%201.66l1.79%209.45%204.4-11.1z'/%3e%3cpath%20fill='%23fff'%20d='M11.77%2032.32q.25.07.65.06c1%200%201.6-.51%201.6-1.4%200-.84-.56-1.3-1.48-1.3a4%204%200%200%200-.77.08zm-1.31-3.53q.7-.16%202.03-.16%201.45%200%202.15.62c.43.37.71.96.71%201.68q0%201.09-.62%201.72c-.53.55-1.37.8-2.3.8a4%204%200%200%201-.66-.04v2.86h-1.31zm9.9%204.29-.57-1.87c-.15-.46-.26-.98-.37-1.42h-.02c-.11.44-.22.97-.35%201.42l-.56%201.87zm-2.09%201.04-.62%202.15h-1.38l2.34-7.59h1.7l2.36%207.6h-1.42l-.66-2.16zm7.2%202.15v-3.16l-2.3-4.43h1.51l.88%201.95c.25.57.43.99.63%201.51h.02q.27-.7.63-1.51l.88-1.95h1.5l-2.42%204.4v3.2z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
2
+ export {
3
+ l as default
4
+ };
@@ -0,0 +1 @@
1
+ const g=require("./formatting.es-C72Nsrmh.js"),q=(t,l,n)=>{var i,u,a,r,e,c;if(n!=null&&n.amount)return g.formatAmount(n.amount);if(n!=null&&n.credits){const o=Number(n.credits.quantity),d=(o===1?(u=(i=n.credits.credit_type)==null?void 0:i.unit_name)==null?void 0:u.singular:((r=(a=n.credits.credit_type)==null?void 0:a.unit_name)==null?void 0:r.plural)??((c=(e=n.credits.credit_type)==null?void 0:e.unit_name)==null?void 0:c.singular))??t({defaultMessage:"credits",description:"Wallet balances credits default message",id:"wB/wXs"});return`${l(o)} ${d}`}return t({defaultMessage:"N/A",description:"Fallback wallet balance label when no balance is available",id:"PW+sL4"})},b=t=>t!=null&&t.amount?`${t.amount.quantity} ${t.amount.currency}`:t!=null&&t.credits?`${t.credits.quantity} ${t.credits.credit_type_id??""}`:"",I=t=>{var l;return((l=t.split(".")[1])==null?void 0:l.length)??0},w=(t,l)=>{if(!t)return l??void 0;if(!l)return t;const n=Math.max(I(t.quantity),I(l.quantity)),i=10**n,u=(Math.round(Number(t.quantity)*i)+Math.round(Number(l.quantity)*i))/i;return{...t,quantity:u.toFixed(n)}},W=(t,l)=>l.reduce((n,i)=>{const u=n.find(a=>a.wallet_grant_id===i.wallet_grant_id);return u?n.map(a=>{var r,e;return a===u?{...a,used_balance:{amount:w((r=a.used_balance)==null?void 0:r.amount,(e=i.used_balance)==null?void 0:e.amount)}}:a}):[...n,i]},t),$=t=>{var l,n,i,u,a,r,e,c;const o=new Map;for(const m of t??[])for(const d of((l=m.details)==null?void 0:l.wallet_balances)??[]){const y=[d.used_balance,d.left_balance,d.available_balance],v=(i=(n=y.find(s=>s==null?void 0:s.amount))==null?void 0:n.amount)==null?void 0:i.currency,f=v?`${d.wallet_id}|${v}`:[d.wallet_id,...y.map(b)].join("|"),_=o.get(f),B=(((u=m.details)==null?void 0:u.used_wallet_grants)??[]).filter(s=>s.wallet_id===d.wallet_id);if(!_){const s=(a=y.find(p=>p==null?void 0:p.credits))==null?void 0:a.credits;o.set(f,{key:f,walletId:d.wallet_id,usedBalance:d.used_balance,leftBalance:d.left_balance,availableBalance:d.available_balance,creditTypeId:s==null?void 0:s.credit_type_id,creditTypeName:(r=s==null?void 0:s.credit_type)==null?void 0:r.name,currency:v,usedGrants:B});continue}v&&(_.usedBalance={amount:w((e=_.usedBalance)==null?void 0:e.amount,(c=d.used_balance)==null?void 0:c.amount)},_.usedGrants=W(_.usedGrants,B))}return[...o.values()]},N=(t,{formatMoney:l,formatQuantity:n})=>t!=null&&t.amount?l(t.amount):t!=null&&t.credits?n(t.credits.quantity):"-",h=(t,{creditTypes:l,creditsLabel:n,walletLabel:i})=>{const u=new Set(t.filter(e=>!!e.currency).map(e=>e.walletId)),a=(l??[]).reduce((e,c)=>(e[c.id]=c.name,e),{}),r=e=>e.currency?u.size>1?`${i} (${e.currency})`:i:e.creditTypeId?e.creditTypeName??a[e.creditTypeId]??e.creditTypeId:[e.usedBalance,e.leftBalance,e.availableBalance].some(o=>!!(o!=null&&o.credits))?n:i;return t.map(e=>({...e,label:r(e)}))};exports.formatInvoiceWalletBalanceValue=N;exports.formatWalletBalanceValue=q;exports.getInvoiceWalletBalanceRows=$;exports.getLabelledInvoiceWalletBalanceRows=h;
@@ -0,0 +1,102 @@
1
+ import { f as q } from "./formatting.es-RclXHhKo.mjs";
2
+ const N = (t, i, n) => {
3
+ var l, u, d, r, e, s;
4
+ if (n != null && n.amount)
5
+ return q(n.amount);
6
+ if (n != null && n.credits) {
7
+ const c = Number(n.credits.quantity), a = (c === 1 ? (u = (l = n.credits.credit_type) == null ? void 0 : l.unit_name) == null ? void 0 : u.singular : ((r = (d = n.credits.credit_type) == null ? void 0 : d.unit_name) == null ? void 0 : r.plural) ?? ((s = (e = n.credits.credit_type) == null ? void 0 : e.unit_name) == null ? void 0 : s.singular)) ?? t({
8
+ defaultMessage: "credits",
9
+ description: "Wallet balances credits default message",
10
+ id: "wB/wXs"
11
+ });
12
+ return `${i(c)} ${a}`;
13
+ }
14
+ return t({
15
+ defaultMessage: "N/A",
16
+ description: "Fallback wallet balance label when no balance is available",
17
+ id: "PW+sL4"
18
+ });
19
+ }, w = (t) => t != null && t.amount ? `${t.amount.quantity} ${t.amount.currency}` : t != null && t.credits ? `${t.credits.quantity} ${t.credits.credit_type_id ?? ""}` : "", I = (t) => {
20
+ var i;
21
+ return ((i = t.split(".")[1]) == null ? void 0 : i.length) ?? 0;
22
+ }, b = (t, i) => {
23
+ if (!t)
24
+ return i ?? void 0;
25
+ if (!i)
26
+ return t;
27
+ const n = Math.max(I(t.quantity), I(i.quantity)), l = 10 ** n, u = (Math.round(Number(t.quantity) * l) + Math.round(Number(i.quantity) * l)) / l;
28
+ return { ...t, quantity: u.toFixed(n) };
29
+ }, g = (t, i) => i.reduce((n, l) => {
30
+ const u = n.find(
31
+ (d) => d.wallet_grant_id === l.wallet_grant_id
32
+ );
33
+ return u ? n.map(
34
+ (d) => {
35
+ var r, e;
36
+ return d === u ? {
37
+ ...d,
38
+ used_balance: {
39
+ amount: b(
40
+ (r = d.used_balance) == null ? void 0 : r.amount,
41
+ (e = l.used_balance) == null ? void 0 : e.amount
42
+ )
43
+ }
44
+ } : d;
45
+ }
46
+ ) : [...n, l];
47
+ }, t), W = (t) => {
48
+ var i, n, l, u, d, r, e, s;
49
+ const c = /* @__PURE__ */ new Map();
50
+ for (const v of t ?? [])
51
+ for (const a of ((i = v.details) == null ? void 0 : i.wallet_balances) ?? []) {
52
+ const y = [
53
+ a.used_balance,
54
+ a.left_balance,
55
+ a.available_balance
56
+ ], m = (l = (n = y.find((o) => o == null ? void 0 : o.amount)) == null ? void 0 : n.amount) == null ? void 0 : l.currency, f = m ? `${a.wallet_id}|${m}` : [a.wallet_id, ...y.map(w)].join("|"), _ = c.get(f), p = (((u = v.details) == null ? void 0 : u.used_wallet_grants) ?? []).filter(
57
+ (o) => o.wallet_id === a.wallet_id
58
+ );
59
+ if (!_) {
60
+ const o = (d = y.find((B) => B == null ? void 0 : B.credits)) == null ? void 0 : d.credits;
61
+ c.set(f, {
62
+ key: f,
63
+ walletId: a.wallet_id,
64
+ usedBalance: a.used_balance,
65
+ leftBalance: a.left_balance,
66
+ availableBalance: a.available_balance,
67
+ creditTypeId: o == null ? void 0 : o.credit_type_id,
68
+ creditTypeName: (r = o == null ? void 0 : o.credit_type) == null ? void 0 : r.name,
69
+ currency: m,
70
+ usedGrants: p
71
+ });
72
+ continue;
73
+ }
74
+ m && (_.usedBalance = {
75
+ amount: b((e = _.usedBalance) == null ? void 0 : e.amount, (s = a.used_balance) == null ? void 0 : s.amount)
76
+ }, _.usedGrants = g(_.usedGrants, p));
77
+ }
78
+ return [...c.values()];
79
+ }, h = (t, {
80
+ formatMoney: i,
81
+ formatQuantity: n
82
+ }) => t != null && t.amount ? i(t.amount) : t != null && t.credits ? n(t.credits.quantity) : "-", T = (t, {
83
+ creditTypes: i,
84
+ creditsLabel: n,
85
+ walletLabel: l
86
+ }) => {
87
+ const u = new Set(
88
+ t.filter((e) => !!e.currency).map((e) => e.walletId)
89
+ ), d = (i ?? []).reduce(
90
+ (e, s) => (e[s.id] = s.name, e),
91
+ {}
92
+ ), r = (e) => e.currency ? u.size > 1 ? `${l} (${e.currency})` : l : e.creditTypeId ? e.creditTypeName ?? d[e.creditTypeId] ?? e.creditTypeId : [e.usedBalance, e.leftBalance, e.availableBalance].some(
93
+ (c) => !!(c != null && c.credits)
94
+ ) ? n : l;
95
+ return t.map((e) => ({ ...e, label: r(e) }));
96
+ };
97
+ export {
98
+ W as a,
99
+ N as b,
100
+ h as f,
101
+ T as g
102
+ };
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%207h40v26H0z'/%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%231a0826'%20d='m2.81%2022.9.32%202.56h11l-.36-2.94H8.64l-.05-.36%204.73-3.31-.32-2.58H2l.36%202.94H7.5l.04.37z'/%3e%3cpath%20fill='%23aa8fff'%20d='m14.28%2016.27%201.13%209.2h11l-1.12-9.2z'/%3e%3cpath%20fill='%231a0826'%20d='M37.96%2019.58c-.25-2.06-1.87-3.31-4.07-3.3h-7.32l1.12%209.18H31l-.23-1.84h3.49c2.74%200%204-1.71%203.71-4.04m-4.07%201.47h-3.44l-.27-2.2h3.46c.82.01%201.23.47%201.3%201.1.04.4-.14%201.1-1.05%201.1'/%3e%3cpath%20fill='%23000'%20d='M17.91%2015.05c.58-.62.48-1.66-.22-2.32s-1.75-.68-2.32-.06c-.58.62-.48%201.66.22%202.32s1.75.68%202.32.06'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";exports.default=l;
@@ -0,0 +1,4 @@
1
+ const l = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20fill='%23fff'%20d='M0%207h40v26H0z'/%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3cpath%20fill='%231a0826'%20d='m2.81%2022.9.32%202.56h11l-.36-2.94H8.64l-.05-.36%204.73-3.31-.32-2.58H2l.36%202.94H7.5l.04.37z'/%3e%3cpath%20fill='%23aa8fff'%20d='m14.28%2016.27%201.13%209.2h11l-1.12-9.2z'/%3e%3cpath%20fill='%231a0826'%20d='M37.96%2019.58c-.25-2.06-1.87-3.31-4.07-3.3h-7.32l1.12%209.18H31l-.23-1.84h3.49c2.74%200%204-1.71%203.71-4.04m-4.07%201.47h-3.44l-.27-2.2h3.46c.82.01%201.23.47%201.3%201.1.04.4-.14%201.1-1.05%201.1'/%3e%3cpath%20fill='%23000'%20d='M17.91%2015.05c.58-.62.48-1.66-.22-2.32s-1.75-.68-2.32-.06c-.58.62-.48%201.66.22%202.32s1.75.68%202.32.06'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20d='M0%200h40v40H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
2
+ export {
3
+ l as default
4
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solvimon/solvimon-web",
3
- "version": "0.1.0-alpha.20",
3
+ "version": "0.1.0-alpha.22",
4
4
  "description": "Solvimon's Front-end SDK provides you with the building blocks to create a billing self serve experience",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -37,7 +37,7 @@
37
37
  "types:check-consumer": "node ./scripts/ci/check-consumer-types.mjs",
38
38
  "bundle:check-contents": "node ./scripts/ci/check-bundle-contents.mjs",
39
39
  "logs:list": "node ./scripts/list-log-codes.mjs",
40
- "test:e2e:run-app": "node scripts/start-test-app.mjs",
40
+ "test:e2e:run-app": "node scripts/generate-ssl-cert.mjs && node scripts/start-test-app.mjs",
41
41
  "test:e2e": "playwright test",
42
42
  "test:e2e:ui": "playwright test --ui",
43
43
  "test:e2e:ci": "playwright test",
@@ -181,7 +181,7 @@
181
181
  "@formatjs/cli": "^6.6.1",
182
182
  "@playwright/test": "^1.57.0",
183
183
  "@solvimon/solvimon-types": "^1.0.3",
184
- "@solvimon/solvimon-ui": "^1.9.0",
184
+ "@solvimon/solvimon-ui": "^1.9.1",
185
185
  "@tsconfig/node22": "^22.0.0",
186
186
  "@types/jsdom": "^21.1.7",
187
187
  "@types/node": "^22.10.2",
@@ -1,240 +0,0 @@
1
- import { computed, defineComponent, toRef, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, createTextVNode, toDisplayString, unref, Fragment, createElementVNode, createVNode, createCommentVNode, defineAsyncComponent, ref, watch } from "vue";
2
- import { _ as _sfc_main$4 } from "./PaymentMethod.vue.es-rv-pu1CC.mjs";
3
- import { a as _sfc_main$5 } from "./Button.vue.es-Cm9pLU9i.mjs";
4
- import { _ as _sfc_main$7 } from "./FormMessage.vue.es-C3oxwq_8.mjs";
5
- import { _ as _sfc_main$2, a as _sfc_main$3 } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DLE5-9wz.mjs";
6
- import { u as useIntl, _ as _sfc_main$6 } from "./customElements-B-89a5oH.mjs";
7
- const humanise = (value) => value.replaceAll("_", " ").toLowerCase().replace(/^./, (character) => character.toUpperCase());
8
- function getAccessibleName(paymentMethod) {
9
- var _a, _b, _c, _d, _e, _f;
10
- const parts = [];
11
- switch (paymentMethod.type) {
12
- case "CARD":
13
- parts.push(
14
- paymentMethod.card.brand && humanise(paymentMethod.card.brand),
15
- paymentMethod.card.last_four_digits
16
- );
17
- break;
18
- case "ONLINE_BANKING":
19
- parts.push(
20
- ((_a = paymentMethod.online_banking) == null ? void 0 : _a.variant) && humanise(paymentMethod.online_banking.variant),
21
- (_b = paymentMethod.online_banking) == null ? void 0 : _b.owner_name
22
- );
23
- break;
24
- case "DIRECT_DEBIT":
25
- parts.push(
26
- ((_c = paymentMethod.direct_debit) == null ? void 0 : _c.variant) && humanise(paymentMethod.direct_debit.variant),
27
- (_d = paymentMethod.direct_debit) == null ? void 0 : _d.owner_name
28
- );
29
- break;
30
- case "BUY_NOW_PAY_LATER":
31
- parts.push(
32
- ((_e = paymentMethod.buy_now_pay_later) == null ? void 0 : _e.variant) && humanise(paymentMethod.buy_now_pay_later.variant)
33
- );
34
- break;
35
- case "DIGITAL_WALLET":
36
- parts.push(
37
- ((_f = paymentMethod.digital_wallet) == null ? void 0 : _f.variant) && humanise(paymentMethod.digital_wallet.variant)
38
- );
39
- break;
40
- }
41
- const name = parts.filter(Boolean).join(" ");
42
- return name || humanise(paymentMethod.type);
43
- }
44
- function usePaymentMethodSelectorOptions(paymentMethods) {
45
- const options = computed(
46
- () => paymentMethods.value.map((paymentMethod) => ({
47
- value: paymentMethod.id,
48
- label: getAccessibleName(paymentMethod)
49
- }))
50
- );
51
- const paymentMethodsById = computed(
52
- () => Object.fromEntries(
53
- paymentMethods.value.map((paymentMethod) => [paymentMethod.id, paymentMethod])
54
- )
55
- );
56
- return { options, paymentMethodsById };
57
- }
58
- const _hoisted_1 = { class: "sr-only" };
59
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
60
- __name: "PaymentMethodSelector",
61
- props: {
62
- paymentMethods: { type: Array },
63
- modelValue: { type: String },
64
- label: { type: String },
65
- required: { type: Boolean },
66
- disabled: { type: Boolean },
67
- error: { type: [String, Object, Array] },
68
- rootClass: { type: String },
69
- showAddOption: { type: Boolean, default: true },
70
- paymentMethodOptions: { type: Array }
71
- },
72
- emits: ["update:modelValue", "add-payment-method"],
73
- setup(__props, { emit: __emit }) {
74
- const props = __props;
75
- const emit = __emit;
76
- const { $t } = useIntl();
77
- const { options, paymentMethodsById } = usePaymentMethodSelectorOptions(
78
- toRef(props, "paymentMethods")
79
- );
80
- const selectedValue = computed({
81
- get: () => props.modelValue,
82
- set: (value) => emit("update:modelValue", typeof value === "string" ? value : void 0)
83
- });
84
- const hasPaymentMethods = computed(() => props.paymentMethods.length > 0);
85
- const canAddPaymentMethod = computed(() => {
86
- var _a;
87
- return ((_a = props.paymentMethodOptions) == null ? void 0 : _a.length) !== 0;
88
- });
89
- return (_ctx, _cache) => {
90
- return openBlock(), createElementBlock("div", {
91
- class: normalizeClass(["sv-payment-method-selector grid grid-cols-1 gap-2", __props.rootClass])
92
- }, [
93
- !hasPaymentMethods.value && !canAddPaymentMethod.value ? (openBlock(), createBlock(_sfc_main$2, {
94
- key: 0,
95
- class: "sv-payment-method-selector__empty",
96
- icon: "credit_card_off"
97
- }, {
98
- title: withCtx(() => [
99
- createTextVNode(toDisplayString(unref($t)({
100
- defaultMessage: "No payment methods available",
101
- description: "Shown in place of the payment method choice when the customer has nothing stored and nothing can be added",
102
- id: "payment_method_selector.empty_state.title"
103
- })), 1)
104
- ]),
105
- _: 1
106
- })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
107
- createElementVNode("div", null, [
108
- hasPaymentMethods.value ? (openBlock(), createBlock(unref(_sfc_main$3), {
109
- key: 0,
110
- modelValue: selectedValue.value,
111
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedValue.value = $event),
112
- class: "sv-payment-method-selector__options",
113
- name: "payment-method",
114
- direction: "column",
115
- options: unref(options),
116
- label: __props.label,
117
- required: __props.required,
118
- disabled: __props.disabled,
119
- error: __props.error,
120
- "show-radio": false
121
- }, {
122
- prefix: withCtx(({ optionValue }) => [
123
- createVNode(unref(_sfc_main$4), {
124
- class: "sv-payment-method-selector__option-content grow",
125
- "payment-method": unref(paymentMethodsById)[String(optionValue)]
126
- }, null, 8, ["payment-method"])
127
- ]),
128
- label: withCtx(({ option }) => [
129
- createElementVNode("span", _hoisted_1, toDisplayString(option.label), 1)
130
- ]),
131
- _: 1
132
- }, 8, ["modelValue", "options", "label", "required", "disabled", "error"])) : createCommentVNode("", true)
133
- ]),
134
- __props.showAddOption && canAddPaymentMethod.value ? (openBlock(), createBlock(unref(_sfc_main$5), {
135
- key: 0,
136
- class: "sv-action sv-action--secondary sv-action--full-width sv-payment-method-selector__add w-full",
137
- intent: "secondary",
138
- "icon-prefix": "add",
139
- type: "button",
140
- size: "sm",
141
- disabled: __props.disabled,
142
- onClick: _cache[1] || (_cache[1] = ($event) => emit("add-payment-method"))
143
- }, {
144
- default: withCtx(() => [
145
- createTextVNode(toDisplayString(unref($t)({
146
- defaultMessage: "Add payment method",
147
- description: "Label of the button that adds a new payment method",
148
- id: "payment_method_selector.add_payment_method"
149
- })), 1)
150
- ]),
151
- _: 1
152
- }, 8, ["disabled"])) : __props.showAddOption ? (openBlock(), createBlock(unref(_sfc_main$6), {
153
- key: 1,
154
- variant: "body-sm",
155
- color: "subtle",
156
- tag: "p",
157
- class: "sv-payment-method-selector__unavailable"
158
- }, {
159
- default: withCtx(() => [
160
- createTextVNode(toDisplayString(unref($t)({
161
- defaultMessage: "There are no available payment methods. Please contact support for more information.",
162
- description: "Shown in place of the add button when the customer cannot add any payment method",
163
- id: "payment_method_selector.no_payment_methods_available"
164
- })), 1)
165
- ]),
166
- _: 1
167
- })) : createCommentVNode("", true),
168
- __props.error && !hasPaymentMethods.value ? (openBlock(), createBlock(unref(_sfc_main$7), {
169
- key: 2,
170
- class: "sv-payment-method-selector__error",
171
- message: __props.error,
172
- variant: "error"
173
- }, null, 8, ["message"])) : createCommentVNode("", true)
174
- ], 64))
175
- ], 2);
176
- };
177
- }
178
- });
179
- const _sfc_main = /* @__PURE__ */ defineComponent({
180
- __name: "AddPaymentMethodPane",
181
- props: {
182
- customer: { type: Object },
183
- paymentMethodOptions: { type: Array },
184
- isLoading: { type: Boolean },
185
- isActive: { type: Boolean }
186
- },
187
- emits: ["success", "failure"],
188
- setup(__props, { expose: __expose }) {
189
- const PaymentMethodForm = defineAsyncComponent(
190
- () => import("./PaymentMethodForm-IEuDxEPN.mjs").then((m) => m.default)
191
- );
192
- const props = __props;
193
- const configuration = computed(() => ({
194
- variant: "TOKENIZE"
195
- }));
196
- const hasEverBeenActive = ref(false);
197
- watch(
198
- () => props.isActive,
199
- (isActive) => {
200
- hasEverBeenActive.value = hasEverBeenActive.value || !!isActive;
201
- },
202
- { immediate: true }
203
- );
204
- const formRef = ref();
205
- __expose({
206
- /** Submits the form, for a host whose own chrome owns the button — a modal footer, say. */
207
- submit: () => {
208
- var _a;
209
- return (_a = formRef.value) == null ? void 0 : _a.submit();
210
- },
211
- /**
212
- * Whether the gateway is working on it, so the host can show it and hold everything else. Read
213
- * through the pane being on screen: a form left behind on another pane is not what is pending.
214
- */
215
- isSaving: computed(() => {
216
- var _a;
217
- return !!props.isActive && !!((_a = formRef.value) == null ? void 0 : _a.isPaymentPending);
218
- })
219
- });
220
- return (_ctx, _cache) => {
221
- return __props.customer && hasEverBeenActive.value ? (openBlock(), createBlock(unref(PaymentMethodForm), {
222
- key: 0,
223
- ref_key: "formRef",
224
- ref: formRef,
225
- class: "sv-add-payment-method-pane",
226
- "hide-submit-button": "",
227
- customer: __props.customer,
228
- "payment-method-options": __props.paymentMethodOptions ?? [],
229
- "is-loading": __props.isLoading,
230
- configuration: configuration.value,
231
- onSuccess: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("success")),
232
- onFailure: _cache[1] || (_cache[1] = (error) => _ctx.$emit("failure", error))
233
- }, null, 8, ["customer", "payment-method-options", "is-loading", "configuration"])) : createCommentVNode("", true);
234
- };
235
- }
236
- });
237
- export {
238
- _sfc_main$1 as _,
239
- _sfc_main as a
240
- };
@@ -1 +0,0 @@
1
- const e=require("vue"),t=require("./PaymentMethod.vue.es-CdskNJ3Z.js"),o=require("./Button.vue.es-O8mNivLL.js"),a=require("./FormMessage.vue.es-Bd4_NG9H.js"),n=require("./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DkIK-lID.js"),r=require("./customElements-DD7bpqkx.js"),s=e=>e.replaceAll("_"," ").toLowerCase().replace(/^./,e=>e.toUpperCase());function l(e){var t,o,a,n,r,l;const i=[];switch(e.type){case"CARD":i.push(e.card.brand&&s(e.card.brand),e.card.last_four_digits);break;case"ONLINE_BANKING":i.push((null==(t=e.online_banking)?void 0:t.variant)&&s(e.online_banking.variant),null==(o=e.online_banking)?void 0:o.owner_name);break;case"DIRECT_DEBIT":i.push((null==(a=e.direct_debit)?void 0:a.variant)&&s(e.direct_debit.variant),null==(n=e.direct_debit)?void 0:n.owner_name);break;case"BUY_NOW_PAY_LATER":i.push((null==(r=e.buy_now_pay_later)?void 0:r.variant)&&s(e.buy_now_pay_later.variant));break;case"DIGITAL_WALLET":i.push((null==(l=e.digital_wallet)?void 0:l.variant)&&s(e.digital_wallet.variant))}return i.filter(Boolean).join(" ")||s(e.type)}const i={class:"sr-only"},d=e.defineComponent({__name:"PaymentMethodSelector",props:{paymentMethods:{type:Array},modelValue:{type:String},label:{type:String},required:{type:Boolean},disabled:{type:Boolean},error:{type:[String,Object,Array]},rootClass:{type:String},showAddOption:{type:Boolean,default:!0},paymentMethodOptions:{type:Array}},emits:["update:modelValue","add-payment-method"],setup(s,{emit:d}){const m=s,c=d,{$t:p}=r.useIntl(),{options:u,paymentMethodsById:y}=(_=e.toRef(m,"paymentMethods"),{options:e.computed(()=>_.value.map(e=>({value:e.id,label:l(e)}))),paymentMethodsById:e.computed(()=>Object.fromEntries(_.value.map(e=>[e.id,e])))});var _;const h=e.computed({get:()=>m.modelValue,set:e=>c("update:modelValue","string"==typeof e?e:void 0)}),v=e.computed(()=>m.paymentMethods.length>0),f=e.computed(()=>{var e;return 0!==(null==(e=m.paymentMethodOptions)?void 0:e.length)});return(l,d)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["sv-payment-method-selector grid grid-cols-1 gap-2",s.rootClass])},[v.value||f.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",null,[v.value?(e.openBlock(),e.createBlock(e.unref(n._sfc_main$1),{key:0,modelValue:h.value,"onUpdate:modelValue":d[0]||(d[0]=e=>h.value=e),class:"sv-payment-method-selector__options",name:"payment-method",direction:"column",options:e.unref(u),label:s.label,required:s.required,disabled:s.disabled,error:s.error,"show-radio":!1},{prefix:e.withCtx(({optionValue:o})=>[e.createVNode(e.unref(t._sfc_main),{class:"sv-payment-method-selector__option-content grow","payment-method":e.unref(y)[String(o)]},null,8,["payment-method"])]),label:e.withCtx(({option:t})=>[e.createElementVNode("span",i,e.toDisplayString(t.label),1)]),_:1},8,["modelValue","options","label","required","disabled","error"])):e.createCommentVNode("",!0)]),s.showAddOption&&f.value?(e.openBlock(),e.createBlock(e.unref(o._sfc_main$1),{key:0,class:"sv-action sv-action--secondary sv-action--full-width sv-payment-method-selector__add w-full",intent:"secondary","icon-prefix":"add",type:"button",size:"sm",disabled:s.disabled,onClick:d[1]||(d[1]=e=>c("add-payment-method"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(p)({defaultMessage:"Add payment method",description:"Label of the button that adds a new payment method",id:"payment_method_selector.add_payment_method"})),1)]),_:1},8,["disabled"])):s.showAddOption?(e.openBlock(),e.createBlock(e.unref(r._sfc_main),{key:1,variant:"body-sm",color:"subtle",tag:"p",class:"sv-payment-method-selector__unavailable"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(p)({defaultMessage:"There are no available payment methods. Please contact support for more information.",description:"Shown in place of the add button when the customer cannot add any payment method",id:"payment_method_selector.no_payment_methods_available"})),1)]),_:1})):e.createCommentVNode("",!0),s.error&&!v.value?(e.openBlock(),e.createBlock(e.unref(a._sfc_main),{key:2,class:"sv-payment-method-selector__error",message:s.error,variant:"error"},null,8,["message"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createBlock(n._sfc_main,{key:0,class:"sv-payment-method-selector__empty",icon:"credit_card_off"},{title:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(p)({defaultMessage:"No payment methods available",description:"Shown in place of the payment method choice when the customer has nothing stored and nothing can be added",id:"payment_method_selector.empty_state.title"})),1)]),_:1}))],2))}}),m=e.defineComponent({__name:"AddPaymentMethodPane",props:{customer:{type:Object},paymentMethodOptions:{type:Array},isLoading:{type:Boolean},isActive:{type:Boolean}},emits:["success","failure"],setup(t,{expose:o}){const a=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./PaymentMethodForm-hZuVHAti.js")).then(e=>e.default)),n=t,r=e.computed(()=>({variant:"TOKENIZE"})),s=e.ref(!1);e.watch(()=>n.isActive,e=>{s.value=s.value||!!e},{immediate:!0});const l=e.ref();return o({submit:()=>{var e;return null==(e=l.value)?void 0:e.submit()},isSaving:e.computed(()=>{var e;return!!n.isActive&&!!(null==(e=l.value)?void 0:e.isPaymentPending)})}),(o,n)=>t.customer&&s.value?(e.openBlock(),e.createBlock(e.unref(a),{key:0,ref_key:"formRef",ref:l,class:"sv-add-payment-method-pane","hide-submit-button":"",customer:t.customer,"payment-method-options":t.paymentMethodOptions??[],"is-loading":t.isLoading,configuration:r.value,onSuccess:n[0]||(n[0]=e=>o.$emit("success")),onFailure:n[1]||(n[1]=e=>o.$emit("failure",e))},null,8,["customer","payment-method-options","is-loading","configuration"])):e.createCommentVNode("",!0)}});exports._sfc_main=d,exports._sfc_main$1=m;
@@ -1,25 +0,0 @@
1
- import { defineComponent, openBlock, createElementBlock, mergeProps, toDisplayString, unref } from "vue";
2
- import { f as formatAmount } from "./formatting.es-eYgXv_AK.mjs";
3
- const _hoisted_1 = ["data-amount"];
4
- const _sfc_main = /* @__PURE__ */ defineComponent({
5
- __name: "Amount",
6
- props: {
7
- value: {},
8
- highlighted: { type: Boolean, default: false }
9
- },
10
- setup(__props) {
11
- return (_ctx, _cache) => {
12
- return openBlock(), createElementBlock("span", mergeProps(_ctx.$attrs, {
13
- "data-amount": __props.value.quantity,
14
- class: [
15
- { "font-semibold text-primary-600": __props.highlighted },
16
- "inline-block"
17
- // ensures classes like my-2 / mx-2 works
18
- ]
19
- }), toDisplayString(unref(formatAmount)(__props.value)), 17, _hoisted_1);
20
- };
21
- }
22
- });
23
- export {
24
- _sfc_main as _
25
- };
@@ -1 +0,0 @@
1
- const e=require("vue"),t=require("./formatting.es-DBtYnvI5.js"),a=["data-amount"],n=e.defineComponent({__name:"Amount",props:{value:{},highlighted:{type:Boolean,default:!1}},setup:n=>(o,i)=>(e.openBlock(),e.createElementBlock("span",e.mergeProps(o.$attrs,{"data-amount":n.value.quantity,class:[{"font-semibold text-primary-600":n.highlighted},"inline-block"]}),e.toDisplayString(e.unref(t.formatAmount)(n.value)),17,a))});exports._sfc_main=n;
@@ -1 +0,0 @@
1
- const e=require("vue"),t=require("./Button.vue.es-O8mNivLL.js"),o=e.defineComponent({__name:"Avatar",props:{initials:{},imageSrc:{},size:{default:"md"},round:{type:Boolean,default:!1},variant:{default:"light"},colorHash:{},font:{default:"icon"},icon:{}},setup(o){const r=o,n={xs:"w-4 h-4",sm:"w-5 h-5",md:"w-6 h-6",lg:"w-8 h-8",xl:"w-12 h-12"},l={xs:"text-base",sm:"text-lg",md:"text-2xl",lg:"text-4xl",xl:"text-6xl"},a=(t=>{const o=e.ref();return e.watch(()=>t,()=>{o.value=(e=>{let t=0;for(let r=0;r<e.length;r++)t=e.charCodeAt(r)+((t<<5)-t);let o="#";for(let r=0;r<3;r++)o+=("00"+(t>>8*r&255).toString(16)).substr(-2);return o})(t)},{immediate:!0}),o})(r.colorHash??r.initials??"A"),i=e.computed(()=>r.imageSrc?{backgroundImage:`url(${r.imageSrc})`}:void 0);return(s,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["relative flex shrink-0 items-center justify-center overflow-hidden rounded bg-primary-300 bg-cover",{[n[r.size]]:!0,"rounded-full":o.round,"border border-black border-opacity-5":"dark"===o.variant}]),style:e.normalizeStyle(i.value)},[!o.initials||o.imageSrc||o.icon?o.icon?(e.openBlock(),e.createBlock(e.unref(t._sfc_main),{key:1,icon:o.icon,class:"z-10 text-white"},null,8,["icon"])):e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["font-regular z-10 text-2xl font-semibold",{[l[r.size]]:!0,"font-regular":"icon"===o.font,"font-inter drop-shadow-sm":"regular"===o.font,"text-white/70":"light"===o.variant,"text-black/10":"dark"===o.variant}])},e.toDisplayString(o.initials.toUpperCase()),3)),e.createElementVNode("div",{class:"pointer-events-none absolute inset-0 opacity-20",style:e.normalizeStyle({backgroundColor:e.unref(a)})},null,4)],6))}});exports._sfc_main=o;