comand-component-library 3.3.32 → 3.3.34
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/comand-component-library.js +147 -133
- package/dist/comand-component-library.umd.cjs +3 -3
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/App.vue +2 -2
- package/src/assets/data/tabs.json +1 -1
- package/src/components/CmdBox.vue +14 -13
- package/src/components/CmdCompanyLogo.vue +10 -9
- package/src/components/CmdFancyBox.vue +3 -1
- package/src/components/CmdFormElement.vue +8 -1
- package/src/components/CmdImageZoom.vue +8 -4
- package/src/components/CmdListOfLinks.vue +13 -1
- package/src/components/CmdPager.vue +0 -4
- package/src/components/CmdTabs.vue +9 -1
@@ -1,46 +1,46 @@
|
|
1
1
|
import { defineComponent as Li, h as zt, resolveComponent as le, openBlock as l, createBlock as C, normalizeClass as _, createElementBlock as o, createCommentVNode as m, createElementVNode as h, toDisplayString as g, resolveDynamicComponent as Ht, withCtx as A, renderSlot as V, createTextVNode as z, resolveDirective as cn, normalizeProps as K, mergeProps as q, Fragment as b, renderList as F, withDirectives as ne, Transition as ue, withModifiers as O, createVNode as x, TransitionGroup as bt, createApp as un, Teleport as dn, useCssVars as Di, vShow as ye, normalizeStyle as Oe, vModelDynamic as mn, vModelText as Ee, toHandlers as qt, onBeforeUpdate as hn } from "vue";
|
2
2
|
(function() {
|
3
|
-
const e = "on", i = "out", t = "body", a = "stop", n = "click", s = "apply", u = "target", d = "prototype", r = "Propagation", c = "setAttribute", f = "relatedTarget", p = "addEventListener", k = Symbol(i), y = Object, I = document, v = typeof TouchEvent < "u" ? TouchEvent : void 0,
|
4
|
-
for (let U of
|
5
|
-
|
6
|
-
}, Z = (
|
7
|
-
D(
|
8
|
-
let U = e +
|
9
|
-
re && !R(
|
10
|
-
}), G(
|
11
|
-
}, R = (
|
12
|
-
R(
|
13
|
-
}, Y = (
|
3
|
+
const e = "on", i = "out", t = "body", a = "stop", n = "click", s = "apply", u = "target", d = "prototype", r = "Propagation", c = "setAttribute", f = "relatedTarget", p = "addEventListener", k = Symbol(i), y = Object, I = document, v = typeof TouchEvent < "u" ? TouchEvent : void 0, S = HTMLElement, T = S[d], B = Event[d], Q = [n, "dbl" + n, "mousedown", "mouseup", "touchstart", "touchend", "pointerdown", "pointerup"], w = new Set(Q), H = new Set(Q.map((M) => e + M + i)), D = (M, j) => !!j && M instanceof j, P = (M, j) => M.contains(j), G = (M, j) => {
|
4
|
+
for (let U of M)
|
5
|
+
j(U);
|
6
|
+
}, Z = (M) => {
|
7
|
+
D(M, S) && (M[k] ? J(M) : G(w, (j) => {
|
8
|
+
let U = e + j + i, re = M.getAttribute(U);
|
9
|
+
re && !R(M)[U] && M[c](U, re);
|
10
|
+
}), G(M.childNodes, Z));
|
11
|
+
}, R = (M) => M[k] = M[k] || {}, J = (M) => {
|
12
|
+
R(M), X.includes(M) || (X.push(M), fe = !0);
|
13
|
+
}, Y = (M, j) => P(j, M) ? 1 : P(M, j) ? -1 : 0, ae = (M) => {
|
14
14
|
fe && (X.sort(Y), fe = !1);
|
15
|
-
let
|
16
|
-
D(
|
17
|
-
P(U,
|
15
|
+
let j = M[u];
|
16
|
+
D(M, v) ? (M = new v(M.type + i, M))[f] = j : M = new M.constructor(M.type + i, y.assign({}, M, { [f]: j })), M[a] = [], G(X, (U) => {
|
17
|
+
P(U, j) || M[a].some((re) => P(re, U)) || U.dispatchEvent(M);
|
18
18
|
});
|
19
|
-
}, te = (
|
20
|
-
let
|
21
|
-
|
22
|
-
}, se = (
|
23
|
-
function L(
|
24
|
-
let
|
25
|
-
|
19
|
+
}, te = (M) => function() {
|
20
|
+
let j = this, U = j.type;
|
21
|
+
M[s](j), H.has(e + U) && j[a].push(j[u]);
|
22
|
+
}, se = (M, j, U) => M[j] = U(M[j]);
|
23
|
+
function L(M) {
|
24
|
+
let j = this[k][e + M.type];
|
25
|
+
j && j[s](this, [M]);
|
26
26
|
}
|
27
27
|
let X = [], fe = !1, Ce = I.createElement(t);
|
28
|
-
G(w, (
|
29
|
-
I[p](
|
30
|
-
let
|
31
|
-
y.defineProperty(
|
32
|
-
return this[k][
|
28
|
+
G(w, (M) => {
|
29
|
+
I[p](M, ae, { passive: !0, capture: !0 });
|
30
|
+
let j = e + M + i;
|
31
|
+
y.defineProperty(T, j, { get() {
|
32
|
+
return this[k][j];
|
33
33
|
}, set(U) {
|
34
|
-
this[p](
|
34
|
+
this[p](M + i, L), this[k][j] = typeof U == "object" ? U.handleEvent : U;
|
35
35
|
} });
|
36
|
-
}), se(
|
37
|
-
H.has(e +
|
38
|
-
}), se(
|
39
|
-
H.has(
|
40
|
-
}), se(
|
41
|
-
G(
|
42
|
-
G(
|
43
|
-
D(U,
|
36
|
+
}), se(T, p, (M) => function(...j) {
|
37
|
+
H.has(e + j[0]) && J(this), M[s](this, j);
|
38
|
+
}), se(T, c, (M) => function(j, U) {
|
39
|
+
H.has(j) ? (M[s](Ce, [e + n, U]), this[j] = Ce[e + n]) : M[s](this, [j, U]);
|
40
|
+
}), se(B, a + r, te), se(B, a + "Immediate" + r, te), new MutationObserver((M) => {
|
41
|
+
G(M, (j) => {
|
42
|
+
G(j.addedNodes, Z), G(j.removedNodes, (U) => {
|
43
|
+
D(U, S) && (X = X.filter((re) => !P(U, re)));
|
44
44
|
});
|
45
45
|
});
|
46
46
|
}).observe(I.documentElement, { childList: !0, subtree: !0 }), Z(I[t]);
|
@@ -296,18 +296,18 @@ function In(e, i) {
|
|
296
296
|
};
|
297
297
|
let s = t.body;
|
298
298
|
[t, a].forEach((y) => {
|
299
|
-
const I = [], v = y.hFlip,
|
300
|
-
let
|
301
|
-
v ?
|
299
|
+
const I = [], v = y.hFlip, S = y.vFlip;
|
300
|
+
let T = y.rotate;
|
301
|
+
v ? S ? T += 2 : (I.push(
|
302
302
|
"translate(" + (n.width + n.left).toString() + " " + (0 - n.top).toString() + ")"
|
303
|
-
), I.push("scale(-1 1)"), n.top = n.left = 0) :
|
303
|
+
), I.push("scale(-1 1)"), n.top = n.left = 0) : S && (I.push(
|
304
304
|
"translate(" + (0 - n.left).toString() + " " + (n.height + n.top).toString() + ")"
|
305
305
|
), I.push("scale(1 -1)"), n.top = n.left = 0);
|
306
|
-
let
|
307
|
-
switch (
|
306
|
+
let B;
|
307
|
+
switch (T < 0 && (T -= Math.floor(T / 4) * 4), T = T % 4, T) {
|
308
308
|
case 1:
|
309
|
-
|
310
|
-
"rotate(90 " +
|
309
|
+
B = n.height / 2 + n.top, I.unshift(
|
310
|
+
"rotate(90 " + B.toString() + " " + B.toString() + ")"
|
311
311
|
);
|
312
312
|
break;
|
313
313
|
case 2:
|
@@ -316,12 +316,12 @@ function In(e, i) {
|
|
316
316
|
);
|
317
317
|
break;
|
318
318
|
case 3:
|
319
|
-
|
320
|
-
"rotate(-90 " +
|
319
|
+
B = n.width / 2 + n.left, I.unshift(
|
320
|
+
"rotate(-90 " + B.toString() + " " + B.toString() + ")"
|
321
321
|
);
|
322
322
|
break;
|
323
323
|
}
|
324
|
-
|
324
|
+
T % 2 === 1 && (n.left !== n.top && (B = n.left, n.left = n.top, n.top = B), n.width !== n.height && (B = n.width, n.width = n.height, n.height = B)), I.length && (s = '<g transform="' + I.join(" ") + '">' + s + "</g>");
|
325
325
|
});
|
326
326
|
const u = a.width, d = a.height, r = n.width, c = n.height;
|
327
327
|
let f, p;
|
@@ -617,21 +617,21 @@ function Un(e, i, t, a) {
|
|
617
617
|
D.status === "pending" && (D.status = "aborted");
|
618
618
|
}), k = [];
|
619
619
|
}
|
620
|
-
function
|
620
|
+
function S(D, P) {
|
621
621
|
P && (y = []), typeof D == "function" && y.push(D);
|
622
622
|
}
|
623
|
-
function
|
623
|
+
function T() {
|
624
624
|
return {
|
625
625
|
startTime: d,
|
626
626
|
payload: i,
|
627
627
|
status: r,
|
628
628
|
queriesSent: c,
|
629
629
|
queriesPending: k.length,
|
630
|
-
subscribe:
|
630
|
+
subscribe: S,
|
631
631
|
abort: v
|
632
632
|
};
|
633
633
|
}
|
634
|
-
function
|
634
|
+
function B() {
|
635
635
|
r = "failed", y.forEach((D) => {
|
636
636
|
D(void 0, f);
|
637
637
|
});
|
@@ -654,11 +654,11 @@ function Un(e, i, t, a) {
|
|
654
654
|
return;
|
655
655
|
}
|
656
656
|
if (P === "abort") {
|
657
|
-
f = G,
|
657
|
+
f = G, B();
|
658
658
|
return;
|
659
659
|
}
|
660
660
|
if (Z) {
|
661
|
-
f = G, k.length || (u.length ? H() :
|
661
|
+
f = G, k.length || (u.length ? H() : B());
|
662
662
|
return;
|
663
663
|
}
|
664
664
|
if (I(), Q(), !e.random) {
|
@@ -677,11 +677,11 @@ function Un(e, i, t, a) {
|
|
677
677
|
if (D === void 0) {
|
678
678
|
if (k.length) {
|
679
679
|
p = setTimeout(() => {
|
680
|
-
I(), r === "pending" && (Q(),
|
680
|
+
I(), r === "pending" && (Q(), B());
|
681
681
|
}, e.timeout);
|
682
682
|
return;
|
683
683
|
}
|
684
|
-
|
684
|
+
B();
|
685
685
|
return;
|
686
686
|
}
|
687
687
|
const P = {
|
@@ -693,7 +693,7 @@ function Un(e, i, t, a) {
|
|
693
693
|
};
|
694
694
|
k.push(P), c++, p = setTimeout(H, e.rotate), t(D, i, P.callback);
|
695
695
|
}
|
696
|
-
return setTimeout(H),
|
696
|
+
return setTimeout(H), T;
|
697
697
|
}
|
698
698
|
function qi(e) {
|
699
699
|
const i = {
|
@@ -1067,8 +1067,8 @@ function $t(e) {
|
|
1067
1067
|
const ei = (e, i) => {
|
1068
1068
|
const t = es(Yt, i), a = { ...as }, n = i.mode || "svg", s = {}, u = i.style, d = typeof u == "object" && !(u instanceof Array) ? u : {};
|
1069
1069
|
for (let v in i) {
|
1070
|
-
const
|
1071
|
-
if (
|
1070
|
+
const S = i[v];
|
1071
|
+
if (S !== void 0)
|
1072
1072
|
switch (v) {
|
1073
1073
|
case "icon":
|
1074
1074
|
case "style":
|
@@ -1078,24 +1078,24 @@ const ei = (e, i) => {
|
|
1078
1078
|
case "inline":
|
1079
1079
|
case "hFlip":
|
1080
1080
|
case "vFlip":
|
1081
|
-
t[v] =
|
1081
|
+
t[v] = S === !0 || S === "true" || S === 1;
|
1082
1082
|
break;
|
1083
1083
|
case "flip":
|
1084
|
-
typeof
|
1084
|
+
typeof S == "string" && is(t, S);
|
1085
1085
|
break;
|
1086
1086
|
case "color":
|
1087
|
-
s.color =
|
1087
|
+
s.color = S;
|
1088
1088
|
break;
|
1089
1089
|
case "rotate":
|
1090
|
-
typeof
|
1090
|
+
typeof S == "string" ? t[v] = ns(S) : typeof S == "number" && (t[v] = S);
|
1091
1091
|
break;
|
1092
1092
|
case "ariaHidden":
|
1093
1093
|
case "aria-hidden":
|
1094
|
-
|
1094
|
+
S !== !0 && S !== "true" && delete a["aria-hidden"];
|
1095
1095
|
break;
|
1096
1096
|
default: {
|
1097
|
-
const
|
1098
|
-
|
1097
|
+
const T = Ne[v];
|
1098
|
+
T ? (S === !0 || S === "true" || S === 1) && (t[T] = !0) : Yt[v] === void 0 && (a[v] = S);
|
1099
1099
|
}
|
1100
1100
|
}
|
1101
1101
|
}
|
@@ -1105,8 +1105,8 @@ const ei = (e, i) => {
|
|
1105
1105
|
...s,
|
1106
1106
|
...d
|
1107
1107
|
}, Object.assign(a, c);
|
1108
|
-
let v = 0,
|
1109
|
-
return typeof
|
1108
|
+
let v = 0, S = i.id;
|
1109
|
+
return typeof S == "string" && (S = S.replace(/-/g, "_")), a.innerHTML = Mn(r.body, S ? () => S + "ID" + v++ : "iconifyVue"), zt("svg", a);
|
1110
1110
|
}
|
1111
1111
|
const { body: f, width: p, height: k } = e, y = n === "mask" || (n === "bg" ? !1 : f.indexOf("currentColor") !== -1), I = ss(f, {
|
1112
1112
|
...c,
|
@@ -2251,7 +2251,7 @@ const Ol = Wi, Ll = ["aria-label"], Dl = { class: "flex-container" }, Nl = {
|
|
2251
2251
|
class: "flex-container no-flex"
|
2252
2252
|
}, Vl = ["title"], El = { key: 1 }, Ul = ["title"], Gl = { key: 1 };
|
2253
2253
|
function Ql(e, i, t, a, n, s) {
|
2254
|
-
var p, k, y, I, v,
|
2254
|
+
var p, k, y, I, v, S, T, B, Q, w, H, D, P, G, Z, R, J, Y, ae, te, se, L, X, fe, Ce, M, j, U, re;
|
2255
2255
|
const u = W, d = E, r = Ie, c = St, f = xl;
|
2256
2256
|
return l(), C(dn, { to: "body" }, [
|
2257
2257
|
h("dialog", {
|
@@ -2267,15 +2267,15 @@ function Ql(e, i, t, a, n, s) {
|
|
2267
2267
|
id: e.htmlId
|
2268
2268
|
}, null, 8, ["headlineText", "headlineLevel", "id"])) : m("", !0),
|
2269
2269
|
((I = e.fancyboxOptions.printButtons) == null ? void 0 : I.color) || ((v = e.fancyboxOptions.printButtons) == null ? void 0 : v.grayscale) || e.fancyboxOptions.closeIcon ? (l(), o("div", Nl, [
|
2270
|
-
e.showPrintButtons && ((
|
2270
|
+
e.showPrintButtons && ((S = e.fancyboxOptions.printButtons) == null ? void 0 : S.color) ? (l(), o("a", {
|
2271
2271
|
key: 0,
|
2272
2272
|
href: "#",
|
2273
2273
|
class: "button print-color",
|
2274
|
-
title: (
|
2274
|
+
title: (T = e.fancyboxOptions.printButtons.color) == null ? void 0 : T.tooltip,
|
2275
2275
|
onClick: i[0] || (i[0] = O((ce) => e.printInGrayscale = !1, ["prevent"]))
|
2276
2276
|
}, [
|
2277
2277
|
x(d, {
|
2278
|
-
iconClass: (
|
2278
|
+
iconClass: (B = e.fancyboxOptions.printButtons.color) == null ? void 0 : B.iconClass,
|
2279
2279
|
type: (Q = e.fancyboxOptions.printButtons.color) == null ? void 0 : Q.iconType
|
2280
2280
|
}, null, 8, ["iconClass", "type"])
|
2281
2281
|
], 8, jl)) : m("", !0),
|
@@ -2355,8 +2355,8 @@ function Ql(e, i, t, a, n, s) {
|
|
2355
2355
|
}, [
|
2356
2356
|
(Ce = e.fancyboxOptions.submitButtons.confirm) != null && Ce.iconClass ? (l(), C(d, {
|
2357
2357
|
key: 0,
|
2358
|
-
iconClass: (
|
2359
|
-
type: (
|
2358
|
+
iconClass: (M = e.fancyboxOptions.submitButtons.confirm) == null ? void 0 : M.iconClass,
|
2359
|
+
type: (j = e.fancyboxOptions.submitButtons.confirm) == null ? void 0 : j.iconType
|
2360
2360
|
}, null, 8, ["iconClass", "type"])) : m("", !0),
|
2361
2361
|
(U = e.fancyboxOptions.submitButtons.confirm) != null && U.buttonText ? (l(), o("span", Gl, g((re = e.fancyboxOptions.submitButtons.confirm) == null ? void 0 : re.buttonText), 1)) : m("", !0)
|
2362
2362
|
], 8, Ul)) : m("", !0)
|
@@ -2412,6 +2412,11 @@ const Zl = {
|
|
2412
2412
|
default: !1
|
2413
2413
|
}
|
2414
2414
|
},
|
2415
|
+
computed: {
|
2416
|
+
setStretchClass() {
|
2417
|
+
return this.largeIcons && this.orientation === "horizontal" ? "stretch" : null;
|
2418
|
+
}
|
2419
|
+
},
|
2415
2420
|
methods: {
|
2416
2421
|
getRoute(e) {
|
2417
2422
|
return me(e);
|
@@ -2428,7 +2433,7 @@ function Kl(e, i, t, a, n, s) {
|
|
2428
2433
|
}, [
|
2429
2434
|
t.cmdHeadline ? (l(), C(u, K(q({ key: 0 }, t.cmdHeadline)), null, 16)) : m("", !0),
|
2430
2435
|
h("ul", {
|
2431
|
-
class: _(["flex-container", { "no-gap": !t.useGap }, "align-" + t.align])
|
2436
|
+
class: _(["flex-container", { "no-gap": !t.useGap }, "align-" + t.align, s.setStretchClass])
|
2432
2437
|
}, [
|
2433
2438
|
(l(!0), o(b, null, F(t.links, (c, f) => (l(), o("li", {
|
2434
2439
|
key: f,
|
@@ -2626,7 +2631,7 @@ const Ot = {
|
|
2626
2631
|
}
|
2627
2632
|
}, ti = () => {
|
2628
2633
|
Di((e) => ({
|
2629
|
-
"
|
2634
|
+
"9f28e3e6": e.cutoffTextLines
|
2630
2635
|
}));
|
2631
2636
|
}, ii = Ot.setup;
|
2632
2637
|
Ot.setup = ii ? (e, i) => (ti(), ii(e, i)) : ti;
|
@@ -2653,7 +2658,7 @@ const to = Ot, io = ["title"], no = {
|
|
2653
2658
|
class: "box-footer"
|
2654
2659
|
};
|
2655
2660
|
function Bo(e, i, t, a, n, s) {
|
2656
|
-
var c, f, p, k, y, I, v,
|
2661
|
+
var c, f, p, k, y, I, v, S;
|
2657
2662
|
const u = W, d = E, r = Xl;
|
2658
2663
|
return t.boxType === "content" ? (l(), o("div", {
|
2659
2664
|
key: 0,
|
@@ -2673,7 +2678,7 @@ function Bo(e, i, t, a, n, s) {
|
|
2673
2678
|
href: "#",
|
2674
2679
|
class: "box-header",
|
2675
2680
|
title: n.open ? t.iconOpen.tooltip : t.iconClosed.tooltip,
|
2676
|
-
onClick: i[0] || (i[0] = O((...
|
2681
|
+
onClick: i[0] || (i[0] = O((...T) => s.toggleContentVisibility && s.toggleContentVisibility(...T), ["prevent"]))
|
2677
2682
|
}, [
|
2678
2683
|
(c = t.useSlots) != null && c.includes("header") ? V(e.$slots, "header", { key: 0 }) : (f = t.cmdHeadline) != null && f.headlineText ? (l(), C(u, K(q({ key: 1 }, t.cmdHeadline)), null, 16)) : m("", !0),
|
2679
2684
|
x(d, {
|
@@ -2692,44 +2697,49 @@ function Bo(e, i, t, a, n, s) {
|
|
2692
2697
|
"aria-expanded": "true",
|
2693
2698
|
role: "article"
|
2694
2699
|
}, [
|
2695
|
-
(
|
2696
|
-
|
2697
|
-
|
2698
|
-
|
2700
|
+
x(bt, { name: s.toggleTransition }, {
|
2701
|
+
default: A(() => {
|
2702
|
+
var T;
|
2703
|
+
return [
|
2704
|
+
h("div", {
|
2699
2705
|
class: _({
|
2700
2706
|
"cutoff-text": t.cutoffTextLines > 0,
|
2701
2707
|
"fade-last-line": t.fadeLastLine && !n.showCutOffText,
|
2702
2708
|
"show-text": n.showCutOffText
|
2703
2709
|
})
|
2704
|
-
},
|
2705
|
-
|
2706
|
-
|
2707
|
-
|
2708
|
-
|
2709
|
-
|
2710
|
-
|
2711
|
-
|
2712
|
-
|
2713
|
-
|
2710
|
+
}, [
|
2711
|
+
(T = t.useSlots) != null && T.includes("body") ? V(e.$slots, "body", { key: 0 }, () => [
|
2712
|
+
h("p", null, g(t.textBody), 1)
|
2713
|
+
]) : m("", !0)
|
2714
|
+
], 2)
|
2715
|
+
];
|
2716
|
+
}),
|
2717
|
+
_: 3
|
2718
|
+
}, 8, ["name"]),
|
2719
|
+
t.cutoffTextLines > 0 ? (l(), o("a", {
|
2720
|
+
key: 0,
|
2721
|
+
href: "#",
|
2722
|
+
onClick: i[1] || (i[1] = O((...T) => s.toggleCutOffText && s.toggleCutOffText(...T), ["prevent"]))
|
2723
|
+
}, g(n.showCutOffText ? e.getMessage("cmdbox.contentbox.collapse_text") : e.getMessage("cmdbox.contentbox.expand_text")), 1)) : (l(), o(b, { key: 1 }, [
|
2714
2724
|
t.image ? (l(), o("img", {
|
2715
2725
|
key: 0,
|
2716
2726
|
src: t.image.src,
|
2717
2727
|
alt: t.image.altText
|
2718
2728
|
}, null, 8, so)) : m("", !0),
|
2719
2729
|
h("div", lo, [
|
2720
|
-
((
|
2730
|
+
((v = t.cmdHeadline) == null ? void 0 : v.headlineText) && t.repeatHeadlineInBoxBody ? (l(), C(u, K(q({ key: 0 }, t.cmdHeadline)), null, 16)) : m("", !0),
|
2721
2731
|
t.textBody ? (l(), o("p", oo, g(t.textBody), 1)) : m("", !0)
|
2722
2732
|
])
|
2723
2733
|
], 64))
|
2724
2734
|
], 2)) : m("", !0),
|
2725
|
-
(
|
2735
|
+
(S = t.useSlots) != null && S.includes("footer") ? (l(), o("div", ao, [
|
2726
2736
|
V(e.$slots, "footer")
|
2727
2737
|
])) : m("", !0)
|
2728
2738
|
], 2)) : t.boxType === "product" && t.product ? (l(), o("a", {
|
2729
2739
|
key: 1,
|
2730
2740
|
class: _(["cmd-box box product", { "stretch-vertically": t.stretchVertically, "stretch-horizontally": t.stretchHorizontally, "row-view": t.rowView }]),
|
2731
2741
|
href: "#",
|
2732
|
-
onClick: i[2] || (i[2] = O((
|
2742
|
+
onClick: i[2] || (i[2] = O((T) => s.clickOnProduct(t.product), ["prevent"]))
|
2733
2743
|
}, [
|
2734
2744
|
h("div", ro, [
|
2735
2745
|
t.product.image !== void 0 ? (l(), o("figure", co, [
|
@@ -2793,7 +2803,7 @@ function Bo(e, i, t, a, n, s) {
|
|
2793
2803
|
t.user.description ? (l(), o("p", Do, g(t.user.description), 1)) : m("", !0)
|
2794
2804
|
]),
|
2795
2805
|
h("ul", No, [
|
2796
|
-
(l(!0), o(b, null, F(t.user.tags, (
|
2806
|
+
(l(!0), o(b, null, F(t.user.tags, (T, B) => (l(), o("li", { key: B }, g(T), 1))), 128))
|
2797
2807
|
]),
|
2798
2808
|
t.user.links ? (l(), o("div", jo, [
|
2799
2809
|
x(r, {
|
@@ -3739,6 +3749,10 @@ const wa = ["color", "date", "datetime-local", "file", "number", "range"], Ia =
|
|
3739
3749
|
};
|
3740
3750
|
}
|
3741
3751
|
},
|
3752
|
+
showStatusIcon: {
|
3753
|
+
type: Boolean,
|
3754
|
+
default: !0
|
3755
|
+
},
|
3742
3756
|
tooltipText: {
|
3743
3757
|
type: String,
|
3744
3758
|
required: !1
|
@@ -3968,7 +3982,7 @@ const wa = ["color", "date", "datetime-local", "file", "number", "range"], Ia =
|
|
3968
3982
|
class: "search-field-wrapper flex-container no-gap"
|
3969
3983
|
}, Za = ["id", "maxlength", "value"], Wa = ["title"], Ja = ["title"], Ya = { key: 1 };
|
3970
3984
|
function Ka(e, i, t, a, n, s) {
|
3971
|
-
var r, c, f, p, k, y, I, v,
|
3985
|
+
var r, c, f, p, k, y, I, v, S, T, B, Q, w, H, D, P, G, Z, R, J, Y, ae, te, se;
|
3972
3986
|
const u = Dt, d = E;
|
3973
3987
|
return t.element === "input" || t.element === "select" || t.element === "textarea" ? (l(), o("label", {
|
3974
3988
|
key: 0,
|
@@ -4007,7 +4021,7 @@ function Ka(e, i, t, a, n, s) {
|
|
4007
4021
|
cmdListOfRequirements: e.listOfRequirements,
|
4008
4022
|
role: e.validationStatus === "error" ? "alert" : "dialog"
|
4009
4023
|
}, null, 8, ["validationStatus", "validationMessage", "relatedId", "cmdListOfRequirements", "role"])) : m("", !0),
|
4010
|
-
e.$attrs.required || e.inputRequirements.length ? (l(), o("a", {
|
4024
|
+
t.showStatusIcon && (e.$attrs.required || e.inputRequirements.length) ? (l(), o("a", {
|
4011
4025
|
key: 1,
|
4012
4026
|
href: "#",
|
4013
4027
|
onClick: i[0] || (i[0] = O(() => {
|
@@ -4167,9 +4181,9 @@ function Ka(e, i, t, a, n, s) {
|
|
4167
4181
|
key: 1,
|
4168
4182
|
class: "button"
|
4169
4183
|
}, s.buttonAttrs), [
|
4170
|
-
((y = (k = t.nativeButton) == null ? void 0 : k.icon) == null ? void 0 : y.show) && (((v = (I = t.nativeButton) == null ? void 0 : I.icon) == null ? void 0 : v.position) === "before" || !((
|
4184
|
+
((y = (k = t.nativeButton) == null ? void 0 : k.icon) == null ? void 0 : y.show) && (((v = (I = t.nativeButton) == null ? void 0 : I.icon) == null ? void 0 : v.position) === "before" || !((T = (S = t.nativeButton) == null ? void 0 : S.icon) != null && T.position)) ? (l(), C(d, {
|
4171
4185
|
key: 0,
|
4172
|
-
iconClass: (Q = (
|
4186
|
+
iconClass: (Q = (B = t.nativeButton) == null ? void 0 : B.icon) == null ? void 0 : Q.iconClass,
|
4173
4187
|
type: (H = (w = t.nativeButton) == null ? void 0 : w.icon) == null ? void 0 : H.iconType
|
4174
4188
|
}, null, 8, ["iconClass", "type"])) : m("", !0),
|
4175
4189
|
((D = t.nativeButton) == null ? void 0 : D.icon) && ((P = t.nativeButton) == null ? void 0 : P.text) ? (l(), o("span", Ya, g(t.nativeButton.text), 1)) : (l(), o(b, { key: 2 }, [
|
@@ -4309,7 +4323,7 @@ function hr(e, i, t, a, n, s) {
|
|
4309
4323
|
headlineLevel: t.cmdHeadlineCookieDisclaimer.headlineLevel
|
4310
4324
|
}, null, 8, ["headlineText", "headlineLevel"])) : m("", !0),
|
4311
4325
|
V(e.$slots, "cookie-options", {}, () => {
|
4312
|
-
var k, y, I, v,
|
4326
|
+
var k, y, I, v, S, T, B, Q;
|
4313
4327
|
return [
|
4314
4328
|
(k = t.cookieOptions) != null && k.required ? (l(), o("div", tr, [
|
4315
4329
|
(y = t.cmdBoxRequiredCookies) != null && y.showHeadline ? (l(), C(u, {
|
@@ -4358,10 +4372,10 @@ function hr(e, i, t, a, n, s) {
|
|
4358
4372
|
}), 128))
|
4359
4373
|
])) : m("", !0),
|
4360
4374
|
or,
|
4361
|
-
(
|
4362
|
-
(
|
4375
|
+
(S = t.cookieOptions) != null && S.optional ? (l(), o("div", ar, [
|
4376
|
+
(T = t.cmdBoxOptionalCookies) != null && T.showHeadline ? (l(), C(u, {
|
4363
4377
|
key: 0,
|
4364
|
-
"headline-text": (
|
4378
|
+
"headline-text": (B = t.cmdBoxOptionalCookies) == null ? void 0 : B.headlineText,
|
4365
4379
|
"headline-level": (Q = t.cmdBoxOptionalCookies) == null ? void 0 : Q.headlineLevel
|
4366
4380
|
}, null, 8, ["headline-text", "headline-level"])) : m("", !0),
|
4367
4381
|
(l(!0), o(b, null, F(t.cookieOptions.optional.cookies || [], (w, H) => {
|
@@ -5104,8 +5118,8 @@ const rc = {
|
|
5104
5118
|
}
|
5105
5119
|
};
|
5106
5120
|
function li(e, i) {
|
5107
|
-
const t = e.$el.querySelector(".zoom-container"), a = t.querySelector("img"), n = e.$el.querySelector(".zoom-overlay"), s = i.target.getBoundingClientRect().width, u = i.target.getBoundingClientRect().height, d = a.getBoundingClientRect().width, r = a.getBoundingClientRect().height, c = i.pageX - i.target.getBoundingClientRect().x - window.pageXOffset, f = i.pageY - i.target.getBoundingClientRect().y - window.pageYOffset, p = Math.min(s, t.getBoundingClientRect().width / d * s), k = Math.min(u, t.getBoundingClientRect().height / r * u), y = oi(c - p / 2, 0, s - p), I = oi(f - k / 2, 0, u - k), v = -(y * (d / s)),
|
5108
|
-
n.style.left = `${y}px`, n.style.top = `${I}px`, n.style.width = `${p}px`, n.style.height = `${k}px`, n.style.display = "block", a.style.marginLeft = `${v}px`, a.style.marginTop = `${
|
5121
|
+
const t = e.$el.querySelector(".zoom-container"), a = t.querySelector("img"), n = e.$el.querySelector(".zoom-overlay"), s = i.target.getBoundingClientRect().width, u = i.target.getBoundingClientRect().height, d = a.getBoundingClientRect().width, r = a.getBoundingClientRect().height, c = i.pageX - i.target.getBoundingClientRect().x - window.pageXOffset, f = i.pageY - i.target.getBoundingClientRect().y - window.pageYOffset, p = Math.min(s, t.getBoundingClientRect().width / d * s), k = Math.min(u, t.getBoundingClientRect().height / r * u), y = oi(c - p / 2, 0, s - p), I = oi(f - k / 2, 0, u - k), v = -(y * (d / s)), S = -(I * (r / u));
|
5122
|
+
n.style.left = `${y}px`, n.style.top = `${I}px`, n.style.width = `${p}px`, n.style.height = `${k}px`, n.style.display = "block", a.style.marginLeft = `${v}px`, a.style.marginTop = `${S}px`;
|
5109
5123
|
}
|
5110
5124
|
function oi(e, i, t) {
|
5111
5125
|
return e < i ? i : e > t ? t : e;
|
@@ -5121,7 +5135,7 @@ function gc(e, i, t, a, n, s) {
|
|
5121
5135
|
return l(), o("div", cc, [
|
5122
5136
|
h("a", {
|
5123
5137
|
href: "#",
|
5124
|
-
class: "no-flex
|
5138
|
+
class: "no-flex",
|
5125
5139
|
title: t.imageSmall.tooltip
|
5126
5140
|
}, [
|
5127
5141
|
h("img", {
|
@@ -5530,7 +5544,7 @@ const Sc = {
|
|
5530
5544
|
}
|
5531
5545
|
}, Mc = { class: "cmd-login-form flex-container" }, Oc = { class: "flex-container" }, Lc = { class: "option-wrapper flex-container" }, Dc = { key: 1 }, Nc = ["href"], jc = { key: 1 }, Bc = /* @__PURE__ */ z(" /> "), Pc = { key: 1 }, Ac = ["type", "disabled"], Fc = { key: 1 }, zc = { class: "cmd-login-form flex-container" }, Hc = { class: "option-wrapper flex-container" }, qc = { key: 1 }, Rc = ["type", "disabled"], Vc = { key: 1 };
|
5532
5546
|
function Ec(e, i, t, a, n, s) {
|
5533
|
-
var f, p, k, y, I, v,
|
5547
|
+
var f, p, k, y, I, v, S;
|
5534
5548
|
const u = W, d = _e, r = E, c = le("router-link");
|
5535
5549
|
return l(), o(b, null, [
|
5536
5550
|
ne(h("fieldset", Mc, [
|
@@ -5545,12 +5559,12 @@ function Ec(e, i, t, a, n, s) {
|
|
5545
5559
|
name: t.cmdFormElementUsername.name,
|
5546
5560
|
id: t.cmdFormElementUsername.id,
|
5547
5561
|
modelValue: s.username,
|
5548
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
5562
|
+
"onUpdate:modelValue": i[0] || (i[0] = (T) => s.username = T),
|
5549
5563
|
fieldIconClass: t.cmdFormElementUsername.innerIconClass,
|
5550
5564
|
labelText: t.cmdFormElementUsername.labelText,
|
5551
5565
|
placeholder: t.cmdFormElementUsername.placeholder,
|
5552
5566
|
required: t.cmdFormElementUsername.required,
|
5553
|
-
onValidationStatusChange: i[1] || (i[1] = (
|
5567
|
+
onValidationStatusChange: i[1] || (i[1] = (T) => s.checkValidationStatus(T, "username"))
|
5554
5568
|
}, null, 8, ["name", "id", "modelValue", "fieldIconClass", "labelText", "placeholder", "required"]),
|
5555
5569
|
x(d, {
|
5556
5570
|
element: "input",
|
@@ -5559,11 +5573,11 @@ function Ec(e, i, t, a, n, s) {
|
|
5559
5573
|
id: t.cmdFormElementPassword.id,
|
5560
5574
|
fieldIconClass: t.cmdFormElementPassword.innerIconClass,
|
5561
5575
|
modelValue: s.password,
|
5562
|
-
"onUpdate:modelValue": i[2] || (i[2] = (
|
5576
|
+
"onUpdate:modelValue": i[2] || (i[2] = (T) => s.password = T),
|
5563
5577
|
labelText: t.cmdFormElementPassword.labelText,
|
5564
5578
|
placeholder: t.cmdFormElementPassword.placeholder,
|
5565
5579
|
required: t.cmdFormElementPassword.required,
|
5566
|
-
onValidationStatusChange: i[3] || (i[3] = (
|
5580
|
+
onValidationStatusChange: i[3] || (i[3] = (T) => s.checkValidationStatus(T, "password"))
|
5567
5581
|
}, null, 8, ["name", "id", "fieldIconClass", "modelValue", "labelText", "placeholder", "required"])
|
5568
5582
|
]),
|
5569
5583
|
h("div", Lc, [
|
@@ -5571,7 +5585,7 @@ function Ec(e, i, t, a, n, s) {
|
|
5571
5585
|
t.options.forgotPassword ? (l(), o("a", {
|
5572
5586
|
key: 0,
|
5573
5587
|
href: "#",
|
5574
|
-
onClick: i[4] || (i[4] = O((
|
5588
|
+
onClick: i[4] || (i[4] = O((T) => n.sendLogin = !0, ["prevent"]))
|
5575
5589
|
}, [
|
5576
5590
|
((f = t.options.forgotPassword.icon) == null ? void 0 : f.show) && ((p = t.options.forgotPassword.icon) == null ? void 0 : p.iconClass) ? (l(), C(r, {
|
5577
5591
|
key: 0,
|
@@ -5613,7 +5627,7 @@ function Ec(e, i, t, a, n, s) {
|
|
5613
5627
|
key: 1,
|
5614
5628
|
type: t.buttons.login.type === "submit" ? "submit" : "button",
|
5615
5629
|
class: _(["button", { primary: t.buttons.login.primary }]),
|
5616
|
-
onClick: i[5] || (i[5] = (...
|
5630
|
+
onClick: i[5] || (i[5] = (...T) => s.onClick && s.onClick(...T)),
|
5617
5631
|
disabled: s.buttonLoginDisabled
|
5618
5632
|
}, [
|
5619
5633
|
t.buttons.login.icon.iconClass ? (l(), C(r, {
|
@@ -5642,14 +5656,14 @@ function Ec(e, i, t, a, n, s) {
|
|
5642
5656
|
name: t.cmdFormElementSendLogin.name,
|
5643
5657
|
required: t.cmdFormElementSendLogin.required,
|
5644
5658
|
id: t.cmdFormElementSendLogin.id,
|
5645
|
-
onValidationStatusChange: i[6] || (i[6] = (
|
5659
|
+
onValidationStatusChange: i[6] || (i[6] = (T) => s.checkValidationStatus(T, "email")),
|
5646
5660
|
modelValue: n.sendLoginMail,
|
5647
|
-
"onUpdate:modelValue": i[7] || (i[7] = (
|
5661
|
+
"onUpdate:modelValue": i[7] || (i[7] = (T) => n.sendLoginMail = T)
|
5648
5662
|
}, null, 8, ["fieldIconClass", "labelText", "placeholder", "name", "required", "id", "modelValue"]),
|
5649
5663
|
h("div", Hc, [
|
5650
5664
|
h("a", {
|
5651
5665
|
href: "#",
|
5652
|
-
onClick: i[8] || (i[8] = O((
|
5666
|
+
onClick: i[8] || (i[8] = O((T) => n.sendLogin = !1, ["prevent"]))
|
5653
5667
|
}, [
|
5654
5668
|
t.options.backToLoginForm && t.options.backToLoginForm.icon && t.options.backToLoginForm.icon.show && t.options.backToLoginForm.icon.iconClass ? (l(), C(r, {
|
5655
5669
|
key: 0,
|
@@ -5668,7 +5682,7 @@ function Ec(e, i, t, a, n, s) {
|
|
5668
5682
|
(I = t.buttons.sendLogin.icon) != null && I.iconClass ? (l(), C(r, {
|
5669
5683
|
key: 0,
|
5670
5684
|
iconClass: (v = t.buttons.sendLogin.icon) == null ? void 0 : v.iconClass,
|
5671
|
-
title: (
|
5685
|
+
title: (S = t.buttons.sendLogin.icon) == null ? void 0 : S.tooltip
|
5672
5686
|
}, null, 8, ["iconClass", "title"])) : m("", !0),
|
5673
5687
|
t.buttons.sendLogin.text ? (l(), o("span", Vc, g(t.buttons.sendLogin.text), 1)) : m("", !0)
|
5674
5688
|
], 10, Rc)) : m("", !0)
|
@@ -5894,13 +5908,13 @@ function nu(e, i, t, a, n, s) {
|
|
5894
5908
|
key: 2,
|
5895
5909
|
"aria-expanded": n.openSubentry ? "true" : "false"
|
5896
5910
|
}, [
|
5897
|
-
(l(!0), o(b, null, F(y.subentries, (v,
|
5911
|
+
(l(!0), o(b, null, F(y.subentries, (v, S) => (l(), o("li", { key: S }, [
|
5898
5912
|
r.type === "href" ? (l(), o("a", {
|
5899
5913
|
key: 0,
|
5900
5914
|
href: v.path,
|
5901
5915
|
title: v.tooltip,
|
5902
5916
|
target: v.target,
|
5903
|
-
onClick: (
|
5917
|
+
onClick: (T) => s.executeLink(T, v)
|
5904
5918
|
}, [
|
5905
5919
|
v.iconClass ? (l(), C(u, {
|
5906
5920
|
key: 0,
|
@@ -6838,7 +6852,7 @@ const Xu = {
|
|
6838
6852
|
"aria-expanded": "true"
|
6839
6853
|
};
|
6840
6854
|
function ld(e, i, t, a, n, s) {
|
6841
|
-
var p, k, y, I, v,
|
6855
|
+
var p, k, y, I, v, S, T, B, Q, w;
|
6842
6856
|
const u = W, d = _e, r = E, c = Rr, f = Xr;
|
6843
6857
|
return l(), o(b, null, [
|
6844
6858
|
h("fieldset", $u, [
|
@@ -6898,7 +6912,7 @@ function ld(e, i, t, a, n, s) {
|
|
6898
6912
|
}, [
|
6899
6913
|
x(r, {
|
6900
6914
|
iconClass: n.showFilters ? (y = (k = t.cmdIcon) == null ? void 0 : k.showFilters) == null ? void 0 : y.iconClass : (v = (I = t.cmdIcon) == null ? void 0 : I.hideFilters) == null ? void 0 : v.iconClass,
|
6901
|
-
type: n.showFilters ? (
|
6915
|
+
type: n.showFilters ? (T = (S = t.cmdIcon) == null ? void 0 : S.showFilters) == null ? void 0 : T.iconType : (Q = (B = t.cmdIcon) == null ? void 0 : B.hideFilters) == null ? void 0 : Q.iconType
|
6902
6916
|
}, null, 8, ["iconClass", "type"]),
|
6903
6917
|
n.showFilters ? (l(), o("span", id, g(e.getMessage("cmdsitesearch.hide_filter_options")), 1)) : (l(), o("span", nd, g(e.getMessage("cmdsitesearch.show_filter_options")), 1))
|
6904
6918
|
]),
|
@@ -7036,7 +7050,7 @@ function dd(e, i, t, a, n, s) {
|
|
7036
7050
|
}, null, 8, ["onClick"]),
|
7037
7051
|
x(bt, { name: "fade" }, {
|
7038
7052
|
default: A(() => {
|
7039
|
-
var r, c, f, p, k, y, I, v,
|
7053
|
+
var r, c, f, p, k, y, I, v, S, T;
|
7040
7054
|
return [
|
7041
7055
|
s.currentItem ? (l(), o(b, { key: 0 }, [
|
7042
7056
|
t.useSlot ? (l(), o("div", {
|
@@ -7056,8 +7070,8 @@ function dd(e, i, t, a, n, s) {
|
|
7056
7070
|
figcaption: (v = s.currentItem) == null ? void 0 : v.figcaption
|
7057
7071
|
}, null, 8, ["image", "figcaption"])
|
7058
7072
|
], 8, ad)) : (l(), C(d, {
|
7059
|
-
image: (
|
7060
|
-
figcaption: (
|
7073
|
+
image: (S = s.currentItem) == null ? void 0 : S.image,
|
7074
|
+
figcaption: (T = s.currentItem) == null ? void 0 : T.figcaption,
|
7061
7075
|
key: n.index
|
7062
7076
|
}, null, 8, ["image", "figcaption"]))
|
7063
7077
|
], 64))
|
@@ -8142,21 +8156,21 @@ function _i() {
|
|
8142
8156
|
var e = ee, i = Im(), t = xm(), a = $i, n = Mm(), s = Om(), u = Lm(), d = tn(), r = Re(), c = qe();
|
8143
8157
|
return it = function(p) {
|
8144
8158
|
return new Promise(function(y, I) {
|
8145
|
-
var v = p.data,
|
8159
|
+
var v = p.data, S = p.headers, T = p.responseType, B;
|
8146
8160
|
function Q() {
|
8147
|
-
p.cancelToken && p.cancelToken.unsubscribe(
|
8161
|
+
p.cancelToken && p.cancelToken.unsubscribe(B), p.signal && p.signal.removeEventListener("abort", B);
|
8148
8162
|
}
|
8149
|
-
e.isFormData(v) && delete
|
8163
|
+
e.isFormData(v) && delete S["Content-Type"];
|
8150
8164
|
var w = new XMLHttpRequest();
|
8151
8165
|
if (p.auth) {
|
8152
8166
|
var H = p.auth.username || "", D = p.auth.password ? unescape(encodeURIComponent(p.auth.password)) : "";
|
8153
|
-
|
8167
|
+
S.Authorization = "Basic " + btoa(H + ":" + D);
|
8154
8168
|
}
|
8155
8169
|
var P = n(p.baseURL, p.url);
|
8156
8170
|
w.open(p.method.toUpperCase(), a(P, p.params, p.paramsSerializer), !0), w.timeout = p.timeout;
|
8157
8171
|
function G() {
|
8158
8172
|
if (!!w) {
|
8159
|
-
var R = "getAllResponseHeaders" in w ? s(w.getAllResponseHeaders()) : null, J = !
|
8173
|
+
var R = "getAllResponseHeaders" in w ? s(w.getAllResponseHeaders()) : null, J = !T || T === "text" || T === "json" ? w.responseText : w.response, Y = {
|
8160
8174
|
data: J,
|
8161
8175
|
status: w.status,
|
8162
8176
|
statusText: w.statusText,
|
@@ -8187,13 +8201,13 @@ function _i() {
|
|
8187
8201
|
)), w = null;
|
8188
8202
|
}, e.isStandardBrowserEnv()) {
|
8189
8203
|
var Z = (p.withCredentials || u(P)) && p.xsrfCookieName ? t.read(p.xsrfCookieName) : void 0;
|
8190
|
-
Z && (
|
8204
|
+
Z && (S[p.xsrfHeaderName] = Z);
|
8191
8205
|
}
|
8192
|
-
"setRequestHeader" in w && e.forEach(
|
8193
|
-
typeof v > "u" && Y.toLowerCase() === "content-type" ? delete
|
8194
|
-
}), e.isUndefined(p.withCredentials) || (w.withCredentials = !!p.withCredentials),
|
8206
|
+
"setRequestHeader" in w && e.forEach(S, function(J, Y) {
|
8207
|
+
typeof v > "u" && Y.toLowerCase() === "content-type" ? delete S[Y] : w.setRequestHeader(Y, J);
|
8208
|
+
}), e.isUndefined(p.withCredentials) || (w.withCredentials = !!p.withCredentials), T && T !== "json" && (w.responseType = p.responseType), typeof p.onDownloadProgress == "function" && w.addEventListener("progress", p.onDownloadProgress), typeof p.onUploadProgress == "function" && w.upload && w.upload.addEventListener("progress", p.onUploadProgress), (p.cancelToken || p.signal) && (B = function(R) {
|
8195
8209
|
!w || (I(!R || R && R.type ? new c("canceled") : R), w.abort(), w = null);
|
8196
|
-
}, p.cancelToken && p.cancelToken.subscribe(
|
8210
|
+
}, p.cancelToken && p.cancelToken.subscribe(B), p.signal && (p.signal.aborted ? B() : p.signal.addEventListener("abort", B))), v || (v = null), w.send(v);
|
8197
8211
|
});
|
8198
8212
|
}, it;
|
8199
8213
|
}
|