@solvimon/solvimon-web 0.1.0-alpha.23 → 0.1.0-alpha.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -0
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-jXClPW91.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-BM1_31Tl.js} +1 -1
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-B70SyWOB.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Dh_a0NRB.mjs} +6 -6
- package/dist/{Avatar.vue.es-2E3laNRb.mjs → Avatar.vue.es-C9Jkfuvp.mjs} +1 -1
- package/dist/{Avatar.vue.es-DdJreyr_.js → Avatar.vue.es-CvxRdCes.js} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-ConpyC8n.js → BillingInformation.vue_vue_type_script_setup_true_lang-7wQAw6Lv.js} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-D5EoBLhj.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-BRSUpMPU.mjs} +4 -4
- package/dist/{Button.vue.es-BJEy-e9C.mjs → Button.vue.es-BbSN0uOk.mjs} +1 -1
- package/dist/{Button.vue.es-CJNxYacb.js → Button.vue.es-CeUTAc2n.js} +1 -1
- package/dist/Checkout.entry.ce-BMzK8nQg.mjs +3900 -0
- package/dist/Checkout.entry.ce-DgA0ckyl.js +2 -0
- package/dist/{Chip.vue.es-DLQ4QEPo.js → Chip.vue.es-BN83K3Tk.js} +1 -1
- package/dist/{Chip.vue.es-DGbc4L_D.mjs → Chip.vue.es-T22Q7AF9.mjs} +2 -2
- package/dist/ContentWithAsideLayout-BCM8tmZN.mjs +38 -0
- package/dist/ContentWithAsideLayout-RSdKXqAf.js +1 -0
- package/dist/{ContextMenu.vue.es-DL1M7pcr.mjs → ContextMenu.vue.es-0PRmCAzL.mjs} +4 -4
- package/dist/{ContextMenu.vue.es-Bd2kmeVq.js → ContextMenu.vue.es-DXKR7WFg.js} +1 -1
- package/dist/{CustomerBillingInformation.vue.es-CE94ASC3.mjs → CustomerBillingInformation.vue.es-C2j40TYP.mjs} +2 -2
- package/dist/{CustomerBillingInformation.vue.es-hiFzB43w.js → CustomerBillingInformation.vue.es-yrLGc7oL.js} +1 -1
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bhih7rPR.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BZwGWhaL.mjs} +5 -5
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BE21tqgW.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C8diNL5x.js} +1 -1
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-D018AmFA.js → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DzbPUvHN.js} +1 -1
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C5zc9n64.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-xqMsbuU6.mjs} +14 -14
- package/dist/{DividerText.vue.es-CFZUQ62L.mjs → DividerText.vue.es-CV1XK_Vz.mjs} +1 -1
- package/dist/{DividerText.vue.es-CvCgHHXN.js → DividerText.vue.es-DsYRZzuE.js} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-YcaBJDzx.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-kpjrC-4q.mjs} +4 -4
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-jTJGN4jb.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-srXOpUb0.js} +1 -1
- package/dist/{ErrorNotification.vue.es-B3mvv79S.mjs → ErrorNotification.vue.es-CiUJva6S.mjs} +1 -1
- package/dist/{ErrorNotification.vue.es-DI2B7WiR.js → ErrorNotification.vue.es-QfRoDhkn.js} +1 -1
- package/dist/{IconButton.vue.es-GLcGhoHC.mjs → IconButton.vue.es-ChvsCZQG.mjs} +2 -2
- package/dist/{IconButton.vue.es-Dp8h4YOx.js → IconButton.vue.es-CytBZUkZ.js} +1 -1
- package/dist/{IconTitle.vue.es-CzuPQtOX.mjs → IconTitle.vue.es-DPruIJ6l.mjs} +3 -3
- package/dist/{IconTitle.vue.es-DN9r6nfK.js → IconTitle.vue.es-DtnpBObk.js} +1 -1
- package/dist/{Input.vue.es-DM81HeVv.js → Input.vue.es-BkzQDkrz.js} +1 -1
- package/dist/{Input.vue.es-5Cq8a7oH.mjs → Input.vue.es-DJQqJrsb.mjs} +2 -2
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D75LSIL8.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BC-zyUqe.mjs} +2 -2
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-w8w52LcV.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Do0dDtkA.js} +1 -1
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-dRLsZPNh.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-CFhhhwId.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DB5h39LA.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-DQFS7SfE.js} +1 -1
- package/dist/{InvoiceSummary.vue.es-DbtqsTuP.mjs → InvoiceSummary.vue.es-6qpbyymg.mjs} +7 -7
- package/dist/{InvoiceSummary.vue.es-Qy99kLZs.js → InvoiceSummary.vue.es-v1TkOUhA.js} +1 -1
- package/dist/{Modal.vue.es-Z2DWAN2u.mjs → Modal.vue.es-BuRlbyZw.mjs} +5 -5
- package/dist/{Modal.vue.es-DgLl6XBV.js → Modal.vue.es-JpE0eh_Q.js} +1 -1
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DYuFPIqs.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-UmKgVvdj.mjs} +4 -4
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DBm51C7c.js → PaymentErrorCard.vue_vue_type_script_setup_true_lang-nAuhIopc.js} +1 -1
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CcdhYTB1.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DggCusgC.mjs} +3 -3
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BNZ9-GW1.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-YpcWHm24.js} +1 -1
- package/dist/{PaymentHistoryBlock-CjP_514k.mjs → PaymentHistoryBlock-DnmParhQ.mjs} +1 -1
- package/dist/{PaymentHistoryBlock-DS1j-8m-.js → PaymentHistoryBlock-uWuWjr8I.js} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CSTfMB8U.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BS8N4yt9.js} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dr2jtJhK.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BziIf86i.mjs} +4 -4
- package/dist/{PaymentIntegrationForm-CpOZUf-W.mjs → PaymentIntegrationForm-DL55i0HD.mjs} +1 -1
- package/dist/{PaymentIntegrationForm-80b19Lkq.js → PaymentIntegrationForm-DTXm56QQ.js} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-4RmdLbzY.js +1 -0
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BgztoQH5.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvpFnl9V.mjs} +43 -40
- package/dist/PaymentIntegrationFormAdyen-C9KoiqMh.js +98 -0
- package/dist/{PaymentIntegrationFormAdyen-BQcgDcik.mjs → PaymentIntegrationFormAdyen-Cqsy82To.mjs} +313 -207
- package/dist/{PaymentIntegrationFormStripe-Dx1H3fZ2.mjs → PaymentIntegrationFormStripe-DIU1rnwH.mjs} +22 -21
- package/dist/{PaymentIntegrationFormStripe-CMwLqOe6.js → PaymentIntegrationFormStripe-DTLgGutU.js} +2 -2
- package/dist/{PaymentMethod.vue.es-pLCCzVxN.js → PaymentMethod.vue.es-ZWda5GqF.js} +1 -1
- package/dist/{PaymentMethod.vue.es-EhRCfeax.mjs → PaymentMethod.vue.es-m1NasGqw.mjs} +3 -3
- package/dist/{PaymentMethodForm-Bw2e1tXo.js → PaymentMethodForm-BEVdWCrH.js} +1 -1
- package/dist/{PaymentMethodForm-D3OY8zK5.mjs → PaymentMethodForm-BYzt1PVP.mjs} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-DHXw6qD0.js → PaymentMethodForm.vue_vue_type_script_setup_true_lang-CzUwtVEI.js} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-vGprVPpn.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-fdRTp7sc.mjs} +6 -6
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-D7b0HhDc.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-FChyZp2v.mjs} +6 -6
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-CdT1YyeU.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-FhMBZqtI.js} +1 -1
- package/dist/{PlanCustomizationEditor-RC8kj2rC.js → PlanCustomizationEditor-CunwwXTw.js} +1 -1
- package/dist/{PlanCustomizationEditor-BQqkgmzL.mjs → PlanCustomizationEditor-NLVkEYFF.mjs} +9 -9
- package/dist/{PricingGroupRangeInput.vue.es-DNsiUZyT.mjs → PricingGroupRangeInput.vue.es-B4ZbKxUw.mjs} +4 -4
- package/dist/{PricingGroupRangeInput.vue.es-ClkE98ML.js → PricingGroupRangeInput.vue.es-Ba3v0J_R.js} +1 -1
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CURXAgMT.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-Dvuj-fos.mjs} +5 -5
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-BJfQLRcS.js → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-iE4dLawA.js} +1 -1
- package/dist/{RadioGroupExtended.vue.es-Dk9xdj76.js → RadioGroupExtended.vue.es-CHrcqSRq.js} +1 -1
- package/dist/{RadioGroupExtended.vue.es-vUqn2ZUP.mjs → RadioGroupExtended.vue.es-CkhBp9kI.mjs} +2 -2
- package/dist/{Section.vue.es-Cybk1Nb8.js → Section.vue.es-CSrVPlUK.js} +1 -1
- package/dist/{Section.vue.es-C2_topx4.mjs → Section.vue.es-D5svcVS_.mjs} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-C9q_qwjt.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BM9Y4Cy3.mjs} +6 -6
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DIgVzXLg.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BqOSBdFQ.js} +1 -1
- package/dist/{SubscriptionSchedules-CNTg_oRy.js → SubscriptionSchedules-CMVoB2bw.js} +1 -1
- package/dist/{SubscriptionSchedules-BlCU_xc5.mjs → SubscriptionSchedules-yDcsD1hd.mjs} +1 -1
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-6LbR_Vni.js → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DH7IZrNT.js} +1 -1
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Cf3Dy8Yn.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DZHsQImd.mjs} +11 -11
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-BijBAdqp.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-BgXZMihr.js} +1 -1
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-CjzjchsS.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-BmNl5u8R.mjs} +2 -2
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-CxdrAanb.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BUzdZHah.mjs} +6 -6
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-Dz4s3CH_.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-DOJ0t_fo.js} +1 -1
- package/dist/{TooltipParagraph.vue.es-Fu9Od3Vr.mjs → TooltipParagraph.vue.es-CxdL8-B7.mjs} +1 -1
- package/dist/{TooltipParagraph.vue.es-OX6bAWP9.js → TooltipParagraph.vue.es-DS_69pl1.js} +1 -1
- package/dist/{TrialChip.vue.es-CbjdkR4i.js → TrialChip.vue.es-BCc8q5j0.js} +1 -1
- package/dist/{TrialChip.vue.es-c7tZOIW3.mjs → TrialChip.vue.es-BK7m7e7q.mjs} +2 -2
- package/dist/{cn.es-lC4_Xd0R.js → cn.es-71nFUose.js} +1 -1
- package/dist/{cn.es-C8Ogac5T.mjs → cn.es-ZXNzpauQ.mjs} +2 -2
- package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
- package/dist/components/BillingInformation/BillingInformation.mjs +4 -4
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +6 -6
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +4 -4
- package/dist/components/Invoice/Invoice.cjs +1 -1
- package/dist/components/Invoice/Invoice.mjs +9 -9
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +3 -3
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +2 -2
- package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
- package/dist/components/InvoicesList/InvoicesList.mjs +3 -3
- package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
- package/dist/components/PaymentHistory/PaymentHistory.mjs +3 -3
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +5 -5
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +4 -4
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +5 -5
- package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
- package/dist/components/WalletBalances/WalletBalances.mjs +3 -3
- package/dist/{customElements-BYIdPSzQ.js → customElements-hH6pju3X.js} +14 -14
- package/dist/{customElements-Df6dGrN-.mjs → customElements-q_i9y0Ph.mjs} +637 -601
- package/dist/{customer-DmsKYpVi.mjs → customer-BDoOIAFr.mjs} +1 -1
- package/dist/{customer-DoLHZuMG.js → customer-C9q6ti8s.js} +1 -1
- package/dist/{de-DE-Bgm9bnmp.mjs → de-DE-B_ik9VNt.mjs} +8 -2
- package/dist/{de-DE-CAL9Mji2.js → de-DE-npBTLtKL.js} +1 -1
- package/dist/{en-US-E86eRIxh.mjs → en-US-DkCltadt.mjs} +6 -0
- package/dist/{en-US-_xe5H4TQ.js → en-US-kGduGoka.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{invoices-mw87cNTS.js → invoices-CHp75zZI.js} +1 -1
- package/dist/{invoices-CrO6p4Ms.mjs → invoices-DIzkXntV.mjs} +1 -1
- package/dist/{it-IT-QFQ1Ajbb.js → it-IT-BayNIAy7.js} +1 -1
- package/dist/{it-IT-co1BfV5s.mjs → it-IT-CHj2McbF.mjs} +6 -0
- package/dist/{nl-NL-CJXJC1bx.js → nl-NL-0rV4nFLw.js} +1 -1
- package/dist/{nl-NL-Drv2E66B.mjs → nl-NL-Cdvd_XMN.mjs} +6 -0
- package/dist/{paymentMethods-CQdhZwq4.js → paymentMethods-CZGP6_4W.js} +1 -1
- package/dist/{paymentMethods-BNQbW_f1.mjs → paymentMethods-DEKp_4QM.mjs} +1 -1
- package/dist/{payments-VS_N2xpJ.mjs → payments-C0-Hq2a4.mjs} +1 -1
- package/dist/{payments-KTjVHqOa.js → payments-DBvregE8.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 +11 -11
- 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 +10 -10
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +19 -19
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +19 -19
- package/dist/{subscriptions-U4xg2CO1.mjs → subscriptions--9MaTXMb.mjs} +1 -1
- package/dist/{subscriptions-Dugd-oZ1.js → subscriptions-BArXBCFr.js} +1 -1
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +8 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +4 -2
- package/dist/types/services/portals.types.d.ts +2 -0
- package/dist/types/services/requests.types.d.ts +2 -0
- package/dist/{url-DwiuKYpu.mjs → url-TNRgVI8A.mjs} +3 -2
- package/dist/url-vloPOiXd.js +1 -0
- package/dist/{useActionDispatchProvider-DyQbRCxR.mjs → useActionDispatchProvider-BdciAX8T.mjs} +1 -1
- package/dist/{useActionDispatchProvider-CTyDGRX8.js → useActionDispatchProvider-CKzeqXzY.js} +1 -1
- package/dist/{useCustomer-dcmU1539.mjs → useCustomer-D8ixhuuj.mjs} +1 -1
- package/dist/{useCustomer-BXI5Vmit.js → useCustomer-DSYr0F58.js} +1 -1
- package/dist/{useCustomerFormLabels-Ct6vD_b8.js → useCustomerFormLabels-CRumh405.js} +1 -1
- package/dist/{useCustomerFormLabels-BC1WfqWo.mjs → useCustomerFormLabels-htMZ0xqB.mjs} +5 -5
- package/dist/{useExperimentalFeature-9-p9_nP6.js → useExperimentalFeature-D29-TO3R.js} +1 -1
- package/dist/{useExperimentalFeature-4Y-ppDr7.mjs → useExperimentalFeature-JK_kAUQQ.mjs} +1 -1
- package/dist/{useInvoiceData-B2Z9aD2w.mjs → useInvoiceData-Bpbog3zW.mjs} +2 -2
- package/dist/{useInvoiceData-CGvtl7Ai.js → useInvoiceData-DhrItfv7.js} +1 -1
- package/dist/{useInvoicesList-DJPznhig.mjs → useInvoicesList-BGwcJn4I.mjs} +7 -7
- package/dist/{useInvoicesList-Ba0GO8p-.js → useInvoicesList-duu_b5GW.js} +1 -1
- package/dist/{useLoadInitialData-CWyI3_RR.mjs → useLoadInitialData-BDmmpcfb.mjs} +1 -1
- package/dist/{useLoadInitialData-BO9ZsSsF.js → useLoadInitialData-U2WvBmXT.js} +1 -1
- package/dist/{usePaymentMethodAvailability-bkmDrPXY.js → usePaymentMethodAvailability-DwtT5Czz.js} +1 -1
- package/dist/{usePaymentMethodAvailability-DqIvkjLF.mjs → usePaymentMethodAvailability-adqRujTA.mjs} +4 -4
- package/dist/{usePaymentMethodOptions-BPBVGNDg.js → usePaymentMethodOptions-CXdFKFqZ.js} +1 -1
- package/dist/{usePaymentMethodOptions-MSEp39xQ.mjs → usePaymentMethodOptions-DlZtTQNQ.mjs} +1 -1
- package/dist/{usePaymentMethods-U7gnZ0F5.mjs → usePaymentMethods-BnmSo_rr.mjs} +1 -1
- package/dist/{usePaymentMethods-BAOtOJZD.js → usePaymentMethods-DZ1a0mnr.js} +1 -1
- package/dist/{usePayments-G-HpKpK8.js → usePayments-DL4agK2i.js} +1 -1
- package/dist/{usePayments-Dq2V6bTV.mjs → usePayments-s-Z1di8d.mjs} +6 -6
- package/dist/{usePortal-CMHV-ShD.mjs → usePortal-C4rR5Rhu.mjs} +1 -1
- package/dist/{usePortal-BplmMkBG.js → usePortal-Hm7wvtgQ.js} +1 -1
- package/dist/{useSubscription-CvB8ROBt.js → useSubscription-DMAEJves.js} +1 -1
- package/dist/{useSubscription-V53WsZwQ.mjs → useSubscription-DSsXVO0h.mjs} +1 -1
- package/dist/{useTimePeriod.es-D31Zl1MJ.mjs → useTimePeriod.es-CW8ycmpT.mjs} +1 -1
- package/dist/{useTimePeriod.es-CtCTu9cz.js → useTimePeriod.es-anHB63am.js} +1 -1
- package/package.json +1 -1
- package/dist/Checkout.entry.ce-BfLlnQyb.js +0 -1
- package/dist/Checkout.entry.ce-CQkrWscC.mjs +0 -3769
- package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +0 -32
- package/dist/ContentWithAsideLayout-C6yMIVJF.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DKXhthkA.js +0 -1
- package/dist/PaymentIntegrationFormAdyen-DElXsJ96.js +0 -98
- package/dist/url-BNKStNY9.js +0 -1
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { openBlock as e, createElementBlock as o, renderSlot as t, createCommentVNode as d, createElementVNode as a } from "vue";
|
|
2
|
-
const i = (s, l) => {
|
|
3
|
-
const r = s.__vccOpts || s;
|
|
4
|
-
for (const [c, n] of l)
|
|
5
|
-
r[c] = n;
|
|
6
|
-
return r;
|
|
7
|
-
}, _ = {}, u = { class: "sv-layout grid w-full grid-cols-1 gap-4" }, f = {
|
|
8
|
-
key: 0,
|
|
9
|
-
class: "sv-layout__header"
|
|
10
|
-
}, g = { class: "sv-layout__body flex flex-col items-start gap-6 md:flex-row" }, m = { class: "sv-layout__content grid w-full grow grid-cols-1 gap-4 md:w-auto" }, h = {
|
|
11
|
-
key: 0,
|
|
12
|
-
class: "sv-layout__aside grid w-full grid-cols-1 gap-4 md:w-80 md:shrink-0"
|
|
13
|
-
};
|
|
14
|
-
function v(s, l) {
|
|
15
|
-
return e(), o("div", u, [
|
|
16
|
-
s.$slots.header ? (e(), o("div", f, [
|
|
17
|
-
t(s.$slots, "header")
|
|
18
|
-
])) : d("", !0),
|
|
19
|
-
a("div", g, [
|
|
20
|
-
a("div", m, [
|
|
21
|
-
t(s.$slots, "content")
|
|
22
|
-
]),
|
|
23
|
-
s.$slots.aside ? (e(), o("aside", h, [
|
|
24
|
-
t(s.$slots, "aside")
|
|
25
|
-
])) : d("", !0)
|
|
26
|
-
])
|
|
27
|
-
]);
|
|
28
|
-
}
|
|
29
|
-
const p = /* @__PURE__ */ i(_, [["render", v]]);
|
|
30
|
-
export {
|
|
31
|
-
p as C
|
|
32
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("vue"),n=(t,o)=>{const s=t.__vccOpts||t;for(const[l,r]of o)s[l]=r;return s},c={},d={class:"sv-layout grid w-full grid-cols-1 gap-4"},a={key:0,class:"sv-layout__header"},i={class:"sv-layout__body flex flex-col items-start gap-6 md:flex-row"},_={class:"sv-layout__content grid w-full grow grid-cols-1 gap-4 md:w-auto"},u={key:0,class:"sv-layout__aside grid w-full grid-cols-1 gap-4 md:w-80 md:shrink-0"};function m(t,o){return e.openBlock(),e.createElementBlock("div",d,[t.$slots.header?(e.openBlock(),e.createElementBlock("div",a,[e.renderSlot(t.$slots,"header")])):e.createCommentVNode("",!0),e.createElementVNode("div",i,[e.createElementVNode("div",_,[e.renderSlot(t.$slots,"content")]),t.$slots.aside?(e.openBlock(),e.createElementBlock("aside",u,[e.renderSlot(t.$slots,"aside")])):e.createCommentVNode("",!0)])])}const g=n(c,[["render",m]]);exports.ContentWithAsideLayout=g;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const t=require("vue"),B=require("./FormMessage.vue.es-dqATjC2N.js"),$=require("./customElements-BYIdPSzQ.js"),w=require("./adyen-Druit6gz.js"),S=e=>{var a;return((a=e.integration.payment_gateway)==null?void 0:a.variant)==="ADYEN"},I=e=>{var a;return((a=e.integration.payment_gateway)==null?void 0:a.variant)==="STRIPE"},g=({selectedIntegration:e,paymentMethodOption:a})=>{var i,m;return e===((m=(i=a.integration)==null?void 0:i.payment_gateway)==null?void 0:m.variant)},F=(e,{excludeExpressPaymentMethods:a=!1}={})=>{var i;return S(e)?w.getAdyenDropInPaymentMethods(e,{excludeExpressPaymentMethods:a}).length>0:I(e)?!!((i=e.integration.payment_gateway.stripe)!=null&&i.public_key):!1},C=(e,a={})=>e.some(i=>F(i,a)),p=t.defineComponent({__name:"PaymentIntegrationForm",props:{customerId:{type:String},variant:{type:String},context:{type:Object},paymentMethodOptions:{type:Array},countryCode:{type:String},invoiceId:{type:String},amount:{type:Object},selectedOption:{type:String},email:{type:String},name:{type:String},validateOnSubmit:{type:Function},forceStorePaymentMethod:{type:Boolean},storePaymentMethod:{type:Boolean,default:void 0},redirectsOnSuccess:{type:Boolean}},emits:["select","payment-failed","payment-success","ready"],setup(e,{expose:a,emit:i}){const m=t.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./PaymentIntegrationFormStripe-CMwLqOe6.js")).then(o=>o.default)),P=t.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./PaymentIntegrationFormAdyen-DElXsJ96.js")).then(o=>o.default)),c=e,k=i;a({submit:h});const{$t:b}=$.useIntl(),l=t.ref(),u=t.computed(()=>{var o,n;return l.value??((n=(o=c.paymentMethodOptions[0])==null?void 0:o.integration.payment_gateway)==null?void 0:n.variant)}),y=t.ref(new Map),d=t.ref(!1),f=({paymentGatewayVariant:o,paymentMethodType:n})=>{d.value=!1,l.value=o,k("select",{paymentGatewayVariant:o,paymentMethodType:n})},v=o=>n=>{var r;return y.value.set((r=o.integration.payment_gateway)==null?void 0:r.variant,n)};function h(){var o,n;u.value||(d.value=!0,(o=c.validateOnSubmit)==null||o.call(c)),(n=y.value.get(u.value))==null||n.submit()}return(o,n)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.paymentMethodOptions,r=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:r.integration.id},[t.unref(S)(r)?(t.openBlock(),t.createBlock(t.unref(P),{key:0,ref_for:!0,ref:v(r),context:e.context,"payment-method-option-response-entry":r,"country-code":e.countryCode,"customer-id":e.customerId,variant:e.variant,amount:e.amount,"invoice-id":e.invoiceId,selected:t.unref(g)({selectedIntegration:u.value,paymentMethodOption:r}),"validate-on-submit":e.validateOnSubmit,"force-store-payment-method":e.forceStorePaymentMethod,"store-payment-method":e.storePaymentMethod,"redirects-on-success":e.redirectsOnSuccess,onSelect:f,onPaymentFailed:n[0]||(n[0]=s=>o.$emit("payment-failed",s)),onPaymentSuccess:n[1]||(n[1]=s=>o.$emit("payment-success")),onReady:n[2]||(n[2]=s=>o.$emit("ready"))},null,8,["context","payment-method-option-response-entry","country-code","customer-id","variant","amount","invoice-id","selected","validate-on-submit","force-store-payment-method","store-payment-method","redirects-on-success"])):t.unref(I)(r)?(t.openBlock(),t.createBlock(t.unref(m),{key:1,ref_for:!0,ref:v(r),context:e.context,"payment-method-option-response-entry":r,"country-code":e.countryCode,"customer-id":e.customerId,variant:e.variant,amount:e.amount,"invoice-id":e.invoiceId,selected:t.unref(g)({selectedIntegration:u.value,paymentMethodOption:r}),email:e.email,name:e.name,"validate-on-submit":e.validateOnSubmit,"force-store-payment-method":e.forceStorePaymentMethod,"store-payment-method":e.storePaymentMethod,"redirects-on-success":e.redirectsOnSuccess,onSelect:f,onPaymentFailed:n[3]||(n[3]=s=>o.$emit("payment-failed",s)),onPaymentSuccess:n[4]||(n[4]=s=>o.$emit("payment-success")),onReady:n[5]||(n[5]=s=>o.$emit("ready"))},null,8,["context","payment-method-option-response-entry","country-code","customer-id","variant","amount","invoice-id","selected","email","name","validate-on-submit","force-store-payment-method","store-payment-method","redirects-on-success"])):t.createCommentVNode("",!0)],64))),128)),d.value?(t.openBlock(),t.createBlock(t.unref(B._sfc_main),{key:0,variant:"error",class:"mt-2"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(b)({defaultMessage:"Select a payment method",id:"payment_integration_form.select_payment_method_error",description:"Error shown when no payment method is selected"})),1)]),_:1})):t.createCommentVNode("",!0)],64))}});exports._sfc_main=p;exports.hasRenderablePaymentIntegration=C;
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),X=require("./useService-H7BjLg8P.js"),C=require("./customElements-BYIdPSzQ.js"),S=require("./PaymentErrorCard.vue_vue_type_script_setup_true_lang-DBm51C7c.js"),ee=require("./payments-KTjVHqOa.js"),L=require("./url-BNKStNY9.js"),te=require("./paymentMethods-CQdhZwq4.js"),u=require("./adyen-Druit6gz.js"),ne=require("./adyenSdk-BP2XXzeJ.js"),ae=require("./useExperimentalFeature-9-p9_nP6.js"),B=require("./paymentFailure-Cki8c5BX.js"),oe=h=>{let f={};return h==="TOKENIZE"&&(f={"en-US":{payButton:"Add payment method",confirmPurchase:"Add payment method"},"fr-FR":{payButton:"Ajouter un moyen de paiement",confirmPurchase:"Ajouter un moyen de paiement"},"de-DE":{payButton:"Zahlungsmethode hinzufügen",confirmPurchase:"Zahlungsmethode hinzufügen"},"it-IT":{payButton:"Aggiungi metodo di pagamento",confirmPurchase:"Aggiungi metodo di pagamento"},"es-ES":{payButton:"Añadir método de pago",confirmPurchase:"Añadir método de pago"},"nl-NL":{payButton:"Betaalmethode toevoegen",confirmPurchase:"Betaalmethode toevoegen"},"pt-BR":{payButton:"Adicionar método de pagamento",confirmPurchase:"Adicionar método de pagamento"},"pt-PT":{payButton:"Adicionar método de pagamento",confirmPurchase:"Adicionar método de pagamento"},"pl-PL":{payButton:"Dodaj metodę płatności",confirmPurchase:"Dodaj metodę płatności"},"ru-RU":{payButton:"Добавить способ оплаты",confirmPurchase:"Добавить способ оплаты"},"sv-SE":{payButton:"Lägg till betalningsmetod",confirmPurchase:"Lägg till betalningsmetod"},"da-DK":{payButton:"Tilføj betalingsmetode",confirmPurchase:"Tilføj betalingsmetode"},"fi-FI":{payButton:"Lisää maksutapa",confirmPurchase:"Lisää maksutapa"},"no-NO":{payButton:"Legg til betalingsmetode",confirmPurchase:"Legg til betalingsmetode"},"cs-CZ":{payButton:"Přidat platební metodu",confirmPurchase:"Přidat platební metodu"},"hu-HU":{payButton:"Fizetési mód hozzáadása",confirmPurchase:"Fizetési mód hozzáadása"},"ro-RO":{payButton:"Adăugați metodă de plată",confirmPurchase:"Adăugați metodă de plată"},"ja-JP":{payButton:"支払い方法を追加",confirmPurchase:"支払い方法を追加"},"ko-KR":{payButton:"결제 수단 추가",confirmPurchase:"결제 수단 추가"},"zh-CN":{payButton:"添加支付方式",confirmPurchase:"添加支付方式"},"zh-TW":{payButton:"新增付款方式",confirmPurchase:"新增付款方式"},ar:{payButton:"إضافة وسيلة دفع",confirmPurchase:"إضافة وسيلة دفع"},"hr-HR":{payButton:"Dodajte način plačanja",confirmPurchase:"Dodajte način plačanja"},"el-GR":{payButton:"Προσθήκη μεθόδου πληρωμής",confirmPurchase:"Προσθήκη μεθόδου πληρωμής"},"sk-SK":{payButton:"Pridať spôsob platby",confirmPurchase:"Pridať spôsob platby"},"sl-SI":{payButton:"Dodajte način plačanja",confirmPurchase:"Dodajte način plačanja"},"bg-BG":{payButton:"Добавяне на начин на плащане",confirmPurchase:"Добавяне на начин на плащане"},"ca-ES":{payButton:"Afegir mètode de pagament",confirmPurchase:"Afegir mètode de pagament"},"et-EE":{payButton:"Lisa makseviis",confirmPurchase:"Lisa makseviis"},"lv-LV":{payButton:"Pievienot maksājuma veidu",confirmPurchase:"Pievienot maksājuma veidu"},"lt-LT":{payButton:"Pridėti mokėjimo metodą",confirmPurchase:"Pridėti mokėjimo metodą"}}),f},A="ADYEN",re=r.defineComponent({__name:"PaymentIntegrationFormAdyen",props:{context:{type:Object},countryCode:{type:String},customerId:{type:String},invoiceId:{type:String},paymentMethodOptionResponseEntry:{type:Object},variant:{type:String},selected:{type:Boolean},amount:{type:Object},validateOnSubmit:{type:Function,default:()=>Promise.resolve(!0)},forceStorePaymentMethod:{type:Boolean},storePaymentMethod:{type:Boolean,default:void 0},redirectsOnSuccess:{type:Boolean}},emits:["select","payment-failed","payment-success","ready"],setup(h,{expose:f,emit:x}){let p=null,P=null;const n=h,_=x;f({submit:j});const l=r.ref(),N=r.ref(!1),I=r.ref(),i=C.useLogger(),{locale:F}=C.useIntl(),{authorizePayment:w,getPaymentDetails:U}=ee.createPaymentsService(),{tokenizePaymentMethod:Y}=te.createPaymentMethodsService(),T=ae.useExperimentalFeature(),O=r.computed(()=>{var e;return u.getAdyenDropInPaymentMethods(n.paymentMethodOptionResponseEntry,{excludeExpressPaymentMethods:!!((e=T==null?void 0:T.value)!=null&&e["express-checkout"])})}),R=r.computed(()=>O.value.length>0);function s(e){return B.createPaymentFailureContext({gateway:A,paymentAcceptorId:n.paymentMethodOptionResponseEntry.payment_acceptor.id,variant:n.variant,invoiceId:n.invoiceId,customerId:n.customerId,...e})}function y(e){const t=B.createPaymentFailureError(e);I.value=t,_("payment-failed",t)}function j(){try{p==null||p.submit()}catch(e){i.error("ADYEN_SUBMIT_FAILED","Failed to submit Adyen drop-in",s({reason:"ADYEN_SUBMIT_FAILED",cause:e}),e)}}async function Z(){const e=u.toMinorUnitAmount(n.amount),t=O.value;return{checkoutConfig:{amount:e,clientKey:u.getAdyenClientKeyFromPaymentMethodOptionsResponse(n.paymentMethodOptionResponseEntry),environment:u.getAdyenEnvironmentFromPaymentMethodOptionsResponse(n.paymentMethodOptionResponseEntry,i),locale:F,translations:oe(n.variant),countryCode:n.countryCode,analytics:{enabled:!1},paymentMethodsResponse:{paymentMethods:t},onSubmit:K,onAdditionalDetails:q,onPaymentCompleted:Q,onPaymentFailed:$,onError:J,showPayButton:!1},dropInConfig:{disableFinalAnimation:!0,paymentMethodsConfiguration:{card:{hasHolderName:!0,holderNameRequired:!0,enableStoreDetails:!n.forceStorePaymentMethod&&n.storePaymentMethod===void 0&&n.variant==="AUTHORIZE"},paypal:{intent:e.value>0?"authorize":"tokenize",showPayButton:!0}},openFirstPaymentMethod:n.selected,onSelect:({props:{type:o}})=>{o&&_("select",{paymentMethodType:o,paymentGatewayVariant:"ADYEN"})},onReady:()=>_("ready")}}}function z(){return Promise.all([ne.loadAdyenSdk(),Promise.resolve().then(()=>require("./adyen-BJfC7N6f.js")).then(e=>e.default)])}async function v(){if(await M(),I.value=void 0,!R.value){const{payment_acceptor:e,integration:t}=n.paymentMethodOptionResponseEntry;i.warn("PAYMENT_INTEGRATION_NOT_RENDERABLE","No Adyen payment methods to offer",{fingerprint:["PAYMENT_INTEGRATION_NOT_RENDERABLE",e.id],paymentAcceptorId:e.id,integrationId:t.id,...n.invoiceId?{invoiceId:n.invoiceId}:{}});return}if(await r.nextTick(),!!l.value)try{const[e,t]=await z(),{checkoutConfig:o,dropInConfig:a}=await Z();P=await e.AdyenCheckout(o),p=new e.Dropin(P,{...a,paymentMethodComponents:e.dropInPaymentMethodComponents}).mount(l.value),G(t)}catch(e){i.error("PAYMENT_INTEGRATION_INITIALIZATION_FAILED","Failed to mount Adyen web drop-in",s({reason:"ADYEN_DROP_IN_MOUNT_FAILED",cause:e}),e),y({code:"PAYMENT_INTEGRATION_INITIALIZATION_FAILED",message:"Failed to mount Adyen web drop-in",error:e})}}async function M(){p&&(p.unmount(),p=null),l.value&&(l.value.innerHTML="")}function G(e){var o;const t=(o=l.value)==null?void 0:o.getRootNode();if(t instanceof ShadowRoot){const a=document.createElement("style");a.textContent=e,t.appendChild(a);const d=document.createElement("style");d.textContent=`
|
|
2
|
-
:host {
|
|
3
|
-
--adyen-sdk-color-background-secondary: transparent;
|
|
4
|
-
--adyen-sdk-color-background-primary: rgb(243 244 246 / 0.5);
|
|
5
|
-
--adyen-sdk-color-outline-secondary: #e5e7eb;
|
|
6
|
-
--adyen-sdk-color-outline-primary: transparent;
|
|
7
|
-
--adyen-sdk-color-background-always-dark: var(--color-primary-500);
|
|
8
|
-
--adyen-sdk-color-background-inverse-primary-hover: var(--color-primary-600);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.adyen-checkout__payment-method__image__wrapper {
|
|
12
|
-
width: 32px;
|
|
13
|
-
height: 32px;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.adyen-checkout__payment-method__image {
|
|
17
|
-
height: 32px;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.adyen-checkout__input-wrapper,
|
|
21
|
-
.adyen-checkout__input {
|
|
22
|
-
border-color: rgb(229, 231, 235);
|
|
23
|
-
border-radius: var(--adyen-sdk-border-radius-s, 4px);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.adyen-checkout__button,
|
|
27
|
-
.adyen-checkout__payment-method {
|
|
28
|
-
border-radius: var(--adyen-sdk-border-radius-s, 4px);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.adyen-checkout__payment-method {
|
|
32
|
-
border-color: rgb(229, 231, 235);
|
|
33
|
-
box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
34
|
-
transition: box-shadow 0.2s ease-in-out;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.adyen-checkout__payment-method--selected {
|
|
38
|
-
box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.adyen-checkout__payment-method:after {
|
|
42
|
-
transform: scale(0%);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.adyen-checkout__paypal__button {
|
|
46
|
-
display: block !important;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.adyen-checkout__payment-methods-list {
|
|
50
|
-
gap: 4px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.adyen-checkout__dropdown__list {
|
|
54
|
-
background-color: white;
|
|
55
|
-
border-radius: var(--adyen-sdk-border-radius-s, 4px);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.adyen-checkout__payment-method.adyen-checkout__payment-method--selected:after {
|
|
59
|
-
content: '✓';
|
|
60
|
-
width: 20px;
|
|
61
|
-
height: 20px;
|
|
62
|
-
border-radius: 10px;
|
|
63
|
-
background-color: var(--color-primary-600);
|
|
64
|
-
position: absolute;
|
|
65
|
-
top: 14px;
|
|
66
|
-
right: 14px;
|
|
67
|
-
text-align: center;
|
|
68
|
-
line-height: 20px;
|
|
69
|
-
color: white;
|
|
70
|
-
transform: scale(100%);
|
|
71
|
-
font-size: 12px;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.adyen-checkout__payment-method__header {
|
|
75
|
-
padding: 8px 16px !important;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.adyen-checkout__payment-method__brands {
|
|
79
|
-
align-items: center;
|
|
80
|
-
}
|
|
81
|
-
.adyen-checkout__payment-method__brand-number {
|
|
82
|
-
line-height: 1;
|
|
83
|
-
}
|
|
84
|
-
.adyen-checkout__button__text {
|
|
85
|
-
font-size: 14px;
|
|
86
|
-
}
|
|
87
|
-
.adyen-checkout__store-details {
|
|
88
|
-
background: transparent;
|
|
89
|
-
padding: 0;
|
|
90
|
-
}
|
|
91
|
-
.adyen-checkout__checkbox__input + .adyen-checkout__checkbox__label:after {
|
|
92
|
-
border-color: rgb(229, 231, 235);
|
|
93
|
-
}
|
|
94
|
-
`,n.variant==="AUTHORIZE"&&(d.textContent+=`
|
|
95
|
-
.adyen-checkout__payment-method--cashapp .adyen-checkout-pm-details-wrapper {
|
|
96
|
-
display: none;
|
|
97
|
-
}
|
|
98
|
-
`),t.appendChild(d)}}function b(e,{paymentMethodType:t,actions:o,logFailure:a}){if(e.status==="ACTION_REQUIRED"&&e.action.payment_gateway_variant===A){const d=H(e,t);if(!d){a(e);return}p.handleAction(d),o.resolve({resultCode:e.action.adyen.result_code,action:d});return}if(e.payment.result==="AUTHORIZED"){N.value=!0,o.resolve({resultCode:"Authorised"});return}a(e),o.resolve({resultCode:"Error"})}function K(...e){const[t,o,a]=e;n.validateOnSubmit().then(d=>{if(!d)return;const c=n.paymentMethodOptionResponseEntry.payment_acceptor.id,D={risk_data:u.transformObjectToAdyenObject(t.data.riskData),payment_method:u.transformObjectToAdyenObject(t.data.paymentMethod),browser_info:u.transformObjectToAdyenObject(t.data.browserInfo)};if(n.variant==="AUTHORIZE"){const g=u.createReturnUrl({paymentAcceptorId:n.paymentMethodOptionResponseEntry.payment_acceptor.id,redirectUrl:window.location.href});w({payment_acceptor_id:c,...n.customerId?{customer_id:n.customerId}:{},payment_gateway_variant:A,adyen:{...D,store_payment_method:n.storePaymentMethod??(n.forceStorePaymentMethod||t.data.storePaymentMethod)},amount:n.amount,...n.context?{context:n.context}:{},return_url:g}).then(m=>b(m,{paymentMethodType:t.data.paymentMethod.type,actions:a,logFailure:E=>i.error("PAYMENT_AUTHORIZATION_FAILED",`Failed payment authorization for payment acceptor with id ${c}`,s({reason:"PAYMENT_AUTHORIZATION_REJECTED",paymentMethodType:t.data.paymentMethod.type,cause:E}),E)})).catch(m=>{i.error("PAYMENT_AUTHORIZATION_FAILED",`Failed payment authorization for payment acceptor with id ${c}`,s({reason:"PAYMENT_AUTHORIZATION_FAILED",paymentMethodType:t.data.paymentMethod.type,cause:m}),m),a.resolve({resultCode:"Error"})});return}if(n.variant==="TOKENIZE"){const g=u.createReturnUrl({paymentAcceptorId:n.paymentMethodOptionResponseEntry.payment_acceptor.id,redirectUrl:window.location.href});if(!n.customerId){i.error("TOKENIZATION_FAILED",`Missing customer id for payment acceptor with id ${c}`,s({reason:"TOKENIZATION_FAILED_NO_CUSTOMER"})),y({code:"TOKENIZE_FAILED",message:"Missing customer id"});return}Y({customer_id:n.customerId,payment_acceptor_id:c,payment_gateway_variant:A,adyen:D,return_url:g}).then(m=>b(m,{paymentMethodType:t.data.paymentMethod.type,actions:a,logFailure:E=>i.error("TOKENIZATION_FAILED",`Tokenization failed for payment acceptor with id ${c}`,s({reason:"TOKENIZATION_REJECTED",paymentMethodType:t.data.paymentMethod.type,cause:E}),E)})).catch(m=>{i.error("TOKENIZATION_FAILED",`Tokenization failed for payment acceptor with id ${c}`,s({reason:"TOKENIZATION_FAILED",paymentMethodType:t.data.paymentMethod.type,cause:m}),m),a.resolve({resultCode:"Error"})})}}).catch(d=>{i.error("INTEGRATION_ERROR","Unhandled error in payment submission flow",s({reason:"ADYEN_SUBMISSION_FLOW_FAILED",cause:d}),d)})}function H(e,t){if(e.status!=="ACTION_REQUIRED")return;const o=e.action;if(o.payment_gateway_variant!="ADYEN")return;const a=o.adyen;return{paymentMethodType:(a==null?void 0:a.payment_method_type)??t,method:o.method,url:o.url,data:o.data,type:a==null?void 0:a.action_type,paymentData:a==null?void 0:a.payment_data,sdkData:a==null?void 0:a.sdk_data}}function q(...e){const[t]=e,o=t.data.details,a=t.data.paymentData;if(n.paymentMethodOptionResponseEntry.payment_acceptor.id){k({detailsResult:o?V(o):void 0,paymentDataResult:a,paymentAcceptorId:n.paymentMethodOptionResponseEntry.payment_acceptor.id});return}i.error("PAYMENT_ACCEPTOR_MISSING","Additional details arrived without a payment acceptor id",s({reason:"PAYMENT_ACCEPTOR_MISSING"})),y({code:"REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING",message:"Payment failed",error:e})}function V(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>t!=null))}function $(...e){const[t]=e;i.error("ADYEN_PAYMENT_FAILED","Adyen reported the payment as failed",s({reason:"ADYEN_PAYMENT_FAILED",extra:{resultCode:t==null?void 0:t.resultCode}}),t),y({code:"AUTHORIZATION_FAILED",message:"Payment failed",error:t})}function Q(...e){const[,t]=e;t==null||t.unmount(),_("payment-success")}function J(...e){const[t,o]=e;t.name!=="CANCEL"&&(i.error("INTEGRATION_ERROR","The Adyen drop-in reported an error",s({reason:"ADYEN_INTEGRATION_ERROR",cause:t,extra:{adyenErrorName:t.name}}),t),y({code:"UNKNOWN_ERROR",message:"Something went wrong",error:t}),o==null||o.unmount())}function k({detailsResult:e,threeDSResult:t,redirectResult:o,paymentDataResult:a,paymentAcceptorId:d}){U({paymentAcceptorId:d,paymentGatewayVariant:A,adyen:{...e?{details:e}:{},...o?{redirect_result:o}:{},...t?{threeds_result:t}:{},...a?{payment_data:a}:{}}}).then(c=>{if(c.payment_status==="FAILURE"){i.error("PAYMENT_DETAILS_REJECTED","Payment details returned a failed payment",s({reason:"PAYMENT_DETAILS_REJECTED",paymentAcceptorId:d,extra:{paymentStatus:c.payment_status}})),y({code:"AUTHORIZATION_FAILED",message:"Failed getting payment details",error:c});return}if(c.payment_status==="SUCCESS"){_("payment-success");return}}).catch(c=>{i.error("PAYMENT_DETAILS_CALL_FAILED","Failed fetching payment details",s({reason:"PAYMENT_DETAILS_CALL_FAILED",paymentAcceptorId:d,cause:c}),c),y({code:"PAYMENT_DETAILS_CALL_FAILED",message:"Failed fetching payment details",error:c})})}function W(){const e=L.getQueryParam(u.REDIRECT_RESULT_QUERY_STRING),t=L.getQueryParam(u.PAYMENT_ACCEPTOR_ID_QUERY_STRING);if(e){if(!t){i.error("INVALID_REDIRECT_RESULT","Redirect result is set but payment acceptor id is missing",s({reason:"INVALID_REDIRECT_RESULT"})),y({code:"REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING",message:"Redirect result is set but payment acceptor id is missing"});return}k({paymentAcceptorId:t,detailsResult:{redirectResult:decodeURI(e)}})}}return r.onMounted(()=>{v(),W()}),r.onBeforeUnmount(()=>{M()}),r.watch(()=>n.paymentMethodOptionResponseEntry,(e,t)=>{X.isEqual(e,t)||v()},{deep:!0}),(e,t)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[N.value?(r.openBlock(),r.createBlock(S._sfc_main,{key:0,variant:h.variant,redirecting:h.redirectsOnSuccess},null,8,["variant","redirecting"])):I.value?(r.openBlock(),r.createBlock(S._sfc_main$1,{key:1,error:I.value},null,8,["error"])):r.createCommentVNode("",!0),R.value?(r.openBlock(),r.createElementBlock("div",{key:2,ref_key:"dropInContainerRef",ref:l},null,512)):r.createCommentVNode("",!0)],64))}});exports.default=re;
|
package/dist/url-BNKStNY9.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=new Set(["https:","http:"]);function n(r,t=window.location.search){return new URLSearchParams(t).get(r)}function c(r){try{const t=new URL(r);return e.has(t.protocol)?r:""}catch{return""}}function a(r){const t=c(r);t&&window.location.replace(t)}exports.getQueryParam=n;exports.safeUrlRedirect=a;
|