@viur/shop-components 0.0.1-dev.41 → 0.0.1-dev.42

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,7 +1,7 @@
1
1
  var W2 = Object.defineProperty;
2
2
  var K2 = (h, y, _) => y in h ? W2(h, y, { enumerable: !0, configurable: !0, writable: !0, value: _ }) : h[y] = _;
3
3
  var eb = (h, y, _) => K2(h, typeof y != "symbol" ? y + "" : y, _);
4
- import { reactive as he, computed as ie, useCssVars as G2, openBlock as L, createBlock as Ue, Transition as Z2, withCtx as Cr, createElementBlock as $, createElementVNode as M, createCommentVNode as oe, pushScopeId as rt, popScopeId as st, Fragment as re, createTextVNode as ue, toDisplayString as Ae, onBeforeMount as jn, withDirectives as hn, vModelText as ri, ref as Dt, renderList as Je, createVNode as yr, unref as wt, Teleport as J2, resolveDynamicComponent as Nn, mergeProps as Y2, normalizeClass as yo, vShow as dl, defineComponent as Ve, inject as Se, onMounted as Qe, readonly as Q2, getCurrentScope as X2, onScopeDispose as ex, watchEffect as Sr, watch as Eo, getCurrentInstance as tx, resolveComponent as Ln, withModifiers as Er, shallowRef as Xt, renderSlot as Ab, provide as Ar, withKeys as al } from "vue";
4
+ import { reactive as he, computed as ie, useCssVars as G2, openBlock as L, createBlock as Ue, Transition as Z2, withCtx as Cr, createElementBlock as $, createElementVNode as F, createCommentVNode as oe, pushScopeId as rt, popScopeId as st, Fragment as re, createTextVNode as ue, toDisplayString as Ae, onBeforeMount as jn, withDirectives as hn, vModelText as ri, ref as Dt, renderList as Je, createVNode as yr, unref as wt, Teleport as J2, resolveDynamicComponent as Nn, mergeProps as Y2, normalizeClass as yo, vShow as dl, defineComponent as Ve, inject as Se, onMounted as Qe, readonly as Q2, getCurrentScope as X2, onScopeDispose as ex, watchEffect as Sr, watch as Eo, getCurrentInstance as tx, resolveComponent as Ln, withModifiers as Er, shallowRef as Xt, renderSlot as Ab, provide as Ar, withKeys as al } from "vue";
5
5
  import { Request as nx } from "@viur/vue-utils";
6
6
  import { defineStore as hl } from "pinia";
7
7
  import { ViURShopClient as ox } from "@viur/viur-shop-client";
