@viur/shop-components 0.0.1-dev.45 → 0.0.1-dev.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/style.css +1 -1
- package/dist/viur-shop-components.es.js +265 -271
- package/dist/viur-shop-components.umd.js +79 -79
- package/package.json +1 -1
|
@@ -352,9 +352,9 @@ const dx = /* @__PURE__ */ ke(gl, [["render", cx], ["__scopeId", "data-v-46c4578
|
|
|
352
352
|
(L(!0), $(re, null, Je(D.nodes, (A) => (L(), $("div", null, [
|
|
353
353
|
Object.keys(D.leaves).includes(A.key) ? (L(), $(re, { key: 0 }, [
|
|
354
354
|
yr(ux, { node: A }, null, 8, ["node"]),
|
|
355
|
-
(L(!0), $(re, null, Je(D.leaves[A.key], (
|
|
356
|
-
key:
|
|
357
|
-
leaf:
|
|
355
|
+
(L(!0), $(re, null, Je(D.leaves[A.key], (R) => (L(), Ue(Bx, {
|
|
356
|
+
key: R.key,
|
|
357
|
+
leaf: R,
|
|
358
358
|
node: A,
|
|
359
359
|
onRemoveItem: S,
|
|
360
360
|
onUpdateItem: k
|
|
@@ -509,7 +509,7 @@ const dx = /* @__PURE__ */ ke(gl, [["render", cx], ["__scopeId", "data-v-46c4578
|
|
|
509
509
|
let v = [], f = [];
|
|
510
510
|
for (const A in x)
|
|
511
511
|
x[A].position ? v.push([A, x[A].position]) : v.push([A, 0]);
|
|
512
|
-
return v.sort((A,
|
|
512
|
+
return v.sort((A, R) => A[1] - R[1]), v.forEach((A) => {
|
|
513
513
|
f.push(A[0]);
|
|
514
514
|
}), f;
|
|
515
515
|
}
|
|
@@ -556,14 +556,14 @@ const dx = /* @__PURE__ */ ke(gl, [["render", cx], ["__scopeId", "data-v-46c4578
|
|
|
556
556
|
}, [
|
|
557
557
|
hn(F("sl-button", {
|
|
558
558
|
type: "submit",
|
|
559
|
-
onClick: (
|
|
559
|
+
onClick: (R) => m(D.tabNames[A - 1])
|
|
560
560
|
}, " Zurück ", 8, h5), [
|
|
561
561
|
[dl, A !== 0]
|
|
562
562
|
]),
|
|
563
563
|
F("sl-button", {
|
|
564
564
|
type: "submit",
|
|
565
565
|
variant: "primary",
|
|
566
|
-
onClick: (
|
|
566
|
+
onClick: (R) => E(D.tabNames[A + 1])
|
|
567
567
|
}, " Weiter ", 8, g5)
|
|
568
568
|
], 2)) : oe("", !0)
|
|
569
569
|
], 8, u5))), 128))
|
|
@@ -1076,21 +1076,21 @@ const cb = /* @__PURE__ */ ke(X5, [["render", iS], ["__scopeId", "data-v-0ccf18c
|
|
|
1076
1076
|
var E, x;
|
|
1077
1077
|
let S = { default: { name: "Allgemein", bones: [], groupVisible: !1, groupOpen: !0 } };
|
|
1078
1078
|
for (const [v, f] of Object.entries(O.structure)) {
|
|
1079
|
-
let A = "default",
|
|
1079
|
+
let A = "default", R = O.structure[v], B = (E = O.value) == null ? void 0 : E[v];
|
|
1080
1080
|
(x = f == null ? void 0 : f.params) != null && x.category && (A = f.params.category.toLowerCase()), Object.keys(S).includes(A) ? S[A].bones.push({
|
|
1081
1081
|
boneName: v,
|
|
1082
|
-
boneStructure:
|
|
1082
|
+
boneStructure: R,
|
|
1083
1083
|
boneValue: B
|
|
1084
1084
|
}) : S[A] = {
|
|
1085
1085
|
name: f.params.category,
|
|
1086
1086
|
bones: [
|
|
1087
1087
|
{
|
|
1088
1088
|
boneName: v,
|
|
1089
|
-
boneStructure:
|
|
1089
|
+
boneStructure: R,
|
|
1090
1090
|
boneValue: B
|
|
1091
1091
|
}
|
|
1092
1092
|
]
|
|
1093
|
-
},
|
|
1093
|
+
}, R.visible === !0 && (S[A].groupVisible = !0);
|
|
1094
1094
|
}
|
|
1095
1095
|
let m = {};
|
|
1096
1096
|
return Object.keys(S).sort().forEach(function(v) {
|
|
@@ -1537,8 +1537,8 @@ class si {
|
|
|
1537
1537
|
const v = new URLSearchParams();
|
|
1538
1538
|
for (const [f, A] of Object.entries(E))
|
|
1539
1539
|
if (Array.isArray(A))
|
|
1540
|
-
for (const
|
|
1541
|
-
v.append(f,
|
|
1540
|
+
for (const R of A)
|
|
1541
|
+
v.append(f, R);
|
|
1542
1542
|
else
|
|
1543
1543
|
v.append(f, A);
|
|
1544
1544
|
x.search = v.toString();
|
|
@@ -1725,13 +1725,13 @@ const FS = Ve({
|
|
|
1725
1725
|
size: x.size.toString()
|
|
1726
1726
|
};
|
|
1727
1727
|
return new Promise((f, A) => {
|
|
1728
|
-
Be.securePost(`/${mb.VITE_DEFAULT_RENDERER || "vi"}/file/getUploadURL`, { dataObj: v }).then(async (
|
|
1729
|
-
let B = await
|
|
1728
|
+
Be.securePost(`/${mb.VITE_DEFAULT_RENDERER || "vi"}/file/getUploadURL`, { dataObj: v }).then(async (R) => {
|
|
1729
|
+
let B = await R.json();
|
|
1730
1730
|
fetch(B.values.uploadUrl, {
|
|
1731
1731
|
body: x,
|
|
1732
1732
|
method: "POST",
|
|
1733
1733
|
mode: "no-cors"
|
|
1734
|
-
}).then(async (
|
|
1734
|
+
}).then(async (P) => {
|
|
1735
1735
|
const N = {
|
|
1736
1736
|
key: B.values.uploadKey,
|
|
1737
1737
|
node: void 0,
|
|
@@ -1743,11 +1743,11 @@ const FS = Ve({
|
|
|
1743
1743
|
}).catch((j) => {
|
|
1744
1744
|
A(j);
|
|
1745
1745
|
});
|
|
1746
|
-
}).catch((
|
|
1747
|
-
A(
|
|
1746
|
+
}).catch((P) => {
|
|
1747
|
+
A(P);
|
|
1748
1748
|
});
|
|
1749
|
-
}).catch((
|
|
1750
|
-
A(
|
|
1749
|
+
}).catch((R) => {
|
|
1750
|
+
A(R);
|
|
1751
1751
|
});
|
|
1752
1752
|
});
|
|
1753
1753
|
}
|
|
@@ -1803,12 +1803,12 @@ const FS = Ve({
|
|
|
1803
1803
|
oD
|
|
1804
1804
|
];
|
|
1805
1805
|
function rD(h, C, _, O, D, M) {
|
|
1806
|
-
var k, S, m, E, x, v, f, A,
|
|
1806
|
+
var k, S, m, E, x, v, f, A, R, B;
|
|
1807
1807
|
return L(), $("div", {
|
|
1808
1808
|
class: "file-wrapper",
|
|
1809
|
-
onDragover: C[5] || (C[5] = Er((
|
|
1810
|
-
onDragleave: C[6] || (C[6] = (
|
|
1811
|
-
onDrop: C[7] || (C[7] = Er((...
|
|
1809
|
+
onDragover: C[5] || (C[5] = Er((P) => h.state.droparea = !0, ["prevent"])),
|
|
1810
|
+
onDragleave: C[6] || (C[6] = (P) => h.state.droparea = !1),
|
|
1811
|
+
onDrop: C[7] || (C[7] = Er((...P) => h.handleDrop && h.handleDrop(...P), ["prevent"]))
|
|
1812
1812
|
}, [
|
|
1813
1813
|
h.state.loading ? (L(), $("div", NS, LS)) : oe("", !0),
|
|
1814
1814
|
h.state.droparea ? (L(), $("div", jS, " Dateien hier hinziehen ")) : oe("", !0),
|
|
@@ -1817,25 +1817,25 @@ function rD(h, C, _, O, D, M) {
|
|
|
1817
1817
|
title: h.$t("bone.upload"),
|
|
1818
1818
|
outline: "",
|
|
1819
1819
|
class: "upload-btn",
|
|
1820
|
-
onClick: C[0] || (C[0] = (
|
|
1820
|
+
onClick: C[0] || (C[0] = (P) => h.uploadinput.click())
|
|
1821
1821
|
}, qS, 8, $S)) : oe("", !0),
|
|
1822
1822
|
F("input", {
|
|
1823
1823
|
ref: "uploadinput",
|
|
1824
1824
|
hidden: "",
|
|
1825
1825
|
type: "file",
|
|
1826
1826
|
multiple: h.boneState.multiple,
|
|
1827
|
-
onChange: C[1] || (C[1] = (...
|
|
1827
|
+
onChange: C[1] || (C[1] = (...P) => h.handleUpload && h.handleUpload(...P))
|
|
1828
1828
|
}, null, 40, US),
|
|
1829
1829
|
h.value ? (L(), $("sl-button", {
|
|
1830
1830
|
key: 3,
|
|
1831
1831
|
title: h.$t("bone.download"),
|
|
1832
|
-
onClick: C[2] || (C[2] = (...
|
|
1832
|
+
onClick: C[2] || (C[2] = (...P) => h.downloadFile && h.downloadFile(...P))
|
|
1833
1833
|
}, GS, 8, WS)) : oe("", !0),
|
|
1834
1834
|
F("div", ZS, [
|
|
1835
1835
|
(S = (k = h.value) == null ? void 0 : k.dest) != null && S.mimetype.includes("image") ? (L(), $("div", {
|
|
1836
1836
|
key: 0,
|
|
1837
1837
|
class: "preview has-preview",
|
|
1838
|
-
onClick: C[3] || (C[3] = (
|
|
1838
|
+
onClick: C[3] || (C[3] = (P) => h.state.previewopen = !h.state.previewopen)
|
|
1839
1839
|
}, [
|
|
1840
1840
|
F("img", {
|
|
1841
1841
|
class: "preview-img",
|
|
@@ -1855,7 +1855,7 @@ function rD(h, C, _, O, D, M) {
|
|
|
1855
1855
|
])) : (L(), $("div", XS, [
|
|
1856
1856
|
(v = (x = h.value) == null ? void 0 : x.dest) != null && v.name ? (L(), $("sl-icon", eD)) : oe("", !0)
|
|
1857
1857
|
])),
|
|
1858
|
-
(A = (f = h.value) == null ? void 0 : f.dest) != null && A.name ? (L(), $("div", tD, Ae(decodeURIComponent((B = (
|
|
1858
|
+
(A = (f = h.value) == null ? void 0 : f.dest) != null && A.name ? (L(), $("div", tD, Ae(decodeURIComponent((B = (R = h.value) == null ? void 0 : R.dest) == null ? void 0 : B.name)), 1)) : oe("", !0)
|
|
1859
1859
|
]),
|
|
1860
1860
|
h.boneState.multiple ? oe("", !0) : (L(), $("sl-button", {
|
|
1861
1861
|
key: 4,
|
|
@@ -1863,7 +1863,7 @@ function rD(h, C, _, O, D, M) {
|
|
|
1863
1863
|
outline: "",
|
|
1864
1864
|
title: h.$t("bone.del"),
|
|
1865
1865
|
class: "delete-btn",
|
|
1866
|
-
onClick: C[4] || (C[4] = (
|
|
1866
|
+
onClick: C[4] || (C[4] = (P) => h.$emit("change", h.name, "", h.lang, h.index))
|
|
1867
1867
|
}, iD, 8, nD))
|
|
1868
1868
|
], 32);
|
|
1869
1869
|
}
|
|
@@ -1896,66 +1896,66 @@ xr.exports;
|
|
|
1896
1896
|
if (!("channels" in v[f])) throw new Error("missing channels property: " + f);
|
|
1897
1897
|
if (!("labels" in v[f])) throw new Error("missing channel labels property: " + f);
|
|
1898
1898
|
if (v[f].labels.length !== v[f].channels) throw new Error("channel and label counts mismatch: " + f);
|
|
1899
|
-
const { channels: A, labels:
|
|
1900
|
-
delete v[f].channels, delete v[f].labels, Object.defineProperty(v[f], "channels", { value: A }), Object.defineProperty(v[f], "labels", { value:
|
|
1899
|
+
const { channels: A, labels: R } = v[f];
|
|
1900
|
+
delete v[f].channels, delete v[f].labels, Object.defineProperty(v[f], "channels", { value: A }), Object.defineProperty(v[f], "labels", { value: R });
|
|
1901
1901
|
}
|
|
1902
1902
|
v.rgb.hsl = function(f) {
|
|
1903
|
-
const A = f[0] / 255,
|
|
1903
|
+
const A = f[0] / 255, R = f[1] / 255, B = f[2] / 255, P = Math.min(A, R, B), N = Math.max(A, R, B), j = N - P;
|
|
1904
1904
|
let q, Z;
|
|
1905
|
-
N ===
|
|
1906
|
-
const Q = (
|
|
1907
|
-
return Z = N ===
|
|
1905
|
+
N === P ? q = 0 : A === N ? q = (R - B) / j : R === N ? q = 2 + (B - A) / j : B === N && (q = 4 + (A - R) / j), q = Math.min(60 * q, 360), q < 0 && (q += 360);
|
|
1906
|
+
const Q = (P + N) / 2;
|
|
1907
|
+
return Z = N === P ? 0 : Q <= 0.5 ? j / (N + P) : j / (2 - N - P), [q, 100 * Z, 100 * Q];
|
|
1908
1908
|
}, v.rgb.hsv = function(f) {
|
|
1909
|
-
let A,
|
|
1909
|
+
let A, R, B, P, N;
|
|
1910
1910
|
const j = f[0] / 255, q = f[1] / 255, Z = f[2] / 255, Q = Math.max(j, q, Z), se = Q - Math.min(j, q, Z), Y = function(ne) {
|
|
1911
1911
|
return (Q - ne) / 6 / se + 0.5;
|
|
1912
1912
|
};
|
|
1913
|
-
return se === 0 ? (
|
|
1913
|
+
return se === 0 ? (P = 0, N = 0) : (N = se / Q, A = Y(j), R = Y(q), B = Y(Z), j === Q ? P = B - R : q === Q ? P = 0.3333333333333333 + A - B : Z === Q && (P = 0.6666666666666666 + R - A), P < 0 ? P += 1 : P > 1 && (P -= 1)), [360 * P, 100 * N, 100 * Q];
|
|
1914
1914
|
}, v.rgb.hwb = function(f) {
|
|
1915
|
-
const A = f[0],
|
|
1915
|
+
const A = f[0], R = f[1];
|
|
1916
1916
|
let B = f[2];
|
|
1917
|
-
const
|
|
1918
|
-
return B = 1 - 0.00392156862745098 * Math.max(A, Math.max(
|
|
1917
|
+
const P = v.rgb.hsl(f)[0], N = 1 / 255 * Math.min(A, Math.min(R, B));
|
|
1918
|
+
return B = 1 - 0.00392156862745098 * Math.max(A, Math.max(R, B)), [P, 100 * N, 100 * B];
|
|
1919
1919
|
}, v.rgb.cmyk = function(f) {
|
|
1920
|
-
const A = f[0] / 255,
|
|
1921
|
-
return [100 * ((1 - A -
|
|
1920
|
+
const A = f[0] / 255, R = f[1] / 255, B = f[2] / 255, P = Math.min(1 - A, 1 - R, 1 - B);
|
|
1921
|
+
return [100 * ((1 - A - P) / (1 - P) || 0), 100 * ((1 - R - P) / (1 - P) || 0), 100 * ((1 - B - P) / (1 - P) || 0), 100 * P];
|
|
1922
1922
|
}, v.rgb.keyword = function(f) {
|
|
1923
1923
|
const A = x[f];
|
|
1924
1924
|
if (A) return A;
|
|
1925
|
-
let
|
|
1925
|
+
let R, B = 1 / 0;
|
|
1926
1926
|
for (const j of Object.keys(E)) {
|
|
1927
|
-
const q = E[j], Z = (N = q, ((
|
|
1928
|
-
Z < B && (B = Z,
|
|
1927
|
+
const q = E[j], Z = (N = q, ((P = f)[0] - N[0]) ** 2 + (P[1] - N[1]) ** 2 + (P[2] - N[2]) ** 2);
|
|
1928
|
+
Z < B && (B = Z, R = j);
|
|
1929
1929
|
}
|
|
1930
|
-
var
|
|
1931
|
-
return
|
|
1930
|
+
var P, N;
|
|
1931
|
+
return R;
|
|
1932
1932
|
}, v.keyword.rgb = function(f) {
|
|
1933
1933
|
return E[f];
|
|
1934
1934
|
}, v.rgb.xyz = function(f) {
|
|
1935
|
-
let A = f[0] / 255,
|
|
1936
|
-
return A = A > 0.04045 ? ((A + 0.055) / 1.055) ** 2.4 : A / 12.92,
|
|
1935
|
+
let A = f[0] / 255, R = f[1] / 255, B = f[2] / 255;
|
|
1936
|
+
return A = A > 0.04045 ? ((A + 0.055) / 1.055) ** 2.4 : A / 12.92, R = R > 0.04045 ? ((R + 0.055) / 1.055) ** 2.4 : R / 12.92, B = B > 0.04045 ? ((B + 0.055) / 1.055) ** 2.4 : B / 12.92, [100 * (0.4124 * A + 0.3576 * R + 0.1805 * B), 100 * (0.2126 * A + 0.7152 * R + 0.0722 * B), 100 * (0.0193 * A + 0.1192 * R + 0.9505 * B)];
|
|
1937
1937
|
}, v.rgb.lab = function(f) {
|
|
1938
1938
|
const A = v.rgb.xyz(f);
|
|
1939
|
-
let
|
|
1940
|
-
return
|
|
1939
|
+
let R = A[0], B = A[1], P = A[2];
|
|
1940
|
+
return R /= 95.047, B /= 100, P /= 108.883, R = R > 8856e-6 ? R ** 0.3333333333333333 : 7.787 * R + 0.13793103448275862, B = B > 8856e-6 ? B ** 0.3333333333333333 : 7.787 * B + 0.13793103448275862, P = P > 8856e-6 ? P ** 0.3333333333333333 : 7.787 * P + 0.13793103448275862, [116 * B - 16, 500 * (R - B), 200 * (B - P)];
|
|
1941
1941
|
}, v.hsl.rgb = function(f) {
|
|
1942
|
-
const A = f[0] / 360,
|
|
1943
|
-
let
|
|
1944
|
-
if (
|
|
1945
|
-
|
|
1946
|
-
const q = 2 * B -
|
|
1947
|
-
for (let Q = 0; Q < 3; Q++) N = A + 0.3333333333333333 * -(Q - 1), N < 0 && N++, N > 1 && N--, j = 6 * N < 1 ? q + 6 * (
|
|
1942
|
+
const A = f[0] / 360, R = f[1] / 100, B = f[2] / 100;
|
|
1943
|
+
let P, N, j;
|
|
1944
|
+
if (R === 0) return j = 255 * B, [j, j, j];
|
|
1945
|
+
P = B < 0.5 ? B * (1 + R) : B + R - B * R;
|
|
1946
|
+
const q = 2 * B - P, Z = [0, 0, 0];
|
|
1947
|
+
for (let Q = 0; Q < 3; Q++) N = A + 0.3333333333333333 * -(Q - 1), N < 0 && N++, N > 1 && N--, j = 6 * N < 1 ? q + 6 * (P - q) * N : 2 * N < 1 ? P : 3 * N < 2 ? q + (P - q) * (0.6666666666666666 - N) * 6 : q, Z[Q] = 255 * j;
|
|
1948
1948
|
return Z;
|
|
1949
1949
|
}, v.hsl.hsv = function(f) {
|
|
1950
1950
|
const A = f[0];
|
|
1951
|
-
let
|
|
1951
|
+
let R = f[1] / 100, B = f[2] / 100, P = R;
|
|
1952
1952
|
const N = Math.max(B, 0.01);
|
|
1953
|
-
return B *= 2,
|
|
1953
|
+
return B *= 2, R *= B <= 1 ? B : 2 - B, P *= N <= 1 ? N : 2 - N, [A, 100 * (B === 0 ? 2 * P / (N + P) : 2 * R / (B + R)), 100 * ((B + R) / 2)];
|
|
1954
1954
|
}, v.hsv.rgb = function(f) {
|
|
1955
|
-
const A = f[0] / 60,
|
|
1955
|
+
const A = f[0] / 60, R = f[1] / 100;
|
|
1956
1956
|
let B = f[2] / 100;
|
|
1957
|
-
const
|
|
1958
|
-
switch (B *= 255,
|
|
1957
|
+
const P = Math.floor(A) % 6, N = A - Math.floor(A), j = 255 * B * (1 - R), q = 255 * B * (1 - R * N), Z = 255 * B * (1 - R * (1 - N));
|
|
1958
|
+
switch (B *= 255, P) {
|
|
1959
1959
|
case 0:
|
|
1960
1960
|
return [B, Z, j];
|
|
1961
1961
|
case 1:
|
|
@@ -1970,85 +1970,85 @@ xr.exports;
|
|
|
1970
1970
|
return [B, j, q];
|
|
1971
1971
|
}
|
|
1972
1972
|
}, v.hsv.hsl = function(f) {
|
|
1973
|
-
const A = f[0],
|
|
1973
|
+
const A = f[0], R = f[1] / 100, B = f[2] / 100, P = Math.max(B, 0.01);
|
|
1974
1974
|
let N, j;
|
|
1975
|
-
j = (2 -
|
|
1976
|
-
const q = (2 -
|
|
1977
|
-
return N =
|
|
1975
|
+
j = (2 - R) * B;
|
|
1976
|
+
const q = (2 - R) * P;
|
|
1977
|
+
return N = R * P, N /= q <= 1 ? q : 2 - q, N = N || 0, j /= 2, [A, 100 * N, 100 * j];
|
|
1978
1978
|
}, v.hwb.rgb = function(f) {
|
|
1979
1979
|
const A = f[0] / 360;
|
|
1980
|
-
let
|
|
1981
|
-
const
|
|
1980
|
+
let R = f[1] / 100, B = f[2] / 100;
|
|
1981
|
+
const P = R + B;
|
|
1982
1982
|
let N;
|
|
1983
|
-
|
|
1983
|
+
P > 1 && (R /= P, B /= P);
|
|
1984
1984
|
const j = Math.floor(6 * A), q = 1 - B;
|
|
1985
1985
|
N = 6 * A - j, 1 & j && (N = 1 - N);
|
|
1986
|
-
const Z =
|
|
1986
|
+
const Z = R + N * (q - R);
|
|
1987
1987
|
let Q, se, Y;
|
|
1988
1988
|
switch (j) {
|
|
1989
1989
|
default:
|
|
1990
1990
|
case 6:
|
|
1991
1991
|
case 0:
|
|
1992
|
-
Q = q, se = Z, Y =
|
|
1992
|
+
Q = q, se = Z, Y = R;
|
|
1993
1993
|
break;
|
|
1994
1994
|
case 1:
|
|
1995
|
-
Q = Z, se = q, Y =
|
|
1995
|
+
Q = Z, se = q, Y = R;
|
|
1996
1996
|
break;
|
|
1997
1997
|
case 2:
|
|
1998
|
-
Q =
|
|
1998
|
+
Q = R, se = q, Y = Z;
|
|
1999
1999
|
break;
|
|
2000
2000
|
case 3:
|
|
2001
|
-
Q =
|
|
2001
|
+
Q = R, se = Z, Y = q;
|
|
2002
2002
|
break;
|
|
2003
2003
|
case 4:
|
|
2004
|
-
Q = Z, se =
|
|
2004
|
+
Q = Z, se = R, Y = q;
|
|
2005
2005
|
break;
|
|
2006
2006
|
case 5:
|
|
2007
|
-
Q = q, se =
|
|
2007
|
+
Q = q, se = R, Y = Z;
|
|
2008
2008
|
}
|
|
2009
2009
|
return [255 * Q, 255 * se, 255 * Y];
|
|
2010
2010
|
}, v.cmyk.rgb = function(f) {
|
|
2011
|
-
const A = f[0] / 100,
|
|
2012
|
-
return [255 * (1 - Math.min(1, A * (1 -
|
|
2011
|
+
const A = f[0] / 100, R = f[1] / 100, B = f[2] / 100, P = f[3] / 100;
|
|
2012
|
+
return [255 * (1 - Math.min(1, A * (1 - P) + P)), 255 * (1 - Math.min(1, R * (1 - P) + P)), 255 * (1 - Math.min(1, B * (1 - P) + P))];
|
|
2013
2013
|
}, v.xyz.rgb = function(f) {
|
|
2014
|
-
const A = f[0] / 100,
|
|
2015
|
-
let
|
|
2016
|
-
return
|
|
2014
|
+
const A = f[0] / 100, R = f[1] / 100, B = f[2] / 100;
|
|
2015
|
+
let P, N, j;
|
|
2016
|
+
return P = 3.2406 * A + -1.5372 * R + -0.4986 * B, N = -0.9689 * A + 1.8758 * R + 0.0415 * B, j = 0.0557 * A + -0.204 * R + 1.057 * B, P = P > 31308e-7 ? 1.055 * P ** 0.4166666666666667 - 0.055 : 12.92 * P, N = N > 31308e-7 ? 1.055 * N ** 0.4166666666666667 - 0.055 : 12.92 * N, j = j > 31308e-7 ? 1.055 * j ** 0.4166666666666667 - 0.055 : 12.92 * j, P = Math.min(Math.max(0, P), 1), N = Math.min(Math.max(0, N), 1), j = Math.min(Math.max(0, j), 1), [255 * P, 255 * N, 255 * j];
|
|
2017
2017
|
}, v.xyz.lab = function(f) {
|
|
2018
|
-
let A = f[0],
|
|
2019
|
-
return A /= 95.047,
|
|
2018
|
+
let A = f[0], R = f[1], B = f[2];
|
|
2019
|
+
return A /= 95.047, R /= 100, B /= 108.883, A = A > 8856e-6 ? A ** 0.3333333333333333 : 7.787 * A + 0.13793103448275862, R = R > 8856e-6 ? R ** 0.3333333333333333 : 7.787 * R + 0.13793103448275862, B = B > 8856e-6 ? B ** 0.3333333333333333 : 7.787 * B + 0.13793103448275862, [116 * R - 16, 500 * (A - R), 200 * (R - B)];
|
|
2020
2020
|
}, v.lab.xyz = function(f) {
|
|
2021
|
-
let A,
|
|
2022
|
-
|
|
2023
|
-
const
|
|
2024
|
-
return
|
|
2021
|
+
let A, R, B;
|
|
2022
|
+
R = (f[0] + 16) / 116, A = f[1] / 500 + R, B = R - f[2] / 200;
|
|
2023
|
+
const P = R ** 3, N = A ** 3, j = B ** 3;
|
|
2024
|
+
return R = P > 8856e-6 ? P : (R - 0.13793103448275862) / 7.787, A = N > 8856e-6 ? N : (A - 0.13793103448275862) / 7.787, B = j > 8856e-6 ? j : (B - 0.13793103448275862) / 7.787, A *= 95.047, R *= 100, B *= 108.883, [A, R, B];
|
|
2025
2025
|
}, v.lab.lch = function(f) {
|
|
2026
|
-
const A = f[0],
|
|
2027
|
-
let
|
|
2028
|
-
return
|
|
2026
|
+
const A = f[0], R = f[1], B = f[2];
|
|
2027
|
+
let P;
|
|
2028
|
+
return P = 360 * Math.atan2(B, R) / 2 / Math.PI, P < 0 && (P += 360), [A, Math.sqrt(R * R + B * B), P];
|
|
2029
2029
|
}, v.lch.lab = function(f) {
|
|
2030
|
-
const A = f[0],
|
|
2031
|
-
return [A,
|
|
2030
|
+
const A = f[0], R = f[1], B = f[2] / 360 * 2 * Math.PI;
|
|
2031
|
+
return [A, R * Math.cos(B), R * Math.sin(B)];
|
|
2032
2032
|
}, v.rgb.ansi16 = function(f, A = null) {
|
|
2033
|
-
const [
|
|
2033
|
+
const [R, B, P] = f;
|
|
2034
2034
|
let N = A === null ? v.rgb.hsv(f)[2] : A;
|
|
2035
2035
|
if (N = Math.round(N / 50), N === 0) return 30;
|
|
2036
|
-
let j = 30 + (Math.round(
|
|
2036
|
+
let j = 30 + (Math.round(P / 255) << 2 | Math.round(B / 255) << 1 | Math.round(R / 255));
|
|
2037
2037
|
return N === 2 && (j += 60), j;
|
|
2038
2038
|
}, v.hsv.ansi16 = function(f) {
|
|
2039
2039
|
return v.rgb.ansi16(v.hsv.rgb(f), f[2]);
|
|
2040
2040
|
}, v.rgb.ansi256 = function(f) {
|
|
2041
|
-
const A = f[0],
|
|
2042
|
-
return A ===
|
|
2041
|
+
const A = f[0], R = f[1], B = f[2];
|
|
2042
|
+
return A === R && R === B ? A < 8 ? 16 : A > 248 ? 231 : Math.round((A - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(A / 255 * 5) + 6 * Math.round(R / 255 * 5) + Math.round(B / 255 * 5);
|
|
2043
2043
|
}, v.ansi16.rgb = function(f) {
|
|
2044
2044
|
let A = f % 10;
|
|
2045
2045
|
if (A === 0 || A === 7) return f > 50 && (A += 3.5), A = A / 10.5 * 255, [A, A, A];
|
|
2046
|
-
const
|
|
2047
|
-
return [(1 & A) *
|
|
2046
|
+
const R = 0.5 * (1 + ~~(f > 50));
|
|
2047
|
+
return [(1 & A) * R * 255, (A >> 1 & 1) * R * 255, (A >> 2 & 1) * R * 255];
|
|
2048
2048
|
}, v.ansi256.rgb = function(f) {
|
|
2049
2049
|
if (f >= 232) {
|
|
2050
|
-
const
|
|
2051
|
-
return [
|
|
2050
|
+
const R = 10 * (f - 232) + 8;
|
|
2051
|
+
return [R, R, R];
|
|
2052
2052
|
}
|
|
2053
2053
|
let A;
|
|
2054
2054
|
return f -= 16, [Math.floor(f / 36) / 5 * 255, Math.floor((A = f % 36) / 6) / 5 * 255, A % 6 / 5 * 255];
|
|
@@ -2058,62 +2058,62 @@ xr.exports;
|
|
|
2058
2058
|
}, v.hex.rgb = function(f) {
|
|
2059
2059
|
const A = f.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);
|
|
2060
2060
|
if (!A) return [0, 0, 0];
|
|
2061
|
-
let
|
|
2062
|
-
A[0].length === 3 && (
|
|
2063
|
-
const B = parseInt(
|
|
2061
|
+
let R = A[0];
|
|
2062
|
+
A[0].length === 3 && (R = R.split("").map((P) => P + P).join(""));
|
|
2063
|
+
const B = parseInt(R, 16);
|
|
2064
2064
|
return [B >> 16 & 255, B >> 8 & 255, 255 & B];
|
|
2065
2065
|
}, v.rgb.hcg = function(f) {
|
|
2066
|
-
const A = f[0] / 255,
|
|
2066
|
+
const A = f[0] / 255, R = f[1] / 255, B = f[2] / 255, P = Math.max(Math.max(A, R), B), N = Math.min(Math.min(A, R), B), j = P - N;
|
|
2067
2067
|
let q, Z;
|
|
2068
|
-
return q = j < 1 ? N / (1 - j) : 0, Z = j <= 0 ? 0 :
|
|
2068
|
+
return q = j < 1 ? N / (1 - j) : 0, Z = j <= 0 ? 0 : P === A ? (R - B) / j % 6 : P === R ? 2 + (B - A) / j : 4 + (A - R) / j, Z /= 6, Z %= 1, [360 * Z, 100 * j, 100 * q];
|
|
2069
2069
|
}, v.hsl.hcg = function(f) {
|
|
2070
|
-
const A = f[1] / 100,
|
|
2071
|
-
let
|
|
2072
|
-
return B < 1 && (
|
|
2070
|
+
const A = f[1] / 100, R = f[2] / 100, B = R < 0.5 ? 2 * A * R : 2 * A * (1 - R);
|
|
2071
|
+
let P = 0;
|
|
2072
|
+
return B < 1 && (P = (R - 0.5 * B) / (1 - B)), [f[0], 100 * B, 100 * P];
|
|
2073
2073
|
}, v.hsv.hcg = function(f) {
|
|
2074
|
-
const A = f[1] / 100,
|
|
2075
|
-
let
|
|
2076
|
-
return B < 1 && (
|
|
2074
|
+
const A = f[1] / 100, R = f[2] / 100, B = A * R;
|
|
2075
|
+
let P = 0;
|
|
2076
|
+
return B < 1 && (P = (R - B) / (1 - B)), [f[0], 100 * B, 100 * P];
|
|
2077
2077
|
}, v.hcg.rgb = function(f) {
|
|
2078
|
-
const A = f[0] / 360,
|
|
2079
|
-
if (
|
|
2080
|
-
const
|
|
2078
|
+
const A = f[0] / 360, R = f[1] / 100, B = f[2] / 100;
|
|
2079
|
+
if (R === 0) return [255 * B, 255 * B, 255 * B];
|
|
2080
|
+
const P = [0, 0, 0], N = A % 1 * 6, j = N % 1, q = 1 - j;
|
|
2081
2081
|
let Z = 0;
|
|
2082
2082
|
switch (Math.floor(N)) {
|
|
2083
2083
|
case 0:
|
|
2084
|
-
|
|
2084
|
+
P[0] = 1, P[1] = j, P[2] = 0;
|
|
2085
2085
|
break;
|
|
2086
2086
|
case 1:
|
|
2087
|
-
|
|
2087
|
+
P[0] = q, P[1] = 1, P[2] = 0;
|
|
2088
2088
|
break;
|
|
2089
2089
|
case 2:
|
|
2090
|
-
|
|
2090
|
+
P[0] = 0, P[1] = 1, P[2] = j;
|
|
2091
2091
|
break;
|
|
2092
2092
|
case 3:
|
|
2093
|
-
|
|
2093
|
+
P[0] = 0, P[1] = q, P[2] = 1;
|
|
2094
2094
|
break;
|
|
2095
2095
|
case 4:
|
|
2096
|
-
|
|
2096
|
+
P[0] = j, P[1] = 0, P[2] = 1;
|
|
2097
2097
|
break;
|
|
2098
2098
|
default:
|
|
2099
|
-
|
|
2099
|
+
P[0] = 1, P[1] = 0, P[2] = q;
|
|
2100
2100
|
}
|
|
2101
|
-
return Z = (1 -
|
|
2101
|
+
return Z = (1 - R) * B, [255 * (R * P[0] + Z), 255 * (R * P[1] + Z), 255 * (R * P[2] + Z)];
|
|
2102
2102
|
}, v.hcg.hsv = function(f) {
|
|
2103
|
-
const A = f[1] / 100,
|
|
2103
|
+
const A = f[1] / 100, R = A + f[2] / 100 * (1 - A);
|
|
2104
2104
|
let B = 0;
|
|
2105
|
-
return
|
|
2105
|
+
return R > 0 && (B = A / R), [f[0], 100 * B, 100 * R];
|
|
2106
2106
|
}, v.hcg.hsl = function(f) {
|
|
2107
|
-
const A = f[1] / 100,
|
|
2107
|
+
const A = f[1] / 100, R = f[2] / 100 * (1 - A) + 0.5 * A;
|
|
2108
2108
|
let B = 0;
|
|
2109
|
-
return
|
|
2109
|
+
return R > 0 && R < 0.5 ? B = A / (2 * R) : R >= 0.5 && R < 1 && (B = A / (2 * (1 - R))), [f[0], 100 * B, 100 * R];
|
|
2110
2110
|
}, v.hcg.hwb = function(f) {
|
|
2111
|
-
const A = f[1] / 100,
|
|
2112
|
-
return [f[0], 100 * (
|
|
2111
|
+
const A = f[1] / 100, R = A + f[2] / 100 * (1 - A);
|
|
2112
|
+
return [f[0], 100 * (R - A), 100 * (1 - R)];
|
|
2113
2113
|
}, v.hwb.hcg = function(f) {
|
|
2114
|
-
const A = f[1] / 100,
|
|
2115
|
-
let
|
|
2116
|
-
return B < 1 && (
|
|
2114
|
+
const A = f[1] / 100, R = 1 - f[2] / 100, B = R - A;
|
|
2115
|
+
let P = 0;
|
|
2116
|
+
return B < 1 && (P = (R - B) / (1 - B)), [f[0], 100 * B, 100 * P];
|
|
2117
2117
|
}, v.apple.rgb = function(f) {
|
|
2118
2118
|
return [f[0] / 65535 * 255, f[1] / 65535 * 255, f[2] / 65535 * 255];
|
|
2119
2119
|
}, v.rgb.apple = function(f) {
|
|
@@ -2129,8 +2129,8 @@ xr.exports;
|
|
|
2129
2129
|
}, v.gray.lab = function(f) {
|
|
2130
2130
|
return [f[0], 0, 0];
|
|
2131
2131
|
}, v.gray.hex = function(f) {
|
|
2132
|
-
const A = 255 & Math.round(f[0] / 100 * 255),
|
|
2133
|
-
return "000000".substring(
|
|
2132
|
+
const A = 255 & Math.round(f[0] / 100 * 255), R = ((A << 16) + (A << 8) + A).toString(16).toUpperCase();
|
|
2133
|
+
return "000000".substring(R.length) + R;
|
|
2134
2134
|
}, v.rgb.gray = function(f) {
|
|
2135
2135
|
return [(f[0] + f[1] + f[2]) / 3 / 255 * 100];
|
|
2136
2136
|
};
|
|
@@ -2139,60 +2139,60 @@ xr.exports;
|
|
|
2139
2139
|
Object.keys(E).forEach((f) => {
|
|
2140
2140
|
v[f] = {}, Object.defineProperty(v[f], "channels", { value: E[f].channels }), Object.defineProperty(v[f], "labels", { value: E[f].labels });
|
|
2141
2141
|
const A = x(f);
|
|
2142
|
-
Object.keys(A).forEach((
|
|
2143
|
-
const B = A[
|
|
2144
|
-
v[f][
|
|
2142
|
+
Object.keys(A).forEach((R) => {
|
|
2143
|
+
const B = A[R];
|
|
2144
|
+
v[f][R] = function(P) {
|
|
2145
2145
|
const N = function(...j) {
|
|
2146
2146
|
const q = j[0];
|
|
2147
2147
|
if (q == null) return q;
|
|
2148
2148
|
q.length > 1 && (j = q);
|
|
2149
|
-
const Z =
|
|
2149
|
+
const Z = P(j);
|
|
2150
2150
|
if (typeof Z == "object") for (let Q = Z.length, se = 0; se < Q; se++) Z[se] = Math.round(Z[se]);
|
|
2151
2151
|
return Z;
|
|
2152
2152
|
};
|
|
2153
|
-
return "conversion" in
|
|
2154
|
-
}(B), v[f][
|
|
2153
|
+
return "conversion" in P && (N.conversion = P.conversion), N;
|
|
2154
|
+
}(B), v[f][R].raw = function(P) {
|
|
2155
2155
|
const N = function(...j) {
|
|
2156
2156
|
const q = j[0];
|
|
2157
|
-
return q == null ? q : (q.length > 1 && (j = q),
|
|
2157
|
+
return q == null ? q : (q.length > 1 && (j = q), P(j));
|
|
2158
2158
|
};
|
|
2159
|
-
return "conversion" in
|
|
2159
|
+
return "conversion" in P && (N.conversion = P.conversion), N;
|
|
2160
2160
|
}(B);
|
|
2161
2161
|
});
|
|
2162
2162
|
}), k.exports = v;
|
|
2163
2163
|
}, 9325: (k, S, m) => {
|
|
2164
2164
|
const E = m(4959);
|
|
2165
2165
|
function x(A) {
|
|
2166
|
-
const
|
|
2167
|
-
const
|
|
2168
|
-
for (let j = N.length, q = 0; q < j; q++)
|
|
2169
|
-
return
|
|
2166
|
+
const R = function() {
|
|
2167
|
+
const P = {}, N = Object.keys(E);
|
|
2168
|
+
for (let j = N.length, q = 0; q < j; q++) P[N[q]] = { distance: -1, parent: null };
|
|
2169
|
+
return P;
|
|
2170
2170
|
}(), B = [A];
|
|
2171
|
-
for (
|
|
2172
|
-
const
|
|
2171
|
+
for (R[A].distance = 0; B.length; ) {
|
|
2172
|
+
const P = B.pop(), N = Object.keys(E[P]);
|
|
2173
2173
|
for (let j = N.length, q = 0; q < j; q++) {
|
|
2174
|
-
const Z = N[q], Q =
|
|
2175
|
-
Q.distance === -1 && (Q.distance = P
|
|
2174
|
+
const Z = N[q], Q = R[Z];
|
|
2175
|
+
Q.distance === -1 && (Q.distance = R[P].distance + 1, Q.parent = P, B.unshift(Z));
|
|
2176
2176
|
}
|
|
2177
2177
|
}
|
|
2178
|
-
return
|
|
2178
|
+
return R;
|
|
2179
2179
|
}
|
|
2180
|
-
function v(A,
|
|
2180
|
+
function v(A, R) {
|
|
2181
2181
|
return function(B) {
|
|
2182
|
-
return
|
|
2182
|
+
return R(A(B));
|
|
2183
2183
|
};
|
|
2184
2184
|
}
|
|
2185
|
-
function f(A,
|
|
2186
|
-
const B = [
|
|
2187
|
-
let
|
|
2188
|
-
for (;
|
|
2189
|
-
return
|
|
2185
|
+
function f(A, R) {
|
|
2186
|
+
const B = [R[A].parent, A];
|
|
2187
|
+
let P = E[R[A].parent][A], N = R[A].parent;
|
|
2188
|
+
for (; R[N].parent; ) B.unshift(R[N].parent), P = v(E[R[N].parent][N], P), N = R[N].parent;
|
|
2189
|
+
return P.conversion = B, P;
|
|
2190
2190
|
}
|
|
2191
2191
|
k.exports = function(A) {
|
|
2192
|
-
const
|
|
2193
|
-
for (let N =
|
|
2194
|
-
const q =
|
|
2195
|
-
|
|
2192
|
+
const R = x(A), B = {}, P = Object.keys(R);
|
|
2193
|
+
for (let N = P.length, j = 0; j < N; j++) {
|
|
2194
|
+
const q = P[j];
|
|
2195
|
+
R[q].parent !== null && (B[q] = f(q, R));
|
|
2196
2196
|
}
|
|
2197
2197
|
return B;
|
|
2198
2198
|
};
|
|
@@ -9066,12 +9066,12 @@ of the component, floating–point numbers have been used which, for the default
|
|
|
9066
9066
|
typeof E == "string" && (E = [[null, E, ""]]);
|
|
9067
9067
|
var f = {};
|
|
9068
9068
|
if (v) for (var A = 0; A < this.length; A++) {
|
|
9069
|
-
var
|
|
9070
|
-
|
|
9069
|
+
var R = this[A][0];
|
|
9070
|
+
R != null && (f[R] = !0);
|
|
9071
9071
|
}
|
|
9072
9072
|
for (var B = 0; B < E.length; B++) {
|
|
9073
|
-
var
|
|
9074
|
-
v && f[
|
|
9073
|
+
var P = [].concat(E[B]);
|
|
9074
|
+
v && f[P[0]] || (x && (P[2] ? P[2] = "".concat(x, " and ").concat(P[2]) : P[2] = x), m.push(P));
|
|
9075
9075
|
}
|
|
9076
9076
|
}, m;
|
|
9077
9077
|
};
|
|
@@ -9082,9 +9082,9 @@ of the component, floating–point numbers have been used which, for the default
|
|
|
9082
9082
|
}(E) || function(v, f) {
|
|
9083
9083
|
var A = v && (typeof Symbol < "u" && v[Symbol.iterator] || v["@@iterator"]);
|
|
9084
9084
|
if (A != null) {
|
|
9085
|
-
var
|
|
9085
|
+
var R, B, P = [], N = !0, j = !1;
|
|
9086
9086
|
try {
|
|
9087
|
-
for (A = A.call(v); !(N = (
|
|
9087
|
+
for (A = A.call(v); !(N = (R = A.next()).done) && (P.push(R.value), !f || P.length !== f); N = !0) ;
|
|
9088
9088
|
} catch (q) {
|
|
9089
9089
|
j = !0, B = q;
|
|
9090
9090
|
} finally {
|
|
@@ -9094,7 +9094,7 @@ of the component, floating–point numbers have been used which, for the default
|
|
|
9094
9094
|
if (j) throw B;
|
|
9095
9095
|
}
|
|
9096
9096
|
}
|
|
9097
|
-
return
|
|
9097
|
+
return P;
|
|
9098
9098
|
}
|
|
9099
9099
|
}(E, x) || function(v, f) {
|
|
9100
9100
|
if (v) {
|
|
@@ -9117,10 +9117,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9117
9117
|
var x = S(E, 4), v = x[1], f = x[3];
|
|
9118
9118
|
if (!f) return v;
|
|
9119
9119
|
if (typeof btoa == "function") {
|
|
9120
|
-
var A = btoa(unescape(encodeURIComponent(JSON.stringify(f)))),
|
|
9120
|
+
var A = btoa(unescape(encodeURIComponent(JSON.stringify(f)))), R = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(A), B = "/*# ".concat(R, " */"), P = f.sources.map(function(N) {
|
|
9121
9121
|
return "/*# sourceURL=".concat(f.sourceRoot || "").concat(N, " */");
|
|
9122
9122
|
});
|
|
9123
|
-
return [v].concat(
|
|
9123
|
+
return [v].concat(P).concat([B]).join(`
|
|
9124
9124
|
`);
|
|
9125
9125
|
}
|
|
9126
9126
|
return [v].join(`
|
|
@@ -9151,7 +9151,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9151
9151
|
}
|
|
9152
9152
|
return ne;
|
|
9153
9153
|
}
|
|
9154
|
-
function
|
|
9154
|
+
function R(Y, ne) {
|
|
9155
9155
|
for (var T = {}, ee = [], Te = 0; Te < Y.length; Te++) {
|
|
9156
9156
|
var Me = Y[Te], Le = ne.base ? Me[0] + ne.base : Me[0], en = T[Le] || 0, Bt = "".concat(Le, " ").concat(en);
|
|
9157
9157
|
T[Le] = en + 1;
|
|
@@ -9176,8 +9176,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9176
9176
|
}
|
|
9177
9177
|
return ne;
|
|
9178
9178
|
}
|
|
9179
|
-
var
|
|
9180
|
-
return
|
|
9179
|
+
var P, N = (P = [], function(Y, ne) {
|
|
9180
|
+
return P[Y] = ne, P.filter(Boolean).join(`
|
|
9181
9181
|
`);
|
|
9182
9182
|
});
|
|
9183
9183
|
function j(Y, ne, T, ee) {
|
|
@@ -9218,14 +9218,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9218
9218
|
}
|
|
9219
9219
|
k.exports = function(Y, ne) {
|
|
9220
9220
|
(ne = ne || {}).singleton || typeof ne.singleton == "boolean" || (ne.singleton = x());
|
|
9221
|
-
var T =
|
|
9221
|
+
var T = R(Y = Y || [], ne);
|
|
9222
9222
|
return function(ee) {
|
|
9223
9223
|
if (ee = ee || [], Object.prototype.toString.call(ee) === "[object Array]") {
|
|
9224
9224
|
for (var Te = 0; Te < T.length; Te++) {
|
|
9225
9225
|
var Me = A(T[Te]);
|
|
9226
9226
|
f[Me].references--;
|
|
9227
9227
|
}
|
|
9228
|
-
for (var Le =
|
|
9228
|
+
for (var Le = R(ee, ne), en = 0; en < T.length; en++) {
|
|
9229
9229
|
var Bt = A(T[en]);
|
|
9230
9230
|
f[Bt].references === 0 && (f[Bt].updater(), f.splice(Bt, 1));
|
|
9231
9231
|
}
|
|
@@ -9314,14 +9314,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9314
9314
|
function A(o) {
|
|
9315
9315
|
return o.indexOf("macintosh") > -1;
|
|
9316
9316
|
}
|
|
9317
|
-
function
|
|
9317
|
+
function R(o, e, t, n) {
|
|
9318
9318
|
t = t || function(l, c) {
|
|
9319
9319
|
return l === c;
|
|
9320
9320
|
};
|
|
9321
9321
|
const i = Array.isArray(o) ? o : Array.prototype.slice.call(o), r = Array.isArray(e) ? e : Array.prototype.slice.call(e), s = function(l, c, d) {
|
|
9322
9322
|
const u = B(l, c, d);
|
|
9323
9323
|
if (u === -1) return { firstIndex: -1, lastIndexOld: -1, lastIndexNew: -1 };
|
|
9324
|
-
const g =
|
|
9324
|
+
const g = P(l, u), p = P(c, u), b = B(g, p, d), w = l.length - b, y = c.length - b;
|
|
9325
9325
|
return { firstIndex: u, lastIndexOld: w, lastIndexNew: y };
|
|
9326
9326
|
}(i, r, t);
|
|
9327
9327
|
return n ? function(l, c) {
|
|
@@ -9338,7 +9338,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9338
9338
|
for (let n = 0; n < Math.max(o.length, e.length); n++) if (o[n] === void 0 || e[n] === void 0 || !t(o[n], e[n])) return n;
|
|
9339
9339
|
return -1;
|
|
9340
9340
|
}
|
|
9341
|
-
function
|
|
9341
|
+
function P(o, e) {
|
|
9342
9342
|
return o.slice(e).reverse();
|
|
9343
9343
|
}
|
|
9344
9344
|
function N(o, e, t) {
|
|
@@ -9368,7 +9368,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9368
9368
|
} while (u[c] !== l);
|
|
9369
9369
|
return d[c].slice(1);
|
|
9370
9370
|
}
|
|
9371
|
-
N.fastDiff =
|
|
9371
|
+
N.fastDiff = R;
|
|
9372
9372
|
const j = function() {
|
|
9373
9373
|
return function o() {
|
|
9374
9374
|
o.called = !0;
|
|
@@ -13836,7 +13836,7 @@ Read more: ${ne}#error-${o}`;
|
|
|
13836
13836
|
function qd(o, e) {
|
|
13837
13837
|
const t = o.data;
|
|
13838
13838
|
if (t == e) return;
|
|
13839
|
-
const n =
|
|
13839
|
+
const n = R(t, e);
|
|
13840
13840
|
for (const i of n) i.type === "insert" ? o.insertData(i.index, i.values.join("")) : o.deleteData(i.index, i.howMany);
|
|
13841
13841
|
}
|
|
13842
13842
|
const TA = Ld(le.document), IA = Nd(le.document), PA = Vd(le.document), Fi = "data-ck-unsafe-attribute-", Ud = "data-ck-unsafe-element";
|
|
@@ -29234,7 +29234,7 @@ const ED = Ve({
|
|
|
29234
29234
|
).then(async (x) => {
|
|
29235
29235
|
var f;
|
|
29236
29236
|
const v = await x.json();
|
|
29237
|
-
return k.skels = v.skellist.reduce((A,
|
|
29237
|
+
return k.skels = v.skellist.reduce((A, R) => (A[R.key] = R, A), {}), (f = v.skellist) == null ? void 0 : f.map((A) => ({ text: D(_.bonestructure.format, { dest: A }), value: A.key, data: A }));
|
|
29238
29238
|
});
|
|
29239
29239
|
}
|
|
29240
29240
|
return Qe(() => {
|
|
@@ -29320,13 +29320,13 @@ const zD = Ve({
|
|
|
29320
29320
|
size: x.size.toString()
|
|
29321
29321
|
};
|
|
29322
29322
|
return new Promise((f, A) => {
|
|
29323
|
-
Be.securePost(`/${wb.VITE_DEFAULT_RENDERER || "vi"}/file/getUploadURL`, { dataObj: v }).then(async (
|
|
29324
|
-
let B = await
|
|
29323
|
+
Be.securePost(`/${wb.VITE_DEFAULT_RENDERER || "vi"}/file/getUploadURL`, { dataObj: v }).then(async (R) => {
|
|
29324
|
+
let B = await R.json();
|
|
29325
29325
|
fetch(B.values.uploadUrl, {
|
|
29326
29326
|
body: x,
|
|
29327
29327
|
method: "POST",
|
|
29328
29328
|
mode: "no-cors"
|
|
29329
|
-
}).then(async (
|
|
29329
|
+
}).then(async (P) => {
|
|
29330
29330
|
const N = {
|
|
29331
29331
|
key: B.values.uploadKey,
|
|
29332
29332
|
node: void 0,
|
|
@@ -29338,11 +29338,11 @@ const zD = Ve({
|
|
|
29338
29338
|
}).catch((j) => {
|
|
29339
29339
|
A(j);
|
|
29340
29340
|
});
|
|
29341
|
-
}).catch((
|
|
29342
|
-
A(
|
|
29341
|
+
}).catch((P) => {
|
|
29342
|
+
A(P);
|
|
29343
29343
|
});
|
|
29344
|
-
}).catch((
|
|
29345
|
-
A(
|
|
29344
|
+
}).catch((R) => {
|
|
29345
|
+
A(R);
|
|
29346
29346
|
});
|
|
29347
29347
|
});
|
|
29348
29348
|
}
|
|
@@ -29804,8 +29804,8 @@ const wB = /* @__PURE__ */ ke(mB, [["render", kB], ["__scopeId", "data-v-b714917
|
|
|
29804
29804
|
return ZD((B = _.bonestructure) == null ? void 0 : B.type);
|
|
29805
29805
|
}),
|
|
29806
29806
|
isEmpty: ie(() => {
|
|
29807
|
-
function B(
|
|
29808
|
-
for (const [N, j] of Object.entries(
|
|
29807
|
+
function B(P) {
|
|
29808
|
+
for (const [N, j] of Object.entries(P))
|
|
29809
29809
|
if (j !== null) {
|
|
29810
29810
|
if (Array.isArray(j) && j.length > 0)
|
|
29811
29811
|
return !1;
|
|
@@ -29819,44 +29819,44 @@ const wB = /* @__PURE__ */ ke(mB, [["render", kB], ["__scopeId", "data-v-b714917
|
|
|
29819
29819
|
errors: [],
|
|
29820
29820
|
errorMessages: ie(() => {
|
|
29821
29821
|
let B = [];
|
|
29822
|
-
for (let
|
|
29823
|
-
|
|
29822
|
+
for (let P of h.errors)
|
|
29823
|
+
P.fieldPath[0] === h.name && (P.severity > 2 || _.required && (P.severity === 2 || P.severity === 0)) && B.push(P.errorMessage);
|
|
29824
29824
|
return B;
|
|
29825
29825
|
})
|
|
29826
29826
|
});
|
|
29827
29827
|
Ar("boneState", _);
|
|
29828
|
-
function O(B,
|
|
29829
|
-
k(
|
|
29828
|
+
function O(B, P, N) {
|
|
29829
|
+
k(P, B, "isDragging"), k(P, B, "dragStartIndex");
|
|
29830
29830
|
}
|
|
29831
|
-
function D(B,
|
|
29831
|
+
function D(B, P, N) {
|
|
29832
29832
|
N.preventDefault();
|
|
29833
29833
|
const j = N.clientY - N.target.getBoundingClientRect().top, q = N.target.closest(".value-line");
|
|
29834
|
-
j < q.offsetHeight / 2 ? (k(
|
|
29835
|
-
let Z =
|
|
29834
|
+
j < q.offsetHeight / 2 ? (k(P, B, "draggingLineTop"), S("draggingLineBottom"), _.dropIndex.index = B) : (k(P, B, "draggingLineBottom"), S("draggingLineTop"), _.dropIndex.index = B + 1);
|
|
29835
|
+
let Z = P ? _.bonevalue[P] : _.bonevalue;
|
|
29836
29836
|
_.dropIndex.index > Z.length - 1 && (_.dropIndex.index -= 1);
|
|
29837
29837
|
}
|
|
29838
|
-
function M(B,
|
|
29838
|
+
function M(B, P, N) {
|
|
29839
29839
|
let j = null;
|
|
29840
|
-
_.dragStartIndex.index !== _.dropIndex.index && (
|
|
29840
|
+
_.dragStartIndex.index !== _.dropIndex.index && (P ? (j = _.bonevalue[P].splice(_.dragStartIndex.index, 1)[0], _.bonevalue[P].splice(_.dropIndex.index, 0, j)) : (j = _.bonevalue.splice(_.dragStartIndex.index, 1)[0], _.bonevalue.splice(_.dropIndex.index, 0, j)), console.dir(_.bonevalue[0]), C.emit("change", {
|
|
29841
29841
|
name: h.name,
|
|
29842
29842
|
value: E(),
|
|
29843
|
-
lang:
|
|
29843
|
+
lang: P,
|
|
29844
29844
|
index: B
|
|
29845
29845
|
})), S("draggingLineBottom", "draggingLineTop", "isDragging", "dragStartIndex", "dropIndex");
|
|
29846
29846
|
}
|
|
29847
|
-
function k(B,
|
|
29848
|
-
_[N].lang = B || null, _[N].index =
|
|
29847
|
+
function k(B, P, N) {
|
|
29848
|
+
_[N].lang = B || null, _[N].index = P;
|
|
29849
29849
|
}
|
|
29850
29850
|
function S(...B) {
|
|
29851
|
-
B.forEach((
|
|
29852
|
-
_[
|
|
29851
|
+
B.forEach((P) => {
|
|
29852
|
+
_[P] = {
|
|
29853
29853
|
lang: null,
|
|
29854
29854
|
index: Number
|
|
29855
29855
|
};
|
|
29856
29856
|
});
|
|
29857
29857
|
}
|
|
29858
|
-
function m(B,
|
|
29859
|
-
if (
|
|
29858
|
+
function m(B, P, N = null, j = null, q) {
|
|
29859
|
+
if (P === void 0 || (N ? (_.bonevalue || (_.bonevalue = {}), Object.keys(_.bonevalue).includes(N) && j !== null ? _.bonevalue[N][j] = P : _.bonevalue[N] = P) : j !== null ? _.bonevalue[j] = P : q === !1 || (_.bonevalue = P), _.readonly)) return !1;
|
|
29860
29860
|
let Z = {
|
|
29861
29861
|
name: B,
|
|
29862
29862
|
value: E(),
|
|
@@ -29864,7 +29864,7 @@ const wB = /* @__PURE__ */ ke(mB, [["render", kB], ["__scopeId", "data-v-b714917
|
|
|
29864
29864
|
index: j
|
|
29865
29865
|
}, Q = {
|
|
29866
29866
|
name: B,
|
|
29867
|
-
value:
|
|
29867
|
+
value: P,
|
|
29868
29868
|
lang: N,
|
|
29869
29869
|
index: j
|
|
29870
29870
|
};
|
|
@@ -29889,30 +29889,30 @@ const wB = /* @__PURE__ */ ke(mB, [["render", kB], ["__scopeId", "data-v-b714917
|
|
|
29889
29889
|
N == null && (N = ""), j !== null && q.push({ [j]: N });
|
|
29890
29890
|
return q;
|
|
29891
29891
|
}
|
|
29892
|
-
let
|
|
29893
|
-
return
|
|
29892
|
+
let P = B(_.bonevalue, h.name);
|
|
29893
|
+
return P = P.flat(10), P;
|
|
29894
29894
|
}
|
|
29895
|
-
function x(B = null,
|
|
29896
|
-
B ? Object.keys(_.bonevalue).includes(B) ? _.bonevalue[B].push(
|
|
29895
|
+
function x(B = null, P = "") {
|
|
29896
|
+
B ? Object.keys(_.bonevalue).includes(B) ? _.bonevalue[B].push(P) : _.bonevalue[B] = [P] : _.bonevalue ? _.bonevalue.push(P) : _.bonevalue = [P];
|
|
29897
29897
|
}
|
|
29898
29898
|
Ar("addMultipleEntry", x);
|
|
29899
|
-
function v(B,
|
|
29899
|
+
function v(B, P = null) {
|
|
29900
29900
|
var N;
|
|
29901
|
-
|
|
29901
|
+
P ? (N = _.bonevalue) == null || N[P].splice(B, 1) : _.bonevalue.splice(B, 1), C.emit("change", {
|
|
29902
29902
|
name: h.name,
|
|
29903
29903
|
value: E(),
|
|
29904
|
-
lang:
|
|
29904
|
+
lang: P,
|
|
29905
29905
|
index: B
|
|
29906
29906
|
}), C.emit("change-internal", {
|
|
29907
29907
|
name: h.name,
|
|
29908
29908
|
value: E(),
|
|
29909
|
-
lang:
|
|
29909
|
+
lang: P,
|
|
29910
29910
|
index: B
|
|
29911
29911
|
});
|
|
29912
29912
|
}
|
|
29913
29913
|
function f(B = null) {
|
|
29914
|
-
var
|
|
29915
|
-
B ? (
|
|
29914
|
+
var P;
|
|
29915
|
+
B ? (P = _.bonevalue) == null || P[B].splice(0) : _.bonevalue.splice(0), C.emit("change", {
|
|
29916
29916
|
name: h.name,
|
|
29917
29917
|
value: E(),
|
|
29918
29918
|
lang: B
|
|
@@ -29923,10 +29923,10 @@ const wB = /* @__PURE__ */ ke(mB, [["render", kB], ["__scopeId", "data-v-b714917
|
|
|
29923
29923
|
});
|
|
29924
29924
|
}
|
|
29925
29925
|
Ar("removeMultipleEntries", f);
|
|
29926
|
-
function A(B = null,
|
|
29927
|
-
x(B,
|
|
29926
|
+
function A(B = null, P = "") {
|
|
29927
|
+
x(B, P);
|
|
29928
29928
|
}
|
|
29929
|
-
function
|
|
29929
|
+
function R(B, P) {
|
|
29930
29930
|
function N(Q) {
|
|
29931
29931
|
let se = [], Y = [], ne = /\$\((.*?)\)/g;
|
|
29932
29932
|
for (; Y; ) {
|
|
@@ -29953,8 +29953,8 @@ const wB = /* @__PURE__ */ ke(mB, [["render", kB], ["__scopeId", "data-v-b714917
|
|
|
29953
29953
|
return T;
|
|
29954
29954
|
}
|
|
29955
29955
|
let q = N(B), Z = [];
|
|
29956
|
-
Array.isArray(
|
|
29957
|
-
for (let Q of
|
|
29956
|
+
Array.isArray(P) || (P = [P]);
|
|
29957
|
+
for (let Q of P) {
|
|
29958
29958
|
let se = B;
|
|
29959
29959
|
for (let Y of q) {
|
|
29960
29960
|
let ne = j(Y, Q);
|
|
@@ -29964,12 +29964,12 @@ const wB = /* @__PURE__ */ ke(mB, [["render", kB], ["__scopeId", "data-v-b714917
|
|
|
29964
29964
|
}
|
|
29965
29965
|
return Z.join(", ");
|
|
29966
29966
|
}
|
|
29967
|
-
return Ar("formatString",
|
|
29967
|
+
return Ar("formatString", R), jn(() => {
|
|
29968
29968
|
var B;
|
|
29969
29969
|
h.value ? _.bonevalue = h.value : _.bonevalue = (B = h.skel) == null ? void 0 : B[h.name];
|
|
29970
29970
|
}), Eo(
|
|
29971
29971
|
() => h.skel,
|
|
29972
|
-
(B,
|
|
29972
|
+
(B, P) => {
|
|
29973
29973
|
var N;
|
|
29974
29974
|
_.bonevalue = (N = h.skel) == null ? void 0 : N[h.name];
|
|
29975
29975
|
}
|
|
@@ -29978,7 +29978,7 @@ const wB = /* @__PURE__ */ ke(mB, [["render", kB], ["__scopeId", "data-v-b714917
|
|
|
29978
29978
|
var B;
|
|
29979
29979
|
return (B = h.errors) == null ? void 0 : B[h.name];
|
|
29980
29980
|
},
|
|
29981
|
-
(B,
|
|
29981
|
+
(B, P) => {
|
|
29982
29982
|
_.errors = h.errors;
|
|
29983
29983
|
}
|
|
29984
29984
|
), {
|
|
@@ -30081,7 +30081,7 @@ function VB(h, C, _, O, D, M) {
|
|
|
30081
30081
|
name: "lang_" + E
|
|
30082
30082
|
}, [
|
|
30083
30083
|
h.state.multiple && !h.BoneHasMultipleHandling(h.state.bonestructure.type) ? (L(), $(re, { key: 0 }, [
|
|
30084
|
-
(x = h.state.bonevalue) != null && x[E].length ? (L(!0), $(re, { key: 0 }, Je((v = h.state.bonevalue) == null ? void 0 : v[E], (
|
|
30084
|
+
(x = h.state.bonevalue) != null && x[E].length ? (L(!0), $(re, { key: 0 }, Je((v = h.state.bonevalue) == null ? void 0 : v[E], (R, B) => (L(), $("div", {
|
|
30085
30085
|
key: B,
|
|
30086
30086
|
class: "multiple-bone"
|
|
30087
30087
|
}, [
|
|
@@ -30090,19 +30090,19 @@ function VB(h, C, _, O, D, M) {
|
|
|
30090
30090
|
"is-dragging": h.state.isDragging.lang === E && h.state.isDragging.index === B,
|
|
30091
30091
|
"dragging-line-bottom": h.state.draggingLineBottom.lang === E && h.state.draggingLineBottom.index === B,
|
|
30092
30092
|
"dragging-line-top": h.state.draggingLineTop.lang === E && h.state.draggingLineTop.index === B,
|
|
30093
|
-
onDelete: (
|
|
30094
|
-
onHandleDragStart: (
|
|
30095
|
-
onHandleDragOver: (
|
|
30096
|
-
onHandleDrop: (
|
|
30093
|
+
onDelete: (P) => h.removeMultipleEntry(B, E),
|
|
30094
|
+
onHandleDragStart: (P) => h.handleDragStart(B, E, P),
|
|
30095
|
+
onHandleDragOver: (P) => h.handleDragOver(B, E, P),
|
|
30096
|
+
onHandleDrop: (P) => h.handleDrop(B, E, P)
|
|
30097
30097
|
}, {
|
|
30098
30098
|
default: Cr(() => [
|
|
30099
30099
|
(L(), Ue(Nn(h.is), {
|
|
30100
|
-
value:
|
|
30100
|
+
value: R,
|
|
30101
30101
|
index: B,
|
|
30102
30102
|
lang: E,
|
|
30103
30103
|
name: h.name,
|
|
30104
30104
|
onChange: h.updateValue,
|
|
30105
|
-
onKeydown: al((
|
|
30105
|
+
onKeydown: al((P) => h.multipleBonePressEnter(E), ["enter"])
|
|
30106
30106
|
}, null, 40, ["value", "index", "lang", "name", "onChange", "onKeydown"]))
|
|
30107
30107
|
]),
|
|
30108
30108
|
_: 2
|
|
@@ -30180,7 +30180,7 @@ function VB(h, C, _, O, D, M) {
|
|
|
30180
30180
|
])
|
|
30181
30181
|
], 2);
|
|
30182
30182
|
}
|
|
30183
|
-
const cl = /* @__PURE__ */ ke(AB, [["render", VB], ["__scopeId", "data-v-dee63f3c"]]), $n = (h) => (rt("data-v-
|
|
30183
|
+
const cl = /* @__PURE__ */ ke(AB, [["render", VB], ["__scopeId", "data-v-dee63f3c"]]), $n = (h) => (rt("data-v-b967c6e1"), 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", {
|
|
30184
30184
|
name: "x-lg",
|
|
30185
30185
|
slot: "prefix"
|
|
30186
30186
|
}, null, -1)), KB = [
|
|
@@ -30228,8 +30228,8 @@ const cl = /* @__PURE__ */ ke(AB, [["render", VB], ["__scopeId", "data-v-dee63f3
|
|
|
30228
30228
|
_.shippingAdressAmount += 1;
|
|
30229
30229
|
}
|
|
30230
30230
|
function S(f, A) {
|
|
30231
|
-
for (const [
|
|
30232
|
-
_.formValues[
|
|
30231
|
+
for (const [R, B] of Object.entries(A.value[0]))
|
|
30232
|
+
_.formValues[R] = B;
|
|
30233
30233
|
}
|
|
30234
30234
|
function m() {
|
|
30235
30235
|
if (_.shippingAdressAmount === 1) {
|
|
@@ -30250,76 +30250,70 @@ const cl = /* @__PURE__ */ ke(AB, [["render", VB], ["__scopeId", "data-v-dee63f3
|
|
|
30250
30250
|
}
|
|
30251
30251
|
function v(f) {
|
|
30252
30252
|
let A = {};
|
|
30253
|
-
return f.forEach((
|
|
30254
|
-
let B =
|
|
30255
|
-
A[B] =
|
|
30256
|
-
}), A;
|
|
30253
|
+
return f instanceof Object ? f : (f.forEach((R) => {
|
|
30254
|
+
let B = R[0], P = R[1];
|
|
30255
|
+
A[B] = P;
|
|
30256
|
+
}), A);
|
|
30257
30257
|
}
|
|
30258
30258
|
return Eo(_.formValues, (f) => {
|
|
30259
|
-
Object.entries(f).forEach(([A,
|
|
30260
|
-
|
|
30259
|
+
Object.entries(f).forEach(([A, R]) => {
|
|
30260
|
+
R === "" && delete _.formValues[A];
|
|
30261
30261
|
});
|
|
30262
30262
|
}), jn(async () => {
|
|
30263
|
-
await C.getAdressStructure(), _.addSkel = C.state.structure.address;
|
|
30263
|
+
await C.getAdressStructure(), _.addSkel = v(C.state.structure.address);
|
|
30264
30264
|
}), (f, A) => (L(), $(re, null, [
|
|
30265
30265
|
F("div", null, [
|
|
30266
30266
|
LB,
|
|
30267
|
-
(L(!0), $(re, null, Je(_.addSkel, (
|
|
30268
|
-
|
|
30269
|
-
}, [
|
|
30270
|
-
P[1].visible && P[1].params.group === "Customer Info" ? (L(), Ue(cl, {
|
|
30267
|
+
(L(!0), $(re, null, Je(_.addSkel, (R, B) => (L(), $(re, { key: B }, [
|
|
30268
|
+
R.visible && R.params.group === "Customer Info" ? (L(), Ue(cl, {
|
|
30271
30269
|
key: 0,
|
|
30272
|
-
is: wt(Vn)(
|
|
30273
|
-
name:
|
|
30270
|
+
is: wt(Vn)(R.type),
|
|
30271
|
+
name: B,
|
|
30274
30272
|
structure: v(_.addSkel),
|
|
30275
|
-
errors: _.errors[
|
|
30273
|
+
errors: _.errors[B] ? _.errors[B] : [],
|
|
30276
30274
|
skel: _.formValues,
|
|
30277
|
-
onChange: (
|
|
30275
|
+
onChange: (P) => S(B, P),
|
|
30278
30276
|
class: "viur-shop-form-grid-w-2"
|
|
30279
30277
|
}, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) : oe("", !0)
|
|
30280
30278
|
], 64))), 128))
|
|
30281
30279
|
]),
|
|
30282
30280
|
jB,
|
|
30283
|
-
(L(!0), $(re, null, Je(_.shippingAdressAmount, (
|
|
30281
|
+
(L(!0), $(re, null, Je(_.shippingAdressAmount, (R) => (L(), $("div", { key: R }, [
|
|
30284
30282
|
F("sl-select", {
|
|
30285
30283
|
clearable: "",
|
|
30286
30284
|
ref_for: !0,
|
|
30287
30285
|
ref_key: "itemSelection",
|
|
30288
30286
|
ref: O,
|
|
30289
|
-
onSlChange: (B) => E(B,
|
|
30290
|
-
onSlClear: (B) => x(B,
|
|
30291
|
-
label: _.selectedItem[
|
|
30287
|
+
onSlChange: (B) => E(B, R),
|
|
30288
|
+
onSlClear: (B) => x(B, R),
|
|
30289
|
+
label: _.selectedItem[R] ? wt(C).state.carts[_.selectedItem[R]].info.name : "Warenkorb für Adresse wählen.",
|
|
30292
30290
|
class: "grid-w-4"
|
|
30293
30291
|
}, [
|
|
30294
|
-
(L(!0), $(re, null, Je(wt(C).state.carts, (B,
|
|
30292
|
+
(L(!0), $(re, null, Je(wt(C).state.carts, (B, P) => (L(), $("sl-option", { value: P }, Ae(B.info.name), 9, HB))), 256))
|
|
30295
30293
|
], 40, $B),
|
|
30296
|
-
(L(!0), $(re, null, Je(_.addSkel, (B) => (L(), $(re, {
|
|
30297
|
-
|
|
30298
|
-
}, [
|
|
30299
|
-
B[1].visible && B[1].params.group === "Customer Address" ? (L(), Ue(cl, {
|
|
30294
|
+
(L(!0), $(re, null, Je(_.addSkel, (B, P) => (L(), $(re, { key: P }, [
|
|
30295
|
+
B.visible && B.params.group === "Customer Address" ? (L(), Ue(cl, {
|
|
30300
30296
|
key: 0,
|
|
30301
|
-
is: wt(Vn)(B
|
|
30302
|
-
name:
|
|
30297
|
+
is: wt(Vn)(B.type),
|
|
30298
|
+
name: P,
|
|
30303
30299
|
structure: v(_.addSkel),
|
|
30304
|
-
errors: _.errors[
|
|
30300
|
+
errors: _.errors[P] ? _.errors[P] : [],
|
|
30305
30301
|
skel: _.formValues,
|
|
30306
|
-
onChange: (
|
|
30302
|
+
onChange: (N) => S(P, N)
|
|
30307
30303
|
}, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) : oe("", !0)
|
|
30308
30304
|
], 64))), 128))
|
|
30309
30305
|
]))), 128)),
|
|
30310
30306
|
_.isCustomAdress ? (L(), $("div", qB, [
|
|
30311
30307
|
UB,
|
|
30312
|
-
(L(!0), $(re, null, Je(_.addSkel, (
|
|
30313
|
-
|
|
30314
|
-
}, [
|
|
30315
|
-
P[1].visible && P[1].params.group === "Customer Address" ? (L(), Ue(cl, {
|
|
30308
|
+
(L(!0), $(re, null, Je(_.addSkel, (R, B) => (L(), $(re, { key: B }, [
|
|
30309
|
+
R.visible && R.params.group === "Customer Address" ? (L(), Ue(cl, {
|
|
30316
30310
|
key: 0,
|
|
30317
|
-
is: wt(Vn)(
|
|
30318
|
-
name:
|
|
30311
|
+
is: wt(Vn)(R.type),
|
|
30312
|
+
name: B,
|
|
30319
30313
|
structure: v(_.addSkel),
|
|
30320
|
-
errors: _.errors[
|
|
30314
|
+
errors: _.errors[B] ? _.errors[B] : [],
|
|
30321
30315
|
skel: _.formValues,
|
|
30322
|
-
onChange: (
|
|
30316
|
+
onChange: (P) => S(B, P)
|
|
30323
30317
|
}, null, 8, ["is", "name", "structure", "errors", "skel", "onChange"])) : oe("", !0)
|
|
30324
30318
|
], 64))), 128))
|
|
30325
30319
|
])) : oe("", !0),
|
|
@@ -30356,7 +30350,7 @@ const cl = /* @__PURE__ */ ke(AB, [["render", VB], ["__scopeId", "data-v-dee63f3
|
|
|
30356
30350
|
}, " Rechnungsadresse wie Lieferadresse ", 32)
|
|
30357
30351
|
], 64));
|
|
30358
30352
|
}
|
|
30359
|
-
}, QB = /* @__PURE__ */ ke(YB, [["__scopeId", "data-v-
|
|
30353
|
+
}, QB = /* @__PURE__ */ ke(YB, [["__scopeId", "data-v-b967c6e1"]]), XB = {
|
|
30360
30354
|
__name: "ExampleUsage",
|
|
30361
30355
|
setup(h) {
|
|
30362
30356
|
const C = ai(), _ = ie(
|