@solvimon/solvimon-web 0.1.0-alpha.28 → 0.1.0-alpha.29
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 +26 -1
- package/dist/{Alert.vue.es-lIiAWf2S.mjs → Alert.vue.es-CNrEaLvh.mjs} +58 -46
- package/dist/AuthProvider.handle-DKfNs8rr.mjs +50 -0
- package/dist/{Avatar.vue.es-Beg7umjO.mjs → Avatar.vue.es-r0NbcIib.mjs} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-DBGe1PvD.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-Cp4yGqaw.mjs} +8 -8
- package/dist/{Button.vue.es-rh6mITmN.mjs → Button.vue.es-Zw--kuaU.mjs} +4 -4
- package/dist/{ChargeOnDemandModal-CPjPa_uq.mjs → ChargeOnDemandModal-B8FDkS9U.mjs} +35 -34
- package/dist/Checkout.entry.ce-DsGl-5aR.mjs +4202 -0
- package/dist/CheckoutAddressFields.vue_vue_type_script_setup_true_lang-2D8VM_7W.mjs +828 -0
- package/dist/{Chip.vue.es-Cn2R_0mE.mjs → Chip.vue.es-D3UDSyXC.mjs} +3 -3
- package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
- package/dist/{ContextMenu.vue.es-DRxsa7bZ.mjs → ContextMenu.vue.es-B9mFpUQK.mjs} +87 -88
- package/dist/{CustomerBillingInformation.vue.es-DQfL5RMR.mjs → CustomerBillingInformation.vue.es-B8NiQaJs.mjs} +3 -3
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Ct-eYaEN.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DBivC5Eb.mjs} +21 -20
- package/dist/CustomerShippingAddresses-Bj8Y17O8.mjs +397 -0
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BzTSwo4i.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BmPKfIjT.mjs} +798 -792
- package/dist/{DividerText.vue.es-M0XqSz55.mjs → DividerText.vue.es-CNbgif-3.mjs} +1 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CVP-7ne3.mjs +55 -0
- package/dist/{ErrorNotification.vue.es-CKlt4hr2.mjs → ErrorNotification.vue.es-DNd65mQq.mjs} +2 -2
- package/dist/FormMessage.vue.es-Cjv358Ab.mjs +39 -0
- package/dist/{IconButton.vue.es-oe4MVBK1.mjs → IconButton.vue.es-C8lYFx5_.mjs} +2 -2
- package/dist/{IconTitle.vue.es-BO6KBS4v.mjs → IconTitle.vue.es-O2kcqgKm.mjs} +3 -3
- package/dist/{Input.vue.es-DAlPmtE_.mjs → Input.vue.es-D8Oj8MWv.mjs} +23 -22
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CCTl5GWa.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-rhqYVdfV.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DMGqj_Uk.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-06R-M8Q3.mjs} +4 -4
- package/dist/InvoicePreview.vue.es-4Q2hzaFS.mjs +286 -0
- package/dist/InvoicePricingClauseChip.vue.es-DKU0xu0t.mjs +124 -0
- package/dist/Label.vue.es-DtpLM1KH.mjs +113 -0
- package/dist/{Modal.vue.es-CTNACAst.mjs → Modal.vue.es-C8ZcO117.mjs} +109 -103
- package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-3DQLCR3U.mjs +441 -0
- package/dist/PaymentCompletedCard.vue_vue_type_script_setup_true_lang-DfTb9psX.mjs +48 -0
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DLfAfB_m.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-BoGTtg5G.mjs} +46 -88
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CKm-XYuF.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BIAm22Kq.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-BmA8jbMb.mjs → PaymentHistoryBlock-BvY2nXGV.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BDMse2lO.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-bQKhUonq.mjs} +4 -4
- package/dist/{PaymentIntegrationForm-D1Xw-xIt.mjs → PaymentIntegrationForm-CcfQSzKM.mjs} +1 -1
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCxw0PCv.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvzcLJVq.mjs} +68 -69
- package/dist/{PaymentIntegrationFormAdyen-CfT5aD4L.mjs → PaymentIntegrationFormAdyen-DqgDfO6K.mjs} +126 -117
- package/dist/{PaymentIntegrationFormStripe-DKXJ-mjd.mjs → PaymentIntegrationFormStripe-BYdAkvLt.mjs} +193 -179
- package/dist/{PaymentMethod.vue.es-Cauxx4Xr.mjs → PaymentMethod.vue.es-b0p3a0L-.mjs} +7 -7
- package/dist/{PaymentMethodForm-CypZOYUZ.mjs → PaymentMethodForm-BsTrTwCg.mjs} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-De8FgdYD.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-sUOmLORl.mjs} +7 -7
- package/dist/{PaymentMethodSelector.vue_vue_type_script_setup_true_lang-Dw28tfpD.mjs → PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DsnAhR79.mjs} +36 -35
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-OtjVO7lR.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CSW4LfmH.mjs} +7 -7
- package/dist/{PlanCustomizationEditor-Xtww2r9K.mjs → PlanCustomizationEditor-D29N4HUM.mjs} +9 -9
- package/dist/PortalLinkUnverified-B_EE2wTJ.mjs +52 -0
- package/dist/{PortalNotAvailable-B_59GUwN.mjs → PortalNotAvailable-DPE9y37H.mjs} +2 -2
- package/dist/{PricingGroupRangeInput.vue.es-C9LJW3b8.mjs → PricingGroupRangeInput.vue.es-tIMXIhpZ.mjs} +14 -13
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DdWxoB8q.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DqxWxSQe.mjs} +32 -32
- package/dist/RadioGroupExtended.vue.es-3nDXqIGi.mjs +176 -0
- package/dist/{Section.vue.es-iS8hVGWA.mjs → Section.vue.es-CvX9tg2f.mjs} +1 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Cl7I1Apo.mjs +60 -0
- package/dist/ShippingAddressesModal-C4p1IXXk.mjs +418 -0
- package/dist/{StepInput.vue.es-Dpan1RQd.mjs → StepInput.vue.es-DweyzpkL.mjs} +4 -4
- package/dist/{SubscriptionDetails.entry.ce-DufQX3uI.mjs → SubscriptionDetails.entry.ce-D5SwM0YS.mjs} +230 -225
- package/dist/{SubscriptionSchedules-DAahcNoI.mjs → SubscriptionSchedules-BZqlpAtk.mjs} +1 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BH7DdOWK.mjs +5185 -0
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-Wmjqy7RZ.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-DoJxiqVB.mjs} +3 -3
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BeRLuEyR.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BbjdBHSQ.mjs} +23 -22
- package/dist/TooltipParagraph.vue.es-Dw0ndjle.mjs +132 -0
- package/dist/TranslationOverride.vue_vue_type_script_setup_true_lang-BhjZVMSx.mjs +31 -0
- package/dist/{TrialChip.vue.es-B-XBSHWE.mjs → TrialChip.vue.es-DOopmaXA.mjs} +2 -2
- package/dist/{api.es-QaC926Xu.mjs → api.es-qgvzNMU-.mjs} +2 -2
- package/dist/{cn.es-2bVdkiFV.mjs → cn.es-B8acFrov.mjs} +380 -476
- package/dist/components/BillingInformation/BillingInformation.mjs +9 -7
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +57 -54
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +20 -18
- package/dist/components/Invoice/Invoice.mjs +2660 -193
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +6 -4
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +18 -17
- package/dist/components/InvoicesList/InvoicesList.mjs +13 -11
- package/dist/components/PaymentHistory/PaymentHistory.mjs +8 -6
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +19 -17
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +19 -17
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +20 -18
- package/dist/components/WalletBalances/WalletBalances.mjs +17 -15
- package/dist/customElements-BTj4ii4f.mjs +5072 -0
- package/dist/{customer-CqddTiOr.mjs → customer-BIjC0CWJ.mjs} +1 -1
- package/dist/customer.es-DQKl6wFt.mjs +24 -0
- package/dist/{de-DE-BW8dMvhW.mjs → de-DE-DBbERiFr.mjs} +38 -0
- package/dist/{de-DE-BNMj3boy.mjs → de-DE-UJ6X6jXu.mjs} +1 -1
- package/dist/floating-ui.vue.es-BvAf8-si.mjs +1003 -0
- package/dist/{formControl-CsITfsBk.mjs → formControl-BZQLHnOO.mjs} +5 -5
- package/dist/fr-FR-Cvvbkwlj.mjs +307 -0
- package/dist/fr-FR-IWJE-urI.mjs +431 -0
- package/dist/icon-sprite.svg.es-BWBB8SGw.mjs +4 -0
- package/dist/{index.es-CXkP_k3u.mjs → index.es-C7J3WGGo.mjs} +4 -4
- package/dist/index.es-CpmQmvOg.mjs +633 -0
- package/dist/index.mjs +2 -2
- package/dist/{invoices-Cf1qDAv4.mjs → invoices-e1sKLgxg.mjs} +3 -3
- package/dist/{it-IT-Byg06KWc.mjs → it-IT-B7ui2oxO.mjs} +38 -0
- package/dist/{it-IT-DRvuxM1F.mjs → it-IT-DnJP5URH.mjs} +1 -1
- package/dist/{nl-NL-x3zQqzZ7.mjs → nl-NL-Bafh2xoT.mjs} +38 -0
- package/dist/{nl-NL-DLUwWbMG.mjs → nl-NL-q9xfTZF0.mjs} +1 -1
- package/dist/{paymentMethods-BUuOmDq9.mjs → paymentMethods-B_82JGk_.mjs} +2 -2
- package/dist/paymentMethods-Nfv9HdkS.mjs +61 -0
- package/dist/{paymentOutcome-D17VD4MV.mjs → paymentOutcome-BXEU5-84.mjs} +5 -5
- package/dist/payments-BnxbzQUC.mjs +68 -0
- package/dist/pricing-BOhvWWMj.mjs +29 -0
- package/dist/{pricingPlanScheduleOverrides-COr9F8DO.mjs → pricingPlanScheduleOverrides-Dxv5FOBd.mjs} +2 -2
- package/dist/{pricingPlanSchedules-BK_o9p6h.mjs → pricingPlanSchedules-Dv7ZCgNp.mjs} +1 -1
- package/dist/screens/Checkout/Checkout.mjs +2 -2
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +128 -83
- package/dist/screens/PayInvoice/PayInvoice.mjs +572 -218
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +21 -19
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +261 -266
- package/dist/{sorting.es-qtEN8J8T.mjs → sorting.es-CVyKw23D.mjs} +1 -1
- package/dist/subscriptions-BWXZGK0E.mjs +66 -0
- package/dist/taxId.es-DkD3Ltr8.mjs +243 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +2 -0
- package/dist/types/components/customer/ShippingAddressForm/ShippingAddressForm.types.d.ts +9 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressCard.types.d.ts +11 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressList.types.d.ts +9 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressesModal.types.d.ts +26 -0
- package/dist/types/components/invoices/InvoiceOrderSummary/InvoiceOrderSummary.types.d.ts +5 -0
- package/dist/types/components/payments/PayButton/PayButton.types.d.ts +2 -0
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +11 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +4 -1
- package/dist/types/components/providers/AuthProvider/AuthProvider.handle.d.ts +17 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +23 -1
- package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +12 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +3 -1
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
- package/dist/types/components/providers/Provider/Provider.types.d.ts +1 -1
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +3 -1
- package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +16 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +2 -0
- package/dist/types/public/components/CustomerShippingAddresses/CustomerShippingAddresses.types.d.ts +12 -0
- package/dist/types/public/core/types.d.ts +5 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +3 -1
- package/dist/types/translations/supported.d.ts +1 -1
- package/dist/types/types/portalAuthentication.d.ts +2 -0
- package/dist/types/types/portalToken.d.ts +9 -0
- package/dist/types/types/shippingAddress.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +27 -6
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +9 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +16 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyVariable.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +12 -3
- package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +71 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +35 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ShippingAddress.d.ts +54 -0
- package/dist/{useActionDispatchProvider-DC_fUykI.mjs → useActionDispatchProvider-3W2vEyIg.mjs} +1 -1
- package/dist/{useCustomer-C3kTh7wn.mjs → useCustomer-cObBvDOu.mjs} +2 -2
- package/dist/useCustomerFormLabels-DJWf2O17.mjs +1173 -0
- package/dist/{useIncrementalLoading-C_sHmW7d.mjs → useIncrementalLoading-CATuO36d.mjs} +2 -2
- package/dist/{useInvoiceData-BIh8-h8b.mjs → useInvoiceData-DD44HTl7.mjs} +2 -2
- package/dist/{useInvoicesList-Y6p0Pqpy.mjs → useInvoicesList-CpB-41MQ.mjs} +10 -10
- package/dist/useLazyFloating.es-CycqRyeb.mjs +68 -0
- package/dist/useLoadInitialData-qzdnBoui.mjs +15 -0
- package/dist/{usePaymentFormHold-FfNc578l.mjs → usePaymentFormHold-ByUZi3A-.mjs} +28 -36
- package/dist/{usePaymentMethodAvailability-CnYTvG15.mjs → usePaymentMethodAvailability-DUdrs0Ji.mjs} +4 -4
- package/dist/usePaymentMethods-ByaKF7mf.mjs +21 -0
- package/dist/{usePayments-CykCZPG2.mjs → usePayments-BXABv-lF.mjs} +9 -9
- package/dist/{usePortal-CxzKGhbK.mjs → usePortal-CwR_FxTb.mjs} +1 -1
- package/dist/{useService-B0OQJmif.mjs → useService-BZcbUZHI.mjs} +3 -3
- package/dist/{useTimePeriod.es-JkXdHNWr.mjs → useTimePeriod.es-BpdiVwg8.mjs} +1 -1
- package/package.json +7 -7
- package/dist/Checkbox.vue.es-DsyiJ-VY.mjs +0 -50
- package/dist/Checkout.entry.ce-BZ1rYQvt.mjs +0 -5279
- package/dist/ContentWithAsideLayout-BCM8tmZN.mjs +0 -38
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-Bk4zwyWa.mjs +0 -362
- package/dist/FormMessage.vue.es-jG3fQZms.mjs +0 -29
- package/dist/InvoiceSummary.vue.es-DbNoGfYN.mjs +0 -2596
- package/dist/RadioGroupExtended.vue.es-UtKsdmiv.mjs +0 -163
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Djc1SkEU.mjs +0 -688
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DNr1CqVj.mjs +0 -5221
- package/dist/TooltipParagraph.vue.es-BjCn2BF6.mjs +0 -129
- package/dist/customElements-Di3zwlEU.mjs +0 -6447
- package/dist/customer.es-B5ppZf0j.mjs +0 -20
- package/dist/floating-ui.vue.es-CYt0fSY7.mjs +0 -1108
- package/dist/icon-sprite.svg.es-BZIz7-0d.mjs +0 -4
- package/dist/payments-Ci8bF4C6.mjs +0 -45
- package/dist/subscriptions-CwogJODR.mjs +0 -54
- package/dist/useCustomerFormLabels-CK7K50nB.mjs +0 -1369
- package/dist/useLoadInitialData-4k_Cyqef.mjs +0 -15
- package/dist/usePaymentMethodOptions-1QBcmgUf.mjs +0 -40
- package/dist/usePaymentMethods-gvr-rmwE.mjs +0 -15
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as p, openBlock as i, createBlock as r, unref as e, renderSlot as y, withCtx as l, mergeProps as m, createCommentVNode as v } from "vue";
|
|
2
|
-
import { _ as d } from "../../InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as u } from "../../ErrorNotification.vue.es-
|
|
4
|
-
import { a as g,
|
|
2
|
+
import { _ as d } from "../../InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-rhqYVdfV.mjs";
|
|
3
|
+
import { _ as u } from "../../ErrorNotification.vue.es-DNd65mQq.mjs";
|
|
4
|
+
import { a as g, g as f, h as _, j as S } from "../../customElements-BTj4ii4f.mjs";
|
|
5
5
|
import { _ as O } from "../../Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs";
|
|
6
|
-
import { u as b } from "../../useInvoiceData-
|
|
6
|
+
import { u as b } from "../../useInvoiceData-DD44HTl7.mjs";
|
|
7
7
|
const j = /* @__PURE__ */ p({
|
|
8
8
|
__name: "InvoiceDetails",
|
|
9
9
|
props: {
|
|
@@ -19,6 +19,7 @@ const j = /* @__PURE__ */ p({
|
|
|
19
19
|
__name: "InvoiceDetails.entry.view",
|
|
20
20
|
props: {
|
|
21
21
|
configuration: { type: Object },
|
|
22
|
+
portalToken: { type: Object },
|
|
22
23
|
environment: { type: String },
|
|
23
24
|
locale: { type: String },
|
|
24
25
|
dateLocale: { type: String },
|
|
@@ -56,6 +57,7 @@ const j = /* @__PURE__ */ p({
|
|
|
56
57
|
__name: "InvoiceDetails.entry",
|
|
57
58
|
props: {
|
|
58
59
|
configuration: { type: Object },
|
|
60
|
+
portalToken: { type: Object },
|
|
59
61
|
environment: { type: String },
|
|
60
62
|
locale: { type: String },
|
|
61
63
|
dateLocale: { type: String },
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { _ as v, a as S } from "../../InvoiceEntryView.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as u, computed as f, openBlock as n, createBlock as t, unref as l, withCtx as s, createCommentVNode as g } from "vue";
|
|
2
|
+
import { _ as v, a as S } from "../../InvoiceEntryView.vue_vue_type_script_setup_true_lang-06R-M8Q3.mjs";
|
|
3
|
+
import { g as _, h as b, j as O } from "../../customElements-BTj4ii4f.mjs";
|
|
4
|
+
const j = /* @__PURE__ */ u({
|
|
5
5
|
__name: "InvoiceHeader.entry",
|
|
6
6
|
props: {
|
|
7
|
+
portalToken: { type: Object },
|
|
7
8
|
environment: { type: String },
|
|
8
9
|
locale: { type: String },
|
|
9
10
|
dateLocale: { type: String },
|
|
@@ -20,33 +21,33 @@ const C = /* @__PURE__ */ y({
|
|
|
20
21
|
branding: { type: Object },
|
|
21
22
|
configuration: { type: Object }
|
|
22
23
|
},
|
|
23
|
-
setup(
|
|
24
|
-
const m = b("invoice-header"),
|
|
25
|
-
...
|
|
24
|
+
setup(r) {
|
|
25
|
+
const m = b("invoice-header"), i = r, o = f(() => ({
|
|
26
|
+
...i,
|
|
26
27
|
configuration: {
|
|
27
28
|
enableDownloadButton: !0,
|
|
28
|
-
...
|
|
29
|
+
...i.configuration
|
|
29
30
|
}
|
|
30
31
|
}));
|
|
31
32
|
return (a, c) => {
|
|
32
33
|
var p;
|
|
33
|
-
return n(), t(
|
|
34
|
+
return n(), t(l(_), {
|
|
34
35
|
entry: a.$props,
|
|
35
|
-
"component-name":
|
|
36
|
+
"component-name": l(m),
|
|
36
37
|
"allowed-portal-types": ["CUSTOMER"],
|
|
37
|
-
"required-configuration": { invoiceId: (p =
|
|
38
|
+
"required-configuration": { invoiceId: (p = r.configuration) == null ? void 0 : p.invoiceId },
|
|
38
39
|
onError: c[0] || (c[0] = (e) => a.$emit("error", e))
|
|
39
40
|
}, {
|
|
40
|
-
default:
|
|
41
|
+
default: s(() => [
|
|
41
42
|
(n(), t(v, {
|
|
42
43
|
key: o.value.configuration.invoiceId,
|
|
43
44
|
"invoice-id": o.value.configuration.invoiceId
|
|
44
45
|
}, {
|
|
45
|
-
default:
|
|
46
|
+
default: s(({ invoice: e, payments: d, invoiceDownloadService: y }) => [
|
|
46
47
|
e ? (n(), t(S, {
|
|
47
48
|
key: 0,
|
|
48
49
|
invoice: e,
|
|
49
|
-
"invoice-download-service":
|
|
50
|
+
"invoice-download-service": y,
|
|
50
51
|
payments: d.payments.value,
|
|
51
52
|
configuration: o.value.configuration
|
|
52
53
|
}, null, 8, ["invoice", "invoice-download-service", "payments", "configuration"])) : g("", !0)
|
|
@@ -58,10 +59,10 @@ const C = /* @__PURE__ */ y({
|
|
|
58
59
|
}, 8, ["entry", "component-name", "required-configuration"]);
|
|
59
60
|
};
|
|
60
61
|
}
|
|
61
|
-
}), { define:
|
|
62
|
-
|
|
62
|
+
}), { define: k } = O(
|
|
63
|
+
j,
|
|
63
64
|
"invoice-header"
|
|
64
65
|
);
|
|
65
66
|
export {
|
|
66
|
-
|
|
67
|
+
k as defineSolvimonInvoiceHeader
|
|
67
68
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { defineComponent as l, renderSlot as m, unref as i, openBlock as g, createBlock as d, withCtx as p, createVNode as c, normalizeProps as u, guardReactiveProps as f } from "vue";
|
|
2
|
-
import { u as S, _ as v } from "../../useInvoicesList-
|
|
3
|
-
import { u as
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
2
|
+
import { u as S, _ as v } from "../../useInvoicesList-CpB-41MQ.mjs";
|
|
3
|
+
import { u as b } from "../../useLoadInitialData-qzdnBoui.mjs";
|
|
4
|
+
import { g as L, h as O, j as _ } from "../../customElements-BTj4ii4f.mjs";
|
|
5
|
+
const j = 15, h = /* @__PURE__ */ l({
|
|
6
6
|
__name: "InvoicesList.entry.view",
|
|
7
7
|
props: {
|
|
8
|
+
portalToken: { type: Object },
|
|
8
9
|
environment: { type: String },
|
|
9
10
|
locale: { type: String },
|
|
10
11
|
dateLocale: { type: String },
|
|
@@ -25,8 +26,8 @@ const h = 15, j = /* @__PURE__ */ l({
|
|
|
25
26
|
var n, s;
|
|
26
27
|
const r = a, t = r.portalObject.customer_id, o = S({
|
|
27
28
|
customerId: t,
|
|
28
|
-
batchSize: ((s = (n = r.configuration) == null ? void 0 : n.pagination) == null ? void 0 : s.batchSize) ||
|
|
29
|
-
}), { isLoading: e } =
|
|
29
|
+
batchSize: ((s = (n = r.configuration) == null ? void 0 : n.pagination) == null ? void 0 : s.batchSize) || j
|
|
30
|
+
}), { isLoading: e } = b(o.fetchInitial());
|
|
30
31
|
return (y, A) => m(y.$slots, "default", {
|
|
31
32
|
isLoading: i(e),
|
|
32
33
|
invoices: i(o)
|
|
@@ -35,6 +36,7 @@ const h = 15, j = /* @__PURE__ */ l({
|
|
|
35
36
|
}), C = /* @__PURE__ */ l({
|
|
36
37
|
__name: "InvoicesList.entry",
|
|
37
38
|
props: {
|
|
39
|
+
portalToken: { type: Object },
|
|
38
40
|
environment: { type: String },
|
|
39
41
|
locale: { type: String },
|
|
40
42
|
dateLocale: { type: String },
|
|
@@ -52,15 +54,15 @@ const h = 15, j = /* @__PURE__ */ l({
|
|
|
52
54
|
configuration: { type: Object }
|
|
53
55
|
},
|
|
54
56
|
setup(a) {
|
|
55
|
-
const r =
|
|
56
|
-
return (t, o) => (g(), d(i(
|
|
57
|
+
const r = O("invoices-list");
|
|
58
|
+
return (t, o) => (g(), d(i(L), {
|
|
57
59
|
entry: t.$props,
|
|
58
60
|
"component-name": i(r),
|
|
59
61
|
"allowed-portal-types": ["CUSTOMER"],
|
|
60
62
|
onError: o[0] || (o[0] = (e) => t.$emit("error", e))
|
|
61
63
|
}, {
|
|
62
64
|
default: p(() => [
|
|
63
|
-
c(
|
|
65
|
+
c(h, u(f(t.$props)), {
|
|
64
66
|
default: p(({ invoices: e, isLoading: n }) => [
|
|
65
67
|
c(v, {
|
|
66
68
|
configuration: a.configuration,
|
|
@@ -77,10 +79,10 @@ const h = 15, j = /* @__PURE__ */ l({
|
|
|
77
79
|
_: 1
|
|
78
80
|
}, 8, ["entry", "component-name"]));
|
|
79
81
|
}
|
|
80
|
-
}), { define:
|
|
82
|
+
}), { define: B } = _(
|
|
81
83
|
C,
|
|
82
84
|
"invoices-list"
|
|
83
85
|
);
|
|
84
86
|
export {
|
|
85
|
-
|
|
87
|
+
B as defineSolvimonInvoicesList
|
|
86
88
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as m, openBlock as r, createBlock as a, createCommentVNode as l, unref as t, renderSlot as u, withCtx as c, mergeProps as d } from "vue";
|
|
2
|
-
import { _ as g } from "../../PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as v } from "../../ErrorNotification.vue.es-
|
|
4
|
-
import { a as f,
|
|
2
|
+
import { _ as g } from "../../PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-bQKhUonq.mjs";
|
|
3
|
+
import { _ as v } from "../../ErrorNotification.vue.es-DNd65mQq.mjs";
|
|
4
|
+
import { a as f, g as _, h as S, j as h } from "../../customElements-BTj4ii4f.mjs";
|
|
5
5
|
import { _ as O } from "../../Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs";
|
|
6
|
-
import { u as b } from "../../useInvoiceData-
|
|
6
|
+
import { u as b } from "../../useInvoiceData-DD44HTl7.mjs";
|
|
7
7
|
const j = /* @__PURE__ */ m({
|
|
8
8
|
__name: "PaymentHistory",
|
|
9
9
|
props: {
|
|
@@ -22,6 +22,7 @@ const j = /* @__PURE__ */ m({
|
|
|
22
22
|
__name: "PaymentHistory.entry.view",
|
|
23
23
|
props: {
|
|
24
24
|
configuration: { type: Object },
|
|
25
|
+
portalToken: { type: Object },
|
|
25
26
|
environment: { type: String },
|
|
26
27
|
locale: { type: String },
|
|
27
28
|
dateLocale: { type: String },
|
|
@@ -63,6 +64,7 @@ const j = /* @__PURE__ */ m({
|
|
|
63
64
|
__name: "PaymentHistory.entry",
|
|
64
65
|
props: {
|
|
65
66
|
configuration: { type: Object },
|
|
67
|
+
portalToken: { type: Object },
|
|
66
68
|
environment: { type: String },
|
|
67
69
|
locale: { type: String },
|
|
68
70
|
dateLocale: { type: String },
|
|
@@ -107,10 +109,10 @@ const j = /* @__PURE__ */ m({
|
|
|
107
109
|
}, 8, ["entry", "component-name", "required-configuration"]);
|
|
108
110
|
};
|
|
109
111
|
}
|
|
110
|
-
}), { define:
|
|
112
|
+
}), { define: T } = h(
|
|
111
113
|
$,
|
|
112
114
|
"payment-history"
|
|
113
115
|
);
|
|
114
116
|
export {
|
|
115
|
-
|
|
117
|
+
T as defineSolvimonPaymentHistory
|
|
116
118
|
};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { g as C } from "../../customer.es-
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import {
|
|
8
|
-
const M = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as u, renderSlot as d, unref as a, openBlock as c, createBlock as y, withCtx as l, createVNode as g, normalizeProps as f, guardReactiveProps as S, createCommentVNode as O } from "vue";
|
|
2
|
+
import { g as C } from "../../customer.es-DQKl6wFt.mjs";
|
|
3
|
+
import { u as b } from "../../useLoadInitialData-qzdnBoui.mjs";
|
|
4
|
+
import { u as h } from "../../useCustomer-cObBvDOu.mjs";
|
|
5
|
+
import { u as j } from "../../paymentMethods-Nfv9HdkS.mjs";
|
|
6
|
+
import { _ as v } from "../../PaymentMethodForm.vue_vue_type_script_setup_true_lang-sUOmLORl.mjs";
|
|
7
|
+
import { g as _, h as L, j as w } from "../../customElements-BTj4ii4f.mjs";
|
|
8
|
+
const M = /* @__PURE__ */ u({
|
|
9
9
|
__name: "PaymentMethodForm.entry.view",
|
|
10
10
|
props: {
|
|
11
|
+
portalToken: { type: Object },
|
|
11
12
|
environment: { type: String },
|
|
12
13
|
locale: { type: String },
|
|
13
14
|
dateLocale: { type: String },
|
|
@@ -26,7 +27,7 @@ const M = /* @__PURE__ */ d({
|
|
|
26
27
|
countryCode: { type: String }
|
|
27
28
|
},
|
|
28
29
|
setup(o) {
|
|
29
|
-
const n = o, i =
|
|
30
|
+
const n = o, i = h({ customerId: n.portalObject.customer_id }), r = j(), p = async () => {
|
|
30
31
|
var m;
|
|
31
32
|
const t = await i.get.execute(), s = n.countryCode || C(t);
|
|
32
33
|
await r.get({
|
|
@@ -34,16 +35,17 @@ const M = /* @__PURE__ */ d({
|
|
|
34
35
|
country: s,
|
|
35
36
|
amount: (m = n.configuration) == null ? void 0 : m.amount
|
|
36
37
|
});
|
|
37
|
-
}, { isLoading: e } =
|
|
38
|
-
return (t, s) =>
|
|
38
|
+
}, { isLoading: e } = b(p());
|
|
39
|
+
return (t, s) => d(t.$slots, "default", {
|
|
39
40
|
customer: a(i).customer.value,
|
|
40
41
|
paymentMethodOptions: a(r),
|
|
41
42
|
isLoading: a(e)
|
|
42
43
|
});
|
|
43
44
|
}
|
|
44
|
-
}), P = /* @__PURE__ */
|
|
45
|
+
}), P = /* @__PURE__ */ u({
|
|
45
46
|
__name: "PaymentMethodForm.entry",
|
|
46
47
|
props: {
|
|
48
|
+
portalToken: { type: Object },
|
|
47
49
|
environment: { type: String },
|
|
48
50
|
locale: { type: String },
|
|
49
51
|
dateLocale: { type: String },
|
|
@@ -69,10 +71,10 @@ const M = /* @__PURE__ */ d({
|
|
|
69
71
|
"allowed-portal-types": ["CUSTOMER"],
|
|
70
72
|
onError: p[0] || (p[0] = (e) => r.$emit("error", e))
|
|
71
73
|
}, {
|
|
72
|
-
default:
|
|
74
|
+
default: l(() => [
|
|
73
75
|
g(M, f(S(i)), {
|
|
74
|
-
default:
|
|
75
|
-
e ? (c(), y(
|
|
76
|
+
default: l(({ customer: e, paymentMethodOptions: t, isLoading: s }) => [
|
|
77
|
+
e ? (c(), y(v, {
|
|
76
78
|
key: 0,
|
|
77
79
|
customer: e,
|
|
78
80
|
"payment-method-options": t.paymentMethodOptions.value,
|
|
@@ -87,10 +89,10 @@ const M = /* @__PURE__ */ d({
|
|
|
87
89
|
_: 1
|
|
88
90
|
}, 8, ["entry", "component-name"]));
|
|
89
91
|
}
|
|
90
|
-
}), { define:
|
|
92
|
+
}), { define: B } = w(
|
|
91
93
|
P,
|
|
92
94
|
"payment-method-form"
|
|
93
95
|
);
|
|
94
96
|
export {
|
|
95
|
-
|
|
97
|
+
B as defineSolvimonPaymentMethodForm
|
|
96
98
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { _ as g } from "../../SubscriptionSchedules.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as S, g as b } from "../../pricingPlanScheduleOverrides-
|
|
4
|
-
import { u as f } from "../../useLoadInitialData-
|
|
5
|
-
import {
|
|
6
|
-
const v = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as y, renderSlot as u, unref as t, openBlock as p, createBlock as c, withCtx as l, mergeProps as d, createCommentVNode as m } from "vue";
|
|
2
|
+
import { _ as g } from "../../SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BH7DdOWK.mjs";
|
|
3
|
+
import { u as S, g as b } from "../../pricingPlanScheduleOverrides-Dxv5FOBd.mjs";
|
|
4
|
+
import { u as f } from "../../useLoadInitialData-qzdnBoui.mjs";
|
|
5
|
+
import { g as O, h, j } from "../../customElements-BTj4ii4f.mjs";
|
|
6
|
+
const v = /* @__PURE__ */ y({
|
|
7
7
|
__name: "SubscriptionSchedules.entry.view",
|
|
8
8
|
props: {
|
|
9
9
|
configuration: { type: Object },
|
|
10
|
+
portalToken: { type: Object },
|
|
10
11
|
environment: { type: String },
|
|
11
12
|
locale: { type: String },
|
|
12
13
|
dateLocale: { type: String },
|
|
@@ -23,17 +24,18 @@ const v = /* @__PURE__ */ u({
|
|
|
23
24
|
branding: { type: Object }
|
|
24
25
|
},
|
|
25
26
|
setup(e) {
|
|
26
|
-
const s = e, { subscription:
|
|
27
|
+
const s = e, { subscription: o, get: r } = S({
|
|
27
28
|
subscriptionId: s.configuration.subscriptionId
|
|
28
29
|
});
|
|
29
|
-
return f(
|
|
30
|
-
schedulesData: t(
|
|
30
|
+
return f(r()), (n, a) => u(n.$slots, "default", {
|
|
31
|
+
schedulesData: t(o) ? t(b)(t(o)) : void 0
|
|
31
32
|
});
|
|
32
33
|
}
|
|
33
|
-
}), _ = /* @__PURE__ */
|
|
34
|
+
}), _ = /* @__PURE__ */ y({
|
|
34
35
|
__name: "SubscriptionSchedules.entry",
|
|
35
36
|
props: {
|
|
36
37
|
configuration: { type: Object },
|
|
38
|
+
portalToken: { type: Object },
|
|
37
39
|
environment: { type: String },
|
|
38
40
|
locale: { type: String },
|
|
39
41
|
dateLocale: { type: String },
|
|
@@ -50,20 +52,20 @@ const v = /* @__PURE__ */ u({
|
|
|
50
52
|
branding: { type: Object }
|
|
51
53
|
},
|
|
52
54
|
setup(e) {
|
|
53
|
-
const s = h("subscription-schedules"),
|
|
54
|
-
return (
|
|
55
|
+
const s = h("subscription-schedules"), o = e;
|
|
56
|
+
return (r, n) => {
|
|
55
57
|
var a;
|
|
56
58
|
return p(), c(t(O), {
|
|
57
|
-
entry:
|
|
59
|
+
entry: r.$props,
|
|
58
60
|
"component-name": t(s),
|
|
59
61
|
"allowed-portal-types": ["CUSTOMER"],
|
|
60
62
|
"required-configuration": { subscriptionId: (a = e.configuration) == null ? void 0 : a.subscriptionId },
|
|
61
|
-
onError: n[0] || (n[0] = (i) =>
|
|
63
|
+
onError: n[0] || (n[0] = (i) => r.$emit("error", i))
|
|
62
64
|
}, {
|
|
63
65
|
default: l(() => [
|
|
64
66
|
(p(), c(v, d({
|
|
65
67
|
key: e.configuration.subscriptionId
|
|
66
|
-
},
|
|
68
|
+
}, o), {
|
|
67
69
|
default: l(({ schedulesData: i }) => [
|
|
68
70
|
i ? (p(), c(g, {
|
|
69
71
|
key: 0,
|
|
@@ -77,10 +79,10 @@ const v = /* @__PURE__ */ u({
|
|
|
77
79
|
}, 8, ["entry", "component-name", "required-configuration"]);
|
|
78
80
|
};
|
|
79
81
|
}
|
|
80
|
-
}), { define:
|
|
82
|
+
}), { define: I } = j(
|
|
81
83
|
_,
|
|
82
84
|
"subscription-schedules"
|
|
83
85
|
);
|
|
84
86
|
export {
|
|
85
|
-
|
|
87
|
+
I as defineSolvimonSubscriptionSchedules
|
|
86
88
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { defineComponent as u, renderSlot as
|
|
2
|
-
import { u as L, _ as O } from "../../SubscriptionsList.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as M } from "../../usePaymentMethods-
|
|
6
|
-
import {
|
|
1
|
+
import { defineComponent as u, renderSlot as b, unref as t, openBlock as f, createBlock as S, withCtx as m, createVNode as l, normalizeProps as h, guardReactiveProps as v } from "vue";
|
|
2
|
+
import { u as L, _ as O } from "../../SubscriptionsList.vue_vue_type_script_setup_true_lang-BbjdBHSQ.mjs";
|
|
3
|
+
import { u as j } from "../../useCustomer-cObBvDOu.mjs";
|
|
4
|
+
import { u as _ } from "../../useLoadInitialData-qzdnBoui.mjs";
|
|
5
|
+
import { u as M } from "../../usePaymentMethods-ByaKF7mf.mjs";
|
|
6
|
+
import { g as C, h as w, j as A } from "../../customElements-BTj4ii4f.mjs";
|
|
7
7
|
const $ = /* @__PURE__ */ u({
|
|
8
8
|
__name: "SubscriptionsList.entry.view",
|
|
9
9
|
props: {
|
|
10
|
+
portalToken: { type: Object },
|
|
10
11
|
environment: { type: String },
|
|
11
12
|
locale: { type: String },
|
|
12
13
|
dateLocale: { type: String },
|
|
@@ -23,16 +24,16 @@ const $ = /* @__PURE__ */ u({
|
|
|
23
24
|
branding: { type: Object },
|
|
24
25
|
configuration: { type: Object }
|
|
25
26
|
},
|
|
26
|
-
setup(
|
|
27
|
-
const o =
|
|
27
|
+
setup(s) {
|
|
28
|
+
const o = s.portalObject.customer_id, r = j({ customerId: o }), e = L({ customerId: o }), n = M({ customerId: o }), { isLoading: i } = _(
|
|
28
29
|
r.get.execute(),
|
|
29
30
|
e.fetchInitial(),
|
|
30
|
-
|
|
31
|
+
n.fetchAll()
|
|
31
32
|
);
|
|
32
|
-
return (a, c) =>
|
|
33
|
+
return (a, c) => b(a.$slots, "default", {
|
|
33
34
|
customer: t(r),
|
|
34
35
|
subscriptions: t(e).items,
|
|
35
|
-
paymentMethods: t(
|
|
36
|
+
paymentMethods: t(n).items,
|
|
36
37
|
isLoading: t(i),
|
|
37
38
|
hasError: !!t(e).error.value,
|
|
38
39
|
hasMoreItems: t(e).hasNextBatch.value,
|
|
@@ -43,6 +44,7 @@ const $ = /* @__PURE__ */ u({
|
|
|
43
44
|
}), B = /* @__PURE__ */ u({
|
|
44
45
|
__name: "SubscriptionsList.entry",
|
|
45
46
|
props: {
|
|
47
|
+
portalToken: { type: Object },
|
|
46
48
|
environment: { type: String },
|
|
47
49
|
locale: { type: String },
|
|
48
50
|
dateLocale: { type: String },
|
|
@@ -59,9 +61,9 @@ const $ = /* @__PURE__ */ u({
|
|
|
59
61
|
branding: { type: Object },
|
|
60
62
|
configuration: { type: Object }
|
|
61
63
|
},
|
|
62
|
-
setup(
|
|
64
|
+
setup(s) {
|
|
63
65
|
const p = w("subscriptions-list");
|
|
64
|
-
return (o, r) => (
|
|
66
|
+
return (o, r) => (f(), S(t(C), {
|
|
65
67
|
entry: o.$props,
|
|
66
68
|
"component-name": t(p),
|
|
67
69
|
"allowed-portal-types": ["CUSTOMER"],
|
|
@@ -71,7 +73,7 @@ const $ = /* @__PURE__ */ u({
|
|
|
71
73
|
l($, h(v(o.$props)), {
|
|
72
74
|
default: m(({
|
|
73
75
|
customer: e,
|
|
74
|
-
subscriptions:
|
|
76
|
+
subscriptions: n,
|
|
75
77
|
paymentMethods: i,
|
|
76
78
|
isLoading: a,
|
|
77
79
|
hasError: c,
|
|
@@ -80,9 +82,9 @@ const $ = /* @__PURE__ */ u({
|
|
|
80
82
|
loadMore: g
|
|
81
83
|
}) => [
|
|
82
84
|
l(O, {
|
|
83
|
-
configuration:
|
|
85
|
+
configuration: s.configuration,
|
|
84
86
|
customer: e.customer.value,
|
|
85
|
-
subscriptions:
|
|
87
|
+
subscriptions: n.value,
|
|
86
88
|
"payment-methods": i.value,
|
|
87
89
|
"is-loading": a,
|
|
88
90
|
"has-error": c,
|
|
@@ -97,10 +99,10 @@ const $ = /* @__PURE__ */ u({
|
|
|
97
99
|
_: 1
|
|
98
100
|
}, 8, ["entry", "component-name"]));
|
|
99
101
|
}
|
|
100
|
-
}), { define:
|
|
102
|
+
}), { define: I } = A(
|
|
101
103
|
B,
|
|
102
104
|
"subscriptions-list"
|
|
103
105
|
);
|
|
104
106
|
export {
|
|
105
|
-
|
|
107
|
+
I as defineSolvimonSubscriptionsList
|
|
106
108
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as p, openBlock as y, createBlock as u, renderSlot as d, unref as r, withCtx as
|
|
1
|
+
import { defineComponent as p, openBlock as y, createBlock as u, renderSlot as d, unref as r, withCtx as c, createVNode as m, normalizeProps as g, guardReactiveProps as b } from "vue";
|
|
2
2
|
import { A as S } from "../../ApiStatus-CSFKl_ra.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { u as
|
|
5
|
-
import {
|
|
6
|
-
const
|
|
3
|
+
import { a as w, u as v } from "../../CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BmPKfIjT.mjs";
|
|
4
|
+
import { u as f } from "../../useLoadInitialData-qzdnBoui.mjs";
|
|
5
|
+
import { g as B, h, j as O } from "../../customElements-BTj4ii4f.mjs";
|
|
6
|
+
const j = /* @__PURE__ */ p({
|
|
7
7
|
__name: "WalletBalances",
|
|
8
8
|
props: {
|
|
9
9
|
hasError: { type: Boolean },
|
|
@@ -33,9 +33,10 @@ const O = /* @__PURE__ */ p({
|
|
|
33
33
|
onPaymentFailed: e[4] || (e[4] = (a) => t("payment-failed", a))
|
|
34
34
|
}, null, 8, ["has-error", "is-loading", "wallet-balances", "show-top-up-button", "customer", "payment-methods", "subscriptions"]));
|
|
35
35
|
}
|
|
36
|
-
}),
|
|
36
|
+
}), A = /* @__PURE__ */ p({
|
|
37
37
|
__name: "WalletBalances.entry.view",
|
|
38
38
|
props: {
|
|
39
|
+
portalToken: { type: Object },
|
|
39
40
|
environment: { type: String },
|
|
40
41
|
locale: { type: String },
|
|
41
42
|
dateLocale: { type: String },
|
|
@@ -52,8 +53,8 @@ const O = /* @__PURE__ */ p({
|
|
|
52
53
|
branding: { type: Object }
|
|
53
54
|
},
|
|
54
55
|
setup(o) {
|
|
55
|
-
const t = o.portalObject.customer_id, n =
|
|
56
|
-
return (l,
|
|
56
|
+
const t = o.portalObject.customer_id, n = v({ customerId: t }), { walletBalances: e } = n, { isLoading: a } = f(n.fetch());
|
|
57
|
+
return (l, C) => {
|
|
57
58
|
var i;
|
|
58
59
|
return d(l.$slots, "default", {
|
|
59
60
|
customerWalletBalances: r(n),
|
|
@@ -62,9 +63,10 @@ const O = /* @__PURE__ */ p({
|
|
|
62
63
|
});
|
|
63
64
|
};
|
|
64
65
|
}
|
|
65
|
-
}),
|
|
66
|
+
}), $ = /* @__PURE__ */ p({
|
|
66
67
|
__name: "WalletBalances.entry",
|
|
67
68
|
props: {
|
|
69
|
+
portalToken: { type: Object },
|
|
68
70
|
environment: { type: String },
|
|
69
71
|
locale: { type: String },
|
|
70
72
|
dateLocale: { type: String },
|
|
@@ -88,10 +90,10 @@ const O = /* @__PURE__ */ p({
|
|
|
88
90
|
"allowed-portal-types": ["CUSTOMER"],
|
|
89
91
|
onError: n[0] || (n[0] = (e) => t.$emit("error", e))
|
|
90
92
|
}, {
|
|
91
|
-
default:
|
|
92
|
-
|
|
93
|
-
default:
|
|
94
|
-
|
|
93
|
+
default: c(() => [
|
|
94
|
+
m(A, g(b(t.$props)), {
|
|
95
|
+
default: c(({ customerWalletBalances: e, walletBalanceItems: a, isLoading: l }) => [
|
|
96
|
+
m(j, {
|
|
95
97
|
"has-error": e.apiStatus.value === r(S).Failed,
|
|
96
98
|
"is-loading": l,
|
|
97
99
|
"wallet-balances": a
|
|
@@ -103,8 +105,8 @@ const O = /* @__PURE__ */ p({
|
|
|
103
105
|
_: 1
|
|
104
106
|
}, 8, ["entry", "component-name"]));
|
|
105
107
|
}
|
|
106
|
-
}), { define: U } =
|
|
107
|
-
|
|
108
|
+
}), { define: U } = O(
|
|
109
|
+
$,
|
|
108
110
|
"wallet-balances"
|
|
109
111
|
);
|
|
110
112
|
export {
|