@@ -54,14 +54,14 @@ gl.setup = nb ? (h, y) => (tb(), nb(h, y)) : tb;
54
54
  const ix = (h) => (rt("data-v-46c45785"), h = h(), st(), h), rx = {
55
55
  key: 0,
56
56
  class: "loading"
57
- }, sx = /* @__PURE__ */ ix(() => /* @__PURE__ */ M("sl-spinner", { class: "loader" }, null, -1)), ax = { class: "logo" }, lx = ["src"];
58
- function cx(h, y, _, O, S, F) {
57
+ }, sx = /* @__PURE__ */ ix(() => /* @__PURE__ */ F("sl-spinner", { class: "loader" }, null, -1)), ax = { class: "logo" }, lx = ["src"];
58
+ function cx(h, y, _, O, S, M) {
59
59
  return L(), Ue(Z2, null, {
60
60
  default: Cr(() => [
61
61
  _.active ? (L(), $("div", rx, [
62
62
  sx,
63
- M("div", ax, [
64
- M("sl-icon", { src: _.logo }, null, 8, lx)
63
+ F("div", ax, [
64
+ F("sl-icon", { src: _.logo }, null, 8, lx)
65
65
  ])
66
66
  ])) : oe("", !0)
67
67
  ]),
@@ -88,7 +88,7 @@ const dx = /* @__PURE__ */ ke(gl, [["render", cx], ["__scopeId", "data-v-46c4578
88
88
  v.is_root_node && (v.cart_type === "basket" ? y.basketRootNode = v : y.whishlistRootNodes.push(v));
89
89
  });
90
90
  }
91
- async function F(D, v) {
91
+ async function M(D, v) {
92
92
  let f = await h.article_add({
93
93
  article_key: D,
94
94
  parent_cart_key: v
@@ -124,7 +124,7 @@ const dx = /* @__PURE__ */ ke(gl, [["render", cx], ["__scopeId", "data-v-46c4578
124
124
  }
125
125
  return {
126
126
  state: y,
127
- addToCart: F,
127
+ addToCart: M,
128
128
  getArticleView: k,
129
129
  removeItem: x,
130
130
  updateItem: m,
@@ -140,7 +140,7 @@ const dx = /* @__PURE__ */ ke(gl, [["render", cx], ["__scopeId", "data-v-46c4578
140
140
  setup(h) {
141
141
  return he({}), (y, _) => (L(), $(re, null, [
142
142
  ue(" cartnode "),
143
- M("pre", null, Ae(h.node.name), 1)
143
+ F("pre", null, Ae(h.node.name), 1)
144
144
  ], 64));
145
145
  }
146
146
  }, li = (h) => (rt("data-v-0e24135f"), h = h(), st(), h), hx = {
@@ -149,28 +149,28 @@ const dx = /* @__PURE__ */ ke(gl, [["render", cx], ["__scopeId", "data-v-46c4578
149
149
  }, gx = ["src"], mx = {
150
150
  class: "viur-shop-cart-card-header",
151
151
  slot: "header"
152
- }, px = { class: "viur-shop-cart-card-headline headline" }, fx = { class: "viur-shop-cart-card-body-row" }, bx = { class: "viur-shop-cart-card-body-info" }, kx = /* @__PURE__ */ li(() => /* @__PURE__ */ M("div", { class: "viur-shop-cart-card-descr" }, [
152
+ }, px = { class: "viur-shop-cart-card-headline headline" }, fx = { class: "viur-shop-cart-card-body-row" }, bx = { class: "viur-shop-cart-card-body-info" }, kx = /* @__PURE__ */ li(() => /* @__PURE__ */ F("div", { class: "viur-shop-cart-card-descr" }, [
153
153
  /* @__PURE__ */ ue(" Version: 900x900x2000 "),
154
- /* @__PURE__ */ M("br"),
154
+ /* @__PURE__ */ F("br"),
155
155
  /* @__PURE__ */ ue(" Farbe: Chromoptik "),
156
- /* @__PURE__ */ M("br"),
156
+ /* @__PURE__ */ F("br"),
157
157
  /* @__PURE__ */ ue(" Glasart: Klar hell mit Edelglasbeschichtung"),
158
- /* @__PURE__ */ M("br"),
158
+ /* @__PURE__ */ F("br"),
159
159
  /* @__PURE__ */ ue(" Anschlag: Beidseitig variabel"),
160
- /* @__PURE__ */ M("br"),
160
+ /* @__PURE__ */ F("br"),
161
161
  /* @__PURE__ */ ue(" Griff: Stangengriff Exklusiv (56) ")
162
- ], -1)), wx = { class: "viur-shop-cart-card-body-footer" }, Ax = /* @__PURE__ */ li(() => /* @__PURE__ */ M("sl-button", {
162
+ ], -1)), wx = { class: "viur-shop-cart-card-body-footer" }, Ax = /* @__PURE__ */ li(() => /* @__PURE__ */ F("sl-button", {
163
163
  size: "small",
164
164
  outline: "",
165
165
  class: "viur-shop-cart-card-add-to-favourites-btn",
166
166
  variant: "primary",
167
167
  title: "Add to favourites"
168
168
  }, [
169
- /* @__PURE__ */ M("sl-icon", {
169
+ /* @__PURE__ */ F("sl-icon", {
170
170
  name: "heart",
171
171
  slot: "prefix"
172
172
  })
173
- ], -1)), _x = /* @__PURE__ */ li(() => /* @__PURE__ */ M("sl-icon", {
173
+ ], -1)), _x = /* @__PURE__ */ li(() => /* @__PURE__ */ F("sl-icon", {
174
174
  name: "trash",
175
175
  slot: "prefix"
176
176
  }, null, -1)), vx = [
@@ -178,7 +178,7 @@ const dx = /* @__PURE__ */ ke(gl, [["render", cx], ["__scopeId", "data-v-46c4578
178
178
  ], Cx = { class: "viur-shop-cart-card-body-amount" }, yx = {
179
179
  class: "viur-shop-cart-card-price-wrap",
180
180
  slot: "footer"
181
- }, Ex = /* @__PURE__ */ li(() => /* @__PURE__ */ M("div", { class: "viur-shop-cart-card-price-label" }, "Preis", -1)), xx = { class: "viur-shop-cart-card-price" }, Sx = /* @__PURE__ */ li(() => /* @__PURE__ */ M("div", { class: "viur-shop-cart-card-small-print" }, "Brutto / Stk.", -1)), Dx = {
181
+ }, Ex = /* @__PURE__ */ li(() => /* @__PURE__ */ F("div", { class: "viur-shop-cart-card-price-label" }, "Preis", -1)), xx = { class: "viur-shop-cart-card-price" }, Sx = /* @__PURE__ */ li(() => /* @__PURE__ */ F("div", { class: "viur-shop-cart-card-small-print" }, "Brutto / Stk.", -1)), Dx = {
182
182
  __name: "CartLeaf",
183
183
  props: {
184
184
  leaf: { type: Object, required: !0 },
@@ -189,7 +189,7 @@ const dx = /* @__PURE__ */ ke(gl, [["render", cx], ["__scopeId", "data-v-46c4578
189
189
  const _ = h, O = y, S = he({
190
190
  leaf: {}
191
191
  });
192
- function F(m) {
192
+ function M(m) {
193
193
  return m !== void 0 ? nx.downloadUrlFor(m) : "https://images.unsplash.com/photo-1559209172-0ff8f6d49ff7?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=80";
194
194
  }
195
195
  function k(m, C, D, v) {
@@ -207,21 +207,21 @@ const dx = /* @__PURE__ */ ke(gl, [["render", cx], ["__scopeId", "data-v-46c4578
207
207
  S.leaf = _.leaf;
208
208
  }), (m, C) => (L(), $(re, null, [
209
209
  ue(" cartleafe "),
210
- M("sl-card", hx, [
211
- M("img", {
210
+ F("sl-card", hx, [
211
+ F("img", {
212
212
  class: "viur-shop-cart-card-img",
213
213
  slot: "image",
214
- src: F(S.leaf.shop_image ? S.leaf.shop_image : void 0)
214
+ src: M(S.leaf.shop_image ? S.leaf.shop_image : void 0)
215
215
  }, null, 8, gx),
216
- M("div", mx, [
217
- M("h4", px, Ae(S.leaf.shop_name) + " | " + Ae(h.leaf.shop_art_no_or_gtin), 1)
216
+ F("div", mx, [
217
+ F("h4", px, Ae(S.leaf.shop_name) + " | " + Ae(h.leaf.shop_art_no_or_gtin), 1)
218
218
  ]),
219
- M("div", fx, [
220
- M("div", bx, [
219
+ F("div", fx, [
220
+ F("div", bx, [
221
221
  kx,
222
- M("div", wx, [
222
+ F("div", wx, [
223
223
  Ax,
224
- M("sl-button", {
224
+ F("sl-button", {
225
225
  size: "small",
226
226
  outline: "",
227
227
  class: "viur-shop-cart-card-delete-btn",
@@ -231,8 +231,8 @@ const dx = /* @__PURE__ */ ke(gl, [["render", cx], ["__scopeId", "data-v-46c4578
231
231
  }, vx)
232
232
  ])
233
233
  ]),
234
- M("div", Cx, [
235
- hn(M("sl-input", {
234
+ F("div", Cx, [
235
+ hn(F("sl-input", {
236
236
  class: "amount-input",
237
237
  type: "number",
238
238
  label: "Anzahl",
@@ -249,34 +249,34 @@ const dx = /* @__PURE__ */ ke(gl, [["render", cx], ["__scopeId", "data-v-46c4578
249
249
  [ri, S.leaf.quantity]
250
250
  ])
251
251
  ]),
252
- M("div", yx, [
252
+ F("div", yx, [
253
253
  Ex,
254
- M("div", xx, Ae(S.leaf.price.retail) + " € ", 1),
254
+ F("div", xx, Ae(S.leaf.price.retail) + " € ", 1),
255
255
  Sx
256
256
  ])
257
257
  ])
258
258
  ])
259
259
  ], 64));
260
260
  }
261
- }, Bx = /* @__PURE__ */ ke(Dx, [["__scopeId", "data-v-0e24135f"]]), Lt = (h) => (rt("data-v-39d35665"), h = h(), st(), h), Tx = { key: 0 }, Ix = /* @__PURE__ */ Lt(() => /* @__PURE__ */ M("p", null, "Möchten Sie den Artikel wirklich aus dem Warenkorb entfernen?", -1)), Px = {
261
+ }, Bx = /* @__PURE__ */ ke(Dx, [["__scopeId", "data-v-0e24135f"]]), Lt = (h) => (rt("data-v-39d35665"), h = h(), st(), h), Tx = { key: 0 }, Ix = /* @__PURE__ */ Lt(() => /* @__PURE__ */ F("p", null, "Möchten Sie den Artikel wirklich aus dem Warenkorb entfernen?", -1)), Px = {
262
262
  class: "footer-wrap",
263
263
  slot: "footer"
264
- }, Rx = { key: 0 }, Ox = /* @__PURE__ */ Lt(() => /* @__PURE__ */ M("h2", { class: "viur-shop-cart-sidebar-headline headline" }, "Zusammenfassung", -1)), zx = /* @__PURE__ */ Lt(() => /* @__PURE__ */ M("br", null, null, -1)), Mx = /* @__PURE__ */ Lt(() => /* @__PURE__ */ M("sl-input", { label: "Rabattcode eingeben" }, null, -1)), Fx = /* @__PURE__ */ Lt(() => /* @__PURE__ */ M("br", null, null, -1)), Nx = { class: "viur-shop-cart-sidebar-info-line" }, Vx = /* @__PURE__ */ Lt(() => /* @__PURE__ */ M("span", null, "Zwischensumme", -1)), Lx = /* @__PURE__ */ Lt(() => /* @__PURE__ */ M("div", { class: "viur-shop-cart-sidebar-info-line" }, [
265
- /* @__PURE__ */ M("span", null, "Rabatt"),
264
+ }, Rx = { key: 0 }, Ox = /* @__PURE__ */ Lt(() => /* @__PURE__ */ F("h2", { class: "viur-shop-cart-sidebar-headline headline" }, "Zusammenfassung", -1)), zx = /* @__PURE__ */ Lt(() => /* @__PURE__ */ F("br", null, null, -1)), Mx = /* @__PURE__ */ Lt(() => /* @__PURE__ */ F("sl-input", { label: "Rabattcode eingeben" }, null, -1)), Fx = /* @__PURE__ */ Lt(() => /* @__PURE__ */ F("br", null, null, -1)), Nx = { class: "viur-shop-cart-sidebar-info-line" }, Vx = /* @__PURE__ */ Lt(() => /* @__PURE__ */ F("span", null, "Zwischensumme", -1)), Lx = /* @__PURE__ */ Lt(() => /* @__PURE__ */ F("div", { class: "viur-shop-cart-sidebar-info-line" }, [
265
+ /* @__PURE__ */ F("span", null, "Rabatt"),
266
266
  /* @__PURE__ */ ue(" 0 € ")
267
- ], -1)), jx = /* @__PURE__ */ Lt(() => /* @__PURE__ */ M("div", { class: "viur-shop-cart-sidebar-info-line" }, [
268
- /* @__PURE__ */ M("span", null, "Versandkosten"),
267
+ ], -1)), jx = /* @__PURE__ */ Lt(() => /* @__PURE__ */ F("div", { class: "viur-shop-cart-sidebar-info-line" }, [
268
+ /* @__PURE__ */ F("span", null, "Versandkosten"),
269
269
  /* @__PURE__ */ ue(" 0 € ")
270
- ], -1)), $x = { class: "viur-shop-cart-sidebar-info-line total" }, Hx = /* @__PURE__ */ Lt(() => /* @__PURE__ */ M("span", null, "Gesamt:", -1)), qx = /* @__PURE__ */ Lt(() => /* @__PURE__ */ M("div", { class: "viur-shop-cart-sidebar-btn-wrap" }, [
271
- /* @__PURE__ */ M("sl-button", {
270
+ ], -1)), $x = { class: "viur-shop-cart-sidebar-info-line total" }, Hx = /* @__PURE__ */ Lt(() => /* @__PURE__ */ F("span", null, "Gesamt:", -1)), qx = /* @__PURE__ */ Lt(() => /* @__PURE__ */ F("div", { class: "viur-shop-cart-sidebar-btn-wrap" }, [
271
+ /* @__PURE__ */ F("sl-button", {
272
272
  variant: "info",
273
273
  size: "small"
274
274
  }, " Jetzt Bestellen "),
275
- /* @__PURE__ */ M("sl-button", {
275
+ /* @__PURE__ */ F("sl-button", {
276
276
  size: "small",
277
277
  variant: "primary"
278
278
  }, [
279
- /* @__PURE__ */ M("sl-icon", {
279
+ /* @__PURE__ */ F("sl-icon", {
280
280
  name: "paypal",
281
281
  slot: "prefix"
282
282
  }),
@@ -299,7 +299,7 @@ const dx = /* @__PURE__ */ ke(gl, [["render", cx], ["__scopeId", "data-v-46c4578
299
299
  leaves: {}
300
300
  });
301
301
  ie(() => y.mode === "basket" ? _.state.basket : y.cartKey);
302
- async function F() {
302
+ async function M() {
303
303
  await _.updateItem(
304
304
  S.currentItem.article.dest.key,
305
305
  S.currentNode.key,
@@ -330,21 +330,21 @@ const dx = /* @__PURE__ */ ke(gl, [["render", cx], ["__scopeId", "data-v-46c4578
330
330
  return jn(async () => {
331
331
  await _.init(), await D(), y.mode === "basket" && S.nodes.push(_.state.basketRootNode), console.log("state.nodes test", S.nodes), console.log("state.leaves", S.leaves);
332
332
  }), (v, f) => h.cartKey.length ? (L(), $(re, { key: 1 }, [
333
- M("sl-dialog", {
333
+ F("sl-dialog", {
334
334
  ref_key: "confirm",
335
335
  ref: O,
336
336
  onSlHide: m
337
337
  }, [
338
338
  Ix,
339
- M("div", Px, [
340
- M("sl-button", {
339
+ F("div", Px, [
340
+ F("sl-button", {
341
341
  variant: "danger",
342
342
  onClick: f[0] || (f[0] = (A) => O.value.hide()),
343
343
  size: "medium"
344
344
  }, " Abbrechen "),
345
- M("sl-button", {
345
+ F("sl-button", {
346
346
  variant: "success",
347
- onClick: F,
347
+ onClick: M,
348
348
  size: "medium"
349
349
  }, " Aus Warenkorb entfernen ")
350
350
  ])
@@ -366,13 +366,13 @@ const dx = /* @__PURE__ */ ke(gl, [["render", cx], ["__scopeId", "data-v-46c4578
366
366
  zx,
367
367
  Mx,
368
368
  Fx,
369
- M("div", Nx, [
369
+ F("div", Nx, [
370
370
  Vx,
371
371
  ue(" --> " + Ae(h.mode === "basket" ? wt(_).state.basketRootNode.total : wt(_).state.whishlistRootNodes[h.cartKey].total) + " € ", 1)
372
372
  ]),
373
373
  Lx,
374
374
  jx,
375
- M("div", $x, [
375
+ F("div", $x, [
376
376
  Hx,
377
377
  ue(" " + Ae(h.mode === "basket" ? wt(_).state.basketRootNode.total : wt(_).state.whishlistRootNodes[h.cartKey].total) + " € ", 1)
378
378
  ]),
@@ -383,70 +383,70 @@ const dx = /* @__PURE__ */ ke(gl, [["render", cx], ["__scopeId", "data-v-46c4578
383
383
  }, _b = /* @__PURE__ */ ke(Ux, [["__scopeId", "data-v-39d35665"]]), gn = (h) => (rt("data-v-b7b745be"), h = h(), st(), h), Wx = {
384
384
  key: 1,
385
385
  class: "list"
386
- }, Kx = /* @__PURE__ */ gn(() => /* @__PURE__ */ M("h2", { class: "viur-shop-cart-headline headline" }, "Bestellung prüfen", -1)), Gx = /* @__PURE__ */ gn(() => /* @__PURE__ */ M("br", null, null, -1)), Zx = /* @__PURE__ */ gn(() => /* @__PURE__ */ M("div", { class: "viur-shop-cart-address-wrap" }, [
387
- /* @__PURE__ */ M("div", { class: "viur-shop-cart-address" }, [
388
- /* @__PURE__ */ M("div", { class: "viur-shop-cart-address-headline" }, [
386
+ }, Kx = /* @__PURE__ */ gn(() => /* @__PURE__ */ F("h2", { class: "viur-shop-cart-headline headline" }, "Bestellung prüfen", -1)), Gx = /* @__PURE__ */ gn(() => /* @__PURE__ */ F("br", null, null, -1)), Zx = /* @__PURE__ */ gn(() => /* @__PURE__ */ F("div", { class: "viur-shop-cart-address-wrap" }, [
387
+ /* @__PURE__ */ F("div", { class: "viur-shop-cart-address" }, [
388
+ /* @__PURE__ */ F("div", { class: "viur-shop-cart-address-headline" }, [
389
389
  /* @__PURE__ */ ue(" Versandadresse "),
390
- /* @__PURE__ */ M("sl-button", {
390
+ /* @__PURE__ */ F("sl-button", {
391
391
  outline: "",
392
392
  size: "small"
393
393
  }, [
394
- /* @__PURE__ */ M("sl-icon", {
394
+ /* @__PURE__ */ F("sl-icon", {
395
395
  name: "pencil",
396
396
  slot: "prefix"
397
397
  })
398
398
  ])
399
399
  ]),
400
400
  /* @__PURE__ */ ue(" Roland Brose"),
401
- /* @__PURE__ */ M("br"),
401
+ /* @__PURE__ */ F("br"),
402
402
  /* @__PURE__ */ ue(" Speicherstraße 33"),
403
- /* @__PURE__ */ M("br"),
403
+ /* @__PURE__ */ F("br"),
404
404
  /* @__PURE__ */ ue(" 44147 Dortmund, DE"),
405
- /* @__PURE__ */ M("br"),
406
- /* @__PURE__ */ M("br"),
405
+ /* @__PURE__ */ F("br"),
406
+ /* @__PURE__ */ F("br"),
407
407
  /* @__PURE__ */ ue(" rb@mausbrand.de"),
408
- /* @__PURE__ */ M("br"),
408
+ /* @__PURE__ */ F("br"),
409
409
  /* @__PURE__ */ ue(" 0231 21 34 68 90 ")
410
410
  ]),
411
- /* @__PURE__ */ M("div", { class: "viur-shop-cart-address" }, [
412
- /* @__PURE__ */ M("div", { class: "viur-shop-cart-address-headline" }, [
411
+ /* @__PURE__ */ F("div", { class: "viur-shop-cart-address" }, [
412
+ /* @__PURE__ */ F("div", { class: "viur-shop-cart-address-headline" }, [
413
413
  /* @__PURE__ */ ue(" Rechnungsadresse "),
414
- /* @__PURE__ */ M("sl-button", {
414
+ /* @__PURE__ */ F("sl-button", {
415
415
  outline: "",
416
416
  size: "small"
417
417
  }, [
418
- /* @__PURE__ */ M("sl-icon", {
418
+ /* @__PURE__ */ F("sl-icon", {
419
419
  name: "pencil",
420
420
  slot: "prefix"
421
421
  })
422
422
  ])
423
423
  ]),
424
424
  /* @__PURE__ */ ue(" Roland Brose"),
425
- /* @__PURE__ */ M("br"),
425
+ /* @__PURE__ */ F("br"),
426
426
  /* @__PURE__ */ ue(" Speicherstraße 33"),
427
- /* @__PURE__ */ M("br"),
427
+ /* @__PURE__ */ F("br"),
428
428
  /* @__PURE__ */ ue(" 44147 Dortmund, DE"),
429
- /* @__PURE__ */ M("br"),
430
- /* @__PURE__ */ M("br"),
429
+ /* @__PURE__ */ F("br"),
430
+ /* @__PURE__ */ F("br"),
431
431
  /* @__PURE__ */ ue(" rb@mausbrand.de"),
432
- /* @__PURE__ */ M("br"),
432
+ /* @__PURE__ */ F("br"),
433
433
  /* @__PURE__ */ ue(" 0231 21 34 68 90 ")
434
434
  ])
435
- ], -1)), Jx = /* @__PURE__ */ gn(() => /* @__PURE__ */ M("div", { class: "viur-shop-cart-payment" }, [
436
- /* @__PURE__ */ M("div", { class: "viur-shop-cart-payment-method" }, [
437
- /* @__PURE__ */ M("span", null, "Zahlungsmethode:"),
435
+ ], -1)), Jx = /* @__PURE__ */ gn(() => /* @__PURE__ */ F("div", { class: "viur-shop-cart-payment" }, [
436
+ /* @__PURE__ */ F("div", { class: "viur-shop-cart-payment-method" }, [
437
+ /* @__PURE__ */ F("span", null, "Zahlungsmethode:"),
438
438
  /* @__PURE__ */ ue(" Paypal ")
439
439
  ]),
440
- /* @__PURE__ */ M("sl-button", {
440
+ /* @__PURE__ */ F("sl-button", {
441
441
  outline: "",
442
442
  size: "small"
443
443
  }, [
444
- /* @__PURE__ */ M("sl-icon", {
444
+ /* @__PURE__ */ F("sl-icon", {
445
445
  name: "pencil",
446
446
  slot: "prefix"
447
447
  })
448
448
  ])
449
- ], -1)), Yx = /* @__PURE__ */ gn(() => /* @__PURE__ */ M("h2", { class: "viur-shop-cart-headline headline" }, "Warenkorb", -1)), Qx = /* @__PURE__ */ gn(() => /* @__PURE__ */ M("br", null, null, -1)), Xx = /* @__PURE__ */ gn(() => /* @__PURE__ */ M("h2", { class: "viur-shop-cart-sidebar-headline headline" }, "Jetzt Bestellen", -1)), e5 = /* @__PURE__ */ gn(() => /* @__PURE__ */ M("br", null, null, -1)), t5 = { class: "viur-shop-cart-sidebar-btn-wrap" }, n5 = ["variant", "disabled"], o5 = {
449
+ ], -1)), Yx = /* @__PURE__ */ gn(() => /* @__PURE__ */ F("h2", { class: "viur-shop-cart-headline headline" }, "Warenkorb", -1)), Qx = /* @__PURE__ */ gn(() => /* @__PURE__ */ F("br", null, null, -1)), Xx = /* @__PURE__ */ gn(() => /* @__PURE__ */ F("h2", { class: "viur-shop-cart-sidebar-headline headline" }, "Jetzt Bestellen", -1)), e5 = /* @__PURE__ */ gn(() => /* @__PURE__ */ F("br", null, null, -1)), t5 = { class: "viur-shop-cart-sidebar-btn-wrap" }, n5 = ["variant", "disabled"], o5 = {
450
450
  __name: "ConfirmView",
451
451
  setup(h) {
452
452
  const y = ai(), _ = he({
@@ -463,7 +463,7 @@ const dx = /* @__PURE__ */ ke(gl, [["render", cx], ["__scopeId", "data-v-46c4578
463
463
  }
464
464
  return jn(async () => {
465
465
  await y.init();
466
- }), (S, F) => _.cartIsInit ? (L(), $("div", Wx, [
466
+ }), (S, M) => _.cartIsInit ? (L(), $("div", Wx, [
467
467
  Kx,
468
468
  Gx,
469
469
  Zx,
@@ -473,9 +473,9 @@ const dx = /* @__PURE__ */ ke(gl, [["render", cx], ["__scopeId", "data-v-46c4578
473
473
  (L(), Ue(J2, { to: "#order_sidebar" }, [
474
474
  Xx,
475
475
  e5,
476
- M("sl-checkbox", { onSlChange: O }, " Ich akzeptiere die geltenden AGBs und Datenschutzbestimmungen ", 32),
477
- M("div", t5, [
478
- M("sl-button", {
476
+ F("sl-checkbox", { onSlChange: O }, " Ich akzeptiere die geltenden AGBs und Datenschutzbestimmungen ", 32),
477
+ F("div", t5, [
478
+ F("sl-button", {
479
479
  variant: _.showOrderButton ? "info" : "disabled",
480
480
  size: "small",
481
481
  disabled: !_.showOrderButton
@@ -488,7 +488,7 @@ const dx = /* @__PURE__ */ ke(gl, [["render", cx], ["__scopeId", "data-v-46c4578
488
488
  key: 0,
489
489
  name: "chevron-right",
490
490
  class: "viur-shop-order-tab-check"
491
- }, u5 = ["name"], h5 = ["onClick"], g5 = ["onClick"], m5 = /* @__PURE__ */ i5(() => /* @__PURE__ */ M("div", {
491
+ }, u5 = ["name"], h5 = ["onClick"], g5 = ["onClick"], m5 = /* @__PURE__ */ i5(() => /* @__PURE__ */ F("div", {
492
492
  class: "viur-shop-sidebar",
493
493
  id: "order_sidebar"
494
494
  }, null, -1)), p5 = {
@@ -504,7 +504,7 @@ const dx = /* @__PURE__ */ ke(gl, [["render", cx], ["__scopeId", "data-v-46c4578
504
504
  const _ = h, O = y, S = he({
505
505
  tabNames: ie(() => k(_.tabs)),
506
506
  isFirstTab: (D) => D === 0
507
- }), F = Dt(null);
507
+ }), M = Dt(null);
508
508
  function k(D) {
509
509
  let v = [], f = [];
510
510
  for (const A in D)
@@ -517,18 +517,18 @@ const dx = /* @__PURE__ */ ke(gl, [["render", cx], ["__scopeId", "data-v-46c4578
517
517
  O("tabChange", D);
518
518
  }
519
519
  function m(D) {
520
- F.value.show(D);
520
+ M.value.show(D);
521
521
  }
522
522
  function C(D) {
523
- F.value.show(D);
523
+ M.value.show(D);
524
524
  }
525
525
  return (D, v) => (L(), $("div", r5, [
526
- M("sl-tab-group", {
526
+ F("sl-tab-group", {
527
527
  class: "viur-shop-order-tab",
528
528
  noScrollControls: "",
529
529
  onSlTabShow: x,
530
530
  ref_key: "tabGroup",
531
- ref: F
531
+ ref: M
532
532
  }, [
533
533
  (L(!0), $(re, null, Je(S.tabNames, (f, A) => (L(), $("sl-tab", {
534
534
  slot: "nav",
@@ -536,12 +536,12 @@ const dx = /* @__PURE__ */ ke(gl, [["render", cx], ["__scopeId", "data-v-46c4578
536
536
  key: f,
537
537
  disabled: h.tabs[f].disabled
538
538
  }, [
539
- M("div", a5, [
540
- M("sl-icon", {
539
+ F("div", a5, [
540
+ F("sl-icon", {
541
541
  name: h.tabs[f].icon.name,
542
542
  library: h.tabs[f].icon.library
543
543
  }, null, 8, l5),
544
- M("div", c5, Ae(A + 1) + ". " + Ae(h.tabs[f].displayName), 1)
544
+ F("div", c5, Ae(A + 1) + ". " + Ae(h.tabs[f].displayName), 1)
545
545
  ]),
546
546
  A < S.tabNames.length - 1 ? (L(), $("sl-icon", d5)) : oe("", !0)
547
547
  ], 8, s5))), 128)),
@@ -554,13 +554,13 @@ const dx = /* @__PURE__ */ ke(gl, [["render", cx], ["__scopeId", "data-v-46c4578
554
554
  key: 0,
555
555
  class: yo(["viur-shop-form-footer", { "flex-end": S.isFirstTab(A) }])
556
556
  }, [
557
- hn(M("sl-button", {
557
+ hn(F("sl-button", {
558
558
  type: "submit",
559
559
  onClick: (P) => m(S.tabNames[A - 1])
560
560
  }, " Zurück ", 8, h5), [
561
561
  [dl, A !== 0]
562
562
  ]),
563
- M("sl-button", {
563
+ F("sl-button", {
564
564
  type: "submit",
565
565
  variant: "primary",
566
566
  onClick: (P) => C(S.tabNames[A + 1])
@@ -571,16 +571,16 @@ const dx = /* @__PURE__ */ ke(gl, [["render", cx], ["__scopeId", "data-v-46c4578
571
571
  m5
572
572
  ]));
573
573
  }
574
- }, f5 = /* @__PURE__ */ ke(p5, [["__scopeId", "data-v-61488015"]]), b5 = {}, Dr = (h) => (rt("data-v-36ccc280"), h = h(), st(), h), k5 = { class: "bind" }, w5 = /* @__PURE__ */ Dr(() => /* @__PURE__ */ M("h1", { class: "headline" }, "Vielen Dank für Ihre Bestellung", -1)), A5 = /* @__PURE__ */ Dr(() => /* @__PURE__ */ M("br", null, null, -1)), _5 = /* @__PURE__ */ Dr(() => /* @__PURE__ */ M("p", { class: "paragraph" }, [
575
- /* @__PURE__ */ M("strong", null, "Ihre Bestellnummer:"),
574
+ }, f5 = /* @__PURE__ */ ke(p5, [["__scopeId", "data-v-61488015"]]), b5 = {}, Dr = (h) => (rt("data-v-36ccc280"), h = h(), st(), h), k5 = { class: "bind" }, w5 = /* @__PURE__ */ Dr(() => /* @__PURE__ */ F("h1", { class: "headline" }, "Vielen Dank für Ihre Bestellung", -1)), A5 = /* @__PURE__ */ Dr(() => /* @__PURE__ */ F("br", null, null, -1)), _5 = /* @__PURE__ */ Dr(() => /* @__PURE__ */ F("p", { class: "paragraph" }, [
575
+ /* @__PURE__ */ F("strong", null, "Ihre Bestellnummer:"),
576
576
  /* @__PURE__ */ ue(" 123345670 ")
577
- ], -1)), v5 = /* @__PURE__ */ Dr(() => /* @__PURE__ */ M("p", { class: "paragraph" }, [
577
+ ], -1)), v5 = /* @__PURE__ */ Dr(() => /* @__PURE__ */ F("p", { class: "paragraph" }, [
578
578
  /* @__PURE__ */ ue(" Wir haben Ihre Bestellung erhalten und werden diese schenllstmöglich bearbeiten."),
579
- /* @__PURE__ */ M("br"),
579
+ /* @__PURE__ */ F("br"),
580
580
  /* @__PURE__ */ ue(" Sie erhalten in wenigen Minuten eine Bestätigung per E-Mail. "),
581
- /* @__PURE__ */ M("div", { class: "btn-wrap" }, [
582
- /* @__PURE__ */ M("sl-button", { size: "medium" }, " Zur Startseite "),
583
- /* @__PURE__ */ M("sl-button", {
581
+ /* @__PURE__ */ F("div", { class: "btn-wrap" }, [
582
+ /* @__PURE__ */ F("sl-button", { size: "medium" }, " Zur Startseite "),
583
+ /* @__PURE__ */ F("sl-button", {
584
584
  variant: "primary",
585
585
  size: "medium"
586
586
  }, " Weiter Einkaufen ")
@@ -606,8 +606,8 @@ const E5 = /* @__PURE__ */ ke(b5, [["render", y5], ["__scopeId", "data-v-36ccc28
606
606
  emits: ["change"],
607
607
  setup(h, y) {
608
608
  const _ = Se("boneState"), O = he({});
609
- function S(F) {
610
- y.emit("change", h.name, F.target.value, h.lang, h.index);
609
+ function S(M) {
610
+ y.emit("change", h.name, M.target.value, h.lang, h.index);
611
611
  }
612
612
  return Qe(() => {
613
613
  y.emit("change", h.name, h.value, h.lang, h.index);
@@ -618,7 +618,7 @@ const E5 = /* @__PURE__ */ ke(b5, [["render", y5], ["__scopeId", "data-v-36ccc28
618
618
  };
619
619
  }
620
620
  }), S5 = ["disabled", "value"], D5 = ["disabled", "value"];
621
- function B5(h, y, _, O, S, F) {
621
+ function B5(h, y, _, O, S, M) {
622
622
  var k, x;
623
623
  return h.boneState.bonestructure.type === "raw.json" ? (L(), $("sl-textarea", {
624
624
  key: 0,
@@ -657,7 +657,7 @@ const ul = /* @__PURE__ */ ke(x5, [["render", B5], ["__scopeId", "data-v-0ebe5f0
657
657
  };
658
658
  }
659
659
  }), I5 = ["value"];
660
- function P5(h, y, _, O, S, F) {
660
+ function P5(h, y, _, O, S, M) {
661
661
  return L(), $("sl-input", {
662
662
  disabled: "",
663
663
  value: h.value,
@@ -677,16 +677,16 @@ function Br(h, y, _ = {}) {
677
677
  const {
678
678
  immediate: O = !0
679
679
  } = _, S = Dt(!1);
680
- let F = null;
680
+ let M = null;
681
681
  function k() {
682
- F && (clearTimeout(F), F = null);
682
+ M && (clearTimeout(M), M = null);
683
683
  }
684
684
  function x() {
685
685
  S.value = !1, k();
686
686
  }
687
687
  function m(...C) {
688
- k(), S.value = !0, F = setTimeout(() => {
689
- S.value = !1, F = null, h(...C);
688
+ k(), S.value = !0, M = setTimeout(() => {
689
+ S.value = !1, M = null, h(...C);
690
690
  }, O5(y));
691
691
  }
692
692
  return O && (S.value = !0, z5 && m()), R5(x), {
@@ -721,7 +721,7 @@ class M5 {
721
721
  }
722
722
  return x;
723
723
  }
724
- let S = O(y), F = [];
724
+ let S = O(y), M = [];
725
725
  Array.isArray(_) || (_ = [_]);
726
726
  for (let k of _) {
727
727
  let x = y;
@@ -731,9 +731,9 @@ class M5 {
731
731
  D && D !== "-" && v in D && D[v] ? D = D[v] : D = "-";
732
732
  D = this.unescape(D), x = x.replace("$(" + m + ")", D);
733
733
  }
734
- F.push(x);
734
+ M.push(x);
735
735
  }
736
- return F.join(", ");
736
+ return M.join(", ");
737
737
  }
738
738
  }
739
739
  const F5 = Ve({
@@ -751,7 +751,7 @@ const F5 = Ve({
751
751
  const _ = Se("boneState"), O = he({
752
752
  value: ie(() => h.value)
753
753
  }), S = Dt(null);
754
- function F(k) {
754
+ function M(k) {
755
755
  y.emit("change", h.name, k.target.value, h.lang, h.index);
756
756
  }
757
757
  return Sr(() => {
@@ -767,12 +767,12 @@ const F5 = Ve({
767
767
  state: O,
768
768
  Utils: M5,
769
769
  boneState: _,
770
- changeEvent: F,
770
+ changeEvent: M,
771
771
  stringBone: S
772
772
  };
773
773
  }
774
774
  }), N5 = ["disabled", "value", "required"];
775
- function V5(h, y, _, O, S, F) {
775
+ function V5(h, y, _, O, S, M) {
776
776
  return L(), $("sl-input", {
777
777
  ref: "stringBone",
778
778
  disabled: h.boneState.readonly,
@@ -795,7 +795,7 @@ const ib = /* @__PURE__ */ ke(F5, [["render", V5], ["__scopeId", "data-v-1ccbacc
795
795
  emits: ["change"],
796
796
  setup(h, y) {
797
797
  const _ = Se("boneState"), O = he({}), S = Dt(null);
798
- function F(k) {
798
+ function M(k) {
799
799
  y.emit("change", h.name, k.target.value, h.lang, h.index);
800
800
  }
801
801
  return Sr(() => {
@@ -810,12 +810,12 @@ const ib = /* @__PURE__ */ ke(F5, [["render", V5], ["__scopeId", "data-v-1ccbacc
810
810
  }), {
811
811
  state: O,
812
812
  boneState: _,
813
- changeEvent: F,
813
+ changeEvent: M,
814
814
  emailBone: S
815
815
  };
816
816
  }
817
817
  }), j5 = ["disabled", "value"];
818
- function $5(h, y, _, O, S, F) {
818
+ function $5(h, y, _, O, S, M) {
819
819
  return L(), $("sl-input", {
820
820
  ref: "emailBone",
821
821
  disabled: h.boneState.readonly,
@@ -838,16 +838,16 @@ const rb = /* @__PURE__ */ ke(L5, [["render", $5], ["__scopeId", "data-v-4328e02
838
838
  const _ = Se("boneState"), O = he({
839
839
  value: ie(() => {
840
840
  var k;
841
- let F = h.value;
842
- return _.bonestructure.time ? F = (k = h.value) == null ? void 0 : k.split("+")[0] : h.value && (F = new Date(h.value).toISOString().substr(0, 10)), F;
841
+ let M = h.value;
842
+ return _.bonestructure.time ? M = (k = h.value) == null ? void 0 : k.split("+")[0] : h.value && (M = new Date(h.value).toISOString().substr(0, 10)), M;
843
843
  }),
844
844
  typeString: ie(() => {
845
- let F = "datetime-local";
846
- return _.bonestructure.time || (F = "date"), F;
845
+ let M = "datetime-local";
846
+ return _.bonestructure.time || (M = "date"), M;
847
847
  })
848
848
  });
849
- function S(F) {
850
- y.emit("change", h.name, F.target.value, h.lang, h.index);
849
+ function S(M) {
850
+ y.emit("change", h.name, M.target.value, h.lang, h.index);
851
851
  }
852
852
  return Qe(() => {
853
853
  y.emit("change", h.name, h.value, h.lang, h.index);
@@ -858,7 +858,7 @@ const rb = /* @__PURE__ */ ke(L5, [["render", $5], ["__scopeId", "data-v-4328e02
858
858
  };
859
859
  }
860
860
  }), q5 = ["disabled", "type", "value"];
861
- function U5(h, y, _, O, S, F) {
861
+ function U5(h, y, _, O, S, M) {
862
862
  return L(), $("sl-input", {
863
863
  disabled: h.boneState.readonly,
864
864
  type: h.state.typeString,
@@ -895,7 +895,7 @@ const sb = /* @__PURE__ */ ke(H5, [["render", U5], ["__scopeId", "data-v-f1b8af8
895
895
  return k;
896
896
  }
897
897
  }
898
- function F(k) {
898
+ function M(k) {
899
899
  y.emit("change", h.name, k.target.value, h.lang, h.index), W;
900
900
  }
901
901
  return Qe(() => {
@@ -903,12 +903,12 @@ const sb = /* @__PURE__ */ ke(H5, [["render", U5], ["__scopeId", "data-v-f1b8af8
903
903
  }), {
904
904
  state: O,
905
905
  boneState: _,
906
- changeEvent: F,
906
+ changeEvent: M,
907
907
  convertObjToList: S
908
908
  };
909
909
  }
910
910
  }), K5 = ["disabled", "value", "multiple"], G5 = ["value"];
911
- function Z5(h, y, _, O, S, F) {
911
+ function Z5(h, y, _, O, S, M) {
912
912
  return L(), $("sl-select", {
913
913
  disabled: h.boneState.readonly,
914
914
  value: h.state.value,
@@ -938,12 +938,12 @@ const ab = /* @__PURE__ */ ke(W5, [["render", Z5], ["__scopeId", "data-v-5a38b97
938
938
  const _ = Se("boneState"), O = he({
939
939
  value: ie(() => ![!1, null, void 0, ""].includes(h.value))
940
940
  });
941
- function S(F) {
942
- y.emit("change", h.name, F.target.checked, h.lang, h.index);
941
+ function S(M) {
942
+ y.emit("change", h.name, M.target.checked, h.lang, h.index);
943
943
  }
944
944
  return Qe(() => {
945
- let F = h.value;
946
- F || (F = !1), y.emit("change", h.name, F, h.lang, h.index);
945
+ let M = h.value;
946
+ M || (M = !1), y.emit("change", h.name, M, h.lang, h.index);
947
947
  }), {
948
948
  state: O,
949
949
  boneState: _,
@@ -951,7 +951,7 @@ const ab = /* @__PURE__ */ ke(W5, [["render", Z5], ["__scopeId", "data-v-5a38b97
951
951
  };
952
952
  }
953
953
  }), Y5 = ["disabled", "checked"];
954
- function Q5(h, y, _, O, S, F) {
954
+ function Q5(h, y, _, O, S, M) {
955
955
  return L(), $("sl-switch", {
956
956
  disabled: h.boneState.readonly,
957
957
  checked: h.state.value,
@@ -977,7 +977,7 @@ const lb = /* @__PURE__ */ ke(J5, [["render", Q5], ["__scopeId", "data-v-363598c
977
977
  passwordInfo: [],
978
978
  requiredPasswordInfo: []
979
979
  }), S = Dt(null);
980
- function F(x) {
980
+ function M(x) {
981
981
  O.value1 === O.value2 ? O.equal = !0 : O.equal = !1, k(O.value1), O.requiredPasswordInfo.length === 0 && O.passwordInfo.length - O.requiredPasswordInfo.length <= _.bonestructure.test_threshold ? y.emit("change", h.name, O.value1, h.lang, h.index, !0) : y.emit("change", h.name, O.value1, h.lang, h.index, !1);
982
982
  }
983
983
  Qe(() => {
@@ -1004,14 +1004,14 @@ const lb = /* @__PURE__ */ ke(J5, [["render", Q5], ["__scopeId", "data-v-363598c
1004
1004
  ), {
1005
1005
  state: O,
1006
1006
  boneState: _,
1007
- changeEvent: F,
1007
+ changeEvent: M,
1008
1008
  passwordBone: S
1009
1009
  };
1010
1010
  }
1011
1011
  }), eS = ["disabled"], tS = ["name"], nS = ["name"], oS = { class: "errors" };
1012
- function iS(h, y, _, O, S, F) {
1012
+ function iS(h, y, _, O, S, M) {
1013
1013
  return L(), $(re, null, [
1014
- hn(M("sl-input", {
1014
+ hn(F("sl-input", {
1015
1015
  ref: "passwordBone",
1016
1016
  "onUpdate:modelValue": y[0] || (y[0] = (k) => h.state.value1 = k),
1017
1017
  disabled: h.boneState.readonly,
@@ -1023,7 +1023,7 @@ function iS(h, y, _, O, S, F) {
1023
1023
  onSlClear: y[2] || (y[2] = (k) => h.state.value1 = ""),
1024
1024
  onKeyup: y[3] || (y[3] = (...k) => h.changeEvent && h.changeEvent(...k))
1025
1025
  }, [
1026
- M("sl-icon", {
1026
+ F("sl-icon", {
1027
1027
  slot: "suffix",
1028
1028
  name: h.state.equal && h.state.value1.length ? "check" : "x"
1029
1029
  }, null, 8, tS)
@@ -1041,14 +1041,14 @@ function iS(h, y, _, O, S, F) {
1041
1041
  onSlClear: y[6] || (y[6] = (k) => h.state.value2 = ""),
1042
1042
  onKeyup: y[7] || (y[7] = (...k) => h.changeEvent && h.changeEvent(...k))
1043
1043
  }, [
1044
- M("sl-icon", {
1044
+ F("sl-icon", {
1045
1045
  slot: "suffix",
1046
1046
  name: h.state.equal && h.state.value1.length ? "check" : "x"
1047
1047
  }, null, 8, nS)
1048
1048
  ], 544)), [
1049
1049
  [ri, h.state.value2]
1050
1050
  ]),
1051
- M("ul", oS, [
1051
+ F("ul", oS, [
1052
1052
  (L(!0), $(re, null, Je(h.state.passwordInfo, (k, x) => (L(), $("li", { key: x }, Ae(k), 1))), 128)),
1053
1053
  (L(!0), $(re, null, Je(h.state.requiredPasswordInfo, (k, x) => (L(), $("li", {
1054
1054
  key: x,
@@ -1104,7 +1104,7 @@ const cb = /* @__PURE__ */ ke(X5, [["render", iS], ["__scopeId", "data-v-0ccf18c
1104
1104
  Qe(() => {
1105
1105
  tx().appContext.components.Bone ? O.globalRegistration = !0 : O.globalRegistration = !1, y.emit("change", h.name, h.value, h.lang, h.index);
1106
1106
  });
1107
- function F(x) {
1107
+ function M(x) {
1108
1108
  console.log(x);
1109
1109
  }
1110
1110
  function k(x) {
@@ -1122,7 +1122,7 @@ const cb = /* @__PURE__ */ ke(X5, [["render", iS], ["__scopeId", "data-v-0ccf18c
1122
1122
  getBoneWidget: Vn,
1123
1123
  structureToDict: k,
1124
1124
  changeEvent: S,
1125
- updateValue: F
1125
+ updateValue: M
1126
1126
  };
1127
1127
  }
1128
1128
  }), sS = {
@@ -1133,7 +1133,7 @@ const cb = /* @__PURE__ */ ke(X5, [["render", iS], ["__scopeId", "data-v-0ccf18c
1133
1133
  key: 1,
1134
1134
  class: "form"
1135
1135
  }, lS = ["summary", "open"];
1136
- function cS(h, y, _, O, S, F) {
1136
+ function cS(h, y, _, O, S, M) {
1137
1137
  const k = Ln("bone");
1138
1138
  return h.state.globalRegistration ? (L(), $("div", aS, [
1139
1139
  (L(!0), $(re, null, Je(h.state.formGroups, (x, m) => hn((L(), $("sl-details", {
@@ -1174,11 +1174,11 @@ const Cb = /* @__PURE__ */ ke(rS, [["render", cS], ["__scopeId", "data-v-e6fcfbc
1174
1174
  index: ie(() => h.index),
1175
1175
  lang: ie(() => h.lang)
1176
1176
  });
1177
- function S(F) {
1177
+ function S(M) {
1178
1178
  var x;
1179
- (x = O.value) != null && x[F.name] || (O.value ? O.value[F.name] = null : O.value = { [F.name]: null });
1180
- let k = O.value[F.name];
1181
- F.lang ? (k === null && (k = {}), Object.keys(k).includes(F.lang) && F.index !== null ? k[F.lang][F.index] = F.value : k[F.lang] = F.value) : F.index !== null ? (k === null && (k = []), k[F.index] = F.value) : k = F.value, O.value[F.name] = k, y.emit("change", h.name, O.value, h.lang, h.index, !0);
1179
+ (x = O.value) != null && x[M.name] || (O.value ? O.value[M.name] = null : O.value = { [M.name]: null });
1180
+ let k = O.value[M.name];
1181
+ M.lang ? (k === null && (k = {}), Object.keys(k).includes(M.lang) && M.index !== null ? k[M.lang][M.index] = M.value : k[M.lang] = M.value) : M.index !== null ? (k === null && (k = []), k[M.index] = M.value) : k = M.value, O.value[M.name] = k, y.emit("change", h.name, O.value, h.lang, h.index, !0);
1182
1182
  }
1183
1183
  return Qe(() => {
1184
1184
  y.emit("change", h.name, h.value, h.lang, h.index);
@@ -1189,7 +1189,7 @@ const Cb = /* @__PURE__ */ ke(rS, [["render", cS], ["__scopeId", "data-v-e6fcfbc
1189
1189
  };
1190
1190
  }
1191
1191
  });
1192
- function uS(h, y, _, O, S, F) {
1192
+ function uS(h, y, _, O, S, M) {
1193
1193
  const k = Ln("Wrapper_nested");
1194
1194
  return L(), Ue(k, {
1195
1195
  value: h.value,
@@ -1211,8 +1211,8 @@ const db = /* @__PURE__ */ ke(dS, [["render", uS], ["__scopeId", "data-v-84a761c
1211
1211
  emits: ["change"],
1212
1212
  setup(h, y) {
1213
1213
  const _ = Se("boneState"), O = he({});
1214
- function S(F) {
1215
- y.emit("change", h.name, F.target.value, h.lang, h.index);
1214
+ function S(M) {
1215
+ y.emit("change", h.name, M.target.value, h.lang, h.index);
1216
1216
  }
1217
1217
  return Qe(() => {
1218
1218
  y.emit("change", h.name, h.value, h.lang, h.index);
@@ -1223,7 +1223,7 @@ const db = /* @__PURE__ */ ke(dS, [["render", uS], ["__scopeId", "data-v-84a761c
1223
1223
  };
1224
1224
  }
1225
1225
  }), gS = ["disabled", "value"];
1226
- function mS(h, y, _, O, S, F) {
1226
+ function mS(h, y, _, O, S, M) {
1227
1227
  return L(), $("sl-color-picker", {
1228
1228
  disabled: h.boneState.readonly,
1229
1229
  value: h.value,
@@ -1250,7 +1250,7 @@ const ub = /* @__PURE__ */ ke(hS, [["render", mS], ["__scopeId", "data-v-534b914
1250
1250
  return parseFloat(`0.${"0".repeat(_.bonestructure.precision - 1)}1`);
1251
1251
  })
1252
1252
  }), S = Dt(null);
1253
- function F(k) {
1253
+ function M(k) {
1254
1254
  y.emit("change", h.name, k.target.value, h.lang, h.index);
1255
1255
  }
1256
1256
  return Sr(() => {
@@ -1265,14 +1265,14 @@ const ub = /* @__PURE__ */ ke(hS, [["render", mS], ["__scopeId", "data-v-534b914
1265
1265
  }), {
1266
1266
  state: O,
1267
1267
  boneState: _,
1268
- changeEvent: F,
1268
+ changeEvent: M,
1269
1269
  numericBone: S
1270
1270
  };
1271
1271
  }
1272
1272
  }), fS = ["disabled", "value", "min", "max", "step"], bS = { class: "info" }, kS = { key: 0 }, wS = { key: 1 }, AS = { key: 2 };
1273
- function _S(h, y, _, O, S, F) {
1273
+ function _S(h, y, _, O, S, M) {
1274
1274
  return L(), $(re, null, [
1275
- M("sl-input", {
1275
+ F("sl-input", {
1276
1276
  ref: "numericBone",
1277
1277
  type: "number",
1278
1278
  disabled: h.boneState.readonly,
@@ -1283,7 +1283,7 @@ function _S(h, y, _, O, S, F) {
1283
1283
  onSlChange: y[0] || (y[0] = (...k) => h.changeEvent && h.changeEvent(...k)),
1284
1284
  onKeyup: y[1] || (y[1] = (...k) => h.changeEvent && h.changeEvent(...k))
1285
1285
  }, null, 40, fS),
1286
- M("ul", bS, [
1286
+ F("ul", bS, [
1287
1287
  h.state.minAmount !== -9223372036854776e3 && h.state.minAmount ? (L(), $("li", kS, Ae(h.$t("bones.numeric.min", { val: h.state.minAmount })), 1)) : oe("", !0),
1288
1288
  h.state.maxAmount !== 9223372036854776e3 && h.state.maxAmount ? (L(), $("li", wS, Ae(h.$t("bones.numeric.max", { val: h.state.maxAmount })), 1)) : oe("", !0),
1289
1289
  h.state.precision ? (L(), $("li", AS, Ae(h.$t("bones.numeric.precision", { val: h.boneState.bonestructure.precision })), 1)) : oe("", !0)
@@ -1317,7 +1317,7 @@ class Be {
1317
1317
  static buildUrl(y) {
1318
1318
  return y && !(y.startsWith("http://") || y.startsWith("https://") || y.startsWith("//")) && (y = window.location.origin + y), y;
1319
1319
  }
1320
- static post(y, { dataObj: _ = null, callback: O = null, failedCallback: S = null, abortController: F = null, headers: k = null, mode: x = null } = {}) {
1320
+ static post(y, { dataObj: _ = null, callback: O = null, failedCallback: S = null, abortController: M = null, headers: k = null, mode: x = null } = {}) {
1321
1321
  function m() {
1322
1322
  if (_ instanceof FormData)
1323
1323
  return _;
@@ -1330,7 +1330,7 @@ class Be {
1330
1330
  D.append(v, _[v]);
1331
1331
  return D;
1332
1332
  }
1333
- let C = si.post(Be.buildUrl(y), m(), null, k, F, x);
1333
+ let C = si.post(Be.buildUrl(y), m(), null, k, M, x);
1334
1334
  return C.then(function(D) {
1335
1335
  O && O(D.data);
1336
1336
  }).catch(function(D) {
@@ -1349,7 +1349,7 @@ class Be {
1349
1349
  dataObj: _ = null,
1350
1350
  callback: O = null,
1351
1351
  failedCallback: S = null,
1352
- abortController: F = null,
1352
+ abortController: M = null,
1353
1353
  renderer: k = Ye.VITE_DEFAULT_RENDERER || "json",
1354
1354
  headers: x = null,
1355
1355
  mode: m = null,
@@ -1361,7 +1361,7 @@ class Be {
1361
1361
  return _ instanceof FormData ? (_.append("skey", v), Fn().state.sKeys.delete(v)) : (_ || (_ = {}), _.skey = v, Fn().state.sKeys.delete(v)), D = Be.post(y, {
1362
1362
  dataObj: _,
1363
1363
  callback: O,
1364
- abortController: F,
1364
+ abortController: M,
1365
1365
  headers: x,
1366
1366
  mode: m
1367
1367
  }), D;
@@ -1370,7 +1370,7 @@ class Be {
1370
1370
  dataObj: _ = null,
1371
1371
  callback: O = null,
1372
1372
  failedCallback: S = null,
1373
- cached: F = !1,
1373
+ cached: M = !1,
1374
1374
  clearCache: k = !1,
1375
1375
  abortController: x = null,
1376
1376
  headers: m = null,
@@ -1389,12 +1389,12 @@ class Be {
1389
1389
  dataObj: _ = null,
1390
1390
  callback: O = null,
1391
1391
  failedCallback: S = null,
1392
- group: F = null,
1392
+ group: M = null,
1393
1393
  abortController: k = null,
1394
1394
  renderer: x = (Ye == null ? void 0 : Ye.VITE_DEFAULT_RENDERER) || "json"
1395
1395
  } = {}) {
1396
1396
  let m = `/${x}/${y}/list`;
1397
- return F && (m += `/${F}`), Be.get(m, {
1397
+ return M && (m += `/${M}`), Be.get(m, {
1398
1398
  dataObj: _,
1399
1399
  callback: O,
1400
1400
  failedCallback: S,
@@ -1405,13 +1405,13 @@ class Be {
1405
1405
  dataObj: _ = null,
1406
1406
  callback: O = null,
1407
1407
  failedCallback: S = null,
1408
- group: F = null,
1408
+ group: M = null,
1409
1409
  abortController: k = null,
1410
1410
  renderer: x = (Ye == null ? void 0 : Ye.VITE_DEFAULT_RENDERER) || "json"
1411
1411
  } = {}) {
1412
1412
  y = y.replace(/\//g, ".");
1413
1413
  let m = `/${x}/getStructure/${y}`;
1414
- return F && (m += `/${F}`), Be.get(m, {
1414
+ return M && (m += `/${M}`), Be.get(m, {
1415
1415
  dataObj: _,
1416
1416
  callback: O,
1417
1417
  failedCallback: S,
@@ -1421,7 +1421,7 @@ class Be {
1421
1421
  static view(y, _, {
1422
1422
  dataObj: O = null,
1423
1423
  callback: S = null,
1424
- failedCallback: F = null,
1424
+ failedCallback: M = null,
1425
1425
  group: k = null,
1426
1426
  abortController: x = null,
1427
1427
  renderer: m = (Ye == null ? void 0 : Ye.VITE_DEFAULT_RENDERER) || "json"
@@ -1430,7 +1430,7 @@ class Be {
1430
1430
  return k && (C = `/${m}/${y}/view/${k}/${_}`), Be.get(C, {
1431
1431
  dataObj: O,
1432
1432
  callback: S,
1433
- failedCallback: F,
1433
+ failedCallback: M,
1434
1434
  abortController: x
1435
1435
  });
1436
1436
  }
@@ -1438,12 +1438,12 @@ class Be {
1438
1438
  dataObj: _ = null,
1439
1439
  callback: O = null,
1440
1440
  failedCallback: S = null,
1441
- group: F = null,
1441
+ group: M = null,
1442
1442
  abortController: k = null,
1443
1443
  renderer: x = (Ye == null ? void 0 : Ye.VITE_DEFAULT_RENDERER) || "json"
1444
1444
  } = {}) {
1445
1445
  let m = `/${x}/${y}/add`;
1446
- return F && (m = `/${x}/${y}/add/${F}`), Be.securePost(m, {
1446
+ return M && (m = `/${x}/${y}/add/${M}`), Be.securePost(m, {
1447
1447
  dataObj: _,
1448
1448
  callback: O,
1449
1449
  failedCallback: S,
@@ -1453,7 +1453,7 @@ class Be {
1453
1453
  static edit(y, _, {
1454
1454
  dataObj: O = null,
1455
1455
  callback: S = null,
1456
- failedCallback: F = null,
1456
+ failedCallback: M = null,
1457
1457
  group: k = null,
1458
1458
  abortController: x = null,
1459
1459
  renderer: m = (Ye == null ? void 0 : Ye.VITE_DEFAULT_RENDERER) || "json"
@@ -1462,14 +1462,14 @@ class Be {
1462
1462
  return k && (C = `/${m}/${y}/edit/${k}/${_}`), Be.securePost(C, {
1463
1463
  dataObj: O,
1464
1464
  callback: S,
1465
- failedCallback: F,
1465
+ failedCallback: M,
1466
1466
  abortController: x
1467
1467
  });
1468
1468
  }
1469
1469
  static delete(y, _, {
1470
1470
  dataObj: O = null,
1471
1471
  callback: S = null,
1472
- failedCallback: F = null,
1472
+ failedCallback: M = null,
1473
1473
  group: k = null,
1474
1474
  abortController: x = null,
1475
1475
  renderer: m = (Ye == null ? void 0 : Ye.VITE_DEFAULT_RENDERER) || "json"
@@ -1478,7 +1478,7 @@ class Be {
1478
1478
  return k && (C = `/${m}/${y}/delete/${k}/${_}`), Be.securePost(C, {
1479
1479
  dataObj: O,
1480
1480
  callback: S,
1481
- failedCallback: F,
1481
+ failedCallback: M,
1482
1482
  abortController: x,
1483
1483
  amount: 1
1484
1484
  });
@@ -1493,7 +1493,7 @@ class Be {
1493
1493
  size: y.size.toString(),
1494
1494
  node: _
1495
1495
  };
1496
- return new Promise((S, F) => {
1496
+ return new Promise((S, M) => {
1497
1497
  Be.securePost("/vi/file/getUploadURL", { dataObj: O }).then(async (k) => {
1498
1498
  let x = await k.json();
1499
1499
  fetch(x.values.uploadUrl, {
@@ -1507,15 +1507,15 @@ class Be {
1507
1507
  };
1508
1508
  Be.securePost("/vi/file/add", { dataObj: C }).then(async (D) => {
1509
1509
  let v = await D.json();
1510
- v.action === "addSuccess" ? S(v.values) : F(v);
1510
+ v.action === "addSuccess" ? S(v.values) : M(v);
1511
1511
  }).catch((D) => {
1512
- F(D);
1512
+ M(D);
1513
1513
  });
1514
1514
  }).catch((m) => {
1515
- F(m);
1515
+ M(m);
1516
1516
  });
1517
1517
  }).catch((k) => {
1518
- F(k);
1518
+ M(k);
1519
1519
  });
1520
1520
  });
1521
1521
  }
@@ -1524,13 +1524,13 @@ class si {
1524
1524
  constructor() {
1525
1525
  eb(this, "withCredentials", !0);
1526
1526
  }
1527
- static buildOptions(y, _ = null, O = null, S = null, F = null) {
1527
+ static buildOptions(y, _ = null, O = null, S = null, M = null) {
1528
1528
  let k = { method: y };
1529
1529
  return k.credentials = "include", k.headers = {
1530
1530
  Accept: "application/json, text/plain, */*"
1531
- }, O && (k.headers = { ...k.headers, ...O }), _ && (k.body = _), S && (k.signal = S.signal), F && (k.mode = F), k;
1531
+ }, O && (k.headers = { ...k.headers, ...O }), _ && (k.body = _), S && (k.signal = S.signal), M && (k.mode = M), k;
1532
1532
  }
1533
- static get(y, _ = null, O = null, S = null, F = null, k = null) {
1533
+ static get(y, _ = null, O = null, S = null, M = null, k = null) {
1534
1534
  function x(m, C) {
1535
1535
  let D = new URL(m);
1536
1536
  if (C && Object.keys(C).length > 0) {
@@ -1545,7 +1545,7 @@ class si {
1545
1545
  }
1546
1546
  return D.toString();
1547
1547
  }
1548
- return fetch(x(y, _), si.buildOptions("GET", null, S, F, k)).then(async (m) => {
1548
+ return fetch(x(y, _), si.buildOptions("GET", null, S, M, k)).then(async (m) => {
1549
1549
  if (m.ok)
1550
1550
  return m;
1551
1551
  {
@@ -1565,8 +1565,8 @@ class si {
1565
1565
  return Promise.reject(new _r(m.statusCode, m.statusText, C, m.response));
1566
1566
  });
1567
1567
  }
1568
- static post(y, _ = null, O = null, S = null, F = null, k = null) {
1569
- return fetch(y, si.buildOptions("POST", _, S, F, k));
1568
+ static post(y, _ = null, O = null, S = null, M = null, k = null) {
1569
+ return fetch(y, si.buildOptions("POST", _, S, M, k));
1570
1570
  }
1571
1571
  }
1572
1572
  var vS = { VITE_API_URL: "", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
@@ -1586,7 +1586,7 @@ const CS = Ve({
1586
1586
  skellistdata: null,
1587
1587
  selection: null
1588
1588
  });
1589
- function F(m) {
1589
+ function M(m) {
1590
1590
  let C = "";
1591
1591
  return _.bonestructure.type === "relational.tree.leaf.file" ? C = "skelType=leaf&" : _.bonestructure.type === "relational.tree.node.file" && (C = "skelType=node&"), Be.get(
1592
1592
  `/${vS.VITE_DEFAULT_RENDERER || "vi"}/${_.bonestructure.module}/list?${C}limit=99`
@@ -1616,20 +1616,20 @@ const CS = Ve({
1616
1616
  formatString: O,
1617
1617
  changeEvent: k,
1618
1618
  changeEventNested: x,
1619
- getList: F
1619
+ getList: M
1620
1620
  };
1621
1621
  }
1622
- }), yS = (h) => (rt("data-v-61dd72e0"), h = h(), st(), h), ES = { class: "record" }, xS = { class: "single-entry" }, SS = ["value"], DS = ["disabled", "source"], BS = ["title"], TS = /* @__PURE__ */ yS(() => /* @__PURE__ */ M("sl-icon", {
1622
+ }), yS = (h) => (rt("data-v-61dd72e0"), h = h(), st(), h), ES = { class: "record" }, xS = { class: "single-entry" }, SS = ["value"], DS = ["disabled", "source"], BS = ["title"], TS = /* @__PURE__ */ yS(() => /* @__PURE__ */ F("sl-icon", {
1623
1623
  slot: "prefix",
1624
1624
  name: "x-lg"
1625
1625
  }, null, -1)), IS = [
1626
1626
  TS
1627
1627
  ];
1628
- function PS(h, y, _, O, S, F) {
1628
+ function PS(h, y, _, O, S, M) {
1629
1629
  var x, m;
1630
1630
  const k = Ln("Wrapper_nested");
1631
1631
  return L(), $("div", ES, [
1632
- M("div", xS, [
1632
+ F("div", xS, [
1633
1633
  h.state.selection ? (L(), $("sl-input", {
1634
1634
  key: 0,
1635
1635
  disabled: !0,
@@ -1676,8 +1676,8 @@ const gb = /* @__PURE__ */ ke(CS, [["render", PS], ["__scopeId", "data-v-61dd72e
1676
1676
  emits: ["change"],
1677
1677
  setup(h, y) {
1678
1678
  const _ = Se("boneState"), O = he({});
1679
- function S(F, k) {
1680
- y.emit("change", h.name, F, h.lang, h.index);
1679
+ function S(M, k) {
1680
+ y.emit("change", h.name, M, h.lang, h.index);
1681
1681
  }
1682
1682
  return Qe(() => {
1683
1683
  y.emit("change", h.name, h.value, h.lang, h.index);
@@ -1688,7 +1688,7 @@ const gb = /* @__PURE__ */ ke(CS, [["render", PS], ["__scopeId", "data-v-61dd72e
1688
1688
  };
1689
1689
  }
1690
1690
  }), OS = { class: "box" };
1691
- function zS(h, y, _, O, S, F) {
1691
+ function zS(h, y, _, O, S, M) {
1692
1692
  return L(), $("div", OS, Ae(h.value), 1);
1693
1693
  }
1694
1694
  const MS = /* @__PURE__ */ ke(RS, [["render", zS], ["__scopeId", "data-v-343aca69"]]);
@@ -1712,7 +1712,7 @@ const FS = Ve({
1712
1712
  Qe(() => {
1713
1713
  y.emit("change", h.name, h.value, h.lang, h.index);
1714
1714
  });
1715
- function F() {
1715
+ function M() {
1716
1716
  console.log(Be.downloadUrlFor(h.value)), window.open(Be.downloadUrlFor(h.value));
1717
1717
  }
1718
1718
  function k() {
@@ -1771,7 +1771,7 @@ const FS = Ve({
1771
1771
  return {
1772
1772
  state: S,
1773
1773
  boneState: _,
1774
- downloadFile: F,
1774
+ downloadFile: M,
1775
1775
  createBackgroundImage: k,
1776
1776
  handleUpload: m,
1777
1777
  uploadinput: O,
@@ -1781,14 +1781,14 @@ const FS = Ve({
1781
1781
  }), Tr = (h) => (rt("data-v-91086308"), h = h(), st(), h), NS = {
1782
1782
  key: 0,
1783
1783
  class: "loader"
1784
- }, VS = /* @__PURE__ */ Tr(() => /* @__PURE__ */ M("sl-spinner", { slot: "suffix" }, null, -1)), LS = [
1784
+ }, VS = /* @__PURE__ */ Tr(() => /* @__PURE__ */ F("sl-spinner", { slot: "suffix" }, null, -1)), LS = [
1785
1785
  VS
1786
1786
  ], jS = {
1787
1787
  key: 1,
1788
1788
  class: "droparea"
1789
- }, $S = ["title"], HS = /* @__PURE__ */ Tr(() => /* @__PURE__ */ M("sl-icon", { name: "upload" }, null, -1)), qS = [
1789
+ }, $S = ["title"], HS = /* @__PURE__ */ Tr(() => /* @__PURE__ */ F("sl-icon", { name: "upload" }, null, -1)), qS = [
1790
1790
  HS
1791
- ], US = ["multiple"], WS = ["title"], KS = /* @__PURE__ */ Tr(() => /* @__PURE__ */ M("sl-icon", {
1791
+ ], US = ["multiple"], WS = ["title"], KS = /* @__PURE__ */ Tr(() => /* @__PURE__ */ F("sl-icon", {
1792
1792
  slot: "prefix",
1793
1793
  name: "download"
1794
1794
  }, null, -1)), GS = [
@@ -1799,10 +1799,10 @@ const FS = Ve({
1799
1799
  }, eD = {
1800
1800
  key: 0,
1801
1801
  name: "file-earmark"
1802
- }, tD = { key: 2 }, nD = ["title"], oD = /* @__PURE__ */ Tr(() => /* @__PURE__ */ M("sl-icon", { name: "x-lg" }, null, -1)), iD = [
1802
+ }, tD = { key: 2 }, nD = ["title"], oD = /* @__PURE__ */ Tr(() => /* @__PURE__ */ F("sl-icon", { name: "x-lg" }, null, -1)), iD = [
1803
1803
  oD
1804
1804
  ];
1805
- function rD(h, y, _, O, S, F) {
1805
+ function rD(h, y, _, O, S, M) {
1806
1806
  var k, x, m, C, D, v, f, A, P, B;
1807
1807
  return L(), $("div", {
1808
1808
  class: "file-wrapper",
@@ -1819,7 +1819,7 @@ function rD(h, y, _, O, S, F) {
1819
1819
  class: "upload-btn",
1820
1820
  onClick: y[0] || (y[0] = (R) => h.uploadinput.click())
1821
1821
  }, qS, 8, $S)) : oe("", !0),
1822
- M("input", {
1822
+ F("input", {
1823
1823
  ref: "uploadinput",
1824
1824
  hidden: "",
1825
1825
  type: "file",
@@ -1831,23 +1831,23 @@ function rD(h, y, _, O, S, F) {
1831
1831
  title: h.$t("bone.download"),
1832
1832
  onClick: y[2] || (y[2] = (...R) => h.downloadFile && h.downloadFile(...R))
1833
1833
  }, GS, 8, WS)) : oe("", !0),
1834
- M("div", ZS, [
1834
+ F("div", ZS, [
1835
1835
  (x = (k = h.value) == null ? void 0 : k.dest) != null && x.mimetype.includes("image") ? (L(), $("div", {
1836
1836
  key: 0,
1837
1837
  class: "preview has-preview",
1838
1838
  onClick: y[3] || (y[3] = (R) => h.state.previewopen = !h.state.previewopen)
1839
1839
  }, [
1840
- M("img", {
1840
+ F("img", {
1841
1841
  class: "preview-img",
1842
1842
  src: h.createBackgroundImage(),
1843
1843
  alt: ""
1844
1844
  }, null, 8, JS),
1845
- M("sl-dialog", {
1845
+ F("sl-dialog", {
1846
1846
  label: decodeURIComponent((C = (m = h.value) == null ? void 0 : m.dest) == null ? void 0 : C.name),
1847
1847
  class: "preview-overlay",
1848
1848
  open: h.state.previewopen
1849
1849
  }, [
1850
- M("img", {
1850
+ F("img", {
1851
1851
  src: h.createBackgroundImage(),
1852
1852
  alt: ""
1853
1853
  }, null, 8, QS)
@@ -9253,7 +9253,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9253
9253
  if (typeof window == "object") return window;
9254
9254
  }
9255
9255
  }(), S.o = (k, x) => Object.prototype.hasOwnProperty.call(k, x), S.nc = void 0;
9256
- var F = {};
9256
+ var M = {};
9257
9257
  return (() => {
9258
9258
  function k({ emitter: o, activator: e, callback: t, contextElements: n }) {
9259
9259
  o.listenTo(document, "mousedown", (i, r) => {
@@ -9284,7 +9284,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9284
9284
  t.preventDefault(), o.fire("submit");
9285
9285
  }, { useCapture: !0 });
9286
9286
  }
9287
- S.d(F, { default: () => sl });
9287
+ S.d(M, { default: () => sl });
9288
9288
  const C = function() {
9289
9289
  try {
9290
9290
  return navigator.userAgent.toLowerCase();
@@ -28998,7 +28998,7 @@ $&
28998
28998
  return t && (t == "bold" || Number(t) >= 600) ? { name: !0, styles: ["font-weight"] } : null;
28999
28999
  }] });
29000
29000
  }], toolbar: { items: ["heading", "|", "bold", "italic", "underline", "|", "alignment", "numberedList", "bulletedList", "blockQuote", "|", "indent", "outdent", "|", "link", "insertTable", "imageUpload", "|", "undo", "redo", "RemoveFormat", "sourceEditing"] }, image: { toolbar: ["imageStyle:inline", "imageStyle:block", "imageStyle:side", "|", "resizeImage:50", "resizeImage:75", "resizeImage:original", "imageTextAlternative"], resizeOptions: [{ name: "resizeImage:original", value: null, icon: "original" }, { name: "resizeImage:50", value: "50", icon: "medium" }, { name: "resizeImage:75", value: "75", icon: "large" }] }, table: { contentToolbar: ["tableColumn", "tableRow", "mergeTableCells"] }, heading: { options: [{ model: "paragraph", title: "Paragraph", class: "ck-heading_paragraph" }, { model: "heading1", view: "h1", title: "Heading 1", class: "ck-heading_heading1" }, { model: "heading2", view: "h2", title: "Heading 2", class: "ck-heading_heading2" }, { model: "heading3", view: "h3", title: "Heading 3", class: "ck-heading_heading3" }, { model: "heading4", view: "h4", title: "Heading 4", class: "ck-heading_heading4" }, { model: "heading5", view: "h5", title: "Heading 5", class: "ck-heading_heading5" }, { model: "heading6", view: "h6", title: "Heading 6", class: "ck-heading_heading6" }] }, alignment: { options: [{ name: "left", className: "viur-txt-align--left" }, { name: "right", className: "viur-txt-align--right" }, { name: "center", className: "viur-txt-align--center" }, { name: "justify", className: "viur-txt-align--justify" }] }, indentBlock: { classes: ["viur-txt-indent--1", "viur-txt-indent--2", "viur-txt-indent--3", "viur-txt-indent--4", "viur-txt-indent--5", "viur-txt-indent--6", "viur-txt-indent--7", "viur-txt-indent--8", "viur-txt-indent--9", "viur-txt-indent--10"] }, htmlSupport: { allow: [{ name: "a", attributes: { target: !0, rel: !0 } }] }, language: "de", viur_api_url: "http://localhost:8080" };
29001
- })(), F = F.default;
29001
+ })(), M = M.default;
29002
29002
  })());
29003
29003
  })(xr, xr.exports);
29004
29004
  var aD = xr.exports;
@@ -29021,7 +29021,7 @@ const fb = /* @__PURE__ */ sD(aD), lD = Ve({
29021
29021
  function S(x) {
29022
29022
  y.emit("change", h.name, O.value, h.lang, h.index);
29023
29023
  }
29024
- function F(x) {
29024
+ function M(x) {
29025
29025
  O.value = x.target.value, y.emit("change", h.name, O.value, h.lang, h.index);
29026
29026
  }
29027
29027
  Qe(() => {
@@ -29043,11 +29043,11 @@ const fb = /* @__PURE__ */ sD(aD), lD = Ve({
29043
29043
  boneState: _,
29044
29044
  changeEvent: S,
29045
29045
  onReady: k,
29046
- changeEventTextarea: F
29046
+ changeEventTextarea: M
29047
29047
  };
29048
29048
  }
29049
29049
  }), cD = ["disabled", "value"];
29050
- function dD(h, y, _, O, S, F) {
29050
+ function dD(h, y, _, O, S, M) {
29051
29051
  var x, m, C, D;
29052
29052
  const k = Ln("ckeditor");
29053
29053
  return h.state.editor ? (L(), $(re, { key: 0 }, [
@@ -29099,9 +29099,9 @@ const bb = /* @__PURE__ */ ke(lD, [["render", dD]]), uD = Ve({
29099
29099
  };
29100
29100
  }
29101
29101
  }), hD = ["name", "min", "max", "disabled"], gD = ["name", "min", "max", "disabled"];
29102
- function mD(h, y, _, O, S, F) {
29102
+ function mD(h, y, _, O, S, M) {
29103
29103
  return L(), $(re, null, [
29104
- hn(M("sl-input", {
29104
+ hn(F("sl-input", {
29105
29105
  "onUpdate:modelValue": y[0] || (y[0] = (k) => h.state.valueLat = k),
29106
29106
  index: "lat",
29107
29107
  type: "number",
@@ -29116,7 +29116,7 @@ function mD(h, y, _, O, S, F) {
29116
29116
  }, null, 40, hD), [
29117
29117
  [ri, h.state.valueLat]
29118
29118
  ]),
29119
- hn(M("sl-input", {
29119
+ hn(F("sl-input", {
29120
29120
  "onUpdate:modelValue": y[2] || (y[2] = (k) => h.state.valueLng = k),
29121
29121
  index: "lng",
29122
29122
  type: "number",
@@ -29148,7 +29148,7 @@ const kb = /* @__PURE__ */ ke(uD, [["render", mD], ["__scopeId", "data-v-7bc3102
29148
29148
  const _ = Se("boneState"), O = he({
29149
29149
  counter: 0,
29150
29150
  debounce: null
29151
- }), S = Se("addMultipleEntry"), F = Se("removeMultipleEntries");
29151
+ }), S = Se("addMultipleEntry"), M = Se("removeMultipleEntries");
29152
29152
  function k() {
29153
29153
  O.counter += 1;
29154
29154
  let m = 200;
@@ -29161,7 +29161,7 @@ const kb = /* @__PURE__ */ ke(uD, [["render", mD], ["__scopeId", "data-v-7bc3102
29161
29161
  function x() {
29162
29162
  let m = 200;
29163
29163
  O.debounce && clearTimeout(O.debounce), O.debounce = setTimeout(() => {
29164
- F(h.lang);
29164
+ M(h.lang);
29165
29165
  }, m);
29166
29166
  }
29167
29167
  return Qe(() => {
@@ -29171,19 +29171,19 @@ const kb = /* @__PURE__ */ ke(uD, [["render", mD], ["__scopeId", "data-v-7bc3102
29171
29171
  boneState: _,
29172
29172
  handleAdd: k,
29173
29173
  handleRemove: x,
29174
- removeMultipleEntries: F
29174
+ removeMultipleEntries: M
29175
29175
  };
29176
29176
  }
29177
- }), yb = (h) => (rt("data-v-63e75dee"), h = h(), st(), h), fD = { class: "actionbar" }, bD = ["title"], kD = /* @__PURE__ */ yb(() => /* @__PURE__ */ M("sl-icon", {
29177
+ }), yb = (h) => (rt("data-v-63e75dee"), h = h(), st(), h), fD = { class: "actionbar" }, bD = ["title"], kD = /* @__PURE__ */ yb(() => /* @__PURE__ */ F("sl-icon", {
29178
29178
  slot: "prefix",
29179
29179
  name: "x-lg"
29180
29180
  }, null, -1)), wD = [
29181
29181
  kD
29182
- ], AD = ["title"], _D = /* @__PURE__ */ yb(() => /* @__PURE__ */ M("sl-icon", {
29182
+ ], AD = ["title"], _D = /* @__PURE__ */ yb(() => /* @__PURE__ */ F("sl-icon", {
29183
29183
  slot: "prefix",
29184
29184
  name: "plus-lg"
29185
29185
  }, null, -1));
29186
- function vD(h, y, _, O, S, F) {
29186
+ function vD(h, y, _, O, S, M) {
29187
29187
  return L(), $("div", fD, [
29188
29188
  h.boneState.multiple && !h.readonly ? (L(), $("sl-button", {
29189
29189
  key: 0,
@@ -29223,7 +29223,7 @@ const ED = Ve({
29223
29223
  components: {},
29224
29224
  emits: ["change"],
29225
29225
  setup(h, y) {
29226
- const _ = Se("boneState"), O = Se("addMultipleEntry"), S = Se("formatString"), F = null, k = he({
29226
+ const _ = Se("boneState"), O = Se("addMultipleEntry"), S = Se("formatString"), M = null, k = he({
29227
29227
  skels: {},
29228
29228
  hasUsing: ie(() => _ == null ? void 0 : _.bonestructure.using)
29229
29229
  });
@@ -29243,20 +29243,20 @@ const ED = Ve({
29243
29243
  state: k,
29244
29244
  boneState: _,
29245
29245
  addMultipleEntry: O,
29246
- removeMultipleEntries: F,
29246
+ removeMultipleEntries: M,
29247
29247
  getList: x
29248
29248
  };
29249
29249
  }
29250
- }), Eb = (h) => (rt("data-v-eeea51c6"), h = h(), st(), h), xD = { class: "actionbar" }, SD = ["title"], DD = /* @__PURE__ */ Eb(() => /* @__PURE__ */ M("sl-icon", {
29250
+ }), Eb = (h) => (rt("data-v-eeea51c6"), h = h(), st(), h), xD = { class: "actionbar" }, SD = ["title"], DD = /* @__PURE__ */ Eb(() => /* @__PURE__ */ F("sl-icon", {
29251
29251
  slot: "prefix",
29252
29252
  name: "x-lg"
29253
29253
  }, null, -1)), BD = [
29254
29254
  DD
29255
- ], TD = ["source"], ID = ["title"], PD = /* @__PURE__ */ Eb(() => /* @__PURE__ */ M("sl-icon", {
29255
+ ], TD = ["source"], ID = ["title"], PD = /* @__PURE__ */ Eb(() => /* @__PURE__ */ F("sl-icon", {
29256
29256
  slot: "prefix",
29257
29257
  name: "plus-lg"
29258
29258
  }, null, -1));
29259
- function RD(h, y, _, O, S, F) {
29259
+ function RD(h, y, _, O, S, M) {
29260
29260
  return L(), $("div", xD, [
29261
29261
  h.boneState.multiple && !h.readonly ? (L(), $("sl-button", {
29262
29262
  key: 0,
@@ -29266,7 +29266,7 @@ function RD(h, y, _, O, S, F) {
29266
29266
  class: "delete-btn",
29267
29267
  onClick: y[0] || (y[0] = (k) => h.openSelector())
29268
29268
  }, BD, 8, SD)) : oe("", !0),
29269
- M("sl-combobox", {
29269
+ F("sl-combobox", {
29270
29270
  source: h.getList,
29271
29271
  hoist: "",
29272
29272
  onSlItemSelect: y[1] || (y[1] = (k) => {
@@ -29306,7 +29306,7 @@ const zD = Ve({
29306
29306
  setup(h, y) {
29307
29307
  const _ = Se("boneState"), O = Se("addMultipleEntry");
29308
29308
  Se("formatString");
29309
- const S = null, F = Dt(), k = he({
29309
+ const S = null, M = Dt(), k = he({
29310
29310
  skels: {},
29311
29311
  uploadinput: null,
29312
29312
  loading: !1,
@@ -29350,7 +29350,7 @@ const zD = Ve({
29350
29350
  k.loading = !0;
29351
29351
  for (let v of D.target.files) {
29352
29352
  let f = await x(v);
29353
- F.value.value = null;
29353
+ M.value.value = null;
29354
29354
  let A = null;
29355
29355
  k.hasUsing && (A = void 0), O(h.lang, { dest: f, rel: A });
29356
29356
  }
@@ -29360,7 +29360,7 @@ const zD = Ve({
29360
29360
  k.loading = !0, k.droparea = !1;
29361
29361
  for (let v of D.dataTransfer.files) {
29362
29362
  let f = await x(v);
29363
- F.value.value = null;
29363
+ M.value.value = null;
29364
29364
  let A = null;
29365
29365
  k.hasUsing && (A = void 0), O(h.lang, { dest: f, rel: A });
29366
29366
  }
@@ -29374,12 +29374,12 @@ const zD = Ve({
29374
29374
  addMultipleEntry: O,
29375
29375
  removeMultipleEntries: S,
29376
29376
  uploadFile: x,
29377
- uploadinput: F,
29377
+ uploadinput: M,
29378
29378
  handleUpload: m,
29379
29379
  handleDrop: C
29380
29380
  };
29381
29381
  }
29382
- }), ml = (h) => (rt("data-v-9bac9f8a"), h = h(), st(), h), MD = ["title"], FD = /* @__PURE__ */ ml(() => /* @__PURE__ */ M("sl-icon", {
29382
+ }), ml = (h) => (rt("data-v-9bac9f8a"), h = h(), st(), h), MD = ["title"], FD = /* @__PURE__ */ ml(() => /* @__PURE__ */ F("sl-icon", {
29383
29383
  slot: "prefix",
29384
29384
  name: "x-lg"
29385
29385
  }, null, -1)), ND = [
@@ -29387,16 +29387,16 @@ const zD = Ve({
29387
29387
  ], VD = {
29388
29388
  key: 1,
29389
29389
  class: "droparea"
29390
- }, LD = ["multiple"], jD = ["title"], $D = /* @__PURE__ */ ml(() => /* @__PURE__ */ M("sl-icon", {
29390
+ }, LD = ["multiple"], jD = ["title"], $D = /* @__PURE__ */ ml(() => /* @__PURE__ */ F("sl-icon", {
29391
29391
  slot: "prefix",
29392
29392
  name: "plus-lg"
29393
29393
  }, null, -1)), HD = [
29394
29394
  $D
29395
- ], qD = ["title"], UD = /* @__PURE__ */ ml(() => /* @__PURE__ */ M("sl-icon", { name: "upload" }, null, -1)), WD = {
29395
+ ], qD = ["title"], UD = /* @__PURE__ */ ml(() => /* @__PURE__ */ F("sl-icon", { name: "upload" }, null, -1)), WD = {
29396
29396
  key: 0,
29397
29397
  slot: "suffix"
29398
29398
  };
29399
- function KD(h, y, _, O, S, F) {
29399
+ function KD(h, y, _, O, S, M) {
29400
29400
  return L(), $("div", {
29401
29401
  class: "actionbar",
29402
29402
  onDragover: y[4] || (y[4] = Er((k) => h.state.droparea = !0, ["prevent"])),
@@ -29412,7 +29412,7 @@ function KD(h, y, _, O, S, F) {
29412
29412
  onClick: y[0] || (y[0] = (k) => h.openSelector())
29413
29413
  }, ND, 8, MD)) : oe("", !0),
29414
29414
  h.state.droparea ? (L(), $("div", VD, " Dateien hier hinziehen ")) : oe("", !0),
29415
- M("input", {
29415
+ F("input", {
29416
29416
  ref: "uploadinput",
29417
29417
  hidden: "",
29418
29418
  type: "file",
@@ -29495,7 +29495,7 @@ const GD = /* @__PURE__ */ ke(zD, [["render", KD], ["__scopeId", "data-v-9bac9f8
29495
29495
  function S(k, x) {
29496
29496
  h.actionbars[k] = x;
29497
29497
  }
29498
- function F(k) {
29498
+ function M(k) {
29499
29499
  if (Object.keys(h.actionbars).includes(k))
29500
29500
  return h.actionbars[k];
29501
29501
  {
@@ -29517,7 +29517,7 @@ const GD = /* @__PURE__ */ ke(zD, [["render", KD], ["__scopeId", "data-v-9bac9f8
29517
29517
  getBoneWidget: O,
29518
29518
  importWidgets: _,
29519
29519
  addBoneActionbar: S,
29520
- getBoneActionbar: F
29520
+ getBoneActionbar: M
29521
29521
  };
29522
29522
  });
29523
29523
  function ZD(h) {
@@ -29535,7 +29535,7 @@ function JD(h) {
29535
29535
  (S) => S[1].startsWith(_[0] + ".")
29536
29536
  );
29537
29537
  if (O.length > 0) {
29538
- O.sort((S, F) => F.length - S.length);
29538
+ O.sort((S, M) => M.length - S.length);
29539
29539
  for (let S of O)
29540
29540
  if (h.startsWith(S[1]))
29541
29541
  return !0;
@@ -29543,7 +29543,7 @@ function JD(h) {
29543
29543
  }
29544
29544
  return !1;
29545
29545
  }
29546
- const fl = (h) => (rt("data-v-25f20336"), h = h(), st(), h), YD = /* @__PURE__ */ fl(() => /* @__PURE__ */ M("h2", { class: "viur-shop-form-headline headline" }, "Nutzterdaten", -1)), QD = /* @__PURE__ */ fl(() => /* @__PURE__ */ M("h2", { class: "viur-shop-form-headline headline" }, "Lieferadresse", -1)), XD = { key: 0 }, eB = /* @__PURE__ */ fl(() => /* @__PURE__ */ M("h2", { class: "viur-shop-form-headline headline" }, "Rechnungsadresse", -1)), tB = {
29546
+ const fl = (h) => (rt("data-v-96ba7336"), h = h(), st(), h), YD = /* @__PURE__ */ fl(() => /* @__PURE__ */ F("h2", { class: "viur-shop-form-headline headline" }, "Nutzterdaten", -1)), QD = /* @__PURE__ */ fl(() => /* @__PURE__ */ F("h2", { class: "viur-shop-form-headline headline" }, "Lieferadresse", -1)), XD = { key: 0 }, eB = /* @__PURE__ */ fl(() => /* @__PURE__ */ F("h2", { class: "viur-shop-form-headline headline" }, "Rechnungsadresse", -1)), tB = {
29547
29547
  __name: "UserInformation",
29548
29548
  props: {
29549
29549
  mode: { type: String, default: "form" },
@@ -29569,12 +29569,12 @@ const fl = (h) => (rt("data-v-25f20336"), h = h(), st(), h), YD = /* @__PURE__ *
29569
29569
  for (const [m, C] of Object.entries(x.value[0]))
29570
29570
  _.formValues[m] = C;
29571
29571
  }
29572
- function F(k) {
29572
+ function M(k) {
29573
29573
  let x = {};
29574
- return k.forEach((m) => {
29574
+ return k instanceof Object ? k : (k.forEach((m) => {
29575
29575
  let C = m[0], D = m[1];
29576
29576
  x[C] = D;
29577
- }), x;
29577
+ }), x);
29578
29578
  }
29579
29579
  return Eo(_.formValues, (k) => {
29580
29580
  Object.entries(k).forEach(([x, m]) => {
@@ -29585,24 +29585,22 @@ const fl = (h) => (rt("data-v-25f20336"), h = h(), st(), h), YD = /* @__PURE__ *
29585
29585
  }), (k, x) => {
29586
29586
  const m = Ln("bone");
29587
29587
  return L(), $(re, null, [
29588
- M("div", null, [
29588
+ F("div", null, [
29589
29589
  YD,
29590
- (L(!0), $(re, null, Je(_.addSkel, (C) => (L(), $(re, {
29591
- key: C[0]
29592
- }, [
29593
- C[1].visible && C[1].params.group === "Customer Info" ? (L(), Ue(m, {
29590
+ (L(!0), $(re, null, Je(M(_.addSkel), (C, D) => (L(), $(re, { key: C }, [
29591
+ D.visible && D.params.group === "Customer Info" ? (L(), Ue(m, {
29594
29592
  key: 0,
29595
- is: wt(Vn)(C[1].type),
29596
- name: C[0],
29597
- structure: F(_.addSkel),
29598
- errors: _.errors[C[0]] ? _.errors[C[0]] : [],
29593
+ is: wt(Vn)(D.type),
29594
+ name: C,
29595
+ structure: M(_.addSkel),
29596
+ errors: _.errors[C] ? _.errors[C] : [],
29599
29597
  skel: _.formValues,
29600
- onChange: (D) => S(C[0], D),
29598
+ onChange: (v) => S(C, v),
29601
29599
  class: "viur-shop-form-grid-w-2"
29602
29600
  }, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) : oe("", !0)
29603
29601
  ], 64))), 128))
29604
29602
  ]),
29605
- M("div", null, [
29603
+ F("div", null, [
29606
29604
  QD,
29607
29605
  (L(!0), $(re, null, Je(_.addSkel, (C) => (L(), $(re, {
29608
29606
  key: C[0]
@@ -29611,7 +29609,7 @@ const fl = (h) => (rt("data-v-25f20336"), h = h(), st(), h), YD = /* @__PURE__ *
29611
29609
  key: 0,
29612
29610
  is: wt(Vn)(C[1].type),
29613
29611
  name: C[0],
29614
- structure: F(_.addSkel),
29612
+ structure: M(_.addSkel),
29615
29613
  errors: _.errors[C[0]] ? _.errors[C[0]] : [],
29616
29614
  skel: _.formValues,
29617
29615
  onChange: (D) => S(C[0], D)
@@ -29627,21 +29625,21 @@ const fl = (h) => (rt("data-v-25f20336"), h = h(), st(), h), YD = /* @__PURE__ *
29627
29625
  key: 0,
29628
29626
  is: wt(Vn)(C[1].type),
29629
29627
  name: C[0],
29630
- structure: F(_.addSkel),
29628
+ structure: M(_.addSkel),
29631
29629
  errors: _.errors[C[0]] ? _.errors[C[0]] : [],
29632
29630
  skel: _.formValues,
29633
29631
  onChange: (D) => S(C[0], D)
29634
29632
  }, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) : oe("", !0)
29635
29633
  ], 64))), 128))
29636
29634
  ])) : oe("", !0),
29637
- M("sl-checkbox", {
29635
+ F("sl-checkbox", {
29638
29636
  onSlChange: O,
29639
29637
  checked: ""
29640
29638
  }, " Rechnungsadresse wie Lieferadresse ", 32)
29641
29639
  ], 64);
29642
29640
  };
29643
29641
  }
29644
- }, nB = /* @__PURE__ */ ke(tB, [["__scopeId", "data-v-25f20336"]]), oB = Ve({
29642
+ }, nB = /* @__PURE__ */ ke(tB, [["__scopeId", "data-v-96ba7336"]]), oB = Ve({
29645
29643
  props: {
29646
29644
  isDragging: Boolean,
29647
29645
  draggingLineBottom: Boolean,
@@ -29658,18 +29656,18 @@ const fl = (h) => (rt("data-v-25f20336"), h = h(), st(), h), YD = /* @__PURE__ *
29658
29656
  boneState: _
29659
29657
  };
29660
29658
  }
29661
- }), xb = (h) => (rt("data-v-141aaf9b"), h = h(), st(), h), iB = ["draggable"], rB = ["disabled"], sB = /* @__PURE__ */ xb(() => /* @__PURE__ */ M("sl-icon", {
29659
+ }), xb = (h) => (rt("data-v-141aaf9b"), h = h(), st(), h), iB = ["draggable"], rB = ["disabled"], sB = /* @__PURE__ */ xb(() => /* @__PURE__ */ F("sl-icon", {
29662
29660
  slot: "prefix",
29663
29661
  name: "grip-vertical"
29664
29662
  }, null, -1)), aB = [
29665
29663
  sB
29666
- ], lB = { class: "value" }, cB = ["disabled", "title"], dB = /* @__PURE__ */ xb(() => /* @__PURE__ */ M("sl-icon", {
29664
+ ], lB = { class: "value" }, cB = ["disabled", "title"], dB = /* @__PURE__ */ xb(() => /* @__PURE__ */ F("sl-icon", {
29667
29665
  slot: "prefix",
29668
29666
  name: "x-lg"
29669
29667
  }, null, -1)), uB = [
29670
29668
  dB
29671
29669
  ];
29672
- function hB(h, y, _, O, S, F) {
29670
+ function hB(h, y, _, O, S, M) {
29673
29671
  return L(), $("div", {
29674
29672
  class: yo(["value-line", {
29675
29673
  "is-dragging": h.isDragging,
@@ -29682,15 +29680,15 @@ function hB(h, y, _, O, S, F) {
29682
29680
  onDragstart: y[4] || (y[4] = (k) => h.$emit("handleDragStart", k)),
29683
29681
  onDragend: y[5] || (y[5] = (k) => h.$emit("handleDragEnd"))
29684
29682
  }, [
29685
- M("sl-button", {
29683
+ F("sl-button", {
29686
29684
  disabled: h.boneState.readonly,
29687
29685
  class: "drag-button",
29688
29686
  onMousedown: y[0] || (y[0] = (k) => h.state.isDraggable = !0)
29689
29687
  }, aB, 40, rB),
29690
- M("div", lB, [
29688
+ F("div", lB, [
29691
29689
  Ab(h.$slots, "default", {}, void 0, !0)
29692
29690
  ]),
29693
- M("sl-button", {
29691
+ F("sl-button", {
29694
29692
  variant: "danger",
29695
29693
  disabled: h.boneState.readonly,
29696
29694
  outline: "",
@@ -29721,15 +29719,15 @@ const gB = /* @__PURE__ */ ke(oB, [["render", hB], ["__scopeId", "data-v-141aaf9
29721
29719
  };
29722
29720
  }
29723
29721
  }), pB = { class: "bone-name" }, fB = { key: 0 }, bB = { class: "bone" };
29724
- function kB(h, y, _, O, S, F) {
29722
+ function kB(h, y, _, O, S, M) {
29725
29723
  return L(), $(re, null, [
29726
- M("label", pB, [
29724
+ F("label", pB, [
29727
29725
  Ab(h.$slots, "default", {}, void 0, !0),
29728
29726
  oe("", !0)
29729
29727
  ]),
29730
29728
  h.state.debug ? (L(), $("div", fB, [
29731
- M("div", bB, Ae(h.name), 1),
29732
- M("pre", null, " " + Ae(h.boneState) + `
29729
+ F("div", bB, Ae(h.name), 1),
29730
+ F("pre", null, " " + Ae(h.boneState) + `
29733
29731
  `, 1)
29734
29732
  ])) : oe("", !0)
29735
29733
  ], 64);
@@ -29841,7 +29839,7 @@ const wB = /* @__PURE__ */ ke(mB, [["render", kB], ["__scopeId", "data-v-b714917
29841
29839
  let Z = R ? _.bonevalue[R] : _.bonevalue;
29842
29840
  _.dropIndex.index > Z.length - 1 && (_.dropIndex.index -= 1);
29843
29841
  }
29844
- function F(B, R, N) {
29842
+ function M(B, R, N) {
29845
29843
  let j = null;
29846
29844
  _.dragStartIndex.index !== _.dropIndex.index && (R ? (j = _.bonevalue[R].splice(_.dragStartIndex.index, 1)[0], _.bonevalue[R].splice(_.dropIndex.index, 0, j)) : (j = _.bonevalue.splice(_.dragStartIndex.index, 1)[0], _.bonevalue.splice(_.dropIndex.index, 0, j)), console.dir(_.bonevalue[0]), y.emit("change", {
29847
29845
  name: h.name,
@@ -29997,7 +29995,7 @@ const wB = /* @__PURE__ */ ke(mB, [["render", kB], ["__scopeId", "data-v-b714917
29997
29995
  multipleBonePressEnter: A,
29998
29996
  handleDragStart: O,
29999
29997
  handleDragOver: S,
30000
- handleDrop: F,
29998
+ handleDrop: M,
30001
29999
  setStateProperties: k,
30002
30000
  resetStateProperties: x
30003
30001
  };
@@ -30005,8 +30003,8 @@ const wB = /* @__PURE__ */ ke(mB, [["render", kB], ["__scopeId", "data-v-b714917
30005
30003
  }), ci = (h) => (rt("data-v-dee63f3c"), h = h(), st(), h), _B = {
30006
30004
  key: 0,
30007
30005
  class: "required"
30008
- }, vB = ["content"], CB = /* @__PURE__ */ ci(() => /* @__PURE__ */ M("div", { class: "tooltip" }, [
30009
- /* @__PURE__ */ M("sl-icon", { name: "question" })
30006
+ }, vB = ["content"], CB = /* @__PURE__ */ ci(() => /* @__PURE__ */ F("div", { class: "tooltip" }, [
30007
+ /* @__PURE__ */ F("sl-icon", { name: "question" })
30010
30008
  ], -1)), yB = [
30011
30009
  CB
30012
30010
  ], EB = {
@@ -30014,7 +30012,7 @@ const wB = /* @__PURE__ */ ke(mB, [["render", kB], ["__scopeId", "data-v-b714917
30014
30012
  variant: "info",
30015
30013
  open: "",
30016
30014
  class: "label-info"
30017
- }, xB = /* @__PURE__ */ ci(() => /* @__PURE__ */ M("sl-icon", {
30015
+ }, xB = /* @__PURE__ */ ci(() => /* @__PURE__ */ F("sl-icon", {
30018
30016
  slot: "icon",
30019
30017
  library: "bootstrap",
30020
30018
  name: "info-circle-fill"
@@ -30022,7 +30020,7 @@ const wB = /* @__PURE__ */ ke(mB, [["render", kB], ["__scopeId", "data-v-b714917
30022
30020
  key: 0,
30023
30021
  class: "lang-tab",
30024
30022
  placement: "bottom"
30025
- }, BB = ["panel"], TB = ["name"], IB = /* @__PURE__ */ ci(() => /* @__PURE__ */ M("sl-input", {
30023
+ }, BB = ["panel"], TB = ["name"], IB = /* @__PURE__ */ ci(() => /* @__PURE__ */ F("sl-input", {
30026
30024
  readonly: "",
30027
30025
  size: "medium",
30028
30026
  placeholder: "Keine Einträge"
@@ -30031,7 +30029,7 @@ const wB = /* @__PURE__ */ ke(mB, [["render", kB], ["__scopeId", "data-v-b714917
30031
30029
  ], RB = {
30032
30030
  key: 1,
30033
30031
  class: "multiple-placeholder"
30034
- }, OB = /* @__PURE__ */ ci(() => /* @__PURE__ */ M("sl-input", {
30032
+ }, OB = /* @__PURE__ */ ci(() => /* @__PURE__ */ F("sl-input", {
30035
30033
  readonly: "",
30036
30034
  size: "medium",
30037
30035
  placeholder: "Keine Einträge"
@@ -30041,11 +30039,11 @@ const wB = /* @__PURE__ */ ke(mB, [["render", kB], ["__scopeId", "data-v-b714917
30041
30039
  open: "",
30042
30040
  summary: "Errors",
30043
30041
  variant: "info"
30044
- }, FB = /* @__PURE__ */ ci(() => /* @__PURE__ */ M("sl-icon", {
30042
+ }, FB = /* @__PURE__ */ ci(() => /* @__PURE__ */ F("sl-icon", {
30045
30043
  slot: "icon",
30046
30044
  name: "exclamation-triangle"
30047
30045
  }, null, -1)), NB = { class: "error-msg" };
30048
- function VB(h, y, _, O, S, F) {
30046
+ function VB(h, y, _, O, S, M) {
30049
30047
  var m;
30050
30048
  const k = Ln("bone-label"), x = Ln("wrapper-multiple");
30051
30049
  return L(), $("div", {
@@ -30056,7 +30054,7 @@ function VB(h, y, _, O, S, F) {
30056
30054
  }, [
30057
30055
  yr(k, { name: h.name }, {
30058
30056
  default: Cr(() => [
30059
- M("span", {
30057
+ F("span", {
30060
30058
  class: yo({ required: h.state.required })
30061
30059
  }, Ae(h.state.bonestructure.descr), 3),
30062
30060
  h.state.required ? (L(), $("span", _B, " *")) : oe("", !0),
@@ -30072,18 +30070,18 @@ function VB(h, y, _, O, S, F) {
30072
30070
  xB,
30073
30071
  ue(" " + Ae(h.state.bonestructure.params.tooltip), 1)
30074
30072
  ])) : oe("", !0),
30075
- M("div", SB, [
30073
+ F("div", SB, [
30076
30074
  h.state.multilanguage ? (L(), $("sl-tab-group", DB, [
30077
30075
  (L(!0), $(re, null, Je(h.state.languages, (C) => {
30078
30076
  var D, v, f, A;
30079
30077
  return L(), $(re, {
30080
30078
  key: C + "_tab"
30081
30079
  }, [
30082
- M("sl-tab", {
30080
+ F("sl-tab", {
30083
30081
  slot: "nav",
30084
30082
  panel: "lang_" + C
30085
30083
  }, Ae(h.$t(C)), 9, BB),
30086
- M("sl-tab-panel", {
30084
+ F("sl-tab-panel", {
30087
30085
  name: "lang_" + C
30088
30086
  }, [
30089
30087
  h.state.multiple && !h.BoneHasMultipleHandling(h.state.bonestructure.type) ? (L(), $(re, { key: 0 }, [
@@ -30181,23 +30179,23 @@ function VB(h, y, _, O, S, F) {
30181
30179
  ], 64)),
30182
30180
  (L(!0), $(re, null, Je(h.state.errorMessages, (C) => (L(), $("sl-alert", MB, [
30183
30181
  FB,
30184
- M("div", NB, Ae(C), 1)
30182
+ F("div", NB, Ae(C), 1)
30185
30183
  ]))), 256))
30186
30184
  ])
30187
30185
  ], 2);
30188
30186
  }
30189
- const cl = /* @__PURE__ */ ke(AB, [["render", VB], ["__scopeId", "data-v-dee63f3c"]]), $n = (h) => (rt("data-v-71a3c8c9"), h = h(), st(), h), LB = /* @__PURE__ */ $n(() => /* @__PURE__ */ M("h2", { class: "viur-shop-form-headline headline" }, "Nutzterdaten", -1)), jB = /* @__PURE__ */ $n(() => /* @__PURE__ */ M("h2", { class: "viur-shop-form-headline headline" }, "Lieferadresse", -1)), $B = ["onSlChange", "onSlClear", "label"], HB = ["value"], qB = { key: 0 }, UB = /* @__PURE__ */ $n(() => /* @__PURE__ */ M("h2", { class: "viur-shop-form-headline headline" }, "Rechnungsadresse", -1)), WB = /* @__PURE__ */ $n(() => /* @__PURE__ */ M("sl-icon", {
30187
+ const cl = /* @__PURE__ */ ke(AB, [["render", VB], ["__scopeId", "data-v-dee63f3c"]]), $n = (h) => (rt("data-v-71a3c8c9"), h = h(), st(), h), LB = /* @__PURE__ */ $n(() => /* @__PURE__ */ F("h2", { class: "viur-shop-form-headline headline" }, "Nutzterdaten", -1)), jB = /* @__PURE__ */ $n(() => /* @__PURE__ */ F("h2", { class: "viur-shop-form-headline headline" }, "Lieferadresse", -1)), $B = ["onSlChange", "onSlClear", "label"], HB = ["value"], qB = { key: 0 }, UB = /* @__PURE__ */ $n(() => /* @__PURE__ */ F("h2", { class: "viur-shop-form-headline headline" }, "Rechnungsadresse", -1)), WB = /* @__PURE__ */ $n(() => /* @__PURE__ */ F("sl-icon", {
30190
30188
  name: "x-lg",
30191
30189
  slot: "prefix"
30192
30190
  }, null, -1)), KB = [
30193
30191
  WB
30194
- ], GB = /* @__PURE__ */ $n(() => /* @__PURE__ */ M("sl-icon", {
30192
+ ], GB = /* @__PURE__ */ $n(() => /* @__PURE__ */ F("sl-icon", {
30195
30193
  name: "plus-lg",
30196
30194
  slot: "prefix"
30197
- }, null, -1)), ZB = /* @__PURE__ */ $n(() => /* @__PURE__ */ M("sl-icon", {
30195
+ }, null, -1)), ZB = /* @__PURE__ */ $n(() => /* @__PURE__ */ F("sl-icon", {
30198
30196
  slot: "icon",
30199
30197
  name: "exclamation-triangle"
30200
- }, null, -1)), JB = /* @__PURE__ */ $n(() => /* @__PURE__ */ M("br", null, null, -1)), YB = {
30198
+ }, null, -1)), JB = /* @__PURE__ */ $n(() => /* @__PURE__ */ F("br", null, null, -1)), YB = {
30201
30199
  __name: "UserInfoMulti",
30202
30200
  props: {
30203
30201
  mode: { type: String, default: "form" }
@@ -30223,7 +30221,7 @@ const cl = /* @__PURE__ */ ke(AB, [["render", VB], ["__scopeId", "data-v-dee63f3
30223
30221
  selectedItem: {},
30224
30222
  isInit: ie(() => !!y.state.carts[y.state.basket])
30225
30223
  }), O = Dt(null), S = Dt(null);
30226
- function F(f) {
30224
+ function M(f) {
30227
30225
  f.target.checked && (_.isCustomAdress = !1), f.target.checked || (_.isCustomAdress = !0);
30228
30226
  }
30229
30227
  function k() {
@@ -30268,7 +30266,7 @@ const cl = /* @__PURE__ */ ke(AB, [["render", VB], ["__scopeId", "data-v-dee63f3
30268
30266
  }), jn(async () => {
30269
30267
  await y.getAdressStructure(), _.addSkel = y.state.structure.address;
30270
30268
  }), (f, A) => (L(), $(re, null, [
30271
- M("div", null, [
30269
+ F("div", null, [
30272
30270
  LB,
30273
30271
  (L(!0), $(re, null, Je(_.addSkel, (P) => (L(), $(re, {
30274
30272
  key: P[0]
@@ -30287,7 +30285,7 @@ const cl = /* @__PURE__ */ ke(AB, [["render", VB], ["__scopeId", "data-v-dee63f3
30287
30285
  ]),
30288
30286
  jB,
30289
30287
  (L(!0), $(re, null, Je(_.shippingAdressAmount, (P) => (L(), $("div", { key: P }, [
30290
- M("sl-select", {
30288
+ F("sl-select", {
30291
30289
  clearable: "",
30292
30290
  ref_for: !0,
30293
30291
  ref_key: "itemSelection",
@@ -30329,13 +30327,13 @@ const cl = /* @__PURE__ */ ke(AB, [["render", VB], ["__scopeId", "data-v-dee63f3
30329
30327
  }, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) : oe("", !0)
30330
30328
  ], 64))), 128))
30331
30329
  ])) : oe("", !0),
30332
- M("div", { class: "viur-shop-form-btn-wrap" }, [
30333
- M("sl-button", {
30330
+ F("div", { class: "viur-shop-form-btn-wrap" }, [
30331
+ F("sl-button", {
30334
30332
  size: "medium",
30335
30333
  onClick: m,
30336
30334
  title: "Lieferadresse entfernen"
30337
30335
  }, KB),
30338
- M("sl-button", {
30336
+ F("sl-button", {
30339
30337
  size: "medium",
30340
30338
  variant: "primary",
30341
30339
  onClick: k
@@ -30344,7 +30342,7 @@ const cl = /* @__PURE__ */ ke(AB, [["render", VB], ["__scopeId", "data-v-dee63f3
30344
30342
  ue(" Lieferadresse hinzufügen ")
30345
30343
  ])
30346
30344
  ]),
30347
- M("sl-alert", {
30345
+ F("sl-alert", {
30348
30346
  variant: "warning",
30349
30347
  duration: "2000",
30350
30348
  ref_key: "shippingWarning",
@@ -30352,12 +30350,12 @@ const cl = /* @__PURE__ */ ke(AB, [["render", VB], ["__scopeId", "data-v-dee63f3
30352
30350
  closable: ""
30353
30351
  }, [
30354
30352
  ZB,
30355
- M("strong", null, Ae(_.amountAlert.title), 1),
30353
+ F("strong", null, Ae(_.amountAlert.title), 1),
30356
30354
  JB,
30357
30355
  ue(" " + Ae(_.amountAlert.msg), 1)
30358
30356
  ], 512),
30359
- M("sl-checkbox", {
30360
- onSlChange: F,
30357
+ F("sl-checkbox", {
30358
+ onSlChange: M,
30361
30359
  checked: ""
30362
30360
  }, " Rechnungsadresse wie Lieferadresse ", 32)
30363
30361
  ], 64));
@@ -30442,12 +30440,12 @@ const cl = /* @__PURE__ */ ke(AB, [["render", VB], ["__scopeId", "data-v-dee63f3
30442
30440
  }
30443
30441
  }
30444
30442
  });
30445
- function S(F) {
30446
- (F == null ? void 0 : F.detail.name) === "confirm" && (O.tabs.orderComplete.disabled = !1);
30443
+ function S(M) {
30444
+ (M == null ? void 0 : M.detail.name) === "confirm" && (O.tabs.orderComplete.disabled = !1);
30447
30445
  }
30448
30446
  return jn(async () => {
30449
30447
  await y.init(), await y.getAdressStructure(), console.log("debug init exampleusage :", y.state.basketRootNode);
30450
- }), (F, k) => (L(), Ue(f5, {
30448
+ }), (M, k) => (L(), Ue(f5, {
30451
30449
  tabs: O.tabs,
30452
30450
  onTabChange: S
30453
30451
  }, null, 8, ["tabs"]));