@solvimon/solvimon-web 0.1.0-alpha.2 → 0.1.0-alpha.21

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 (760) hide show
  1. package/README.md +244 -49
  2. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-B9WTpz0k.js +1 -0
  3. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DJCMa2Lz.mjs +223 -0
  4. package/dist/Amount.vue.es-DExaYBqm.js +1 -0
  5. package/dist/Amount.vue.es-DPqHB8Xd.mjs +22 -0
  6. package/dist/Avatar.vue.es-CJw5z7Uu.js +1 -0
  7. package/dist/Avatar.vue.es-ChcLSNaN.mjs +81 -0
  8. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-CTQ5RMtx.js +1 -0
  9. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-DApMAncl.mjs +60 -0
  10. package/dist/Button.vue.es-BWl37nzm.js +1 -0
  11. package/dist/Button.vue.es-VQCd3V3C.mjs +368 -0
  12. package/dist/Checkout.entry.ce-BTVuGyNq.js +1 -0
  13. package/dist/Checkout.entry.ce-DRHqEFd7.mjs +3674 -0
  14. package/dist/Chip.vue.es-CXG8o1Qf.mjs +114 -0
  15. package/dist/Chip.vue.es-DUgjuRWm.js +1 -0
  16. package/dist/Comparators.vue.es-CwhX3rbx.mjs +93 -0
  17. package/dist/Comparators.vue.es-DmkxV0gb.js +1 -0
  18. package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
  19. package/dist/ContentWithAsideLayout-C6yMIVJF.js +1 -0
  20. package/dist/ContextMenu.vue.es-BllxeDTt.js +1 -0
  21. package/dist/ContextMenu.vue.es-C6TKlSXs.mjs +573 -0
  22. package/dist/CustomerBillingInformation.vue.es-CKQH_ds0.mjs +153 -0
  23. package/dist/CustomerBillingInformation.vue.es-CMCZ-lIM.js +1 -0
  24. package/dist/CustomerPaymentMethods.lib-BKgQTCtc.js +1 -0
  25. package/dist/CustomerPaymentMethods.lib-B_753rau.mjs +4 -0
  26. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BxwllXwU.mjs +140 -0
  27. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-n097Xf1H.js +1 -0
  28. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C_yKvYtG.js +1 -0
  29. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-CtaoLbrM.mjs +2700 -0
  30. package/dist/Divider.vue.es-DnP_HqLz.mjs +22 -0
  31. package/dist/Divider.vue.es-UwnWvUTl.js +1 -0
  32. package/dist/DividerText.vue.es-BBdydUy_.js +1 -0
  33. package/dist/DividerText.vue.es-Bomiy4if.mjs +56 -0
  34. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C9elbdbF.mjs +335 -0
  35. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DXO9xpFT.js +1 -0
  36. package/dist/ErrorNotification.vue.es-0ZC_DozN.js +1 -0
  37. package/dist/ErrorNotification.vue.es-C6ngWAVU.mjs +31 -0
  38. package/dist/Expand.vue.es-BleuAfDz.mjs +32 -0
  39. package/dist/Expand.vue.es-BtM0EZEr.js +1 -0
  40. package/dist/FormMessage.vue.es-dqATjC2N.js +1 -0
  41. package/dist/FormMessage.vue.es-jG3fQZms.mjs +29 -0
  42. package/dist/IconButton.vue.es-DAR7e8NA.mjs +198 -0
  43. package/dist/IconButton.vue.es-DGLIdHkR.js +1 -0
  44. package/dist/IconTitle.vue.es-Bbusc4wK.mjs +103 -0
  45. package/dist/IconTitle.vue.es-D-q6w2E-.js +1 -0
  46. package/dist/Input.vue.es-AY1c0Rui.mjs +235 -0
  47. package/dist/Input.vue.es-BN95nPBw.js +1 -0
  48. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-1WjSbPEP.mjs +92 -0
  49. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-qiBCPY8l.js +1 -0
  50. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-BXTInmf9.js +1 -0
  51. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-D99nuBRE.mjs +41 -0
  52. package/dist/InvoiceSummary.vue.es-B0MPR0oI.js +1 -0
  53. package/dist/InvoiceSummary.vue.es-Bs5c2Ovx.mjs +2598 -0
  54. package/dist/Modal.vue.es-Chi6_MH_.js +1 -0
  55. package/dist/Modal.vue.es-DSkC4eMv.mjs +387 -0
  56. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Draz_8Ts.js +1 -0
  57. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-vD88j_U7.mjs +144 -0
  58. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DVif_ME8.mjs +51 -0
  59. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-Db6jAkqD.js +1 -0
  60. package/dist/PaymentHistoryBlock-DGJ_PiVq.js +1 -0
  61. package/dist/PaymentHistoryBlock-budeR7ep.mjs +4 -0
  62. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C28ofG7N.mjs +93 -0
  63. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dv-3suBX.js +1 -0
  64. package/dist/PaymentIntegrationForm-Crrhar96.mjs +4 -0
  65. package/dist/PaymentIntegrationForm-DqqGcEP1.js +1 -0
  66. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-C4bk0m8g.mjs +138 -0
  67. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CcEEdHQJ.js +1 -0
  68. package/dist/PaymentIntegrationFormAdyen-DM-xMcm0.mjs +621 -0
  69. package/dist/PaymentIntegrationFormAdyen-DronjwO3.js +98 -0
  70. package/dist/PaymentIntegrationFormStripe-yBm4KnpV.mjs +488 -0
  71. package/dist/PaymentIntegrationFormStripe-ybM6wirp.js +102 -0
  72. package/dist/PaymentMethod.vue.es-BdMcKq8_.mjs +623 -0
  73. package/dist/PaymentMethod.vue.es-Ctw9Es1g.js +1 -0
  74. package/dist/PaymentMethodForm-BQ5TVHlS.js +1 -0
  75. package/dist/PaymentMethodForm-C1bIGX10.mjs +4 -0
  76. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-5KKkuVt5.mjs +167 -0
  77. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-V88bCeDt.js +1 -0
  78. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-B_207kq5.js +1 -0
  79. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-CnmZ9dvP.mjs +169 -0
  80. package/dist/PlanCustomizationEditor-CCOTD6Qu.mjs +769 -0
  81. package/dist/PlanCustomizationEditor-CiZnVCM6.js +1 -0
  82. package/dist/PricingGroupRangeInput.vue.es-Bnb-ARie.mjs +627 -0
  83. package/dist/PricingGroupRangeInput.vue.es-D82XvoC_.js +185 -0
  84. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CxMkCmti.js +1 -0
  85. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-skQMgHEL.mjs +131 -0
  86. package/dist/RadioGroupExtended.vue.es-B1YtLNKG.js +1 -0
  87. package/dist/RadioGroupExtended.vue.es-WDbo_yj1.mjs +163 -0
  88. package/dist/Section.vue.es-By1JltGi.mjs +72 -0
  89. package/dist/Section.vue.es-DuK52y67.js +1 -0
  90. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CS3KIkPL.mjs +687 -0
  91. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Ct3ZNq-j.js +1 -0
  92. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs +51 -0
  93. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js +1 -0
  94. package/dist/SubscriptionSchedules-DDCjVEbG.mjs +4 -0
  95. package/dist/SubscriptionSchedules-DEjIERyF.js +1 -0
  96. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BlX0W6lw.js +1 -0
  97. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-JAedXFzq.mjs +5256 -0
  98. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-D-Fa54M6.js +1 -0
  99. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-DVMS4gJQ.mjs +91 -0
  100. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-BckZJtOc.mjs +284 -0
  101. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-DiXmEjUD.js +1 -0
  102. package/dist/TooltipParagraph.vue.es-DYu2ReL7.mjs +129 -0
  103. package/dist/TooltipParagraph.vue.es-sTgWAgcd.js +1 -0
  104. package/dist/TrialChip.vue.es-Cl-9_pdr.js +1 -0
  105. package/dist/TrialChip.vue.es-DX53r0ku.mjs +35 -0
  106. package/dist/accel.svg.es-C0hqmmEY.mjs +4 -0
  107. package/dist/accel.svg.es-DFJXdioD.js +1 -0
  108. package/dist/ach.svg.es-BYP873jU.js +1 -0
  109. package/dist/ach.svg.es-DduMiYM2.mjs +4 -0
  110. package/dist/adyen-BJfC7N6f.js +1 -0
  111. package/dist/adyen-Bugab0JE.mjs +4 -0
  112. package/dist/adyen-CvsH5fok.mjs +117 -0
  113. package/dist/adyen-Druit6gz.js +1 -0
  114. package/dist/adyenSdk-B01MB9Ia.mjs +58 -0
  115. package/dist/adyenSdk-BP2XXzeJ.js +1 -0
  116. package/dist/amazon-pay.svg.es-BACIX6C7.mjs +4 -0
  117. package/dist/amazon-pay.svg.es-CQWgtowB.js +1 -0
  118. package/dist/amex.svg.es-DKhW4Txt.js +1 -0
  119. package/dist/amex.svg.es-DjTEMRVg.mjs +4 -0
  120. package/dist/api.es-QaC926Xu.mjs +43 -0
  121. package/dist/api.es-duCDtZD9.js +1 -0
  122. package/dist/apple-pay.svg.es-B3tkA54p.mjs +4 -0
  123. package/dist/apple-pay.svg.es-Dyojd0F-.js +1 -0
  124. package/dist/bacs.svg.es-CZIjZIE8.mjs +4 -0
  125. package/dist/bacs.svg.es-GJpZs1sD.js +1 -0
  126. package/dist/bancontact.svg.es-B26-JwdE.mjs +4 -0
  127. package/dist/bancontact.svg.es-BQh7nAup.js +1 -0
  128. package/dist/carnet.svg.es-BtO3AmNu.mjs +4 -0
  129. package/dist/carnet.svg.es-DY04-F2L.js +1 -0
  130. package/dist/cartes-bancaires.svg.es-BleHMlkN.js +1 -0
  131. package/dist/cartes-bancaires.svg.es-DEPpdLvi.mjs +4 -0
  132. package/dist/cashapp.svg.es-DOGwRjXp.mjs +4 -0
  133. package/dist/cashapp.svg.es-MwXGYom6.js +1 -0
  134. package/dist/cn.es-CNvIP217.js +1 -0
  135. package/dist/cn.es-DjnGlmqV.mjs +3028 -0
  136. package/dist/comparators.es-D8WGL-c4.mjs +153 -0
  137. package/dist/comparators.es-OGt19O9U.js +1 -0
  138. package/dist/component-5wqcK7yz.mjs +8 -0
  139. package/dist/component-B7ZDyqBp.js +1 -0
  140. package/dist/components/BillingInformation/BillingInformation.ce.d.ts +1 -3
  141. package/dist/components/BillingInformation/BillingInformation.cjs +1 -0
  142. package/dist/components/BillingInformation/BillingInformation.mjs +81 -0
  143. package/dist/components/BillingInformationForm/BillingInformationForm.ce.d.ts +1 -3
  144. package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -0
  145. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +447 -0
  146. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.ce.d.ts +1 -3
  147. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -0
  148. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +86 -0
  149. package/dist/components/Invoice/Invoice.ce.d.ts +1 -3
  150. package/dist/components/Invoice/Invoice.cjs +1 -0
  151. package/dist/components/Invoice/Invoice.mjs +477 -0
  152. package/dist/components/InvoiceDetails/InvoiceDetails.ce.d.ts +1 -3
  153. package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -0
  154. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +107 -0
  155. package/dist/components/InvoiceHeader/InvoiceHeader.ce.d.ts +1 -0
  156. package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -0
  157. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +68 -0
  158. package/dist/components/InvoicesList/InvoicesList.ce.d.ts +1 -3
  159. package/dist/components/InvoicesList/InvoicesList.cjs +1 -0
  160. package/dist/components/InvoicesList/InvoicesList.mjs +86 -0
  161. package/dist/components/PaymentHistory/PaymentHistory.ce.d.ts +1 -3
  162. package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -0
  163. package/dist/components/PaymentHistory/PaymentHistory.mjs +111 -0
  164. package/dist/components/PaymentMethodForm/PaymentMethodForm.ce.d.ts +1 -3
  165. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -0
  166. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +96 -0
  167. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.ce.d.ts +1 -3
  168. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -0
  169. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +84 -0
  170. package/dist/components/SubscriptionsList/SubscriptionsList.ce.d.ts +1 -3
  171. package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -0
  172. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +92 -0
  173. package/dist/components/WalletBalances/WalletBalances.ce.d.ts +1 -3
  174. package/dist/components/WalletBalances/WalletBalances.cjs +1 -0
  175. package/dist/components/WalletBalances/WalletBalances.mjs +113 -0
  176. package/dist/configuration-BytDBAWs.mjs +14 -0
  177. package/dist/configuration-akTS7Wiw.js +1 -0
  178. package/dist/core/action-request.types.d.ts +1 -58
  179. package/dist/core/configuration.d.ts +1 -3
  180. package/dist/core/index.cjs +1 -0
  181. package/dist/core/index.d.ts +1 -10
  182. package/dist/core/index.mjs +182 -0
  183. package/dist/core/registry.ce.d.ts +1 -2
  184. package/dist/core/registry.d.ts +1 -6
  185. package/dist/core/types.d.ts +1 -111
  186. package/dist/countryData.es-BegoD-cZ.mjs +252 -0
  187. package/dist/countryData.es-C4jHBzfo.js +1 -0
  188. package/dist/customElements-Bt8PbjIn.js +1187 -0
  189. package/dist/customElements-Com2NiGU.mjs +6531 -0
  190. package/dist/customer-CKgMJEgv.mjs +31 -0
  191. package/dist/customer-Q4JGfVfq.js +1 -0
  192. package/dist/customer.es-B5ppZf0j.mjs +20 -0
  193. package/dist/customer.es-BButyYo0.js +1 -0
  194. package/dist/dana.svg.es-BDtZLpwd.js +1 -0
  195. package/dist/dana.svg.es-Cy8Q6DZi.mjs +4 -0
  196. package/dist/dankort.svg.es-B7VqJdWq.mjs +4 -0
  197. package/dist/dankort.svg.es-CksaipXF.js +1 -0
  198. package/dist/de-DE-CVCmzlNH.mjs +266 -0
  199. package/dist/de-DE-DBO5f-Eu.mjs +281 -0
  200. package/dist/de-DE-DqLD4IX2.js +1 -0
  201. package/dist/de-DE-Ds_yJLS3.js +1 -0
  202. package/dist/diners.svg.es-BP9enCow.mjs +4 -0
  203. package/dist/diners.svg.es-D6Mu1pqP.js +1 -0
  204. package/dist/discover.svg.es-DEsEJBYh.mjs +4 -0
  205. package/dist/discover.svg.es-DgqWCMUM.js +1 -0
  206. package/dist/eftpos.svg.es--js6-yfk.mjs +4 -0
  207. package/dist/eftpos.svg.es-Dk2DOT8W.js +1 -0
  208. package/dist/elo.svg.es-C-BzjuRP.js +1 -0
  209. package/dist/elo.svg.es-CMZPAxcn.mjs +4 -0
  210. package/dist/en-US-3UmnS23B.mjs +281 -0
  211. package/dist/en-US-C51ILrVv.js +1 -0
  212. package/dist/en-US-CvFmmI_O.js +1 -0
  213. package/dist/en-US-DVR9O7b_.mjs +266 -0
  214. package/dist/eps.svg.es-B_85bP-W.js +1 -0
  215. package/dist/eps.svg.es-CzIPBSb9.mjs +4 -0
  216. package/dist/error-BHVZJGwD.mjs +13 -0
  217. package/dist/error-CmduqgVq.js +1 -0
  218. package/dist/floating-ui.vue.es-Bly3DGWm.js +1 -0
  219. package/dist/floating-ui.vue.es-CYt0fSY7.mjs +1108 -0
  220. package/dist/formatting.es-C72Nsrmh.js +1 -0
  221. package/dist/formatting.es-RclXHhKo.mjs +61 -0
  222. package/dist/gcash.svg.es-BKAdhWzv.js +1 -0
  223. package/dist/gcash.svg.es-BpDtvraq.mjs +4 -0
  224. package/dist/getComposedString.es-C__uhJpd.mjs +10 -0
  225. package/dist/getComposedString.es-haS4bAj7.js +1 -0
  226. package/dist/getCountryNameByCode.es-BDHua7VM.mjs +8 -0
  227. package/dist/getCountryNameByCode.es-Xxc0nZsH.js +1 -0
  228. package/dist/girocard.svg.es-HSOEvDif.js +1 -0
  229. package/dist/girocard.svg.es-Riswtk8Z.mjs +4 -0
  230. package/dist/go-pay.svg.es-CiIyLELZ.mjs +4 -0
  231. package/dist/go-pay.svg.es-DQjtunZ_.js +1 -0
  232. package/dist/google-pay.svg.es-Dgj_N6nz.mjs +4 -0
  233. package/dist/google-pay.svg.es-hzc_EgiJ.js +1 -0
  234. package/dist/hipercard.svg.es-B80bu8Vd.mjs +4 -0
  235. package/dist/hipercard.svg.es-CbCsRY2q.js +1 -0
  236. package/dist/icon-sprite.svg.es-Bt21fMEt.mjs +4 -0
  237. package/dist/icon-sprite.svg.es-Dauis9LS.js +1 -0
  238. package/dist/ideal.svg.es-Booz1IML.js +1 -0
  239. package/dist/ideal.svg.es-DaqTS2Ax.mjs +4 -0
  240. package/dist/index-BPU8tIml.mjs +828 -0
  241. package/dist/index-BPZPnOQQ.js +7 -0
  242. package/dist/index-CTwLxoOS.mjs +7250 -0
  243. package/dist/index-DwueOtPi.js +1 -0
  244. package/dist/index.cjs +1 -0
  245. package/dist/index.d.ts +1 -15
  246. package/dist/index.es-BclokHQX.js +1 -0
  247. package/dist/index.es-CXkP_k3u.mjs +345 -0
  248. package/dist/index.mjs +42 -0
  249. package/dist/invoices-CV9iAUHf.mjs +115 -0
  250. package/dist/invoices-CvpL4rv5.js +1 -0
  251. package/dist/it-IT-CDMnnFKZ.mjs +266 -0
  252. package/dist/it-IT-CFEfSpPH.js +1 -0
  253. package/dist/it-IT-CxBRisRm.mjs +281 -0
  254. package/dist/it-IT-Dxw59eR_.js +1 -0
  255. package/dist/jcb.svg.es-B3WPB8c2.js +1 -0
  256. package/dist/jcb.svg.es-Couw-2p9.mjs +4 -0
  257. package/dist/kakao-pay.svg.es-CIFT8fob.mjs +4 -0
  258. package/dist/kakao-pay.svg.es-Cs-lCW74.js +1 -0
  259. package/dist/klarna.svg.es-Cs6XaHD7.js +1 -0
  260. package/dist/klarna.svg.es-WKt8_NZa.mjs +4 -0
  261. package/dist/maestro.svg.es-BvK4oPg4.js +1 -0
  262. package/dist/maestro.svg.es-DbdxwYUE.mjs +4 -0
  263. package/dist/mastercard.svg.es-B7T3PS12.mjs +4 -0
  264. package/dist/mastercard.svg.es-lp4AXyyV.js +1 -0
  265. package/dist/momo.svg.es-C5aLYf_R.js +1 -0
  266. package/dist/momo.svg.es-X5XB25fM.mjs +4 -0
  267. package/dist/nl-NL-BWGkVweu.mjs +296 -0
  268. package/dist/nl-NL-Btbfd9p2.js +1 -0
  269. package/dist/nl-NL-jtVgF3jx.js +1 -0
  270. package/dist/nl-NL-o3UvtSNg.mjs +266 -0
  271. package/dist/nyce.svg.es-ArAivAZW.js +1 -0
  272. package/dist/nyce.svg.es-DcPsO_sh.mjs +4 -0
  273. package/dist/object.es-8aLDIncs.mjs +12 -0
  274. package/dist/object.es-CdriXMPs.js +1 -0
  275. package/dist/open-banking.svg.es-C4mPhwsn.mjs +4 -0
  276. package/dist/open-banking.svg.es-Q3rRkCvP.js +1 -0
  277. package/dist/paymentMethods-BuwoJ1y9.mjs +75 -0
  278. package/dist/paymentMethods-ChWAwDSF.js +1 -0
  279. package/dist/payments-C_cMXQzE.mjs +45 -0
  280. package/dist/payments-DGckugN0.js +1 -0
  281. package/dist/paypal.svg.es-BC2AP20j.mjs +4 -0
  282. package/dist/paypal.svg.es-Cjp5sNI3.js +1 -0
  283. package/dist/pricing-BVAld27Y.js +1 -0
  284. package/dist/pricing-DLOeiAIB.mjs +16 -0
  285. package/dist/pricingItemConfigs.es-DMf1e6y7.mjs +76 -0
  286. package/dist/pricingItemConfigs.es-DlybwIh1.js +1 -0
  287. package/dist/pricingPlanSchedule-COfmWv_o.js +1 -0
  288. package/dist/pricingPlanSchedule-J1nb9pCu.mjs +129 -0
  289. package/dist/pulse.svg.es-Dit33E8S.js +1 -0
  290. package/dist/pulse.svg.es-Rmoz-9Ej.mjs +4 -0
  291. package/dist/screens/Checkout/Checkout.ce.d.ts +1 -3
  292. package/dist/screens/Checkout/Checkout.cjs +1 -0
  293. package/dist/screens/Checkout/Checkout.mjs +5 -0
  294. package/dist/screens/CustomerOverview/CustomerOverview.ce.d.ts +1 -3
  295. package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -0
  296. package/dist/screens/CustomerOverview/CustomerOverview.mjs +149 -0
  297. package/dist/screens/PayInvoice/PayInvoice.ce.d.ts +1 -0
  298. package/dist/screens/PayInvoice/PayInvoice.cjs +1 -0
  299. package/dist/screens/PayInvoice/PayInvoice.mjs +533 -0
  300. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.ce.d.ts +1 -0
  301. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -0
  302. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +210 -0
  303. package/dist/screens/SubscriptionDetails/SubscriptionDetails.ce.d.ts +1 -0
  304. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -0
  305. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +771 -0
  306. package/dist/screens/SubscriptionManagement/SubscriptionManagement.ce.d.ts +1 -0
  307. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -0
  308. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +618 -0
  309. package/dist/sepa.svg.es-0t4DKeA1.js +1 -0
  310. package/dist/sepa.svg.es-DIO_K345.mjs +4 -0
  311. package/dist/slots.es-BA4MyEAa.mjs +5 -0
  312. package/dist/slots.es-T9ZJRGtG.js +1 -0
  313. package/dist/sorting.es-DCihKqD2.mjs +77 -0
  314. package/dist/sorting.es-DQsjKr8A.js +1 -0
  315. package/dist/star.svg.es-BUZNUnYq.mjs +4 -0
  316. package/dist/star.svg.es-D2JncY7b.js +1 -0
  317. package/dist/subscription-9GORG-Gt.js +1 -0
  318. package/dist/subscription-CvfAEJeP.mjs +69 -0
  319. package/dist/subscriptions-B5VqRayX.mjs +55 -0
  320. package/dist/subscriptions-X0Ciw8z3.js +1 -0
  321. package/dist/trustly.svg.es-AM7Ha-3Y.mjs +4 -0
  322. package/dist/trustly.svg.es-GJByiFAs.js +1 -0
  323. package/dist/twint.svg.es-BJ2f48og.js +1 -0
  324. package/dist/twint.svg.es-DZogAQG6.mjs +4 -0
  325. package/dist/typeGuards.es-B4XMtlkM.mjs +8 -0
  326. package/dist/typeGuards.es-DS3vZaJn.js +1 -0
  327. package/dist/types/components/InvoiceTable/InvoiceTable.types.d.ts +19 -0
  328. package/dist/types/components/checkout/CheckoutTitle.types.d.ts +10 -0
  329. package/dist/types/components/checkout/EmptyStatePlaceholder.types.d.ts +4 -0
  330. package/dist/types/components/checkout/PromotionCodeSection.types.d.ts +8 -0
  331. package/dist/types/components/customer/BillingInformationForm/BillingInformationForm.types.d.ts +24 -0
  332. package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +32 -0
  333. package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +12 -0
  334. package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +14 -0
  335. package/dist/types/components/payments/AddPaymentMethodPane/AddPaymentMethodPane.types.d.ts +19 -0
  336. package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethod.types.d.ts +74 -0
  337. package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +9 -0
  338. package/dist/types/components/payments/ExpressPaymentMethodButton/ExpressPaymentMethodButton.types.d.ts +3 -0
  339. package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +21 -0
  340. package/dist/types/components/payments/PayButton/PayButton.types.d.ts +10 -0
  341. package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +11 -0
  342. package/dist/types/components/payments/PaymentErrorCard/PaymentErrorCard.types.d.ts +4 -0
  343. package/dist/types/components/payments/PaymentFeedbackCard/PaymentFeedbackCard.types.d.ts +4 -0
  344. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +81 -0
  345. package/dist/types/components/payments/PaymentIntegrationFormAdyen/PaymentIntegrationFormAdyen.types.d.ts +6 -0
  346. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripe.types.d.ts +7 -0
  347. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +62 -0
  348. package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +53 -0
  349. package/dist/types/components/payments/PaymentMethodsList/PaymentMethodsList.types.d.ts +8 -0
  350. package/dist/types/components/payments/PaymentMethodsUnavailableCard/PaymentMethodsUnavailableCard.types.d.ts +8 -0
  351. package/dist/types/components/payments/SubscriptionPaymentCompletedCard/SubscriptionPaymentCompletedCard.types.d.ts +3 -0
  352. package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.d.ts +4 -0
  353. package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.types.d.ts +3 -0
  354. package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.vue.d.ts +17 -0
  355. package/dist/types/components/providers/ActionDispatchProvider/composables/useActionDispatchProvider.d.ts +3 -0
  356. package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +5 -0
  357. package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +8 -0
  358. package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +18 -0
  359. package/dist/types/components/providers/AuthProvider/composables/useAuth.d.ts +3 -0
  360. package/dist/types/components/providers/AuthProvider/index.d.ts +3 -0
  361. package/dist/types/components/providers/ConfigProvider/ConfigProvider.lib.d.ts +5 -0
  362. package/dist/types/components/providers/ConfigProvider/ConfigProvider.types.d.ts +9 -0
  363. package/dist/types/components/providers/ConfigProvider/ConfigProvider.vue.d.ts +18 -0
  364. package/dist/types/components/providers/ConfigProvider/composables/useConfig.d.ts +3 -0
  365. package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.types.d.ts +3 -0
  366. package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.vue.d.ts +18 -0
  367. package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +10 -0
  368. package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +22 -0
  369. package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +17 -0
  370. package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib.d.ts +5 -0
  371. package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.types.d.ts +4 -0
  372. package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.vue.d.ts +18 -0
  373. package/dist/types/components/providers/ExperimentalFeatureProvider/composables/useExperimentalFeature.d.ts +1 -0
  374. package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +12 -0
  375. package/dist/types/components/providers/HostElementProvider/HostElementProvider.types.d.ts +3 -0
  376. package/dist/types/components/providers/HostElementProvider/HostElementProvider.vue.d.ts +18 -0
  377. package/dist/types/components/providers/HostElementProvider/composables/useHostElementProvider.d.ts +1 -0
  378. package/dist/types/components/providers/LoggerProvider/LoggerProvider.lib.d.ts +32 -0
  379. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +70 -0
  380. package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +20 -0
  381. package/dist/types/components/providers/LoggerProvider/composables/useLogger.d.ts +6 -0
  382. package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +7 -0
  383. package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +11 -0
  384. package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +18 -0
  385. package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +3 -0
  386. package/dist/types/components/providers/Provider/Provider.types.d.ts +15 -0
  387. package/dist/types/components/providers/Provider/Provider.vue.d.ts +21 -0
  388. package/dist/types/components/providers/TeleportProvider/TeleportProvider.vue.d.ts +17 -0
  389. package/dist/types/components/providers/TranslationProvider/TranslationOverride.vue.d.ts +18 -0
  390. package/dist/types/components/providers/TranslationProvider/TranslationProvider.lib.d.ts +9 -0
  391. package/dist/types/components/providers/TranslationProvider/TranslationProvider.types.d.ts +22 -0
  392. package/dist/types/components/providers/TranslationProvider/TranslationProvider.vue.d.ts +18 -0
  393. package/dist/types/components/providers/index.d.ts +9 -0
  394. package/dist/types/components/shared/ScreenTitle/ScreenTitle.types.d.ts +4 -0
  395. package/dist/types/components/shared/Section/Section.types.d.ts +21 -0
  396. package/dist/types/components/shared/Skeleton.types.d.ts +5 -0
  397. package/dist/types/components/shared/SlidingPanes/SlidingPanes.types.d.ts +12 -0
  398. package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsList.types.d.ts +15 -0
  399. package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsListItem.types.d.ts +7 -0
  400. package/dist/types/components/subscriptions/OrderSummary.types.d.ts +65 -0
  401. package/dist/types/components/subscriptions/PlanCustomizationForm/AddonSingleEditor.types.d.ts +5 -0
  402. package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +8 -0
  403. package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupContent.types.d.ts +4 -0
  404. package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupEditorBase.types.d.ts +8 -0
  405. package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditor.types.d.ts +6 -0
  406. package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditorItem.types.d.ts +6 -0
  407. package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTable.types.d.ts +5 -0
  408. package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTableRow.types.d.ts +7 -0
  409. package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +12 -0
  410. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagement.types.d.ts +47 -0
  411. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +28 -0
  412. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSuccess.types.d.ts +7 -0
  413. package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSummary.types.d.ts +7 -0
  414. package/dist/types/components/subscriptions/SubscriptionSummary.types.d.ts +33 -0
  415. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +16 -0
  416. package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +13 -0
  417. package/dist/types/components/wallets/AutoTopUpCancellationModal/AutoTopUpCancellationModal.types.d.ts +9 -0
  418. package/dist/types/components/wallets/AutoTopUpConfig/AutoTopUpConfig.types.d.ts +56 -0
  419. package/dist/types/components/wallets/AutoTopUpModal/AutoTopUpModal.types.d.ts +16 -0
  420. package/dist/types/components/wallets/ConvertedAmountInput/ConvertedAmountInput.types.d.ts +32 -0
  421. package/dist/types/components/wallets/TopUpModal/TopUpInvoicePreview.types.d.ts +11 -0
  422. package/dist/types/components/wallets/TopUpModal/TopUpModal.types.d.ts +31 -0
  423. package/dist/types/components/wallets/TopUpModal/TopUpModalForm.types.d.ts +23 -0
  424. package/dist/types/components/wallets/TopUpModal/TopUpModalSuccess.types.d.ts +11 -0
  425. package/dist/types/components/wallets/WalletModalShell.types.d.ts +24 -0
  426. package/dist/types/composables/useInvoicePreview.types.d.ts +9 -0
  427. package/dist/types/config/config.beta.d.ts +2 -0
  428. package/dist/types/config/config.dev.d.ts +2 -0
  429. package/dist/types/config/config.live.d.ts +2 -0
  430. package/dist/types/config/internalEnvironments.d.ts +11 -0
  431. package/dist/types/config/internalEnvironments.published.d.ts +7 -0
  432. package/dist/types/config/lib.d.ts +6 -0
  433. package/dist/types/config/types.d.ts +13 -0
  434. package/dist/types/index.d.ts +23 -0
  435. package/dist/types/public/components/BillingInformation/BillingInformation.entry.ce.d.ts +1 -0
  436. package/dist/types/public/components/BillingInformation/BillingInformation.entry.types.d.ts +4 -0
  437. package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +12 -0
  438. package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.ce.d.ts +1 -0
  439. package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.types.d.ts +4 -0
  440. package/dist/types/public/components/BillingInformationForm/BillingInformationForm.types.d.ts +10 -0
  441. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce.d.ts +1 -0
  442. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.types.d.ts +6 -0
  443. package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +22 -0
  444. package/dist/types/public/components/CustomerWalletBalances/CustomerWalletBalances.types.d.ts +22 -0
  445. package/dist/types/public/components/Invoice/Invoice.entry.ce.d.ts +1 -0
  446. package/dist/types/public/components/Invoice/Invoice.entry.types.d.ts +5 -0
  447. package/dist/types/public/components/Invoice/Invoice.types.d.ts +26 -0
  448. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.ce.d.ts +1 -0
  449. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.types.d.ts +5 -0
  450. package/dist/types/public/components/InvoiceDetails/InvoiceDetails.types.d.ts +9 -0
  451. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.ce.d.ts +1 -0
  452. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.types.d.ts +5 -0
  453. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +16 -0
  454. package/dist/types/public/components/InvoicesList/InvoicesList.entry.ce.d.ts +1 -0
  455. package/dist/types/public/components/InvoicesList/InvoicesList.entry.types.d.ts +5 -0
  456. package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +37 -0
  457. package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.ce.d.ts +1 -0
  458. package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.types.d.ts +5 -0
  459. package/dist/types/public/components/PaymentHistory/PaymentHistory.types.d.ts +10 -0
  460. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.ce.d.ts +1 -0
  461. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.types.d.ts +5 -0
  462. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +45 -0
  463. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce.d.ts +1 -0
  464. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.types.d.ts +5 -0
  465. package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.types.d.ts +9 -0
  466. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.ce.d.ts +1 -0
  467. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.types.d.ts +5 -0
  468. package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +16 -0
  469. package/dist/types/public/components/WalletBalances/WalletBalances.entry.ce.d.ts +1 -0
  470. package/dist/types/public/components/WalletBalances/WalletBalances.entry.types.d.ts +5 -0
  471. package/dist/types/public/components/WalletBalances/WalletBalances.types.d.ts +3 -0
  472. package/dist/types/public/core/action-request.types.d.ts +55 -0
  473. package/dist/types/public/core/configuration.d.ts +3 -0
  474. package/dist/types/public/core/index.d.ts +14 -0
  475. package/dist/types/public/core/registry.ce.d.ts +8 -0
  476. package/dist/types/public/core/registry.d.ts +6 -0
  477. package/dist/types/public/core/types.d.ts +120 -0
  478. package/dist/types/public/screens/Checkout/Checkout.entry.ce.d.ts +1 -0
  479. package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +18 -0
  480. package/dist/types/public/screens/Checkout/Checkout.types.d.ts +46 -0
  481. package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.ce.d.ts +1 -0
  482. package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.types.d.ts +5 -0
  483. package/dist/types/public/screens/CustomerOverview/CustomerOverview.types.d.ts +2 -0
  484. package/dist/types/public/screens/PayInvoice/PayInvoice.entry.ce.d.ts +1 -0
  485. package/dist/types/public/screens/PayInvoice/PayInvoice.entry.types.d.ts +4 -0
  486. package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +23 -0
  487. package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts +1 -0
  488. package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.types.d.ts +3 -0
  489. package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.types.d.ts +7 -0
  490. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce.d.ts +1 -0
  491. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.types.d.ts +6 -0
  492. package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +23 -0
  493. package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce.d.ts +1 -0
  494. package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.types.d.ts +5 -0
  495. package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.types.d.ts +13 -0
  496. package/dist/types/public/screens/types.d.ts +4 -0
  497. package/dist/types/public/types/index.d.ts +23 -0
  498. package/dist/types/services/invoices.types.d.ts +26 -0
  499. package/dist/types/services/paymentMethods.types.d.ts +31 -0
  500. package/dist/types/services/portals.types.d.ts +68 -0
  501. package/dist/types/services/requests.types.d.ts +24 -0
  502. package/dist/types/translations/supported.d.ts +1 -0
  503. package/dist/types/types/EntryBaseProps.d.ts +10 -0
  504. package/dist/types/types/errors.d.ts +7 -0
  505. package/dist/types/types/subscription.d.ts +4 -0
  506. package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +111 -0
  507. package/dist/types/vendor/@solvimon/solvimon-types/types/Address.d.ts +17 -0
  508. package/dist/types/vendor/@solvimon/solvimon-types/types/Alerts.d.ts +72 -0
  509. package/dist/types/vendor/@solvimon/solvimon-types/types/Amount.d.ts +4 -0
  510. package/dist/types/vendor/@solvimon/solvimon-types/types/Api.d.ts +50 -0
  511. package/dist/types/vendor/@solvimon/solvimon-types/types/ApiError.d.ts +7 -0
  512. package/dist/types/vendor/@solvimon/solvimon-types/types/ApiKey.d.ts +21 -0
  513. package/dist/types/vendor/@solvimon/solvimon-types/types/ApiStatus.d.ts +7 -0
  514. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +77 -0
  515. package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +22 -0
  516. package/dist/types/vendor/@solvimon/solvimon-types/types/Attachment.d.ts +14 -0
  517. package/dist/types/vendor/@solvimon/solvimon-types/types/Band.d.ts +30 -0
  518. package/dist/types/vendor/@solvimon/solvimon-types/types/BaseResourceStatus.d.ts +3 -0
  519. package/dist/types/vendor/@solvimon/solvimon-types/types/BillingEntity.d.ts +45 -0
  520. package/dist/types/vendor/@solvimon/solvimon-types/types/BillingPeriod.d.ts +5 -0
  521. package/dist/types/vendor/@solvimon/solvimon-types/types/BillingTime.d.ts +1 -0
  522. package/dist/types/vendor/@solvimon/solvimon-types/types/ChargeOnDemandPricingItems.d.ts +24 -0
  523. package/dist/types/vendor/@solvimon/solvimon-types/types/Commitment.d.ts +9 -0
  524. package/dist/types/vendor/@solvimon/solvimon-types/types/CommitmentItem.d.ts +17 -0
  525. package/dist/types/vendor/@solvimon/solvimon-types/types/Comparator.d.ts +1 -0
  526. package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +12 -0
  527. package/dist/types/vendor/@solvimon/solvimon-types/types/ConfiguredMeterValue.d.ts +9 -0
  528. package/dist/types/vendor/@solvimon/solvimon-types/types/Country.d.ts +1 -0
  529. package/dist/types/vendor/@solvimon/solvimon-types/types/CreateMeterData.d.ts +5 -0
  530. package/dist/types/vendor/@solvimon/solvimon-types/types/CreatePricingPlanVersion.d.ts +3 -0
  531. package/dist/types/vendor/@solvimon/solvimon-types/types/CreditType.d.ts +16 -0
  532. package/dist/types/vendor/@solvimon/solvimon-types/types/Currency.d.ts +8 -0
  533. package/dist/types/vendor/@solvimon/solvimon-types/types/CustomFields.d.ts +39 -0
  534. package/dist/types/vendor/@solvimon/solvimon-types/types/CustomerContact.d.ts +12 -0
  535. package/dist/types/vendor/@solvimon/solvimon-types/types/Customers.d.ts +75 -0
  536. package/dist/types/vendor/@solvimon/solvimon-types/types/Discount.d.ts +12 -0
  537. package/dist/types/vendor/@solvimon/solvimon-types/types/DiscountItem.d.ts +24 -0
  538. package/dist/types/vendor/@solvimon/solvimon-types/types/Document.d.ts +22 -0
  539. package/dist/types/vendor/@solvimon/solvimon-types/types/DueDateConfiguration.d.ts +8 -0
  540. package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +16 -0
  541. package/dist/types/vendor/@solvimon/solvimon-types/types/Environment.d.ts +1 -0
  542. package/dist/types/vendor/@solvimon/solvimon-types/types/EventTrace.d.ts +23 -0
  543. package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceExtended.d.ts +22 -0
  544. package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLink.d.ts +14 -0
  545. package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLinkExtended.d.ts +15 -0
  546. package/dist/types/vendor/@solvimon/solvimon-types/types/Features.d.ts +25 -0
  547. package/dist/types/vendor/@solvimon/solvimon-types/types/IdentityProvider.d.ts +40 -0
  548. package/dist/types/vendor/@solvimon/solvimon-types/types/IndexingSettings.d.ts +24 -0
  549. package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +367 -0
  550. package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +349 -0
  551. package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +22 -0
  552. package/dist/types/vendor/@solvimon/solvimon-types/types/Markup.d.ts +8 -0
  553. package/dist/types/vendor/@solvimon/solvimon-types/types/MarkupItem.d.ts +11 -0
  554. package/dist/types/vendor/@solvimon/solvimon-types/types/Meter.d.ts +32 -0
  555. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterConditions.d.ts +26 -0
  556. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterData.d.ts +25 -0
  557. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterDataExpanded.d.ts +5 -0
  558. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterProperty.d.ts +34 -0
  559. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyValue.d.ts +5 -0
  560. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValue.d.ts +16 -0
  561. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueCalculation.d.ts +20 -0
  562. package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueValue.d.ts +7 -0
  563. package/dist/types/vendor/@solvimon/solvimon-types/types/ModelType.d.ts +1 -0
  564. package/dist/types/vendor/@solvimon/solvimon-types/types/Name.d.ts +5 -0
  565. package/dist/types/vendor/@solvimon/solvimon-types/types/NotificationPreferences.d.ts +9 -0
  566. package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +124 -0
  567. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +120 -0
  568. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAction.d.ts +74 -0
  569. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethod.d.ts +173 -0
  570. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethodOptions.d.ts +45 -0
  571. package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentSchedules.d.ts +142 -0
  572. package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -0
  573. package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +118 -0
  574. package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +58 -0
  575. package/dist/types/vendor/@solvimon/solvimon-types/types/Pricing.d.ts +41 -0
  576. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategory.d.ts +18 -0
  577. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategoryExtended.d.ts +9 -0
  578. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingExtended.d.ts +9 -0
  579. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingGroup.d.ts +29 -0
  580. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItem.d.ts +40 -0
  581. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItemConfig.d.ts +130 -0
  582. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSchedule.d.ts +103 -0
  583. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleInfo.d.ts +7 -0
  584. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleWithPlanData.d.ts +9 -0
  585. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +80 -0
  586. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscriptionGroup.d.ts +10 -0
  587. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersion.d.ts +71 -0
  588. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersionExtended.d.ts +7 -0
  589. package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlans.d.ts +44 -0
  590. package/dist/types/vendor/@solvimon/solvimon-types/types/Product.d.ts +22 -0
  591. package/dist/types/vendor/@solvimon/solvimon-types/types/ProductCategory.d.ts +10 -0
  592. package/dist/types/vendor/@solvimon/solvimon-types/types/ProductItem.d.ts +60 -0
  593. package/dist/types/vendor/@solvimon/solvimon-types/types/PromotionCodes.d.ts +14 -0
  594. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +43 -0
  595. package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +93 -0
  596. package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +65 -0
  597. package/dist/types/vendor/@solvimon/solvimon-types/types/ReprocessLog.d.ts +31 -0
  598. package/dist/types/vendor/@solvimon/solvimon-types/types/Resource.d.ts +5 -0
  599. package/dist/types/vendor/@solvimon/solvimon-types/types/ResourceStatus.d.ts +2 -0
  600. package/dist/types/vendor/@solvimon/solvimon-types/types/Role.d.ts +19 -0
  601. package/dist/types/vendor/@solvimon/solvimon-types/types/SignatureRequest.d.ts +27 -0
  602. package/dist/types/vendor/@solvimon/solvimon-types/types/TaxCategory.d.ts +1 -0
  603. package/dist/types/vendor/@solvimon/solvimon-types/types/TaxIdentifier.d.ts +17 -0
  604. package/dist/types/vendor/@solvimon/solvimon-types/types/TaxSummary.d.ts +21 -0
  605. package/dist/types/vendor/@solvimon/solvimon-types/types/TimePeriod.d.ts +5 -0
  606. package/dist/types/vendor/@solvimon/solvimon-types/types/Timestamp.d.ts +4 -0
  607. package/dist/types/vendor/@solvimon/solvimon-types/types/Token.d.ts +6 -0
  608. package/dist/types/vendor/@solvimon/solvimon-types/types/User.d.ts +106 -0
  609. package/dist/types/vendor/@solvimon/solvimon-types/types/ValueType.d.ts +1 -0
  610. package/dist/types/vendor/@solvimon/solvimon-types/types/Wallet.d.ts +44 -0
  611. package/dist/types/vendor/@solvimon/solvimon-types/types/WalletAutoTopUpConfigs.d.ts +28 -0
  612. package/dist/types/vendor/@solvimon/solvimon-types/types/WalletType.d.ts +54 -0
  613. package/dist/types/vendor/@solvimon/solvimon-types/types/Webhook.d.ts +48 -0
  614. package/dist/types/vendor/@solvimon/solvimon-types/types/WebhookEvent.d.ts +18 -0
  615. package/dist/types/vendor/@solvimon/solvimon-types/types/Workflows.d.ts +95 -0
  616. package/dist/types/vendor/@solvimon/solvimon-types/types/forms.d.ts +1 -0
  617. package/dist/types/vendor/@solvimon/solvimon-types/utils.d.ts +17 -0
  618. package/dist/unionpay.svg.es-DjFZ5EMQ.js +1 -0
  619. package/dist/unionpay.svg.es-me7q-nTI.mjs +4 -0
  620. package/dist/url-BNKStNY9.js +1 -0
  621. package/dist/url-DwiuKYpu.mjs +20 -0
  622. package/dist/useActionDispatchProvider-B54GYEY7.js +1 -0
  623. package/dist/useActionDispatchProvider-e2lQXTid.mjs +11 -0
  624. package/dist/useCustomer-BJwJ9BkJ.js +1 -0
  625. package/dist/useCustomer-CC9zxV6c.mjs +20 -0
  626. package/dist/useCustomerFormLabels-72Pxw8X5.js +1 -0
  627. package/dist/useCustomerFormLabels-V2YuYMLU.mjs +930 -0
  628. package/dist/useExperimentalFeature-8Mzpj5wc.js +1 -0
  629. package/dist/useExperimentalFeature-B0IFn3Uw.mjs +6 -0
  630. package/dist/useIncrementalLoading-CaWOE8Xl.js +1 -0
  631. package/dist/useIncrementalLoading-Cgxw2GD7.mjs +48 -0
  632. package/dist/useInvoiceData-6mHUZC9a.mjs +38 -0
  633. package/dist/useInvoiceData-Bblwdl0f.js +1 -0
  634. package/dist/useInvoicesList-B5H5JfvY.mjs +500 -0
  635. package/dist/useInvoicesList-_U1-tn9_.js +1 -0
  636. package/dist/useLoadInitialData-CezlvhBV.js +1 -0
  637. package/dist/useLoadInitialData-ux_wpNiR.mjs +15 -0
  638. package/dist/usePaymentMethodAvailability-CkR4TwoV.mjs +118 -0
  639. package/dist/usePaymentMethodAvailability-DRwrBdto.js +1 -0
  640. package/dist/usePaymentMethodOptions-B6GIM9q4.js +1 -0
  641. package/dist/usePaymentMethodOptions-BfnLBZOo.mjs +37 -0
  642. package/dist/usePaymentMethods-C3QfLSrP.mjs +15 -0
  643. package/dist/usePaymentMethods-GFmQRp0X.js +1 -0
  644. package/dist/usePayments-BkwGyZT0.mjs +318 -0
  645. package/dist/usePayments-SQF_V7oL.js +1 -0
  646. package/dist/usePortal-BdM7hDge.js +1 -0
  647. package/dist/usePortal-DDG9b6FI.mjs +11 -0
  648. package/dist/useService-Bh47bllz.mjs +50 -0
  649. package/dist/useService-H7BjLg8P.js +1 -0
  650. package/dist/useSubscription-BJJYHYgr.mjs +210 -0
  651. package/dist/useSubscription-Q4C2DPhw.js +1 -0
  652. package/dist/useTimePeriod.es-9tZvAhyb.mjs +93 -0
  653. package/dist/useTimePeriod.es-pepm2TpV.js +1 -0
  654. package/dist/useViewport-BgdA2PPt.mjs +29 -0
  655. package/dist/useViewport-hPRVDWCm.js +1 -0
  656. package/dist/useWatchDebounced-CAU1WI1P.js +1 -0
  657. package/dist/useWatchDebounced-DT5IicPp.mjs +14 -0
  658. package/dist/visa.svg.es-B0T5Su99.mjs +4 -0
  659. package/dist/visa.svg.es-NY3BHhda.js +1 -0
  660. package/dist/vpay.svg.es-VViQi42w.js +1 -0
  661. package/dist/vpay.svg.es-Zt3rrmCy.mjs +4 -0
  662. package/dist/zip.svg.es-C9S_F31W.js +1 -0
  663. package/dist/zip.svg.es-QC6dxzC7.mjs +4 -0
  664. package/package.json +112 -61
  665. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BD3CrJzj.js +0 -1
  666. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-DQAp1xwu.mjs +0 -56
  667. package/dist/ContentWithAsideLayout-CRsFr9TH.mjs +0 -42
  668. package/dist/ContentWithAsideLayout-DczcgSrt.js +0 -1
  669. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BE3I7Oe1.js +0 -1
  670. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D0ie9Krt.mjs +0 -85
  671. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DVDOsMnT.mjs +0 -90
  672. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-sNdlKgdU.js +0 -1
  673. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DJEZEEwZ.mjs +0 -6568
  674. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-Sn1Jq19s.js +0 -1
  675. package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-Bifo4jTH.js +0 -1
  676. package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-DWp42_G4.mjs +0 -75
  677. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-C-taYlG4.mjs +0 -63
  678. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-C_BwMlBE.js +0 -1
  679. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-Bp5RvQVS.mjs +0 -373
  680. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-yyhwzYSM.js +0 -1
  681. package/dist/_Uint8Array-DHE03FZr.mjs +0 -507
  682. package/dist/_Uint8Array-DxISR7XF.js +0 -1
  683. package/dist/auto-DzZuCneB.mjs +0 -14387
  684. package/dist/auto-PpnAChnH.js +0 -6
  685. package/dist/cloneDeep-DranHQkY.js +0 -1
  686. package/dist/cloneDeep-sm9cY-u2.mjs +0 -212
  687. package/dist/component-DEo_ndpK.mjs +0 -58668
  688. package/dist/component-XHQYFLA_.js +0 -1
  689. package/dist/components/BillingInformation/BillingInformation.cjs.js +0 -1
  690. package/dist/components/BillingInformation/BillingInformation.es.js +0 -98
  691. package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +0 -1
  692. package/dist/components/BillingInformationForm/BillingInformationForm.es.js +0 -584
  693. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +0 -1
  694. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.es.js +0 -134
  695. package/dist/components/Invoice/Invoice.cjs.js +0 -1
  696. package/dist/components/Invoice/Invoice.es.js +0 -582
  697. package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +0 -1
  698. package/dist/components/InvoiceDetails/InvoiceDetails.es.js +0 -129
  699. package/dist/components/InvoicesList/InvoicesList.cjs.js +0 -1
  700. package/dist/components/InvoicesList/InvoicesList.es.js +0 -104
  701. package/dist/components/PaymentHistory/PaymentHistory.cjs.js +0 -1
  702. package/dist/components/PaymentHistory/PaymentHistory.es.js +0 -133
  703. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +0 -1
  704. package/dist/components/PaymentMethodForm/PaymentMethodForm.es.js +0 -238
  705. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +0 -1
  706. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.es.js +0 -152
  707. package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +0 -1
  708. package/dist/components/SubscriptionsList/SubscriptionsList.es.js +0 -134
  709. package/dist/components/WalletBalances/WalletBalances.cjs.js +0 -1
  710. package/dist/components/WalletBalances/WalletBalances.es.js +0 -120
  711. package/dist/core/index.cjs.js +0 -1
  712. package/dist/core/index.es.js +0 -6
  713. package/dist/index-2jo9BSPM.js +0 -1
  714. package/dist/index-BFZ0dPh9.mjs +0 -179
  715. package/dist/index-CWSXne1Q.js +0 -1
  716. package/dist/index-CzL1ZcGi.mjs +0 -85
  717. package/dist/index-D3v7hAtc.mjs +0 -253
  718. package/dist/index-DRdBmZ2-.js +0 -1
  719. package/dist/index.cjs.js +0 -1
  720. package/dist/index.es.js +0 -45
  721. package/dist/invoices-BW1notiX.js +0 -1
  722. package/dist/invoices-M5oYVch6.mjs +0 -84
  723. package/dist/paymentMethods-BX80t2zk.js +0 -1
  724. package/dist/paymentMethods-CqKUfc3w.mjs +0 -65
  725. package/dist/payments-BHv4hCeJ.js +0 -1
  726. package/dist/payments-CosaPZwo.mjs +0 -47
  727. package/dist/registry-BwKEYOf7.js +0 -1
  728. package/dist/registry-Cag1Jj7P.mjs +0 -143
  729. package/dist/screens/Checkout/Checkout.cjs.js +0 -1
  730. package/dist/screens/Checkout/Checkout.es.js +0 -5142
  731. package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +0 -1
  732. package/dist/screens/CustomerOverview/CustomerOverview.es.js +0 -136
  733. package/dist/screens/UpgradeSubscription/UpgradeSubscription.ce.d.ts +0 -3
  734. package/dist/screens/UpgradeSubscription/UpgradeSubscription.cjs.js +0 -1
  735. package/dist/screens/UpgradeSubscription/UpgradeSubscription.es.js +0 -1012
  736. package/dist/solvimon-web.css +0 -1
  737. package/dist/sprite-i5T7eZnk-C55G-dBo.js +0 -1
  738. package/dist/sprite-i5T7eZnk-i5T7eZnk.mjs +0 -4
  739. package/dist/subscriptions-Bs4DIE8f.mjs +0 -74
  740. package/dist/subscriptions-CnxvsBXd.js +0 -1
  741. package/dist/useActionDispatchProvider-CgRcOqv3.mjs +0 -12
  742. package/dist/useActionDispatchProvider-Cru69mAl.js +0 -1
  743. package/dist/useCustomer-B0NK96dA.js +0 -1
  744. package/dist/useCustomer-DlcjY3fP.mjs +0 -45
  745. package/dist/useCustomerPaymentMethodOptions-BzEquyUV.mjs +0 -169
  746. package/dist/useCustomerPaymentMethodOptions-C-8BLzqb.js +0 -1
  747. package/dist/useIncrementalLoading-C7ToTmZK.mjs +0 -71
  748. package/dist/useIncrementalLoading-D60Vttil.js +0 -1
  749. package/dist/useInvoiceData-CcueV3We.mjs +0 -51
  750. package/dist/useInvoiceData-DstXfI7t.js +0 -1
  751. package/dist/useInvoicesList-CXng3aUm.mjs +0 -294
  752. package/dist/useInvoicesList-DmzjgMlW.js +0 -1
  753. package/dist/useLoadInitialData-BRg7IWqW.js +0 -1
  754. package/dist/useLoadInitialData-Dm48tlSO.mjs +0 -13
  755. package/dist/usePaymentMethods-DCGVRXA4.js +0 -1
  756. package/dist/usePaymentMethods-Db-1R6rI.mjs +0 -16
  757. package/dist/useService-B4qv5N2D.mjs +0 -281
  758. package/dist/useService-D-CUtlp3.js +0 -1
  759. package/dist/useWalletBalanceItems-BZyiAhcV.js +0 -1
  760. package/dist/useWalletBalanceItems-CHkLaccm.mjs +0 -105
