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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (636) hide show
  1. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Co3XAxaY.js +1 -0
  2. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DFv-awxb.mjs +223 -0
  3. package/dist/Amount.vue.es-DExaYBqm.js +1 -0
  4. package/dist/Amount.vue.es-DPqHB8Xd.mjs +22 -0
  5. package/dist/Avatar.vue.es-D42J_izE.js +1 -0
  6. package/dist/Avatar.vue.es-DNJ-jexx.mjs +81 -0
  7. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BEVkWJXT.js +1 -0
  8. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-D1uVidXk.mjs +60 -0
  9. package/dist/Button.vue.es-Dz-2L8dJ.mjs +368 -0
  10. package/dist/Button.vue.es-M_jXZda4.js +1 -0
  11. package/dist/Checkout.entry.ce-B5-0AM67.mjs +3747 -0
  12. package/dist/Checkout.entry.ce-C52gkrNZ.js +1 -0
  13. package/dist/Chip.vue.es-DMK9C78d.mjs +114 -0
  14. package/dist/Chip.vue.es-G8doKsZb.js +1 -0
  15. package/dist/Comparators.vue.es-CwhX3rbx.mjs +93 -0
  16. package/dist/Comparators.vue.es-DmkxV0gb.js +1 -0
  17. package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
  18. package/dist/ContentWithAsideLayout-C6yMIVJF.js +1 -0
  19. package/dist/ContextMenu.vue.es-B3Rz6Ojk.js +1 -0
  20. package/dist/ContextMenu.vue.es-CzkkNoJG.mjs +573 -0
  21. package/dist/CustomerBillingInformation.vue.es-BmtU9Pk0.js +1 -0
  22. package/dist/CustomerBillingInformation.vue.es-Db6bN2RZ.mjs +153 -0
  23. package/dist/CustomerPaymentMethods.lib-B_753rau.mjs +4 -0
  24. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BGHaTx1A.js +1 -0
  25. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-fESZVyPe.mjs +140 -0
  26. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-Cnlbp0om.js +1 -0
  27. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DdMHG1_Y.mjs +2684 -0
  28. package/dist/Divider.vue.es-DnP_HqLz.mjs +22 -0
  29. package/dist/Divider.vue.es-UwnWvUTl.js +1 -0
  30. package/dist/DividerText.vue.es-D-QxT2OD.js +1 -0
  31. package/dist/DividerText.vue.es-IK2fns6f.mjs +56 -0
  32. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CM_8Asmw.js +1 -0
  33. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-lhJnqrrh.mjs +335 -0
  34. package/dist/ErrorNotification.vue.es-BGckEwHf.mjs +31 -0
  35. package/dist/ErrorNotification.vue.es-Cd2UKPAz.js +1 -0
  36. package/dist/Expand.vue.es-BleuAfDz.mjs +32 -0
  37. package/dist/Expand.vue.es-BtM0EZEr.js +1 -0
  38. package/dist/FormMessage.vue.es-dqATjC2N.js +1 -0
  39. package/dist/FormMessage.vue.es-jG3fQZms.mjs +29 -0
  40. package/dist/IconButton.vue.es-BTAkuFsm.js +1 -0
  41. package/dist/IconButton.vue.es-C4dQEQAc.mjs +198 -0
  42. package/dist/IconTitle.vue.es-BmX68uJx.mjs +103 -0
  43. package/dist/IconTitle.vue.es-CmR2xoeu.js +1 -0
  44. package/dist/Input.vue.es-BGPELaZU.mjs +235 -0
  45. package/dist/Input.vue.es-CTOrmrcB.js +1 -0
  46. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CMEOOuSU.mjs +92 -0
  47. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-bheNAKzK.js +1 -0
  48. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-Xo9BR6AD.js +1 -0
  49. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-avhwysNq.mjs +41 -0
  50. package/dist/InvoiceSummary.vue.es-BWLiwlNs.mjs +2585 -0
  51. package/dist/InvoiceSummary.vue.es-hpG8Tq1D.js +1 -0
  52. package/dist/Modal.vue.es-BD4vUaOQ.js +1 -0
  53. package/dist/Modal.vue.es-B_G8NQS2.mjs +387 -0
  54. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BnilyGBO.mjs +144 -0
  55. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-CSv-Luvz.js +1 -0
  56. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DIJbzWMV.js +1 -0
  57. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DuorCFo9.mjs +51 -0
  58. package/dist/PaymentHistoryBlock-ComJzB3H.mjs +4 -0
  59. package/dist/{PaymentHistoryBlock-Ci8aSJeb.js → PaymentHistoryBlock-DSHW_eW1.js} +1 -1
  60. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DUN0Hf2v.js +1 -0
  61. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-hjtksV2D.mjs +93 -0
  62. package/dist/PaymentIntegrationForm-CH5B6BY5.mjs +4 -0
  63. package/dist/{PaymentIntegrationForm-CsuueDE0.js → PaymentIntegrationForm-CwfCLnKt.js} +1 -1
  64. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BqYk4_T9.mjs +138 -0
  65. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DzSQC951.js +1 -0
  66. package/dist/PaymentIntegrationFormAdyen-DfN7cPYZ.mjs +621 -0
  67. package/dist/PaymentIntegrationFormAdyen-Q48aDXR7.js +98 -0
  68. package/dist/PaymentIntegrationFormStripe-BSEqarl7.js +102 -0
  69. package/dist/PaymentIntegrationFormStripe-CBsXDuhy.mjs +488 -0
  70. package/dist/PaymentMethod.vue.es-D18g-QB4.js +1 -0
  71. package/dist/PaymentMethod.vue.es-DkQdPXfk.mjs +623 -0
  72. package/dist/PaymentMethodForm-CpIZKfPH.mjs +4 -0
  73. package/dist/{PaymentMethodForm-hZuVHAti.js → PaymentMethodForm-DK8ntFA0.js} +1 -1
  74. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-C1tGJsay.mjs +167 -0
  75. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-D7fDguwa.js +1 -0
  76. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-C6BcIkEV.mjs +169 -0
  77. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-H3vrPllf.js +1 -0
  78. package/dist/PlanCustomizationEditor-0zCXN-cv.mjs +877 -0
  79. package/dist/PlanCustomizationEditor-XpofGULc.js +1 -0
  80. package/dist/PricingGroupRangeInput.vue.es-8_5nfZDI.mjs +627 -0
  81. package/dist/PricingGroupRangeInput.vue.es-QnpfHxaY.js +185 -0
  82. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CGJhKKNL.js +1 -0
  83. package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-t6h1j6WD.mjs +131 -0
  84. package/dist/RadioGroupExtended.vue.es-C92xlCFQ.mjs +163 -0
  85. package/dist/RadioGroupExtended.vue.es-Cb1iD73r.js +1 -0
  86. package/dist/Section.vue.es-Btff-cLY.js +1 -0
  87. package/dist/Section.vue.es-DQ5H7mqW.mjs +72 -0
  88. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BfvX14E3.js +1 -0
  89. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DKsunuGT.mjs +687 -0
  90. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs +51 -0
  91. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js +1 -0
  92. package/dist/SubscriptionSchedules-Dc0rUnnf.mjs +4 -0
  93. package/dist/SubscriptionSchedules-pzNsego6.js +1 -0
  94. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Brs9qDs5.mjs +5291 -0
  95. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-nmVRb6hj.js +1 -0
  96. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-C1mkIPMr.mjs +91 -0
  97. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-s5_uhyuB.js +1 -0
  98. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-CFmCJK8M.js +1 -0
  99. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-DSoNs7Xx.mjs +284 -0
  100. package/dist/TooltipParagraph.vue.es-BaqCDjl8.js +1 -0
  101. package/dist/TooltipParagraph.vue.es-CIedcXGT.mjs +129 -0
  102. package/dist/TrialChip.vue.es-BzNI94k0.js +1 -0
  103. package/dist/TrialChip.vue.es-DkBuMNr_.mjs +35 -0
  104. package/dist/accel.svg.es-C0hqmmEY.mjs +4 -0
  105. package/dist/accel.svg.es-DFJXdioD.js +1 -0
  106. package/dist/ach.svg.es-BYP873jU.js +1 -0
  107. package/dist/ach.svg.es-DduMiYM2.mjs +4 -0
  108. package/dist/adyen-BJfC7N6f.js +1 -0
  109. package/dist/adyen-Bugab0JE.mjs +4 -0
  110. package/dist/adyen-CvsH5fok.mjs +117 -0
  111. package/dist/adyen-Druit6gz.js +1 -0
  112. package/dist/adyenSdk-B01MB9Ia.mjs +58 -0
  113. package/dist/adyenSdk-BP2XXzeJ.js +1 -0
  114. package/dist/amazon-pay.svg.es-BACIX6C7.mjs +4 -0
  115. package/dist/amazon-pay.svg.es-CQWgtowB.js +1 -0
  116. package/dist/amex.svg.es-DKhW4Txt.js +1 -0
  117. package/dist/amex.svg.es-DjTEMRVg.mjs +4 -0
  118. package/dist/api.es-QaC926Xu.mjs +43 -0
  119. package/dist/api.es-duCDtZD9.js +1 -0
  120. package/dist/apple-pay.svg.es-B3tkA54p.mjs +4 -0
  121. package/dist/apple-pay.svg.es-Dyojd0F-.js +1 -0
  122. package/dist/bacs.svg.es-CZIjZIE8.mjs +4 -0
  123. package/dist/bacs.svg.es-GJpZs1sD.js +1 -0
  124. package/dist/bancontact.svg.es-B26-JwdE.mjs +4 -0
  125. package/dist/bancontact.svg.es-BQh7nAup.js +1 -0
  126. package/dist/carnet.svg.es-BtO3AmNu.mjs +4 -0
  127. package/dist/carnet.svg.es-DY04-F2L.js +1 -0
  128. package/dist/cartes-bancaires.svg.es-BleHMlkN.js +1 -0
  129. package/dist/cartes-bancaires.svg.es-DEPpdLvi.mjs +4 -0
  130. package/dist/cashapp.svg.es-DOGwRjXp.mjs +4 -0
  131. package/dist/cashapp.svg.es-MwXGYom6.js +1 -0
  132. package/dist/{cn.es-BEU5D0Wz.mjs → cn.es-BGqYNPM3.mjs} +657 -927
  133. package/dist/cn.es-CvmLj7KH.js +1 -0
  134. package/dist/comparators.es-D8WGL-c4.mjs +153 -0
  135. package/dist/comparators.es-OGt19O9U.js +1 -0
  136. package/dist/component-5wqcK7yz.mjs +8 -0
  137. package/dist/component-B7ZDyqBp.js +1 -0
  138. package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
  139. package/dist/components/BillingInformation/BillingInformation.mjs +39 -48
  140. package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
  141. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +256 -307
  142. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
  143. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +43 -52
  144. package/dist/components/Invoice/Invoice.cjs +1 -1
  145. package/dist/components/Invoice/Invoice.mjs +372 -430
  146. package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
  147. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +55 -65
  148. package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
  149. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +41 -46
  150. package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
  151. package/dist/components/InvoicesList/InvoicesList.mjs +43 -53
  152. package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
  153. package/dist/components/PaymentHistory/PaymentHistory.mjs +58 -68
  154. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
  155. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +51 -63
  156. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
  157. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +41 -50
  158. package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
  159. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +49 -60
  160. package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
  161. package/dist/components/WalletBalances/WalletBalances.mjs +59 -70
  162. package/dist/configuration-BytDBAWs.mjs +14 -0
  163. package/dist/configuration-akTS7Wiw.js +1 -0
  164. package/dist/core/index.cjs +1 -1
  165. package/dist/core/index.mjs +89 -104
  166. package/dist/{countryData.es--zJAd6LA.mjs → countryData.es-BegoD-cZ.mjs} +2 -2
  167. package/dist/countryData.es-C4jHBzfo.js +1 -0
  168. package/dist/customElements-CSE7dwUr.mjs +6561 -0
  169. package/dist/customElements-Vox1PB6G.js +1211 -0
  170. package/dist/customer-5krPxZ8i.mjs +31 -0
  171. package/dist/customer-Dsq-Moea.js +1 -0
  172. package/dist/customer.es-B5ppZf0j.mjs +20 -0
  173. package/dist/customer.es-BButyYo0.js +1 -0
  174. package/dist/dana.svg.es-BDtZLpwd.js +1 -0
  175. package/dist/dana.svg.es-Cy8Q6DZi.mjs +4 -0
  176. package/dist/dankort.svg.es-B7VqJdWq.mjs +4 -0
  177. package/dist/dankort.svg.es-CksaipXF.js +1 -0
  178. package/dist/{de-DE-_40QfLNJ.js → de-DE-BSlbAnPE.js} +1 -1
  179. package/dist/de-DE-C3DzP1nj.js +1 -0
  180. package/dist/{de-DE-BeyQVhTv.mjs → de-DE-DXsG-vXA.mjs} +46 -59
  181. package/dist/{de-DE-CI2zQkiP.mjs → de-DE-DsFtpLsx.mjs} +7 -5
  182. package/dist/diners.svg.es-BP9enCow.mjs +4 -0
  183. package/dist/diners.svg.es-D6Mu1pqP.js +1 -0
  184. package/dist/discover.svg.es-DEsEJBYh.mjs +4 -0
  185. package/dist/discover.svg.es-DgqWCMUM.js +1 -0
  186. package/dist/eftpos.svg.es--js6-yfk.mjs +4 -0
  187. package/dist/eftpos.svg.es-Dk2DOT8W.js +1 -0
  188. package/dist/elo.svg.es-C-BzjuRP.js +1 -0
  189. package/dist/elo.svg.es-CMZPAxcn.mjs +4 -0
  190. package/dist/{en-US--NRsi7Hz.js → en-US-9xdcz3T5.js} +1 -1
  191. package/dist/{en-US-5YWNEi-V.mjs → en-US-C939IZ5i.mjs} +50 -63
  192. package/dist/{en-US-DksUWPIu.mjs → en-US-DvkvbV0p.mjs} +7 -5
  193. package/dist/en-US-X_pSFsNm.js +1 -0
  194. package/dist/eps.svg.es-B_85bP-W.js +1 -0
  195. package/dist/eps.svg.es-CzIPBSb9.mjs +4 -0
  196. package/dist/error-BHVZJGwD.mjs +13 -0
  197. package/dist/error-CmduqgVq.js +1 -0
  198. package/dist/floating-ui.vue.es-Bly3DGWm.js +1 -0
  199. package/dist/floating-ui.vue.es-CYt0fSY7.mjs +1108 -0
  200. package/dist/formatting.es-C72Nsrmh.js +1 -0
  201. package/dist/formatting.es-RclXHhKo.mjs +61 -0
  202. package/dist/gcash.svg.es-BKAdhWzv.js +1 -0
  203. package/dist/gcash.svg.es-BpDtvraq.mjs +4 -0
  204. package/dist/getComposedString.es-C__uhJpd.mjs +10 -0
  205. package/dist/getComposedString.es-haS4bAj7.js +1 -0
  206. package/dist/getCountryNameByCode.es-BDHua7VM.mjs +8 -0
  207. package/dist/getCountryNameByCode.es-Xxc0nZsH.js +1 -0
  208. package/dist/girocard.svg.es-HSOEvDif.js +1 -0
  209. package/dist/girocard.svg.es-Riswtk8Z.mjs +4 -0
  210. package/dist/go-pay.svg.es-CiIyLELZ.mjs +4 -0
  211. package/dist/go-pay.svg.es-DQjtunZ_.js +1 -0
  212. package/dist/google-pay.svg.es-Dgj_N6nz.mjs +4 -0
  213. package/dist/google-pay.svg.es-hzc_EgiJ.js +1 -0
  214. package/dist/hipercard.svg.es-B80bu8Vd.mjs +4 -0
  215. package/dist/hipercard.svg.es-CbCsRY2q.js +1 -0
  216. package/dist/icon-sprite.svg.es-Bt21fMEt.mjs +4 -0
  217. package/dist/icon-sprite.svg.es-Dauis9LS.js +1 -0
  218. package/dist/ideal.svg.es-Booz1IML.js +1 -0
  219. package/dist/ideal.svg.es-DaqTS2Ax.mjs +4 -0
  220. package/dist/index-BPU8tIml.mjs +828 -0
  221. package/dist/index-BPZPnOQQ.js +7 -0
  222. package/dist/index-CTwLxoOS.mjs +7250 -0
  223. package/dist/index-DwueOtPi.js +1 -0
  224. package/dist/index.cjs +1 -1
  225. package/dist/index.es-BclokHQX.js +1 -0
  226. package/dist/index.es-CXkP_k3u.mjs +345 -0
  227. package/dist/index.mjs +40 -40
  228. package/dist/invoices-DRgfpkJ6.mjs +118 -0
  229. package/dist/invoices-xOV2YaEV.js +1 -0
  230. package/dist/{it-IT-B6blp8MI.mjs → it-IT-BxpwB3oJ.mjs} +46 -59
  231. package/dist/it-IT-DT3rfjOY.js +1 -0
  232. package/dist/{it-IT-CMy1tHKZ.mjs → it-IT-TE7oqvXa.mjs} +7 -5
  233. package/dist/it-IT-YBtHAao1.js +1 -0
  234. package/dist/jcb.svg.es-B3WPB8c2.js +1 -0
  235. package/dist/jcb.svg.es-Couw-2p9.mjs +4 -0
  236. package/dist/kakao-pay.svg.es-CIFT8fob.mjs +4 -0
  237. package/dist/kakao-pay.svg.es-Cs-lCW74.js +1 -0
  238. package/dist/klarna.svg.es-Cs6XaHD7.js +1 -0
  239. package/dist/klarna.svg.es-WKt8_NZa.mjs +4 -0
  240. package/dist/maestro.svg.es-BvK4oPg4.js +1 -0
  241. package/dist/maestro.svg.es-DbdxwYUE.mjs +4 -0
  242. package/dist/mastercard.svg.es-B7T3PS12.mjs +4 -0
  243. package/dist/mastercard.svg.es-lp4AXyyV.js +1 -0
  244. package/dist/momo.svg.es-C5aLYf_R.js +1 -0
  245. package/dist/momo.svg.es-X5XB25fM.mjs +4 -0
  246. package/dist/nl-NL-C8wnyKju.js +1 -0
  247. package/dist/nl-NL-DfkhOJKc.js +1 -0
  248. package/dist/{nl-NL-CckNM7R9.mjs → nl-NL-Di3-JArV.mjs} +7 -5
  249. package/dist/{nl-NL-CjoW8r_M.mjs → nl-NL-na2I4aiP.mjs} +46 -59
  250. package/dist/nyce.svg.es-ArAivAZW.js +1 -0
  251. package/dist/nyce.svg.es-DcPsO_sh.mjs +4 -0
  252. package/dist/object.es-8aLDIncs.mjs +12 -0
  253. package/dist/object.es-CdriXMPs.js +1 -0
  254. package/dist/open-banking.svg.es-C4mPhwsn.mjs +4 -0
  255. package/dist/open-banking.svg.es-Q3rRkCvP.js +1 -0
  256. package/dist/paymentMethods-CRDIw9lz.js +1 -0
  257. package/dist/paymentMethods-PmkHYomw.mjs +75 -0
  258. package/dist/payments-Dvqh6CGW.mjs +45 -0
  259. package/dist/payments-jAgXhdp_.js +1 -0
  260. package/dist/paypal.svg.es-BC2AP20j.mjs +4 -0
  261. package/dist/paypal.svg.es-Cjp5sNI3.js +1 -0
  262. package/dist/pricing-BVAld27Y.js +1 -0
  263. package/dist/pricing-DLOeiAIB.mjs +16 -0
  264. package/dist/pricingItemConfigs.es-D4aYkYcf.js +1 -0
  265. package/dist/pricingItemConfigs.es-ORxsk_YS.mjs +77 -0
  266. package/dist/pricingPlanSchedule-BM8vsKkV.js +1 -0
  267. package/dist/pricingPlanSchedule-BPrS2WRd.mjs +132 -0
  268. package/dist/pulse.svg.es-Dit33E8S.js +1 -0
  269. package/dist/pulse.svg.es-Rmoz-9Ej.mjs +4 -0
  270. package/dist/screens/Checkout/Checkout.cjs +1 -1
  271. package/dist/screens/Checkout/Checkout.mjs +3 -5237
  272. package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
  273. package/dist/screens/CustomerOverview/CustomerOverview.mjs +112 -138
  274. package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
  275. package/dist/screens/PayInvoice/PayInvoice.mjs +348 -397
  276. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
  277. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +153 -170
  278. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
  279. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +609 -720
  280. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
  281. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +466 -555
  282. package/dist/sepa.svg.es-0t4DKeA1.js +1 -0
  283. package/dist/sepa.svg.es-DIO_K345.mjs +4 -0
  284. package/dist/slots.es-BA4MyEAa.mjs +5 -0
  285. package/dist/slots.es-T9ZJRGtG.js +1 -0
  286. package/dist/sorting.es-DCihKqD2.mjs +77 -0
  287. package/dist/sorting.es-DQsjKr8A.js +1 -0
  288. package/dist/star.svg.es-BUZNUnYq.mjs +4 -0
  289. package/dist/star.svg.es-D2JncY7b.js +1 -0
  290. package/dist/subscription-CrVOr5MF.mjs +69 -0
  291. package/dist/subscription-ZA62t4E9.js +1 -0
  292. package/dist/subscriptions-XDyI2Cqm.mjs +55 -0
  293. package/dist/subscriptions-fJcj88X9.js +1 -0
  294. package/dist/trustly.svg.es-AM7Ha-3Y.mjs +4 -0
  295. package/dist/trustly.svg.es-GJByiFAs.js +1 -0
  296. package/dist/twint.svg.es-BJ2f48og.js +1 -0
  297. package/dist/twint.svg.es-DZogAQG6.mjs +4 -0
  298. package/dist/typeGuards.es-B4XMtlkM.mjs +8 -0
  299. package/dist/typeGuards.es-DS3vZaJn.js +1 -0
  300. package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +1 -0
  301. package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +6 -0
  302. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +7 -0
  303. package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +2 -1
  304. package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +1 -0
  305. package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditor.types.d.ts +6 -0
  306. package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditorItem.types.d.ts +6 -0
  307. package/dist/types/composables/useInvoicePreview.types.d.ts +1 -0
  308. package/dist/types/public/components/Invoice/Invoice.types.d.ts +1 -1
  309. package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +1 -1
  310. package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +7 -0
  311. package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +1 -1
  312. package/dist/unionpay.svg.es-DjFZ5EMQ.js +1 -0
  313. package/dist/unionpay.svg.es-me7q-nTI.mjs +4 -0
  314. package/dist/url-BNKStNY9.js +1 -0
  315. package/dist/url-DwiuKYpu.mjs +20 -0
  316. package/dist/useActionDispatchProvider-B8-oycQk.mjs +11 -0
  317. package/dist/useActionDispatchProvider-CNAuaHdm.js +1 -0
  318. package/dist/useCustomer-CP8eWUZV.mjs +20 -0
  319. package/dist/useCustomer-DSx-wN-6.js +1 -0
  320. package/dist/useCustomerFormLabels-DW6jnDYH.mjs +968 -0
  321. package/dist/useCustomerFormLabels-TVTgy0MT.js +1 -0
  322. package/dist/useExperimentalFeature-BvE_EOX-.mjs +6 -0
  323. package/dist/useExperimentalFeature-CC-DrIcL.js +1 -0
  324. package/dist/useIncrementalLoading-CaWOE8Xl.js +1 -0
  325. package/dist/useIncrementalLoading-Cgxw2GD7.mjs +48 -0
  326. package/dist/useInvoiceData-CRRPdXc6.js +1 -0
  327. package/dist/useInvoiceData-D8ds05CX.mjs +38 -0
  328. package/dist/useInvoicesList-DIfQcvER.js +1 -0
  329. package/dist/useInvoicesList-SJU5YWBQ.mjs +500 -0
  330. package/dist/useLoadInitialData-DsabgMLZ.js +1 -0
  331. package/dist/useLoadInitialData-MUljS38K.mjs +15 -0
  332. package/dist/usePaymentMethodAvailability-Bt7P9InI.js +1 -0
  333. package/dist/usePaymentMethodAvailability-D0NUanyF.mjs +118 -0
  334. package/dist/usePaymentMethodOptions-B7JYkGsw.mjs +37 -0
  335. package/dist/usePaymentMethodOptions-cT1o-BA1.js +1 -0
  336. package/dist/usePaymentMethods-CpzqXQUT.mjs +15 -0
  337. package/dist/usePaymentMethods-DNVw2eVg.js +1 -0
  338. package/dist/usePayments-D9Eo-uBk.js +1 -0
  339. package/dist/usePayments-Gx9kBvNB.mjs +318 -0
  340. package/dist/usePortal-3VCZwSUE.mjs +11 -0
  341. package/dist/usePortal-DsebXdhx.js +1 -0
  342. package/dist/useService-Bh47bllz.mjs +50 -0
  343. package/dist/useService-H7BjLg8P.js +1 -0
  344. package/dist/useSubscription-DnL1wVh1.mjs +210 -0
  345. package/dist/useSubscription-K_gP9TeX.js +1 -0
  346. package/dist/useTimePeriod.es-CmltiTE-.js +1 -0
  347. package/dist/useTimePeriod.es-DMtKzcoB.mjs +93 -0
  348. package/dist/useViewport-BgdA2PPt.mjs +29 -0
  349. package/dist/useViewport-hPRVDWCm.js +1 -0
  350. package/dist/useWatchDebounced-CAU1WI1P.js +1 -0
  351. package/dist/useWatchDebounced-DT5IicPp.mjs +14 -0
  352. package/dist/visa.svg.es-B0T5Su99.mjs +4 -0
  353. package/dist/visa.svg.es-NY3BHhda.js +1 -0
  354. package/dist/vpay.svg.es-VViQi42w.js +1 -0
  355. package/dist/vpay.svg.es-Zt3rrmCy.mjs +4 -0
  356. package/dist/wallets.es-CNIMW5ay.js +1 -0
  357. package/dist/wallets.es-eH2C2ygn.mjs +102 -0
  358. package/dist/zip.svg.es-C9S_F31W.js +1 -0
  359. package/dist/zip.svg.es-QC6dxzC7.mjs +4 -0
  360. package/package.json +3 -3
  361. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Ce30EXY5.mjs +0 -240
  362. package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-kmam2c7P.js +0 -1
  363. package/dist/Amount.vue.es-BO5sS1UX.mjs +0 -25
  364. package/dist/Amount.vue.es-JDVa_3H-.js +0 -1
  365. package/dist/Avatar.vue.es-BGTZSAqU.js +0 -1
  366. package/dist/Avatar.vue.es-DJzJiYtv.mjs +0 -91
  367. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-Bq2mTdUs.mjs +0 -66
  368. package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BtNTRSqH.js +0 -1
  369. package/dist/Button.vue.es-Cm9pLU9i.mjs +0 -421
  370. package/dist/Button.vue.es-O8mNivLL.js +0 -1
  371. package/dist/Chip.vue.es-BBmn-qJp.mjs +0 -120
  372. package/dist/Chip.vue.es-DmCjC1hi.js +0 -1
  373. package/dist/Comparators.vue.es-CYfxd5H-.mjs +0 -120
  374. package/dist/Comparators.vue.es-DK8wGjxM.js +0 -1
  375. package/dist/ContentWithAsideLayout-DHpnJfGA.js +0 -1
  376. package/dist/ContentWithAsideLayout-Dy9xgxuF.mjs +0 -39
  377. package/dist/ContextMenu.vue.es-CTc1ktXb.mjs +0 -681
  378. package/dist/ContextMenu.vue.es-DaW0yp4Y.js +0 -1
  379. package/dist/CustomerBillingInformation.vue.es-BX0Da7Kr.js +0 -1
  380. package/dist/CustomerBillingInformation.vue.es-CMZO8oLj.mjs +0 -175
  381. package/dist/CustomerPaymentMethods.lib-CcSt0sl1.mjs +0 -4
  382. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bi_dCntQ.js +0 -1
  383. package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CtdFharm.mjs +0 -150
  384. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BDqBXbJq.mjs +0 -3264
  385. package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-ZyN2vlNu.js +0 -1
  386. package/dist/Divider.vue.es-ClFG8QtG.js +0 -1
  387. package/dist/Divider.vue.es-wKkIVBgb.mjs +0 -24
  388. package/dist/DividerText.vue.es-CeAHAe_Y.mjs +0 -72
  389. package/dist/DividerText.vue.es-DjT4i_YD.js +0 -1
  390. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DLE5-9wz.mjs +0 -562
  391. package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DkIK-lID.js +0 -1
  392. package/dist/ErrorNotification.vue.es-CHyVTBGs.mjs +0 -38
  393. package/dist/ErrorNotification.vue.es-CaEFTi2k.js +0 -1
  394. package/dist/Expand.vue.es-C-lnbA1v.js +0 -1
  395. package/dist/Expand.vue.es-C4_XmqbR.mjs +0 -50
  396. package/dist/FormMessage.vue.es-Bd4_NG9H.js +0 -1
  397. package/dist/FormMessage.vue.es-C3oxwq_8.mjs +0 -46
  398. package/dist/IconButton.vue.es-BHdQskx0.js +0 -1
  399. package/dist/IconButton.vue.es-KywqWWvr.mjs +0 -228
  400. package/dist/IconTitle.vue.es-BmjBdZb_.mjs +0 -107
  401. package/dist/IconTitle.vue.es-D9Wc3PIq.js +0 -1
  402. package/dist/Input.vue.es-DqKJhFTr.js +0 -1
  403. package/dist/Input.vue.es-WZGF8dfr.mjs +0 -251
  404. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-B6efz7NU.mjs +0 -97
  405. package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-LE6zBLKM.js +0 -1
  406. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-C2aLMfu6.mjs +0 -49
  407. package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-CtpFzWU3.js +0 -1
  408. package/dist/InvoiceSummary.vue.es-BI5sD_8F.mjs +0 -2944
  409. package/dist/InvoiceSummary.vue.es-BWYIHezU.js +0 -1
  410. package/dist/Modal.vue.es-B_1aqm_m.js +0 -1
  411. package/dist/Modal.vue.es-qdUHDOnU.mjs +0 -483
  412. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BKKXQbge.js +0 -1
  413. package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Ch1TFO7x.mjs +0 -154
  414. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CsH47WSM.mjs +0 -54
  415. package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-mKNNYnMU.js +0 -1
  416. package/dist/PaymentHistoryBlock-CgNUV8Gy.mjs +0 -4
  417. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DZwnDzha.js +0 -1
  418. package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Uj1aK-dp.mjs +0 -101
  419. package/dist/PaymentIntegrationForm-CLokpXvK.mjs +0 -4
  420. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CRUs7sP4.mjs +0 -167
  421. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-kKkzRi6w.js +0 -1
  422. package/dist/PaymentIntegrationFormAdyen-C885o8IE.mjs +0 -699
  423. package/dist/PaymentIntegrationFormAdyen-Co19AgvG.js +0 -1
  424. package/dist/PaymentIntegrationFormStripe-BjMdJmDC.mjs +0 -547
  425. package/dist/PaymentIntegrationFormStripe-DWff6wzK.js +0 -1
  426. package/dist/PaymentMethod.vue.es-CdskNJ3Z.js +0 -1
  427. package/dist/PaymentMethod.vue.es-rv-pu1CC.mjs +0 -677
  428. package/dist/PaymentMethodForm-IEuDxEPN.mjs +0 -4
  429. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-Cj60U90J.js +0 -1
  430. package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-gA74Rak9.mjs +0 -172
  431. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-B3H_AWMM.js +0 -1
  432. package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-CTn-OxM6.mjs +0 -189
  433. package/dist/PricingGroupRangeInput.vue.es-ButaePib.mjs +0 -632
  434. package/dist/PricingGroupRangeInput.vue.es-Cls2lm80.js +0 -1
  435. package/dist/Section.vue.es-CAJvEDn6.js +0 -1
  436. package/dist/Section.vue.es-DX_9ueCG.mjs +0 -79
  437. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CQAkPfJz.js +0 -1
  438. package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DVtMzgjc.mjs +0 -1044
  439. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DGMxHc20.mjs +0 -78
  440. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DfMgIsGm.js +0 -1
  441. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BJVXCHny.js +0 -1
  442. package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-ByO-L6nm.mjs +0 -6171
  443. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-C5zB3CgZ.mjs +0 -101
  444. package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CabskT-r.js +0 -1
  445. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-D-T1wGg7.js +0 -1
  446. package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-DKd2DIVb.mjs +0 -309
  447. package/dist/TooltipParagraph.vue.es-C5RTcrid.mjs +0 -136
  448. package/dist/TooltipParagraph.vue.es-H9fI7zzt.js +0 -1
  449. package/dist/TrialChip.vue.es-B1puKyR-.mjs +0 -56
  450. package/dist/TrialChip.vue.es-CCs50m02.js +0 -1
  451. package/dist/accel.svg.es-CE5tIWtm.mjs +0 -4
  452. package/dist/accel.svg.es-Dt_1wJmV.js +0 -1
  453. package/dist/ach.svg.es-B4tn0_IV.js +0 -1
  454. package/dist/ach.svg.es-D4QPcIU-.mjs +0 -4
  455. package/dist/adyen-51SvcyqV.mjs +0 -4
  456. package/dist/adyen-BXi_D9TQ.mjs +0 -123
  457. package/dist/adyen-DZsyEXkw.js +0 -1
  458. package/dist/adyen-VS2sDW0m.js +0 -1
  459. package/dist/amazon-pay.svg.es-B428S4f3.js +0 -1
  460. package/dist/amazon-pay.svg.es-DUScOW15.mjs +0 -4
  461. package/dist/amex.svg.es-BCXkaVLN.mjs +0 -4
  462. package/dist/amex.svg.es-Bn9e31C3.js +0 -1
  463. package/dist/api.es-C5pe8LUl.mjs +0 -62
  464. package/dist/api.es-Czekkp_X.js +0 -1
  465. package/dist/apple-pay.svg.es-Cfgn0K28.js +0 -1
  466. package/dist/apple-pay.svg.es-DlCfkt39.mjs +0 -4
  467. package/dist/bacs.svg.es-BKsvSeIP.mjs +0 -4
  468. package/dist/bacs.svg.es-hL7hLPkQ.js +0 -1
  469. package/dist/bancontact.svg.es-BbRqGgZ9.mjs +0 -4
  470. package/dist/bancontact.svg.es-DU2ejvNL.js +0 -1
  471. package/dist/carnet.svg.es-C5SFaOsa.js +0 -1
  472. package/dist/carnet.svg.es-Db-KEb13.mjs +0 -4
  473. package/dist/cartes-bancaires.svg.es-ByD-JAAi.mjs +0 -4
  474. package/dist/cartes-bancaires.svg.es-CbBJQZrk.js +0 -1
  475. package/dist/cashapp.svg.es-CnS5r_D8.mjs +0 -4
  476. package/dist/cashapp.svg.es-DE4vMu_p.js +0 -1
  477. package/dist/cn.es-DxSeYcoP.js +0 -1
  478. package/dist/comparators.es-9VsCB-JI.mjs +0 -175
  479. package/dist/comparators.es-wrKHduVq.js +0 -1
  480. package/dist/component-BG6DmXcy.mjs +0 -9
  481. package/dist/component-hDuDTBt5.js +0 -1
  482. package/dist/configuration-BjYwV4_B.js +0 -1
  483. package/dist/configuration-CD8cOXAJ.mjs +0 -15
  484. package/dist/countryData.es-D3MFzU92.js +0 -1
  485. package/dist/customElements-B-89a5oH.mjs +0 -6810
  486. package/dist/customElements-DD7bpqkx.js +0 -1
  487. package/dist/customer-DozNwS_a.js +0 -1
  488. package/dist/customer-Dzj1g9lV.mjs +0 -32
  489. package/dist/customer.es-C_vSWcVA.mjs +0 -30
  490. package/dist/customer.es-D42Md24r.js +0 -1
  491. package/dist/dana.svg.es-Bbn6_ktN.mjs +0 -4
  492. package/dist/dana.svg.es-DKZaseoJ.js +0 -1
  493. package/dist/dankort.svg.es-D8FgSiFf.js +0 -1
  494. package/dist/dankort.svg.es-DtAdliQq.mjs +0 -4
  495. package/dist/de-DE-BvHD68Ay.js +0 -1
  496. package/dist/diners.svg.es-DhchsD1D.mjs +0 -4
  497. package/dist/diners.svg.es-SydF_H-Z.js +0 -1
  498. package/dist/discover.svg.es-B8vgzVNG.js +0 -1
  499. package/dist/discover.svg.es-BnqYPvnV.mjs +0 -4
  500. package/dist/eftpos.svg.es-DO0YPaY1.js +0 -1
  501. package/dist/eftpos.svg.es-DRLaafYa.mjs +0 -4
  502. package/dist/elo.svg.es-CTOm1rvj.js +0 -1
  503. package/dist/elo.svg.es-CgkEOP_O.mjs +0 -4
  504. package/dist/en-US-dqfKx3GS.js +0 -1
  505. package/dist/eps.svg.es-CApyGjyU.js +0 -1
  506. package/dist/eps.svg.es-D6IHsRYP.mjs +0 -4
  507. package/dist/error-Cg-i7gGl.js +0 -1
  508. package/dist/error-DY_I2hPx.mjs +0 -13
  509. package/dist/floating-ui.vue.es-Bv94BfDm.js +0 -1
  510. package/dist/floating-ui.vue.es-DWY7pdz8.mjs +0 -1573
  511. package/dist/formatting.es-DBtYnvI5.js +0 -1
  512. package/dist/formatting.es-eYgXv_AK.mjs +0 -70
  513. package/dist/gcash.svg.es-BhJ-eA2z.mjs +0 -4
  514. package/dist/gcash.svg.es-JaL4fpZr.js +0 -1
  515. package/dist/getComposedString.es-CELkn0I7.mjs +0 -14
  516. package/dist/getComposedString.es-DvSNX-_z.js +0 -1
  517. package/dist/getCountryNameByCode.es-fP52nO_7.js +0 -1
  518. package/dist/getCountryNameByCode.es-ymC9R46j.mjs +0 -8
  519. package/dist/girocard.svg.es-D_3LML4l.mjs +0 -4
  520. package/dist/girocard.svg.es-tVgtT23w.js +0 -1
  521. package/dist/go-pay.svg.es-6UtgwVBA.mjs +0 -4
  522. package/dist/go-pay.svg.es-fYX6yMzJ.js +0 -1
  523. package/dist/google-pay.svg.es-BYXX1em8.js +0 -1
  524. package/dist/google-pay.svg.es-CRxXgFVl.mjs +0 -4
  525. package/dist/hipercard.svg.es-Ct1-mF9F.mjs +0 -4
  526. package/dist/hipercard.svg.es-D-nmiFXB.js +0 -1
  527. package/dist/icon-sprite.svg.es-BpwT0GQ5.js +0 -1
  528. package/dist/icon-sprite.svg.es-YYqtl2IP.mjs +0 -4
  529. package/dist/ideal.svg.es-D23EhJJ2.mjs +0 -4
  530. package/dist/ideal.svg.es-DXtHE0Jb.js +0 -1
  531. package/dist/index-Cai7laNY.mjs +0 -1069
  532. package/dist/index-DIFK3mcJ.js +0 -6
  533. package/dist/index-DyvRdSR7.mjs +0 -9673
  534. package/dist/index-IZaUTAsE.js +0 -1
  535. package/dist/index.es-2JWHHSgP.js +0 -1
  536. package/dist/index.es-D5xOw_SJ.mjs +0 -542
  537. package/dist/invoices-1oYkdQQV.mjs +0 -121
  538. package/dist/invoices-BAoh6X2a.js +0 -1
  539. package/dist/it-IT-CEP3oeWs.js +0 -1
  540. package/dist/it-IT-aPQY57ht.js +0 -1
  541. package/dist/jcb.svg.es-Bz6J-c0s.js +0 -1
  542. package/dist/jcb.svg.es-CcH08OoO.mjs +0 -4
  543. package/dist/kakao-pay.svg.es-DcgRDAsc.mjs +0 -4
  544. package/dist/kakao-pay.svg.es-qVTABboW.js +0 -1
  545. package/dist/klarna.svg.es-Clu-7zkp.js +0 -1
  546. package/dist/klarna.svg.es-DfIPX0gr.mjs +0 -4
  547. package/dist/maestro.svg.es-CVmNVokN.mjs +0 -4
  548. package/dist/maestro.svg.es-e8E_H2QU.js +0 -1
  549. package/dist/mastercard.svg.es-B8z0ZySS.mjs +0 -4
  550. package/dist/mastercard.svg.es-YO3_jGD6.js +0 -1
  551. package/dist/momo.svg.es-BXTQlQRy.js +0 -1
  552. package/dist/momo.svg.es-Bm5zCTOT.mjs +0 -4
  553. package/dist/nl-NL-e_vf6OuT.js +0 -1
  554. package/dist/nl-NL-zRUAuEHg.js +0 -1
  555. package/dist/nyce.svg.es-CgurqLKH.mjs +0 -4
  556. package/dist/nyce.svg.es-DM6esO47.js +0 -1
  557. package/dist/object.es-DFXiU9p3.js +0 -1
  558. package/dist/object.es-jvvnR8Kr.mjs +0 -12
  559. package/dist/open-banking.svg.es-DUM360xB.js +0 -1
  560. package/dist/open-banking.svg.es-DzzLCVp_.mjs +0 -4
  561. package/dist/paymentMethods-CZ3ydybI.js +0 -1
  562. package/dist/paymentMethods-DIV78w0O.mjs +0 -78
  563. package/dist/payments--lkjiwCt.js +0 -1
  564. package/dist/payments-Cvqdrprv.mjs +0 -47
  565. package/dist/paypal.svg.es-BdkNTf3c.js +0 -1
  566. package/dist/paypal.svg.es-DltWzW4V.mjs +0 -4
  567. package/dist/pricing-3W7XLwL6.js +0 -1
  568. package/dist/pricing-CJxS2hr2.mjs +0 -17
  569. package/dist/pricingItemConfigs.es-BPIm6S8M.mjs +0 -107
  570. package/dist/pricingItemConfigs.es-C73cQlxQ.js +0 -1
  571. package/dist/pricingPlanSchedule-B9HFiXy-.js +0 -1
  572. package/dist/pricingPlanSchedule-CXG3CQ61.mjs +0 -146
  573. package/dist/pulse.svg.es-BdpWAuIN.js +0 -1
  574. package/dist/pulse.svg.es-BecAwT-p.mjs +0 -4
  575. package/dist/sepa.svg.es-BF8PYKZg.js +0 -1
  576. package/dist/sepa.svg.es-cbE9g8gV.mjs +0 -4
  577. package/dist/slots.es-BpwYO3A3.mjs +0 -18
  578. package/dist/slots.es-Dq1PTUOv.js +0 -1
  579. package/dist/sorting.es-CjTrRfSW.mjs +0 -105
  580. package/dist/sorting.es-RyvcgbSL.js +0 -1
  581. package/dist/star.svg.es-DsCD-tSp.mjs +0 -4
  582. package/dist/star.svg.es-Q50IzqXr.js +0 -1
  583. package/dist/subscription-C41lG-rH.mjs +0 -89
  584. package/dist/subscription-b0OPx8Du.js +0 -1
  585. package/dist/subscriptions-300o4ae0.js +0 -1
  586. package/dist/subscriptions-DcMHBPVJ.mjs +0 -58
  587. package/dist/trustly.svg.es-C0Ou1HWk.mjs +0 -4
  588. package/dist/trustly.svg.es-CHojqNqm.js +0 -1
  589. package/dist/twint.svg.es-CQ-ZDfy8.js +0 -1
  590. package/dist/twint.svg.es-WrZYquRs.mjs +0 -4
  591. package/dist/typeGuards.es-C4nR5FkL.js +0 -1
  592. package/dist/typeGuards.es-fwUoeMCe.mjs +0 -12
  593. package/dist/unionpay.svg.es-DYgo83Hf.mjs +0 -4
  594. package/dist/unionpay.svg.es-YqJKKFEj.js +0 -1
  595. package/dist/url-CjULBkjW.js +0 -1
  596. package/dist/url-CvNDq4wp.mjs +0 -22
  597. package/dist/useActionDispatchProvider-BVOBO0Jx.mjs +0 -12
  598. package/dist/useActionDispatchProvider-Cv9amjTf.js +0 -1
  599. package/dist/useCustomer-DLHOs4BR.js +0 -1
  600. package/dist/useCustomer-EDhref7T.mjs +0 -25
  601. package/dist/useCustomerFormLabels-B61-4xQ7.mjs +0 -1168
  602. package/dist/useCustomerFormLabels-C6wW4n2e.js +0 -1
  603. package/dist/useExperimentalFeature-0yFoaEzV.js +0 -1
  604. package/dist/useExperimentalFeature-DvxOrFPU.mjs +0 -9
  605. package/dist/useIncrementalLoading-BK9pRYAU.mjs +0 -71
  606. package/dist/useIncrementalLoading-CdtGJm_Y.js +0 -1
  607. package/dist/useInvoiceData-BSjVeJrI.js +0 -1
  608. package/dist/useInvoiceData-C0Y5WrbT.mjs +0 -45
  609. package/dist/useInvoicesList-BRDZqsaB.js +0 -1
  610. package/dist/useInvoicesList-CYoE7q0u.mjs +0 -580
  611. package/dist/useLoadInitialData-Cp1OA8y6.mjs +0 -18
  612. package/dist/useLoadInitialData-u7IyXqb6.js +0 -1
  613. package/dist/usePaymentMethodAvailability-B3s1lqQ2.js +0 -1
  614. package/dist/usePaymentMethodAvailability-EuhZPghG.mjs +0 -141
  615. package/dist/usePaymentMethodOptions--8QpMvNm.js +0 -1
  616. package/dist/usePaymentMethodOptions-Cljh7HYp.mjs +0 -36
  617. package/dist/usePaymentMethods-BJzoI8dZ.mjs +0 -16
  618. package/dist/usePaymentMethods-DvEnJWmB.js +0 -1
  619. package/dist/usePayments-CANj0QVc.js +0 -1
  620. package/dist/usePayments-CaT1CBzE.mjs +0 -362
  621. package/dist/usePortal-BjGoSeLy.js +0 -1
  622. package/dist/usePortal-CMPQ0M9R.mjs +0 -12
  623. package/dist/useService-D73FNBjT.js +0 -1
  624. package/dist/useService-W3Kxems4.mjs +0 -72
  625. package/dist/useSubscription-D1UKnZAx.mjs +0 -250
  626. package/dist/useSubscription-DZfRHbL7.js +0 -1
  627. package/dist/useViewport-Bu0cyeSi.mjs +0 -38
  628. package/dist/useViewport-CKRY1CKR.js +0 -1
  629. package/dist/useWatchDebounced-C_YxgoQ6.js +0 -1
  630. package/dist/useWatchDebounced-Zmxd6InB.mjs +0 -16
  631. package/dist/visa.svg.es-B6aU_qRs.mjs +0 -4
  632. package/dist/visa.svg.es-D6sc4YTE.js +0 -1
  633. package/dist/vpay.svg.es-4qIqS4aX.mjs +0 -4
  634. package/dist/vpay.svg.es-CLGTyB09.js +0 -1
  635. package/dist/zip.svg.es-3PzSBe1E.mjs +0 -4
  636. package/dist/zip.svg.es-BRsgmur-.js +0 -1
