@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
|
@@ -1,98 +1,89 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { _ as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { a as g,
|
|
5
|
-
import { _ as
|
|
6
|
-
import { u as b } from "../../useInvoiceData-
|
|
7
|
-
const j = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as l, openBlock as n, createBlock as o, unref as e, renderSlot as v, withCtx as p, mergeProps as m, createCommentVNode as d } from "vue";
|
|
2
|
+
import { _ as u } from "../../InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Ca0qflBR.mjs";
|
|
3
|
+
import { _ as y } from "../../ErrorNotification.vue.es-CWIVt5q9.mjs";
|
|
4
|
+
import { a as g, j as f, k as _, l as O } from "../../customElements-d7Bhfqi_.mjs";
|
|
5
|
+
import { _ as S } from "../../Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs";
|
|
6
|
+
import { u as b } from "../../useInvoiceData-Dya4mmvf.mjs";
|
|
7
|
+
const j = /* @__PURE__ */ l({
|
|
8
8
|
__name: "InvoiceDetails",
|
|
9
9
|
props: {
|
|
10
10
|
invoice: { type: Object }
|
|
11
11
|
},
|
|
12
12
|
setup(t) {
|
|
13
|
-
return (
|
|
13
|
+
return (r, i) => (n(), o(u, {
|
|
14
14
|
class: "sv-invoice-details sv-root sv-component",
|
|
15
15
|
invoice: t.invoice
|
|
16
16
|
}, null, 8, ["invoice"]));
|
|
17
17
|
}
|
|
18
|
-
}),
|
|
18
|
+
}), I = /* @__PURE__ */ l({
|
|
19
19
|
__name: "InvoiceDetails.entry.view",
|
|
20
20
|
props: {
|
|
21
21
|
configuration: { type: Object },
|
|
22
|
-
portalToken: { type: Object },
|
|
23
22
|
environment: { type: String },
|
|
24
23
|
locale: { type: String },
|
|
25
24
|
dateLocale: { type: String },
|
|
26
25
|
messages: { type: Object },
|
|
27
|
-
|
|
28
|
-
secondaryColor: { type: String },
|
|
29
|
-
isShadowRoot: { type: Boolean },
|
|
26
|
+
portalToken: { type: Object },
|
|
30
27
|
experimentalFeatures: { type: Array },
|
|
31
28
|
logLevel: { type: String },
|
|
32
29
|
onLog: { type: Function },
|
|
33
|
-
allowedPortalTypes: { type: Array },
|
|
34
|
-
portalObject: { type: Object },
|
|
35
30
|
cssOverrides: { type: [String, Array] },
|
|
36
|
-
branding: { type: Object }
|
|
31
|
+
branding: { type: Object },
|
|
32
|
+
portalObject: { type: null }
|
|
37
33
|
},
|
|
38
34
|
setup(t) {
|
|
39
|
-
const
|
|
40
|
-
return (c,
|
|
35
|
+
const r = t, { $t: i } = g(), a = b(r.configuration.invoiceId);
|
|
36
|
+
return (c, s) => e(a).isPending.value ? (n(), o(S, {
|
|
41
37
|
key: 0,
|
|
42
38
|
variant: "section",
|
|
43
39
|
class: "sv-invoice-details sv-root sv-component sv-loading min-h-[100px]"
|
|
44
|
-
})) : e(
|
|
45
|
-
invoice: e(
|
|
46
|
-
}, void 0, void 0, 2) : (
|
|
40
|
+
})) : e(a).data.value ? v(c.$slots, "default", {
|
|
41
|
+
invoice: e(a).data.value.invoice
|
|
42
|
+
}, void 0, void 0, 2) : (n(), o(e(y), {
|
|
47
43
|
key: 1,
|
|
48
44
|
class: "sv-invoice-details sv-root sv-component sv-error",
|
|
49
|
-
title: e(
|
|
45
|
+
title: e(i)({
|
|
50
46
|
defaultMessage: "We could not load this invoice. Please try again.",
|
|
51
47
|
description: "Error shown in place of an invoice that failed to load",
|
|
52
48
|
id: "invoice.load_error"
|
|
53
49
|
})
|
|
54
50
|
}, null, 8, ["title"]));
|
|
55
51
|
}
|
|
56
|
-
}),
|
|
52
|
+
}), $ = /* @__PURE__ */ l({
|
|
57
53
|
__name: "InvoiceDetails.entry",
|
|
58
54
|
props: {
|
|
59
55
|
configuration: { type: Object },
|
|
60
|
-
portalToken: { type: Object },
|
|
61
56
|
environment: { type: String },
|
|
62
57
|
locale: { type: String },
|
|
63
58
|
dateLocale: { type: String },
|
|
64
59
|
messages: { type: Object },
|
|
65
|
-
|
|
66
|
-
secondaryColor: { type: String },
|
|
67
|
-
isShadowRoot: { type: Boolean },
|
|
60
|
+
portalToken: { type: Object },
|
|
68
61
|
experimentalFeatures: { type: Array },
|
|
69
62
|
logLevel: { type: String },
|
|
70
63
|
onLog: { type: Function },
|
|
71
|
-
allowedPortalTypes: { type: Array },
|
|
72
|
-
portalObject: { type: Object },
|
|
73
64
|
cssOverrides: { type: [String, Array] },
|
|
74
|
-
branding: { type: Object }
|
|
65
|
+
branding: { type: Object },
|
|
66
|
+
portalObject: { type: null }
|
|
75
67
|
},
|
|
76
68
|
setup(t) {
|
|
77
|
-
const
|
|
78
|
-
return (
|
|
69
|
+
const r = _("invoice-details");
|
|
70
|
+
return (i, a) => {
|
|
79
71
|
var c;
|
|
80
|
-
return
|
|
81
|
-
entry:
|
|
82
|
-
"component-name": e(
|
|
72
|
+
return n(), o(e(f), {
|
|
73
|
+
entry: i.$props,
|
|
74
|
+
"component-name": e(r),
|
|
83
75
|
"allowed-portal-types": ["CUSTOMER"],
|
|
84
|
-
"required-configuration": { invoiceId: (c = t.configuration) == null ? void 0 : c.invoiceId }
|
|
85
|
-
onError: n[0] || (n[0] = (a) => o.$emit("error", a))
|
|
76
|
+
"required-configuration": { invoiceId: (c = t.configuration) == null ? void 0 : c.invoiceId }
|
|
86
77
|
}, {
|
|
87
|
-
default:
|
|
88
|
-
(
|
|
78
|
+
default: p(() => [
|
|
79
|
+
(n(), o(I, m({
|
|
89
80
|
key: t.configuration.invoiceId
|
|
90
|
-
},
|
|
91
|
-
default:
|
|
92
|
-
|
|
81
|
+
}, i.$props), {
|
|
82
|
+
default: p(({ invoice: s }) => [
|
|
83
|
+
s ? (n(), o(j, {
|
|
93
84
|
key: 0,
|
|
94
|
-
invoice:
|
|
95
|
-
}, null, 8, ["invoice"])) :
|
|
85
|
+
invoice: s
|
|
86
|
+
}, null, 8, ["invoice"])) : d("", !0)
|
|
96
87
|
]),
|
|
97
88
|
_: 1
|
|
98
89
|
}, 16))
|
|
@@ -101,10 +92,10 @@ const j = /* @__PURE__ */ p({
|
|
|
101
92
|
}, 8, ["entry", "component-name", "required-configuration"]);
|
|
102
93
|
};
|
|
103
94
|
}
|
|
104
|
-
}), { define:
|
|
105
|
-
|
|
95
|
+
}), { define: w } = O(
|
|
96
|
+
$,
|
|
106
97
|
"invoice-details"
|
|
107
98
|
);
|
|
108
99
|
export {
|
|
109
|
-
|
|
100
|
+
w as defineSolvimonInvoiceDetails
|
|
110
101
|
};
|
|
@@ -1,56 +1,51 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { _ as
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as d, computed as f, openBlock as n, createBlock as o, unref as c, withCtx as p, createCommentVNode as v } from "vue";
|
|
2
|
+
import { _ as y, a as g } from "../../InvoiceEntryView.vue_vue_type_script_setup_true_lang-Dw73a5Yt.mjs";
|
|
3
|
+
import { j as _, k as S, l as O } from "../../customElements-d7Bhfqi_.mjs";
|
|
4
|
+
const b = /* @__PURE__ */ d({
|
|
5
5
|
__name: "InvoiceHeader.entry",
|
|
6
6
|
props: {
|
|
7
|
-
portalToken: { type: Object },
|
|
8
7
|
environment: { type: String },
|
|
9
8
|
locale: { type: String },
|
|
10
9
|
dateLocale: { type: String },
|
|
11
10
|
messages: { type: Object },
|
|
12
|
-
|
|
13
|
-
secondaryColor: { type: String },
|
|
14
|
-
isShadowRoot: { type: Boolean },
|
|
11
|
+
portalToken: { type: Object },
|
|
15
12
|
experimentalFeatures: { type: Array },
|
|
16
13
|
logLevel: { type: String },
|
|
17
14
|
onLog: { type: Function },
|
|
18
|
-
allowedPortalTypes: { type: Array },
|
|
19
|
-
portalObject: { type: Object },
|
|
20
15
|
cssOverrides: { type: [String, Array] },
|
|
21
16
|
branding: { type: Object },
|
|
17
|
+
portalObject: { type: null },
|
|
22
18
|
configuration: { type: Object }
|
|
23
19
|
},
|
|
24
|
-
setup(
|
|
25
|
-
const
|
|
20
|
+
setup(t) {
|
|
21
|
+
const s = S("invoice-header"), i = t, e = f(() => ({
|
|
26
22
|
...i,
|
|
27
23
|
configuration: {
|
|
28
|
-
|
|
24
|
+
showDownloadButton: !0,
|
|
29
25
|
...i.configuration
|
|
30
26
|
}
|
|
31
27
|
}));
|
|
32
|
-
return (
|
|
33
|
-
var
|
|
34
|
-
return n(),
|
|
35
|
-
entry:
|
|
36
|
-
"component-name":
|
|
28
|
+
return (m, j) => {
|
|
29
|
+
var r;
|
|
30
|
+
return n(), o(c(_), {
|
|
31
|
+
entry: m.$props,
|
|
32
|
+
"component-name": c(s),
|
|
37
33
|
"allowed-portal-types": ["CUSTOMER"],
|
|
38
|
-
"required-configuration": { invoiceId: (
|
|
39
|
-
onError: c[0] || (c[0] = (e) => a.$emit("error", e))
|
|
34
|
+
"required-configuration": { invoiceId: (r = t.configuration) == null ? void 0 : r.invoiceId }
|
|
40
35
|
}, {
|
|
41
|
-
default:
|
|
42
|
-
(n(),
|
|
43
|
-
key:
|
|
44
|
-
"invoice-id":
|
|
36
|
+
default: p(() => [
|
|
37
|
+
(n(), o(y, {
|
|
38
|
+
key: e.value.configuration.invoiceId,
|
|
39
|
+
"invoice-id": e.value.configuration.invoiceId
|
|
45
40
|
}, {
|
|
46
|
-
default:
|
|
47
|
-
|
|
41
|
+
default: p(({ invoice: a, payments: l, invoiceDownloadService: u }) => [
|
|
42
|
+
a ? (n(), o(g, {
|
|
48
43
|
key: 0,
|
|
49
|
-
invoice:
|
|
50
|
-
"invoice-download-service":
|
|
51
|
-
payments:
|
|
52
|
-
configuration:
|
|
53
|
-
}, null, 8, ["invoice", "invoice-download-service", "payments", "configuration"])) :
|
|
44
|
+
invoice: a,
|
|
45
|
+
"invoice-download-service": u,
|
|
46
|
+
payments: l.payments.value,
|
|
47
|
+
configuration: e.value.configuration
|
|
48
|
+
}, null, 8, ["invoice", "invoice-download-service", "payments", "configuration"])) : v("", !0)
|
|
54
49
|
]),
|
|
55
50
|
_: 1
|
|
56
51
|
}, 8, ["invoice-id"]))
|
|
@@ -59,10 +54,10 @@ const j = /* @__PURE__ */ u({
|
|
|
59
54
|
}, 8, ["entry", "component-name", "required-configuration"]);
|
|
60
55
|
};
|
|
61
56
|
}
|
|
62
|
-
}), { define:
|
|
63
|
-
|
|
57
|
+
}), { define: h } = O(
|
|
58
|
+
b,
|
|
64
59
|
"invoice-header"
|
|
65
60
|
);
|
|
66
61
|
export {
|
|
67
|
-
|
|
62
|
+
h as defineSolvimonInvoiceHeader
|
|
68
63
|
};
|
|
@@ -1,73 +1,64 @@
|
|
|
1
|
-
import { defineComponent as l, renderSlot as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as
|
|
4
|
-
import {
|
|
1
|
+
import { defineComponent as l, renderSlot as u, unref as r, openBlock as y, createBlock as g, withCtx as c, createVNode as p, normalizeProps as d, guardReactiveProps as f } from "vue";
|
|
2
|
+
import { u as v, _ } from "../../useInvoicesList-Dp3c_cb3.mjs";
|
|
3
|
+
import { u as S } from "../../useLoadInitialData-CwySdYZM.mjs";
|
|
4
|
+
import { j as L, k as b, l as O } from "../../customElements-d7Bhfqi_.mjs";
|
|
5
5
|
const j = 15, h = /* @__PURE__ */ l({
|
|
6
6
|
__name: "InvoicesList.entry.view",
|
|
7
7
|
props: {
|
|
8
|
-
portalToken: { type: Object },
|
|
9
8
|
environment: { type: String },
|
|
10
9
|
locale: { type: String },
|
|
11
10
|
dateLocale: { type: String },
|
|
12
11
|
messages: { type: Object },
|
|
13
|
-
|
|
14
|
-
secondaryColor: { type: String },
|
|
15
|
-
isShadowRoot: { type: Boolean },
|
|
12
|
+
portalToken: { type: Object },
|
|
16
13
|
experimentalFeatures: { type: Array },
|
|
17
14
|
logLevel: { type: String },
|
|
18
15
|
onLog: { type: Function },
|
|
19
|
-
allowedPortalTypes: { type: Array },
|
|
20
|
-
portalObject: { type: Object },
|
|
21
16
|
cssOverrides: { type: [String, Array] },
|
|
22
17
|
branding: { type: Object },
|
|
18
|
+
portalObject: { type: null },
|
|
23
19
|
configuration: { type: Object }
|
|
24
20
|
},
|
|
25
|
-
setup(
|
|
26
|
-
var
|
|
27
|
-
const
|
|
28
|
-
customerId:
|
|
29
|
-
batchSize: ((s = (
|
|
30
|
-
}), { isLoading: e } =
|
|
31
|
-
return (
|
|
32
|
-
isLoading:
|
|
33
|
-
invoices:
|
|
21
|
+
setup(i) {
|
|
22
|
+
var o, s;
|
|
23
|
+
const t = i, n = t.portalObject.customer_id, a = v({
|
|
24
|
+
customerId: n,
|
|
25
|
+
batchSize: ((s = (o = t.configuration) == null ? void 0 : o.pagination) == null ? void 0 : s.batchSize) || j
|
|
26
|
+
}), { isLoading: e } = S(a.fetchInitial());
|
|
27
|
+
return (m, A) => u(m.$slots, "default", {
|
|
28
|
+
isLoading: r(e),
|
|
29
|
+
invoices: r(a)
|
|
34
30
|
});
|
|
35
31
|
}
|
|
36
|
-
}),
|
|
32
|
+
}), I = /* @__PURE__ */ l({
|
|
37
33
|
__name: "InvoicesList.entry",
|
|
38
34
|
props: {
|
|
39
|
-
portalToken: { type: Object },
|
|
40
35
|
environment: { type: String },
|
|
41
36
|
locale: { type: String },
|
|
42
37
|
dateLocale: { type: String },
|
|
43
38
|
messages: { type: Object },
|
|
44
|
-
|
|
45
|
-
secondaryColor: { type: String },
|
|
46
|
-
isShadowRoot: { type: Boolean },
|
|
39
|
+
portalToken: { type: Object },
|
|
47
40
|
experimentalFeatures: { type: Array },
|
|
48
41
|
logLevel: { type: String },
|
|
49
42
|
onLog: { type: Function },
|
|
50
|
-
allowedPortalTypes: { type: Array },
|
|
51
|
-
portalObject: { type: Object },
|
|
52
43
|
cssOverrides: { type: [String, Array] },
|
|
53
44
|
branding: { type: Object },
|
|
45
|
+
portalObject: { type: null },
|
|
54
46
|
configuration: { type: Object }
|
|
55
47
|
},
|
|
56
|
-
setup(
|
|
57
|
-
const
|
|
58
|
-
return (
|
|
59
|
-
entry:
|
|
60
|
-
"component-name":
|
|
61
|
-
"allowed-portal-types": ["CUSTOMER"]
|
|
62
|
-
onError: o[0] || (o[0] = (e) => t.$emit("error", e))
|
|
48
|
+
setup(i) {
|
|
49
|
+
const t = b("invoices-list");
|
|
50
|
+
return (n, a) => (y(), g(r(L), {
|
|
51
|
+
entry: n.$props,
|
|
52
|
+
"component-name": r(t),
|
|
53
|
+
"allowed-portal-types": ["CUSTOMER"]
|
|
63
54
|
}, {
|
|
64
|
-
default:
|
|
65
|
-
|
|
66
|
-
default:
|
|
67
|
-
|
|
68
|
-
configuration:
|
|
55
|
+
default: c(() => [
|
|
56
|
+
p(h, d(f(n.$props)), {
|
|
57
|
+
default: c(({ invoices: e, isLoading: o }) => [
|
|
58
|
+
p(_, {
|
|
59
|
+
configuration: i.configuration,
|
|
69
60
|
invoices: e.items.value,
|
|
70
|
-
"is-loading":
|
|
61
|
+
"is-loading": o || e.isPending.value,
|
|
71
62
|
error: e.error.value,
|
|
72
63
|
"has-more-items": e.hasNextBatch.value,
|
|
73
64
|
onLoadMore: e.fetchMore
|
|
@@ -79,10 +70,10 @@ const j = 15, h = /* @__PURE__ */ l({
|
|
|
79
70
|
_: 1
|
|
80
71
|
}, 8, ["entry", "component-name"]));
|
|
81
72
|
}
|
|
82
|
-
}), { define:
|
|
83
|
-
|
|
73
|
+
}), { define: T } = O(
|
|
74
|
+
I,
|
|
84
75
|
"invoices-list"
|
|
85
76
|
);
|
|
86
77
|
export {
|
|
87
|
-
|
|
78
|
+
T as defineSolvimonInvoicesList
|
|
88
79
|
};
|
|
@@ -1,58 +1,54 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { _ as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { a as f,
|
|
5
|
-
import { _ as
|
|
6
|
-
import { u as b } from "../../useInvoiceData-
|
|
7
|
-
const j = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as c, openBlock as n, createBlock as o, createCommentVNode as l, unref as t, renderSlot as u, withCtx as y, mergeProps as d } from "vue";
|
|
2
|
+
import { _ as v } from "../../PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DdmUoiet.mjs";
|
|
3
|
+
import { _ as g } from "../../ErrorNotification.vue.es-CWIVt5q9.mjs";
|
|
4
|
+
import { a as f, j as _, k as h, l as O } from "../../customElements-d7Bhfqi_.mjs";
|
|
5
|
+
import { _ as S } from "../../Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs";
|
|
6
|
+
import { u as b } from "../../useInvoiceData-Dya4mmvf.mjs";
|
|
7
|
+
const j = /* @__PURE__ */ c({
|
|
8
8
|
__name: "PaymentHistory",
|
|
9
9
|
props: {
|
|
10
10
|
customer: { type: Object },
|
|
11
11
|
paymentAttempts: { type: Array }
|
|
12
12
|
},
|
|
13
13
|
setup(e) {
|
|
14
|
-
return (
|
|
14
|
+
return (i, r) => e.paymentAttempts.length ? (n(), o(v, {
|
|
15
15
|
key: 0,
|
|
16
16
|
class: "sv-payment-history sv-root sv-component",
|
|
17
17
|
"payment-attempts": e.paymentAttempts,
|
|
18
18
|
customer: e.customer
|
|
19
19
|
}, null, 8, ["payment-attempts", "customer"])) : l("", !0);
|
|
20
20
|
}
|
|
21
|
-
}),
|
|
21
|
+
}), k = /* @__PURE__ */ c({
|
|
22
22
|
__name: "PaymentHistory.entry.view",
|
|
23
23
|
props: {
|
|
24
24
|
configuration: { type: Object },
|
|
25
|
-
portalToken: { type: Object },
|
|
26
25
|
environment: { type: String },
|
|
27
26
|
locale: { type: String },
|
|
28
27
|
dateLocale: { type: String },
|
|
29
28
|
messages: { type: Object },
|
|
30
|
-
|
|
31
|
-
secondaryColor: { type: String },
|
|
32
|
-
isShadowRoot: { type: Boolean },
|
|
29
|
+
portalToken: { type: Object },
|
|
33
30
|
experimentalFeatures: { type: Array },
|
|
34
31
|
logLevel: { type: String },
|
|
35
32
|
onLog: { type: Function },
|
|
36
|
-
allowedPortalTypes: { type: Array },
|
|
37
|
-
portalObject: { type: Object },
|
|
38
33
|
cssOverrides: { type: [String, Array] },
|
|
39
|
-
branding: { type: Object }
|
|
34
|
+
branding: { type: Object },
|
|
35
|
+
portalObject: { type: null }
|
|
40
36
|
},
|
|
41
37
|
setup(e) {
|
|
42
|
-
const
|
|
43
|
-
return (
|
|
38
|
+
const i = e, { $t: r } = f(), a = b(i.configuration.invoiceId, { includePayments: !0 });
|
|
39
|
+
return (p, m) => {
|
|
44
40
|
var s;
|
|
45
|
-
return t(
|
|
41
|
+
return t(a).isPending.value ? (n(), o(S, {
|
|
46
42
|
key: 0,
|
|
47
43
|
variant: "section",
|
|
48
44
|
class: "sv-payment-history sv-root sv-component sv-loading min-h-[100px]"
|
|
49
|
-
})) : t(
|
|
50
|
-
invoice: t(
|
|
51
|
-
paymentAttempts: (s = t(
|
|
52
|
-
}, void 0, void 0, 2) : (
|
|
45
|
+
})) : t(a).data.value ? u(p.$slots, "default", {
|
|
46
|
+
invoice: t(a).data.value.invoice,
|
|
47
|
+
paymentAttempts: (s = t(a).data.value.paymentAttempts) == null ? void 0 : s.data
|
|
48
|
+
}, void 0, void 0, 2) : (n(), o(t(g), {
|
|
53
49
|
key: 1,
|
|
54
50
|
class: "sv-payment-history sv-root sv-component sv-error",
|
|
55
|
-
title: t(
|
|
51
|
+
title: t(r)({
|
|
56
52
|
defaultMessage: "We could not load the payment history. Please try again.",
|
|
57
53
|
description: "Error shown in place of the payment history when it failed to load",
|
|
58
54
|
id: "payment_history.load_error"
|
|
@@ -60,45 +56,40 @@ const j = /* @__PURE__ */ m({
|
|
|
60
56
|
}, null, 8, ["title"]));
|
|
61
57
|
};
|
|
62
58
|
}
|
|
63
|
-
}), $ = /* @__PURE__ */
|
|
59
|
+
}), $ = /* @__PURE__ */ c({
|
|
64
60
|
__name: "PaymentHistory.entry",
|
|
65
61
|
props: {
|
|
66
62
|
configuration: { type: Object },
|
|
67
|
-
portalToken: { type: Object },
|
|
68
63
|
environment: { type: String },
|
|
69
64
|
locale: { type: String },
|
|
70
65
|
dateLocale: { type: String },
|
|
71
66
|
messages: { type: Object },
|
|
72
|
-
|
|
73
|
-
secondaryColor: { type: String },
|
|
74
|
-
isShadowRoot: { type: Boolean },
|
|
67
|
+
portalToken: { type: Object },
|
|
75
68
|
experimentalFeatures: { type: Array },
|
|
76
69
|
logLevel: { type: String },
|
|
77
70
|
onLog: { type: Function },
|
|
78
|
-
allowedPortalTypes: { type: Array },
|
|
79
|
-
portalObject: { type: Object },
|
|
80
71
|
cssOverrides: { type: [String, Array] },
|
|
81
|
-
branding: { type: Object }
|
|
72
|
+
branding: { type: Object },
|
|
73
|
+
portalObject: { type: null }
|
|
82
74
|
},
|
|
83
75
|
setup(e) {
|
|
84
|
-
const
|
|
85
|
-
return (
|
|
86
|
-
var
|
|
87
|
-
return
|
|
88
|
-
entry:
|
|
89
|
-
"component-name": t(
|
|
76
|
+
const i = h("payment-history");
|
|
77
|
+
return (r, a) => {
|
|
78
|
+
var p;
|
|
79
|
+
return n(), o(t(_), {
|
|
80
|
+
entry: r.$props,
|
|
81
|
+
"component-name": t(i),
|
|
90
82
|
"allowed-portal-types": ["CUSTOMER"],
|
|
91
|
-
"required-configuration": { invoiceId: (
|
|
92
|
-
onError: o[0] || (o[0] = (i) => n.$emit("error", i))
|
|
83
|
+
"required-configuration": { invoiceId: (p = e.configuration) == null ? void 0 : p.invoiceId }
|
|
93
84
|
}, {
|
|
94
|
-
default:
|
|
95
|
-
(
|
|
85
|
+
default: y(() => [
|
|
86
|
+
(n(), o(k, d({
|
|
96
87
|
key: e.configuration.invoiceId
|
|
97
|
-
},
|
|
98
|
-
default:
|
|
99
|
-
|
|
88
|
+
}, r.$props), {
|
|
89
|
+
default: y(({ invoice: m, paymentAttempts: s }) => [
|
|
90
|
+
m && s ? (n(), o(j, {
|
|
100
91
|
key: 0,
|
|
101
|
-
customer:
|
|
92
|
+
customer: m.customer,
|
|
102
93
|
"payment-attempts": s
|
|
103
94
|
}, null, 8, ["customer", "payment-attempts"])) : l("", !0)
|
|
104
95
|
]),
|
|
@@ -109,10 +100,10 @@ const j = /* @__PURE__ */ m({
|
|
|
109
100
|
}, 8, ["entry", "component-name", "required-configuration"]);
|
|
110
101
|
};
|
|
111
102
|
}
|
|
112
|
-
}), { define:
|
|
103
|
+
}), { define: C } = O(
|
|
113
104
|
$,
|
|
114
105
|
"payment-history"
|
|
115
106
|
);
|
|
116
107
|
export {
|
|
117
|
-
|
|
108
|
+
C as defineSolvimonPaymentHistory
|
|
118
109
|
};
|