@solvimon/solvimon-web 0.1.0-alpha.29 → 0.1.0-alpha.30
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 +12 -2
- package/dist/{Alert.vue.es-CNrEaLvh.mjs → Alert.vue.es-ZPG49yR_.mjs} +1 -1
- package/dist/{AuthProvider.handle-DKfNs8rr.mjs → AuthProvider.handle-SRR_04XS.mjs} +1 -1
- package/dist/{Avatar.vue.es-r0NbcIib.mjs → Avatar.vue.es-geDQsZwu.mjs} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-Cp4yGqaw.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-nqKbgY7G.mjs} +4 -4
- package/dist/{Button.vue.es-Zw--kuaU.mjs → Button.vue.es-j7iYlqtJ.mjs} +1 -1
- package/dist/{ChargeOnDemandModal-B8FDkS9U.mjs → ChargeOnDemandModal-CR01PkP_.mjs} +14 -14
- package/dist/{Checkout.entry.ce-DsGl-5aR.mjs → Checkout.entry.ce-CopWuLJC.mjs} +1784 -1817
- package/dist/{CheckoutAddressFields.vue_vue_type_script_setup_true_lang-2D8VM_7W.mjs → CheckoutAddressFields.vue_vue_type_script_setup_true_lang-CEnM1uxK.mjs} +7 -7
- package/dist/{Chip.vue.es-D3UDSyXC.mjs → Chip.vue.es-Dxx_0dte.mjs} +2 -2
- package/dist/{ContextMenu.vue.es-B9mFpUQK.mjs → ContextMenu.vue.es-BJO4U47Q.mjs} +5 -5
- package/dist/{CustomerBillingInformation.vue.es-B8NiQaJs.mjs → CustomerBillingInformation.vue.es-CmNpqcBw.mjs} +2 -2
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DBivC5Eb.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Jyb5ZN3s.mjs} +5 -5
- package/dist/{CustomerShippingAddresses-Bj8Y17O8.mjs → CustomerShippingAddresses-BRPukhRI.mjs} +8 -8
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BmPKfIjT.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DJnr5D56.mjs} +434 -425
- package/dist/{DividerText.vue.es-CNbgif-3.mjs → DividerText.vue.es-BusbyeAI.mjs} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CVP-7ne3.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-wPma8Os-.mjs} +3 -3
- package/dist/{ErrorNotification.vue.es-DNd65mQq.mjs → ErrorNotification.vue.es-F068p7PY.mjs} +2 -2
- package/dist/{FormMessage.vue.es-Cjv358Ab.mjs → FormMessage.vue.es-CwMQpIAW.mjs} +1 -1
- package/dist/{IconButton.vue.es-C8lYFx5_.mjs → IconButton.vue.es-D8DtBW9i.mjs} +2 -2
- package/dist/{IconTitle.vue.es-O2kcqgKm.mjs → IconTitle.vue.es-6VJtjJX2.mjs} +3 -3
- package/dist/{Input.vue.es-D8Oj8MWv.mjs → Input.vue.es-BLyHcmu4.mjs} +4 -4
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-rhqYVdfV.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dl1vTzQD.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-06R-M8Q3.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-DYskT3r7.mjs} +4 -4
- package/dist/{InvoicePreview.vue.es-4Q2hzaFS.mjs → InvoicePreview.vue.es-Cpf66_xV.mjs} +4 -4
- package/dist/{InvoicePricingClauseChip.vue.es-DKU0xu0t.mjs → InvoicePricingClauseChip.vue.es-CDrAE901.mjs} +3 -3
- package/dist/{Label.vue.es-DtpLM1KH.mjs → Label.vue.es-es7ZUBSP.mjs} +3 -3
- package/dist/{Modal.vue.es-C8ZcO117.mjs → Modal.vue.es-eeR9FmvQ.mjs} +6 -6
- package/dist/{OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-3DQLCR3U.mjs → OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-B_FpibLA.mjs} +5 -5
- package/dist/{PaymentCompletedCard.vue_vue_type_script_setup_true_lang-DfTb9psX.mjs → PaymentCompletedCard.vue_vue_type_script_setup_true_lang-CrjVPks0.mjs} +2 -2
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-BoGTtg5G.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-DyjzaTK1.mjs} +4 -4
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BIAm22Kq.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BHQrWy6r.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-BvY2nXGV.mjs → PaymentHistoryBlock-CN42ewCn.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-bQKhUonq.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C3Y5fHvA.mjs} +4 -4
- package/dist/{PaymentIntegrationForm-CcfQSzKM.mjs → PaymentIntegrationForm-D3Ye7LZ5.mjs} +1 -1
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvzcLJVq.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D07SEP8a.mjs} +5 -5
- package/dist/{PaymentIntegrationFormAdyen-DqgDfO6K.mjs → PaymentIntegrationFormAdyen-Fm-diCCO.mjs} +39 -38
- package/dist/{PaymentIntegrationFormStripe-BYdAkvLt.mjs → PaymentIntegrationFormStripe-BANBL6za.mjs} +14 -13
- package/dist/{PaymentMethod.vue.es-b0p3a0L-.mjs → PaymentMethod.vue.es-t3-VyoE8.mjs} +4 -4
- package/dist/{PaymentMethodForm-BsTrTwCg.mjs → PaymentMethodForm-CqP3GoNj.mjs} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-sUOmLORl.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-CMRMbL3d.mjs} +6 -6
- package/dist/{PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DsnAhR79.mjs → PaymentMethodSelector.vue_vue_type_script_setup_true_lang-D5wmRuCf.mjs} +6 -6
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-CSW4LfmH.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-DhkkiJaQ.mjs} +7 -7
- package/dist/PlanCustomizationEditor-B76UNEMm.mjs +791 -0
- package/dist/{PortalLinkUnverified-B_EE2wTJ.mjs → PortalLinkUnverified-Cp60_kRJ.mjs} +3 -3
- package/dist/{PortalNotAvailable-DPE9y37H.mjs → PortalNotAvailable-DzSQnfzw.mjs} +2 -2
- package/dist/{PricingGroupRangeInput.vue.es-tIMXIhpZ.mjs → PricingGroupRangeInput.vue.es-Srq_3cga.mjs} +156 -206
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-oRijnVnZ.mjs +177 -0
- package/dist/{RadioGroupExtended.vue.es-3nDXqIGi.mjs → RadioGroupExtended.vue.es-BbBMDf6l.mjs} +5 -5
- package/dist/{Section.vue.es-CvX9tg2f.mjs → Section.vue.es-Oqn1wGPZ.mjs} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Cl7I1Apo.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-OM19NPBh.mjs} +2 -2
- package/dist/{ShippingAddressesModal-C4p1IXXk.mjs → ShippingAddressesModal-c7nqf4Ny.mjs} +10 -10
- package/dist/StepInput.vue.es-ieh4EuJ7.mjs +213 -0
- package/dist/{SubscriptionDetails.entry.ce-D5SwM0YS.mjs → SubscriptionDetails.entry.ce-uYv45FGH.mjs} +91 -92
- package/dist/{SubscriptionSchedules-BZqlpAtk.mjs → SubscriptionSchedules-DMxX3GpK.mjs} +1 -1
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BH7DdOWK.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DXro_64f.mjs} +1736 -1721
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-DoJxiqVB.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-BZNsqN4G.mjs} +4 -4
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BbjdBHSQ.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-CHlXP_2x.mjs} +9 -9
- package/dist/{TooltipParagraph.vue.es-Dw0ndjle.mjs → TooltipParagraph.vue.es-BES3zsYN.mjs} +1 -1
- package/dist/{TranslationOverride.vue_vue_type_script_setup_true_lang-BhjZVMSx.mjs → TranslationOverride.vue_vue_type_script_setup_true_lang-BJmlNrXT.mjs} +1 -1
- package/dist/{TrialChip.vue.es-DOopmaXA.mjs → TrialChip.vue.es-C51z1ZiA.mjs} +2 -2
- package/dist/addonQuantity-CCVaA3e-.mjs +758 -0
- package/dist/components/BillingInformation/BillingInformation.mjs +4 -4
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +8 -8
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +4 -4
- package/dist/components/Invoice/Invoice.mjs +14 -14
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +4 -4
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +2 -2
- package/dist/components/InvoicesList/InvoicesList.mjs +3 -3
- package/dist/components/PaymentHistory/PaymentHistory.mjs +4 -4
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +5 -5
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +4 -4
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +5 -5
- package/dist/components/WalletBalances/WalletBalances.mjs +3 -3
- package/dist/core/index.mjs +1 -1
- package/dist/{customElements-BTj4ii4f.mjs → customElements-DK4GKNJG.mjs} +10 -10
- package/dist/{customer-BIjC0CWJ.mjs → customer-lf6S5DBR.mjs} +1 -1
- package/dist/{de-DE-DBbERiFr.mjs → de-DE-Cyj_NtiI.mjs} +4 -0
- package/dist/{fr-FR-IWJE-urI.mjs → fr-FR-CRFoWQ7J.mjs} +4 -0
- package/dist/{index.es-C7J3WGGo.mjs → index.es-BrVTOW5D.mjs} +4 -4
- package/dist/index.mjs +2 -2
- package/dist/{invoices-e1sKLgxg.mjs → invoices-DdREPDXV.mjs} +1 -1
- package/dist/{it-IT-B7ui2oxO.mjs → it-IT-DObZEc-U.mjs} +4 -0
- package/dist/{nl-NL-Bafh2xoT.mjs → nl-NL-C02xHilF.mjs} +4 -0
- package/dist/paymentFailure-QZdZHBhf.mjs +47 -0
- package/dist/{paymentMethods-B_82JGk_.mjs → paymentMethods-8w-ccfY_.mjs} +1 -1
- package/dist/{paymentMethods-Nfv9HdkS.mjs → paymentMethods-Goa25rTs.mjs} +2 -2
- package/dist/paymentOutcome-B6sW1eCV.mjs +22 -0
- package/dist/{payments-BnxbzQUC.mjs → payments-CKpU1K3t.mjs} +1 -1
- package/dist/{pricing-BOhvWWMj.mjs → pricing-CEaZGgKe.mjs} +1 -1
- package/dist/pricingItem.es-bCPArbTa.mjs +55 -0
- package/dist/{pricingPlanScheduleOverrides-Dxv5FOBd.mjs → pricingPlanScheduleOverrides-BBp-DmpV.mjs} +2 -2
- package/dist/{pricingPlanSchedules-Dv7ZCgNp.mjs → pricingPlanSchedules-DSMptcAh.mjs} +1 -1
- package/dist/screens/Checkout/Checkout.mjs +2 -2
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +13 -13
- package/dist/screens/PayInvoice/PayInvoice.mjs +33 -32
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +10 -10
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +172 -163
- package/dist/{sorting.es-CVyKw23D.mjs → sorting.es-C0pdMgX0.mjs} +1 -1
- package/dist/subscription-BwzkagDI.mjs +212 -0
- package/dist/{subscriptions-BWXZGK0E.mjs → subscriptions-B5bH8hsI.mjs} +1 -1
- package/dist/{taxId.es-DkD3Ltr8.mjs → taxId.es-e6NEvprh.mjs} +2 -2
- package/dist/types/public/core/configuration.d.ts +0 -1
- package/dist/types/public/core/types.d.ts +10 -5
- package/dist/{useActionDispatchProvider-3W2vEyIg.mjs → useActionDispatchProvider-ChAHdwR8.mjs} +1 -1
- package/dist/{useCustomer-cObBvDOu.mjs → useCustomer-CTMhg1nd.mjs} +2 -2
- package/dist/{useCustomerFormLabels-DJWf2O17.mjs → useCustomerFormLabels-D4oDnfxA.mjs} +9 -9
- package/dist/{useIncrementalLoading-CATuO36d.mjs → useIncrementalLoading-CBVutPH8.mjs} +1 -1
- package/dist/{useInvoiceData-DD44HTl7.mjs → useInvoiceData-qUGbBAQK.mjs} +2 -2
- package/dist/{useInvoicesList-CpB-41MQ.mjs → useInvoicesList-wJvZAJpW.mjs} +9 -9
- package/dist/{useLoadInitialData-qzdnBoui.mjs → useLoadInitialData-UvfYXgbi.mjs} +1 -1
- package/dist/{usePaymentFormHold-ByUZi3A-.mjs → usePaymentFormHold-Cwdr-vyc.mjs} +2 -2
- package/dist/{usePaymentMethodAvailability-DUdrs0Ji.mjs → usePaymentMethodAvailability-35l4pWdH.mjs} +4 -4
- package/dist/{usePaymentMethods-ByaKF7mf.mjs → usePaymentMethods-De7hlLHo.mjs} +2 -2
- package/dist/{usePayments-BXABv-lF.mjs → usePayments-hWS7fnOx.mjs} +9 -9
- package/dist/{usePortal-CwR_FxTb.mjs → usePortal-DUfD6hrA.mjs} +1 -1
- package/dist/{useService-BZcbUZHI.mjs → useService-BwzIBIRp.mjs} +1 -1
- package/dist/{useTimePeriod.es-BpdiVwg8.mjs → useTimePeriod.es-BUorDLVK.mjs} +1 -1
- package/package.json +4 -4
- package/dist/PlanCustomizationEditor-D29N4HUM.mjs +0 -711
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DqxWxSQe.mjs +0 -141
- package/dist/StepInput.vue.es-DweyzpkL.mjs +0 -200
- package/dist/index.es-CpmQmvOg.mjs +0 -633
- package/dist/paymentOutcome-BXEU5-84.mjs +0 -67
- package/dist/pricingPlanSchedule-BPrS2WRd.mjs +0 -132
- package/dist/subscription-BhxoqwcT.mjs +0 -83
package/dist/{SubscriptionDetails.entry.ce-D5SwM0YS.mjs → SubscriptionDetails.entry.ce-uYv45FGH.mjs}
RENAMED
|
@@ -1,35 +1,34 @@
|
|
|
1
|
-
import { computed as p, ref as N, defineComponent as F, openBlock as
|
|
2
|
-
import { _ as re } from "./Alert.vue.es-
|
|
3
|
-
import { _ as z } from "./Button.vue.es-
|
|
4
|
-
import { _ as ee } from "./ErrorNotification.vue.es-
|
|
5
|
-
import { a as j, d as $, e as q, g as
|
|
1
|
+
import { computed as p, ref as N, defineComponent as F, openBlock as c, createBlock as g, unref as a, withCtx as u, createElementVNode as W, createVNode as S, createTextVNode as _, toDisplayString as y, createCommentVNode as v, createElementBlock as R, Fragment as Q, renderList as Z, watch as Y, defineAsyncComponent as H, toRef as ie, renderSlot as se, mergeProps as oe } from "vue";
|
|
2
|
+
import { _ as re } from "./Alert.vue.es-ZPG49yR_.mjs";
|
|
3
|
+
import { _ as z } from "./Button.vue.es-j7iYlqtJ.mjs";
|
|
4
|
+
import { _ as ee } from "./ErrorNotification.vue.es-F068p7PY.mjs";
|
|
5
|
+
import { a as j, d as $, e as q, g as le, h as ce, j as de } from "./customElements-DK4GKNJG.mjs";
|
|
6
6
|
import { C as ue } from "./ContentWithAsideLayout-Bnbsq8_5.mjs";
|
|
7
|
-
import { u as te } from "./useActionDispatchProvider-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { _ as
|
|
12
|
-
import { _ as ve } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CVP-7ne3.mjs";
|
|
7
|
+
import { u as te } from "./useActionDispatchProvider-ChAHdwR8.mjs";
|
|
8
|
+
import { j as pe, k as me, l as ne, d as G, a as ge } from "./subscription-BwzkagDI.mjs";
|
|
9
|
+
import { a as be, u as fe } from "./CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DJnr5D56.mjs";
|
|
10
|
+
import { _ as he } from "./CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Jyb5ZN3s.mjs";
|
|
11
|
+
import { _ as ve } from "./EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-wPma8Os-.mjs";
|
|
13
12
|
import { _ as _e } from "./Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs";
|
|
14
|
-
import { _ as V } from "./Section.vue.es-
|
|
15
|
-
import { a as ye, w as we, h as Se, u as Ce, g as Ie } from "./pricingPlanScheduleOverrides-
|
|
16
|
-
import { g as Me } from "./pricing-
|
|
17
|
-
import { u as Pe } from "./useTimePeriod.es-
|
|
13
|
+
import { _ as V } from "./Section.vue.es-Oqn1wGPZ.mjs";
|
|
14
|
+
import { a as ye, w as we, h as Se, u as Ce, g as Ie } from "./pricingPlanScheduleOverrides-BBp-DmpV.mjs";
|
|
15
|
+
import { g as Me } from "./pricing-CEaZGgKe.mjs";
|
|
16
|
+
import { u as Pe } from "./useTimePeriod.es-BUorDLVK.mjs";
|
|
18
17
|
import { f as X } from "./formatting.es-RclXHhKo.mjs";
|
|
19
|
-
import { _ as De } from "./PaymentMethod.vue.es-
|
|
20
|
-
import { M as Oe } from "./Modal.vue.es-
|
|
21
|
-
import { c as $e } from "./subscriptions-
|
|
22
|
-
import { a as Ae } from "./SubscriptionSummary.vue_vue_type_script_setup_true_lang-
|
|
18
|
+
import { _ as De } from "./PaymentMethod.vue.es-t3-VyoE8.mjs";
|
|
19
|
+
import { M as Oe } from "./Modal.vue.es-eeR9FmvQ.mjs";
|
|
20
|
+
import { c as $e } from "./subscriptions-B5bH8hsI.mjs";
|
|
21
|
+
import { a as Ae } from "./SubscriptionSummary.vue_vue_type_script_setup_true_lang-BZNsqN4G.mjs";
|
|
23
22
|
import { A as ke } from "./ApiStatus-CSFKl_ra.mjs";
|
|
24
|
-
import { u as Ee } from "./useCustomer-
|
|
25
|
-
import { u as Le } from "./usePaymentMethods-
|
|
26
|
-
import { u as xe } from "./useLoadInitialData-
|
|
27
|
-
import { c as Te } from "./pricingPlanSchedules-
|
|
28
|
-
import { u as Be } from "./useService-
|
|
23
|
+
import { u as Ee } from "./useCustomer-CTMhg1nd.mjs";
|
|
24
|
+
import { u as Le } from "./usePaymentMethods-De7hlLHo.mjs";
|
|
25
|
+
import { u as xe } from "./useLoadInitialData-UvfYXgbi.mjs";
|
|
26
|
+
import { c as Te } from "./pricingPlanSchedules-DSMptcAh.mjs";
|
|
27
|
+
import { u as Be } from "./useService-BwzIBIRp.mjs";
|
|
29
28
|
import { g as K } from "./getComposedString.es-C__uhJpd.mjs";
|
|
30
29
|
import { g as ae } from "./pricing.es-QYWrKMUJ.mjs";
|
|
31
30
|
import { h as Ue } from "./pricingItemConfigs.es-D3pX_9AJ.mjs";
|
|
32
|
-
import { a as Ne } from "./paymentMethods-
|
|
31
|
+
import { a as Ne } from "./paymentMethods-Goa25rTs.mjs";
|
|
33
32
|
const Fe = () => {
|
|
34
33
|
const { $t: e } = j();
|
|
35
34
|
return { getPriceLabel: (t) => {
|
|
@@ -71,11 +70,11 @@ function je({
|
|
|
71
70
|
} };
|
|
72
71
|
}
|
|
73
72
|
function Re(e) {
|
|
74
|
-
var n, s, o, r, d,
|
|
73
|
+
var n, s, o, r, d, l, b;
|
|
75
74
|
const i = (o = (s = (n = e.items) == null ? void 0 : n[0]) == null ? void 0 : s.configs) == null ? void 0 : o[0], t = (d = (r = i == null ? void 0 : i.details) == null ? void 0 : r.bands) == null ? void 0 : d[0];
|
|
76
75
|
return {
|
|
77
76
|
amount: (t == null ? void 0 : t.amount) ?? (t == null ? void 0 : t.fixed_amount),
|
|
78
|
-
billingPeriod: ((
|
|
77
|
+
billingPeriod: ((l = i == null ? void 0 : i.details) == null ? void 0 : l.pricing_period) ?? ((b = i == null ? void 0 : i.details) == null ? void 0 : b.billing_period)
|
|
79
78
|
};
|
|
80
79
|
}
|
|
81
80
|
function Ve(e) {
|
|
@@ -122,7 +121,7 @@ const We = { class: "sv-enabled-pricings-list__item-body flex items-center gap-4
|
|
|
122
121
|
}
|
|
123
122
|
) : X(o);
|
|
124
123
|
});
|
|
125
|
-
return (o, r) => (
|
|
124
|
+
return (o, r) => (c(), g(a(V), { class: "sv-enabled-pricings-list__item" }, {
|
|
126
125
|
default: u(() => [
|
|
127
126
|
W("div", We, [
|
|
128
127
|
W("div", Ye, [
|
|
@@ -148,7 +147,7 @@ const We = { class: "sv-enabled-pricings-list__item-body flex items-center gap-4
|
|
|
148
147
|
]),
|
|
149
148
|
_: 1
|
|
150
149
|
}),
|
|
151
|
-
s.value ? (
|
|
150
|
+
s.value ? (c(), g(a($), {
|
|
152
151
|
key: 0,
|
|
153
152
|
tag: "span",
|
|
154
153
|
variant: "body-sm",
|
|
@@ -161,7 +160,7 @@ const We = { class: "sv-enabled-pricings-list__item-body flex items-center gap-4
|
|
|
161
160
|
_: 1
|
|
162
161
|
})) : v("", !0)
|
|
163
162
|
]),
|
|
164
|
-
e.canUpgrade ? (
|
|
163
|
+
e.canUpgrade ? (c(), g(a(z), {
|
|
165
164
|
key: 0,
|
|
166
165
|
intent: "secondary",
|
|
167
166
|
class: "sv-action sv-action--secondary sv-enabled-pricings-list__item-upgrade shrink-0",
|
|
@@ -193,7 +192,7 @@ const We = { class: "sv-enabled-pricings-list__item-body flex items-center gap-4
|
|
|
193
192
|
const i = e, { $t: t } = j(), n = p(() => Ve(i.pricingPlanSchedule)), s = p(
|
|
194
193
|
() => !Se(i.pricingPlanSchedule.pricing_plan_schedule)
|
|
195
194
|
);
|
|
196
|
-
return (o, r) => n.value.length > 0 ? (
|
|
195
|
+
return (o, r) => n.value.length > 0 ? (c(), g(a(V), {
|
|
197
196
|
key: 0,
|
|
198
197
|
class: "sv-enabled-pricings-list",
|
|
199
198
|
"content-background": "none",
|
|
@@ -207,11 +206,11 @@ const We = { class: "sv-enabled-pricings-list__item-body flex items-center gap-4
|
|
|
207
206
|
}, {
|
|
208
207
|
default: u(() => [
|
|
209
208
|
W("div", Xe, [
|
|
210
|
-
(
|
|
209
|
+
(c(!0), R(Q, null, Z(n.value, (d) => (c(), g(ze, {
|
|
211
210
|
key: d.pricingId,
|
|
212
211
|
entry: d,
|
|
213
212
|
"can-upgrade": s.value,
|
|
214
|
-
onUpgrade: r[0] || (r[0] = (
|
|
213
|
+
onUpgrade: r[0] || (r[0] = (l) => o.$emit("upgrade", l))
|
|
215
214
|
}, null, 8, ["entry", "can-upgrade"]))), 128))
|
|
216
215
|
])
|
|
217
216
|
]),
|
|
@@ -234,7 +233,7 @@ const We = { class: "sv-enabled-pricings-list__item-body flex items-center gap-4
|
|
|
234
233
|
priceLabel: n(r)
|
|
235
234
|
}))
|
|
236
235
|
), o = p(() => Math.max(i.items.length - J, 0));
|
|
237
|
-
return (r, d) => (
|
|
236
|
+
return (r, d) => (c(), g(a(V), {
|
|
238
237
|
class: "sv-on-demand-items-card",
|
|
239
238
|
"content-background": "none",
|
|
240
239
|
"no-border": "",
|
|
@@ -251,7 +250,7 @@ const We = { class: "sv-enabled-pricings-list__item-body flex items-center gap-4
|
|
|
251
250
|
type: "button",
|
|
252
251
|
size: "sm",
|
|
253
252
|
intent: "secondary",
|
|
254
|
-
onClick: d[0] || (d[0] = (
|
|
253
|
+
onClick: d[0] || (d[0] = (l) => r.$emit("order"))
|
|
255
254
|
}, {
|
|
256
255
|
default: u(() => [
|
|
257
256
|
_(y(a(t)({
|
|
@@ -265,8 +264,8 @@ const We = { class: "sv-enabled-pricings-list__item-body flex items-center gap-4
|
|
|
265
264
|
]),
|
|
266
265
|
default: u(() => [
|
|
267
266
|
W("ul", Ge, [
|
|
268
|
-
(
|
|
269
|
-
key:
|
|
267
|
+
(c(!0), R(Q, null, Z(s.value, ({ item: l, priceLabel: b }) => (c(), R("li", {
|
|
268
|
+
key: l.pricingItemId,
|
|
270
269
|
class: "sv-on-demand-items-card__item"
|
|
271
270
|
}, [
|
|
272
271
|
S(a(V), {
|
|
@@ -281,11 +280,11 @@ const We = { class: "sv-enabled-pricings-list__item-body flex items-center gap-4
|
|
|
281
280
|
class: "sv-on-demand-items-card__item-name break-words"
|
|
282
281
|
}, {
|
|
283
282
|
default: u(() => [
|
|
284
|
-
_(y(
|
|
283
|
+
_(y(l.name), 1)
|
|
285
284
|
]),
|
|
286
285
|
_: 2
|
|
287
286
|
}, 1024),
|
|
288
|
-
b ? (
|
|
287
|
+
b ? (c(), g(a($), {
|
|
289
288
|
key: 0,
|
|
290
289
|
tag: "span",
|
|
291
290
|
variant: "body-sm",
|
|
@@ -302,7 +301,7 @@ const We = { class: "sv-enabled-pricings-list__item-body flex items-center gap-4
|
|
|
302
301
|
_: 2
|
|
303
302
|
}, 1024)
|
|
304
303
|
]))), 128)),
|
|
305
|
-
o.value > 0 ? (
|
|
304
|
+
o.value > 0 ? (c(), R("li", He, [
|
|
306
305
|
S(a(V), {
|
|
307
306
|
"no-spacing": "",
|
|
308
307
|
"content-classes": "px-4 py-3 text-center"
|
|
@@ -383,7 +382,7 @@ function Je({
|
|
|
383
382
|
description: "Label of the confirm button in the cancel subscription modal",
|
|
384
383
|
id: "subscription_cancellation_modal.cancel.confirm_button.label"
|
|
385
384
|
})
|
|
386
|
-
),
|
|
385
|
+
), l = p(
|
|
387
386
|
() => s.value ? n({
|
|
388
387
|
defaultMessage: "Cancel",
|
|
389
388
|
description: "Label of the button that dismisses the cancellation modal",
|
|
@@ -404,7 +403,7 @@ function Je({
|
|
|
404
403
|
id: "subscription_cancellation_modal.cancel.error"
|
|
405
404
|
})
|
|
406
405
|
);
|
|
407
|
-
return { title: o, explanation: r, confirmButtonText: d, cancelButtonText:
|
|
406
|
+
return { title: o, explanation: r, confirmButtonText: d, cancelButtonText: l, errorMessage: b };
|
|
408
407
|
}
|
|
409
408
|
const Qe = { class: "sv-subscription-cancellation-modal sv-subscription-cancellation-modal__body flex flex-col gap-3" }, Ze = {
|
|
410
409
|
key: 0,
|
|
@@ -424,11 +423,11 @@ const Qe = { class: "sv-subscription-cancellation-modal sv-subscription-cancella
|
|
|
424
423
|
},
|
|
425
424
|
emits: ["confirmed", "close"],
|
|
426
425
|
setup(e, { emit: i }) {
|
|
427
|
-
const t = e, n = i, { $t: s, formatDate: o } = j(), r = q(), { setSubscriptionCancellation: d } = $e(),
|
|
426
|
+
const t = e, n = i, { $t: s, formatDate: o } = j(), r = q(), { setSubscriptionCancellation: d } = $e(), l = N(t.variant);
|
|
428
427
|
Y(
|
|
429
428
|
() => t.variant,
|
|
430
429
|
(f) => {
|
|
431
|
-
f && (
|
|
430
|
+
f && (l.value = f);
|
|
432
431
|
}
|
|
433
432
|
);
|
|
434
433
|
const b = (f) => {
|
|
@@ -447,7 +446,7 @@ const Qe = { class: "sv-subscription-cancellation-modal sv-subscription-cancella
|
|
|
447
446
|
var f, P, h;
|
|
448
447
|
return (((h = (P = G(((f = t.subscription) == null ? void 0 : f.pricing_plan_schedule_infos) ?? [])) == null ? void 0 : P.pricing_plan_schedule) == null ? void 0 : h.enabled_pricings) ?? []).map(({ pricing_id: m }) => m).filter((m) => !!m);
|
|
449
448
|
}
|
|
450
|
-
), { title: B, explanation: I, confirmButtonText: A, cancelButtonText: E, errorMessage: L } = Je({ variant:
|
|
449
|
+
), { title: B, explanation: I, confirmButtonText: A, cancelButtonText: E, errorMessage: L } = Je({ variant: l, renewableUntil: C, billingPeriodEndsAt: k }), w = N(!1), x = N(!1);
|
|
451
450
|
Y(
|
|
452
451
|
() => t.showModal,
|
|
453
452
|
(f) => {
|
|
@@ -476,7 +475,7 @@ const Qe = { class: "sv-subscription-cancellation-modal sv-subscription-cancella
|
|
|
476
475
|
}, M = () => {
|
|
477
476
|
w.value || n("close");
|
|
478
477
|
};
|
|
479
|
-
return (f, P) => (
|
|
478
|
+
return (f, P) => (c(), g(a(Oe), {
|
|
480
479
|
size: "md",
|
|
481
480
|
"show-modal": e.showModal,
|
|
482
481
|
title: a(B),
|
|
@@ -501,7 +500,7 @@ const Qe = { class: "sv-subscription-cancellation-modal sv-subscription-cancella
|
|
|
501
500
|
]),
|
|
502
501
|
_: 1
|
|
503
502
|
}),
|
|
504
|
-
e.subscription ? (
|
|
503
|
+
e.subscription ? (c(), g(a(V), {
|
|
505
504
|
key: 0,
|
|
506
505
|
"no-spacing": "",
|
|
507
506
|
class: "sv-subscription-cancellation-modal__subscription"
|
|
@@ -512,8 +511,8 @@ const Qe = { class: "sv-subscription-cancellation-modal sv-subscription-cancella
|
|
|
512
511
|
avatar: e.avatar,
|
|
513
512
|
"enabled-pricing-ids": T.value
|
|
514
513
|
}, null, 8, ["subscription", "avatar", "enabled-pricing-ids"]),
|
|
515
|
-
a(O) || e.paymentMethod ? (
|
|
516
|
-
a(O) ? (
|
|
514
|
+
a(O) || e.paymentMethod ? (c(), R("div", Ze, [
|
|
515
|
+
a(O) ? (c(), R("div", et, [
|
|
517
516
|
S(a($), {
|
|
518
517
|
tag: "span",
|
|
519
518
|
variant: "body-xs",
|
|
@@ -540,7 +539,7 @@ const Qe = { class: "sv-subscription-cancellation-modal sv-subscription-cancella
|
|
|
540
539
|
_: 1
|
|
541
540
|
})
|
|
542
541
|
])) : v("", !0),
|
|
543
|
-
e.paymentMethod ? (
|
|
542
|
+
e.paymentMethod ? (c(), g(a(De), {
|
|
544
543
|
key: 1,
|
|
545
544
|
variant: "condensed",
|
|
546
545
|
class: "sv-subscription-cancellation-modal__payment-method",
|
|
@@ -550,7 +549,7 @@ const Qe = { class: "sv-subscription-cancellation-modal sv-subscription-cancella
|
|
|
550
549
|
]),
|
|
551
550
|
_: 1
|
|
552
551
|
})) : v("", !0),
|
|
553
|
-
x.value ? (
|
|
552
|
+
x.value ? (c(), g(a(ee), {
|
|
554
553
|
key: 1,
|
|
555
554
|
class: "sv-subscription-cancellation-modal__error sv-error",
|
|
556
555
|
title: a(L)
|
|
@@ -579,11 +578,11 @@ const Qe = { class: "sv-subscription-cancellation-modal sv-subscription-cancella
|
|
|
579
578
|
emits: ["top-up-charged", "auto-top-up-saved", "auto-top-up-cancelled", "payment-method-stored", "subscription-changed", "invoice-created"],
|
|
580
579
|
setup(e, { emit: i }) {
|
|
581
580
|
const t = H(
|
|
582
|
-
() => import("./SubscriptionSchedules-
|
|
581
|
+
() => import("./SubscriptionSchedules-DMxX3GpK.mjs")
|
|
583
582
|
), n = H(
|
|
584
|
-
() => import("./ChargeOnDemandModal-
|
|
583
|
+
() => import("./ChargeOnDemandModal-CR01PkP_.mjs")
|
|
585
584
|
), s = e, o = i, { dispatchAction: r } = te(), { $t: d } = j(), {
|
|
586
|
-
isCancellable:
|
|
585
|
+
isCancellable: l,
|
|
587
586
|
isRenewable: b,
|
|
588
587
|
pendingVariant: C,
|
|
589
588
|
cancel: k,
|
|
@@ -629,7 +628,7 @@ const Qe = { class: "sv-subscription-cancellation-modal sv-subscription-cancella
|
|
|
629
628
|
})
|
|
630
629
|
})
|
|
631
630
|
);
|
|
632
|
-
return (h, m) => (
|
|
631
|
+
return (h, m) => (c(), g(a(ue), { class: "sv-subscription-details sv-root sv-screen" }, {
|
|
633
632
|
header: u(() => [
|
|
634
633
|
W("div", nt, [
|
|
635
634
|
S(a($), {
|
|
@@ -642,7 +641,7 @@ const Qe = { class: "sv-subscription-cancellation-modal sv-subscription-cancella
|
|
|
642
641
|
]),
|
|
643
642
|
_: 1
|
|
644
643
|
}),
|
|
645
|
-
a(b) ? (
|
|
644
|
+
a(b) ? (c(), g(a(z), {
|
|
646
645
|
key: 0,
|
|
647
646
|
intent: "secondary",
|
|
648
647
|
class: "sv-action sv-action--secondary sv-subscription-details__renew w-full md:w-auto",
|
|
@@ -658,7 +657,7 @@ const Qe = { class: "sv-subscription-cancellation-modal sv-subscription-cancella
|
|
|
658
657
|
]),
|
|
659
658
|
_: 1
|
|
660
659
|
}, 8, ["onClick"])) : v("", !0),
|
|
661
|
-
a(
|
|
660
|
+
a(l) ? (c(), g(a(z), {
|
|
662
661
|
key: 1,
|
|
663
662
|
intent: "secondary",
|
|
664
663
|
class: "sv-action sv-action--secondary sv-subscription-details__cancel w-full md:w-auto",
|
|
@@ -677,13 +676,13 @@ const Qe = { class: "sv-subscription-cancellation-modal sv-subscription-cancella
|
|
|
677
676
|
])
|
|
678
677
|
]),
|
|
679
678
|
content: u(() => [
|
|
680
|
-
E.value ? (
|
|
679
|
+
E.value ? (c(), g(a(re), {
|
|
681
680
|
key: 0,
|
|
682
681
|
class: "sv-subscription-details__cancellation-success",
|
|
683
682
|
type: "success",
|
|
684
683
|
title: E.value
|
|
685
684
|
}, null, 8, ["title"])) : v("", !0),
|
|
686
|
-
e.error ? (
|
|
685
|
+
e.error ? (c(), g(a(ee), {
|
|
687
686
|
key: 1,
|
|
688
687
|
class: "sv-subscription-details__error sv-error",
|
|
689
688
|
title: a(d)({
|
|
@@ -691,15 +690,15 @@ const Qe = { class: "sv-subscription-cancellation-modal sv-subscription-cancella
|
|
|
691
690
|
id: "subscription_details.load_error",
|
|
692
691
|
description: "Error message shown when the subscription cannot be loaded on the subscription details page"
|
|
693
692
|
})
|
|
694
|
-
}, null, 8, ["title"])) : e.isLoading ? (
|
|
693
|
+
}, null, 8, ["title"])) : e.isLoading ? (c(), g(_e, {
|
|
695
694
|
key: 2,
|
|
696
695
|
variant: "section",
|
|
697
696
|
class: "min-h-[220px]"
|
|
698
|
-
})) : e.subscription ? (
|
|
697
|
+
})) : e.subscription ? (c(), g(a(t), {
|
|
699
698
|
key: 3,
|
|
700
699
|
class: "sv-subscription-details__schedules",
|
|
701
700
|
"schedules-data": e.schedulesData ?? []
|
|
702
|
-
}, null, 8, ["schedules-data"])) : (
|
|
701
|
+
}, null, 8, ["schedules-data"])) : (c(), g(ve, {
|
|
703
702
|
key: 4,
|
|
704
703
|
class: "sv-subscription-details__empty-state",
|
|
705
704
|
icon: "receipt_long"
|
|
@@ -736,26 +735,26 @@ const Qe = { class: "sv-subscription-cancellation-modal sv-subscription-cancella
|
|
|
736
735
|
onAutoTopUpCancelled: m[2] || (m[2] = (D) => h.$emit("auto-top-up-cancelled")),
|
|
737
736
|
onPaymentMethodStored: m[3] || (m[3] = (D) => h.$emit("payment-method-stored"))
|
|
738
737
|
}, null, 8, ["has-error", "is-loading", "wallet-balances", "customer", "payment-methods", "subscriptions"]),
|
|
739
|
-
!e.isLoading && e.onDemandItems.length > 0 ? (
|
|
738
|
+
!e.isLoading && e.onDemandItems.length > 0 ? (c(), g(Ke, {
|
|
740
739
|
key: 0,
|
|
741
740
|
items: e.onDemandItems,
|
|
742
741
|
class: "sv-subscription-details__on-demand-items",
|
|
743
742
|
onOrder: f
|
|
744
743
|
}, null, 8, ["items"])) : v("", !0),
|
|
745
|
-
L.value ? (
|
|
744
|
+
L.value ? (c(), g(qe, {
|
|
746
745
|
key: 1,
|
|
747
746
|
class: "sv-subscription-details__upgrades",
|
|
748
747
|
"pricing-plan-schedule": L.value,
|
|
749
748
|
onUpgrade: m[4] || (m[4] = (D) => a(B)(D.pricingId))
|
|
750
749
|
}, null, 8, ["pricing-plan-schedule"])) : v("", !0),
|
|
751
|
-
w.value ? (
|
|
750
|
+
w.value ? (c(), g(he, {
|
|
752
751
|
key: 2,
|
|
753
752
|
class: "sv-subscription-details__payment-method",
|
|
754
753
|
"is-loading": e.isLoading,
|
|
755
754
|
"payment-methods": [w.value],
|
|
756
755
|
configuration: { showViewAllButton: !1, showAddButton: !1 }
|
|
757
756
|
}, null, 8, ["is-loading", "payment-methods"])) : v("", !0),
|
|
758
|
-
M.value && e.subscription && e.onDemandScheduleId ? (
|
|
757
|
+
M.value && e.subscription && e.onDemandScheduleId ? (c(), g(a(n), {
|
|
759
758
|
key: 3,
|
|
760
759
|
"show-modal": U.value,
|
|
761
760
|
subscription: e.subscription,
|
|
@@ -791,7 +790,7 @@ const Qe = { class: "sv-subscription-cancellation-modal sv-subscription-cancella
|
|
|
791
790
|
var t;
|
|
792
791
|
const i = Number((t = e.default_units) == null ? void 0 : t.number);
|
|
793
792
|
return ot(i) ? i : 1;
|
|
794
|
-
},
|
|
793
|
+
}, lt = (e) => {
|
|
795
794
|
const i = e.flatMap(ae);
|
|
796
795
|
return {
|
|
797
796
|
productItems: new Map(
|
|
@@ -801,7 +800,7 @@ const Qe = { class: "sv-subscription-cancellation-modal sv-subscription-cancella
|
|
|
801
800
|
i.flatMap((t) => t.products ?? []).map(({ id: t, name: n }) => [t, n])
|
|
802
801
|
)
|
|
803
802
|
};
|
|
804
|
-
},
|
|
803
|
+
}, ct = (e, i, t) => K(i.product_item_ids.map((n) => t.productItems.get(n))) || e.name || K(e.product_ids.map((n) => t.products.get(n))) || "", dt = (e, i, t) => {
|
|
805
804
|
var o, r;
|
|
806
805
|
const n = (o = i.configs) == null ? void 0 : o.find((d) => d.on_demand);
|
|
807
806
|
if (!n || (r = n.wallet_grants) != null && r.length || !Ue(n, it))
|
|
@@ -810,7 +809,7 @@ const Qe = { class: "sv-subscription-cancellation-modal sv-subscription-cancella
|
|
|
810
809
|
return {
|
|
811
810
|
pricingItemId: i.id,
|
|
812
811
|
pricingItemConfigId: n.id,
|
|
813
|
-
name:
|
|
812
|
+
name: ct(e, i, t),
|
|
814
813
|
priceType: s,
|
|
815
814
|
price: st(n, s),
|
|
816
815
|
defaultUnits: rt(n)
|
|
@@ -818,13 +817,13 @@ const Qe = { class: "sv-subscription-cancellation-modal sv-subscription-cancella
|
|
|
818
817
|
}, ut = (e, {
|
|
819
818
|
pricingPlanVersions: i = []
|
|
820
819
|
} = {}) => {
|
|
821
|
-
const t =
|
|
820
|
+
const t = lt(i);
|
|
822
821
|
return ae(e).flatMap(
|
|
823
822
|
(n) => (n.items ?? []).flatMap(
|
|
824
823
|
(s) => dt(n, s, t) ?? []
|
|
825
824
|
)
|
|
826
825
|
);
|
|
827
|
-
},
|
|
826
|
+
}, qt = (e, i) => {
|
|
828
827
|
const t = new Set(
|
|
829
828
|
(i.payment_acceptors ?? []).flatMap(
|
|
830
829
|
(n) => {
|
|
@@ -838,7 +837,7 @@ const Qe = { class: "sv-subscription-cancellation-modal sv-subscription-cancella
|
|
|
838
837
|
).sort(
|
|
839
838
|
(n, s) => +(s.id === i.payment_method_id) - +(n.id === i.payment_method_id)
|
|
840
839
|
);
|
|
841
|
-
},
|
|
840
|
+
}, Gt = (e, i) => e.flatMap(({ pricingItemId: t, units: n }) => {
|
|
842
841
|
const s = i.find((o) => o.pricingItemId === t);
|
|
843
842
|
return s ? s.priceType === "FLAT" && n !== void 0 ? [{ pricing_item_id: t, units: { number: String(n) } }] : [{ pricing_item_id: t }] : [];
|
|
844
843
|
});
|
|
@@ -847,21 +846,21 @@ function pt({
|
|
|
847
846
|
}) {
|
|
848
847
|
const { getOnDemandPricingItems: i } = Te(), t = q(), { data: n, execute: s } = Be({ service: i }), o = p(
|
|
849
848
|
() => {
|
|
850
|
-
var
|
|
851
|
-
return ((
|
|
849
|
+
var l;
|
|
850
|
+
return ((l = e.value) == null ? void 0 : l.variant) === "DEFAULT" ? G(e.value.pricing_plan_schedule_infos) : void 0;
|
|
852
851
|
}
|
|
853
852
|
), r = p(() => {
|
|
854
|
-
var
|
|
855
|
-
return (
|
|
853
|
+
var l;
|
|
854
|
+
return (l = o.value) == null ? void 0 : l.id;
|
|
856
855
|
});
|
|
857
856
|
return Y(
|
|
858
857
|
r,
|
|
859
|
-
(
|
|
860
|
-
|
|
858
|
+
(l) => {
|
|
859
|
+
l && s({ scheduleId: l }).catch(
|
|
861
860
|
(b) => t.error(
|
|
862
861
|
"ON_DEMAND_ITEMS_LOAD_FAILED",
|
|
863
862
|
"Failed to load the on-demand items of the subscription",
|
|
864
|
-
{ scheduleId:
|
|
863
|
+
{ scheduleId: l },
|
|
865
864
|
b
|
|
866
865
|
)
|
|
867
866
|
);
|
|
@@ -869,8 +868,8 @@ function pt({
|
|
|
869
868
|
{ immediate: !0 }
|
|
870
869
|
), { items: p(
|
|
871
870
|
() => {
|
|
872
|
-
var
|
|
873
|
-
return r.value && ((
|
|
871
|
+
var l, b;
|
|
872
|
+
return r.value && ((l = n.value) == null ? void 0 : l.pricing_plan_schedule_id) === r.value ? ut(n.value, {
|
|
874
873
|
pricingPlanVersions: (b = e.value) == null ? void 0 : b.pricing_plan_schedule_infos.map(
|
|
875
874
|
(C) => C.pricing_plan_version
|
|
876
875
|
)
|
|
@@ -903,7 +902,7 @@ const mt = /* @__PURE__ */ F({
|
|
|
903
902
|
subscription: n,
|
|
904
903
|
get: s,
|
|
905
904
|
error: o
|
|
906
|
-
} = Ce({ subscriptionId: i.configuration.subscriptionId }), r = q(), d = p(() => n.value ? null : o.value),
|
|
905
|
+
} = Ce({ subscriptionId: i.configuration.subscriptionId }), r = q(), d = p(() => n.value ? null : o.value), l = () => s().catch((M) => {
|
|
907
906
|
r.error(
|
|
908
907
|
"SUBSCRIPTION_LOAD_FAILED",
|
|
909
908
|
"Failed to reload the subscription after it changed",
|
|
@@ -940,7 +939,7 @@ const mt = /* @__PURE__ */ F({
|
|
|
940
939
|
error: d.value,
|
|
941
940
|
refreshWalletBalances: a(I),
|
|
942
941
|
refreshPaymentMethods: a(O),
|
|
943
|
-
refreshSubscription:
|
|
942
|
+
refreshSubscription: l
|
|
944
943
|
});
|
|
945
944
|
}
|
|
946
945
|
});
|
|
@@ -975,10 +974,10 @@ const bt = /* @__PURE__ */ F({
|
|
|
975
974
|
branding: { type: Object }
|
|
976
975
|
},
|
|
977
976
|
setup(e) {
|
|
978
|
-
const i =
|
|
977
|
+
const i = ce("subscription-details"), t = e;
|
|
979
978
|
return (n, s) => {
|
|
980
979
|
var o;
|
|
981
|
-
return
|
|
980
|
+
return c(), g(a(le), {
|
|
982
981
|
entry: n.$props,
|
|
983
982
|
"component-name": a(i),
|
|
984
983
|
"allowed-portal-types": ["CUSTOMER"],
|
|
@@ -986,13 +985,13 @@ const bt = /* @__PURE__ */ F({
|
|
|
986
985
|
onError: s[1] || (s[1] = (r) => n.$emit("error", r))
|
|
987
986
|
}, {
|
|
988
987
|
default: u(() => [
|
|
989
|
-
(
|
|
988
|
+
(c(), g(mt, oe({
|
|
990
989
|
key: e.configuration.subscriptionId
|
|
991
990
|
}, n.$props), {
|
|
992
991
|
default: u(({
|
|
993
992
|
subscription: r,
|
|
994
993
|
schedulesData: d,
|
|
995
|
-
customer:
|
|
994
|
+
customer: l,
|
|
996
995
|
paymentMethods: b,
|
|
997
996
|
walletBalances: C,
|
|
998
997
|
onDemandItems: k,
|
|
@@ -1007,7 +1006,7 @@ const bt = /* @__PURE__ */ F({
|
|
|
1007
1006
|
S(at, {
|
|
1008
1007
|
subscription: r,
|
|
1009
1008
|
"schedules-data": d,
|
|
1010
|
-
customer:
|
|
1009
|
+
customer: l,
|
|
1011
1010
|
avatar: e.configuration.avatar,
|
|
1012
1011
|
"can-view-created-invoice": e.configuration.canViewCreatedInvoice,
|
|
1013
1012
|
"payment-methods": b,
|
|
@@ -1032,14 +1031,14 @@ const bt = /* @__PURE__ */ F({
|
|
|
1032
1031
|
}, 8, ["entry", "component-name", "required-configuration"]);
|
|
1033
1032
|
};
|
|
1034
1033
|
}
|
|
1035
|
-
}), { define:
|
|
1034
|
+
}), { define: Ht } = de(
|
|
1036
1035
|
bt,
|
|
1037
1036
|
"subscription-details"
|
|
1038
1037
|
);
|
|
1039
1038
|
export {
|
|
1040
|
-
|
|
1041
|
-
|
|
1039
|
+
Ht as d,
|
|
1040
|
+
qt as g,
|
|
1042
1041
|
ot as i,
|
|
1043
|
-
|
|
1042
|
+
Gt as t,
|
|
1044
1043
|
Fe as u
|
|
1045
1044
|
};
|