@@ -1,353 +1,294 @@
1
- import { computed, ref, defineComponent, openBlock, createBlock, unref, withCtx, createElementVNode, createVNode, createTextVNode, toDisplayString, createCommentVNode, createElementBlock, Fragment, renderList, shallowRef, watch, toRef, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
- import { _ as _sfc_main$e } from "../../IconButton.vue.es-KywqWWvr.mjs";
3
- import { a as _sfc_main$8 } from "../../Button.vue.es-Cm9pLU9i.mjs";
4
- import { _ as _sfc_main$b } from "../../ErrorNotification.vue.es-CHyVTBGs.mjs";
5
- import { u as useIntl, _ as _sfc_main$7, b as useLogger, d as _sfc_main$i, e as createSolvimonElement } from "../../customElements-B-89a5oH.mjs";
6
- import { C as ContentWithAsideLayout } from "../../ContentWithAsideLayout-Dy9xgxuF.mjs";
7
- import { u as useActionDispatchProvider } from "../../useActionDispatchProvider-BVOBO0Jx.mjs";
8
- import { b as getMostRecentScheduleInfo, a as getSubscriptionName } from "../../subscription-C41lG-rH.mjs";
9
- import { _ as _sfc_main$g } from "../../SubscriptionSchedules.vue_vue_type_script_setup_true_lang-ByO-L6nm.mjs";
10
- import { _ as _sfc_main$c, u as useCustomerWalletBalances } from "../../CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BDqBXbJq.mjs";
11
- import { _ as _sfc_main$d } from "../../CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CtdFharm.mjs";
12
- import { _ as _sfc_main$h } from "../../EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DLE5-9wz.mjs";
13
- import { _ as _sfc_main$f } from "../../Skeleton.vue_vue_type_script_setup_true_lang-DGMxHc20.mjs";
14
- import { _ as _sfc_main$6 } from "../../Section.vue.es-DX_9ueCG.mjs";
15
- import { g as getNameFromPricing } from "../../pricing-CJxS2hr2.mjs";
16
- import { f as formatAmount, b as formatBillingPeriod } from "../../formatting.es-eYgXv_AK.mjs";
17
- import { _ as _sfc_main$a } from "../../PaymentMethod.vue.es-rv-pu1CC.mjs";
18
- import { M as Modal } from "../../Modal.vue.es-qdUHDOnU.mjs";
19
- import { c as createSubscriptionsService } from "../../subscriptions-DcMHBPVJ.mjs";
20
- import { _ as _sfc_main$9 } from "../../SubscriptionSummary.vue_vue_type_script_setup_true_lang-C5zB3CgZ.mjs";
21
- import { g as getPaginatedFullList } from "../../api.es-C5pe8LUl.mjs";
22
- import { i as isApiSuccessCollectionResponse } from "../../useIncrementalLoading-BK9pRYAU.mjs";
23
- import { c as createPaymentMethodsService } from "../../paymentMethods-DIV78w0O.mjs";
24
- import { A as ApiStatus } from "../../error-DY_I2hPx.mjs";
25
- import { u as useSubscription } from "../../useSubscription-D1UKnZAx.mjs";
26
- import { u as useCustomer } from "../../useCustomer-EDhref7T.mjs";
27
- import { u as usePaymentMethods } from "../../usePaymentMethods-BJzoI8dZ.mjs";
28
- import { u as useLoadInitialData } from "../../useLoadInitialData-Cp1OA8y6.mjs";
29
- import { g as getComponentName } from "../../component-BG6DmXcy.mjs";
30
- function useSubscriptionActions({
31
- subscription
1
+ import { computed as u, ref as D, defineComponent as O, openBlock as c, createBlock as m, unref as e, withCtx as p, createElementVNode as U, createVNode as M, createTextVNode as w, toDisplayString as S, createCommentVNode as C, createElementBlock as F, Fragment as Z, renderList as J, shallowRef as K, watch as W, defineAsyncComponent as Q, toRef as X, renderSlot as ee, normalizeProps as te, guardReactiveProps as ne } from "vue";
2
+ import { _ as ae } from "../../IconButton.vue.es-C4dQEQAc.mjs";
3
+ import { _ as V } from "../../Button.vue.es-Dz-2L8dJ.mjs";
4
+ import { _ as G } from "../../ErrorNotification.vue.es-BGckEwHf.mjs";
5
+ import { u as N, _ as E, b as se, d as ie, e as oe } from "../../customElements-CSE7dwUr.mjs";
6
+ import { C as re } from "../../ContentWithAsideLayout-Bnbsq8_5.mjs";
7
+ import { u as le } from "../../useActionDispatchProvider-B8-oycQk.mjs";
8
+ import { b as q, a as ce } from "../../subscription-CrVOr5MF.mjs";
9
+ import { _ as ue, u as de } from "../../CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DdMHG1_Y.mjs";
10
+ import { _ as pe } from "../../CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-fESZVyPe.mjs";
11
+ import { _ as me } from "../../EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-lhJnqrrh.mjs";
12
+ import { _ as be } from "../../Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs";
13
+ import { _ as Y } from "../../Section.vue.es-DQ5H7mqW.mjs";
14
+ import { g as ge } from "../../pricing-DLOeiAIB.mjs";
15
+ import { f as z, b as fe } from "../../formatting.es-RclXHhKo.mjs";
16
+ import { _ as he } from "../../PaymentMethod.vue.es-DkQdPXfk.mjs";
17
+ import { M as ve } from "../../Modal.vue.es-B_G8NQS2.mjs";
18
+ import { c as _e } from "../../subscriptions-XDyI2Cqm.mjs";
19
+ import { _ as ye } from "../../SubscriptionSummary.vue_vue_type_script_setup_true_lang-C1mkIPMr.mjs";
20
+ import { g as we } from "../../api.es-QaC926Xu.mjs";
21
+ import { i as Se } from "../../useIncrementalLoading-Cgxw2GD7.mjs";
22
+ import { c as Ce } from "../../paymentMethods-PmkHYomw.mjs";
23
+ import { A as Me } from "../../error-BHVZJGwD.mjs";
24
+ import { u as xe } from "../../useSubscription-DnL1wVh1.mjs";
25
+ import { u as $e } from "../../useCustomer-CP8eWUZV.mjs";
26
+ import { u as Pe } from "../../usePaymentMethods-CpzqXQUT.mjs";
27
+ import { u as Ae } from "../../useLoadInitialData-MUljS38K.mjs";
28
+ import { g as ke } from "../../component-5wqcK7yz.mjs";
29
+ function Ee({
30
+ subscription: t
32
31
  }) {
33
- const { dispatchAction } = useActionDispatchProvider();
34
- const isCancellable = computed(() => {
35
- if (!subscription.value) return false;
36
- const inactivePeriods = subscription.value.inactive_periods;
37
- return !inactivePeriods || inactivePeriods.length === 0;
38
- });
39
- const isRenewable = computed(() => {
40
- var _a;
41
- const inactivePeriods = (_a = subscription.value) == null ? void 0 : _a.inactive_periods;
42
- return Array.isArray(inactivePeriods) && inactivePeriods.length > 0;
43
- });
44
- const pendingVariant = ref();
45
- const cancel = () => {
46
- if (!subscription.value) return;
47
- pendingVariant.value = "CANCEL";
48
- };
49
- const renew = () => {
50
- if (!subscription.value) return;
51
- pendingVariant.value = "RENEW";
52
- };
53
- const dismiss = () => {
54
- pendingVariant.value = void 0;
55
- };
56
- const manage = () => {
57
- if (!subscription.value) return;
58
- dispatchAction({
32
+ const { dispatchAction: o } = le(), a = u(() => {
33
+ if (!t.value) return !1;
34
+ const b = t.value.inactive_periods;
35
+ return !b || b.length === 0;
36
+ }), n = u(() => {
37
+ var _;
38
+ const b = (_ = t.value) == null ? void 0 : _.inactive_periods;
39
+ return Array.isArray(b) && b.length > 0;
40
+ }), i = D();
41
+ return { isCancellable: a, isRenewable: n, pendingVariant: i, cancel: () => {
42
+ t.value && (i.value = "CANCEL");
43
+ }, renew: () => {
44
+ t.value && (i.value = "RENEW");
45
+ }, dismiss: () => {
46
+ i.value = void 0;
47
+ }, manage: () => {
48
+ t.value && o({
59
49
  action: "manage-subscription",
60
- data: { subscriptionId: subscription.value.id }
50
+ data: { subscriptionId: t.value.id }
61
51
  });
62
- };
63
- return { isCancellable, isRenewable, pendingVariant, cancel, renew, dismiss, manage };
52
+ } };
64
53
  }
65
- function getHeadlinePrice(pricing) {
66
- var _a, _b, _c, _d, _e, _f, _g;
67
- const config = (_c = (_b = (_a = pricing.items) == null ? void 0 : _a[0]) == null ? void 0 : _b.configs) == null ? void 0 : _c[0];
68
- const band = (_e = (_d = config == null ? void 0 : config.details) == null ? void 0 : _d.bands) == null ? void 0 : _e[0];
54
+ function Le(t) {
55
+ var n, i, s, r, l, g, b;
56
+ const o = (s = (i = (n = t.items) == null ? void 0 : n[0]) == null ? void 0 : i.configs) == null ? void 0 : s[0], a = (l = (r = o == null ? void 0 : o.details) == null ? void 0 : r.bands) == null ? void 0 : l[0];
69
57
  return {
70
- amount: (band == null ? void 0 : band.amount) ?? (band == null ? void 0 : band.fixed_amount),
71
- billingPeriod: ((_f = config == null ? void 0 : config.details) == null ? void 0 : _f.pricing_period) ?? ((_g = config == null ? void 0 : config.details) == null ? void 0 : _g.billing_period)
58
+ amount: (a == null ? void 0 : a.amount) ?? (a == null ? void 0 : a.fixed_amount),
59
+ billingPeriod: ((g = o == null ? void 0 : o.details) == null ? void 0 : g.pricing_period) ?? ((b = o == null ? void 0 : o.details) == null ? void 0 : b.billing_period)
72
60
  };
73
61
  }
74
- function getEnabledPricingsEntries(scheduleInfo) {
75
- var _a, _b, _c;
76
- const enabledPricingIds = new Set(
77
- (((_a = scheduleInfo.pricing_plan_schedule) == null ? void 0 : _a.enabled_pricings) ?? []).map(
78
- ({ pricing_id }) => pricing_id
62
+ function Be(t) {
63
+ var n, i, s;
64
+ const o = new Set(
65
+ (((n = t.pricing_plan_schedule) == null ? void 0 : n.enabled_pricings) ?? []).map(
66
+ ({ pricing_id: r }) => r
79
67
  )
80
68
  );
81
- if (enabledPricingIds.size === 0) {
82
- return [];
83
- }
84
- const pricingGroups = ((_c = (_b = scheduleInfo.pricing_plan_version) == null ? void 0 : _b.pricing_categories) == null ? void 0 : _c.flatMap(
85
- (category) => category.pricing_groups ?? []
86
- )) ?? [];
87
- return pricingGroups.flatMap(
88
- (group) => (group.pricings ?? []).filter((pricing) => enabledPricingIds.has(pricing.id)).map((pricing) => ({
89
- pricingId: pricing.id,
90
- pricingGroupId: group.id,
91
- groupName: group.name,
69
+ return o.size === 0 ? [] : (((s = (i = t.pricing_plan_version) == null ? void 0 : i.pricing_categories) == null ? void 0 : s.flatMap(
70
+ (r) => r.pricing_groups ?? []
71
+ )) ?? []).flatMap(
72
+ (r) => (r.pricings ?? []).filter((l) => o.has(l.id)).map((l) => ({
73
+ pricingId: l.id,
74
+ pricingGroupId: r.id,
75
+ groupName: r.name,
92
76
  // A pricing without a name of its own is only identifiable by the choice it belongs to.
93
- name: getNameFromPricing(pricing) || group.name,
94
- ...getHeadlinePrice(pricing)
77
+ name: ge(l) || r.name,
78
+ ...Le(l)
95
79
  }))
96
80
  );
97
81
  }
98
- const _hoisted_1$3 = { class: "sv-enabled-pricings-list__item-body flex items-center gap-4" };
99
- const _hoisted_2$1 = { class: "sv-enabled-pricings-list__item-content grow" };
100
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
82
+ const Te = { class: "sv-enabled-pricings-list__item-body flex items-center gap-4" }, Oe = { class: "sv-enabled-pricings-list__item-content grow" }, Re = /* @__PURE__ */ O({
101
83
  __name: "EnabledPricingsListItem",
102
84
  props: {
103
85
  entry: { type: Object }
104
86
  },
105
87
  emits: ["upgrade"],
106
- setup(__props) {
107
- const props = __props;
108
- const { $t } = useIntl();
109
- const price = computed(() => {
110
- const { amount, billingPeriod } = props.entry;
111
- if (!amount) {
112
- return void 0;
113
- }
114
- if (!billingPeriod) {
115
- return formatAmount(amount);
116
- }
117
- return $t(
118
- {
119
- defaultMessage: "{amount} per {period}",
120
- id: "enabled_pricings_list.item.price",
121
- description: 'The recurring price of an enabled pricing, e.g. "€ 100,00 per month"'
122
- },
123
- {
124
- amount: formatAmount(amount),
125
- period: formatBillingPeriod(billingPeriod, {
126
- short: true,
127
- hideValueForExactPeriods: true
128
- })
129
- }
130
- );
88
+ setup(t) {
89
+ const o = t, { $t: a } = N(), n = u(() => {
90
+ const { amount: i, billingPeriod: s } = o.entry;
91
+ if (i)
92
+ return s ? a(
93
+ {
94
+ defaultMessage: "{amount} per {period}",
95
+ id: "enabled_pricings_list.item.price",
96
+ description: 'The recurring price of an enabled pricing, e.g. "€ 100,00 per month"'
97
+ },
98
+ {
99
+ amount: z(i),
100
+ period: fe(s, {
101
+ short: !0,
102
+ hideValueForExactPeriods: !0
103
+ })
104
+ }
105
+ ) : z(i);
131
106
  });
132
- return (_ctx, _cache) => {
133
- return openBlock(), createBlock(unref(_sfc_main$6), { class: "sv-enabled-pricings-list__item" }, {
134
- default: withCtx(() => [
135
- createElementVNode("div", _hoisted_1$3, [
136
- createElementVNode("div", _hoisted_2$1, [
137
- createVNode(unref(_sfc_main$7), {
138
- tag: "span",
139
- variant: "body-xs",
140
- color: "subtle",
141
- class: "sv-enabled-pricings-list__item-group"
142
- }, {
143
- default: withCtx(() => [
144
- createTextVNode(toDisplayString(__props.entry.groupName), 1)
145
- ]),
146
- _: 1
147
- }),
148
- createVNode(unref(_sfc_main$7), {
149
- tag: "h3",
150
- variant: "heading-3",
151
- "no-spacing": "",
152
- class: "sv-enabled-pricings-list__item-name"
153
- }, {
154
- default: withCtx(() => [
155
- createTextVNode(toDisplayString(__props.entry.name), 1)
156
- ]),
157
- _: 1
158
- }),
159
- price.value ? (openBlock(), createBlock(unref(_sfc_main$7), {
160
- key: 0,
161
- tag: "span",
162
- variant: "body-sm",
163
- color: "subtle",
164
- class: "sv-enabled-pricings-list__item-price"
165
- }, {
166
- default: withCtx(() => [
167
- createTextVNode(toDisplayString(price.value), 1)
168
- ]),
169
- _: 1
170
- })) : createCommentVNode("", true)
171
- ]),
172
- createVNode(unref(_sfc_main$8), {
173
- intent: "secondary",
174
- class: "sv-action sv-action--secondary sv-enabled-pricings-list__item-upgrade shrink-0",
175
- type: "button",
176
- size: "xs",
177
- onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("upgrade", __props.entry))
107
+ return (i, s) => (c(), m(e(Y), { class: "sv-enabled-pricings-list__item" }, {
108
+ default: p(() => [
109
+ U("div", Te, [
110
+ U("div", Oe, [
111
+ M(e(E), {
112
+ tag: "span",
113
+ variant: "body-xs",
114
+ color: "subtle",
115
+ class: "sv-enabled-pricings-list__item-group"
178
116
  }, {
179
- default: withCtx(() => [
180
- createTextVNode(toDisplayString(unref($t)({
181
- defaultMessage: "Upgrade",
182
- id: "enabled_pricings_list.item.upgrade_button.label",
183
- description: "Label for the button that changes which pricing is enabled for a group"
184
- })), 1)
117
+ default: p(() => [
118
+ w(S(t.entry.groupName), 1)
185
119
  ]),
186
120
  _: 1
187
- })
188
- ])
189
- ]),
190
- _: 1
191
- });
192
- };
121
+ }),
122
+ M(e(E), {
123
+ tag: "h3",
124
+ variant: "heading-3",
125
+ "no-spacing": "",
126
+ class: "sv-enabled-pricings-list__item-name"
127
+ }, {
128
+ default: p(() => [
129
+ w(S(t.entry.name), 1)
130
+ ]),
131
+ _: 1
132
+ }),
133
+ n.value ? (c(), m(e(E), {
134
+ key: 0,
135
+ tag: "span",
136
+ variant: "body-sm",
137
+ color: "subtle",
138
+ class: "sv-enabled-pricings-list__item-price"
139
+ }, {
140
+ default: p(() => [
141
+ w(S(n.value), 1)
142
+ ]),
143
+ _: 1
144
+ })) : C("", !0)
145
+ ]),
146
+ M(e(V), {
147
+ intent: "secondary",
148
+ class: "sv-action sv-action--secondary sv-enabled-pricings-list__item-upgrade shrink-0",
149
+ type: "button",
150
+ size: "xs",
151
+ onClick: s[0] || (s[0] = (r) => i.$emit("upgrade", t.entry))
152
+ }, {
153
+ default: p(() => [
154
+ w(S(e(a)({
155
+ defaultMessage: "Upgrade",
156
+ id: "enabled_pricings_list.item.upgrade_button.label",
157
+ description: "Label for the button that changes which pricing is enabled for a group"
158
+ })), 1)
159
+ ]),
160
+ _: 1
161
+ })
162
+ ])
163
+ ]),
164
+ _: 1
165
+ }));
193
166
  }
194
- });
195
- const _hoisted_1$2 = { class: "sv-enabled-pricings-list__items grid grid-cols-1 gap-2" };
196
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
167
+ }), Ue = { class: "sv-enabled-pricings-list__items grid grid-cols-1 gap-2" }, Ne = /* @__PURE__ */ O({
197
168
  __name: "EnabledPricingsList",
198
169
  props: {
199
170
  pricingPlanSchedule: { type: Object }
200
171
  },
201
172
  emits: ["upgrade"],
202
- setup(__props) {
203
- const props = __props;
204
- const { $t } = useIntl();
205
- const entries = computed(() => getEnabledPricingsEntries(props.pricingPlanSchedule));
206
- return (_ctx, _cache) => {
207
- return entries.value.length > 0 ? (openBlock(), createBlock(unref(_sfc_main$6), {
208
- key: 0,
209
- class: "sv-enabled-pricings-list",
210
- "content-background": "none",
211
- "no-border": "",
212
- "no-spacing": "",
213
- title: unref($t)({
214
- defaultMessage: "Upgrades",
215
- id: "enabled_pricings_list.title",
216
- description: "Title for the block listing the pricings enabled on a subscription"
217
- })
218
- }, {
219
- default: withCtx(() => [
220
- createElementVNode("div", _hoisted_1$2, [
221
- (openBlock(true), createElementBlock(Fragment, null, renderList(entries.value, (entry) => {
222
- return openBlock(), createBlock(_sfc_main$5, {
223
- key: entry.pricingId,
224
- entry,
225
- onUpgrade: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("upgrade", $event))
226
- }, null, 8, ["entry"]);
227
- }), 128))
228
- ])
229
- ]),
230
- _: 1
231
- }, 8, ["title"])) : createCommentVNode("", true);
232
- };
173
+ setup(t) {
174
+ const o = t, { $t: a } = N(), n = u(() => Be(o.pricingPlanSchedule));
175
+ return (i, s) => n.value.length > 0 ? (c(), m(e(Y), {
176
+ key: 0,
177
+ class: "sv-enabled-pricings-list",
178
+ "content-background": "none",
179
+ "no-border": "",
180
+ "no-spacing": "",
181
+ title: e(a)({
182
+ defaultMessage: "Upgrades",
183
+ id: "enabled_pricings_list.title",
184
+ description: "Title for the block listing the pricings enabled on a subscription"
185
+ })
186
+ }, {
187
+ default: p(() => [
188
+ U("div", Ue, [
189
+ (c(!0), F(Z, null, J(n.value, (r) => (c(), m(Re, {
190
+ key: r.pricingId,
191
+ entry: r,
192
+ onUpgrade: s[0] || (s[0] = (l) => i.$emit("upgrade", l))
193
+ }, null, 8, ["entry"]))), 128))
194
+ ])
195
+ ]),
196
+ _: 1
197
+ }, 8, ["title"])) : C("", !0);
233
198
  }
234
199
  });
235
- function useSubscriptionCancellationModalLabels({
236
- variant,
237
- renewableUntil,
238
- billingPeriodEndsAt
200
+ function Ie({
201
+ variant: t,
202
+ renewableUntil: o,
203
+ billingPeriodEndsAt: a
239
204
  }) {
240
- const { $t } = useIntl();
241
- const isRenewing = computed(() => variant.value === "RENEW");
242
- const title = computed(
243
- () => isRenewing.value ? $t({
205
+ const { $t: n } = N(), i = u(() => t.value === "RENEW"), s = u(
206
+ () => i.value ? n({
244
207
  defaultMessage: "Renew subscription",
245
208
  description: "Title of the renew subscription confirmation modal",
246
209
  id: "subscription_cancellation_modal.renew.title"
247
- }) : $t({
210
+ }) : n({
248
211
  defaultMessage: "Cancel subscription",
249
212
  description: "Title of the cancel subscription confirmation modal",
250
213
  id: "subscription_cancellation_modal.cancel.title"
251
214
  })
252
- );
253
- const explanation = computed(() => {
254
- if (!isRenewing.value) {
255
- if (billingPeriodEndsAt.value) {
256
- return $t(
257
- {
258
- defaultMessage: "Your subscription will be canceled, but you’ll continue to have access until {date}.",
259
- description: "Explanation of what happens when a running subscription is cancelled, naming the date access ends, shown in the cancel subscription modal",
260
- id: "subscription_cancellation_modal.cancel.explanation_with_date"
261
- },
262
- { date: billingPeriodEndsAt.value }
263
- );
264
- }
265
- return $t({
266
- defaultMessage: "Your subscription will be canceled, but you’ll continue to have access until the end of the billing period.",
267
- description: "Explanation of what happens when a running subscription is cancelled, shown in the cancel subscription modal",
268
- id: "subscription_cancellation_modal.cancel.explanation"
269
- });
270
- }
271
- if (!renewableUntil.value) {
272
- return $t({
273
- defaultMessage: "Your subscription will continue as before, and billing will resume on its usual schedule.",
274
- description: "Explanation of what happens when a cancellation is undone, shown in the renew subscription modal when no end date is known",
275
- id: "subscription_cancellation_modal.renew.explanation"
276
- });
277
- }
278
- return $t(
279
- {
280
- defaultMessage: "You can renew your subscription until {date}. After this period you can only create a new subscription.",
281
- description: "Explanation of the deadline for undoing a cancellation, shown in the renew subscription modal",
282
- id: "subscription_cancellation_modal.renew.explanation_with_date"
283
- },
284
- { date: renewableUntil.value }
285
- );
286
- });
287
- const confirmButtonText = computed(
288
- () => isRenewing.value ? $t({
215
+ ), r = u(() => i.value ? o.value ? n(
216
+ {
217
+ defaultMessage: "You can renew your subscription until {date}. After this period you can only create a new subscription.",
218
+ description: "Explanation of the deadline for undoing a cancellation, shown in the renew subscription modal",
219
+ id: "subscription_cancellation_modal.renew.explanation_with_date"
220
+ },
221
+ { date: o.value }
222
+ ) : n({
223
+ defaultMessage: "Your subscription will continue as before, and billing will resume on its usual schedule.",
224
+ description: "Explanation of what happens when a cancellation is undone, shown in the renew subscription modal when no end date is known",
225
+ id: "subscription_cancellation_modal.renew.explanation"
226
+ }) : a.value ? n(
227
+ {
228
+ defaultMessage: "Your subscription will be canceled, but you’ll continue to have access until {date}.",
229
+ description: "Explanation of what happens when a running subscription is cancelled, naming the date access ends, shown in the cancel subscription modal",
230
+ id: "subscription_cancellation_modal.cancel.explanation_with_date"
231
+ },
232
+ { date: a.value }
233
+ ) : n({
234
+ defaultMessage: "Your subscription will be canceled, but you’ll continue to have access until the end of the billing period.",
235
+ description: "Explanation of what happens when a running subscription is cancelled, shown in the cancel subscription modal",
236
+ id: "subscription_cancellation_modal.cancel.explanation"
237
+ })), l = u(
238
+ () => i.value ? n({
289
239
  defaultMessage: "Renew subscription",
290
240
  description: "Label of the confirm button in the renew subscription modal",
291
241
  id: "subscription_cancellation_modal.renew.confirm_button.label"
292
- }) : $t({
242
+ }) : n({
293
243
  defaultMessage: "Cancel subscription",
294
244
  description: "Label of the confirm button in the cancel subscription modal",
295
245
  id: "subscription_cancellation_modal.cancel.confirm_button.label"
296
246
  })
297
- );
298
- const cancelButtonText = computed(
299
- () => $t({
247
+ ), g = u(
248
+ () => n({
300
249
  defaultMessage: "Cancel",
301
250
  description: "Label of the button that dismisses the cancellation modal",
302
251
  id: "subscription_cancellation_modal.cancel_button.label"
303
252
  })
304
- );
305
- const errorMessage = computed(
306
- () => isRenewing.value ? $t({
253
+ ), b = u(
254
+ () => i.value ? n({
307
255
  defaultMessage: "We could not renew your subscription. Please try again.",
308
256
  description: "Error shown when undoing a cancellation fails",
309
257
  id: "subscription_cancellation_modal.renew.error"
310
- }) : $t({
258
+ }) : n({
311
259
  defaultMessage: "We could not cancel your subscription. Please try again.",
312
260
  description: "Error shown when cancelling a subscription fails",
313
261
  id: "subscription_cancellation_modal.cancel.error"
314
262
  })
315
263
  );
316
- return { title, explanation, confirmButtonText, cancelButtonText, errorMessage };
264
+ return { title: s, explanation: r, confirmButtonText: l, cancelButtonText: g, errorMessage: b };
317
265
  }
318
- const PAGE_SIZE = 50;
319
- function usePaymentMethod() {
320
- const { getPaymentMethods } = createPaymentMethodsService();
321
- const paymentMethod = shallowRef();
322
- const get = async ({
323
- customerId,
324
- paymentMethodId
266
+ const je = 50;
267
+ function De() {
268
+ const { getPaymentMethods: t } = Ce(), o = K();
269
+ return { paymentMethod: o, get: async ({
270
+ customerId: n,
271
+ paymentMethodId: i
325
272
  }) => {
326
- const response = await getPaginatedFullList(async (page) => {
327
- const pageResponse = await getPaymentMethods({
328
- customerId,
329
- pagination: { page, pageSize: PAGE_SIZE }
273
+ const s = await we(async (r) => {
274
+ const l = await t({
275
+ customerId: n,
276
+ pagination: { page: r, pageSize: je }
330
277
  });
331
- if (!isApiSuccessCollectionResponse(pageResponse)) {
278
+ if (!Se(l))
332
279
  throw new Error("Could not load the customer’s payment methods.");
333
- }
334
- return pageResponse;
280
+ return l;
335
281
  });
336
- paymentMethod.value = response.data.find(({ id }) => id === paymentMethodId);
337
- return paymentMethod.value;
338
- };
339
- return { paymentMethod, get };
282
+ return o.value = s.data.find(({ id: r }) => r === i), o.value;
283
+ } };
340
284
  }
341
- const _hoisted_1$1 = { class: "sv-subscription-cancellation-modal sv-subscription-cancellation-modal__body flex flex-col gap-3" };
342
- const _hoisted_2 = {
285
+ const Fe = { class: "sv-subscription-cancellation-modal sv-subscription-cancellation-modal__body flex flex-col gap-3" }, We = {
343
286
  key: 0,
344
287
  class: "sv-subscription-cancellation-modal__meta flex flex-wrap items-center gap-x-6 gap-y-2 px-3 pb-2"
345
- };
346
- const _hoisted_3 = {
288
+ }, Ve = {
347
289
  key: 0,
348
290
  class: "sv-subscription-cancellation-modal__renews flex gap-1"
349
- };
350
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
291
+ }, Ye = /* @__PURE__ */ O({
351
292
  __name: "SubscriptionCancellationModal",
352
293
  props: {
353
294
  showModal: { type: Boolean },
@@ -356,190 +297,164 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
356
297
  avatar: { type: String }
357
298
  },
358
299
  emits: ["confirmed", "close"],
359
- setup(__props, { emit: __emit }) {
360
- const props = __props;
361
- const emit = __emit;
362
- const { $t, formatDate } = useIntl();
363
- const logger = useLogger();
364
- const { setSubscriptionCancellation } = createSubscriptionsService();
365
- const variant = computed(() => props.variant);
366
- const renewableUntil = computed(() => {
367
- var _a;
368
- const periods = ((_a = props.subscription) == null ? void 0 : _a.inactive_periods) ?? [];
369
- const cancellation = periods.find(({ type }) => type === "CANCEL") ?? periods[0];
370
- if (!cancellation) return void 0;
371
- return formatDate({
372
- date: cancellation.start_at,
373
- format: "date",
374
- offsetType: "local"
375
- });
376
- });
377
- const billingPeriodEndsAt = computed(() => {
378
- var _a, _b;
379
- const invoiceDate = (_b = (_a = props.subscription) == null ? void 0 : _a.next_invoice) == null ? void 0 : _b.invoice_date;
380
- if (!invoiceDate) return void 0;
381
- return formatDate({
382
- date: invoiceDate,
383
- format: "date",
384
- offsetType: "local"
385
- });
386
- });
387
- const renewsOn = billingPeriodEndsAt;
388
- const enabledPricingIds = computed(
300
+ setup(t, { emit: o }) {
301
+ const a = t, n = o, { $t: i, formatDate: s } = N(), r = se(), { setSubscriptionCancellation: l } = _e(), g = u(() => a.variant), b = u(() => {
302
+ var y;
303
+ const d = ((y = a.subscription) == null ? void 0 : y.inactive_periods) ?? [], v = d.find(({ type: j }) => j === "CANCEL") ?? d[0];
304
+ if (v)
305
+ return s({
306
+ date: v.start_at,
307
+ format: "date",
308
+ offsetType: "local"
309
+ });
310
+ }), _ = u(() => {
311
+ var v, y;
312
+ const d = (y = (v = a.subscription) == null ? void 0 : v.next_invoice) == null ? void 0 : y.invoice_date;
313
+ if (d)
314
+ return s({
315
+ date: d,
316
+ format: "date",
317
+ offsetType: "local"
318
+ });
319
+ }), P = _, A = u(
389
320
  () => {
390
- var _a, _b;
391
- return (((_b = (_a = getMostRecentScheduleInfo(props.subscription)) == null ? void 0 : _a.pricing_plan_schedule) == null ? void 0 : _b.enabled_pricings) ?? []).map(({ pricing_id }) => pricing_id).filter((pricingId) => Boolean(pricingId));
321
+ var d, v;
322
+ return (((v = (d = q(a.subscription)) == null ? void 0 : d.pricing_plan_schedule) == null ? void 0 : v.enabled_pricings) ?? []).map(({ pricing_id: y }) => y).filter((y) => !!y);
392
323
  }
393
- );
394
- const { title, explanation, confirmButtonText, cancelButtonText, errorMessage } = useSubscriptionCancellationModalLabels({ variant, renewableUntil, billingPeriodEndsAt });
395
- const { paymentMethod, get: fetchPaymentMethod } = usePaymentMethod();
396
- watch(
324
+ ), { title: x, explanation: k, confirmButtonText: L, cancelButtonText: B, errorMessage: T } = Ie({ variant: g, renewableUntil: b, billingPeriodEndsAt: _ }), { paymentMethod: $, get: I } = De();
325
+ W(
397
326
  [
398
- () => props.showModal,
327
+ () => a.showModal,
399
328
  () => {
400
- var _a;
401
- return (_a = props.subscription) == null ? void 0 : _a.payment_method_id;
329
+ var d;
330
+ return (d = a.subscription) == null ? void 0 : d.payment_method_id;
402
331
  },
403
332
  () => {
404
- var _a;
405
- return (_a = props.subscription) == null ? void 0 : _a.customer_id;
333
+ var d;
334
+ return (d = a.subscription) == null ? void 0 : d.customer_id;
406
335
  }
407
336
  ],
408
- ([showModal, paymentMethodId, customerId]) => {
409
- var _a;
410
- if (!showModal || !paymentMethodId || !customerId) return;
411
- if (paymentMethodId === ((_a = paymentMethod.value) == null ? void 0 : _a.id)) return;
412
- void fetchPaymentMethod({ customerId, paymentMethodId }).catch(() => void 0);
337
+ ([d, v, y]) => {
338
+ var j;
339
+ !d || !v || !y || v !== ((j = $.value) == null ? void 0 : j.id) && I({ customerId: y, paymentMethodId: v }).catch(() => {
340
+ });
413
341
  },
414
- { immediate: true }
342
+ { immediate: !0 }
415
343
  );
416
- const isSubmitting = ref(false);
417
- const hasFailed = ref(false);
418
- watch(
419
- () => props.showModal,
420
- (showModal) => {
421
- if (!showModal) return;
422
- hasFailed.value = false;
344
+ const f = D(!1), h = D(!1);
345
+ W(
346
+ () => a.showModal,
347
+ (d) => {
348
+ d && (h.value = !1);
423
349
  }
424
350
  );
425
- const handleConfirm = async () => {
426
- if (!props.subscription || !props.variant || isSubmitting.value) {
427
- return;
428
- }
429
- isSubmitting.value = true;
430
- hasFailed.value = false;
431
- try {
432
- await setSubscriptionCancellation({
433
- id: props.subscription.id,
434
- variant: props.variant
435
- });
436
- emit("confirmed");
437
- emit("close");
438
- } catch (error) {
439
- logger.error(
440
- "SUBSCRIPTION_CANCELLATION_FAILED",
441
- "Failed to change the cancellation state of a subscription",
442
- { variant: props.variant },
443
- error
444
- );
445
- hasFailed.value = true;
446
- } finally {
447
- isSubmitting.value = false;
351
+ const R = async () => {
352
+ if (!(!a.subscription || !a.variant || f.value)) {
353
+ f.value = !0, h.value = !1;
354
+ try {
355
+ await l({
356
+ id: a.subscription.id,
357
+ variant: a.variant
358
+ }), n("confirmed"), n("close");
359
+ } catch (d) {
360
+ r.error(
361
+ "SUBSCRIPTION_CANCELLATION_FAILED",
362
+ "Failed to change the cancellation state of a subscription",
363
+ { variant: a.variant },
364
+ d
365
+ ), h.value = !0;
366
+ } finally {
367
+ f.value = !1;
368
+ }
448
369
  }
370
+ }, H = () => {
371
+ f.value || n("close");
449
372
  };
450
- const handleClose = () => {
451
- if (isSubmitting.value) return;
452
- emit("close");
453
- };
454
- return (_ctx, _cache) => {
455
- return openBlock(), createBlock(unref(Modal), {
456
- size: "md",
457
- "show-modal": __props.showModal,
458
- title: unref(title),
459
- "confirm-button-text": unref(confirmButtonText),
460
- "cancel-button-text": unref(cancelButtonText),
461
- "is-loading": isSubmitting.value,
462
- "no-click-away": isSubmitting.value,
463
- "no-backdrop-close": isSubmitting.value,
464
- onConfirm: handleConfirm,
465
- onClose: handleClose
466
- }, {
467
- body: withCtx(() => [
468
- createElementVNode("div", _hoisted_1$1, [
469
- createVNode(unref(_sfc_main$7), {
470
- variant: "body-sm",
471
- color: "subtle",
472
- tag: "p",
473
- class: "sv-subscription-cancellation-modal__explanation"
474
- }, {
475
- default: withCtx(() => [
476
- createTextVNode(toDisplayString(unref(explanation)), 1)
477
- ]),
478
- _: 1
479
- }),
480
- __props.subscription ? (openBlock(), createBlock(unref(_sfc_main$6), {
481
- key: 0,
482
- "no-spacing": "",
483
- class: "sv-subscription-cancellation-modal__subscription"
484
- }, {
485
- default: withCtx(() => [
486
- createVNode(_sfc_main$9, {
487
- subscription: __props.subscription,
488
- avatar: __props.avatar,
489
- "enabled-pricing-ids": enabledPricingIds.value
490
- }, null, 8, ["subscription", "avatar", "enabled-pricing-ids"]),
491
- unref(renewsOn) || unref(paymentMethod) ? (openBlock(), createElementBlock("div", _hoisted_2, [
492
- unref(renewsOn) ? (openBlock(), createElementBlock("div", _hoisted_3, [
493
- createVNode(unref(_sfc_main$7), {
494
- tag: "span",
495
- variant: "body-xs",
496
- color: "secondary",
497
- weight: "semibold"
498
- }, {
499
- default: withCtx(() => [
500
- createTextVNode(toDisplayString(unref($t)({
501
- defaultMessage: "Renews",
502
- description: "Label before the date the subscription renews, shown in the cancel subscription modal",
503
- id: "subscription_cancellation_modal.renews_label"
504
- })), 1)
505
- ]),
506
- _: 1
507
- }),
508
- createVNode(unref(_sfc_main$7), {
509
- tag: "span",
510
- variant: "body-xs",
511
- color: "secondary"
512
- }, {
513
- default: withCtx(() => [
514
- createTextVNode(toDisplayString(unref(renewsOn)), 1)
515
- ]),
516
- _: 1
517
- })
518
- ])) : createCommentVNode("", true),
519
- unref(paymentMethod) ? (openBlock(), createBlock(unref(_sfc_main$a), {
520
- key: 1,
521
- variant: "condensed",
522
- class: "sv-subscription-cancellation-modal__payment-method",
523
- "payment-method": unref(paymentMethod)
524
- }, null, 8, ["payment-method"])) : createCommentVNode("", true)
525
- ])) : createCommentVNode("", true)
526
- ]),
527
- _: 1
528
- })) : createCommentVNode("", true),
529
- hasFailed.value ? (openBlock(), createBlock(unref(_sfc_main$b), {
530
- key: 1,
531
- class: "sv-subscription-cancellation-modal__error sv-error",
532
- title: unref(errorMessage)
533
- }, null, 8, ["title"])) : createCommentVNode("", true)
534
- ])
535
- ]),
536
- _: 1
537
- }, 8, ["show-modal", "title", "confirm-button-text", "cancel-button-text", "is-loading", "no-click-away", "no-backdrop-close"]);
538
- };
373
+ return (d, v) => (c(), m(e(ve), {
374
+ size: "md",
375
+ "show-modal": t.showModal,
376
+ title: e(x),
377
+ "confirm-button-text": e(L),
378
+ "cancel-button-text": e(B),
379
+ "is-loading": f.value,
380
+ "no-click-away": f.value,
381
+ "no-backdrop-close": f.value,
382
+ onConfirm: R,
383
+ onClose: H
384
+ }, {
385
+ body: p(() => [
386
+ U("div", Fe, [
387
+ M(e(E), {
388
+ variant: "body-sm",
389
+ color: "subtle",
390
+ tag: "p",
391
+ class: "sv-subscription-cancellation-modal__explanation"
392
+ }, {
393
+ default: p(() => [
394
+ w(S(e(k)), 1)
395
+ ]),
396
+ _: 1
397
+ }),
398
+ t.subscription ? (c(), m(e(Y), {
399
+ key: 0,
400
+ "no-spacing": "",
401
+ class: "sv-subscription-cancellation-modal__subscription"
402
+ }, {
403
+ default: p(() => [
404
+ M(ye, {
405
+ subscription: t.subscription,
406
+ avatar: t.avatar,
407
+ "enabled-pricing-ids": A.value
408
+ }, null, 8, ["subscription", "avatar", "enabled-pricing-ids"]),
409
+ e(P) || e($) ? (c(), F("div", We, [
410
+ e(P) ? (c(), F("div", Ve, [
411
+ M(e(E), {
412
+ tag: "span",
413
+ variant: "body-xs",
414
+ color: "secondary",
415
+ weight: "semibold"
416
+ }, {
417
+ default: p(() => [
418
+ w(S(e(i)({
419
+ defaultMessage: "Renews",
420
+ description: "Label before the date the subscription renews, shown in the cancel subscription modal",
421
+ id: "subscription_cancellation_modal.renews_label"
422
+ })), 1)
423
+ ]),
424
+ _: 1
425
+ }),
426
+ M(e(E), {
427
+ tag: "span",
428
+ variant: "body-xs",
429
+ color: "secondary"
430
+ }, {
431
+ default: p(() => [
432
+ w(S(e(P)), 1)
433
+ ]),
434
+ _: 1
435
+ })
436
+ ])) : C("", !0),
437
+ e($) ? (c(), m(e(he), {
438
+ key: 1,
439
+ variant: "condensed",
440
+ class: "sv-subscription-cancellation-modal__payment-method",
441
+ "payment-method": e($)
442
+ }, null, 8, ["payment-method"])) : C("", !0)
443
+ ])) : C("", !0)
444
+ ]),
445
+ _: 1
446
+ })) : C("", !0),
447
+ h.value ? (c(), m(e(G), {
448
+ key: 1,
449
+ class: "sv-subscription-cancellation-modal__error sv-error",
450
+ title: e(T)
451
+ }, null, 8, ["title"])) : C("", !0)
452
+ ])
453
+ ]),
454
+ _: 1
455
+ }, 8, ["show-modal", "title", "confirm-button-text", "cancel-button-text", "is-loading", "no-click-away", "no-backdrop-close"]));
539
456
  }
540
- });
541
- const _hoisted_1 = { class: "sv-subscription-details__header flex flex-col gap-2 md:flex-row md:items-center" };
542
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
457
+ }), ze = { class: "sv-subscription-details__header flex flex-col gap-2 md:flex-row md:items-center" }, Ge = /* @__PURE__ */ O({
543
458
  __name: "SubscriptionDetails",
544
459
  props: {
545
460
  subscription: { type: Object },
@@ -553,195 +468,184 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
553
468
  error: { type: null }
554
469
  },
555
470
  emits: ["top-up-charged", "auto-top-up-saved", "auto-top-up-cancelled", "payment-method-stored", "subscription-changed"],
556
- setup(__props, { emit: __emit }) {
557
- const props = __props;
558
- const emit = __emit;
559
- const { $t } = useIntl();
560
- const {
561
- isCancellable,
562
- isRenewable,
563
- pendingVariant,
564
- cancel: handleCancel,
565
- renew: handleRenew,
566
- dismiss: handleDismissCancellation,
567
- manage: handleUpgrade
568
- } = useSubscriptionActions({ subscription: toRef(props, "subscription") });
569
- const confirmedVariant = ref();
570
- watch(pendingVariant, (variant) => {
571
- if (variant) confirmedVariant.value = void 0;
471
+ setup(t, { emit: o }) {
472
+ const a = Q(
473
+ () => import("../../SubscriptionSchedules-Dc0rUnnf.mjs")
474
+ ), n = t, i = o, { $t: s } = N(), {
475
+ isCancellable: r,
476
+ isRenewable: l,
477
+ pendingVariant: g,
478
+ cancel: b,
479
+ renew: _,
480
+ dismiss: P,
481
+ manage: A
482
+ } = Ee({ subscription: X(n, "subscription") }), x = D();
483
+ W(g, (f) => {
484
+ f && (x.value = void 0);
572
485
  });
573
- const handleCancellationConfirmed = () => {
574
- confirmedVariant.value = pendingVariant.value;
575
- emit("subscription-changed");
576
- };
577
- const cancellationSuccessMessage = computed(() => {
578
- if (!confirmedVariant.value) return void 0;
579
- return confirmedVariant.value === "RENEW" ? $t({
580
- defaultMessage: "Your subscription has been renewed.",
581
- id: "subscription_details.renew_success",
582
- description: "Confirmation shown after a cancellation has been undone"
583
- }) : $t({
584
- defaultMessage: "Your subscription has been cancelled. You keep access until the end of the billing period.",
585
- id: "subscription_details.cancel_success",
586
- description: "Confirmation shown after a subscription has been cancelled"
587
- });
588
- });
589
- const currentScheduleInfo = computed(() => getMostRecentScheduleInfo(props.subscription));
590
- const subscriptionPaymentMethod = computed(
591
- () => (props.paymentMethods ?? []).find(({ id }) => {
592
- var _a;
593
- return id === ((_a = props.subscription) == null ? void 0 : _a.payment_method_id);
486
+ const k = () => {
487
+ x.value = g.value, i("subscription-changed");
488
+ }, L = u(() => {
489
+ if (x.value)
490
+ return x.value === "RENEW" ? s({
491
+ defaultMessage: "Your subscription has been renewed.",
492
+ id: "subscription_details.renew_success",
493
+ description: "Confirmation shown after a cancellation has been undone"
494
+ }) : s({
495
+ defaultMessage: "Your subscription has been cancelled. You keep access until the end of the billing period.",
496
+ id: "subscription_details.cancel_success",
497
+ description: "Confirmation shown after a subscription has been cancelled"
498
+ });
499
+ }), B = u(() => q(n.subscription)), T = u(
500
+ () => (n.paymentMethods ?? []).find(({ id: f }) => {
501
+ var h;
502
+ return f === ((h = n.subscription) == null ? void 0 : h.payment_method_id);
594
503
  })
595
- );
596
- const topUpSubscriptions = computed(() => props.subscription ? [props.subscription] : []);
597
- const title = computed(
598
- () => getSubscriptionName({
599
- subscription: props.subscription,
600
- fallback: $t({
504
+ ), $ = u(() => n.subscription ? [n.subscription] : []), I = u(
505
+ () => ce({
506
+ subscription: n.subscription,
507
+ fallback: s({
601
508
  defaultMessage: "Subscription details",
602
509
  id: "subscription_details.title",
603
510
  description: "Title for the subscription details page"
604
511
  })
605
512
  })
606
513
  );
607
- return (_ctx, _cache) => {
608
- return openBlock(), createBlock(unref(ContentWithAsideLayout), { class: "sv-subscription-details sv-root sv-screen" }, {
609
- header: withCtx(() => [
610
- createElementVNode("div", _hoisted_1, [
611
- createVNode(unref(_sfc_main$7), {
612
- variant: "heading-2",
613
- tag: "h1",
614
- class: "sv-subscription-details__title grow"
615
- }, {
616
- default: withCtx(() => [
617
- createTextVNode(toDisplayString(title.value), 1)
618
- ]),
619
- _: 1
620
- }),
621
- unref(isRenewable) ? (openBlock(), createBlock(unref(_sfc_main$8), {
622
- key: 0,
623
- intent: "secondary",
624
- class: "sv-action sv-action--secondary sv-subscription-details__renew w-full md:w-auto",
625
- type: "button",
626
- onClick: unref(handleRenew)
627
- }, {
628
- default: withCtx(() => [
629
- createTextVNode(toDisplayString(unref($t)({
630
- defaultMessage: "Renew subscription",
631
- id: "subscription_details.renew_button.label",
632
- description: "Label for the renew subscription button on the subscription details page"
633
- })), 1)
634
- ]),
635
- _: 1
636
- }, 8, ["onClick"])) : createCommentVNode("", true),
637
- unref(isCancellable) ? (openBlock(), createBlock(unref(_sfc_main$8), {
638
- key: 1,
639
- intent: "secondary",
640
- class: "sv-action sv-action--secondary sv-subscription-details__cancel w-full md:w-auto",
641
- type: "button",
642
- onClick: unref(handleCancel)
643
- }, {
644
- default: withCtx(() => [
645
- createTextVNode(toDisplayString(unref($t)({
646
- defaultMessage: "Cancel subscription",
647
- id: "subscription_details.cancel_button.label",
648
- description: "Label for the cancel subscription button on the subscription details page"
649
- })), 1)
650
- ]),
651
- _: 1
652
- }, 8, ["onClick"])) : createCommentVNode("", true)
653
- ])
654
- ]),
655
- content: withCtx(() => [
656
- cancellationSuccessMessage.value ? (openBlock(), createBlock(unref(_sfc_main$e), {
514
+ return (f, h) => (c(), m(e(re), { class: "sv-subscription-details sv-root sv-screen" }, {
515
+ header: p(() => [
516
+ U("div", ze, [
517
+ M(e(E), {
518
+ variant: "heading-2",
519
+ tag: "h1",
520
+ class: "sv-subscription-details__title grow"
521
+ }, {
522
+ default: p(() => [
523
+ w(S(I.value), 1)
524
+ ]),
525
+ _: 1
526
+ }),
527
+ e(l) ? (c(), m(e(V), {
657
528
  key: 0,
658
- class: "sv-subscription-details__cancellation-success",
659
- type: "success",
660
- title: cancellationSuccessMessage.value
661
- }, null, 8, ["title"])) : createCommentVNode("", true),
662
- __props.error ? (openBlock(), createBlock(unref(_sfc_main$b), {
663
- key: 1,
664
- class: "sv-subscription-details__error sv-error",
665
- title: unref($t)({
666
- defaultMessage: "Unable to load this subscription. Please try again later.",
667
- id: "subscription_details.load_error",
668
- description: "Error message shown when the subscription cannot be loaded on the subscription details page"
669
- })
670
- }, null, 8, ["title"])) : __props.isLoading ? (openBlock(), createBlock(_sfc_main$f, {
671
- key: 2,
672
- variant: "section",
673
- class: "min-h-[220px]"
674
- })) : __props.subscription ? (openBlock(), createBlock(_sfc_main$g, {
675
- key: 3,
676
- class: "sv-subscription-details__schedules",
677
- "schedules-data": __props.schedulesData ?? [],
678
- configuration: { subscriptionId: __props.subscription.id },
679
- "is-loading": __props.isLoading
680
- }, null, 8, ["schedules-data", "configuration", "is-loading"])) : (openBlock(), createBlock(_sfc_main$h, {
681
- key: 4,
682
- class: "sv-subscription-details__empty-state",
683
- icon: "receipt_long"
529
+ intent: "secondary",
530
+ class: "sv-action sv-action--secondary sv-subscription-details__renew w-full md:w-auto",
531
+ type: "button",
532
+ onClick: e(_)
684
533
  }, {
685
- title: withCtx(() => [
686
- createTextVNode(toDisplayString(unref($t)({
687
- defaultMessage: "Subscription not found",
688
- id: "subscription_details.empty_state.title",
689
- description: "Title shown when the requested subscription does not exist"
534
+ default: p(() => [
535
+ w(S(e(s)({
536
+ defaultMessage: "Renew subscription",
537
+ id: "subscription_details.renew_button.label",
538
+ description: "Label for the renew subscription button on the subscription details page"
690
539
  })), 1)
691
540
  ]),
692
- message: withCtx(() => [
693
- createTextVNode(toDisplayString(unref($t)({
694
- defaultMessage: "This subscription is no longer available.",
695
- id: "subscription_details.empty_state.message",
696
- description: "Message shown when the requested subscription does not exist"
541
+ _: 1
542
+ }, 8, ["onClick"])) : C("", !0),
543
+ e(r) ? (c(), m(e(V), {
544
+ key: 1,
545
+ intent: "secondary",
546
+ class: "sv-action sv-action--secondary sv-subscription-details__cancel w-full md:w-auto",
547
+ type: "button",
548
+ onClick: e(b)
549
+ }, {
550
+ default: p(() => [
551
+ w(S(e(s)({
552
+ defaultMessage: "Cancel subscription",
553
+ id: "subscription_details.cancel_button.label",
554
+ description: "Label for the cancel subscription button on the subscription details page"
697
555
  })), 1)
698
556
  ]),
699
557
  _: 1
700
- }))
701
- ]),
702
- aside: withCtx(() => [
703
- createVNode(_sfc_main$c, {
704
- class: "sv-subscription-details__wallet-balances",
705
- "has-error": Boolean(__props.hasWalletBalancesError),
706
- "is-loading": __props.isLoading,
707
- "wallet-balances": __props.walletBalances,
708
- "show-top-up-button": "",
709
- customer: __props.customer,
710
- "payment-methods": __props.paymentMethods,
711
- subscriptions: topUpSubscriptions.value,
712
- onTopUpCharged: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("top-up-charged")),
713
- onAutoTopUpSaved: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("auto-top-up-saved")),
714
- onAutoTopUpCancelled: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("auto-top-up-cancelled")),
715
- onPaymentMethodStored: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("payment-method-stored"))
716
- }, null, 8, ["has-error", "is-loading", "wallet-balances", "customer", "payment-methods", "subscriptions"]),
717
- currentScheduleInfo.value ? (openBlock(), createBlock(_sfc_main$4, {
718
- key: 0,
719
- class: "sv-subscription-details__upgrades",
720
- "pricing-plan-schedule": currentScheduleInfo.value,
721
- onUpgrade: unref(handleUpgrade)
722
- }, null, 8, ["pricing-plan-schedule", "onUpgrade"])) : createCommentVNode("", true),
723
- subscriptionPaymentMethod.value ? (openBlock(), createBlock(_sfc_main$d, {
724
- key: 1,
725
- class: "sv-subscription-details__payment-method",
726
- "is-loading": __props.isLoading,
727
- "payment-methods": [subscriptionPaymentMethod.value],
728
- configuration: { showViewAllButton: false, showAddButton: false }
729
- }, null, 8, ["is-loading", "payment-methods"])) : createCommentVNode("", true),
730
- createVNode(_sfc_main$3, {
731
- "show-modal": Boolean(unref(pendingVariant)),
732
- variant: unref(pendingVariant),
733
- subscription: __props.subscription,
734
- avatar: __props.avatar,
735
- onConfirmed: handleCancellationConfirmed,
736
- onClose: unref(handleDismissCancellation)
737
- }, null, 8, ["show-modal", "variant", "subscription", "avatar", "onClose"])
738
- ]),
739
- _: 1
740
- });
741
- };
558
+ }, 8, ["onClick"])) : C("", !0)
559
+ ])
560
+ ]),
561
+ content: p(() => [
562
+ L.value ? (c(), m(e(ae), {
563
+ key: 0,
564
+ class: "sv-subscription-details__cancellation-success",
565
+ type: "success",
566
+ title: L.value
567
+ }, null, 8, ["title"])) : C("", !0),
568
+ t.error ? (c(), m(e(G), {
569
+ key: 1,
570
+ class: "sv-subscription-details__error sv-error",
571
+ title: e(s)({
572
+ defaultMessage: "Unable to load this subscription. Please try again later.",
573
+ id: "subscription_details.load_error",
574
+ description: "Error message shown when the subscription cannot be loaded on the subscription details page"
575
+ })
576
+ }, null, 8, ["title"])) : t.isLoading ? (c(), m(be, {
577
+ key: 2,
578
+ variant: "section",
579
+ class: "min-h-[220px]"
580
+ })) : t.subscription ? (c(), m(e(a), {
581
+ key: 3,
582
+ class: "sv-subscription-details__schedules",
583
+ "schedules-data": t.schedulesData ?? [],
584
+ configuration: { subscriptionId: t.subscription.id },
585
+ "is-loading": t.isLoading
586
+ }, null, 8, ["schedules-data", "configuration", "is-loading"])) : (c(), m(me, {
587
+ key: 4,
588
+ class: "sv-subscription-details__empty-state",
589
+ icon: "receipt_long"
590
+ }, {
591
+ title: p(() => [
592
+ w(S(e(s)({
593
+ defaultMessage: "Subscription not found",
594
+ id: "subscription_details.empty_state.title",
595
+ description: "Title shown when the requested subscription does not exist"
596
+ })), 1)
597
+ ]),
598
+ message: p(() => [
599
+ w(S(e(s)({
600
+ defaultMessage: "This subscription is no longer available.",
601
+ id: "subscription_details.empty_state.message",
602
+ description: "Message shown when the requested subscription does not exist"
603
+ })), 1)
604
+ ]),
605
+ _: 1
606
+ }))
607
+ ]),
608
+ aside: p(() => [
609
+ M(ue, {
610
+ class: "sv-subscription-details__wallet-balances",
611
+ "has-error": !!t.hasWalletBalancesError,
612
+ "is-loading": t.isLoading,
613
+ "wallet-balances": t.walletBalances,
614
+ "show-top-up-button": "",
615
+ customer: t.customer,
616
+ "payment-methods": t.paymentMethods,
617
+ subscriptions: $.value,
618
+ onTopUpCharged: h[0] || (h[0] = (R) => f.$emit("top-up-charged")),
619
+ onAutoTopUpSaved: h[1] || (h[1] = (R) => f.$emit("auto-top-up-saved")),
620
+ onAutoTopUpCancelled: h[2] || (h[2] = (R) => f.$emit("auto-top-up-cancelled")),
621
+ onPaymentMethodStored: h[3] || (h[3] = (R) => f.$emit("payment-method-stored"))
622
+ }, null, 8, ["has-error", "is-loading", "wallet-balances", "customer", "payment-methods", "subscriptions"]),
623
+ B.value ? (c(), m(Ne, {
624
+ key: 0,
625
+ class: "sv-subscription-details__upgrades",
626
+ "pricing-plan-schedule": B.value,
627
+ onUpgrade: e(A)
628
+ }, null, 8, ["pricing-plan-schedule", "onUpgrade"])) : C("", !0),
629
+ T.value ? (c(), m(pe, {
630
+ key: 1,
631
+ class: "sv-subscription-details__payment-method",
632
+ "is-loading": t.isLoading,
633
+ "payment-methods": [T.value],
634
+ configuration: { showViewAllButton: !1, showAddButton: !1 }
635
+ }, null, 8, ["is-loading", "payment-methods"])) : C("", !0),
636
+ M(Ye, {
637
+ "show-modal": !!e(g),
638
+ variant: e(g),
639
+ subscription: t.subscription,
640
+ avatar: t.avatar,
641
+ onConfirmed: k,
642
+ onClose: e(P)
643
+ }, null, 8, ["show-modal", "variant", "subscription", "avatar", "onClose"])
644
+ ]),
645
+ _: 1
646
+ }));
742
647
  }
743
- });
744
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
648
+ }), qe = /* @__PURE__ */ O({
745
649
  __name: "SubscriptionDetails.entry.view",
746
650
  props: {
747
651
  configuration: { type: Object },
@@ -760,52 +664,40 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
760
664
  cssOverrides: { type: [String, Array] },
761
665
  branding: { type: Object }
762
666
  },
763
- setup(__props) {
764
- const props = __props;
765
- const customerId = props.portalObject.customer_id;
766
- const {
767
- subscription,
768
- withPlanData,
769
- get: fetchSubscription,
770
- error
771
- } = useSubscription({ subscriptionId: props.configuration.subscriptionId });
772
- const { customer, get: fetchCustomer } = useCustomer({ customerId });
773
- const { items: paymentMethods, fetchAll: fetchPaymentMethods } = usePaymentMethods({ customerId });
774
- const {
775
- walletBalances,
776
- apiStatus: walletBalancesApiStatus,
777
- fetch: fetchWalletBalances
778
- } = useCustomerWalletBalances({ customerId });
779
- const { isLoading } = useLoadInitialData(
780
- fetchSubscription(),
781
- fetchCustomer.execute(),
782
- fetchPaymentMethods(),
783
- fetchWalletBalances()
784
- );
785
- const schedulesData = computed(() => subscription.value ? withPlanData(subscription.value) : []);
786
- const walletBalanceItems = computed(() => {
787
- var _a;
788
- return ((_a = walletBalances.value) == null ? void 0 : _a.wallet_balances) ?? [];
667
+ setup(t) {
668
+ const o = t, a = o.portalObject.customer_id, {
669
+ subscription: n,
670
+ withPlanData: i,
671
+ get: s,
672
+ error: r
673
+ } = xe({ subscriptionId: o.configuration.subscriptionId }), { customer: l, get: g } = $e({ customerId: a }), { items: b, fetchAll: _ } = Pe({ customerId: a }), {
674
+ walletBalances: P,
675
+ apiStatus: A,
676
+ fetch: x
677
+ } = de({ customerId: a }), { isLoading: k } = Ae(
678
+ s(),
679
+ g.execute(),
680
+ _(),
681
+ x()
682
+ ), L = u(() => n.value ? i(n.value) : []), B = u(() => {
683
+ var $;
684
+ return (($ = P.value) == null ? void 0 : $.wallet_balances) ?? [];
685
+ }), T = u(() => A.value === Me.Failed);
686
+ return ($, I) => ee($.$slots, "default", {
687
+ subscription: e(n),
688
+ schedulesData: L.value,
689
+ customer: e(l),
690
+ paymentMethods: e(b),
691
+ walletBalances: B.value,
692
+ hasWalletBalancesError: T.value,
693
+ isLoading: e(k),
694
+ error: e(r),
695
+ refreshWalletBalances: e(x),
696
+ refreshPaymentMethods: e(_),
697
+ refreshSubscription: e(s)
789
698
  });
790
- const hasWalletBalancesError = computed(() => walletBalancesApiStatus.value === ApiStatus.Failed);
791
- return (_ctx, _cache) => {
792
- return renderSlot(_ctx.$slots, "default", {
793
- subscription: unref(subscription),
794
- schedulesData: schedulesData.value,
795
- customer: unref(customer),
796
- paymentMethods: unref(paymentMethods),
797
- walletBalances: walletBalanceItems.value,
798
- hasWalletBalancesError: hasWalletBalancesError.value,
799
- isLoading: unref(isLoading),
800
- error: unref(error),
801
- refreshWalletBalances: unref(fetchWalletBalances),
802
- refreshPaymentMethods: unref(fetchPaymentMethods),
803
- refreshSubscription: unref(fetchSubscription)
804
- });
805
- };
806
699
  }
807
- });
808
- const _sfc_main = /* @__PURE__ */ defineComponent({
700
+ }), He = /* @__PURE__ */ O({
809
701
  __name: "SubscriptionDetails.entry",
810
702
  props: {
811
703
  configuration: { type: Object },
@@ -824,59 +716,56 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
824
716
  cssOverrides: { type: [String, Array] },
825
717
  branding: { type: Object }
826
718
  },
827
- setup(__props) {
828
- const componentName = getComponentName("subscription-details");
829
- return (_ctx, _cache) => {
830
- return openBlock(), createBlock(unref(_sfc_main$i), {
831
- entry: _ctx.$props,
832
- "component-name": unref(componentName),
833
- "allowed-portal-types": ["CUSTOMER"],
834
- onError: _cache[0] || (_cache[0] = (error) => _ctx.$emit("error", error))
835
- }, {
836
- default: withCtx(() => [
837
- createVNode(_sfc_main$1, normalizeProps(guardReactiveProps(_ctx.$props)), {
838
- default: withCtx(({
839
- subscription,
840
- schedulesData,
841
- customer,
842
- paymentMethods,
843
- walletBalances,
844
- hasWalletBalancesError,
845
- isLoading,
846
- error,
847
- refreshWalletBalances,
848
- refreshPaymentMethods,
849
- refreshSubscription
850
- }) => [
851
- createVNode(_sfc_main$2, {
852
- subscription,
853
- "schedules-data": schedulesData,
854
- customer,
855
- avatar: __props.configuration.avatar,
856
- "payment-methods": paymentMethods,
857
- "wallet-balances": walletBalances,
858
- "has-wallet-balances-error": hasWalletBalancesError,
859
- "is-loading": isLoading,
860
- error,
861
- onTopUpCharged: refreshWalletBalances,
862
- onAutoTopUpSaved: refreshWalletBalances,
863
- onAutoTopUpCancelled: refreshWalletBalances,
864
- onPaymentMethodStored: refreshPaymentMethods,
865
- onSubscriptionChanged: refreshSubscription
866
- }, null, 8, ["subscription", "schedules-data", "customer", "avatar", "payment-methods", "wallet-balances", "has-wallet-balances-error", "is-loading", "error", "onTopUpCharged", "onAutoTopUpSaved", "onAutoTopUpCancelled", "onPaymentMethodStored", "onSubscriptionChanged"])
867
- ]),
868
- _: 1
869
- }, 16)
870
- ]),
871
- _: 1
872
- }, 8, ["entry", "component-name"]);
873
- };
719
+ setup(t) {
720
+ const o = ke("subscription-details");
721
+ return (a, n) => (c(), m(e(ie), {
722
+ entry: a.$props,
723
+ "component-name": e(o),
724
+ "allowed-portal-types": ["CUSTOMER"],
725
+ onError: n[0] || (n[0] = (i) => a.$emit("error", i))
726
+ }, {
727
+ default: p(() => [
728
+ M(qe, te(ne(a.$props)), {
729
+ default: p(({
730
+ subscription: i,
731
+ schedulesData: s,
732
+ customer: r,
733
+ paymentMethods: l,
734
+ walletBalances: g,
735
+ hasWalletBalancesError: b,
736
+ isLoading: _,
737
+ error: P,
738
+ refreshWalletBalances: A,
739
+ refreshPaymentMethods: x,
740
+ refreshSubscription: k
741
+ }) => [
742
+ M(Ge, {
743
+ subscription: i,
744
+ "schedules-data": s,
745
+ customer: r,
746
+ avatar: t.configuration.avatar,
747
+ "payment-methods": l,
748
+ "wallet-balances": g,
749
+ "has-wallet-balances-error": b,
750
+ "is-loading": _,
751
+ error: P,
752
+ onTopUpCharged: A,
753
+ onAutoTopUpSaved: A,
754
+ onAutoTopUpCancelled: A,
755
+ onPaymentMethodStored: x,
756
+ onSubscriptionChanged: k
757
+ }, null, 8, ["subscription", "schedules-data", "customer", "avatar", "payment-methods", "wallet-balances", "has-wallet-balances-error", "is-loading", "error", "onTopUpCharged", "onAutoTopUpSaved", "onAutoTopUpCancelled", "onPaymentMethodStored", "onSubscriptionChanged"])
758
+ ]),
759
+ _: 1
760
+ }, 16)
761
+ ]),
762
+ _: 1
763
+ }, 8, ["entry", "component-name"]));
874
764
  }
875
- });
876
- const { define: defineSolvimonSubscriptionDetails } = createSolvimonElement(
877
- _sfc_main,
765
+ }), { define: Ct } = oe(
766
+ He,
878
767
  "subscription-details"
879
768
  );
880
769
  export {
881
- defineSolvimonSubscriptionDetails
770
+ Ct as defineSolvimonSubscriptionDetails
882
771
  };