@stock-in-the-channel/sinch-vue-components 0.0.352 → 0.0.354
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/index.es.js
CHANGED
|
@@ -24961,7 +24961,7 @@ function BE(e, t) {
|
|
|
24961
24961
|
const n = e[t];
|
|
24962
24962
|
return n || (By["en-GB"][t] = t), n ?? null;
|
|
24963
24963
|
}
|
|
24964
|
-
const
|
|
24964
|
+
const pV = (e, t, n, r, a, i, o) => {
|
|
24965
24965
|
const l = qT({
|
|
24966
24966
|
legacy: !1,
|
|
24967
24967
|
locale: n,
|
|
@@ -25136,7 +25136,7 @@ const uV = (e, t, n, r, a, i, o) => {
|
|
|
25136
25136
|
SubCategory: _I,
|
|
25137
25137
|
SKU: wI,
|
|
25138
25138
|
ClearFilter: SI
|
|
25139
|
-
},
|
|
25139
|
+
}, yV = {
|
|
25140
25140
|
enGB: tI,
|
|
25141
25141
|
ptBR: CI
|
|
25142
25142
|
}, kI = /* @__PURE__ */ at({
|
|
@@ -27052,6 +27052,7 @@ let Xr = class jy {
|
|
|
27052
27052
|
}
|
|
27053
27053
|
};
|
|
27054
27054
|
class zd {
|
|
27055
|
+
id;
|
|
27055
27056
|
clientHasPriceAccount;
|
|
27056
27057
|
clientPrice;
|
|
27057
27058
|
clientPriceCulture;
|
|
@@ -27076,7 +27077,7 @@ class zd {
|
|
|
27076
27077
|
}
|
|
27077
27078
|
init(t) {
|
|
27078
27079
|
if (t) {
|
|
27079
|
-
if (this.clientHasPriceAccount = t.clientHasPriceAccount, this.clientPrice = t.clientPrice, this.clientPriceCulture = t.clientPriceCulture, this.datafeedOwnerClientID = t.datafeedOwnerClientID, this.distributorId = t.distributorId, this.distributorLogoImageUrl = t.distributorLogoImageUrl, this.distributorName = t.distributorName, this.isParticipating = t.isParticipating, this.name = t.name, this.priceType = t.priceType, this.rrp = t.rrp, this.sku = t.sku, this.stock = t.stock, this.stockLevelLastUpdate = t.stockLevelLastUpdate ? new Date(t.stockLevelLastUpdate.toString()) : void 0, Array.isArray(t.warehouseStocks)) {
|
|
27080
|
+
if (this.id = t.id, this.clientHasPriceAccount = t.clientHasPriceAccount, this.clientPrice = t.clientPrice, this.clientPriceCulture = t.clientPriceCulture, this.datafeedOwnerClientID = t.datafeedOwnerClientID, this.distributorId = t.distributorId, this.distributorLogoImageUrl = t.distributorLogoImageUrl, this.distributorName = t.distributorName, this.isParticipating = t.isParticipating, this.name = t.name, this.priceType = t.priceType, this.rrp = t.rrp, this.sku = t.sku, this.stock = t.stock, this.stockLevelLastUpdate = t.stockLevelLastUpdate ? new Date(t.stockLevelLastUpdate.toString()) : void 0, Array.isArray(t.warehouseStocks)) {
|
|
27080
27081
|
this.warehouseStocks = [];
|
|
27081
27082
|
for (let n of t.warehouseStocks)
|
|
27082
27083
|
this.warehouseStocks.push(Gd.fromJS(n));
|
|
@@ -27090,7 +27091,7 @@ class zd {
|
|
|
27090
27091
|
return n.init(t), n;
|
|
27091
27092
|
}
|
|
27092
27093
|
toJSON(t) {
|
|
27093
|
-
if (t = typeof t == "object" ? t : {}, t.clientHasPriceAccount = this.clientHasPriceAccount, t.clientPrice = this.clientPrice, t.clientPriceCulture = this.clientPriceCulture, t.datafeedOwnerClientID = this.datafeedOwnerClientID, t.distributorId = this.distributorId, t.distributorLogoImageUrl = this.distributorLogoImageUrl, t.distributorName = this.distributorName, t.isParticipating = this.isParticipating, t.name = this.name, t.priceType = this.priceType, t.sku = this.sku, t.stock = this.stock, t.stockLevelLastUpdate = this.stockLevelLastUpdate ? this.stockLevelLastUpdate.toISOString() : void 0, Array.isArray(this.warehouseStocks)) {
|
|
27094
|
+
if (t = typeof t == "object" ? t : {}, t.id = this.id, t.clientHasPriceAccount = this.clientHasPriceAccount, t.clientPrice = this.clientPrice, t.clientPriceCulture = this.clientPriceCulture, t.datafeedOwnerClientID = this.datafeedOwnerClientID, t.distributorId = this.distributorId, t.distributorLogoImageUrl = this.distributorLogoImageUrl, t.distributorName = this.distributorName, t.isParticipating = this.isParticipating, t.name = this.name, t.priceType = this.priceType, t.sku = this.sku, t.stock = this.stock, t.stockLevelLastUpdate = this.stockLevelLastUpdate ? this.stockLevelLastUpdate.toISOString() : void 0, Array.isArray(this.warehouseStocks)) {
|
|
27094
27095
|
t.warehouseStocks = [];
|
|
27095
27096
|
for (let n of this.warehouseStocks)
|
|
27096
27097
|
t.warehouseStocks.push(n.toJSON());
|
|
@@ -36819,22 +36820,22 @@ const ZN = new r0({
|
|
|
36819
36820
|
}), Nt = new o0({
|
|
36820
36821
|
link: Kr.from([e2, n2, t2]),
|
|
36821
36822
|
cache: ZN
|
|
36822
|
-
}), r2 = { class: "d-flex column" }, a2 = {
|
|
36823
|
+
}), r2 = { class: "block actions-block d-flex column q-mt-sm" }, a2 = {
|
|
36823
36824
|
key: 0,
|
|
36824
36825
|
class: "q-mb-md"
|
|
36825
|
-
}, i2 = { class: "d-flex column q-gutter-sm" },
|
|
36826
|
+
}, i2 = { class: "block-label text-primary" }, o2 = { class: "d-flex column q-gutter-sm" }, l2 = {
|
|
36826
36827
|
key: 1,
|
|
36827
36828
|
class: "q-mb-md"
|
|
36828
|
-
},
|
|
36829
|
+
}, s2 = { class: "block-label text-primary" }, u2 = {
|
|
36829
36830
|
key: 0,
|
|
36830
36831
|
class: "row q-gutter-sm"
|
|
36831
|
-
},
|
|
36832
|
+
}, c2 = {
|
|
36832
36833
|
key: 2,
|
|
36833
36834
|
class: "q-mb-md"
|
|
36834
|
-
},
|
|
36835
|
+
}, d2 = { class: "block-label text-primary" }, f2 = {
|
|
36835
36836
|
key: 0,
|
|
36836
36837
|
class: "row q-gutter-sm"
|
|
36837
|
-
},
|
|
36838
|
+
}, v2 = /* @__PURE__ */ at({
|
|
36838
36839
|
__name: "ProductVariant",
|
|
36839
36840
|
props: {
|
|
36840
36841
|
variants: {
|
|
@@ -36930,8 +36931,8 @@ const ZN = new r0({
|
|
|
36930
36931
|
}
|
|
36931
36932
|
return (p, S) => (B(), Z("div", r2, [
|
|
36932
36933
|
i.value.length > 1 ? (B(), Z("div", a2, [
|
|
36933
|
-
w("div",
|
|
36934
|
-
w("div",
|
|
36934
|
+
w("div", i2, A(p.$t("SKUVariant")), 1),
|
|
36935
|
+
w("div", o2, [
|
|
36935
36936
|
(B(!0), Z(tt, null, wt(i.value, (k) => (B(), Oe(x(De), {
|
|
36936
36937
|
key: k.sku,
|
|
36937
36938
|
label: k.sku,
|
|
@@ -36940,9 +36941,9 @@ const ZN = new r0({
|
|
|
36940
36941
|
}, null, 8, ["label", "color", "onClick"]))), 128))
|
|
36941
36942
|
])
|
|
36942
36943
|
])) : _e("", !0),
|
|
36943
|
-
o.value && o.value.subscriptionPeriods.length > 0 ? (B(), Z("div",
|
|
36944
|
-
w("div",
|
|
36945
|
-
o.value ? (B(), Z("div",
|
|
36944
|
+
o.value && o.value.subscriptionPeriods.length > 0 ? (B(), Z("div", l2, [
|
|
36945
|
+
w("div", s2, A(p.$t("SubscriptionPeriod")), 1),
|
|
36946
|
+
o.value ? (B(), Z("div", u2, [
|
|
36946
36947
|
(B(!0), Z(tt, null, wt(o.value.subscriptionPeriods, (k) => (B(), Oe(x(De), {
|
|
36947
36948
|
key: k.period,
|
|
36948
36949
|
label: k.title,
|
|
@@ -36951,9 +36952,9 @@ const ZN = new r0({
|
|
|
36951
36952
|
}, null, 8, ["label", "color", "onClick"]))), 128))
|
|
36952
36953
|
])) : _e("", !0)
|
|
36953
36954
|
])) : _e("", !0),
|
|
36954
|
-
l.value && l.value.billingPeriods.length > 0 ? (B(), Z("div",
|
|
36955
|
-
w("div",
|
|
36956
|
-
l.value ? (B(), Z("div",
|
|
36955
|
+
l.value && l.value.billingPeriods.length > 0 ? (B(), Z("div", c2, [
|
|
36956
|
+
w("div", d2, A(p.$t("BillingPeriod")), 1),
|
|
36957
|
+
l.value ? (B(), Z("div", f2, [
|
|
36957
36958
|
(B(!0), Z(tt, null, wt(l.value.billingPeriods, (k) => (B(), Oe(x(De), {
|
|
36958
36959
|
key: k.period,
|
|
36959
36960
|
label: k.title,
|
|
@@ -36964,10 +36965,10 @@ const ZN = new r0({
|
|
|
36964
36965
|
])) : _e("", !0)
|
|
36965
36966
|
]));
|
|
36966
36967
|
}
|
|
36967
|
-
}),
|
|
36968
|
-
class: "row items-center no-wrap border q-rounded",
|
|
36968
|
+
}), m2 = { class: "block qty-block" }, h2 = { class: "block-label text-primary" }, g2 = { class: "row items-center" }, p2 = {
|
|
36969
|
+
class: "block-body row items-center no-wrap border q-rounded",
|
|
36969
36970
|
style: { width: "178px" }
|
|
36970
|
-
},
|
|
36971
|
+
}, y2 = { class: "block-helper q-ml-md" }, b2 = /* @__PURE__ */ at({
|
|
36971
36972
|
__name: "QuantitySelector",
|
|
36972
36973
|
props: {
|
|
36973
36974
|
modelValue: {},
|
|
@@ -36982,10 +36983,10 @@ const ZN = new r0({
|
|
|
36982
36983
|
}, o = () => {
|
|
36983
36984
|
a.value < n.stock && a.value++;
|
|
36984
36985
|
};
|
|
36985
|
-
return (l, u) => (B(), Z("div",
|
|
36986
|
-
w("div",
|
|
36987
|
-
w("div",
|
|
36988
|
-
w("div",
|
|
36986
|
+
return (l, u) => (B(), Z("div", m2, [
|
|
36987
|
+
w("div", h2, A(l.$t("Quantity:")), 1),
|
|
36988
|
+
w("div", g2, [
|
|
36989
|
+
w("div", p2, [
|
|
36989
36990
|
D(x(De), {
|
|
36990
36991
|
icon: "remove",
|
|
36991
36992
|
onClick: i,
|
|
@@ -37007,35 +37008,35 @@ const ZN = new r0({
|
|
|
37007
37008
|
class: "q-px-sm"
|
|
37008
37009
|
})
|
|
37009
37010
|
]),
|
|
37010
|
-
w("span",
|
|
37011
|
+
w("span", y2, A(l.stock - a.value) + " " + A(l.$t("Available")), 1)
|
|
37011
37012
|
])
|
|
37012
37013
|
]));
|
|
37013
37014
|
}
|
|
37014
|
-
}),
|
|
37015
|
+
}), _2 = { class: "text-center q-ma-xl spinner-overlay" }, w2 = { class: "pdp-page" }, S2 = { class: "flex no-wrap" }, C2 = { class: "full-width row" }, k2 = { class: "col-md-10 col-xs-12" }, T2 = ["src", "alt"], E2 = ["alt"], x2 = { class: "block-multimedia flex flex-wrap q-mx-sm" }, I2 = ["href"], O2 = {
|
|
37015
37016
|
key: 1,
|
|
37016
37017
|
class: "video-block"
|
|
37017
|
-
},
|
|
37018
|
+
}, P2 = { class: "flex no-wrap justify-between align-start" }, q2 = { class: "left" }, $2 = { class: "product-title text-h5 q-mt-sm q-mb-xs text-primary" }, N2 = { class: "flex no-wrap align-start text-body1" }, D2 = { class: "text-primary" }, R2 = { class: "q-ml-sm" }, A2 = {
|
|
37018
37019
|
key: 0,
|
|
37019
37020
|
class: "flex no-wrap align-start text-body1"
|
|
37020
|
-
},
|
|
37021
|
+
}, L2 = { class: "text-primary" }, M2 = { class: "q-ml-sm" }, F2 = { class: "rating" }, V2 = ["data-ts-id"], B2 = { class: "pdp-actions flex space-between" }, U2 = { class: "left" }, j2 = { class: "short-description" }, z2 = ["innerHTML"], H2 = { key: 0 }, Q2 = { class: "text-primary" }, W2 = { class: "q-ml-sm" }, K2 = { key: 0 }, Y2 = { class: "text-primary" }, J2 = { class: "q-ml-sm" }, G2 = { key: 1 }, X2 = { class: "text-primary" }, Z2 = { class: "q-ml-sm" }, eD = { class: "right" }, tD = {
|
|
37021
37022
|
key: 0,
|
|
37022
37023
|
class: "pdp-pricing q-pa-md"
|
|
37023
|
-
},
|
|
37024
|
+
}, nD = { class: "text-h6" }, rD = {
|
|
37024
37025
|
key: 0,
|
|
37025
37026
|
class: "row"
|
|
37026
|
-
},
|
|
37027
|
+
}, aD = { class: "column flex-1" }, iD = ["src", "alt"], oD = {
|
|
37027
37028
|
key: 1,
|
|
37028
37029
|
class: "q-my-sm"
|
|
37029
|
-
},
|
|
37030
|
+
}, lD = { class: "h5 text-primary" }, sD = {
|
|
37030
37031
|
key: 0,
|
|
37031
37032
|
class: "text-subtitle2 q-my-sm"
|
|
37032
|
-
},
|
|
37033
|
+
}, uD = { class: "text-primary" }, cD = { class: "q-ml-sm" }, dD = { key: 1 }, fD = ["src", "alt"], vD = { class: "price" }, mD = { key: 0 }, hD = { class: "price" }, gD = { key: 0 }, pD = { class: "price" }, yD = { key: 0 }, bD = {
|
|
37033
37034
|
href: "#",
|
|
37034
37035
|
target: "_blank"
|
|
37035
|
-
},
|
|
37036
|
+
}, _D = { key: 1 }, wD = { class: "pdp-tabs q-pa-md" }, SD = { class: "tabs-content" }, CD = { class: "text-h6" }, kD = ["innerHTML"], TD = { class: "text-h6" }, ED = ["innerHTML"], xD = { class: "text-h6" }, ID = ["data-ts-id"], OD = { class: "col-md-2 col-xs-12 sidebar" }, PD = {
|
|
37036
37037
|
key: 0,
|
|
37037
37038
|
class: "subscription-card q-pa-sm"
|
|
37038
|
-
},
|
|
37039
|
+
}, qD = { class: "flex items-center justify-between" }, $D = { class: "text-h5 q-mt-sm q-mb-xs text-primary" }, ND = { key: 0 }, DD = { class: "text-weight-bold" }, RD = { class: "text-weight-bold" }, AD = { class: "text-weight-bold" }, LD = /* @__PURE__ */ at({
|
|
37039
37040
|
__name: "ProductDetails",
|
|
37040
37041
|
props: {
|
|
37041
37042
|
route: {},
|
|
@@ -37141,9 +37142,8 @@ const ZN = new r0({
|
|
|
37141
37142
|
}
|
|
37142
37143
|
}
|
|
37143
37144
|
function I(O) {
|
|
37144
|
-
O && O.distributorProducts && O.distributorProducts.length > 0 && (k.value = O.distributorProducts.filter(($) => $.distributorId && d.enabledDistributorIds.indexOf($.distributorId) > -1).map((
|
|
37145
|
-
id:
|
|
37146
|
-
// Assign a unique id (can use a more meaningful unique field if available)
|
|
37145
|
+
O && O.distributorProducts && O.distributorProducts.length > 0 && (k.value = O.distributorProducts.filter(($) => $.distributorId && d.enabledDistributorIds.indexOf($.distributorId) > -1).map(($) => ({
|
|
37146
|
+
id: $.id,
|
|
37147
37147
|
image: $.distributorLogoImageUrl,
|
|
37148
37148
|
productName: $.name,
|
|
37149
37149
|
price: $.clientPrice ? $.clientPrice : "",
|
|
@@ -37156,11 +37156,12 @@ const ZN = new r0({
|
|
|
37156
37156
|
vendor: O.brandName,
|
|
37157
37157
|
distributorName: $.distributorName,
|
|
37158
37158
|
distributorId: $.distributorId,
|
|
37159
|
-
margin: d.enabledDistributorIds.some((
|
|
37159
|
+
margin: d.enabledDistributorIds.some((N) => N == $.distributorId) && $.rrp && $.rrp > 0 && $.clientPrice && $.clientPrice > 0 ? Math.round(($.rrp - $.clientPrice) * 100 / $.rrp) / 100 : null,
|
|
37160
37160
|
variants: $.variants,
|
|
37161
37161
|
clientPriceCulture: $.clientPriceCulture,
|
|
37162
37162
|
clientPriceCurrency: $.clientPriceCurrency,
|
|
37163
|
-
clientPrice: $.clientPrice
|
|
37163
|
+
clientPrice: $.clientPrice,
|
|
37164
|
+
productId: O.id
|
|
37164
37165
|
})), k.value.length > 0 && (h.value = k.value[0]));
|
|
37165
37166
|
}
|
|
37166
37167
|
function q() {
|
|
@@ -37196,7 +37197,7 @@ const ZN = new r0({
|
|
|
37196
37197
|
}), (O, $) => {
|
|
37197
37198
|
const N = rr("q-tab");
|
|
37198
37199
|
return B(), Z(tt, null, [
|
|
37199
|
-
Se(w("div",
|
|
37200
|
+
Se(w("div", _2, [
|
|
37200
37201
|
D(x(Ji), {
|
|
37201
37202
|
color: "primary",
|
|
37202
37203
|
size: "10em"
|
|
@@ -37204,10 +37205,10 @@ const ZN = new r0({
|
|
|
37204
37205
|
], 512), [
|
|
37205
37206
|
[qe, a.value]
|
|
37206
37207
|
]),
|
|
37207
|
-
w("div",
|
|
37208
|
-
w("div",
|
|
37209
|
-
w("div",
|
|
37210
|
-
w("div",
|
|
37208
|
+
w("div", w2, [
|
|
37209
|
+
w("div", S2, [
|
|
37210
|
+
w("div", C2, [
|
|
37211
|
+
w("div", k2, [
|
|
37211
37212
|
D(x(Ht), { flat: "" }, {
|
|
37212
37213
|
default: U(() => [
|
|
37213
37214
|
D(x(dt), {
|
|
@@ -37224,7 +37225,7 @@ const ZN = new r0({
|
|
|
37224
37225
|
src: r.value?.imageReasonableUrl,
|
|
37225
37226
|
alt: O.$t("Main Product Image"),
|
|
37226
37227
|
class: "product-image"
|
|
37227
|
-
}, null, 8,
|
|
37228
|
+
}, null, 8, T2), [
|
|
37228
37229
|
[qe, r.value?.imageReasonableUrl]
|
|
37229
37230
|
])
|
|
37230
37231
|
], 512), [
|
|
@@ -37235,11 +37236,11 @@ const ZN = new r0({
|
|
|
37235
37236
|
src: "https://media.stockinthechannel.com/placeholder.png",
|
|
37236
37237
|
alt: O.$t("Missing Product Image"),
|
|
37237
37238
|
class: "product-image"
|
|
37238
|
-
}, null, 8,
|
|
37239
|
+
}, null, 8, E2)
|
|
37239
37240
|
], 512), [
|
|
37240
37241
|
[qe, !r.value || !r.value.imageReasonableUrl]
|
|
37241
37242
|
]),
|
|
37242
|
-
Se(w("div",
|
|
37243
|
+
Se(w("div", x2, [
|
|
37243
37244
|
(B(!0), Z(tt, null, wt(r.value?.multimedia, (j) => (B(), Z("div", {
|
|
37244
37245
|
class: "item q-px-sm",
|
|
37245
37246
|
key: j.url
|
|
@@ -37250,8 +37251,8 @@ const ZN = new r0({
|
|
|
37250
37251
|
target: "_blank"
|
|
37251
37252
|
}, $[8] || ($[8] = [
|
|
37252
37253
|
w("span", { class: "material-icons" }, "picture_as_pdf", -1)
|
|
37253
|
-
]), 8,
|
|
37254
|
-
j.contentType == "text/html" ? (B(), Z("div",
|
|
37254
|
+
]), 8, I2)) : _e("", !0),
|
|
37255
|
+
j.contentType == "text/html" ? (B(), Z("div", O2, [
|
|
37255
37256
|
w("a", {
|
|
37256
37257
|
href: "javascript:void(0);",
|
|
37257
37258
|
onClick: $[0] || ($[0] = (Y) => o.value = !0)
|
|
@@ -37306,14 +37307,14 @@ const ZN = new r0({
|
|
|
37306
37307
|
}),
|
|
37307
37308
|
D(x(dt), { class: "q-pt-xs col-xs-12 col-sm-8 col-lg-10" }, {
|
|
37308
37309
|
default: U(() => [
|
|
37309
|
-
w("div",
|
|
37310
|
-
w("div",
|
|
37311
|
-
w("div",
|
|
37310
|
+
w("div", P2, [
|
|
37311
|
+
w("div", q2, [
|
|
37312
|
+
w("div", $2, A(r.value?.title), 1)
|
|
37312
37313
|
])
|
|
37313
37314
|
]),
|
|
37314
|
-
w("div",
|
|
37315
|
-
w("span",
|
|
37316
|
-
w("span",
|
|
37315
|
+
w("div", N2, [
|
|
37316
|
+
w("span", D2, A(O.$t("Brand")) + ":", 1),
|
|
37317
|
+
w("span", R2, [
|
|
37317
37318
|
d.router ? (B(), Oe(Tn, {
|
|
37318
37319
|
key: 0,
|
|
37319
37320
|
router: d.router,
|
|
@@ -37326,9 +37327,9 @@ const ZN = new r0({
|
|
|
37326
37327
|
}, 8, ["router", "to"])) : _e("", !0)
|
|
37327
37328
|
])
|
|
37328
37329
|
]),
|
|
37329
|
-
r.value?.categoryId && r.value?.categoryId !== -1337 ? (B(), Z("div",
|
|
37330
|
-
w("span",
|
|
37331
|
-
w("span",
|
|
37330
|
+
r.value?.categoryId && r.value?.categoryId !== -1337 ? (B(), Z("div", A2, [
|
|
37331
|
+
w("span", L2, A(O.$t("Category")) + ":", 1),
|
|
37332
|
+
w("span", M2, [
|
|
37332
37333
|
r.value?.categoryId && r.value?.categoryId > 0 && d.router ? (B(), Oe(Tn, {
|
|
37333
37334
|
key: 0,
|
|
37334
37335
|
router: d.router,
|
|
@@ -37343,64 +37344,70 @@ const ZN = new r0({
|
|
|
37343
37344
|
], 64))
|
|
37344
37345
|
])
|
|
37345
37346
|
])) : _e("", !0),
|
|
37346
|
-
w("div",
|
|
37347
|
+
w("div", F2, [
|
|
37347
37348
|
w("div", {
|
|
37348
37349
|
class: "ts_stars_template",
|
|
37349
37350
|
"data-ts-id": r.value?.testseekProductID
|
|
37350
|
-
}, null, 8,
|
|
37351
|
-
]),
|
|
37352
|
-
w("div", A2, [
|
|
37353
|
-
w("div", {
|
|
37354
|
-
innerHTML: r.value?.shortDescription
|
|
37355
|
-
}, null, 8, L2)
|
|
37351
|
+
}, null, 8, V2)
|
|
37356
37352
|
]),
|
|
37357
|
-
|
|
37358
|
-
w("div",
|
|
37359
|
-
w("
|
|
37360
|
-
|
|
37353
|
+
w("div", B2, [
|
|
37354
|
+
w("div", U2, [
|
|
37355
|
+
w("div", j2, [
|
|
37356
|
+
w("div", {
|
|
37357
|
+
innerHTML: r.value?.shortDescription
|
|
37358
|
+
}, null, 8, z2)
|
|
37359
|
+
]),
|
|
37360
|
+
l.value ? (B(), Z("div", H2, [
|
|
37361
|
+
w("div", null, [
|
|
37362
|
+
w("span", Q2, A(O.$t("SKU")) + ":", 1),
|
|
37363
|
+
w("span", W2, A(l.value.sku), 1)
|
|
37364
|
+
]),
|
|
37365
|
+
l.value.price ? (B(), Z("div", K2, [
|
|
37366
|
+
w("span", Y2, A(O.$t("Price")) + ":", 1),
|
|
37367
|
+
w("span", J2, A(O.$formatCurrency(
|
|
37368
|
+
l.value.price,
|
|
37369
|
+
h.value?.clientPriceCurrency
|
|
37370
|
+
)), 1)
|
|
37371
|
+
])) : _e("", !0),
|
|
37372
|
+
l.value.rrp ? (B(), Z("div", G2, [
|
|
37373
|
+
w("span", X2, A(O.$t("MSRP")) + ":", 1),
|
|
37374
|
+
w("span", Z2, A(O.$formatCurrency(
|
|
37375
|
+
l.value.rrp,
|
|
37376
|
+
h.value?.clientPriceCurrency
|
|
37377
|
+
)), 1)
|
|
37378
|
+
])) : _e("", !0)
|
|
37379
|
+
])) : _e("", !0),
|
|
37380
|
+
D(v2, {
|
|
37381
|
+
variants: h.value?.variants,
|
|
37382
|
+
onSelected: M
|
|
37383
|
+
}, null, 8, ["variants"])
|
|
37361
37384
|
]),
|
|
37362
|
-
|
|
37363
|
-
|
|
37364
|
-
|
|
37365
|
-
|
|
37366
|
-
|
|
37367
|
-
|
|
37368
|
-
|
|
37369
|
-
|
|
37370
|
-
|
|
37371
|
-
|
|
37372
|
-
|
|
37373
|
-
h.value
|
|
37374
|
-
|
|
37375
|
-
|
|
37376
|
-
|
|
37377
|
-
|
|
37378
|
-
|
|
37379
|
-
onSelected: M
|
|
37380
|
-
}, null, 8, ["variants"]),
|
|
37381
|
-
D(m2, {
|
|
37382
|
-
stock: h.value?.stock ?? 0,
|
|
37383
|
-
modelValue: u.value,
|
|
37384
|
-
"onUpdate:modelValue": $[3] || ($[3] = (j) => u.value = j)
|
|
37385
|
-
}, null, 8, ["stock", "modelValue"]),
|
|
37386
|
-
h.value ? (B(), Oe(x(De), {
|
|
37387
|
-
key: 2,
|
|
37388
|
-
class: "q-mt-md",
|
|
37389
|
-
color: "primary",
|
|
37390
|
-
label: O.$t("AddToBasket"),
|
|
37391
|
-
onClick: $[4] || ($[4] = (j) => C(h.value, u.value, j)),
|
|
37392
|
-
loading: O.addProductToBasketLoading,
|
|
37393
|
-
"no-wrap": ""
|
|
37394
|
-
}, null, 8, ["label", "loading"])) : _e("", !0)
|
|
37385
|
+
w("div", eD, [
|
|
37386
|
+
D(b2, {
|
|
37387
|
+
stock: h.value?.stock ?? 0,
|
|
37388
|
+
modelValue: u.value,
|
|
37389
|
+
"onUpdate:modelValue": $[3] || ($[3] = (j) => u.value = j)
|
|
37390
|
+
}, null, 8, ["stock", "modelValue"]),
|
|
37391
|
+
h.value ? (B(), Oe(x(De), {
|
|
37392
|
+
key: 0,
|
|
37393
|
+
class: "q-mt-md",
|
|
37394
|
+
color: "primary",
|
|
37395
|
+
label: O.$t("AddToBasket"),
|
|
37396
|
+
onClick: $[4] || ($[4] = (j) => C(h.value, u.value, j)),
|
|
37397
|
+
loading: O.addProductToBasketLoading,
|
|
37398
|
+
"no-wrap": ""
|
|
37399
|
+
}, null, 8, ["label", "loading"])) : _e("", !0)
|
|
37400
|
+
])
|
|
37401
|
+
])
|
|
37395
37402
|
]),
|
|
37396
37403
|
_: 1
|
|
37397
37404
|
})
|
|
37398
37405
|
]),
|
|
37399
37406
|
_: 1
|
|
37400
37407
|
}),
|
|
37401
|
-
d.hideDistributorsSection == !1 ? (B(), Z("div",
|
|
37402
|
-
w("h6",
|
|
37403
|
-
d.viewAsTiles ? (B(), Z("div",
|
|
37408
|
+
d.hideDistributorsSection == !1 ? (B(), Z("div", tD, [
|
|
37409
|
+
w("h6", nD, A(O.$t("AutomateBilling")), 1),
|
|
37410
|
+
d.viewAsTiles ? (B(), Z("div", rD, [
|
|
37404
37411
|
(B(!0), Z(tt, null, wt(k.value, (j) => (B(), Z("div", {
|
|
37405
37412
|
key: j.id,
|
|
37406
37413
|
class: "q-mb-md q-px-sm col-xs-12 col-sm-12 col-md-6"
|
|
@@ -37413,14 +37420,14 @@ const ZN = new r0({
|
|
|
37413
37420
|
default: U(() => [
|
|
37414
37421
|
D(x(dt), { class: "full-height column no-wrap justify-center" }, {
|
|
37415
37422
|
default: U(() => [
|
|
37416
|
-
w("div",
|
|
37423
|
+
w("div", aD, [
|
|
37417
37424
|
j.image ? (B(), Z("img", {
|
|
37418
37425
|
key: 0,
|
|
37419
37426
|
src: j.image,
|
|
37420
37427
|
alt: j.distributorName,
|
|
37421
37428
|
class: "brand-image"
|
|
37422
|
-
}, null, 8,
|
|
37423
|
-
w("span",
|
|
37429
|
+
}, null, 8, iD)) : (B(), Z("div", oD, [
|
|
37430
|
+
w("span", lD, A(j.distributorName), 1)
|
|
37424
37431
|
]))
|
|
37425
37432
|
]),
|
|
37426
37433
|
w("div", null, [
|
|
@@ -37434,9 +37441,9 @@ const ZN = new r0({
|
|
|
37434
37441
|
]),
|
|
37435
37442
|
_: 1
|
|
37436
37443
|
})) : j.distributorId ? (B(), Z(tt, { key: 1 }, [
|
|
37437
|
-
v("price") && j.price ? (B(), Z("div",
|
|
37438
|
-
w("span",
|
|
37439
|
-
w("span",
|
|
37444
|
+
v("price") && j.price ? (B(), Z("div", sD, [
|
|
37445
|
+
w("span", uD, A(O.$t("Price")) + ":", 1),
|
|
37446
|
+
w("span", cD, A(O.$formatCurrency(
|
|
37440
37447
|
j.price,
|
|
37441
37448
|
j.clientPriceCurrency
|
|
37442
37449
|
)), 1)
|
|
@@ -37459,7 +37466,7 @@ const ZN = new r0({
|
|
|
37459
37466
|
_: 2
|
|
37460
37467
|
}, 1032, ["bordered", "onClick"])
|
|
37461
37468
|
]))), 128))
|
|
37462
|
-
])) : (B(), Z("div",
|
|
37469
|
+
])) : (B(), Z("div", dD, [
|
|
37463
37470
|
D(x(jn), {
|
|
37464
37471
|
class: "q-mt-md products-pricing",
|
|
37465
37472
|
flat: "",
|
|
@@ -37481,7 +37488,7 @@ const ZN = new r0({
|
|
|
37481
37488
|
Se(w("img", {
|
|
37482
37489
|
src: j.row.image,
|
|
37483
37490
|
alt: j.row.distributorName
|
|
37484
|
-
}, null, 8,
|
|
37491
|
+
}, null, 8, fD), [
|
|
37485
37492
|
[qe, j.row.image]
|
|
37486
37493
|
]),
|
|
37487
37494
|
Se(w("span", { class: "text-primary" }, A(j.row.distributorName), 513), [
|
|
@@ -37498,8 +37505,8 @@ const ZN = new r0({
|
|
|
37498
37505
|
}, 1024)) : _e("", !0),
|
|
37499
37506
|
v("rrp") ? (B(), Oe(x(Ae), { key: "rrp" }, {
|
|
37500
37507
|
default: U(() => [
|
|
37501
|
-
w("span",
|
|
37502
|
-
j.row.rrp ? (B(), Z("span",
|
|
37508
|
+
w("span", vD, [
|
|
37509
|
+
j.row.rrp ? (B(), Z("span", mD, A(O.$formatCurrency(
|
|
37503
37510
|
j.row.rrp,
|
|
37504
37511
|
j.row.clientPriceCurrency
|
|
37505
37512
|
)), 1)) : _e("", !0)
|
|
@@ -37510,8 +37517,8 @@ const ZN = new r0({
|
|
|
37510
37517
|
d.enabledDistributorIds.indexOf(j.row.distributorId) > -1 ? (B(), Z(tt, { key: 3 }, [
|
|
37511
37518
|
v("price") ? (B(), Oe(x(Ae), { key: "price" }, {
|
|
37512
37519
|
default: U(() => [
|
|
37513
|
-
w("span",
|
|
37514
|
-
j.row.price ? (B(), Z("span",
|
|
37520
|
+
w("span", hD, [
|
|
37521
|
+
j.row.price ? (B(), Z("span", gD, A(O.$formatCurrency(
|
|
37515
37522
|
j.row.price,
|
|
37516
37523
|
j.row.clientPriceCurrency
|
|
37517
37524
|
)), 1)) : _e("", !0)
|
|
@@ -37521,8 +37528,8 @@ const ZN = new r0({
|
|
|
37521
37528
|
}, 1024)) : _e("", !0),
|
|
37522
37529
|
v("margin") ? (B(), Oe(x(Ae), { key: "margin" }, {
|
|
37523
37530
|
default: U(() => [
|
|
37524
|
-
w("span",
|
|
37525
|
-
j.row.margin != null ? (B(), Z("span",
|
|
37531
|
+
w("span", pD, [
|
|
37532
|
+
j.row.margin != null ? (B(), Z("span", yD, A(j.row.margin) + "%", 1)) : _e("", !0)
|
|
37526
37533
|
])
|
|
37527
37534
|
]),
|
|
37528
37535
|
_: 2
|
|
@@ -37530,7 +37537,7 @@ const ZN = new r0({
|
|
|
37530
37537
|
], 64)) : (B(), Z(tt, { key: 4 }, [
|
|
37531
37538
|
v("price") ? (B(), Oe(x(Ae), { key: "price" }, {
|
|
37532
37539
|
default: U(() => [
|
|
37533
|
-
w("a",
|
|
37540
|
+
w("a", bD, A(O.$t("SetupDistributorToSeePrice")), 1)
|
|
37534
37541
|
]),
|
|
37535
37542
|
_: 1
|
|
37536
37543
|
})) : _e("", !0),
|
|
@@ -37543,7 +37550,7 @@ const ZN = new r0({
|
|
|
37543
37550
|
_: 1
|
|
37544
37551
|
}, 8, ["rows", "columns", "rows-per-page-options"])
|
|
37545
37552
|
]))
|
|
37546
|
-
])) : (B(), Z("div",
|
|
37553
|
+
])) : (B(), Z("div", _D, [
|
|
37547
37554
|
d.siteCloud ? (B(), Oe(x(De), {
|
|
37548
37555
|
key: 0,
|
|
37549
37556
|
color: "primary",
|
|
@@ -37555,8 +37562,8 @@ const ZN = new r0({
|
|
|
37555
37562
|
_: 1
|
|
37556
37563
|
})) : _e("", !0)
|
|
37557
37564
|
])),
|
|
37558
|
-
w("div",
|
|
37559
|
-
w("div",
|
|
37565
|
+
w("div", wD, [
|
|
37566
|
+
w("div", SD, [
|
|
37560
37567
|
D(x(Ht), null, {
|
|
37561
37568
|
default: U(() => [
|
|
37562
37569
|
D(x(Ai), {
|
|
@@ -37598,21 +37605,21 @@ const ZN = new r0({
|
|
|
37598
37605
|
default: U(() => [
|
|
37599
37606
|
D(x(Rn), { name: "info" }, {
|
|
37600
37607
|
default: U(() => [
|
|
37601
|
-
w("div",
|
|
37608
|
+
w("div", CD, A(O.$t("Overview")), 1),
|
|
37602
37609
|
w("div", null, [
|
|
37603
37610
|
w("div", {
|
|
37604
37611
|
innerHTML: r.value?.longDescription
|
|
37605
|
-
}, null, 8,
|
|
37612
|
+
}, null, 8, kD)
|
|
37606
37613
|
])
|
|
37607
37614
|
]),
|
|
37608
37615
|
_: 1
|
|
37609
37616
|
}),
|
|
37610
37617
|
D(x(Rn), { name: "features" }, {
|
|
37611
37618
|
default: U(() => [
|
|
37612
|
-
w("div",
|
|
37619
|
+
w("div", TD, A(O.$t("Features")), 1),
|
|
37613
37620
|
w("div", {
|
|
37614
37621
|
innerHTML: r.value?.specifications
|
|
37615
|
-
}, null, 8,
|
|
37622
|
+
}, null, 8, ED)
|
|
37616
37623
|
]),
|
|
37617
37624
|
_: 1
|
|
37618
37625
|
}),
|
|
@@ -37622,11 +37629,11 @@ const ZN = new r0({
|
|
|
37622
37629
|
class: "pdp-reviews"
|
|
37623
37630
|
}, {
|
|
37624
37631
|
default: U(() => [
|
|
37625
|
-
w("div",
|
|
37632
|
+
w("div", xD, A(O.$t("Reviews")), 1),
|
|
37626
37633
|
w("div", {
|
|
37627
37634
|
class: "ts_main_template",
|
|
37628
37635
|
"data-ts-id": r.value?.testseekProductID
|
|
37629
|
-
}, null, 8,
|
|
37636
|
+
}, null, 8, ID)
|
|
37630
37637
|
]),
|
|
37631
37638
|
_: 1
|
|
37632
37639
|
})) : _e("", !0)
|
|
@@ -37645,15 +37652,15 @@ const ZN = new r0({
|
|
|
37645
37652
|
_: 1
|
|
37646
37653
|
})
|
|
37647
37654
|
]),
|
|
37648
|
-
w("div",
|
|
37649
|
-
i.value ? (B(), Z("div",
|
|
37655
|
+
w("div", OD, [
|
|
37656
|
+
i.value ? (B(), Z("div", PD, [
|
|
37650
37657
|
D(x(Ht), null, {
|
|
37651
37658
|
default: U(() => [
|
|
37652
37659
|
D(x(dt), null, {
|
|
37653
37660
|
default: U(() => [
|
|
37654
|
-
w("div",
|
|
37655
|
-
w("div",
|
|
37656
|
-
i.value?.providerSubscriptionId ? (B(), Z("div",
|
|
37661
|
+
w("div", qD, [
|
|
37662
|
+
w("div", $D, A(O.$t("Subscription")), 1),
|
|
37663
|
+
i.value?.providerSubscriptionId ? (B(), Z("div", ND, [
|
|
37657
37664
|
d.router ? (B(), Oe(Tn, {
|
|
37658
37665
|
key: 0,
|
|
37659
37666
|
router: d.router,
|
|
@@ -37668,15 +37675,15 @@ const ZN = new r0({
|
|
|
37668
37675
|
])) : _e("", !0)
|
|
37669
37676
|
]),
|
|
37670
37677
|
w("div", null, [
|
|
37671
|
-
w("span",
|
|
37678
|
+
w("span", DD, A(O.$t("Customer Name") + ": "), 1),
|
|
37672
37679
|
w("span", null, A(i.value?.customerName), 1)
|
|
37673
37680
|
]),
|
|
37674
37681
|
w("div", null, [
|
|
37675
|
-
w("span",
|
|
37682
|
+
w("span", RD, A(O.$t("Subscription Name") + ": "), 1),
|
|
37676
37683
|
w("span", null, A(i.value?.subscriptionName), 1)
|
|
37677
37684
|
]),
|
|
37678
37685
|
w("div", null, [
|
|
37679
|
-
w("span",
|
|
37686
|
+
w("span", AD, A(O.$t("Subscription Status") + ": "), 1),
|
|
37680
37687
|
w("span", null, A(i.value?.status), 1)
|
|
37681
37688
|
])
|
|
37682
37689
|
]),
|
|
@@ -37695,7 +37702,7 @@ const ZN = new r0({
|
|
|
37695
37702
|
}
|
|
37696
37703
|
});
|
|
37697
37704
|
var un = /* @__PURE__ */ ((e) => (e.ResellerInfo = "ResellerInfo", e.CustomerInfo = "CustomerInfo", e))(un || {});
|
|
37698
|
-
function
|
|
37705
|
+
function MD(e) {
|
|
37699
37706
|
e.config.globalProperties.$formatCurrency = function(t, n) {
|
|
37700
37707
|
return t == null ? "" : n ? new Intl.NumberFormat("en-UK", {
|
|
37701
37708
|
style: "currency",
|
|
@@ -37731,10 +37738,10 @@ function PD(e) {
|
|
|
37731
37738
|
r.push(n);
|
|
37732
37739
|
};
|
|
37733
37740
|
}
|
|
37734
|
-
const
|
|
37741
|
+
const wV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
37735
37742
|
__proto__: null,
|
|
37736
|
-
install:
|
|
37737
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
37743
|
+
install: MD
|
|
37744
|
+
}, Symbol.toStringTag, { value: "Module" })), FD = { class: "text-h6 secondary" }, c0 = /* @__PURE__ */ at({
|
|
37738
37745
|
__name: "CustomerOrdersFromProvider",
|
|
37739
37746
|
props: {
|
|
37740
37747
|
sinchAccountId: {},
|
|
@@ -37820,7 +37827,7 @@ const vV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
37820
37827
|
return it(async () => {
|
|
37821
37828
|
s.sinchAccountId && p(o.value.page, o.value.rowsPerPage, s.sinchAccountId, s.externalSystemType, s.providerSubscriptionId);
|
|
37822
37829
|
}), (S, k) => (B(), Z(tt, null, [
|
|
37823
|
-
w("div",
|
|
37830
|
+
w("div", FD, A(s.tableTitle), 1),
|
|
37824
37831
|
Se(D(x(jn), {
|
|
37825
37832
|
flat: "",
|
|
37826
37833
|
"wrap-cells": "",
|
|
@@ -37849,7 +37856,7 @@ const vV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
37849
37856
|
])
|
|
37850
37857
|
], 64));
|
|
37851
37858
|
}
|
|
37852
|
-
}),
|
|
37859
|
+
}), VD = { class: "text-body q-mr-md" }, BD = { class: "text-body q-mr-md" }, UD = { class: "text-body q-mr-md" }, jD = { class: "text-body q-mr-md" }, zD = { class: "row" }, HD = { class: "col-2" }, QD = { class: "text-body q-mr-md" }, WD = { class: "row" }, KD = { class: "col-2" }, YD = { class: "text-body q-mr-md" }, JD = { class: "full-width addons" }, GD = /* @__PURE__ */ at({
|
|
37853
37860
|
__name: "OrderItemsTable",
|
|
37854
37861
|
props: {
|
|
37855
37862
|
order: {},
|
|
@@ -37936,13 +37943,13 @@ const vV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
37936
37943
|
default: U(() => [
|
|
37937
37944
|
D(x(Ae), { key: "rowNumber" }, {
|
|
37938
37945
|
default: U(() => [
|
|
37939
|
-
w("span",
|
|
37946
|
+
w("span", VD, A(f.row.product.rowNumber), 1)
|
|
37940
37947
|
]),
|
|
37941
37948
|
_: 2
|
|
37942
37949
|
}, 1024),
|
|
37943
37950
|
D(x(Ae), { key: "name" }, {
|
|
37944
37951
|
default: U(() => [
|
|
37945
|
-
w("span",
|
|
37952
|
+
w("span", BD, A(f.row.product.name), 1)
|
|
37946
37953
|
]),
|
|
37947
37954
|
_: 2
|
|
37948
37955
|
}, 1024),
|
|
@@ -37954,21 +37961,21 @@ const vV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
37954
37961
|
}, 1024),
|
|
37955
37962
|
D(x(Ae), { key: "cost" }, {
|
|
37956
37963
|
default: U(() => [
|
|
37957
|
-
w("span",
|
|
37964
|
+
w("span", UD, A(s.$formatCurrency(f.row.product.price, n.order?.currency)), 1)
|
|
37958
37965
|
]),
|
|
37959
37966
|
_: 2
|
|
37960
37967
|
}, 1024),
|
|
37961
37968
|
D(x(Ae), { key: "price" }, {
|
|
37962
37969
|
default: U(() => [
|
|
37963
|
-
w("span",
|
|
37970
|
+
w("span", jD, A(f.row.product.msrp ? s.$formatCurrency(f.row.product.msrp, n.order?.currency) : s.$t("n/a")), 1)
|
|
37964
37971
|
]),
|
|
37965
37972
|
_: 2
|
|
37966
37973
|
}, 1024),
|
|
37967
37974
|
D(x(Ae), { key: "totalCost" }, {
|
|
37968
37975
|
default: U(() => [
|
|
37969
|
-
w("div",
|
|
37970
|
-
w("div",
|
|
37971
|
-
w("span",
|
|
37976
|
+
w("div", zD, [
|
|
37977
|
+
w("div", HD, [
|
|
37978
|
+
w("span", QD, A(f.row.product.totalCost ? s.$formatCurrency(f.row.product.totalCost, n.order?.currency) : s.$t("n/a")), 1)
|
|
37972
37979
|
])
|
|
37973
37980
|
])
|
|
37974
37981
|
]),
|
|
@@ -37976,9 +37983,9 @@ const vV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
37976
37983
|
}, 1024),
|
|
37977
37984
|
D(x(Ae), { key: "totalPrice" }, {
|
|
37978
37985
|
default: U(() => [
|
|
37979
|
-
w("div",
|
|
37980
|
-
w("div",
|
|
37981
|
-
w("span",
|
|
37986
|
+
w("div", WD, [
|
|
37987
|
+
w("div", KD, [
|
|
37988
|
+
w("span", YD, A(f.row.product.totalPrice ? s.$formatCurrency(f.row.product.totalPrice, n.order?.currency) : s.$t("n/a")), 1)
|
|
37982
37989
|
])
|
|
37983
37990
|
])
|
|
37984
37991
|
]),
|
|
@@ -38025,7 +38032,7 @@ const vV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
38025
38032
|
default: U(() => [
|
|
38026
38033
|
D(x(Ae), { colspan: "13" }, {
|
|
38027
38034
|
default: U(() => [
|
|
38028
|
-
w("table",
|
|
38035
|
+
w("table", JD, [
|
|
38029
38036
|
w("thead", null, [
|
|
38030
38037
|
(B(), Z(tt, null, wt(o, (v) => w("th", {
|
|
38031
38038
|
key: v.name
|
|
@@ -38066,7 +38073,7 @@ const vV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
38066
38073
|
_: 1
|
|
38067
38074
|
}, 8, ["rows", "rows-per-page-options", "loading"]));
|
|
38068
38075
|
}
|
|
38069
|
-
}),
|
|
38076
|
+
}), XD = { class: "text-h5 q-ma-md" }, ZD = { class: "text-h6 primary-color" }, eR = { class: "text-h6 primary-color" }, tR = { class: "specs q-mb-md" }, nR = { key: 0 }, rR = { class: "text-h6" }, aR = /* @__PURE__ */ at({
|
|
38070
38077
|
__name: "OrderDetails",
|
|
38071
38078
|
props: {
|
|
38072
38079
|
rowsPerPageOptions: {},
|
|
@@ -38138,7 +38145,7 @@ const vV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
38138
38145
|
n.value = !1;
|
|
38139
38146
|
}
|
|
38140
38147
|
}), (u, c) => (B(), Z(tt, null, [
|
|
38141
|
-
w("div",
|
|
38148
|
+
w("div", XD, A(u.$t("Order details")), 1),
|
|
38142
38149
|
D(x(Ht), { class: "q-ma-md subscripton-details" }, {
|
|
38143
38150
|
default: U(() => [
|
|
38144
38151
|
D(x(dt), null, {
|
|
@@ -38151,11 +38158,11 @@ const vV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
38151
38158
|
]),
|
|
38152
38159
|
Se(w("div", null, [
|
|
38153
38160
|
w("div", null, [
|
|
38154
|
-
w("div",
|
|
38155
|
-
w("div",
|
|
38161
|
+
w("div", ZD, A(`${u.$t("Order Id")}: ${t.route.params.cspOrderId}`), 1),
|
|
38162
|
+
w("div", eR, A(`${u.$t("Customer")}: ${r.value?.customerCompanyName}
|
|
38156
38163
|
[${r.value?.providerCustomerId}]`), 1)
|
|
38157
38164
|
]),
|
|
38158
|
-
w("table",
|
|
38165
|
+
w("table", tR, [
|
|
38159
38166
|
w("tr", null, [
|
|
38160
38167
|
w("td", null, A(u.$t("Total price")), 1),
|
|
38161
38168
|
w("td", null, A(u.$formatCurrency(r.value?.totalPrice, r.value?.currency)), 1)
|
|
@@ -38164,7 +38171,7 @@ const vV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
38164
38171
|
w("td", null, A(u.$t("Status")), 1),
|
|
38165
38172
|
w("td", null, A(r.value && u.$t(r.value.status)), 1)
|
|
38166
38173
|
]),
|
|
38167
|
-
t.exibitionMode == x(un).ResellerInfo ? (B(), Z("tr",
|
|
38174
|
+
t.exibitionMode == x(un).ResellerInfo ? (B(), Z("tr", nR, [
|
|
38168
38175
|
w("td", null, A(u.$t("Provider")), 1),
|
|
38169
38176
|
w("td", null, A(r.value?.providerName), 1)
|
|
38170
38177
|
])) : _e("", !0),
|
|
@@ -38176,8 +38183,8 @@ const vV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
38176
38183
|
], 512), [
|
|
38177
38184
|
[qe, !n.value && r.value]
|
|
38178
38185
|
]),
|
|
38179
|
-
w("span",
|
|
38180
|
-
D(
|
|
38186
|
+
w("span", rR, A(u.$t("Order items")), 1),
|
|
38187
|
+
D(GD, {
|
|
38181
38188
|
ref_key: "orderItemsTableVue",
|
|
38182
38189
|
ref: o,
|
|
38183
38190
|
order: r.value,
|
|
@@ -38198,7 +38205,7 @@ const vV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
38198
38205
|
})
|
|
38199
38206
|
], 64));
|
|
38200
38207
|
}
|
|
38201
|
-
}),
|
|
38208
|
+
}), iR = { class: "text-h6 primary-color" }, oR = { class: "row" }, lR = { class: "specs" }, sR = { key: 0 }, uR = /* @__PURE__ */ at({
|
|
38202
38209
|
__name: "OrderDetailsFromProvider",
|
|
38203
38210
|
props: {
|
|
38204
38211
|
externalSystemClientId: {},
|
|
@@ -38296,9 +38303,9 @@ const vV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
38296
38303
|
D(x(dt), null, {
|
|
38297
38304
|
default: U(() => [
|
|
38298
38305
|
Se(w("div", null, [
|
|
38299
|
-
w("div",
|
|
38300
|
-
w("div",
|
|
38301
|
-
w("table",
|
|
38306
|
+
w("div", iR, A(d.$t("Order details")), 1),
|
|
38307
|
+
w("div", oR, [
|
|
38308
|
+
w("table", lR, [
|
|
38302
38309
|
w("tr", null, [
|
|
38303
38310
|
w("td", null, A(d.$t("Order Id")), 1),
|
|
38304
38311
|
w("td", null, A(a.value?.id), 1)
|
|
@@ -38319,7 +38326,7 @@ const vV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
38319
38326
|
w("td", null, A(d.$t("Creation Date")), 1),
|
|
38320
38327
|
w("td", null, A(d.$formatDateTime(a.value?.creationDate)), 1)
|
|
38321
38328
|
]),
|
|
38322
|
-
u.exibitionMode == x(un).ResellerInfo ? (B(), Z("tr",
|
|
38329
|
+
u.exibitionMode == x(un).ResellerInfo ? (B(), Z("tr", sR, [
|
|
38323
38330
|
w("td", null, A(d.$t("Customer")), 1),
|
|
38324
38331
|
w("td", null, [
|
|
38325
38332
|
u.router ? (B(), Oe(Tn, {
|
|
@@ -38369,13 +38376,13 @@ const vV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
38369
38376
|
}
|
|
38370
38377
|
});
|
|
38371
38378
|
var Nl = /* @__PURE__ */ ((e) => (e.CalendarMonthAligned = "CALENDAR_MONTH_ALIGNED", e.SubscriptionAligned = "SUBSCRIPTION_ALIGNED", e.Unknown = "UNKNOWN", e))(Nl || {}), Sn = /* @__PURE__ */ ((e) => (e.BasketDraft = "BASKET_DRAFT", e.BasketSalesOrderCreated = "BASKET_SALES_ORDER_CREATED", e.QuoteAccepted = "QUOTE_ACCEPTED", e.QuoteOpen = "QUOTE_OPEN", e.QuoteRejected = "QUOTE_REJECTED", e.QuoteSalesOrderCreated = "QUOTE_SALES_ORDER_CREATED", e))(Sn || {}), tr = /* @__PURE__ */ ((e) => (e.Acronis = "ACRONIS", e.CsvFile = "CSV_FILE", e.Exertis = "EXERTIS", e.Ingram = "INGRAM", e.Microsoft = "MICROSOFT", e.Sitc = "SITC", e.TechData = "TECH_DATA", e.Westcoast = "WESTCOAST", e))(tr || {}), ko = /* @__PURE__ */ ((e) => (e.OrderFailedToProcess = "ORDER_FAILED_TO_PROCESS", e.OrderSuccessfulProcessed = "ORDER_SUCCESSFUL_PROCESSED", e.OrderWaitingToBeProcessed = "ORDER_WAITING_TO_BE_PROCESSED", e))(ko || {}), yf = /* @__PURE__ */ ((e) => (e.Asc = "ASC", e.Desc = "DESC", e))(yf || {}), d0 = /* @__PURE__ */ ((e) => (e.Scheduled = "SCHEDULED", e))(d0 || {});
|
|
38372
|
-
const
|
|
38379
|
+
const cR = { class: "q-ma-lg q-pa-md" }, dR = { class: "row justify-between" }, fR = { class: "col-10 big" }, vR = { class: "row justify-between" }, mR = {
|
|
38373
38380
|
key: 0,
|
|
38374
38381
|
class: "col-2"
|
|
38375
|
-
},
|
|
38382
|
+
}, hR = {
|
|
38376
38383
|
key: 1,
|
|
38377
38384
|
class: "col-2"
|
|
38378
|
-
},
|
|
38385
|
+
}, gR = { class: "row" }, pR = { class: "col-6 div-5" }, yR = { class: "col-6" }, bR = { class: "col-2 q-pl-sm text-center small" }, _R = { class: "q-my-md" }, wR = { class: "text-h6" }, SR = { class: "negative full-width" }, CR = /* @__PURE__ */ at({
|
|
38379
38386
|
__name: "OrderSearch",
|
|
38380
38387
|
props: {
|
|
38381
38388
|
rowsPerPageOptions: {},
|
|
@@ -38531,10 +38538,10 @@ const nR = { class: "q-ma-lg q-pa-md" }, rR = { class: "row justify-between" },
|
|
|
38531
38538
|
}
|
|
38532
38539
|
return it(() => {
|
|
38533
38540
|
C(), p(), b();
|
|
38534
|
-
}), (E, P) => (B(), Z("div",
|
|
38535
|
-
w("div",
|
|
38536
|
-
w("div",
|
|
38537
|
-
w("div",
|
|
38541
|
+
}), (E, P) => (B(), Z("div", cR, [
|
|
38542
|
+
w("div", dR, [
|
|
38543
|
+
w("div", fR, [
|
|
38544
|
+
w("div", vR, [
|
|
38538
38545
|
w("div", {
|
|
38539
38546
|
class: Qt({ "col-2": !v, "col-3": v })
|
|
38540
38547
|
}, [
|
|
@@ -38551,7 +38558,7 @@ const nR = { class: "q-ma-lg q-pa-md" }, rR = { class: "row justify-between" },
|
|
|
38551
38558
|
clearable: ""
|
|
38552
38559
|
}, null, 8, ["modelValue", "label"])
|
|
38553
38560
|
], 2),
|
|
38554
|
-
v ? _e("", !0) : (B(), Z("div",
|
|
38561
|
+
v ? _e("", !0) : (B(), Z("div", mR, [
|
|
38555
38562
|
D(x(qt), {
|
|
38556
38563
|
class: "q-ml-sm",
|
|
38557
38564
|
outlined: "",
|
|
@@ -38565,7 +38572,7 @@ const nR = { class: "q-ma-lg q-pa-md" }, rR = { class: "row justify-between" },
|
|
|
38565
38572
|
clearable: ""
|
|
38566
38573
|
}, null, 8, ["modelValue", "label"])
|
|
38567
38574
|
])),
|
|
38568
|
-
v ? _e("", !0) : (B(), Z("div",
|
|
38575
|
+
v ? _e("", !0) : (B(), Z("div", hR, [
|
|
38569
38576
|
D(x(qt), {
|
|
38570
38577
|
class: "q-ml-sm",
|
|
38571
38578
|
outlined: "",
|
|
@@ -38601,8 +38608,8 @@ const nR = { class: "q-ma-lg q-pa-md" }, rR = { class: "row justify-between" },
|
|
|
38601
38608
|
w("div", {
|
|
38602
38609
|
class: Qt({ "col-4": !v, "col-6": v })
|
|
38603
38610
|
}, [
|
|
38604
|
-
w("div",
|
|
38605
|
-
w("div",
|
|
38611
|
+
w("div", gR, [
|
|
38612
|
+
w("div", pR, [
|
|
38606
38613
|
D(x(qt), {
|
|
38607
38614
|
class: "q-ml-sm",
|
|
38608
38615
|
rounded: "",
|
|
@@ -38645,7 +38652,7 @@ const nR = { class: "q-ma-lg q-pa-md" }, rR = { class: "row justify-between" },
|
|
|
38645
38652
|
_: 1
|
|
38646
38653
|
}, 8, ["label", "modelValue"])
|
|
38647
38654
|
]),
|
|
38648
|
-
w("div",
|
|
38655
|
+
w("div", yR, [
|
|
38649
38656
|
D(x(qt), {
|
|
38650
38657
|
"hide-bottom-space": "",
|
|
38651
38658
|
rounded: "",
|
|
@@ -38692,7 +38699,7 @@ const nR = { class: "q-ma-lg q-pa-md" }, rR = { class: "row justify-between" },
|
|
|
38692
38699
|
], 2)
|
|
38693
38700
|
])
|
|
38694
38701
|
]),
|
|
38695
|
-
w("div",
|
|
38702
|
+
w("div", bR, [
|
|
38696
38703
|
D(x(De), {
|
|
38697
38704
|
rounded: "",
|
|
38698
38705
|
color: "primary",
|
|
@@ -38702,10 +38709,10 @@ const nR = { class: "q-ma-lg q-pa-md" }, rR = { class: "row justify-between" },
|
|
|
38702
38709
|
}, null, 8, ["label"])
|
|
38703
38710
|
])
|
|
38704
38711
|
]),
|
|
38705
|
-
w("div",
|
|
38706
|
-
w("span",
|
|
38712
|
+
w("div", _R, [
|
|
38713
|
+
w("span", wR, A(E.$t("Orders")), 1)
|
|
38707
38714
|
]),
|
|
38708
|
-
Se(w("div",
|
|
38715
|
+
Se(w("div", SR, [
|
|
38709
38716
|
w("span", null, A(E.$t("Error fetching subscriptions")), 1)
|
|
38710
38717
|
], 512), [
|
|
38711
38718
|
[qe, o.value]
|
|
@@ -38813,7 +38820,7 @@ const nR = { class: "q-ma-lg q-pa-md" }, rR = { class: "row justify-between" },
|
|
|
38813
38820
|
])
|
|
38814
38821
|
]));
|
|
38815
38822
|
}
|
|
38816
|
-
}),
|
|
38823
|
+
}), kR = Ct`
|
|
38817
38824
|
query subscriptionDetailsQuery($productSku: String, $subscriptionId: String) {
|
|
38818
38825
|
subscriptionDetails(
|
|
38819
38826
|
productSku: $productSku
|
|
@@ -38915,22 +38922,22 @@ async function f0(e, t, n, r) {
|
|
|
38915
38922
|
throw a;
|
|
38916
38923
|
}
|
|
38917
38924
|
}
|
|
38918
|
-
const
|
|
38925
|
+
const SV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
38919
38926
|
__proto__: null,
|
|
38920
38927
|
fetchSubscriptionOrderDetails: f0,
|
|
38921
38928
|
fetchSubscriptionOrderHistoryDetails: bf,
|
|
38922
|
-
productSubscriptionDetailsQuery:
|
|
38929
|
+
productSubscriptionDetailsQuery: kR,
|
|
38923
38930
|
updateSubscriptionMutation: Lc
|
|
38924
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
38931
|
+
}, Symbol.toStringTag, { value: "Module" })), TR = { key: 0 }, ER = {
|
|
38925
38932
|
key: 1,
|
|
38926
38933
|
class: "text-caption"
|
|
38927
|
-
},
|
|
38934
|
+
}, xR = {
|
|
38928
38935
|
key: 2,
|
|
38929
38936
|
class: "text-caption"
|
|
38930
|
-
},
|
|
38937
|
+
}, IR = { key: 0 }, OR = {
|
|
38931
38938
|
key: 3,
|
|
38932
38939
|
class: "text-caption"
|
|
38933
|
-
},
|
|
38940
|
+
}, PR = {
|
|
38934
38941
|
key: 4,
|
|
38935
38942
|
class: "inline"
|
|
38936
38943
|
}, v0 = /* @__PURE__ */ at({
|
|
@@ -38955,10 +38962,10 @@ const mV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
38955
38962
|
a.value = !0;
|
|
38956
38963
|
}
|
|
38957
38964
|
}), (l, u) => (B(), Z(tt, null, [
|
|
38958
|
-
r.value ? (B(), Z("div",
|
|
38965
|
+
r.value ? (B(), Z("div", TR, [
|
|
38959
38966
|
D(x(kp), { indeterminate: "" })
|
|
38960
|
-
])) : n.value?.items && n.value?.items?.length && n.value.items[0].status == x(ko).OrderWaitingToBeProcessed ? (B(), Z("div",
|
|
38961
|
-
n.value.items[0].providerOrderId ? (B(), Z("span",
|
|
38967
|
+
])) : n.value?.items && n.value?.items?.length && n.value.items[0].status == x(ko).OrderWaitingToBeProcessed ? (B(), Z("div", ER, A(`${l.$t("Your latest change request being processed")}`), 1)) : n.value?.items && n.value?.items?.length ? (B(), Z("div", xR, [
|
|
38968
|
+
n.value.items[0].providerOrderId ? (B(), Z("span", IR, [
|
|
38962
38969
|
Me(A(`${l.$t("Latest change request")}: ${l.$t("Order Id")}: ${n.value.items[0].providerOrderId} - ${l.$t("Status")}: `), 1),
|
|
38963
38970
|
w("span", {
|
|
38964
38971
|
class: Qt("status-" + n.value.items[0].status.toLowerCase())
|
|
@@ -38966,8 +38973,8 @@ const mV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
38966
38973
|
])) : _e("", !0),
|
|
38967
38974
|
w("span", null, A(`${l.$t("Changes")}: ${n.value.items[0].message} - ${l.$t("Status")}:
|
|
38968
38975
|
${l.$t(n.value.items[0].status)}`), 1)
|
|
38969
|
-
])) : (B(), Z("div",
|
|
38970
|
-
n.value?.items && n.value?.items?.length == 1 ? (B(), Z("div",
|
|
38976
|
+
])) : (B(), Z("div", OR, A(l.$t("No recent order requests")), 1)),
|
|
38977
|
+
n.value?.items && n.value?.items?.length == 1 ? (B(), Z("div", PR, [
|
|
38971
38978
|
D(x(De), {
|
|
38972
38979
|
dense: "",
|
|
38973
38980
|
flat: "",
|
|
@@ -38978,7 +38985,7 @@ const mV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
38978
38985
|
])) : _e("", !0)
|
|
38979
38986
|
], 64));
|
|
38980
38987
|
}
|
|
38981
|
-
}),
|
|
38988
|
+
}), qR = { key: 0 }, $R = { key: 1 }, m0 = /* @__PURE__ */ at({
|
|
38982
38989
|
__name: "SubscriptionOrderHistories",
|
|
38983
38990
|
props: {
|
|
38984
38991
|
cspSubscriptionId: {},
|
|
@@ -39076,8 +39083,8 @@ const mV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39076
39083
|
key: "message"
|
|
39077
39084
|
}, {
|
|
39078
39085
|
default: U(() => [
|
|
39079
|
-
f.row.providerOrderId ? (B(), Z("span",
|
|
39080
|
-
f.row.message ? (B(), Z("span",
|
|
39086
|
+
f.row.providerOrderId ? (B(), Z("span", qR, A(`${s.$t("Order created id:")} ${f.row.providerOrderId}`), 1)) : _e("", !0),
|
|
39087
|
+
f.row.message ? (B(), Z("span", $R, A(f.row.message), 1)) : _e("", !0)
|
|
39081
39088
|
]),
|
|
39082
39089
|
_: 2
|
|
39083
39090
|
}, 1024)
|
|
@@ -39094,7 +39101,7 @@ const mV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39094
39101
|
])
|
|
39095
39102
|
], 64));
|
|
39096
39103
|
}
|
|
39097
|
-
}),
|
|
39104
|
+
}), NR = /* @__PURE__ */ at({
|
|
39098
39105
|
__name: "SubscriptionOderHistoryDialog",
|
|
39099
39106
|
props: {
|
|
39100
39107
|
cspSubscriptionId: {},
|
|
@@ -39139,7 +39146,7 @@ const mV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
39139
39146
|
}, 8, ["onHide"]));
|
|
39140
39147
|
}
|
|
39141
39148
|
});
|
|
39142
|
-
const h0 = /* @__PURE__ */ zy(
|
|
39149
|
+
const h0 = /* @__PURE__ */ zy(NR, [["__scopeId", "data-v-b906ffe5"]]), DR = [
|
|
39143
39150
|
{ min: 1 / 0 * -1, max: 30, color: "text-red" },
|
|
39144
39151
|
{ min: 31, max: 60, color: "text-orange" },
|
|
39145
39152
|
{ min: 61, max: 90, color: "text-yellow" },
|
|
@@ -39147,9 +39154,9 @@ const h0 = /* @__PURE__ */ zy(TR, [["__scopeId", "data-v-b906ffe5"]]), ER = [
|
|
|
39147
39154
|
];
|
|
39148
39155
|
function g0(e) {
|
|
39149
39156
|
if (e)
|
|
39150
|
-
return
|
|
39157
|
+
return DR.find((t) => e >= t.min && e <= t.max)?.color;
|
|
39151
39158
|
}
|
|
39152
|
-
const
|
|
39159
|
+
const RR = { class: "text-h6" }, AR = { class: "q-mb-md" }, LR = { class: "q-mt-md" }, MR = { class: "q-table q-table--bordered q-table--flat" }, FR = { class: "text-left" }, VR = { class: "text-left" }, BR = { class: "text-left" }, UR = { class: "text-left" }, jR = { class: "text-left" }, zR = { class: "text-left" }, HR = /* @__PURE__ */ at({
|
|
39153
39160
|
__name: "MicrosoftRenewalScheduler",
|
|
39154
39161
|
props: {
|
|
39155
39162
|
subscriptionDetails: {},
|
|
@@ -39458,7 +39465,7 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
39458
39465
|
default: U(() => [
|
|
39459
39466
|
D(x(dt), null, {
|
|
39460
39467
|
default: U(() => [
|
|
39461
|
-
w("div",
|
|
39468
|
+
w("div", RR, [
|
|
39462
39469
|
E[9] || (E[9] = Me("Manage renewal ")),
|
|
39463
39470
|
w("i", {
|
|
39464
39471
|
class: "q-icon mdi mdi-close q-ml-xs cursor-pointer absolute-top-right text-h6 q-ma-md",
|
|
@@ -39478,7 +39485,7 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
39478
39485
|
}),
|
|
39479
39486
|
r.value ? (B(), Oe(x(dt), { key: 0 }, {
|
|
39480
39487
|
default: U(() => [
|
|
39481
|
-
w("div",
|
|
39488
|
+
w("div", AR, [
|
|
39482
39489
|
w("p", null, A(T.$t("MicrosoftDialogChangesMessage", {
|
|
39483
39490
|
renewalDate: T.$formatDateTime(u.value)
|
|
39484
39491
|
})), 1),
|
|
@@ -39548,7 +39555,7 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
39548
39555
|
],
|
|
39549
39556
|
label: "Align end date with calendar month"
|
|
39550
39557
|
}, null, 8, ["modelValue"]),
|
|
39551
|
-
w("div",
|
|
39558
|
+
w("div", LR, [
|
|
39552
39559
|
w("div", null, A(T.$t("Other customer subscriptions end dates")), 1),
|
|
39553
39560
|
(B(!0), Z(tt, null, wt(i.alignmentDateOptions?.termDates.filter((M) => M.allowedCustomTermEndDateType == x(Nl).SubscriptionAligned), (M) => (B(), Oe(x(dd), {
|
|
39554
39561
|
key: M.allowedCustomTermEndDate,
|
|
@@ -39562,12 +39569,12 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
39562
39569
|
default: U(() => [
|
|
39563
39570
|
D(x(dt), null, {
|
|
39564
39571
|
default: U(() => [
|
|
39565
|
-
w("table",
|
|
39572
|
+
w("table", MR, [
|
|
39566
39573
|
w("thead", null, [
|
|
39567
39574
|
w("tr", null, [
|
|
39568
|
-
w("th",
|
|
39569
|
-
w("th",
|
|
39570
|
-
w("th",
|
|
39575
|
+
w("th", FR, A(T.$t("Subscription Id")), 1),
|
|
39576
|
+
w("th", VR, A(T.$t("Title")), 1),
|
|
39577
|
+
w("th", BR, A(T.$t("Term")), 1)
|
|
39571
39578
|
])
|
|
39572
39579
|
]),
|
|
39573
39580
|
w("tbody", null, [
|
|
@@ -39575,9 +39582,9 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
39575
39582
|
key: O?.providerSubuscriptionId,
|
|
39576
39583
|
class: "q-tr"
|
|
39577
39584
|
}, [
|
|
39578
|
-
w("td",
|
|
39579
|
-
w("td",
|
|
39580
|
-
w("td",
|
|
39585
|
+
w("td", UR, A(O?.providerSubuscriptionId), 1),
|
|
39586
|
+
w("td", jR, A(O?.title), 1),
|
|
39587
|
+
w("td", zR, A(O?.term), 1)
|
|
39581
39588
|
]))), 128))
|
|
39582
39589
|
])
|
|
39583
39590
|
])
|
|
@@ -39666,16 +39673,16 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
39666
39673
|
], 64);
|
|
39667
39674
|
};
|
|
39668
39675
|
}
|
|
39669
|
-
}),
|
|
39676
|
+
}), QR = { class: "q-ma-sm" }, WR = { class: "row" }, KR = { class: "text-h5 col-6" }, YR = { class: "col-6 text-right" }, JR = { class: "row inner" }, GR = { class: "col-4" }, XR = { class: "text-h6 primary-color" }, ZR = { class: "specs" }, eA = { key: 0 }, tA = { key: 1 }, nA = { class: "col-8" }, rA = { key: 0 }, aA = { class: "flex no-wrap justify-center align-center" }, iA = { class: "row no-wrap" }, oA = {
|
|
39670
39677
|
key: 1,
|
|
39671
39678
|
class: "text-center"
|
|
39672
|
-
},
|
|
39679
|
+
}, lA = { class: "text-caption" }, sA = { class: "flex column justify-center" }, uA = { class: "row no-wrap" }, cA = {
|
|
39673
39680
|
key: 0,
|
|
39674
39681
|
class: "text-center"
|
|
39675
|
-
},
|
|
39682
|
+
}, dA = { class: "text-caption" }, fA = { class: "flex justify-end" }, vA = { key: 0 }, mA = {
|
|
39676
39683
|
key: 1,
|
|
39677
39684
|
class: "q-ml-sm"
|
|
39678
|
-
},
|
|
39685
|
+
}, hA = /* @__PURE__ */ at({
|
|
39679
39686
|
__name: "SubscriptionDetails",
|
|
39680
39687
|
props: {
|
|
39681
39688
|
rowsPerPageOptions: {},
|
|
@@ -40147,10 +40154,10 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
40147
40154
|
return it(async () => {
|
|
40148
40155
|
p.route.params && await P(p.route.params.externalSystem?.toString(), p.route.params.providerSubscriptionId);
|
|
40149
40156
|
}), (Q, F) => (B(), Z(tt, null, [
|
|
40150
|
-
w("div",
|
|
40151
|
-
w("div",
|
|
40152
|
-
w("div",
|
|
40153
|
-
Se(w("div",
|
|
40157
|
+
w("div", QR, [
|
|
40158
|
+
w("div", WR, [
|
|
40159
|
+
w("div", KR, A(Q.$t("Subscription details")), 1),
|
|
40160
|
+
Se(w("div", YR, [
|
|
40154
40161
|
l.value && s.value?.cspSubscriptionId ? (B(), Oe(v0, {
|
|
40155
40162
|
key: 0,
|
|
40156
40163
|
"csp-subscription-id": s.value.cspSubscriptionId,
|
|
@@ -40175,11 +40182,11 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
40175
40182
|
Se(w("div", { class: "text-h5 text-center status-progress text-yellow" }, A(Q.$t("Subscription is in processing mode")), 513), [
|
|
40176
40183
|
[qe, s.value?.hasPendingChanges]
|
|
40177
40184
|
]),
|
|
40178
|
-
w("div",
|
|
40179
|
-
w("div",
|
|
40180
|
-
w("div",
|
|
40185
|
+
w("div", JR, [
|
|
40186
|
+
w("div", GR, [
|
|
40187
|
+
w("div", XR, A(`${s.value?.subscriptionName}
|
|
40181
40188
|
[${s.value?.providerSubscriptionId}]`), 1),
|
|
40182
|
-
w("table",
|
|
40189
|
+
w("table", ZR, [
|
|
40183
40190
|
w("tr", null, [
|
|
40184
40191
|
w("td", null, A(Q.$t("Customer")), 1),
|
|
40185
40192
|
w("td", null, [
|
|
@@ -40228,7 +40235,7 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
40228
40235
|
}, A(Q.$formatDate(s.value?.renewalDate)), 3)) : _e("", !0)
|
|
40229
40236
|
])
|
|
40230
40237
|
]),
|
|
40231
|
-
s.value && h.includes(s.value?.externalSystemType) ? (B(), Z("tr",
|
|
40238
|
+
s.value && h.includes(s.value?.externalSystemType) ? (B(), Z("tr", eA, [
|
|
40232
40239
|
w("td", null, A(Q.$t("Auto Renew")), 1),
|
|
40233
40240
|
w("td", null, [
|
|
40234
40241
|
D(x(Ju), {
|
|
@@ -40249,7 +40256,7 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
40249
40256
|
])
|
|
40250
40257
|
])
|
|
40251
40258
|
])) : _e("", !0),
|
|
40252
|
-
s.value && g.includes(s.value?.externalSystemType) ? (B(), Z("tr",
|
|
40259
|
+
s.value && g.includes(s.value?.externalSystemType) ? (B(), Z("tr", tA, [
|
|
40253
40260
|
w("td", null, A(Q.$t("Auto Renew")), 1),
|
|
40254
40261
|
w("td", null, [
|
|
40255
40262
|
D(x(Ju), {
|
|
@@ -40269,7 +40276,7 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
40269
40276
|
[qe, v.value]
|
|
40270
40277
|
]),
|
|
40271
40278
|
w("div", null, [
|
|
40272
|
-
D(
|
|
40279
|
+
D(HR, {
|
|
40273
40280
|
"subscription-details": s.value,
|
|
40274
40281
|
"subscription-provider-data": b.value
|
|
40275
40282
|
}, null, 8, ["subscription-details", "subscription-provider-data"])
|
|
@@ -40278,8 +40285,8 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
40278
40285
|
])) : _e("", !0)
|
|
40279
40286
|
])
|
|
40280
40287
|
]),
|
|
40281
|
-
w("div",
|
|
40282
|
-
u.value && s.value && s.value?.centralisedCustomerId && s.value?.externalSystemType ? (B(), Z("div",
|
|
40288
|
+
w("div", nA, [
|
|
40289
|
+
u.value && s.value && s.value?.centralisedCustomerId && s.value?.externalSystemType ? (B(), Z("div", rA, [
|
|
40283
40290
|
D(c0, {
|
|
40284
40291
|
"sinch-account-id": s.value?.sinchAccountId,
|
|
40285
40292
|
"csp-centralised-customer-id": s.value?.centralisedCustomerId,
|
|
@@ -40334,14 +40341,14 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
40334
40341
|
}, 1024),
|
|
40335
40342
|
D(x(Ae), { key: "quantity" }, {
|
|
40336
40343
|
default: U(() => [
|
|
40337
|
-
w("div",
|
|
40344
|
+
w("div", aA, [
|
|
40338
40345
|
s.value && s.value.externalSystemType == x(tr).Microsoft ? (B(), Z("a", {
|
|
40339
40346
|
key: 0,
|
|
40340
40347
|
href: "javascript:void(0)",
|
|
40341
40348
|
class: "text-center q-mr-sm",
|
|
40342
40349
|
onClick: F[3] || (F[3] = (ue) => E(s.value?.providerData?.refundableQuantity))
|
|
40343
40350
|
}, A(Q.$t("ViewLicencesToReduce")), 1)) : _e("", !0),
|
|
40344
|
-
w("div",
|
|
40351
|
+
w("div", iA, [
|
|
40345
40352
|
D(x(De), {
|
|
40346
40353
|
size: "sm",
|
|
40347
40354
|
style: { "min-width": "46px" },
|
|
@@ -40375,8 +40382,8 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
40375
40382
|
disable: o.value || m.value
|
|
40376
40383
|
}, null, 8, ["label", "onClick", "disable"])
|
|
40377
40384
|
]),
|
|
40378
|
-
V.row.availableStock ? (B(), Z("div",
|
|
40379
|
-
w("span",
|
|
40385
|
+
V.row.availableStock ? (B(), Z("div", oA, [
|
|
40386
|
+
w("span", lA, A(`${V.row.availableStock} ${Q.$t("MoreAvailable")}`), 1)
|
|
40380
40387
|
])) : _e("", !0)
|
|
40381
40388
|
])
|
|
40382
40389
|
]),
|
|
@@ -40474,9 +40481,9 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
40474
40481
|
}, 1024),
|
|
40475
40482
|
D(x(Ae), { key: "quantity" }, {
|
|
40476
40483
|
default: U(() => [
|
|
40477
|
-
w("div",
|
|
40484
|
+
w("div", sA, [
|
|
40478
40485
|
D(x(De), { class: "bnt" }),
|
|
40479
|
-
w("div",
|
|
40486
|
+
w("div", uA, [
|
|
40480
40487
|
D(x(De), {
|
|
40481
40488
|
size: "sm",
|
|
40482
40489
|
style: { "min-width": "46px" },
|
|
@@ -40510,8 +40517,8 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
40510
40517
|
disable: o.value || m.value
|
|
40511
40518
|
}, null, 8, ["label", "onClick", "disable"])
|
|
40512
40519
|
]),
|
|
40513
|
-
V.row.availableStock ? (B(), Z("div",
|
|
40514
|
-
w("span",
|
|
40520
|
+
V.row.availableStock ? (B(), Z("div", cA, [
|
|
40521
|
+
w("span", dA, A(`${V.row.availableStock} ${Q.$t("MoreAvailable")}`), 1)
|
|
40515
40522
|
])) : _e("", !0)
|
|
40516
40523
|
])
|
|
40517
40524
|
]),
|
|
@@ -40603,8 +40610,8 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
40603
40610
|
onClick: re
|
|
40604
40611
|
}, null, 8, ["disable", "loading", "label"])) : _e("", !0)
|
|
40605
40612
|
]),
|
|
40606
|
-
w("div",
|
|
40607
|
-
!f.value && !n.value && !o.value && s.value && h.includes(s.value.externalSystemType) ? (B(), Z("div",
|
|
40613
|
+
w("div", fA, [
|
|
40614
|
+
!f.value && !n.value && !o.value && s.value && h.includes(s.value.externalSystemType) ? (B(), Z("div", vA, [
|
|
40608
40615
|
Se(D(x(De), {
|
|
40609
40616
|
color: "primary",
|
|
40610
40617
|
label: Q.$t("Adjust Prices"),
|
|
@@ -40628,7 +40635,7 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
40628
40635
|
[qe, m.value]
|
|
40629
40636
|
])
|
|
40630
40637
|
])) : _e("", !0),
|
|
40631
|
-
f.value ? _e("", !0) : (B(), Z("div",
|
|
40638
|
+
f.value ? _e("", !0) : (B(), Z("div", mA, [
|
|
40632
40639
|
Se(D(x(gr), { type: "QBtn" }, null, 512), [
|
|
40633
40640
|
[qe, r.value && !m.value]
|
|
40634
40641
|
]),
|
|
@@ -40656,13 +40663,13 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
40656
40663
|
})
|
|
40657
40664
|
], 64));
|
|
40658
40665
|
}
|
|
40659
|
-
}),
|
|
40666
|
+
}), gA = { class: "row justify-between" }, pA = {
|
|
40660
40667
|
key: 0,
|
|
40661
40668
|
class: "col-2 div-5"
|
|
40662
|
-
},
|
|
40669
|
+
}, yA = { class: "col-2 div-5" }, bA = {
|
|
40663
40670
|
key: 1,
|
|
40664
40671
|
class: "col-2 div-5"
|
|
40665
|
-
},
|
|
40672
|
+
}, _A = { class: "col-2 div-5" }, wA = { class: "col-2 div-5" }, SA = { class: "row" }, CA = { class: "col-6 div-5" }, kA = { class: "col-6" }, TA = { class: "row justify-start q-mt-sm" }, EA = { class: "col-2 div-5" }, xA = {
|
|
40666
40673
|
key: 0,
|
|
40667
40674
|
class: "col-2 div-5 q-pl-sm"
|
|
40668
40675
|
}, p0 = /* @__PURE__ */ at({
|
|
@@ -40705,8 +40712,8 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
40705
40712
|
return s;
|
|
40706
40713
|
});
|
|
40707
40714
|
return (s, d) => (B(), Z(tt, null, [
|
|
40708
|
-
w("div",
|
|
40709
|
-
o.value ? _e("", !0) : (B(), Z("div",
|
|
40715
|
+
w("div", gA, [
|
|
40716
|
+
o.value ? _e("", !0) : (B(), Z("div", pA, [
|
|
40710
40717
|
D(x(qt), {
|
|
40711
40718
|
outlined: "",
|
|
40712
40719
|
rounded: "",
|
|
@@ -40719,7 +40726,7 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
40719
40726
|
clearable: ""
|
|
40720
40727
|
}, null, 8, ["modelValue", "label"])
|
|
40721
40728
|
])),
|
|
40722
|
-
w("div",
|
|
40729
|
+
w("div", yA, [
|
|
40723
40730
|
D(x(qt), {
|
|
40724
40731
|
class: "q-ml-sm",
|
|
40725
40732
|
outlined: "",
|
|
@@ -40733,7 +40740,7 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
40733
40740
|
clearable: ""
|
|
40734
40741
|
}, null, 8, ["modelValue", "label"])
|
|
40735
40742
|
]),
|
|
40736
|
-
o.value ? _e("", !0) : (B(), Z("div",
|
|
40743
|
+
o.value ? _e("", !0) : (B(), Z("div", bA, [
|
|
40737
40744
|
D(x(Dn), {
|
|
40738
40745
|
outlined: "",
|
|
40739
40746
|
rounded: "",
|
|
@@ -40750,7 +40757,7 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
40750
40757
|
"map-options": ""
|
|
40751
40758
|
}, null, 8, ["modelValue", "options", "label"])
|
|
40752
40759
|
])),
|
|
40753
|
-
w("div",
|
|
40760
|
+
w("div", _A, [
|
|
40754
40761
|
D(x(Dn), {
|
|
40755
40762
|
id: "statusSelector",
|
|
40756
40763
|
rounded: "",
|
|
@@ -40765,7 +40772,7 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
40765
40772
|
clearable: ""
|
|
40766
40773
|
}, null, 8, ["modelValue", "options", "label"])
|
|
40767
40774
|
]),
|
|
40768
|
-
Se(w("div",
|
|
40775
|
+
Se(w("div", wA, [
|
|
40769
40776
|
D(x(Dn), {
|
|
40770
40777
|
id: "daysToRenewalDate",
|
|
40771
40778
|
rounded: "",
|
|
@@ -40784,8 +40791,8 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
40784
40791
|
w("div", {
|
|
40785
40792
|
class: Qt({ "col-2 div-5": !o.value, "col-4 div-5": o.value })
|
|
40786
40793
|
}, [
|
|
40787
|
-
w("div",
|
|
40788
|
-
w("div",
|
|
40794
|
+
w("div", SA, [
|
|
40795
|
+
w("div", CA, [
|
|
40789
40796
|
D(x(qt), {
|
|
40790
40797
|
class: "q-ml-sm",
|
|
40791
40798
|
rounded: "",
|
|
@@ -40829,7 +40836,7 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
40829
40836
|
_: 1
|
|
40830
40837
|
}, 8, ["label", "modelValue"])
|
|
40831
40838
|
]),
|
|
40832
|
-
w("div",
|
|
40839
|
+
w("div", kA, [
|
|
40833
40840
|
D(x(qt), {
|
|
40834
40841
|
"hide-bottom-space": "",
|
|
40835
40842
|
rounded: "",
|
|
@@ -40875,8 +40882,8 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
40875
40882
|
])
|
|
40876
40883
|
], 2)
|
|
40877
40884
|
]),
|
|
40878
|
-
Se(w("div",
|
|
40879
|
-
w("div",
|
|
40885
|
+
Se(w("div", TA, [
|
|
40886
|
+
w("div", EA, [
|
|
40880
40887
|
D(x(Dn), {
|
|
40881
40888
|
id: "daysToRenewalDate",
|
|
40882
40889
|
rounded: "",
|
|
@@ -40890,7 +40897,7 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
40890
40897
|
clearable: ""
|
|
40891
40898
|
}, null, 8, ["modelValue", "options", "label"])
|
|
40892
40899
|
]),
|
|
40893
|
-
l.value ? (B(), Z("div",
|
|
40900
|
+
l.value ? (B(), Z("div", xA, [
|
|
40894
40901
|
D(x(Dn), {
|
|
40895
40902
|
id: "daysToRenewalDate",
|
|
40896
40903
|
rounded: "",
|
|
@@ -40913,7 +40920,7 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
40913
40920
|
])
|
|
40914
40921
|
], 64));
|
|
40915
40922
|
}
|
|
40916
|
-
}),
|
|
40923
|
+
}), IA = { class: "negative full-width" }, OA = ["onClick"], PA = ["onClick"], qA = ["onClick"], $A = { class: "flex justify-center align-center full-width q-ma-lg" }, NA = { class: "text-h5" }, y0 = /* @__PURE__ */ at({
|
|
40917
40924
|
__name: "SubscriptionsTable",
|
|
40918
40925
|
props: {
|
|
40919
40926
|
filters: {},
|
|
@@ -41041,7 +41048,7 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
41041
41048
|
} else
|
|
41042
41049
|
a.value = v;
|
|
41043
41050
|
}), t({ fetchSubscriptions: f }), (m, b) => (B(), Z(tt, null, [
|
|
41044
|
-
Se(w("div",
|
|
41051
|
+
Se(w("div", IA, [
|
|
41045
41052
|
w("span", null, A(m.$t("Error fetching subscriptions")), 1)
|
|
41046
41053
|
], 512), [
|
|
41047
41054
|
[qe, u.value]
|
|
@@ -41058,8 +41065,8 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
41058
41065
|
loading: i.value
|
|
41059
41066
|
}, N0({
|
|
41060
41067
|
"no-data": U(() => [
|
|
41061
|
-
Se(w("div",
|
|
41062
|
-
w("span",
|
|
41068
|
+
Se(w("div", $A, [
|
|
41069
|
+
w("span", NA, A(m.$t("No Subscriptions Found")), 1)
|
|
41063
41070
|
], 512), [
|
|
41064
41071
|
[qe, !i.value]
|
|
41065
41072
|
])
|
|
@@ -41079,7 +41086,7 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
41079
41086
|
w("a", {
|
|
41080
41087
|
href: "javascript:void(0)",
|
|
41081
41088
|
onClick: (S) => s("rowClick", p.row, S)
|
|
41082
|
-
}, A(p.row.providerSubscriptionId), 9,
|
|
41089
|
+
}, A(p.row.providerSubscriptionId), 9, OA)
|
|
41083
41090
|
]),
|
|
41084
41091
|
_: 2
|
|
41085
41092
|
}, 1024),
|
|
@@ -41100,7 +41107,7 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
41100
41107
|
w("a", {
|
|
41101
41108
|
href: "javascript:void(0)",
|
|
41102
41109
|
onClick: (S) => s("customerRowClick", p.row, S)
|
|
41103
|
-
}, A(`${p.row.customerName} [${p.row.providerCustomerId}]`), 9,
|
|
41110
|
+
}, A(`${p.row.customerName} [${p.row.providerCustomerId}]`), 9, PA)
|
|
41104
41111
|
]),
|
|
41105
41112
|
_: 2
|
|
41106
41113
|
}, 1024),
|
|
@@ -41165,7 +41172,7 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
41165
41172
|
w("a", {
|
|
41166
41173
|
href: "javascript:void(0)",
|
|
41167
41174
|
onClick: (S) => s("rowClick", p.row, S)
|
|
41168
|
-
}, A(p.row.providerSubscriptionId), 9,
|
|
41175
|
+
}, A(p.row.providerSubscriptionId), 9, qA)
|
|
41169
41176
|
]),
|
|
41170
41177
|
_: 2
|
|
41171
41178
|
}, 1024),
|
|
@@ -41216,7 +41223,7 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
41216
41223
|
]), 1032, ["rows", "columns", "pagination", "rows-per-page-options", "loading"])
|
|
41217
41224
|
], 64));
|
|
41218
41225
|
}
|
|
41219
|
-
}),
|
|
41226
|
+
}), DA = { class: "subscriptions-index q-ma-lg q-pa-md" }, RA = { class: "row justify-between" }, AA = { class: "col-11 big" }, LA = { class: "col-1 q-pl-sm text-center small" }, MA = { class: "q-mt-sm flex info-row" }, FA = { class: "text-lg text-primary" }, VA = { class: "text-subtitle2 q-ml-sm" }, BA = { class: "text-h6" }, UA = /* @__PURE__ */ at({
|
|
41220
41227
|
__name: "SubscriptionIndex",
|
|
41221
41228
|
props: {
|
|
41222
41229
|
route: {},
|
|
@@ -41276,9 +41283,9 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
41276
41283
|
});
|
|
41277
41284
|
}), Ja(async () => {
|
|
41278
41285
|
document.body.classList.remove("gray-page");
|
|
41279
|
-
}), (k, h) => (B(), Z("div",
|
|
41280
|
-
w("div",
|
|
41281
|
-
w("div",
|
|
41286
|
+
}), (k, h) => (B(), Z("div", DA, [
|
|
41287
|
+
w("div", RA, [
|
|
41288
|
+
w("div", AA, [
|
|
41282
41289
|
D(p0, {
|
|
41283
41290
|
modelValue: o.value,
|
|
41284
41291
|
"onUpdate:modelValue": h[0] || (h[0] = (g) => o.value = g),
|
|
@@ -41290,7 +41297,7 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
41290
41297
|
"external-system-clients": k.externalSystemClients
|
|
41291
41298
|
}, null, 8, ["modelValue", "available-statuses", "external-system-type-values", "exibition-mode", "external-system-clients"])
|
|
41292
41299
|
]),
|
|
41293
|
-
w("div",
|
|
41300
|
+
w("div", LA, [
|
|
41294
41301
|
D(x(De), {
|
|
41295
41302
|
rounded: "",
|
|
41296
41303
|
color: "primary",
|
|
@@ -41300,7 +41307,7 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
41300
41307
|
}, null, 8, ["label"])
|
|
41301
41308
|
])
|
|
41302
41309
|
]),
|
|
41303
|
-
w("div",
|
|
41310
|
+
w("div", MA, [
|
|
41304
41311
|
(B(!0), Z(tt, null, wt(i.value, (g) => (B(), Z("div", {
|
|
41305
41312
|
key: g.status,
|
|
41306
41313
|
class: "flex"
|
|
@@ -41312,14 +41319,14 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
41312
41319
|
onClick: (C) => m(g.status)
|
|
41313
41320
|
}, {
|
|
41314
41321
|
default: U(() => [
|
|
41315
|
-
w("span",
|
|
41316
|
-
w("span",
|
|
41322
|
+
w("span", FA, A(g.total), 1),
|
|
41323
|
+
w("span", VA, A(g.status), 1)
|
|
41317
41324
|
]),
|
|
41318
41325
|
_: 2
|
|
41319
41326
|
}, 1032, ["onClick"])
|
|
41320
41327
|
]))), 128))
|
|
41321
41328
|
]),
|
|
41322
|
-
w("span",
|
|
41329
|
+
w("span", BA, A(k.$t("Subscriptions")), 1),
|
|
41323
41330
|
D(y0, {
|
|
41324
41331
|
onFetchSubscriptionsFinished: f,
|
|
41325
41332
|
ref_key: "subscriptionTable",
|
|
@@ -41333,7 +41340,7 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
41333
41340
|
}, null, 8, ["filters", "rows-per-page-options", "mode", "has-duplicated-external-system-clients"])
|
|
41334
41341
|
]));
|
|
41335
41342
|
}
|
|
41336
|
-
}),
|
|
41343
|
+
}), jA = { class: "text-h5 q-ma-md" }, zA = { class: "text-h6 primary-color" }, HA = { class: "specs q-mb-md" }, QA = { class: "text-h6" }, WA = /* @__PURE__ */ at({
|
|
41337
41344
|
__name: "SubscriptionOrderDetails",
|
|
41338
41345
|
props: {
|
|
41339
41346
|
rowsPerPageOptions: {},
|
|
@@ -41367,7 +41374,7 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
41367
41374
|
a.value = !1;
|
|
41368
41375
|
}
|
|
41369
41376
|
}), (s, d) => (B(), Z(tt, null, [
|
|
41370
|
-
w("div",
|
|
41377
|
+
w("div", jA, A(s.$t("Order details")), 1),
|
|
41371
41378
|
D(x(Ht), { class: "q-ma-md subscripton-details" }, {
|
|
41372
41379
|
default: U(() => [
|
|
41373
41380
|
D(x(dt), null, {
|
|
@@ -41380,9 +41387,9 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
41380
41387
|
]),
|
|
41381
41388
|
Se(w("div", null, [
|
|
41382
41389
|
w("div", null, [
|
|
41383
|
-
w("div",
|
|
41390
|
+
w("div", zA, A(`${s.$t("Order Id")}: ${i.value?.providerOrderId ?? s.$t("Pending")}`), 1)
|
|
41384
41391
|
]),
|
|
41385
|
-
w("table",
|
|
41392
|
+
w("table", HA, [
|
|
41386
41393
|
w("tr", null, [
|
|
41387
41394
|
w("td", null, A(s.$t("Total price")), 1),
|
|
41388
41395
|
w("td", null, A(s.$formatCurrency(i.value?.total, i.value?.currency)), 1)
|
|
@@ -41395,7 +41402,7 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
41395
41402
|
], 512), [
|
|
41396
41403
|
[qe, !a.value && i.value]
|
|
41397
41404
|
]),
|
|
41398
|
-
w("span",
|
|
41405
|
+
w("span", QA, A(s.$t("Order items")), 1),
|
|
41399
41406
|
D(x(jn), {
|
|
41400
41407
|
"wrap-cells": "",
|
|
41401
41408
|
rows: i.value?.subscriptionOrderItems ?? [],
|
|
@@ -41420,7 +41427,7 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
41420
41427
|
})
|
|
41421
41428
|
], 64));
|
|
41422
41429
|
}
|
|
41423
|
-
}),
|
|
41430
|
+
}), KA = /* @__PURE__ */ at({
|
|
41424
41431
|
__name: "SubscriptionOrdersList",
|
|
41425
41432
|
props: {
|
|
41426
41433
|
subscriptionOrders: { default: () => [] },
|
|
@@ -41446,7 +41453,7 @@ const xR = { class: "text-h6" }, IR = { class: "q-mb-md" }, OR = { class: "q-mt-
|
|
|
41446
41453
|
}, null, 8, ["title", "rows", "no-data-label", "visible-columns"]));
|
|
41447
41454
|
}
|
|
41448
41455
|
});
|
|
41449
|
-
class
|
|
41456
|
+
class YA {
|
|
41450
41457
|
http;
|
|
41451
41458
|
baseUrl;
|
|
41452
41459
|
jsonParseReviver = void 0;
|
|
@@ -41534,7 +41541,7 @@ class wf {
|
|
|
41534
41541
|
return t = typeof t == "object" ? t : {}, t.firstName = this.firstName, t.lastName = this.lastName, t.email = this.email, t.telephone = this.telephone, t.company = this.company, t.comments = this.comments, t.rcToken = this.rcToken, t;
|
|
41535
41542
|
}
|
|
41536
41543
|
}
|
|
41537
|
-
class
|
|
41544
|
+
class JA extends Error {
|
|
41538
41545
|
message;
|
|
41539
41546
|
status;
|
|
41540
41547
|
response;
|
|
@@ -41549,15 +41556,15 @@ class UA extends Error {
|
|
|
41549
41556
|
}
|
|
41550
41557
|
}
|
|
41551
41558
|
function Lh(e, t, n, r, a) {
|
|
41552
|
-
throw a ?? new
|
|
41559
|
+
throw a ?? new JA(e, t, n, r, null);
|
|
41553
41560
|
}
|
|
41554
|
-
const
|
|
41561
|
+
const GA = { class: "contact-us-block q-mb-lg" }, XA = { class: "top wide" }, ZA = { class: "row" }, eL = { class: "col-12 text-center" }, tL = { class: "text-h6" }, nL = { class: "text-h3" }, rL = { class: "row" }, aL = { class: "col-xs-12 col-sm-6 offset-sm-3" }, iL = { class: "content" }, oL = {
|
|
41555
41562
|
key: 0,
|
|
41556
41563
|
class: "form-container text-center"
|
|
41557
|
-
},
|
|
41564
|
+
}, lL = { class: "text-h6" }, sL = { class: "row" }, uL = { class: "actions flex align-center" }, cL = { key: 1 }, dL = { class: "col-12 text-center" }, fL = { class: "text-h6" }, vL = { class: "text-h3" }, mL = { class: "row contact-info" }, hL = { class: "col-xs-12 col-lg-8 center" }, gL = { class: "content" }, pL = { class: "row" }, yL = { class: "col-xs-12 col-sm-6 col-md-3 relative" }, bL = { class: "col-xs-12 col-sm-6 col-md-3 relative" }, _L = { class: "col-xs-12 col-sm-6 col-md-3 relative" }, wL = { class: "content" }, SL = {
|
|
41558
41565
|
href: "https://maps.app.goo.gl/13u9L5V8kXTfXr4w8",
|
|
41559
41566
|
target: "_blank"
|
|
41560
|
-
},
|
|
41567
|
+
}, CL = /* @__PURE__ */ at({
|
|
41561
41568
|
__name: "ContactUs",
|
|
41562
41569
|
props: {
|
|
41563
41570
|
recaptchaSiteKey: {}
|
|
@@ -41580,7 +41587,7 @@ const jA = { class: "contact-us-block q-mb-lg" }, zA = { class: "top wide" }, HA
|
|
|
41580
41587
|
comments: null
|
|
41581
41588
|
}), a = R(!1);
|
|
41582
41589
|
async function i() {
|
|
41583
|
-
const u = new
|
|
41590
|
+
const u = new YA();
|
|
41584
41591
|
try {
|
|
41585
41592
|
const c = await o();
|
|
41586
41593
|
let s = wf.fromJS({ ...r, rcToken: c });
|
|
@@ -41609,27 +41616,27 @@ const jA = { class: "contact-us-block q-mb-lg" }, zA = { class: "top wide" }, HA
|
|
|
41609
41616
|
function l(u) {
|
|
41610
41617
|
return /^(?=[a-zA-Z0-9@._%+-]{6,254}$)[a-zA-Z0-9._%+-]{1,64}@(?:[a-zA-Z0-9-]{1,63}\.){1,8}[a-zA-Z]{2,63}$/.test(u) || "Invalid email";
|
|
41611
41618
|
}
|
|
41612
|
-
return (u, c) => (B(), Z("div",
|
|
41613
|
-
w("div",
|
|
41614
|
-
w("div",
|
|
41615
|
-
w("div",
|
|
41616
|
-
w("div",
|
|
41617
|
-
w("div",
|
|
41619
|
+
return (u, c) => (B(), Z("div", GA, [
|
|
41620
|
+
w("div", XA, [
|
|
41621
|
+
w("div", ZA, [
|
|
41622
|
+
w("div", eL, [
|
|
41623
|
+
w("div", tL, A(u.$t("Contact Us")), 1),
|
|
41624
|
+
w("div", nL, A(u.$t("We’d love to hear from you")), 1),
|
|
41618
41625
|
w("p", null, A(u.$t(`Whether you have a question about features, trials, pricing, need a demo, or anything else,
|
|
41619
41626
|
our team is ready to answer all your questions.`)), 1)
|
|
41620
41627
|
])
|
|
41621
41628
|
])
|
|
41622
41629
|
]),
|
|
41623
|
-
w("div",
|
|
41624
|
-
w("div",
|
|
41625
|
-
w("div",
|
|
41626
|
-
a.value ? (B(), Z("div",
|
|
41627
|
-
w("div",
|
|
41628
|
-
w("div",
|
|
41629
|
-
w("div",
|
|
41630
|
+
w("div", rL, [
|
|
41631
|
+
w("div", aL, [
|
|
41632
|
+
w("div", iL, [
|
|
41633
|
+
a.value ? (B(), Z("div", cL, [
|
|
41634
|
+
w("div", dL, [
|
|
41635
|
+
w("div", fL, A(u.$t("ThankYouForContactingStockChannel")), 1),
|
|
41636
|
+
w("div", vL, A(u.$t("OneOfTheTeamWillComeBackToYouShortly")), 1)
|
|
41630
41637
|
])
|
|
41631
|
-
])) : (B(), Z("div",
|
|
41632
|
-
w("div",
|
|
41638
|
+
])) : (B(), Z("div", oL, [
|
|
41639
|
+
w("div", lL, A(u.$t("Get In Touch")), 1),
|
|
41633
41640
|
w("p", null, A(u.$t(`Arrange a free call back from our expert team to find out how Cloud in the Channel can
|
|
41634
41641
|
transform your business.`)), 1),
|
|
41635
41642
|
D(x(fd), {
|
|
@@ -41637,7 +41644,7 @@ const jA = { class: "contact-us-block q-mb-lg" }, zA = { class: "top wide" }, HA
|
|
|
41637
41644
|
class: "q-gutter-md"
|
|
41638
41645
|
}, {
|
|
41639
41646
|
default: U(() => [
|
|
41640
|
-
w("div",
|
|
41647
|
+
w("div", sL, [
|
|
41641
41648
|
D(x(qt), {
|
|
41642
41649
|
rounded: "",
|
|
41643
41650
|
outlined: "",
|
|
@@ -41706,7 +41713,7 @@ const jA = { class: "contact-us-block q-mb-lg" }, zA = { class: "top wide" }, HA
|
|
|
41706
41713
|
rules: [(s) => s && s.length > 0 || "This field is required"]
|
|
41707
41714
|
}, null, 8, ["modelValue", "rules"])
|
|
41708
41715
|
]),
|
|
41709
|
-
w("div",
|
|
41716
|
+
w("div", uL, [
|
|
41710
41717
|
D(x(De), {
|
|
41711
41718
|
size: "lg",
|
|
41712
41719
|
rounded: "",
|
|
@@ -41723,11 +41730,11 @@ const jA = { class: "contact-us-block q-mb-lg" }, zA = { class: "top wide" }, HA
|
|
|
41723
41730
|
])
|
|
41724
41731
|
])
|
|
41725
41732
|
]),
|
|
41726
|
-
w("div",
|
|
41727
|
-
w("div",
|
|
41728
|
-
w("div",
|
|
41729
|
-
w("div",
|
|
41730
|
-
w("div",
|
|
41733
|
+
w("div", mL, [
|
|
41734
|
+
w("div", hL, [
|
|
41735
|
+
w("div", gL, [
|
|
41736
|
+
w("div", pL, [
|
|
41737
|
+
w("div", yL, [
|
|
41731
41738
|
c[13] || (c[13] = w("img", {
|
|
41732
41739
|
src: "/img/graphics/contact/telephone.svg",
|
|
41733
41740
|
class: "avatar"
|
|
@@ -41761,7 +41768,7 @@ const jA = { class: "contact-us-block q-mb-lg" }, zA = { class: "top wide" }, HA
|
|
|
41761
41768
|
c[12] || (c[12] = w("a", { href: "tel:+44203 053 9520" }, "(+44) 203 053 9520", -1))
|
|
41762
41769
|
])
|
|
41763
41770
|
]),
|
|
41764
|
-
w("div",
|
|
41771
|
+
w("div", bL, [
|
|
41765
41772
|
c[17] || (c[17] = w("img", {
|
|
41766
41773
|
src: "/img/graphics/contact/email.svg",
|
|
41767
41774
|
class: "avatar"
|
|
@@ -41779,13 +41786,13 @@ const jA = { class: "contact-us-block q-mb-lg" }, zA = { class: "top wide" }, HA
|
|
|
41779
41786
|
c[16] || (c[16] = w("a", { href: "mailto:partners@cloudinthechannel.com" }, "partners@cloudinthechannel.com", -1))
|
|
41780
41787
|
])
|
|
41781
41788
|
]),
|
|
41782
|
-
w("div",
|
|
41789
|
+
w("div", _L, [
|
|
41783
41790
|
c[19] || (c[19] = w("img", {
|
|
41784
41791
|
src: "/img/graphics/contact/map.svg",
|
|
41785
41792
|
class: "avatar"
|
|
41786
41793
|
}, null, -1)),
|
|
41787
|
-
w("div",
|
|
41788
|
-
w("a",
|
|
41794
|
+
w("div", wL, [
|
|
41795
|
+
w("a", SL, [
|
|
41789
41796
|
Me(A(u.$t("Florinis 11, CITY FORUM, 1st floor, Office 102")), 1),
|
|
41790
41797
|
c[18] || (c[18] = w("br", null, null, -1)),
|
|
41791
41798
|
Me(A(u.$t("Nicosia | 1065")), 1)
|
|
@@ -41798,7 +41805,7 @@ const jA = { class: "contact-us-block q-mb-lg" }, zA = { class: "top wide" }, HA
|
|
|
41798
41805
|
])
|
|
41799
41806
|
]));
|
|
41800
41807
|
}
|
|
41801
|
-
}),
|
|
41808
|
+
}), kL = Ct`
|
|
41802
41809
|
mutation addItemToBasket($data: CreateBasketInputItemInput!) {
|
|
41803
41810
|
addItemToBasket(input: { item: $data }) {
|
|
41804
41811
|
createBasketPayload {
|
|
@@ -41828,7 +41835,7 @@ const jA = { class: "contact-us-block q-mb-lg" }, zA = { class: "top wide" }, HA
|
|
|
41828
41835
|
}
|
|
41829
41836
|
}
|
|
41830
41837
|
}
|
|
41831
|
-
`,
|
|
41838
|
+
`, TL = Ct`
|
|
41832
41839
|
mutation changeBasketItemQty($data: ChangeBasketItemQtyInput!) {
|
|
41833
41840
|
changeBasketItemQty(input: $data) {
|
|
41834
41841
|
createBasketPayload {
|
|
@@ -41858,7 +41865,7 @@ const jA = { class: "contact-us-block q-mb-lg" }, zA = { class: "top wide" }, HA
|
|
|
41858
41865
|
}
|
|
41859
41866
|
}
|
|
41860
41867
|
}
|
|
41861
|
-
`,
|
|
41868
|
+
`, EL = Ct`
|
|
41862
41869
|
mutation removeItemFromBasket($data: RemoveItemFromBasketInput!) {
|
|
41863
41870
|
removeItemFromBasket(input: $data) {
|
|
41864
41871
|
createBasketPayload {
|
|
@@ -41888,7 +41895,7 @@ const jA = { class: "contact-us-block q-mb-lg" }, zA = { class: "top wide" }, HA
|
|
|
41888
41895
|
}
|
|
41889
41896
|
}
|
|
41890
41897
|
}
|
|
41891
|
-
`,
|
|
41898
|
+
`, xL = Ct`
|
|
41892
41899
|
mutation saveVendorParameters($data: SaveVendorParametersInput!) {
|
|
41893
41900
|
saveVendorParameters(saveVendorParametersInput: $data) {
|
|
41894
41901
|
boolean
|
|
@@ -41897,7 +41904,7 @@ const jA = { class: "contact-us-block q-mb-lg" }, zA = { class: "top wide" }, HA
|
|
|
41897
41904
|
}
|
|
41898
41905
|
}
|
|
41899
41906
|
}
|
|
41900
|
-
`,
|
|
41907
|
+
`, IL = Ct`
|
|
41901
41908
|
mutation placeSalesOrder($data: PlaceSalesOrderInput!) {
|
|
41902
41909
|
placeSalesOrder(createSalesOrderInput: $data) {
|
|
41903
41910
|
salesOrderId
|
|
@@ -41906,7 +41913,7 @@ const jA = { class: "contact-us-block q-mb-lg" }, zA = { class: "top wide" }, HA
|
|
|
41906
41913
|
}
|
|
41907
41914
|
}
|
|
41908
41915
|
}
|
|
41909
|
-
`,
|
|
41916
|
+
`, OL = Ct`
|
|
41910
41917
|
mutation setBasketCustomer($data: SetBasketCustomerInput!) {
|
|
41911
41918
|
setBasketCustomer(input: $data) {
|
|
41912
41919
|
boolean
|
|
@@ -41915,7 +41922,7 @@ const jA = { class: "contact-us-block q-mb-lg" }, zA = { class: "top wide" }, HA
|
|
|
41915
41922
|
}
|
|
41916
41923
|
}
|
|
41917
41924
|
}
|
|
41918
|
-
`,
|
|
41925
|
+
`, PL = Ct`
|
|
41919
41926
|
query {
|
|
41920
41927
|
currentBasket {
|
|
41921
41928
|
id
|
|
@@ -41945,11 +41952,11 @@ const jA = { class: "contact-us-block q-mb-lg" }, zA = { class: "top wide" }, HA
|
|
|
41945
41952
|
}
|
|
41946
41953
|
}
|
|
41947
41954
|
`;
|
|
41948
|
-
class
|
|
41955
|
+
class qL {
|
|
41949
41956
|
async addItemToBasket(t) {
|
|
41950
41957
|
try {
|
|
41951
41958
|
return (await Nt.mutate({
|
|
41952
|
-
mutation:
|
|
41959
|
+
mutation: kL,
|
|
41953
41960
|
variables: { data: t }
|
|
41954
41961
|
})).data.addItemToBasket;
|
|
41955
41962
|
} catch (n) {
|
|
@@ -41959,7 +41966,7 @@ class CL {
|
|
|
41959
41966
|
async changeBasketItemQty(t) {
|
|
41960
41967
|
try {
|
|
41961
41968
|
return (await Nt.mutate({
|
|
41962
|
-
mutation:
|
|
41969
|
+
mutation: TL,
|
|
41963
41970
|
variables: { data: t }
|
|
41964
41971
|
})).data.changeBasketItemQty;
|
|
41965
41972
|
} catch (n) {
|
|
@@ -41969,7 +41976,7 @@ class CL {
|
|
|
41969
41976
|
async removeItemFromBasket(t) {
|
|
41970
41977
|
try {
|
|
41971
41978
|
return (await Nt.mutate({
|
|
41972
|
-
mutation:
|
|
41979
|
+
mutation: EL,
|
|
41973
41980
|
variables: { data: t }
|
|
41974
41981
|
})).data.removeItemFromBasket;
|
|
41975
41982
|
} catch (n) {
|
|
@@ -41979,7 +41986,7 @@ class CL {
|
|
|
41979
41986
|
async saveVendorParameters(t) {
|
|
41980
41987
|
try {
|
|
41981
41988
|
const r = (await Nt.mutate({
|
|
41982
|
-
mutation:
|
|
41989
|
+
mutation: xL,
|
|
41983
41990
|
variables: { data: t }
|
|
41984
41991
|
})).data.saveVendorParameters;
|
|
41985
41992
|
return r.errors ? r.errors.length == 0 : !0;
|
|
@@ -41989,14 +41996,14 @@ class CL {
|
|
|
41989
41996
|
}
|
|
41990
41997
|
async placeSalesOrder(t) {
|
|
41991
41998
|
return (await Nt.mutate({
|
|
41992
|
-
mutation:
|
|
41999
|
+
mutation: IL,
|
|
41993
42000
|
variables: { data: t }
|
|
41994
42001
|
})).data.placeSalesOrder;
|
|
41995
42002
|
}
|
|
41996
42003
|
async setBasketCustomer(t) {
|
|
41997
42004
|
try {
|
|
41998
42005
|
const r = (await Nt.mutate({
|
|
41999
|
-
mutation:
|
|
42006
|
+
mutation: OL,
|
|
42000
42007
|
variables: { data: t }
|
|
42001
42008
|
})).data.setBasketCustomer;
|
|
42002
42009
|
return r.errors ? r.errors.length == 0 : !0;
|
|
@@ -42007,14 +42014,14 @@ class CL {
|
|
|
42007
42014
|
async getCurrentBasket() {
|
|
42008
42015
|
try {
|
|
42009
42016
|
return (await Nt.query({
|
|
42010
|
-
query:
|
|
42017
|
+
query: PL
|
|
42011
42018
|
})).data.currentBasket;
|
|
42012
42019
|
} catch (t) {
|
|
42013
42020
|
throw t;
|
|
42014
42021
|
}
|
|
42015
42022
|
}
|
|
42016
42023
|
}
|
|
42017
|
-
const
|
|
42024
|
+
const $L = { class: "text-body q-mr-md" }, NL = { class: "text-body q-mr-md" }, DL = { class: "text-body q-mr-md" }, RL = { key: 0 }, AL = { class: "text-body q-mr-md" }, LL = { class: "text-body q-mr-md" }, ML = { class: "row" }, FL = { class: "col-2" }, VL = { class: "text-body q-mr-md" }, BL = { class: "row" }, UL = { class: "col-2" }, jL = { class: "text-body q-mr-md" }, zL = { key: 0 }, b0 = /* @__PURE__ */ at({
|
|
42018
42025
|
__name: "BasketItemsTable",
|
|
42019
42026
|
props: {
|
|
42020
42027
|
basket: {},
|
|
@@ -42026,8 +42033,8 @@ const kL = { class: "text-body q-mr-md" }, TL = { class: "text-body q-mr-md" },
|
|
|
42026
42033
|
},
|
|
42027
42034
|
emits: ["onBasketItemRemoved", "onBasketChanged"],
|
|
42028
42035
|
setup(e, { expose: t, emit: n }) {
|
|
42029
|
-
const r = e, a = n, i = R(), o = R(!1), l = Xn(), { t: u } = an(), c = new
|
|
42030
|
-
{ align: "left", sortable: !1, name: "
|
|
42036
|
+
const r = e, a = n, i = R(), o = R(!1), l = Xn(), { t: u } = an(), c = new qL(), s = R([]), d = [
|
|
42037
|
+
{ align: "left", sortable: !1, name: "mpn", label: u("Sku"), field: "mpn" },
|
|
42031
42038
|
{ align: "left", sortable: !1, name: "externalSystemType", label: u("Provider"), field: "externalSystemType" },
|
|
42032
42039
|
{ align: "left", sortable: !1, name: "name", label: u("Name"), field: "name" },
|
|
42033
42040
|
{ align: "left", sortable: !1, name: "quantity", label: u("Qty"), field: "quantity" },
|
|
@@ -42142,27 +42149,27 @@ const kL = { class: "text-body q-mr-md" }, TL = { class: "text-body q-mr-md" },
|
|
|
42142
42149
|
body: U((C) => [
|
|
42143
42150
|
D(x(ur), { props: C }, {
|
|
42144
42151
|
default: U(() => [
|
|
42145
|
-
D(x(Ae), { key: "
|
|
42152
|
+
D(x(Ae), { key: "mpn" }, {
|
|
42146
42153
|
default: U(() => [
|
|
42147
|
-
w("span",
|
|
42154
|
+
w("span", $L, A(C.row.product.mpn), 1)
|
|
42148
42155
|
]),
|
|
42149
42156
|
_: 2
|
|
42150
42157
|
}, 1024),
|
|
42151
42158
|
D(x(Ae), { key: "externalSystemType" }, {
|
|
42152
42159
|
default: U(() => [
|
|
42153
|
-
w("span",
|
|
42160
|
+
w("span", NL, A(C.row.product.externalSystemType), 1)
|
|
42154
42161
|
]),
|
|
42155
42162
|
_: 2
|
|
42156
42163
|
}, 1024),
|
|
42157
42164
|
D(x(Ae), { key: "name" }, {
|
|
42158
42165
|
default: U(() => [
|
|
42159
|
-
w("span",
|
|
42166
|
+
w("span", DL, A(C.row.product.name), 1)
|
|
42160
42167
|
]),
|
|
42161
42168
|
_: 2
|
|
42162
42169
|
}, 1024),
|
|
42163
42170
|
D(x(Ae), { key: "quantity" }, {
|
|
42164
42171
|
default: U(() => [
|
|
42165
|
-
r.disable ? (B(), Z("span",
|
|
42172
|
+
r.disable ? (B(), Z("span", RL, A(C.row.product.quantity), 1)) : (B(), Oe(x(qt), {
|
|
42166
42173
|
key: 1,
|
|
42167
42174
|
modelValue: C.row.product.quantity,
|
|
42168
42175
|
"onUpdate:modelValue": [(T) => C.row.product.quantity = T, (T) => S(C.row)],
|
|
@@ -42177,7 +42184,7 @@ const kL = { class: "text-body q-mr-md" }, TL = { class: "text-body q-mr-md" },
|
|
|
42177
42184
|
}, 1024),
|
|
42178
42185
|
Se(D(x(Ae), { key: "cost" }, {
|
|
42179
42186
|
default: U(() => [
|
|
42180
|
-
w("span",
|
|
42187
|
+
w("span", AL, A(h.$formatCurrency(C.row.product.price, r.basket?.currency)), 1)
|
|
42181
42188
|
]),
|
|
42182
42189
|
_: 2
|
|
42183
42190
|
}, 1536), [
|
|
@@ -42185,15 +42192,15 @@ const kL = { class: "text-body q-mr-md" }, TL = { class: "text-body q-mr-md" },
|
|
|
42185
42192
|
]),
|
|
42186
42193
|
D(x(Ae), { key: "price" }, {
|
|
42187
42194
|
default: U(() => [
|
|
42188
|
-
w("span",
|
|
42195
|
+
w("span", LL, A(C.row.product.msrp ? h.$formatCurrency(C.row.product.msrp, r.basket?.currency) : h.$t("n/a")), 1)
|
|
42189
42196
|
]),
|
|
42190
42197
|
_: 2
|
|
42191
42198
|
}, 1024),
|
|
42192
42199
|
Se(D(x(Ae), { key: "totalCost" }, {
|
|
42193
42200
|
default: U(() => [
|
|
42194
|
-
w("div",
|
|
42195
|
-
w("div",
|
|
42196
|
-
w("span",
|
|
42201
|
+
w("div", ML, [
|
|
42202
|
+
w("div", FL, [
|
|
42203
|
+
w("span", VL, A(C.row.product.totalCost ? h.$formatCurrency(C.row.product.totalCost, r.basket?.currency) : h.$t("n/a")), 1)
|
|
42197
42204
|
])
|
|
42198
42205
|
])
|
|
42199
42206
|
]),
|
|
@@ -42203,9 +42210,9 @@ const kL = { class: "text-body q-mr-md" }, TL = { class: "text-body q-mr-md" },
|
|
|
42203
42210
|
]),
|
|
42204
42211
|
D(x(Ae), { key: "totalPrice" }, {
|
|
42205
42212
|
default: U(() => [
|
|
42206
|
-
w("div",
|
|
42207
|
-
w("div",
|
|
42208
|
-
w("span",
|
|
42213
|
+
w("div", BL, [
|
|
42214
|
+
w("div", UL, [
|
|
42215
|
+
w("span", jL, A(C.row.product.totalPrice ? h.$formatCurrency(C.row.product.totalPrice, r.basket?.currency) : h.$t("n/a")), 1)
|
|
42209
42216
|
])
|
|
42210
42217
|
])
|
|
42211
42218
|
]),
|
|
@@ -42281,7 +42288,7 @@ const kL = { class: "text-body q-mr-md" }, TL = { class: "text-body q-mr-md" },
|
|
|
42281
42288
|
}, 1024),
|
|
42282
42289
|
D(x(Ae), { style: { width: "120px" } }, {
|
|
42283
42290
|
default: U(() => [
|
|
42284
|
-
r.disable ? (B(), Z("span",
|
|
42291
|
+
r.disable ? (B(), Z("span", zL, A(T.quantity), 1)) : (B(), Oe(x(qt), {
|
|
42285
42292
|
key: 1,
|
|
42286
42293
|
modelValue: T.quantity,
|
|
42287
42294
|
"onUpdate:modelValue": [(E) => T.quantity = E, (E) => b(C.row, T)],
|
|
@@ -42296,7 +42303,10 @@ const kL = { class: "text-body q-mr-md" }, TL = { class: "text-body q-mr-md" },
|
|
|
42296
42303
|
}, 1024),
|
|
42297
42304
|
Se(D(x(Ae), null, {
|
|
42298
42305
|
default: U(() => [
|
|
42299
|
-
Me(A(h.$formatCurrency(
|
|
42306
|
+
Me(A(h.$formatCurrency(
|
|
42307
|
+
T.price,
|
|
42308
|
+
r.basket?.currency
|
|
42309
|
+
)), 1)
|
|
42300
42310
|
]),
|
|
42301
42311
|
_: 2
|
|
42302
42312
|
}, 1536), [
|
|
@@ -42352,7 +42362,7 @@ const kL = { class: "text-body q-mr-md" }, TL = { class: "text-body q-mr-md" },
|
|
|
42352
42362
|
}, 8, ["rows", "columns", "rows-per-page-options", "loading", "visible-columns"]));
|
|
42353
42363
|
}
|
|
42354
42364
|
});
|
|
42355
|
-
const
|
|
42365
|
+
const HL = { class: "customer-top" }, QL = { class: "text-h6 primary-color customer-name" }, WL = { class: "text-weight-medium" }, KL = /* @__PURE__ */ at({
|
|
42356
42366
|
__name: "CustomerDetailsSection",
|
|
42357
42367
|
props: {
|
|
42358
42368
|
isDataLoading: { type: Boolean },
|
|
@@ -42372,13 +42382,13 @@ const LL = { class: "customer-top" }, ML = { class: "text-h6 primary-color custo
|
|
|
42372
42382
|
]),
|
|
42373
42383
|
w("div", null, [
|
|
42374
42384
|
Se(w("div", null, [
|
|
42375
|
-
w("p",
|
|
42376
|
-
w("span",
|
|
42385
|
+
w("p", HL, [
|
|
42386
|
+
w("span", QL, A(`${n.customerDetails?.companyName}`), 1),
|
|
42377
42387
|
Se(w("span", { class: "customer-id" }, A(`[${n.customerDetails?.providerCustomerId}]`), 513), [
|
|
42378
42388
|
[qe, !t.value]
|
|
42379
42389
|
])
|
|
42380
42390
|
]),
|
|
42381
|
-
w("p",
|
|
42391
|
+
w("p", WL, A(r.$t("Address")), 1),
|
|
42382
42392
|
w("p", null, A([
|
|
42383
42393
|
n.customerDetails?.addressLine1,
|
|
42384
42394
|
n.customerDetails?.addressLine2,
|
|
@@ -42522,7 +42532,7 @@ class _0 {
|
|
|
42522
42532
|
}
|
|
42523
42533
|
}
|
|
42524
42534
|
}
|
|
42525
|
-
const
|
|
42535
|
+
const YL = { class: "text-h5 q-ma-md" }, JL = { class: "flex justify-between" }, GL = { class: "col-4 text-h6 primary-color" }, XL = { class: "row" }, ZL = { class: "col-4" }, eM = { class: "specs" }, tM = { key: 0 }, nM = { key: 1 }, rM = { class: "col-4" }, aM = { class: "specs" }, iM = { class: "col-4" }, oM = { class: "text-h6 primary-color" }, lM = { class: "text-right" }, sM = /* @__PURE__ */ at({
|
|
42526
42536
|
__name: "QuoteDetails",
|
|
42527
42537
|
props: {
|
|
42528
42538
|
rowsPerPageOptions: {},
|
|
@@ -42609,7 +42619,7 @@ const BL = { class: "text-h5 q-ma-md" }, UL = { class: "flex justify-between" },
|
|
|
42609
42619
|
r.value ? (d.value = P.indexOf(r.value.status) === -1, f.value = I.indexOf(r.value.status) === -1, v.value = q.indexOf(r.value.status) === -1) : (d.value = !1, f.value = !1, v.value = !1);
|
|
42610
42620
|
}
|
|
42611
42621
|
return t({ getBasketDetails: k }), (P, I) => (B(), Z(tt, null, [
|
|
42612
|
-
w("div",
|
|
42622
|
+
w("div", YL, A(P.$t("Quote details")), 1),
|
|
42613
42623
|
Se(D(x(gr), {
|
|
42614
42624
|
height: "200px",
|
|
42615
42625
|
square: ""
|
|
@@ -42621,8 +42631,8 @@ const BL = { class: "text-h5 q-ma-md" }, UL = { class: "flex justify-between" },
|
|
|
42621
42631
|
default: U(() => [
|
|
42622
42632
|
D(x(dt), null, {
|
|
42623
42633
|
default: U(() => [
|
|
42624
|
-
w("div",
|
|
42625
|
-
w("div",
|
|
42634
|
+
w("div", JL, [
|
|
42635
|
+
w("div", GL, A(`${P.$t("Quote Id")}: ${r.value?.id}`), 1),
|
|
42626
42636
|
D(x(fa), { align: "right" }, {
|
|
42627
42637
|
default: U(() => [
|
|
42628
42638
|
D(x(De), {
|
|
@@ -42647,18 +42657,18 @@ const BL = { class: "text-h5 q-ma-md" }, UL = { class: "flex justify-between" },
|
|
|
42647
42657
|
_: 1
|
|
42648
42658
|
})
|
|
42649
42659
|
]),
|
|
42650
|
-
w("div",
|
|
42651
|
-
w("div",
|
|
42652
|
-
w("table",
|
|
42660
|
+
w("div", XL, [
|
|
42661
|
+
w("div", ZL, [
|
|
42662
|
+
w("table", eM, [
|
|
42653
42663
|
w("tr", null, [
|
|
42654
42664
|
w("td", null, A(P.$t("Customer")), 1),
|
|
42655
42665
|
w("td", null, A(r.value?.customerName), 1)
|
|
42656
42666
|
]),
|
|
42657
|
-
r.value?.providerCustomerIds && r.value?.providerCustomerIds.length > 0 ? (B(), Z("tr",
|
|
42667
|
+
r.value?.providerCustomerIds && r.value?.providerCustomerIds.length > 0 ? (B(), Z("tr", tM, [
|
|
42658
42668
|
w("td", null, A(P.$t("Provider")), 1),
|
|
42659
42669
|
w("td", null, A(P.$t(r.value?.providerCustomerIds[0].externalSystemType)), 1)
|
|
42660
42670
|
])) : _e("", !0),
|
|
42661
|
-
r.value?.providerCustomerIds && r.value?.providerCustomerIds.length > 0 ? (B(), Z("tr",
|
|
42671
|
+
r.value?.providerCustomerIds && r.value?.providerCustomerIds.length > 0 ? (B(), Z("tr", nM, [
|
|
42662
42672
|
w("td", null, A(P.$t("Provider Customer Id")), 1),
|
|
42663
42673
|
w("td", null, A(P.$t(r.value?.providerCustomerIds[0].providerCustomerId)), 1)
|
|
42664
42674
|
])) : _e("", !0),
|
|
@@ -42668,8 +42678,8 @@ const BL = { class: "text-h5 q-ma-md" }, UL = { class: "flex justify-between" },
|
|
|
42668
42678
|
])
|
|
42669
42679
|
])
|
|
42670
42680
|
]),
|
|
42671
|
-
w("div",
|
|
42672
|
-
w("table",
|
|
42681
|
+
w("div", rM, [
|
|
42682
|
+
w("table", aM, [
|
|
42673
42683
|
w("tr", null, [
|
|
42674
42684
|
w("td", null, A(P.$t("Admin Contact")), 1)
|
|
42675
42685
|
]),
|
|
@@ -42688,7 +42698,7 @@ const BL = { class: "text-h5 q-ma-md" }, UL = { class: "flex justify-between" },
|
|
|
42688
42698
|
])
|
|
42689
42699
|
])
|
|
42690
42700
|
]),
|
|
42691
|
-
w("div",
|
|
42701
|
+
w("div", iM, [
|
|
42692
42702
|
D(x(jn), {
|
|
42693
42703
|
title: P.$t("History"),
|
|
42694
42704
|
rows: r.value?.basketStatusHistoriesPayload ?? [],
|
|
@@ -42702,7 +42712,7 @@ const BL = { class: "text-h5 q-ma-md" }, UL = { class: "flex justify-between" },
|
|
|
42702
42712
|
}),
|
|
42703
42713
|
D(x(dt), null, {
|
|
42704
42714
|
default: U(() => [
|
|
42705
|
-
w("div",
|
|
42715
|
+
w("div", oM, A(P.$t("Items")), 1),
|
|
42706
42716
|
D(b0, {
|
|
42707
42717
|
ref_key: "basketItemsTableVue",
|
|
42708
42718
|
ref: m,
|
|
@@ -42719,7 +42729,7 @@ const BL = { class: "text-h5 q-ma-md" }, UL = { class: "flex justify-between" },
|
|
|
42719
42729
|
D(x(dt), { align: "right" }, {
|
|
42720
42730
|
default: U(() => [
|
|
42721
42731
|
w("table", null, [
|
|
42722
|
-
w("tr",
|
|
42732
|
+
w("tr", lM, [
|
|
42723
42733
|
w("td", null, A(P.$t("Total price")), 1),
|
|
42724
42734
|
w("td", null, A(P.$formatCurrency(r.value?.totalPrice, r.value?.currency)), 1)
|
|
42725
42735
|
])
|
|
@@ -42758,10 +42768,10 @@ const BL = { class: "text-h5 q-ma-md" }, UL = { class: "flex justify-between" },
|
|
|
42758
42768
|
])
|
|
42759
42769
|
], 64));
|
|
42760
42770
|
}
|
|
42761
|
-
}),
|
|
42771
|
+
}), uM = {
|
|
42762
42772
|
key: 0,
|
|
42763
42773
|
class: "text-h6 q-mt-md"
|
|
42764
|
-
},
|
|
42774
|
+
}, cM = { class: "row justify-between" }, dM = { class: "col-10 big" }, fM = { class: "row justify-between" }, vM = { class: "col-2" }, mM = { class: "col-2" }, hM = { class: "col-2" }, gM = { class: "col-6" }, pM = { class: "row" }, yM = { class: "col-6 div-5" }, bM = { class: "col-6" }, _M = { class: "col-2 q-pl-sm text-center small" }, wM = { class: "q-my-md" }, SM = { class: "text-h6" }, CM = { class: "negative full-width" }, kM = { class: "text-body q-mr-md" }, TM = { class: "text-body q-mr-md" }, EM = { class: "text-body q-mr-md" }, xM = { class: "text-body q-mr-md" }, IM = { class: "text-body q-mr-md" }, OM = { class: "text-body q-mr-md" }, PM = /* @__PURE__ */ at({
|
|
42765
42775
|
__name: "QuoteIndex",
|
|
42766
42776
|
props: {
|
|
42767
42777
|
rowsPerPageOptions: {},
|
|
@@ -42855,11 +42865,11 @@ const BL = { class: "text-h5 q-ma-md" }, UL = { class: "flex justify-between" },
|
|
|
42855
42865
|
v.value.dateRange || (v.value.dateRange = { from: "", to: "" });
|
|
42856
42866
|
}
|
|
42857
42867
|
return t({ onSearchClick: m }), (h, g) => (B(), Z("div", null, [
|
|
42858
|
-
d.pageTitle ? (B(), Z("span",
|
|
42859
|
-
Se(w("div",
|
|
42860
|
-
w("div",
|
|
42861
|
-
w("div",
|
|
42862
|
-
w("div",
|
|
42868
|
+
d.pageTitle ? (B(), Z("span", uM, A(d.pageTitle), 1)) : _e("", !0),
|
|
42869
|
+
Se(w("div", cM, [
|
|
42870
|
+
w("div", dM, [
|
|
42871
|
+
w("div", fM, [
|
|
42872
|
+
w("div", vM, [
|
|
42863
42873
|
D(x(qt), {
|
|
42864
42874
|
class: "q-ml-sm",
|
|
42865
42875
|
outlined: "",
|
|
@@ -42873,7 +42883,7 @@ const BL = { class: "text-h5 q-ma-md" }, UL = { class: "flex justify-between" },
|
|
|
42873
42883
|
clearable: ""
|
|
42874
42884
|
}, null, 8, ["modelValue", "label"])
|
|
42875
42885
|
]),
|
|
42876
|
-
w("div",
|
|
42886
|
+
w("div", mM, [
|
|
42877
42887
|
D(x(qt), {
|
|
42878
42888
|
outlined: "",
|
|
42879
42889
|
rounded: "",
|
|
@@ -42886,7 +42896,7 @@ const BL = { class: "text-h5 q-ma-md" }, UL = { class: "flex justify-between" },
|
|
|
42886
42896
|
clearable: ""
|
|
42887
42897
|
}, null, 8, ["modelValue", "label"])
|
|
42888
42898
|
]),
|
|
42889
|
-
w("div",
|
|
42899
|
+
w("div", hM, [
|
|
42890
42900
|
D(x(Dn), {
|
|
42891
42901
|
outlined: "",
|
|
42892
42902
|
rounded: "",
|
|
@@ -42903,9 +42913,9 @@ const BL = { class: "text-h5 q-ma-md" }, UL = { class: "flex justify-between" },
|
|
|
42903
42913
|
clearable: ""
|
|
42904
42914
|
}, null, 8, ["modelValue", "options", "label"])
|
|
42905
42915
|
]),
|
|
42906
|
-
w("div",
|
|
42907
|
-
w("div",
|
|
42908
|
-
w("div",
|
|
42916
|
+
w("div", gM, [
|
|
42917
|
+
w("div", pM, [
|
|
42918
|
+
w("div", yM, [
|
|
42909
42919
|
D(x(qt), {
|
|
42910
42920
|
class: "q-ml-sm",
|
|
42911
42921
|
rounded: "",
|
|
@@ -42948,7 +42958,7 @@ const BL = { class: "text-h5 q-ma-md" }, UL = { class: "flex justify-between" },
|
|
|
42948
42958
|
_: 1
|
|
42949
42959
|
}, 8, ["label", "modelValue"])
|
|
42950
42960
|
]),
|
|
42951
|
-
w("div",
|
|
42961
|
+
w("div", bM, [
|
|
42952
42962
|
D(x(qt), {
|
|
42953
42963
|
"hide-bottom-space": "",
|
|
42954
42964
|
rounded: "",
|
|
@@ -42995,7 +43005,7 @@ const BL = { class: "text-h5 q-ma-md" }, UL = { class: "flex justify-between" },
|
|
|
42995
43005
|
])
|
|
42996
43006
|
])
|
|
42997
43007
|
]),
|
|
42998
|
-
w("div",
|
|
43008
|
+
w("div", _M, [
|
|
42999
43009
|
D(x(De), {
|
|
43000
43010
|
rounded: "",
|
|
43001
43011
|
color: "primary",
|
|
@@ -43007,10 +43017,10 @@ const BL = { class: "text-h5 q-ma-md" }, UL = { class: "flex justify-between" },
|
|
|
43007
43017
|
], 512), [
|
|
43008
43018
|
[qe, d.exibitionMode === x(un).ResellerInfo]
|
|
43009
43019
|
]),
|
|
43010
|
-
w("div",
|
|
43011
|
-
w("span",
|
|
43020
|
+
w("div", wM, [
|
|
43021
|
+
w("span", SM, A(h.$t("Quotes")), 1)
|
|
43012
43022
|
]),
|
|
43013
|
-
Se(w("div",
|
|
43023
|
+
Se(w("div", CM, [
|
|
43014
43024
|
w("span", null, A(h.$t("Error fetching quotes")), 1)
|
|
43015
43025
|
], 512), [
|
|
43016
43026
|
[qe, u.value]
|
|
@@ -43035,7 +43045,7 @@ const BL = { class: "text-h5 q-ma-md" }, UL = { class: "flex justify-between" },
|
|
|
43035
43045
|
onClick: (T) => S(T, C.row.basketId)
|
|
43036
43046
|
}, {
|
|
43037
43047
|
default: U(() => [
|
|
43038
|
-
w("span",
|
|
43048
|
+
w("span", kM, A(C.row.basketId), 1)
|
|
43039
43049
|
]),
|
|
43040
43050
|
_: 2
|
|
43041
43051
|
}, 1032, ["onClick"]),
|
|
@@ -43044,7 +43054,7 @@ const BL = { class: "text-h5 q-ma-md" }, UL = { class: "flex justify-between" },
|
|
|
43044
43054
|
onClick: (T) => S(T, C.row.basketId)
|
|
43045
43055
|
}, {
|
|
43046
43056
|
default: U(() => [
|
|
43047
|
-
w("span",
|
|
43057
|
+
w("span", TM, A(C.row.companyName ?? h.$t("Not set")), 1)
|
|
43048
43058
|
]),
|
|
43049
43059
|
_: 2
|
|
43050
43060
|
}, 1032, ["onClick"]),
|
|
@@ -43053,7 +43063,7 @@ const BL = { class: "text-h5 q-ma-md" }, UL = { class: "flex justify-between" },
|
|
|
43053
43063
|
onClick: (T) => S(T, C.row.basketId)
|
|
43054
43064
|
}, {
|
|
43055
43065
|
default: U(() => [
|
|
43056
|
-
w("span",
|
|
43066
|
+
w("span", EM, A(h.$t(C.row.status)), 1)
|
|
43057
43067
|
]),
|
|
43058
43068
|
_: 2
|
|
43059
43069
|
}, 1032, ["onClick"]),
|
|
@@ -43062,7 +43072,7 @@ const BL = { class: "text-h5 q-ma-md" }, UL = { class: "flex justify-between" },
|
|
|
43062
43072
|
onClick: (T) => S(T, C.row.basketId)
|
|
43063
43073
|
}, {
|
|
43064
43074
|
default: U(() => [
|
|
43065
|
-
w("span",
|
|
43075
|
+
w("span", xM, A(C.row.productsCount), 1)
|
|
43066
43076
|
]),
|
|
43067
43077
|
_: 2
|
|
43068
43078
|
}, 1032, ["onClick"]),
|
|
@@ -43071,7 +43081,7 @@ const BL = { class: "text-h5 q-ma-md" }, UL = { class: "flex justify-between" },
|
|
|
43071
43081
|
onClick: (T) => S(T, C.row.basketId)
|
|
43072
43082
|
}, {
|
|
43073
43083
|
default: U(() => [
|
|
43074
|
-
w("span",
|
|
43084
|
+
w("span", IM, A(h.$formatCurrency(C.row.totalPrice, C.row.currency)), 1)
|
|
43075
43085
|
]),
|
|
43076
43086
|
_: 2
|
|
43077
43087
|
}, 1032, ["onClick"]),
|
|
@@ -43080,7 +43090,7 @@ const BL = { class: "text-h5 q-ma-md" }, UL = { class: "flex justify-between" },
|
|
|
43080
43090
|
onClick: (T) => S(T, C.row.basketId)
|
|
43081
43091
|
}, {
|
|
43082
43092
|
default: U(() => [
|
|
43083
|
-
w("span",
|
|
43093
|
+
w("span", OM, A(h.$formatDateTime(C.row.dateCreated)), 1)
|
|
43084
43094
|
]),
|
|
43085
43095
|
_: 2
|
|
43086
43096
|
}, 1032, ["onClick"]),
|
|
@@ -43106,7 +43116,7 @@ const BL = { class: "text-h5 q-ma-md" }, UL = { class: "flex justify-between" },
|
|
|
43106
43116
|
}
|
|
43107
43117
|
});
|
|
43108
43118
|
var w0 = /* @__PURE__ */ ((e) => (e[e.ValidationError = 1] = "ValidationError", e))(w0 || {});
|
|
43109
|
-
const
|
|
43119
|
+
const qM = { key: 0 }, $M = { key: 1 }, NM = { class: "text-h6" }, DM = { class: "text-subtitle2" }, RM = { class: "row" }, AM = { class: "col-6" }, LM = { class: "col-6" }, MM = { class: "q-mx-sm" }, FM = { key: 2 }, VM = { class: "text-h6" }, BM = /* @__PURE__ */ at({
|
|
43110
43120
|
__name: "OrderParametersInput",
|
|
43111
43121
|
props: {
|
|
43112
43122
|
basketId: {}
|
|
@@ -43157,13 +43167,13 @@ query vendorOrderParametersByBasketId($basketId: Int!){
|
|
|
43157
43167
|
l.value = await s(f);
|
|
43158
43168
|
}), it(async () => {
|
|
43159
43169
|
a.basketId && (l.value = await s(a.basketId));
|
|
43160
|
-
}), (f, v) => i.value ? (B(), Z("div",
|
|
43170
|
+
}), (f, v) => i.value ? (B(), Z("div", qM, [
|
|
43161
43171
|
D(x(bS), {
|
|
43162
43172
|
color: "primary",
|
|
43163
43173
|
size: "3rem",
|
|
43164
43174
|
thickness: 5
|
|
43165
43175
|
})
|
|
43166
|
-
])) : l.value != null && l.value.length > 0 ? (B(), Z("div",
|
|
43176
|
+
])) : l.value != null && l.value.length > 0 ? (B(), Z("div", $M, [
|
|
43167
43177
|
(B(!0), Z(tt, null, wt(l.value, (m) => (B(), Oe(x(Ht), {
|
|
43168
43178
|
key: m.vendor
|
|
43169
43179
|
}, {
|
|
@@ -43176,8 +43186,8 @@ query vendorOrderParametersByBasketId($basketId: Int!){
|
|
|
43176
43186
|
default: U(() => [
|
|
43177
43187
|
D(x(dt), null, {
|
|
43178
43188
|
default: U(() => [
|
|
43179
|
-
w("div",
|
|
43180
|
-
w("div",
|
|
43189
|
+
w("div", NM, A(m.vendor), 1),
|
|
43190
|
+
w("div", DM, A(f.$t("Please provide the required parameters")), 1)
|
|
43181
43191
|
]),
|
|
43182
43192
|
_: 2
|
|
43183
43193
|
}, 1024),
|
|
@@ -43186,8 +43196,8 @@ query vendorOrderParametersByBasketId($basketId: Int!){
|
|
|
43186
43196
|
(B(!0), Z(tt, null, wt(m.parameters.filter((b) => !b.isHidden), (b) => (B(), Z("div", {
|
|
43187
43197
|
key: b.key
|
|
43188
43198
|
}, [
|
|
43189
|
-
w("div",
|
|
43190
|
-
w("div",
|
|
43199
|
+
w("div", RM, [
|
|
43200
|
+
w("div", AM, [
|
|
43191
43201
|
D(x(Ht), { flat: "" }, {
|
|
43192
43202
|
default: U(() => [
|
|
43193
43203
|
D(x(dd), {
|
|
@@ -43210,8 +43220,8 @@ query vendorOrderParametersByBasketId($basketId: Int!){
|
|
|
43210
43220
|
_: 2
|
|
43211
43221
|
}, 1024)
|
|
43212
43222
|
]),
|
|
43213
|
-
w("div",
|
|
43214
|
-
w("div",
|
|
43223
|
+
w("div", LM, [
|
|
43224
|
+
w("div", MM, [
|
|
43215
43225
|
b.possibleValues ? (B(), Oe(x(Dn), {
|
|
43216
43226
|
key: 0,
|
|
43217
43227
|
modelValue: b.value,
|
|
@@ -43258,12 +43268,12 @@ query vendorOrderParametersByBasketId($basketId: Int!){
|
|
|
43258
43268
|
]),
|
|
43259
43269
|
_: 2
|
|
43260
43270
|
}, 1024))), 128))
|
|
43261
|
-
])) : (B(), Z("div",
|
|
43271
|
+
])) : (B(), Z("div", FM, [
|
|
43262
43272
|
D(x(Ht), null, {
|
|
43263
43273
|
default: U(() => [
|
|
43264
43274
|
D(x(dt), null, {
|
|
43265
43275
|
default: U(() => [
|
|
43266
|
-
w("div",
|
|
43276
|
+
w("div", VM, A(f.$t("NoConfigurationRequired")), 1)
|
|
43267
43277
|
]),
|
|
43268
43278
|
_: 1
|
|
43269
43279
|
}),
|
|
@@ -43286,19 +43296,19 @@ query vendorOrderParametersByBasketId($basketId: Int!){
|
|
|
43286
43296
|
})
|
|
43287
43297
|
]));
|
|
43288
43298
|
}
|
|
43289
|
-
}),
|
|
43299
|
+
}), UM = { class: "flex justify-center items-center half-height" }, jM = { key: 0 }, zM = { class: "flex justify-center items-center half-height" }, HM = {
|
|
43290
43300
|
key: 1,
|
|
43291
43301
|
class: "my-card category-page"
|
|
43292
|
-
},
|
|
43302
|
+
}, QM = { class: "flex row no-wrap" }, WM = { class: "flex-1" }, KM = { class: "flex row no-wrap" }, YM = { class: "q-pa-none" }, JM = { class: "cat-title" }, GM = { class: "cat-description" }, XM = { class: "row q-pa-xs search-results" }, ZM = {
|
|
43293
43303
|
key: 0,
|
|
43294
43304
|
class: "row cat-show-more"
|
|
43295
|
-
},
|
|
43305
|
+
}, eF = { class: "text-h6" }, tF = { class: "cursor-pointer text-primary" }, nF = { class: "row q-pa-xs search-results" }, rF = {
|
|
43296
43306
|
key: 0,
|
|
43297
43307
|
class: "cat-show-more"
|
|
43298
|
-
},
|
|
43308
|
+
}, aF = {
|
|
43299
43309
|
key: 0,
|
|
43300
43310
|
class: "cat-sidebar"
|
|
43301
|
-
},
|
|
43311
|
+
}, iF = { class: "cat-sidebar-block" }, oF = { class: "cat-sidebar-title" }, lF = /* @__PURE__ */ at({
|
|
43302
43312
|
__name: "CategoryDetailsCloud",
|
|
43303
43313
|
props: {
|
|
43304
43314
|
router: {},
|
|
@@ -43345,7 +43355,7 @@ query vendorOrderParametersByBasketId($basketId: Int!){
|
|
|
43345
43355
|
}), he(() => o.route.params.id, async () => {
|
|
43346
43356
|
o.route.params.id && (r.value = await u(o.route.params.id));
|
|
43347
43357
|
}), (c, s) => (B(), Z(tt, null, [
|
|
43348
|
-
Se(w("div",
|
|
43358
|
+
Se(w("div", UM, [
|
|
43349
43359
|
D(x(Ji), {
|
|
43350
43360
|
color: "primary",
|
|
43351
43361
|
size: "10em"
|
|
@@ -43353,19 +43363,19 @@ query vendorOrderParametersByBasketId($basketId: Int!){
|
|
|
43353
43363
|
], 512), [
|
|
43354
43364
|
[qe, n.value]
|
|
43355
43365
|
]),
|
|
43356
|
-
r.value == null && !n.value ? (B(), Z("div",
|
|
43357
|
-
w("div",
|
|
43366
|
+
r.value == null && !n.value ? (B(), Z("div", jM, [
|
|
43367
|
+
w("div", zM, [
|
|
43358
43368
|
w("h4", null, A(c.$t("Category not found.")), 1)
|
|
43359
43369
|
])
|
|
43360
|
-
])) : Se((B(), Z("div",
|
|
43361
|
-
w("div",
|
|
43362
|
-
w("div",
|
|
43370
|
+
])) : Se((B(), Z("div", HM, [
|
|
43371
|
+
w("div", QM, [
|
|
43372
|
+
w("div", WM, [
|
|
43363
43373
|
D(x(dt), { class: "category-header q-mb-none q-pb-none" }, {
|
|
43364
43374
|
default: U(() => [
|
|
43365
|
-
w("div",
|
|
43366
|
-
w("div",
|
|
43367
|
-
w("div",
|
|
43368
|
-
w("div",
|
|
43375
|
+
w("div", KM, [
|
|
43376
|
+
w("div", YM, [
|
|
43377
|
+
w("div", JM, A(c.$t("Popular")) + " " + A(r.value?.name) + " " + A(c.$t("Categories")), 1),
|
|
43378
|
+
w("div", GM, A(r.value?.description), 1)
|
|
43369
43379
|
])
|
|
43370
43380
|
])
|
|
43371
43381
|
]),
|
|
@@ -43376,7 +43386,7 @@ query vendorOrderParametersByBasketId($basketId: Int!){
|
|
|
43376
43386
|
class: "q-mt-none q-pt-none search-wrapper"
|
|
43377
43387
|
}, {
|
|
43378
43388
|
default: U(() => [
|
|
43379
|
-
w("div",
|
|
43389
|
+
w("div", XM, [
|
|
43380
43390
|
(B(!0), Z(tt, null, wt(r.value.products, (d) => (B(), Z("div", {
|
|
43381
43391
|
class: "item col-xl-3 col-lg-4 col-md-4 col-sm-6 col-xs-12 q-my-sm q-px-sm q-mb-sm",
|
|
43382
43392
|
key: d.id
|
|
@@ -43391,7 +43401,7 @@ query vendorOrderParametersByBasketId($basketId: Int!){
|
|
|
43391
43401
|
}, null, 8, ["router", "product", "view"])) : _e("", !0)
|
|
43392
43402
|
]))), 128))
|
|
43393
43403
|
]),
|
|
43394
|
-
o.router && r.value.products.length == 6 ? (B(), Z("div",
|
|
43404
|
+
o.router && r.value.products.length == 6 ? (B(), Z("div", ZM, [
|
|
43395
43405
|
D(Tn, {
|
|
43396
43406
|
router: o.router,
|
|
43397
43407
|
to: { name: "search", query: { categoryId: r.value.sinchSearchCategoryId } },
|
|
@@ -43415,8 +43425,8 @@ query vendorOrderParametersByBasketId($basketId: Int!){
|
|
|
43415
43425
|
default: U(() => [
|
|
43416
43426
|
D(x(dt), { class: "q-mb-none q-pb-none cat-card-header" }, {
|
|
43417
43427
|
default: U(() => [
|
|
43418
|
-
w("div",
|
|
43419
|
-
w("span",
|
|
43428
|
+
w("div", eF, [
|
|
43429
|
+
w("span", tF, [
|
|
43420
43430
|
o.router && d.sinchSearchCategoryId ? (B(), Oe(Tn, {
|
|
43421
43431
|
key: 0,
|
|
43422
43432
|
router: o.router,
|
|
@@ -43443,7 +43453,7 @@ query vendorOrderParametersByBasketId($basketId: Int!){
|
|
|
43443
43453
|
}, 1024),
|
|
43444
43454
|
D(x(dt), { class: "q-mt-none q-pt-none" }, {
|
|
43445
43455
|
default: U(() => [
|
|
43446
|
-
w("div",
|
|
43456
|
+
w("div", nF, [
|
|
43447
43457
|
(B(!0), Z(tt, null, wt(d.products, (f) => (B(), Z("div", {
|
|
43448
43458
|
class: "item col-xl-3 col-lg-4 col-md-4 col-sm-6 col-xs-12 q-ma-none q-px-sm q-mb-sm",
|
|
43449
43459
|
key: f.id
|
|
@@ -43458,7 +43468,7 @@ query vendorOrderParametersByBasketId($basketId: Int!){
|
|
|
43458
43468
|
}, null, 8, ["router", "product", "view"])) : _e("", !0)
|
|
43459
43469
|
]))), 128))
|
|
43460
43470
|
]),
|
|
43461
|
-
o.router && d.products.length == 6 ? (B(), Z("div",
|
|
43471
|
+
o.router && d.products.length == 6 ? (B(), Z("div", rF, [
|
|
43462
43472
|
o.router && d.sinchSearchCategoryId ? (B(), Oe(Tn, {
|
|
43463
43473
|
key: 0,
|
|
43464
43474
|
router: o.router,
|
|
@@ -43491,9 +43501,9 @@ query vendorOrderParametersByBasketId($basketId: Int!){
|
|
|
43491
43501
|
_: 1
|
|
43492
43502
|
})
|
|
43493
43503
|
]),
|
|
43494
|
-
r.value && r.value.descendants && r.value.descendants.length > 0 ? (B(), Z("div",
|
|
43495
|
-
w("div",
|
|
43496
|
-
w("div",
|
|
43504
|
+
r.value && r.value.descendants && r.value.descendants.length > 0 ? (B(), Z("div", aF, [
|
|
43505
|
+
w("div", iF, [
|
|
43506
|
+
w("div", oF, A(r.value?.name) + " " + A(c.$t("Categories")), 1),
|
|
43497
43507
|
w("ul", null, [
|
|
43498
43508
|
(B(!0), Z(tt, null, wt(r.value?.descendants, (d) => (B(), Z("li", {
|
|
43499
43509
|
key: d.id
|
|
@@ -43598,22 +43608,22 @@ query vendorOrderParametersByBasketId($basketId: Int!){
|
|
|
43598
43608
|
o > -1 && t.splice(o, 1);
|
|
43599
43609
|
})
|
|
43600
43610
|
};
|
|
43601
|
-
})(),
|
|
43611
|
+
})(), sF = { key: 0 }, uF = { class: "container" }, cF = { class: "brand-banner" }, dF = ["src", "alt"], fF = { class: "brand-banner-text" }, vF = { class: "brand-top row flex align-end" }, mF = { class: "col-3 brand-logo" }, hF = { class: "brand-logo-block" }, gF = ["src"], pF = { class: "col-9" }, yF = { class: "flex align-center justify-between" }, bF = { class: "brand-name" }, _F = { class: "brand-links" }, wF = { class: "tabs-content row" }, SF = { class: "col-12 q-pa-lg" }, CF = { class: "q-pa-lg" }, kF = { class: "container" }, TF = { class: "brand-contact-details" }, EF = { class: "wp-block-heading" }, xF = { class: "contact-details-content flex" }, IF = {
|
|
43602
43612
|
key: 0,
|
|
43603
43613
|
class: "image-column"
|
|
43604
|
-
},
|
|
43614
|
+
}, OF = { class: "details-column" }, PF = {
|
|
43605
43615
|
key: 0,
|
|
43606
43616
|
class: "contact-item contact-position"
|
|
43607
|
-
},
|
|
43617
|
+
}, qF = {
|
|
43608
43618
|
key: 1,
|
|
43609
43619
|
class: "contact-item contact-name"
|
|
43610
|
-
},
|
|
43620
|
+
}, $F = {
|
|
43611
43621
|
key: 2,
|
|
43612
43622
|
class: "contact-item contact-phone-numbers flex"
|
|
43613
|
-
},
|
|
43623
|
+
}, NF = { class: "lbl q-mr-sm" }, DF = ["href"], RF = {
|
|
43614
43624
|
key: 3,
|
|
43615
43625
|
class: "contact-item contact-email-addresses flex"
|
|
43616
|
-
},
|
|
43626
|
+
}, AF = { class: "lbl q-mr-sm" }, LF = ["href"], MF = /* @__PURE__ */ at({
|
|
43617
43627
|
__name: "DynamicBrandPage",
|
|
43618
43628
|
props: {
|
|
43619
43629
|
route: {},
|
|
@@ -43632,30 +43642,30 @@ query vendorOrderParametersByBasketId($basketId: Int!){
|
|
|
43632
43642
|
class: "brand-container"
|
|
43633
43643
|
}, {
|
|
43634
43644
|
default: U(() => [
|
|
43635
|
-
w("div",
|
|
43636
|
-
w("div",
|
|
43645
|
+
w("div", uF, [
|
|
43646
|
+
w("div", cF, [
|
|
43637
43647
|
w("img", {
|
|
43638
43648
|
src: n.value.topBannerUrl,
|
|
43639
43649
|
alt: n.value.name,
|
|
43640
43650
|
"no-spinner": ""
|
|
43641
|
-
}, null, 8,
|
|
43642
|
-
w("div",
|
|
43651
|
+
}, null, 8, dF),
|
|
43652
|
+
w("div", fF, A(a.$t(n.value.topBannerText ?? "")), 1)
|
|
43643
43653
|
]),
|
|
43644
|
-
w("div",
|
|
43645
|
-
w("div",
|
|
43646
|
-
w("div",
|
|
43654
|
+
w("div", vF, [
|
|
43655
|
+
w("div", mF, [
|
|
43656
|
+
w("div", hF, [
|
|
43647
43657
|
w("img", {
|
|
43648
43658
|
class: "w-100 mw-200p",
|
|
43649
43659
|
src: n.value.logoUrl
|
|
43650
|
-
}, null, 8,
|
|
43660
|
+
}, null, 8, gF)
|
|
43651
43661
|
])
|
|
43652
43662
|
]),
|
|
43653
|
-
w("div",
|
|
43654
|
-
w("div",
|
|
43655
|
-
w("div",
|
|
43663
|
+
w("div", pF, [
|
|
43664
|
+
w("div", yF, [
|
|
43665
|
+
w("div", bF, [
|
|
43656
43666
|
w("h1", null, A(a.$t(n.value.name)), 1)
|
|
43657
43667
|
]),
|
|
43658
|
-
w("div",
|
|
43668
|
+
w("div", _F, [
|
|
43659
43669
|
(B(!0), Z(tt, null, wt(n.value.brandLinks, (o) => (B(), Oe(x(De), {
|
|
43660
43670
|
key: o.label,
|
|
43661
43671
|
unelevated: "",
|
|
@@ -43669,8 +43679,8 @@ query vendorOrderParametersByBasketId($basketId: Int!){
|
|
|
43669
43679
|
])
|
|
43670
43680
|
])
|
|
43671
43681
|
]),
|
|
43672
|
-
w("div",
|
|
43673
|
-
w("div",
|
|
43682
|
+
w("div", wF, [
|
|
43683
|
+
w("div", SF, [
|
|
43674
43684
|
D(x(Ai), {
|
|
43675
43685
|
modelValue: t.value,
|
|
43676
43686
|
"onUpdate:modelValue": i[0] || (i[0] = (o) => t.value = o),
|
|
@@ -43760,43 +43770,43 @@ query vendorOrderParametersByBasketId($basketId: Int!){
|
|
|
43760
43770
|
}, 8, ["modelValue"])
|
|
43761
43771
|
])
|
|
43762
43772
|
]),
|
|
43763
|
-
w("div",
|
|
43764
|
-
w("div",
|
|
43765
|
-
w("div",
|
|
43766
|
-
w("h4",
|
|
43773
|
+
w("div", CF, [
|
|
43774
|
+
w("div", kF, [
|
|
43775
|
+
w("div", TF, [
|
|
43776
|
+
w("h4", EF, [
|
|
43767
43777
|
w("strong", null, A(a.$t("Contact Us")), 1)
|
|
43768
43778
|
]),
|
|
43769
|
-
w("div",
|
|
43770
|
-
n.value.contactImageUrl ? (B(), Z("div",
|
|
43779
|
+
w("div", xF, [
|
|
43780
|
+
n.value.contactImageUrl ? (B(), Z("div", IF, [
|
|
43771
43781
|
D(x(ca), {
|
|
43772
43782
|
src: n.value.contactImageUrl,
|
|
43773
43783
|
alt: n.value.contactName,
|
|
43774
43784
|
class: "contact-person-image"
|
|
43775
43785
|
}, null, 8, ["src", "alt"])
|
|
43776
43786
|
])) : _e("", !0),
|
|
43777
|
-
w("div",
|
|
43778
|
-
n.value.contactPosition ? (B(), Z("div",
|
|
43787
|
+
w("div", OF, [
|
|
43788
|
+
n.value.contactPosition ? (B(), Z("div", PF, [
|
|
43779
43789
|
i[2] || (i[2] = Me(" Position: ")),
|
|
43780
43790
|
w("strong", null, A(a.$t(n.value.contactPosition)), 1)
|
|
43781
43791
|
])) : _e("", !0),
|
|
43782
|
-
n.value.contactName ? (B(), Z("div",
|
|
43792
|
+
n.value.contactName ? (B(), Z("div", qF, [
|
|
43783
43793
|
i[3] || (i[3] = Me(" Name: ")),
|
|
43784
43794
|
w("strong", null, A(a.$t(n.value.contactName)), 1)
|
|
43785
43795
|
])) : _e("", !0),
|
|
43786
|
-
n.value.contactPhone ? (B(), Z("div",
|
|
43787
|
-
w("div",
|
|
43796
|
+
n.value.contactPhone ? (B(), Z("div", $F, [
|
|
43797
|
+
w("div", NF, A(a.$t("Tel:")), 1),
|
|
43788
43798
|
w("div", null, [
|
|
43789
43799
|
w("a", {
|
|
43790
43800
|
href: `tel:${n.value.contactPhone}`
|
|
43791
|
-
}, A(a.$t(n.value.contactPhone)), 9,
|
|
43801
|
+
}, A(a.$t(n.value.contactPhone)), 9, DF)
|
|
43792
43802
|
])
|
|
43793
43803
|
])) : _e("", !0),
|
|
43794
|
-
n.value.contactEmail ? (B(), Z("div",
|
|
43795
|
-
w("div",
|
|
43804
|
+
n.value.contactEmail ? (B(), Z("div", RF, [
|
|
43805
|
+
w("div", AF, A(a.$t("Email:")), 1),
|
|
43796
43806
|
w("div", null, [
|
|
43797
43807
|
w("a", {
|
|
43798
43808
|
href: `mailto:${n.value.contactEmail}`
|
|
43799
|
-
}, A(a.$t(n.value.contactEmail)), 9,
|
|
43809
|
+
}, A(a.$t(n.value.contactEmail)), 9, LF)
|
|
43800
43810
|
])
|
|
43801
43811
|
])) : _e("", !0)
|
|
43802
43812
|
])
|
|
@@ -43807,7 +43817,7 @@ query vendorOrderParametersByBasketId($basketId: Int!){
|
|
|
43807
43817
|
])
|
|
43808
43818
|
]),
|
|
43809
43819
|
_: 1
|
|
43810
|
-
})) : (B(), Z("div",
|
|
43820
|
+
})) : (B(), Z("div", sF, A(a.$t("Brand not found")), 1));
|
|
43811
43821
|
}
|
|
43812
43822
|
}), Fh = (() => {
|
|
43813
43823
|
const e = {
|
|
@@ -43881,22 +43891,22 @@ query vendorOrderParametersByBasketId($basketId: Int!){
|
|
|
43881
43891
|
o > -1 && t.splice(o, 1);
|
|
43882
43892
|
})
|
|
43883
43893
|
};
|
|
43884
|
-
})(),
|
|
43894
|
+
})(), FF = { key: 0 }, VF = { class: "container" }, BF = { class: "brand-banner" }, UF = ["src", "alt"], jF = { class: "brand-banner-text" }, zF = { class: "brand-top row flex align-end" }, HF = { class: "col-3 brand-logo" }, QF = { class: "brand-logo-block" }, WF = ["src"], KF = { class: "col-9" }, YF = { class: "flex align-center justify-between" }, JF = { class: "brand-name" }, GF = { class: "brand-links" }, XF = { class: "tabs-content row" }, ZF = { class: "col-12 q-pa-lg" }, eV = { class: "q-pa-lg" }, tV = { class: "container" }, nV = { class: "brand-contact-details" }, rV = { class: "wp-block-heading" }, aV = { class: "contact-details-content flex" }, iV = {
|
|
43885
43895
|
key: 0,
|
|
43886
43896
|
class: "image-column"
|
|
43887
|
-
},
|
|
43897
|
+
}, oV = { class: "details-column" }, lV = {
|
|
43888
43898
|
key: 0,
|
|
43889
43899
|
class: "contact-item contact-position"
|
|
43890
|
-
},
|
|
43900
|
+
}, sV = {
|
|
43891
43901
|
key: 1,
|
|
43892
43902
|
class: "contact-item contact-name"
|
|
43893
|
-
},
|
|
43903
|
+
}, uV = {
|
|
43894
43904
|
key: 2,
|
|
43895
43905
|
class: "contact-item contact-phone-numbers flex"
|
|
43896
|
-
},
|
|
43906
|
+
}, cV = { class: "lbl q-mr-sm" }, dV = ["href"], fV = {
|
|
43897
43907
|
key: 3,
|
|
43898
43908
|
class: "contact-item contact-email-addresses flex"
|
|
43899
|
-
},
|
|
43909
|
+
}, vV = { class: "lbl q-mr-sm" }, mV = ["href"], hV = /* @__PURE__ */ at({
|
|
43900
43910
|
__name: "DynamicCloudProviderPage",
|
|
43901
43911
|
props: {
|
|
43902
43912
|
route: {},
|
|
@@ -43915,30 +43925,30 @@ query vendorOrderParametersByBasketId($basketId: Int!){
|
|
|
43915
43925
|
class: "brand-container"
|
|
43916
43926
|
}, {
|
|
43917
43927
|
default: U(() => [
|
|
43918
|
-
w("div",
|
|
43919
|
-
w("div",
|
|
43928
|
+
w("div", VF, [
|
|
43929
|
+
w("div", BF, [
|
|
43920
43930
|
w("img", {
|
|
43921
43931
|
src: n.value.topBannerUrl,
|
|
43922
43932
|
alt: n.value.name,
|
|
43923
43933
|
"no-spinner": ""
|
|
43924
|
-
}, null, 8,
|
|
43925
|
-
w("div",
|
|
43934
|
+
}, null, 8, UF),
|
|
43935
|
+
w("div", jF, A(a.$t(n.value.topBannerText ?? "")), 1)
|
|
43926
43936
|
]),
|
|
43927
|
-
w("div",
|
|
43928
|
-
w("div",
|
|
43929
|
-
w("div",
|
|
43937
|
+
w("div", zF, [
|
|
43938
|
+
w("div", HF, [
|
|
43939
|
+
w("div", QF, [
|
|
43930
43940
|
w("img", {
|
|
43931
43941
|
class: "w-100 mw-200p",
|
|
43932
43942
|
src: n.value.logoUrl
|
|
43933
|
-
}, null, 8,
|
|
43943
|
+
}, null, 8, WF)
|
|
43934
43944
|
])
|
|
43935
43945
|
]),
|
|
43936
|
-
w("div",
|
|
43937
|
-
w("div",
|
|
43938
|
-
w("div",
|
|
43946
|
+
w("div", KF, [
|
|
43947
|
+
w("div", YF, [
|
|
43948
|
+
w("div", JF, [
|
|
43939
43949
|
w("h1", null, A(a.$t(n.value.name)), 1)
|
|
43940
43950
|
]),
|
|
43941
|
-
w("div",
|
|
43951
|
+
w("div", GF, [
|
|
43942
43952
|
(B(!0), Z(tt, null, wt(n.value.brandLinks, (o) => (B(), Oe(x(De), {
|
|
43943
43953
|
key: o.label,
|
|
43944
43954
|
unelevated: "",
|
|
@@ -43952,8 +43962,8 @@ query vendorOrderParametersByBasketId($basketId: Int!){
|
|
|
43952
43962
|
])
|
|
43953
43963
|
])
|
|
43954
43964
|
]),
|
|
43955
|
-
w("div",
|
|
43956
|
-
w("div",
|
|
43965
|
+
w("div", XF, [
|
|
43966
|
+
w("div", ZF, [
|
|
43957
43967
|
D(x(Ai), {
|
|
43958
43968
|
modelValue: t.value,
|
|
43959
43969
|
"onUpdate:modelValue": i[0] || (i[0] = (o) => t.value = o),
|
|
@@ -44023,43 +44033,43 @@ query vendorOrderParametersByBasketId($basketId: Int!){
|
|
|
44023
44033
|
}, 8, ["modelValue"])
|
|
44024
44034
|
])
|
|
44025
44035
|
]),
|
|
44026
|
-
w("div",
|
|
44027
|
-
w("div",
|
|
44028
|
-
w("div",
|
|
44029
|
-
w("h4",
|
|
44036
|
+
w("div", eV, [
|
|
44037
|
+
w("div", tV, [
|
|
44038
|
+
w("div", nV, [
|
|
44039
|
+
w("h4", rV, [
|
|
44030
44040
|
w("strong", null, A(a.$t("Contact Us")), 1)
|
|
44031
44041
|
]),
|
|
44032
|
-
w("div",
|
|
44033
|
-
n.value.contactImageUrl ? (B(), Z("div",
|
|
44042
|
+
w("div", aV, [
|
|
44043
|
+
n.value.contactImageUrl ? (B(), Z("div", iV, [
|
|
44034
44044
|
D(x(ca), {
|
|
44035
44045
|
src: n.value.contactImageUrl,
|
|
44036
44046
|
alt: n.value.contactName,
|
|
44037
44047
|
class: "contact-person-image"
|
|
44038
44048
|
}, null, 8, ["src", "alt"])
|
|
44039
44049
|
])) : _e("", !0),
|
|
44040
|
-
w("div",
|
|
44041
|
-
n.value.contactPosition ? (B(), Z("div",
|
|
44050
|
+
w("div", oV, [
|
|
44051
|
+
n.value.contactPosition ? (B(), Z("div", lV, [
|
|
44042
44052
|
i[2] || (i[2] = Me(" Position: ")),
|
|
44043
44053
|
w("strong", null, A(a.$t(n.value.contactPosition)), 1)
|
|
44044
44054
|
])) : _e("", !0),
|
|
44045
|
-
n.value.contactName ? (B(), Z("div",
|
|
44055
|
+
n.value.contactName ? (B(), Z("div", sV, [
|
|
44046
44056
|
i[3] || (i[3] = Me(" Name: ")),
|
|
44047
44057
|
w("strong", null, A(a.$t(n.value.contactName)), 1)
|
|
44048
44058
|
])) : _e("", !0),
|
|
44049
|
-
n.value.contactPhone ? (B(), Z("div",
|
|
44050
|
-
w("div",
|
|
44059
|
+
n.value.contactPhone ? (B(), Z("div", uV, [
|
|
44060
|
+
w("div", cV, A(a.$t("Tel:")), 1),
|
|
44051
44061
|
w("div", null, [
|
|
44052
44062
|
w("a", {
|
|
44053
44063
|
href: `tel:${n.value.contactPhone}`
|
|
44054
|
-
}, A(a.$t(n.value.contactPhone)), 9,
|
|
44064
|
+
}, A(a.$t(n.value.contactPhone)), 9, dV)
|
|
44055
44065
|
])
|
|
44056
44066
|
])) : _e("", !0),
|
|
44057
|
-
n.value.contactEmail ? (B(), Z("div",
|
|
44058
|
-
w("div",
|
|
44067
|
+
n.value.contactEmail ? (B(), Z("div", fV, [
|
|
44068
|
+
w("div", vV, A(a.$t("Email:")), 1),
|
|
44059
44069
|
w("div", null, [
|
|
44060
44070
|
w("a", {
|
|
44061
44071
|
href: `mailto:${n.value.contactEmail}`
|
|
44062
|
-
}, A(a.$t(n.value.contactEmail)), 9,
|
|
44072
|
+
}, A(a.$t(n.value.contactEmail)), 9, mV)
|
|
44063
44073
|
])
|
|
44064
44074
|
])) : _e("", !0)
|
|
44065
44075
|
])
|
|
@@ -44070,11 +44080,11 @@ query vendorOrderParametersByBasketId($basketId: Int!){
|
|
|
44070
44080
|
])
|
|
44071
44081
|
]),
|
|
44072
44082
|
_: 1
|
|
44073
|
-
})) : (B(), Z("div",
|
|
44083
|
+
})) : (B(), Z("div", FF, A(a.$t("Loading...")), 1));
|
|
44074
44084
|
}
|
|
44075
|
-
}),
|
|
44085
|
+
}), CV = {
|
|
44076
44086
|
install: (e) => {
|
|
44077
|
-
console.log("Installed sinch-vue-components"), e.component("SearchIndexPageCe", _E), e.component("SearchByBrandAndCategory", VE), e.component("LanguageMenuSelector", jE), e.component("UserMenu", kI), e.component("MarketSearchIndex", WI), e.component("MarketPlaceSearchInput", kd), e.component("MarketPlaceItem", Uy), e.component("SinchFilterBox", Wo), e.component("BrandProducts", Hy), e.component("MarketplaceIndex", XO), e.component("MarketPlaceSearch", SP), e.component("ProductCard", Ka), e.component("CategoryDetails", RP), e.component("ProductDetails",
|
|
44087
|
+
console.log("Installed sinch-vue-components"), e.component("SearchIndexPageCe", _E), e.component("SearchByBrandAndCategory", VE), e.component("LanguageMenuSelector", jE), e.component("UserMenu", kI), e.component("MarketSearchIndex", WI), e.component("MarketPlaceSearchInput", kd), e.component("MarketPlaceItem", Uy), e.component("SinchFilterBox", Wo), e.component("BrandProducts", Hy), e.component("MarketplaceIndex", XO), e.component("MarketPlaceSearch", SP), e.component("ProductCard", Ka), e.component("CategoryDetails", RP), e.component("ProductDetails", LD), e.component("CustomerOrdersFromProviderVue", c0), e.component("OrderDetailsVue", aR), e.component("OrderDetailsFromProviderVue", uR), e.component("OrderSearchVue", CR), e.component("SubscriptionDetailsVue", hA), e.component("SubscriptionIndexVue", UA), e.component("SubscriptionsTableVue", y0), e.component("SubscriptionOrderDetailsVue", WA), e.component("SubscriptionOderHistoryDialogVue", h0), e.component("SubscriptionOrderHistoriesVue", m0), e.component("SubscriptionOrderHistoriesLastEntryVue", v0), e.component("SubscriptionOrdersListVue", KA), e.component("SubscriptionsTableFiltersVue", p0), e.component("ContactUsVue", CL), e.component("BasketItemsTableVue", b0), e.component("CustomerDetailsSectionVue", KL), e.component("QuoteDetailsVue", sM), e.component("QuoteIndexVue", PM), e.component("RouterLinkWrapper", Tn), e.component("OrderParametersInput", BM), e.component("ProvidersCatalogue", Qy), e.component("CategoryDetailsCloud", lF), e.component("DynamicBrandPage", MF), e.component("DynamicCloudProviderPage", hV);
|
|
44078
44088
|
}
|
|
44079
44089
|
};
|
|
44080
44090
|
window.sinch || (window.sinch = {});
|
|
@@ -44089,17 +44099,17 @@ window.sinch.goToLoginPage = () => {
|
|
|
44089
44099
|
window.location.hash = "", window.location.href = e;
|
|
44090
44100
|
};
|
|
44091
44101
|
export {
|
|
44092
|
-
|
|
44102
|
+
qL as BasketDataClient,
|
|
44093
44103
|
b0 as BasketItemsTableVue,
|
|
44094
44104
|
Hy as BrandProducts,
|
|
44095
44105
|
vO as CategoriesCatalogueV2,
|
|
44096
44106
|
RP as CategoryDetails,
|
|
44097
|
-
|
|
44098
|
-
|
|
44099
|
-
|
|
44107
|
+
lF as CategoryDetailsCloud,
|
|
44108
|
+
CL as ContactUsVue,
|
|
44109
|
+
KL as CustomerDetailsSectionVue,
|
|
44100
44110
|
c0 as CustomerOrdersFromProviderVue,
|
|
44101
|
-
|
|
44102
|
-
|
|
44111
|
+
MF as DynamicBrandPage,
|
|
44112
|
+
hV as DynamicCloudProviderPage,
|
|
44103
44113
|
un as ExibitionModeEnum,
|
|
44104
44114
|
g0 as GetRenewalColour,
|
|
44105
44115
|
jE as LanguageMenuSelector,
|
|
@@ -44108,40 +44118,40 @@ export {
|
|
|
44108
44118
|
kd as MarketPlaceSearchInput,
|
|
44109
44119
|
WI as MarketSearchIndex,
|
|
44110
44120
|
XO as MarketplaceIndex,
|
|
44111
|
-
|
|
44112
|
-
|
|
44113
|
-
|
|
44114
|
-
|
|
44121
|
+
uR as OrderDetailsFromProviderVue,
|
|
44122
|
+
aR as OrderDetailsVue,
|
|
44123
|
+
BM as OrderParametersInput,
|
|
44124
|
+
CR as OrderSearchVue,
|
|
44115
44125
|
Ka as ProductCard,
|
|
44116
|
-
|
|
44126
|
+
LD as ProductDetails,
|
|
44117
44127
|
Qy as ProvidersCatalogue,
|
|
44118
44128
|
_0 as QuoteDataClient,
|
|
44119
|
-
|
|
44120
|
-
|
|
44129
|
+
sM as QuoteDetailsVue,
|
|
44130
|
+
PM as QuoteIndexVue,
|
|
44121
44131
|
Tn as RouterLinkWrapper,
|
|
44122
44132
|
VE as SearchByBrandAndCategory,
|
|
44123
44133
|
_E as SearchIndexPageCe,
|
|
44124
44134
|
Wo as SinchFilterBox,
|
|
44125
|
-
|
|
44126
|
-
|
|
44127
|
-
|
|
44135
|
+
CV as SinchPlugin,
|
|
44136
|
+
hA as SubscriptionDetailsVue,
|
|
44137
|
+
UA as SubscriptionIndexVue,
|
|
44128
44138
|
h0 as SubscriptionOderHistoryDialogVue,
|
|
44129
|
-
|
|
44139
|
+
WA as SubscriptionOrderDetailsVue,
|
|
44130
44140
|
v0 as SubscriptionOrderHistoriesLastEntryVue,
|
|
44131
44141
|
m0 as SubscriptionOrderHistoriesVue,
|
|
44132
|
-
|
|
44133
|
-
|
|
44142
|
+
KA as SubscriptionOrdersListVue,
|
|
44143
|
+
SV as SubscriptionQueries,
|
|
44134
44144
|
p0 as SubscriptionsTableFiltersVue,
|
|
44135
44145
|
y0 as SubscriptionsTableVue,
|
|
44136
44146
|
kI as UserMenu,
|
|
44137
44147
|
XI as VendorsCatalogueV2,
|
|
44138
|
-
|
|
44148
|
+
wV as VueGlobalFunctions,
|
|
44139
44149
|
Mh as brandPageStore,
|
|
44140
44150
|
Fh as cloudProvidersStore,
|
|
44141
44151
|
Tr as hyphenate,
|
|
44142
|
-
|
|
44152
|
+
pV as languageSetup,
|
|
44143
44153
|
UE as sinchSetAppLanguage,
|
|
44144
|
-
|
|
44154
|
+
yV as translations,
|
|
44145
44155
|
Fy as useCategoryStore,
|
|
44146
44156
|
Gi as useSearchStore
|
|
44147
44157
|
};
|