@solvimon/solvimon-web 0.1.0-alpha.30 → 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 +152 -91
- 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-ZPG49yR_.mjs → Alert.vue.es-xhsk_7Gn.mjs} +1 -1
- package/dist/AuthProvider.handle-CUO6Qj-5.mjs +46 -0
- package/dist/{Avatar.vue.es-geDQsZwu.mjs → Avatar.vue.es-DrbtUiLO.mjs} +1 -1
- 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-j7iYlqtJ.mjs → Button.vue.es-BHbanjR0.mjs} +1 -1
- package/dist/{ChargeOnDemandModal-CR01PkP_.mjs → ChargeOnDemandModal-DYiFtw1n.mjs} +44 -43
- package/dist/{Chip.vue.es-Dxx_0dte.mjs → Chip.vue.es-Dc6-PjEn.mjs} +2 -2
- package/dist/{ContentWithAsideLayout-Bnbsq8_5.mjs → ContentWithAsideLayout-C2kFcft1.mjs} +1 -1
- package/dist/{ContextMenu.vue.es-BJO4U47Q.mjs → ContextMenu.vue.es-CvX6O2IM.mjs} +10 -10
- package/dist/{CustomerBillingInformation.vue.es-CmNpqcBw.mjs → CustomerBillingInformation.vue.es-DQWt9osz.mjs} +3 -3
- 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-DJnr5D56.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C50vGUvw.mjs} +992 -1100
- package/dist/{DividerText.vue.es-BusbyeAI.mjs → DividerText.vue.es-ChN6fnrH.mjs} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-wPma8Os-.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DCUml1W4.mjs} +3 -3
- package/dist/{ErrorNotification.vue.es-F068p7PY.mjs → ErrorNotification.vue.es-CWIVt5q9.mjs} +2 -2
- package/dist/{FormMessage.vue.es-CwMQpIAW.mjs → FormMessage.vue.es-CQ64C8dt.mjs} +1 -1
- package/dist/{IconButton.vue.es-D8DtBW9i.mjs → IconButton.vue.es-BXzwMvVk.mjs} +2 -2
- package/dist/{IconTitle.vue.es-6VJtjJX2.mjs → IconTitle.vue.es-GyanM-JQ.mjs} +3 -3
- package/dist/{Input.vue.es-BLyHcmu4.mjs → Input.vue.es-CxiwRZYs.mjs} +4 -4
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dl1vTzQD.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Ca0qflBR.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DYskT3r7.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-Dw73a5Yt.mjs} +7 -7
- package/dist/{InvoicePreview.vue.es-Cpf66_xV.mjs → InvoicePreview.vue.es-BvnikfEH.mjs} +6 -6
- package/dist/{InvoicePricingClauseChip.vue.es-CDrAE901.mjs → InvoicePricingClauseChip.vue.es-DxcyTRGr.mjs} +3 -3
- package/dist/{Label.vue.es-es7ZUBSP.mjs → Label.vue.es-3ACRco55.mjs} +3 -3
- package/dist/LoadFailedNotice.vue_vue_type_script_setup_true_lang-1qpRh-0S.mjs +20 -0
- package/dist/{Modal.vue.es-eeR9FmvQ.mjs → Modal.vue.es-CDjfZDDx.mjs} +138 -127
- package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-CnZwxJ5b.mjs +789 -0
- package/dist/{PaymentCompletedCard.vue_vue_type_script_setup_true_lang-CrjVPks0.mjs → PaymentCompletedCard.vue_vue_type_script_setup_true_lang-PICpXmC3.mjs} +2 -2
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DyjzaTK1.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-DpZtYBfM.mjs} +4 -4
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BHQrWy6r.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-Co5qBQa8.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-CN42ewCn.mjs → PaymentHistoryBlock-HUazLER6.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C3Y5fHvA.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DdmUoiet.mjs} +4 -4
- package/dist/{PaymentIntegrationForm-D3Ye7LZ5.mjs → PaymentIntegrationForm-ZnIjTyda.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DU5wu66t.mjs +161 -0
- package/dist/{PaymentIntegrationFormAdyen-Fm-diCCO.mjs → PaymentIntegrationFormAdyen-sbw3AoKS.mjs} +302 -282
- package/dist/{PaymentIntegrationFormStripe-BANBL6za.mjs → PaymentIntegrationFormStripe-4JmKEwbS.mjs} +126 -117
- package/dist/{PaymentMethod.vue.es-t3-VyoE8.mjs → PaymentMethod.vue.es-DAabE41t.mjs} +23 -21
- package/dist/{PaymentMethodForm-CqP3GoNj.mjs → PaymentMethodForm-MmCUSJLE.mjs} +1 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-DyiXLYRj.mjs +165 -0
- package/dist/{PaymentMethodSelector.vue_vue_type_script_setup_true_lang-D5wmRuCf.mjs → PaymentMethodSelector.vue_vue_type_script_setup_true_lang-Bv34aiZ6.mjs} +6 -6
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-DhkkiJaQ.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-DZ2Z-RMv.mjs} +28 -26
- package/dist/PaymentMethodsModal-CjpNw4kX.mjs +192 -0
- package/dist/PlanCustomizationEditor-BDWm_z2w.mjs +864 -0
- package/dist/{PortalLinkUnverified-Cp60_kRJ.mjs → PortalLinkUnverified-B7YYhv97.mjs} +3 -3
- package/dist/{PortalNotAvailable-DzSQnfzw.mjs → PortalNotAvailable-DIyeKrAp.mjs} +2 -2
- package/dist/{PricingGroupRangeInput.vue.es-Srq_3cga.mjs → PricingGroupRangeInput.vue.es-C6J8C7JS.mjs} +7 -7
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-oRijnVnZ.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CiQ-C9Hh.mjs} +16 -15
- package/dist/{RadioGroupExtended.vue.es-BbBMDf6l.mjs → RadioGroupExtended.vue.es-hDmUAKIA.mjs} +5 -5
- package/dist/{Section.vue.es-Oqn1wGPZ.mjs → Section.vue.es-CwKTCeZ1.mjs} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-OM19NPBh.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Gn1aE60E.mjs} +2 -2
- package/dist/ShippingAddressForm.vue_vue_type_script_setup_true_lang-y7yOKwR3.mjs +144 -0
- package/dist/ShippingAddressesModal-CNXxkxnJ.mjs +283 -0
- package/dist/{StepInput.vue.es-ieh4EuJ7.mjs → StepInput.vue.es-GkrOtOVa.mjs} +4 -4
- 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-DMxX3GpK.mjs → SubscriptionSchedules-DosBeXD7.mjs} +1 -1
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DXro_64f.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-5tyDFxEh.mjs} +1948 -1965
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-C26HShPu.mjs +90 -0
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-CHlXP_2x.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BUDuQk2e.mjs} +133 -108
- package/dist/Toggle.vue.es-S2g8WGY_.mjs +99 -0
- package/dist/{TooltipParagraph.vue.es-BES3zsYN.mjs → TooltipParagraph.vue.es-4HaXi8RP.mjs} +18 -18
- package/dist/{TranslationOverride.vue_vue_type_script_setup_true_lang-BJmlNrXT.mjs → TranslationOverride.vue_vue_type_script_setup_true_lang-C5Y6Kg-_.mjs} +1 -1
- package/dist/TrialChip.vue.es-CUfJ4SK3.mjs +47 -0
- package/dist/addonQuantity-BvoYTajN.mjs +128 -0
- package/dist/adyen-D4em6EgU.mjs +99 -0
- package/dist/adyenSdk-DUTO7xkT.mjs +63 -0
- package/dist/{api.es-qgvzNMU-.mjs → api.es-QaC926Xu.mjs} +2 -2
- package/dist/components/BillingInformation/BillingInformation.mjs +37 -41
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +45 -462
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +33 -42
- package/dist/components/Invoice/Invoice.mjs +426 -426
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +38 -47
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +29 -34
- package/dist/components/InvoicesList/InvoicesList.mjs +33 -42
- package/dist/components/PaymentHistory/PaymentHistory.mjs +39 -48
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +56 -64
- package/dist/components/ShippingAddressForm/ShippingAddressForm.ce.d.ts +1 -0
- package/dist/components/ShippingAddressForm/ShippingAddressForm.mjs +212 -0
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +34 -42
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +41 -50
- package/dist/components/WalletBalances/WalletBalances.mjs +46 -55
- package/dist/core/events.types.d.ts +1 -0
- package/dist/core/index.mjs +51 -34
- package/dist/{customElements-DK4GKNJG.mjs → customElements-d7Bhfqi_.mjs} +773 -746
- package/dist/{customer-lf6S5DBR.mjs → customer-CNCSN_G5.mjs} +1 -1
- package/dist/{de-DE-UJ6X6jXu.mjs → de-DE-D-sV3avS.mjs} +8 -5
- package/dist/{de-DE-Cyj_NtiI.mjs → de-DE-wZp39RC-.mjs} +68 -5
- package/dist/{fr-FR-Cvvbkwlj.mjs → fr-FR-BYHycSxz.mjs} +3 -0
- package/dist/{fr-FR-CRFoWQ7J.mjs → fr-FR-BrNXJ7gR.mjs} +68 -5
- package/dist/{countryData.es-BegoD-cZ.mjs → getCountryNameByCode.es-OGxn_zT0.mjs} +7 -2
- package/dist/index.es-BEZ2mumY.mjs +633 -0
- package/dist/{index.es-BrVTOW5D.mjs → index.es-C7J3WGGo.mjs} +4 -4
- package/dist/index.mjs +37 -33
- package/dist/invoices-CXvL8KQx.mjs +143 -0
- package/dist/{it-IT-DObZEc-U.mjs → it-IT-Bd1qsMVU.mjs} +68 -5
- package/dist/{it-IT-DnJP5URH.mjs → it-IT-zpPyT9PH.mjs} +8 -5
- package/dist/{nl-NL-q9xfTZF0.mjs → nl-NL-BOr4MR7L.mjs} +8 -5
- package/dist/{nl-NL-C02xHilF.mjs → nl-NL-C6Y6fqaW.mjs} +68 -5
- package/dist/paymentIntegrationFormLoaders-wi1vMgf_.mjs +31 -0
- package/dist/{paymentMethods-8w-ccfY_.mjs → paymentMethods-CG1fcG2v.mjs} +22 -21
- package/dist/{paymentOutcome-B6sW1eCV.mjs → paymentOutcome-D59QkGfm.mjs} +1 -1
- package/dist/paymentRedirect-DaS8Kccc.mjs +66 -0
- package/dist/payments-Dy81gmkC.mjs +71 -0
- package/dist/preloadPaymentIntegrationForms-C_9p7Jbi.mjs +9 -0
- package/dist/pricing-CBJT8C6L.mjs +42 -0
- package/dist/{pricingItem.es-bCPArbTa.mjs → pricingItem.es-AYq_hYeD.mjs} +1 -1
- package/dist/pricingPlanScheduleOverrides-GON_34ep.mjs +291 -0
- package/dist/randomUuid-BE_IQ-aq.mjs +10 -0
- package/dist/screens/Checkout/Checkout.mjs +1098 -3
- package/dist/screens/CheckoutSession/CheckoutSession.ce.d.ts +1 -0
- package/dist/screens/CheckoutSession/CheckoutSession.mjs +1316 -0
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +209 -133
- package/dist/screens/PayInvoice/PayInvoice.mjs +282 -274
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +92 -97
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +915 -404
- package/dist/{sorting.es-C0pdMgX0.mjs → sorting.es-kM0f1VX0.mjs} +1 -1
- package/dist/{subscription-BwzkagDI.mjs → subscription-DQ5mRp_e.mjs} +10 -10
- 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/types/components/customer/BillingInformationForm/BillingInformationForm.types.d.ts +11 -14
- package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +2 -9
- package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +10 -0
- package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +6 -0
- package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +17 -0
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +3 -2
- package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +3 -2
- package/dist/types/components/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +2 -0
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +12 -1
- package/dist/types/components/payments/PaymentMethodsList/PaymentMethodsList.types.d.ts +2 -0
- package/dist/types/components/payments/PaymentMethodsModal/PaymentMethodsModal.types.d.ts +22 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.types.d.ts +1 -1
- package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +7 -1
- package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +2 -2
- package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +3 -11
- package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +1 -5
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +11 -0
- package/dist/types/components/providers/HostElementProvider/composables/useHostEvent.d.ts +12 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +5 -4
- package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +3 -3
- package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +3 -3
- package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +6 -1
- package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +1 -0
- package/dist/types/components/providers/Provider/Provider.types.d.ts +10 -3
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +3 -14
- package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +1 -1
- package/dist/types/components/subscriptions/OrderSummary.types.d.ts +14 -0
- package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +14 -1
- package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +9 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditor.types.d.ts +4 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditorItem.types.d.ts +2 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditor.types.d.ts +4 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditorItem.types.d.ts +2 -0
- package/dist/types/components/subscriptions/SubscriptionCancellationSuccess/SubscriptionCancellationSuccess.types.d.ts +4 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +10 -9
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSuccess.types.d.ts +5 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSummary.types.d.ts +3 -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/SubscriptionsList/SubscriptionsList.types.d.ts +1 -0
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +1 -0
- package/dist/types/index.d.ts +5 -1
- package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +5 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.types.d.ts +1 -2
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +6 -2
- package/dist/types/public/components/Invoice/Invoice.types.d.ts +7 -7
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +2 -2
- package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +6 -7
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.types.d.ts +1 -1
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +19 -14
- 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/SubscriptionsList/SubscriptionsList.types.d.ts +10 -1
- package/dist/types/public/core/action-request.types.d.ts +18 -24
- package/dist/types/public/core/events.types.d.ts +99 -0
- package/dist/types/public/core/index.d.ts +3 -1
- package/dist/types/public/core/types.d.ts +11 -2
- package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +1 -7
- package/dist/types/public/screens/Checkout/Checkout.source.types.d.ts +151 -0
- package/dist/types/public/screens/Checkout/Checkout.types.d.ts +7 -30
- 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.types.d.ts +8 -2
- package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +0 -6
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.configuration.types.d.ts +2 -19
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +2 -3
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.types.d.ts +2 -1
- package/dist/types/services/paymentMethods.types.d.ts +12 -1
- package/dist/types/types/EntryBaseProps.d.ts +10 -6
- 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 +2 -0
- package/dist/types/types/pricingPlanGroup.d.ts +25 -0
- package/dist/{useActionDispatchProvider-ChAHdwR8.mjs → useActionDispatchProvider-BWna0S6N.mjs} +1 -1
- package/dist/useAddressFormats-Dw7IEdxg.mjs +1997 -0
- package/dist/useCheckoutForm-BaV2j_ob.mjs +3310 -0
- package/dist/{useCustomer-CTMhg1nd.mjs → useCustomer-RUtEzDOY.mjs} +2 -2
- 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-CBVutPH8.mjs → useIncrementalLoading-B3gp58X-.mjs} +2 -2
- package/dist/{useInvoiceData-qUGbBAQK.mjs → useInvoiceData-Dya4mmvf.mjs} +2 -2
- package/dist/{useInvoicesList-wJvZAJpW.mjs → useInvoicesList-Dp3c_cb3.mjs} +9 -9
- package/dist/{useLoadInitialData-UvfYXgbi.mjs → useLoadInitialData-CwySdYZM.mjs} +1 -1
- package/dist/usePaymentFormHold-CYZ4BdOw.mjs +19 -0
- package/dist/{usePaymentMethodAvailability-35l4pWdH.mjs → usePaymentMethodAvailability-B7NV0ZtX.mjs} +4 -4
- package/dist/usePaymentMethodOptions-DDRjVvDJ.mjs +67 -0
- package/dist/{usePaymentMethods-De7hlLHo.mjs → usePaymentMethods-DBGyQA_I.mjs} +2 -2
- package/dist/{usePayments-hWS7fnOx.mjs → usePayments-ChGtK_As.mjs} +9 -9
- package/dist/usePortal--Uzbpbgr.mjs +14 -0
- package/dist/{useService-BwzIBIRp.mjs → useService-DayNZhPh.mjs} +1 -1
- package/dist/useShippingAddresses-TXVeGFPm.mjs +122 -0
- package/dist/useSubscription-lIGMFLG1.mjs +35 -0
- package/dist/useSubscriptionActions-BSlJVB4p.mjs +44 -0
- package/dist/useWatchDebounced-DkXgKe0E.mjs +20 -0
- package/package.json +12 -5
- package/dist/AuthProvider.handle-SRR_04XS.mjs +0 -50
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-nqKbgY7G.mjs +0 -58
- package/dist/Checkout.entry.ce-CopWuLJC.mjs +0 -4169
- package/dist/CheckoutAddressFields.vue_vue_type_script_setup_true_lang-CEnM1uxK.mjs +0 -828
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Jyb5ZN3s.mjs +0 -136
- package/dist/CustomerShippingAddresses-BRPukhRI.mjs +0 -397
- package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-B_FpibLA.mjs +0 -441
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D07SEP8a.mjs +0 -181
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-CMRMbL3d.mjs +0 -161
- package/dist/PlanCustomizationEditor-B76UNEMm.mjs +0 -791
- package/dist/ShippingAddressesModal-c7nqf4Ny.mjs +0 -418
- package/dist/SubscriptionDetails.entry.ce-uYv45FGH.mjs +0 -1044
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-BZNsqN4G.mjs +0 -203
- package/dist/TrialChip.vue.es-C51z1ZiA.mjs +0 -35
- package/dist/addonQuantity-CCVaA3e-.mjs +0 -758
- package/dist/adyenSdk-B01MB9Ia.mjs +0 -58
- package/dist/getCountryNameByCode.es-BDHua7VM.mjs +0 -8
- package/dist/invoices-DdREPDXV.mjs +0 -123
- package/dist/paymentMethods-Goa25rTs.mjs +0 -61
- package/dist/payments-CKpU1K3t.mjs +0 -68
- package/dist/pricing-CEaZGgKe.mjs +0 -29
- package/dist/pricingPlanScheduleOverrides-BBp-DmpV.mjs +0 -233
- package/dist/pricingPlanSchedules-DSMptcAh.mjs +0 -38
- package/dist/subscriptions-B5bH8hsI.mjs +0 -66
- package/dist/taxId.es-e6NEvprh.mjs +0 -243
- package/dist/types/components/payments/ExpressPaymentMethodButton/ExpressPaymentMethodButton.types.d.ts +0 -3
- package/dist/useCustomerFormLabels-D4oDnfxA.mjs +0 -1173
- package/dist/usePaymentFormHold-Cwdr-vyc.mjs +0 -181
- package/dist/usePortal-DUfD6hrA.mjs +0 -7
- package/dist/useTimePeriod.es-BUorDLVK.mjs +0 -93
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
import { computed as o, defineComponent as z, ref as C, watch as L, openBlock as u, createBlock as v, unref as a, withCtx as d, createElementVNode as F, createVNode as w, createTextVNode as k, toDisplayString as E, createElementBlock as N, createCommentVNode as p } from "vue";
|
|
2
|
+
import { _ as W } from "./PaymentMethod.vue.es-DAabE41t.mjs";
|
|
3
|
+
import { _ as U } from "./ErrorNotification.vue.es-CWIVt5q9.mjs";
|
|
4
|
+
import { _ as K } from "./Section.vue.es-CwKTCeZ1.mjs";
|
|
5
|
+
import { a as I, e as q, d as S } from "./customElements-d7Bhfqi_.mjs";
|
|
6
|
+
import { M as G } from "./Modal.vue.es-CDjfZDDx.mjs";
|
|
7
|
+
import { c as H } from "./subscriptions-Bm1eu9wc.mjs";
|
|
8
|
+
import { _ as J } from "./SubscriptionSummary.vue_vue_type_script_setup_true_lang-C26HShPu.mjs";
|
|
9
|
+
import { a as Q, d as X } from "./subscription-DQ5mRp_e.mjs";
|
|
10
|
+
function Z({
|
|
11
|
+
variant: s,
|
|
12
|
+
renewableUntil: m,
|
|
13
|
+
billingPeriodEndsAt: n
|
|
14
|
+
}) {
|
|
15
|
+
const { $t: t } = I(), l = o(() => s.value === "RENEW"), b = o(
|
|
16
|
+
() => l.value ? t({
|
|
17
|
+
defaultMessage: "Renew subscription",
|
|
18
|
+
description: "Title of the renew subscription confirmation modal",
|
|
19
|
+
id: "subscription_cancellation_modal.renew.title"
|
|
20
|
+
}) : t({
|
|
21
|
+
defaultMessage: "Cancel subscription",
|
|
22
|
+
description: "Title of the cancel subscription confirmation modal",
|
|
23
|
+
id: "subscription_cancellation_modal.cancel.title"
|
|
24
|
+
})
|
|
25
|
+
), g = o(() => l.value ? m.value ? t(
|
|
26
|
+
{
|
|
27
|
+
defaultMessage: "You can renew your subscription until {date}. After this period you can only create a new subscription.",
|
|
28
|
+
description: "Explanation of the deadline for undoing a cancellation, shown in the renew subscription modal",
|
|
29
|
+
id: "subscription_cancellation_modal.renew.explanation_with_date"
|
|
30
|
+
},
|
|
31
|
+
{ date: m.value }
|
|
32
|
+
) : t({
|
|
33
|
+
defaultMessage: "Your subscription will continue as before, and billing will resume on its usual schedule.",
|
|
34
|
+
description: "Explanation of what happens when a cancellation is undone, shown in the renew subscription modal when no end date is known",
|
|
35
|
+
id: "subscription_cancellation_modal.renew.explanation"
|
|
36
|
+
}) : n.value ? t(
|
|
37
|
+
{
|
|
38
|
+
defaultMessage: "Your subscription will be canceled, but you’ll continue to have access until {date}.",
|
|
39
|
+
description: "Explanation of what happens when a running subscription is cancelled, naming the date access ends, shown in the cancel subscription modal",
|
|
40
|
+
id: "subscription_cancellation_modal.cancel.explanation_with_date"
|
|
41
|
+
},
|
|
42
|
+
{ date: n.value }
|
|
43
|
+
) : t({
|
|
44
|
+
defaultMessage: "Your subscription will be canceled, but you’ll continue to have access until the end of the billing period.",
|
|
45
|
+
description: "Explanation of what happens when a running subscription is cancelled, shown in the cancel subscription modal",
|
|
46
|
+
id: "subscription_cancellation_modal.cancel.explanation"
|
|
47
|
+
})), y = o(
|
|
48
|
+
() => l.value ? t({
|
|
49
|
+
defaultMessage: "Renew subscription",
|
|
50
|
+
description: "Label of the confirm button in the renew subscription modal",
|
|
51
|
+
id: "subscription_cancellation_modal.renew.confirm_button.label"
|
|
52
|
+
}) : t({
|
|
53
|
+
defaultMessage: "Cancel subscription",
|
|
54
|
+
description: "Label of the confirm button in the cancel subscription modal",
|
|
55
|
+
id: "subscription_cancellation_modal.cancel.confirm_button.label"
|
|
56
|
+
})
|
|
57
|
+
), f = o(
|
|
58
|
+
() => l.value ? t({
|
|
59
|
+
defaultMessage: "Cancel",
|
|
60
|
+
description: "Label of the button that dismisses the cancellation modal",
|
|
61
|
+
id: "subscription_cancellation_modal.cancel_button.label"
|
|
62
|
+
}) : t({
|
|
63
|
+
defaultMessage: "Keep subscription",
|
|
64
|
+
description: "Label of the button that dismisses the cancel subscription modal without cancelling",
|
|
65
|
+
id: "subscription_cancellation_modal.cancel.keep_button.label"
|
|
66
|
+
})
|
|
67
|
+
), _ = o(
|
|
68
|
+
() => l.value ? t({
|
|
69
|
+
defaultMessage: "We could not renew your subscription. Please try again.",
|
|
70
|
+
description: "Error shown when undoing a cancellation fails",
|
|
71
|
+
id: "subscription_cancellation_modal.renew.error"
|
|
72
|
+
}) : t({
|
|
73
|
+
defaultMessage: "We could not cancel your subscription. Please try again.",
|
|
74
|
+
description: "Error shown when cancelling a subscription fails",
|
|
75
|
+
id: "subscription_cancellation_modal.cancel.error"
|
|
76
|
+
})
|
|
77
|
+
);
|
|
78
|
+
return { title: b, explanation: g, confirmButtonText: y, cancelButtonText: f, errorMessage: _ };
|
|
79
|
+
}
|
|
80
|
+
const ee = { class: "sv-subscription-cancellation-modal sv-subscription-cancellation-modal__body flex flex-col gap-3" }, ne = {
|
|
81
|
+
key: 0,
|
|
82
|
+
class: "sv-subscription-cancellation-modal__meta flex flex-wrap items-center gap-x-6 gap-y-2 px-3 pb-2"
|
|
83
|
+
}, te = {
|
|
84
|
+
key: 0,
|
|
85
|
+
class: "sv-subscription-cancellation-modal__renews flex gap-1"
|
|
86
|
+
}, pe = /* @__PURE__ */ z({
|
|
87
|
+
__name: "SubscriptionCancellationModal",
|
|
88
|
+
props: {
|
|
89
|
+
showModal: { type: Boolean },
|
|
90
|
+
variant: { type: null },
|
|
91
|
+
subscription: { type: Object },
|
|
92
|
+
customer: { type: Object },
|
|
93
|
+
paymentMethod: { type: Object },
|
|
94
|
+
avatar: { type: String }
|
|
95
|
+
},
|
|
96
|
+
emits: ["confirmed", "close"],
|
|
97
|
+
setup(s, { emit: m }) {
|
|
98
|
+
const n = s, t = m, { $t: l, formatDate: b } = I(), g = q(), { setSubscriptionCancellation: y } = H(), f = C(n.variant);
|
|
99
|
+
L(
|
|
100
|
+
() => n.variant,
|
|
101
|
+
(e) => {
|
|
102
|
+
e && (f.value = e);
|
|
103
|
+
}
|
|
104
|
+
);
|
|
105
|
+
const _ = (e) => {
|
|
106
|
+
var c;
|
|
107
|
+
const i = (c = n.customer) == null ? void 0 : c.timezone;
|
|
108
|
+
return b(i ? { date: e, format: "date", offsetType: "offsetted", timezone: i } : { date: e, format: "date", offsetType: "local" });
|
|
109
|
+
}, $ = o(() => {
|
|
110
|
+
const e = Q(n.subscription);
|
|
111
|
+
return e ? _(e.start_at) : void 0;
|
|
112
|
+
}), T = o(() => {
|
|
113
|
+
var i, c;
|
|
114
|
+
const e = (c = (i = n.subscription) == null ? void 0 : i.next_invoice) == null ? void 0 : c.invoice_date;
|
|
115
|
+
return e ? _(e) : void 0;
|
|
116
|
+
}), x = T, D = o(
|
|
117
|
+
() => {
|
|
118
|
+
var e, i, c;
|
|
119
|
+
return (((c = (i = X(((e = n.subscription) == null ? void 0 : e.pricing_plan_schedule_infos) ?? [])) == null ? void 0 : i.pricing_plan_schedule) == null ? void 0 : c.enabled_pricings) ?? []).map(({ pricing_id: M }) => M).filter((M) => !!M);
|
|
120
|
+
}
|
|
121
|
+
), { title: O, explanation: R, confirmButtonText: A, cancelButtonText: P, errorMessage: V } = Z({ variant: f, renewableUntil: $, billingPeriodEndsAt: T }), r = C(!1), h = C(!1);
|
|
122
|
+
L(
|
|
123
|
+
() => n.showModal,
|
|
124
|
+
(e) => {
|
|
125
|
+
e && (h.value = !1);
|
|
126
|
+
}
|
|
127
|
+
);
|
|
128
|
+
const Y = async () => {
|
|
129
|
+
if (!(!n.subscription || !n.variant || r.value)) {
|
|
130
|
+
r.value = !0, h.value = !1;
|
|
131
|
+
try {
|
|
132
|
+
await y({
|
|
133
|
+
id: n.subscription.id,
|
|
134
|
+
variant: n.variant
|
|
135
|
+
}), t("confirmed"), t("close");
|
|
136
|
+
} catch (e) {
|
|
137
|
+
g.error(
|
|
138
|
+
"SUBSCRIPTION_CANCELLATION_FAILED",
|
|
139
|
+
"Failed to change the cancellation state of a subscription",
|
|
140
|
+
{ variant: n.variant },
|
|
141
|
+
e
|
|
142
|
+
), h.value = !0;
|
|
143
|
+
} finally {
|
|
144
|
+
r.value = !1;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}, j = () => {
|
|
148
|
+
r.value || t("close");
|
|
149
|
+
}, B = o(
|
|
150
|
+
() => n.paymentMethod ? { ...n.paymentMethod, is_default: !1 } : void 0
|
|
151
|
+
);
|
|
152
|
+
return (e, i) => (u(), v(a(G), {
|
|
153
|
+
"full-screen-on-mobile": "",
|
|
154
|
+
size: "md",
|
|
155
|
+
"show-modal": s.showModal,
|
|
156
|
+
title: a(O),
|
|
157
|
+
"confirm-button-text": a(A),
|
|
158
|
+
"cancel-button-text": a(P),
|
|
159
|
+
"is-loading": r.value,
|
|
160
|
+
"no-click-away": r.value,
|
|
161
|
+
"no-backdrop-close": r.value,
|
|
162
|
+
onConfirm: Y,
|
|
163
|
+
onClose: j
|
|
164
|
+
}, {
|
|
165
|
+
body: d(() => [
|
|
166
|
+
F("div", ee, [
|
|
167
|
+
w(a(S), {
|
|
168
|
+
variant: "body-sm",
|
|
169
|
+
color: "subtle",
|
|
170
|
+
tag: "p",
|
|
171
|
+
class: "sv-subscription-cancellation-modal__explanation"
|
|
172
|
+
}, {
|
|
173
|
+
default: d(() => [
|
|
174
|
+
k(E(a(R)), 1)
|
|
175
|
+
]),
|
|
176
|
+
_: 1
|
|
177
|
+
}),
|
|
178
|
+
s.subscription ? (u(), v(a(K), {
|
|
179
|
+
key: 0,
|
|
180
|
+
"no-spacing": "",
|
|
181
|
+
class: "sv-subscription-cancellation-modal__subscription"
|
|
182
|
+
}, {
|
|
183
|
+
default: d(() => [
|
|
184
|
+
w(J, {
|
|
185
|
+
subscription: s.subscription,
|
|
186
|
+
avatar: s.avatar,
|
|
187
|
+
"enabled-pricing-ids": D.value
|
|
188
|
+
}, null, 8, ["subscription", "avatar", "enabled-pricing-ids"]),
|
|
189
|
+
a(x) || s.paymentMethod ? (u(), N("div", ne, [
|
|
190
|
+
a(x) ? (u(), N("div", te, [
|
|
191
|
+
w(a(S), {
|
|
192
|
+
tag: "span",
|
|
193
|
+
variant: "body-xs",
|
|
194
|
+
color: "secondary",
|
|
195
|
+
weight: "semibold"
|
|
196
|
+
}, {
|
|
197
|
+
default: d(() => [
|
|
198
|
+
k(E(a(l)({
|
|
199
|
+
defaultMessage: "Renews",
|
|
200
|
+
description: "Label before the date the subscription renews, shown in the cancel subscription modal",
|
|
201
|
+
id: "subscription_cancellation_modal.renews_label"
|
|
202
|
+
})), 1)
|
|
203
|
+
]),
|
|
204
|
+
_: 1
|
|
205
|
+
}),
|
|
206
|
+
w(a(S), {
|
|
207
|
+
tag: "span",
|
|
208
|
+
variant: "body-xs",
|
|
209
|
+
color: "secondary"
|
|
210
|
+
}, {
|
|
211
|
+
default: d(() => [
|
|
212
|
+
k(E(a(x)), 1)
|
|
213
|
+
]),
|
|
214
|
+
_: 1
|
|
215
|
+
})
|
|
216
|
+
])) : p("", !0),
|
|
217
|
+
B.value ? (u(), v(a(W), {
|
|
218
|
+
key: 1,
|
|
219
|
+
variant: "condensed",
|
|
220
|
+
class: "sv-subscription-cancellation-modal__payment-method",
|
|
221
|
+
"payment-method": B.value
|
|
222
|
+
}, null, 8, ["payment-method"])) : p("", !0)
|
|
223
|
+
])) : p("", !0)
|
|
224
|
+
]),
|
|
225
|
+
_: 1
|
|
226
|
+
})) : p("", !0),
|
|
227
|
+
h.value ? (u(), v(a(U), {
|
|
228
|
+
key: 1,
|
|
229
|
+
class: "sv-subscription-cancellation-modal__error sv-error",
|
|
230
|
+
title: a(V)
|
|
231
|
+
}, null, 8, ["title"])) : p("", !0)
|
|
232
|
+
])
|
|
233
|
+
]),
|
|
234
|
+
_: 1
|
|
235
|
+
}, 8, ["show-modal", "title", "confirm-button-text", "cancel-button-text", "is-loading", "no-click-away", "no-backdrop-close"]));
|
|
236
|
+
}
|
|
237
|
+
});
|
|
238
|
+
export {
|
|
239
|
+
pe as _
|
|
240
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { c as r, u as o, b as a, a as l } from "./customElements-d7Bhfqi_.mjs";
|
|
2
|
+
import { defineComponent as u, computed as p, openBlock as d, createBlock as f, unref as m } from "vue";
|
|
3
|
+
import { _ } from "./Alert.vue.es-xhsk_7Gn.mjs";
|
|
4
|
+
function S() {
|
|
5
|
+
const e = r(), n = o();
|
|
6
|
+
async function s({
|
|
7
|
+
scheduleId: i
|
|
8
|
+
}) {
|
|
9
|
+
return e({
|
|
10
|
+
url: a(
|
|
11
|
+
n.apiUrls.config,
|
|
12
|
+
"portal",
|
|
13
|
+
"pricing-plan-schedules",
|
|
14
|
+
i,
|
|
15
|
+
"on-demand-pricing-items"
|
|
16
|
+
)
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
function t({
|
|
20
|
+
pricingPlanSubscriptionId: i,
|
|
21
|
+
enabledPricings: c
|
|
22
|
+
}) {
|
|
23
|
+
return e({
|
|
24
|
+
url: a(n.apiUrls.config, "portal", "pricing-plan-schedules"),
|
|
25
|
+
options: { method: "POST" },
|
|
26
|
+
data: {
|
|
27
|
+
pricing_plan_subscription_id: i,
|
|
28
|
+
enabled_pricings: c,
|
|
29
|
+
start_at: (/* @__PURE__ */ new Date()).toJSON()
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
getOnDemandPricingItems: s,
|
|
35
|
+
createPricingPlanSchedule: t
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
const P = /* @__PURE__ */ u({
|
|
39
|
+
__name: "SubscriptionCancellationSuccess",
|
|
40
|
+
props: {
|
|
41
|
+
variant: { type: null }
|
|
42
|
+
},
|
|
43
|
+
setup(e) {
|
|
44
|
+
const n = e, { $t: s } = l(), t = p(
|
|
45
|
+
() => n.variant === "RENEW" ? s({
|
|
46
|
+
defaultMessage: "Your subscription has been renewed.",
|
|
47
|
+
id: "subscription_details.renew_success",
|
|
48
|
+
description: "Confirmation shown after a cancellation has been undone"
|
|
49
|
+
}) : s({
|
|
50
|
+
defaultMessage: "Your subscription has been cancelled. You keep access until the end of the billing period.",
|
|
51
|
+
id: "subscription_details.cancel_success",
|
|
52
|
+
description: "Confirmation shown after a subscription has been cancelled"
|
|
53
|
+
})
|
|
54
|
+
);
|
|
55
|
+
return (i, c) => (d(), f(m(_), {
|
|
56
|
+
type: "success",
|
|
57
|
+
title: t.value
|
|
58
|
+
}, null, 8, ["title"]));
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
export {
|
|
62
|
+
P as _,
|
|
63
|
+
S as c
|
|
64
|
+
};
|