@everymatrix/general-navigation-bar 1.54.8 → 1.54.10
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/components/{GeneralNavigationBar-DAlYwVZb.js → GeneralNavigationBar-CcXiKgmp.js} +94 -94
- package/components/{GeneralNavigationBar-Bak0imLP.cjs → GeneralNavigationBar-DaKb_C9m.cjs} +3 -3
- package/components/{GeneralNavigationBar-CZ7kFDZM.js → GeneralNavigationBar-dxdm7ns-.js} +97 -97
- package/es2015/general-navigation-bar.cjs +1 -1
- package/es2015/general-navigation-bar.js +1 -1
- package/esnext/general-navigation-bar.js +1 -1
- package/package.json +2 -2
|
@@ -10,7 +10,7 @@ function Zr(e, t) {
|
|
|
10
10
|
function Kt(e) {
|
|
11
11
|
return e();
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function bt() {
|
|
14
14
|
return /* @__PURE__ */ Object.create(null);
|
|
15
15
|
}
|
|
16
16
|
function ae(e) {
|
|
@@ -122,14 +122,14 @@ function I(e) {
|
|
|
122
122
|
function H(e) {
|
|
123
123
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function ve(e) {
|
|
126
126
|
return document.createTextNode(e);
|
|
127
127
|
}
|
|
128
128
|
function G() {
|
|
129
|
-
return
|
|
129
|
+
return ve(" ");
|
|
130
130
|
}
|
|
131
131
|
function on() {
|
|
132
|
-
return
|
|
132
|
+
return ve("");
|
|
133
133
|
}
|
|
134
134
|
function He(e, t, r, n) {
|
|
135
135
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
@@ -252,7 +252,7 @@ function pn(e, t) {
|
|
|
252
252
|
function gn(e, t) {
|
|
253
253
|
e.$$.dirty[0] === -1 && (q.push(e), cn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
254
254
|
}
|
|
255
|
-
function
|
|
255
|
+
function vn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
256
256
|
const l = de;
|
|
257
257
|
fe(e);
|
|
258
258
|
const u = e.$$ = {
|
|
@@ -262,7 +262,7 @@ function bn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
262
262
|
props: o,
|
|
263
263
|
update: R,
|
|
264
264
|
not_equal: i,
|
|
265
|
-
bound:
|
|
265
|
+
bound: bt(),
|
|
266
266
|
// lifecycle
|
|
267
267
|
on_mount: [],
|
|
268
268
|
on_destroy: [],
|
|
@@ -271,7 +271,7 @@ function bn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
271
271
|
after_update: [],
|
|
272
272
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
273
273
|
// everything else
|
|
274
|
-
callbacks:
|
|
274
|
+
callbacks: bt(),
|
|
275
275
|
dirty: s,
|
|
276
276
|
skip_bound: !1,
|
|
277
277
|
root: t.target || l.$$.root
|
|
@@ -438,7 +438,7 @@ function Ne(e, t, r, n) {
|
|
|
438
438
|
return t;
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
|
-
function
|
|
441
|
+
function bn(e, t, r, n, i, o) {
|
|
442
442
|
let a = class extends ar {
|
|
443
443
|
constructor() {
|
|
444
444
|
super(e, r, i), this.$$p_d = t;
|
|
@@ -618,8 +618,8 @@ var Me = function() {
|
|
|
618
618
|
var u = l.value;
|
|
619
619
|
u.remove(this);
|
|
620
620
|
}
|
|
621
|
-
} catch (
|
|
622
|
-
t = { error:
|
|
621
|
+
} catch (v) {
|
|
622
|
+
t = { error: v };
|
|
623
623
|
} finally {
|
|
624
624
|
try {
|
|
625
625
|
l && !l.done && (r = s.return) && r.call(s);
|
|
@@ -633,8 +633,8 @@ var Me = function() {
|
|
|
633
633
|
if (D(h))
|
|
634
634
|
try {
|
|
635
635
|
h();
|
|
636
|
-
} catch (
|
|
637
|
-
o =
|
|
636
|
+
} catch (v) {
|
|
637
|
+
o = v instanceof $e ? v.errors : [v];
|
|
638
638
|
}
|
|
639
639
|
var d = this._finalizers;
|
|
640
640
|
if (d) {
|
|
@@ -644,12 +644,12 @@ var Me = function() {
|
|
|
644
644
|
var g = p.value;
|
|
645
645
|
try {
|
|
646
646
|
_t(g);
|
|
647
|
-
} catch (
|
|
648
|
-
o = o ?? [],
|
|
647
|
+
} catch (v) {
|
|
648
|
+
o = o ?? [], v instanceof $e ? o = ee(ee([], qe(o)), qe(v.errors)) : o.push(v);
|
|
649
649
|
}
|
|
650
650
|
}
|
|
651
|
-
} catch (
|
|
652
|
-
n = { error:
|
|
651
|
+
} catch (v) {
|
|
652
|
+
n = { error: v };
|
|
653
653
|
} finally {
|
|
654
654
|
try {
|
|
655
655
|
p && !p.done && (i = f.return) && i.call(f);
|
|
@@ -1073,13 +1073,13 @@ function se(e, t, r) {
|
|
|
1073
1073
|
const g = t(n ? u[0] : u, a, s);
|
|
1074
1074
|
o ? a(g) : d = ut(g) ? g : R;
|
|
1075
1075
|
}, p = i.map(
|
|
1076
|
-
(g,
|
|
1076
|
+
(g, v) => tr(
|
|
1077
1077
|
g,
|
|
1078
1078
|
(B) => {
|
|
1079
|
-
u[
|
|
1079
|
+
u[v] = B, h &= ~(1 << v), l && f();
|
|
1080
1080
|
},
|
|
1081
1081
|
() => {
|
|
1082
|
-
h |= 1 <<
|
|
1082
|
+
h |= 1 << v;
|
|
1083
1083
|
}
|
|
1084
1084
|
)
|
|
1085
1085
|
);
|
|
@@ -1231,10 +1231,10 @@ function ai(e) {
|
|
|
1231
1231
|
function gr(e) {
|
|
1232
1232
|
return e.type === S.number;
|
|
1233
1233
|
}
|
|
1234
|
-
function
|
|
1234
|
+
function vr(e) {
|
|
1235
1235
|
return e.type === S.date;
|
|
1236
1236
|
}
|
|
1237
|
-
function
|
|
1237
|
+
function br(e) {
|
|
1238
1238
|
return e.type === S.time;
|
|
1239
1239
|
}
|
|
1240
1240
|
function yr(e) {
|
|
@@ -2979,7 +2979,7 @@ function gi(e, t) {
|
|
|
2979
2979
|
if (i === "j") {
|
|
2980
2980
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2981
2981
|
o++, n++;
|
|
2982
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
2982
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = vi(t);
|
|
2983
2983
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
2984
2984
|
r += l;
|
|
2985
2985
|
for (; a-- > 0; )
|
|
@@ -2988,7 +2988,7 @@ function gi(e, t) {
|
|
|
2988
2988
|
}
|
|
2989
2989
|
return r;
|
|
2990
2990
|
}
|
|
2991
|
-
function
|
|
2991
|
+
function vi(e) {
|
|
2992
2992
|
var t = e.hourCycle;
|
|
2993
2993
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2994
2994
|
e.hourCycles && // @ts-ignore
|
|
@@ -3010,7 +3010,7 @@ function bi(e) {
|
|
|
3010
3010
|
var i = we[n || ""] || we[r || ""] || we["".concat(r, "-001")] || we["001"];
|
|
3011
3011
|
return i[0];
|
|
3012
3012
|
}
|
|
3013
|
-
var We,
|
|
3013
|
+
var We, bi = new RegExp("^".concat(Er.source, "*")), yi = new RegExp("".concat(Er.source, "*$"));
|
|
3014
3014
|
function w(e, t) {
|
|
3015
3015
|
return { start: e, end: t };
|
|
3016
3016
|
}
|
|
@@ -3079,7 +3079,7 @@ var Mt = _i ? (
|
|
|
3079
3079
|
) : (
|
|
3080
3080
|
// Ponyfill
|
|
3081
3081
|
function(t) {
|
|
3082
|
-
return t.replace(
|
|
3082
|
+
return t.replace(bi, "");
|
|
3083
3083
|
}
|
|
3084
3084
|
), Pi = Si ? (
|
|
3085
3085
|
// Native
|
|
@@ -3321,18 +3321,18 @@ var Hi = (
|
|
|
3321
3321
|
var g = this.tryParseArgumentClose(i);
|
|
3322
3322
|
if (g.err)
|
|
3323
3323
|
return g;
|
|
3324
|
-
var
|
|
3324
|
+
var v = w(i, this.clonePosition());
|
|
3325
3325
|
if (u && Mt(u?.style, "::", 0)) {
|
|
3326
3326
|
var B = Ti(u.style.slice(2));
|
|
3327
3327
|
if (s === "number") {
|
|
3328
3328
|
var d = this.parseNumberSkeletonFromString(B, u.styleLocation);
|
|
3329
3329
|
return d.err ? d : {
|
|
3330
|
-
val: { type: S.number, value: n, location:
|
|
3330
|
+
val: { type: S.number, value: n, location: v, style: d.val },
|
|
3331
3331
|
err: null
|
|
3332
3332
|
};
|
|
3333
3333
|
} else {
|
|
3334
3334
|
if (B.length === 0)
|
|
3335
|
-
return this.error(_.EXPECT_DATE_TIME_SKELETON,
|
|
3335
|
+
return this.error(_.EXPECT_DATE_TIME_SKELETON, v);
|
|
3336
3336
|
var N = B;
|
|
3337
3337
|
this.locale && (N = gi(B, this.locale));
|
|
3338
3338
|
var f = {
|
|
@@ -3340,9 +3340,9 @@ var Hi = (
|
|
|
3340
3340
|
pattern: N,
|
|
3341
3341
|
location: u.styleLocation,
|
|
3342
3342
|
parsedOptions: this.shouldParseSkeletons ? ui(N) : {}
|
|
3343
|
-
},
|
|
3343
|
+
}, b = s === "date" ? S.date : S.time;
|
|
3344
3344
|
return {
|
|
3345
|
-
val: { type:
|
|
3345
|
+
val: { type: b, value: n, location: v, style: f },
|
|
3346
3346
|
err: null
|
|
3347
3347
|
};
|
|
3348
3348
|
}
|
|
@@ -3351,7 +3351,7 @@ var Hi = (
|
|
|
3351
3351
|
val: {
|
|
3352
3352
|
type: s === "number" ? S.number : s === "date" ? S.date : S.time,
|
|
3353
3353
|
value: n,
|
|
3354
|
-
location:
|
|
3354
|
+
location: v,
|
|
3355
3355
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
3356
3356
|
},
|
|
3357
3357
|
err: null
|
|
@@ -3478,9 +3478,9 @@ var Hi = (
|
|
|
3478
3478
|
var g = this.parseMessage(t + 1, r, n);
|
|
3479
3479
|
if (g.err)
|
|
3480
3480
|
return g;
|
|
3481
|
-
var
|
|
3482
|
-
if (
|
|
3483
|
-
return
|
|
3481
|
+
var v = this.tryParseArgumentClose(p);
|
|
3482
|
+
if (v.err)
|
|
3483
|
+
return v;
|
|
3484
3484
|
s.push([
|
|
3485
3485
|
u,
|
|
3486
3486
|
{
|
|
@@ -3587,7 +3587,7 @@ function at(e) {
|
|
|
3587
3587
|
if (delete t.location, yr(t) || _r(t))
|
|
3588
3588
|
for (var r in t.options)
|
|
3589
3589
|
delete t.options[r].location, at(t.options[r].value);
|
|
3590
|
-
else gr(t) && wr(t.style) || (
|
|
3590
|
+
else gr(t) && wr(t.style) || (vr(t) || br(t)) && tt(t.style) ? delete t.style.location : xr(t) && at(t.children);
|
|
3591
3591
|
});
|
|
3592
3592
|
}
|
|
3593
3593
|
function Ci(e, t) {
|
|
@@ -3690,7 +3690,7 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3690
3690
|
});
|
|
3691
3691
|
continue;
|
|
3692
3692
|
}
|
|
3693
|
-
if (
|
|
3693
|
+
if (vr(h)) {
|
|
3694
3694
|
var p = typeof h.style == "string" ? n.date[h.style] : tt(h.style) ? h.style.parsedOptions : void 0;
|
|
3695
3695
|
s.push({
|
|
3696
3696
|
type: M.literal,
|
|
@@ -3698,7 +3698,7 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3698
3698
|
});
|
|
3699
3699
|
continue;
|
|
3700
3700
|
}
|
|
3701
|
-
if (
|
|
3701
|
+
if (br(h)) {
|
|
3702
3702
|
var p = typeof h.style == "string" ? n.time[h.style] : tt(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3703
3703
|
s.push({
|
|
3704
3704
|
type: M.literal,
|
|
@@ -3715,13 +3715,13 @@ function Ie(e, t, r, n, i, o, a) {
|
|
|
3715
3715
|
continue;
|
|
3716
3716
|
}
|
|
3717
3717
|
if (xr(h)) {
|
|
3718
|
-
var g = h.children,
|
|
3718
|
+
var g = h.children, v = h.value, B = i[v];
|
|
3719
3719
|
if (!Di(B))
|
|
3720
|
-
throw new Fi(
|
|
3721
|
-
var N = Ie(g, t, r, n, i, o),
|
|
3720
|
+
throw new Fi(v, "function", a);
|
|
3721
|
+
var N = Ie(g, t, r, n, i, o), b = B(N.map(function(C) {
|
|
3722
3722
|
return C.value;
|
|
3723
3723
|
}));
|
|
3724
|
-
Array.isArray(
|
|
3724
|
+
Array.isArray(b) || (b = [b]), s.push.apply(s, b.map(function(C) {
|
|
3725
3725
|
return {
|
|
3726
3726
|
type: typeof C == "string" ? M.literal : M.object,
|
|
3727
3727
|
value: C
|
|
@@ -3955,7 +3955,7 @@ const V = {}, Vi = (e, t, r) => r && (t in V || (V[t] = {}), e in V[t] || (V[t][
|
|
|
3955
3955
|
}
|
|
3956
3956
|
};
|
|
3957
3957
|
let ct;
|
|
3958
|
-
const
|
|
3958
|
+
const be = Oe({});
|
|
3959
3959
|
function Xi(e) {
|
|
3960
3960
|
return ct[e] || null;
|
|
3961
3961
|
}
|
|
@@ -3979,13 +3979,13 @@ function Zi(e) {
|
|
|
3979
3979
|
}
|
|
3980
3980
|
}
|
|
3981
3981
|
function Mr(e, ...t) {
|
|
3982
|
-
delete V[e],
|
|
3982
|
+
delete V[e], be.update((r) => (r[e] = qn.all([r[e] || {}, ...t]), r));
|
|
3983
3983
|
}
|
|
3984
3984
|
se(
|
|
3985
|
-
[
|
|
3985
|
+
[be],
|
|
3986
3986
|
([e]) => Object.keys(e)
|
|
3987
3987
|
);
|
|
3988
|
-
|
|
3988
|
+
be.subscribe((e) => ct = e);
|
|
3989
3989
|
const Ae = {};
|
|
3990
3990
|
function Qi(e, t) {
|
|
3991
3991
|
Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
|
|
@@ -4179,12 +4179,12 @@ const ge = (e, t) => {
|
|
|
4179
4179
|
"locale"
|
|
4180
4180
|
]);
|
|
4181
4181
|
return fo(ft({ locale: r }, n));
|
|
4182
|
-
},
|
|
4182
|
+
}, vo = Fe(
|
|
4183
4183
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4184
4184
|
(e, t = Z()) => new ji(e, t, oe().formats, {
|
|
4185
4185
|
ignoreTag: oe().ignoreTag
|
|
4186
4186
|
})
|
|
4187
|
-
),
|
|
4187
|
+
), bo = (e, t = {}) => {
|
|
4188
4188
|
var r, n, i, o;
|
|
4189
4189
|
let a = t;
|
|
4190
4190
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4208,7 +4208,7 @@ const ge = (e, t) => {
|
|
|
4208
4208
|
return h;
|
|
4209
4209
|
let d = h;
|
|
4210
4210
|
try {
|
|
4211
|
-
d =
|
|
4211
|
+
d = vo(h, l).format(s);
|
|
4212
4212
|
} catch (f) {
|
|
4213
4213
|
f instanceof Error && console.warn(
|
|
4214
4214
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4216,11 +4216,11 @@ const ge = (e, t) => {
|
|
|
4216
4216
|
);
|
|
4217
4217
|
}
|
|
4218
4218
|
return d;
|
|
4219
|
-
}, yo = (e, t) => go(t).format(e), _o = (e, t) => po(t).format(e), xo = (e, t) => mo(t).format(e), wo = (e, t = Z()) => Pr(e, t), Eo = se([le,
|
|
4219
|
+
}, yo = (e, t) => go(t).format(e), _o = (e, t) => po(t).format(e), xo = (e, t) => mo(t).format(e), wo = (e, t = Z()) => Pr(e, t), Eo = se([le, be], () => bo);
|
|
4220
4220
|
se([le], () => yo);
|
|
4221
4221
|
se([le], () => _o);
|
|
4222
4222
|
se([le], () => xo);
|
|
4223
|
-
se([le,
|
|
4223
|
+
se([le, be], () => wo);
|
|
4224
4224
|
window.emWidgets = { topic: Cn };
|
|
4225
4225
|
const Gt = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4226
4226
|
function $t(e, t) {
|
|
@@ -4316,8 +4316,8 @@ function Xt(e) {
|
|
|
4316
4316
|
);
|
|
4317
4317
|
let g;
|
|
4318
4318
|
for (g = 0; g < u.length; g += 1) {
|
|
4319
|
-
const
|
|
4320
|
-
h[g] ? h[g].p(
|
|
4319
|
+
const v = jt(f, u, g);
|
|
4320
|
+
h[g] ? h[g].p(v, p) : (h[g] = Jt(v), h[g].c(), h[g].m(n, i));
|
|
4321
4321
|
}
|
|
4322
4322
|
for (; g < h.length; g += 1)
|
|
4323
4323
|
h[g].d(1);
|
|
@@ -4358,23 +4358,23 @@ function zt(e) {
|
|
|
4358
4358
|
/*$$scope*/
|
|
4359
4359
|
e[25],
|
|
4360
4360
|
Vt
|
|
4361
|
-
),
|
|
4361
|
+
), v = g || Ao();
|
|
4362
4362
|
let B = Be(
|
|
4363
4363
|
/*secondaryMenu*/
|
|
4364
4364
|
e[8]
|
|
4365
4365
|
), N = [];
|
|
4366
|
-
for (let
|
|
4367
|
-
N[
|
|
4366
|
+
for (let b = 0; b < B.length; b += 1)
|
|
4367
|
+
N[b] = Qt(Wt(e, B, b));
|
|
4368
4368
|
return {
|
|
4369
4369
|
c() {
|
|
4370
|
-
t = I("div"), r = I("span"),
|
|
4371
|
-
for (let
|
|
4372
|
-
N[
|
|
4370
|
+
t = I("div"), r = I("span"), v && v.c(), n = G(), i = I("h3"), a = ve(o), s = G(), l = I("div");
|
|
4371
|
+
for (let b = 0; b < N.length; b += 1)
|
|
4372
|
+
N[b].c();
|
|
4373
4373
|
c(r, "class", "ModalCloseBtn"), c(r, "part", "ModalCloseBtn"), c(r, "role", "button"), c(i, "class", "NavigationWindowTitle"), c(l, "class", "NavigationSecondaryWrapper"), c(t, "class", u = "NavigationWindow " + /*navigationWindowOpened*/
|
|
4374
4374
|
(e[4] ? "NavigationWindowOpened" : ""));
|
|
4375
4375
|
},
|
|
4376
|
-
m(
|
|
4377
|
-
L(
|
|
4376
|
+
m(b, A) {
|
|
4377
|
+
L(b, t, A), y(t, r), v && v.m(r, null), y(t, n), y(t, i), y(i, a), y(t, s), y(t, l);
|
|
4378
4378
|
for (let x = 0; x < N.length; x += 1)
|
|
4379
4379
|
N[x] && N[x].m(l, null);
|
|
4380
4380
|
h = !0, d || (f = He(
|
|
@@ -4384,37 +4384,37 @@ function zt(e) {
|
|
|
4384
4384
|
e[14]
|
|
4385
4385
|
), d = !0);
|
|
4386
4386
|
},
|
|
4387
|
-
p(
|
|
4387
|
+
p(b, A) {
|
|
4388
4388
|
if (g && g.p && (!h || A[0] & /*$$scope*/
|
|
4389
4389
|
33554432) && Kr(
|
|
4390
4390
|
g,
|
|
4391
4391
|
p,
|
|
4392
|
-
|
|
4392
|
+
b,
|
|
4393
4393
|
/*$$scope*/
|
|
4394
|
-
|
|
4394
|
+
b[25],
|
|
4395
4395
|
h ? qr(
|
|
4396
4396
|
p,
|
|
4397
4397
|
/*$$scope*/
|
|
4398
|
-
|
|
4398
|
+
b[25],
|
|
4399
4399
|
A,
|
|
4400
4400
|
Io
|
|
4401
4401
|
) : en(
|
|
4402
4402
|
/*$$scope*/
|
|
4403
|
-
|
|
4403
|
+
b[25]
|
|
4404
4404
|
),
|
|
4405
4405
|
Vt
|
|
4406
4406
|
), (!h || A[0] & /*secondarymenutitle, $_*/
|
|
4407
4407
|
4097) && o !== (o = /*secondarymenutitle*/
|
|
4408
|
-
(
|
|
4409
|
-
|
|
4408
|
+
(b[0] || /*$_*/
|
|
4409
|
+
b[12]("secondaryMenuTitle")) + "") && ht(a, o), A[0] & /*activeMenuItemId, secondaryMenu, triggerNavigation*/
|
|
4410
4410
|
33056) {
|
|
4411
4411
|
B = Be(
|
|
4412
4412
|
/*secondaryMenu*/
|
|
4413
|
-
|
|
4413
|
+
b[8]
|
|
4414
4414
|
);
|
|
4415
4415
|
let x;
|
|
4416
4416
|
for (x = 0; x < B.length; x += 1) {
|
|
4417
|
-
const C = Wt(
|
|
4417
|
+
const C = Wt(b, B, x);
|
|
4418
4418
|
N[x] ? N[x].p(C, A) : (N[x] = Qt(C), N[x].c(), N[x].m(l, null));
|
|
4419
4419
|
}
|
|
4420
4420
|
for (; x < N.length; x += 1)
|
|
@@ -4423,16 +4423,16 @@ function zt(e) {
|
|
|
4423
4423
|
}
|
|
4424
4424
|
(!h || A[0] & /*navigationWindowOpened*/
|
|
4425
4425
|
16 && u !== (u = "NavigationWindow " + /*navigationWindowOpened*/
|
|
4426
|
-
(
|
|
4426
|
+
(b[4] ? "NavigationWindowOpened" : ""))) && c(t, "class", u);
|
|
4427
4427
|
},
|
|
4428
|
-
i(
|
|
4429
|
-
h || (X(
|
|
4428
|
+
i(b) {
|
|
4429
|
+
h || (X(v, b), h = !0);
|
|
4430
4430
|
},
|
|
4431
|
-
o(
|
|
4432
|
-
me(
|
|
4431
|
+
o(b) {
|
|
4432
|
+
me(v, b), h = !1;
|
|
4433
4433
|
},
|
|
4434
|
-
d(
|
|
4435
|
-
|
|
4434
|
+
d(b) {
|
|
4435
|
+
b && O(t), v && v.d(b), nr(N, b), d = !1, f();
|
|
4436
4436
|
}
|
|
4437
4437
|
};
|
|
4438
4438
|
}
|
|
@@ -4493,7 +4493,7 @@ function Qt(e) {
|
|
|
4493
4493
|
}
|
|
4494
4494
|
return {
|
|
4495
4495
|
c() {
|
|
4496
|
-
t = I("div"), h && h.c(), r = G(), n = I("p"), o =
|
|
4496
|
+
t = I("div"), h && h.c(), r = G(), n = I("p"), o = ve(i), a = G(), c(n, "class", "NavigationSecondaryItemLabel"), c(n, "part", "NavigationSecondaryItemLabel"), c(t, "class", s = "NavigationSecondaryItemAnchor " + /*activeMenuItemId*/
|
|
4497
4497
|
(e[5] === /*item*/
|
|
4498
4498
|
e[44].id ? "ActiveItem" : ""));
|
|
4499
4499
|
},
|
|
@@ -4556,7 +4556,7 @@ function Jt(e) {
|
|
|
4556
4556
|
}
|
|
4557
4557
|
return {
|
|
4558
4558
|
c() {
|
|
4559
|
-
t = I("div"), u && u.c(), r = G(), n = I("p"), o =
|
|
4559
|
+
t = I("div"), u && u.c(), r = G(), n = I("p"), o = ve(i), c(n, "class", "NavigationPrimaryItemLabel"), c(t, "class", a = "NavigationPrimaryItemAnchor NavItem" + /*i*/
|
|
4560
4560
|
e[46] + " " + /*activeMenuItemId*/
|
|
4561
4561
|
(e[5] === /*item*/
|
|
4562
4562
|
e[44].id ? "ActiveItem" : ""));
|
|
@@ -4661,12 +4661,12 @@ function Po(e) {
|
|
|
4661
4661
|
c() {
|
|
4662
4662
|
t = H("svg"), r = H("g"), n = H("g"), i = H("rect"), o = H("rect"), a = H("g"), s = H("rect"), l = H("rect"), u = H("g"), h = H("rect"), d = H("rect"), f = H("g"), p = H("rect"), g = H("rect"), c(i, "class", "b"), c(i, "part", "b"), c(i, "width", "10"), c(i, "height", "10"), c(i, "rx", "2"), c(o, "class", "c"), c(o, "part", "c"), c(o, "x", "0.5"), c(o, "y", "0.5"), c(o, "width", "9"), c(o, "height", "9"), c(o, "rx", "1.5"), c(n, "class", "a"), c(n, "part", "a"), c(n, "transform", "translate(150 514)"), c(s, "class", "b"), c(s, "part", "b"), c(s, "width", "10"), c(s, "height", "10"), c(s, "rx", "2"), c(l, "class", "c"), c(l, "part", "c"), c(l, "x", "0.5"), c(l, "y", "0.5"), c(l, "width", "9"), c(l, "height", "9"), c(l, "rx", "1.5"), c(a, "class", "a"), c(a, "part", "a"), c(a, "transform", "translate(161 514)"), c(h, "class", "b"), c(h, "part", "b"), c(h, "width", "10"), c(h, "height", "10"), c(h, "rx", "2"), c(d, "class", "c"), c(d, "part", "c"), c(d, "x", "0.5"), c(d, "y", "0.5"), c(d, "width", "9"), c(d, "height", "9"), c(d, "rx", "1.5"), c(u, "class", "a"), c(u, "part", "a"), c(u, "transform", "translate(161 525)"), c(p, "class", "b"), c(p, "part", "b"), c(p, "width", "10"), c(p, "height", "10"), c(p, "rx", "2"), c(g, "class", "c"), c(g, "part", "c"), c(g, "x", "0.5"), c(g, "y", "0.5"), c(g, "width", "9"), c(g, "height", "9"), c(g, "rx", "1.5"), c(f, "class", "a"), c(f, "part", "a"), c(f, "transform", "translate(150 525)"), c(r, "transform", "translate(-150 -514)"), c(t, "class", "middleIcon"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(t, "width", "21"), c(t, "height", "21"), c(t, "viewBox", "0 0 21 21");
|
|
4663
4663
|
},
|
|
4664
|
-
m(
|
|
4665
|
-
L(
|
|
4664
|
+
m(v, B) {
|
|
4665
|
+
L(v, t, B), y(t, r), y(r, n), y(n, i), y(n, o), y(r, a), y(a, s), y(a, l), y(r, u), y(u, h), y(u, d), y(r, f), y(f, p), y(f, g);
|
|
4666
4666
|
},
|
|
4667
4667
|
p: R,
|
|
4668
|
-
d(
|
|
4669
|
-
|
|
4668
|
+
d(v) {
|
|
4669
|
+
v && O(t);
|
|
4670
4670
|
}
|
|
4671
4671
|
};
|
|
4672
4672
|
}
|
|
@@ -4741,7 +4741,7 @@ function Mo(e) {
|
|
|
4741
4741
|
function Oo(e, t, r) {
|
|
4742
4742
|
let n;
|
|
4743
4743
|
Yr(e, Eo, (m) => r(12, n = m));
|
|
4744
|
-
let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { clientstyling: d = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: p = "" } = t, { activecategory: g = "" } = t, { flowermenustyle:
|
|
4744
|
+
let { $$slots: i = {}, $$scope: o } = t, { cmsendpoint: a = "" } = t, { lang: s = "" } = t, { env: l = "" } = t, { secondarymenutitle: u = "" } = t, { userroles: h = "" } = t, { clientstyling: d = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: p = "" } = t, { activecategory: g = "" } = t, { flowermenustyle: v = "false" } = t, B = window.navigator.userAgent, N = Gt(B) !== "PC", b = !0, A = !1, x = !1, C = "", k = !1, Q = [], ye = [], j = [], W, dt = "", Re = {}, mt, Ue = !1;
|
|
4745
4745
|
const Rr = () => {
|
|
4746
4746
|
fetch(p).then((T) => T.json()).then((T) => {
|
|
4747
4747
|
Object.keys(T).forEach((P) => {
|
|
@@ -4768,7 +4768,7 @@ function Oo(e, t, r) {
|
|
|
4768
4768
|
break;
|
|
4769
4769
|
}
|
|
4770
4770
|
}, Ur = () => {
|
|
4771
|
-
r(11, Ue =
|
|
4771
|
+
r(11, Ue = v.toLowerCase() === "true");
|
|
4772
4772
|
}, Dr = () => {
|
|
4773
4773
|
r(4, x = !x), window.postMessage(
|
|
4774
4774
|
{
|
|
@@ -4780,14 +4780,14 @@ function Oo(e, t, r) {
|
|
|
4780
4780
|
}, Gr = (m) => {
|
|
4781
4781
|
r(7, ye = []), r(7, ye = k ? m.splice(0, 5) : m.splice(0, 4)), g && gt();
|
|
4782
4782
|
}, $r = () => {
|
|
4783
|
-
De(), r(1,
|
|
4783
|
+
De(), r(1, b = !0);
|
|
4784
4784
|
let m = Gt(B), T = new URL(`${a}/${s}/bottom-mobile-menu?env=${l}`);
|
|
4785
4785
|
T.searchParams.append("userRoles", h), m && T.searchParams.append("device", "mtWeb"), fetch(T.href).then((P) => P.json()).then((P) => {
|
|
4786
4786
|
Q = [], r(8, j = []), r(3, A = P.length > 0), P.forEach((U) => {
|
|
4787
4787
|
Re[U.label] = U.eventTrigger ? U.path : null, U.path == "/menu-item" ? (r(9, dt = U?.img), r(8, j = U.children)) : Q.push(U);
|
|
4788
|
-
}), r(6, k = j.length == 0), j.length >= 5 && Ue && r(8, j = j.splice(0, 5)), Gr(Q), r(1,
|
|
4788
|
+
}), r(6, k = j.length == 0), j.length >= 5 && Ue && r(8, j = j.splice(0, 5)), Gr(Q), r(1, b = !1);
|
|
4789
4789
|
}).catch((P) => {
|
|
4790
|
-
r(1,
|
|
4790
|
+
r(1, b = !1), console.error(P);
|
|
4791
4791
|
});
|
|
4792
4792
|
}, gt = () => {
|
|
4793
4793
|
const T = ye.concat(j).find((P) => P.path.includes(g));
|
|
@@ -4828,11 +4828,11 @@ function Oo(e, t, r) {
|
|
|
4828
4828
|
No(s);
|
|
4829
4829
|
}, De = () => {
|
|
4830
4830
|
r(10, mt = N && window.innerHeight / window.innerWidth < 1);
|
|
4831
|
-
},
|
|
4831
|
+
}, vt = () => {
|
|
4832
4832
|
x && r(4, x = !1);
|
|
4833
4833
|
};
|
|
4834
|
-
un(() => (window.addEventListener("message", pt, !1), document.addEventListener("focusin",
|
|
4835
|
-
window.removeEventListener("message", pt), document.removeEventListener("focusin",
|
|
4834
|
+
un(() => (window.addEventListener("message", pt, !1), document.addEventListener("focusin", vt), N && window.screen.orientation.addEventListener("change", De), () => {
|
|
4835
|
+
window.removeEventListener("message", pt), document.removeEventListener("focusin", vt), N && window.screen.orientation.removeEventListener("change", De);
|
|
4836
4836
|
}));
|
|
4837
4837
|
const Vr = (m) => {
|
|
4838
4838
|
m.attrs?.target ? he(m.path, m.attrs?.target, m?.externalLink, m.label) : he(m.path, null, m?.externalLink, m.label);
|
|
@@ -4845,11 +4845,11 @@ function Oo(e, t, r) {
|
|
|
4845
4845
|
});
|
|
4846
4846
|
}
|
|
4847
4847
|
return e.$$set = (m) => {
|
|
4848
|
-
"cmsendpoint" in m && r(16, a = m.cmsendpoint), "lang" in m && r(17, s = m.lang), "env" in m && r(18, l = m.env), "secondarymenutitle" in m && r(0, u = m.secondarymenutitle), "userroles" in m && r(19, h = m.userroles), "clientstyling" in m && r(20, d = m.clientstyling), "clientstylingurl" in m && r(21, f = m.clientstylingurl), "translationurl" in m && r(22, p = m.translationurl), "activecategory" in m && r(23, g = m.activecategory), "flowermenustyle" in m && r(24,
|
|
4848
|
+
"cmsendpoint" in m && r(16, a = m.cmsendpoint), "lang" in m && r(17, s = m.lang), "env" in m && r(18, l = m.env), "secondarymenutitle" in m && r(0, u = m.secondarymenutitle), "userroles" in m && r(19, h = m.userroles), "clientstyling" in m && r(20, d = m.clientstyling), "clientstylingurl" in m && r(21, f = m.clientstylingurl), "translationurl" in m && r(22, p = m.translationurl), "activecategory" in m && r(23, g = m.activecategory), "flowermenustyle" in m && r(24, v = m.flowermenustyle), "$$scope" in m && r(25, o = m.$$scope);
|
|
4849
4849
|
}, e.$$.update = () => {
|
|
4850
4850
|
e.$$.dirty[0] & /*flowermenustyle*/
|
|
4851
|
-
16777216 &&
|
|
4852
|
-
8388610 && g && !
|
|
4851
|
+
16777216 && v && Ur(), e.$$.dirty[0] & /*activecategory, isLoading*/
|
|
4852
|
+
8388610 && g && !b && gt(), e.$$.dirty[0] & /*lang*/
|
|
4853
4853
|
131072 && s && Wr(), e.$$.dirty[0] & /*cmsendpoint, lang, env, userroles*/
|
|
4854
4854
|
983040 && a && s && l && h && $r(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4855
4855
|
1048580 && d && W && kr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
@@ -4857,7 +4857,7 @@ function Oo(e, t, r) {
|
|
|
4857
4857
|
4194304 && p && Rr();
|
|
4858
4858
|
}, [
|
|
4859
4859
|
u,
|
|
4860
|
-
|
|
4860
|
+
b,
|
|
4861
4861
|
W,
|
|
4862
4862
|
A,
|
|
4863
4863
|
x,
|
|
@@ -4880,7 +4880,7 @@ function Oo(e, t, r) {
|
|
|
4880
4880
|
f,
|
|
4881
4881
|
p,
|
|
4882
4882
|
g,
|
|
4883
|
-
|
|
4883
|
+
v,
|
|
4884
4884
|
o,
|
|
4885
4885
|
i,
|
|
4886
4886
|
Vr,
|
|
@@ -4890,7 +4890,7 @@ function Oo(e, t, r) {
|
|
|
4890
4890
|
}
|
|
4891
4891
|
class Lo extends yn {
|
|
4892
4892
|
constructor(t) {
|
|
4893
|
-
super(),
|
|
4893
|
+
super(), vn(
|
|
4894
4894
|
this,
|
|
4895
4895
|
t,
|
|
4896
4896
|
Oo,
|
|
@@ -4973,7 +4973,7 @@ class Lo extends yn {
|
|
|
4973
4973
|
this.$$set({ flowermenustyle: t }), F();
|
|
4974
4974
|
}
|
|
4975
4975
|
}
|
|
4976
|
-
|
|
4976
|
+
bn(Lo, { cmsendpoint: {}, lang: {}, env: {}, secondarymenutitle: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activecategory: {}, flowermenustyle: {} }, ["close"], [], !0);
|
|
4977
4977
|
export {
|
|
4978
4978
|
Lo as G
|
|
4979
4979
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralNavigationBar-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralNavigationBar-DaKb_C9m.cjs")).then(({default:t})=>{!customElements.get("general-navigation-bar")&&customElements.define("general-navigation-bar",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/GeneralNavigationBar-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/GeneralNavigationBar-CcXiKgmp.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("general-navigation-bar") && customElements.define("general-navigation-bar", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/general-navigation-bar",
|
|
3
|
-
"version": "1.54.
|
|
3
|
+
"version": "1.54.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "esnext/general-navigation-bar.js",
|
|
6
6
|
"module": "esnext/general-navigation-bar.js",
|
|
@@ -21,4 +21,4 @@
|
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"access": "public"
|
|
23
23
|
}
|
|
24
|
-
}
|
|
24
|
+
}
|