comand-component-library 3.3.45 → 3.3.47
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/comand-component-library.js +86 -78
- package/dist/comand-component-library.umd.cjs +3 -3
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/App.vue +16 -1
- package/src/assets/data/main-navigation.json +1 -0
- package/src/components/CmdBackToTopButton.vue +2 -2
- package/src/components/CmdMainNavigation.vue +27 -2
- package/src/components/CmdSiteHeader.vue +31 -4
@@ -1,10 +1,10 @@
|
|
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 R, createTextVNode as z, resolveDirective as cn, normalizeProps as K, mergeProps as H, Fragment as k, 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", b = Symbol(i), y = Object, I = document, v = typeof TouchEvent < "u" ? TouchEvent : void 0,
|
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", b = Symbol(i), y = Object, I = document, v = typeof TouchEvent < "u" ? TouchEvent : void 0, T = HTMLElement, S = T[d], B = Event[d], Q = [n, "dbl" + n, "mousedown", "mouseup", "touchstart", "touchend", "pointerdown", "pointerup"], w = new Set(Q), q = 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
4
|
for (let U of M)
|
5
5
|
j(U);
|
6
6
|
}, Z = (M) => {
|
7
|
-
D(M,
|
7
|
+
D(M, T) && (M[b] ? J(M) : G(w, (j) => {
|
8
8
|
let U = e + j + i, re = M.getAttribute(U);
|
9
9
|
re && !V(M)[U] && M[c](U, re);
|
10
10
|
}), G(M.childNodes, Z));
|
@@ -28,19 +28,19 @@ import { defineComponent as Li, h as zt, resolveComponent as le, openBlock as l,
|
|
28
28
|
G(w, (M) => {
|
29
29
|
I[p](M, ae, { passive: !0, capture: !0 });
|
30
30
|
let j = e + M + i;
|
31
|
-
y.defineProperty(
|
31
|
+
y.defineProperty(S, j, { get() {
|
32
32
|
return this[b][j];
|
33
33
|
}, set(U) {
|
34
34
|
this[p](M + i, L), this[b][j] = typeof U == "object" ? U.handleEvent : U;
|
35
35
|
} });
|
36
|
-
}), se(
|
36
|
+
}), se(S, p, (M) => function(...j) {
|
37
37
|
q.has(e + j[0]) && J(this), M[s](this, j);
|
38
|
-
}), se(
|
38
|
+
}), se(S, c, (M) => function(j, U) {
|
39
39
|
q.has(j) ? (M[s](Ce, [e + n, U]), this[j] = Ce[e + n]) : M[s](this, [j, U]);
|
40
40
|
}), se(B, a + r, te), se(B, a + "Immediate" + r, te), new MutationObserver((M) => {
|
41
41
|
G(M, (j) => {
|
42
42
|
G(j.addedNodes, Z), G(j.removedNodes, (U) => {
|
43
|
-
D(U,
|
43
|
+
D(U, T) && (X = X.filter((re) => !P(U, re)));
|
44
44
|
});
|
45
45
|
});
|
46
46
|
}).observe(I.documentElement, { childList: !0, subtree: !0 }), Z(I[t]);
|
@@ -296,15 +296,15 @@ 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, T = y.vFlip;
|
300
|
+
let S = y.rotate;
|
301
|
+
v ? T ? S += 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) : T && (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
306
|
let B;
|
307
|
-
switch (
|
307
|
+
switch (S < 0 && (S -= Math.floor(S / 4) * 4), S = S % 4, S) {
|
308
308
|
case 1:
|
309
309
|
B = n.height / 2 + n.top, I.unshift(
|
310
310
|
"rotate(90 " + B.toString() + " " + B.toString() + ")"
|
@@ -321,7 +321,7 @@ function In(e, i) {
|
|
321
321
|
);
|
322
322
|
break;
|
323
323
|
}
|
324
|
-
|
324
|
+
S % 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,17 +617,17 @@ function Un(e, i, t, a) {
|
|
617
617
|
D.status === "pending" && (D.status = "aborted");
|
618
618
|
}), b = [];
|
619
619
|
}
|
620
|
-
function
|
620
|
+
function T(D, P) {
|
621
621
|
P && (y = []), typeof D == "function" && y.push(D);
|
622
622
|
}
|
623
|
-
function
|
623
|
+
function S() {
|
624
624
|
return {
|
625
625
|
startTime: d,
|
626
626
|
payload: i,
|
627
627
|
status: r,
|
628
628
|
queriesSent: c,
|
629
629
|
queriesPending: b.length,
|
630
|
-
subscribe:
|
630
|
+
subscribe: T,
|
631
631
|
abort: v
|
632
632
|
};
|
633
633
|
}
|
@@ -693,7 +693,7 @@ function Un(e, i, t, a) {
|
|
693
693
|
};
|
694
694
|
b.push(P), c++, p = setTimeout(q, e.rotate), t(D, i, P.callback);
|
695
695
|
}
|
696
|
-
return setTimeout(q),
|
696
|
+
return setTimeout(q), S;
|
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 T = i[v];
|
1071
|
+
if (T !== 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] = T === !0 || T === "true" || T === 1;
|
1082
1082
|
break;
|
1083
1083
|
case "flip":
|
1084
|
-
typeof
|
1084
|
+
typeof T == "string" && is(t, T);
|
1085
1085
|
break;
|
1086
1086
|
case "color":
|
1087
|
-
s.color =
|
1087
|
+
s.color = T;
|
1088
1088
|
break;
|
1089
1089
|
case "rotate":
|
1090
|
-
typeof
|
1090
|
+
typeof T == "string" ? t[v] = ns(T) : typeof T == "number" && (t[v] = T);
|
1091
1091
|
break;
|
1092
1092
|
case "ariaHidden":
|
1093
1093
|
case "aria-hidden":
|
1094
|
-
|
1094
|
+
T !== !0 && T !== "true" && delete a["aria-hidden"];
|
1095
1095
|
break;
|
1096
1096
|
default: {
|
1097
|
-
const
|
1098
|
-
|
1097
|
+
const S = Ne[v];
|
1098
|
+
S ? (T === !0 || T === "true" || T === 1) && (t[S] = !0) : Yt[v] === void 0 && (a[v] = T);
|
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, T = i.id;
|
1109
|
+
return typeof T == "string" && (T = T.replace(/-/g, "_")), a.innerHTML = Mn(r.body, T ? () => T + "ID" + v++ : "iconifyVue"), zt("svg", a);
|
1110
1110
|
}
|
1111
1111
|
const { body: f, width: p, height: b } = e, y = n === "mask" || (n === "bg" ? !1 : f.indexOf("currentColor") !== -1), I = ss(f, {
|
1112
1112
|
...c,
|
@@ -2270,7 +2270,7 @@ const Dl = Wi, Nl = ["aria-label"], jl = { class: "flex-container" }, Bl = {
|
|
2270
2270
|
class: "flex-container no-flex"
|
2271
2271
|
}, Ul = ["title"], Gl = { key: 1 }, Ql = ["title"], Zl = { key: 1 };
|
2272
2272
|
function Wl(e, i, t, a, n, s) {
|
2273
|
-
var p, b, y, I, v,
|
2273
|
+
var p, b, y, I, v, T, S, B, Q, w, q, D, P, G, Z, V, J, Y, ae, te, se, L, X, fe, Ce, M, j, U, re;
|
2274
2274
|
const u = W, d = E, r = Ie, c = St, f = Sl;
|
2275
2275
|
return l(), C(dn, { to: "body" }, [
|
2276
2276
|
h("dialog", {
|
@@ -2286,11 +2286,11 @@ function Wl(e, i, t, a, n, s) {
|
|
2286
2286
|
id: e.htmlId
|
2287
2287
|
}, null, 8, ["headlineText", "headlineLevel", "id"])) : m("", !0),
|
2288
2288
|
((I = e.fancyboxOptions.printButtons) == null ? void 0 : I.color) || ((v = e.fancyboxOptions.printButtons) == null ? void 0 : v.grayscale) || e.fancyboxOptions.closeIcon ? (l(), o("div", Bl, [
|
2289
|
-
e.showPrintButtons && ((
|
2289
|
+
e.showPrintButtons && ((T = e.fancyboxOptions.printButtons) == null ? void 0 : T.color) ? (l(), o("a", {
|
2290
2290
|
key: 0,
|
2291
2291
|
href: "#",
|
2292
2292
|
class: "button print-color",
|
2293
|
-
title: (
|
2293
|
+
title: (S = e.fancyboxOptions.printButtons.color) == null ? void 0 : S.tooltip,
|
2294
2294
|
onClick: i[0] || (i[0] = O((ce) => e.printInGrayscale = !1, ["prevent"]))
|
2295
2295
|
}, [
|
2296
2296
|
x(d, {
|
@@ -2685,7 +2685,7 @@ const no = Ot, so = ["title"], lo = {
|
|
2685
2685
|
class: "box-footer"
|
2686
2686
|
};
|
2687
2687
|
function Ao(e, i, t, a, n, s) {
|
2688
|
-
var c, f, p, b, y, I, v,
|
2688
|
+
var c, f, p, b, y, I, v, T;
|
2689
2689
|
const u = W, d = E, r = eo;
|
2690
2690
|
return t.boxType === "content" ? (l(), o("div", {
|
2691
2691
|
key: 0,
|
@@ -2705,7 +2705,7 @@ function Ao(e, i, t, a, n, s) {
|
|
2705
2705
|
href: "#",
|
2706
2706
|
class: "box-header",
|
2707
2707
|
title: n.open ? t.iconOpen.tooltip : t.iconClosed.tooltip,
|
2708
|
-
onClick: i[0] || (i[0] = O((...
|
2708
|
+
onClick: i[0] || (i[0] = O((...S) => s.toggleContentVisibility && s.toggleContentVisibility(...S), ["prevent"]))
|
2709
2709
|
}, [
|
2710
2710
|
(c = t.useSlots) != null && c.includes("header") ? R(e.$slots, "header", { key: 0 }) : (f = t.cmdHeadline) != null && f.headlineText ? (l(), C(u, K(H({ key: 1 }, t.cmdHeadline)), null, 16)) : m("", !0),
|
2711
2711
|
x(d, {
|
@@ -2726,7 +2726,7 @@ function Ao(e, i, t, a, n, s) {
|
|
2726
2726
|
}, [
|
2727
2727
|
x(bt, { name: s.toggleTransition }, {
|
2728
2728
|
default: A(() => {
|
2729
|
-
var
|
2729
|
+
var S, B;
|
2730
2730
|
return [
|
2731
2731
|
t.cutoffTextLines > 0 ? (l(), o("div", {
|
2732
2732
|
key: 0,
|
@@ -2738,7 +2738,7 @@ function Ao(e, i, t, a, n, s) {
|
|
2738
2738
|
}
|
2739
2739
|
])
|
2740
2740
|
}, [
|
2741
|
-
(
|
2741
|
+
(S = t.useSlots) != null && S.includes("body") ? R(e.$slots, "body", { key: 0 }, () => [
|
2742
2742
|
h("p", null, g(t.textBody), 1)
|
2743
2743
|
]) : m("", !0)
|
2744
2744
|
], 2)) : (l(), o(k, { key: 1 }, [
|
@@ -2753,7 +2753,7 @@ function Ao(e, i, t, a, n, s) {
|
|
2753
2753
|
t.cutoffTextLines > 0 ? (l(), o("a", {
|
2754
2754
|
key: 0,
|
2755
2755
|
href: "#",
|
2756
|
-
onClick: i[1] || (i[1] = O((...
|
2756
|
+
onClick: i[1] || (i[1] = O((...S) => s.toggleCutOffText && s.toggleCutOffText(...S), ["prevent"]))
|
2757
2757
|
}, g(n.showCutOffText ? e.getMessage("cmdbox.contentbox.collapse_text") : e.getMessage("cmdbox.contentbox.expand_text")), 1)) : (l(), o(k, { key: 1 }, [
|
2758
2758
|
t.image ? (l(), o("img", {
|
2759
2759
|
key: 0,
|
@@ -2766,14 +2766,14 @@ function Ao(e, i, t, a, n, s) {
|
|
2766
2766
|
])) : m("", !0)
|
2767
2767
|
], 64))
|
2768
2768
|
], 2)) : m("", !0),
|
2769
|
-
(
|
2769
|
+
(T = t.useSlots) != null && T.includes("footer") ? (l(), o("div", co, [
|
2770
2770
|
R(e.$slots, "footer")
|
2771
2771
|
])) : m("", !0)
|
2772
2772
|
], 2)) : t.boxType === "product" && t.product ? (l(), o("a", {
|
2773
2773
|
key: 1,
|
2774
2774
|
class: _(["cmd-box box product", { "stretch-vertically": t.stretchVertically, "stretch-horizontally": t.stretchHorizontally, "row-view": t.rowView }]),
|
2775
2775
|
href: "#",
|
2776
|
-
onClick: i[2] || (i[2] = O((
|
2776
|
+
onClick: i[2] || (i[2] = O((S) => s.clickOnProduct(t.product), ["prevent"]))
|
2777
2777
|
}, [
|
2778
2778
|
h("div", uo, [
|
2779
2779
|
t.product.image !== void 0 ? (l(), o("figure", mo, [
|
@@ -2837,7 +2837,7 @@ function Ao(e, i, t, a, n, s) {
|
|
2837
2837
|
t.user.description ? (l(), o("p", jo, g(t.user.description), 1)) : m("", !0)
|
2838
2838
|
]),
|
2839
2839
|
h("ul", Bo, [
|
2840
|
-
(l(!0), o(k, null, F(t.user.tags, (
|
2840
|
+
(l(!0), o(k, null, F(t.user.tags, (S, B) => (l(), o("li", { key: B }, g(S), 1))), 128))
|
2841
2841
|
]),
|
2842
2842
|
t.user.links ? (l(), o("div", Po, [
|
2843
2843
|
x(r, {
|
@@ -4016,7 +4016,7 @@ const xa = ["color", "date", "datetime-local", "file", "number", "range"], Ta =
|
|
4016
4016
|
class: "search-field-wrapper flex-container no-gap"
|
4017
4017
|
}, Ja = ["id", "maxlength", "value"], Ya = ["title"], Ka = ["title"], Xa = { key: 1 };
|
4018
4018
|
function $a(e, i, t, a, n, s) {
|
4019
|
-
var r, c, f, p, b, y, I, v,
|
4019
|
+
var r, c, f, p, b, y, I, v, T, S, B, Q, w, q, D, P, G, Z, V, J, Y, ae, te, se;
|
4020
4020
|
const u = Dt, d = E;
|
4021
4021
|
return t.element === "input" || t.element === "select" || t.element === "textarea" ? (l(), o("label", {
|
4022
4022
|
key: 0,
|
@@ -4215,7 +4215,7 @@ function $a(e, i, t, a, n, s) {
|
|
4215
4215
|
key: 1,
|
4216
4216
|
class: "button"
|
4217
4217
|
}, s.buttonAttrs), [
|
4218
|
-
((y = (b = t.nativeButton) == null ? void 0 : b.icon) == null ? void 0 : y.show) && (((v = (I = t.nativeButton) == null ? void 0 : I.icon) == null ? void 0 : v.position) === "before" || !((
|
4218
|
+
((y = (b = t.nativeButton) == null ? void 0 : b.icon) == null ? void 0 : y.show) && (((v = (I = t.nativeButton) == null ? void 0 : I.icon) == null ? void 0 : v.position) === "before" || !((S = (T = t.nativeButton) == null ? void 0 : T.icon) != null && S.position)) ? (l(), C(d, {
|
4219
4219
|
key: 0,
|
4220
4220
|
iconClass: (Q = (B = t.nativeButton) == null ? void 0 : B.icon) == null ? void 0 : Q.iconClass,
|
4221
4221
|
type: (q = (w = t.nativeButton) == null ? void 0 : w.icon) == null ? void 0 : q.iconType
|
@@ -4357,7 +4357,7 @@ function gr(e, i, t, a, n, s) {
|
|
4357
4357
|
headlineLevel: t.cmdHeadlineCookieDisclaimer.headlineLevel
|
4358
4358
|
}, null, 8, ["headlineText", "headlineLevel"])) : m("", !0),
|
4359
4359
|
R(e.$slots, "cookie-options", {}, () => {
|
4360
|
-
var b, y, I, v,
|
4360
|
+
var b, y, I, v, T, S, B, Q;
|
4361
4361
|
return [
|
4362
4362
|
(b = t.cookieOptions) != null && b.required ? (l(), o("div", nr, [
|
4363
4363
|
(y = t.cmdBoxRequiredCookies) != null && y.showHeadline ? (l(), C(u, {
|
@@ -4406,8 +4406,8 @@ function gr(e, i, t, a, n, s) {
|
|
4406
4406
|
}), 128))
|
4407
4407
|
])) : m("", !0),
|
4408
4408
|
rr,
|
4409
|
-
(
|
4410
|
-
(
|
4409
|
+
(T = t.cookieOptions) != null && T.optional ? (l(), o("div", cr, [
|
4410
|
+
(S = t.cmdBoxOptionalCookies) != null && S.showHeadline ? (l(), C(u, {
|
4411
4411
|
key: 0,
|
4412
4412
|
"headline-text": (B = t.cmdBoxOptionalCookies) == null ? void 0 : B.headlineText,
|
4413
4413
|
"headline-level": (Q = t.cmdBoxOptionalCookies) == null ? void 0 : Q.headlineLevel
|
@@ -5152,8 +5152,8 @@ const uc = {
|
|
5152
5152
|
}
|
5153
5153
|
};
|
5154
5154
|
function li(e, i) {
|
5155
|
-
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), b = Math.min(u, t.getBoundingClientRect().height / r * u), y = oi(c - p / 2, 0, s - p), I = oi(f - b / 2, 0, u - b), v = -(y * (d / s)),
|
5156
|
-
n.style.left = `${y}px`, n.style.top = `${I}px`, n.style.width = `${p}px`, n.style.height = `${b}px`, n.style.display = "block", a.style.marginLeft = `${v}px`, a.style.marginTop = `${
|
5155
|
+
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), b = Math.min(u, t.getBoundingClientRect().height / r * u), y = oi(c - p / 2, 0, s - p), I = oi(f - b / 2, 0, u - b), v = -(y * (d / s)), T = -(I * (r / u));
|
5156
|
+
n.style.left = `${y}px`, n.style.top = `${I}px`, n.style.width = `${p}px`, n.style.height = `${b}px`, n.style.display = "block", a.style.marginLeft = `${v}px`, a.style.marginTop = `${T}px`;
|
5157
5157
|
}
|
5158
5158
|
function oi(e, i, t) {
|
5159
5159
|
return e < i ? i : e > t ? t : e;
|
@@ -5578,7 +5578,7 @@ const Oc = {
|
|
5578
5578
|
}
|
5579
5579
|
}, Lc = { class: "cmd-login-form flex-container" }, Dc = { class: "flex-container" }, Nc = { class: "option-wrapper flex-container" }, jc = { key: 1 }, Bc = ["href"], Pc = { key: 1 }, Ac = /* @__PURE__ */ z(" /> "), Fc = { key: 1 }, zc = ["type", "disabled"], Hc = { key: 1 }, qc = { class: "cmd-login-form flex-container" }, Rc = { class: "option-wrapper flex-container" }, Vc = { key: 1 }, Ec = ["type", "disabled"], Uc = { key: 1 };
|
5580
5580
|
function Gc(e, i, t, a, n, s) {
|
5581
|
-
var f, p, b, y, I, v,
|
5581
|
+
var f, p, b, y, I, v, T;
|
5582
5582
|
const u = W, d = _e, r = E, c = le("router-link");
|
5583
5583
|
return l(), o(k, null, [
|
5584
5584
|
ne(h("fieldset", Lc, [
|
@@ -5593,12 +5593,12 @@ function Gc(e, i, t, a, n, s) {
|
|
5593
5593
|
name: t.cmdFormElementUsername.name,
|
5594
5594
|
id: t.cmdFormElementUsername.id,
|
5595
5595
|
modelValue: s.username,
|
5596
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
5596
|
+
"onUpdate:modelValue": i[0] || (i[0] = (S) => s.username = S),
|
5597
5597
|
fieldIconClass: t.cmdFormElementUsername.innerIconClass,
|
5598
5598
|
labelText: t.cmdFormElementUsername.labelText,
|
5599
5599
|
placeholder: t.cmdFormElementUsername.placeholder,
|
5600
5600
|
required: t.cmdFormElementUsername.required,
|
5601
|
-
onValidationStatusChange: i[1] || (i[1] = (
|
5601
|
+
onValidationStatusChange: i[1] || (i[1] = (S) => s.checkValidationStatus(S, "username"))
|
5602
5602
|
}, null, 8, ["name", "id", "modelValue", "fieldIconClass", "labelText", "placeholder", "required"]),
|
5603
5603
|
x(d, {
|
5604
5604
|
element: "input",
|
@@ -5607,11 +5607,11 @@ function Gc(e, i, t, a, n, s) {
|
|
5607
5607
|
id: t.cmdFormElementPassword.id,
|
5608
5608
|
fieldIconClass: t.cmdFormElementPassword.innerIconClass,
|
5609
5609
|
modelValue: s.password,
|
5610
|
-
"onUpdate:modelValue": i[2] || (i[2] = (
|
5610
|
+
"onUpdate:modelValue": i[2] || (i[2] = (S) => s.password = S),
|
5611
5611
|
labelText: t.cmdFormElementPassword.labelText,
|
5612
5612
|
placeholder: t.cmdFormElementPassword.placeholder,
|
5613
5613
|
required: t.cmdFormElementPassword.required,
|
5614
|
-
onValidationStatusChange: i[3] || (i[3] = (
|
5614
|
+
onValidationStatusChange: i[3] || (i[3] = (S) => s.checkValidationStatus(S, "password"))
|
5615
5615
|
}, null, 8, ["name", "id", "fieldIconClass", "modelValue", "labelText", "placeholder", "required"])
|
5616
5616
|
]),
|
5617
5617
|
h("div", Nc, [
|
@@ -5619,7 +5619,7 @@ function Gc(e, i, t, a, n, s) {
|
|
5619
5619
|
t.options.forgotPassword ? (l(), o("a", {
|
5620
5620
|
key: 0,
|
5621
5621
|
href: "#",
|
5622
|
-
onClick: i[4] || (i[4] = O((
|
5622
|
+
onClick: i[4] || (i[4] = O((S) => n.sendLogin = !0, ["prevent"]))
|
5623
5623
|
}, [
|
5624
5624
|
((f = t.options.forgotPassword.icon) == null ? void 0 : f.show) && ((p = t.options.forgotPassword.icon) == null ? void 0 : p.iconClass) ? (l(), C(r, {
|
5625
5625
|
key: 0,
|
@@ -5661,7 +5661,7 @@ function Gc(e, i, t, a, n, s) {
|
|
5661
5661
|
key: 1,
|
5662
5662
|
type: t.buttons.login.type === "submit" ? "submit" : "button",
|
5663
5663
|
class: _(["button", { primary: t.buttons.login.primary }]),
|
5664
|
-
onClick: i[5] || (i[5] = (...
|
5664
|
+
onClick: i[5] || (i[5] = (...S) => s.onClick && s.onClick(...S)),
|
5665
5665
|
disabled: s.buttonLoginDisabled
|
5666
5666
|
}, [
|
5667
5667
|
t.buttons.login.icon.iconClass ? (l(), C(r, {
|
@@ -5690,14 +5690,14 @@ function Gc(e, i, t, a, n, s) {
|
|
5690
5690
|
name: t.cmdFormElementSendLogin.name,
|
5691
5691
|
required: t.cmdFormElementSendLogin.required,
|
5692
5692
|
id: t.cmdFormElementSendLogin.id,
|
5693
|
-
onValidationStatusChange: i[6] || (i[6] = (
|
5693
|
+
onValidationStatusChange: i[6] || (i[6] = (S) => s.checkValidationStatus(S, "email")),
|
5694
5694
|
modelValue: n.sendLoginMail,
|
5695
|
-
"onUpdate:modelValue": i[7] || (i[7] = (
|
5695
|
+
"onUpdate:modelValue": i[7] || (i[7] = (S) => n.sendLoginMail = S)
|
5696
5696
|
}, null, 8, ["fieldIconClass", "labelText", "placeholder", "name", "required", "id", "modelValue"]),
|
5697
5697
|
h("div", Rc, [
|
5698
5698
|
h("a", {
|
5699
5699
|
href: "#",
|
5700
|
-
onClick: i[8] || (i[8] = O((
|
5700
|
+
onClick: i[8] || (i[8] = O((S) => n.sendLogin = !1, ["prevent"]))
|
5701
5701
|
}, [
|
5702
5702
|
t.options.backToLoginForm && t.options.backToLoginForm.icon && t.options.backToLoginForm.icon.show && t.options.backToLoginForm.icon.iconClass ? (l(), C(r, {
|
5703
5703
|
key: 0,
|
@@ -5716,7 +5716,7 @@ function Gc(e, i, t, a, n, s) {
|
|
5716
5716
|
(I = t.buttons.sendLogin.icon) != null && I.iconClass ? (l(), C(r, {
|
5717
5717
|
key: 0,
|
5718
5718
|
iconClass: (v = t.buttons.sendLogin.icon) == null ? void 0 : v.iconClass,
|
5719
|
-
title: (
|
5719
|
+
title: (T = t.buttons.sendLogin.icon) == null ? void 0 : T.tooltip
|
5720
5720
|
}, null, 8, ["iconClass", "title"])) : m("", !0),
|
5721
5721
|
t.buttons.sendLogin.text ? (l(), o("span", Uc, g(t.buttons.sendLogin.text), 1)) : m("", !0)
|
5722
5722
|
], 10, Ec)) : m("", !0)
|
@@ -5760,6 +5760,10 @@ const Qc = {
|
|
5760
5760
|
};
|
5761
5761
|
}
|
5762
5762
|
},
|
5763
|
+
offcanvasPosition: {
|
5764
|
+
type: String,
|
5765
|
+
default: "right"
|
5766
|
+
},
|
5763
5767
|
buttonOffcanvas: {
|
5764
5768
|
type: Object,
|
5765
5769
|
default: function() {
|
@@ -5820,7 +5824,8 @@ function lu(e, i, t, a, n, s) {
|
|
5820
5824
|
"hide-sub-navigation": !n.showSubNavigations,
|
5821
5825
|
"open-off-canvas": n.showOffcanvas,
|
5822
5826
|
"persist-on-mobile": t.persistOnMobile,
|
5823
|
-
"show-content-overlay": t.showContentOverlay
|
5827
|
+
"show-content-overlay": t.showContentOverlay,
|
5828
|
+
"off-canvas-right": t.offcanvasPosition === "right"
|
5824
5829
|
}
|
5825
5830
|
]),
|
5826
5831
|
id: "main-navigation-wrapper"
|
@@ -5942,13 +5947,13 @@ function lu(e, i, t, a, n, s) {
|
|
5942
5947
|
key: 2,
|
5943
5948
|
"aria-expanded": n.openSubentry ? "true" : "false"
|
5944
5949
|
}, [
|
5945
|
-
(l(!0), o(k, null, F(y.subentries, (v,
|
5950
|
+
(l(!0), o(k, null, F(y.subentries, (v, T) => (l(), o("li", { key: T }, [
|
5946
5951
|
r.type === "href" ? (l(), o("a", {
|
5947
5952
|
key: 0,
|
5948
5953
|
href: v.path,
|
5949
5954
|
title: v.tooltip,
|
5950
5955
|
target: v.target,
|
5951
|
-
onClick: (
|
5956
|
+
onClick: (S) => s.executeLink(S, v)
|
5952
5957
|
}, [
|
5953
5958
|
v.iconClass ? (l(), C(u, {
|
5954
5959
|
key: 0,
|
@@ -6617,10 +6622,10 @@ const Yu = {
|
|
6617
6622
|
class: "top-header"
|
6618
6623
|
};
|
6619
6624
|
function Xu(e, i, t, a, n, s) {
|
6620
|
-
var r, c, f, p, b, y, I, v;
|
6625
|
+
var r, c, f, p, b, y, I, v, T;
|
6621
6626
|
const u = la, d = ou;
|
6622
6627
|
return l(), o("div", {
|
6623
|
-
class: _(["cmd-site-header", { sticky: t.sticky, "navigation-inline": t.navigationInline }]),
|
6628
|
+
class: _(["cmd-site-header", { sticky: t.sticky, "navigation-inline": t.navigationInline, "off-canvas-right": ((r = t.cmdMainNavigation) == null ? void 0 : r.offcanvasPosition) === "right" }]),
|
6624
6629
|
role: "banner"
|
6625
6630
|
}, [
|
6626
6631
|
e.$slots.topheader ? (l(), o("div", Ku, [
|
@@ -6629,7 +6634,7 @@ function Xu(e, i, t, a, n, s) {
|
|
6629
6634
|
h("header", {
|
6630
6635
|
class: _([
|
6631
6636
|
t.useGrid ? "grid-container-create-columns" : "flex-container",
|
6632
|
-
{ "has-navigation": ((
|
6637
|
+
{ "has-navigation": ((f = (c = t.cmdMainNavigation) == null ? void 0 : c.navigationEntries) == null ? void 0 : f.length) && t.navigationInline || e.$slots.navigation }
|
6633
6638
|
])
|
6634
6639
|
}, [
|
6635
6640
|
e.$slots.logo || e.$slots.header || e.$slots.navigation ? (l(), o(k, { key: 0 }, [
|
@@ -6637,12 +6642,15 @@ function Xu(e, i, t, a, n, s) {
|
|
6637
6642
|
R(e.$slots, "header"),
|
6638
6643
|
R(e.$slots, "navigation")
|
6639
6644
|
], 64)) : m("", !0),
|
6640
|
-
t.cmdCompanyLogo || ((
|
6645
|
+
t.cmdCompanyLogo || ((b = (p = t.cmdMainNavigation) == null ? void 0 : p.navigationEntries) == null ? void 0 : b.length) ? (l(), o(k, { key: 1 }, [
|
6641
6646
|
t.cmdCompanyLogo ? (l(), C(u, K(H({ key: 0 }, t.cmdCompanyLogo)), null, 16)) : m("", !0),
|
6642
|
-
((
|
6647
|
+
((I = (y = t.cmdMainNavigation) == null ? void 0 : y.navigationEntries) == null ? void 0 : I.length) && t.navigationInline ? (l(), C(d, H({
|
6648
|
+
key: 1,
|
6649
|
+
closeOffcanvas: t.closeOffcanvas
|
6650
|
+
}, t.cmdMainNavigation), null, 16, ["closeOffcanvas"])) : m("", !0)
|
6643
6651
|
], 64)) : m("", !0)
|
6644
6652
|
], 2),
|
6645
|
-
((
|
6653
|
+
((T = (v = t.cmdMainNavigation) == null ? void 0 : v.navigationEntries) == null ? void 0 : T.length) && !t.navigationInline ? (l(), C(d, {
|
6646
6654
|
key: 1,
|
6647
6655
|
navigationEntries: t.cmdMainNavigation.navigationEntries,
|
6648
6656
|
closeOffcanvas: t.closeOffcanvas
|
@@ -6882,7 +6890,7 @@ const ed = {
|
|
6882
6890
|
"aria-expanded": "true"
|
6883
6891
|
};
|
6884
6892
|
function ad(e, i, t, a, n, s) {
|
6885
|
-
var p, b, y, I, v,
|
6893
|
+
var p, b, y, I, v, T, S, B, Q, w;
|
6886
6894
|
const u = W, d = _e, r = E, c = Er, f = ec;
|
6887
6895
|
return l(), o(k, null, [
|
6888
6896
|
h("fieldset", td, [
|
@@ -6942,7 +6950,7 @@ function ad(e, i, t, a, n, s) {
|
|
6942
6950
|
}, [
|
6943
6951
|
x(r, {
|
6944
6952
|
iconClass: n.showFilters ? (y = (b = t.cmdIcon) == null ? void 0 : b.showFilters) == null ? void 0 : y.iconClass : (v = (I = t.cmdIcon) == null ? void 0 : I.hideFilters) == null ? void 0 : v.iconClass,
|
6945
|
-
type: n.showFilters ? (
|
6953
|
+
type: n.showFilters ? (S = (T = t.cmdIcon) == null ? void 0 : T.showFilters) == null ? void 0 : S.iconType : (Q = (B = t.cmdIcon) == null ? void 0 : B.hideFilters) == null ? void 0 : Q.iconType
|
6946
6954
|
}, null, 8, ["iconClass", "type"]),
|
6947
6955
|
n.showFilters ? (l(), o("span", sd, g(e.getMessage("cmdsitesearch.hide_filter_options")), 1)) : (l(), o("span", ld, g(e.getMessage("cmdsitesearch.show_filter_options")), 1))
|
6948
6956
|
]),
|
@@ -7080,7 +7088,7 @@ function hd(e, i, t, a, n, s) {
|
|
7080
7088
|
}, null, 8, ["onClick"]),
|
7081
7089
|
x(bt, { name: "fade" }, {
|
7082
7090
|
default: A(() => {
|
7083
|
-
var r, c, f, p, b, y, I, v,
|
7091
|
+
var r, c, f, p, b, y, I, v, T, S;
|
7084
7092
|
return [
|
7085
7093
|
s.currentItem ? (l(), o(k, { key: 0 }, [
|
7086
7094
|
t.useSlot ? (l(), o("div", {
|
@@ -7100,8 +7108,8 @@ function hd(e, i, t, a, n, s) {
|
|
7100
7108
|
figcaption: (v = s.currentItem) == null ? void 0 : v.figcaption
|
7101
7109
|
}, null, 8, ["image", "figcaption"])
|
7102
7110
|
], 8, cd)) : (l(), C(d, {
|
7103
|
-
image: (
|
7104
|
-
figcaption: (
|
7111
|
+
image: (T = s.currentItem) == null ? void 0 : T.image,
|
7112
|
+
figcaption: (S = s.currentItem) == null ? void 0 : S.figcaption,
|
7105
7113
|
key: n.index
|
7106
7114
|
}, null, 8, ["image", "figcaption"]))
|
7107
7115
|
], 64))
|
@@ -8186,21 +8194,21 @@ function _i() {
|
|
8186
8194
|
var e = ee, i = Tm(), t = Sm(), a = $i, n = Lm(), s = Dm(), u = Nm(), d = tn(), r = Re(), c = qe();
|
8187
8195
|
return it = function(p) {
|
8188
8196
|
return new Promise(function(y, I) {
|
8189
|
-
var v = p.data,
|
8197
|
+
var v = p.data, T = p.headers, S = p.responseType, B;
|
8190
8198
|
function Q() {
|
8191
8199
|
p.cancelToken && p.cancelToken.unsubscribe(B), p.signal && p.signal.removeEventListener("abort", B);
|
8192
8200
|
}
|
8193
|
-
e.isFormData(v) && delete
|
8201
|
+
e.isFormData(v) && delete T["Content-Type"];
|
8194
8202
|
var w = new XMLHttpRequest();
|
8195
8203
|
if (p.auth) {
|
8196
8204
|
var q = p.auth.username || "", D = p.auth.password ? unescape(encodeURIComponent(p.auth.password)) : "";
|
8197
|
-
|
8205
|
+
T.Authorization = "Basic " + btoa(q + ":" + D);
|
8198
8206
|
}
|
8199
8207
|
var P = n(p.baseURL, p.url);
|
8200
8208
|
w.open(p.method.toUpperCase(), a(P, p.params, p.paramsSerializer), !0), w.timeout = p.timeout;
|
8201
8209
|
function G() {
|
8202
8210
|
if (!!w) {
|
8203
|
-
var V = "getAllResponseHeaders" in w ? s(w.getAllResponseHeaders()) : null, J = !
|
8211
|
+
var V = "getAllResponseHeaders" in w ? s(w.getAllResponseHeaders()) : null, J = !S || S === "text" || S === "json" ? w.responseText : w.response, Y = {
|
8204
8212
|
data: J,
|
8205
8213
|
status: w.status,
|
8206
8214
|
statusText: w.statusText,
|
@@ -8231,11 +8239,11 @@ function _i() {
|
|
8231
8239
|
)), w = null;
|
8232
8240
|
}, e.isStandardBrowserEnv()) {
|
8233
8241
|
var Z = (p.withCredentials || u(P)) && p.xsrfCookieName ? t.read(p.xsrfCookieName) : void 0;
|
8234
|
-
Z && (
|
8242
|
+
Z && (T[p.xsrfHeaderName] = Z);
|
8235
8243
|
}
|
8236
|
-
"setRequestHeader" in w && e.forEach(
|
8237
|
-
typeof v > "u" && Y.toLowerCase() === "content-type" ? delete
|
8238
|
-
}), e.isUndefined(p.withCredentials) || (w.withCredentials = !!p.withCredentials),
|
8244
|
+
"setRequestHeader" in w && e.forEach(T, function(J, Y) {
|
8245
|
+
typeof v > "u" && Y.toLowerCase() === "content-type" ? delete T[Y] : w.setRequestHeader(Y, J);
|
8246
|
+
}), e.isUndefined(p.withCredentials) || (w.withCredentials = !!p.withCredentials), S && S !== "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(V) {
|
8239
8247
|
!w || (I(!V || V && V.type ? new c("canceled") : V), w.abort(), w = null);
|
8240
8248
|
}, p.cancelToken && p.cancelToken.subscribe(B), p.signal && (p.signal.aborted ? B() : p.signal.addEventListener("abort", B))), v || (v = null), w.send(v);
|
8241
8249
|
});
|