@solvimon/solvimon-web 0.1.0-alpha.3 → 0.1.0-alpha.30
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 +440 -52
- package/dist/Alert.vue.es-ZPG49yR_.mjs +158 -0
- package/dist/Amount.vue.es-DPqHB8Xd.mjs +22 -0
- package/dist/ApiStatus-CSFKl_ra.mjs +9 -0
- package/dist/AuthProvider.handle-SRR_04XS.mjs +50 -0
- package/dist/Avatar.vue.es-geDQsZwu.mjs +81 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-nqKbgY7G.mjs +58 -0
- package/dist/Button.vue.es-j7iYlqtJ.mjs +368 -0
- package/dist/ChargeOnDemandModal-CR01PkP_.mjs +964 -0
- package/dist/Checkout.entry.ce-CopWuLJC.mjs +4169 -0
- package/dist/CheckoutAddressFields.vue_vue_type_script_setup_true_lang-CEnM1uxK.mjs +828 -0
- package/dist/Chip.vue.es-Dxx_0dte.mjs +128 -0
- package/dist/Comparators.vue.es-DQBI3f7m.mjs +103 -0
- package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
- package/dist/ContextMenu.vue.es-BJO4U47Q.mjs +572 -0
- package/dist/CustomerBillingInformation.vue.es-CmNpqcBw.mjs +153 -0
- package/dist/CustomerPaymentMethods.lib-B_753rau.mjs +4 -0
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Jyb5ZN3s.mjs +136 -0
- package/dist/CustomerShippingAddresses-BRPukhRI.mjs +397 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DJnr5D56.mjs +2936 -0
- package/dist/Divider.vue.es-DnP_HqLz.mjs +22 -0
- package/dist/DividerText.vue.es-BusbyeAI.mjs +56 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-wPma8Os-.mjs +55 -0
- package/dist/ErrorNotification.vue.es-F068p7PY.mjs +31 -0
- package/dist/Expand.vue.es-BleuAfDz.mjs +32 -0
- package/dist/FormMessage.vue.es-CwMQpIAW.mjs +39 -0
- package/dist/IconButton.vue.es-D8DtBW9i.mjs +56 -0
- package/dist/IconTitle.vue.es-6VJtjJX2.mjs +103 -0
- package/dist/Input.vue.es-BLyHcmu4.mjs +250 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dl1vTzQD.mjs +93 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-DYskT3r7.mjs +56 -0
- package/dist/InvoicePreview.vue.es-Cpf66_xV.mjs +286 -0
- package/dist/InvoicePricingClauseChip.vue.es-CDrAE901.mjs +124 -0
- package/dist/Label.vue.es-es7ZUBSP.mjs +113 -0
- package/dist/Modal.vue.es-eeR9FmvQ.mjs +393 -0
- package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-B_FpibLA.mjs +441 -0
- package/dist/PaymentCompletedCard.vue_vue_type_script_setup_true_lang-CrjVPks0.mjs +48 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-DyjzaTK1.mjs +250 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BHQrWy6r.mjs +51 -0
- package/dist/PaymentHistoryBlock-CN42ewCn.mjs +4 -0
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C3Y5fHvA.mjs +93 -0
- package/dist/PaymentIntegrationForm-D3Ye7LZ5.mjs +4 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D07SEP8a.mjs +181 -0
- package/dist/PaymentIntegrationFormAdyen-Fm-diCCO.mjs +926 -0
- package/dist/PaymentIntegrationFormStripe-BANBL6za.mjs +758 -0
- package/dist/PaymentMethod.vue.es-t3-VyoE8.mjs +643 -0
- package/dist/PaymentMethodForm-CqP3GoNj.mjs +4 -0
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-CMRMbL3d.mjs +161 -0
- package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-D5wmRuCf.mjs +169 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-DhkkiJaQ.mjs +174 -0
- package/dist/PlanCustomizationEditor-B76UNEMm.mjs +791 -0
- package/dist/PortalLinkUnverified-Cp60_kRJ.mjs +52 -0
- package/dist/PortalNotAvailable-DzSQnfzw.mjs +25 -0
- package/dist/PricingGroupRangeInput.vue.es-Srq_3cga.mjs +578 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-oRijnVnZ.mjs +177 -0
- package/dist/RadioGroupExtended.vue.es-BbBMDf6l.mjs +176 -0
- package/dist/Section.vue.es-Oqn1wGPZ.mjs +72 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-OM19NPBh.mjs +60 -0
- package/dist/ShippingAddressesModal-c7nqf4Ny.mjs +418 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs +32 -0
- package/dist/StepInput.vue.es-ieh4EuJ7.mjs +213 -0
- package/dist/SubscriptionDetails.entry.ce-uYv45FGH.mjs +1044 -0
- package/dist/SubscriptionSchedules-DMxX3GpK.mjs +4 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DXro_64f.mjs +5200 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-BZNsqN4G.mjs +203 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-CHlXP_2x.mjs +319 -0
- package/dist/TooltipParagraph.vue.es-BES3zsYN.mjs +132 -0
- package/dist/TranslationOverride.vue_vue_type_script_setup_true_lang-BJmlNrXT.mjs +31 -0
- package/dist/TrialChip.vue.es-C51z1ZiA.mjs +35 -0
- package/dist/accel.svg.es-C0hqmmEY.mjs +4 -0
- package/dist/ach.svg.es-DduMiYM2.mjs +4 -0
- package/dist/addonQuantity-CCVaA3e-.mjs +758 -0
- package/dist/addressFormats.data-dzBx49dw.mjs +278 -0
- package/dist/adyen-Bugab0JE.mjs +4 -0
- package/dist/adyenSdk-B01MB9Ia.mjs +58 -0
- package/dist/amazon-pay.svg.es-BACIX6C7.mjs +4 -0
- package/dist/amex.svg.es-DjTEMRVg.mjs +4 -0
- package/dist/amount-CondixVt.mjs +36 -0
- package/dist/api.es-qgvzNMU-.mjs +43 -0
- package/dist/apple-pay.svg.es-B3tkA54p.mjs +4 -0
- package/dist/bacs.svg.es-CZIjZIE8.mjs +4 -0
- package/dist/bancontact.svg.es-B26-JwdE.mjs +4 -0
- package/dist/carnet.svg.es-BtO3AmNu.mjs +4 -0
- package/dist/cartes-bancaires.svg.es-DEPpdLvi.mjs +4 -0
- package/dist/cashapp.svg.es-DOGwRjXp.mjs +4 -0
- package/dist/cn.es-B8acFrov.mjs +2936 -0
- package/dist/comparators.es-C8rHpb70.mjs +157 -0
- package/dist/components/BillingInformation/BillingInformation.ce.d.ts +1 -3
- package/dist/components/BillingInformation/BillingInformation.mjs +82 -0
- package/dist/components/BillingInformationForm/BillingInformationForm.ce.d.ts +1 -3
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +510 -0
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.ce.d.ts +1 -3
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +87 -0
- package/dist/components/Invoice/Invoice.ce.d.ts +1 -3
- package/dist/components/Invoice/Invoice.mjs +2930 -0
- package/dist/components/InvoiceDetails/InvoiceDetails.ce.d.ts +1 -3
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +110 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.ce.d.ts +1 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +68 -0
- package/dist/components/InvoicesList/InvoicesList.ce.d.ts +1 -3
- package/dist/components/InvoicesList/InvoicesList.mjs +88 -0
- package/dist/components/PaymentHistory/PaymentHistory.ce.d.ts +1 -3
- package/dist/components/PaymentHistory/PaymentHistory.mjs +118 -0
- package/dist/components/PaymentMethodForm/PaymentMethodForm.ce.d.ts +1 -3
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +98 -0
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.ce.d.ts +1 -3
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +88 -0
- package/dist/components/SubscriptionsList/SubscriptionsList.ce.d.ts +1 -3
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +108 -0
- package/dist/components/WalletBalances/WalletBalances.ce.d.ts +1 -3
- package/dist/components/WalletBalances/WalletBalances.mjs +114 -0
- package/dist/configuration-BytDBAWs.mjs +14 -0
- package/dist/core/action-request.types.d.ts +1 -58
- package/dist/core/configuration.d.ts +1 -3
- package/dist/core/index.d.ts +1 -10
- package/dist/core/index.mjs +151 -0
- package/dist/core/registry.ce.d.ts +1 -2
- package/dist/core/registry.d.ts +1 -6
- package/dist/core/types.d.ts +1 -111
- package/dist/countryData.es-BegoD-cZ.mjs +252 -0
- package/dist/customElements-DK4GKNJG.mjs +5072 -0
- package/dist/customer-lf6S5DBR.mjs +31 -0
- package/dist/customer.es-DQKl6wFt.mjs +24 -0
- package/dist/dana.svg.es-Cy8Q6DZi.mjs +4 -0
- package/dist/dankort.svg.es-B7VqJdWq.mjs +4 -0
- package/dist/de-DE-Cyj_NtiI.mjs +435 -0
- package/dist/de-DE-UJ6X6jXu.mjs +306 -0
- package/dist/diners.svg.es-BP9enCow.mjs +4 -0
- package/dist/discover.svg.es-DEsEJBYh.mjs +4 -0
- package/dist/eftpos.svg.es--js6-yfk.mjs +4 -0
- package/dist/elo.svg.es-CMZPAxcn.mjs +4 -0
- package/dist/eps.svg.es-CzIPBSb9.mjs +4 -0
- package/dist/floating-ui.vue.es-BvAf8-si.mjs +1003 -0
- package/dist/formControl-BZQLHnOO.mjs +749 -0
- package/dist/formatting.es-RclXHhKo.mjs +61 -0
- package/dist/fr-FR-CRFoWQ7J.mjs +435 -0
- package/dist/fr-FR-Cvvbkwlj.mjs +307 -0
- package/dist/gcash.svg.es-BpDtvraq.mjs +4 -0
- package/dist/getComposedString.es-C__uhJpd.mjs +10 -0
- package/dist/getCountryNameByCode.es-BDHua7VM.mjs +8 -0
- package/dist/girocard.svg.es-Riswtk8Z.mjs +4 -0
- package/dist/go-pay.svg.es-CiIyLELZ.mjs +4 -0
- package/dist/google-pay.svg.es-Dgj_N6nz.mjs +4 -0
- package/dist/hipercard.svg.es-B80bu8Vd.mjs +4 -0
- package/dist/icon-sprite.svg.es-BWBB8SGw.mjs +4 -0
- package/dist/ideal.svg.es-DaqTS2Ax.mjs +4 -0
- package/dist/index-CTwLxoOS.mjs +7250 -0
- package/dist/index.d.ts +1 -15
- package/dist/index.es-BrVTOW5D.mjs +345 -0
- package/dist/index.mjs +42 -0
- package/dist/invoiceState-BJVHaKs7.mjs +14 -0
- package/dist/invoices-DdREPDXV.mjs +123 -0
- package/dist/it-IT-DObZEc-U.mjs +435 -0
- package/dist/it-IT-DnJP5URH.mjs +306 -0
- package/dist/jcb.svg.es-Couw-2p9.mjs +4 -0
- package/dist/kakao-pay.svg.es-CIFT8fob.mjs +4 -0
- package/dist/klarna.svg.es-WKt8_NZa.mjs +4 -0
- package/dist/maestro.svg.es-DbdxwYUE.mjs +4 -0
- package/dist/mastercard.svg.es-B7T3PS12.mjs +4 -0
- package/dist/momo.svg.es-X5XB25fM.mjs +4 -0
- package/dist/nl-NL-C02xHilF.mjs +435 -0
- package/dist/nl-NL-q9xfTZF0.mjs +321 -0
- package/dist/nyce.svg.es-DcPsO_sh.mjs +4 -0
- package/dist/object.es-8aLDIncs.mjs +12 -0
- package/dist/open-banking.svg.es-C4mPhwsn.mjs +4 -0
- package/dist/paymentFailure-QZdZHBhf.mjs +47 -0
- package/dist/paymentMethods-8w-ccfY_.mjs +77 -0
- package/dist/paymentMethods-Goa25rTs.mjs +61 -0
- package/dist/paymentOutcome-B6sW1eCV.mjs +22 -0
- package/dist/payments-CKpU1K3t.mjs +68 -0
- package/dist/paypal.svg.es-BC2AP20j.mjs +4 -0
- package/dist/pricing-CEaZGgKe.mjs +29 -0
- package/dist/pricing.es-QYWrKMUJ.mjs +30 -0
- package/dist/pricingItem.es-bCPArbTa.mjs +55 -0
- package/dist/pricingItemConfigs.es-D3pX_9AJ.mjs +78 -0
- package/dist/pricingPlanScheduleOverrides-BBp-DmpV.mjs +233 -0
- package/dist/pricingPlanSchedules-DSMptcAh.mjs +38 -0
- package/dist/pulse.svg.es-Rmoz-9Ej.mjs +4 -0
- package/dist/sanitization.es-C6dbuxUJ.mjs +4 -0
- package/dist/screens/Checkout/Checkout.ce.d.ts +1 -3
- package/dist/screens/Checkout/Checkout.mjs +5 -0
- package/dist/screens/CustomerOverview/CustomerOverview.ce.d.ts +1 -3
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +201 -0
- package/dist/screens/PayInvoice/PayInvoice.ce.d.ts +1 -0
- package/dist/screens/PayInvoice/PayInvoice.mjs +865 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.ce.d.ts +1 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +224 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.ce.d.ts +1 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +5 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.ce.d.ts +1 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +624 -0
- package/dist/sepa.svg.es-DIO_K345.mjs +4 -0
- package/dist/sessionReference-B8Dbmx5t.mjs +38 -0
- package/dist/slots.es-BA4MyEAa.mjs +5 -0
- package/dist/sorting.es-C0pdMgX0.mjs +77 -0
- package/dist/star.svg.es-BUZNUnYq.mjs +4 -0
- package/dist/subscription-BwzkagDI.mjs +212 -0
- package/dist/subscriptions-B5bH8hsI.mjs +66 -0
- package/dist/taxId.es-e6NEvprh.mjs +243 -0
- package/dist/trustly.svg.es-AM7Ha-3Y.mjs +4 -0
- package/dist/twint.svg.es-DZogAQG6.mjs +4 -0
- package/dist/typeGuards.es-B4XMtlkM.mjs +8 -0
- package/dist/types/components/InvoiceTable/InvoiceTable.types.d.ts +21 -0
- package/dist/types/components/checkout/CheckoutTitle.types.d.ts +20 -0
- package/dist/types/components/checkout/EmptyStatePlaceholder.types.d.ts +4 -0
- package/dist/types/components/checkout/PromotionCodeSection.types.d.ts +10 -0
- package/dist/types/components/customer/BillingInformationForm/BillingInformationForm.types.d.ts +24 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +22 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +48 -0
- package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +10 -0
- package/dist/types/components/customer/ShippingAddressForm/ShippingAddressForm.types.d.ts +9 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressCard.types.d.ts +11 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressList.types.d.ts +9 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressesModal.types.d.ts +26 -0
- package/dist/types/components/invoices/InvoiceOrderSummary/InvoiceOrderSummary.types.d.ts +5 -0
- package/dist/types/components/payments/AddPaymentMethodPane/AddPaymentMethodPane.types.d.ts +19 -0
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethod.types.d.ts +78 -0
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +11 -0
- package/dist/types/components/payments/ExpressPaymentMethodButton/ExpressPaymentMethodButton.types.d.ts +3 -0
- package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +25 -0
- package/dist/types/components/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +23 -0
- package/dist/types/components/payments/PayButton/PayButton.types.d.ts +12 -0
- package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +9 -0
- package/dist/types/components/payments/PaymentErrorCard/PaymentErrorCard.types.d.ts +11 -0
- package/dist/types/components/payments/PaymentFeedbackCard/PaymentFeedbackCard.types.d.ts +4 -0
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +137 -0
- package/dist/types/components/payments/PaymentIntegrationFormAdyen/PaymentIntegrationFormAdyen.types.d.ts +6 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripe.types.d.ts +7 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +68 -0
- package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +49 -0
- package/dist/types/components/payments/PaymentMethodsList/PaymentMethodsList.types.d.ts +8 -0
- package/dist/types/components/payments/PaymentMethodsUnavailableCard/PaymentMethodsUnavailableCard.types.d.ts +8 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.d.ts +4 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.types.d.ts +3 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.vue.d.ts +13 -0
- package/dist/types/components/providers/ActionDispatchProvider/composables/useActionDispatchProvider.d.ts +3 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.handle.d.ts +17 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +32 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +20 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +16 -0
- package/dist/types/components/providers/AuthProvider/composables/useAuth.d.ts +1 -0
- package/dist/types/components/providers/AuthProvider/index.d.ts +3 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.lib.d.ts +3 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.types.d.ts +9 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.vue.d.ts +14 -0
- package/dist/types/components/providers/ConfigProvider/composables/useConfig.d.ts +3 -0
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.lib.d.ts +11 -0
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.types.d.ts +3 -0
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.vue.d.ts +14 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.lib.d.ts +7 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +12 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +20 -0
- package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +17 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib.d.ts +5 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.types.d.ts +4 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.vue.d.ts +14 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/composables/useExperimentalFeature.d.ts +1 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +17 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.types.d.ts +3 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.vue.d.ts +14 -0
- package/dist/types/components/providers/HostElementProvider/composables/useHostElementProvider.d.ts +1 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.lib.d.ts +34 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +81 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +20 -0
- package/dist/types/components/providers/LoggerProvider/composables/useLogger.d.ts +6 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +10 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +11 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +16 -0
- package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +3 -0
- package/dist/types/components/providers/Provider/Provider.types.d.ts +15 -0
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +26 -0
- package/dist/types/components/providers/RequiredPropertiesGuard/RequiredPropertiesGuard.vue.d.ts +17 -0
- package/dist/types/components/providers/TeleportProvider/TeleportProvider.vue.d.ts +13 -0
- package/dist/types/components/providers/TranslationProvider/TranslationOverride.vue.d.ts +14 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.lib.d.ts +14 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.types.d.ts +22 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.vue.d.ts +14 -0
- package/dist/types/components/providers/index.d.ts +9 -0
- package/dist/types/components/shared/ScreenTitle/ScreenTitle.types.d.ts +4 -0
- package/dist/types/components/shared/Section/Section.types.d.ts +21 -0
- package/dist/types/components/shared/Skeleton.types.d.ts +5 -0
- package/dist/types/components/shared/SlidingPanes/SlidingPanes.types.d.ts +12 -0
- package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +20 -0
- package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsList.types.d.ts +15 -0
- package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsListItem.types.d.ts +9 -0
- package/dist/types/components/subscriptions/OnDemandItemsCard/OnDemandItemsCard.types.d.ts +7 -0
- package/dist/types/components/subscriptions/OrderSummary.types.d.ts +56 -0
- package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +16 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +9 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupContent.types.d.ts +4 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupEditorBase.types.d.ts +8 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditor.types.d.ts +6 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditorItem.types.d.ts +6 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTable.types.d.ts +5 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTableRow.types.d.ts +7 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditor.types.d.ts +6 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditorItem.types.d.ts +6 -0
- package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +16 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +22 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSuccess.types.d.ts +7 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSummary.types.d.ts +7 -0
- package/dist/types/components/subscriptions/SubscriptionSummary.types.d.ts +20 -0
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +19 -0
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +12 -0
- package/dist/types/components/wallets/AutoTopUpCancellationModal/AutoTopUpCancellationModal.types.d.ts +9 -0
- package/dist/types/components/wallets/AutoTopUpConfig/AutoTopUpConfig.types.d.ts +53 -0
- package/dist/types/components/wallets/AutoTopUpModal/AutoTopUpModal.types.d.ts +16 -0
- package/dist/types/components/wallets/ConvertedAmountInput/ConvertedAmountInput.types.d.ts +32 -0
- package/dist/types/components/wallets/TopUpModal/TopUpInvoicePreview.types.d.ts +11 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModal.types.d.ts +31 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModalForm.types.d.ts +25 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModalSuccess.types.d.ts +5 -0
- package/dist/types/composables/useInvoicePreview.types.d.ts +10 -0
- package/dist/types/config/config.beta.d.ts +2 -0
- package/dist/types/config/config.dev.d.ts +2 -0
- package/dist/types/config/config.live.d.ts +2 -0
- package/dist/types/config/internalEnvironments.d.ts +11 -0
- package/dist/types/config/internalEnvironments.published.d.ts +7 -0
- package/dist/types/config/lib.d.ts +6 -0
- package/dist/types/config/types.d.ts +13 -0
- package/dist/types/index.d.ts +23 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.entry.ce.d.ts +1 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.entry.types.d.ts +4 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +9 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.ce.d.ts +1 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.types.d.ts +4 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.types.d.ts +10 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce.d.ts +1 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.types.d.ts +6 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +21 -0
- package/dist/types/public/components/CustomerShippingAddresses/CustomerShippingAddresses.types.d.ts +12 -0
- package/dist/types/public/components/CustomerWalletBalances/CustomerWalletBalances.types.d.ts +22 -0
- package/dist/types/public/components/Invoice/Invoice.entry.ce.d.ts +1 -0
- package/dist/types/public/components/Invoice/Invoice.entry.types.d.ts +5 -0
- package/dist/types/public/components/Invoice/Invoice.types.d.ts +25 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.types.d.ts +6 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.types.d.ts +7 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.types.d.ts +5 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +15 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.entry.types.d.ts +5 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +39 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.ce.d.ts +1 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.types.d.ts +6 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.types.d.ts +8 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.ce.d.ts +1 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.types.d.ts +5 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +45 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce.d.ts +1 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.types.d.ts +6 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.types.d.ts +7 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.ce.d.ts +1 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.types.d.ts +5 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +19 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.ce.d.ts +1 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.types.d.ts +3 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.types.d.ts +3 -0
- package/dist/types/public/core/action-request.types.d.ts +60 -0
- package/dist/types/public/core/configuration.d.ts +2 -0
- package/dist/types/public/core/index.d.ts +14 -0
- package/dist/types/public/core/registry.ce.d.ts +8 -0
- package/dist/types/public/core/registry.d.ts +3 -0
- package/dist/types/public/core/types.d.ts +130 -0
- package/dist/types/public/screens/Checkout/Checkout.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +11 -0
- package/dist/types/public/screens/Checkout/Checkout.types.d.ts +46 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.types.d.ts +5 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.types.d.ts +2 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.entry.types.d.ts +4 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +27 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.types.d.ts +3 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.types.d.ts +7 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.configuration.types.d.ts +27 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.types.d.ts +6 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +23 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.types.d.ts +5 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.types.d.ts +13 -0
- package/dist/types/public/screens/types.d.ts +4 -0
- package/dist/types/public/types/index.d.ts +23 -0
- package/dist/types/services/invoices.types.d.ts +26 -0
- package/dist/types/services/paymentMethods.types.d.ts +25 -0
- package/dist/types/services/requests.types.d.ts +41 -0
- package/dist/types/translations/supported.d.ts +1 -0
- package/dist/types/types/EntryBaseProps.d.ts +10 -0
- package/dist/types/types/errors.d.ts +13 -0
- package/dist/types/types/portalAuthentication.d.ts +2 -0
- package/dist/types/types/portalToken.d.ts +9 -0
- package/dist/types/types/shippingAddress.d.ts +9 -0
- package/dist/types/vendor/@adyen/adyen-web/index.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +118 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Address.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/AgentContext.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Alerts.d.ts +72 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Amount.d.ts +4 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Api.d.ts +50 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiError.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiKey.d.ts +21 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiStatus.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +82 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +43 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Attachment.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Band.d.ts +30 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BaseResourceStatus.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingEntity.d.ts +45 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingPeriod.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingTime.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ChargeOnDemandPricingItems.d.ts +47 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Commitment.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CommitmentItem.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Comparator.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +15 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfiguredMeterValue.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Country.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreateMeterData.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreatePricingPlanVersion.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreditType.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Currency.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CustomFields.d.ts +51 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CustomerContact.d.ts +12 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Customers.d.ts +75 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Discount.d.ts +12 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/DiscountItem.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Document.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/DueDateConfiguration.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Embeddable.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Environment.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTrace.d.ts +23 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceExtended.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLink.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLinkExtended.d.ts +15 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Features.d.ts +25 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/IdentityProvider.d.ts +40 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/IndexingSettings.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +375 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +379 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +32 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Markup.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MarkupItem.d.ts +11 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Meter.d.ts +32 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterConditions.d.ts +26 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterData.d.ts +25 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterDataExpanded.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterProperty.d.ts +34 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyValue.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyVariable.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValue.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueCalculation.d.ts +20 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueValue.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ModelType.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Name.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/NotificationPreferences.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/OAuth.d.ts +28 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +124 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +127 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAction.d.ts +74 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethod.d.ts +173 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethodOptions.d.ts +45 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentSchedules.d.ts +142 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +132 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +134 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Pricing.d.ts +41 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategory.d.ts +18 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategoryExtended.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingExtended.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingGroup.d.ts +29 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItem.d.ts +40 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItemConfig.d.ts +135 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanGroups.d.ts +31 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSchedule.d.ts +111 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleInfo.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleWithPlanData.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +94 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscriptionGroup.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersion.d.ts +71 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersionExtended.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlans.d.ts +47 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Product.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ProductCategory.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ProductItem.d.ts +62 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PromotionCodes.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +46 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +128 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +81 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ReprocessLog.d.ts +31 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Resource.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ResourceStatus.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Role.d.ts +19 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/SeatAssignment.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ShippingAddress.d.ts +54 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/SignatureRequest.d.ts +27 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxCategory.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxIdentifier.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxSummary.d.ts +21 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TimePeriod.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Timestamp.d.ts +4 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Token.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/User.d.ts +106 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ValueType.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Wallet.d.ts +50 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WalletAutoTopUpConfigs.d.ts +28 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WalletType.d.ts +54 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Webhook.d.ts +48 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WebhookEvent.d.ts +18 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Workflows.d.ts +222 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/forms.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/utils.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/BrandProvider/BrandProvider.types.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/IntlProvider/IntlProvider.types.d.ts +66 -0
- package/dist/types/vendor/@solvimon/solvimon-ui/index.d.ts +2 -0
- package/dist/unionpay.svg.es-me7q-nTI.mjs +4 -0
- package/dist/useActionDispatchProvider-ChAHdwR8.mjs +9 -0
- package/dist/useCustomer-CTMhg1nd.mjs +20 -0
- package/dist/useCustomerFormLabels-D4oDnfxA.mjs +1173 -0
- package/dist/useIncrementalLoading-CBVutPH8.mjs +60 -0
- package/dist/useInvoiceData-qUGbBAQK.mjs +21 -0
- package/dist/useInvoicesList-wJvZAJpW.mjs +674 -0
- package/dist/useLazyFloating.es-CycqRyeb.mjs +68 -0
- package/dist/useLoadInitialData-UvfYXgbi.mjs +15 -0
- package/dist/usePaymentFormHold-Cwdr-vyc.mjs +181 -0
- package/dist/usePaymentMethodAvailability-35l4pWdH.mjs +117 -0
- package/dist/usePaymentMethods-De7hlLHo.mjs +21 -0
- package/dist/usePayments-hWS7fnOx.mjs +323 -0
- package/dist/usePortal-DUfD6hrA.mjs +7 -0
- package/dist/useService-BwzIBIRp.mjs +56 -0
- package/dist/useTimePeriod.es-BUorDLVK.mjs +93 -0
- package/dist/useViewport-psZejz_H.mjs +19 -0
- package/dist/visa.svg.es-B0T5Su99.mjs +4 -0
- package/dist/vpay.svg.es-Zt3rrmCy.mjs +4 -0
- package/dist/wallets.es-eH2C2ygn.mjs +102 -0
- package/dist/zip.svg.es-QC6dxzC7.mjs +4 -0
- package/package.json +105 -74
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BD3CrJzj.js +0 -1
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-DQAp1xwu.mjs +0 -56
- package/dist/ContentWithAsideLayout-CRsFr9TH.mjs +0 -42
- package/dist/ContentWithAsideLayout-DczcgSrt.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BE3I7Oe1.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D0ie9Krt.mjs +0 -85
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DVDOsMnT.mjs +0 -90
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-sNdlKgdU.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DJEZEEwZ.mjs +0 -6568
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-Sn1Jq19s.js +0 -1
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-Bifo4jTH.js +0 -1
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-DWp42_G4.mjs +0 -75
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-C-taYlG4.mjs +0 -63
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-C_BwMlBE.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-Bp5RvQVS.mjs +0 -373
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-yyhwzYSM.js +0 -1
- package/dist/_Uint8Array-DHE03FZr.mjs +0 -507
- package/dist/_Uint8Array-DxISR7XF.js +0 -1
- package/dist/auto-DzZuCneB.mjs +0 -14387
- package/dist/auto-PpnAChnH.js +0 -6
- package/dist/cloneDeep-DranHQkY.js +0 -1
- package/dist/cloneDeep-sm9cY-u2.mjs +0 -212
- package/dist/component-DEo_ndpK.mjs +0 -58668
- package/dist/component-XHQYFLA_.js +0 -1
- package/dist/components/BillingInformation/BillingInformation.cjs.js +0 -1
- package/dist/components/BillingInformation/BillingInformation.es.js +0 -98
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +0 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.es.js +0 -584
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +0 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.es.js +0 -134
- package/dist/components/Invoice/Invoice.cjs.js +0 -1
- package/dist/components/Invoice/Invoice.es.js +0 -582
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +0 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.es.js +0 -129
- package/dist/components/InvoicesList/InvoicesList.cjs.js +0 -1
- package/dist/components/InvoicesList/InvoicesList.es.js +0 -104
- package/dist/components/PaymentHistory/PaymentHistory.cjs.js +0 -1
- package/dist/components/PaymentHistory/PaymentHistory.es.js +0 -133
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +0 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.es.js +0 -238
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +0 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.es.js +0 -152
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +0 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.es.js +0 -134
- package/dist/components/WalletBalances/WalletBalances.cjs.js +0 -1
- package/dist/components/WalletBalances/WalletBalances.es.js +0 -120
- package/dist/core/index.cjs.js +0 -1
- package/dist/core/index.es.js +0 -6
- package/dist/index-2jo9BSPM.js +0 -1
- package/dist/index-BFZ0dPh9.mjs +0 -179
- package/dist/index-CWSXne1Q.js +0 -1
- package/dist/index-CzL1ZcGi.mjs +0 -85
- package/dist/index-D3v7hAtc.mjs +0 -253
- package/dist/index-DRdBmZ2-.js +0 -1
- package/dist/index.cjs.js +0 -1
- package/dist/index.es.js +0 -45
- package/dist/invoices-BW1notiX.js +0 -1
- package/dist/invoices-M5oYVch6.mjs +0 -84
- package/dist/paymentMethods-BX80t2zk.js +0 -1
- package/dist/paymentMethods-CqKUfc3w.mjs +0 -65
- package/dist/payments-BHv4hCeJ.js +0 -1
- package/dist/payments-CosaPZwo.mjs +0 -47
- package/dist/registry-BwKEYOf7.js +0 -1
- package/dist/registry-Cag1Jj7P.mjs +0 -143
- package/dist/screens/Checkout/Checkout.cjs.js +0 -1
- package/dist/screens/Checkout/Checkout.es.js +0 -5142
- package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +0 -1
- package/dist/screens/CustomerOverview/CustomerOverview.es.js +0 -136
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.ce.d.ts +0 -3
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.cjs.js +0 -1
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.es.js +0 -1012
- package/dist/solvimon-web.css +0 -1
- package/dist/sprite-i5T7eZnk-C55G-dBo.js +0 -1
- package/dist/sprite-i5T7eZnk-i5T7eZnk.mjs +0 -4
- package/dist/subscriptions-Bs4DIE8f.mjs +0 -74
- package/dist/subscriptions-CnxvsBXd.js +0 -1
- package/dist/useActionDispatchProvider-CgRcOqv3.mjs +0 -12
- package/dist/useActionDispatchProvider-Cru69mAl.js +0 -1
- package/dist/useCustomer-B0NK96dA.js +0 -1
- package/dist/useCustomer-DlcjY3fP.mjs +0 -45
- package/dist/useCustomerPaymentMethodOptions-BzEquyUV.mjs +0 -169
- package/dist/useCustomerPaymentMethodOptions-C-8BLzqb.js +0 -1
- package/dist/useIncrementalLoading-C7ToTmZK.mjs +0 -71
- package/dist/useIncrementalLoading-D60Vttil.js +0 -1
- package/dist/useInvoiceData-CcueV3We.mjs +0 -51
- package/dist/useInvoiceData-DstXfI7t.js +0 -1
- package/dist/useInvoicesList-CXng3aUm.mjs +0 -294
- package/dist/useInvoicesList-DmzjgMlW.js +0 -1
- package/dist/useLoadInitialData-BRg7IWqW.js +0 -1
- package/dist/useLoadInitialData-Dm48tlSO.mjs +0 -13
- package/dist/usePaymentMethods-DCGVRXA4.js +0 -1
- package/dist/usePaymentMethods-Db-1R6rI.mjs +0 -16
- package/dist/useService-B4qv5N2D.mjs +0 -281
- package/dist/useService-D-CUtlp3.js +0 -1
- package/dist/useWalletBalanceItems-BZyiAhcV.js +0 -1
- package/dist/useWalletBalanceItems-CHkLaccm.mjs +0 -105
|
@@ -0,0 +1,926 @@
|
|
|
1
|
+
import { defineComponent as de, computed as v, openBlock as N, createElementBlock as K, createVNode as H, unref as te, withCtx as ne, createTextVNode as ae, toDisplayString as C, ref as M, onMounted as Me, onBeforeUnmount as De, watch as ke, Fragment as Se, createBlock as Z, createCommentVNode as z, Teleport as Ce, createElementVNode as we, nextTick as oe } from "vue";
|
|
2
|
+
import { a as Le } from "./useService-BwzIBIRp.mjs";
|
|
3
|
+
import { a as ce, d as re, e as Fe } from "./customElements-DK4GKNJG.mjs";
|
|
4
|
+
import { _ as xe } from "./PaymentCompletedCard.vue_vue_type_script_setup_true_lang-CrjVPks0.mjs";
|
|
5
|
+
import { _ as Be } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-DyjzaTK1.mjs";
|
|
6
|
+
import { c as Ue } from "./payments-CKpU1K3t.mjs";
|
|
7
|
+
import { c as Ye } from "./paymentMethods-8w-ccfY_.mjs";
|
|
8
|
+
import { a as je, g as Ze, r as ze, c as Ge, b as Ke, d as He, t as G, e as ie } from "./usePaymentFormHold-Cwdr-vyc.mjs";
|
|
9
|
+
import { t as Ve } from "./amount-CondixVt.mjs";
|
|
10
|
+
import { l as $e } from "./adyenSdk-B01MB9Ia.mjs";
|
|
11
|
+
import { g as We, i as Je, a as qe } from "./paymentOutcome-B6sW1eCV.mjs";
|
|
12
|
+
import { c as Qe, a as Xe } from "./paymentFailure-QZdZHBhf.mjs";
|
|
13
|
+
const et = ".adyen-checkout__payment-method--sepadirectdebit .adyen-checkout__payment-method__details__content";
|
|
14
|
+
function tt(u) {
|
|
15
|
+
return (u == null ? void 0 : u.querySelector(et)) ?? null;
|
|
16
|
+
}
|
|
17
|
+
function nt(u, l) {
|
|
18
|
+
return !!u && !!l && !u.contains(l);
|
|
19
|
+
}
|
|
20
|
+
const at = (u) => {
|
|
21
|
+
let l = {};
|
|
22
|
+
return u === "TOKENIZE" && (l = {
|
|
23
|
+
"en-US": {
|
|
24
|
+
payButton: "Add payment method",
|
|
25
|
+
confirmPurchase: "Add payment method"
|
|
26
|
+
},
|
|
27
|
+
"fr-FR": {
|
|
28
|
+
payButton: "Ajouter un moyen de paiement",
|
|
29
|
+
confirmPurchase: "Ajouter un moyen de paiement"
|
|
30
|
+
},
|
|
31
|
+
"de-DE": {
|
|
32
|
+
payButton: "Zahlungsmethode hinzufügen",
|
|
33
|
+
confirmPurchase: "Zahlungsmethode hinzufügen"
|
|
34
|
+
},
|
|
35
|
+
"it-IT": {
|
|
36
|
+
payButton: "Aggiungi metodo di pagamento",
|
|
37
|
+
confirmPurchase: "Aggiungi metodo di pagamento"
|
|
38
|
+
},
|
|
39
|
+
"es-ES": {
|
|
40
|
+
payButton: "Añadir método de pago",
|
|
41
|
+
confirmPurchase: "Añadir método de pago"
|
|
42
|
+
},
|
|
43
|
+
"nl-NL": {
|
|
44
|
+
payButton: "Betaalmethode toevoegen",
|
|
45
|
+
confirmPurchase: "Betaalmethode toevoegen"
|
|
46
|
+
},
|
|
47
|
+
"pt-BR": {
|
|
48
|
+
payButton: "Adicionar método de pagamento",
|
|
49
|
+
confirmPurchase: "Adicionar método de pagamento"
|
|
50
|
+
},
|
|
51
|
+
"pt-PT": {
|
|
52
|
+
payButton: "Adicionar método de pagamento",
|
|
53
|
+
confirmPurchase: "Adicionar método de pagamento"
|
|
54
|
+
},
|
|
55
|
+
"pl-PL": {
|
|
56
|
+
payButton: "Dodaj metodę płatności",
|
|
57
|
+
confirmPurchase: "Dodaj metodę płatności"
|
|
58
|
+
},
|
|
59
|
+
"ru-RU": {
|
|
60
|
+
payButton: "Добавить способ оплаты",
|
|
61
|
+
confirmPurchase: "Добавить способ оплаты"
|
|
62
|
+
},
|
|
63
|
+
"sv-SE": {
|
|
64
|
+
payButton: "Lägg till betalningsmetod",
|
|
65
|
+
confirmPurchase: "Lägg till betalningsmetod"
|
|
66
|
+
},
|
|
67
|
+
"da-DK": {
|
|
68
|
+
payButton: "Tilføj betalingsmetode",
|
|
69
|
+
confirmPurchase: "Tilføj betalingsmetode"
|
|
70
|
+
},
|
|
71
|
+
"fi-FI": {
|
|
72
|
+
payButton: "Lisää maksutapa",
|
|
73
|
+
confirmPurchase: "Lisää maksutapa"
|
|
74
|
+
},
|
|
75
|
+
"no-NO": {
|
|
76
|
+
payButton: "Legg til betalingsmetode",
|
|
77
|
+
confirmPurchase: "Legg til betalingsmetode"
|
|
78
|
+
},
|
|
79
|
+
"cs-CZ": {
|
|
80
|
+
payButton: "Přidat platební metodu",
|
|
81
|
+
confirmPurchase: "Přidat platební metodu"
|
|
82
|
+
},
|
|
83
|
+
"hu-HU": {
|
|
84
|
+
payButton: "Fizetési mód hozzáadása",
|
|
85
|
+
confirmPurchase: "Fizetési mód hozzáadása"
|
|
86
|
+
},
|
|
87
|
+
"ro-RO": {
|
|
88
|
+
payButton: "Adăugați metodă de plată",
|
|
89
|
+
confirmPurchase: "Adăugați metodă de plată"
|
|
90
|
+
},
|
|
91
|
+
"ja-JP": {
|
|
92
|
+
payButton: "支払い方法を追加",
|
|
93
|
+
confirmPurchase: "支払い方法を追加"
|
|
94
|
+
},
|
|
95
|
+
"ko-KR": {
|
|
96
|
+
payButton: "결제 수단 추가",
|
|
97
|
+
confirmPurchase: "결제 수단 추가"
|
|
98
|
+
},
|
|
99
|
+
"zh-CN": {
|
|
100
|
+
payButton: "添加支付方式",
|
|
101
|
+
confirmPurchase: "添加支付方式"
|
|
102
|
+
},
|
|
103
|
+
"zh-TW": {
|
|
104
|
+
payButton: "新增付款方式",
|
|
105
|
+
confirmPurchase: "新增付款方式"
|
|
106
|
+
},
|
|
107
|
+
ar: {
|
|
108
|
+
payButton: "إضافة وسيلة دفع",
|
|
109
|
+
confirmPurchase: "إضافة وسيلة دفع"
|
|
110
|
+
},
|
|
111
|
+
"hr-HR": {
|
|
112
|
+
payButton: "Dodajte način plačanja",
|
|
113
|
+
confirmPurchase: "Dodajte način plačanja"
|
|
114
|
+
},
|
|
115
|
+
"el-GR": {
|
|
116
|
+
payButton: "Προσθήκη μεθόδου πληρωμής",
|
|
117
|
+
confirmPurchase: "Προσθήκη μεθόδου πληρωμής"
|
|
118
|
+
},
|
|
119
|
+
"sk-SK": {
|
|
120
|
+
payButton: "Pridať spôsob platby",
|
|
121
|
+
confirmPurchase: "Pridať spôsob platby"
|
|
122
|
+
},
|
|
123
|
+
"sl-SI": {
|
|
124
|
+
payButton: "Dodajte način plačanja",
|
|
125
|
+
confirmPurchase: "Dodajte način plačanja"
|
|
126
|
+
},
|
|
127
|
+
"bg-BG": {
|
|
128
|
+
payButton: "Добавяне на начин на плащане",
|
|
129
|
+
confirmPurchase: "Добавяне на начин на плащане"
|
|
130
|
+
},
|
|
131
|
+
"ca-ES": {
|
|
132
|
+
payButton: "Afegir mètode de pagament",
|
|
133
|
+
confirmPurchase: "Afegir mètode de pagament"
|
|
134
|
+
},
|
|
135
|
+
"et-EE": {
|
|
136
|
+
payButton: "Lisa makseviis",
|
|
137
|
+
confirmPurchase: "Lisa makseviis"
|
|
138
|
+
},
|
|
139
|
+
"lv-LV": {
|
|
140
|
+
payButton: "Pievienot maksājuma veidu",
|
|
141
|
+
confirmPurchase: "Pievienot maksājuma veidu"
|
|
142
|
+
},
|
|
143
|
+
"lt-LT": {
|
|
144
|
+
payButton: "Pridėti mokėjimo metodą",
|
|
145
|
+
confirmPurchase: "Pridėti mokėjimo metodą"
|
|
146
|
+
}
|
|
147
|
+
}), l;
|
|
148
|
+
}, ot = { class: "sv-sepa-mandate mt-3" }, rt = /* @__PURE__ */ de({
|
|
149
|
+
__name: "SepaMandateNotice",
|
|
150
|
+
props: {
|
|
151
|
+
billingEntityName: { type: String }
|
|
152
|
+
},
|
|
153
|
+
setup(u) {
|
|
154
|
+
const l = u, { $t: E } = ce(), r = v(
|
|
155
|
+
() => E({
|
|
156
|
+
defaultMessage: "SEPA Direct Debit mandate — recurring payments",
|
|
157
|
+
description: "Title of the SEPA direct debit mandate shown inside the SEPA payment form",
|
|
158
|
+
id: "payments.sepa_mandate.title"
|
|
159
|
+
})
|
|
160
|
+
), k = v(
|
|
161
|
+
() => l.billingEntityName ? E(
|
|
162
|
+
{
|
|
163
|
+
defaultMessage: "By confirming this mandate, you authorise {billingEntityName} to instruct your bank to collect payments from your account, and you authorise your bank to carry out those instructions.",
|
|
164
|
+
description: "SEPA direct debit mandate authorisation, naming the billing entity",
|
|
165
|
+
id: "payments.sepa_mandate.authorisation"
|
|
166
|
+
},
|
|
167
|
+
{ billingEntityName: l.billingEntityName }
|
|
168
|
+
) : E({
|
|
169
|
+
defaultMessage: "By confirming this mandate, you authorise us to instruct your bank to collect payments from your account, and you authorise your bank to carry out those instructions.",
|
|
170
|
+
description: "SEPA direct debit mandate authorisation, where the billing entity is not known",
|
|
171
|
+
id: "payments.sepa_mandate.authorisation_unnamed"
|
|
172
|
+
})
|
|
173
|
+
), a = v(
|
|
174
|
+
() => l.billingEntityName ? E(
|
|
175
|
+
{
|
|
176
|
+
defaultMessage: "This bank account will be used automatically to pay subsequent invoices from {billingEntityName} until you cancel this mandate.",
|
|
177
|
+
description: "Explains that the SEPA mandate covers later invoices, naming the billing entity",
|
|
178
|
+
id: "payments.sepa_mandate.recurrence"
|
|
179
|
+
},
|
|
180
|
+
{ billingEntityName: l.billingEntityName }
|
|
181
|
+
) : E({
|
|
182
|
+
defaultMessage: "This bank account will be used automatically to pay subsequent invoices until you cancel this mandate.",
|
|
183
|
+
description: "Explains that the SEPA mandate covers later invoices, where the billing entity is not known",
|
|
184
|
+
id: "payments.sepa_mandate.recurrence_unnamed"
|
|
185
|
+
})
|
|
186
|
+
), p = v(
|
|
187
|
+
() => E({
|
|
188
|
+
defaultMessage: "As part of your rights, you're entitled to a refund from your bank under the terms and conditions of your agreement with your bank. You must claim a refund within 8 weeks from the date your account was debited. You can request a statement from your bank explaining your rights.",
|
|
189
|
+
description: "SEPA direct debit mandate refund rights, held against the payer's own bank",
|
|
190
|
+
id: "payments.sepa_mandate.refund_rights"
|
|
191
|
+
})
|
|
192
|
+
);
|
|
193
|
+
return (y, w) => (N(), K("div", ot, [
|
|
194
|
+
H(te(re), {
|
|
195
|
+
tag: "p",
|
|
196
|
+
variant: "body-xs",
|
|
197
|
+
class: "font-semibold"
|
|
198
|
+
}, {
|
|
199
|
+
default: ne(() => [
|
|
200
|
+
ae(C(r.value), 1)
|
|
201
|
+
]),
|
|
202
|
+
_: 1
|
|
203
|
+
}),
|
|
204
|
+
H(te(re), {
|
|
205
|
+
tag: "p",
|
|
206
|
+
variant: "body-xs",
|
|
207
|
+
color: "subtle"
|
|
208
|
+
}, {
|
|
209
|
+
default: ne(() => [
|
|
210
|
+
ae(C(k.value) + " " + C(a.value) + " " + C(p.value), 1)
|
|
211
|
+
]),
|
|
212
|
+
_: 1
|
|
213
|
+
})
|
|
214
|
+
]));
|
|
215
|
+
}
|
|
216
|
+
}), D = "ADYEN", se = "data-sv-adyen-styles", Et = /* @__PURE__ */ de({
|
|
217
|
+
__name: "PaymentIntegrationFormAdyen",
|
|
218
|
+
props: {
|
|
219
|
+
context: { type: Object },
|
|
220
|
+
countryCode: { type: String },
|
|
221
|
+
customerId: { type: String },
|
|
222
|
+
invoiceId: { type: String },
|
|
223
|
+
paymentMethodOptionResponseEntry: { type: Object },
|
|
224
|
+
variant: { type: String },
|
|
225
|
+
selected: { type: Boolean },
|
|
226
|
+
amount: { type: Object },
|
|
227
|
+
validateOnSubmit: { type: Function, default: () => Promise.resolve(!0) },
|
|
228
|
+
forceStorePaymentMethod: { type: Boolean },
|
|
229
|
+
storePaymentMethod: { type: Boolean, default: void 0 },
|
|
230
|
+
redirectsOnSuccess: { type: Boolean },
|
|
231
|
+
billingEntityName: { type: String },
|
|
232
|
+
collapsed: { type: Boolean }
|
|
233
|
+
},
|
|
234
|
+
emits: ["select", "payment-failed", "payment-success", "invalid", "submitting", "action-required", "ready"],
|
|
235
|
+
setup(u, { expose: l, emit: E }) {
|
|
236
|
+
let r = null, k = null;
|
|
237
|
+
const a = u, p = E;
|
|
238
|
+
l({ submit: ye });
|
|
239
|
+
const y = M(), w = M(null), I = M(null);
|
|
240
|
+
let f;
|
|
241
|
+
const L = M(!1), g = M();
|
|
242
|
+
let S = !1, A = !1, P = 0, b, F = !1;
|
|
243
|
+
const d = Fe(), { locale: ue } = ce(), { authorizePayment: me, getPaymentDetails: pe } = Ue(), { tokenizePaymentMethod: le } = Ye(), x = je(), V = v(
|
|
244
|
+
() => {
|
|
245
|
+
var e;
|
|
246
|
+
return Ze(a.paymentMethodOptionResponseEntry, {
|
|
247
|
+
excludeExpressPaymentMethods: !!((e = x == null ? void 0 : x.value) != null && e["express-checkout"])
|
|
248
|
+
});
|
|
249
|
+
}
|
|
250
|
+
), $ = v(() => V.value.length > 0);
|
|
251
|
+
function m(e) {
|
|
252
|
+
return Qe({
|
|
253
|
+
gateway: D,
|
|
254
|
+
paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
255
|
+
variant: a.variant,
|
|
256
|
+
invoiceId: a.invoiceId,
|
|
257
|
+
customerId: a.customerId,
|
|
258
|
+
...e
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
function _(e) {
|
|
262
|
+
A = !1;
|
|
263
|
+
const t = Xe(e);
|
|
264
|
+
g.value = t, p("payment-failed", t);
|
|
265
|
+
}
|
|
266
|
+
function W() {
|
|
267
|
+
A = !1, B(), L.value = !0, p("payment-success");
|
|
268
|
+
}
|
|
269
|
+
function O(e, t = {}, n) {
|
|
270
|
+
B(), d.warn(
|
|
271
|
+
"PAYMENT_OUTCOME_UNCONFIRMED",
|
|
272
|
+
"The payment outcome could not be confirmed yet",
|
|
273
|
+
m({ reason: e, extra: t, cause: n }),
|
|
274
|
+
n
|
|
275
|
+
), _({
|
|
276
|
+
code: "PAYMENT_OUTCOME_UNCONFIRMED",
|
|
277
|
+
message: "Payment could not be confirmed",
|
|
278
|
+
error: n
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
function B() {
|
|
282
|
+
S = !0, Y();
|
|
283
|
+
}
|
|
284
|
+
function ye() {
|
|
285
|
+
if (!A) {
|
|
286
|
+
if (!(r != null && r.isValid)) {
|
|
287
|
+
if (r && !r.activePaymentMethod) {
|
|
288
|
+
p("invalid", "NO_PAYMENT_METHOD");
|
|
289
|
+
return;
|
|
290
|
+
}
|
|
291
|
+
r == null || r.showValidation(), p("invalid");
|
|
292
|
+
return;
|
|
293
|
+
}
|
|
294
|
+
try {
|
|
295
|
+
r.submit();
|
|
296
|
+
} catch (e) {
|
|
297
|
+
d.error(
|
|
298
|
+
"ADYEN_SUBMIT_FAILED",
|
|
299
|
+
"Failed to submit Adyen drop-in",
|
|
300
|
+
m({ reason: "ADYEN_SUBMIT_FAILED", cause: e }),
|
|
301
|
+
e
|
|
302
|
+
), _({
|
|
303
|
+
code: a.variant === "TOKENIZE" ? "TOKENIZE_FAILED" : "AUTHORIZATION_FAILED",
|
|
304
|
+
message: "Failed to submit Adyen drop-in",
|
|
305
|
+
error: e
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
async function he() {
|
|
311
|
+
const e = Ve(a.amount), t = V.value, n = a.selected;
|
|
312
|
+
let o = !1;
|
|
313
|
+
return {
|
|
314
|
+
checkoutConfig: {
|
|
315
|
+
amount: e,
|
|
316
|
+
clientKey: He(
|
|
317
|
+
a.paymentMethodOptionResponseEntry
|
|
318
|
+
),
|
|
319
|
+
environment: Ke(
|
|
320
|
+
a.paymentMethodOptionResponseEntry,
|
|
321
|
+
d
|
|
322
|
+
),
|
|
323
|
+
locale: ue,
|
|
324
|
+
translations: at(a.variant),
|
|
325
|
+
countryCode: a.countryCode,
|
|
326
|
+
analytics: { enabled: !1 },
|
|
327
|
+
paymentMethodsResponse: { paymentMethods: t },
|
|
328
|
+
onSubmit: ge,
|
|
329
|
+
onAdditionalDetails: Te,
|
|
330
|
+
onPaymentCompleted: Pe,
|
|
331
|
+
onPaymentFailed: ve,
|
|
332
|
+
onError: be,
|
|
333
|
+
showPayButton: !1
|
|
334
|
+
},
|
|
335
|
+
dropInConfig: {
|
|
336
|
+
disableFinalAnimation: !0,
|
|
337
|
+
paymentMethodsConfiguration: {
|
|
338
|
+
card: {
|
|
339
|
+
hasHolderName: !0,
|
|
340
|
+
holderNameRequired: !0,
|
|
341
|
+
enableStoreDetails: !a.forceStorePaymentMethod && a.storePaymentMethod === void 0 && a.variant === "AUTHORIZE"
|
|
342
|
+
},
|
|
343
|
+
paypal: {
|
|
344
|
+
intent: e.value > 0 ? "authorize" : "tokenize",
|
|
345
|
+
showPayButton: !0
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
openFirstPaymentMethod: n,
|
|
349
|
+
onSelect: ({ props: { type: s } }) => {
|
|
350
|
+
if (!s) return;
|
|
351
|
+
const i = n && !o;
|
|
352
|
+
o = !0, p("select", {
|
|
353
|
+
paymentMethodType: s,
|
|
354
|
+
paymentGatewayVariant: "ADYEN",
|
|
355
|
+
...i && { isAutomatic: !0 }
|
|
356
|
+
});
|
|
357
|
+
},
|
|
358
|
+
onReady: () => p("ready")
|
|
359
|
+
}
|
|
360
|
+
};
|
|
361
|
+
}
|
|
362
|
+
function _e() {
|
|
363
|
+
return Promise.all([
|
|
364
|
+
$e(),
|
|
365
|
+
import("./adyen-Bugab0JE.mjs").then((e) => e.default)
|
|
366
|
+
]);
|
|
367
|
+
}
|
|
368
|
+
async function U() {
|
|
369
|
+
const e = ++P, t = () => e !== P;
|
|
370
|
+
if (!(S || F)) {
|
|
371
|
+
if (await Y(), g.value = void 0, !$.value) {
|
|
372
|
+
const { payment_acceptor: n, integration: o } = a.paymentMethodOptionResponseEntry;
|
|
373
|
+
d.warn("PAYMENT_INTEGRATION_NOT_RENDERABLE", "No Adyen payment methods to offer", {
|
|
374
|
+
fingerprint: ["PAYMENT_INTEGRATION_NOT_RENDERABLE", n.id],
|
|
375
|
+
paymentAcceptorId: n.id,
|
|
376
|
+
integrationId: o.id,
|
|
377
|
+
...a.invoiceId ? { invoiceId: a.invoiceId } : {}
|
|
378
|
+
});
|
|
379
|
+
return;
|
|
380
|
+
}
|
|
381
|
+
if (await oe(), !(t() || !y.value))
|
|
382
|
+
try {
|
|
383
|
+
const [n, o] = await _e();
|
|
384
|
+
if (t()) return;
|
|
385
|
+
const { checkoutConfig: s, dropInConfig: i } = await he(), c = await n.AdyenCheckout(s);
|
|
386
|
+
if (t() || S || !y.value) return;
|
|
387
|
+
k = c, r = new n.Dropin(k, {
|
|
388
|
+
...i,
|
|
389
|
+
paymentMethodComponents: n.dropInPaymentMethodComponents
|
|
390
|
+
}).mount(y.value), Ae(o), fe();
|
|
391
|
+
} catch (n) {
|
|
392
|
+
if (t()) return;
|
|
393
|
+
d.error(
|
|
394
|
+
"PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
|
|
395
|
+
"Failed to mount Adyen web drop-in",
|
|
396
|
+
m({ reason: "ADYEN_DROP_IN_MOUNT_FAILED", cause: n }),
|
|
397
|
+
n
|
|
398
|
+
), _({
|
|
399
|
+
code: "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
|
|
400
|
+
message: "Failed to mount Adyen web drop-in",
|
|
401
|
+
error: n
|
|
402
|
+
});
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
function J() {
|
|
407
|
+
const e = tt(y.value);
|
|
408
|
+
if (nt(e, w.value)) {
|
|
409
|
+
I.value = null, oe(() => I.value = e);
|
|
410
|
+
return;
|
|
411
|
+
}
|
|
412
|
+
I.value = e;
|
|
413
|
+
}
|
|
414
|
+
function fe() {
|
|
415
|
+
f == null || f.disconnect(), y.value && (f = new MutationObserver(() => J()), f.observe(y.value, { childList: !0, subtree: !0 }), J());
|
|
416
|
+
}
|
|
417
|
+
function Ee() {
|
|
418
|
+
f == null || f.disconnect(), f = void 0, I.value = null;
|
|
419
|
+
}
|
|
420
|
+
async function Y() {
|
|
421
|
+
Ee(), r && (r.unmount(), r = null), y.value && (y.value.innerHTML = "");
|
|
422
|
+
}
|
|
423
|
+
function j(e, t, n) {
|
|
424
|
+
if (e.querySelector(`style[${se}="${t}"]`)) return;
|
|
425
|
+
const o = document.createElement("style");
|
|
426
|
+
o.setAttribute(se, t), o.textContent = n, e.appendChild(o);
|
|
427
|
+
}
|
|
428
|
+
function Ae(e) {
|
|
429
|
+
var n;
|
|
430
|
+
const t = (n = y.value) == null ? void 0 : n.getRootNode();
|
|
431
|
+
t instanceof ShadowRoot && (j(t, "sdk", e), j(
|
|
432
|
+
t,
|
|
433
|
+
"overrides",
|
|
434
|
+
`
|
|
435
|
+
:host {
|
|
436
|
+
--adyen-sdk-color-background-secondary: transparent;
|
|
437
|
+
--adyen-sdk-color-background-primary: rgb(243 244 246 / 0.5);
|
|
438
|
+
--adyen-sdk-color-outline-secondary: #e5e7eb;
|
|
439
|
+
--adyen-sdk-color-outline-primary: transparent;
|
|
440
|
+
--adyen-sdk-color-background-always-dark: var(--color-primary-500);
|
|
441
|
+
--adyen-sdk-color-background-inverse-primary-hover: var(--color-primary-600);
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.adyen-checkout__payment-method__image__wrapper {
|
|
445
|
+
width: 32px;
|
|
446
|
+
height: 32px;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
.adyen-checkout__payment-method__image {
|
|
450
|
+
height: 32px;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.adyen-checkout__input-wrapper,
|
|
454
|
+
.adyen-checkout__input {
|
|
455
|
+
border-color: rgb(229, 231, 235);
|
|
456
|
+
border-radius: var(--adyen-sdk-border-radius-s, 4px);
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
.adyen-checkout__button,
|
|
460
|
+
.adyen-checkout__payment-method {
|
|
461
|
+
border-radius: var(--adyen-sdk-border-radius-s, 4px);
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
.adyen-checkout__payment-method {
|
|
465
|
+
border-color: rgb(229, 231, 235);
|
|
466
|
+
box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
467
|
+
transition: box-shadow 0.2s ease-in-out;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
.adyen-checkout__payment-method--selected {
|
|
471
|
+
box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.adyen-checkout__payment-method:after {
|
|
475
|
+
transform: scale(0%);
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
.adyen-checkout__paypal__button {
|
|
479
|
+
display: block !important;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.adyen-checkout__payment-methods-list {
|
|
483
|
+
gap: 4px;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
.adyen-checkout__dropdown__list {
|
|
487
|
+
background-color: white;
|
|
488
|
+
border-radius: var(--adyen-sdk-border-radius-s, 4px);
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.adyen-checkout__payment-method.adyen-checkout__payment-method--selected:after {
|
|
492
|
+
content: '✓';
|
|
493
|
+
width: 20px;
|
|
494
|
+
height: 20px;
|
|
495
|
+
border-radius: 10px;
|
|
496
|
+
background-color: var(--color-primary-600);
|
|
497
|
+
position: absolute;
|
|
498
|
+
top: 14px;
|
|
499
|
+
right: 14px;
|
|
500
|
+
text-align: center;
|
|
501
|
+
line-height: 20px;
|
|
502
|
+
color: white;
|
|
503
|
+
transform: scale(100%);
|
|
504
|
+
font-size: 12px;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
.adyen-checkout__payment-method__header {
|
|
508
|
+
padding: 8px 16px !important;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.adyen-checkout__payment-method__brands {
|
|
512
|
+
align-items: center;
|
|
513
|
+
}
|
|
514
|
+
.adyen-checkout__payment-method__brand-number {
|
|
515
|
+
line-height: 1;
|
|
516
|
+
}
|
|
517
|
+
.adyen-checkout__button__text {
|
|
518
|
+
font-size: 14px;
|
|
519
|
+
}
|
|
520
|
+
.adyen-checkout__store-details {
|
|
521
|
+
background: transparent;
|
|
522
|
+
padding: 0;
|
|
523
|
+
}
|
|
524
|
+
.adyen-checkout__checkbox__input + .adyen-checkout__checkbox__label:after {
|
|
525
|
+
border-color: rgb(229, 231, 235);
|
|
526
|
+
}
|
|
527
|
+
`
|
|
528
|
+
), a.variant === "AUTHORIZE" && j(
|
|
529
|
+
t,
|
|
530
|
+
"authorize",
|
|
531
|
+
`
|
|
532
|
+
.adyen-checkout__payment-method--cashapp .adyen-checkout-pm-details-wrapper {
|
|
533
|
+
display: none;
|
|
534
|
+
}
|
|
535
|
+
`
|
|
536
|
+
));
|
|
537
|
+
}
|
|
538
|
+
function q(e, {
|
|
539
|
+
paymentMethodType: t,
|
|
540
|
+
actions: n,
|
|
541
|
+
logFailure: o
|
|
542
|
+
}) {
|
|
543
|
+
var i;
|
|
544
|
+
if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant === D) {
|
|
545
|
+
const c = Ie(e, t);
|
|
546
|
+
if (!c) {
|
|
547
|
+
o(e);
|
|
548
|
+
return;
|
|
549
|
+
}
|
|
550
|
+
p("action-required"), n.resolve({
|
|
551
|
+
resultCode: e.action.adyen.result_code,
|
|
552
|
+
action: c
|
|
553
|
+
});
|
|
554
|
+
return;
|
|
555
|
+
}
|
|
556
|
+
const s = qe(e);
|
|
557
|
+
if (s === "SUCCEEDED") {
|
|
558
|
+
L.value = !0, n.resolve({ resultCode: "Authorised" });
|
|
559
|
+
return;
|
|
560
|
+
}
|
|
561
|
+
if (s === "UNCONFIRMED") {
|
|
562
|
+
O("PAYMENT_PENDING", {
|
|
563
|
+
paymentStatus: e.status,
|
|
564
|
+
paymentResult: (i = e.payment) == null ? void 0 : i.result,
|
|
565
|
+
paymentMethodType: t
|
|
566
|
+
});
|
|
567
|
+
return;
|
|
568
|
+
}
|
|
569
|
+
o(e), n.resolve({ resultCode: "Error" });
|
|
570
|
+
}
|
|
571
|
+
function ge(...e) {
|
|
572
|
+
const [t, n, o] = e;
|
|
573
|
+
A || (A = !0, a.validateOnSubmit().then((s) => {
|
|
574
|
+
if (!s) {
|
|
575
|
+
A = !1, r == null || r.setStatus("ready"), p("invalid");
|
|
576
|
+
return;
|
|
577
|
+
}
|
|
578
|
+
p("submitting");
|
|
579
|
+
const i = a.paymentMethodOptionResponseEntry.payment_acceptor.id, c = {
|
|
580
|
+
risk_data: G(t.data.riskData),
|
|
581
|
+
payment_method: G(t.data.paymentMethod),
|
|
582
|
+
browser_info: G(t.data.browserInfo)
|
|
583
|
+
};
|
|
584
|
+
if (a.variant === "AUTHORIZE") {
|
|
585
|
+
const T = ie({
|
|
586
|
+
paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
587
|
+
redirectUrl: window.location.href
|
|
588
|
+
});
|
|
589
|
+
me({
|
|
590
|
+
payment_acceptor_id: i,
|
|
591
|
+
...a.customerId ? { customer_id: a.customerId } : {},
|
|
592
|
+
payment_gateway_variant: D,
|
|
593
|
+
adyen: {
|
|
594
|
+
...c,
|
|
595
|
+
store_payment_method: a.storePaymentMethod ?? (a.forceStorePaymentMethod || t.data.storePaymentMethod)
|
|
596
|
+
},
|
|
597
|
+
amount: a.amount,
|
|
598
|
+
...a.context ? { context: a.context } : {},
|
|
599
|
+
return_url: T
|
|
600
|
+
}).then(
|
|
601
|
+
(h) => q(h, {
|
|
602
|
+
paymentMethodType: t.data.paymentMethod.type,
|
|
603
|
+
actions: o,
|
|
604
|
+
logFailure: (R) => d.error(
|
|
605
|
+
"PAYMENT_AUTHORIZATION_FAILED",
|
|
606
|
+
`Failed payment authorization for payment acceptor with id ${i}`,
|
|
607
|
+
m({
|
|
608
|
+
reason: "PAYMENT_AUTHORIZATION_REJECTED",
|
|
609
|
+
paymentMethodType: t.data.paymentMethod.type,
|
|
610
|
+
cause: R
|
|
611
|
+
}),
|
|
612
|
+
R
|
|
613
|
+
)
|
|
614
|
+
})
|
|
615
|
+
).catch((h) => {
|
|
616
|
+
if (d.error(
|
|
617
|
+
"PAYMENT_AUTHORIZATION_FAILED",
|
|
618
|
+
`Failed payment authorization for payment acceptor with id ${i}`,
|
|
619
|
+
m({
|
|
620
|
+
reason: "PAYMENT_AUTHORIZATION_FAILED",
|
|
621
|
+
paymentMethodType: t.data.paymentMethod.type,
|
|
622
|
+
cause: h
|
|
623
|
+
}),
|
|
624
|
+
h
|
|
625
|
+
), Je(h)) {
|
|
626
|
+
O(
|
|
627
|
+
"PAYMENT_AUTHORIZATION_UNANSWERED",
|
|
628
|
+
{ paymentMethodType: t.data.paymentMethod.type },
|
|
629
|
+
h
|
|
630
|
+
);
|
|
631
|
+
return;
|
|
632
|
+
}
|
|
633
|
+
o.resolve({ resultCode: "Error" });
|
|
634
|
+
});
|
|
635
|
+
return;
|
|
636
|
+
}
|
|
637
|
+
if (a.variant === "TOKENIZE") {
|
|
638
|
+
const T = ie({
|
|
639
|
+
paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
640
|
+
redirectUrl: window.location.href
|
|
641
|
+
});
|
|
642
|
+
if (!a.customerId) {
|
|
643
|
+
d.error(
|
|
644
|
+
"TOKENIZATION_FAILED",
|
|
645
|
+
`Missing customer id for payment acceptor with id ${i}`,
|
|
646
|
+
m({ reason: "TOKENIZATION_FAILED_NO_CUSTOMER" })
|
|
647
|
+
), _({ code: "TOKENIZE_FAILED", message: "Missing customer id" });
|
|
648
|
+
return;
|
|
649
|
+
}
|
|
650
|
+
le({
|
|
651
|
+
customer_id: a.customerId,
|
|
652
|
+
payment_acceptor_id: i,
|
|
653
|
+
payment_gateway_variant: D,
|
|
654
|
+
adyen: c,
|
|
655
|
+
return_url: T
|
|
656
|
+
}).then(
|
|
657
|
+
(h) => q(h, {
|
|
658
|
+
paymentMethodType: t.data.paymentMethod.type,
|
|
659
|
+
actions: o,
|
|
660
|
+
logFailure: (R) => d.error(
|
|
661
|
+
"TOKENIZATION_FAILED",
|
|
662
|
+
`Tokenization failed for payment acceptor with id ${i}`,
|
|
663
|
+
m({
|
|
664
|
+
reason: "TOKENIZATION_REJECTED",
|
|
665
|
+
paymentMethodType: t.data.paymentMethod.type,
|
|
666
|
+
cause: R
|
|
667
|
+
}),
|
|
668
|
+
R
|
|
669
|
+
)
|
|
670
|
+
})
|
|
671
|
+
).catch((h) => {
|
|
672
|
+
d.error(
|
|
673
|
+
"TOKENIZATION_FAILED",
|
|
674
|
+
`Tokenization failed for payment acceptor with id ${i}`,
|
|
675
|
+
m({
|
|
676
|
+
reason: "TOKENIZATION_FAILED",
|
|
677
|
+
paymentMethodType: t.data.paymentMethod.type,
|
|
678
|
+
cause: h
|
|
679
|
+
}),
|
|
680
|
+
h
|
|
681
|
+
), o.resolve({ resultCode: "Error" });
|
|
682
|
+
});
|
|
683
|
+
}
|
|
684
|
+
}).catch((s) => {
|
|
685
|
+
d.error(
|
|
686
|
+
"INTEGRATION_ERROR",
|
|
687
|
+
"Unhandled error in payment submission flow",
|
|
688
|
+
m({ reason: "ADYEN_SUBMISSION_FLOW_FAILED", cause: s }),
|
|
689
|
+
s
|
|
690
|
+
), A = !1, r == null || r.setStatus("ready"), p("invalid");
|
|
691
|
+
}));
|
|
692
|
+
}
|
|
693
|
+
function Ie(e, t) {
|
|
694
|
+
if (e.status !== "ACTION_REQUIRED")
|
|
695
|
+
return;
|
|
696
|
+
const n = e.action;
|
|
697
|
+
if (n.payment_gateway_variant != "ADYEN")
|
|
698
|
+
return;
|
|
699
|
+
const o = n.adyen;
|
|
700
|
+
return {
|
|
701
|
+
paymentMethodType: (o == null ? void 0 : o.payment_method_type) ?? t,
|
|
702
|
+
method: n.method,
|
|
703
|
+
url: n.url,
|
|
704
|
+
data: n.data,
|
|
705
|
+
type: o == null ? void 0 : o.action_type,
|
|
706
|
+
paymentData: o == null ? void 0 : o.payment_data,
|
|
707
|
+
sdkData: o == null ? void 0 : o.sdk_data
|
|
708
|
+
};
|
|
709
|
+
}
|
|
710
|
+
function Te(...e) {
|
|
711
|
+
const [t, , n] = e, o = t.data.details, s = t.data.paymentData;
|
|
712
|
+
if (a.paymentMethodOptionResponseEntry.payment_acceptor.id) {
|
|
713
|
+
Q({
|
|
714
|
+
// For the moment: Adyen gives a null value back which is not accepted by Solvimon API, so filter that out
|
|
715
|
+
detailsResult: o ? Ne(o) : void 0,
|
|
716
|
+
paymentDataResult: s,
|
|
717
|
+
paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
718
|
+
actions: n
|
|
719
|
+
});
|
|
720
|
+
return;
|
|
721
|
+
}
|
|
722
|
+
d.error(
|
|
723
|
+
"PAYMENT_ACCEPTOR_MISSING",
|
|
724
|
+
"Additional details arrived without a payment acceptor id",
|
|
725
|
+
m({ reason: "PAYMENT_ACCEPTOR_MISSING" })
|
|
726
|
+
), _({
|
|
727
|
+
code: "REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING",
|
|
728
|
+
message: "Payment failed",
|
|
729
|
+
error: e
|
|
730
|
+
});
|
|
731
|
+
}
|
|
732
|
+
function Ne(e) {
|
|
733
|
+
return Object.fromEntries(
|
|
734
|
+
Object.entries(e).filter(([, t]) => t != null)
|
|
735
|
+
);
|
|
736
|
+
}
|
|
737
|
+
function ve(...e) {
|
|
738
|
+
const [t] = e;
|
|
739
|
+
d.error(
|
|
740
|
+
"ADYEN_PAYMENT_FAILED",
|
|
741
|
+
"Adyen reported the payment as failed",
|
|
742
|
+
m({
|
|
743
|
+
reason: "ADYEN_PAYMENT_FAILED",
|
|
744
|
+
extra: { resultCode: t == null ? void 0 : t.resultCode }
|
|
745
|
+
}),
|
|
746
|
+
t
|
|
747
|
+
), _({ code: "AUTHORIZATION_FAILED", message: "Payment failed", error: t });
|
|
748
|
+
}
|
|
749
|
+
function Pe(...e) {
|
|
750
|
+
const [, t] = e;
|
|
751
|
+
t == null || t.unmount(), W();
|
|
752
|
+
}
|
|
753
|
+
function be(...e) {
|
|
754
|
+
const [t, n] = e;
|
|
755
|
+
if (t.name === "CANCEL") {
|
|
756
|
+
A = !1, p("invalid");
|
|
757
|
+
return;
|
|
758
|
+
}
|
|
759
|
+
d.error(
|
|
760
|
+
"INTEGRATION_ERROR",
|
|
761
|
+
"The Adyen drop-in reported an error",
|
|
762
|
+
m({
|
|
763
|
+
reason: "ADYEN_INTEGRATION_ERROR",
|
|
764
|
+
cause: t,
|
|
765
|
+
extra: { adyenErrorName: t.name }
|
|
766
|
+
}),
|
|
767
|
+
t
|
|
768
|
+
), _({ code: "UNKNOWN_ERROR", message: "Something went wrong", error: t }), n == null || n.unmount();
|
|
769
|
+
}
|
|
770
|
+
function Q({
|
|
771
|
+
detailsResult: e,
|
|
772
|
+
threeDSResult: t,
|
|
773
|
+
redirectResult: n,
|
|
774
|
+
paymentDataResult: o,
|
|
775
|
+
paymentAcceptorId: s,
|
|
776
|
+
actions: i
|
|
777
|
+
}) {
|
|
778
|
+
return pe({
|
|
779
|
+
paymentAcceptorId: s,
|
|
780
|
+
paymentGatewayVariant: D,
|
|
781
|
+
adyen: {
|
|
782
|
+
...e ? { details: e } : {},
|
|
783
|
+
...n ? { redirect_result: n } : {},
|
|
784
|
+
...t ? { threeds_result: t } : {},
|
|
785
|
+
...o ? { payment_data: o } : {}
|
|
786
|
+
}
|
|
787
|
+
}).then((c) => {
|
|
788
|
+
i || (b = void 0);
|
|
789
|
+
const T = We(c);
|
|
790
|
+
if (T === "SUCCEEDED") {
|
|
791
|
+
i ? i.resolve({ resultCode: "Authorised" }) : W();
|
|
792
|
+
return;
|
|
793
|
+
}
|
|
794
|
+
if (T === "UNCONFIRMED") {
|
|
795
|
+
O("PAYMENT_DETAILS_UNCONFIRMED", {
|
|
796
|
+
paymentStatus: c.payment_status
|
|
797
|
+
});
|
|
798
|
+
return;
|
|
799
|
+
}
|
|
800
|
+
if (d.error(
|
|
801
|
+
"PAYMENT_DETAILS_REJECTED",
|
|
802
|
+
"Payment details returned a failed payment",
|
|
803
|
+
m({
|
|
804
|
+
reason: "PAYMENT_DETAILS_REJECTED",
|
|
805
|
+
paymentAcceptorId: s,
|
|
806
|
+
extra: { paymentStatus: c.payment_status }
|
|
807
|
+
})
|
|
808
|
+
), i) {
|
|
809
|
+
i.resolve({ resultCode: "Refused" });
|
|
810
|
+
return;
|
|
811
|
+
}
|
|
812
|
+
_({
|
|
813
|
+
code: "AUTHORIZATION_FAILED",
|
|
814
|
+
message: "Failed getting payment details",
|
|
815
|
+
error: c
|
|
816
|
+
});
|
|
817
|
+
}).catch((c) => {
|
|
818
|
+
if (d.error(
|
|
819
|
+
"PAYMENT_DETAILS_CALL_FAILED",
|
|
820
|
+
"Failed fetching payment details",
|
|
821
|
+
m({
|
|
822
|
+
reason: "PAYMENT_DETAILS_CALL_FAILED",
|
|
823
|
+
paymentAcceptorId: s,
|
|
824
|
+
cause: c
|
|
825
|
+
}),
|
|
826
|
+
c
|
|
827
|
+
), i) {
|
|
828
|
+
O("PAYMENT_DETAILS_CALL_FAILED", {}, c);
|
|
829
|
+
return;
|
|
830
|
+
}
|
|
831
|
+
B(), _({
|
|
832
|
+
code: "PAYMENT_DETAILS_CALL_FAILED",
|
|
833
|
+
message: "Failed fetching payment details",
|
|
834
|
+
error: c
|
|
835
|
+
});
|
|
836
|
+
});
|
|
837
|
+
}
|
|
838
|
+
async function Oe() {
|
|
839
|
+
const e = ze(
|
|
840
|
+
a.paymentMethodOptionResponseEntry.payment_acceptor.id
|
|
841
|
+
);
|
|
842
|
+
if (e) {
|
|
843
|
+
if (Ge(), e.kind === "MISSING_PAYMENT_ACCEPTOR") {
|
|
844
|
+
d.error(
|
|
845
|
+
"INVALID_REDIRECT_RESULT",
|
|
846
|
+
"Redirect result is set but payment acceptor id is missing",
|
|
847
|
+
m({ reason: "INVALID_REDIRECT_RESULT" })
|
|
848
|
+
), _({
|
|
849
|
+
code: "REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING",
|
|
850
|
+
message: "Redirect result is set but payment acceptor id is missing"
|
|
851
|
+
});
|
|
852
|
+
return;
|
|
853
|
+
}
|
|
854
|
+
if (e.kind === "INVALID") {
|
|
855
|
+
O("INVALID_REDIRECT_RESULT");
|
|
856
|
+
return;
|
|
857
|
+
}
|
|
858
|
+
b = e.redirectResult, await X();
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
async function X() {
|
|
862
|
+
if (b) {
|
|
863
|
+
F = !0;
|
|
864
|
+
try {
|
|
865
|
+
await Q({
|
|
866
|
+
paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
867
|
+
detailsResult: { redirectResult: b }
|
|
868
|
+
});
|
|
869
|
+
} finally {
|
|
870
|
+
F = !1;
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
async function ee() {
|
|
875
|
+
const e = g.value, t = P + 1;
|
|
876
|
+
await U(), e && t === P && (g.value = e);
|
|
877
|
+
}
|
|
878
|
+
async function Re() {
|
|
879
|
+
if (g.value = void 0, !b) {
|
|
880
|
+
await U();
|
|
881
|
+
return;
|
|
882
|
+
}
|
|
883
|
+
S = !1, await X(), await ee();
|
|
884
|
+
}
|
|
885
|
+
return Me(async () => {
|
|
886
|
+
await Oe(), await ee();
|
|
887
|
+
}), De(() => {
|
|
888
|
+
P++, Y();
|
|
889
|
+
}), ke(
|
|
890
|
+
() => a.paymentMethodOptionResponseEntry,
|
|
891
|
+
(e, t) => {
|
|
892
|
+
Le(e, t) || U();
|
|
893
|
+
},
|
|
894
|
+
{ deep: !0 }
|
|
895
|
+
), (e, t) => (N(), K(Se, null, [
|
|
896
|
+
L.value ? (N(), Z(xe, {
|
|
897
|
+
key: 0,
|
|
898
|
+
variant: u.variant,
|
|
899
|
+
redirecting: u.redirectsOnSuccess
|
|
900
|
+
}, null, 8, ["variant", "redirecting"])) : g.value ? (N(), Z(Be, {
|
|
901
|
+
key: 1,
|
|
902
|
+
error: g.value,
|
|
903
|
+
onRetry: Re
|
|
904
|
+
}, null, 8, ["error"])) : z("", !0),
|
|
905
|
+
$.value ? (N(), K("div", {
|
|
906
|
+
key: 2,
|
|
907
|
+
ref_key: "dropInContainerRef",
|
|
908
|
+
ref: y
|
|
909
|
+
}, null, 512)) : z("", !0),
|
|
910
|
+
I.value ? (N(), Z(Ce, {
|
|
911
|
+
key: 3,
|
|
912
|
+
to: I.value
|
|
913
|
+
}, [
|
|
914
|
+
we("div", {
|
|
915
|
+
ref_key: "sepaNoticeRef",
|
|
916
|
+
ref: w
|
|
917
|
+
}, [
|
|
918
|
+
H(rt, { "billing-entity-name": u.billingEntityName }, null, 8, ["billing-entity-name"])
|
|
919
|
+
], 512)
|
|
920
|
+
], 8, ["to"])) : z("", !0)
|
|
921
|
+
], 64));
|
|
922
|
+
}
|
|
923
|
+
});
|
|
924
|
+
export {
|
|
925
|
+
Et as default
|
|
926
|
+
};
|