@solvimon/solvimon-web 0.1.0-alpha.30 → 0.1.0-alpha.32
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-Cx203VXo.mjs +97 -0
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-BMHhLZnu.mjs +89 -0
- package/dist/{Alert.vue.es-ZPG49yR_.mjs → Alert.vue.es-DHJpiSdR.mjs} +1 -1
- package/dist/{Amount.vue.es-DPqHB8Xd.mjs → Amount.vue.es-CofcgmXt.mjs} +1 -1
- package/dist/AuthProvider.handle-BpFblzFx.mjs +46 -0
- package/dist/{Avatar.vue.es-geDQsZwu.mjs → Avatar.vue.es-CJdXXOiG.mjs} +1 -1
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BD84aBiU.mjs +64 -0
- package/dist/BillingInformationForm.lib-ad8B2Y1O.mjs +32 -0
- package/dist/BillingInformationForm.vue_vue_type_script_setup_true_lang-F5OVG0kO.mjs +340 -0
- package/dist/BillingInformationModal-Do3Fuu8A.mjs +85 -0
- package/dist/{Button.vue.es-j7iYlqtJ.mjs → Button.vue.es-CW7XfMBF.mjs} +1 -1
- package/dist/{ChargeOnDemandModal-CR01PkP_.mjs → ChargeOnDemandModal-B4ShPKLS.mjs} +46 -45
- package/dist/{Chip.vue.es-Dxx_0dte.mjs → Chip.vue.es-CYwWHyAT.mjs} +2 -2
- package/dist/CompanyPurchaseToggle.vue_vue_type_script_setup_true_lang-CVXHCSPb.mjs +510 -0
- package/dist/{Comparators.vue.es-DQBI3f7m.mjs → Comparators.vue.es-DYrKlE8t.mjs} +1 -1
- package/dist/{ContentWithAsideLayout-Bnbsq8_5.mjs → ContentWithAsideLayout-C2kFcft1.mjs} +1 -1
- package/dist/{ContextMenu.vue.es-BJO4U47Q.mjs → ContextMenu.vue.es-EXTx0NEt.mjs} +10 -10
- package/dist/{CustomerBillingInformation.vue.es-CmNpqcBw.mjs → CustomerBillingInformation.vue.es-CSKG6V3T.mjs} +3 -3
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DZZuAHIE.mjs +217 -0
- package/dist/CustomerShippingAddresses-Bdy4XWjE.mjs +282 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BEKwWob_.mjs +3124 -0
- package/dist/{DividerText.vue.es-BusbyeAI.mjs → DividerText.vue.es-Dq0JzI8C.mjs} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-wPma8Os-.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-3gf8pvR7.mjs} +3 -3
- package/dist/{ErrorNotification.vue.es-F068p7PY.mjs → ErrorNotification.vue.es-Cw7fqCg1.mjs} +2 -2
- package/dist/{FormMessage.vue.es-CwMQpIAW.mjs → FormMessage.vue.es-MrzQoSae.mjs} +1 -1
- package/dist/{IconButton.vue.es-D8DtBW9i.mjs → IconButton.vue.es-CpQbFw0x.mjs} +2 -2
- package/dist/{IconTitle.vue.es-6VJtjJX2.mjs → IconTitle.vue.es-CcOIFjbE.mjs} +3 -3
- package/dist/{Input.vue.es-BLyHcmu4.mjs → Input.vue.es-Cd55vQri.mjs} +4 -4
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dl1vTzQD.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CqkGCbvg.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DYskT3r7.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-BUu5M_gx.mjs} +7 -7
- package/dist/{InvoicePreview.vue.es-Cpf66_xV.mjs → InvoicePreview.vue.es-DHh5wruk.mjs} +7 -7
- package/dist/{InvoicePricingClauseChip.vue.es-CDrAE901.mjs → InvoicePricingClauseChip.vue.es-ZSOBp1se.mjs} +4 -4
- package/dist/{Label.vue.es-es7ZUBSP.mjs → Label.vue.es-CB6G8Krh.mjs} +3 -3
- package/dist/LoadFailedNotice.vue_vue_type_script_setup_true_lang-BZCtO2Er.mjs +20 -0
- package/dist/{Modal.vue.es-eeR9FmvQ.mjs → Modal.vue.es-CJFTVFSZ.mjs} +138 -127
- package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-D0pwpqIC.mjs +789 -0
- package/dist/{PaymentCompletedCard.vue_vue_type_script_setup_true_lang-CrjVPks0.mjs → PaymentCompletedCard.vue_vue_type_script_setup_true_lang-D08Qpgb0.mjs} +2 -2
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DyjzaTK1.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-dl52PYcq.mjs} +4 -4
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BHQrWy6r.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D0priVnA.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-CN42ewCn.mjs → PaymentHistoryBlock-BSXlneqM.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C3Y5fHvA.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CXy0XGpn.mjs} +5 -5
- package/dist/{PaymentIntegrationForm-D3Ye7LZ5.mjs → PaymentIntegrationForm-Diua0GGJ.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CLlm_Q2j.mjs +161 -0
- package/dist/{PaymentIntegrationFormAdyen-Fm-diCCO.mjs → PaymentIntegrationFormAdyen-D4FP0Vj5.mjs} +302 -282
- package/dist/{PaymentIntegrationFormStripe-BANBL6za.mjs → PaymentIntegrationFormStripe-vFzF_sCJ.mjs} +126 -117
- package/dist/{PaymentMethod.vue.es-t3-VyoE8.mjs → PaymentMethod.vue.es-vs6SaZOh.mjs} +200 -150
- package/dist/{PaymentMethodForm-CqP3GoNj.mjs → PaymentMethodForm-Buhe0aRQ.mjs} +1 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-RPPdBw_e.mjs +165 -0
- package/dist/{PaymentMethodSelector.vue_vue_type_script_setup_true_lang-D5wmRuCf.mjs → PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DprL5TR8.mjs} +7 -7
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-DhkkiJaQ.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-BXbevI3r.mjs} +28 -26
- package/dist/PaymentMethodsModal-CnJP9UKp.mjs +192 -0
- package/dist/PlanCustomizationEditor-KHLSEUbb.mjs +864 -0
- package/dist/{PortalLinkUnverified-Cp60_kRJ.mjs → PortalLinkUnverified-DlZAkE93.mjs} +3 -3
- package/dist/{PortalNotAvailable-DzSQnfzw.mjs → PortalNotAvailable-CKIomNrm.mjs} +2 -2
- package/dist/{PricingGroupRangeInput.vue.es-Srq_3cga.mjs → PricingGroupRangeInput.vue.es-oHD-IT12.mjs} +8 -8
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-oRijnVnZ.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-wCW8YZHM.mjs} +16 -15
- package/dist/{RadioGroupExtended.vue.es-BbBMDf6l.mjs → RadioGroupExtended.vue.es-DsShmkKZ.mjs} +5 -5
- package/dist/Section.vue.es-DYmEtgBj.mjs +88 -0
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-OM19NPBh.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CANXYTzu.mjs} +2 -2
- package/dist/ShippingAddressForm.vue_vue_type_script_setup_true_lang-CJp6ddhZ.mjs +144 -0
- package/dist/ShippingAddressesModal-Gxv2KxaW.mjs +283 -0
- package/dist/{StepInput.vue.es-ieh4EuJ7.mjs → StepInput.vue.es-sqA-VSsn.mjs} +4 -4
- package/dist/SubscriptionCancellationModal-DfAZ_uW6.mjs +4 -0
- package/dist/SubscriptionCancellationModal.vue_vue_type_script_setup_true_lang-BlbiDNIu.mjs +240 -0
- package/dist/SubscriptionCancellationSuccess.vue_vue_type_script_setup_true_lang-C1ko2xvR.mjs +64 -0
- package/dist/SubscriptionDetails.entry.ce-CdWV-8WN.mjs +764 -0
- package/dist/{SubscriptionSchedules-DMxX3GpK.mjs → SubscriptionSchedules-BfdVn1XA.mjs} +1 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-C8q8Q6h5.mjs +5413 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-qQ9gJOIs.mjs +90 -0
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-CHlXP_2x.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-DYWjTzPV.mjs} +133 -108
- package/dist/Toggle.vue.es-S2g8WGY_.mjs +99 -0
- package/dist/{TooltipParagraph.vue.es-BES3zsYN.mjs → TooltipParagraph.vue.es-Bt-7LHr3.mjs} +18 -18
- package/dist/{TranslationOverride.vue_vue_type_script_setup_true_lang-BJmlNrXT.mjs → TranslationOverride.vue_vue_type_script_setup_true_lang-Cp_sFa52.mjs} +1 -1
- package/dist/TrialChip.vue.es-VZwQX079.mjs +47 -0
- package/dist/addonQuantity-D3bGVqjL.mjs +128 -0
- package/dist/adyen-CHgq2l6n.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 +1087 -1019
- 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-B8c354Nu.mjs} +802 -768
- package/dist/{customer-lf6S5DBR.mjs → customer-CP-Wz7JO.mjs} +1 -1
- package/dist/{de-DE-Cyj_NtiI.mjs → de-DE-C9HrzHpE.mjs} +71 -5
- package/dist/{de-DE-UJ6X6jXu.mjs → de-DE-DAQmgEy5.mjs} +82 -19
- package/dist/{formControl-BZQLHnOO.mjs → formControl-C18sw44K.mjs} +275 -275
- package/dist/{formatting.es-RclXHhKo.mjs → formatting.es-DlJEzreG.mjs} +16 -13
- package/dist/{fr-FR-CRFoWQ7J.mjs → fr-FR-CHR3VWvd.mjs} +71 -5
- package/dist/{fr-FR-Cvvbkwlj.mjs → fr-FR-fz51-Ubw.mjs} +79 -16
- package/dist/{countryData.es-BegoD-cZ.mjs → getCountryNameByCode.es-OGxn_zT0.mjs} +7 -2
- package/dist/icon-sprite.svg.es-2S3rv8NW.mjs +4 -0
- package/dist/index.es-Bv55VtdE.mjs +633 -0
- package/dist/{index.es-BrVTOW5D.mjs → index.es-C7J3WGGo.mjs} +4 -4
- package/dist/index.mjs +37 -33
- package/dist/invoices-I7PghcPV.mjs +143 -0
- package/dist/{it-IT-DnJP5URH.mjs → it-IT-BpCkTMZL.mjs} +73 -10
- package/dist/{it-IT-DObZEc-U.mjs → it-IT-Dzc7DmmL.mjs} +71 -5
- package/dist/{nl-NL-q9xfTZF0.mjs → nl-NL-22C8OcIM.mjs} +79 -16
- package/dist/{nl-NL-C02xHilF.mjs → nl-NL-Dut_QwsY.mjs} +71 -5
- package/dist/paymentIntegrationFormLoaders-BFMAMpcA.mjs +31 -0
- package/dist/{paymentMethods-8w-ccfY_.mjs → paymentMethods-aGKIi7DS.mjs} +22 -21
- package/dist/{paymentOutcome-B6sW1eCV.mjs → paymentOutcome-Cv7hTFVu.mjs} +1 -1
- package/dist/paymentRedirect-DaS8Kccc.mjs +66 -0
- package/dist/payments-BKoKpoLN.mjs +71 -0
- package/dist/preloadPaymentIntegrationForms-Buwal_JR.mjs +9 -0
- package/dist/pricing-Y-7ELzN-.mjs +42 -0
- package/dist/{pricingItem.es-bCPArbTa.mjs → pricingItem.es-BafitMMY.mjs} +1 -1
- package/dist/pricingPlanScheduleOverrides-CGm_-jJq.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 +1322 -0
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +209 -133
- package/dist/screens/PayInvoice/PayInvoice.mjs +283 -275
- 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/{subscription-BwzkagDI.mjs → subscription-DQ5mRp_e.mjs} +10 -10
- package/dist/subscriptions-B7dNqi1C.mjs +99 -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/components/wallets/AutoTopUpModal/AutoTopUpModal.types.d.ts +3 -1
- 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 +199 -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-BCtk-FGU.mjs} +1 -1
- package/dist/useAddressFormats-CtE4QaVU.mjs +1998 -0
- package/dist/useCheckoutForm-BhXcmnUi.mjs +3355 -0
- package/dist/{useCustomer-CTMhg1nd.mjs → useCustomer-mQysxUwp.mjs} +2 -2
- package/dist/useDefaultPaymentMethod-Dliq6_Yw.mjs +39 -0
- package/dist/useExperimentalFeature-Bw6bBtay.mjs +6 -0
- package/dist/useHostEvent-MtRG6W2B.mjs +12 -0
- package/dist/{useIncrementalLoading-CBVutPH8.mjs → useIncrementalLoading-CJSj1945.mjs} +2 -2
- package/dist/{useInvoiceData-qUGbBAQK.mjs → useInvoiceData-BEZIvw32.mjs} +2 -2
- package/dist/{useInvoicesList-wJvZAJpW.mjs → useInvoicesList-CrXjsmei.mjs} +140 -138
- package/dist/{sorting.es-C0pdMgX0.mjs → useIsMounted.es-BNPhTTHE.mjs} +11 -10
- package/dist/{useLoadInitialData-UvfYXgbi.mjs → useLoadInitialData-Bomj_1mo.mjs} +1 -1
- package/dist/usePaymentFormHold-CYZ4BdOw.mjs +19 -0
- package/dist/{usePaymentMethodAvailability-35l4pWdH.mjs → usePaymentMethodAvailability-DR_neLeZ.mjs} +4 -4
- package/dist/usePaymentMethodOptions-CuHoQx3K.mjs +67 -0
- package/dist/{usePaymentMethods-De7hlLHo.mjs → usePaymentMethods-BDdetXts.mjs} +2 -2
- package/dist/{usePayments-hWS7fnOx.mjs → usePayments-B5Z9Kfbv.mjs} +20 -18
- package/dist/usePortal-DuLR5Mid.mjs +14 -0
- package/dist/{useService-BwzIBIRp.mjs → useService-2aOFBTxU.mjs} +1 -1
- package/dist/useShippingAddresses-BvThNpez.mjs +122 -0
- package/dist/useSubscription-Dzo-kBpQ.mjs +35 -0
- package/dist/useSubscriptionActions-CWaNRoZ7.mjs +44 -0
- package/dist/useWatchDebounced-DkXgKe0E.mjs +20 -0
- package/dist/{wallets.es-eH2C2ygn.mjs → wallets.es-DRlUVd2R.mjs} +1 -1
- package/package.json +41 -11
- 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/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DJnr5D56.mjs +0 -2936
- 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/Section.vue.es-Oqn1wGPZ.mjs +0 -72
- package/dist/ShippingAddressesModal-c7nqf4Ny.mjs +0 -418
- package/dist/SubscriptionDetails.entry.ce-uYv45FGH.mjs +0 -1044
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DXro_64f.mjs +0 -5200
- 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/icon-sprite.svg.es-BWBB8SGw.mjs +0 -4
- 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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as T, createPropsRestProxy as P, computed as m, openBlock as f, createBlock as v, unref as K, mergeProps as U, withCtx as d, createTextVNode as E, toDisplayString as x, useModel as j, ref as F, onMounted as H, watch as L, createSlots as G, createVNode as p, normalizeClass as w, createElementVNode as V, withKeys as N, withModifiers as C, createCommentVNode as B, renderSlot as J, mergeModels as $ } from "vue";
|
|
2
|
-
import { _ as k } from "./IconButton.vue.es-
|
|
3
|
-
import { _ as O } from "./Input.vue.es-
|
|
4
|
-
import { d as R } from "./customElements-
|
|
5
|
-
import { _ as Q } from "./Chip.vue.es-
|
|
2
|
+
import { _ as k } from "./IconButton.vue.es-CpQbFw0x.mjs";
|
|
3
|
+
import { _ as O } from "./Input.vue.es-Cd55vQri.mjs";
|
|
4
|
+
import { d as R } from "./customElements-B8c354Nu.mjs";
|
|
5
|
+
import { _ as Q } from "./Chip.vue.es-CYwWHyAT.mjs";
|
|
6
6
|
const W = /* @__PURE__ */ T({
|
|
7
7
|
__name: "DeltaChip",
|
|
8
8
|
props: {
|
|
@@ -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-vs6SaZOh.mjs";
|
|
3
|
+
import { _ as U } from "./ErrorNotification.vue.es-Cw7fqCg1.mjs";
|
|
4
|
+
import { _ as K } from "./Section.vue.es-DYmEtgBj.mjs";
|
|
5
|
+
import { a as I, e as q, d as S } from "./customElements-B8c354Nu.mjs";
|
|
6
|
+
import { M as G } from "./Modal.vue.es-CJFTVFSZ.mjs";
|
|
7
|
+
import { c as H } from "./subscriptions-B7dNqi1C.mjs";
|
|
8
|
+
import { _ as J } from "./SubscriptionSummary.vue_vue_type_script_setup_true_lang-qQ9gJOIs.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-B8c354Nu.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-DHJpiSdR.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
|
+
};
|