@solvimon/solvimon-web 0.1.0-alpha.23 → 0.1.0-alpha.25

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 (193) hide show
  1. package/README.md +41 -0
  2. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-jXClPW91.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-BM1_31Tl.js} +1 -1
  3. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-B70SyWOB.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Dh_a0NRB.mjs} +6 -6
  4. package/dist/{Avatar.vue.es-2E3laNRb.mjs → Avatar.vue.es-C9Jkfuvp.mjs} +1 -1
  5. package/dist/{Avatar.vue.es-DdJreyr_.js → Avatar.vue.es-CvxRdCes.js} +1 -1
  6. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-ConpyC8n.js → BillingInformation.vue_vue_type_script_setup_true_lang-7wQAw6Lv.js} +1 -1
  7. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-D5EoBLhj.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-BRSUpMPU.mjs} +4 -4
  8. package/dist/{Button.vue.es-BJEy-e9C.mjs → Button.vue.es-BbSN0uOk.mjs} +1 -1
  9. package/dist/{Button.vue.es-CJNxYacb.js → Button.vue.es-CeUTAc2n.js} +1 -1
  10. package/dist/Checkout.entry.ce-BMzK8nQg.mjs +3900 -0
  11. package/dist/Checkout.entry.ce-DgA0ckyl.js +2 -0
  12. package/dist/{Chip.vue.es-DLQ4QEPo.js → Chip.vue.es-BN83K3Tk.js} +1 -1
  13. package/dist/{Chip.vue.es-DGbc4L_D.mjs → Chip.vue.es-T22Q7AF9.mjs} +2 -2
  14. package/dist/ContentWithAsideLayout-BCM8tmZN.mjs +38 -0
  15. package/dist/ContentWithAsideLayout-RSdKXqAf.js +1 -0
  16. package/dist/{ContextMenu.vue.es-DL1M7pcr.mjs → ContextMenu.vue.es-0PRmCAzL.mjs} +4 -4
  17. package/dist/{ContextMenu.vue.es-Bd2kmeVq.js → ContextMenu.vue.es-DXKR7WFg.js} +1 -1
  18. package/dist/{CustomerBillingInformation.vue.es-CE94ASC3.mjs → CustomerBillingInformation.vue.es-C2j40TYP.mjs} +2 -2
  19. package/dist/{CustomerBillingInformation.vue.es-hiFzB43w.js → CustomerBillingInformation.vue.es-yrLGc7oL.js} +1 -1
  20. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bhih7rPR.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BZwGWhaL.mjs} +5 -5
  21. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BE21tqgW.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C8diNL5x.js} +1 -1
  22. package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D018AmFA.js → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DzbPUvHN.js} +1 -1
  23. package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C5zc9n64.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-xqMsbuU6.mjs} +14 -14
  24. package/dist/{DividerText.vue.es-CFZUQ62L.mjs → DividerText.vue.es-CV1XK_Vz.mjs} +1 -1
  25. package/dist/{DividerText.vue.es-CvCgHHXN.js → DividerText.vue.es-DsYRZzuE.js} +1 -1
  26. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-YcaBJDzx.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-kpjrC-4q.mjs} +4 -4
  27. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-jTJGN4jb.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-srXOpUb0.js} +1 -1
  28. package/dist/{ErrorNotification.vue.es-B3mvv79S.mjs → ErrorNotification.vue.es-CiUJva6S.mjs} +1 -1
  29. package/dist/{ErrorNotification.vue.es-DI2B7WiR.js → ErrorNotification.vue.es-QfRoDhkn.js} +1 -1
  30. package/dist/{IconButton.vue.es-GLcGhoHC.mjs → IconButton.vue.es-ChvsCZQG.mjs} +2 -2
  31. package/dist/{IconButton.vue.es-Dp8h4YOx.js → IconButton.vue.es-CytBZUkZ.js} +1 -1
  32. package/dist/{IconTitle.vue.es-CzuPQtOX.mjs → IconTitle.vue.es-DPruIJ6l.mjs} +3 -3
  33. package/dist/{IconTitle.vue.es-DN9r6nfK.js → IconTitle.vue.es-DtnpBObk.js} +1 -1
  34. package/dist/{Input.vue.es-DM81HeVv.js → Input.vue.es-BkzQDkrz.js} +1 -1
  35. package/dist/{Input.vue.es-5Cq8a7oH.mjs → Input.vue.es-DJQqJrsb.mjs} +2 -2
  36. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D75LSIL8.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BC-zyUqe.mjs} +2 -2
  37. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-w8w52LcV.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Do0dDtkA.js} +1 -1
  38. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-dRLsZPNh.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-CFhhhwId.mjs} +2 -2
  39. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DB5h39LA.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-DQFS7SfE.js} +1 -1
  40. package/dist/{InvoiceSummary.vue.es-DbtqsTuP.mjs → InvoiceSummary.vue.es-6qpbyymg.mjs} +7 -7
  41. package/dist/{InvoiceSummary.vue.es-Qy99kLZs.js → InvoiceSummary.vue.es-v1TkOUhA.js} +1 -1
  42. package/dist/{Modal.vue.es-Z2DWAN2u.mjs → Modal.vue.es-BuRlbyZw.mjs} +5 -5
  43. package/dist/{Modal.vue.es-DgLl6XBV.js → Modal.vue.es-JpE0eh_Q.js} +1 -1
  44. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DYuFPIqs.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-UmKgVvdj.mjs} +4 -4
  45. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DBm51C7c.js → PaymentErrorCard.vue_vue_type_script_setup_true_lang-nAuhIopc.js} +1 -1
  46. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CcdhYTB1.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DggCusgC.mjs} +3 -3
  47. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BNZ9-GW1.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-YpcWHm24.js} +1 -1
  48. package/dist/{PaymentHistoryBlock-CjP_514k.mjs → PaymentHistoryBlock-DnmParhQ.mjs} +1 -1
  49. package/dist/{PaymentHistoryBlock-DS1j-8m-.js → PaymentHistoryBlock-uWuWjr8I.js} +1 -1
  50. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CSTfMB8U.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BS8N4yt9.js} +1 -1
  51. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dr2jtJhK.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BziIf86i.mjs} +4 -4
  52. package/dist/{PaymentIntegrationForm-CpOZUf-W.mjs → PaymentIntegrationForm-DL55i0HD.mjs} +1 -1
  53. package/dist/{PaymentIntegrationForm-80b19Lkq.js → PaymentIntegrationForm-DTXm56QQ.js} +1 -1
  54. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-4RmdLbzY.js +1 -0
  55. package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BgztoQH5.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvpFnl9V.mjs} +43 -40
  56. package/dist/PaymentIntegrationFormAdyen-C9KoiqMh.js +98 -0
  57. package/dist/{PaymentIntegrationFormAdyen-BQcgDcik.mjs → PaymentIntegrationFormAdyen-Cqsy82To.mjs} +313 -207
  58. package/dist/{PaymentIntegrationFormStripe-Dx1H3fZ2.mjs → PaymentIntegrationFormStripe-DIU1rnwH.mjs} +22 -21
  59. package/dist/{PaymentIntegrationFormStripe-CMwLqOe6.js → PaymentIntegrationFormStripe-DTLgGutU.js} +2 -2
  60. package/dist/{PaymentMethod.vue.es-pLCCzVxN.js → PaymentMethod.vue.es-ZWda5GqF.js} +1 -1
  61. package/dist/{PaymentMethod.vue.es-EhRCfeax.mjs → PaymentMethod.vue.es-m1NasGqw.mjs} +3 -3
  62. package/dist/{PaymentMethodForm-Bw2e1tXo.js → PaymentMethodForm-BEVdWCrH.js} +1 -1
  63. package/dist/{PaymentMethodForm-D3OY8zK5.mjs → PaymentMethodForm-BYzt1PVP.mjs} +1 -1
  64. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-DHXw6qD0.js → PaymentMethodForm.vue_vue_type_script_setup_true_lang-CzUwtVEI.js} +1 -1
  65. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-vGprVPpn.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-fdRTp7sc.mjs} +6 -6
  66. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-D7b0HhDc.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-FChyZp2v.mjs} +6 -6
  67. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-CdT1YyeU.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-FhMBZqtI.js} +1 -1
  68. package/dist/{PlanCustomizationEditor-RC8kj2rC.js → PlanCustomizationEditor-CunwwXTw.js} +1 -1
  69. package/dist/{PlanCustomizationEditor-BQqkgmzL.mjs → PlanCustomizationEditor-NLVkEYFF.mjs} +9 -9
  70. package/dist/{PricingGroupRangeInput.vue.es-DNsiUZyT.mjs → PricingGroupRangeInput.vue.es-B4ZbKxUw.mjs} +4 -4
  71. package/dist/{PricingGroupRangeInput.vue.es-ClkE98ML.js → PricingGroupRangeInput.vue.es-Ba3v0J_R.js} +1 -1
  72. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CURXAgMT.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-Dvuj-fos.mjs} +5 -5
  73. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-BJfQLRcS.js → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-iE4dLawA.js} +1 -1
  74. package/dist/{RadioGroupExtended.vue.es-Dk9xdj76.js → RadioGroupExtended.vue.es-CHrcqSRq.js} +1 -1
  75. package/dist/{RadioGroupExtended.vue.es-vUqn2ZUP.mjs → RadioGroupExtended.vue.es-CkhBp9kI.mjs} +2 -2
  76. package/dist/{Section.vue.es-Cybk1Nb8.js → Section.vue.es-CSrVPlUK.js} +1 -1
  77. package/dist/{Section.vue.es-C2_topx4.mjs → Section.vue.es-D5svcVS_.mjs} +1 -1
  78. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-C9q_qwjt.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BM9Y4Cy3.mjs} +6 -6
  79. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DIgVzXLg.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BqOSBdFQ.js} +1 -1
  80. package/dist/{SubscriptionSchedules-CNTg_oRy.js → SubscriptionSchedules-CMVoB2bw.js} +1 -1
  81. package/dist/{SubscriptionSchedules-BlCU_xc5.mjs → SubscriptionSchedules-yDcsD1hd.mjs} +1 -1
  82. package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-6LbR_Vni.js → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DH7IZrNT.js} +1 -1
  83. package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Cf3Dy8Yn.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DZHsQImd.mjs} +11 -11
  84. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-BijBAdqp.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-BgXZMihr.js} +1 -1
  85. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-CjzjchsS.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-BmNl5u8R.mjs} +2 -2
  86. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-CxdrAanb.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BUzdZHah.mjs} +6 -6
  87. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-Dz4s3CH_.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-DOJ0t_fo.js} +1 -1
  88. package/dist/{TooltipParagraph.vue.es-Fu9Od3Vr.mjs → TooltipParagraph.vue.es-CxdL8-B7.mjs} +1 -1
  89. package/dist/{TooltipParagraph.vue.es-OX6bAWP9.js → TooltipParagraph.vue.es-DS_69pl1.js} +1 -1
  90. package/dist/{TrialChip.vue.es-CbjdkR4i.js → TrialChip.vue.es-BCc8q5j0.js} +1 -1
  91. package/dist/{TrialChip.vue.es-c7tZOIW3.mjs → TrialChip.vue.es-BK7m7e7q.mjs} +2 -2
  92. package/dist/{cn.es-lC4_Xd0R.js → cn.es-71nFUose.js} +1 -1
  93. package/dist/{cn.es-C8Ogac5T.mjs → cn.es-ZXNzpauQ.mjs} +2 -2
  94. package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
  95. package/dist/components/BillingInformation/BillingInformation.mjs +4 -4
  96. package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
  97. package/dist/components/BillingInformationForm/BillingInformationForm.mjs +6 -6
  98. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
  99. package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +4 -4
  100. package/dist/components/Invoice/Invoice.cjs +1 -1
  101. package/dist/components/Invoice/Invoice.mjs +9 -9
  102. package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
  103. package/dist/components/InvoiceDetails/InvoiceDetails.mjs +3 -3
  104. package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
  105. package/dist/components/InvoiceHeader/InvoiceHeader.mjs +2 -2
  106. package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
  107. package/dist/components/InvoicesList/InvoicesList.mjs +3 -3
  108. package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
  109. package/dist/components/PaymentHistory/PaymentHistory.mjs +3 -3
  110. package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
  111. package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +5 -5
  112. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
  113. package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +4 -4
  114. package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
  115. package/dist/components/SubscriptionsList/SubscriptionsList.mjs +5 -5
  116. package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
  117. package/dist/components/WalletBalances/WalletBalances.mjs +3 -3
  118. package/dist/{customElements-BYIdPSzQ.js → customElements-hH6pju3X.js} +14 -14
  119. package/dist/{customElements-Df6dGrN-.mjs → customElements-q_i9y0Ph.mjs} +637 -601
  120. package/dist/{customer-DmsKYpVi.mjs → customer-BDoOIAFr.mjs} +1 -1
  121. package/dist/{customer-DoLHZuMG.js → customer-C9q6ti8s.js} +1 -1
  122. package/dist/{de-DE-Bgm9bnmp.mjs → de-DE-B_ik9VNt.mjs} +8 -2
  123. package/dist/{de-DE-CAL9Mji2.js → de-DE-npBTLtKL.js} +1 -1
  124. package/dist/{en-US-E86eRIxh.mjs → en-US-DkCltadt.mjs} +6 -0
  125. package/dist/{en-US-_xe5H4TQ.js → en-US-kGduGoka.js} +1 -1
  126. package/dist/index.cjs +1 -1
  127. package/dist/index.mjs +1 -1
  128. package/dist/{invoices-mw87cNTS.js → invoices-CHp75zZI.js} +1 -1
  129. package/dist/{invoices-CrO6p4Ms.mjs → invoices-DIzkXntV.mjs} +1 -1
  130. package/dist/{it-IT-QFQ1Ajbb.js → it-IT-BayNIAy7.js} +1 -1
  131. package/dist/{it-IT-co1BfV5s.mjs → it-IT-CHj2McbF.mjs} +6 -0
  132. package/dist/{nl-NL-CJXJC1bx.js → nl-NL-0rV4nFLw.js} +1 -1
  133. package/dist/{nl-NL-Drv2E66B.mjs → nl-NL-Cdvd_XMN.mjs} +6 -0
  134. package/dist/{paymentMethods-CQdhZwq4.js → paymentMethods-CZGP6_4W.js} +1 -1
  135. package/dist/{paymentMethods-BNQbW_f1.mjs → paymentMethods-DEKp_4QM.mjs} +1 -1
  136. package/dist/{payments-VS_N2xpJ.mjs → payments-C0-Hq2a4.mjs} +1 -1
  137. package/dist/{payments-KTjVHqOa.js → payments-DBvregE8.js} +1 -1
  138. package/dist/screens/Checkout/Checkout.cjs +1 -1
  139. package/dist/screens/Checkout/Checkout.mjs +2 -2
  140. package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
  141. package/dist/screens/CustomerOverview/CustomerOverview.mjs +11 -11
  142. package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
  143. package/dist/screens/PayInvoice/PayInvoice.mjs +131 -127
  144. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
  145. package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +10 -10
  146. package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
  147. package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +19 -19
  148. package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
  149. package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +19 -19
  150. package/dist/{subscriptions-U4xg2CO1.mjs → subscriptions--9MaTXMb.mjs} +1 -1
  151. package/dist/{subscriptions-Dugd-oZ1.js → subscriptions-BArXBCFr.js} +1 -1
  152. package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +8 -0
  153. package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +4 -2
  154. package/dist/types/services/portals.types.d.ts +2 -0
  155. package/dist/types/services/requests.types.d.ts +2 -0
  156. package/dist/{url-DwiuKYpu.mjs → url-TNRgVI8A.mjs} +3 -2
  157. package/dist/url-vloPOiXd.js +1 -0
  158. package/dist/{useActionDispatchProvider-DyQbRCxR.mjs → useActionDispatchProvider-BdciAX8T.mjs} +1 -1
  159. package/dist/{useActionDispatchProvider-CTyDGRX8.js → useActionDispatchProvider-CKzeqXzY.js} +1 -1
  160. package/dist/{useCustomer-dcmU1539.mjs → useCustomer-D8ixhuuj.mjs} +1 -1
  161. package/dist/{useCustomer-BXI5Vmit.js → useCustomer-DSYr0F58.js} +1 -1
  162. package/dist/{useCustomerFormLabels-Ct6vD_b8.js → useCustomerFormLabels-CRumh405.js} +1 -1
  163. package/dist/{useCustomerFormLabels-BC1WfqWo.mjs → useCustomerFormLabels-htMZ0xqB.mjs} +5 -5
  164. package/dist/{useExperimentalFeature-9-p9_nP6.js → useExperimentalFeature-D29-TO3R.js} +1 -1
  165. package/dist/{useExperimentalFeature-4Y-ppDr7.mjs → useExperimentalFeature-JK_kAUQQ.mjs} +1 -1
  166. package/dist/{useInvoiceData-B2Z9aD2w.mjs → useInvoiceData-Bpbog3zW.mjs} +2 -2
  167. package/dist/{useInvoiceData-CGvtl7Ai.js → useInvoiceData-DhrItfv7.js} +1 -1
  168. package/dist/{useInvoicesList-DJPznhig.mjs → useInvoicesList-BGwcJn4I.mjs} +7 -7
  169. package/dist/{useInvoicesList-Ba0GO8p-.js → useInvoicesList-duu_b5GW.js} +1 -1
  170. package/dist/{useLoadInitialData-CWyI3_RR.mjs → useLoadInitialData-BDmmpcfb.mjs} +1 -1
  171. package/dist/{useLoadInitialData-BO9ZsSsF.js → useLoadInitialData-U2WvBmXT.js} +1 -1
  172. package/dist/{usePaymentMethodAvailability-bkmDrPXY.js → usePaymentMethodAvailability-DwtT5Czz.js} +1 -1
  173. package/dist/{usePaymentMethodAvailability-DqIvkjLF.mjs → usePaymentMethodAvailability-adqRujTA.mjs} +4 -4
  174. package/dist/{usePaymentMethodOptions-BPBVGNDg.js → usePaymentMethodOptions-CXdFKFqZ.js} +1 -1
  175. package/dist/{usePaymentMethodOptions-MSEp39xQ.mjs → usePaymentMethodOptions-DlZtTQNQ.mjs} +1 -1
  176. package/dist/{usePaymentMethods-U7gnZ0F5.mjs → usePaymentMethods-BnmSo_rr.mjs} +1 -1
  177. package/dist/{usePaymentMethods-BAOtOJZD.js → usePaymentMethods-DZ1a0mnr.js} +1 -1
  178. package/dist/{usePayments-G-HpKpK8.js → usePayments-DL4agK2i.js} +1 -1
  179. package/dist/{usePayments-Dq2V6bTV.mjs → usePayments-s-Z1di8d.mjs} +6 -6
  180. package/dist/{usePortal-CMHV-ShD.mjs → usePortal-C4rR5Rhu.mjs} +1 -1
  181. package/dist/{usePortal-BplmMkBG.js → usePortal-Hm7wvtgQ.js} +1 -1
  182. package/dist/{useSubscription-CvB8ROBt.js → useSubscription-DMAEJves.js} +1 -1
  183. package/dist/{useSubscription-V53WsZwQ.mjs → useSubscription-DSsXVO0h.mjs} +1 -1
  184. package/dist/{useTimePeriod.es-D31Zl1MJ.mjs → useTimePeriod.es-CW8ycmpT.mjs} +1 -1
  185. package/dist/{useTimePeriod.es-CtCTu9cz.js → useTimePeriod.es-anHB63am.js} +1 -1
  186. package/package.json +1 -1
  187. package/dist/Checkout.entry.ce-BfLlnQyb.js +0 -1
  188. package/dist/Checkout.entry.ce-CQkrWscC.mjs +0 -3769
  189. package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +0 -32
  190. package/dist/ContentWithAsideLayout-C6yMIVJF.js +0 -1
  191. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DKXhthkA.js +0 -1
  192. package/dist/PaymentIntegrationFormAdyen-DElXsJ96.js +0 -98
  193. package/dist/url-BNKStNY9.js +0 -1
