@solvimon/solvimon-web 0.1.0-alpha.3 → 0.1.0-alpha.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +440 -52
- package/dist/Alert.vue.es-ZPG49yR_.mjs +158 -0
- package/dist/Amount.vue.es-DPqHB8Xd.mjs +22 -0
- package/dist/ApiStatus-CSFKl_ra.mjs +9 -0
- package/dist/AuthProvider.handle-SRR_04XS.mjs +50 -0
- package/dist/Avatar.vue.es-geDQsZwu.mjs +81 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-nqKbgY7G.mjs +58 -0
- package/dist/Button.vue.es-j7iYlqtJ.mjs +368 -0
- package/dist/ChargeOnDemandModal-CR01PkP_.mjs +964 -0
- package/dist/Checkout.entry.ce-CopWuLJC.mjs +4169 -0
- package/dist/CheckoutAddressFields.vue_vue_type_script_setup_true_lang-CEnM1uxK.mjs +828 -0
- package/dist/Chip.vue.es-Dxx_0dte.mjs +128 -0
- package/dist/Comparators.vue.es-DQBI3f7m.mjs +103 -0
- package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
- package/dist/ContextMenu.vue.es-BJO4U47Q.mjs +572 -0
- package/dist/CustomerBillingInformation.vue.es-CmNpqcBw.mjs +153 -0
- package/dist/CustomerPaymentMethods.lib-B_753rau.mjs +4 -0
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Jyb5ZN3s.mjs +136 -0
- package/dist/CustomerShippingAddresses-BRPukhRI.mjs +397 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DJnr5D56.mjs +2936 -0
- package/dist/Divider.vue.es-DnP_HqLz.mjs +22 -0
- package/dist/DividerText.vue.es-BusbyeAI.mjs +56 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-wPma8Os-.mjs +55 -0
- package/dist/ErrorNotification.vue.es-F068p7PY.mjs +31 -0
- package/dist/Expand.vue.es-BleuAfDz.mjs +32 -0
- package/dist/FormMessage.vue.es-CwMQpIAW.mjs +39 -0
- package/dist/IconButton.vue.es-D8DtBW9i.mjs +56 -0
- package/dist/IconTitle.vue.es-6VJtjJX2.mjs +103 -0
- package/dist/Input.vue.es-BLyHcmu4.mjs +250 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dl1vTzQD.mjs +93 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-DYskT3r7.mjs +56 -0
- package/dist/InvoicePreview.vue.es-Cpf66_xV.mjs +286 -0
- package/dist/InvoicePricingClauseChip.vue.es-CDrAE901.mjs +124 -0
- package/dist/Label.vue.es-es7ZUBSP.mjs +113 -0
- package/dist/Modal.vue.es-eeR9FmvQ.mjs +393 -0
- package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-B_FpibLA.mjs +441 -0
- package/dist/PaymentCompletedCard.vue_vue_type_script_setup_true_lang-CrjVPks0.mjs +48 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-DyjzaTK1.mjs +250 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BHQrWy6r.mjs +51 -0
- package/dist/PaymentHistoryBlock-CN42ewCn.mjs +4 -0
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C3Y5fHvA.mjs +93 -0
- package/dist/PaymentIntegrationForm-D3Ye7LZ5.mjs +4 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D07SEP8a.mjs +181 -0
- package/dist/PaymentIntegrationFormAdyen-Fm-diCCO.mjs +926 -0
- package/dist/PaymentIntegrationFormStripe-BANBL6za.mjs +758 -0
- package/dist/PaymentMethod.vue.es-t3-VyoE8.mjs +643 -0
- package/dist/PaymentMethodForm-CqP3GoNj.mjs +4 -0
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-CMRMbL3d.mjs +161 -0
- package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-D5wmRuCf.mjs +169 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-DhkkiJaQ.mjs +174 -0
- package/dist/PlanCustomizationEditor-B76UNEMm.mjs +791 -0
- package/dist/PortalLinkUnverified-Cp60_kRJ.mjs +52 -0
- package/dist/PortalNotAvailable-DzSQnfzw.mjs +25 -0
- package/dist/PricingGroupRangeInput.vue.es-Srq_3cga.mjs +578 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-oRijnVnZ.mjs +177 -0
- package/dist/RadioGroupExtended.vue.es-BbBMDf6l.mjs +176 -0
- package/dist/Section.vue.es-Oqn1wGPZ.mjs +72 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-OM19NPBh.mjs +60 -0
- package/dist/ShippingAddressesModal-c7nqf4Ny.mjs +418 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs +32 -0
- package/dist/StepInput.vue.es-ieh4EuJ7.mjs +213 -0
- package/dist/SubscriptionDetails.entry.ce-uYv45FGH.mjs +1044 -0
- package/dist/SubscriptionSchedules-DMxX3GpK.mjs +4 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DXro_64f.mjs +5200 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-BZNsqN4G.mjs +203 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-CHlXP_2x.mjs +319 -0
- package/dist/TooltipParagraph.vue.es-BES3zsYN.mjs +132 -0
- package/dist/TranslationOverride.vue_vue_type_script_setup_true_lang-BJmlNrXT.mjs +31 -0
- package/dist/TrialChip.vue.es-C51z1ZiA.mjs +35 -0
- package/dist/accel.svg.es-C0hqmmEY.mjs +4 -0
- package/dist/ach.svg.es-DduMiYM2.mjs +4 -0
- package/dist/addonQuantity-CCVaA3e-.mjs +758 -0
- package/dist/addressFormats.data-dzBx49dw.mjs +278 -0
- package/dist/adyen-Bugab0JE.mjs +4 -0
- package/dist/adyenSdk-B01MB9Ia.mjs +58 -0
- package/dist/amazon-pay.svg.es-BACIX6C7.mjs +4 -0
- package/dist/amex.svg.es-DjTEMRVg.mjs +4 -0
- package/dist/amount-CondixVt.mjs +36 -0
- package/dist/api.es-qgvzNMU-.mjs +43 -0
- package/dist/apple-pay.svg.es-B3tkA54p.mjs +4 -0
- package/dist/bacs.svg.es-CZIjZIE8.mjs +4 -0
- package/dist/bancontact.svg.es-B26-JwdE.mjs +4 -0
- package/dist/carnet.svg.es-BtO3AmNu.mjs +4 -0
- package/dist/cartes-bancaires.svg.es-DEPpdLvi.mjs +4 -0
- package/dist/cashapp.svg.es-DOGwRjXp.mjs +4 -0
- package/dist/cn.es-B8acFrov.mjs +2936 -0
- package/dist/comparators.es-C8rHpb70.mjs +157 -0
- package/dist/components/BillingInformation/BillingInformation.ce.d.ts +1 -3
- package/dist/components/BillingInformation/BillingInformation.mjs +82 -0
- package/dist/components/BillingInformationForm/BillingInformationForm.ce.d.ts +1 -3
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +510 -0
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.ce.d.ts +1 -3
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +87 -0
- package/dist/components/Invoice/Invoice.ce.d.ts +1 -3
- package/dist/components/Invoice/Invoice.mjs +2930 -0
- package/dist/components/InvoiceDetails/InvoiceDetails.ce.d.ts +1 -3
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +110 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.ce.d.ts +1 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +68 -0
- package/dist/components/InvoicesList/InvoicesList.ce.d.ts +1 -3
- package/dist/components/InvoicesList/InvoicesList.mjs +88 -0
- package/dist/components/PaymentHistory/PaymentHistory.ce.d.ts +1 -3
- package/dist/components/PaymentHistory/PaymentHistory.mjs +118 -0
- package/dist/components/PaymentMethodForm/PaymentMethodForm.ce.d.ts +1 -3
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +98 -0
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.ce.d.ts +1 -3
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +88 -0
- package/dist/components/SubscriptionsList/SubscriptionsList.ce.d.ts +1 -3
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +108 -0
- package/dist/components/WalletBalances/WalletBalances.ce.d.ts +1 -3
- package/dist/components/WalletBalances/WalletBalances.mjs +114 -0
- package/dist/configuration-BytDBAWs.mjs +14 -0
- package/dist/core/action-request.types.d.ts +1 -58
- package/dist/core/configuration.d.ts +1 -3
- package/dist/core/index.d.ts +1 -10
- package/dist/core/index.mjs +151 -0
- package/dist/core/registry.ce.d.ts +1 -2
- package/dist/core/registry.d.ts +1 -6
- package/dist/core/types.d.ts +1 -111
- package/dist/countryData.es-BegoD-cZ.mjs +252 -0
- package/dist/customElements-DK4GKNJG.mjs +5072 -0
- package/dist/customer-lf6S5DBR.mjs +31 -0
- package/dist/customer.es-DQKl6wFt.mjs +24 -0
- package/dist/dana.svg.es-Cy8Q6DZi.mjs +4 -0
- package/dist/dankort.svg.es-B7VqJdWq.mjs +4 -0
- package/dist/de-DE-Cyj_NtiI.mjs +435 -0
- package/dist/de-DE-UJ6X6jXu.mjs +306 -0
- package/dist/diners.svg.es-BP9enCow.mjs +4 -0
- package/dist/discover.svg.es-DEsEJBYh.mjs +4 -0
- package/dist/eftpos.svg.es--js6-yfk.mjs +4 -0
- package/dist/elo.svg.es-CMZPAxcn.mjs +4 -0
- package/dist/eps.svg.es-CzIPBSb9.mjs +4 -0
- package/dist/floating-ui.vue.es-BvAf8-si.mjs +1003 -0
- package/dist/formControl-BZQLHnOO.mjs +749 -0
- package/dist/formatting.es-RclXHhKo.mjs +61 -0
- package/dist/fr-FR-CRFoWQ7J.mjs +435 -0
- package/dist/fr-FR-Cvvbkwlj.mjs +307 -0
- package/dist/gcash.svg.es-BpDtvraq.mjs +4 -0
- package/dist/getComposedString.es-C__uhJpd.mjs +10 -0
- package/dist/getCountryNameByCode.es-BDHua7VM.mjs +8 -0
- package/dist/girocard.svg.es-Riswtk8Z.mjs +4 -0
- package/dist/go-pay.svg.es-CiIyLELZ.mjs +4 -0
- package/dist/google-pay.svg.es-Dgj_N6nz.mjs +4 -0
- package/dist/hipercard.svg.es-B80bu8Vd.mjs +4 -0
- package/dist/icon-sprite.svg.es-BWBB8SGw.mjs +4 -0
- package/dist/ideal.svg.es-DaqTS2Ax.mjs +4 -0
- package/dist/index-CTwLxoOS.mjs +7250 -0
- package/dist/index.d.ts +1 -15
- package/dist/index.es-BrVTOW5D.mjs +345 -0
- package/dist/index.mjs +42 -0
- package/dist/invoiceState-BJVHaKs7.mjs +14 -0
- package/dist/invoices-DdREPDXV.mjs +123 -0
- package/dist/it-IT-DObZEc-U.mjs +435 -0
- package/dist/it-IT-DnJP5URH.mjs +306 -0
- package/dist/jcb.svg.es-Couw-2p9.mjs +4 -0
- package/dist/kakao-pay.svg.es-CIFT8fob.mjs +4 -0
- package/dist/klarna.svg.es-WKt8_NZa.mjs +4 -0
- package/dist/maestro.svg.es-DbdxwYUE.mjs +4 -0
- package/dist/mastercard.svg.es-B7T3PS12.mjs +4 -0
- package/dist/momo.svg.es-X5XB25fM.mjs +4 -0
- package/dist/nl-NL-C02xHilF.mjs +435 -0
- package/dist/nl-NL-q9xfTZF0.mjs +321 -0
- package/dist/nyce.svg.es-DcPsO_sh.mjs +4 -0
- package/dist/object.es-8aLDIncs.mjs +12 -0
- package/dist/open-banking.svg.es-C4mPhwsn.mjs +4 -0
- package/dist/paymentFailure-QZdZHBhf.mjs +47 -0
- package/dist/paymentMethods-8w-ccfY_.mjs +77 -0
- package/dist/paymentMethods-Goa25rTs.mjs +61 -0
- package/dist/paymentOutcome-B6sW1eCV.mjs +22 -0
- package/dist/payments-CKpU1K3t.mjs +68 -0
- package/dist/paypal.svg.es-BC2AP20j.mjs +4 -0
- package/dist/pricing-CEaZGgKe.mjs +29 -0
- package/dist/pricing.es-QYWrKMUJ.mjs +30 -0
- package/dist/pricingItem.es-bCPArbTa.mjs +55 -0
- package/dist/pricingItemConfigs.es-D3pX_9AJ.mjs +78 -0
- package/dist/pricingPlanScheduleOverrides-BBp-DmpV.mjs +233 -0
- package/dist/pricingPlanSchedules-DSMptcAh.mjs +38 -0
- package/dist/pulse.svg.es-Rmoz-9Ej.mjs +4 -0
- package/dist/sanitization.es-C6dbuxUJ.mjs +4 -0
- package/dist/screens/Checkout/Checkout.ce.d.ts +1 -3
- package/dist/screens/Checkout/Checkout.mjs +5 -0
- package/dist/screens/CustomerOverview/CustomerOverview.ce.d.ts +1 -3
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +201 -0
- package/dist/screens/PayInvoice/PayInvoice.ce.d.ts +1 -0
- package/dist/screens/PayInvoice/PayInvoice.mjs +865 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.ce.d.ts +1 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +224 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.ce.d.ts +1 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +5 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.ce.d.ts +1 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +624 -0
- package/dist/sepa.svg.es-DIO_K345.mjs +4 -0
- package/dist/sessionReference-B8Dbmx5t.mjs +38 -0
- package/dist/slots.es-BA4MyEAa.mjs +5 -0
- package/dist/sorting.es-C0pdMgX0.mjs +77 -0
- package/dist/star.svg.es-BUZNUnYq.mjs +4 -0
- package/dist/subscription-BwzkagDI.mjs +212 -0
- package/dist/subscriptions-B5bH8hsI.mjs +66 -0
- package/dist/taxId.es-e6NEvprh.mjs +243 -0
- package/dist/trustly.svg.es-AM7Ha-3Y.mjs +4 -0
- package/dist/twint.svg.es-DZogAQG6.mjs +4 -0
- package/dist/typeGuards.es-B4XMtlkM.mjs +8 -0
- package/dist/types/components/InvoiceTable/InvoiceTable.types.d.ts +21 -0
- package/dist/types/components/checkout/CheckoutTitle.types.d.ts +20 -0
- package/dist/types/components/checkout/EmptyStatePlaceholder.types.d.ts +4 -0
- package/dist/types/components/checkout/PromotionCodeSection.types.d.ts +10 -0
- package/dist/types/components/customer/BillingInformationForm/BillingInformationForm.types.d.ts +24 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +22 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +48 -0
- package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +10 -0
- package/dist/types/components/customer/ShippingAddressForm/ShippingAddressForm.types.d.ts +9 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressCard.types.d.ts +11 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressList.types.d.ts +9 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressesModal.types.d.ts +26 -0
- package/dist/types/components/invoices/InvoiceOrderSummary/InvoiceOrderSummary.types.d.ts +5 -0
- package/dist/types/components/payments/AddPaymentMethodPane/AddPaymentMethodPane.types.d.ts +19 -0
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethod.types.d.ts +78 -0
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +11 -0
- package/dist/types/components/payments/ExpressPaymentMethodButton/ExpressPaymentMethodButton.types.d.ts +3 -0
- package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +25 -0
- package/dist/types/components/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +23 -0
- package/dist/types/components/payments/PayButton/PayButton.types.d.ts +12 -0
- package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +9 -0
- package/dist/types/components/payments/PaymentErrorCard/PaymentErrorCard.types.d.ts +11 -0
- package/dist/types/components/payments/PaymentFeedbackCard/PaymentFeedbackCard.types.d.ts +4 -0
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +137 -0
- package/dist/types/components/payments/PaymentIntegrationFormAdyen/PaymentIntegrationFormAdyen.types.d.ts +6 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripe.types.d.ts +7 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +68 -0
- package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +49 -0
- package/dist/types/components/payments/PaymentMethodsList/PaymentMethodsList.types.d.ts +8 -0
- package/dist/types/components/payments/PaymentMethodsUnavailableCard/PaymentMethodsUnavailableCard.types.d.ts +8 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.d.ts +4 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.types.d.ts +3 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.vue.d.ts +13 -0
- package/dist/types/components/providers/ActionDispatchProvider/composables/useActionDispatchProvider.d.ts +3 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.handle.d.ts +17 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +32 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +20 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +16 -0
- package/dist/types/components/providers/AuthProvider/composables/useAuth.d.ts +1 -0
- package/dist/types/components/providers/AuthProvider/index.d.ts +3 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.lib.d.ts +3 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.types.d.ts +9 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.vue.d.ts +14 -0
- package/dist/types/components/providers/ConfigProvider/composables/useConfig.d.ts +3 -0
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.lib.d.ts +11 -0
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.types.d.ts +3 -0
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.vue.d.ts +14 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.lib.d.ts +7 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +12 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +20 -0
- package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +17 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib.d.ts +5 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.types.d.ts +4 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.vue.d.ts +14 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/composables/useExperimentalFeature.d.ts +1 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +17 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.types.d.ts +3 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.vue.d.ts +14 -0
- package/dist/types/components/providers/HostElementProvider/composables/useHostElementProvider.d.ts +1 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.lib.d.ts +34 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +81 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +20 -0
- package/dist/types/components/providers/LoggerProvider/composables/useLogger.d.ts +6 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +10 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +11 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +16 -0
- package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +3 -0
- package/dist/types/components/providers/Provider/Provider.types.d.ts +15 -0
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +26 -0
- package/dist/types/components/providers/RequiredPropertiesGuard/RequiredPropertiesGuard.vue.d.ts +17 -0
- package/dist/types/components/providers/TeleportProvider/TeleportProvider.vue.d.ts +13 -0
- package/dist/types/components/providers/TranslationProvider/TranslationOverride.vue.d.ts +14 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.lib.d.ts +14 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.types.d.ts +22 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.vue.d.ts +14 -0
- package/dist/types/components/providers/index.d.ts +9 -0
- package/dist/types/components/shared/ScreenTitle/ScreenTitle.types.d.ts +4 -0
- package/dist/types/components/shared/Section/Section.types.d.ts +21 -0
- package/dist/types/components/shared/Skeleton.types.d.ts +5 -0
- package/dist/types/components/shared/SlidingPanes/SlidingPanes.types.d.ts +12 -0
- package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +20 -0
- package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsList.types.d.ts +15 -0
- package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsListItem.types.d.ts +9 -0
- package/dist/types/components/subscriptions/OnDemandItemsCard/OnDemandItemsCard.types.d.ts +7 -0
- package/dist/types/components/subscriptions/OrderSummary.types.d.ts +56 -0
- package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +16 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +9 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupContent.types.d.ts +4 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupEditorBase.types.d.ts +8 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditor.types.d.ts +6 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditorItem.types.d.ts +6 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTable.types.d.ts +5 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTableRow.types.d.ts +7 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditor.types.d.ts +6 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditorItem.types.d.ts +6 -0
- package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +16 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +22 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSuccess.types.d.ts +7 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSummary.types.d.ts +7 -0
- package/dist/types/components/subscriptions/SubscriptionSummary.types.d.ts +20 -0
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +19 -0
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +12 -0
- package/dist/types/components/wallets/AutoTopUpCancellationModal/AutoTopUpCancellationModal.types.d.ts +9 -0
- package/dist/types/components/wallets/AutoTopUpConfig/AutoTopUpConfig.types.d.ts +53 -0
- package/dist/types/components/wallets/AutoTopUpModal/AutoTopUpModal.types.d.ts +16 -0
- package/dist/types/components/wallets/ConvertedAmountInput/ConvertedAmountInput.types.d.ts +32 -0
- package/dist/types/components/wallets/TopUpModal/TopUpInvoicePreview.types.d.ts +11 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModal.types.d.ts +31 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModalForm.types.d.ts +25 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModalSuccess.types.d.ts +5 -0
- package/dist/types/composables/useInvoicePreview.types.d.ts +10 -0
- package/dist/types/config/config.beta.d.ts +2 -0
- package/dist/types/config/config.dev.d.ts +2 -0
- package/dist/types/config/config.live.d.ts +2 -0
- package/dist/types/config/internalEnvironments.d.ts +11 -0
- package/dist/types/config/internalEnvironments.published.d.ts +7 -0
- package/dist/types/config/lib.d.ts +6 -0
- package/dist/types/config/types.d.ts +13 -0
- package/dist/types/index.d.ts +23 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.entry.ce.d.ts +1 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.entry.types.d.ts +4 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +9 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.ce.d.ts +1 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.types.d.ts +4 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.types.d.ts +10 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce.d.ts +1 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.types.d.ts +6 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +21 -0
- package/dist/types/public/components/CustomerShippingAddresses/CustomerShippingAddresses.types.d.ts +12 -0
- package/dist/types/public/components/CustomerWalletBalances/CustomerWalletBalances.types.d.ts +22 -0
- package/dist/types/public/components/Invoice/Invoice.entry.ce.d.ts +1 -0
- package/dist/types/public/components/Invoice/Invoice.entry.types.d.ts +5 -0
- package/dist/types/public/components/Invoice/Invoice.types.d.ts +25 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.types.d.ts +6 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.types.d.ts +7 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.types.d.ts +5 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +15 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.entry.types.d.ts +5 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +39 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.ce.d.ts +1 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.types.d.ts +6 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.types.d.ts +8 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.ce.d.ts +1 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.types.d.ts +5 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +45 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce.d.ts +1 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.types.d.ts +6 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.types.d.ts +7 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.ce.d.ts +1 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.types.d.ts +5 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +19 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.ce.d.ts +1 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.types.d.ts +3 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.types.d.ts +3 -0
- package/dist/types/public/core/action-request.types.d.ts +60 -0
- package/dist/types/public/core/configuration.d.ts +2 -0
- package/dist/types/public/core/index.d.ts +14 -0
- package/dist/types/public/core/registry.ce.d.ts +8 -0
- package/dist/types/public/core/registry.d.ts +3 -0
- package/dist/types/public/core/types.d.ts +130 -0
- package/dist/types/public/screens/Checkout/Checkout.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +11 -0
- package/dist/types/public/screens/Checkout/Checkout.types.d.ts +46 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.types.d.ts +5 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.types.d.ts +2 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.entry.types.d.ts +4 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +27 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.types.d.ts +3 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.types.d.ts +7 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.configuration.types.d.ts +27 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.types.d.ts +6 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +23 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.types.d.ts +5 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.types.d.ts +13 -0
- package/dist/types/public/screens/types.d.ts +4 -0
- package/dist/types/public/types/index.d.ts +23 -0
- package/dist/types/services/invoices.types.d.ts +26 -0
- package/dist/types/services/paymentMethods.types.d.ts +25 -0
- package/dist/types/services/requests.types.d.ts +41 -0
- package/dist/types/translations/supported.d.ts +1 -0
- package/dist/types/types/EntryBaseProps.d.ts +10 -0
- package/dist/types/types/errors.d.ts +13 -0
- package/dist/types/types/portalAuthentication.d.ts +2 -0
- package/dist/types/types/portalToken.d.ts +9 -0
- package/dist/types/types/shippingAddress.d.ts +9 -0
- package/dist/types/vendor/@adyen/adyen-web/index.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +118 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Address.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/AgentContext.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Alerts.d.ts +72 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Amount.d.ts +4 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Api.d.ts +50 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiError.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiKey.d.ts +21 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiStatus.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +82 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +43 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Attachment.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Band.d.ts +30 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BaseResourceStatus.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingEntity.d.ts +45 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingPeriod.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingTime.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ChargeOnDemandPricingItems.d.ts +47 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Commitment.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CommitmentItem.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Comparator.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +15 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfiguredMeterValue.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Country.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreateMeterData.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreatePricingPlanVersion.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreditType.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Currency.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CustomFields.d.ts +51 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CustomerContact.d.ts +12 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Customers.d.ts +75 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Discount.d.ts +12 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/DiscountItem.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Document.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/DueDateConfiguration.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Embeddable.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Environment.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTrace.d.ts +23 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceExtended.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLink.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLinkExtended.d.ts +15 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Features.d.ts +25 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/IdentityProvider.d.ts +40 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/IndexingSettings.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +375 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +379 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +32 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Markup.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MarkupItem.d.ts +11 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Meter.d.ts +32 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterConditions.d.ts +26 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterData.d.ts +25 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterDataExpanded.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterProperty.d.ts +34 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyValue.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyVariable.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValue.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueCalculation.d.ts +20 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueValue.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ModelType.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Name.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/NotificationPreferences.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/OAuth.d.ts +28 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +124 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +127 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAction.d.ts +74 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethod.d.ts +173 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethodOptions.d.ts +45 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentSchedules.d.ts +142 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +132 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +134 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Pricing.d.ts +41 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategory.d.ts +18 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategoryExtended.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingExtended.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingGroup.d.ts +29 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItem.d.ts +40 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItemConfig.d.ts +135 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanGroups.d.ts +31 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSchedule.d.ts +111 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleInfo.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleWithPlanData.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +94 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscriptionGroup.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersion.d.ts +71 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersionExtended.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlans.d.ts +47 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Product.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ProductCategory.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ProductItem.d.ts +62 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PromotionCodes.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +46 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +128 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +81 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ReprocessLog.d.ts +31 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Resource.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ResourceStatus.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Role.d.ts +19 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/SeatAssignment.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ShippingAddress.d.ts +54 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/SignatureRequest.d.ts +27 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxCategory.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxIdentifier.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxSummary.d.ts +21 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TimePeriod.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Timestamp.d.ts +4 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Token.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/User.d.ts +106 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ValueType.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Wallet.d.ts +50 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WalletAutoTopUpConfigs.d.ts +28 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WalletType.d.ts +54 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Webhook.d.ts +48 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WebhookEvent.d.ts +18 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Workflows.d.ts +222 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/forms.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/utils.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/BrandProvider/BrandProvider.types.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/IntlProvider/IntlProvider.types.d.ts +66 -0
- package/dist/types/vendor/@solvimon/solvimon-ui/index.d.ts +2 -0
- package/dist/unionpay.svg.es-me7q-nTI.mjs +4 -0
- package/dist/useActionDispatchProvider-ChAHdwR8.mjs +9 -0
- package/dist/useCustomer-CTMhg1nd.mjs +20 -0
- package/dist/useCustomerFormLabels-D4oDnfxA.mjs +1173 -0
- package/dist/useIncrementalLoading-CBVutPH8.mjs +60 -0
- package/dist/useInvoiceData-qUGbBAQK.mjs +21 -0
- package/dist/useInvoicesList-wJvZAJpW.mjs +674 -0
- package/dist/useLazyFloating.es-CycqRyeb.mjs +68 -0
- package/dist/useLoadInitialData-UvfYXgbi.mjs +15 -0
- package/dist/usePaymentFormHold-Cwdr-vyc.mjs +181 -0
- package/dist/usePaymentMethodAvailability-35l4pWdH.mjs +117 -0
- package/dist/usePaymentMethods-De7hlLHo.mjs +21 -0
- package/dist/usePayments-hWS7fnOx.mjs +323 -0
- package/dist/usePortal-DUfD6hrA.mjs +7 -0
- package/dist/useService-BwzIBIRp.mjs +56 -0
- package/dist/useTimePeriod.es-BUorDLVK.mjs +93 -0
- package/dist/useViewport-psZejz_H.mjs +19 -0
- package/dist/visa.svg.es-B0T5Su99.mjs +4 -0
- package/dist/vpay.svg.es-Zt3rrmCy.mjs +4 -0
- package/dist/wallets.es-eH2C2ygn.mjs +102 -0
- package/dist/zip.svg.es-QC6dxzC7.mjs +4 -0
- package/package.json +105 -74
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BD3CrJzj.js +0 -1
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-DQAp1xwu.mjs +0 -56
- package/dist/ContentWithAsideLayout-CRsFr9TH.mjs +0 -42
- package/dist/ContentWithAsideLayout-DczcgSrt.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BE3I7Oe1.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D0ie9Krt.mjs +0 -85
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DVDOsMnT.mjs +0 -90
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-sNdlKgdU.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DJEZEEwZ.mjs +0 -6568
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-Sn1Jq19s.js +0 -1
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-Bifo4jTH.js +0 -1
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-DWp42_G4.mjs +0 -75
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-C-taYlG4.mjs +0 -63
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-C_BwMlBE.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-Bp5RvQVS.mjs +0 -373
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-yyhwzYSM.js +0 -1
- package/dist/_Uint8Array-DHE03FZr.mjs +0 -507
- package/dist/_Uint8Array-DxISR7XF.js +0 -1
- package/dist/auto-DzZuCneB.mjs +0 -14387
- package/dist/auto-PpnAChnH.js +0 -6
- package/dist/cloneDeep-DranHQkY.js +0 -1
- package/dist/cloneDeep-sm9cY-u2.mjs +0 -212
- package/dist/component-DEo_ndpK.mjs +0 -58668
- package/dist/component-XHQYFLA_.js +0 -1
- package/dist/components/BillingInformation/BillingInformation.cjs.js +0 -1
- package/dist/components/BillingInformation/BillingInformation.es.js +0 -98
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +0 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.es.js +0 -584
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +0 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.es.js +0 -134
- package/dist/components/Invoice/Invoice.cjs.js +0 -1
- package/dist/components/Invoice/Invoice.es.js +0 -582
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +0 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.es.js +0 -129
- package/dist/components/InvoicesList/InvoicesList.cjs.js +0 -1
- package/dist/components/InvoicesList/InvoicesList.es.js +0 -104
- package/dist/components/PaymentHistory/PaymentHistory.cjs.js +0 -1
- package/dist/components/PaymentHistory/PaymentHistory.es.js +0 -133
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +0 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.es.js +0 -238
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +0 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.es.js +0 -152
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +0 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.es.js +0 -134
- package/dist/components/WalletBalances/WalletBalances.cjs.js +0 -1
- package/dist/components/WalletBalances/WalletBalances.es.js +0 -120
- package/dist/core/index.cjs.js +0 -1
- package/dist/core/index.es.js +0 -6
- package/dist/index-2jo9BSPM.js +0 -1
- package/dist/index-BFZ0dPh9.mjs +0 -179
- package/dist/index-CWSXne1Q.js +0 -1
- package/dist/index-CzL1ZcGi.mjs +0 -85
- package/dist/index-D3v7hAtc.mjs +0 -253
- package/dist/index-DRdBmZ2-.js +0 -1
- package/dist/index.cjs.js +0 -1
- package/dist/index.es.js +0 -45
- package/dist/invoices-BW1notiX.js +0 -1
- package/dist/invoices-M5oYVch6.mjs +0 -84
- package/dist/paymentMethods-BX80t2zk.js +0 -1
- package/dist/paymentMethods-CqKUfc3w.mjs +0 -65
- package/dist/payments-BHv4hCeJ.js +0 -1
- package/dist/payments-CosaPZwo.mjs +0 -47
- package/dist/registry-BwKEYOf7.js +0 -1
- package/dist/registry-Cag1Jj7P.mjs +0 -143
- package/dist/screens/Checkout/Checkout.cjs.js +0 -1
- package/dist/screens/Checkout/Checkout.es.js +0 -5142
- package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +0 -1
- package/dist/screens/CustomerOverview/CustomerOverview.es.js +0 -136
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.ce.d.ts +0 -3
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.cjs.js +0 -1
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.es.js +0 -1012
- package/dist/solvimon-web.css +0 -1
- package/dist/sprite-i5T7eZnk-C55G-dBo.js +0 -1
- package/dist/sprite-i5T7eZnk-i5T7eZnk.mjs +0 -4
- package/dist/subscriptions-Bs4DIE8f.mjs +0 -74
- package/dist/subscriptions-CnxvsBXd.js +0 -1
- package/dist/useActionDispatchProvider-CgRcOqv3.mjs +0 -12
- package/dist/useActionDispatchProvider-Cru69mAl.js +0 -1
- package/dist/useCustomer-B0NK96dA.js +0 -1
- package/dist/useCustomer-DlcjY3fP.mjs +0 -45
- package/dist/useCustomerPaymentMethodOptions-BzEquyUV.mjs +0 -169
- package/dist/useCustomerPaymentMethodOptions-C-8BLzqb.js +0 -1
- package/dist/useIncrementalLoading-C7ToTmZK.mjs +0 -71
- package/dist/useIncrementalLoading-D60Vttil.js +0 -1
- package/dist/useInvoiceData-CcueV3We.mjs +0 -51
- package/dist/useInvoiceData-DstXfI7t.js +0 -1
- package/dist/useInvoicesList-CXng3aUm.mjs +0 -294
- package/dist/useInvoicesList-DmzjgMlW.js +0 -1
- package/dist/useLoadInitialData-BRg7IWqW.js +0 -1
- package/dist/useLoadInitialData-Dm48tlSO.mjs +0 -13
- package/dist/usePaymentMethods-DCGVRXA4.js +0 -1
- package/dist/usePaymentMethods-Db-1R6rI.mjs +0 -16
- package/dist/useService-B4qv5N2D.mjs +0 -281
- package/dist/useService-D-CUtlp3.js +0 -1
- package/dist/useWalletBalanceItems-BZyiAhcV.js +0 -1
- package/dist/useWalletBalanceItems-CHkLaccm.mjs +0 -105
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, renderSlot, unref, withCtx, createVNode, normalizeProps, guardReactiveProps, createCommentVNode } from "vue";
|
|
2
|
-
import { _ as _sfc_main$4 } from "../../InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D0ie9Krt.mjs";
|
|
3
|
-
import { _ as _sfc_main$3 } from "../../Skeleton.vue_vue_type_script_setup_true_lang-C-taYlG4.mjs";
|
|
4
|
-
import { u as useInvoiceData } from "../../useInvoiceData-CcueV3We.mjs";
|
|
5
|
-
import { p as _sfc_main$5, q as defineCustomElement, o as getComponentName } from "../../component-DEo_ndpK.mjs";
|
|
6
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "InvoiceDetails",
|
|
8
|
-
props: {
|
|
9
|
-
invoice: { type: Object },
|
|
10
|
-
isLoading: { type: Boolean },
|
|
11
|
-
configuration: { type: Object }
|
|
12
|
-
},
|
|
13
|
-
setup(__props) {
|
|
14
|
-
return (_ctx, _cache) => {
|
|
15
|
-
return __props.isLoading ? (openBlock(), createBlock(_sfc_main$3, {
|
|
16
|
-
key: 0,
|
|
17
|
-
variant: "section",
|
|
18
|
-
class: "min-h-[100px]",
|
|
19
|
-
"data-testid": "invoice-details-skeleton"
|
|
20
|
-
})) : (openBlock(), createBlock(_sfc_main$4, {
|
|
21
|
-
key: 1,
|
|
22
|
-
invoice: __props.invoice
|
|
23
|
-
}, null, 8, ["invoice"]));
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
28
|
-
__name: "InvoiceDetails.entry.view",
|
|
29
|
-
props: {
|
|
30
|
-
environment: { type: String },
|
|
31
|
-
locale: { type: String },
|
|
32
|
-
dateLocale: { type: String },
|
|
33
|
-
messages: { type: Object },
|
|
34
|
-
showTimezones: { type: Boolean },
|
|
35
|
-
primaryColor: { type: String },
|
|
36
|
-
secondaryColor: { type: String },
|
|
37
|
-
isShadowRoot: { type: Boolean },
|
|
38
|
-
experimentalFeatures: { type: Array },
|
|
39
|
-
logLevel: { type: String },
|
|
40
|
-
onLog: { type: Function },
|
|
41
|
-
allowedPortalTypes: { type: Array },
|
|
42
|
-
portalObject: { type: Object },
|
|
43
|
-
customElementName: { type: String },
|
|
44
|
-
branding: { type: Object },
|
|
45
|
-
configuration: { type: Object }
|
|
46
|
-
},
|
|
47
|
-
setup(__props) {
|
|
48
|
-
const props = __props;
|
|
49
|
-
const invoiceData = useInvoiceData(props.configuration.invoiceId);
|
|
50
|
-
return (_ctx, _cache) => {
|
|
51
|
-
var _a;
|
|
52
|
-
return renderSlot(_ctx.$slots, "default", {
|
|
53
|
-
invoice: (_a = unref(invoiceData).data.value) == null ? void 0 : _a.invoice,
|
|
54
|
-
isLoading: unref(invoiceData).isPending.value
|
|
55
|
-
});
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
60
|
-
__name: "InvoiceDetails.entry",
|
|
61
|
-
props: {
|
|
62
|
-
environment: { type: String },
|
|
63
|
-
locale: { type: String },
|
|
64
|
-
dateLocale: { type: String },
|
|
65
|
-
messages: { type: Object },
|
|
66
|
-
showTimezones: { type: Boolean },
|
|
67
|
-
primaryColor: { type: String },
|
|
68
|
-
secondaryColor: { type: String },
|
|
69
|
-
isShadowRoot: { type: Boolean },
|
|
70
|
-
experimentalFeatures: { type: Array },
|
|
71
|
-
logLevel: { type: String },
|
|
72
|
-
onLog: { type: Function },
|
|
73
|
-
allowedPortalTypes: { type: Array },
|
|
74
|
-
portalObject: { type: Object },
|
|
75
|
-
customElementName: { type: String },
|
|
76
|
-
branding: { type: Object },
|
|
77
|
-
configuration: { type: Object }
|
|
78
|
-
},
|
|
79
|
-
setup(__props) {
|
|
80
|
-
var _a;
|
|
81
|
-
const props = __props;
|
|
82
|
-
if (!((_a = props.configuration) == null ? void 0 : _a.invoiceId)) {
|
|
83
|
-
throw new Error("Missing invoice id");
|
|
84
|
-
}
|
|
85
|
-
return (_ctx, _cache) => {
|
|
86
|
-
var _a2, _b, _c, _d;
|
|
87
|
-
return openBlock(), createBlock(unref(_sfc_main$5), {
|
|
88
|
-
"custom-element-name": unref(COMPONENT_NAME),
|
|
89
|
-
environment: __props.environment,
|
|
90
|
-
locale: __props.locale,
|
|
91
|
-
"portal-object": __props.portalObject,
|
|
92
|
-
"allowed-portal-types": ["CUSTOMER"],
|
|
93
|
-
"primary-color": (_b = (_a2 = __props.branding) == null ? void 0 : _a2.colors) == null ? void 0 : _b.primary,
|
|
94
|
-
"secondary-color": (_d = (_c = __props.branding) == null ? void 0 : _c.colors) == null ? void 0 : _d.secondary,
|
|
95
|
-
"experimental-features": __props.experimentalFeatures,
|
|
96
|
-
"log-level": __props.logLevel,
|
|
97
|
-
"on-log": __props.onLog,
|
|
98
|
-
onError: _cache[0] || (_cache[0] = (error) => _ctx.$emit("error", error))
|
|
99
|
-
}, {
|
|
100
|
-
default: withCtx(() => [
|
|
101
|
-
createVNode(_sfc_main$1, normalizeProps(guardReactiveProps(_ctx.$props)), {
|
|
102
|
-
default: withCtx(({ invoice, isLoading }) => [
|
|
103
|
-
invoice ? (openBlock(), createBlock(_sfc_main$2, {
|
|
104
|
-
key: 0,
|
|
105
|
-
"is-loading": isLoading,
|
|
106
|
-
invoice,
|
|
107
|
-
configuration: __props.configuration
|
|
108
|
-
}, null, 8, ["is-loading", "invoice", "configuration"])) : createCommentVNode("", true)
|
|
109
|
-
]),
|
|
110
|
-
_: 1
|
|
111
|
-
}, 16)
|
|
112
|
-
]),
|
|
113
|
-
_: 1
|
|
114
|
-
}, 8, ["custom-element-name", "environment", "locale", "portal-object", "primary-color", "secondary-color", "experimental-features", "log-level", "on-log"]);
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
});
|
|
118
|
-
const SolvimonInvoiceDetails = defineCustomElement(_sfc_main);
|
|
119
|
-
const COMPONENT_NAME = getComponentName("invoice-details");
|
|
120
|
-
const defineSolvimonInvoiceDetails = () => {
|
|
121
|
-
if (!customElements.get(COMPONENT_NAME)) {
|
|
122
|
-
customElements.define(COMPONENT_NAME, SolvimonInvoiceDetails);
|
|
123
|
-
}
|
|
124
|
-
};
|
|
125
|
-
export {
|
|
126
|
-
COMPONENT_NAME,
|
|
127
|
-
SolvimonInvoiceDetails,
|
|
128
|
-
defineSolvimonInvoiceDetails
|
|
129
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("../../useInvoicesList-DmzjgMlW.js"),t=require("../../component-XHQYFLA_.js"),n=e.defineComponent({__name:"InvoicesList.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},showTimezones:{type:Boolean},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},customElementName:{type:String},branding:{type:Object},configuration:{type:Object}},setup(t){var n,r;const i=t,a=i.portalObject.customer_id,l=o.useInvoicesList({customerId:a,batchSize:(null==(r=null==(n=i.configuration)?void 0:n.pagination)?void 0:r.batchSize)||15});return(o,t)=>e.renderSlot(o.$slots,"default",{invoices:e.unref(l)})}}),r=e.defineComponent({__name:"InvoicesList.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},showTimezones:{type:Boolean},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},customElementName:{type:String},branding:{type:Object},configuration:{type:Object}},setup:r=>(i,l)=>{var s,c,p,m;return e.openBlock(),e.createBlock(e.unref(t._sfc_main$1),{"custom-element-name":e.unref(a),environment:r.environment,locale:r.locale,"portal-object":r.portalObject,"allowed-portal-types":["CUSTOMER"],"primary-color":null==(c=null==(s=r.branding)?void 0:s.colors)?void 0:c.primary,"secondary-color":null==(m=null==(p=r.branding)?void 0:p.colors)?void 0:m.secondary,"experimental-features":r.experimentalFeatures,"log-level":r.logLevel,"on-log":r.onLog,onError:l[0]||(l[0]=e=>i.$emit("error",e))},{default:e.withCtx(()=>[e.createVNode(n,e.normalizeProps(e.guardReactiveProps(i.$props)),{default:e.withCtx(({invoices:t})=>[e.createVNode(o._sfc_main,{configuration:r.configuration,invoices:t.items.value,"is-loading":t.isPending.value,"has-more-items":t.hasNextBatch.value,onLoadMore:t.fetchMore},null,8,["configuration","invoices","is-loading","has-more-items","onLoadMore"])]),_:1},16)]),_:1},8,["custom-element-name","environment","locale","portal-object","primary-color","secondary-color","experimental-features","log-level","on-log"])}}),i=t.defineCustomElement(r),a=t.getComponentName("customer-overview");exports.COMPONENT_NAME=a,exports.SolvimonInvoicesList=i,exports.defineSolvimonInvoicesList=()=>{customElements.get(a)||customElements.define(a,i)};
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { defineComponent, renderSlot, unref, openBlock, createBlock, withCtx, createVNode, normalizeProps, guardReactiveProps } from "vue";
|
|
2
|
-
import { u as useInvoicesList, _ as _sfc_main$3 } from "../../useInvoicesList-CXng3aUm.mjs";
|
|
3
|
-
import { p as _sfc_main$2, q as defineCustomElement, o as getComponentName } from "../../component-DEo_ndpK.mjs";
|
|
4
|
-
const DEFAULT_BATCH_SIZE = 15;
|
|
5
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
6
|
-
__name: "InvoicesList.entry.view",
|
|
7
|
-
props: {
|
|
8
|
-
environment: { type: String },
|
|
9
|
-
locale: { type: String },
|
|
10
|
-
dateLocale: { type: String },
|
|
11
|
-
messages: { type: Object },
|
|
12
|
-
showTimezones: { type: Boolean },
|
|
13
|
-
primaryColor: { type: String },
|
|
14
|
-
secondaryColor: { type: String },
|
|
15
|
-
isShadowRoot: { type: Boolean },
|
|
16
|
-
experimentalFeatures: { type: Array },
|
|
17
|
-
logLevel: { type: String },
|
|
18
|
-
onLog: { type: Function },
|
|
19
|
-
allowedPortalTypes: { type: Array },
|
|
20
|
-
portalObject: { type: Object },
|
|
21
|
-
customElementName: { type: String },
|
|
22
|
-
branding: { type: Object },
|
|
23
|
-
configuration: { type: Object }
|
|
24
|
-
},
|
|
25
|
-
setup(__props) {
|
|
26
|
-
var _a, _b;
|
|
27
|
-
const props = __props;
|
|
28
|
-
const customerId = props.portalObject.customer_id;
|
|
29
|
-
const invoices = useInvoicesList({
|
|
30
|
-
customerId,
|
|
31
|
-
batchSize: ((_b = (_a = props.configuration) == null ? void 0 : _a.pagination) == null ? void 0 : _b.batchSize) || DEFAULT_BATCH_SIZE
|
|
32
|
-
});
|
|
33
|
-
return (_ctx, _cache) => {
|
|
34
|
-
return renderSlot(_ctx.$slots, "default", { invoices: unref(invoices) });
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
39
|
-
__name: "InvoicesList.entry",
|
|
40
|
-
props: {
|
|
41
|
-
environment: { type: String },
|
|
42
|
-
locale: { type: String },
|
|
43
|
-
dateLocale: { type: String },
|
|
44
|
-
messages: { type: Object },
|
|
45
|
-
showTimezones: { type: Boolean },
|
|
46
|
-
primaryColor: { type: String },
|
|
47
|
-
secondaryColor: { type: String },
|
|
48
|
-
isShadowRoot: { type: Boolean },
|
|
49
|
-
experimentalFeatures: { type: Array },
|
|
50
|
-
logLevel: { type: String },
|
|
51
|
-
onLog: { type: Function },
|
|
52
|
-
allowedPortalTypes: { type: Array },
|
|
53
|
-
portalObject: { type: Object },
|
|
54
|
-
customElementName: { type: String },
|
|
55
|
-
branding: { type: Object },
|
|
56
|
-
configuration: { type: Object }
|
|
57
|
-
},
|
|
58
|
-
setup(__props) {
|
|
59
|
-
return (_ctx, _cache) => {
|
|
60
|
-
var _a, _b, _c, _d;
|
|
61
|
-
return openBlock(), createBlock(unref(_sfc_main$2), {
|
|
62
|
-
"custom-element-name": unref(COMPONENT_NAME),
|
|
63
|
-
environment: __props.environment,
|
|
64
|
-
locale: __props.locale,
|
|
65
|
-
"portal-object": __props.portalObject,
|
|
66
|
-
"allowed-portal-types": ["CUSTOMER"],
|
|
67
|
-
"primary-color": (_b = (_a = __props.branding) == null ? void 0 : _a.colors) == null ? void 0 : _b.primary,
|
|
68
|
-
"secondary-color": (_d = (_c = __props.branding) == null ? void 0 : _c.colors) == null ? void 0 : _d.secondary,
|
|
69
|
-
"experimental-features": __props.experimentalFeatures,
|
|
70
|
-
"log-level": __props.logLevel,
|
|
71
|
-
"on-log": __props.onLog,
|
|
72
|
-
onError: _cache[0] || (_cache[0] = (error) => _ctx.$emit("error", error))
|
|
73
|
-
}, {
|
|
74
|
-
default: withCtx(() => [
|
|
75
|
-
createVNode(_sfc_main$1, normalizeProps(guardReactiveProps(_ctx.$props)), {
|
|
76
|
-
default: withCtx(({ invoices }) => [
|
|
77
|
-
createVNode(_sfc_main$3, {
|
|
78
|
-
configuration: __props.configuration,
|
|
79
|
-
invoices: invoices.items.value,
|
|
80
|
-
"is-loading": invoices.isPending.value,
|
|
81
|
-
"has-more-items": invoices.hasNextBatch.value,
|
|
82
|
-
onLoadMore: invoices.fetchMore
|
|
83
|
-
}, null, 8, ["configuration", "invoices", "is-loading", "has-more-items", "onLoadMore"])
|
|
84
|
-
]),
|
|
85
|
-
_: 1
|
|
86
|
-
}, 16)
|
|
87
|
-
]),
|
|
88
|
-
_: 1
|
|
89
|
-
}, 8, ["custom-element-name", "environment", "locale", "portal-object", "primary-color", "secondary-color", "experimental-features", "log-level", "on-log"]);
|
|
90
|
-
};
|
|
91
|
-
}
|
|
92
|
-
});
|
|
93
|
-
const SolvimonInvoicesList = defineCustomElement(_sfc_main);
|
|
94
|
-
const COMPONENT_NAME = getComponentName("customer-overview");
|
|
95
|
-
const defineSolvimonInvoicesList = () => {
|
|
96
|
-
if (!customElements.get(COMPONENT_NAME)) {
|
|
97
|
-
customElements.define(COMPONENT_NAME, SolvimonInvoicesList);
|
|
98
|
-
}
|
|
99
|
-
};
|
|
100
|
-
export {
|
|
101
|
-
COMPONENT_NAME,
|
|
102
|
-
SolvimonInvoicesList,
|
|
103
|
-
defineSolvimonInvoicesList
|
|
104
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("../../PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-sNdlKgdU.js"),o=require("../../Skeleton.vue_vue_type_script_setup_true_lang-C_BwMlBE.js"),n=require("../../useInvoiceData-DstXfI7t.js"),r=require("../../component-XHQYFLA_.js"),a=e.defineComponent({__name:"PaymentHistory",props:{customer:{type:Object},paymentAttempts:{type:Array},isLoading:{type:Boolean},configuration:{type:Object}},setup:n=>(r,a)=>n.isLoading?(e.openBlock(),e.createBlock(o._sfc_main,{key:0,variant:"section",class:"min-h-[100px]","data-testid":"payment-history-skeleton"})):n.paymentAttempts.length?(e.openBlock(),e.createBlock(t._sfc_main,{key:1,"payment-attempts":n.paymentAttempts,customer:n.customer},null,8,["payment-attempts","customer"])):e.createCommentVNode("",!0)}),i=e.defineComponent({__name:"PaymentHistory.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},showTimezones:{type:Boolean},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},customElementName:{type:String},branding:{type:Object},configuration:{type:Object}},setup(t){const o=t,r=n.useInvoiceData(o.configuration.invoiceId);return(t,o)=>{var n,a;return e.renderSlot(t.$slots,"default",{invoice:null==(n=e.unref(r).data.value)?void 0:n.invoice,paymentAttempts:null==(a=e.unref(r).data.value)?void 0:a.paymentAttempts.data,isLoading:e.unref(r).isPending.value})}}}),l=e.defineComponent({__name:"PaymentHistory.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},showTimezones:{type:Boolean},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},customElementName:{type:String},branding:{type:Object},configuration:{type:Object}},setup(t){var o;if(!(null==(o=t.configuration)?void 0:o.invoiceId))throw new Error("Missing invoice id");return(o,n)=>{var l,p,m,c;return e.openBlock(),e.createBlock(e.unref(r._sfc_main$1),{"custom-element-name":e.unref(s),environment:t.environment,locale:t.locale,"portal-object":t.portalObject,"allowed-portal-types":["CUSTOMER"],"primary-color":null==(p=null==(l=t.branding)?void 0:l.colors)?void 0:p.primary,"secondary-color":null==(c=null==(m=t.branding)?void 0:m.colors)?void 0:c.secondary,"experimental-features":t.experimentalFeatures,"log-level":t.logLevel,"on-log":t.onLog,onError:n[0]||(n[0]=e=>o.$emit("error",e))},{default:e.withCtx(()=>[e.createVNode(i,e.normalizeProps(e.guardReactiveProps(o.$props)),{default:e.withCtx(({invoice:o,paymentAttempts:n,isLoading:r})=>[o&&n?(e.openBlock(),e.createBlock(a,{key:0,"is-loading":r,customer:o.customer,"payment-attempts":n,configuration:t.configuration},null,8,["is-loading","customer","payment-attempts","configuration"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["custom-element-name","environment","locale","portal-object","primary-color","secondary-color","experimental-features","log-level","on-log"])}}}),p=r.defineCustomElement(l),s=r.getComponentName("payment-history");exports.COMPONENT_NAME=s,exports.SolvimonPaymentHistory=p,exports.defineSolvimonPaymentHistory=()=>{customElements.get(s)||customElements.define(s,p)};
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, createCommentVNode, renderSlot, unref, withCtx, createVNode, normalizeProps, guardReactiveProps } from "vue";
|
|
2
|
-
import { _ as _sfc_main$4 } from "../../PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DVDOsMnT.mjs";
|
|
3
|
-
import { _ as _sfc_main$3 } from "../../Skeleton.vue_vue_type_script_setup_true_lang-C-taYlG4.mjs";
|
|
4
|
-
import { u as useInvoiceData } from "../../useInvoiceData-CcueV3We.mjs";
|
|
5
|
-
import { p as _sfc_main$5, q as defineCustomElement, o as getComponentName } from "../../component-DEo_ndpK.mjs";
|
|
6
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
7
|
-
__name: "PaymentHistory",
|
|
8
|
-
props: {
|
|
9
|
-
customer: { type: Object },
|
|
10
|
-
paymentAttempts: { type: Array },
|
|
11
|
-
isLoading: { type: Boolean },
|
|
12
|
-
configuration: { type: Object }
|
|
13
|
-
},
|
|
14
|
-
setup(__props) {
|
|
15
|
-
return (_ctx, _cache) => {
|
|
16
|
-
return __props.isLoading ? (openBlock(), createBlock(_sfc_main$3, {
|
|
17
|
-
key: 0,
|
|
18
|
-
variant: "section",
|
|
19
|
-
class: "min-h-[100px]",
|
|
20
|
-
"data-testid": "payment-history-skeleton"
|
|
21
|
-
})) : __props.paymentAttempts.length ? (openBlock(), createBlock(_sfc_main$4, {
|
|
22
|
-
key: 1,
|
|
23
|
-
"payment-attempts": __props.paymentAttempts,
|
|
24
|
-
customer: __props.customer
|
|
25
|
-
}, null, 8, ["payment-attempts", "customer"])) : createCommentVNode("", true);
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
30
|
-
__name: "PaymentHistory.entry.view",
|
|
31
|
-
props: {
|
|
32
|
-
environment: { type: String },
|
|
33
|
-
locale: { type: String },
|
|
34
|
-
dateLocale: { type: String },
|
|
35
|
-
messages: { type: Object },
|
|
36
|
-
showTimezones: { type: Boolean },
|
|
37
|
-
primaryColor: { type: String },
|
|
38
|
-
secondaryColor: { type: String },
|
|
39
|
-
isShadowRoot: { type: Boolean },
|
|
40
|
-
experimentalFeatures: { type: Array },
|
|
41
|
-
logLevel: { type: String },
|
|
42
|
-
onLog: { type: Function },
|
|
43
|
-
allowedPortalTypes: { type: Array },
|
|
44
|
-
portalObject: { type: Object },
|
|
45
|
-
customElementName: { type: String },
|
|
46
|
-
branding: { type: Object },
|
|
47
|
-
configuration: { type: Object }
|
|
48
|
-
},
|
|
49
|
-
setup(__props) {
|
|
50
|
-
const props = __props;
|
|
51
|
-
const invoiceData = useInvoiceData(props.configuration.invoiceId);
|
|
52
|
-
return (_ctx, _cache) => {
|
|
53
|
-
var _a, _b;
|
|
54
|
-
return renderSlot(_ctx.$slots, "default", {
|
|
55
|
-
invoice: (_a = unref(invoiceData).data.value) == null ? void 0 : _a.invoice,
|
|
56
|
-
paymentAttempts: (_b = unref(invoiceData).data.value) == null ? void 0 : _b.paymentAttempts.data,
|
|
57
|
-
isLoading: unref(invoiceData).isPending.value
|
|
58
|
-
});
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
63
|
-
__name: "PaymentHistory.entry",
|
|
64
|
-
props: {
|
|
65
|
-
environment: { type: String },
|
|
66
|
-
locale: { type: String },
|
|
67
|
-
dateLocale: { type: String },
|
|
68
|
-
messages: { type: Object },
|
|
69
|
-
showTimezones: { type: Boolean },
|
|
70
|
-
primaryColor: { type: String },
|
|
71
|
-
secondaryColor: { type: String },
|
|
72
|
-
isShadowRoot: { type: Boolean },
|
|
73
|
-
experimentalFeatures: { type: Array },
|
|
74
|
-
logLevel: { type: String },
|
|
75
|
-
onLog: { type: Function },
|
|
76
|
-
allowedPortalTypes: { type: Array },
|
|
77
|
-
portalObject: { type: Object },
|
|
78
|
-
customElementName: { type: String },
|
|
79
|
-
branding: { type: Object },
|
|
80
|
-
configuration: { type: Object }
|
|
81
|
-
},
|
|
82
|
-
setup(__props) {
|
|
83
|
-
var _a;
|
|
84
|
-
const props = __props;
|
|
85
|
-
if (!((_a = props.configuration) == null ? void 0 : _a.invoiceId)) {
|
|
86
|
-
throw new Error("Missing invoice id");
|
|
87
|
-
}
|
|
88
|
-
return (_ctx, _cache) => {
|
|
89
|
-
var _a2, _b, _c, _d;
|
|
90
|
-
return openBlock(), createBlock(unref(_sfc_main$5), {
|
|
91
|
-
"custom-element-name": unref(COMPONENT_NAME),
|
|
92
|
-
environment: __props.environment,
|
|
93
|
-
locale: __props.locale,
|
|
94
|
-
"portal-object": __props.portalObject,
|
|
95
|
-
"allowed-portal-types": ["CUSTOMER"],
|
|
96
|
-
"primary-color": (_b = (_a2 = __props.branding) == null ? void 0 : _a2.colors) == null ? void 0 : _b.primary,
|
|
97
|
-
"secondary-color": (_d = (_c = __props.branding) == null ? void 0 : _c.colors) == null ? void 0 : _d.secondary,
|
|
98
|
-
"experimental-features": __props.experimentalFeatures,
|
|
99
|
-
"log-level": __props.logLevel,
|
|
100
|
-
"on-log": __props.onLog,
|
|
101
|
-
onError: _cache[0] || (_cache[0] = (error) => _ctx.$emit("error", error))
|
|
102
|
-
}, {
|
|
103
|
-
default: withCtx(() => [
|
|
104
|
-
createVNode(_sfc_main$1, normalizeProps(guardReactiveProps(_ctx.$props)), {
|
|
105
|
-
default: withCtx(({ invoice, paymentAttempts, isLoading }) => [
|
|
106
|
-
invoice && paymentAttempts ? (openBlock(), createBlock(_sfc_main$2, {
|
|
107
|
-
key: 0,
|
|
108
|
-
"is-loading": isLoading,
|
|
109
|
-
customer: invoice.customer,
|
|
110
|
-
"payment-attempts": paymentAttempts,
|
|
111
|
-
configuration: __props.configuration
|
|
112
|
-
}, null, 8, ["is-loading", "customer", "payment-attempts", "configuration"])) : createCommentVNode("", true)
|
|
113
|
-
]),
|
|
114
|
-
_: 1
|
|
115
|
-
}, 16)
|
|
116
|
-
]),
|
|
117
|
-
_: 1
|
|
118
|
-
}, 8, ["custom-element-name", "environment", "locale", "portal-object", "primary-color", "secondary-color", "experimental-features", "log-level", "on-log"]);
|
|
119
|
-
};
|
|
120
|
-
}
|
|
121
|
-
});
|
|
122
|
-
const SolvimonPaymentHistory = defineCustomElement(_sfc_main);
|
|
123
|
-
const COMPONENT_NAME = getComponentName("payment-history");
|
|
124
|
-
const defineSolvimonPaymentHistory = () => {
|
|
125
|
-
if (!customElements.get(COMPONENT_NAME)) {
|
|
126
|
-
customElements.define(COMPONENT_NAME, SolvimonPaymentHistory);
|
|
127
|
-
}
|
|
128
|
-
};
|
|
129
|
-
export {
|
|
130
|
-
COMPONENT_NAME,
|
|
131
|
-
SolvimonPaymentHistory,
|
|
132
|
-
defineSolvimonPaymentHistory
|
|
133
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("../../component-XHQYFLA_.js"),o=require("../../useLoadInitialData-BRg7IWqW.js"),n=require("../../useCustomer-B0NK96dA.js"),r=require("../../useService-D-CUtlp3.js"),a=require("../../paymentMethods-BX80t2zk.js"),i=require("../../PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-Sn1Jq19s.js");const u=e.defineComponent({__name:"PaymentMethodForm.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},showTimezones:{type:Boolean},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},customElementName:{type:String},branding:{type:Object},configuration:{type:Object},countryCode:{type:String}},setup(i){const u=i,c=n.useCustomer({customerId:u.portalObject.customer_id}),s=function(){const{getPaymentMethodOptions:e}=a.createPaymentMethodsService(),{data:t,execute:o,apiStatus:n,error:i,isPending:u}=r.useService({initialValue:[],service:t=>function(e){return void 0!==e.customerId}(t)?e({customerId:t.customerId,amount:t.amount,country:t.country}):e({subscriptionId:t.subscriptionId,amount:t.amount,country:t.country})});return{paymentMethodOptions:t,get:o,apiStatus:n,error:i,isPending:u}}(),{isLoading:l}=o.useLoadInitialData((async()=>{var e;const o=await c.get.execute(),n=t.getCustomerCountry(o);await s.get({customerId:o.id,country:n,amount:null==(e=u.configuration)?void 0:e.amount})})());return(t,o)=>e.renderSlot(t.$slots,"default",{customer:e.unref(c).customer.value,paymentMethodOptions:e.unref(s),isLoading:e.unref(l)})}}),c=e.defineComponent({__name:"PaymentMethodForm",props:{customer:{type:Object},paymentMethodOptions:{type:Array},configuration:{type:Object},isLoading:{type:Boolean,default:!1},countryCode:{type:String}},setup(o){const n={currency:"EUR",quantity:"0"},r=o,{$t:a}=t.useIntl(),u=e.computed(()=>{return"AUTHORIZE"===(null==(e=r.configuration)?void 0:e.variant)?e:{...e,variant:"TOKENIZE"};var e}),c=e.computed(()=>{let e="NL";if(r.countryCode)return e=r.countryCode,e;if(r.customer){const o=t.getCustomerCountry(r.customer);if(o)return e=o,e}return"NL"}),s=e.computed(()=>"AUTHORIZE"===u.value.variant?{paymentMethodOptions:r.paymentMethodOptions,countryCode:c.value,variant:"AUTHORIZE",amount:u.value.amount,context:u.value.context,invoiceId:u.value.invoiceId,successRedirectUrl:u.value.successRedirectUrl,selectedOption:u.value.selectedOption,validateOnSubmit:u.value.validateOnSubmit,forceStorePaymentMethod:u.value.forceStorePaymentMethod}:{paymentMethodOptions:r.paymentMethodOptions,customerId:r.customer.id,countryCode:c.value,variant:"TOKENIZE",amount:u.value.amount??n,invoiceId:u.value.invoiceId,successRedirectUrl:u.value.successRedirectUrl,selectedOption:u.value.selectedOption,validateOnSubmit:u.value.validateOnSubmit,forceStorePaymentMethod:u.value.forceStorePaymentMethod});return(n,r)=>o.isLoading?(e.openBlock(),e.createBlock(e.unref(t._sfc_main$14),{key:0,variant:"section",class:"min-h-[180px]"})):(e.openBlock(),e.createBlock(e.unref(t._sfc_main$1g),{key:1,"no-border":"","no-spacing":"","content-background":"none",title:e.unref(a)({defaultMessage:"Available payment methods",description:"Title of the available payment methods form",id:"components.payment_method_form.section_title"})},{default:e.withCtx(()=>[e.createVNode(i._sfc_main,e.normalizeProps(e.guardReactiveProps(s.value)),null,16)]),_:1},8,["title"]))}}),s=e.defineComponent({__name:"PaymentMethodForm.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},showTimezones:{type:Boolean},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},customElementName:{type:String},branding:{type:Object},configuration:{type:Object},countryCode:{type:String}},setup(o){const n=o;return(r,a)=>{var i,s,l,p;return e.openBlock(),e.createBlock(e.unref(t._sfc_main$1),{"custom-element-name":e.unref(m),environment:o.environment,locale:o.locale,"portal-object":o.portalObject,"allowed-portal-types":["CUSTOMER"],"primary-color":null==(s=null==(i=o.branding)?void 0:i.colors)?void 0:s.primary,"secondary-color":null==(p=null==(l=o.branding)?void 0:l.colors)?void 0:p.secondary,"experimental-features":o.experimentalFeatures,"log-level":o.logLevel,"on-log":o.onLog,onError:a[0]||(a[0]=e=>r.$emit("error",e))},{default:e.withCtx(()=>[e.createVNode(u,e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(({customer:t,paymentMethodOptions:n,isLoading:r})=>[t?(e.openBlock(),e.createBlock(c,{key:0,customer:t,"payment-method-options":n.paymentMethodOptions.value,configuration:o.configuration,"is-loading":r},null,8,["customer","payment-method-options","configuration","is-loading"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["custom-element-name","environment","locale","portal-object","primary-color","secondary-color","experimental-features","log-level","on-log"])}}}),l=t.defineCustomElement(s),m=t.getComponentName("payment-method-form");exports.COMPONENT_NAME=m,exports.SolvimonPaymentMethodForm=l,exports.defineSolvimonPaymentMethodForm=()=>{customElements.get(m)||customElements.define(m,l)};
|
|
@@ -1,238 +0,0 @@
|
|
|
1
|
-
import { defineComponent, renderSlot, unref, computed, openBlock, createBlock, withCtx, createVNode, normalizeProps, guardReactiveProps, createCommentVNode } from "vue";
|
|
2
|
-
import { F as getCustomerCountry, b as useIntl, k as _sfc_main$14, d as _sfc_main$1g, p as _sfc_main$4, q as defineCustomElement, o as getComponentName } from "../../component-DEo_ndpK.mjs";
|
|
3
|
-
import { u as useLoadInitialData } from "../../useLoadInitialData-Dm48tlSO.mjs";
|
|
4
|
-
import { u as useCustomer } from "../../useCustomer-DlcjY3fP.mjs";
|
|
5
|
-
import { u as useService } from "../../useService-B4qv5N2D.mjs";
|
|
6
|
-
import { c as createPaymentMethodsService } from "../../paymentMethods-CqKUfc3w.mjs";
|
|
7
|
-
import { _ as _sfc_main$3 } from "../../PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DJEZEEwZ.mjs";
|
|
8
|
-
function hasCustomerId(payload) {
|
|
9
|
-
return payload.customerId !== void 0;
|
|
10
|
-
}
|
|
11
|
-
function usePaymentMethodOptions() {
|
|
12
|
-
const { getPaymentMethodOptions } = createPaymentMethodsService();
|
|
13
|
-
const service = (payload) => hasCustomerId(payload) ? getPaymentMethodOptions({
|
|
14
|
-
customerId: payload.customerId,
|
|
15
|
-
amount: payload.amount,
|
|
16
|
-
country: payload.country
|
|
17
|
-
}) : getPaymentMethodOptions({
|
|
18
|
-
subscriptionId: payload.subscriptionId,
|
|
19
|
-
amount: payload.amount,
|
|
20
|
-
country: payload.country
|
|
21
|
-
});
|
|
22
|
-
const initialValue = [];
|
|
23
|
-
const { data, execute: get, apiStatus, error, isPending } = useService({
|
|
24
|
-
initialValue,
|
|
25
|
-
service
|
|
26
|
-
});
|
|
27
|
-
return { paymentMethodOptions: data, get, apiStatus, error, isPending };
|
|
28
|
-
}
|
|
29
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
30
|
-
__name: "PaymentMethodForm.entry.view",
|
|
31
|
-
props: {
|
|
32
|
-
environment: { type: String },
|
|
33
|
-
locale: { type: String },
|
|
34
|
-
dateLocale: { type: String },
|
|
35
|
-
messages: { type: Object },
|
|
36
|
-
showTimezones: { type: Boolean },
|
|
37
|
-
primaryColor: { type: String },
|
|
38
|
-
secondaryColor: { type: String },
|
|
39
|
-
isShadowRoot: { type: Boolean },
|
|
40
|
-
experimentalFeatures: { type: Array },
|
|
41
|
-
logLevel: { type: String },
|
|
42
|
-
onLog: { type: Function },
|
|
43
|
-
allowedPortalTypes: { type: Array },
|
|
44
|
-
portalObject: { type: Object },
|
|
45
|
-
customElementName: { type: String },
|
|
46
|
-
branding: { type: Object },
|
|
47
|
-
configuration: { type: Object },
|
|
48
|
-
countryCode: { type: String }
|
|
49
|
-
},
|
|
50
|
-
setup(__props) {
|
|
51
|
-
const props = __props;
|
|
52
|
-
const customer = useCustomer({ customerId: props.portalObject.customer_id });
|
|
53
|
-
const paymentMethodOptions = usePaymentMethodOptions();
|
|
54
|
-
const initialLoad = async () => {
|
|
55
|
-
var _a;
|
|
56
|
-
const customerResponse = await customer.get.execute();
|
|
57
|
-
const country = getCustomerCountry(customerResponse);
|
|
58
|
-
await paymentMethodOptions.get({
|
|
59
|
-
customerId: customerResponse.id,
|
|
60
|
-
country,
|
|
61
|
-
amount: (_a = props.configuration) == null ? void 0 : _a.amount
|
|
62
|
-
});
|
|
63
|
-
};
|
|
64
|
-
const { isLoading } = useLoadInitialData(initialLoad());
|
|
65
|
-
return (_ctx, _cache) => {
|
|
66
|
-
return renderSlot(_ctx.$slots, "default", {
|
|
67
|
-
customer: unref(customer).customer.value,
|
|
68
|
-
paymentMethodOptions: unref(paymentMethodOptions),
|
|
69
|
-
isLoading: unref(isLoading)
|
|
70
|
-
});
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
const FALLBACK_COUNTRY_CODE = "NL";
|
|
75
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
76
|
-
__name: "PaymentMethodForm",
|
|
77
|
-
props: {
|
|
78
|
-
customer: { type: Object },
|
|
79
|
-
paymentMethodOptions: { type: Array },
|
|
80
|
-
configuration: { type: Object },
|
|
81
|
-
isLoading: { type: Boolean, default: false },
|
|
82
|
-
countryCode: { type: String }
|
|
83
|
-
},
|
|
84
|
-
setup(__props) {
|
|
85
|
-
const DEFAULT_AMOUNT = {
|
|
86
|
-
currency: "EUR",
|
|
87
|
-
quantity: "0"
|
|
88
|
-
};
|
|
89
|
-
const props = __props;
|
|
90
|
-
const { $t } = useIntl();
|
|
91
|
-
const resolveConfiguration = (configuration2) => {
|
|
92
|
-
if ((configuration2 == null ? void 0 : configuration2.variant) === "AUTHORIZE") {
|
|
93
|
-
return configuration2;
|
|
94
|
-
}
|
|
95
|
-
return {
|
|
96
|
-
...configuration2,
|
|
97
|
-
variant: "TOKENIZE"
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
const configuration = computed(
|
|
101
|
-
() => resolveConfiguration(props.configuration)
|
|
102
|
-
);
|
|
103
|
-
const countryCode = computed(() => {
|
|
104
|
-
let result = FALLBACK_COUNTRY_CODE;
|
|
105
|
-
if (props.countryCode) {
|
|
106
|
-
result = props.countryCode;
|
|
107
|
-
return result;
|
|
108
|
-
}
|
|
109
|
-
if (props.customer) {
|
|
110
|
-
const country = getCustomerCountry(props.customer);
|
|
111
|
-
if (country) {
|
|
112
|
-
result = country;
|
|
113
|
-
return result;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
return FALLBACK_COUNTRY_CODE;
|
|
117
|
-
});
|
|
118
|
-
const paymentIntegrationProps = computed(() => {
|
|
119
|
-
if (configuration.value.variant === "AUTHORIZE") {
|
|
120
|
-
return {
|
|
121
|
-
paymentMethodOptions: props.paymentMethodOptions,
|
|
122
|
-
countryCode: countryCode.value,
|
|
123
|
-
variant: "AUTHORIZE",
|
|
124
|
-
amount: configuration.value.amount,
|
|
125
|
-
context: configuration.value.context,
|
|
126
|
-
invoiceId: configuration.value.invoiceId,
|
|
127
|
-
successRedirectUrl: configuration.value.successRedirectUrl,
|
|
128
|
-
selectedOption: configuration.value.selectedOption,
|
|
129
|
-
validateOnSubmit: configuration.value.validateOnSubmit,
|
|
130
|
-
forceStorePaymentMethod: configuration.value.forceStorePaymentMethod
|
|
131
|
-
};
|
|
132
|
-
}
|
|
133
|
-
return {
|
|
134
|
-
paymentMethodOptions: props.paymentMethodOptions,
|
|
135
|
-
customerId: props.customer.id,
|
|
136
|
-
countryCode: countryCode.value,
|
|
137
|
-
variant: "TOKENIZE",
|
|
138
|
-
amount: configuration.value.amount ?? DEFAULT_AMOUNT,
|
|
139
|
-
invoiceId: configuration.value.invoiceId,
|
|
140
|
-
successRedirectUrl: configuration.value.successRedirectUrl,
|
|
141
|
-
selectedOption: configuration.value.selectedOption,
|
|
142
|
-
validateOnSubmit: configuration.value.validateOnSubmit,
|
|
143
|
-
forceStorePaymentMethod: configuration.value.forceStorePaymentMethod
|
|
144
|
-
};
|
|
145
|
-
});
|
|
146
|
-
return (_ctx, _cache) => {
|
|
147
|
-
return __props.isLoading ? (openBlock(), createBlock(unref(_sfc_main$14), {
|
|
148
|
-
key: 0,
|
|
149
|
-
variant: "section",
|
|
150
|
-
class: "min-h-[180px]"
|
|
151
|
-
})) : (openBlock(), createBlock(unref(_sfc_main$1g), {
|
|
152
|
-
key: 1,
|
|
153
|
-
"no-border": "",
|
|
154
|
-
"no-spacing": "",
|
|
155
|
-
"content-background": "none",
|
|
156
|
-
title: unref($t)({
|
|
157
|
-
defaultMessage: "Available payment methods",
|
|
158
|
-
description: "Title of the available payment methods form",
|
|
159
|
-
id: "components.payment_method_form.section_title"
|
|
160
|
-
})
|
|
161
|
-
}, {
|
|
162
|
-
default: withCtx(() => [
|
|
163
|
-
createVNode(_sfc_main$3, normalizeProps(guardReactiveProps(paymentIntegrationProps.value)), null, 16)
|
|
164
|
-
]),
|
|
165
|
-
_: 1
|
|
166
|
-
}, 8, ["title"]));
|
|
167
|
-
};
|
|
168
|
-
}
|
|
169
|
-
});
|
|
170
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
171
|
-
__name: "PaymentMethodForm.entry",
|
|
172
|
-
props: {
|
|
173
|
-
environment: { type: String },
|
|
174
|
-
locale: { type: String },
|
|
175
|
-
dateLocale: { type: String },
|
|
176
|
-
messages: { type: Object },
|
|
177
|
-
showTimezones: { type: Boolean },
|
|
178
|
-
primaryColor: { type: String },
|
|
179
|
-
secondaryColor: { type: String },
|
|
180
|
-
isShadowRoot: { type: Boolean },
|
|
181
|
-
experimentalFeatures: { type: Array },
|
|
182
|
-
logLevel: { type: String },
|
|
183
|
-
onLog: { type: Function },
|
|
184
|
-
allowedPortalTypes: { type: Array },
|
|
185
|
-
portalObject: { type: Object },
|
|
186
|
-
customElementName: { type: String },
|
|
187
|
-
branding: { type: Object },
|
|
188
|
-
configuration: { type: Object },
|
|
189
|
-
countryCode: { type: String }
|
|
190
|
-
},
|
|
191
|
-
setup(__props) {
|
|
192
|
-
const props = __props;
|
|
193
|
-
return (_ctx, _cache) => {
|
|
194
|
-
var _a, _b, _c, _d;
|
|
195
|
-
return openBlock(), createBlock(unref(_sfc_main$4), {
|
|
196
|
-
"custom-element-name": unref(COMPONENT_NAME),
|
|
197
|
-
environment: __props.environment,
|
|
198
|
-
locale: __props.locale,
|
|
199
|
-
"portal-object": __props.portalObject,
|
|
200
|
-
"allowed-portal-types": ["CUSTOMER"],
|
|
201
|
-
"primary-color": (_b = (_a = __props.branding) == null ? void 0 : _a.colors) == null ? void 0 : _b.primary,
|
|
202
|
-
"secondary-color": (_d = (_c = __props.branding) == null ? void 0 : _c.colors) == null ? void 0 : _d.secondary,
|
|
203
|
-
"experimental-features": __props.experimentalFeatures,
|
|
204
|
-
"log-level": __props.logLevel,
|
|
205
|
-
"on-log": __props.onLog,
|
|
206
|
-
onError: _cache[0] || (_cache[0] = (error) => _ctx.$emit("error", error))
|
|
207
|
-
}, {
|
|
208
|
-
default: withCtx(() => [
|
|
209
|
-
createVNode(_sfc_main$2, normalizeProps(guardReactiveProps(props)), {
|
|
210
|
-
default: withCtx(({ customer, paymentMethodOptions, isLoading }) => [
|
|
211
|
-
customer ? (openBlock(), createBlock(_sfc_main$1, {
|
|
212
|
-
key: 0,
|
|
213
|
-
customer,
|
|
214
|
-
"payment-method-options": paymentMethodOptions.paymentMethodOptions.value,
|
|
215
|
-
configuration: __props.configuration,
|
|
216
|
-
"is-loading": isLoading
|
|
217
|
-
}, null, 8, ["customer", "payment-method-options", "configuration", "is-loading"])) : createCommentVNode("", true)
|
|
218
|
-
]),
|
|
219
|
-
_: 1
|
|
220
|
-
}, 16)
|
|
221
|
-
]),
|
|
222
|
-
_: 1
|
|
223
|
-
}, 8, ["custom-element-name", "environment", "locale", "portal-object", "primary-color", "secondary-color", "experimental-features", "log-level", "on-log"]);
|
|
224
|
-
};
|
|
225
|
-
}
|
|
226
|
-
});
|
|
227
|
-
const SolvimonPaymentMethodForm = defineCustomElement(_sfc_main);
|
|
228
|
-
const COMPONENT_NAME = getComponentName("payment-method-form");
|
|
229
|
-
const defineSolvimonPaymentMethodForm = () => {
|
|
230
|
-
if (!customElements.get(COMPONENT_NAME)) {
|
|
231
|
-
customElements.define(COMPONENT_NAME, SolvimonPaymentMethodForm);
|
|
232
|
-
}
|
|
233
|
-
};
|
|
234
|
-
export {
|
|
235
|
-
COMPONENT_NAME,
|
|
236
|
-
SolvimonPaymentMethodForm,
|
|
237
|
-
defineSolvimonPaymentMethodForm
|
|
238
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("../../component-XHQYFLA_.js"),n=require("../../useService-D-CUtlp3.js"),o=require("../../subscriptions-CnxvsBXd.js"),r=require("../../useLoadInitialData-BRg7IWqW.js"),i=e.defineComponent({__name:"SubscriptionSchedules",props:{schedulesData:{type:Array},configuration:{type:Object},isLoading:{type:Boolean}},setup(n){const{$t:o}=t.useIntl();return(r,i)=>(e.openBlock(),e.createBlock(e.unref(t._sfc_main$1g),{"no-border":"",spacing:"none","content-background":"none",title:e.unref(o)({defaultMessage:"Schedules",description:"Invoices list title",id:"invoices_list.title"})},{default:e.withCtx(()=>[e.createVNode(e.unref(t._sfc_main$E),{schedules:n.schedulesData},null,8,["schedules"])]),_:1},8,["title"]))}});const a=e.defineComponent({__name:"SubscriptionSchedules.entry.view",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},showTimezones:{type:Boolean},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},customElementName:{type:String},branding:{type:Object},configuration:{type:Object}},setup(t){const i=t,{subscription:a,withPlanData:s,get:l}=function({subscriptionId:e}){const{getSubscription:t}=o.createSubscriptionsService(),{data:r,execute:i,apiStatus:a,error:s,isPending:l}=n.useService({service:()=>t({id:e,expanded:!0})});return{subscription:r,withPlanData:e=>e.pricing_plan_schedule_infos.map(e=>({schedule:e.pricing_plan_schedule,selectedPricingPlan:e.pricing_plan_version.pricing_plan,selectedPricingPlanVersion:e.pricing_plan_version})),apiStatus:a,error:s,get:i,isPending:l}}({subscriptionId:i.configuration.subscriptionId}),{isLoading:c}=r.useLoadInitialData(l());return(t,n)=>e.renderSlot(t.$slots,"default",{schedulesData:e.unref(a)?e.unref(s)(e.unref(a)):void 0,isLoading:e.unref(c)})}}),s=e.defineComponent({__name:"SubscriptionSchedules.entry",props:{environment:{type:String},locale:{type:String},dateLocale:{type:String},messages:{type:Object},showTimezones:{type:Boolean},primaryColor:{type:String},secondaryColor:{type:String},isShadowRoot:{type:Boolean},experimentalFeatures:{type:Array},logLevel:{type:String},onLog:{type:Function},allowedPortalTypes:{type:Array},portalObject:{type:Object},customElementName:{type:String},branding:{type:Object},configuration:{type:Object}},setup(n){const o=n;return(r,s)=>{var l,p,u,d;return e.openBlock(),e.createBlock(e.unref(t._sfc_main$1),{"custom-element-name":e.unref(c),environment:n.environment,locale:n.locale,"portal-object":n.portalObject,"allowed-portal-types":["CUSTOMER"],"primary-color":null==(p=null==(l=n.branding)?void 0:l.colors)?void 0:p.primary,"secondary-color":null==(d=null==(u=n.branding)?void 0:u.colors)?void 0:d.secondary,"experimental-features":n.experimentalFeatures,"log-level":n.logLevel,"on-log":n.onLog,onError:s[0]||(s[0]=e=>r.$emit("error",e))},{default:e.withCtx(()=>[e.createVNode(a,e.normalizeProps(e.guardReactiveProps(o)),{default:e.withCtx(({schedulesData:t,isLoading:o})=>[t?(e.openBlock(),e.createBlock(i,{key:0,"schedules-data":t,"is-loading":o,configuration:n.configuration},null,8,["schedules-data","is-loading","configuration"])):e.createCommentVNode("",!0)]),_:1},16)]),_:1},8,["custom-element-name","environment","locale","portal-object","primary-color","secondary-color","experimental-features","log-level","on-log"])}}}),l=t.defineCustomElement(s),c=t.getComponentName("subscription-schedules");exports.COMPONENT_NAME=c,exports.SolvimonSubscriptionSchedules=l,exports.defineSolvimonSubscriptionSchedules=()=>{customElements.get(c)||customElements.define(c,l)};
|