@solvimon/solvimon-web 0.1.0-alpha.12 → 0.1.0-alpha.14
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/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-DGisvmez.js → BillingInformation.vue_vue_type_script_setup_true_lang-0_VYW5Wu.js} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-CX8vlY2Z.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-D8ZeVBWO.mjs} +2 -2
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Bus-5gC3.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DEqfojR8.mjs} +2 -2
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-zdBaVj-K.js +1 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CFLR4ptB.js +1 -0
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Bc2hkpTb.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-COnrD4ew.mjs} +1 -1
- package/dist/{PaymentHistoryBlock-D_B099M7.mjs → PaymentHistoryBlock-BTRFc4ki.mjs} +1 -1
- package/dist/{PaymentHistoryBlock-BiiFJkpT.js → PaymentHistoryBlock-DUeSRR3k.js} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CaMDtHrL.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-GeyErAW6.mjs} +1 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-TgZYSSQe.js +1 -0
- package/dist/{PaymentIntegrationForm-bfGmfwQT.js → PaymentIntegrationForm-CQntx0TH.js} +1 -1
- package/dist/{PaymentIntegrationForm-CkXYj9xs.mjs → PaymentIntegrationForm-DX6kv0_v.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BhGQB-c9.js +1 -0
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-BnMmcoAu.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-Dkd-Cp8c.mjs} +5 -5
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BuJGxitV.js +1 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-D-BFQZiM.mjs +169 -0
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BkzLj8n2.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-B7IOIy-v.mjs} +48 -23
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-D-hpJL8I.js +1 -0
- package/dist/adyen-BvNyYAg-.js +1 -0
- package/dist/{adyen-Bwewy3HC.mjs → adyen-D0yvZvq5.mjs} +1 -1
- package/dist/component-By_A1VHh.js +1 -0
- package/dist/component-CGfjV_7z.mjs +889 -0
- package/dist/components/BillingInformation/BillingInformation.cjs.js +1 -1
- package/dist/components/BillingInformation/BillingInformation.es.js +4 -4
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +1 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.es.js +3 -3
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +1 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.es.js +4 -4
- package/dist/components/Invoice/Invoice.cjs.js +1 -1
- package/dist/components/Invoice/Invoice.es.js +6 -6
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +1 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.es.js +3 -3
- package/dist/components/InvoicesList/InvoicesList.cjs.js +1 -1
- package/dist/components/InvoicesList/InvoicesList.es.js +3 -3
- package/dist/components/PaymentHistory/PaymentHistory.cjs.js +1 -1
- package/dist/components/PaymentHistory/PaymentHistory.es.js +3 -3
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +1 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.es.js +6 -6
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +1 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.es.js +5 -5
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +1 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.es.js +5 -5
- package/dist/components/WalletBalances/WalletBalances.cjs.js +1 -1
- package/dist/components/WalletBalances/WalletBalances.es.js +3 -3
- package/dist/core/action-request.types.d.ts +10 -1
- package/dist/core/index.cjs.js +1 -1
- package/dist/core/index.es.js +1 -1
- package/dist/{customer-B31QzznT.mjs → customer-Bn6GdxP8.mjs} +1 -1
- package/dist/{customer-hDxW1Dbp.js → customer-CGyZojAB.js} +1 -1
- package/dist/{en-US-N3CUCsVy.mjs → en-US-BKhsdJQ2.mjs} +15 -7
- package/dist/en-US-G2HBHqjq.js +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/invoices-DDeL8tvI.js +1 -0
- package/dist/{invoices-DIYPN2j_.mjs → invoices-Rs-QBUGS.mjs} +22 -3
- package/dist/{nl-NL-B8U9b85I.mjs → nl-NL-BdeAy1tY.mjs} +25 -13
- package/dist/nl-NL-DvVsMfhA.js +1 -0
- package/dist/{paymentMethods-C_sdTkSF.js → paymentMethods-BR9w3qy8.js} +1 -1
- package/dist/{paymentMethods-67b3UlTZ.mjs → paymentMethods-DOH9-6M1.mjs} +2 -2
- package/dist/{payments-DkHhTHto.js → payments-C0vYbn5Q.js} +1 -1
- package/dist/{payments-Dq6R37Fz.mjs → payments-DGPENXiS.mjs} +1 -1
- package/dist/{registry-Df_26rJy.mjs → registry-7UKVW93Q.mjs} +1 -1
- package/dist/{registry-BkViv4tv.js → registry-DrV0jFnM.js} +1 -1
- package/dist/screens/Checkout/Checkout.cjs.js +1 -1
- package/dist/screens/Checkout/Checkout.es.js +265 -376
- package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +1 -1
- package/dist/screens/CustomerOverview/CustomerOverview.es.js +12 -12
- package/dist/screens/PayInvoice/PayInvoice.cjs.js +1 -1
- package/dist/screens/PayInvoice/PayInvoice.es.js +8 -8
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.cjs.js +1 -1
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.es.js +758 -717
- package/dist/{subscriptions-ClGIr_aS.mjs → subscriptions-BIGqt2N0.mjs} +2 -2
- package/dist/{subscriptions-jelITJcX.js → subscriptions-CcpEwubd.js} +1 -1
- package/dist/{useActionDispatchProvider-BC57-Ufn.mjs → useActionDispatchProvider-Ca1YbU61.mjs} +1 -1
- package/dist/{useActionDispatchProvider-rw9kWeE0.js → useActionDispatchProvider-aqYyqIdb.js} +1 -1
- package/dist/{useCustomer-CUcaeQn_.js → useCustomer-D9ZrqMFY.js} +1 -1
- package/dist/{useCustomer-Ba9WRtuT.mjs → useCustomer-DUA8Y-2I.mjs} +2 -2
- package/dist/{useIncrementalLoading-Cnzh2mAz.mjs → useIncrementalLoading-C1LKdVP8.mjs} +1 -1
- package/dist/{useIncrementalLoading-DoTTXM2Y.js → useIncrementalLoading-FNH4k4a3.js} +1 -1
- package/dist/{useInvoiceData-BJwwDur7.mjs → useInvoiceData-Bz4a2Mfa.mjs} +3 -3
- package/dist/{useInvoiceData-D2jkdmlA.js → useInvoiceData-HNnt3703.js} +1 -1
- package/dist/useInvoicesList-DXBTGdcI.js +1 -0
- package/dist/{useInvoicesList-CFzAxyae.mjs → useInvoicesList-b2_fiHsc.mjs} +4 -4
- package/dist/{useLoadInitialData-5sgImpzc.mjs → useLoadInitialData-Cyp1xpuv.mjs} +1 -1
- package/dist/{useLoadInitialData-DjwRHcAH.js → useLoadInitialData-D0t-Lk3k.js} +1 -1
- package/dist/{usePaymentMethodOptions-DYO6xr3-.js → usePaymentMethodOptions-DgGDcVeE.js} +1 -1
- package/dist/{usePaymentMethodOptions-C2k4npCQ.mjs → usePaymentMethodOptions-r0Opz7BC.mjs} +2 -2
- package/dist/{usePaymentMethods-ryN_YohI.js → usePaymentMethods-BHLXXaCa.js} +1 -1
- package/dist/{usePaymentMethods-CRWbH48K.mjs → usePaymentMethods-C-NCtOom.mjs} +2 -2
- package/dist/{usePayments-Cw5PPEJa.mjs → usePayments-BtByiIMy.mjs} +3 -3
- package/dist/{usePayments-DWXPGFvp.js → usePayments-DADpdoI7.js} +1 -1
- package/dist/{usePortal-cmE08vYs.mjs → usePortal-CpW3EDD-.mjs} +1 -1
- package/dist/{usePortal-CxX4nrE4.js → usePortal-DhaZBAGi.js} +1 -1
- package/dist/{useService-BsSEI8DZ.mjs → useService-BcYQRxPS.mjs} +1 -1
- package/dist/{useService-Bb9r_sOQ.js → useService-C0h9UlQW.js} +1 -1
- package/dist/{useWalletBalanceItems-CpZ1NWPr.js → useWalletBalanceItems-COzKSpmt.js} +1 -1
- package/dist/{useWalletBalanceItems-CkDqmk36.mjs → useWalletBalanceItems-DKz-2vUy.mjs} +3 -3
- package/dist/{useWatchDebounced-2ZLnfgvG.js → useWatchDebounced-C_YxgoQ6.js} +1 -1
- package/dist/{useWatchDebounced-D1xuIX6_.mjs → useWatchDebounced-Zmxd6InB.mjs} +8 -4
- package/dist/{vendor-ui-5pJF5KBP.js → vendor-ui-1SHma7t1.js} +1 -1
- package/dist/{vendor-ui-C0K3osvz.mjs → vendor-ui-CdOX_IS-.mjs} +42 -42
- package/package.json +1 -1
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CkRsyMlJ.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D0vVUHuY.js +0 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DWTEfLrE.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CiyyUp4z.js +0 -1
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-BChVMzCj.mjs +0 -50
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-Br3bEUlP.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-AHw3iTfi.js +0 -1
- package/dist/adyen-R6aSZ0Yf.js +0 -1
- package/dist/component-BOqPDAVk.js +0 -1
- package/dist/component-Djrf1L-Z.mjs +0 -889
- package/dist/en-US-CgPY97Vq.js +0 -1
- package/dist/invoices-DzkA1jDc.js +0 -1
- package/dist/nl-NL-qMRaTRrM.js +0 -1
- package/dist/useInvoicesList-CaBCGs4h.js +0 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { ref, computed, onMounted,
|
|
2
|
-
import {
|
|
3
|
-
import { a as useLogger, _ as _sfc_main$Q, d as defineCustomElement, g as getComponentName } from "../../component-
|
|
4
|
-
import { c as createSubscriptionsService } from "../../subscriptions-
|
|
1
|
+
import { ref, computed, onMounted, watch, defineComponent, openBlock, createBlock, unref, withCtx, createElementVNode, createVNode, createTextVNode, toDisplayString, useModel, createElementBlock, withModifiers, Fragment, createCommentVNode, createSlots, normalizeClass, mergeModels, renderList, renderSlot, toRef, nextTick, withDirectives, withKeys, vShow, defineAsyncComponent } from "vue";
|
|
2
|
+
import { V as taxId, k as isEqual, W as convertDateRangeToTimePeriod, K as useValidation, L as objectDiff, X as isEmpty, u as useIntl, Y as _sfc_main$o, b as _sfc_main$p, Z as isEUCountry, $ as isValidCountryCode, a0 as getCountryNameByCode, _ as _sfc_main$q, O as _sfc_main$r, Q as _sfc_main$s, e as _sfc_main$t, a1 as _sfc_main$u, R as _sfc_main$v, a2 as _sfc_main$w, a3 as _sfc_main$x, a4 as _sfc_main$y, a5 as TooltipContent, a6 as _sfc_main$z, a7 as formatBillingPeriod, y as formatAmount, a8 as _sfc_main$B, a9 as useTimePeriod, f as _sfc_main$C, aa as _sfc_main$E, ab as _sfc_main$F, D as _sfc_main$G, F as _sfc_main$I, ac as _sfc_main$J, l as _sfc_main$K, ad as usePricingItem, ae as _sfc_main$L, af as _sfc_main$M, ag as uniqueId, C as _sfc_main$N } from "../../vendor-ui-CdOX_IS-.mjs";
|
|
3
|
+
import { a as useLogger, _ as _sfc_main$Q, d as defineCustomElement, g as getComponentName } from "../../component-CGfjV_7z.mjs";
|
|
4
|
+
import { c as createSubscriptionsService } from "../../subscriptions-BIGqt2N0.mjs";
|
|
5
5
|
import { A as ApiStatus } from "../../ApiStatus-CyNDp_op.mjs";
|
|
6
|
-
import { c as createInvoicesService } from "../../invoices-
|
|
6
|
+
import { c as createInvoicesService } from "../../invoices-Rs-QBUGS.mjs";
|
|
7
7
|
import { a as requiredIf, r as required, e as email } from "../../index-CzL1ZcGi.mjs";
|
|
8
|
-
import { u as useWatchDebounced } from "../../useWatchDebounced-
|
|
9
|
-
import { c as createPaymentMethodsService } from "../../paymentMethods-
|
|
10
|
-
import { u as useService } from "../../useService-
|
|
11
|
-
import { u as usePortal } from "../../usePortal-
|
|
12
|
-
import { c as createCustomerService } from "../../customer-
|
|
13
|
-
import { _ as _sfc_main$
|
|
14
|
-
import { _ as _sfc_main$
|
|
8
|
+
import { u as useWatchDebounced } from "../../useWatchDebounced-Zmxd6InB.mjs";
|
|
9
|
+
import { c as createPaymentMethodsService } from "../../paymentMethods-DOH9-6M1.mjs";
|
|
10
|
+
import { u as useService } from "../../useService-BcYQRxPS.mjs";
|
|
11
|
+
import { u as usePortal } from "../../usePortal-CpW3EDD-.mjs";
|
|
12
|
+
import { c as createCustomerService } from "../../customer-Bn6GdxP8.mjs";
|
|
13
|
+
import { _ as _sfc_main$A, e as getAdyenExpressCheckoutConfiguration, c as transformObjectToAdyenObject, d as createReturnUrl, s as safeUrlRedirect } from "../../adyen-D0yvZvq5.mjs";
|
|
14
|
+
import { _ as _sfc_main$D, a as _sfc_main$O, b as _sfc_main$P } from "../../SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-D-BFQZiM.mjs";
|
|
15
15
|
import { u as useViewport } from "../../useViewport-Bu0cyeSi.mjs";
|
|
16
|
-
import { _ as _sfc_main$
|
|
17
|
-
import { c as createPaymentsService } from "../../payments-
|
|
16
|
+
import { _ as _sfc_main$H } from "../../Skeleton.vue_vue_type_script_setup_true_lang-DGMxHc20.mjs";
|
|
17
|
+
import { c as createPaymentsService } from "../../payments-DGPENXiS.mjs";
|
|
18
18
|
import { C as ContentWithAsideLayout } from "../../ContentWithAsideLayout-DhfUkZZg.mjs";
|
|
19
19
|
function getFirstPricingPlanScheduleOfType({
|
|
20
20
|
pricingPlanScheduleInfos,
|
|
@@ -576,7 +576,7 @@ function useCheckoutForm({
|
|
|
576
576
|
const updateInitialState = (state) => {
|
|
577
577
|
const newState = getInitialState({ ...form.value, ...state });
|
|
578
578
|
form.value = newState;
|
|
579
|
-
initialFormState.value = structuredClone(
|
|
579
|
+
initialFormState.value = structuredClone(newState);
|
|
580
580
|
};
|
|
581
581
|
const requiredFields = computed(
|
|
582
582
|
() => getRequiredFieldsForCountry(form.value.country)
|
|
@@ -627,9 +627,11 @@ function useCheckoutForm({
|
|
|
627
627
|
onMounted(async () => {
|
|
628
628
|
await getCountryFromGeoLocationService(initialState == null ? void 0 : initialState.country);
|
|
629
629
|
});
|
|
630
|
-
useWatchDebounced(
|
|
631
|
-
|
|
632
|
-
|
|
630
|
+
useWatchDebounced(
|
|
631
|
+
() => JSON.parse(JSON.stringify(form.value)),
|
|
632
|
+
handleFormChange,
|
|
633
|
+
{ debounce: 200 }
|
|
634
|
+
);
|
|
633
635
|
return {
|
|
634
636
|
form,
|
|
635
637
|
validation,
|
|
@@ -1011,15 +1013,19 @@ function useCheckoutView({
|
|
|
1011
1013
|
} catch {
|
|
1012
1014
|
}
|
|
1013
1015
|
});
|
|
1014
|
-
watch(
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1016
|
+
watch(
|
|
1017
|
+
shouldLoadPaymentMethodOptions,
|
|
1018
|
+
(shouldLoad) => {
|
|
1019
|
+
if (shouldLoad) {
|
|
1020
|
+
void loadPaymentMethodOptions({
|
|
1021
|
+
subscriptionId: subscription.value.id,
|
|
1022
|
+
country: checkoutForm.form.value.country,
|
|
1023
|
+
amount: amount.value
|
|
1024
|
+
});
|
|
1025
|
+
}
|
|
1026
|
+
},
|
|
1027
|
+
{ once: true }
|
|
1028
|
+
);
|
|
1023
1029
|
return {
|
|
1024
1030
|
invoicePreview: invoicePreview.invoicePreview,
|
|
1025
1031
|
invoicePreviewByBillingPeriod: invoicePreview.invoicePreviewByBillingPeriod,
|
|
@@ -1114,8 +1120,8 @@ function usePromotionCode({
|
|
|
1114
1120
|
function isFieldError(error) {
|
|
1115
1121
|
return typeof error === "object" && error !== null && "field" in error;
|
|
1116
1122
|
}
|
|
1117
|
-
const _hoisted_1$
|
|
1118
|
-
const _sfc_main$
|
|
1123
|
+
const _hoisted_1$k = { class: "flex items-center gap-2" };
|
|
1124
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
1119
1125
|
__name: "TaxIDCheckNotice",
|
|
1120
1126
|
props: {
|
|
1121
1127
|
taxIdValidationResult: { type: Object }
|
|
@@ -1138,13 +1144,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
1138
1144
|
});
|
|
1139
1145
|
});
|
|
1140
1146
|
return (_ctx, _cache) => {
|
|
1141
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
1147
|
+
return openBlock(), createBlock(unref(_sfc_main$o), {
|
|
1142
1148
|
type: isTaxIdValid.value ? "success" : "danger",
|
|
1143
1149
|
icon: false
|
|
1144
1150
|
}, {
|
|
1145
1151
|
default: withCtx(() => [
|
|
1146
|
-
createElementVNode("div", _hoisted_1$
|
|
1147
|
-
createVNode(unref(_sfc_main$
|
|
1152
|
+
createElementVNode("div", _hoisted_1$k, [
|
|
1153
|
+
createVNode(unref(_sfc_main$p), { variant: "body-xs" }, {
|
|
1148
1154
|
default: withCtx(() => [
|
|
1149
1155
|
createTextVNode(toDisplayString(taxIdValidationMessage.value), 1)
|
|
1150
1156
|
]),
|
|
@@ -1209,16 +1215,16 @@ function useTaxIDValidationCheck(form) {
|
|
|
1209
1215
|
isSelectedCountryEU
|
|
1210
1216
|
};
|
|
1211
1217
|
}
|
|
1212
|
-
const _hoisted_1$
|
|
1213
|
-
const _hoisted_2$
|
|
1214
|
-
const _hoisted_3$
|
|
1218
|
+
const _hoisted_1$j = { class: "grid grid-cols-1 gap-1" };
|
|
1219
|
+
const _hoisted_2$c = { class: "grid grid-cols-1 gap-2" };
|
|
1220
|
+
const _hoisted_3$6 = { key: 0 };
|
|
1215
1221
|
const _hoisted_4$5 = { class: "mt-2 flex flex-col gap-3" };
|
|
1216
1222
|
const _hoisted_5$4 = { class: "grid grid-cols-3 gap-2" };
|
|
1217
1223
|
const _hoisted_6$2 = { class: "flex grow flex-col" };
|
|
1218
1224
|
const _hoisted_7$1 = { key: 0 };
|
|
1219
1225
|
const _hoisted_8$1 = { class: "mt-4 grid grid-cols-1 gap-3" };
|
|
1220
1226
|
const FORM_ID = "checkout-form";
|
|
1221
|
-
const _sfc_main$
|
|
1227
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
1222
1228
|
__name: "CheckoutForm",
|
|
1223
1229
|
props: /* @__PURE__ */ mergeModels({
|
|
1224
1230
|
validation: { type: null },
|
|
@@ -1271,8 +1277,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1271
1277
|
id: FORM_ID,
|
|
1272
1278
|
onSubmit: _cache[12] || (_cache[12] = withModifiers(($event) => _ctx.$emit("submit", model.value), ["prevent"]))
|
|
1273
1279
|
}, [
|
|
1274
|
-
createElementVNode("div", _hoisted_1$
|
|
1275
|
-
createVNode(unref(_sfc_main$
|
|
1280
|
+
createElementVNode("div", _hoisted_1$j, [
|
|
1281
|
+
createVNode(unref(_sfc_main$q), {
|
|
1276
1282
|
title: unref($t)({
|
|
1277
1283
|
defaultMessage: "Customer information",
|
|
1278
1284
|
id: "checkout.contact_information_block.title",
|
|
@@ -1280,9 +1286,9 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1280
1286
|
})
|
|
1281
1287
|
}, {
|
|
1282
1288
|
default: withCtx(() => [
|
|
1283
|
-
createElementVNode("div", _hoisted_2$
|
|
1289
|
+
createElementVNode("div", _hoisted_2$c, [
|
|
1284
1290
|
__props.readOnly ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
1285
|
-
createVNode(unref(_sfc_main$
|
|
1291
|
+
createVNode(unref(_sfc_main$p), {
|
|
1286
1292
|
variant: "body",
|
|
1287
1293
|
tag: "span",
|
|
1288
1294
|
weight: "semibold",
|
|
@@ -1293,7 +1299,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1293
1299
|
]),
|
|
1294
1300
|
_: 1
|
|
1295
1301
|
}),
|
|
1296
|
-
createVNode(unref(_sfc_main$
|
|
1302
|
+
createVNode(unref(_sfc_main$p), {
|
|
1297
1303
|
variant: "body-sm",
|
|
1298
1304
|
tag: "span",
|
|
1299
1305
|
shade: "lighter",
|
|
@@ -1305,7 +1311,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1305
1311
|
_: 1
|
|
1306
1312
|
})
|
|
1307
1313
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
1308
|
-
createVNode(unref(_sfc_main$
|
|
1314
|
+
createVNode(unref(_sfc_main$r), {
|
|
1309
1315
|
modelValue: model.value.email,
|
|
1310
1316
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => model.value.email = $event),
|
|
1311
1317
|
required: "",
|
|
@@ -1324,7 +1330,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1324
1330
|
}) + getOptionalSuffix("email"),
|
|
1325
1331
|
error: __props.validation.value.email.$errors
|
|
1326
1332
|
}, null, 8, ["modelValue", "disabled", "label", "placeholder", "error"]),
|
|
1327
|
-
createVNode(unref(_sfc_main$
|
|
1333
|
+
createVNode(unref(_sfc_main$s), {
|
|
1328
1334
|
"single-model-value": country.value,
|
|
1329
1335
|
"onUpdate:singleModelValue": _cache[3] || (_cache[3] = ($event) => country.value = $event),
|
|
1330
1336
|
required: "",
|
|
@@ -1337,7 +1343,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1337
1343
|
error: __props.validation.value.country.$errors
|
|
1338
1344
|
}, {
|
|
1339
1345
|
"label-suffix": withCtx(() => [
|
|
1340
|
-
!showBillingDetails.value && !__props.isBillingInformationMandatory ? (openBlock(), createBlock(unref(_sfc_main$
|
|
1346
|
+
!showBillingDetails.value && !__props.isBillingInformationMandatory ? (openBlock(), createBlock(unref(_sfc_main$t), {
|
|
1341
1347
|
key: 0,
|
|
1342
1348
|
size: "xs",
|
|
1343
1349
|
variant: "ghost",
|
|
@@ -1354,7 +1360,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1354
1360
|
]),
|
|
1355
1361
|
_: 1
|
|
1356
1362
|
})) : createCommentVNode("", true),
|
|
1357
|
-
showBillingDetails.value && !__props.isBillingInformationMandatory ? (openBlock(), createBlock(unref(_sfc_main$
|
|
1363
|
+
showBillingDetails.value && !__props.isBillingInformationMandatory ? (openBlock(), createBlock(unref(_sfc_main$t), {
|
|
1358
1364
|
key: 1,
|
|
1359
1365
|
size: "sm",
|
|
1360
1366
|
variant: "ghost",
|
|
@@ -1376,11 +1382,11 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1376
1382
|
}, 8, ["single-model-value", "label", "error"])
|
|
1377
1383
|
], 64))
|
|
1378
1384
|
]),
|
|
1379
|
-
createVNode(unref(_sfc_main$
|
|
1385
|
+
createVNode(unref(_sfc_main$u), null, {
|
|
1380
1386
|
default: withCtx(() => [
|
|
1381
|
-
showBillingDetails.value || __props.isBillingInformationMandatory ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
1387
|
+
showBillingDetails.value || __props.isBillingInformationMandatory ? (openBlock(), createElementBlock("div", _hoisted_3$6, [
|
|
1382
1388
|
createElementVNode("div", _hoisted_4$5, [
|
|
1383
|
-
createVNode(unref(_sfc_main$
|
|
1389
|
+
createVNode(unref(_sfc_main$r), {
|
|
1384
1390
|
modelValue: model.value.addressLine1,
|
|
1385
1391
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => model.value.addressLine1 = $event),
|
|
1386
1392
|
name: "address_line_1",
|
|
@@ -1397,7 +1403,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1397
1403
|
required: "",
|
|
1398
1404
|
error: __props.validation.value.addressLine1.$errors
|
|
1399
1405
|
}, null, 8, ["modelValue", "label", "placeholder", "error"]),
|
|
1400
|
-
createVNode(unref(_sfc_main$
|
|
1406
|
+
createVNode(unref(_sfc_main$r), {
|
|
1401
1407
|
modelValue: model.value.addressLine2,
|
|
1402
1408
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => model.value.addressLine2 = $event),
|
|
1403
1409
|
name: "address_line_2",
|
|
@@ -1408,7 +1414,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1408
1414
|
}) + getOptionalSuffix("addressLine2")
|
|
1409
1415
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
1410
1416
|
createElementVNode("div", _hoisted_5$4, [
|
|
1411
|
-
createVNode(unref(_sfc_main$
|
|
1417
|
+
createVNode(unref(_sfc_main$r), {
|
|
1412
1418
|
modelValue: model.value.postalCode,
|
|
1413
1419
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => model.value.postalCode = $event),
|
|
1414
1420
|
name: "postal_code",
|
|
@@ -1419,7 +1425,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1419
1425
|
}) + getOptionalSuffix("postalCode"),
|
|
1420
1426
|
error: __props.validation.value.addressLine1.$errors
|
|
1421
1427
|
}, null, 8, ["modelValue", "placeholder", "error"]),
|
|
1422
|
-
createVNode(unref(_sfc_main$
|
|
1428
|
+
createVNode(unref(_sfc_main$r), {
|
|
1423
1429
|
modelValue: model.value.city,
|
|
1424
1430
|
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => model.value.city = $event),
|
|
1425
1431
|
name: "city",
|
|
@@ -1429,7 +1435,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1429
1435
|
description: "City of the customer address in the checkout form"
|
|
1430
1436
|
}) + getOptionalSuffix("city")
|
|
1431
1437
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
1432
|
-
createVNode(unref(_sfc_main$
|
|
1438
|
+
createVNode(unref(_sfc_main$r), {
|
|
1433
1439
|
modelValue: model.value.state,
|
|
1434
1440
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => model.value.state = $event),
|
|
1435
1441
|
name: "state",
|
|
@@ -1449,9 +1455,9 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1449
1455
|
]),
|
|
1450
1456
|
_: 1
|
|
1451
1457
|
}, 8, ["title"]),
|
|
1452
|
-
!__props.readOnly ? (openBlock(), createBlock(unref(_sfc_main$
|
|
1458
|
+
!__props.readOnly ? (openBlock(), createBlock(unref(_sfc_main$q), { key: 0 }, {
|
|
1453
1459
|
default: withCtx(() => [
|
|
1454
|
-
createVNode(unref(_sfc_main$
|
|
1460
|
+
createVNode(unref(_sfc_main$v), {
|
|
1455
1461
|
modelValue: companyPurchaseModel.value,
|
|
1456
1462
|
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => companyPurchaseModel.value = $event),
|
|
1457
1463
|
"no-spacing": "",
|
|
@@ -1460,7 +1466,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1460
1466
|
}, {
|
|
1461
1467
|
"inline-label": withCtx(() => [
|
|
1462
1468
|
createElementVNode("div", _hoisted_6$2, [
|
|
1463
|
-
createVNode(unref(_sfc_main$
|
|
1469
|
+
createVNode(unref(_sfc_main$p), { tag: "span" }, {
|
|
1464
1470
|
default: withCtx(() => [
|
|
1465
1471
|
createTextVNode(toDisplayString(unref($t)({
|
|
1466
1472
|
defaultMessage: "Company purchase",
|
|
@@ -1470,7 +1476,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1470
1476
|
]),
|
|
1471
1477
|
_: 1
|
|
1472
1478
|
}),
|
|
1473
|
-
createVNode(unref(_sfc_main$
|
|
1479
|
+
createVNode(unref(_sfc_main$p), {
|
|
1474
1480
|
tag: "span",
|
|
1475
1481
|
variant: "body-xs",
|
|
1476
1482
|
shade: "lighter"
|
|
@@ -1488,11 +1494,11 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1488
1494
|
]),
|
|
1489
1495
|
_: 1
|
|
1490
1496
|
}, 8, ["modelValue"]),
|
|
1491
|
-
createVNode(unref(_sfc_main$
|
|
1497
|
+
createVNode(unref(_sfc_main$u), null, {
|
|
1492
1498
|
default: withCtx(() => [
|
|
1493
1499
|
isCompanyPurchase.value ? (openBlock(), createElementBlock("div", _hoisted_7$1, [
|
|
1494
1500
|
createElementVNode("div", _hoisted_8$1, [
|
|
1495
|
-
createVNode(unref(_sfc_main$
|
|
1501
|
+
createVNode(unref(_sfc_main$r), {
|
|
1496
1502
|
modelValue: model.value.companyLegalName,
|
|
1497
1503
|
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => model.value.companyLegalName = $event),
|
|
1498
1504
|
required: "",
|
|
@@ -1508,7 +1514,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1508
1514
|
description: "The legal name of the organization customer in the checkout form"
|
|
1509
1515
|
})
|
|
1510
1516
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1511
|
-
showVatIdInput.value ? (openBlock(), createBlock(unref(_sfc_main$
|
|
1517
|
+
showVatIdInput.value ? (openBlock(), createBlock(unref(_sfc_main$r), {
|
|
1512
1518
|
key: 0,
|
|
1513
1519
|
modelValue: model.value.companyVatNumber,
|
|
1514
1520
|
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => model.value.companyVatNumber = $event),
|
|
@@ -1530,7 +1536,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1530
1536
|
unref(isEUCountry)(model.value.country ?? "") ? {
|
|
1531
1537
|
name: "suffix",
|
|
1532
1538
|
fn: withCtx(() => [
|
|
1533
|
-
createVNode(unref(_sfc_main$
|
|
1539
|
+
createVNode(unref(_sfc_main$t), {
|
|
1534
1540
|
type: "button",
|
|
1535
1541
|
size: "sm",
|
|
1536
1542
|
color: "green",
|
|
@@ -1554,7 +1560,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1554
1560
|
key: 1,
|
|
1555
1561
|
class: normalizeClass({ "opacity-75": unref(isTaxIDCheckPending) })
|
|
1556
1562
|
}, [
|
|
1557
|
-
createVNode(_sfc_main$
|
|
1563
|
+
createVNode(_sfc_main$n, { "tax-id-validation-result": unref(taxIdValidationData) }, null, 8, ["tax-id-validation-result"])
|
|
1558
1564
|
], 2)) : createCommentVNode("", true)
|
|
1559
1565
|
])
|
|
1560
1566
|
])) : createCommentVNode("", true)
|
|
@@ -1569,13 +1575,13 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1569
1575
|
};
|
|
1570
1576
|
}
|
|
1571
1577
|
});
|
|
1572
|
-
const _hoisted_1$
|
|
1578
|
+
const _hoisted_1$i = {
|
|
1573
1579
|
key: 0,
|
|
1574
1580
|
class: "flex items-center"
|
|
1575
1581
|
};
|
|
1576
|
-
const _hoisted_2$
|
|
1577
|
-
const _hoisted_3$
|
|
1578
|
-
const _sfc_main$
|
|
1582
|
+
const _hoisted_2$b = ["innerHTML"];
|
|
1583
|
+
const _hoisted_3$5 = ["innerHTML"];
|
|
1584
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
1579
1585
|
__name: "CheckoutTitle",
|
|
1580
1586
|
props: {
|
|
1581
1587
|
trialPeriod: { type: Object },
|
|
@@ -1591,7 +1597,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1591
1597
|
return (_ctx, _cache) => {
|
|
1592
1598
|
return openBlock(), createElementBlock("div", null, [
|
|
1593
1599
|
createElementVNode("div", null, [
|
|
1594
|
-
createVNode(unref(_sfc_main$
|
|
1600
|
+
createVNode(unref(_sfc_main$p), {
|
|
1595
1601
|
variant: "heading-1",
|
|
1596
1602
|
class: "inline-block"
|
|
1597
1603
|
}, {
|
|
@@ -1601,7 +1607,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1601
1607
|
id: "checkout.page_title",
|
|
1602
1608
|
description: "The title of the checkout page"
|
|
1603
1609
|
})) + toDisplayString(" "), 1),
|
|
1604
|
-
__props.trialPeriod ? (openBlock(), createBlock(unref(_sfc_main$
|
|
1610
|
+
__props.trialPeriod ? (openBlock(), createBlock(unref(_sfc_main$w), {
|
|
1605
1611
|
key: 0,
|
|
1606
1612
|
"trial-period": __props.trialPeriod,
|
|
1607
1613
|
size: "lg",
|
|
@@ -1611,18 +1617,18 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1611
1617
|
_: 1
|
|
1612
1618
|
})
|
|
1613
1619
|
]),
|
|
1614
|
-
createVNode(unref(_sfc_main$
|
|
1620
|
+
createVNode(unref(_sfc_main$p), {
|
|
1615
1621
|
variant: "body-sm",
|
|
1616
1622
|
shade: "lighter",
|
|
1617
1623
|
"no-spacing": ""
|
|
1618
1624
|
}, {
|
|
1619
1625
|
default: withCtx(() => [
|
|
1620
|
-
!__props.countryCode ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
1621
|
-
createVNode(unref(_sfc_main$
|
|
1626
|
+
!__props.countryCode ? (openBlock(), createElementBlock("span", _hoisted_1$i, [
|
|
1627
|
+
createVNode(unref(_sfc_main$x), { "is-dark-mode": "" }, {
|
|
1622
1628
|
tooltip: withCtx(() => [
|
|
1623
1629
|
createVNode(unref(TooltipContent), null, {
|
|
1624
1630
|
default: withCtx(() => [
|
|
1625
|
-
createVNode(unref(_sfc_main$
|
|
1631
|
+
createVNode(unref(_sfc_main$z), null, {
|
|
1626
1632
|
default: withCtx(() => [
|
|
1627
1633
|
createTextVNode(toDisplayString(unref($t)({
|
|
1628
1634
|
defaultMessage: "Will be determined by billing information",
|
|
@@ -1637,7 +1643,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1637
1643
|
})
|
|
1638
1644
|
]),
|
|
1639
1645
|
default: withCtx(() => [
|
|
1640
|
-
createVNode(unref(_sfc_main$
|
|
1646
|
+
createVNode(unref(_sfc_main$y), {
|
|
1641
1647
|
"width-class": "w-10",
|
|
1642
1648
|
"height-class": "h-4",
|
|
1643
1649
|
shade: "darker",
|
|
@@ -1674,7 +1680,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1674
1680
|
})
|
|
1675
1681
|
}
|
|
1676
1682
|
)
|
|
1677
|
-
}, null, 8, _hoisted_2$
|
|
1683
|
+
}, null, 8, _hoisted_2$b)
|
|
1678
1684
|
])) : (openBlock(), createElementBlock("span", {
|
|
1679
1685
|
key: 1,
|
|
1680
1686
|
innerHTML: __props.trialStartDate ? unref($t)(
|
|
@@ -1710,7 +1716,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1710
1716
|
strong: (text) => `<strong>${text}</strong>`
|
|
1711
1717
|
}
|
|
1712
1718
|
)
|
|
1713
|
-
}, null, 8, _hoisted_3$
|
|
1719
|
+
}, null, 8, _hoisted_3$5))
|
|
1714
1720
|
]),
|
|
1715
1721
|
_: 1
|
|
1716
1722
|
})
|
|
@@ -1733,9 +1739,9 @@ const isInvoiceUsageBased = (invoice) => {
|
|
|
1733
1739
|
)
|
|
1734
1740
|
)) ?? false;
|
|
1735
1741
|
};
|
|
1736
|
-
const _hoisted_1$
|
|
1737
|
-
const _hoisted_2$
|
|
1738
|
-
const _sfc_main$
|
|
1742
|
+
const _hoisted_1$h = { class: "flex w-full min-h-96 justify-center items-center" };
|
|
1743
|
+
const _hoisted_2$a = { class: "max-w-sm" };
|
|
1744
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
1739
1745
|
__name: "CheckoutNotAvailable",
|
|
1740
1746
|
setup(__props) {
|
|
1741
1747
|
const { $t } = useIntl();
|
|
@@ -1743,9 +1749,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1743
1749
|
window.location.reload();
|
|
1744
1750
|
};
|
|
1745
1751
|
return (_ctx, _cache) => {
|
|
1746
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1747
|
-
createElementVNode("div", _hoisted_2$
|
|
1748
|
-
createVNode(unref(_sfc_main$
|
|
1752
|
+
return openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
1753
|
+
createElementVNode("div", _hoisted_2$a, [
|
|
1754
|
+
createVNode(unref(_sfc_main$p), { variant: "heading-1" }, {
|
|
1749
1755
|
default: withCtx(() => [
|
|
1750
1756
|
createTextVNode(toDisplayString(unref($t)({
|
|
1751
1757
|
defaultMessage: "Checkout not available",
|
|
@@ -1755,7 +1761,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1755
1761
|
]),
|
|
1756
1762
|
_: 1
|
|
1757
1763
|
}),
|
|
1758
|
-
createVNode(unref(_sfc_main$
|
|
1764
|
+
createVNode(unref(_sfc_main$p), {
|
|
1759
1765
|
variant: "body-sm",
|
|
1760
1766
|
shade: "lighter"
|
|
1761
1767
|
}, {
|
|
@@ -1787,13 +1793,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1787
1793
|
};
|
|
1788
1794
|
}
|
|
1789
1795
|
});
|
|
1790
|
-
const _sfc_main$
|
|
1796
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
1791
1797
|
__name: "SubscriptionPaymentCompletedCard",
|
|
1792
1798
|
emits: ["continue-to-merchant"],
|
|
1793
1799
|
setup(__props) {
|
|
1794
1800
|
const { $t } = useIntl();
|
|
1795
1801
|
return (_ctx, _cache) => {
|
|
1796
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1802
|
+
return openBlock(), createBlock(_sfc_main$A, {
|
|
1797
1803
|
status: "success",
|
|
1798
1804
|
title: unref($t)({
|
|
1799
1805
|
defaultMessage: "Payment successful",
|
|
@@ -1802,7 +1808,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
1802
1808
|
})
|
|
1803
1809
|
}, {
|
|
1804
1810
|
default: withCtx(() => [
|
|
1805
|
-
createVNode(unref(_sfc_main$
|
|
1811
|
+
createVNode(unref(_sfc_main$p), {
|
|
1806
1812
|
variant: "body-xs",
|
|
1807
1813
|
shade: "lighter",
|
|
1808
1814
|
tag: "span"
|
|
@@ -1816,7 +1822,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
1816
1822
|
]),
|
|
1817
1823
|
_: 1
|
|
1818
1824
|
}),
|
|
1819
|
-
createVNode(unref(_sfc_main$
|
|
1825
|
+
createVNode(unref(_sfc_main$t), {
|
|
1820
1826
|
color: "gray",
|
|
1821
1827
|
variant: "outline",
|
|
1822
1828
|
size: "xs",
|
|
@@ -1838,9 +1844,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
1838
1844
|
};
|
|
1839
1845
|
}
|
|
1840
1846
|
});
|
|
1841
|
-
const _hoisted_1$
|
|
1842
|
-
const _hoisted_2$
|
|
1843
|
-
const _sfc_main$
|
|
1847
|
+
const _hoisted_1$g = { class: "flex flex-row gap-3 px-3 py-2" };
|
|
1848
|
+
const _hoisted_2$9 = { class: "grow" };
|
|
1849
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
1844
1850
|
__name: "SubscriptionSummary",
|
|
1845
1851
|
props: {
|
|
1846
1852
|
subscription: { type: Object },
|
|
@@ -1887,15 +1893,15 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1887
1893
|
return names;
|
|
1888
1894
|
});
|
|
1889
1895
|
return (_ctx, _cache) => {
|
|
1890
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1891
|
-
__props.avatar ? (openBlock(), createBlock(unref(_sfc_main$
|
|
1896
|
+
return openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
1897
|
+
__props.avatar ? (openBlock(), createBlock(unref(_sfc_main$B), {
|
|
1892
1898
|
key: 0,
|
|
1893
1899
|
"image-src": __props.avatar,
|
|
1894
1900
|
size: "lg",
|
|
1895
1901
|
class: "my-1"
|
|
1896
1902
|
}, null, 8, ["image-src"])) : createCommentVNode("", true),
|
|
1897
|
-
createElementVNode("div", _hoisted_2$
|
|
1898
|
-
createVNode(unref(_sfc_main$
|
|
1903
|
+
createElementVNode("div", _hoisted_2$9, [
|
|
1904
|
+
createVNode(unref(_sfc_main$p), {
|
|
1899
1905
|
variant: "body",
|
|
1900
1906
|
weight: "semibold",
|
|
1901
1907
|
"no-spacing": ""
|
|
@@ -1905,7 +1911,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1905
1911
|
]),
|
|
1906
1912
|
_: 1
|
|
1907
1913
|
}),
|
|
1908
|
-
selectedPricings.value ? (openBlock(), createBlock(unref(_sfc_main$
|
|
1914
|
+
selectedPricings.value ? (openBlock(), createBlock(unref(_sfc_main$p), {
|
|
1909
1915
|
key: 0,
|
|
1910
1916
|
variant: "body-xs",
|
|
1911
1917
|
shade: "lighter",
|
|
@@ -1916,7 +1922,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1916
1922
|
]),
|
|
1917
1923
|
_: 1
|
|
1918
1924
|
})) : createCommentVNode("", true),
|
|
1919
|
-
description.value ? (openBlock(), createBlock(unref(_sfc_main$
|
|
1925
|
+
description.value ? (openBlock(), createBlock(unref(_sfc_main$p), {
|
|
1920
1926
|
key: 1,
|
|
1921
1927
|
variant: "body-xs",
|
|
1922
1928
|
shade: "lighter",
|
|
@@ -1935,15 +1941,15 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1935
1941
|
};
|
|
1936
1942
|
}
|
|
1937
1943
|
});
|
|
1938
|
-
const _hoisted_1$
|
|
1939
|
-
const _hoisted_2$
|
|
1940
|
-
const _hoisted_3$
|
|
1944
|
+
const _hoisted_1$f = { class: "sv-order-summary__body grid grid-cols-1 gap-1" };
|
|
1945
|
+
const _hoisted_2$8 = { class: "px-3 py-2" };
|
|
1946
|
+
const _hoisted_3$4 = { class: "sv-order-summary__billing-period flex flex-col gap-3" };
|
|
1941
1947
|
const _hoisted_4$4 = { class: "px-3 py-2" };
|
|
1942
1948
|
const _hoisted_5$3 = {
|
|
1943
1949
|
key: 3,
|
|
1944
1950
|
class: "sv-order-summary__items"
|
|
1945
1951
|
};
|
|
1946
|
-
const _sfc_main$
|
|
1952
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
1947
1953
|
__name: "OrderSummary",
|
|
1948
1954
|
props: {
|
|
1949
1955
|
subscription: { type: Object },
|
|
@@ -2165,7 +2171,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2165
2171
|
label,
|
|
2166
2172
|
subLabel: getSelectedPeriodAmountLabel(period),
|
|
2167
2173
|
labelSuffixComponent: saveText ? {
|
|
2168
|
-
component: _sfc_main$
|
|
2174
|
+
component: _sfc_main$C,
|
|
2169
2175
|
props: {
|
|
2170
2176
|
color: "primary",
|
|
2171
2177
|
content: saveText,
|
|
@@ -2224,7 +2230,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2224
2230
|
selectedBillingPeriodKey.value = checked ? biggestPeriod : smallestPeriod;
|
|
2225
2231
|
};
|
|
2226
2232
|
return (_ctx, _cache) => {
|
|
2227
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2233
|
+
return openBlock(), createBlock(unref(_sfc_main$q), {
|
|
2228
2234
|
class: "sv-order-summary",
|
|
2229
2235
|
"no-border": "",
|
|
2230
2236
|
"no-spacing": "",
|
|
@@ -2236,13 +2242,13 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2236
2242
|
})
|
|
2237
2243
|
}, {
|
|
2238
2244
|
default: withCtx(() => [
|
|
2239
|
-
createElementVNode("div", _hoisted_1$
|
|
2240
|
-
createVNode(unref(_sfc_main$
|
|
2245
|
+
createElementVNode("div", _hoisted_1$f, [
|
|
2246
|
+
createVNode(unref(_sfc_main$q), {
|
|
2241
2247
|
"no-spacing": "",
|
|
2242
2248
|
class: "sv-order-summary__subscription"
|
|
2243
2249
|
}, {
|
|
2244
2250
|
default: withCtx(() => [
|
|
2245
|
-
__props.subscription ? (openBlock(), createBlock(_sfc_main$
|
|
2251
|
+
__props.subscription ? (openBlock(), createBlock(_sfc_main$i, {
|
|
2246
2252
|
key: 0,
|
|
2247
2253
|
avatar: __props.avatar,
|
|
2248
2254
|
invoice: __props.invoice,
|
|
@@ -2254,7 +2260,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2254
2260
|
]),
|
|
2255
2261
|
_: 1
|
|
2256
2262
|
}),
|
|
2257
|
-
billingPeriodOptions.value.length === 2 ? (openBlock(), createBlock(unref(_sfc_main$
|
|
2263
|
+
billingPeriodOptions.value.length === 2 ? (openBlock(), createBlock(unref(_sfc_main$q), {
|
|
2258
2264
|
key: 0,
|
|
2259
2265
|
"no-spacing": "",
|
|
2260
2266
|
"content-classes": selectedBillingPeriodKey.value === periodBounds.value.biggestPeriod ? "border-primary-500" : void 0
|
|
@@ -2262,15 +2268,15 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2262
2268
|
default: withCtx(() => {
|
|
2263
2269
|
var _a;
|
|
2264
2270
|
return [
|
|
2265
|
-
createElementVNode("div", _hoisted_2$
|
|
2266
|
-
createElementVNode("div", _hoisted_3$
|
|
2267
|
-
highOption.value ? (openBlock(), createBlock(_sfc_main$
|
|
2271
|
+
createElementVNode("div", _hoisted_2$8, [
|
|
2272
|
+
createElementVNode("div", _hoisted_3$4, [
|
|
2273
|
+
highOption.value ? (openBlock(), createBlock(_sfc_main$D, {
|
|
2268
2274
|
key: 0,
|
|
2269
2275
|
name: highOption.value.label,
|
|
2270
2276
|
description: ((_a = selectedBillingPeriodOption.value) == null ? void 0 : _a.subLabel) ?? ""
|
|
2271
2277
|
}, createSlots({
|
|
2272
2278
|
default: withCtx(() => [
|
|
2273
|
-
createVNode(unref(_sfc_main$
|
|
2279
|
+
createVNode(unref(_sfc_main$v), {
|
|
2274
2280
|
"model-value": selectedBillingPeriodKey.value === periodBounds.value.biggestPeriod,
|
|
2275
2281
|
"onUpdate:modelValue": handleBinaryBillingToggle
|
|
2276
2282
|
}, null, 8, ["model-value"])
|
|
@@ -2280,7 +2286,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2280
2286
|
toggleSaveText.value ? {
|
|
2281
2287
|
name: "badge",
|
|
2282
2288
|
fn: withCtx(() => [
|
|
2283
|
-
createVNode(unref(_sfc_main$
|
|
2289
|
+
createVNode(unref(_sfc_main$C), {
|
|
2284
2290
|
color: "primary",
|
|
2285
2291
|
content: toggleSaveText.value,
|
|
2286
2292
|
size: saveBadgeSize.value,
|
|
@@ -2295,7 +2301,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2295
2301
|
];
|
|
2296
2302
|
}),
|
|
2297
2303
|
_: 1
|
|
2298
|
-
}, 8, ["content-classes"])) : billingPeriodOptions.value.length > 2 ? (openBlock(), createBlock(unref(_sfc_main$
|
|
2304
|
+
}, 8, ["content-classes"])) : billingPeriodOptions.value.length > 2 ? (openBlock(), createBlock(unref(_sfc_main$E), {
|
|
2299
2305
|
key: 1,
|
|
2300
2306
|
"single-model-value": selectedBillingPeriodKey.value,
|
|
2301
2307
|
"onUpdate:singleModelValue": _cache[0] || (_cache[0] = ($event) => selectedBillingPeriodKey.value = $event),
|
|
@@ -2306,14 +2312,14 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2306
2312
|
"show-sub-label-in-input": "",
|
|
2307
2313
|
"show-suffix-in-closed-input": ""
|
|
2308
2314
|
}, null, 8, ["single-model-value", "options"])) : createCommentVNode("", true),
|
|
2309
|
-
__props.isUsageBased ? (openBlock(), createBlock(unref(_sfc_main$
|
|
2315
|
+
__props.isUsageBased ? (openBlock(), createBlock(unref(_sfc_main$q), {
|
|
2310
2316
|
key: 2,
|
|
2311
2317
|
"no-spacing": "",
|
|
2312
2318
|
class: "sv-order-summary__usage"
|
|
2313
2319
|
}, {
|
|
2314
2320
|
default: withCtx(() => [
|
|
2315
2321
|
createElementVNode("div", _hoisted_4$4, [
|
|
2316
|
-
createVNode(unref(_sfc_main$
|
|
2322
|
+
createVNode(unref(_sfc_main$p), {
|
|
2317
2323
|
"no-spacing": "",
|
|
2318
2324
|
variant: "body-sm",
|
|
2319
2325
|
shade: "lighter"
|
|
@@ -2332,14 +2338,14 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2332
2338
|
_: 1
|
|
2333
2339
|
})) : createCommentVNode("", true),
|
|
2334
2340
|
__props.invoice && __props.variant !== "products-inline" ? (openBlock(), createElementBlock("div", _hoisted_5$3, [
|
|
2335
|
-
createVNode(unref(_sfc_main$
|
|
2341
|
+
createVNode(unref(_sfc_main$F), {
|
|
2336
2342
|
invoice: __props.invoice,
|
|
2337
|
-
"wrapper-component": unref(_sfc_main$
|
|
2343
|
+
"wrapper-component": unref(_sfc_main$q)
|
|
2338
2344
|
}, null, 8, ["invoice", "wrapper-component"])
|
|
2339
2345
|
])) : createCommentVNode("", true),
|
|
2340
|
-
createVNode(unref(_sfc_main$
|
|
2346
|
+
createVNode(unref(_sfc_main$q), { class: "sv-order-summary__totals" }, {
|
|
2341
2347
|
default: withCtx(() => [
|
|
2342
|
-
__props.invoice ? (openBlock(), createBlock(unref(_sfc_main$
|
|
2348
|
+
__props.invoice ? (openBlock(), createBlock(unref(_sfc_main$G), {
|
|
2343
2349
|
key: 0,
|
|
2344
2350
|
class: "sv-order-summary__invoice-preview",
|
|
2345
2351
|
variant: __props.variant === "products-inline" ? "default" : "without-products",
|
|
@@ -2349,7 +2355,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2349
2355
|
collapsible: __props.collapsible,
|
|
2350
2356
|
"is-preview-without-taxes": !__props.countryCode,
|
|
2351
2357
|
"is-customer-facing": ""
|
|
2352
|
-
}, null, 8, ["variant", "invoice", "trial-invoice", "is-paid", "collapsible", "is-preview-without-taxes"])) : (openBlock(), createBlock(unref(_sfc_main$
|
|
2358
|
+
}, null, 8, ["variant", "invoice", "trial-invoice", "is-paid", "collapsible", "is-preview-without-taxes"])) : (openBlock(), createBlock(unref(_sfc_main$p), {
|
|
2353
2359
|
key: 1,
|
|
2354
2360
|
variant: "body-sm",
|
|
2355
2361
|
shade: "lighter",
|
|
@@ -2374,67 +2380,19 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2374
2380
|
};
|
|
2375
2381
|
}
|
|
2376
2382
|
});
|
|
2377
|
-
const _hoisted_1$
|
|
2378
|
-
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
2379
|
-
__name: "EmptyStatePlaceholder",
|
|
2380
|
-
props: {
|
|
2381
|
-
icon: { type: null }
|
|
2382
|
-
},
|
|
2383
|
-
setup(__props) {
|
|
2384
|
-
return (_ctx, _cache) => {
|
|
2385
|
-
return openBlock(), createBlock(unref(_sfc_main$s), { class: "sv-empty-state" }, {
|
|
2386
|
-
default: withCtx(() => [
|
|
2387
|
-
createElementVNode("div", _hoisted_1$g, [
|
|
2388
|
-
createVNode(unref(_sfc_main$J), {
|
|
2389
|
-
icon: __props.icon,
|
|
2390
|
-
size: "lg",
|
|
2391
|
-
class: "sv-empty-state__icon text-gray-500"
|
|
2392
|
-
}, null, 8, ["icon"]),
|
|
2393
|
-
createVNode(unref(_sfc_main$r), {
|
|
2394
|
-
center: "",
|
|
2395
|
-
tag: "span",
|
|
2396
|
-
variant: "body-sm",
|
|
2397
|
-
weight: "semibold",
|
|
2398
|
-
shade: "lighter",
|
|
2399
|
-
class: "sv-empty-state__title mt-2"
|
|
2400
|
-
}, {
|
|
2401
|
-
default: withCtx(() => [
|
|
2402
|
-
renderSlot(_ctx.$slots, "title")
|
|
2403
|
-
]),
|
|
2404
|
-
_: 3
|
|
2405
|
-
}),
|
|
2406
|
-
createVNode(unref(_sfc_main$r), {
|
|
2407
|
-
center: "",
|
|
2408
|
-
tag: "span",
|
|
2409
|
-
variant: "body-xs",
|
|
2410
|
-
shade: "lightest",
|
|
2411
|
-
class: "sv-empty-state__message mt-1"
|
|
2412
|
-
}, {
|
|
2413
|
-
default: withCtx(() => [
|
|
2414
|
-
renderSlot(_ctx.$slots, "message")
|
|
2415
|
-
]),
|
|
2416
|
-
_: 3
|
|
2417
|
-
})
|
|
2418
|
-
])
|
|
2419
|
-
]),
|
|
2420
|
-
_: 3
|
|
2421
|
-
});
|
|
2422
|
-
};
|
|
2423
|
-
}
|
|
2424
|
-
});
|
|
2425
|
-
const _hoisted_1$f = {
|
|
2383
|
+
const _hoisted_1$e = {
|
|
2426
2384
|
key: 0,
|
|
2427
2385
|
id: "svg-logo",
|
|
2428
2386
|
viewBox: "0 0 35 15",
|
|
2429
2387
|
class: "h-[44px]"
|
|
2430
2388
|
};
|
|
2431
|
-
const _hoisted_2$
|
|
2389
|
+
const _hoisted_2$7 = {
|
|
2432
2390
|
key: 1,
|
|
2433
2391
|
src: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAxcHgiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAxMDEgMzIiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaW5ZTWluIG1lZXQiIHhtbG5zPSJodHRwOiYjeDJGOyYjeDJGO3d3dy53My5vcmcmI3gyRjsyMDAwJiN4MkY7c3ZnIj48cGF0aCBmaWxsPSIjMDAzMDg3IiBkPSJNIDEyLjIzNyAyLjggTCA0LjQzNyAyLjggQyAzLjkzNyAyLjggMy40MzcgMy4yIDMuMzM3IDMuNyBMIDAuMjM3IDIzLjcgQyAwLjEzNyAyNC4xIDAuNDM3IDI0LjQgMC44MzcgMjQuNCBMIDQuNTM3IDI0LjQgQyA1LjAzNyAyNC40IDUuNTM3IDI0IDUuNjM3IDIzLjUgTCA2LjQzNyAxOC4xIEMgNi41MzcgMTcuNiA2LjkzNyAxNy4yIDcuNTM3IDE3LjIgTCAxMC4wMzcgMTcuMiBDIDE1LjEzNyAxNy4yIDE4LjEzNyAxNC43IDE4LjkzNyA5LjggQyAxOS4yMzcgNy43IDE4LjkzNyA2IDE3LjkzNyA0LjggQyAxNi44MzcgMy41IDE0LjgzNyAyLjggMTIuMjM3IDIuOCBaIE0gMTMuMTM3IDEwLjEgQyAxMi43MzcgMTIuOSAxMC41MzcgMTIuOSA4LjUzNyAxMi45IEwgNy4zMzcgMTIuOSBMIDguMTM3IDcuNyBDIDguMTM3IDcuNCA4LjQzNyA3LjIgOC43MzcgNy4yIEwgOS4yMzcgNy4yIEMgMTAuNjM3IDcuMiAxMS45MzcgNy4yIDEyLjYzNyA4IEMgMTMuMTM3IDguNCAxMy4zMzcgOS4xIDEzLjEzNyAxMC4xIFoiPjwvcGF0aD48cGF0aCBmaWxsPSIjMDAzMDg3IiBkPSJNIDM1LjQzNyAxMCBMIDMxLjczNyAxMCBDIDMxLjQzNyAxMCAzMS4xMzcgMTAuMiAzMS4xMzcgMTAuNSBMIDMwLjkzNyAxMS41IEwgMzAuNjM3IDExLjEgQyAyOS44MzcgOS45IDI4LjAzNyA5LjUgMjYuMjM3IDkuNSBDIDIyLjEzNyA5LjUgMTguNjM3IDEyLjYgMTcuOTM3IDE3IEMgMTcuNTM3IDE5LjIgMTguMDM3IDIxLjMgMTkuMzM3IDIyLjcgQyAyMC40MzcgMjQgMjIuMTM3IDI0LjYgMjQuMDM3IDI0LjYgQyAyNy4zMzcgMjQuNiAyOS4yMzcgMjIuNSAyOS4yMzcgMjIuNSBMIDI5LjAzNyAyMy41IEMgMjguOTM3IDIzLjkgMjkuMjM3IDI0LjMgMjkuNjM3IDI0LjMgTCAzMy4wMzcgMjQuMyBDIDMzLjUzNyAyNC4zIDM0LjAzNyAyMy45IDM0LjEzNyAyMy40IEwgMzYuMTM3IDEwLjYgQyAzNi4yMzcgMTAuNCAzNS44MzcgMTAgMzUuNDM3IDEwIFogTSAzMC4zMzcgMTcuMiBDIDI5LjkzNyAxOS4zIDI4LjMzNyAyMC44IDI2LjEzNyAyMC44IEMgMjUuMDM3IDIwLjggMjQuMjM3IDIwLjUgMjMuNjM3IDE5LjggQyAyMy4wMzcgMTkuMSAyMi44MzcgMTguMiAyMy4wMzcgMTcuMiBDIDIzLjMzNyAxNS4xIDI1LjEzNyAxMy42IDI3LjIzNyAxMy42IEMgMjguMzM3IDEzLjYgMjkuMTM3IDE0IDI5LjczNyAxNC42IEMgMzAuMjM3IDE1LjMgMzAuNDM3IDE2LjIgMzAuMzM3IDE3LjIgWiI+PC9wYXRoPjxwYXRoIGZpbGw9IiMwMDMwODciIGQ9Ik0gNTUuMzM3IDEwIEwgNTEuNjM3IDEwIEMgNTEuMjM3IDEwIDUwLjkzNyAxMC4yIDUwLjczNyAxMC41IEwgNDUuNTM3IDE4LjEgTCA0My4zMzcgMTAuOCBDIDQzLjIzNyAxMC4zIDQyLjczNyAxMCA0Mi4zMzcgMTAgTCAzOC42MzcgMTAgQyAzOC4yMzcgMTAgMzcuODM3IDEwLjQgMzguMDM3IDEwLjkgTCA0Mi4xMzcgMjMgTCAzOC4yMzcgMjguNCBDIDM3LjkzNyAyOC44IDM4LjIzNyAyOS40IDM4LjczNyAyOS40IEwgNDIuNDM3IDI5LjQgQyA0Mi44MzcgMjkuNCA0My4xMzcgMjkuMiA0My4zMzcgMjguOSBMIDU1LjgzNyAxMC45IEMgNTYuMTM3IDEwLjYgNTUuODM3IDEwIDU1LjMzNyAxMCBaIj48L3BhdGg+PHBhdGggZmlsbD0iIzAwOWNkZSIgZD0iTSA2Ny43MzcgMi44IEwgNTkuOTM3IDIuOCBDIDU5LjQzNyAyLjggNTguOTM3IDMuMiA1OC44MzcgMy43IEwgNTUuNzM3IDIzLjYgQyA1NS42MzcgMjQgNTUuOTM3IDI0LjMgNTYuMzM3IDI0LjMgTCA2MC4zMzcgMjQuMyBDIDYwLjczNyAyNC4zIDYxLjAzNyAyNCA2MS4wMzcgMjMuNyBMIDYxLjkzNyAxOCBDIDYyLjAzNyAxNy41IDYyLjQzNyAxNy4xIDYzLjAzNyAxNy4xIEwgNjUuNTM3IDE3LjEgQyA3MC42MzcgMTcuMSA3My42MzcgMTQuNiA3NC40MzcgOS43IEMgNzQuNzM3IDcuNiA3NC40MzcgNS45IDczLjQzNyA0LjcgQyA3Mi4yMzcgMy41IDcwLjMzNyAyLjggNjcuNzM3IDIuOCBaIE0gNjguNjM3IDEwLjEgQyA2OC4yMzcgMTIuOSA2Ni4wMzcgMTIuOSA2NC4wMzcgMTIuOSBMIDYyLjgzNyAxMi45IEwgNjMuNjM3IDcuNyBDIDYzLjYzNyA3LjQgNjMuOTM3IDcuMiA2NC4yMzcgNy4yIEwgNjQuNzM3IDcuMiBDIDY2LjEzNyA3LjIgNjcuNDM3IDcuMiA2OC4xMzcgOCBDIDY4LjYzNyA4LjQgNjguNzM3IDkuMSA2OC42MzcgMTAuMSBaIj48L3BhdGg+PHBhdGggZmlsbD0iIzAwOWNkZSIgZD0iTSA5MC45MzcgMTAgTCA4Ny4yMzcgMTAgQyA4Ni45MzcgMTAgODYuNjM3IDEwLjIgODYuNjM3IDEwLjUgTCA4Ni40MzcgMTEuNSBMIDg2LjEzNyAxMS4xIEMgODUuMzM3IDkuOSA4My41MzcgOS41IDgxLjczNyA5LjUgQyA3Ny42MzcgOS41IDc0LjEzNyAxMi42IDczLjQzNyAxNyBDIDczLjAzNyAxOS4yIDczLjUzNyAyMS4zIDc0LjgzNyAyMi43IEMgNzUuOTM3IDI0IDc3LjYzNyAyNC42IDc5LjUzNyAyNC42IEMgODIuODM3IDI0LjYgODQuNzM3IDIyLjUgODQuNzM3IDIyLjUgTCA4NC41MzcgMjMuNSBDIDg0LjQzNyAyMy45IDg0LjczNyAyNC4zIDg1LjEzNyAyNC4zIEwgODguNTM3IDI0LjMgQyA4OS4wMzcgMjQuMyA4OS41MzcgMjMuOSA4OS42MzcgMjMuNCBMIDkxLjYzNyAxMC42IEMgOTEuNjM3IDEwLjQgOTEuMzM3IDEwIDkwLjkzNyAxMCBaIE0gODUuNzM3IDE3LjIgQyA4NS4zMzcgMTkuMyA4My43MzcgMjAuOCA4MS41MzcgMjAuOCBDIDgwLjQzNyAyMC44IDc5LjYzNyAyMC41IDc5LjAzNyAxOS44IEMgNzguNDM3IDE5LjEgNzguMjM3IDE4LjIgNzguNDM3IDE3LjIgQyA3OC43MzcgMTUuMSA4MC41MzcgMTMuNiA4Mi42MzcgMTMuNiBDIDgzLjczNyAxMy42IDg0LjUzNyAxNCA4NS4xMzcgMTQuNiBDIDg1LjczNyAxNS4zIDg1LjkzNyAxNi4yIDg1LjczNyAxNy4yIFoiPjwvcGF0aD48cGF0aCBmaWxsPSIjMDA5Y2RlIiBkPSJNIDk1LjMzNyAzLjMgTCA5Mi4xMzcgMjMuNiBDIDkyLjAzNyAyNCA5Mi4zMzcgMjQuMyA5Mi43MzcgMjQuMyBMIDk1LjkzNyAyNC4zIEMgOTYuNDM3IDI0LjMgOTYuOTM3IDIzLjkgOTcuMDM3IDIzLjQgTCAxMDAuMjM3IDMuNSBDIDEwMC4zMzcgMy4xIDEwMC4wMzcgMi44IDk5LjYzNyAyLjggTCA5Ni4wMzcgMi44IEMgOTUuNjM3IDIuOCA5NS40MzcgMyA5NS4zMzcgMy4zIFoiPjwvcGF0aD48L3N2Zz4",
|
|
2434
2392
|
role: "presentation",
|
|
2435
2393
|
class: "h-[22px]"
|
|
2436
2394
|
};
|
|
2437
|
-
const _sfc_main$
|
|
2395
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
2438
2396
|
__name: "ExpressPaymentMethodButton",
|
|
2439
2397
|
props: {
|
|
2440
2398
|
type: { type: String }
|
|
@@ -2471,14 +2429,14 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
2471
2429
|
emit("click");
|
|
2472
2430
|
}
|
|
2473
2431
|
return (_ctx, _cache) => {
|
|
2474
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2432
|
+
return openBlock(), createBlock(unref(_sfc_main$t), {
|
|
2475
2433
|
size: "lg",
|
|
2476
2434
|
"aria-label": ariaLabel.value,
|
|
2477
2435
|
class: normalizeClass([buttonClasses.value, "!block w-full h-11 bg-center bg-no-repeat"]),
|
|
2478
2436
|
onClick: handleClick
|
|
2479
2437
|
}, {
|
|
2480
2438
|
default: withCtx(() => [
|
|
2481
|
-
props.type === "applepay" ? (openBlock(), createElementBlock("svg", _hoisted_1$
|
|
2439
|
+
props.type === "applepay" ? (openBlock(), createElementBlock("svg", _hoisted_1$e, [..._cache[0] || (_cache[0] = [
|
|
2482
2440
|
createElementVNode("svg", {
|
|
2483
2441
|
id: "svg-logo",
|
|
2484
2442
|
x: "0",
|
|
@@ -2506,16 +2464,16 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
2506
2464
|
])
|
|
2507
2465
|
])
|
|
2508
2466
|
], -1)
|
|
2509
|
-
])])) : props.type === "paypal" ? (openBlock(), createElementBlock("img", _hoisted_2$
|
|
2467
|
+
])])) : props.type === "paypal" ? (openBlock(), createElementBlock("img", _hoisted_2$7)) : createCommentVNode("", true)
|
|
2510
2468
|
]),
|
|
2511
2469
|
_: 1
|
|
2512
2470
|
}, 8, ["aria-label", "class"]);
|
|
2513
2471
|
};
|
|
2514
2472
|
}
|
|
2515
2473
|
});
|
|
2516
|
-
const _hoisted_1$
|
|
2474
|
+
const _hoisted_1$d = { class: "absolute h-[1px] w-[1px] overflow-hidden opacity-0" };
|
|
2517
2475
|
const PAYMENT_GATEWAY_VARIANT_ADYEN = "ADYEN";
|
|
2518
|
-
const _sfc_main$
|
|
2476
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
2519
2477
|
__name: "ExpressPaymentMethodApplePay",
|
|
2520
2478
|
props: {
|
|
2521
2479
|
onBillingInformationChange: { type: Function },
|
|
@@ -2750,12 +2708,12 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
2750
2708
|
});
|
|
2751
2709
|
return (_ctx, _cache) => {
|
|
2752
2710
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
2753
|
-
__props.isVisible ? (openBlock(), createBlock(_sfc_main$
|
|
2711
|
+
__props.isVisible ? (openBlock(), createBlock(_sfc_main$g, {
|
|
2754
2712
|
key: 0,
|
|
2755
2713
|
type: "applepay",
|
|
2756
2714
|
onClick: handleClick
|
|
2757
2715
|
})) : createCommentVNode("", true),
|
|
2758
|
-
createElementVNode("div", _hoisted_1$
|
|
2716
|
+
createElementVNode("div", _hoisted_1$d, [
|
|
2759
2717
|
createElementVNode("div", {
|
|
2760
2718
|
ref_key: "applePayButtonRef",
|
|
2761
2719
|
ref: applePayButtonRef
|
|
@@ -2765,8 +2723,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
2765
2723
|
};
|
|
2766
2724
|
}
|
|
2767
2725
|
});
|
|
2768
|
-
const _hoisted_1$
|
|
2769
|
-
const _sfc_main$
|
|
2726
|
+
const _hoisted_1$c = { class: "relative overflow-hidden" };
|
|
2727
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
2770
2728
|
__name: "ExpressPaymentMethodPaypal",
|
|
2771
2729
|
props: {
|
|
2772
2730
|
amount: { type: Object },
|
|
@@ -2825,8 +2783,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
2825
2783
|
void initPaypal();
|
|
2826
2784
|
});
|
|
2827
2785
|
return (_ctx, _cache) => {
|
|
2828
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2829
|
-
__props.isVisible ? (openBlock(), createBlock(_sfc_main$
|
|
2786
|
+
return openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
2787
|
+
__props.isVisible ? (openBlock(), createBlock(_sfc_main$g, {
|
|
2830
2788
|
key: 0,
|
|
2831
2789
|
type: "paypal",
|
|
2832
2790
|
class: "w-full"
|
|
@@ -2840,8 +2798,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
2840
2798
|
};
|
|
2841
2799
|
}
|
|
2842
2800
|
});
|
|
2843
|
-
const _hoisted_1$
|
|
2844
|
-
const _sfc_main$
|
|
2801
|
+
const _hoisted_1$b = { class: "absolute h-[1px] w-[1px] overflow-hidden opacity-0" };
|
|
2802
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
2845
2803
|
__name: "ExpressPaymentMethodGooglePay",
|
|
2846
2804
|
props: {
|
|
2847
2805
|
amount: { type: Object },
|
|
@@ -2905,12 +2863,12 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
2905
2863
|
});
|
|
2906
2864
|
return (_ctx, _cache) => {
|
|
2907
2865
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
2908
|
-
__props.isVisible ? (openBlock(), createBlock(_sfc_main$
|
|
2866
|
+
__props.isVisible ? (openBlock(), createBlock(_sfc_main$g, {
|
|
2909
2867
|
key: 0,
|
|
2910
2868
|
type: "googlepay",
|
|
2911
2869
|
onClick: handleClick
|
|
2912
2870
|
})) : createCommentVNode("", true),
|
|
2913
|
-
createElementVNode("div", _hoisted_1$
|
|
2871
|
+
createElementVNode("div", _hoisted_1$b, [
|
|
2914
2872
|
createElementVNode("div", {
|
|
2915
2873
|
ref_key: "googlePayButtonRef",
|
|
2916
2874
|
ref: googlePayButtonRef
|
|
@@ -2920,15 +2878,15 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
2920
2878
|
};
|
|
2921
2879
|
}
|
|
2922
2880
|
});
|
|
2923
|
-
const _hoisted_1$
|
|
2881
|
+
const _hoisted_1$a = {
|
|
2924
2882
|
key: 0,
|
|
2925
2883
|
class: "mt-4n"
|
|
2926
2884
|
};
|
|
2927
|
-
const _hoisted_2$
|
|
2928
|
-
const _hoisted_3$
|
|
2885
|
+
const _hoisted_2$6 = { class: "mb-2" };
|
|
2886
|
+
const _hoisted_3$3 = { class: "grid grid-cols-6 gap-1 md:gap-2" };
|
|
2929
2887
|
const _hoisted_4$3 = { class: "h-4 mt-4" };
|
|
2930
2888
|
const DEFAULT_EXPRESS_PAYMENT_BUTTON_COUNT = 2;
|
|
2931
|
-
const _sfc_main$
|
|
2889
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
2932
2890
|
__name: "ExpressPaymentMethods",
|
|
2933
2891
|
props: {
|
|
2934
2892
|
amount: { type: Object },
|
|
@@ -3002,12 +2960,12 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
3002
2960
|
return (paymentMethodOptionsResponseEntryIncludingApplePay.value ? 1 : 0) + (paymentMethodOptionsResponseEntryIncludingGooglePay.value ? 1 : 0) + (paymentMethodOptionsResponseEntryIncludingPayPal.value ? 1 : 0);
|
|
3003
2961
|
});
|
|
3004
2962
|
return (_ctx, _cache) => {
|
|
3005
|
-
return hasPaymentMethodOptions.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
3006
|
-
createElementVNode("div", _hoisted_2$
|
|
3007
|
-
!isReady.value ? (openBlock(), createBlock(_sfc_main$
|
|
2963
|
+
return hasPaymentMethodOptions.value ? (openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
2964
|
+
createElementVNode("div", _hoisted_2$6, [
|
|
2965
|
+
!isReady.value ? (openBlock(), createBlock(_sfc_main$H, {
|
|
3008
2966
|
key: 0,
|
|
3009
2967
|
variant: "title"
|
|
3010
|
-
})) : (openBlock(), createBlock(unref(_sfc_main$
|
|
2968
|
+
})) : (openBlock(), createBlock(unref(_sfc_main$p), {
|
|
3011
2969
|
key: 1,
|
|
3012
2970
|
variant: "heading-3",
|
|
3013
2971
|
tag: "h2"
|
|
@@ -3022,10 +2980,10 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
3022
2980
|
_: 1
|
|
3023
2981
|
}))
|
|
3024
2982
|
]),
|
|
3025
|
-
createElementVNode("div", _hoisted_3$
|
|
2983
|
+
createElementVNode("div", _hoisted_3$3, [
|
|
3026
2984
|
!isReady.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
3027
|
-
createVNode(_sfc_main$
|
|
3028
|
-
createVNode(_sfc_main$
|
|
2985
|
+
createVNode(_sfc_main$H, { class: "h-11 col-span-3" }),
|
|
2986
|
+
createVNode(_sfc_main$H, { class: "h-11 col-span-3" })
|
|
3029
2987
|
], 64)) : createCommentVNode("", true),
|
|
3030
2988
|
createElementVNode("div", {
|
|
3031
2989
|
class: normalizeClass(["col-span-3 md:col-span-2", {
|
|
@@ -3035,7 +2993,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
3035
2993
|
"!col-span-6 md:!col-span-2": expressPaymentButtonCount.value === 3
|
|
3036
2994
|
}])
|
|
3037
2995
|
}, [
|
|
3038
|
-
paymentMethodOptionsResponseEntryIncludingApplePay.value ? (openBlock(), createBlock(_sfc_main$
|
|
2996
|
+
paymentMethodOptionsResponseEntryIncludingApplePay.value ? (openBlock(), createBlock(_sfc_main$f, {
|
|
3039
2997
|
key: 0,
|
|
3040
2998
|
amount: __props.amount,
|
|
3041
2999
|
"billing-information": __props.billingInformation,
|
|
@@ -3055,7 +3013,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
3055
3013
|
"md:!col-span-3": expressPaymentButtonCount.value === 2
|
|
3056
3014
|
}])
|
|
3057
3015
|
}, [
|
|
3058
|
-
paymentMethodOptionsResponseEntryIncludingGooglePay.value ? (openBlock(), createBlock(_sfc_main$
|
|
3016
|
+
paymentMethodOptionsResponseEntryIncludingGooglePay.value ? (openBlock(), createBlock(_sfc_main$d, {
|
|
3059
3017
|
key: 0,
|
|
3060
3018
|
amount: __props.amount,
|
|
3061
3019
|
"billing-information": __props.billingInformation,
|
|
@@ -3073,7 +3031,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
3073
3031
|
"md:!col-span-3": expressPaymentButtonCount.value === 2
|
|
3074
3032
|
}])
|
|
3075
3033
|
}, [
|
|
3076
|
-
paymentMethodOptionsResponseEntryIncludingPayPal.value ? (openBlock(), createBlock(_sfc_main$
|
|
3034
|
+
paymentMethodOptionsResponseEntryIncludingPayPal.value ? (openBlock(), createBlock(_sfc_main$e, {
|
|
3077
3035
|
key: 0,
|
|
3078
3036
|
amount: __props.amount,
|
|
3079
3037
|
"billing-information": __props.billingInformation,
|
|
@@ -3086,10 +3044,10 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
3086
3044
|
], 2)
|
|
3087
3045
|
]),
|
|
3088
3046
|
createElementVNode("div", _hoisted_4$3, [
|
|
3089
|
-
!isReady.value ? (openBlock(), createBlock(_sfc_main$
|
|
3047
|
+
!isReady.value ? (openBlock(), createBlock(_sfc_main$H, {
|
|
3090
3048
|
key: 0,
|
|
3091
3049
|
variant: "divider-text"
|
|
3092
|
-
})) : (openBlock(), createBlock(unref(_sfc_main$
|
|
3050
|
+
})) : (openBlock(), createBlock(unref(_sfc_main$I), {
|
|
3093
3051
|
key: 1,
|
|
3094
3052
|
text: unref($t)({
|
|
3095
3053
|
defaultMessage: "Or",
|
|
@@ -3103,8 +3061,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
3103
3061
|
};
|
|
3104
3062
|
}
|
|
3105
3063
|
});
|
|
3106
|
-
const _hoisted_1$
|
|
3107
|
-
const _sfc_main$
|
|
3064
|
+
const _hoisted_1$9 = { class: "grid grid-cols-2 gap-2" };
|
|
3065
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
3108
3066
|
__name: "TieredTableRow",
|
|
3109
3067
|
props: {
|
|
3110
3068
|
band: { type: Object },
|
|
@@ -3133,8 +3091,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
3133
3091
|
return props.band.tier_top_bound.number;
|
|
3134
3092
|
});
|
|
3135
3093
|
return (_ctx, _cache) => {
|
|
3136
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3137
|
-
createVNode(unref(_sfc_main$
|
|
3094
|
+
return openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
3095
|
+
createVNode(unref(_sfc_main$p), {
|
|
3138
3096
|
variant: "body-xs",
|
|
3139
3097
|
shade: "lighter",
|
|
3140
3098
|
tag: "div"
|
|
@@ -3167,7 +3125,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
3167
3125
|
]),
|
|
3168
3126
|
_: 1
|
|
3169
3127
|
}),
|
|
3170
|
-
createVNode(unref(_sfc_main$
|
|
3128
|
+
createVNode(unref(_sfc_main$p), {
|
|
3171
3129
|
variant: "body-xs",
|
|
3172
3130
|
shade: "lighter",
|
|
3173
3131
|
tag: "div",
|
|
@@ -3195,8 +3153,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
3195
3153
|
};
|
|
3196
3154
|
}
|
|
3197
3155
|
});
|
|
3198
|
-
const _hoisted_1$
|
|
3199
|
-
const _sfc_main$
|
|
3156
|
+
const _hoisted_1$8 = { class: "grid grid-cols-1 gap-0.5 pt-1.5" };
|
|
3157
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
3200
3158
|
__name: "TieredTable",
|
|
3201
3159
|
props: {
|
|
3202
3160
|
bands: { type: Array },
|
|
@@ -3204,9 +3162,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
3204
3162
|
},
|
|
3205
3163
|
setup(__props) {
|
|
3206
3164
|
return (_ctx, _cache) => {
|
|
3207
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3165
|
+
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
3208
3166
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.bands, (band, index) => {
|
|
3209
|
-
return openBlock(), createBlock(_sfc_main$
|
|
3167
|
+
return openBlock(), createBlock(_sfc_main$b, {
|
|
3210
3168
|
key: index,
|
|
3211
3169
|
band,
|
|
3212
3170
|
"is-first": index === 0,
|
|
@@ -3260,12 +3218,12 @@ function useSeatBasedPricing({
|
|
|
3260
3218
|
};
|
|
3261
3219
|
});
|
|
3262
3220
|
}
|
|
3263
|
-
const _hoisted_1$
|
|
3264
|
-
const _hoisted_2$
|
|
3265
|
-
const _hoisted_3$
|
|
3221
|
+
const _hoisted_1$7 = { class: "flex flex-row-reverse md:flex-row gap-4" };
|
|
3222
|
+
const _hoisted_2$5 = { class: "w-24 md:w-32 shrink-0 justify-start" };
|
|
3223
|
+
const _hoisted_3$2 = ["tabindex"];
|
|
3266
3224
|
const _hoisted_4$2 = { key: 0 };
|
|
3267
3225
|
const _hoisted_5$2 = { key: 0 };
|
|
3268
|
-
const _sfc_main$
|
|
3226
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
3269
3227
|
__name: "SeatsEditorItem",
|
|
3270
3228
|
props: /* @__PURE__ */ mergeModels({
|
|
3271
3229
|
modelValue: { type: Object },
|
|
@@ -3302,9 +3260,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
3302
3260
|
return (_ctx, _cache) => {
|
|
3303
3261
|
var _a, _b, _c;
|
|
3304
3262
|
return openBlock(), createElementBlock("div", null, [
|
|
3305
|
-
createElementVNode("div", _hoisted_1$
|
|
3306
|
-
createElementVNode("div", _hoisted_2$
|
|
3307
|
-
createVNode(unref(_sfc_main$
|
|
3263
|
+
createElementVNode("div", _hoisted_1$7, [
|
|
3264
|
+
createElementVNode("div", _hoisted_2$5, [
|
|
3265
|
+
createVNode(unref(_sfc_main$J), {
|
|
3308
3266
|
modelValue: seatsNumber.value,
|
|
3309
3267
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => seatsNumber.value = $event),
|
|
3310
3268
|
size: "sm",
|
|
@@ -3316,7 +3274,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
3316
3274
|
tabindex: isCollapsible.value ? 0 : void 0,
|
|
3317
3275
|
onClick: _cache[1] || (_cache[1] = ($event) => isCollapsible.value ? isExpanded.value = !isExpanded.value : void 0)
|
|
3318
3276
|
}, [
|
|
3319
|
-
createVNode(unref(_sfc_main$
|
|
3277
|
+
createVNode(unref(_sfc_main$p), {
|
|
3320
3278
|
tag: "span",
|
|
3321
3279
|
variant: "body-sm",
|
|
3322
3280
|
weight: "semibold"
|
|
@@ -3330,7 +3288,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
3330
3288
|
]),
|
|
3331
3289
|
_: 1
|
|
3332
3290
|
}),
|
|
3333
|
-
unref(seats).pricing.amount ? (openBlock(), createBlock(unref(_sfc_main$
|
|
3291
|
+
unref(seats).pricing.amount ? (openBlock(), createBlock(unref(_sfc_main$p), {
|
|
3334
3292
|
key: 0,
|
|
3335
3293
|
tag: "span",
|
|
3336
3294
|
variant: "body-xs",
|
|
@@ -3353,7 +3311,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
3353
3311
|
)), 1)
|
|
3354
3312
|
]),
|
|
3355
3313
|
_: 1
|
|
3356
|
-
})) : unref(seats).pricing.tiered ? (openBlock(), createBlock(unref(_sfc_main$
|
|
3314
|
+
})) : unref(seats).pricing.tiered ? (openBlock(), createBlock(unref(_sfc_main$p), {
|
|
3357
3315
|
key: 1,
|
|
3358
3316
|
tag: "span",
|
|
3359
3317
|
variant: "body-xs",
|
|
@@ -3365,7 +3323,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
3365
3323
|
id: "seats.tiered_pricing_label",
|
|
3366
3324
|
description: "The label indicating tiered pricing structure for seats"
|
|
3367
3325
|
})) + " ", 1),
|
|
3368
|
-
createVNode(unref(_sfc_main$
|
|
3326
|
+
createVNode(unref(_sfc_main$K), {
|
|
3369
3327
|
icon: "keyboard_arrow_down",
|
|
3370
3328
|
size: "xs",
|
|
3371
3329
|
class: normalizeClass(["absolute transition ease-in-out text-gray-400", { "rotate-0": !isExpanded.value, "rotate-180": isExpanded.value }])
|
|
@@ -3373,13 +3331,13 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
3373
3331
|
]),
|
|
3374
3332
|
_: 1
|
|
3375
3333
|
})) : createCommentVNode("", true)
|
|
3376
|
-
], 10, _hoisted_3$
|
|
3334
|
+
], 10, _hoisted_3$2)
|
|
3377
3335
|
]),
|
|
3378
3336
|
((_c = (_b = unref(seats).pricing) == null ? void 0 : _b.tiered) == null ? void 0 : _c.bands) ? (openBlock(), createElementBlock("div", _hoisted_4$2, [
|
|
3379
|
-
createVNode(unref(_sfc_main$
|
|
3337
|
+
createVNode(unref(_sfc_main$u), null, {
|
|
3380
3338
|
default: withCtx(() => [
|
|
3381
3339
|
isExpanded.value ? (openBlock(), createElementBlock("div", _hoisted_5$2, [
|
|
3382
|
-
createVNode(_sfc_main$
|
|
3340
|
+
createVNode(_sfc_main$a, {
|
|
3383
3341
|
bands: unref(seats).pricing.tiered.bands,
|
|
3384
3342
|
period: unref(seats).billing.period
|
|
3385
3343
|
}, null, 8, ["bands", "period"])
|
|
@@ -3392,7 +3350,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
3392
3350
|
};
|
|
3393
3351
|
}
|
|
3394
3352
|
});
|
|
3395
|
-
const _sfc_main$
|
|
3353
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
3396
3354
|
__name: "SeatsEditor",
|
|
3397
3355
|
props: /* @__PURE__ */ mergeModels({
|
|
3398
3356
|
modelValue: { type: Array },
|
|
@@ -3415,11 +3373,11 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
3415
3373
|
});
|
|
3416
3374
|
return (_ctx, _cache) => {
|
|
3417
3375
|
return openBlock(true), createElementBlock(Fragment, null, renderList(__props.modelValue, (item, index) => {
|
|
3418
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3376
|
+
return openBlock(), createBlock(unref(_sfc_main$q), { key: index }, {
|
|
3419
3377
|
default: withCtx(() => {
|
|
3420
3378
|
var _a;
|
|
3421
3379
|
return [
|
|
3422
|
-
item.pricing_item_config_id ? (openBlock(), createBlock(_sfc_main$
|
|
3380
|
+
item.pricing_item_config_id ? (openBlock(), createBlock(_sfc_main$9, {
|
|
3423
3381
|
key: item.pricing_item_config_id,
|
|
3424
3382
|
modelValue: itemModel(index).value,
|
|
3425
3383
|
"onUpdate:modelValue": ($event) => itemModel(index).value = $event,
|
|
@@ -3434,15 +3392,15 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
3434
3392
|
};
|
|
3435
3393
|
}
|
|
3436
3394
|
});
|
|
3437
|
-
const _hoisted_1$
|
|
3438
|
-
const _hoisted_2$
|
|
3439
|
-
const _sfc_main$
|
|
3395
|
+
const _hoisted_1$6 = { class: "flex gap-4 border-l-2 border-primary-600 px-2" };
|
|
3396
|
+
const _hoisted_2$4 = { class: "grow" };
|
|
3397
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
3440
3398
|
__name: "PricingGroupTitle",
|
|
3441
3399
|
setup(__props) {
|
|
3442
3400
|
return (_ctx, _cache) => {
|
|
3443
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3444
|
-
createElementVNode("div", _hoisted_2$
|
|
3445
|
-
createVNode(unref(_sfc_main$
|
|
3401
|
+
return openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
3402
|
+
createElementVNode("div", _hoisted_2$4, [
|
|
3403
|
+
createVNode(unref(_sfc_main$p), {
|
|
3446
3404
|
tag: "span",
|
|
3447
3405
|
variant: "body-sm",
|
|
3448
3406
|
weight: "semibold"
|
|
@@ -3454,7 +3412,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
3454
3412
|
})
|
|
3455
3413
|
]),
|
|
3456
3414
|
createElementVNode("div", null, [
|
|
3457
|
-
createVNode(unref(_sfc_main$
|
|
3415
|
+
createVNode(unref(_sfc_main$p), {
|
|
3458
3416
|
tag: "span",
|
|
3459
3417
|
variant: "body-xs",
|
|
3460
3418
|
shade: "lighter"
|
|
@@ -3469,9 +3427,9 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
3469
3427
|
};
|
|
3470
3428
|
}
|
|
3471
3429
|
});
|
|
3472
|
-
const _hoisted_1$
|
|
3473
|
-
const _hoisted_2$
|
|
3474
|
-
const _sfc_main$
|
|
3430
|
+
const _hoisted_1$5 = { class: "p-1" };
|
|
3431
|
+
const _hoisted_2$3 = { class: "grid grid-cols-1 gap-1 pt-1" };
|
|
3432
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
3475
3433
|
__name: "AddonSingleEditor",
|
|
3476
3434
|
props: /* @__PURE__ */ mergeModels({
|
|
3477
3435
|
constraint: { type: String },
|
|
@@ -3530,10 +3488,10 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3530
3488
|
}
|
|
3531
3489
|
};
|
|
3532
3490
|
return (_ctx, _cache) => {
|
|
3533
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3491
|
+
return openBlock(), createBlock(unref(_sfc_main$q), { "no-spacing": "" }, {
|
|
3534
3492
|
default: withCtx(() => [
|
|
3535
|
-
createElementVNode("div", _hoisted_1$
|
|
3536
|
-
createVNode(_sfc_main$
|
|
3493
|
+
createElementVNode("div", _hoisted_1$5, [
|
|
3494
|
+
createVNode(_sfc_main$7, null, {
|
|
3537
3495
|
title: withCtx(() => [
|
|
3538
3496
|
createTextVNode(toDisplayString(__props.groupName), 1)
|
|
3539
3497
|
]),
|
|
@@ -3542,9 +3500,9 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3542
3500
|
]),
|
|
3543
3501
|
_: 1
|
|
3544
3502
|
}),
|
|
3545
|
-
createElementVNode("div", _hoisted_2$
|
|
3503
|
+
createElementVNode("div", _hoisted_2$3, [
|
|
3546
3504
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.pricings, (pricing) => {
|
|
3547
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3505
|
+
return openBlock(), createBlock(unref(_sfc_main$q), {
|
|
3548
3506
|
key: pricing.id,
|
|
3549
3507
|
"content-background": "none",
|
|
3550
3508
|
class: normalizeClass({ "!bg-white": isSelected(pricing.id) })
|
|
@@ -3552,7 +3510,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3552
3510
|
default: withCtx(() => {
|
|
3553
3511
|
var _a, _b;
|
|
3554
3512
|
return [
|
|
3555
|
-
createVNode(_sfc_main$
|
|
3513
|
+
createVNode(_sfc_main$D, {
|
|
3556
3514
|
name: unref(getNameFromPricing)(pricing) ?? "",
|
|
3557
3515
|
description: ((_a = pricing.items) == null ? void 0 : _a[0]) ? unref(renderPricingForPricingItem)({
|
|
3558
3516
|
pricingItem: (_b = pricing.items) == null ? void 0 : _b[0]
|
|
@@ -3563,7 +3521,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3563
3521
|
})
|
|
3564
3522
|
}, {
|
|
3565
3523
|
default: withCtx(() => [
|
|
3566
|
-
createVNode(unref(_sfc_main$
|
|
3524
|
+
createVNode(unref(_sfc_main$v), {
|
|
3567
3525
|
"model-value": isSelected(pricing.id),
|
|
3568
3526
|
"onUpdate:modelValue": ($event) => handleToggle(pricing.id)
|
|
3569
3527
|
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
@@ -3583,8 +3541,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3583
3541
|
};
|
|
3584
3542
|
}
|
|
3585
3543
|
});
|
|
3586
|
-
const _hoisted_1$
|
|
3587
|
-
const _sfc_main$
|
|
3544
|
+
const _hoisted_1$4 = { class: "grid grid-cols-1 gap-1" };
|
|
3545
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
3588
3546
|
__name: "AddonMultipleEditor",
|
|
3589
3547
|
props: /* @__PURE__ */ mergeModels({
|
|
3590
3548
|
modelValue: { type: Array },
|
|
@@ -3616,7 +3574,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3616
3574
|
}
|
|
3617
3575
|
};
|
|
3618
3576
|
return (_ctx, _cache) => {
|
|
3619
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3577
|
+
return openBlock(), createBlock(unref(_sfc_main$q), {
|
|
3620
3578
|
"no-spacing": "",
|
|
3621
3579
|
"no-border": !__props.groupName,
|
|
3622
3580
|
"content-background": __props.groupName ? "gray" : "none"
|
|
@@ -3625,7 +3583,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3625
3583
|
createElementVNode("div", {
|
|
3626
3584
|
class: normalizeClass(["grid grid-cols-1 gap-1", { "p-1": __props.groupName }])
|
|
3627
3585
|
}, [
|
|
3628
|
-
__props.groupName ? (openBlock(), createBlock(_sfc_main$
|
|
3586
|
+
__props.groupName ? (openBlock(), createBlock(_sfc_main$7, { key: 0 }, {
|
|
3629
3587
|
title: withCtx(() => [
|
|
3630
3588
|
createTextVNode(toDisplayString(__props.groupName), 1)
|
|
3631
3589
|
]),
|
|
@@ -3638,9 +3596,9 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3638
3596
|
]),
|
|
3639
3597
|
_: 1
|
|
3640
3598
|
})) : createCommentVNode("", true),
|
|
3641
|
-
createElementVNode("div", _hoisted_1$
|
|
3599
|
+
createElementVNode("div", _hoisted_1$4, [
|
|
3642
3600
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.pricings, (pricing) => {
|
|
3643
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3601
|
+
return openBlock(), createBlock(unref(_sfc_main$q), {
|
|
3644
3602
|
key: pricing.id,
|
|
3645
3603
|
"content-background": __props.groupName || isSelected(pricing.id) ? "none" : "gray",
|
|
3646
3604
|
class: normalizeClass({ "!bg-white": isSelected(pricing.id) })
|
|
@@ -3648,7 +3606,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3648
3606
|
default: withCtx(() => {
|
|
3649
3607
|
var _a, _b;
|
|
3650
3608
|
return [
|
|
3651
|
-
createVNode(_sfc_main$
|
|
3609
|
+
createVNode(_sfc_main$D, {
|
|
3652
3610
|
name: unref(getNameFromPricing)(pricing) ?? "",
|
|
3653
3611
|
description: ((_a = pricing.items) == null ? void 0 : _a[0]) ? unref(renderPricingForPricingItem)({
|
|
3654
3612
|
pricingItem: (_b = pricing.items) == null ? void 0 : _b[0]
|
|
@@ -3659,7 +3617,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3659
3617
|
})
|
|
3660
3618
|
}, {
|
|
3661
3619
|
default: withCtx(() => [
|
|
3662
|
-
isSelected(pricing.id) ? (openBlock(), createBlock(unref(_sfc_main$
|
|
3620
|
+
isSelected(pricing.id) ? (openBlock(), createBlock(unref(_sfc_main$t), {
|
|
3663
3621
|
key: 0,
|
|
3664
3622
|
color: "gray",
|
|
3665
3623
|
variant: "outline",
|
|
@@ -3667,7 +3625,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3667
3625
|
size: "sm",
|
|
3668
3626
|
"icon-prefix": "remove_shopping_cart",
|
|
3669
3627
|
onClick: ($event) => handleToggle(pricing.id)
|
|
3670
|
-
}, null, 8, ["onClick"])) : (openBlock(), createBlock(unref(_sfc_main$
|
|
3628
|
+
}, null, 8, ["onClick"])) : (openBlock(), createBlock(unref(_sfc_main$t), {
|
|
3671
3629
|
key: 1,
|
|
3672
3630
|
color: "primary",
|
|
3673
3631
|
"icon-prefix": "add",
|
|
@@ -3699,11 +3657,11 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3699
3657
|
};
|
|
3700
3658
|
}
|
|
3701
3659
|
});
|
|
3702
|
-
const _hoisted_1$
|
|
3703
|
-
const _hoisted_2$
|
|
3660
|
+
const _hoisted_1$3 = { class: "p-1" };
|
|
3661
|
+
const _hoisted_2$2 = { class: "pt-1" };
|
|
3704
3662
|
const SHOW_RADIO_GROUP_MAX_OPTIONS = 3;
|
|
3705
3663
|
const SHOW_SELECT_MAX_OPTIONS = 6;
|
|
3706
|
-
const _sfc_main$
|
|
3664
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
3707
3665
|
__name: "PricingGroupSingleEditor",
|
|
3708
3666
|
props: /* @__PURE__ */ mergeModels({
|
|
3709
3667
|
modelValue: { type: Array },
|
|
@@ -3763,31 +3721,31 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3763
3721
|
}));
|
|
3764
3722
|
};
|
|
3765
3723
|
return (_ctx, _cache) => {
|
|
3766
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3724
|
+
return openBlock(), createBlock(unref(_sfc_main$q), { "no-spacing": "" }, {
|
|
3767
3725
|
default: withCtx(() => [
|
|
3768
|
-
createElementVNode("div", _hoisted_1$
|
|
3769
|
-
createVNode(_sfc_main$
|
|
3726
|
+
createElementVNode("div", _hoisted_1$3, [
|
|
3727
|
+
createVNode(_sfc_main$7, null, {
|
|
3770
3728
|
title: withCtx(() => [
|
|
3771
3729
|
createTextVNode(toDisplayString(__props.groupName), 1)
|
|
3772
3730
|
]),
|
|
3773
3731
|
_: 1
|
|
3774
3732
|
}),
|
|
3775
|
-
createElementVNode("div", _hoisted_2$
|
|
3776
|
-
options.value.length <= SHOW_RADIO_GROUP_MAX_OPTIONS ? (openBlock(), createBlock(unref(_sfc_main$
|
|
3733
|
+
createElementVNode("div", _hoisted_2$2, [
|
|
3734
|
+
options.value.length <= SHOW_RADIO_GROUP_MAX_OPTIONS ? (openBlock(), createBlock(unref(_sfc_main$L), {
|
|
3777
3735
|
key: 0,
|
|
3778
3736
|
modelValue: singleModelValue.value,
|
|
3779
3737
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => singleModelValue.value = $event),
|
|
3780
3738
|
options: getRadioGroupOptions(),
|
|
3781
3739
|
direction: unref(isMobileViewport) ? "column" : "row",
|
|
3782
3740
|
"show-radio": false
|
|
3783
|
-
}, null, 8, ["modelValue", "options", "direction"])) : options.value.length <= SHOW_SELECT_MAX_OPTIONS ? (openBlock(), createBlock(unref(_sfc_main$
|
|
3741
|
+
}, null, 8, ["modelValue", "options", "direction"])) : options.value.length <= SHOW_SELECT_MAX_OPTIONS ? (openBlock(), createBlock(unref(_sfc_main$E), {
|
|
3784
3742
|
key: 1,
|
|
3785
3743
|
"single-model-value": singleModelValue.value,
|
|
3786
3744
|
"onUpdate:singleModelValue": _cache[1] || (_cache[1] = ($event) => singleModelValue.value = $event),
|
|
3787
3745
|
options: getSelectOptions(),
|
|
3788
3746
|
size: "xl",
|
|
3789
3747
|
"show-sub-label-in-input": ""
|
|
3790
|
-
}, null, 8, ["single-model-value", "options"])) : (openBlock(), createBlock(unref(_sfc_main$
|
|
3748
|
+
}, null, 8, ["single-model-value", "options"])) : (openBlock(), createBlock(unref(_sfc_main$M), {
|
|
3791
3749
|
key: 2,
|
|
3792
3750
|
modelValue: singleModelValue.value,
|
|
3793
3751
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => singleModelValue.value = $event),
|
|
@@ -3807,8 +3765,8 @@ function getAllPricingsFromPricingPlanVersion(pricingPlanVersion) {
|
|
|
3807
3765
|
const pricings = ((_a = pricingPlanVersion.pricing_categories) == null ? void 0 : _a.flatMap((category) => category.pricings ?? [])) ?? [];
|
|
3808
3766
|
return pricings.filter((pricing) => pricing !== null);
|
|
3809
3767
|
}
|
|
3810
|
-
const _hoisted_1$
|
|
3811
|
-
const _sfc_main$
|
|
3768
|
+
const _hoisted_1$2 = { class: "sv-plan-customization__body grid grid-cols-1 gap-1" };
|
|
3769
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
3812
3770
|
__name: "PlanCustomizationEditor",
|
|
3813
3771
|
props: /* @__PURE__ */ mergeModels({
|
|
3814
3772
|
subscription: { type: Object },
|
|
@@ -3848,7 +3806,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3848
3806
|
() => getPricingGroupsFromExtendedPricingPlanSubscription(props.subscription)
|
|
3849
3807
|
);
|
|
3850
3808
|
return (_ctx, _cache) => {
|
|
3851
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3809
|
+
return openBlock(), createBlock(unref(_sfc_main$q), {
|
|
3852
3810
|
class: "sv-plan-customization",
|
|
3853
3811
|
title: unref($t)({
|
|
3854
3812
|
defaultMessage: "Customize plan",
|
|
@@ -3860,8 +3818,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3860
3818
|
"content-background": "none"
|
|
3861
3819
|
}, {
|
|
3862
3820
|
default: withCtx(() => [
|
|
3863
|
-
createElementVNode("div", _hoisted_1$
|
|
3864
|
-
createVNode(_sfc_main$
|
|
3821
|
+
createElementVNode("div", _hoisted_1$2, [
|
|
3822
|
+
createVNode(_sfc_main$8, {
|
|
3865
3823
|
modelValue: seatsModel.value,
|
|
3866
3824
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => seatsModel.value = $event),
|
|
3867
3825
|
class: "sv-plan-customization__seats",
|
|
@@ -3872,7 +3830,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3872
3830
|
return openBlock(), createElementBlock(Fragment, {
|
|
3873
3831
|
key: pricingGroup.id
|
|
3874
3832
|
}, [
|
|
3875
|
-
pricingGroup.product_type === "DEFAULT" && pricingGroup.selection_constraint === "EXACTLY_ONE" ? (openBlock(), createBlock(_sfc_main$
|
|
3833
|
+
pricingGroup.product_type === "DEFAULT" && pricingGroup.selection_constraint === "EXACTLY_ONE" ? (openBlock(), createBlock(_sfc_main$4, {
|
|
3876
3834
|
key: 0,
|
|
3877
3835
|
modelValue: enabledPricingIdsModel.value,
|
|
3878
3836
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => enabledPricingIdsModel.value = $event),
|
|
@@ -3881,7 +3839,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3881
3839
|
pricings: pricingGroup.pricings,
|
|
3882
3840
|
"billing-period": __props.billingPeriod,
|
|
3883
3841
|
currency: __props.currency
|
|
3884
|
-
}, null, 8, ["modelValue", "group-name", "pricings", "billing-period", "currency"])) : pricingGroup.product_type === "ADDON" && pricingGroup.selection_constraint === "AT_MOST_ONE" ? (openBlock(), createBlock(_sfc_main$
|
|
3842
|
+
}, null, 8, ["modelValue", "group-name", "pricings", "billing-period", "currency"])) : pricingGroup.product_type === "ADDON" && pricingGroup.selection_constraint === "AT_MOST_ONE" ? (openBlock(), createBlock(_sfc_main$6, {
|
|
3885
3843
|
key: 1,
|
|
3886
3844
|
modelValue: enabledPricingIdsModel.value,
|
|
3887
3845
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => enabledPricingIdsModel.value = $event),
|
|
@@ -3891,7 +3849,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3891
3849
|
constraint: pricingGroup.selection_constraint,
|
|
3892
3850
|
"billing-period": __props.billingPeriod,
|
|
3893
3851
|
currency: __props.currency
|
|
3894
|
-
}, null, 8, ["modelValue", "group-name", "pricings", "constraint", "billing-period", "currency"])) : pricingGroup.product_type === "ADDON" && pricingGroup.selection_constraint === "ANY" ? (openBlock(), createBlock(_sfc_main$
|
|
3852
|
+
}, null, 8, ["modelValue", "group-name", "pricings", "constraint", "billing-period", "currency"])) : pricingGroup.product_type === "ADDON" && pricingGroup.selection_constraint === "ANY" ? (openBlock(), createBlock(_sfc_main$5, {
|
|
3895
3853
|
key: 2,
|
|
3896
3854
|
modelValue: enabledPricingIdsModel.value,
|
|
3897
3855
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => enabledPricingIdsModel.value = $event),
|
|
@@ -3903,7 +3861,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3903
3861
|
}, null, 8, ["modelValue", "pricings", "group-name", "billing-period", "currency"])) : createCommentVNode("", true)
|
|
3904
3862
|
], 64);
|
|
3905
3863
|
}), 128)),
|
|
3906
|
-
createVNode(_sfc_main$
|
|
3864
|
+
createVNode(_sfc_main$5, {
|
|
3907
3865
|
modelValue: enabledPricingIdsModel.value,
|
|
3908
3866
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => enabledPricingIdsModel.value = $event),
|
|
3909
3867
|
class: "sv-plan-customization__group",
|
|
@@ -3918,9 +3876,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3918
3876
|
};
|
|
3919
3877
|
}
|
|
3920
3878
|
});
|
|
3921
|
-
const _hoisted_1$
|
|
3922
|
-
const _hoisted_2$
|
|
3923
|
-
const _hoisted_3$
|
|
3879
|
+
const _hoisted_1$1 = ["aria-expanded", "aria-label"];
|
|
3880
|
+
const _hoisted_2$1 = { class: "flex w-full cursor-pointer flex-row items-center justify-between gap-3 px-3 py-2" };
|
|
3881
|
+
const _hoisted_3$1 = { class: "flex flex-row items-center gap-2" };
|
|
3924
3882
|
const _hoisted_4$1 = ["onKeydown"];
|
|
3925
3883
|
const _hoisted_5$1 = ["aria-label"];
|
|
3926
3884
|
const _hoisted_6$1 = { class: "flex w-full cursor-pointer flex-row items-center justify-between gap-3 px-3 py-2" };
|
|
@@ -3929,7 +3887,7 @@ const _hoisted_8 = {
|
|
|
3929
3887
|
class: "sr-only",
|
|
3930
3888
|
"aria-live": "polite"
|
|
3931
3889
|
};
|
|
3932
|
-
const _sfc_main$
|
|
3890
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
3933
3891
|
__name: "PromotionCodeSection",
|
|
3934
3892
|
props: {
|
|
3935
3893
|
promotionCode: { default: null, type: [String, null] }
|
|
@@ -4050,7 +4008,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4050
4008
|
);
|
|
4051
4009
|
return (_ctx, _cache) => {
|
|
4052
4010
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
4053
|
-
!isApplied.value ? (openBlock(), createBlock(unref(_sfc_main$
|
|
4011
|
+
!isApplied.value ? (openBlock(), createBlock(unref(_sfc_main$q), {
|
|
4054
4012
|
key: 0,
|
|
4055
4013
|
"no-spacing": "",
|
|
4056
4014
|
class: "relative w-full"
|
|
@@ -4066,10 +4024,10 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4066
4024
|
"aria-label": toggleAriaLabel.value,
|
|
4067
4025
|
onClick: toggleExpanded
|
|
4068
4026
|
}, [
|
|
4069
|
-
createElementVNode("div", _hoisted_2$
|
|
4070
|
-
createElementVNode("div", _hoisted_3$
|
|
4071
|
-
createVNode(unref(_sfc_main$
|
|
4072
|
-
createVNode(unref(_sfc_main$
|
|
4027
|
+
createElementVNode("div", _hoisted_2$1, [
|
|
4028
|
+
createElementVNode("div", _hoisted_3$1, [
|
|
4029
|
+
createVNode(unref(_sfc_main$K), { icon: "local_activity" }),
|
|
4030
|
+
createVNode(unref(_sfc_main$p), {
|
|
4073
4031
|
id: labelId,
|
|
4074
4032
|
variant: "body-sm"
|
|
4075
4033
|
}, {
|
|
@@ -4083,11 +4041,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4083
4041
|
_: 1
|
|
4084
4042
|
})
|
|
4085
4043
|
]),
|
|
4086
|
-
createVNode(unref(_sfc_main$
|
|
4044
|
+
createVNode(unref(_sfc_main$K), {
|
|
4087
4045
|
icon: isExpanded.value ? "remove" : "add"
|
|
4088
4046
|
}, null, 8, ["icon"])
|
|
4089
4047
|
])
|
|
4090
|
-
], 8, _hoisted_1$
|
|
4048
|
+
], 8, _hoisted_1$1),
|
|
4091
4049
|
withDirectives(createElementVNode("div", {
|
|
4092
4050
|
id: panelId,
|
|
4093
4051
|
ref_key: "panelRef",
|
|
@@ -4097,7 +4055,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4097
4055
|
class: "flex w-full flex-row items-center gap-2 overflow-hidden border-t px-3 py-2",
|
|
4098
4056
|
onKeydown: withKeys(withModifiers(collapseExpanded, ["prevent"]), ["esc"])
|
|
4099
4057
|
}, [
|
|
4100
|
-
createVNode(unref(_sfc_main$
|
|
4058
|
+
createVNode(unref(_sfc_main$r), {
|
|
4101
4059
|
modelValue: inputValue.value,
|
|
4102
4060
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event),
|
|
4103
4061
|
placeholder: unref($t)({
|
|
@@ -4113,7 +4071,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4113
4071
|
class: "w-full",
|
|
4114
4072
|
onKeydown: withKeys(withModifiers(applyCode, ["prevent"]), ["enter"])
|
|
4115
4073
|
}, null, 8, ["modelValue", "placeholder", "aria-label", "onKeydown"]),
|
|
4116
|
-
createVNode(unref(_sfc_main$
|
|
4074
|
+
createVNode(unref(_sfc_main$t), {
|
|
4117
4075
|
type: "button",
|
|
4118
4076
|
disabled: !canApply.value,
|
|
4119
4077
|
"aria-label": applyAriaLabel.value,
|
|
@@ -4134,7 +4092,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4134
4092
|
])
|
|
4135
4093
|
]),
|
|
4136
4094
|
_: 1
|
|
4137
|
-
})) : (openBlock(), createBlock(unref(_sfc_main$
|
|
4095
|
+
})) : (openBlock(), createBlock(unref(_sfc_main$q), {
|
|
4138
4096
|
key: 1,
|
|
4139
4097
|
"no-border": "",
|
|
4140
4098
|
"no-spacing": "",
|
|
@@ -4150,8 +4108,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4150
4108
|
}, [
|
|
4151
4109
|
createElementVNode("div", _hoisted_6$1, [
|
|
4152
4110
|
createElementVNode("div", _hoisted_7, [
|
|
4153
|
-
createVNode(unref(_sfc_main$
|
|
4154
|
-
createVNode(unref(_sfc_main$
|
|
4111
|
+
createVNode(unref(_sfc_main$K), { icon: "local_activity" }),
|
|
4112
|
+
createVNode(unref(_sfc_main$p), {
|
|
4155
4113
|
variant: "body-sm",
|
|
4156
4114
|
class: "font-semibold"
|
|
4157
4115
|
}, {
|
|
@@ -4161,7 +4119,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4161
4119
|
_: 1
|
|
4162
4120
|
})
|
|
4163
4121
|
]),
|
|
4164
|
-
createVNode(unref(_sfc_main$
|
|
4122
|
+
createVNode(unref(_sfc_main$K), { icon: "close" })
|
|
4165
4123
|
])
|
|
4166
4124
|
], 8, _hoisted_5$1)
|
|
4167
4125
|
]),
|
|
@@ -4172,75 +4130,6 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4172
4130
|
};
|
|
4173
4131
|
}
|
|
4174
4132
|
});
|
|
4175
|
-
const _hoisted_1$1 = { class: "flex justify-around" };
|
|
4176
|
-
const _hoisted_2$1 = { class: "flex items-center gap-0.5" };
|
|
4177
|
-
const _hoisted_3$1 = {
|
|
4178
|
-
key: 0,
|
|
4179
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4180
|
-
width: "40",
|
|
4181
|
-
height: "15",
|
|
4182
|
-
fill: "none",
|
|
4183
|
-
viewBox: "0 0 40 15",
|
|
4184
|
-
class: "inline-block translate-y-[1px]"
|
|
4185
|
-
};
|
|
4186
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
4187
|
-
__name: "SecurePaymentsKPI",
|
|
4188
|
-
props: {
|
|
4189
|
-
paymentMethodOptions: { type: Array }
|
|
4190
|
-
},
|
|
4191
|
-
setup(__props) {
|
|
4192
|
-
const props = __props;
|
|
4193
|
-
const { $t } = useIntl();
|
|
4194
|
-
const showAdyen = computed(
|
|
4195
|
-
() => props.paymentMethodOptions.find(
|
|
4196
|
-
({ integration }) => {
|
|
4197
|
-
var _a;
|
|
4198
|
-
return ((_a = integration.payment_gateway) == null ? void 0 : _a.variant) === "ADYEN";
|
|
4199
|
-
}
|
|
4200
|
-
)
|
|
4201
|
-
);
|
|
4202
|
-
const securePaymentsText = computed(() => {
|
|
4203
|
-
if (showAdyen.value) {
|
|
4204
|
-
return $t({
|
|
4205
|
-
defaultMessage: "Secure and encrypted payments by",
|
|
4206
|
-
description: "Secure encrypted payments KPI for a specific vendor, followed by a vendor logo",
|
|
4207
|
-
id: "secure_payments_kpi.specific_vendor"
|
|
4208
|
-
});
|
|
4209
|
-
}
|
|
4210
|
-
return $t({
|
|
4211
|
-
defaultMessage: "Secure and encrypted payments",
|
|
4212
|
-
description: "Secure encrypted payments KPI",
|
|
4213
|
-
id: "secure_payments_kpi.generic"
|
|
4214
|
-
});
|
|
4215
|
-
});
|
|
4216
|
-
return (_ctx, _cache) => {
|
|
4217
|
-
return openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
4218
|
-
createElementVNode("div", _hoisted_2$1, [
|
|
4219
|
-
createVNode(unref(_sfc_main$J), {
|
|
4220
|
-
icon: "lock",
|
|
4221
|
-
size: "xs"
|
|
4222
|
-
}),
|
|
4223
|
-
createVNode(unref(_sfc_main$r), {
|
|
4224
|
-
tag: "span",
|
|
4225
|
-
variant: "body-xs",
|
|
4226
|
-
shade: "lighter"
|
|
4227
|
-
}, {
|
|
4228
|
-
default: withCtx(() => [
|
|
4229
|
-
createTextVNode(toDisplayString(securePaymentsText.value) + " ", 1),
|
|
4230
|
-
showAdyen.value ? (openBlock(), createElementBlock("svg", _hoisted_3$1, [..._cache[0] || (_cache[0] = [
|
|
4231
|
-
createElementVNode("path", {
|
|
4232
|
-
fill: "currentColor",
|
|
4233
|
-
d: "M.049 2.917h5.845c.646 0 1.17.522 1.17 1.166v5.834H1.217c-.646 0-1.17-.522-1.17-1.167V5.833h2.924v2.334H4.14v-3.5H.049zM32.784 2.917v7h2.922v-5.25h1.17v5.25h2.922V4.083c0-.644-.523-1.166-1.169-1.166zM16.417 12.833h5.845c.646 0 1.17-.522 1.17-1.166v-8.75h-2.924v5.25H19.34v-5.25h-2.922V8.75c0 .645.523 1.167 1.169 1.167h2.922v1.166h-4.091zM31.614 9.917H25.77c-.646 0-1.17-.522-1.17-1.167V2.917h5.846c.646 0 1.17.522 1.17 1.166V7h-2.923V4.667h-1.17v3.5h4.092zM15.248 0v9.917H9.402c-.646 0-1.17-.522-1.17-1.167V4.083c0-.644.524-1.166 1.17-1.166h1.754v5.25h1.169V0z"
|
|
4234
|
-
}, null, -1)
|
|
4235
|
-
])])) : createCommentVNode("", true)
|
|
4236
|
-
]),
|
|
4237
|
-
_: 1
|
|
4238
|
-
})
|
|
4239
|
-
])
|
|
4240
|
-
]);
|
|
4241
|
-
};
|
|
4242
|
-
}
|
|
4243
|
-
});
|
|
4244
4133
|
const _hoisted_1 = { class: "sv-checkout__header" };
|
|
4245
4134
|
const _hoisted_2 = {
|
|
4246
4135
|
key: 5,
|
|
@@ -4265,7 +4154,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4265
4154
|
setup(__props, { emit: __emit }) {
|
|
4266
4155
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
4267
4156
|
const PaymentIntegrationForm = defineAsyncComponent(
|
|
4268
|
-
() => import("../../PaymentIntegrationForm-
|
|
4157
|
+
() => import("../../PaymentIntegrationForm-DX6kv0_v.mjs")
|
|
4269
4158
|
);
|
|
4270
4159
|
const props = __props;
|
|
4271
4160
|
const emit = __emit;
|
|
@@ -4579,7 +4468,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4579
4468
|
emit("ready");
|
|
4580
4469
|
});
|
|
4581
4470
|
return (_ctx, _cache) => {
|
|
4582
|
-
return criticalError.value ? (openBlock(), createBlock(_sfc_main$
|
|
4471
|
+
return criticalError.value ? (openBlock(), createBlock(_sfc_main$k, {
|
|
4583
4472
|
key: 0,
|
|
4584
4473
|
class: "sv-checkout sv-root sv-screen sv-checkout--error"
|
|
4585
4474
|
})) : (openBlock(), createBlock(unref(ContentWithAsideLayout), {
|
|
@@ -4588,11 +4477,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4588
4477
|
}, {
|
|
4589
4478
|
header: withCtx(() => [
|
|
4590
4479
|
createElementVNode("div", _hoisted_1, [
|
|
4591
|
-
createVNode(_sfc_main$
|
|
4480
|
+
createVNode(_sfc_main$H, { class: "min-h-[52px] w-96" }, {
|
|
4592
4481
|
default: withCtx(() => {
|
|
4593
4482
|
var _a2, _b2, _c2;
|
|
4594
4483
|
return [
|
|
4595
|
-
unref(invoicePreview) && unref(subscription) && subscriptionStartDate.value ? (openBlock(), createBlock(_sfc_main$
|
|
4484
|
+
unref(invoicePreview) && unref(subscription) && subscriptionStartDate.value ? (openBlock(), createBlock(_sfc_main$l, {
|
|
4596
4485
|
key: 0,
|
|
4597
4486
|
class: "sv-checkout__title",
|
|
4598
4487
|
"trial-start-date": trialStartDate.value,
|
|
@@ -4612,7 +4501,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4612
4501
|
content: withCtx(() => {
|
|
4613
4502
|
var _a2, _b2, _c2;
|
|
4614
4503
|
return [
|
|
4615
|
-
unref(subscription) && unref(isMobileViewport) ? (openBlock(), createBlock(_sfc_main$
|
|
4504
|
+
unref(subscription) && unref(isMobileViewport) ? (openBlock(), createBlock(_sfc_main$h, {
|
|
4616
4505
|
key: 0,
|
|
4617
4506
|
class: "sv-checkout__mobile-order-summary",
|
|
4618
4507
|
subscription: unref(subscription),
|
|
@@ -4630,7 +4519,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4630
4519
|
variant: "products-inline",
|
|
4631
4520
|
onBillingPeriodChange: handleBillingPeriodChange
|
|
4632
4521
|
}, null, 8, ["subscription", "invoice", "invoice-preview-by-billing-period", "trial-invoice", "enabled-pricing-ids", "trial-period", "avatar", "is-paid", "is-usage-based", "is-preview-and-payment-methods-pending", "country-code"])) : createCommentVNode("", true),
|
|
4633
|
-
showPlanCustomizationEditor.value && unref(subscription) ? (openBlock(), createBlock(_sfc_main$
|
|
4522
|
+
showPlanCustomizationEditor.value && unref(subscription) ? (openBlock(), createBlock(_sfc_main$3, {
|
|
4634
4523
|
key: 1,
|
|
4635
4524
|
"seats-values": seatsValuesModel.value,
|
|
4636
4525
|
"onUpdate:seatsValues": _cache[0] || (_cache[0] = ($event) => seatsValuesModel.value = $event),
|
|
@@ -4642,7 +4531,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4642
4531
|
"billing-period": unref(subscription).billing_period,
|
|
4643
4532
|
currency: activePricingCurrency.value
|
|
4644
4533
|
}, null, 8, ["seats-values", "enabled-pricing-ids", "subscription", "initial-seats-values", "billing-period", "currency"])) : createCommentVNode("", true),
|
|
4645
|
-
!unref(isPaid) && unref(checkoutForm).form.value.country && unref(amount) && expressPaymentMethodBillingInformation.value ? (openBlock(), createBlock(_sfc_main$
|
|
4534
|
+
!unref(isPaid) && unref(checkoutForm).form.value.country && unref(amount) && expressPaymentMethodBillingInformation.value ? (openBlock(), createBlock(_sfc_main$c, {
|
|
4646
4535
|
key: 2,
|
|
4647
4536
|
class: "sv-checkout__express-payment-methods",
|
|
4648
4537
|
amount: unref(amount),
|
|
@@ -4653,12 +4542,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4653
4542
|
"on-billing-information-change": unref(updateInvoicePreviewOnBillingInformationChange),
|
|
4654
4543
|
onUpdateBillingInformation: handleUpdateBillingInformation
|
|
4655
4544
|
}, null, 8, ["amount", "country-code", "locale", "payment-methods-options-response", "billing-information", "on-billing-information-change"])) : createCommentVNode("", true),
|
|
4656
|
-
unref(isPaid) ? (openBlock(), createBlock(_sfc_main$
|
|
4545
|
+
unref(isPaid) ? (openBlock(), createBlock(_sfc_main$j, {
|
|
4657
4546
|
key: 3,
|
|
4658
4547
|
class: "sv-checkout__completed-payment",
|
|
4659
4548
|
onContinueToMerchant: handleRedirect
|
|
4660
4549
|
})) : createCommentVNode("", true),
|
|
4661
|
-
!unref(isPaid) ? (openBlock(), createBlock(_sfc_main$
|
|
4550
|
+
!unref(isPaid) ? (openBlock(), createBlock(_sfc_main$m, {
|
|
4662
4551
|
key: 4,
|
|
4663
4552
|
modelValue: unref(checkoutForm).form.value,
|
|
4664
4553
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(checkoutForm).form.value = $event),
|
|
@@ -4671,13 +4560,13 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4671
4560
|
"read-only": unref(isPaid)
|
|
4672
4561
|
}, null, 8, ["modelValue", "validation", "read-only-email", "show-customer-info-on-top", "is-billing-information-mandatory", "get-is-field-required", "read-only"])) : createCommentVNode("", true),
|
|
4673
4562
|
!unref(isPaid) ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
4674
|
-
createVNode(_sfc_main$
|
|
4563
|
+
createVNode(_sfc_main$H, {
|
|
4675
4564
|
variant: "section",
|
|
4676
4565
|
class: "min-h-[130px]"
|
|
4677
4566
|
}, {
|
|
4678
4567
|
default: withCtx(() => [
|
|
4679
4568
|
!unref(isPaymentMethodsPending) || unref(isPaymentMethodsPending) && unref(paymentMethodOptions).length > 0 ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
4680
|
-
createVNode(unref(_sfc_main$
|
|
4569
|
+
createVNode(unref(_sfc_main$p), {
|
|
4681
4570
|
variant: "heading-3",
|
|
4682
4571
|
tag: "h2",
|
|
4683
4572
|
class: "sv-checkout__payment-methods-title mb-2"
|
|
@@ -4691,7 +4580,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4691
4580
|
]),
|
|
4692
4581
|
_: 1
|
|
4693
4582
|
}),
|
|
4694
|
-
!unref(checkoutForm).form.value.country ? (openBlock(), createBlock(_sfc_main$
|
|
4583
|
+
!unref(checkoutForm).form.value.country ? (openBlock(), createBlock(_sfc_main$P, {
|
|
4695
4584
|
key: 0,
|
|
4696
4585
|
class: "sv-checkout__payment-methods-empty",
|
|
4697
4586
|
icon: "captive_portal"
|
|
@@ -4711,7 +4600,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4711
4600
|
})), 1)
|
|
4712
4601
|
]),
|
|
4713
4602
|
_: 1
|
|
4714
|
-
})) : unref(paymentMethodOptions).length === 0 ? (openBlock(), createBlock(_sfc_main$
|
|
4603
|
+
})) : unref(paymentMethodOptions).length === 0 ? (openBlock(), createBlock(_sfc_main$P, {
|
|
4715
4604
|
key: 1,
|
|
4716
4605
|
class: "sv-checkout__payment-methods-empty",
|
|
4717
4606
|
icon: "credit_card_off"
|
|
@@ -4755,14 +4644,14 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4755
4644
|
}),
|
|
4756
4645
|
aside: withCtx(() => [
|
|
4757
4646
|
createElementVNode("div", _hoisted_5, [
|
|
4758
|
-
createVNode(_sfc_main$
|
|
4647
|
+
createVNode(_sfc_main$H, {
|
|
4759
4648
|
variant: "section",
|
|
4760
4649
|
class: "min-h-[220px]"
|
|
4761
4650
|
}, {
|
|
4762
4651
|
default: withCtx(() => {
|
|
4763
4652
|
var _a2;
|
|
4764
4653
|
return [
|
|
4765
|
-
unref(subscription) && unref(invoicePreview) ? (openBlock(), createBlock(_sfc_main$
|
|
4654
|
+
unref(subscription) && unref(invoicePreview) ? (openBlock(), createBlock(_sfc_main$h, {
|
|
4766
4655
|
key: 0,
|
|
4767
4656
|
subscription: unref(subscription),
|
|
4768
4657
|
invoice: unref(invoicePreview),
|
|
@@ -4782,7 +4671,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4782
4671
|
_: 1
|
|
4783
4672
|
})
|
|
4784
4673
|
]),
|
|
4785
|
-
!unref(isPaid) ? (openBlock(), createBlock(_sfc_main$
|
|
4674
|
+
!unref(isPaid) ? (openBlock(), createBlock(_sfc_main$2, {
|
|
4786
4675
|
key: 0,
|
|
4787
4676
|
class: "sv-checkout__promotion-code",
|
|
4788
4677
|
"promotion-code": promotionCode.value,
|
|
@@ -4790,18 +4679,18 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4790
4679
|
onRemove: unref(removePromotionCode),
|
|
4791
4680
|
onApply: unref(applyPromotionCode)
|
|
4792
4681
|
}, null, 8, ["promotion-code", "onRemove", "onApply"])) : createCommentVNode("", true),
|
|
4793
|
-
unref(promotionCodeErrorMessage) ? (openBlock(), createBlock(unref(_sfc_main$
|
|
4682
|
+
unref(promotionCodeErrorMessage) ? (openBlock(), createBlock(unref(_sfc_main$N), {
|
|
4794
4683
|
key: 1,
|
|
4795
4684
|
class: "sv-checkout__promotion-error mt-2",
|
|
4796
4685
|
title: unref(promotionCodeErrorMessage)
|
|
4797
4686
|
}, null, 8, ["title"])) : createCommentVNode("", true),
|
|
4798
4687
|
createElementVNode("div", _hoisted_6, [
|
|
4799
|
-
!unref(isPaid) ? (openBlock(), createBlock(_sfc_main$
|
|
4688
|
+
!unref(isPaid) ? (openBlock(), createBlock(_sfc_main$H, {
|
|
4800
4689
|
key: 0,
|
|
4801
4690
|
class: "sv-checkout__submit-skeleton min-h-[44px]"
|
|
4802
4691
|
}, {
|
|
4803
4692
|
default: withCtx(() => [
|
|
4804
|
-
unref(invoicePreview) ? (openBlock(), createBlock(unref(_sfc_main$
|
|
4693
|
+
unref(invoicePreview) ? (openBlock(), createBlock(unref(_sfc_main$t), {
|
|
4805
4694
|
key: 0,
|
|
4806
4695
|
type: "button",
|
|
4807
4696
|
size: "lg",
|
|
@@ -4825,7 +4714,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4825
4714
|
]),
|
|
4826
4715
|
_: 1
|
|
4827
4716
|
})) : createCommentVNode("", true),
|
|
4828
|
-
createVNode(_sfc_main$
|
|
4717
|
+
createVNode(_sfc_main$O, { "payment-method-options": unref(paymentMethodOptions) }, null, 8, ["payment-method-options"])
|
|
4829
4718
|
])
|
|
4830
4719
|
]),
|
|
4831
4720
|
_: 1
|