@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,75 +0,0 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock, createVNode, unref, withCtx, createTextVNode, toDisplayString, createElementVNode, renderSlot } from "vue";
|
|
2
|
-
import { n as _sfc_main$4, _ as _sfc_main$2 } from "./component-DEo_ndpK.mjs";
|
|
3
|
-
const _hoisted_1$1 = { class: "flex gap-1" };
|
|
4
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
5
|
-
__name: "Kpi",
|
|
6
|
-
props: {
|
|
7
|
-
icon: { type: null },
|
|
8
|
-
kpi: { type: String }
|
|
9
|
-
},
|
|
10
|
-
setup(__props) {
|
|
11
|
-
return (_ctx, _cache) => {
|
|
12
|
-
return openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
13
|
-
createVNode(unref(_sfc_main$4), {
|
|
14
|
-
icon: __props.icon,
|
|
15
|
-
size: "xs"
|
|
16
|
-
}, null, 8, ["icon"]),
|
|
17
|
-
createVNode(unref(_sfc_main$2), { variant: "body-xs" }, {
|
|
18
|
-
default: withCtx(() => [
|
|
19
|
-
createTextVNode(toDisplayString(__props.kpi), 1)
|
|
20
|
-
]),
|
|
21
|
-
_: 1
|
|
22
|
-
})
|
|
23
|
-
]);
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
const _hoisted_1 = { class: "flex items-start" };
|
|
28
|
-
const _hoisted_2 = { class: "flex flex-col grow" };
|
|
29
|
-
const _hoisted_3 = { class: "flex items-center gap-1" };
|
|
30
|
-
const _hoisted_4 = { class: "flex items-center ml-4 self-center" };
|
|
31
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
32
|
-
__name: "PricingGroupContent",
|
|
33
|
-
props: {
|
|
34
|
-
name: { type: String },
|
|
35
|
-
description: { type: String }
|
|
36
|
-
},
|
|
37
|
-
setup(__props) {
|
|
38
|
-
return (_ctx, _cache) => {
|
|
39
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
40
|
-
createElementVNode("div", _hoisted_2, [
|
|
41
|
-
createElementVNode("div", _hoisted_3, [
|
|
42
|
-
createVNode(unref(_sfc_main$2), {
|
|
43
|
-
tag: "span",
|
|
44
|
-
variant: "body-sm",
|
|
45
|
-
weight: "semibold"
|
|
46
|
-
}, {
|
|
47
|
-
default: withCtx(() => [
|
|
48
|
-
createTextVNode(toDisplayString(__props.name), 1)
|
|
49
|
-
]),
|
|
50
|
-
_: 1
|
|
51
|
-
}),
|
|
52
|
-
renderSlot(_ctx.$slots, "badge")
|
|
53
|
-
]),
|
|
54
|
-
createVNode(unref(_sfc_main$2), {
|
|
55
|
-
tag: "span",
|
|
56
|
-
variant: "body-xs",
|
|
57
|
-
shade: "lighter"
|
|
58
|
-
}, {
|
|
59
|
-
default: withCtx(() => [
|
|
60
|
-
createTextVNode(toDisplayString(__props.description), 1)
|
|
61
|
-
]),
|
|
62
|
-
_: 1
|
|
63
|
-
})
|
|
64
|
-
]),
|
|
65
|
-
createElementVNode("div", _hoisted_4, [
|
|
66
|
-
renderSlot(_ctx.$slots, "default")
|
|
67
|
-
])
|
|
68
|
-
]);
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
export {
|
|
73
|
-
_sfc_main as _,
|
|
74
|
-
_sfc_main$1 as a
|
|
75
|
-
};
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { defineComponent, useSlots, computed, renderSlot, openBlock, createElementBlock, Fragment, mergeProps, normalizeProps, createElementVNode, normalizeClass, isVNode, Comment, Text } from "vue";
|
|
2
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3
|
-
__name: "Skeleton",
|
|
4
|
-
props: {
|
|
5
|
-
variant: { type: String },
|
|
6
|
-
class: { type: String }
|
|
7
|
-
},
|
|
8
|
-
setup(__props) {
|
|
9
|
-
const slots = useSlots();
|
|
10
|
-
const isVnodeEmpty = (node) => {
|
|
11
|
-
if (node == null || node === false) return true;
|
|
12
|
-
if (typeof node === "string" || typeof node === "number") {
|
|
13
|
-
return String(node).trim().length === 0;
|
|
14
|
-
}
|
|
15
|
-
if (Array.isArray(node)) {
|
|
16
|
-
return node.every(isVnodeEmpty);
|
|
17
|
-
}
|
|
18
|
-
if (!isVNode(node)) return false;
|
|
19
|
-
const vnode = node;
|
|
20
|
-
if (vnode.type === Comment) {
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
if (vnode.type === Text) {
|
|
24
|
-
if (typeof vnode.children === "string") {
|
|
25
|
-
return !vnode.children.trim();
|
|
26
|
-
}
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
if (vnode.type === Fragment) {
|
|
30
|
-
if (vnode.children == null) return true;
|
|
31
|
-
if (Array.isArray(vnode.children)) {
|
|
32
|
-
return vnode.children.every(isVnodeEmpty);
|
|
33
|
-
}
|
|
34
|
-
return false;
|
|
35
|
-
}
|
|
36
|
-
return false;
|
|
37
|
-
};
|
|
38
|
-
const hasSlotContent = computed(() => {
|
|
39
|
-
if (!slots.default) return false;
|
|
40
|
-
const vnodes = slots.default({});
|
|
41
|
-
if (!vnodes || vnodes.length === 0) return false;
|
|
42
|
-
return !vnodes.every(isVnodeEmpty);
|
|
43
|
-
});
|
|
44
|
-
return (_ctx, _cache) => {
|
|
45
|
-
return hasSlotContent.value ? renderSlot(_ctx.$slots, "default", { key: 0 }) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
46
|
-
__props.variant === "title" ? (openBlock(), createElementBlock("div", mergeProps({ key: 0 }, _ctx.$attrs, { class: "h-6 w-40 rounded border border-gray-50 bg-gray-50/50" }), null, 16)) : __props.variant === "divider-text" ? (openBlock(), createElementBlock("div", mergeProps({ key: 1 }, _ctx.$attrs, { class: "mx-auto h-4 w-12 rounded border border-gray-50 bg-gray-50/50" }), null, 16)) : __props.variant === "section" ? (openBlock(), createElementBlock("div", normalizeProps(mergeProps({ key: 2 }, _ctx.$attrs)), [
|
|
47
|
-
_cache[0] || (_cache[0] = createElementVNode("div", { class: "h-6 w-40 rounded border border-gray-50 bg-gray-50/50" }, null, -1)),
|
|
48
|
-
createElementVNode("div", {
|
|
49
|
-
class: normalizeClass([
|
|
50
|
-
"mt-1 rounded border border-gray-50 bg-gray-50/50 md:mt-2",
|
|
51
|
-
_ctx.$props.class
|
|
52
|
-
])
|
|
53
|
-
}, null, 2)
|
|
54
|
-
], 16)) : (openBlock(), createElementBlock("div", mergeProps({ key: 3 }, _ctx.$attrs, {
|
|
55
|
-
class: ["rounded border border-gray-50 bg-gray-50/50", _ctx.$props.class]
|
|
56
|
-
}), null, 16))
|
|
57
|
-
], 64));
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
export {
|
|
62
|
-
_sfc_main as _
|
|
63
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("vue"),r=e.defineComponent({__name:"Skeleton",props:{variant:{type:String},class:{type:String}},setup(r){const t=e.useSlots(),n=r=>{if(null==r||!1===r)return!0;if("string"==typeof r||"number"==typeof r)return 0===String(r).trim().length;if(Array.isArray(r))return r.every(n);if(!e.isVNode(r))return!1;const t=r;return t.type===e.Comment||(t.type===e.Text?"string"!=typeof t.children||!t.children.trim():t.type===e.Fragment&&(null==t.children||!!Array.isArray(t.children)&&t.children.every(n)))},o=e.computed(()=>{if(!t.default)return!1;const e=t.default({});return!(!e||0===e.length)&&!e.every(n)});return(t,n)=>o.value?e.renderSlot(t.$slots,"default",{key:0}):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},["title"===r.variant?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:0},t.$attrs,{class:"h-6 w-40 rounded border border-gray-50 bg-gray-50/50"}),null,16)):"divider-text"===r.variant?(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:1},t.$attrs,{class:"mx-auto h-4 w-12 rounded border border-gray-50 bg-gray-50/50"}),null,16)):"section"===r.variant?(e.openBlock(),e.createElementBlock("div",e.normalizeProps(e.mergeProps({key:2},t.$attrs)),[n[0]||(n[0]=e.createElementVNode("div",{class:"h-6 w-40 rounded border border-gray-50 bg-gray-50/50"},null,-1)),e.createElementVNode("div",{class:e.normalizeClass(["mt-1 rounded border border-gray-50 bg-gray-50/50 md:mt-2",t.$props.class])},null,2)],16)):(e.openBlock(),e.createElementBlock("div",e.mergeProps({key:3},t.$attrs,{class:["rounded border border-gray-50 bg-gray-50/50",t.$props.class]}),null,16))],64))}});exports._sfc_main=r;
|
|
@@ -1,373 +0,0 @@
|
|
|
1
|
-
import { u as useIncrementalLoading } from "./useIncrementalLoading-C7ToTmZK.mjs";
|
|
2
|
-
import { c as createSubscriptionsService } from "./subscriptions-Bs4DIE8f.mjs";
|
|
3
|
-
import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createElementVNode, createVNode, createTextVNode, toDisplayString, createCommentVNode, createElementBlock, createSlots, Fragment, renderList } from "vue";
|
|
4
|
-
import { b as useIntl, d as _sfc_main$1g, _ as _sfc_main$2$1, g as _sfc_main$3, m as _sfc_main$2H } from "./component-DEo_ndpK.mjs";
|
|
5
|
-
import { _ as _sfc_main$4 } from "./Skeleton.vue_vue_type_script_setup_true_lang-C-taYlG4.mjs";
|
|
6
|
-
import { u as useActionDispatchProvider } from "./useActionDispatchProvider-CgRcOqv3.mjs";
|
|
7
|
-
function useSubscriptionsList({
|
|
8
|
-
customerId,
|
|
9
|
-
batchSize: pageSize = 15
|
|
10
|
-
}) {
|
|
11
|
-
const subscriptionsService = createSubscriptionsService();
|
|
12
|
-
const service = async (page) => subscriptionsService.getActiveSubscriptions({
|
|
13
|
-
customerId,
|
|
14
|
-
pagination: { page, pageSize }
|
|
15
|
-
});
|
|
16
|
-
return useIncrementalLoading({ service });
|
|
17
|
-
}
|
|
18
|
-
const _hoisted_1$1 = { class: "flex flex-col gap-4 md:flex-row" };
|
|
19
|
-
const _hoisted_2 = { class: "grow" };
|
|
20
|
-
const _hoisted_3 = { class: "mt-4 flex items-center gap-6" };
|
|
21
|
-
const _hoisted_4 = {
|
|
22
|
-
key: 1,
|
|
23
|
-
class: "flex gap-1"
|
|
24
|
-
};
|
|
25
|
-
const _hoisted_5 = { class: "flex flex-col items-center gap-2 md:flex-row" };
|
|
26
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
27
|
-
__name: "SubscriptionsListItem",
|
|
28
|
-
props: {
|
|
29
|
-
subscription: { type: Object },
|
|
30
|
-
paymentMethod: { type: Object },
|
|
31
|
-
customer: { type: Object },
|
|
32
|
-
showViewSubscriptionDetailsButton: { type: Boolean, default: true },
|
|
33
|
-
showCancelSubscriptionButton: { type: Boolean, default: true },
|
|
34
|
-
showRenewSubscriptionButton: { type: Boolean, default: true }
|
|
35
|
-
},
|
|
36
|
-
emits: ["view-subscription-details", "cancel-subscription", "renew-subscription"],
|
|
37
|
-
setup(__props) {
|
|
38
|
-
const props = __props;
|
|
39
|
-
const { $t } = useIntl();
|
|
40
|
-
const { formatDate } = useIntl();
|
|
41
|
-
const mostRecentPricingPlan = computed(() => {
|
|
42
|
-
var _a;
|
|
43
|
-
const scheduleInfos = props.subscription.pricing_plan_schedule_infos;
|
|
44
|
-
if (scheduleInfos.length === 0) {
|
|
45
|
-
return void 0;
|
|
46
|
-
}
|
|
47
|
-
const latestScheduleInfo = scheduleInfos[scheduleInfos.length - 1];
|
|
48
|
-
return (_a = latestScheduleInfo == null ? void 0 : latestScheduleInfo.pricing_plan_version) == null ? void 0 : _a.pricing_plan;
|
|
49
|
-
});
|
|
50
|
-
const subscriptionName = computed(
|
|
51
|
-
() => {
|
|
52
|
-
var _a;
|
|
53
|
-
return props.subscription.name || ((_a = mostRecentPricingPlan.value) == null ? void 0 : _a.name) || $t({
|
|
54
|
-
defaultMessage: "Subscription",
|
|
55
|
-
description: "The fallback name for when no subscription name can be determined",
|
|
56
|
-
id: "customer_overview.subscriptions_block.fallback_subscription_name"
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
);
|
|
60
|
-
const subscriptionDescription = computed(
|
|
61
|
-
() => {
|
|
62
|
-
var _a;
|
|
63
|
-
return (_a = mostRecentPricingPlan.value) == null ? void 0 : _a.description;
|
|
64
|
-
}
|
|
65
|
-
);
|
|
66
|
-
const isCancellable = computed(() => {
|
|
67
|
-
const inactivePeriods = props.subscription.inactive_periods;
|
|
68
|
-
return !inactivePeriods || inactivePeriods.length === 0;
|
|
69
|
-
});
|
|
70
|
-
const isRenewable = computed(() => {
|
|
71
|
-
const inactivePeriods = props.subscription.inactive_periods;
|
|
72
|
-
return Array.isArray(inactivePeriods) && inactivePeriods.length > 0;
|
|
73
|
-
});
|
|
74
|
-
const isCancelButtonVisible = computed(
|
|
75
|
-
() => isCancellable.value && props.showCancelSubscriptionButton
|
|
76
|
-
);
|
|
77
|
-
const isRenewButtonVisible = computed(
|
|
78
|
-
() => isRenewable.value && props.showRenewSubscriptionButton
|
|
79
|
-
);
|
|
80
|
-
const isDetailButtonVisible = computed(() => props.showViewSubscriptionDetailsButton);
|
|
81
|
-
return (_ctx, _cache) => {
|
|
82
|
-
return openBlock(), createBlock(unref(_sfc_main$1g), null, {
|
|
83
|
-
default: withCtx(() => [
|
|
84
|
-
createElementVNode("div", _hoisted_1$1, [
|
|
85
|
-
createElementVNode("div", _hoisted_2, [
|
|
86
|
-
createVNode(unref(_sfc_main$2$1), {
|
|
87
|
-
tag: "h3",
|
|
88
|
-
variant: "heading-2"
|
|
89
|
-
}, {
|
|
90
|
-
default: withCtx(() => [
|
|
91
|
-
createTextVNode(toDisplayString(subscriptionName.value), 1)
|
|
92
|
-
]),
|
|
93
|
-
_: 1
|
|
94
|
-
}),
|
|
95
|
-
subscriptionDescription.value ? (openBlock(), createBlock(unref(_sfc_main$2$1), {
|
|
96
|
-
key: 0,
|
|
97
|
-
variant: "body-sm",
|
|
98
|
-
tag: "span",
|
|
99
|
-
shade: "lighter"
|
|
100
|
-
}, {
|
|
101
|
-
default: withCtx(() => [
|
|
102
|
-
createTextVNode(toDisplayString(subscriptionDescription.value), 1)
|
|
103
|
-
]),
|
|
104
|
-
_: 1
|
|
105
|
-
})) : createCommentVNode("", true),
|
|
106
|
-
createElementVNode("div", _hoisted_3, [
|
|
107
|
-
__props.paymentMethod ? (openBlock(), createBlock(unref(_sfc_main$3), {
|
|
108
|
-
key: 0,
|
|
109
|
-
variant: "condensed",
|
|
110
|
-
"payment-method": __props.paymentMethod
|
|
111
|
-
}, null, 8, ["payment-method"])) : createCommentVNode("", true),
|
|
112
|
-
__props.subscription.next_invoice ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
113
|
-
createVNode(unref(_sfc_main$2$1), {
|
|
114
|
-
tag: "span",
|
|
115
|
-
variant: "body-xs",
|
|
116
|
-
shade: "light",
|
|
117
|
-
weight: "semibold"
|
|
118
|
-
}, {
|
|
119
|
-
default: withCtx(() => [
|
|
120
|
-
createTextVNode(toDisplayString(unref($t)({
|
|
121
|
-
defaultMessage: "Next billing date",
|
|
122
|
-
description: "The label for the next billing date",
|
|
123
|
-
id: "customer.subscriptions_block.next_billing_date"
|
|
124
|
-
})), 1)
|
|
125
|
-
]),
|
|
126
|
-
_: 1
|
|
127
|
-
}),
|
|
128
|
-
createVNode(unref(_sfc_main$2$1), {
|
|
129
|
-
tag: "span",
|
|
130
|
-
variant: "body-xs",
|
|
131
|
-
shade: "light"
|
|
132
|
-
}, {
|
|
133
|
-
default: withCtx(() => [
|
|
134
|
-
createTextVNode(toDisplayString(unref(formatDate)({
|
|
135
|
-
date: __props.subscription.next_invoice.invoice_date,
|
|
136
|
-
format: "date",
|
|
137
|
-
offsetType: "offsetted",
|
|
138
|
-
timezone: __props.customer.timezone
|
|
139
|
-
})), 1)
|
|
140
|
-
]),
|
|
141
|
-
_: 1
|
|
142
|
-
})
|
|
143
|
-
])) : createCommentVNode("", true)
|
|
144
|
-
])
|
|
145
|
-
]),
|
|
146
|
-
createElementVNode("div", _hoisted_5, [
|
|
147
|
-
isDetailButtonVisible.value ? (openBlock(), createBlock(unref(_sfc_main$2H), {
|
|
148
|
-
key: 0,
|
|
149
|
-
color: "primary",
|
|
150
|
-
class: "w-full md:w-auto",
|
|
151
|
-
type: "button",
|
|
152
|
-
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("view-subscription-details", { subscriptionId: __props.subscription.id }))
|
|
153
|
-
}, {
|
|
154
|
-
default: withCtx(() => [
|
|
155
|
-
createTextVNode(toDisplayString(unref($t)({
|
|
156
|
-
defaultMessage: "Subscription details",
|
|
157
|
-
description: "The label for the subscription details button in the subscriptions block",
|
|
158
|
-
id: "customer.subscriptions_block.show_details_button_label"
|
|
159
|
-
})), 1)
|
|
160
|
-
]),
|
|
161
|
-
_: 1
|
|
162
|
-
})) : createCommentVNode("", true),
|
|
163
|
-
isCancelButtonVisible.value ? (openBlock(), createBlock(unref(_sfc_main$2H), {
|
|
164
|
-
key: 1,
|
|
165
|
-
variant: "outline",
|
|
166
|
-
color: "gray",
|
|
167
|
-
class: "w-full md:w-auto",
|
|
168
|
-
type: "button",
|
|
169
|
-
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("cancel-subscription", { subscriptionId: __props.subscription.id }))
|
|
170
|
-
}, {
|
|
171
|
-
default: withCtx(() => [
|
|
172
|
-
createTextVNode(toDisplayString(unref($t)({
|
|
173
|
-
defaultMessage: "Cancel subscription",
|
|
174
|
-
description: "The label for the cancel subscription button in the subscriptions block",
|
|
175
|
-
id: "customer.subscriptions_block.cancel_button_label"
|
|
176
|
-
})), 1)
|
|
177
|
-
]),
|
|
178
|
-
_: 1
|
|
179
|
-
})) : isRenewButtonVisible.value ? (openBlock(), createBlock(unref(_sfc_main$2H), {
|
|
180
|
-
key: 2,
|
|
181
|
-
variant: "outline",
|
|
182
|
-
color: "gray",
|
|
183
|
-
class: "w-full md:w-auto",
|
|
184
|
-
type: "button",
|
|
185
|
-
onClick: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("renew-subscription", { subscriptionId: __props.subscription.id }))
|
|
186
|
-
}, {
|
|
187
|
-
default: withCtx(() => [
|
|
188
|
-
createTextVNode(toDisplayString(unref($t)({
|
|
189
|
-
defaultMessage: "Renew subscription",
|
|
190
|
-
description: "The label for the renew subscription button in the subscriptions block",
|
|
191
|
-
id: "customer.subscriptions_block.renew_button_label"
|
|
192
|
-
})), 1)
|
|
193
|
-
]),
|
|
194
|
-
_: 1
|
|
195
|
-
})) : createCommentVNode("", true)
|
|
196
|
-
])
|
|
197
|
-
])
|
|
198
|
-
]),
|
|
199
|
-
_: 1
|
|
200
|
-
});
|
|
201
|
-
};
|
|
202
|
-
}
|
|
203
|
-
});
|
|
204
|
-
const _hoisted_1 = {
|
|
205
|
-
key: 1,
|
|
206
|
-
class: "grid grid-cols-1 gap-4"
|
|
207
|
-
};
|
|
208
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
209
|
-
__name: "SubscriptionsList",
|
|
210
|
-
props: {
|
|
211
|
-
customer: { type: Object },
|
|
212
|
-
subscriptions: { type: Array },
|
|
213
|
-
paymentMethods: { default: () => [], type: Array },
|
|
214
|
-
isLoading: { type: Boolean },
|
|
215
|
-
showViewAllButton: { type: Boolean, default: true },
|
|
216
|
-
showViewDetailsButton: { type: Boolean, default: true },
|
|
217
|
-
showCancelButton: { type: Boolean, default: true },
|
|
218
|
-
showRenewButton: { type: Boolean, default: true }
|
|
219
|
-
},
|
|
220
|
-
emits: ["view-subscription-details", "view-all-subscriptions", "cancel-subscription", "renew-subscription", "load-more"],
|
|
221
|
-
setup(__props) {
|
|
222
|
-
const props = __props;
|
|
223
|
-
const { $t } = useIntl();
|
|
224
|
-
const hasSubscriptions = computed(() => props.subscriptions.length > 0);
|
|
225
|
-
const getPaymentMethod = (paymentMethodId) => {
|
|
226
|
-
if (!paymentMethodId) return void 0;
|
|
227
|
-
return props.paymentMethods.find(({ id }) => id === paymentMethodId);
|
|
228
|
-
};
|
|
229
|
-
const isViewAllButtonVisible = computed(() => props.showViewAllButton);
|
|
230
|
-
return (_ctx, _cache) => {
|
|
231
|
-
return openBlock(), createBlock(unref(_sfc_main$1g), {
|
|
232
|
-
"no-spacing": "",
|
|
233
|
-
"no-border": "",
|
|
234
|
-
title: unref($t)(
|
|
235
|
-
{
|
|
236
|
-
defaultMessage: "{count, plural, one {My subscription} other {My subscriptions}}",
|
|
237
|
-
description: "Title for the subscriptions block on the customer overview page",
|
|
238
|
-
id: "customer_overview.subscriptions_block.title"
|
|
239
|
-
},
|
|
240
|
-
{ count: String(__props.subscriptions.length) }
|
|
241
|
-
)
|
|
242
|
-
}, createSlots({
|
|
243
|
-
default: withCtx(() => [
|
|
244
|
-
!hasSubscriptions.value ? (openBlock(), createBlock(unref(_sfc_main$1g), { key: 0 }, {
|
|
245
|
-
default: withCtx(() => [
|
|
246
|
-
createVNode(unref(_sfc_main$2$1), {
|
|
247
|
-
tag: "h3",
|
|
248
|
-
variant: "heading-3"
|
|
249
|
-
}, {
|
|
250
|
-
default: withCtx(() => [
|
|
251
|
-
createTextVNode(toDisplayString(unref($t)({
|
|
252
|
-
defaultMessage: "No subscriptions",
|
|
253
|
-
description: "Title for the my subscriptions block on the customer overview page",
|
|
254
|
-
id: "customer_overview.subscriptions_block.no_active_subscription_title"
|
|
255
|
-
})), 1)
|
|
256
|
-
]),
|
|
257
|
-
_: 1
|
|
258
|
-
}),
|
|
259
|
-
createVNode(unref(_sfc_main$2$1), {
|
|
260
|
-
variant: "body-xs",
|
|
261
|
-
shade: "lighter"
|
|
262
|
-
}, {
|
|
263
|
-
default: withCtx(() => [
|
|
264
|
-
createTextVNode(toDisplayString(unref($t)({
|
|
265
|
-
defaultMessage: "There’s no active subscription to display.",
|
|
266
|
-
description: "Text that is being displayed when there is no active subscription in the subscriptions block",
|
|
267
|
-
id: "customer_overview.subscriptions_block.no_active_subscription_content"
|
|
268
|
-
})), 1)
|
|
269
|
-
]),
|
|
270
|
-
_: 1
|
|
271
|
-
})
|
|
272
|
-
]),
|
|
273
|
-
_: 1
|
|
274
|
-
})) : (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
275
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.subscriptions, (subscription) => {
|
|
276
|
-
return openBlock(), createBlock(_sfc_main$2, {
|
|
277
|
-
key: subscription.id,
|
|
278
|
-
subscription,
|
|
279
|
-
"payment-method": getPaymentMethod(subscription.payment_method_id),
|
|
280
|
-
customer: __props.customer,
|
|
281
|
-
"show-view-subscription-details-button": __props.showViewDetailsButton,
|
|
282
|
-
"show-cancel-subscription-button": __props.showCancelButton,
|
|
283
|
-
"show-renew-subscription-button": __props.showRenewButton,
|
|
284
|
-
"show-view-all-button": __props.showViewAllButton,
|
|
285
|
-
"show-cancel-button": __props.showCancelButton,
|
|
286
|
-
"show-renew-button": __props.showRenewButton,
|
|
287
|
-
onViewSubscriptionDetails: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("view-subscription-details", $event)),
|
|
288
|
-
onCancelSubscription: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("cancel-subscription", $event)),
|
|
289
|
-
onRenewSubscription: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("renew-subscription", $event))
|
|
290
|
-
}, null, 8, ["subscription", "payment-method", "customer", "show-view-subscription-details-button", "show-cancel-subscription-button", "show-renew-subscription-button", "show-view-all-button", "show-cancel-button", "show-renew-button"]);
|
|
291
|
-
}), 128))
|
|
292
|
-
]))
|
|
293
|
-
]),
|
|
294
|
-
_: 2
|
|
295
|
-
}, [
|
|
296
|
-
isViewAllButtonVisible.value ? {
|
|
297
|
-
name: "right",
|
|
298
|
-
fn: withCtx(() => [
|
|
299
|
-
createVNode(unref(_sfc_main$2H), {
|
|
300
|
-
size: "sm",
|
|
301
|
-
variant: "ghost",
|
|
302
|
-
color: "gray",
|
|
303
|
-
"icon-suffix": "arrow_right_alt",
|
|
304
|
-
type: "button",
|
|
305
|
-
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("view-all-subscriptions"))
|
|
306
|
-
}, {
|
|
307
|
-
default: withCtx(() => [
|
|
308
|
-
createTextVNode(toDisplayString(unref($t)({
|
|
309
|
-
defaultMessage: "View all",
|
|
310
|
-
description: "The text for the view all subscriptions button",
|
|
311
|
-
id: "customer_overview.subscriptions_block.view_all_button_label"
|
|
312
|
-
})), 1)
|
|
313
|
-
]),
|
|
314
|
-
_: 1
|
|
315
|
-
})
|
|
316
|
-
]),
|
|
317
|
-
key: "0"
|
|
318
|
-
} : void 0
|
|
319
|
-
]), 1032, ["title"]);
|
|
320
|
-
};
|
|
321
|
-
}
|
|
322
|
-
});
|
|
323
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
324
|
-
__name: "SubscriptionsList",
|
|
325
|
-
props: {
|
|
326
|
-
customer: { type: null },
|
|
327
|
-
subscriptions: { type: Array },
|
|
328
|
-
paymentMethods: { type: Array },
|
|
329
|
-
isLoading: { type: Boolean },
|
|
330
|
-
configuration: { type: Object }
|
|
331
|
-
},
|
|
332
|
-
emits: ["load-more"],
|
|
333
|
-
setup(__props) {
|
|
334
|
-
const { dispatchAction } = useActionDispatchProvider();
|
|
335
|
-
return (_ctx, _cache) => {
|
|
336
|
-
var _a, _b, _c, _d;
|
|
337
|
-
return __props.isLoading ? (openBlock(), createBlock(_sfc_main$4, {
|
|
338
|
-
key: 0,
|
|
339
|
-
variant: "section",
|
|
340
|
-
class: "min-h-[100px]",
|
|
341
|
-
"data-testid": "subscriptions-list-skeleton"
|
|
342
|
-
})) : __props.customer ? (openBlock(), createBlock(_sfc_main$1, {
|
|
343
|
-
key: 1,
|
|
344
|
-
customer: __props.customer,
|
|
345
|
-
subscriptions: __props.subscriptions,
|
|
346
|
-
"payment-methods": __props.paymentMethods,
|
|
347
|
-
"is-loading": __props.isLoading,
|
|
348
|
-
"show-view-all-button": (_a = __props.configuration) == null ? void 0 : _a.showViewAllButton,
|
|
349
|
-
"show-view-details-button": (_b = __props.configuration) == null ? void 0 : _b.showViewDetailsButton,
|
|
350
|
-
"show-cancel-button": (_c = __props.configuration) == null ? void 0 : _c.showCancelButton,
|
|
351
|
-
"show-renew-button": (_d = __props.configuration) == null ? void 0 : _d.showRenewButton,
|
|
352
|
-
onViewSubscriptionDetails: _cache[0] || (_cache[0] = ($event) => unref(dispatchAction)({
|
|
353
|
-
action: "view-subscription-details",
|
|
354
|
-
data: { subscriptionId: $event.subscriptionId }
|
|
355
|
-
})),
|
|
356
|
-
onViewAllSubscriptions: _cache[1] || (_cache[1] = ($event) => unref(dispatchAction)({ action: "view-all-subscriptions" })),
|
|
357
|
-
onCancelSubscription: _cache[2] || (_cache[2] = ($event) => unref(dispatchAction)({
|
|
358
|
-
action: "cancel-subscription",
|
|
359
|
-
data: { subscriptionId: $event.subscriptionId }
|
|
360
|
-
})),
|
|
361
|
-
onRenewSubscription: _cache[3] || (_cache[3] = ($event) => unref(dispatchAction)({
|
|
362
|
-
action: "renew-subscription",
|
|
363
|
-
data: { subscriptionId: $event.subscriptionId }
|
|
364
|
-
})),
|
|
365
|
-
onLoadMore: _cache[4] || (_cache[4] = ($event) => _ctx.$emit("load-more"))
|
|
366
|
-
}, null, 8, ["customer", "subscriptions", "payment-methods", "is-loading", "show-view-all-button", "show-view-details-button", "show-cancel-button", "show-renew-button"])) : createCommentVNode("", true);
|
|
367
|
-
};
|
|
368
|
-
}
|
|
369
|
-
});
|
|
370
|
-
export {
|
|
371
|
-
_sfc_main as _,
|
|
372
|
-
useSubscriptionsList as u
|
|
373
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./useIncrementalLoading-D60Vttil.js"),t=require("./subscriptions-CnxvsBXd.js"),o=require("vue"),i=require("./component-XHQYFLA_.js"),n=require("./Skeleton.vue_vue_type_script_setup_true_lang-C_BwMlBE.js"),s=require("./useActionDispatchProvider-Cru69mAl.js");const r={class:"flex flex-col gap-4 md:flex-row"},c={class:"grow"},a={class:"mt-4 flex items-center gap-6"},u={key:1,class:"flex gap-1"},l={class:"flex flex-col items-center gap-2 md:flex-row"},p=o.defineComponent({__name:"SubscriptionsListItem",props:{subscription:{type:Object},paymentMethod:{type:Object},customer:{type:Object},showViewSubscriptionDetailsButton:{type:Boolean,default:!0},showCancelSubscriptionButton:{type:Boolean,default:!0},showRenewSubscriptionButton:{type:Boolean,default:!0}},emits:["view-subscription-details","cancel-subscription","renew-subscription"],setup(e){const t=e,{$t:n}=i.useIntl(),{formatDate:s}=i.useIntl(),p=o.computed(()=>{var e;const o=t.subscription.pricing_plan_schedule_infos;if(0===o.length)return;const i=o[o.length-1];return null==(e=null==i?void 0:i.pricing_plan_version)?void 0:e.pricing_plan}),d=o.computed(()=>{var e;return t.subscription.name||(null==(e=p.value)?void 0:e.name)||n({defaultMessage:"Subscription",description:"The fallback name for when no subscription name can be determined",id:"customer_overview.subscriptions_block.fallback_subscription_name"})}),b=o.computed(()=>{var e;return null==(e=p.value)?void 0:e.description}),m=o.computed(()=>{const e=t.subscription.inactive_periods;return!e||0===e.length}),w=o.computed(()=>{const e=t.subscription.inactive_periods;return Array.isArray(e)&&e.length>0}),h=o.computed(()=>m.value&&t.showCancelSubscriptionButton),f=o.computed(()=>w.value&&t.showRenewSubscriptionButton),_=o.computed(()=>t.showViewSubscriptionDetailsButton);return(t,p)=>(o.openBlock(),o.createBlock(o.unref(i._sfc_main$1g),null,{default:o.withCtx(()=>[o.createElementVNode("div",r,[o.createElementVNode("div",c,[o.createVNode(o.unref(i._sfc_main$2),{tag:"h3",variant:"heading-2"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(d.value),1)]),_:1}),b.value?(o.openBlock(),o.createBlock(o.unref(i._sfc_main$2),{key:0,variant:"body-sm",tag:"span",shade:"lighter"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(b.value),1)]),_:1})):o.createCommentVNode("",!0),o.createElementVNode("div",a,[e.paymentMethod?(o.openBlock(),o.createBlock(o.unref(i._sfc_main),{key:0,variant:"condensed","payment-method":e.paymentMethod},null,8,["payment-method"])):o.createCommentVNode("",!0),e.subscription.next_invoice?(o.openBlock(),o.createElementBlock("div",u,[o.createVNode(o.unref(i._sfc_main$2),{tag:"span",variant:"body-xs",shade:"light",weight:"semibold"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(n)({defaultMessage:"Next billing date",description:"The label for the next billing date",id:"customer.subscriptions_block.next_billing_date"})),1)]),_:1}),o.createVNode(o.unref(i._sfc_main$2),{tag:"span",variant:"body-xs",shade:"light"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(s)({date:e.subscription.next_invoice.invoice_date,format:"date",offsetType:"offsetted",timezone:e.customer.timezone})),1)]),_:1})])):o.createCommentVNode("",!0)])]),o.createElementVNode("div",l,[_.value?(o.openBlock(),o.createBlock(o.unref(i._sfc_main$2H),{key:0,color:"primary",class:"w-full md:w-auto",type:"button",onClick:p[0]||(p[0]=o=>t.$emit("view-subscription-details",{subscriptionId:e.subscription.id}))},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(n)({defaultMessage:"Subscription details",description:"The label for the subscription details button in the subscriptions block",id:"customer.subscriptions_block.show_details_button_label"})),1)]),_:1})):o.createCommentVNode("",!0),h.value?(o.openBlock(),o.createBlock(o.unref(i._sfc_main$2H),{key:1,variant:"outline",color:"gray",class:"w-full md:w-auto",type:"button",onClick:p[1]||(p[1]=o=>t.$emit("cancel-subscription",{subscriptionId:e.subscription.id}))},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(n)({defaultMessage:"Cancel subscription",description:"The label for the cancel subscription button in the subscriptions block",id:"customer.subscriptions_block.cancel_button_label"})),1)]),_:1})):f.value?(o.openBlock(),o.createBlock(o.unref(i._sfc_main$2H),{key:2,variant:"outline",color:"gray",class:"w-full md:w-auto",type:"button",onClick:p[2]||(p[2]=o=>t.$emit("renew-subscription",{subscriptionId:e.subscription.id}))},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(n)({defaultMessage:"Renew subscription",description:"The label for the renew subscription button in the subscriptions block",id:"customer.subscriptions_block.renew_button_label"})),1)]),_:1})):o.createCommentVNode("",!0)])])]),_:1}))}}),d={key:1,class:"grid grid-cols-1 gap-4"},b=o.defineComponent({__name:"SubscriptionsList",props:{customer:{type:Object},subscriptions:{type:Array},paymentMethods:{default:()=>[],type:Array},isLoading:{type:Boolean},showViewAllButton:{type:Boolean,default:!0},showViewDetailsButton:{type:Boolean,default:!0},showCancelButton:{type:Boolean,default:!0},showRenewButton:{type:Boolean,default:!0}},emits:["view-subscription-details","view-all-subscriptions","cancel-subscription","renew-subscription","load-more"],setup(e){const t=e,{$t:n}=i.useIntl(),s=o.computed(()=>t.subscriptions.length>0),r=e=>{if(e)return t.paymentMethods.find(({id:t})=>t===e)},c=o.computed(()=>t.showViewAllButton);return(t,a)=>(o.openBlock(),o.createBlock(o.unref(i._sfc_main$1g),{"no-spacing":"","no-border":"",title:o.unref(n)({defaultMessage:"{count, plural, one {My subscription} other {My subscriptions}}",description:"Title for the subscriptions block on the customer overview page",id:"customer_overview.subscriptions_block.title"},{count:String(e.subscriptions.length)})},o.createSlots({default:o.withCtx(()=>[s.value?(o.openBlock(),o.createElementBlock("div",d,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.subscriptions,i=>(o.openBlock(),o.createBlock(p,{key:i.id,subscription:i,"payment-method":r(i.payment_method_id),customer:e.customer,"show-view-subscription-details-button":e.showViewDetailsButton,"show-cancel-subscription-button":e.showCancelButton,"show-renew-subscription-button":e.showRenewButton,"show-view-all-button":e.showViewAllButton,"show-cancel-button":e.showCancelButton,"show-renew-button":e.showRenewButton,onViewSubscriptionDetails:a[1]||(a[1]=e=>t.$emit("view-subscription-details",e)),onCancelSubscription:a[2]||(a[2]=e=>t.$emit("cancel-subscription",e)),onRenewSubscription:a[3]||(a[3]=e=>t.$emit("renew-subscription",e))},null,8,["subscription","payment-method","customer","show-view-subscription-details-button","show-cancel-subscription-button","show-renew-subscription-button","show-view-all-button","show-cancel-button","show-renew-button"]))),128))])):(o.openBlock(),o.createBlock(o.unref(i._sfc_main$1g),{key:0},{default:o.withCtx(()=>[o.createVNode(o.unref(i._sfc_main$2),{tag:"h3",variant:"heading-3"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(n)({defaultMessage:"No subscriptions",description:"Title for the my subscriptions block on the customer overview page",id:"customer_overview.subscriptions_block.no_active_subscription_title"})),1)]),_:1}),o.createVNode(o.unref(i._sfc_main$2),{variant:"body-xs",shade:"lighter"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(n)({defaultMessage:"There’s no active subscription to display.",description:"Text that is being displayed when there is no active subscription in the subscriptions block",id:"customer_overview.subscriptions_block.no_active_subscription_content"})),1)]),_:1})]),_:1}))]),_:2},[c.value?{name:"right",fn:o.withCtx(()=>[o.createVNode(o.unref(i._sfc_main$2H),{size:"sm",variant:"ghost",color:"gray","icon-suffix":"arrow_right_alt",type:"button",onClick:a[0]||(a[0]=e=>t.$emit("view-all-subscriptions"))},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(n)({defaultMessage:"View all",description:"The text for the view all subscriptions button",id:"customer_overview.subscriptions_block.view_all_button_label"})),1)]),_:1})]),key:"0"}:void 0]),1032,["title"]))}}),m=o.defineComponent({__name:"SubscriptionsList",props:{customer:{type:null},subscriptions:{type:Array},paymentMethods:{type:Array},isLoading:{type:Boolean},configuration:{type:Object}},emits:["load-more"],setup(e){const{dispatchAction:t}=s.useActionDispatchProvider();return(i,s)=>{var r,c,a,u;return e.isLoading?(o.openBlock(),o.createBlock(n._sfc_main,{key:0,variant:"section",class:"min-h-[100px]","data-testid":"subscriptions-list-skeleton"})):e.customer?(o.openBlock(),o.createBlock(b,{key:1,customer:e.customer,subscriptions:e.subscriptions,"payment-methods":e.paymentMethods,"is-loading":e.isLoading,"show-view-all-button":null==(r=e.configuration)?void 0:r.showViewAllButton,"show-view-details-button":null==(c=e.configuration)?void 0:c.showViewDetailsButton,"show-cancel-button":null==(a=e.configuration)?void 0:a.showCancelButton,"show-renew-button":null==(u=e.configuration)?void 0:u.showRenewButton,onViewSubscriptionDetails:s[0]||(s[0]=e=>o.unref(t)({action:"view-subscription-details",data:{subscriptionId:e.subscriptionId}})),onViewAllSubscriptions:s[1]||(s[1]=e=>o.unref(t)({action:"view-all-subscriptions"})),onCancelSubscription:s[2]||(s[2]=e=>o.unref(t)({action:"cancel-subscription",data:{subscriptionId:e.subscriptionId}})),onRenewSubscription:s[3]||(s[3]=e=>o.unref(t)({action:"renew-subscription",data:{subscriptionId:e.subscriptionId}})),onLoadMore:s[4]||(s[4]=e=>i.$emit("load-more"))},null,8,["customer","subscriptions","payment-methods","is-loading","show-view-all-button","show-view-details-button","show-cancel-button","show-renew-button"])):o.createCommentVNode("",!0)}}});exports._sfc_main=m,exports.useSubscriptionsList=function({customerId:o,batchSize:i=15}){const n=t.createSubscriptionsService();return e.useIncrementalLoading({service:async e=>n.getActiveSubscriptions({customerId:o,pagination:{page:e,pageSize:i}})})};
|