@modelmenu/navigation 3.0.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +185 -176
- package/dist/index.umd.js +7 -7
- package/menu/MenuPlate.vue +6 -9
- package/menu/components/menu-item.vue +4 -5
- package/menu/components/sub-menu-items.vue +63 -33
- package/menu/components/top-menu-items/top-menu-item.vue +16 -15
- package/menu/components/top-menu-items/top-sub-menu-items.vue +13 -3
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".menu-plate[data-v-d3e40673]{display:flex;flex-direction:column;width:100%;height:100%;background-color:#2c2c2c;color:#fff}.horizontal-menu[data-v-d3e40673]{display:flex;gap:20px;padding:10px}.clicked[data-v-d3e40673]{background-color:#d3d3d3}.menu-item-text[data-v-d3e40673]{margin-left:8px}.show[data-v-d3e40673]{display:flex}.vertical-menu[data-v-d3e40673]{display:flex;flex-direction:column;align-items:center;gap:20px;padding:10px}.vertical-menu-opened[data-v-d3e40673]{width:200px}.menu-item[data-v-d3e40673]{margin-top:20px;width:180px;margin-left:20px;height:30px;margin:0 16px!important;padding:20px 0;cursor:pointer;display:flex;justify-content:flex-start;align-items:center}.menu-text-opened[data-v-d3e40673]{animation:openMenuText-d3e40673 .2s ease-in forwards}.menu-text-closed[data-v-d3e40673]{animation:closeMenuText-d3e40673 .2s ease-out forwards}.menu-text-closed .sub-menu-button[data-v-d3e40673]{display:none}.item-active[data-v-d3e40673]{background-color:#ececec}.sub-menu-button[data-v-d3e40673]{margin-left:8px}@keyframes openMenuText-d3e40673{0%{opacity:0}to{opacity:1}}@keyframes closeMenuText-d3e40673{0%{opacity:1}to{opacity:0}}@keyframes openMenu-d3e40673{0%{transform:rotate(0)}to{transform:rotate(180deg)}}.icon-opened[data-v-d3e40673]{animation:openMenu-d3e40673 .4s ease forwards}.active-tooltip[data-v-ea3a74d6]{position:relative;left:74px;width:240px;height:80px;border-radius:4px;border:1px solid rgba(70,70,70,.4);background-color:#fff!important;z-index:999999999}.item[data-v-ea3a74d6]{display:flex;flex-wrap:wrap;width:180px}.item-active[data-v-ea3a74d6]{background-color:#ececec}.sub-menu-button[data-v-ea3a74d6]{cursor:pointer}.sub-menu-items .menu-item[data-v-ea3a74d6]{margin-left:60px}.sub-menu-item p[data-v-ea3a74d6]{margin-left:60px;font-size:16px;padding:4px}.sub-menu-items[data-v-ea3a74d6]{display:grid;grid-template-rows:0fr;opacity:0;pointer-events:none;transition:grid-template-rows .35s ease,opacity .25s ease}.sub-menu-items.itemsOpened[data-v-ea3a74d6]{grid-template-rows:1fr;opacity:1;pointer-events:auto}.sub-menu-items.itemsClosed[data-v-ea3a74d6]{grid-template-rows:0fr;opacity:0}.sub-menu-content[data-v-ea3a74d6]{min-height:0;overflow:hidden}.top-sub-menu-items{position:absolute;top:42px;right:0;padding:8px 0;margin-top:1px;width:200px;z-index:999999999;background-color:transparent}.content{border:2px solid rgba(70,70,70,.4);border-radius:4px;padding:10px;background-color:#fff}.top-menu-item{display:flex;justify-content:space-between;column-gap:4px;cursor:pointer}.item{display:flex;flex-direction:row;width:200px;padding:3px 7px;cursor:pointer}@keyframes openMenu{0%{transform:rotate(0)}to{transform:rotate(180deg)}}@keyframes menuTooltipOpened{0%{transform:translateY(-1px)}to{transform:translateY(0)}}.tooltip-opened{animation:menuTooltipOpened .09s ease forwards}.icon-opened{animation:openMenu .02s ease forwards}.item[data-v-86faac3c]{display:flex;flex-wrap:wrap;width:180px}.horizontal-items[data-v-86faac3c]{display:flex;gap:20px;padding:10px}.top-menu-item-heading[data-v-86faac3c]{display:flex;align-items:center;cursor:pointer;column-gap:4px;border-bottom:1px solid transparent;margin:4px;box-sizing:border-box}.horizontal-top-menu-item.active[data-v-86faac3c]{border-bottom:2px solid black}.menu-hover[data-v-86faac3c]{background-color:#eee}.horizontal-top-menu[data-v-86faac3c]{width:100%;display:flex;justify-content:flex-end;align-items:center}.horizontal-top-menu-item[data-v-86faac3c]{display:flex;align-items:center;box-sizing:border-box;cursor:pointer;height:48px;border-bottom:2px solid transparent;padding:4px 12px}@keyframes openMenu-86faac3c{0%{transform:rotate(0)}to{transform:rotate(180deg)}}@keyframes closeMenu-86faac3c{0%{transform:rotate(0)}to{transform:rotate(-180deg)}}.icon-opened[data-v-86faac3c]{animation:openMenu-86faac3c .4s ease forwards}.icon-closed[data-v-86faac3c]{animation:closeMenu-86faac3c .4s ease forwards}.menu-container[data-v-7da38053]{position:relative;width:100%;height:100%}.top-sub-menu-items[data-v-7da38053]{position:absolute;top:38px;right:0;border:1px solid #424242;padding:10px;width:150px;z-index:99999}.item-active[data-v-7da38053]{background-color:#f2f2f2}.horizontal-menu-item[data-v-7da38053]{cursor:pointer}.horizontal-items[data-v-7da38053]{display:flex;gap:20px;padding:10px}.loader[data-v-7da38053]{width:100%;display:flex;position:fixed;top:40%;left:50%;height:36dvh}.loader-icon[data-v-7da38053]{width:60px;height:60px;transform-origin:center;animation:rotateLoader-7da38053 1s linear infinite}@keyframes rotateLoader-7da38053{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.tooltip-opened[data-v-7da38053]{animation:menuTooltipOpened .2s ease forwards}.loader-track[data-v-7da38053],.loader-ring[data-v-7da38053]{fill:none;stroke-width:8}.loader-track[data-v-7da38053]{stroke:#4294ff2e}.loader-ring[data-v-7da38053]{stroke:#4294ff;stroke-dasharray:110 160;stroke-dashoffset:0}.menu-text-opened[data-v-7da38053]{display:inline-block}.menu-text-closed[data-v-7da38053]{display:none}.item[data-v-7da38053]{display:flex;flex-wrap:wrap;cursor:pointer;width:180px}.menu-item p[data-v-7da38053]{margin-left:10px}.menu-item-opened[data-v-7da38053]{display:flex}.horizontal-items[data-v-7da38053]{display:flex;align-self:flex-end}.tooltip-item[data-v-7da38053]{padding:8px;cursor:pointer}.horizontal-menu[data-v-7da38053]{position:absolute;border-bottom:2px solid rgba(70,70,70,.4);top:0;left:0;width:100%;height:50px;display:flex;align-items:center;justify-content:space-between}.vertical-menu[data-v-7da38053]{position:absolute;top:50px;overflow-x:hidden;left:0;z-index:200;width:70px;animation:closeMenu-7da38053 .4s ease-out forwards;height:100dvh;background-color:#fff;border-right:2px solid rgba(70,70,70,.4)}.menu-item[data-v-7da38053]{width:180px;margin:10px auto 10px 20px;height:30px;cursor:pointer;display:flex;justify-content:flex-start;align-items:center}@keyframes openMenu-7da38053{0%{width:70px}to{width:200px}}@keyframes closeMenu-7da38053{0%{width:200px}to{width:70px}}.vertical-menu.vertical-menu-opened[data-v-7da38053]{width:200px;animation:openMenu-7da38053 .4s ease-in forwards}.menu-button[data-v-7da38053]{width:74px;height:50px;display:flex;justify-content:center;cursor:pointer;align-items:center;border-right:2px solid rgba(70,70,70,.4)}.menu-icon[data-v-7da38053]{width:30px;height:30px;display:flex;justify-content:center;align-items:center;border-radius:4px}.menu-icon svg[data-v-7da38053]{font-size:18px}.menu-icon[data-v-7da38053]:hover{cursor:pointer;background-color:#8585851a}@keyframes flipAnimation-7da38053{0%{transform:rotate(0)}to{transform:rotate(180deg)}}@keyframes rotateAnimation-7da38053{0%{transform:rotate(0)}to{transform:rotate(90deg)}}@keyframes hoverAnimation-7da38053{0%{transform:scale(1)}to{transform:scale(1.2)}}.menu-icon.opened.flip svg[data-v-7da38053]{transform:rotate(180deg)}.menu-icon.opened.rotate svg[data-v-7da38053]{animation:rotateAnimation-7da38053 .4s forwards}.menu-icon.opened.hover svg[data-v-7da38053]{animation:hoverAnimation-7da38053 .4s forwards}.none[data-v-7da38053]{transform:none}.horizontal-menu-item[data-v-7da38053]{display:flex;align-items:center;justify-content:center;margin-right:10px!important;margin:0 auto}.active-tooltip[data-v-7da38053]{position:fixed;left:80px;width:240px;border-radius:4px;background-color:#fff;z-index:9999999;border:2px solid rgba(70,70,70,.4)}.main[data-v-7da38053]{width:calc(100vw - 300px);height:100%;position:absolute;left:180px;top:70px}.main-loading[data-v-7da38053]{opacity:0;background-color:#fff}")),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
|
|
2
2
|
var Sa = Object.defineProperty;
|
|
3
3
|
var Aa = (e, t, n) => t in e ? Sa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
4
4
|
var x = (e, t, n) => Aa(e, typeof t != "symbol" ? t + "" : t, n);
|
|
5
|
-
import { defineComponent as je, computed as
|
|
5
|
+
import { defineComponent as je, computed as $, watch as ka, h as ue, resolveComponent as B, openBlock as w, createElementBlock as P, normalizeClass as E, createBlock as ye, createCommentVNode as N, createElementVNode as C, toDisplayString as be, createVNode as J, Fragment as re, renderList as ie, withDirectives as cn, vShow as dn, withModifiers as mn, normalizeStyle as Ma, renderSlot as Pa } from "vue";
|
|
6
6
|
/*!
|
|
7
7
|
* Font Awesome Free 7.2.0 by @fontawesome - https://fontawesome.com
|
|
8
8
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
@@ -20,12 +20,12 @@ var pn = {
|
|
|
20
20
|
prefix: "fas",
|
|
21
21
|
iconName: "xmark",
|
|
22
22
|
icon: [384, 512, [128473, 10005, 10006, 10060, 215, "close", "multiply", "remove", "times"], "f00d", "M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z"]
|
|
23
|
-
}, Ta = Oa,
|
|
23
|
+
}, Ta = Oa, L = {
|
|
24
24
|
prefix: "fas",
|
|
25
25
|
iconName: "chevron-down",
|
|
26
26
|
icon: [448, 512, [], "f078", "M201.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 338.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]
|
|
27
27
|
};
|
|
28
|
-
class
|
|
28
|
+
class Vs {
|
|
29
29
|
constructor() {
|
|
30
30
|
x(this, "name", "");
|
|
31
31
|
x(this, "icon");
|
|
@@ -33,7 +33,7 @@ class Ks {
|
|
|
33
33
|
x(this, "items", []);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
class
|
|
36
|
+
class qs {
|
|
37
37
|
constructor() {
|
|
38
38
|
x(this, "name", "");
|
|
39
39
|
x(this, "route", "");
|
|
@@ -57,7 +57,7 @@ class _a {
|
|
|
57
57
|
x(this, "icon");
|
|
58
58
|
x(this, "route", "");
|
|
59
59
|
x(this, "opened", !1);
|
|
60
|
-
x(this, "openIcon",
|
|
60
|
+
x(this, "openIcon", L);
|
|
61
61
|
x(this, "items", []);
|
|
62
62
|
x(this, "active", !1);
|
|
63
63
|
}
|
|
@@ -69,7 +69,7 @@ class Ca {
|
|
|
69
69
|
x(this, "route", "");
|
|
70
70
|
x(this, "opened", !1);
|
|
71
71
|
x(this, "active", !1);
|
|
72
|
-
x(this, "openIcon",
|
|
72
|
+
x(this, "openIcon", L);
|
|
73
73
|
x(this, "items", []);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
@@ -221,7 +221,7 @@ function f(e) {
|
|
|
221
221
|
function Le(e, t) {
|
|
222
222
|
return Ea(e) || za(e, t) || ht(e, t) || Da();
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function D(e) {
|
|
225
225
|
return Na(e) || Ba(e) || ht(e) || Ra();
|
|
226
226
|
}
|
|
227
227
|
function Wa(e, t) {
|
|
@@ -937,7 +937,7 @@ var mi = {
|
|
|
937
937
|
"utility-fill": {
|
|
938
938
|
faufsb: "fa-semibold"
|
|
939
939
|
}
|
|
940
|
-
}, hi = ["fa-solid", "fa-regular", "fa-light", "fa-thin", "fa-duotone", "fa-brands", "fa-semibold"], Rn = ["fa", "fas", "far", "fal", "fat", "fad", "fadr", "fadl", "fadt", "fab", "fass", "fasr", "fasl", "fast", "fasds", "fasdr", "fasdl", "fasdt", "faslr", "faslpr", "fawsb", "fatl", "fans", "fands", "faes", "fagt", "fajr", "fajfr", "fajdr", "facr", "fausb", "faudsb", "faufsb"].concat(Ar, hi), vi = ["solid", "regular", "light", "thin", "duotone", "brands", "semibold"], Wn = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], gi = Wn.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), yi = ["aw", "fw", "pull-left", "pull-right"], bi = [].concat(
|
|
940
|
+
}, hi = ["fa-solid", "fa-regular", "fa-light", "fa-thin", "fa-duotone", "fa-brands", "fa-semibold"], Rn = ["fa", "fas", "far", "fal", "fat", "fad", "fadr", "fadl", "fadt", "fab", "fass", "fasr", "fasl", "fast", "fasds", "fasdr", "fasdl", "fasdt", "faslr", "faslpr", "fawsb", "fatl", "fans", "fands", "faes", "fagt", "fajr", "fajfr", "fajdr", "facr", "fausb", "faudsb", "faufsb"].concat(Ar, hi), vi = ["solid", "regular", "light", "thin", "duotone", "brands", "semibold"], Wn = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], gi = Wn.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]), yi = ["aw", "fw", "pull-left", "pull-right"], bi = [].concat(D(Object.keys(pi)), vi, yi, ["2xs", "xs", "sm", "lg", "xl", "2xl", "beat", "border", "fade", "beat-fade", "bounce", "flip-both", "flip-horizontal", "flip-vertical", "flip", "inverse", "layers", "layers-bottom-left", "layers-bottom-right", "layers-counter", "layers-text", "layers-top-left", "layers-top-right", "li", "pull-end", "pull-start", "pulse", "rotate-180", "rotate-270", "rotate-90", "rotate-by", "shake", "spin-pulse", "spin-reverse", "spin", "stack-1x", "stack-2x", "stack", "ul", "width-auto", "width-fixed", ke.GROUP, ke.SWAP_OPACITY, ke.PRIMARY, ke.SECONDARY]).concat(Wn.map(function(e) {
|
|
941
941
|
return "".concat(e, "x");
|
|
942
942
|
})).concat(gi.map(function(e) {
|
|
943
943
|
return "w-".concat(e);
|
|
@@ -988,7 +988,7 @@ at[F] = f(f({}, at[F]), xr.kit);
|
|
|
988
988
|
xe(at);
|
|
989
989
|
var ki = Ya, Kn = "fa-layers-text", Mi = Ha, Pi = f({}, dr);
|
|
990
990
|
xe(Pi);
|
|
991
|
-
var Oi = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], He = Ga, Ti = [].concat(
|
|
991
|
+
var Oi = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], He = Ga, Ti = [].concat(D(vr), D(bi)), de = X.FontAwesomeConfig || {};
|
|
992
992
|
function Fi(e) {
|
|
993
993
|
var t = k.querySelector("script[" + e + "]");
|
|
994
994
|
if (t)
|
|
@@ -1055,7 +1055,7 @@ function Ei(e) {
|
|
|
1055
1055
|
me.splice(me.indexOf(e), 1);
|
|
1056
1056
|
};
|
|
1057
1057
|
}
|
|
1058
|
-
var te = Ze,
|
|
1058
|
+
var te = Ze, W = {
|
|
1059
1059
|
size: 16,
|
|
1060
1060
|
x: 0,
|
|
1061
1061
|
y: 0,
|
|
@@ -1104,7 +1104,7 @@ function $e(e) {
|
|
|
1104
1104
|
}, "");
|
|
1105
1105
|
}
|
|
1106
1106
|
function xt(e) {
|
|
1107
|
-
return e.size !==
|
|
1107
|
+
return e.size !== W.size || e.x !== W.x || e.y !== W.y || e.rotate !== W.rotate || e.flipX || e.flipY;
|
|
1108
1108
|
}
|
|
1109
1109
|
function $i(e) {
|
|
1110
1110
|
var t = e.transform, n = e.containerWidth, a = e.iconWidth, r = {
|
|
@@ -1712,7 +1712,7 @@ H[Y] || (H[Y] = {});
|
|
|
1712
1712
|
H[Y].styles || (H[Y].styles = {});
|
|
1713
1713
|
H[Y].hooks || (H[Y].hooks = {});
|
|
1714
1714
|
H[Y].shims || (H[Y].shims = []);
|
|
1715
|
-
var
|
|
1715
|
+
var z = H[Y], Qn = [], Zn = function() {
|
|
1716
1716
|
k.removeEventListener("DOMContentLoaded", Zn), Fe = 1, Qn.map(function(t) {
|
|
1717
1717
|
return t();
|
|
1718
1718
|
});
|
|
@@ -1740,7 +1740,7 @@ var Xe = function(t, n, a, r) {
|
|
|
1740
1740
|
return c;
|
|
1741
1741
|
};
|
|
1742
1742
|
function ea(e) {
|
|
1743
|
-
return
|
|
1743
|
+
return D(e).length !== 1 ? null : e.codePointAt(0).toString(16);
|
|
1744
1744
|
}
|
|
1745
1745
|
function Rt(e) {
|
|
1746
1746
|
return Object.keys(e).reduce(function(t, n) {
|
|
@@ -1750,9 +1750,9 @@ function Rt(e) {
|
|
|
1750
1750
|
}
|
|
1751
1751
|
function rt(e, t) {
|
|
1752
1752
|
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, a = n.skipHooks, r = a === void 0 ? !1 : a, i = Rt(t);
|
|
1753
|
-
typeof
|
|
1753
|
+
typeof z.hooks.addPack == "function" && !r ? z.hooks.addPack(e, Rt(t)) : z.styles[e] = f(f({}, z.styles[e] || {}), i), e === "fas" && rt("fa", t);
|
|
1754
1754
|
}
|
|
1755
|
-
var he =
|
|
1755
|
+
var he = z.styles, Wi = z.shims, ta = Object.keys(bt), Ui = ta.reduce(function(e, t) {
|
|
1756
1756
|
return e[t] = Object.keys(bt[t]), e;
|
|
1757
1757
|
}, {}), wt = null, na = {}, aa = {}, ra = {}, ia = {}, oa = {};
|
|
1758
1758
|
function Yi(e) {
|
|
@@ -1866,7 +1866,7 @@ function Be(e) {
|
|
|
1866
1866
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.family, a = n === void 0 ? F : n, r = Ai[a][e];
|
|
1867
1867
|
if (a === Ie && !e)
|
|
1868
1868
|
return "fad";
|
|
1869
|
-
var i = $t[a][e] || $t[a][r], o = e in
|
|
1869
|
+
var i = $t[a][e] || $t[a][r], o = e in z.styles ? e : null, s = i || o || null;
|
|
1870
1870
|
return s;
|
|
1871
1871
|
}
|
|
1872
1872
|
function Vi(e) {
|
|
@@ -2018,7 +2018,7 @@ function ot(e) {
|
|
|
2018
2018
|
e.prefix === "fa" && (e.prefix = "fas");
|
|
2019
2019
|
var t = e.iconName, n = e.prefix || K();
|
|
2020
2020
|
if (t)
|
|
2021
|
-
return t = q(n, t) || t, Dt(ua.definitions, n, t) || Dt(
|
|
2021
|
+
return t = q(n, t) || t, Dt(ua.definitions, n, t) || Dt(z.styles, n, t);
|
|
2022
2022
|
}
|
|
2023
2023
|
var ua = new eo(), ao = function() {
|
|
2024
2024
|
h.autoReplaceSvg = !1, h.observeMutations = !1, ee("noAuto");
|
|
@@ -2078,7 +2078,7 @@ var ua = new eo(), ao = function() {
|
|
|
2078
2078
|
toHtml: we
|
|
2079
2079
|
}, oo = function() {
|
|
2080
2080
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = t.autoReplaceSvgRoot, a = n === void 0 ? k : n;
|
|
2081
|
-
(Object.keys(
|
|
2081
|
+
(Object.keys(z.styles).length > 0 || h.autoFetchSvg) && G && h.autoReplaceSvg && j.dom.i2svg({
|
|
2082
2082
|
node: a
|
|
2083
2083
|
});
|
|
2084
2084
|
};
|
|
@@ -2205,7 +2205,7 @@ function uo(e) {
|
|
|
2205
2205
|
children: [t]
|
|
2206
2206
|
}), i;
|
|
2207
2207
|
}
|
|
2208
|
-
var Ke =
|
|
2208
|
+
var Ke = z.styles;
|
|
2209
2209
|
function st(e) {
|
|
2210
2210
|
var t = e[0], n = e[1], a = e.slice(4), r = Le(a, 1), i = r[0], o = null;
|
|
2211
2211
|
return Array.isArray(i) ? o = {
|
|
@@ -2424,7 +2424,7 @@ function ko() {
|
|
|
2424
2424
|
return {
|
|
2425
2425
|
iconName: null,
|
|
2426
2426
|
prefix: null,
|
|
2427
|
-
transform:
|
|
2427
|
+
transform: W,
|
|
2428
2428
|
symbol: !1,
|
|
2429
2429
|
mask: {
|
|
2430
2430
|
iconName: null,
|
|
@@ -2446,7 +2446,7 @@ function qt(e) {
|
|
|
2446
2446
|
return f({
|
|
2447
2447
|
iconName: a,
|
|
2448
2448
|
prefix: r,
|
|
2449
|
-
transform:
|
|
2449
|
+
transform: W,
|
|
2450
2450
|
mask: {
|
|
2451
2451
|
iconName: null,
|
|
2452
2452
|
prefix: null,
|
|
@@ -2461,7 +2461,7 @@ function qt(e) {
|
|
|
2461
2461
|
}
|
|
2462
2462
|
}, s);
|
|
2463
2463
|
}
|
|
2464
|
-
var Mo =
|
|
2464
|
+
var Mo = z.styles;
|
|
2465
2465
|
function ha(e) {
|
|
2466
2466
|
var t = h.autoReplaceSvg === "nest" ? qt(e, {
|
|
2467
2467
|
styleParser: !1
|
|
@@ -2469,7 +2469,7 @@ function ha(e) {
|
|
|
2469
2469
|
return ~t.extra.classes.indexOf(Kn) ? V("generateLayersText", e, t) : V("generateSvgReplacementMutation", e, t);
|
|
2470
2470
|
}
|
|
2471
2471
|
function Po() {
|
|
2472
|
-
return [].concat(
|
|
2472
|
+
return [].concat(D(Dn), D(Rn));
|
|
2473
2473
|
}
|
|
2474
2474
|
function Jt(e) {
|
|
2475
2475
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
@@ -2528,7 +2528,7 @@ function To(e) {
|
|
|
2528
2528
|
};
|
|
2529
2529
|
}
|
|
2530
2530
|
var Fo = function(t) {
|
|
2531
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = n.transform, r = a === void 0 ?
|
|
2531
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = n.transform, r = a === void 0 ? W : a, i = n.symbol, o = i === void 0 ? !1 : i, s = n.mask, l = s === void 0 ? null : s, u = n.maskId, c = u === void 0 ? null : u, d = n.classes, p = d === void 0 ? [] : d, g = n.attributes, b = g === void 0 ? {} : g, I = n.styles, O = I === void 0 ? {} : I;
|
|
2532
2532
|
if (t) {
|
|
2533
2533
|
var m = t.prefix, v = t.iconName, A = t.icon;
|
|
2534
2534
|
return De(f({
|
|
@@ -2549,7 +2549,7 @@ var Fo = function(t) {
|
|
|
2549
2549
|
},
|
|
2550
2550
|
prefix: m,
|
|
2551
2551
|
iconName: v,
|
|
2552
|
-
transform: f(f({},
|
|
2552
|
+
transform: f(f({}, W), r),
|
|
2553
2553
|
symbol: o,
|
|
2554
2554
|
maskId: c,
|
|
2555
2555
|
extra: {
|
|
@@ -2638,7 +2638,7 @@ var Fo = function(t) {
|
|
|
2638
2638
|
}), [{
|
|
2639
2639
|
tag: "span",
|
|
2640
2640
|
attributes: {
|
|
2641
|
-
class: ["".concat(h.cssPrefix, "-layers")].concat(
|
|
2641
|
+
class: ["".concat(h.cssPrefix, "-layers")].concat(D(i)).join(" ")
|
|
2642
2642
|
},
|
|
2643
2643
|
children: o
|
|
2644
2644
|
}];
|
|
@@ -2665,7 +2665,7 @@ var Fo = function(t) {
|
|
|
2665
2665
|
extra: {
|
|
2666
2666
|
attributes: s,
|
|
2667
2667
|
styles: u,
|
|
2668
|
-
classes: ["".concat(h.cssPrefix, "-layers-counter")].concat(
|
|
2668
|
+
classes: ["".concat(h.cssPrefix, "-layers-counter")].concat(D(i))
|
|
2669
2669
|
}
|
|
2670
2670
|
});
|
|
2671
2671
|
});
|
|
@@ -2676,7 +2676,7 @@ var Fo = function(t) {
|
|
|
2676
2676
|
mixout: function() {
|
|
2677
2677
|
return {
|
|
2678
2678
|
text: function(n) {
|
|
2679
|
-
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = a.transform, i = r === void 0 ?
|
|
2679
|
+
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = a.transform, i = r === void 0 ? W : r, o = a.classes, s = o === void 0 ? [] : o, l = a.attributes, u = l === void 0 ? {} : l, c = a.styles, d = c === void 0 ? {} : c;
|
|
2680
2680
|
return De({
|
|
2681
2681
|
type: "text",
|
|
2682
2682
|
content: n
|
|
@@ -2686,11 +2686,11 @@ var Fo = function(t) {
|
|
|
2686
2686
|
params: a
|
|
2687
2687
|
}), Ht({
|
|
2688
2688
|
content: n,
|
|
2689
|
-
transform: f(f({},
|
|
2689
|
+
transform: f(f({}, W), i),
|
|
2690
2690
|
extra: {
|
|
2691
2691
|
attributes: u,
|
|
2692
2692
|
styles: d,
|
|
2693
|
-
classes: ["".concat(h.cssPrefix, "-layers-text")].concat(
|
|
2693
|
+
classes: ["".concat(h.cssPrefix, "-layers-text")].concat(D(s))
|
|
2694
2694
|
}
|
|
2695
2695
|
});
|
|
2696
2696
|
});
|
|
@@ -2723,11 +2723,11 @@ var Fo = function(t) {
|
|
|
2723
2723
|
return e[t.toLowerCase()] = Zt[t], e;
|
|
2724
2724
|
}, {}), jo = Object.keys(ct).reduce(function(e, t) {
|
|
2725
2725
|
var n = ct[t];
|
|
2726
|
-
return e[t] = n[900] ||
|
|
2726
|
+
return e[t] = n[900] || D(Object.entries(n))[0][1], e;
|
|
2727
2727
|
}, {});
|
|
2728
2728
|
function Lo(e) {
|
|
2729
2729
|
var t = e.replace(va, "");
|
|
2730
|
-
return ea(
|
|
2730
|
+
return ea(D(t)[0] || "");
|
|
2731
2731
|
}
|
|
2732
2732
|
function $o(e) {
|
|
2733
2733
|
var t = e.getPropertyValue("font-feature-settings").includes("ss01"), n = e.getPropertyValue("content"), a = n.replace(va, ""), r = a.codePointAt(0), i = r >= Qt[0] && r <= Qt[1], o = a.length === 2 ? a[0] === a[1] : !1;
|
|
@@ -2742,8 +2742,8 @@ function en(e, t) {
|
|
|
2742
2742
|
return new Promise(function(a, r) {
|
|
2743
2743
|
if (e.getAttribute(n) !== null)
|
|
2744
2744
|
return a();
|
|
2745
|
-
var i = se(e.children), o = i.filter(function(
|
|
2746
|
-
return
|
|
2745
|
+
var i = se(e.children), o = i.filter(function(R) {
|
|
2746
|
+
return R.getAttribute(et) === t;
|
|
2747
2747
|
})[0], s = X.getComputedStyle(e, t), l = s.getPropertyValue("font-family"), u = l.match(Mi), c = s.getPropertyValue("font-weight"), d = s.getPropertyValue("content");
|
|
2748
2748
|
if (o && !u)
|
|
2749
2749
|
return e.removeChild(o), a();
|
|
@@ -2756,10 +2756,10 @@ function en(e, t) {
|
|
|
2756
2756
|
if (m && !O && (!o || o.getAttribute(gt) !== g || o.getAttribute(yt) !== v)) {
|
|
2757
2757
|
e.setAttribute(n, v), o && e.removeChild(o);
|
|
2758
2758
|
var M = ko(), T = M.extra;
|
|
2759
|
-
T.attributes[et] = t, lt(m, g).then(function(
|
|
2759
|
+
T.attributes[et] = t, lt(m, g).then(function(R) {
|
|
2760
2760
|
var le = At(f(f({}, M), {}, {
|
|
2761
2761
|
icons: {
|
|
2762
|
-
main:
|
|
2762
|
+
main: R,
|
|
2763
2763
|
mask: fa()
|
|
2764
2764
|
},
|
|
2765
2765
|
prefix: g,
|
|
@@ -3302,9 +3302,9 @@ var ss = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
3302
3302
|
var n = function(m, v, A) {
|
|
3303
3303
|
if (!u(v) || d(v) || p(v) || g(v) || l(v))
|
|
3304
3304
|
return v;
|
|
3305
|
-
var M, T = 0,
|
|
3305
|
+
var M, T = 0, R = 0;
|
|
3306
3306
|
if (c(v))
|
|
3307
|
-
for (M = [],
|
|
3307
|
+
for (M = [], R = v.length; T < R; T++)
|
|
3308
3308
|
M.push(n(m, v[T], A));
|
|
3309
3309
|
else {
|
|
3310
3310
|
M = {};
|
|
@@ -3409,16 +3409,16 @@ function Pt(e) {
|
|
|
3409
3409
|
var a = t.gradientFill, r = a === void 0 ? null : a, i = qe(t, fs), o = !!r || "fill" in n, s = o ? ba(e) : e, l = (s.children || []).map(function(M) {
|
|
3410
3410
|
return Pt(M, {}, {});
|
|
3411
3411
|
}), u = Object.keys(s.attributes || {}).reduce(function(M, T) {
|
|
3412
|
-
var
|
|
3412
|
+
var R = s.attributes[T];
|
|
3413
3413
|
switch (T) {
|
|
3414
3414
|
case "class":
|
|
3415
|
-
M.class = ms(
|
|
3415
|
+
M.class = ms(R);
|
|
3416
3416
|
break;
|
|
3417
3417
|
case "style":
|
|
3418
|
-
M.style = ds(
|
|
3418
|
+
M.style = ds(R);
|
|
3419
3419
|
break;
|
|
3420
3420
|
default:
|
|
3421
|
-
M.attrs[T] =
|
|
3421
|
+
M.attrs[T] = R;
|
|
3422
3422
|
}
|
|
3423
3423
|
return M;
|
|
3424
3424
|
}, {
|
|
@@ -3614,15 +3614,15 @@ var Re = je({
|
|
|
3614
3614
|
}
|
|
3615
3615
|
},
|
|
3616
3616
|
setup: function(t, n) {
|
|
3617
|
-
var a = n.attrs, r =
|
|
3617
|
+
var a = n.attrs, r = $(function() {
|
|
3618
3618
|
return ln(t.icon);
|
|
3619
|
-
}), i =
|
|
3619
|
+
}), i = $(function() {
|
|
3620
3620
|
return pe("classes", os(t));
|
|
3621
|
-
}), o =
|
|
3621
|
+
}), o = $(function() {
|
|
3622
3622
|
return pe("transform", typeof t.transform == "string" ? Ce.transform(t.transform) : t.transform);
|
|
3623
|
-
}), s =
|
|
3623
|
+
}), s = $(function() {
|
|
3624
3624
|
return pe("mask", ln(t.mask));
|
|
3625
|
-
}), l =
|
|
3625
|
+
}), l = $(function() {
|
|
3626
3626
|
var c = S(S(S(S({}, i.value), o.value), s.value), {}, {
|
|
3627
3627
|
symbol: t.symbol,
|
|
3628
3628
|
maskId: t.maskId
|
|
@@ -3635,7 +3635,7 @@ var Re = je({
|
|
|
3635
3635
|
}, {
|
|
3636
3636
|
immediate: !0
|
|
3637
3637
|
}), t.gradientFill && t.symbol && sn("gradientFill is not supported when symbol is true and will be ignored");
|
|
3638
|
-
var u =
|
|
3638
|
+
var u = $(function() {
|
|
3639
3639
|
return l.value ? Pt(l.value.abstract[0], {
|
|
3640
3640
|
gradientFill: t.symbol ? null : t.gradientFill
|
|
3641
3641
|
}, a) : null;
|
|
@@ -3654,7 +3654,7 @@ je({
|
|
|
3654
3654
|
}
|
|
3655
3655
|
},
|
|
3656
3656
|
setup: function(t, n) {
|
|
3657
|
-
var a = n.slots, r = ga.familyPrefix, i =
|
|
3657
|
+
var a = n.slots, r = ga.familyPrefix, i = $(function() {
|
|
3658
3658
|
return ["".concat(r, "-layers")].concat(Ee(t.fixedWidth ? ["".concat(r, "-fw")] : []));
|
|
3659
3659
|
});
|
|
3660
3660
|
return function() {
|
|
@@ -3688,14 +3688,14 @@ je({
|
|
|
3688
3688
|
}
|
|
3689
3689
|
},
|
|
3690
3690
|
setup: function(t, n) {
|
|
3691
|
-
var a = n.attrs, r = ga.familyPrefix, i =
|
|
3691
|
+
var a = n.attrs, r = ga.familyPrefix, i = $(function() {
|
|
3692
3692
|
return pe("classes", [].concat(Ee(t.counter ? ["".concat(r, "-layers-counter")] : []), Ee(t.position ? ["".concat(r, "-layers-").concat(t.position)] : [])));
|
|
3693
|
-
}), o =
|
|
3693
|
+
}), o = $(function() {
|
|
3694
3694
|
return pe("transform", typeof t.transform == "string" ? Ce.transform(t.transform) : t.transform);
|
|
3695
|
-
}), s =
|
|
3695
|
+
}), s = $(function() {
|
|
3696
3696
|
var u = Qo(t.value.toString(), S(S({}, o.value), i.value)), c = u.abstract;
|
|
3697
3697
|
return t.counter && (c[0].attributes.class = c[0].attributes.class.replace("fa-layers-text", "")), c[0];
|
|
3698
|
-
}), l =
|
|
3698
|
+
}), l = $(function() {
|
|
3699
3699
|
return Pt(s.value, {}, a);
|
|
3700
3700
|
});
|
|
3701
3701
|
return function() {
|
|
@@ -3703,23 +3703,23 @@ je({
|
|
|
3703
3703
|
};
|
|
3704
3704
|
}
|
|
3705
3705
|
});
|
|
3706
|
-
let ve, ge,
|
|
3706
|
+
let ve, ge, U;
|
|
3707
3707
|
const mt = (e) => {
|
|
3708
3708
|
ve = e;
|
|
3709
3709
|
}, fn = (e) => {
|
|
3710
3710
|
ge = e;
|
|
3711
3711
|
}, hs = (e) => {
|
|
3712
|
-
|
|
3712
|
+
U = e;
|
|
3713
3713
|
}, pt = (e) => {
|
|
3714
|
-
ve != null && (
|
|
3714
|
+
ve != null && (U = !0, ge.loading = U, setTimeout(() => {
|
|
3715
3715
|
ve.push({ path: `${e}` }).finally(() => {
|
|
3716
|
-
|
|
3716
|
+
U = !1, ge.loading = U;
|
|
3717
3717
|
});
|
|
3718
3718
|
}, 400));
|
|
3719
3719
|
}, Q = (e) => {
|
|
3720
|
-
ve != null && (
|
|
3720
|
+
ve != null && (U = !0, ge.loading = U, setTimeout(() => {
|
|
3721
3721
|
ve.push({ path: `${e}` }).finally(() => {
|
|
3722
|
-
|
|
3722
|
+
U = !1, ge.loading = U;
|
|
3723
3723
|
});
|
|
3724
3724
|
}, 400));
|
|
3725
3725
|
}, vs = {
|
|
@@ -3746,7 +3746,7 @@ const mt = (e) => {
|
|
|
3746
3746
|
menuBar: this.menuBar,
|
|
3747
3747
|
tooltip: !0,
|
|
3748
3748
|
item: this.item,
|
|
3749
|
-
faChevronDown:
|
|
3749
|
+
faChevronDown: L,
|
|
3750
3750
|
leftItems: this.leftItems,
|
|
3751
3751
|
ref: "item",
|
|
3752
3752
|
rotuer: mt,
|
|
@@ -3816,9 +3816,9 @@ const mt = (e) => {
|
|
|
3816
3816
|
};
|
|
3817
3817
|
function ys(e, t, n, a, r, i) {
|
|
3818
3818
|
var s;
|
|
3819
|
-
const o =
|
|
3819
|
+
const o = B("FontAwesomeIcon");
|
|
3820
3820
|
return w(), P("div", {
|
|
3821
|
-
class:
|
|
3821
|
+
class: E(["menu-item", {
|
|
3822
3822
|
"item-opened": r.item.opened,
|
|
3823
3823
|
"item-closed": !r.item.opened,
|
|
3824
3824
|
"item-active": r.item.active
|
|
@@ -3831,22 +3831,22 @@ function ys(e, t, n, a, r, i) {
|
|
|
3831
3831
|
class: "menu-item-icon",
|
|
3832
3832
|
size: "lg",
|
|
3833
3833
|
icon: r.item.icon
|
|
3834
|
-
}, null, 8, ["icon"])) :
|
|
3834
|
+
}, null, 8, ["icon"])) : N("", !0),
|
|
3835
3835
|
C("p", {
|
|
3836
|
-
class:
|
|
3836
|
+
class: E(["menu-item-text", {
|
|
3837
3837
|
"menu-text-opened": r.menuBar.opened,
|
|
3838
3838
|
"menu-text-closed": !r.menuBar.opened
|
|
3839
3839
|
}])
|
|
3840
3840
|
}, be(r.item.name), 3),
|
|
3841
3841
|
(s = r.item.items) != null && s.length && r.menuBar.opened ? (w(), P("div", gs, [
|
|
3842
3842
|
J(o, {
|
|
3843
|
-
class:
|
|
3843
|
+
class: E({ "icon-opened": r.item.opened }),
|
|
3844
3844
|
icon: r.item.openIcon
|
|
3845
3845
|
}, null, 8, ["class", "icon"])
|
|
3846
|
-
])) :
|
|
3846
|
+
])) : N("", !0)
|
|
3847
3847
|
], 2);
|
|
3848
3848
|
}
|
|
3849
|
-
const xa = /* @__PURE__ */ Se(vs, [["render", ys], ["__scopeId", "data-v-
|
|
3849
|
+
const xa = /* @__PURE__ */ Se(vs, [["render", ys], ["__scopeId", "data-v-d3e40673"]]), bs = {
|
|
3850
3850
|
name: "SubMenuItems",
|
|
3851
3851
|
components: {
|
|
3852
3852
|
MenuItem: xa
|
|
@@ -3903,52 +3903,53 @@ const xa = /* @__PURE__ */ Se(vs, [["render", ys], ["__scopeId", "data-v-0560760
|
|
|
3903
3903
|
}
|
|
3904
3904
|
}
|
|
3905
3905
|
}
|
|
3906
|
-
}, Is = {
|
|
3907
|
-
key: 0,
|
|
3908
|
-
class: "sub-menu-items"
|
|
3909
|
-
}, xs = {
|
|
3906
|
+
}, Is = { class: "sub-menu-content" }, xs = {
|
|
3910
3907
|
key: 1,
|
|
3911
3908
|
class: "active-tooltip"
|
|
3912
3909
|
}, ws = ["onClick"];
|
|
3913
3910
|
function Ss(e, t, n, a, r, i) {
|
|
3914
|
-
const o =
|
|
3915
|
-
return
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3911
|
+
const o = B("MenuItem"), s = B("SubMenuItems", !0);
|
|
3912
|
+
return w(), P("div", {
|
|
3913
|
+
class: E(["sub-menu-items", { itemsOpened: r.item.opened, itemsClosed: !r.item.opened }])
|
|
3914
|
+
}, [
|
|
3915
|
+
C("div", Is, [
|
|
3916
|
+
(w(!0), P(re, null, ie(r.item.items, (l, u) => {
|
|
3917
|
+
var c, d;
|
|
3918
|
+
return w(), P("div", {
|
|
3919
|
+
key: u,
|
|
3920
|
+
class: E(["item", { "menu-item-opened": r.menuBar.opened }]),
|
|
3921
|
+
onMouseenter: t[4] || (t[4] = (p) => i.showTooltipItems(p)),
|
|
3922
|
+
onMouseleave: t[5] || (t[5] = (p) => i.hideTooltipItems(p))
|
|
3923
|
+
}, [
|
|
3924
|
+
J(o, {
|
|
3925
|
+
item: l,
|
|
3926
|
+
leftItems: r.leftMenuItems,
|
|
3927
|
+
onChangeMenuItem: t[0] || (t[0] = (p) => i.handleMenuItem(p)),
|
|
3928
|
+
menuBar: r.menuBar
|
|
3929
|
+
}, null, 8, ["item", "leftItems", "menuBar"]),
|
|
3930
|
+
(c = l.items) != null && c.length ? cn((w(), ye(s, {
|
|
3931
|
+
key: 0,
|
|
3932
|
+
onChangeMenuItem: t[1] || (t[1] = (p) => i.handleMenuItem(p)),
|
|
3933
|
+
item: l,
|
|
3934
|
+
menuBar: r.menuBar
|
|
3935
|
+
}, null, 8, ["item", "menuBar"])), [
|
|
3936
|
+
[dn, r.menuBar.opened]
|
|
3937
|
+
]) : N("", !0),
|
|
3938
|
+
r.tooltip && ((d = l.items) != null && d.length) ? (w(), P("div", xs, [
|
|
3939
|
+
r.menuBar.opened ? N("", !0) : (w(!0), P(re, { key: 0 }, ie(l.items, (p) => (w(), P("div", {
|
|
3940
|
+
key: p.name,
|
|
3941
|
+
class: "tooltip-item",
|
|
3942
|
+
onClick: (g) => i.tooltipItemClick(g, l, p),
|
|
3943
|
+
onMouseenter: t[2] || (t[2] = (g) => i.showTooltipItems(g)),
|
|
3944
|
+
onMouseleave: t[3] || (t[3] = (g) => i.hideTooltipItems(g))
|
|
3945
|
+
}, be(p.name), 41, ws))), 128))
|
|
3946
|
+
])) : N("", !0)
|
|
3947
|
+
], 34);
|
|
3948
|
+
}), 128))
|
|
3949
|
+
])
|
|
3950
|
+
], 2);
|
|
3950
3951
|
}
|
|
3951
|
-
const As = /* @__PURE__ */ Se(bs, [["render", Ss], ["__scopeId", "data-v-
|
|
3952
|
+
const As = /* @__PURE__ */ Se(bs, [["render", Ss], ["__scopeId", "data-v-ea3a74d6"]]), ks = {
|
|
3952
3953
|
name: "TopSubMenuItems",
|
|
3953
3954
|
components: {
|
|
3954
3955
|
FontAwesomeIcon: Re
|
|
@@ -3989,7 +3990,11 @@ const As = /* @__PURE__ */ Se(bs, [["render", Ss], ["__scopeId", "data-v-6f31ff1
|
|
|
3989
3990
|
t.opened = !0;
|
|
3990
3991
|
},
|
|
3991
3992
|
closeTopMenuItem(e, t) {
|
|
3992
|
-
t.opened = !1;
|
|
3993
|
+
t.opened = !1, t.openIcon = L, this.closeSubItems(t);
|
|
3994
|
+
},
|
|
3995
|
+
closeSubItems(e) {
|
|
3996
|
+
for (const t of e.items ?? [])
|
|
3997
|
+
t.opened = !1, t.openIcon = L, this.closeSubItems(t);
|
|
3993
3998
|
},
|
|
3994
3999
|
openTopMenuItem(e, t) {
|
|
3995
4000
|
var n;
|
|
@@ -3999,19 +4004,20 @@ const As = /* @__PURE__ */ Se(bs, [["render", Ss], ["__scopeId", "data-v-6f31ff1
|
|
|
3999
4004
|
}
|
|
4000
4005
|
}
|
|
4001
4006
|
}
|
|
4002
|
-
}, Ms = { class: "content" }, Ps = ["onClick", "onMouseenter"],
|
|
4003
|
-
function
|
|
4004
|
-
const o =
|
|
4007
|
+
}, Ms = { class: "content" }, Ps = ["onMouseleave"], Os = ["onClick", "onMouseenter"], Ts = { key: 0 };
|
|
4008
|
+
function Fs(e, t, n, a, r, i) {
|
|
4009
|
+
const o = B("FontAwesomeIcon"), s = B("TopSubMenuItems", !0);
|
|
4005
4010
|
return r.item.opened ? (w(), P("div", {
|
|
4006
4011
|
key: 0,
|
|
4007
|
-
class:
|
|
4012
|
+
class: E(["top-sub-menu-items", { "tooltip-opened": r.item.opened }])
|
|
4008
4013
|
}, [
|
|
4009
4014
|
C("div", Ms, [
|
|
4010
4015
|
(w(!0), P(re, null, ie(r.item.items, (l, u) => {
|
|
4011
4016
|
var c, d;
|
|
4012
4017
|
return w(), P("div", {
|
|
4013
4018
|
key: l.id,
|
|
4014
|
-
class: "item"
|
|
4019
|
+
class: "item",
|
|
4020
|
+
onMouseleave: (p) => i.closeTopMenuItem(p, l)
|
|
4015
4021
|
}, [
|
|
4016
4022
|
C("div", {
|
|
4017
4023
|
class: "top-menu-item",
|
|
@@ -4019,32 +4025,31 @@ function Ts(e, t, n, a, r, i) {
|
|
|
4019
4025
|
onMouseenter: (p) => i.openHoverTopMenuItem(p, l)
|
|
4020
4026
|
}, [
|
|
4021
4027
|
C("div", null, be(l.name), 1),
|
|
4022
|
-
(c = l.items) != null && c.length ? (w(), P("div",
|
|
4028
|
+
(c = l.items) != null && c.length ? (w(), P("div", Ts, [
|
|
4023
4029
|
J(o, {
|
|
4024
4030
|
size: "sm",
|
|
4025
|
-
class:
|
|
4031
|
+
class: E({ "icon-opened": l.opened }),
|
|
4026
4032
|
icon: l.openIcon
|
|
4027
4033
|
}, null, 8, ["class", "icon"])
|
|
4028
|
-
])) :
|
|
4029
|
-
], 40,
|
|
4034
|
+
])) : N("", !0)
|
|
4035
|
+
], 40, Os),
|
|
4030
4036
|
(d = l.items) != null && d.length ? (w(), ye(s, {
|
|
4031
|
-
onMouseleave: (p) => i.closeTopMenuItem(p, l),
|
|
4032
4037
|
style: Ma({ top: `${Number(u) * 70}px`, right: `${2 * 10 + 40}px` }),
|
|
4033
4038
|
key: l.id,
|
|
4034
4039
|
item: l,
|
|
4035
4040
|
topMenuItems: r.topMenuItems,
|
|
4036
4041
|
menuBar: r.menuBar
|
|
4037
|
-
}, null, 8, ["
|
|
4038
|
-
]);
|
|
4042
|
+
}, null, 8, ["style", "item", "topMenuItems", "menuBar"])) : N("", !0)
|
|
4043
|
+
], 40, Ps);
|
|
4039
4044
|
}), 128))
|
|
4040
4045
|
])
|
|
4041
|
-
], 2)) :
|
|
4046
|
+
], 2)) : N("", !0);
|
|
4042
4047
|
}
|
|
4043
|
-
const
|
|
4048
|
+
const _s = /* @__PURE__ */ Se(ks, [["render", Fs]]), Cs = {
|
|
4044
4049
|
name: "TopMenuItems",
|
|
4045
4050
|
components: {
|
|
4046
4051
|
FontAwesomeIcon: Re,
|
|
4047
|
-
TopSubMenuItems:
|
|
4052
|
+
TopSubMenuItems: _s
|
|
4048
4053
|
},
|
|
4049
4054
|
props: {
|
|
4050
4055
|
topMenuItems: {
|
|
@@ -4082,22 +4087,28 @@ const Fs = /* @__PURE__ */ Se(ks, [["render", Ts]]), _s = {
|
|
|
4082
4087
|
},
|
|
4083
4088
|
hoverOpenTopMenuItem(e, t) {
|
|
4084
4089
|
var n;
|
|
4085
|
-
this.menuTimeout && clearTimeout(this.menuTimeout),
|
|
4090
|
+
if (this.menuTimeout && clearTimeout(this.menuTimeout), t.opened) {
|
|
4091
|
+
this.menuTimeout = null;
|
|
4092
|
+
return;
|
|
4093
|
+
}
|
|
4094
|
+
(n = document.querySelector(`.horizontal-top-menu-item-${t.id}`)) == null || n.classList.add("menu-hover"), this.closeMenuTabs(this.topMenuItems);
|
|
4086
4095
|
for (const a of document.querySelectorAll(".top-sub-menu-items"))
|
|
4087
4096
|
a.classList.remove("tooltip-opened");
|
|
4088
4097
|
this.menuTimeout = setTimeout(() => {
|
|
4089
|
-
t.opened = !0, this.
|
|
4098
|
+
t.opened = !0, this.menuTimeout = null;
|
|
4090
4099
|
}, 200);
|
|
4091
4100
|
},
|
|
4092
4101
|
closeTopMenuItem(e, t) {
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4102
|
+
const n = document.querySelector(
|
|
4103
|
+
`.horizontal-top-menu-item-${t.id}`
|
|
4104
|
+
);
|
|
4105
|
+
n == null || n.classList.remove("menu-hover"), this.menuTimeout && clearTimeout(this.menuTimeout), this.menuTimeout = setTimeout(() => {
|
|
4106
|
+
t.opened = !1, t.openIcon = L, this.closeSubItems(t), this.menuTimeout = null;
|
|
4096
4107
|
}, 200);
|
|
4097
4108
|
},
|
|
4098
4109
|
closeTopMenu(e, t) {
|
|
4099
4110
|
var n;
|
|
4100
|
-
(n = t.items) != null && n.length || (t.opened = !1, t.openIcon =
|
|
4111
|
+
(n = t.items) != null && n.length || (t.opened = !1, t.openIcon = L);
|
|
4101
4112
|
},
|
|
4102
4113
|
openMenuItem(e, t) {
|
|
4103
4114
|
var n;
|
|
@@ -4108,25 +4119,24 @@ const Fs = /* @__PURE__ */ Se(ks, [["render", Ts]]), _s = {
|
|
|
4108
4119
|
},
|
|
4109
4120
|
closeMenuTabs(e) {
|
|
4110
4121
|
for (const t of e)
|
|
4111
|
-
t.opened = !1, t.openIcon =
|
|
4122
|
+
t.opened = !1, t.openIcon = L, this.closeSubItems(t);
|
|
4112
4123
|
},
|
|
4113
4124
|
closeSubItems(e) {
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
for (const n of e.items || [])
|
|
4117
|
-
n.opened = !1, (t = n.items) != null && t.length && this.closeSubItems(n);
|
|
4125
|
+
for (const t of e.items ?? [])
|
|
4126
|
+
t.opened = !1, t.openIcon = L, this.closeSubItems(t);
|
|
4118
4127
|
}
|
|
4119
4128
|
}
|
|
4120
|
-
},
|
|
4121
|
-
function
|
|
4122
|
-
const o =
|
|
4123
|
-
return w(), P("div",
|
|
4129
|
+
}, Es = { class: "horizontal-top-menu" }, Ns = ["onMouseenter", "onMouseleave"], js = ["onClick", "onMouseleave"], Ls = { key: 0 };
|
|
4130
|
+
function $s(e, t, n, a, r, i) {
|
|
4131
|
+
const o = B("FontAwesomeIcon"), s = B("TopSubMenuItems");
|
|
4132
|
+
return w(), P("div", Es, [
|
|
4124
4133
|
(w(!0), P(re, null, ie(r.topMenuItems, (l) => {
|
|
4125
4134
|
var u, c;
|
|
4126
4135
|
return w(), P("div", {
|
|
4127
4136
|
key: l.id,
|
|
4128
|
-
class:
|
|
4129
|
-
onMouseenter: (d) => i.hoverOpenTopMenuItem(d, l)
|
|
4137
|
+
class: E(["horizontal-top-menu-item", { "menu-hover": l.opened, active: l.opened }]),
|
|
4138
|
+
onMouseenter: (d) => i.hoverOpenTopMenuItem(d, l),
|
|
4139
|
+
onMouseleave: (d) => i.closeTopMenuItem(d, l)
|
|
4130
4140
|
}, [
|
|
4131
4141
|
C("div", {
|
|
4132
4142
|
class: "top-menu-item-heading",
|
|
@@ -4134,28 +4144,27 @@ function Ls(e, t, n, a, r, i) {
|
|
|
4134
4144
|
onMouseleave: (d) => i.closeTopMenu(d, l)
|
|
4135
4145
|
}, [
|
|
4136
4146
|
C("div", null, be(l.name), 1),
|
|
4137
|
-
(u = l.items) != null && u.length ? (w(), P("div",
|
|
4147
|
+
(u = l.items) != null && u.length ? (w(), P("div", Ls, [
|
|
4138
4148
|
J(o, {
|
|
4139
4149
|
size: "sm",
|
|
4140
|
-
class:
|
|
4150
|
+
class: E({ "icon-opened": l.opened }),
|
|
4141
4151
|
icon: l.openIcon
|
|
4142
4152
|
}, null, 8, ["class", "icon"])
|
|
4143
|
-
])) :
|
|
4144
|
-
], 40,
|
|
4153
|
+
])) : N("", !0)
|
|
4154
|
+
], 40, js),
|
|
4145
4155
|
(c = l.items) != null && c.length ? (w(), ye(s, {
|
|
4146
4156
|
key: 0,
|
|
4147
|
-
onMouseleave: (d) => i.closeTopMenuItem(d, l),
|
|
4148
4157
|
item: l,
|
|
4149
4158
|
topMenuItems: r.topMenuItems,
|
|
4150
4159
|
menuBar: r.menuBar,
|
|
4151
4160
|
onClick: t[0] || (t[0] = mn(() => {
|
|
4152
4161
|
}, ["stop"]))
|
|
4153
|
-
}, null, 8, ["
|
|
4154
|
-
], 42,
|
|
4162
|
+
}, null, 8, ["item", "topMenuItems", "menuBar"])) : N("", !0)
|
|
4163
|
+
], 42, Ns);
|
|
4155
4164
|
}), 128))
|
|
4156
4165
|
]);
|
|
4157
4166
|
}
|
|
4158
|
-
const
|
|
4167
|
+
const Bs = /* @__PURE__ */ Se(Cs, [["render", $s], ["__scopeId", "data-v-86faac3c"]]), un = [
|
|
4159
4168
|
{
|
|
4160
4169
|
name: "Light",
|
|
4161
4170
|
value: "light",
|
|
@@ -4196,13 +4205,13 @@ const $s = /* @__PURE__ */ Se(_s, [["render", Ls], ["__scopeId", "data-v-9060ac8
|
|
|
4196
4205
|
text: "#000000",
|
|
4197
4206
|
iconColor: "#000000"
|
|
4198
4207
|
}
|
|
4199
|
-
],
|
|
4208
|
+
], zs = je({
|
|
4200
4209
|
name: "MenuPlate",
|
|
4201
4210
|
components: {
|
|
4202
4211
|
FontAwesomeIcon: Re,
|
|
4203
4212
|
MenuItem: xa,
|
|
4204
4213
|
SubMenuItems: As,
|
|
4205
|
-
TopMenuItem:
|
|
4214
|
+
TopMenuItem: Bs
|
|
4206
4215
|
},
|
|
4207
4216
|
props: {
|
|
4208
4217
|
initialMenuBar: {
|
|
@@ -4257,7 +4266,7 @@ const $s = /* @__PURE__ */ Se(_s, [["render", Ls], ["__scopeId", "data-v-9060ac8
|
|
|
4257
4266
|
data() {
|
|
4258
4267
|
return {
|
|
4259
4268
|
menuBar: this.initialMenuBar,
|
|
4260
|
-
faChevronDown:
|
|
4269
|
+
faChevronDown: L,
|
|
4261
4270
|
faChevronUp: ce,
|
|
4262
4271
|
topMenuItems: [],
|
|
4263
4272
|
leftMenuItems: [],
|
|
@@ -4310,9 +4319,9 @@ const $s = /* @__PURE__ */ Se(_s, [["render", Ls], ["__scopeId", "data-v-9060ac8
|
|
|
4310
4319
|
handleOpenMenu(e) {
|
|
4311
4320
|
var n;
|
|
4312
4321
|
for (const a of this.leftMenuItems || [])
|
|
4313
|
-
(n = a.items) != null && n.length && (a.opened = !0, a.openIcon = a.openIcon ?
|
|
4322
|
+
(n = a.items) != null && n.length && (a.opened = !0, a.openIcon = a.openIcon ? L : ce);
|
|
4314
4323
|
const t = this.leftMenuItems.find((a) => a.name === e.name);
|
|
4315
|
-
t && (t.opened = !t.opened, t.openIcon = t.opened ?
|
|
4324
|
+
t && (t.opened = !t.opened, t.openIcon = t.opened ? L : ce);
|
|
4316
4325
|
},
|
|
4317
4326
|
openTooltipItem(e, t, n) {
|
|
4318
4327
|
var a;
|
|
@@ -4334,15 +4343,15 @@ const $s = /* @__PURE__ */ Se(_s, [["render", Ls], ["__scopeId", "data-v-9060ac8
|
|
|
4334
4343
|
n.active = !1, (t = n.items) != null && t.length && this.closeItems(n.items);
|
|
4335
4344
|
}
|
|
4336
4345
|
}
|
|
4337
|
-
}),
|
|
4346
|
+
}), Ds = { class: "menu-container" }, Rs = { class: "horizontal-menu" }, Ws = { class: "menu-button" }, Us = ["onMouseenter"], Ys = ["onClick"], Hs = {
|
|
4338
4347
|
key: 0,
|
|
4339
4348
|
class: "loader"
|
|
4340
4349
|
};
|
|
4341
|
-
function
|
|
4342
|
-
const o =
|
|
4343
|
-
return w(), P("div",
|
|
4344
|
-
C("div",
|
|
4345
|
-
C("div",
|
|
4350
|
+
function Gs(e, t, n, a, r, i) {
|
|
4351
|
+
const o = B("FontAwesomeIcon"), s = B("TopMenuItem"), l = B("MenuItem"), u = B("SubMenuItems");
|
|
4352
|
+
return w(), P("div", Ds, [
|
|
4353
|
+
C("div", Rs, [
|
|
4354
|
+
C("div", Ws, [
|
|
4346
4355
|
C("div", {
|
|
4347
4356
|
class: "menu-icon",
|
|
4348
4357
|
onClick: t[0] || (t[0] = (c) => e.openVerticalMenu(c))
|
|
@@ -4351,7 +4360,7 @@ function Hs(e, t, n, a, r, i) {
|
|
|
4351
4360
|
key: 0,
|
|
4352
4361
|
icon: e.menuBar.icon,
|
|
4353
4362
|
size: "1x"
|
|
4354
|
-
}, null, 8, ["icon"])) :
|
|
4363
|
+
}, null, 8, ["icon"])) : N("", !0)
|
|
4355
4364
|
])
|
|
4356
4365
|
]),
|
|
4357
4366
|
J(s, {
|
|
@@ -4360,17 +4369,17 @@ function Hs(e, t, n, a, r, i) {
|
|
|
4360
4369
|
}, null, 8, ["topMenuItems", "menuBar"])
|
|
4361
4370
|
]),
|
|
4362
4371
|
C("div", {
|
|
4363
|
-
class:
|
|
4372
|
+
class: E(["vertical-menu", { "vertical-menu-opened": e.menuBar.opened }])
|
|
4364
4373
|
}, [
|
|
4365
4374
|
(w(!0), P(re, null, ie(e.leftMenuItems, (c, d) => {
|
|
4366
4375
|
var p, g;
|
|
4367
4376
|
return w(), P("div", {
|
|
4368
4377
|
key: d,
|
|
4369
|
-
class:
|
|
4378
|
+
class: E(["menu-item-heading", { "item-active": c.active }]),
|
|
4370
4379
|
onMouseenter: (b) => e.showTooltipItems(b, c.items)
|
|
4371
4380
|
}, [
|
|
4372
4381
|
C("div", {
|
|
4373
|
-
class:
|
|
4382
|
+
class: E(["item", { "menu-item-opened": e.menuBar.opened }])
|
|
4374
4383
|
}, [
|
|
4375
4384
|
J(l, {
|
|
4376
4385
|
item: c,
|
|
@@ -4388,7 +4397,7 @@ function Hs(e, t, n, a, r, i) {
|
|
|
4388
4397
|
]),
|
|
4389
4398
|
e.tooltip && ((p = c.items) != null && p.length) && !e.menuBar.opened ? (w(), P("div", {
|
|
4390
4399
|
key: 0,
|
|
4391
|
-
class:
|
|
4400
|
+
class: E([
|
|
4392
4401
|
"active-tooltip",
|
|
4393
4402
|
{
|
|
4394
4403
|
"tooltip-opened": e.tooltip && ((g = c.items) == null ? void 0 : g.length) && !e.menuBar.opened
|
|
@@ -4400,18 +4409,18 @@ function Hs(e, t, n, a, r, i) {
|
|
|
4400
4409
|
key: b.name,
|
|
4401
4410
|
class: "tooltip-item",
|
|
4402
4411
|
onClick: (I) => e.openTooltipItem(I, b, c)
|
|
4403
|
-
}, be(b.name), 9,
|
|
4404
|
-
], 34)) :
|
|
4412
|
+
}, be(b.name), 9, Ys))), 128))
|
|
4413
|
+
], 34)) : N("", !0)
|
|
4405
4414
|
], 2)
|
|
4406
|
-
], 42,
|
|
4415
|
+
], 42, Us);
|
|
4407
4416
|
}), 128))
|
|
4408
4417
|
], 2),
|
|
4409
4418
|
C("div", {
|
|
4410
|
-
class:
|
|
4419
|
+
class: E(["main", { "main-loading": e.menuBar.loading }])
|
|
4411
4420
|
}, [
|
|
4412
4421
|
Pa(e.$slots, "handler", {}, void 0, !0)
|
|
4413
4422
|
], 2),
|
|
4414
|
-
e.menuBar.loading && e.loader ? (w(), P("div",
|
|
4423
|
+
e.menuBar.loading && e.loader ? (w(), P("div", Hs, [...t[4] || (t[4] = [
|
|
4415
4424
|
C("svg", {
|
|
4416
4425
|
class: "loader-icon",
|
|
4417
4426
|
viewBox: "0 0 64 64",
|
|
@@ -4430,14 +4439,14 @@ function Hs(e, t, n, a, r, i) {
|
|
|
4430
4439
|
r: "24"
|
|
4431
4440
|
})
|
|
4432
4441
|
], -1)
|
|
4433
|
-
])])) :
|
|
4442
|
+
])])) : N("", !0)
|
|
4434
4443
|
]);
|
|
4435
4444
|
}
|
|
4436
|
-
const
|
|
4445
|
+
const Js = /* @__PURE__ */ Se(zs, [["render", Gs], ["__scopeId", "data-v-7da38053"]]);
|
|
4437
4446
|
export {
|
|
4438
|
-
|
|
4447
|
+
Vs as LeftMenuModel,
|
|
4439
4448
|
Fa as MenuBarModel,
|
|
4440
|
-
|
|
4441
|
-
|
|
4449
|
+
qs as MenuItemModel,
|
|
4450
|
+
Js as MenuPlate,
|
|
4442
4451
|
Ot as ThemeModel
|
|
4443
4452
|
};
|