@@ -1,17 +1,24 @@
1
- import { defineComponent as ae, ref as g, computed as L, onMounted as ne, onBeforeUnmount as oe, watch as re, openBlock as A, createElementBlock as S, Fragment as ie, createBlock as x, createCommentVNode as B, nextTick as de } from "vue";
2
- import { a as se } from "./useService-Bh47bllz.mjs";
3
- import { b as ce, u as me } from "./customElements-Df6dGrN-.mjs";
4
- import { _ as pe, a as ue } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-DYuFPIqs.mjs";
5
- import { c as ye } from "./payments-VS_N2xpJ.mjs";
6
- import { g as w } from "./url-DwiuKYpu.mjs";
7
- import { c as le } from "./paymentMethods-BNQbW_f1.mjs";
8
- import { g as he, t as _e, a as Ee, b as fe, R as Ae, P as Ie, c as P, d as F } from "./adyen-CvsH5fok.mjs";
9
- import { l as Te } from "./adyenSdk-B01MB9Ia.mjs";
10
- import { u as ge } from "./useExperimentalFeature-4Y-ppDr7.mjs";
11
- import { c as Pe, a as Ne } from "./paymentFailure-Bh60UhxA.mjs";
12
- const Re = (y) => {
13
- let E = {};
14
- return y === "TOKENIZE" && (E = {
1
+ import { defineComponent as W, computed as A, openBlock as g, createElementBlock as C, createVNode as L, unref as G, withCtx as K, createTextVNode as H, toDisplayString as v, ref as T, onMounted as Ee, onBeforeUnmount as fe, watch as ge, Fragment as Ae, createBlock as M, createCommentVNode as D, Teleport as Ie, createElementVNode as Te, nextTick as V } from "vue";
2
+ import { a as Ne } from "./useService-Bh47bllz.mjs";
3
+ import { u as q, _ as $, b as be } from "./customElements-q_i9y0Ph.mjs";
4
+ import { _ as Pe, a as ve } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-UmKgVvdj.mjs";
5
+ import { c as Re } from "./payments-C0-Hq2a4.mjs";
6
+ import { g as J } from "./url-TNRgVI8A.mjs";
7
+ import { c as Oe } from "./paymentMethods-DEKp_4QM.mjs";
8
+ import { g as ke, t as Me, a as De, b as Se, R as Ce, P as Le, c as S, d as Q } from "./adyen-CvsH5fok.mjs";
9
+ import { l as we } from "./adyenSdk-B01MB9Ia.mjs";
10
+ import { u as xe } from "./useExperimentalFeature-JK_kAUQQ.mjs";
11
+ import { c as Be, a as Fe } from "./paymentFailure-Bh60UhxA.mjs";
12
+ const Ue = ".adyen-checkout__payment-method--sepadirectdebit .adyen-checkout__payment-method__details__content";
13
+ function Ye(d) {
14
+ return (d == null ? void 0 : d.querySelector(Ue)) ?? null;
15
+ }
16
+ function je(d, u) {
17
+ return !!d && !!u && !d.contains(u);
18
+ }
19
+ const Ze = (d) => {
20
+ let u = {};
21
+ return d === "TOKENIZE" && (u = {
15
22
  "en-US": {
16
23
  payButton: "Add payment method",
17
24
  confirmPurchase: "Add payment method"
@@ -136,8 +143,79 @@ const Re = (y) => {
136
143
  payButton: "Pridėti mokėjimo metodą",
137
144
  confirmPurchase: "Pridėti mokėjimo metodą"
138
145
  }
139
- }), E;
140
- }, _ = "ADYEN", we = /* @__PURE__ */ ae({
146
+ }), u;
147
+ }, ze = {
148
+ class: "sv-sepa-mandate mt-3",
149
+ "data-testid": "sepa-mandate-notice"
150
+ }, Ge = /* @__PURE__ */ W({
151
+ __name: "SepaMandateNotice",
152
+ props: {
153
+ billingEntityName: { type: String }
154
+ },
155
+ setup(d) {
156
+ const u = d, { $t: h } = q(), m = A(
157
+ () => h({
158
+ defaultMessage: "SEPA Direct Debit mandate — recurring payments",
159
+ description: "Title of the SEPA direct debit mandate shown inside the SEPA payment form",
160
+ id: "payments.sepa_mandate.title"
161
+ })
162
+ ), b = A(
163
+ () => u.billingEntityName ? h(
164
+ {
165
+ defaultMessage: "By confirming this mandate, you authorise {billingEntityName} to instruct your bank to collect payments from your account, and you authorise your bank to carry out those instructions.",
166
+ description: "SEPA direct debit mandate authorisation, naming the billing entity",
167
+ id: "payments.sepa_mandate.authorisation"
168
+ },
169
+ { billingEntityName: u.billingEntityName }
170
+ ) : h({
171
+ defaultMessage: "By confirming this mandate, you authorise us to instruct your bank to collect payments from your account, and you authorise your bank to carry out those instructions.",
172
+ description: "SEPA direct debit mandate authorisation, where the billing entity is not known",
173
+ id: "payments.sepa_mandate.authorisation_unnamed"
174
+ })
175
+ ), n = A(
176
+ () => u.billingEntityName ? h(
177
+ {
178
+ defaultMessage: "This bank account will be used automatically to pay subsequent invoices from {billingEntityName} until you cancel this mandate.",
179
+ description: "Explains that the SEPA mandate covers later invoices, naming the billing entity",
180
+ id: "payments.sepa_mandate.recurrence"
181
+ },
182
+ { billingEntityName: u.billingEntityName }
183
+ ) : h({
184
+ defaultMessage: "This bank account will be used automatically to pay subsequent invoices until you cancel this mandate.",
185
+ description: "Explains that the SEPA mandate covers later invoices, where the billing entity is not known",
186
+ id: "payments.sepa_mandate.recurrence_unnamed"
187
+ })
188
+ ), E = A(
189
+ () => h({
190
+ defaultMessage: "As part of your rights, you're entitled to a refund from your bank under the terms and conditions of your agreement with your bank. You must claim a refund within 8 weeks from the date your account was debited. You can request a statement from your bank explaining your rights.",
191
+ description: "SEPA direct debit mandate refund rights, held against the payer's own bank",
192
+ id: "payments.sepa_mandate.refund_rights"
193
+ })
194
+ );
195
+ return (p, R) => (g(), C("div", ze, [
196
+ L(G($), {
197
+ tag: "p",
198
+ variant: "body-xs",
199
+ class: "font-semibold"
200
+ }, {
201
+ default: K(() => [
202
+ H(v(m.value), 1)
203
+ ]),
204
+ _: 1
205
+ }),
206
+ L(G($), {
207
+ tag: "p",
208
+ variant: "body-xs",
209
+ color: "subtle"
210
+ }, {
211
+ default: K(() => [
212
+ H(v(b.value) + " " + v(n.value) + " " + v(E.value), 1)
213
+ ]),
214
+ _: 1
215
+ })
216
+ ]));
217
+ }
218
+ }), N = "ADYEN", nt = /* @__PURE__ */ W({
141
219
  __name: "PaymentIntegrationFormAdyen",
142
220
  props: {
143
221
  context: { type: Object },
@@ -151,69 +229,72 @@ const Re = (y) => {
151
229
  validateOnSubmit: { type: Function, default: () => Promise.resolve(!0) },
152
230
  forceStorePaymentMethod: { type: Boolean },
153
231
  storePaymentMethod: { type: Boolean, default: void 0 },
154
- redirectsOnSuccess: { type: Boolean }
232
+ redirectsOnSuccess: { type: Boolean },
233
+ billingEntityName: { type: String }
155
234
  },
156
235
  emits: ["select", "payment-failed", "payment-success", "ready"],
157
- setup(y, { expose: E, emit: U }) {
158
- let m = null, N = null;
159
- const a = y, l = U;
160
- E({ submit: G });
161
- const u = g(), R = g(!1), f = g(), r = ce(), { locale: Y } = me(), { authorizePayment: j, getPaymentDetails: Z } = ye(), { tokenizePaymentMethod: z } = le(), I = ge(), O = L(
236
+ setup(d, { expose: u, emit: h }) {
237
+ let m = null, b = null;
238
+ const n = d, E = h;
239
+ u({ submit: ae });
240
+ const p = T(), R = T(null), f = T(null);
241
+ let y;
242
+ const w = T(!1), P = T(), r = be(), { locale: X } = q(), { authorizePayment: ee, getPaymentDetails: te } = Re(), { tokenizePaymentMethod: ne } = Oe(), O = xe(), x = A(
162
243
  () => {
163
244
  var e;
164
- return he(a.paymentMethodOptionResponseEntry, {
165
- excludeExpressPaymentMethods: !!((e = I == null ? void 0 : I.value) != null && e["express-checkout"])
245
+ return ke(n.paymentMethodOptionResponseEntry, {
246
+ excludeExpressPaymentMethods: !!((e = O == null ? void 0 : O.value) != null && e["express-checkout"])
166
247
  });
167
248
  }
168
- ), M = L(() => O.value.length > 0);
169
- function s(e) {
170
- return Pe({
171
- gateway: _,
172
- paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
173
- variant: a.variant,
174
- invoiceId: a.invoiceId,
175
- customerId: a.customerId,
249
+ ), B = A(() => x.value.length > 0);
250
+ function c(e) {
251
+ return Be({
252
+ gateway: N,
253
+ paymentAcceptorId: n.paymentMethodOptionResponseEntry.payment_acceptor.id,
254
+ variant: n.variant,
255
+ invoiceId: n.invoiceId,
256
+ customerId: n.customerId,
176
257
  ...e
177
258
  });
178
259
  }
179
- function p(e) {
180
- const t = Ne(e);
181
- f.value = t, l("payment-failed", t);
260
+ function _(e) {
261
+ const t = Fe(e);
262
+ P.value = t, E("payment-failed", t);
182
263
  }
183
- function G() {
264
+ function ae() {
184
265
  try {
185
266
  m == null || m.submit();
186
267
  } catch (e) {
187
268
  r.error(
188
269
  "ADYEN_SUBMIT_FAILED",
189
270
  "Failed to submit Adyen drop-in",
190
- s({ reason: "ADYEN_SUBMIT_FAILED", cause: e }),
271
+ c({ reason: "ADYEN_SUBMIT_FAILED", cause: e }),
191
272
  e
192
273
  );
193
274
  }
194
275
  }
195
- async function K() {
196
- const e = _e(a.amount), t = O.value;
276
+ async function oe() {
277
+ const e = Me(n.amount), t = x.value;
197
278
  return {
198
279
  checkoutConfig: {
199
280
  amount: e,
200
- clientKey: fe(
201
- a.paymentMethodOptionResponseEntry
281
+ clientKey: Se(
282
+ n.paymentMethodOptionResponseEntry
202
283
  ),
203
- environment: Ee(
204
- a.paymentMethodOptionResponseEntry,
284
+ environment: De(
285
+ n.paymentMethodOptionResponseEntry,
205
286
  r
206
287
  ),
207
- locale: Y,
208
- translations: Re(a.variant),
209
- countryCode: a.countryCode,
288
+ locale: X,
289
+ translations: Ze(n.variant),
290
+ countryCode: n.countryCode,
210
291
  analytics: { enabled: !1 },
211
292
  paymentMethodsResponse: { paymentMethods: t },
212
- onSubmit: $,
213
- onAdditionalDetails: Q,
214
- onPaymentCompleted: q,
215
- onPaymentFailed: X,
216
- onError: ee,
293
+ onSubmit: ce,
294
+ onAdditionalDetails: me,
295
+ onPaymentCompleted: le,
296
+ onPaymentFailed: ye,
297
+ onError: he,
217
298
  showPayButton: !1
218
299
  },
219
300
  dropInConfig: {
@@ -222,67 +303,81 @@ const Re = (y) => {
222
303
  card: {
223
304
  hasHolderName: !0,
224
305
  holderNameRequired: !0,
225
- enableStoreDetails: !a.forceStorePaymentMethod && a.storePaymentMethod === void 0 && a.variant === "AUTHORIZE"
306
+ enableStoreDetails: !n.forceStorePaymentMethod && n.storePaymentMethod === void 0 && n.variant === "AUTHORIZE"
226
307
  },
227
308
  paypal: {
228
309
  intent: e.value > 0 ? "authorize" : "tokenize",
229
310
  showPayButton: !0
230
311
  }
231
312
  },
232
- openFirstPaymentMethod: a.selected,
313
+ openFirstPaymentMethod: n.selected,
233
314
  onSelect: ({ props: { type: o } }) => {
234
- o && l("select", { paymentMethodType: o, paymentGatewayVariant: "ADYEN" });
315
+ o && E("select", { paymentMethodType: o, paymentGatewayVariant: "ADYEN" });
235
316
  },
236
- onReady: () => l("ready")
317
+ onReady: () => E("ready")
237
318
  }
238
319
  };
239
320
  }
240
- function H() {
321
+ function re() {
241
322
  return Promise.all([
242
- Te(),
323
+ we(),
243
324
  import("./adyen-Bugab0JE.mjs").then((e) => e.default)
244
325
  ]);
245
326
  }
246
- async function v() {
247
- if (await b(), f.value = void 0, !M.value) {
248
- const { payment_acceptor: e, integration: t } = a.paymentMethodOptionResponseEntry;
327
+ async function F() {
328
+ if (await Y(), P.value = void 0, !B.value) {
329
+ const { payment_acceptor: e, integration: t } = n.paymentMethodOptionResponseEntry;
249
330
  r.warn("PAYMENT_INTEGRATION_NOT_RENDERABLE", "No Adyen payment methods to offer", {
250
331
  fingerprint: ["PAYMENT_INTEGRATION_NOT_RENDERABLE", e.id],
251
332
  paymentAcceptorId: e.id,
252
333
  integrationId: t.id,
253
- ...a.invoiceId ? { invoiceId: a.invoiceId } : {}
334
+ ...n.invoiceId ? { invoiceId: n.invoiceId } : {}
254
335
  });
255
336
  return;
256
337
  }
257
- if (await de(), !!u.value)
338
+ if (await V(), !!p.value)
258
339
  try {
259
- const [e, t] = await H(), { checkoutConfig: o, dropInConfig: n } = await K();
260
- N = await e.AdyenCheckout(o), m = new e.Dropin(N, {
261
- ...n,
340
+ const [e, t] = await re(), { checkoutConfig: o, dropInConfig: a } = await oe();
341
+ b = await e.AdyenCheckout(o), m = new e.Dropin(b, {
342
+ ...a,
262
343
  paymentMethodComponents: e.dropInPaymentMethodComponents
263
- }).mount(u.value), V(t);
344
+ }).mount(p.value), de(t), ie();
264
345
  } catch (e) {
265
346
  r.error(
266
347
  "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
267
348
  "Failed to mount Adyen web drop-in",
268
- s({ reason: "ADYEN_DROP_IN_MOUNT_FAILED", cause: e }),
349
+ c({ reason: "ADYEN_DROP_IN_MOUNT_FAILED", cause: e }),
269
350
  e
270
- ), p({
351
+ ), _({
271
352
  code: "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
272
353
  message: "Failed to mount Adyen web drop-in",
273
354
  error: e
274
355
  });
275
356
  }
276
357
  }
277
- async function b() {
278
- m && (m.unmount(), m = null), u.value && (u.value.innerHTML = "");
358
+ function U() {
359
+ const e = Ye(p.value);
360
+ if (je(e, R.value)) {
361
+ f.value = null, V(() => f.value = e);
362
+ return;
363
+ }
364
+ f.value = e;
365
+ }
366
+ function ie() {
367
+ y == null || y.disconnect(), p.value && (y = new MutationObserver(() => U()), y.observe(p.value, { childList: !0, subtree: !0 }), U());
368
+ }
369
+ function se() {
370
+ y == null || y.disconnect(), y = void 0, f.value = null;
371
+ }
372
+ async function Y() {
373
+ se(), m && (m.unmount(), m = null), p.value && (p.value.innerHTML = "");
279
374
  }
280
- function V(e) {
375
+ function de(e) {
281
376
  var o;
282
- const t = (o = u.value) == null ? void 0 : o.getRootNode();
377
+ const t = (o = p.value) == null ? void 0 : o.getRootNode();
283
378
  if (t instanceof ShadowRoot) {
284
- const n = document.createElement("style");
285
- n.textContent = e, t.appendChild(n);
379
+ const a = document.createElement("style");
380
+ a.textContent = e, t.appendChild(a);
286
381
  const i = document.createElement("style");
287
382
  i.textContent = `
288
383
  :host {
@@ -377,22 +472,22 @@ const Re = (y) => {
377
472
  .adyen-checkout__checkbox__input + .adyen-checkout__checkbox__label:after {
378
473
  border-color: rgb(229, 231, 235);
379
474
  }
380
- `, a.variant === "AUTHORIZE" && (i.textContent += `
475
+ `, n.variant === "AUTHORIZE" && (i.textContent += `
381
476
  .adyen-checkout__payment-method--cashapp .adyen-checkout-pm-details-wrapper {
382
477
  display: none;
383
478
  }
384
479
  `), t.appendChild(i);
385
480
  }
386
481
  }
387
- function D(e, {
482
+ function j(e, {
388
483
  paymentMethodType: t,
389
484
  actions: o,
390
- logFailure: n
485
+ logFailure: a
391
486
  }) {
392
- if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant === _) {
393
- const i = J(e, t);
487
+ if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant === N) {
488
+ const i = ue(e, t);
394
489
  if (!i) {
395
- n(e);
490
+ a(e);
396
491
  return;
397
492
  }
398
493
  m.handleAction(i), o.resolve({
@@ -402,263 +497,263 @@ const Re = (y) => {
402
497
  return;
403
498
  }
404
499
  if (e.payment.result === "AUTHORIZED") {
405
- R.value = !0, o.resolve({ resultCode: "Authorised" });
500
+ w.value = !0, o.resolve({ resultCode: "Authorised" });
406
501
  return;
407
502
  }
408
- n(e), o.resolve({ resultCode: "Error" });
503
+ a(e), o.resolve({ resultCode: "Error" });
409
504
  }
410
- function $(...e) {
411
- const [t, o, n] = e;
412
- a.validateOnSubmit().then((i) => {
505
+ function ce(...e) {
506
+ const [t, o, a] = e;
507
+ n.validateOnSubmit().then((i) => {
413
508
  if (!i)
414
509
  return;
415
- const d = a.paymentMethodOptionResponseEntry.payment_acceptor.id, C = {
416
- risk_data: P(t.data.riskData),
417
- payment_method: P(t.data.paymentMethod),
418
- browser_info: P(t.data.browserInfo)
510
+ const s = n.paymentMethodOptionResponseEntry.payment_acceptor.id, z = {
511
+ risk_data: S(t.data.riskData),
512
+ payment_method: S(t.data.paymentMethod),
513
+ browser_info: S(t.data.browserInfo)
419
514
  };
420
- if (a.variant === "AUTHORIZE") {
421
- const T = F({
422
- paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
515
+ if (n.variant === "AUTHORIZE") {
516
+ const k = Q({
517
+ paymentAcceptorId: n.paymentMethodOptionResponseEntry.payment_acceptor.id,
423
518
  redirectUrl: window.location.href
424
519
  });
425
- j({
426
- payment_acceptor_id: d,
427
- ...a.customerId ? { customer_id: a.customerId } : {},
428
- payment_gateway_variant: _,
520
+ ee({
521
+ payment_acceptor_id: s,
522
+ ...n.customerId ? { customer_id: n.customerId } : {},
523
+ payment_gateway_variant: N,
429
524
  adyen: {
430
- ...C,
431
- store_payment_method: a.storePaymentMethod ?? (a.forceStorePaymentMethod || t.data.storePaymentMethod)
525
+ ...z,
526
+ store_payment_method: n.storePaymentMethod ?? (n.forceStorePaymentMethod || t.data.storePaymentMethod)
432
527
  },
433
- amount: a.amount,
434
- ...a.context ? { context: a.context } : {},
435
- return_url: T
528
+ amount: n.amount,
529
+ ...n.context ? { context: n.context } : {},
530
+ return_url: k
436
531
  }).then(
437
- (c) => D(c, {
532
+ (l) => j(l, {
438
533
  paymentMethodType: t.data.paymentMethod.type,
439
- actions: n,
440
- logFailure: (h) => r.error(
534
+ actions: a,
535
+ logFailure: (I) => r.error(
441
536
  "PAYMENT_AUTHORIZATION_FAILED",
442
- `Failed payment authorization for payment acceptor with id ${d}`,
443
- s({
537
+ `Failed payment authorization for payment acceptor with id ${s}`,
538
+ c({
444
539
  reason: "PAYMENT_AUTHORIZATION_REJECTED",
445
540
  paymentMethodType: t.data.paymentMethod.type,
446
- cause: h
541
+ cause: I
447
542
  }),
448
- h
543
+ I
449
544
  )
450
545
  })
451
- ).catch((c) => {
546
+ ).catch((l) => {
452
547
  r.error(
453
548
  "PAYMENT_AUTHORIZATION_FAILED",
454
- `Failed payment authorization for payment acceptor with id ${d}`,
455
- s({
549
+ `Failed payment authorization for payment acceptor with id ${s}`,
550
+ c({
456
551
  reason: "PAYMENT_AUTHORIZATION_FAILED",
457
552
  paymentMethodType: t.data.paymentMethod.type,
458
- cause: c
553
+ cause: l
459
554
  }),
460
- c
461
- ), n.resolve({ resultCode: "Error" });
555
+ l
556
+ ), a.resolve({ resultCode: "Error" });
462
557
  });
463
558
  return;
464
559
  }
465
- if (a.variant === "TOKENIZE") {
466
- const T = F({
467
- paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
560
+ if (n.variant === "TOKENIZE") {
561
+ const k = Q({
562
+ paymentAcceptorId: n.paymentMethodOptionResponseEntry.payment_acceptor.id,
468
563
  redirectUrl: window.location.href
469
564
  });
470
- if (!a.customerId) {
565
+ if (!n.customerId) {
471
566
  r.error(
472
567
  "TOKENIZATION_FAILED",
473
- `Missing customer id for payment acceptor with id ${d}`,
474
- s({ reason: "TOKENIZATION_FAILED_NO_CUSTOMER" })
475
- ), p({ code: "TOKENIZE_FAILED", message: "Missing customer id" });
568
+ `Missing customer id for payment acceptor with id ${s}`,
569
+ c({ reason: "TOKENIZATION_FAILED_NO_CUSTOMER" })
570
+ ), _({ code: "TOKENIZE_FAILED", message: "Missing customer id" });
476
571
  return;
477
572
  }
478
- z({
479
- customer_id: a.customerId,
480
- payment_acceptor_id: d,
481
- payment_gateway_variant: _,
482
- adyen: C,
483
- return_url: T
573
+ ne({
574
+ customer_id: n.customerId,
575
+ payment_acceptor_id: s,
576
+ payment_gateway_variant: N,
577
+ adyen: z,
578
+ return_url: k
484
579
  }).then(
485
- (c) => D(c, {
580
+ (l) => j(l, {
486
581
  paymentMethodType: t.data.paymentMethod.type,
487
- actions: n,
488
- logFailure: (h) => r.error(
582
+ actions: a,
583
+ logFailure: (I) => r.error(
489
584
  "TOKENIZATION_FAILED",
490
- `Tokenization failed for payment acceptor with id ${d}`,
491
- s({
585
+ `Tokenization failed for payment acceptor with id ${s}`,
586
+ c({
492
587
  reason: "TOKENIZATION_REJECTED",
493
588
  paymentMethodType: t.data.paymentMethod.type,
494
- cause: h
589
+ cause: I
495
590
  }),
496
- h
591
+ I
497
592
  )
498
593
  })
499
- ).catch((c) => {
594
+ ).catch((l) => {
500
595
  r.error(
501
596
  "TOKENIZATION_FAILED",
502
- `Tokenization failed for payment acceptor with id ${d}`,
503
- s({
597
+ `Tokenization failed for payment acceptor with id ${s}`,
598
+ c({
504
599
  reason: "TOKENIZATION_FAILED",
505
600
  paymentMethodType: t.data.paymentMethod.type,
506
- cause: c
601
+ cause: l
507
602
  }),
508
- c
509
- ), n.resolve({ resultCode: "Error" });
603
+ l
604
+ ), a.resolve({ resultCode: "Error" });
510
605
  });
511
606
  }
512
607
  }).catch((i) => {
513
608
  r.error(
514
609
  "INTEGRATION_ERROR",
515
610
  "Unhandled error in payment submission flow",
516
- s({ reason: "ADYEN_SUBMISSION_FLOW_FAILED", cause: i }),
611
+ c({ reason: "ADYEN_SUBMISSION_FLOW_FAILED", cause: i }),
517
612
  i
518
613
  );
519
614
  });
520
615
  }
521
- function J(e, t) {
616
+ function ue(e, t) {
522
617
  if (e.status !== "ACTION_REQUIRED")
523
618
  return;
524
619
  const o = e.action;
525
620
  if (o.payment_gateway_variant != "ADYEN")
526
621
  return;
527
- const n = o.adyen;
622
+ const a = o.adyen;
528
623
  return {
529
- paymentMethodType: (n == null ? void 0 : n.payment_method_type) ?? t,
624
+ paymentMethodType: (a == null ? void 0 : a.payment_method_type) ?? t,
530
625
  method: o.method,
531
626
  url: o.url,
532
627
  data: o.data,
533
- type: n == null ? void 0 : n.action_type,
534
- paymentData: n == null ? void 0 : n.payment_data,
535
- sdkData: n == null ? void 0 : n.sdk_data
628
+ type: a == null ? void 0 : a.action_type,
629
+ paymentData: a == null ? void 0 : a.payment_data,
630
+ sdkData: a == null ? void 0 : a.sdk_data
536
631
  };
537
632
  }
538
- function Q(...e) {
539
- const [t] = e, o = t.data.details, n = t.data.paymentData;
540
- if (a.paymentMethodOptionResponseEntry.payment_acceptor.id) {
541
- k({
633
+ function me(...e) {
634
+ const [t] = e, o = t.data.details, a = t.data.paymentData;
635
+ if (n.paymentMethodOptionResponseEntry.payment_acceptor.id) {
636
+ Z({
542
637
  // For the moment: Adyen gives a null value back which is not accepted by Solvimon API, so filter that out
543
- detailsResult: o ? W(o) : void 0,
544
- paymentDataResult: n,
545
- paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id
638
+ detailsResult: o ? pe(o) : void 0,
639
+ paymentDataResult: a,
640
+ paymentAcceptorId: n.paymentMethodOptionResponseEntry.payment_acceptor.id
546
641
  });
547
642
  return;
548
643
  }
549
644
  r.error(
550
645
  "PAYMENT_ACCEPTOR_MISSING",
551
646
  "Additional details arrived without a payment acceptor id",
552
- s({ reason: "PAYMENT_ACCEPTOR_MISSING" })
553
- ), p({
647
+ c({ reason: "PAYMENT_ACCEPTOR_MISSING" })
648
+ ), _({
554
649
  code: "REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING",
555
650
  message: "Payment failed",
556
651
  error: e
557
652
  });
558
653
  }
559
- function W(e) {
654
+ function pe(e) {
560
655
  return Object.fromEntries(
561
656
  Object.entries(e).filter(([, t]) => t != null)
562
657
  );
563
658
  }
564
- function X(...e) {
659
+ function ye(...e) {
565
660
  const [t] = e;
566
661
  r.error(
567
662
  "ADYEN_PAYMENT_FAILED",
568
663
  "Adyen reported the payment as failed",
569
- s({
664
+ c({
570
665
  reason: "ADYEN_PAYMENT_FAILED",
571
666
  extra: { resultCode: t == null ? void 0 : t.resultCode }
572
667
  }),
573
668
  t
574
- ), p({ code: "AUTHORIZATION_FAILED", message: "Payment failed", error: t });
669
+ ), _({ code: "AUTHORIZATION_FAILED", message: "Payment failed", error: t });
575
670
  }
576
- function q(...e) {
671
+ function le(...e) {
577
672
  const [, t] = e;
578
- t == null || t.unmount(), l("payment-success");
673
+ t == null || t.unmount(), E("payment-success");
579
674
  }
580
- function ee(...e) {
675
+ function he(...e) {
581
676
  const [t, o] = e;
582
677
  t.name !== "CANCEL" && (r.error(
583
678
  "INTEGRATION_ERROR",
584
679
  "The Adyen drop-in reported an error",
585
- s({
680
+ c({
586
681
  reason: "ADYEN_INTEGRATION_ERROR",
587
682
  cause: t,
588
683
  extra: { adyenErrorName: t.name }
589
684
  }),
590
685
  t
591
- ), p({ code: "UNKNOWN_ERROR", message: "Something went wrong", error: t }), o == null || o.unmount());
686
+ ), _({ code: "UNKNOWN_ERROR", message: "Something went wrong", error: t }), o == null || o.unmount());
592
687
  }
593
- function k({
688
+ function Z({
594
689
  detailsResult: e,
595
690
  threeDSResult: t,
596
691
  redirectResult: o,
597
- paymentDataResult: n,
692
+ paymentDataResult: a,
598
693
  paymentAcceptorId: i
599
694
  }) {
600
- Z({
695
+ te({
601
696
  paymentAcceptorId: i,
602
- paymentGatewayVariant: _,
697
+ paymentGatewayVariant: N,
603
698
  adyen: {
604
699
  ...e ? { details: e } : {},
605
700
  ...o ? { redirect_result: o } : {},
606
701
  ...t ? { threeds_result: t } : {},
607
- ...n ? { payment_data: n } : {}
702
+ ...a ? { payment_data: a } : {}
608
703
  }
609
- }).then((d) => {
610
- if (d.payment_status === "FAILURE") {
704
+ }).then((s) => {
705
+ if (s.payment_status === "FAILURE") {
611
706
  r.error(
612
707
  "PAYMENT_DETAILS_REJECTED",
613
708
  "Payment details returned a failed payment",
614
- s({
709
+ c({
615
710
  reason: "PAYMENT_DETAILS_REJECTED",
616
711
  paymentAcceptorId: i,
617
- extra: { paymentStatus: d.payment_status }
712
+ extra: { paymentStatus: s.payment_status }
618
713
  })
619
- ), p({
714
+ ), _({
620
715
  code: "AUTHORIZATION_FAILED",
621
716
  message: "Failed getting payment details",
622
- error: d
717
+ error: s
623
718
  });
624
719
  return;
625
720
  }
626
- if (d.payment_status === "SUCCESS") {
627
- l("payment-success");
721
+ if (s.payment_status === "SUCCESS") {
722
+ E("payment-success");
628
723
  return;
629
724
  }
630
- }).catch((d) => {
725
+ }).catch((s) => {
631
726
  r.error(
632
727
  "PAYMENT_DETAILS_CALL_FAILED",
633
728
  "Failed fetching payment details",
634
- s({
729
+ c({
635
730
  reason: "PAYMENT_DETAILS_CALL_FAILED",
636
731
  paymentAcceptorId: i,
637
- cause: d
732
+ cause: s
638
733
  }),
639
- d
640
- ), p({
734
+ s
735
+ ), _({
641
736
  code: "PAYMENT_DETAILS_CALL_FAILED",
642
737
  message: "Failed fetching payment details",
643
- error: d
738
+ error: s
644
739
  });
645
740
  });
646
741
  }
647
- function te() {
648
- const e = w(Ae), t = w(Ie);
742
+ function _e() {
743
+ const e = J(Ce), t = J(Le);
649
744
  if (e) {
650
745
  if (!t) {
651
746
  r.error(
652
747
  "INVALID_REDIRECT_RESULT",
653
748
  "Redirect result is set but payment acceptor id is missing",
654
- s({ reason: "INVALID_REDIRECT_RESULT" })
655
- ), p({
749
+ c({ reason: "INVALID_REDIRECT_RESULT" })
750
+ ), _({
656
751
  code: "REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING",
657
752
  message: "Redirect result is set but payment acceptor id is missing"
658
753
  });
659
754
  return;
660
755
  }
661
- k({
756
+ Z({
662
757
  paymentAcceptorId: t,
663
758
  detailsResult: {
664
759
  redirectResult: decodeURI(e)
@@ -666,33 +761,44 @@ const Re = (y) => {
666
761
  });
667
762
  }
668
763
  }
669
- return ne(() => {
670
- v(), te();
671
- }), oe(() => {
672
- b();
673
- }), re(
674
- () => a.paymentMethodOptionResponseEntry,
764
+ return Ee(() => {
765
+ F(), _e();
766
+ }), fe(() => {
767
+ Y();
768
+ }), ge(
769
+ () => n.paymentMethodOptionResponseEntry,
675
770
  (e, t) => {
676
- se(e, t) || v();
771
+ Ne(e, t) || F();
677
772
  },
678
773
  { deep: !0 }
679
- ), (e, t) => (A(), S(ie, null, [
680
- R.value ? (A(), x(pe, {
774
+ ), (e, t) => (g(), C(Ae, null, [
775
+ w.value ? (g(), M(Pe, {
681
776
  key: 0,
682
- variant: y.variant,
683
- redirecting: y.redirectsOnSuccess
684
- }, null, 8, ["variant", "redirecting"])) : f.value ? (A(), x(ue, {
777
+ variant: d.variant,
778
+ redirecting: d.redirectsOnSuccess
779
+ }, null, 8, ["variant", "redirecting"])) : P.value ? (g(), M(ve, {
685
780
  key: 1,
686
- error: f.value
687
- }, null, 8, ["error"])) : B("", !0),
688
- M.value ? (A(), S("div", {
781
+ error: P.value
782
+ }, null, 8, ["error"])) : D("", !0),
783
+ B.value ? (g(), C("div", {
689
784
  key: 2,
690
785
  ref_key: "dropInContainerRef",
691
- ref: u
692
- }, null, 512)) : B("", !0)
786
+ ref: p
787
+ }, null, 512)) : D("", !0),
788
+ f.value ? (g(), M(Ie, {
789
+ key: 3,
790
+ to: f.value
791
+ }, [
792
+ Te("div", {
793
+ ref_key: "sepaNoticeRef",
794
+ ref: R
795
+ }, [
796
+ L(Ge, { "billing-entity-name": d.billingEntityName }, null, 8, ["billing-entity-name"])
797
+ ], 512)
798
+ ], 8, ["to"])) : D("", !0)
693
799
  ], 64));
694
800
  }
695
801
  });
696
802
  export {
697
- we as default
803
+ nt as default
698
804
  };