@abi-software/flatmapvuer 1.13.5-demo.4 → 1.13.5-demo.6
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 +247 -245
- package/dist/flatmapvuer.umd.cjs +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/FlatmapVuer.vue +22 -5
package/dist/flatmapvuer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Close as li, CircleClose as xs, CircleCheck as Kl, Loading as Ps, ArrowDown as Ai, Warning as
|
|
2
|
-
import { ref as L, readonly as Ds, getCurrentScope as Ul, onScopeDispose as Ns, unref as v, getCurrentInstance as ge, onMounted as he, nextTick as ce, watch as q, warn as Wl, watchEffect as Bs, onBeforeUnmount as Ve, inject as G, computed as b, isRef as lt, shallowRef as yo, onBeforeMount as ql, provide as pe, defineComponent as H, openBlock as w, createElementBlock as P, mergeProps as Nt, renderSlot as K, toRef as Ze, onUnmounted as Gl, createBlock as z, Transition as Hn, withCtx as E, withDirectives as ie, createElementVNode as
|
|
1
|
+
import { Close as li, CircleClose as xs, CircleCheck as Kl, Loading as Ps, ArrowDown as Ai, Warning as Fs, DocumentDelete as jl, ArrowLeft as Rs, WarningFilled as $s } from "@element-plus/icons-vue";
|
|
2
|
+
import { ref as L, readonly as Ds, getCurrentScope as Ul, onScopeDispose as Ns, unref as v, getCurrentInstance as ge, onMounted as he, nextTick as ce, watch as q, warn as Wl, watchEffect as Bs, onBeforeUnmount as Ve, inject as G, computed as b, isRef as lt, shallowRef as yo, onBeforeMount as ql, provide as pe, defineComponent as H, openBlock as w, createElementBlock as P, mergeProps as Nt, renderSlot as K, toRef as Ze, onUnmounted as Gl, createBlock as z, Transition as Hn, withCtx as E, withDirectives as ie, createElementVNode as F, normalizeClass as _, normalizeStyle as se, vShow as Ee, Fragment as fe, createVNode as x, reactive as ut, onActivated as Jl, onUpdated as Yl, resolveDynamicComponent as $e, createCommentVNode as V, cloneVNode as Zl, Text as Vs, Comment as Xl, Teleport as Ql, onDeactivated as eu, toDisplayString as ne, useSlots as Ao, toRaw as bo, withModifiers as le, vModelCheckbox as wo, createTextVNode as Z, toRefs as fn, vModelRadio as zs, h as Xt, createSlots as Hs, resolveComponent as Re, resolveDirective as tu, toHandlerKey as nu, renderList as Ke, withKeys as kn, vModelText as ou, createApp as iu, createStaticVNode as au, markRaw as Fe } from "vue";
|
|
3
3
|
import { MapSvgSpriteColor as su, MapSvgIcon as ru } from "@abi-software/svg-sprite";
|
|
4
4
|
import { querySingleConnectivityList as lu, DrawToolbar as uu, TreeControls as cu, Tooltip as du, getFlatmapFilterOptions as fu, fetchLabels as pu } from "@abi-software/map-utilities";
|
|
5
5
|
import * as Ks from "https://cdn.jsdelivr.net/npm/@akhuoa/flatmap-viewer@4.4.4-beta.1/+esm";
|
|
@@ -207,7 +207,7 @@ Lu({
|
|
|
207
207
|
process.env.NODE_ENV !== "production" && Object.freeze({});
|
|
208
208
|
process.env.NODE_ENV !== "production" && Object.freeze([]);
|
|
209
209
|
const xt = () => {
|
|
210
|
-
}, Pu = Object.prototype.hasOwnProperty, Ea = (e, t) => Pu.call(e, t), Ie = Array.isArray, Se = (e) => typeof e == "function", je = (e) => typeof e == "string", ke = (e) => e !== null && typeof e == "object",
|
|
210
|
+
}, Pu = Object.prototype.hasOwnProperty, Ea = (e, t) => Pu.call(e, t), Ie = Array.isArray, Se = (e) => typeof e == "function", je = (e) => typeof e == "string", ke = (e) => e !== null && typeof e == "object", Fu = Object.prototype.toString, Ru = (e) => Fu.call(e), Go = (e) => Ru(e).slice(8, -1), Ws = (e) => {
|
|
211
211
|
const t = /* @__PURE__ */ Object.create(null);
|
|
212
212
|
return (n) => t[n] || (t[n] = e(n));
|
|
213
213
|
}, $u = /-(\w)/g, Du = Ws(
|
|
@@ -404,12 +404,12 @@ function _i(e, t) {
|
|
|
404
404
|
return e === t || e !== e && t !== t;
|
|
405
405
|
}
|
|
406
406
|
var xc = Object.prototype, Pc = xc.hasOwnProperty;
|
|
407
|
-
function
|
|
407
|
+
function Fc(e, t, n) {
|
|
408
408
|
var o = e[t];
|
|
409
409
|
(!(Pc.call(e, t) && _i(o, n)) || n === void 0 && !(t in e)) && Xs(e, t, n);
|
|
410
410
|
}
|
|
411
411
|
var _a = Math.max;
|
|
412
|
-
function
|
|
412
|
+
function Rc(e, t, n) {
|
|
413
413
|
return t = _a(t === void 0 ? e.length - 1 : t, 0), function() {
|
|
414
414
|
for (var o = arguments, i = -1, a = _a(o.length - t, 0), s = Array(a); ++i < a; )
|
|
415
415
|
s[i] = o[t + i];
|
|
@@ -459,13 +459,13 @@ function yd(e) {
|
|
|
459
459
|
return e(t);
|
|
460
460
|
};
|
|
461
461
|
}
|
|
462
|
-
var tr = typeof exports == "object" && exports && !exports.nodeType && exports, _n = tr && typeof module == "object" && module && !module.nodeType && module, bd = _n && _n.exports === tr, Yo = bd && qs.process,
|
|
462
|
+
var tr = typeof exports == "object" && exports && !exports.nodeType && exports, _n = tr && typeof module == "object" && module && !module.nodeType && module, bd = _n && _n.exports === tr, Yo = bd && qs.process, Fa = function() {
|
|
463
463
|
try {
|
|
464
464
|
var e = _n && _n.require && _n.require("util").types;
|
|
465
465
|
return e || Yo && Yo.binding && Yo.binding("util");
|
|
466
466
|
} catch {
|
|
467
467
|
}
|
|
468
|
-
}(),
|
|
468
|
+
}(), Ra = Fa && Fa.isTypedArray, nr = Ra ? yd(Ra) : gd, wd = Object.prototype, Sd = wd.hasOwnProperty;
|
|
469
469
|
function Cd(e, t) {
|
|
470
470
|
var n = Ue(e), o = !n && xi(e), i = !n && !o && di(e), a = !n && !o && !i && nr(e), s = n || o || i || a, r = s ? Vc(e.length, String) : [], l = r.length;
|
|
471
471
|
for (var u in e)
|
|
@@ -500,45 +500,45 @@ function Pi(e, t) {
|
|
|
500
500
|
var n = typeof e;
|
|
501
501
|
return n == "number" || n == "symbol" || n == "boolean" || e == null || Mo(e) ? !0 : Md.test(e) || !Od.test(e) || t != null && e in Object(t);
|
|
502
502
|
}
|
|
503
|
-
var
|
|
503
|
+
var Fn = Vt(Object, "create");
|
|
504
504
|
function _d() {
|
|
505
|
-
this.__data__ =
|
|
505
|
+
this.__data__ = Fn ? Fn(null) : {}, this.size = 0;
|
|
506
506
|
}
|
|
507
507
|
function Ld(e) {
|
|
508
508
|
var t = this.has(e) && delete this.__data__[e];
|
|
509
509
|
return this.size -= t ? 1 : 0, t;
|
|
510
510
|
}
|
|
511
|
-
var xd = "__lodash_hash_undefined__", Pd = Object.prototype,
|
|
512
|
-
function
|
|
511
|
+
var xd = "__lodash_hash_undefined__", Pd = Object.prototype, Fd = Pd.hasOwnProperty;
|
|
512
|
+
function Rd(e) {
|
|
513
513
|
var t = this.__data__;
|
|
514
|
-
if (
|
|
514
|
+
if (Fn) {
|
|
515
515
|
var n = t[e];
|
|
516
516
|
return n === xd ? void 0 : n;
|
|
517
517
|
}
|
|
518
|
-
return
|
|
518
|
+
return Fd.call(t, e) ? t[e] : void 0;
|
|
519
519
|
}
|
|
520
520
|
var $d = Object.prototype, Dd = $d.hasOwnProperty;
|
|
521
521
|
function Nd(e) {
|
|
522
522
|
var t = this.__data__;
|
|
523
|
-
return
|
|
523
|
+
return Fn ? t[e] !== void 0 : Dd.call(t, e);
|
|
524
524
|
}
|
|
525
525
|
var Bd = "__lodash_hash_undefined__";
|
|
526
526
|
function Vd(e, t) {
|
|
527
527
|
var n = this.__data__;
|
|
528
|
-
return this.size += this.has(e) ? 0 : 1, n[e] =
|
|
528
|
+
return this.size += this.has(e) ? 0 : 1, n[e] = Fn && t === void 0 ? Bd : t, this;
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function Rt(e) {
|
|
531
531
|
var t = -1, n = e == null ? 0 : e.length;
|
|
532
532
|
for (this.clear(); ++t < n; ) {
|
|
533
533
|
var o = e[t];
|
|
534
534
|
this.set(o[0], o[1]);
|
|
535
535
|
}
|
|
536
536
|
}
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
537
|
+
Rt.prototype.clear = _d;
|
|
538
|
+
Rt.prototype.delete = Ld;
|
|
539
|
+
Rt.prototype.get = Rd;
|
|
540
|
+
Rt.prototype.has = Nd;
|
|
541
|
+
Rt.prototype.set = Vd;
|
|
542
542
|
function zd() {
|
|
543
543
|
this.__data__ = [], this.size = 0;
|
|
544
544
|
}
|
|
@@ -579,12 +579,12 @@ ft.prototype.delete = jd;
|
|
|
579
579
|
ft.prototype.get = Ud;
|
|
580
580
|
ft.prototype.has = Wd;
|
|
581
581
|
ft.prototype.set = qd;
|
|
582
|
-
var
|
|
582
|
+
var Rn = Vt(tt, "Map");
|
|
583
583
|
function Gd() {
|
|
584
584
|
this.size = 0, this.__data__ = {
|
|
585
|
-
hash: new
|
|
586
|
-
map: new (
|
|
587
|
-
string: new
|
|
585
|
+
hash: new Rt(),
|
|
586
|
+
map: new (Rn || ft)(),
|
|
587
|
+
string: new Rt()
|
|
588
588
|
};
|
|
589
589
|
}
|
|
590
590
|
function Jd(e) {
|
|
@@ -622,7 +622,7 @@ pt.prototype.get = Zd;
|
|
|
622
622
|
pt.prototype.has = Xd;
|
|
623
623
|
pt.prototype.set = Qd;
|
|
624
624
|
var ef = "Expected a function";
|
|
625
|
-
function
|
|
625
|
+
function Fi(e, t) {
|
|
626
626
|
if (typeof e != "function" || t != null && typeof t != "function")
|
|
627
627
|
throw new TypeError(ef);
|
|
628
628
|
var n = function() {
|
|
@@ -632,12 +632,12 @@ function Ri(e, t) {
|
|
|
632
632
|
var s = e.apply(this, o);
|
|
633
633
|
return n.cache = a.set(i, s) || a, s;
|
|
634
634
|
};
|
|
635
|
-
return n.cache = new (
|
|
635
|
+
return n.cache = new (Fi.Cache || pt)(), n;
|
|
636
636
|
}
|
|
637
|
-
|
|
637
|
+
Fi.Cache = pt;
|
|
638
638
|
var tf = 500;
|
|
639
639
|
function nf(e) {
|
|
640
|
-
var t =
|
|
640
|
+
var t = Fi(e, function(o) {
|
|
641
641
|
return n.size === tf && n.clear(), o;
|
|
642
642
|
}), n = t.cache;
|
|
643
643
|
return t;
|
|
@@ -660,14 +660,14 @@ function jn(e) {
|
|
|
660
660
|
var t = e + "";
|
|
661
661
|
return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
|
|
662
662
|
}
|
|
663
|
-
function
|
|
663
|
+
function Ri(e, t) {
|
|
664
664
|
t = xo(t, e);
|
|
665
665
|
for (var n = 0, o = t.length; e != null && n < o; )
|
|
666
666
|
e = e[jn(t[n++])];
|
|
667
667
|
return n && n == o ? e : void 0;
|
|
668
668
|
}
|
|
669
669
|
function at(e, t, n) {
|
|
670
|
-
var o = e == null ? void 0 :
|
|
670
|
+
var o = e == null ? void 0 : Ri(e, t);
|
|
671
671
|
return o === void 0 ? n : o;
|
|
672
672
|
}
|
|
673
673
|
function ir(e, t) {
|
|
@@ -692,7 +692,7 @@ function cf(e) {
|
|
|
692
692
|
return t ? uf(e) : [];
|
|
693
693
|
}
|
|
694
694
|
function df(e) {
|
|
695
|
-
return Oc(
|
|
695
|
+
return Oc(Rc(e, void 0, cf), e + "");
|
|
696
696
|
}
|
|
697
697
|
function St() {
|
|
698
698
|
if (!arguments.length)
|
|
@@ -718,7 +718,7 @@ function gf(e, t) {
|
|
|
718
718
|
var n = this.__data__;
|
|
719
719
|
if (n instanceof ft) {
|
|
720
720
|
var o = n.__data__;
|
|
721
|
-
if (!
|
|
721
|
+
if (!Rn || o.length < vf - 1)
|
|
722
722
|
return o.push([e, t]), this.size = ++n.size, this;
|
|
723
723
|
n = this.__data__ = new pt(o);
|
|
724
724
|
}
|
|
@@ -755,8 +755,8 @@ function Ef(e, t, n) {
|
|
|
755
755
|
function Na(e) {
|
|
756
756
|
return Ef(e, or, Cf);
|
|
757
757
|
}
|
|
758
|
-
var fi = Vt(tt, "DataView"), pi = Vt(tt, "Promise"), hi = Vt(tt, "Set"), Ba = "[object Map]", If = "[object Object]", Va = "[object Promise]", za = "[object Set]", Ha = "[object WeakMap]", Ka = "[object DataView]", kf = Bt(fi), Tf = Bt(
|
|
759
|
-
(fi && wt(new fi(new ArrayBuffer(1))) != Ka ||
|
|
758
|
+
var fi = Vt(tt, "DataView"), pi = Vt(tt, "Promise"), hi = Vt(tt, "Set"), Ba = "[object Map]", If = "[object Object]", Va = "[object Promise]", za = "[object Set]", Ha = "[object WeakMap]", Ka = "[object DataView]", kf = Bt(fi), Tf = Bt(Rn), Af = Bt(pi), Of = Bt(hi), Mf = Bt(ci), wt = pn;
|
|
759
|
+
(fi && wt(new fi(new ArrayBuffer(1))) != Ka || Rn && wt(new Rn()) != Ba || pi && wt(pi.resolve()) != Va || hi && wt(new hi()) != za || ci && wt(new ci()) != Ha) && (wt = function(e) {
|
|
760
760
|
var t = pn(e), n = t == If ? e.constructor : void 0, o = n ? Bt(n) : "";
|
|
761
761
|
if (o)
|
|
762
762
|
switch (o) {
|
|
@@ -793,12 +793,12 @@ function Pf(e, t) {
|
|
|
793
793
|
return !0;
|
|
794
794
|
return !1;
|
|
795
795
|
}
|
|
796
|
-
function
|
|
796
|
+
function Ff(e, t) {
|
|
797
797
|
return e.has(t);
|
|
798
798
|
}
|
|
799
|
-
var
|
|
799
|
+
var Rf = 1, $f = 2;
|
|
800
800
|
function ar(e, t, n, o, i, a) {
|
|
801
|
-
var s = n &
|
|
801
|
+
var s = n & Rf, r = e.length, l = t.length;
|
|
802
802
|
if (r != l && !(s && l > r))
|
|
803
803
|
return !1;
|
|
804
804
|
var u = a.get(e), c = a.get(t);
|
|
@@ -817,7 +817,7 @@ function ar(e, t, n, o, i, a) {
|
|
|
817
817
|
}
|
|
818
818
|
if (m) {
|
|
819
819
|
if (!Pf(t, function(y, C) {
|
|
820
|
-
if (!
|
|
820
|
+
if (!Ff(m, C) && (p === y || i(p, y, n, o, a)))
|
|
821
821
|
return m.push(C);
|
|
822
822
|
})) {
|
|
823
823
|
f = !1;
|
|
@@ -1009,7 +1009,7 @@ function vp(e) {
|
|
|
1009
1009
|
}
|
|
1010
1010
|
function gp(e) {
|
|
1011
1011
|
return function(t) {
|
|
1012
|
-
return
|
|
1012
|
+
return Ri(t, e);
|
|
1013
1013
|
};
|
|
1014
1014
|
}
|
|
1015
1015
|
function yp(e) {
|
|
@@ -1085,7 +1085,7 @@ function mi(e) {
|
|
|
1085
1085
|
function Eo(e, t) {
|
|
1086
1086
|
return Po(e, t);
|
|
1087
1087
|
}
|
|
1088
|
-
function
|
|
1088
|
+
function Fo(e) {
|
|
1089
1089
|
return e == null;
|
|
1090
1090
|
}
|
|
1091
1091
|
function ur(e) {
|
|
@@ -1103,13 +1103,13 @@ function kp(e, t, n, o) {
|
|
|
1103
1103
|
var c = r[l];
|
|
1104
1104
|
u = void 0, u === void 0 && (u = It(c) ? c : Mi(t[i + 1]) ? [] : {});
|
|
1105
1105
|
}
|
|
1106
|
-
|
|
1106
|
+
Fc(r, l, u), r = r[l];
|
|
1107
1107
|
}
|
|
1108
1108
|
return e;
|
|
1109
1109
|
}
|
|
1110
1110
|
function Tp(e, t, n) {
|
|
1111
1111
|
for (var o = -1, i = t.length, a = {}; ++o < i; ) {
|
|
1112
|
-
var s = t[o], r =
|
|
1112
|
+
var s = t[o], r = Ri(e, s);
|
|
1113
1113
|
n(r, s) && kp(a, xo(s, e), r);
|
|
1114
1114
|
}
|
|
1115
1115
|
return a;
|
|
@@ -1122,7 +1122,7 @@ function Ap(e, t) {
|
|
|
1122
1122
|
var cr = df(function(e, t) {
|
|
1123
1123
|
return e == null ? {} : Ap(e, t);
|
|
1124
1124
|
});
|
|
1125
|
-
const Ct = (e) => e === void 0, ct = (e) => typeof e == "boolean", me = (e) => typeof e == "number", Pt = (e) => typeof Element > "u" ? !1 : e instanceof Element, $n = (e) =>
|
|
1125
|
+
const Ct = (e) => e === void 0, ct = (e) => typeof e == "boolean", me = (e) => typeof e == "number", Pt = (e) => typeof Element > "u" ? !1 : e instanceof Element, $n = (e) => Fo(e), Op = (e) => je(e) ? !Number.isNaN(Number(e)) : !1, Mp = (e = "") => e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d"), Ja = (e) => Object.keys(e);
|
|
1126
1126
|
class dr extends Error {
|
|
1127
1127
|
constructor(t) {
|
|
1128
1128
|
super(t), this.name = "ElementPlusError";
|
|
@@ -1202,7 +1202,7 @@ function xp(e, t) {
|
|
|
1202
1202
|
const i = t.offsetTop + n.reduce((l, u) => l + u.offsetTop, 0), a = i + t.offsetHeight, s = e.scrollTop, r = s + e.clientHeight;
|
|
1203
1203
|
i < s ? e.scrollTop = i : a > r && (e.scrollTop = a - e.clientHeight);
|
|
1204
1204
|
}
|
|
1205
|
-
const hr = "__epPropKey", U = (e) => e, Pp = (e) => ke(e) && !!e[hr],
|
|
1205
|
+
const hr = "__epPropKey", U = (e) => e, Pp = (e) => ke(e) && !!e[hr], Ro = (e, t) => {
|
|
1206
1206
|
if (!ke(e) || Pp(e))
|
|
1207
1207
|
return e;
|
|
1208
1208
|
const { values: n, required: o, default: i, type: a, validator: s } = e, l = {
|
|
@@ -1221,14 +1221,14 @@ const hr = "__epPropKey", U = (e) => e, Pp = (e) => ke(e) && !!e[hr], Fo = (e, t
|
|
|
1221
1221
|
return Ea(e, "default") && (l.default = i), l;
|
|
1222
1222
|
}, X = (e) => mi(Object.entries(e).map(([t, n]) => [
|
|
1223
1223
|
t,
|
|
1224
|
-
|
|
1224
|
+
Ro(n, t)
|
|
1225
1225
|
])), an = U([
|
|
1226
1226
|
String,
|
|
1227
1227
|
Object,
|
|
1228
1228
|
Function
|
|
1229
|
-
]),
|
|
1229
|
+
]), Fp = {
|
|
1230
1230
|
Close: li
|
|
1231
|
-
},
|
|
1231
|
+
}, Rp = {
|
|
1232
1232
|
validating: Ps,
|
|
1233
1233
|
success: Kl,
|
|
1234
1234
|
error: xs
|
|
@@ -1546,10 +1546,10 @@ const zp = (e) => (t, n) => Hp(t, n, v(e)), Hp = (e, t, n) => at(n, e, e).replac
|
|
|
1546
1546
|
const u = document.documentElement.clientHeight < document.body.scrollHeight, c = Qt(document.body, "overflowY");
|
|
1547
1547
|
i > 0 && (u || c === "scroll") && a && (document.body.style.width = `calc(100% - ${i}px)`), vi(document.body, o.value);
|
|
1548
1548
|
}), Ns(() => r());
|
|
1549
|
-
}, Wp =
|
|
1549
|
+
}, Wp = Ro({
|
|
1550
1550
|
type: U(Boolean),
|
|
1551
1551
|
default: null
|
|
1552
|
-
}), qp =
|
|
1552
|
+
}), qp = Ro({
|
|
1553
1553
|
type: U(Function)
|
|
1554
1554
|
}), Gp = (e) => {
|
|
1555
1555
|
const t = `update:${e}`, n = `onUpdate:${e}`, o = [t], i = {
|
|
@@ -1663,7 +1663,7 @@ var wr = { name: "applyStyles", enabled: !0, phase: "write", fn: rh, effect: lh,
|
|
|
1663
1663
|
function Xe(e) {
|
|
1664
1664
|
return e.split("-")[0];
|
|
1665
1665
|
}
|
|
1666
|
-
var
|
|
1666
|
+
var Ft = Math.max, Io = Math.min, ln = Math.round;
|
|
1667
1667
|
function un(e, t) {
|
|
1668
1668
|
t === void 0 && (t = !1);
|
|
1669
1669
|
var n = e.getBoundingClientRect(), o = 1, i = 1;
|
|
@@ -1726,7 +1726,7 @@ function Hi(e) {
|
|
|
1726
1726
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
1727
1727
|
}
|
|
1728
1728
|
function xn(e, t, n) {
|
|
1729
|
-
return
|
|
1729
|
+
return Ft(e, Io(t, n));
|
|
1730
1730
|
}
|
|
1731
1731
|
function dh(e, t, n) {
|
|
1732
1732
|
var o = xn(e, t, n);
|
|
@@ -1830,8 +1830,8 @@ function Ch(e) {
|
|
|
1830
1830
|
return o && (i = o.width, a = o.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (s = o.offsetLeft, r = o.offsetTop)), { width: i, height: a, x: s + ji(e), y: r };
|
|
1831
1831
|
}
|
|
1832
1832
|
function Eh(e) {
|
|
1833
|
-
var t, n = kt(e), o = Ki(e), i = (t = e.ownerDocument) == null ? void 0 : t.body, a =
|
|
1834
|
-
return dt(i || n).direction === "rtl" && (r +=
|
|
1833
|
+
var t, n = kt(e), o = Ki(e), i = (t = e.ownerDocument) == null ? void 0 : t.body, a = Ft(n.scrollWidth, n.clientWidth, i ? i.scrollWidth : 0, i ? i.clientWidth : 0), s = Ft(n.scrollHeight, n.clientHeight, i ? i.scrollHeight : 0, i ? i.clientHeight : 0), r = -o.scrollLeft + ji(e), l = -o.scrollTop;
|
|
1834
|
+
return dt(i || n).direction === "rtl" && (r += Ft(n.clientWidth, i ? i.clientWidth : 0) - a), { width: a, height: s, x: r, y: l };
|
|
1835
1835
|
}
|
|
1836
1836
|
function Ui(e) {
|
|
1837
1837
|
var t = dt(e), n = t.overflow, o = t.overflowX, i = t.overflowY;
|
|
@@ -1865,7 +1865,7 @@ function kh(e) {
|
|
|
1865
1865
|
function Th(e, t, n) {
|
|
1866
1866
|
var o = t === "clippingParents" ? kh(e) : [].concat(t), i = [].concat(o, [n]), a = i[0], s = i.reduce(function(r, l) {
|
|
1867
1867
|
var u = ts(e, l);
|
|
1868
|
-
return r.top =
|
|
1868
|
+
return r.top = Ft(u.top, r.top), r.right = Io(u.right, r.right), r.bottom = Io(u.bottom, r.bottom), r.left = Ft(u.left, r.left), r;
|
|
1869
1869
|
}, ts(e, a));
|
|
1870
1870
|
return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
|
|
1871
1871
|
}
|
|
@@ -1983,13 +1983,13 @@ function Ph(e, t, n) {
|
|
|
1983
1983
|
var o = Xe(e), i = [Ae, Te].indexOf(o) >= 0 ? -1 : 1, a = typeof n == "function" ? n(Object.assign({}, t, { placement: e })) : n, s = a[0], r = a[1];
|
|
1984
1984
|
return s = s || 0, r = (r || 0) * i, [Ae, Be].indexOf(o) >= 0 ? { x: r, y: s } : { x: s, y: r };
|
|
1985
1985
|
}
|
|
1986
|
-
function
|
|
1986
|
+
function Fh(e) {
|
|
1987
1987
|
var t = e.state, n = e.options, o = e.name, i = n.offset, a = i === void 0 ? [0, 0] : i, s = $o.reduce(function(c, d) {
|
|
1988
1988
|
return c[d] = Ph(d, t.rects, a), c;
|
|
1989
1989
|
}, {}), r = s[t.placement], l = r.x, u = r.y;
|
|
1990
1990
|
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += l, t.modifiersData.popperOffsets.y += u), t.modifiersData[o] = s;
|
|
1991
1991
|
}
|
|
1992
|
-
var
|
|
1992
|
+
var Rh = { name: "offset", enabled: !0, phase: "main", requires: ["popperOffsets"], fn: Fh };
|
|
1993
1993
|
function $h(e) {
|
|
1994
1994
|
var t = e.state, n = e.name;
|
|
1995
1995
|
t.modifiersData[n] = Or({ reference: t.rects.reference, element: t.rects.popper, placement: t.placement });
|
|
@@ -2002,7 +2002,7 @@ function Nh(e) {
|
|
|
2002
2002
|
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, l = n.boundary, u = 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 = Vn(t, { boundary: l, rootBoundary: u, padding: d, altBoundary: c }), y = Xe(t.placement), C = cn(t.placement), O = !C, T = Hi(y), I = Dh(T), k = t.modifiersData.popperOffsets, A = t.rects.reference, $ = 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), B = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, M = { x: 0, y: 0 };
|
|
2003
2003
|
if (k) {
|
|
2004
2004
|
if (a) {
|
|
2005
|
-
var W, de = T === "y" ? Te : Ae, Y = T === "y" ? Ne : Be, D = T === "y" ? "height" : "width", te = k[T], Pe = te + g[de], ye = te - g[Y], be = m ? -$[D] / 2 : 0, _e = C === sn ? A[D] : $[D], Ge = C === sn ? -$[D] : -A[D], jt = t.elements.arrow, Je = m && jt ? zi(jt) : { width: 0, height: 0 }, Ce = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Cr(), ue = Ce[de], Tt = Ce[Y], ht = xn(0, A[D], Je[D]), Yn = O ? A[D] / 2 - be - ht - ue - j.mainAxis : _e - ht - ue - j.mainAxis, Zn = O ? -A[D] / 2 + be + ht + Tt + j.mainAxis : Ge + ht + Tt + j.mainAxis, gn = t.elements.arrow && Wn(t.elements.arrow), jo = gn ? T === "y" ? gn.clientTop || 0 : gn.clientLeft || 0 : 0, Xn = (W = B == null ? void 0 : B[T]) != null ? W : 0, Uo = te + Yn - Xn - jo, Wo = te + Zn - Xn, At = xn(m ? Io(Pe, Uo) : Pe, te, m ?
|
|
2005
|
+
var W, de = T === "y" ? Te : Ae, Y = T === "y" ? Ne : Be, D = T === "y" ? "height" : "width", te = k[T], Pe = te + g[de], ye = te - g[Y], be = m ? -$[D] / 2 : 0, _e = C === sn ? A[D] : $[D], Ge = C === sn ? -$[D] : -A[D], jt = t.elements.arrow, Je = m && jt ? zi(jt) : { width: 0, height: 0 }, Ce = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Cr(), ue = Ce[de], Tt = Ce[Y], ht = xn(0, A[D], Je[D]), Yn = O ? A[D] / 2 - be - ht - ue - j.mainAxis : _e - ht - ue - j.mainAxis, Zn = O ? -A[D] / 2 + be + ht + Tt + j.mainAxis : Ge + ht + Tt + j.mainAxis, gn = t.elements.arrow && Wn(t.elements.arrow), jo = gn ? T === "y" ? gn.clientTop || 0 : gn.clientLeft || 0 : 0, Xn = (W = B == null ? void 0 : B[T]) != null ? W : 0, Uo = te + Yn - Xn - jo, Wo = te + Zn - Xn, At = xn(m ? Io(Pe, Uo) : Pe, te, m ? Ft(ye, Wo) : ye);
|
|
2006
2006
|
k[T] = At, M[T] = At - te;
|
|
2007
2007
|
}
|
|
2008
2008
|
if (r) {
|
|
@@ -2142,7 +2142,7 @@ function Wi(e) {
|
|
|
2142
2142
|
Wi();
|
|
2143
2143
|
var Gh = [Tr, Mr, kr, wr];
|
|
2144
2144
|
Wi({ defaultModifiers: Gh });
|
|
2145
|
-
var Jh = [Tr, Mr, kr, wr,
|
|
2145
|
+
var Jh = [Tr, Mr, kr, wr, Rh, _h, Bh, mh, xh], Yh = Wi({ defaultModifiers: Jh });
|
|
2146
2146
|
const Zh = (e, t, n = {}) => {
|
|
2147
2147
|
const o = {
|
|
2148
2148
|
name: "updateState",
|
|
@@ -2336,10 +2336,10 @@ const xr = () => {
|
|
|
2336
2336
|
}
|
|
2337
2337
|
}), us = {
|
|
2338
2338
|
current: 0
|
|
2339
|
-
}, cs = L(0),
|
|
2340
|
-
const t = ge() ? G(ds, us) : us, n = e || (ge() ? G(
|
|
2339
|
+
}, cs = L(0), Fr = 2e3, ds = Symbol("elZIndexContextKey"), Rr = Symbol("zIndexContextKey"), qi = (e) => {
|
|
2340
|
+
const t = ge() ? G(ds, us) : us, n = e || (ge() ? G(Rr, void 0) : void 0), o = b(() => {
|
|
2341
2341
|
const s = v(n);
|
|
2342
|
-
return me(s) ? s :
|
|
2342
|
+
return me(s) ? s : Fr;
|
|
2343
2343
|
}), i = b(() => o.value + cs.value), a = () => (t.current++, cs.value = t.current, i.value);
|
|
2344
2344
|
return !re && !G(ds) && Oe("ZIndexInjection", `Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
|
|
2345
2345
|
usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`), {
|
|
@@ -2347,7 +2347,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`), {
|
|
|
2347
2347
|
currentZIndex: i,
|
|
2348
2348
|
nextZIndex: a
|
|
2349
2349
|
};
|
|
2350
|
-
}, hn =
|
|
2350
|
+
}, hn = Ro({
|
|
2351
2351
|
type: String,
|
|
2352
2352
|
values: mr,
|
|
2353
2353
|
required: !1
|
|
@@ -2444,7 +2444,7 @@ function vm(e, t) {
|
|
|
2444
2444
|
return (r = n.value) == null ? void 0 : r.locale;
|
|
2445
2445
|
})), a = qi(b(() => {
|
|
2446
2446
|
var r;
|
|
2447
|
-
return ((r = n.value) == null ? void 0 : r.zIndex) ||
|
|
2447
|
+
return ((r = n.value) == null ? void 0 : r.zIndex) || Fr;
|
|
2448
2448
|
})), s = b(() => {
|
|
2449
2449
|
var r;
|
|
2450
2450
|
return v(t) || ((r = n.value) == null ? void 0 : r.size) || "";
|
|
@@ -2467,7 +2467,7 @@ const gm = (e, t, n = !1) => {
|
|
|
2467
2467
|
const l = v(e);
|
|
2468
2468
|
return a != null && a.value ? ym(a.value, l) : l;
|
|
2469
2469
|
});
|
|
2470
|
-
return s(Nr, r), s(vr, b(() => r.value.locale)), s(gr, b(() => r.value.namespace)), s(
|
|
2470
|
+
return s(Nr, r), s(vr, b(() => r.value.locale)), s(gr, b(() => r.value.namespace)), s(Rr, b(() => r.value.zIndex)), s($r, {
|
|
2471
2471
|
size: b(() => r.value.size || "")
|
|
2472
2472
|
}), s(Dr, b(() => ({
|
|
2473
2473
|
emptyValues: r.value.emptyValues,
|
|
@@ -2639,13 +2639,13 @@ const We = Me(Cm), Gi = Symbol("formContextKey"), To = Symbol("formItemContextKe
|
|
|
2639
2639
|
persisted: ""
|
|
2640
2640
|
}, {
|
|
2641
2641
|
default: E(() => [
|
|
2642
|
-
ie(
|
|
2642
|
+
ie(F("div", {
|
|
2643
2643
|
ref_key: "instance",
|
|
2644
2644
|
ref: i,
|
|
2645
2645
|
class: _([v(o).e("bar"), v(o).is(v(d).key)]),
|
|
2646
2646
|
onMousedown: h
|
|
2647
2647
|
}, [
|
|
2648
|
-
|
|
2648
|
+
F("div", {
|
|
2649
2649
|
ref_key: "thumb",
|
|
2650
2650
|
ref: a,
|
|
2651
2651
|
class: _(v(o).e("thumb")),
|
|
@@ -2760,7 +2760,7 @@ const Lm = X({
|
|
|
2760
2760
|
}) => [e, t].every(me)
|
|
2761
2761
|
}, bi = "ElScrollbar", Pm = H({
|
|
2762
2762
|
name: bi
|
|
2763
|
-
}),
|
|
2763
|
+
}), Fm = /* @__PURE__ */ H({
|
|
2764
2764
|
...Pm,
|
|
2765
2765
|
props: Lm,
|
|
2766
2766
|
emits: xm,
|
|
@@ -2828,7 +2828,7 @@ const Lm = X({
|
|
|
2828
2828
|
ref: u,
|
|
2829
2829
|
class: _(v(i).b())
|
|
2830
2830
|
}, [
|
|
2831
|
-
|
|
2831
|
+
F("div", {
|
|
2832
2832
|
ref_key: "wrapRef",
|
|
2833
2833
|
ref: c,
|
|
2834
2834
|
class: _(v(p)),
|
|
@@ -2862,8 +2862,8 @@ const Lm = X({
|
|
|
2862
2862
|
], 2));
|
|
2863
2863
|
}
|
|
2864
2864
|
});
|
|
2865
|
-
var
|
|
2866
|
-
const $m = Me(
|
|
2865
|
+
var Rm = /* @__PURE__ */ Q(Fm, [["__file", "scrollbar.vue"]]);
|
|
2866
|
+
const $m = Me(Rm), Yi = Symbol("popper"), Br = Symbol("popperContent"), Dm = [
|
|
2867
2867
|
"dialog",
|
|
2868
2868
|
"grid",
|
|
2869
2869
|
"group",
|
|
@@ -3043,7 +3043,7 @@ const Kr = X({
|
|
|
3043
3043
|
"aria-haspopup",
|
|
3044
3044
|
"aria-expanded"
|
|
3045
3045
|
].forEach((p, h) => {
|
|
3046
|
-
|
|
3046
|
+
Fo(m[h]) ? d.removeAttribute(p) : d.setAttribute(p, m[h]);
|
|
3047
3047
|
});
|
|
3048
3048
|
}, { immediate: !0 })), Pt(f) && [
|
|
3049
3049
|
"aria-controls",
|
|
@@ -3240,7 +3240,7 @@ const Qm = () => {
|
|
|
3240
3240
|
if (!(s.paused || !h))
|
|
3241
3241
|
if (e.trapped) {
|
|
3242
3242
|
const g = p.relatedTarget;
|
|
3243
|
-
!
|
|
3243
|
+
!Fo(g) && !h.contains(g) && setTimeout(() => {
|
|
3244
3244
|
if (!s.paused && e.trapped) {
|
|
3245
3245
|
const y = uo({
|
|
3246
3246
|
focusReason: a.value
|
|
@@ -3567,7 +3567,7 @@ const fv = 0, pv = (e) => {
|
|
|
3567
3567
|
const Y = v(W || m.value), D = v(de || m.value);
|
|
3568
3568
|
Pt(Y) && (j = q([g, () => o.ariaLabel, C, () => o.id], (te) => {
|
|
3569
3569
|
["role", "aria-label", "aria-modal", "id"].forEach((Pe, ye) => {
|
|
3570
|
-
|
|
3570
|
+
Fo(te[ye]) ? Y.removeAttribute(Pe) : Y.setAttribute(Pe, te[ye]);
|
|
3571
3571
|
});
|
|
3572
3572
|
}, { immediate: !0 })), D !== Y && Pt(D) && ["role", "aria-label", "aria-modal", "id"].forEach((te) => {
|
|
3573
3573
|
D.removeAttribute(te);
|
|
@@ -3847,11 +3847,11 @@ const Gr = Me(Lv), xv = H({
|
|
|
3847
3847
|
}, 8, ["disabled", "to"]));
|
|
3848
3848
|
}
|
|
3849
3849
|
});
|
|
3850
|
-
var
|
|
3851
|
-
const
|
|
3850
|
+
var Fv = /* @__PURE__ */ Q(Pv, [["__file", "content.vue"]]);
|
|
3851
|
+
const Rv = H({
|
|
3852
3852
|
name: "ElTooltip"
|
|
3853
3853
|
}), $v = /* @__PURE__ */ H({
|
|
3854
|
-
...
|
|
3854
|
+
...Rv,
|
|
3855
3855
|
props: Ev,
|
|
3856
3856
|
emits: Iv,
|
|
3857
3857
|
setup(e, { expose: t, emit: n }) {
|
|
@@ -3932,7 +3932,7 @@ const Fv = H({
|
|
|
3932
3932
|
]),
|
|
3933
3933
|
_: 3
|
|
3934
3934
|
}, 8, ["disabled", "trigger", "trigger-keys", "virtual-ref", "virtual-triggering"]),
|
|
3935
|
-
x(
|
|
3935
|
+
x(Fv, {
|
|
3936
3936
|
ref_key: "contentRef",
|
|
3937
3937
|
ref: s,
|
|
3938
3938
|
"aria-label": y.ariaLabel,
|
|
@@ -4988,7 +4988,7 @@ const cg = {
|
|
|
4988
4988
|
default: E(() => {
|
|
4989
4989
|
var O, T, I, k;
|
|
4990
4990
|
return [
|
|
4991
|
-
|
|
4991
|
+
F("span", {
|
|
4992
4992
|
class: _(v(g))
|
|
4993
4993
|
}, [
|
|
4994
4994
|
y.trueValue || y.falseValue || y.trueLabel || y.falseLabel ? ie((w(), P("input", {
|
|
@@ -5029,7 +5029,7 @@ const cg = {
|
|
|
5029
5029
|
}, null, 42, ["id", "onUpdate:modelValue", "indeterminate", "disabled", "value", "name", "tabindex", "onChange", "onFocus", "onBlur", "onClick"])), [
|
|
5030
5030
|
[wo, v(c)]
|
|
5031
5031
|
]),
|
|
5032
|
-
|
|
5032
|
+
F("span", {
|
|
5033
5033
|
class: _(v(p).e("inner"))
|
|
5034
5034
|
}, null, 2)
|
|
5035
5035
|
], 2),
|
|
@@ -5286,14 +5286,14 @@ const al = zt(ol), sl = X({
|
|
|
5286
5286
|
v(o).m(v(r))
|
|
5287
5287
|
])
|
|
5288
5288
|
}, [
|
|
5289
|
-
|
|
5289
|
+
F("span", {
|
|
5290
5290
|
class: _([
|
|
5291
5291
|
v(o).e("input"),
|
|
5292
5292
|
v(o).is("disabled", v(l)),
|
|
5293
5293
|
v(o).is("checked", v(u) === v(c))
|
|
5294
5294
|
])
|
|
5295
5295
|
}, [
|
|
5296
|
-
ie(
|
|
5296
|
+
ie(F("input", {
|
|
5297
5297
|
ref_key: "radioRef",
|
|
5298
5298
|
ref: i,
|
|
5299
5299
|
"onUpdate:modelValue": (h) => lt(u) ? u.value = h : null,
|
|
@@ -5311,11 +5311,11 @@ const al = zt(ol), sl = X({
|
|
|
5311
5311
|
}, null, 42, ["onUpdate:modelValue", "value", "name", "disabled", "checked", "onFocus", "onBlur", "onClick"]), [
|
|
5312
5312
|
[zs, v(u)]
|
|
5313
5313
|
]),
|
|
5314
|
-
|
|
5314
|
+
F("span", {
|
|
5315
5315
|
class: _(v(o).e("inner"))
|
|
5316
5316
|
}, null, 2)
|
|
5317
5317
|
], 2),
|
|
5318
|
-
|
|
5318
|
+
F("span", {
|
|
5319
5319
|
class: _(v(o).e("label")),
|
|
5320
5320
|
onKeydown: le(() => {
|
|
5321
5321
|
}, ["stop"])
|
|
@@ -5354,7 +5354,7 @@ const Og = X({
|
|
|
5354
5354
|
v(n).bm("button", v(a))
|
|
5355
5355
|
])
|
|
5356
5356
|
}, [
|
|
5357
|
-
ie(
|
|
5357
|
+
ie(F("input", {
|
|
5358
5358
|
ref_key: "radioRef",
|
|
5359
5359
|
ref: o,
|
|
5360
5360
|
"onUpdate:modelValue": (p) => lt(r) ? r.value = p : null,
|
|
@@ -5370,7 +5370,7 @@ const Og = X({
|
|
|
5370
5370
|
}, null, 42, ["onUpdate:modelValue", "value", "name", "disabled", "onFocus", "onBlur", "onClick"]), [
|
|
5371
5371
|
[zs, v(r)]
|
|
5372
5372
|
]),
|
|
5373
|
-
|
|
5373
|
+
F("span", {
|
|
5374
5374
|
class: _(v(n).be("button", "inner")),
|
|
5375
5375
|
style: se(v(r) === v(u) ? v(c) : {}),
|
|
5376
5376
|
onKeydown: le(() => {
|
|
@@ -5415,7 +5415,7 @@ const Lg = X({
|
|
|
5415
5415
|
...Ht(["ariaLabel"])
|
|
5416
5416
|
}), xg = rl, Pg = H({
|
|
5417
5417
|
name: "ElRadioGroup"
|
|
5418
|
-
}),
|
|
5418
|
+
}), Fg = /* @__PURE__ */ H({
|
|
5419
5419
|
...Pg,
|
|
5420
5420
|
props: Lg,
|
|
5421
5421
|
emits: xg,
|
|
@@ -5449,7 +5449,7 @@ const Lg = X({
|
|
|
5449
5449
|
], 10, ["id", "aria-label", "aria-labelledby"]));
|
|
5450
5450
|
}
|
|
5451
5451
|
});
|
|
5452
|
-
var dl = /* @__PURE__ */ Q(
|
|
5452
|
+
var dl = /* @__PURE__ */ Q(Fg, [["__file", "radio-group.vue"]]);
|
|
5453
5453
|
const fl = Me(Ag, {
|
|
5454
5454
|
RadioButton: cl,
|
|
5455
5455
|
RadioGroup: dl
|
|
@@ -5475,7 +5475,7 @@ const Ci = X({
|
|
|
5475
5475
|
default: "light"
|
|
5476
5476
|
},
|
|
5477
5477
|
round: Boolean
|
|
5478
|
-
}),
|
|
5478
|
+
}), Rg = {
|
|
5479
5479
|
close: (e) => e instanceof MouseEvent,
|
|
5480
5480
|
click: (e) => e instanceof MouseEvent
|
|
5481
5481
|
}, $g = H({
|
|
@@ -5483,7 +5483,7 @@ const Ci = X({
|
|
|
5483
5483
|
}), Dg = /* @__PURE__ */ H({
|
|
5484
5484
|
...$g,
|
|
5485
5485
|
props: Ci,
|
|
5486
|
-
emits:
|
|
5486
|
+
emits: Rg,
|
|
5487
5487
|
setup(e, { emit: t }) {
|
|
5488
5488
|
const n = e, o = dn(), i = ee("tag"), a = b(() => {
|
|
5489
5489
|
const { type: u, hit: c, effect: d, closable: f, round: m } = n;
|
|
@@ -5509,7 +5509,7 @@ const Ci = X({
|
|
|
5509
5509
|
style: se({ backgroundColor: u.color }),
|
|
5510
5510
|
onClick: r
|
|
5511
5511
|
}, [
|
|
5512
|
-
|
|
5512
|
+
F("span", {
|
|
5513
5513
|
class: _(v(i).e("content"))
|
|
5514
5514
|
}, [
|
|
5515
5515
|
K(u.$slots, "default")
|
|
@@ -5531,12 +5531,12 @@ const Ci = X({
|
|
|
5531
5531
|
onVnodeMounted: l
|
|
5532
5532
|
}, {
|
|
5533
5533
|
default: E(() => [
|
|
5534
|
-
|
|
5534
|
+
F("span", {
|
|
5535
5535
|
class: _(v(a)),
|
|
5536
5536
|
style: se({ backgroundColor: u.color }),
|
|
5537
5537
|
onClick: r
|
|
5538
5538
|
}, [
|
|
5539
|
-
|
|
5539
|
+
F("span", {
|
|
5540
5540
|
class: _(v(i).e("content"))
|
|
5541
5541
|
}, [
|
|
5542
5542
|
K(u.$slots, "default")
|
|
@@ -5762,7 +5762,7 @@ const ey = Qg, ml = Symbol("dialogInjectionKey"), vl = X({
|
|
|
5762
5762
|
props: vl,
|
|
5763
5763
|
emits: ty,
|
|
5764
5764
|
setup(e, { expose: t }) {
|
|
5765
|
-
const n = e, { t: o } = Di(), { Close: i } =
|
|
5765
|
+
const n = e, { t: o } = Di(), { Close: i } = Fp, { dialogRef: a, headerRef: s, bodyId: r, ns: l, style: u } = G(ml), { focusTrapRef: c } = G(jr), d = b(() => [
|
|
5766
5766
|
l.b(),
|
|
5767
5767
|
l.is("fullscreen", n.fullscreen),
|
|
5768
5768
|
l.is("draggable", n.draggable),
|
|
@@ -5777,13 +5777,13 @@ const ey = Qg, ml = Symbol("dialogInjectionKey"), vl = X({
|
|
|
5777
5777
|
style: se(v(u)),
|
|
5778
5778
|
tabindex: "-1"
|
|
5779
5779
|
}, [
|
|
5780
|
-
|
|
5780
|
+
F("header", {
|
|
5781
5781
|
ref_key: "headerRef",
|
|
5782
5782
|
ref: s,
|
|
5783
5783
|
class: _([v(l).e("header"), { "show-close": g.showClose }])
|
|
5784
5784
|
}, [
|
|
5785
5785
|
K(g.$slots, "header", {}, () => [
|
|
5786
|
-
|
|
5786
|
+
F("span", {
|
|
5787
5787
|
role: "heading",
|
|
5788
5788
|
"aria-level": g.ariaLevel,
|
|
5789
5789
|
class: _(v(l).e("title"))
|
|
@@ -5806,7 +5806,7 @@ const ey = Qg, ml = Symbol("dialogInjectionKey"), vl = X({
|
|
|
5806
5806
|
}, 8, ["class"])
|
|
5807
5807
|
], 10, ["aria-label", "onClick"])) : V("v-if", !0)
|
|
5808
5808
|
], 2),
|
|
5809
|
-
|
|
5809
|
+
F("div", {
|
|
5810
5810
|
id: v(r),
|
|
5811
5811
|
class: _(v(l).e("body"))
|
|
5812
5812
|
}, [
|
|
@@ -6034,7 +6034,7 @@ const ay = X({
|
|
|
6034
6034
|
"z-index": v(p)
|
|
6035
6035
|
}, {
|
|
6036
6036
|
default: E(() => [
|
|
6037
|
-
|
|
6037
|
+
F("div", {
|
|
6038
6038
|
role: "dialog",
|
|
6039
6039
|
"aria-modal": "true",
|
|
6040
6040
|
"aria-label": B.title || void 0,
|
|
@@ -6355,7 +6355,7 @@ function Cy(e, t, n, o, i, a) {
|
|
|
6355
6355
|
onClick: le(e.selectOptionClick, ["stop"])
|
|
6356
6356
|
}, [
|
|
6357
6357
|
K(e.$slots, "default", {}, () => [
|
|
6358
|
-
|
|
6358
|
+
F("span", null, ne(e.currentLabel), 1)
|
|
6359
6359
|
])
|
|
6360
6360
|
], 42, ["id", "aria-disabled", "aria-selected", "onMouseenter", "onClick"])), [
|
|
6361
6361
|
[Ee, e.visible]
|
|
@@ -6435,27 +6435,27 @@ const Ty = 11, Ay = (e, t) => {
|
|
|
6435
6435
|
e.automaticDropdown && !N.value && (N.value = !0, s.menuVisibleOnFocus = !0);
|
|
6436
6436
|
},
|
|
6437
6437
|
beforeBlur(S) {
|
|
6438
|
-
var
|
|
6439
|
-
return ((
|
|
6438
|
+
var R, J;
|
|
6439
|
+
return ((R = u.value) == null ? void 0 : R.isFocusInsideContent(S)) || ((J = c.value) == null ? void 0 : J.isFocusInsideContent(S));
|
|
6440
6440
|
},
|
|
6441
6441
|
afterBlur() {
|
|
6442
6442
|
N.value = !1, s.menuVisibleOnFocus = !1;
|
|
6443
6443
|
}
|
|
6444
6444
|
}), N = L(!1), j = L(), { form: B, formItem: M } = mn(), { inputId: W } = Vo(e, {
|
|
6445
6445
|
formItemContext: M
|
|
6446
|
-
}), { valueOnClear: de, isEmptyValue: Y } = hm(e), D = b(() => e.disabled || (B == null ? void 0 : B.disabled)), te = b(() => Ie(e.modelValue) ? e.modelValue.length > 0 : !Y(e.modelValue)), Pe = b(() => e.clearable && !D.value && s.inputHovering && te.value), ye = b(() => e.remote && e.filterable && !e.remoteShowSuffix ? "" : e.suffixIcon), be = b(() => i.is("reverse", ye.value && N.value)), _e = b(() => (M == null ? void 0 : M.validateState) || ""), Ge = b(() =>
|
|
6447
|
-
const S = Array.from(s.options.values()),
|
|
6446
|
+
}), { valueOnClear: de, isEmptyValue: Y } = hm(e), D = b(() => e.disabled || (B == null ? void 0 : B.disabled)), te = b(() => Ie(e.modelValue) ? e.modelValue.length > 0 : !Y(e.modelValue)), Pe = b(() => e.clearable && !D.value && s.inputHovering && te.value), ye = b(() => e.remote && e.filterable && !e.remoteShowSuffix ? "" : e.suffixIcon), be = b(() => i.is("reverse", ye.value && N.value)), _e = b(() => (M == null ? void 0 : M.validateState) || ""), Ge = b(() => Rp[_e.value]), jt = b(() => e.remote ? 300 : 0), Je = b(() => 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 = b(() => ue.value.filter((S) => S.visible).length), ue = b(() => {
|
|
6447
|
+
const S = Array.from(s.options.values()), R = [];
|
|
6448
6448
|
return s.optionValues.forEach((J) => {
|
|
6449
6449
|
const oe = S.findIndex((mt) => mt.value === J);
|
|
6450
|
-
oe > -1 &&
|
|
6451
|
-
}),
|
|
6450
|
+
oe > -1 && R.push(S[oe]);
|
|
6451
|
+
}), R.length >= S.length ? R : S;
|
|
6452
6452
|
}), Tt = b(() => Array.from(s.cachedOptions.values())), ht = b(() => {
|
|
6453
|
-
const S = ue.value.filter((
|
|
6453
|
+
const S = ue.value.filter((R) => !R.created).some((R) => R.currentLabel === s.inputValue);
|
|
6454
6454
|
return e.filterable && e.allowCreate && s.inputValue !== "" && !S;
|
|
6455
6455
|
}), Yn = () => {
|
|
6456
6456
|
e.filterable && Se(e.filterMethod) || e.filterable && e.remote && Se(e.remoteMethod) || ue.value.forEach((S) => {
|
|
6457
|
-
var
|
|
6458
|
-
(
|
|
6457
|
+
var R;
|
|
6458
|
+
(R = S.updateOption) == null || R.call(S, s.inputValue);
|
|
6459
6459
|
});
|
|
6460
6460
|
}, Zn = dn(), gn = b(() => ["small"].includes(Zn.value) ? "small" : "default"), jo = b({
|
|
6461
6461
|
get() {
|
|
@@ -6471,11 +6471,11 @@ const Ty = 11, Ay = (e, t) => {
|
|
|
6471
6471
|
return e.filterable || Ct(S) ? !s.inputValue : !0;
|
|
6472
6472
|
}), Uo = b(() => {
|
|
6473
6473
|
var S;
|
|
6474
|
-
const
|
|
6475
|
-
return e.multiple || !te.value ?
|
|
6474
|
+
const R = (S = e.placeholder) != null ? S : n("el.select.placeholder");
|
|
6475
|
+
return e.multiple || !te.value ? R : s.selectedLabel;
|
|
6476
6476
|
}), Wo = b(() => ui ? null : "mouseenter");
|
|
6477
|
-
q(() => e.modelValue, (S,
|
|
6478
|
-
e.multiple && e.filterable && !e.reserveKeyword && (s.inputValue = "", At("")), Ut(), !Eo(S,
|
|
6477
|
+
q(() => e.modelValue, (S, R) => {
|
|
6478
|
+
e.multiple && e.filterable && !e.reserveKeyword && (s.inputValue = "", At("")), Ut(), !Eo(S, R) && e.validateEvent && (M == null || M.validate("change").catch((J) => Oe(J)));
|
|
6479
6479
|
}, {
|
|
6480
6480
|
flush: "post",
|
|
6481
6481
|
deep: !0
|
|
@@ -6485,13 +6485,13 @@ const Ty = 11, Ay = (e, t) => {
|
|
|
6485
6485
|
var S;
|
|
6486
6486
|
if (!re)
|
|
6487
6487
|
return;
|
|
6488
|
-
const
|
|
6489
|
-
(!e.filterable && !e.defaultFirstOption && !Ct(e.modelValue) || !Array.from(
|
|
6488
|
+
const R = ((S = r.value) == null ? void 0 : S.querySelectorAll("input")) || [];
|
|
6489
|
+
(!e.filterable && !e.defaultFirstOption && !Ct(e.modelValue) || !Array.from(R).includes(document.activeElement)) && Ut(), e.defaultFirstOption && (e.filterable || e.remote) && Ce.value && yn();
|
|
6490
6490
|
}, {
|
|
6491
6491
|
flush: "post"
|
|
6492
6492
|
}), q(() => s.hoveringIndex, (S) => {
|
|
6493
|
-
me(S) && S > -1 ? j.value = ue.value[S] || {} : j.value = {}, ue.value.forEach((
|
|
6494
|
-
|
|
6493
|
+
me(S) && S > -1 ? j.value = ue.value[S] || {} : j.value = {}, ue.value.forEach((R) => {
|
|
6494
|
+
R.hover = j.value === R;
|
|
6495
6495
|
});
|
|
6496
6496
|
}), Bs(() => {
|
|
6497
6497
|
s.isBeforeHide || Yn();
|
|
@@ -6499,27 +6499,27 @@ const Ty = 11, Ay = (e, t) => {
|
|
|
6499
6499
|
const At = (S) => {
|
|
6500
6500
|
s.previousQuery === S || O.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 ? ce(yn) : ce(nt));
|
|
6501
6501
|
}, yn = () => {
|
|
6502
|
-
const S = ue.value.filter((oe) => oe.visible && !oe.disabled && !oe.states.groupDisabled),
|
|
6503
|
-
s.hoveringIndex = la(ue.value,
|
|
6502
|
+
const S = ue.value.filter((oe) => oe.visible && !oe.disabled && !oe.states.groupDisabled), R = S.find((oe) => oe.created), J = S[0];
|
|
6503
|
+
s.hoveringIndex = la(ue.value, R || J);
|
|
6504
6504
|
}, Ut = () => {
|
|
6505
6505
|
if (e.multiple)
|
|
6506
6506
|
s.selectedLabel = "";
|
|
6507
6507
|
else {
|
|
6508
|
-
const
|
|
6508
|
+
const R = Ie(e.modelValue) ? e.modelValue[0] : e.modelValue, J = Qn(R);
|
|
6509
6509
|
s.selectedLabel = J.currentLabel, s.selected = [J];
|
|
6510
6510
|
return;
|
|
6511
6511
|
}
|
|
6512
6512
|
const S = [];
|
|
6513
|
-
Ct(e.modelValue) || St(e.modelValue).forEach((
|
|
6514
|
-
S.push(Qn(
|
|
6513
|
+
Ct(e.modelValue) || St(e.modelValue).forEach((R) => {
|
|
6514
|
+
S.push(Qn(R));
|
|
6515
6515
|
}), s.selected = S;
|
|
6516
6516
|
}, Qn = (S) => {
|
|
6517
|
-
let
|
|
6517
|
+
let R;
|
|
6518
6518
|
const J = Go(S).toLowerCase() === "object", oe = Go(S).toLowerCase() === "null", mt = Go(S).toLowerCase() === "undefined";
|
|
6519
6519
|
for (let Mt = s.cachedOptions.size - 1; Mt >= 0; Mt--) {
|
|
6520
6520
|
const Ye = Tt.value[Mt];
|
|
6521
6521
|
if (J ? at(Ye.value, e.valueKey) === at(S, e.valueKey) : Ye.value === S) {
|
|
6522
|
-
|
|
6522
|
+
R = {
|
|
6523
6523
|
value: S,
|
|
6524
6524
|
currentLabel: Ye.currentLabel,
|
|
6525
6525
|
get isDisabled() {
|
|
@@ -6529,15 +6529,15 @@ const Ty = 11, Ay = (e, t) => {
|
|
|
6529
6529
|
break;
|
|
6530
6530
|
}
|
|
6531
6531
|
}
|
|
6532
|
-
if (
|
|
6533
|
-
return
|
|
6532
|
+
if (R)
|
|
6533
|
+
return R;
|
|
6534
6534
|
const qt = J ? S.label : !oe && !mt ? S : "";
|
|
6535
6535
|
return {
|
|
6536
6536
|
value: S,
|
|
6537
6537
|
currentLabel: qt
|
|
6538
6538
|
};
|
|
6539
6539
|
}, nt = () => {
|
|
6540
|
-
s.hoveringIndex = ue.value.findIndex((S) => s.selected.some((
|
|
6540
|
+
s.hoveringIndex = ue.value.findIndex((S) => s.selected.some((R) => qo(R) === qo(S)));
|
|
6541
6541
|
}, Wt = () => {
|
|
6542
6542
|
s.selectionWidth = l.value.getBoundingClientRect().width;
|
|
6543
6543
|
}, bn = () => {
|
|
@@ -6545,11 +6545,11 @@ const Ty = 11, Ay = (e, t) => {
|
|
|
6545
6545
|
}, eo = () => {
|
|
6546
6546
|
s.collapseItemWidth = y.value.getBoundingClientRect().width;
|
|
6547
6547
|
}, Ot = () => {
|
|
6548
|
-
var S,
|
|
6549
|
-
(
|
|
6548
|
+
var S, R;
|
|
6549
|
+
(R = (S = u.value) == null ? void 0 : S.updatePopper) == null || R.call(S);
|
|
6550
6550
|
}, wn = () => {
|
|
6551
|
-
var S,
|
|
6552
|
-
(
|
|
6551
|
+
var S, R;
|
|
6552
|
+
(R = (S = c.value) == null ? void 0 : S.updatePopper) == null || R.call(S);
|
|
6553
6553
|
}, Sn = () => {
|
|
6554
6554
|
s.inputValue.length > 0 && !N.value && (N.value = !0), At(s.inputValue);
|
|
6555
6555
|
}, Cn = (S) => {
|
|
@@ -6561,46 +6561,46 @@ const Ty = 11, Ay = (e, t) => {
|
|
|
6561
6561
|
Sn();
|
|
6562
6562
|
}, jt.value), In = (S) => {
|
|
6563
6563
|
Eo(e.modelValue, S) || t($i, S);
|
|
6564
|
-
}, kl = (S) => Ip(S, (
|
|
6564
|
+
}, kl = (S) => Ip(S, (R) => !s.disabledOptions.has(R)), Tl = (S) => {
|
|
6565
6565
|
if (e.multiple && S.code !== Nn.delete && S.target.value.length <= 0) {
|
|
6566
|
-
const
|
|
6566
|
+
const R = St(e.modelValue).slice(), J = kl(R);
|
|
6567
6567
|
if (J < 0)
|
|
6568
6568
|
return;
|
|
6569
|
-
const oe =
|
|
6570
|
-
|
|
6569
|
+
const oe = R[J];
|
|
6570
|
+
R.splice(J, 1), t(we, R), In(R), t("remove-tag", oe);
|
|
6571
6571
|
}
|
|
6572
|
-
}, Al = (S,
|
|
6573
|
-
const J = s.selected.indexOf(
|
|
6572
|
+
}, Al = (S, R) => {
|
|
6573
|
+
const J = s.selected.indexOf(R);
|
|
6574
6574
|
if (J > -1 && !D.value) {
|
|
6575
6575
|
const oe = St(e.modelValue).slice();
|
|
6576
|
-
oe.splice(J, 1), t(we, oe), In(oe), t("remove-tag",
|
|
6576
|
+
oe.splice(J, 1), t(we, oe), In(oe), t("remove-tag", R.value);
|
|
6577
6577
|
}
|
|
6578
6578
|
S.stopPropagation(), no();
|
|
6579
6579
|
}, sa = (S) => {
|
|
6580
6580
|
S.stopPropagation();
|
|
6581
|
-
const
|
|
6581
|
+
const R = e.multiple ? [] : de.value;
|
|
6582
6582
|
if (e.multiple)
|
|
6583
6583
|
for (const J of s.selected)
|
|
6584
|
-
J.isDisabled &&
|
|
6585
|
-
t(we,
|
|
6584
|
+
J.isDisabled && R.push(J.value);
|
|
6585
|
+
t(we, R), In(R), s.hoveringIndex = -1, N.value = !1, t("clear"), no();
|
|
6586
6586
|
}, ra = (S) => {
|
|
6587
|
-
var
|
|
6587
|
+
var R;
|
|
6588
6588
|
if (e.multiple) {
|
|
6589
|
-
const J = St((
|
|
6589
|
+
const J = St((R = e.modelValue) != null ? R : []).slice(), oe = la(J, S.value);
|
|
6590
6590
|
oe > -1 ? J.splice(oe, 1) : (e.multipleLimit <= 0 || J.length < e.multipleLimit) && J.push(S.value), t(we, J), In(J), S.created && At(""), e.filterable && !e.reserveKeyword && (s.inputValue = "");
|
|
6591
6591
|
} else
|
|
6592
6592
|
t(we, S.value), In(S.value), N.value = !1;
|
|
6593
6593
|
no(), !N.value && ce(() => {
|
|
6594
6594
|
to(S);
|
|
6595
6595
|
});
|
|
6596
|
-
}, la = (S = [],
|
|
6597
|
-
if (!ke(
|
|
6598
|
-
return S.indexOf(
|
|
6596
|
+
}, la = (S = [], R) => {
|
|
6597
|
+
if (!ke(R))
|
|
6598
|
+
return S.indexOf(R);
|
|
6599
6599
|
const J = e.valueKey;
|
|
6600
6600
|
let oe = -1;
|
|
6601
|
-
return S.some((mt, qt) => bo(at(mt, J)) === at(
|
|
6601
|
+
return S.some((mt, qt) => bo(at(mt, J)) === at(R, J) ? (oe = qt, !0) : !1), oe;
|
|
6602
6602
|
}, to = (S) => {
|
|
6603
|
-
var
|
|
6603
|
+
var R, J, oe, mt, qt;
|
|
6604
6604
|
const oo = Ie(S) ? S[0] : S;
|
|
6605
6605
|
let Mt = null;
|
|
6606
6606
|
if (oo != null && oo.value) {
|
|
@@ -6608,17 +6608,17 @@ const Ty = 11, Ay = (e, t) => {
|
|
|
6608
6608
|
Ye.length > 0 && (Mt = Ye[0].$el);
|
|
6609
6609
|
}
|
|
6610
6610
|
if (u.value && Mt) {
|
|
6611
|
-
const Ye = (mt = (oe = (J = (
|
|
6611
|
+
const Ye = (mt = (oe = (J = (R = u.value) == null ? void 0 : R.popperRef) == null ? void 0 : J.contentRef) == null ? void 0 : oe.querySelector) == null ? void 0 : mt.call(oe, `.${i.be("dropdown", "wrap")}`);
|
|
6612
6612
|
Ye && xp(Ye, Mt);
|
|
6613
6613
|
}
|
|
6614
6614
|
(qt = C.value) == null || qt.handleScroll();
|
|
6615
6615
|
}, Ol = (S) => {
|
|
6616
6616
|
s.options.set(S.value, S), s.cachedOptions.set(S.value, S), S.disabled && s.disabledOptions.set(S.value, S);
|
|
6617
|
-
}, Ml = (S,
|
|
6618
|
-
s.options.get(S) ===
|
|
6617
|
+
}, Ml = (S, R) => {
|
|
6618
|
+
s.options.get(S) === R && s.options.delete(S);
|
|
6619
6619
|
}, _l = b(() => {
|
|
6620
|
-
var S,
|
|
6621
|
-
return (
|
|
6620
|
+
var S, R;
|
|
6621
|
+
return (R = (S = u.value) == null ? void 0 : S.popperRef) == null ? void 0 : R.contentRef;
|
|
6622
6622
|
}), Ll = () => {
|
|
6623
6623
|
s.isBeforeHide = !1, ce(() => to(s.selected));
|
|
6624
6624
|
}, no = () => {
|
|
@@ -6631,11 +6631,11 @@ const Ty = 11, Ay = (e, t) => {
|
|
|
6631
6631
|
sa(S);
|
|
6632
6632
|
}, Pl = () => {
|
|
6633
6633
|
N.value = !1, $.value && ua();
|
|
6634
|
-
},
|
|
6634
|
+
}, Fl = () => {
|
|
6635
6635
|
s.inputValue.length > 0 ? s.inputValue = "" : N.value = !1;
|
|
6636
6636
|
}, ca = () => {
|
|
6637
6637
|
D.value || (ui && (s.inputHovering = !0), s.menuVisibleOnFocus ? s.menuVisibleOnFocus = !1 : N.value = !N.value);
|
|
6638
|
-
},
|
|
6638
|
+
}, Rl = () => {
|
|
6639
6639
|
N.value ? ue.value[s.hoveringIndex] && ra(ue.value[s.hoveringIndex]) : ca();
|
|
6640
6640
|
}, qo = (S) => ke(S.value) ? at(S.value, e.valueKey) : S.value, $l = b(() => ue.value.filter((S) => S.visible).every((S) => S.disabled)), Dl = b(() => e.multiple ? e.collapseTags ? s.selected.slice(0, e.maxCollapseTags) : s.selected : []), Nl = b(() => e.multiple ? e.collapseTags ? s.selected.slice(e.maxCollapseTags) : [] : []), da = (S) => {
|
|
6641
6641
|
if (!N.value) {
|
|
@@ -6644,8 +6644,8 @@ const Ty = 11, Ay = (e, t) => {
|
|
|
6644
6644
|
}
|
|
6645
6645
|
if (!(s.options.size === 0 || s.filteredOptionsCount === 0 || O.value) && !$l.value) {
|
|
6646
6646
|
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));
|
|
6647
|
-
const
|
|
6648
|
-
(
|
|
6647
|
+
const R = ue.value[s.hoveringIndex];
|
|
6648
|
+
(R.disabled === !0 || R.states.groupDisabled === !0 || !R.visible) && da(S), ce(() => to(j.value));
|
|
6649
6649
|
}
|
|
6650
6650
|
}, Bl = () => {
|
|
6651
6651
|
if (!l.value)
|
|
@@ -6707,9 +6707,9 @@ const Ty = 11, Ay = (e, t) => {
|
|
|
6707
6707
|
blur: ua,
|
|
6708
6708
|
handleClearClick: xl,
|
|
6709
6709
|
handleClickOutside: Pl,
|
|
6710
|
-
handleEsc:
|
|
6710
|
+
handleEsc: Fl,
|
|
6711
6711
|
toggleMenu: ca,
|
|
6712
|
-
selectOption:
|
|
6712
|
+
selectOption: Rl,
|
|
6713
6713
|
getValueKey: qo,
|
|
6714
6714
|
navigateOptions: da,
|
|
6715
6715
|
dropdownMenuVisible: jo,
|
|
@@ -6892,7 +6892,7 @@ const My = X({
|
|
|
6892
6892
|
}
|
|
6893
6893
|
});
|
|
6894
6894
|
function Ly(e, t, n, o, i, a) {
|
|
6895
|
-
const s =
|
|
6895
|
+
const s = Re("el-tag"), r = Re("el-tooltip"), l = Re("el-icon"), u = Re("el-option"), c = Re("el-options"), d = Re("el-scrollbar"), f = Re("el-select-menu"), m = tu("click-outside");
|
|
6896
6896
|
return ie((w(), P("div", {
|
|
6897
6897
|
ref: "selectRef",
|
|
6898
6898
|
class: _([e.nsSelect.b(), e.nsSelect.m(e.selectSize)]),
|
|
@@ -6921,7 +6921,7 @@ function Ly(e, t, n, o, i, a) {
|
|
|
6921
6921
|
default: E(() => {
|
|
6922
6922
|
var p;
|
|
6923
6923
|
return [
|
|
6924
|
-
|
|
6924
|
+
F("div", {
|
|
6925
6925
|
ref: "wrapperRef",
|
|
6926
6926
|
class: _([
|
|
6927
6927
|
e.nsSelect.e("wrapper"),
|
|
@@ -6939,7 +6939,7 @@ function Ly(e, t, n, o, i, a) {
|
|
|
6939
6939
|
}, [
|
|
6940
6940
|
K(e.$slots, "prefix")
|
|
6941
6941
|
], 2)) : V("v-if", !0),
|
|
6942
|
-
|
|
6942
|
+
F("div", {
|
|
6943
6943
|
ref: "selectionRef",
|
|
6944
6944
|
class: _([
|
|
6945
6945
|
e.nsSelect.e("selection"),
|
|
@@ -6961,7 +6961,7 @@ function Ly(e, t, n, o, i, a) {
|
|
|
6961
6961
|
onClose: (g) => e.deleteTag(g, h)
|
|
6962
6962
|
}, {
|
|
6963
6963
|
default: E(() => [
|
|
6964
|
-
|
|
6964
|
+
F("span", {
|
|
6965
6965
|
class: _(e.nsSelect.e("tags-text"))
|
|
6966
6966
|
}, [
|
|
6967
6967
|
K(e.$slots, "label", {
|
|
@@ -6985,7 +6985,7 @@ function Ly(e, t, n, o, i, a) {
|
|
|
6985
6985
|
teleported: e.teleported
|
|
6986
6986
|
}, {
|
|
6987
6987
|
default: E(() => [
|
|
6988
|
-
|
|
6988
|
+
F("div", {
|
|
6989
6989
|
ref: "collapseItemRef",
|
|
6990
6990
|
class: _(e.nsSelect.e("selected-item"))
|
|
6991
6991
|
}, [
|
|
@@ -6998,7 +6998,7 @@ function Ly(e, t, n, o, i, a) {
|
|
|
6998
6998
|
style: se(e.collapseTagStyle)
|
|
6999
6999
|
}, {
|
|
7000
7000
|
default: E(() => [
|
|
7001
|
-
|
|
7001
|
+
F("span", {
|
|
7002
7002
|
class: _(e.nsSelect.e("tags-text"))
|
|
7003
7003
|
}, " + " + ne(e.states.selected.length - e.maxCollapseTags), 3)
|
|
7004
7004
|
]),
|
|
@@ -7007,7 +7007,7 @@ function Ly(e, t, n, o, i, a) {
|
|
|
7007
7007
|
], 2)
|
|
7008
7008
|
]),
|
|
7009
7009
|
content: E(() => [
|
|
7010
|
-
|
|
7010
|
+
F("div", {
|
|
7011
7011
|
ref: "tagMenuRef",
|
|
7012
7012
|
class: _(e.nsSelect.e("selection"))
|
|
7013
7013
|
}, [
|
|
@@ -7025,7 +7025,7 @@ function Ly(e, t, n, o, i, a) {
|
|
|
7025
7025
|
onClose: (g) => e.deleteTag(g, h)
|
|
7026
7026
|
}, {
|
|
7027
7027
|
default: E(() => [
|
|
7028
|
-
|
|
7028
|
+
F("span", {
|
|
7029
7029
|
class: _(e.nsSelect.e("tags-text"))
|
|
7030
7030
|
}, [
|
|
7031
7031
|
K(e.$slots, "label", {
|
|
@@ -7052,7 +7052,7 @@ function Ly(e, t, n, o, i, a) {
|
|
|
7052
7052
|
e.nsSelect.is("hidden", !e.filterable)
|
|
7053
7053
|
])
|
|
7054
7054
|
}, [
|
|
7055
|
-
ie(
|
|
7055
|
+
ie(F("input", {
|
|
7056
7056
|
id: e.inputId,
|
|
7057
7057
|
ref: "inputRef",
|
|
7058
7058
|
"onUpdate:modelValue": (h) => e.states.inputValue = h,
|
|
@@ -7107,11 +7107,11 @@ function Ly(e, t, n, o, i, a) {
|
|
|
7107
7107
|
label: e.currentPlaceholder,
|
|
7108
7108
|
value: e.modelValue
|
|
7109
7109
|
}, () => [
|
|
7110
|
-
|
|
7110
|
+
F("span", null, ne(e.currentPlaceholder), 1)
|
|
7111
7111
|
]) : (w(), P("span", { key: 1 }, ne(e.currentPlaceholder), 1))
|
|
7112
7112
|
], 2)) : V("v-if", !0)
|
|
7113
7113
|
], 2),
|
|
7114
|
-
|
|
7114
|
+
F("div", {
|
|
7115
7115
|
ref: "suffixRef",
|
|
7116
7116
|
class: _(e.nsSelect.e("suffix"))
|
|
7117
7117
|
}, [
|
|
@@ -7200,7 +7200,7 @@ function Ly(e, t, n, o, i, a) {
|
|
|
7200
7200
|
class: _(e.nsSelect.be("dropdown", "empty"))
|
|
7201
7201
|
}, [
|
|
7202
7202
|
K(e.$slots, "empty", {}, () => [
|
|
7203
|
-
|
|
7203
|
+
F("span", null, ne(e.emptyText), 1)
|
|
7204
7204
|
])
|
|
7205
7205
|
], 2)) : V("v-if", !0),
|
|
7206
7206
|
e.$slots.footer ? (w(), P("div", {
|
|
@@ -7259,16 +7259,16 @@ const Py = H({
|
|
|
7259
7259
|
};
|
|
7260
7260
|
}
|
|
7261
7261
|
});
|
|
7262
|
-
function
|
|
7262
|
+
function Fy(e, t, n, o, i, a) {
|
|
7263
7263
|
return ie((w(), P("ul", {
|
|
7264
7264
|
ref: "groupRef",
|
|
7265
7265
|
class: _(e.ns.be("group", "wrap"))
|
|
7266
7266
|
}, [
|
|
7267
|
-
|
|
7267
|
+
F("li", {
|
|
7268
7268
|
class: _(e.ns.be("group", "title"))
|
|
7269
7269
|
}, ne(e.label), 3),
|
|
7270
|
-
|
|
7271
|
-
|
|
7270
|
+
F("li", null, [
|
|
7271
|
+
F("ul", {
|
|
7272
7272
|
class: _(e.ns.b("group"))
|
|
7273
7273
|
}, [
|
|
7274
7274
|
K(e.$slots, "default")
|
|
@@ -7278,13 +7278,13 @@ function Ry(e, t, n, o, i, a) {
|
|
|
7278
7278
|
[Ee, e.visible]
|
|
7279
7279
|
]);
|
|
7280
7280
|
}
|
|
7281
|
-
var yl = /* @__PURE__ */ Q(Py, [["render",
|
|
7281
|
+
var yl = /* @__PURE__ */ Q(Py, [["render", Fy], ["__file", "option-group.vue"]]);
|
|
7282
7282
|
const Ko = Me(xy, {
|
|
7283
7283
|
Option: ta,
|
|
7284
7284
|
OptionGroup: yl
|
|
7285
7285
|
}), na = zt(ta);
|
|
7286
7286
|
zt(yl);
|
|
7287
|
-
const
|
|
7287
|
+
const Ry = X({
|
|
7288
7288
|
trigger: zn.trigger,
|
|
7289
7289
|
placement: ai.placement,
|
|
7290
7290
|
disabled: zn.disabled,
|
|
@@ -7346,7 +7346,7 @@ const Fy = X({
|
|
|
7346
7346
|
name: "ElPopover"
|
|
7347
7347
|
}), By = /* @__PURE__ */ H({
|
|
7348
7348
|
...Ny,
|
|
7349
|
-
props:
|
|
7349
|
+
props: Ry,
|
|
7350
7350
|
emits: $y,
|
|
7351
7351
|
setup(e, { expose: t, emit: n }) {
|
|
7352
7352
|
const o = e, i = b(() => o[Dy]), a = ee("popover"), s = L(), r = b(() => {
|
|
@@ -7635,7 +7635,7 @@ const Ei = function(e = {}) {
|
|
|
7635
7635
|
Col: Gn,
|
|
7636
7636
|
Icon: We,
|
|
7637
7637
|
Row: qn,
|
|
7638
|
-
ElIconWarning:
|
|
7638
|
+
ElIconWarning: Fs
|
|
7639
7639
|
},
|
|
7640
7640
|
methods: {
|
|
7641
7641
|
/**
|
|
@@ -7773,13 +7773,13 @@ const Ei = function(e = {}) {
|
|
|
7773
7773
|
}
|
|
7774
7774
|
}, Jy = { class: "selections-container" }, Yy = { class: "checkall-display-text" }, Zy = { style: { "word-break": "keep-all" } }, Xy = { class: "checkbox-group-inner" }, Qy = ["onMouseenter", "onMouseleave"];
|
|
7775
7775
|
function eb(e, t, n, o, i, a) {
|
|
7776
|
-
const s =
|
|
7776
|
+
const s = Fs, r = We, l = Jn, u = Gn, c = il, d = qn, f = al;
|
|
7777
7777
|
return w(), P("div", Jy, [
|
|
7778
7778
|
x(d, null, {
|
|
7779
7779
|
default: E(() => [
|
|
7780
7780
|
x(u, { span: 12 }, {
|
|
7781
7781
|
default: E(() => [
|
|
7782
|
-
|
|
7782
|
+
F("span", Yy, ne(n.title), 1),
|
|
7783
7783
|
n.helpMessage ? (w(), z(l, {
|
|
7784
7784
|
key: 0,
|
|
7785
7785
|
width: "250",
|
|
@@ -7788,7 +7788,7 @@ function eb(e, t, n, o, i, a) {
|
|
|
7788
7788
|
"popper-class": "popover-origin-help"
|
|
7789
7789
|
}, Hs({
|
|
7790
7790
|
default: E(() => [
|
|
7791
|
-
|
|
7791
|
+
F("span", Zy, ne(n.helpMessage), 1)
|
|
7792
7792
|
]),
|
|
7793
7793
|
_: 2
|
|
7794
7794
|
}, [
|
|
@@ -7838,13 +7838,13 @@ function eb(e, t, n, o, i, a) {
|
|
|
7838
7838
|
onChange: a.handleCheckedItemsChange
|
|
7839
7839
|
}, {
|
|
7840
7840
|
default: E(() => [
|
|
7841
|
-
|
|
7841
|
+
F("div", Xy, [
|
|
7842
7842
|
(w(!0), P(fe, null, Ke(n.selections, (m) => (w(), z(d, {
|
|
7843
7843
|
key: m[n.identifierKey],
|
|
7844
7844
|
label: m[n.identifierKey]
|
|
7845
7845
|
}, {
|
|
7846
7846
|
default: E(() => [
|
|
7847
|
-
|
|
7847
|
+
F("div", {
|
|
7848
7848
|
class: "checkbox-container",
|
|
7849
7849
|
onMouseenter: (p) => a.checkboxMouseEnterEmit(m[n.identifierKey], !0),
|
|
7850
7850
|
onMouseleave: (p) => a.checkboxMouseEnterEmit(m[n.identifierKey], !1)
|
|
@@ -7865,7 +7865,7 @@ function eb(e, t, n, o, i, a) {
|
|
|
7865
7865
|
span: 4
|
|
7866
7866
|
}, {
|
|
7867
7867
|
default: E(() => [
|
|
7868
|
-
|
|
7868
|
+
F("div", {
|
|
7869
7869
|
class: "path-visual",
|
|
7870
7870
|
style: se(a.getLineStyles(m))
|
|
7871
7871
|
}, null, 4)
|
|
@@ -7874,7 +7874,7 @@ function eb(e, t, n, o, i, a) {
|
|
|
7874
7874
|
}, 1024)) : V("", !0),
|
|
7875
7875
|
x(u, { span: 20 }, {
|
|
7876
7876
|
default: E(() => [
|
|
7877
|
-
|
|
7877
|
+
F("div", {
|
|
7878
7878
|
style: se(a.getBackgroundStyles(m))
|
|
7879
7879
|
}, ne(m[n.labelKey]), 5)
|
|
7880
7880
|
]),
|
|
@@ -7952,7 +7952,7 @@ function ab(e, t, n, o, i, a) {
|
|
|
7952
7952
|
class: _(a.legendStyleValue),
|
|
7953
7953
|
style: se(a.customClipPathStyle(!0))
|
|
7954
7954
|
}, [
|
|
7955
|
-
|
|
7955
|
+
F("div", {
|
|
7956
7956
|
class: _(a.legendStyleValue),
|
|
7957
7957
|
style: se(a.customClipPathStyle(!1))
|
|
7958
7958
|
}, null, 6)
|
|
@@ -7961,7 +7961,7 @@ function ab(e, t, n, o, i, a) {
|
|
|
7961
7961
|
class: _(a.legendStyleValue),
|
|
7962
7962
|
style: se(a.customStyle)
|
|
7963
7963
|
}, null, 6)),
|
|
7964
|
-
|
|
7964
|
+
F("div", ib, ne(a.capitalise(n.item[n.identifierKey])), 1)
|
|
7965
7965
|
])) : V("", !0);
|
|
7966
7966
|
}
|
|
7967
7967
|
const wl = /* @__PURE__ */ Kt(nb, [["render", ab], ["__scopeId", "data-v-b7e5b095"]]), sb = {
|
|
@@ -8087,7 +8087,7 @@ const cb = /* @__PURE__ */ Kt(sb, [["render", ub], ["__scopeId", "data-v-32c93a1
|
|
|
8087
8087
|
function yb(e, t, n, o, i, a) {
|
|
8088
8088
|
const s = jl, r = We, l = ea;
|
|
8089
8089
|
return w(), P("div", fb, [
|
|
8090
|
-
|
|
8090
|
+
F("div", pb, [
|
|
8091
8091
|
x(r, { size: "24" }, {
|
|
8092
8092
|
default: E(() => [
|
|
8093
8093
|
x(s)
|
|
@@ -8098,7 +8098,7 @@ function yb(e, t, n, o, i, a) {
|
|
|
8098
8098
|
]),
|
|
8099
8099
|
n.flatmapError.messages ? (w(), P("div", mb, [
|
|
8100
8100
|
(w(!0), P(fe, null, Ke(n.flatmapError.messages, (u, c) => (w(), P("div", { key: c }, [
|
|
8101
|
-
|
|
8101
|
+
F("div", { innerHTML: u }, null, 8, vb)
|
|
8102
8102
|
]))), 128))
|
|
8103
8103
|
])) : V("", !0),
|
|
8104
8104
|
n.flatmapError.button ? (w(), P("div", gb, [
|
|
@@ -8132,7 +8132,7 @@ function Cb(e, t, n, o, i, a) {
|
|
|
8132
8132
|
(w(), P("svg", Sb, t[0] || (t[0] = [
|
|
8133
8133
|
au('<defs data-v-88079d87><bx:grid height="30.447" width="32.516" x="0" y="0" data-v-88079d87></bx:grid></defs><path class="st0 st0-translate" d="M61.3,103.8c-15.9,0-28.8-12.3-28.8-27.3c0-15,13-27.3,28.8-27.3s28.8,12.3,28.8,27.3 C90.1,91.5,77.2,103.8,61.3,103.8z" data-v-88079d87></path><path class="st1" d="M40.3,356.1C29.5,345,29.8,328,41.5,317.5c11.7-10.5,29.6-9.9,40.7,1.1c11.1,11,10.5,28.1-1.2,38.5 C69.3,367.4,51.1,366.9,40.3,356.1z" data-v-88079d87></path><path class="st2" d="M61.2,396.9c-5.3,9.3-15.3,15.1-26.1,15.1l-0.4,0.6c5.1,9,5.1,20,0,29l0.4,0.6c10.7,0,20.8,5.8,26.1,15.1 c5.3-9.3,15.3-15.1,26.1-15.1c-5.3-9.3-5.3-20.9,0-30.4C76.6,412.1,66.7,406.3,61.2,396.9z" data-v-88079d87></path><text transform="matrix(0.9908 0 0 1 118.0161 171.7975)" class="st3 st4 st5" style="white-space:pre;" data-v-88079d87> Tissue region </text><path class="st6" d="M40.9,231.1c11.3-10.6,29.5-10.6,40.8,0c11.3,10.6,11.3,27.9,0,38.5c-11.3,10.6-29.5,10.6-40.8,0 C29.7,259,29.7,241.7,40.9,231.1z" data-v-88079d87></path><text transform="matrix(0.9908 0 0 1 118.0161 257.675)" class="st3 st4 st5" style="white-space:pre;" data-v-88079d87> Brain nuclei </text><text transform="matrix(0.9908 0 0 1 118.0903 345.5266)" class="st3 st4 st5" style="white-space:pre;" data-v-88079d87> Ganglia </text><text transform="matrix(0.9908 0 0 1 118.0903 433.1613)" class="st3 st4 st5" style="white-space:pre;" data-v-88079d87> Ganglionated nerve plexus </text>', 9)
|
|
8134
8134
|
]))),
|
|
8135
|
-
t[1] || (t[1] =
|
|
8135
|
+
t[1] || (t[1] = F("svg", {
|
|
8136
8136
|
width: "72px",
|
|
8137
8137
|
height: "72px",
|
|
8138
8138
|
viewBox: "0 0 24 24",
|
|
@@ -8701,7 +8701,7 @@ var Cl = { exports: {} };
|
|
|
8701
8701
|
});
|
|
8702
8702
|
})(Cl);
|
|
8703
8703
|
var Pb = Cl.exports;
|
|
8704
|
-
const
|
|
8704
|
+
const Fb = /* @__PURE__ */ ug(Pb), Rb = "#1b7f6b", _s = "#f4f1de", $b = "#12312b", Db = "99+", Nb = function(e) {
|
|
8705
8705
|
return (Array.isArray(e) ? e : []).map((t) => ({
|
|
8706
8706
|
label: String((t == null ? void 0 : t.label) || "").trim(),
|
|
8707
8707
|
curie: String((t == null ? void 0 : t.curie) || "").trim(),
|
|
@@ -8718,7 +8718,7 @@ const Rb = /* @__PURE__ */ ug(Pb), Fb = "#1b7f6b", _s = "#f4f1de", $b = "#12312b
|
|
|
8718
8718
|
<path d="M12.25.25a12.254 12.254 0 0 0-12 12.494
|
|
8719
8719
|
c0 6.444 6.488 12.109 11.059 22.564.549 1.256 1.333 1.256 1.882 0
|
|
8720
8720
|
C17.762 24.853 24.25 19.186 24.25 12.744A12.254 12.254 0 0 0 12.25.25Z"
|
|
8721
|
-
style="fill:${
|
|
8721
|
+
style="fill:${Rb};stroke:${_s};stroke-width:1.1"/>
|
|
8722
8722
|
<circle cx="12.5" cy="12.5" r="8" fill="${_s}"/>
|
|
8723
8723
|
<text x="12.5" y="16.1" text-anchor="middle" style="font-size:7.5px;font-weight:700;fill:${$b};font-family:Arial, sans-serif">${n}</text>
|
|
8724
8724
|
</svg>`, t;
|
|
@@ -8835,7 +8835,7 @@ const Ti = new jb(), Ub = "cannot be found on the map.", Wb = (e) => {
|
|
|
8835
8835
|
SvgLegends: Eb,
|
|
8836
8836
|
ElIconWarningFilled: $s,
|
|
8837
8837
|
ElIconArrowDown: Ai,
|
|
8838
|
-
ElIconArrowLeft:
|
|
8838
|
+
ElIconArrowLeft: Rs,
|
|
8839
8839
|
DrawToolbar: uu,
|
|
8840
8840
|
FlatmapError: ia
|
|
8841
8841
|
},
|
|
@@ -8844,7 +8844,7 @@ const Ti = new jb(), Ub = "cannot be found on the map.", Wb = (e) => {
|
|
|
8844
8844
|
},
|
|
8845
8845
|
setup(e) {
|
|
8846
8846
|
let t = G("$annotator");
|
|
8847
|
-
return t || (t =
|
|
8847
|
+
return t || (t = Fe(new hu(`${e.flatmapAPI}annotator`)), pe("$annotator", t)), { annotator: t };
|
|
8848
8848
|
},
|
|
8849
8849
|
methods: {
|
|
8850
8850
|
enableFeatureResetOnClick: function(e) {
|
|
@@ -8860,7 +8860,7 @@ const Ti = new jb(), Ub = "cannot be found on the map.", Wb = (e) => {
|
|
|
8860
8860
|
* @param {Object} `filter`
|
|
8861
8861
|
*/
|
|
8862
8862
|
setVisibilityFilter: function(e) {
|
|
8863
|
-
this.mapImp && (this.mapImp.contextLost ? e ? this.filterToRestore =
|
|
8863
|
+
this.mapImp && (this.mapImp.contextLost ? e ? this.filterToRestore = Fe(JSON.parse(JSON.stringify(e))) : this.filterToRestore = void 0 : (e ? this.mapImp.setVisibilityFilter(e) : this.mapImp.clearVisibilityFilter(), this.filterToRestore = void 0));
|
|
8864
8864
|
},
|
|
8865
8865
|
/**
|
|
8866
8866
|
* @public
|
|
@@ -9167,7 +9167,7 @@ const Ti = new jb(), Ub = "cannot be found on the map.", Wb = (e) => {
|
|
|
9167
9167
|
[t[0], t[1]],
|
|
9168
9168
|
[t[2], t[3]]
|
|
9169
9169
|
];
|
|
9170
|
-
e.setMaxBounds(null), e.setRenderWorldCopies(!1), this.initMapState =
|
|
9170
|
+
e.setMaxBounds(null), e.setRenderWorldCopies(!1), this.initMapState = Fe({
|
|
9171
9171
|
initBounds: n
|
|
9172
9172
|
});
|
|
9173
9173
|
}
|
|
@@ -9565,7 +9565,7 @@ const Ti = new jb(), Ub = "cannot be found on the map.", Wb = (e) => {
|
|
|
9565
9565
|
* Function to remove active tooltips on map.
|
|
9566
9566
|
*/
|
|
9567
9567
|
removeActiveTooltips: function() {
|
|
9568
|
-
this.mapImp && this.mapImp.removePopup(), this.$el.querySelectorAll(".flatmap-tooltip-popup").forEach((t) => t.remove());
|
|
9568
|
+
this.mapImp && this.mapImp.removePopup(), this.$el.querySelectorAll(".flatmap-tooltip-popup").forEach((t) => t.remove()), this.lastHoveredFeature = null;
|
|
9569
9569
|
},
|
|
9570
9570
|
/**
|
|
9571
9571
|
* Function to create tooltip for the provided connectivity data.
|
|
@@ -9596,7 +9596,7 @@ const Ti = new jb(), Ub = "cannot be found on the map.", Wb = (e) => {
|
|
|
9596
9596
|
*/
|
|
9597
9597
|
showConnectivityTooltips: function(e) {
|
|
9598
9598
|
const { connectivityInfo: t, data: n } = e, o = [], i = [], a = [], s = [];
|
|
9599
|
-
if (t && t.featureId && o.push(...t.featureId), this.mapImp) {
|
|
9599
|
+
if (this.lastHoveredFeature = null, t && t.featureId && o.push(...t.featureId), this.mapImp) {
|
|
9600
9600
|
if (n.forEach((f) => {
|
|
9601
9601
|
const m = this.mapImp.search(f.id);
|
|
9602
9602
|
if (m != null && m.results.length) {
|
|
@@ -9781,7 +9781,7 @@ const Ti = new jb(), Ub = "cannot be found on the map.", Wb = (e) => {
|
|
|
9781
9781
|
closeTooltip: function() {
|
|
9782
9782
|
this.$refs.tooltip && (this.$refs.tooltip.$el.style.display = "none"), document.querySelectorAll(".maplibregl-popup").forEach((e) => {
|
|
9783
9783
|
e.style.display = "none";
|
|
9784
|
-
});
|
|
9784
|
+
}), this.lastHoveredFeature = null;
|
|
9785
9785
|
},
|
|
9786
9786
|
/**
|
|
9787
9787
|
* @public
|
|
@@ -10138,7 +10138,7 @@ const Ti = new jb(), Ub = "cannot be found on the map.", Wb = (e) => {
|
|
|
10138
10138
|
*/
|
|
10139
10139
|
onFlatmapReady: function(e) {
|
|
10140
10140
|
var t;
|
|
10141
|
-
if (this.sensor =
|
|
10141
|
+
if (this.sensor = Fe(new Fb(this.$refs.display, this.mapResize)), ((t = this.mapImp.options) == null ? void 0 : t.style) === "functional" && (this.isFC = !0), this.mapImp.setBackgroundOpacity(1), this.backgroundChangeCallback(this.currentBackground), this.pathways = this.mapImp.pathTypes(), this.pathways = this.pathways.filter((n) => n.enabled && n.type !== "other"), this.processSystems(this.mapImp.getSystems()), this.processTaxon(this.mapImp.taxonIdentifiers, e ? e.taxonSelection : void 0), this.containsAlert = "alert" in this.mapImp.featureFilterRanges(), this.flatmapLegends = this.mapImp.flatmapLegend, this.loading = !1, this.computePathControlsMaximumHeight(), this.mapResize(), this.handleMapClick(), this.setInitMapState(), this.displayMinimap) {
|
|
10142
10142
|
const n = { position: "top-right" };
|
|
10143
10143
|
this.mapImp.createMinimap(n), this.addResizeButtonToMinimap();
|
|
10144
10144
|
}
|
|
@@ -10156,7 +10156,7 @@ const Ti = new jb(), Ub = "cannot be found on the map.", Wb = (e) => {
|
|
|
10156
10156
|
});
|
|
10157
10157
|
},
|
|
10158
10158
|
onContextLost: function() {
|
|
10159
|
-
this.lastViewport =
|
|
10159
|
+
this.lastViewport = Fe(this.mapImp.getState()), this.flatmapError = {}, this.flatmapError.title = "GL context lost!", this.flatmapError.messages = [`A display issue has occurred due
|
|
10160
10160
|
to a limit on available WebGL contexts. You can restore the display
|
|
10161
10161
|
using the Restore Context button. Please see the
|
|
10162
10162
|
<a href="https://docs.sparc.science/docs/integrated-maps-viewer-overview#limit-on-available-webgl-contexts" target='_blank'>documentation</a>
|
|
@@ -10218,8 +10218,10 @@ const Ti = new jb(), Ub = "cannot be found on the map.", Wb = (e) => {
|
|
|
10218
10218
|
provenanceTaxonomy: s.taxons,
|
|
10219
10219
|
alert: tn(s.alert)
|
|
10220
10220
|
};
|
|
10221
|
-
this.checkAndCreatePopups([r], n)
|
|
10222
|
-
|
|
10221
|
+
this.checkAndCreatePopups([r], n);
|
|
10222
|
+
const l = s.id.startsWith("ilxtr:") || s.id.startsWith("ilx:");
|
|
10223
|
+
l ? (this.lastHoveredFeature = s, this.lastHoveredFeature.mapUUID = this.mapImp.uuid) : this.lastHoveredFeature = null, this.mapImp.showPopup(a, ho(s.label), {
|
|
10224
|
+
className: l ? "flatmap-tooltip-popup" : "custom-popup",
|
|
10223
10225
|
positionAtLastClick: !1,
|
|
10224
10226
|
preserveSelection: !0
|
|
10225
10227
|
});
|
|
@@ -10571,7 +10573,7 @@ const Ti = new jb(), Ub = "cannot be found on the map.", Wb = (e) => {
|
|
|
10571
10573
|
serverURL: void 0,
|
|
10572
10574
|
layers: [],
|
|
10573
10575
|
pathways: [],
|
|
10574
|
-
initMapState:
|
|
10576
|
+
initMapState: Fe({}),
|
|
10575
10577
|
sckanDisplay: [
|
|
10576
10578
|
{
|
|
10577
10579
|
label: "Display Path with SCKAN",
|
|
@@ -10581,7 +10583,7 @@ const Ti = new jb(), Ub = "cannot be found on the map.", Wb = (e) => {
|
|
|
10581
10583
|
systems: [],
|
|
10582
10584
|
taxonConnectivity: [],
|
|
10583
10585
|
pathwaysMaxHeight: 1e3,
|
|
10584
|
-
tooltipWait:
|
|
10586
|
+
tooltipWait: Fe([]),
|
|
10585
10587
|
hoverVisibilities: [
|
|
10586
10588
|
{ value: !1, ref: "markerPopover" },
|
|
10587
10589
|
// 0
|
|
@@ -10686,7 +10688,7 @@ const Ti = new jb(), Ub = "cannot be found on the map.", Wb = (e) => {
|
|
|
10686
10688
|
enabled: !0
|
|
10687
10689
|
}
|
|
10688
10690
|
],
|
|
10689
|
-
mapFilters:
|
|
10691
|
+
mapFilters: Fe({
|
|
10690
10692
|
alert: {
|
|
10691
10693
|
with: !0,
|
|
10692
10694
|
without: !0
|
|
@@ -10769,10 +10771,10 @@ const Ti = new jb(), Ub = "cannot be found on the map.", Wb = (e) => {
|
|
|
10769
10771
|
}
|
|
10770
10772
|
},
|
|
10771
10773
|
created: function() {
|
|
10772
|
-
this.mapManager ? this.mapManagerRef = this.mapManager : (this.mapManagerRef =
|
|
10774
|
+
this.mapManager ? this.mapManagerRef = this.mapManager : (this.mapManagerRef = Fe(new Ks.MapViewer(this.flatmapAPI, { container: void 0 })), this.$emit("mapmanager-loaded", this.mapManagerRef));
|
|
10773
10775
|
},
|
|
10774
10776
|
mounted: function() {
|
|
10775
|
-
this.openMapRef = yo(this.$refs.openMapRef), this.backgroundIconRef = yo(this.$refs.backgroundIconRef), this.tooltipWait.length = this.hoverVisibilities.length, this.flatmapQueries =
|
|
10777
|
+
this.openMapRef = yo(this.$refs.openMapRef), this.backgroundIconRef = yo(this.$refs.backgroundIconRef), this.tooltipWait.length = this.hoverVisibilities.length, this.flatmapQueries = Fe(new kb()), this.flatmapQueries.initialise(this.flatmapAPI), this.state ? this.setStateRequired && this.setState(this.state) : this.renderAtMounted && this.createFlatmap(), Sl(), this.tooltipContentProvider && this.$nextTick(() => {
|
|
10776
10778
|
const e = this.$refs.flatmapContainer || this.$el;
|
|
10777
10779
|
e && (this.tooltipObserver = new MutationObserver(this._handleTooltipMutation.bind(this)), this.tooltipObserver.observe(e, {
|
|
10778
10780
|
childList: !0,
|
|
@@ -10800,17 +10802,17 @@ const Ti = new jb(), Ub = "cannot be found on the map.", Wb = (e) => {
|
|
|
10800
10802
|
class: "viewing-mode-title"
|
|
10801
10803
|
}, o0 = ["onClick"], i0 = ["onClick"];
|
|
10802
10804
|
function a0(e, t, n, o, i, a) {
|
|
10803
|
-
const s =
|
|
10805
|
+
const s = Re("map-svg-sprite-color"), r = ia, l = $s, u = We, c = Jn, d = Ai, f = Re("DrawToolbar"), m = Re("map-svg-icon"), p = cb, h = Re("tree-controls"), g = bl, y = Rs, C = ea, O = qn, T = Gn, I = na, k = Ko, A = fl, $ = pl, N = Re("Tooltip"), j = oa, B = Ii;
|
|
10804
10806
|
return ie((w(), P("div", Gb, [
|
|
10805
10807
|
x(s),
|
|
10806
|
-
|
|
10807
|
-
|
|
10808
|
+
F("div", Jb, [
|
|
10809
|
+
F("div", Yb, null, 512),
|
|
10808
10810
|
e.flatmapError ? (w(), z(r, {
|
|
10809
10811
|
key: 0,
|
|
10810
10812
|
flatmapError: e.flatmapError
|
|
10811
10813
|
}, null, 8, ["flatmapError"])) : V("", !0),
|
|
10812
|
-
ie(
|
|
10813
|
-
|
|
10814
|
+
ie(F("div", Zb, [
|
|
10815
|
+
F("div", null, [
|
|
10814
10816
|
n.displayWarning || n.isLegacy ? (w(), z(c, {
|
|
10815
10817
|
key: 0,
|
|
10816
10818
|
placement: "right",
|
|
@@ -10820,7 +10822,7 @@ function a0(e, t, n, o, i, a) {
|
|
|
10820
10822
|
ref: "warningPopover"
|
|
10821
10823
|
}, {
|
|
10822
10824
|
reference: E(() => [
|
|
10823
|
-
|
|
10825
|
+
F("div", {
|
|
10824
10826
|
class: "warning-icon",
|
|
10825
10827
|
onMouseover: t[7] || (t[7] = (M) => a.showTooltip(7)),
|
|
10826
10828
|
onMouseout: t[8] || (t[8] = (M) => a.hideTooltip(7))
|
|
@@ -10832,8 +10834,8 @@ function a0(e, t, n, o, i, a) {
|
|
|
10832
10834
|
_: 1
|
|
10833
10835
|
})) : V("", !0),
|
|
10834
10836
|
n.isLegacy ? (w(), P(fe, { key: 1 }, [
|
|
10835
|
-
t[31] || (t[31] =
|
|
10836
|
-
|
|
10837
|
+
t[31] || (t[31] = F("span", { class: "warning-text" }, "Legacy Map", -1)),
|
|
10838
|
+
F("div", {
|
|
10837
10839
|
class: "latest-map-text",
|
|
10838
10840
|
onClick: t[6] || (t[6] = (...M) => a.viewLatestMap && a.viewLatestMap(...M))
|
|
10839
10841
|
}, " Click here for the latest map ")
|
|
@@ -10851,12 +10853,12 @@ function a0(e, t, n, o, i, a) {
|
|
|
10851
10853
|
onMouseout: t[3] || (t[3] = (M) => a.hideTooltip(7))
|
|
10852
10854
|
}, t[29] || (t[29] = [
|
|
10853
10855
|
Z(" This map displays the connectivity of individual neurons. Specifically, those which align with (parts of) the neuron populations from the "),
|
|
10854
|
-
|
|
10856
|
+
F("a", {
|
|
10855
10857
|
href: "https://sparc.science/resources/1ZUKXU2YmLcn2reCyXjlew",
|
|
10856
10858
|
target: "_blank"
|
|
10857
10859
|
}, " ApiNATOMY ", -1),
|
|
10858
10860
|
Z(" models available in "),
|
|
10859
|
-
|
|
10861
|
+
F("a", {
|
|
10860
10862
|
href: "https://sparc.science/resources/6eg3VpJbwQR4B84CjrvmyD",
|
|
10861
10863
|
target: "_blank"
|
|
10862
10864
|
}, " SCKAN ", -1),
|
|
@@ -10867,12 +10869,12 @@ function a0(e, t, n, o, i, a) {
|
|
|
10867
10869
|
onMouseout: t[5] || (t[5] = (M) => a.hideTooltip(7))
|
|
10868
10870
|
}, t[30] || (t[30] = [
|
|
10869
10871
|
Z(" This map displays the connectivity of neuron populations. Specifically, those from the primarily rat-based "),
|
|
10870
|
-
|
|
10872
|
+
F("a", {
|
|
10871
10873
|
href: "https://sparc.science/resources/1ZUKXU2YmLcn2reCyXjlew",
|
|
10872
10874
|
target: "_blank"
|
|
10873
10875
|
}, " ApiNATOMY ", -1),
|
|
10874
10876
|
Z(" models available in "),
|
|
10875
|
-
|
|
10877
|
+
F("a", {
|
|
10876
10878
|
href: "https://sparc.science/resources/6eg3VpJbwQR4B84CjrvmyD",
|
|
10877
10879
|
target: "_blank"
|
|
10878
10880
|
}, " SCKAN ", -1),
|
|
@@ -10904,14 +10906,14 @@ function a0(e, t, n, o, i, a) {
|
|
|
10904
10906
|
]),
|
|
10905
10907
|
_: 1
|
|
10906
10908
|
}),
|
|
10907
|
-
t[32] || (t[32] =
|
|
10909
|
+
t[32] || (t[32] = F("span", { class: "warning-text" }, "What's new?", -1))
|
|
10908
10910
|
], 32)) : V("", !0)
|
|
10909
10911
|
]),
|
|
10910
10912
|
default: E(() => t[33] || (t[33] = [
|
|
10911
|
-
|
|
10912
|
-
|
|
10913
|
-
|
|
10914
|
-
|
|
10913
|
+
F("b", null, "Connectivity References", -1),
|
|
10914
|
+
F("p", null, " Connectivity references have been improved and available in various formats. ", -1),
|
|
10915
|
+
F("b", null, "Improved state storing", -1),
|
|
10916
|
+
F("p", null, " Current selection and visibility filters are now stored when creating a permalink. ", -1)
|
|
10915
10917
|
])),
|
|
10916
10918
|
_: 1
|
|
10917
10919
|
}, 8, ["visible"])) : V("", !0)
|
|
@@ -10950,7 +10952,7 @@ function a0(e, t, n, o, i, a) {
|
|
|
10950
10952
|
onHideTooltip: a.hideTooltip,
|
|
10951
10953
|
ref: "toolbarPopover"
|
|
10952
10954
|
}, null, 8, ["mapCanvas", "toolbarOptions", "activeDrawTool", "activeDrawMode", "newlyDrawnEntry", "connectionEntry", "hoverVisibilities", "onClickToolbar", "onFeatureTooltip", "onConfirmDrawn", "onCancelDrawn", "onShowTooltip", "onHideTooltip"])) : V("", !0),
|
|
10953
|
-
ie(
|
|
10955
|
+
ie(F("div", Qb, [
|
|
10954
10956
|
x(c, {
|
|
10955
10957
|
content: "Zoom in",
|
|
10956
10958
|
placement: "left",
|
|
@@ -10962,7 +10964,7 @@ function a0(e, t, n, o, i, a) {
|
|
|
10962
10964
|
ref: "zoomInPopover"
|
|
10963
10965
|
}, {
|
|
10964
10966
|
reference: E(() => [
|
|
10965
|
-
|
|
10967
|
+
F("div", {
|
|
10966
10968
|
class: "icon-button-container",
|
|
10967
10969
|
onClick: t[11] || (t[11] = (M) => a.zoomIn()),
|
|
10968
10970
|
onMouseover: t[12] || (t[12] = (M) => a.showTooltip(1)),
|
|
@@ -10987,7 +10989,7 @@ function a0(e, t, n, o, i, a) {
|
|
|
10987
10989
|
ref: "zoomOutPopover"
|
|
10988
10990
|
}, {
|
|
10989
10991
|
reference: E(() => [
|
|
10990
|
-
|
|
10992
|
+
F("div", {
|
|
10991
10993
|
class: "icon-button-container",
|
|
10992
10994
|
onClick: t[14] || (t[14] = (M) => a.zoomOut()),
|
|
10993
10995
|
onMouseover: t[15] || (t[15] = (M) => a.showTooltip(2)),
|
|
@@ -11012,7 +11014,7 @@ function a0(e, t, n, o, i, a) {
|
|
|
11012
11014
|
ref: "zoomFitPopover"
|
|
11013
11015
|
}, {
|
|
11014
11016
|
reference: E(() => [
|
|
11015
|
-
|
|
11017
|
+
F("div", {
|
|
11016
11018
|
class: "icon-button-container",
|
|
11017
11019
|
onClick: t[17] || (t[17] = (M) => a.resetView()),
|
|
11018
11020
|
onMouseover: t[18] || (t[18] = (M) => a.showTooltip(3)),
|
|
@@ -11025,9 +11027,9 @@ function a0(e, t, n, o, i, a) {
|
|
|
11025
11027
|
], 32)
|
|
11026
11028
|
]),
|
|
11027
11029
|
default: E(() => [
|
|
11028
|
-
t[34] || (t[34] =
|
|
11030
|
+
t[34] || (t[34] = F("div", null, [
|
|
11029
11031
|
Z(" Fit to "),
|
|
11030
|
-
|
|
11032
|
+
F("br"),
|
|
11031
11033
|
Z(" window ")
|
|
11032
11034
|
], -1))
|
|
11033
11035
|
]),
|
|
@@ -11047,7 +11049,7 @@ function a0(e, t, n, o, i, a) {
|
|
|
11047
11049
|
ref: "checkBoxPopover"
|
|
11048
11050
|
}, {
|
|
11049
11051
|
reference: E(() => [
|
|
11050
|
-
ie(
|
|
11052
|
+
ie(F("div", {
|
|
11051
11053
|
class: _(["pathway-location", { open: e.drawerOpen, close: !e.drawerOpen }])
|
|
11052
11054
|
}, [
|
|
11053
11055
|
ie((w(), P("div", {
|
|
@@ -11076,7 +11078,7 @@ function a0(e, t, n, o, i, a) {
|
|
|
11076
11078
|
ref: "markerPopover"
|
|
11077
11079
|
}, {
|
|
11078
11080
|
reference: E(() => [
|
|
11079
|
-
ie(
|
|
11081
|
+
ie(F("div", {
|
|
11080
11082
|
class: "flatmap-marker-help",
|
|
11081
11083
|
innerHTML: e.flatmapMarker
|
|
11082
11084
|
}, null, 8, e0), [
|
|
@@ -11140,7 +11142,7 @@ function a0(e, t, n, o, i, a) {
|
|
|
11140
11142
|
], 6)), [
|
|
11141
11143
|
[j, void 0, "checkBoxPopover"]
|
|
11142
11144
|
]),
|
|
11143
|
-
|
|
11145
|
+
F("div", {
|
|
11144
11146
|
onClick: t[20] || (t[20] = (...M) => a.toggleDrawer && a.toggleDrawer(...M)),
|
|
11145
11147
|
class: _(["drawer-button", { open: e.drawerOpen, close: !e.drawerOpen }])
|
|
11146
11148
|
}, [
|
|
@@ -11200,7 +11202,7 @@ function a0(e, t, n, o, i, a) {
|
|
|
11200
11202
|
"virtual-triggering": ""
|
|
11201
11203
|
}, {
|
|
11202
11204
|
default: E(() => [
|
|
11203
|
-
|
|
11205
|
+
F("div", null, [
|
|
11204
11206
|
x(O, { class: "backgroundText" }, {
|
|
11205
11207
|
default: E(() => t[35] || (t[35] = [
|
|
11206
11208
|
Z("Viewing Mode")
|
|
@@ -11209,10 +11211,10 @@ function a0(e, t, n, o, i, a) {
|
|
|
11209
11211
|
}),
|
|
11210
11212
|
x(O, { class: "backgroundControl" }, {
|
|
11211
11213
|
default: E(() => [
|
|
11212
|
-
|
|
11214
|
+
F("div", t0, [
|
|
11213
11215
|
(w(!0), P(fe, null, Ke(e.viewingModes, (M, W, de) => (w(), P(fe, { key: W }, [
|
|
11214
11216
|
W === e.viewingMode ? (w(), P("span", n0, [
|
|
11215
|
-
|
|
11217
|
+
F("b", null, ne(W), 1)
|
|
11216
11218
|
])) : (w(), P("span", {
|
|
11217
11219
|
key: 1,
|
|
11218
11220
|
class: "viewing-mode-unselected",
|
|
@@ -11420,7 +11422,7 @@ function a0(e, t, n, o, i, a) {
|
|
|
11420
11422
|
]),
|
|
11421
11423
|
_: 1
|
|
11422
11424
|
}, 8, ["virtual-ref"]),
|
|
11423
|
-
ie(
|
|
11425
|
+
ie(F("div", {
|
|
11424
11426
|
class: _(["settings-group", { open: e.drawerOpen, close: !e.drawerOpen }])
|
|
11425
11427
|
}, [
|
|
11426
11428
|
n.showOpenMapButton ? (w(), z(O, { key: 0 }, {
|
|
@@ -11464,7 +11466,7 @@ function a0(e, t, n, o, i, a) {
|
|
|
11464
11466
|
ref: "settingsPopover"
|
|
11465
11467
|
}, {
|
|
11466
11468
|
reference: E(() => [
|
|
11467
|
-
|
|
11469
|
+
F("div", {
|
|
11468
11470
|
ref: "backgroundIconRef",
|
|
11469
11471
|
class: "icon-button-container",
|
|
11470
11472
|
onMouseover: t[27] || (t[27] = (M) => a.showTooltip(5)),
|
|
@@ -11499,7 +11501,7 @@ function a0(e, t, n, o, i, a) {
|
|
|
11499
11501
|
[B, e.loading]
|
|
11500
11502
|
]);
|
|
11501
11503
|
}
|
|
11502
|
-
const Il = /* @__PURE__ */ Kt(qb, [["render", a0], ["__scopeId", "data-v-
|
|
11504
|
+
const Il = /* @__PURE__ */ Kt(qb, [["render", a0], ["__scopeId", "data-v-2bce9b67"]]), Ls = {
|
|
11503
11505
|
"NCBITaxon:10114": "01fedbf9-d783-509c-a10c-827941ab13da",
|
|
11504
11506
|
"NCBITaxon:9823": "a336ac04-24db-561f-a25f-1c994fe17410",
|
|
11505
11507
|
"NCBITaxon:9606": "42ed6323-f645-5fbe-bada-9581819cf689",
|
|
@@ -11602,7 +11604,7 @@ const Il = /* @__PURE__ */ Kt(qb, [["render", a0], ["__scopeId", "data-v-bc481f8
|
|
|
11602
11604
|
* Function to load `mapManager` to create flatmap.
|
|
11603
11605
|
*/
|
|
11604
11606
|
loadMapManager: function() {
|
|
11605
|
-
this.mapManagerRef || (this.mapManager ? this.mapManagerRef = this.mapManager : (this.mapManagerRef =
|
|
11607
|
+
this.mapManagerRef || (this.mapManager ? this.mapManagerRef = this.mapManager : (this.mapManagerRef = Fe(new Ks.MapViewer(this.flatmapAPI, { container: void 0 })), this.$emit("mapmanager-loaded", this.mapManagerRef)));
|
|
11606
11608
|
},
|
|
11607
11609
|
/**
|
|
11608
11610
|
* @public
|
|
@@ -12119,7 +12121,7 @@ const Il = /* @__PURE__ */ Kt(qb, [["render", a0], ["__scopeId", "data-v-bc481f8
|
|
|
12119
12121
|
activeSpecies: void 0,
|
|
12120
12122
|
speciesList: {},
|
|
12121
12123
|
requireInitialisation: !0,
|
|
12122
|
-
resolveList:
|
|
12124
|
+
resolveList: Fe([]),
|
|
12123
12125
|
initialised: !1,
|
|
12124
12126
|
mapManagerRef: void 0,
|
|
12125
12127
|
multiflatmapError: null
|
|
@@ -12150,7 +12152,7 @@ function c0(e, t, n, o, i, a) {
|
|
|
12150
12152
|
const s = na, r = Ko, l = Jn, u = Il, c = ia;
|
|
12151
12153
|
return w(), P("div", r0, [
|
|
12152
12154
|
n.disableUI ? V("", !0) : (w(), P("div", l0, [
|
|
12153
|
-
t[2] || (t[2] =
|
|
12155
|
+
t[2] || (t[2] = F("div", { class: "species-display-text" }, "Species", -1)),
|
|
12154
12156
|
x(l, {
|
|
12155
12157
|
content: "Select a species",
|
|
12156
12158
|
placement: "right",
|
|
@@ -12179,8 +12181,8 @@ function c0(e, t, n, o, i, a) {
|
|
|
12179
12181
|
value: f
|
|
12180
12182
|
}, {
|
|
12181
12183
|
default: E(() => [
|
|
12182
|
-
|
|
12183
|
-
|
|
12184
|
+
F("span", u0, [
|
|
12185
|
+
F("i", {
|
|
12184
12186
|
class: _(d.iconClass)
|
|
12185
12187
|
}, null, 2)
|
|
12186
12188
|
]),
|