@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,340 @@
|
|
|
1
|
+
import { shallowRef as W, ref as M, computed as V, toRaw as U, defineComponent as X, reactive as Y, watch as J, openBlock as b, createElementBlock as q, withModifiers as K, createBlock as T, unref as t, withCtx as F, createTextVNode as O, toDisplayString as $, createCommentVNode as _, createElementVNode as G, createVNode as k, isRef as z } from "vue";
|
|
2
|
+
import { _ as Q } from "./Button.vue.es-BHbanjR0.mjs";
|
|
3
|
+
import { _ as ee } from "./ErrorNotification.vue.es-CWIVt5q9.mjs";
|
|
4
|
+
import { _ as R } from "./Input.vue.es-CxiwRZYs.mjs";
|
|
5
|
+
import { a as ae, d as P } from "./customElements-d7Bhfqi_.mjs";
|
|
6
|
+
import { h as te, g as oe } from "./BillingInformationForm.lib-ad8B2Y1O.mjs";
|
|
7
|
+
import { a as ie, i as Z } from "./typeGuards.es-B4XMtlkM.mjs";
|
|
8
|
+
import { o as le, t as j, _ as ne, a as re } from "./taxId.es-Zu2Ff1gL.mjs";
|
|
9
|
+
import { u as se, b as H, e as ue, r as me, f as B, a as E } from "./formControl-BZQLHnOO.mjs";
|
|
10
|
+
import { r as de, b as ce, g as D, u as pe, p as fe, d as ge, e as w, D as ve, i as ye, f as he, c as be } from "./useAddressFormats-Dw7IEdxg.mjs";
|
|
11
|
+
const Ne = ({
|
|
12
|
+
initialState: e,
|
|
13
|
+
validationRules: a,
|
|
14
|
+
nullifyEmptyValues: o = !1,
|
|
15
|
+
mode: i = "shallow"
|
|
16
|
+
}) => {
|
|
17
|
+
const u = W(structuredClone(e)), l = M(structuredClone(e)), p = se(a ?? {}, l), f = V(
|
|
18
|
+
() => le({ from: u.value, to: l.value, mode: i, nullifyEmptyValues: o })
|
|
19
|
+
), r = V(() => Object.entries(f.value).length > 0);
|
|
20
|
+
return {
|
|
21
|
+
form: l,
|
|
22
|
+
validation: p,
|
|
23
|
+
changes: f,
|
|
24
|
+
hasChanges: r,
|
|
25
|
+
updateInitialState: (d) => {
|
|
26
|
+
l.value = structuredClone(U(d)), u.value = structuredClone(U(d));
|
|
27
|
+
},
|
|
28
|
+
initialState: u
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
function Ie({
|
|
32
|
+
initialState: e = {},
|
|
33
|
+
onSubmit: a
|
|
34
|
+
}) {
|
|
35
|
+
const o = (n) => ge(d.value.country).includes(n), i = () => d.value.type === "ORGANIZATION", u = M([]), l = (n) => {
|
|
36
|
+
var m;
|
|
37
|
+
return ((n == null ? void 0 : n.trim()) ?? "") !== (((m = L.value.companyVatNumber) == null ? void 0 : m.trim()) ?? "");
|
|
38
|
+
}, p = (n, m, x) => !w(d.value) || !l(n) || j.$validator(n, m, x), f = () => S(d.value.country), r = fe(f), C = (n) => d.value.postalCode === L.value.postalCode && d.value.country === L.value.country || r.$validator(n), {
|
|
39
|
+
form: d,
|
|
40
|
+
validation: N,
|
|
41
|
+
changes: A,
|
|
42
|
+
hasChanges: y,
|
|
43
|
+
updateInitialState: h,
|
|
44
|
+
initialState: L
|
|
45
|
+
} = Ne({
|
|
46
|
+
initialState: D(e),
|
|
47
|
+
validationRules: {
|
|
48
|
+
...ce("BILLING", f, o),
|
|
49
|
+
postalCode: {
|
|
50
|
+
...de(o, "postalCode"),
|
|
51
|
+
postalCodeFormat: { ...r, $validator: C }
|
|
52
|
+
},
|
|
53
|
+
email: { required: H, email: ue },
|
|
54
|
+
country: { required: H },
|
|
55
|
+
companyLegalName: { required: me(i) },
|
|
56
|
+
companyVatNumber: { taxId: { ...j, $validator: p } }
|
|
57
|
+
},
|
|
58
|
+
nullifyEmptyValues: !0,
|
|
59
|
+
mode: "deep"
|
|
60
|
+
}), { formatOf: S } = pe({
|
|
61
|
+
isNeeded: () => !0,
|
|
62
|
+
countries: [() => d.value.country]
|
|
63
|
+
});
|
|
64
|
+
return {
|
|
65
|
+
form: d,
|
|
66
|
+
validation: N,
|
|
67
|
+
changes: A,
|
|
68
|
+
hasChanges: y,
|
|
69
|
+
updateInitialState: (n) => {
|
|
70
|
+
u.value = ie(n) ? n.organization.tax_ids ?? [] : [], h(_e(n));
|
|
71
|
+
},
|
|
72
|
+
submit: (n, m = d.value) => a({
|
|
73
|
+
customerId: n,
|
|
74
|
+
payload: Le(
|
|
75
|
+
m,
|
|
76
|
+
// A hidden VAT number, as in the US, is neither checked nor sent.
|
|
77
|
+
w(m) && l(m.companyVatNumber) ? Ce(u.value, m.companyVatNumber) : void 0
|
|
78
|
+
)
|
|
79
|
+
}),
|
|
80
|
+
isRequired: o
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
const _e = (e) => {
|
|
84
|
+
var i, u, l, p;
|
|
85
|
+
const a = Z(e) ? e.individual.residential_address : e.organization.registered_address, o = {
|
|
86
|
+
email: e.email || void 0,
|
|
87
|
+
country: a != null && a.country && ye(a.country) ? a.country : void 0,
|
|
88
|
+
addressLine1: (a == null ? void 0 : a.line1) || void 0,
|
|
89
|
+
addressLine2: (a == null ? void 0 : a.line2) || void 0,
|
|
90
|
+
postalCode: (a == null ? void 0 : a.postal_code) || void 0,
|
|
91
|
+
city: (a == null ? void 0 : a.city) || void 0,
|
|
92
|
+
state: (a == null ? void 0 : a.state) || void 0
|
|
93
|
+
};
|
|
94
|
+
return Z(e) ? D({
|
|
95
|
+
type: "INDIVIDUAL",
|
|
96
|
+
...o,
|
|
97
|
+
firstName: ((i = e.individual.name) == null ? void 0 : i.first_name) || void 0,
|
|
98
|
+
lastName: ((u = e.individual.name) == null ? void 0 : u.last_name) || void 0
|
|
99
|
+
}) : D({
|
|
100
|
+
type: "ORGANIZATION",
|
|
101
|
+
...o,
|
|
102
|
+
companyLegalName: e.organization.legal_name || void 0,
|
|
103
|
+
companyVatNumber: ((p = (l = e.organization.tax_ids) == null ? void 0 : l[0]) == null ? void 0 : p.id) || void 0
|
|
104
|
+
});
|
|
105
|
+
}, Ve = ({ id: e, type: a, display_name: o }) => ({
|
|
106
|
+
id: e,
|
|
107
|
+
type: a,
|
|
108
|
+
...o && { display_name: o }
|
|
109
|
+
}), Ce = (e, a) => {
|
|
110
|
+
const o = a == null ? void 0 : a.trim(), [i, ...u] = e.map(Ve);
|
|
111
|
+
return o ? [{ ...i, id: o, type: (i == null ? void 0 : i.type) ?? ve }, ...u] : u;
|
|
112
|
+
}, Le = (e, a) => {
|
|
113
|
+
const o = {
|
|
114
|
+
line1: e.addressLine1 ?? "",
|
|
115
|
+
line2: e.addressLine2 ?? "",
|
|
116
|
+
postal_code: e.postalCode ?? "",
|
|
117
|
+
city: e.city ?? "",
|
|
118
|
+
country: e.country ?? "",
|
|
119
|
+
state: e.state ?? ""
|
|
120
|
+
};
|
|
121
|
+
return e.type === "ORGANIZATION" ? {
|
|
122
|
+
type: "ORGANIZATION",
|
|
123
|
+
email: e.email ?? "",
|
|
124
|
+
organization: {
|
|
125
|
+
legal_name: e.companyLegalName ?? "",
|
|
126
|
+
...a && { tax_ids: a },
|
|
127
|
+
registered_address: o
|
|
128
|
+
}
|
|
129
|
+
} : {
|
|
130
|
+
type: "INDIVIDUAL",
|
|
131
|
+
email: e.email ?? "",
|
|
132
|
+
individual: {
|
|
133
|
+
name: {
|
|
134
|
+
first_name: e.firstName ?? "",
|
|
135
|
+
last_name: e.lastName ?? ""
|
|
136
|
+
},
|
|
137
|
+
residential_address: o
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
}, Te = { class: "grid grid-cols-1 gap-2" }, ke = { class: "flex flex-col gap-2" }, Se = {
|
|
141
|
+
key: 0,
|
|
142
|
+
class: "grid grid-cols-2 gap-2"
|
|
143
|
+
}, Me = /* @__PURE__ */ X({
|
|
144
|
+
__name: "BillingInformationForm",
|
|
145
|
+
props: {
|
|
146
|
+
customer: { type: Object },
|
|
147
|
+
isLoading: { type: Boolean },
|
|
148
|
+
apiError: { type: null },
|
|
149
|
+
updateCustomer: { type: Function },
|
|
150
|
+
hideSubmitButton: { type: Boolean },
|
|
151
|
+
hideContactHeading: { type: Boolean }
|
|
152
|
+
},
|
|
153
|
+
emits: ["saved"],
|
|
154
|
+
setup(e, { expose: a, emit: o }) {
|
|
155
|
+
const i = e, u = o, { $t: l } = ae(), p = he(), { validation: f, form: r, updateInitialState: C, submit: d, hasChanges: N, isRequired: A } = Ie({
|
|
156
|
+
onSubmit: ({ customerId: s, payload: c }) => i.updateCustomer({ customerId: s, payload: c })
|
|
157
|
+
}), y = Y({
|
|
158
|
+
email: B(r, "email", E),
|
|
159
|
+
firstName: B(r, "firstName", E),
|
|
160
|
+
lastName: B(r, "lastName", E)
|
|
161
|
+
}), h = V(() => r.value.type === "ORGANIZATION"), L = V(() => !te(i.customer)), S = V({
|
|
162
|
+
get: () => h.value,
|
|
163
|
+
set: (s) => {
|
|
164
|
+
r.value.type = s ? "ORGANIZATION" : "INDIVIDUAL";
|
|
165
|
+
}
|
|
166
|
+
}), I = V(
|
|
167
|
+
() => oe(i.apiError, [
|
|
168
|
+
"email",
|
|
169
|
+
"country",
|
|
170
|
+
"addressLine1",
|
|
171
|
+
"postalCode",
|
|
172
|
+
"city",
|
|
173
|
+
"state",
|
|
174
|
+
...h.value ? ["companyLegalName"] : [],
|
|
175
|
+
// Without the field, as in the US, an error about it is shown as a generic one.
|
|
176
|
+
...w(r.value) ? ["companyVatNumber"] : [],
|
|
177
|
+
...h.value ? [] : ["firstName", "lastName"]
|
|
178
|
+
])
|
|
179
|
+
), v = (s) => f.value[s].$errors.length ? f.value[s].$errors : I.value.fields[s], n = (s) => A(s) ? "" : " " + l({
|
|
180
|
+
defaultMessage: "(optional)",
|
|
181
|
+
id: "checkout.optional_suffix.label",
|
|
182
|
+
description: "The suffix for optional fields in the checkout form"
|
|
183
|
+
}), m = M(!1), x = async () => {
|
|
184
|
+
var s;
|
|
185
|
+
if (m.value || !((s = i.customer) != null && s.id)) return !1;
|
|
186
|
+
if (!N.value)
|
|
187
|
+
return u("saved"), !0;
|
|
188
|
+
m.value = !0;
|
|
189
|
+
try {
|
|
190
|
+
return await f.value.$validate() ? (C(await d(i.customer.id)), f.value.$reset(), u("saved"), !0) : !1;
|
|
191
|
+
} catch {
|
|
192
|
+
return !1;
|
|
193
|
+
} finally {
|
|
194
|
+
m.value = !1;
|
|
195
|
+
}
|
|
196
|
+
};
|
|
197
|
+
return a({ submit: x, isSubmitting: m, hasChanges: N }), J(
|
|
198
|
+
() => i.customer,
|
|
199
|
+
(s) => {
|
|
200
|
+
s && !N.value && C(s);
|
|
201
|
+
},
|
|
202
|
+
{ immediate: !0 }
|
|
203
|
+
), (s, c) => (b(), q("form", {
|
|
204
|
+
onSubmit: K(x, ["prevent"])
|
|
205
|
+
}, [
|
|
206
|
+
e.hideContactHeading ? _("", !0) : (b(), T(t(P), {
|
|
207
|
+
key: 0,
|
|
208
|
+
variant: "heading-3",
|
|
209
|
+
tag: "h2"
|
|
210
|
+
}, {
|
|
211
|
+
default: F(() => [
|
|
212
|
+
O($(t(p).contactInformationTitle), 1)
|
|
213
|
+
]),
|
|
214
|
+
_: 1
|
|
215
|
+
})),
|
|
216
|
+
G("div", Te, [
|
|
217
|
+
k(t(R), {
|
|
218
|
+
modelValue: y.email,
|
|
219
|
+
"onUpdate:modelValue": c[0] || (c[0] = (g) => y.email = g),
|
|
220
|
+
required: "",
|
|
221
|
+
type: "email",
|
|
222
|
+
name: "email",
|
|
223
|
+
autocomplete: "email",
|
|
224
|
+
label: t(p).emailLabel,
|
|
225
|
+
placeholder: t(p).emailPlaceholder,
|
|
226
|
+
error: v("email")
|
|
227
|
+
}, null, 8, ["modelValue", "label", "placeholder", "error"]),
|
|
228
|
+
L.value ? (b(), T(ne, {
|
|
229
|
+
key: 0,
|
|
230
|
+
modelValue: S.value,
|
|
231
|
+
"onUpdate:modelValue": c[1] || (c[1] = (g) => S.value = g),
|
|
232
|
+
"no-spacing": "",
|
|
233
|
+
class: "sv-billing-form__company-toggle !flex"
|
|
234
|
+
}, null, 8, ["modelValue"])) : _("", !0),
|
|
235
|
+
h.value ? (b(), T(re, {
|
|
236
|
+
key: 1,
|
|
237
|
+
modelValue: t(r),
|
|
238
|
+
"onUpdate:modelValue": c[2] || (c[2] = (g) => z(r) ? r.value = g : null),
|
|
239
|
+
errors: {
|
|
240
|
+
companyLegalName: v("companyLegalName"),
|
|
241
|
+
companyVatNumber: v("companyVatNumber")
|
|
242
|
+
},
|
|
243
|
+
"is-vat-number-invalid": t(f).companyVatNumber.$invalid
|
|
244
|
+
}, null, 8, ["modelValue", "errors", "is-vat-number-invalid"])) : _("", !0)
|
|
245
|
+
]),
|
|
246
|
+
k(t(P), {
|
|
247
|
+
variant: "heading-3",
|
|
248
|
+
tag: "h2",
|
|
249
|
+
class: "mt-6"
|
|
250
|
+
}, {
|
|
251
|
+
default: F(() => [
|
|
252
|
+
O($(t(l)({
|
|
253
|
+
defaultMessage: "Billing details",
|
|
254
|
+
id: "checkout.billing_information_block.title",
|
|
255
|
+
description: "The title of the billing information block in the checkout form"
|
|
256
|
+
})), 1)
|
|
257
|
+
]),
|
|
258
|
+
_: 1
|
|
259
|
+
}),
|
|
260
|
+
G("div", ke, [
|
|
261
|
+
h.value ? _("", !0) : (b(), q("div", Se, [
|
|
262
|
+
k(t(R), {
|
|
263
|
+
modelValue: y.firstName,
|
|
264
|
+
"onUpdate:modelValue": c[3] || (c[3] = (g) => y.firstName = g),
|
|
265
|
+
name: "first_name",
|
|
266
|
+
autocomplete: "billing given-name",
|
|
267
|
+
label: t(l)({
|
|
268
|
+
defaultMessage: "First name",
|
|
269
|
+
id: "checkout.first_name.label",
|
|
270
|
+
description: "The first name of the customer in the checkout form"
|
|
271
|
+
}),
|
|
272
|
+
placeholder: t(l)({
|
|
273
|
+
defaultMessage: "First name",
|
|
274
|
+
id: "checkout.first_name.placeholder",
|
|
275
|
+
description: "The first name of the customer in the checkout form"
|
|
276
|
+
}),
|
|
277
|
+
error: I.value.fields.firstName
|
|
278
|
+
}, null, 8, ["modelValue", "label", "placeholder", "error"]),
|
|
279
|
+
k(t(R), {
|
|
280
|
+
modelValue: y.lastName,
|
|
281
|
+
"onUpdate:modelValue": c[4] || (c[4] = (g) => y.lastName = g),
|
|
282
|
+
name: "last_name",
|
|
283
|
+
autocomplete: "billing family-name",
|
|
284
|
+
label: t(l)({
|
|
285
|
+
defaultMessage: "Last name",
|
|
286
|
+
id: "checkout.last_name.label",
|
|
287
|
+
description: "The last name of the customer in the checkout form"
|
|
288
|
+
}),
|
|
289
|
+
placeholder: t(l)({
|
|
290
|
+
defaultMessage: "Last name",
|
|
291
|
+
id: "checkout.last_name.placeholder",
|
|
292
|
+
description: "The last name of the customer in the checkout form"
|
|
293
|
+
}),
|
|
294
|
+
error: I.value.fields.lastName
|
|
295
|
+
}, null, 8, ["modelValue", "label", "placeholder", "error"])
|
|
296
|
+
])),
|
|
297
|
+
k(be, {
|
|
298
|
+
modelValue: t(r),
|
|
299
|
+
"onUpdate:modelValue": c[5] || (c[5] = (g) => z(r) ? r.value = g : null),
|
|
300
|
+
variant: "BILLING",
|
|
301
|
+
"with-country": "",
|
|
302
|
+
"country-label": t(p).countryLabel,
|
|
303
|
+
"get-optional-suffix": n,
|
|
304
|
+
errors: {
|
|
305
|
+
addressLine1: v("addressLine1"),
|
|
306
|
+
postalCode: v("postalCode"),
|
|
307
|
+
city: v("city"),
|
|
308
|
+
state: v("state"),
|
|
309
|
+
country: v("country")
|
|
310
|
+
}
|
|
311
|
+
}, null, 8, ["modelValue", "country-label", "errors"])
|
|
312
|
+
]),
|
|
313
|
+
I.value.generic ? (b(), T(t(ee), {
|
|
314
|
+
key: 1,
|
|
315
|
+
class: "mt-4",
|
|
316
|
+
title: I.value.generic
|
|
317
|
+
}, null, 8, ["title"])) : _("", !0),
|
|
318
|
+
e.hideSubmitButton ? _("", !0) : (b(), T(t(Q), {
|
|
319
|
+
key: 2,
|
|
320
|
+
type: "submit",
|
|
321
|
+
intent: "primary",
|
|
322
|
+
disabled: !t(N),
|
|
323
|
+
loading: e.isLoading || m.value,
|
|
324
|
+
class: "mt-4"
|
|
325
|
+
}, {
|
|
326
|
+
default: F(() => [
|
|
327
|
+
O($(t(l)({
|
|
328
|
+
defaultMessage: "Save changes",
|
|
329
|
+
id: "billing_information_form.submit_button.label",
|
|
330
|
+
description: "The label for the submit button of the billing information form"
|
|
331
|
+
})), 1)
|
|
332
|
+
]),
|
|
333
|
+
_: 1
|
|
334
|
+
}, 8, ["disabled", "loading"]))
|
|
335
|
+
], 32));
|
|
336
|
+
}
|
|
337
|
+
});
|
|
338
|
+
export {
|
|
339
|
+
Me as _
|
|
340
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { defineComponent as v, ref as u, watch as w, computed as M, openBlock as c, createBlock as f, unref as o, withCtx as x, createCommentVNode as y } from "vue";
|
|
2
|
+
import { b as C } from "./api.es-QaC926Xu.mjs";
|
|
3
|
+
import { M as _ } from "./Modal.vue.es-CDjfZDDx.mjs";
|
|
4
|
+
import { a as k } from "./customElements-d7Bhfqi_.mjs";
|
|
5
|
+
import { _ as B } from "./BillingInformationForm.vue_vue_type_script_setup_true_lang-BUdcXy0H.mjs";
|
|
6
|
+
import { h as $ } from "./BillingInformationForm.lib-ad8B2Y1O.mjs";
|
|
7
|
+
const j = /* @__PURE__ */ v({
|
|
8
|
+
__name: "BillingInformationModal",
|
|
9
|
+
props: {
|
|
10
|
+
showModal: { type: Boolean },
|
|
11
|
+
customer: { type: Object },
|
|
12
|
+
update: { type: null }
|
|
13
|
+
},
|
|
14
|
+
emits: ["close"],
|
|
15
|
+
setup(e, { emit: b }) {
|
|
16
|
+
const i = e, g = b, { $t: n } = k(), l = u(), r = u(!1);
|
|
17
|
+
w(
|
|
18
|
+
() => i.showModal,
|
|
19
|
+
(t) => {
|
|
20
|
+
t && (r.value = !$(i.customer));
|
|
21
|
+
},
|
|
22
|
+
{ immediate: !0 }
|
|
23
|
+
);
|
|
24
|
+
const h = M(
|
|
25
|
+
() => i.update.error.value ? C(i.update.error.value) : void 0
|
|
26
|
+
), p = () => {
|
|
27
|
+
var t;
|
|
28
|
+
(t = l.value) != null && t.isSubmitting || g("close");
|
|
29
|
+
};
|
|
30
|
+
return (t, a) => {
|
|
31
|
+
var d;
|
|
32
|
+
return c(), f(o(_), {
|
|
33
|
+
"no-click-away": "",
|
|
34
|
+
"full-screen-on-mobile": "",
|
|
35
|
+
size: "lg",
|
|
36
|
+
"show-modal": e.showModal,
|
|
37
|
+
title: r.value ? o(n)({
|
|
38
|
+
defaultMessage: "Add billing address",
|
|
39
|
+
id: "billing_information_modal.add_title",
|
|
40
|
+
description: "Title of the modal in which a customer without a billing address adds one"
|
|
41
|
+
}) : o(n)({
|
|
42
|
+
defaultMessage: "Edit billing information",
|
|
43
|
+
id: "billing_information_modal.title",
|
|
44
|
+
description: "Title of the modal in which the customer edits their billing information"
|
|
45
|
+
}),
|
|
46
|
+
"confirm-button-text": o(n)({
|
|
47
|
+
defaultMessage: "Save changes",
|
|
48
|
+
id: "billing_information_form.submit_button.label",
|
|
49
|
+
description: "The label for the submit button of the billing information form"
|
|
50
|
+
}),
|
|
51
|
+
"cancel-button-text": o(n)({
|
|
52
|
+
defaultMessage: "Cancel",
|
|
53
|
+
id: "billing_information_modal.cancel_button.label",
|
|
54
|
+
description: "Label of the button that closes the billing information modal unsaved"
|
|
55
|
+
}),
|
|
56
|
+
"is-loading": (d = l.value) == null ? void 0 : d.isSubmitting,
|
|
57
|
+
onConfirm: a[1] || (a[1] = (s) => {
|
|
58
|
+
var m;
|
|
59
|
+
return (m = l.value) == null ? void 0 : m.submit();
|
|
60
|
+
}),
|
|
61
|
+
onClose: p
|
|
62
|
+
}, {
|
|
63
|
+
body: x(() => [
|
|
64
|
+
e.showModal ? (c(), f(B, {
|
|
65
|
+
key: 0,
|
|
66
|
+
ref_key: "formRef",
|
|
67
|
+
ref: l,
|
|
68
|
+
class: "sv-billing-information-modal pb-4",
|
|
69
|
+
"hide-submit-button": "",
|
|
70
|
+
"hide-contact-heading": "",
|
|
71
|
+
customer: e.customer,
|
|
72
|
+
"is-loading": e.update.isPending.value,
|
|
73
|
+
"api-error": h.value,
|
|
74
|
+
"update-customer": ({ payload: s }) => e.update.execute(s),
|
|
75
|
+
onSaved: a[0] || (a[0] = (s) => t.$emit("close"))
|
|
76
|
+
}, null, 8, ["customer", "is-loading", "api-error", "update-customer"])) : y("", !0)
|
|
77
|
+
]),
|
|
78
|
+
_: 1
|
|
79
|
+
}, 8, ["show-modal", "title", "confirm-button-text", "cancel-button-text", "is-loading"]);
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
export {
|
|
84
|
+
j as default
|
|
85
|
+
};
|