@@ -1,1012 +0,0 @@
1
- import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createVNode, createTextVNode, toDisplayString, createElementBlock, Fragment, createElementVNode, renderList, createCommentVNode, normalizeClass, ref, onMounted, watch } from "vue";
2
- import { b as useIntl, d as _sfc_main$1g, _ as _sfc_main$2$1, O as formatAmount, m as _sfc_main$2H, g as _sfc_main$7, c as createRequestService, u as useConfig, n as _sfc_main$4$1, D as _sfc_main$16, Q as _sfc_main$2p, p as _sfc_main$9, q as defineCustomElement, o as getComponentName } from "../../component-DEo_ndpK.mjs";
3
- import { _ as _sfc_main$6, a as _sfc_main$8 } from "../../PricingGroupContent.vue_vue_type_script_setup_true_lang-DWp42_G4.mjs";
4
- import { c as createPaymentMethodsService } from "../../paymentMethods-CqKUfc3w.mjs";
5
- import { u as usePortal, C as ContentWithAsideLayout } from "../../ContentWithAsideLayout-CRsFr9TH.mjs";
6
- import { u as useActionDispatchProvider } from "../../useActionDispatchProvider-CgRcOqv3.mjs";
7
- const mockSubscriptionGetResponse = {
8
- id: "ppsu_hwDeeN0vhvcVCsAIdp1G",
9
- pricing_plan_schedule_infos: [
10
- {
11
- id: "ppsc_IwDeeN0vhvcVCIAQdq1a",
12
- pricing_plan_version_id: "ppve_MwDeeN0vhvcEuaADdd1f",
13
- start_at: "2026-04-05T22:00:00Z",
14
- pricing_plan_version: {
15
- pricing_categories: [
16
- {
17
- product_category: {
18
- id: "proc_iwDeeN0vhphn6VAtBD1w",
19
- name: "Add ons"
20
- },
21
- display_order: 1,
22
- pricings: [
23
- {
24
- id: "pric_ywDeeN0vhvcPguAadr1V",
25
- name: "Integration setup",
26
- products: [{ name: "Integration setup" }],
27
- items: [
28
- {
29
- id: "prii_NwDeeN0vhvcPguAxds12",
30
- product_items: [
31
- {
32
- name: "Rillet integration setup",
33
- model_type: "ONE_OFF"
34
- }
35
- ],
36
- configs: [
37
- {
38
- on_demand: true,
39
- bands: [
40
- {
41
- fixed_amount: {
42
- quantity: "5000.00",
43
- currency: "EUR"
44
- }
45
- }
46
- ]
47
- }
48
- ]
49
- },
50
- {
51
- id: "prii_IwDeeN0vhvcPgvAsdS1Q",
52
- product_items: [
53
- {
54
- name: "Attio integration setup",
55
- model_type: "ONE_OFF"
56
- }
57
- ],
58
- configs: [
59
- {
60
- on_demand: true,
61
- // FLAT type: price is in `amount`, not `fixed_amount`
62
- bands: [
63
- {
64
- amount: {
65
- quantity: "50000.00",
66
- currency: "EUR"
67
- }
68
- }
69
- ]
70
- }
71
- ]
72
- }
73
- ]
74
- }
75
- ],
76
- pricing_groups: []
77
- }
78
- ]
79
- }
80
- }
81
- ]
82
- };
83
- const isOnDemandOneOffItem = (item) => {
84
- var _a, _b;
85
- return (((_a = item.configs) == null ? void 0 : _a.some((c) => c.on_demand)) ?? false) && (((_b = item.product_items) == null ? void 0 : _b.some((pi) => pi.model_type === "ONE_OFF")) ?? false);
86
- };
87
- const itemToRow = (item) => {
88
- var _a, _b;
89
- return {
90
- id: item.id,
91
- name: (_b = (_a = item.product_items) == null ? void 0 : _a[0]) == null ? void 0 : _b.name,
92
- items: [
93
- {
94
- id: item.id,
95
- configs: (item.configs ?? []).map((config) => ({
96
- bands: (config.bands ?? []).map((band) => ({
97
- fixed_amount: band.fixed_amount ?? band.amount
98
- }))
99
- }))
100
- }
101
- ]
102
- };
103
- };
104
- const pricingToRows = (pricing) => (pricing.items ?? []).filter(isOnDemandOneOffItem).map(itemToRow);
105
- const categoryToOnDemand = (category) => ({
106
- display_order: category.display_order,
107
- product_category: category.product_category,
108
- pricings: (category.pricings ?? []).flatMap(pricingToRows),
109
- pricing_groups: (category.pricing_groups ?? []).map((group) => ({
110
- id: group.id,
111
- name: group.name,
112
- pricings: (group.pricings ?? []).flatMap(pricingToRows)
113
- })).filter((g) => g.pricings.length > 0)
114
- });
115
- const ITEM_PRICES_EUR = Object.fromEntries(
116
- mockSubscriptionGetResponse.pricing_plan_schedule_infos.flatMap((s) => s.pricing_plan_version.pricing_categories).flatMap((cat) => cat.pricings).flatMap((p) => p.items).filter(isOnDemandOneOffItem).map((item) => {
117
- var _a, _b, _c, _d, _e;
118
- const band = (_c = (_b = (_a = item.configs) == null ? void 0 : _a[0]) == null ? void 0 : _b.bands) == null ? void 0 : _c[0];
119
- const raw = ((_d = band == null ? void 0 : band.fixed_amount) == null ? void 0 : _d.quantity) ?? ((_e = band == null ? void 0 : band.amount) == null ? void 0 : _e.quantity) ?? "0";
120
- return [item.id, parseFloat(raw)];
121
- })
122
- );
123
- const VAT_RATE = 0.21;
124
- const eur = (amount) => ({ quantity: amount.toFixed(2), currency: "EUR" });
125
- const mockPaymentAcceptor = {
126
- id: "paya_NwDeeN0vgXgeP1AyNx14",
127
- object_type: "PAYMENT_ACCEPTOR",
128
- status: "ACTIVE",
129
- reference: "mock-payment-acceptor",
130
- name: "Mock payment acceptor",
131
- type: "PAYMENT_GATEWAY"
132
- };
133
- const mockPaymentIntegration = {
134
- id: "intg_zwDeeN0vgXgeM6APNW1g",
135
- object_type: "INTEGRATION",
136
- reference: "mock-payment-integration",
137
- name: "Mock payment integration",
138
- description: "Mock payment integration",
139
- status: "ACTIVE",
140
- type: "PAYMENT_GATEWAY"
141
- };
142
- const getMockPreviewResponse = (selectedItemIds) => {
143
- const base = selectedItemIds.reduce((sum, id) => sum + (ITEM_PRICES_EUR[id] ?? 0), 0);
144
- const tax = Math.round(base * VAT_RATE * 100) / 100;
145
- const total = base + tax;
146
- return {
147
- // eslint-disable-next-line @typescript-eslint/consistent-type-assertions
148
- invoice: {
149
- tax_summary: {
150
- base_amount: eur(base),
151
- tax_amount: eur(tax),
152
- total_amount: eur(total),
153
- country_code: "NL"
154
- }
155
- },
156
- // eslint-disable-next-line @typescript-eslint/consistent-type-assertions
157
- first_invoice: {},
158
- invoice_infos: []
159
- };
160
- };
161
- const getMockOnDemandPricingItemsResponse = (subscriptionId) => {
162
- var _a;
163
- const now = Date.now();
164
- const schedules = mockSubscriptionGetResponse.pricing_plan_schedule_infos;
165
- const activeSchedule = schedules.find((s) => {
166
- const start = Date.parse(s.start_at);
167
- return Number.isFinite(start) && start <= now;
168
- }) ?? schedules[0];
169
- const categories = (((_a = activeSchedule == null ? void 0 : activeSchedule.pricing_plan_version) == null ? void 0 : _a.pricing_categories) ?? []).map(categoryToOnDemand).filter((c) => {
170
- var _a2, _b;
171
- return (((_a2 = c.pricings) == null ? void 0 : _a2.length) ?? 0) > 0 || (((_b = c.pricing_groups) == null ? void 0 : _b.length) ?? 0) > 0;
172
- });
173
- return {
174
- pricing_plan_subscription_id: subscriptionId || mockSubscriptionGetResponse.id,
175
- pricing_plan_schedule_id: (activeSchedule == null ? void 0 : activeSchedule.id) ?? "",
176
- pricing_plan_version_id: (activeSchedule == null ? void 0 : activeSchedule.pricing_plan_version_id) ?? "",
177
- billing_period: { type: "MONTH", value: 1 },
178
- billing_currency: "EUR",
179
- pricing_categories: categories
180
- };
181
- };
182
- const getMockPaymentMethodOptionsResponse = () => [
183
- {
184
- payment_acceptor: mockPaymentAcceptor,
185
- integration: mockPaymentIntegration,
186
- options: [
187
- {
188
- name: "iDeal",
189
- payment_method_variant: "ONLINE_BANKING",
190
- payment_gateway_variant: "ADYEN",
191
- adyen: { name: "iDEAL | Wero", type: "ideal" }
192
- },
193
- {
194
- name: "Cards",
195
- payment_method_variant: "CARD",
196
- payment_gateway_variant: "ADYEN",
197
- adyen: {
198
- name: "Cards",
199
- type: "scheme",
200
- brands: [
201
- "maestro",
202
- "accel",
203
- "amex",
204
- "cup",
205
- "diners",
206
- "hipercard",
207
- "jcb",
208
- "mc",
209
- "nyce",
210
- "pulse",
211
- "star",
212
- "visa"
213
- ]
214
- }
215
- },
216
- {
217
- name: "PayPal",
218
- payment_method_variant: "DIGITAL_WALLET",
219
- payment_gateway_variant: "ADYEN",
220
- adyen: { name: "PayPal", type: "paypal", configuration: { intent: "capture" } }
221
- },
222
- {
223
- name: "Trustly",
224
- payment_method_variant: "ONLINE_BANKING",
225
- payment_gateway_variant: "ADYEN",
226
- adyen: { name: "Trustly - Instant Bank Payment", type: "trustly" }
227
- }
228
- ]
229
- }
230
- ];
231
- const _hoisted_1$3 = { class: "mb-3 flex flex-col gap-2" };
232
- const _hoisted_2$2 = { class: "flex flex-col gap-1 border-t pt-3" };
233
- const _hoisted_3$1 = { class: "flex items-center justify-between" };
234
- const _hoisted_4$1 = { class: "flex items-center justify-between" };
235
- const _hoisted_5$1 = { class: "flex items-center justify-between border-t pt-3" };
236
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
237
- __name: "UpgradeOrderSummary",
238
- props: {
239
- selectedPricings: { type: Array },
240
- invoice: { type: Object },
241
- isPending: { type: Boolean }
242
- },
243
- setup(__props) {
244
- const props = __props;
245
- const { $t } = useIntl();
246
- const isEmpty = computed(() => props.selectedPricings.length === 0);
247
- const getPrice = (pricing) => {
248
- var _a, _b, _c, _d, _e, _f;
249
- return (_f = (_e = (_d = (_c = (_b = (_a = pricing.items) == null ? void 0 : _a[0]) == null ? void 0 : _b.configs) == null ? void 0 : _c[0]) == null ? void 0 : _d.bands) == null ? void 0 : _e[0]) == null ? void 0 : _f.fixed_amount;
250
- };
251
- return (_ctx, _cache) => {
252
- return openBlock(), createBlock(unref(_sfc_main$1g), null, {
253
- default: withCtx(() => {
254
- var _a;
255
- return [
256
- createVNode(unref(_sfc_main$2$1), {
257
- variant: "heading-3",
258
- tag: "h2",
259
- class: "mb-3"
260
- }, {
261
- default: withCtx(() => [
262
- createTextVNode(toDisplayString(unref($t)({
263
- defaultMessage: "Order summary",
264
- id: "upgrade_subscription.order_summary.title",
265
- description: "Title for the order summary section on the upgrade subscription page"
266
- })), 1)
267
- ]),
268
- _: 1
269
- }),
270
- isEmpty.value ? (openBlock(), createBlock(unref(_sfc_main$2$1), {
271
- key: 0,
272
- variant: "body-sm",
273
- shade: "lighter"
274
- }, {
275
- default: withCtx(() => [
276
- createTextVNode(toDisplayString(unref($t)({
277
- defaultMessage: "Select add-ons to see pricing.",
278
- id: "upgrade_subscription.order_summary.empty_state",
279
- description: "Placeholder shown when no add-ons are selected in the order summary"
280
- })), 1)
281
- ]),
282
- _: 1
283
- })) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
284
- createElementVNode("div", _hoisted_1$3, [
285
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.selectedPricings, (pricing) => {
286
- return openBlock(), createElementBlock("div", {
287
- key: pricing.id,
288
- class: "flex items-center justify-between"
289
- }, [
290
- createElementVNode("div", null, [
291
- createVNode(unref(_sfc_main$2$1), { variant: "body-sm" }, {
292
- default: withCtx(() => {
293
- var _a2, _b;
294
- return [
295
- createTextVNode(toDisplayString(pricing.name ?? ((_b = (_a2 = pricing.products) == null ? void 0 : _a2[0]) == null ? void 0 : _b.name)), 1)
296
- ];
297
- }),
298
- _: 2
299
- }, 1024),
300
- createVNode(unref(_sfc_main$2$1), {
301
- variant: "body-xs",
302
- shade: "lighter"
303
- }, {
304
- default: withCtx(() => [
305
- createTextVNode(toDisplayString(unref($t)({
306
- defaultMessage: "one-off",
307
- id: "upgrade_subscription.order_summary.one_off_label",
308
- description: "One-off payment label next to a line item in order summary"
309
- })), 1)
310
- ]),
311
- _: 1
312
- })
313
- ]),
314
- getPrice(pricing) ? (openBlock(), createBlock(unref(_sfc_main$2$1), {
315
- key: 0,
316
- variant: "body-sm"
317
- }, {
318
- default: withCtx(() => [
319
- createTextVNode(toDisplayString(unref(formatAmount)(getPrice(pricing))), 1)
320
- ]),
321
- _: 2
322
- }, 1024)) : createCommentVNode("", true)
323
- ]);
324
- }), 128))
325
- ]),
326
- ((_a = __props.invoice) == null ? void 0 : _a.tax_summary) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
327
- createElementVNode("div", _hoisted_2$2, [
328
- createElementVNode("div", _hoisted_3$1, [
329
- createVNode(unref(_sfc_main$2$1), {
330
- variant: "body-sm",
331
- shade: "lighter"
332
- }, {
333
- default: withCtx(() => [
334
- createTextVNode(toDisplayString(unref($t)({
335
- defaultMessage: "Total excluding taxes",
336
- id: "upgrade_subscription.order_summary.subtotal_label",
337
- description: "Subtotal before tax label in order summary"
338
- })), 1)
339
- ]),
340
- _: 1
341
- }),
342
- createVNode(unref(_sfc_main$2$1), { variant: "body-sm" }, {
343
- default: withCtx(() => [
344
- createTextVNode(toDisplayString(unref(formatAmount)(__props.invoice.tax_summary.base_amount)), 1)
345
- ]),
346
- _: 1
347
- })
348
- ]),
349
- createElementVNode("div", _hoisted_4$1, [
350
- createVNode(unref(_sfc_main$2$1), {
351
- variant: "body-sm",
352
- shade: "lighter"
353
- }, {
354
- default: withCtx(() => [
355
- createTextVNode(toDisplayString(unref($t)({
356
- defaultMessage: "Taxes",
357
- id: "upgrade_subscription.order_summary.taxes_label",
358
- description: "Tax amount label in order summary"
359
- })), 1)
360
- ]),
361
- _: 1
362
- }),
363
- createVNode(unref(_sfc_main$2$1), { variant: "body-sm" }, {
364
- default: withCtx(() => [
365
- createTextVNode(toDisplayString(unref(formatAmount)(__props.invoice.tax_summary.tax_amount)), 1)
366
- ]),
367
- _: 1
368
- })
369
- ])
370
- ]),
371
- createElementVNode("div", _hoisted_5$1, [
372
- createVNode(unref(_sfc_main$2$1), {
373
- variant: "body-sm",
374
- weight: "semibold"
375
- }, {
376
- default: withCtx(() => [
377
- createTextVNode(toDisplayString(unref($t)({
378
- defaultMessage: "Total due today",
379
- id: "upgrade_subscription.order_summary.total_label",
380
- description: "Total amount due today label in order summary"
381
- })), 1)
382
- ]),
383
- _: 1
384
- }),
385
- createVNode(unref(_sfc_main$2$1), {
386
- variant: "body-sm",
387
- weight: "semibold"
388
- }, {
389
- default: withCtx(() => [
390
- createTextVNode(toDisplayString(unref(formatAmount)(__props.invoice.tax_summary.total_amount)), 1)
391
- ]),
392
- _: 1
393
- })
394
- ])
395
- ], 64)) : createCommentVNode("", true)
396
- ], 64))
397
- ];
398
- }),
399
- _: 1
400
- });
401
- };
402
- }
403
- });
404
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
405
- __name: "OnDemandPricingRow",
406
- props: {
407
- pricing: { type: Object },
408
- selected: { type: Boolean }
409
- },
410
- emits: ["toggle"],
411
- setup(__props, { emit: __emit }) {
412
- const props = __props;
413
- const emit = __emit;
414
- const { $t } = useIntl();
415
- const title = computed(() => {
416
- var _a, _b;
417
- return props.pricing.name ?? ((_b = (_a = props.pricing.products) == null ? void 0 : _a[0]) == null ? void 0 : _b.name) ?? "—";
418
- });
419
- const price = computed(() => {
420
- var _a, _b, _c, _d, _e, _f;
421
- return (_f = (_e = (_d = (_c = (_b = (_a = props.pricing.items) == null ? void 0 : _a[0]) == null ? void 0 : _b.configs) == null ? void 0 : _c[0]) == null ? void 0 : _d.bands) == null ? void 0 : _e[0]) == null ? void 0 : _f.fixed_amount;
422
- });
423
- const description = computed(
424
- () => price.value ? `${formatAmount(price.value)} ${$t({
425
- defaultMessage: "one-off",
426
- id: "on_demand_pricing_row.one_off_label",
427
- description: "One-off label shown next to the price in an on-demand pricing row"
428
- })}` : ""
429
- );
430
- return (_ctx, _cache) => {
431
- return openBlock(), createBlock(unref(_sfc_main$1g), {
432
- "content-background": __props.selected ? "none" : "gray",
433
- class: normalizeClass({ "!bg-white": __props.selected })
434
- }, {
435
- default: withCtx(() => [
436
- createVNode(_sfc_main$6, {
437
- name: title.value,
438
- description: description.value
439
- }, {
440
- default: withCtx(() => [
441
- __props.selected ? (openBlock(), createBlock(unref(_sfc_main$2H), {
442
- key: 0,
443
- color: "gray",
444
- variant: "outline",
445
- size: "sm",
446
- "icon-prefix": "remove_shopping_cart",
447
- onClick: _cache[0] || (_cache[0] = ($event) => emit("toggle", __props.pricing.id))
448
- }, {
449
- default: withCtx(() => [
450
- createTextVNode(toDisplayString(unref($t)({
451
- defaultMessage: "Remove",
452
- id: "on_demand_pricing_row.remove_button_label",
453
- description: "Label for the remove button in an on-demand pricing row"
454
- })), 1)
455
- ]),
456
- _: 1
457
- })) : (openBlock(), createBlock(unref(_sfc_main$2H), {
458
- key: 1,
459
- color: "primary",
460
- size: "sm",
461
- "icon-prefix": "add",
462
- onClick: _cache[1] || (_cache[1] = ($event) => emit("toggle", __props.pricing.id))
463
- }, {
464
- default: withCtx(() => [
465
- createTextVNode(toDisplayString(unref($t)({
466
- defaultMessage: "Add to cart",
467
- id: "on_demand_pricing_row.add_to_cart_button_label",
468
- description: "Label for the add to cart button in an on-demand pricing row"
469
- })), 1)
470
- ]),
471
- _: 1
472
- }))
473
- ]),
474
- _: 1
475
- }, 8, ["name", "description"])
476
- ]),
477
- _: 1
478
- }, 8, ["content-background", "class"]);
479
- };
480
- }
481
- });
482
- const _hoisted_1$2 = { class: "grid grid-cols-1 gap-1" };
483
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
484
- __name: "OnDemandPricingList",
485
- props: {
486
- categories: { type: Array },
487
- selectedPricingIds: { type: Array }
488
- },
489
- emits: ["toggle"],
490
- setup(__props, { emit: __emit }) {
491
- const props = __props;
492
- const emit = __emit;
493
- const sortedCategories = computed(
494
- () => [...props.categories].sort((a, b) => (a.display_order ?? 0) - (b.display_order ?? 0))
495
- );
496
- return (_ctx, _cache) => {
497
- return openBlock(true), createElementBlock(Fragment, null, renderList(sortedCategories.value, (category) => {
498
- return openBlock(), createElementBlock("div", {
499
- key: category.id ?? category.display_order,
500
- class: "flex flex-col gap-2"
501
- }, [
502
- createVNode(unref(_sfc_main$2$1), {
503
- variant: "heading-3",
504
- tag: "h2"
505
- }, {
506
- default: withCtx(() => {
507
- var _a;
508
- return [
509
- createTextVNode(toDisplayString(((_a = category.product_category) == null ? void 0 : _a.name) ?? category.name), 1)
510
- ];
511
- }),
512
- _: 2
513
- }, 1024),
514
- createElementVNode("div", _hoisted_1$2, [
515
- (openBlock(true), createElementBlock(Fragment, null, renderList(category.pricings, (pricing) => {
516
- return openBlock(), createBlock(_sfc_main$4, {
517
- key: pricing.id,
518
- pricing,
519
- selected: __props.selectedPricingIds.includes(pricing.id),
520
- onToggle: _cache[0] || (_cache[0] = ($event) => emit("toggle", $event))
521
- }, null, 8, ["pricing", "selected"]);
522
- }), 128)),
523
- (openBlock(true), createElementBlock(Fragment, null, renderList(category.pricing_groups, (group) => {
524
- return openBlock(), createElementBlock(Fragment, {
525
- key: group.id
526
- }, [
527
- createVNode(unref(_sfc_main$2$1), {
528
- variant: "body-sm",
529
- weight: "semibold",
530
- class: "mt-2"
531
- }, {
532
- default: withCtx(() => [
533
- createTextVNode(toDisplayString(group.name), 1)
534
- ]),
535
- _: 2
536
- }, 1024),
537
- (openBlock(true), createElementBlock(Fragment, null, renderList(group.pricings, (pricing) => {
538
- return openBlock(), createBlock(_sfc_main$4, {
539
- key: pricing.id,
540
- pricing,
541
- selected: __props.selectedPricingIds.includes(pricing.id),
542
- onToggle: _cache[1] || (_cache[1] = ($event) => emit("toggle", $event))
543
- }, null, 8, ["pricing", "selected"]);
544
- }), 128))
545
- ], 64);
546
- }), 128))
547
- ])
548
- ]);
549
- }), 128);
550
- };
551
- }
552
- });
553
- const _hoisted_1$1 = { class: "flex flex-col gap-4" };
554
- const _hoisted_2$1 = {
555
- key: 0,
556
- class: "flex flex-col gap-2"
557
- };
558
- const _hoisted_3 = { class: "flex flex-col gap-1" };
559
- const _hoisted_4 = {
560
- key: 1,
561
- class: "flex flex-col gap-2"
562
- };
563
- const _hoisted_5 = { class: "flex flex-col gap-1" };
564
- const _hoisted_6 = { class: "flex items-center gap-3" };
565
- const _hoisted_7 = {
566
- key: 0,
567
- class: "flex h-9 w-9 shrink-0 items-center gap-0.5"
568
- };
569
- const _hoisted_8 = ["src", "alt"];
570
- const _hoisted_9 = {
571
- key: 1,
572
- class: "flex h-9 w-9 shrink-0 items-center justify-center overflow-clip rounded"
573
- };
574
- const _hoisted_10 = ["src", "alt"];
575
- const _hoisted_11 = {
576
- key: 2,
577
- class: "flex flex-col gap-1"
578
- };
579
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
580
- __name: "PaymentMethodPicker",
581
- props: {
582
- customerId: { type: String },
583
- subscriptionId: { type: String },
584
- selectedId: { type: String }
585
- },
586
- emits: ["select"],
587
- setup(__props, { emit: __emit }) {
588
- const props = __props;
589
- const emit = __emit;
590
- const { $t } = useIntl();
591
- const { getPaymentMethods } = createPaymentMethodsService();
592
- const savedMethods = ref([]);
593
- const paymentMethodOptions = ref([]);
594
- const isPending = ref(false);
595
- const newOptions = computed(
596
- () => paymentMethodOptions.value.flatMap((entry) => entry.options ?? [])
597
- );
598
- const adyenLogoUrl = (type) => `https://checkoutshopper-live.adyen.com/checkoutshopper/images/logos/${type}.svg`;
599
- const adyenBrandLogoUrl = (brand) => `https://checkoutshopper-live.adyen.com/checkoutshopper/images/logos/small/${brand}.svg`;
600
- const PREFERRED_BRANDS = ["visa", "mc", "amex", "maestro"];
601
- const displayBrands = (brands) => {
602
- if (!brands) return [];
603
- const preferred = PREFERRED_BRANDS.filter((b) => brands.includes(b));
604
- const rest = brands.filter((b) => !PREFERRED_BRANDS.includes(b));
605
- return [...preferred, ...rest].slice(0, 4);
606
- };
607
- onMounted(async () => {
608
- isPending.value = true;
609
- try {
610
- const savedResponse = await getPaymentMethods({
611
- customerId: props.customerId,
612
- pagination: { page: 1, pageSize: 50 }
613
- });
614
- savedMethods.value = savedResponse.data;
615
- paymentMethodOptions.value = getMockPaymentMethodOptionsResponse();
616
- } finally {
617
- isPending.value = false;
618
- }
619
- });
620
- return (_ctx, _cache) => {
621
- return openBlock(), createElementBlock("div", _hoisted_1$1, [
622
- savedMethods.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
623
- createVNode(unref(_sfc_main$2$1), {
624
- variant: "heading-3",
625
- tag: "h2"
626
- }, {
627
- default: withCtx(() => [
628
- createTextVNode(toDisplayString(unref($t)({
629
- defaultMessage: "Saved payment methods",
630
- id: "upgrade_subscription.payment_picker.saved_title",
631
- description: "Heading for the saved payment methods section in the upgrade subscription payment picker"
632
- })), 1)
633
- ]),
634
- _: 1
635
- }),
636
- createElementVNode("div", _hoisted_3, [
637
- (openBlock(true), createElementBlock(Fragment, null, renderList(savedMethods.value, (method) => {
638
- return openBlock(), createBlock(unref(_sfc_main$1g), {
639
- key: method.id,
640
- "content-background": __props.selectedId === method.id ? "none" : "gray",
641
- class: normalizeClass([{ "!bg-white": __props.selectedId === method.id }, "cursor-pointer"]),
642
- onClick: ($event) => emit("select", method.id)
643
- }, {
644
- default: withCtx(() => [
645
- createVNode(unref(_sfc_main$7), { "payment-method": method }, null, 8, ["payment-method"])
646
- ]),
647
- _: 2
648
- }, 1032, ["content-background", "class", "onClick"]);
649
- }), 128))
650
- ])
651
- ])) : createCommentVNode("", true),
652
- newOptions.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_4, [
653
- createVNode(unref(_sfc_main$2$1), {
654
- variant: "heading-3",
655
- tag: "h2"
656
- }, {
657
- default: withCtx(() => [
658
- createTextVNode(toDisplayString(unref($t)({
659
- defaultMessage: "All payment methods",
660
- id: "upgrade_subscription.payment_picker.all_title",
661
- description: "Heading for the all payment methods section in the upgrade subscription payment picker"
662
- })), 1)
663
- ]),
664
- _: 1
665
- }),
666
- createElementVNode("div", _hoisted_5, [
667
- (openBlock(true), createElementBlock(Fragment, null, renderList(newOptions.value, (option) => {
668
- return openBlock(), createBlock(unref(_sfc_main$1g), {
669
- key: option.adyen.type,
670
- "content-background": __props.selectedId === option.adyen.type ? "none" : "gray",
671
- class: normalizeClass([{ "!bg-white": __props.selectedId === option.adyen.type }, "cursor-pointer"]),
672
- onClick: ($event) => emit("select", option.adyen.type)
673
- }, {
674
- default: withCtx(() => [
675
- createElementVNode("div", _hoisted_6, [
676
- option.adyen.type === "scheme" ? (openBlock(), createElementBlock("div", _hoisted_7, [
677
- (openBlock(true), createElementBlock(Fragment, null, renderList(displayBrands(option.adyen.brands), (brand) => {
678
- return openBlock(), createElementBlock("img", {
679
- key: brand,
680
- src: adyenBrandLogoUrl(brand),
681
- alt: brand,
682
- class: "h-5 w-auto rounded"
683
- }, null, 8, _hoisted_8);
684
- }), 128))
685
- ])) : (openBlock(), createElementBlock("div", _hoisted_9, [
686
- createElementVNode("img", {
687
- src: adyenLogoUrl(option.adyen.type),
688
- alt: option.name,
689
- class: "h-9 w-9 object-contain"
690
- }, null, 8, _hoisted_10)
691
- ])),
692
- createVNode(unref(_sfc_main$2$1), { variant: "body-sm" }, {
693
- default: withCtx(() => [
694
- createTextVNode(toDisplayString(option.name), 1)
695
- ]),
696
- _: 2
697
- }, 1024)
698
- ])
699
- ]),
700
- _: 2
701
- }, 1032, ["content-background", "class", "onClick"]);
702
- }), 128))
703
- ])
704
- ])) : createCommentVNode("", true),
705
- isPending.value ? (openBlock(), createElementBlock("div", _hoisted_11, [..._cache[0] || (_cache[0] = [
706
- createElementVNode("div", { class: "h-[52px] animate-pulse rounded-md bg-gray-100" }, null, -1),
707
- createElementVNode("div", { class: "h-[52px] animate-pulse rounded-md bg-gray-100" }, null, -1),
708
- createElementVNode("div", { class: "h-[52px] animate-pulse rounded-md bg-gray-100" }, null, -1)
709
- ])])) : createCommentVNode("", true)
710
- ]);
711
- };
712
- }
713
- });
714
- function createPricingPlanSchedulesService() {
715
- const request = createRequestService();
716
- const config = useConfig();
717
- function chargeOnDemandPricingItems({
718
- scheduleId,
719
- pricingPlanVersionId,
720
- pricingItemIds,
721
- startAt,
722
- finalizeImmediately = true,
723
- paymentMethodId
724
- }) {
725
- return request({
726
- url: `${config.apiUrls.config}/portal/pricing-plan-schedules/${scheduleId}/charge-on-demand-pricing-items`,
727
- options: { method: "POST" },
728
- data: {
729
- ...pricingPlanVersionId ? { pricing_plan_version_id: pricingPlanVersionId } : {},
730
- pricing_item_ids: pricingItemIds,
731
- ...startAt ? { start_at: startAt } : {},
732
- finalize_immediately: finalizeImmediately,
733
- ...paymentMethodId ? { payment_method_id: paymentMethodId } : {}
734
- }
735
- });
736
- }
737
- return { chargeOnDemandPricingItems };
738
- }
739
- const _hoisted_1 = {
740
- key: 0,
741
- class: "flex h-full items-center justify-center p-8"
742
- };
743
- const _hoisted_2 = { class: "flex flex-col items-center py-10" };
744
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
745
- __name: "UpgradeSubscription",
746
- props: {
747
- configuration: { type: Object }
748
- },
749
- setup(__props) {
750
- const props = __props;
751
- const { $t } = useIntl();
752
- const { dispatchAction } = useActionDispatchProvider();
753
- const { chargeOnDemandPricingItems } = createPricingPlanSchedulesService();
754
- const portal = usePortal();
755
- const customerId = computed(() => portal.value.customer_id);
756
- const selectedPricingIds = ref([]);
757
- const selectedPaymentMethodId = ref(void 0);
758
- const isPurchasePending = ref(false);
759
- const isPurchased = ref(false);
760
- const previewInvoice = ref(void 0);
761
- const isPreviewPending = ref(false);
762
- const mockResponse = computed(
763
- () => getMockOnDemandPricingItemsResponse(props.configuration.subscriptionId)
764
- );
765
- const categories = computed(() => mockResponse.value.pricing_categories);
766
- const allOnDemandPricings = computed(
767
- () => categories.value.flatMap((cat) => [
768
- ...cat.pricings ?? [],
769
- ...(cat.pricing_groups ?? []).flatMap((g) => g.pricings ?? [])
770
- ])
771
- );
772
- const selectedPricings = computed(
773
- () => allOnDemandPricings.value.filter((p) => selectedPricingIds.value.includes(p.id))
774
- );
775
- let previewTimer;
776
- watch(selectedPricingIds, (ids) => {
777
- clearTimeout(previewTimer);
778
- if (ids.length === 0) {
779
- previewInvoice.value = void 0;
780
- isPreviewPending.value = false;
781
- return;
782
- }
783
- isPreviewPending.value = true;
784
- previewTimer = setTimeout(() => {
785
- previewInvoice.value = getMockPreviewResponse(ids).invoice;
786
- isPreviewPending.value = false;
787
- }, 400);
788
- });
789
- const handleToggle = (pricingId) => {
790
- if (selectedPricingIds.value.includes(pricingId)) {
791
- selectedPricingIds.value = selectedPricingIds.value.filter((id) => id !== pricingId);
792
- } else {
793
- selectedPricingIds.value = [...selectedPricingIds.value, pricingId];
794
- }
795
- };
796
- const canPurchase = computed(
797
- () => selectedPricingIds.value.length > 0 && !!selectedPaymentMethodId.value
798
- );
799
- const purchaseError = ref(void 0);
800
- const isSavedPaymentMethod = (id) => id.startsWith("pmet_");
801
- const handlePurchase = async () => {
802
- if (!canPurchase.value) return;
803
- isPurchasePending.value = true;
804
- purchaseError.value = void 0;
805
- try {
806
- const pricingItemIds = selectedPricings.value.map((p) => {
807
- var _a, _b;
808
- return (_b = (_a = p.items) == null ? void 0 : _a[0]) == null ? void 0 : _b.id;
809
- }).filter((id) => !!id);
810
- const savedMethodId = selectedPaymentMethodId.value && isSavedPaymentMethod(selectedPaymentMethodId.value) ? selectedPaymentMethodId.value : void 0;
811
- const invoice = await chargeOnDemandPricingItems({
812
- scheduleId: mockResponse.value.pricing_plan_schedule_id,
813
- pricingPlanVersionId: mockResponse.value.pricing_plan_version_id,
814
- pricingItemIds,
815
- finalizeImmediately: true,
816
- paymentMethodId: savedMethodId
817
- });
818
- if (savedMethodId) {
819
- isPurchased.value = true;
820
- } else {
821
- dispatchAction({ action: "pay-invoice", data: { invoiceId: invoice.id } });
822
- }
823
- } catch {
824
- purchaseError.value = $t({
825
- defaultMessage: "Something went wrong. Please try again.",
826
- id: "upgrade_subscription.purchase_error",
827
- description: "Error message shown when the purchase call fails on the upgrade subscription page"
828
- });
829
- } finally {
830
- isPurchasePending.value = false;
831
- }
832
- };
833
- return (_ctx, _cache) => {
834
- return isPurchased.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
835
- createVNode(unref(_sfc_main$1g), null, {
836
- default: withCtx(() => [
837
- createElementVNode("div", _hoisted_2, [
838
- createVNode(unref(_sfc_main$4$1), {
839
- icon: "check_circle",
840
- class: "text-green-400",
841
- size: "lg"
842
- }),
843
- createVNode(unref(_sfc_main$2$1), {
844
- variant: "heading-3",
845
- tag: "span",
846
- class: "mt-2"
847
- }, {
848
- default: withCtx(() => [
849
- createTextVNode(toDisplayString(unref($t)({
850
- defaultMessage: "Payment successful",
851
- id: "upgrade_subscription.success.title",
852
- description: "Title shown after a successful add-on purchase"
853
- })), 1)
854
- ]),
855
- _: 1
856
- }),
857
- createVNode(unref(_sfc_main$2$1), {
858
- variant: "body-sm",
859
- shade: "lighter",
860
- tag: "span",
861
- class: "mt-1"
862
- }, {
863
- default: withCtx(() => [
864
- createTextVNode(toDisplayString(unref($t)({
865
- defaultMessage: "Your add-ons have been activated.",
866
- id: "upgrade_subscription.success.subtitle",
867
- description: "Subtitle shown after a successful add-on purchase"
868
- })), 1)
869
- ]),
870
- _: 1
871
- })
872
- ])
873
- ]),
874
- _: 1
875
- })
876
- ])) : (openBlock(), createBlock(unref(ContentWithAsideLayout), { key: 1 }, {
877
- content: withCtx(() => [
878
- categories.value.length > 0 ? (openBlock(), createBlock(_sfc_main$3, {
879
- key: 0,
880
- categories: categories.value,
881
- "selected-pricing-ids": selectedPricingIds.value,
882
- onToggle: handleToggle
883
- }, null, 8, ["categories", "selected-pricing-ids"])) : (openBlock(), createBlock(unref(_sfc_main$2$1), {
884
- key: 1,
885
- variant: "body-sm",
886
- shade: "lighter",
887
- class: "p-4"
888
- }, {
889
- default: withCtx(() => [
890
- createTextVNode(toDisplayString(unref($t)({
891
- defaultMessage: "No on-demand add-ons are available for this subscription.",
892
- id: "upgrade_subscription.empty_state",
893
- description: "Shown when there are no on-demand add-ons available for the subscription"
894
- })), 1)
895
- ]),
896
- _: 1
897
- })),
898
- createVNode(unref(_sfc_main$2p), { spacing: "sm" }),
899
- createVNode(_sfc_main$2, {
900
- "customer-id": customerId.value,
901
- "subscription-id": __props.configuration.subscriptionId,
902
- "selected-id": selectedPaymentMethodId.value,
903
- onSelect: _cache[0] || (_cache[0] = ($event) => selectedPaymentMethodId.value = $event)
904
- }, null, 8, ["customer-id", "subscription-id", "selected-id"])
905
- ]),
906
- aside: withCtx(() => [
907
- createVNode(_sfc_main$5, {
908
- "selected-pricings": selectedPricings.value,
909
- invoice: previewInvoice.value,
910
- "is-pending": isPreviewPending.value
911
- }, null, 8, ["selected-pricings", "invoice", "is-pending"]),
912
- purchaseError.value ? (openBlock(), createBlock(unref(_sfc_main$16), {
913
- key: 0,
914
- title: purchaseError.value
915
- }, null, 8, ["title"])) : createCommentVNode("", true),
916
- createVNode(unref(_sfc_main$2H), {
917
- size: "lg",
918
- class: "full-width",
919
- type: "button",
920
- disabled: !canPurchase.value || isPurchasePending.value,
921
- loading: isPurchasePending.value,
922
- onClick: handlePurchase
923
- }, {
924
- default: withCtx(() => [
925
- createTextVNode(toDisplayString(unref($t)({
926
- defaultMessage: "Purchase",
927
- id: "upgrade_subscription.purchase_button.label",
928
- description: "Label for the purchase button on the upgrade subscription page"
929
- })), 1)
930
- ]),
931
- _: 1
932
- }, 8, ["disabled", "loading"]),
933
- createVNode(unref(_sfc_main$2$1), {
934
- tag: "div",
935
- variant: "body-sm",
936
- shade: "lighter",
937
- class: "flex grow justify-center"
938
- }, {
939
- default: withCtx(() => [
940
- createVNode(_sfc_main$8, {
941
- icon: "lock",
942
- kpi: unref($t)({
943
- defaultMessage: "Secure and encrypted payments",
944
- id: "upgrade_subscription.kpi.encrypted_payments.label",
945
- description: "The encrypted payments KPI shown on the upgrade subscription page"
946
- })
947
- }, null, 8, ["kpi"])
948
- ]),
949
- _: 1
950
- })
951
- ]),
952
- _: 1
953
- }));
954
- };
955
- }
956
- });
957
- const _sfc_main = /* @__PURE__ */ defineComponent({
958
- __name: "UpgradeSubscription.entry",
959
- props: {
960
- environment: { type: String },
961
- locale: { type: String },
962
- dateLocale: { type: String },
963
- messages: { type: Object },
964
- showTimezones: { type: Boolean },
965
- primaryColor: { type: String },
966
- secondaryColor: { type: String },
967
- isShadowRoot: { type: Boolean },
968
- experimentalFeatures: { type: Array },
969
- logLevel: { type: String },
970
- onLog: { type: Function },
971
- allowedPortalTypes: { type: Array },
972
- portalObject: { type: Object },
973
- customElementName: { type: String },
974
- branding: { type: Object },
975
- configuration: { type: Object }
976
- },
977
- setup(__props) {
978
- return (_ctx, _cache) => {
979
- var _a, _b, _c, _d;
980
- return openBlock(), createBlock(_sfc_main$9, {
981
- "custom-element-name": unref(COMPONENT_NAME),
982
- environment: __props.environment,
983
- locale: __props.locale,
984
- "portal-object": __props.portalObject,
985
- "allowed-portal-types": ["CUSTOMER"],
986
- "primary-color": (_b = (_a = __props.branding) == null ? void 0 : _a.colors) == null ? void 0 : _b.primary,
987
- "secondary-color": (_d = (_c = __props.branding) == null ? void 0 : _c.colors) == null ? void 0 : _d.secondary,
988
- "experimental-features": __props.experimentalFeatures,
989
- "log-level": __props.logLevel,
990
- "on-log": __props.onLog,
991
- onError: _cache[0] || (_cache[0] = (error) => _ctx.$emit("error", error))
992
- }, {
993
- default: withCtx(() => [
994
- createVNode(_sfc_main$1, { configuration: __props.configuration }, null, 8, ["configuration"])
995
- ]),
996
- _: 1
997
- }, 8, ["custom-element-name", "environment", "locale", "portal-object", "primary-color", "secondary-color", "experimental-features", "log-level", "on-log"]);
998
- };
999
- }
1000
- });
1001
- const SolvimonUpgradeSubscription = defineCustomElement(_sfc_main);
1002
- const COMPONENT_NAME = getComponentName("upgrade-subscription");
1003
- const defineSolvimonUpgradeSubscription = () => {
1004
- if (!customElements.get(COMPONENT_NAME)) {
1005
- customElements.define(COMPONENT_NAME, SolvimonUpgradeSubscription);
1006
- }
1007
- };
1008
- export {
1009
- COMPONENT_NAME,
1010
- SolvimonUpgradeSubscription,
1011
- defineSolvimonUpgradeSubscription
1012
- };