@solvimon/solvimon-web 0.1.0-alpha.22 → 0.1.0-alpha.23
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 +3 -0
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DFv-awxb.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-B70SyWOB.mjs} +6 -6
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Co3XAxaY.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-jXClPW91.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-2E3laNRb.mjs} +1 -1
- package/dist/{Avatar.vue.es-D42J_izE.js → Avatar.vue.es-DdJreyr_.js} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BEVkWJXT.js → BillingInformation.vue_vue_type_script_setup_true_lang-ConpyC8n.js} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-D1uVidXk.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-D5EoBLhj.mjs} +4 -4
- package/dist/{Button.vue.es-Dz-2L8dJ.mjs → Button.vue.es-BJEy-e9C.mjs} +1 -1
- package/dist/{Button.vue.es-M_jXZda4.js → Button.vue.es-CJNxYacb.js} +1 -1
- package/dist/Checkout.entry.ce-BfLlnQyb.js +1 -0
- package/dist/{Checkout.entry.ce-B5-0AM67.mjs → Checkout.entry.ce-CQkrWscC.mjs} +1095 -1073
- package/dist/{Chip.vue.es-DMK9C78d.mjs → Chip.vue.es-DGbc4L_D.mjs} +2 -2
- package/dist/{Chip.vue.es-G8doKsZb.js → Chip.vue.es-DLQ4QEPo.js} +1 -1
- package/dist/{ContextMenu.vue.es-B3Rz6Ojk.js → ContextMenu.vue.es-Bd2kmeVq.js} +1 -1
- package/dist/{ContextMenu.vue.es-CzkkNoJG.mjs → ContextMenu.vue.es-DL1M7pcr.mjs} +4 -4
- package/dist/{CustomerBillingInformation.vue.es-Db6bN2RZ.mjs → CustomerBillingInformation.vue.es-CE94ASC3.mjs} +2 -2
- package/dist/{CustomerBillingInformation.vue.es-BmtU9Pk0.js → CustomerBillingInformation.vue.es-hiFzB43w.js} +1 -1
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BGHaTx1A.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BE21tqgW.js} +1 -1
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-fESZVyPe.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bhih7rPR.mjs} +5 -5
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DdMHG1_Y.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C5zc9n64.mjs} +15 -15
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D018AmFA.js +1 -0
- package/dist/{DividerText.vue.es-IK2fns6f.mjs → DividerText.vue.es-CFZUQ62L.mjs} +1 -1
- package/dist/{DividerText.vue.es-D-QxT2OD.js → DividerText.vue.es-CvCgHHXN.js} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-lhJnqrrh.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-YcaBJDzx.mjs} +4 -4
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CM_8Asmw.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-jTJGN4jb.js} +1 -1
- package/dist/{ErrorNotification.vue.es-BGckEwHf.mjs → ErrorNotification.vue.es-B3mvv79S.mjs} +2 -2
- package/dist/ErrorNotification.vue.es-DI2B7WiR.js +1 -0
- package/dist/IconButton.vue.es-Dp8h4YOx.js +1 -0
- package/dist/IconButton.vue.es-GLcGhoHC.mjs +56 -0
- package/dist/{IconTitle.vue.es-BmX68uJx.mjs → IconTitle.vue.es-CzuPQtOX.mjs} +3 -3
- package/dist/{IconTitle.vue.es-CmR2xoeu.js → IconTitle.vue.es-DN9r6nfK.js} +1 -1
- package/dist/{Input.vue.es-BGPELaZU.mjs → Input.vue.es-5Cq8a7oH.mjs} +2 -2
- package/dist/{Input.vue.es-CTOrmrcB.js → Input.vue.es-DM81HeVv.js} +1 -1
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CMEOOuSU.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D75LSIL8.mjs} +2 -2
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-bheNAKzK.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-w8w52LcV.js} +1 -1
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-Xo9BR6AD.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-DB5h39LA.js} +1 -1
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-avhwysNq.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-dRLsZPNh.mjs} +2 -2
- package/dist/{InvoiceSummary.vue.es-BWLiwlNs.mjs → InvoiceSummary.vue.es-DbtqsTuP.mjs} +7 -7
- package/dist/{InvoiceSummary.vue.es-hpG8Tq1D.js → InvoiceSummary.vue.es-Qy99kLZs.js} +1 -1
- package/dist/{Modal.vue.es-BD4vUaOQ.js → Modal.vue.es-DgLl6XBV.js} +1 -1
- package/dist/{Modal.vue.es-B_G8NQS2.mjs → Modal.vue.es-Z2DWAN2u.mjs} +5 -5
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-DBm51C7c.js +1 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-DYuFPIqs.mjs +294 -0
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DIJbzWMV.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BNZ9-GW1.js} +1 -1
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DuorCFo9.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CcdhYTB1.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-ComJzB3H.mjs → PaymentHistoryBlock-CjP_514k.mjs} +1 -1
- package/dist/{PaymentHistoryBlock-DSHW_eW1.js → PaymentHistoryBlock-DS1j-8m-.js} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DUN0Hf2v.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CSTfMB8U.js} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-hjtksV2D.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dr2jtJhK.mjs} +4 -4
- package/dist/{PaymentIntegrationForm-CwfCLnKt.js → PaymentIntegrationForm-80b19Lkq.js} +1 -1
- package/dist/{PaymentIntegrationForm-CH5B6BY5.mjs → PaymentIntegrationForm-CpOZUf-W.mjs} +1 -1
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BqYk4_T9.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BgztoQH5.mjs} +3 -3
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DzSQC951.js → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DKXhthkA.js} +1 -1
- package/dist/{PaymentIntegrationFormAdyen-DfN7cPYZ.mjs → PaymentIntegrationFormAdyen-BQcgDcik.mjs} +281 -204
- package/dist/PaymentIntegrationFormAdyen-DElXsJ96.js +98 -0
- package/dist/PaymentIntegrationFormStripe-CMwLqOe6.js +102 -0
- package/dist/{PaymentIntegrationFormStripe-CBsXDuhy.mjs → PaymentIntegrationFormStripe-Dx1H3fZ2.mjs} +249 -178
- package/dist/{PaymentMethod.vue.es-DkQdPXfk.mjs → PaymentMethod.vue.es-EhRCfeax.mjs} +3 -3
- package/dist/{PaymentMethod.vue.es-D18g-QB4.js → PaymentMethod.vue.es-pLCCzVxN.js} +1 -1
- package/dist/{PaymentMethodForm-DK8ntFA0.js → PaymentMethodForm-Bw2e1tXo.js} +1 -1
- package/dist/{PaymentMethodForm-CpIZKfPH.mjs → PaymentMethodForm-D3OY8zK5.mjs} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-D7fDguwa.js → PaymentMethodForm.vue_vue_type_script_setup_true_lang-DHXw6qD0.js} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-C1tGJsay.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-vGprVPpn.mjs} +5 -5
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-H3vrPllf.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CdT1YyeU.js} +1 -1
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-C6BcIkEV.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-D7b0HhDc.mjs} +6 -6
- package/dist/{PlanCustomizationEditor-0zCXN-cv.mjs → PlanCustomizationEditor-BQqkgmzL.mjs} +9 -9
- package/dist/PlanCustomizationEditor-RC8kj2rC.js +1 -0
- package/dist/{PricingGroupRangeInput.vue.es-QnpfHxaY.js → PricingGroupRangeInput.vue.es-ClkE98ML.js} +2 -2
- package/dist/{PricingGroupRangeInput.vue.es-8_5nfZDI.mjs → PricingGroupRangeInput.vue.es-DNsiUZyT.mjs} +4 -4
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CGJhKKNL.js → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-BJfQLRcS.js} +1 -1
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-t6h1j6WD.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CURXAgMT.mjs} +5 -5
- package/dist/RadioGroupExtended.vue.es-Dk9xdj76.js +1 -0
- package/dist/{RadioGroupExtended.vue.es-C92xlCFQ.mjs → RadioGroupExtended.vue.es-vUqn2ZUP.mjs} +3 -3
- package/dist/{Section.vue.es-DQ5H7mqW.mjs → Section.vue.es-C2_topx4.mjs} +1 -1
- package/dist/{Section.vue.es-Btff-cLY.js → Section.vue.es-Cybk1Nb8.js} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DKsunuGT.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-C9q_qwjt.mjs} +6 -6
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BfvX14E3.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DIgVzXLg.js} +1 -1
- package/dist/{SubscriptionSchedules-Dc0rUnnf.mjs → SubscriptionSchedules-BlCU_xc5.mjs} +1 -1
- package/dist/{SubscriptionSchedules-pzNsego6.js → SubscriptionSchedules-CNTg_oRy.js} +1 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-6LbR_Vni.js +1 -0
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Brs9qDs5.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Cf3Dy8Yn.mjs} +12 -12
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-s5_uhyuB.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-BijBAdqp.js} +1 -1
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-C1mkIPMr.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-CjzjchsS.mjs} +2 -2
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DSoNs7Xx.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-CxdrAanb.mjs} +6 -6
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-CFmCJK8M.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-Dz4s3CH_.js} +1 -1
- package/dist/{TooltipParagraph.vue.es-CIedcXGT.mjs → TooltipParagraph.vue.es-Fu9Od3Vr.mjs} +1 -1
- package/dist/{TooltipParagraph.vue.es-BaqCDjl8.js → TooltipParagraph.vue.es-OX6bAWP9.js} +1 -1
- package/dist/{TrialChip.vue.es-BzNI94k0.js → TrialChip.vue.es-CbjdkR4i.js} +1 -1
- package/dist/{TrialChip.vue.es-DkBuMNr_.mjs → TrialChip.vue.es-c7tZOIW3.mjs} +2 -2
- package/dist/{cn.es-BGqYNPM3.mjs → cn.es-C8Ogac5T.mjs} +2 -2
- package/dist/{cn.es-CvmLj7KH.js → cn.es-lC4_Xd0R.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-Vox1PB6G.js → customElements-BYIdPSzQ.js} +10 -10
- package/dist/{customElements-CSE7dwUr.mjs → customElements-Df6dGrN-.mjs} +354 -353
- package/dist/{customer-5krPxZ8i.mjs → customer-DmsKYpVi.mjs} +1 -1
- package/dist/{customer-Dsq-Moea.js → customer-DoLHZuMG.js} +1 -1
- package/dist/{de-DE-DsFtpLsx.mjs → de-DE-Bgm9bnmp.mjs} +19 -0
- package/dist/{de-DE-C3DzP1nj.js → de-DE-CAL9Mji2.js} +1 -1
- package/dist/{en-US-DvkvbV0p.mjs → en-US-E86eRIxh.mjs} +19 -0
- package/dist/{en-US-X_pSFsNm.js → en-US-_xe5H4TQ.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{invoices-DRgfpkJ6.mjs → invoices-CrO6p4Ms.mjs} +1 -1
- package/dist/{invoices-xOV2YaEV.js → invoices-mw87cNTS.js} +1 -1
- package/dist/{it-IT-YBtHAao1.js → it-IT-QFQ1Ajbb.js} +1 -1
- package/dist/{it-IT-TE7oqvXa.mjs → it-IT-co1BfV5s.mjs} +21 -2
- package/dist/{nl-NL-C8wnyKju.js → nl-NL-CJXJC1bx.js} +1 -1
- package/dist/{nl-NL-Di3-JArV.mjs → nl-NL-Drv2E66B.mjs} +19 -0
- package/dist/paymentFailure-Bh60UhxA.mjs +47 -0
- package/dist/paymentFailure-Cki8c5BX.js +1 -0
- package/dist/{paymentMethods-PmkHYomw.mjs → paymentMethods-BNQbW_f1.mjs} +1 -1
- package/dist/{paymentMethods-CRDIw9lz.js → paymentMethods-CQdhZwq4.js} +1 -1
- package/dist/{payments-jAgXhdp_.js → payments-KTjVHqOa.js} +1 -1
- package/dist/{payments-Dvqh6CGW.mjs → payments-VS_N2xpJ.mjs} +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 +20 -20
- package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
- package/dist/screens/PayInvoice/PayInvoice.mjs +12 -12
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +10 -10
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +20 -20
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +19 -19
- package/dist/sessionReference-3h-6FdrC.mjs +43 -0
- package/dist/sessionReference-m_6Rp4X1.js +1 -0
- package/dist/subscriptions-Dugd-oZ1.js +1 -0
- package/dist/{subscriptions-XDyI2Cqm.mjs → subscriptions-U4xg2CO1.mjs} +2 -2
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.lib.d.ts +2 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +10 -1
- package/dist/types/types/errors.d.ts +5 -0
- package/dist/{useActionDispatchProvider-CNAuaHdm.js → useActionDispatchProvider-CTyDGRX8.js} +1 -1
- package/dist/{useActionDispatchProvider-B8-oycQk.mjs → useActionDispatchProvider-DyQbRCxR.mjs} +1 -1
- package/dist/{useCustomer-DSx-wN-6.js → useCustomer-BXI5Vmit.js} +1 -1
- package/dist/{useCustomer-CP8eWUZV.mjs → useCustomer-dcmU1539.mjs} +1 -1
- package/dist/{useCustomerFormLabels-DW6jnDYH.mjs → useCustomerFormLabels-BC1WfqWo.mjs} +5 -5
- package/dist/{useCustomerFormLabels-TVTgy0MT.js → useCustomerFormLabels-Ct6vD_b8.js} +1 -1
- package/dist/{useExperimentalFeature-BvE_EOX-.mjs → useExperimentalFeature-4Y-ppDr7.mjs} +1 -1
- package/dist/{useExperimentalFeature-CC-DrIcL.js → useExperimentalFeature-9-p9_nP6.js} +1 -1
- package/dist/{useInvoiceData-D8ds05CX.mjs → useInvoiceData-B2Z9aD2w.mjs} +2 -2
- package/dist/{useInvoiceData-CRRPdXc6.js → useInvoiceData-CGvtl7Ai.js} +1 -1
- package/dist/{useInvoicesList-DIfQcvER.js → useInvoicesList-Ba0GO8p-.js} +1 -1
- package/dist/{useInvoicesList-SJU5YWBQ.mjs → useInvoicesList-DJPznhig.mjs} +7 -7
- package/dist/{useLoadInitialData-DsabgMLZ.js → useLoadInitialData-BO9ZsSsF.js} +1 -1
- package/dist/{useLoadInitialData-MUljS38K.mjs → useLoadInitialData-CWyI3_RR.mjs} +1 -1
- package/dist/{usePaymentMethodAvailability-D0NUanyF.mjs → usePaymentMethodAvailability-DqIvkjLF.mjs} +4 -4
- package/dist/{usePaymentMethodAvailability-Bt7P9InI.js → usePaymentMethodAvailability-bkmDrPXY.js} +1 -1
- package/dist/{usePaymentMethodOptions-cT1o-BA1.js → usePaymentMethodOptions-BPBVGNDg.js} +1 -1
- package/dist/{usePaymentMethodOptions-B7JYkGsw.mjs → usePaymentMethodOptions-MSEp39xQ.mjs} +1 -1
- package/dist/{usePaymentMethods-DNVw2eVg.js → usePaymentMethods-BAOtOJZD.js} +1 -1
- package/dist/{usePaymentMethods-CpzqXQUT.mjs → usePaymentMethods-U7gnZ0F5.mjs} +1 -1
- package/dist/{usePayments-Gx9kBvNB.mjs → usePayments-Dq2V6bTV.mjs} +6 -6
- package/dist/{usePayments-D9Eo-uBk.js → usePayments-G-HpKpK8.js} +1 -1
- package/dist/{usePortal-DsebXdhx.js → usePortal-BplmMkBG.js} +1 -1
- package/dist/{usePortal-3VCZwSUE.mjs → usePortal-CMHV-ShD.mjs} +1 -1
- package/dist/{useSubscription-K_gP9TeX.js → useSubscription-CvB8ROBt.js} +1 -1
- package/dist/{useSubscription-DnL1wVh1.mjs → useSubscription-V53WsZwQ.mjs} +1 -1
- package/dist/{useTimePeriod.es-CmltiTE-.js → useTimePeriod.es-CtCTu9cz.js} +1 -1
- package/dist/{useTimePeriod.es-DMtKzcoB.mjs → useTimePeriod.es-D31Zl1MJ.mjs} +1 -1
- package/package.json +2 -1
- package/dist/Checkout.entry.ce-C52gkrNZ.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/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/subscriptions-fJcj88X9.js +0 -1
package/dist/{PaymentIntegrationFormAdyen-DfN7cPYZ.mjs → PaymentIntegrationFormAdyen-BQcgDcik.mjs}
RENAMED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { a as
|
|
3
|
-
import { b as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { c as
|
|
6
|
-
import { g as
|
|
7
|
-
import { c as
|
|
8
|
-
import { g as
|
|
9
|
-
import { l as
|
|
10
|
-
import { u as
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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 = {
|
|
14
15
|
"en-US": {
|
|
15
16
|
payButton: "Add payment method",
|
|
16
17
|
confirmPurchase: "Add payment method"
|
|
@@ -135,8 +136,8 @@ const Pe = (u) => {
|
|
|
135
136
|
payButton: "Pridėti mokėjimo metodą",
|
|
136
137
|
confirmPurchase: "Pridėti mokėjimo metodą"
|
|
137
138
|
}
|
|
138
|
-
}),
|
|
139
|
-
}, _ = "ADYEN",
|
|
139
|
+
}), E;
|
|
140
|
+
}, _ = "ADYEN", we = /* @__PURE__ */ ae({
|
|
140
141
|
__name: "PaymentIntegrationFormAdyen",
|
|
141
142
|
props: {
|
|
142
143
|
context: { type: Object },
|
|
@@ -153,47 +154,66 @@ const Pe = (u) => {
|
|
|
153
154
|
redirectsOnSuccess: { type: Boolean }
|
|
154
155
|
},
|
|
155
156
|
emits: ["select", "payment-failed", "payment-success", "ready"],
|
|
156
|
-
setup(
|
|
157
|
-
let
|
|
158
|
-
const
|
|
159
|
-
|
|
160
|
-
const
|
|
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(
|
|
161
162
|
() => {
|
|
162
163
|
var e;
|
|
163
|
-
return
|
|
164
|
-
excludeExpressPaymentMethods: !!((e =
|
|
164
|
+
return he(a.paymentMethodOptionResponseEntry, {
|
|
165
|
+
excludeExpressPaymentMethods: !!((e = I == null ? void 0 : I.value) != null && e["express-checkout"])
|
|
165
166
|
});
|
|
166
167
|
}
|
|
167
|
-
),
|
|
168
|
-
function
|
|
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,
|
|
176
|
+
...e
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
function p(e) {
|
|
180
|
+
const t = Ne(e);
|
|
181
|
+
f.value = t, l("payment-failed", t);
|
|
182
|
+
}
|
|
183
|
+
function G() {
|
|
169
184
|
try {
|
|
170
|
-
|
|
185
|
+
m == null || m.submit();
|
|
171
186
|
} catch (e) {
|
|
172
|
-
|
|
187
|
+
r.error(
|
|
188
|
+
"ADYEN_SUBMIT_FAILED",
|
|
189
|
+
"Failed to submit Adyen drop-in",
|
|
190
|
+
s({ reason: "ADYEN_SUBMIT_FAILED", cause: e }),
|
|
191
|
+
e
|
|
192
|
+
);
|
|
173
193
|
}
|
|
174
194
|
}
|
|
175
|
-
async function
|
|
176
|
-
const e =
|
|
195
|
+
async function K() {
|
|
196
|
+
const e = _e(a.amount), t = O.value;
|
|
177
197
|
return {
|
|
178
198
|
checkoutConfig: {
|
|
179
199
|
amount: e,
|
|
180
|
-
clientKey:
|
|
181
|
-
|
|
200
|
+
clientKey: fe(
|
|
201
|
+
a.paymentMethodOptionResponseEntry
|
|
182
202
|
),
|
|
183
|
-
environment:
|
|
184
|
-
|
|
185
|
-
|
|
203
|
+
environment: Ee(
|
|
204
|
+
a.paymentMethodOptionResponseEntry,
|
|
205
|
+
r
|
|
186
206
|
),
|
|
187
|
-
locale:
|
|
188
|
-
translations:
|
|
189
|
-
countryCode:
|
|
207
|
+
locale: Y,
|
|
208
|
+
translations: Re(a.variant),
|
|
209
|
+
countryCode: a.countryCode,
|
|
190
210
|
analytics: { enabled: !1 },
|
|
191
211
|
paymentMethodsResponse: { paymentMethods: t },
|
|
192
|
-
onSubmit:
|
|
193
|
-
onAdditionalDetails:
|
|
194
|
-
onPaymentCompleted:
|
|
195
|
-
onPaymentFailed:
|
|
196
|
-
onError:
|
|
212
|
+
onSubmit: $,
|
|
213
|
+
onAdditionalDetails: Q,
|
|
214
|
+
onPaymentCompleted: q,
|
|
215
|
+
onPaymentFailed: X,
|
|
216
|
+
onError: ee,
|
|
197
217
|
showPayButton: !1
|
|
198
218
|
},
|
|
199
219
|
dropInConfig: {
|
|
@@ -202,64 +222,69 @@ const Pe = (u) => {
|
|
|
202
222
|
card: {
|
|
203
223
|
hasHolderName: !0,
|
|
204
224
|
holderNameRequired: !0,
|
|
205
|
-
enableStoreDetails: !
|
|
225
|
+
enableStoreDetails: !a.forceStorePaymentMethod && a.storePaymentMethod === void 0 && a.variant === "AUTHORIZE"
|
|
206
226
|
},
|
|
207
227
|
paypal: {
|
|
208
228
|
intent: e.value > 0 ? "authorize" : "tokenize",
|
|
209
229
|
showPayButton: !0
|
|
210
230
|
}
|
|
211
231
|
},
|
|
212
|
-
openFirstPaymentMethod:
|
|
213
|
-
onSelect: ({ props: { type:
|
|
214
|
-
|
|
232
|
+
openFirstPaymentMethod: a.selected,
|
|
233
|
+
onSelect: ({ props: { type: o } }) => {
|
|
234
|
+
o && l("select", { paymentMethodType: o, paymentGatewayVariant: "ADYEN" });
|
|
215
235
|
},
|
|
216
|
-
onReady: () =>
|
|
236
|
+
onReady: () => l("ready")
|
|
217
237
|
}
|
|
218
238
|
};
|
|
219
239
|
}
|
|
220
|
-
function
|
|
240
|
+
function H() {
|
|
221
241
|
return Promise.all([
|
|
222
|
-
|
|
242
|
+
Te(),
|
|
223
243
|
import("./adyen-Bugab0JE.mjs").then((e) => e.default)
|
|
224
244
|
]);
|
|
225
245
|
}
|
|
226
|
-
async function
|
|
227
|
-
if (await
|
|
228
|
-
const { payment_acceptor: e, integration: t } =
|
|
229
|
-
|
|
246
|
+
async function v() {
|
|
247
|
+
if (await b(), f.value = void 0, !M.value) {
|
|
248
|
+
const { payment_acceptor: e, integration: t } = a.paymentMethodOptionResponseEntry;
|
|
249
|
+
r.warn("PAYMENT_INTEGRATION_NOT_RENDERABLE", "No Adyen payment methods to offer", {
|
|
230
250
|
fingerprint: ["PAYMENT_INTEGRATION_NOT_RENDERABLE", e.id],
|
|
231
251
|
paymentAcceptorId: e.id,
|
|
232
252
|
integrationId: t.id,
|
|
233
|
-
...
|
|
253
|
+
...a.invoiceId ? { invoiceId: a.invoiceId } : {}
|
|
234
254
|
});
|
|
235
255
|
return;
|
|
236
256
|
}
|
|
237
|
-
if (await
|
|
257
|
+
if (await de(), !!u.value)
|
|
238
258
|
try {
|
|
239
|
-
const [e, t] = await
|
|
240
|
-
|
|
241
|
-
...
|
|
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,
|
|
242
262
|
paymentMethodComponents: e.dropInPaymentMethodComponents
|
|
243
|
-
}).mount(
|
|
263
|
+
}).mount(u.value), V(t);
|
|
244
264
|
} catch (e) {
|
|
245
|
-
|
|
265
|
+
r.error(
|
|
246
266
|
"PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
|
|
247
267
|
"Failed to mount Adyen web drop-in",
|
|
248
|
-
{
|
|
249
|
-
|
|
268
|
+
s({ reason: "ADYEN_DROP_IN_MOUNT_FAILED", cause: e }),
|
|
269
|
+
e
|
|
270
|
+
), p({
|
|
271
|
+
code: "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
|
|
272
|
+
message: "Failed to mount Adyen web drop-in",
|
|
273
|
+
error: e
|
|
274
|
+
});
|
|
250
275
|
}
|
|
251
276
|
}
|
|
252
|
-
async function
|
|
253
|
-
|
|
277
|
+
async function b() {
|
|
278
|
+
m && (m.unmount(), m = null), u.value && (u.value.innerHTML = "");
|
|
254
279
|
}
|
|
255
|
-
function
|
|
256
|
-
var
|
|
257
|
-
const t = (
|
|
280
|
+
function V(e) {
|
|
281
|
+
var o;
|
|
282
|
+
const t = (o = u.value) == null ? void 0 : o.getRootNode();
|
|
258
283
|
if (t instanceof ShadowRoot) {
|
|
259
|
-
const
|
|
260
|
-
|
|
261
|
-
const
|
|
262
|
-
|
|
284
|
+
const n = document.createElement("style");
|
|
285
|
+
n.textContent = e, t.appendChild(n);
|
|
286
|
+
const i = document.createElement("style");
|
|
287
|
+
i.textContent = `
|
|
263
288
|
:host {
|
|
264
289
|
--adyen-sdk-color-background-secondary: transparent;
|
|
265
290
|
--adyen-sdk-color-background-primary: rgb(243 244 246 / 0.5);
|
|
@@ -352,236 +377,288 @@ const Pe = (u) => {
|
|
|
352
377
|
.adyen-checkout__checkbox__input + .adyen-checkout__checkbox__label:after {
|
|
353
378
|
border-color: rgb(229, 231, 235);
|
|
354
379
|
}
|
|
355
|
-
`,
|
|
380
|
+
`, a.variant === "AUTHORIZE" && (i.textContent += `
|
|
356
381
|
.adyen-checkout__payment-method--cashapp .adyen-checkout-pm-details-wrapper {
|
|
357
382
|
display: none;
|
|
358
383
|
}
|
|
359
|
-
`), t.appendChild(
|
|
384
|
+
`), t.appendChild(i);
|
|
360
385
|
}
|
|
361
386
|
}
|
|
362
|
-
function
|
|
387
|
+
function D(e, {
|
|
363
388
|
paymentMethodType: t,
|
|
364
|
-
actions:
|
|
365
|
-
logFailure:
|
|
389
|
+
actions: o,
|
|
390
|
+
logFailure: n
|
|
366
391
|
}) {
|
|
367
392
|
if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant === _) {
|
|
368
|
-
const
|
|
369
|
-
if (!
|
|
370
|
-
|
|
393
|
+
const i = J(e, t);
|
|
394
|
+
if (!i) {
|
|
395
|
+
n(e);
|
|
371
396
|
return;
|
|
372
397
|
}
|
|
373
|
-
|
|
398
|
+
m.handleAction(i), o.resolve({
|
|
374
399
|
resultCode: e.action.adyen.result_code,
|
|
375
|
-
action:
|
|
400
|
+
action: i
|
|
376
401
|
});
|
|
377
402
|
return;
|
|
378
403
|
}
|
|
379
404
|
if (e.payment.result === "AUTHORIZED") {
|
|
380
|
-
|
|
405
|
+
R.value = !0, o.resolve({ resultCode: "Authorised" });
|
|
381
406
|
return;
|
|
382
407
|
}
|
|
383
|
-
|
|
408
|
+
n(e), o.resolve({ resultCode: "Error" });
|
|
384
409
|
}
|
|
385
|
-
function
|
|
386
|
-
const [t,
|
|
387
|
-
|
|
388
|
-
if (!
|
|
410
|
+
function $(...e) {
|
|
411
|
+
const [t, o, n] = e;
|
|
412
|
+
a.validateOnSubmit().then((i) => {
|
|
413
|
+
if (!i)
|
|
389
414
|
return;
|
|
390
|
-
const d =
|
|
415
|
+
const d = a.paymentMethodOptionResponseEntry.payment_acceptor.id, C = {
|
|
391
416
|
risk_data: P(t.data.riskData),
|
|
392
417
|
payment_method: P(t.data.paymentMethod),
|
|
393
418
|
browser_info: P(t.data.browserInfo)
|
|
394
419
|
};
|
|
395
|
-
if (
|
|
396
|
-
const
|
|
397
|
-
paymentAcceptorId:
|
|
420
|
+
if (a.variant === "AUTHORIZE") {
|
|
421
|
+
const T = F({
|
|
422
|
+
paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
398
423
|
redirectUrl: window.location.href
|
|
399
424
|
});
|
|
400
|
-
|
|
425
|
+
j({
|
|
401
426
|
payment_acceptor_id: d,
|
|
402
|
-
...
|
|
427
|
+
...a.customerId ? { customer_id: a.customerId } : {},
|
|
403
428
|
payment_gateway_variant: _,
|
|
404
429
|
adyen: {
|
|
405
|
-
...
|
|
406
|
-
store_payment_method:
|
|
430
|
+
...C,
|
|
431
|
+
store_payment_method: a.storePaymentMethod ?? (a.forceStorePaymentMethod || t.data.storePaymentMethod)
|
|
407
432
|
},
|
|
408
|
-
amount:
|
|
409
|
-
...
|
|
410
|
-
return_url:
|
|
433
|
+
amount: a.amount,
|
|
434
|
+
...a.context ? { context: a.context } : {},
|
|
435
|
+
return_url: T
|
|
411
436
|
}).then(
|
|
412
|
-
(
|
|
437
|
+
(c) => D(c, {
|
|
413
438
|
paymentMethodType: t.data.paymentMethod.type,
|
|
414
|
-
actions:
|
|
415
|
-
logFailure: (
|
|
439
|
+
actions: n,
|
|
440
|
+
logFailure: (h) => r.error(
|
|
416
441
|
"PAYMENT_AUTHORIZATION_FAILED",
|
|
417
442
|
`Failed payment authorization for payment acceptor with id ${d}`,
|
|
418
|
-
{
|
|
443
|
+
s({
|
|
444
|
+
reason: "PAYMENT_AUTHORIZATION_REJECTED",
|
|
445
|
+
paymentMethodType: t.data.paymentMethod.type,
|
|
446
|
+
cause: h
|
|
447
|
+
}),
|
|
448
|
+
h
|
|
419
449
|
)
|
|
420
450
|
})
|
|
421
|
-
).catch((
|
|
422
|
-
|
|
451
|
+
).catch((c) => {
|
|
452
|
+
r.error(
|
|
423
453
|
"PAYMENT_AUTHORIZATION_FAILED",
|
|
424
454
|
`Failed payment authorization for payment acceptor with id ${d}`,
|
|
425
|
-
{
|
|
426
|
-
|
|
455
|
+
s({
|
|
456
|
+
reason: "PAYMENT_AUTHORIZATION_FAILED",
|
|
457
|
+
paymentMethodType: t.data.paymentMethod.type,
|
|
458
|
+
cause: c
|
|
459
|
+
}),
|
|
460
|
+
c
|
|
461
|
+
), n.resolve({ resultCode: "Error" });
|
|
427
462
|
});
|
|
428
463
|
return;
|
|
429
464
|
}
|
|
430
|
-
if (
|
|
431
|
-
const
|
|
432
|
-
paymentAcceptorId:
|
|
465
|
+
if (a.variant === "TOKENIZE") {
|
|
466
|
+
const T = F({
|
|
467
|
+
paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
433
468
|
redirectUrl: window.location.href
|
|
434
469
|
});
|
|
435
|
-
if (!
|
|
436
|
-
|
|
470
|
+
if (!a.customerId) {
|
|
471
|
+
r.error(
|
|
437
472
|
"TOKENIZATION_FAILED",
|
|
438
|
-
`Missing customer id for payment acceptor with id ${d}
|
|
439
|
-
|
|
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" });
|
|
440
476
|
return;
|
|
441
477
|
}
|
|
442
478
|
z({
|
|
443
|
-
customer_id:
|
|
479
|
+
customer_id: a.customerId,
|
|
444
480
|
payment_acceptor_id: d,
|
|
445
481
|
payment_gateway_variant: _,
|
|
446
|
-
adyen:
|
|
447
|
-
return_url:
|
|
482
|
+
adyen: C,
|
|
483
|
+
return_url: T
|
|
448
484
|
}).then(
|
|
449
|
-
(
|
|
485
|
+
(c) => D(c, {
|
|
450
486
|
paymentMethodType: t.data.paymentMethod.type,
|
|
451
|
-
actions:
|
|
452
|
-
logFailure: (
|
|
487
|
+
actions: n,
|
|
488
|
+
logFailure: (h) => r.error(
|
|
453
489
|
"TOKENIZATION_FAILED",
|
|
454
490
|
`Tokenization failed for payment acceptor with id ${d}`,
|
|
455
|
-
{
|
|
491
|
+
s({
|
|
492
|
+
reason: "TOKENIZATION_REJECTED",
|
|
493
|
+
paymentMethodType: t.data.paymentMethod.type,
|
|
494
|
+
cause: h
|
|
495
|
+
}),
|
|
496
|
+
h
|
|
456
497
|
)
|
|
457
498
|
})
|
|
458
|
-
).catch((
|
|
459
|
-
|
|
499
|
+
).catch((c) => {
|
|
500
|
+
r.error(
|
|
460
501
|
"TOKENIZATION_FAILED",
|
|
461
502
|
`Tokenization failed for payment acceptor with id ${d}`,
|
|
462
|
-
{
|
|
463
|
-
|
|
503
|
+
s({
|
|
504
|
+
reason: "TOKENIZATION_FAILED",
|
|
505
|
+
paymentMethodType: t.data.paymentMethod.type,
|
|
506
|
+
cause: c
|
|
507
|
+
}),
|
|
508
|
+
c
|
|
509
|
+
), n.resolve({ resultCode: "Error" });
|
|
464
510
|
});
|
|
465
511
|
}
|
|
466
|
-
}).catch((
|
|
467
|
-
|
|
512
|
+
}).catch((i) => {
|
|
513
|
+
r.error(
|
|
468
514
|
"INTEGRATION_ERROR",
|
|
469
515
|
"Unhandled error in payment submission flow",
|
|
470
|
-
{},
|
|
471
|
-
|
|
516
|
+
s({ reason: "ADYEN_SUBMISSION_FLOW_FAILED", cause: i }),
|
|
517
|
+
i
|
|
472
518
|
);
|
|
473
519
|
});
|
|
474
520
|
}
|
|
475
|
-
function
|
|
521
|
+
function J(e, t) {
|
|
476
522
|
if (e.status !== "ACTION_REQUIRED")
|
|
477
523
|
return;
|
|
478
|
-
const
|
|
479
|
-
if (
|
|
524
|
+
const o = e.action;
|
|
525
|
+
if (o.payment_gateway_variant != "ADYEN")
|
|
480
526
|
return;
|
|
481
|
-
const
|
|
527
|
+
const n = o.adyen;
|
|
482
528
|
return {
|
|
483
|
-
paymentMethodType: (
|
|
484
|
-
method:
|
|
485
|
-
url:
|
|
486
|
-
data:
|
|
487
|
-
type:
|
|
488
|
-
paymentData:
|
|
489
|
-
sdkData:
|
|
529
|
+
paymentMethodType: (n == null ? void 0 : n.payment_method_type) ?? t,
|
|
530
|
+
method: o.method,
|
|
531
|
+
url: o.url,
|
|
532
|
+
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
|
|
490
536
|
};
|
|
491
537
|
}
|
|
492
|
-
function
|
|
493
|
-
const [t] = e,
|
|
494
|
-
if (
|
|
495
|
-
|
|
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({
|
|
496
542
|
// For the moment: Adyen gives a null value back which is not accepted by Solvimon API, so filter that out
|
|
497
|
-
detailsResult:
|
|
498
|
-
paymentDataResult:
|
|
499
|
-
paymentAcceptorId:
|
|
543
|
+
detailsResult: o ? W(o) : void 0,
|
|
544
|
+
paymentDataResult: n,
|
|
545
|
+
paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id
|
|
500
546
|
});
|
|
501
547
|
return;
|
|
502
548
|
}
|
|
503
|
-
|
|
504
|
-
|
|
549
|
+
r.error(
|
|
550
|
+
"PAYMENT_ACCEPTOR_MISSING",
|
|
551
|
+
"Additional details arrived without a payment acceptor id",
|
|
552
|
+
s({ reason: "PAYMENT_ACCEPTOR_MISSING" })
|
|
553
|
+
), p({
|
|
554
|
+
code: "REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING",
|
|
505
555
|
message: "Payment failed",
|
|
506
556
|
error: e
|
|
507
|
-
};
|
|
508
|
-
s("payment-failed", r), y.value = r;
|
|
557
|
+
});
|
|
509
558
|
}
|
|
510
559
|
function W(e) {
|
|
511
560
|
return Object.fromEntries(
|
|
512
561
|
Object.entries(e).filter(([, t]) => t != null)
|
|
513
562
|
);
|
|
514
563
|
}
|
|
515
|
-
function
|
|
516
|
-
const [t] = e
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
564
|
+
function X(...e) {
|
|
565
|
+
const [t] = e;
|
|
566
|
+
r.error(
|
|
567
|
+
"ADYEN_PAYMENT_FAILED",
|
|
568
|
+
"Adyen reported the payment as failed",
|
|
569
|
+
s({
|
|
570
|
+
reason: "ADYEN_PAYMENT_FAILED",
|
|
571
|
+
extra: { resultCode: t == null ? void 0 : t.resultCode }
|
|
572
|
+
}),
|
|
573
|
+
t
|
|
574
|
+
), p({ code: "AUTHORIZATION_FAILED", message: "Payment failed", error: t });
|
|
522
575
|
}
|
|
523
|
-
function
|
|
576
|
+
function q(...e) {
|
|
524
577
|
const [, t] = e;
|
|
525
|
-
t == null || t.unmount(),
|
|
578
|
+
t == null || t.unmount(), l("payment-success");
|
|
526
579
|
}
|
|
527
|
-
function
|
|
528
|
-
const [t,
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
580
|
+
function ee(...e) {
|
|
581
|
+
const [t, o] = e;
|
|
582
|
+
t.name !== "CANCEL" && (r.error(
|
|
583
|
+
"INTEGRATION_ERROR",
|
|
584
|
+
"The Adyen drop-in reported an error",
|
|
585
|
+
s({
|
|
586
|
+
reason: "ADYEN_INTEGRATION_ERROR",
|
|
587
|
+
cause: t,
|
|
588
|
+
extra: { adyenErrorName: t.name }
|
|
589
|
+
}),
|
|
590
|
+
t
|
|
591
|
+
), p({ code: "UNKNOWN_ERROR", message: "Something went wrong", error: t }), o == null || o.unmount());
|
|
537
592
|
}
|
|
538
|
-
function
|
|
593
|
+
function k({
|
|
539
594
|
detailsResult: e,
|
|
540
595
|
threeDSResult: t,
|
|
541
|
-
redirectResult:
|
|
542
|
-
paymentDataResult:
|
|
543
|
-
paymentAcceptorId:
|
|
596
|
+
redirectResult: o,
|
|
597
|
+
paymentDataResult: n,
|
|
598
|
+
paymentAcceptorId: i
|
|
544
599
|
}) {
|
|
545
|
-
|
|
546
|
-
paymentAcceptorId:
|
|
600
|
+
Z({
|
|
601
|
+
paymentAcceptorId: i,
|
|
547
602
|
paymentGatewayVariant: _,
|
|
548
603
|
adyen: {
|
|
549
604
|
...e ? { details: e } : {},
|
|
550
|
-
...
|
|
605
|
+
...o ? { redirect_result: o } : {},
|
|
551
606
|
...t ? { threeds_result: t } : {},
|
|
552
|
-
...
|
|
607
|
+
...n ? { payment_data: n } : {}
|
|
553
608
|
}
|
|
554
609
|
}).then((d) => {
|
|
555
610
|
if (d.payment_status === "FAILURE") {
|
|
556
|
-
|
|
557
|
-
|
|
611
|
+
r.error(
|
|
612
|
+
"PAYMENT_DETAILS_REJECTED",
|
|
613
|
+
"Payment details returned a failed payment",
|
|
614
|
+
s({
|
|
615
|
+
reason: "PAYMENT_DETAILS_REJECTED",
|
|
616
|
+
paymentAcceptorId: i,
|
|
617
|
+
extra: { paymentStatus: d.payment_status }
|
|
618
|
+
})
|
|
619
|
+
), p({
|
|
620
|
+
code: "AUTHORIZATION_FAILED",
|
|
558
621
|
message: "Failed getting payment details",
|
|
559
622
|
error: d
|
|
560
623
|
});
|
|
561
624
|
return;
|
|
562
625
|
}
|
|
563
626
|
if (d.payment_status === "SUCCESS") {
|
|
564
|
-
|
|
627
|
+
l("payment-success");
|
|
565
628
|
return;
|
|
566
629
|
}
|
|
567
630
|
}).catch((d) => {
|
|
568
|
-
|
|
631
|
+
r.error(
|
|
632
|
+
"PAYMENT_DETAILS_CALL_FAILED",
|
|
633
|
+
"Failed fetching payment details",
|
|
634
|
+
s({
|
|
635
|
+
reason: "PAYMENT_DETAILS_CALL_FAILED",
|
|
636
|
+
paymentAcceptorId: i,
|
|
637
|
+
cause: d
|
|
638
|
+
}),
|
|
639
|
+
d
|
|
640
|
+
), p({
|
|
641
|
+
code: "PAYMENT_DETAILS_CALL_FAILED",
|
|
642
|
+
message: "Failed fetching payment details",
|
|
569
643
|
error: d
|
|
570
644
|
});
|
|
571
645
|
});
|
|
572
646
|
}
|
|
573
|
-
function
|
|
574
|
-
const e =
|
|
647
|
+
function te() {
|
|
648
|
+
const e = w(Ae), t = w(Ie);
|
|
575
649
|
if (e) {
|
|
576
650
|
if (!t) {
|
|
577
|
-
|
|
651
|
+
r.error(
|
|
578
652
|
"INVALID_REDIRECT_RESULT",
|
|
579
653
|
"Redirect result is set but payment acceptor id is missing",
|
|
580
|
-
{
|
|
581
|
-
)
|
|
654
|
+
s({ reason: "INVALID_REDIRECT_RESULT" })
|
|
655
|
+
), p({
|
|
656
|
+
code: "REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING",
|
|
657
|
+
message: "Redirect result is set but payment acceptor id is missing"
|
|
658
|
+
});
|
|
582
659
|
return;
|
|
583
660
|
}
|
|
584
|
-
|
|
661
|
+
k({
|
|
585
662
|
paymentAcceptorId: t,
|
|
586
663
|
detailsResult: {
|
|
587
664
|
redirectResult: decodeURI(e)
|
|
@@ -589,33 +666,33 @@ const Pe = (u) => {
|
|
|
589
666
|
});
|
|
590
667
|
}
|
|
591
668
|
}
|
|
592
|
-
return
|
|
593
|
-
|
|
594
|
-
}),
|
|
595
|
-
|
|
596
|
-
}),
|
|
597
|
-
() =>
|
|
669
|
+
return ne(() => {
|
|
670
|
+
v(), te();
|
|
671
|
+
}), oe(() => {
|
|
672
|
+
b();
|
|
673
|
+
}), re(
|
|
674
|
+
() => a.paymentMethodOptionResponseEntry,
|
|
598
675
|
(e, t) => {
|
|
599
|
-
|
|
676
|
+
se(e, t) || v();
|
|
600
677
|
},
|
|
601
678
|
{ deep: !0 }
|
|
602
|
-
), (e, t) => (
|
|
603
|
-
|
|
679
|
+
), (e, t) => (A(), S(ie, null, [
|
|
680
|
+
R.value ? (A(), x(pe, {
|
|
604
681
|
key: 0,
|
|
605
|
-
variant:
|
|
606
|
-
redirecting:
|
|
607
|
-
}, null, 8, ["variant", "redirecting"])) :
|
|
682
|
+
variant: y.variant,
|
|
683
|
+
redirecting: y.redirectsOnSuccess
|
|
684
|
+
}, null, 8, ["variant", "redirecting"])) : f.value ? (A(), x(ue, {
|
|
608
685
|
key: 1,
|
|
609
|
-
error:
|
|
610
|
-
}, null, 8, ["error"])) :
|
|
611
|
-
|
|
686
|
+
error: f.value
|
|
687
|
+
}, null, 8, ["error"])) : B("", !0),
|
|
688
|
+
M.value ? (A(), S("div", {
|
|
612
689
|
key: 2,
|
|
613
690
|
ref_key: "dropInContainerRef",
|
|
614
|
-
ref:
|
|
615
|
-
}, null, 512)) :
|
|
691
|
+
ref: u
|
|
692
|
+
}, null, 512)) : B("", !0)
|
|
616
693
|
], 64));
|
|
617
694
|
}
|
|
618
695
|
});
|
|
619
696
|
export {
|
|
620
|
-
|
|
697
|
+
we as default
|
|
621
698
|
};
|