@solvimon/solvimon-web 0.1.0-alpha.3 → 0.1.0-alpha.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +501 -52
- package/dist/AddPaymentMethodModal-Bs_aOOCX.mjs +97 -0
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DF4PIR-A.mjs +89 -0
- package/dist/Alert.vue.es-xhsk_7Gn.mjs +158 -0
- package/dist/Amount.vue.es-DPqHB8Xd.mjs +22 -0
- package/dist/ApiStatus-CSFKl_ra.mjs +9 -0
- package/dist/AuthProvider.handle-CUO6Qj-5.mjs +46 -0
- package/dist/Avatar.vue.es-DrbtUiLO.mjs +81 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-C3JYNZuR.mjs +64 -0
- package/dist/BillingInformationForm.lib-ad8B2Y1O.mjs +32 -0
- package/dist/BillingInformationForm.vue_vue_type_script_setup_true_lang-BUdcXy0H.mjs +340 -0
- package/dist/BillingInformationModal-crgTNGf4.mjs +85 -0
- package/dist/Button.vue.es-BHbanjR0.mjs +368 -0
- package/dist/ChargeOnDemandModal-DYiFtw1n.mjs +965 -0
- package/dist/Chip.vue.es-Dc6-PjEn.mjs +128 -0
- package/dist/Comparators.vue.es-DQBI3f7m.mjs +103 -0
- package/dist/ContentWithAsideLayout-C2kFcft1.mjs +32 -0
- package/dist/ContextMenu.vue.es-CvX6O2IM.mjs +572 -0
- package/dist/CustomerBillingInformation.vue.es-DQWt9osz.mjs +153 -0
- package/dist/CustomerPaymentMethods.lib-B_753rau.mjs +4 -0
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-hNVtamwL.mjs +217 -0
- package/dist/CustomerShippingAddresses-C0c-4D2W.mjs +282 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C50vGUvw.mjs +2828 -0
- package/dist/Divider.vue.es-DnP_HqLz.mjs +22 -0
- package/dist/DividerText.vue.es-ChN6fnrH.mjs +56 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DCUml1W4.mjs +55 -0
- package/dist/ErrorNotification.vue.es-CWIVt5q9.mjs +31 -0
- package/dist/Expand.vue.es-BleuAfDz.mjs +32 -0
- package/dist/FormMessage.vue.es-CQ64C8dt.mjs +39 -0
- package/dist/IconButton.vue.es-BXzwMvVk.mjs +56 -0
- package/dist/IconTitle.vue.es-GyanM-JQ.mjs +103 -0
- package/dist/Input.vue.es-CxiwRZYs.mjs +250 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Ca0qflBR.mjs +93 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-Dw73a5Yt.mjs +56 -0
- package/dist/InvoicePreview.vue.es-BvnikfEH.mjs +286 -0
- package/dist/InvoicePricingClauseChip.vue.es-DxcyTRGr.mjs +124 -0
- package/dist/Label.vue.es-3ACRco55.mjs +113 -0
- package/dist/LoadFailedNotice.vue_vue_type_script_setup_true_lang-1qpRh-0S.mjs +20 -0
- package/dist/Modal.vue.es-CDjfZDDx.mjs +404 -0
- package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-CnZwxJ5b.mjs +789 -0
- package/dist/PaymentCompletedCard.vue_vue_type_script_setup_true_lang-PICpXmC3.mjs +48 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-DpZtYBfM.mjs +250 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-Co5qBQa8.mjs +51 -0
- package/dist/PaymentHistoryBlock-HUazLER6.mjs +4 -0
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DdmUoiet.mjs +93 -0
- package/dist/PaymentIntegrationForm-ZnIjTyda.mjs +4 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DU5wu66t.mjs +161 -0
- package/dist/PaymentIntegrationFormAdyen-sbw3AoKS.mjs +946 -0
- package/dist/PaymentIntegrationFormStripe-4JmKEwbS.mjs +767 -0
- package/dist/PaymentMethod.vue.es-DAabE41t.mjs +645 -0
- package/dist/PaymentMethodForm-MmCUSJLE.mjs +4 -0
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-DyiXLYRj.mjs +165 -0
- package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-Bv34aiZ6.mjs +169 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-DZ2Z-RMv.mjs +176 -0
- package/dist/PaymentMethodsModal-CjpNw4kX.mjs +192 -0
- package/dist/PlanCustomizationEditor-BDWm_z2w.mjs +864 -0
- package/dist/PortalLinkUnverified-B7YYhv97.mjs +52 -0
- package/dist/PortalNotAvailable-DIyeKrAp.mjs +25 -0
- package/dist/PricingGroupRangeInput.vue.es-C6J8C7JS.mjs +578 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CiQ-C9Hh.mjs +178 -0
- package/dist/RadioGroupExtended.vue.es-hDmUAKIA.mjs +176 -0
- package/dist/Section.vue.es-CwKTCeZ1.mjs +72 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Gn1aE60E.mjs +60 -0
- package/dist/ShippingAddressForm.vue_vue_type_script_setup_true_lang-y7yOKwR3.mjs +144 -0
- package/dist/ShippingAddressesModal-CNXxkxnJ.mjs +283 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs +32 -0
- package/dist/StepInput.vue.es-GkrOtOVa.mjs +213 -0
- package/dist/SubscriptionCancellationModal-C_xFPx1I.mjs +4 -0
- package/dist/SubscriptionCancellationModal.vue_vue_type_script_setup_true_lang-DdTC33Qh.mjs +240 -0
- package/dist/SubscriptionCancellationSuccess.vue_vue_type_script_setup_true_lang-CQ-ZOzVI.mjs +64 -0
- package/dist/SubscriptionDetails.entry.ce-DuP8TtKu.mjs +764 -0
- package/dist/SubscriptionSchedules-DosBeXD7.mjs +4 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-5tyDFxEh.mjs +5183 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-C26HShPu.mjs +90 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-BUDuQk2e.mjs +344 -0
- package/dist/Toggle.vue.es-S2g8WGY_.mjs +99 -0
- package/dist/TooltipParagraph.vue.es-4HaXi8RP.mjs +132 -0
- package/dist/TranslationOverride.vue_vue_type_script_setup_true_lang-C5Y6Kg-_.mjs +31 -0
- package/dist/TrialChip.vue.es-CUfJ4SK3.mjs +47 -0
- package/dist/accel.svg.es-C0hqmmEY.mjs +4 -0
- package/dist/ach.svg.es-DduMiYM2.mjs +4 -0
- package/dist/addonQuantity-BvoYTajN.mjs +128 -0
- package/dist/addressFormats.data-dzBx49dw.mjs +278 -0
- package/dist/adyen-Bugab0JE.mjs +4 -0
- package/dist/adyen-D4em6EgU.mjs +99 -0
- package/dist/adyenSdk-DUTO7xkT.mjs +63 -0
- package/dist/amazon-pay.svg.es-BACIX6C7.mjs +4 -0
- package/dist/amex.svg.es-DjTEMRVg.mjs +4 -0
- package/dist/amount-CondixVt.mjs +36 -0
- package/dist/api.es-QaC926Xu.mjs +43 -0
- package/dist/apple-pay.svg.es-B3tkA54p.mjs +4 -0
- package/dist/bacs.svg.es-CZIjZIE8.mjs +4 -0
- package/dist/bancontact.svg.es-B26-JwdE.mjs +4 -0
- package/dist/carnet.svg.es-BtO3AmNu.mjs +4 -0
- package/dist/cartes-bancaires.svg.es-DEPpdLvi.mjs +4 -0
- package/dist/cashapp.svg.es-DOGwRjXp.mjs +4 -0
- package/dist/cn.es-B8acFrov.mjs +2936 -0
- package/dist/comparators.es-C8rHpb70.mjs +157 -0
- package/dist/components/BillingInformation/BillingInformation.ce.d.ts +1 -3
- package/dist/components/BillingInformation/BillingInformation.mjs +78 -0
- package/dist/components/BillingInformationForm/BillingInformationForm.ce.d.ts +1 -3
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +93 -0
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.ce.d.ts +1 -3
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +78 -0
- package/dist/components/Invoice/Invoice.ce.d.ts +1 -3
- package/dist/components/Invoice/Invoice.mjs +2930 -0
- package/dist/components/InvoiceDetails/InvoiceDetails.ce.d.ts +1 -3
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +101 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.ce.d.ts +1 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +63 -0
- package/dist/components/InvoicesList/InvoicesList.ce.d.ts +1 -3
- package/dist/components/InvoicesList/InvoicesList.mjs +79 -0
- package/dist/components/PaymentHistory/PaymentHistory.ce.d.ts +1 -3
- package/dist/components/PaymentHistory/PaymentHistory.mjs +109 -0
- package/dist/components/PaymentMethodForm/PaymentMethodForm.ce.d.ts +1 -3
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +90 -0
- package/dist/components/ShippingAddressForm/ShippingAddressForm.ce.d.ts +1 -0
- package/dist/components/ShippingAddressForm/ShippingAddressForm.mjs +212 -0
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.ce.d.ts +1 -3
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +80 -0
- package/dist/components/SubscriptionsList/SubscriptionsList.ce.d.ts +1 -3
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +99 -0
- package/dist/components/WalletBalances/WalletBalances.ce.d.ts +1 -3
- package/dist/components/WalletBalances/WalletBalances.mjs +105 -0
- package/dist/configuration-BytDBAWs.mjs +14 -0
- package/dist/core/action-request.types.d.ts +1 -58
- package/dist/core/configuration.d.ts +1 -3
- package/dist/core/events.types.d.ts +1 -0
- package/dist/core/index.d.ts +1 -10
- package/dist/core/index.mjs +168 -0
- package/dist/core/registry.ce.d.ts +1 -2
- package/dist/core/registry.d.ts +1 -6
- package/dist/core/types.d.ts +1 -111
- package/dist/customElements-d7Bhfqi_.mjs +5099 -0
- package/dist/customer-CNCSN_G5.mjs +31 -0
- package/dist/customer.es-DQKl6wFt.mjs +24 -0
- package/dist/dana.svg.es-Cy8Q6DZi.mjs +4 -0
- package/dist/dankort.svg.es-B7VqJdWq.mjs +4 -0
- package/dist/de-DE-D-sV3avS.mjs +309 -0
- package/dist/de-DE-wZp39RC-.mjs +498 -0
- package/dist/diners.svg.es-BP9enCow.mjs +4 -0
- package/dist/discover.svg.es-DEsEJBYh.mjs +4 -0
- package/dist/eftpos.svg.es--js6-yfk.mjs +4 -0
- package/dist/elo.svg.es-CMZPAxcn.mjs +4 -0
- package/dist/eps.svg.es-CzIPBSb9.mjs +4 -0
- package/dist/floating-ui.vue.es-BvAf8-si.mjs +1003 -0
- package/dist/formControl-BZQLHnOO.mjs +749 -0
- package/dist/formatting.es-RclXHhKo.mjs +61 -0
- package/dist/fr-FR-BYHycSxz.mjs +310 -0
- package/dist/fr-FR-BrNXJ7gR.mjs +498 -0
- package/dist/gcash.svg.es-BpDtvraq.mjs +4 -0
- package/dist/getComposedString.es-C__uhJpd.mjs +10 -0
- package/dist/getCountryNameByCode.es-OGxn_zT0.mjs +257 -0
- package/dist/girocard.svg.es-Riswtk8Z.mjs +4 -0
- package/dist/go-pay.svg.es-CiIyLELZ.mjs +4 -0
- package/dist/google-pay.svg.es-Dgj_N6nz.mjs +4 -0
- package/dist/hipercard.svg.es-B80bu8Vd.mjs +4 -0
- package/dist/icon-sprite.svg.es-BWBB8SGw.mjs +4 -0
- package/dist/ideal.svg.es-DaqTS2Ax.mjs +4 -0
- package/dist/index-CTwLxoOS.mjs +7250 -0
- package/dist/index.d.ts +1 -15
- package/dist/index.es-BEZ2mumY.mjs +633 -0
- package/dist/index.es-C7J3WGGo.mjs +345 -0
- package/dist/index.mjs +46 -0
- package/dist/invoiceState-BJVHaKs7.mjs +14 -0
- package/dist/invoices-CXvL8KQx.mjs +143 -0
- package/dist/it-IT-Bd1qsMVU.mjs +498 -0
- package/dist/it-IT-zpPyT9PH.mjs +309 -0
- package/dist/jcb.svg.es-Couw-2p9.mjs +4 -0
- package/dist/kakao-pay.svg.es-CIFT8fob.mjs +4 -0
- package/dist/klarna.svg.es-WKt8_NZa.mjs +4 -0
- package/dist/maestro.svg.es-DbdxwYUE.mjs +4 -0
- package/dist/mastercard.svg.es-B7T3PS12.mjs +4 -0
- package/dist/momo.svg.es-X5XB25fM.mjs +4 -0
- package/dist/nl-NL-BOr4MR7L.mjs +324 -0
- package/dist/nl-NL-C6Y6fqaW.mjs +498 -0
- package/dist/nyce.svg.es-DcPsO_sh.mjs +4 -0
- package/dist/object.es-8aLDIncs.mjs +12 -0
- package/dist/open-banking.svg.es-C4mPhwsn.mjs +4 -0
- package/dist/paymentFailure-QZdZHBhf.mjs +47 -0
- package/dist/paymentIntegrationFormLoaders-wi1vMgf_.mjs +31 -0
- package/dist/paymentMethods-CG1fcG2v.mjs +78 -0
- package/dist/paymentOutcome-D59QkGfm.mjs +22 -0
- package/dist/paymentRedirect-DaS8Kccc.mjs +66 -0
- package/dist/payments-Dy81gmkC.mjs +71 -0
- package/dist/paypal.svg.es-BC2AP20j.mjs +4 -0
- package/dist/preloadPaymentIntegrationForms-C_9p7Jbi.mjs +9 -0
- package/dist/pricing-CBJT8C6L.mjs +42 -0
- package/dist/pricing.es-QYWrKMUJ.mjs +30 -0
- package/dist/pricingItem.es-AYq_hYeD.mjs +55 -0
- package/dist/pricingItemConfigs.es-D3pX_9AJ.mjs +78 -0
- package/dist/pricingPlanScheduleOverrides-GON_34ep.mjs +291 -0
- package/dist/pulse.svg.es-Rmoz-9Ej.mjs +4 -0
- package/dist/randomUuid-BE_IQ-aq.mjs +10 -0
- package/dist/sanitization.es-C6dbuxUJ.mjs +4 -0
- package/dist/screens/Checkout/Checkout.ce.d.ts +1 -3
- package/dist/screens/Checkout/Checkout.mjs +1100 -0
- package/dist/screens/CheckoutSession/CheckoutSession.ce.d.ts +1 -0
- package/dist/screens/CheckoutSession/CheckoutSession.mjs +1316 -0
- package/dist/screens/CustomerOverview/CustomerOverview.ce.d.ts +1 -3
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +277 -0
- package/dist/screens/PayInvoice/PayInvoice.ce.d.ts +1 -0
- package/dist/screens/PayInvoice/PayInvoice.mjs +873 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.ce.d.ts +1 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +219 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.ce.d.ts +1 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +5 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.ce.d.ts +1 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +1135 -0
- package/dist/sepa.svg.es-DIO_K345.mjs +4 -0
- package/dist/sessionReference-B8Dbmx5t.mjs +38 -0
- package/dist/slots.es-BA4MyEAa.mjs +5 -0
- package/dist/sorting.es-kM0f1VX0.mjs +77 -0
- package/dist/star.svg.es-BUZNUnYq.mjs +4 -0
- package/dist/subscription-DQ5mRp_e.mjs +212 -0
- package/dist/subscriptions-Bm1eu9wc.mjs +99 -0
- package/dist/taxId.es-Zu2Ff1gL.mjs +510 -0
- package/dist/timePeriod.es-R9U0wLlB.mjs +13 -0
- package/dist/trustly.svg.es-AM7Ha-3Y.mjs +4 -0
- package/dist/twint.svg.es-DZogAQG6.mjs +4 -0
- package/dist/typeGuards.es-B4XMtlkM.mjs +8 -0
- package/dist/types/components/InvoiceTable/InvoiceTable.types.d.ts +21 -0
- package/dist/types/components/checkout/CheckoutTitle.types.d.ts +20 -0
- package/dist/types/components/checkout/EmptyStatePlaceholder.types.d.ts +4 -0
- package/dist/types/components/checkout/PromotionCodeSection.types.d.ts +10 -0
- package/dist/types/components/customer/BillingInformationForm/BillingInformationForm.types.d.ts +21 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +15 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +58 -0
- package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +16 -0
- package/dist/types/components/customer/ShippingAddressForm/ShippingAddressForm.types.d.ts +9 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressCard.types.d.ts +11 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressList.types.d.ts +9 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressesModal.types.d.ts +26 -0
- package/dist/types/components/invoices/InvoiceOrderSummary/InvoiceOrderSummary.types.d.ts +5 -0
- package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +17 -0
- package/dist/types/components/payments/AddPaymentMethodPane/AddPaymentMethodPane.types.d.ts +19 -0
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethod.types.d.ts +78 -0
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +12 -0
- package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +26 -0
- package/dist/types/components/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +25 -0
- package/dist/types/components/payments/PayButton/PayButton.types.d.ts +12 -0
- package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +9 -0
- package/dist/types/components/payments/PaymentErrorCard/PaymentErrorCard.types.d.ts +11 -0
- package/dist/types/components/payments/PaymentFeedbackCard/PaymentFeedbackCard.types.d.ts +4 -0
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +148 -0
- package/dist/types/components/payments/PaymentIntegrationFormAdyen/PaymentIntegrationFormAdyen.types.d.ts +6 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripe.types.d.ts +7 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +68 -0
- package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +49 -0
- package/dist/types/components/payments/PaymentMethodsList/PaymentMethodsList.types.d.ts +10 -0
- package/dist/types/components/payments/PaymentMethodsModal/PaymentMethodsModal.types.d.ts +22 -0
- package/dist/types/components/payments/PaymentMethodsUnavailableCard/PaymentMethodsUnavailableCard.types.d.ts +8 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.d.ts +4 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.types.d.ts +3 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.vue.d.ts +13 -0
- package/dist/types/components/providers/ActionDispatchProvider/composables/useActionDispatchProvider.d.ts +3 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.handle.d.ts +17 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +32 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +20 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +22 -0
- package/dist/types/components/providers/AuthProvider/composables/useAuth.d.ts +1 -0
- package/dist/types/components/providers/AuthProvider/index.d.ts +3 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.lib.d.ts +3 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.types.d.ts +9 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.vue.d.ts +14 -0
- package/dist/types/components/providers/ConfigProvider/composables/useConfig.d.ts +3 -0
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.lib.d.ts +11 -0
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.types.d.ts +3 -0
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.vue.d.ts +14 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.lib.d.ts +7 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +12 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +12 -0
- package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +13 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib.d.ts +5 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.types.d.ts +4 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.vue.d.ts +14 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/composables/useExperimentalFeature.d.ts +1 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +28 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.types.d.ts +3 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.vue.d.ts +14 -0
- package/dist/types/components/providers/HostElementProvider/composables/useHostElementProvider.d.ts +1 -0
- package/dist/types/components/providers/HostElementProvider/composables/useHostEvent.d.ts +12 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.lib.d.ts +34 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +82 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +20 -0
- package/dist/types/components/providers/LoggerProvider/composables/useLogger.d.ts +6 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +10 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +11 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +21 -0
- package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +4 -0
- package/dist/types/components/providers/Provider/Provider.types.d.ts +22 -0
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +15 -0
- package/dist/types/components/providers/RequiredPropertiesGuard/RequiredPropertiesGuard.vue.d.ts +17 -0
- package/dist/types/components/providers/TeleportProvider/TeleportProvider.vue.d.ts +13 -0
- package/dist/types/components/providers/TranslationProvider/TranslationOverride.vue.d.ts +14 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.lib.d.ts +14 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.types.d.ts +22 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.vue.d.ts +14 -0
- package/dist/types/components/providers/index.d.ts +9 -0
- package/dist/types/components/shared/ScreenTitle/ScreenTitle.types.d.ts +4 -0
- package/dist/types/components/shared/Section/Section.types.d.ts +21 -0
- package/dist/types/components/shared/Skeleton.types.d.ts +5 -0
- package/dist/types/components/shared/SlidingPanes/SlidingPanes.types.d.ts +12 -0
- package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +20 -0
- package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsList.types.d.ts +15 -0
- package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsListItem.types.d.ts +9 -0
- package/dist/types/components/subscriptions/OnDemandItemsCard/OnDemandItemsCard.types.d.ts +7 -0
- package/dist/types/components/subscriptions/OrderSummary.types.d.ts +70 -0
- package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +29 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +18 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupContent.types.d.ts +4 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupEditorBase.types.d.ts +8 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditor.types.d.ts +10 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditorItem.types.d.ts +8 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTable.types.d.ts +5 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTableRow.types.d.ts +7 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditor.types.d.ts +10 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditorItem.types.d.ts +8 -0
- package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +16 -0
- package/dist/types/components/subscriptions/SubscriptionCancellationSuccess/SubscriptionCancellationSuccess.types.d.ts +4 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +23 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSuccess.types.d.ts +12 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSummary.types.d.ts +10 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionPlanChangeSummary.types.d.ts +4 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionPlanSelector.types.d.ts +7 -0
- package/dist/types/components/subscriptions/SubscriptionSummary.types.d.ts +20 -0
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +20 -0
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +13 -0
- package/dist/types/components/wallets/AutoTopUpCancellationModal/AutoTopUpCancellationModal.types.d.ts +9 -0
- package/dist/types/components/wallets/AutoTopUpConfig/AutoTopUpConfig.types.d.ts +53 -0
- package/dist/types/components/wallets/AutoTopUpModal/AutoTopUpModal.types.d.ts +16 -0
- package/dist/types/components/wallets/ConvertedAmountInput/ConvertedAmountInput.types.d.ts +32 -0
- package/dist/types/components/wallets/TopUpModal/TopUpInvoicePreview.types.d.ts +11 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModal.types.d.ts +31 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModalForm.types.d.ts +25 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModalSuccess.types.d.ts +5 -0
- package/dist/types/composables/useInvoicePreview.types.d.ts +10 -0
- package/dist/types/config/config.beta.d.ts +2 -0
- package/dist/types/config/config.dev.d.ts +2 -0
- package/dist/types/config/config.live.d.ts +2 -0
- package/dist/types/config/internalEnvironments.d.ts +11 -0
- package/dist/types/config/internalEnvironments.published.d.ts +7 -0
- package/dist/types/config/lib.d.ts +6 -0
- package/dist/types/config/types.d.ts +13 -0
- package/dist/types/index.d.ts +27 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.entry.ce.d.ts +1 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.entry.types.d.ts +4 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +14 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.ce.d.ts +1 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.types.d.ts +3 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.types.d.ts +10 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce.d.ts +1 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.types.d.ts +6 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +25 -0
- package/dist/types/public/components/CustomerShippingAddresses/CustomerShippingAddresses.types.d.ts +12 -0
- package/dist/types/public/components/CustomerWalletBalances/CustomerWalletBalances.types.d.ts +22 -0
- package/dist/types/public/components/Invoice/Invoice.entry.ce.d.ts +1 -0
- package/dist/types/public/components/Invoice/Invoice.entry.types.d.ts +5 -0
- package/dist/types/public/components/Invoice/Invoice.types.d.ts +25 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.types.d.ts +6 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.types.d.ts +7 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.types.d.ts +5 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +15 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.entry.types.d.ts +5 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +38 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.ce.d.ts +1 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.types.d.ts +6 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.types.d.ts +8 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.ce.d.ts +1 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.types.d.ts +5 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +50 -0
- package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.entry.ce.d.ts +1 -0
- package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.entry.types.d.ts +6 -0
- package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.types.d.ts +5 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce.d.ts +1 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.types.d.ts +6 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.types.d.ts +7 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.ce.d.ts +1 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.types.d.ts +5 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +28 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.ce.d.ts +1 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.types.d.ts +3 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.types.d.ts +3 -0
- package/dist/types/public/core/action-request.types.d.ts +54 -0
- package/dist/types/public/core/configuration.d.ts +2 -0
- package/dist/types/public/core/events.types.d.ts +99 -0
- package/dist/types/public/core/index.d.ts +16 -0
- package/dist/types/public/core/registry.ce.d.ts +8 -0
- package/dist/types/public/core/registry.d.ts +3 -0
- package/dist/types/public/core/types.d.ts +139 -0
- package/dist/types/public/screens/Checkout/Checkout.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +5 -0
- package/dist/types/public/screens/Checkout/Checkout.source.types.d.ts +151 -0
- package/dist/types/public/screens/Checkout/Checkout.types.d.ts +23 -0
- package/dist/types/public/screens/CheckoutSession/CheckoutSession.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/CheckoutSession/CheckoutSession.entry.types.d.ts +3 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.types.d.ts +5 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.types.d.ts +8 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.entry.types.d.ts +4 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +21 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.types.d.ts +3 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.types.d.ts +7 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.configuration.types.d.ts +10 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.types.d.ts +6 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +22 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.types.d.ts +5 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.types.d.ts +14 -0
- package/dist/types/public/screens/types.d.ts +4 -0
- package/dist/types/public/types/index.d.ts +23 -0
- package/dist/types/services/invoices.types.d.ts +26 -0
- package/dist/types/services/paymentMethods.types.d.ts +36 -0
- package/dist/types/services/requests.types.d.ts +41 -0
- package/dist/types/translations/supported.d.ts +1 -0
- package/dist/types/types/EntryBaseProps.d.ts +14 -0
- package/dist/types/types/branding.d.ts +15 -0
- package/dist/types/types/checkoutSession.d.ts +189 -0
- package/dist/types/types/errors.d.ts +15 -0
- package/dist/types/types/portalAuthentication.d.ts +2 -0
- package/dist/types/types/portalToken.d.ts +9 -0
- package/dist/types/types/pricingPlanGroup.d.ts +25 -0
- package/dist/types/types/shippingAddress.d.ts +9 -0
- package/dist/types/vendor/@adyen/adyen-web/index.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +118 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Address.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/AgentContext.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Alerts.d.ts +72 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Amount.d.ts +4 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Api.d.ts +50 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiError.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiKey.d.ts +21 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiStatus.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +82 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +43 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Attachment.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Band.d.ts +30 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BaseResourceStatus.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingEntity.d.ts +45 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingPeriod.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingTime.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ChargeOnDemandPricingItems.d.ts +47 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Commitment.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CommitmentItem.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Comparator.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +15 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfiguredMeterValue.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Country.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreateMeterData.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreatePricingPlanVersion.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreditType.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Currency.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CustomFields.d.ts +51 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CustomerContact.d.ts +12 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Customers.d.ts +75 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Discount.d.ts +12 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/DiscountItem.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Document.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/DueDateConfiguration.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Embeddable.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Environment.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTrace.d.ts +23 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceExtended.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLink.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLinkExtended.d.ts +15 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Features.d.ts +25 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/IdentityProvider.d.ts +40 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/IndexingSettings.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +375 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +379 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +32 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Markup.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MarkupItem.d.ts +11 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Meter.d.ts +32 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterConditions.d.ts +26 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterData.d.ts +25 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterDataExpanded.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterProperty.d.ts +34 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyValue.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyVariable.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValue.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueCalculation.d.ts +20 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueValue.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ModelType.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Name.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/NotificationPreferences.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/OAuth.d.ts +28 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +124 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +127 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAction.d.ts +74 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethod.d.ts +173 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethodOptions.d.ts +45 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentSchedules.d.ts +142 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +132 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +134 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Pricing.d.ts +41 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategory.d.ts +18 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategoryExtended.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingExtended.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingGroup.d.ts +29 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItem.d.ts +40 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItemConfig.d.ts +135 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanGroups.d.ts +31 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSchedule.d.ts +111 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleInfo.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleWithPlanData.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +94 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscriptionGroup.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersion.d.ts +71 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersionExtended.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlans.d.ts +47 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Product.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ProductCategory.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ProductItem.d.ts +62 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PromotionCodes.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +46 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +128 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +81 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ReprocessLog.d.ts +31 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Resource.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ResourceStatus.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Role.d.ts +19 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/SeatAssignment.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ShippingAddress.d.ts +54 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/SignatureRequest.d.ts +27 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxCategory.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxIdentifier.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxSummary.d.ts +21 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TimePeriod.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Timestamp.d.ts +4 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Token.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/User.d.ts +106 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ValueType.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Wallet.d.ts +50 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WalletAutoTopUpConfigs.d.ts +28 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WalletType.d.ts +54 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Webhook.d.ts +48 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WebhookEvent.d.ts +18 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Workflows.d.ts +222 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/forms.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/utils.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/BrandProvider/BrandProvider.types.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/IntlProvider/IntlProvider.types.d.ts +66 -0
- package/dist/types/vendor/@solvimon/solvimon-ui/index.d.ts +2 -0
- package/dist/unionpay.svg.es-me7q-nTI.mjs +4 -0
- package/dist/useActionDispatchProvider-BWna0S6N.mjs +9 -0
- package/dist/useAddressFormats-Dw7IEdxg.mjs +1997 -0
- package/dist/useCheckoutForm-BaV2j_ob.mjs +3310 -0
- package/dist/useCustomer-RUtEzDOY.mjs +20 -0
- package/dist/useDefaultPaymentMethod-Dliq6_Yw.mjs +39 -0
- package/dist/useExperimentalFeature-DAKAF_a2.mjs +6 -0
- package/dist/useHostEvent-pjoWJ7ZH.mjs +12 -0
- package/dist/useIncrementalLoading-B3gp58X-.mjs +60 -0
- package/dist/useInvoiceData-Dya4mmvf.mjs +21 -0
- package/dist/useInvoicesList-Dp3c_cb3.mjs +674 -0
- package/dist/useLazyFloating.es-CycqRyeb.mjs +68 -0
- package/dist/useLoadInitialData-CwySdYZM.mjs +15 -0
- package/dist/usePaymentFormHold-CYZ4BdOw.mjs +19 -0
- package/dist/usePaymentMethodAvailability-B7NV0ZtX.mjs +117 -0
- package/dist/usePaymentMethodOptions-DDRjVvDJ.mjs +67 -0
- package/dist/usePaymentMethods-DBGyQA_I.mjs +21 -0
- package/dist/usePayments-ChGtK_As.mjs +323 -0
- package/dist/usePortal--Uzbpbgr.mjs +14 -0
- package/dist/useService-DayNZhPh.mjs +56 -0
- package/dist/useShippingAddresses-TXVeGFPm.mjs +122 -0
- package/dist/useSubscription-lIGMFLG1.mjs +35 -0
- package/dist/useSubscriptionActions-BSlJVB4p.mjs +44 -0
- package/dist/useViewport-psZejz_H.mjs +19 -0
- package/dist/useWatchDebounced-DkXgKe0E.mjs +20 -0
- package/dist/visa.svg.es-B0T5Su99.mjs +4 -0
- package/dist/vpay.svg.es-Zt3rrmCy.mjs +4 -0
- package/dist/wallets.es-eH2C2ygn.mjs +102 -0
- package/dist/zip.svg.es-QC6dxzC7.mjs +4 -0
- package/package.json +115 -77
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BD3CrJzj.js +0 -1
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-DQAp1xwu.mjs +0 -56
- package/dist/ContentWithAsideLayout-CRsFr9TH.mjs +0 -42
- package/dist/ContentWithAsideLayout-DczcgSrt.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BE3I7Oe1.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D0ie9Krt.mjs +0 -85
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DVDOsMnT.mjs +0 -90
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-sNdlKgdU.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DJEZEEwZ.mjs +0 -6568
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-Sn1Jq19s.js +0 -1
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-Bifo4jTH.js +0 -1
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-DWp42_G4.mjs +0 -75
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-C-taYlG4.mjs +0 -63
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-C_BwMlBE.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-Bp5RvQVS.mjs +0 -373
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-yyhwzYSM.js +0 -1
- package/dist/_Uint8Array-DHE03FZr.mjs +0 -507
- package/dist/_Uint8Array-DxISR7XF.js +0 -1
- package/dist/auto-DzZuCneB.mjs +0 -14387
- package/dist/auto-PpnAChnH.js +0 -6
- package/dist/cloneDeep-DranHQkY.js +0 -1
- package/dist/cloneDeep-sm9cY-u2.mjs +0 -212
- package/dist/component-DEo_ndpK.mjs +0 -58668
- package/dist/component-XHQYFLA_.js +0 -1
- package/dist/components/BillingInformation/BillingInformation.cjs.js +0 -1
- package/dist/components/BillingInformation/BillingInformation.es.js +0 -98
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +0 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.es.js +0 -584
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +0 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.es.js +0 -134
- package/dist/components/Invoice/Invoice.cjs.js +0 -1
- package/dist/components/Invoice/Invoice.es.js +0 -582
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +0 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.es.js +0 -129
- package/dist/components/InvoicesList/InvoicesList.cjs.js +0 -1
- package/dist/components/InvoicesList/InvoicesList.es.js +0 -104
- package/dist/components/PaymentHistory/PaymentHistory.cjs.js +0 -1
- package/dist/components/PaymentHistory/PaymentHistory.es.js +0 -133
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +0 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.es.js +0 -238
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +0 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.es.js +0 -152
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +0 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.es.js +0 -134
- package/dist/components/WalletBalances/WalletBalances.cjs.js +0 -1
- package/dist/components/WalletBalances/WalletBalances.es.js +0 -120
- package/dist/core/index.cjs.js +0 -1
- package/dist/core/index.es.js +0 -6
- package/dist/index-2jo9BSPM.js +0 -1
- package/dist/index-BFZ0dPh9.mjs +0 -179
- package/dist/index-CWSXne1Q.js +0 -1
- package/dist/index-CzL1ZcGi.mjs +0 -85
- package/dist/index-D3v7hAtc.mjs +0 -253
- package/dist/index-DRdBmZ2-.js +0 -1
- package/dist/index.cjs.js +0 -1
- package/dist/index.es.js +0 -45
- package/dist/invoices-BW1notiX.js +0 -1
- package/dist/invoices-M5oYVch6.mjs +0 -84
- package/dist/paymentMethods-BX80t2zk.js +0 -1
- package/dist/paymentMethods-CqKUfc3w.mjs +0 -65
- package/dist/payments-BHv4hCeJ.js +0 -1
- package/dist/payments-CosaPZwo.mjs +0 -47
- package/dist/registry-BwKEYOf7.js +0 -1
- package/dist/registry-Cag1Jj7P.mjs +0 -143
- package/dist/screens/Checkout/Checkout.cjs.js +0 -1
- package/dist/screens/Checkout/Checkout.es.js +0 -5142
- package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +0 -1
- package/dist/screens/CustomerOverview/CustomerOverview.es.js +0 -136
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.ce.d.ts +0 -3
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.cjs.js +0 -1
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.es.js +0 -1012
- package/dist/solvimon-web.css +0 -1
- package/dist/sprite-i5T7eZnk-C55G-dBo.js +0 -1
- package/dist/sprite-i5T7eZnk-i5T7eZnk.mjs +0 -4
- package/dist/subscriptions-Bs4DIE8f.mjs +0 -74
- package/dist/subscriptions-CnxvsBXd.js +0 -1
- package/dist/useActionDispatchProvider-CgRcOqv3.mjs +0 -12
- package/dist/useActionDispatchProvider-Cru69mAl.js +0 -1
- package/dist/useCustomer-B0NK96dA.js +0 -1
- package/dist/useCustomer-DlcjY3fP.mjs +0 -45
- package/dist/useCustomerPaymentMethodOptions-BzEquyUV.mjs +0 -169
- package/dist/useCustomerPaymentMethodOptions-C-8BLzqb.js +0 -1
- package/dist/useIncrementalLoading-C7ToTmZK.mjs +0 -71
- package/dist/useIncrementalLoading-D60Vttil.js +0 -1
- package/dist/useInvoiceData-CcueV3We.mjs +0 -51
- package/dist/useInvoiceData-DstXfI7t.js +0 -1
- package/dist/useInvoicesList-CXng3aUm.mjs +0 -294
- package/dist/useInvoicesList-DmzjgMlW.js +0 -1
- package/dist/useLoadInitialData-BRg7IWqW.js +0 -1
- package/dist/useLoadInitialData-Dm48tlSO.mjs +0 -13
- package/dist/usePaymentMethods-DCGVRXA4.js +0 -1
- package/dist/usePaymentMethods-Db-1R6rI.mjs +0 -16
- package/dist/useService-B4qv5N2D.mjs +0 -281
- package/dist/useService-D-CUtlp3.js +0 -1
- package/dist/useWalletBalanceItems-BZyiAhcV.js +0 -1
- package/dist/useWalletBalanceItems-CHkLaccm.mjs +0 -105
|
@@ -0,0 +1,864 @@
|
|
|
1
|
+
import { defineComponent as E, computed as k, openBlock as d, createElementBlock as P, createVNode as A, unref as i, withCtx as y, Fragment as N, createTextVNode as M, toDisplayString as $, renderList as B, createBlock as _, useModel as S, ref as R, createElementVNode as T, normalizeClass as j, createCommentVNode as w, mergeModels as z, mergeProps as le, toRef as D, watch as se, isRef as X, renderSlot as oe } from "vue";
|
|
2
|
+
import { _ as F } from "./Section.vue.es-CwKTCeZ1.mjs";
|
|
3
|
+
import { a as q, d as O } from "./customElements-d7Bhfqi_.mjs";
|
|
4
|
+
import { u as G } from "./pricingPlanScheduleOverrides-GON_34ep.mjs";
|
|
5
|
+
import { f as Q } from "./formatting.es-RclXHhKo.mjs";
|
|
6
|
+
import { _ as ue } from "./Expand.vue.es-BleuAfDz.mjs";
|
|
7
|
+
import { a as de, _ as H } from "./Button.vue.es-BHbanjR0.mjs";
|
|
8
|
+
import { _ as Y } from "./StepInput.vue.es-GkrOtOVa.mjs";
|
|
9
|
+
import { d as re, F as ee, e as ce, f as J, s as W, b as me, a as ge } from "./addonQuantity-BvoYTajN.mjs";
|
|
10
|
+
import { _ as pe } from "./Input.vue.es-CxiwRZYs.mjs";
|
|
11
|
+
import { a as K, u as ie, _ as be } from "./PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CiQ-C9Hh.mjs";
|
|
12
|
+
import { _ as fe } from "./Toggle.vue.es-S2g8WGY_.mjs";
|
|
13
|
+
import { b as te } from "./useCheckoutForm-BaV2j_ob.mjs";
|
|
14
|
+
import { g as ae, a as ve } from "./pricing-CBJT8C6L.mjs";
|
|
15
|
+
import { a as L } from "./useService-DayNZhPh.mjs";
|
|
16
|
+
import { j as ye, e as Ve } from "./subscription-DQ5mRp_e.mjs";
|
|
17
|
+
const _e = { class: "grid grid-cols-2 gap-2" }, he = /* @__PURE__ */ E({
|
|
18
|
+
__name: "TieredTableRow",
|
|
19
|
+
props: {
|
|
20
|
+
band: { type: Object },
|
|
21
|
+
previousBand: { type: Object },
|
|
22
|
+
isFirst: { type: Boolean },
|
|
23
|
+
period: { type: Object }
|
|
24
|
+
},
|
|
25
|
+
setup(e) {
|
|
26
|
+
const n = e, { $t: t } = q(), { formatTimePeriod: r } = G(), c = k(() => {
|
|
27
|
+
var b;
|
|
28
|
+
if (n.isFirst)
|
|
29
|
+
return "0";
|
|
30
|
+
if ((b = n.previousBand) != null && b.tier_top_bound && "number" in n.previousBand.tier_top_bound)
|
|
31
|
+
return n.previousBand.tier_top_bound.number;
|
|
32
|
+
}), f = k(() => {
|
|
33
|
+
if (!(!n.band.tier_top_bound || !("number" in n.band.tier_top_bound)))
|
|
34
|
+
return n.band.tier_top_bound.number;
|
|
35
|
+
});
|
|
36
|
+
return (b, m) => (d(), P("div", _e, [
|
|
37
|
+
A(i(O), {
|
|
38
|
+
variant: "body-xs",
|
|
39
|
+
color: "subtle",
|
|
40
|
+
tag: "div"
|
|
41
|
+
}, {
|
|
42
|
+
default: y(() => [
|
|
43
|
+
f.value ? (d(), P(N, { key: 0 }, [
|
|
44
|
+
M($(i(t)(
|
|
45
|
+
{
|
|
46
|
+
defaultMessage: "{lower_bound} - {upper_bound} seats",
|
|
47
|
+
id: "seats.tiered_range_label",
|
|
48
|
+
description: "The label showing the seat count range for a tiered pricing tier"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
lower_bound: c.value ?? "0",
|
|
52
|
+
upper_bound: f.value
|
|
53
|
+
}
|
|
54
|
+
)), 1)
|
|
55
|
+
], 64)) : (d(), P(N, { key: 1 }, [
|
|
56
|
+
M($(i(t)(
|
|
57
|
+
{
|
|
58
|
+
defaultMessage: "> {lower_bound} seats",
|
|
59
|
+
id: "seats.tiered_unbounded_range_label",
|
|
60
|
+
description: "The label showing the unbounded seat count range (greater than) for a tiered pricing tier"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
lower_bound: c.value ?? "0"
|
|
64
|
+
}
|
|
65
|
+
)), 1)
|
|
66
|
+
], 64))
|
|
67
|
+
]),
|
|
68
|
+
_: 1
|
|
69
|
+
}),
|
|
70
|
+
A(i(O), {
|
|
71
|
+
variant: "body-xs",
|
|
72
|
+
color: "subtle",
|
|
73
|
+
tag: "div",
|
|
74
|
+
class: "text-right"
|
|
75
|
+
}, {
|
|
76
|
+
default: y(() => [
|
|
77
|
+
M($(e.band.amount && i(t)(
|
|
78
|
+
{
|
|
79
|
+
defaultMessage: "{amount} per seat/{period}",
|
|
80
|
+
id: "seats.tiered_price_per_seat_period",
|
|
81
|
+
description: "The price per seat and billing period label for a tiered pricing tier"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
amount: i(Q)(e.band.amount),
|
|
85
|
+
period: e.period ? i(r)(e.period, {
|
|
86
|
+
short: !0,
|
|
87
|
+
hideValueForExactPeriods: !0
|
|
88
|
+
}) : ""
|
|
89
|
+
}
|
|
90
|
+
)), 1)
|
|
91
|
+
]),
|
|
92
|
+
_: 1
|
|
93
|
+
})
|
|
94
|
+
]));
|
|
95
|
+
}
|
|
96
|
+
}), xe = { class: "grid grid-cols-1 gap-0.5 pt-1.5" }, ke = /* @__PURE__ */ E({
|
|
97
|
+
__name: "TieredTable",
|
|
98
|
+
props: {
|
|
99
|
+
bands: { type: Array },
|
|
100
|
+
period: { type: Object }
|
|
101
|
+
},
|
|
102
|
+
setup(e) {
|
|
103
|
+
return (n, t) => (d(), P("div", xe, [
|
|
104
|
+
(d(!0), P(N, null, B(e.bands, (r, c) => (d(), _(he, {
|
|
105
|
+
key: c,
|
|
106
|
+
band: r,
|
|
107
|
+
"is-first": c === 0,
|
|
108
|
+
"previous-band": c > 0 ? e.bands[c - 1] : void 0,
|
|
109
|
+
period: e.period
|
|
110
|
+
}, null, 8, ["band", "is-first", "previous-band", "period"]))), 128))
|
|
111
|
+
]));
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
function ne({
|
|
115
|
+
pricings: e,
|
|
116
|
+
pricingItemConfigId: n
|
|
117
|
+
}) {
|
|
118
|
+
return k(() => {
|
|
119
|
+
var c, f, b, m, l, u, s, p;
|
|
120
|
+
const { config: t, productItem: r } = re({
|
|
121
|
+
pricings: e,
|
|
122
|
+
pricingItemConfigId: n
|
|
123
|
+
});
|
|
124
|
+
return {
|
|
125
|
+
billing: {
|
|
126
|
+
period: (f = (c = t == null ? void 0 : t.billing_period_configs) == null ? void 0 : c[0]) == null ? void 0 : f.billing_period,
|
|
127
|
+
billedInAdvance: t == null ? void 0 : t.billing_in_advance
|
|
128
|
+
},
|
|
129
|
+
product: {
|
|
130
|
+
name: r == null ? void 0 : r.name,
|
|
131
|
+
description: r == null ? void 0 : r.description
|
|
132
|
+
},
|
|
133
|
+
pricing: {
|
|
134
|
+
...((b = t == null ? void 0 : t.details) == null ? void 0 : b.pricing_type) === "FLAT" && {
|
|
135
|
+
amount: (u = (l = (m = t.details) == null ? void 0 : m.bands) == null ? void 0 : l[0]) == null ? void 0 : u.amount
|
|
136
|
+
},
|
|
137
|
+
...((s = t == null ? void 0 : t.details) == null ? void 0 : s.pricing_type) === "TIERED" && {
|
|
138
|
+
tiered: { bands: (p = t.details) == null ? void 0 : p.bands }
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
const Pe = { class: "flex flex-row-reverse gap-4 md:flex-row" }, Ae = { class: "w-24 shrink-0 justify-start md:w-32" }, Me = ["tabindex"], $e = { key: 0 }, Ue = { key: 0 }, Te = /* @__PURE__ */ E({
|
|
145
|
+
__name: "SeatsEditorItem",
|
|
146
|
+
props: /* @__PURE__ */ z({
|
|
147
|
+
modelValue: { type: Object },
|
|
148
|
+
defaultValue: { type: Object },
|
|
149
|
+
pricings: { type: Array },
|
|
150
|
+
maxValue: { type: Object },
|
|
151
|
+
disabled: { type: Boolean }
|
|
152
|
+
}, {
|
|
153
|
+
modelValue: { required: !0 },
|
|
154
|
+
modelModifiers: {}
|
|
155
|
+
}),
|
|
156
|
+
emits: ["update:modelValue"],
|
|
157
|
+
setup(e) {
|
|
158
|
+
const n = e, t = S(e, "modelValue"), { $t: r } = q(), { formatTimePeriod: c } = G(), f = R(!1), b = R(0), m = k({
|
|
159
|
+
get: () => +(t.value.number || ee),
|
|
160
|
+
set(s) {
|
|
161
|
+
var U;
|
|
162
|
+
const p = (U = n.maxValue) != null && U.number ? +n.maxValue.number : void 0;
|
|
163
|
+
p !== void 0 && s > p && b.value++;
|
|
164
|
+
const h = p !== void 0 ? Math.min(s, p) : s;
|
|
165
|
+
t.value = {
|
|
166
|
+
...t.value,
|
|
167
|
+
number: h !== void 0 ? h.toString() : void 0
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
}), l = ne({
|
|
171
|
+
pricings: n.pricings,
|
|
172
|
+
pricingItemConfigId: t.value.pricing_item_config_id
|
|
173
|
+
}), u = k(() => {
|
|
174
|
+
var s, p;
|
|
175
|
+
return !!((p = (s = l.value.pricing) == null ? void 0 : s.tiered) != null && p.bands);
|
|
176
|
+
});
|
|
177
|
+
return (s, p) => {
|
|
178
|
+
var h, U, C, V;
|
|
179
|
+
return d(), P("div", null, [
|
|
180
|
+
T("div", Pe, [
|
|
181
|
+
T("div", Ae, [
|
|
182
|
+
(d(), _(i(Y), {
|
|
183
|
+
key: b.value,
|
|
184
|
+
modelValue: m.value,
|
|
185
|
+
"onUpdate:modelValue": p[0] || (p[0] = (g) => m.value = g),
|
|
186
|
+
size: "sm",
|
|
187
|
+
min: (h = e.defaultValue) != null && h.number ? +e.defaultValue.number : void 0,
|
|
188
|
+
max: (U = e.maxValue) != null && U.number ? +e.maxValue.number : void 0,
|
|
189
|
+
disabled: e.disabled
|
|
190
|
+
}, null, 8, ["modelValue", "min", "max", "disabled"]))
|
|
191
|
+
]),
|
|
192
|
+
T("div", {
|
|
193
|
+
class: j(["flex grow flex-col", { "hover:cursor-pointer": u.value }]),
|
|
194
|
+
tabindex: u.value ? 0 : void 0,
|
|
195
|
+
onClick: p[1] || (p[1] = (g) => u.value ? f.value = !f.value : void 0)
|
|
196
|
+
}, [
|
|
197
|
+
A(i(O), {
|
|
198
|
+
tag: "span",
|
|
199
|
+
variant: "body-sm",
|
|
200
|
+
weight: "semibold"
|
|
201
|
+
}, {
|
|
202
|
+
default: y(() => [
|
|
203
|
+
M($(i(l).product.name || i(r)({
|
|
204
|
+
defaultMessage: "Seats",
|
|
205
|
+
id: "seats.label",
|
|
206
|
+
description: "The label for the seats input field"
|
|
207
|
+
})), 1)
|
|
208
|
+
]),
|
|
209
|
+
_: 1
|
|
210
|
+
}),
|
|
211
|
+
i(l).pricing.amount ? (d(), _(i(O), {
|
|
212
|
+
key: 0,
|
|
213
|
+
tag: "span",
|
|
214
|
+
variant: "body-xs",
|
|
215
|
+
color: "subtle"
|
|
216
|
+
}, {
|
|
217
|
+
default: y(() => [
|
|
218
|
+
M($(i(r)(
|
|
219
|
+
{
|
|
220
|
+
defaultMessage: "{amount} per seat/{period}",
|
|
221
|
+
id: "seats.price_per_seat_period",
|
|
222
|
+
description: "The price per seat and billing period label for seat-based pricing"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
amount: i(Q)(i(l).pricing.amount),
|
|
226
|
+
period: i(l).billing.period ? i(c)(i(l).billing.period, {
|
|
227
|
+
short: !0,
|
|
228
|
+
hideValueForExactPeriods: !0
|
|
229
|
+
}) : ""
|
|
230
|
+
}
|
|
231
|
+
)), 1)
|
|
232
|
+
]),
|
|
233
|
+
_: 1
|
|
234
|
+
})) : i(l).pricing.tiered ? (d(), _(i(O), {
|
|
235
|
+
key: 1,
|
|
236
|
+
tag: "span",
|
|
237
|
+
variant: "body-xs",
|
|
238
|
+
color: "subtle"
|
|
239
|
+
}, {
|
|
240
|
+
default: y(() => [
|
|
241
|
+
M($(i(r)({
|
|
242
|
+
defaultMessage: "Tiered pricing",
|
|
243
|
+
id: "seats.tiered_pricing_label",
|
|
244
|
+
description: "The label indicating tiered pricing structure for seats"
|
|
245
|
+
})) + " ", 1),
|
|
246
|
+
A(i(de), {
|
|
247
|
+
icon: "keyboard_arrow_down",
|
|
248
|
+
size: "xs",
|
|
249
|
+
class: j(["absolute text-gray-400 transition ease-in-out", { "rotate-0": !f.value, "rotate-180": f.value }])
|
|
250
|
+
}, null, 8, ["class"])
|
|
251
|
+
]),
|
|
252
|
+
_: 1
|
|
253
|
+
})) : w("", !0)
|
|
254
|
+
], 10, Me)
|
|
255
|
+
]),
|
|
256
|
+
(V = (C = i(l).pricing) == null ? void 0 : C.tiered) != null && V.bands ? (d(), P("div", $e, [
|
|
257
|
+
A(i(ue), { "is-open": f.value }, {
|
|
258
|
+
default: y(() => [
|
|
259
|
+
f.value ? (d(), P("div", Ue, [
|
|
260
|
+
A(ke, {
|
|
261
|
+
bands: i(l).pricing.tiered.bands,
|
|
262
|
+
period: i(l).billing.period
|
|
263
|
+
}, null, 8, ["bands", "period"])
|
|
264
|
+
])) : w("", !0)
|
|
265
|
+
]),
|
|
266
|
+
_: 1
|
|
267
|
+
}, 8, ["is-open"])
|
|
268
|
+
])) : w("", !0)
|
|
269
|
+
]);
|
|
270
|
+
};
|
|
271
|
+
}
|
|
272
|
+
}), Ce = {
|
|
273
|
+
key: 0,
|
|
274
|
+
class: "grid grid-cols-1 gap-1"
|
|
275
|
+
}, Se = /* @__PURE__ */ E({
|
|
276
|
+
__name: "SeatsEditor",
|
|
277
|
+
props: /* @__PURE__ */ z({
|
|
278
|
+
modelValue: { type: Array },
|
|
279
|
+
initialSeatsValues: { type: Array },
|
|
280
|
+
pricings: { type: Array },
|
|
281
|
+
maxValues: { type: Array },
|
|
282
|
+
editableConfigIds: { type: Array }
|
|
283
|
+
}, {
|
|
284
|
+
modelValue: { required: !0 },
|
|
285
|
+
modelModifiers: {}
|
|
286
|
+
}),
|
|
287
|
+
emits: ["update:modelValue"],
|
|
288
|
+
setup(e) {
|
|
289
|
+
const n = e, t = S(e, "modelValue"), r = (m) => k({
|
|
290
|
+
get: () => t.value[m],
|
|
291
|
+
set: (l) => {
|
|
292
|
+
const u = t.value.slice();
|
|
293
|
+
u[m] = l, t.value = u;
|
|
294
|
+
}
|
|
295
|
+
}), c = (m) => {
|
|
296
|
+
var l;
|
|
297
|
+
return (l = n.initialSeatsValues) == null ? void 0 : l.find(
|
|
298
|
+
(u) => u.pricing_item_config_id === m.pricing_item_config_id
|
|
299
|
+
);
|
|
300
|
+
}, f = (m) => {
|
|
301
|
+
var l;
|
|
302
|
+
return (l = n.maxValues) == null ? void 0 : l.find((u) => u.pricing_item_config_id === m.pricing_item_config_id);
|
|
303
|
+
}, b = (m) => !!n.editableConfigIds && !n.editableConfigIds.includes(m.pricing_item_config_id);
|
|
304
|
+
return (m, l) => e.modelValue.length > 0 ? (d(), P("div", Ce, [
|
|
305
|
+
(d(!0), P(N, null, B(e.modelValue, (u, s) => (d(), _(i(F), { key: s }, {
|
|
306
|
+
default: y(() => [
|
|
307
|
+
u.pricing_item_config_id ? (d(), _(Te, {
|
|
308
|
+
key: u.pricing_item_config_id,
|
|
309
|
+
modelValue: r(s).value,
|
|
310
|
+
"onUpdate:modelValue": (p) => r(s).value = p,
|
|
311
|
+
"default-value": c(u),
|
|
312
|
+
"max-value": f(u),
|
|
313
|
+
disabled: b(u),
|
|
314
|
+
pricings: e.pricings
|
|
315
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "default-value", "max-value", "disabled", "pricings"])) : w("", !0)
|
|
316
|
+
]),
|
|
317
|
+
_: 2
|
|
318
|
+
}, 1024))), 128))
|
|
319
|
+
])) : w("", !0);
|
|
320
|
+
}
|
|
321
|
+
}), we = { class: "flex flex-row-reverse gap-4 md:flex-row" }, Ie = { class: "w-24 shrink-0 justify-start md:w-32" }, Ne = { class: "flex grow flex-col" }, Ee = /* @__PURE__ */ E({
|
|
322
|
+
__name: "UnitsEditorItem",
|
|
323
|
+
props: /* @__PURE__ */ z({
|
|
324
|
+
modelValue: { type: Object },
|
|
325
|
+
defaultValue: { type: Object },
|
|
326
|
+
pricings: { type: Array },
|
|
327
|
+
maxValue: { type: Object },
|
|
328
|
+
disabled: { type: Boolean }
|
|
329
|
+
}, {
|
|
330
|
+
modelValue: { required: !0 },
|
|
331
|
+
modelModifiers: {}
|
|
332
|
+
}),
|
|
333
|
+
emits: ["update:modelValue"],
|
|
334
|
+
setup(e) {
|
|
335
|
+
var V, g;
|
|
336
|
+
const n = e, t = S(e, "modelValue"), { $t: r } = q(), c = (o) => {
|
|
337
|
+
var I;
|
|
338
|
+
const a = Number(o);
|
|
339
|
+
if (o === "" || o === null || !Number.isFinite(a)) return;
|
|
340
|
+
const x = (I = n.maxValue) != null && I.number ? +n.maxValue.number : void 0;
|
|
341
|
+
x !== void 0 && a > x && b.value++;
|
|
342
|
+
const v = x !== void 0 ? Math.min(a, x) : a;
|
|
343
|
+
t.value = { ...t.value, number: v.toString() };
|
|
344
|
+
}, f = k({
|
|
345
|
+
get: () => +(t.value.number || ee),
|
|
346
|
+
set: c
|
|
347
|
+
}), b = R(0), m = (V = n.defaultValue) != null && V.number ? +n.defaultValue.number : void 0;
|
|
348
|
+
let l = !1;
|
|
349
|
+
const u = (o) => {
|
|
350
|
+
l = m !== void 0 && o !== "" && Number(o) < m, l || c(o);
|
|
351
|
+
}, s = () => {
|
|
352
|
+
l && (l = !1, b.value++, c(m));
|
|
353
|
+
}, p = !!n.maxValue && [t.value.number, (g = n.defaultValue) == null ? void 0 : g.number, n.maxValue.number].some(
|
|
354
|
+
(o) => o !== void 0 && !Number.isInteger(Number(o))
|
|
355
|
+
), h = ne({
|
|
356
|
+
pricings: n.pricings,
|
|
357
|
+
pricingItemConfigId: t.value.pricing_item_config_id
|
|
358
|
+
}), U = k(
|
|
359
|
+
() => h.value.product.name || r({
|
|
360
|
+
defaultMessage: "Units",
|
|
361
|
+
id: "units.label",
|
|
362
|
+
description: "The label for the one-off flat item units input field"
|
|
363
|
+
})
|
|
364
|
+
), C = k(() => {
|
|
365
|
+
var o, a;
|
|
366
|
+
return {
|
|
367
|
+
step: "any",
|
|
368
|
+
inputmode: "decimal",
|
|
369
|
+
min: (o = n.defaultValue) == null ? void 0 : o.number,
|
|
370
|
+
max: (a = n.maxValue) == null ? void 0 : a.number
|
|
371
|
+
};
|
|
372
|
+
});
|
|
373
|
+
return (o, a) => {
|
|
374
|
+
var x, v;
|
|
375
|
+
return d(), P("div", we, [
|
|
376
|
+
T("div", Ie, [
|
|
377
|
+
i(p) ? (d(), _(i(pe), le({
|
|
378
|
+
key: `input-${b.value}`
|
|
379
|
+
}, C.value, {
|
|
380
|
+
"model-value": f.value,
|
|
381
|
+
type: "number",
|
|
382
|
+
size: "sm",
|
|
383
|
+
label: U.value,
|
|
384
|
+
"label-screen-reader-only": "",
|
|
385
|
+
disabled: e.disabled,
|
|
386
|
+
"onUpdate:modelValue": u,
|
|
387
|
+
onBlur: s
|
|
388
|
+
}), null, 16, ["model-value", "label", "disabled"])) : (d(), _(i(Y), {
|
|
389
|
+
key: b.value,
|
|
390
|
+
modelValue: f.value,
|
|
391
|
+
"onUpdate:modelValue": a[0] || (a[0] = (I) => f.value = I),
|
|
392
|
+
size: "sm",
|
|
393
|
+
min: (x = e.defaultValue) != null && x.number ? +e.defaultValue.number : void 0,
|
|
394
|
+
max: (v = e.maxValue) != null && v.number ? +e.maxValue.number : void 0,
|
|
395
|
+
disabled: e.disabled
|
|
396
|
+
}, null, 8, ["modelValue", "min", "max", "disabled"]))
|
|
397
|
+
]),
|
|
398
|
+
T("div", Ne, [
|
|
399
|
+
A(i(O), {
|
|
400
|
+
tag: "span",
|
|
401
|
+
variant: "body-sm",
|
|
402
|
+
weight: "semibold"
|
|
403
|
+
}, {
|
|
404
|
+
default: y(() => [
|
|
405
|
+
M($(U.value), 1)
|
|
406
|
+
]),
|
|
407
|
+
_: 1
|
|
408
|
+
}),
|
|
409
|
+
i(h).pricing.amount ? (d(), _(i(O), {
|
|
410
|
+
key: 0,
|
|
411
|
+
tag: "span",
|
|
412
|
+
variant: "body-xs",
|
|
413
|
+
color: "subtle"
|
|
414
|
+
}, {
|
|
415
|
+
default: y(() => [
|
|
416
|
+
M($(i(r)(
|
|
417
|
+
{
|
|
418
|
+
defaultMessage: "{amount} per unit, one-time",
|
|
419
|
+
id: "units.price_per_unit_one_time",
|
|
420
|
+
description: "The price per unit label for a one-off flat item, which is charged once rather than every period"
|
|
421
|
+
},
|
|
422
|
+
{ amount: i(Q)(i(h).pricing.amount) }
|
|
423
|
+
)), 1)
|
|
424
|
+
]),
|
|
425
|
+
_: 1
|
|
426
|
+
})) : w("", !0)
|
|
427
|
+
])
|
|
428
|
+
]);
|
|
429
|
+
};
|
|
430
|
+
}
|
|
431
|
+
}), Fe = { class: "grid grid-cols-1 gap-1 p-1" }, Oe = { class: "grid grid-cols-1 gap-1" }, ze = /* @__PURE__ */ E({
|
|
432
|
+
__name: "UnitsEditor",
|
|
433
|
+
props: /* @__PURE__ */ z({
|
|
434
|
+
modelValue: { type: Array },
|
|
435
|
+
initialUnitsValues: { type: Array },
|
|
436
|
+
pricings: { type: Array },
|
|
437
|
+
maxValues: { type: Array },
|
|
438
|
+
editableConfigIds: { type: Array }
|
|
439
|
+
}, {
|
|
440
|
+
modelValue: { required: !0 },
|
|
441
|
+
modelModifiers: {}
|
|
442
|
+
}),
|
|
443
|
+
emits: ["update:modelValue"],
|
|
444
|
+
setup(e) {
|
|
445
|
+
const n = e, { $t: t } = q(), r = S(e, "modelValue"), c = (l) => k({
|
|
446
|
+
get: () => r.value[l],
|
|
447
|
+
set: (u) => {
|
|
448
|
+
const s = r.value.slice();
|
|
449
|
+
s[l] = u, r.value = s;
|
|
450
|
+
}
|
|
451
|
+
}), f = (l) => {
|
|
452
|
+
var u;
|
|
453
|
+
return (u = n.initialUnitsValues) == null ? void 0 : u.find(
|
|
454
|
+
(s) => s.pricing_item_config_id === l.pricing_item_config_id
|
|
455
|
+
);
|
|
456
|
+
}, b = (l) => {
|
|
457
|
+
var u;
|
|
458
|
+
return (u = n.maxValues) == null ? void 0 : u.find((s) => s.pricing_item_config_id === l.pricing_item_config_id);
|
|
459
|
+
}, m = (l) => !!n.editableConfigIds && !n.editableConfigIds.includes(l.pricing_item_config_id);
|
|
460
|
+
return (l, u) => e.modelValue.length > 0 ? (d(), _(i(F), {
|
|
461
|
+
key: 0,
|
|
462
|
+
"no-spacing": "",
|
|
463
|
+
"content-background": "gray"
|
|
464
|
+
}, {
|
|
465
|
+
default: y(() => [
|
|
466
|
+
T("div", Fe, [
|
|
467
|
+
A(K, null, {
|
|
468
|
+
title: y(() => [
|
|
469
|
+
M($(i(t)({
|
|
470
|
+
defaultMessage: "One-time items",
|
|
471
|
+
id: "units_editor.title",
|
|
472
|
+
description: "The heading above the one-off items in the plan customization form"
|
|
473
|
+
})), 1)
|
|
474
|
+
]),
|
|
475
|
+
description: y(() => [
|
|
476
|
+
M($(i(t)({
|
|
477
|
+
defaultMessage: "Charged once",
|
|
478
|
+
id: "units_editor.description",
|
|
479
|
+
description: "The description of the one-off items in the plan customization form"
|
|
480
|
+
})), 1)
|
|
481
|
+
]),
|
|
482
|
+
_: 1
|
|
483
|
+
}),
|
|
484
|
+
T("div", Oe, [
|
|
485
|
+
(d(!0), P(N, null, B(e.modelValue, (s, p) => (d(), _(i(F), {
|
|
486
|
+
key: p,
|
|
487
|
+
"content-background": "none"
|
|
488
|
+
}, {
|
|
489
|
+
default: y(() => [
|
|
490
|
+
s.pricing_item_config_id ? (d(), _(Ee, {
|
|
491
|
+
key: s.pricing_item_config_id,
|
|
492
|
+
modelValue: c(p).value,
|
|
493
|
+
"onUpdate:modelValue": (h) => c(p).value = h,
|
|
494
|
+
"default-value": f(s),
|
|
495
|
+
"max-value": b(s),
|
|
496
|
+
disabled: m(s),
|
|
497
|
+
pricings: e.pricings
|
|
498
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "default-value", "max-value", "disabled", "pricings"])) : w("", !0)
|
|
499
|
+
]),
|
|
500
|
+
_: 2
|
|
501
|
+
}, 1024))), 128))
|
|
502
|
+
])
|
|
503
|
+
])
|
|
504
|
+
]),
|
|
505
|
+
_: 1
|
|
506
|
+
})) : w("", !0);
|
|
507
|
+
}
|
|
508
|
+
}), qe = { class: "p-1" }, Be = { class: "grid grid-cols-1 gap-1 pt-1" }, je = /* @__PURE__ */ E({
|
|
509
|
+
__name: "AddonSingleEditor",
|
|
510
|
+
props: /* @__PURE__ */ z({
|
|
511
|
+
modelValue: { type: Array },
|
|
512
|
+
pricings: { type: Array },
|
|
513
|
+
billingPeriod: { type: Object },
|
|
514
|
+
currency: { type: String },
|
|
515
|
+
groupName: { type: String }
|
|
516
|
+
}, {
|
|
517
|
+
modelValue: { required: !0 },
|
|
518
|
+
modelModifiers: {}
|
|
519
|
+
}),
|
|
520
|
+
emits: ["update:modelValue"],
|
|
521
|
+
setup(e) {
|
|
522
|
+
const n = e, t = S(e, "modelValue"), { $t: r } = q(), { describePricing: c } = ie({
|
|
523
|
+
currency: D(n, "currency"),
|
|
524
|
+
billingPeriod: D(n, "billingPeriod")
|
|
525
|
+
}), f = n.pricings.map((l) => l.id), b = (l) => n.modelValue.includes(l), m = (l) => {
|
|
526
|
+
if (b(l))
|
|
527
|
+
t.value = t.value.filter((u) => u !== l);
|
|
528
|
+
else {
|
|
529
|
+
const u = t.value.filter((s) => !f.includes(s));
|
|
530
|
+
t.value = [...u, l];
|
|
531
|
+
}
|
|
532
|
+
};
|
|
533
|
+
return (l, u) => (d(), _(i(F), { "no-spacing": "" }, {
|
|
534
|
+
default: y(() => [
|
|
535
|
+
T("div", qe, [
|
|
536
|
+
A(K, null, {
|
|
537
|
+
title: y(() => [
|
|
538
|
+
M($(e.groupName), 1)
|
|
539
|
+
]),
|
|
540
|
+
description: y(() => [
|
|
541
|
+
M($(i(r)({
|
|
542
|
+
defaultMessage: "Select up to one product",
|
|
543
|
+
id: "addon_single_editor.description.at_most_one",
|
|
544
|
+
description: "The description of the addon single editor for at most one product"
|
|
545
|
+
})), 1)
|
|
546
|
+
]),
|
|
547
|
+
_: 1
|
|
548
|
+
}),
|
|
549
|
+
T("div", Be, [
|
|
550
|
+
(d(!0), P(N, null, B(e.pricings, (s) => (d(), _(i(F), {
|
|
551
|
+
key: s.id,
|
|
552
|
+
"content-background": "none",
|
|
553
|
+
class: j({ "!bg-white": b(s.id) })
|
|
554
|
+
}, {
|
|
555
|
+
default: y(() => [
|
|
556
|
+
A(te, {
|
|
557
|
+
name: i(ae)(s) ?? "",
|
|
558
|
+
description: i(c)(s)
|
|
559
|
+
}, {
|
|
560
|
+
default: y(() => [
|
|
561
|
+
A(i(fe), {
|
|
562
|
+
"model-value": b(s.id),
|
|
563
|
+
size: "sm",
|
|
564
|
+
"onUpdate:modelValue": (p) => m(s.id)
|
|
565
|
+
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
566
|
+
]),
|
|
567
|
+
_: 2
|
|
568
|
+
}, 1032, ["name", "description"])
|
|
569
|
+
]),
|
|
570
|
+
_: 2
|
|
571
|
+
}, 1032, ["class"]))), 128))
|
|
572
|
+
])
|
|
573
|
+
])
|
|
574
|
+
]),
|
|
575
|
+
_: 1
|
|
576
|
+
}));
|
|
577
|
+
}
|
|
578
|
+
}), De = { class: "grid grid-cols-1 gap-1" }, Le = {
|
|
579
|
+
key: 0,
|
|
580
|
+
class: "w-24 shrink-0 md:w-32"
|
|
581
|
+
}, Z = /* @__PURE__ */ E({
|
|
582
|
+
__name: "AddonMultipleEditor",
|
|
583
|
+
props: /* @__PURE__ */ z({
|
|
584
|
+
modelValue: { type: Array },
|
|
585
|
+
pricings: { type: Array },
|
|
586
|
+
billingPeriod: { type: Object },
|
|
587
|
+
currency: { type: String },
|
|
588
|
+
groupName: { type: String },
|
|
589
|
+
quantityPricingIds: { type: Array }
|
|
590
|
+
}, {
|
|
591
|
+
modelValue: { required: !0 },
|
|
592
|
+
modelModifiers: {},
|
|
593
|
+
seatsValues: { default: () => [] },
|
|
594
|
+
seatsValuesModifiers: {},
|
|
595
|
+
unitsValues: { default: () => [] },
|
|
596
|
+
unitsValuesModifiers: {}
|
|
597
|
+
}),
|
|
598
|
+
emits: ["update:modelValue", "update:seatsValues", "update:unitsValues"],
|
|
599
|
+
setup(e) {
|
|
600
|
+
const n = e, t = S(e, "modelValue"), r = S(e, "seatsValues"), c = S(e, "unitsValues"), { $t: f } = q(), { describePricing: b } = ie({
|
|
601
|
+
currency: D(n, "currency"),
|
|
602
|
+
billingPeriod: D(n, "billingPeriod")
|
|
603
|
+
}), m = (a) => t.value.includes(a), l = () => ({
|
|
604
|
+
enabledPricingIds: t.value,
|
|
605
|
+
seatsValues: r.value,
|
|
606
|
+
unitsValues: c.value
|
|
607
|
+
}), u = k(() => ({ currency: n.currency, billingPeriod: n.billingPeriod })), s = k(
|
|
608
|
+
() => n.pricings.filter((a) => {
|
|
609
|
+
var x;
|
|
610
|
+
return (x = n.quantityPricingIds) == null ? void 0 : x.includes(a.id);
|
|
611
|
+
})
|
|
612
|
+
), p = k(
|
|
613
|
+
() => new Map(
|
|
614
|
+
s.value.map((a) => [
|
|
615
|
+
a.id,
|
|
616
|
+
ce(a, u.value)
|
|
617
|
+
])
|
|
618
|
+
)
|
|
619
|
+
), h = (a) => p.value.get(a.id) ?? 1, U = (a) => J(a, l()) ?? h(a), C = (a) => {
|
|
620
|
+
L(t.value, a.enabledPricingIds) || (t.value = a.enabledPricingIds), L(r.value, a.seatsValues) || (r.value = a.seatsValues), L(c.value, a.unitsValues) || (c.value = a.unitsValues);
|
|
621
|
+
}, V = (a, x) => C(W(a, x, l(), u.value)), g = (a, x) => {
|
|
622
|
+
x >= h(a) && V(a, x);
|
|
623
|
+
};
|
|
624
|
+
se(
|
|
625
|
+
() => s.value.filter(
|
|
626
|
+
(a) => J(a, l()) === void 0
|
|
627
|
+
),
|
|
628
|
+
(a) => {
|
|
629
|
+
a.length && C(
|
|
630
|
+
a.reduce(
|
|
631
|
+
(x, v) => W(v, h(v), x, u.value),
|
|
632
|
+
l()
|
|
633
|
+
)
|
|
634
|
+
);
|
|
635
|
+
},
|
|
636
|
+
{ immediate: !0 }
|
|
637
|
+
);
|
|
638
|
+
const o = (a) => {
|
|
639
|
+
m(a) ? t.value = t.value.filter((x) => x !== a) : t.value = [...t.value, a];
|
|
640
|
+
};
|
|
641
|
+
return (a, x) => (d(), _(i(F), {
|
|
642
|
+
"no-spacing": "",
|
|
643
|
+
"no-border": !e.groupName,
|
|
644
|
+
"content-background": e.groupName ? "gray" : "none"
|
|
645
|
+
}, {
|
|
646
|
+
default: y(() => [
|
|
647
|
+
T("div", {
|
|
648
|
+
class: j(["grid grid-cols-1 gap-1", { "p-1": e.groupName }])
|
|
649
|
+
}, [
|
|
650
|
+
e.groupName ? (d(), _(K, { key: 0 }, {
|
|
651
|
+
title: y(() => [
|
|
652
|
+
M($(e.groupName), 1)
|
|
653
|
+
]),
|
|
654
|
+
description: y(() => [
|
|
655
|
+
M($(i(f)({
|
|
656
|
+
defaultMessage: "Select any number of products",
|
|
657
|
+
id: "addon_multiple_editor.description",
|
|
658
|
+
description: "The description of the addon multiple editor"
|
|
659
|
+
})), 1)
|
|
660
|
+
]),
|
|
661
|
+
_: 1
|
|
662
|
+
})) : w("", !0),
|
|
663
|
+
T("div", De, [
|
|
664
|
+
(d(!0), P(N, null, B(e.pricings, (v) => (d(), _(i(F), {
|
|
665
|
+
key: v.id,
|
|
666
|
+
"content-background": e.groupName || m(v.id) ? "none" : "gray",
|
|
667
|
+
class: j({ "!bg-white": m(v.id) })
|
|
668
|
+
}, {
|
|
669
|
+
default: y(() => [
|
|
670
|
+
A(te, {
|
|
671
|
+
name: i(ae)(v) ?? "",
|
|
672
|
+
description: i(b)(v)
|
|
673
|
+
}, {
|
|
674
|
+
default: y(() => [
|
|
675
|
+
p.value.has(v.id) && m(v.id) ? (d(), P("div", Le, [
|
|
676
|
+
A(i(Y), {
|
|
677
|
+
"model-value": U(v),
|
|
678
|
+
size: "sm",
|
|
679
|
+
min: h(v),
|
|
680
|
+
removable: "",
|
|
681
|
+
"onUpdate:modelValue": (I) => g(v, I),
|
|
682
|
+
onRemove: (I) => V(v, 0)
|
|
683
|
+
}, null, 8, ["model-value", "min", "onUpdate:modelValue", "onRemove"])
|
|
684
|
+
])) : m(v.id) ? (d(), _(i(H), {
|
|
685
|
+
key: 1,
|
|
686
|
+
intent: "secondary",
|
|
687
|
+
square: "",
|
|
688
|
+
size: "sm",
|
|
689
|
+
"icon-prefix": "remove_shopping_cart",
|
|
690
|
+
onClick: (I) => o(v.id)
|
|
691
|
+
}, null, 8, ["onClick"])) : (d(), _(i(H), {
|
|
692
|
+
key: 2,
|
|
693
|
+
intent: "primary",
|
|
694
|
+
"icon-prefix": "add",
|
|
695
|
+
size: "sm",
|
|
696
|
+
onClick: (I) => p.value.has(v.id) ? V(v, h(v)) : o(v.id)
|
|
697
|
+
}, {
|
|
698
|
+
default: y(() => [
|
|
699
|
+
M($(i(f)({
|
|
700
|
+
defaultMessage: "Add to subscription",
|
|
701
|
+
id: "addon_multiple_editor.add_to_subscription_button",
|
|
702
|
+
description: "The button to add a pricing to the subscription"
|
|
703
|
+
})), 1)
|
|
704
|
+
]),
|
|
705
|
+
_: 1
|
|
706
|
+
}, 8, ["onClick"]))
|
|
707
|
+
]),
|
|
708
|
+
_: 2
|
|
709
|
+
}, 1032, ["name", "description"])
|
|
710
|
+
]),
|
|
711
|
+
_: 2
|
|
712
|
+
}, 1032, ["content-background", "class"]))), 128))
|
|
713
|
+
])
|
|
714
|
+
], 2)
|
|
715
|
+
]),
|
|
716
|
+
_: 1
|
|
717
|
+
}, 8, ["no-border", "content-background"]));
|
|
718
|
+
}
|
|
719
|
+
}), Re = { class: "sv-plan-customization__body grid grid-cols-1 gap-1" }, oi = /* @__PURE__ */ E({
|
|
720
|
+
__name: "PlanCustomizationEditor",
|
|
721
|
+
props: /* @__PURE__ */ z({
|
|
722
|
+
subscription: { type: Object },
|
|
723
|
+
enabledPricingIds: { type: Array },
|
|
724
|
+
initialSeatsValues: { type: Array },
|
|
725
|
+
initialUnitsValues: { type: Array },
|
|
726
|
+
billingPeriod: { type: Object },
|
|
727
|
+
currency: { type: String },
|
|
728
|
+
maxSeatsValues: { type: Array },
|
|
729
|
+
maxUnitsValues: { type: Array },
|
|
730
|
+
editableConfigIds: { type: Array },
|
|
731
|
+
hidePricingChoices: { type: Boolean },
|
|
732
|
+
title: { type: String }
|
|
733
|
+
}, {
|
|
734
|
+
seatsValues: { required: !0 },
|
|
735
|
+
seatsValuesModifiers: {},
|
|
736
|
+
unitsValues: { required: !0 },
|
|
737
|
+
unitsValuesModifiers: {},
|
|
738
|
+
enabledPricingIds: {
|
|
739
|
+
required: !0
|
|
740
|
+
},
|
|
741
|
+
enabledPricingIdsModifiers: {}
|
|
742
|
+
}),
|
|
743
|
+
emits: ["update:seatsValues", "update:unitsValues", "update:enabledPricingIds"],
|
|
744
|
+
setup(e) {
|
|
745
|
+
const n = e, t = S(e, "seatsValues"), r = S(e, "unitsValues"), c = S(e, "enabledPricingIds"), { $t: f } = q(), b = k(() => {
|
|
746
|
+
const V = ye({
|
|
747
|
+
pricingPlanScheduleInfos: n.subscription.pricing_plan_schedule_infos,
|
|
748
|
+
type: "DEFAULT"
|
|
749
|
+
});
|
|
750
|
+
return V != null && V.pricing_plan_version ? ve(V) : [];
|
|
751
|
+
}), m = k(
|
|
752
|
+
() => b.value.filter((V) => V.product_type === "ADDON")
|
|
753
|
+
), l = k(
|
|
754
|
+
() => Ve(n.subscription)
|
|
755
|
+
), u = k(
|
|
756
|
+
() => me(n.subscription, [
|
|
757
|
+
...n.initialSeatsValues ?? [],
|
|
758
|
+
...n.initialUnitsValues ?? []
|
|
759
|
+
])
|
|
760
|
+
), s = k(() => u.value.map(({ id: V }) => V)), p = k(() => ge(u.value)), h = (V) => k({
|
|
761
|
+
get: () => V.value.filter(
|
|
762
|
+
({ pricing_item_config_id: g }) => !p.value.has(g)
|
|
763
|
+
),
|
|
764
|
+
set: (g) => {
|
|
765
|
+
V.value = [
|
|
766
|
+
...g,
|
|
767
|
+
...V.value.filter(
|
|
768
|
+
({ pricing_item_config_id: o }) => p.value.has(o)
|
|
769
|
+
)
|
|
770
|
+
];
|
|
771
|
+
}
|
|
772
|
+
}), U = h(t), C = h(r);
|
|
773
|
+
return (V, g) => (d(), _(i(F), {
|
|
774
|
+
class: "sv-plan-customization",
|
|
775
|
+
title: e.title ?? i(f)({
|
|
776
|
+
defaultMessage: "Customize plan",
|
|
777
|
+
id: "checkout.customize_plan_block.title",
|
|
778
|
+
description: "The title of the customize plan block in the checkout form"
|
|
779
|
+
}),
|
|
780
|
+
"no-spacing": "",
|
|
781
|
+
"no-border": "",
|
|
782
|
+
"content-background": "none"
|
|
783
|
+
}, {
|
|
784
|
+
default: y(() => [
|
|
785
|
+
T("div", Re, [
|
|
786
|
+
A(Se, {
|
|
787
|
+
modelValue: i(U),
|
|
788
|
+
"onUpdate:modelValue": g[0] || (g[0] = (o) => X(U) ? U.value = o : null),
|
|
789
|
+
class: "sv-plan-customization__seats",
|
|
790
|
+
"initial-seats-values": e.initialSeatsValues,
|
|
791
|
+
"max-values": e.maxSeatsValues,
|
|
792
|
+
"editable-config-ids": e.editableConfigIds,
|
|
793
|
+
pricings: b.value
|
|
794
|
+
}, null, 8, ["modelValue", "initial-seats-values", "max-values", "editable-config-ids", "pricings"]),
|
|
795
|
+
A(ze, {
|
|
796
|
+
modelValue: i(C),
|
|
797
|
+
"onUpdate:modelValue": g[1] || (g[1] = (o) => X(C) ? C.value = o : null),
|
|
798
|
+
class: "sv-plan-customization__units",
|
|
799
|
+
"initial-units-values": e.initialUnitsValues,
|
|
800
|
+
"max-values": e.maxUnitsValues,
|
|
801
|
+
"editable-config-ids": e.editableConfigIds,
|
|
802
|
+
pricings: b.value
|
|
803
|
+
}, null, 8, ["modelValue", "initial-units-values", "max-values", "editable-config-ids", "pricings"]),
|
|
804
|
+
(d(!0), P(N, null, B(e.hidePricingChoices ? [] : l.value, (o) => (d(), P(N, {
|
|
805
|
+
key: o.id
|
|
806
|
+
}, [
|
|
807
|
+
o.product_type === "DEFAULT" && o.selection_constraint === "EXACTLY_ONE" ? (d(), _(be, {
|
|
808
|
+
key: 0,
|
|
809
|
+
modelValue: c.value,
|
|
810
|
+
"onUpdate:modelValue": g[2] || (g[2] = (a) => c.value = a),
|
|
811
|
+
class: "sv-plan-customization__group",
|
|
812
|
+
"group-name": o.name,
|
|
813
|
+
pricings: o.pricings,
|
|
814
|
+
"billing-period": e.billingPeriod,
|
|
815
|
+
currency: e.currency
|
|
816
|
+
}, null, 8, ["modelValue", "group-name", "pricings", "billing-period", "currency"])) : o.product_type === "ADDON" && o.selection_constraint === "AT_MOST_ONE" ? (d(), _(je, {
|
|
817
|
+
key: 1,
|
|
818
|
+
modelValue: c.value,
|
|
819
|
+
"onUpdate:modelValue": g[3] || (g[3] = (a) => c.value = a),
|
|
820
|
+
class: "sv-plan-customization__group",
|
|
821
|
+
"group-name": o.name,
|
|
822
|
+
pricings: o.pricings,
|
|
823
|
+
"billing-period": e.billingPeriod,
|
|
824
|
+
currency: e.currency
|
|
825
|
+
}, null, 8, ["modelValue", "group-name", "pricings", "billing-period", "currency"])) : o.product_type === "ADDON" && o.selection_constraint === "ANY" ? (d(), _(Z, {
|
|
826
|
+
key: 2,
|
|
827
|
+
modelValue: c.value,
|
|
828
|
+
"onUpdate:modelValue": g[4] || (g[4] = (a) => c.value = a),
|
|
829
|
+
"seats-values": t.value,
|
|
830
|
+
"onUpdate:seatsValues": g[5] || (g[5] = (a) => t.value = a),
|
|
831
|
+
"units-values": r.value,
|
|
832
|
+
"onUpdate:unitsValues": g[6] || (g[6] = (a) => r.value = a),
|
|
833
|
+
"quantity-pricing-ids": s.value,
|
|
834
|
+
class: "sv-plan-customization__group",
|
|
835
|
+
pricings: o.pricings,
|
|
836
|
+
"group-name": o.name,
|
|
837
|
+
"billing-period": e.billingPeriod,
|
|
838
|
+
currency: e.currency
|
|
839
|
+
}, null, 8, ["modelValue", "seats-values", "units-values", "quantity-pricing-ids", "pricings", "group-name", "billing-period", "currency"])) : w("", !0)
|
|
840
|
+
], 64))), 128)),
|
|
841
|
+
e.hidePricingChoices ? w("", !0) : (d(), _(Z, {
|
|
842
|
+
key: 0,
|
|
843
|
+
modelValue: c.value,
|
|
844
|
+
"onUpdate:modelValue": g[7] || (g[7] = (o) => c.value = o),
|
|
845
|
+
"seats-values": t.value,
|
|
846
|
+
"onUpdate:seatsValues": g[8] || (g[8] = (o) => t.value = o),
|
|
847
|
+
"units-values": r.value,
|
|
848
|
+
"onUpdate:unitsValues": g[9] || (g[9] = (o) => r.value = o),
|
|
849
|
+
"quantity-pricing-ids": s.value,
|
|
850
|
+
class: "sv-plan-customization__group",
|
|
851
|
+
pricings: m.value,
|
|
852
|
+
"billing-period": e.billingPeriod,
|
|
853
|
+
currency: e.currency
|
|
854
|
+
}, null, 8, ["modelValue", "seats-values", "units-values", "quantity-pricing-ids", "pricings", "billing-period", "currency"])),
|
|
855
|
+
oe(V.$slots, "default")
|
|
856
|
+
])
|
|
857
|
+
]),
|
|
858
|
+
_: 3
|
|
859
|
+
}, 8, ["title"]));
|
|
860
|
+
}
|
|
861
|
+
});
|
|
862
|
+
export {
|
|
863
|
+
oi as default
|
|
864
|
+
};
|