@viur/shop-components 0.0.1-dev.49 → 0.0.1-dev.50
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-C82ANveM.mjs → CategoryView-DpxefLik.mjs} +2 -2
- package/dist/{ItemCard-CJb5ufYO.mjs → ItemCard-C9Qze_zT.mjs} +1 -1
- package/dist/{ItemView-BqdaEKGW.mjs → ItemView-BsVTaCcL.mjs} +2 -2
- package/dist/{main-DAewB9nF.mjs → main-DnyeXS74.mjs} +422 -423
- package/dist/main.css +1 -1
- package/dist/viur-shop-components.es.js +1 -1
- package/dist/viur-shop-components.umd.js +30 -30
- package/package.json +4 -3
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { defineComponent as D, inject as
|
|
1
|
+
var tt = Object.defineProperty;
|
|
2
|
+
var nt = (e, n, t) => n in e ? tt(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
|
|
3
|
+
var Ce = (e, n, t) => nt(e, typeof n != "symbol" ? n + "" : n, t);
|
|
4
|
+
import { defineComponent as D, inject as O, reactive as w, openBlock as m, createElementBlock as h, normalizeClass as ye, createElementVNode as i, renderSlot as Ge, pushScopeId as M, popScopeId as z, Fragment as E, createCommentVNode as k, toDisplayString as B, onMounted as R, ref as F, readonly as at, getCurrentScope as st, onScopeDispose as lt, unref as q, computed as S, watchEffect as ce, renderList as U, watch as ae, withDirectives as J, vModelText as le, getCurrentInstance as rt, resolveComponent as se, createBlock as T, vShow as ve, withModifiers as de, createTextVNode as C, shallowRef as G, provide as ie, onBeforeMount as ee, useCssVars as ot, Transition as it, withCtx as ut, createVNode as dt, Teleport as Ze, resolveDynamicComponent as ct, mergeProps as mt } from "vue";
|
|
5
5
|
import { defineStore as $e } from "pinia";
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
const yt = D({
|
|
6
|
+
import { Request as ft } from "@viur/vue-utils";
|
|
7
|
+
import { ViURShopClient as gt } from "@viur/viur-shop-client";
|
|
8
|
+
import { useRoute as ht, createRouter as bt, createWebHashHistory as vt } from "vue-router";
|
|
9
|
+
const pt = D({
|
|
11
10
|
props: {
|
|
12
11
|
isDragging: Boolean,
|
|
13
12
|
draggingLineBottom: Boolean,
|
|
@@ -16,7 +15,7 @@ const yt = D({
|
|
|
16
15
|
components: {},
|
|
17
16
|
emits: ["change", "delete", "handleDragStart", "handleDragEnd", "handleDragOver", "handleDrop"],
|
|
18
17
|
setup(e, n) {
|
|
19
|
-
const t =
|
|
18
|
+
const t = O("boneState");
|
|
20
19
|
return {
|
|
21
20
|
state: w({
|
|
22
21
|
isDraggable: !1
|
|
@@ -29,18 +28,18 @@ const yt = D({
|
|
|
29
28
|
for (const [l, s] of n)
|
|
30
29
|
t[l] = s;
|
|
31
30
|
return t;
|
|
32
|
-
},
|
|
31
|
+
}, Je = (e) => (M("data-v-141aaf9b"), e = e(), z(), e), yt = ["draggable"], $t = ["disabled"], St = /* @__PURE__ */ Je(() => /* @__PURE__ */ i("sl-icon", {
|
|
33
32
|
slot: "prefix",
|
|
34
33
|
name: "grip-vertical"
|
|
35
|
-
}, null, -1)),
|
|
36
|
-
|
|
37
|
-
],
|
|
34
|
+
}, null, -1)), _t = [
|
|
35
|
+
St
|
|
36
|
+
], kt = { class: "value" }, wt = ["disabled", "title"], Et = /* @__PURE__ */ Je(() => /* @__PURE__ */ i("sl-icon", {
|
|
38
37
|
slot: "prefix",
|
|
39
38
|
name: "x-lg"
|
|
40
|
-
}, null, -1)),
|
|
41
|
-
|
|
39
|
+
}, null, -1)), At = [
|
|
40
|
+
Et
|
|
42
41
|
];
|
|
43
|
-
function
|
|
42
|
+
function It(e, n, t, l, s, o) {
|
|
44
43
|
return m(), h("div", {
|
|
45
44
|
class: ye(["value-line", {
|
|
46
45
|
"is-dragging": e.isDragging,
|
|
@@ -57,9 +56,9 @@ function Ot(e, n, t, l, s, o) {
|
|
|
57
56
|
disabled: e.boneState.readonly,
|
|
58
57
|
class: "drag-button",
|
|
59
58
|
onMousedown: n[0] || (n[0] = (a) => e.state.isDraggable = !0)
|
|
60
|
-
},
|
|
61
|
-
i("div",
|
|
62
|
-
|
|
59
|
+
}, _t, 40, $t),
|
|
60
|
+
i("div", kt, [
|
|
61
|
+
Ge(e.$slots, "default", {}, void 0, !0)
|
|
63
62
|
]),
|
|
64
63
|
i("sl-button", {
|
|
65
64
|
variant: "danger",
|
|
@@ -68,10 +67,10 @@ function Ot(e, n, t, l, s, o) {
|
|
|
68
67
|
title: e.$t("bone.del"),
|
|
69
68
|
class: "delete-btn",
|
|
70
69
|
onClick: n[1] || (n[1] = (a) => e.$emit("delete"))
|
|
71
|
-
},
|
|
72
|
-
], 42,
|
|
70
|
+
}, At, 8, wt)
|
|
71
|
+
], 42, yt);
|
|
73
72
|
}
|
|
74
|
-
const Ct = /* @__PURE__ */ I(
|
|
73
|
+
const Ct = /* @__PURE__ */ I(pt, [["render", It], ["__scopeId", "data-v-141aaf9b"]]), Ot = D({
|
|
75
74
|
props: {
|
|
76
75
|
name: String,
|
|
77
76
|
value: Object,
|
|
@@ -83,7 +82,7 @@ const Ct = /* @__PURE__ */ I(yt, [["render", Ot], ["__scopeId", "data-v-141aaf9b
|
|
|
83
82
|
components: {},
|
|
84
83
|
emits: ["change", "handleClick"],
|
|
85
84
|
setup(e, n) {
|
|
86
|
-
const t =
|
|
85
|
+
const t = O("boneState");
|
|
87
86
|
return {
|
|
88
87
|
state: w({
|
|
89
88
|
debug: !1
|
|
@@ -91,21 +90,21 @@ const Ct = /* @__PURE__ */ I(yt, [["render", Ot], ["__scopeId", "data-v-141aaf9b
|
|
|
91
90
|
boneState: t
|
|
92
91
|
};
|
|
93
92
|
}
|
|
94
|
-
}),
|
|
95
|
-
function
|
|
93
|
+
}), jt = { class: "bone-name" }, Bt = { key: 0 }, Dt = { class: "bone" };
|
|
94
|
+
function Vt(e, n, t, l, s, o) {
|
|
96
95
|
return m(), h(E, null, [
|
|
97
|
-
i("label",
|
|
98
|
-
|
|
96
|
+
i("label", jt, [
|
|
97
|
+
Ge(e.$slots, "default", {}, void 0, !0),
|
|
99
98
|
k("", !0)
|
|
100
99
|
]),
|
|
101
|
-
e.state.debug ? (m(), h("div",
|
|
102
|
-
i("div",
|
|
100
|
+
e.state.debug ? (m(), h("div", Bt, [
|
|
101
|
+
i("div", Dt, B(e.name), 1),
|
|
103
102
|
i("pre", null, " " + B(e.boneState) + `
|
|
104
103
|
`, 1)
|
|
105
104
|
])) : k("", !0)
|
|
106
105
|
], 64);
|
|
107
106
|
}
|
|
108
|
-
const
|
|
107
|
+
const Nt = /* @__PURE__ */ I(Ot, [["render", Vt], ["__scopeId", "data-v-b7149172"]]), Rt = D({
|
|
109
108
|
inheritAttrs: !1,
|
|
110
109
|
props: {
|
|
111
110
|
name: String,
|
|
@@ -116,7 +115,7 @@ const Rt = /* @__PURE__ */ I(jt, [["render", Nt], ["__scopeId", "data-v-b7149172
|
|
|
116
115
|
components: {},
|
|
117
116
|
emits: ["change"],
|
|
118
117
|
setup(e, n) {
|
|
119
|
-
const t =
|
|
118
|
+
const t = O("boneState"), l = w({});
|
|
120
119
|
function s(o) {
|
|
121
120
|
n.emit("change", e.name, o.target.value, e.lang, e.index);
|
|
122
121
|
}
|
|
@@ -128,22 +127,22 @@ const Rt = /* @__PURE__ */ I(jt, [["render", Nt], ["__scopeId", "data-v-b7149172
|
|
|
128
127
|
changeEvent: s
|
|
129
128
|
};
|
|
130
129
|
}
|
|
131
|
-
}),
|
|
132
|
-
function
|
|
130
|
+
}), Lt = ["disabled", "value"], Ut = ["disabled", "value"];
|
|
131
|
+
function Tt(e, n, t, l, s, o) {
|
|
133
132
|
var a, u;
|
|
134
133
|
return e.boneState.bonestructure.type === "raw.json" ? (m(), h("sl-textarea", {
|
|
135
134
|
key: 0,
|
|
136
135
|
disabled: (a = e.boneState) == null ? void 0 : a.readonly,
|
|
137
136
|
value: JSON.stringify(e.value),
|
|
138
137
|
onInput: n[0] || (n[0] = (...r) => e.changeEvent && e.changeEvent(...r))
|
|
139
|
-
}, null, 40,
|
|
138
|
+
}, null, 40, Lt)) : (m(), h("sl-textarea", {
|
|
140
139
|
key: 1,
|
|
141
140
|
disabled: (u = e.boneState) == null ? void 0 : u.readonly,
|
|
142
141
|
value: e.value,
|
|
143
142
|
onInput: n[1] || (n[1] = (...r) => e.changeEvent && e.changeEvent(...r))
|
|
144
|
-
}, null, 40,
|
|
143
|
+
}, null, 40, Ut));
|
|
145
144
|
}
|
|
146
|
-
const pe = /* @__PURE__ */ I(
|
|
145
|
+
const pe = /* @__PURE__ */ I(Rt, [["render", Tt], ["__scopeId", "data-v-0ebe5f0b"]]), Pt = D({
|
|
147
146
|
inheritAttrs: !1,
|
|
148
147
|
props: {
|
|
149
148
|
name: String,
|
|
@@ -167,22 +166,22 @@ const pe = /* @__PURE__ */ I(Lt, [["render", Pt], ["__scopeId", "data-v-0ebe5f0b
|
|
|
167
166
|
changeEvent: l
|
|
168
167
|
};
|
|
169
168
|
}
|
|
170
|
-
}),
|
|
171
|
-
function
|
|
169
|
+
}), Mt = ["value"];
|
|
170
|
+
function zt(e, n, t, l, s, o) {
|
|
172
171
|
return m(), h("sl-input", {
|
|
173
172
|
disabled: "",
|
|
174
173
|
value: e.value,
|
|
175
174
|
onSlChange: n[0] || (n[0] = (...a) => e.changeEvent && e.changeEvent(...a))
|
|
176
|
-
}, null, 40,
|
|
175
|
+
}, null, 40, Mt);
|
|
177
176
|
}
|
|
178
|
-
const
|
|
179
|
-
function
|
|
180
|
-
return
|
|
177
|
+
const Oe = /* @__PURE__ */ I(Pt, [["render", zt], ["__scopeId", "data-v-b45a1311"]]);
|
|
178
|
+
function Wt(e) {
|
|
179
|
+
return st() ? (lt(e), !0) : !1;
|
|
181
180
|
}
|
|
182
|
-
function
|
|
181
|
+
function qt(e) {
|
|
183
182
|
return typeof e == "function" ? e() : q(e);
|
|
184
183
|
}
|
|
185
|
-
const
|
|
184
|
+
const Ft = typeof window < "u" && typeof document < "u";
|
|
186
185
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
187
186
|
function me(e, n, t = {}) {
|
|
188
187
|
const {
|
|
@@ -198,15 +197,15 @@ function me(e, n, t = {}) {
|
|
|
198
197
|
function r(...c) {
|
|
199
198
|
a(), s.value = !0, o = setTimeout(() => {
|
|
200
199
|
s.value = !1, o = null, e(...c);
|
|
201
|
-
},
|
|
200
|
+
}, qt(n));
|
|
202
201
|
}
|
|
203
|
-
return l && (s.value = !0,
|
|
204
|
-
isPending:
|
|
202
|
+
return l && (s.value = !0, Ft && r()), Wt(u), {
|
|
203
|
+
isPending: at(s),
|
|
205
204
|
start: r,
|
|
206
205
|
stop: u
|
|
207
206
|
};
|
|
208
207
|
}
|
|
209
|
-
class
|
|
208
|
+
class Kt {
|
|
210
209
|
static objectEmpty(n) {
|
|
211
210
|
return Object.keys(n).length === 0 && n.constructor === Object;
|
|
212
211
|
}
|
|
@@ -247,7 +246,7 @@ class Ht {
|
|
|
247
246
|
return o.join(", ");
|
|
248
247
|
}
|
|
249
248
|
}
|
|
250
|
-
const
|
|
249
|
+
const Ht = D({
|
|
251
250
|
inheritAttrs: !1,
|
|
252
251
|
props: {
|
|
253
252
|
name: String,
|
|
@@ -259,7 +258,7 @@ const Gt = D({
|
|
|
259
258
|
components: {},
|
|
260
259
|
emits: ["change"],
|
|
261
260
|
setup(e, n) {
|
|
262
|
-
const t =
|
|
261
|
+
const t = O("boneState"), l = w({
|
|
263
262
|
value: S(() => e.value)
|
|
264
263
|
}), s = F(null);
|
|
265
264
|
function o(a) {
|
|
@@ -276,14 +275,14 @@ const Gt = D({
|
|
|
276
275
|
n.emit("change", e.name, e.value, e.lang, e.index);
|
|
277
276
|
}), {
|
|
278
277
|
state: l,
|
|
279
|
-
Utils:
|
|
278
|
+
Utils: Kt,
|
|
280
279
|
boneState: t,
|
|
281
280
|
changeEvent: o,
|
|
282
281
|
stringBone: s
|
|
283
282
|
};
|
|
284
283
|
}
|
|
285
|
-
}),
|
|
286
|
-
function
|
|
284
|
+
}), Gt = ["disabled", "value", "required"];
|
|
285
|
+
function Zt(e, n, t, l, s, o) {
|
|
287
286
|
return m(), h("sl-input", {
|
|
288
287
|
ref: "stringBone",
|
|
289
288
|
disabled: e.boneState.readonly,
|
|
@@ -291,9 +290,9 @@ function Jt(e, n, t, l, s, o) {
|
|
|
291
290
|
required: e.boneState.bonestructure.required,
|
|
292
291
|
onSlChange: n[0] || (n[0] = (...a) => e.changeEvent && e.changeEvent(...a)),
|
|
293
292
|
onKeyup: n[1] || (n[1] = (...a) => e.changeEvent && e.changeEvent(...a))
|
|
294
|
-
}, null, 40,
|
|
293
|
+
}, null, 40, Gt);
|
|
295
294
|
}
|
|
296
|
-
const
|
|
295
|
+
const je = /* @__PURE__ */ I(Ht, [["render", Zt], ["__scopeId", "data-v-1ccbacc0"]]), Jt = D({
|
|
297
296
|
inheritAttrs: !1,
|
|
298
297
|
props: {
|
|
299
298
|
name: String,
|
|
@@ -305,7 +304,7 @@ const Be = /* @__PURE__ */ I(Gt, [["render", Jt], ["__scopeId", "data-v-1ccbacc0
|
|
|
305
304
|
components: {},
|
|
306
305
|
emits: ["change"],
|
|
307
306
|
setup(e, n) {
|
|
308
|
-
const t =
|
|
307
|
+
const t = O("boneState"), l = w({}), s = F(null);
|
|
309
308
|
function o(a) {
|
|
310
309
|
n.emit("change", e.name, a.target.value, e.lang, e.index);
|
|
311
310
|
}
|
|
@@ -325,17 +324,17 @@ const Be = /* @__PURE__ */ I(Gt, [["render", Jt], ["__scopeId", "data-v-1ccbacc0
|
|
|
325
324
|
emailBone: s
|
|
326
325
|
};
|
|
327
326
|
}
|
|
328
|
-
}),
|
|
329
|
-
function
|
|
327
|
+
}), Qt = ["disabled", "value"];
|
|
328
|
+
function Yt(e, n, t, l, s, o) {
|
|
330
329
|
return m(), h("sl-input", {
|
|
331
330
|
ref: "emailBone",
|
|
332
331
|
disabled: e.boneState.readonly,
|
|
333
332
|
type: "email",
|
|
334
333
|
value: e.value,
|
|
335
334
|
onSlChange: n[0] || (n[0] = (...a) => e.changeEvent && e.changeEvent(...a))
|
|
336
|
-
}, null, 40,
|
|
335
|
+
}, null, 40, Qt);
|
|
337
336
|
}
|
|
338
|
-
const
|
|
337
|
+
const Be = /* @__PURE__ */ I(Jt, [["render", Yt], ["__scopeId", "data-v-4328e024"]]), Xt = D({
|
|
339
338
|
inheritAttrs: !1,
|
|
340
339
|
props: {
|
|
341
340
|
name: String,
|
|
@@ -346,7 +345,7 @@ const De = /* @__PURE__ */ I(Qt, [["render", Xt], ["__scopeId", "data-v-4328e024
|
|
|
346
345
|
components: {},
|
|
347
346
|
emits: ["change"],
|
|
348
347
|
setup(e, n) {
|
|
349
|
-
const t =
|
|
348
|
+
const t = O("boneState"), l = w({
|
|
350
349
|
value: S(() => {
|
|
351
350
|
var a;
|
|
352
351
|
let o = e.value;
|
|
@@ -368,16 +367,16 @@ const De = /* @__PURE__ */ I(Qt, [["render", Xt], ["__scopeId", "data-v-4328e024
|
|
|
368
367
|
changeEvent: s
|
|
369
368
|
};
|
|
370
369
|
}
|
|
371
|
-
}),
|
|
372
|
-
function
|
|
370
|
+
}), xt = ["disabled", "type", "value"];
|
|
371
|
+
function en(e, n, t, l, s, o) {
|
|
373
372
|
return m(), h("sl-input", {
|
|
374
373
|
disabled: e.boneState.readonly,
|
|
375
374
|
type: e.state.typeString,
|
|
376
375
|
value: e.state.value,
|
|
377
376
|
onSlChange: n[0] || (n[0] = (...a) => e.changeEvent && e.changeEvent(...a))
|
|
378
|
-
}, null, 40,
|
|
377
|
+
}, null, 40, xt);
|
|
379
378
|
}
|
|
380
|
-
const
|
|
379
|
+
const De = /* @__PURE__ */ I(Xt, [["render", en], ["__scopeId", "data-v-f1b8af8c"]]), tn = D({
|
|
381
380
|
inheritAttrs: !1,
|
|
382
381
|
props: {
|
|
383
382
|
name: String,
|
|
@@ -388,7 +387,7 @@ const Ve = /* @__PURE__ */ I(xt, [["render", tn], ["__scopeId", "data-v-f1b8af8c
|
|
|
388
387
|
components: {},
|
|
389
388
|
emits: ["change"],
|
|
390
389
|
setup(e, n) {
|
|
391
|
-
const t =
|
|
390
|
+
const t = O("boneState"), l = w({
|
|
392
391
|
value: S(() => {
|
|
393
392
|
let a = e.value;
|
|
394
393
|
return Array.isArray(e.value) ? (t.bonestructure.values instanceof Array ? a = a.filter((u) => t.bonestructure.values.map((r) => r[0].toString()).includes(u)) : a = a.filter(
|
|
@@ -418,8 +417,8 @@ const Ve = /* @__PURE__ */ I(xt, [["render", tn], ["__scopeId", "data-v-f1b8af8c
|
|
|
418
417
|
convertObjToList: s
|
|
419
418
|
};
|
|
420
419
|
}
|
|
421
|
-
}),
|
|
422
|
-
function
|
|
420
|
+
}), nn = ["disabled", "value", "multiple"], an = ["value"];
|
|
421
|
+
function sn(e, n, t, l, s, o) {
|
|
423
422
|
return m(), h("sl-select", {
|
|
424
423
|
disabled: e.boneState.readonly,
|
|
425
424
|
value: e.state.value,
|
|
@@ -432,10 +431,10 @@ function ln(e, n, t, l, s, o) {
|
|
|
432
431
|
(m(!0), h(E, null, U(e.convertObjToList(), (a) => (m(), h("sl-option", {
|
|
433
432
|
key: a[0],
|
|
434
433
|
value: a[0]
|
|
435
|
-
}, B(a[1]), 9,
|
|
436
|
-
], 40,
|
|
434
|
+
}, B(a[1]), 9, an))), 128))
|
|
435
|
+
], 40, nn);
|
|
437
436
|
}
|
|
438
|
-
const
|
|
437
|
+
const Ve = /* @__PURE__ */ I(tn, [["render", sn], ["__scopeId", "data-v-5a38b97f"]]), ln = D({
|
|
439
438
|
inheritAttrs: !1,
|
|
440
439
|
props: {
|
|
441
440
|
name: String,
|
|
@@ -446,7 +445,7 @@ const Ne = /* @__PURE__ */ I(nn, [["render", ln], ["__scopeId", "data-v-5a38b97f
|
|
|
446
445
|
components: {},
|
|
447
446
|
emits: ["change"],
|
|
448
447
|
setup(e, n) {
|
|
449
|
-
const t =
|
|
448
|
+
const t = O("boneState"), l = w({
|
|
450
449
|
value: S(() => ![!1, null, void 0, ""].includes(e.value))
|
|
451
450
|
});
|
|
452
451
|
function s(o) {
|
|
@@ -461,15 +460,15 @@ const Ne = /* @__PURE__ */ I(nn, [["render", ln], ["__scopeId", "data-v-5a38b97f
|
|
|
461
460
|
changeEvent: s
|
|
462
461
|
};
|
|
463
462
|
}
|
|
464
|
-
}),
|
|
465
|
-
function
|
|
463
|
+
}), rn = ["disabled", "checked"];
|
|
464
|
+
function on(e, n, t, l, s, o) {
|
|
466
465
|
return m(), h("sl-switch", {
|
|
467
466
|
disabled: e.boneState.readonly,
|
|
468
467
|
checked: e.state.value,
|
|
469
468
|
onSlChange: n[0] || (n[0] = (...a) => e.changeEvent && e.changeEvent(...a))
|
|
470
|
-
}, null, 40,
|
|
469
|
+
}, null, 40, rn);
|
|
471
470
|
}
|
|
472
|
-
const
|
|
471
|
+
const Ne = /* @__PURE__ */ I(ln, [["render", on], ["__scopeId", "data-v-363598c8"]]), un = D({
|
|
473
472
|
inheritAttrs: !1,
|
|
474
473
|
props: {
|
|
475
474
|
name: String,
|
|
@@ -481,7 +480,7 @@ const Re = /* @__PURE__ */ I(rn, [["render", un], ["__scopeId", "data-v-363598c8
|
|
|
481
480
|
components: {},
|
|
482
481
|
emits: ["change"],
|
|
483
482
|
setup(e, n) {
|
|
484
|
-
const t =
|
|
483
|
+
const t = O("boneState"), l = w({
|
|
485
484
|
value1: "",
|
|
486
485
|
value2: null,
|
|
487
486
|
equal: !1,
|
|
@@ -519,8 +518,8 @@ const Re = /* @__PURE__ */ I(rn, [["render", un], ["__scopeId", "data-v-363598c8
|
|
|
519
518
|
passwordBone: s
|
|
520
519
|
};
|
|
521
520
|
}
|
|
522
|
-
}),
|
|
523
|
-
function
|
|
521
|
+
}), dn = ["disabled"], cn = ["name"], mn = ["name"], fn = { class: "errors" };
|
|
522
|
+
function gn(e, n, t, l, s, o) {
|
|
524
523
|
return m(), h(E, null, [
|
|
525
524
|
J(i("sl-input", {
|
|
526
525
|
ref: "passwordBone",
|
|
@@ -537,8 +536,8 @@ function hn(e, n, t, l, s, o) {
|
|
|
537
536
|
i("sl-icon", {
|
|
538
537
|
slot: "suffix",
|
|
539
538
|
name: e.state.equal && e.state.value1.length ? "check" : "x"
|
|
540
|
-
}, null, 8,
|
|
541
|
-
], 42,
|
|
539
|
+
}, null, 8, cn)
|
|
540
|
+
], 42, dn), [
|
|
542
541
|
[le, e.state.value1]
|
|
543
542
|
]),
|
|
544
543
|
e.boneState.readonly ? k("", !0) : J((m(), h("sl-input", {
|
|
@@ -555,11 +554,11 @@ function hn(e, n, t, l, s, o) {
|
|
|
555
554
|
i("sl-icon", {
|
|
556
555
|
slot: "suffix",
|
|
557
556
|
name: e.state.equal && e.state.value1.length ? "check" : "x"
|
|
558
|
-
}, null, 8,
|
|
557
|
+
}, null, 8, mn)
|
|
559
558
|
], 544)), [
|
|
560
559
|
[le, e.state.value2]
|
|
561
560
|
]),
|
|
562
|
-
i("ul",
|
|
561
|
+
i("ul", fn, [
|
|
563
562
|
(m(!0), h(E, null, U(e.state.passwordInfo, (a, u) => (m(), h("li", { key: u }, B(a), 1))), 128)),
|
|
564
563
|
(m(!0), h(E, null, U(e.state.requiredPasswordInfo, (a, u) => (m(), h("li", {
|
|
565
564
|
key: u,
|
|
@@ -568,7 +567,7 @@ function hn(e, n, t, l, s, o) {
|
|
|
568
567
|
])
|
|
569
568
|
], 64);
|
|
570
569
|
}
|
|
571
|
-
const
|
|
570
|
+
const Re = /* @__PURE__ */ I(un, [["render", gn], ["__scopeId", "data-v-0ccf18c0"]]), hn = D({
|
|
572
571
|
props: {
|
|
573
572
|
name: String,
|
|
574
573
|
value: null,
|
|
@@ -579,7 +578,7 @@ const Le = /* @__PURE__ */ I(dn, [["render", hn], ["__scopeId", "data-v-0ccf18c0
|
|
|
579
578
|
},
|
|
580
579
|
emits: ["change"],
|
|
581
580
|
setup(e, n) {
|
|
582
|
-
const t =
|
|
581
|
+
const t = O("boneState"), l = w({
|
|
583
582
|
value: S(() => e.value),
|
|
584
583
|
structure: S(() => a(t.bonestructure.using)),
|
|
585
584
|
globalRegistration: !1,
|
|
@@ -613,7 +612,7 @@ const Le = /* @__PURE__ */ I(dn, [["render", hn], ["__scopeId", "data-v-0ccf18c0
|
|
|
613
612
|
n.emit("change", u);
|
|
614
613
|
}
|
|
615
614
|
R(() => {
|
|
616
|
-
|
|
615
|
+
rt().appContext.components.Bone ? l.globalRegistration = !0 : l.globalRegistration = !1, n.emit("change", e.name, e.value, e.lang, e.index);
|
|
617
616
|
});
|
|
618
617
|
function o(u) {
|
|
619
618
|
console.log(u);
|
|
@@ -636,17 +635,17 @@ const Le = /* @__PURE__ */ I(dn, [["render", hn], ["__scopeId", "data-v-0ccf18c0
|
|
|
636
635
|
updateValue: o
|
|
637
636
|
};
|
|
638
637
|
}
|
|
639
|
-
}),
|
|
638
|
+
}), bn = {
|
|
640
639
|
key: 0,
|
|
641
640
|
open: "",
|
|
642
641
|
variant: "danger"
|
|
643
|
-
},
|
|
642
|
+
}, vn = {
|
|
644
643
|
key: 1,
|
|
645
644
|
class: "form"
|
|
646
|
-
},
|
|
647
|
-
function
|
|
645
|
+
}, pn = ["summary", "open"];
|
|
646
|
+
function yn(e, n, t, l, s, o) {
|
|
648
647
|
const a = se("bone");
|
|
649
|
-
return e.state.globalRegistration ? (m(), h("div",
|
|
648
|
+
return e.state.globalRegistration ? (m(), h("div", vn, [
|
|
650
649
|
(m(!0), h(E, null, U(e.state.formGroups, (u, r) => J((m(), h("sl-details", {
|
|
651
650
|
key: r,
|
|
652
651
|
summary: u.name,
|
|
@@ -664,12 +663,12 @@ function $n(e, n, t, l, s, o) {
|
|
|
664
663
|
}, null, 8, ["is", "name", "structure", "skel", "errors", "readonly", "onChangeInternal"])), [
|
|
665
664
|
[ve, e.state.structure[c.boneName].visible]
|
|
666
665
|
])), 128))
|
|
667
|
-
], 8,
|
|
666
|
+
], 8, pn)), [
|
|
668
667
|
[ve, u.groupVisible]
|
|
669
668
|
])), 128))
|
|
670
|
-
])) : (m(), h("sl-alert",
|
|
669
|
+
])) : (m(), h("sl-alert", bn, " In Order to use this Bone register the bone component globally in your main file "));
|
|
671
670
|
}
|
|
672
|
-
const
|
|
671
|
+
const Qe = /* @__PURE__ */ I(hn, [["render", yn], ["__scopeId", "data-v-e6fcfbca"]]), $n = D({
|
|
673
672
|
inheritAttrs: !1,
|
|
674
673
|
props: {
|
|
675
674
|
name: String,
|
|
@@ -677,10 +676,10 @@ const Ye = /* @__PURE__ */ I(bn, [["render", $n], ["__scopeId", "data-v-e6fcfbca
|
|
|
677
676
|
index: Number,
|
|
678
677
|
lang: String
|
|
679
678
|
},
|
|
680
|
-
components: { Wrapper_nested:
|
|
679
|
+
components: { Wrapper_nested: Qe },
|
|
681
680
|
emits: ["change"],
|
|
682
681
|
setup(e, n) {
|
|
683
|
-
const t =
|
|
682
|
+
const t = O("boneState"), l = w({
|
|
684
683
|
value: {},
|
|
685
684
|
index: S(() => e.index),
|
|
686
685
|
lang: S(() => e.lang)
|
|
@@ -700,7 +699,7 @@ const Ye = /* @__PURE__ */ I(bn, [["render", $n], ["__scopeId", "data-v-e6fcfbca
|
|
|
700
699
|
};
|
|
701
700
|
}
|
|
702
701
|
});
|
|
703
|
-
function
|
|
702
|
+
function Sn(e, n, t, l, s, o) {
|
|
704
703
|
const a = se("Wrapper_nested");
|
|
705
704
|
return m(), T(a, {
|
|
706
705
|
value: e.value,
|
|
@@ -710,7 +709,7 @@ function _n(e, n, t, l, s, o) {
|
|
|
710
709
|
onChange: e.changeEvent
|
|
711
710
|
}, null, 8, ["value", "name", "index", "disabled", "onChange"]);
|
|
712
711
|
}
|
|
713
|
-
const
|
|
712
|
+
const Le = /* @__PURE__ */ I($n, [["render", Sn], ["__scopeId", "data-v-84a761ce"]]), _n = D({
|
|
714
713
|
inheritAttrs: !1,
|
|
715
714
|
props: {
|
|
716
715
|
name: String,
|
|
@@ -721,7 +720,7 @@ const Ue = /* @__PURE__ */ I(Sn, [["render", _n], ["__scopeId", "data-v-84a761ce
|
|
|
721
720
|
components: {},
|
|
722
721
|
emits: ["change"],
|
|
723
722
|
setup(e, n) {
|
|
724
|
-
const t =
|
|
723
|
+
const t = O("boneState"), l = w({});
|
|
725
724
|
function s(o) {
|
|
726
725
|
n.emit("change", e.name, o.target.value, e.lang, e.index);
|
|
727
726
|
}
|
|
@@ -733,15 +732,15 @@ const Ue = /* @__PURE__ */ I(Sn, [["render", _n], ["__scopeId", "data-v-84a761ce
|
|
|
733
732
|
changeEvent: s
|
|
734
733
|
};
|
|
735
734
|
}
|
|
736
|
-
}),
|
|
737
|
-
function
|
|
735
|
+
}), kn = ["disabled", "value"];
|
|
736
|
+
function wn(e, n, t, l, s, o) {
|
|
738
737
|
return m(), h("sl-color-picker", {
|
|
739
738
|
disabled: e.boneState.readonly,
|
|
740
739
|
value: e.value,
|
|
741
740
|
onSlChange: n[0] || (n[0] = (...a) => e.changeEvent && e.changeEvent(...a))
|
|
742
|
-
}, null, 40,
|
|
741
|
+
}, null, 40, kn);
|
|
743
742
|
}
|
|
744
|
-
const
|
|
743
|
+
const Ue = /* @__PURE__ */ I(_n, [["render", wn], ["__scopeId", "data-v-534b9149"]]), En = D({
|
|
745
744
|
inheritAttrs: !1,
|
|
746
745
|
emits: { change: null },
|
|
747
746
|
props: {
|
|
@@ -753,7 +752,7 @@ const Te = /* @__PURE__ */ I(kn, [["render", En], ["__scopeId", "data-v-534b9149
|
|
|
753
752
|
},
|
|
754
753
|
components: {},
|
|
755
754
|
setup(e, n) {
|
|
756
|
-
const t =
|
|
755
|
+
const t = O("boneState"), l = w({
|
|
757
756
|
minAmount: S(() => t.bonestructure.minAmount),
|
|
758
757
|
maxAmount: S(() => t.bonestructure.maxAmount),
|
|
759
758
|
precision: S(() => {
|
|
@@ -780,8 +779,8 @@ const Te = /* @__PURE__ */ I(kn, [["render", En], ["__scopeId", "data-v-534b9149
|
|
|
780
779
|
numericBone: s
|
|
781
780
|
};
|
|
782
781
|
}
|
|
783
|
-
}),
|
|
784
|
-
function
|
|
782
|
+
}), An = ["disabled", "value", "min", "max", "step"], In = { class: "info" }, Cn = { key: 0 }, On = { key: 1 }, jn = { key: 2 };
|
|
783
|
+
function Bn(e, n, t, l, s, o) {
|
|
785
784
|
return m(), h(E, null, [
|
|
786
785
|
i("sl-input", {
|
|
787
786
|
ref: "numericBone",
|
|
@@ -793,15 +792,15 @@ function Dn(e, n, t, l, s, o) {
|
|
|
793
792
|
step: e.state.precision,
|
|
794
793
|
onSlChange: n[0] || (n[0] = (...a) => e.changeEvent && e.changeEvent(...a)),
|
|
795
794
|
onKeyup: n[1] || (n[1] = (...a) => e.changeEvent && e.changeEvent(...a))
|
|
796
|
-
}, null, 40,
|
|
797
|
-
i("ul",
|
|
795
|
+
}, null, 40, An),
|
|
796
|
+
i("ul", In, [
|
|
798
797
|
e.state.minAmount !== -9223372036854776e3 && e.state.minAmount ? (m(), h("li", Cn, B(e.$t("bones.numeric.min", { val: e.state.minAmount })), 1)) : k("", !0),
|
|
799
|
-
e.state.maxAmount !== 9223372036854776e3 && e.state.maxAmount ? (m(), h("li",
|
|
800
|
-
e.state.precision ? (m(), h("li",
|
|
798
|
+
e.state.maxAmount !== 9223372036854776e3 && e.state.maxAmount ? (m(), h("li", On, B(e.$t("bones.numeric.max", { val: e.state.maxAmount })), 1)) : k("", !0),
|
|
799
|
+
e.state.precision ? (m(), h("li", jn, B(e.$t("bones.numeric.precision", { val: e.boneState.bonestructure.precision })), 1)) : k("", !0)
|
|
801
800
|
])
|
|
802
801
|
], 64);
|
|
803
802
|
}
|
|
804
|
-
const
|
|
803
|
+
const Te = /* @__PURE__ */ I(En, [["render", Bn], ["__scopeId", "data-v-03d5b399"]]);
|
|
805
804
|
var N = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
806
805
|
class ue extends Error {
|
|
807
806
|
constructor(n, t, l, s) {
|
|
@@ -1033,7 +1032,7 @@ class j {
|
|
|
1033
1032
|
}
|
|
1034
1033
|
class re {
|
|
1035
1034
|
constructor() {
|
|
1036
|
-
|
|
1035
|
+
Ce(this, "withCredentials", !0);
|
|
1037
1036
|
}
|
|
1038
1037
|
static buildOptions(n, t = null, l = null, s = null, o = null) {
|
|
1039
1038
|
let a = { method: n };
|
|
@@ -1080,8 +1079,8 @@ class re {
|
|
|
1080
1079
|
return fetch(n, re.buildOptions("POST", t, s, o, a));
|
|
1081
1080
|
}
|
|
1082
1081
|
}
|
|
1083
|
-
var
|
|
1084
|
-
const
|
|
1082
|
+
var Dn = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
1083
|
+
const Vn = D({
|
|
1085
1084
|
inheritAttrs: !1,
|
|
1086
1085
|
props: {
|
|
1087
1086
|
name: String,
|
|
@@ -1089,10 +1088,10 @@ const Nn = D({
|
|
|
1089
1088
|
index: Number,
|
|
1090
1089
|
lang: String
|
|
1091
1090
|
},
|
|
1092
|
-
components: { Wrapper_nested:
|
|
1091
|
+
components: { Wrapper_nested: Qe },
|
|
1093
1092
|
emits: ["change"],
|
|
1094
1093
|
setup(e, n) {
|
|
1095
|
-
const t =
|
|
1094
|
+
const t = O("boneState"), l = O("formatString"), s = w({
|
|
1096
1095
|
format: S(() => t == null ? void 0 : t.bonestructure.format),
|
|
1097
1096
|
skellistdata: null,
|
|
1098
1097
|
selection: null
|
|
@@ -1100,7 +1099,7 @@ const Nn = D({
|
|
|
1100
1099
|
function o(r) {
|
|
1101
1100
|
let c = "";
|
|
1102
1101
|
return t.bonestructure.type === "relational.tree.leaf.file" ? c = "skelType=leaf&" : t.bonestructure.type === "relational.tree.node.file" && (c = "skelType=node&"), j.get(
|
|
1103
|
-
`/${
|
|
1102
|
+
`/${Dn.VITE_DEFAULT_RENDERER || "vi"}/${t.bonestructure.module}/list?${c}limit=99`
|
|
1104
1103
|
).then(async (d) => {
|
|
1105
1104
|
var p;
|
|
1106
1105
|
const f = await d.json();
|
|
@@ -1130,28 +1129,28 @@ const Nn = D({
|
|
|
1130
1129
|
getList: o
|
|
1131
1130
|
};
|
|
1132
1131
|
}
|
|
1133
|
-
}),
|
|
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__ */ i("sl-icon", {
|
|
1134
1133
|
slot: "prefix",
|
|
1135
1134
|
name: "x-lg"
|
|
1136
|
-
}, null, -1)),
|
|
1137
|
-
|
|
1135
|
+
}, null, -1)), zn = [
|
|
1136
|
+
Mn
|
|
1138
1137
|
];
|
|
1139
|
-
function
|
|
1138
|
+
function Wn(e, n, t, l, s, o) {
|
|
1140
1139
|
var u, r;
|
|
1141
1140
|
const a = se("Wrapper_nested");
|
|
1142
|
-
return m(), h("div",
|
|
1143
|
-
i("div",
|
|
1141
|
+
return m(), h("div", Rn, [
|
|
1142
|
+
i("div", Ln, [
|
|
1144
1143
|
e.state.selection ? (m(), h("sl-input", {
|
|
1145
1144
|
key: 0,
|
|
1146
1145
|
disabled: !0,
|
|
1147
1146
|
value: e.value ? e.formatString(e.state.format, e.state.selection) : ""
|
|
1148
|
-
}, null, 8,
|
|
1147
|
+
}, null, 8, Un)) : (m(), h("sl-combobox", {
|
|
1149
1148
|
key: 1,
|
|
1150
1149
|
disabled: e.boneState.readonly,
|
|
1151
1150
|
source: e.getList,
|
|
1152
1151
|
hoist: "",
|
|
1153
1152
|
onSlItemSelect: n[0] || (n[0] = (...c) => e.changeEvent && e.changeEvent(...c))
|
|
1154
|
-
}, null, 40,
|
|
1153
|
+
}, null, 40, Tn)),
|
|
1155
1154
|
!e.boneState.multiple && !e.boneState.isEmpty ? (m(), h("sl-button", {
|
|
1156
1155
|
key: 2,
|
|
1157
1156
|
variant: "danger",
|
|
@@ -1161,7 +1160,7 @@ function qn(e, n, t, l, s, o) {
|
|
|
1161
1160
|
onClick: n[1] || (n[1] = () => {
|
|
1162
1161
|
e.$emit("change", e.name, "", e.lang, e.index), e.state.selection = null;
|
|
1163
1162
|
})
|
|
1164
|
-
},
|
|
1163
|
+
}, zn, 8, Pn)) : k("", !0)
|
|
1165
1164
|
]),
|
|
1166
1165
|
(u = e.boneState) != null && u.bonestructure.using ? (m(), T(a, {
|
|
1167
1166
|
key: 0,
|
|
@@ -1173,7 +1172,7 @@ function qn(e, n, t, l, s, o) {
|
|
|
1173
1172
|
}, null, 8, ["value", "name", "index", "disabled", "onChange"])) : k("", !0)
|
|
1174
1173
|
]);
|
|
1175
1174
|
}
|
|
1176
|
-
const
|
|
1175
|
+
const Pe = /* @__PURE__ */ I(Vn, [["render", Wn], ["__scopeId", "data-v-61dd72e0"]]), qn = D({
|
|
1177
1176
|
inheritAttrs: !1,
|
|
1178
1177
|
props: {
|
|
1179
1178
|
name: String,
|
|
@@ -1186,7 +1185,7 @@ const Me = /* @__PURE__ */ I(Nn, [["render", qn], ["__scopeId", "data-v-61dd72e0
|
|
|
1186
1185
|
components: {},
|
|
1187
1186
|
emits: ["change"],
|
|
1188
1187
|
setup(e, n) {
|
|
1189
|
-
const t =
|
|
1188
|
+
const t = O("boneState"), l = w({});
|
|
1190
1189
|
function s(o, a) {
|
|
1191
1190
|
n.emit("change", e.name, o, e.lang, e.index);
|
|
1192
1191
|
}
|
|
@@ -1198,13 +1197,13 @@ const Me = /* @__PURE__ */ I(Nn, [["render", qn], ["__scopeId", "data-v-61dd72e0
|
|
|
1198
1197
|
changeEvent: s
|
|
1199
1198
|
};
|
|
1200
1199
|
}
|
|
1201
|
-
}),
|
|
1202
|
-
function
|
|
1203
|
-
return m(), h("div",
|
|
1200
|
+
}), Fn = { class: "box" };
|
|
1201
|
+
function Kn(e, n, t, l, s, o) {
|
|
1202
|
+
return m(), h("div", Fn, B(e.value), 1);
|
|
1204
1203
|
}
|
|
1205
|
-
const
|
|
1206
|
-
var
|
|
1207
|
-
const
|
|
1204
|
+
const Hn = /* @__PURE__ */ I(qn, [["render", Kn], ["__scopeId", "data-v-343aca69"]]);
|
|
1205
|
+
var Me = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
1206
|
+
const Gn = D({
|
|
1208
1207
|
inheritAttrs: !1,
|
|
1209
1208
|
props: {
|
|
1210
1209
|
name: String,
|
|
@@ -1215,7 +1214,7 @@ const Zn = D({
|
|
|
1215
1214
|
components: {},
|
|
1216
1215
|
emits: ["change"],
|
|
1217
1216
|
setup(e, n) {
|
|
1218
|
-
const t =
|
|
1217
|
+
const t = O("boneState"), l = F(), s = w({
|
|
1219
1218
|
loading: !1,
|
|
1220
1219
|
droparea: !1,
|
|
1221
1220
|
previewopen: !1
|
|
@@ -1236,7 +1235,7 @@ const Zn = D({
|
|
|
1236
1235
|
size: d.size.toString()
|
|
1237
1236
|
};
|
|
1238
1237
|
return new Promise((p, v) => {
|
|
1239
|
-
j.securePost(`/${
|
|
1238
|
+
j.securePost(`/${Me.VITE_DEFAULT_RENDERER || "vi"}/file/getUploadURL`, { dataObj: f }).then(async (_) => {
|
|
1240
1239
|
let g = await _.json();
|
|
1241
1240
|
fetch(g.values.uploadUrl, {
|
|
1242
1241
|
body: d,
|
|
@@ -1248,7 +1247,7 @@ const Zn = D({
|
|
|
1248
1247
|
node: void 0,
|
|
1249
1248
|
skelType: "leaf"
|
|
1250
1249
|
};
|
|
1251
|
-
j.securePost(`/${
|
|
1250
|
+
j.securePost(`/${Me.VITE_DEFAULT_RENDERER || "vi"}/file/add`, { dataObj: y }).then(async ($) => {
|
|
1252
1251
|
let A = await $.json();
|
|
1253
1252
|
A.action === "addSuccess" ? p(A.values) : v(A);
|
|
1254
1253
|
}).catch(($) => {
|
|
@@ -1289,31 +1288,31 @@ const Zn = D({
|
|
|
1289
1288
|
handleDrop: c
|
|
1290
1289
|
};
|
|
1291
1290
|
}
|
|
1292
|
-
}), fe = (e) => (M("data-v-91086308"), e = e(), z(), e),
|
|
1291
|
+
}), fe = (e) => (M("data-v-91086308"), e = e(), z(), e), Zn = {
|
|
1293
1292
|
key: 0,
|
|
1294
1293
|
class: "loader"
|
|
1295
|
-
},
|
|
1296
|
-
|
|
1297
|
-
],
|
|
1294
|
+
}, Jn = /* @__PURE__ */ fe(() => /* @__PURE__ */ i("sl-spinner", { slot: "suffix" }, null, -1)), Qn = [
|
|
1295
|
+
Jn
|
|
1296
|
+
], Yn = {
|
|
1298
1297
|
key: 1,
|
|
1299
1298
|
class: "droparea"
|
|
1300
|
-
},
|
|
1301
|
-
|
|
1302
|
-
],
|
|
1299
|
+
}, Xn = ["title"], xn = /* @__PURE__ */ fe(() => /* @__PURE__ */ i("sl-icon", { name: "upload" }, null, -1)), ea = [
|
|
1300
|
+
xn
|
|
1301
|
+
], ta = ["multiple"], na = ["title"], aa = /* @__PURE__ */ fe(() => /* @__PURE__ */ i("sl-icon", {
|
|
1303
1302
|
slot: "prefix",
|
|
1304
1303
|
name: "download"
|
|
1305
|
-
}, null, -1)),
|
|
1306
|
-
|
|
1307
|
-
],
|
|
1304
|
+
}, null, -1)), sa = [
|
|
1305
|
+
aa
|
|
1306
|
+
], la = { class: "box" }, ra = ["src"], oa = ["label", "open"], ia = ["src"], ua = {
|
|
1308
1307
|
key: 1,
|
|
1309
1308
|
class: "preview"
|
|
1310
|
-
},
|
|
1309
|
+
}, da = {
|
|
1311
1310
|
key: 0,
|
|
1312
1311
|
name: "file-earmark"
|
|
1313
|
-
},
|
|
1314
|
-
|
|
1312
|
+
}, ca = { key: 2 }, ma = ["title"], fa = /* @__PURE__ */ fe(() => /* @__PURE__ */ i("sl-icon", { name: "x-lg" }, null, -1)), ga = [
|
|
1313
|
+
fa
|
|
1315
1314
|
];
|
|
1316
|
-
function
|
|
1315
|
+
function ha(e, n, t, l, s, o) {
|
|
1317
1316
|
var a, u, r, c, d, f, p, v, _, g;
|
|
1318
1317
|
return m(), h("div", {
|
|
1319
1318
|
class: "file-wrapper",
|
|
@@ -1321,28 +1320,28 @@ function ba(e, n, t, l, s, o) {
|
|
|
1321
1320
|
onDragleave: n[6] || (n[6] = (b) => e.state.droparea = !1),
|
|
1322
1321
|
onDrop: n[7] || (n[7] = de((...b) => e.handleDrop && e.handleDrop(...b), ["prevent"]))
|
|
1323
1322
|
}, [
|
|
1324
|
-
e.state.loading ? (m(), h("div",
|
|
1325
|
-
e.state.droparea ? (m(), h("div",
|
|
1323
|
+
e.state.loading ? (m(), h("div", Zn, Qn)) : k("", !0),
|
|
1324
|
+
e.state.droparea ? (m(), h("div", Yn, " Dateien hier hinziehen ")) : k("", !0),
|
|
1326
1325
|
!e.boneState.readonly && (!e.value || e.state.loading) ? (m(), h("sl-button", {
|
|
1327
1326
|
key: 2,
|
|
1328
1327
|
title: e.$t("bone.upload"),
|
|
1329
1328
|
outline: "",
|
|
1330
1329
|
class: "upload-btn",
|
|
1331
1330
|
onClick: n[0] || (n[0] = (b) => e.uploadinput.click())
|
|
1332
|
-
},
|
|
1331
|
+
}, ea, 8, Xn)) : k("", !0),
|
|
1333
1332
|
i("input", {
|
|
1334
1333
|
ref: "uploadinput",
|
|
1335
1334
|
hidden: "",
|
|
1336
1335
|
type: "file",
|
|
1337
1336
|
multiple: e.boneState.multiple,
|
|
1338
1337
|
onChange: n[1] || (n[1] = (...b) => e.handleUpload && e.handleUpload(...b))
|
|
1339
|
-
}, null, 40,
|
|
1338
|
+
}, null, 40, ta),
|
|
1340
1339
|
e.value ? (m(), h("sl-button", {
|
|
1341
1340
|
key: 3,
|
|
1342
1341
|
title: e.$t("bone.download"),
|
|
1343
1342
|
onClick: n[2] || (n[2] = (...b) => e.downloadFile && e.downloadFile(...b))
|
|
1344
|
-
},
|
|
1345
|
-
i("div",
|
|
1343
|
+
}, sa, 8, na)) : k("", !0),
|
|
1344
|
+
i("div", la, [
|
|
1346
1345
|
(u = (a = e.value) == null ? void 0 : a.dest) != null && u.mimetype.includes("image") ? (m(), h("div", {
|
|
1347
1346
|
key: 0,
|
|
1348
1347
|
class: "preview has-preview",
|
|
@@ -1352,7 +1351,7 @@ function ba(e, n, t, l, s, o) {
|
|
|
1352
1351
|
class: "preview-img",
|
|
1353
1352
|
src: e.createBackgroundImage(),
|
|
1354
1353
|
alt: ""
|
|
1355
|
-
}, null, 8,
|
|
1354
|
+
}, null, 8, ra),
|
|
1356
1355
|
i("sl-dialog", {
|
|
1357
1356
|
label: decodeURIComponent((c = (r = e.value) == null ? void 0 : r.dest) == null ? void 0 : c.name),
|
|
1358
1357
|
class: "preview-overlay",
|
|
@@ -1361,12 +1360,12 @@ function ba(e, n, t, l, s, o) {
|
|
|
1361
1360
|
i("img", {
|
|
1362
1361
|
src: e.createBackgroundImage(),
|
|
1363
1362
|
alt: ""
|
|
1364
|
-
}, null, 8,
|
|
1365
|
-
], 8,
|
|
1366
|
-
])) : (m(), h("div",
|
|
1367
|
-
(f = (d = e.value) == null ? void 0 : d.dest) != null && f.name ? (m(), h("sl-icon",
|
|
1363
|
+
}, null, 8, ia)
|
|
1364
|
+
], 8, oa)
|
|
1365
|
+
])) : (m(), h("div", ua, [
|
|
1366
|
+
(f = (d = e.value) == null ? void 0 : d.dest) != null && f.name ? (m(), h("sl-icon", da)) : k("", !0)
|
|
1368
1367
|
])),
|
|
1369
|
-
(v = (p = e.value) == null ? void 0 : p.dest) != null && v.name ? (m(), h("div",
|
|
1368
|
+
(v = (p = e.value) == null ? void 0 : p.dest) != null && v.name ? (m(), h("div", ca, B(decodeURIComponent((g = (_ = e.value) == null ? void 0 : _.dest) == null ? void 0 : g.name)), 1)) : k("", !0)
|
|
1370
1369
|
]),
|
|
1371
1370
|
e.boneState.multiple ? k("", !0) : (m(), h("sl-button", {
|
|
1372
1371
|
key: 4,
|
|
@@ -1375,10 +1374,10 @@ function ba(e, n, t, l, s, o) {
|
|
|
1375
1374
|
title: e.$t("bone.del"),
|
|
1376
1375
|
class: "delete-btn",
|
|
1377
1376
|
onClick: n[4] || (n[4] = (b) => e.$emit("change", e.name, "", e.lang, e.index))
|
|
1378
|
-
},
|
|
1377
|
+
}, ga, 8, ma))
|
|
1379
1378
|
], 32);
|
|
1380
1379
|
}
|
|
1381
|
-
const
|
|
1380
|
+
const ze = /* @__PURE__ */ I(Gn, [["render", ha], ["__scopeId", "data-v-91086308"]]), ba = D({
|
|
1382
1381
|
inheritAttrs: !1,
|
|
1383
1382
|
props: {
|
|
1384
1383
|
name: String,
|
|
@@ -1389,10 +1388,10 @@ const We = /* @__PURE__ */ I(Zn, [["render", ba], ["__scopeId", "data-v-91086308
|
|
|
1389
1388
|
components: {},
|
|
1390
1389
|
emits: ["change"],
|
|
1391
1390
|
setup(e, n) {
|
|
1392
|
-
const t =
|
|
1391
|
+
const t = O("boneState"), l = w({
|
|
1393
1392
|
value: "",
|
|
1394
1393
|
editorConfig: {},
|
|
1395
|
-
editor: S(() =>
|
|
1394
|
+
editor: S(() => ClassicEditor)
|
|
1396
1395
|
});
|
|
1397
1396
|
function s(u) {
|
|
1398
1397
|
n.emit("change", e.name, l.value, e.lang, e.index);
|
|
@@ -1415,15 +1414,15 @@ const We = /* @__PURE__ */ I(Zn, [["render", ba], ["__scopeId", "data-v-91086308
|
|
|
1415
1414
|
}
|
|
1416
1415
|
), {
|
|
1417
1416
|
state: l,
|
|
1418
|
-
ClassicEditor
|
|
1417
|
+
ClassicEditor,
|
|
1419
1418
|
boneState: t,
|
|
1420
1419
|
changeEvent: s,
|
|
1421
1420
|
onReady: a,
|
|
1422
1421
|
changeEventTextarea: o
|
|
1423
1422
|
};
|
|
1424
1423
|
}
|
|
1425
|
-
}),
|
|
1426
|
-
function
|
|
1424
|
+
}), va = ["disabled", "value"];
|
|
1425
|
+
function pa(e, n, t, l, s, o) {
|
|
1427
1426
|
var u, r, c, d;
|
|
1428
1427
|
const a = se("ckeditor");
|
|
1429
1428
|
return e.state.editor ? (m(), h(E, { key: 0 }, [
|
|
@@ -1441,10 +1440,10 @@ function ya(e, n, t, l, s, o) {
|
|
|
1441
1440
|
disabled: (d = e.boneState) == null ? void 0 : d.readonly,
|
|
1442
1441
|
value: e.value,
|
|
1443
1442
|
onInput: n[1] || (n[1] = (...f) => e.changeEventTextarea && e.changeEventTextarea(...f))
|
|
1444
|
-
}, null, 40,
|
|
1443
|
+
}, null, 40, va))
|
|
1445
1444
|
], 64)) : k("", !0);
|
|
1446
1445
|
}
|
|
1447
|
-
const
|
|
1446
|
+
const We = /* @__PURE__ */ I(ba, [["render", pa]]), ya = D({
|
|
1448
1447
|
inheritAttrs: !1,
|
|
1449
1448
|
props: {
|
|
1450
1449
|
name: String,
|
|
@@ -1455,7 +1454,7 @@ const qe = /* @__PURE__ */ I(va, [["render", ya]]), $a = D({
|
|
|
1455
1454
|
components: {},
|
|
1456
1455
|
emits: ["change"],
|
|
1457
1456
|
setup(e, n) {
|
|
1458
|
-
const t =
|
|
1457
|
+
const t = O("boneState"), l = w({
|
|
1459
1458
|
valueLat: null,
|
|
1460
1459
|
valueLng: null
|
|
1461
1460
|
});
|
|
@@ -1474,8 +1473,8 @@ const qe = /* @__PURE__ */ I(va, [["render", ya]]), $a = D({
|
|
|
1474
1473
|
changeEvent: s
|
|
1475
1474
|
};
|
|
1476
1475
|
}
|
|
1477
|
-
}),
|
|
1478
|
-
function
|
|
1476
|
+
}), $a = ["name", "min", "max", "disabled"], Sa = ["name", "min", "max", "disabled"];
|
|
1477
|
+
function _a(e, n, t, l, s, o) {
|
|
1479
1478
|
return m(), h(E, null, [
|
|
1480
1479
|
J(i("sl-input", {
|
|
1481
1480
|
"onUpdate:modelValue": n[0] || (n[0] = (a) => e.state.valueLat = a),
|
|
@@ -1489,7 +1488,7 @@ function ka(e, n, t, l, s, o) {
|
|
|
1489
1488
|
step: "0.000001",
|
|
1490
1489
|
onSlChange: n[1] || (n[1] = (...a) => e.changeEvent && e.changeEvent(...a)),
|
|
1491
1490
|
placeholder: "Lat"
|
|
1492
|
-
}, null, 40,
|
|
1491
|
+
}, null, 40, $a), [
|
|
1493
1492
|
[le, e.state.valueLat]
|
|
1494
1493
|
]),
|
|
1495
1494
|
J(i("sl-input", {
|
|
@@ -1504,12 +1503,12 @@ function ka(e, n, t, l, s, o) {
|
|
|
1504
1503
|
step: "0.000001",
|
|
1505
1504
|
onSlChange: n[3] || (n[3] = (...a) => e.changeEvent && e.changeEvent(...a)),
|
|
1506
1505
|
placeholder: "Long"
|
|
1507
|
-
}, null, 40,
|
|
1506
|
+
}, null, 40, Sa), [
|
|
1508
1507
|
[le, e.state.valueLng]
|
|
1509
1508
|
])
|
|
1510
1509
|
], 64);
|
|
1511
1510
|
}
|
|
1512
|
-
const
|
|
1511
|
+
const qe = /* @__PURE__ */ I(ya, [["render", _a], ["__scopeId", "data-v-7bc31020"]]), ka = D({
|
|
1513
1512
|
props: {
|
|
1514
1513
|
name: String,
|
|
1515
1514
|
value: Object,
|
|
@@ -1521,10 +1520,10 @@ const Fe = /* @__PURE__ */ I($a, [["render", ka], ["__scopeId", "data-v-7bc31020
|
|
|
1521
1520
|
components: {},
|
|
1522
1521
|
emits: ["change"],
|
|
1523
1522
|
setup(e, n) {
|
|
1524
|
-
const t =
|
|
1523
|
+
const t = O("boneState"), l = w({
|
|
1525
1524
|
counter: 0,
|
|
1526
1525
|
debounce: null
|
|
1527
|
-
}), s =
|
|
1526
|
+
}), s = O("addMultipleEntry"), o = O("removeMultipleEntries");
|
|
1528
1527
|
function a() {
|
|
1529
1528
|
l.counter += 1;
|
|
1530
1529
|
let r = 200;
|
|
@@ -1550,17 +1549,17 @@ const Fe = /* @__PURE__ */ I($a, [["render", ka], ["__scopeId", "data-v-7bc31020
|
|
|
1550
1549
|
removeMultipleEntries: o
|
|
1551
1550
|
};
|
|
1552
1551
|
}
|
|
1553
|
-
}),
|
|
1552
|
+
}), Ye = (e) => (M("data-v-63e75dee"), e = e(), z(), e), wa = { class: "actionbar" }, Ea = ["title"], Aa = /* @__PURE__ */ Ye(() => /* @__PURE__ */ i("sl-icon", {
|
|
1554
1553
|
slot: "prefix",
|
|
1555
1554
|
name: "x-lg"
|
|
1556
|
-
}, null, -1)),
|
|
1557
|
-
|
|
1558
|
-
], Ca = ["title"],
|
|
1555
|
+
}, null, -1)), Ia = [
|
|
1556
|
+
Aa
|
|
1557
|
+
], Ca = ["title"], Oa = /* @__PURE__ */ Ye(() => /* @__PURE__ */ i("sl-icon", {
|
|
1559
1558
|
slot: "prefix",
|
|
1560
1559
|
name: "plus-lg"
|
|
1561
1560
|
}, null, -1));
|
|
1562
|
-
function
|
|
1563
|
-
return m(), h("div",
|
|
1561
|
+
function ja(e, n, t, l, s, o) {
|
|
1562
|
+
return m(), h("div", wa, [
|
|
1564
1563
|
e.boneState.multiple && !e.readonly ? (m(), h("sl-button", {
|
|
1565
1564
|
key: 0,
|
|
1566
1565
|
variant: "danger",
|
|
@@ -1568,7 +1567,7 @@ function Ba(e, n, t, l, s, o) {
|
|
|
1568
1567
|
outline: "",
|
|
1569
1568
|
class: "delete-btn",
|
|
1570
1569
|
onClick: n[0] || (n[0] = (a) => e.handleRemove(e.lang))
|
|
1571
|
-
},
|
|
1570
|
+
}, Ia, 8, Ea)) : k("", !0),
|
|
1572
1571
|
e.boneState.multiple && !e.readonly ? (m(), h("sl-button", {
|
|
1573
1572
|
key: 1,
|
|
1574
1573
|
variant: "success",
|
|
@@ -1577,17 +1576,17 @@ function Ba(e, n, t, l, s, o) {
|
|
|
1577
1576
|
class: "add-btn",
|
|
1578
1577
|
onClick: n[1] || (n[1] = (a) => e.handleAdd(e.lang))
|
|
1579
1578
|
}, [
|
|
1580
|
-
|
|
1581
|
-
|
|
1579
|
+
Oa,
|
|
1580
|
+
C(" " + B(e.$t("bone.add")) + " ", 1),
|
|
1582
1581
|
e.state.counter > 1 ? (m(), h(E, { key: 0 }, [
|
|
1583
|
-
|
|
1582
|
+
C("(" + B(e.state.counter) + ")", 1)
|
|
1584
1583
|
], 64)) : k("", !0)
|
|
1585
1584
|
], 8, Ca)) : k("", !0)
|
|
1586
1585
|
]);
|
|
1587
1586
|
}
|
|
1588
|
-
const
|
|
1589
|
-
var
|
|
1590
|
-
const
|
|
1587
|
+
const Ba = /* @__PURE__ */ I(ka, [["render", ja], ["__scopeId", "data-v-63e75dee"]]);
|
|
1588
|
+
var Da = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
1589
|
+
const Va = D({
|
|
1591
1590
|
props: {
|
|
1592
1591
|
name: String,
|
|
1593
1592
|
value: Object,
|
|
@@ -1599,14 +1598,14 @@ const Na = D({
|
|
|
1599
1598
|
components: {},
|
|
1600
1599
|
emits: ["change"],
|
|
1601
1600
|
setup(e, n) {
|
|
1602
|
-
const t =
|
|
1601
|
+
const t = O("boneState"), l = O("addMultipleEntry"), s = O("formatString"), o = null, a = w({
|
|
1603
1602
|
skels: {},
|
|
1604
1603
|
hasUsing: S(() => t == null ? void 0 : t.bonestructure.using)
|
|
1605
1604
|
});
|
|
1606
1605
|
function u(r) {
|
|
1607
1606
|
let c = "";
|
|
1608
1607
|
return t.bonestructure.type === "relational.tree.leaf.file" ? c = "skelType=leaf&" : t.bonestructure.type === "relational.tree.node.file" && (c = "skelType=node&"), j.get(
|
|
1609
|
-
`/${
|
|
1608
|
+
`/${Da.VITE_DEFAULT_RENDERER || "vi"}/${t.bonestructure.module}/list?${c}limit=99`
|
|
1610
1609
|
).then(async (d) => {
|
|
1611
1610
|
var p;
|
|
1612
1611
|
const f = await d.json();
|
|
@@ -1623,17 +1622,17 @@ const Na = D({
|
|
|
1623
1622
|
getList: u
|
|
1624
1623
|
};
|
|
1625
1624
|
}
|
|
1626
|
-
}),
|
|
1625
|
+
}), Xe = (e) => (M("data-v-eeea51c6"), e = e(), z(), e), Na = { class: "actionbar" }, Ra = ["title"], La = /* @__PURE__ */ Xe(() => /* @__PURE__ */ i("sl-icon", {
|
|
1627
1626
|
slot: "prefix",
|
|
1628
1627
|
name: "x-lg"
|
|
1629
|
-
}, null, -1)),
|
|
1630
|
-
|
|
1631
|
-
],
|
|
1628
|
+
}, null, -1)), Ua = [
|
|
1629
|
+
La
|
|
1630
|
+
], Ta = ["source"], Pa = ["title"], Ma = /* @__PURE__ */ Xe(() => /* @__PURE__ */ i("sl-icon", {
|
|
1632
1631
|
slot: "prefix",
|
|
1633
1632
|
name: "plus-lg"
|
|
1634
1633
|
}, null, -1));
|
|
1635
|
-
function
|
|
1636
|
-
return m(), h("div",
|
|
1634
|
+
function za(e, n, t, l, s, o) {
|
|
1635
|
+
return m(), h("div", Na, [
|
|
1637
1636
|
e.boneState.multiple && !e.readonly ? (m(), h("sl-button", {
|
|
1638
1637
|
key: 0,
|
|
1639
1638
|
variant: "danger",
|
|
@@ -1641,7 +1640,7 @@ function Wa(e, n, t, l, s, o) {
|
|
|
1641
1640
|
outline: "",
|
|
1642
1641
|
class: "delete-btn",
|
|
1643
1642
|
onClick: n[0] || (n[0] = (a) => e.openSelector())
|
|
1644
|
-
},
|
|
1643
|
+
}, Ua, 8, Ra)) : k("", !0),
|
|
1645
1644
|
i("sl-combobox", {
|
|
1646
1645
|
source: e.getList,
|
|
1647
1646
|
hoist: "",
|
|
@@ -1652,7 +1651,7 @@ function Wa(e, n, t, l, s, o) {
|
|
|
1652
1651
|
rel: e.state.hasUsing ? void 0 : null
|
|
1653
1652
|
});
|
|
1654
1653
|
})
|
|
1655
|
-
}, null, 40,
|
|
1654
|
+
}, null, 40, Ta),
|
|
1656
1655
|
e.boneState.multiple && !e.readonly ? (m(), h("sl-button", {
|
|
1657
1656
|
key: 1,
|
|
1658
1657
|
variant: "success",
|
|
@@ -1661,14 +1660,14 @@ function Wa(e, n, t, l, s, o) {
|
|
|
1661
1660
|
class: "add-btn",
|
|
1662
1661
|
onClick: n[2] || (n[2] = (a) => e.addMultipleEntry(e.lang))
|
|
1663
1662
|
}, [
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
], 8,
|
|
1663
|
+
Ma,
|
|
1664
|
+
C(" " + B(e.$t("bone.list")), 1)
|
|
1665
|
+
], 8, Pa)) : k("", !0)
|
|
1667
1666
|
]);
|
|
1668
1667
|
}
|
|
1669
|
-
const
|
|
1670
|
-
var
|
|
1671
|
-
const
|
|
1668
|
+
const Wa = /* @__PURE__ */ I(Va, [["render", za], ["__scopeId", "data-v-eeea51c6"]]);
|
|
1669
|
+
var Fe = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
1670
|
+
const qa = D({
|
|
1672
1671
|
props: {
|
|
1673
1672
|
name: String,
|
|
1674
1673
|
value: Object,
|
|
@@ -1680,8 +1679,8 @@ const Fa = D({
|
|
|
1680
1679
|
components: {},
|
|
1681
1680
|
emits: ["change"],
|
|
1682
1681
|
setup(e, n) {
|
|
1683
|
-
const t =
|
|
1684
|
-
|
|
1682
|
+
const t = O("boneState"), l = O("addMultipleEntry");
|
|
1683
|
+
O("formatString");
|
|
1685
1684
|
const s = null, o = F(), a = w({
|
|
1686
1685
|
skels: {},
|
|
1687
1686
|
uploadinput: null,
|
|
@@ -1696,7 +1695,7 @@ const Fa = D({
|
|
|
1696
1695
|
size: d.size.toString()
|
|
1697
1696
|
};
|
|
1698
1697
|
return new Promise((p, v) => {
|
|
1699
|
-
j.securePost(`/${
|
|
1698
|
+
j.securePost(`/${Fe.VITE_DEFAULT_RENDERER || "vi"}/file/getUploadURL`, { dataObj: f }).then(async (_) => {
|
|
1700
1699
|
let g = await _.json();
|
|
1701
1700
|
fetch(g.values.uploadUrl, {
|
|
1702
1701
|
body: d,
|
|
@@ -1708,7 +1707,7 @@ const Fa = D({
|
|
|
1708
1707
|
node: void 0,
|
|
1709
1708
|
skelType: "leaf"
|
|
1710
1709
|
};
|
|
1711
|
-
j.securePost(`/${
|
|
1710
|
+
j.securePost(`/${Fe.VITE_DEFAULT_RENDERER || "vi"}/file/add`, { dataObj: y }).then(async ($) => {
|
|
1712
1711
|
let A = await $.json();
|
|
1713
1712
|
A.action === "addSuccess" ? p(A.values) : v(A);
|
|
1714
1713
|
}).catch(($) => {
|
|
@@ -1755,24 +1754,24 @@ const Fa = D({
|
|
|
1755
1754
|
handleDrop: c
|
|
1756
1755
|
};
|
|
1757
1756
|
}
|
|
1758
|
-
}), Se = (e) => (M("data-v-9bac9f8a"), e = e(), z(), e),
|
|
1757
|
+
}), Se = (e) => (M("data-v-9bac9f8a"), e = e(), z(), e), Fa = ["title"], Ka = /* @__PURE__ */ Se(() => /* @__PURE__ */ i("sl-icon", {
|
|
1759
1758
|
slot: "prefix",
|
|
1760
1759
|
name: "x-lg"
|
|
1761
|
-
}, null, -1)),
|
|
1762
|
-
|
|
1763
|
-
],
|
|
1760
|
+
}, null, -1)), Ha = [
|
|
1761
|
+
Ka
|
|
1762
|
+
], Ga = {
|
|
1764
1763
|
key: 1,
|
|
1765
1764
|
class: "droparea"
|
|
1766
|
-
},
|
|
1765
|
+
}, Za = ["multiple"], Ja = ["title"], Qa = /* @__PURE__ */ Se(() => /* @__PURE__ */ i("sl-icon", {
|
|
1767
1766
|
slot: "prefix",
|
|
1768
1767
|
name: "plus-lg"
|
|
1769
|
-
}, null, -1)),
|
|
1770
|
-
|
|
1771
|
-
],
|
|
1768
|
+
}, null, -1)), Ya = [
|
|
1769
|
+
Qa
|
|
1770
|
+
], Xa = ["title"], xa = /* @__PURE__ */ Se(() => /* @__PURE__ */ i("sl-icon", { name: "upload" }, null, -1)), es = {
|
|
1772
1771
|
key: 0,
|
|
1773
1772
|
slot: "suffix"
|
|
1774
1773
|
};
|
|
1775
|
-
function
|
|
1774
|
+
function ts(e, n, t, l, s, o) {
|
|
1776
1775
|
return m(), h("div", {
|
|
1777
1776
|
class: "actionbar",
|
|
1778
1777
|
onDragover: n[4] || (n[4] = de((a) => e.state.droparea = !0, ["prevent"])),
|
|
@@ -1786,22 +1785,22 @@ function ns(e, n, t, l, s, o) {
|
|
|
1786
1785
|
outline: "",
|
|
1787
1786
|
class: "delete-btn",
|
|
1788
1787
|
onClick: n[0] || (n[0] = (a) => e.openSelector())
|
|
1789
|
-
},
|
|
1790
|
-
e.state.droparea ? (m(), h("div",
|
|
1788
|
+
}, Ha, 8, Fa)) : k("", !0),
|
|
1789
|
+
e.state.droparea ? (m(), h("div", Ga, " Dateien hier hinziehen ")) : k("", !0),
|
|
1791
1790
|
i("input", {
|
|
1792
1791
|
ref: "uploadinput",
|
|
1793
1792
|
hidden: "",
|
|
1794
1793
|
type: "file",
|
|
1795
1794
|
multiple: e.boneState.multiple,
|
|
1796
1795
|
onChange: n[1] || (n[1] = (...a) => e.handleUpload && e.handleUpload(...a))
|
|
1797
|
-
}, null, 40,
|
|
1796
|
+
}, null, 40, Za),
|
|
1798
1797
|
e.boneState.multiple && !e.readonly ? (m(), h("sl-button", {
|
|
1799
1798
|
key: 2,
|
|
1800
1799
|
outline: "",
|
|
1801
1800
|
title: e.$t("bone.list"),
|
|
1802
1801
|
class: "add-btn",
|
|
1803
1802
|
onClick: n[2] || (n[2] = (a) => e.addMultipleEntry(e.lang))
|
|
1804
|
-
},
|
|
1803
|
+
}, Ya, 8, Ja)) : k("", !0),
|
|
1805
1804
|
e.boneState.multiple && !e.readonly ? (m(), h("sl-button", {
|
|
1806
1805
|
key: 3,
|
|
1807
1806
|
variant: "success",
|
|
@@ -1810,36 +1809,36 @@ function ns(e, n, t, l, s, o) {
|
|
|
1810
1809
|
class: "upload-btn",
|
|
1811
1810
|
onClick: n[3] || (n[3] = (a) => e.uploadinput.click())
|
|
1812
1811
|
}, [
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
e.state.loading ? (m(), h("sl-spinner",
|
|
1816
|
-
], 8,
|
|
1812
|
+
xa,
|
|
1813
|
+
C(" " + B(e.$t("bone.upload")) + " ", 1),
|
|
1814
|
+
e.state.loading ? (m(), h("sl-spinner", es)) : k("", !0)
|
|
1815
|
+
], 8, Xa)) : k("", !0)
|
|
1817
1816
|
], 32);
|
|
1818
1817
|
}
|
|
1819
|
-
const
|
|
1818
|
+
const ns = /* @__PURE__ */ I(qa, [["render", ts], ["__scopeId", "data-v-9bac9f8a"]]), _e = $e("boneStore", () => {
|
|
1820
1819
|
const e = w({
|
|
1821
1820
|
additionalBones: G({}),
|
|
1822
1821
|
defaultBones: G({
|
|
1823
1822
|
rawBone: pe,
|
|
1824
|
-
keyBone:
|
|
1825
|
-
stringBone:
|
|
1826
|
-
emailBone:
|
|
1827
|
-
dateBone:
|
|
1828
|
-
booleanBone:
|
|
1829
|
-
selectBone:
|
|
1830
|
-
passwordBone:
|
|
1831
|
-
recordBone:
|
|
1832
|
-
numericBone:
|
|
1833
|
-
colorBone:
|
|
1834
|
-
relationalBone:
|
|
1835
|
-
jsonBone:
|
|
1836
|
-
fileBone:
|
|
1837
|
-
textBone:
|
|
1838
|
-
spatialBone:
|
|
1823
|
+
keyBone: Oe,
|
|
1824
|
+
stringBone: je,
|
|
1825
|
+
emailBone: Be,
|
|
1826
|
+
dateBone: De,
|
|
1827
|
+
booleanBone: Ne,
|
|
1828
|
+
selectBone: Ve,
|
|
1829
|
+
passwordBone: Re,
|
|
1830
|
+
recordBone: Le,
|
|
1831
|
+
numericBone: Te,
|
|
1832
|
+
colorBone: Ue,
|
|
1833
|
+
relationalBone: Pe,
|
|
1834
|
+
jsonBone: Hn,
|
|
1835
|
+
fileBone: ze,
|
|
1836
|
+
textBone: We,
|
|
1837
|
+
spatialBone: qe
|
|
1839
1838
|
}),
|
|
1840
1839
|
actionbars: G({
|
|
1841
|
-
"relational.tree.leaf.file.file":
|
|
1842
|
-
"relational.":
|
|
1840
|
+
"relational.tree.leaf.file.file": ns,
|
|
1841
|
+
"relational.": Wa
|
|
1843
1842
|
}),
|
|
1844
1843
|
multibones: G(["select", "select."])
|
|
1845
1844
|
});
|
|
@@ -1866,7 +1865,7 @@ const as = /* @__PURE__ */ I(Fa, [["render", ns], ["__scopeId", "data-v-9bac9f8a
|
|
|
1866
1865
|
return e.additionalBones[c[0]];
|
|
1867
1866
|
}
|
|
1868
1867
|
}
|
|
1869
|
-
return a === "date" ?
|
|
1868
|
+
return a === "date" ? De : a === "key" ? Oe : a === "str.email" ? Be : a === "str" || a.startsWith("str.") ? je : a === "select" || a.startsWith("select.") ? Ve : a === "bool" ? Ne : a === "password" ? Re : a === "record" ? Le : a === "numeric" || a.startsWith("numeric.") ? Te : a === "relational.tree.leaf.file.file" ? ze : a === "relational" || a.startsWith("relational.") ? Pe : a === "color" ? Ue : a === "text" ? We : a === "spatial" ? qe : pe;
|
|
1870
1869
|
}
|
|
1871
1870
|
function s(a, u) {
|
|
1872
1871
|
e.actionbars[a] = u;
|
|
@@ -1885,7 +1884,7 @@ const as = /* @__PURE__ */ I(Fa, [["render", ns], ["__scopeId", "data-v-9bac9f8a
|
|
|
1885
1884
|
return e.actionbars[c[0]];
|
|
1886
1885
|
}
|
|
1887
1886
|
}
|
|
1888
|
-
return
|
|
1887
|
+
return Ba;
|
|
1889
1888
|
}
|
|
1890
1889
|
return {
|
|
1891
1890
|
state: e,
|
|
@@ -1896,13 +1895,13 @@ const as = /* @__PURE__ */ I(Fa, [["render", ns], ["__scopeId", "data-v-9bac9f8a
|
|
|
1896
1895
|
getBoneActionbar: o
|
|
1897
1896
|
};
|
|
1898
1897
|
});
|
|
1899
|
-
function
|
|
1898
|
+
function as(e) {
|
|
1900
1899
|
return _e().getBoneActionbar(e);
|
|
1901
1900
|
}
|
|
1902
1901
|
function x(e) {
|
|
1903
1902
|
return _e().getBoneWidget(e);
|
|
1904
1903
|
}
|
|
1905
|
-
function
|
|
1904
|
+
function ss(e) {
|
|
1906
1905
|
const n = _e();
|
|
1907
1906
|
if (n.state.multibones.includes(e))
|
|
1908
1907
|
return !0;
|
|
@@ -1924,7 +1923,7 @@ D({
|
|
|
1924
1923
|
emits: ["change", "change-internal", "handleClick"],
|
|
1925
1924
|
components: {
|
|
1926
1925
|
wrapperMultiple: Ct,
|
|
1927
|
-
BoneLabel:
|
|
1926
|
+
BoneLabel: Nt
|
|
1928
1927
|
},
|
|
1929
1928
|
props: {
|
|
1930
1929
|
is: {
|
|
@@ -1992,7 +1991,7 @@ D({
|
|
|
1992
1991
|
params: S(() => e.params ? e.params : t.bonestructure && Object.keys(t.bonestructure).includes("params") ? t.bonestructure.params : {}),
|
|
1993
1992
|
actionbar: S(() => {
|
|
1994
1993
|
var g;
|
|
1995
|
-
return
|
|
1994
|
+
return as((g = t.bonestructure) == null ? void 0 : g.type);
|
|
1996
1995
|
}),
|
|
1997
1996
|
isEmpty: S(() => {
|
|
1998
1997
|
function g(b) {
|
|
@@ -2135,8 +2134,8 @@ D({
|
|
|
2135
2134
|
if (ne.shift(), P && P !== "-" && Object.keys(P).includes(Y) && P[Y])
|
|
2136
2135
|
if (Array.isArray(P[Y])) {
|
|
2137
2136
|
let Ie = [];
|
|
2138
|
-
for (let
|
|
2139
|
-
Ie.push($(ne.join("."),
|
|
2137
|
+
for (let et of P[Y])
|
|
2138
|
+
Ie.push($(ne.join("."), et));
|
|
2140
2139
|
P = Ie.join(", ");
|
|
2141
2140
|
} else
|
|
2142
2141
|
P = P[Y];
|
|
@@ -2178,7 +2177,7 @@ D({
|
|
|
2178
2177
|
addMultipleEntry: d,
|
|
2179
2178
|
removeMultipleEntry: f,
|
|
2180
2179
|
removeMultipleEntries: p,
|
|
2181
|
-
BoneHasMultipleHandling:
|
|
2180
|
+
BoneHasMultipleHandling: ss,
|
|
2182
2181
|
multipleBonePressEnter: v,
|
|
2183
2182
|
handleDragStart: l,
|
|
2184
2183
|
handleDragOver: s,
|
|
@@ -2217,8 +2216,8 @@ const ke = {
|
|
|
2217
2216
|
});
|
|
2218
2217
|
return { state: t };
|
|
2219
2218
|
}
|
|
2220
|
-
},
|
|
2221
|
-
|
|
2219
|
+
}, Ke = () => {
|
|
2220
|
+
ot((e) => ({
|
|
2222
2221
|
"93747d92": e.state.outerSize,
|
|
2223
2222
|
"284424e5": e.state.shadow,
|
|
2224
2223
|
"6485ca5e": e.state.logoSize,
|
|
@@ -2226,27 +2225,27 @@ const ke = {
|
|
|
2226
2225
|
d5b3feca: e.color,
|
|
2227
2226
|
"2050b700": e.state.trackWidth
|
|
2228
2227
|
}));
|
|
2229
|
-
},
|
|
2230
|
-
ke.setup =
|
|
2231
|
-
const
|
|
2228
|
+
}, He = ke.setup;
|
|
2229
|
+
ke.setup = He ? (e, n) => (Ke(), He(e, n)) : Ke;
|
|
2230
|
+
const ls = (e) => (M("data-v-46c45785"), e = e(), z(), e), rs = {
|
|
2232
2231
|
key: 0,
|
|
2233
2232
|
class: "loading"
|
|
2234
|
-
},
|
|
2235
|
-
function
|
|
2236
|
-
return m(), T(
|
|
2237
|
-
default:
|
|
2238
|
-
t.active ? (m(), h("div",
|
|
2239
|
-
|
|
2240
|
-
i("div",
|
|
2241
|
-
i("sl-icon", { src: t.logo }, null, 8,
|
|
2233
|
+
}, os = /* @__PURE__ */ ls(() => /* @__PURE__ */ i("sl-spinner", { class: "loader" }, null, -1)), is = { class: "logo" }, us = ["src"];
|
|
2234
|
+
function ds(e, n, t, l, s, o) {
|
|
2235
|
+
return m(), T(it, null, {
|
|
2236
|
+
default: ut(() => [
|
|
2237
|
+
t.active ? (m(), h("div", rs, [
|
|
2238
|
+
os,
|
|
2239
|
+
i("div", is, [
|
|
2240
|
+
i("sl-icon", { src: t.logo }, null, 8, us)
|
|
2242
2241
|
])
|
|
2243
2242
|
])) : k("", !0)
|
|
2244
2243
|
]),
|
|
2245
2244
|
_: 1
|
|
2246
2245
|
});
|
|
2247
2246
|
}
|
|
2248
|
-
const
|
|
2249
|
-
const e = new
|
|
2247
|
+
const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785"]]), oe = $e("cartstore", () => {
|
|
2248
|
+
const e = new gt({
|
|
2250
2249
|
host_url: window.location.origin === "http://localhost:8081" ? "http://localhost:8080" : window.location.origin
|
|
2251
2250
|
}), n = w({
|
|
2252
2251
|
basketRootNode: {},
|
|
@@ -2309,7 +2308,7 @@ const ms = /* @__PURE__ */ I(ke, [["render", cs], ["__scopeId", "data-v-46c45785
|
|
|
2309
2308
|
getAdressStructure: c,
|
|
2310
2309
|
getChildren: l
|
|
2311
2310
|
};
|
|
2312
|
-
}),
|
|
2311
|
+
}), ms = {
|
|
2313
2312
|
__name: "CartNode",
|
|
2314
2313
|
props: {
|
|
2315
2314
|
node: { type: Object, required: !0 }
|
|
@@ -2317,10 +2316,10 @@ const ms = /* @__PURE__ */ I(ke, [["render", cs], ["__scopeId", "data-v-46c45785
|
|
|
2317
2316
|
setup(e) {
|
|
2318
2317
|
return w({}), (n, t) => (m(), h("pre", null, B(e.node.name), 1));
|
|
2319
2318
|
}
|
|
2320
|
-
}, ge = (e) => (M("data-v-4b285730"), e = e(), z(), e),
|
|
2319
|
+
}, ge = (e) => (M("data-v-4b285730"), e = e(), z(), e), fs = {
|
|
2321
2320
|
horizontal: "",
|
|
2322
2321
|
class: "viur-shop-cart-leaf"
|
|
2323
|
-
},
|
|
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__ */ ge(() => /* @__PURE__ */ i("sl-button", {
|
|
2324
2323
|
size: "small",
|
|
2325
2324
|
outline: "",
|
|
2326
2325
|
class: "viur-shop-cart-leaf-add-to-favourites-btn",
|
|
@@ -2331,12 +2330,12 @@ const ms = /* @__PURE__ */ I(ke, [["render", cs], ["__scopeId", "data-v-46c45785
|
|
|
2331
2330
|
name: "heart",
|
|
2332
2331
|
slot: "prefix"
|
|
2333
2332
|
})
|
|
2334
|
-
], -1)),
|
|
2333
|
+
], -1)), $s = /* @__PURE__ */ ge(() => /* @__PURE__ */ i("sl-icon", {
|
|
2335
2334
|
name: "trash",
|
|
2336
2335
|
slot: "prefix"
|
|
2337
|
-
}, null, -1)),
|
|
2338
|
-
|
|
2339
|
-
],
|
|
2336
|
+
}, null, -1)), Ss = [
|
|
2337
|
+
$s
|
|
2338
|
+
], _s = { class: "viur-shop-cart-leaf-quantity" }, ks = { class: "viur-shop-cart-leaf-unitprice" }, ws = /* @__PURE__ */ ge(() => /* @__PURE__ */ i("div", { class: "viur-shop-cart-leaf-label" }, "Stückpreis", -1)), Es = ["value"], As = { class: "viur-shop-cart-leaf-price" }, Is = /* @__PURE__ */ ge(() => /* @__PURE__ */ i("div", { class: "viur-shop-cart-leaf-label" }, "Gesamtpreis", -1)), Cs = ["value"], Os = {
|
|
2340
2339
|
__name: "CartLeaf",
|
|
2341
2340
|
props: {
|
|
2342
2341
|
leaf: { type: Object, required: !0 },
|
|
@@ -2348,7 +2347,7 @@ const ms = /* @__PURE__ */ I(ke, [["render", cs], ["__scopeId", "data-v-46c45785
|
|
|
2348
2347
|
leaf: {}
|
|
2349
2348
|
});
|
|
2350
2349
|
function o(r) {
|
|
2351
|
-
return r !== void 0 ?
|
|
2350
|
+
return r !== void 0 ? ft.downloadUrlFor(r) : "https://images.unsplash.com/photo-1559209172-0ff8f6d49ff7?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=80";
|
|
2352
2351
|
}
|
|
2353
2352
|
function a(r, c, d, f) {
|
|
2354
2353
|
l("updateItem", {
|
|
@@ -2363,20 +2362,20 @@ const ms = /* @__PURE__ */ I(ke, [["render", cs], ["__scopeId", "data-v-46c45785
|
|
|
2363
2362
|
}
|
|
2364
2363
|
return ee(() => {
|
|
2365
2364
|
s.leaf = t.leaf;
|
|
2366
|
-
}), (r, c) => (m(), h("sl-card",
|
|
2365
|
+
}), (r, c) => (m(), h("sl-card", fs, [
|
|
2367
2366
|
i("img", {
|
|
2368
2367
|
class: "viur-shop-cart-leaf-image",
|
|
2369
2368
|
slot: "image",
|
|
2370
2369
|
src: o(s.leaf.shop_image ? s.leaf.shop_image : void 0)
|
|
2371
|
-
}, null, 8,
|
|
2372
|
-
i("h4",
|
|
2373
|
-
i("h5",
|
|
2370
|
+
}, null, 8, gs),
|
|
2371
|
+
i("h4", hs, B(s.leaf.shop_name), 1),
|
|
2372
|
+
i("h5", bs, B(s.leaf.shop_art_no_or_gtin), 1),
|
|
2374
2373
|
i("div", {
|
|
2375
2374
|
class: "viur-shop-cart-leaf-description",
|
|
2376
2375
|
innerHTML: s.leaf.shop_description
|
|
2377
|
-
}, null, 8,
|
|
2378
|
-
i("div",
|
|
2379
|
-
|
|
2376
|
+
}, null, 8, vs),
|
|
2377
|
+
i("div", ps, [
|
|
2378
|
+
ys,
|
|
2380
2379
|
i("sl-button", {
|
|
2381
2380
|
size: "small",
|
|
2382
2381
|
outline: "",
|
|
@@ -2384,9 +2383,9 @@ const ms = /* @__PURE__ */ I(ke, [["render", cs], ["__scopeId", "data-v-46c45785
|
|
|
2384
2383
|
variant: "primary",
|
|
2385
2384
|
title: "Remove from cart",
|
|
2386
2385
|
onClick: c[0] || (c[0] = (d) => u(s.leaf, s.leaf.article.dest.key, e.node))
|
|
2387
|
-
},
|
|
2386
|
+
}, Ss)
|
|
2388
2387
|
]),
|
|
2389
|
-
i("div",
|
|
2388
|
+
i("div", _s, [
|
|
2390
2389
|
J(i("sl-input", {
|
|
2391
2390
|
class: "viur-shop-cart-leaf-value viur-shop-cart-leaf-value--quantity",
|
|
2392
2391
|
type: "number",
|
|
@@ -2404,18 +2403,18 @@ const ms = /* @__PURE__ */ I(ke, [["render", cs], ["__scopeId", "data-v-46c45785
|
|
|
2404
2403
|
[le, s.leaf.quantity]
|
|
2405
2404
|
])
|
|
2406
2405
|
]),
|
|
2407
|
-
i("div",
|
|
2408
|
-
|
|
2406
|
+
i("div", ks, [
|
|
2407
|
+
ws,
|
|
2409
2408
|
i("sl-format-number", {
|
|
2410
2409
|
class: "viur-shop-cart-leaf-value viur-shop-cart-leaf-value--unitprice",
|
|
2411
2410
|
lang: "de",
|
|
2412
2411
|
type: "currency",
|
|
2413
2412
|
currency: "EUR",
|
|
2414
2413
|
value: s.leaf.price.retail
|
|
2415
|
-
}, null, 8,
|
|
2414
|
+
}, null, 8, Es)
|
|
2416
2415
|
]),
|
|
2417
|
-
i("div",
|
|
2418
|
-
|
|
2416
|
+
i("div", As, [
|
|
2417
|
+
Is,
|
|
2419
2418
|
i("sl-format-number", {
|
|
2420
2419
|
class: "viur-shop-cart-leaf-value viur-shop-cart-leaf-value--price",
|
|
2421
2420
|
lang: "de",
|
|
@@ -2426,19 +2425,19 @@ const ms = /* @__PURE__ */ I(ke, [["render", cs], ["__scopeId", "data-v-46c45785
|
|
|
2426
2425
|
])
|
|
2427
2426
|
]));
|
|
2428
2427
|
}
|
|
2429
|
-
},
|
|
2428
|
+
}, js = /* @__PURE__ */ I(Os, [["__scopeId", "data-v-4b285730"]]), K = (e) => (M("data-v-2ad9f71a"), e = e(), z(), e), Bs = { key: 0 }, Ds = /* @__PURE__ */ K(() => /* @__PURE__ */ i("p", null, "Möchten Sie den Artikel wirklich aus dem Warenkorb entfernen?", -1)), Vs = {
|
|
2430
2429
|
class: "footer-wrap",
|
|
2431
2430
|
slot: "footer"
|
|
2432
|
-
},
|
|
2431
|
+
}, Ns = { class: "viur-shop-cart-node" }, Rs = /* @__PURE__ */ K(() => /* @__PURE__ */ i("h2", { class: "viur-shop-cart-sidebar-headline headline" }, "Zusammenfassung", -1)), Ls = /* @__PURE__ */ K(() => /* @__PURE__ */ i("br", null, null, -1)), Us = /* @__PURE__ */ K(() => /* @__PURE__ */ i("sl-input", {
|
|
2433
2432
|
label: "Rabattcode eingeben",
|
|
2434
2433
|
class: "viur-shop-cart-sidebar-coupon-input"
|
|
2435
|
-
}, null, -1)),
|
|
2434
|
+
}, null, -1)), Ts = /* @__PURE__ */ K(() => /* @__PURE__ */ i("br", null, null, -1)), Ps = { class: "viur-shop-cart-sidebar-info-line" }, Ms = /* @__PURE__ */ K(() => /* @__PURE__ */ i("span", null, "Zwischensumme", -1)), zs = /* @__PURE__ */ K(() => /* @__PURE__ */ i("div", { class: "viur-shop-cart-sidebar-info-line" }, [
|
|
2436
2435
|
/* @__PURE__ */ i("span", null, "Rabatt"),
|
|
2437
|
-
/* @__PURE__ */
|
|
2438
|
-
], -1)),
|
|
2436
|
+
/* @__PURE__ */ C(" 0 € ")
|
|
2437
|
+
], -1)), Ws = /* @__PURE__ */ K(() => /* @__PURE__ */ i("div", { class: "viur-shop-cart-sidebar-info-line" }, [
|
|
2439
2438
|
/* @__PURE__ */ i("span", null, "Versandkosten"),
|
|
2440
|
-
/* @__PURE__ */
|
|
2441
|
-
], -1)),
|
|
2439
|
+
/* @__PURE__ */ C(" 0 € ")
|
|
2440
|
+
], -1)), qs = { class: "viur-shop-cart-sidebar-info-line total" }, Fs = /* @__PURE__ */ K(() => /* @__PURE__ */ i("span", null, "Gesamt:", -1)), Ks = /* @__PURE__ */ K(() => /* @__PURE__ */ i("div", { class: "viur-shop-cart-sidebar-btn-wrap" }, [
|
|
2442
2441
|
/* @__PURE__ */ i("sl-button", {
|
|
2443
2442
|
variant: "primary",
|
|
2444
2443
|
size: "medium"
|
|
@@ -2451,14 +2450,14 @@ const ms = /* @__PURE__ */ I(ke, [["render", cs], ["__scopeId", "data-v-46c45785
|
|
|
2451
2450
|
name: "paypal",
|
|
2452
2451
|
slot: "prefix"
|
|
2453
2452
|
}),
|
|
2454
|
-
/* @__PURE__ */
|
|
2453
|
+
/* @__PURE__ */ C(" Paypal ")
|
|
2455
2454
|
])
|
|
2456
|
-
], -1)),
|
|
2455
|
+
], -1)), Hs = /* @__PURE__ */ K(() => /* @__PURE__ */ i("div", { class: "viur-shop-cart-mobile-footer" }, [
|
|
2457
2456
|
/* @__PURE__ */ i("sl-button", {
|
|
2458
2457
|
variant: "primary",
|
|
2459
2458
|
size: "medium"
|
|
2460
2459
|
}, " Jetzt Bestellen ")
|
|
2461
|
-
], -1)),
|
|
2460
|
+
], -1)), Gs = {
|
|
2462
2461
|
__name: "CartView",
|
|
2463
2462
|
props: {
|
|
2464
2463
|
mode: { type: String, default: "basket" },
|
|
@@ -2511,8 +2510,8 @@ const ms = /* @__PURE__ */ I(ke, [["render", cs], ["__scopeId", "data-v-46c45785
|
|
|
2511
2510
|
ref: l,
|
|
2512
2511
|
onSlHide: r
|
|
2513
2512
|
}, [
|
|
2514
|
-
|
|
2515
|
-
i("div",
|
|
2513
|
+
Ds,
|
|
2514
|
+
i("div", Vs, [
|
|
2516
2515
|
i("sl-button", {
|
|
2517
2516
|
variant: "danger",
|
|
2518
2517
|
onClick: p[0] || (p[0] = (v) => l.value.hide()),
|
|
@@ -2525,10 +2524,10 @@ const ms = /* @__PURE__ */ I(ke, [["render", cs], ["__scopeId", "data-v-46c45785
|
|
|
2525
2524
|
}, " Aus Warenkorb entfernen ")
|
|
2526
2525
|
])
|
|
2527
2526
|
], 544),
|
|
2528
|
-
(m(!0), h(E, null, U(s.nodes, (v) => (m(), h("div",
|
|
2527
|
+
(m(!0), h(E, null, U(s.nodes, (v) => (m(), h("div", Ns, [
|
|
2529
2528
|
Object.keys(s.leaves).includes(v.key) ? (m(), h(E, { key: 0 }, [
|
|
2530
|
-
|
|
2531
|
-
(m(!0), h(E, null, U(s.leaves[v.key], (_) => (m(), T(
|
|
2529
|
+
dt(ms, { node: v }, null, 8, ["node"]),
|
|
2530
|
+
(m(!0), h(E, null, U(s.leaves[v.key], (_) => (m(), T(js, {
|
|
2532
2531
|
key: _.key,
|
|
2533
2532
|
leaf: _,
|
|
2534
2533
|
node: v,
|
|
@@ -2537,39 +2536,39 @@ const ms = /* @__PURE__ */ I(ke, [["render", cs], ["__scopeId", "data-v-46c45785
|
|
|
2537
2536
|
}, null, 8, ["leaf", "node"]))), 128))
|
|
2538
2537
|
], 64)) : k("", !0)
|
|
2539
2538
|
]))), 256)),
|
|
2540
|
-
e.sidebar ? (m(), T(
|
|
2539
|
+
e.sidebar ? (m(), T(Ze, {
|
|
2541
2540
|
key: 0,
|
|
2542
2541
|
to: "#order_sidebar"
|
|
2543
2542
|
}, [
|
|
2543
|
+
Rs,
|
|
2544
2544
|
Ls,
|
|
2545
2545
|
Us,
|
|
2546
2546
|
Ts,
|
|
2547
|
-
Ps,
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
O(" --> " + B(e.mode === "basket" ? q(t).state.basketRootNode.total : q(t).state.whishlistRootNodes[e.cartKey].total) + " € ", 1)
|
|
2547
|
+
i("div", Ps, [
|
|
2548
|
+
Ms,
|
|
2549
|
+
C(" " + B(e.mode === "basket" ? q(t).state.basketRootNode.total : q(t).state.whishlistRootNodes[e.cartKey].total) + " € ", 1)
|
|
2551
2550
|
]),
|
|
2551
|
+
zs,
|
|
2552
2552
|
Ws,
|
|
2553
|
-
qs,
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
O(" " + B(e.mode === "basket" ? q(t).state.basketRootNode.total : q(t).state.whishlistRootNodes[e.cartKey].total) + " € ", 1)
|
|
2553
|
+
i("div", qs, [
|
|
2554
|
+
Fs,
|
|
2555
|
+
C(" " + B(e.mode === "basket" ? q(t).state.basketRootNode.total : q(t).state.whishlistRootNodes[e.cartKey].total) + " € ", 1)
|
|
2557
2556
|
]),
|
|
2558
|
-
|
|
2557
|
+
Ks
|
|
2559
2558
|
])) : k("", !0),
|
|
2560
|
-
|
|
2561
|
-
], 64)) : (m(), h("sl-spinner",
|
|
2559
|
+
Hs
|
|
2560
|
+
], 64)) : (m(), h("sl-spinner", Bs));
|
|
2562
2561
|
}
|
|
2563
|
-
}, we = /* @__PURE__ */ I(
|
|
2562
|
+
}, we = /* @__PURE__ */ I(Gs, [["__scopeId", "data-v-2ad9f71a"]]), Zs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2564
2563
|
__proto__: null,
|
|
2565
2564
|
default: we
|
|
2566
|
-
}, Symbol.toStringTag, { value: "Module" })), Q = (e) => (M("data-v-b7b745be"), e = e(), z(), e),
|
|
2565
|
+
}, Symbol.toStringTag, { value: "Module" })), Q = (e) => (M("data-v-b7b745be"), e = e(), z(), e), Js = {
|
|
2567
2566
|
key: 1,
|
|
2568
2567
|
class: "list"
|
|
2569
|
-
},
|
|
2568
|
+
}, Qs = /* @__PURE__ */ Q(() => /* @__PURE__ */ i("h2", { class: "viur-shop-cart-headline headline" }, "Bestellung prüfen", -1)), Ys = /* @__PURE__ */ Q(() => /* @__PURE__ */ i("br", null, null, -1)), Xs = /* @__PURE__ */ Q(() => /* @__PURE__ */ i("div", { class: "viur-shop-cart-address-wrap" }, [
|
|
2570
2569
|
/* @__PURE__ */ i("div", { class: "viur-shop-cart-address" }, [
|
|
2571
2570
|
/* @__PURE__ */ i("div", { class: "viur-shop-cart-address-headline" }, [
|
|
2572
|
-
/* @__PURE__ */
|
|
2571
|
+
/* @__PURE__ */ C(" Versandadresse "),
|
|
2573
2572
|
/* @__PURE__ */ i("sl-button", {
|
|
2574
2573
|
outline: "",
|
|
2575
2574
|
size: "small"
|
|
@@ -2580,20 +2579,20 @@ const ms = /* @__PURE__ */ I(ke, [["render", cs], ["__scopeId", "data-v-46c45785
|
|
|
2580
2579
|
})
|
|
2581
2580
|
])
|
|
2582
2581
|
]),
|
|
2583
|
-
/* @__PURE__ */
|
|
2582
|
+
/* @__PURE__ */ C(" Roland Brose"),
|
|
2584
2583
|
/* @__PURE__ */ i("br"),
|
|
2585
|
-
/* @__PURE__ */
|
|
2584
|
+
/* @__PURE__ */ C(" Speicherstraße 33"),
|
|
2586
2585
|
/* @__PURE__ */ i("br"),
|
|
2587
|
-
/* @__PURE__ */
|
|
2586
|
+
/* @__PURE__ */ C(" 44147 Dortmund, DE"),
|
|
2588
2587
|
/* @__PURE__ */ i("br"),
|
|
2589
2588
|
/* @__PURE__ */ i("br"),
|
|
2590
|
-
/* @__PURE__ */
|
|
2589
|
+
/* @__PURE__ */ C(" rb@mausbrand.de"),
|
|
2591
2590
|
/* @__PURE__ */ i("br"),
|
|
2592
|
-
/* @__PURE__ */
|
|
2591
|
+
/* @__PURE__ */ C(" 0231 21 34 68 90 ")
|
|
2593
2592
|
]),
|
|
2594
2593
|
/* @__PURE__ */ i("div", { class: "viur-shop-cart-address" }, [
|
|
2595
2594
|
/* @__PURE__ */ i("div", { class: "viur-shop-cart-address-headline" }, [
|
|
2596
|
-
/* @__PURE__ */
|
|
2595
|
+
/* @__PURE__ */ C(" Rechnungsadresse "),
|
|
2597
2596
|
/* @__PURE__ */ i("sl-button", {
|
|
2598
2597
|
outline: "",
|
|
2599
2598
|
size: "small"
|
|
@@ -2604,21 +2603,21 @@ const ms = /* @__PURE__ */ I(ke, [["render", cs], ["__scopeId", "data-v-46c45785
|
|
|
2604
2603
|
})
|
|
2605
2604
|
])
|
|
2606
2605
|
]),
|
|
2607
|
-
/* @__PURE__ */
|
|
2606
|
+
/* @__PURE__ */ C(" Roland Brose"),
|
|
2608
2607
|
/* @__PURE__ */ i("br"),
|
|
2609
|
-
/* @__PURE__ */
|
|
2608
|
+
/* @__PURE__ */ C(" Speicherstraße 33"),
|
|
2610
2609
|
/* @__PURE__ */ i("br"),
|
|
2611
|
-
/* @__PURE__ */
|
|
2610
|
+
/* @__PURE__ */ C(" 44147 Dortmund, DE"),
|
|
2612
2611
|
/* @__PURE__ */ i("br"),
|
|
2613
2612
|
/* @__PURE__ */ i("br"),
|
|
2614
|
-
/* @__PURE__ */
|
|
2613
|
+
/* @__PURE__ */ C(" rb@mausbrand.de"),
|
|
2615
2614
|
/* @__PURE__ */ i("br"),
|
|
2616
|
-
/* @__PURE__ */
|
|
2615
|
+
/* @__PURE__ */ C(" 0231 21 34 68 90 ")
|
|
2617
2616
|
])
|
|
2618
|
-
], -1)),
|
|
2617
|
+
], -1)), xs = /* @__PURE__ */ Q(() => /* @__PURE__ */ i("div", { class: "viur-shop-cart-payment" }, [
|
|
2619
2618
|
/* @__PURE__ */ i("div", { class: "viur-shop-cart-payment-method" }, [
|
|
2620
2619
|
/* @__PURE__ */ i("span", null, "Zahlungsmethode:"),
|
|
2621
|
-
/* @__PURE__ */
|
|
2620
|
+
/* @__PURE__ */ C(" Paypal ")
|
|
2622
2621
|
]),
|
|
2623
2622
|
/* @__PURE__ */ i("sl-button", {
|
|
2624
2623
|
outline: "",
|
|
@@ -2629,7 +2628,7 @@ const ms = /* @__PURE__ */ I(ke, [["render", cs], ["__scopeId", "data-v-46c45785
|
|
|
2629
2628
|
slot: "prefix"
|
|
2630
2629
|
})
|
|
2631
2630
|
])
|
|
2632
|
-
], -1)),
|
|
2631
|
+
], -1)), el = /* @__PURE__ */ Q(() => /* @__PURE__ */ i("h2", { class: "viur-shop-cart-headline headline" }, "Warenkorb", -1)), tl = /* @__PURE__ */ Q(() => /* @__PURE__ */ i("br", null, null, -1)), nl = /* @__PURE__ */ Q(() => /* @__PURE__ */ i("h2", { class: "viur-shop-cart-sidebar-headline headline" }, "Jetzt Bestellen", -1)), al = /* @__PURE__ */ Q(() => /* @__PURE__ */ i("br", null, null, -1)), sl = { class: "viur-shop-cart-sidebar-btn-wrap" }, ll = ["variant", "disabled"], rl = {
|
|
2633
2632
|
__name: "ConfirmView",
|
|
2634
2633
|
setup(e) {
|
|
2635
2634
|
const n = oe(), t = w({
|
|
@@ -2646,40 +2645,40 @@ const ms = /* @__PURE__ */ I(ke, [["render", cs], ["__scopeId", "data-v-46c45785
|
|
|
2646
2645
|
}
|
|
2647
2646
|
return ee(async () => {
|
|
2648
2647
|
await n.init();
|
|
2649
|
-
}), (s, o) => t.cartIsInit ? (m(), h("div",
|
|
2648
|
+
}), (s, o) => t.cartIsInit ? (m(), h("div", Js, [
|
|
2649
|
+
Qs,
|
|
2650
2650
|
Ys,
|
|
2651
2651
|
Xs,
|
|
2652
2652
|
xs,
|
|
2653
2653
|
el,
|
|
2654
2654
|
tl,
|
|
2655
|
-
|
|
2656
|
-
|
|
2655
|
+
(m(), T(Ze, { to: "#order_sidebar" }, [
|
|
2656
|
+
nl,
|
|
2657
2657
|
al,
|
|
2658
|
-
sl,
|
|
2659
2658
|
i("sl-checkbox", { onSlChange: l }, " Ich akzeptiere die geltenden AGBs und Datenschutzbestimmungen ", 32),
|
|
2660
|
-
i("div",
|
|
2659
|
+
i("div", sl, [
|
|
2661
2660
|
i("sl-button", {
|
|
2662
2661
|
variant: t.showOrderButton ? "info" : "disabled",
|
|
2663
2662
|
size: "small",
|
|
2664
2663
|
disabled: !t.showOrderButton
|
|
2665
|
-
}, " Zahlungspflichtig bestellen ", 8,
|
|
2664
|
+
}, " Zahlungspflichtig bestellen ", 8, ll)
|
|
2666
2665
|
])
|
|
2667
2666
|
]))
|
|
2668
|
-
])) : (m(), T(
|
|
2667
|
+
])) : (m(), T(cs, { key: 0 }));
|
|
2669
2668
|
}
|
|
2670
|
-
}, Ee = /* @__PURE__ */ I(
|
|
2669
|
+
}, Ee = /* @__PURE__ */ I(rl, [["__scopeId", "data-v-b7b745be"]]), ol = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2671
2670
|
__proto__: null,
|
|
2672
2671
|
default: Ee
|
|
2673
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2672
|
+
}, Symbol.toStringTag, { value: "Module" })), il = (e) => (M("data-v-0e63188d"), e = e(), z(), e), ul = { class: "bind viur-shop-wrap" }, dl = ["panel", "disabled"], cl = { class: "viur-shop-order-step" }, ml = ["name", "library"], fl = { class: "viur-shop-order-status-text" }, gl = {
|
|
2674
2673
|
key: 0,
|
|
2675
2674
|
name: "chevron-right",
|
|
2676
2675
|
class: "viur-shop-order-tab-check"
|
|
2677
|
-
},
|
|
2676
|
+
}, hl = ["name"], bl = ["onClick"], vl = ["onClick"], pl = /* @__PURE__ */ il(() => /* @__PURE__ */ i("div", { class: "viur-shop-sidebar-wrap" }, [
|
|
2678
2677
|
/* @__PURE__ */ i("div", {
|
|
2679
2678
|
class: "viur-shop-sidebar",
|
|
2680
2679
|
id: "order_sidebar"
|
|
2681
2680
|
})
|
|
2682
|
-
], -1)),
|
|
2681
|
+
], -1)), yl = {
|
|
2683
2682
|
__name: "OrderView",
|
|
2684
2683
|
props: {
|
|
2685
2684
|
tabs: {
|
|
@@ -2710,7 +2709,7 @@ const ms = /* @__PURE__ */ I(ke, [["render", cs], ["__scopeId", "data-v-46c45785
|
|
|
2710
2709
|
function c(d) {
|
|
2711
2710
|
o.value.show(d);
|
|
2712
2711
|
}
|
|
2713
|
-
return (d, f) => (m(), h("div",
|
|
2712
|
+
return (d, f) => (m(), h("div", ul, [
|
|
2714
2713
|
i("sl-tab-group", {
|
|
2715
2714
|
class: "viur-shop-order-tabgroup",
|
|
2716
2715
|
noScrollControls: "",
|
|
@@ -2725,22 +2724,22 @@ const ms = /* @__PURE__ */ I(ke, [["render", cs], ["__scopeId", "data-v-46c45785
|
|
|
2725
2724
|
key: p,
|
|
2726
2725
|
disabled: e.tabs[p].disabled
|
|
2727
2726
|
}, [
|
|
2728
|
-
i("div",
|
|
2727
|
+
i("div", cl, [
|
|
2729
2728
|
i("sl-icon", {
|
|
2730
2729
|
class: "viur-shop-order-step-icon",
|
|
2731
2730
|
name: e.tabs[p].icon.name,
|
|
2732
2731
|
library: e.tabs[p].icon.library
|
|
2733
|
-
}, null, 8,
|
|
2734
|
-
i("div",
|
|
2732
|
+
}, null, 8, ml),
|
|
2733
|
+
i("div", fl, B(v + 1) + ". " + B(e.tabs[p].displayName), 1)
|
|
2735
2734
|
]),
|
|
2736
|
-
v < s.tabNames.length - 1 ? (m(), h("sl-icon",
|
|
2737
|
-
], 8,
|
|
2735
|
+
v < s.tabNames.length - 1 ? (m(), h("sl-icon", gl)) : k("", !0)
|
|
2736
|
+
], 8, dl))), 128)),
|
|
2738
2737
|
(m(!0), h(E, null, U(s.tabNames, (p, v) => (m(), h("sl-tab-panel", {
|
|
2739
2738
|
class: "viur-shop-order-tab-panel",
|
|
2740
2739
|
name: p,
|
|
2741
2740
|
key: p
|
|
2742
2741
|
}, [
|
|
2743
|
-
(m(), T(
|
|
2742
|
+
(m(), T(ct(e.tabs[p].component), mt({ ref_for: !0 }, e.tabs[p].props ? e.tabs[p].props : ""), null, 16)),
|
|
2744
2743
|
v !== s.tabNames.length - 1 ? (m(), h("div", {
|
|
2745
2744
|
key: 0,
|
|
2746
2745
|
class: ye(["viur-shop-form-footer", { "flex-end": s.isFirstTab(v) }])
|
|
@@ -2748,27 +2747,27 @@ const ms = /* @__PURE__ */ I(ke, [["render", cs], ["__scopeId", "data-v-46c45785
|
|
|
2748
2747
|
J(i("sl-button", {
|
|
2749
2748
|
type: "submit",
|
|
2750
2749
|
onClick: (_) => r(s.tabNames[v - 1])
|
|
2751
|
-
}, " Zurück ", 8,
|
|
2750
|
+
}, " Zurück ", 8, bl), [
|
|
2752
2751
|
[ve, v !== 0]
|
|
2753
2752
|
]),
|
|
2754
2753
|
i("sl-button", {
|
|
2755
2754
|
type: "submit",
|
|
2756
2755
|
variant: "primary",
|
|
2757
2756
|
onClick: (_) => c(s.tabNames[v + 1])
|
|
2758
|
-
}, " Weiter ", 8,
|
|
2757
|
+
}, " Weiter ", 8, vl)
|
|
2759
2758
|
], 2)) : k("", !0)
|
|
2760
|
-
], 8,
|
|
2759
|
+
], 8, hl))), 128))
|
|
2761
2760
|
], 544),
|
|
2762
|
-
|
|
2761
|
+
pl
|
|
2763
2762
|
]));
|
|
2764
2763
|
}
|
|
2765
|
-
},
|
|
2764
|
+
}, $l = /* @__PURE__ */ I(yl, [["__scopeId", "data-v-0e63188d"]]), Sl = {}, he = (e) => (M("data-v-36ccc280"), e = e(), z(), e), _l = { class: "bind" }, kl = /* @__PURE__ */ he(() => /* @__PURE__ */ i("h1", { class: "headline" }, "Vielen Dank für Ihre Bestellung", -1)), wl = /* @__PURE__ */ he(() => /* @__PURE__ */ i("br", null, null, -1)), El = /* @__PURE__ */ he(() => /* @__PURE__ */ i("p", { class: "paragraph" }, [
|
|
2766
2765
|
/* @__PURE__ */ i("strong", null, "Ihre Bestellnummer:"),
|
|
2767
|
-
/* @__PURE__ */
|
|
2768
|
-
], -1)),
|
|
2769
|
-
/* @__PURE__ */
|
|
2766
|
+
/* @__PURE__ */ C(" 123345670 ")
|
|
2767
|
+
], -1)), Al = /* @__PURE__ */ he(() => /* @__PURE__ */ i("p", { class: "paragraph" }, [
|
|
2768
|
+
/* @__PURE__ */ C(" Wir haben Ihre Bestellung erhalten und werden diese schenllstmöglich bearbeiten."),
|
|
2770
2769
|
/* @__PURE__ */ i("br"),
|
|
2771
|
-
/* @__PURE__ */
|
|
2770
|
+
/* @__PURE__ */ C(" Sie erhalten in wenigen Minuten eine Bestätigung per E-Mail. "),
|
|
2772
2771
|
/* @__PURE__ */ i("div", { class: "btn-wrap" }, [
|
|
2773
2772
|
/* @__PURE__ */ i("sl-button", { size: "medium" }, " Zur Startseite "),
|
|
2774
2773
|
/* @__PURE__ */ i("sl-button", {
|
|
@@ -2776,16 +2775,16 @@ const ms = /* @__PURE__ */ I(ke, [["render", cs], ["__scopeId", "data-v-46c45785
|
|
|
2776
2775
|
size: "medium"
|
|
2777
2776
|
}, " Weiter Einkaufen ")
|
|
2778
2777
|
])
|
|
2779
|
-
], -1)),
|
|
2778
|
+
], -1)), Il = [
|
|
2779
|
+
kl,
|
|
2780
2780
|
wl,
|
|
2781
2781
|
El,
|
|
2782
|
-
Al
|
|
2783
|
-
Il
|
|
2782
|
+
Al
|
|
2784
2783
|
];
|
|
2785
2784
|
function Cl(e, n) {
|
|
2786
|
-
return m(), h("div",
|
|
2785
|
+
return m(), h("div", _l, Il);
|
|
2787
2786
|
}
|
|
2788
|
-
const
|
|
2787
|
+
const Ol = /* @__PURE__ */ I(Sl, [["render", Cl], ["__scopeId", "data-v-36ccc280"]]), Ae = (e) => (M("data-v-b68a2bfa"), e = e(), z(), e), jl = /* @__PURE__ */ Ae(() => /* @__PURE__ */ i("h2", { class: "viur-shop-form-headline headline" }, "Nutzterdaten", -1)), Bl = /* @__PURE__ */ Ae(() => /* @__PURE__ */ i("h2", { class: "viur-shop-form-headline headline" }, "Lieferadresse", -1)), Dl = { key: 0 }, Vl = /* @__PURE__ */ Ae(() => /* @__PURE__ */ i("h2", { class: "viur-shop-form-headline headline" }, "Rechnungsadresse", -1)), Nl = {
|
|
2789
2788
|
__name: "UserInformation",
|
|
2790
2789
|
props: {
|
|
2791
2790
|
mode: { type: String, default: "form" },
|
|
@@ -2828,10 +2827,10 @@ const jl = /* @__PURE__ */ I(_l, [["render", Cl], ["__scopeId", "data-v-36ccc280
|
|
|
2828
2827
|
const r = se("bone");
|
|
2829
2828
|
return m(), h(E, null, [
|
|
2830
2829
|
i("div", null, [
|
|
2831
|
-
|
|
2832
|
-
|
|
2830
|
+
C(" test "),
|
|
2831
|
+
jl,
|
|
2833
2832
|
(m(!0), h(E, null, U(t.addSkel, (c, d) => (m(), h(E, { key: d }, [
|
|
2834
|
-
|
|
2833
|
+
C(B(d) + " ", 1),
|
|
2835
2834
|
c.visible && c.params.group === "Customer Info" ? (m(), T(r, {
|
|
2836
2835
|
key: 0,
|
|
2837
2836
|
is: q(x)(c.type),
|
|
@@ -2845,7 +2844,7 @@ const jl = /* @__PURE__ */ I(_l, [["render", Cl], ["__scopeId", "data-v-36ccc280
|
|
|
2845
2844
|
], 64))), 128))
|
|
2846
2845
|
]),
|
|
2847
2846
|
i("div", null, [
|
|
2848
|
-
|
|
2847
|
+
Bl,
|
|
2849
2848
|
(m(!0), h(E, null, U(t.addSkel, (c, d) => (m(), h(E, { key: d }, [
|
|
2850
2849
|
c.visible && c.params.group === "Customer Address" ? (m(), T(r, {
|
|
2851
2850
|
key: 0,
|
|
@@ -2858,8 +2857,8 @@ const jl = /* @__PURE__ */ I(_l, [["render", Cl], ["__scopeId", "data-v-36ccc280
|
|
|
2858
2857
|
}, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) : k("", !0)
|
|
2859
2858
|
], 64))), 128))
|
|
2860
2859
|
]),
|
|
2861
|
-
t.isCustomAdress ? (m(), h("div",
|
|
2862
|
-
|
|
2860
|
+
t.isCustomAdress ? (m(), h("div", Dl, [
|
|
2861
|
+
Vl,
|
|
2863
2862
|
(m(!0), h(E, null, U(t.addSkel, (c, d) => (m(), h(E, { key: d }, [
|
|
2864
2863
|
c.visible && c.params.group === "Customer Address" ? (m(), T(r, {
|
|
2865
2864
|
key: 0,
|
|
@@ -2879,18 +2878,18 @@ const jl = /* @__PURE__ */ I(_l, [["render", Cl], ["__scopeId", "data-v-36ccc280
|
|
|
2879
2878
|
], 64);
|
|
2880
2879
|
};
|
|
2881
2880
|
}
|
|
2882
|
-
},
|
|
2881
|
+
}, Rl = /* @__PURE__ */ I(Nl, [["__scopeId", "data-v-b68a2bfa"]]), te = (e) => (M("data-v-a4accf28"), e = e(), z(), e), Ll = /* @__PURE__ */ te(() => /* @__PURE__ */ i("h2", { class: "viur-shop-form-headline headline" }, "Nutzterdaten", -1)), Ul = /* @__PURE__ */ te(() => /* @__PURE__ */ i("h2", { class: "viur-shop-form-headline headline" }, "Lieferadresse", -1)), Tl = ["onSlChange", "onSlClear", "label"], Pl = ["value"], Ml = { key: 0 }, zl = /* @__PURE__ */ te(() => /* @__PURE__ */ i("h2", { class: "viur-shop-form-headline headline" }, "Rechnungsadresse", -1)), Wl = /* @__PURE__ */ te(() => /* @__PURE__ */ i("sl-icon", {
|
|
2883
2882
|
name: "x-lg",
|
|
2884
2883
|
slot: "prefix"
|
|
2885
|
-
}, null, -1)),
|
|
2886
|
-
|
|
2887
|
-
],
|
|
2884
|
+
}, null, -1)), ql = [
|
|
2885
|
+
Wl
|
|
2886
|
+
], Fl = /* @__PURE__ */ te(() => /* @__PURE__ */ i("sl-icon", {
|
|
2888
2887
|
name: "plus-lg",
|
|
2889
2888
|
slot: "prefix"
|
|
2890
|
-
}, null, -1)),
|
|
2889
|
+
}, null, -1)), Kl = /* @__PURE__ */ te(() => /* @__PURE__ */ i("sl-icon", {
|
|
2891
2890
|
slot: "icon",
|
|
2892
2891
|
name: "exclamation-triangle"
|
|
2893
|
-
}, null, -1)),
|
|
2892
|
+
}, null, -1)), Hl = /* @__PURE__ */ te(() => /* @__PURE__ */ i("br", null, null, -1)), Gl = {
|
|
2894
2893
|
__name: "UserInfoMulti",
|
|
2895
2894
|
props: {
|
|
2896
2895
|
mode: { type: String, default: "form" }
|
|
@@ -2964,7 +2963,7 @@ const jl = /* @__PURE__ */ I(_l, [["render", Cl], ["__scopeId", "data-v-36ccc280
|
|
|
2964
2963
|
const _ = se("bone");
|
|
2965
2964
|
return m(), h(E, null, [
|
|
2966
2965
|
i("div", null, [
|
|
2967
|
-
|
|
2966
|
+
Ll,
|
|
2968
2967
|
(m(!0), h(E, null, U(t.addSkel, (g, b) => (m(), h(E, { key: b }, [
|
|
2969
2968
|
g.visible && g.params.group === "Customer Info" ? (m(), T(_, {
|
|
2970
2969
|
key: 0,
|
|
@@ -2978,7 +2977,7 @@ const jl = /* @__PURE__ */ I(_l, [["render", Cl], ["__scopeId", "data-v-36ccc280
|
|
|
2978
2977
|
}, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) : k("", !0)
|
|
2979
2978
|
], 64))), 128))
|
|
2980
2979
|
]),
|
|
2981
|
-
|
|
2980
|
+
Ul,
|
|
2982
2981
|
(m(!0), h(E, null, U(t.shippingAdressAmount, (g) => (m(), h("div", { key: g }, [
|
|
2983
2982
|
i("sl-select", {
|
|
2984
2983
|
clearable: "",
|
|
@@ -2990,8 +2989,8 @@ const jl = /* @__PURE__ */ I(_l, [["render", Cl], ["__scopeId", "data-v-36ccc280
|
|
|
2990
2989
|
label: t.selectedItem[g] ? q(n).state.carts[t.selectedItem[g]].info.name : "Warenkorb für Adresse wählen.",
|
|
2991
2990
|
class: "grid-w-4"
|
|
2992
2991
|
}, [
|
|
2993
|
-
(m(!0), h(E, null, U(q(n).state.carts, (b, y) => (m(), h("sl-option", { value: y }, B(b.info.name), 9,
|
|
2994
|
-
], 40,
|
|
2992
|
+
(m(!0), h(E, null, U(q(n).state.carts, (b, y) => (m(), h("sl-option", { value: y }, B(b.info.name), 9, Pl))), 256))
|
|
2993
|
+
], 40, Tl),
|
|
2995
2994
|
(m(!0), h(E, null, U(t.addSkel, (b, y) => (m(), h(E, { key: y }, [
|
|
2996
2995
|
b.visible && b.params.group === "Customer Address" ? (m(), T(_, {
|
|
2997
2996
|
key: 0,
|
|
@@ -3004,8 +3003,8 @@ const jl = /* @__PURE__ */ I(_l, [["render", Cl], ["__scopeId", "data-v-36ccc280
|
|
|
3004
3003
|
}, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) : k("", !0)
|
|
3005
3004
|
], 64))), 128))
|
|
3006
3005
|
]))), 128)),
|
|
3007
|
-
t.isCustomAdress ? (m(), h("div",
|
|
3008
|
-
|
|
3006
|
+
t.isCustomAdress ? (m(), h("div", Ml, [
|
|
3007
|
+
zl,
|
|
3009
3008
|
(m(!0), h(E, null, U(t.addSkel, (g, b) => (m(), h(E, { key: b }, [
|
|
3010
3009
|
g.visible && g.params.group === "Customer Address" ? (m(), T(_, {
|
|
3011
3010
|
key: 0,
|
|
@@ -3023,14 +3022,14 @@ const jl = /* @__PURE__ */ I(_l, [["render", Cl], ["__scopeId", "data-v-36ccc280
|
|
|
3023
3022
|
size: "medium",
|
|
3024
3023
|
onClick: r,
|
|
3025
3024
|
title: "Lieferadresse entfernen"
|
|
3026
|
-
},
|
|
3025
|
+
}, ql),
|
|
3027
3026
|
i("sl-button", {
|
|
3028
3027
|
size: "medium",
|
|
3029
3028
|
variant: "primary",
|
|
3030
3029
|
onClick: a
|
|
3031
3030
|
}, [
|
|
3032
|
-
|
|
3033
|
-
|
|
3031
|
+
Fl,
|
|
3032
|
+
C(" Lieferadresse hinzufügen ")
|
|
3034
3033
|
])
|
|
3035
3034
|
]),
|
|
3036
3035
|
i("sl-alert", {
|
|
@@ -3040,10 +3039,10 @@ const jl = /* @__PURE__ */ I(_l, [["render", Cl], ["__scopeId", "data-v-36ccc280
|
|
|
3040
3039
|
ref: s,
|
|
3041
3040
|
closable: ""
|
|
3042
3041
|
}, [
|
|
3043
|
-
|
|
3042
|
+
Kl,
|
|
3044
3043
|
i("strong", null, B(t.amountAlert.title), 1),
|
|
3045
|
-
|
|
3046
|
-
|
|
3044
|
+
Hl,
|
|
3045
|
+
C(" " + B(t.amountAlert.msg), 1)
|
|
3047
3046
|
], 512),
|
|
3048
3047
|
i("sl-checkbox", {
|
|
3049
3048
|
onSlChange: o,
|
|
@@ -3052,7 +3051,7 @@ const jl = /* @__PURE__ */ I(_l, [["render", Cl], ["__scopeId", "data-v-36ccc280
|
|
|
3052
3051
|
], 64);
|
|
3053
3052
|
};
|
|
3054
3053
|
}
|
|
3055
|
-
},
|
|
3054
|
+
}, Zl = /* @__PURE__ */ I(Gl, [["__scopeId", "data-v-a4accf28"]]), xe = {
|
|
3056
3055
|
__name: "ExampleUsage",
|
|
3057
3056
|
setup(e) {
|
|
3058
3057
|
const n = oe(), t = S(
|
|
@@ -3101,7 +3100,7 @@ const jl = /* @__PURE__ */ I(_l, [["render", Cl], ["__scopeId", "data-v-36ccc280
|
|
|
3101
3100
|
// atHide: null,
|
|
3102
3101
|
// },
|
|
3103
3102
|
orderComplete: {
|
|
3104
|
-
component: G(
|
|
3103
|
+
component: G(Ol),
|
|
3105
3104
|
props: {},
|
|
3106
3105
|
displayName: "Bestellung Abgeschlossen",
|
|
3107
3106
|
icon: { name: "order-confirmed", library: "hsk" },
|
|
@@ -3111,7 +3110,7 @@ const jl = /* @__PURE__ */ I(_l, [["render", Cl], ["__scopeId", "data-v-36ccc280
|
|
|
3111
3110
|
atHide: null
|
|
3112
3111
|
},
|
|
3113
3112
|
userInfo: {
|
|
3114
|
-
component: G(
|
|
3113
|
+
component: G(Rl),
|
|
3115
3114
|
props: {},
|
|
3116
3115
|
displayName: "Daten Eingeben",
|
|
3117
3116
|
icon: { name: "user", library: "hsk" },
|
|
@@ -3121,7 +3120,7 @@ const jl = /* @__PURE__ */ I(_l, [["render", Cl], ["__scopeId", "data-v-36ccc280
|
|
|
3121
3120
|
atHide: null
|
|
3122
3121
|
},
|
|
3123
3122
|
userInfoMulti: {
|
|
3124
|
-
component: G(
|
|
3123
|
+
component: G(Zl),
|
|
3125
3124
|
props: {},
|
|
3126
3125
|
displayName: "Daten Eingeben (Multi)",
|
|
3127
3126
|
icon: { name: "user", library: "hsk" },
|
|
@@ -3137,76 +3136,76 @@ const jl = /* @__PURE__ */ I(_l, [["render", Cl], ["__scopeId", "data-v-36ccc280
|
|
|
3137
3136
|
}
|
|
3138
3137
|
return ee(async () => {
|
|
3139
3138
|
await n.init(), await n.getAdressStructure(), console.log("debug init exampleusage :", n.state.basketRootNode);
|
|
3140
|
-
}), (o, a) => (m(), T(
|
|
3139
|
+
}), (o, a) => (m(), T($l, {
|
|
3141
3140
|
tabs: l.tabs,
|
|
3142
3141
|
onTabChange: s
|
|
3143
3142
|
}, null, 8, ["tabs"]));
|
|
3144
3143
|
}
|
|
3145
|
-
},
|
|
3144
|
+
}, Jl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3146
3145
|
__proto__: null,
|
|
3147
|
-
default:
|
|
3148
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3146
|
+
default: xe
|
|
3147
|
+
}, Symbol.toStringTag, { value: "Module" })), Ql = D({
|
|
3149
3148
|
props: {},
|
|
3150
3149
|
components: {},
|
|
3151
3150
|
setup(e, n) {
|
|
3152
|
-
const t =
|
|
3151
|
+
const t = ht();
|
|
3153
3152
|
return { state: w({}), route: t };
|
|
3154
3153
|
}
|
|
3155
|
-
}),
|
|
3156
|
-
function
|
|
3157
|
-
return m(), h("div",
|
|
3154
|
+
}), Yl = { class: "home" };
|
|
3155
|
+
function Xl(e, n, t, l, s, o) {
|
|
3156
|
+
return m(), h("div", Yl, "View " + B(e.route.path) + " is missing.", 1);
|
|
3158
3157
|
}
|
|
3159
|
-
const
|
|
3158
|
+
const xl = /* @__PURE__ */ I(Ql, [["render", Xl]]), er = [
|
|
3160
3159
|
{
|
|
3161
3160
|
path: "/:pathMatch(.*)*",
|
|
3162
3161
|
name: "view_missing",
|
|
3163
|
-
component:
|
|
3162
|
+
component: xl
|
|
3164
3163
|
},
|
|
3165
3164
|
{
|
|
3166
3165
|
path: "/shop/category/:identifier",
|
|
3167
3166
|
name: "CategoryView",
|
|
3168
|
-
component: () => import("./CategoryView-
|
|
3167
|
+
component: () => import("./CategoryView-DpxefLik.mjs")
|
|
3169
3168
|
},
|
|
3170
3169
|
{
|
|
3171
3170
|
path: "/shop/item/:item",
|
|
3172
3171
|
name: "itemView",
|
|
3173
|
-
component: () => import("./ItemView-
|
|
3172
|
+
component: () => import("./ItemView-BsVTaCcL.mjs")
|
|
3174
3173
|
},
|
|
3175
3174
|
{
|
|
3176
3175
|
path: "/shop/cart/view",
|
|
3177
3176
|
name: "CartView",
|
|
3178
|
-
component: () => Promise.resolve().then(() =>
|
|
3177
|
+
component: () => Promise.resolve().then(() => Zs)
|
|
3179
3178
|
},
|
|
3180
3179
|
{
|
|
3181
3180
|
path: "/shop/order/",
|
|
3182
3181
|
name: "OrderView",
|
|
3183
|
-
component: () => Promise.resolve().then(() =>
|
|
3182
|
+
component: () => Promise.resolve().then(() => Jl)
|
|
3184
3183
|
},
|
|
3185
3184
|
{
|
|
3186
3185
|
path: "/shop/order/confirm",
|
|
3187
3186
|
name: "ConfirmView",
|
|
3188
|
-
component: () => Promise.resolve().then(() =>
|
|
3187
|
+
component: () => Promise.resolve().then(() => ol)
|
|
3189
3188
|
}
|
|
3190
3189
|
];
|
|
3191
|
-
function
|
|
3190
|
+
function or(e, n = !1) {
|
|
3192
3191
|
let t = [];
|
|
3193
|
-
return n ? t = e : t = e.concat(
|
|
3192
|
+
return n ? t = e : t = e.concat(er), bt({
|
|
3194
3193
|
// @ts-ignore
|
|
3195
|
-
history:
|
|
3194
|
+
history: vt("/"),
|
|
3196
3195
|
routes: t
|
|
3197
3196
|
});
|
|
3198
3197
|
}
|
|
3199
|
-
const
|
|
3198
|
+
const ir = {
|
|
3200
3199
|
install(e) {
|
|
3201
|
-
e.component("CartView", we), e.component("ExampleUsage",
|
|
3200
|
+
e.component("CartView", we), e.component("ExampleUsage", xe), e.component("ConfirmView", Ee);
|
|
3202
3201
|
}
|
|
3203
3202
|
};
|
|
3204
3203
|
export {
|
|
3205
3204
|
we as C,
|
|
3206
|
-
|
|
3205
|
+
ir as V,
|
|
3207
3206
|
I as _,
|
|
3208
|
-
|
|
3207
|
+
xe as a,
|
|
3209
3208
|
Ee as b,
|
|
3210
|
-
|
|
3209
|
+
or as c,
|
|
3211
3210
|
oe as u
|
|
3212
3211
|
};
|