@solvimon/solvimon-web 0.1.0-alpha.13 → 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 +245 -362
- 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-D7YN2SAd.mjs → useInvoiceData-Bz4a2Mfa.mjs} +2 -2
- package/dist/{useInvoiceData-lIMEwwMy.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/{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, watch, defineComponent, openBlock, createBlock, unref, withCtx, createElementVNode, createVNode, createTextVNode, toDisplayString, useModel, createElementBlock, withModifiers, Fragment, createCommentVNode, createSlots, normalizeClass, mergeModels,
|
|
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
8
|
import { u as useWatchDebounced } from "../../useWatchDebounced-Zmxd6InB.mjs";
|
|
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$
|
|
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,
|
|
@@ -1120,8 +1120,8 @@ function usePromotionCode({
|
|
|
1120
1120
|
function isFieldError(error) {
|
|
1121
1121
|
return typeof error === "object" && error !== null && "field" in error;
|
|
1122
1122
|
}
|
|
1123
|
-
const _hoisted_1$
|
|
1124
|
-
const _sfc_main$
|
|
1123
|
+
const _hoisted_1$k = { class: "flex items-center gap-2" };
|
|
1124
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
1125
1125
|
__name: "TaxIDCheckNotice",
|
|
1126
1126
|
props: {
|
|
1127
1127
|
taxIdValidationResult: { type: Object }
|
|
@@ -1144,13 +1144,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
1144
1144
|
});
|
|
1145
1145
|
});
|
|
1146
1146
|
return (_ctx, _cache) => {
|
|
1147
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
1147
|
+
return openBlock(), createBlock(unref(_sfc_main$o), {
|
|
1148
1148
|
type: isTaxIdValid.value ? "success" : "danger",
|
|
1149
1149
|
icon: false
|
|
1150
1150
|
}, {
|
|
1151
1151
|
default: withCtx(() => [
|
|
1152
|
-
createElementVNode("div", _hoisted_1$
|
|
1153
|
-
createVNode(unref(_sfc_main$
|
|
1152
|
+
createElementVNode("div", _hoisted_1$k, [
|
|
1153
|
+
createVNode(unref(_sfc_main$p), { variant: "body-xs" }, {
|
|
1154
1154
|
default: withCtx(() => [
|
|
1155
1155
|
createTextVNode(toDisplayString(taxIdValidationMessage.value), 1)
|
|
1156
1156
|
]),
|
|
@@ -1215,16 +1215,16 @@ function useTaxIDValidationCheck(form) {
|
|
|
1215
1215
|
isSelectedCountryEU
|
|
1216
1216
|
};
|
|
1217
1217
|
}
|
|
1218
|
-
const _hoisted_1$
|
|
1219
|
-
const _hoisted_2$
|
|
1220
|
-
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 };
|
|
1221
1221
|
const _hoisted_4$5 = { class: "mt-2 flex flex-col gap-3" };
|
|
1222
1222
|
const _hoisted_5$4 = { class: "grid grid-cols-3 gap-2" };
|
|
1223
1223
|
const _hoisted_6$2 = { class: "flex grow flex-col" };
|
|
1224
1224
|
const _hoisted_7$1 = { key: 0 };
|
|
1225
1225
|
const _hoisted_8$1 = { class: "mt-4 grid grid-cols-1 gap-3" };
|
|
1226
1226
|
const FORM_ID = "checkout-form";
|
|
1227
|
-
const _sfc_main$
|
|
1227
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
1228
1228
|
__name: "CheckoutForm",
|
|
1229
1229
|
props: /* @__PURE__ */ mergeModels({
|
|
1230
1230
|
validation: { type: null },
|
|
@@ -1277,8 +1277,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1277
1277
|
id: FORM_ID,
|
|
1278
1278
|
onSubmit: _cache[12] || (_cache[12] = withModifiers(($event) => _ctx.$emit("submit", model.value), ["prevent"]))
|
|
1279
1279
|
}, [
|
|
1280
|
-
createElementVNode("div", _hoisted_1$
|
|
1281
|
-
createVNode(unref(_sfc_main$
|
|
1280
|
+
createElementVNode("div", _hoisted_1$j, [
|
|
1281
|
+
createVNode(unref(_sfc_main$q), {
|
|
1282
1282
|
title: unref($t)({
|
|
1283
1283
|
defaultMessage: "Customer information",
|
|
1284
1284
|
id: "checkout.contact_information_block.title",
|
|
@@ -1286,9 +1286,9 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1286
1286
|
})
|
|
1287
1287
|
}, {
|
|
1288
1288
|
default: withCtx(() => [
|
|
1289
|
-
createElementVNode("div", _hoisted_2$
|
|
1289
|
+
createElementVNode("div", _hoisted_2$c, [
|
|
1290
1290
|
__props.readOnly ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
1291
|
-
createVNode(unref(_sfc_main$
|
|
1291
|
+
createVNode(unref(_sfc_main$p), {
|
|
1292
1292
|
variant: "body",
|
|
1293
1293
|
tag: "span",
|
|
1294
1294
|
weight: "semibold",
|
|
@@ -1299,7 +1299,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1299
1299
|
]),
|
|
1300
1300
|
_: 1
|
|
1301
1301
|
}),
|
|
1302
|
-
createVNode(unref(_sfc_main$
|
|
1302
|
+
createVNode(unref(_sfc_main$p), {
|
|
1303
1303
|
variant: "body-sm",
|
|
1304
1304
|
tag: "span",
|
|
1305
1305
|
shade: "lighter",
|
|
@@ -1311,7 +1311,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1311
1311
|
_: 1
|
|
1312
1312
|
})
|
|
1313
1313
|
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
1314
|
-
createVNode(unref(_sfc_main$
|
|
1314
|
+
createVNode(unref(_sfc_main$r), {
|
|
1315
1315
|
modelValue: model.value.email,
|
|
1316
1316
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => model.value.email = $event),
|
|
1317
1317
|
required: "",
|
|
@@ -1330,7 +1330,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1330
1330
|
}) + getOptionalSuffix("email"),
|
|
1331
1331
|
error: __props.validation.value.email.$errors
|
|
1332
1332
|
}, null, 8, ["modelValue", "disabled", "label", "placeholder", "error"]),
|
|
1333
|
-
createVNode(unref(_sfc_main$
|
|
1333
|
+
createVNode(unref(_sfc_main$s), {
|
|
1334
1334
|
"single-model-value": country.value,
|
|
1335
1335
|
"onUpdate:singleModelValue": _cache[3] || (_cache[3] = ($event) => country.value = $event),
|
|
1336
1336
|
required: "",
|
|
@@ -1343,7 +1343,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1343
1343
|
error: __props.validation.value.country.$errors
|
|
1344
1344
|
}, {
|
|
1345
1345
|
"label-suffix": withCtx(() => [
|
|
1346
|
-
!showBillingDetails.value && !__props.isBillingInformationMandatory ? (openBlock(), createBlock(unref(_sfc_main$
|
|
1346
|
+
!showBillingDetails.value && !__props.isBillingInformationMandatory ? (openBlock(), createBlock(unref(_sfc_main$t), {
|
|
1347
1347
|
key: 0,
|
|
1348
1348
|
size: "xs",
|
|
1349
1349
|
variant: "ghost",
|
|
@@ -1360,7 +1360,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1360
1360
|
]),
|
|
1361
1361
|
_: 1
|
|
1362
1362
|
})) : createCommentVNode("", true),
|
|
1363
|
-
showBillingDetails.value && !__props.isBillingInformationMandatory ? (openBlock(), createBlock(unref(_sfc_main$
|
|
1363
|
+
showBillingDetails.value && !__props.isBillingInformationMandatory ? (openBlock(), createBlock(unref(_sfc_main$t), {
|
|
1364
1364
|
key: 1,
|
|
1365
1365
|
size: "sm",
|
|
1366
1366
|
variant: "ghost",
|
|
@@ -1382,11 +1382,11 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1382
1382
|
}, 8, ["single-model-value", "label", "error"])
|
|
1383
1383
|
], 64))
|
|
1384
1384
|
]),
|
|
1385
|
-
createVNode(unref(_sfc_main$
|
|
1385
|
+
createVNode(unref(_sfc_main$u), null, {
|
|
1386
1386
|
default: withCtx(() => [
|
|
1387
|
-
showBillingDetails.value || __props.isBillingInformationMandatory ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
1387
|
+
showBillingDetails.value || __props.isBillingInformationMandatory ? (openBlock(), createElementBlock("div", _hoisted_3$6, [
|
|
1388
1388
|
createElementVNode("div", _hoisted_4$5, [
|
|
1389
|
-
createVNode(unref(_sfc_main$
|
|
1389
|
+
createVNode(unref(_sfc_main$r), {
|
|
1390
1390
|
modelValue: model.value.addressLine1,
|
|
1391
1391
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => model.value.addressLine1 = $event),
|
|
1392
1392
|
name: "address_line_1",
|
|
@@ -1403,7 +1403,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1403
1403
|
required: "",
|
|
1404
1404
|
error: __props.validation.value.addressLine1.$errors
|
|
1405
1405
|
}, null, 8, ["modelValue", "label", "placeholder", "error"]),
|
|
1406
|
-
createVNode(unref(_sfc_main$
|
|
1406
|
+
createVNode(unref(_sfc_main$r), {
|
|
1407
1407
|
modelValue: model.value.addressLine2,
|
|
1408
1408
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => model.value.addressLine2 = $event),
|
|
1409
1409
|
name: "address_line_2",
|
|
@@ -1414,7 +1414,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1414
1414
|
}) + getOptionalSuffix("addressLine2")
|
|
1415
1415
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
1416
1416
|
createElementVNode("div", _hoisted_5$4, [
|
|
1417
|
-
createVNode(unref(_sfc_main$
|
|
1417
|
+
createVNode(unref(_sfc_main$r), {
|
|
1418
1418
|
modelValue: model.value.postalCode,
|
|
1419
1419
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => model.value.postalCode = $event),
|
|
1420
1420
|
name: "postal_code",
|
|
@@ -1425,7 +1425,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1425
1425
|
}) + getOptionalSuffix("postalCode"),
|
|
1426
1426
|
error: __props.validation.value.addressLine1.$errors
|
|
1427
1427
|
}, null, 8, ["modelValue", "placeholder", "error"]),
|
|
1428
|
-
createVNode(unref(_sfc_main$
|
|
1428
|
+
createVNode(unref(_sfc_main$r), {
|
|
1429
1429
|
modelValue: model.value.city,
|
|
1430
1430
|
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => model.value.city = $event),
|
|
1431
1431
|
name: "city",
|
|
@@ -1435,7 +1435,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1435
1435
|
description: "City of the customer address in the checkout form"
|
|
1436
1436
|
}) + getOptionalSuffix("city")
|
|
1437
1437
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
1438
|
-
createVNode(unref(_sfc_main$
|
|
1438
|
+
createVNode(unref(_sfc_main$r), {
|
|
1439
1439
|
modelValue: model.value.state,
|
|
1440
1440
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => model.value.state = $event),
|
|
1441
1441
|
name: "state",
|
|
@@ -1455,9 +1455,9 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1455
1455
|
]),
|
|
1456
1456
|
_: 1
|
|
1457
1457
|
}, 8, ["title"]),
|
|
1458
|
-
!__props.readOnly ? (openBlock(), createBlock(unref(_sfc_main$
|
|
1458
|
+
!__props.readOnly ? (openBlock(), createBlock(unref(_sfc_main$q), { key: 0 }, {
|
|
1459
1459
|
default: withCtx(() => [
|
|
1460
|
-
createVNode(unref(_sfc_main$
|
|
1460
|
+
createVNode(unref(_sfc_main$v), {
|
|
1461
1461
|
modelValue: companyPurchaseModel.value,
|
|
1462
1462
|
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => companyPurchaseModel.value = $event),
|
|
1463
1463
|
"no-spacing": "",
|
|
@@ -1466,7 +1466,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1466
1466
|
}, {
|
|
1467
1467
|
"inline-label": withCtx(() => [
|
|
1468
1468
|
createElementVNode("div", _hoisted_6$2, [
|
|
1469
|
-
createVNode(unref(_sfc_main$
|
|
1469
|
+
createVNode(unref(_sfc_main$p), { tag: "span" }, {
|
|
1470
1470
|
default: withCtx(() => [
|
|
1471
1471
|
createTextVNode(toDisplayString(unref($t)({
|
|
1472
1472
|
defaultMessage: "Company purchase",
|
|
@@ -1476,7 +1476,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1476
1476
|
]),
|
|
1477
1477
|
_: 1
|
|
1478
1478
|
}),
|
|
1479
|
-
createVNode(unref(_sfc_main$
|
|
1479
|
+
createVNode(unref(_sfc_main$p), {
|
|
1480
1480
|
tag: "span",
|
|
1481
1481
|
variant: "body-xs",
|
|
1482
1482
|
shade: "lighter"
|
|
@@ -1494,11 +1494,11 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1494
1494
|
]),
|
|
1495
1495
|
_: 1
|
|
1496
1496
|
}, 8, ["modelValue"]),
|
|
1497
|
-
createVNode(unref(_sfc_main$
|
|
1497
|
+
createVNode(unref(_sfc_main$u), null, {
|
|
1498
1498
|
default: withCtx(() => [
|
|
1499
1499
|
isCompanyPurchase.value ? (openBlock(), createElementBlock("div", _hoisted_7$1, [
|
|
1500
1500
|
createElementVNode("div", _hoisted_8$1, [
|
|
1501
|
-
createVNode(unref(_sfc_main$
|
|
1501
|
+
createVNode(unref(_sfc_main$r), {
|
|
1502
1502
|
modelValue: model.value.companyLegalName,
|
|
1503
1503
|
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => model.value.companyLegalName = $event),
|
|
1504
1504
|
required: "",
|
|
@@ -1514,7 +1514,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1514
1514
|
description: "The legal name of the organization customer in the checkout form"
|
|
1515
1515
|
})
|
|
1516
1516
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1517
|
-
showVatIdInput.value ? (openBlock(), createBlock(unref(_sfc_main$
|
|
1517
|
+
showVatIdInput.value ? (openBlock(), createBlock(unref(_sfc_main$r), {
|
|
1518
1518
|
key: 0,
|
|
1519
1519
|
modelValue: model.value.companyVatNumber,
|
|
1520
1520
|
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => model.value.companyVatNumber = $event),
|
|
@@ -1536,7 +1536,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1536
1536
|
unref(isEUCountry)(model.value.country ?? "") ? {
|
|
1537
1537
|
name: "suffix",
|
|
1538
1538
|
fn: withCtx(() => [
|
|
1539
|
-
createVNode(unref(_sfc_main$
|
|
1539
|
+
createVNode(unref(_sfc_main$t), {
|
|
1540
1540
|
type: "button",
|
|
1541
1541
|
size: "sm",
|
|
1542
1542
|
color: "green",
|
|
@@ -1560,7 +1560,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1560
1560
|
key: 1,
|
|
1561
1561
|
class: normalizeClass({ "opacity-75": unref(isTaxIDCheckPending) })
|
|
1562
1562
|
}, [
|
|
1563
|
-
createVNode(_sfc_main$
|
|
1563
|
+
createVNode(_sfc_main$n, { "tax-id-validation-result": unref(taxIdValidationData) }, null, 8, ["tax-id-validation-result"])
|
|
1564
1564
|
], 2)) : createCommentVNode("", true)
|
|
1565
1565
|
])
|
|
1566
1566
|
])) : createCommentVNode("", true)
|
|
@@ -1575,13 +1575,13 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1575
1575
|
};
|
|
1576
1576
|
}
|
|
1577
1577
|
});
|
|
1578
|
-
const _hoisted_1$
|
|
1578
|
+
const _hoisted_1$i = {
|
|
1579
1579
|
key: 0,
|
|
1580
1580
|
class: "flex items-center"
|
|
1581
1581
|
};
|
|
1582
|
-
const _hoisted_2$
|
|
1583
|
-
const _hoisted_3$
|
|
1584
|
-
const _sfc_main$
|
|
1582
|
+
const _hoisted_2$b = ["innerHTML"];
|
|
1583
|
+
const _hoisted_3$5 = ["innerHTML"];
|
|
1584
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
1585
1585
|
__name: "CheckoutTitle",
|
|
1586
1586
|
props: {
|
|
1587
1587
|
trialPeriod: { type: Object },
|
|
@@ -1597,7 +1597,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1597
1597
|
return (_ctx, _cache) => {
|
|
1598
1598
|
return openBlock(), createElementBlock("div", null, [
|
|
1599
1599
|
createElementVNode("div", null, [
|
|
1600
|
-
createVNode(unref(_sfc_main$
|
|
1600
|
+
createVNode(unref(_sfc_main$p), {
|
|
1601
1601
|
variant: "heading-1",
|
|
1602
1602
|
class: "inline-block"
|
|
1603
1603
|
}, {
|
|
@@ -1607,7 +1607,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1607
1607
|
id: "checkout.page_title",
|
|
1608
1608
|
description: "The title of the checkout page"
|
|
1609
1609
|
})) + toDisplayString(" "), 1),
|
|
1610
|
-
__props.trialPeriod ? (openBlock(), createBlock(unref(_sfc_main$
|
|
1610
|
+
__props.trialPeriod ? (openBlock(), createBlock(unref(_sfc_main$w), {
|
|
1611
1611
|
key: 0,
|
|
1612
1612
|
"trial-period": __props.trialPeriod,
|
|
1613
1613
|
size: "lg",
|
|
@@ -1617,18 +1617,18 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1617
1617
|
_: 1
|
|
1618
1618
|
})
|
|
1619
1619
|
]),
|
|
1620
|
-
createVNode(unref(_sfc_main$
|
|
1620
|
+
createVNode(unref(_sfc_main$p), {
|
|
1621
1621
|
variant: "body-sm",
|
|
1622
1622
|
shade: "lighter",
|
|
1623
1623
|
"no-spacing": ""
|
|
1624
1624
|
}, {
|
|
1625
1625
|
default: withCtx(() => [
|
|
1626
|
-
!__props.countryCode ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
1627
|
-
createVNode(unref(_sfc_main$
|
|
1626
|
+
!__props.countryCode ? (openBlock(), createElementBlock("span", _hoisted_1$i, [
|
|
1627
|
+
createVNode(unref(_sfc_main$x), { "is-dark-mode": "" }, {
|
|
1628
1628
|
tooltip: withCtx(() => [
|
|
1629
1629
|
createVNode(unref(TooltipContent), null, {
|
|
1630
1630
|
default: withCtx(() => [
|
|
1631
|
-
createVNode(unref(_sfc_main$
|
|
1631
|
+
createVNode(unref(_sfc_main$z), null, {
|
|
1632
1632
|
default: withCtx(() => [
|
|
1633
1633
|
createTextVNode(toDisplayString(unref($t)({
|
|
1634
1634
|
defaultMessage: "Will be determined by billing information",
|
|
@@ -1643,7 +1643,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1643
1643
|
})
|
|
1644
1644
|
]),
|
|
1645
1645
|
default: withCtx(() => [
|
|
1646
|
-
createVNode(unref(_sfc_main$
|
|
1646
|
+
createVNode(unref(_sfc_main$y), {
|
|
1647
1647
|
"width-class": "w-10",
|
|
1648
1648
|
"height-class": "h-4",
|
|
1649
1649
|
shade: "darker",
|
|
@@ -1680,7 +1680,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1680
1680
|
})
|
|
1681
1681
|
}
|
|
1682
1682
|
)
|
|
1683
|
-
}, null, 8, _hoisted_2$
|
|
1683
|
+
}, null, 8, _hoisted_2$b)
|
|
1684
1684
|
])) : (openBlock(), createElementBlock("span", {
|
|
1685
1685
|
key: 1,
|
|
1686
1686
|
innerHTML: __props.trialStartDate ? unref($t)(
|
|
@@ -1716,7 +1716,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1716
1716
|
strong: (text) => `<strong>${text}</strong>`
|
|
1717
1717
|
}
|
|
1718
1718
|
)
|
|
1719
|
-
}, null, 8, _hoisted_3$
|
|
1719
|
+
}, null, 8, _hoisted_3$5))
|
|
1720
1720
|
]),
|
|
1721
1721
|
_: 1
|
|
1722
1722
|
})
|
|
@@ -1739,9 +1739,9 @@ const isInvoiceUsageBased = (invoice) => {
|
|
|
1739
1739
|
)
|
|
1740
1740
|
)) ?? false;
|
|
1741
1741
|
};
|
|
1742
|
-
const _hoisted_1$
|
|
1743
|
-
const _hoisted_2$
|
|
1744
|
-
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({
|
|
1745
1745
|
__name: "CheckoutNotAvailable",
|
|
1746
1746
|
setup(__props) {
|
|
1747
1747
|
const { $t } = useIntl();
|
|
@@ -1749,9 +1749,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1749
1749
|
window.location.reload();
|
|
1750
1750
|
};
|
|
1751
1751
|
return (_ctx, _cache) => {
|
|
1752
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1753
|
-
createElementVNode("div", _hoisted_2$
|
|
1754
|
-
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" }, {
|
|
1755
1755
|
default: withCtx(() => [
|
|
1756
1756
|
createTextVNode(toDisplayString(unref($t)({
|
|
1757
1757
|
defaultMessage: "Checkout not available",
|
|
@@ -1761,7 +1761,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1761
1761
|
]),
|
|
1762
1762
|
_: 1
|
|
1763
1763
|
}),
|
|
1764
|
-
createVNode(unref(_sfc_main$
|
|
1764
|
+
createVNode(unref(_sfc_main$p), {
|
|
1765
1765
|
variant: "body-sm",
|
|
1766
1766
|
shade: "lighter"
|
|
1767
1767
|
}, {
|
|
@@ -1793,13 +1793,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1793
1793
|
};
|
|
1794
1794
|
}
|
|
1795
1795
|
});
|
|
1796
|
-
const _sfc_main$
|
|
1796
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
1797
1797
|
__name: "SubscriptionPaymentCompletedCard",
|
|
1798
1798
|
emits: ["continue-to-merchant"],
|
|
1799
1799
|
setup(__props) {
|
|
1800
1800
|
const { $t } = useIntl();
|
|
1801
1801
|
return (_ctx, _cache) => {
|
|
1802
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1802
|
+
return openBlock(), createBlock(_sfc_main$A, {
|
|
1803
1803
|
status: "success",
|
|
1804
1804
|
title: unref($t)({
|
|
1805
1805
|
defaultMessage: "Payment successful",
|
|
@@ -1808,7 +1808,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
1808
1808
|
})
|
|
1809
1809
|
}, {
|
|
1810
1810
|
default: withCtx(() => [
|
|
1811
|
-
createVNode(unref(_sfc_main$
|
|
1811
|
+
createVNode(unref(_sfc_main$p), {
|
|
1812
1812
|
variant: "body-xs",
|
|
1813
1813
|
shade: "lighter",
|
|
1814
1814
|
tag: "span"
|
|
@@ -1822,7 +1822,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
1822
1822
|
]),
|
|
1823
1823
|
_: 1
|
|
1824
1824
|
}),
|
|
1825
|
-
createVNode(unref(_sfc_main$
|
|
1825
|
+
createVNode(unref(_sfc_main$t), {
|
|
1826
1826
|
color: "gray",
|
|
1827
1827
|
variant: "outline",
|
|
1828
1828
|
size: "xs",
|
|
@@ -1844,9 +1844,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
1844
1844
|
};
|
|
1845
1845
|
}
|
|
1846
1846
|
});
|
|
1847
|
-
const _hoisted_1$
|
|
1848
|
-
const _hoisted_2$
|
|
1849
|
-
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({
|
|
1850
1850
|
__name: "SubscriptionSummary",
|
|
1851
1851
|
props: {
|
|
1852
1852
|
subscription: { type: Object },
|
|
@@ -1893,15 +1893,15 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1893
1893
|
return names;
|
|
1894
1894
|
});
|
|
1895
1895
|
return (_ctx, _cache) => {
|
|
1896
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1897
|
-
__props.avatar ? (openBlock(), createBlock(unref(_sfc_main$
|
|
1896
|
+
return openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
1897
|
+
__props.avatar ? (openBlock(), createBlock(unref(_sfc_main$B), {
|
|
1898
1898
|
key: 0,
|
|
1899
1899
|
"image-src": __props.avatar,
|
|
1900
1900
|
size: "lg",
|
|
1901
1901
|
class: "my-1"
|
|
1902
1902
|
}, null, 8, ["image-src"])) : createCommentVNode("", true),
|
|
1903
|
-
createElementVNode("div", _hoisted_2$
|
|
1904
|
-
createVNode(unref(_sfc_main$
|
|
1903
|
+
createElementVNode("div", _hoisted_2$9, [
|
|
1904
|
+
createVNode(unref(_sfc_main$p), {
|
|
1905
1905
|
variant: "body",
|
|
1906
1906
|
weight: "semibold",
|
|
1907
1907
|
"no-spacing": ""
|
|
@@ -1911,7 +1911,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1911
1911
|
]),
|
|
1912
1912
|
_: 1
|
|
1913
1913
|
}),
|
|
1914
|
-
selectedPricings.value ? (openBlock(), createBlock(unref(_sfc_main$
|
|
1914
|
+
selectedPricings.value ? (openBlock(), createBlock(unref(_sfc_main$p), {
|
|
1915
1915
|
key: 0,
|
|
1916
1916
|
variant: "body-xs",
|
|
1917
1917
|
shade: "lighter",
|
|
@@ -1922,7 +1922,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1922
1922
|
]),
|
|
1923
1923
|
_: 1
|
|
1924
1924
|
})) : createCommentVNode("", true),
|
|
1925
|
-
description.value ? (openBlock(), createBlock(unref(_sfc_main$
|
|
1925
|
+
description.value ? (openBlock(), createBlock(unref(_sfc_main$p), {
|
|
1926
1926
|
key: 1,
|
|
1927
1927
|
variant: "body-xs",
|
|
1928
1928
|
shade: "lighter",
|
|
@@ -1941,15 +1941,15 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
1941
1941
|
};
|
|
1942
1942
|
}
|
|
1943
1943
|
});
|
|
1944
|
-
const _hoisted_1$
|
|
1945
|
-
const _hoisted_2$
|
|
1946
|
-
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" };
|
|
1947
1947
|
const _hoisted_4$4 = { class: "px-3 py-2" };
|
|
1948
1948
|
const _hoisted_5$3 = {
|
|
1949
1949
|
key: 3,
|
|
1950
1950
|
class: "sv-order-summary__items"
|
|
1951
1951
|
};
|
|
1952
|
-
const _sfc_main$
|
|
1952
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
1953
1953
|
__name: "OrderSummary",
|
|
1954
1954
|
props: {
|
|
1955
1955
|
subscription: { type: Object },
|
|
@@ -2171,7 +2171,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2171
2171
|
label,
|
|
2172
2172
|
subLabel: getSelectedPeriodAmountLabel(period),
|
|
2173
2173
|
labelSuffixComponent: saveText ? {
|
|
2174
|
-
component: _sfc_main$
|
|
2174
|
+
component: _sfc_main$C,
|
|
2175
2175
|
props: {
|
|
2176
2176
|
color: "primary",
|
|
2177
2177
|
content: saveText,
|
|
@@ -2230,7 +2230,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2230
2230
|
selectedBillingPeriodKey.value = checked ? biggestPeriod : smallestPeriod;
|
|
2231
2231
|
};
|
|
2232
2232
|
return (_ctx, _cache) => {
|
|
2233
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2233
|
+
return openBlock(), createBlock(unref(_sfc_main$q), {
|
|
2234
2234
|
class: "sv-order-summary",
|
|
2235
2235
|
"no-border": "",
|
|
2236
2236
|
"no-spacing": "",
|
|
@@ -2242,13 +2242,13 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2242
2242
|
})
|
|
2243
2243
|
}, {
|
|
2244
2244
|
default: withCtx(() => [
|
|
2245
|
-
createElementVNode("div", _hoisted_1$
|
|
2246
|
-
createVNode(unref(_sfc_main$
|
|
2245
|
+
createElementVNode("div", _hoisted_1$f, [
|
|
2246
|
+
createVNode(unref(_sfc_main$q), {
|
|
2247
2247
|
"no-spacing": "",
|
|
2248
2248
|
class: "sv-order-summary__subscription"
|
|
2249
2249
|
}, {
|
|
2250
2250
|
default: withCtx(() => [
|
|
2251
|
-
__props.subscription ? (openBlock(), createBlock(_sfc_main$
|
|
2251
|
+
__props.subscription ? (openBlock(), createBlock(_sfc_main$i, {
|
|
2252
2252
|
key: 0,
|
|
2253
2253
|
avatar: __props.avatar,
|
|
2254
2254
|
invoice: __props.invoice,
|
|
@@ -2260,7 +2260,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2260
2260
|
]),
|
|
2261
2261
|
_: 1
|
|
2262
2262
|
}),
|
|
2263
|
-
billingPeriodOptions.value.length === 2 ? (openBlock(), createBlock(unref(_sfc_main$
|
|
2263
|
+
billingPeriodOptions.value.length === 2 ? (openBlock(), createBlock(unref(_sfc_main$q), {
|
|
2264
2264
|
key: 0,
|
|
2265
2265
|
"no-spacing": "",
|
|
2266
2266
|
"content-classes": selectedBillingPeriodKey.value === periodBounds.value.biggestPeriod ? "border-primary-500" : void 0
|
|
@@ -2268,15 +2268,15 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2268
2268
|
default: withCtx(() => {
|
|
2269
2269
|
var _a;
|
|
2270
2270
|
return [
|
|
2271
|
-
createElementVNode("div", _hoisted_2$
|
|
2272
|
-
createElementVNode("div", _hoisted_3$
|
|
2273
|
-
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, {
|
|
2274
2274
|
key: 0,
|
|
2275
2275
|
name: highOption.value.label,
|
|
2276
2276
|
description: ((_a = selectedBillingPeriodOption.value) == null ? void 0 : _a.subLabel) ?? ""
|
|
2277
2277
|
}, createSlots({
|
|
2278
2278
|
default: withCtx(() => [
|
|
2279
|
-
createVNode(unref(_sfc_main$
|
|
2279
|
+
createVNode(unref(_sfc_main$v), {
|
|
2280
2280
|
"model-value": selectedBillingPeriodKey.value === periodBounds.value.biggestPeriod,
|
|
2281
2281
|
"onUpdate:modelValue": handleBinaryBillingToggle
|
|
2282
2282
|
}, null, 8, ["model-value"])
|
|
@@ -2286,7 +2286,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2286
2286
|
toggleSaveText.value ? {
|
|
2287
2287
|
name: "badge",
|
|
2288
2288
|
fn: withCtx(() => [
|
|
2289
|
-
createVNode(unref(_sfc_main$
|
|
2289
|
+
createVNode(unref(_sfc_main$C), {
|
|
2290
2290
|
color: "primary",
|
|
2291
2291
|
content: toggleSaveText.value,
|
|
2292
2292
|
size: saveBadgeSize.value,
|
|
@@ -2301,7 +2301,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2301
2301
|
];
|
|
2302
2302
|
}),
|
|
2303
2303
|
_: 1
|
|
2304
|
-
}, 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), {
|
|
2305
2305
|
key: 1,
|
|
2306
2306
|
"single-model-value": selectedBillingPeriodKey.value,
|
|
2307
2307
|
"onUpdate:singleModelValue": _cache[0] || (_cache[0] = ($event) => selectedBillingPeriodKey.value = $event),
|
|
@@ -2312,14 +2312,14 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2312
2312
|
"show-sub-label-in-input": "",
|
|
2313
2313
|
"show-suffix-in-closed-input": ""
|
|
2314
2314
|
}, null, 8, ["single-model-value", "options"])) : createCommentVNode("", true),
|
|
2315
|
-
__props.isUsageBased ? (openBlock(), createBlock(unref(_sfc_main$
|
|
2315
|
+
__props.isUsageBased ? (openBlock(), createBlock(unref(_sfc_main$q), {
|
|
2316
2316
|
key: 2,
|
|
2317
2317
|
"no-spacing": "",
|
|
2318
2318
|
class: "sv-order-summary__usage"
|
|
2319
2319
|
}, {
|
|
2320
2320
|
default: withCtx(() => [
|
|
2321
2321
|
createElementVNode("div", _hoisted_4$4, [
|
|
2322
|
-
createVNode(unref(_sfc_main$
|
|
2322
|
+
createVNode(unref(_sfc_main$p), {
|
|
2323
2323
|
"no-spacing": "",
|
|
2324
2324
|
variant: "body-sm",
|
|
2325
2325
|
shade: "lighter"
|
|
@@ -2338,14 +2338,14 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2338
2338
|
_: 1
|
|
2339
2339
|
})) : createCommentVNode("", true),
|
|
2340
2340
|
__props.invoice && __props.variant !== "products-inline" ? (openBlock(), createElementBlock("div", _hoisted_5$3, [
|
|
2341
|
-
createVNode(unref(_sfc_main$
|
|
2341
|
+
createVNode(unref(_sfc_main$F), {
|
|
2342
2342
|
invoice: __props.invoice,
|
|
2343
|
-
"wrapper-component": unref(_sfc_main$
|
|
2343
|
+
"wrapper-component": unref(_sfc_main$q)
|
|
2344
2344
|
}, null, 8, ["invoice", "wrapper-component"])
|
|
2345
2345
|
])) : createCommentVNode("", true),
|
|
2346
|
-
createVNode(unref(_sfc_main$
|
|
2346
|
+
createVNode(unref(_sfc_main$q), { class: "sv-order-summary__totals" }, {
|
|
2347
2347
|
default: withCtx(() => [
|
|
2348
|
-
__props.invoice ? (openBlock(), createBlock(unref(_sfc_main$
|
|
2348
|
+
__props.invoice ? (openBlock(), createBlock(unref(_sfc_main$G), {
|
|
2349
2349
|
key: 0,
|
|
2350
2350
|
class: "sv-order-summary__invoice-preview",
|
|
2351
2351
|
variant: __props.variant === "products-inline" ? "default" : "without-products",
|
|
@@ -2355,7 +2355,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2355
2355
|
collapsible: __props.collapsible,
|
|
2356
2356
|
"is-preview-without-taxes": !__props.countryCode,
|
|
2357
2357
|
"is-customer-facing": ""
|
|
2358
|
-
}, 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), {
|
|
2359
2359
|
key: 1,
|
|
2360
2360
|
variant: "body-sm",
|
|
2361
2361
|
shade: "lighter",
|
|
@@ -2380,67 +2380,19 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2380
2380
|
};
|
|
2381
2381
|
}
|
|
2382
2382
|
});
|
|
2383
|
-
const _hoisted_1$
|
|
2384
|
-
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
2385
|
-
__name: "EmptyStatePlaceholder",
|
|
2386
|
-
props: {
|
|
2387
|
-
icon: { type: null }
|
|
2388
|
-
},
|
|
2389
|
-
setup(__props) {
|
|
2390
|
-
return (_ctx, _cache) => {
|
|
2391
|
-
return openBlock(), createBlock(unref(_sfc_main$s), { class: "sv-empty-state" }, {
|
|
2392
|
-
default: withCtx(() => [
|
|
2393
|
-
createElementVNode("div", _hoisted_1$g, [
|
|
2394
|
-
createVNode(unref(_sfc_main$J), {
|
|
2395
|
-
icon: __props.icon,
|
|
2396
|
-
size: "lg",
|
|
2397
|
-
class: "sv-empty-state__icon text-gray-500"
|
|
2398
|
-
}, null, 8, ["icon"]),
|
|
2399
|
-
createVNode(unref(_sfc_main$r), {
|
|
2400
|
-
center: "",
|
|
2401
|
-
tag: "span",
|
|
2402
|
-
variant: "body-sm",
|
|
2403
|
-
weight: "semibold",
|
|
2404
|
-
shade: "lighter",
|
|
2405
|
-
class: "sv-empty-state__title mt-2"
|
|
2406
|
-
}, {
|
|
2407
|
-
default: withCtx(() => [
|
|
2408
|
-
renderSlot(_ctx.$slots, "title")
|
|
2409
|
-
]),
|
|
2410
|
-
_: 3
|
|
2411
|
-
}),
|
|
2412
|
-
createVNode(unref(_sfc_main$r), {
|
|
2413
|
-
center: "",
|
|
2414
|
-
tag: "span",
|
|
2415
|
-
variant: "body-xs",
|
|
2416
|
-
shade: "lightest",
|
|
2417
|
-
class: "sv-empty-state__message mt-1"
|
|
2418
|
-
}, {
|
|
2419
|
-
default: withCtx(() => [
|
|
2420
|
-
renderSlot(_ctx.$slots, "message")
|
|
2421
|
-
]),
|
|
2422
|
-
_: 3
|
|
2423
|
-
})
|
|
2424
|
-
])
|
|
2425
|
-
]),
|
|
2426
|
-
_: 3
|
|
2427
|
-
});
|
|
2428
|
-
};
|
|
2429
|
-
}
|
|
2430
|
-
});
|
|
2431
|
-
const _hoisted_1$f = {
|
|
2383
|
+
const _hoisted_1$e = {
|
|
2432
2384
|
key: 0,
|
|
2433
2385
|
id: "svg-logo",
|
|
2434
2386
|
viewBox: "0 0 35 15",
|
|
2435
2387
|
class: "h-[44px]"
|
|
2436
2388
|
};
|
|
2437
|
-
const _hoisted_2$
|
|
2389
|
+
const _hoisted_2$7 = {
|
|
2438
2390
|
key: 1,
|
|
2439
2391
|
src: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAxcHgiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAxMDEgMzIiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaW5ZTWluIG1lZXQiIHhtbG5zPSJodHRwOiYjeDJGOyYjeDJGO3d3dy53My5vcmcmI3gyRjsyMDAwJiN4MkY7c3ZnIj48cGF0aCBmaWxsPSIjMDAzMDg3IiBkPSJNIDEyLjIzNyAyLjggTCA0LjQzNyAyLjggQyAzLjkzNyAyLjggMy40MzcgMy4yIDMuMzM3IDMuNyBMIDAuMjM3IDIzLjcgQyAwLjEzNyAyNC4xIDAuNDM3IDI0LjQgMC44MzcgMjQuNCBMIDQuNTM3IDI0LjQgQyA1LjAzNyAyNC40IDUuNTM3IDI0IDUuNjM3IDIzLjUgTCA2LjQzNyAxOC4xIEMgNi41MzcgMTcuNiA2LjkzNyAxNy4yIDcuNTM3IDE3LjIgTCAxMC4wMzcgMTcuMiBDIDE1LjEzNyAxNy4yIDE4LjEzNyAxNC43IDE4LjkzNyA5LjggQyAxOS4yMzcgNy43IDE4LjkzNyA2IDE3LjkzNyA0LjggQyAxNi44MzcgMy41IDE0LjgzNyAyLjggMTIuMjM3IDIuOCBaIE0gMTMuMTM3IDEwLjEgQyAxMi43MzcgMTIuOSAxMC41MzcgMTIuOSA4LjUzNyAxMi45IEwgNy4zMzcgMTIuOSBMIDguMTM3IDcuNyBDIDguMTM3IDcuNCA4LjQzNyA3LjIgOC43MzcgNy4yIEwgOS4yMzcgNy4yIEMgMTAuNjM3IDcuMiAxMS45MzcgNy4yIDEyLjYzNyA4IEMgMTMuMTM3IDguNCAxMy4zMzcgOS4xIDEzLjEzNyAxMC4xIFoiPjwvcGF0aD48cGF0aCBmaWxsPSIjMDAzMDg3IiBkPSJNIDM1LjQzNyAxMCBMIDMxLjczNyAxMCBDIDMxLjQzNyAxMCAzMS4xMzcgMTAuMiAzMS4xMzcgMTAuNSBMIDMwLjkzNyAxMS41IEwgMzAuNjM3IDExLjEgQyAyOS44MzcgOS45IDI4LjAzNyA5LjUgMjYuMjM3IDkuNSBDIDIyLjEzNyA5LjUgMTguNjM3IDEyLjYgMTcuOTM3IDE3IEMgMTcuNTM3IDE5LjIgMTguMDM3IDIxLjMgMTkuMzM3IDIyLjcgQyAyMC40MzcgMjQgMjIuMTM3IDI0LjYgMjQuMDM3IDI0LjYgQyAyNy4zMzcgMjQuNiAyOS4yMzcgMjIuNSAyOS4yMzcgMjIuNSBMIDI5LjAzNyAyMy41IEMgMjguOTM3IDIzLjkgMjkuMjM3IDI0LjMgMjkuNjM3IDI0LjMgTCAzMy4wMzcgMjQuMyBDIDMzLjUzNyAyNC4zIDM0LjAzNyAyMy45IDM0LjEzNyAyMy40IEwgMzYuMTM3IDEwLjYgQyAzNi4yMzcgMTAuNCAzNS44MzcgMTAgMzUuNDM3IDEwIFogTSAzMC4zMzcgMTcuMiBDIDI5LjkzNyAxOS4zIDI4LjMzNyAyMC44IDI2LjEzNyAyMC44IEMgMjUuMDM3IDIwLjggMjQuMjM3IDIwLjUgMjMuNjM3IDE5LjggQyAyMy4wMzcgMTkuMSAyMi44MzcgMTguMiAyMy4wMzcgMTcuMiBDIDIzLjMzNyAxNS4xIDI1LjEzNyAxMy42IDI3LjIzNyAxMy42IEMgMjguMzM3IDEzLjYgMjkuMTM3IDE0IDI5LjczNyAxNC42IEMgMzAuMjM3IDE1LjMgMzAuNDM3IDE2LjIgMzAuMzM3IDE3LjIgWiI+PC9wYXRoPjxwYXRoIGZpbGw9IiMwMDMwODciIGQ9Ik0gNTUuMzM3IDEwIEwgNTEuNjM3IDEwIEMgNTEuMjM3IDEwIDUwLjkzNyAxMC4yIDUwLjczNyAxMC41IEwgNDUuNTM3IDE4LjEgTCA0My4zMzcgMTAuOCBDIDQzLjIzNyAxMC4zIDQyLjczNyAxMCA0Mi4zMzcgMTAgTCAzOC42MzcgMTAgQyAzOC4yMzcgMTAgMzcuODM3IDEwLjQgMzguMDM3IDEwLjkgTCA0Mi4xMzcgMjMgTCAzOC4yMzcgMjguNCBDIDM3LjkzNyAyOC44IDM4LjIzNyAyOS40IDM4LjczNyAyOS40IEwgNDIuNDM3IDI5LjQgQyA0Mi44MzcgMjkuNCA0My4xMzcgMjkuMiA0My4zMzcgMjguOSBMIDU1LjgzNyAxMC45IEMgNTYuMTM3IDEwLjYgNTUuODM3IDEwIDU1LjMzNyAxMCBaIj48L3BhdGg+PHBhdGggZmlsbD0iIzAwOWNkZSIgZD0iTSA2Ny43MzcgMi44IEwgNTkuOTM3IDIuOCBDIDU5LjQzNyAyLjggNTguOTM3IDMuMiA1OC44MzcgMy43IEwgNTUuNzM3IDIzLjYgQyA1NS42MzcgMjQgNTUuOTM3IDI0LjMgNTYuMzM3IDI0LjMgTCA2MC4zMzcgMjQuMyBDIDYwLjczNyAyNC4zIDYxLjAzNyAyNCA2MS4wMzcgMjMuNyBMIDYxLjkzNyAxOCBDIDYyLjAzNyAxNy41IDYyLjQzNyAxNy4xIDYzLjAzNyAxNy4xIEwgNjUuNTM3IDE3LjEgQyA3MC42MzcgMTcuMSA3My42MzcgMTQuNiA3NC40MzcgOS43IEMgNzQuNzM3IDcuNiA3NC40MzcgNS45IDczLjQzNyA0LjcgQyA3Mi4yMzcgMy41IDcwLjMzNyAyLjggNjcuNzM3IDIuOCBaIE0gNjguNjM3IDEwLjEgQyA2OC4yMzcgMTIuOSA2Ni4wMzcgMTIuOSA2NC4wMzcgMTIuOSBMIDYyLjgzNyAxMi45IEwgNjMuNjM3IDcuNyBDIDYzLjYzNyA3LjQgNjMuOTM3IDcuMiA2NC4yMzcgNy4yIEwgNjQuNzM3IDcuMiBDIDY2LjEzNyA3LjIgNjcuNDM3IDcuMiA2OC4xMzcgOCBDIDY4LjYzNyA4LjQgNjguNzM3IDkuMSA2OC42MzcgMTAuMSBaIj48L3BhdGg+PHBhdGggZmlsbD0iIzAwOWNkZSIgZD0iTSA5MC45MzcgMTAgTCA4Ny4yMzcgMTAgQyA4Ni45MzcgMTAgODYuNjM3IDEwLjIgODYuNjM3IDEwLjUgTCA4Ni40MzcgMTEuNSBMIDg2LjEzNyAxMS4xIEMgODUuMzM3IDkuOSA4My41MzcgOS41IDgxLjczNyA5LjUgQyA3Ny42MzcgOS41IDc0LjEzNyAxMi42IDczLjQzNyAxNyBDIDczLjAzNyAxOS4yIDczLjUzNyAyMS4zIDc0LjgzNyAyMi43IEMgNzUuOTM3IDI0IDc3LjYzNyAyNC42IDc5LjUzNyAyNC42IEMgODIuODM3IDI0LjYgODQuNzM3IDIyLjUgODQuNzM3IDIyLjUgTCA4NC41MzcgMjMuNSBDIDg0LjQzNyAyMy45IDg0LjczNyAyNC4zIDg1LjEzNyAyNC4zIEwgODguNTM3IDI0LjMgQyA4OS4wMzcgMjQuMyA4OS41MzcgMjMuOSA4OS42MzcgMjMuNCBMIDkxLjYzNyAxMC42IEMgOTEuNjM3IDEwLjQgOTEuMzM3IDEwIDkwLjkzNyAxMCBaIE0gODUuNzM3IDE3LjIgQyA4NS4zMzcgMTkuMyA4My43MzcgMjAuOCA4MS41MzcgMjAuOCBDIDgwLjQzNyAyMC44IDc5LjYzNyAyMC41IDc5LjAzNyAxOS44IEMgNzguNDM3IDE5LjEgNzguMjM3IDE4LjIgNzguNDM3IDE3LjIgQyA3OC43MzcgMTUuMSA4MC41MzcgMTMuNiA4Mi42MzcgMTMuNiBDIDgzLjczNyAxMy42IDg0LjUzNyAxNCA4NS4xMzcgMTQuNiBDIDg1LjczNyAxNS4zIDg1LjkzNyAxNi4yIDg1LjczNyAxNy4yIFoiPjwvcGF0aD48cGF0aCBmaWxsPSIjMDA5Y2RlIiBkPSJNIDk1LjMzNyAzLjMgTCA5Mi4xMzcgMjMuNiBDIDkyLjAzNyAyNCA5Mi4zMzcgMjQuMyA5Mi43MzcgMjQuMyBMIDk1LjkzNyAyNC4zIEMgOTYuNDM3IDI0LjMgOTYuOTM3IDIzLjkgOTcuMDM3IDIzLjQgTCAxMDAuMjM3IDMuNSBDIDEwMC4zMzcgMy4xIDEwMC4wMzcgMi44IDk5LjYzNyAyLjggTCA5Ni4wMzcgMi44IEMgOTUuNjM3IDIuOCA5NS40MzcgMyA5NS4zMzcgMy4zIFoiPjwvcGF0aD48L3N2Zz4",
|
|
2440
2392
|
role: "presentation",
|
|
2441
2393
|
class: "h-[22px]"
|
|
2442
2394
|
};
|
|
2443
|
-
const _sfc_main$
|
|
2395
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
2444
2396
|
__name: "ExpressPaymentMethodButton",
|
|
2445
2397
|
props: {
|
|
2446
2398
|
type: { type: String }
|
|
@@ -2477,14 +2429,14 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
2477
2429
|
emit("click");
|
|
2478
2430
|
}
|
|
2479
2431
|
return (_ctx, _cache) => {
|
|
2480
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
2432
|
+
return openBlock(), createBlock(unref(_sfc_main$t), {
|
|
2481
2433
|
size: "lg",
|
|
2482
2434
|
"aria-label": ariaLabel.value,
|
|
2483
2435
|
class: normalizeClass([buttonClasses.value, "!block w-full h-11 bg-center bg-no-repeat"]),
|
|
2484
2436
|
onClick: handleClick
|
|
2485
2437
|
}, {
|
|
2486
2438
|
default: withCtx(() => [
|
|
2487
|
-
props.type === "applepay" ? (openBlock(), createElementBlock("svg", _hoisted_1$
|
|
2439
|
+
props.type === "applepay" ? (openBlock(), createElementBlock("svg", _hoisted_1$e, [..._cache[0] || (_cache[0] = [
|
|
2488
2440
|
createElementVNode("svg", {
|
|
2489
2441
|
id: "svg-logo",
|
|
2490
2442
|
x: "0",
|
|
@@ -2512,16 +2464,16 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
2512
2464
|
])
|
|
2513
2465
|
])
|
|
2514
2466
|
], -1)
|
|
2515
|
-
])])) : props.type === "paypal" ? (openBlock(), createElementBlock("img", _hoisted_2$
|
|
2467
|
+
])])) : props.type === "paypal" ? (openBlock(), createElementBlock("img", _hoisted_2$7)) : createCommentVNode("", true)
|
|
2516
2468
|
]),
|
|
2517
2469
|
_: 1
|
|
2518
2470
|
}, 8, ["aria-label", "class"]);
|
|
2519
2471
|
};
|
|
2520
2472
|
}
|
|
2521
2473
|
});
|
|
2522
|
-
const _hoisted_1$
|
|
2474
|
+
const _hoisted_1$d = { class: "absolute h-[1px] w-[1px] overflow-hidden opacity-0" };
|
|
2523
2475
|
const PAYMENT_GATEWAY_VARIANT_ADYEN = "ADYEN";
|
|
2524
|
-
const _sfc_main$
|
|
2476
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
2525
2477
|
__name: "ExpressPaymentMethodApplePay",
|
|
2526
2478
|
props: {
|
|
2527
2479
|
onBillingInformationChange: { type: Function },
|
|
@@ -2756,12 +2708,12 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
2756
2708
|
});
|
|
2757
2709
|
return (_ctx, _cache) => {
|
|
2758
2710
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
2759
|
-
__props.isVisible ? (openBlock(), createBlock(_sfc_main$
|
|
2711
|
+
__props.isVisible ? (openBlock(), createBlock(_sfc_main$g, {
|
|
2760
2712
|
key: 0,
|
|
2761
2713
|
type: "applepay",
|
|
2762
2714
|
onClick: handleClick
|
|
2763
2715
|
})) : createCommentVNode("", true),
|
|
2764
|
-
createElementVNode("div", _hoisted_1$
|
|
2716
|
+
createElementVNode("div", _hoisted_1$d, [
|
|
2765
2717
|
createElementVNode("div", {
|
|
2766
2718
|
ref_key: "applePayButtonRef",
|
|
2767
2719
|
ref: applePayButtonRef
|
|
@@ -2771,8 +2723,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
2771
2723
|
};
|
|
2772
2724
|
}
|
|
2773
2725
|
});
|
|
2774
|
-
const _hoisted_1$
|
|
2775
|
-
const _sfc_main$
|
|
2726
|
+
const _hoisted_1$c = { class: "relative overflow-hidden" };
|
|
2727
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
2776
2728
|
__name: "ExpressPaymentMethodPaypal",
|
|
2777
2729
|
props: {
|
|
2778
2730
|
amount: { type: Object },
|
|
@@ -2831,8 +2783,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
2831
2783
|
void initPaypal();
|
|
2832
2784
|
});
|
|
2833
2785
|
return (_ctx, _cache) => {
|
|
2834
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2835
|
-
__props.isVisible ? (openBlock(), createBlock(_sfc_main$
|
|
2786
|
+
return openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
2787
|
+
__props.isVisible ? (openBlock(), createBlock(_sfc_main$g, {
|
|
2836
2788
|
key: 0,
|
|
2837
2789
|
type: "paypal",
|
|
2838
2790
|
class: "w-full"
|
|
@@ -2846,8 +2798,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
2846
2798
|
};
|
|
2847
2799
|
}
|
|
2848
2800
|
});
|
|
2849
|
-
const _hoisted_1$
|
|
2850
|
-
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({
|
|
2851
2803
|
__name: "ExpressPaymentMethodGooglePay",
|
|
2852
2804
|
props: {
|
|
2853
2805
|
amount: { type: Object },
|
|
@@ -2911,12 +2863,12 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
2911
2863
|
});
|
|
2912
2864
|
return (_ctx, _cache) => {
|
|
2913
2865
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
2914
|
-
__props.isVisible ? (openBlock(), createBlock(_sfc_main$
|
|
2866
|
+
__props.isVisible ? (openBlock(), createBlock(_sfc_main$g, {
|
|
2915
2867
|
key: 0,
|
|
2916
2868
|
type: "googlepay",
|
|
2917
2869
|
onClick: handleClick
|
|
2918
2870
|
})) : createCommentVNode("", true),
|
|
2919
|
-
createElementVNode("div", _hoisted_1$
|
|
2871
|
+
createElementVNode("div", _hoisted_1$b, [
|
|
2920
2872
|
createElementVNode("div", {
|
|
2921
2873
|
ref_key: "googlePayButtonRef",
|
|
2922
2874
|
ref: googlePayButtonRef
|
|
@@ -2926,15 +2878,15 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
2926
2878
|
};
|
|
2927
2879
|
}
|
|
2928
2880
|
});
|
|
2929
|
-
const _hoisted_1$
|
|
2881
|
+
const _hoisted_1$a = {
|
|
2930
2882
|
key: 0,
|
|
2931
2883
|
class: "mt-4n"
|
|
2932
2884
|
};
|
|
2933
|
-
const _hoisted_2$
|
|
2934
|
-
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" };
|
|
2935
2887
|
const _hoisted_4$3 = { class: "h-4 mt-4" };
|
|
2936
2888
|
const DEFAULT_EXPRESS_PAYMENT_BUTTON_COUNT = 2;
|
|
2937
|
-
const _sfc_main$
|
|
2889
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
2938
2890
|
__name: "ExpressPaymentMethods",
|
|
2939
2891
|
props: {
|
|
2940
2892
|
amount: { type: Object },
|
|
@@ -3008,12 +2960,12 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
3008
2960
|
return (paymentMethodOptionsResponseEntryIncludingApplePay.value ? 1 : 0) + (paymentMethodOptionsResponseEntryIncludingGooglePay.value ? 1 : 0) + (paymentMethodOptionsResponseEntryIncludingPayPal.value ? 1 : 0);
|
|
3009
2961
|
});
|
|
3010
2962
|
return (_ctx, _cache) => {
|
|
3011
|
-
return hasPaymentMethodOptions.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
3012
|
-
createElementVNode("div", _hoisted_2$
|
|
3013
|
-
!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, {
|
|
3014
2966
|
key: 0,
|
|
3015
2967
|
variant: "title"
|
|
3016
|
-
})) : (openBlock(), createBlock(unref(_sfc_main$
|
|
2968
|
+
})) : (openBlock(), createBlock(unref(_sfc_main$p), {
|
|
3017
2969
|
key: 1,
|
|
3018
2970
|
variant: "heading-3",
|
|
3019
2971
|
tag: "h2"
|
|
@@ -3028,10 +2980,10 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
3028
2980
|
_: 1
|
|
3029
2981
|
}))
|
|
3030
2982
|
]),
|
|
3031
|
-
createElementVNode("div", _hoisted_3$
|
|
2983
|
+
createElementVNode("div", _hoisted_3$3, [
|
|
3032
2984
|
!isReady.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
3033
|
-
createVNode(_sfc_main$
|
|
3034
|
-
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" })
|
|
3035
2987
|
], 64)) : createCommentVNode("", true),
|
|
3036
2988
|
createElementVNode("div", {
|
|
3037
2989
|
class: normalizeClass(["col-span-3 md:col-span-2", {
|
|
@@ -3041,7 +2993,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
3041
2993
|
"!col-span-6 md:!col-span-2": expressPaymentButtonCount.value === 3
|
|
3042
2994
|
}])
|
|
3043
2995
|
}, [
|
|
3044
|
-
paymentMethodOptionsResponseEntryIncludingApplePay.value ? (openBlock(), createBlock(_sfc_main$
|
|
2996
|
+
paymentMethodOptionsResponseEntryIncludingApplePay.value ? (openBlock(), createBlock(_sfc_main$f, {
|
|
3045
2997
|
key: 0,
|
|
3046
2998
|
amount: __props.amount,
|
|
3047
2999
|
"billing-information": __props.billingInformation,
|
|
@@ -3061,7 +3013,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
3061
3013
|
"md:!col-span-3": expressPaymentButtonCount.value === 2
|
|
3062
3014
|
}])
|
|
3063
3015
|
}, [
|
|
3064
|
-
paymentMethodOptionsResponseEntryIncludingGooglePay.value ? (openBlock(), createBlock(_sfc_main$
|
|
3016
|
+
paymentMethodOptionsResponseEntryIncludingGooglePay.value ? (openBlock(), createBlock(_sfc_main$d, {
|
|
3065
3017
|
key: 0,
|
|
3066
3018
|
amount: __props.amount,
|
|
3067
3019
|
"billing-information": __props.billingInformation,
|
|
@@ -3079,7 +3031,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
3079
3031
|
"md:!col-span-3": expressPaymentButtonCount.value === 2
|
|
3080
3032
|
}])
|
|
3081
3033
|
}, [
|
|
3082
|
-
paymentMethodOptionsResponseEntryIncludingPayPal.value ? (openBlock(), createBlock(_sfc_main$
|
|
3034
|
+
paymentMethodOptionsResponseEntryIncludingPayPal.value ? (openBlock(), createBlock(_sfc_main$e, {
|
|
3083
3035
|
key: 0,
|
|
3084
3036
|
amount: __props.amount,
|
|
3085
3037
|
"billing-information": __props.billingInformation,
|
|
@@ -3092,10 +3044,10 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
3092
3044
|
], 2)
|
|
3093
3045
|
]),
|
|
3094
3046
|
createElementVNode("div", _hoisted_4$3, [
|
|
3095
|
-
!isReady.value ? (openBlock(), createBlock(_sfc_main$
|
|
3047
|
+
!isReady.value ? (openBlock(), createBlock(_sfc_main$H, {
|
|
3096
3048
|
key: 0,
|
|
3097
3049
|
variant: "divider-text"
|
|
3098
|
-
})) : (openBlock(), createBlock(unref(_sfc_main$
|
|
3050
|
+
})) : (openBlock(), createBlock(unref(_sfc_main$I), {
|
|
3099
3051
|
key: 1,
|
|
3100
3052
|
text: unref($t)({
|
|
3101
3053
|
defaultMessage: "Or",
|
|
@@ -3109,8 +3061,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
3109
3061
|
};
|
|
3110
3062
|
}
|
|
3111
3063
|
});
|
|
3112
|
-
const _hoisted_1$
|
|
3113
|
-
const _sfc_main$
|
|
3064
|
+
const _hoisted_1$9 = { class: "grid grid-cols-2 gap-2" };
|
|
3065
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
3114
3066
|
__name: "TieredTableRow",
|
|
3115
3067
|
props: {
|
|
3116
3068
|
band: { type: Object },
|
|
@@ -3139,8 +3091,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
3139
3091
|
return props.band.tier_top_bound.number;
|
|
3140
3092
|
});
|
|
3141
3093
|
return (_ctx, _cache) => {
|
|
3142
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3143
|
-
createVNode(unref(_sfc_main$
|
|
3094
|
+
return openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
3095
|
+
createVNode(unref(_sfc_main$p), {
|
|
3144
3096
|
variant: "body-xs",
|
|
3145
3097
|
shade: "lighter",
|
|
3146
3098
|
tag: "div"
|
|
@@ -3173,7 +3125,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
3173
3125
|
]),
|
|
3174
3126
|
_: 1
|
|
3175
3127
|
}),
|
|
3176
|
-
createVNode(unref(_sfc_main$
|
|
3128
|
+
createVNode(unref(_sfc_main$p), {
|
|
3177
3129
|
variant: "body-xs",
|
|
3178
3130
|
shade: "lighter",
|
|
3179
3131
|
tag: "div",
|
|
@@ -3201,8 +3153,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
3201
3153
|
};
|
|
3202
3154
|
}
|
|
3203
3155
|
});
|
|
3204
|
-
const _hoisted_1$
|
|
3205
|
-
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({
|
|
3206
3158
|
__name: "TieredTable",
|
|
3207
3159
|
props: {
|
|
3208
3160
|
bands: { type: Array },
|
|
@@ -3210,9 +3162,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
3210
3162
|
},
|
|
3211
3163
|
setup(__props) {
|
|
3212
3164
|
return (_ctx, _cache) => {
|
|
3213
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3165
|
+
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
3214
3166
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.bands, (band, index) => {
|
|
3215
|
-
return openBlock(), createBlock(_sfc_main$
|
|
3167
|
+
return openBlock(), createBlock(_sfc_main$b, {
|
|
3216
3168
|
key: index,
|
|
3217
3169
|
band,
|
|
3218
3170
|
"is-first": index === 0,
|
|
@@ -3266,12 +3218,12 @@ function useSeatBasedPricing({
|
|
|
3266
3218
|
};
|
|
3267
3219
|
});
|
|
3268
3220
|
}
|
|
3269
|
-
const _hoisted_1$
|
|
3270
|
-
const _hoisted_2$
|
|
3271
|
-
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"];
|
|
3272
3224
|
const _hoisted_4$2 = { key: 0 };
|
|
3273
3225
|
const _hoisted_5$2 = { key: 0 };
|
|
3274
|
-
const _sfc_main$
|
|
3226
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
3275
3227
|
__name: "SeatsEditorItem",
|
|
3276
3228
|
props: /* @__PURE__ */ mergeModels({
|
|
3277
3229
|
modelValue: { type: Object },
|
|
@@ -3308,9 +3260,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
3308
3260
|
return (_ctx, _cache) => {
|
|
3309
3261
|
var _a, _b, _c;
|
|
3310
3262
|
return openBlock(), createElementBlock("div", null, [
|
|
3311
|
-
createElementVNode("div", _hoisted_1$
|
|
3312
|
-
createElementVNode("div", _hoisted_2$
|
|
3313
|
-
createVNode(unref(_sfc_main$
|
|
3263
|
+
createElementVNode("div", _hoisted_1$7, [
|
|
3264
|
+
createElementVNode("div", _hoisted_2$5, [
|
|
3265
|
+
createVNode(unref(_sfc_main$J), {
|
|
3314
3266
|
modelValue: seatsNumber.value,
|
|
3315
3267
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => seatsNumber.value = $event),
|
|
3316
3268
|
size: "sm",
|
|
@@ -3322,7 +3274,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
3322
3274
|
tabindex: isCollapsible.value ? 0 : void 0,
|
|
3323
3275
|
onClick: _cache[1] || (_cache[1] = ($event) => isCollapsible.value ? isExpanded.value = !isExpanded.value : void 0)
|
|
3324
3276
|
}, [
|
|
3325
|
-
createVNode(unref(_sfc_main$
|
|
3277
|
+
createVNode(unref(_sfc_main$p), {
|
|
3326
3278
|
tag: "span",
|
|
3327
3279
|
variant: "body-sm",
|
|
3328
3280
|
weight: "semibold"
|
|
@@ -3336,7 +3288,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
3336
3288
|
]),
|
|
3337
3289
|
_: 1
|
|
3338
3290
|
}),
|
|
3339
|
-
unref(seats).pricing.amount ? (openBlock(), createBlock(unref(_sfc_main$
|
|
3291
|
+
unref(seats).pricing.amount ? (openBlock(), createBlock(unref(_sfc_main$p), {
|
|
3340
3292
|
key: 0,
|
|
3341
3293
|
tag: "span",
|
|
3342
3294
|
variant: "body-xs",
|
|
@@ -3359,7 +3311,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
3359
3311
|
)), 1)
|
|
3360
3312
|
]),
|
|
3361
3313
|
_: 1
|
|
3362
|
-
})) : unref(seats).pricing.tiered ? (openBlock(), createBlock(unref(_sfc_main$
|
|
3314
|
+
})) : unref(seats).pricing.tiered ? (openBlock(), createBlock(unref(_sfc_main$p), {
|
|
3363
3315
|
key: 1,
|
|
3364
3316
|
tag: "span",
|
|
3365
3317
|
variant: "body-xs",
|
|
@@ -3371,7 +3323,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
3371
3323
|
id: "seats.tiered_pricing_label",
|
|
3372
3324
|
description: "The label indicating tiered pricing structure for seats"
|
|
3373
3325
|
})) + " ", 1),
|
|
3374
|
-
createVNode(unref(_sfc_main$
|
|
3326
|
+
createVNode(unref(_sfc_main$K), {
|
|
3375
3327
|
icon: "keyboard_arrow_down",
|
|
3376
3328
|
size: "xs",
|
|
3377
3329
|
class: normalizeClass(["absolute transition ease-in-out text-gray-400", { "rotate-0": !isExpanded.value, "rotate-180": isExpanded.value }])
|
|
@@ -3379,13 +3331,13 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
3379
3331
|
]),
|
|
3380
3332
|
_: 1
|
|
3381
3333
|
})) : createCommentVNode("", true)
|
|
3382
|
-
], 10, _hoisted_3$
|
|
3334
|
+
], 10, _hoisted_3$2)
|
|
3383
3335
|
]),
|
|
3384
3336
|
((_c = (_b = unref(seats).pricing) == null ? void 0 : _b.tiered) == null ? void 0 : _c.bands) ? (openBlock(), createElementBlock("div", _hoisted_4$2, [
|
|
3385
|
-
createVNode(unref(_sfc_main$
|
|
3337
|
+
createVNode(unref(_sfc_main$u), null, {
|
|
3386
3338
|
default: withCtx(() => [
|
|
3387
3339
|
isExpanded.value ? (openBlock(), createElementBlock("div", _hoisted_5$2, [
|
|
3388
|
-
createVNode(_sfc_main$
|
|
3340
|
+
createVNode(_sfc_main$a, {
|
|
3389
3341
|
bands: unref(seats).pricing.tiered.bands,
|
|
3390
3342
|
period: unref(seats).billing.period
|
|
3391
3343
|
}, null, 8, ["bands", "period"])
|
|
@@ -3398,7 +3350,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
3398
3350
|
};
|
|
3399
3351
|
}
|
|
3400
3352
|
});
|
|
3401
|
-
const _sfc_main$
|
|
3353
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
3402
3354
|
__name: "SeatsEditor",
|
|
3403
3355
|
props: /* @__PURE__ */ mergeModels({
|
|
3404
3356
|
modelValue: { type: Array },
|
|
@@ -3421,11 +3373,11 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
3421
3373
|
});
|
|
3422
3374
|
return (_ctx, _cache) => {
|
|
3423
3375
|
return openBlock(true), createElementBlock(Fragment, null, renderList(__props.modelValue, (item, index) => {
|
|
3424
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3376
|
+
return openBlock(), createBlock(unref(_sfc_main$q), { key: index }, {
|
|
3425
3377
|
default: withCtx(() => {
|
|
3426
3378
|
var _a;
|
|
3427
3379
|
return [
|
|
3428
|
-
item.pricing_item_config_id ? (openBlock(), createBlock(_sfc_main$
|
|
3380
|
+
item.pricing_item_config_id ? (openBlock(), createBlock(_sfc_main$9, {
|
|
3429
3381
|
key: item.pricing_item_config_id,
|
|
3430
3382
|
modelValue: itemModel(index).value,
|
|
3431
3383
|
"onUpdate:modelValue": ($event) => itemModel(index).value = $event,
|
|
@@ -3440,15 +3392,15 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
3440
3392
|
};
|
|
3441
3393
|
}
|
|
3442
3394
|
});
|
|
3443
|
-
const _hoisted_1$
|
|
3444
|
-
const _hoisted_2$
|
|
3445
|
-
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({
|
|
3446
3398
|
__name: "PricingGroupTitle",
|
|
3447
3399
|
setup(__props) {
|
|
3448
3400
|
return (_ctx, _cache) => {
|
|
3449
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3450
|
-
createElementVNode("div", _hoisted_2$
|
|
3451
|
-
createVNode(unref(_sfc_main$
|
|
3401
|
+
return openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
3402
|
+
createElementVNode("div", _hoisted_2$4, [
|
|
3403
|
+
createVNode(unref(_sfc_main$p), {
|
|
3452
3404
|
tag: "span",
|
|
3453
3405
|
variant: "body-sm",
|
|
3454
3406
|
weight: "semibold"
|
|
@@ -3460,7 +3412,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
3460
3412
|
})
|
|
3461
3413
|
]),
|
|
3462
3414
|
createElementVNode("div", null, [
|
|
3463
|
-
createVNode(unref(_sfc_main$
|
|
3415
|
+
createVNode(unref(_sfc_main$p), {
|
|
3464
3416
|
tag: "span",
|
|
3465
3417
|
variant: "body-xs",
|
|
3466
3418
|
shade: "lighter"
|
|
@@ -3475,9 +3427,9 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
3475
3427
|
};
|
|
3476
3428
|
}
|
|
3477
3429
|
});
|
|
3478
|
-
const _hoisted_1$
|
|
3479
|
-
const _hoisted_2$
|
|
3480
|
-
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({
|
|
3481
3433
|
__name: "AddonSingleEditor",
|
|
3482
3434
|
props: /* @__PURE__ */ mergeModels({
|
|
3483
3435
|
constraint: { type: String },
|
|
@@ -3536,10 +3488,10 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3536
3488
|
}
|
|
3537
3489
|
};
|
|
3538
3490
|
return (_ctx, _cache) => {
|
|
3539
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3491
|
+
return openBlock(), createBlock(unref(_sfc_main$q), { "no-spacing": "" }, {
|
|
3540
3492
|
default: withCtx(() => [
|
|
3541
|
-
createElementVNode("div", _hoisted_1$
|
|
3542
|
-
createVNode(_sfc_main$
|
|
3493
|
+
createElementVNode("div", _hoisted_1$5, [
|
|
3494
|
+
createVNode(_sfc_main$7, null, {
|
|
3543
3495
|
title: withCtx(() => [
|
|
3544
3496
|
createTextVNode(toDisplayString(__props.groupName), 1)
|
|
3545
3497
|
]),
|
|
@@ -3548,9 +3500,9 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3548
3500
|
]),
|
|
3549
3501
|
_: 1
|
|
3550
3502
|
}),
|
|
3551
|
-
createElementVNode("div", _hoisted_2$
|
|
3503
|
+
createElementVNode("div", _hoisted_2$3, [
|
|
3552
3504
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.pricings, (pricing) => {
|
|
3553
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3505
|
+
return openBlock(), createBlock(unref(_sfc_main$q), {
|
|
3554
3506
|
key: pricing.id,
|
|
3555
3507
|
"content-background": "none",
|
|
3556
3508
|
class: normalizeClass({ "!bg-white": isSelected(pricing.id) })
|
|
@@ -3558,7 +3510,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3558
3510
|
default: withCtx(() => {
|
|
3559
3511
|
var _a, _b;
|
|
3560
3512
|
return [
|
|
3561
|
-
createVNode(_sfc_main$
|
|
3513
|
+
createVNode(_sfc_main$D, {
|
|
3562
3514
|
name: unref(getNameFromPricing)(pricing) ?? "",
|
|
3563
3515
|
description: ((_a = pricing.items) == null ? void 0 : _a[0]) ? unref(renderPricingForPricingItem)({
|
|
3564
3516
|
pricingItem: (_b = pricing.items) == null ? void 0 : _b[0]
|
|
@@ -3569,7 +3521,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3569
3521
|
})
|
|
3570
3522
|
}, {
|
|
3571
3523
|
default: withCtx(() => [
|
|
3572
|
-
createVNode(unref(_sfc_main$
|
|
3524
|
+
createVNode(unref(_sfc_main$v), {
|
|
3573
3525
|
"model-value": isSelected(pricing.id),
|
|
3574
3526
|
"onUpdate:modelValue": ($event) => handleToggle(pricing.id)
|
|
3575
3527
|
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
@@ -3589,8 +3541,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3589
3541
|
};
|
|
3590
3542
|
}
|
|
3591
3543
|
});
|
|
3592
|
-
const _hoisted_1$
|
|
3593
|
-
const _sfc_main$
|
|
3544
|
+
const _hoisted_1$4 = { class: "grid grid-cols-1 gap-1" };
|
|
3545
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
3594
3546
|
__name: "AddonMultipleEditor",
|
|
3595
3547
|
props: /* @__PURE__ */ mergeModels({
|
|
3596
3548
|
modelValue: { type: Array },
|
|
@@ -3622,7 +3574,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3622
3574
|
}
|
|
3623
3575
|
};
|
|
3624
3576
|
return (_ctx, _cache) => {
|
|
3625
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3577
|
+
return openBlock(), createBlock(unref(_sfc_main$q), {
|
|
3626
3578
|
"no-spacing": "",
|
|
3627
3579
|
"no-border": !__props.groupName,
|
|
3628
3580
|
"content-background": __props.groupName ? "gray" : "none"
|
|
@@ -3631,7 +3583,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3631
3583
|
createElementVNode("div", {
|
|
3632
3584
|
class: normalizeClass(["grid grid-cols-1 gap-1", { "p-1": __props.groupName }])
|
|
3633
3585
|
}, [
|
|
3634
|
-
__props.groupName ? (openBlock(), createBlock(_sfc_main$
|
|
3586
|
+
__props.groupName ? (openBlock(), createBlock(_sfc_main$7, { key: 0 }, {
|
|
3635
3587
|
title: withCtx(() => [
|
|
3636
3588
|
createTextVNode(toDisplayString(__props.groupName), 1)
|
|
3637
3589
|
]),
|
|
@@ -3644,9 +3596,9 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3644
3596
|
]),
|
|
3645
3597
|
_: 1
|
|
3646
3598
|
})) : createCommentVNode("", true),
|
|
3647
|
-
createElementVNode("div", _hoisted_1$
|
|
3599
|
+
createElementVNode("div", _hoisted_1$4, [
|
|
3648
3600
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.pricings, (pricing) => {
|
|
3649
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3601
|
+
return openBlock(), createBlock(unref(_sfc_main$q), {
|
|
3650
3602
|
key: pricing.id,
|
|
3651
3603
|
"content-background": __props.groupName || isSelected(pricing.id) ? "none" : "gray",
|
|
3652
3604
|
class: normalizeClass({ "!bg-white": isSelected(pricing.id) })
|
|
@@ -3654,7 +3606,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3654
3606
|
default: withCtx(() => {
|
|
3655
3607
|
var _a, _b;
|
|
3656
3608
|
return [
|
|
3657
|
-
createVNode(_sfc_main$
|
|
3609
|
+
createVNode(_sfc_main$D, {
|
|
3658
3610
|
name: unref(getNameFromPricing)(pricing) ?? "",
|
|
3659
3611
|
description: ((_a = pricing.items) == null ? void 0 : _a[0]) ? unref(renderPricingForPricingItem)({
|
|
3660
3612
|
pricingItem: (_b = pricing.items) == null ? void 0 : _b[0]
|
|
@@ -3665,7 +3617,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3665
3617
|
})
|
|
3666
3618
|
}, {
|
|
3667
3619
|
default: withCtx(() => [
|
|
3668
|
-
isSelected(pricing.id) ? (openBlock(), createBlock(unref(_sfc_main$
|
|
3620
|
+
isSelected(pricing.id) ? (openBlock(), createBlock(unref(_sfc_main$t), {
|
|
3669
3621
|
key: 0,
|
|
3670
3622
|
color: "gray",
|
|
3671
3623
|
variant: "outline",
|
|
@@ -3673,7 +3625,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3673
3625
|
size: "sm",
|
|
3674
3626
|
"icon-prefix": "remove_shopping_cart",
|
|
3675
3627
|
onClick: ($event) => handleToggle(pricing.id)
|
|
3676
|
-
}, null, 8, ["onClick"])) : (openBlock(), createBlock(unref(_sfc_main$
|
|
3628
|
+
}, null, 8, ["onClick"])) : (openBlock(), createBlock(unref(_sfc_main$t), {
|
|
3677
3629
|
key: 1,
|
|
3678
3630
|
color: "primary",
|
|
3679
3631
|
"icon-prefix": "add",
|
|
@@ -3705,11 +3657,11 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3705
3657
|
};
|
|
3706
3658
|
}
|
|
3707
3659
|
});
|
|
3708
|
-
const _hoisted_1$
|
|
3709
|
-
const _hoisted_2$
|
|
3660
|
+
const _hoisted_1$3 = { class: "p-1" };
|
|
3661
|
+
const _hoisted_2$2 = { class: "pt-1" };
|
|
3710
3662
|
const SHOW_RADIO_GROUP_MAX_OPTIONS = 3;
|
|
3711
3663
|
const SHOW_SELECT_MAX_OPTIONS = 6;
|
|
3712
|
-
const _sfc_main$
|
|
3664
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
3713
3665
|
__name: "PricingGroupSingleEditor",
|
|
3714
3666
|
props: /* @__PURE__ */ mergeModels({
|
|
3715
3667
|
modelValue: { type: Array },
|
|
@@ -3769,31 +3721,31 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3769
3721
|
}));
|
|
3770
3722
|
};
|
|
3771
3723
|
return (_ctx, _cache) => {
|
|
3772
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3724
|
+
return openBlock(), createBlock(unref(_sfc_main$q), { "no-spacing": "" }, {
|
|
3773
3725
|
default: withCtx(() => [
|
|
3774
|
-
createElementVNode("div", _hoisted_1$
|
|
3775
|
-
createVNode(_sfc_main$
|
|
3726
|
+
createElementVNode("div", _hoisted_1$3, [
|
|
3727
|
+
createVNode(_sfc_main$7, null, {
|
|
3776
3728
|
title: withCtx(() => [
|
|
3777
3729
|
createTextVNode(toDisplayString(__props.groupName), 1)
|
|
3778
3730
|
]),
|
|
3779
3731
|
_: 1
|
|
3780
3732
|
}),
|
|
3781
|
-
createElementVNode("div", _hoisted_2$
|
|
3782
|
-
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), {
|
|
3783
3735
|
key: 0,
|
|
3784
3736
|
modelValue: singleModelValue.value,
|
|
3785
3737
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => singleModelValue.value = $event),
|
|
3786
3738
|
options: getRadioGroupOptions(),
|
|
3787
3739
|
direction: unref(isMobileViewport) ? "column" : "row",
|
|
3788
3740
|
"show-radio": false
|
|
3789
|
-
}, 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), {
|
|
3790
3742
|
key: 1,
|
|
3791
3743
|
"single-model-value": singleModelValue.value,
|
|
3792
3744
|
"onUpdate:singleModelValue": _cache[1] || (_cache[1] = ($event) => singleModelValue.value = $event),
|
|
3793
3745
|
options: getSelectOptions(),
|
|
3794
3746
|
size: "xl",
|
|
3795
3747
|
"show-sub-label-in-input": ""
|
|
3796
|
-
}, null, 8, ["single-model-value", "options"])) : (openBlock(), createBlock(unref(_sfc_main$
|
|
3748
|
+
}, null, 8, ["single-model-value", "options"])) : (openBlock(), createBlock(unref(_sfc_main$M), {
|
|
3797
3749
|
key: 2,
|
|
3798
3750
|
modelValue: singleModelValue.value,
|
|
3799
3751
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => singleModelValue.value = $event),
|
|
@@ -3813,8 +3765,8 @@ function getAllPricingsFromPricingPlanVersion(pricingPlanVersion) {
|
|
|
3813
3765
|
const pricings = ((_a = pricingPlanVersion.pricing_categories) == null ? void 0 : _a.flatMap((category) => category.pricings ?? [])) ?? [];
|
|
3814
3766
|
return pricings.filter((pricing) => pricing !== null);
|
|
3815
3767
|
}
|
|
3816
|
-
const _hoisted_1$
|
|
3817
|
-
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({
|
|
3818
3770
|
__name: "PlanCustomizationEditor",
|
|
3819
3771
|
props: /* @__PURE__ */ mergeModels({
|
|
3820
3772
|
subscription: { type: Object },
|
|
@@ -3854,7 +3806,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3854
3806
|
() => getPricingGroupsFromExtendedPricingPlanSubscription(props.subscription)
|
|
3855
3807
|
);
|
|
3856
3808
|
return (_ctx, _cache) => {
|
|
3857
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
3809
|
+
return openBlock(), createBlock(unref(_sfc_main$q), {
|
|
3858
3810
|
class: "sv-plan-customization",
|
|
3859
3811
|
title: unref($t)({
|
|
3860
3812
|
defaultMessage: "Customize plan",
|
|
@@ -3866,8 +3818,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3866
3818
|
"content-background": "none"
|
|
3867
3819
|
}, {
|
|
3868
3820
|
default: withCtx(() => [
|
|
3869
|
-
createElementVNode("div", _hoisted_1$
|
|
3870
|
-
createVNode(_sfc_main$
|
|
3821
|
+
createElementVNode("div", _hoisted_1$2, [
|
|
3822
|
+
createVNode(_sfc_main$8, {
|
|
3871
3823
|
modelValue: seatsModel.value,
|
|
3872
3824
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => seatsModel.value = $event),
|
|
3873
3825
|
class: "sv-plan-customization__seats",
|
|
@@ -3878,7 +3830,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3878
3830
|
return openBlock(), createElementBlock(Fragment, {
|
|
3879
3831
|
key: pricingGroup.id
|
|
3880
3832
|
}, [
|
|
3881
|
-
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, {
|
|
3882
3834
|
key: 0,
|
|
3883
3835
|
modelValue: enabledPricingIdsModel.value,
|
|
3884
3836
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => enabledPricingIdsModel.value = $event),
|
|
@@ -3887,7 +3839,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3887
3839
|
pricings: pricingGroup.pricings,
|
|
3888
3840
|
"billing-period": __props.billingPeriod,
|
|
3889
3841
|
currency: __props.currency
|
|
3890
|
-
}, 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, {
|
|
3891
3843
|
key: 1,
|
|
3892
3844
|
modelValue: enabledPricingIdsModel.value,
|
|
3893
3845
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => enabledPricingIdsModel.value = $event),
|
|
@@ -3897,7 +3849,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3897
3849
|
constraint: pricingGroup.selection_constraint,
|
|
3898
3850
|
"billing-period": __props.billingPeriod,
|
|
3899
3851
|
currency: __props.currency
|
|
3900
|
-
}, 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, {
|
|
3901
3853
|
key: 2,
|
|
3902
3854
|
modelValue: enabledPricingIdsModel.value,
|
|
3903
3855
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => enabledPricingIdsModel.value = $event),
|
|
@@ -3909,7 +3861,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3909
3861
|
}, null, 8, ["modelValue", "pricings", "group-name", "billing-period", "currency"])) : createCommentVNode("", true)
|
|
3910
3862
|
], 64);
|
|
3911
3863
|
}), 128)),
|
|
3912
|
-
createVNode(_sfc_main$
|
|
3864
|
+
createVNode(_sfc_main$5, {
|
|
3913
3865
|
modelValue: enabledPricingIdsModel.value,
|
|
3914
3866
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => enabledPricingIdsModel.value = $event),
|
|
3915
3867
|
class: "sv-plan-customization__group",
|
|
@@ -3924,9 +3876,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3924
3876
|
};
|
|
3925
3877
|
}
|
|
3926
3878
|
});
|
|
3927
|
-
const _hoisted_1$
|
|
3928
|
-
const _hoisted_2$
|
|
3929
|
-
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" };
|
|
3930
3882
|
const _hoisted_4$1 = ["onKeydown"];
|
|
3931
3883
|
const _hoisted_5$1 = ["aria-label"];
|
|
3932
3884
|
const _hoisted_6$1 = { class: "flex w-full cursor-pointer flex-row items-center justify-between gap-3 px-3 py-2" };
|
|
@@ -3935,7 +3887,7 @@ const _hoisted_8 = {
|
|
|
3935
3887
|
class: "sr-only",
|
|
3936
3888
|
"aria-live": "polite"
|
|
3937
3889
|
};
|
|
3938
|
-
const _sfc_main$
|
|
3890
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
3939
3891
|
__name: "PromotionCodeSection",
|
|
3940
3892
|
props: {
|
|
3941
3893
|
promotionCode: { default: null, type: [String, null] }
|
|
@@ -4056,7 +4008,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4056
4008
|
);
|
|
4057
4009
|
return (_ctx, _cache) => {
|
|
4058
4010
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
4059
|
-
!isApplied.value ? (openBlock(), createBlock(unref(_sfc_main$
|
|
4011
|
+
!isApplied.value ? (openBlock(), createBlock(unref(_sfc_main$q), {
|
|
4060
4012
|
key: 0,
|
|
4061
4013
|
"no-spacing": "",
|
|
4062
4014
|
class: "relative w-full"
|
|
@@ -4072,10 +4024,10 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4072
4024
|
"aria-label": toggleAriaLabel.value,
|
|
4073
4025
|
onClick: toggleExpanded
|
|
4074
4026
|
}, [
|
|
4075
|
-
createElementVNode("div", _hoisted_2$
|
|
4076
|
-
createElementVNode("div", _hoisted_3$
|
|
4077
|
-
createVNode(unref(_sfc_main$
|
|
4078
|
-
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), {
|
|
4079
4031
|
id: labelId,
|
|
4080
4032
|
variant: "body-sm"
|
|
4081
4033
|
}, {
|
|
@@ -4089,11 +4041,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4089
4041
|
_: 1
|
|
4090
4042
|
})
|
|
4091
4043
|
]),
|
|
4092
|
-
createVNode(unref(_sfc_main$
|
|
4044
|
+
createVNode(unref(_sfc_main$K), {
|
|
4093
4045
|
icon: isExpanded.value ? "remove" : "add"
|
|
4094
4046
|
}, null, 8, ["icon"])
|
|
4095
4047
|
])
|
|
4096
|
-
], 8, _hoisted_1$
|
|
4048
|
+
], 8, _hoisted_1$1),
|
|
4097
4049
|
withDirectives(createElementVNode("div", {
|
|
4098
4050
|
id: panelId,
|
|
4099
4051
|
ref_key: "panelRef",
|
|
@@ -4103,7 +4055,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4103
4055
|
class: "flex w-full flex-row items-center gap-2 overflow-hidden border-t px-3 py-2",
|
|
4104
4056
|
onKeydown: withKeys(withModifiers(collapseExpanded, ["prevent"]), ["esc"])
|
|
4105
4057
|
}, [
|
|
4106
|
-
createVNode(unref(_sfc_main$
|
|
4058
|
+
createVNode(unref(_sfc_main$r), {
|
|
4107
4059
|
modelValue: inputValue.value,
|
|
4108
4060
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event),
|
|
4109
4061
|
placeholder: unref($t)({
|
|
@@ -4119,7 +4071,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4119
4071
|
class: "w-full",
|
|
4120
4072
|
onKeydown: withKeys(withModifiers(applyCode, ["prevent"]), ["enter"])
|
|
4121
4073
|
}, null, 8, ["modelValue", "placeholder", "aria-label", "onKeydown"]),
|
|
4122
|
-
createVNode(unref(_sfc_main$
|
|
4074
|
+
createVNode(unref(_sfc_main$t), {
|
|
4123
4075
|
type: "button",
|
|
4124
4076
|
disabled: !canApply.value,
|
|
4125
4077
|
"aria-label": applyAriaLabel.value,
|
|
@@ -4140,7 +4092,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4140
4092
|
])
|
|
4141
4093
|
]),
|
|
4142
4094
|
_: 1
|
|
4143
|
-
})) : (openBlock(), createBlock(unref(_sfc_main$
|
|
4095
|
+
})) : (openBlock(), createBlock(unref(_sfc_main$q), {
|
|
4144
4096
|
key: 1,
|
|
4145
4097
|
"no-border": "",
|
|
4146
4098
|
"no-spacing": "",
|
|
@@ -4156,8 +4108,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4156
4108
|
}, [
|
|
4157
4109
|
createElementVNode("div", _hoisted_6$1, [
|
|
4158
4110
|
createElementVNode("div", _hoisted_7, [
|
|
4159
|
-
createVNode(unref(_sfc_main$
|
|
4160
|
-
createVNode(unref(_sfc_main$
|
|
4111
|
+
createVNode(unref(_sfc_main$K), { icon: "local_activity" }),
|
|
4112
|
+
createVNode(unref(_sfc_main$p), {
|
|
4161
4113
|
variant: "body-sm",
|
|
4162
4114
|
class: "font-semibold"
|
|
4163
4115
|
}, {
|
|
@@ -4167,7 +4119,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4167
4119
|
_: 1
|
|
4168
4120
|
})
|
|
4169
4121
|
]),
|
|
4170
|
-
createVNode(unref(_sfc_main$
|
|
4122
|
+
createVNode(unref(_sfc_main$K), { icon: "close" })
|
|
4171
4123
|
])
|
|
4172
4124
|
], 8, _hoisted_5$1)
|
|
4173
4125
|
]),
|
|
@@ -4178,75 +4130,6 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4178
4130
|
};
|
|
4179
4131
|
}
|
|
4180
4132
|
});
|
|
4181
|
-
const _hoisted_1$1 = { class: "flex justify-around" };
|
|
4182
|
-
const _hoisted_2$1 = { class: "flex items-center gap-0.5" };
|
|
4183
|
-
const _hoisted_3$1 = {
|
|
4184
|
-
key: 0,
|
|
4185
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4186
|
-
width: "40",
|
|
4187
|
-
height: "15",
|
|
4188
|
-
fill: "none",
|
|
4189
|
-
viewBox: "0 0 40 15",
|
|
4190
|
-
class: "inline-block translate-y-[1px]"
|
|
4191
|
-
};
|
|
4192
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
4193
|
-
__name: "SecurePaymentsKPI",
|
|
4194
|
-
props: {
|
|
4195
|
-
paymentMethodOptions: { type: Array }
|
|
4196
|
-
},
|
|
4197
|
-
setup(__props) {
|
|
4198
|
-
const props = __props;
|
|
4199
|
-
const { $t } = useIntl();
|
|
4200
|
-
const showAdyen = computed(
|
|
4201
|
-
() => props.paymentMethodOptions.find(
|
|
4202
|
-
({ integration }) => {
|
|
4203
|
-
var _a;
|
|
4204
|
-
return ((_a = integration.payment_gateway) == null ? void 0 : _a.variant) === "ADYEN";
|
|
4205
|
-
}
|
|
4206
|
-
)
|
|
4207
|
-
);
|
|
4208
|
-
const securePaymentsText = computed(() => {
|
|
4209
|
-
if (showAdyen.value) {
|
|
4210
|
-
return $t({
|
|
4211
|
-
defaultMessage: "Secure and encrypted payments by",
|
|
4212
|
-
description: "Secure encrypted payments KPI for a specific vendor, followed by a vendor logo",
|
|
4213
|
-
id: "secure_payments_kpi.specific_vendor"
|
|
4214
|
-
});
|
|
4215
|
-
}
|
|
4216
|
-
return $t({
|
|
4217
|
-
defaultMessage: "Secure and encrypted payments",
|
|
4218
|
-
description: "Secure encrypted payments KPI",
|
|
4219
|
-
id: "secure_payments_kpi.generic"
|
|
4220
|
-
});
|
|
4221
|
-
});
|
|
4222
|
-
return (_ctx, _cache) => {
|
|
4223
|
-
return openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
4224
|
-
createElementVNode("div", _hoisted_2$1, [
|
|
4225
|
-
createVNode(unref(_sfc_main$J), {
|
|
4226
|
-
icon: "lock",
|
|
4227
|
-
size: "xs"
|
|
4228
|
-
}),
|
|
4229
|
-
createVNode(unref(_sfc_main$r), {
|
|
4230
|
-
tag: "span",
|
|
4231
|
-
variant: "body-xs",
|
|
4232
|
-
shade: "lighter"
|
|
4233
|
-
}, {
|
|
4234
|
-
default: withCtx(() => [
|
|
4235
|
-
createTextVNode(toDisplayString(securePaymentsText.value) + " ", 1),
|
|
4236
|
-
showAdyen.value ? (openBlock(), createElementBlock("svg", _hoisted_3$1, [..._cache[0] || (_cache[0] = [
|
|
4237
|
-
createElementVNode("path", {
|
|
4238
|
-
fill: "currentColor",
|
|
4239
|
-
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"
|
|
4240
|
-
}, null, -1)
|
|
4241
|
-
])])) : createCommentVNode("", true)
|
|
4242
|
-
]),
|
|
4243
|
-
_: 1
|
|
4244
|
-
})
|
|
4245
|
-
])
|
|
4246
|
-
]);
|
|
4247
|
-
};
|
|
4248
|
-
}
|
|
4249
|
-
});
|
|
4250
4133
|
const _hoisted_1 = { class: "sv-checkout__header" };
|
|
4251
4134
|
const _hoisted_2 = {
|
|
4252
4135
|
key: 5,
|
|
@@ -4271,7 +4154,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4271
4154
|
setup(__props, { emit: __emit }) {
|
|
4272
4155
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
4273
4156
|
const PaymentIntegrationForm = defineAsyncComponent(
|
|
4274
|
-
() => import("../../PaymentIntegrationForm-
|
|
4157
|
+
() => import("../../PaymentIntegrationForm-DX6kv0_v.mjs")
|
|
4275
4158
|
);
|
|
4276
4159
|
const props = __props;
|
|
4277
4160
|
const emit = __emit;
|
|
@@ -4585,7 +4468,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4585
4468
|
emit("ready");
|
|
4586
4469
|
});
|
|
4587
4470
|
return (_ctx, _cache) => {
|
|
4588
|
-
return criticalError.value ? (openBlock(), createBlock(_sfc_main$
|
|
4471
|
+
return criticalError.value ? (openBlock(), createBlock(_sfc_main$k, {
|
|
4589
4472
|
key: 0,
|
|
4590
4473
|
class: "sv-checkout sv-root sv-screen sv-checkout--error"
|
|
4591
4474
|
})) : (openBlock(), createBlock(unref(ContentWithAsideLayout), {
|
|
@@ -4594,11 +4477,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4594
4477
|
}, {
|
|
4595
4478
|
header: withCtx(() => [
|
|
4596
4479
|
createElementVNode("div", _hoisted_1, [
|
|
4597
|
-
createVNode(_sfc_main$
|
|
4480
|
+
createVNode(_sfc_main$H, { class: "min-h-[52px] w-96" }, {
|
|
4598
4481
|
default: withCtx(() => {
|
|
4599
4482
|
var _a2, _b2, _c2;
|
|
4600
4483
|
return [
|
|
4601
|
-
unref(invoicePreview) && unref(subscription) && subscriptionStartDate.value ? (openBlock(), createBlock(_sfc_main$
|
|
4484
|
+
unref(invoicePreview) && unref(subscription) && subscriptionStartDate.value ? (openBlock(), createBlock(_sfc_main$l, {
|
|
4602
4485
|
key: 0,
|
|
4603
4486
|
class: "sv-checkout__title",
|
|
4604
4487
|
"trial-start-date": trialStartDate.value,
|
|
@@ -4618,7 +4501,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4618
4501
|
content: withCtx(() => {
|
|
4619
4502
|
var _a2, _b2, _c2;
|
|
4620
4503
|
return [
|
|
4621
|
-
unref(subscription) && unref(isMobileViewport) ? (openBlock(), createBlock(_sfc_main$
|
|
4504
|
+
unref(subscription) && unref(isMobileViewport) ? (openBlock(), createBlock(_sfc_main$h, {
|
|
4622
4505
|
key: 0,
|
|
4623
4506
|
class: "sv-checkout__mobile-order-summary",
|
|
4624
4507
|
subscription: unref(subscription),
|
|
@@ -4636,7 +4519,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4636
4519
|
variant: "products-inline",
|
|
4637
4520
|
onBillingPeriodChange: handleBillingPeriodChange
|
|
4638
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),
|
|
4639
|
-
showPlanCustomizationEditor.value && unref(subscription) ? (openBlock(), createBlock(_sfc_main$
|
|
4522
|
+
showPlanCustomizationEditor.value && unref(subscription) ? (openBlock(), createBlock(_sfc_main$3, {
|
|
4640
4523
|
key: 1,
|
|
4641
4524
|
"seats-values": seatsValuesModel.value,
|
|
4642
4525
|
"onUpdate:seatsValues": _cache[0] || (_cache[0] = ($event) => seatsValuesModel.value = $event),
|
|
@@ -4648,7 +4531,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4648
4531
|
"billing-period": unref(subscription).billing_period,
|
|
4649
4532
|
currency: activePricingCurrency.value
|
|
4650
4533
|
}, null, 8, ["seats-values", "enabled-pricing-ids", "subscription", "initial-seats-values", "billing-period", "currency"])) : createCommentVNode("", true),
|
|
4651
|
-
!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, {
|
|
4652
4535
|
key: 2,
|
|
4653
4536
|
class: "sv-checkout__express-payment-methods",
|
|
4654
4537
|
amount: unref(amount),
|
|
@@ -4659,12 +4542,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4659
4542
|
"on-billing-information-change": unref(updateInvoicePreviewOnBillingInformationChange),
|
|
4660
4543
|
onUpdateBillingInformation: handleUpdateBillingInformation
|
|
4661
4544
|
}, null, 8, ["amount", "country-code", "locale", "payment-methods-options-response", "billing-information", "on-billing-information-change"])) : createCommentVNode("", true),
|
|
4662
|
-
unref(isPaid) ? (openBlock(), createBlock(_sfc_main$
|
|
4545
|
+
unref(isPaid) ? (openBlock(), createBlock(_sfc_main$j, {
|
|
4663
4546
|
key: 3,
|
|
4664
4547
|
class: "sv-checkout__completed-payment",
|
|
4665
4548
|
onContinueToMerchant: handleRedirect
|
|
4666
4549
|
})) : createCommentVNode("", true),
|
|
4667
|
-
!unref(isPaid) ? (openBlock(), createBlock(_sfc_main$
|
|
4550
|
+
!unref(isPaid) ? (openBlock(), createBlock(_sfc_main$m, {
|
|
4668
4551
|
key: 4,
|
|
4669
4552
|
modelValue: unref(checkoutForm).form.value,
|
|
4670
4553
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(checkoutForm).form.value = $event),
|
|
@@ -4677,13 +4560,13 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4677
4560
|
"read-only": unref(isPaid)
|
|
4678
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),
|
|
4679
4562
|
!unref(isPaid) ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
4680
|
-
createVNode(_sfc_main$
|
|
4563
|
+
createVNode(_sfc_main$H, {
|
|
4681
4564
|
variant: "section",
|
|
4682
4565
|
class: "min-h-[130px]"
|
|
4683
4566
|
}, {
|
|
4684
4567
|
default: withCtx(() => [
|
|
4685
4568
|
!unref(isPaymentMethodsPending) || unref(isPaymentMethodsPending) && unref(paymentMethodOptions).length > 0 ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
4686
|
-
createVNode(unref(_sfc_main$
|
|
4569
|
+
createVNode(unref(_sfc_main$p), {
|
|
4687
4570
|
variant: "heading-3",
|
|
4688
4571
|
tag: "h2",
|
|
4689
4572
|
class: "sv-checkout__payment-methods-title mb-2"
|
|
@@ -4697,7 +4580,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4697
4580
|
]),
|
|
4698
4581
|
_: 1
|
|
4699
4582
|
}),
|
|
4700
|
-
!unref(checkoutForm).form.value.country ? (openBlock(), createBlock(_sfc_main$
|
|
4583
|
+
!unref(checkoutForm).form.value.country ? (openBlock(), createBlock(_sfc_main$P, {
|
|
4701
4584
|
key: 0,
|
|
4702
4585
|
class: "sv-checkout__payment-methods-empty",
|
|
4703
4586
|
icon: "captive_portal"
|
|
@@ -4717,7 +4600,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4717
4600
|
})), 1)
|
|
4718
4601
|
]),
|
|
4719
4602
|
_: 1
|
|
4720
|
-
})) : unref(paymentMethodOptions).length === 0 ? (openBlock(), createBlock(_sfc_main$
|
|
4603
|
+
})) : unref(paymentMethodOptions).length === 0 ? (openBlock(), createBlock(_sfc_main$P, {
|
|
4721
4604
|
key: 1,
|
|
4722
4605
|
class: "sv-checkout__payment-methods-empty",
|
|
4723
4606
|
icon: "credit_card_off"
|
|
@@ -4761,14 +4644,14 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4761
4644
|
}),
|
|
4762
4645
|
aside: withCtx(() => [
|
|
4763
4646
|
createElementVNode("div", _hoisted_5, [
|
|
4764
|
-
createVNode(_sfc_main$
|
|
4647
|
+
createVNode(_sfc_main$H, {
|
|
4765
4648
|
variant: "section",
|
|
4766
4649
|
class: "min-h-[220px]"
|
|
4767
4650
|
}, {
|
|
4768
4651
|
default: withCtx(() => {
|
|
4769
4652
|
var _a2;
|
|
4770
4653
|
return [
|
|
4771
|
-
unref(subscription) && unref(invoicePreview) ? (openBlock(), createBlock(_sfc_main$
|
|
4654
|
+
unref(subscription) && unref(invoicePreview) ? (openBlock(), createBlock(_sfc_main$h, {
|
|
4772
4655
|
key: 0,
|
|
4773
4656
|
subscription: unref(subscription),
|
|
4774
4657
|
invoice: unref(invoicePreview),
|
|
@@ -4788,7 +4671,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4788
4671
|
_: 1
|
|
4789
4672
|
})
|
|
4790
4673
|
]),
|
|
4791
|
-
!unref(isPaid) ? (openBlock(), createBlock(_sfc_main$
|
|
4674
|
+
!unref(isPaid) ? (openBlock(), createBlock(_sfc_main$2, {
|
|
4792
4675
|
key: 0,
|
|
4793
4676
|
class: "sv-checkout__promotion-code",
|
|
4794
4677
|
"promotion-code": promotionCode.value,
|
|
@@ -4796,18 +4679,18 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4796
4679
|
onRemove: unref(removePromotionCode),
|
|
4797
4680
|
onApply: unref(applyPromotionCode)
|
|
4798
4681
|
}, null, 8, ["promotion-code", "onRemove", "onApply"])) : createCommentVNode("", true),
|
|
4799
|
-
unref(promotionCodeErrorMessage) ? (openBlock(), createBlock(unref(_sfc_main$
|
|
4682
|
+
unref(promotionCodeErrorMessage) ? (openBlock(), createBlock(unref(_sfc_main$N), {
|
|
4800
4683
|
key: 1,
|
|
4801
4684
|
class: "sv-checkout__promotion-error mt-2",
|
|
4802
4685
|
title: unref(promotionCodeErrorMessage)
|
|
4803
4686
|
}, null, 8, ["title"])) : createCommentVNode("", true),
|
|
4804
4687
|
createElementVNode("div", _hoisted_6, [
|
|
4805
|
-
!unref(isPaid) ? (openBlock(), createBlock(_sfc_main$
|
|
4688
|
+
!unref(isPaid) ? (openBlock(), createBlock(_sfc_main$H, {
|
|
4806
4689
|
key: 0,
|
|
4807
4690
|
class: "sv-checkout__submit-skeleton min-h-[44px]"
|
|
4808
4691
|
}, {
|
|
4809
4692
|
default: withCtx(() => [
|
|
4810
|
-
unref(invoicePreview) ? (openBlock(), createBlock(unref(_sfc_main$
|
|
4693
|
+
unref(invoicePreview) ? (openBlock(), createBlock(unref(_sfc_main$t), {
|
|
4811
4694
|
key: 0,
|
|
4812
4695
|
type: "button",
|
|
4813
4696
|
size: "lg",
|
|
@@ -4831,7 +4714,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4831
4714
|
]),
|
|
4832
4715
|
_: 1
|
|
4833
4716
|
})) : createCommentVNode("", true),
|
|
4834
|
-
createVNode(_sfc_main$
|
|
4717
|
+
createVNode(_sfc_main$O, { "payment-method-options": unref(paymentMethodOptions) }, null, 8, ["payment-method-options"])
|
|
4835
4718
|
])
|
|
4836
4719
|
]),
|
|
4837
4720
|
_: 1
|