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

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-B70SyWOB.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DW10rozs.mjs} +6 -6
  3. package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-jXClPW91.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-jWthTJk-.js} +1 -1
  4. package/dist/{Avatar.vue.es-2E3laNRb.mjs → Avatar.vue.es-DzjFvLuK.mjs} +1 -1
  5. package/dist/{Avatar.vue.es-DdJreyr_.js → Avatar.vue.es-nr8srGuK.js} +1 -1
  6. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-D5EoBLhj.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-BptcwJMr.mjs} +4 -4
  7. package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-ConpyC8n.js → BillingInformation.vue_vue_type_script_setup_true_lang-C1prOJay.js} +1 -1
  8. package/dist/{Button.vue.es-BJEy-e9C.mjs → Button.vue.es-PbJFK8z7.mjs} +1 -1
  9. package/dist/{Button.vue.es-CJNxYacb.js → Button.vue.es-TCF-bvDF.js} +1 -1
  10. package/dist/Checkout.entry.ce-D8O4qJ24.js +2 -0
  11. package/dist/Checkout.entry.ce-DHFx5Vnb.mjs +3900 -0
  12. package/dist/{Chip.vue.es-DLQ4QEPo.js → Chip.vue.es-CAoisngJ.js} +1 -1
  13. package/dist/{Chip.vue.es-DGbc4L_D.mjs → Chip.vue.es-DpcOM3Ai.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-Bd2kmeVq.js → ContextMenu.vue.es-kzZ3JJHG.js} +1 -1
  17. package/dist/{ContextMenu.vue.es-DL1M7pcr.mjs → ContextMenu.vue.es-tAuFp-6i.mjs} +4 -4
  18. package/dist/{CustomerBillingInformation.vue.es-CE94ASC3.mjs → CustomerBillingInformation.vue.es-BQSl9q6W.mjs} +2 -2
  19. package/dist/{CustomerBillingInformation.vue.es-hiFzB43w.js → CustomerBillingInformation.vue.es-Nac6HgLo.js} +1 -1
  20. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BE21tqgW.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BOLf-U0A.js} +1 -1
  21. package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bhih7rPR.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-R47ln7Wb.mjs} +5 -5
  22. package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C5zc9n64.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-CaNXS48v.mjs} +14 -14
  23. package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D018AmFA.js → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D_jcV7VG.js} +1 -1
  24. package/dist/{DividerText.vue.es-CFZUQ62L.mjs → DividerText.vue.es-CSE7a-T0.mjs} +1 -1
  25. package/dist/{DividerText.vue.es-CvCgHHXN.js → DividerText.vue.es-LJ2kZakb.js} +1 -1
  26. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-YcaBJDzx.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DeotDsFP.mjs} +4 -4
  27. package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-jTJGN4jb.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-GNPyrcAQ.js} +1 -1
  28. package/dist/{ErrorNotification.vue.es-DI2B7WiR.js → ErrorNotification.vue.es-BF6swP7o.js} +1 -1
  29. package/dist/{ErrorNotification.vue.es-B3mvv79S.mjs → ErrorNotification.vue.es-CVUuIt8Z.mjs} +1 -1
  30. package/dist/{IconButton.vue.es-Dp8h4YOx.js → IconButton.vue.es-CB1lIPao.js} +1 -1
  31. package/dist/{IconButton.vue.es-GLcGhoHC.mjs → IconButton.vue.es-DGflbWFk.mjs} +2 -2
  32. package/dist/{IconTitle.vue.es-CzuPQtOX.mjs → IconTitle.vue.es-BsdjyGlQ.mjs} +3 -3
  33. package/dist/{IconTitle.vue.es-DN9r6nfK.js → IconTitle.vue.es-CMO8EyQl.js} +1 -1
  34. package/dist/{Input.vue.es-5Cq8a7oH.mjs → Input.vue.es-BFbiFXsU.mjs} +2 -2
  35. package/dist/{Input.vue.es-DM81HeVv.js → Input.vue.es-CREdT4nB.js} +1 -1
  36. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-w8w52LcV.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BZ4D_-7E.js} +1 -1
  37. package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D75LSIL8.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Btv0rRk4.mjs} +2 -2
  38. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-dRLsZPNh.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-CrZq0d1M.mjs} +2 -2
  39. package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DB5h39LA.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-j-cNIRD_.js} +1 -1
  40. package/dist/{InvoiceSummary.vue.es-Qy99kLZs.js → InvoiceSummary.vue.es-BOnvORpf.js} +1 -1
  41. package/dist/{InvoiceSummary.vue.es-DbtqsTuP.mjs → InvoiceSummary.vue.es-JtOIQ6SJ.mjs} +7 -7
  42. package/dist/{Modal.vue.es-DgLl6XBV.js → Modal.vue.es-BbdtdxsO.js} +1 -1
  43. package/dist/{Modal.vue.es-Z2DWAN2u.mjs → Modal.vue.es-jT61xK_A.mjs} +5 -5
  44. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DBm51C7c.js → PaymentErrorCard.vue_vue_type_script_setup_true_lang-BBoZVnsK.js} +1 -1
  45. package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DYuFPIqs.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dan29qmH.mjs} +4 -4
  46. package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CcdhYTB1.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BJZHkTqA.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-D34fD3Io.js} +1 -1
  48. package/dist/{PaymentHistoryBlock-DS1j-8m-.js → PaymentHistoryBlock-Dw2wOiAI.js} +1 -1
  49. package/dist/{PaymentHistoryBlock-CjP_514k.mjs → PaymentHistoryBlock-quvnCSFV.mjs} +1 -1
  50. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dr2jtJhK.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-5ckQd9eQ.mjs} +4 -4
  51. package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CSTfMB8U.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C0XIdBbx.js} +1 -1
  52. package/dist/{PaymentIntegrationForm-CpOZUf-W.mjs → PaymentIntegrationForm-CQjUZi22.mjs} +1 -1
  53. package/dist/{PaymentIntegrationForm-80b19Lkq.js → PaymentIntegrationForm-D1oJREmH.js} +1 -1
  54. package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-De7h9-fH.js +1 -0
  55. package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BgztoQH5.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DnBLj1wZ.mjs} +43 -40
  56. package/dist/PaymentIntegrationFormAdyen-BQXXwpUK.js +98 -0
  57. package/dist/{PaymentIntegrationFormAdyen-BQcgDcik.mjs → PaymentIntegrationFormAdyen-CyZk9ofV.mjs} +307 -207
  58. package/dist/{PaymentIntegrationFormStripe-CMwLqOe6.js → PaymentIntegrationFormStripe-Bs4F7oK_.js} +2 -2
  59. package/dist/{PaymentIntegrationFormStripe-Dx1H3fZ2.mjs → PaymentIntegrationFormStripe-D-GaLHwc.mjs} +22 -21
  60. package/dist/{PaymentMethod.vue.es-EhRCfeax.mjs → PaymentMethod.vue.es-C0j580g7.mjs} +3 -3
  61. package/dist/{PaymentMethod.vue.es-pLCCzVxN.js → PaymentMethod.vue.es-CXV_ThBY.js} +1 -1
  62. package/dist/{PaymentMethodForm-D3OY8zK5.mjs → PaymentMethodForm-Bf2Ps6eV.mjs} +1 -1
  63. package/dist/{PaymentMethodForm-Bw2e1tXo.js → PaymentMethodForm-CDV5LR8i.js} +1 -1
  64. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-vGprVPpn.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-BqPu7CYA.mjs} +6 -6
  65. package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-DHXw6qD0.js → PaymentMethodForm.vue_vue_type_script_setup_true_lang-BwsRDlQJ.js} +1 -1
  66. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-D7b0HhDc.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-9MUPbgWM.mjs} +6 -6
  67. package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-CdT1YyeU.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-BIX0k7-q.js} +1 -1
  68. package/dist/{PlanCustomizationEditor-RC8kj2rC.js → PlanCustomizationEditor-0kEXoOcM.js} +1 -1
  69. package/dist/{PlanCustomizationEditor-BQqkgmzL.mjs → PlanCustomizationEditor-Dv69xPbX.mjs} +9 -9
  70. package/dist/{PricingGroupRangeInput.vue.es-ClkE98ML.js → PricingGroupRangeInput.vue.es-BchXhunH.js} +1 -1
  71. package/dist/{PricingGroupRangeInput.vue.es-DNsiUZyT.mjs → PricingGroupRangeInput.vue.es-CP7-dmxS.mjs} +4 -4
  72. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CURXAgMT.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DmVJ2JQE.mjs} +5 -5
  73. package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-BJfQLRcS.js → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-YsI__d0V.js} +1 -1
  74. package/dist/{RadioGroupExtended.vue.es-Dk9xdj76.js → RadioGroupExtended.vue.es-Cf5R1P9a.js} +1 -1
  75. package/dist/{RadioGroupExtended.vue.es-vUqn2ZUP.mjs → RadioGroupExtended.vue.es-_QMReyZ8.mjs} +2 -2
  76. package/dist/{Section.vue.es-Cybk1Nb8.js → Section.vue.es-CBZx5x53.js} +1 -1
  77. package/dist/{Section.vue.es-C2_topx4.mjs → Section.vue.es-KRsHeFoT.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-BVELHoUj.mjs} +6 -6
  79. package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DIgVzXLg.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-UdGQMJGY.js} +1 -1
  80. package/dist/{SubscriptionSchedules-CNTg_oRy.js → SubscriptionSchedules-1ikoGncQ.js} +1 -1
  81. package/dist/{SubscriptionSchedules-BlCU_xc5.mjs → SubscriptionSchedules-B6b6xf-E.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-Cd56tuZb.js} +1 -1
  83. package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Cf3Dy8Yn.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dv2bP9vv.mjs} +11 -11
  84. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-BijBAdqp.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-DZKl0Zxp.js} +1 -1
  85. package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-CjzjchsS.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-DvYZvTV9.mjs} +2 -2
  86. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-Dz4s3CH_.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-DTjZcOhj.js} +1 -1
  87. package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-CxdrAanb.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-DmeIKMYI.mjs} +6 -6
  88. package/dist/{TooltipParagraph.vue.es-OX6bAWP9.js → TooltipParagraph.vue.es-7IQdU3Tf.js} +1 -1
  89. package/dist/{TooltipParagraph.vue.es-Fu9Od3Vr.mjs → TooltipParagraph.vue.es-nGFfHF1A.mjs} +1 -1
  90. package/dist/{TrialChip.vue.es-CbjdkR4i.js → TrialChip.vue.es-DhC5Bpmy.js} +1 -1
  91. package/dist/{TrialChip.vue.es-c7tZOIW3.mjs → TrialChip.vue.es-eKgO6an3.mjs} +2 -2
  92. package/dist/{cn.es-C8Ogac5T.mjs → cn.es-BD7Afj5Q.mjs} +2 -2
  93. package/dist/{cn.es-lC4_Xd0R.js → cn.es-BLE3T5Rx.js} +1 -1
  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-CSzbVZIH.js} +14 -14
  119. package/dist/{customElements-Df6dGrN-.mjs → customElements-DT1YyL4O.mjs} +637 -601
  120. package/dist/{customer-DoLHZuMG.js → customer-CJonIvSm.js} +1 -1
  121. package/dist/{customer-DmsKYpVi.mjs → customer-Cq4fF__H.mjs} +1 -1
  122. package/dist/{de-DE-Bgm9bnmp.mjs → de-DE-CyvjSD9b.mjs} +7 -2
  123. package/dist/{de-DE-CAL9Mji2.js → de-DE-DXsDvO5y.js} +1 -1
  124. package/dist/{en-US-_xe5H4TQ.js → en-US-DHdI11k9.js} +1 -1
  125. package/dist/{en-US-E86eRIxh.mjs → en-US-xQrWj8qI.mjs} +5 -0
  126. package/dist/index.cjs +1 -1
  127. package/dist/index.mjs +1 -1
  128. package/dist/{invoices-CrO6p4Ms.mjs → invoices-CVZOfEOY.mjs} +1 -1
  129. package/dist/{invoices-mw87cNTS.js → invoices-EamWI_jz.js} +1 -1
  130. package/dist/{it-IT-co1BfV5s.mjs → it-IT-C09oObBM.mjs} +5 -0
  131. package/dist/{it-IT-QFQ1Ajbb.js → it-IT-CcRIzP1A.js} +1 -1
  132. package/dist/{nl-NL-CJXJC1bx.js → nl-NL-5PrgQl8q.js} +1 -1
  133. package/dist/{nl-NL-Drv2E66B.mjs → nl-NL-BhNND_yi.mjs} +5 -0
  134. package/dist/{paymentMethods-CQdhZwq4.js → paymentMethods-Bwym8l9a.js} +1 -1
  135. package/dist/{paymentMethods-BNQbW_f1.mjs → paymentMethods-By1SebnO.mjs} +1 -1
  136. package/dist/{payments-VS_N2xpJ.mjs → payments-BYZLQTJ-.mjs} +1 -1
  137. package/dist/{payments-KTjVHqOa.js → payments-Dnjg9Se4.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-Dugd-oZ1.js → subscriptions-BKER9RUc.js} +1 -1
  151. package/dist/{subscriptions-U4xg2CO1.mjs → subscriptions-Gj3KgCZz.mjs} +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-CTyDGRX8.js → useActionDispatchProvider-DDHrhy3i.js} +1 -1
  159. package/dist/{useActionDispatchProvider-DyQbRCxR.mjs → useActionDispatchProvider-MjTckd4f.mjs} +1 -1
  160. package/dist/{useCustomer-BXI5Vmit.js → useCustomer-BW0DBEJh.js} +1 -1
  161. package/dist/{useCustomer-dcmU1539.mjs → useCustomer-CxnF7r8Z.mjs} +1 -1
  162. package/dist/{useCustomerFormLabels-Ct6vD_b8.js → useCustomerFormLabels-C773h3J0.js} +1 -1
  163. package/dist/{useCustomerFormLabels-BC1WfqWo.mjs → useCustomerFormLabels-zPc8QrwJ.mjs} +5 -5
  164. package/dist/{useExperimentalFeature-9-p9_nP6.js → useExperimentalFeature-9teNYGuP.js} +1 -1
  165. package/dist/{useExperimentalFeature-4Y-ppDr7.mjs → useExperimentalFeature-NsSDg-e3.mjs} +1 -1
  166. package/dist/{useInvoiceData-CGvtl7Ai.js → useInvoiceData-DvV2AsgC.js} +1 -1
  167. package/dist/{useInvoiceData-B2Z9aD2w.mjs → useInvoiceData-GQwk6fl4.mjs} +2 -2
  168. package/dist/{useInvoicesList-DJPznhig.mjs → useInvoicesList-CGmFSQSg.mjs} +7 -7
  169. package/dist/{useInvoicesList-Ba0GO8p-.js → useInvoicesList-Xnth6s6U.js} +1 -1
  170. package/dist/{useLoadInitialData-CWyI3_RR.mjs → useLoadInitialData-BvvaWeAe.mjs} +1 -1
  171. package/dist/{useLoadInitialData-BO9ZsSsF.js → useLoadInitialData-Cjkc70u-.js} +1 -1
  172. package/dist/{usePaymentMethodAvailability-DqIvkjLF.mjs → usePaymentMethodAvailability-BWaaj3N3.mjs} +4 -4
  173. package/dist/{usePaymentMethodAvailability-bkmDrPXY.js → usePaymentMethodAvailability-DKyscbom.js} +1 -1
  174. package/dist/{usePaymentMethodOptions-BPBVGNDg.js → usePaymentMethodOptions-DuXKS36F.js} +1 -1
  175. package/dist/{usePaymentMethodOptions-MSEp39xQ.mjs → usePaymentMethodOptions-l-wVAmIW.mjs} +1 -1
  176. package/dist/{usePaymentMethods-BAOtOJZD.js → usePaymentMethods-BDFVB-kK.js} +1 -1
  177. package/dist/{usePaymentMethods-U7gnZ0F5.mjs → usePaymentMethods-DvQVnsSV.mjs} +1 -1
  178. package/dist/{usePayments-G-HpKpK8.js → usePayments-CIJocDhR.js} +1 -1
  179. package/dist/{usePayments-Dq2V6bTV.mjs → usePayments-D_dyuf6S.mjs} +6 -6
  180. package/dist/{usePortal-BplmMkBG.js → usePortal-BU4ibdWq.js} +1 -1
  181. package/dist/{usePortal-CMHV-ShD.mjs → usePortal-Br5lYuPT.mjs} +1 -1
  182. package/dist/{useSubscription-V53WsZwQ.mjs → useSubscription-CqRae2I9.mjs} +1 -1
  183. package/dist/{useSubscription-CvB8ROBt.js → useSubscription-DRBUt9H5.js} +1 -1
  184. package/dist/{useTimePeriod.es-D31Zl1MJ.mjs → useTimePeriod.es-BxIGnCAP.mjs} +1 -1
  185. package/dist/{useTimePeriod.es-CtCTu9cz.js → useTimePeriod.es-DDos3-EH.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 N, openBlock as A, createElementBlock as S, createVNode as C, unref as G, withCtx as K, createTextVNode as H, toDisplayString as O, ref as I, onMounted as Ee, onBeforeUnmount as fe, watch as Ae, Fragment as ge, createBlock as M, createCommentVNode as k, 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-DT1YyL4O.mjs";
4
+ import { _ as Pe, a as ve } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dan29qmH.mjs";
5
+ import { c as Re } from "./payments-BYZLQTJ-.mjs";
6
+ import { g as J } from "./url-TNRgVI8A.mjs";
7
+ import { c as Oe } from "./paymentMethods-By1SebnO.mjs";
8
+ import { g as Me, t as ke, a as De, b as Se, R as Ce, P as Le, c as D, d as Q } from "./adyen-CvsH5fok.mjs";
9
+ import { l as we } from "./adyenSdk-B01MB9Ia.mjs";
10
+ import { u as xe } from "./useExperimentalFeature-NsSDg-e3.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,73 @@ 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: _ } = q(), m = N(
157
+ () => _({
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 = N(
163
+ () => u.billingEntityName ? _(
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
+ ) : _({
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 = N(
176
+ () => u.billingEntityName ? _(
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
+ ) : _({
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
+ );
189
+ return (E, p) => (A(), S("div", ze, [
190
+ C(G($), {
191
+ tag: "p",
192
+ variant: "body-xs",
193
+ class: "font-semibold"
194
+ }, {
195
+ default: K(() => [
196
+ H(O(m.value), 1)
197
+ ]),
198
+ _: 1
199
+ }),
200
+ C(G($), {
201
+ tag: "p",
202
+ variant: "body-xs",
203
+ color: "subtle"
204
+ }, {
205
+ default: K(() => [
206
+ H(O(b.value) + " " + O(n.value), 1)
207
+ ]),
208
+ _: 1
209
+ })
210
+ ]));
211
+ }
212
+ }), T = "ADYEN", nt = /* @__PURE__ */ W({
141
213
  __name: "PaymentIntegrationFormAdyen",
142
214
  props: {
143
215
  context: { type: Object },
@@ -151,69 +223,72 @@ const Re = (y) => {
151
223
  validateOnSubmit: { type: Function, default: () => Promise.resolve(!0) },
152
224
  forceStorePaymentMethod: { type: Boolean },
153
225
  storePaymentMethod: { type: Boolean, default: void 0 },
154
- redirectsOnSuccess: { type: Boolean }
226
+ redirectsOnSuccess: { type: Boolean },
227
+ billingEntityName: { type: String }
155
228
  },
156
229
  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(
230
+ setup(d, { expose: u, emit: _ }) {
231
+ let m = null, b = null;
232
+ const n = d, E = _;
233
+ u({ submit: ae });
234
+ const p = I(), L = I(null), f = I(null);
235
+ let y;
236
+ const w = I(!1), P = I(), r = be(), { locale: X } = q(), { authorizePayment: ee, getPaymentDetails: te } = Re(), { tokenizePaymentMethod: ne } = Oe(), v = xe(), x = N(
162
237
  () => {
163
238
  var e;
164
- return he(a.paymentMethodOptionResponseEntry, {
165
- excludeExpressPaymentMethods: !!((e = I == null ? void 0 : I.value) != null && e["express-checkout"])
239
+ return Me(n.paymentMethodOptionResponseEntry, {
240
+ excludeExpressPaymentMethods: !!((e = v == null ? void 0 : v.value) != null && e["express-checkout"])
166
241
  });
167
242
  }
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,
243
+ ), B = N(() => x.value.length > 0);
244
+ function c(e) {
245
+ return Be({
246
+ gateway: T,
247
+ paymentAcceptorId: n.paymentMethodOptionResponseEntry.payment_acceptor.id,
248
+ variant: n.variant,
249
+ invoiceId: n.invoiceId,
250
+ customerId: n.customerId,
176
251
  ...e
177
252
  });
178
253
  }
179
- function p(e) {
180
- const t = Ne(e);
181
- f.value = t, l("payment-failed", t);
254
+ function h(e) {
255
+ const t = Fe(e);
256
+ P.value = t, E("payment-failed", t);
182
257
  }
183
- function G() {
258
+ function ae() {
184
259
  try {
185
260
  m == null || m.submit();
186
261
  } catch (e) {
187
262
  r.error(
188
263
  "ADYEN_SUBMIT_FAILED",
189
264
  "Failed to submit Adyen drop-in",
190
- s({ reason: "ADYEN_SUBMIT_FAILED", cause: e }),
265
+ c({ reason: "ADYEN_SUBMIT_FAILED", cause: e }),
191
266
  e
192
267
  );
193
268
  }
194
269
  }
195
- async function K() {
196
- const e = _e(a.amount), t = O.value;
270
+ async function oe() {
271
+ const e = ke(n.amount), t = x.value;
197
272
  return {
198
273
  checkoutConfig: {
199
274
  amount: e,
200
- clientKey: fe(
201
- a.paymentMethodOptionResponseEntry
275
+ clientKey: Se(
276
+ n.paymentMethodOptionResponseEntry
202
277
  ),
203
- environment: Ee(
204
- a.paymentMethodOptionResponseEntry,
278
+ environment: De(
279
+ n.paymentMethodOptionResponseEntry,
205
280
  r
206
281
  ),
207
- locale: Y,
208
- translations: Re(a.variant),
209
- countryCode: a.countryCode,
282
+ locale: X,
283
+ translations: Ze(n.variant),
284
+ countryCode: n.countryCode,
210
285
  analytics: { enabled: !1 },
211
286
  paymentMethodsResponse: { paymentMethods: t },
212
- onSubmit: $,
213
- onAdditionalDetails: Q,
214
- onPaymentCompleted: q,
215
- onPaymentFailed: X,
216
- onError: ee,
287
+ onSubmit: ce,
288
+ onAdditionalDetails: me,
289
+ onPaymentCompleted: le,
290
+ onPaymentFailed: ye,
291
+ onError: he,
217
292
  showPayButton: !1
218
293
  },
219
294
  dropInConfig: {
@@ -222,67 +297,81 @@ const Re = (y) => {
222
297
  card: {
223
298
  hasHolderName: !0,
224
299
  holderNameRequired: !0,
225
- enableStoreDetails: !a.forceStorePaymentMethod && a.storePaymentMethod === void 0 && a.variant === "AUTHORIZE"
300
+ enableStoreDetails: !n.forceStorePaymentMethod && n.storePaymentMethod === void 0 && n.variant === "AUTHORIZE"
226
301
  },
227
302
  paypal: {
228
303
  intent: e.value > 0 ? "authorize" : "tokenize",
229
304
  showPayButton: !0
230
305
  }
231
306
  },
232
- openFirstPaymentMethod: a.selected,
307
+ openFirstPaymentMethod: n.selected,
233
308
  onSelect: ({ props: { type: o } }) => {
234
- o && l("select", { paymentMethodType: o, paymentGatewayVariant: "ADYEN" });
309
+ o && E("select", { paymentMethodType: o, paymentGatewayVariant: "ADYEN" });
235
310
  },
236
- onReady: () => l("ready")
311
+ onReady: () => E("ready")
237
312
  }
238
313
  };
239
314
  }
240
- function H() {
315
+ function re() {
241
316
  return Promise.all([
242
- Te(),
317
+ we(),
243
318
  import("./adyen-Bugab0JE.mjs").then((e) => e.default)
244
319
  ]);
245
320
  }
246
- async function v() {
247
- if (await b(), f.value = void 0, !M.value) {
248
- const { payment_acceptor: e, integration: t } = a.paymentMethodOptionResponseEntry;
321
+ async function F() {
322
+ if (await Y(), P.value = void 0, !B.value) {
323
+ const { payment_acceptor: e, integration: t } = n.paymentMethodOptionResponseEntry;
249
324
  r.warn("PAYMENT_INTEGRATION_NOT_RENDERABLE", "No Adyen payment methods to offer", {
250
325
  fingerprint: ["PAYMENT_INTEGRATION_NOT_RENDERABLE", e.id],
251
326
  paymentAcceptorId: e.id,
252
327
  integrationId: t.id,
253
- ...a.invoiceId ? { invoiceId: a.invoiceId } : {}
328
+ ...n.invoiceId ? { invoiceId: n.invoiceId } : {}
254
329
  });
255
330
  return;
256
331
  }
257
- if (await de(), !!u.value)
332
+ if (await V(), !!p.value)
258
333
  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,
334
+ const [e, t] = await re(), { checkoutConfig: o, dropInConfig: a } = await oe();
335
+ b = await e.AdyenCheckout(o), m = new e.Dropin(b, {
336
+ ...a,
262
337
  paymentMethodComponents: e.dropInPaymentMethodComponents
263
- }).mount(u.value), V(t);
338
+ }).mount(p.value), de(t), ie();
264
339
  } catch (e) {
265
340
  r.error(
266
341
  "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
267
342
  "Failed to mount Adyen web drop-in",
268
- s({ reason: "ADYEN_DROP_IN_MOUNT_FAILED", cause: e }),
343
+ c({ reason: "ADYEN_DROP_IN_MOUNT_FAILED", cause: e }),
269
344
  e
270
- ), p({
345
+ ), h({
271
346
  code: "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
272
347
  message: "Failed to mount Adyen web drop-in",
273
348
  error: e
274
349
  });
275
350
  }
276
351
  }
277
- async function b() {
278
- m && (m.unmount(), m = null), u.value && (u.value.innerHTML = "");
352
+ function U() {
353
+ const e = Ye(p.value);
354
+ if (je(e, L.value)) {
355
+ f.value = null, V(() => f.value = e);
356
+ return;
357
+ }
358
+ f.value = e;
359
+ }
360
+ function ie() {
361
+ y == null || y.disconnect(), p.value && (y = new MutationObserver(() => U()), y.observe(p.value, { childList: !0, subtree: !0 }), U());
362
+ }
363
+ function se() {
364
+ y == null || y.disconnect(), y = void 0, f.value = null;
365
+ }
366
+ async function Y() {
367
+ se(), m && (m.unmount(), m = null), p.value && (p.value.innerHTML = "");
279
368
  }
280
- function V(e) {
369
+ function de(e) {
281
370
  var o;
282
- const t = (o = u.value) == null ? void 0 : o.getRootNode();
371
+ const t = (o = p.value) == null ? void 0 : o.getRootNode();
283
372
  if (t instanceof ShadowRoot) {
284
- const n = document.createElement("style");
285
- n.textContent = e, t.appendChild(n);
373
+ const a = document.createElement("style");
374
+ a.textContent = e, t.appendChild(a);
286
375
  const i = document.createElement("style");
287
376
  i.textContent = `
288
377
  :host {
@@ -377,22 +466,22 @@ const Re = (y) => {
377
466
  .adyen-checkout__checkbox__input + .adyen-checkout__checkbox__label:after {
378
467
  border-color: rgb(229, 231, 235);
379
468
  }
380
- `, a.variant === "AUTHORIZE" && (i.textContent += `
469
+ `, n.variant === "AUTHORIZE" && (i.textContent += `
381
470
  .adyen-checkout__payment-method--cashapp .adyen-checkout-pm-details-wrapper {
382
471
  display: none;
383
472
  }
384
473
  `), t.appendChild(i);
385
474
  }
386
475
  }
387
- function D(e, {
476
+ function j(e, {
388
477
  paymentMethodType: t,
389
478
  actions: o,
390
- logFailure: n
479
+ logFailure: a
391
480
  }) {
392
- if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant === _) {
393
- const i = J(e, t);
481
+ if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant === T) {
482
+ const i = ue(e, t);
394
483
  if (!i) {
395
- n(e);
484
+ a(e);
396
485
  return;
397
486
  }
398
487
  m.handleAction(i), o.resolve({
@@ -402,263 +491,263 @@ const Re = (y) => {
402
491
  return;
403
492
  }
404
493
  if (e.payment.result === "AUTHORIZED") {
405
- R.value = !0, o.resolve({ resultCode: "Authorised" });
494
+ w.value = !0, o.resolve({ resultCode: "Authorised" });
406
495
  return;
407
496
  }
408
- n(e), o.resolve({ resultCode: "Error" });
497
+ a(e), o.resolve({ resultCode: "Error" });
409
498
  }
410
- function $(...e) {
411
- const [t, o, n] = e;
412
- a.validateOnSubmit().then((i) => {
499
+ function ce(...e) {
500
+ const [t, o, a] = e;
501
+ n.validateOnSubmit().then((i) => {
413
502
  if (!i)
414
503
  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)
504
+ const s = n.paymentMethodOptionResponseEntry.payment_acceptor.id, z = {
505
+ risk_data: D(t.data.riskData),
506
+ payment_method: D(t.data.paymentMethod),
507
+ browser_info: D(t.data.browserInfo)
419
508
  };
420
- if (a.variant === "AUTHORIZE") {
421
- const T = F({
422
- paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
509
+ if (n.variant === "AUTHORIZE") {
510
+ const R = Q({
511
+ paymentAcceptorId: n.paymentMethodOptionResponseEntry.payment_acceptor.id,
423
512
  redirectUrl: window.location.href
424
513
  });
425
- j({
426
- payment_acceptor_id: d,
427
- ...a.customerId ? { customer_id: a.customerId } : {},
428
- payment_gateway_variant: _,
514
+ ee({
515
+ payment_acceptor_id: s,
516
+ ...n.customerId ? { customer_id: n.customerId } : {},
517
+ payment_gateway_variant: T,
429
518
  adyen: {
430
- ...C,
431
- store_payment_method: a.storePaymentMethod ?? (a.forceStorePaymentMethod || t.data.storePaymentMethod)
519
+ ...z,
520
+ store_payment_method: n.storePaymentMethod ?? (n.forceStorePaymentMethod || t.data.storePaymentMethod)
432
521
  },
433
- amount: a.amount,
434
- ...a.context ? { context: a.context } : {},
435
- return_url: T
522
+ amount: n.amount,
523
+ ...n.context ? { context: n.context } : {},
524
+ return_url: R
436
525
  }).then(
437
- (c) => D(c, {
526
+ (l) => j(l, {
438
527
  paymentMethodType: t.data.paymentMethod.type,
439
- actions: n,
440
- logFailure: (h) => r.error(
528
+ actions: a,
529
+ logFailure: (g) => r.error(
441
530
  "PAYMENT_AUTHORIZATION_FAILED",
442
- `Failed payment authorization for payment acceptor with id ${d}`,
443
- s({
531
+ `Failed payment authorization for payment acceptor with id ${s}`,
532
+ c({
444
533
  reason: "PAYMENT_AUTHORIZATION_REJECTED",
445
534
  paymentMethodType: t.data.paymentMethod.type,
446
- cause: h
535
+ cause: g
447
536
  }),
448
- h
537
+ g
449
538
  )
450
539
  })
451
- ).catch((c) => {
540
+ ).catch((l) => {
452
541
  r.error(
453
542
  "PAYMENT_AUTHORIZATION_FAILED",
454
- `Failed payment authorization for payment acceptor with id ${d}`,
455
- s({
543
+ `Failed payment authorization for payment acceptor with id ${s}`,
544
+ c({
456
545
  reason: "PAYMENT_AUTHORIZATION_FAILED",
457
546
  paymentMethodType: t.data.paymentMethod.type,
458
- cause: c
547
+ cause: l
459
548
  }),
460
- c
461
- ), n.resolve({ resultCode: "Error" });
549
+ l
550
+ ), a.resolve({ resultCode: "Error" });
462
551
  });
463
552
  return;
464
553
  }
465
- if (a.variant === "TOKENIZE") {
466
- const T = F({
467
- paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
554
+ if (n.variant === "TOKENIZE") {
555
+ const R = Q({
556
+ paymentAcceptorId: n.paymentMethodOptionResponseEntry.payment_acceptor.id,
468
557
  redirectUrl: window.location.href
469
558
  });
470
- if (!a.customerId) {
559
+ if (!n.customerId) {
471
560
  r.error(
472
561
  "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" });
562
+ `Missing customer id for payment acceptor with id ${s}`,
563
+ c({ reason: "TOKENIZATION_FAILED_NO_CUSTOMER" })
564
+ ), h({ code: "TOKENIZE_FAILED", message: "Missing customer id" });
476
565
  return;
477
566
  }
478
- z({
479
- customer_id: a.customerId,
480
- payment_acceptor_id: d,
481
- payment_gateway_variant: _,
482
- adyen: C,
483
- return_url: T
567
+ ne({
568
+ customer_id: n.customerId,
569
+ payment_acceptor_id: s,
570
+ payment_gateway_variant: T,
571
+ adyen: z,
572
+ return_url: R
484
573
  }).then(
485
- (c) => D(c, {
574
+ (l) => j(l, {
486
575
  paymentMethodType: t.data.paymentMethod.type,
487
- actions: n,
488
- logFailure: (h) => r.error(
576
+ actions: a,
577
+ logFailure: (g) => r.error(
489
578
  "TOKENIZATION_FAILED",
490
- `Tokenization failed for payment acceptor with id ${d}`,
491
- s({
579
+ `Tokenization failed for payment acceptor with id ${s}`,
580
+ c({
492
581
  reason: "TOKENIZATION_REJECTED",
493
582
  paymentMethodType: t.data.paymentMethod.type,
494
- cause: h
583
+ cause: g
495
584
  }),
496
- h
585
+ g
497
586
  )
498
587
  })
499
- ).catch((c) => {
588
+ ).catch((l) => {
500
589
  r.error(
501
590
  "TOKENIZATION_FAILED",
502
- `Tokenization failed for payment acceptor with id ${d}`,
503
- s({
591
+ `Tokenization failed for payment acceptor with id ${s}`,
592
+ c({
504
593
  reason: "TOKENIZATION_FAILED",
505
594
  paymentMethodType: t.data.paymentMethod.type,
506
- cause: c
595
+ cause: l
507
596
  }),
508
- c
509
- ), n.resolve({ resultCode: "Error" });
597
+ l
598
+ ), a.resolve({ resultCode: "Error" });
510
599
  });
511
600
  }
512
601
  }).catch((i) => {
513
602
  r.error(
514
603
  "INTEGRATION_ERROR",
515
604
  "Unhandled error in payment submission flow",
516
- s({ reason: "ADYEN_SUBMISSION_FLOW_FAILED", cause: i }),
605
+ c({ reason: "ADYEN_SUBMISSION_FLOW_FAILED", cause: i }),
517
606
  i
518
607
  );
519
608
  });
520
609
  }
521
- function J(e, t) {
610
+ function ue(e, t) {
522
611
  if (e.status !== "ACTION_REQUIRED")
523
612
  return;
524
613
  const o = e.action;
525
614
  if (o.payment_gateway_variant != "ADYEN")
526
615
  return;
527
- const n = o.adyen;
616
+ const a = o.adyen;
528
617
  return {
529
- paymentMethodType: (n == null ? void 0 : n.payment_method_type) ?? t,
618
+ paymentMethodType: (a == null ? void 0 : a.payment_method_type) ?? t,
530
619
  method: o.method,
531
620
  url: o.url,
532
621
  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
622
+ type: a == null ? void 0 : a.action_type,
623
+ paymentData: a == null ? void 0 : a.payment_data,
624
+ sdkData: a == null ? void 0 : a.sdk_data
536
625
  };
537
626
  }
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({
627
+ function me(...e) {
628
+ const [t] = e, o = t.data.details, a = t.data.paymentData;
629
+ if (n.paymentMethodOptionResponseEntry.payment_acceptor.id) {
630
+ Z({
542
631
  // 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
632
+ detailsResult: o ? pe(o) : void 0,
633
+ paymentDataResult: a,
634
+ paymentAcceptorId: n.paymentMethodOptionResponseEntry.payment_acceptor.id
546
635
  });
547
636
  return;
548
637
  }
549
638
  r.error(
550
639
  "PAYMENT_ACCEPTOR_MISSING",
551
640
  "Additional details arrived without a payment acceptor id",
552
- s({ reason: "PAYMENT_ACCEPTOR_MISSING" })
553
- ), p({
641
+ c({ reason: "PAYMENT_ACCEPTOR_MISSING" })
642
+ ), h({
554
643
  code: "REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING",
555
644
  message: "Payment failed",
556
645
  error: e
557
646
  });
558
647
  }
559
- function W(e) {
648
+ function pe(e) {
560
649
  return Object.fromEntries(
561
650
  Object.entries(e).filter(([, t]) => t != null)
562
651
  );
563
652
  }
564
- function X(...e) {
653
+ function ye(...e) {
565
654
  const [t] = e;
566
655
  r.error(
567
656
  "ADYEN_PAYMENT_FAILED",
568
657
  "Adyen reported the payment as failed",
569
- s({
658
+ c({
570
659
  reason: "ADYEN_PAYMENT_FAILED",
571
660
  extra: { resultCode: t == null ? void 0 : t.resultCode }
572
661
  }),
573
662
  t
574
- ), p({ code: "AUTHORIZATION_FAILED", message: "Payment failed", error: t });
663
+ ), h({ code: "AUTHORIZATION_FAILED", message: "Payment failed", error: t });
575
664
  }
576
- function q(...e) {
665
+ function le(...e) {
577
666
  const [, t] = e;
578
- t == null || t.unmount(), l("payment-success");
667
+ t == null || t.unmount(), E("payment-success");
579
668
  }
580
- function ee(...e) {
669
+ function he(...e) {
581
670
  const [t, o] = e;
582
671
  t.name !== "CANCEL" && (r.error(
583
672
  "INTEGRATION_ERROR",
584
673
  "The Adyen drop-in reported an error",
585
- s({
674
+ c({
586
675
  reason: "ADYEN_INTEGRATION_ERROR",
587
676
  cause: t,
588
677
  extra: { adyenErrorName: t.name }
589
678
  }),
590
679
  t
591
- ), p({ code: "UNKNOWN_ERROR", message: "Something went wrong", error: t }), o == null || o.unmount());
680
+ ), h({ code: "UNKNOWN_ERROR", message: "Something went wrong", error: t }), o == null || o.unmount());
592
681
  }
593
- function k({
682
+ function Z({
594
683
  detailsResult: e,
595
684
  threeDSResult: t,
596
685
  redirectResult: o,
597
- paymentDataResult: n,
686
+ paymentDataResult: a,
598
687
  paymentAcceptorId: i
599
688
  }) {
600
- Z({
689
+ te({
601
690
  paymentAcceptorId: i,
602
- paymentGatewayVariant: _,
691
+ paymentGatewayVariant: T,
603
692
  adyen: {
604
693
  ...e ? { details: e } : {},
605
694
  ...o ? { redirect_result: o } : {},
606
695
  ...t ? { threeds_result: t } : {},
607
- ...n ? { payment_data: n } : {}
696
+ ...a ? { payment_data: a } : {}
608
697
  }
609
- }).then((d) => {
610
- if (d.payment_status === "FAILURE") {
698
+ }).then((s) => {
699
+ if (s.payment_status === "FAILURE") {
611
700
  r.error(
612
701
  "PAYMENT_DETAILS_REJECTED",
613
702
  "Payment details returned a failed payment",
614
- s({
703
+ c({
615
704
  reason: "PAYMENT_DETAILS_REJECTED",
616
705
  paymentAcceptorId: i,
617
- extra: { paymentStatus: d.payment_status }
706
+ extra: { paymentStatus: s.payment_status }
618
707
  })
619
- ), p({
708
+ ), h({
620
709
  code: "AUTHORIZATION_FAILED",
621
710
  message: "Failed getting payment details",
622
- error: d
711
+ error: s
623
712
  });
624
713
  return;
625
714
  }
626
- if (d.payment_status === "SUCCESS") {
627
- l("payment-success");
715
+ if (s.payment_status === "SUCCESS") {
716
+ E("payment-success");
628
717
  return;
629
718
  }
630
- }).catch((d) => {
719
+ }).catch((s) => {
631
720
  r.error(
632
721
  "PAYMENT_DETAILS_CALL_FAILED",
633
722
  "Failed fetching payment details",
634
- s({
723
+ c({
635
724
  reason: "PAYMENT_DETAILS_CALL_FAILED",
636
725
  paymentAcceptorId: i,
637
- cause: d
726
+ cause: s
638
727
  }),
639
- d
640
- ), p({
728
+ s
729
+ ), h({
641
730
  code: "PAYMENT_DETAILS_CALL_FAILED",
642
731
  message: "Failed fetching payment details",
643
- error: d
732
+ error: s
644
733
  });
645
734
  });
646
735
  }
647
- function te() {
648
- const e = w(Ae), t = w(Ie);
736
+ function _e() {
737
+ const e = J(Ce), t = J(Le);
649
738
  if (e) {
650
739
  if (!t) {
651
740
  r.error(
652
741
  "INVALID_REDIRECT_RESULT",
653
742
  "Redirect result is set but payment acceptor id is missing",
654
- s({ reason: "INVALID_REDIRECT_RESULT" })
655
- ), p({
743
+ c({ reason: "INVALID_REDIRECT_RESULT" })
744
+ ), h({
656
745
  code: "REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING",
657
746
  message: "Redirect result is set but payment acceptor id is missing"
658
747
  });
659
748
  return;
660
749
  }
661
- k({
750
+ Z({
662
751
  paymentAcceptorId: t,
663
752
  detailsResult: {
664
753
  redirectResult: decodeURI(e)
@@ -666,33 +755,44 @@ const Re = (y) => {
666
755
  });
667
756
  }
668
757
  }
669
- return ne(() => {
670
- v(), te();
671
- }), oe(() => {
672
- b();
673
- }), re(
674
- () => a.paymentMethodOptionResponseEntry,
758
+ return Ee(() => {
759
+ F(), _e();
760
+ }), fe(() => {
761
+ Y();
762
+ }), Ae(
763
+ () => n.paymentMethodOptionResponseEntry,
675
764
  (e, t) => {
676
- se(e, t) || v();
765
+ Ne(e, t) || F();
677
766
  },
678
767
  { deep: !0 }
679
- ), (e, t) => (A(), S(ie, null, [
680
- R.value ? (A(), x(pe, {
768
+ ), (e, t) => (A(), S(ge, null, [
769
+ w.value ? (A(), M(Pe, {
681
770
  key: 0,
682
- variant: y.variant,
683
- redirecting: y.redirectsOnSuccess
684
- }, null, 8, ["variant", "redirecting"])) : f.value ? (A(), x(ue, {
771
+ variant: d.variant,
772
+ redirecting: d.redirectsOnSuccess
773
+ }, null, 8, ["variant", "redirecting"])) : P.value ? (A(), M(ve, {
685
774
  key: 1,
686
- error: f.value
687
- }, null, 8, ["error"])) : B("", !0),
688
- M.value ? (A(), S("div", {
775
+ error: P.value
776
+ }, null, 8, ["error"])) : k("", !0),
777
+ B.value ? (A(), S("div", {
689
778
  key: 2,
690
779
  ref_key: "dropInContainerRef",
691
- ref: u
692
- }, null, 512)) : B("", !0)
780
+ ref: p
781
+ }, null, 512)) : k("", !0),
782
+ f.value ? (A(), M(Ie, {
783
+ key: 3,
784
+ to: f.value
785
+ }, [
786
+ Te("div", {
787
+ ref_key: "sepaNoticeRef",
788
+ ref: L
789
+ }, [
790
+ C(Ge, { "billing-entity-name": d.billingEntityName }, null, 8, ["billing-entity-name"])
791
+ ], 512)
792
+ ], 8, ["to"])) : k("", !0)
693
793
  ], 64));
694
794
  }
695
795
  });
696
796
  export {
697
- we as default
797
+ nt as default
698
798
  };