@solvimon/solvimon-web 0.1.0-alpha.3 → 0.1.0-alpha.31
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 +501 -52
- package/dist/AddPaymentMethodModal-Bs_aOOCX.mjs +97 -0
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DF4PIR-A.mjs +89 -0
- package/dist/Alert.vue.es-xhsk_7Gn.mjs +158 -0
- package/dist/Amount.vue.es-DPqHB8Xd.mjs +22 -0
- package/dist/ApiStatus-CSFKl_ra.mjs +9 -0
- package/dist/AuthProvider.handle-CUO6Qj-5.mjs +46 -0
- package/dist/Avatar.vue.es-DrbtUiLO.mjs +81 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-C3JYNZuR.mjs +64 -0
- package/dist/BillingInformationForm.lib-ad8B2Y1O.mjs +32 -0
- package/dist/BillingInformationForm.vue_vue_type_script_setup_true_lang-BUdcXy0H.mjs +340 -0
- package/dist/BillingInformationModal-crgTNGf4.mjs +85 -0
- package/dist/Button.vue.es-BHbanjR0.mjs +368 -0
- package/dist/ChargeOnDemandModal-DYiFtw1n.mjs +965 -0
- package/dist/Chip.vue.es-Dc6-PjEn.mjs +128 -0
- package/dist/Comparators.vue.es-DQBI3f7m.mjs +103 -0
- package/dist/ContentWithAsideLayout-C2kFcft1.mjs +32 -0
- package/dist/ContextMenu.vue.es-CvX6O2IM.mjs +572 -0
- package/dist/CustomerBillingInformation.vue.es-DQWt9osz.mjs +153 -0
- package/dist/CustomerPaymentMethods.lib-B_753rau.mjs +4 -0
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-hNVtamwL.mjs +217 -0
- package/dist/CustomerShippingAddresses-C0c-4D2W.mjs +282 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C50vGUvw.mjs +2828 -0
- package/dist/Divider.vue.es-DnP_HqLz.mjs +22 -0
- package/dist/DividerText.vue.es-ChN6fnrH.mjs +56 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DCUml1W4.mjs +55 -0
- package/dist/ErrorNotification.vue.es-CWIVt5q9.mjs +31 -0
- package/dist/Expand.vue.es-BleuAfDz.mjs +32 -0
- package/dist/FormMessage.vue.es-CQ64C8dt.mjs +39 -0
- package/dist/IconButton.vue.es-BXzwMvVk.mjs +56 -0
- package/dist/IconTitle.vue.es-GyanM-JQ.mjs +103 -0
- package/dist/Input.vue.es-CxiwRZYs.mjs +250 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Ca0qflBR.mjs +93 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-Dw73a5Yt.mjs +56 -0
- package/dist/InvoicePreview.vue.es-BvnikfEH.mjs +286 -0
- package/dist/InvoicePricingClauseChip.vue.es-DxcyTRGr.mjs +124 -0
- package/dist/Label.vue.es-3ACRco55.mjs +113 -0
- package/dist/LoadFailedNotice.vue_vue_type_script_setup_true_lang-1qpRh-0S.mjs +20 -0
- package/dist/Modal.vue.es-CDjfZDDx.mjs +404 -0
- package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-CnZwxJ5b.mjs +789 -0
- package/dist/PaymentCompletedCard.vue_vue_type_script_setup_true_lang-PICpXmC3.mjs +48 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-DpZtYBfM.mjs +250 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-Co5qBQa8.mjs +51 -0
- package/dist/PaymentHistoryBlock-HUazLER6.mjs +4 -0
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DdmUoiet.mjs +93 -0
- package/dist/PaymentIntegrationForm-ZnIjTyda.mjs +4 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DU5wu66t.mjs +161 -0
- package/dist/PaymentIntegrationFormAdyen-sbw3AoKS.mjs +946 -0
- package/dist/PaymentIntegrationFormStripe-4JmKEwbS.mjs +767 -0
- package/dist/PaymentMethod.vue.es-DAabE41t.mjs +645 -0
- package/dist/PaymentMethodForm-MmCUSJLE.mjs +4 -0
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-DyiXLYRj.mjs +165 -0
- package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-Bv34aiZ6.mjs +169 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-DZ2Z-RMv.mjs +176 -0
- package/dist/PaymentMethodsModal-CjpNw4kX.mjs +192 -0
- package/dist/PlanCustomizationEditor-BDWm_z2w.mjs +864 -0
- package/dist/PortalLinkUnverified-B7YYhv97.mjs +52 -0
- package/dist/PortalNotAvailable-DIyeKrAp.mjs +25 -0
- package/dist/PricingGroupRangeInput.vue.es-C6J8C7JS.mjs +578 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CiQ-C9Hh.mjs +178 -0
- package/dist/RadioGroupExtended.vue.es-hDmUAKIA.mjs +176 -0
- package/dist/Section.vue.es-CwKTCeZ1.mjs +72 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Gn1aE60E.mjs +60 -0
- package/dist/ShippingAddressForm.vue_vue_type_script_setup_true_lang-y7yOKwR3.mjs +144 -0
- package/dist/ShippingAddressesModal-CNXxkxnJ.mjs +283 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs +32 -0
- package/dist/StepInput.vue.es-GkrOtOVa.mjs +213 -0
- package/dist/SubscriptionCancellationModal-C_xFPx1I.mjs +4 -0
- package/dist/SubscriptionCancellationModal.vue_vue_type_script_setup_true_lang-DdTC33Qh.mjs +240 -0
- package/dist/SubscriptionCancellationSuccess.vue_vue_type_script_setup_true_lang-CQ-ZOzVI.mjs +64 -0
- package/dist/SubscriptionDetails.entry.ce-DuP8TtKu.mjs +764 -0
- package/dist/SubscriptionSchedules-DosBeXD7.mjs +4 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-5tyDFxEh.mjs +5183 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-C26HShPu.mjs +90 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-BUDuQk2e.mjs +344 -0
- package/dist/Toggle.vue.es-S2g8WGY_.mjs +99 -0
- package/dist/TooltipParagraph.vue.es-4HaXi8RP.mjs +132 -0
- package/dist/TranslationOverride.vue_vue_type_script_setup_true_lang-C5Y6Kg-_.mjs +31 -0
- package/dist/TrialChip.vue.es-CUfJ4SK3.mjs +47 -0
- package/dist/accel.svg.es-C0hqmmEY.mjs +4 -0
- package/dist/ach.svg.es-DduMiYM2.mjs +4 -0
- package/dist/addonQuantity-BvoYTajN.mjs +128 -0
- package/dist/addressFormats.data-dzBx49dw.mjs +278 -0
- package/dist/adyen-Bugab0JE.mjs +4 -0
- package/dist/adyen-D4em6EgU.mjs +99 -0
- package/dist/adyenSdk-DUTO7xkT.mjs +63 -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-QaC926Xu.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 +78 -0
- package/dist/components/BillingInformationForm/BillingInformationForm.ce.d.ts +1 -3
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +93 -0
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.ce.d.ts +1 -3
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +78 -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 +101 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.ce.d.ts +1 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +63 -0
- package/dist/components/InvoicesList/InvoicesList.ce.d.ts +1 -3
- package/dist/components/InvoicesList/InvoicesList.mjs +79 -0
- package/dist/components/PaymentHistory/PaymentHistory.ce.d.ts +1 -3
- package/dist/components/PaymentHistory/PaymentHistory.mjs +109 -0
- package/dist/components/PaymentMethodForm/PaymentMethodForm.ce.d.ts +1 -3
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +90 -0
- package/dist/components/ShippingAddressForm/ShippingAddressForm.ce.d.ts +1 -0
- package/dist/components/ShippingAddressForm/ShippingAddressForm.mjs +212 -0
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.ce.d.ts +1 -3
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +80 -0
- package/dist/components/SubscriptionsList/SubscriptionsList.ce.d.ts +1 -3
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +99 -0
- package/dist/components/WalletBalances/WalletBalances.ce.d.ts +1 -3
- package/dist/components/WalletBalances/WalletBalances.mjs +105 -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/events.types.d.ts +1 -0
- package/dist/core/index.d.ts +1 -10
- package/dist/core/index.mjs +168 -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/customElements-d7Bhfqi_.mjs +5099 -0
- package/dist/customer-CNCSN_G5.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-D-sV3avS.mjs +309 -0
- package/dist/de-DE-wZp39RC-.mjs +498 -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-BYHycSxz.mjs +310 -0
- package/dist/fr-FR-BrNXJ7gR.mjs +498 -0
- package/dist/gcash.svg.es-BpDtvraq.mjs +4 -0
- package/dist/getComposedString.es-C__uhJpd.mjs +10 -0
- package/dist/getCountryNameByCode.es-OGxn_zT0.mjs +257 -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-BEZ2mumY.mjs +633 -0
- package/dist/index.es-C7J3WGGo.mjs +345 -0
- package/dist/index.mjs +46 -0
- package/dist/invoiceState-BJVHaKs7.mjs +14 -0
- package/dist/invoices-CXvL8KQx.mjs +143 -0
- package/dist/it-IT-Bd1qsMVU.mjs +498 -0
- package/dist/it-IT-zpPyT9PH.mjs +309 -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-BOr4MR7L.mjs +324 -0
- package/dist/nl-NL-C6Y6fqaW.mjs +498 -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/paymentIntegrationFormLoaders-wi1vMgf_.mjs +31 -0
- package/dist/paymentMethods-CG1fcG2v.mjs +78 -0
- package/dist/paymentOutcome-D59QkGfm.mjs +22 -0
- package/dist/paymentRedirect-DaS8Kccc.mjs +66 -0
- package/dist/payments-Dy81gmkC.mjs +71 -0
- package/dist/paypal.svg.es-BC2AP20j.mjs +4 -0
- package/dist/preloadPaymentIntegrationForms-C_9p7Jbi.mjs +9 -0
- package/dist/pricing-CBJT8C6L.mjs +42 -0
- package/dist/pricing.es-QYWrKMUJ.mjs +30 -0
- package/dist/pricingItem.es-AYq_hYeD.mjs +55 -0
- package/dist/pricingItemConfigs.es-D3pX_9AJ.mjs +78 -0
- package/dist/pricingPlanScheduleOverrides-GON_34ep.mjs +291 -0
- package/dist/pulse.svg.es-Rmoz-9Ej.mjs +4 -0
- package/dist/randomUuid-BE_IQ-aq.mjs +10 -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 +1100 -0
- package/dist/screens/CheckoutSession/CheckoutSession.ce.d.ts +1 -0
- package/dist/screens/CheckoutSession/CheckoutSession.mjs +1316 -0
- package/dist/screens/CustomerOverview/CustomerOverview.ce.d.ts +1 -3
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +277 -0
- package/dist/screens/PayInvoice/PayInvoice.ce.d.ts +1 -0
- package/dist/screens/PayInvoice/PayInvoice.mjs +873 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.ce.d.ts +1 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +219 -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 +1135 -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-kM0f1VX0.mjs +77 -0
- package/dist/star.svg.es-BUZNUnYq.mjs +4 -0
- package/dist/subscription-DQ5mRp_e.mjs +212 -0
- package/dist/subscriptions-Bm1eu9wc.mjs +99 -0
- package/dist/taxId.es-Zu2Ff1gL.mjs +510 -0
- package/dist/timePeriod.es-R9U0wLlB.mjs +13 -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 +21 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +15 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +58 -0
- package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +16 -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/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +17 -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 +12 -0
- package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +26 -0
- package/dist/types/components/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +25 -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 +148 -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 +10 -0
- package/dist/types/components/payments/PaymentMethodsModal/PaymentMethodsModal.types.d.ts +22 -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 +22 -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 +12 -0
- package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +13 -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 +28 -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/HostElementProvider/composables/useHostEvent.d.ts +12 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.lib.d.ts +34 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +82 -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 +21 -0
- package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +4 -0
- package/dist/types/components/providers/Provider/Provider.types.d.ts +22 -0
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +15 -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 +70 -0
- package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +29 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +18 -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 +10 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditorItem.types.d.ts +8 -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 +10 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditorItem.types.d.ts +8 -0
- package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +16 -0
- package/dist/types/components/subscriptions/SubscriptionCancellationSuccess/SubscriptionCancellationSuccess.types.d.ts +4 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +23 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSuccess.types.d.ts +12 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSummary.types.d.ts +10 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionPlanChangeSummary.types.d.ts +4 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionPlanSelector.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 +20 -0
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +13 -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 +27 -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 +14 -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 +3 -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 +25 -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 +38 -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 +50 -0
- package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.entry.ce.d.ts +1 -0
- package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.entry.types.d.ts +6 -0
- package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.types.d.ts +5 -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 +28 -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 +54 -0
- package/dist/types/public/core/configuration.d.ts +2 -0
- package/dist/types/public/core/events.types.d.ts +99 -0
- package/dist/types/public/core/index.d.ts +16 -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 +139 -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 +5 -0
- package/dist/types/public/screens/Checkout/Checkout.source.types.d.ts +151 -0
- package/dist/types/public/screens/Checkout/Checkout.types.d.ts +23 -0
- package/dist/types/public/screens/CheckoutSession/CheckoutSession.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/CheckoutSession/CheckoutSession.entry.types.d.ts +3 -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 +8 -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 +21 -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 +10 -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 +22 -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 +14 -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 +36 -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 +14 -0
- package/dist/types/types/branding.d.ts +15 -0
- package/dist/types/types/checkoutSession.d.ts +189 -0
- package/dist/types/types/errors.d.ts +15 -0
- package/dist/types/types/portalAuthentication.d.ts +2 -0
- package/dist/types/types/portalToken.d.ts +9 -0
- package/dist/types/types/pricingPlanGroup.d.ts +25 -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-BWna0S6N.mjs +9 -0
- package/dist/useAddressFormats-Dw7IEdxg.mjs +1997 -0
- package/dist/useCheckoutForm-BaV2j_ob.mjs +3310 -0
- package/dist/useCustomer-RUtEzDOY.mjs +20 -0
- package/dist/useDefaultPaymentMethod-Dliq6_Yw.mjs +39 -0
- package/dist/useExperimentalFeature-DAKAF_a2.mjs +6 -0
- package/dist/useHostEvent-pjoWJ7ZH.mjs +12 -0
- package/dist/useIncrementalLoading-B3gp58X-.mjs +60 -0
- package/dist/useInvoiceData-Dya4mmvf.mjs +21 -0
- package/dist/useInvoicesList-Dp3c_cb3.mjs +674 -0
- package/dist/useLazyFloating.es-CycqRyeb.mjs +68 -0
- package/dist/useLoadInitialData-CwySdYZM.mjs +15 -0
- package/dist/usePaymentFormHold-CYZ4BdOw.mjs +19 -0
- package/dist/usePaymentMethodAvailability-B7NV0ZtX.mjs +117 -0
- package/dist/usePaymentMethodOptions-DDRjVvDJ.mjs +67 -0
- package/dist/usePaymentMethods-DBGyQA_I.mjs +21 -0
- package/dist/usePayments-ChGtK_As.mjs +323 -0
- package/dist/usePortal--Uzbpbgr.mjs +14 -0
- package/dist/useService-DayNZhPh.mjs +56 -0
- package/dist/useShippingAddresses-TXVeGFPm.mjs +122 -0
- package/dist/useSubscription-lIGMFLG1.mjs +35 -0
- package/dist/useSubscriptionActions-BSlJVB4p.mjs +44 -0
- package/dist/useViewport-psZejz_H.mjs +19 -0
- package/dist/useWatchDebounced-DkXgKe0E.mjs +20 -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 +115 -77
- 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,1100 @@
|
|
|
1
|
+
import { ref as E, computed as N, shallowRef as Ge, watch as ee, onMounted as Ve, nextTick as Ke, toValue as ke, defineComponent as Oe, openBlock as Te, createBlock as Me, unref as Ce, withCtx as se, createVNode as Se, createSlots as Xe, renderSlot as Ye } from "vue";
|
|
2
|
+
import { u as He, w as Ze, a as We, _ as xe } from "../../useCheckoutForm-BaV2j_ob.mjs";
|
|
3
|
+
import { e as ie, m as $e, a as Je, C as je, j as ze, k as Qe, l as qe } from "../../customElements-d7Bhfqi_.mjs";
|
|
4
|
+
import { t as Ue } from "../../taxId.es-Zu2Ff1gL.mjs";
|
|
5
|
+
import { e as Le } from "../../formControl-BZQLHnOO.mjs";
|
|
6
|
+
import { i as Ae, h as ei, j as ce, k as ii, D as oi, e as ti, t as ni } from "../../useAddressFormats-Dw7IEdxg.mjs";
|
|
7
|
+
import { c as ri } from "../../subscriptions-Bm1eu9wc.mjs";
|
|
8
|
+
import { A as k } from "../../ApiStatus-CSFKl_ra.mjs";
|
|
9
|
+
import { c as ai } from "../../timePeriod.es-R9U0wLlB.mjs";
|
|
10
|
+
import { a as si } from "../../useService-DayNZhPh.mjs";
|
|
11
|
+
import { j as $, k as Fe } from "../../subscription-DQ5mRp_e.mjs";
|
|
12
|
+
import { c as ci } from "../../invoices-CXvL8KQx.mjs";
|
|
13
|
+
import { u as li } from "../../usePaymentMethodOptions-DDRjVvDJ.mjs";
|
|
14
|
+
import { a as ui, b as di, c as De } from "../../addonQuantity-BvoYTajN.mjs";
|
|
15
|
+
import { s as pi } from "../../OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-CnZwxJ5b.mjs";
|
|
16
|
+
import { h as mi, g as vi } from "../../paymentRedirect-DaS8Kccc.mjs";
|
|
17
|
+
import { r as fi } from "../../randomUuid-BE_IQ-aq.mjs";
|
|
18
|
+
import { u as gi } from "../../usePortal--Uzbpbgr.mjs";
|
|
19
|
+
const _i = [
|
|
20
|
+
"companyLegalName",
|
|
21
|
+
"firstName",
|
|
22
|
+
"infix",
|
|
23
|
+
"lastName",
|
|
24
|
+
"addressLine1",
|
|
25
|
+
"addressLine2",
|
|
26
|
+
"postalCode",
|
|
27
|
+
"city",
|
|
28
|
+
"state",
|
|
29
|
+
"companyVatNumber",
|
|
30
|
+
"promotionCode",
|
|
31
|
+
"shippingAddressLine1",
|
|
32
|
+
"shippingAddressLine2",
|
|
33
|
+
"shippingPostalCode",
|
|
34
|
+
"shippingCity",
|
|
35
|
+
"shippingState",
|
|
36
|
+
"shippingPhoneNumber",
|
|
37
|
+
"shippingFirstName",
|
|
38
|
+
"shippingLastName",
|
|
39
|
+
"shippingAttentionName"
|
|
40
|
+
], Pi = /^\d{1,9}$/, we = (e) => typeof e == "object" && e !== null && !Array.isArray(e);
|
|
41
|
+
function Ne(e) {
|
|
42
|
+
if (!Array.isArray(e)) return;
|
|
43
|
+
const i = e.flatMap(
|
|
44
|
+
(r) => we(r) && typeof r.pricing_item_config_id == "string" && typeof r.number == "string" && Pi.test(r.number) ? [{ pricing_item_config_id: r.pricing_item_config_id, number: r.number }] : []
|
|
45
|
+
);
|
|
46
|
+
return i.length === e.length ? i : void 0;
|
|
47
|
+
}
|
|
48
|
+
function hi(e) {
|
|
49
|
+
if (!we(e)) return {};
|
|
50
|
+
const i = {};
|
|
51
|
+
_i.forEach((o) => {
|
|
52
|
+
const c = e[o];
|
|
53
|
+
typeof c == "string" && (i[o] = c);
|
|
54
|
+
}), typeof e.email == "string" && Le.$validator(e.email, {}, {}) && (i.email = e.email), typeof e.country == "string" && Ae(e.country) && (i.country = e.country), typeof e.shippingCountry == "string" && Ae(e.shippingCountry) && (i.shippingCountry = e.shippingCountry), typeof e.billingAddressSameAsShipping == "boolean" && (i.billingAddressSameAsShipping = e.billingAddressSameAsShipping), (e.type === "INDIVIDUAL" || e.type === "ORGANIZATION") && (i.type = e.type);
|
|
55
|
+
const r = Ne(e.seatsValues);
|
|
56
|
+
r && (i.seatsValues = r);
|
|
57
|
+
const l = Ne(e.unitsValues);
|
|
58
|
+
return l && (i.unitsValues = l), Array.isArray(e.enabledPricingIds) && e.enabledPricingIds.every((o) => typeof o == "string") && (i.enabledPricingIds = e.enabledPricingIds), i;
|
|
59
|
+
}
|
|
60
|
+
const yi = {
|
|
61
|
+
AD: "EUR",
|
|
62
|
+
AE: "AED",
|
|
63
|
+
AF: "AFN",
|
|
64
|
+
AG: "XCD",
|
|
65
|
+
AI: "XCD",
|
|
66
|
+
AL: "ALL",
|
|
67
|
+
AM: "AMD",
|
|
68
|
+
AO: "AOA",
|
|
69
|
+
AR: "ARS",
|
|
70
|
+
AS: "USD",
|
|
71
|
+
AT: "EUR",
|
|
72
|
+
AU: "AUD",
|
|
73
|
+
AW: "AWG",
|
|
74
|
+
AX: "EUR",
|
|
75
|
+
AZ: "AZN",
|
|
76
|
+
BA: "BAM",
|
|
77
|
+
BB: "BBD",
|
|
78
|
+
BD: "BDT",
|
|
79
|
+
BE: "EUR",
|
|
80
|
+
BF: "XOF",
|
|
81
|
+
BG: "BGN",
|
|
82
|
+
BH: "BHD",
|
|
83
|
+
BI: "BIF",
|
|
84
|
+
BJ: "XOF",
|
|
85
|
+
BL: "EUR",
|
|
86
|
+
BM: "BMD",
|
|
87
|
+
BN: "BND",
|
|
88
|
+
BO: "BOB",
|
|
89
|
+
BQ: "USD",
|
|
90
|
+
BR: "BRL",
|
|
91
|
+
BS: "BSD",
|
|
92
|
+
BT: "BTN",
|
|
93
|
+
BV: "NOK",
|
|
94
|
+
BW: "BWP",
|
|
95
|
+
BY: "BYN",
|
|
96
|
+
BZ: "BZD",
|
|
97
|
+
CA: "CAD",
|
|
98
|
+
CC: "AUD",
|
|
99
|
+
CD: "CDF",
|
|
100
|
+
CF: "XAF",
|
|
101
|
+
CG: "XAF",
|
|
102
|
+
CH: "CHF",
|
|
103
|
+
CI: "XOF",
|
|
104
|
+
CK: "NZD",
|
|
105
|
+
CL: "CLP",
|
|
106
|
+
CM: "XAF",
|
|
107
|
+
CN: "CNY",
|
|
108
|
+
CO: "COP",
|
|
109
|
+
CR: "CRC",
|
|
110
|
+
CU: "CUP",
|
|
111
|
+
CV: "CVE",
|
|
112
|
+
CW: "ANG",
|
|
113
|
+
CX: "AUD",
|
|
114
|
+
CY: "EUR",
|
|
115
|
+
CZ: "CZK",
|
|
116
|
+
DE: "EUR",
|
|
117
|
+
DJ: "DJF",
|
|
118
|
+
DK: "DKK",
|
|
119
|
+
DM: "XCD",
|
|
120
|
+
DO: "DOP",
|
|
121
|
+
DZ: "DZD",
|
|
122
|
+
EC: "USD",
|
|
123
|
+
EE: "EUR",
|
|
124
|
+
EG: "EGP",
|
|
125
|
+
EH: "MAD",
|
|
126
|
+
ER: "ERN",
|
|
127
|
+
ES: "EUR",
|
|
128
|
+
ET: "ETB",
|
|
129
|
+
FI: "EUR",
|
|
130
|
+
FJ: "FJD",
|
|
131
|
+
FK: "FKP",
|
|
132
|
+
FM: "USD",
|
|
133
|
+
FO: "DKK",
|
|
134
|
+
FR: "EUR",
|
|
135
|
+
GA: "XAF",
|
|
136
|
+
GB: "GBP",
|
|
137
|
+
GD: "XCD",
|
|
138
|
+
GE: "GEL",
|
|
139
|
+
GF: "EUR",
|
|
140
|
+
GG: "GBP",
|
|
141
|
+
GH: "GHS",
|
|
142
|
+
GI: "GIP",
|
|
143
|
+
GL: "DKK",
|
|
144
|
+
GM: "GMD",
|
|
145
|
+
GN: "GNF",
|
|
146
|
+
GP: "EUR",
|
|
147
|
+
GQ: "XAF",
|
|
148
|
+
GR: "EUR",
|
|
149
|
+
GS: "GBP",
|
|
150
|
+
GT: "GTQ",
|
|
151
|
+
GU: "USD",
|
|
152
|
+
GW: "XOF",
|
|
153
|
+
GY: "GYD",
|
|
154
|
+
HK: "HKD",
|
|
155
|
+
HM: "AUD",
|
|
156
|
+
HN: "HNL",
|
|
157
|
+
HR: "EUR",
|
|
158
|
+
HT: "HTG",
|
|
159
|
+
HU: "HUF",
|
|
160
|
+
ID: "IDR",
|
|
161
|
+
IE: "EUR",
|
|
162
|
+
IL: "ILS",
|
|
163
|
+
IM: "GBP",
|
|
164
|
+
IN: "INR",
|
|
165
|
+
IO: "USD",
|
|
166
|
+
IQ: "IQD",
|
|
167
|
+
IR: "IRR",
|
|
168
|
+
IS: "ISK",
|
|
169
|
+
IT: "EUR",
|
|
170
|
+
JE: "GBP",
|
|
171
|
+
JM: "JMD",
|
|
172
|
+
JO: "JOD",
|
|
173
|
+
JP: "JPY",
|
|
174
|
+
KE: "KES",
|
|
175
|
+
KG: "KGS",
|
|
176
|
+
KH: "KHR",
|
|
177
|
+
KI: "AUD",
|
|
178
|
+
KM: "KMF",
|
|
179
|
+
KN: "XCD",
|
|
180
|
+
KP: "KPW",
|
|
181
|
+
KR: "KRW",
|
|
182
|
+
KW: "KWD",
|
|
183
|
+
KY: "KYD",
|
|
184
|
+
KZ: "KZT",
|
|
185
|
+
LA: "LAK",
|
|
186
|
+
LB: "LBP",
|
|
187
|
+
LC: "XCD",
|
|
188
|
+
LI: "CHF",
|
|
189
|
+
LK: "LKR",
|
|
190
|
+
LR: "LRD",
|
|
191
|
+
LS: "LSL",
|
|
192
|
+
LT: "EUR",
|
|
193
|
+
LU: "EUR",
|
|
194
|
+
LV: "EUR",
|
|
195
|
+
LY: "LYD",
|
|
196
|
+
MA: "MAD",
|
|
197
|
+
MC: "EUR",
|
|
198
|
+
MD: "MDL",
|
|
199
|
+
ME: "EUR",
|
|
200
|
+
MF: "EUR",
|
|
201
|
+
MG: "MGA",
|
|
202
|
+
MH: "USD",
|
|
203
|
+
MK: "MKD",
|
|
204
|
+
ML: "XOF",
|
|
205
|
+
MM: "MMK",
|
|
206
|
+
MN: "MNT",
|
|
207
|
+
MO: "MOP",
|
|
208
|
+
MP: "USD",
|
|
209
|
+
MQ: "EUR",
|
|
210
|
+
MR: "MRU",
|
|
211
|
+
MS: "XCD",
|
|
212
|
+
MT: "EUR",
|
|
213
|
+
MU: "MUR",
|
|
214
|
+
MV: "MVR",
|
|
215
|
+
MW: "MWK",
|
|
216
|
+
MX: "MXN",
|
|
217
|
+
MY: "MYR",
|
|
218
|
+
MZ: "MZN",
|
|
219
|
+
NA: "NAD",
|
|
220
|
+
NC: "XPF",
|
|
221
|
+
NE: "XOF",
|
|
222
|
+
NF: "AUD",
|
|
223
|
+
NG: "NGN",
|
|
224
|
+
NI: "NIO",
|
|
225
|
+
NL: "EUR",
|
|
226
|
+
NO: "NOK",
|
|
227
|
+
NP: "NPR",
|
|
228
|
+
NR: "AUD",
|
|
229
|
+
NU: "NZD",
|
|
230
|
+
NZ: "NZD",
|
|
231
|
+
OM: "OMR",
|
|
232
|
+
PA: "PAB",
|
|
233
|
+
PE: "PEN",
|
|
234
|
+
PF: "XPF",
|
|
235
|
+
PG: "PGK",
|
|
236
|
+
PH: "PHP",
|
|
237
|
+
PK: "PKR",
|
|
238
|
+
PL: "PLN",
|
|
239
|
+
PM: "EUR",
|
|
240
|
+
PN: "NZD",
|
|
241
|
+
PR: "USD",
|
|
242
|
+
PS: "ILS",
|
|
243
|
+
PT: "EUR",
|
|
244
|
+
PW: "USD",
|
|
245
|
+
PY: "PYG",
|
|
246
|
+
QA: "QAR",
|
|
247
|
+
RE: "EUR",
|
|
248
|
+
RO: "RON",
|
|
249
|
+
RS: "RSD",
|
|
250
|
+
RU: "RUB",
|
|
251
|
+
RW: "RWF",
|
|
252
|
+
SA: "SAR",
|
|
253
|
+
SB: "SBD",
|
|
254
|
+
SC: "SCR",
|
|
255
|
+
SD: "SDG",
|
|
256
|
+
SE: "SEK",
|
|
257
|
+
SG: "SGD",
|
|
258
|
+
SH: "SHP",
|
|
259
|
+
SI: "EUR",
|
|
260
|
+
SJ: "NOK",
|
|
261
|
+
SK: "EUR",
|
|
262
|
+
SL: "SLE",
|
|
263
|
+
SM: "EUR",
|
|
264
|
+
SN: "XOF",
|
|
265
|
+
SO: "SOS",
|
|
266
|
+
SR: "SRD",
|
|
267
|
+
SS: "SSP",
|
|
268
|
+
ST: "STN",
|
|
269
|
+
SV: "USD",
|
|
270
|
+
SX: "ANG",
|
|
271
|
+
SY: "SYP",
|
|
272
|
+
SZ: "SZL",
|
|
273
|
+
TC: "USD",
|
|
274
|
+
TD: "XAF",
|
|
275
|
+
TF: "EUR",
|
|
276
|
+
TG: "XOF",
|
|
277
|
+
TH: "THB",
|
|
278
|
+
TJ: "TJS",
|
|
279
|
+
TK: "NZD",
|
|
280
|
+
TL: "USD",
|
|
281
|
+
TM: "TMT",
|
|
282
|
+
TN: "TND",
|
|
283
|
+
TO: "TOP",
|
|
284
|
+
TR: "TRY",
|
|
285
|
+
TT: "TTD",
|
|
286
|
+
TV: "AUD",
|
|
287
|
+
TW: "TWD",
|
|
288
|
+
TZ: "TZS",
|
|
289
|
+
UA: "UAH",
|
|
290
|
+
UG: "UGX",
|
|
291
|
+
US: "USD",
|
|
292
|
+
UY: "UYU",
|
|
293
|
+
UZ: "UZS",
|
|
294
|
+
VA: "EUR",
|
|
295
|
+
VC: "XCD",
|
|
296
|
+
VE: "VES",
|
|
297
|
+
VG: "USD",
|
|
298
|
+
VI: "USD",
|
|
299
|
+
VN: "VND",
|
|
300
|
+
VU: "VUV",
|
|
301
|
+
WF: "XPF",
|
|
302
|
+
WS: "WST",
|
|
303
|
+
YE: "YER",
|
|
304
|
+
YT: "EUR",
|
|
305
|
+
ZA: "ZAR",
|
|
306
|
+
ZM: "ZMW",
|
|
307
|
+
ZW: "ZWL"
|
|
308
|
+
}, Ii = (e) => {
|
|
309
|
+
if (e)
|
|
310
|
+
return yi[e];
|
|
311
|
+
}, Ei = ({
|
|
312
|
+
country: e,
|
|
313
|
+
pricingCurrencySettings: i,
|
|
314
|
+
fallbackCurrency: r
|
|
315
|
+
}) => {
|
|
316
|
+
const l = Ii(e), o = (i == null ? void 0 : i.pricing_currencies) ?? [];
|
|
317
|
+
return l && o.includes(l) ? l : (i == null ? void 0 : i.default_pricing_currency) ?? r ?? l;
|
|
318
|
+
}, Ci = "preview", Si = "NL", be = (e) => {
|
|
319
|
+
var i, r;
|
|
320
|
+
if ("organization" in e)
|
|
321
|
+
return (i = e.organization) == null ? void 0 : i.registered_address;
|
|
322
|
+
if ("individual" in e)
|
|
323
|
+
return (r = e.individual) == null ? void 0 : r.residential_address;
|
|
324
|
+
}, Ai = (e) => {
|
|
325
|
+
const i = be(e);
|
|
326
|
+
return {
|
|
327
|
+
...(i == null ? void 0 : i.line1) && { line1: i.line1 },
|
|
328
|
+
...(i == null ? void 0 : i.line2) && { line2: i.line2 },
|
|
329
|
+
...(i == null ? void 0 : i.city) && { city: i.city },
|
|
330
|
+
...(i == null ? void 0 : i.state) && { state: i.state },
|
|
331
|
+
country: (i == null ? void 0 : i.country) || Si,
|
|
332
|
+
...(i == null ? void 0 : i.postal_code) && { postal_code: i.postal_code }
|
|
333
|
+
};
|
|
334
|
+
}, Di = (e) => {
|
|
335
|
+
var l, o;
|
|
336
|
+
const i = Ai(e), r = e.type ?? "INDIVIDUAL";
|
|
337
|
+
if (r === "ORGANIZATION") {
|
|
338
|
+
const c = "organization" in e ? e.organization : void 0, s = (o = (l = c == null ? void 0 : c.tax_ids) == null ? void 0 : l[0]) == null ? void 0 : o.id;
|
|
339
|
+
return {
|
|
340
|
+
type: r,
|
|
341
|
+
organization: {
|
|
342
|
+
legal_name: (c == null ? void 0 : c.legal_name) || Ci,
|
|
343
|
+
registered_address: i,
|
|
344
|
+
...s && {
|
|
345
|
+
tax_id: Ue.$validator(s, {}, {}) ? s : void 0
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
};
|
|
349
|
+
}
|
|
350
|
+
return {
|
|
351
|
+
type: r,
|
|
352
|
+
individual: {
|
|
353
|
+
residential_address: i
|
|
354
|
+
}
|
|
355
|
+
};
|
|
356
|
+
}, Be = (e, i) => {
|
|
357
|
+
var r, l, o;
|
|
358
|
+
return Ei({
|
|
359
|
+
country: (r = be(i)) == null ? void 0 : r.country,
|
|
360
|
+
pricingCurrencySettings: (o = (l = $({
|
|
361
|
+
pricingPlanScheduleInfos: e.pricing_plan_schedule_infos ?? [],
|
|
362
|
+
type: "DEFAULT"
|
|
363
|
+
})) == null ? void 0 : l.pricing_plan_version) == null ? void 0 : o.pricing_currency_settings,
|
|
364
|
+
fallbackCurrency: e.billing_currency
|
|
365
|
+
});
|
|
366
|
+
}, Ni = () => {
|
|
367
|
+
const { getInvoicePreview: e } = ci(), i = ie(), r = E(), l = E(), o = E(), c = E({}), s = E(k.Initial), v = E({}), T = E(), h = (m) => `${m.type}:${m.value}`;
|
|
368
|
+
let d = 0, g = Promise.resolve(), P = () => {
|
|
369
|
+
}, y = new Promise((m) => P = m);
|
|
370
|
+
const p = (m) => {
|
|
371
|
+
const S = ++d;
|
|
372
|
+
return g = L(m, S), P(), y = new Promise((F) => P = F), g;
|
|
373
|
+
}, C = async () => {
|
|
374
|
+
for (; ; ) {
|
|
375
|
+
const m = g;
|
|
376
|
+
if (await Promise.race([
|
|
377
|
+
m.then(
|
|
378
|
+
() => !0,
|
|
379
|
+
(F) => {
|
|
380
|
+
if (m === g) throw F;
|
|
381
|
+
return !1;
|
|
382
|
+
}
|
|
383
|
+
),
|
|
384
|
+
y.then(() => !1)
|
|
385
|
+
]) && m === g) return;
|
|
386
|
+
}
|
|
387
|
+
}, L = async ({
|
|
388
|
+
subscription: m,
|
|
389
|
+
subscriptionStartAt: S,
|
|
390
|
+
customer: F = {},
|
|
391
|
+
seatsValues: J,
|
|
392
|
+
unitsValues: oe,
|
|
393
|
+
enabledPricingIds: X,
|
|
394
|
+
promotionCode: V
|
|
395
|
+
}, b) => {
|
|
396
|
+
var x, z, Q, Y, q;
|
|
397
|
+
const te = Di(F);
|
|
398
|
+
s.value = k.Loading;
|
|
399
|
+
const B = $({
|
|
400
|
+
pricingPlanScheduleInfos: m.pricing_plan_schedule_infos,
|
|
401
|
+
type: "DEFAULT"
|
|
402
|
+
}), n = (x = B == null ? void 0 : B.pricing_plan_version) == null ? void 0 : x.pricing_currency_settings, ne = (((z = n == null ? void 0 : n.pricing_currencies) == null ? void 0 : z.length) ?? 0) > 1, Z = ((Y = (Q = B == null ? void 0 : B.pricing_plan_version) == null ? void 0 : Q.billing_period_settings) == null ? void 0 : Y.billing_periods) ?? [], W = Z.length > 0 ? Z.map(({ period: R }) => R) : m.billing_period ? [m.billing_period] : [], j = Be(m, F);
|
|
403
|
+
if (!W.length) {
|
|
404
|
+
i.warn("INVOICE_PREVIEW_SKIPPED", "No billing period to preview an invoice for", {
|
|
405
|
+
subscriptionId: m.id
|
|
406
|
+
}), s.value = k.Done;
|
|
407
|
+
return;
|
|
408
|
+
}
|
|
409
|
+
const re = m.billing_period ? h(m.billing_period) : h(W[0]), K = W.map(async (R) => {
|
|
410
|
+
var f;
|
|
411
|
+
const M = h(R), G = Fe({
|
|
412
|
+
enabledPricings: X == null ? void 0 : X.map((u) => ({
|
|
413
|
+
pricing_id: u
|
|
414
|
+
})),
|
|
415
|
+
seatsValues: J,
|
|
416
|
+
unitsValues: oe,
|
|
417
|
+
pricingPlanScheduleInfos: m.pricing_plan_schedule_infos,
|
|
418
|
+
pricingCurrency: ne ? j : void 0,
|
|
419
|
+
// Required by the API whenever the version has billing period settings.
|
|
420
|
+
billingPeriod: Z.length > 0 ? R : void 0
|
|
421
|
+
}) ?? [];
|
|
422
|
+
if (V) {
|
|
423
|
+
const u = (f = m.pricing_plan_schedule_infos.find(
|
|
424
|
+
({ pricing_plan_schedule: _ }) => _.type === "DEFAULT"
|
|
425
|
+
)) == null ? void 0 : f.id;
|
|
426
|
+
if (u) {
|
|
427
|
+
const _ = G.find(
|
|
428
|
+
({ pricing_plan_schedule_id: O }) => O === u
|
|
429
|
+
);
|
|
430
|
+
_ ? _.promotion_codes = [V] : G.push({
|
|
431
|
+
pricing_plan_schedule_id: u,
|
|
432
|
+
promotion_codes: [V]
|
|
433
|
+
});
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
const D = {
|
|
437
|
+
pricingPlanSubscriptionId: m.id,
|
|
438
|
+
startAt: S,
|
|
439
|
+
customizations: G,
|
|
440
|
+
customer: te
|
|
441
|
+
}, t = v.value[M];
|
|
442
|
+
if (t && si(D, t))
|
|
443
|
+
return { periodKey: M, payload: D, response: void 0 };
|
|
444
|
+
const a = await e(D);
|
|
445
|
+
return { periodKey: M, payload: D, response: a };
|
|
446
|
+
});
|
|
447
|
+
try {
|
|
448
|
+
const R = await Promise.all(K);
|
|
449
|
+
if (b !== d) return g;
|
|
450
|
+
const M = {
|
|
451
|
+
...c.value
|
|
452
|
+
}, G = { ...v.value }, D = m.pricing_plan_schedule_infos.find(
|
|
453
|
+
({ pricing_plan_schedule: a }) => a.type === "TRIAL"
|
|
454
|
+
), t = (q = m.pricing_plan_schedule_infos.find(
|
|
455
|
+
({ pricing_plan_schedule: a }) => a.type === "DEFAULT"
|
|
456
|
+
)) == null ? void 0 : q.id;
|
|
457
|
+
R.forEach(({ periodKey: a, payload: f, response: u }) => {
|
|
458
|
+
var U;
|
|
459
|
+
if (!u) return;
|
|
460
|
+
G[a] = f, T.value = (U = u.invoice_infos.at(-1)) == null ? void 0 : U.pricing_plan_schedule_id, D && (l.value = u.first_invoice, D.start_at && D.end_at && (r.value = ai(
|
|
461
|
+
new Date(D.start_at),
|
|
462
|
+
new Date(D.end_at)
|
|
463
|
+
)));
|
|
464
|
+
const _ = u.invoice_infos.find(
|
|
465
|
+
({ pricing_plan_schedule_id: I }) => I === t
|
|
466
|
+
), O = _ == null ? void 0 : _.invoices[0];
|
|
467
|
+
O && (M[a] = O);
|
|
468
|
+
}), v.value = G, c.value = M, o.value = M[re], s.value = k.Done;
|
|
469
|
+
} catch (R) {
|
|
470
|
+
if (i.error(
|
|
471
|
+
"INVOICE_PREVIEW_FAILED",
|
|
472
|
+
"Failed to load the invoice preview",
|
|
473
|
+
{ preview: "CHECKOUT" },
|
|
474
|
+
R
|
|
475
|
+
), b !== d) return g;
|
|
476
|
+
throw s.value = k.Failed, R;
|
|
477
|
+
}
|
|
478
|
+
};
|
|
479
|
+
return {
|
|
480
|
+
loadInvoicePreview: p,
|
|
481
|
+
invoicePreview: o,
|
|
482
|
+
invoicePreviewByBillingPeriod: c,
|
|
483
|
+
trialInvoicePreview: l,
|
|
484
|
+
trialPeriod: r,
|
|
485
|
+
lastPreviewScheduleId: T,
|
|
486
|
+
isPending: N(() => s.value === k.Loading),
|
|
487
|
+
isFailed: N(() => s.value === k.Failed),
|
|
488
|
+
/** Settles as the preview asked for last does, however many take over meanwhile. */
|
|
489
|
+
whenLoaded: C
|
|
490
|
+
};
|
|
491
|
+
}, Ri = "solvimon_checkout_redirect_state", Oi = "solvimon_checkout_redirect_state:", Ti = 3600 * 1e3;
|
|
492
|
+
function Mi(e) {
|
|
493
|
+
return typeof e == "object" && e !== null && "savedAt" in e && typeof e.savedAt == "number" && "form" in e;
|
|
494
|
+
}
|
|
495
|
+
function Ui(e, i) {
|
|
496
|
+
if (!e || !i) return;
|
|
497
|
+
const r = new Map(
|
|
498
|
+
e.map(({ pricing_item_config_id: o, number: c }) => [o, c])
|
|
499
|
+
), l = new Set(
|
|
500
|
+
i.map(({ pricing_item_config_id: o }) => o)
|
|
501
|
+
);
|
|
502
|
+
if (![...r.keys()].some((o) => !l.has(o)))
|
|
503
|
+
return i.map((o) => {
|
|
504
|
+
const c = Number(r.get(o.pricing_item_config_id)), s = Number(o.number);
|
|
505
|
+
return c > s ? { ...o, number: String(c) } : o;
|
|
506
|
+
});
|
|
507
|
+
}
|
|
508
|
+
function Re(e, i, r) {
|
|
509
|
+
const l = ({ pricing_item_config_id: s }) => r.has(s), o = (e == null ? void 0 : e.filter(l)) ?? [], c = Ui(
|
|
510
|
+
e == null ? void 0 : e.filter((s) => !l(s)),
|
|
511
|
+
i
|
|
512
|
+
);
|
|
513
|
+
return o.length ? [...c ?? i ?? [], ...o] : c;
|
|
514
|
+
}
|
|
515
|
+
const Li = 1e4;
|
|
516
|
+
function Fi({
|
|
517
|
+
initialCountry: e,
|
|
518
|
+
initialEmail: i,
|
|
519
|
+
subscriptionId: r,
|
|
520
|
+
enabledPricingIds: l,
|
|
521
|
+
isShippingAddressRequired: o
|
|
522
|
+
}) {
|
|
523
|
+
const c = ie(), s = (() => {
|
|
524
|
+
if (e) {
|
|
525
|
+
if (ei(e)) return e;
|
|
526
|
+
c.error("INVALID_COUNTRY_CODE", `invalid country code provided: "${e}"`);
|
|
527
|
+
}
|
|
528
|
+
})(), v = (() => {
|
|
529
|
+
if (i) {
|
|
530
|
+
if (Le.$validator(i, {}, {}) === !0) return i;
|
|
531
|
+
c.error("INVALID_EMAIL", "invalid email provided");
|
|
532
|
+
}
|
|
533
|
+
})(), T = E(!1), h = E(!1), d = E(), g = Ge({}), P = N(
|
|
534
|
+
() => d.value ? ui(
|
|
535
|
+
di(d.value, [
|
|
536
|
+
...g.value.seatsValues ?? [],
|
|
537
|
+
...g.value.unitsValues ?? []
|
|
538
|
+
])
|
|
539
|
+
) : /* @__PURE__ */ new Set()
|
|
540
|
+
), { getSubscription: y } = ri(), p = Ni(), C = N(() => d.value && n.form.value.country && K.value), {
|
|
541
|
+
paymentMethodOptions: L,
|
|
542
|
+
get: m,
|
|
543
|
+
isPending: S,
|
|
544
|
+
error: F
|
|
545
|
+
} = li(), J = async (t, a) => {
|
|
546
|
+
try {
|
|
547
|
+
await m({
|
|
548
|
+
subscriptionId: d.value.id,
|
|
549
|
+
country: t,
|
|
550
|
+
amount: a
|
|
551
|
+
});
|
|
552
|
+
} catch (f) {
|
|
553
|
+
c.error(
|
|
554
|
+
"PAYMENT_METHOD_OPTIONS_LOAD_FAILED",
|
|
555
|
+
"Failed to load the payment methods that can be offered",
|
|
556
|
+
{ flow: "CHECKOUT" },
|
|
557
|
+
f
|
|
558
|
+
);
|
|
559
|
+
}
|
|
560
|
+
}, oe = N(() => F.value !== null), X = () => {
|
|
561
|
+
const { country: t } = n.form.value;
|
|
562
|
+
!d.value || !t || !K.value || J(t, K.value);
|
|
563
|
+
}, V = () => ({
|
|
564
|
+
isShipped: !!o,
|
|
565
|
+
format: n.shippingAddressFormat.value
|
|
566
|
+
}), b = () => {
|
|
567
|
+
const t = n.form.value;
|
|
568
|
+
return p.loadInvoicePreview({
|
|
569
|
+
subscription: d.value,
|
|
570
|
+
customer: ce(t, V()),
|
|
571
|
+
seatsValues: t.seatsValues,
|
|
572
|
+
unitsValues: t.unitsValues,
|
|
573
|
+
enabledPricingIds: t.enabledPricingIds ?? l,
|
|
574
|
+
promotionCode: t.promotionCode
|
|
575
|
+
});
|
|
576
|
+
}, te = (t) => {
|
|
577
|
+
d.value && (d.value = { ...d.value, billing_period: t }, b().catch(() => {
|
|
578
|
+
}));
|
|
579
|
+
}, B = async (t) => {
|
|
580
|
+
const a = t.promotionCode ?? n.form.value.promotionCode, f = t.enabledPricingIds ?? n.form.value.enabledPricingIds, u = { ...n.form.value, ...t };
|
|
581
|
+
return await p.loadInvoicePreview({
|
|
582
|
+
subscription: d.value,
|
|
583
|
+
customer: ce(u, V()),
|
|
584
|
+
seatsValues: u.seatsValues,
|
|
585
|
+
unitsValues: u.unitsValues,
|
|
586
|
+
enabledPricingIds: f,
|
|
587
|
+
promotionCode: a
|
|
588
|
+
}), {
|
|
589
|
+
trialInvoicePreview: p.trialInvoicePreview.value,
|
|
590
|
+
invoicePreview: p.invoicePreview.value
|
|
591
|
+
};
|
|
592
|
+
}, n = He({
|
|
593
|
+
isShippingAddressRequired: o,
|
|
594
|
+
initialState: {
|
|
595
|
+
country: s,
|
|
596
|
+
email: v
|
|
597
|
+
},
|
|
598
|
+
onRequiredFieldChange: () => {
|
|
599
|
+
d.value && b().catch(() => {
|
|
600
|
+
});
|
|
601
|
+
}
|
|
602
|
+
}), ne = async () => {
|
|
603
|
+
var O, U, I, w;
|
|
604
|
+
const t = await y({
|
|
605
|
+
id: r,
|
|
606
|
+
expanded: !0
|
|
607
|
+
}), a = $({
|
|
608
|
+
pricingPlanScheduleInfos: t.pricing_plan_schedule_infos,
|
|
609
|
+
type: "DEFAULT"
|
|
610
|
+
}), f = (w = (I = (U = (O = a == null ? void 0 : a.pricing_plan_version) == null ? void 0 : O.billing_period_settings) == null ? void 0 : U.billing_periods) == null ? void 0 : I[0]) == null ? void 0 : w.period;
|
|
611
|
+
d.value = {
|
|
612
|
+
...t,
|
|
613
|
+
billing_period: f ?? t.billing_period
|
|
614
|
+
};
|
|
615
|
+
const u = De("seats", a), _ = De("units", a);
|
|
616
|
+
g.value = { seatsValues: u, unitsValues: _ }, n.updateInitialState({
|
|
617
|
+
...n.form.value,
|
|
618
|
+
enabledPricingIds: Ze(t, l),
|
|
619
|
+
...u ? { seatsValues: u } : {},
|
|
620
|
+
..._ ? { unitsValues: _ } : {}
|
|
621
|
+
});
|
|
622
|
+
};
|
|
623
|
+
let Z;
|
|
624
|
+
const W = () => Z ?? (Z = fi()), j = N(
|
|
625
|
+
() => d.value ? Be(
|
|
626
|
+
d.value,
|
|
627
|
+
ce(n.form.value, V())
|
|
628
|
+
) : void 0
|
|
629
|
+
), re = N(() => {
|
|
630
|
+
var ue, de, pe, me, ve, fe, ge, _e, Pe;
|
|
631
|
+
const t = n.form.value.firstName || n.form.value.infix || n.form.value.lastName ? {
|
|
632
|
+
...n.form.value.firstName ? { first_name: n.form.value.firstName } : {},
|
|
633
|
+
...n.form.value.infix ? { infix: n.form.value.infix } : {},
|
|
634
|
+
...n.form.value.lastName ? { last_name: n.form.value.lastName } : {}
|
|
635
|
+
} : {}, a = {
|
|
636
|
+
...n.form.value.addressLine1 && {
|
|
637
|
+
line1: n.form.value.addressLine1
|
|
638
|
+
},
|
|
639
|
+
...n.form.value.addressLine2 && {
|
|
640
|
+
line2: n.form.value.addressLine2
|
|
641
|
+
},
|
|
642
|
+
...n.form.value.city && { city: n.form.value.city },
|
|
643
|
+
...n.form.value.postalCode && {
|
|
644
|
+
postal_code: n.form.value.postalCode
|
|
645
|
+
},
|
|
646
|
+
...n.form.value.state && { state: n.form.value.state },
|
|
647
|
+
country: n.form.value.country ?? ""
|
|
648
|
+
}, f = o ? ii(n.form.value, "BILLING") : a, u = $({
|
|
649
|
+
pricingPlanScheduleInfos: ((ue = d.value) == null ? void 0 : ue.pricing_plan_schedule_infos) ?? [],
|
|
650
|
+
type: "DEFAULT"
|
|
651
|
+
}), _ = (de = u == null ? void 0 : u.pricing_plan_version) == null ? void 0 : de.pricing_currency_settings, O = (((pe = _ == null ? void 0 : _.pricing_currencies) == null ? void 0 : pe.length) ?? 0) > 1, U = !!((fe = (ve = (me = u == null ? void 0 : u.pricing_plan_version) == null ? void 0 : me.billing_period_settings) == null ? void 0 : ve.billing_periods) != null && fe.length), I = Fe({
|
|
652
|
+
enabledPricings: (ge = n.form.value.enabledPricingIds) == null ? void 0 : ge.map((H) => ({
|
|
653
|
+
pricing_id: H
|
|
654
|
+
})),
|
|
655
|
+
seatsValues: n.form.value.seatsValues,
|
|
656
|
+
unitsValues: n.form.value.unitsValues,
|
|
657
|
+
pricingPlanScheduleInfos: ((_e = d.value) == null ? void 0 : _e.pricing_plan_schedule_infos) ?? [],
|
|
658
|
+
pricingCurrency: O ? j.value : void 0,
|
|
659
|
+
billingPeriod: U ? (Pe = d.value) == null ? void 0 : Pe.billing_period : void 0
|
|
660
|
+
}), w = n.form.value.promotionCode, le = w && d.value ? (() => {
|
|
661
|
+
var ye, Ie, Ee;
|
|
662
|
+
const H = I ? [...I] : [], ae = ((ye = H[0]) == null ? void 0 : ye.pricing_plan_schedule_id) ?? ((Ee = $({
|
|
663
|
+
pricingPlanScheduleInfos: ((Ie = d.value) == null ? void 0 : Ie.pricing_plan_schedule_infos) ?? [],
|
|
664
|
+
type: "DEFAULT"
|
|
665
|
+
})) == null ? void 0 : Ee.id);
|
|
666
|
+
if (!ae)
|
|
667
|
+
return I;
|
|
668
|
+
const he = H.find(
|
|
669
|
+
({ pricing_plan_schedule_id: A }) => A === ae
|
|
670
|
+
);
|
|
671
|
+
if (he)
|
|
672
|
+
he.promotion_codes = [w];
|
|
673
|
+
else {
|
|
674
|
+
const A = I == null ? void 0 : I[0];
|
|
675
|
+
H.push({
|
|
676
|
+
pricing_plan_schedule_id: ae,
|
|
677
|
+
...(A == null ? void 0 : A.enabled_pricings) && {
|
|
678
|
+
enabled_pricings: A.enabled_pricings
|
|
679
|
+
},
|
|
680
|
+
...(A == null ? void 0 : A.seats_values) && {
|
|
681
|
+
seats_values: A.seats_values
|
|
682
|
+
},
|
|
683
|
+
...(A == null ? void 0 : A.units) && {
|
|
684
|
+
units: A.units
|
|
685
|
+
},
|
|
686
|
+
promotion_codes: [w]
|
|
687
|
+
});
|
|
688
|
+
}
|
|
689
|
+
return H;
|
|
690
|
+
})() : I;
|
|
691
|
+
return {
|
|
692
|
+
type: "INIT_PRICING_PLAN_SUBSCRIPTION",
|
|
693
|
+
init_pricing_plan_subscription: {
|
|
694
|
+
template_pricing_plan_subscription_id: r,
|
|
695
|
+
...le && {
|
|
696
|
+
pricing_plan_schedule_customizations: le
|
|
697
|
+
},
|
|
698
|
+
...o && {
|
|
699
|
+
shipping_address_details: ni(
|
|
700
|
+
n.form.value,
|
|
701
|
+
W(),
|
|
702
|
+
n.shippingAddressFormat.value
|
|
703
|
+
)
|
|
704
|
+
},
|
|
705
|
+
customer_details: {
|
|
706
|
+
email: n.form.value.email ?? "",
|
|
707
|
+
type: n.form.value.type,
|
|
708
|
+
...n.form.value.type === "INDIVIDUAL" ? {
|
|
709
|
+
individual: {
|
|
710
|
+
residential_address: f,
|
|
711
|
+
...t ? { name: t } : {}
|
|
712
|
+
}
|
|
713
|
+
} : {
|
|
714
|
+
organization: {
|
|
715
|
+
registered_address: f,
|
|
716
|
+
legal_name: n.form.value.companyLegalName ?? "",
|
|
717
|
+
...n.form.value.companyVatNumber && ti(n.form.value) && Ue.$validator(n.form.value.companyVatNumber, {}, {}) ? {
|
|
718
|
+
tax_ids: [
|
|
719
|
+
{
|
|
720
|
+
id: n.form.value.companyVatNumber,
|
|
721
|
+
type: oi
|
|
722
|
+
}
|
|
723
|
+
]
|
|
724
|
+
} : {}
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
};
|
|
730
|
+
}), K = N(() => {
|
|
731
|
+
var t, a;
|
|
732
|
+
return ((t = p.trialInvoicePreview.value) == null ? void 0 : t.invoice_amount_including_tax) ?? ((a = p.invoicePreview.value) == null ? void 0 : a.invoice_amount_including_tax);
|
|
733
|
+
}), x = N(
|
|
734
|
+
() => p.invoicePreview.value ? pi(p.invoicePreview.value) : void 0
|
|
735
|
+
), z = N(() => {
|
|
736
|
+
var t;
|
|
737
|
+
return ((t = x.value) == null ? void 0 : t.hasOneOff) ?? !1;
|
|
738
|
+
}), Q = N(() => {
|
|
739
|
+
var a;
|
|
740
|
+
const t = x.value;
|
|
741
|
+
if (t)
|
|
742
|
+
return t.hasOneOff ? t.hasUnattributed ? void 0 : t.recurring.includingTax : (a = p.invoicePreview.value) == null ? void 0 : a.invoice_amount_including_tax;
|
|
743
|
+
});
|
|
744
|
+
ee(
|
|
745
|
+
[() => n.form.value.country, K],
|
|
746
|
+
([t, a]) => {
|
|
747
|
+
!d.value || !t || !a || J(t, a);
|
|
748
|
+
}
|
|
749
|
+
);
|
|
750
|
+
const Y = `${Oi}${r}`, q = mi();
|
|
751
|
+
function R() {
|
|
752
|
+
const t = { savedAt: Date.now(), form: n.form.value };
|
|
753
|
+
try {
|
|
754
|
+
sessionStorage.setItem(Y, JSON.stringify(t));
|
|
755
|
+
} catch (a) {
|
|
756
|
+
c.warn(
|
|
757
|
+
"CHECKOUT_FORM_STATE_NOT_SAVED",
|
|
758
|
+
"Could not keep the checkout form for a redirect return",
|
|
759
|
+
{},
|
|
760
|
+
a
|
|
761
|
+
);
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
function M() {
|
|
765
|
+
try {
|
|
766
|
+
sessionStorage.removeItem(Y), sessionStorage.removeItem(Ri);
|
|
767
|
+
} catch {
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
function G() {
|
|
771
|
+
let t = null;
|
|
772
|
+
try {
|
|
773
|
+
t = sessionStorage.getItem(Y);
|
|
774
|
+
} catch {
|
|
775
|
+
return;
|
|
776
|
+
}
|
|
777
|
+
if (M(), !t || !q) return;
|
|
778
|
+
let a;
|
|
779
|
+
try {
|
|
780
|
+
a = JSON.parse(t);
|
|
781
|
+
} catch {
|
|
782
|
+
return;
|
|
783
|
+
}
|
|
784
|
+
if (!Mi(a)) return;
|
|
785
|
+
const f = Date.now() - a.savedAt;
|
|
786
|
+
if (f < 0 || f > Ti) return;
|
|
787
|
+
const u = hi(a.form);
|
|
788
|
+
return v && delete u.email, Object.keys(u).length ? u : void 0;
|
|
789
|
+
}
|
|
790
|
+
Ve(async () => {
|
|
791
|
+
const t = G();
|
|
792
|
+
t && n.updateInitialState(t);
|
|
793
|
+
try {
|
|
794
|
+
await ne();
|
|
795
|
+
} catch (a) {
|
|
796
|
+
h.value = !0, c.error(
|
|
797
|
+
"SUBSCRIPTION_LOAD_FAILED",
|
|
798
|
+
"Failed to load the subscription the checkout prices",
|
|
799
|
+
{},
|
|
800
|
+
a
|
|
801
|
+
);
|
|
802
|
+
return;
|
|
803
|
+
}
|
|
804
|
+
try {
|
|
805
|
+
await b();
|
|
806
|
+
} catch {
|
|
807
|
+
}
|
|
808
|
+
if (t) {
|
|
809
|
+
const { seatsValues: a, unitsValues: f, ...u } = t, { seatsValues: _, unitsValues: O } = g.value, U = P.value, I = Re(a, _, U), w = Re(f, O, U);
|
|
810
|
+
n.updateInitialState({
|
|
811
|
+
...u,
|
|
812
|
+
...I ? { seatsValues: I } : {},
|
|
813
|
+
...w ? { unitsValues: w } : {}
|
|
814
|
+
});
|
|
815
|
+
}
|
|
816
|
+
});
|
|
817
|
+
const D = async () => {
|
|
818
|
+
if (!d.value) return "FAILED";
|
|
819
|
+
n.flushPreviewChange(), p.isFailed.value && b().catch(() => {
|
|
820
|
+
});
|
|
821
|
+
let t;
|
|
822
|
+
const a = new Promise((f) => {
|
|
823
|
+
t = setTimeout(() => f(!1), Li);
|
|
824
|
+
});
|
|
825
|
+
try {
|
|
826
|
+
if (!await Promise.race([
|
|
827
|
+
p.whenLoaded().then(() => !0),
|
|
828
|
+
a
|
|
829
|
+
])) return "FAILED";
|
|
830
|
+
} catch {
|
|
831
|
+
return "FAILED";
|
|
832
|
+
} finally {
|
|
833
|
+
clearTimeout(t);
|
|
834
|
+
}
|
|
835
|
+
return await Ke(), n.isPreviewStale.value || p.isPending.value ? "CHANGED" : "SETTLED";
|
|
836
|
+
};
|
|
837
|
+
return ee(
|
|
838
|
+
C,
|
|
839
|
+
(t) => {
|
|
840
|
+
t && X();
|
|
841
|
+
},
|
|
842
|
+
{ once: !0 }
|
|
843
|
+
), {
|
|
844
|
+
/** What the host configured, once anything unusable has been dropped and reported. */
|
|
845
|
+
validatedEmail: v,
|
|
846
|
+
validatedCountry: s,
|
|
847
|
+
invoicePreview: p.invoicePreview,
|
|
848
|
+
invoicePreviewByBillingPeriod: p.invoicePreviewByBillingPeriod,
|
|
849
|
+
trialInvoicePreview: p.trialInvoicePreview,
|
|
850
|
+
trialPeriod: p.trialPeriod,
|
|
851
|
+
loadInvoicePreview: b,
|
|
852
|
+
changeBillingPeriod: te,
|
|
853
|
+
updateInvoicePreviewOnBillingInformationChange: B,
|
|
854
|
+
lastPreviewScheduleId: p.lastPreviewScheduleId,
|
|
855
|
+
paymentMethodOptions: L,
|
|
856
|
+
hasPaymentMethodOptionsError: oe,
|
|
857
|
+
retryPaymentMethodOptions: X,
|
|
858
|
+
isPaymentMethodsPending: S,
|
|
859
|
+
isInvoicePreviewPending: p.isPending,
|
|
860
|
+
isInvoicePreviewStale: n.isPreviewStale,
|
|
861
|
+
isInvoicePreviewFailed: p.isFailed,
|
|
862
|
+
hasSubscriptionLoadFailed: h,
|
|
863
|
+
settleInvoicePreview: D,
|
|
864
|
+
subscription: d,
|
|
865
|
+
orderMeterValues: g,
|
|
866
|
+
quantityAddonConfigIds: P,
|
|
867
|
+
checkoutForm: n,
|
|
868
|
+
authorizationContext: re,
|
|
869
|
+
pricingCurrency: j,
|
|
870
|
+
isPaid: T,
|
|
871
|
+
amount: K,
|
|
872
|
+
recurringAmount: Q,
|
|
873
|
+
hasOneOffCharges: z,
|
|
874
|
+
saveFormStateForRedirect: R,
|
|
875
|
+
clearSavedFormState: M
|
|
876
|
+
};
|
|
877
|
+
}
|
|
878
|
+
function wi({
|
|
879
|
+
checkoutForm: e,
|
|
880
|
+
updateInvoicePreviewOnBillingInformationChange: i,
|
|
881
|
+
formatErrorMessage: r,
|
|
882
|
+
onInvalidPromotionCode: l,
|
|
883
|
+
onApplyError: o
|
|
884
|
+
}) {
|
|
885
|
+
const c = ie(), s = E(!1), v = E(null), T = (P, y) => {
|
|
886
|
+
v.value = r ? r({ action: P, error: y }) : P === "apply" ? "Promotion code could not be applied. Please try again." : "Promotion code could not be removed. Please try again.";
|
|
887
|
+
};
|
|
888
|
+
let h = 0;
|
|
889
|
+
const d = async (P) => {
|
|
890
|
+
const y = P == null ? void 0 : P.trim();
|
|
891
|
+
if (!y)
|
|
892
|
+
return;
|
|
893
|
+
const p = ++h;
|
|
894
|
+
v.value = null, e.form.value.promotionCode = y, s.value = !0;
|
|
895
|
+
try {
|
|
896
|
+
await i({
|
|
897
|
+
promotionCode: y
|
|
898
|
+
});
|
|
899
|
+
} catch (C) {
|
|
900
|
+
if (p !== h) return;
|
|
901
|
+
const L = $e(C);
|
|
902
|
+
L ? c.warn(
|
|
903
|
+
"PROMOTION_CODE_REJECTED",
|
|
904
|
+
"The promotion code was not accepted",
|
|
905
|
+
{},
|
|
906
|
+
C
|
|
907
|
+
) : c.capture(C, {
|
|
908
|
+
code: "PROMOTION_CODE_APPLY_FAILED",
|
|
909
|
+
message: "Failed to apply promotion code"
|
|
910
|
+
}), T("apply", C), o == null || o(), L && (l == null || l()), s.value = !1, g({ suppressError: !0, preserveErrorMessage: !0 });
|
|
911
|
+
return;
|
|
912
|
+
}
|
|
913
|
+
p === h && (s.value = !1);
|
|
914
|
+
}, g = async ({
|
|
915
|
+
suppressError: P = !1,
|
|
916
|
+
preserveErrorMessage: y = !1
|
|
917
|
+
} = {}) => {
|
|
918
|
+
const p = ++h;
|
|
919
|
+
y || (v.value = null), delete e.form.value.promotionCode, s.value = !0;
|
|
920
|
+
try {
|
|
921
|
+
await i({});
|
|
922
|
+
} catch (C) {
|
|
923
|
+
if (p !== h) return;
|
|
924
|
+
c.capture(C, {
|
|
925
|
+
code: "PROMOTION_CODE_REMOVE_FAILED",
|
|
926
|
+
message: "Failed to remove promotion code"
|
|
927
|
+
}), P || T("remove", C);
|
|
928
|
+
}
|
|
929
|
+
p === h && (s.value = !1);
|
|
930
|
+
};
|
|
931
|
+
return {
|
|
932
|
+
applyPromotionCode: d,
|
|
933
|
+
removePromotionCode: g,
|
|
934
|
+
isPromotionCodePending: s,
|
|
935
|
+
promotionCodeErrorMessage: v
|
|
936
|
+
};
|
|
937
|
+
}
|
|
938
|
+
function bi({
|
|
939
|
+
subscription: e,
|
|
940
|
+
promotionCode: i,
|
|
941
|
+
appliedPromotionCode: r,
|
|
942
|
+
applyPromotionCode: l
|
|
943
|
+
}) {
|
|
944
|
+
ee(
|
|
945
|
+
e,
|
|
946
|
+
(o) => {
|
|
947
|
+
const c = ke(i);
|
|
948
|
+
o && c && (r.value = c, l(c));
|
|
949
|
+
},
|
|
950
|
+
{ once: !0 }
|
|
951
|
+
);
|
|
952
|
+
}
|
|
953
|
+
const Bi = /* @__PURE__ */ Oe({
|
|
954
|
+
__name: "LegacyCheckout",
|
|
955
|
+
props: {
|
|
956
|
+
configuration: { type: Object },
|
|
957
|
+
avatar: { type: String }
|
|
958
|
+
},
|
|
959
|
+
setup(e) {
|
|
960
|
+
var y, p, C, L, m;
|
|
961
|
+
const i = e, r = gi(), { $t: l } = Je();
|
|
962
|
+
if (ie().info("COMPONENT_INITIALIZED", "Checkout component initialized"), ((y = r.value) == null ? void 0 : y.type) !== "INIT_PRICING_PLAN_SUBSCRIPTION")
|
|
963
|
+
throw new je("INVALID_TOKEN", "Invalid token");
|
|
964
|
+
const o = (p = r.value) == null ? void 0 : p.init_pricing_plan_subscription, c = (o == null ? void 0 : o.use_shipping_addresses) === !0, s = Fi({
|
|
965
|
+
initialCountry: (C = i.configuration) == null ? void 0 : C.countryCode,
|
|
966
|
+
initialEmail: (L = i.configuration) == null ? void 0 : L.email,
|
|
967
|
+
subscriptionId: o == null ? void 0 : o.pricing_plan_subscription_id,
|
|
968
|
+
enabledPricingIds: (m = i.configuration) == null ? void 0 : m.enabledPricingIds,
|
|
969
|
+
isShippingAddressRequired: c
|
|
970
|
+
}), v = E(null);
|
|
971
|
+
ee(
|
|
972
|
+
() => s.checkoutForm.form.value.promotionCode,
|
|
973
|
+
(S) => {
|
|
974
|
+
v.value = S ?? null;
|
|
975
|
+
}
|
|
976
|
+
);
|
|
977
|
+
const {
|
|
978
|
+
applyPromotionCode: T,
|
|
979
|
+
removePromotionCode: h,
|
|
980
|
+
isPromotionCodePending: d,
|
|
981
|
+
promotionCodeErrorMessage: g
|
|
982
|
+
} = wi({
|
|
983
|
+
checkoutForm: s.checkoutForm,
|
|
984
|
+
updateInvoicePreviewOnBillingInformationChange: s.updateInvoicePreviewOnBillingInformationChange,
|
|
985
|
+
formatErrorMessage: ({ action: S }) => l(S === "apply" ? {
|
|
986
|
+
defaultMessage: "Promotion code could not be applied. Please try again.",
|
|
987
|
+
id: "checkout.promotion_code.apply_failed",
|
|
988
|
+
description: "Error message when applying a promotion code in checkout failed"
|
|
989
|
+
} : {
|
|
990
|
+
defaultMessage: "Promotion code could not be removed. Please try again.",
|
|
991
|
+
id: "checkout.promotion_code.remove_failed",
|
|
992
|
+
description: "Error message when removing a promotion code in checkout failed"
|
|
993
|
+
}),
|
|
994
|
+
onInvalidPromotionCode: () => {
|
|
995
|
+
v.value = null;
|
|
996
|
+
},
|
|
997
|
+
onApplyError: () => {
|
|
998
|
+
v.value = null;
|
|
999
|
+
}
|
|
1000
|
+
});
|
|
1001
|
+
bi({
|
|
1002
|
+
subscription: s.subscription,
|
|
1003
|
+
promotionCode: () => {
|
|
1004
|
+
var S;
|
|
1005
|
+
return (S = i.configuration) == null ? void 0 : S.couponCode;
|
|
1006
|
+
},
|
|
1007
|
+
appliedPromotionCode: v,
|
|
1008
|
+
applyPromotionCode: T
|
|
1009
|
+
});
|
|
1010
|
+
const P = {
|
|
1011
|
+
...s,
|
|
1012
|
+
isShippingAddressRequired: c,
|
|
1013
|
+
promotionCode: {
|
|
1014
|
+
code: v,
|
|
1015
|
+
isPending: d,
|
|
1016
|
+
errorMessage: g,
|
|
1017
|
+
apply: T,
|
|
1018
|
+
remove: () => h()
|
|
1019
|
+
},
|
|
1020
|
+
payment: {
|
|
1021
|
+
paymentMethodOptions: s.paymentMethodOptions,
|
|
1022
|
+
isPaymentMethodsPending: s.isPaymentMethodsPending,
|
|
1023
|
+
hasPaymentMethodOptionsError: s.hasPaymentMethodOptionsError,
|
|
1024
|
+
retryPaymentMethodOptions: s.retryPaymentMethodOptions,
|
|
1025
|
+
authorizationContext: s.authorizationContext,
|
|
1026
|
+
updateInvoicePreviewOnBillingInformationChange: s.updateInvoicePreviewOnBillingInformationChange
|
|
1027
|
+
},
|
|
1028
|
+
successUrl: E(o == null ? void 0 : o.success_url),
|
|
1029
|
+
note: E(o == null ? void 0 : o.note)
|
|
1030
|
+
};
|
|
1031
|
+
return (S, F) => (Te(), Me(We, {
|
|
1032
|
+
source: P,
|
|
1033
|
+
configuration: e.configuration,
|
|
1034
|
+
avatar: e.avatar
|
|
1035
|
+
}, null, 8, ["configuration", "avatar"]));
|
|
1036
|
+
}
|
|
1037
|
+
}), Gi = 256, Vi = /^[^\s\p{C}]+$/u;
|
|
1038
|
+
function Ki(e) {
|
|
1039
|
+
const i = e == null ? void 0 : e.trim();
|
|
1040
|
+
if (!(!i || i.length > Gi || !Vi.test(i)))
|
|
1041
|
+
return i;
|
|
1042
|
+
}
|
|
1043
|
+
const ki = /* @__PURE__ */ Oe({
|
|
1044
|
+
__name: "Checkout.entry",
|
|
1045
|
+
props: {
|
|
1046
|
+
environment: { type: String },
|
|
1047
|
+
locale: { type: String },
|
|
1048
|
+
dateLocale: { type: String },
|
|
1049
|
+
messages: { type: Object },
|
|
1050
|
+
portalToken: { type: Object },
|
|
1051
|
+
experimentalFeatures: { type: Array },
|
|
1052
|
+
logLevel: { type: String },
|
|
1053
|
+
onLog: { type: Function },
|
|
1054
|
+
cssOverrides: { type: [String, Array] },
|
|
1055
|
+
branding: { type: Object },
|
|
1056
|
+
portalObject: { type: null },
|
|
1057
|
+
configuration: { type: Object }
|
|
1058
|
+
},
|
|
1059
|
+
setup(e) {
|
|
1060
|
+
const i = Qe("checkout"), r = e, l = N(
|
|
1061
|
+
() => {
|
|
1062
|
+
var o;
|
|
1063
|
+
return ((o = r.configuration) == null ? void 0 : o.couponCode) ?? Ki(vi("coupon_code"));
|
|
1064
|
+
}
|
|
1065
|
+
);
|
|
1066
|
+
return (o, c) => (Te(), Me(Ce(ze), {
|
|
1067
|
+
entry: o.$props,
|
|
1068
|
+
"component-name": Ce(i),
|
|
1069
|
+
"allowed-portal-types": ["INIT_PRICING_PLAN_SUBSCRIPTION"]
|
|
1070
|
+
}, {
|
|
1071
|
+
"portal-unavailable": se(() => [
|
|
1072
|
+
Se(xe, { class: "sv-checkout sv-root sv-screen sv-checkout--error" })
|
|
1073
|
+
]),
|
|
1074
|
+
default: se(() => {
|
|
1075
|
+
var s, v;
|
|
1076
|
+
return [
|
|
1077
|
+
Se(Bi, {
|
|
1078
|
+
configuration: { ...e.configuration, couponCode: l.value },
|
|
1079
|
+
avatar: ((v = (s = e.branding) == null ? void 0 : s.emblem) == null ? void 0 : v.public_url) ?? void 0
|
|
1080
|
+
}, Xe({ _: 2 }, [
|
|
1081
|
+
o.$slots["terms-and-conditions"] ? {
|
|
1082
|
+
name: "terms-and-conditions",
|
|
1083
|
+
fn: se(() => [
|
|
1084
|
+
Ye(o.$slots, "terms-and-conditions")
|
|
1085
|
+
]),
|
|
1086
|
+
key: "0"
|
|
1087
|
+
} : void 0
|
|
1088
|
+
]), 1032, ["configuration", "avatar"])
|
|
1089
|
+
];
|
|
1090
|
+
}),
|
|
1091
|
+
_: 3
|
|
1092
|
+
}, 8, ["entry", "component-name"]));
|
|
1093
|
+
}
|
|
1094
|
+
}), { define: ao } = qe(
|
|
1095
|
+
ki,
|
|
1096
|
+
"checkout"
|
|
1097
|
+
);
|
|
1098
|
+
export {
|
|
1099
|
+
ao as defineSolvimonCheckout
|
|
1100
|
+
};
|