@viur/shop-components 0.0.1-dev.51 → 0.0.1-dev.52

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.
@@ -1,9 +1,9 @@
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 C, reactive as w, openBlock as m, createElementBlock as h, normalizeClass as ye, createElementVNode as u, renderSlot as Ge, pushScopeId as M, popScopeId as z, Fragment as E, createCommentVNode as k, toDisplayString as B, onMounted as R, ref as q, readonly as at, getCurrentScope as st, onScopeDispose as lt, unref as K, computed as S, watchEffect as ce, renderList as U, watch as ae, withDirectives as Z, vModelText as le, getCurrentInstance as rt, resolveComponent as se, createBlock as T, vShow as ve, withModifiers as de, createTextVNode as j, shallowRef as H, provide as ie, onBeforeMount as x, useCssVars as ot, Transition as it, withCtx as ut, createVNode as dt, Teleport as Ze, resolveDynamicComponent as ct, mergeProps as mt } from "vue";
5
- import { defineStore as $e } from "pinia";
6
- import { Request as ft } from "@viur/vue-utils";
1
+ var et = Object.defineProperty;
2
+ var tt = (e, n, t) => n in e ? et(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
3
+ var Ie = (e, n, t) => tt(e, typeof n != "symbol" ? n + "" : n, t);
4
+ import { defineComponent as D, inject as C, reactive as w, openBlock as m, createElementBlock as h, normalizeClass as pe, createElementVNode as d, renderSlot as He, pushScopeId as M, popScopeId as z, Fragment as E, createCommentVNode as k, 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
+ import { defineStore as ye } from "pinia";
6
+ import { Request as mt } from "@viur/vue-utils";
7
7
  import { ViURShopClient as gt } from "@viur/viur-shop-client";
8
8
  import { useRoute as ht, createRouter as bt, createWebHashHistory as vt } from "vue-router";
9
9
  const pt = D({
@@ -28,12 +28,12 @@ const pt = D({
28
28
  for (const [l, s] of n)
29
29
  t[l] = s;
30
30
  return t;
31
- }, Je = (e) => (M("data-v-141aaf9b"), e = e(), z(), e), yt = ["draggable"], $t = ["disabled"], St = /* @__PURE__ */ Je(() => /* @__PURE__ */ u("sl-icon", {
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)), _t = [
35
35
  St
36
- ], kt = { class: "value" }, wt = ["disabled", "title"], Et = /* @__PURE__ */ Je(() => /* @__PURE__ */ u("sl-icon", {
36
+ ], kt = { class: "value" }, wt = ["disabled", "title"], Et = /* @__PURE__ */ Ge(() => /* @__PURE__ */ d("sl-icon", {
37
37
  slot: "prefix",
38
38
  name: "x-lg"
39
39
  }, null, -1)), At = [
@@ -41,7 +41,7 @@ const pt = D({
41
41
  ];
42
42
  function It(e, n, t, l, s, o) {
43
43
  return m(), h("div", {
44
- class: ye(["value-line", {
44
+ class: pe(["value-line", {
45
45
  "is-dragging": e.isDragging,
46
46
  "dragging-line-bottom": e.draggingLineBottom,
47
47
  "dragging-line-top": e.draggingLineTop
@@ -52,15 +52,15 @@ function It(e, n, t, l, s, o) {
52
52
  onDragstart: n[4] || (n[4] = (a) => e.$emit("handleDragStart", a)),
53
53
  onDragend: n[5] || (n[5] = (a) => e.$emit("handleDragEnd"))
54
54
  }, [
55
- u("sl-button", {
55
+ d("sl-button", {
56
56
  disabled: e.boneState.readonly,
57
57
  class: "drag-button",
58
58
  onMousedown: n[0] || (n[0] = (a) => e.state.isDraggable = !0)
59
59
  }, _t, 40, $t),
60
- u("div", kt, [
61
- Ge(e.$slots, "default", {}, void 0, !0)
60
+ d("div", kt, [
61
+ He(e.$slots, "default", {}, void 0, !0)
62
62
  ]),
63
- u("sl-button", {
63
+ d("sl-button", {
64
64
  variant: "danger",
65
65
  disabled: e.boneState.readonly,
66
66
  outline: "",
@@ -93,13 +93,13 @@ const Ct = /* @__PURE__ */ I(pt, [["render", It], ["__scopeId", "data-v-141aaf9b
93
93
  }), jt = { class: "bone-name" }, Bt = { key: 0 }, Dt = { class: "bone" };
94
94
  function Vt(e, n, t, l, s, o) {
95
95
  return m(), h(E, null, [
96
- u("label", jt, [
97
- Ge(e.$slots, "default", {}, void 0, !0),
96
+ d("label", jt, [
97
+ He(e.$slots, "default", {}, void 0, !0),
98
98
  k("", !0)
99
99
  ]),
100
100
  e.state.debug ? (m(), h("div", Bt, [
101
- u("div", Dt, B(e.name), 1),
102
- u("pre", null, " " + B(e.boneState) + `
101
+ d("div", Dt, B(e.name), 1),
102
+ d("pre", null, " " + B(e.boneState) + `
103
103
  `, 1)
104
104
  ])) : k("", !0)
105
105
  ], 64);
@@ -142,7 +142,7 @@ function Tt(e, n, t, l, s, o) {
142
142
  onInput: n[1] || (n[1] = (...r) => e.changeEvent && e.changeEvent(...r))
143
143
  }, null, 40, Ut));
144
144
  }
145
- const pe = /* @__PURE__ */ I(Rt, [["render", Tt], ["__scopeId", "data-v-0ebe5f0b"]]), Pt = D({
145
+ const ve = /* @__PURE__ */ I(Rt, [["render", Tt], ["__scopeId", "data-v-0ebe5f0b"]]), Pt = D({
146
146
  inheritAttrs: !1,
147
147
  props: {
148
148
  name: String,
@@ -167,23 +167,23 @@ const pe = /* @__PURE__ */ I(Rt, [["render", Tt], ["__scopeId", "data-v-0ebe5f0b
167
167
  };
168
168
  }
169
169
  }), Mt = ["value"];
170
- function zt(e, n, t, l, s, o) {
170
+ function Wt(e, n, t, l, s, o) {
171
171
  return m(), h("sl-input", {
172
172
  disabled: "",
173
173
  value: e.value,
174
174
  onSlChange: n[0] || (n[0] = (...a) => e.changeEvent && e.changeEvent(...a))
175
175
  }, null, 40, Mt);
176
176
  }
177
- const Oe = /* @__PURE__ */ I(Pt, [["render", zt], ["__scopeId", "data-v-b45a1311"]]);
178
- function Wt(e) {
179
- return st() ? (lt(e), !0) : !1;
177
+ const Ce = /* @__PURE__ */ I(Pt, [["render", Wt], ["__scopeId", "data-v-b45a1311"]]);
178
+ function zt(e) {
179
+ return at() ? (st(e), !0) : !1;
180
180
  }
181
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";
185
185
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
186
- function me(e, n, t = {}) {
186
+ function ce(e, n, t = {}) {
187
187
  const {
188
188
  immediate: l = !0
189
189
  } = t, s = q(!1);
@@ -199,8 +199,8 @@ function me(e, n, t = {}) {
199
199
  s.value = !1, o = null, e(...c);
200
200
  }, qt(n));
201
201
  }
202
- return l && (s.value = !0, Ft && r()), Wt(i), {
203
- isPending: at(s),
202
+ return l && (s.value = !0, Ft && r()), zt(i), {
203
+ isPending: nt(s),
204
204
  start: r,
205
205
  stop: i
206
206
  };
@@ -236,10 +236,10 @@ class Kt {
236
236
  for (let a of t) {
237
237
  let i = n;
238
238
  for (let r of s) {
239
- let c = r.split("."), d = a;
239
+ let c = r.split("."), u = a;
240
240
  for (let f of c)
241
- d && d !== "-" && f in d && d[f] ? d = d[f] : d = "-";
242
- d = this.unescape(d), i = i.replace("$(" + r + ")", d);
241
+ u && u !== "-" && f in u && u[f] ? u = u[f] : u = "-";
242
+ u = this.unescape(u), i = i.replace("$(" + r + ")", u);
243
243
  }
244
244
  o.push(i);
245
245
  }
@@ -264,9 +264,9 @@ const Ht = D({
264
264
  function o(a) {
265
265
  n.emit("change", e.name, a.target.value, e.lang, e.index);
266
266
  }
267
- return ce(() => {
267
+ return de(() => {
268
268
  if (e.autofocus && s.value && s.value !== null && s !== null) {
269
- const { start: a } = me(() => {
269
+ const { start: a } = ce(() => {
270
270
  s.value.focus();
271
271
  }, 600);
272
272
  a();
@@ -292,7 +292,7 @@ function Zt(e, n, t, l, s, o) {
292
292
  onKeyup: n[1] || (n[1] = (...a) => e.changeEvent && e.changeEvent(...a))
293
293
  }, null, 40, Gt);
294
294
  }
295
- const je = /* @__PURE__ */ I(Ht, [["render", Zt], ["__scopeId", "data-v-1ccbacc0"]]), Jt = D({
295
+ const Oe = /* @__PURE__ */ I(Ht, [["render", Zt], ["__scopeId", "data-v-1ccbacc0"]]), Jt = D({
296
296
  inheritAttrs: !1,
297
297
  props: {
298
298
  name: String,
@@ -308,9 +308,9 @@ const je = /* @__PURE__ */ I(Ht, [["render", Zt], ["__scopeId", "data-v-1ccbacc0
308
308
  function o(a) {
309
309
  n.emit("change", e.name, a.target.value, e.lang, e.index);
310
310
  }
311
- return ce(() => {
311
+ return de(() => {
312
312
  if (e.autofocus && s.value && s.value !== null && s !== null) {
313
- const { start: a } = me(() => {
313
+ const { start: a } = ce(() => {
314
314
  s.value.focus();
315
315
  }, 600);
316
316
  a();
@@ -334,7 +334,7 @@ function Yt(e, n, t, l, s, o) {
334
334
  onSlChange: n[0] || (n[0] = (...a) => e.changeEvent && e.changeEvent(...a))
335
335
  }, null, 40, Qt);
336
336
  }
337
- const Be = /* @__PURE__ */ I(Jt, [["render", Yt], ["__scopeId", "data-v-4328e024"]]), Xt = D({
337
+ const je = /* @__PURE__ */ I(Jt, [["render", Yt], ["__scopeId", "data-v-4328e024"]]), Xt = D({
338
338
  inheritAttrs: !1,
339
339
  props: {
340
340
  name: String,
@@ -376,7 +376,7 @@ function en(e, n, t, l, s, o) {
376
376
  onSlChange: n[0] || (n[0] = (...a) => e.changeEvent && e.changeEvent(...a))
377
377
  }, null, 40, xt);
378
378
  }
379
- const De = /* @__PURE__ */ I(Xt, [["render", en], ["__scopeId", "data-v-f1b8af8c"]]), tn = D({
379
+ const Be = /* @__PURE__ */ I(Xt, [["render", en], ["__scopeId", "data-v-f1b8af8c"]]), tn = D({
380
380
  inheritAttrs: !1,
381
381
  props: {
382
382
  name: String,
@@ -434,7 +434,7 @@ function sn(e, n, t, l, s, o) {
434
434
  }, B(a[1]), 9, an))), 128))
435
435
  ], 40, nn);
436
436
  }
437
- const Ve = /* @__PURE__ */ I(tn, [["render", sn], ["__scopeId", "data-v-5a38b97f"]]), ln = D({
437
+ const De = /* @__PURE__ */ I(tn, [["render", sn], ["__scopeId", "data-v-5a38b97f"]]), ln = D({
438
438
  inheritAttrs: !1,
439
439
  props: {
440
440
  name: String,
@@ -468,7 +468,7 @@ function on(e, n, t, l, s, o) {
468
468
  onSlChange: n[0] || (n[0] = (...a) => e.changeEvent && e.changeEvent(...a))
469
469
  }, null, 40, rn);
470
470
  }
471
- const Ne = /* @__PURE__ */ I(ln, [["render", on], ["__scopeId", "data-v-363598c8"]]), un = D({
471
+ const Ve = /* @__PURE__ */ I(ln, [["render", on], ["__scopeId", "data-v-363598c8"]]), un = D({
472
472
  inheritAttrs: !1,
473
473
  props: {
474
474
  name: String,
@@ -499,14 +499,14 @@ const Ne = /* @__PURE__ */ I(ln, [["render", on], ["__scopeId", "data-v-363598c8
499
499
  new RegExp(r[0]).test(i) || (r[2] ? l.requiredPasswordInfo.push(r[1]) : l.passwordInfo.push(r[1]));
500
500
  l.equal || l.requiredPasswordInfo.push("Die eingegebenen Passwörter stimmen nicht überein."), l.value1 || l.requiredPasswordInfo.push("Das eingegebene Passwort ist leer.");
501
501
  }
502
- return ce(() => {
502
+ return de(() => {
503
503
  if (e.autofocus && s.value && s.value !== null && s !== null) {
504
- const { start: i } = me(() => {
504
+ const { start: i } = ce(() => {
505
505
  s.value.focus();
506
506
  }, 600);
507
507
  i();
508
508
  }
509
- }), ae(
509
+ }), ne(
510
510
  () => e.value,
511
511
  (i, r) => {
512
512
  l.value1 = i;
@@ -518,14 +518,14 @@ const Ne = /* @__PURE__ */ I(ln, [["render", on], ["__scopeId", "data-v-363598c8
518
518
  passwordBone: s
519
519
  };
520
520
  }
521
- }), dn = ["disabled"], cn = ["name"], mn = ["name"], fn = { class: "errors" };
521
+ }), dn = ["disabled"], cn = ["name"], fn = ["name"], mn = { class: "errors" };
522
522
  function gn(e, n, t, l, s, o) {
523
523
  return m(), h(E, null, [
524
- Z(u("sl-input", {
524
+ Z(d("sl-input", {
525
525
  ref: "passwordBone",
526
526
  "onUpdate:modelValue": n[0] || (n[0] = (a) => e.state.value1 = a),
527
527
  disabled: e.boneState.readonly,
528
- class: ye({ "has-check": !e.boneState.readonly }),
528
+ class: pe({ "has-check": !e.boneState.readonly }),
529
529
  type: "password",
530
530
  clearable: "",
531
531
  "password-toggle": "true",
@@ -533,12 +533,12 @@ function gn(e, n, t, l, s, o) {
533
533
  onSlClear: n[2] || (n[2] = (a) => e.state.value1 = ""),
534
534
  onKeyup: n[3] || (n[3] = (...a) => e.changeEvent && e.changeEvent(...a))
535
535
  }, [
536
- u("sl-icon", {
536
+ d("sl-icon", {
537
537
  slot: "suffix",
538
538
  name: e.state.equal && e.state.value1.length ? "check" : "x"
539
539
  }, null, 8, cn)
540
540
  ], 42, dn), [
541
- [le, e.state.value1]
541
+ [se, e.state.value1]
542
542
  ]),
543
543
  e.boneState.readonly ? k("", !0) : Z((m(), h("sl-input", {
544
544
  key: 0,
@@ -551,14 +551,14 @@ function gn(e, n, t, l, s, o) {
551
551
  onSlClear: n[6] || (n[6] = (a) => e.state.value2 = ""),
552
552
  onKeyup: n[7] || (n[7] = (...a) => e.changeEvent && e.changeEvent(...a))
553
553
  }, [
554
- u("sl-icon", {
554
+ d("sl-icon", {
555
555
  slot: "suffix",
556
556
  name: e.state.equal && e.state.value1.length ? "check" : "x"
557
- }, null, 8, mn)
557
+ }, null, 8, fn)
558
558
  ], 544)), [
559
- [le, e.state.value2]
559
+ [se, e.state.value2]
560
560
  ]),
561
- u("ul", fn, [
561
+ d("ul", mn, [
562
562
  (m(!0), h(E, null, U(e.state.passwordInfo, (a, i) => (m(), h("li", { key: i }, B(a), 1))), 128)),
563
563
  (m(!0), h(E, null, U(e.state.requiredPasswordInfo, (a, i) => (m(), h("li", {
564
564
  key: i,
@@ -567,7 +567,7 @@ function gn(e, n, t, l, s, o) {
567
567
  ])
568
568
  ], 64);
569
569
  }
570
- const Re = /* @__PURE__ */ I(un, [["render", gn], ["__scopeId", "data-v-0ccf18c0"]]), hn = D({
570
+ const Ne = /* @__PURE__ */ I(un, [["render", gn], ["__scopeId", "data-v-0ccf18c0"]]), hn = D({
571
571
  props: {
572
572
  name: String,
573
573
  value: null,
@@ -583,11 +583,11 @@ const Re = /* @__PURE__ */ I(un, [["render", gn], ["__scopeId", "data-v-0ccf18c0
583
583
  structure: S(() => a(t.bonestructure.using)),
584
584
  globalRegistration: !1,
585
585
  formGroups: S(() => {
586
- var c, d;
586
+ var c, u;
587
587
  let i = { default: { name: "Allgemein", bones: [], groupVisible: !1, groupOpen: !0 } };
588
588
  for (const [f, p] of Object.entries(l.structure)) {
589
589
  let v = "default", _ = l.structure[f], g = (c = l.value) == null ? void 0 : c[f];
590
- (d = p == null ? void 0 : p.params) != null && d.category && (v = p.params.category.toLowerCase()), Object.keys(i).includes(v) ? i[v].bones.push({
590
+ (u = p == null ? void 0 : p.params) != null && u.category && (v = p.params.category.toLowerCase()), Object.keys(i).includes(v) ? i[v].bones.push({
591
591
  boneName: f,
592
592
  boneStructure: _,
593
593
  boneValue: g
@@ -612,7 +612,7 @@ const Re = /* @__PURE__ */ I(un, [["render", gn], ["__scopeId", "data-v-0ccf18c0
612
612
  n.emit("change", i);
613
613
  }
614
614
  R(() => {
615
- rt().appContext.components.Bone ? l.globalRegistration = !0 : l.globalRegistration = !1, n.emit("change", e.name, e.value, e.lang, e.index);
615
+ lt().appContext.components.Bone ? l.globalRegistration = !0 : l.globalRegistration = !1, n.emit("change", e.name, e.value, e.lang, e.index);
616
616
  });
617
617
  function o(i) {
618
618
  console.log(i);
@@ -644,7 +644,7 @@ const Re = /* @__PURE__ */ I(un, [["render", gn], ["__scopeId", "data-v-0ccf18c0
644
644
  class: "form"
645
645
  }, pn = ["summary", "open"];
646
646
  function yn(e, n, t, l, s, o) {
647
- const a = se("bone");
647
+ const a = ae("bone");
648
648
  return e.state.globalRegistration ? (m(), h("div", vn, [
649
649
  (m(!0), h(E, null, U(e.state.formGroups, (i, r) => Z((m(), h("sl-details", {
650
650
  key: r,
@@ -661,14 +661,14 @@ function yn(e, n, t, l, s, o) {
661
661
  readonly: e.boneState.bonestructure.readonly ? !0 : void 0,
662
662
  onChangeInternal: e.changeEvent
663
663
  }, null, 8, ["is", "name", "structure", "skel", "errors", "readonly", "onChangeInternal"])), [
664
- [ve, e.state.structure[c.boneName].visible]
664
+ [be, e.state.structure[c.boneName].visible]
665
665
  ])), 128))
666
666
  ], 8, pn)), [
667
- [ve, i.groupVisible]
667
+ [be, i.groupVisible]
668
668
  ])), 128))
669
669
  ])) : (m(), h("sl-alert", bn, " In Order to use this Bone register the bone component globally in your main file "));
670
670
  }
671
- const Qe = /* @__PURE__ */ I(hn, [["render", yn], ["__scopeId", "data-v-e6fcfbca"]]), $n = D({
671
+ const Ze = /* @__PURE__ */ I(hn, [["render", yn], ["__scopeId", "data-v-e6fcfbca"]]), $n = D({
672
672
  inheritAttrs: !1,
673
673
  props: {
674
674
  name: String,
@@ -676,7 +676,7 @@ const Qe = /* @__PURE__ */ I(hn, [["render", yn], ["__scopeId", "data-v-e6fcfbca
676
676
  index: Number,
677
677
  lang: String
678
678
  },
679
- components: { Wrapper_nested: Qe },
679
+ components: { Wrapper_nested: Ze },
680
680
  emits: ["change"],
681
681
  setup(e, n) {
682
682
  const t = C("boneState"), l = w({
@@ -700,7 +700,7 @@ const Qe = /* @__PURE__ */ I(hn, [["render", yn], ["__scopeId", "data-v-e6fcfbca
700
700
  }
701
701
  });
702
702
  function Sn(e, n, t, l, s, o) {
703
- const a = se("Wrapper_nested");
703
+ const a = ae("Wrapper_nested");
704
704
  return m(), T(a, {
705
705
  value: e.value,
706
706
  name: e.name,
@@ -709,7 +709,7 @@ function Sn(e, n, t, l, s, o) {
709
709
  onChange: e.changeEvent
710
710
  }, null, 8, ["value", "name", "index", "disabled", "onChange"]);
711
711
  }
712
- const Le = /* @__PURE__ */ I($n, [["render", Sn], ["__scopeId", "data-v-84a761ce"]]), _n = D({
712
+ const Re = /* @__PURE__ */ I($n, [["render", Sn], ["__scopeId", "data-v-84a761ce"]]), _n = D({
713
713
  inheritAttrs: !1,
714
714
  props: {
715
715
  name: String,
@@ -740,7 +740,7 @@ function wn(e, n, t, l, s, o) {
740
740
  onSlChange: n[0] || (n[0] = (...a) => e.changeEvent && e.changeEvent(...a))
741
741
  }, null, 40, kn);
742
742
  }
743
- const Ue = /* @__PURE__ */ I(_n, [["render", wn], ["__scopeId", "data-v-534b9149"]]), En = D({
743
+ const Le = /* @__PURE__ */ I(_n, [["render", wn], ["__scopeId", "data-v-534b9149"]]), En = D({
744
744
  inheritAttrs: !1,
745
745
  emits: { change: null },
746
746
  props: {
@@ -763,9 +763,9 @@ const Ue = /* @__PURE__ */ I(_n, [["render", wn], ["__scopeId", "data-v-534b9149
763
763
  function o(a) {
764
764
  n.emit("change", e.name, a.target.value, e.lang, e.index);
765
765
  }
766
- return ce(() => {
766
+ return de(() => {
767
767
  if (e.autofocus && s.value && s.value !== null && s !== null) {
768
- const { start: a } = me(() => {
768
+ const { start: a } = ce(() => {
769
769
  s.value.focus();
770
770
  }, 600);
771
771
  a();
@@ -782,7 +782,7 @@ const Ue = /* @__PURE__ */ I(_n, [["render", wn], ["__scopeId", "data-v-534b9149
782
782
  }), An = ["disabled", "value", "min", "max", "step"], In = { class: "info" }, Cn = { key: 0 }, On = { key: 1 }, jn = { key: 2 };
783
783
  function Bn(e, n, t, l, s, o) {
784
784
  return m(), h(E, null, [
785
- u("sl-input", {
785
+ d("sl-input", {
786
786
  ref: "numericBone",
787
787
  type: "number",
788
788
  disabled: e.boneState.readonly,
@@ -793,23 +793,23 @@ function Bn(e, n, t, l, s, o) {
793
793
  onSlChange: n[0] || (n[0] = (...a) => e.changeEvent && e.changeEvent(...a)),
794
794
  onKeyup: n[1] || (n[1] = (...a) => e.changeEvent && e.changeEvent(...a))
795
795
  }, null, 40, An),
796
- u("ul", In, [
796
+ d("ul", In, [
797
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),
798
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
799
  e.state.precision ? (m(), h("li", jn, B(e.$t("bones.numeric.precision", { val: e.boneState.bonestructure.precision })), 1)) : k("", !0)
800
800
  ])
801
801
  ], 64);
802
802
  }
803
- const Te = /* @__PURE__ */ I(En, [["render", Bn], ["__scopeId", "data-v-03d5b399"]]);
803
+ const Ue = /* @__PURE__ */ I(En, [["render", Bn], ["__scopeId", "data-v-03d5b399"]]);
804
804
  var N = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
805
- class ue extends Error {
805
+ class ie extends Error {
806
806
  constructor(n, t, l, s) {
807
807
  super(l || t), arguments.length >= 4 && s && Object.assign(this, s), this.statusText = t, this.statusCode = n, this.response = s;
808
808
  }
809
809
  }
810
- let be = null;
810
+ let he = null;
811
811
  function Y() {
812
- return be || (be = $e("requestStore", () => {
812
+ return he || (he = ye("requestStore", () => {
813
813
  const e = w({ sKeys: /* @__PURE__ */ new Set() });
814
814
  function n() {
815
815
  e.sKeys = /* @__PURE__ */ new Set();
@@ -818,7 +818,7 @@ function Y() {
818
818
  state: e,
819
819
  $reset: n
820
820
  };
821
- })), be();
821
+ })), he();
822
822
  }
823
823
  class O {
824
824
  static resetState() {
@@ -831,20 +831,20 @@ class O {
831
831
  function r() {
832
832
  if (t instanceof FormData)
833
833
  return t;
834
- const d = new FormData();
834
+ const u = new FormData();
835
835
  for (const f in t)
836
836
  if (Array.isArray(t[f]))
837
837
  for (let p of t[f])
838
- d.append(f, p);
838
+ u.append(f, p);
839
839
  else
840
- d.append(f, t[f]);
841
- return d;
842
- }
843
- let c = re.post(O.buildUrl(n), r(), null, a, o, i);
844
- return c.then(function(d) {
845
- l && l(d.data);
846
- }).catch(function(d) {
847
- s && s(d);
840
+ u.append(f, t[f]);
841
+ return u;
842
+ }
843
+ let c = le.post(O.buildUrl(n), r(), null, a, o, i);
844
+ return c.then(function(u) {
845
+ l && l(u.data);
846
+ }).catch(function(u) {
847
+ s && s(u);
848
848
  }), c;
849
849
  }
850
850
  static async getBatchSkeys(n = 30, t = N.VITE_DEFAULT_RENDERER || "json") {
@@ -865,16 +865,16 @@ class O {
865
865
  mode: r = null,
866
866
  amount: c = 30
867
867
  } = {}) {
868
- let d = null;
868
+ let u = null;
869
869
  Y().state.sKeys.size === 0 && await O.getBatchSkeys(c);
870
870
  const f = [...Y().state.sKeys][0];
871
- return t instanceof FormData ? (t.append("skey", f), Y().state.sKeys.delete(f)) : (t || (t = {}), t.skey = f, Y().state.sKeys.delete(f)), d = O.post(n, {
871
+ return t instanceof FormData ? (t.append("skey", f), Y().state.sKeys.delete(f)) : (t || (t = {}), t.skey = f, Y().state.sKeys.delete(f)), u = O.post(n, {
872
872
  dataObj: t,
873
873
  callback: l,
874
874
  abortController: o,
875
875
  headers: i,
876
876
  mode: r
877
- }), d;
877
+ }), u;
878
878
  }
879
879
  static get(n, {
880
880
  dataObj: t = null,
@@ -886,9 +886,9 @@ class O {
886
886
  headers: r = null,
887
887
  mode: c = null,
888
888
  // milli sec min Std Tage
889
- cacheTime: d = 1e3 * 60 * 60 * 24 * 1
889
+ cacheTime: u = 1e3 * 60 * 60 * 24 * 1
890
890
  } = {}) {
891
- let f = re.get(O.buildUrl(n), t, a, r, i, c);
891
+ let f = le.get(O.buildUrl(n), t, a, r, i, c);
892
892
  return f.then(function(p) {
893
893
  l && l(p.data);
894
894
  }).catch(function(p) {
@@ -1015,11 +1015,11 @@ class O {
1015
1015
  key: i.values.uploadKey,
1016
1016
  skelType: "leaf"
1017
1017
  };
1018
- O.securePost("/vi/file/add", { dataObj: c }).then(async (d) => {
1019
- let f = await d.json();
1018
+ O.securePost("/vi/file/add", { dataObj: c }).then(async (u) => {
1019
+ let f = await u.json();
1020
1020
  f.action === "addSuccess" ? s(f.values) : o(f);
1021
- }).catch((d) => {
1022
- o(d);
1021
+ }).catch((u) => {
1022
+ o(u);
1023
1023
  });
1024
1024
  }).catch((r) => {
1025
1025
  o(r);
@@ -1030,9 +1030,9 @@ class O {
1030
1030
  });
1031
1031
  }
1032
1032
  }
1033
- class re {
1033
+ class le {
1034
1034
  constructor() {
1035
- Ce(this, "withCredentials", !0);
1035
+ Ie(this, "withCredentials", !0);
1036
1036
  }
1037
1037
  static buildOptions(n, t = null, l = null, s = null, o = null) {
1038
1038
  let a = { method: n };
@@ -1042,7 +1042,7 @@ class re {
1042
1042
  }
1043
1043
  static get(n, t = null, l = null, s = null, o = null, a = null) {
1044
1044
  function i(r, c) {
1045
- let d = new URL(r);
1045
+ let u = new URL(r);
1046
1046
  if (c && Object.keys(c).length > 0) {
1047
1047
  const f = new URLSearchParams();
1048
1048
  for (const [p, v] of Object.entries(c))
@@ -1051,32 +1051,32 @@ class re {
1051
1051
  f.append(p, _);
1052
1052
  else
1053
1053
  f.append(p, v);
1054
- d.search = f.toString();
1054
+ u.search = f.toString();
1055
1055
  }
1056
- return d.toString();
1056
+ return u.toString();
1057
1057
  }
1058
- return fetch(i(n, t), re.buildOptions("GET", null, s, o, a)).then(async (r) => {
1058
+ return fetch(i(n, t), le.buildOptions("GET", null, s, o, a)).then(async (r) => {
1059
1059
  if (r.ok)
1060
1060
  return r;
1061
1061
  {
1062
1062
  const c = `${r.status} ${r.statusText}: ${r.headers ? r.headers.get("x-error-descr") : ""}`;
1063
- return Promise.reject(new ue(r.status, r.statusText, c, r));
1063
+ return Promise.reject(new ie(r.status, r.statusText, c, r));
1064
1064
  }
1065
1065
  }).catch((r) => {
1066
1066
  if (r instanceof TypeError) {
1067
- const d = `503 ${r.message}: ${r.headers ? r.headers.get("x-error-descr") : ""}`;
1068
- return Promise.reject(new ue(503, r.message, d, r));
1067
+ const u = `503 ${r.message}: ${r.headers ? r.headers.get("x-error-descr") : ""}`;
1068
+ return Promise.reject(new ie(503, r.message, u, r));
1069
1069
  }
1070
1070
  if (r instanceof DOMException && r.name == "AbortError") {
1071
- const d = `${r.code} ${r.name}: ${r.headers ? r.headers.get("x-error-descr") : ""}`;
1072
- return Promise.reject(new ue(r.code, r.name, d, { url: n }));
1071
+ const u = `${r.code} ${r.name}: ${r.headers ? r.headers.get("x-error-descr") : ""}`;
1072
+ return Promise.reject(new ie(r.code, r.name, u, { url: n }));
1073
1073
  }
1074
1074
  const c = `${r.statusCode} ${r.statusText}: ${r.headers ? r.headers.get("x-error-descr") : ""}`;
1075
- return Promise.reject(new ue(r.statusCode, r.statusText, c, r.response));
1075
+ return Promise.reject(new ie(r.statusCode, r.statusText, c, r.response));
1076
1076
  });
1077
1077
  }
1078
1078
  static post(n, t = null, l = null, s = null, o = null, a = null) {
1079
- return fetch(n, re.buildOptions("POST", t, s, o, a));
1079
+ return fetch(n, le.buildOptions("POST", t, s, o, a));
1080
1080
  }
1081
1081
  }
1082
1082
  var Dn = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
@@ -1088,7 +1088,7 @@ const Vn = D({
1088
1088
  index: Number,
1089
1089
  lang: String
1090
1090
  },
1091
- components: { Wrapper_nested: Qe },
1091
+ components: { Wrapper_nested: Ze },
1092
1092
  emits: ["change"],
1093
1093
  setup(e, n) {
1094
1094
  const t = C("boneState"), l = C("formatString"), s = w({
@@ -1100,9 +1100,9 @@ const Vn = D({
1100
1100
  let c = "";
1101
1101
  return t.bonestructure.type === "relational.tree.leaf.file" ? c = "skelType=leaf&" : t.bonestructure.type === "relational.tree.node.file" && (c = "skelType=node&"), O.get(
1102
1102
  `/${Dn.VITE_DEFAULT_RENDERER || "vi"}/${t.bonestructure.module}/list?${c}limit=99`
1103
- ).then(async (d) => {
1103
+ ).then(async (u) => {
1104
1104
  var p;
1105
- const f = await d.json();
1105
+ const f = await u.json();
1106
1106
  s.skellistdata = {};
1107
1107
  for (let v of f.skellist)
1108
1108
  s.skellistdata[v.key] = v;
@@ -1113,8 +1113,8 @@ const Vn = D({
1113
1113
  s.selection = { dest: s.skellistdata[r.detail.item.value] }, n.emit("change", e.name, s.selection, e.lang, e.index);
1114
1114
  }
1115
1115
  function i(r) {
1116
- var d;
1117
- s.selection || (s.selection = {}), (d = s.selection.rel) != null && d[r.name] || (s.selection.rel ? s.selection.rel[r.name] = null : s.selection.rel = { [r.name]: null });
1116
+ var u;
1117
+ s.selection || (s.selection = {}), (u = s.selection.rel) != null && u[r.name] || (s.selection.rel ? s.selection.rel[r.name] = null : s.selection.rel = { [r.name]: null });
1118
1118
  let c = s.selection.rel[r.name];
1119
1119
  r.lang ? (c === null && (c = {}), Object.keys(c).includes(r.lang) && r.index !== null ? c[r.lang][r.index] = r.value : c[r.lang] = r.value) : r.index !== null ? (c === null && (c = []), c[r.index] = r.value) : c = r.value, Object.keys(s.selection).includes("rel") && s.selection.rel ? s.selection.rel[r.name] = c : s.selection.rel = { [r.name]: c }, Object.keys(s.selection).includes("dest") && n.emit("change", e.name, s.selection, e.lang, e.index);
1120
1120
  }
@@ -1129,17 +1129,17 @@ const Vn = D({
1129
1129
  getList: o
1130
1130
  };
1131
1131
  }
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__ */ u("sl-icon", {
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
- }, null, -1)), zn = [
1135
+ }, null, -1)), Wn = [
1136
1136
  Mn
1137
1137
  ];
1138
- function Wn(e, n, t, l, s, o) {
1138
+ function zn(e, n, t, l, s, o) {
1139
1139
  var i, r;
1140
- const a = se("Wrapper_nested");
1140
+ const a = ae("Wrapper_nested");
1141
1141
  return m(), h("div", Rn, [
1142
- u("div", Ln, [
1142
+ d("div", Ln, [
1143
1143
  e.state.selection ? (m(), h("sl-input", {
1144
1144
  key: 0,
1145
1145
  disabled: !0,
@@ -1160,7 +1160,7 @@ function Wn(e, n, t, l, s, o) {
1160
1160
  onClick: n[1] || (n[1] = () => {
1161
1161
  e.$emit("change", e.name, "", e.lang, e.index), e.state.selection = null;
1162
1162
  })
1163
- }, zn, 8, Pn)) : k("", !0)
1163
+ }, Wn, 8, Pn)) : k("", !0)
1164
1164
  ]),
1165
1165
  (i = e.boneState) != null && i.bonestructure.using ? (m(), T(a, {
1166
1166
  key: 0,
@@ -1172,7 +1172,7 @@ function Wn(e, n, t, l, s, o) {
1172
1172
  }, null, 8, ["value", "name", "index", "disabled", "onChange"])) : k("", !0)
1173
1173
  ]);
1174
1174
  }
1175
- const Pe = /* @__PURE__ */ I(Vn, [["render", Wn], ["__scopeId", "data-v-61dd72e0"]]), qn = D({
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,
@@ -1202,7 +1202,7 @@ function Kn(e, n, t, l, s, o) {
1202
1202
  return m(), h("div", Fn, B(e.value), 1);
1203
1203
  }
1204
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 };
1205
+ var Pe = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
1206
1206
  const Gn = D({
1207
1207
  inheritAttrs: !1,
1208
1208
  props: {
@@ -1228,17 +1228,17 @@ const Gn = D({
1228
1228
  function a() {
1229
1229
  return O.downloadUrlFor(e.value, !1);
1230
1230
  }
1231
- function i(d) {
1231
+ function i(u) {
1232
1232
  const f = {
1233
- fileName: d.name,
1234
- mimeType: d.type || "application/octet-stream",
1235
- size: d.size.toString()
1233
+ fileName: u.name,
1234
+ mimeType: u.type || "application/octet-stream",
1235
+ size: u.size.toString()
1236
1236
  };
1237
1237
  return new Promise((p, v) => {
1238
- O.securePost(`/${Me.VITE_DEFAULT_RENDERER || "vi"}/file/getUploadURL`, { dataObj: f }).then(async (_) => {
1238
+ O.securePost(`/${Pe.VITE_DEFAULT_RENDERER || "vi"}/file/getUploadURL`, { dataObj: f }).then(async (_) => {
1239
1239
  let g = await _.json();
1240
1240
  fetch(g.values.uploadUrl, {
1241
- body: d,
1241
+ body: u,
1242
1242
  method: "POST",
1243
1243
  mode: "no-cors"
1244
1244
  }).then(async (b) => {
@@ -1247,7 +1247,7 @@ const Gn = D({
1247
1247
  node: void 0,
1248
1248
  skelType: "leaf"
1249
1249
  };
1250
- O.securePost(`/${Me.VITE_DEFAULT_RENDERER || "vi"}/file/add`, { dataObj: y }).then(async ($) => {
1250
+ O.securePost(`/${Pe.VITE_DEFAULT_RENDERER || "vi"}/file/add`, { dataObj: y }).then(async ($) => {
1251
1251
  let A = await $.json();
1252
1252
  A.action === "addSuccess" ? p(A.values) : v(A);
1253
1253
  }).catch(($) => {
@@ -1261,17 +1261,17 @@ const Gn = D({
1261
1261
  });
1262
1262
  });
1263
1263
  }
1264
- async function r(d) {
1264
+ async function r(u) {
1265
1265
  s.loading = !0;
1266
- for (let f of d.target.files) {
1266
+ for (let f of u.target.files) {
1267
1267
  let p = await i(f);
1268
1268
  l.value.value = null, n.emit("change", e.name, { dest: p, rel: null }, e.lang, e.index);
1269
1269
  }
1270
1270
  s.loading = !1;
1271
1271
  }
1272
- async function c(d) {
1272
+ async function c(u) {
1273
1273
  s.loading = !0, s.droparea = !1;
1274
- for (let f of d.dataTransfer.files) {
1274
+ for (let f of u.dataTransfer.files) {
1275
1275
  let p = await i(f);
1276
1276
  l.value.value = null, n.emit("change", e.name, { dest: p, rel: null }, e.lang, e.index);
1277
1277
  break;
@@ -1291,14 +1291,14 @@ const Gn = D({
1291
1291
  }), fe = (e) => (M("data-v-91086308"), e = e(), z(), e), Zn = {
1292
1292
  key: 0,
1293
1293
  class: "loader"
1294
- }, Jn = /* @__PURE__ */ fe(() => /* @__PURE__ */ u("sl-spinner", { slot: "suffix" }, null, -1)), Qn = [
1294
+ }, Jn = /* @__PURE__ */ fe(() => /* @__PURE__ */ d("sl-spinner", { slot: "suffix" }, null, -1)), Qn = [
1295
1295
  Jn
1296
1296
  ], Yn = {
1297
1297
  key: 1,
1298
1298
  class: "droparea"
1299
- }, Xn = ["title"], xn = /* @__PURE__ */ fe(() => /* @__PURE__ */ u("sl-icon", { name: "upload" }, null, -1)), ea = [
1299
+ }, Xn = ["title"], xn = /* @__PURE__ */ fe(() => /* @__PURE__ */ d("sl-icon", { name: "upload" }, null, -1)), ea = [
1300
1300
  xn
1301
- ], ta = ["multiple"], na = ["title"], aa = /* @__PURE__ */ fe(() => /* @__PURE__ */ u("sl-icon", {
1301
+ ], ta = ["multiple"], na = ["title"], aa = /* @__PURE__ */ fe(() => /* @__PURE__ */ d("sl-icon", {
1302
1302
  slot: "prefix",
1303
1303
  name: "download"
1304
1304
  }, null, -1)), sa = [
@@ -1309,16 +1309,16 @@ const Gn = D({
1309
1309
  }, da = {
1310
1310
  key: 0,
1311
1311
  name: "file-earmark"
1312
- }, ca = { key: 2 }, ma = ["title"], fa = /* @__PURE__ */ fe(() => /* @__PURE__ */ u("sl-icon", { name: "x-lg" }, null, -1)), ga = [
1313
- fa
1312
+ }, ca = { key: 2 }, fa = ["title"], ma = /* @__PURE__ */ fe(() => /* @__PURE__ */ d("sl-icon", { name: "x-lg" }, null, -1)), ga = [
1313
+ ma
1314
1314
  ];
1315
1315
  function ha(e, n, t, l, s, o) {
1316
- var a, i, r, c, d, f, p, v, _, g;
1316
+ var a, i, r, c, u, f, p, v, _, g;
1317
1317
  return m(), h("div", {
1318
1318
  class: "file-wrapper",
1319
- onDragover: n[5] || (n[5] = de((b) => e.state.droparea = !0, ["prevent"])),
1319
+ onDragover: n[5] || (n[5] = ue((b) => e.state.droparea = !0, ["prevent"])),
1320
1320
  onDragleave: n[6] || (n[6] = (b) => e.state.droparea = !1),
1321
- onDrop: n[7] || (n[7] = de((...b) => e.handleDrop && e.handleDrop(...b), ["prevent"]))
1321
+ onDrop: n[7] || (n[7] = ue((...b) => e.handleDrop && e.handleDrop(...b), ["prevent"]))
1322
1322
  }, [
1323
1323
  e.state.loading ? (m(), h("div", Zn, Qn)) : k("", !0),
1324
1324
  e.state.droparea ? (m(), h("div", Yn, " Dateien hier hinziehen ")) : k("", !0),
@@ -1329,7 +1329,7 @@ function ha(e, n, t, l, s, o) {
1329
1329
  class: "upload-btn",
1330
1330
  onClick: n[0] || (n[0] = (b) => e.uploadinput.click())
1331
1331
  }, ea, 8, Xn)) : k("", !0),
1332
- u("input", {
1332
+ d("input", {
1333
1333
  ref: "uploadinput",
1334
1334
  hidden: "",
1335
1335
  type: "file",
@@ -1341,29 +1341,29 @@ function ha(e, n, t, l, s, o) {
1341
1341
  title: e.$t("bone.download"),
1342
1342
  onClick: n[2] || (n[2] = (...b) => e.downloadFile && e.downloadFile(...b))
1343
1343
  }, sa, 8, na)) : k("", !0),
1344
- u("div", la, [
1344
+ d("div", la, [
1345
1345
  (i = (a = e.value) == null ? void 0 : a.dest) != null && i.mimetype.includes("image") ? (m(), h("div", {
1346
1346
  key: 0,
1347
1347
  class: "preview has-preview",
1348
1348
  onClick: n[3] || (n[3] = (b) => e.state.previewopen = !e.state.previewopen)
1349
1349
  }, [
1350
- u("img", {
1350
+ d("img", {
1351
1351
  class: "preview-img",
1352
1352
  src: e.createBackgroundImage(),
1353
1353
  alt: ""
1354
1354
  }, null, 8, ra),
1355
- u("sl-dialog", {
1355
+ d("sl-dialog", {
1356
1356
  label: decodeURIComponent((c = (r = e.value) == null ? void 0 : r.dest) == null ? void 0 : c.name),
1357
1357
  class: "preview-overlay",
1358
1358
  open: e.state.previewopen
1359
1359
  }, [
1360
- u("img", {
1360
+ d("img", {
1361
1361
  src: e.createBackgroundImage(),
1362
1362
  alt: ""
1363
1363
  }, null, 8, ia)
1364
1364
  ], 8, oa)
1365
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)
1366
+ (f = (u = e.value) == null ? void 0 : u.dest) != null && f.name ? (m(), h("sl-icon", da)) : k("", !0)
1367
1367
  ])),
1368
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)
1369
1369
  ]),
@@ -1374,10 +1374,10 @@ function ha(e, n, t, l, s, o) {
1374
1374
  title: e.$t("bone.del"),
1375
1375
  class: "delete-btn",
1376
1376
  onClick: n[4] || (n[4] = (b) => e.$emit("change", e.name, "", e.lang, e.index))
1377
- }, ga, 8, ma))
1377
+ }, ga, 8, fa))
1378
1378
  ], 32);
1379
1379
  }
1380
- const ze = /* @__PURE__ */ I(Gn, [["render", ha], ["__scopeId", "data-v-91086308"]]), ba = D({
1380
+ const Me = /* @__PURE__ */ I(Gn, [["render", ha], ["__scopeId", "data-v-91086308"]]), ba = D({
1381
1381
  inheritAttrs: !1,
1382
1382
  props: {
1383
1383
  name: String,
@@ -1407,7 +1407,7 @@ const ze = /* @__PURE__ */ I(Gn, [["render", ha], ["__scopeId", "data-v-91086308
1407
1407
  r.setStyle("min-height", "250px", i.editing.view.document.getRoot());
1408
1408
  });
1409
1409
  }
1410
- return ae(
1410
+ return ne(
1411
1411
  () => e.value,
1412
1412
  (i, r) => {
1413
1413
  l.value = i;
@@ -1423,8 +1423,8 @@ const ze = /* @__PURE__ */ I(Gn, [["render", ha], ["__scopeId", "data-v-91086308
1423
1423
  }
1424
1424
  }), va = ["disabled", "value"];
1425
1425
  function pa(e, n, t, l, s, o) {
1426
- var i, r, c, d;
1427
- const a = se("ckeditor");
1426
+ var i, r, c, u;
1427
+ const a = ae("ckeditor");
1428
1428
  return e.state.editor ? (m(), h(E, { key: 0 }, [
1429
1429
  (i = e.boneState.bonestructure) != null && i.valid_html || (r = e.boneState.bonestructure) != null && r.validHtml ? (m(), T(a, {
1430
1430
  key: 0,
@@ -1437,7 +1437,7 @@ function pa(e, n, t, l, s, o) {
1437
1437
  onInput: e.changeEvent
1438
1438
  }, null, 8, ["modelValue", "editor", "config", "disabled", "onReady", "onInput"])) : (m(), h("sl-textarea", {
1439
1439
  key: 1,
1440
- disabled: (d = e.boneState) == null ? void 0 : d.readonly,
1440
+ disabled: (u = e.boneState) == null ? void 0 : u.readonly,
1441
1441
  value: e.value,
1442
1442
  onInput: n[1] || (n[1] = (...f) => e.changeEventTextarea && e.changeEventTextarea(...f))
1443
1443
  }, null, 40, va))
@@ -1476,7 +1476,7 @@ const We = /* @__PURE__ */ I(ba, [["render", pa]]), ya = D({
1476
1476
  }), $a = ["name", "min", "max", "disabled"], Sa = ["name", "min", "max", "disabled"];
1477
1477
  function _a(e, n, t, l, s, o) {
1478
1478
  return m(), h(E, null, [
1479
- Z(u("sl-input", {
1479
+ Z(d("sl-input", {
1480
1480
  "onUpdate:modelValue": n[0] || (n[0] = (a) => e.state.valueLat = a),
1481
1481
  index: "lat",
1482
1482
  type: "number",
@@ -1489,9 +1489,9 @@ function _a(e, n, t, l, s, o) {
1489
1489
  onSlChange: n[1] || (n[1] = (...a) => e.changeEvent && e.changeEvent(...a)),
1490
1490
  placeholder: "Lat"
1491
1491
  }, null, 40, $a), [
1492
- [le, e.state.valueLat]
1492
+ [se, e.state.valueLat]
1493
1493
  ]),
1494
- Z(u("sl-input", {
1494
+ Z(d("sl-input", {
1495
1495
  "onUpdate:modelValue": n[2] || (n[2] = (a) => e.state.valueLng = a),
1496
1496
  index: "lng",
1497
1497
  type: "number",
@@ -1504,11 +1504,11 @@ function _a(e, n, t, l, s, o) {
1504
1504
  onSlChange: n[3] || (n[3] = (...a) => e.changeEvent && e.changeEvent(...a)),
1505
1505
  placeholder: "Long"
1506
1506
  }, null, 40, Sa), [
1507
- [le, e.state.valueLng]
1507
+ [se, e.state.valueLng]
1508
1508
  ])
1509
1509
  ], 64);
1510
1510
  }
1511
- const qe = /* @__PURE__ */ I(ya, [["render", _a], ["__scopeId", "data-v-7bc31020"]]), ka = D({
1511
+ const ze = /* @__PURE__ */ I(ya, [["render", _a], ["__scopeId", "data-v-7bc31020"]]), ka = D({
1512
1512
  props: {
1513
1513
  name: String,
1514
1514
  value: Object,
@@ -1549,12 +1549,12 @@ const qe = /* @__PURE__ */ I(ya, [["render", _a], ["__scopeId", "data-v-7bc31020
1549
1549
  removeMultipleEntries: o
1550
1550
  };
1551
1551
  }
1552
- }), Ye = (e) => (M("data-v-63e75dee"), e = e(), z(), e), wa = { class: "actionbar" }, Ea = ["title"], Aa = /* @__PURE__ */ Ye(() => /* @__PURE__ */ u("sl-icon", {
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 = [
1556
1556
  Aa
1557
- ], Ca = ["title"], Oa = /* @__PURE__ */ Ye(() => /* @__PURE__ */ u("sl-icon", {
1557
+ ], Ca = ["title"], Oa = /* @__PURE__ */ Je(() => /* @__PURE__ */ d("sl-icon", {
1558
1558
  slot: "prefix",
1559
1559
  name: "plus-lg"
1560
1560
  }, null, -1));
@@ -1606,9 +1606,9 @@ const Va = D({
1606
1606
  let c = "";
1607
1607
  return t.bonestructure.type === "relational.tree.leaf.file" ? c = "skelType=leaf&" : t.bonestructure.type === "relational.tree.node.file" && (c = "skelType=node&"), O.get(
1608
1608
  `/${Da.VITE_DEFAULT_RENDERER || "vi"}/${t.bonestructure.module}/list?${c}limit=99`
1609
- ).then(async (d) => {
1609
+ ).then(async (u) => {
1610
1610
  var p;
1611
- const f = await d.json();
1611
+ const f = await u.json();
1612
1612
  return a.skels = f.skellist.reduce((v, _) => (v[_.key] = _, v), {}), (p = f.skellist) == null ? void 0 : p.map((v) => ({ text: s(t.bonestructure.format, { dest: v }), value: v.key, data: v }));
1613
1613
  });
1614
1614
  }
@@ -1622,16 +1622,16 @@ const Va = D({
1622
1622
  getList: i
1623
1623
  };
1624
1624
  }
1625
- }), Xe = (e) => (M("data-v-eeea51c6"), e = e(), z(), e), Na = { class: "actionbar" }, Ra = ["title"], La = /* @__PURE__ */ Xe(() => /* @__PURE__ */ u("sl-icon", {
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 = [
1629
1629
  La
1630
- ], Ta = ["source"], Pa = ["title"], Ma = /* @__PURE__ */ Xe(() => /* @__PURE__ */ u("sl-icon", {
1630
+ ], Ta = ["source"], Pa = ["title"], Ma = /* @__PURE__ */ Qe(() => /* @__PURE__ */ d("sl-icon", {
1631
1631
  slot: "prefix",
1632
1632
  name: "plus-lg"
1633
1633
  }, null, -1));
1634
- function za(e, n, t, l, s, o) {
1634
+ function Wa(e, n, t, l, s, o) {
1635
1635
  return m(), h("div", Na, [
1636
1636
  e.boneState.multiple && !e.readonly ? (m(), h("sl-button", {
1637
1637
  key: 0,
@@ -1641,7 +1641,7 @@ function za(e, n, t, l, s, o) {
1641
1641
  class: "delete-btn",
1642
1642
  onClick: n[0] || (n[0] = (a) => e.openSelector())
1643
1643
  }, Ua, 8, Ra)) : k("", !0),
1644
- u("sl-combobox", {
1644
+ d("sl-combobox", {
1645
1645
  source: e.getList,
1646
1646
  hoist: "",
1647
1647
  onSlItemSelect: n[1] || (n[1] = (a) => {
@@ -1665,8 +1665,8 @@ function za(e, n, t, l, s, o) {
1665
1665
  ], 8, Pa)) : k("", !0)
1666
1666
  ]);
1667
1667
  }
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 };
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
1670
  const qa = D({
1671
1671
  props: {
1672
1672
  name: String,
@@ -1688,17 +1688,17 @@ const qa = D({
1688
1688
  droparea: !1,
1689
1689
  hasUsing: S(() => t == null ? void 0 : t.bonestructure.using)
1690
1690
  });
1691
- function i(d) {
1691
+ function i(u) {
1692
1692
  const f = {
1693
- fileName: d.name,
1694
- mimeType: d.type || "application/octet-stream",
1695
- size: d.size.toString()
1693
+ fileName: u.name,
1694
+ mimeType: u.type || "application/octet-stream",
1695
+ size: u.size.toString()
1696
1696
  };
1697
1697
  return new Promise((p, v) => {
1698
- O.securePost(`/${Fe.VITE_DEFAULT_RENDERER || "vi"}/file/getUploadURL`, { dataObj: f }).then(async (_) => {
1698
+ O.securePost(`/${qe.VITE_DEFAULT_RENDERER || "vi"}/file/getUploadURL`, { dataObj: f }).then(async (_) => {
1699
1699
  let g = await _.json();
1700
1700
  fetch(g.values.uploadUrl, {
1701
- body: d,
1701
+ body: u,
1702
1702
  method: "POST",
1703
1703
  mode: "no-cors"
1704
1704
  }).then(async (b) => {
@@ -1707,7 +1707,7 @@ const qa = D({
1707
1707
  node: void 0,
1708
1708
  skelType: "leaf"
1709
1709
  };
1710
- O.securePost(`/${Fe.VITE_DEFAULT_RENDERER || "vi"}/file/add`, { dataObj: y }).then(async ($) => {
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(($) => {
@@ -1721,9 +1721,9 @@ const qa = D({
1721
1721
  });
1722
1722
  });
1723
1723
  }
1724
- async function r(d) {
1724
+ async function r(u) {
1725
1725
  a.loading = !0;
1726
- for (let f of d.target.files) {
1726
+ for (let f of u.target.files) {
1727
1727
  let p = await i(f);
1728
1728
  o.value.value = null;
1729
1729
  let v = null;
@@ -1731,9 +1731,9 @@ const qa = D({
1731
1731
  }
1732
1732
  a.loading = !1;
1733
1733
  }
1734
- async function c(d) {
1734
+ async function c(u) {
1735
1735
  a.loading = !0, a.droparea = !1;
1736
- for (let f of d.dataTransfer.files) {
1736
+ for (let f of u.dataTransfer.files) {
1737
1737
  let p = await i(f);
1738
1738
  o.value.value = null;
1739
1739
  let v = null;
@@ -1754,7 +1754,7 @@ const qa = D({
1754
1754
  handleDrop: c
1755
1755
  };
1756
1756
  }
1757
- }), Se = (e) => (M("data-v-9bac9f8a"), e = e(), z(), e), Fa = ["title"], Ka = /* @__PURE__ */ Se(() => /* @__PURE__ */ u("sl-icon", {
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 = [
@@ -1762,21 +1762,21 @@ const qa = D({
1762
1762
  ], Ga = {
1763
1763
  key: 1,
1764
1764
  class: "droparea"
1765
- }, Za = ["multiple"], Ja = ["title"], Qa = /* @__PURE__ */ Se(() => /* @__PURE__ */ u("sl-icon", {
1765
+ }, Za = ["multiple"], Ja = ["title"], Qa = /* @__PURE__ */ $e(() => /* @__PURE__ */ d("sl-icon", {
1766
1766
  slot: "prefix",
1767
1767
  name: "plus-lg"
1768
1768
  }, null, -1)), Ya = [
1769
1769
  Qa
1770
- ], Xa = ["title"], xa = /* @__PURE__ */ Se(() => /* @__PURE__ */ u("sl-icon", { name: "upload" }, null, -1)), es = {
1770
+ ], Xa = ["title"], xa = /* @__PURE__ */ $e(() => /* @__PURE__ */ d("sl-icon", { name: "upload" }, null, -1)), es = {
1771
1771
  key: 0,
1772
1772
  slot: "suffix"
1773
1773
  };
1774
1774
  function ts(e, n, t, l, s, o) {
1775
1775
  return m(), h("div", {
1776
1776
  class: "actionbar",
1777
- onDragover: n[4] || (n[4] = de((a) => e.state.droparea = !0, ["prevent"])),
1777
+ onDragover: n[4] || (n[4] = ue((a) => e.state.droparea = !0, ["prevent"])),
1778
1778
  onDragleave: n[5] || (n[5] = (a) => e.state.droparea = !1),
1779
- onDrop: n[6] || (n[6] = de((...a) => e.handleDrop && e.handleDrop(...a), ["prevent"]))
1779
+ onDrop: n[6] || (n[6] = ue((...a) => e.handleDrop && e.handleDrop(...a), ["prevent"]))
1780
1780
  }, [
1781
1781
  e.boneState.multiple && !e.readonly ? (m(), h("sl-button", {
1782
1782
  key: 0,
@@ -1787,7 +1787,7 @@ function ts(e, n, t, l, s, o) {
1787
1787
  onClick: n[0] || (n[0] = (a) => e.openSelector())
1788
1788
  }, Ha, 8, Fa)) : k("", !0),
1789
1789
  e.state.droparea ? (m(), h("div", Ga, " Dateien hier hinziehen ")) : k("", !0),
1790
- u("input", {
1790
+ d("input", {
1791
1791
  ref: "uploadinput",
1792
1792
  hidden: "",
1793
1793
  type: "file",
@@ -1815,30 +1815,30 @@ function ts(e, n, t, l, s, o) {
1815
1815
  ], 8, Xa)) : k("", !0)
1816
1816
  ], 32);
1817
1817
  }
1818
- const ns = /* @__PURE__ */ I(qa, [["render", ts], ["__scopeId", "data-v-9bac9f8a"]]), _e = $e("boneStore", () => {
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({
1822
- rawBone: pe,
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,
1822
+ rawBone: ve,
1823
+ keyBone: Ce,
1824
+ stringBone: Oe,
1825
+ emailBone: je,
1826
+ dateBone: Be,
1827
+ booleanBone: Ve,
1828
+ selectBone: De,
1829
+ passwordBone: Ne,
1830
+ recordBone: Re,
1831
+ numericBone: Ue,
1832
+ colorBone: Le,
1833
+ relationalBone: Te,
1834
1834
  jsonBone: Hn,
1835
- fileBone: ze,
1835
+ fileBone: Me,
1836
1836
  textBone: We,
1837
- spatialBone: qe
1837
+ spatialBone: ze
1838
1838
  }),
1839
1839
  actionbars: H({
1840
1840
  "relational.tree.leaf.file.file": ns,
1841
- "relational.": Wa
1841
+ "relational.": za
1842
1842
  }),
1843
1843
  multibones: H(["select", "select."])
1844
1844
  });
@@ -1859,13 +1859,13 @@ const ns = /* @__PURE__ */ I(qa, [["render", ts], ["__scopeId", "data-v-9bac9f8a
1859
1859
  (c) => c[0].startsWith(i[0] + ".")
1860
1860
  );
1861
1861
  if (r.length > 0) {
1862
- r.sort((c, d) => d.length - c.length);
1862
+ r.sort((c, u) => u.length - c.length);
1863
1863
  for (let c of r)
1864
1864
  if (a.startsWith(c[0]))
1865
1865
  return e.additionalBones[c[0]];
1866
1866
  }
1867
1867
  }
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;
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;
@@ -1878,7 +1878,7 @@ const ns = /* @__PURE__ */ I(qa, [["render", ts], ["__scopeId", "data-v-9bac9f8a
1878
1878
  (c) => c[0].startsWith(i[0] + ".")
1879
1879
  );
1880
1880
  if (r.length > 0) {
1881
- r.sort((c, d) => d.length - c.length);
1881
+ r.sort((c, u) => u.length - c.length);
1882
1882
  for (let c of r)
1883
1883
  if (a.startsWith(c[0]))
1884
1884
  return e.actionbars[c[0]];
@@ -1896,13 +1896,13 @@ const ns = /* @__PURE__ */ I(qa, [["render", ts], ["__scopeId", "data-v-9bac9f8a
1896
1896
  };
1897
1897
  });
1898
1898
  function as(e) {
1899
- return _e().getBoneActionbar(e);
1899
+ return Se().getBoneActionbar(e);
1900
1900
  }
1901
1901
  function X(e) {
1902
- return _e().getBoneWidget(e);
1902
+ return Se().getBoneWidget(e);
1903
1903
  }
1904
1904
  function ss(e) {
1905
- const n = _e();
1905
+ const n = Se();
1906
1906
  if (n.state.multibones.includes(e))
1907
1907
  return !0;
1908
1908
  {
@@ -1928,7 +1928,7 @@ D({
1928
1928
  props: {
1929
1929
  is: {
1930
1930
  type: Object,
1931
- default: pe
1931
+ default: ve
1932
1932
  },
1933
1933
  name: {
1934
1934
  type: String,
@@ -2014,7 +2014,7 @@ D({
2014
2014
  return g;
2015
2015
  })
2016
2016
  });
2017
- ie("boneState", t);
2017
+ oe("boneState", t);
2018
2018
  function l(g, b, y) {
2019
2019
  a(b, g, "isDragging"), a(b, g, "dragStartIndex");
2020
2020
  }
@@ -2082,10 +2082,10 @@ D({
2082
2082
  let b = g(t.bonevalue, e.name);
2083
2083
  return b = b.flat(10), b;
2084
2084
  }
2085
- function d(g = null, b = "") {
2085
+ function u(g = null, b = "") {
2086
2086
  g ? Object.keys(t.bonevalue).includes(g) ? t.bonevalue[g].push(b) : t.bonevalue[g] = [b] : t.bonevalue ? t.bonevalue.push(b) : t.bonevalue = [b];
2087
2087
  }
2088
- ie("addMultipleEntry", d);
2088
+ oe("addMultipleEntry", u);
2089
2089
  function f(g, b = null) {
2090
2090
  var y;
2091
2091
  b ? (y = t.bonevalue) == null || y[b].splice(g, 1) : t.bonevalue.splice(g, 1), n.emit("change", {
@@ -2112,15 +2112,15 @@ D({
2112
2112
  lang: g
2113
2113
  });
2114
2114
  }
2115
- ie("removeMultipleEntries", p);
2115
+ oe("removeMultipleEntries", p);
2116
2116
  function v(g = null, b = "") {
2117
- d(g, b);
2117
+ u(g, b);
2118
2118
  }
2119
2119
  function _(g, b) {
2120
2120
  function y(V) {
2121
- let G = [], F = [], ne = /\$\((.*?)\)/g;
2121
+ let G = [], F = [], te = /\$\((.*?)\)/g;
2122
2122
  for (; F; ) {
2123
- if (F = ne.exec(V), !F) {
2123
+ if (F = te.exec(V), !F) {
2124
2124
  F = !1;
2125
2125
  continue;
2126
2126
  }
@@ -2129,14 +2129,14 @@ D({
2129
2129
  return G;
2130
2130
  }
2131
2131
  function $(V, G) {
2132
- let F = V.split("."), ne = V.split("."), P = G;
2132
+ let F = V.split("."), te = V.split("."), P = G;
2133
2133
  for (let Q of F)
2134
- if (ne.shift(), P && P !== "-" && Object.keys(P).includes(Q) && P[Q])
2134
+ if (te.shift(), P && P !== "-" && Object.keys(P).includes(Q) && P[Q])
2135
2135
  if (Array.isArray(P[Q])) {
2136
- let Ie = [];
2137
- for (let et of P[Q])
2138
- Ie.push($(ne.join("."), et));
2139
- P = Ie.join(", ");
2136
+ let Ae = [];
2137
+ for (let xe of P[Q])
2138
+ Ae.push($(te.join("."), xe));
2139
+ P = Ae.join(", ");
2140
2140
  } else
2141
2141
  P = P[Q];
2142
2142
  else (!P || typeof P[Q] == "object" && !P[Q]) && (P = "-");
@@ -2147,23 +2147,23 @@ D({
2147
2147
  for (let V of b) {
2148
2148
  let G = g;
2149
2149
  for (let F of A) {
2150
- let ne = $(F, V);
2151
- G = G.replace("$(" + F + ")", ne);
2150
+ let te = $(F, V);
2151
+ G = G.replace("$(" + F + ")", te);
2152
2152
  }
2153
2153
  L.push(G);
2154
2154
  }
2155
2155
  return L.join(", ");
2156
2156
  }
2157
- return ie("formatString", _), x(() => {
2157
+ return oe("formatString", _), x(() => {
2158
2158
  var g;
2159
2159
  e.value ? t.bonevalue = e.value : t.bonevalue = (g = e.skel) == null ? void 0 : g[e.name];
2160
- }), ae(
2160
+ }), ne(
2161
2161
  () => e.skel,
2162
2162
  (g, b) => {
2163
2163
  var y;
2164
2164
  t.bonevalue = (y = e.skel) == null ? void 0 : y[e.name];
2165
2165
  }
2166
- ), ae(
2166
+ ), ne(
2167
2167
  () => {
2168
2168
  var g;
2169
2169
  return (g = e.errors) == null ? void 0 : g[e.name];
@@ -2174,7 +2174,7 @@ D({
2174
2174
  ), {
2175
2175
  state: t,
2176
2176
  updateValue: r,
2177
- addMultipleEntry: d,
2177
+ addMultipleEntry: u,
2178
2178
  removeMultipleEntry: f,
2179
2179
  removeMultipleEntries: p,
2180
2180
  BoneHasMultipleHandling: ss,
@@ -2187,7 +2187,7 @@ D({
2187
2187
  };
2188
2188
  }
2189
2189
  });
2190
- const ke = {
2190
+ const _e = {
2191
2191
  props: {
2192
2192
  size: {
2193
2193
  type: String,
@@ -2216,8 +2216,8 @@ const ke = {
2216
2216
  });
2217
2217
  return { state: t };
2218
2218
  }
2219
- }, Ke = () => {
2220
- ot((e) => ({
2219
+ }, Fe = () => {
2220
+ rt((e) => ({
2221
2221
  "93747d92": e.state.outerSize,
2222
2222
  "284424e5": e.state.shadow,
2223
2223
  "6485ca5e": e.state.logoSize,
@@ -2225,26 +2225,26 @@ const ke = {
2225
2225
  d5b3feca: e.color,
2226
2226
  "2050b700": e.state.trackWidth
2227
2227
  }));
2228
- }, He = ke.setup;
2229
- ke.setup = He ? (e, n) => (Ke(), He(e, n)) : Ke;
2228
+ }, Ke = _e.setup;
2229
+ _e.setup = Ke ? (e, n) => (Fe(), Ke(e, n)) : Fe;
2230
2230
  const ls = (e) => (M("data-v-46c45785"), e = e(), z(), e), rs = {
2231
2231
  key: 0,
2232
2232
  class: "loading"
2233
- }, os = /* @__PURE__ */ ls(() => /* @__PURE__ */ u("sl-spinner", { class: "loader" }, null, -1)), is = { class: "logo" }, us = ["src"];
2233
+ }, os = /* @__PURE__ */ ls(() => /* @__PURE__ */ d("sl-spinner", { class: "loader" }, null, -1)), is = { class: "logo" }, us = ["src"];
2234
2234
  function ds(e, n, t, l, s, o) {
2235
- return m(), T(it, null, {
2236
- default: ut(() => [
2235
+ return m(), T(ot, null, {
2236
+ default: it(() => [
2237
2237
  t.active ? (m(), h("div", rs, [
2238
2238
  os,
2239
- u("div", is, [
2240
- u("sl-icon", { src: t.logo }, null, 8, us)
2239
+ d("div", is, [
2240
+ d("sl-icon", { src: t.logo }, null, 8, us)
2241
2241
  ])
2242
2242
  ])) : k("", !0)
2243
2243
  ]),
2244
2244
  _: 1
2245
2245
  });
2246
2246
  }
2247
- const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785"]]), oe = $e("cartstore", () => {
2247
+ const cs = /* @__PURE__ */ I(_e, [["render", ds], ["__scopeId", "data-v-46c45785"]]), re = ye("cartstore", () => {
2248
2248
  const e = new gt({
2249
2249
  host_url: window.location.origin === "http://localhost:8081" ? "http://localhost:8080" : window.location.origin
2250
2250
  }), n = w({
@@ -2256,38 +2256,38 @@ const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785
2256
2256
  async function t() {
2257
2257
  await s();
2258
2258
  }
2259
- async function l(d) {
2260
- return await e.cart_list({ cart_key: d });
2259
+ async function l(u) {
2260
+ return await e.cart_list({ cart_key: u });
2261
2261
  }
2262
2262
  async function s() {
2263
2263
  (await e.cart_list()).forEach((f) => {
2264
2264
  f.is_root_node && (f.cart_type === "basket" ? n.basketRootNode = f : n.whishlistRootNodes.push(f));
2265
2265
  });
2266
2266
  }
2267
- async function o(d, f) {
2267
+ async function o(u, f) {
2268
2268
  let p = await e.article_add({
2269
- article_key: d,
2269
+ article_key: u,
2270
2270
  parent_cart_key: f
2271
2271
  });
2272
2272
  console.log("addToCart", p);
2273
2273
  }
2274
- async function a(d, f) {
2274
+ async function a(u, f) {
2275
2275
  let p = await e.article_view({
2276
- article_key: d,
2276
+ article_key: u,
2277
2277
  parent_cart_key: f
2278
2278
  });
2279
2279
  console.log("getArticleView", p);
2280
2280
  }
2281
- async function i(d, f) {
2281
+ async function i(u, f) {
2282
2282
  let p = await e.article_remove({
2283
- article_key: d,
2283
+ article_key: u,
2284
2284
  parent_cart_key: f
2285
2285
  });
2286
2286
  console.log("remove Resp", p);
2287
2287
  }
2288
- async function r(d, f, p) {
2288
+ async function r(u, f, p) {
2289
2289
  let v = await e.article_update({
2290
- article_key: d,
2290
+ article_key: u,
2291
2291
  parent_cart_key: f,
2292
2292
  quantity: p,
2293
2293
  quantity_mode: "replace"
@@ -2295,8 +2295,8 @@ const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785
2295
2295
  console.log("update Resp", v);
2296
2296
  }
2297
2297
  async function c() {
2298
- let d = await e.address_structure();
2299
- n.structure.address = d.addSkel, console.log("adress add", n.structure.address);
2298
+ let u = await e.address_structure();
2299
+ n.structure.address = u.addSkel, console.log("adress add", n.structure.address);
2300
2300
  }
2301
2301
  return {
2302
2302
  state: n,
@@ -2308,7 +2308,7 @@ const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785
2308
2308
  getAdressStructure: c,
2309
2309
  getChildren: l
2310
2310
  };
2311
- }), ms = {
2311
+ }), fs = {
2312
2312
  __name: "CartNode",
2313
2313
  props: {
2314
2314
  node: { type: Object, required: !0 }
@@ -2316,26 +2316,26 @@ 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
- }, ge = (e) => (M("data-v-4b285730"), e = e(), z(), e), fs = {
2319
+ }, me = (e) => (M("data-v-4b285730"), e = e(), z(), e), ms = {
2320
2320
  horizontal: "",
2321
2321
  class: "viur-shop-cart-leaf"
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__ */ u("sl-button", {
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", {
2323
2323
  size: "small",
2324
2324
  outline: "",
2325
2325
  class: "viur-shop-cart-leaf-add-to-favourites-btn",
2326
2326
  variant: "primary",
2327
2327
  title: "Add to favourites"
2328
2328
  }, [
2329
- /* @__PURE__ */ u("sl-icon", {
2329
+ /* @__PURE__ */ d("sl-icon", {
2330
2330
  name: "heart",
2331
2331
  slot: "prefix"
2332
2332
  })
2333
- ], -1)), $s = /* @__PURE__ */ ge(() => /* @__PURE__ */ u("sl-icon", {
2333
+ ], -1)), $s = /* @__PURE__ */ me(() => /* @__PURE__ */ d("sl-icon", {
2334
2334
  name: "trash",
2335
2335
  slot: "prefix"
2336
2336
  }, null, -1)), Ss = [
2337
2337
  $s
2338
- ], _s = { class: "viur-shop-cart-leaf-quantity" }, ks = { class: "viur-shop-cart-leaf-unitprice" }, ws = /* @__PURE__ */ ge(() => /* @__PURE__ */ u("div", { class: "viur-shop-cart-leaf-label" }, "Stückpreis", -1)), Es = ["value"], As = { class: "viur-shop-cart-leaf-price" }, Is = /* @__PURE__ */ ge(() => /* @__PURE__ */ u("div", { class: "viur-shop-cart-leaf-label" }, "Gesamtpreis", -1)), Cs = ["value"], Os = {
2338
+ ], _s = { class: "viur-shop-cart-leaf-quantity" }, ks = { class: "viur-shop-cart-leaf-unitprice" }, ws = /* @__PURE__ */ me(() => /* @__PURE__ */ d("div", { class: "viur-shop-cart-leaf-label" }, "Stückpreis", -1)), Es = ["value"], As = { class: "viur-shop-cart-leaf-price" }, Is = /* @__PURE__ */ me(() => /* @__PURE__ */ d("div", { class: "viur-shop-cart-leaf-label" }, "Gesamtpreis", -1)), Cs = ["value"], Os = {
2339
2339
  __name: "CartLeaf",
2340
2340
  props: {
2341
2341
  leaf: { type: Object, required: !0 },
@@ -2347,65 +2347,65 @@ const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785
2347
2347
  leaf: {}
2348
2348
  });
2349
2349
  function o(r) {
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";
2350
+ return r !== void 0 ? mt.downloadUrlFor(r) : "https://images.unsplash.com/photo-1559209172-0ff8f6d49ff7?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=80";
2351
2351
  }
2352
- function a(r, c, d, f) {
2352
+ function a(r, c, u, f) {
2353
2353
  l("updateItem", {
2354
2354
  item: r,
2355
2355
  articleKey: c,
2356
- node: d,
2356
+ node: u,
2357
2357
  quantity: f
2358
2358
  });
2359
2359
  }
2360
- function i(r, c, d) {
2361
- l("removeItem", { item: r, articleKey: c, node: d });
2360
+ function i(r, c, u) {
2361
+ l("removeItem", { item: r, articleKey: c, node: u });
2362
2362
  }
2363
2363
  return x(() => {
2364
2364
  s.leaf = t.leaf;
2365
- }), (r, c) => (m(), h("sl-card", fs, [
2366
- u("img", {
2365
+ }), (r, c) => (m(), h("sl-card", ms, [
2366
+ d("img", {
2367
2367
  class: "viur-shop-cart-leaf-image",
2368
2368
  slot: "image",
2369
2369
  src: o(s.leaf.shop_image ? s.leaf.shop_image : void 0)
2370
2370
  }, null, 8, gs),
2371
- u("h4", hs, B(s.leaf.shop_name), 1),
2372
- u("h5", bs, B(s.leaf.shop_art_no_or_gtin), 1),
2373
- u("div", {
2371
+ d("h4", hs, B(s.leaf.shop_name), 1),
2372
+ d("h5", bs, B(s.leaf.shop_art_no_or_gtin), 1),
2373
+ d("div", {
2374
2374
  class: "viur-shop-cart-leaf-description",
2375
2375
  innerHTML: s.leaf.shop_description
2376
2376
  }, null, 8, vs),
2377
- u("div", ps, [
2377
+ d("div", ps, [
2378
2378
  ys,
2379
- u("sl-button", {
2379
+ d("sl-button", {
2380
2380
  size: "small",
2381
2381
  outline: "",
2382
2382
  class: "viur-shop-cart-leaf-delete-btn",
2383
2383
  variant: "primary",
2384
2384
  title: "Remove from cart",
2385
- onClick: c[0] || (c[0] = (d) => i(s.leaf, s.leaf.article.dest.key, e.node))
2385
+ onClick: c[0] || (c[0] = (u) => i(s.leaf, s.leaf.article.dest.key, e.node))
2386
2386
  }, Ss)
2387
2387
  ]),
2388
- u("div", _s, [
2389
- Z(u("sl-input", {
2388
+ d("div", _s, [
2389
+ Z(d("sl-input", {
2390
2390
  class: "viur-shop-cart-leaf-value viur-shop-cart-leaf-value--quantity",
2391
2391
  type: "number",
2392
2392
  label: "Anzahl",
2393
2393
  placeholder: "Number",
2394
2394
  min: "0",
2395
- "onUpdate:modelValue": c[1] || (c[1] = (d) => s.leaf.quantity = d),
2396
- onInput: c[2] || (c[2] = (d) => a(
2395
+ "onUpdate:modelValue": c[1] || (c[1] = (u) => s.leaf.quantity = u),
2396
+ onInput: c[2] || (c[2] = (u) => a(
2397
2397
  s.leaf,
2398
2398
  s.leaf.article.dest.key,
2399
2399
  e.node,
2400
2400
  s.leaf.quantity
2401
2401
  ))
2402
2402
  }, null, 544), [
2403
- [le, s.leaf.quantity]
2403
+ [se, s.leaf.quantity]
2404
2404
  ])
2405
2405
  ]),
2406
- u("div", ks, [
2406
+ d("div", ks, [
2407
2407
  ws,
2408
- u("sl-format-number", {
2408
+ d("sl-format-number", {
2409
2409
  class: "viur-shop-cart-leaf-value viur-shop-cart-leaf-value--unitprice",
2410
2410
  lang: "de",
2411
2411
  type: "currency",
@@ -2413,9 +2413,9 @@ const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785
2413
2413
  value: s.leaf.price.retail
2414
2414
  }, null, 8, Es)
2415
2415
  ]),
2416
- u("div", As, [
2416
+ d("div", As, [
2417
2417
  Is,
2418
- u("sl-format-number", {
2418
+ d("sl-format-number", {
2419
2419
  class: "viur-shop-cart-leaf-value viur-shop-cart-leaf-value--price",
2420
2420
  lang: "de",
2421
2421
  type: "currency",
@@ -2425,33 +2425,15 @@ const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785
2425
2425
  ])
2426
2426
  ]));
2427
2427
  }
2428
- }, js = /* @__PURE__ */ I(Os, [["__scopeId", "data-v-4b285730"]]), ee = (e) => (M("data-v-02879600"), e = e(), z(), e), Bs = { key: 0 }, Ds = /* @__PURE__ */ ee(() => /* @__PURE__ */ u("p", null, "Möchten Sie den Artikel wirklich aus dem Warenkorb entfernen?", -1)), Vs = {
2428
+ }, js = /* @__PURE__ */ I(Os, [["__scopeId", "data-v-4b285730"]]), Ye = (e) => (M("data-v-8dd1e557"), e = e(), z(), e), Bs = { key: 0 }, Ds = /* @__PURE__ */ Ye(() => /* @__PURE__ */ d("p", null, "Möchten Sie den Artikel wirklich aus dem Warenkorb entfernen?", -1)), Vs = {
2429
2429
  class: "footer-wrap",
2430
2430
  slot: "footer"
2431
- }, Ns = { class: "viur-shop-cart-node" }, Rs = /* @__PURE__ */ ee(() => /* @__PURE__ */ u("h2", { class: "viur-shop-cart-sidebar-headline headline" }, "Zusammenfassung", -1)), Ls = /* @__PURE__ */ ee(() => /* @__PURE__ */ u("br", null, null, -1)), Us = /* @__PURE__ */ ee(() => /* @__PURE__ */ u("sl-input", {
2432
- label: "Rabattcode eingeben",
2433
- class: "viur-shop-cart-sidebar-coupon-input"
2434
- }, null, -1)), Ts = /* @__PURE__ */ ee(() => /* @__PURE__ */ u("br", null, null, -1)), Ps = /* @__PURE__ */ ee(() => /* @__PURE__ */ u("div", { class: "viur-shop-cart-sidebar-btn-wrap" }, [
2435
- /* @__PURE__ */ u("sl-button", {
2436
- variant: "primary",
2437
- size: "medium"
2438
- }, " Jetzt Bestellen "),
2439
- /* @__PURE__ */ u("sl-button", {
2440
- size: "medium",
2441
- variant: "info"
2442
- }, [
2443
- /* @__PURE__ */ u("sl-icon", {
2444
- name: "paypal",
2445
- slot: "prefix"
2446
- }),
2447
- /* @__PURE__ */ j(" Paypal ")
2448
- ])
2449
- ], -1)), Ms = /* @__PURE__ */ ee(() => /* @__PURE__ */ u("div", { class: "viur-shop-cart-mobile-footer" }, [
2450
- /* @__PURE__ */ u("sl-button", {
2431
+ }, Ns = { class: "viur-shop-cart-node" }, Rs = /* @__PURE__ */ Ye(() => /* @__PURE__ */ d("div", { class: "viur-shop-cart-mobile-footer" }, [
2432
+ /* @__PURE__ */ d("sl-button", {
2451
2433
  variant: "primary",
2452
2434
  size: "medium"
2453
2435
  }, " Jetzt Bestellen ")
2454
- ], -1)), zs = {
2436
+ ], -1)), Ls = {
2455
2437
  __name: "CartView",
2456
2438
  props: {
2457
2439
  mode: { type: String, default: "basket" },
@@ -2459,7 +2441,7 @@ const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785
2459
2441
  sidebar: { type: Boolean, default: !0 }
2460
2442
  },
2461
2443
  setup(e) {
2462
- const n = e, t = oe(), l = q(null), s = w({
2444
+ const n = e, t = re(), l = q(null), s = w({
2463
2445
  itemsIsInit: S(() => !0),
2464
2446
  images: {},
2465
2447
  currentItem: {},
@@ -2487,31 +2469,31 @@ const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785
2487
2469
  }), s.currentItem = {}, s.currentNode = {};
2488
2470
  }
2489
2471
  async function c() {
2490
- s.nodes = [], s.leaves = {}, await t.init(), await d();
2472
+ s.nodes = [], s.leaves = {}, await t.init(), await u();
2491
2473
  }
2492
- async function d(f = n.cartKey) {
2474
+ async function u(f = n.cartKey) {
2493
2475
  console.log("debug getChildren parentKey from comp: ", f);
2494
2476
  const p = await t.getChildren(f);
2495
2477
  console.log("getChildren children: ", p), p.forEach(async (v) => {
2496
- v.skel_type === "node" ? (s.nodes.push(v), await d(v.key)) : (Object.keys(s.leaves).includes(f) || (s.leaves[f] = []), s.leaves[f].push(v));
2478
+ v.skel_type === "node" ? (s.nodes.push(v), await u(v.key)) : (Object.keys(s.leaves).includes(f) || (s.leaves[f] = []), s.leaves[f].push(v));
2497
2479
  });
2498
2480
  }
2499
2481
  return x(async () => {
2500
- await t.init(), await d(), n.mode === "basket" && s.nodes.push(t.state.basketRootNode), console.log("state.nodes test", s.nodes), console.log("state.leaves", s.leaves);
2482
+ await t.init(), await u(), n.mode === "basket" && s.nodes.push(t.state.basketRootNode), console.log("state.nodes test", s.nodes), console.log("state.leaves", s.leaves);
2501
2483
  }), (f, p) => e.cartKey.length ? (m(), h(E, { key: 1 }, [
2502
- u("sl-dialog", {
2484
+ d("sl-dialog", {
2503
2485
  ref_key: "confirm",
2504
2486
  ref: l,
2505
2487
  onSlHide: r
2506
2488
  }, [
2507
2489
  Ds,
2508
- u("div", Vs, [
2509
- u("sl-button", {
2490
+ d("div", Vs, [
2491
+ d("sl-button", {
2510
2492
  variant: "danger",
2511
2493
  onClick: p[0] || (p[0] = (v) => l.value.hide()),
2512
2494
  size: "medium"
2513
2495
  }, " Abbrechen "),
2514
- u("sl-button", {
2496
+ d("sl-button", {
2515
2497
  variant: "success",
2516
2498
  onClick: o,
2517
2499
  size: "medium"
@@ -2520,7 +2502,7 @@ const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785
2520
2502
  ], 544),
2521
2503
  (m(!0), h(E, null, U(s.nodes, (v) => (m(), h("div", Ns, [
2522
2504
  Object.keys(s.leaves).includes(v.key) ? (m(), h(E, { key: 0 }, [
2523
- dt(ms, { node: v }, null, 8, ["node"]),
2505
+ ut(fs, { node: v }, null, 8, ["node"]),
2524
2506
  (m(!0), h(E, null, U(s.leaves[v.key], (_) => (m(), T(js, {
2525
2507
  key: _.key,
2526
2508
  leaf: _,
@@ -2530,92 +2512,82 @@ const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785
2530
2512
  }, null, 8, ["leaf", "node"]))), 128))
2531
2513
  ], 64)) : k("", !0)
2532
2514
  ]))), 256)),
2533
- e.sidebar ? (m(), T(Ze, {
2534
- key: 0,
2535
- to: "#order_sidebar"
2536
- }, [
2537
- Rs,
2538
- Ls,
2539
- Us,
2540
- Ts,
2541
- Ps
2542
- ])) : k("", !0),
2543
- Ms
2515
+ Rs
2544
2516
  ], 64)) : (m(), h("sl-spinner", Bs));
2545
2517
  }
2546
- }, we = /* @__PURE__ */ I(zs, [["__scopeId", "data-v-02879600"]]), Ws = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2518
+ }, ke = /* @__PURE__ */ I(Ls, [["__scopeId", "data-v-8dd1e557"]]), Us = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2547
2519
  __proto__: null,
2548
- default: we
2549
- }, Symbol.toStringTag, { value: "Module" })), J = (e) => (M("data-v-b7b745be"), e = e(), z(), e), qs = {
2520
+ default: ke
2521
+ }, Symbol.toStringTag, { value: "Module" })), J = (e) => (M("data-v-b7b745be"), e = e(), z(), e), Ts = {
2550
2522
  key: 1,
2551
2523
  class: "list"
2552
- }, Fs = /* @__PURE__ */ J(() => /* @__PURE__ */ u("h2", { class: "viur-shop-cart-headline headline" }, "Bestellung prüfen", -1)), Ks = /* @__PURE__ */ J(() => /* @__PURE__ */ u("br", null, null, -1)), Hs = /* @__PURE__ */ J(() => /* @__PURE__ */ u("div", { class: "viur-shop-cart-address-wrap" }, [
2553
- /* @__PURE__ */ u("div", { class: "viur-shop-cart-address" }, [
2554
- /* @__PURE__ */ u("div", { class: "viur-shop-cart-address-headline" }, [
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" }, [
2525
+ /* @__PURE__ */ d("div", { class: "viur-shop-cart-address" }, [
2526
+ /* @__PURE__ */ d("div", { class: "viur-shop-cart-address-headline" }, [
2555
2527
  /* @__PURE__ */ j(" Versandadresse "),
2556
- /* @__PURE__ */ u("sl-button", {
2528
+ /* @__PURE__ */ d("sl-button", {
2557
2529
  outline: "",
2558
2530
  size: "small"
2559
2531
  }, [
2560
- /* @__PURE__ */ u("sl-icon", {
2532
+ /* @__PURE__ */ d("sl-icon", {
2561
2533
  name: "pencil",
2562
2534
  slot: "prefix"
2563
2535
  })
2564
2536
  ])
2565
2537
  ]),
2566
2538
  /* @__PURE__ */ j(" Roland Brose"),
2567
- /* @__PURE__ */ u("br"),
2539
+ /* @__PURE__ */ d("br"),
2568
2540
  /* @__PURE__ */ j(" Speicherstraße 33"),
2569
- /* @__PURE__ */ u("br"),
2541
+ /* @__PURE__ */ d("br"),
2570
2542
  /* @__PURE__ */ j(" 44147 Dortmund, DE"),
2571
- /* @__PURE__ */ u("br"),
2572
- /* @__PURE__ */ u("br"),
2543
+ /* @__PURE__ */ d("br"),
2544
+ /* @__PURE__ */ d("br"),
2573
2545
  /* @__PURE__ */ j(" rb@mausbrand.de"),
2574
- /* @__PURE__ */ u("br"),
2546
+ /* @__PURE__ */ d("br"),
2575
2547
  /* @__PURE__ */ j(" 0231 21 34 68 90 ")
2576
2548
  ]),
2577
- /* @__PURE__ */ u("div", { class: "viur-shop-cart-address" }, [
2578
- /* @__PURE__ */ u("div", { class: "viur-shop-cart-address-headline" }, [
2549
+ /* @__PURE__ */ d("div", { class: "viur-shop-cart-address" }, [
2550
+ /* @__PURE__ */ d("div", { class: "viur-shop-cart-address-headline" }, [
2579
2551
  /* @__PURE__ */ j(" Rechnungsadresse "),
2580
- /* @__PURE__ */ u("sl-button", {
2552
+ /* @__PURE__ */ d("sl-button", {
2581
2553
  outline: "",
2582
2554
  size: "small"
2583
2555
  }, [
2584
- /* @__PURE__ */ u("sl-icon", {
2556
+ /* @__PURE__ */ d("sl-icon", {
2585
2557
  name: "pencil",
2586
2558
  slot: "prefix"
2587
2559
  })
2588
2560
  ])
2589
2561
  ]),
2590
2562
  /* @__PURE__ */ j(" Roland Brose"),
2591
- /* @__PURE__ */ u("br"),
2563
+ /* @__PURE__ */ d("br"),
2592
2564
  /* @__PURE__ */ j(" Speicherstraße 33"),
2593
- /* @__PURE__ */ u("br"),
2565
+ /* @__PURE__ */ d("br"),
2594
2566
  /* @__PURE__ */ j(" 44147 Dortmund, DE"),
2595
- /* @__PURE__ */ u("br"),
2596
- /* @__PURE__ */ u("br"),
2567
+ /* @__PURE__ */ d("br"),
2568
+ /* @__PURE__ */ d("br"),
2597
2569
  /* @__PURE__ */ j(" rb@mausbrand.de"),
2598
- /* @__PURE__ */ u("br"),
2570
+ /* @__PURE__ */ d("br"),
2599
2571
  /* @__PURE__ */ j(" 0231 21 34 68 90 ")
2600
2572
  ])
2601
- ], -1)), Gs = /* @__PURE__ */ J(() => /* @__PURE__ */ u("div", { class: "viur-shop-cart-payment" }, [
2602
- /* @__PURE__ */ u("div", { class: "viur-shop-cart-payment-method" }, [
2603
- /* @__PURE__ */ u("span", null, "Zahlungsmethode:"),
2573
+ ], -1)), zs = /* @__PURE__ */ J(() => /* @__PURE__ */ d("div", { class: "viur-shop-cart-payment" }, [
2574
+ /* @__PURE__ */ d("div", { class: "viur-shop-cart-payment-method" }, [
2575
+ /* @__PURE__ */ d("span", null, "Zahlungsmethode:"),
2604
2576
  /* @__PURE__ */ j(" Paypal ")
2605
2577
  ]),
2606
- /* @__PURE__ */ u("sl-button", {
2578
+ /* @__PURE__ */ d("sl-button", {
2607
2579
  outline: "",
2608
2580
  size: "small"
2609
2581
  }, [
2610
- /* @__PURE__ */ u("sl-icon", {
2582
+ /* @__PURE__ */ d("sl-icon", {
2611
2583
  name: "pencil",
2612
2584
  slot: "prefix"
2613
2585
  })
2614
2586
  ])
2615
- ], -1)), Zs = /* @__PURE__ */ J(() => /* @__PURE__ */ u("h2", { class: "viur-shop-cart-headline headline" }, "Warenkorb", -1)), Js = /* @__PURE__ */ J(() => /* @__PURE__ */ u("br", null, null, -1)), Qs = /* @__PURE__ */ J(() => /* @__PURE__ */ u("h2", { class: "viur-shop-cart-sidebar-headline headline" }, "Jetzt Bestellen", -1)), Ys = /* @__PURE__ */ J(() => /* @__PURE__ */ u("br", null, null, -1)), Xs = { class: "viur-shop-cart-sidebar-btn-wrap" }, xs = ["variant", "disabled"], el = {
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 = {
2616
2588
  __name: "ConfirmView",
2617
2589
  setup(e) {
2618
- const n = oe(), t = w({
2590
+ const n = re(), t = w({
2619
2591
  cartIsInit: S(() => !0),
2620
2592
  itemsIsInit: S(() => {
2621
2593
  var s;
@@ -2629,40 +2601,40 @@ const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785
2629
2601
  }
2630
2602
  return x(async () => {
2631
2603
  await n.init();
2632
- }), (s, o) => t.cartIsInit ? (m(), h("div", qs, [
2604
+ }), (s, o) => t.cartIsInit ? (m(), h("div", Ts, [
2605
+ Ps,
2606
+ Ms,
2607
+ Ws,
2608
+ zs,
2609
+ qs,
2633
2610
  Fs,
2634
- Ks,
2635
- Hs,
2636
- Gs,
2637
- Zs,
2638
- Js,
2639
- (m(), T(Ze, { to: "#order_sidebar" }, [
2640
- Qs,
2641
- Ys,
2642
- u("sl-checkbox", { onSlChange: l }, " Ich akzeptiere die geltenden AGBs und Datenschutzbestimmungen ", 32),
2643
- u("div", Xs, [
2644
- u("sl-button", {
2611
+ (m(), T(dt, { to: "#order_sidebar" }, [
2612
+ Ks,
2613
+ Hs,
2614
+ d("sl-checkbox", { onSlChange: l }, " Ich akzeptiere die geltenden AGBs und Datenschutzbestimmungen ", 32),
2615
+ d("div", Gs, [
2616
+ d("sl-button", {
2645
2617
  variant: t.showOrderButton ? "info" : "disabled",
2646
2618
  size: "small",
2647
2619
  disabled: !t.showOrderButton
2648
- }, " Zahlungspflichtig bestellen ", 8, xs)
2620
+ }, " Zahlungspflichtig bestellen ", 8, Zs)
2649
2621
  ])
2650
2622
  ]))
2651
2623
  ])) : (m(), T(cs, { key: 0 }));
2652
2624
  }
2653
- }, Ee = /* @__PURE__ */ I(el, [["__scopeId", "data-v-b7b745be"]]), tl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2625
+ }, we = /* @__PURE__ */ I(Js, [["__scopeId", "data-v-b7b745be"]]), Qs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2654
2626
  __proto__: null,
2655
- default: Ee
2656
- }, Symbol.toStringTag, { value: "Module" })), nl = (e) => (M("data-v-0e63188d"), e = e(), z(), e), al = { class: "bind viur-shop-wrap" }, sl = ["panel", "disabled"], ll = { class: "viur-shop-order-step" }, rl = ["name", "library"], ol = { class: "viur-shop-order-status-text" }, il = {
2627
+ default: we
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 = {
2657
2629
  key: 0,
2658
2630
  name: "chevron-right",
2659
2631
  class: "viur-shop-order-tab-check"
2660
- }, ul = ["name"], dl = ["onClick"], cl = ["onClick"], ml = /* @__PURE__ */ nl(() => /* @__PURE__ */ u("div", { class: "viur-shop-sidebar-wrap" }, [
2661
- /* @__PURE__ */ u("div", {
2632
+ }, sl = ["name"], ll = ["onClick"], rl = ["onClick"], ol = /* @__PURE__ */ Ys(() => /* @__PURE__ */ d("div", { class: "viur-shop-sidebar-wrap" }, [
2633
+ /* @__PURE__ */ d("div", {
2662
2634
  class: "viur-shop-sidebar",
2663
2635
  id: "order_sidebar"
2664
2636
  })
2665
- ], -1)), fl = {
2637
+ ], -1)), il = {
2666
2638
  __name: "OrderView",
2667
2639
  props: {
2668
2640
  tabs: {
@@ -2674,27 +2646,27 @@ const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785
2674
2646
  setup(e, { emit: n }) {
2675
2647
  const t = e, l = n, s = w({
2676
2648
  tabNames: S(() => a(t.tabs)),
2677
- isFirstTab: (d) => d === 0
2649
+ isFirstTab: (u) => u === 0
2678
2650
  }), o = q(null);
2679
- function a(d) {
2651
+ function a(u) {
2680
2652
  let f = [], p = [];
2681
- for (const v in d)
2682
- d[v].position ? f.push([v, d[v].position]) : f.push([v, 0]);
2653
+ for (const v in u)
2654
+ u[v].position ? f.push([v, u[v].position]) : f.push([v, 0]);
2683
2655
  return f.sort((v, _) => v[1] - _[1]), f.forEach((v) => {
2684
2656
  p.push(v[0]);
2685
2657
  }), p;
2686
2658
  }
2687
- function i(d) {
2688
- l("tabChange", d);
2659
+ function i(u) {
2660
+ l("tabChange", u);
2689
2661
  }
2690
- function r(d) {
2691
- o.value.show(d);
2662
+ function r(u) {
2663
+ o.value.show(u);
2692
2664
  }
2693
- function c(d) {
2694
- o.value.show(d);
2665
+ function c(u) {
2666
+ o.value.show(u);
2695
2667
  }
2696
- return (d, f) => (m(), h("div", al, [
2697
- u("sl-tab-group", {
2668
+ return (u, f) => (m(), h("div", Xs, [
2669
+ d("sl-tab-group", {
2698
2670
  class: "viur-shop-order-tabgroup",
2699
2671
  noScrollControls: "",
2700
2672
  onSlTabShow: i,
@@ -2708,74 +2680,74 @@ const cs = /* @__PURE__ */ I(ke, [["render", ds], ["__scopeId", "data-v-46c45785
2708
2680
  key: p,
2709
2681
  disabled: e.tabs[p].disabled
2710
2682
  }, [
2711
- u("div", ll, [
2712
- u("sl-icon", {
2683
+ d("div", el, [
2684
+ d("sl-icon", {
2713
2685
  class: "viur-shop-order-step-icon",
2714
2686
  name: e.tabs[p].icon.name,
2715
2687
  library: e.tabs[p].icon.library
2716
- }, null, 8, rl),
2717
- u("div", ol, B(v + 1) + ". " + B(e.tabs[p].displayName), 1)
2688
+ }, null, 8, tl),
2689
+ d("div", nl, B(v + 1) + ". " + B(e.tabs[p].displayName), 1)
2718
2690
  ]),
2719
- v < s.tabNames.length - 1 ? (m(), h("sl-icon", il)) : k("", !0)
2720
- ], 8, sl))), 128)),
2691
+ v < s.tabNames.length - 1 ? (m(), h("sl-icon", al)) : k("", !0)
2692
+ ], 8, xs))), 128)),
2721
2693
  (m(!0), h(E, null, U(s.tabNames, (p, v) => (m(), h("sl-tab-panel", {
2722
2694
  class: "viur-shop-order-tab-panel",
2723
2695
  name: p,
2724
2696
  key: p
2725
2697
  }, [
2726
- (m(), T(ct(e.tabs[p].component), mt({ ref_for: !0 }, e.tabs[p].props ? e.tabs[p].props : ""), null, 16)),
2698
+ (m(), T(ct(e.tabs[p].component), ft({ ref_for: !0 }, e.tabs[p].props ? e.tabs[p].props : ""), null, 16)),
2727
2699
  v !== s.tabNames.length - 1 ? (m(), h("div", {
2728
2700
  key: 0,
2729
- class: ye(["viur-shop-form-footer", { "flex-end": s.isFirstTab(v) }])
2701
+ class: pe(["viur-shop-form-footer", { "flex-end": s.isFirstTab(v) }])
2730
2702
  }, [
2731
- Z(u("sl-button", {
2703
+ Z(d("sl-button", {
2732
2704
  type: "submit",
2733
2705
  onClick: (_) => r(s.tabNames[v - 1])
2734
- }, " Zurück ", 8, dl), [
2735
- [ve, v !== 0]
2706
+ }, " Zurück ", 8, ll), [
2707
+ [be, v !== 0]
2736
2708
  ]),
2737
- u("sl-button", {
2709
+ d("sl-button", {
2738
2710
  type: "submit",
2739
2711
  variant: "primary",
2740
2712
  onClick: (_) => c(s.tabNames[v + 1])
2741
- }, " Weiter ", 8, cl)
2713
+ }, " Weiter ", 8, rl)
2742
2714
  ], 2)) : k("", !0)
2743
- ], 8, ul))), 128))
2715
+ ], 8, sl))), 128))
2744
2716
  ], 544),
2745
- ml
2717
+ ol
2746
2718
  ]));
2747
2719
  }
2748
- }, gl = /* @__PURE__ */ I(fl, [["__scopeId", "data-v-0e63188d"]]), hl = {}, he = (e) => (M("data-v-36ccc280"), e = e(), z(), e), bl = { class: "bind" }, vl = /* @__PURE__ */ he(() => /* @__PURE__ */ u("h1", { class: "headline" }, "Vielen Dank für Ihre Bestellung", -1)), pl = /* @__PURE__ */ he(() => /* @__PURE__ */ u("br", null, null, -1)), yl = /* @__PURE__ */ he(() => /* @__PURE__ */ u("p", { class: "paragraph" }, [
2749
- /* @__PURE__ */ u("strong", null, "Ihre Bestellnummer:"),
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" }, [
2721
+ /* @__PURE__ */ d("strong", null, "Ihre Bestellnummer:"),
2750
2722
  /* @__PURE__ */ j(" 123345670 ")
2751
- ], -1)), $l = /* @__PURE__ */ he(() => /* @__PURE__ */ u("p", { class: "paragraph" }, [
2723
+ ], -1)), hl = /* @__PURE__ */ ge(() => /* @__PURE__ */ d("p", { class: "paragraph" }, [
2752
2724
  /* @__PURE__ */ j(" Wir haben Ihre Bestellung erhalten und werden diese schenllstmöglich bearbeiten."),
2753
- /* @__PURE__ */ u("br"),
2725
+ /* @__PURE__ */ d("br"),
2754
2726
  /* @__PURE__ */ j(" Sie erhalten in wenigen Minuten eine Bestätigung per E-Mail. "),
2755
- /* @__PURE__ */ u("div", { class: "btn-wrap" }, [
2756
- /* @__PURE__ */ u("sl-button", { size: "medium" }, " Zur Startseite "),
2757
- /* @__PURE__ */ u("sl-button", {
2727
+ /* @__PURE__ */ d("div", { class: "btn-wrap" }, [
2728
+ /* @__PURE__ */ d("sl-button", { size: "medium" }, " Zur Startseite "),
2729
+ /* @__PURE__ */ d("sl-button", {
2758
2730
  variant: "primary",
2759
2731
  size: "medium"
2760
2732
  }, " Weiter Einkaufen ")
2761
2733
  ])
2762
- ], -1)), Sl = [
2763
- vl,
2764
- pl,
2765
- yl,
2766
- $l
2734
+ ], -1)), bl = [
2735
+ fl,
2736
+ ml,
2737
+ gl,
2738
+ hl
2767
2739
  ];
2768
- function _l(e, n) {
2769
- return m(), h("div", bl, Sl);
2740
+ function vl(e, n) {
2741
+ return m(), h("div", cl, bl);
2770
2742
  }
2771
- const kl = /* @__PURE__ */ I(hl, [["render", _l], ["__scopeId", "data-v-36ccc280"]]), Ae = (e) => (M("data-v-b68a2bfa"), e = e(), z(), e), wl = /* @__PURE__ */ Ae(() => /* @__PURE__ */ u("h2", { class: "viur-shop-form-headline headline" }, "Nutzterdaten", -1)), El = /* @__PURE__ */ Ae(() => /* @__PURE__ */ u("h2", { class: "viur-shop-form-headline headline" }, "Lieferadresse", -1)), Al = { key: 0 }, Il = /* @__PURE__ */ Ae(() => /* @__PURE__ */ u("h2", { class: "viur-shop-form-headline headline" }, "Rechnungsadresse", -1)), Cl = {
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 }, _l = /* @__PURE__ */ Ee(() => /* @__PURE__ */ d("h2", { class: "viur-shop-form-headline headline" }, "Rechnungsadresse", -1)), kl = {
2772
2744
  __name: "UserInformation",
2773
2745
  props: {
2774
2746
  mode: { type: String, default: "form" },
2775
2747
  conditions: { type: Function }
2776
2748
  },
2777
2749
  setup(e) {
2778
- const n = oe(), t = w({
2750
+ const n = re(), t = w({
2779
2751
  formValues: {},
2780
2752
  requiredFieldsFilled: S(() => {
2781
2753
  if (t.isCustomAdress)
@@ -2797,89 +2769,89 @@ const kl = /* @__PURE__ */ I(hl, [["render", _l], ["__scopeId", "data-v-36ccc280
2797
2769
  function o(a) {
2798
2770
  let i = {};
2799
2771
  return Array.isArray(a) ? (a.forEach((r) => {
2800
- let c = r[0], d = r[1];
2801
- i[c] = d;
2772
+ let c = r[0], u = r[1];
2773
+ i[c] = u;
2802
2774
  }), console.log("output", i), i) : a;
2803
2775
  }
2804
- return ae(t.formValues, (a) => {
2776
+ return ne(t.formValues, (a) => {
2805
2777
  Object.entries(a).forEach(([i, r]) => {
2806
2778
  r === "" && delete t.formValues[i];
2807
2779
  });
2808
2780
  }), x(async () => {
2809
2781
  await n.getAdressStructure(), t.addSkel = o(n.state.structure.address);
2810
2782
  }), (a, i) => {
2811
- const r = se("bone");
2783
+ const r = ae("bone");
2812
2784
  return m(), h(E, null, [
2813
- u("div", null, [
2785
+ d("div", null, [
2814
2786
  j(" test "),
2815
- wl,
2816
- (m(!0), h(E, null, U(t.addSkel, (c, d) => (m(), h(E, { key: d }, [
2817
- j(B(d) + " ", 1),
2787
+ yl,
2788
+ (m(!0), h(E, null, U(t.addSkel, (c, u) => (m(), h(E, { key: u }, [
2789
+ j(B(u) + " ", 1),
2818
2790
  c.visible && c.params.group === "Customer Info" ? (m(), T(r, {
2819
2791
  key: 0,
2820
2792
  is: K(X)(c.type),
2821
- name: d,
2793
+ name: u,
2822
2794
  structure: o(t.addSkel),
2823
- errors: t.errors[d] ? t.errors[d] : [],
2795
+ errors: t.errors[u] ? t.errors[u] : [],
2824
2796
  skel: t.formValues,
2825
- onChange: (f) => s(d, f),
2797
+ onChange: (f) => s(u, f),
2826
2798
  class: "viur-shop-form-grid-w-2"
2827
2799
  }, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) : k("", !0)
2828
2800
  ], 64))), 128))
2829
2801
  ]),
2830
- u("div", null, [
2831
- El,
2832
- (m(!0), h(E, null, U(t.addSkel, (c, d) => (m(), h(E, { key: d }, [
2802
+ d("div", null, [
2803
+ $l,
2804
+ (m(!0), h(E, null, U(t.addSkel, (c, u) => (m(), h(E, { key: u }, [
2833
2805
  c.visible && c.params.group === "Customer Address" ? (m(), T(r, {
2834
2806
  key: 0,
2835
2807
  is: K(X)(c.type),
2836
- name: d,
2808
+ name: u,
2837
2809
  structure: o(t.addSkel),
2838
- errors: t.errors[d] ? t.errors[d] : [],
2810
+ errors: t.errors[u] ? t.errors[u] : [],
2839
2811
  skel: t.formValues,
2840
- onChange: (f) => s(d, f)
2812
+ onChange: (f) => s(u, f)
2841
2813
  }, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) : k("", !0)
2842
2814
  ], 64))), 128))
2843
2815
  ]),
2844
- t.isCustomAdress ? (m(), h("div", Al, [
2845
- Il,
2846
- (m(!0), h(E, null, U(t.addSkel, (c, d) => (m(), h(E, { key: d }, [
2816
+ t.isCustomAdress ? (m(), h("div", Sl, [
2817
+ _l,
2818
+ (m(!0), h(E, null, U(t.addSkel, (c, u) => (m(), h(E, { key: u }, [
2847
2819
  c.visible && c.params.group === "Customer Address" ? (m(), T(r, {
2848
2820
  key: 0,
2849
2821
  is: K(X)(c.type),
2850
- name: d,
2822
+ name: u,
2851
2823
  structure: o(t.addSkel),
2852
- errors: t.errors[d] ? t.errors[d] : [],
2824
+ errors: t.errors[u] ? t.errors[u] : [],
2853
2825
  skel: t.formValues,
2854
- onChange: (f) => s(d, f)
2826
+ onChange: (f) => s(u, f)
2855
2827
  }, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) : k("", !0)
2856
2828
  ], 64))), 128))
2857
2829
  ])) : k("", !0),
2858
- u("sl-checkbox", {
2830
+ d("sl-checkbox", {
2859
2831
  onSlChange: l,
2860
2832
  checked: ""
2861
2833
  }, " Rechnungsadresse wie Lieferadresse ", 32)
2862
2834
  ], 64);
2863
2835
  };
2864
2836
  }
2865
- }, Ol = /* @__PURE__ */ I(Cl, [["__scopeId", "data-v-b68a2bfa"]]), te = (e) => (M("data-v-a4accf28"), e = e(), z(), e), jl = /* @__PURE__ */ te(() => /* @__PURE__ */ u("h2", { class: "viur-shop-form-headline headline" }, "Nutzterdaten", -1)), Bl = /* @__PURE__ */ te(() => /* @__PURE__ */ u("h2", { class: "viur-shop-form-headline headline" }, "Lieferadresse", -1)), Dl = ["onSlChange", "onSlClear", "label"], Vl = ["value"], Nl = { key: 0 }, Rl = /* @__PURE__ */ te(() => /* @__PURE__ */ u("h2", { class: "viur-shop-form-headline headline" }, "Rechnungsadresse", -1)), Ll = /* @__PURE__ */ te(() => /* @__PURE__ */ u("sl-icon", {
2837
+ }, wl = /* @__PURE__ */ I(kl, [["__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", {
2866
2838
  name: "x-lg",
2867
2839
  slot: "prefix"
2868
- }, null, -1)), Ul = [
2869
- Ll
2870
- ], Tl = /* @__PURE__ */ te(() => /* @__PURE__ */ u("sl-icon", {
2840
+ }, null, -1)), Dl = [
2841
+ Bl
2842
+ ], Vl = /* @__PURE__ */ ee(() => /* @__PURE__ */ d("sl-icon", {
2871
2843
  name: "plus-lg",
2872
2844
  slot: "prefix"
2873
- }, null, -1)), Pl = /* @__PURE__ */ te(() => /* @__PURE__ */ u("sl-icon", {
2845
+ }, null, -1)), Nl = /* @__PURE__ */ ee(() => /* @__PURE__ */ d("sl-icon", {
2874
2846
  slot: "icon",
2875
2847
  name: "exclamation-triangle"
2876
- }, null, -1)), Ml = /* @__PURE__ */ te(() => /* @__PURE__ */ u("br", null, null, -1)), zl = {
2848
+ }, null, -1)), Rl = /* @__PURE__ */ ee(() => /* @__PURE__ */ d("br", null, null, -1)), Ll = {
2877
2849
  __name: "UserInfoMulti",
2878
2850
  props: {
2879
2851
  mode: { type: String, default: "form" }
2880
2852
  },
2881
2853
  setup(e) {
2882
- const n = oe(), t = w({
2854
+ const n = re(), t = w({
2883
2855
  formValues: {},
2884
2856
  requiredFieldsFilled: S(() => {
2885
2857
  if (t.isCustomAdress)
@@ -2922,12 +2894,12 @@ const kl = /* @__PURE__ */ I(hl, [["render", _l], ["__scopeId", "data-v-36ccc280
2922
2894
  }
2923
2895
  function c(p, v) {
2924
2896
  if (console.log(p.target.value), !p.target.value.length) {
2925
- d();
2897
+ u();
2926
2898
  return;
2927
2899
  }
2928
2900
  t.selectedItem[v] = p.target.value, t.isItemSelected = !0;
2929
2901
  }
2930
- function d(p, v) {
2902
+ function u(p, v) {
2931
2903
  console.log("clearing..."), delete t.selectedItem[v], t.isItemSelected = !1;
2932
2904
  }
2933
2905
  function f(p) {
@@ -2937,17 +2909,17 @@ const kl = /* @__PURE__ */ I(hl, [["render", _l], ["__scopeId", "data-v-36ccc280
2937
2909
  v[g] = b;
2938
2910
  }), v) : p;
2939
2911
  }
2940
- return ae(t.formValues, (p) => {
2912
+ return ne(t.formValues, (p) => {
2941
2913
  Object.entries(p).forEach(([v, _]) => {
2942
2914
  _ === "" && delete t.formValues[v];
2943
2915
  });
2944
2916
  }), x(async () => {
2945
2917
  await n.getAdressStructure(), t.addSkel = f(n.state.structure.address);
2946
2918
  }), (p, v) => {
2947
- const _ = se("bone");
2919
+ const _ = ae("bone");
2948
2920
  return m(), h(E, null, [
2949
- u("div", null, [
2950
- jl,
2921
+ d("div", null, [
2922
+ El,
2951
2923
  (m(!0), h(E, null, U(t.addSkel, (g, b) => (m(), h(E, { key: b }, [
2952
2924
  g.visible && g.params.group === "Customer Info" ? (m(), T(_, {
2953
2925
  key: 0,
@@ -2961,20 +2933,20 @@ const kl = /* @__PURE__ */ I(hl, [["render", _l], ["__scopeId", "data-v-36ccc280
2961
2933
  }, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) : k("", !0)
2962
2934
  ], 64))), 128))
2963
2935
  ]),
2964
- Bl,
2936
+ Al,
2965
2937
  (m(!0), h(E, null, U(t.shippingAdressAmount, (g) => (m(), h("div", { key: g }, [
2966
- u("sl-select", {
2938
+ d("sl-select", {
2967
2939
  clearable: "",
2968
2940
  ref_for: !0,
2969
2941
  ref_key: "itemSelection",
2970
2942
  ref: l,
2971
2943
  onSlChange: (b) => c(b, g),
2972
- onSlClear: (b) => d(b, g),
2944
+ onSlClear: (b) => u(b, g),
2973
2945
  label: t.selectedItem[g] ? K(n).state.carts[t.selectedItem[g]].info.name : "Warenkorb für Adresse wählen.",
2974
2946
  class: "grid-w-4"
2975
2947
  }, [
2976
- (m(!0), h(E, null, U(K(n).state.carts, (b, y) => (m(), h("sl-option", { value: y }, B(b.info.name), 9, Vl))), 256))
2977
- ], 40, Dl),
2948
+ (m(!0), h(E, null, U(K(n).state.carts, (b, y) => (m(), h("sl-option", { value: y }, B(b.info.name), 9, Cl))), 256))
2949
+ ], 40, Il),
2978
2950
  (m(!0), h(E, null, U(t.addSkel, (b, y) => (m(), h(E, { key: y }, [
2979
2951
  b.visible && b.params.group === "Customer Address" ? (m(), T(_, {
2980
2952
  key: 0,
@@ -2987,8 +2959,8 @@ const kl = /* @__PURE__ */ I(hl, [["render", _l], ["__scopeId", "data-v-36ccc280
2987
2959
  }, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) : k("", !0)
2988
2960
  ], 64))), 128))
2989
2961
  ]))), 128)),
2990
- t.isCustomAdress ? (m(), h("div", Nl, [
2991
- Rl,
2962
+ t.isCustomAdress ? (m(), h("div", Ol, [
2963
+ jl,
2992
2964
  (m(!0), h(E, null, U(t.addSkel, (g, b) => (m(), h(E, { key: b }, [
2993
2965
  g.visible && g.params.group === "Customer Address" ? (m(), T(_, {
2994
2966
  key: 0,
@@ -3001,50 +2973,50 @@ const kl = /* @__PURE__ */ I(hl, [["render", _l], ["__scopeId", "data-v-36ccc280
3001
2973
  }, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) : k("", !0)
3002
2974
  ], 64))), 128))
3003
2975
  ])) : k("", !0),
3004
- u("div", { class: "viur-shop-form-btn-wrap" }, [
3005
- u("sl-button", {
2976
+ d("div", { class: "viur-shop-form-btn-wrap" }, [
2977
+ d("sl-button", {
3006
2978
  size: "medium",
3007
2979
  onClick: r,
3008
2980
  title: "Lieferadresse entfernen"
3009
- }, Ul),
3010
- u("sl-button", {
2981
+ }, Dl),
2982
+ d("sl-button", {
3011
2983
  size: "medium",
3012
2984
  variant: "primary",
3013
2985
  onClick: a
3014
2986
  }, [
3015
- Tl,
2987
+ Vl,
3016
2988
  j(" Lieferadresse hinzufügen ")
3017
2989
  ])
3018
2990
  ]),
3019
- u("sl-alert", {
2991
+ d("sl-alert", {
3020
2992
  variant: "warning",
3021
2993
  duration: "2000",
3022
2994
  ref_key: "shippingWarning",
3023
2995
  ref: s,
3024
2996
  closable: ""
3025
2997
  }, [
3026
- Pl,
3027
- u("strong", null, B(t.amountAlert.title), 1),
3028
- Ml,
2998
+ Nl,
2999
+ d("strong", null, B(t.amountAlert.title), 1),
3000
+ Rl,
3029
3001
  j(" " + B(t.amountAlert.msg), 1)
3030
3002
  ], 512),
3031
- u("sl-checkbox", {
3003
+ d("sl-checkbox", {
3032
3004
  onSlChange: o,
3033
3005
  checked: ""
3034
3006
  }, " Rechnungsadresse wie Lieferadresse ", 32)
3035
3007
  ], 64);
3036
3008
  };
3037
3009
  }
3038
- }, Wl = /* @__PURE__ */ I(zl, [["__scopeId", "data-v-a4accf28"]]), xe = {
3010
+ }, Ul = /* @__PURE__ */ I(Ll, [["__scopeId", "data-v-a4accf28"]]), Xe = {
3039
3011
  __name: "ExampleUsage",
3040
3012
  setup(e) {
3041
- const n = oe(), t = S(
3013
+ const n = re(), t = S(
3042
3014
  () => n.state.basketRootNode.key ? n.state.basketRootNode.key : ""
3043
3015
  ), l = w({
3044
3016
  rootNode: {},
3045
3017
  tabs: {
3046
3018
  cart: {
3047
- component: H(we),
3019
+ component: H(ke),
3048
3020
  props: {
3049
3021
  sidebar: !0,
3050
3022
  mode: "basket",
@@ -3059,7 +3031,7 @@ const kl = /* @__PURE__ */ I(hl, [["render", _l], ["__scopeId", "data-v-36ccc280
3059
3031
  atHide: null
3060
3032
  },
3061
3033
  confirm: {
3062
- component: H(Ee),
3034
+ component: H(we),
3063
3035
  props: {},
3064
3036
  displayName: "Bestellung prüfen",
3065
3037
  icon: { name: "order-check", library: "hsk" },
@@ -3084,7 +3056,7 @@ const kl = /* @__PURE__ */ I(hl, [["render", _l], ["__scopeId", "data-v-36ccc280
3084
3056
  // atHide: null,
3085
3057
  // },
3086
3058
  orderComplete: {
3087
- component: H(kl),
3059
+ component: H(pl),
3088
3060
  props: {},
3089
3061
  displayName: "Bestellung Abgeschlossen",
3090
3062
  icon: { name: "order-confirmed", library: "hsk" },
@@ -3094,7 +3066,7 @@ const kl = /* @__PURE__ */ I(hl, [["render", _l], ["__scopeId", "data-v-36ccc280
3094
3066
  atHide: null
3095
3067
  },
3096
3068
  userInfo: {
3097
- component: H(Ol),
3069
+ component: H(wl),
3098
3070
  props: {},
3099
3071
  displayName: "Daten Eingeben",
3100
3072
  icon: { name: "user", library: "hsk" },
@@ -3104,7 +3076,7 @@ const kl = /* @__PURE__ */ I(hl, [["render", _l], ["__scopeId", "data-v-36ccc280
3104
3076
  atHide: null
3105
3077
  },
3106
3078
  userInfoMulti: {
3107
- component: H(Wl),
3079
+ component: H(Ul),
3108
3080
  props: {},
3109
3081
  displayName: "Daten Eingeben (Multi)",
3110
3082
  icon: { name: "user", library: "hsk" },
@@ -3120,76 +3092,76 @@ const kl = /* @__PURE__ */ I(hl, [["render", _l], ["__scopeId", "data-v-36ccc280
3120
3092
  }
3121
3093
  return x(async () => {
3122
3094
  await n.init(), await n.getAdressStructure(), console.log("debug init exampleusage :", n.state.basketRootNode);
3123
- }), (o, a) => (m(), T(gl, {
3095
+ }), (o, a) => (m(), T(ul, {
3124
3096
  tabs: l.tabs,
3125
3097
  onTabChange: s
3126
3098
  }, null, 8, ["tabs"]));
3127
3099
  }
3128
- }, ql = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3100
+ }, Tl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3129
3101
  __proto__: null,
3130
- default: xe
3131
- }, Symbol.toStringTag, { value: "Module" })), Fl = D({
3102
+ default: Xe
3103
+ }, Symbol.toStringTag, { value: "Module" })), Pl = D({
3132
3104
  props: {},
3133
3105
  components: {},
3134
3106
  setup(e, n) {
3135
3107
  const t = ht();
3136
3108
  return { state: w({}), route: t };
3137
3109
  }
3138
- }), Kl = { class: "home" };
3139
- function Hl(e, n, t, l, s, o) {
3140
- return m(), h("div", Kl, "View " + B(e.route.path) + " is missing.", 1);
3110
+ }), Ml = { class: "home" };
3111
+ function Wl(e, n, t, l, s, o) {
3112
+ return m(), h("div", Ml, "View " + B(e.route.path) + " is missing.", 1);
3141
3113
  }
3142
- const Gl = /* @__PURE__ */ I(Fl, [["render", Hl]]), Zl = [
3114
+ const zl = /* @__PURE__ */ I(Pl, [["render", Wl]]), ql = [
3143
3115
  {
3144
3116
  path: "/:pathMatch(.*)*",
3145
3117
  name: "view_missing",
3146
- component: Gl
3118
+ component: zl
3147
3119
  },
3148
3120
  {
3149
3121
  path: "/shop/category/:identifier",
3150
3122
  name: "CategoryView",
3151
- component: () => import("./CategoryView-DX_XoGWC.mjs")
3123
+ component: () => import("./CategoryView-8DIBpBK_.mjs")
3152
3124
  },
3153
3125
  {
3154
3126
  path: "/shop/item/:item",
3155
3127
  name: "itemView",
3156
- component: () => import("./ItemView-NbPreO2T.mjs")
3128
+ component: () => import("./ItemView-Dx5_6_bp.mjs")
3157
3129
  },
3158
3130
  {
3159
3131
  path: "/shop/cart/view",
3160
3132
  name: "CartView",
3161
- component: () => Promise.resolve().then(() => Ws)
3133
+ component: () => Promise.resolve().then(() => Us)
3162
3134
  },
3163
3135
  {
3164
3136
  path: "/shop/order/",
3165
3137
  name: "OrderView",
3166
- component: () => Promise.resolve().then(() => ql)
3138
+ component: () => Promise.resolve().then(() => Tl)
3167
3139
  },
3168
3140
  {
3169
3141
  path: "/shop/order/confirm",
3170
3142
  name: "ConfirmView",
3171
- component: () => Promise.resolve().then(() => tl)
3143
+ component: () => Promise.resolve().then(() => Qs)
3172
3144
  }
3173
3145
  ];
3174
- function tr(e, n = !1) {
3146
+ function Ql(e, n = !1) {
3175
3147
  let t = [];
3176
- return n ? t = e : t = e.concat(Zl), bt({
3148
+ return n ? t = e : t = e.concat(ql), bt({
3177
3149
  // @ts-ignore
3178
3150
  history: vt("/"),
3179
3151
  routes: t
3180
3152
  });
3181
3153
  }
3182
- const nr = {
3154
+ const Yl = {
3183
3155
  install(e) {
3184
- e.component("CartView", we), e.component("ExampleUsage", xe), e.component("ConfirmView", Ee);
3156
+ e.component("CartView", ke), e.component("ExampleUsage", Xe), e.component("ConfirmView", we);
3185
3157
  }
3186
3158
  };
3187
3159
  export {
3188
- we as C,
3189
- nr as V,
3160
+ ke as C,
3161
+ Yl as V,
3190
3162
  I as _,
3191
- xe as a,
3192
- Ee as b,
3193
- tr as c,
3194
- oe as u
3163
+ Xe as a,
3164
+ we as b,
3165
+ Ql as c,
3166
+ re as u
3195
3167
  };