@solvimon/solvimon-web 0.1.0-alpha.27 → 0.1.0-alpha.29
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 +151 -17
- package/dist/{Alert.vue.es-lIiAWf2S.mjs → Alert.vue.es-CNrEaLvh.mjs} +58 -46
- package/dist/ApiStatus-CSFKl_ra.mjs +9 -0
- package/dist/AuthProvider.handle-DKfNs8rr.mjs +50 -0
- package/dist/{Avatar.vue.es-sfMZiX7A.mjs → Avatar.vue.es-r0NbcIib.mjs} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-DmY3a-Wi.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-Cp4yGqaw.mjs} +18 -19
- package/dist/{Button.vue.es-Cmjfm4jw.mjs → Button.vue.es-Zw--kuaU.mjs} +4 -4
- package/dist/{ChargeOnDemandModal-CB4mrvkU.mjs → ChargeOnDemandModal-B8FDkS9U.mjs} +240 -251
- package/dist/Checkout.entry.ce-DsGl-5aR.mjs +4202 -0
- package/dist/CheckoutAddressFields.vue_vue_type_script_setup_true_lang-2D8VM_7W.mjs +828 -0
- package/dist/{Chip.vue.es-DksjbJO8.mjs → Chip.vue.es-D3UDSyXC.mjs} +35 -21
- package/dist/Comparators.vue.es-DQBI3f7m.mjs +103 -0
- package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
- package/dist/{ContextMenu.vue.es-zRvoEJlV.mjs → ContextMenu.vue.es-B9mFpUQK.mjs} +87 -88
- package/dist/{CustomerBillingInformation.vue.es-DhFbpZPK.mjs → CustomerBillingInformation.vue.es-B8NiQaJs.mjs} +3 -3
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-B41la-T7.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DBivC5Eb.mjs} +27 -30
- package/dist/CustomerShippingAddresses-Bj8Y17O8.mjs +397 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BmPKfIjT.mjs +2927 -0
- package/dist/{DividerText.vue.es-nAo1eRMV.mjs → DividerText.vue.es-CNbgif-3.mjs} +1 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CVP-7ne3.mjs +55 -0
- package/dist/{ErrorNotification.vue.es-h-D37rfG.mjs → ErrorNotification.vue.es-DNd65mQq.mjs} +2 -2
- package/dist/FormMessage.vue.es-Cjv358Ab.mjs +39 -0
- package/dist/{IconButton.vue.es-DvfErUOq.mjs → IconButton.vue.es-C8lYFx5_.mjs} +2 -2
- package/dist/{IconTitle.vue.es-B_8bS0tn.mjs → IconTitle.vue.es-O2kcqgKm.mjs} +3 -3
- package/dist/Input.vue.es-D8Oj8MWv.mjs +250 -0
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-gpMtYNzn.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-rhqYVdfV.mjs} +14 -13
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-06R-M8Q3.mjs +56 -0
- package/dist/InvoicePreview.vue.es-4Q2hzaFS.mjs +286 -0
- package/dist/InvoicePricingClauseChip.vue.es-DKU0xu0t.mjs +124 -0
- package/dist/Label.vue.es-DtpLM1KH.mjs +113 -0
- package/dist/{Modal.vue.es-BeI5C9-9.mjs → Modal.vue.es-C8ZcO117.mjs} +109 -103
- package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-3DQLCR3U.mjs +441 -0
- package/dist/PaymentCompletedCard.vue_vue_type_script_setup_true_lang-DfTb9psX.mjs +48 -0
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DqHcOnZp.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-BoGTtg5G.mjs} +70 -113
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DlqoWKQq.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BIAm22Kq.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-mCqdFjnL.mjs → PaymentHistoryBlock-BvY2nXGV.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DxaY3eFN.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-bQKhUonq.mjs} +24 -24
- package/dist/{PaymentIntegrationForm-DVx4DEtD.mjs → PaymentIntegrationForm-CcfQSzKM.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvzcLJVq.mjs +181 -0
- package/dist/{PaymentIntegrationFormAdyen-Yr8p5Fly.mjs → PaymentIntegrationFormAdyen-DqgDfO6K.mjs} +422 -311
- package/dist/PaymentIntegrationFormStripe-BYdAkvLt.mjs +757 -0
- package/dist/{PaymentMethod.vue.es-4YRmQZHX.mjs → PaymentMethod.vue.es-b0p3a0L-.mjs} +7 -7
- package/dist/{PaymentMethodForm-Dnj_7mJU.mjs → PaymentMethodForm-BsTrTwCg.mjs} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-DsD3UjkC.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-sUOmLORl.mjs} +57 -65
- package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DsnAhR79.mjs +169 -0
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-CjECKNi_.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CSW4LfmH.mjs} +13 -8
- package/dist/PlanCustomizationEditor-D29N4HUM.mjs +711 -0
- package/dist/PortalLinkUnverified-B_EE2wTJ.mjs +52 -0
- package/dist/PortalNotAvailable-DPE9y37H.mjs +25 -0
- package/dist/{PricingGroupRangeInput.vue.es-BhNcjD7z.mjs → PricingGroupRangeInput.vue.es-tIMXIhpZ.mjs} +14 -13
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CmJITenR.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DqxWxSQe.mjs} +48 -48
- package/dist/RadioGroupExtended.vue.es-3nDXqIGi.mjs +176 -0
- package/dist/{Section.vue.es-DVEpre9O.mjs → Section.vue.es-CvX9tg2f.mjs} +1 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Cl7I1Apo.mjs +60 -0
- package/dist/ShippingAddressesModal-C4p1IXXk.mjs +418 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs +32 -0
- package/dist/{StepInput.vue.es-o-3Lg4Ai.mjs → StepInput.vue.es-DweyzpkL.mjs} +5 -4
- package/dist/{SubscriptionDetails.entry.ce-CGl6Z5ql.mjs → SubscriptionDetails.entry.ce-D5SwM0YS.mjs} +448 -460
- package/dist/{SubscriptionSchedules-DuWZmnD2.mjs → SubscriptionSchedules-BZqlpAtk.mjs} +1 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BH7DdOWK.mjs +5185 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-DoJxiqVB.mjs +203 -0
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BsdevoeT.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BbjdBHSQ.mjs} +126 -90
- package/dist/TooltipParagraph.vue.es-Dw0ndjle.mjs +132 -0
- package/dist/TranslationOverride.vue_vue_type_script_setup_true_lang-BhjZVMSx.mjs +31 -0
- package/dist/{TrialChip.vue.es-Dmv3lPiQ.mjs → TrialChip.vue.es-DOopmaXA.mjs} +2 -2
- package/dist/addressFormats.data-dzBx49dw.mjs +278 -0
- package/dist/amount-CondixVt.mjs +36 -0
- package/dist/{api.es-QaC926Xu.mjs → api.es-qgvzNMU-.mjs} +2 -2
- package/dist/{cn.es-Cvt6TIwv.mjs → cn.es-B8acFrov.mjs} +385 -477
- package/dist/{comparators.es-D8WGL-c4.mjs → comparators.es-C8rHpb70.mjs} +17 -13
- package/dist/components/BillingInformation/BillingInformation.mjs +11 -10
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +397 -350
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +20 -19
- package/dist/components/Invoice/Invoice.mjs +2691 -227
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +66 -62
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +40 -40
- package/dist/components/InvoicesList/InvoicesList.mjs +20 -18
- package/dist/components/PaymentHistory/PaymentHistory.mjs +72 -64
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +33 -31
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +49 -45
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +47 -31
- package/dist/components/WalletBalances/WalletBalances.mjs +22 -21
- package/dist/core/index.mjs +61 -95
- package/dist/customElements-BTj4ii4f.mjs +5072 -0
- package/dist/customer-BIjC0CWJ.mjs +31 -0
- package/dist/customer.es-DQKl6wFt.mjs +24 -0
- package/dist/{de-DE-DKp5LCu0.mjs → de-DE-DBbERiFr.mjs} +110 -18
- package/dist/{de-DE-jkW2dJrX.mjs → de-DE-UJ6X6jXu.mjs} +16 -10
- package/dist/floating-ui.vue.es-BvAf8-si.mjs +1003 -0
- package/dist/formControl-BZQLHnOO.mjs +749 -0
- package/dist/fr-FR-Cvvbkwlj.mjs +307 -0
- package/dist/fr-FR-IWJE-urI.mjs +431 -0
- package/dist/icon-sprite.svg.es-BWBB8SGw.mjs +4 -0
- package/dist/{index.es-CXkP_k3u.mjs → index.es-C7J3WGGo.mjs} +4 -4
- package/dist/index.es-CpmQmvOg.mjs +633 -0
- package/dist/index.mjs +2 -2
- package/dist/invoiceState-BJVHaKs7.mjs +14 -0
- package/dist/{invoices-3520M5AN.mjs → invoices-e1sKLgxg.mjs} +40 -35
- package/dist/{it-IT-BgFVsO5S.mjs → it-IT-B7ui2oxO.mjs} +110 -18
- package/dist/{it-IT-CaaFToGB.mjs → it-IT-DnJP5URH.mjs} +9 -3
- package/dist/{nl-NL-UiRWbO9S.mjs → nl-NL-Bafh2xoT.mjs} +116 -24
- package/dist/{nl-NL-D0MQKaql.mjs → nl-NL-q9xfTZF0.mjs} +12 -6
- package/dist/paymentMethods-B_82JGk_.mjs +77 -0
- package/dist/paymentMethods-Nfv9HdkS.mjs +61 -0
- package/dist/paymentOutcome-BXEU5-84.mjs +67 -0
- package/dist/payments-BnxbzQUC.mjs +68 -0
- package/dist/{pricing-BIMpDI_p.mjs → pricing-BOhvWWMj.mjs} +3 -3
- package/dist/pricingItemConfigs.es-D3pX_9AJ.mjs +78 -0
- package/dist/pricingPlanScheduleOverrides-Dxv5FOBd.mjs +233 -0
- package/dist/pricingPlanSchedules-Dv7ZCgNp.mjs +38 -0
- package/dist/sanitization.es-C6dbuxUJ.mjs +4 -0
- package/dist/screens/Checkout/Checkout.mjs +2 -2
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +146 -94
- package/dist/screens/PayInvoice/PayInvoice.mjs +603 -278
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +102 -88
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +371 -347
- package/dist/sessionReference-B8Dbmx5t.mjs +38 -0
- package/dist/sorting.es-CVyKw23D.mjs +77 -0
- package/dist/subscription-BhxoqwcT.mjs +83 -0
- package/dist/subscriptions-BWXZGK0E.mjs +66 -0
- package/dist/taxId.es-DkD3Ltr8.mjs +243 -0
- package/dist/types/components/InvoiceTable/InvoiceTable.types.d.ts +2 -0
- package/dist/types/components/checkout/PromotionCodeSection.types.d.ts +2 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +22 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +15 -0
- package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +0 -2
- 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/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +0 -1
- package/dist/types/components/payments/PayButton/PayButton.types.d.ts +2 -0
- package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +0 -2
- package/dist/types/components/payments/PaymentErrorCard/PaymentErrorCard.types.d.ts +9 -2
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +47 -4
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +11 -1
- package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +0 -4
- package/dist/types/components/providers/AuthProvider/AuthProvider.handle.d.ts +17 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +30 -3
- package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +12 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +3 -1
- package/dist/types/components/providers/AuthProvider/composables/useAuth.d.ts +1 -3
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.lib.d.ts +2 -4
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.lib.d.ts +11 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.lib.d.ts +7 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +2 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +3 -1
- package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +5 -1
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib.d.ts +2 -2
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +6 -1
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +5 -1
- package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +10 -7
- package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +1 -1
- package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +3 -1
- package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +2 -2
- package/dist/types/components/providers/Provider/Provider.types.d.ts +2 -2
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +13 -4
- package/dist/types/components/providers/RequiredPropertiesGuard/RequiredPropertiesGuard.vue.d.ts +17 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.lib.d.ts +7 -2
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.types.d.ts +1 -1
- package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +1 -2
- package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsListItem.types.d.ts +2 -0
- package/dist/types/components/subscriptions/OrderSummary.types.d.ts +1 -10
- package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +16 -0
- package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +5 -1
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +10 -16
- package/dist/types/components/subscriptions/SubscriptionSummary.types.d.ts +1 -14
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +4 -1
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +1 -2
- package/dist/types/components/wallets/AutoTopUpConfig/AutoTopUpConfig.types.d.ts +0 -3
- package/dist/types/components/wallets/TopUpModal/TopUpModalForm.types.d.ts +3 -1
- package/dist/types/components/wallets/TopUpModal/TopUpModalSuccess.types.d.ts +1 -7
- package/dist/types/public/components/BillingInformation/BillingInformation.entry.ce.d.ts +1 -1
- package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +0 -3
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.ce.d.ts +1 -1
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce.d.ts +1 -1
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +0 -1
- package/dist/types/public/components/CustomerShippingAddresses/CustomerShippingAddresses.types.d.ts +12 -0
- package/dist/types/public/components/Invoice/Invoice.entry.ce.d.ts +1 -1
- package/dist/types/public/components/Invoice/Invoice.types.d.ts +0 -1
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.ce.d.ts +1 -1
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.types.d.ts +3 -2
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.types.d.ts +0 -2
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.ce.d.ts +1 -1
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +0 -1
- package/dist/types/public/components/InvoicesList/InvoicesList.entry.ce.d.ts +1 -1
- package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +2 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.ce.d.ts +1 -1
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.types.d.ts +3 -2
- package/dist/types/public/components/PaymentHistory/PaymentHistory.types.d.ts +0 -2
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.ce.d.ts +1 -1
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce.d.ts +1 -1
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.types.d.ts +3 -2
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.types.d.ts +0 -2
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.ce.d.ts +1 -1
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +3 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.ce.d.ts +1 -1
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.types.d.ts +1 -3
- package/dist/types/public/core/action-request.types.d.ts +5 -0
- package/dist/types/public/core/registry.ce.d.ts +3 -3
- package/dist/types/public/core/registry.d.ts +0 -3
- package/dist/types/public/core/types.d.ts +5 -0
- package/dist/types/public/screens/Checkout/Checkout.entry.ce.d.ts +1 -1
- package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +0 -7
- package/dist/types/public/screens/Checkout/Checkout.types.d.ts +2 -2
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.ce.d.ts +1 -1
- package/dist/types/public/screens/PayInvoice/PayInvoice.entry.ce.d.ts +1 -1
- package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +5 -1
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts +1 -1
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce.d.ts +1 -1
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +1 -2
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce.d.ts +1 -1
- package/dist/types/services/paymentMethods.types.d.ts +2 -10
- package/dist/types/services/requests.types.d.ts +16 -6
- package/dist/types/translations/supported.d.ts +1 -1
- package/dist/types/types/errors.d.ts +3 -2
- 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 +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +27 -6
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +9 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +16 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyVariable.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +12 -3
- package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +71 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +35 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ShippingAddress.d.ts +54 -0
- package/dist/types/vendor/@solvimon/solvimon-types/utils.d.ts +1 -1
- 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/useActionDispatchProvider-3W2vEyIg.mjs +9 -0
- package/dist/{useCustomer-B-jyJIVy.mjs → useCustomer-cObBvDOu.mjs} +2 -2
- package/dist/useCustomerFormLabels-DJWf2O17.mjs +1173 -0
- package/dist/useIncrementalLoading-CATuO36d.mjs +60 -0
- package/dist/useInvoiceData-DD44HTl7.mjs +21 -0
- package/dist/useInvoicesList-CpB-41MQ.mjs +674 -0
- package/dist/useLazyFloating.es-CycqRyeb.mjs +68 -0
- package/dist/useLoadInitialData-qzdnBoui.mjs +15 -0
- package/dist/usePaymentFormHold-ByUZi3A-.mjs +181 -0
- package/dist/{usePaymentMethodAvailability-DAcsKGeh.mjs → usePaymentMethodAvailability-DUdrs0Ji.mjs} +8 -8
- package/dist/usePaymentMethods-ByaKF7mf.mjs +21 -0
- package/dist/{usePayments-Cr6NlGaW.mjs → usePayments-BXABv-lF.mjs} +9 -9
- package/dist/usePortal-CwR_FxTb.mjs +7 -0
- package/dist/useService-BZcbUZHI.mjs +56 -0
- package/dist/{useTimePeriod.es-DWLsLFqs.mjs → useTimePeriod.es-BpdiVwg8.mjs} +1 -1
- package/dist/useViewport-psZejz_H.mjs +19 -0
- package/package.json +33 -60
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-081H9T3X.js +0 -1
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DNepCMRp.mjs +0 -223
- package/dist/Alert.vue.es-RyK53a2P.js +0 -1
- package/dist/Amount.vue.es-DExaYBqm.js +0 -1
- package/dist/Avatar.vue.es-BJxSCU76.js +0 -1
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BV5iEOxn.js +0 -1
- package/dist/Button.vue.es-BzkuglKw.js +0 -1
- package/dist/ChargeOnDemandModal-b17YswWA.js +0 -1
- package/dist/Checkout.entry.ce-HlUrJ1kh.js +0 -2
- package/dist/Checkout.entry.ce-X2zGo6hG.mjs +0 -4381
- package/dist/Chip.vue.es-B2jjzIOc.js +0 -1
- package/dist/Comparators.vue.es-CwhX3rbx.mjs +0 -93
- package/dist/Comparators.vue.es-DmkxV0gb.js +0 -1
- package/dist/ContentWithAsideLayout-BCM8tmZN.mjs +0 -38
- package/dist/ContentWithAsideLayout-RSdKXqAf.js +0 -1
- package/dist/ContextMenu.vue.es-DUU43tCy.js +0 -1
- package/dist/CustomerBillingInformation.vue.es-BfPEB42w.js +0 -1
- package/dist/CustomerPaymentMethods.lib-BKgQTCtc.js +0 -1
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BISD6n8X.js +0 -1
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DssxYPSA.mjs +0 -2688
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-XufY6bdV.js +0 -1
- package/dist/Divider.vue.es-UwnWvUTl.js +0 -1
- package/dist/DividerText.vue.es-CoyDk9eH.js +0 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CQ0KrXHJ.js +0 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-QW9NdxyZ.mjs +0 -335
- package/dist/ErrorNotification.vue.es-tS9vySUZ.js +0 -1
- package/dist/Expand.vue.es-BtM0EZEr.js +0 -1
- package/dist/FormMessage.vue.es-dqATjC2N.js +0 -1
- package/dist/FormMessage.vue.es-jG3fQZms.mjs +0 -29
- package/dist/IconButton.vue.es-DgQN18Am.js +0 -1
- package/dist/IconTitle.vue.es-Dn2xcPHj.js +0 -1
- package/dist/Input.vue.es-B60eK8Ds.js +0 -1
- package/dist/Input.vue.es-CU9u5yKH.mjs +0 -235
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dqdezse7.js +0 -1
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-Cl6HU243.js +0 -1
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-DNqawlYV.mjs +0 -41
- package/dist/InvoiceSummary.vue.es-CAmA8g0t.js +0 -1
- package/dist/InvoiceSummary.vue.es-CRiFJ5x-.mjs +0 -2596
- package/dist/Modal.vue.es-DvLB3uCG.js +0 -1
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dg4rn1cm.js +0 -1
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-B9R5JRJv.js +0 -1
- package/dist/PaymentHistoryBlock-Uw8xeKUk.js +0 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-ALI5f0py.js +0 -1
- package/dist/PaymentIntegrationForm-Cx0zCf_C.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-B-viSd_i.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCKCXXZX.mjs +0 -154
- package/dist/PaymentIntegrationFormAdyen-B-v-4nlj.js +0 -98
- package/dist/PaymentIntegrationFormStripe-CoLmAzas.js +0 -102
- package/dist/PaymentIntegrationFormStripe-Ds0BXt89.mjs +0 -587
- package/dist/PaymentMethod.vue.es-D0D9jW8s.js +0 -1
- package/dist/PaymentMethodForm-CMP5FLRO.js +0 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-nxnGyJmE.js +0 -1
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-CIrrQUS6.js +0 -1
- package/dist/PlanCustomizationEditor-DS1r2vBO.js +0 -1
- package/dist/PlanCustomizationEditor-DlVSCKGN.mjs +0 -722
- package/dist/PricingGroupRangeInput.vue.es-VoOTnHjk.js +0 -185
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-hS6A-KcP.js +0 -1
- package/dist/RadioGroupExtended.vue.es-9YzXzZF0.mjs +0 -163
- package/dist/RadioGroupExtended.vue.es-DlbURHQN.js +0 -1
- package/dist/Section.vue.es-Bbt0RITt.js +0 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Dl7MbMlk.js +0 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-xzjqB-v-.mjs +0 -687
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-CJWE7wVi.mjs +0 -41
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-otI7Hz2w.js +0 -1
- package/dist/StepInput.vue.es-H-3R4jJq.js +0 -1
- package/dist/SubscriptionDetails.entry.ce-CQUO_uXH.js +0 -1
- package/dist/SubscriptionSchedules-Dy0fUgx5.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-C1kTiW-H.mjs +0 -5234
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dd_Rr6qn.js +0 -1
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CYyP4ra9.js +0 -1
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CsekphtV.mjs +0 -91
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-B4j8Clbj.js +0 -1
- package/dist/TooltipParagraph.vue.es-B9A17aG7.mjs +0 -129
- package/dist/TooltipParagraph.vue.es-DvC5Wjaz.js +0 -1
- package/dist/TrialChip.vue.es-CLQZ5F0n.js +0 -1
- package/dist/accel.svg.es-DFJXdioD.js +0 -1
- package/dist/ach.svg.es-BYP873jU.js +0 -1
- package/dist/adyen-BJfC7N6f.js +0 -1
- package/dist/adyenSdk-BP2XXzeJ.js +0 -1
- package/dist/amazon-pay.svg.es-CQWgtowB.js +0 -1
- package/dist/amex.svg.es-DKhW4Txt.js +0 -1
- package/dist/api.es-duCDtZD9.js +0 -1
- package/dist/apple-pay.svg.es-Dyojd0F-.js +0 -1
- package/dist/bacs.svg.es-GJpZs1sD.js +0 -1
- package/dist/bancontact.svg.es-BQh7nAup.js +0 -1
- package/dist/carnet.svg.es-DY04-F2L.js +0 -1
- package/dist/cartes-bancaires.svg.es-BleHMlkN.js +0 -1
- package/dist/cashapp.svg.es-MwXGYom6.js +0 -1
- package/dist/cn.es-C9Yqq4tg.js +0 -1
- package/dist/comparators.es-OGt19O9U.js +0 -1
- package/dist/components/BillingInformation/BillingInformation.cjs +0 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +0 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +0 -1
- package/dist/components/Invoice/Invoice.cjs +0 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +0 -1
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs +0 -1
- package/dist/components/InvoicesList/InvoicesList.cjs +0 -1
- package/dist/components/PaymentHistory/PaymentHistory.cjs +0 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +0 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +0 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +0 -1
- package/dist/components/WalletBalances/WalletBalances.cjs +0 -1
- package/dist/configuration-akTS7Wiw.js +0 -1
- package/dist/core/index.cjs +0 -1
- package/dist/countryData.es-C4jHBzfo.js +0 -1
- package/dist/customElements-B58FcXIN.mjs +0 -6633
- package/dist/customElements-DUMRMFQ5.js +0 -1215
- package/dist/customer-B3LPAhaD.mjs +0 -31
- package/dist/customer-CisTPaXj.js +0 -1
- package/dist/customer.es-B5ppZf0j.mjs +0 -20
- package/dist/customer.es-BButyYo0.js +0 -1
- package/dist/dana.svg.es-BDtZLpwd.js +0 -1
- package/dist/dankort.svg.es-CksaipXF.js +0 -1
- package/dist/de-DE-B4TUdnUf.js +0 -1
- package/dist/de-DE-DL74pMLb.js +0 -1
- package/dist/diners.svg.es-D6Mu1pqP.js +0 -1
- package/dist/discover.svg.es-DgqWCMUM.js +0 -1
- package/dist/eftpos.svg.es-Dk2DOT8W.js +0 -1
- package/dist/elo.svg.es-C-BzjuRP.js +0 -1
- package/dist/en-US-B2XFj-_p.js +0 -1
- package/dist/en-US-DQ5vlv9Z.mjs +0 -339
- package/dist/en-US-J85TQRI8.js +0 -1
- package/dist/en-US-SDhjlY_v.mjs +0 -301
- package/dist/eps.svg.es-B_85bP-W.js +0 -1
- package/dist/error-BHVZJGwD.mjs +0 -13
- package/dist/error-CmduqgVq.js +0 -1
- package/dist/floating-ui.vue.es-Bly3DGWm.js +0 -1
- package/dist/floating-ui.vue.es-CYt0fSY7.mjs +0 -1108
- package/dist/formControl-ODrpUvcA.js +0 -1
- package/dist/formControl-dX7l8o3c.mjs +0 -845
- package/dist/formatting.es-C72Nsrmh.js +0 -1
- package/dist/gcash.svg.es-BKAdhWzv.js +0 -1
- package/dist/getComposedString.es-haS4bAj7.js +0 -1
- package/dist/getCountryNameByCode.es-Xxc0nZsH.js +0 -1
- package/dist/girocard.svg.es-HSOEvDif.js +0 -1
- package/dist/go-pay.svg.es-DQjtunZ_.js +0 -1
- package/dist/google-pay.svg.es-hzc_EgiJ.js +0 -1
- package/dist/hipercard.svg.es-CbCsRY2q.js +0 -1
- package/dist/icon-sprite.svg.es-BZIz7-0d.mjs +0 -4
- package/dist/icon-sprite.svg.es-Ds6lDf5p.js +0 -1
- package/dist/ideal.svg.es-Booz1IML.js +0 -1
- package/dist/index-BPZPnOQQ.js +0 -7
- package/dist/index.cjs +0 -1
- package/dist/index.es-BclokHQX.js +0 -1
- package/dist/invoices-CKQBLar2.js +0 -1
- package/dist/it-IT-CSYvGmpT.js +0 -1
- package/dist/it-IT-CqNK62qe.js +0 -1
- package/dist/jcb.svg.es-B3WPB8c2.js +0 -1
- package/dist/kakao-pay.svg.es-Cs-lCW74.js +0 -1
- package/dist/klarna.svg.es-Cs6XaHD7.js +0 -1
- package/dist/maestro.svg.es-BvK4oPg4.js +0 -1
- package/dist/mastercard.svg.es-lp4AXyyV.js +0 -1
- package/dist/momo.svg.es-C5aLYf_R.js +0 -1
- package/dist/nl-NL-CpE4IgwO.js +0 -1
- package/dist/nl-NL-Dx-TNXQ1.js +0 -1
- package/dist/nyce.svg.es-ArAivAZW.js +0 -1
- package/dist/object.es-CdriXMPs.js +0 -1
- package/dist/open-banking.svg.es-Q3rRkCvP.js +0 -1
- package/dist/paymentFailure-Bh60UhxA.mjs +0 -47
- package/dist/paymentFailure-Cki8c5BX.js +0 -1
- package/dist/paymentMethods-CWlvwK5V.mjs +0 -77
- package/dist/paymentMethods-Cw-i95mM.js +0 -1
- package/dist/payments-2qeQdpiW.mjs +0 -45
- package/dist/payments-CS7_YcOW.js +0 -1
- package/dist/paypal.svg.es-Cjp5sNI3.js +0 -1
- package/dist/pricing-BOqG21f9.js +0 -1
- package/dist/pricing.es-C07bgEZx.js +0 -1
- package/dist/pricingItemConfigs.es-D4aYkYcf.js +0 -1
- package/dist/pricingItemConfigs.es-ORxsk_YS.mjs +0 -77
- package/dist/pricingPlanSchedule-BM8vsKkV.js +0 -1
- package/dist/pricingPlanSchedules-B_sTAIgU.js +0 -1
- package/dist/pricingPlanSchedules-ChQCbMfe.mjs +0 -32
- package/dist/pulse.svg.es-Dit33E8S.js +0 -1
- package/dist/screens/Checkout/Checkout.cjs +0 -1
- package/dist/screens/CustomerOverview/CustomerOverview.cjs +0 -1
- package/dist/screens/PayInvoice/PayInvoice.cjs +0 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +0 -1
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +0 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +0 -1
- package/dist/sepa.svg.es-0t4DKeA1.js +0 -1
- package/dist/sessionReference-3h-6FdrC.mjs +0 -43
- package/dist/sessionReference-m_6Rp4X1.js +0 -1
- package/dist/slots.es-T9ZJRGtG.js +0 -1
- package/dist/sorting.es-DCihKqD2.mjs +0 -77
- package/dist/sorting.es-DQsjKr8A.js +0 -1
- package/dist/star.svg.es-D2JncY7b.js +0 -1
- package/dist/subscription-D1yHKUNc.mjs +0 -69
- package/dist/subscription-ZA62t4E9.js +0 -1
- package/dist/subscriptions-DcfcBYAq.mjs +0 -55
- package/dist/subscriptions-DwVsf4Ev.js +0 -1
- package/dist/trustly.svg.es-GJByiFAs.js +0 -1
- package/dist/twint.svg.es-BJ2f48og.js +0 -1
- package/dist/typeGuards.es-DS3vZaJn.js +0 -1
- package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +0 -14
- package/dist/types/components/payments/SubscriptionPaymentCompletedCard/SubscriptionPaymentCompletedCard.types.d.ts +0 -3
- package/dist/types/components/subscriptions/PlanCustomizationForm/AddonSingleEditor.types.d.ts +0 -5
- package/dist/types/services/portals.types.d.ts +0 -70
- package/dist/types/types/subscription.d.ts +0 -4
- package/dist/unionpay.svg.es-DjFZ5EMQ.js +0 -1
- package/dist/url-TNRgVI8A.mjs +0 -21
- package/dist/url-vloPOiXd.js +0 -1
- package/dist/useActionDispatchProvider-B3AvkLL2.mjs +0 -11
- package/dist/useActionDispatchProvider-DFhppdve.js +0 -1
- package/dist/useCustomer-BwZKd9i5.js +0 -1
- package/dist/useCustomerFormLabels-BQk3d9PZ.mjs +0 -968
- package/dist/useCustomerFormLabels-DV9QiMYh.js +0 -1
- package/dist/useExperimentalFeature-BciA3Ok9.mjs +0 -135
- package/dist/useExperimentalFeature-CGIkgFR4.js +0 -1
- package/dist/useIncrementalLoading-CaWOE8Xl.js +0 -1
- package/dist/useIncrementalLoading-Cgxw2GD7.mjs +0 -48
- package/dist/useInvoiceData-BocKdeg7.mjs +0 -38
- package/dist/useInvoiceData-CNV_FMV8.js +0 -1
- package/dist/useInvoicesList-C8nsXMJ6.mjs +0 -500
- package/dist/useInvoicesList-S0IbQcrD.js +0 -1
- package/dist/useLoadInitialData-D9GkzY8t.mjs +0 -15
- package/dist/useLoadInitialData-D_R6Jy1s.js +0 -1
- package/dist/usePaymentMethodAvailability-BO_guwAw.js +0 -1
- package/dist/usePaymentMethodOptions-1vRAo6Ib.mjs +0 -39
- package/dist/usePaymentMethodOptions-CuzOoi2k.js +0 -1
- package/dist/usePaymentMethods-CbwnGONc.mjs +0 -15
- package/dist/usePaymentMethods-DDaTZQZp.js +0 -1
- package/dist/usePayments-DDSjo0rH.js +0 -1
- package/dist/usePortal-C27omjhz.js +0 -1
- package/dist/usePortal-C5AsegpS.mjs +0 -11
- package/dist/useService-Bh47bllz.mjs +0 -50
- package/dist/useService-H7BjLg8P.js +0 -1
- package/dist/useSubscription-BZJL0VOA.mjs +0 -210
- package/dist/useSubscription-D787IXY-.js +0 -1
- package/dist/useTimePeriod.es-rzxqUCTu.js +0 -1
- package/dist/useViewport-BgdA2PPt.mjs +0 -29
- package/dist/useViewport-hPRVDWCm.js +0 -1
- package/dist/useWatchDebounced-B8iX7ykx.js +0 -1
- package/dist/useWatchDebounced-BHlBPcXB.mjs +0 -20
- package/dist/visa.svg.es-NY3BHhda.js +0 -1
- package/dist/vpay.svg.es-VViQi42w.js +0 -1
- package/dist/wallets.es-CNIMW5ay.js +0 -1
- package/dist/zip.svg.es-C9S_F31W.js +0 -1
package/dist/{PaymentIntegrationFormAdyen-Yr8p5Fly.mjs → PaymentIntegrationFormAdyen-DqgDfO6K.mjs}
RENAMED
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { a as
|
|
3
|
-
import { a as
|
|
4
|
-
import { _ as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { c as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { defineComponent as de, computed as b, 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-BZcbUZHI.mjs";
|
|
3
|
+
import { a as ce, d as re, e as Fe } from "./customElements-BTj4ii4f.mjs";
|
|
4
|
+
import { _ as xe } from "./PaymentCompletedCard.vue_vue_type_script_setup_true_lang-DfTb9psX.mjs";
|
|
5
|
+
import { _ as Be } from "./PaymentErrorCard.vue_vue_type_script_setup_true_lang-BoGTtg5G.mjs";
|
|
6
|
+
import { c as Ue } from "./payments-BnxbzQUC.mjs";
|
|
7
|
+
import { c as Ye } from "./paymentMethods-B_82JGk_.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-ByUZi3A-.mjs";
|
|
9
|
+
import { t as Ve } from "./amount-CondixVt.mjs";
|
|
10
|
+
import { l as $e } from "./adyenSdk-B01MB9Ia.mjs";
|
|
11
|
+
import { c as We, a as Je, g as qe, i as Qe, b as Xe } from "./paymentOutcome-BXEU5-84.mjs";
|
|
12
|
+
const et = ".adyen-checkout__payment-method--sepadirectdebit .adyen-checkout__payment-method__details__content";
|
|
13
|
+
function tt(u) {
|
|
14
|
+
return (u == null ? void 0 : u.querySelector(et)) ?? null;
|
|
14
15
|
}
|
|
15
|
-
function
|
|
16
|
-
return !!
|
|
16
|
+
function nt(u, l) {
|
|
17
|
+
return !!u && !!l && !u.contains(l);
|
|
17
18
|
}
|
|
18
|
-
const
|
|
19
|
-
let
|
|
20
|
-
return
|
|
19
|
+
const at = (u) => {
|
|
20
|
+
let l = {};
|
|
21
|
+
return u === "TOKENIZE" && (l = {
|
|
21
22
|
"en-US": {
|
|
22
23
|
payButton: "Add payment method",
|
|
23
24
|
confirmPurchase: "Add payment method"
|
|
@@ -142,76 +143,76 @@ const Ze = (c) => {
|
|
|
142
143
|
payButton: "Pridėti mokėjimo metodą",
|
|
143
144
|
confirmPurchase: "Pridėti mokėjimo metodą"
|
|
144
145
|
}
|
|
145
|
-
}),
|
|
146
|
-
},
|
|
146
|
+
}), l;
|
|
147
|
+
}, ot = { class: "sv-sepa-mandate mt-3" }, rt = /* @__PURE__ */ de({
|
|
147
148
|
__name: "SepaMandateNotice",
|
|
148
149
|
props: {
|
|
149
150
|
billingEntityName: { type: String }
|
|
150
151
|
},
|
|
151
|
-
setup(
|
|
152
|
-
const
|
|
152
|
+
setup(u) {
|
|
153
|
+
const l = u, { $t: E } = ce(), r = b(
|
|
153
154
|
() => E({
|
|
154
155
|
defaultMessage: "SEPA Direct Debit mandate — recurring payments",
|
|
155
156
|
description: "Title of the SEPA direct debit mandate shown inside the SEPA payment form",
|
|
156
157
|
id: "payments.sepa_mandate.title"
|
|
157
158
|
})
|
|
158
|
-
),
|
|
159
|
-
() =>
|
|
159
|
+
), k = b(
|
|
160
|
+
() => l.billingEntityName ? E(
|
|
160
161
|
{
|
|
161
162
|
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.",
|
|
162
163
|
description: "SEPA direct debit mandate authorisation, naming the billing entity",
|
|
163
164
|
id: "payments.sepa_mandate.authorisation"
|
|
164
165
|
},
|
|
165
|
-
{ billingEntityName:
|
|
166
|
+
{ billingEntityName: l.billingEntityName }
|
|
166
167
|
) : E({
|
|
167
168
|
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.",
|
|
168
169
|
description: "SEPA direct debit mandate authorisation, where the billing entity is not known",
|
|
169
170
|
id: "payments.sepa_mandate.authorisation_unnamed"
|
|
170
171
|
})
|
|
171
|
-
), a =
|
|
172
|
-
() =>
|
|
172
|
+
), a = b(
|
|
173
|
+
() => l.billingEntityName ? E(
|
|
173
174
|
{
|
|
174
175
|
defaultMessage: "This bank account will be used automatically to pay subsequent invoices from {billingEntityName} until you cancel this mandate.",
|
|
175
176
|
description: "Explains that the SEPA mandate covers later invoices, naming the billing entity",
|
|
176
177
|
id: "payments.sepa_mandate.recurrence"
|
|
177
178
|
},
|
|
178
|
-
{ billingEntityName:
|
|
179
|
+
{ billingEntityName: l.billingEntityName }
|
|
179
180
|
) : E({
|
|
180
181
|
defaultMessage: "This bank account will be used automatically to pay subsequent invoices until you cancel this mandate.",
|
|
181
182
|
description: "Explains that the SEPA mandate covers later invoices, where the billing entity is not known",
|
|
182
183
|
id: "payments.sepa_mandate.recurrence_unnamed"
|
|
183
184
|
})
|
|
184
|
-
), p =
|
|
185
|
+
), p = b(
|
|
185
186
|
() => E({
|
|
186
187
|
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.",
|
|
187
188
|
description: "SEPA direct debit mandate refund rights, held against the payer's own bank",
|
|
188
189
|
id: "payments.sepa_mandate.refund_rights"
|
|
189
190
|
})
|
|
190
191
|
);
|
|
191
|
-
return (y,
|
|
192
|
-
|
|
192
|
+
return (y, w) => (N(), K("div", ot, [
|
|
193
|
+
H(te(re), {
|
|
193
194
|
tag: "p",
|
|
194
195
|
variant: "body-xs",
|
|
195
196
|
class: "font-semibold"
|
|
196
197
|
}, {
|
|
197
|
-
default:
|
|
198
|
-
|
|
198
|
+
default: ne(() => [
|
|
199
|
+
ae(C(r.value), 1)
|
|
199
200
|
]),
|
|
200
201
|
_: 1
|
|
201
202
|
}),
|
|
202
|
-
|
|
203
|
+
H(te(re), {
|
|
203
204
|
tag: "p",
|
|
204
205
|
variant: "body-xs",
|
|
205
206
|
color: "subtle"
|
|
206
207
|
}, {
|
|
207
|
-
default:
|
|
208
|
-
|
|
208
|
+
default: ne(() => [
|
|
209
|
+
ae(C(k.value) + " " + C(a.value) + " " + C(p.value), 1)
|
|
209
210
|
]),
|
|
210
211
|
_: 1
|
|
211
212
|
})
|
|
212
213
|
]));
|
|
213
214
|
}
|
|
214
|
-
}),
|
|
215
|
+
}), D = "ADYEN", se = "data-sv-adyen-styles", ft = /* @__PURE__ */ de({
|
|
215
216
|
__name: "PaymentIntegrationFormAdyen",
|
|
216
217
|
props: {
|
|
217
218
|
context: { type: Object },
|
|
@@ -226,26 +227,29 @@ const Ze = (c) => {
|
|
|
226
227
|
forceStorePaymentMethod: { type: Boolean },
|
|
227
228
|
storePaymentMethod: { type: Boolean, default: void 0 },
|
|
228
229
|
redirectsOnSuccess: { type: Boolean },
|
|
229
|
-
billingEntityName: { type: String }
|
|
230
|
+
billingEntityName: { type: String },
|
|
231
|
+
collapsed: { type: Boolean }
|
|
230
232
|
},
|
|
231
|
-
emits: ["select", "payment-failed", "payment-success", "invalid", "ready"],
|
|
232
|
-
setup(
|
|
233
|
-
let r = null,
|
|
234
|
-
const a =
|
|
235
|
-
|
|
236
|
-
const y =
|
|
237
|
-
let
|
|
238
|
-
const
|
|
233
|
+
emits: ["select", "payment-failed", "payment-success", "invalid", "submitting", "action-required", "ready"],
|
|
234
|
+
setup(u, { expose: l, emit: E }) {
|
|
235
|
+
let r = null, k = null;
|
|
236
|
+
const a = u, p = E;
|
|
237
|
+
l({ submit: ye });
|
|
238
|
+
const y = M(), w = M(null), I = M(null);
|
|
239
|
+
let f;
|
|
240
|
+
const L = M(!1), g = M();
|
|
241
|
+
let S = !1, A = !1, v = 0, P, F = !1;
|
|
242
|
+
const d = Fe(), { locale: ue } = ce(), { authorizePayment: me, getPaymentDetails: pe } = Ue(), { tokenizePaymentMethod: le } = Ye(), x = je(), V = b(
|
|
239
243
|
() => {
|
|
240
244
|
var e;
|
|
241
|
-
return
|
|
242
|
-
excludeExpressPaymentMethods: !!((e =
|
|
245
|
+
return Ze(a.paymentMethodOptionResponseEntry, {
|
|
246
|
+
excludeExpressPaymentMethods: !!((e = x == null ? void 0 : x.value) != null && e["express-checkout"])
|
|
243
247
|
});
|
|
244
248
|
}
|
|
245
|
-
),
|
|
246
|
-
function
|
|
247
|
-
return
|
|
248
|
-
gateway:
|
|
249
|
+
), $ = b(() => V.value.length > 0);
|
|
250
|
+
function m(e) {
|
|
251
|
+
return We({
|
|
252
|
+
gateway: D,
|
|
249
253
|
paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
250
254
|
variant: a.variant,
|
|
251
255
|
invoiceId: a.invoiceId,
|
|
@@ -253,56 +257,78 @@ const Ze = (c) => {
|
|
|
253
257
|
...e
|
|
254
258
|
});
|
|
255
259
|
}
|
|
256
|
-
function
|
|
257
|
-
|
|
258
|
-
|
|
260
|
+
function _(e) {
|
|
261
|
+
A = !1;
|
|
262
|
+
const t = Je(e);
|
|
263
|
+
g.value = t, p("payment-failed", t);
|
|
264
|
+
}
|
|
265
|
+
function W() {
|
|
266
|
+
A = !1, B(), L.value = !0, p("payment-success");
|
|
267
|
+
}
|
|
268
|
+
function O(e, t = {}, n) {
|
|
269
|
+
B(), d.warn(
|
|
270
|
+
"PAYMENT_OUTCOME_UNCONFIRMED",
|
|
271
|
+
"The payment outcome could not be confirmed yet",
|
|
272
|
+
m({ reason: e, extra: t, cause: n }),
|
|
273
|
+
n
|
|
274
|
+
), _({
|
|
275
|
+
code: "PAYMENT_OUTCOME_UNCONFIRMED",
|
|
276
|
+
message: "Payment could not be confirmed",
|
|
277
|
+
error: n
|
|
278
|
+
});
|
|
279
|
+
}
|
|
280
|
+
function B() {
|
|
281
|
+
S = !0, Y();
|
|
259
282
|
}
|
|
260
|
-
function
|
|
261
|
-
if (!
|
|
262
|
-
if (r &&
|
|
263
|
-
|
|
283
|
+
function ye() {
|
|
284
|
+
if (!A) {
|
|
285
|
+
if (!(r != null && r.isValid)) {
|
|
286
|
+
if (r && !r.activePaymentMethod) {
|
|
287
|
+
p("invalid", "NO_PAYMENT_METHOD");
|
|
288
|
+
return;
|
|
289
|
+
}
|
|
290
|
+
r == null || r.showValidation(), p("invalid");
|
|
264
291
|
return;
|
|
265
292
|
}
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
error: e
|
|
281
|
-
});
|
|
293
|
+
try {
|
|
294
|
+
r.submit();
|
|
295
|
+
} catch (e) {
|
|
296
|
+
d.error(
|
|
297
|
+
"ADYEN_SUBMIT_FAILED",
|
|
298
|
+
"Failed to submit Adyen drop-in",
|
|
299
|
+
m({ reason: "ADYEN_SUBMIT_FAILED", cause: e }),
|
|
300
|
+
e
|
|
301
|
+
), _({
|
|
302
|
+
code: a.variant === "TOKENIZE" ? "TOKENIZE_FAILED" : "AUTHORIZATION_FAILED",
|
|
303
|
+
message: "Failed to submit Adyen drop-in",
|
|
304
|
+
error: e
|
|
305
|
+
});
|
|
306
|
+
}
|
|
282
307
|
}
|
|
283
308
|
}
|
|
284
|
-
async function
|
|
285
|
-
const e =
|
|
309
|
+
async function he() {
|
|
310
|
+
const e = Ve(a.amount), t = V.value, n = a.selected;
|
|
311
|
+
let o = !1;
|
|
286
312
|
return {
|
|
287
313
|
checkoutConfig: {
|
|
288
314
|
amount: e,
|
|
289
|
-
clientKey:
|
|
315
|
+
clientKey: He(
|
|
290
316
|
a.paymentMethodOptionResponseEntry
|
|
291
317
|
),
|
|
292
|
-
environment:
|
|
318
|
+
environment: Ke(
|
|
293
319
|
a.paymentMethodOptionResponseEntry,
|
|
294
|
-
|
|
320
|
+
d
|
|
295
321
|
),
|
|
296
|
-
locale:
|
|
297
|
-
translations:
|
|
322
|
+
locale: ue,
|
|
323
|
+
translations: at(a.variant),
|
|
298
324
|
countryCode: a.countryCode,
|
|
299
325
|
analytics: { enabled: !1 },
|
|
300
326
|
paymentMethodsResponse: { paymentMethods: t },
|
|
301
|
-
onSubmit:
|
|
302
|
-
onAdditionalDetails:
|
|
303
|
-
onPaymentCompleted:
|
|
304
|
-
onPaymentFailed:
|
|
305
|
-
onError:
|
|
327
|
+
onSubmit: ge,
|
|
328
|
+
onAdditionalDetails: Te,
|
|
329
|
+
onPaymentCompleted: ve,
|
|
330
|
+
onPaymentFailed: be,
|
|
331
|
+
onError: Pe,
|
|
306
332
|
showPayButton: !1
|
|
307
333
|
},
|
|
308
334
|
dropInConfig: {
|
|
@@ -318,76 +344,93 @@ const Ze = (c) => {
|
|
|
318
344
|
showPayButton: !0
|
|
319
345
|
}
|
|
320
346
|
},
|
|
321
|
-
openFirstPaymentMethod:
|
|
322
|
-
onSelect: ({ props: { type:
|
|
323
|
-
|
|
347
|
+
openFirstPaymentMethod: n,
|
|
348
|
+
onSelect: ({ props: { type: s } }) => {
|
|
349
|
+
if (!s) return;
|
|
350
|
+
const i = n && !o;
|
|
351
|
+
o = !0, p("select", {
|
|
352
|
+
paymentMethodType: s,
|
|
353
|
+
paymentGatewayVariant: "ADYEN",
|
|
354
|
+
...i && { isAutomatic: !0 }
|
|
355
|
+
});
|
|
324
356
|
},
|
|
325
357
|
onReady: () => p("ready")
|
|
326
358
|
}
|
|
327
359
|
};
|
|
328
360
|
}
|
|
329
|
-
function
|
|
361
|
+
function _e() {
|
|
330
362
|
return Promise.all([
|
|
331
|
-
|
|
363
|
+
$e(),
|
|
332
364
|
import("./adyen-Bugab0JE.mjs").then((e) => e.default)
|
|
333
365
|
]);
|
|
334
366
|
}
|
|
335
|
-
async function
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
}
|
|
346
|
-
if (await V(), !!y.value)
|
|
347
|
-
try {
|
|
348
|
-
const [e, t] = await re(), { checkoutConfig: o, dropInConfig: n } = await oe();
|
|
349
|
-
b = await e.AdyenCheckout(o), r = new e.Dropin(b, {
|
|
350
|
-
...n,
|
|
351
|
-
paymentMethodComponents: e.dropInPaymentMethodComponents
|
|
352
|
-
}).mount(y.value), se(t), ie();
|
|
353
|
-
} catch (e) {
|
|
354
|
-
i.error(
|
|
355
|
-
"PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
|
|
356
|
-
"Failed to mount Adyen web drop-in",
|
|
357
|
-
u({ reason: "ADYEN_DROP_IN_MOUNT_FAILED", cause: e }),
|
|
358
|
-
e
|
|
359
|
-
), h({
|
|
360
|
-
code: "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
|
|
361
|
-
message: "Failed to mount Adyen web drop-in",
|
|
362
|
-
error: e
|
|
367
|
+
async function U() {
|
|
368
|
+
const e = ++v, t = () => e !== v;
|
|
369
|
+
if (!(S || F)) {
|
|
370
|
+
if (await Y(), g.value = void 0, !$.value) {
|
|
371
|
+
const { payment_acceptor: n, integration: o } = a.paymentMethodOptionResponseEntry;
|
|
372
|
+
d.warn("PAYMENT_INTEGRATION_NOT_RENDERABLE", "No Adyen payment methods to offer", {
|
|
373
|
+
fingerprint: ["PAYMENT_INTEGRATION_NOT_RENDERABLE", n.id],
|
|
374
|
+
paymentAcceptorId: n.id,
|
|
375
|
+
integrationId: o.id,
|
|
376
|
+
...a.invoiceId ? { invoiceId: a.invoiceId } : {}
|
|
363
377
|
});
|
|
378
|
+
return;
|
|
364
379
|
}
|
|
380
|
+
if (await oe(), !(t() || !y.value))
|
|
381
|
+
try {
|
|
382
|
+
const [n, o] = await _e();
|
|
383
|
+
if (t()) return;
|
|
384
|
+
const { checkoutConfig: s, dropInConfig: i } = await he(), c = await n.AdyenCheckout(s);
|
|
385
|
+
if (t() || S || !y.value) return;
|
|
386
|
+
k = c, r = new n.Dropin(k, {
|
|
387
|
+
...i,
|
|
388
|
+
paymentMethodComponents: n.dropInPaymentMethodComponents
|
|
389
|
+
}).mount(y.value), Ae(o), fe();
|
|
390
|
+
} catch (n) {
|
|
391
|
+
if (t()) return;
|
|
392
|
+
d.error(
|
|
393
|
+
"PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
|
|
394
|
+
"Failed to mount Adyen web drop-in",
|
|
395
|
+
m({ reason: "ADYEN_DROP_IN_MOUNT_FAILED", cause: n }),
|
|
396
|
+
n
|
|
397
|
+
), _({
|
|
398
|
+
code: "PAYMENT_INTEGRATION_INITIALIZATION_FAILED",
|
|
399
|
+
message: "Failed to mount Adyen web drop-in",
|
|
400
|
+
error: n
|
|
401
|
+
});
|
|
402
|
+
}
|
|
403
|
+
}
|
|
365
404
|
}
|
|
366
|
-
function
|
|
367
|
-
const e =
|
|
368
|
-
if (
|
|
369
|
-
|
|
405
|
+
function J() {
|
|
406
|
+
const e = tt(y.value);
|
|
407
|
+
if (nt(e, w.value)) {
|
|
408
|
+
I.value = null, oe(() => I.value = e);
|
|
370
409
|
return;
|
|
371
410
|
}
|
|
372
|
-
|
|
411
|
+
I.value = e;
|
|
373
412
|
}
|
|
374
|
-
function
|
|
375
|
-
|
|
413
|
+
function fe() {
|
|
414
|
+
f == null || f.disconnect(), y.value && (f = new MutationObserver(() => J()), f.observe(y.value, { childList: !0, subtree: !0 }), J());
|
|
376
415
|
}
|
|
377
|
-
function
|
|
378
|
-
|
|
416
|
+
function Ee() {
|
|
417
|
+
f == null || f.disconnect(), f = void 0, I.value = null;
|
|
379
418
|
}
|
|
380
419
|
async function Y() {
|
|
381
|
-
|
|
420
|
+
Ee(), r && (r.unmount(), r = null), y.value && (y.value.innerHTML = "");
|
|
421
|
+
}
|
|
422
|
+
function j(e, t, n) {
|
|
423
|
+
if (e.querySelector(`style[${se}="${t}"]`)) return;
|
|
424
|
+
const o = document.createElement("style");
|
|
425
|
+
o.setAttribute(se, t), o.textContent = n, e.appendChild(o);
|
|
382
426
|
}
|
|
383
|
-
function
|
|
384
|
-
var
|
|
385
|
-
const t = (
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
d.textContent = `
|
|
427
|
+
function Ae(e) {
|
|
428
|
+
var n;
|
|
429
|
+
const t = (n = y.value) == null ? void 0 : n.getRootNode();
|
|
430
|
+
t instanceof ShadowRoot && (j(t, "sdk", e), j(
|
|
431
|
+
t,
|
|
432
|
+
"overrides",
|
|
433
|
+
`
|
|
391
434
|
:host {
|
|
392
435
|
--adyen-sdk-color-background-secondary: transparent;
|
|
393
436
|
--adyen-sdk-color-background-primary: rgb(243 244 246 / 0.5);
|
|
@@ -480,335 +523,403 @@ const Ze = (c) => {
|
|
|
480
523
|
.adyen-checkout__checkbox__input + .adyen-checkout__checkbox__label:after {
|
|
481
524
|
border-color: rgb(229, 231, 235);
|
|
482
525
|
}
|
|
483
|
-
|
|
526
|
+
`
|
|
527
|
+
), a.variant === "AUTHORIZE" && j(
|
|
528
|
+
t,
|
|
529
|
+
"authorize",
|
|
530
|
+
`
|
|
484
531
|
.adyen-checkout__payment-method--cashapp .adyen-checkout-pm-details-wrapper {
|
|
485
532
|
display: none;
|
|
486
533
|
}
|
|
487
|
-
`
|
|
488
|
-
|
|
534
|
+
`
|
|
535
|
+
));
|
|
489
536
|
}
|
|
490
|
-
function
|
|
537
|
+
function q(e, {
|
|
491
538
|
paymentMethodType: t,
|
|
492
|
-
actions:
|
|
493
|
-
logFailure:
|
|
539
|
+
actions: n,
|
|
540
|
+
logFailure: o
|
|
494
541
|
}) {
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
542
|
+
var i;
|
|
543
|
+
if (e.status === "ACTION_REQUIRED" && e.action.payment_gateway_variant === D) {
|
|
544
|
+
const c = Ie(e, t);
|
|
545
|
+
if (!c) {
|
|
546
|
+
o(e);
|
|
499
547
|
return;
|
|
500
548
|
}
|
|
501
|
-
|
|
549
|
+
p("action-required"), n.resolve({
|
|
502
550
|
resultCode: e.action.adyen.result_code,
|
|
503
|
-
action:
|
|
551
|
+
action: c
|
|
504
552
|
});
|
|
505
553
|
return;
|
|
506
554
|
}
|
|
507
|
-
|
|
508
|
-
|
|
555
|
+
const s = Xe(e);
|
|
556
|
+
if (s === "SUCCEEDED") {
|
|
557
|
+
L.value = !0, n.resolve({ resultCode: "Authorised" });
|
|
558
|
+
return;
|
|
559
|
+
}
|
|
560
|
+
if (s === "UNCONFIRMED") {
|
|
561
|
+
O("PAYMENT_PENDING", {
|
|
562
|
+
paymentStatus: e.status,
|
|
563
|
+
paymentResult: (i = e.payment) == null ? void 0 : i.result,
|
|
564
|
+
paymentMethodType: t
|
|
565
|
+
});
|
|
509
566
|
return;
|
|
510
567
|
}
|
|
511
|
-
|
|
568
|
+
o(e), n.resolve({ resultCode: "Error" });
|
|
512
569
|
}
|
|
513
|
-
function
|
|
514
|
-
const [t,
|
|
515
|
-
a.validateOnSubmit().then((
|
|
516
|
-
if (!
|
|
517
|
-
r == null || r.setStatus("ready"), p("invalid");
|
|
570
|
+
function ge(...e) {
|
|
571
|
+
const [t, n, o] = e;
|
|
572
|
+
A || (A = !0, a.validateOnSubmit().then((s) => {
|
|
573
|
+
if (!s) {
|
|
574
|
+
A = !1, r == null || r.setStatus("ready"), p("invalid");
|
|
518
575
|
return;
|
|
519
576
|
}
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
577
|
+
p("submitting");
|
|
578
|
+
const i = a.paymentMethodOptionResponseEntry.payment_acceptor.id, c = {
|
|
579
|
+
risk_data: G(t.data.riskData),
|
|
580
|
+
payment_method: G(t.data.paymentMethod),
|
|
581
|
+
browser_info: G(t.data.browserInfo)
|
|
524
582
|
};
|
|
525
583
|
if (a.variant === "AUTHORIZE") {
|
|
526
|
-
const
|
|
584
|
+
const T = ie({
|
|
527
585
|
paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
528
586
|
redirectUrl: window.location.href
|
|
529
587
|
});
|
|
530
|
-
|
|
531
|
-
payment_acceptor_id:
|
|
588
|
+
me({
|
|
589
|
+
payment_acceptor_id: i,
|
|
532
590
|
...a.customerId ? { customer_id: a.customerId } : {},
|
|
533
|
-
payment_gateway_variant:
|
|
591
|
+
payment_gateway_variant: D,
|
|
534
592
|
adyen: {
|
|
535
|
-
...
|
|
593
|
+
...c,
|
|
536
594
|
store_payment_method: a.storePaymentMethod ?? (a.forceStorePaymentMethod || t.data.storePaymentMethod)
|
|
537
595
|
},
|
|
538
596
|
amount: a.amount,
|
|
539
597
|
...a.context ? { context: a.context } : {},
|
|
540
|
-
return_url:
|
|
598
|
+
return_url: T
|
|
541
599
|
}).then(
|
|
542
|
-
(
|
|
600
|
+
(h) => q(h, {
|
|
543
601
|
paymentMethodType: t.data.paymentMethod.type,
|
|
544
|
-
actions:
|
|
545
|
-
logFailure: (
|
|
602
|
+
actions: o,
|
|
603
|
+
logFailure: (R) => d.error(
|
|
546
604
|
"PAYMENT_AUTHORIZATION_FAILED",
|
|
547
|
-
`Failed payment authorization for payment acceptor with id ${
|
|
548
|
-
|
|
605
|
+
`Failed payment authorization for payment acceptor with id ${i}`,
|
|
606
|
+
m({
|
|
549
607
|
reason: "PAYMENT_AUTHORIZATION_REJECTED",
|
|
550
608
|
paymentMethodType: t.data.paymentMethod.type,
|
|
551
|
-
cause:
|
|
609
|
+
cause: R
|
|
552
610
|
}),
|
|
553
|
-
|
|
611
|
+
R
|
|
554
612
|
)
|
|
555
613
|
})
|
|
556
|
-
).catch((
|
|
557
|
-
|
|
614
|
+
).catch((h) => {
|
|
615
|
+
if (d.error(
|
|
558
616
|
"PAYMENT_AUTHORIZATION_FAILED",
|
|
559
|
-
`Failed payment authorization for payment acceptor with id ${
|
|
560
|
-
|
|
617
|
+
`Failed payment authorization for payment acceptor with id ${i}`,
|
|
618
|
+
m({
|
|
561
619
|
reason: "PAYMENT_AUTHORIZATION_FAILED",
|
|
562
620
|
paymentMethodType: t.data.paymentMethod.type,
|
|
563
|
-
cause:
|
|
621
|
+
cause: h
|
|
564
622
|
}),
|
|
565
|
-
|
|
566
|
-
),
|
|
623
|
+
h
|
|
624
|
+
), Qe(h)) {
|
|
625
|
+
O(
|
|
626
|
+
"PAYMENT_AUTHORIZATION_UNANSWERED",
|
|
627
|
+
{ paymentMethodType: t.data.paymentMethod.type },
|
|
628
|
+
h
|
|
629
|
+
);
|
|
630
|
+
return;
|
|
631
|
+
}
|
|
632
|
+
o.resolve({ resultCode: "Error" });
|
|
567
633
|
});
|
|
568
634
|
return;
|
|
569
635
|
}
|
|
570
636
|
if (a.variant === "TOKENIZE") {
|
|
571
|
-
const
|
|
637
|
+
const T = ie({
|
|
572
638
|
paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
573
639
|
redirectUrl: window.location.href
|
|
574
640
|
});
|
|
575
641
|
if (!a.customerId) {
|
|
576
|
-
|
|
642
|
+
d.error(
|
|
577
643
|
"TOKENIZATION_FAILED",
|
|
578
|
-
`Missing customer id for payment acceptor with id ${
|
|
579
|
-
|
|
580
|
-
),
|
|
644
|
+
`Missing customer id for payment acceptor with id ${i}`,
|
|
645
|
+
m({ reason: "TOKENIZATION_FAILED_NO_CUSTOMER" })
|
|
646
|
+
), _({ code: "TOKENIZE_FAILED", message: "Missing customer id" });
|
|
581
647
|
return;
|
|
582
648
|
}
|
|
583
|
-
|
|
649
|
+
le({
|
|
584
650
|
customer_id: a.customerId,
|
|
585
|
-
payment_acceptor_id:
|
|
586
|
-
payment_gateway_variant:
|
|
587
|
-
adyen:
|
|
588
|
-
return_url:
|
|
651
|
+
payment_acceptor_id: i,
|
|
652
|
+
payment_gateway_variant: D,
|
|
653
|
+
adyen: c,
|
|
654
|
+
return_url: T
|
|
589
655
|
}).then(
|
|
590
|
-
(
|
|
656
|
+
(h) => q(h, {
|
|
591
657
|
paymentMethodType: t.data.paymentMethod.type,
|
|
592
|
-
actions:
|
|
593
|
-
logFailure: (
|
|
658
|
+
actions: o,
|
|
659
|
+
logFailure: (R) => d.error(
|
|
594
660
|
"TOKENIZATION_FAILED",
|
|
595
|
-
`Tokenization failed for payment acceptor with id ${
|
|
596
|
-
|
|
661
|
+
`Tokenization failed for payment acceptor with id ${i}`,
|
|
662
|
+
m({
|
|
597
663
|
reason: "TOKENIZATION_REJECTED",
|
|
598
664
|
paymentMethodType: t.data.paymentMethod.type,
|
|
599
|
-
cause:
|
|
665
|
+
cause: R
|
|
600
666
|
}),
|
|
601
|
-
|
|
667
|
+
R
|
|
602
668
|
)
|
|
603
669
|
})
|
|
604
|
-
).catch((
|
|
605
|
-
|
|
670
|
+
).catch((h) => {
|
|
671
|
+
d.error(
|
|
606
672
|
"TOKENIZATION_FAILED",
|
|
607
|
-
`Tokenization failed for payment acceptor with id ${
|
|
608
|
-
|
|
673
|
+
`Tokenization failed for payment acceptor with id ${i}`,
|
|
674
|
+
m({
|
|
609
675
|
reason: "TOKENIZATION_FAILED",
|
|
610
676
|
paymentMethodType: t.data.paymentMethod.type,
|
|
611
|
-
cause:
|
|
677
|
+
cause: h
|
|
612
678
|
}),
|
|
613
|
-
|
|
614
|
-
),
|
|
679
|
+
h
|
|
680
|
+
), o.resolve({ resultCode: "Error" });
|
|
615
681
|
});
|
|
616
682
|
}
|
|
617
|
-
}).catch((
|
|
618
|
-
|
|
683
|
+
}).catch((s) => {
|
|
684
|
+
d.error(
|
|
619
685
|
"INTEGRATION_ERROR",
|
|
620
686
|
"Unhandled error in payment submission flow",
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
);
|
|
624
|
-
});
|
|
687
|
+
m({ reason: "ADYEN_SUBMISSION_FLOW_FAILED", cause: s }),
|
|
688
|
+
s
|
|
689
|
+
), A = !1, r == null || r.setStatus("ready"), p("invalid");
|
|
690
|
+
}));
|
|
625
691
|
}
|
|
626
|
-
function
|
|
692
|
+
function Ie(e, t) {
|
|
627
693
|
if (e.status !== "ACTION_REQUIRED")
|
|
628
694
|
return;
|
|
629
|
-
const
|
|
630
|
-
if (
|
|
695
|
+
const n = e.action;
|
|
696
|
+
if (n.payment_gateway_variant != "ADYEN")
|
|
631
697
|
return;
|
|
632
|
-
const
|
|
698
|
+
const o = n.adyen;
|
|
633
699
|
return {
|
|
634
|
-
paymentMethodType: (
|
|
635
|
-
method:
|
|
636
|
-
url:
|
|
637
|
-
data:
|
|
638
|
-
type:
|
|
639
|
-
paymentData:
|
|
640
|
-
sdkData:
|
|
700
|
+
paymentMethodType: (o == null ? void 0 : o.payment_method_type) ?? t,
|
|
701
|
+
method: n.method,
|
|
702
|
+
url: n.url,
|
|
703
|
+
data: n.data,
|
|
704
|
+
type: o == null ? void 0 : o.action_type,
|
|
705
|
+
paymentData: o == null ? void 0 : o.payment_data,
|
|
706
|
+
sdkData: o == null ? void 0 : o.sdk_data
|
|
641
707
|
};
|
|
642
708
|
}
|
|
643
|
-
function
|
|
644
|
-
const [t] = e, o = t.data.details,
|
|
709
|
+
function Te(...e) {
|
|
710
|
+
const [t, , n] = e, o = t.data.details, s = t.data.paymentData;
|
|
645
711
|
if (a.paymentMethodOptionResponseEntry.payment_acceptor.id) {
|
|
646
|
-
|
|
712
|
+
Q({
|
|
647
713
|
// For the moment: Adyen gives a null value back which is not accepted by Solvimon API, so filter that out
|
|
648
|
-
detailsResult: o ?
|
|
649
|
-
paymentDataResult:
|
|
650
|
-
paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id
|
|
714
|
+
detailsResult: o ? Ne(o) : void 0,
|
|
715
|
+
paymentDataResult: s,
|
|
716
|
+
paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
717
|
+
actions: n
|
|
651
718
|
});
|
|
652
719
|
return;
|
|
653
720
|
}
|
|
654
|
-
|
|
721
|
+
d.error(
|
|
655
722
|
"PAYMENT_ACCEPTOR_MISSING",
|
|
656
723
|
"Additional details arrived without a payment acceptor id",
|
|
657
|
-
|
|
658
|
-
),
|
|
724
|
+
m({ reason: "PAYMENT_ACCEPTOR_MISSING" })
|
|
725
|
+
), _({
|
|
659
726
|
code: "REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING",
|
|
660
727
|
message: "Payment failed",
|
|
661
728
|
error: e
|
|
662
729
|
});
|
|
663
730
|
}
|
|
664
|
-
function
|
|
731
|
+
function Ne(e) {
|
|
665
732
|
return Object.fromEntries(
|
|
666
733
|
Object.entries(e).filter(([, t]) => t != null)
|
|
667
734
|
);
|
|
668
735
|
}
|
|
669
|
-
function
|
|
736
|
+
function be(...e) {
|
|
670
737
|
const [t] = e;
|
|
671
|
-
|
|
738
|
+
d.error(
|
|
672
739
|
"ADYEN_PAYMENT_FAILED",
|
|
673
740
|
"Adyen reported the payment as failed",
|
|
674
|
-
|
|
741
|
+
m({
|
|
675
742
|
reason: "ADYEN_PAYMENT_FAILED",
|
|
676
743
|
extra: { resultCode: t == null ? void 0 : t.resultCode }
|
|
677
744
|
}),
|
|
678
745
|
t
|
|
679
|
-
),
|
|
746
|
+
), _({ code: "AUTHORIZATION_FAILED", message: "Payment failed", error: t });
|
|
680
747
|
}
|
|
681
|
-
function
|
|
748
|
+
function ve(...e) {
|
|
682
749
|
const [, t] = e;
|
|
683
|
-
t == null || t.unmount(),
|
|
750
|
+
t == null || t.unmount(), W();
|
|
684
751
|
}
|
|
685
|
-
function
|
|
686
|
-
const [t,
|
|
687
|
-
t.name
|
|
752
|
+
function Pe(...e) {
|
|
753
|
+
const [t, n] = e;
|
|
754
|
+
if (t.name === "CANCEL") {
|
|
755
|
+
A = !1, p("invalid");
|
|
756
|
+
return;
|
|
757
|
+
}
|
|
758
|
+
d.error(
|
|
688
759
|
"INTEGRATION_ERROR",
|
|
689
760
|
"The Adyen drop-in reported an error",
|
|
690
|
-
|
|
761
|
+
m({
|
|
691
762
|
reason: "ADYEN_INTEGRATION_ERROR",
|
|
692
763
|
cause: t,
|
|
693
764
|
extra: { adyenErrorName: t.name }
|
|
694
765
|
}),
|
|
695
766
|
t
|
|
696
|
-
),
|
|
767
|
+
), _({ code: "UNKNOWN_ERROR", message: "Something went wrong", error: t }), n == null || n.unmount();
|
|
697
768
|
}
|
|
698
|
-
function
|
|
769
|
+
function Q({
|
|
699
770
|
detailsResult: e,
|
|
700
771
|
threeDSResult: t,
|
|
701
|
-
redirectResult:
|
|
702
|
-
paymentDataResult:
|
|
703
|
-
paymentAcceptorId:
|
|
772
|
+
redirectResult: n,
|
|
773
|
+
paymentDataResult: o,
|
|
774
|
+
paymentAcceptorId: s,
|
|
775
|
+
actions: i
|
|
704
776
|
}) {
|
|
705
|
-
|
|
706
|
-
paymentAcceptorId:
|
|
707
|
-
paymentGatewayVariant:
|
|
777
|
+
return pe({
|
|
778
|
+
paymentAcceptorId: s,
|
|
779
|
+
paymentGatewayVariant: D,
|
|
708
780
|
adyen: {
|
|
709
781
|
...e ? { details: e } : {},
|
|
710
|
-
...
|
|
782
|
+
...n ? { redirect_result: n } : {},
|
|
711
783
|
...t ? { threeds_result: t } : {},
|
|
712
|
-
...
|
|
784
|
+
...o ? { payment_data: o } : {}
|
|
713
785
|
}
|
|
714
|
-
}).then((
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
), h({
|
|
725
|
-
code: "AUTHORIZATION_FAILED",
|
|
726
|
-
message: "Failed getting payment details",
|
|
727
|
-
error: s
|
|
786
|
+
}).then((c) => {
|
|
787
|
+
i || (P = void 0);
|
|
788
|
+
const T = qe(c);
|
|
789
|
+
if (T === "SUCCEEDED") {
|
|
790
|
+
i ? i.resolve({ resultCode: "Authorised" }) : W();
|
|
791
|
+
return;
|
|
792
|
+
}
|
|
793
|
+
if (T === "UNCONFIRMED") {
|
|
794
|
+
O("PAYMENT_DETAILS_UNCONFIRMED", {
|
|
795
|
+
paymentStatus: c.payment_status
|
|
728
796
|
});
|
|
729
797
|
return;
|
|
730
798
|
}
|
|
731
|
-
if (
|
|
732
|
-
|
|
799
|
+
if (d.error(
|
|
800
|
+
"PAYMENT_DETAILS_REJECTED",
|
|
801
|
+
"Payment details returned a failed payment",
|
|
802
|
+
m({
|
|
803
|
+
reason: "PAYMENT_DETAILS_REJECTED",
|
|
804
|
+
paymentAcceptorId: s,
|
|
805
|
+
extra: { paymentStatus: c.payment_status }
|
|
806
|
+
})
|
|
807
|
+
), i) {
|
|
808
|
+
i.resolve({ resultCode: "Refused" });
|
|
733
809
|
return;
|
|
734
810
|
}
|
|
735
|
-
|
|
736
|
-
|
|
811
|
+
_({
|
|
812
|
+
code: "AUTHORIZATION_FAILED",
|
|
813
|
+
message: "Failed getting payment details",
|
|
814
|
+
error: c
|
|
815
|
+
});
|
|
816
|
+
}).catch((c) => {
|
|
817
|
+
if (d.error(
|
|
737
818
|
"PAYMENT_DETAILS_CALL_FAILED",
|
|
738
819
|
"Failed fetching payment details",
|
|
739
|
-
|
|
820
|
+
m({
|
|
740
821
|
reason: "PAYMENT_DETAILS_CALL_FAILED",
|
|
741
|
-
paymentAcceptorId:
|
|
742
|
-
cause:
|
|
822
|
+
paymentAcceptorId: s,
|
|
823
|
+
cause: c
|
|
743
824
|
}),
|
|
744
|
-
|
|
745
|
-
),
|
|
825
|
+
c
|
|
826
|
+
), i) {
|
|
827
|
+
O("PAYMENT_DETAILS_CALL_FAILED", {}, c);
|
|
828
|
+
return;
|
|
829
|
+
}
|
|
830
|
+
B(), _({
|
|
746
831
|
code: "PAYMENT_DETAILS_CALL_FAILED",
|
|
747
832
|
message: "Failed fetching payment details",
|
|
748
|
-
error:
|
|
833
|
+
error: c
|
|
749
834
|
});
|
|
750
835
|
});
|
|
751
836
|
}
|
|
752
|
-
function
|
|
753
|
-
const e =
|
|
837
|
+
async function Oe() {
|
|
838
|
+
const e = ze(
|
|
839
|
+
a.paymentMethodOptionResponseEntry.payment_acceptor.id
|
|
840
|
+
);
|
|
754
841
|
if (e) {
|
|
755
|
-
if (
|
|
756
|
-
|
|
842
|
+
if (Ge(), e.kind === "MISSING_PAYMENT_ACCEPTOR") {
|
|
843
|
+
d.error(
|
|
757
844
|
"INVALID_REDIRECT_RESULT",
|
|
758
845
|
"Redirect result is set but payment acceptor id is missing",
|
|
759
|
-
|
|
760
|
-
),
|
|
846
|
+
m({ reason: "INVALID_REDIRECT_RESULT" })
|
|
847
|
+
), _({
|
|
761
848
|
code: "REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING",
|
|
762
849
|
message: "Redirect result is set but payment acceptor id is missing"
|
|
763
850
|
});
|
|
764
851
|
return;
|
|
765
852
|
}
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
853
|
+
if (e.kind === "INVALID") {
|
|
854
|
+
O("INVALID_REDIRECT_RESULT");
|
|
855
|
+
return;
|
|
856
|
+
}
|
|
857
|
+
P = e.redirectResult, await X();
|
|
858
|
+
}
|
|
859
|
+
}
|
|
860
|
+
async function X() {
|
|
861
|
+
if (P) {
|
|
862
|
+
F = !0;
|
|
863
|
+
try {
|
|
864
|
+
await Q({
|
|
865
|
+
paymentAcceptorId: a.paymentMethodOptionResponseEntry.payment_acceptor.id,
|
|
866
|
+
detailsResult: { redirectResult: P }
|
|
867
|
+
});
|
|
868
|
+
} finally {
|
|
869
|
+
F = !1;
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
async function ee() {
|
|
874
|
+
const e = g.value, t = v + 1;
|
|
875
|
+
await U(), e && t === v && (g.value = e);
|
|
876
|
+
}
|
|
877
|
+
async function Re() {
|
|
878
|
+
if (g.value = void 0, !P) {
|
|
879
|
+
await U();
|
|
880
|
+
return;
|
|
772
881
|
}
|
|
882
|
+
S = !1, await X(), await ee();
|
|
773
883
|
}
|
|
774
|
-
return
|
|
775
|
-
|
|
776
|
-
}),
|
|
777
|
-
Y();
|
|
778
|
-
}),
|
|
884
|
+
return Me(async () => {
|
|
885
|
+
await Oe(), await ee();
|
|
886
|
+
}), De(() => {
|
|
887
|
+
v++, Y();
|
|
888
|
+
}), ke(
|
|
779
889
|
() => a.paymentMethodOptionResponseEntry,
|
|
780
890
|
(e, t) => {
|
|
781
|
-
|
|
891
|
+
Le(e, t) || U();
|
|
782
892
|
},
|
|
783
893
|
{ deep: !0 }
|
|
784
|
-
), (e, t) => (
|
|
785
|
-
|
|
894
|
+
), (e, t) => (N(), K(Se, null, [
|
|
895
|
+
L.value ? (N(), Z(xe, {
|
|
786
896
|
key: 0,
|
|
787
|
-
variant:
|
|
788
|
-
redirecting:
|
|
789
|
-
}, null, 8, ["variant", "redirecting"])) :
|
|
897
|
+
variant: u.variant,
|
|
898
|
+
redirecting: u.redirectsOnSuccess
|
|
899
|
+
}, null, 8, ["variant", "redirecting"])) : g.value ? (N(), Z(Be, {
|
|
790
900
|
key: 1,
|
|
791
|
-
error:
|
|
792
|
-
|
|
793
|
-
|
|
901
|
+
error: g.value,
|
|
902
|
+
onRetry: Re
|
|
903
|
+
}, null, 8, ["error"])) : z("", !0),
|
|
904
|
+
$.value ? (N(), K("div", {
|
|
794
905
|
key: 2,
|
|
795
906
|
ref_key: "dropInContainerRef",
|
|
796
907
|
ref: y
|
|
797
|
-
}, null, 512)) :
|
|
798
|
-
|
|
908
|
+
}, null, 512)) : z("", !0),
|
|
909
|
+
I.value ? (N(), Z(Ce, {
|
|
799
910
|
key: 3,
|
|
800
|
-
to:
|
|
911
|
+
to: I.value
|
|
801
912
|
}, [
|
|
802
|
-
|
|
913
|
+
we("div", {
|
|
803
914
|
ref_key: "sepaNoticeRef",
|
|
804
|
-
ref:
|
|
915
|
+
ref: w
|
|
805
916
|
}, [
|
|
806
|
-
|
|
917
|
+
H(rt, { "billing-entity-name": u.billingEntityName }, null, 8, ["billing-entity-name"])
|
|
807
918
|
], 512)
|
|
808
|
-
], 8, ["to"])) :
|
|
919
|
+
], 8, ["to"])) : z("", !0)
|
|
809
920
|
], 64));
|
|
810
921
|
}
|
|
811
922
|
});
|
|
812
923
|
export {
|
|
813
|
-
|
|
924
|
+
ft as default
|
|
814
925
|
};
|