@viur/shop-components 0.0.1-dev.52 → 0.0.1-dev.53
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/{CategoryView-8DIBpBK_.mjs → CategoryView-D40Pme0H.mjs} +2 -2
- package/dist/{ItemCard-Bu4kVYug.mjs → ItemCard-DKmHMm4I.mjs} +1 -1
- package/dist/{ItemView-Dx5_6_bp.mjs → ItemView-Cd0jw_X3.mjs} +2 -2
- package/dist/{main-1nSihvYu.mjs → main-W6SHdPim.mjs} +105 -105
- package/dist/main.css +1 -1
- package/dist/viur-shop-components.es.js +1 -1
- package/dist/viur-shop-components.umd.js +2 -2
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var et = Object.defineProperty;
|
|
2
2
|
var tt = (e, n, t) => n in e ? et(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
|
|
3
3
|
var Ie = (e, n, t) => tt(e, typeof n != "symbol" ? n + "" : n, t);
|
|
4
|
-
import { defineComponent as D, inject as C, reactive as w, openBlock as m, createElementBlock as h, normalizeClass as pe, createElementVNode as d, renderSlot as He, pushScopeId as M, popScopeId as z, Fragment as E, createCommentVNode as
|
|
4
|
+
import { defineComponent as D, inject as C, reactive as w, openBlock as m, createElementBlock as h, normalizeClass as pe, createElementVNode as d, renderSlot as He, pushScopeId as M, popScopeId as z, Fragment as E, createCommentVNode as _, toDisplayString as B, onMounted as R, ref as q, readonly as nt, getCurrentScope as at, onScopeDispose as st, unref as K, computed as S, watchEffect as de, renderList as U, watch as ne, withDirectives as Z, vModelText as se, getCurrentInstance as lt, resolveComponent as ae, createBlock as T, vShow as be, withModifiers as ue, createTextVNode as j, shallowRef as H, provide as oe, onBeforeMount as x, useCssVars as rt, Transition as ot, withCtx as it, createVNode as ut, Teleport as dt, resolveDynamicComponent as ct, mergeProps as ft } from "vue";
|
|
5
5
|
import { defineStore as ye } from "pinia";
|
|
6
6
|
import { Request as mt } from "@viur/vue-utils";
|
|
7
7
|
import { ViURShopClient as gt } from "@viur/viur-shop-client";
|
|
@@ -31,9 +31,9 @@ const pt = D({
|
|
|
31
31
|
}, Ge = (e) => (M("data-v-141aaf9b"), e = e(), z(), e), yt = ["draggable"], $t = ["disabled"], St = /* @__PURE__ */ Ge(() => /* @__PURE__ */ d("sl-icon", {
|
|
32
32
|
slot: "prefix",
|
|
33
33
|
name: "grip-vertical"
|
|
34
|
-
}, null, -1)),
|
|
34
|
+
}, null, -1)), kt = [
|
|
35
35
|
St
|
|
36
|
-
],
|
|
36
|
+
], _t = { class: "value" }, wt = ["disabled", "title"], Et = /* @__PURE__ */ Ge(() => /* @__PURE__ */ d("sl-icon", {
|
|
37
37
|
slot: "prefix",
|
|
38
38
|
name: "x-lg"
|
|
39
39
|
}, null, -1)), At = [
|
|
@@ -56,8 +56,8 @@ function It(e, n, t, l, s, o) {
|
|
|
56
56
|
disabled: e.boneState.readonly,
|
|
57
57
|
class: "drag-button",
|
|
58
58
|
onMousedown: n[0] || (n[0] = (a) => e.state.isDraggable = !0)
|
|
59
|
-
},
|
|
60
|
-
d("div",
|
|
59
|
+
}, kt, 40, $t),
|
|
60
|
+
d("div", _t, [
|
|
61
61
|
He(e.$slots, "default", {}, void 0, !0)
|
|
62
62
|
]),
|
|
63
63
|
d("sl-button", {
|
|
@@ -95,13 +95,13 @@ function Vt(e, n, t, l, s, o) {
|
|
|
95
95
|
return m(), h(E, null, [
|
|
96
96
|
d("label", jt, [
|
|
97
97
|
He(e.$slots, "default", {}, void 0, !0),
|
|
98
|
-
|
|
98
|
+
_("", !0)
|
|
99
99
|
]),
|
|
100
100
|
e.state.debug ? (m(), h("div", Bt, [
|
|
101
101
|
d("div", Dt, B(e.name), 1),
|
|
102
102
|
d("pre", null, " " + B(e.boneState) + `
|
|
103
103
|
`, 1)
|
|
104
|
-
])) :
|
|
104
|
+
])) : _("", !0)
|
|
105
105
|
], 64);
|
|
106
106
|
}
|
|
107
107
|
const Nt = /* @__PURE__ */ I(Ot, [["render", Vt], ["__scopeId", "data-v-b7149172"]]), Rt = D({
|
|
@@ -540,7 +540,7 @@ function gn(e, n, t, l, s, o) {
|
|
|
540
540
|
], 42, dn), [
|
|
541
541
|
[se, e.state.value1]
|
|
542
542
|
]),
|
|
543
|
-
e.boneState.readonly ?
|
|
543
|
+
e.boneState.readonly ? _("", !0) : Z((m(), h("sl-input", {
|
|
544
544
|
key: 0,
|
|
545
545
|
"onUpdate:modelValue": n[4] || (n[4] = (a) => e.state.value2 = a),
|
|
546
546
|
class: "password-check",
|
|
@@ -586,21 +586,21 @@ const Ne = /* @__PURE__ */ I(un, [["render", gn], ["__scopeId", "data-v-0ccf18c0
|
|
|
586
586
|
var c, u;
|
|
587
587
|
let i = { default: { name: "Allgemein", bones: [], groupVisible: !1, groupOpen: !0 } };
|
|
588
588
|
for (const [f, p] of Object.entries(l.structure)) {
|
|
589
|
-
let v = "default",
|
|
589
|
+
let v = "default", k = l.structure[f], g = (c = l.value) == null ? void 0 : c[f];
|
|
590
590
|
(u = p == null ? void 0 : p.params) != null && u.category && (v = p.params.category.toLowerCase()), Object.keys(i).includes(v) ? i[v].bones.push({
|
|
591
591
|
boneName: f,
|
|
592
|
-
boneStructure:
|
|
592
|
+
boneStructure: k,
|
|
593
593
|
boneValue: g
|
|
594
594
|
}) : i[v] = {
|
|
595
595
|
name: p.params.category,
|
|
596
596
|
bones: [
|
|
597
597
|
{
|
|
598
598
|
boneName: f,
|
|
599
|
-
boneStructure:
|
|
599
|
+
boneStructure: k,
|
|
600
600
|
boneValue: g
|
|
601
601
|
}
|
|
602
602
|
]
|
|
603
|
-
},
|
|
603
|
+
}, k.visible === !0 && (i[v].groupVisible = !0);
|
|
604
604
|
}
|
|
605
605
|
let r = {};
|
|
606
606
|
return Object.keys(i).sort().forEach(function(f) {
|
|
@@ -709,7 +709,7 @@ function Sn(e, n, t, l, s, o) {
|
|
|
709
709
|
onChange: e.changeEvent
|
|
710
710
|
}, null, 8, ["value", "name", "index", "disabled", "onChange"]);
|
|
711
711
|
}
|
|
712
|
-
const Re = /* @__PURE__ */ I($n, [["render", Sn], ["__scopeId", "data-v-84a761ce"]]),
|
|
712
|
+
const Re = /* @__PURE__ */ I($n, [["render", Sn], ["__scopeId", "data-v-84a761ce"]]), kn = D({
|
|
713
713
|
inheritAttrs: !1,
|
|
714
714
|
props: {
|
|
715
715
|
name: String,
|
|
@@ -732,15 +732,15 @@ const Re = /* @__PURE__ */ I($n, [["render", Sn], ["__scopeId", "data-v-84a761ce
|
|
|
732
732
|
changeEvent: s
|
|
733
733
|
};
|
|
734
734
|
}
|
|
735
|
-
}),
|
|
735
|
+
}), _n = ["disabled", "value"];
|
|
736
736
|
function wn(e, n, t, l, s, o) {
|
|
737
737
|
return m(), h("sl-color-picker", {
|
|
738
738
|
disabled: e.boneState.readonly,
|
|
739
739
|
value: e.value,
|
|
740
740
|
onSlChange: n[0] || (n[0] = (...a) => e.changeEvent && e.changeEvent(...a))
|
|
741
|
-
}, null, 40,
|
|
741
|
+
}, null, 40, _n);
|
|
742
742
|
}
|
|
743
|
-
const Le = /* @__PURE__ */ I(
|
|
743
|
+
const Le = /* @__PURE__ */ I(kn, [["render", wn], ["__scopeId", "data-v-534b9149"]]), En = D({
|
|
744
744
|
inheritAttrs: !1,
|
|
745
745
|
emits: { change: null },
|
|
746
746
|
props: {
|
|
@@ -794,9 +794,9 @@ function Bn(e, n, t, l, s, o) {
|
|
|
794
794
|
onKeyup: n[1] || (n[1] = (...a) => e.changeEvent && e.changeEvent(...a))
|
|
795
795
|
}, null, 40, An),
|
|
796
796
|
d("ul", In, [
|
|
797
|
-
e.state.minAmount !== -9223372036854776e3 && e.state.minAmount ? (m(), h("li", Cn, B(e.$t("bones.numeric.min", { val: e.state.minAmount })), 1)) :
|
|
798
|
-
e.state.maxAmount !== 9223372036854776e3 && e.state.maxAmount ? (m(), h("li", On, B(e.$t("bones.numeric.max", { val: e.state.maxAmount })), 1)) :
|
|
799
|
-
e.state.precision ? (m(), h("li", jn, B(e.$t("bones.numeric.precision", { val: e.boneState.bonestructure.precision })), 1)) :
|
|
797
|
+
e.state.minAmount !== -9223372036854776e3 && e.state.minAmount ? (m(), h("li", Cn, B(e.$t("bones.numeric.min", { val: e.state.minAmount })), 1)) : _("", !0),
|
|
798
|
+
e.state.maxAmount !== 9223372036854776e3 && e.state.maxAmount ? (m(), h("li", On, B(e.$t("bones.numeric.max", { val: e.state.maxAmount })), 1)) : _("", !0),
|
|
799
|
+
e.state.precision ? (m(), h("li", jn, B(e.$t("bones.numeric.precision", { val: e.boneState.bonestructure.precision })), 1)) : _("", !0)
|
|
800
800
|
])
|
|
801
801
|
], 64);
|
|
802
802
|
}
|
|
@@ -1047,8 +1047,8 @@ class le {
|
|
|
1047
1047
|
const f = new URLSearchParams();
|
|
1048
1048
|
for (const [p, v] of Object.entries(c))
|
|
1049
1049
|
if (Array.isArray(v))
|
|
1050
|
-
for (const
|
|
1051
|
-
f.append(p,
|
|
1050
|
+
for (const k of v)
|
|
1051
|
+
f.append(p, k);
|
|
1052
1052
|
else
|
|
1053
1053
|
f.append(p, v);
|
|
1054
1054
|
u.search = f.toString();
|
|
@@ -1160,7 +1160,7 @@ function zn(e, n, t, l, s, o) {
|
|
|
1160
1160
|
onClick: n[1] || (n[1] = () => {
|
|
1161
1161
|
e.$emit("change", e.name, "", e.lang, e.index), e.state.selection = null;
|
|
1162
1162
|
})
|
|
1163
|
-
}, Wn, 8, Pn)) :
|
|
1163
|
+
}, Wn, 8, Pn)) : _("", !0)
|
|
1164
1164
|
]),
|
|
1165
1165
|
(i = e.boneState) != null && i.bonestructure.using ? (m(), T(a, {
|
|
1166
1166
|
key: 0,
|
|
@@ -1169,7 +1169,7 @@ function zn(e, n, t, l, s, o) {
|
|
|
1169
1169
|
index: e.index,
|
|
1170
1170
|
disabled: e.boneState.bonestructure.readonly,
|
|
1171
1171
|
onChange: e.changeEventNested
|
|
1172
|
-
}, null, 8, ["value", "name", "index", "disabled", "onChange"])) :
|
|
1172
|
+
}, null, 8, ["value", "name", "index", "disabled", "onChange"])) : _("", !0)
|
|
1173
1173
|
]);
|
|
1174
1174
|
}
|
|
1175
1175
|
const Te = /* @__PURE__ */ I(Vn, [["render", zn], ["__scopeId", "data-v-61dd72e0"]]), qn = D({
|
|
@@ -1235,8 +1235,8 @@ const Gn = D({
|
|
|
1235
1235
|
size: u.size.toString()
|
|
1236
1236
|
};
|
|
1237
1237
|
return new Promise((p, v) => {
|
|
1238
|
-
O.securePost(`/${Pe.VITE_DEFAULT_RENDERER || "vi"}/file/getUploadURL`, { dataObj: f }).then(async (
|
|
1239
|
-
let g = await
|
|
1238
|
+
O.securePost(`/${Pe.VITE_DEFAULT_RENDERER || "vi"}/file/getUploadURL`, { dataObj: f }).then(async (k) => {
|
|
1239
|
+
let g = await k.json();
|
|
1240
1240
|
fetch(g.values.uploadUrl, {
|
|
1241
1241
|
body: u,
|
|
1242
1242
|
method: "POST",
|
|
@@ -1256,8 +1256,8 @@ const Gn = D({
|
|
|
1256
1256
|
}).catch((b) => {
|
|
1257
1257
|
v(b);
|
|
1258
1258
|
});
|
|
1259
|
-
}).catch((
|
|
1260
|
-
v(
|
|
1259
|
+
}).catch((k) => {
|
|
1260
|
+
v(k);
|
|
1261
1261
|
});
|
|
1262
1262
|
});
|
|
1263
1263
|
}
|
|
@@ -1313,22 +1313,22 @@ const Gn = D({
|
|
|
1313
1313
|
ma
|
|
1314
1314
|
];
|
|
1315
1315
|
function ha(e, n, t, l, s, o) {
|
|
1316
|
-
var a, i, r, c, u, f, p, v,
|
|
1316
|
+
var a, i, r, c, u, f, p, v, k, g;
|
|
1317
1317
|
return m(), h("div", {
|
|
1318
1318
|
class: "file-wrapper",
|
|
1319
1319
|
onDragover: n[5] || (n[5] = ue((b) => e.state.droparea = !0, ["prevent"])),
|
|
1320
1320
|
onDragleave: n[6] || (n[6] = (b) => e.state.droparea = !1),
|
|
1321
1321
|
onDrop: n[7] || (n[7] = ue((...b) => e.handleDrop && e.handleDrop(...b), ["prevent"]))
|
|
1322
1322
|
}, [
|
|
1323
|
-
e.state.loading ? (m(), h("div", Zn, Qn)) :
|
|
1324
|
-
e.state.droparea ? (m(), h("div", Yn, " Dateien hier hinziehen ")) :
|
|
1323
|
+
e.state.loading ? (m(), h("div", Zn, Qn)) : _("", !0),
|
|
1324
|
+
e.state.droparea ? (m(), h("div", Yn, " Dateien hier hinziehen ")) : _("", !0),
|
|
1325
1325
|
!e.boneState.readonly && (!e.value || e.state.loading) ? (m(), h("sl-button", {
|
|
1326
1326
|
key: 2,
|
|
1327
1327
|
title: e.$t("bone.upload"),
|
|
1328
1328
|
outline: "",
|
|
1329
1329
|
class: "upload-btn",
|
|
1330
1330
|
onClick: n[0] || (n[0] = (b) => e.uploadinput.click())
|
|
1331
|
-
}, ea, 8, Xn)) :
|
|
1331
|
+
}, ea, 8, Xn)) : _("", !0),
|
|
1332
1332
|
d("input", {
|
|
1333
1333
|
ref: "uploadinput",
|
|
1334
1334
|
hidden: "",
|
|
@@ -1340,7 +1340,7 @@ function ha(e, n, t, l, s, o) {
|
|
|
1340
1340
|
key: 3,
|
|
1341
1341
|
title: e.$t("bone.download"),
|
|
1342
1342
|
onClick: n[2] || (n[2] = (...b) => e.downloadFile && e.downloadFile(...b))
|
|
1343
|
-
}, sa, 8, na)) :
|
|
1343
|
+
}, sa, 8, na)) : _("", !0),
|
|
1344
1344
|
d("div", la, [
|
|
1345
1345
|
(i = (a = e.value) == null ? void 0 : a.dest) != null && i.mimetype.includes("image") ? (m(), h("div", {
|
|
1346
1346
|
key: 0,
|
|
@@ -1363,11 +1363,11 @@ function ha(e, n, t, l, s, o) {
|
|
|
1363
1363
|
}, null, 8, ia)
|
|
1364
1364
|
], 8, oa)
|
|
1365
1365
|
])) : (m(), h("div", ua, [
|
|
1366
|
-
(f = (u = e.value) == null ? void 0 : u.dest) != null && f.name ? (m(), h("sl-icon", da)) :
|
|
1366
|
+
(f = (u = e.value) == null ? void 0 : u.dest) != null && f.name ? (m(), h("sl-icon", da)) : _("", !0)
|
|
1367
1367
|
])),
|
|
1368
|
-
(v = (p = e.value) == null ? void 0 : p.dest) != null && v.name ? (m(), h("div", ca, B(decodeURIComponent((g = (
|
|
1368
|
+
(v = (p = e.value) == null ? void 0 : p.dest) != null && v.name ? (m(), h("div", ca, B(decodeURIComponent((g = (k = e.value) == null ? void 0 : k.dest) == null ? void 0 : g.name)), 1)) : _("", !0)
|
|
1369
1369
|
]),
|
|
1370
|
-
e.boneState.multiple ?
|
|
1370
|
+
e.boneState.multiple ? _("", !0) : (m(), h("sl-button", {
|
|
1371
1371
|
key: 4,
|
|
1372
1372
|
variant: "danger",
|
|
1373
1373
|
outline: "",
|
|
@@ -1441,7 +1441,7 @@ function pa(e, n, t, l, s, o) {
|
|
|
1441
1441
|
value: e.value,
|
|
1442
1442
|
onInput: n[1] || (n[1] = (...f) => e.changeEventTextarea && e.changeEventTextarea(...f))
|
|
1443
1443
|
}, null, 40, va))
|
|
1444
|
-
], 64)) :
|
|
1444
|
+
], 64)) : _("", !0);
|
|
1445
1445
|
}
|
|
1446
1446
|
const We = /* @__PURE__ */ I(ba, [["render", pa]]), ya = D({
|
|
1447
1447
|
inheritAttrs: !1,
|
|
@@ -1474,7 +1474,7 @@ const We = /* @__PURE__ */ I(ba, [["render", pa]]), ya = D({
|
|
|
1474
1474
|
};
|
|
1475
1475
|
}
|
|
1476
1476
|
}), $a = ["name", "min", "max", "disabled"], Sa = ["name", "min", "max", "disabled"];
|
|
1477
|
-
function
|
|
1477
|
+
function ka(e, n, t, l, s, o) {
|
|
1478
1478
|
return m(), h(E, null, [
|
|
1479
1479
|
Z(d("sl-input", {
|
|
1480
1480
|
"onUpdate:modelValue": n[0] || (n[0] = (a) => e.state.valueLat = a),
|
|
@@ -1508,7 +1508,7 @@ function _a(e, n, t, l, s, o) {
|
|
|
1508
1508
|
])
|
|
1509
1509
|
], 64);
|
|
1510
1510
|
}
|
|
1511
|
-
const ze = /* @__PURE__ */ I(ya, [["render",
|
|
1511
|
+
const ze = /* @__PURE__ */ I(ya, [["render", ka], ["__scopeId", "data-v-7bc31020"]]), _a = D({
|
|
1512
1512
|
props: {
|
|
1513
1513
|
name: String,
|
|
1514
1514
|
value: Object,
|
|
@@ -1567,7 +1567,7 @@ function ja(e, n, t, l, s, o) {
|
|
|
1567
1567
|
outline: "",
|
|
1568
1568
|
class: "delete-btn",
|
|
1569
1569
|
onClick: n[0] || (n[0] = (a) => e.handleRemove(e.lang))
|
|
1570
|
-
}, Ia, 8, Ea)) :
|
|
1570
|
+
}, Ia, 8, Ea)) : _("", !0),
|
|
1571
1571
|
e.boneState.multiple && !e.readonly ? (m(), h("sl-button", {
|
|
1572
1572
|
key: 1,
|
|
1573
1573
|
variant: "success",
|
|
@@ -1580,11 +1580,11 @@ function ja(e, n, t, l, s, o) {
|
|
|
1580
1580
|
j(" " + B(e.$t("bone.add")) + " ", 1),
|
|
1581
1581
|
e.state.counter > 1 ? (m(), h(E, { key: 0 }, [
|
|
1582
1582
|
j("(" + B(e.state.counter) + ")", 1)
|
|
1583
|
-
], 64)) :
|
|
1584
|
-
], 8, Ca)) :
|
|
1583
|
+
], 64)) : _("", !0)
|
|
1584
|
+
], 8, Ca)) : _("", !0)
|
|
1585
1585
|
]);
|
|
1586
1586
|
}
|
|
1587
|
-
const Ba = /* @__PURE__ */ I(
|
|
1587
|
+
const Ba = /* @__PURE__ */ I(_a, [["render", ja], ["__scopeId", "data-v-63e75dee"]]);
|
|
1588
1588
|
var Da = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
1589
1589
|
const Va = D({
|
|
1590
1590
|
props: {
|
|
@@ -1609,7 +1609,7 @@ const Va = D({
|
|
|
1609
1609
|
).then(async (u) => {
|
|
1610
1610
|
var p;
|
|
1611
1611
|
const f = await u.json();
|
|
1612
|
-
return a.skels = f.skellist.reduce((v,
|
|
1612
|
+
return a.skels = f.skellist.reduce((v, k) => (v[k.key] = k, v), {}), (p = f.skellist) == null ? void 0 : p.map((v) => ({ text: s(t.bonestructure.format, { dest: v }), value: v.key, data: v }));
|
|
1613
1613
|
});
|
|
1614
1614
|
}
|
|
1615
1615
|
return R(() => {
|
|
@@ -1640,7 +1640,7 @@ function Wa(e, n, t, l, s, o) {
|
|
|
1640
1640
|
outline: "",
|
|
1641
1641
|
class: "delete-btn",
|
|
1642
1642
|
onClick: n[0] || (n[0] = (a) => e.openSelector())
|
|
1643
|
-
}, Ua, 8, Ra)) :
|
|
1643
|
+
}, Ua, 8, Ra)) : _("", !0),
|
|
1644
1644
|
d("sl-combobox", {
|
|
1645
1645
|
source: e.getList,
|
|
1646
1646
|
hoist: "",
|
|
@@ -1662,7 +1662,7 @@ function Wa(e, n, t, l, s, o) {
|
|
|
1662
1662
|
}, [
|
|
1663
1663
|
Ma,
|
|
1664
1664
|
j(" " + B(e.$t("bone.list")), 1)
|
|
1665
|
-
], 8, Pa)) :
|
|
1665
|
+
], 8, Pa)) : _("", !0)
|
|
1666
1666
|
]);
|
|
1667
1667
|
}
|
|
1668
1668
|
const za = /* @__PURE__ */ I(Va, [["render", Wa], ["__scopeId", "data-v-eeea51c6"]]);
|
|
@@ -1695,8 +1695,8 @@ const qa = D({
|
|
|
1695
1695
|
size: u.size.toString()
|
|
1696
1696
|
};
|
|
1697
1697
|
return new Promise((p, v) => {
|
|
1698
|
-
O.securePost(`/${qe.VITE_DEFAULT_RENDERER || "vi"}/file/getUploadURL`, { dataObj: f }).then(async (
|
|
1699
|
-
let g = await
|
|
1698
|
+
O.securePost(`/${qe.VITE_DEFAULT_RENDERER || "vi"}/file/getUploadURL`, { dataObj: f }).then(async (k) => {
|
|
1699
|
+
let g = await k.json();
|
|
1700
1700
|
fetch(g.values.uploadUrl, {
|
|
1701
1701
|
body: u,
|
|
1702
1702
|
method: "POST",
|
|
@@ -1716,8 +1716,8 @@ const qa = D({
|
|
|
1716
1716
|
}).catch((b) => {
|
|
1717
1717
|
v(b);
|
|
1718
1718
|
});
|
|
1719
|
-
}).catch((
|
|
1720
|
-
v(
|
|
1719
|
+
}).catch((k) => {
|
|
1720
|
+
v(k);
|
|
1721
1721
|
});
|
|
1722
1722
|
});
|
|
1723
1723
|
}
|
|
@@ -1785,8 +1785,8 @@ function ts(e, n, t, l, s, o) {
|
|
|
1785
1785
|
outline: "",
|
|
1786
1786
|
class: "delete-btn",
|
|
1787
1787
|
onClick: n[0] || (n[0] = (a) => e.openSelector())
|
|
1788
|
-
}, Ha, 8, Fa)) :
|
|
1789
|
-
e.state.droparea ? (m(), h("div", Ga, " Dateien hier hinziehen ")) :
|
|
1788
|
+
}, Ha, 8, Fa)) : _("", !0),
|
|
1789
|
+
e.state.droparea ? (m(), h("div", Ga, " Dateien hier hinziehen ")) : _("", !0),
|
|
1790
1790
|
d("input", {
|
|
1791
1791
|
ref: "uploadinput",
|
|
1792
1792
|
hidden: "",
|
|
@@ -1800,7 +1800,7 @@ function ts(e, n, t, l, s, o) {
|
|
|
1800
1800
|
title: e.$t("bone.list"),
|
|
1801
1801
|
class: "add-btn",
|
|
1802
1802
|
onClick: n[2] || (n[2] = (a) => e.addMultipleEntry(e.lang))
|
|
1803
|
-
}, Ya, 8, Ja)) :
|
|
1803
|
+
}, Ya, 8, Ja)) : _("", !0),
|
|
1804
1804
|
e.boneState.multiple && !e.readonly ? (m(), h("sl-button", {
|
|
1805
1805
|
key: 3,
|
|
1806
1806
|
variant: "success",
|
|
@@ -1811,8 +1811,8 @@ function ts(e, n, t, l, s, o) {
|
|
|
1811
1811
|
}, [
|
|
1812
1812
|
xa,
|
|
1813
1813
|
j(" " + B(e.$t("bone.upload")) + " ", 1),
|
|
1814
|
-
e.state.loading ? (m(), h("sl-spinner", es)) :
|
|
1815
|
-
], 8, Xa)) :
|
|
1814
|
+
e.state.loading ? (m(), h("sl-spinner", es)) : _("", !0)
|
|
1815
|
+
], 8, Xa)) : _("", !0)
|
|
1816
1816
|
], 32);
|
|
1817
1817
|
}
|
|
1818
1818
|
const ns = /* @__PURE__ */ I(qa, [["render", ts], ["__scopeId", "data-v-9bac9f8a"]]), Se = ye("boneStore", () => {
|
|
@@ -2116,7 +2116,7 @@ D({
|
|
|
2116
2116
|
function v(g = null, b = "") {
|
|
2117
2117
|
u(g, b);
|
|
2118
2118
|
}
|
|
2119
|
-
function
|
|
2119
|
+
function k(g, b) {
|
|
2120
2120
|
function y(V) {
|
|
2121
2121
|
let G = [], F = [], te = /\$\((.*?)\)/g;
|
|
2122
2122
|
for (; F; ) {
|
|
@@ -2154,7 +2154,7 @@ D({
|
|
|
2154
2154
|
}
|
|
2155
2155
|
return L.join(", ");
|
|
2156
2156
|
}
|
|
2157
|
-
return oe("formatString",
|
|
2157
|
+
return oe("formatString", k), x(() => {
|
|
2158
2158
|
var g;
|
|
2159
2159
|
e.value ? t.bonevalue = e.value : t.bonevalue = (g = e.skel) == null ? void 0 : g[e.name];
|
|
2160
2160
|
}), ne(
|
|
@@ -2187,7 +2187,7 @@ D({
|
|
|
2187
2187
|
};
|
|
2188
2188
|
}
|
|
2189
2189
|
});
|
|
2190
|
-
const
|
|
2190
|
+
const ke = {
|
|
2191
2191
|
props: {
|
|
2192
2192
|
size: {
|
|
2193
2193
|
type: String,
|
|
@@ -2225,8 +2225,8 @@ const _e = {
|
|
|
2225
2225
|
d5b3feca: e.color,
|
|
2226
2226
|
"2050b700": e.state.trackWidth
|
|
2227
2227
|
}));
|
|
2228
|
-
}, Ke =
|
|
2229
|
-
|
|
2228
|
+
}, Ke = ke.setup;
|
|
2229
|
+
ke.setup = Ke ? (e, n) => (Fe(), Ke(e, n)) : Fe;
|
|
2230
2230
|
const ls = (e) => (M("data-v-46c45785"), e = e(), z(), e), rs = {
|
|
2231
2231
|
key: 0,
|
|
2232
2232
|
class: "loading"
|
|
@@ -2239,12 +2239,12 @@ function ds(e, n, t, l, s, o) {
|
|
|
2239
2239
|
d("div", is, [
|
|
2240
2240
|
d("sl-icon", { src: t.logo }, null, 8, us)
|
|
2241
2241
|
])
|
|
2242
|
-
])) :
|
|
2242
|
+
])) : _("", !0)
|
|
2243
2243
|
]),
|
|
2244
2244
|
_: 1
|
|
2245
2245
|
});
|
|
2246
2246
|
}
|
|
2247
|
-
const cs = /* @__PURE__ */ I(
|
|
2247
|
+
const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785"]]), re = ye("cartstore", () => {
|
|
2248
2248
|
const e = new gt({
|
|
2249
2249
|
host_url: window.location.origin === "http://localhost:8081" ? "http://localhost:8080" : window.location.origin
|
|
2250
2250
|
}), n = w({
|
|
@@ -2316,7 +2316,7 @@ const cs = /* @__PURE__ */ I(_e, [["render", ds], ["__scopeId", "data-v-46c45785
|
|
|
2316
2316
|
setup(e) {
|
|
2317
2317
|
return w({}), (n, t) => (m(), h("pre", null, B(e.node.name), 1));
|
|
2318
2318
|
}
|
|
2319
|
-
}, me = (e) => (M("data-v-
|
|
2319
|
+
}, me = (e) => (M("data-v-ea1a0825"), e = e(), z(), e), ms = {
|
|
2320
2320
|
horizontal: "",
|
|
2321
2321
|
class: "viur-shop-cart-leaf"
|
|
2322
2322
|
}, gs = ["src"], hs = { class: "viur-shop-cart-leaf-headline headline" }, bs = { class: "viur-shop-cart-leaf-artno" }, vs = ["innerHTML"], ps = { class: "viur-shop-cart-leaf-actions" }, ys = /* @__PURE__ */ me(() => /* @__PURE__ */ d("sl-button", {
|
|
@@ -2335,7 +2335,7 @@ const cs = /* @__PURE__ */ I(_e, [["render", ds], ["__scopeId", "data-v-46c45785
|
|
|
2335
2335
|
slot: "prefix"
|
|
2336
2336
|
}, null, -1)), Ss = [
|
|
2337
2337
|
$s
|
|
2338
|
-
],
|
|
2338
|
+
], ks = { class: "viur-shop-cart-leaf-quantity" }, _s = { class: "viur-shop-cart-leaf-unitprice" }, ws = /* @__PURE__ */ me(() => /* @__PURE__ */ d("div", { class: "viur-shop-cart-leaf-label" }, "Stückpreis", -1)), Es = ["value"], As = { class: "viur-shop-cart-leaf-price" }, Is = /* @__PURE__ */ me(() => /* @__PURE__ */ d("div", { class: "viur-shop-cart-leaf-label" }, "Gesamtpreis", -1)), Cs = ["value"], Os = {
|
|
2339
2339
|
__name: "CartLeaf",
|
|
2340
2340
|
props: {
|
|
2341
2341
|
leaf: { type: Object, required: !0 },
|
|
@@ -2385,7 +2385,7 @@ const cs = /* @__PURE__ */ I(_e, [["render", ds], ["__scopeId", "data-v-46c45785
|
|
|
2385
2385
|
onClick: c[0] || (c[0] = (u) => i(s.leaf, s.leaf.article.dest.key, e.node))
|
|
2386
2386
|
}, Ss)
|
|
2387
2387
|
]),
|
|
2388
|
-
d("div",
|
|
2388
|
+
d("div", ks, [
|
|
2389
2389
|
Z(d("sl-input", {
|
|
2390
2390
|
class: "viur-shop-cart-leaf-value viur-shop-cart-leaf-value--quantity",
|
|
2391
2391
|
type: "number",
|
|
@@ -2403,14 +2403,14 @@ const cs = /* @__PURE__ */ I(_e, [["render", ds], ["__scopeId", "data-v-46c45785
|
|
|
2403
2403
|
[se, s.leaf.quantity]
|
|
2404
2404
|
])
|
|
2405
2405
|
]),
|
|
2406
|
-
d("div",
|
|
2406
|
+
d("div", _s, [
|
|
2407
2407
|
ws,
|
|
2408
2408
|
d("sl-format-number", {
|
|
2409
2409
|
class: "viur-shop-cart-leaf-value viur-shop-cart-leaf-value--unitprice",
|
|
2410
2410
|
lang: "de",
|
|
2411
2411
|
type: "currency",
|
|
2412
2412
|
currency: "EUR",
|
|
2413
|
-
value:
|
|
2413
|
+
value: e.leaf.price.retail
|
|
2414
2414
|
}, null, 8, Es)
|
|
2415
2415
|
]),
|
|
2416
2416
|
d("div", As, [
|
|
@@ -2420,12 +2420,12 @@ const cs = /* @__PURE__ */ I(_e, [["render", ds], ["__scopeId", "data-v-46c45785
|
|
|
2420
2420
|
lang: "de",
|
|
2421
2421
|
type: "currency",
|
|
2422
2422
|
currency: "EUR",
|
|
2423
|
-
value:
|
|
2423
|
+
value: e.leaf.price.retail * e.leaf.quantity
|
|
2424
2424
|
}, null, 8, Cs)
|
|
2425
2425
|
])
|
|
2426
2426
|
]));
|
|
2427
2427
|
}
|
|
2428
|
-
}, js = /* @__PURE__ */ I(Os, [["__scopeId", "data-v-
|
|
2428
|
+
}, js = /* @__PURE__ */ I(Os, [["__scopeId", "data-v-ea1a0825"]]), Ye = (e) => (M("data-v-8dd1e557"), e = e(), z(), e), Bs = { key: 0 }, Ds = /* @__PURE__ */ Ye(() => /* @__PURE__ */ d("p", null, "Möchten Sie den Artikel wirklich aus dem Warenkorb entfernen?", -1)), Vs = {
|
|
2429
2429
|
class: "footer-wrap",
|
|
2430
2430
|
slot: "footer"
|
|
2431
2431
|
}, Ns = { class: "viur-shop-cart-node" }, Rs = /* @__PURE__ */ Ye(() => /* @__PURE__ */ d("div", { class: "viur-shop-cart-mobile-footer" }, [
|
|
@@ -2503,21 +2503,21 @@ const cs = /* @__PURE__ */ I(_e, [["render", ds], ["__scopeId", "data-v-46c45785
|
|
|
2503
2503
|
(m(!0), h(E, null, U(s.nodes, (v) => (m(), h("div", Ns, [
|
|
2504
2504
|
Object.keys(s.leaves).includes(v.key) ? (m(), h(E, { key: 0 }, [
|
|
2505
2505
|
ut(fs, { node: v }, null, 8, ["node"]),
|
|
2506
|
-
(m(!0), h(E, null, U(s.leaves[v.key], (
|
|
2507
|
-
key:
|
|
2508
|
-
leaf:
|
|
2506
|
+
(m(!0), h(E, null, U(s.leaves[v.key], (k) => (m(), T(js, {
|
|
2507
|
+
key: k.key,
|
|
2508
|
+
leaf: k,
|
|
2509
2509
|
node: v,
|
|
2510
2510
|
onRemoveItem: i,
|
|
2511
2511
|
onUpdateItem: a
|
|
2512
2512
|
}, null, 8, ["leaf", "node"]))), 128))
|
|
2513
|
-
], 64)) :
|
|
2513
|
+
], 64)) : _("", !0)
|
|
2514
2514
|
]))), 256)),
|
|
2515
2515
|
Rs
|
|
2516
2516
|
], 64)) : (m(), h("sl-spinner", Bs));
|
|
2517
2517
|
}
|
|
2518
|
-
},
|
|
2518
|
+
}, _e = /* @__PURE__ */ I(Ls, [["__scopeId", "data-v-8dd1e557"]]), Us = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2519
2519
|
__proto__: null,
|
|
2520
|
-
default:
|
|
2520
|
+
default: _e
|
|
2521
2521
|
}, Symbol.toStringTag, { value: "Module" })), J = (e) => (M("data-v-b7b745be"), e = e(), z(), e), Ts = {
|
|
2522
2522
|
key: 1,
|
|
2523
2523
|
class: "list"
|
|
@@ -2652,7 +2652,7 @@ const cs = /* @__PURE__ */ I(_e, [["render", ds], ["__scopeId", "data-v-46c45785
|
|
|
2652
2652
|
let f = [], p = [];
|
|
2653
2653
|
for (const v in u)
|
|
2654
2654
|
u[v].position ? f.push([v, u[v].position]) : f.push([v, 0]);
|
|
2655
|
-
return f.sort((v,
|
|
2655
|
+
return f.sort((v, k) => v[1] - k[1]), f.forEach((v) => {
|
|
2656
2656
|
p.push(v[0]);
|
|
2657
2657
|
}), p;
|
|
2658
2658
|
}
|
|
@@ -2688,7 +2688,7 @@ const cs = /* @__PURE__ */ I(_e, [["render", ds], ["__scopeId", "data-v-46c45785
|
|
|
2688
2688
|
}, null, 8, tl),
|
|
2689
2689
|
d("div", nl, B(v + 1) + ". " + B(e.tabs[p].displayName), 1)
|
|
2690
2690
|
]),
|
|
2691
|
-
v < s.tabNames.length - 1 ? (m(), h("sl-icon", al)) :
|
|
2691
|
+
v < s.tabNames.length - 1 ? (m(), h("sl-icon", al)) : _("", !0)
|
|
2692
2692
|
], 8, xs))), 128)),
|
|
2693
2693
|
(m(!0), h(E, null, U(s.tabNames, (p, v) => (m(), h("sl-tab-panel", {
|
|
2694
2694
|
class: "viur-shop-order-tab-panel",
|
|
@@ -2702,16 +2702,16 @@ const cs = /* @__PURE__ */ I(_e, [["render", ds], ["__scopeId", "data-v-46c45785
|
|
|
2702
2702
|
}, [
|
|
2703
2703
|
Z(d("sl-button", {
|
|
2704
2704
|
type: "submit",
|
|
2705
|
-
onClick: (
|
|
2705
|
+
onClick: (k) => r(s.tabNames[v - 1])
|
|
2706
2706
|
}, " Zurück ", 8, ll), [
|
|
2707
2707
|
[be, v !== 0]
|
|
2708
2708
|
]),
|
|
2709
2709
|
d("sl-button", {
|
|
2710
2710
|
type: "submit",
|
|
2711
2711
|
variant: "primary",
|
|
2712
|
-
onClick: (
|
|
2712
|
+
onClick: (k) => c(s.tabNames[v + 1])
|
|
2713
2713
|
}, " Weiter ", 8, rl)
|
|
2714
|
-
], 2)) :
|
|
2714
|
+
], 2)) : _("", !0)
|
|
2715
2715
|
], 8, sl))), 128))
|
|
2716
2716
|
], 544),
|
|
2717
2717
|
ol
|
|
@@ -2740,7 +2740,7 @@ const cs = /* @__PURE__ */ I(_e, [["render", ds], ["__scopeId", "data-v-46c45785
|
|
|
2740
2740
|
function vl(e, n) {
|
|
2741
2741
|
return m(), h("div", cl, bl);
|
|
2742
2742
|
}
|
|
2743
|
-
const pl = /* @__PURE__ */ I(dl, [["render", vl], ["__scopeId", "data-v-36ccc280"]]), Ee = (e) => (M("data-v-b68a2bfa"), e = e(), z(), e), yl = /* @__PURE__ */ Ee(() => /* @__PURE__ */ d("h2", { class: "viur-shop-form-headline headline" }, "Nutzterdaten", -1)), $l = /* @__PURE__ */ Ee(() => /* @__PURE__ */ d("h2", { class: "viur-shop-form-headline headline" }, "Lieferadresse", -1)), Sl = { key: 0 },
|
|
2743
|
+
const pl = /* @__PURE__ */ I(dl, [["render", vl], ["__scopeId", "data-v-36ccc280"]]), Ee = (e) => (M("data-v-b68a2bfa"), e = e(), z(), e), yl = /* @__PURE__ */ Ee(() => /* @__PURE__ */ d("h2", { class: "viur-shop-form-headline headline" }, "Nutzterdaten", -1)), $l = /* @__PURE__ */ Ee(() => /* @__PURE__ */ d("h2", { class: "viur-shop-form-headline headline" }, "Lieferadresse", -1)), Sl = { key: 0 }, kl = /* @__PURE__ */ Ee(() => /* @__PURE__ */ d("h2", { class: "viur-shop-form-headline headline" }, "Rechnungsadresse", -1)), _l = {
|
|
2744
2744
|
__name: "UserInformation",
|
|
2745
2745
|
props: {
|
|
2746
2746
|
mode: { type: String, default: "form" },
|
|
@@ -2796,7 +2796,7 @@ const pl = /* @__PURE__ */ I(dl, [["render", vl], ["__scopeId", "data-v-36ccc280
|
|
|
2796
2796
|
skel: t.formValues,
|
|
2797
2797
|
onChange: (f) => s(u, f),
|
|
2798
2798
|
class: "viur-shop-form-grid-w-2"
|
|
2799
|
-
}, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) :
|
|
2799
|
+
}, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) : _("", !0)
|
|
2800
2800
|
], 64))), 128))
|
|
2801
2801
|
]),
|
|
2802
2802
|
d("div", null, [
|
|
@@ -2810,11 +2810,11 @@ const pl = /* @__PURE__ */ I(dl, [["render", vl], ["__scopeId", "data-v-36ccc280
|
|
|
2810
2810
|
errors: t.errors[u] ? t.errors[u] : [],
|
|
2811
2811
|
skel: t.formValues,
|
|
2812
2812
|
onChange: (f) => s(u, f)
|
|
2813
|
-
}, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) :
|
|
2813
|
+
}, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) : _("", !0)
|
|
2814
2814
|
], 64))), 128))
|
|
2815
2815
|
]),
|
|
2816
2816
|
t.isCustomAdress ? (m(), h("div", Sl, [
|
|
2817
|
-
|
|
2817
|
+
kl,
|
|
2818
2818
|
(m(!0), h(E, null, U(t.addSkel, (c, u) => (m(), h(E, { key: u }, [
|
|
2819
2819
|
c.visible && c.params.group === "Customer Address" ? (m(), T(r, {
|
|
2820
2820
|
key: 0,
|
|
@@ -2824,9 +2824,9 @@ const pl = /* @__PURE__ */ I(dl, [["render", vl], ["__scopeId", "data-v-36ccc280
|
|
|
2824
2824
|
errors: t.errors[u] ? t.errors[u] : [],
|
|
2825
2825
|
skel: t.formValues,
|
|
2826
2826
|
onChange: (f) => s(u, f)
|
|
2827
|
-
}, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) :
|
|
2827
|
+
}, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) : _("", !0)
|
|
2828
2828
|
], 64))), 128))
|
|
2829
|
-
])) :
|
|
2829
|
+
])) : _("", !0),
|
|
2830
2830
|
d("sl-checkbox", {
|
|
2831
2831
|
onSlChange: l,
|
|
2832
2832
|
checked: ""
|
|
@@ -2834,7 +2834,7 @@ const pl = /* @__PURE__ */ I(dl, [["render", vl], ["__scopeId", "data-v-36ccc280
|
|
|
2834
2834
|
], 64);
|
|
2835
2835
|
};
|
|
2836
2836
|
}
|
|
2837
|
-
}, wl = /* @__PURE__ */ I(
|
|
2837
|
+
}, wl = /* @__PURE__ */ I(_l, [["__scopeId", "data-v-b68a2bfa"]]), ee = (e) => (M("data-v-a4accf28"), e = e(), z(), e), El = /* @__PURE__ */ ee(() => /* @__PURE__ */ d("h2", { class: "viur-shop-form-headline headline" }, "Nutzterdaten", -1)), Al = /* @__PURE__ */ ee(() => /* @__PURE__ */ d("h2", { class: "viur-shop-form-headline headline" }, "Lieferadresse", -1)), Il = ["onSlChange", "onSlClear", "label"], Cl = ["value"], Ol = { key: 0 }, jl = /* @__PURE__ */ ee(() => /* @__PURE__ */ d("h2", { class: "viur-shop-form-headline headline" }, "Rechnungsadresse", -1)), Bl = /* @__PURE__ */ ee(() => /* @__PURE__ */ d("sl-icon", {
|
|
2838
2838
|
name: "x-lg",
|
|
2839
2839
|
slot: "prefix"
|
|
2840
2840
|
}, null, -1)), Dl = [
|
|
@@ -2882,8 +2882,8 @@ const pl = /* @__PURE__ */ I(dl, [["render", vl], ["__scopeId", "data-v-36ccc280
|
|
|
2882
2882
|
t.shippingAdressAmount += 1;
|
|
2883
2883
|
}
|
|
2884
2884
|
function i(p, v) {
|
|
2885
|
-
for (const [
|
|
2886
|
-
t.formValues[
|
|
2885
|
+
for (const [k, g] of Object.entries(v.value[0]))
|
|
2886
|
+
t.formValues[k] = g;
|
|
2887
2887
|
}
|
|
2888
2888
|
function r() {
|
|
2889
2889
|
if (t.shippingAdressAmount === 1) {
|
|
@@ -2904,24 +2904,24 @@ const pl = /* @__PURE__ */ I(dl, [["render", vl], ["__scopeId", "data-v-36ccc280
|
|
|
2904
2904
|
}
|
|
2905
2905
|
function f(p) {
|
|
2906
2906
|
let v = {};
|
|
2907
|
-
return Array.isArray(p) ? (p.forEach((
|
|
2908
|
-
let g =
|
|
2907
|
+
return Array.isArray(p) ? (p.forEach((k) => {
|
|
2908
|
+
let g = k[0], b = k[1];
|
|
2909
2909
|
v[g] = b;
|
|
2910
2910
|
}), v) : p;
|
|
2911
2911
|
}
|
|
2912
2912
|
return ne(t.formValues, (p) => {
|
|
2913
|
-
Object.entries(p).forEach(([v,
|
|
2914
|
-
|
|
2913
|
+
Object.entries(p).forEach(([v, k]) => {
|
|
2914
|
+
k === "" && delete t.formValues[v];
|
|
2915
2915
|
});
|
|
2916
2916
|
}), x(async () => {
|
|
2917
2917
|
await n.getAdressStructure(), t.addSkel = f(n.state.structure.address);
|
|
2918
2918
|
}), (p, v) => {
|
|
2919
|
-
const
|
|
2919
|
+
const k = ae("bone");
|
|
2920
2920
|
return m(), h(E, null, [
|
|
2921
2921
|
d("div", null, [
|
|
2922
2922
|
El,
|
|
2923
2923
|
(m(!0), h(E, null, U(t.addSkel, (g, b) => (m(), h(E, { key: b }, [
|
|
2924
|
-
g.visible && g.params.group === "Customer Info" ? (m(), T(
|
|
2924
|
+
g.visible && g.params.group === "Customer Info" ? (m(), T(k, {
|
|
2925
2925
|
key: 0,
|
|
2926
2926
|
is: K(X)(g.type),
|
|
2927
2927
|
name: b,
|
|
@@ -2930,7 +2930,7 @@ const pl = /* @__PURE__ */ I(dl, [["render", vl], ["__scopeId", "data-v-36ccc280
|
|
|
2930
2930
|
skel: t.formValues,
|
|
2931
2931
|
onChange: (y) => i(b, y),
|
|
2932
2932
|
class: "viur-shop-form-grid-w-2"
|
|
2933
|
-
}, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) :
|
|
2933
|
+
}, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) : _("", !0)
|
|
2934
2934
|
], 64))), 128))
|
|
2935
2935
|
]),
|
|
2936
2936
|
Al,
|
|
@@ -2948,7 +2948,7 @@ const pl = /* @__PURE__ */ I(dl, [["render", vl], ["__scopeId", "data-v-36ccc280
|
|
|
2948
2948
|
(m(!0), h(E, null, U(K(n).state.carts, (b, y) => (m(), h("sl-option", { value: y }, B(b.info.name), 9, Cl))), 256))
|
|
2949
2949
|
], 40, Il),
|
|
2950
2950
|
(m(!0), h(E, null, U(t.addSkel, (b, y) => (m(), h(E, { key: y }, [
|
|
2951
|
-
b.visible && b.params.group === "Customer Address" ? (m(), T(
|
|
2951
|
+
b.visible && b.params.group === "Customer Address" ? (m(), T(k, {
|
|
2952
2952
|
key: 0,
|
|
2953
2953
|
is: K(X)(b.type),
|
|
2954
2954
|
name: y,
|
|
@@ -2956,13 +2956,13 @@ const pl = /* @__PURE__ */ I(dl, [["render", vl], ["__scopeId", "data-v-36ccc280
|
|
|
2956
2956
|
errors: t.errors[y] ? t.errors[y] : [],
|
|
2957
2957
|
skel: t.formValues,
|
|
2958
2958
|
onChange: ($) => i(y, $)
|
|
2959
|
-
}, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) :
|
|
2959
|
+
}, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) : _("", !0)
|
|
2960
2960
|
], 64))), 128))
|
|
2961
2961
|
]))), 128)),
|
|
2962
2962
|
t.isCustomAdress ? (m(), h("div", Ol, [
|
|
2963
2963
|
jl,
|
|
2964
2964
|
(m(!0), h(E, null, U(t.addSkel, (g, b) => (m(), h(E, { key: b }, [
|
|
2965
|
-
g.visible && g.params.group === "Customer Address" ? (m(), T(
|
|
2965
|
+
g.visible && g.params.group === "Customer Address" ? (m(), T(k, {
|
|
2966
2966
|
key: 0,
|
|
2967
2967
|
is: K(X)(g.type),
|
|
2968
2968
|
name: b,
|
|
@@ -2970,9 +2970,9 @@ const pl = /* @__PURE__ */ I(dl, [["render", vl], ["__scopeId", "data-v-36ccc280
|
|
|
2970
2970
|
errors: t.errors[b] ? t.errors[b] : [],
|
|
2971
2971
|
skel: t.formValues,
|
|
2972
2972
|
onChange: (y) => i(b, y)
|
|
2973
|
-
}, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) :
|
|
2973
|
+
}, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) : _("", !0)
|
|
2974
2974
|
], 64))), 128))
|
|
2975
|
-
])) :
|
|
2975
|
+
])) : _("", !0),
|
|
2976
2976
|
d("div", { class: "viur-shop-form-btn-wrap" }, [
|
|
2977
2977
|
d("sl-button", {
|
|
2978
2978
|
size: "medium",
|
|
@@ -3016,7 +3016,7 @@ const pl = /* @__PURE__ */ I(dl, [["render", vl], ["__scopeId", "data-v-36ccc280
|
|
|
3016
3016
|
rootNode: {},
|
|
3017
3017
|
tabs: {
|
|
3018
3018
|
cart: {
|
|
3019
|
-
component: H(
|
|
3019
|
+
component: H(_e),
|
|
3020
3020
|
props: {
|
|
3021
3021
|
sidebar: !0,
|
|
3022
3022
|
mode: "basket",
|
|
@@ -3120,12 +3120,12 @@ const zl = /* @__PURE__ */ I(Pl, [["render", Wl]]), ql = [
|
|
|
3120
3120
|
{
|
|
3121
3121
|
path: "/shop/category/:identifier",
|
|
3122
3122
|
name: "CategoryView",
|
|
3123
|
-
component: () => import("./CategoryView-
|
|
3123
|
+
component: () => import("./CategoryView-D40Pme0H.mjs")
|
|
3124
3124
|
},
|
|
3125
3125
|
{
|
|
3126
3126
|
path: "/shop/item/:item",
|
|
3127
3127
|
name: "itemView",
|
|
3128
|
-
component: () => import("./ItemView-
|
|
3128
|
+
component: () => import("./ItemView-Cd0jw_X3.mjs")
|
|
3129
3129
|
},
|
|
3130
3130
|
{
|
|
3131
3131
|
path: "/shop/cart/view",
|
|
@@ -3153,11 +3153,11 @@ function Ql(e, n = !1) {
|
|
|
3153
3153
|
}
|
|
3154
3154
|
const Yl = {
|
|
3155
3155
|
install(e) {
|
|
3156
|
-
e.component("CartView",
|
|
3156
|
+
e.component("CartView", _e), e.component("ExampleUsage", Xe), e.component("ConfirmView", we);
|
|
3157
3157
|
}
|
|
3158
3158
|
};
|
|
3159
3159
|
export {
|
|
3160
|
-
|
|
3160
|
+
_e as C,
|
|
3161
3161
|
Yl as V,
|
|
3162
3162
|
I as _,
|
|
3163
3163
|
Xe as a,
|