@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,141 +0,0 @@
1
- import { defineComponent, computed, openBlock, createBlock, withCtx, createElementVNode, createVNode, unref, createTextVNode, toDisplayString, renderSlot, toValue, watch } from "vue";
2
- import { u as useIntl, _ as _sfc_main$2, b as useLogger } from "./customElements-B-89a5oH.mjs";
3
- import { _ as _sfc_main$1 } from "./PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CsH47WSM.mjs";
4
- import { h as hasRenderablePaymentIntegration } from "./PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CRUs7sP4.mjs";
5
- import { u as useExperimentalFeature } from "./useExperimentalFeature-DvxOrFPU.mjs";
6
- const _hoisted_1 = { class: "flex flex-col items-center gap-4" };
7
- const _sfc_main = /* @__PURE__ */ defineComponent({
8
- __name: "PaymentMethodsUnavailableCard",
9
- props: {
10
- variant: { type: String },
11
- sellerName: { type: String }
12
- },
13
- setup(__props) {
14
- const props = __props;
15
- const { $t } = useIntl();
16
- const title = computed(
17
- () => props.variant === "AUTHORIZE" ? $t({
18
- defaultMessage: "This invoice cannot be paid online",
19
- description: "Title shown when no payment method can be offered for paying an invoice",
20
- id: "payment_methods_unavailable_card.title.authorize"
21
- }) : $t({
22
- defaultMessage: "No payment methods can be added",
23
- description: "Title shown when no payment method can be offered for storing a payment method",
24
- id: "payment_methods_unavailable_card.title.tokenize"
25
- })
26
- );
27
- const description = computed(() => {
28
- if (props.variant === "AUTHORIZE") {
29
- return props.sellerName ? $t(
30
- {
31
- defaultMessage: "Online payment is not set up for this invoice. {sellerName} can settle it with you directly.",
32
- description: "Body text shown when an invoice cannot be paid online, naming the seller",
33
- id: "payment_methods_unavailable_card.description.authorize_with_seller"
34
- },
35
- { sellerName: props.sellerName }
36
- ) : $t({
37
- defaultMessage: "Online payment is not set up for this invoice. The party that issued it can settle it with you directly.",
38
- description: "Body text shown when an invoice cannot be paid online",
39
- id: "payment_methods_unavailable_card.description.authorize"
40
- });
41
- }
42
- return props.sellerName ? $t(
43
- {
44
- defaultMessage: "No online payment methods are set up. {sellerName} can arrange payment with you directly.",
45
- description: "Body text shown when no payment method can be stored, naming the seller",
46
- id: "payment_methods_unavailable_card.description.tokenize_with_seller"
47
- },
48
- { sellerName: props.sellerName }
49
- ) : $t({
50
- defaultMessage: "No online payment methods are set up.",
51
- description: "Body text shown when no payment method can be stored",
52
- id: "payment_methods_unavailable_card.description.tokenize"
53
- });
54
- });
55
- return (_ctx, _cache) => {
56
- return openBlock(), createBlock(_sfc_main$1, {
57
- status: "error",
58
- title: title.value,
59
- class: "sv-payment-methods-unavailable-card",
60
- "data-testid": "payment-methods-unavailable"
61
- }, {
62
- default: withCtx(() => [
63
- createElementVNode("div", _hoisted_1, [
64
- createVNode(unref(_sfc_main$2), {
65
- variant: "body-xs",
66
- color: "subtle",
67
- class: "mt-3"
68
- }, {
69
- default: withCtx(() => [
70
- createTextVNode(toDisplayString(description.value), 1)
71
- ]),
72
- _: 1
73
- }),
74
- renderSlot(_ctx.$slots, "default")
75
- ])
76
- ]),
77
- _: 3
78
- }, 8, ["title"]);
79
- };
80
- }
81
- });
82
- function usePaymentMethodAvailability({
83
- paymentMethodOptions,
84
- isLoading,
85
- context
86
- }) {
87
- const logger = useLogger();
88
- const experimentalFeatures = useExperimentalFeature();
89
- const options = computed(
90
- () => toValue(paymentMethodOptions) ?? []
91
- );
92
- const availability = computed(() => {
93
- var _a;
94
- if (toValue(isLoading)) {
95
- return "LOADING";
96
- }
97
- return hasRenderablePaymentIntegration(options.value, {
98
- excludeExpressPaymentMethods: !!((_a = experimentalFeatures == null ? void 0 : experimentalFeatures.value) == null ? void 0 : _a["express-checkout"])
99
- }) ? "READY" : "UNAVAILABLE";
100
- });
101
- const fingerprint = computed(() => {
102
- const paymentAcceptorIds = [
103
- ...new Set(options.value.map(({ payment_acceptor }) => payment_acceptor == null ? void 0 : payment_acceptor.id))
104
- ].filter((id) => !!id);
105
- return [
106
- "NO_PAYMENT_METHODS_AVAILABLE",
107
- ...paymentAcceptorIds.length ? paymentAcceptorIds.sort() : ["no_payment_acceptor"]
108
- ];
109
- });
110
- watch(
111
- () => [availability.value, fingerprint.value.join("|")],
112
- ([currentAvailability, currentFingerprint], previous) => {
113
- if (currentAvailability !== "UNAVAILABLE") {
114
- return;
115
- }
116
- if ((previous == null ? void 0 : previous[0]) === "UNAVAILABLE" && previous[1] === currentFingerprint) {
117
- return;
118
- }
119
- const { invoiceId, subscriptionId } = toValue(context) ?? {};
120
- logger.error(
121
- "NO_PAYMENT_METHODS_AVAILABLE",
122
- "No payment method can be offered to the customer",
123
- {
124
- fingerprint: fingerprint.value,
125
- paymentAcceptorIds: options.value.map(
126
- ({ payment_acceptor }) => payment_acceptor == null ? void 0 : payment_acceptor.id
127
- ),
128
- integrationIds: options.value.map(({ integration }) => integration == null ? void 0 : integration.id),
129
- ...invoiceId ? { invoiceId } : {},
130
- ...subscriptionId ? { subscriptionId } : {}
131
- }
132
- );
133
- },
134
- { immediate: true }
135
- );
136
- return { availability };
137
- }
138
- export {
139
- _sfc_main as _,
140
- usePaymentMethodAvailability as u
141
- };
@@ -1 +0,0 @@
1
- const e=require("./useService-D73FNBjT.js"),t=require("vue"),r=require("./paymentMethods-CZ3ydybI.js");exports.usePaymentMethodOptions=function(){const{getPaymentMethodOptions:n}=r.createPaymentMethodsService(),{data:u,execute:o,apiStatus:i,error:s,isPending:a}=e.useService({initialValue:[],service:e=>function(e){return void 0!==e.customerId}(e)?n({customerId:e.customerId,amount:e.amount,country:e.country}):n({subscriptionId:e.subscriptionId,amount:e.amount,country:e.country})}),c=t.ref();return{paymentMethodOptions:u,get:async t=>{if(e.isEqual(t,c.value))return u.value;const r=await o(t);return c.value=t,r},apiStatus:i,error:s,isPending:a}};
@@ -1,36 +0,0 @@
1
- import { u as useService, a as isEqual } from "./useService-W3Kxems4.mjs";
2
- import { ref } from "vue";
3
- import { c as createPaymentMethodsService } from "./paymentMethods-DIV78w0O.mjs";
4
- function hasCustomerId(payload) {
5
- return payload.customerId !== void 0;
6
- }
7
- function usePaymentMethodOptions() {
8
- const { getPaymentMethodOptions } = createPaymentMethodsService();
9
- const service = (payload) => hasCustomerId(payload) ? getPaymentMethodOptions({
10
- customerId: payload.customerId,
11
- amount: payload.amount,
12
- country: payload.country
13
- }) : getPaymentMethodOptions({
14
- subscriptionId: payload.subscriptionId,
15
- amount: payload.amount,
16
- country: payload.country
17
- });
18
- const initialValue = [];
19
- const { data, execute, apiStatus, error, isPending } = useService({
20
- initialValue,
21
- service
22
- });
23
- const cachedPayload = ref();
24
- const get = async (payload) => {
25
- if (isEqual(payload, cachedPayload.value)) {
26
- return data.value;
27
- }
28
- const options = await execute(payload);
29
- cachedPayload.value = payload;
30
- return options;
31
- };
32
- return { paymentMethodOptions: data, get, apiStatus, error, isPending };
33
- }
34
- export {
35
- usePaymentMethodOptions as u
36
- };
@@ -1,16 +0,0 @@
1
- import { u as useIncrementalLoading } from "./useIncrementalLoading-BK9pRYAU.mjs";
2
- import { c as createPaymentMethodsService } from "./paymentMethods-DIV78w0O.mjs";
3
- function usePaymentMethods({
4
- customerId,
5
- pageSize = 15
6
- }) {
7
- const { getPaymentMethods } = createPaymentMethodsService();
8
- const service = async (page) => getPaymentMethods({
9
- customerId,
10
- pagination: { page, pageSize }
11
- });
12
- return useIncrementalLoading({ service });
13
- }
14
- export {
15
- usePaymentMethods as u
16
- };
@@ -1 +0,0 @@
1
- const e=require("./useIncrementalLoading-CdtGJm_Y.js"),t=require("./paymentMethods-CZ3ydybI.js");exports.usePaymentMethods=function({customerId:n,pageSize:s=15}){const{getPaymentMethods:a}=t.createPaymentMethodsService();return e.useIncrementalLoading({service:async e=>a({customerId:n,pagination:{page:e,pageSize:s}})})};
@@ -1 +0,0 @@
1
- const e=require("vue"),t=require("./customElements-DD7bpqkx.js"),n=require("./IconTitle.vue.es-D9Wc3PIq.js"),a=require("./Chip.vue.es-DmCjC1hi.js"),i=require("./formatting.es-DBtYnvI5.js"),o=require("./index.es-2JWHHSgP.js"),s=require("./Button.vue.es-O8mNivLL.js"),r=require("./FormMessage.vue.es-Bd4_NG9H.js"),c=require("./invoices-BAoh6X2a.js"),l=require("./useService-D73FNBjT.js"),d=require("./payments--lkjiwCt.js"),u={neutral:{indicatorClass:"border-gray-500 bg-gray-500",chipIntent:"neutral"},info:{indicatorClass:"border-blue-600 bg-blue-600",chipIntent:"info"},success:{indicatorClass:"border-green-600 bg-green-600",chipIntent:"success"},warning:{indicatorClass:"border-yellow-600 bg-yellow-600",chipIntent:"warning"},danger:{indicatorClass:"border-red-600 bg-red-600",chipIntent:"danger"}},p={ACCEPTED:"success",ACTIVE:"success",APPROVED:"success",ARCHIVED:"neutral",CANCELLED:"neutral",CLOSED:"success",CREATED:"neutral",DECLINED:"danger",DELETED:"danger",DENIED:"danger",DEPRECATED:"warning",DONE:"success",DOWNLOADED:"success",DOWNLOADING:"info",DRAFT:"warning",DUPLICATE:"warning",EMPTY:"neutral",ENABLED:"success",ERROR:"danger",FAILED:"danger",FINAL:"success",GENERATING:"info",IGNORE:"neutral",IMPORTED:"success",IMPORTING:"info",INACTIVE:"neutral",INVALID:"danger",INVITED:"info",INVITE_REVOKED:"neutral",NONE:"neutral",NOT_EXECUTED:"neutral",NOT_MATCHED:"warning",ON_HOLD:"warning",OPEN:"neutral",OVERPAID:"warning",PAID:"success",PARTIALLY_PAID:"warning",PAUSED:"warning",PAYMENT_FAILED:"danger",PENDING:"info",PENDING_REVIEW:"warning",PROCESSING:"info",QUEUED:"info",REJECTED:"danger",SCHEDULED:"info",SEND:"info",SIGNATURE_REQUESTED:"warning",SIGNED:"success",SUBMITTED:"info",SUCCEEDED:"success",SUCCESS:"success",TO_BE_DOWNLOADED:"info",TO_BE_REPROCESSED:"info",UNPAID:"warning",UPLOADED:"success",VALID:"success",VOID:"neutral",WAITING_APPROVAL:"warning",DISABLED:"neutral"},f=e=>u[p[e]??"neutral"],m={class:"inline-flex flex-col items-end gap-1"},v=e.defineComponent({__name:"DownloadButton",props:{downloadService:{type:Function},mobileIconOnly:{type:Boolean,default:!1},type:{},intent:{default:"secondary"},size:{default:"md"},pill:{type:Boolean},square:{type:Boolean},loading:{type:Boolean},disabled:{type:Boolean},iconPrefix:{},iconSuffix:{},tag:{},preventDoubleClick:{type:Boolean}},setup(n){const{$t:a}=t.useIntl(),i=e.createPropsRestProxy(n,["downloadService","size","intent","mobileIconOnly"]),c=e.ref(!1),l=e.ref(!1),d=o.useBreakpoints(o.breakpointsTailwind).smaller("md"),u=e.computed(()=>n.mobileIconOnly&&d.value),p=async()=>{l.value=!0,c.value=!1;try{await n.downloadService()}catch{c.value=!0}finally{l.value=!1}};return(t,o)=>(e.openBlock(),e.createElementBlock("div",m,[e.createVNode(e.unref(s._sfc_main$1),e.mergeProps({...i,size:n.size,intent:n.intent},{loading:l.value,type:"button","icon-prefix":"download",onClick:p}),e.createSlots({_:2},[t.$slots.default&&!u.value?{name:"default",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),key:"0"}:void 0]),1040,["loading"]),c.value?(e.openBlock(),e.createBlock(e.unref(r._sfc_main),{key:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)({id:"download_button.download_failed_message",defaultMessage:"Download failed, please try again later",description:"Error message when a download fails"})),1)]),_:1})):e.createCommentVNode("",!0)]))}}),E=e.defineComponent({__name:"StatusChip",props:{status:{},size:{default:"md"},hasChipBefore:{type:Boolean,default:!1},hasChipAfter:{type:Boolean,default:!1}},setup:t=>(n,o)=>(e.openBlock(),e.createBlock(a._sfc_main,{intent:e.unref(f)(t.status).chipIntent,size:t.size,"has-chip-after":t.hasChipAfter,"has-chip-before":t.hasChipBefore},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(e.unref(i.formatEnum)(t.status)),1)])]),_:3},8,["intent","size","has-chip-after","has-chip-before"]))}),D={class:"flex items-center justify-between md:py-2"},g={class:"ml-2 inline-flex gap-0.5 print:hidden"},I=e.defineComponent({__name:"InvoiceHeader",props:{invoice:{},paymentAttempts:{},downloadService:{},showDownloadButton:{type:Boolean},variant:{default:"internal"},showInvoiceNumberLabel:{type:Boolean}},setup(i){const o=i,{$t:s,formatDate:r}=t.useIntl(),c=e.computed(()=>o.paymentAttempts.findLast(e=>"AUTHORIZED"===e.result)),l=e.computed(()=>s({defaultMessage:"Due on {date}",description:"Label for due date, where {date} gets replaced with the due date",id:"invoice.due_on_label"},{date:r({date:o.invoice.due_date,format:"date",offsetType:"offsetted",timezone:o.invoice.customer.timezone})})),d=e.computed(()=>r({date:o.invoice.invoice_date,format:"date",offsetType:"offsetted",timezone:o.invoice.customer.timezone})),u=e.computed(()=>s({defaultMessage:"Invoice",description:"Label prefixed before the invoice number in the header title",id:"invoiceHeader.invoiceNumberLabel"})),p=e.computed(()=>{if("external"===o.variant)return d.value;const e=o.invoice.invoice_number;return e?o.showInvoiceNumberLabel?`${u.value} ${e}`:e:u.value}),f=e.computed(()=>{if(o.invoice.paid&&c.value)return s({defaultMessage:"Paid on {date}",description:"Label for payment date, where {date} gets replaced with the date",id:"invoice.paid_on_label"},{date:r({date:c.value.created_at,format:"date",offsetType:"offsetted",timezone:o.invoice.customer.timezone})})}),m=e.computed(()=>"external"===o.variant?[o.invoice.invoice_number,f.value||l.value].join(" - "):f.value||l.value),I=e.computed(()=>"PAID"!==o.invoice.status);return(o,r)=>(e.openBlock(),e.createElementBlock("div",D,[e.createVNode(n._sfc_main,{title:p.value},{suffix:e.withCtx(()=>[e.createElementVNode("span",g,[I.value?(e.openBlock(),e.createBlock(E,{key:0,status:i.invoice.status,"has-chip-after":!!i.invoice.paid},null,8,["status","has-chip-after"])):e.createCommentVNode("",!0),i.invoice.paid?(e.openBlock(),e.createBlock(a._sfc_main,{key:1,intent:"success","has-chip-before":I.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)({defaultMessage:"Paid",description:"The paid chip label text for a paid invoice",id:"invoice.paid_chip"})),1)]),_:1},8,["has-chip-before"])):e.createCommentVNode("",!0)])]),subTitle:e.withCtx(()=>[e.createVNode(t._sfc_main,{variant:"body-xs",class:"flex gap-1 print:hidden"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(m.value),1)]),_:1})]),_:1},8,["title"]),i.showDownloadButton?(e.openBlock(),e.createBlock(v,{key:0,size:"lg",intent:"secondary","download-service":i.downloadService,"mobile-icon-only":""},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)({defaultMessage:"Download PDF",description:"Title for button download pdf invoice",id:"invoice.download_pdf_button"})),1)]),_:1},8,["download-service"])):e.createCommentVNode("",!0)]))}});exports._sfc_main=I,exports.useInvoice=function({invoiceId:e}){const{getInvoice:t,getInvoicePdf:n}=c.createInvoicesService(),{data:a,execute:i,apiStatus:o,error:s,isPending:r}=l.useService({service:()=>t(e)});return{invoice:a,downloadInvoicePdf:n,apiStatus:o,error:s,get:i,isPending:r}},exports.usePayments=function(){const{getPayments:e}=d.createPaymentsService(),{data:t,execute:n,error:a,apiStatus:i,isPending:o}=l.useService({service:e,isCollection:!0});return{payments:t,get:n,error:a,apiStatus:i,isPending:o}};
@@ -1,362 +0,0 @@
1
- import { defineComponent, createPropsRestProxy, ref, computed, openBlock, createElementBlock, createVNode, unref, mergeProps, createSlots, withCtx, renderSlot, createBlock, createTextVNode, toDisplayString, createCommentVNode, createElementVNode } from "vue";
2
- import { u as useIntl, _ as _sfc_main$7 } from "./customElements-B-89a5oH.mjs";
3
- import { _ as _sfc_main$6 } from "./IconTitle.vue.es-BmjBdZb_.mjs";
4
- import { _ as _sfc_main$5 } from "./Chip.vue.es-BBmn-qJp.mjs";
5
- import { a as formatEnum } from "./formatting.es-eYgXv_AK.mjs";
6
- import { a as useBreakpoints, b as breakpointsTailwind } from "./index.es-D5xOw_SJ.mjs";
7
- import { a as _sfc_main$3 } from "./Button.vue.es-Cm9pLU9i.mjs";
8
- import { _ as _sfc_main$4 } from "./FormMessage.vue.es-C3oxwq_8.mjs";
9
- import { c as createInvoicesService } from "./invoices-1oYkdQQV.mjs";
10
- import { u as useService } from "./useService-W3Kxems4.mjs";
11
- import { c as createPaymentsService } from "./payments-Cvqdrprv.mjs";
12
- const statusAppearances = {
13
- neutral: { indicatorClass: "border-gray-500 bg-gray-500", chipIntent: "neutral" },
14
- info: { indicatorClass: "border-blue-600 bg-blue-600", chipIntent: "info" },
15
- success: { indicatorClass: "border-green-600 bg-green-600", chipIntent: "success" },
16
- warning: { indicatorClass: "border-yellow-600 bg-yellow-600", chipIntent: "warning" },
17
- danger: { indicatorClass: "border-red-600 bg-red-600", chipIntent: "danger" }
18
- };
19
- const statusIntents = {
20
- ACCEPTED: "success",
21
- ACTIVE: "success",
22
- APPROVED: "success",
23
- ARCHIVED: "neutral",
24
- CANCELLED: "neutral",
25
- CLOSED: "success",
26
- CREATED: "neutral",
27
- DECLINED: "danger",
28
- DELETED: "danger",
29
- DENIED: "danger",
30
- DEPRECATED: "warning",
31
- DONE: "success",
32
- DOWNLOADED: "success",
33
- DOWNLOADING: "info",
34
- DRAFT: "warning",
35
- DUPLICATE: "warning",
36
- EMPTY: "neutral",
37
- ENABLED: "success",
38
- ERROR: "danger",
39
- FAILED: "danger",
40
- FINAL: "success",
41
- GENERATING: "info",
42
- IGNORE: "neutral",
43
- IMPORTED: "success",
44
- IMPORTING: "info",
45
- INACTIVE: "neutral",
46
- INVALID: "danger",
47
- INVITED: "info",
48
- INVITE_REVOKED: "neutral",
49
- NONE: "neutral",
50
- NOT_EXECUTED: "neutral",
51
- NOT_MATCHED: "warning",
52
- ON_HOLD: "warning",
53
- OPEN: "neutral",
54
- OVERPAID: "warning",
55
- PAID: "success",
56
- PARTIALLY_PAID: "warning",
57
- PAUSED: "warning",
58
- PAYMENT_FAILED: "danger",
59
- PENDING: "info",
60
- PENDING_REVIEW: "warning",
61
- PROCESSING: "info",
62
- QUEUED: "info",
63
- REJECTED: "danger",
64
- SCHEDULED: "info",
65
- SEND: "info",
66
- SIGNATURE_REQUESTED: "warning",
67
- SIGNED: "success",
68
- SUBMITTED: "info",
69
- SUCCEEDED: "success",
70
- SUCCESS: "success",
71
- TO_BE_DOWNLOADED: "info",
72
- TO_BE_REPROCESSED: "info",
73
- UNPAID: "warning",
74
- UPLOADED: "success",
75
- VALID: "success",
76
- VOID: "neutral",
77
- WAITING_APPROVAL: "warning",
78
- DISABLED: "neutral"
79
- };
80
- const getStatusAppearance = (status) => {
81
- const intent = statusIntents[status] ?? "neutral";
82
- return statusAppearances[intent];
83
- };
84
- const _hoisted_1$1 = { class: "inline-flex flex-col items-end gap-1" };
85
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
86
- __name: "DownloadButton",
87
- props: {
88
- downloadService: { type: Function },
89
- mobileIconOnly: { type: Boolean, default: false },
90
- type: {},
91
- intent: { default: "secondary" },
92
- size: { default: "md" },
93
- pill: { type: Boolean },
94
- square: { type: Boolean },
95
- loading: { type: Boolean },
96
- disabled: { type: Boolean },
97
- iconPrefix: {},
98
- iconSuffix: {},
99
- tag: {},
100
- preventDoubleClick: { type: Boolean }
101
- },
102
- setup(__props) {
103
- const { $t } = useIntl();
104
- const buttonProps = createPropsRestProxy(__props, ["downloadService", "size", "intent", "mobileIconOnly"]);
105
- const isFailed = ref(false);
106
- const isLoading = ref(false);
107
- const breakpoints = useBreakpoints(breakpointsTailwind);
108
- const isMobile = breakpoints.smaller("md");
109
- const isIconOnly = computed(() => __props.mobileIconOnly && isMobile.value);
110
- const handleDownload = async () => {
111
- isLoading.value = true;
112
- isFailed.value = false;
113
- try {
114
- await __props.downloadService();
115
- } catch {
116
- isFailed.value = true;
117
- } finally {
118
- isLoading.value = false;
119
- }
120
- };
121
- return (_ctx, _cache) => {
122
- return openBlock(), createElementBlock("div", _hoisted_1$1, [
123
- createVNode(unref(_sfc_main$3), mergeProps({ ...buttonProps, size: __props.size, intent: __props.intent }, {
124
- loading: isLoading.value,
125
- type: "button",
126
- "icon-prefix": "download",
127
- onClick: handleDownload
128
- }), createSlots({ _: 2 }, [
129
- _ctx.$slots.default && !isIconOnly.value ? {
130
- name: "default",
131
- fn: withCtx(() => [
132
- renderSlot(_ctx.$slots, "default")
133
- ]),
134
- key: "0"
135
- } : void 0
136
- ]), 1040, ["loading"]),
137
- isFailed.value ? (openBlock(), createBlock(unref(_sfc_main$4), { key: 0 }, {
138
- default: withCtx(() => [
139
- createTextVNode(toDisplayString(unref($t)({
140
- id: "download_button.download_failed_message",
141
- defaultMessage: "Download failed, please try again later",
142
- description: "Error message when a download fails"
143
- })), 1)
144
- ]),
145
- _: 1
146
- })) : createCommentVNode("", true)
147
- ]);
148
- };
149
- }
150
- });
151
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
152
- __name: "StatusChip",
153
- props: {
154
- status: {},
155
- size: { default: "md" },
156
- hasChipBefore: { type: Boolean, default: false },
157
- hasChipAfter: { type: Boolean, default: false }
158
- },
159
- setup(__props) {
160
- return (_ctx, _cache) => {
161
- return openBlock(), createBlock(_sfc_main$5, {
162
- intent: unref(getStatusAppearance)(__props.status).chipIntent,
163
- size: __props.size,
164
- "has-chip-after": __props.hasChipAfter,
165
- "has-chip-before": __props.hasChipBefore
166
- }, {
167
- default: withCtx(() => [
168
- renderSlot(_ctx.$slots, "default", {}, () => [
169
- createTextVNode(toDisplayString(unref(formatEnum)(__props.status)), 1)
170
- ])
171
- ]),
172
- _: 3
173
- }, 8, ["intent", "size", "has-chip-after", "has-chip-before"]);
174
- };
175
- }
176
- });
177
- const _hoisted_1 = { class: "flex items-center justify-between md:py-2" };
178
- const _hoisted_2 = { class: "ml-2 inline-flex gap-0.5 print:hidden" };
179
- const _sfc_main = /* @__PURE__ */ defineComponent({
180
- __name: "InvoiceHeader",
181
- props: {
182
- invoice: {},
183
- paymentAttempts: {},
184
- downloadService: {},
185
- showDownloadButton: { type: Boolean },
186
- variant: { default: "internal" },
187
- showInvoiceNumberLabel: { type: Boolean }
188
- },
189
- setup(__props) {
190
- const props = __props;
191
- const { $t, formatDate } = useIntl();
192
- const lastAuthorizedPaymentAttempt = computed(
193
- () => props.paymentAttempts.findLast((payment) => payment.result === "AUTHORIZED")
194
- );
195
- const dueDate = computed(
196
- () => $t(
197
- {
198
- defaultMessage: "Due on {date}",
199
- description: "Label for due date, where {date} gets replaced with the due date",
200
- id: "invoice.due_on_label"
201
- },
202
- {
203
- date: formatDate({
204
- date: props.invoice.due_date,
205
- format: "date",
206
- offsetType: "offsetted",
207
- timezone: props.invoice.customer.timezone
208
- })
209
- }
210
- )
211
- );
212
- const invoiceDate = computed(
213
- () => formatDate({
214
- date: props.invoice.invoice_date,
215
- format: "date",
216
- offsetType: "offsetted",
217
- timezone: props.invoice.customer.timezone
218
- })
219
- );
220
- const invoiceNumberLabel = computed(
221
- () => $t({
222
- defaultMessage: "Invoice",
223
- description: "Label prefixed before the invoice number in the header title",
224
- id: "invoiceHeader.invoiceNumberLabel"
225
- })
226
- );
227
- const title = computed(() => {
228
- if (props.variant === "external") {
229
- return invoiceDate.value;
230
- }
231
- const invoiceNumber = props.invoice.invoice_number;
232
- if (!invoiceNumber) {
233
- return invoiceNumberLabel.value;
234
- }
235
- return props.showInvoiceNumberLabel ? `${invoiceNumberLabel.value} ${invoiceNumber}` : invoiceNumber;
236
- });
237
- const paidOn = computed(() => {
238
- if (!props.invoice.paid || !lastAuthorizedPaymentAttempt.value) {
239
- return void 0;
240
- }
241
- return $t(
242
- {
243
- defaultMessage: "Paid on {date}",
244
- description: "Label for payment date, where {date} gets replaced with the date",
245
- id: "invoice.paid_on_label"
246
- },
247
- {
248
- date: formatDate({
249
- date: lastAuthorizedPaymentAttempt.value.created_at,
250
- format: "date",
251
- offsetType: "offsetted",
252
- timezone: props.invoice.customer.timezone
253
- })
254
- }
255
- );
256
- });
257
- const subTitle = computed(() => {
258
- if (props.variant === "external") {
259
- return [props.invoice.invoice_number, paidOn.value || dueDate.value].join(" - ");
260
- }
261
- return paidOn.value || dueDate.value;
262
- });
263
- const showStatusChip = computed(() => props.invoice.status !== "PAID");
264
- return (_ctx, _cache) => {
265
- return openBlock(), createElementBlock("div", _hoisted_1, [
266
- createVNode(_sfc_main$6, { title: title.value }, {
267
- suffix: withCtx(() => [
268
- createElementVNode("span", _hoisted_2, [
269
- showStatusChip.value ? (openBlock(), createBlock(_sfc_main$1, {
270
- key: 0,
271
- status: __props.invoice.status,
272
- "has-chip-after": !!__props.invoice.paid
273
- }, null, 8, ["status", "has-chip-after"])) : createCommentVNode("", true),
274
- __props.invoice.paid ? (openBlock(), createBlock(_sfc_main$5, {
275
- key: 1,
276
- intent: "success",
277
- "has-chip-before": showStatusChip.value
278
- }, {
279
- default: withCtx(() => [
280
- createTextVNode(toDisplayString(unref($t)({
281
- defaultMessage: "Paid",
282
- description: "The paid chip label text for a paid invoice",
283
- id: "invoice.paid_chip"
284
- })), 1)
285
- ]),
286
- _: 1
287
- }, 8, ["has-chip-before"])) : createCommentVNode("", true)
288
- ])
289
- ]),
290
- subTitle: withCtx(() => [
291
- createVNode(_sfc_main$7, {
292
- variant: "body-xs",
293
- class: "flex gap-1 print:hidden"
294
- }, {
295
- default: withCtx(() => [
296
- createTextVNode(toDisplayString(subTitle.value), 1)
297
- ]),
298
- _: 1
299
- })
300
- ]),
301
- _: 1
302
- }, 8, ["title"]),
303
- __props.showDownloadButton ? (openBlock(), createBlock(_sfc_main$2, {
304
- key: 0,
305
- size: "lg",
306
- intent: "secondary",
307
- "download-service": __props.downloadService,
308
- "mobile-icon-only": ""
309
- }, {
310
- default: withCtx(() => [
311
- createTextVNode(toDisplayString(unref($t)({
312
- defaultMessage: "Download PDF",
313
- description: "Title for button download pdf invoice",
314
- id: "invoice.download_pdf_button"
315
- })), 1)
316
- ]),
317
- _: 1
318
- }, 8, ["download-service"])) : createCommentVNode("", true)
319
- ]);
320
- };
321
- }
322
- });
323
- function useInvoice({ invoiceId }) {
324
- const { getInvoice, getInvoicePdf: downloadInvoicePdf } = createInvoicesService();
325
- const service = () => getInvoice(invoiceId);
326
- const {
327
- data,
328
- execute: get,
329
- apiStatus,
330
- error,
331
- isPending
332
- } = useService({
333
- service
334
- });
335
- return {
336
- invoice: data,
337
- downloadInvoicePdf,
338
- apiStatus,
339
- error,
340
- get,
341
- isPending
342
- };
343
- }
344
- function usePayments() {
345
- const { getPayments } = createPaymentsService();
346
- const {
347
- data,
348
- execute: get,
349
- error,
350
- apiStatus,
351
- isPending
352
- } = useService({
353
- service: getPayments,
354
- isCollection: true
355
- });
356
- return { payments: data, get, error, apiStatus, isPending };
357
- }
358
- export {
359
- _sfc_main as _,
360
- usePayments as a,
361
- useInvoice as u
362
- };
@@ -1 +0,0 @@
1
- const r=require("vue"),e=require("./customElements-DD7bpqkx.js");exports.usePortal=function(){const o=r.inject(e.PORTAL_INJECTION_KEY);if(!o)throw new Error("PortalProvider is not provided");return o};
@@ -1,12 +0,0 @@
1
- import { inject } from "vue";
2
- import { P as PORTAL_INJECTION_KEY } from "./customElements-B-89a5oH.mjs";
3
- function usePortal() {
4
- const portal = inject(PORTAL_INJECTION_KEY);
5
- if (!portal) {
6
- throw new Error("PortalProvider is not provided");
7
- }
8
- return portal;
9
- }
10
- export {
11
- usePortal as u
12
- };
@@ -1 +0,0 @@
1
- const e=require("./error-Cg-i7gGl.js"),t=require("vue");function r(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if("object"!=typeof e||"object"!=typeof t)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;const n=Object.keys(e),u=Object.keys(t);return n.length===u.length&&n.every(n=>r(e[n],t[n]))}const n=r;function u(e,t){return t?function(e){if(!function(e){return"object"==typeof e&&null!==e&&"data"in e}(e))throw new Error("Expected collection response.");return e.data}(e):e}exports.deepEqual=r,exports.isEmpty=function(e){return null==e||("string"==typeof e||Array.isArray(e)?0===e.length:e instanceof Map||e instanceof Set?0===e.size:"object"!=typeof e||0===Object.keys(e).length)},exports.isEqual=n,exports.useService=function({initialValue:r,service:i,isCollection:a=!1}){const o=t.shallowRef(r),s=t.ref(e.ApiStatus.Initial),l=t.ref(null),c=t.computed(()=>s.value===e.ApiStatus.Loading);return{data:o,execute:async(...t)=>{try{s.value=e.ApiStatus.Loading,l.value=null;const f=u(await i(...t),a);return c=f,n((r=o).value,c)||(r.value=c),s.value=e.ApiStatus.Done,f}catch(f){return l.value=e.toError(f),s.value=e.ApiStatus.Failed,Promise.reject()}var r,c},apiStatus:s,isPending:c,error:l}};
@@ -1,72 +0,0 @@
1
- import { A as ApiStatus, t as toError } from "./error-DY_I2hPx.mjs";
2
- import { shallowRef, ref, computed } from "vue";
3
- function isEmpty(value) {
4
- if (value == null) return true;
5
- if (typeof value === "string" || Array.isArray(value)) return value.length === 0;
6
- if (value instanceof Map || value instanceof Set) return value.size === 0;
7
- if (typeof value === "object") return Object.keys(value).length === 0;
8
- return true;
9
- }
10
- function deepEqual(a, b) {
11
- if (a === b) return true;
12
- if (a == null || b == null) return false;
13
- if (typeof a !== "object" || typeof b !== "object") return false;
14
- if (Array.isArray(a) !== Array.isArray(b)) return false;
15
- const keysA = Object.keys(a);
16
- const keysB = Object.keys(b);
17
- if (keysA.length !== keysB.length) return false;
18
- return keysA.every(
19
- (k) => deepEqual(a[k], b[k])
20
- );
21
- }
22
- const isEqual = deepEqual;
23
- function updateRefIfChanged(ref2, value) {
24
- if (isEqual(ref2.value, value)) {
25
- return;
26
- }
27
- ref2.value = value;
28
- }
29
- function isCollectionResponse(response) {
30
- return typeof response === "object" && response !== null && "data" in response;
31
- }
32
- function getCollectionResponseData(response) {
33
- if (!isCollectionResponse(response)) {
34
- throw new Error("Expected collection response.");
35
- }
36
- return response.data;
37
- }
38
- function mapServiceResponse(response, isCollection) {
39
- return isCollection ? getCollectionResponseData(response) : response;
40
- }
41
- function useService({
42
- initialValue,
43
- service,
44
- isCollection = false
45
- }) {
46
- const data = shallowRef(initialValue);
47
- const apiStatus = ref(ApiStatus.Initial);
48
- const error = ref(null);
49
- const isPending = computed(() => apiStatus.value === ApiStatus.Loading);
50
- const execute = async (...args) => {
51
- try {
52
- apiStatus.value = ApiStatus.Loading;
53
- error.value = null;
54
- const response = await service(...args);
55
- const mapped = mapServiceResponse(response, isCollection);
56
- updateRefIfChanged(data, mapped);
57
- apiStatus.value = ApiStatus.Done;
58
- return mapped;
59
- } catch (err) {
60
- error.value = toError(err);
61
- apiStatus.value = ApiStatus.Failed;
62
- return Promise.reject();
63
- }
64
- };
65
- return { data, execute, apiStatus, isPending, error };
66
- }
67
- export {
68
- isEqual as a,
69
- deepEqual as d,
70
- isEmpty as i,
71
- useService as u
72
- };