@abi-software/flatmapvuer 1.10.3-beta.1 → 1.10.3-beta.2
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/flatmapvuer.js +431 -427
- package/dist/flatmapvuer.umd.cjs +4 -4
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/FlatmapVuer.vue +11 -1
package/dist/flatmapvuer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Loading as Ts, CircleCheck as Nl, CircleClose as As, Close as ri, ArrowDown as ki, Warning as Os, WarningFilled as Ms, ArrowLeft as Ps } from "@element-plus/icons-vue";
|
|
2
|
-
import { getCurrentScope as Bl, onScopeDispose as _s, unref as v, getCurrentInstance as me, onMounted as pe, nextTick as ue, ref as
|
|
2
|
+
import { getCurrentScope as Bl, onScopeDispose as _s, unref as v, getCurrentInstance as me, onMounted as pe, nextTick as ue, ref as M, readonly as xs, watch as W, warn as Vl, watchEffect as Ls, onBeforeUnmount as Be, inject as G, computed as y, isRef as lt, shallowRef as po, onBeforeMount as zl, provide as fe, defineComponent as B, openBlock as C, createElementBlock as F, mergeProps as Nt, renderSlot as H, toRef as Je, onUnmounted as Hl, createBlock as V, Transition as Bn, withCtx as T, withDirectives as oe, createElementVNode as R, normalizeClass as _, normalizeStyle as ce, vShow as Ee, Fragment as ye, createVNode as x, reactive as ut, onActivated as jl, onUpdated as Ul, resolveDynamicComponent as $e, createCommentVNode as z, cloneVNode as Kl, Text as Rs, Comment as Wl, Teleport as Gl, onDeactivated as ql, toDisplayString as ie, useSlots as Eo, toRaw as ho, withModifiers as re, vModelCheckbox as vo, createTextVNode as Z, toRefs as un, vModelRadio as $s, h as Yt, createSlots as Fs, resolveComponent as Re, resolveDirective as Jl, toHandlerKey as Yl, renderList as at, withKeys as Cn, vModelText as Zl, createApp as Ql, createStaticVNode as Xl, markRaw as qe } from "vue";
|
|
3
3
|
import { MapSvgIcon as eu, MapSvgSpriteColor as tu } from "@abi-software/svg-sprite";
|
|
4
4
|
import { Tooltip as nu, TreeControls as ou, DrawToolbar as iu, fetchLabels as au, extractOriginItems as su, extractViaItems as ru, extractDestinationItems as lu } from "@abi-software/map-utilities";
|
|
5
5
|
import * as Ds from "https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.2.8/+esm";
|
|
@@ -28,7 +28,7 @@ function hu(e, t = !0) {
|
|
|
28
28
|
function ua(e, t, n = {}) {
|
|
29
29
|
const {
|
|
30
30
|
immediate: o = !0
|
|
31
|
-
} = n, i =
|
|
31
|
+
} = n, i = M(!1);
|
|
32
32
|
let a = null;
|
|
33
33
|
function s() {
|
|
34
34
|
a && (clearTimeout(a), a = null);
|
|
@@ -105,7 +105,7 @@ function vu(e, t, n = {}) {
|
|
|
105
105
|
return () => c.forEach((f) => f());
|
|
106
106
|
}
|
|
107
107
|
function Bs(e, t = !1) {
|
|
108
|
-
const n =
|
|
108
|
+
const n = M(), o = () => n.value = !!e();
|
|
109
109
|
return o(), hu(o, t), n;
|
|
110
110
|
}
|
|
111
111
|
const da = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, fa = "__vueuse_ssr_handlers__";
|
|
@@ -898,16 +898,16 @@ function ep(e, t, n, o, i, a) {
|
|
|
898
898
|
f = r[d];
|
|
899
899
|
var b = e[f], w = t[f];
|
|
900
900
|
if (o)
|
|
901
|
-
var
|
|
902
|
-
if (!(
|
|
901
|
+
var P = s ? o(w, b, f, t, e, a) : o(b, w, f, e, t, a);
|
|
902
|
+
if (!(P === void 0 ? b === w || i(b, w, n, o, a) : P)) {
|
|
903
903
|
h = !1;
|
|
904
904
|
break;
|
|
905
905
|
}
|
|
906
906
|
g || (g = f == "constructor");
|
|
907
907
|
}
|
|
908
908
|
if (h && !g) {
|
|
909
|
-
var
|
|
910
|
-
|
|
909
|
+
var k = e.constructor, E = t.constructor;
|
|
910
|
+
k != E && "constructor" in e && "constructor" in t && !(typeof k == "function" && k instanceof k && typeof E == "function" && E instanceof E) && (h = !1);
|
|
911
911
|
}
|
|
912
912
|
return a.delete(e), a.delete(t), h;
|
|
913
913
|
}
|
|
@@ -1051,13 +1051,13 @@ function Sp(e, t, n) {
|
|
|
1051
1051
|
function w(A) {
|
|
1052
1052
|
return r = void 0, f && o ? m(A) : (o = i = void 0, s);
|
|
1053
1053
|
}
|
|
1054
|
-
function
|
|
1054
|
+
function P() {
|
|
1055
1055
|
r !== void 0 && clearTimeout(r), l = 0, o = u = i = r = void 0;
|
|
1056
1056
|
}
|
|
1057
|
-
function
|
|
1057
|
+
function k() {
|
|
1058
1058
|
return r === void 0 ? s : w(Yo());
|
|
1059
1059
|
}
|
|
1060
|
-
function
|
|
1060
|
+
function E() {
|
|
1061
1061
|
var A = Yo(), O = g(A);
|
|
1062
1062
|
if (o = arguments, i = this, u = A, O) {
|
|
1063
1063
|
if (r === void 0)
|
|
@@ -1067,7 +1067,7 @@ function Sp(e, t, n) {
|
|
|
1067
1067
|
}
|
|
1068
1068
|
return r === void 0 && (r = setTimeout(b, t)), s;
|
|
1069
1069
|
}
|
|
1070
|
-
return
|
|
1070
|
+
return E.cancel = P, E.flush = k, E;
|
|
1071
1071
|
}
|
|
1072
1072
|
function Cp(e, t, n) {
|
|
1073
1073
|
var o = e == null ? 0 : e.length;
|
|
@@ -1279,9 +1279,9 @@ For more detail, please visit: ${i}
|
|
|
1279
1279
|
offsetY: 0
|
|
1280
1280
|
};
|
|
1281
1281
|
const a = (l) => {
|
|
1282
|
-
const c = l.clientX, d = l.clientY, { offsetX: f, offsetY: m } = i, p = e.value.getBoundingClientRect(), h = p.left, g = p.top, b = p.width, w = p.height,
|
|
1283
|
-
let U = f +
|
|
1284
|
-
o != null && o.value || (U = Math.min(Math.max(U,
|
|
1282
|
+
const c = l.clientX, d = l.clientY, { offsetX: f, offsetY: m } = i, p = e.value.getBoundingClientRect(), h = p.left, g = p.top, b = p.width, w = p.height, P = document.documentElement.clientWidth, k = document.documentElement.clientHeight, E = -h + f, A = -g + m, O = P - h - b + f, D = k - g - w + m, N = (I) => {
|
|
1283
|
+
let U = f + I.clientX - c, J = m + I.clientY - d;
|
|
1284
|
+
o != null && o.value || (U = Math.min(Math.max(U, E), O), J = Math.min(Math.max(J, A), D)), i = {
|
|
1285
1285
|
offsetX: U,
|
|
1286
1286
|
offsetY: J
|
|
1287
1287
|
}, e.value && (e.value.style.transform = `translate(${Ft(U)}, ${Ft(J)})`);
|
|
@@ -1492,20 +1492,20 @@ const Bp = (e) => (t, n) => Vp(t, n, v(e)), Vp = (e, t, n) => it(n, e, e).replac
|
|
|
1492
1492
|
var a;
|
|
1493
1493
|
return `${(a = t == null ? void 0 : t[i]) != null ? a : `{${i}}`}`;
|
|
1494
1494
|
}), zp = (e) => {
|
|
1495
|
-
const t = y(() => v(e).name), n = lt(e) ? e :
|
|
1495
|
+
const t = y(() => v(e).name), n = lt(e) ? e : M(e);
|
|
1496
1496
|
return {
|
|
1497
1497
|
lang: t,
|
|
1498
1498
|
locale: n,
|
|
1499
1499
|
t: Bp(e)
|
|
1500
1500
|
};
|
|
1501
1501
|
}, ur = Symbol("localeContextKey"), $i = (e) => {
|
|
1502
|
-
const t = e || G(ur,
|
|
1502
|
+
const t = e || G(ur, M());
|
|
1503
1503
|
return zp(y(() => t.value || Np));
|
|
1504
1504
|
}, On = "el", Hp = "is-", Pt = (e, t, n, o, i) => {
|
|
1505
1505
|
let a = `${e}-${t}`;
|
|
1506
1506
|
return n && (a += `-${n}`), o && (a += `__${o}`), i && (a += `--${i}`), a;
|
|
1507
1507
|
}, cr = Symbol("namespaceContextKey"), Fi = (e) => {
|
|
1508
|
-
const t = e || (me() ? G(cr,
|
|
1508
|
+
const t = e || (me() ? G(cr, M(On)) : M(On));
|
|
1509
1509
|
return y(() => v(t) || On);
|
|
1510
1510
|
}, ee = (e, t) => {
|
|
1511
1511
|
const n = Fi(t);
|
|
@@ -1580,30 +1580,30 @@ const Bp = (e) => (t, n) => Vp(t, n, v(e)), Vp = (e, t, n) => it(n, e, e).replac
|
|
|
1580
1580
|
s.value !== !0 && (s.value = !0, r && (r.value = O), Se(c) && c(O));
|
|
1581
1581
|
}, w = (O) => {
|
|
1582
1582
|
s.value !== !1 && (s.value = !1, r && (r.value = O), Se(d) && d(O));
|
|
1583
|
-
},
|
|
1583
|
+
}, P = (O) => {
|
|
1584
1584
|
if (p.disabled === !0 || Se(l) && !l())
|
|
1585
1585
|
return;
|
|
1586
1586
|
const D = h.value && se;
|
|
1587
1587
|
D && m(t, !0), (g.value || !D) && b(O);
|
|
1588
|
-
},
|
|
1588
|
+
}, k = (O) => {
|
|
1589
1589
|
if (p.disabled === !0 || !se)
|
|
1590
1590
|
return;
|
|
1591
1591
|
const D = h.value && se;
|
|
1592
1592
|
D && m(t, !1), (g.value || !D) && w(O);
|
|
1593
|
-
},
|
|
1593
|
+
}, E = (O) => {
|
|
1594
1594
|
ct(O) && (p.disabled && O ? h.value && m(t, !1) : s.value !== O && (O ? b() : w()));
|
|
1595
1595
|
}, A = () => {
|
|
1596
|
-
s.value ?
|
|
1596
|
+
s.value ? k() : P();
|
|
1597
1597
|
};
|
|
1598
|
-
return W(() => p[e],
|
|
1598
|
+
return W(() => p[e], E), u && f.appContext.config.globalProperties.$route !== void 0 && W(() => ({
|
|
1599
1599
|
...f.proxy.$route
|
|
1600
1600
|
}), () => {
|
|
1601
|
-
u.value && s.value &&
|
|
1601
|
+
u.value && s.value && k();
|
|
1602
1602
|
}), pe(() => {
|
|
1603
|
-
|
|
1603
|
+
E(p[e]);
|
|
1604
1604
|
}), {
|
|
1605
|
-
hide:
|
|
1606
|
-
show:
|
|
1605
|
+
hide: k,
|
|
1606
|
+
show: P,
|
|
1607
1607
|
toggle: A,
|
|
1608
1608
|
hasUpdateHandler: h
|
|
1609
1609
|
};
|
|
@@ -1760,7 +1760,7 @@ var ch = function(e, t) {
|
|
|
1760
1760
|
function dh(e) {
|
|
1761
1761
|
var t, n = e.state, o = e.name, i = e.options, a = n.elements.arrow, s = n.modifiersData.popperOffsets, r = Ye(n.placement), u = Vi(r), l = [Ae, Ne].indexOf(r) >= 0, c = l ? "height" : "width";
|
|
1762
1762
|
if (!(!a || !s)) {
|
|
1763
|
-
var d = ch(i.padding, n), f = Bi(a), m = u === "y" ? Te : Ae, p = u === "y" ? De : Ne, h = n.rects.reference[c] + n.rects.reference[u] - s[u] - n.rects.popper[c], g = s[u] - n.rects.reference[u], b = jn(a), w = b ? u === "y" ? b.clientHeight || 0 : b.clientWidth || 0 : 0,
|
|
1763
|
+
var d = ch(i.padding, n), f = Bi(a), m = u === "y" ? Te : Ae, p = u === "y" ? De : Ne, h = n.rects.reference[c] + n.rects.reference[u] - s[u] - n.rects.popper[c], g = s[u] - n.rects.reference[u], b = jn(a), w = b ? u === "y" ? b.clientHeight || 0 : b.clientWidth || 0 : 0, P = h / 2 - g / 2, k = d[m], E = w - f[c] - d[p], A = w / 2 - f[c] / 2 + P, O = Mn(k, A, E), D = u;
|
|
1764
1764
|
n.modifiersData[o] = (t = {}, t[D] = O, t.centerOffset = O - A, t);
|
|
1765
1765
|
}
|
|
1766
1766
|
}
|
|
@@ -1780,26 +1780,26 @@ function vh(e) {
|
|
|
1780
1780
|
function qa(e) {
|
|
1781
1781
|
var t, n = e.popper, o = e.popperRect, i = e.placement, a = e.variation, s = e.offsets, r = e.position, u = e.gpuAcceleration, l = e.adaptive, c = e.roundOffsets, d = e.isFixed, f = s.x, m = f === void 0 ? 0 : f, p = s.y, h = p === void 0 ? 0 : p, g = typeof c == "function" ? c({ x: m, y: h }) : { x: m, y: h };
|
|
1782
1782
|
m = g.x, h = g.y;
|
|
1783
|
-
var b = s.hasOwnProperty("x"), w = s.hasOwnProperty("y"),
|
|
1783
|
+
var b = s.hasOwnProperty("x"), w = s.hasOwnProperty("y"), P = Ae, k = Te, E = window;
|
|
1784
1784
|
if (l) {
|
|
1785
1785
|
var A = jn(n), O = "clientHeight", D = "clientWidth";
|
|
1786
1786
|
if (A === Ue(n) && (A = kt(n), dt(A).position !== "static" && r === "absolute" && (O = "scrollHeight", D = "scrollWidth")), A = A, i === Te || (i === Ae || i === Ne) && a === Fn) {
|
|
1787
|
-
|
|
1788
|
-
var N = d && A ===
|
|
1787
|
+
k = De;
|
|
1788
|
+
var N = d && A === E && E.visualViewport ? E.visualViewport.height : A[O];
|
|
1789
1789
|
h -= N - o.height, h *= u ? 1 : -1;
|
|
1790
1790
|
}
|
|
1791
1791
|
if (i === Ae || (i === Te || i === De) && a === Fn) {
|
|
1792
|
-
|
|
1793
|
-
var j = d && A ===
|
|
1792
|
+
P = Ne;
|
|
1793
|
+
var j = d && A === E && E.visualViewport ? E.visualViewport.width : A[D];
|
|
1794
1794
|
m -= j - o.width, m *= u ? 1 : -1;
|
|
1795
1795
|
}
|
|
1796
1796
|
}
|
|
1797
|
-
var
|
|
1797
|
+
var I = Object.assign({ position: r }, l && hh), U = c === !0 ? vh({ x: m, y: h }) : { x: m, y: h };
|
|
1798
1798
|
if (m = U.x, h = U.y, u) {
|
|
1799
1799
|
var J;
|
|
1800
|
-
return Object.assign({},
|
|
1800
|
+
return Object.assign({}, I, (J = {}, J[k] = w ? "0" : "", J[P] = b ? "0" : "", J.transform = (E.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + h + "px)" : "translate3d(" + m + "px, " + h + "px, 0)", J));
|
|
1801
1801
|
}
|
|
1802
|
-
return Object.assign({},
|
|
1802
|
+
return Object.assign({}, I, (t = {}, t[k] = w ? h + "px" : "", t[P] = b ? m + "px" : "", t.transform = "", t));
|
|
1803
1803
|
}
|
|
1804
1804
|
function mh(e) {
|
|
1805
1805
|
var t = e.state, n = e.options, o = n.gpuAcceleration, i = o === void 0 ? !0 : o, a = n.adaptive, s = a === void 0 ? !0 : a, r = n.roundOffsets, u = r === void 0 ? !0 : r, l = { placement: Ye(t.placement), variation: rn(t.placement), popper: t.elements.popper, popperRect: t.rects.popper, gpuAcceleration: i, isFixed: t.options.strategy === "fixed" };
|
|
@@ -1914,12 +1914,12 @@ function Sr(e) {
|
|
|
1914
1914
|
}
|
|
1915
1915
|
function Dn(e, t) {
|
|
1916
1916
|
t === void 0 && (t = {});
|
|
1917
|
-
var n = t, o = n.placement, i = o === void 0 ? e.placement : o, a = n.boundary, s = a === void 0 ? Gp : a, r = n.rootBoundary, u = r === void 0 ? fr : r, l = n.elementContext, c = l === void 0 ? kn : l, d = n.altBoundary, f = d === void 0 ? !1 : d, m = n.padding, p = m === void 0 ? 0 : m, h = mr(typeof p != "number" ? p : gr(p, Hn)), g = c === kn ? qp : kn, b = e.rects.popper, w = e.elements[f ? g : c],
|
|
1917
|
+
var n = t, o = n.placement, i = o === void 0 ? e.placement : o, a = n.boundary, s = a === void 0 ? Gp : a, r = n.rootBoundary, u = r === void 0 ? fr : r, l = n.elementContext, c = l === void 0 ? kn : l, d = n.altBoundary, f = d === void 0 ? !1 : d, m = n.padding, p = m === void 0 ? 0 : m, h = mr(typeof p != "number" ? p : gr(p, Hn)), g = c === kn ? qp : kn, b = e.rects.popper, w = e.elements[f ? g : c], P = Ih(on(w) ? w : w.contextElement || kt(e.elements.popper), s, u), k = sn(e.elements.reference), E = Sr({ reference: k, element: b, strategy: "absolute", placement: i }), A = mi(Object.assign({}, b, E)), O = c === kn ? A : k, D = { top: P.top - O.top + h.top, bottom: O.bottom - P.bottom + h.bottom, left: P.left - O.left + h.left, right: O.right - P.right + h.right }, N = e.modifiersData.offset;
|
|
1918
1918
|
if (c === kn && N) {
|
|
1919
1919
|
var j = N[i];
|
|
1920
|
-
Object.keys(D).forEach(function(
|
|
1921
|
-
var U = [Ne, De].indexOf(
|
|
1922
|
-
D[
|
|
1920
|
+
Object.keys(D).forEach(function(I) {
|
|
1921
|
+
var U = [Ne, De].indexOf(I) >= 0 ? 1 : -1, J = [Te, De].indexOf(I) >= 0 ? "y" : "x";
|
|
1922
|
+
D[I] += j[J] * U;
|
|
1923
1923
|
});
|
|
1924
1924
|
}
|
|
1925
1925
|
return D;
|
|
@@ -1947,22 +1947,22 @@ function Th(e) {
|
|
|
1947
1947
|
function Ah(e) {
|
|
1948
1948
|
var t = e.state, n = e.options, o = e.name;
|
|
1949
1949
|
if (!t.modifiersData[o]._skip) {
|
|
1950
|
-
for (var i = n.mainAxis, a = i === void 0 ? !0 : i, s = n.altAxis, r = s === void 0 ? !0 : s, u = n.fallbackPlacements, l = n.padding, c = n.boundary, d = n.rootBoundary, f = n.altBoundary, m = n.flipVariations, p = m === void 0 ? !0 : m, h = n.allowedAutoPlacements, g = t.options.placement, b = Ye(g), w = b === g,
|
|
1950
|
+
for (var i = n.mainAxis, a = i === void 0 ? !0 : i, s = n.altAxis, r = s === void 0 ? !0 : s, u = n.fallbackPlacements, l = n.padding, c = n.boundary, d = n.rootBoundary, f = n.altBoundary, m = n.flipVariations, p = m === void 0 ? !0 : m, h = n.allowedAutoPlacements, g = t.options.placement, b = Ye(g), w = b === g, P = u || (w || !p ? [co(g)] : Th(g)), k = [g].concat(P).reduce(function(We, Ce) {
|
|
1951
1951
|
return We.concat(Ye(Ce) === Di ? kh(t, { placement: Ce, boundary: c, rootBoundary: d, padding: l, flipVariations: p, allowedAutoPlacements: h }) : Ce);
|
|
1952
|
-
}, []),
|
|
1953
|
-
var
|
|
1954
|
-
|
|
1952
|
+
}, []), E = t.rects.reference, A = t.rects.popper, O = /* @__PURE__ */ new Map(), D = !0, N = k[0], j = 0; j < k.length; j++) {
|
|
1953
|
+
var I = k[j], U = Ye(I), J = rn(I) === nn, de = [Te, De].indexOf(U) >= 0, Y = de ? "width" : "height", $ = Dn(t, { placement: I, boundary: c, rootBoundary: d, altBoundary: f, padding: l }), te = de ? J ? Ne : Ae : J ? De : Te;
|
|
1954
|
+
E[Y] > A[Y] && (te = co(te));
|
|
1955
1955
|
var Le = co(te), ge = [];
|
|
1956
1956
|
if (a && ge.push($[U] <= 0), r && ge.push($[te] <= 0, $[Le] <= 0), ge.every(function(We) {
|
|
1957
1957
|
return We;
|
|
1958
1958
|
})) {
|
|
1959
|
-
N =
|
|
1959
|
+
N = I, D = !1;
|
|
1960
1960
|
break;
|
|
1961
1961
|
}
|
|
1962
|
-
O.set(
|
|
1962
|
+
O.set(I, ge);
|
|
1963
1963
|
}
|
|
1964
1964
|
if (D) for (var be = p ? 3 : 1, Pe = function(We) {
|
|
1965
|
-
var Ce =
|
|
1965
|
+
var Ce = k.find(function(le) {
|
|
1966
1966
|
var Tt = O.get(le);
|
|
1967
1967
|
if (Tt) return Tt.slice(0, We).every(function(ht) {
|
|
1968
1968
|
return ht;
|
|
@@ -2010,15 +2010,15 @@ function $h(e) {
|
|
|
2010
2010
|
return e === "x" ? "y" : "x";
|
|
2011
2011
|
}
|
|
2012
2012
|
function Fh(e) {
|
|
2013
|
-
var t = e.state, n = e.options, o = e.name, i = n.mainAxis, a = i === void 0 ? !0 : i, s = n.altAxis, r = s === void 0 ? !1 : s, u = n.boundary, l = n.rootBoundary, c = n.altBoundary, d = n.padding, f = n.tether, m = f === void 0 ? !0 : f, p = n.tetherOffset, h = p === void 0 ? 0 : p, g = Dn(t, { boundary: u, rootBoundary: l, padding: d, altBoundary: c }), b = Ye(t.placement), w = rn(t.placement),
|
|
2013
|
+
var t = e.state, n = e.options, o = e.name, i = n.mainAxis, a = i === void 0 ? !0 : i, s = n.altAxis, r = s === void 0 ? !1 : s, u = n.boundary, l = n.rootBoundary, c = n.altBoundary, d = n.padding, f = n.tether, m = f === void 0 ? !0 : f, p = n.tetherOffset, h = p === void 0 ? 0 : p, g = Dn(t, { boundary: u, rootBoundary: l, padding: d, altBoundary: c }), b = Ye(t.placement), w = rn(t.placement), P = !w, k = Vi(b), E = $h(k), A = t.modifiersData.popperOffsets, O = t.rects.reference, D = t.rects.popper, N = typeof h == "function" ? h(Object.assign({}, t.rects, { placement: t.placement })) : h, j = typeof N == "number" ? { mainAxis: N, altAxis: N } : Object.assign({ mainAxis: 0, altAxis: 0 }, N), I = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, U = { x: 0, y: 0 };
|
|
2014
2014
|
if (A) {
|
|
2015
2015
|
if (a) {
|
|
2016
|
-
var J, de =
|
|
2017
|
-
A[
|
|
2016
|
+
var J, de = k === "y" ? Te : Ae, Y = k === "y" ? De : Ne, $ = k === "y" ? "height" : "width", te = A[k], Le = te + g[de], ge = te - g[Y], be = m ? -D[$] / 2 : 0, Pe = w === nn ? O[$] : D[$], Ke = w === nn ? -D[$] : -O[$], jt = t.elements.arrow, We = m && jt ? Bi(jt) : { width: 0, height: 0 }, Ce = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : vr(), le = Ce[de], Tt = Ce[Y], ht = Mn(0, O[$], We[$]), Wn = P ? O[$] / 2 - be - ht - le - j.mainAxis : Pe - ht - le - j.mainAxis, Gn = P ? -O[$] / 2 + be + ht + Tt + j.mainAxis : Ke + ht + Tt + j.mainAxis, hn = t.elements.arrow && jn(t.elements.arrow), Ho = hn ? k === "y" ? hn.clientTop || 0 : hn.clientLeft || 0 : 0, qn = (J = I == null ? void 0 : I[k]) != null ? J : 0, jo = te + Wn - qn - Ho, Uo = te + Gn - qn, At = Mn(m ? yo(Le, jo) : Le, te, m ? Rt(ge, Uo) : ge);
|
|
2017
|
+
A[k] = At, U[k] = At - te;
|
|
2018
2018
|
}
|
|
2019
2019
|
if (r) {
|
|
2020
|
-
var vn, Ut =
|
|
2021
|
-
A[
|
|
2020
|
+
var vn, Ut = k === "x" ? Te : Ae, Jn = k === "x" ? De : Ne, tt = A[E], Kt = E === "y" ? "height" : "width", mn = tt + g[Ut], Yn = tt - g[Jn], Ot = [Te, Ae].indexOf(b) !== -1, gn = (vn = I == null ? void 0 : I[E]) != null ? vn : 0, bn = Ot ? mn : tt - O[Kt] - D[Kt] - gn + j.altAxis, yn = Ot ? tt + O[Kt] + D[Kt] - gn - j.altAxis : Yn, wn = m && Ot ? uh(bn, tt, yn) : Mn(m ? bn : mn, tt, m ? yn : Yn);
|
|
2021
|
+
A[E] = wn, U[E] = wn - tt;
|
|
2022
2022
|
}
|
|
2023
2023
|
t.modifiersData[o] = U;
|
|
2024
2024
|
}
|
|
@@ -2116,8 +2116,8 @@ function Ui(e) {
|
|
|
2116
2116
|
l.reset = !1, w = -1;
|
|
2117
2117
|
continue;
|
|
2118
2118
|
}
|
|
2119
|
-
var
|
|
2120
|
-
typeof
|
|
2119
|
+
var P = l.orderedModifiers[w], k = P.fn, E = P.options, A = E === void 0 ? {} : E, O = P.name;
|
|
2120
|
+
typeof k == "function" && (l = k({ state: l, options: A, name: O, instance: f }) || l);
|
|
2121
2121
|
}
|
|
2122
2122
|
}
|
|
2123
2123
|
}
|
|
@@ -2134,11 +2134,11 @@ function Ui(e) {
|
|
|
2134
2134
|
});
|
|
2135
2135
|
function m() {
|
|
2136
2136
|
l.orderedModifiers.forEach(function(h) {
|
|
2137
|
-
var g = h.name, b = h.options, w = b === void 0 ? {} : b,
|
|
2138
|
-
if (typeof
|
|
2139
|
-
var
|
|
2137
|
+
var g = h.name, b = h.options, w = b === void 0 ? {} : b, P = h.effect;
|
|
2138
|
+
if (typeof P == "function") {
|
|
2139
|
+
var k = P({ state: l, name: g, instance: f, options: w }), E = function() {
|
|
2140
2140
|
};
|
|
2141
|
-
c.push(
|
|
2141
|
+
c.push(k || E);
|
|
2142
2142
|
}
|
|
2143
2143
|
});
|
|
2144
2144
|
}
|
|
@@ -2176,7 +2176,7 @@ const Jh = (e, t, n = {}) => {
|
|
|
2176
2176
|
{ name: "applyStyles", enabled: !1 }
|
|
2177
2177
|
]
|
|
2178
2178
|
};
|
|
2179
|
-
}), a = po(), s =
|
|
2179
|
+
}), a = po(), s = M({
|
|
2180
2180
|
styles: {
|
|
2181
2181
|
popper: {
|
|
2182
2182
|
position: v(i).strategy,
|
|
@@ -2347,7 +2347,7 @@ const kr = () => {
|
|
|
2347
2347
|
}
|
|
2348
2348
|
}), is = {
|
|
2349
2349
|
current: 0
|
|
2350
|
-
}, as =
|
|
2350
|
+
}, as = M(0), Ar = 2e3, ss = Symbol("elZIndexContextKey"), Or = Symbol("zIndexContextKey"), Ki = (e) => {
|
|
2351
2351
|
const t = me() ? G(ss, is) : is, n = e || (me() ? G(Or, void 0) : void 0), o = y(() => {
|
|
2352
2352
|
const s = v(n);
|
|
2353
2353
|
return he(s) ? s : Ar;
|
|
@@ -2372,7 +2372,7 @@ function sv(e, {
|
|
|
2372
2372
|
beforeBlur: o,
|
|
2373
2373
|
afterBlur: i
|
|
2374
2374
|
} = {}) {
|
|
2375
|
-
const a = me(), { emit: s } = a, r = po(), u =
|
|
2375
|
+
const a = me(), { emit: s } = a, r = po(), u = M(!1), l = (f) => {
|
|
2376
2376
|
Se(t) && t(f) || u.value || (u.value = !0, s("focus", f), n == null || n());
|
|
2377
2377
|
}, c = (f) => {
|
|
2378
2378
|
var m;
|
|
@@ -2397,7 +2397,7 @@ function rv({
|
|
|
2397
2397
|
afterComposition: e,
|
|
2398
2398
|
emit: t
|
|
2399
2399
|
}) {
|
|
2400
|
-
const n =
|
|
2400
|
+
const n = M(!1), o = (r) => {
|
|
2401
2401
|
t == null || t("compositionstart", r), n.value = !0;
|
|
2402
2402
|
}, i = (r) => {
|
|
2403
2403
|
var u;
|
|
@@ -2425,7 +2425,7 @@ const Pr = Symbol("emptyValuesContextKey"), lv = "use-empty-values", uv = ["", v
|
|
|
2425
2425
|
validator: (e) => Se(e) ? !e() : !e
|
|
2426
2426
|
}
|
|
2427
2427
|
}), fv = (e, t) => {
|
|
2428
|
-
const n = me() ? G(Pr,
|
|
2428
|
+
const n = me() ? G(Pr, M({})) : M({}), o = y(() => e.emptyValues || n.value.emptyValues || uv), i = y(() => Se(e.valueOnClear) ? e.valueOnClear() : e.valueOnClear !== void 0 ? e.valueOnClear : Se(n.value.valueOnClear) ? n.value.valueOnClear() : n.value.valueOnClear !== void 0 ? n.value.valueOnClear : cv), a = (s) => o.value.includes(s);
|
|
2429
2429
|
return o.value.includes(i.value) || Oe(lv, "value-on-clear should be a value of empty-values"), {
|
|
2430
2430
|
emptyValues: o,
|
|
2431
2431
|
valueOnClear: i,
|
|
@@ -2438,7 +2438,7 @@ const Pr = Symbol("emptyValuesContextKey"), lv = "use-empty-values", uv = ["", v
|
|
|
2438
2438
|
values: ["horizontal", "vertical", "undefined"]
|
|
2439
2439
|
},
|
|
2440
2440
|
ariaControls: String
|
|
2441
|
-
}), Ht = (e) => or(pv, e), _r = Symbol(), wo =
|
|
2441
|
+
}), Ht = (e) => or(pv, e), _r = Symbol(), wo = M();
|
|
2442
2442
|
function Ro(e, t = void 0) {
|
|
2443
2443
|
const n = me() ? G(_r, wo) : wo;
|
|
2444
2444
|
return e ? y(() => {
|
|
@@ -2527,7 +2527,7 @@ const gv = Q({
|
|
|
2527
2527
|
});
|
|
2528
2528
|
var wv = /* @__PURE__ */ X(yv, [["__file", "icon.vue"]]);
|
|
2529
2529
|
const Xe = Me(wv), Wi = Symbol("formContextKey"), So = Symbol("formItemContextKey"), ln = (e, t = {}) => {
|
|
2530
|
-
const n =
|
|
2530
|
+
const n = M(void 0), o = t.prop ? n : dr("size"), i = t.global ? n : av(), a = t.form ? { size: void 0 } : G(Wi, void 0), s = t.formItem ? { size: void 0 } : G(So, void 0);
|
|
2531
2531
|
return y(() => o.value || v(e) || (s == null ? void 0 : s.size) || (a == null ? void 0 : a.size) || i.value || "");
|
|
2532
2532
|
}, $o = (e) => {
|
|
2533
2533
|
const t = dr("disabled"), n = G(Wi, void 0);
|
|
@@ -2543,8 +2543,8 @@ const Xe = Me(wv), Wi = Symbol("formContextKey"), So = Symbol("formItemContextKe
|
|
|
2543
2543
|
disableIdGeneration: n,
|
|
2544
2544
|
disableIdManagement: o
|
|
2545
2545
|
}) => {
|
|
2546
|
-
n || (n =
|
|
2547
|
-
const i =
|
|
2546
|
+
n || (n = M(!1)), o || (o = M(!1));
|
|
2547
|
+
const i = M();
|
|
2548
2548
|
let a;
|
|
2549
2549
|
const s = y(() => {
|
|
2550
2550
|
var r;
|
|
@@ -2604,7 +2604,7 @@ const Xe = Me(wv), Wi = Symbol("formContextKey"), So = Symbol("formItemContextKe
|
|
|
2604
2604
|
setup(e) {
|
|
2605
2605
|
const t = e, n = G(Gi), o = ee("scrollbar");
|
|
2606
2606
|
n || ar(Iv, "can not inject scrollbar context");
|
|
2607
|
-
const i =
|
|
2607
|
+
const i = M(), a = M(), s = M({}), r = M(!1);
|
|
2608
2608
|
let u = !1, l = !1, c = se ? document.onselectstart : null;
|
|
2609
2609
|
const d = y(() => Sv[t.vertical ? "vertical" : "horizontal"]), f = y(() => Cv({
|
|
2610
2610
|
size: t.size,
|
|
@@ -2633,23 +2633,23 @@ const Xe = Me(wv), Wi = Symbol("formContextKey"), So = Symbol("formItemContextKe
|
|
|
2633
2633
|
const D = (i.value.getBoundingClientRect()[d.value.direction] - A[d.value.client]) * -1, N = a.value[d.value.offset] - O, j = (D - N) * 100 * m.value / i.value[d.value.offset];
|
|
2634
2634
|
n.wrapElement[d.value.scroll] = j * n.wrapElement[d.value.scrollSize] / 100;
|
|
2635
2635
|
}, w = () => {
|
|
2636
|
-
u = !1, s.value[d.value.axis] = 0, document.removeEventListener("mousemove", b), document.removeEventListener("mouseup", w),
|
|
2637
|
-
},
|
|
2636
|
+
u = !1, s.value[d.value.axis] = 0, document.removeEventListener("mousemove", b), document.removeEventListener("mouseup", w), E(), l && (r.value = !1);
|
|
2637
|
+
}, P = () => {
|
|
2638
2638
|
l = !1, r.value = !!t.size;
|
|
2639
|
-
},
|
|
2639
|
+
}, k = () => {
|
|
2640
2640
|
l = !0, r.value = u;
|
|
2641
2641
|
};
|
|
2642
2642
|
Be(() => {
|
|
2643
|
-
|
|
2643
|
+
E(), document.removeEventListener("mouseup", w);
|
|
2644
2644
|
});
|
|
2645
|
-
const
|
|
2645
|
+
const E = () => {
|
|
2646
2646
|
document.onselectstart !== c && (document.onselectstart = c);
|
|
2647
2647
|
};
|
|
2648
|
-
return ze(Je(n, "scrollbarElement"), "mousemove",
|
|
2648
|
+
return ze(Je(n, "scrollbarElement"), "mousemove", P), ze(Je(n, "scrollbarElement"), "mouseleave", k), (A, O) => (C(), V(Bn, {
|
|
2649
2649
|
name: v(o).b("fade"),
|
|
2650
2650
|
persisted: ""
|
|
2651
2651
|
}, {
|
|
2652
|
-
default:
|
|
2652
|
+
default: T(() => [
|
|
2653
2653
|
oe(R("div", {
|
|
2654
2654
|
ref_key: "instance",
|
|
2655
2655
|
ref: i,
|
|
@@ -2685,7 +2685,7 @@ const Tv = Q({
|
|
|
2685
2685
|
__name: "bar",
|
|
2686
2686
|
props: Tv,
|
|
2687
2687
|
setup(e, { expose: t }) {
|
|
2688
|
-
const n = e, o = G(Gi), i =
|
|
2688
|
+
const n = e, o = G(Gi), i = M(0), a = M(0), s = M(""), r = M(""), u = M(1), l = M(1);
|
|
2689
2689
|
return t({
|
|
2690
2690
|
handleScroll: (f) => {
|
|
2691
2691
|
if (f) {
|
|
@@ -2778,45 +2778,45 @@ const Mv = Q({
|
|
|
2778
2778
|
setup(e, { expose: t, emit: n }) {
|
|
2779
2779
|
const o = e, i = ee("scrollbar");
|
|
2780
2780
|
let a, s, r = 0, u = 0;
|
|
2781
|
-
const l =
|
|
2782
|
-
const
|
|
2783
|
-
return o.height && (
|
|
2781
|
+
const l = M(), c = M(), d = M(), f = M(), m = y(() => {
|
|
2782
|
+
const E = {};
|
|
2783
|
+
return o.height && (E.height = Ft(o.height)), o.maxHeight && (E.maxHeight = Ft(o.maxHeight)), [o.wrapStyle, E];
|
|
2784
2784
|
}), p = y(() => [
|
|
2785
2785
|
o.wrapClass,
|
|
2786
2786
|
i.e("wrap"),
|
|
2787
2787
|
{ [i.em("wrap", "hidden-default")]: !o.native }
|
|
2788
2788
|
]), h = y(() => [i.e("view"), o.viewClass]), g = () => {
|
|
2789
|
-
var
|
|
2790
|
-
c.value && ((
|
|
2789
|
+
var E;
|
|
2790
|
+
c.value && ((E = f.value) == null || E.handleScroll(c.value), r = c.value.scrollTop, u = c.value.scrollLeft, n("scroll", {
|
|
2791
2791
|
scrollTop: c.value.scrollTop,
|
|
2792
2792
|
scrollLeft: c.value.scrollLeft
|
|
2793
2793
|
}));
|
|
2794
2794
|
};
|
|
2795
|
-
function b(
|
|
2796
|
-
ke(
|
|
2795
|
+
function b(E, A) {
|
|
2796
|
+
ke(E) ? c.value.scrollTo(E) : he(E) && he(A) && c.value.scrollTo(E, A);
|
|
2797
2797
|
}
|
|
2798
|
-
const w = (
|
|
2799
|
-
if (!he(
|
|
2798
|
+
const w = (E) => {
|
|
2799
|
+
if (!he(E)) {
|
|
2800
2800
|
Oe(bi, "value must be a number");
|
|
2801
2801
|
return;
|
|
2802
2802
|
}
|
|
2803
|
-
c.value.scrollTop =
|
|
2804
|
-
},
|
|
2805
|
-
if (!he(
|
|
2803
|
+
c.value.scrollTop = E;
|
|
2804
|
+
}, P = (E) => {
|
|
2805
|
+
if (!he(E)) {
|
|
2806
2806
|
Oe(bi, "value must be a number");
|
|
2807
2807
|
return;
|
|
2808
2808
|
}
|
|
2809
|
-
c.value.scrollLeft =
|
|
2810
|
-
},
|
|
2811
|
-
var
|
|
2812
|
-
(
|
|
2809
|
+
c.value.scrollLeft = E;
|
|
2810
|
+
}, k = () => {
|
|
2811
|
+
var E;
|
|
2812
|
+
(E = f.value) == null || E.update();
|
|
2813
2813
|
};
|
|
2814
|
-
return W(() => o.noresize, (
|
|
2815
|
-
|
|
2814
|
+
return W(() => o.noresize, (E) => {
|
|
2815
|
+
E ? (a == null || a(), s == null || s()) : ({ stop: a } = yt(d, k), s = ze("resize", k));
|
|
2816
2816
|
}, { immediate: !0 }), W(() => [o.maxHeight, o.height], () => {
|
|
2817
2817
|
o.native || ue(() => {
|
|
2818
|
-
var
|
|
2819
|
-
|
|
2818
|
+
var E;
|
|
2819
|
+
k(), c.value && ((E = f.value) == null || E.handleScroll(c.value));
|
|
2820
2820
|
});
|
|
2821
2821
|
}), fe(Gi, ut({
|
|
2822
2822
|
scrollbarElement: l,
|
|
@@ -2825,16 +2825,16 @@ const Mv = Q({
|
|
|
2825
2825
|
c.value && (c.value.scrollTop = r, c.value.scrollLeft = u);
|
|
2826
2826
|
}), pe(() => {
|
|
2827
2827
|
o.native || ue(() => {
|
|
2828
|
-
|
|
2828
|
+
k();
|
|
2829
2829
|
});
|
|
2830
|
-
}), Ul(() =>
|
|
2830
|
+
}), Ul(() => k()), t({
|
|
2831
2831
|
wrapRef: c,
|
|
2832
|
-
update:
|
|
2832
|
+
update: k,
|
|
2833
2833
|
scrollTo: b,
|
|
2834
2834
|
setScrollTop: w,
|
|
2835
|
-
setScrollLeft:
|
|
2835
|
+
setScrollLeft: P,
|
|
2836
2836
|
handleScroll: g
|
|
2837
|
-
}), (
|
|
2837
|
+
}), (E, A) => (C(), F("div", {
|
|
2838
2838
|
ref_key: "scrollbarRef",
|
|
2839
2839
|
ref: l,
|
|
2840
2840
|
class: _(v(i).b())
|
|
@@ -2844,31 +2844,31 @@ const Mv = Q({
|
|
|
2844
2844
|
ref: c,
|
|
2845
2845
|
class: _(v(p)),
|
|
2846
2846
|
style: ce(v(m)),
|
|
2847
|
-
tabindex:
|
|
2847
|
+
tabindex: E.tabindex,
|
|
2848
2848
|
onScroll: g
|
|
2849
2849
|
}, [
|
|
2850
|
-
(C(), V($e(
|
|
2851
|
-
id:
|
|
2850
|
+
(C(), V($e(E.tag), {
|
|
2851
|
+
id: E.id,
|
|
2852
2852
|
ref_key: "resizeRef",
|
|
2853
2853
|
ref: d,
|
|
2854
2854
|
class: _(v(h)),
|
|
2855
|
-
style: ce(
|
|
2856
|
-
role:
|
|
2857
|
-
"aria-label":
|
|
2858
|
-
"aria-orientation":
|
|
2855
|
+
style: ce(E.viewStyle),
|
|
2856
|
+
role: E.role,
|
|
2857
|
+
"aria-label": E.ariaLabel,
|
|
2858
|
+
"aria-orientation": E.ariaOrientation
|
|
2859
2859
|
}, {
|
|
2860
|
-
default:
|
|
2861
|
-
H(
|
|
2860
|
+
default: T(() => [
|
|
2861
|
+
H(E.$slots, "default")
|
|
2862
2862
|
]),
|
|
2863
2863
|
_: 3
|
|
2864
2864
|
}, 8, ["id", "class", "style", "role", "aria-label", "aria-orientation"]))
|
|
2865
2865
|
], 46, ["tabindex"]),
|
|
2866
|
-
|
|
2866
|
+
E.native ? z("v-if", !0) : (C(), V(Ov, {
|
|
2867
2867
|
key: 0,
|
|
2868
2868
|
ref_key: "barRef",
|
|
2869
2869
|
ref: f,
|
|
2870
|
-
always:
|
|
2871
|
-
"min-size":
|
|
2870
|
+
always: E.always,
|
|
2871
|
+
"min-size": E.minSize
|
|
2872
2872
|
}, null, 8, ["always", "min-size"]))
|
|
2873
2873
|
], 2));
|
|
2874
2874
|
}
|
|
@@ -2896,7 +2896,7 @@ const Rv = Me(Lv), qi = Symbol("popper"), xr = Symbol("popperContent"), $v = [
|
|
|
2896
2896
|
...Fv,
|
|
2897
2897
|
props: Lr,
|
|
2898
2898
|
setup(e, { expose: t }) {
|
|
2899
|
-
const n = e, o =
|
|
2899
|
+
const n = e, o = M(), i = M(), a = M(), s = M(), r = y(() => n.role), u = {
|
|
2900
2900
|
triggerRef: o,
|
|
2901
2901
|
popperInstanceRef: i,
|
|
2902
2902
|
contentRef: a,
|
|
@@ -3081,7 +3081,7 @@ const Fr = Q({
|
|
|
3081
3081
|
"aria-expanded": v(u),
|
|
3082
3082
|
"aria-haspopup": v(r)
|
|
3083
3083
|
}), {
|
|
3084
|
-
default:
|
|
3084
|
+
default: T(() => [
|
|
3085
3085
|
H(d.$slots, "default")
|
|
3086
3086
|
]),
|
|
3087
3087
|
_: 3
|
|
@@ -3095,7 +3095,7 @@ const Qo = "focus-trap.focus-after-trapped", Xo = "focus-trap.focus-after-releas
|
|
|
3095
3095
|
}, Gv = {
|
|
3096
3096
|
cancelable: !0,
|
|
3097
3097
|
bubbles: !1
|
|
3098
|
-
}, cs = "focusAfterTrapped", ds = "focusAfterReleased", Dr = Symbol("elFocusTrap"), Ji =
|
|
3098
|
+
}, cs = "focusAfterTrapped", ds = "focusAfterReleased", Dr = Symbol("elFocusTrap"), Ji = M(), Do = M(0), Yi = M(0);
|
|
3099
3099
|
let oo = 0;
|
|
3100
3100
|
const Nr = (e) => {
|
|
3101
3101
|
const t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
|
|
@@ -3190,7 +3190,7 @@ const Zv = () => {
|
|
|
3190
3190
|
"release-requested"
|
|
3191
3191
|
],
|
|
3192
3192
|
setup(e, { emit: t }) {
|
|
3193
|
-
const n =
|
|
3193
|
+
const n = M();
|
|
3194
3194
|
let o, i;
|
|
3195
3195
|
const { focusReason: a } = em();
|
|
3196
3196
|
Qh((p) => {
|
|
@@ -3207,20 +3207,20 @@ const Zv = () => {
|
|
|
3207
3207
|
}, r = (p) => {
|
|
3208
3208
|
if (!e.loop && !e.trapped || s.paused)
|
|
3209
3209
|
return;
|
|
3210
|
-
const { key: h, altKey: g, ctrlKey: b, metaKey: w, currentTarget:
|
|
3210
|
+
const { key: h, altKey: g, ctrlKey: b, metaKey: w, currentTarget: P, shiftKey: k } = p, { loop: E } = e, A = h === $n.tab && !g && !b && !w, O = document.activeElement;
|
|
3211
3211
|
if (A && O) {
|
|
3212
|
-
const D =
|
|
3212
|
+
const D = P, [N, j] = Jv(D);
|
|
3213
3213
|
if (N && j) {
|
|
3214
|
-
if (!
|
|
3214
|
+
if (!k && O === j) {
|
|
3215
3215
|
const U = ao({
|
|
3216
3216
|
focusReason: a.value
|
|
3217
3217
|
});
|
|
3218
|
-
t("focusout-prevented", U), U.defaultPrevented || (p.preventDefault(),
|
|
3219
|
-
} else if (
|
|
3218
|
+
t("focusout-prevented", U), U.defaultPrevented || (p.preventDefault(), E && gt(N, !0));
|
|
3219
|
+
} else if (k && [N, D].includes(O)) {
|
|
3220
3220
|
const U = ao({
|
|
3221
3221
|
focusReason: a.value
|
|
3222
3222
|
});
|
|
3223
|
-
t("focusout-prevented", U), U.defaultPrevented || (p.preventDefault(),
|
|
3223
|
+
t("focusout-prevented", U), U.defaultPrevented || (p.preventDefault(), E && gt(j, !0));
|
|
3224
3224
|
}
|
|
3225
3225
|
} else if (O === D) {
|
|
3226
3226
|
const U = ao({
|
|
@@ -3441,18 +3441,18 @@ function um(e, t) {
|
|
|
3441
3441
|
t && (e.modifiers = [...e.modifiers, ...t ?? []]);
|
|
3442
3442
|
}
|
|
3443
3443
|
const cm = 0, dm = (e) => {
|
|
3444
|
-
const { popperInstanceRef: t, contentRef: n, triggerRef: o, role: i } = G(qi, void 0), a =
|
|
3444
|
+
const { popperInstanceRef: t, contentRef: n, triggerRef: o, role: i } = G(qi, void 0), a = M(), s = M(), r = y(() => ({
|
|
3445
3445
|
name: "eventListeners",
|
|
3446
3446
|
enabled: !!e.visible
|
|
3447
3447
|
})), u = y(() => {
|
|
3448
3448
|
var b;
|
|
3449
|
-
const w = v(a),
|
|
3449
|
+
const w = v(a), P = (b = v(s)) != null ? b : cm;
|
|
3450
3450
|
return {
|
|
3451
3451
|
name: "arrow",
|
|
3452
3452
|
enabled: !nr(w),
|
|
3453
3453
|
options: {
|
|
3454
3454
|
element: w,
|
|
3455
|
-
padding:
|
|
3455
|
+
padding: P
|
|
3456
3456
|
}
|
|
3457
3457
|
};
|
|
3458
3458
|
}), l = y(() => ({
|
|
@@ -3487,7 +3487,7 @@ const cm = 0, dm = (e) => {
|
|
|
3487
3487
|
styles: n,
|
|
3488
3488
|
role: o
|
|
3489
3489
|
}) => {
|
|
3490
|
-
const { nextZIndex: i } = Ki(), a = ee("popper"), s = y(() => v(t).popper), r =
|
|
3490
|
+
const { nextZIndex: i } = Ki(), a = ee("popper"), s = y(() => v(t).popper), r = M(he(e.zIndex) ? e.zIndex : i()), u = y(() => [
|
|
3491
3491
|
a.b(),
|
|
3492
3492
|
a.is("pure", e.pure),
|
|
3493
3493
|
a.is(e.effect),
|
|
@@ -3509,7 +3509,7 @@ const cm = 0, dm = (e) => {
|
|
|
3509
3509
|
}
|
|
3510
3510
|
};
|
|
3511
3511
|
}, pm = (e, t) => {
|
|
3512
|
-
const n =
|
|
3512
|
+
const n = M(!1), o = M();
|
|
3513
3513
|
return {
|
|
3514
3514
|
focusStartRef: o,
|
|
3515
3515
|
trapped: n,
|
|
@@ -3547,18 +3547,18 @@ const cm = 0, dm = (e) => {
|
|
|
3547
3547
|
onReleaseRequested: c
|
|
3548
3548
|
} = pm(o, n), { attributes: d, arrowRef: f, contentRef: m, styles: p, instanceRef: h, role: g, update: b } = dm(o), {
|
|
3549
3549
|
ariaModal: w,
|
|
3550
|
-
arrowStyle:
|
|
3551
|
-
contentAttrs:
|
|
3552
|
-
contentClass:
|
|
3550
|
+
arrowStyle: P,
|
|
3551
|
+
contentAttrs: k,
|
|
3552
|
+
contentClass: E,
|
|
3553
3553
|
contentStyle: A,
|
|
3554
3554
|
updateZIndex: O
|
|
3555
3555
|
} = fm(o, {
|
|
3556
3556
|
styles: p,
|
|
3557
3557
|
attributes: d,
|
|
3558
3558
|
role: g
|
|
3559
|
-
}), D = G(So, void 0), N =
|
|
3559
|
+
}), D = G(So, void 0), N = M();
|
|
3560
3560
|
fe(xr, {
|
|
3561
|
-
arrowStyle:
|
|
3561
|
+
arrowStyle: P,
|
|
3562
3562
|
arrowRef: f,
|
|
3563
3563
|
arrowOffset: N
|
|
3564
3564
|
}), D && fe(So, {
|
|
@@ -3567,10 +3567,10 @@ const cm = 0, dm = (e) => {
|
|
|
3567
3567
|
removeInputId: xt
|
|
3568
3568
|
});
|
|
3569
3569
|
let j;
|
|
3570
|
-
const
|
|
3570
|
+
const I = (J = !0) => {
|
|
3571
3571
|
b(), J && O();
|
|
3572
3572
|
}, U = () => {
|
|
3573
|
-
|
|
3573
|
+
I(!1), o.visible && o.focusOnShow ? a.value = !0 : o.visible === !1 && (a.value = !1);
|
|
3574
3574
|
};
|
|
3575
3575
|
return pe(() => {
|
|
3576
3576
|
W(() => o.triggerTargetEl, (J, de) => {
|
|
@@ -3589,14 +3589,14 @@ const cm = 0, dm = (e) => {
|
|
|
3589
3589
|
}), t({
|
|
3590
3590
|
popperContentRef: m,
|
|
3591
3591
|
popperInstanceRef: h,
|
|
3592
|
-
updatePopper:
|
|
3592
|
+
updatePopper: I,
|
|
3593
3593
|
contentStyle: A
|
|
3594
3594
|
}), (J, de) => (C(), F("div", Nt({
|
|
3595
3595
|
ref_key: "contentRef",
|
|
3596
3596
|
ref: m
|
|
3597
|
-
}, v(
|
|
3597
|
+
}, v(k), {
|
|
3598
3598
|
style: v(A),
|
|
3599
|
-
class: v(
|
|
3599
|
+
class: v(E),
|
|
3600
3600
|
tabindex: "-1",
|
|
3601
3601
|
onMouseenter: (Y) => J.$emit("mouseenter", Y),
|
|
3602
3602
|
onMouseleave: (Y) => J.$emit("mouseleave", Y)
|
|
@@ -3612,7 +3612,7 @@ const cm = 0, dm = (e) => {
|
|
|
3612
3612
|
onFocusoutPrevented: v(l),
|
|
3613
3613
|
onReleaseRequested: v(c)
|
|
3614
3614
|
}, {
|
|
3615
|
-
default:
|
|
3615
|
+
default: T(() => [
|
|
3616
3616
|
H(J.$slots, "default")
|
|
3617
3617
|
]),
|
|
3618
3618
|
_: 3
|
|
@@ -3685,24 +3685,24 @@ const gm = Me(Nv), Zi = Symbol("elTooltip"), xe = Q({
|
|
|
3685
3685
|
...Im,
|
|
3686
3686
|
props: Nn,
|
|
3687
3687
|
setup(e, { expose: t }) {
|
|
3688
|
-
const n = e, o = ee("tooltip"), { controlled: i, id: a, open: s, onOpen: r, onClose: u, onToggle: l } = G(Zi, void 0), c =
|
|
3688
|
+
const n = e, o = ee("tooltip"), { controlled: i, id: a, open: s, onOpen: r, onClose: u, onToggle: l } = G(Zi, void 0), c = M(null), d = () => {
|
|
3689
3689
|
if (v(i) || n.disabled)
|
|
3690
3690
|
return !0;
|
|
3691
|
-
}, f = Je(n, "trigger"), m = ot(d, qt(f, "hover", r)), p = ot(d, qt(f, "hover", u)), h = ot(d, qt(f, "click", (
|
|
3692
|
-
|
|
3693
|
-
})), g = ot(d, qt(f, "focus", r)), b = ot(d, qt(f, "focus", u)), w = ot(d, qt(f, "contextmenu", (
|
|
3694
|
-
|
|
3695
|
-
})),
|
|
3696
|
-
const { code:
|
|
3697
|
-
n.triggerKeys.includes(
|
|
3691
|
+
}, f = Je(n, "trigger"), m = ot(d, qt(f, "hover", r)), p = ot(d, qt(f, "hover", u)), h = ot(d, qt(f, "click", (k) => {
|
|
3692
|
+
k.button === 0 && l(k);
|
|
3693
|
+
})), g = ot(d, qt(f, "focus", r)), b = ot(d, qt(f, "focus", u)), w = ot(d, qt(f, "contextmenu", (k) => {
|
|
3694
|
+
k.preventDefault(), l(k);
|
|
3695
|
+
})), P = ot(d, (k) => {
|
|
3696
|
+
const { code: E } = k;
|
|
3697
|
+
n.triggerKeys.includes(E) && (k.preventDefault(), l(k));
|
|
3698
3698
|
});
|
|
3699
3699
|
return t({
|
|
3700
3700
|
triggerRef: c
|
|
3701
|
-
}), (
|
|
3701
|
+
}), (k, E) => (C(), V(v(Kv), {
|
|
3702
3702
|
id: v(a),
|
|
3703
|
-
"virtual-ref":
|
|
3703
|
+
"virtual-ref": k.virtualRef,
|
|
3704
3704
|
open: v(s),
|
|
3705
|
-
"virtual-triggering":
|
|
3705
|
+
"virtual-triggering": k.virtualTriggering,
|
|
3706
3706
|
class: _(v(o).e("trigger")),
|
|
3707
3707
|
onBlur: v(b),
|
|
3708
3708
|
onClick: v(h),
|
|
@@ -3710,10 +3710,10 @@ const gm = Me(Nv), Zi = Symbol("elTooltip"), xe = Q({
|
|
|
3710
3710
|
onFocus: v(g),
|
|
3711
3711
|
onMouseenter: v(m),
|
|
3712
3712
|
onMouseleave: v(p),
|
|
3713
|
-
onKeydown: v(
|
|
3713
|
+
onKeydown: v(P)
|
|
3714
3714
|
}, {
|
|
3715
|
-
default:
|
|
3716
|
-
H(
|
|
3715
|
+
default: T(() => [
|
|
3716
|
+
H(k.$slots, "default")
|
|
3717
3717
|
]),
|
|
3718
3718
|
_: 3
|
|
3719
3719
|
}, 8, ["id", "virtual-ref", "open", "virtual-triggering", "class", "onBlur", "onClick", "onContextmenu", "onFocus", "onMouseenter", "onMouseleave", "onKeydown"]));
|
|
@@ -3746,7 +3746,7 @@ const zr = Me(Mm), Pm = B({
|
|
|
3746
3746
|
...Pm,
|
|
3747
3747
|
props: xe,
|
|
3748
3748
|
setup(e, { expose: t }) {
|
|
3749
|
-
const n = e, { selector: o } = kr(), i = ee("tooltip"), a =
|
|
3749
|
+
const n = e, { selector: o } = kr(), i = ee("tooltip"), a = M(null);
|
|
3750
3750
|
let s;
|
|
3751
3751
|
const {
|
|
3752
3752
|
controlled: r,
|
|
@@ -3763,17 +3763,17 @@ const zr = Me(Mm), Pm = B({
|
|
|
3763
3763
|
Be(() => {
|
|
3764
3764
|
s == null || s();
|
|
3765
3765
|
});
|
|
3766
|
-
const
|
|
3766
|
+
const P = y(() => v(w) ? !0 : v(l)), k = y(() => n.disabled ? !1 : v(l)), E = y(() => n.appendTo || o.value), A = y(() => {
|
|
3767
3767
|
var $;
|
|
3768
3768
|
return ($ = n.style) != null ? $ : {};
|
|
3769
|
-
}), O =
|
|
3769
|
+
}), O = M(!0), D = () => {
|
|
3770
3770
|
p(), O.value = !0;
|
|
3771
3771
|
}, N = () => {
|
|
3772
3772
|
if (v(r))
|
|
3773
3773
|
return !0;
|
|
3774
3774
|
}, j = ot(N, () => {
|
|
3775
3775
|
n.enterable && v(c) === "hover" && f();
|
|
3776
|
-
}),
|
|
3776
|
+
}), I = ot(N, () => {
|
|
3777
3777
|
v(c) === "hover" && d();
|
|
3778
3778
|
}), U = () => {
|
|
3779
3779
|
var $, te;
|
|
@@ -3803,9 +3803,9 @@ const zr = Me(Mm), Pm = B({
|
|
|
3803
3803
|
contentRef: a
|
|
3804
3804
|
}), ($, te) => (C(), V(v(zr), {
|
|
3805
3805
|
disabled: !$.teleported,
|
|
3806
|
-
to: v(
|
|
3806
|
+
to: v(E)
|
|
3807
3807
|
}, {
|
|
3808
|
-
default:
|
|
3808
|
+
default: T(() => [
|
|
3809
3809
|
x(Bn, {
|
|
3810
3810
|
name: v(b),
|
|
3811
3811
|
onAfterLeave: D,
|
|
@@ -3813,8 +3813,8 @@ const zr = Me(Mm), Pm = B({
|
|
|
3813
3813
|
onAfterEnter: de,
|
|
3814
3814
|
onBeforeLeave: J
|
|
3815
3815
|
}, {
|
|
3816
|
-
default:
|
|
3817
|
-
v(
|
|
3816
|
+
default: T(() => [
|
|
3817
|
+
v(P) ? oe((C(), V(v(mm), Nt({
|
|
3818
3818
|
key: 0,
|
|
3819
3819
|
id: v(u),
|
|
3820
3820
|
ref_key: "contentRef",
|
|
@@ -3836,19 +3836,19 @@ const zr = Me(Mm), Pm = B({
|
|
|
3836
3836
|
"popper-style": [$.popperStyle, v(A)],
|
|
3837
3837
|
"reference-el": $.referenceEl,
|
|
3838
3838
|
"trigger-target-el": $.triggerTargetEl,
|
|
3839
|
-
visible: v(
|
|
3839
|
+
visible: v(k),
|
|
3840
3840
|
"z-index": $.zIndex,
|
|
3841
3841
|
onMouseenter: v(j),
|
|
3842
|
-
onMouseleave: v(
|
|
3842
|
+
onMouseleave: v(I),
|
|
3843
3843
|
onBlur: Y,
|
|
3844
3844
|
onClose: v(d)
|
|
3845
3845
|
}), {
|
|
3846
|
-
default:
|
|
3846
|
+
default: T(() => [
|
|
3847
3847
|
H($.$slots, "default")
|
|
3848
3848
|
]),
|
|
3849
3849
|
_: 3
|
|
3850
3850
|
}, 16, ["id", "aria-label", "aria-hidden", "boundaries-padding", "fallback-placements", "gpu-acceleration", "offset", "placement", "popper-options", "strategy", "effect", "enterable", "pure", "popper-class", "popper-style", "reference-el", "trigger-target-el", "visible", "z-index", "onMouseenter", "onMouseleave", "onClose"])), [
|
|
3851
|
-
[Ee, v(
|
|
3851
|
+
[Ee, v(k)]
|
|
3852
3852
|
]) : z("v-if", !0)
|
|
3853
3853
|
]),
|
|
3854
3854
|
_: 3
|
|
@@ -3868,11 +3868,11 @@ const Lm = B({
|
|
|
3868
3868
|
setup(e, { expose: t, emit: n }) {
|
|
3869
3869
|
const o = e;
|
|
3870
3870
|
ev();
|
|
3871
|
-
const i = Dt(), a =
|
|
3871
|
+
const i = Dt(), a = M(), s = M(), r = () => {
|
|
3872
3872
|
var b;
|
|
3873
3873
|
const w = v(a);
|
|
3874
3874
|
w && ((b = w.popperInstanceRef) == null || b.update());
|
|
3875
|
-
}, u =
|
|
3875
|
+
}, u = M(!1), l = M(), { show: c, hide: d, hasUpdateHandler: f } = wm({
|
|
3876
3876
|
indicator: u,
|
|
3877
3877
|
toggleReason: l
|
|
3878
3878
|
}), { onOpen: m, onClose: p } = nv({
|
|
@@ -3913,9 +3913,9 @@ const Lm = B({
|
|
|
3913
3913
|
b && u.value && (u.value = !1);
|
|
3914
3914
|
});
|
|
3915
3915
|
const g = (b) => {
|
|
3916
|
-
var w,
|
|
3917
|
-
const
|
|
3918
|
-
return
|
|
3916
|
+
var w, P;
|
|
3917
|
+
const k = (P = (w = s.value) == null ? void 0 : w.contentRef) == null ? void 0 : P.popperContentRef, E = (b == null ? void 0 : b.relatedTarget) || document.activeElement;
|
|
3918
|
+
return k && k.contains(E);
|
|
3919
3919
|
};
|
|
3920
3920
|
return ql(() => u.value && d()), t({
|
|
3921
3921
|
popperRef: a,
|
|
@@ -3930,7 +3930,7 @@ const Lm = B({
|
|
|
3930
3930
|
ref: a,
|
|
3931
3931
|
role: b.role
|
|
3932
3932
|
}, {
|
|
3933
|
-
default:
|
|
3933
|
+
default: T(() => [
|
|
3934
3934
|
x(Tm, {
|
|
3935
3935
|
disabled: b.disabled,
|
|
3936
3936
|
trigger: b.trigger,
|
|
@@ -3938,7 +3938,7 @@ const Lm = B({
|
|
|
3938
3938
|
"virtual-ref": b.virtualRef,
|
|
3939
3939
|
"virtual-triggering": b.virtualTriggering
|
|
3940
3940
|
}, {
|
|
3941
|
-
default:
|
|
3941
|
+
default: T(() => [
|
|
3942
3942
|
b.$slots.default ? H(b.$slots, "default", { key: 0 }) : z("v-if", !0)
|
|
3943
3943
|
]),
|
|
3944
3944
|
_: 3
|
|
@@ -3973,7 +3973,7 @@ const Lm = B({
|
|
|
3973
3973
|
"z-index": b.zIndex,
|
|
3974
3974
|
"append-to": b.appendTo
|
|
3975
3975
|
}, {
|
|
3976
|
-
default:
|
|
3976
|
+
default: T(() => [
|
|
3977
3977
|
H(b.$slots, "content", {}, () => [
|
|
3978
3978
|
b.rawContent ? (C(), F("span", {
|
|
3979
3979
|
key: 0,
|
|
@@ -4001,7 +4001,7 @@ const Hr = Me($m), jr = Symbol("buttonGroupContextKey"), Fm = (e, t) => {
|
|
|
4001
4001
|
scope: "props",
|
|
4002
4002
|
ref: "https://element-plus.org/en-US/component/button.html#button-attributes"
|
|
4003
4003
|
}, y(() => e.type === "text"));
|
|
4004
|
-
const n = G(jr, void 0), o = Ro("button"), { form: i } = fn(), a = ln(y(() => n == null ? void 0 : n.size)), s = $o(), r =
|
|
4004
|
+
const n = G(jr, void 0), o = Ro("button"), { form: i } = fn(), a = ln(y(() => n == null ? void 0 : n.size)), s = $o(), r = M(), u = Eo(), l = y(() => e.type || (n == null ? void 0 : n.type) || ""), c = y(() => {
|
|
4005
4005
|
var p, h, g;
|
|
4006
4006
|
return (g = (h = e.autoInsertSpace) != null ? h : (p = o.value) == null ? void 0 : p.autoInsertSpace) != null ? g : !1;
|
|
4007
4007
|
}), d = y(() => e.tag === "button" ? {
|
|
@@ -4673,19 +4673,19 @@ const eg = B({
|
|
|
4673
4673
|
style: v(i),
|
|
4674
4674
|
onClick: v(f)
|
|
4675
4675
|
}), {
|
|
4676
|
-
default:
|
|
4676
|
+
default: T(() => [
|
|
4677
4677
|
p.loading ? (C(), F(ye, { key: 0 }, [
|
|
4678
4678
|
p.$slots.loading ? H(p.$slots, "loading", { key: 0 }) : (C(), V(v(Xe), {
|
|
4679
4679
|
key: 1,
|
|
4680
4680
|
class: _(v(a).is("loading"))
|
|
4681
4681
|
}, {
|
|
4682
|
-
default:
|
|
4682
|
+
default: T(() => [
|
|
4683
4683
|
(C(), V($e(p.loadingIcon)))
|
|
4684
4684
|
]),
|
|
4685
4685
|
_: 1
|
|
4686
4686
|
}, 8, ["class"]))
|
|
4687
4687
|
], 64)) : p.icon || p.$slots.icon ? (C(), V(v(Xe), { key: 1 }, {
|
|
4688
|
-
default:
|
|
4688
|
+
default: T(() => [
|
|
4689
4689
|
p.icon ? (C(), V($e(p.icon), { key: 0 })) : H(p.$slots, "icon", { key: 1 })
|
|
4690
4690
|
]),
|
|
4691
4691
|
_: 3
|
|
@@ -4866,7 +4866,7 @@ const lg = {
|
|
|
4866
4866
|
onClickRoot: f
|
|
4867
4867
|
};
|
|
4868
4868
|
}, dg = (e) => {
|
|
4869
|
-
const t =
|
|
4869
|
+
const t = M(!1), { emit: n } = me(), o = G(pn, void 0), i = y(() => Ct(o) === !1), a = M(!1), s = y({
|
|
4870
4870
|
get() {
|
|
4871
4871
|
var r, u;
|
|
4872
4872
|
return i.value ? (r = o == null ? void 0 : o.modelValue) == null ? void 0 : r.value : (u = e.modelValue) != null ? u : t.value;
|
|
@@ -4882,7 +4882,7 @@ const lg = {
|
|
|
4882
4882
|
isLimitExceeded: a
|
|
4883
4883
|
};
|
|
4884
4884
|
}, fg = (e, t, { model: n }) => {
|
|
4885
|
-
const o = G(pn, void 0), i =
|
|
4885
|
+
const o = G(pn, void 0), i = M(!1), a = y(() => Ln(e.value) ? e.label : e.value), s = y(() => {
|
|
4886
4886
|
const c = n.value;
|
|
4887
4887
|
return ct(c) ? c : Ie(c) ? ke(a.value) ? c.map(ho).some((d) => bo(d, a.value)) : c.map(ho).includes(a.value) : c != null ? c === e.trueValue || c === e.trueLabel : !!c;
|
|
4888
4888
|
}), r = ln(y(() => {
|
|
@@ -4923,8 +4923,8 @@ const lg = {
|
|
|
4923
4923
|
});
|
|
4924
4924
|
return (() => {
|
|
4925
4925
|
function w() {
|
|
4926
|
-
var
|
|
4927
|
-
Ie(o.value) && !o.value.includes(d.value) ? o.value.push(d.value) : o.value = (
|
|
4926
|
+
var P, k;
|
|
4927
|
+
Ie(o.value) && !o.value.includes(d.value) ? o.value.push(d.value) : o.value = (k = (P = e.trueValue) != null ? P : e.trueLabel) != null ? k : !0;
|
|
4928
4928
|
}
|
|
4929
4929
|
e.checked && w();
|
|
4930
4930
|
})(), Xt({
|
|
@@ -4996,8 +4996,8 @@ const lg = {
|
|
|
4996
4996
|
"aria-controls": b.indeterminate ? b.ariaControls : null,
|
|
4997
4997
|
onClick: v(m)
|
|
4998
4998
|
}, {
|
|
4999
|
-
default:
|
|
5000
|
-
var
|
|
4999
|
+
default: T(() => {
|
|
5000
|
+
var P, k, E, A;
|
|
5001
5001
|
return [
|
|
5002
5002
|
R("span", {
|
|
5003
5003
|
class: _(v(g))
|
|
@@ -5012,8 +5012,8 @@ const lg = {
|
|
|
5012
5012
|
name: b.name,
|
|
5013
5013
|
tabindex: b.tabindex,
|
|
5014
5014
|
disabled: v(s),
|
|
5015
|
-
"true-value": (
|
|
5016
|
-
"false-value": (A = (
|
|
5015
|
+
"true-value": (k = (P = b.trueValue) != null ? P : b.trueLabel) != null ? k : !0,
|
|
5016
|
+
"false-value": (A = (E = b.falseValue) != null ? E : b.falseLabel) != null ? A : !1,
|
|
5017
5017
|
onChange: v(f),
|
|
5018
5018
|
onFocus: (O) => r.value = !0,
|
|
5019
5019
|
onBlur: (O) => r.value = !1,
|
|
@@ -5092,30 +5092,30 @@ const mg = B({
|
|
|
5092
5092
|
d.is("focus", o.value)
|
|
5093
5093
|
]);
|
|
5094
5094
|
return (p, h) => {
|
|
5095
|
-
var g, b, w,
|
|
5095
|
+
var g, b, w, P;
|
|
5096
5096
|
return C(), F("label", {
|
|
5097
5097
|
class: _(v(m))
|
|
5098
5098
|
}, [
|
|
5099
5099
|
p.trueValue || p.falseValue || p.trueLabel || p.falseLabel ? oe((C(), F("input", {
|
|
5100
5100
|
key: 0,
|
|
5101
|
-
"onUpdate:modelValue": (
|
|
5101
|
+
"onUpdate:modelValue": (k) => lt(r) ? r.value = k : null,
|
|
5102
5102
|
class: _(v(d).be("button", "original")),
|
|
5103
5103
|
type: "checkbox",
|
|
5104
5104
|
name: p.name,
|
|
5105
5105
|
tabindex: p.tabindex,
|
|
5106
5106
|
disabled: v(a),
|
|
5107
5107
|
"true-value": (b = (g = p.trueValue) != null ? g : p.trueLabel) != null ? b : !0,
|
|
5108
|
-
"false-value": (
|
|
5108
|
+
"false-value": (P = (w = p.falseValue) != null ? w : p.falseLabel) != null ? P : !1,
|
|
5109
5109
|
onChange: v(l),
|
|
5110
|
-
onFocus: (
|
|
5111
|
-
onBlur: (
|
|
5110
|
+
onFocus: (k) => o.value = !0,
|
|
5111
|
+
onBlur: (k) => o.value = !1,
|
|
5112
5112
|
onClick: re(() => {
|
|
5113
5113
|
}, ["stop"])
|
|
5114
5114
|
}, null, 42, ["onUpdate:modelValue", "name", "tabindex", "disabled", "true-value", "false-value", "onChange", "onFocus", "onBlur", "onClick"])), [
|
|
5115
5115
|
[vo, v(r)]
|
|
5116
5116
|
]) : oe((C(), F("input", {
|
|
5117
5117
|
key: 1,
|
|
5118
|
-
"onUpdate:modelValue": (
|
|
5118
|
+
"onUpdate:modelValue": (k) => lt(r) ? r.value = k : null,
|
|
5119
5119
|
class: _(v(d).be("button", "original")),
|
|
5120
5120
|
type: "checkbox",
|
|
5121
5121
|
name: p.name,
|
|
@@ -5123,8 +5123,8 @@ const mg = B({
|
|
|
5123
5123
|
disabled: v(a),
|
|
5124
5124
|
value: v(u),
|
|
5125
5125
|
onChange: v(l),
|
|
5126
|
-
onFocus: (
|
|
5127
|
-
onBlur: (
|
|
5126
|
+
onFocus: (k) => o.value = !0,
|
|
5127
|
+
onBlur: (k) => o.value = !1,
|
|
5128
5128
|
onClick: re(() => {
|
|
5129
5129
|
}, ["stop"])
|
|
5130
5130
|
}, null, 42, ["onUpdate:modelValue", "name", "tabindex", "disabled", "value", "onChange", "onFocus", "onBlur", "onClick"])), [
|
|
@@ -5209,7 +5209,7 @@ const bg = Q({
|
|
|
5209
5209
|
"aria-label": v(s) ? void 0 : l.ariaLabel || "checkbox-group",
|
|
5210
5210
|
"aria-labelledby": v(s) ? (d = v(i)) == null ? void 0 : d.labelId : void 0
|
|
5211
5211
|
}, {
|
|
5212
|
-
default:
|
|
5212
|
+
default: T(() => [
|
|
5213
5213
|
H(l.$slots, "default")
|
|
5214
5214
|
]),
|
|
5215
5215
|
_: 3
|
|
@@ -5249,14 +5249,14 @@ const Xr = zt(Zr), el = Q({
|
|
|
5249
5249
|
[we]: (e) => He(e) || he(e) || ct(e),
|
|
5250
5250
|
[Ri]: (e) => He(e) || he(e) || ct(e)
|
|
5251
5251
|
}, nl = Symbol("radioGroupKey"), ol = (e, t) => {
|
|
5252
|
-
const n =
|
|
5252
|
+
const n = M(), o = G(nl, void 0), i = y(() => !!o), a = y(() => Ln(e.value) ? e.label : e.value), s = y({
|
|
5253
5253
|
get() {
|
|
5254
5254
|
return i.value ? o.modelValue : e.modelValue;
|
|
5255
5255
|
},
|
|
5256
5256
|
set(d) {
|
|
5257
5257
|
i.value ? o.changeEvent(d) : t && t(we, d), n.value.checked = e.modelValue === a.value;
|
|
5258
5258
|
}
|
|
5259
|
-
}), r = ln(y(() => o == null ? void 0 : o.size)), u = $o(y(() => o == null ? void 0 : o.disabled)), l =
|
|
5259
|
+
}), r = ln(y(() => o == null ? void 0 : o.size)), u = $o(y(() => o == null ? void 0 : o.disabled)), l = M(!1), c = y(() => u.value || i.value && s.value !== a.value ? -1 : 0);
|
|
5260
5260
|
return Xt({
|
|
5261
5261
|
from: "label act as value",
|
|
5262
5262
|
replacement: "value",
|
|
@@ -5431,7 +5431,7 @@ const Mg = Q({
|
|
|
5431
5431
|
props: Mg,
|
|
5432
5432
|
emits: Pg,
|
|
5433
5433
|
setup(e, { emit: t }) {
|
|
5434
|
-
const n = e, o = ee("radio"), i = Dt(), a =
|
|
5434
|
+
const n = e, o = ee("radio"), i = Dt(), a = M(), { formItem: s } = fn(), { inputId: r, isLabeledByFormItem: u } = Fo(n, {
|
|
5435
5435
|
formItemContext: s
|
|
5436
5436
|
}), l = (d) => {
|
|
5437
5437
|
t(we, d), ue(() => t("change", d));
|
|
@@ -5530,7 +5530,7 @@ const Si = Q({
|
|
|
5530
5530
|
class: _(v(i).e("close")),
|
|
5531
5531
|
onClick: re(s, ["stop"])
|
|
5532
5532
|
}, {
|
|
5533
|
-
default:
|
|
5533
|
+
default: T(() => [
|
|
5534
5534
|
x(v(ri))
|
|
5535
5535
|
]),
|
|
5536
5536
|
_: 1
|
|
@@ -5541,7 +5541,7 @@ const Si = Q({
|
|
|
5541
5541
|
appear: "",
|
|
5542
5542
|
onVnodeMounted: u
|
|
5543
5543
|
}, {
|
|
5544
|
-
default:
|
|
5544
|
+
default: T(() => [
|
|
5545
5545
|
R("span", {
|
|
5546
5546
|
class: _(v(a)),
|
|
5547
5547
|
style: ce({ backgroundColor: l.color }),
|
|
@@ -5557,7 +5557,7 @@ const Si = Q({
|
|
|
5557
5557
|
class: _(v(i).e("close")),
|
|
5558
5558
|
onClick: re(s, ["stop"])
|
|
5559
5559
|
}, {
|
|
5560
|
-
default:
|
|
5560
|
+
default: T(() => [
|
|
5561
5561
|
x(v(ri))
|
|
5562
5562
|
]),
|
|
5563
5563
|
_: 1
|
|
@@ -5616,7 +5616,7 @@ const Dg = Me(Fg), ll = Symbol("rowContextKey"), Ng = [
|
|
|
5616
5616
|
class: _(v(a)),
|
|
5617
5617
|
style: ce(v(i))
|
|
5618
5618
|
}, {
|
|
5619
|
-
default:
|
|
5619
|
+
default: T(() => [
|
|
5620
5620
|
H(s.$slots, "default")
|
|
5621
5621
|
]),
|
|
5622
5622
|
_: 3
|
|
@@ -5689,7 +5689,7 @@ const Un = Me(jg), Ug = Q({
|
|
|
5689
5689
|
class: _(v(a)),
|
|
5690
5690
|
style: ce(v(i))
|
|
5691
5691
|
}, {
|
|
5692
|
-
default:
|
|
5692
|
+
default: T(() => [
|
|
5693
5693
|
H(s.$slots, "default")
|
|
5694
5694
|
]),
|
|
5695
5695
|
_: 3
|
|
@@ -5810,7 +5810,7 @@ const Qg = Zg, ul = Symbol("dialogInjectionKey"), cl = Q({
|
|
|
5810
5810
|
x(v(Xe), {
|
|
5811
5811
|
class: _(v(u).e("close"))
|
|
5812
5812
|
}, {
|
|
5813
|
-
default:
|
|
5813
|
+
default: T(() => [
|
|
5814
5814
|
(C(), V($e(g.closeIcon || v(i))))
|
|
5815
5815
|
]),
|
|
5816
5816
|
_: 1
|
|
@@ -5896,7 +5896,7 @@ const ob = Q({
|
|
|
5896
5896
|
var n;
|
|
5897
5897
|
const i = me().emit, { nextZIndex: a } = Ki();
|
|
5898
5898
|
let s = "";
|
|
5899
|
-
const r = Dt(), u = Dt(), l =
|
|
5899
|
+
const r = Dt(), u = Dt(), l = M(!1), c = M(!1), d = M(!1), f = M((n = e.zIndex) != null ? n : a());
|
|
5900
5900
|
let m, p;
|
|
5901
5901
|
const h = Ro("namespace", On), g = y(() => {
|
|
5902
5902
|
const Y = {}, $ = `--${h.value}-dialog`;
|
|
@@ -5905,13 +5905,13 @@ const ob = Q({
|
|
|
5905
5905
|
function w() {
|
|
5906
5906
|
i("opened");
|
|
5907
5907
|
}
|
|
5908
|
-
function
|
|
5908
|
+
function P() {
|
|
5909
5909
|
i("closed"), i(we, !1), e.destroyOnClose && (d.value = !1);
|
|
5910
5910
|
}
|
|
5911
|
-
function
|
|
5911
|
+
function k() {
|
|
5912
5912
|
i("close");
|
|
5913
5913
|
}
|
|
5914
|
-
function
|
|
5914
|
+
function E() {
|
|
5915
5915
|
p == null || p(), m == null || m(), e.openDelay && e.openDelay > 0 ? { stop: m } = ua(() => N(), e.openDelay) : N();
|
|
5916
5916
|
}
|
|
5917
5917
|
function A() {
|
|
@@ -5932,7 +5932,7 @@ const ob = Q({
|
|
|
5932
5932
|
function j() {
|
|
5933
5933
|
l.value = !1;
|
|
5934
5934
|
}
|
|
5935
|
-
function
|
|
5935
|
+
function I() {
|
|
5936
5936
|
i("openAutoFocus");
|
|
5937
5937
|
}
|
|
5938
5938
|
function U() {
|
|
@@ -5947,22 +5947,22 @@ const ob = Q({
|
|
|
5947
5947
|
e.closeOnPressEscape && O();
|
|
5948
5948
|
}
|
|
5949
5949
|
return W(() => e.modelValue, (Y) => {
|
|
5950
|
-
Y ? (c.value = !1,
|
|
5950
|
+
Y ? (c.value = !1, E(), d.value = !0, f.value = nr(e.zIndex) ? a() : f.value++, ue(() => {
|
|
5951
5951
|
i("open"), t.value && (t.value.scrollTop = 0);
|
|
5952
5952
|
})) : l.value && A();
|
|
5953
5953
|
}), W(() => e.fullscreen, (Y) => {
|
|
5954
5954
|
t.value && (Y ? (s = t.value.style.transform, t.value.style.transform = "") : t.value.style.transform = s);
|
|
5955
5955
|
}), pe(() => {
|
|
5956
|
-
e.modelValue && (l.value = !0, d.value = !0,
|
|
5956
|
+
e.modelValue && (l.value = !0, d.value = !0, E());
|
|
5957
5957
|
}), {
|
|
5958
5958
|
afterEnter: w,
|
|
5959
|
-
afterLeave:
|
|
5960
|
-
beforeLeave:
|
|
5959
|
+
afterLeave: P,
|
|
5960
|
+
beforeLeave: k,
|
|
5961
5961
|
handleClose: O,
|
|
5962
5962
|
onModalClick: D,
|
|
5963
5963
|
close: A,
|
|
5964
5964
|
doClose: j,
|
|
5965
|
-
onOpenAutoFocus:
|
|
5965
|
+
onOpenAutoFocus: I,
|
|
5966
5966
|
onCloseAutoFocus: U,
|
|
5967
5967
|
onCloseRequested: de,
|
|
5968
5968
|
onFocusoutPrevented: J,
|
|
@@ -5991,7 +5991,7 @@ const ob = Q({
|
|
|
5991
5991
|
version: "3.0.0",
|
|
5992
5992
|
ref: "https://element-plus.org/en-US/component/dialog.html#slots"
|
|
5993
5993
|
}, y(() => !!o.title));
|
|
5994
|
-
const i = ee("dialog"), a =
|
|
5994
|
+
const i = ee("dialog"), a = M(), s = M(), r = M(), {
|
|
5995
5995
|
visible: u,
|
|
5996
5996
|
titleId: l,
|
|
5997
5997
|
bodyId: c,
|
|
@@ -6003,9 +6003,9 @@ const ob = Q({
|
|
|
6003
6003
|
afterLeave: g,
|
|
6004
6004
|
beforeLeave: b,
|
|
6005
6005
|
handleClose: w,
|
|
6006
|
-
onModalClick:
|
|
6007
|
-
onOpenAutoFocus:
|
|
6008
|
-
onCloseAutoFocus:
|
|
6006
|
+
onModalClick: P,
|
|
6007
|
+
onOpenAutoFocus: k,
|
|
6008
|
+
onCloseAutoFocus: E,
|
|
6009
6009
|
onCloseRequested: A,
|
|
6010
6010
|
onFocusoutPrevented: O
|
|
6011
6011
|
} = ab(n, a);
|
|
@@ -6017,19 +6017,19 @@ const ob = Q({
|
|
|
6017
6017
|
rendered: m,
|
|
6018
6018
|
style: d
|
|
6019
6019
|
});
|
|
6020
|
-
const D = Er(
|
|
6020
|
+
const D = Er(P), N = y(() => n.draggable && !n.fullscreen);
|
|
6021
6021
|
return t({
|
|
6022
6022
|
visible: u,
|
|
6023
6023
|
dialogContentRef: r,
|
|
6024
6024
|
resetPosition: () => {
|
|
6025
|
-
var
|
|
6026
|
-
(
|
|
6025
|
+
var I;
|
|
6026
|
+
(I = r.value) == null || I.resetPosition();
|
|
6027
6027
|
}
|
|
6028
|
-
}), (
|
|
6029
|
-
to:
|
|
6030
|
-
disabled:
|
|
6028
|
+
}), (I, U) => (C(), V(v(zr), {
|
|
6029
|
+
to: I.appendTo,
|
|
6030
|
+
disabled: I.appendTo !== "body" ? !1 : !I.appendToBody
|
|
6031
6031
|
}, {
|
|
6032
|
-
default:
|
|
6032
|
+
default: T(() => [
|
|
6033
6033
|
x(Bn, {
|
|
6034
6034
|
name: "dialog-fade",
|
|
6035
6035
|
onAfterEnter: v(h),
|
|
@@ -6037,19 +6037,19 @@ const ob = Q({
|
|
|
6037
6037
|
onBeforeLeave: v(b),
|
|
6038
6038
|
persisted: ""
|
|
6039
6039
|
}, {
|
|
6040
|
-
default:
|
|
6040
|
+
default: T(() => [
|
|
6041
6041
|
oe(x(v(Qg), {
|
|
6042
6042
|
"custom-mask-event": "",
|
|
6043
|
-
mask:
|
|
6044
|
-
"overlay-class":
|
|
6043
|
+
mask: I.modal,
|
|
6044
|
+
"overlay-class": I.modalClass,
|
|
6045
6045
|
"z-index": v(p)
|
|
6046
6046
|
}, {
|
|
6047
|
-
default:
|
|
6047
|
+
default: T(() => [
|
|
6048
6048
|
R("div", {
|
|
6049
6049
|
role: "dialog",
|
|
6050
6050
|
"aria-modal": "true",
|
|
6051
|
-
"aria-label":
|
|
6052
|
-
"aria-labelledby":
|
|
6051
|
+
"aria-label": I.title || void 0,
|
|
6052
|
+
"aria-labelledby": I.title ? void 0 : v(l),
|
|
6053
6053
|
"aria-describedby": v(c),
|
|
6054
6054
|
class: _(`${v(i).namespace.value}-overlay-dialog`),
|
|
6055
6055
|
style: ce(v(f)),
|
|
@@ -6061,45 +6061,45 @@ const ob = Q({
|
|
|
6061
6061
|
loop: "",
|
|
6062
6062
|
trapped: v(u),
|
|
6063
6063
|
"focus-start-el": "container",
|
|
6064
|
-
onFocusAfterTrapped: v(
|
|
6065
|
-
onFocusAfterReleased: v(
|
|
6064
|
+
onFocusAfterTrapped: v(k),
|
|
6065
|
+
onFocusAfterReleased: v(E),
|
|
6066
6066
|
onFocusoutPrevented: v(O),
|
|
6067
6067
|
onReleaseRequested: v(A)
|
|
6068
6068
|
}, {
|
|
6069
|
-
default:
|
|
6069
|
+
default: T(() => [
|
|
6070
6070
|
v(m) ? (C(), V(nb, Nt({
|
|
6071
6071
|
key: 0,
|
|
6072
6072
|
ref_key: "dialogContentRef",
|
|
6073
6073
|
ref: r
|
|
6074
|
-
},
|
|
6075
|
-
center:
|
|
6076
|
-
"align-center":
|
|
6077
|
-
"close-icon":
|
|
6074
|
+
}, I.$attrs, {
|
|
6075
|
+
center: I.center,
|
|
6076
|
+
"align-center": I.alignCenter,
|
|
6077
|
+
"close-icon": I.closeIcon,
|
|
6078
6078
|
draggable: v(N),
|
|
6079
|
-
overflow:
|
|
6080
|
-
fullscreen:
|
|
6081
|
-
"show-close":
|
|
6082
|
-
title:
|
|
6083
|
-
"aria-level":
|
|
6079
|
+
overflow: I.overflow,
|
|
6080
|
+
fullscreen: I.fullscreen,
|
|
6081
|
+
"show-close": I.showClose,
|
|
6082
|
+
title: I.title,
|
|
6083
|
+
"aria-level": I.headerAriaLevel,
|
|
6084
6084
|
onClose: v(w)
|
|
6085
6085
|
}), Fs({
|
|
6086
|
-
header:
|
|
6087
|
-
|
|
6086
|
+
header: T(() => [
|
|
6087
|
+
I.$slots.title ? H(I.$slots, "title", { key: 1 }) : H(I.$slots, "header", {
|
|
6088
6088
|
key: 0,
|
|
6089
6089
|
close: v(w),
|
|
6090
6090
|
titleId: v(l),
|
|
6091
6091
|
titleClass: v(i).e("title")
|
|
6092
6092
|
})
|
|
6093
6093
|
]),
|
|
6094
|
-
default:
|
|
6095
|
-
H(
|
|
6094
|
+
default: T(() => [
|
|
6095
|
+
H(I.$slots, "default")
|
|
6096
6096
|
]),
|
|
6097
6097
|
_: 2
|
|
6098
6098
|
}, [
|
|
6099
|
-
|
|
6099
|
+
I.$slots.footer ? {
|
|
6100
6100
|
name: "footer",
|
|
6101
|
-
fn:
|
|
6102
|
-
H(
|
|
6101
|
+
fn: T(() => [
|
|
6102
|
+
H(I.$slots, "footer")
|
|
6103
6103
|
])
|
|
6104
6104
|
} : void 0
|
|
6105
6105
|
]), 1040, ["center", "align-center", "close-icon", "draggable", "overflow", "fullscreen", "show-close", "title", "aria-level", "onClose"])) : z("v-if", !0)
|
|
@@ -6141,7 +6141,7 @@ const mb = "data-el-collection-item", gb = (e) => {
|
|
|
6141
6141
|
...fb,
|
|
6142
6142
|
name: t,
|
|
6143
6143
|
setup() {
|
|
6144
|
-
const r =
|
|
6144
|
+
const r = M(null), u = /* @__PURE__ */ new Map();
|
|
6145
6145
|
fe(o, {
|
|
6146
6146
|
itemMap: u,
|
|
6147
6147
|
getItems: () => {
|
|
@@ -6158,7 +6158,7 @@ const mb = "data-el-collection-item", gb = (e) => {
|
|
|
6158
6158
|
...vb,
|
|
6159
6159
|
name: n,
|
|
6160
6160
|
setup(r, { attrs: u }) {
|
|
6161
|
-
const l =
|
|
6161
|
+
const l = M(null), c = G(o, void 0);
|
|
6162
6162
|
fe(i, {
|
|
6163
6163
|
collectionItemRef: l
|
|
6164
6164
|
}), pe(() => {
|
|
@@ -6330,7 +6330,7 @@ const yb = B({
|
|
|
6330
6330
|
updateOption: c
|
|
6331
6331
|
} = bb(e, i), { visible: d, hover: f } = un(i), m = me().proxy;
|
|
6332
6332
|
u.onOptionCreate(m), Be(() => {
|
|
6333
|
-
const h = m.value, { selected: g } = u.states, w = (u.props.multiple ? g : [g]).some((
|
|
6333
|
+
const h = m.value, { selected: g } = u.states, w = (u.props.multiple ? g : [g]).some((P) => P.value === m.value);
|
|
6334
6334
|
ue(() => {
|
|
6335
6335
|
u.states.cachedOptions.get(h) === m && !w && u.states.cachedOptions.delete(h);
|
|
6336
6336
|
}), u.onOptionDestroy(h, m);
|
|
@@ -6377,7 +6377,7 @@ const Sb = B({
|
|
|
6377
6377
|
name: "ElSelectDropdown",
|
|
6378
6378
|
componentName: "ElSelectDropdown",
|
|
6379
6379
|
setup() {
|
|
6380
|
-
const e = G(No), t = ee("select"), n = y(() => e.props.popperClass), o = y(() => e.props.multiple), i = y(() => e.props.fitInputWidth), a =
|
|
6380
|
+
const e = G(No), t = ee("select"), n = y(() => e.props.popperClass), o = y(() => e.props.multiple), i = y(() => e.props.fitInputWidth), a = M("");
|
|
6381
6381
|
function s() {
|
|
6382
6382
|
var r;
|
|
6383
6383
|
a.value = `${(r = e.selectRef) == null ? void 0 : r.offsetWidth}px`;
|
|
@@ -6431,10 +6431,10 @@ const Ib = 11, kb = (e, t) => {
|
|
|
6431
6431
|
inputHovering: !1,
|
|
6432
6432
|
menuVisibleOnFocus: !1,
|
|
6433
6433
|
isBeforeHide: !1
|
|
6434
|
-
}), r =
|
|
6435
|
-
isComposing:
|
|
6436
|
-
handleCompositionStart:
|
|
6437
|
-
handleCompositionUpdate:
|
|
6434
|
+
}), r = M(null), u = M(null), l = M(null), c = M(null), d = M(null), f = M(null), m = M(null), p = M(null), h = M(null), g = M(null), b = M(null), w = M(null), {
|
|
6435
|
+
isComposing: P,
|
|
6436
|
+
handleCompositionStart: k,
|
|
6437
|
+
handleCompositionUpdate: E,
|
|
6438
6438
|
handleCompositionEnd: A
|
|
6439
6439
|
} = rv({
|
|
6440
6440
|
afterComposition: (S) => yn(S)
|
|
@@ -6452,9 +6452,9 @@ const Ib = 11, kb = (e, t) => {
|
|
|
6452
6452
|
afterBlur() {
|
|
6453
6453
|
N.value = !1, s.menuVisibleOnFocus = !1;
|
|
6454
6454
|
}
|
|
6455
|
-
}), N =
|
|
6455
|
+
}), N = M(!1), j = M(), { form: I, formItem: U } = fn(), { inputId: J } = Fo(e, {
|
|
6456
6456
|
formItemContext: U
|
|
6457
|
-
}), { valueOnClear: de, isEmptyValue: Y } = fv(e), $ = y(() => e.disabled || (
|
|
6457
|
+
}), { valueOnClear: de, isEmptyValue: Y } = fv(e), $ = y(() => e.disabled || (I == null ? void 0 : I.disabled)), te = y(() => Ie(e.modelValue) ? e.modelValue.length > 0 : !Y(e.modelValue)), Le = y(() => e.clearable && !$.value && s.inputHovering && te.value), ge = y(() => e.remote && e.filterable && !e.remoteShowSuffix ? "" : e.suffixIcon), be = y(() => i.is("reverse", ge.value && N.value)), Pe = y(() => (U == null ? void 0 : U.validateState) || ""), Ke = y(() => Lp[Pe.value]), jt = y(() => e.remote ? 300 : 0), We = y(() => e.loading ? e.loadingText || n("el.select.loading") : e.remote && !s.inputValue && s.options.size === 0 ? !1 : e.filterable && s.inputValue && s.options.size > 0 && Ce.value === 0 ? e.noMatchText || n("el.select.noMatch") : s.options.size === 0 ? e.noDataText || n("el.select.noData") : null), Ce = y(() => le.value.filter((S) => S.visible).length), le = y(() => {
|
|
6458
6458
|
const S = Array.from(s.options.values()), L = [];
|
|
6459
6459
|
return s.optionValues.forEach((q) => {
|
|
6460
6460
|
const ne = S.findIndex((vt) => vt.value === q);
|
|
@@ -6508,7 +6508,7 @@ const Ib = 11, kb = (e, t) => {
|
|
|
6508
6508
|
s.isBeforeHide || Wn();
|
|
6509
6509
|
});
|
|
6510
6510
|
const At = (S) => {
|
|
6511
|
-
s.previousQuery === S ||
|
|
6511
|
+
s.previousQuery === S || P.value || (s.previousQuery = S, e.filterable && Se(e.filterMethod) ? e.filterMethod(S) : e.filterable && e.remote && Se(e.remoteMethod) && e.remoteMethod(S), e.defaultFirstOption && (e.filterable || e.remote) && Ce.value ? ue(vn) : ue(tt));
|
|
6512
6512
|
}, vn = () => {
|
|
6513
6513
|
const S = le.value.filter((ne) => ne.visible && !ne.disabled && !ne.states.groupDisabled), L = S.find((ne) => ne.created), q = S[0];
|
|
6514
6514
|
s.hoveringIndex = oa(le.value, L || q);
|
|
@@ -6653,7 +6653,7 @@ const Ib = 11, kb = (e, t) => {
|
|
|
6653
6653
|
N.value = !0;
|
|
6654
6654
|
return;
|
|
6655
6655
|
}
|
|
6656
|
-
if (!(s.options.size === 0 || s.filteredOptionsCount === 0 ||
|
|
6656
|
+
if (!(s.options.size === 0 || s.filteredOptionsCount === 0 || P.value) && !_l.value) {
|
|
6657
6657
|
S === "next" ? (s.hoveringIndex++, s.hoveringIndex === s.options.size && (s.hoveringIndex = 0)) : S === "prev" && (s.hoveringIndex--, s.hoveringIndex < 0 && (s.hoveringIndex = s.options.size - 1));
|
|
6658
6658
|
const L = le.value[s.hoveringIndex];
|
|
6659
6659
|
(L.disabled === !0 || L.states.groupDisabled === !0 || !L.visible) && sa(S), ue(() => Zn(j.value));
|
|
@@ -6708,8 +6708,8 @@ const Ib = 11, kb = (e, t) => {
|
|
|
6708
6708
|
setSelected: Ut,
|
|
6709
6709
|
selectDisabled: $,
|
|
6710
6710
|
emptyText: We,
|
|
6711
|
-
handleCompositionStart:
|
|
6712
|
-
handleCompositionUpdate:
|
|
6711
|
+
handleCompositionStart: k,
|
|
6712
|
+
handleCompositionUpdate: E,
|
|
6713
6713
|
handleCompositionEnd: A,
|
|
6714
6714
|
onOptionCreate: El,
|
|
6715
6715
|
onOptionDestroy: Il,
|
|
@@ -6929,7 +6929,7 @@ function Mb(e, t, n, o, i, a) {
|
|
|
6929
6929
|
onBeforeShow: e.handleMenuEnter,
|
|
6930
6930
|
onHide: (p) => e.states.isBeforeHide = !1
|
|
6931
6931
|
}, {
|
|
6932
|
-
default:
|
|
6932
|
+
default: T(() => {
|
|
6933
6933
|
var p;
|
|
6934
6934
|
return [
|
|
6935
6935
|
R("div", {
|
|
@@ -6971,7 +6971,7 @@ function Mb(e, t, n, o, i, a) {
|
|
|
6971
6971
|
style: ce(e.tagStyle),
|
|
6972
6972
|
onClose: (g) => e.deleteTag(g, h)
|
|
6973
6973
|
}, {
|
|
6974
|
-
default:
|
|
6974
|
+
default: T(() => [
|
|
6975
6975
|
R("span", {
|
|
6976
6976
|
class: _(e.nsSelect.e("tags-text"))
|
|
6977
6977
|
}, [
|
|
@@ -6995,7 +6995,7 @@ function Mb(e, t, n, o, i, a) {
|
|
|
6995
6995
|
placement: "bottom",
|
|
6996
6996
|
teleported: e.teleported
|
|
6997
6997
|
}, {
|
|
6998
|
-
default:
|
|
6998
|
+
default: T(() => [
|
|
6999
6999
|
R("div", {
|
|
7000
7000
|
ref: "collapseItemRef",
|
|
7001
7001
|
class: _(e.nsSelect.e("selected-item"))
|
|
@@ -7008,7 +7008,7 @@ function Mb(e, t, n, o, i, a) {
|
|
|
7008
7008
|
"disable-transitions": "",
|
|
7009
7009
|
style: ce(e.collapseTagStyle)
|
|
7010
7010
|
}, {
|
|
7011
|
-
default:
|
|
7011
|
+
default: T(() => [
|
|
7012
7012
|
R("span", {
|
|
7013
7013
|
class: _(e.nsSelect.e("tags-text"))
|
|
7014
7014
|
}, " + " + ie(e.states.selected.length - e.maxCollapseTags), 3)
|
|
@@ -7017,7 +7017,7 @@ function Mb(e, t, n, o, i, a) {
|
|
|
7017
7017
|
}, 8, ["size", "type", "effect", "style"])
|
|
7018
7018
|
], 2)
|
|
7019
7019
|
]),
|
|
7020
|
-
content:
|
|
7020
|
+
content: T(() => [
|
|
7021
7021
|
R("div", {
|
|
7022
7022
|
ref: "tagMenuRef",
|
|
7023
7023
|
class: _(e.nsSelect.e("selection"))
|
|
@@ -7035,7 +7035,7 @@ function Mb(e, t, n, o, i, a) {
|
|
|
7035
7035
|
"disable-transitions": "",
|
|
7036
7036
|
onClose: (g) => e.deleteTag(g, h)
|
|
7037
7037
|
}, {
|
|
7038
|
-
default:
|
|
7038
|
+
default: T(() => [
|
|
7039
7039
|
R("span", {
|
|
7040
7040
|
class: _(e.nsSelect.e("tags-text"))
|
|
7041
7041
|
}, [
|
|
@@ -7130,7 +7130,7 @@ function Mb(e, t, n, o, i, a) {
|
|
|
7130
7130
|
key: 0,
|
|
7131
7131
|
class: _([e.nsSelect.e("caret"), e.nsSelect.e("icon"), e.iconReverse])
|
|
7132
7132
|
}, {
|
|
7133
|
-
default:
|
|
7133
|
+
default: T(() => [
|
|
7134
7134
|
(C(), V($e(e.iconComponent)))
|
|
7135
7135
|
]),
|
|
7136
7136
|
_: 1
|
|
@@ -7144,7 +7144,7 @@ function Mb(e, t, n, o, i, a) {
|
|
|
7144
7144
|
]),
|
|
7145
7145
|
onClick: e.handleClearClick
|
|
7146
7146
|
}, {
|
|
7147
|
-
default:
|
|
7147
|
+
default: T(() => [
|
|
7148
7148
|
(C(), V($e(e.clearIcon)))
|
|
7149
7149
|
]),
|
|
7150
7150
|
_: 1
|
|
@@ -7153,7 +7153,7 @@ function Mb(e, t, n, o, i, a) {
|
|
|
7153
7153
|
key: 2,
|
|
7154
7154
|
class: _([e.nsInput.e("icon"), e.nsInput.e("validateIcon")])
|
|
7155
7155
|
}, {
|
|
7156
|
-
default:
|
|
7156
|
+
default: T(() => [
|
|
7157
7157
|
(C(), V($e(e.validateIcon)))
|
|
7158
7158
|
]),
|
|
7159
7159
|
_: 1
|
|
@@ -7162,9 +7162,9 @@ function Mb(e, t, n, o, i, a) {
|
|
|
7162
7162
|
], 10, ["onClick"])
|
|
7163
7163
|
];
|
|
7164
7164
|
}),
|
|
7165
|
-
content:
|
|
7165
|
+
content: T(() => [
|
|
7166
7166
|
x(f, { ref: "menuRef" }, {
|
|
7167
|
-
default:
|
|
7167
|
+
default: T(() => [
|
|
7168
7168
|
e.$slots.header ? (C(), F("div", {
|
|
7169
7169
|
key: 0,
|
|
7170
7170
|
class: _(e.nsSelect.be("dropdown", "header")),
|
|
@@ -7184,14 +7184,14 @@ function Mb(e, t, n, o, i, a) {
|
|
|
7184
7184
|
"aria-label": e.ariaLabel,
|
|
7185
7185
|
"aria-orientation": "vertical"
|
|
7186
7186
|
}, {
|
|
7187
|
-
default:
|
|
7187
|
+
default: T(() => [
|
|
7188
7188
|
e.showNewOption ? (C(), V(l, {
|
|
7189
7189
|
key: 0,
|
|
7190
7190
|
value: e.states.inputValue,
|
|
7191
7191
|
created: !0
|
|
7192
7192
|
}, null, 8, ["value"])) : z("v-if", !0),
|
|
7193
7193
|
x(c, null, {
|
|
7194
|
-
default:
|
|
7194
|
+
default: T(() => [
|
|
7195
7195
|
H(e.$slots, "default")
|
|
7196
7196
|
]),
|
|
7197
7197
|
_: 3
|
|
@@ -7241,7 +7241,7 @@ const _b = B({
|
|
|
7241
7241
|
disabled: Boolean
|
|
7242
7242
|
},
|
|
7243
7243
|
setup(e) {
|
|
7244
|
-
const t = ee("select"), n =
|
|
7244
|
+
const t = ee("select"), n = M(null), o = me(), i = M([]);
|
|
7245
7245
|
fe(dl, ut({
|
|
7246
7246
|
...un(e)
|
|
7247
7247
|
}));
|
|
@@ -7360,7 +7360,7 @@ const Lb = Q({
|
|
|
7360
7360
|
props: Lb,
|
|
7361
7361
|
emits: Rb,
|
|
7362
7362
|
setup(e, { expose: t, emit: n }) {
|
|
7363
|
-
const o = e, i = y(() => o[$b]), a = ee("popover"), s =
|
|
7363
|
+
const o = e, i = y(() => o[$b]), a = ee("popover"), s = M(), r = y(() => {
|
|
7364
7364
|
var g;
|
|
7365
7365
|
return (g = v(s)) == null ? void 0 : g.popperRef;
|
|
7366
7366
|
}), u = y(() => [
|
|
@@ -7414,7 +7414,7 @@ const Lb = Q({
|
|
|
7414
7414
|
onShow: p,
|
|
7415
7415
|
onHide: h
|
|
7416
7416
|
}), {
|
|
7417
|
-
content:
|
|
7417
|
+
content: T(() => [
|
|
7418
7418
|
g.title ? (C(), F("div", {
|
|
7419
7419
|
key: 0,
|
|
7420
7420
|
class: _(v(a).e("title")),
|
|
@@ -7424,7 +7424,7 @@ const Lb = Q({
|
|
|
7424
7424
|
Z(ie(g.content), 1)
|
|
7425
7425
|
])
|
|
7426
7426
|
]),
|
|
7427
|
-
default:
|
|
7427
|
+
default: T(() => [
|
|
7428
7428
|
g.$slots.reference ? H(g.$slots, "reference", { key: 0 }) : z("v-if", !0)
|
|
7429
7429
|
]),
|
|
7430
7430
|
_: 3
|
|
@@ -7449,7 +7449,7 @@ const Vb = "popover", pl = Rp(Bb, Vb), Vo = Me(Nb, {
|
|
|
7449
7449
|
});
|
|
7450
7450
|
function zb(e) {
|
|
7451
7451
|
let t;
|
|
7452
|
-
const n =
|
|
7452
|
+
const n = M(!1), o = ut({
|
|
7453
7453
|
...e,
|
|
7454
7454
|
originalPosition: "",
|
|
7455
7455
|
originalOverflow: "",
|
|
@@ -7505,7 +7505,7 @@ function zb(e) {
|
|
|
7505
7505
|
name: p.b("fade"),
|
|
7506
7506
|
onAfterLeave: u
|
|
7507
7507
|
}, {
|
|
7508
|
-
default:
|
|
7508
|
+
default: T(() => [
|
|
7509
7509
|
oe(x("div", {
|
|
7510
7510
|
style: {
|
|
7511
7511
|
backgroundColor: o.background || ""
|
|
@@ -7595,7 +7595,7 @@ const Ci = function(e = {}) {
|
|
|
7595
7595
|
var n, o, i, a;
|
|
7596
7596
|
const s = t.instance, r = (f) => ke(t.value) ? t.value[f] : void 0, u = (f) => {
|
|
7597
7597
|
const m = He(f) && (s == null ? void 0 : s[f]) || f;
|
|
7598
|
-
return m &&
|
|
7598
|
+
return m && M(m);
|
|
7599
7599
|
}, l = (f) => u(r(f) || e.getAttribute(`element-loading-${Ru(f)}`)), c = (n = r("fullscreen")) != null ? n : t.modifiers.fullscreen, d = {
|
|
7600
7600
|
text: l("text"),
|
|
7601
7601
|
svg: l("svg"),
|
|
@@ -7787,9 +7787,9 @@ function Qb(e, t, n, o, i, a) {
|
|
|
7787
7787
|
const s = Os, r = Xe, u = Vo, l = Kn, c = Qr, d = Un, f = Xr;
|
|
7788
7788
|
return C(), F("div", Gb, [
|
|
7789
7789
|
x(d, null, {
|
|
7790
|
-
default:
|
|
7790
|
+
default: T(() => [
|
|
7791
7791
|
x(l, { span: 12 }, {
|
|
7792
|
-
default:
|
|
7792
|
+
default: T(() => [
|
|
7793
7793
|
R("span", qb, ie(n.title), 1),
|
|
7794
7794
|
n.helpMessage ? (C(), V(u, {
|
|
7795
7795
|
key: 0,
|
|
@@ -7798,16 +7798,16 @@ function Qb(e, t, n, o, i, a) {
|
|
|
7798
7798
|
teleported: !1,
|
|
7799
7799
|
"popper-class": "popover-origin-help"
|
|
7800
7800
|
}, Fs({
|
|
7801
|
-
default:
|
|
7801
|
+
default: T(() => [
|
|
7802
7802
|
R("span", Jb, ie(n.helpMessage), 1)
|
|
7803
7803
|
]),
|
|
7804
7804
|
_: 2
|
|
7805
7805
|
}, [
|
|
7806
7806
|
n.helpMessage ? {
|
|
7807
7807
|
name: "reference",
|
|
7808
|
-
fn:
|
|
7808
|
+
fn: T(() => [
|
|
7809
7809
|
x(r, { class: "info" }, {
|
|
7810
|
-
default:
|
|
7810
|
+
default: T(() => [
|
|
7811
7811
|
x(s)
|
|
7812
7812
|
]),
|
|
7813
7813
|
_: 1
|
|
@@ -7820,7 +7820,7 @@ function Qb(e, t, n, o, i, a) {
|
|
|
7820
7820
|
_: 1
|
|
7821
7821
|
}),
|
|
7822
7822
|
x(l, { span: 12 }, {
|
|
7823
|
-
default:
|
|
7823
|
+
default: T(() => [
|
|
7824
7824
|
n.selections && n.selections.length > 1 && !n.showAsLegend ? (C(), V(c, {
|
|
7825
7825
|
key: 0,
|
|
7826
7826
|
class: "all-checkbox",
|
|
@@ -7830,7 +7830,7 @@ function Qb(e, t, n, o, i, a) {
|
|
|
7830
7830
|
onChange: a.handleCheckAllChange,
|
|
7831
7831
|
onClick: a.onAllCheckboxNativeChange
|
|
7832
7832
|
}, {
|
|
7833
|
-
default:
|
|
7833
|
+
default: T(() => t[2] || (t[2] = [
|
|
7834
7834
|
Z("Display all")
|
|
7835
7835
|
])),
|
|
7836
7836
|
_: 1
|
|
@@ -7848,13 +7848,13 @@ function Qb(e, t, n, o, i, a) {
|
|
|
7848
7848
|
size: "small",
|
|
7849
7849
|
onChange: a.handleCheckedItemsChange
|
|
7850
7850
|
}, {
|
|
7851
|
-
default:
|
|
7851
|
+
default: T(() => [
|
|
7852
7852
|
R("div", Yb, [
|
|
7853
7853
|
(C(!0), F(ye, null, at(n.selections, (m) => (C(), V(d, {
|
|
7854
7854
|
key: m[n.identifierKey],
|
|
7855
7855
|
label: m[n.identifierKey]
|
|
7856
7856
|
}, {
|
|
7857
|
-
default:
|
|
7857
|
+
default: T(() => [
|
|
7858
7858
|
R("div", {
|
|
7859
7859
|
class: "checkbox-container",
|
|
7860
7860
|
onMouseenter: (p) => a.checkboxMouseEnterEmit(m[n.identifierKey], !0),
|
|
@@ -7868,14 +7868,14 @@ function Qb(e, t, n, o, i, a) {
|
|
|
7868
7868
|
onClick: a.onCheckboxNativeChange,
|
|
7869
7869
|
checked: !("enabled" in m) || m.enabled === !0
|
|
7870
7870
|
}, {
|
|
7871
|
-
default:
|
|
7871
|
+
default: T(() => [
|
|
7872
7872
|
x(d, { class: "checkbox-row" }, {
|
|
7873
|
-
default:
|
|
7873
|
+
default: T(() => [
|
|
7874
7874
|
a.hasLineStyles(m) ? (C(), V(l, {
|
|
7875
7875
|
key: 0,
|
|
7876
7876
|
span: 4
|
|
7877
7877
|
}, {
|
|
7878
|
-
default:
|
|
7878
|
+
default: T(() => [
|
|
7879
7879
|
R("div", {
|
|
7880
7880
|
class: "path-visual",
|
|
7881
7881
|
style: ce(a.getLineStyles(m))
|
|
@@ -7884,7 +7884,7 @@ function Qb(e, t, n, o, i, a) {
|
|
|
7884
7884
|
_: 2
|
|
7885
7885
|
}, 1024)) : z("", !0),
|
|
7886
7886
|
x(l, { span: 20 }, {
|
|
7887
|
-
default:
|
|
7887
|
+
default: T(() => [
|
|
7888
7888
|
R("div", {
|
|
7889
7889
|
style: ce(a.getBackgroundStyles(m))
|
|
7890
7890
|
}, ie(m[n.labelKey]), 5)
|
|
@@ -8303,10 +8303,10 @@ var gl = { exports: {} };
|
|
|
8303
8303
|
for (g = 0, b = h.length; g < b; g++)
|
|
8304
8304
|
h[g].call(this, w);
|
|
8305
8305
|
}, this.remove = function(w) {
|
|
8306
|
-
var
|
|
8306
|
+
var P = [];
|
|
8307
8307
|
for (g = 0, b = h.length; g < b; g++)
|
|
8308
|
-
h[g] !== w &&
|
|
8309
|
-
h =
|
|
8308
|
+
h[g] !== w && P.push(h[g]);
|
|
8309
|
+
h = P;
|
|
8310
8310
|
}, this.length = function() {
|
|
8311
8311
|
return h.length;
|
|
8312
8312
|
};
|
|
@@ -8336,21 +8336,21 @@ var gl = { exports: {} };
|
|
|
8336
8336
|
transition: "0s"
|
|
8337
8337
|
};
|
|
8338
8338
|
r(h.resizeSensor, b);
|
|
8339
|
-
var
|
|
8340
|
-
|
|
8341
|
-
var
|
|
8342
|
-
r(
|
|
8343
|
-
var
|
|
8344
|
-
|
|
8339
|
+
var P = document.createElement("div");
|
|
8340
|
+
P.className = "resize-sensor-expand", r(P, b);
|
|
8341
|
+
var k = document.createElement("div");
|
|
8342
|
+
r(k, w), P.appendChild(k);
|
|
8343
|
+
var E = document.createElement("div");
|
|
8344
|
+
E.className = "resize-sensor-shrink", r(E, b);
|
|
8345
8345
|
var A = document.createElement("div");
|
|
8346
|
-
r(A, w), r(A, { width: "200%", height: "200%" }),
|
|
8346
|
+
r(A, w), r(A, { width: "200%", height: "200%" }), E.appendChild(A), h.resizeSensor.appendChild(P), h.resizeSensor.appendChild(E), h.appendChild(h.resizeSensor);
|
|
8347
8347
|
var O = window.getComputedStyle(h), D = O ? O.getPropertyValue("position") : null;
|
|
8348
8348
|
D !== "absolute" && D !== "relative" && D !== "fixed" && D !== "sticky" && (h.style.position = "relative");
|
|
8349
|
-
var N = !1, j = 0,
|
|
8349
|
+
var N = !1, j = 0, I = s(h), U = 0, J = 0, de = !0;
|
|
8350
8350
|
f = 0;
|
|
8351
8351
|
var Y = function() {
|
|
8352
8352
|
var be = h.offsetWidth, Pe = h.offsetHeight;
|
|
8353
|
-
|
|
8353
|
+
k.style.width = be + 10 + "px", k.style.height = Pe + 10 + "px", P.scrollLeft = be + 10, P.scrollTop = Pe + 10, E.scrollLeft = be + 10, E.scrollTop = Pe + 10;
|
|
8354
8354
|
}, $ = function() {
|
|
8355
8355
|
if (de) {
|
|
8356
8356
|
var be = h.offsetWidth === 0 && h.offsetHeight === 0;
|
|
@@ -8366,13 +8366,13 @@ var gl = { exports: {} };
|
|
|
8366
8366
|
};
|
|
8367
8367
|
h.resizeSensor.resetSensor = $;
|
|
8368
8368
|
var te = function() {
|
|
8369
|
-
j = 0, N && (U =
|
|
8369
|
+
j = 0, N && (U = I.width, J = I.height, h.resizedAttached && h.resizedAttached.call(I));
|
|
8370
8370
|
}, Le = function() {
|
|
8371
|
-
|
|
8371
|
+
I = s(h), N = I.width !== U || I.height !== J, N && !j && (j = o(te)), $();
|
|
8372
8372
|
}, ge = function(be, Pe, Ke) {
|
|
8373
8373
|
be.attachEvent ? be.attachEvent("on" + Pe, Ke) : be.addEventListener(Pe, Ke);
|
|
8374
8374
|
};
|
|
8375
|
-
ge(
|
|
8375
|
+
ge(P, "scroll", Le), ge(E, "scroll", Le), f = o(function() {
|
|
8376
8376
|
f = 0, $();
|
|
8377
8377
|
});
|
|
8378
8378
|
}
|
|
@@ -9126,8 +9126,8 @@ const Ii = new vy(), my = "cannot be found on the map.", gy = (e) => {
|
|
|
9126
9126
|
for (let [p, h] of Object.entries(t))
|
|
9127
9127
|
if (p !== "mapUUID") {
|
|
9128
9128
|
const g = h.id, b = h.label, w = [h.models];
|
|
9129
|
-
let
|
|
9130
|
-
if (h.taxons && (typeof h.taxons != "object" ?
|
|
9129
|
+
let P;
|
|
9130
|
+
if (h.taxons && (typeof h.taxons != "object" ? P = JSON.parse(h.taxons) : P = h.taxons), m.has(g)) continue;
|
|
9131
9131
|
m.add(g), l.push({
|
|
9132
9132
|
dataset: h.dataset,
|
|
9133
9133
|
biologicalSex: s,
|
|
@@ -9137,7 +9137,7 @@ const Ii = new vy(), my = "cannot be found on the map.", gy = (e) => {
|
|
|
9137
9137
|
feature: h,
|
|
9138
9138
|
userData: n,
|
|
9139
9139
|
eventType: e,
|
|
9140
|
-
provenanceTaxonomy:
|
|
9140
|
+
provenanceTaxonomy: P,
|
|
9141
9141
|
alert: h.alert,
|
|
9142
9142
|
mapUUID: f
|
|
9143
9143
|
});
|
|
@@ -9325,22 +9325,26 @@ const Ii = new vy(), my = "cannot be found on the map.", gy = (e) => {
|
|
|
9325
9325
|
if (o.find((a) => !a.startsWith("ilxtr:"))) {
|
|
9326
9326
|
const a = Array.isArray(o) ? [...o] : [o];
|
|
9327
9327
|
a.length === 1 && a.push([]);
|
|
9328
|
-
const s = (n = e[0].feature) == null ? void 0 : n.featureId, r = this.mapImp.annotations.get(s), u = r == null ? void 0 : r["anatomical-nodes"]
|
|
9329
|
-
|
|
9330
|
-
|
|
9331
|
-
|
|
9332
|
-
|
|
9333
|
-
const
|
|
9334
|
-
|
|
9328
|
+
const s = (n = e[0].feature) == null ? void 0 : n.featureId, r = this.mapImp.annotations.get(s), u = r == null ? void 0 : r["anatomical-nodes"];
|
|
9329
|
+
let l, c = a;
|
|
9330
|
+
const d = r == null ? void 0 : r.models;
|
|
9331
|
+
u != null && u.length && (l = u[u.length - 1]), l ? c = JSON.parse(l) : d && (c = [d, []]);
|
|
9332
|
+
const f = c.flat(1 / 0), m = [...new Set(f)], h = (await au(this.flatmapAPI, m)).reduce((k, E) => {
|
|
9333
|
+
const A = E[0], O = JSON.parse(E[1]);
|
|
9334
|
+
return O.source === this.mapImp.knowledgeSource && k.push({ id: A, label: O.label }), k;
|
|
9335
|
+
}, []), g = [];
|
|
9336
|
+
for (let k = 0; k < m.length; k++) {
|
|
9337
|
+
const E = h.find((A) => A.id === m[k]);
|
|
9338
|
+
E && g.push(E.label);
|
|
9335
9339
|
}
|
|
9336
|
-
const
|
|
9337
|
-
facet: JSON.stringify(
|
|
9340
|
+
const b = si(g.join(", ")), w = {
|
|
9341
|
+
facet: JSON.stringify(c),
|
|
9338
9342
|
facetPropPath: `flatmap.connectivity.source.${this.connectionType.toLowerCase()}`,
|
|
9339
|
-
tagLabel:
|
|
9343
|
+
tagLabel: b,
|
|
9340
9344
|
// used tagLabel here instead of label since the label and value are different
|
|
9341
9345
|
term: this.connectionType
|
|
9342
9346
|
};
|
|
9343
|
-
this.connectivityfilters.some((
|
|
9347
|
+
this.connectivityfilters.some((k) => k.facet === w.facet && k.facetPropPath === w.facetPropPath) || this.connectivityfilters.push(w), this.$emit("neuron-connection-feature-click", this.connectivityfilters);
|
|
9344
9348
|
}
|
|
9345
9349
|
} else {
|
|
9346
9350
|
ly(this.mapImp, this.flatmapQueries);
|
|
@@ -10358,7 +10362,7 @@ const Ii = new vy(), my = "cannot be found on the map.", gy = (e) => {
|
|
|
10358
10362
|
class: "viewing-mode-title"
|
|
10359
10363
|
}, My = ["onClick"], Py = ["onClick"];
|
|
10360
10364
|
function _y(e, t, n, o, i, a) {
|
|
10361
|
-
const s = Re("map-svg-sprite-color"), r = Ms, u = Xe, l = Vo, c = ki, d = Re("DrawToolbar"), f = Re("map-svg-icon"), m = vl, p = Re("tree-controls"), h = hl, g = Ps, b = Wr, w = Un,
|
|
10365
|
+
const s = Re("map-svg-sprite-color"), r = Ms, u = Xe, l = Vo, c = ki, d = Re("DrawToolbar"), f = Re("map-svg-icon"), m = vl, p = Re("tree-controls"), h = hl, g = Ps, b = Wr, w = Un, P = Kn, k = Xi, E = Bo, A = sl, O = rl, D = Re("Tooltip"), N = pl, j = Ei;
|
|
10362
10366
|
return oe((C(), F("div", yy, [
|
|
10363
10367
|
x(s),
|
|
10364
10368
|
R("div", wy, [
|
|
@@ -10372,14 +10376,14 @@ function _y(e, t, n, o, i, a) {
|
|
|
10372
10376
|
visible: e.hoverVisibilities[7].value,
|
|
10373
10377
|
ref: "warningPopover"
|
|
10374
10378
|
}, {
|
|
10375
|
-
reference:
|
|
10379
|
+
reference: T(() => [
|
|
10376
10380
|
R("div", {
|
|
10377
10381
|
class: "warning-icon",
|
|
10378
|
-
onMouseover: t[7] || (t[7] = (
|
|
10379
|
-
onMouseout: t[8] || (t[8] = (
|
|
10382
|
+
onMouseover: t[7] || (t[7] = (I) => a.showTooltip(7)),
|
|
10383
|
+
onMouseout: t[8] || (t[8] = (I) => a.hideTooltip(7))
|
|
10380
10384
|
}, [
|
|
10381
10385
|
n.displayWarning || n.isLegacy ? (C(), V(u, { key: 0 }, {
|
|
10382
|
-
default:
|
|
10386
|
+
default: T(() => [
|
|
10383
10387
|
x(r)
|
|
10384
10388
|
]),
|
|
10385
10389
|
_: 1
|
|
@@ -10388,20 +10392,20 @@ function _y(e, t, n, o, i, a) {
|
|
|
10388
10392
|
t[33] || (t[33] = R("span", { class: "warning-text" }, "Legacy Map", -1)),
|
|
10389
10393
|
R("div", {
|
|
10390
10394
|
class: "latest-map-text",
|
|
10391
|
-
onClick: t[6] || (t[6] = (...
|
|
10395
|
+
onClick: t[6] || (t[6] = (...I) => a.viewLatestMap && a.viewLatestMap(...I))
|
|
10392
10396
|
}, " Click here for the latest map ")
|
|
10393
10397
|
], 64)) : n.displayWarning ? (C(), F("span", Ey, "Beta")) : z("", !0)
|
|
10394
10398
|
], 32)
|
|
10395
10399
|
]),
|
|
10396
|
-
default:
|
|
10400
|
+
default: T(() => [
|
|
10397
10401
|
n.isLegacy ? (C(), F("p", {
|
|
10398
10402
|
key: 0,
|
|
10399
|
-
onMouseover: t[0] || (t[0] = (
|
|
10400
|
-
onMouseout: t[1] || (t[1] = (
|
|
10403
|
+
onMouseover: t[0] || (t[0] = (I) => a.showTooltip(7)),
|
|
10404
|
+
onMouseout: t[1] || (t[1] = (I) => a.hideTooltip(7))
|
|
10401
10405
|
}, " This is a legacy map, you may view the latest map instead. ", 32)) : e.isFC ? (C(), F("p", {
|
|
10402
10406
|
key: 1,
|
|
10403
|
-
onMouseover: t[2] || (t[2] = (
|
|
10404
|
-
onMouseout: t[3] || (t[3] = (
|
|
10407
|
+
onMouseover: t[2] || (t[2] = (I) => a.showTooltip(7)),
|
|
10408
|
+
onMouseout: t[3] || (t[3] = (I) => a.hideTooltip(7))
|
|
10405
10409
|
}, t[31] || (t[31] = [
|
|
10406
10410
|
Z(" This map displays the connectivity of individual neurons. Specifically, those which align with (parts of) the neuron populations from the "),
|
|
10407
10411
|
R("a", {
|
|
@@ -10416,8 +10420,8 @@ function _y(e, t, n, o, i, a) {
|
|
|
10416
10420
|
Z(". ")
|
|
10417
10421
|
]), 32)) : (C(), F("p", {
|
|
10418
10422
|
key: 2,
|
|
10419
|
-
onMouseover: t[4] || (t[4] = (
|
|
10420
|
-
onMouseout: t[5] || (t[5] = (
|
|
10423
|
+
onMouseover: t[4] || (t[4] = (I) => a.showTooltip(7)),
|
|
10424
|
+
onMouseout: t[5] || (t[5] = (I) => a.hideTooltip(7))
|
|
10421
10425
|
}, t[32] || (t[32] = [
|
|
10422
10426
|
Z(" This map displays the connectivity of neuron populations. Specifically, those from the primarily rat-based "),
|
|
10423
10427
|
R("a", {
|
|
@@ -10444,15 +10448,15 @@ function _y(e, t, n, o, i, a) {
|
|
|
10444
10448
|
visible: e.hoverVisibilities[8].value,
|
|
10445
10449
|
ref: "whatsNewPopover"
|
|
10446
10450
|
}, {
|
|
10447
|
-
reference:
|
|
10451
|
+
reference: T(() => [
|
|
10448
10452
|
n.displayLatestChanges ? (C(), F("div", {
|
|
10449
10453
|
key: 0,
|
|
10450
10454
|
class: "latest-changesicon",
|
|
10451
|
-
onMouseover: t[9] || (t[9] = (
|
|
10452
|
-
onMouseout: t[10] || (t[10] = (
|
|
10455
|
+
onMouseover: t[9] || (t[9] = (I) => a.showTooltip(8)),
|
|
10456
|
+
onMouseout: t[10] || (t[10] = (I) => a.hideTooltip(8))
|
|
10453
10457
|
}, [
|
|
10454
10458
|
x(u, null, {
|
|
10455
|
-
default:
|
|
10459
|
+
default: T(() => [
|
|
10456
10460
|
x(r)
|
|
10457
10461
|
]),
|
|
10458
10462
|
_: 1
|
|
@@ -10460,7 +10464,7 @@ function _y(e, t, n, o, i, a) {
|
|
|
10460
10464
|
t[34] || (t[34] = R("span", { class: "warning-text" }, "What's new?", -1))
|
|
10461
10465
|
], 32)) : z("", !0)
|
|
10462
10466
|
]),
|
|
10463
|
-
default:
|
|
10467
|
+
default: T(() => t[35] || (t[35] = [
|
|
10464
10468
|
R("b", null, "Connectivity References", -1),
|
|
10465
10469
|
R("p", null, " Connectivity references have been improved and available in various formats. ", -1),
|
|
10466
10470
|
R("b", null, "Improved state storing", -1),
|
|
@@ -10476,7 +10480,7 @@ function _y(e, t, n, o, i, a) {
|
|
|
10476
10480
|
ref: "minimapResize",
|
|
10477
10481
|
onClick: a.closeMinimap
|
|
10478
10482
|
}, {
|
|
10479
|
-
default:
|
|
10483
|
+
default: T(() => [
|
|
10480
10484
|
x(c)
|
|
10481
10485
|
]),
|
|
10482
10486
|
_: 1
|
|
@@ -10514,12 +10518,12 @@ function _y(e, t, n, o, i, a) {
|
|
|
10514
10518
|
visible: e.hoverVisibilities[1].value,
|
|
10515
10519
|
ref: "zoomInPopover"
|
|
10516
10520
|
}, {
|
|
10517
|
-
reference:
|
|
10521
|
+
reference: T(() => [
|
|
10518
10522
|
R("div", {
|
|
10519
10523
|
class: "icon-button-container",
|
|
10520
|
-
onClick: t[11] || (t[11] = (
|
|
10521
|
-
onMouseover: t[12] || (t[12] = (
|
|
10522
|
-
onMouseout: t[13] || (t[13] = (
|
|
10524
|
+
onClick: t[11] || (t[11] = (I) => a.zoomIn()),
|
|
10525
|
+
onMouseover: t[12] || (t[12] = (I) => a.showTooltip(1)),
|
|
10526
|
+
onMouseout: t[13] || (t[13] = (I) => a.hideTooltip(1))
|
|
10523
10527
|
}, [
|
|
10524
10528
|
x(f, {
|
|
10525
10529
|
class: "icon-button zoomIn",
|
|
@@ -10539,12 +10543,12 @@ function _y(e, t, n, o, i, a) {
|
|
|
10539
10543
|
visible: e.hoverVisibilities[2].value,
|
|
10540
10544
|
ref: "zoomOutPopover"
|
|
10541
10545
|
}, {
|
|
10542
|
-
reference:
|
|
10546
|
+
reference: T(() => [
|
|
10543
10547
|
R("div", {
|
|
10544
10548
|
class: "icon-button-container",
|
|
10545
|
-
onClick: t[14] || (t[14] = (
|
|
10546
|
-
onMouseover: t[15] || (t[15] = (
|
|
10547
|
-
onMouseout: t[16] || (t[16] = (
|
|
10549
|
+
onClick: t[14] || (t[14] = (I) => a.zoomOut()),
|
|
10550
|
+
onMouseover: t[15] || (t[15] = (I) => a.showTooltip(2)),
|
|
10551
|
+
onMouseout: t[16] || (t[16] = (I) => a.hideTooltip(2))
|
|
10548
10552
|
}, [
|
|
10549
10553
|
x(f, {
|
|
10550
10554
|
class: "icon-button zoomOut",
|
|
@@ -10564,12 +10568,12 @@ function _y(e, t, n, o, i, a) {
|
|
|
10564
10568
|
visible: e.hoverVisibilities[3].value,
|
|
10565
10569
|
ref: "zoomFitPopover"
|
|
10566
10570
|
}, {
|
|
10567
|
-
reference:
|
|
10571
|
+
reference: T(() => [
|
|
10568
10572
|
R("div", {
|
|
10569
10573
|
class: "icon-button-container",
|
|
10570
|
-
onClick: t[17] || (t[17] = (
|
|
10571
|
-
onMouseover: t[18] || (t[18] = (
|
|
10572
|
-
onMouseout: t[19] || (t[19] = (
|
|
10574
|
+
onClick: t[17] || (t[17] = (I) => a.resetView()),
|
|
10575
|
+
onMouseover: t[18] || (t[18] = (I) => a.showTooltip(3)),
|
|
10576
|
+
onMouseout: t[19] || (t[19] = (I) => a.hideTooltip(3))
|
|
10573
10577
|
}, [
|
|
10574
10578
|
x(f, {
|
|
10575
10579
|
class: "icon-button fitWindow",
|
|
@@ -10577,7 +10581,7 @@ function _y(e, t, n, o, i, a) {
|
|
|
10577
10581
|
})
|
|
10578
10582
|
], 32)
|
|
10579
10583
|
]),
|
|
10580
|
-
default:
|
|
10584
|
+
default: T(() => [
|
|
10581
10585
|
t[36] || (t[36] = R("div", null, [
|
|
10582
10586
|
Z(" Fit to "),
|
|
10583
10587
|
R("br"),
|
|
@@ -10599,7 +10603,7 @@ function _y(e, t, n, o, i, a) {
|
|
|
10599
10603
|
visible: e.hoverVisibilities[6].value,
|
|
10600
10604
|
ref: "checkBoxPopover"
|
|
10601
10605
|
}, {
|
|
10602
|
-
reference:
|
|
10606
|
+
reference: T(() => [
|
|
10603
10607
|
oe(R("div", {
|
|
10604
10608
|
class: _(["pathway-location", { open: e.drawerOpen, close: !e.drawerOpen }])
|
|
10605
10609
|
}, [
|
|
@@ -10623,12 +10627,12 @@ function _y(e, t, n, o, i, a) {
|
|
|
10623
10627
|
visible: e.hoverVisibilities[9].value,
|
|
10624
10628
|
ref: "featuredMarkerPopover"
|
|
10625
10629
|
}, {
|
|
10626
|
-
reference:
|
|
10630
|
+
reference: T(() => [
|
|
10627
10631
|
oe(R("div", {
|
|
10628
10632
|
class: "yellow-star-legend",
|
|
10629
10633
|
innerHTML: e.yellowstar,
|
|
10630
|
-
onMouseover: t[20] || (t[20] = (
|
|
10631
|
-
onMouseout: t[21] || (t[21] = (
|
|
10634
|
+
onMouseover: t[20] || (t[20] = (I) => a.showTooltip(9)),
|
|
10635
|
+
onMouseout: t[21] || (t[21] = (I) => a.hideTooltip(9))
|
|
10632
10636
|
}, null, 40, ky), [
|
|
10633
10637
|
[N, void 0, "featuredMarkerPopover"]
|
|
10634
10638
|
])
|
|
@@ -10645,7 +10649,7 @@ function _y(e, t, n, o, i, a) {
|
|
|
10645
10649
|
visible: e.hoverVisibilities[0].value,
|
|
10646
10650
|
ref: "markerPopover"
|
|
10647
10651
|
}, {
|
|
10648
|
-
reference:
|
|
10652
|
+
reference: T(() => [
|
|
10649
10653
|
oe(R("div", {
|
|
10650
10654
|
class: "flatmap-marker-help",
|
|
10651
10655
|
innerHTML: e.flatmapMarker
|
|
@@ -10711,11 +10715,11 @@ function _y(e, t, n, o, i, a) {
|
|
|
10711
10715
|
[N, void 0, "checkBoxPopover"]
|
|
10712
10716
|
]),
|
|
10713
10717
|
R("div", {
|
|
10714
|
-
onClick: t[22] || (t[22] = (...
|
|
10718
|
+
onClick: t[22] || (t[22] = (...I) => a.toggleDrawer && a.toggleDrawer(...I)),
|
|
10715
10719
|
class: _(["drawer-button", { open: e.drawerOpen, close: !e.drawerOpen }])
|
|
10716
10720
|
}, [
|
|
10717
10721
|
x(u, null, {
|
|
10718
|
-
default:
|
|
10722
|
+
default: T(() => [
|
|
10719
10723
|
x(g)
|
|
10720
10724
|
]),
|
|
10721
10725
|
_: 1
|
|
@@ -10738,18 +10742,18 @@ function _y(e, t, n, o, i, a) {
|
|
|
10738
10742
|
"popper-class": "open-map-popper non-selectable",
|
|
10739
10743
|
"virtual-triggering": ""
|
|
10740
10744
|
}, {
|
|
10741
|
-
default:
|
|
10742
|
-
(C(!0), F(ye, null, at(n.openMapOptions, (
|
|
10743
|
-
key:
|
|
10745
|
+
default: T(() => [
|
|
10746
|
+
(C(!0), F(ye, null, at(n.openMapOptions, (I) => (C(), V(w, {
|
|
10747
|
+
key: I.key
|
|
10744
10748
|
}, {
|
|
10745
|
-
default:
|
|
10749
|
+
default: T(() => [
|
|
10746
10750
|
x(b, {
|
|
10747
10751
|
type: "primary",
|
|
10748
10752
|
plain: "",
|
|
10749
|
-
onClick: (U) => e.$emit("open-map",
|
|
10753
|
+
onClick: (U) => e.$emit("open-map", I.key)
|
|
10750
10754
|
}, {
|
|
10751
|
-
default:
|
|
10752
|
-
Z(ie(
|
|
10755
|
+
default: T(() => [
|
|
10756
|
+
Z(ie(I.display), 1)
|
|
10753
10757
|
]),
|
|
10754
10758
|
_: 2
|
|
10755
10759
|
}, 1032, ["onClick"])
|
|
@@ -10769,18 +10773,18 @@ function _y(e, t, n, o, i, a) {
|
|
|
10769
10773
|
"popper-class": "background-popper h-auto",
|
|
10770
10774
|
"virtual-triggering": ""
|
|
10771
10775
|
}, {
|
|
10772
|
-
default:
|
|
10776
|
+
default: T(() => [
|
|
10773
10777
|
R("div", null, [
|
|
10774
10778
|
x(w, { class: "backgroundText" }, {
|
|
10775
|
-
default:
|
|
10779
|
+
default: T(() => t[37] || (t[37] = [
|
|
10776
10780
|
Z("Viewing Mode")
|
|
10777
10781
|
])),
|
|
10778
10782
|
_: 1
|
|
10779
10783
|
}),
|
|
10780
10784
|
x(w, { class: "backgroundControl" }, {
|
|
10781
|
-
default:
|
|
10785
|
+
default: T(() => [
|
|
10782
10786
|
R("div", Ay, [
|
|
10783
|
-
(C(!0), F(ye, null, at(e.viewingModes, (
|
|
10787
|
+
(C(!0), F(ye, null, at(e.viewingModes, (I, U, J) => (C(), F(ye, { key: U }, [
|
|
10784
10788
|
U === e.viewingMode ? (C(), F("span", Oy, [
|
|
10785
10789
|
R("b", null, ie(U), 1)
|
|
10786
10790
|
])) : (C(), F("span", {
|
|
@@ -10791,7 +10795,7 @@ function _y(e, t, n, o, i, a) {
|
|
|
10791
10795
|
], 64))), 128))
|
|
10792
10796
|
]),
|
|
10793
10797
|
x(w, { class: "viewing-mode-description" }, {
|
|
10794
|
-
default:
|
|
10798
|
+
default: T(() => [
|
|
10795
10799
|
Z(ie(a.modeDescription), 1)
|
|
10796
10800
|
]),
|
|
10797
10801
|
_: 1
|
|
@@ -10800,7 +10804,7 @@ function _y(e, t, n, o, i, a) {
|
|
|
10800
10804
|
key: 0,
|
|
10801
10805
|
class: "viewing-mode-description"
|
|
10802
10806
|
}, {
|
|
10803
|
-
default:
|
|
10807
|
+
default: T(() => t[38] || (t[38] = [
|
|
10804
10808
|
Z(" (Anonymous annotate) ")
|
|
10805
10809
|
])),
|
|
10806
10810
|
_: 1
|
|
@@ -10810,34 +10814,34 @@ function _y(e, t, n, o, i, a) {
|
|
|
10810
10814
|
}),
|
|
10811
10815
|
e.viewingMode === "Annotation" && e.authorisedUser ? (C(), F(ye, { key: 0 }, [
|
|
10812
10816
|
x(w, { class: "backgroundText" }, {
|
|
10813
|
-
default:
|
|
10817
|
+
default: T(() => t[39] || (t[39] = [
|
|
10814
10818
|
Z("Annotations From")
|
|
10815
10819
|
])),
|
|
10816
10820
|
_: 1
|
|
10817
10821
|
}),
|
|
10818
10822
|
x(w, { class: "backgroundControl" }, {
|
|
10819
|
-
default:
|
|
10820
|
-
x(
|
|
10823
|
+
default: T(() => [
|
|
10824
|
+
x(E, {
|
|
10821
10825
|
teleported: !1,
|
|
10822
10826
|
modelValue: e.annotationFrom,
|
|
10823
|
-
"onUpdate:modelValue": t[23] || (t[23] = (
|
|
10827
|
+
"onUpdate:modelValue": t[23] || (t[23] = (I) => e.annotationFrom = I),
|
|
10824
10828
|
placeholder: "Select",
|
|
10825
10829
|
class: "select-box",
|
|
10826
10830
|
"popper-class": "flatmap_dropdown",
|
|
10827
10831
|
onChange: a.setAnnotationFrom
|
|
10828
10832
|
}, {
|
|
10829
|
-
default:
|
|
10830
|
-
(C(!0), F(ye, null, at(e.annotatedSource, (
|
|
10831
|
-
key:
|
|
10832
|
-
label:
|
|
10833
|
-
value:
|
|
10833
|
+
default: T(() => [
|
|
10834
|
+
(C(!0), F(ye, null, at(e.annotatedSource, (I) => (C(), V(k, {
|
|
10835
|
+
key: I,
|
|
10836
|
+
label: I,
|
|
10837
|
+
value: I
|
|
10834
10838
|
}, {
|
|
10835
|
-
default:
|
|
10839
|
+
default: T(() => [
|
|
10836
10840
|
x(w, null, {
|
|
10837
|
-
default:
|
|
10838
|
-
x(
|
|
10839
|
-
default:
|
|
10840
|
-
Z(ie(
|
|
10841
|
+
default: T(() => [
|
|
10842
|
+
x(P, { span: 12 }, {
|
|
10843
|
+
default: T(() => [
|
|
10844
|
+
Z(ie(I), 1)
|
|
10841
10845
|
]),
|
|
10842
10846
|
_: 2
|
|
10843
10847
|
}, 1024)
|
|
@@ -10862,7 +10866,7 @@ function _y(e, t, n, o, i, a) {
|
|
|
10862
10866
|
key: 2,
|
|
10863
10867
|
class: "backgroundText"
|
|
10864
10868
|
}, {
|
|
10865
|
-
default:
|
|
10869
|
+
default: T(() => t[40] || (t[40] = [
|
|
10866
10870
|
Z("Flight path display")
|
|
10867
10871
|
])),
|
|
10868
10872
|
_: 1
|
|
@@ -10871,22 +10875,22 @@ function _y(e, t, n, o, i, a) {
|
|
|
10871
10875
|
key: 3,
|
|
10872
10876
|
class: "backgroundControl"
|
|
10873
10877
|
}, {
|
|
10874
|
-
default:
|
|
10878
|
+
default: T(() => [
|
|
10875
10879
|
x(O, {
|
|
10876
10880
|
modelValue: e.flightPath3DRadio,
|
|
10877
|
-
"onUpdate:modelValue": t[24] || (t[24] = (
|
|
10881
|
+
"onUpdate:modelValue": t[24] || (t[24] = (I) => e.flightPath3DRadio = I),
|
|
10878
10882
|
class: "flatmap-radio",
|
|
10879
10883
|
onChange: a.setFlightPath3D
|
|
10880
10884
|
}, {
|
|
10881
|
-
default:
|
|
10885
|
+
default: T(() => [
|
|
10882
10886
|
x(A, { value: !1 }, {
|
|
10883
|
-
default:
|
|
10887
|
+
default: T(() => t[41] || (t[41] = [
|
|
10884
10888
|
Z("2D")
|
|
10885
10889
|
])),
|
|
10886
10890
|
_: 1
|
|
10887
10891
|
}),
|
|
10888
10892
|
x(A, { value: !0 }, {
|
|
10889
|
-
default:
|
|
10893
|
+
default: T(() => t[42] || (t[42] = [
|
|
10890
10894
|
Z("3D")
|
|
10891
10895
|
])),
|
|
10892
10896
|
_: 1
|
|
@@ -10899,28 +10903,28 @@ function _y(e, t, n, o, i, a) {
|
|
|
10899
10903
|
})) : z("", !0),
|
|
10900
10904
|
x(w, { class: "backgroundSpacer" }),
|
|
10901
10905
|
x(w, { class: "backgroundText" }, {
|
|
10902
|
-
default:
|
|
10906
|
+
default: T(() => t[43] || (t[43] = [
|
|
10903
10907
|
Z("Organs display")
|
|
10904
10908
|
])),
|
|
10905
10909
|
_: 1
|
|
10906
10910
|
}),
|
|
10907
10911
|
x(w, { class: "backgroundControl" }, {
|
|
10908
|
-
default:
|
|
10912
|
+
default: T(() => [
|
|
10909
10913
|
x(O, {
|
|
10910
10914
|
modelValue: e.colourRadio,
|
|
10911
|
-
"onUpdate:modelValue": t[25] || (t[25] = (
|
|
10915
|
+
"onUpdate:modelValue": t[25] || (t[25] = (I) => e.colourRadio = I),
|
|
10912
10916
|
class: "flatmap-radio",
|
|
10913
10917
|
onChange: a.setColour
|
|
10914
10918
|
}, {
|
|
10915
|
-
default:
|
|
10919
|
+
default: T(() => [
|
|
10916
10920
|
x(A, { value: !0 }, {
|
|
10917
|
-
default:
|
|
10921
|
+
default: T(() => t[44] || (t[44] = [
|
|
10918
10922
|
Z("Colour")
|
|
10919
10923
|
])),
|
|
10920
10924
|
_: 1
|
|
10921
10925
|
}),
|
|
10922
10926
|
x(A, { value: !1 }, {
|
|
10923
|
-
default:
|
|
10927
|
+
default: T(() => t[45] || (t[45] = [
|
|
10924
10928
|
Z("Greyscale")
|
|
10925
10929
|
])),
|
|
10926
10930
|
_: 1
|
|
@@ -10933,28 +10937,28 @@ function _y(e, t, n, o, i, a) {
|
|
|
10933
10937
|
}),
|
|
10934
10938
|
x(w, { class: "backgroundSpacer" }),
|
|
10935
10939
|
x(w, { class: "backgroundText" }, {
|
|
10936
|
-
default:
|
|
10940
|
+
default: T(() => t[46] || (t[46] = [
|
|
10937
10941
|
Z("Outlines display")
|
|
10938
10942
|
])),
|
|
10939
10943
|
_: 1
|
|
10940
10944
|
}),
|
|
10941
10945
|
x(w, { class: "backgroundControl" }, {
|
|
10942
|
-
default:
|
|
10946
|
+
default: T(() => [
|
|
10943
10947
|
x(O, {
|
|
10944
10948
|
modelValue: e.outlinesRadio,
|
|
10945
|
-
"onUpdate:modelValue": t[26] || (t[26] = (
|
|
10949
|
+
"onUpdate:modelValue": t[26] || (t[26] = (I) => e.outlinesRadio = I),
|
|
10946
10950
|
class: "flatmap-radio",
|
|
10947
10951
|
onChange: a.setOutlines
|
|
10948
10952
|
}, {
|
|
10949
|
-
default:
|
|
10953
|
+
default: T(() => [
|
|
10950
10954
|
x(A, { value: !0 }, {
|
|
10951
|
-
default:
|
|
10955
|
+
default: T(() => t[47] || (t[47] = [
|
|
10952
10956
|
Z("Show")
|
|
10953
10957
|
])),
|
|
10954
10958
|
_: 1
|
|
10955
10959
|
}),
|
|
10956
10960
|
x(A, { value: !1 }, {
|
|
10957
|
-
default:
|
|
10961
|
+
default: T(() => t[48] || (t[48] = [
|
|
10958
10962
|
Z("Hide")
|
|
10959
10963
|
])),
|
|
10960
10964
|
_: 1
|
|
@@ -10967,21 +10971,21 @@ function _y(e, t, n, o, i, a) {
|
|
|
10967
10971
|
}),
|
|
10968
10972
|
x(w, { class: "backgroundSpacer" }),
|
|
10969
10973
|
x(w, { class: "backgroundText" }, {
|
|
10970
|
-
default:
|
|
10974
|
+
default: T(() => t[49] || (t[49] = [
|
|
10971
10975
|
Z("Change background")
|
|
10972
10976
|
])),
|
|
10973
10977
|
_: 1
|
|
10974
10978
|
}),
|
|
10975
10979
|
x(w, { class: "backgroundControl" }, {
|
|
10976
|
-
default:
|
|
10977
|
-
(C(!0), F(ye, null, at(e.availableBackground, (
|
|
10978
|
-
key:
|
|
10980
|
+
default: T(() => [
|
|
10981
|
+
(C(!0), F(ye, null, at(e.availableBackground, (I) => (C(), F("div", {
|
|
10982
|
+
key: I,
|
|
10979
10983
|
class: _([
|
|
10980
10984
|
"backgroundChoice",
|
|
10981
|
-
|
|
10982
|
-
|
|
10985
|
+
I,
|
|
10986
|
+
I == e.currentBackground ? "active" : ""
|
|
10983
10987
|
]),
|
|
10984
|
-
onClick: (U) => a.backgroundChangeCallback(
|
|
10988
|
+
onClick: (U) => a.backgroundChangeCallback(I)
|
|
10985
10989
|
}, null, 10, Py))), 128))
|
|
10986
10990
|
]),
|
|
10987
10991
|
_: 1
|
|
@@ -10994,7 +10998,7 @@ function _y(e, t, n, o, i, a) {
|
|
|
10994
10998
|
class: _(["settings-group", { open: e.drawerOpen, close: !e.drawerOpen }])
|
|
10995
10999
|
}, [
|
|
10996
11000
|
n.showOpenMapButton ? (C(), V(w, { key: 0 }, {
|
|
10997
|
-
default:
|
|
11001
|
+
default: T(() => [
|
|
10998
11002
|
x(l, {
|
|
10999
11003
|
visible: e.hoverVisibilities[4].value,
|
|
11000
11004
|
content: "Open new map",
|
|
@@ -11003,13 +11007,13 @@ function _y(e, t, n, o, i, a) {
|
|
|
11003
11007
|
"popper-class": "flatmap-popper",
|
|
11004
11008
|
ref: "openMapPopover"
|
|
11005
11009
|
}, {
|
|
11006
|
-
reference:
|
|
11010
|
+
reference: T(() => [
|
|
11007
11011
|
n.enableOpenMapUI && n.openMapOptions.length > 0 ? (C(), F("div", {
|
|
11008
11012
|
key: 0,
|
|
11009
11013
|
ref: "openMapRef",
|
|
11010
11014
|
class: "icon-button-container",
|
|
11011
|
-
onMouseover: t[27] || (t[27] = (
|
|
11012
|
-
onMouseout: t[28] || (t[28] = (
|
|
11015
|
+
onMouseover: t[27] || (t[27] = (I) => a.showTooltip(4)),
|
|
11016
|
+
onMouseout: t[28] || (t[28] = (I) => a.hideTooltip(4))
|
|
11013
11017
|
}, [
|
|
11014
11018
|
x(f, {
|
|
11015
11019
|
icon: "openMap",
|
|
@@ -11023,7 +11027,7 @@ function _y(e, t, n, o, i, a) {
|
|
|
11023
11027
|
_: 1
|
|
11024
11028
|
})) : z("", !0),
|
|
11025
11029
|
n.showLocalSettings ? (C(), V(w, { key: 1 }, {
|
|
11026
|
-
default:
|
|
11030
|
+
default: T(() => [
|
|
11027
11031
|
x(l, {
|
|
11028
11032
|
content: "Change settings",
|
|
11029
11033
|
placement: "right",
|
|
@@ -11033,12 +11037,12 @@ function _y(e, t, n, o, i, a) {
|
|
|
11033
11037
|
"popper-class": "flatmap-popper",
|
|
11034
11038
|
ref: "settingsPopover"
|
|
11035
11039
|
}, {
|
|
11036
|
-
reference:
|
|
11040
|
+
reference: T(() => [
|
|
11037
11041
|
R("div", {
|
|
11038
11042
|
ref: "backgroundIconRef",
|
|
11039
11043
|
class: "icon-button-container",
|
|
11040
|
-
onMouseover: t[29] || (t[29] = (
|
|
11041
|
-
onMouseout: t[30] || (t[30] = (
|
|
11044
|
+
onMouseover: t[29] || (t[29] = (I) => a.showTooltip(5)),
|
|
11045
|
+
onMouseout: t[30] || (t[30] = (I) => a.hideTooltip(5))
|
|
11042
11046
|
}, [
|
|
11043
11047
|
x(f, {
|
|
11044
11048
|
icon: "changeBckgd",
|
|
@@ -11069,7 +11073,7 @@ function _y(e, t, n, o, i, a) {
|
|
|
11069
11073
|
[j, e.loading]
|
|
11070
11074
|
]);
|
|
11071
11075
|
}
|
|
11072
|
-
const yl = /* @__PURE__ */ zo(by, [["render", _y], ["__scopeId", "data-v-
|
|
11076
|
+
const yl = /* @__PURE__ */ zo(by, [["render", _y], ["__scopeId", "data-v-3b7ce2a4"]]), ks = {
|
|
11073
11077
|
"NCBITaxon:10114": "01fedbf9-d783-509c-a10c-827941ab13da",
|
|
11074
11078
|
"NCBITaxon:9823": "a336ac04-24db-561f-a25f-1c994fe17410",
|
|
11075
11079
|
"NCBITaxon:9606": "42ed6323-f645-5fbe-bada-9581819cf689",
|
|
@@ -11664,7 +11668,7 @@ function Fy(e, t, n, o, i, a) {
|
|
|
11664
11668
|
teleported: !1,
|
|
11665
11669
|
ref: "selectPopover"
|
|
11666
11670
|
}, {
|
|
11667
|
-
reference:
|
|
11671
|
+
reference: T(() => [
|
|
11668
11672
|
x(r, {
|
|
11669
11673
|
id: "flatmap-select",
|
|
11670
11674
|
teleported: !1,
|
|
@@ -11675,13 +11679,13 @@ function Fy(e, t, n, o, i, a) {
|
|
|
11675
11679
|
"popper-class": "flatmap-dropdown",
|
|
11676
11680
|
onChange: a.setSpecies
|
|
11677
11681
|
}, {
|
|
11678
|
-
default:
|
|
11682
|
+
default: T(() => [
|
|
11679
11683
|
(C(!0), F(ye, null, at(e.speciesList, (c, d) => (C(), V(s, {
|
|
11680
11684
|
key: d,
|
|
11681
11685
|
label: d,
|
|
11682
11686
|
value: d
|
|
11683
11687
|
}, {
|
|
11684
|
-
default:
|
|
11688
|
+
default: T(() => [
|
|
11685
11689
|
R("span", $y, [
|
|
11686
11690
|
R("i", {
|
|
11687
11691
|
class: _(c.iconClass)
|