@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
package/dist/{PaymentIntegrationFormStripe-CBsXDuhy.mjs → PaymentIntegrationFormStripe-D-GaLHwc.mjs}
RENAMED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { a as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as q, a as J } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { c as
|
|
6
|
-
import { c as
|
|
7
|
-
import { g as
|
|
8
|
-
import { b as
|
|
9
|
-
|
|
1
|
+
import { defineComponent as D, ref as g, onMounted as L, onBeforeUnmount as M, watch as B, openBlock as v, createElementBlock as Y, computed as h, createBlock as N, unref as G, createCommentVNode as $ } from "vue";
|
|
2
|
+
import { a as W } from "./useService-Bh47bllz.mjs";
|
|
3
|
+
import { t as V, d as Q, P as X } from "./adyen-CvsH5fok.mjs";
|
|
4
|
+
import { _ as q, a as J } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dan29qmH.mjs";
|
|
5
|
+
import { c as ee } from "./payments-BYZLQTJ-.mjs";
|
|
6
|
+
import { c as te } from "./paymentMethods-By1SebnO.mjs";
|
|
7
|
+
import { g as b } from "./url-TNRgVI8A.mjs";
|
|
8
|
+
import { b as re } from "./customElements-DT1YyL4O.mjs";
|
|
9
|
+
import { c as ne, a as ae } from "./paymentFailure-Bh60UhxA.mjs";
|
|
10
|
+
const F = "https://js.stripe.com/dahlia/stripe.js", oe = `<!DOCTYPE html>
|
|
10
11
|
<html>
|
|
11
12
|
<head>
|
|
12
13
|
<meta charset="UTF-8">
|
|
@@ -18,7 +19,7 @@ body { overflow: hidden; }
|
|
|
18
19
|
</head>
|
|
19
20
|
<body>
|
|
20
21
|
<div id="stripe-root"></div>
|
|
21
|
-
<script src="${
|
|
22
|
+
<script src="${F}"><\/script>
|
|
22
23
|
<script>
|
|
23
24
|
(function () {
|
|
24
25
|
let stripe, elements, countryCode, email, name, parentOrigin;
|
|
@@ -107,7 +108,7 @@ body { overflow: hidden; }
|
|
|
107
108
|
})();
|
|
108
109
|
<\/script>
|
|
109
110
|
</body>
|
|
110
|
-
</html>`,
|
|
111
|
+
</html>`, ie = ["src", "height"], se = /* @__PURE__ */ D({
|
|
111
112
|
__name: "PaymentIntegrationFormStripeFrame",
|
|
112
113
|
props: {
|
|
113
114
|
publicKey: { type: String },
|
|
@@ -117,13 +118,13 @@ body { overflow: hidden; }
|
|
|
117
118
|
name: { type: String }
|
|
118
119
|
},
|
|
119
120
|
emits: ["ready", "change", "loaderror", "submit-success", "submit-error"],
|
|
120
|
-
setup(
|
|
121
|
-
const t =
|
|
122
|
-
|
|
123
|
-
const
|
|
124
|
-
function
|
|
125
|
-
var
|
|
126
|
-
(
|
|
121
|
+
setup(p, { expose: E, emit: A }) {
|
|
122
|
+
const t = p, c = A;
|
|
123
|
+
E({ triggerSubmit: O });
|
|
124
|
+
const u = g(), d = g(0), I = g();
|
|
125
|
+
function S() {
|
|
126
|
+
var i, a;
|
|
127
|
+
(a = (i = u.value) == null ? void 0 : i.contentWindow) == null || a.postMessage(
|
|
127
128
|
{
|
|
128
129
|
type: "stripe:init",
|
|
129
130
|
publicKey: t.publicKey,
|
|
@@ -136,77 +137,77 @@ body { overflow: hidden; }
|
|
|
136
137
|
);
|
|
137
138
|
}
|
|
138
139
|
function O() {
|
|
139
|
-
var
|
|
140
|
-
(
|
|
140
|
+
var i, a;
|
|
141
|
+
(a = (i = u.value) == null ? void 0 : i.contentWindow) == null || a.postMessage(
|
|
141
142
|
{ type: "stripe:submit", email: t.email, name: t.name },
|
|
142
143
|
"*"
|
|
143
144
|
);
|
|
144
145
|
}
|
|
145
|
-
function
|
|
146
|
-
return typeof
|
|
146
|
+
function y(i) {
|
|
147
|
+
return typeof i == "object" && i !== null;
|
|
147
148
|
}
|
|
148
|
-
function
|
|
149
|
-
if (!
|
|
150
|
-
const
|
|
151
|
-
if (!(typeof
|
|
152
|
-
switch (
|
|
149
|
+
function m(i) {
|
|
150
|
+
if (!u.value || i.source !== u.value.contentWindow || !y(i.data)) return;
|
|
151
|
+
const a = i.data, _ = a.type;
|
|
152
|
+
if (!(typeof _ != "string" || !_.startsWith("stripe:")))
|
|
153
|
+
switch (_) {
|
|
153
154
|
case "stripe:ready":
|
|
154
|
-
|
|
155
|
+
c("ready");
|
|
155
156
|
break;
|
|
156
157
|
case "stripe:change":
|
|
157
|
-
|
|
158
|
+
c(
|
|
158
159
|
"change",
|
|
159
|
-
typeof
|
|
160
|
+
typeof a.paymentMethodType == "string" ? a.paymentMethodType : "card"
|
|
160
161
|
);
|
|
161
162
|
break;
|
|
162
163
|
case "stripe:loaderror": {
|
|
163
|
-
const
|
|
164
|
-
|
|
165
|
-
message: typeof
|
|
166
|
-
type: typeof
|
|
164
|
+
const n = y(a.error) ? a.error : {};
|
|
165
|
+
c("loaderror", {
|
|
166
|
+
message: typeof n.message == "string" ? n.message : void 0,
|
|
167
|
+
type: typeof n.type == "string" ? n.type : void 0
|
|
167
168
|
});
|
|
168
169
|
break;
|
|
169
170
|
}
|
|
170
171
|
case "stripe:resize":
|
|
171
|
-
typeof
|
|
172
|
+
typeof a.height == "number" && (d.value = a.height);
|
|
172
173
|
break;
|
|
173
174
|
case "stripe:submit:success":
|
|
174
|
-
typeof
|
|
175
|
+
typeof a.confirmationTokenId == "string" && c("submit-success", a.confirmationTokenId);
|
|
175
176
|
break;
|
|
176
177
|
case "stripe:submit:error": {
|
|
177
|
-
const
|
|
178
|
-
|
|
179
|
-
message: typeof
|
|
180
|
-
type: typeof
|
|
181
|
-
code: typeof
|
|
178
|
+
const n = y(a.error) ? a.error : {};
|
|
179
|
+
c("submit-error", {
|
|
180
|
+
message: typeof n.message == "string" ? n.message : void 0,
|
|
181
|
+
type: typeof n.type == "string" ? n.type : void 0,
|
|
182
|
+
code: typeof n.code == "string" ? n.code : void 0
|
|
182
183
|
});
|
|
183
184
|
break;
|
|
184
185
|
}
|
|
185
186
|
}
|
|
186
187
|
}
|
|
187
|
-
return
|
|
188
|
-
const
|
|
189
|
-
|
|
190
|
-
}),
|
|
191
|
-
window.removeEventListener("message",
|
|
188
|
+
return L(() => {
|
|
189
|
+
const i = new Blob([oe], { type: "text/html" });
|
|
190
|
+
I.value = URL.createObjectURL(i), window.addEventListener("message", m);
|
|
191
|
+
}), M(() => {
|
|
192
|
+
window.removeEventListener("message", m), I.value && URL.revokeObjectURL(I.value);
|
|
192
193
|
}), B(
|
|
193
194
|
() => t.options,
|
|
194
|
-
(
|
|
195
|
-
|
|
195
|
+
(i, a) => {
|
|
196
|
+
W(i, a) || S();
|
|
196
197
|
},
|
|
197
198
|
{ deep: !0 }
|
|
198
|
-
), (
|
|
199
|
+
), (i, a) => (v(), Y("iframe", {
|
|
199
200
|
ref_key: "iframeRef",
|
|
200
|
-
ref:
|
|
201
|
-
src:
|
|
201
|
+
ref: u,
|
|
202
|
+
src: I.value,
|
|
202
203
|
height: d.value || void 0,
|
|
203
204
|
frameborder: "0",
|
|
204
205
|
style: { width: "100%", display: "block", border: "none" },
|
|
205
206
|
title: "Payment form",
|
|
206
|
-
onLoad:
|
|
207
|
-
}, null, 40,
|
|
207
|
+
onLoad: S
|
|
208
|
+
}, null, 40, ie));
|
|
208
209
|
}
|
|
209
|
-
}),
|
|
210
|
+
}), w = { link: "never" }, C = {
|
|
210
211
|
variables: { borderRadius: "4px", colorBackground: "rgba(243, 244, 246, 0.5)" },
|
|
211
212
|
rules: {
|
|
212
213
|
".TermsText": { fontSize: "14px" },
|
|
@@ -217,41 +218,41 @@ body { overflow: hidden; }
|
|
|
217
218
|
}
|
|
218
219
|
}
|
|
219
220
|
};
|
|
220
|
-
function
|
|
221
|
+
function ce(p, E) {
|
|
221
222
|
return {
|
|
222
223
|
billingDetails: {
|
|
223
224
|
address: { country: "never" },
|
|
224
|
-
...
|
|
225
|
-
...
|
|
225
|
+
...p ? { email: "never" } : {},
|
|
226
|
+
...E ? { name: "never" } : {}
|
|
226
227
|
}
|
|
227
228
|
};
|
|
228
229
|
}
|
|
229
|
-
function
|
|
230
|
-
amount:
|
|
231
|
-
email:
|
|
232
|
-
name:
|
|
230
|
+
function me({
|
|
231
|
+
amount: p,
|
|
232
|
+
email: E,
|
|
233
|
+
name: A,
|
|
233
234
|
variant: t,
|
|
234
|
-
storePaymentMethod:
|
|
235
|
+
storePaymentMethod: c = !1
|
|
235
236
|
}) {
|
|
236
|
-
const
|
|
237
|
+
const u = p.currency.toLowerCase(), d = ce(E, A);
|
|
237
238
|
return t === "TOKENIZE" ? {
|
|
238
239
|
mode: "setup",
|
|
239
|
-
currency:
|
|
240
|
+
currency: u,
|
|
240
241
|
setup_future_usage: "off_session",
|
|
241
|
-
wallets:
|
|
242
|
+
wallets: w,
|
|
242
243
|
fields: d,
|
|
243
|
-
appearance:
|
|
244
|
+
appearance: C
|
|
244
245
|
} : {
|
|
245
246
|
mode: "payment",
|
|
246
|
-
currency:
|
|
247
|
-
amount:
|
|
248
|
-
...
|
|
249
|
-
wallets:
|
|
247
|
+
currency: u,
|
|
248
|
+
amount: V(p).value,
|
|
249
|
+
...c ? { setup_future_usage: "off_session" } : {},
|
|
250
|
+
wallets: w,
|
|
250
251
|
fields: d,
|
|
251
|
-
appearance:
|
|
252
|
+
appearance: C
|
|
252
253
|
};
|
|
253
254
|
}
|
|
254
|
-
const
|
|
255
|
+
const R = "STRIPE", ge = /* @__PURE__ */ D({
|
|
255
256
|
__name: "PaymentIntegrationFormStripe",
|
|
256
257
|
props: {
|
|
257
258
|
email: { type: String },
|
|
@@ -267,222 +268,293 @@ const v = "STRIPE", fe = /* @__PURE__ */ C({
|
|
|
267
268
|
context: { type: Object },
|
|
268
269
|
forceStorePaymentMethod: { type: Boolean },
|
|
269
270
|
storePaymentMethod: { type: Boolean },
|
|
270
|
-
redirectsOnSuccess: { type: Boolean }
|
|
271
|
+
redirectsOnSuccess: { type: Boolean },
|
|
272
|
+
billingEntityName: { type: String }
|
|
271
273
|
},
|
|
272
274
|
emits: ["select", "payment-failed", "payment-success", "ready"],
|
|
273
|
-
setup(
|
|
274
|
-
const t =
|
|
275
|
-
|
|
276
|
-
const
|
|
275
|
+
setup(p, { expose: E, emit: A }) {
|
|
276
|
+
const t = p, c = A;
|
|
277
|
+
E({ submit: k });
|
|
278
|
+
const u = g(!1), d = g(), I = g(), S = h(
|
|
277
279
|
() => t.storePaymentMethod ?? t.forceStorePaymentMethod ?? !1
|
|
278
|
-
), O =
|
|
279
|
-
() =>
|
|
280
|
+
), O = h(
|
|
281
|
+
() => me({
|
|
280
282
|
amount: t.amount,
|
|
281
283
|
email: t.email,
|
|
282
284
|
name: t.name,
|
|
283
285
|
variant: t.variant,
|
|
284
|
-
storePaymentMethod:
|
|
286
|
+
storePaymentMethod: S.value
|
|
285
287
|
})
|
|
286
|
-
),
|
|
288
|
+
), y = g(null), m = re(), { authorizePayment: i } = ee(), { tokenizePaymentMethod: a } = te(), _ = h(
|
|
287
289
|
() => {
|
|
288
290
|
var e, r;
|
|
289
291
|
return (r = (e = t.paymentMethodOptionResponseEntry.integration.payment_gateway) == null ? void 0 : e.stripe) == null ? void 0 : r.public_key;
|
|
290
292
|
}
|
|
291
293
|
);
|
|
292
|
-
function
|
|
293
|
-
|
|
294
|
-
|
|
294
|
+
function n(e) {
|
|
295
|
+
return ne({
|
|
296
|
+
gateway: R,
|
|
297
|
+
paymentAcceptorId: t.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
298
|
+
variant: t.variant,
|
|
299
|
+
invoiceId: t.invoiceId,
|
|
300
|
+
customerId: t.customerId,
|
|
301
|
+
...e
|
|
302
|
+
});
|
|
303
|
+
}
|
|
304
|
+
function k() {
|
|
305
|
+
U().catch((e) => {
|
|
306
|
+
m.error(
|
|
295
307
|
"STRIPE_SUBMIT_FAILED",
|
|
296
308
|
"Unexpected error during Stripe submission",
|
|
297
|
-
{},
|
|
309
|
+
n({ reason: "STRIPE_SUBMIT_FAILED", cause: e }),
|
|
298
310
|
e
|
|
299
311
|
);
|
|
300
312
|
});
|
|
301
313
|
}
|
|
302
|
-
async function
|
|
314
|
+
async function U() {
|
|
303
315
|
var r;
|
|
304
|
-
await t.validateOnSubmit() && ((r =
|
|
316
|
+
await t.validateOnSubmit() && ((r = I.value) == null || r.triggerSubmit());
|
|
305
317
|
}
|
|
306
|
-
function
|
|
307
|
-
return new Promise((r,
|
|
318
|
+
function x(e) {
|
|
319
|
+
return new Promise((r, s) => {
|
|
308
320
|
if (window.Stripe) {
|
|
309
321
|
r(window.Stripe(e));
|
|
310
322
|
return;
|
|
311
323
|
}
|
|
312
324
|
const o = document.createElement("script");
|
|
313
|
-
o.src =
|
|
325
|
+
o.src = F, o.onload = () => {
|
|
314
326
|
if (!window.Stripe) {
|
|
315
|
-
|
|
327
|
+
s(new Error("Stripe not available after script load"));
|
|
316
328
|
return;
|
|
317
329
|
}
|
|
318
330
|
r(window.Stripe(e));
|
|
319
|
-
}, o.onerror = () =>
|
|
331
|
+
}, o.onerror = () => s(new Error("Failed to load Stripe.js")), document.head.appendChild(o);
|
|
320
332
|
});
|
|
321
333
|
}
|
|
322
|
-
async function
|
|
323
|
-
if (
|
|
324
|
-
return
|
|
325
|
-
const e =
|
|
334
|
+
async function Z() {
|
|
335
|
+
if (y.value)
|
|
336
|
+
return y.value;
|
|
337
|
+
const e = _.value;
|
|
326
338
|
if (!e)
|
|
327
339
|
throw new Error("Missing Stripe public key");
|
|
328
|
-
const r = await
|
|
329
|
-
return
|
|
340
|
+
const r = await x(e);
|
|
341
|
+
return y.value = r, r;
|
|
330
342
|
}
|
|
331
343
|
async function K(e) {
|
|
332
|
-
const r = t.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
344
|
+
const r = t.paymentMethodOptionResponseEntry.payment_acceptor.id, s = Q({
|
|
333
345
|
paymentAcceptorId: r,
|
|
334
346
|
redirectUrl: window.location.href
|
|
335
347
|
});
|
|
336
348
|
if (t.variant === "AUTHORIZE") {
|
|
337
349
|
try {
|
|
338
|
-
const o = await
|
|
350
|
+
const o = await i({
|
|
339
351
|
payment_acceptor_id: r,
|
|
340
352
|
...t.customerId ? { customer_id: t.customerId } : {},
|
|
341
|
-
payment_gateway_variant:
|
|
353
|
+
payment_gateway_variant: R,
|
|
342
354
|
stripe: { confirmation_token_id: e },
|
|
343
355
|
amount: t.amount,
|
|
344
356
|
...t.context && t.context.type !== "CHARGE_ON_DEMAND" ? { context: t.context } : {},
|
|
345
|
-
return_url:
|
|
357
|
+
return_url: s
|
|
346
358
|
});
|
|
347
|
-
await
|
|
359
|
+
await P(o);
|
|
348
360
|
} catch (o) {
|
|
349
|
-
|
|
361
|
+
m.error(
|
|
350
362
|
"PAYMENT_AUTHORIZATION_FAILED",
|
|
351
363
|
`Failed payment authorization for payment acceptor with id ${r}`,
|
|
352
|
-
{
|
|
353
|
-
|
|
364
|
+
n({ reason: "PAYMENT_AUTHORIZATION_FAILED", cause: o }),
|
|
365
|
+
o
|
|
366
|
+
), l({
|
|
367
|
+
code: "AUTHORIZATION_FAILED",
|
|
368
|
+
message: "Payment authorization failed",
|
|
369
|
+
error: o
|
|
370
|
+
});
|
|
354
371
|
}
|
|
355
372
|
return;
|
|
356
373
|
}
|
|
357
374
|
if (t.variant === "TOKENIZE") {
|
|
358
375
|
if (!t.customerId) {
|
|
359
|
-
|
|
376
|
+
m.error(
|
|
360
377
|
"TOKENIZATION_FAILED",
|
|
361
|
-
`Missing customer id for payment acceptor with id ${r}
|
|
362
|
-
|
|
378
|
+
`Missing customer id for payment acceptor with id ${r}`,
|
|
379
|
+
n({ reason: "TOKENIZATION_FAILED_NO_CUSTOMER" })
|
|
380
|
+
), l({ code: "TOKENIZE_FAILED", message: "Missing customer id" });
|
|
363
381
|
return;
|
|
364
382
|
}
|
|
365
383
|
try {
|
|
366
|
-
const o = await
|
|
384
|
+
const o = await a({
|
|
367
385
|
customer_id: t.customerId,
|
|
368
386
|
payment_acceptor_id: r,
|
|
369
|
-
payment_gateway_variant:
|
|
387
|
+
payment_gateway_variant: R,
|
|
370
388
|
stripe: { confirmation_token_id: e },
|
|
371
|
-
return_url:
|
|
389
|
+
return_url: s
|
|
372
390
|
});
|
|
373
|
-
await
|
|
391
|
+
await P(o);
|
|
374
392
|
} catch (o) {
|
|
375
|
-
|
|
393
|
+
m.error(
|
|
376
394
|
"TOKENIZATION_FAILED",
|
|
377
395
|
`Tokenization failed for payment acceptor with id ${r}`,
|
|
378
|
-
{
|
|
379
|
-
|
|
396
|
+
n({ reason: "TOKENIZATION_FAILED", cause: o }),
|
|
397
|
+
o
|
|
398
|
+
), l({ code: "TOKENIZE_FAILED", message: "Tokenization failed", error: o });
|
|
380
399
|
}
|
|
381
400
|
}
|
|
382
401
|
}
|
|
383
|
-
async function
|
|
402
|
+
async function P(e) {
|
|
384
403
|
var r;
|
|
385
|
-
if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant ===
|
|
386
|
-
const
|
|
387
|
-
if (!
|
|
388
|
-
|
|
404
|
+
if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant === R) {
|
|
405
|
+
const s = e.action.client_secret || ((r = e.action.data) == null ? void 0 : r.client_secret);
|
|
406
|
+
if (!s) {
|
|
407
|
+
m.error(
|
|
389
408
|
"STRIPE_ACTION_FAILED",
|
|
390
|
-
"Missing client_secret in Stripe ACTION_REQUIRED response"
|
|
391
|
-
|
|
409
|
+
"Missing client_secret in Stripe ACTION_REQUIRED response",
|
|
410
|
+
n({
|
|
411
|
+
reason: "STRIPE_ACTION_MISSING_CLIENT_SECRET",
|
|
412
|
+
extra: { paymentStatus: e.status }
|
|
413
|
+
})
|
|
414
|
+
), l({
|
|
415
|
+
code: "AUTHORIZATION_FAILED",
|
|
416
|
+
message: "Payment action failed",
|
|
417
|
+
error: e
|
|
418
|
+
});
|
|
392
419
|
return;
|
|
393
420
|
}
|
|
394
421
|
let o;
|
|
395
422
|
try {
|
|
396
|
-
o = await
|
|
397
|
-
} catch (
|
|
398
|
-
|
|
423
|
+
o = await Z();
|
|
424
|
+
} catch (T) {
|
|
425
|
+
m.error(
|
|
426
|
+
"STRIPE_ACTION_FAILED",
|
|
427
|
+
"Failed to load Stripe.js",
|
|
428
|
+
n({ reason: "STRIPE_SDK_LOAD_FAILED", cause: T }),
|
|
429
|
+
T
|
|
430
|
+
), l({ code: "AUTHORIZATION_FAILED", message: "Payment action failed", error: T });
|
|
399
431
|
return;
|
|
400
432
|
}
|
|
401
|
-
const { error:
|
|
402
|
-
if (
|
|
403
|
-
|
|
433
|
+
const { error: f } = await o.handleNextAction({ clientSecret: s });
|
|
434
|
+
if (f) {
|
|
435
|
+
m.error(
|
|
436
|
+
"STRIPE_ACTION_FAILED",
|
|
437
|
+
"Stripe handleNextAction failed",
|
|
438
|
+
n({
|
|
439
|
+
reason: "STRIPE_NEXT_ACTION_FAILED",
|
|
440
|
+
cause: f,
|
|
441
|
+
extra: { stripeErrorCode: f.code, stripeErrorType: f.type }
|
|
442
|
+
}),
|
|
443
|
+
f
|
|
444
|
+
), l({ code: "AUTHORIZATION_FAILED", message: "Payment action failed", error: f });
|
|
404
445
|
return;
|
|
405
446
|
}
|
|
406
|
-
|
|
447
|
+
u.value = !0, c("payment-success");
|
|
407
448
|
return;
|
|
408
449
|
}
|
|
409
450
|
if (e.status === "SUCCESS") {
|
|
410
|
-
|
|
451
|
+
u.value = !0, c("payment-success");
|
|
411
452
|
return;
|
|
412
453
|
}
|
|
413
|
-
|
|
454
|
+
m.error(
|
|
455
|
+
"STRIPE_ACTION_FAILED",
|
|
456
|
+
"Unexpected payment result status",
|
|
457
|
+
n({
|
|
458
|
+
reason: "STRIPE_UNEXPECTED_PAYMENT_STATUS",
|
|
459
|
+
extra: { paymentStatus: e.status }
|
|
460
|
+
})
|
|
461
|
+
), l({ code: "AUTHORIZATION_FAILED", message: "Payment failed", error: e });
|
|
414
462
|
}
|
|
415
|
-
async function
|
|
463
|
+
async function H() {
|
|
416
464
|
const e = t.paymentMethodOptionResponseEntry.payment_acceptor.id;
|
|
417
|
-
if (
|
|
418
|
-
const
|
|
419
|
-
if (!
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
}
|
|
424
|
-
c.error("STRIPE_REDIRECT_RETURN_FAILED", "Stripe redirect returned non-succeeded status", {
|
|
425
|
-
redirectStatus: i
|
|
426
|
-
}), y({
|
|
427
|
-
code: "UNKNOWN_ERROR",
|
|
428
|
-
message: "Payment failed",
|
|
429
|
-
error: new globalThis.Error(`Stripe redirect returned status: ${i}`)
|
|
430
|
-
});
|
|
465
|
+
if (b(X) !== e) return;
|
|
466
|
+
const s = b("redirect_status"), o = b("payment_intent_client_secret"), f = b("setup_intent_client_secret");
|
|
467
|
+
if (!s || !o && !f) return;
|
|
468
|
+
if (s === "succeeded") {
|
|
469
|
+
u.value = !0, c("payment-success");
|
|
470
|
+
return;
|
|
431
471
|
}
|
|
472
|
+
const T = new globalThis.Error(
|
|
473
|
+
`Stripe redirect returned status: ${s}`
|
|
474
|
+
);
|
|
475
|
+
m.error(
|
|
476
|
+
"STRIPE_REDIRECT_RETURN_FAILED",
|
|
477
|
+
"Stripe redirect returned non-succeeded status",
|
|
478
|
+
n({
|
|
479
|
+
reason: "STRIPE_REDIRECT_RETURN_FAILED",
|
|
480
|
+
extra: { redirectStatus: s }
|
|
481
|
+
}),
|
|
482
|
+
T
|
|
483
|
+
), l({
|
|
484
|
+
code: "AUTHORIZATION_FAILED",
|
|
485
|
+
message: "Payment failed",
|
|
486
|
+
error: T
|
|
487
|
+
});
|
|
432
488
|
}
|
|
433
489
|
function j() {
|
|
434
|
-
|
|
490
|
+
c("select", {
|
|
435
491
|
paymentMethodType: "card",
|
|
436
|
-
paymentGatewayVariant:
|
|
437
|
-
}),
|
|
492
|
+
paymentGatewayVariant: R
|
|
493
|
+
}), c("ready");
|
|
438
494
|
}
|
|
439
495
|
function z(e) {
|
|
440
|
-
|
|
441
|
-
|
|
496
|
+
m.error(
|
|
497
|
+
"PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
|
|
498
|
+
"Failed to load the Stripe payment form",
|
|
499
|
+
n({
|
|
500
|
+
reason: "STRIPE_FORM_LOAD_FAILED",
|
|
501
|
+
cause: e,
|
|
502
|
+
extra: { stripeErrorType: e.type }
|
|
503
|
+
}),
|
|
504
|
+
e
|
|
505
|
+
), l({
|
|
506
|
+
code: "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
|
|
442
507
|
message: e.message ?? "Failed to load payment form",
|
|
443
508
|
error: e
|
|
444
509
|
});
|
|
445
510
|
}
|
|
446
|
-
function
|
|
447
|
-
|
|
511
|
+
function l(e) {
|
|
512
|
+
const r = ae(e);
|
|
513
|
+
d.value = r, c("payment-failed", r);
|
|
448
514
|
}
|
|
449
|
-
return
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
515
|
+
return L(() => {
|
|
516
|
+
H().catch((e) => {
|
|
517
|
+
m.error(
|
|
518
|
+
"STRIPE_REDIRECT_RETURN_FAILED",
|
|
519
|
+
"handleRedirectReturn threw unexpectedly",
|
|
520
|
+
n({ reason: "STRIPE_REDIRECT_RETURN_THREW", cause: e }),
|
|
521
|
+
e
|
|
522
|
+
);
|
|
454
523
|
});
|
|
455
|
-
}),
|
|
456
|
-
|
|
457
|
-
}), (e, r) =>
|
|
524
|
+
}), M(() => {
|
|
525
|
+
y.value = null;
|
|
526
|
+
}), (e, r) => u.value ? (v(), N(q, {
|
|
458
527
|
key: 0,
|
|
459
|
-
variant:
|
|
460
|
-
redirecting:
|
|
461
|
-
}, null, 8, ["variant", "redirecting"])) : d.value ? (
|
|
528
|
+
variant: p.variant,
|
|
529
|
+
redirecting: p.redirectsOnSuccess
|
|
530
|
+
}, null, 8, ["variant", "redirecting"])) : d.value ? (v(), N(J, {
|
|
462
531
|
key: 1,
|
|
463
532
|
error: d.value
|
|
464
|
-
}, null, 8, ["error"])) :
|
|
533
|
+
}, null, 8, ["error"])) : _.value ? (v(), N(se, {
|
|
465
534
|
key: 2,
|
|
466
535
|
ref_key: "frameRef",
|
|
467
|
-
ref:
|
|
468
|
-
"public-key":
|
|
536
|
+
ref: I,
|
|
537
|
+
"public-key": _.value,
|
|
469
538
|
options: O.value,
|
|
470
|
-
"country-code":
|
|
471
|
-
email:
|
|
472
|
-
name:
|
|
539
|
+
"country-code": p.countryCode,
|
|
540
|
+
email: p.email,
|
|
541
|
+
name: p.name,
|
|
473
542
|
onReady: j,
|
|
474
|
-
onChange: r[0] || (r[0] = (
|
|
475
|
-
paymentMethodType:
|
|
476
|
-
paymentGatewayVariant:
|
|
543
|
+
onChange: r[0] || (r[0] = (s) => c("select", {
|
|
544
|
+
paymentMethodType: s,
|
|
545
|
+
paymentGatewayVariant: R
|
|
477
546
|
})),
|
|
478
547
|
onLoaderror: z,
|
|
479
548
|
onSubmitSuccess: K,
|
|
480
|
-
onSubmitError: r[1] || (r[1] = (
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
549
|
+
onSubmitError: r[1] || (r[1] = (s) => G(m).error(
|
|
550
|
+
"STRIPE_CONFIRMATION_TOKEN_FAILED",
|
|
551
|
+
"Stripe submission failed",
|
|
552
|
+
n({ reason: "STRIPE_CONFIRMATION_TOKEN_FAILED", cause: s }),
|
|
553
|
+
s
|
|
554
|
+
))
|
|
555
|
+
}, null, 8, ["public-key", "options", "country-code", "email", "name"])) : $("", !0);
|
|
484
556
|
}
|
|
485
557
|
});
|
|
486
558
|
export {
|
|
487
|
-
|
|
559
|
+
ge as default
|
|
488
560
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as p, computed as A, openBlock as i, createElementBlock as x, createElementVNode as g, normalizeClass as k, createCommentVNode as m, renderSlot as B, createVNode as l, createBlock as d, withCtx as r, createTextVNode as f, toDisplayString as y, unref as c, shallowRef as S, watch as $, toValue as L, Fragment as R, mergeProps as C } from "vue";
|
|
2
2
|
import { _ } from "./FormMessage.vue.es-jG3fQZms.mjs";
|
|
3
|
-
import { a as O } from "./ContextMenu.vue.es-
|
|
4
|
-
import { u as N, _ as M } from "./customElements-
|
|
5
|
-
import { _ as T } from "./Chip.vue.es-
|
|
3
|
+
import { a as O } from "./ContextMenu.vue.es-tAuFp-6i.mjs";
|
|
4
|
+
import { u as N, _ as M } from "./customElements-DT1YyL4O.mjs";
|
|
5
|
+
import { _ as T } from "./Chip.vue.es-DpcOM3Ai.mjs";
|
|
6
6
|
const I = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='40'%20fill='none'%20viewBox='0%200%2040%2040'%3e%3cpath%20fill='%23f5f7f8'%20d='M0%200h40v40H0z'/%3e%3cmask%20id='a'%20width='28'%20height='28'%20x='6'%20y='6'%20maskUnits='userSpaceOnUse'%20style='mask-type:alpha'%3e%3cpath%20fill='%23d9d9d9'%20d='M6%206h28v28H6z'/%3e%3c/mask%3e%3cg%20mask='url(%23a)'%3e%3cpath%20fill='%23333'%20d='M11.8%2028a2%202%200%200%201-1.3-.6%202%202%200%200%201-.6-1.4V14q0-.8.6-1.4a2%202%200%200%201%201.3-.6h16.4q.8%200%201.3.6t.6%201.4v12q0%20.8-.6%201.4a2%202%200%200%201-1.3.6zm-.3-8.4h17v-3.4h-17z'/%3e%3c/g%3e%3c/svg%3e", V = { class: "shrink-0" }, Y = { class: "flex items-center justify-center overflow-clip rounded" }, z = ["src", "alt", "width", "height"], G = { class: "grow" }, H = { key: 0 }, U = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "pt-3"
|