@viur/shop-components 0.0.1-dev.56 → 0.0.1-dev.58
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-BDsw60Bb.mjs → CategoryView-Z-tCFNv1.mjs} +2 -2
- package/dist/{ItemCard-CJdbKy8u.mjs → ItemCard-CVfih_bz.mjs} +1 -1
- package/dist/{ItemView-Dxwh9gVC.mjs → ItemView-cjeQBSTR.mjs} +2 -2
- package/dist/{main-CRXnIlzg.mjs → main-CZfMYx-A.mjs} +54 -56
- package/dist/main.css +1 -1
- package/dist/viur-shop-components.es.js +1 -1
- package/dist/viur-shop-components.umd.js +11 -11
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { reactive as p, computed as m, onMounted as f, openBlock as a, createElementBlock as i, createElementVNode as o, toDisplayString as g, renderSlot as _, createTextVNode as h, createCommentVNode as k, Fragment as y, renderList as v, createBlock as w, pushScopeId as I, popScopeId as S } from "vue";
|
|
2
|
-
import { _ as C, u as b } from "./main-
|
|
2
|
+
import { _ as C, u as b } from "./main-CZfMYx-A.mjs";
|
|
3
3
|
import { useRoute as x } from "vue-router";
|
|
4
4
|
import "@viur/vue-utils";
|
|
5
|
-
import { I as L } from "./ItemCard-
|
|
5
|
+
import { I as L } from "./ItemCard-CVfih_bz.mjs";
|
|
6
6
|
const V = (t) => (I("data-v-532e5cf3"), t = t(), S(), t), B = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "viur-shop-loading-wrap"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { openBlock as l, createElementBlock as n, createElementVNode as e, toDisplayString as r, withModifiers as m, unref as d, createTextVNode as p, pushScopeId as u, popScopeId as h } from "vue";
|
|
2
2
|
import { Request as _ } from "@viur/vue-utils";
|
|
3
|
-
import { _ as f, u as v } from "./main-
|
|
3
|
+
import { _ as f, u as v } from "./main-CZfMYx-A.mjs";
|
|
4
4
|
const i = (t) => (u("data-v-dc32dd0b"), t = t(), h(), t), b = { class: "viur-shop-item-card-card" }, g = ["src", "alt"], k = { class: "viur-shop-item-card-headline" }, x = /* @__PURE__ */ i(() => /* @__PURE__ */ e("h4", { class: "viur-shop-item-card-subline" }, "B 21 x H 6,5 x T 19 cm", -1)), I = { class: "viur-shop-item-card-price" }, y = {
|
|
5
5
|
class: "viur-shop-item-card-footer",
|
|
6
6
|
slot: "footer"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { reactive as Yt, onBeforeMount as Gt, openBlock as Qt, createElementBlock as Xt, Fragment as te, createElementVNode as p, toDisplayString as dt, withModifiers as ee, createTextVNode as It, createVNode as se, pushScopeId as ie, popScopeId as re } from "vue";
|
|
2
2
|
import { Request as ut } from "@viur/vue-utils";
|
|
3
3
|
import { useRoute as oe } from "vue-router";
|
|
4
|
-
import { I as ne } from "./ItemCard-
|
|
5
|
-
import { _ as ae } from "./main-
|
|
4
|
+
import { I as ne } from "./ItemCard-CVfih_bz.mjs";
|
|
5
|
+
import { _ as ae } from "./main-CZfMYx-A.mjs";
|
|
6
6
|
function pt(s, t, e) {
|
|
7
7
|
const i = (r) => Object.is(r, -0) ? 0 : r;
|
|
8
8
|
return s < t ? i(t) : s > e ? i(e) : i(s);
|
|
@@ -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
|
|
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";
|
|
@@ -28,7 +28,7 @@ const pt = D({
|
|
|
28
28
|
for (const [l, s] of n)
|
|
29
29
|
t[l] = s;
|
|
30
30
|
return t;
|
|
31
|
-
}, Ge = (e) => (M("data-v-141aaf9b"), e = e(),
|
|
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
34
|
}, null, -1)), kt = [
|
|
@@ -175,10 +175,10 @@ function Wt(e, n, t, l, s, o) {
|
|
|
175
175
|
}, null, 40, Mt);
|
|
176
176
|
}
|
|
177
177
|
const Ce = /* @__PURE__ */ I(Pt, [["render", Wt], ["__scopeId", "data-v-b45a1311"]]);
|
|
178
|
-
function
|
|
178
|
+
function zt(e) {
|
|
179
179
|
return at() ? (st(e), !0) : !1;
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function qt(e) {
|
|
182
182
|
return typeof e == "function" ? e() : K(e);
|
|
183
183
|
}
|
|
184
184
|
const Ft = typeof window < "u" && typeof document < "u";
|
|
@@ -186,7 +186,7 @@ typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
|
186
186
|
function ce(e, n, t = {}) {
|
|
187
187
|
const {
|
|
188
188
|
immediate: l = !0
|
|
189
|
-
} = t, s =
|
|
189
|
+
} = t, s = q(!1);
|
|
190
190
|
let o = null;
|
|
191
191
|
function a() {
|
|
192
192
|
o && (clearTimeout(o), o = null);
|
|
@@ -197,9 +197,9 @@ function ce(e, n, t = {}) {
|
|
|
197
197
|
function r(...c) {
|
|
198
198
|
a(), s.value = !0, o = setTimeout(() => {
|
|
199
199
|
s.value = !1, o = null, e(...c);
|
|
200
|
-
},
|
|
200
|
+
}, qt(n));
|
|
201
201
|
}
|
|
202
|
-
return l && (s.value = !0, Ft && r()),
|
|
202
|
+
return l && (s.value = !0, Ft && r()), zt(i), {
|
|
203
203
|
isPending: nt(s),
|
|
204
204
|
start: r,
|
|
205
205
|
stop: i
|
|
@@ -260,7 +260,7 @@ const Ht = D({
|
|
|
260
260
|
setup(e, n) {
|
|
261
261
|
const t = C("boneState"), l = w({
|
|
262
262
|
value: S(() => e.value)
|
|
263
|
-
}), s =
|
|
263
|
+
}), s = q(null);
|
|
264
264
|
function o(a) {
|
|
265
265
|
n.emit("change", e.name, a.target.value, e.lang, e.index);
|
|
266
266
|
}
|
|
@@ -304,7 +304,7 @@ const Oe = /* @__PURE__ */ I(Ht, [["render", Zt], ["__scopeId", "data-v-1ccbacc0
|
|
|
304
304
|
components: {},
|
|
305
305
|
emits: ["change"],
|
|
306
306
|
setup(e, n) {
|
|
307
|
-
const t = C("boneState"), l = w({}), s =
|
|
307
|
+
const t = C("boneState"), l = w({}), s = q(null);
|
|
308
308
|
function o(a) {
|
|
309
309
|
n.emit("change", e.name, a.target.value, e.lang, e.index);
|
|
310
310
|
}
|
|
@@ -486,7 +486,7 @@ const Ve = /* @__PURE__ */ I(ln, [["render", on], ["__scopeId", "data-v-363598c8
|
|
|
486
486
|
equal: !1,
|
|
487
487
|
passwordInfo: [],
|
|
488
488
|
requiredPasswordInfo: []
|
|
489
|
-
}), s =
|
|
489
|
+
}), s = q(null);
|
|
490
490
|
function o(i) {
|
|
491
491
|
l.value1 === l.value2 ? l.equal = !0 : l.equal = !1, a(l.value1), l.requiredPasswordInfo.length === 0 && l.passwordInfo.length - l.requiredPasswordInfo.length <= t.bonestructure.test_threshold ? n.emit("change", e.name, l.value1, e.lang, e.index, !0) : n.emit("change", e.name, l.value1, e.lang, e.index, !1);
|
|
492
492
|
}
|
|
@@ -759,7 +759,7 @@ const Le = /* @__PURE__ */ I(kn, [["render", wn], ["__scopeId", "data-v-534b9149
|
|
|
759
759
|
if (t.bonestructure.precision > 1)
|
|
760
760
|
return parseFloat(`0.${"0".repeat(t.bonestructure.precision - 1)}1`);
|
|
761
761
|
})
|
|
762
|
-
}), s =
|
|
762
|
+
}), s = q(null);
|
|
763
763
|
function o(a) {
|
|
764
764
|
n.emit("change", e.name, a.target.value, e.lang, e.index);
|
|
765
765
|
}
|
|
@@ -1129,13 +1129,13 @@ const Vn = D({
|
|
|
1129
1129
|
getList: o
|
|
1130
1130
|
};
|
|
1131
1131
|
}
|
|
1132
|
-
}), Nn = (e) => (M("data-v-61dd72e0"), e = e(),
|
|
1132
|
+
}), Nn = (e) => (M("data-v-61dd72e0"), e = e(), z(), e), Rn = { class: "record" }, Ln = { class: "single-entry" }, Un = ["value"], Tn = ["disabled", "source"], Pn = ["title"], Mn = /* @__PURE__ */ Nn(() => /* @__PURE__ */ d("sl-icon", {
|
|
1133
1133
|
slot: "prefix",
|
|
1134
1134
|
name: "x-lg"
|
|
1135
1135
|
}, null, -1)), Wn = [
|
|
1136
1136
|
Mn
|
|
1137
1137
|
];
|
|
1138
|
-
function
|
|
1138
|
+
function zn(e, n, t, l, s, o) {
|
|
1139
1139
|
var i, r;
|
|
1140
1140
|
const a = ae("Wrapper_nested");
|
|
1141
1141
|
return m(), h("div", Rn, [
|
|
@@ -1172,7 +1172,7 @@ function qn(e, n, t, l, s, o) {
|
|
|
1172
1172
|
}, null, 8, ["value", "name", "index", "disabled", "onChange"])) : _("", !0)
|
|
1173
1173
|
]);
|
|
1174
1174
|
}
|
|
1175
|
-
const Te = /* @__PURE__ */ I(Vn, [["render",
|
|
1175
|
+
const Te = /* @__PURE__ */ I(Vn, [["render", zn], ["__scopeId", "data-v-61dd72e0"]]), qn = D({
|
|
1176
1176
|
inheritAttrs: !1,
|
|
1177
1177
|
props: {
|
|
1178
1178
|
name: String,
|
|
@@ -1201,7 +1201,7 @@ const Te = /* @__PURE__ */ I(Vn, [["render", qn], ["__scopeId", "data-v-61dd72e0
|
|
|
1201
1201
|
function Kn(e, n, t, l, s, o) {
|
|
1202
1202
|
return m(), h("div", Fn, B(e.value), 1);
|
|
1203
1203
|
}
|
|
1204
|
-
const Hn = /* @__PURE__ */ I(
|
|
1204
|
+
const Hn = /* @__PURE__ */ I(qn, [["render", Kn], ["__scopeId", "data-v-343aca69"]]);
|
|
1205
1205
|
var Pe = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
1206
1206
|
const Gn = D({
|
|
1207
1207
|
inheritAttrs: !1,
|
|
@@ -1214,7 +1214,7 @@ const Gn = D({
|
|
|
1214
1214
|
components: {},
|
|
1215
1215
|
emits: ["change"],
|
|
1216
1216
|
setup(e, n) {
|
|
1217
|
-
const t = C("boneState"), l =
|
|
1217
|
+
const t = C("boneState"), l = q(), s = w({
|
|
1218
1218
|
loading: !1,
|
|
1219
1219
|
droparea: !1,
|
|
1220
1220
|
previewopen: !1
|
|
@@ -1288,7 +1288,7 @@ const Gn = D({
|
|
|
1288
1288
|
handleDrop: c
|
|
1289
1289
|
};
|
|
1290
1290
|
}
|
|
1291
|
-
}), fe = (e) => (M("data-v-91086308"), e = e(),
|
|
1291
|
+
}), fe = (e) => (M("data-v-91086308"), e = e(), z(), e), Zn = {
|
|
1292
1292
|
key: 0,
|
|
1293
1293
|
class: "loader"
|
|
1294
1294
|
}, Jn = /* @__PURE__ */ fe(() => /* @__PURE__ */ d("sl-spinner", { slot: "suffix" }, null, -1)), Qn = [
|
|
@@ -1508,7 +1508,7 @@ function ka(e, n, t, l, s, o) {
|
|
|
1508
1508
|
])
|
|
1509
1509
|
], 64);
|
|
1510
1510
|
}
|
|
1511
|
-
const
|
|
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,
|
|
@@ -1549,7 +1549,7 @@ const qe = /* @__PURE__ */ I(ya, [["render", ka], ["__scopeId", "data-v-7bc31020
|
|
|
1549
1549
|
removeMultipleEntries: o
|
|
1550
1550
|
};
|
|
1551
1551
|
}
|
|
1552
|
-
}), Je = (e) => (M("data-v-63e75dee"), e = e(),
|
|
1552
|
+
}), Je = (e) => (M("data-v-63e75dee"), e = e(), z(), e), wa = { class: "actionbar" }, Ea = ["title"], Aa = /* @__PURE__ */ Je(() => /* @__PURE__ */ d("sl-icon", {
|
|
1553
1553
|
slot: "prefix",
|
|
1554
1554
|
name: "x-lg"
|
|
1555
1555
|
}, null, -1)), Ia = [
|
|
@@ -1622,7 +1622,7 @@ const Va = D({
|
|
|
1622
1622
|
getList: i
|
|
1623
1623
|
};
|
|
1624
1624
|
}
|
|
1625
|
-
}), Qe = (e) => (M("data-v-eeea51c6"), e = e(),
|
|
1625
|
+
}), Qe = (e) => (M("data-v-eeea51c6"), e = e(), z(), e), Na = { class: "actionbar" }, Ra = ["title"], La = /* @__PURE__ */ Qe(() => /* @__PURE__ */ d("sl-icon", {
|
|
1626
1626
|
slot: "prefix",
|
|
1627
1627
|
name: "x-lg"
|
|
1628
1628
|
}, null, -1)), Ua = [
|
|
@@ -1665,9 +1665,9 @@ function Wa(e, n, t, l, s, o) {
|
|
|
1665
1665
|
], 8, Pa)) : _("", !0)
|
|
1666
1666
|
]);
|
|
1667
1667
|
}
|
|
1668
|
-
const
|
|
1669
|
-
var
|
|
1670
|
-
const
|
|
1668
|
+
const za = /* @__PURE__ */ I(Va, [["render", Wa], ["__scopeId", "data-v-eeea51c6"]]);
|
|
1669
|
+
var qe = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
1670
|
+
const qa = D({
|
|
1671
1671
|
props: {
|
|
1672
1672
|
name: String,
|
|
1673
1673
|
value: Object,
|
|
@@ -1681,7 +1681,7 @@ const za = D({
|
|
|
1681
1681
|
setup(e, n) {
|
|
1682
1682
|
const t = C("boneState"), l = C("addMultipleEntry");
|
|
1683
1683
|
C("formatString");
|
|
1684
|
-
const s = null, o =
|
|
1684
|
+
const s = null, o = q(), a = w({
|
|
1685
1685
|
skels: {},
|
|
1686
1686
|
uploadinput: null,
|
|
1687
1687
|
loading: !1,
|
|
@@ -1695,7 +1695,7 @@ const za = D({
|
|
|
1695
1695
|
size: u.size.toString()
|
|
1696
1696
|
};
|
|
1697
1697
|
return new Promise((p, v) => {
|
|
1698
|
-
O.securePost(`/${
|
|
1698
|
+
O.securePost(`/${qe.VITE_DEFAULT_RENDERER || "vi"}/file/getUploadURL`, { dataObj: f }).then(async (k) => {
|
|
1699
1699
|
let g = await k.json();
|
|
1700
1700
|
fetch(g.values.uploadUrl, {
|
|
1701
1701
|
body: u,
|
|
@@ -1707,7 +1707,7 @@ const za = D({
|
|
|
1707
1707
|
node: void 0,
|
|
1708
1708
|
skelType: "leaf"
|
|
1709
1709
|
};
|
|
1710
|
-
O.securePost(`/${
|
|
1710
|
+
O.securePost(`/${qe.VITE_DEFAULT_RENDERER || "vi"}/file/add`, { dataObj: y }).then(async ($) => {
|
|
1711
1711
|
let A = await $.json();
|
|
1712
1712
|
A.action === "addSuccess" ? p(A.values) : v(A);
|
|
1713
1713
|
}).catch(($) => {
|
|
@@ -1754,7 +1754,7 @@ const za = D({
|
|
|
1754
1754
|
handleDrop: c
|
|
1755
1755
|
};
|
|
1756
1756
|
}
|
|
1757
|
-
}), $e = (e) => (M("data-v-9bac9f8a"), e = e(),
|
|
1757
|
+
}), $e = (e) => (M("data-v-9bac9f8a"), e = e(), z(), e), Fa = ["title"], Ka = /* @__PURE__ */ $e(() => /* @__PURE__ */ d("sl-icon", {
|
|
1758
1758
|
slot: "prefix",
|
|
1759
1759
|
name: "x-lg"
|
|
1760
1760
|
}, null, -1)), Ha = [
|
|
@@ -1815,7 +1815,7 @@ function ts(e, n, t, l, s, o) {
|
|
|
1815
1815
|
], 8, Xa)) : _("", !0)
|
|
1816
1816
|
], 32);
|
|
1817
1817
|
}
|
|
1818
|
-
const ns = /* @__PURE__ */ I(
|
|
1818
|
+
const ns = /* @__PURE__ */ I(qa, [["render", ts], ["__scopeId", "data-v-9bac9f8a"]]), Se = ye("boneStore", () => {
|
|
1819
1819
|
const e = w({
|
|
1820
1820
|
additionalBones: H({}),
|
|
1821
1821
|
defaultBones: H({
|
|
@@ -1834,11 +1834,11 @@ const ns = /* @__PURE__ */ I(za, [["render", ts], ["__scopeId", "data-v-9bac9f8a
|
|
|
1834
1834
|
jsonBone: Hn,
|
|
1835
1835
|
fileBone: Me,
|
|
1836
1836
|
textBone: We,
|
|
1837
|
-
spatialBone:
|
|
1837
|
+
spatialBone: ze
|
|
1838
1838
|
}),
|
|
1839
1839
|
actionbars: H({
|
|
1840
1840
|
"relational.tree.leaf.file.file": ns,
|
|
1841
|
-
"relational.":
|
|
1841
|
+
"relational.": za
|
|
1842
1842
|
}),
|
|
1843
1843
|
multibones: H(["select", "select."])
|
|
1844
1844
|
});
|
|
@@ -1865,7 +1865,7 @@ const ns = /* @__PURE__ */ I(za, [["render", ts], ["__scopeId", "data-v-9bac9f8a
|
|
|
1865
1865
|
return e.additionalBones[c[0]];
|
|
1866
1866
|
}
|
|
1867
1867
|
}
|
|
1868
|
-
return a === "date" ? Be : a === "key" ? Ce : a === "str.email" ? je : a === "str" || a.startsWith("str.") ? Oe : a === "select" || a.startsWith("select.") ? De : a === "bool" ? Ve : a === "password" ? Ne : a === "record" ? Re : a === "numeric" || a.startsWith("numeric.") ? Ue : a === "relational.tree.leaf.file.file" ? Me : a === "relational" || a.startsWith("relational.") ? Te : a === "color" ? Le : a === "text" ? We : a === "spatial" ?
|
|
1868
|
+
return a === "date" ? Be : a === "key" ? Ce : a === "str.email" ? je : a === "str" || a.startsWith("str.") ? Oe : a === "select" || a.startsWith("select.") ? De : a === "bool" ? Ve : a === "password" ? Ne : a === "record" ? Re : a === "numeric" || a.startsWith("numeric.") ? Ue : a === "relational.tree.leaf.file.file" ? Me : a === "relational" || a.startsWith("relational.") ? Te : a === "color" ? Le : a === "text" ? We : a === "spatial" ? ze : ve;
|
|
1869
1869
|
}
|
|
1870
1870
|
function s(a, i) {
|
|
1871
1871
|
e.actionbars[a] = i;
|
|
@@ -2227,7 +2227,7 @@ const ke = {
|
|
|
2227
2227
|
}));
|
|
2228
2228
|
}, Ke = ke.setup;
|
|
2229
2229
|
ke.setup = Ke ? (e, n) => (Fe(), Ke(e, n)) : Fe;
|
|
2230
|
-
const ls = (e) => (M("data-v-46c45785"), e = e(),
|
|
2230
|
+
const ls = (e) => (M("data-v-46c45785"), e = e(), z(), e), rs = {
|
|
2231
2231
|
key: 0,
|
|
2232
2232
|
class: "loading"
|
|
2233
2233
|
}, os = /* @__PURE__ */ ls(() => /* @__PURE__ */ d("sl-spinner", { class: "loader" }, null, -1)), is = { class: "logo" }, us = ["src"];
|
|
@@ -2316,7 +2316,7 @@ const cs = /* @__PURE__ */ I(ke, [["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-8a06be60"), 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", {
|
|
@@ -2411,8 +2411,7 @@ const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785
|
|
|
2411
2411
|
type: "currency",
|
|
2412
2412
|
currency: "EUR",
|
|
2413
2413
|
value: e.leaf.price.retail
|
|
2414
|
-
}, null, 8, Es)
|
|
2415
|
-
j(" " + B(e.leaf.price.retail), 1)
|
|
2414
|
+
}, null, 8, Es)
|
|
2416
2415
|
]),
|
|
2417
2416
|
d("div", As, [
|
|
2418
2417
|
Is,
|
|
@@ -2422,12 +2421,11 @@ const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785
|
|
|
2422
2421
|
type: "currency",
|
|
2423
2422
|
currency: "EUR",
|
|
2424
2423
|
value: e.leaf.price.retail * e.leaf.quantity
|
|
2425
|
-
}, null, 8, Cs)
|
|
2426
|
-
j(" " + B(e.leaf.price.retail * e.leaf.quantity), 1)
|
|
2424
|
+
}, null, 8, Cs)
|
|
2427
2425
|
])
|
|
2428
2426
|
]));
|
|
2429
2427
|
}
|
|
2430
|
-
}, js = /* @__PURE__ */ I(Os, [["__scopeId", "data-v-
|
|
2428
|
+
}, js = /* @__PURE__ */ I(Os, [["__scopeId", "data-v-8a06be60"]]), Ye = (e) => (M("data-v-c292acd9"), 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 = {
|
|
2431
2429
|
class: "footer-wrap",
|
|
2432
2430
|
slot: "footer"
|
|
2433
2431
|
}, Ns = { class: "viur-shop-cart-node" }, Rs = /* @__PURE__ */ Ye(() => /* @__PURE__ */ d("div", { class: "viur-shop-cart-mobile-footer" }, [
|
|
@@ -2443,7 +2441,7 @@ const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785
|
|
|
2443
2441
|
sidebar: { type: Boolean, default: !0 }
|
|
2444
2442
|
},
|
|
2445
2443
|
setup(e) {
|
|
2446
|
-
const n = e, t = re(), l =
|
|
2444
|
+
const n = e, t = re(), l = q(null), s = w({
|
|
2447
2445
|
itemsIsInit: S(() => !0),
|
|
2448
2446
|
images: {},
|
|
2449
2447
|
currentItem: {},
|
|
@@ -2451,7 +2449,7 @@ const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785
|
|
|
2451
2449
|
nodes: [],
|
|
2452
2450
|
leaves: {}
|
|
2453
2451
|
});
|
|
2454
|
-
S(() => n.mode === "basket" ? t.state.
|
|
2452
|
+
S(() => n.mode === "basket" ? t.state.basketRootNode.key : n.cartKey);
|
|
2455
2453
|
async function o() {
|
|
2456
2454
|
await t.updateItem(
|
|
2457
2455
|
s.currentItem.article.dest.key,
|
|
@@ -2517,10 +2515,10 @@ const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785
|
|
|
2517
2515
|
Rs
|
|
2518
2516
|
], 64)) : (m(), h("sl-spinner", Bs));
|
|
2519
2517
|
}
|
|
2520
|
-
}, _e = /* @__PURE__ */ I(Ls, [["__scopeId", "data-v-
|
|
2518
|
+
}, _e = /* @__PURE__ */ I(Ls, [["__scopeId", "data-v-c292acd9"]]), Us = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2521
2519
|
__proto__: null,
|
|
2522
2520
|
default: _e
|
|
2523
|
-
}, Symbol.toStringTag, { value: "Module" })), J = (e) => (M("data-v-b7b745be"), e = e(),
|
|
2521
|
+
}, Symbol.toStringTag, { value: "Module" })), J = (e) => (M("data-v-b7b745be"), e = e(), z(), e), Ts = {
|
|
2524
2522
|
key: 1,
|
|
2525
2523
|
class: "list"
|
|
2526
2524
|
}, Ps = /* @__PURE__ */ J(() => /* @__PURE__ */ d("h2", { class: "viur-shop-cart-headline headline" }, "Bestellung prüfen", -1)), Ms = /* @__PURE__ */ J(() => /* @__PURE__ */ d("br", null, null, -1)), Ws = /* @__PURE__ */ J(() => /* @__PURE__ */ d("div", { class: "viur-shop-cart-address-wrap" }, [
|
|
@@ -2572,7 +2570,7 @@ const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785
|
|
|
2572
2570
|
/* @__PURE__ */ d("br"),
|
|
2573
2571
|
/* @__PURE__ */ j(" 0231 21 34 68 90 ")
|
|
2574
2572
|
])
|
|
2575
|
-
], -1)),
|
|
2573
|
+
], -1)), zs = /* @__PURE__ */ J(() => /* @__PURE__ */ d("div", { class: "viur-shop-cart-payment" }, [
|
|
2576
2574
|
/* @__PURE__ */ d("div", { class: "viur-shop-cart-payment-method" }, [
|
|
2577
2575
|
/* @__PURE__ */ d("span", null, "Zahlungsmethode:"),
|
|
2578
2576
|
/* @__PURE__ */ j(" Paypal ")
|
|
@@ -2586,7 +2584,7 @@ const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785
|
|
|
2586
2584
|
slot: "prefix"
|
|
2587
2585
|
})
|
|
2588
2586
|
])
|
|
2589
|
-
], -1)),
|
|
2587
|
+
], -1)), qs = /* @__PURE__ */ J(() => /* @__PURE__ */ d("h2", { class: "viur-shop-cart-headline headline" }, "Warenkorb", -1)), Fs = /* @__PURE__ */ J(() => /* @__PURE__ */ d("br", null, null, -1)), Ks = /* @__PURE__ */ J(() => /* @__PURE__ */ d("h2", { class: "viur-shop-cart-sidebar-headline headline" }, "Jetzt Bestellen", -1)), Hs = /* @__PURE__ */ J(() => /* @__PURE__ */ d("br", null, null, -1)), Gs = { class: "viur-shop-cart-sidebar-btn-wrap" }, Zs = ["variant", "disabled"], Js = {
|
|
2590
2588
|
__name: "ConfirmView",
|
|
2591
2589
|
setup(e) {
|
|
2592
2590
|
const n = re(), t = w({
|
|
@@ -2607,8 +2605,8 @@ const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785
|
|
|
2607
2605
|
Ps,
|
|
2608
2606
|
Ms,
|
|
2609
2607
|
Ws,
|
|
2610
|
-
qs,
|
|
2611
2608
|
zs,
|
|
2609
|
+
qs,
|
|
2612
2610
|
Fs,
|
|
2613
2611
|
(m(), T(dt, { to: "#order_sidebar" }, [
|
|
2614
2612
|
Ks,
|
|
@@ -2627,7 +2625,7 @@ const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785
|
|
|
2627
2625
|
}, we = /* @__PURE__ */ I(Js, [["__scopeId", "data-v-b7b745be"]]), Qs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2628
2626
|
__proto__: null,
|
|
2629
2627
|
default: we
|
|
2630
|
-
}, Symbol.toStringTag, { value: "Module" })), Ys = (e) => (M("data-v-0e63188d"), e = e(),
|
|
2628
|
+
}, Symbol.toStringTag, { value: "Module" })), Ys = (e) => (M("data-v-0e63188d"), e = e(), z(), e), Xs = { class: "bind viur-shop-wrap" }, xs = ["panel", "disabled"], el = { class: "viur-shop-order-step" }, tl = ["name", "library"], nl = { class: "viur-shop-order-status-text" }, al = {
|
|
2631
2629
|
key: 0,
|
|
2632
2630
|
name: "chevron-right",
|
|
2633
2631
|
class: "viur-shop-order-tab-check"
|
|
@@ -2649,7 +2647,7 @@ const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785
|
|
|
2649
2647
|
const t = e, l = n, s = w({
|
|
2650
2648
|
tabNames: S(() => a(t.tabs)),
|
|
2651
2649
|
isFirstTab: (u) => u === 0
|
|
2652
|
-
}), o =
|
|
2650
|
+
}), o = q(null);
|
|
2653
2651
|
function a(u) {
|
|
2654
2652
|
let f = [], p = [];
|
|
2655
2653
|
for (const v in u)
|
|
@@ -2719,7 +2717,7 @@ const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785
|
|
|
2719
2717
|
ol
|
|
2720
2718
|
]));
|
|
2721
2719
|
}
|
|
2722
|
-
}, ul = /* @__PURE__ */ I(il, [["__scopeId", "data-v-0e63188d"]]), dl = {}, ge = (e) => (M("data-v-36ccc280"), e = e(),
|
|
2720
|
+
}, ul = /* @__PURE__ */ I(il, [["__scopeId", "data-v-0e63188d"]]), dl = {}, ge = (e) => (M("data-v-36ccc280"), e = e(), z(), e), cl = { class: "bind" }, fl = /* @__PURE__ */ ge(() => /* @__PURE__ */ d("h1", { class: "headline" }, "Vielen Dank für Ihre Bestellung", -1)), ml = /* @__PURE__ */ ge(() => /* @__PURE__ */ d("br", null, null, -1)), gl = /* @__PURE__ */ ge(() => /* @__PURE__ */ d("p", { class: "paragraph" }, [
|
|
2723
2721
|
/* @__PURE__ */ d("strong", null, "Ihre Bestellnummer:"),
|
|
2724
2722
|
/* @__PURE__ */ j(" 123345670 ")
|
|
2725
2723
|
], -1)), hl = /* @__PURE__ */ ge(() => /* @__PURE__ */ d("p", { class: "paragraph" }, [
|
|
@@ -2742,7 +2740,7 @@ const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785
|
|
|
2742
2740
|
function vl(e, n) {
|
|
2743
2741
|
return m(), h("div", cl, bl);
|
|
2744
2742
|
}
|
|
2745
|
-
const pl = /* @__PURE__ */ I(dl, [["render", vl], ["__scopeId", "data-v-36ccc280"]]), Ee = (e) => (M("data-v-b68a2bfa"), e = e(),
|
|
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 = {
|
|
2746
2744
|
__name: "UserInformation",
|
|
2747
2745
|
props: {
|
|
2748
2746
|
mode: { type: String, default: "form" },
|
|
@@ -2836,7 +2834,7 @@ const pl = /* @__PURE__ */ I(dl, [["render", vl], ["__scopeId", "data-v-36ccc280
|
|
|
2836
2834
|
], 64);
|
|
2837
2835
|
};
|
|
2838
2836
|
}
|
|
2839
|
-
}, wl = /* @__PURE__ */ I(_l, [["__scopeId", "data-v-b68a2bfa"]]), ee = (e) => (M("data-v-a4accf28"), e = e(),
|
|
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", {
|
|
2840
2838
|
name: "x-lg",
|
|
2841
2839
|
slot: "prefix"
|
|
2842
2840
|
}, null, -1)), Dl = [
|
|
@@ -2872,7 +2870,7 @@ const pl = /* @__PURE__ */ I(dl, [["render", vl], ["__scopeId", "data-v-36ccc280
|
|
|
2872
2870
|
errors: {},
|
|
2873
2871
|
selectedItem: {},
|
|
2874
2872
|
isInit: S(() => !!n.state.carts[n.state.basket])
|
|
2875
|
-
}), l =
|
|
2873
|
+
}), l = q(null), s = q(null);
|
|
2876
2874
|
function o(p) {
|
|
2877
2875
|
p.target.checked && (t.isCustomAdress = !1), p.target.checked || (t.isCustomAdress = !0);
|
|
2878
2876
|
}
|
|
@@ -3113,21 +3111,21 @@ const pl = /* @__PURE__ */ I(dl, [["render", vl], ["__scopeId", "data-v-36ccc280
|
|
|
3113
3111
|
function Wl(e, n, t, l, s, o) {
|
|
3114
3112
|
return m(), h("div", Ml, "View " + B(e.route.path) + " is missing.", 1);
|
|
3115
3113
|
}
|
|
3116
|
-
const
|
|
3114
|
+
const zl = /* @__PURE__ */ I(Pl, [["render", Wl]]), ql = [
|
|
3117
3115
|
{
|
|
3118
3116
|
path: "/:pathMatch(.*)*",
|
|
3119
3117
|
name: "view_missing",
|
|
3120
|
-
component:
|
|
3118
|
+
component: zl
|
|
3121
3119
|
},
|
|
3122
3120
|
{
|
|
3123
3121
|
path: "/shop/category/:identifier",
|
|
3124
3122
|
name: "CategoryView",
|
|
3125
|
-
component: () => import("./CategoryView-
|
|
3123
|
+
component: () => import("./CategoryView-Z-tCFNv1.mjs")
|
|
3126
3124
|
},
|
|
3127
3125
|
{
|
|
3128
3126
|
path: "/shop/item/:item",
|
|
3129
3127
|
name: "itemView",
|
|
3130
|
-
component: () => import("./ItemView-
|
|
3128
|
+
component: () => import("./ItemView-cjeQBSTR.mjs")
|
|
3131
3129
|
},
|
|
3132
3130
|
{
|
|
3133
3131
|
path: "/shop/cart/view",
|
|
@@ -3147,7 +3145,7 @@ const ql = /* @__PURE__ */ I(Pl, [["render", Wl]]), zl = [
|
|
|
3147
3145
|
];
|
|
3148
3146
|
function Ql(e, n = !1) {
|
|
3149
3147
|
let t = [];
|
|
3150
|
-
return n ? t = e : t = e.concat(
|
|
3148
|
+
return n ? t = e : t = e.concat(ql), bt({
|
|
3151
3149
|
// @ts-ignore
|
|
3152
3150
|
history: vt("/"),
|
|
3153
3151
|
routes: t
|