@solvimon/solvimon-web 0.1.0-alpha.22 → 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.
- package/README.md +44 -0
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DFv-awxb.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DW10rozs.mjs} +6 -6
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Co3XAxaY.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-jWthTJk-.js} +1 -1
- package/dist/Alert.vue.es-RyK53a2P.js +1 -0
- package/dist/Alert.vue.es-lIiAWf2S.mjs +146 -0
- package/dist/{Avatar.vue.es-DNJ-jexx.mjs → Avatar.vue.es-DzjFvLuK.mjs} +1 -1
- package/dist/{Avatar.vue.es-D42J_izE.js → Avatar.vue.es-nr8srGuK.js} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-D1uVidXk.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-BptcwJMr.mjs} +4 -4
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BEVkWJXT.js → BillingInformation.vue_vue_type_script_setup_true_lang-C1prOJay.js} +1 -1
- package/dist/{Button.vue.es-Dz-2L8dJ.mjs → Button.vue.es-PbJFK8z7.mjs} +1 -1
- package/dist/{Button.vue.es-M_jXZda4.js → Button.vue.es-TCF-bvDF.js} +1 -1
- package/dist/Checkout.entry.ce-D8O4qJ24.js +2 -0
- package/dist/Checkout.entry.ce-DHFx5Vnb.mjs +3900 -0
- package/dist/{Chip.vue.es-G8doKsZb.js → Chip.vue.es-CAoisngJ.js} +1 -1
- package/dist/{Chip.vue.es-DMK9C78d.mjs → Chip.vue.es-DpcOM3Ai.mjs} +2 -2
- package/dist/ContentWithAsideLayout-BCM8tmZN.mjs +38 -0
- package/dist/ContentWithAsideLayout-RSdKXqAf.js +1 -0
- package/dist/{ContextMenu.vue.es-B3Rz6Ojk.js → ContextMenu.vue.es-kzZ3JJHG.js} +1 -1
- package/dist/{ContextMenu.vue.es-CzkkNoJG.mjs → ContextMenu.vue.es-tAuFp-6i.mjs} +4 -4
- package/dist/{CustomerBillingInformation.vue.es-Db6bN2RZ.mjs → CustomerBillingInformation.vue.es-BQSl9q6W.mjs} +2 -2
- package/dist/{CustomerBillingInformation.vue.es-BmtU9Pk0.js → CustomerBillingInformation.vue.es-Nac6HgLo.js} +1 -1
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BGHaTx1A.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BOLf-U0A.js} +1 -1
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-fESZVyPe.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-R47ln7Wb.mjs} +5 -5
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DdMHG1_Y.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-CaNXS48v.mjs} +15 -15
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D_jcV7VG.js +1 -0
- package/dist/{DividerText.vue.es-IK2fns6f.mjs → DividerText.vue.es-CSE7a-T0.mjs} +1 -1
- package/dist/{DividerText.vue.es-D-QxT2OD.js → DividerText.vue.es-LJ2kZakb.js} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-lhJnqrrh.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DeotDsFP.mjs} +4 -4
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CM_8Asmw.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-GNPyrcAQ.js} +1 -1
- package/dist/ErrorNotification.vue.es-BF6swP7o.js +1 -0
- package/dist/{ErrorNotification.vue.es-BGckEwHf.mjs → ErrorNotification.vue.es-CVUuIt8Z.mjs} +2 -2
- package/dist/IconButton.vue.es-CB1lIPao.js +1 -0
- package/dist/IconButton.vue.es-DGflbWFk.mjs +56 -0
- package/dist/{IconTitle.vue.es-BmX68uJx.mjs → IconTitle.vue.es-BsdjyGlQ.mjs} +3 -3
- package/dist/{IconTitle.vue.es-CmR2xoeu.js → IconTitle.vue.es-CMO8EyQl.js} +1 -1
- package/dist/{Input.vue.es-BGPELaZU.mjs → Input.vue.es-BFbiFXsU.mjs} +2 -2
- package/dist/{Input.vue.es-CTOrmrcB.js → Input.vue.es-CREdT4nB.js} +1 -1
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-bheNAKzK.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BZ4D_-7E.js} +1 -1
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CMEOOuSU.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Btv0rRk4.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-avhwysNq.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-CrZq0d1M.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-Xo9BR6AD.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-j-cNIRD_.js} +1 -1
- package/dist/{InvoiceSummary.vue.es-hpG8Tq1D.js → InvoiceSummary.vue.es-BOnvORpf.js} +1 -1
- package/dist/{InvoiceSummary.vue.es-BWLiwlNs.mjs → InvoiceSummary.vue.es-JtOIQ6SJ.mjs} +7 -7
- package/dist/{Modal.vue.es-BD4vUaOQ.js → Modal.vue.es-BbdtdxsO.js} +1 -1
- package/dist/{Modal.vue.es-B_G8NQS2.mjs → Modal.vue.es-jT61xK_A.mjs} +5 -5
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BBoZVnsK.js +1 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dan29qmH.mjs +294 -0
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DuorCFo9.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BJZHkTqA.mjs} +3 -3
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DIJbzWMV.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D34fD3Io.js} +1 -1
- package/dist/{PaymentHistoryBlock-DSHW_eW1.js → PaymentHistoryBlock-Dw2wOiAI.js} +1 -1
- package/dist/{PaymentHistoryBlock-ComJzB3H.mjs → PaymentHistoryBlock-quvnCSFV.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-hjtksV2D.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-5ckQd9eQ.mjs} +4 -4
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DUN0Hf2v.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C0XIdBbx.js} +1 -1
- package/dist/{PaymentIntegrationForm-CH5B6BY5.mjs → PaymentIntegrationForm-CQjUZi22.mjs} +1 -1
- package/dist/{PaymentIntegrationForm-CwfCLnKt.js → PaymentIntegrationForm-D1oJREmH.js} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-De7h9-fH.js +1 -0
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BqYk4_T9.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DnBLj1wZ.mjs} +43 -40
- package/dist/PaymentIntegrationFormAdyen-BQXXwpUK.js +98 -0
- package/dist/PaymentIntegrationFormAdyen-CyZk9ofV.mjs +798 -0
- package/dist/PaymentIntegrationFormStripe-Bs4F7oK_.js +102 -0
- package/dist/{PaymentIntegrationFormStripe-CBsXDuhy.mjs → PaymentIntegrationFormStripe-D-GaLHwc.mjs} +251 -179
- package/dist/{PaymentMethod.vue.es-DkQdPXfk.mjs → PaymentMethod.vue.es-C0j580g7.mjs} +3 -3
- package/dist/{PaymentMethod.vue.es-D18g-QB4.js → PaymentMethod.vue.es-CXV_ThBY.js} +1 -1
- package/dist/{PaymentMethodForm-CpIZKfPH.mjs → PaymentMethodForm-Bf2Ps6eV.mjs} +1 -1
- package/dist/{PaymentMethodForm-DK8ntFA0.js → PaymentMethodForm-CDV5LR8i.js} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-C1tGJsay.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-BqPu7CYA.mjs} +6 -6
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-D7fDguwa.js → PaymentMethodForm.vue_vue_type_script_setup_true_lang-BwsRDlQJ.js} +1 -1
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-C6BcIkEV.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-9MUPbgWM.mjs} +6 -6
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-H3vrPllf.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-BIX0k7-q.js} +1 -1
- package/dist/PlanCustomizationEditor-0kEXoOcM.js +1 -0
- package/dist/{PlanCustomizationEditor-0zCXN-cv.mjs → PlanCustomizationEditor-Dv69xPbX.mjs} +9 -9
- package/dist/{PricingGroupRangeInput.vue.es-QnpfHxaY.js → PricingGroupRangeInput.vue.es-BchXhunH.js} +2 -2
- package/dist/{PricingGroupRangeInput.vue.es-8_5nfZDI.mjs → PricingGroupRangeInput.vue.es-CP7-dmxS.mjs} +4 -4
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-t6h1j6WD.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DmVJ2JQE.mjs} +5 -5
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CGJhKKNL.js → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-YsI__d0V.js} +1 -1
- package/dist/RadioGroupExtended.vue.es-Cf5R1P9a.js +1 -0
- package/dist/{RadioGroupExtended.vue.es-C92xlCFQ.mjs → RadioGroupExtended.vue.es-_QMReyZ8.mjs} +3 -3
- package/dist/{Section.vue.es-Btff-cLY.js → Section.vue.es-CBZx5x53.js} +1 -1
- package/dist/{Section.vue.es-DQ5H7mqW.mjs → Section.vue.es-KRsHeFoT.mjs} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DKsunuGT.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BVELHoUj.mjs} +6 -6
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BfvX14E3.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-UdGQMJGY.js} +1 -1
- package/dist/{SubscriptionSchedules-pzNsego6.js → SubscriptionSchedules-1ikoGncQ.js} +1 -1
- package/dist/{SubscriptionSchedules-Dc0rUnnf.mjs → SubscriptionSchedules-B6b6xf-E.mjs} +1 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Cd56tuZb.js +1 -0
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Brs9qDs5.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dv2bP9vv.mjs} +12 -12
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-s5_uhyuB.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-DZKl0Zxp.js} +1 -1
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-C1mkIPMr.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-DvYZvTV9.mjs} +2 -2
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-CFmCJK8M.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-DTjZcOhj.js} +1 -1
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DSoNs7Xx.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-DmeIKMYI.mjs} +6 -6
- package/dist/{TooltipParagraph.vue.es-BaqCDjl8.js → TooltipParagraph.vue.es-7IQdU3Tf.js} +1 -1
- package/dist/{TooltipParagraph.vue.es-CIedcXGT.mjs → TooltipParagraph.vue.es-nGFfHF1A.mjs} +1 -1
- package/dist/{TrialChip.vue.es-BzNI94k0.js → TrialChip.vue.es-DhC5Bpmy.js} +1 -1
- package/dist/{TrialChip.vue.es-DkBuMNr_.mjs → TrialChip.vue.es-eKgO6an3.mjs} +2 -2
- package/dist/{cn.es-BGqYNPM3.mjs → cn.es-BD7Afj5Q.mjs} +2 -2
- package/dist/{cn.es-CvmLj7KH.js → cn.es-BLE3T5Rx.js} +1 -1
- package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
- package/dist/components/BillingInformation/BillingInformation.mjs +5 -5
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +7 -7
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +5 -5
- package/dist/components/Invoice/Invoice.cjs +1 -1
- package/dist/components/Invoice/Invoice.mjs +10 -10
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +4 -4
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +8 -8
- package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
- package/dist/components/InvoicesList/InvoicesList.mjs +4 -4
- package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
- package/dist/components/PaymentHistory/PaymentHistory.mjs +9 -9
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +6 -6
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +5 -5
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +6 -6
- package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
- package/dist/components/WalletBalances/WalletBalances.mjs +4 -4
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.mjs +26 -23
- package/dist/customElements-CSzbVZIH.js +1211 -0
- package/dist/{customElements-CSE7dwUr.mjs → customElements-DT1YyL4O.mjs} +663 -626
- package/dist/{customer-Dsq-Moea.js → customer-CJonIvSm.js} +1 -1
- package/dist/{customer-5krPxZ8i.mjs → customer-Cq4fF__H.mjs} +1 -1
- package/dist/{de-DE-DsFtpLsx.mjs → de-DE-CyvjSD9b.mjs} +26 -2
- package/dist/{de-DE-C3DzP1nj.js → de-DE-DXsDvO5y.js} +1 -1
- package/dist/{en-US-X_pSFsNm.js → en-US-DHdI11k9.js} +1 -1
- package/dist/{en-US-DvkvbV0p.mjs → en-US-xQrWj8qI.mjs} +24 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{invoices-DRgfpkJ6.mjs → invoices-CVZOfEOY.mjs} +1 -1
- package/dist/{invoices-xOV2YaEV.js → invoices-EamWI_jz.js} +1 -1
- package/dist/{it-IT-TE7oqvXa.mjs → it-IT-C09oObBM.mjs} +26 -2
- package/dist/{it-IT-YBtHAao1.js → it-IT-CcRIzP1A.js} +1 -1
- package/dist/{nl-NL-C8wnyKju.js → nl-NL-5PrgQl8q.js} +1 -1
- package/dist/{nl-NL-Di3-JArV.mjs → nl-NL-BhNND_yi.mjs} +24 -0
- package/dist/paymentFailure-Bh60UhxA.mjs +47 -0
- package/dist/paymentFailure-Cki8c5BX.js +1 -0
- package/dist/{paymentMethods-CRDIw9lz.js → paymentMethods-Bwym8l9a.js} +1 -1
- package/dist/{paymentMethods-PmkHYomw.mjs → paymentMethods-By1SebnO.mjs} +1 -1
- package/dist/{payments-Dvqh6CGW.mjs → payments-BYZLQTJ-.mjs} +1 -1
- package/dist/{payments-jAgXhdp_.js → payments-Dnjg9Se4.js} +1 -1
- package/dist/screens/Checkout/Checkout.cjs +1 -1
- package/dist/screens/Checkout/Checkout.mjs +2 -2
- package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +21 -21
- package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
- package/dist/screens/PayInvoice/PayInvoice.mjs +131 -127
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +11 -11
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +21 -21
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +20 -20
- package/dist/sessionReference-3h-6FdrC.mjs +43 -0
- package/dist/sessionReference-m_6Rp4X1.js +1 -0
- package/dist/subscriptions-BKER9RUc.js +1 -0
- package/dist/{subscriptions-XDyI2Cqm.mjs → subscriptions-Gj3KgCZz.mjs} +2 -2
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +8 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.lib.d.ts +2 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +13 -2
- package/dist/types/services/portals.types.d.ts +2 -0
- package/dist/types/services/requests.types.d.ts +2 -0
- package/dist/types/types/errors.d.ts +5 -0
- package/dist/{url-DwiuKYpu.mjs → url-TNRgVI8A.mjs} +3 -2
- package/dist/url-vloPOiXd.js +1 -0
- package/dist/{useActionDispatchProvider-CNAuaHdm.js → useActionDispatchProvider-DDHrhy3i.js} +1 -1
- package/dist/{useActionDispatchProvider-B8-oycQk.mjs → useActionDispatchProvider-MjTckd4f.mjs} +1 -1
- package/dist/{useCustomer-DSx-wN-6.js → useCustomer-BW0DBEJh.js} +1 -1
- package/dist/{useCustomer-CP8eWUZV.mjs → useCustomer-CxnF7r8Z.mjs} +1 -1
- package/dist/{useCustomerFormLabels-TVTgy0MT.js → useCustomerFormLabels-C773h3J0.js} +1 -1
- package/dist/{useCustomerFormLabels-DW6jnDYH.mjs → useCustomerFormLabels-zPc8QrwJ.mjs} +5 -5
- package/dist/{useExperimentalFeature-CC-DrIcL.js → useExperimentalFeature-9teNYGuP.js} +1 -1
- package/dist/{useExperimentalFeature-BvE_EOX-.mjs → useExperimentalFeature-NsSDg-e3.mjs} +1 -1
- package/dist/{useInvoiceData-CRRPdXc6.js → useInvoiceData-DvV2AsgC.js} +1 -1
- package/dist/{useInvoiceData-D8ds05CX.mjs → useInvoiceData-GQwk6fl4.mjs} +2 -2
- package/dist/{useInvoicesList-SJU5YWBQ.mjs → useInvoicesList-CGmFSQSg.mjs} +7 -7
- package/dist/{useInvoicesList-DIfQcvER.js → useInvoicesList-Xnth6s6U.js} +1 -1
- package/dist/{useLoadInitialData-MUljS38K.mjs → useLoadInitialData-BvvaWeAe.mjs} +1 -1
- package/dist/{useLoadInitialData-DsabgMLZ.js → useLoadInitialData-Cjkc70u-.js} +1 -1
- package/dist/{usePaymentMethodAvailability-D0NUanyF.mjs → usePaymentMethodAvailability-BWaaj3N3.mjs} +4 -4
- package/dist/{usePaymentMethodAvailability-Bt7P9InI.js → usePaymentMethodAvailability-DKyscbom.js} +1 -1
- package/dist/{usePaymentMethodOptions-cT1o-BA1.js → usePaymentMethodOptions-DuXKS36F.js} +1 -1
- package/dist/{usePaymentMethodOptions-B7JYkGsw.mjs → usePaymentMethodOptions-l-wVAmIW.mjs} +1 -1
- package/dist/{usePaymentMethods-DNVw2eVg.js → usePaymentMethods-BDFVB-kK.js} +1 -1
- package/dist/{usePaymentMethods-CpzqXQUT.mjs → usePaymentMethods-DvQVnsSV.mjs} +1 -1
- package/dist/{usePayments-D9Eo-uBk.js → usePayments-CIJocDhR.js} +1 -1
- package/dist/{usePayments-Gx9kBvNB.mjs → usePayments-D_dyuf6S.mjs} +6 -6
- package/dist/{usePortal-DsebXdhx.js → usePortal-BU4ibdWq.js} +1 -1
- package/dist/{usePortal-3VCZwSUE.mjs → usePortal-Br5lYuPT.mjs} +1 -1
- package/dist/{useSubscription-DnL1wVh1.mjs → useSubscription-CqRae2I9.mjs} +1 -1
- package/dist/{useSubscription-K_gP9TeX.js → useSubscription-DRBUt9H5.js} +1 -1
- package/dist/{useTimePeriod.es-DMtKzcoB.mjs → useTimePeriod.es-BxIGnCAP.mjs} +1 -1
- package/dist/{useTimePeriod.es-CmltiTE-.js → useTimePeriod.es-DDos3-EH.js} +1 -1
- package/package.json +2 -1
- package/dist/Checkout.entry.ce-B5-0AM67.mjs +0 -3747
- package/dist/Checkout.entry.ce-C52gkrNZ.js +0 -1
- package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +0 -32
- package/dist/ContentWithAsideLayout-C6yMIVJF.js +0 -1
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-Cnlbp0om.js +0 -1
- package/dist/ErrorNotification.vue.es-Cd2UKPAz.js +0 -1
- package/dist/IconButton.vue.es-BTAkuFsm.js +0 -1
- package/dist/IconButton.vue.es-C4dQEQAc.mjs +0 -198
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BnilyGBO.mjs +0 -144
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-CSv-Luvz.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DzSQC951.js +0 -1
- package/dist/PaymentIntegrationFormAdyen-DfN7cPYZ.mjs +0 -621
- package/dist/PaymentIntegrationFormAdyen-Q48aDXR7.js +0 -98
- package/dist/PaymentIntegrationFormStripe-BSEqarl7.js +0 -102
- package/dist/PlanCustomizationEditor-XpofGULc.js +0 -1
- package/dist/RadioGroupExtended.vue.es-Cb1iD73r.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-nmVRb6hj.js +0 -1
- package/dist/component-5wqcK7yz.mjs +0 -8
- package/dist/component-B7ZDyqBp.js +0 -1
- package/dist/customElements-Vox1PB6G.js +0 -1211
- package/dist/subscriptions-fJcj88X9.js +0 -1
- package/dist/url-BNKStNY9.js +0 -1
|
@@ -1,621 +0,0 @@
|
|
|
1
|
-
import { defineComponent as ee, ref as A, computed as w, onMounted as te, onBeforeUnmount as ne, watch as oe, openBlock as h, createElementBlock as B, Fragment as ae, createBlock as x, createCommentVNode as D, nextTick as re } from "vue";
|
|
2
|
-
import { a as ie } from "./useService-Bh47bllz.mjs";
|
|
3
|
-
import { b as de, u as ce } from "./customElements-CSE7dwUr.mjs";
|
|
4
|
-
import { _ as se, a as me } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-BnilyGBO.mjs";
|
|
5
|
-
import { c as pe } from "./payments-Dvqh6CGW.mjs";
|
|
6
|
-
import { g as C } from "./url-DwiuKYpu.mjs";
|
|
7
|
-
import { c as ue } from "./paymentMethods-PmkHYomw.mjs";
|
|
8
|
-
import { g as ye, t as le, a as he, b as _e, R as fe, P as ge, c as P, d as S } from "./adyen-CvsH5fok.mjs";
|
|
9
|
-
import { l as Ee } from "./adyenSdk-B01MB9Ia.mjs";
|
|
10
|
-
import { u as Ae } from "./useExperimentalFeature-BvE_EOX-.mjs";
|
|
11
|
-
const Pe = (u) => {
|
|
12
|
-
let l = {};
|
|
13
|
-
return u === "TOKENIZE" && (l = {
|
|
14
|
-
"en-US": {
|
|
15
|
-
payButton: "Add payment method",
|
|
16
|
-
confirmPurchase: "Add payment method"
|
|
17
|
-
},
|
|
18
|
-
"fr-FR": {
|
|
19
|
-
payButton: "Ajouter un moyen de paiement",
|
|
20
|
-
confirmPurchase: "Ajouter un moyen de paiement"
|
|
21
|
-
},
|
|
22
|
-
"de-DE": {
|
|
23
|
-
payButton: "Zahlungsmethode hinzufügen",
|
|
24
|
-
confirmPurchase: "Zahlungsmethode hinzufügen"
|
|
25
|
-
},
|
|
26
|
-
"it-IT": {
|
|
27
|
-
payButton: "Aggiungi metodo di pagamento",
|
|
28
|
-
confirmPurchase: "Aggiungi metodo di pagamento"
|
|
29
|
-
},
|
|
30
|
-
"es-ES": {
|
|
31
|
-
payButton: "Añadir método de pago",
|
|
32
|
-
confirmPurchase: "Añadir método de pago"
|
|
33
|
-
},
|
|
34
|
-
"nl-NL": {
|
|
35
|
-
payButton: "Betaalmethode toevoegen",
|
|
36
|
-
confirmPurchase: "Betaalmethode toevoegen"
|
|
37
|
-
},
|
|
38
|
-
"pt-BR": {
|
|
39
|
-
payButton: "Adicionar método de pagamento",
|
|
40
|
-
confirmPurchase: "Adicionar método de pagamento"
|
|
41
|
-
},
|
|
42
|
-
"pt-PT": {
|
|
43
|
-
payButton: "Adicionar método de pagamento",
|
|
44
|
-
confirmPurchase: "Adicionar método de pagamento"
|
|
45
|
-
},
|
|
46
|
-
"pl-PL": {
|
|
47
|
-
payButton: "Dodaj metodę płatności",
|
|
48
|
-
confirmPurchase: "Dodaj metodę płatności"
|
|
49
|
-
},
|
|
50
|
-
"ru-RU": {
|
|
51
|
-
payButton: "Добавить способ оплаты",
|
|
52
|
-
confirmPurchase: "Добавить способ оплаты"
|
|
53
|
-
},
|
|
54
|
-
"sv-SE": {
|
|
55
|
-
payButton: "Lägg till betalningsmetod",
|
|
56
|
-
confirmPurchase: "Lägg till betalningsmetod"
|
|
57
|
-
},
|
|
58
|
-
"da-DK": {
|
|
59
|
-
payButton: "Tilføj betalingsmetode",
|
|
60
|
-
confirmPurchase: "Tilføj betalingsmetode"
|
|
61
|
-
},
|
|
62
|
-
"fi-FI": {
|
|
63
|
-
payButton: "Lisää maksutapa",
|
|
64
|
-
confirmPurchase: "Lisää maksutapa"
|
|
65
|
-
},
|
|
66
|
-
"no-NO": {
|
|
67
|
-
payButton: "Legg til betalingsmetode",
|
|
68
|
-
confirmPurchase: "Legg til betalingsmetode"
|
|
69
|
-
},
|
|
70
|
-
"cs-CZ": {
|
|
71
|
-
payButton: "Přidat platební metodu",
|
|
72
|
-
confirmPurchase: "Přidat platební metodu"
|
|
73
|
-
},
|
|
74
|
-
"hu-HU": {
|
|
75
|
-
payButton: "Fizetési mód hozzáadása",
|
|
76
|
-
confirmPurchase: "Fizetési mód hozzáadása"
|
|
77
|
-
},
|
|
78
|
-
"ro-RO": {
|
|
79
|
-
payButton: "Adăugați metodă de plată",
|
|
80
|
-
confirmPurchase: "Adăugați metodă de plată"
|
|
81
|
-
},
|
|
82
|
-
"ja-JP": {
|
|
83
|
-
payButton: "支払い方法を追加",
|
|
84
|
-
confirmPurchase: "支払い方法を追加"
|
|
85
|
-
},
|
|
86
|
-
"ko-KR": {
|
|
87
|
-
payButton: "결제 수단 추가",
|
|
88
|
-
confirmPurchase: "결제 수단 추가"
|
|
89
|
-
},
|
|
90
|
-
"zh-CN": {
|
|
91
|
-
payButton: "添加支付方式",
|
|
92
|
-
confirmPurchase: "添加支付方式"
|
|
93
|
-
},
|
|
94
|
-
"zh-TW": {
|
|
95
|
-
payButton: "新增付款方式",
|
|
96
|
-
confirmPurchase: "新增付款方式"
|
|
97
|
-
},
|
|
98
|
-
ar: {
|
|
99
|
-
payButton: "إضافة وسيلة دفع",
|
|
100
|
-
confirmPurchase: "إضافة وسيلة دفع"
|
|
101
|
-
},
|
|
102
|
-
"hr-HR": {
|
|
103
|
-
payButton: "Dodajte način plačanja",
|
|
104
|
-
confirmPurchase: "Dodajte način plačanja"
|
|
105
|
-
},
|
|
106
|
-
"el-GR": {
|
|
107
|
-
payButton: "Προσθήκη μεθόδου πληρωμής",
|
|
108
|
-
confirmPurchase: "Προσθήκη μεθόδου πληρωμής"
|
|
109
|
-
},
|
|
110
|
-
"sk-SK": {
|
|
111
|
-
payButton: "Pridať spôsob platby",
|
|
112
|
-
confirmPurchase: "Pridať spôsob platby"
|
|
113
|
-
},
|
|
114
|
-
"sl-SI": {
|
|
115
|
-
payButton: "Dodajte način plačanja",
|
|
116
|
-
confirmPurchase: "Dodajte način plačanja"
|
|
117
|
-
},
|
|
118
|
-
"bg-BG": {
|
|
119
|
-
payButton: "Добавяне на начин на плащане",
|
|
120
|
-
confirmPurchase: "Добавяне на начин на плащане"
|
|
121
|
-
},
|
|
122
|
-
"ca-ES": {
|
|
123
|
-
payButton: "Afegir mètode de pagament",
|
|
124
|
-
confirmPurchase: "Afegir mètode de pagament"
|
|
125
|
-
},
|
|
126
|
-
"et-EE": {
|
|
127
|
-
payButton: "Lisa makseviis",
|
|
128
|
-
confirmPurchase: "Lisa makseviis"
|
|
129
|
-
},
|
|
130
|
-
"lv-LV": {
|
|
131
|
-
payButton: "Pievienot maksājuma veidu",
|
|
132
|
-
confirmPurchase: "Pievienot maksājuma veidu"
|
|
133
|
-
},
|
|
134
|
-
"lt-LT": {
|
|
135
|
-
payButton: "Pridėti mokėjimo metodą",
|
|
136
|
-
confirmPurchase: "Pridėti mokėjimo metodą"
|
|
137
|
-
}
|
|
138
|
-
}), l;
|
|
139
|
-
}, _ = "ADYEN", Be = /* @__PURE__ */ ee({
|
|
140
|
-
__name: "PaymentIntegrationFormAdyen",
|
|
141
|
-
props: {
|
|
142
|
-
context: { type: Object },
|
|
143
|
-
countryCode: { type: String },
|
|
144
|
-
customerId: { type: String },
|
|
145
|
-
invoiceId: { type: String },
|
|
146
|
-
paymentMethodOptionResponseEntry: { type: Object },
|
|
147
|
-
variant: { type: String },
|
|
148
|
-
selected: { type: Boolean },
|
|
149
|
-
amount: { type: Object },
|
|
150
|
-
validateOnSubmit: { type: Function, default: () => Promise.resolve(!0) },
|
|
151
|
-
forceStorePaymentMethod: { type: Boolean },
|
|
152
|
-
storePaymentMethod: { type: Boolean, default: void 0 },
|
|
153
|
-
redirectsOnSuccess: { type: Boolean }
|
|
154
|
-
},
|
|
155
|
-
emits: ["select", "payment-failed", "payment-success", "ready"],
|
|
156
|
-
setup(u, { expose: l, emit: L }) {
|
|
157
|
-
let c = null, I = null;
|
|
158
|
-
const n = u, s = L;
|
|
159
|
-
l({ submit: Y });
|
|
160
|
-
const p = A(), b = A(!1), y = A(), i = de(), { locale: U } = ce(), { authorizePayment: F, getPaymentDetails: j } = pe(), { tokenizePaymentMethod: z } = ue(), f = Ae(), v = w(
|
|
161
|
-
() => {
|
|
162
|
-
var e;
|
|
163
|
-
return ye(n.paymentMethodOptionResponseEntry, {
|
|
164
|
-
excludeExpressPaymentMethods: !!((e = f == null ? void 0 : f.value) != null && e["express-checkout"])
|
|
165
|
-
});
|
|
166
|
-
}
|
|
167
|
-
), k = w(() => v.value.length > 0);
|
|
168
|
-
function Y() {
|
|
169
|
-
try {
|
|
170
|
-
c == null || c.submit();
|
|
171
|
-
} catch (e) {
|
|
172
|
-
i.error("ADYEN_SUBMIT_FAILED", "Failed to submit Adyen drop-in", {}, e);
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
async function Z() {
|
|
176
|
-
const e = le(n.amount), t = v.value;
|
|
177
|
-
return {
|
|
178
|
-
checkoutConfig: {
|
|
179
|
-
amount: e,
|
|
180
|
-
clientKey: _e(
|
|
181
|
-
n.paymentMethodOptionResponseEntry
|
|
182
|
-
),
|
|
183
|
-
environment: he(
|
|
184
|
-
n.paymentMethodOptionResponseEntry,
|
|
185
|
-
i
|
|
186
|
-
),
|
|
187
|
-
locale: U,
|
|
188
|
-
translations: Pe(n.variant),
|
|
189
|
-
countryCode: n.countryCode,
|
|
190
|
-
analytics: { enabled: !1 },
|
|
191
|
-
paymentMethodsResponse: { paymentMethods: t },
|
|
192
|
-
onSubmit: H,
|
|
193
|
-
onAdditionalDetails: $,
|
|
194
|
-
onPaymentCompleted: J,
|
|
195
|
-
onPaymentFailed: Q,
|
|
196
|
-
onError: X,
|
|
197
|
-
showPayButton: !1
|
|
198
|
-
},
|
|
199
|
-
dropInConfig: {
|
|
200
|
-
disableFinalAnimation: !0,
|
|
201
|
-
paymentMethodsConfiguration: {
|
|
202
|
-
card: {
|
|
203
|
-
hasHolderName: !0,
|
|
204
|
-
holderNameRequired: !0,
|
|
205
|
-
enableStoreDetails: !n.forceStorePaymentMethod && n.storePaymentMethod === void 0 && n.variant === "AUTHORIZE"
|
|
206
|
-
},
|
|
207
|
-
paypal: {
|
|
208
|
-
intent: e.value > 0 ? "authorize" : "tokenize",
|
|
209
|
-
showPayButton: !0
|
|
210
|
-
}
|
|
211
|
-
},
|
|
212
|
-
openFirstPaymentMethod: n.selected,
|
|
213
|
-
onSelect: ({ props: { type: a } }) => {
|
|
214
|
-
a && s("select", { paymentMethodType: a, paymentGatewayVariant: "ADYEN" });
|
|
215
|
-
},
|
|
216
|
-
onReady: () => s("ready")
|
|
217
|
-
}
|
|
218
|
-
};
|
|
219
|
-
}
|
|
220
|
-
function K() {
|
|
221
|
-
return Promise.all([
|
|
222
|
-
Ee(),
|
|
223
|
-
import("./adyen-Bugab0JE.mjs").then((e) => e.default)
|
|
224
|
-
]);
|
|
225
|
-
}
|
|
226
|
-
async function R() {
|
|
227
|
-
if (await O(), !k.value) {
|
|
228
|
-
const { payment_acceptor: e, integration: t } = n.paymentMethodOptionResponseEntry;
|
|
229
|
-
i.warn("PAYMENT_INTEGRATION_NOT_RENDERABLE", "No Adyen payment methods to offer", {
|
|
230
|
-
fingerprint: ["PAYMENT_INTEGRATION_NOT_RENDERABLE", e.id],
|
|
231
|
-
paymentAcceptorId: e.id,
|
|
232
|
-
integrationId: t.id,
|
|
233
|
-
...n.invoiceId ? { invoiceId: n.invoiceId } : {}
|
|
234
|
-
});
|
|
235
|
-
return;
|
|
236
|
-
}
|
|
237
|
-
if (await re(), !!p.value)
|
|
238
|
-
try {
|
|
239
|
-
const [e, t] = await K(), { checkoutConfig: a, dropInConfig: o } = await Z();
|
|
240
|
-
I = await e.AdyenCheckout(a), c = new e.Dropin(I, {
|
|
241
|
-
...o,
|
|
242
|
-
paymentMethodComponents: e.dropInPaymentMethodComponents
|
|
243
|
-
}).mount(p.value), G(t);
|
|
244
|
-
} catch (e) {
|
|
245
|
-
i.error(
|
|
246
|
-
"PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
|
|
247
|
-
"Failed to mount Adyen web drop-in",
|
|
248
|
-
{ error: e }
|
|
249
|
-
);
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
async function O() {
|
|
253
|
-
c && (c.unmount(), c = null), p.value && (p.value.innerHTML = "");
|
|
254
|
-
}
|
|
255
|
-
function G(e) {
|
|
256
|
-
var a;
|
|
257
|
-
const t = (a = p.value) == null ? void 0 : a.getRootNode();
|
|
258
|
-
if (t instanceof ShadowRoot) {
|
|
259
|
-
const o = document.createElement("style");
|
|
260
|
-
o.textContent = e, t.appendChild(o);
|
|
261
|
-
const r = document.createElement("style");
|
|
262
|
-
r.textContent = `
|
|
263
|
-
:host {
|
|
264
|
-
--adyen-sdk-color-background-secondary: transparent;
|
|
265
|
-
--adyen-sdk-color-background-primary: rgb(243 244 246 / 0.5);
|
|
266
|
-
--adyen-sdk-color-outline-secondary: #e5e7eb;
|
|
267
|
-
--adyen-sdk-color-outline-primary: transparent;
|
|
268
|
-
--adyen-sdk-color-background-always-dark: var(--color-primary-500);
|
|
269
|
-
--adyen-sdk-color-background-inverse-primary-hover: var(--color-primary-600);
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
.adyen-checkout__payment-method__image__wrapper {
|
|
273
|
-
width: 32px;
|
|
274
|
-
height: 32px;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
.adyen-checkout__payment-method__image {
|
|
278
|
-
height: 32px;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.adyen-checkout__input-wrapper,
|
|
282
|
-
.adyen-checkout__input {
|
|
283
|
-
border-color: rgb(229, 231, 235);
|
|
284
|
-
border-radius: var(--adyen-sdk-border-radius-s, 4px);
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
.adyen-checkout__button,
|
|
288
|
-
.adyen-checkout__payment-method {
|
|
289
|
-
border-radius: var(--adyen-sdk-border-radius-s, 4px);
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
.adyen-checkout__payment-method {
|
|
293
|
-
border-color: rgb(229, 231, 235);
|
|
294
|
-
box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
295
|
-
transition: box-shadow 0.2s ease-in-out;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
.adyen-checkout__payment-method--selected {
|
|
299
|
-
box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
.adyen-checkout__payment-method:after {
|
|
303
|
-
transform: scale(0%);
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
.adyen-checkout__paypal__button {
|
|
307
|
-
display: block !important;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
.adyen-checkout__payment-methods-list {
|
|
311
|
-
gap: 4px;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
.adyen-checkout__dropdown__list {
|
|
315
|
-
background-color: white;
|
|
316
|
-
border-radius: var(--adyen-sdk-border-radius-s, 4px);
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
.adyen-checkout__payment-method.adyen-checkout__payment-method--selected:after {
|
|
320
|
-
content: '✓';
|
|
321
|
-
width: 20px;
|
|
322
|
-
height: 20px;
|
|
323
|
-
border-radius: 10px;
|
|
324
|
-
background-color: var(--color-primary-600);
|
|
325
|
-
position: absolute;
|
|
326
|
-
top: 14px;
|
|
327
|
-
right: 14px;
|
|
328
|
-
text-align: center;
|
|
329
|
-
line-height: 20px;
|
|
330
|
-
color: white;
|
|
331
|
-
transform: scale(100%);
|
|
332
|
-
font-size: 12px;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
.adyen-checkout__payment-method__header {
|
|
336
|
-
padding: 8px 16px !important;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
.adyen-checkout__payment-method__brands {
|
|
340
|
-
align-items: center;
|
|
341
|
-
}
|
|
342
|
-
.adyen-checkout__payment-method__brand-number {
|
|
343
|
-
line-height: 1;
|
|
344
|
-
}
|
|
345
|
-
.adyen-checkout__button__text {
|
|
346
|
-
font-size: 14px;
|
|
347
|
-
}
|
|
348
|
-
.adyen-checkout__store-details {
|
|
349
|
-
background: transparent;
|
|
350
|
-
padding: 0;
|
|
351
|
-
}
|
|
352
|
-
.adyen-checkout__checkbox__input + .adyen-checkout__checkbox__label:after {
|
|
353
|
-
border-color: rgb(229, 231, 235);
|
|
354
|
-
}
|
|
355
|
-
`, n.variant === "AUTHORIZE" && (r.textContent += `
|
|
356
|
-
.adyen-checkout__payment-method--cashapp .adyen-checkout-pm-details-wrapper {
|
|
357
|
-
display: none;
|
|
358
|
-
}
|
|
359
|
-
`), t.appendChild(r);
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
function T(e, {
|
|
363
|
-
paymentMethodType: t,
|
|
364
|
-
actions: a,
|
|
365
|
-
logFailure: o
|
|
366
|
-
}) {
|
|
367
|
-
if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant === _) {
|
|
368
|
-
const r = V(e, t);
|
|
369
|
-
if (!r) {
|
|
370
|
-
o(e);
|
|
371
|
-
return;
|
|
372
|
-
}
|
|
373
|
-
c.handleAction(r), a.resolve({
|
|
374
|
-
resultCode: e.action.adyen.result_code,
|
|
375
|
-
action: r
|
|
376
|
-
});
|
|
377
|
-
return;
|
|
378
|
-
}
|
|
379
|
-
if (e.payment.result === "AUTHORIZED") {
|
|
380
|
-
b.value = !0, a.resolve({ resultCode: "Authorised" });
|
|
381
|
-
return;
|
|
382
|
-
}
|
|
383
|
-
o(e), a.resolve({ resultCode: "Error" });
|
|
384
|
-
}
|
|
385
|
-
function H(...e) {
|
|
386
|
-
const [t, a, o] = e;
|
|
387
|
-
n.validateOnSubmit().then((r) => {
|
|
388
|
-
if (!r)
|
|
389
|
-
return;
|
|
390
|
-
const d = n.paymentMethodOptionResponseEntry.payment_acceptor.id, M = {
|
|
391
|
-
risk_data: P(t.data.riskData),
|
|
392
|
-
payment_method: P(t.data.paymentMethod),
|
|
393
|
-
browser_info: P(t.data.browserInfo)
|
|
394
|
-
};
|
|
395
|
-
if (n.variant === "AUTHORIZE") {
|
|
396
|
-
const g = S({
|
|
397
|
-
paymentAcceptorId: n.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
398
|
-
redirectUrl: window.location.href
|
|
399
|
-
});
|
|
400
|
-
F({
|
|
401
|
-
payment_acceptor_id: d,
|
|
402
|
-
...n.customerId ? { customer_id: n.customerId } : {},
|
|
403
|
-
payment_gateway_variant: _,
|
|
404
|
-
adyen: {
|
|
405
|
-
...M,
|
|
406
|
-
store_payment_method: n.storePaymentMethod ?? (n.forceStorePaymentMethod || t.data.storePaymentMethod)
|
|
407
|
-
},
|
|
408
|
-
amount: n.amount,
|
|
409
|
-
...n.context ? { context: n.context } : {},
|
|
410
|
-
return_url: g
|
|
411
|
-
}).then(
|
|
412
|
-
(m) => T(m, {
|
|
413
|
-
paymentMethodType: t.data.paymentMethod.type,
|
|
414
|
-
actions: o,
|
|
415
|
-
logFailure: (E) => i.error(
|
|
416
|
-
"PAYMENT_AUTHORIZATION_FAILED",
|
|
417
|
-
`Failed payment authorization for payment acceptor with id ${d}`,
|
|
418
|
-
{ error: E }
|
|
419
|
-
)
|
|
420
|
-
})
|
|
421
|
-
).catch((m) => {
|
|
422
|
-
i.error(
|
|
423
|
-
"PAYMENT_AUTHORIZATION_FAILED",
|
|
424
|
-
`Failed payment authorization for payment acceptor with id ${d}`,
|
|
425
|
-
{ error: m }
|
|
426
|
-
), o.resolve({ resultCode: "Error" });
|
|
427
|
-
});
|
|
428
|
-
return;
|
|
429
|
-
}
|
|
430
|
-
if (n.variant === "TOKENIZE") {
|
|
431
|
-
const g = S({
|
|
432
|
-
paymentAcceptorId: n.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
433
|
-
redirectUrl: window.location.href
|
|
434
|
-
});
|
|
435
|
-
if (!n.customerId) {
|
|
436
|
-
i.error(
|
|
437
|
-
"TOKENIZATION_FAILED",
|
|
438
|
-
`Missing customer id for payment acceptor with id ${d}`
|
|
439
|
-
);
|
|
440
|
-
return;
|
|
441
|
-
}
|
|
442
|
-
z({
|
|
443
|
-
customer_id: n.customerId,
|
|
444
|
-
payment_acceptor_id: d,
|
|
445
|
-
payment_gateway_variant: _,
|
|
446
|
-
adyen: M,
|
|
447
|
-
return_url: g
|
|
448
|
-
}).then(
|
|
449
|
-
(m) => T(m, {
|
|
450
|
-
paymentMethodType: t.data.paymentMethod.type,
|
|
451
|
-
actions: o,
|
|
452
|
-
logFailure: (E) => i.error(
|
|
453
|
-
"TOKENIZATION_FAILED",
|
|
454
|
-
`Tokenization failed for payment acceptor with id ${d}`,
|
|
455
|
-
{ error: E }
|
|
456
|
-
)
|
|
457
|
-
})
|
|
458
|
-
).catch((m) => {
|
|
459
|
-
i.error(
|
|
460
|
-
"TOKENIZATION_FAILED",
|
|
461
|
-
`Tokenization failed for payment acceptor with id ${d}`,
|
|
462
|
-
{ error: m }
|
|
463
|
-
), o.resolve({ resultCode: "Error" });
|
|
464
|
-
});
|
|
465
|
-
}
|
|
466
|
-
}).catch((r) => {
|
|
467
|
-
i.error(
|
|
468
|
-
"INTEGRATION_ERROR",
|
|
469
|
-
"Unhandled error in payment submission flow",
|
|
470
|
-
{},
|
|
471
|
-
r
|
|
472
|
-
);
|
|
473
|
-
});
|
|
474
|
-
}
|
|
475
|
-
function V(e, t) {
|
|
476
|
-
if (e.status !== "ACTION_REQUIRED")
|
|
477
|
-
return;
|
|
478
|
-
const a = e.action;
|
|
479
|
-
if (a.payment_gateway_variant != "ADYEN")
|
|
480
|
-
return;
|
|
481
|
-
const o = a.adyen;
|
|
482
|
-
return {
|
|
483
|
-
paymentMethodType: (o == null ? void 0 : o.payment_method_type) ?? t,
|
|
484
|
-
method: a.method,
|
|
485
|
-
url: a.url,
|
|
486
|
-
data: a.data,
|
|
487
|
-
type: o == null ? void 0 : o.action_type,
|
|
488
|
-
paymentData: o == null ? void 0 : o.payment_data,
|
|
489
|
-
sdkData: o == null ? void 0 : o.sdk_data
|
|
490
|
-
};
|
|
491
|
-
}
|
|
492
|
-
function $(...e) {
|
|
493
|
-
const [t] = e, a = t.data.details, o = t.data.paymentData;
|
|
494
|
-
if (n.paymentMethodOptionResponseEntry.payment_acceptor.id) {
|
|
495
|
-
N({
|
|
496
|
-
// For the moment: Adyen gives a null value back which is not accepted by Solvimon API, so filter that out
|
|
497
|
-
detailsResult: a ? W(a) : void 0,
|
|
498
|
-
paymentDataResult: o,
|
|
499
|
-
paymentAcceptorId: n.paymentMethodOptionResponseEntry.payment_acceptor.id
|
|
500
|
-
});
|
|
501
|
-
return;
|
|
502
|
-
}
|
|
503
|
-
const r = {
|
|
504
|
-
code: "UNKNOWN_ERROR",
|
|
505
|
-
message: "Payment failed",
|
|
506
|
-
error: e
|
|
507
|
-
};
|
|
508
|
-
s("payment-failed", r), y.value = r;
|
|
509
|
-
}
|
|
510
|
-
function W(e) {
|
|
511
|
-
return Object.fromEntries(
|
|
512
|
-
Object.entries(e).filter(([, t]) => t != null)
|
|
513
|
-
);
|
|
514
|
-
}
|
|
515
|
-
function Q(...e) {
|
|
516
|
-
const [t] = e, a = {
|
|
517
|
-
code: "UNKNOWN_ERROR",
|
|
518
|
-
message: "Payment failed",
|
|
519
|
-
error: t
|
|
520
|
-
};
|
|
521
|
-
s("payment-failed", a), y.value = a;
|
|
522
|
-
}
|
|
523
|
-
function J(...e) {
|
|
524
|
-
const [, t] = e;
|
|
525
|
-
t == null || t.unmount(), s("payment-success");
|
|
526
|
-
}
|
|
527
|
-
function X(...e) {
|
|
528
|
-
const [t, a] = e;
|
|
529
|
-
if (t.name === "CANCEL")
|
|
530
|
-
return;
|
|
531
|
-
const o = {
|
|
532
|
-
code: "UNKNOWN_ERROR",
|
|
533
|
-
message: "Something went wrong",
|
|
534
|
-
error: t
|
|
535
|
-
};
|
|
536
|
-
i.error("INTEGRATION_ERROR", "Something went wrong", { error: t }), y.value = o, a == null || a.unmount();
|
|
537
|
-
}
|
|
538
|
-
function N({
|
|
539
|
-
detailsResult: e,
|
|
540
|
-
threeDSResult: t,
|
|
541
|
-
redirectResult: a,
|
|
542
|
-
paymentDataResult: o,
|
|
543
|
-
paymentAcceptorId: r
|
|
544
|
-
}) {
|
|
545
|
-
j({
|
|
546
|
-
paymentAcceptorId: r,
|
|
547
|
-
paymentGatewayVariant: _,
|
|
548
|
-
adyen: {
|
|
549
|
-
...e ? { details: e } : {},
|
|
550
|
-
...a ? { redirect_result: a } : {},
|
|
551
|
-
...t ? { threeds_result: t } : {},
|
|
552
|
-
...o ? { payment_data: o } : {}
|
|
553
|
-
}
|
|
554
|
-
}).then((d) => {
|
|
555
|
-
if (d.payment_status === "FAILURE") {
|
|
556
|
-
s("payment-failed", {
|
|
557
|
-
code: "UNKNOWN_ERROR",
|
|
558
|
-
message: "Failed getting payment details",
|
|
559
|
-
error: d
|
|
560
|
-
});
|
|
561
|
-
return;
|
|
562
|
-
}
|
|
563
|
-
if (d.payment_status === "SUCCESS") {
|
|
564
|
-
s("payment-success");
|
|
565
|
-
return;
|
|
566
|
-
}
|
|
567
|
-
}).catch((d) => {
|
|
568
|
-
i.error("PAYMENT_DETAILS_CALL_FAILED", "Failed fetching payment details", {
|
|
569
|
-
error: d
|
|
570
|
-
});
|
|
571
|
-
});
|
|
572
|
-
}
|
|
573
|
-
function q() {
|
|
574
|
-
const e = C(fe), t = C(ge);
|
|
575
|
-
if (e) {
|
|
576
|
-
if (!t) {
|
|
577
|
-
i.error(
|
|
578
|
-
"INVALID_REDIRECT_RESULT",
|
|
579
|
-
"Redirect result is set but payment acceptor id is missing",
|
|
580
|
-
{ context: { redirectResult: e } }
|
|
581
|
-
);
|
|
582
|
-
return;
|
|
583
|
-
}
|
|
584
|
-
N({
|
|
585
|
-
paymentAcceptorId: t,
|
|
586
|
-
detailsResult: {
|
|
587
|
-
redirectResult: decodeURI(e)
|
|
588
|
-
}
|
|
589
|
-
});
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
return te(() => {
|
|
593
|
-
R(), q();
|
|
594
|
-
}), ne(() => {
|
|
595
|
-
O();
|
|
596
|
-
}), oe(
|
|
597
|
-
() => n.paymentMethodOptionResponseEntry,
|
|
598
|
-
(e, t) => {
|
|
599
|
-
ie(e, t) || R();
|
|
600
|
-
},
|
|
601
|
-
{ deep: !0 }
|
|
602
|
-
), (e, t) => (h(), B(ae, null, [
|
|
603
|
-
b.value ? (h(), x(se, {
|
|
604
|
-
key: 0,
|
|
605
|
-
variant: u.variant,
|
|
606
|
-
redirecting: u.redirectsOnSuccess
|
|
607
|
-
}, null, 8, ["variant", "redirecting"])) : y.value ? (h(), x(me, {
|
|
608
|
-
key: 1,
|
|
609
|
-
error: y.value
|
|
610
|
-
}, null, 8, ["error"])) : D("", !0),
|
|
611
|
-
k.value ? (h(), B("div", {
|
|
612
|
-
key: 2,
|
|
613
|
-
ref_key: "dropInContainerRef",
|
|
614
|
-
ref: p
|
|
615
|
-
}, null, 512)) : D("", !0)
|
|
616
|
-
], 64));
|
|
617
|
-
}
|
|
618
|
-
});
|
|
619
|
-
export {
|
|
620
|
-
Be as default
|
|
621
|
-
};
|