@abi-software/map-side-bar 2.4.2-beta.10 → 2.4.2-beta.12
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/map-side-bar.js +436 -416
- package/dist/map-side-bar.umd.cjs +29 -27
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/components/ConnectivityInfo.vue +9 -0
- package/src/components/SideBar.vue +7 -0
package/dist/map-side-bar.js
CHANGED
|
@@ -226,7 +226,7 @@ const C8 = () => rn && /firefox/i.test(window.navigator.userAgent);
|
|
|
226
226
|
process.env.NODE_ENV !== "production" && Object.freeze({});
|
|
227
227
|
process.env.NODE_ENV !== "production" && Object.freeze([]);
|
|
228
228
|
const xa = () => {
|
|
229
|
-
}, S8 = Object.prototype.hasOwnProperty, Uy = (e, t) => S8.call(e, t), br = Array.isArray,
|
|
229
|
+
}, S8 = Object.prototype.hasOwnProperty, Uy = (e, t) => S8.call(e, t), br = Array.isArray, In = (e) => typeof e == "function", Tr = (e) => typeof e == "string", Wn = (e) => e !== null && typeof e == "object", E8 = (e) => (Wn(e) || In(e)) && In(e.then) && In(e.catch), _8 = Object.prototype.toString, O8 = (e) => _8.call(e), Ah = (e) => O8(e).slice(8, -1), ag = (e) => {
|
|
230
230
|
const t = /* @__PURE__ */ Object.create(null);
|
|
231
231
|
return (n) => t[n] || (t[n] = e(n));
|
|
232
232
|
}, T8 = /-(\w)/g, $8 = ag((e) => e.replace(T8, (t, n) => n ? n.toUpperCase() : "")), A8 = /\B([A-Z])/g, P8 = ag(
|
|
@@ -1349,7 +1349,7 @@ class tC extends Error {
|
|
|
1349
1349
|
function nC(e, t) {
|
|
1350
1350
|
throw new tC(`[${e}] ${t}`);
|
|
1351
1351
|
}
|
|
1352
|
-
function
|
|
1352
|
+
function En(e, t) {
|
|
1353
1353
|
if (process.env.NODE_ENV !== "production") {
|
|
1354
1354
|
const n = Tr(e) ? new tC(`[${e}] ${t}`) : e;
|
|
1355
1355
|
console.warn(n);
|
|
@@ -1388,7 +1388,7 @@ function al(e, t = "px") {
|
|
|
1388
1388
|
return `${e}${t}`;
|
|
1389
1389
|
if (Tr(e))
|
|
1390
1390
|
return e;
|
|
1391
|
-
|
|
1391
|
+
En(MP, "binding value must be a string or number");
|
|
1392
1392
|
}
|
|
1393
1393
|
let ud;
|
|
1394
1394
|
const zP = (e) => {
|
|
@@ -1734,7 +1734,7 @@ const lC = "__epPropKey", tt = (e) => e, fF = (e) => Wn(e) && !!e[lC], Cf = (e,
|
|
|
1734
1734
|
return e;
|
|
1735
1735
|
}, hF = (e, t) => (e.install = (n) => {
|
|
1736
1736
|
n.directive(t, e);
|
|
1737
|
-
}, e), Fo = (e) => (e.install = xa, e),
|
|
1737
|
+
}, e), Fo = (e) => (e.install = xa, e), Pn = {
|
|
1738
1738
|
tab: "Tab",
|
|
1739
1739
|
enter: "Enter",
|
|
1740
1740
|
space: "Space",
|
|
@@ -1757,10 +1757,10 @@ const E1 = (e) => [...new Set(e)], _1 = (e) => !e && e !== 0 ? [] : Array.isArra
|
|
|
1757
1757
|
return o ? _(() => {
|
|
1758
1758
|
var a;
|
|
1759
1759
|
return Sp(Object.entries((a = o.proxy) == null ? void 0 : a.$attrs).filter(([i]) => !r.value.includes(i) && !(t && mF.test(i))));
|
|
1760
|
-
}) : (
|
|
1760
|
+
}) : (En("use-attrs", "getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"), _(() => ({})));
|
|
1761
1761
|
}, Xi = ({ from: e, replacement: t, scope: n, version: r, ref: o, type: a = "API" }, i) => {
|
|
1762
1762
|
ge(() => y(i), (s) => {
|
|
1763
|
-
s &&
|
|
1763
|
+
s && En(n, `[${a}] ${e} is about to be deprecated in version ${r}, please use ${t} instead.
|
|
1764
1764
|
For more detail, please visit: ${o}
|
|
1765
1765
|
`);
|
|
1766
1766
|
}, {
|
|
@@ -2034,12 +2034,12 @@ const wF = (e) => (t, n) => xF(t, n, y(e)), xF = (e, t, n) => ma(n, e, e).replac
|
|
|
2034
2034
|
onShow: c,
|
|
2035
2035
|
onHide: d
|
|
2036
2036
|
}) => {
|
|
2037
|
-
const f = ut(), { emit: h } = f, p = f.props, v = _(() =>
|
|
2038
|
-
i.value !== !0 && (i.value = !0, s && (s.value = S),
|
|
2037
|
+
const f = ut(), { emit: h } = f, p = f.props, v = _(() => In(p[n])), m = _(() => p[e] === null), g = (S) => {
|
|
2038
|
+
i.value !== !0 && (i.value = !0, s && (s.value = S), In(c) && c(S));
|
|
2039
2039
|
}, b = (S) => {
|
|
2040
|
-
i.value !== !1 && (i.value = !1, s && (s.value = S),
|
|
2040
|
+
i.value !== !1 && (i.value = !1, s && (s.value = S), In(d) && d(S));
|
|
2041
2041
|
}, x = (S) => {
|
|
2042
|
-
if (p.disabled === !0 ||
|
|
2042
|
+
if (p.disabled === !0 || In(l) && !l())
|
|
2043
2043
|
return;
|
|
2044
2044
|
const E = v.value && rn;
|
|
2045
2045
|
E && h(t, !0), (m.value || !E) && g(S);
|
|
@@ -2710,7 +2710,7 @@ const Hv = {
|
|
|
2710
2710
|
current: 0
|
|
2711
2711
|
}, I9 = Symbol("elIdInjection"), SC = () => ut() ? $e(I9, Hv) : Hv, di = (e) => {
|
|
2712
2712
|
const t = SC();
|
|
2713
|
-
!rn && t === Hv &&
|
|
2713
|
+
!rn && t === Hv && En("IdInjection", `Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
|
|
2714
2714
|
usage: app.provide(ID_INJECTION_KEY, {
|
|
2715
2715
|
prefix: number,
|
|
2716
2716
|
current: number,
|
|
@@ -2721,7 +2721,7 @@ usage: app.provide(ID_INJECTION_KEY, {
|
|
|
2721
2721
|
let qs = [];
|
|
2722
2722
|
const B1 = (e) => {
|
|
2723
2723
|
const t = e;
|
|
2724
|
-
t.key ===
|
|
2724
|
+
t.key === Pn.esc && qs.forEach((n) => n(t));
|
|
2725
2725
|
}, N9 = (e) => {
|
|
2726
2726
|
dt(() => {
|
|
2727
2727
|
qs.length === 0 && document.addEventListener("keydown", B1), rn && qs.push(e);
|
|
@@ -2810,7 +2810,7 @@ const EC = () => {
|
|
|
2810
2810
|
const i = y(n);
|
|
2811
2811
|
return Jt(i) ? i : OC;
|
|
2812
2812
|
}), o = _(() => r.value + z1.value), a = () => (t.current++, z1.value = t.current, o.value);
|
|
2813
|
-
return !rn && !$e(V1) &&
|
|
2813
|
+
return !rn && !$e(V1) && En("ZIndexInjection", `Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
|
|
2814
2814
|
usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`), {
|
|
2815
2815
|
initialZIndex: r,
|
|
2816
2816
|
currentZIndex: o,
|
|
@@ -2868,10 +2868,10 @@ function PC(e, {
|
|
|
2868
2868
|
afterBlur: o
|
|
2869
2869
|
} = {}) {
|
|
2870
2870
|
const a = ut(), { emit: i } = a, s = sr(), u = H(!1), l = (f) => {
|
|
2871
|
-
|
|
2871
|
+
In(t) && t(f) || u.value || (u.value = !0, i("focus", f), n == null || n());
|
|
2872
2872
|
}, c = (f) => {
|
|
2873
2873
|
var h;
|
|
2874
|
-
|
|
2874
|
+
In(r) && r(f) || f.relatedTarget && ((h = s.value) != null && h.contains(f.relatedTarget)) || (u.value = !1, i("blur", f), o == null || o());
|
|
2875
2875
|
}, d = () => {
|
|
2876
2876
|
var f, h;
|
|
2877
2877
|
(f = s.value) != null && f.contains(document.activeElement) && s.value !== document.activeElement || (h = e.value) == null || h.focus();
|
|
@@ -2917,11 +2917,11 @@ const FC = Symbol("emptyValuesContextKey"), j9 = "use-empty-values", H9 = ["", v
|
|
|
2917
2917
|
valueOnClear: {
|
|
2918
2918
|
type: [String, Number, Boolean, Function],
|
|
2919
2919
|
default: void 0,
|
|
2920
|
-
validator: (e) =>
|
|
2920
|
+
validator: (e) => In(e) ? !e() : !e
|
|
2921
2921
|
}
|
|
2922
2922
|
}), NC = (e, t) => {
|
|
2923
|
-
const n = ut() ? $e(FC, H({})) : H({}), r = _(() => e.emptyValues || n.value.emptyValues || H9), o = _(() =>
|
|
2924
|
-
return r.value.includes(o.value) ||
|
|
2923
|
+
const n = ut() ? $e(FC, H({})) : H({}), r = _(() => e.emptyValues || n.value.emptyValues || H9), o = _(() => In(e.valueOnClear) ? e.valueOnClear() : e.valueOnClear !== void 0 ? e.valueOnClear : In(n.value.valueOnClear) ? n.value.valueOnClear() : n.value.valueOnClear !== void 0 ? n.value.valueOnClear : U9), a = (i) => r.value.includes(i);
|
|
2924
|
+
return r.value.includes(o.value) || En(j9, "value-on-clear should be a value of empty-values"), {
|
|
2925
2925
|
emptyValues: r,
|
|
2926
2926
|
valueOnClear: o,
|
|
2927
2927
|
isEmptyValue: a
|
|
@@ -2966,7 +2966,7 @@ const W9 = (e, t, n = !1) => {
|
|
|
2966
2966
|
var r;
|
|
2967
2967
|
const o = !!ut(), a = o ? _f() : void 0, i = (r = void 0) != null ? r : o ? ft : void 0;
|
|
2968
2968
|
if (!i) {
|
|
2969
|
-
|
|
2969
|
+
En("provideGlobalConfig", "provideGlobalConfig() can only be used inside setup().");
|
|
2970
2970
|
return;
|
|
2971
2971
|
}
|
|
2972
2972
|
const s = _(() => {
|
|
@@ -3237,7 +3237,7 @@ const nI = wt({
|
|
|
3237
3237
|
},
|
|
3238
3238
|
afterBlur() {
|
|
3239
3239
|
var V;
|
|
3240
|
-
r.validateEvent && ((V = d == null ? void 0 : d.validate) == null || V.call(d, "blur").catch((ae) =>
|
|
3240
|
+
r.validateEvent && ((V = d == null ? void 0 : d.validate) == null || V.call(d, "blur").catch((ae) => En(ae)));
|
|
3241
3241
|
}
|
|
3242
3242
|
}), A = _(() => {
|
|
3243
3243
|
var V;
|
|
@@ -3322,11 +3322,11 @@ const nI = wt({
|
|
|
3322
3322
|
};
|
|
3323
3323
|
return ge(() => r.modelValue, () => {
|
|
3324
3324
|
var V;
|
|
3325
|
-
We(() => ve()), r.validateEvent && ((V = d == null ? void 0 : d.validate) == null || V.call(d, "change").catch((ae) =>
|
|
3325
|
+
We(() => ve()), r.validateEvent && ((V = d == null ? void 0 : d.validate) == null || V.call(d, "change").catch((ae) => En(ae)));
|
|
3326
3326
|
}), ge(B, () => ie()), ge(() => r.type, async () => {
|
|
3327
3327
|
await We(), ie(), ve();
|
|
3328
3328
|
}), dt(() => {
|
|
3329
|
-
!r.formatter && r.parser &&
|
|
3329
|
+
!r.formatter && r.parser && En("ElInput", "If you set the parser, you also need to set the formatter."), ie(), We(ve);
|
|
3330
3330
|
}), t({
|
|
3331
3331
|
input: g,
|
|
3332
3332
|
textarea: b,
|
|
@@ -3758,13 +3758,13 @@ const vI = wt({
|
|
|
3758
3758
|
}
|
|
3759
3759
|
const b = (C) => {
|
|
3760
3760
|
if (!Jt(C)) {
|
|
3761
|
-
|
|
3761
|
+
En(Uv, "value must be a number");
|
|
3762
3762
|
return;
|
|
3763
3763
|
}
|
|
3764
3764
|
c.value.scrollTop = C;
|
|
3765
3765
|
}, x = (C) => {
|
|
3766
3766
|
if (!Jt(C)) {
|
|
3767
|
-
|
|
3767
|
+
En(Uv, "value must be a number");
|
|
3768
3768
|
return;
|
|
3769
3769
|
}
|
|
3770
3770
|
c.value.scrollLeft = C;
|
|
@@ -3911,9 +3911,9 @@ const Lh = "ElOnlyChild", OI = X({
|
|
|
3911
3911
|
if (!s)
|
|
3912
3912
|
return null;
|
|
3913
3913
|
if (s.length > 1)
|
|
3914
|
-
return
|
|
3914
|
+
return En(Lh, "requires exact only one valid child."), null;
|
|
3915
3915
|
const u = MC(s);
|
|
3916
|
-
return u ? ot(Q0(u, n), [[a]]) : (
|
|
3916
|
+
return u ? ot(Q0(u, n), [[a]]) : (En(Lh, "no valid child node found"), null);
|
|
3917
3917
|
};
|
|
3918
3918
|
}
|
|
3919
3919
|
});
|
|
@@ -4168,7 +4168,7 @@ const BI = () => {
|
|
|
4168
4168
|
}, s = (p) => {
|
|
4169
4169
|
if (!e.loop && !e.trapped || i.paused)
|
|
4170
4170
|
return;
|
|
4171
|
-
const { key: v, altKey: m, ctrlKey: g, metaKey: b, currentTarget: x, shiftKey: w } = p, { loop: C } = e, k = v ===
|
|
4171
|
+
const { key: v, altKey: m, ctrlKey: g, metaKey: b, currentTarget: x, shiftKey: w } = p, { loop: C } = e, k = v === Pn.tab && !m && !g && !b, S = document.activeElement;
|
|
4172
4172
|
if (k && S) {
|
|
4173
4173
|
const E = x, [O, P] = LI(E);
|
|
4174
4174
|
if (O && P) {
|
|
@@ -4614,7 +4614,7 @@ const rN = zn(CI), Vg = Symbol("elTooltip"), Cr = wt({
|
|
|
4614
4614
|
},
|
|
4615
4615
|
triggerKeys: {
|
|
4616
4616
|
type: tt(Array),
|
|
4617
|
-
default: () => [
|
|
4617
|
+
default: () => [Pn.enter, Pn.space]
|
|
4618
4618
|
}
|
|
4619
4619
|
}), {
|
|
4620
4620
|
useModelToggleProps: oN,
|
|
@@ -5876,7 +5876,7 @@ const XC = zn(ZN), YC = {
|
|
|
5876
5876
|
}
|
|
5877
5877
|
const h = _(() => (i == null ? void 0 : i.validateEvent) || e.validateEvent);
|
|
5878
5878
|
return ge(() => e.modelValue, () => {
|
|
5879
|
-
h.value && (s == null || s.validate("change").catch((p) =>
|
|
5879
|
+
h.value && (s == null || s.validate("change").catch((p) => En(p)));
|
|
5880
5880
|
}), {
|
|
5881
5881
|
handleChange: d,
|
|
5882
5882
|
onClickRoot: f
|
|
@@ -6215,7 +6215,7 @@ const sL = wt({
|
|
|
6215
6215
|
modelValue: u,
|
|
6216
6216
|
changeEvent: s
|
|
6217
6217
|
}), ge(() => n.modelValue, () => {
|
|
6218
|
-
n.validateEvent && (o == null || o.validate("change").catch((l) =>
|
|
6218
|
+
n.validateEvent && (o == null || o.validate("change").catch((l) => En(l)));
|
|
6219
6219
|
}), (l, c) => {
|
|
6220
6220
|
var d;
|
|
6221
6221
|
return F(), fe($t(l.tag), {
|
|
@@ -6463,7 +6463,7 @@ const bL = wt({
|
|
|
6463
6463
|
changeEvent: l,
|
|
6464
6464
|
name: c
|
|
6465
6465
|
})), ge(() => n.modelValue, () => {
|
|
6466
|
-
n.validateEvent && (i == null || i.validate("change").catch((d) =>
|
|
6466
|
+
n.validateEvent && (i == null || i.validate("change").catch((d) => En(d)));
|
|
6467
6467
|
}), (d, f) => (F(), j("div", {
|
|
6468
6468
|
id: y(s),
|
|
6469
6469
|
ref_key: "radioGroupRef",
|
|
@@ -6766,10 +6766,10 @@ class dl {
|
|
|
6766
6766
|
}
|
|
6767
6767
|
get isDisabled() {
|
|
6768
6768
|
const { data: t, parent: n, config: r } = this, { disabled: o, checkStrictly: a } = r;
|
|
6769
|
-
return (
|
|
6769
|
+
return (In(o) ? o(t, this) : !!t[o]) || !a && (n == null ? void 0 : n.isDisabled);
|
|
6770
6770
|
}
|
|
6771
6771
|
get isLeaf() {
|
|
6772
|
-
const { data: t, config: n, childrenData: r, loaded: o } = this, { lazy: a, leaf: i } = n, s =
|
|
6772
|
+
const { data: t, config: n, childrenData: r, loaded: o } = this, { lazy: a, leaf: i } = n, s = In(i) ? i(t, this) : t[i];
|
|
6773
6773
|
return ba(s) ? a && !o ? !1 : !(Array.isArray(r) && r.length) : !!s;
|
|
6774
6774
|
}
|
|
6775
6775
|
get valueByOption() {
|
|
@@ -6961,26 +6961,26 @@ const s5 = wt({
|
|
|
6961
6961
|
}, $ = (A) => {
|
|
6962
6962
|
const L = A.target, { code: N } = A;
|
|
6963
6963
|
switch (N) {
|
|
6964
|
-
case
|
|
6965
|
-
case
|
|
6964
|
+
case Pn.up:
|
|
6965
|
+
case Pn.down: {
|
|
6966
6966
|
A.preventDefault();
|
|
6967
|
-
const D = N ===
|
|
6967
|
+
const D = N === Pn.up ? -1 : 1;
|
|
6968
6968
|
Gd(Ck(L, D, `.${o.b("node")}[tabindex="-1"]`));
|
|
6969
6969
|
break;
|
|
6970
6970
|
}
|
|
6971
|
-
case
|
|
6971
|
+
case Pn.left: {
|
|
6972
6972
|
A.preventDefault();
|
|
6973
6973
|
const D = u.value[ob(L) - 1], I = D == null ? void 0 : D.$el.querySelector(`.${o.b("node")}[aria-expanded="true"]`);
|
|
6974
6974
|
Gd(I);
|
|
6975
6975
|
break;
|
|
6976
6976
|
}
|
|
6977
|
-
case
|
|
6977
|
+
case Pn.right: {
|
|
6978
6978
|
A.preventDefault();
|
|
6979
6979
|
const D = u.value[ob(L) + 1], I = D == null ? void 0 : D.$el.querySelector(`.${o.b("node")}[tabindex="-1"]`);
|
|
6980
6980
|
Gd(I);
|
|
6981
6981
|
break;
|
|
6982
6982
|
}
|
|
6983
|
-
case
|
|
6983
|
+
case Pn.enter:
|
|
6984
6984
|
LL(L);
|
|
6985
6985
|
break;
|
|
6986
6986
|
}
|
|
@@ -7253,7 +7253,7 @@ const pl = zn(UL), qL = wt({
|
|
|
7253
7253
|
},
|
|
7254
7254
|
set(te) {
|
|
7255
7255
|
const Ee = te ?? h.value;
|
|
7256
|
-
n(hn, Ee), n(as, Ee), r.validateEvent && (f == null || f.validate("change").catch((ye) =>
|
|
7256
|
+
n(hn, Ee), n(as, Ee), r.validateEvent && (f == null || f.validate("change").catch((ye) => En(ye)));
|
|
7257
7257
|
}
|
|
7258
7258
|
}), Y = _(() => [
|
|
7259
7259
|
u.b(),
|
|
@@ -7339,16 +7339,16 @@ const pl = zn(UL), qL = wt({
|
|
|
7339
7339
|
}, at = (te) => {
|
|
7340
7340
|
if (!p.value)
|
|
7341
7341
|
switch (te.code) {
|
|
7342
|
-
case
|
|
7342
|
+
case Pn.enter:
|
|
7343
7343
|
Ne();
|
|
7344
7344
|
break;
|
|
7345
|
-
case
|
|
7345
|
+
case Pn.down:
|
|
7346
7346
|
Ne(!0), We(Ye), te.preventDefault();
|
|
7347
7347
|
break;
|
|
7348
|
-
case
|
|
7348
|
+
case Pn.esc:
|
|
7349
7349
|
C.value === !0 && (te.preventDefault(), te.stopPropagation(), Ne(!1));
|
|
7350
7350
|
break;
|
|
7351
|
-
case
|
|
7351
|
+
case Pn.tab:
|
|
7352
7352
|
Ne(!1);
|
|
7353
7353
|
break;
|
|
7354
7354
|
}
|
|
@@ -7365,13 +7365,13 @@ const pl = zn(UL), qL = wt({
|
|
|
7365
7365
|
}, le = (te) => {
|
|
7366
7366
|
const Ee = te.target, { code: ye } = te;
|
|
7367
7367
|
switch (ye) {
|
|
7368
|
-
case
|
|
7369
|
-
case
|
|
7370
|
-
const Le = ye ===
|
|
7368
|
+
case Pn.up:
|
|
7369
|
+
case Pn.down: {
|
|
7370
|
+
const Le = ye === Pn.up ? -1 : 1;
|
|
7371
7371
|
Gd(Ck(Ee, Le, `.${u.e("suggestion-item")}[tabindex="-1"]`));
|
|
7372
7372
|
break;
|
|
7373
7373
|
}
|
|
7374
|
-
case
|
|
7374
|
+
case Pn.enter:
|
|
7375
7375
|
Ee.click();
|
|
7376
7376
|
break;
|
|
7377
7377
|
}
|
|
@@ -8547,7 +8547,7 @@ const KR = 11, WR = (e, t) => {
|
|
|
8547
8547
|
const K = de.value.filter((pe) => !pe.created).some((pe) => pe.currentLabel === i.inputValue);
|
|
8548
8548
|
return e.filterable && e.allowCreate && i.inputValue !== "" && !K;
|
|
8549
8549
|
}), Q = () => {
|
|
8550
|
-
e.filterable &&
|
|
8550
|
+
e.filterable && In(e.filterMethod) || e.filterable && e.remote && In(e.remoteMethod) || de.value.forEach((K) => {
|
|
8551
8551
|
var pe;
|
|
8552
8552
|
(pe = K.updateOption) == null || pe.call(K, i.inputValue);
|
|
8553
8553
|
});
|
|
@@ -8569,7 +8569,7 @@ const KR = 11, WR = (e, t) => {
|
|
|
8569
8569
|
return e.multiple || !M.value ? pe : i.selectedLabel;
|
|
8570
8570
|
}), Re = _(() => Iv ? null : "mouseenter");
|
|
8571
8571
|
ge(() => e.modelValue, (K, pe) => {
|
|
8572
|
-
e.multiple && e.filterable && !e.reserveKeyword && (i.inputValue = "", Ae("")), Ue(), !Go(K, pe) && e.validateEvent && (A == null || A.validate("change").catch((ze) =>
|
|
8572
|
+
e.multiple && e.filterable && !e.reserveKeyword && (i.inputValue = "", Ae("")), Ue(), !Go(K, pe) && e.validateEvent && (A == null || A.validate("change").catch((ze) => En(ze)));
|
|
8573
8573
|
}, {
|
|
8574
8574
|
flush: "post",
|
|
8575
8575
|
deep: !0
|
|
@@ -8591,7 +8591,7 @@ const KR = 11, WR = (e, t) => {
|
|
|
8591
8591
|
i.isBeforeHide || Q();
|
|
8592
8592
|
});
|
|
8593
8593
|
const Ae = (K) => {
|
|
8594
|
-
i.previousQuery === K || x.value || (i.previousQuery = K, e.filterable &&
|
|
8594
|
+
i.previousQuery === K || x.value || (i.previousQuery = K, e.filterable && In(e.filterMethod) ? e.filterMethod(K) : e.filterable && e.remote && In(e.remoteMethod) && e.remoteMethod(K), e.defaultFirstOption && (e.filterable || e.remote) && xe.value ? We(De) : We(Me));
|
|
8595
8595
|
}, De = () => {
|
|
8596
8596
|
const K = de.value.filter((et) => et.visible && !et.disabled && !et.states.groupDisabled), pe = K.find((et) => et.created), ze = K[0];
|
|
8597
8597
|
i.hoveringIndex = Ee(de.value, pe || ze);
|
|
@@ -8656,7 +8656,7 @@ const KR = 11, WR = (e, t) => {
|
|
|
8656
8656
|
}, ce.value), Oe = (K) => {
|
|
8657
8657
|
Go(e.modelValue, K) || t(as, K);
|
|
8658
8658
|
}, me = (K) => PP(K, (pe) => !i.disabledOptions.has(pe)), Pe = (K) => {
|
|
8659
|
-
if (e.multiple && K.code !==
|
|
8659
|
+
if (e.multiple && K.code !== Pn.delete && K.target.value.length <= 0) {
|
|
8660
8660
|
const pe = Za(e.modelValue).slice(), ze = me(pe);
|
|
8661
8661
|
if (ze < 0)
|
|
8662
8662
|
return;
|
|
@@ -8840,7 +8840,7 @@ var GR = X({
|
|
|
8840
8840
|
br(l) && l.forEach((c) => {
|
|
8841
8841
|
var d, f, h, p;
|
|
8842
8842
|
const v = (d = (c == null ? void 0 : c.type) || {}) == null ? void 0 : d.name;
|
|
8843
|
-
v === "ElOptionGroup" ? u(!Tr(c.children) && !br(c.children) &&
|
|
8843
|
+
v === "ElOptionGroup" ? u(!Tr(c.children) && !br(c.children) && In((f = c.children) == null ? void 0 : f.default) ? (h = c.children) == null ? void 0 : h.default() : c.children) : v === "ElOption" ? s.push((p = c.props) == null ? void 0 : p.value) : br(c.children) && u(c.children);
|
|
8844
8844
|
});
|
|
8845
8845
|
}
|
|
8846
8846
|
return i.length && u((a = i[0]) == null ? void 0 : a.children), Go(s, r) || (r = s, n && (n.states.optionValues = s)), i;
|
|
@@ -9789,7 +9789,7 @@ var bB = X({
|
|
|
9789
9789
|
}), () => {
|
|
9790
9790
|
var C, k;
|
|
9791
9791
|
if (!c.value)
|
|
9792
|
-
return
|
|
9792
|
+
return En(ib, r("el.pagination.deprecationWarning")), null;
|
|
9793
9793
|
if (!e.layout || e.hideOnSinglePage && p.value <= 1)
|
|
9794
9794
|
return null;
|
|
9795
9795
|
const S = [], E = [], O = Kt("div", { class: o.e("rightwrapper") }, E), P = {
|
|
@@ -11918,26 +11918,26 @@ function V5(e) {
|
|
|
11918
11918
|
return V5(is(e, o));
|
|
11919
11919
|
}, n;
|
|
11920
11920
|
}
|
|
11921
|
-
const
|
|
11922
|
-
|
|
11923
|
-
|
|
11924
|
-
|
|
11925
|
-
|
|
11926
|
-
|
|
11927
|
-
|
|
11928
|
-
|
|
11929
|
-
|
|
11930
|
-
|
|
11921
|
+
const Tn = V5(Fc);
|
|
11922
|
+
Tn.Axios = Zi;
|
|
11923
|
+
Tn.CanceledError = Rl;
|
|
11924
|
+
Tn.CancelToken = Zg;
|
|
11925
|
+
Tn.isCancel = I5;
|
|
11926
|
+
Tn.VERSION = z5;
|
|
11927
|
+
Tn.toFormData = Lf;
|
|
11928
|
+
Tn.AxiosError = xt;
|
|
11929
|
+
Tn.Cancel = Tn.CanceledError;
|
|
11930
|
+
Tn.all = function(t) {
|
|
11931
11931
|
return Promise.all(t);
|
|
11932
11932
|
};
|
|
11933
|
-
|
|
11934
|
-
|
|
11935
|
-
|
|
11936
|
-
|
|
11937
|
-
|
|
11938
|
-
|
|
11939
|
-
|
|
11940
|
-
|
|
11933
|
+
Tn.spread = cM;
|
|
11934
|
+
Tn.isAxiosError = dM;
|
|
11935
|
+
Tn.mergeConfig = is;
|
|
11936
|
+
Tn.AxiosHeaders = Pr;
|
|
11937
|
+
Tn.formToJSON = (e) => F5(ke.isHTMLForm(e) ? new FormData(e) : e);
|
|
11938
|
+
Tn.getAdapter = M5.getAdapter;
|
|
11939
|
+
Tn.HttpStatusCode = e0;
|
|
11940
|
+
Tn.default = Tn;
|
|
11941
11941
|
const pM = "data:image/svg+xml,%3csvg%20id='logo-sparc-wave-primary'%20data-name='logo-sparc-wave-primary'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%20400%20190.5854'%3e%3cdefs%3e%3clinearGradient%20id='linear-gradient'%20y1='96.3505'%20x2='400'%20y2='96.3505'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%230b00bf'/%3e%3cstop%20offset='1'%20stop-color='%23bc00fc'/%3e%3c/linearGradient%3e%3c/defs%3e%3ctitle%3eSPARC%20Logo%3c/title%3e%3cpath%20d='M396.6976,128.6248l-146.2735-3.38a6.5358,6.5358,0,0,0-6.1378,3.9236l-.0612.1407-13.673,31.4482L202.9416,9.5333l-.01-.0685a8.9823,8.9823,0,0,0-17.6624-.0114L163.673,125.3819,3.298,129.2886a3.38,3.38,0,0,0,.0269,6.7592L169.34,138.7635a6.5939,6.5939,0,0,0,6.5373-5.1457l.0571-.2546,17.8534-79.5649L221.26,185.1237l.0256.1243A6.7593,6.7593,0,0,0,234.092,186.52L254.9005,138.66l141.7971-3.2762a3.3805,3.3805,0,0,0,0-6.7592Z'%20style='fill:url(%23linear-gradient)'/%3e%3cpath%20d='M25.6793,0C41.3957,0,51.057,10.0926,51.057,26.0972v9.5162H36.2053V26.0972c0-7.3532-3.8945-11.8219-10.526-11.8219-6.7768,0-10.6691,4.4687-10.6691,11.8219,0,3.8945,1.2982,7.3533,5.4786,11.3908l19.754,18.601C46.5861,62.1441,52.21,68.7778,52.21,79.88c0,16.0047-9.95,26.0973-25.9543,26.0973C10.108,105.9776.1585,95.885.1585,79.88V70.362H15.01V79.88c0,7.3533,4.0375,11.822,11.2455,11.822,7.065,0,11.1025-4.4687,11.1025-11.822,0-4.4709-2.1628-8.6514-6.0551-12.2576L11.1158,48.7357C3.043,41.2372.1585,34.8939.1585,25.666.1585,10.0926,9.82,0,25.6793,0Z'%20style='fill:%230e0e19'/%3e%3cpath%20d='M99.7971,69.7856v35.1821H84.9454V1.01h25.3755c16.0047,0,26.0973,10.0926,26.0973,26.0973V43.6883c0,16.15-10.0926,26.0973-26.0973,26.0973Zm10.3808-13.9849c7.2081,0,11.3908-4.3257,11.3908-11.6789V26.6759c0-7.21-4.1827-11.6811-11.3908-11.6811H99.7971V55.8007Z'%20style='fill:%230e0e19'/%3e%3cpath%20d='M278.5812,108.147H263.73V4.1893h26.0972c16.0047,0,26.0973,10.0926,26.0973,26.0972v14.13c0,9.95-4.3257,17.7363-11.3908,22.205,4.1827,12.6889,10.0926,29.9917,13.8418,41.5254h-15.14L290.6914,70.3708h-12.11Zm11.1-51.7632c7.21,0,11.3907-4.3257,11.3907-11.5338V29.8553c0-7.21-4.18-11.6812-11.3907-11.6812h-11.1v38.21Z'%20style='fill:%230e0e19'/%3e%3cpath%20d='M399.844,73.5414V83.06c0,16.0047-9.9474,26.0973-25.9521,26.0973-16.15,0-26.0972-10.0926-26.0972-26.0973V29.2766c0-16.0046,9.9473-26.0972,26.0972-26.0972,16.0047,0,25.9521,10.0926,25.9521,26.0972v9.5161h-14.85V29.2766c0-7.3532-4.0374-11.822-11.1025-11.822-7.21,0-11.2477,4.4688-11.2477,11.822V83.06c0,7.3533,4.0375,11.822,11.2477,11.822,7.0651,0,11.1025-4.4687,11.1025-11.822V73.5414Z'%20style='fill:%230e0e19'/%3e%3c/svg%3e", fM = {
|
|
11942
11942
|
//this mixin is not used by this code base but it can be used by other
|
|
11943
11943
|
//projects to get a handle to various resources
|
|
@@ -11948,7 +11948,7 @@ const pM = "data:image/svg+xml,%3csvg%20id='logo-sparc-wave-primary'%20data-name
|
|
|
11948
11948
|
},
|
|
11949
11949
|
methods: {
|
|
11950
11950
|
async getRequest(e, t, n) {
|
|
11951
|
-
return await
|
|
11951
|
+
return await Tn({
|
|
11952
11952
|
method: "get",
|
|
11953
11953
|
url: e,
|
|
11954
11954
|
params: t,
|
|
@@ -12695,7 +12695,7 @@ const n3 = "__epPropKey", Ot = (e) => e, Iz = (e) => Ic(e) && !!e[n3], zf = (e,
|
|
|
12695
12695
|
[n3]: !0
|
|
12696
12696
|
};
|
|
12697
12697
|
return Pb(e, "default") && (s.default = o), s;
|
|
12698
|
-
},
|
|
12698
|
+
}, Rn = (e) => t0(Object.entries(e).map(([t, n]) => [
|
|
12699
12699
|
t,
|
|
12700
12700
|
zf(n, t)
|
|
12701
12701
|
])), n0 = Ot([
|
|
@@ -13685,7 +13685,7 @@ const y3 = () => {
|
|
|
13685
13685
|
id: e,
|
|
13686
13686
|
selector: t
|
|
13687
13687
|
};
|
|
13688
|
-
}, nj =
|
|
13688
|
+
}, nj = Rn({
|
|
13689
13689
|
showAfter: {
|
|
13690
13690
|
type: Number,
|
|
13691
13691
|
default: 0
|
|
@@ -13762,7 +13762,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`), {
|
|
|
13762
13762
|
const e = $e(C3, {});
|
|
13763
13763
|
return _(() => y(e.size) || "");
|
|
13764
13764
|
}, lj = Symbol("emptyValuesContextKey");
|
|
13765
|
-
|
|
13765
|
+
Rn({
|
|
13766
13766
|
emptyValues: Array,
|
|
13767
13767
|
valueOnClear: {
|
|
13768
13768
|
type: [String, Number, Boolean, Function],
|
|
@@ -13770,7 +13770,7 @@ Ln({
|
|
|
13770
13770
|
validator: (e) => wu(e) ? !e() : !e
|
|
13771
13771
|
}
|
|
13772
13772
|
});
|
|
13773
|
-
const uj =
|
|
13773
|
+
const uj = Rn({
|
|
13774
13774
|
ariaLabel: String,
|
|
13775
13775
|
ariaOrientation: {
|
|
13776
13776
|
type: String,
|
|
@@ -13835,7 +13835,7 @@ var pr = (e, t) => {
|
|
|
13835
13835
|
n[r] = o;
|
|
13836
13836
|
return n;
|
|
13837
13837
|
};
|
|
13838
|
-
const fj =
|
|
13838
|
+
const fj = Rn({
|
|
13839
13839
|
size: {
|
|
13840
13840
|
type: Ot([Number, String])
|
|
13841
13841
|
},
|
|
@@ -13886,7 +13886,7 @@ const n2 = Ss(gj), bm = Symbol("formContextKey"), Dp = Symbol("formItemContextKe
|
|
|
13886
13886
|
"navigation",
|
|
13887
13887
|
"tooltip",
|
|
13888
13888
|
"tree"
|
|
13889
|
-
], T3 =
|
|
13889
|
+
], T3 = Rn({
|
|
13890
13890
|
role: {
|
|
13891
13891
|
type: String,
|
|
13892
13892
|
values: bj,
|
|
@@ -13910,7 +13910,7 @@ const n2 = Ss(gj), bm = Symbol("formContextKey"), Dp = Symbol("formItemContextKe
|
|
|
13910
13910
|
}
|
|
13911
13911
|
});
|
|
13912
13912
|
var kj = /* @__PURE__ */ pr(xj, [["__file", "popper.vue"]]);
|
|
13913
|
-
const $3 =
|
|
13913
|
+
const $3 = Rn({
|
|
13914
13914
|
arrowOffset: {
|
|
13915
13915
|
type: Number,
|
|
13916
13916
|
default: 5
|
|
@@ -13986,7 +13986,7 @@ function r2(e) {
|
|
|
13986
13986
|
class: t.e("content")
|
|
13987
13987
|
}, [e]);
|
|
13988
13988
|
}
|
|
13989
|
-
const P3 =
|
|
13989
|
+
const P3 = Rn({
|
|
13990
13990
|
virtualRef: {
|
|
13991
13991
|
type: Ot(Object)
|
|
13992
13992
|
},
|
|
@@ -14310,7 +14310,7 @@ function Vj(e, t, n, r, o, a) {
|
|
|
14310
14310
|
return he(e.$slots, "default", { handleKeydown: e.onKeydown });
|
|
14311
14311
|
}
|
|
14312
14312
|
var jj = /* @__PURE__ */ pr(zj, [["render", Vj], ["__file", "focus-trap.vue"]]);
|
|
14313
|
-
const Hj = ["fixed", "absolute"], Uj =
|
|
14313
|
+
const Hj = ["fixed", "absolute"], Uj = Rn({
|
|
14314
14314
|
boundariesPadding: {
|
|
14315
14315
|
type: Number,
|
|
14316
14316
|
default: 0
|
|
@@ -14341,7 +14341,7 @@ const Hj = ["fixed", "absolute"], Uj = Ln({
|
|
|
14341
14341
|
values: Hj,
|
|
14342
14342
|
default: "absolute"
|
|
14343
14343
|
}
|
|
14344
|
-
}), I3 =
|
|
14344
|
+
}), I3 = Rn({
|
|
14345
14345
|
...Uj,
|
|
14346
14346
|
id: String,
|
|
14347
14347
|
style: {
|
|
@@ -14624,7 +14624,7 @@ const Yj = 0, Zj = (e) => {
|
|
|
14624
14624
|
}
|
|
14625
14625
|
});
|
|
14626
14626
|
var nH = /* @__PURE__ */ pr(tH, [["__file", "content.vue"]]);
|
|
14627
|
-
const rH = Ss(kj), Cm = Symbol("elTooltip"), Yr =
|
|
14627
|
+
const rH = Ss(kj), Cm = Symbol("elTooltip"), Yr = Rn({
|
|
14628
14628
|
...nj,
|
|
14629
14629
|
...I3,
|
|
14630
14630
|
appendTo: {
|
|
@@ -14647,7 +14647,7 @@ const rH = Ss(kj), Cm = Symbol("elTooltip"), Yr = Ln({
|
|
|
14647
14647
|
},
|
|
14648
14648
|
disabled: Boolean,
|
|
14649
14649
|
...S3(["ariaLabel"])
|
|
14650
|
-
}), ec =
|
|
14650
|
+
}), ec = Rn({
|
|
14651
14651
|
...P3,
|
|
14652
14652
|
disabled: Boolean,
|
|
14653
14653
|
trigger: {
|
|
@@ -14662,7 +14662,7 @@ const rH = Ss(kj), Cm = Symbol("elTooltip"), Yr = Ln({
|
|
|
14662
14662
|
useModelToggleProps: oH,
|
|
14663
14663
|
useModelToggleEmits: aH,
|
|
14664
14664
|
useModelToggle: iH
|
|
14665
|
-
} = Kz("visible"), sH =
|
|
14665
|
+
} = Kz("visible"), sH = Rn({
|
|
14666
14666
|
...T3,
|
|
14667
14667
|
...oH,
|
|
14668
14668
|
...Yr,
|
|
@@ -14723,7 +14723,7 @@ const rH = Ss(kj), Cm = Symbol("elTooltip"), Yr = Ln({
|
|
|
14723
14723
|
}
|
|
14724
14724
|
});
|
|
14725
14725
|
var pH = /* @__PURE__ */ pr(dH, [["__file", "trigger.vue"]]);
|
|
14726
|
-
const fH =
|
|
14726
|
+
const fH = Rn({
|
|
14727
14727
|
to: {
|
|
14728
14728
|
type: Ot([String, Object]),
|
|
14729
14729
|
required: !0
|
|
@@ -15046,7 +15046,7 @@ const CH = Ss(kH), N3 = Symbol("buttonGroupContextKey"), SH = (e, t) => {
|
|
|
15046
15046
|
"danger",
|
|
15047
15047
|
"text",
|
|
15048
15048
|
""
|
|
15049
|
-
], _H = ["button", "submit", "reset"], a0 =
|
|
15049
|
+
], _H = ["button", "submit", "reset"], a0 = Rn({
|
|
15050
15050
|
size: ij,
|
|
15051
15051
|
disabled: Boolean,
|
|
15052
15052
|
type: {
|
|
@@ -15730,7 +15730,7 @@ const GH = Ss(UH, {
|
|
|
15730
15730
|
ButtonGroup: R3
|
|
15731
15731
|
});
|
|
15732
15732
|
Lz(R3);
|
|
15733
|
-
const XH =
|
|
15733
|
+
const XH = Rn({
|
|
15734
15734
|
header: {
|
|
15735
15735
|
type: String,
|
|
15736
15736
|
default: ""
|
|
@@ -15843,7 +15843,7 @@ const iU = "data-el-collection-item", sU = (e) => {
|
|
|
15843
15843
|
ElCollection: a,
|
|
15844
15844
|
ElCollectionItem: i
|
|
15845
15845
|
};
|
|
15846
|
-
}, ev =
|
|
15846
|
+
}, ev = Rn({
|
|
15847
15847
|
trigger: ec.trigger,
|
|
15848
15848
|
effect: {
|
|
15849
15849
|
...Yr.effect,
|
|
@@ -15904,7 +15904,7 @@ const iU = "data-el-collection-item", sU = (e) => {
|
|
|
15904
15904
|
},
|
|
15905
15905
|
teleported: Yr.teleported
|
|
15906
15906
|
});
|
|
15907
|
-
|
|
15907
|
+
Rn({
|
|
15908
15908
|
command: {
|
|
15909
15909
|
type: [Object, String, Number],
|
|
15910
15910
|
default: () => ({})
|
|
@@ -15916,11 +15916,11 @@ Ln({
|
|
|
15916
15916
|
type: n0
|
|
15917
15917
|
}
|
|
15918
15918
|
});
|
|
15919
|
-
|
|
15919
|
+
Rn({
|
|
15920
15920
|
onKeydown: { type: Ot(Function) }
|
|
15921
15921
|
});
|
|
15922
15922
|
sU("Dropdown");
|
|
15923
|
-
const lU =
|
|
15923
|
+
const lU = Rn({
|
|
15924
15924
|
trigger: ec.trigger,
|
|
15925
15925
|
placement: ev.placement,
|
|
15926
15926
|
disabled: ec.disabled,
|
|
@@ -17931,31 +17931,31 @@ function sS(e) {
|
|
|
17931
17931
|
return sS(us(e, r));
|
|
17932
17932
|
}, n;
|
|
17933
17933
|
}
|
|
17934
|
-
const
|
|
17935
|
-
|
|
17936
|
-
|
|
17937
|
-
|
|
17938
|
-
|
|
17939
|
-
|
|
17940
|
-
|
|
17941
|
-
|
|
17942
|
-
|
|
17943
|
-
|
|
17934
|
+
const $n = sS(Dc);
|
|
17935
|
+
$n.Axios = Qi;
|
|
17936
|
+
$n.CanceledError = zl;
|
|
17937
|
+
$n.CancelToken = Zq;
|
|
17938
|
+
$n.isCancel = J3;
|
|
17939
|
+
$n.VERSION = aS;
|
|
17940
|
+
$n.toFormData = Kf;
|
|
17941
|
+
$n.AxiosError = kt;
|
|
17942
|
+
$n.Cancel = $n.CanceledError;
|
|
17943
|
+
$n.all = function(e) {
|
|
17944
17944
|
return Promise.all(e);
|
|
17945
17945
|
};
|
|
17946
|
-
|
|
17947
|
-
|
|
17948
|
-
|
|
17949
|
-
|
|
17950
|
-
|
|
17951
|
-
|
|
17952
|
-
|
|
17953
|
-
|
|
17946
|
+
$n.spread = Jq;
|
|
17947
|
+
$n.isAxiosError = Qq;
|
|
17948
|
+
$n.mergeConfig = us;
|
|
17949
|
+
$n.AxiosHeaders = Lr;
|
|
17950
|
+
$n.formToJSON = (e) => Z3(we.isHTMLForm(e) ? new FormData(e) : e);
|
|
17951
|
+
$n.getAdapter = oS.getAdapter;
|
|
17952
|
+
$n.HttpStatusCode = f0;
|
|
17953
|
+
$n.default = $n;
|
|
17954
17954
|
const eK = "data:image/svg+xml,%3csvg%20id='logo-sparc-wave-primary'%20data-name='logo-sparc-wave-primary'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%20400%20190.5854'%3e%3cdefs%3e%3clinearGradient%20id='linear-gradient'%20y1='96.3505'%20x2='400'%20y2='96.3505'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%230b00bf'/%3e%3cstop%20offset='1'%20stop-color='%23bc00fc'/%3e%3c/linearGradient%3e%3c/defs%3e%3ctitle%3eSPARC%20Logo%3c/title%3e%3cpath%20d='M396.6976,128.6248l-146.2735-3.38a6.5358,6.5358,0,0,0-6.1378,3.9236l-.0612.1407-13.673,31.4482L202.9416,9.5333l-.01-.0685a8.9823,8.9823,0,0,0-17.6624-.0114L163.673,125.3819,3.298,129.2886a3.38,3.38,0,0,0,.0269,6.7592L169.34,138.7635a6.5939,6.5939,0,0,0,6.5373-5.1457l.0571-.2546,17.8534-79.5649L221.26,185.1237l.0256.1243A6.7593,6.7593,0,0,0,234.092,186.52L254.9005,138.66l141.7971-3.2762a3.3805,3.3805,0,0,0,0-6.7592Z'%20style='fill:url(%23linear-gradient)'/%3e%3cpath%20d='M25.6793,0C41.3957,0,51.057,10.0926,51.057,26.0972v9.5162H36.2053V26.0972c0-7.3532-3.8945-11.8219-10.526-11.8219-6.7768,0-10.6691,4.4687-10.6691,11.8219,0,3.8945,1.2982,7.3533,5.4786,11.3908l19.754,18.601C46.5861,62.1441,52.21,68.7778,52.21,79.88c0,16.0047-9.95,26.0973-25.9543,26.0973C10.108,105.9776.1585,95.885.1585,79.88V70.362H15.01V79.88c0,7.3533,4.0375,11.822,11.2455,11.822,7.065,0,11.1025-4.4687,11.1025-11.822,0-4.4709-2.1628-8.6514-6.0551-12.2576L11.1158,48.7357C3.043,41.2372.1585,34.8939.1585,25.666.1585,10.0926,9.82,0,25.6793,0Z'%20style='fill:%230e0e19'/%3e%3cpath%20d='M99.7971,69.7856v35.1821H84.9454V1.01h25.3755c16.0047,0,26.0973,10.0926,26.0973,26.0973V43.6883c0,16.15-10.0926,26.0973-26.0973,26.0973Zm10.3808-13.9849c7.2081,0,11.3908-4.3257,11.3908-11.6789V26.6759c0-7.21-4.1827-11.6811-11.3908-11.6811H99.7971V55.8007Z'%20style='fill:%230e0e19'/%3e%3cpath%20d='M278.5812,108.147H263.73V4.1893h26.0972c16.0047,0,26.0973,10.0926,26.0973,26.0972v14.13c0,9.95-4.3257,17.7363-11.3908,22.205,4.1827,12.6889,10.0926,29.9917,13.8418,41.5254h-15.14L290.6914,70.3708h-12.11Zm11.1-51.7632c7.21,0,11.3907-4.3257,11.3907-11.5338V29.8553c0-7.21-4.18-11.6812-11.3907-11.6812h-11.1v38.21Z'%20style='fill:%230e0e19'/%3e%3cpath%20d='M399.844,73.5414V83.06c0,16.0047-9.9474,26.0973-25.9521,26.0973-16.15,0-26.0972-10.0926-26.0972-26.0973V29.2766c0-16.0046,9.9473-26.0972,26.0972-26.0972,16.0047,0,25.9521,10.0926,25.9521,26.0972v9.5161h-14.85V29.2766c0-7.3532-4.0374-11.822-11.1025-11.822-7.21,0-11.2477,4.4688-11.2477,11.822V83.06c0,7.3533,4.0375,11.822,11.2477,11.822,7.0651,0,11.1025-4.4687,11.1025-11.822V73.5414Z'%20style='fill:%230e0e19'/%3e%3c/svg%3e";
|
|
17955
17955
|
function tK() {
|
|
17956
17956
|
const e = eK;
|
|
17957
17957
|
async function t(n, r, o) {
|
|
17958
|
-
return await
|
|
17958
|
+
return await $n({
|
|
17959
17959
|
method: "get",
|
|
17960
17960
|
url: n,
|
|
17961
17961
|
params: r,
|
|
@@ -18760,7 +18760,7 @@ function _K(e) {
|
|
|
18760
18760
|
});
|
|
18761
18761
|
} };
|
|
18762
18762
|
}
|
|
18763
|
-
const
|
|
18763
|
+
const Sn = new _K(), Vp = {
|
|
18764
18764
|
"homo sapiens": "Human",
|
|
18765
18765
|
"rattus norvegicus": "Rat",
|
|
18766
18766
|
"mus musculus": "Mouse",
|
|
@@ -18775,8 +18775,8 @@ const va = (e, t, { checkForDefaultPrevented: n = !0 } = {}) => (r) => {
|
|
|
18775
18775
|
return t == null ? void 0 : t(r);
|
|
18776
18776
|
};
|
|
18777
18777
|
var I2;
|
|
18778
|
-
const
|
|
18779
|
-
}, h0 =
|
|
18778
|
+
const _n = typeof window < "u", $K = (e) => typeof e == "string", uS = () => {
|
|
18779
|
+
}, h0 = _n && ((I2 = window == null ? void 0 : window.navigator) == null ? void 0 : I2.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
18780
18780
|
function cS(e) {
|
|
18781
18781
|
return typeof e == "function" ? e() : y(e);
|
|
18782
18782
|
}
|
|
@@ -18794,7 +18794,7 @@ function wa(e) {
|
|
|
18794
18794
|
const n = cS(e);
|
|
18795
18795
|
return (t = n == null ? void 0 : n.$el) != null ? t : n;
|
|
18796
18796
|
}
|
|
18797
|
-
const Yf =
|
|
18797
|
+
const Yf = _n ? window : void 0;
|
|
18798
18798
|
function Jr(...e) {
|
|
18799
18799
|
let t, n, r, o;
|
|
18800
18800
|
if ($K(e[0]) || Array.isArray(e[0]) ? ([n, r, o] = e, t = Yf) : [t, n, r, o] = e, !t)
|
|
@@ -18941,7 +18941,7 @@ const UK = {
|
|
|
18941
18941
|
HK({
|
|
18942
18942
|
linear: AK
|
|
18943
18943
|
}, UK);
|
|
18944
|
-
const qK = () =>
|
|
18944
|
+
const qK = () => _n && /firefox/i.test(window.navigator.userAgent), Tm = (e) => {
|
|
18945
18945
|
let t, n;
|
|
18946
18946
|
return e.type === "touchend" ? (n = e.changedTouches[0].clientY, t = e.changedTouches[0].clientX) : e.type.startsWith("touch") ? (n = e.touches[0].clientY, t = e.touches[0].clientX) : (n = e.clientY, t = e.clientX), {
|
|
18947
18947
|
clientX: t,
|
|
@@ -19879,7 +19879,7 @@ class AS extends Error {
|
|
|
19879
19879
|
function qY(e, t) {
|
|
19880
19880
|
throw new AS(`[${e}] ${t}`);
|
|
19881
19881
|
}
|
|
19882
|
-
function
|
|
19882
|
+
function On(e, t) {
|
|
19883
19883
|
if (process.env.NODE_ENV !== "production") {
|
|
19884
19884
|
const n = lr(e) ? new AS(`[${e}] ${t}`) : e;
|
|
19885
19885
|
console.warn(n);
|
|
@@ -19891,7 +19891,7 @@ const KY = "utils/dom/style", PS = (e = "") => e.split(" ").filter((t) => !!t.tr
|
|
|
19891
19891
|
!e || !t.trim() || e.classList.remove(...PS(t));
|
|
19892
19892
|
}, pu = (e, t) => {
|
|
19893
19893
|
var n;
|
|
19894
|
-
if (!
|
|
19894
|
+
if (!_n || !e || !t)
|
|
19895
19895
|
return "";
|
|
19896
19896
|
let r = YK(t);
|
|
19897
19897
|
r === "float" && (r = "cssFloat");
|
|
@@ -19912,10 +19912,10 @@ function wl(e, t = "px") {
|
|
|
19912
19912
|
return `${e}${t}`;
|
|
19913
19913
|
if (lr(e))
|
|
19914
19914
|
return e;
|
|
19915
|
-
|
|
19915
|
+
On(KY, "binding value must be a string or number");
|
|
19916
19916
|
}
|
|
19917
19917
|
function WY(e, t) {
|
|
19918
|
-
if (!
|
|
19918
|
+
if (!_n)
|
|
19919
19919
|
return;
|
|
19920
19920
|
if (!t) {
|
|
19921
19921
|
e.scrollTop = 0;
|
|
@@ -20164,7 +20164,7 @@ const IS = "__epPropKey", it = (e) => e, hZ = (e) => Gn(e) && !!e[IS], nh = (e,
|
|
|
20164
20164
|
return e;
|
|
20165
20165
|
}, vZ = (e, t) => (e.install = (n) => {
|
|
20166
20166
|
n.directive(t, e);
|
|
20167
|
-
}, e), Na = (e) => (e.install = nc, e),
|
|
20167
|
+
}, e), Na = (e) => (e.install = nc, e), Fn = {
|
|
20168
20168
|
tab: "Tab",
|
|
20169
20169
|
enter: "Enter",
|
|
20170
20170
|
space: "Space",
|
|
@@ -20185,10 +20185,10 @@ const IS = "__epPropKey", it = (e) => e, hZ = (e) => Gn(e) && !!e[IS], nh = (e,
|
|
|
20185
20185
|
return o ? _(() => {
|
|
20186
20186
|
var a;
|
|
20187
20187
|
return Up(Object.entries((a = o.proxy) == null ? void 0 : a.$attrs).filter(([i]) => !r.value.includes(i) && !(t && yZ.test(i))));
|
|
20188
|
-
}) : (
|
|
20188
|
+
}) : (On("use-attrs", "getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"), _(() => ({})));
|
|
20189
20189
|
}, ip = ({ from: e, replacement: t, scope: n, version: r, ref: o, type: a = "API" }, i) => {
|
|
20190
20190
|
ge(() => y(i), (s) => {
|
|
20191
|
-
s &&
|
|
20191
|
+
s && On(n, `[${a}] ${e} is about to be deprecated in version ${r}, please use ${t} instead.
|
|
20192
20192
|
For more detail, please visit: ${o}
|
|
20193
20193
|
`);
|
|
20194
20194
|
}, {
|
|
@@ -20449,12 +20449,12 @@ const xZ = (e) => (t, n) => kZ(t, n, y(e)), kZ = (e, t, n) => ya(n, e, e).replac
|
|
|
20449
20449
|
}, b = (k) => {
|
|
20450
20450
|
if (h.disabled === !0 || wr(u) && !u())
|
|
20451
20451
|
return;
|
|
20452
|
-
const S = p.value &&
|
|
20452
|
+
const S = p.value && _n;
|
|
20453
20453
|
S && f(t, !0), (v.value || !S) && m(k);
|
|
20454
20454
|
}, x = (k) => {
|
|
20455
|
-
if (h.disabled === !0 || !
|
|
20455
|
+
if (h.disabled === !0 || !_n)
|
|
20456
20456
|
return;
|
|
20457
|
-
const S = p.value &&
|
|
20457
|
+
const S = p.value && _n;
|
|
20458
20458
|
S && f(t, !1), (v.value || !S) && g(k);
|
|
20459
20459
|
}, w = (k) => {
|
|
20460
20460
|
bl(k) && (h.disabled && k ? p.value && f(t, !1) : a.value !== k && (k ? m() : g()));
|
|
@@ -21106,7 +21106,7 @@ const C0 = {
|
|
|
21106
21106
|
current: 0
|
|
21107
21107
|
}, FJ = Symbol("elIdInjection"), YS = () => ut() ? $e(FJ, C0) : C0, ah = (e) => {
|
|
21108
21108
|
const t = YS();
|
|
21109
|
-
!
|
|
21109
|
+
!_n && t === C0 && On("IdInjection", `Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
|
|
21110
21110
|
usage: app.provide(ID_INJECTION_KEY, {
|
|
21111
21111
|
prefix: number,
|
|
21112
21112
|
current: number,
|
|
@@ -21117,12 +21117,12 @@ usage: app.provide(ID_INJECTION_KEY, {
|
|
|
21117
21117
|
let Gs = [];
|
|
21118
21118
|
const Sw = (e) => {
|
|
21119
21119
|
const t = e;
|
|
21120
|
-
t.key ===
|
|
21120
|
+
t.key === Fn.esc && Gs.forEach((n) => n(t));
|
|
21121
21121
|
}, IJ = (e) => {
|
|
21122
21122
|
dt(() => {
|
|
21123
|
-
Gs.length === 0 && document.addEventListener("keydown", Sw),
|
|
21123
|
+
Gs.length === 0 && document.addEventListener("keydown", Sw), _n && Gs.push(e);
|
|
21124
21124
|
}), Lt(() => {
|
|
21125
|
-
Gs = Gs.filter((t) => t !== e), Gs.length === 0 &&
|
|
21125
|
+
Gs = Gs.filter((t) => t !== e), Gs.length === 0 && _n && document.removeEventListener("keydown", Sw);
|
|
21126
21126
|
});
|
|
21127
21127
|
};
|
|
21128
21128
|
let Ew;
|
|
@@ -21138,7 +21138,7 @@ const ZS = () => {
|
|
|
21138
21138
|
}, LJ = () => {
|
|
21139
21139
|
const { id: e, selector: t } = ZS();
|
|
21140
21140
|
return Z0(() => {
|
|
21141
|
-
|
|
21141
|
+
_n && (process.env.NODE_ENV === "test" || !Ew || !document.body.querySelector(t.value)) && (Ew = NJ(e.value));
|
|
21142
21142
|
}), {
|
|
21143
21143
|
id: e,
|
|
21144
21144
|
selector: t
|
|
@@ -21206,7 +21206,7 @@ const ZS = () => {
|
|
|
21206
21206
|
const i = y(n);
|
|
21207
21207
|
return Xn(i) ? i : QS;
|
|
21208
21208
|
}), o = _(() => r.value + Ow.value), a = () => (t.current++, Ow.value = t.current, o.value);
|
|
21209
|
-
return !
|
|
21209
|
+
return !_n && !$e(Tw) && On("ZIndexInjection", `Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
|
|
21210
21210
|
usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`), {
|
|
21211
21211
|
initialZIndex: r,
|
|
21212
21212
|
currentZIndex: o,
|
|
@@ -21317,7 +21317,7 @@ const oE = Symbol("emptyValuesContextKey"), jJ = "use-empty-values", HJ = ["", v
|
|
|
21317
21317
|
}
|
|
21318
21318
|
}), KJ = (e, t) => {
|
|
21319
21319
|
const n = ut() ? $e(oE, H({})) : H({}), r = _(() => e.emptyValues || n.value.emptyValues || HJ), o = _(() => wr(e.valueOnClear) ? e.valueOnClear() : e.valueOnClear !== void 0 ? e.valueOnClear : wr(n.value.valueOnClear) ? n.value.valueOnClear() : n.value.valueOnClear !== void 0 ? n.value.valueOnClear : UJ), a = (i) => r.value.includes(i);
|
|
21320
|
-
return r.value.includes(o.value) ||
|
|
21320
|
+
return r.value.includes(o.value) || On(jJ, "value-on-clear should be a value of empty-values"), {
|
|
21321
21321
|
emptyValues: r,
|
|
21322
21322
|
valueOnClear: o,
|
|
21323
21323
|
isEmptyValue: a
|
|
@@ -21362,7 +21362,7 @@ const XJ = (e, t, n = !1) => {
|
|
|
21362
21362
|
var r;
|
|
21363
21363
|
const o = !!ut(), a = o ? Xm() : void 0, i = (r = void 0) != null ? r : o ? ft : void 0;
|
|
21364
21364
|
if (!i) {
|
|
21365
|
-
|
|
21365
|
+
On("provideGlobalConfig", "provideGlobalConfig() can only be used inside setup().");
|
|
21366
21366
|
return;
|
|
21367
21367
|
}
|
|
21368
21368
|
const s = _(() => {
|
|
@@ -21633,7 +21633,7 @@ const oQ = Dt({
|
|
|
21633
21633
|
},
|
|
21634
21634
|
afterBlur() {
|
|
21635
21635
|
var T;
|
|
21636
|
-
r.validateEvent && ((T = d == null ? void 0 : d.validate) == null || T.call(d, "blur").catch((V) =>
|
|
21636
|
+
r.validateEvent && ((T = d == null ? void 0 : d.validate) == null || T.call(d, "blur").catch((V) => On(V)));
|
|
21637
21637
|
}
|
|
21638
21638
|
}), A = _(() => {
|
|
21639
21639
|
var T;
|
|
@@ -21655,7 +21655,7 @@ const oQ = Dt({
|
|
|
21655
21655
|
});
|
|
21656
21656
|
const ve = () => {
|
|
21657
21657
|
const { type: T, autosize: V } = r;
|
|
21658
|
-
if (!(!
|
|
21658
|
+
if (!(!_n || T !== "textarea" || !b.value))
|
|
21659
21659
|
if (V) {
|
|
21660
21660
|
const ae = Gn(V) ? V.minRows : void 0, le = Gn(V) ? V.maxRows : void 0, ue = $w(b.value, ae, le);
|
|
21661
21661
|
k.value = {
|
|
@@ -21716,11 +21716,11 @@ const oQ = Dt({
|
|
|
21716
21716
|
};
|
|
21717
21717
|
return ge(() => r.modelValue, () => {
|
|
21718
21718
|
var T;
|
|
21719
|
-
We(() => ve()), r.validateEvent && ((T = d == null ? void 0 : d.validate) == null || T.call(d, "change").catch((V) =>
|
|
21719
|
+
We(() => ve()), r.validateEvent && ((T = d == null ? void 0 : d.validate) == null || T.call(d, "change").catch((V) => On(V)));
|
|
21720
21720
|
}), ge(B, () => Q()), ge(() => r.type, async () => {
|
|
21721
21721
|
await We(), Q(), ve();
|
|
21722
21722
|
}), dt(() => {
|
|
21723
|
-
!r.formatter && r.parser &&
|
|
21723
|
+
!r.formatter && r.parser && On("ElInput", "If you set the parser, you also need to set the formatter."), Q(), We(ve);
|
|
21724
21724
|
}), t({
|
|
21725
21725
|
input: g,
|
|
21726
21726
|
textarea: b,
|
|
@@ -21960,7 +21960,7 @@ const uQ = Vn(lQ), Rs = 4, cQ = {
|
|
|
21960
21960
|
const t = e, n = $e(Zm), r = bt("scrollbar");
|
|
21961
21961
|
n || qY(fQ, "can not inject scrollbar context");
|
|
21962
21962
|
const o = H(), a = H(), i = H({}), s = H(!1);
|
|
21963
|
-
let u = !1, l = !1, c =
|
|
21963
|
+
let u = !1, l = !1, c = _n ? document.onselectstart : null;
|
|
21964
21964
|
const d = _(() => cQ[t.vertical ? "vertical" : "horizontal"]), f = _(() => dQ({
|
|
21965
21965
|
size: t.size,
|
|
21966
21966
|
move: t.move,
|
|
@@ -22152,13 +22152,13 @@ const yQ = Dt({
|
|
|
22152
22152
|
}
|
|
22153
22153
|
const b = (C) => {
|
|
22154
22154
|
if (!Xn(C)) {
|
|
22155
|
-
|
|
22155
|
+
On(S0, "value must be a number");
|
|
22156
22156
|
return;
|
|
22157
22157
|
}
|
|
22158
22158
|
c.value.scrollTop = C;
|
|
22159
22159
|
}, x = (C) => {
|
|
22160
22160
|
if (!Xn(C)) {
|
|
22161
|
-
|
|
22161
|
+
On(S0, "value must be a number");
|
|
22162
22162
|
return;
|
|
22163
22163
|
}
|
|
22164
22164
|
c.value.scrollLeft = C;
|
|
@@ -22305,9 +22305,9 @@ const cv = "ElOnlyChild", PQ = X({
|
|
|
22305
22305
|
if (!s)
|
|
22306
22306
|
return null;
|
|
22307
22307
|
if (s.length > 1)
|
|
22308
|
-
return
|
|
22308
|
+
return On(cv, "requires exact only one valid child."), null;
|
|
22309
22309
|
const u = uE(s);
|
|
22310
|
-
return u ? ot(Q0(u, n), [[a]]) : (
|
|
22310
|
+
return u ? ot(Q0(u, n), [[a]]) : (On(cv, "no valid child node found"), null);
|
|
22311
22311
|
};
|
|
22312
22312
|
}
|
|
22313
22313
|
});
|
|
@@ -22562,7 +22562,7 @@ const VQ = () => {
|
|
|
22562
22562
|
}, s = (p) => {
|
|
22563
22563
|
if (!e.loop && !e.trapped || i.paused)
|
|
22564
22564
|
return;
|
|
22565
|
-
const { key: v, altKey: m, ctrlKey: g, metaKey: b, currentTarget: x, shiftKey: w } = p, { loop: C } = e, k = v ===
|
|
22565
|
+
const { key: v, altKey: m, ctrlKey: g, metaKey: b, currentTarget: x, shiftKey: w } = p, { loop: C } = e, k = v === Fn.tab && !m && !g && !b, S = document.activeElement;
|
|
22566
22566
|
if (k && S) {
|
|
22567
22567
|
const E = x, [O, P] = MQ(E);
|
|
22568
22568
|
if (O && P) {
|
|
@@ -22754,7 +22754,7 @@ const GQ = ["fixed", "absolute"], XQ = Dt({
|
|
|
22754
22754
|
};
|
|
22755
22755
|
return eee(a, o == null ? void 0 : o.modifiers), a;
|
|
22756
22756
|
}, JQ = (e) => {
|
|
22757
|
-
if (
|
|
22757
|
+
if (_n)
|
|
22758
22758
|
return wa(e);
|
|
22759
22759
|
};
|
|
22760
22760
|
function QQ(e) {
|
|
@@ -23008,7 +23008,7 @@ const lee = Vn(OQ), ty = Symbol("elTooltip"), Sr = Dt({
|
|
|
23008
23008
|
},
|
|
23009
23009
|
triggerKeys: {
|
|
23010
23010
|
type: it(Array),
|
|
23011
|
-
default: () => [
|
|
23011
|
+
default: () => [Fn.enter, Fn.space]
|
|
23012
23012
|
}
|
|
23013
23013
|
}), {
|
|
23014
23014
|
useModelToggleProps: uee,
|
|
@@ -24083,7 +24083,7 @@ const Xp = Vn(Gee, {
|
|
|
24083
24083
|
});
|
|
24084
24084
|
Na(vE);
|
|
24085
24085
|
const Xa = /* @__PURE__ */ new Map();
|
|
24086
|
-
if (
|
|
24086
|
+
if (_n) {
|
|
24087
24087
|
let e;
|
|
24088
24088
|
document.addEventListener("mousedown", (t) => e = t), document.addEventListener("mouseup", (t) => {
|
|
24089
24089
|
if (e) {
|
|
@@ -24265,7 +24265,7 @@ const mE = {
|
|
|
24265
24265
|
}
|
|
24266
24266
|
const h = _(() => (i == null ? void 0 : i.validateEvent) || e.validateEvent);
|
|
24267
24267
|
return ge(() => e.modelValue, () => {
|
|
24268
|
-
h.value && (s == null || s.validate("change").catch((p) =>
|
|
24268
|
+
h.value && (s == null || s.validate("change").catch((p) => On(p)));
|
|
24269
24269
|
}), {
|
|
24270
24270
|
handleChange: d,
|
|
24271
24271
|
onClickRoot: f
|
|
@@ -24604,7 +24604,7 @@ const dte = Dt({
|
|
|
24604
24604
|
modelValue: u,
|
|
24605
24605
|
changeEvent: s
|
|
24606
24606
|
}), ge(() => n.modelValue, () => {
|
|
24607
|
-
n.validateEvent && (o == null || o.validate("change").catch((l) =>
|
|
24607
|
+
n.validateEvent && (o == null || o.validate("change").catch((l) => On(l)));
|
|
24608
24608
|
}), (l, c) => {
|
|
24609
24609
|
var d;
|
|
24610
24610
|
return F(), fe($t(l.tag), {
|
|
@@ -24920,7 +24920,7 @@ const Nte = Vn(Ite), Lte = Dt({
|
|
|
24920
24920
|
});
|
|
24921
24921
|
let gv = !1;
|
|
24922
24922
|
function uc(e, t) {
|
|
24923
|
-
if (!
|
|
24923
|
+
if (!_n)
|
|
24924
24924
|
return;
|
|
24925
24925
|
const n = function(a) {
|
|
24926
24926
|
var i;
|
|
@@ -24955,12 +24955,12 @@ const Rte = (e) => {
|
|
|
24955
24955
|
function l(d) {
|
|
24956
24956
|
const { code: f, shiftKey: h } = d, p = h ? 10 : 1;
|
|
24957
24957
|
switch (f) {
|
|
24958
|
-
case
|
|
24959
|
-
case
|
|
24958
|
+
case Fn.left:
|
|
24959
|
+
case Fn.down:
|
|
24960
24960
|
d.preventDefault(), d.stopPropagation(), c(-p);
|
|
24961
24961
|
break;
|
|
24962
|
-
case
|
|
24963
|
-
case
|
|
24962
|
+
case Fn.right:
|
|
24963
|
+
case Fn.up:
|
|
24964
24964
|
d.preventDefault(), d.stopPropagation(), c(p);
|
|
24965
24965
|
break;
|
|
24966
24966
|
}
|
|
@@ -25585,7 +25585,7 @@ const nne = X({
|
|
|
25585
25585
|
}
|
|
25586
25586
|
function re() {
|
|
25587
25587
|
const Q = C.value;
|
|
25588
|
-
n(Kn, Q), n("change", Q), r.validateEvent && (i == null || i.validate("change").catch((ie) =>
|
|
25588
|
+
n(Kn, Q), n("change", Q), r.validateEvent && (i == null || i.validate("change").catch((ie) => On(ie))), I(!1), We(() => {
|
|
25589
25589
|
const ie = new Bu({
|
|
25590
25590
|
enableAlpha: r.showAlpha,
|
|
25591
25591
|
format: r.colorFormat || "",
|
|
@@ -25595,7 +25595,7 @@ const nne = X({
|
|
|
25595
25595
|
});
|
|
25596
25596
|
}
|
|
25597
25597
|
function ce() {
|
|
25598
|
-
I(!1), n(Kn, null), n("change", null), r.modelValue !== null && r.validateEvent && (i == null || i.validate("change").catch((Q) =>
|
|
25598
|
+
I(!1), n(Kn, null), n("change", null), r.modelValue !== null && r.validateEvent && (i == null || i.validate("change").catch((Q) => On(Q))), q();
|
|
25599
25599
|
}
|
|
25600
25600
|
function be() {
|
|
25601
25601
|
k.value && (B(), g.value && ve());
|
|
@@ -25605,11 +25605,11 @@ const nne = X({
|
|
|
25605
25605
|
}
|
|
25606
25606
|
function de(Q) {
|
|
25607
25607
|
switch (Q.code) {
|
|
25608
|
-
case
|
|
25609
|
-
case
|
|
25608
|
+
case Fn.enter:
|
|
25609
|
+
case Fn.space:
|
|
25610
25610
|
Q.preventDefault(), Q.stopPropagation(), M(), m.value.focus();
|
|
25611
25611
|
break;
|
|
25612
|
-
case
|
|
25612
|
+
case Fn.esc:
|
|
25613
25613
|
xe(Q);
|
|
25614
25614
|
break;
|
|
25615
25615
|
}
|
|
@@ -26278,7 +26278,7 @@ const Ane = 11, Pne = (e, t) => {
|
|
|
26278
26278
|
return e.multiple || !M.value ? pe : i.selectedLabel;
|
|
26279
26279
|
}), Re = _(() => h0 ? null : "mouseenter");
|
|
26280
26280
|
ge(() => e.modelValue, (K, pe) => {
|
|
26281
|
-
e.multiple && e.filterable && !e.reserveKeyword && (i.inputValue = "", Ae("")), Ue(), !qp(K, pe) && e.validateEvent && (A == null || A.validate("change").catch((ze) =>
|
|
26281
|
+
e.multiple && e.filterable && !e.reserveKeyword && (i.inputValue = "", Ae("")), Ue(), !qp(K, pe) && e.validateEvent && (A == null || A.validate("change").catch((ze) => On(ze)));
|
|
26282
26282
|
}, {
|
|
26283
26283
|
flush: "post",
|
|
26284
26284
|
deep: !0
|
|
@@ -26286,7 +26286,7 @@ const Ane = 11, Pne = (e, t) => {
|
|
|
26286
26286
|
K ? Ae(i.inputValue) : (i.inputValue = "", i.previousQuery = null, i.isBeforeHide = !0), t("visible-change", K);
|
|
26287
26287
|
}), ge(() => i.options.entries(), () => {
|
|
26288
26288
|
var K;
|
|
26289
|
-
if (!
|
|
26289
|
+
if (!_n)
|
|
26290
26290
|
return;
|
|
26291
26291
|
const pe = ((K = s.value) == null ? void 0 : K.querySelectorAll("input")) || [];
|
|
26292
26292
|
(!e.filterable && !e.defaultFirstOption && !ni(e.modelValue) || !Array.from(pe).includes(document.activeElement)) && Ue(), e.defaultFirstOption && (e.filterable || e.remote) && xe.value && De();
|
|
@@ -26365,7 +26365,7 @@ const Ane = 11, Pne = (e, t) => {
|
|
|
26365
26365
|
}, ce.value), Oe = (K) => {
|
|
26366
26366
|
qp(e.modelValue, K) || t(Dm, K);
|
|
26367
26367
|
}, me = (K) => DY(K, (pe) => !i.disabledOptions.has(pe)), Pe = (K) => {
|
|
26368
|
-
if (e.multiple && K.code !==
|
|
26368
|
+
if (e.multiple && K.code !== Fn.delete && K.target.value.length <= 0) {
|
|
26369
26369
|
const pe = Ja(e.modelValue).slice(), ze = me(pe);
|
|
26370
26370
|
if (ze < 0)
|
|
26371
26371
|
return;
|
|
@@ -27809,7 +27809,7 @@ const Qne = X({
|
|
|
27809
27809
|
emits: ["node-expand"],
|
|
27810
27810
|
setup(e, t) {
|
|
27811
27811
|
const n = bt("tree"), { broadcastExpanded: r } = AE(e), o = $e("RootTree"), a = H(!1), i = H(!1), s = H(null), u = H(null), l = H(null), c = $e(PE), d = ut();
|
|
27812
|
-
ft("NodeInstance", d), o ||
|
|
27812
|
+
ft("NodeInstance", d), o || On("Tree", "Can not find node's tree."), e.node.expanded && (a.value = !0, i.value = !0);
|
|
27813
27813
|
const f = o.props.props.children || "children";
|
|
27814
27814
|
ge(() => {
|
|
27815
27815
|
const w = e.node.data[f];
|
|
@@ -28011,8 +28011,8 @@ function nre({ el$: e }, t) {
|
|
|
28011
28011
|
r.value = Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`));
|
|
28012
28012
|
const l = r.value.indexOf(s);
|
|
28013
28013
|
let c;
|
|
28014
|
-
if ([
|
|
28015
|
-
if (i.preventDefault(), u ===
|
|
28014
|
+
if ([Fn.up, Fn.down].includes(u)) {
|
|
28015
|
+
if (i.preventDefault(), u === Fn.up) {
|
|
28016
28016
|
c = l === -1 ? 0 : l !== 0 ? l - 1 : r.value.length - 1;
|
|
28017
28017
|
const f = c;
|
|
28018
28018
|
for (; !t.value.getNode(r.value[c].dataset.key).canFocus; ) {
|
|
@@ -28035,9 +28035,9 @@ function nre({ el$: e }, t) {
|
|
|
28035
28035
|
}
|
|
28036
28036
|
c !== -1 && r.value[c].focus();
|
|
28037
28037
|
}
|
|
28038
|
-
[
|
|
28038
|
+
[Fn.left, Fn.right].includes(u) && (i.preventDefault(), s.click());
|
|
28039
28039
|
const d = s.querySelector('[type="checkbox"]');
|
|
28040
|
-
[
|
|
28040
|
+
[Fn.enter, Fn.space].includes(u) && d && (i.preventDefault(), d.click());
|
|
28041
28041
|
});
|
|
28042
28042
|
const a = () => {
|
|
28043
28043
|
var i;
|
|
@@ -28413,7 +28413,7 @@ function ire(e) {
|
|
|
28413
28413
|
}
|
|
28414
28414
|
let Id;
|
|
28415
28415
|
const sre = function(e = {}) {
|
|
28416
|
-
if (!
|
|
28416
|
+
if (!_n)
|
|
28417
28417
|
return;
|
|
28418
28418
|
const t = lre(e);
|
|
28419
28419
|
if (t.fullscreen && Id)
|
|
@@ -29103,13 +29103,13 @@ function xre(e, t, n, r, o, a) {
|
|
|
29103
29103
|
}, 8, ["content", "hide-after", "onHide"]);
|
|
29104
29104
|
}
|
|
29105
29105
|
const h4 = /* @__PURE__ */ FE(bre, [["render", xre], ["__scopeId", "data-v-de3b5311"]]);
|
|
29106
|
-
function
|
|
29106
|
+
function Ln(e) {
|
|
29107
29107
|
"@babel/helpers - typeof";
|
|
29108
|
-
return
|
|
29108
|
+
return Ln = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
29109
29109
|
return typeof t;
|
|
29110
29110
|
} : function(t) {
|
|
29111
29111
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
29112
|
-
},
|
|
29112
|
+
}, Ln(e);
|
|
29113
29113
|
}
|
|
29114
29114
|
function oy(e, t) {
|
|
29115
29115
|
if (!(e instanceof t))
|
|
@@ -29223,23 +29223,23 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
29223
29223
|
}
|
|
29224
29224
|
};
|
|
29225
29225
|
}
|
|
29226
|
-
var
|
|
29227
|
-
|
|
29228
|
-
var _re =
|
|
29229
|
-
}), Tre = typeof HTMLElement > "u" ? "undefined" :
|
|
29226
|
+
var An = typeof window > "u" ? null : window, nx = An ? An.navigator : null;
|
|
29227
|
+
An && An.document;
|
|
29228
|
+
var _re = Ln(""), y4 = Ln({}), Ore = Ln(function() {
|
|
29229
|
+
}), Tre = typeof HTMLElement > "u" ? "undefined" : Ln(HTMLElement), Wc = function(e) {
|
|
29230
29230
|
return e && e.instanceString && dn(e.instanceString) ? e.instanceString() : null;
|
|
29231
29231
|
}, nt = function(e) {
|
|
29232
|
-
return e != null &&
|
|
29232
|
+
return e != null && Ln(e) == _re;
|
|
29233
29233
|
}, dn = function(e) {
|
|
29234
|
-
return e != null &&
|
|
29234
|
+
return e != null && Ln(e) === Ore;
|
|
29235
29235
|
}, Wt = function(e) {
|
|
29236
29236
|
return !Kr(e) && (Array.isArray ? Array.isArray(e) : e != null && e instanceof Array);
|
|
29237
29237
|
}, Pt = function(e) {
|
|
29238
|
-
return e != null &&
|
|
29238
|
+
return e != null && Ln(e) === y4 && !Wt(e) && e.constructor === Object;
|
|
29239
29239
|
}, $re = function(e) {
|
|
29240
|
-
return e != null &&
|
|
29240
|
+
return e != null && Ln(e) === y4;
|
|
29241
29241
|
}, Ve = function(e) {
|
|
29242
|
-
return e != null &&
|
|
29242
|
+
return e != null && Ln(e) === Ln(1) && !isNaN(e);
|
|
29243
29243
|
}, Are = function(e) {
|
|
29244
29244
|
return Ve(e) && Math.floor(e) === e;
|
|
29245
29245
|
}, Yp = function(e) {
|
|
@@ -29296,7 +29296,7 @@ var _re = Nn(""), y4 = Nn({}), Ore = Nn(function() {
|
|
|
29296
29296
|
return e + "$" + t;
|
|
29297
29297
|
}), rx = function(e) {
|
|
29298
29298
|
return gi(e) ? e : e.charAt(0).toUpperCase() + e.substring(1);
|
|
29299
|
-
},
|
|
29299
|
+
}, Nn = "(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))", Rre = "rgb[a]?\\((" + Nn + "[%]?)\\s*,\\s*(" + Nn + "[%]?)\\s*,\\s*(" + Nn + "[%]?)(?:\\s*,\\s*(" + Nn + "))?\\)", Bre = "rgb[a]?\\((?:" + Nn + "[%]?)\\s*,\\s*(?:" + Nn + "[%]?)\\s*,\\s*(?:" + Nn + "[%]?)(?:\\s*,\\s*(?:" + Nn + "))?\\)", Dre = "hsl[a]?\\((" + Nn + ")\\s*,\\s*(" + Nn + "[%])\\s*,\\s*(" + Nn + "[%])(?:\\s*,\\s*(" + Nn + "))?\\)", Mre = "hsl[a]?\\((?:" + Nn + ")\\s*,\\s*(?:" + Nn + "[%])\\s*,\\s*(?:" + Nn + "[%])(?:\\s*,\\s*(?:" + Nn + "))?\\)", zre = "\\#[0-9a-fA-F]{3}", Vre = "\\#[0-9a-fA-F]{6}", k4 = function(e, t) {
|
|
29300
29300
|
return e < t ? -1 : e > t ? 1 : 0;
|
|
29301
29301
|
}, jre = function(e, t) {
|
|
29302
29302
|
return -1 * k4(e, t);
|
|
@@ -29638,27 +29638,27 @@ function Foe(e, t, n) {
|
|
|
29638
29638
|
}
|
|
29639
29639
|
return C.cancel = x, C.flush = w, C;
|
|
29640
29640
|
}
|
|
29641
|
-
var uh = Foe, wv =
|
|
29641
|
+
var uh = Foe, wv = An ? An.performance : null, O4 = wv && wv.now ? function() {
|
|
29642
29642
|
return wv.now();
|
|
29643
29643
|
} : function() {
|
|
29644
29644
|
return Date.now();
|
|
29645
29645
|
}, Ioe = function() {
|
|
29646
|
-
if (
|
|
29647
|
-
if (
|
|
29646
|
+
if (An) {
|
|
29647
|
+
if (An.requestAnimationFrame)
|
|
29648
29648
|
return function(e) {
|
|
29649
|
-
|
|
29649
|
+
An.requestAnimationFrame(e);
|
|
29650
29650
|
};
|
|
29651
|
-
if (
|
|
29651
|
+
if (An.mozRequestAnimationFrame)
|
|
29652
29652
|
return function(e) {
|
|
29653
|
-
|
|
29653
|
+
An.mozRequestAnimationFrame(e);
|
|
29654
29654
|
};
|
|
29655
|
-
if (
|
|
29655
|
+
if (An.webkitRequestAnimationFrame)
|
|
29656
29656
|
return function(e) {
|
|
29657
|
-
|
|
29657
|
+
An.webkitRequestAnimationFrame(e);
|
|
29658
29658
|
};
|
|
29659
|
-
if (
|
|
29659
|
+
if (An.msRequestAnimationFrame)
|
|
29660
29660
|
return function(e) {
|
|
29661
|
-
|
|
29661
|
+
An.msRequestAnimationFrame(e);
|
|
29662
29662
|
};
|
|
29663
29663
|
}
|
|
29664
29664
|
return function(e) {
|
|
@@ -29856,7 +29856,7 @@ var uh = Foe, wv = $n ? $n.performance : null, O4 = wv && wv.now ? function() {
|
|
|
29856
29856
|
return this.toArray().forEach(t, n);
|
|
29857
29857
|
}
|
|
29858
29858
|
}]), e;
|
|
29859
|
-
}(), Ul = (typeof Set > "u" ? "undefined" :
|
|
29859
|
+
}(), Ul = (typeof Set > "u" ? "undefined" : Ln(Set)) !== Uoe ? Set : qoe, ch = function(e, t) {
|
|
29860
29860
|
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
|
|
29861
29861
|
if (e === void 0 || t === void 0 || !iy(e)) {
|
|
29862
29862
|
vn("An element must have a core reference and parameters set");
|
|
@@ -30563,12 +30563,12 @@ var Koe = Yre(function(e, t) {
|
|
|
30563
30563
|
for (var o = 0; o < t; o++)
|
|
30564
30564
|
e[o] = e[o] / n;
|
|
30565
30565
|
return e;
|
|
30566
|
-
},
|
|
30566
|
+
}, Dn = function(e, t, n, r) {
|
|
30567
30567
|
return (1 - r) * (1 - r) * e + 2 * (1 - r) * r * t + r * r * n;
|
|
30568
30568
|
}, el = function(e, t, n, r) {
|
|
30569
30569
|
return {
|
|
30570
|
-
x:
|
|
30571
|
-
y:
|
|
30570
|
+
x: Dn(e.x, t.x, n.x, r),
|
|
30571
|
+
y: Dn(e.y, t.y, n.y, r)
|
|
30572
30572
|
};
|
|
30573
30573
|
}, pae = function(e, t, n, r) {
|
|
30574
30574
|
var o = {
|
|
@@ -31338,7 +31338,7 @@ var Kae = tr({
|
|
|
31338
31338
|
return r;
|
|
31339
31339
|
}, Yae = function(e) {
|
|
31340
31340
|
var t = this.cy(), n = this.nodes(), r = null, o = hy(e), a = new Array(o.k), i = {}, s;
|
|
31341
|
-
o.testMode ? typeof o.testCentroids == "number" ? (o.testCentroids, s = Cv(n, o.k, o.attributes)) :
|
|
31341
|
+
o.testMode ? typeof o.testCentroids == "number" ? (o.testCentroids, s = Cv(n, o.k, o.attributes)) : Ln(o.testCentroids) === "object" ? s = o.testCentroids : s = Cv(n, o.k, o.attributes) : s = Cv(n, o.k, o.attributes);
|
|
31342
31342
|
for (var u = !0, l = 0; u && l < o.maxIterations; ) {
|
|
31343
31343
|
for (var c = 0; c < n.length; c++)
|
|
31344
31344
|
r = n[c], i[r.id()] = U4(r, s, o.distance, o.attributes, "kMeans");
|
|
@@ -31360,7 +31360,7 @@ var Kae = tr({
|
|
|
31360
31360
|
return a;
|
|
31361
31361
|
}, Zae = function(e) {
|
|
31362
31362
|
var t = this.cy(), n = this.nodes(), r = null, o = hy(e), a = new Array(o.k), i, s = {}, u, l = new Array(o.k);
|
|
31363
|
-
o.testMode ? typeof o.testCentroids == "number" || (
|
|
31363
|
+
o.testMode ? typeof o.testCentroids == "number" || (Ln(o.testCentroids) === "object" ? i = o.testCentroids : i = gx(n, o.k)) : i = gx(n, o.k);
|
|
31364
31364
|
for (var c = !0, d = 0; c && d < o.maxIterations; ) {
|
|
31365
31365
|
for (var f = 0; f < n.length; f++)
|
|
31366
31366
|
r = n[f], s[r.id()] = U4(r, i, o.distance, o.attributes, "kMedoids");
|
|
@@ -31910,7 +31910,7 @@ var Cx = function(e, t, n, r) {
|
|
|
31910
31910
|
return;
|
|
31911
31911
|
}
|
|
31912
31912
|
var r;
|
|
31913
|
-
if (
|
|
31913
|
+
if (Ln(n) === "object" && n !== null || typeof n == "function")
|
|
31914
31914
|
try {
|
|
31915
31915
|
r = n.then;
|
|
31916
31916
|
} catch (a) {
|
|
@@ -32710,7 +32710,7 @@ var At = {
|
|
|
32710
32710
|
// boolean (unary) operators (used in data selectors)
|
|
32711
32711
|
string: `"(?:\\\\"|[^"])*"|'(?:\\\\'|[^'])*'`,
|
|
32712
32712
|
// string literals (used in data selectors) -- doublequotes | singlequotes
|
|
32713
|
-
number:
|
|
32713
|
+
number: Nn,
|
|
32714
32714
|
// number literal (used in data selectors) --- e.g. 0.1234, 1234, 12e123
|
|
32715
32715
|
meta: "degree|indegree|outdegree",
|
|
32716
32716
|
// allowed metadata fields (i.e. allowed functions to use from Collection)
|
|
@@ -34995,7 +34995,7 @@ var fue = {
|
|
|
34995
34995
|
};
|
|
34996
34996
|
nf.each = nf.forEach;
|
|
34997
34997
|
var hue = function() {
|
|
34998
|
-
var e = "undefined", t = (typeof Symbol > "u" ? "undefined" :
|
|
34998
|
+
var e = "undefined", t = (typeof Symbol > "u" ? "undefined" : Ln(Symbol)) != e && Ln(Symbol.iterator) != e;
|
|
34999
34999
|
t && (nf[Symbol.iterator] = function() {
|
|
35000
35000
|
var n = this, r = {
|
|
35001
35001
|
value: void 0,
|
|
@@ -37164,7 +37164,7 @@ ky.fromString = function(e) {
|
|
|
37164
37164
|
};
|
|
37165
37165
|
var qn = {};
|
|
37166
37166
|
(function() {
|
|
37167
|
-
var e =
|
|
37167
|
+
var e = Nn, t = Bre, n = Mre, r = zre, o = Vre, a = function(Y) {
|
|
37168
37168
|
return "^" + Y + "\\s*\\(\\s*([\\w\\.]+)\\s*\\)$";
|
|
37169
37169
|
}, i = function(Y) {
|
|
37170
37170
|
var Q = e + "|\\w+|" + t + "|" + n + "|" + r + "|" + o;
|
|
@@ -38624,7 +38624,7 @@ xh.parseImpl = function(e, t, n, r) {
|
|
|
38624
38624
|
if (u) {
|
|
38625
38625
|
var N = "px|em" + (l.allowPercent ? "|\\%" : "");
|
|
38626
38626
|
A && (N = A);
|
|
38627
|
-
var D = t.match("^(" +
|
|
38627
|
+
var D = t.match("^(" + Nn + ")(" + N + ")?$");
|
|
38628
38628
|
D && (t = D[1], A = D[2] || L);
|
|
38629
38629
|
} else (!A || l.implicitUnits) && (A = L);
|
|
38630
38630
|
if (t = parseFloat(t), isNaN(t) && l.enums === void 0)
|
|
@@ -39123,7 +39123,7 @@ var wc = function(e) {
|
|
|
39123
39123
|
r = r || {}, r && r.cy && (r.cy.destroy(), r = {});
|
|
39124
39124
|
var o = r.readies = r.readies || [];
|
|
39125
39125
|
n && (n._cyreg = r), r.cy = t;
|
|
39126
|
-
var a =
|
|
39126
|
+
var a = An !== void 0 && n !== void 0 && !e.headless, i = e;
|
|
39127
39127
|
i.layout = st({
|
|
39128
39128
|
name: a ? "grid" : "null"
|
|
39129
39129
|
}, i.layout), i.renderer = st({
|
|
@@ -39258,9 +39258,9 @@ st(rf, {
|
|
|
39258
39258
|
},
|
|
39259
39259
|
window: function() {
|
|
39260
39260
|
var e = this._private.container;
|
|
39261
|
-
if (e == null) return
|
|
39261
|
+
if (e == null) return An;
|
|
39262
39262
|
var t = this._private.container.ownerDocument;
|
|
39263
|
-
return t === void 0 || t == null ?
|
|
39263
|
+
return t === void 0 || t == null ? An : t.defaultView || An;
|
|
39264
39264
|
},
|
|
39265
39265
|
mount: function(e) {
|
|
39266
39266
|
if (e != null) {
|
|
@@ -40788,7 +40788,7 @@ af.calculateArrowAngles = function(e) {
|
|
|
40788
40788
|
if (n ? (c = t.haystackPts[0], d = t.haystackPts[1], f = t.haystackPts[2], h = t.haystackPts[3]) : (c = t.arrowStartX, d = t.arrowStartY, f = t.arrowEndX, h = t.arrowEndY), g = t.midX, b = t.midY, a)
|
|
40789
40789
|
u = c - t.segpts[0], l = d - t.segpts[1];
|
|
40790
40790
|
else if (o || i || s || r) {
|
|
40791
|
-
var p = t.allpts, v =
|
|
40791
|
+
var p = t.allpts, v = Dn(p[0], p[2], p[4], 0.1), m = Dn(p[1], p[3], p[5], 0.1);
|
|
40792
40792
|
u = c - v, l = d - m;
|
|
40793
40793
|
} else
|
|
40794
40794
|
u = c - g, l = d - b;
|
|
@@ -40809,10 +40809,10 @@ af.calculateArrowAngles = function(e) {
|
|
|
40809
40809
|
var p = t.allpts, C = t.ctrlpts, k, S, E, O;
|
|
40810
40810
|
if (C.length / 2 % 2 === 0) {
|
|
40811
40811
|
var P = p.length / 2 - 1, $ = P + 2, A = $ + 2;
|
|
40812
|
-
k =
|
|
40812
|
+
k = Dn(p[P], p[$], p[A], 0), S = Dn(p[P + 1], p[$ + 1], p[A + 1], 0), E = Dn(p[P], p[$], p[A], 1e-4), O = Dn(p[P + 1], p[$ + 1], p[A + 1], 1e-4);
|
|
40813
40813
|
} else {
|
|
40814
40814
|
var $ = p.length / 2 - 1, P = $ - 2, A = $ + 2;
|
|
40815
|
-
k =
|
|
40815
|
+
k = Dn(p[P], p[$], p[A], 0.4999), S = Dn(p[P + 1], p[$ + 1], p[A + 1], 0.4999), E = Dn(p[P], p[$], p[A], 0.5), O = Dn(p[P + 1], p[$ + 1], p[A + 1], 0.5);
|
|
40816
40816
|
}
|
|
40817
40817
|
u = E - k, l = O - S;
|
|
40818
40818
|
}
|
|
@@ -40826,7 +40826,7 @@ af.calculateArrowAngles = function(e) {
|
|
|
40826
40826
|
if (t.midsrcArrowAngle = Ld(u, l), a)
|
|
40827
40827
|
u = f - t.segpts[t.segpts.length - 2], l = h - t.segpts[t.segpts.length - 1];
|
|
40828
40828
|
else if (o || i || s || r) {
|
|
40829
|
-
var p = t.allpts, N = p.length, v =
|
|
40829
|
+
var p = t.allpts, N = p.length, v = Dn(p[N - 6], p[N - 4], p[N - 2], 0.9), m = Dn(p[N - 5], p[N - 3], p[N - 1], 0.9);
|
|
40830
40830
|
u = f - v, l = h - m;
|
|
40831
40831
|
} else
|
|
40832
40832
|
u = f - g, l = h - b;
|
|
@@ -41095,7 +41095,7 @@ hr.storeAllpts = function(e) {
|
|
|
41095
41095
|
t.allpts.push(t.ctrlpts[n], t.ctrlpts[n + 1]), n + 3 < t.ctrlpts.length && t.allpts.push((t.ctrlpts[n] + t.ctrlpts[n + 2]) / 2, (t.ctrlpts[n + 1] + t.ctrlpts[n + 3]) / 2);
|
|
41096
41096
|
t.allpts.push(t.endX, t.endY);
|
|
41097
41097
|
var r, o;
|
|
41098
|
-
t.ctrlpts.length / 2 % 2 === 0 ? (r = t.allpts.length / 2 - 1, t.midX = t.allpts[r], t.midY = t.allpts[r + 1]) : (r = t.allpts.length / 2 - 3, o = 0.5, t.midX =
|
|
41098
|
+
t.ctrlpts.length / 2 % 2 === 0 ? (r = t.allpts.length / 2 - 1, t.midX = t.allpts[r], t.midY = t.allpts[r + 1]) : (r = t.allpts.length / 2 - 3, o = 0.5, t.midX = Dn(t.allpts[r], t.allpts[r + 2], t.allpts[r + 4], o), t.midY = Dn(t.allpts[r + 1], t.allpts[r + 3], t.allpts[r + 5], o));
|
|
41099
41099
|
} else if (t.edgeType === "straight")
|
|
41100
41100
|
t.allpts = [t.startX, t.startY, t.endX, t.endY], t.midX = (t.startX + t.endX + t.arrowStartX + t.arrowEndX) / 4, t.midY = (t.startY + t.endY + t.arrowStartY + t.arrowEndY) / 4;
|
|
41101
41101
|
else if (t.edgeType === "segments") {
|
|
@@ -41405,7 +41405,7 @@ Qc.getTargetEndpoint = function(e) {
|
|
|
41405
41405
|
var _y = {};
|
|
41406
41406
|
function ice(e, t, n) {
|
|
41407
41407
|
for (var r = function(u, l, c, d) {
|
|
41408
|
-
return
|
|
41408
|
+
return Dn(u, l, c, d);
|
|
41409
41409
|
}, o = t._private, a = o.rstyle.bezierPts, i = 0; i < e.bezierProjPcts.length; i++) {
|
|
41410
41410
|
var s = e.bezierProjPcts[i];
|
|
41411
41411
|
a.push({
|
|
@@ -42931,7 +42931,7 @@ La.generateBarrel = function() {
|
|
|
42931
42931
|
}, h = Object.keys(d), p = 0; p < h.length; p++) {
|
|
42932
42932
|
var v = h[p], m = d[v], g = f(e, t, m);
|
|
42933
42933
|
if (g != null) {
|
|
42934
|
-
var b = m[5], x = m[3], w = m[1], C =
|
|
42934
|
+
var b = m[5], x = m[3], w = m[1], C = Dn(b, x, w, g);
|
|
42935
42935
|
if (m.isTop && C <= t || m.isBottom && t <= C)
|
|
42936
42936
|
return !0;
|
|
42937
42937
|
}
|
|
@@ -43291,27 +43291,27 @@ var $v = 1e3 / 60, z_ = {
|
|
|
43291
43291
|
n.renderer = e, n.onDequeues = [];
|
|
43292
43292
|
var r = Sce(t);
|
|
43293
43293
|
st(n, r), n.lookup = new uce(r.getKey, r.doesEleInvalidateKey), n.setupDequeueing();
|
|
43294
|
-
},
|
|
43295
|
-
|
|
43296
|
-
|
|
43294
|
+
}, Bn = _u.prototype;
|
|
43295
|
+
Bn.reasons = Zs;
|
|
43296
|
+
Bn.getTextureQueue = function(e) {
|
|
43297
43297
|
var t = this;
|
|
43298
43298
|
return t.eleImgCaches = t.eleImgCaches || {}, t.eleImgCaches[e] = t.eleImgCaches[e] || [];
|
|
43299
43299
|
};
|
|
43300
|
-
|
|
43300
|
+
Bn.getRetiredTextureQueue = function(e) {
|
|
43301
43301
|
var t = this, n = t.eleImgCaches.retired = t.eleImgCaches.retired || {}, r = n[e] = n[e] || [];
|
|
43302
43302
|
return r;
|
|
43303
43303
|
};
|
|
43304
|
-
|
|
43304
|
+
Bn.getElementQueue = function() {
|
|
43305
43305
|
var e = this, t = e.eleCacheQueue = e.eleCacheQueue || new Yc(function(n, r) {
|
|
43306
43306
|
return r.reqs - n.reqs;
|
|
43307
43307
|
});
|
|
43308
43308
|
return t;
|
|
43309
43309
|
};
|
|
43310
|
-
|
|
43310
|
+
Bn.getElementKeyToQueue = function() {
|
|
43311
43311
|
var e = this, t = e.eleKeyToCacheQueue = e.eleKeyToCacheQueue || {};
|
|
43312
43312
|
return t;
|
|
43313
43313
|
};
|
|
43314
|
-
|
|
43314
|
+
Bn.getElement = function(e, t, n, r, o) {
|
|
43315
43315
|
var a = this, i = this.renderer, s = i.cy.zoom(), u = this.lookup;
|
|
43316
43316
|
if (!t || t.w === 0 || t.h === 0 || isNaN(t.w) || isNaN(t.h) || !e.visible() || e.removed() || !a.allowEdgeTxrCaching && e.isEdge() || !a.allowParentTxrCaching && e.isParent())
|
|
43317
43317
|
return null;
|
|
@@ -43377,11 +43377,11 @@ Rn.getElement = function(e, t, n, r, o) {
|
|
|
43377
43377
|
scaledLabelShown: f
|
|
43378
43378
|
}, m.usedWidth += Math.ceil(d + dce), m.eleCaches.push(h), u.set(e, r, h), a.checkTextureFullness(m), h;
|
|
43379
43379
|
};
|
|
43380
|
-
|
|
43380
|
+
Bn.invalidateElements = function(e) {
|
|
43381
43381
|
for (var t = 0; t < e.length; t++)
|
|
43382
43382
|
this.invalidateElement(e[t]);
|
|
43383
43383
|
};
|
|
43384
|
-
|
|
43384
|
+
Bn.invalidateElement = function(e) {
|
|
43385
43385
|
var t = this, n = t.lookup, r = [], o = n.isInvalid(e);
|
|
43386
43386
|
if (o) {
|
|
43387
43387
|
for (var a = bp; a <= H0; a++) {
|
|
@@ -43397,14 +43397,14 @@ Rn.invalidateElement = function(e) {
|
|
|
43397
43397
|
t.removeFromQueue(e);
|
|
43398
43398
|
}
|
|
43399
43399
|
};
|
|
43400
|
-
|
|
43400
|
+
Bn.checkTextureUtility = function(e) {
|
|
43401
43401
|
e.invalidatedWidth >= vce * e.width && this.retireTexture(e);
|
|
43402
43402
|
};
|
|
43403
|
-
|
|
43403
|
+
Bn.checkTextureFullness = function(e) {
|
|
43404
43404
|
var t = this, n = t.getTextureQueue(e.height);
|
|
43405
43405
|
e.usedWidth / e.width > gce && e.fullnessChecks >= mce ? mi(n, e) : e.fullnessChecks++;
|
|
43406
43406
|
};
|
|
43407
|
-
|
|
43407
|
+
Bn.retireTexture = function(e) {
|
|
43408
43408
|
var t = this, n = e.height, r = t.getTextureQueue(n), o = this.lookup;
|
|
43409
43409
|
mi(r, e), e.retired = !0;
|
|
43410
43410
|
for (var a = e.eleCaches, i = 0; i < a.length; i++) {
|
|
@@ -43415,18 +43415,18 @@ Rn.retireTexture = function(e) {
|
|
|
43415
43415
|
var u = t.getRetiredTextureQueue(n);
|
|
43416
43416
|
u.push(e);
|
|
43417
43417
|
};
|
|
43418
|
-
|
|
43418
|
+
Bn.addTexture = function(e, t) {
|
|
43419
43419
|
var n = this, r = n.getTextureQueue(e), o = {};
|
|
43420
43420
|
return r.push(o), o.eleCaches = [], o.height = e, o.width = Math.max(pce, t), o.usedWidth = 0, o.invalidatedWidth = 0, o.fullnessChecks = 0, o.canvas = n.renderer.makeOffscreenCanvas(o.width, o.height), o.context = o.canvas.getContext("2d"), o;
|
|
43421
43421
|
};
|
|
43422
|
-
|
|
43422
|
+
Bn.recycleTexture = function(e, t) {
|
|
43423
43423
|
for (var n = this, r = n.getTextureQueue(e), o = n.getRetiredTextureQueue(e), a = 0; a < o.length; a++) {
|
|
43424
43424
|
var i = o[a];
|
|
43425
43425
|
if (i.width >= t)
|
|
43426
43426
|
return i.retired = !1, i.usedWidth = 0, i.invalidatedWidth = 0, i.fullnessChecks = 0, cy(i.eleCaches), i.context.setTransform(1, 0, 0, 1, 0, 0), i.context.clearRect(0, 0, i.width, i.height), mi(o, i), r.push(i), i;
|
|
43427
43427
|
}
|
|
43428
43428
|
};
|
|
43429
|
-
|
|
43429
|
+
Bn.queueElement = function(e, t) {
|
|
43430
43430
|
var n = this, r = n.getElementQueue(), o = n.getElementKeyToQueue(), a = this.getKey(e), i = o[a];
|
|
43431
43431
|
if (i)
|
|
43432
43432
|
i.level = Math.max(i.level, t), i.eles.merge(e), i.reqs++, r.updateItem(i);
|
|
@@ -43440,7 +43440,7 @@ Rn.queueElement = function(e, t) {
|
|
|
43440
43440
|
r.push(s), o[a] = s;
|
|
43441
43441
|
}
|
|
43442
43442
|
};
|
|
43443
|
-
|
|
43443
|
+
Bn.dequeue = function(e) {
|
|
43444
43444
|
for (var t = this, n = t.getElementQueue(), r = t.getElementKeyToQueue(), o = [], a = t.lookup, i = 0; i < Cce && n.size() > 0; i++) {
|
|
43445
43445
|
var s = n.pop(), u = s.key, l = s.eles[0], c = a.hasCache(l, s.level);
|
|
43446
43446
|
if (r[u] = null, !c) {
|
|
@@ -43451,17 +43451,17 @@ Rn.dequeue = function(e) {
|
|
|
43451
43451
|
}
|
|
43452
43452
|
return o;
|
|
43453
43453
|
};
|
|
43454
|
-
|
|
43454
|
+
Bn.removeFromQueue = function(e) {
|
|
43455
43455
|
var t = this, n = t.getElementQueue(), r = t.getElementKeyToQueue(), o = this.getKey(e), a = r[o];
|
|
43456
43456
|
a != null && (a.eles.length === 1 ? (a.reqs = ly, n.updateItem(a), n.pop(), r[o] = null) : a.eles.unmerge(e));
|
|
43457
43457
|
};
|
|
43458
|
-
|
|
43458
|
+
Bn.onDequeue = function(e) {
|
|
43459
43459
|
this.onDequeues.push(e);
|
|
43460
43460
|
};
|
|
43461
|
-
|
|
43461
|
+
Bn.offDequeue = function(e) {
|
|
43462
43462
|
mi(this.onDequeues, e);
|
|
43463
43463
|
};
|
|
43464
|
-
|
|
43464
|
+
Bn.setupDequeueing = z_.setupDequeueing({
|
|
43465
43465
|
deqRedrawThreshold: kce,
|
|
43466
43466
|
deqCost: yce,
|
|
43467
43467
|
deqAvgCost: bce,
|
|
@@ -44975,7 +44975,7 @@ Ft.getImgSmoothing = function(e) {
|
|
|
44975
44975
|
};
|
|
44976
44976
|
Ft.makeOffscreenCanvas = function(e, t) {
|
|
44977
44977
|
var n;
|
|
44978
|
-
if ((typeof OffscreenCanvas > "u" ? "undefined" :
|
|
44978
|
+
if ((typeof OffscreenCanvas > "u" ? "undefined" : Ln(OffscreenCanvas)) !== "undefined")
|
|
44979
44979
|
n = new OffscreenCanvas(e, t);
|
|
44980
44980
|
else {
|
|
44981
44981
|
var r = this.cy.window(), o = r.document;
|
|
@@ -45233,7 +45233,7 @@ let tde = class extends EventTarget {
|
|
|
45233
45233
|
});
|
|
45234
45234
|
}
|
|
45235
45235
|
showConnectivity(e) {
|
|
45236
|
-
this.cyg = new
|
|
45236
|
+
this.cyg = new ode(this, e), this.cyg.on("tap-node", (t) => {
|
|
45237
45237
|
const n = new CustomEvent("tap-node", {
|
|
45238
45238
|
detail: t.detail
|
|
45239
45239
|
});
|
|
@@ -45320,7 +45320,12 @@ const nde = [
|
|
|
45320
45320
|
}
|
|
45321
45321
|
}
|
|
45322
45322
|
];
|
|
45323
|
-
|
|
45323
|
+
function rde(e) {
|
|
45324
|
+
return e.split(`
|
|
45325
|
+
`).map((t) => t && t[0] >= "a" && t[0] <= "z" ? t.charAt(0).toUpperCase() + t.slice(1) : t).join(`
|
|
45326
|
+
`);
|
|
45327
|
+
}
|
|
45328
|
+
class ode extends EventTarget {
|
|
45324
45329
|
constructor(t, n) {
|
|
45325
45330
|
var r;
|
|
45326
45331
|
super(), ha(this, "cy"), ha(this, "tooltip"), this.cy = ws({
|
|
@@ -45336,7 +45341,7 @@ class rde extends EventTarget {
|
|
|
45336
45341
|
minZoom: 0.5,
|
|
45337
45342
|
maxZoom: 10,
|
|
45338
45343
|
wheelSensitivity: 0.4
|
|
45339
|
-
}).on("mouseover", "node", this.overNode.bind(this)).on("mouseout", "node", this.exitNode.bind(this)).on("position", "node", this.moveNode.bind(this)).on("tap",
|
|
45344
|
+
}).on("mouseover", "node", this.overNode.bind(this)).on("mouseout", "node", this.exitNode.bind(this)).on("position", "node", this.moveNode.bind(this)).on("tap", this.tapNode.bind(this)), this.tooltip = document.createElement("div"), this.tooltip.className = "cy-graph-tooltip", this.tooltip.hidden = !0, (r = n == null ? void 0 : n.lastChild) == null || r.appendChild(this.tooltip);
|
|
45340
45345
|
}
|
|
45341
45346
|
remove() {
|
|
45342
45347
|
this.cy && this.cy.destroy();
|
|
@@ -45346,8 +45351,8 @@ class rde extends EventTarget {
|
|
|
45346
45351
|
t + this.tooltip.offsetWidth >= ((n = this.tooltip.parentElement) == null ? void 0 : n.offsetWidth) && (this.tooltip.style.left = `${t - this.tooltip.offsetWidth}px`);
|
|
45347
45352
|
}
|
|
45348
45353
|
overNode(t) {
|
|
45349
|
-
const n = t.target;
|
|
45350
|
-
this.tooltip.innerText =
|
|
45354
|
+
const n = t.target, r = rde(n.data().label);
|
|
45355
|
+
this.tooltip.innerText = r, this.tooltip.style.left = `${t.renderedPosition.x}px`, this.tooltip.style.top = `${t.renderedPosition.y}px`, this.tooltip.style.maxWidth = "240px", this.tooltip.hidden = !1, this.checkRightBoundary(t.renderedPosition.x);
|
|
45351
45356
|
}
|
|
45352
45357
|
moveNode(t) {
|
|
45353
45358
|
const n = t.target;
|
|
@@ -45366,7 +45371,7 @@ class rde extends EventTarget {
|
|
|
45366
45371
|
this.addEventListener(t, n);
|
|
45367
45372
|
}
|
|
45368
45373
|
}
|
|
45369
|
-
const
|
|
45374
|
+
const ade = 1.3, ide = 24 * 60 * 60 * 1e3, sde = "Reset position", hk = "Lock zoom (to scroll)", lde = "Unlock zoom", ude = "#8300bf", cde = {
|
|
45370
45375
|
name: "ConnectivityGraph",
|
|
45371
45376
|
props: {
|
|
45372
45377
|
/**
|
|
@@ -45391,9 +45396,9 @@ const ode = 1.3, ade = 24 * 60 * 60 * 1e3, ide = "Reset position", hk = "Lock zo
|
|
|
45391
45396
|
knowledgeByPath: /* @__PURE__ */ new Map(),
|
|
45392
45397
|
labelledTerms: /* @__PURE__ */ new Set(),
|
|
45393
45398
|
labelCache: /* @__PURE__ */ new Map(),
|
|
45394
|
-
resetLabel:
|
|
45399
|
+
resetLabel: sde,
|
|
45395
45400
|
zoomLockLabel: hk,
|
|
45396
|
-
iconColor:
|
|
45401
|
+
iconColor: ude,
|
|
45397
45402
|
zoomEnabled: !1,
|
|
45398
45403
|
errorMessage: ""
|
|
45399
45404
|
};
|
|
@@ -45428,11 +45433,11 @@ const ode = 1.3, ade = 24 * 60 * 60 * 1e3, ide = "Reset position", hk = "Lock zo
|
|
|
45428
45433
|
(/* @__PURE__ */ new Date()).getTime() > e && this.removeAllCacheData();
|
|
45429
45434
|
},
|
|
45430
45435
|
updateCacheExpiry: function() {
|
|
45431
|
-
const e = (/* @__PURE__ */ new Date()).getTime() +
|
|
45436
|
+
const e = (/* @__PURE__ */ new Date()).getTime() + ide;
|
|
45432
45437
|
sessionStorage.setItem("connectivity-graph-expiry", e);
|
|
45433
45438
|
},
|
|
45434
45439
|
run: async function() {
|
|
45435
|
-
if (this.schemaVersion || (this.schemaVersion = await this.getSchemaVersion(), sessionStorage.setItem("connectivity-graph-schema-version", this.schemaVersion), this.updateCacheExpiry()), this.schemaVersion <
|
|
45440
|
+
if (this.schemaVersion || (this.schemaVersion = await this.getSchemaVersion(), sessionStorage.setItem("connectivity-graph-schema-version", this.schemaVersion), this.updateCacheExpiry()), this.schemaVersion < ade) {
|
|
45436
45441
|
console.warn("No Server!");
|
|
45437
45442
|
return;
|
|
45438
45443
|
}
|
|
@@ -45549,26 +45554,28 @@ const ode = 1.3, ade = 24 * 60 * 60 * 1e3, ide = "Reset position", hk = "Lock zo
|
|
|
45549
45554
|
* Enable/disable user zoom for scrolling
|
|
45550
45555
|
*/
|
|
45551
45556
|
toggleZoom: function() {
|
|
45552
|
-
this.zoomEnabled = !this.zoomEnabled, this.zoomLockLabel = this.zoomEnabled ?
|
|
45557
|
+
this.zoomEnabled = !this.zoomEnabled, this.zoomLockLabel = this.zoomEnabled ? lde : hk, this.connectivityGraph.enableZoom(!this.zoomEnabled);
|
|
45553
45558
|
},
|
|
45554
|
-
|
|
45555
|
-
this.errorMessage = e
|
|
45559
|
+
showErrorMessage: function(e) {
|
|
45560
|
+
this.errorMessage = e, setTimeout(() => {
|
|
45561
|
+
this.errorMessage = "";
|
|
45562
|
+
}, 3e3);
|
|
45556
45563
|
}
|
|
45557
45564
|
}
|
|
45558
|
-
},
|
|
45565
|
+
}, dde = { class: "connectivity-graph" }, pde = {
|
|
45559
45566
|
ref: "graphCanvas",
|
|
45560
45567
|
class: "graph-canvas"
|
|
45561
|
-
},
|
|
45568
|
+
}, fde = { class: "control-panel" }, hde = /* @__PURE__ */ a8('<div class="node-key" data-v-66636c8c><div class="key-head" data-v-66636c8c>Node type:</div><div data-v-66636c8c><div data-v-66636c8c><span data-v-66636c8c>Node:</span><span class="key-box" style="background:#80F0F0;" data-v-66636c8c></span></div><div data-v-66636c8c><span data-v-66636c8c>Axon:</span><span class="key-box" style="background:green;" data-v-66636c8c></span></div><div data-v-66636c8c><span data-v-66636c8c>Dendrite:</span><span class="key-box" style="background:red;" data-v-66636c8c></span></div><div data-v-66636c8c><span data-v-66636c8c>Both:</span><span class="key-box" style="background:gray;" data-v-66636c8c></span></div></div></div>', 1), vde = { class: "tools" }, gde = { class: "visually-hidden" }, mde = { class: "visually-hidden" }, yde = {
|
|
45562
45569
|
key: 0,
|
|
45563
45570
|
class: "connectivity-graph-error"
|
|
45564
45571
|
};
|
|
45565
|
-
function
|
|
45572
|
+
function bde(e, t, n, r, o, a) {
|
|
45566
45573
|
const i = XY, s = yr, u = Xp, l = qc, c = uZ, d = dZ, f = dre;
|
|
45567
|
-
return ot((F(), j("div",
|
|
45568
|
-
Z("div",
|
|
45569
|
-
Z("div",
|
|
45570
|
-
|
|
45571
|
-
Z("div",
|
|
45574
|
+
return ot((F(), j("div", dde, [
|
|
45575
|
+
Z("div", pde, null, 512),
|
|
45576
|
+
Z("div", fde, [
|
|
45577
|
+
hde,
|
|
45578
|
+
Z("div", vde, [
|
|
45572
45579
|
Ce(l, {
|
|
45573
45580
|
content: e.resetLabel,
|
|
45574
45581
|
placement: "bottom",
|
|
@@ -45587,7 +45594,7 @@ function yde(e, t, n, r, o, a) {
|
|
|
45587
45594
|
]),
|
|
45588
45595
|
_: 1
|
|
45589
45596
|
}),
|
|
45590
|
-
Z("span",
|
|
45597
|
+
Z("span", gde, Ie(e.resetLabel), 1)
|
|
45591
45598
|
]),
|
|
45592
45599
|
_: 1
|
|
45593
45600
|
}, 8, ["class", "onClick"])
|
|
@@ -45612,7 +45619,7 @@ function yde(e, t, n, r, o, a) {
|
|
|
45612
45619
|
]),
|
|
45613
45620
|
_: 1
|
|
45614
45621
|
}),
|
|
45615
|
-
Z("span",
|
|
45622
|
+
Z("span", mde, Ie(e.zoomLockLabel), 1)
|
|
45616
45623
|
]),
|
|
45617
45624
|
_: 1
|
|
45618
45625
|
}, 8, ["class", "onClick"])
|
|
@@ -45621,12 +45628,12 @@ function yde(e, t, n, r, o, a) {
|
|
|
45621
45628
|
}, 8, ["content"])
|
|
45622
45629
|
])
|
|
45623
45630
|
]),
|
|
45624
|
-
e.errorMessage ? (F(), j("div",
|
|
45631
|
+
e.errorMessage ? (F(), j("div", yde, Ie(e.errorMessage), 1)) : oe("", !0)
|
|
45625
45632
|
])), [
|
|
45626
45633
|
[f, e.loading]
|
|
45627
45634
|
]);
|
|
45628
45635
|
}
|
|
45629
|
-
const
|
|
45636
|
+
const wde = /* @__PURE__ */ FE(cde, [["render", bde], ["__scopeId", "data-v-66636c8c"]]), xde = {
|
|
45630
45637
|
data() {
|
|
45631
45638
|
return {
|
|
45632
45639
|
ElIconView: iC
|
|
@@ -45699,7 +45706,7 @@ const bde = /* @__PURE__ */ FE(ude, [["render", yde], ["__scopeId", "data-v-0e21
|
|
|
45699
45706
|
this.propogateCardAction(e);
|
|
45700
45707
|
},
|
|
45701
45708
|
galleryDatalinkClicked: function(e) {
|
|
45702
|
-
|
|
45709
|
+
Sn.emit("datalink-clicked", e);
|
|
45703
45710
|
},
|
|
45704
45711
|
openDataset: function() {
|
|
45705
45712
|
window.open(this.dataLocation, "_blank");
|
|
@@ -45719,7 +45726,7 @@ const bde = /* @__PURE__ */ FE(ude, [["render", yde], ["__scopeId", "data-v-0e21
|
|
|
45719
45726
|
});
|
|
45720
45727
|
},
|
|
45721
45728
|
propogateCardAction: function(e) {
|
|
45722
|
-
|
|
45729
|
+
Sn.emit("PopoverActionClick", e), Sn.emit("contextUpdate", e);
|
|
45723
45730
|
},
|
|
45724
45731
|
splitDOI: function(e) {
|
|
45725
45732
|
return [
|
|
@@ -45793,23 +45800,23 @@ const bde = /* @__PURE__ */ FE(ude, [["render", yde], ["__scopeId", "data-v-0e21
|
|
|
45793
45800
|
this.getBanner();
|
|
45794
45801
|
}
|
|
45795
45802
|
}
|
|
45796
|
-
},
|
|
45803
|
+
}, kde = (e) => (Pl("data-v-541a51e6"), e = e(), Fl(), e), Cde = {
|
|
45797
45804
|
class: "dataset-card-container",
|
|
45798
45805
|
ref: "container"
|
|
45799
|
-
},
|
|
45806
|
+
}, Sde = {
|
|
45800
45807
|
class: "dataset-card",
|
|
45801
45808
|
ref: "card"
|
|
45802
|
-
},
|
|
45809
|
+
}, Ede = /* @__PURE__ */ kde(() => /* @__PURE__ */ Z("div", { class: "seperator-path" }, null, -1)), _de = { class: "card" }, Ode = { class: "card-left" }, Tde = { class: "card-right" }, $de = { class: "details" }, Ade = { class: "details" }, Pde = {
|
|
45803
45810
|
key: 0,
|
|
45804
45811
|
class: "details loading-icon"
|
|
45805
|
-
},
|
|
45806
|
-
function
|
|
45812
|
+
}, Fde = { class: "badges-container" }, Ide = { class: "float-button-container" };
|
|
45813
|
+
function Nde(e, t, n, r, o, a) {
|
|
45807
45814
|
const i = lS, s = No, u = m5, l = Et("CopyToClipboard"), c = Pf;
|
|
45808
|
-
return F(), j("div",
|
|
45809
|
-
Z("div",
|
|
45810
|
-
|
|
45811
|
-
ot((F(), j("div",
|
|
45812
|
-
Z("span",
|
|
45815
|
+
return F(), j("div", Cde, [
|
|
45816
|
+
Z("div", Sde, [
|
|
45817
|
+
Ede,
|
|
45818
|
+
ot((F(), j("div", _de, [
|
|
45819
|
+
Z("span", Ode, [
|
|
45813
45820
|
!e.loading && e.discoverId ? (F(), fe(i, {
|
|
45814
45821
|
key: 0,
|
|
45815
45822
|
datasetId: e.discoverId,
|
|
@@ -45824,14 +45831,14 @@ function Ide(e, t, n, r, o, a) {
|
|
|
45824
45831
|
onDatalinkClicked: a.galleryDatalinkClicked
|
|
45825
45832
|
}, null, 8, ["datasetId", "datasetVersion", "entry", "envVars", "label", "datasetThumbnail", "dataset-biolucida", "category", "onCardClicked", "onDatalinkClicked"])) : oe("", !0)
|
|
45826
45833
|
]),
|
|
45827
|
-
Z("div",
|
|
45834
|
+
Z("div", Tde, [
|
|
45828
45835
|
Z("div", {
|
|
45829
45836
|
class: "title",
|
|
45830
45837
|
onClick: t[0] || (t[0] = (...d) => a.cardClicked && a.cardClicked(...d))
|
|
45831
45838
|
}, Ie(n.entry.name), 1),
|
|
45832
|
-
Z("div",
|
|
45833
|
-
Z("div",
|
|
45834
|
-
n.entry.detailsReady ? oe("", !0) : ot((F(), j("div",
|
|
45839
|
+
Z("div", $de, Ie(a.contributors) + " " + Ie(n.entry.publishDate ? `(${a.publishYear})` : ""), 1),
|
|
45840
|
+
Z("div", Ade, Ie(a.samples), 1),
|
|
45841
|
+
n.entry.detailsReady ? oe("", !0) : ot((F(), j("div", Pde, null, 512)), [
|
|
45835
45842
|
[c, !n.entry.detailsReady]
|
|
45836
45843
|
]),
|
|
45837
45844
|
Z("div", null, [
|
|
@@ -45848,14 +45855,14 @@ function Ide(e, t, n, r, o, a) {
|
|
|
45848
45855
|
_: 1
|
|
45849
45856
|
}, 8, ["onClick", "icon"])) : oe("", !0)
|
|
45850
45857
|
]),
|
|
45851
|
-
Z("div",
|
|
45858
|
+
Z("div", Fde, [
|
|
45852
45859
|
Ce(u, {
|
|
45853
45860
|
entry: n.entry,
|
|
45854
45861
|
"dataset-biolucida": e.biolucidaData,
|
|
45855
45862
|
onCategoryChanged: a.categoryChanged
|
|
45856
45863
|
}, null, 8, ["entry", "dataset-biolucida", "onCategoryChanged"])
|
|
45857
45864
|
]),
|
|
45858
|
-
Z("div",
|
|
45865
|
+
Z("div", Ide, [
|
|
45859
45866
|
Ce(l, { content: e.copyContent }, null, 8, ["content"])
|
|
45860
45867
|
])
|
|
45861
45868
|
])
|
|
@@ -45865,11 +45872,11 @@ function Ide(e, t, n, r, o, a) {
|
|
|
45865
45872
|
], 512)
|
|
45866
45873
|
], 512);
|
|
45867
45874
|
}
|
|
45868
|
-
const eO = /* @__PURE__ */ oa(
|
|
45875
|
+
const eO = /* @__PURE__ */ oa(xde, [["render", Nde], ["__scopeId", "data-v-541a51e6"]]), vk = function(e) {
|
|
45869
45876
|
return [...new Set(e.map((t) => JSON.stringify(t)))].map(
|
|
45870
45877
|
(t) => JSON.parse(t)
|
|
45871
45878
|
);
|
|
45872
|
-
},
|
|
45879
|
+
}, Lde = {
|
|
45873
45880
|
name: "SearchHistory",
|
|
45874
45881
|
components: {
|
|
45875
45882
|
Tag: pl,
|
|
@@ -45924,14 +45931,14 @@ const eO = /* @__PURE__ */ oa(wde, [["render", Ide], ["__scopeId", "data-v-541a5
|
|
|
45924
45931
|
}
|
|
45925
45932
|
},
|
|
45926
45933
|
mounted: function() {
|
|
45927
|
-
this.getSearchHistory(),
|
|
45934
|
+
this.getSearchHistory(), Sn.on("search-changed", (e) => {
|
|
45928
45935
|
this.setSearchHistory(e);
|
|
45929
45936
|
});
|
|
45930
45937
|
}
|
|
45931
|
-
},
|
|
45932
|
-
function
|
|
45938
|
+
}, Rde = { class: "history-container" };
|
|
45939
|
+
function Bde(e, t, n, r, o, a) {
|
|
45933
45940
|
const i = pl, s = Af, u = Ac;
|
|
45934
|
-
return F(), j("div",
|
|
45941
|
+
return F(), j("div", Rde, [
|
|
45935
45942
|
(F(!0), j(ct, null, Ht(a.reversedSearchHistory, (l, c) => (F(), j(ct, null, [
|
|
45936
45943
|
c < 3 ? (F(), fe(i, {
|
|
45937
45944
|
class: "search-tag",
|
|
@@ -45965,12 +45972,12 @@ function Rde(e, t, n, r, o, a) {
|
|
|
45965
45972
|
}, 8, ["model-value", "onChange"])) : oe("", !0)
|
|
45966
45973
|
]);
|
|
45967
45974
|
}
|
|
45968
|
-
const tO = /* @__PURE__ */ oa(
|
|
45975
|
+
const tO = /* @__PURE__ */ oa(Lde, [["render", Bde], ["__scopeId", "data-v-def88150"]]), nO = (e, t) => {
|
|
45969
45976
|
const n = e.__vccOpts || e;
|
|
45970
45977
|
for (const [r, o] of t)
|
|
45971
45978
|
n[r] = o;
|
|
45972
45979
|
return n;
|
|
45973
|
-
},
|
|
45980
|
+
}, Dde = ["xlink:href"], Mde = {
|
|
45974
45981
|
__name: "SvgIcon",
|
|
45975
45982
|
props: {
|
|
45976
45983
|
/**
|
|
@@ -45994,10 +46001,10 @@ const tO = /* @__PURE__ */ oa(Nde, [["render", Rde], ["__scopeId", "data-v-def88
|
|
|
45994
46001
|
}, [
|
|
45995
46002
|
Z("use", {
|
|
45996
46003
|
"xlink:href": `#${e.icon}`
|
|
45997
|
-
}, null, 8,
|
|
46004
|
+
}, null, 8, Dde)
|
|
45998
46005
|
], 2));
|
|
45999
46006
|
}
|
|
46000
|
-
},
|
|
46007
|
+
}, zde = /* @__PURE__ */ nO(Mde, [["__scopeId", "data-v-e172d5ff"]]), rO = `<?xml version="1.0" encoding="UTF-8"?>
|
|
46001
46008
|
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
46002
46009
|
<title>2horpanel</title>
|
|
46003
46010
|
<g id="2horpanel" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
@@ -46433,7 +46440,7 @@ const tO = /* @__PURE__ */ oa(Nde, [["render", Rde], ["__scopeId", "data-v-def88
|
|
|
46433
46440
|
// replace whitespace sequences with a single space
|
|
46434
46441
|
[/\> \</g, "><"]
|
|
46435
46442
|
// remove whitespace between tags
|
|
46436
|
-
].reduce((t, n) => "".replace.apply(t, n), e).trim(),
|
|
46443
|
+
].reduce((t, n) => "".replace.apply(t, n), e).trim(), Vde = !0, jde = !0, Hde = ["fill"], W0 = /* @__PURE__ */ Object.assign({
|
|
46437
46444
|
"/assets/icons/2horpanel.svg": rO,
|
|
46438
46445
|
"/assets/icons/2vertpanel.svg": oO,
|
|
46439
46446
|
"/assets/icons/3panel.svg": aO,
|
|
@@ -46467,11 +46474,11 @@ const tO = /* @__PURE__ */ oa(Nde, [["render", Rde], ["__scopeId", "data-v-def88
|
|
|
46467
46474
|
"/assets/icons/undock.svg": IO,
|
|
46468
46475
|
"/assets/icons/zoomIn.svg": NO,
|
|
46469
46476
|
"/assets/icons/zoomOut.svg": LO
|
|
46470
|
-
}),
|
|
46471
|
-
const t = RO(W0[e],
|
|
46477
|
+
}), Ude = Object.keys(W0).map((e) => {
|
|
46478
|
+
const t = RO(W0[e], Vde, jde, Hde), n = e.replace(/^.+\/(\w+).svg$/, "$1");
|
|
46472
46479
|
return BO(t).replace("<svg", `<symbol id="${n}"`).replace("svg>", "symbol>");
|
|
46473
46480
|
});
|
|
46474
|
-
|
|
46481
|
+
Ude.join(`
|
|
46475
46482
|
`);
|
|
46476
46483
|
const G0 = /* @__PURE__ */ Object.assign({
|
|
46477
46484
|
"/assets/icons/2horpanel.svg": rO,
|
|
@@ -46507,25 +46514,25 @@ const G0 = /* @__PURE__ */ Object.assign({
|
|
|
46507
46514
|
"/assets/icons/undock.svg": IO,
|
|
46508
46515
|
"/assets/icons/zoomIn.svg": NO,
|
|
46509
46516
|
"/assets/icons/zoomOut.svg": LO
|
|
46510
|
-
}),
|
|
46517
|
+
}), qde = Object.keys(G0).map((e) => {
|
|
46511
46518
|
const t = RO(G0[e]), n = e.replace(/^.+\/(\w+).svg$/, "$1");
|
|
46512
46519
|
return BO(t).replace("<svg", `<symbol id="${n}"`).replace("svg>", "symbol>");
|
|
46513
|
-
}),
|
|
46520
|
+
}), Kde = {
|
|
46514
46521
|
name: "MapSvgSpriteColor",
|
|
46515
46522
|
svgContext: G0,
|
|
46516
|
-
svgSprite:
|
|
46523
|
+
svgSprite: qde.join(`
|
|
46517
46524
|
`)
|
|
46518
46525
|
// concatenate all symbols into $options.svgSprite
|
|
46519
|
-
},
|
|
46520
|
-
function
|
|
46526
|
+
}, Wde = ["innerHTML"];
|
|
46527
|
+
function Gde(e, t, n, r, o, a) {
|
|
46521
46528
|
return F(), j("svg", {
|
|
46522
46529
|
width: "0",
|
|
46523
46530
|
height: "0",
|
|
46524
46531
|
style: { display: "none" },
|
|
46525
46532
|
innerHTML: e.$options.svgSprite
|
|
46526
|
-
}, null, 8,
|
|
46533
|
+
}, null, 8, Wde);
|
|
46527
46534
|
}
|
|
46528
|
-
const
|
|
46535
|
+
const Xde = /* @__PURE__ */ nO(Kde, [["render", Gde]]);
|
|
46529
46536
|
var DO = { exports: {} };
|
|
46530
46537
|
/*! algoliasearch.umd.js | 4.23.2 | © Algolia, inc. | https://github.com/algolia/algoliasearch-client-javascript */
|
|
46531
46538
|
(function(e, t) {
|
|
@@ -47603,11 +47610,11 @@ var DO = { exports: {} };
|
|
|
47603
47610
|
return Iy.version = "4.23.2", Iy;
|
|
47604
47611
|
});
|
|
47605
47612
|
})(DO);
|
|
47606
|
-
var
|
|
47607
|
-
const
|
|
47613
|
+
var Yde = DO.exports;
|
|
47614
|
+
const Zde = /* @__PURE__ */ WN(Yde);
|
|
47608
47615
|
class MO {
|
|
47609
47616
|
constructor(t, n, r = "https://api.pennsieve.io") {
|
|
47610
|
-
this.client =
|
|
47617
|
+
this.client = Zde(
|
|
47611
47618
|
t,
|
|
47612
47619
|
n
|
|
47613
47620
|
), this.PENNSIEVE_API_LOCATION = r, this.anatomyFacetLabels = [];
|
|
@@ -47813,7 +47820,7 @@ function gk(e = void 0) {
|
|
|
47813
47820
|
if (e === void 0)
|
|
47814
47821
|
return "NOT item.published.status:embargo";
|
|
47815
47822
|
e.forEach((o) => o.label = o.facet);
|
|
47816
|
-
let t =
|
|
47823
|
+
let t = Jde(e), n = "NOT item.published.status:embargo";
|
|
47817
47824
|
return n = `(${n}) AND `, Ty.map((o) => o.facetPropPath).map((o) => {
|
|
47818
47825
|
let a = t.filter(
|
|
47819
47826
|
(u) => u.facetPropPath == o
|
|
@@ -47824,7 +47831,7 @@ function gk(e = void 0) {
|
|
|
47824
47831
|
}), !(i == "" && s == "") && (i = `(${i.substring(0, i.lastIndexOf(" OR "))})`, n += `${i + s} AND `, n = n.split("()AND ").join(""));
|
|
47825
47832
|
}), n.substring(0, n.lastIndexOf(" AND "));
|
|
47826
47833
|
}
|
|
47827
|
-
function
|
|
47834
|
+
function Jde(e) {
|
|
47828
47835
|
return e.filter((t) => t.label !== "Show all");
|
|
47829
47836
|
}
|
|
47830
47837
|
const lf = function(e) {
|
|
@@ -47832,11 +47839,11 @@ const lf = function(e) {
|
|
|
47832
47839
|
}, Fv = function(e) {
|
|
47833
47840
|
const t = e.toLowerCase();
|
|
47834
47841
|
return Vp[t] ? lf(Vp[t]) : lf(t);
|
|
47835
|
-
},
|
|
47842
|
+
}, Qde = {
|
|
47836
47843
|
name: "SearchFilters",
|
|
47837
47844
|
components: {
|
|
47838
|
-
MapSvgIcon:
|
|
47839
|
-
MapSvgSpriteColor:
|
|
47845
|
+
MapSvgIcon: zde,
|
|
47846
|
+
MapSvgSpriteColor: Xde,
|
|
47840
47847
|
Option: Af,
|
|
47841
47848
|
Select: Ac,
|
|
47842
47849
|
Popover: Kg,
|
|
@@ -47906,7 +47913,7 @@ const lf = function(e) {
|
|
|
47906
47913
|
populateCascader: function() {
|
|
47907
47914
|
return new Promise((e) => {
|
|
47908
47915
|
this.algoliaClient.getAlgoliaFacets(Ty).then((t) => {
|
|
47909
|
-
this.facets = t,
|
|
47916
|
+
this.facets = t, Sn.emit("available-facets", t), this.options = t, this.options.forEach((n, r) => {
|
|
47910
47917
|
this.options[r].total = this.countTotalFacet(n), this.options[r].label = Fv(n.label), this.options[r].value = this.createCascaderItemValue(
|
|
47911
47918
|
n.key,
|
|
47912
47919
|
void 0
|
|
@@ -48202,13 +48209,13 @@ const lf = function(e) {
|
|
|
48202
48209
|
this.cascaderIsReady = !0, this.checkShowAllBoxes(), this.setCascader(this.entry.filterFacets), this.cssMods(), this.$emit("cascaderReady");
|
|
48203
48210
|
});
|
|
48204
48211
|
}
|
|
48205
|
-
},
|
|
48212
|
+
}, epe = (e) => (Pl("data-v-88a79b0f"), e = e(), Fl(), e), tpe = { class: "filters" }, npe = {
|
|
48206
48213
|
key: 0,
|
|
48207
48214
|
class: "cascader-tag"
|
|
48208
|
-
},
|
|
48215
|
+
}, rpe = { class: "el-tags-container" }, ope = { class: "el-tags-container" }, ape = { class: "search-filters transition-box" }, ipe = {
|
|
48209
48216
|
key: 0,
|
|
48210
48217
|
class: "filter-default-value"
|
|
48211
|
-
},
|
|
48218
|
+
}, spe = /* @__PURE__ */ epe(() => /* @__PURE__ */ Z("div", null, [
|
|
48212
48219
|
/* @__PURE__ */ Z("strong", null, "Within categories:"),
|
|
48213
48220
|
/* @__PURE__ */ pt(" OR "),
|
|
48214
48221
|
/* @__PURE__ */ Z("br"),
|
|
@@ -48219,12 +48226,12 @@ const lf = function(e) {
|
|
|
48219
48226
|
/* @__PURE__ */ pt(" AND "),
|
|
48220
48227
|
/* @__PURE__ */ Z("br"),
|
|
48221
48228
|
/* @__PURE__ */ pt(" example: 'rat' AND 'lung' ")
|
|
48222
|
-
], -1)),
|
|
48223
|
-
function
|
|
48229
|
+
], -1)), lpe = { class: "dataset-shown" }, upe = { class: "dataset-results-feedback" };
|
|
48230
|
+
function cpe(e, t, n, r, o, a) {
|
|
48224
48231
|
const i = Et("MapSvgSpriteColor"), s = pl, u = Kg, l = l5, c = Et("MapSvgIcon"), d = Af, f = Ac, h = Pf;
|
|
48225
|
-
return F(), j("div",
|
|
48232
|
+
return F(), j("div", tpe, [
|
|
48226
48233
|
Ce(i),
|
|
48227
|
-
e.presentTags.length > 0 ? (F(), j("div",
|
|
48234
|
+
e.presentTags.length > 0 ? (F(), j("div", npe, [
|
|
48228
48235
|
Ce(s, {
|
|
48229
48236
|
class: "ml-2",
|
|
48230
48237
|
type: "info",
|
|
@@ -48243,7 +48250,7 @@ function upe(e, t, n, r, o, a) {
|
|
|
48243
48250
|
trigger: "hover"
|
|
48244
48251
|
}, {
|
|
48245
48252
|
default: ee(() => [
|
|
48246
|
-
Z("div",
|
|
48253
|
+
Z("div", rpe, [
|
|
48247
48254
|
(F(!0), j(ct, null, Ht(e.presentTags.slice(1), (p, v) => (F(), fe(s, {
|
|
48248
48255
|
key: v,
|
|
48249
48256
|
class: "ml-2",
|
|
@@ -48259,7 +48266,7 @@ function upe(e, t, n, r, o, a) {
|
|
|
48259
48266
|
])
|
|
48260
48267
|
]),
|
|
48261
48268
|
reference: ee(() => [
|
|
48262
|
-
Z("div",
|
|
48269
|
+
Z("div", ope, [
|
|
48263
48270
|
e.presentTags.length > 1 ? (F(), fe(s, {
|
|
48264
48271
|
key: 0,
|
|
48265
48272
|
class: "ml-2",
|
|
@@ -48277,7 +48284,7 @@ function upe(e, t, n, r, o, a) {
|
|
|
48277
48284
|
])) : oe("", !0),
|
|
48278
48285
|
Ce(Wr, { name: "el-zoom-in-top" }, {
|
|
48279
48286
|
default: ee(() => [
|
|
48280
|
-
ot((F(), j("span",
|
|
48287
|
+
ot((F(), j("span", ape, [
|
|
48281
48288
|
Ce(l, {
|
|
48282
48289
|
class: "cascader",
|
|
48283
48290
|
ref: "cascader",
|
|
@@ -48294,7 +48301,7 @@ function upe(e, t, n, r, o, a) {
|
|
|
48294
48301
|
"show-all-levels": !0,
|
|
48295
48302
|
"popper-class": "sidebar-cascader-popper"
|
|
48296
48303
|
}, null, 8, ["modelValue", "options", "props", "onExpandChange"]),
|
|
48297
|
-
e.showFiltersText ? (F(), j("div",
|
|
48304
|
+
e.showFiltersText ? (F(), j("div", ipe, "Filters")) : oe("", !0),
|
|
48298
48305
|
Ce(u, {
|
|
48299
48306
|
title: "How do filters work?",
|
|
48300
48307
|
width: "250",
|
|
@@ -48309,7 +48316,7 @@ function upe(e, t, n, r, o, a) {
|
|
|
48309
48316
|
})
|
|
48310
48317
|
]),
|
|
48311
48318
|
default: ee(() => [
|
|
48312
|
-
|
|
48319
|
+
spe
|
|
48313
48320
|
]),
|
|
48314
48321
|
_: 1
|
|
48315
48322
|
})
|
|
@@ -48320,8 +48327,8 @@ function upe(e, t, n, r, o, a) {
|
|
|
48320
48327
|
]),
|
|
48321
48328
|
_: 1
|
|
48322
48329
|
}),
|
|
48323
|
-
Z("div",
|
|
48324
|
-
Z("span",
|
|
48330
|
+
Z("div", lpe, [
|
|
48331
|
+
Z("span", upe, Ie(a.numberOfResultsText), 1),
|
|
48325
48332
|
Ce(f, {
|
|
48326
48333
|
class: "number-shown-select",
|
|
48327
48334
|
modelValue: e.numberShown,
|
|
@@ -48341,14 +48348,14 @@ function upe(e, t, n, r, o, a) {
|
|
|
48341
48348
|
])
|
|
48342
48349
|
]);
|
|
48343
48350
|
}
|
|
48344
|
-
const zO = /* @__PURE__ */ oa(
|
|
48345
|
-
var
|
|
48351
|
+
const zO = /* @__PURE__ */ oa(Qde, [["render", cpe], ["__scopeId", "data-v-88a79b0f"]]);
|
|
48352
|
+
var dpe = async function(e) {
|
|
48346
48353
|
if (!e.ok) {
|
|
48347
48354
|
let t = await e.json();
|
|
48348
48355
|
throw t ? new Error(t.message) : new Error(e);
|
|
48349
48356
|
}
|
|
48350
48357
|
return e;
|
|
48351
|
-
},
|
|
48358
|
+
}, ppe = {
|
|
48352
48359
|
searchInput: "",
|
|
48353
48360
|
lastSearch: "",
|
|
48354
48361
|
results: [],
|
|
@@ -48362,7 +48369,7 @@ var cpe = async function(e) {
|
|
|
48362
48369
|
hasSearched: !1,
|
|
48363
48370
|
contextCardEnabled: !1
|
|
48364
48371
|
};
|
|
48365
|
-
const
|
|
48372
|
+
const fpe = {
|
|
48366
48373
|
components: {
|
|
48367
48374
|
SearchFilters: zO,
|
|
48368
48375
|
DatasetCard: eO,
|
|
@@ -48386,7 +48393,7 @@ const ppe = {
|
|
|
48386
48393
|
},
|
|
48387
48394
|
entry: {
|
|
48388
48395
|
type: Object,
|
|
48389
|
-
default: () =>
|
|
48396
|
+
default: () => ppe
|
|
48390
48397
|
},
|
|
48391
48398
|
envVars: {
|
|
48392
48399
|
type: Object,
|
|
@@ -48448,7 +48455,7 @@ const ppe = {
|
|
|
48448
48455
|
},
|
|
48449
48456
|
searchAlgolia(e, t = "") {
|
|
48450
48457
|
this.loadingCards = !0, this.algoliaClient.anatomyInSearch(gk(e), t).then((n) => {
|
|
48451
|
-
|
|
48458
|
+
Sn.emit("anatomy-in-datasets", n.forFlatmap), Sn.emit("number-of-datasets-for-anatomies", n.forScaffold);
|
|
48452
48459
|
}), this.algoliaClient.search(gk(e), t, this.numberPerPage, this.page).then((n) => {
|
|
48453
48460
|
this.numberOfHits = n.total, this.discoverIds = n.discoverIds, this._dois = n.dois, this.results = n.items, this.loadingCards = !1, this.scrollToTop(), this.$emit("search-changed", {
|
|
48454
48461
|
value: this.searchInput,
|
|
@@ -48539,7 +48546,7 @@ const ppe = {
|
|
|
48539
48546
|
callSciCrunch: function(e, t = {}, n) {
|
|
48540
48547
|
return new Promise((r, o) => {
|
|
48541
48548
|
let a = this.envVars.API_LOCATION + this.searchEndpoint + "?" + this.createfilterParams(t);
|
|
48542
|
-
fetch(a, { signal: n }).then(
|
|
48549
|
+
fetch(a, { signal: n }).then(dpe).then((i) => i.json()).then((i) => r(i)).catch((i) => o(i));
|
|
48543
48550
|
});
|
|
48544
48551
|
},
|
|
48545
48552
|
getAlgoliaFacets: async function() {
|
|
@@ -48561,21 +48568,21 @@ const ppe = {
|
|
|
48561
48568
|
created: function() {
|
|
48562
48569
|
this.searchEndpoint = "dataset_info/using_multiple_dois/";
|
|
48563
48570
|
}
|
|
48564
|
-
},
|
|
48571
|
+
}, hpe = { class: "header" }, vpe = {
|
|
48565
48572
|
class: "content scrollbar",
|
|
48566
48573
|
ref: "content"
|
|
48567
|
-
},
|
|
48574
|
+
}, gpe = {
|
|
48568
48575
|
key: 0,
|
|
48569
48576
|
class: "error-feedback"
|
|
48570
48577
|
};
|
|
48571
|
-
function
|
|
48578
|
+
function mpe(e, t, n, r, o, a) {
|
|
48572
48579
|
const i = Of, s = No, u = zO, l = tO, c = eO, d = g5, f = XC, h = Pf;
|
|
48573
48580
|
return F(), fe(f, {
|
|
48574
48581
|
"body-style": e.bodyStyle,
|
|
48575
48582
|
class: "content-card"
|
|
48576
48583
|
}, {
|
|
48577
48584
|
header: ee(() => [
|
|
48578
|
-
Z("div",
|
|
48585
|
+
Z("div", hpe, [
|
|
48579
48586
|
Ce(i, {
|
|
48580
48587
|
class: "search-input",
|
|
48581
48588
|
placeholder: "Search",
|
|
@@ -48613,8 +48620,8 @@ function gpe(e, t, n, r, o, a) {
|
|
|
48613
48620
|
ref: "searchHistory",
|
|
48614
48621
|
onSearch: a.searchHistorySearch
|
|
48615
48622
|
}, null, 8, ["onSearch"]),
|
|
48616
|
-
ot((F(), j("div",
|
|
48617
|
-
e.results.length === 0 && !e.loadingCards ? (F(), j("div",
|
|
48623
|
+
ot((F(), j("div", vpe, [
|
|
48624
|
+
e.results.length === 0 && !e.loadingCards ? (F(), j("div", gpe, " No results found - Please change your search / filter criteria. ")) : oe("", !0),
|
|
48618
48625
|
(F(!0), j(ct, null, Ht(e.results, (p) => (F(), j("div", {
|
|
48619
48626
|
key: p.doi,
|
|
48620
48627
|
class: "step-item"
|
|
@@ -48645,7 +48652,7 @@ function gpe(e, t, n, r, o, a) {
|
|
|
48645
48652
|
_: 1
|
|
48646
48653
|
}, 8, ["body-style"]);
|
|
48647
48654
|
}
|
|
48648
|
-
const VO = /* @__PURE__ */ oa(
|
|
48655
|
+
const VO = /* @__PURE__ */ oa(fpe, [["render", mpe], ["__scopeId", "data-v-7574b21a"]]), ype = {
|
|
48649
48656
|
name: "ExternalResourceCard",
|
|
48650
48657
|
components: {
|
|
48651
48658
|
Button: No
|
|
@@ -48668,13 +48675,13 @@ const VO = /* @__PURE__ */ oa(ppe, [["render", gpe], ["__scopeId", "data-v-7574b
|
|
|
48668
48675
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
48669
48676
|
},
|
|
48670
48677
|
openUrl: function(e) {
|
|
48671
|
-
|
|
48678
|
+
Sn.emit("open-pubmed-url", e), window.open(e, "_blank");
|
|
48672
48679
|
}
|
|
48673
48680
|
}
|
|
48674
|
-
},
|
|
48675
|
-
function
|
|
48681
|
+
}, bpe = { class: "resource-container" };
|
|
48682
|
+
function wpe(e, t, n, r, o, a) {
|
|
48676
48683
|
const i = No;
|
|
48677
|
-
return F(), j("div",
|
|
48684
|
+
return F(), j("div", bpe, [
|
|
48678
48685
|
(F(!0), j(ct, null, Ht(n.resources, (s) => (F(), j("div", {
|
|
48679
48686
|
key: s.id,
|
|
48680
48687
|
class: "resource"
|
|
@@ -48694,9 +48701,9 @@ function bpe(e, t, n, r, o, a) {
|
|
|
48694
48701
|
]))), 128))
|
|
48695
48702
|
]);
|
|
48696
48703
|
}
|
|
48697
|
-
const jO = /* @__PURE__ */ oa(
|
|
48704
|
+
const jO = /* @__PURE__ */ oa(ype, [["render", wpe], ["__scopeId", "data-v-e726c314"]]), xpe = (e) => e.replace(/\w\S*/g, (t) => t.charAt(0).toUpperCase() + t.substr(1).toLowerCase()), Kd = function(e) {
|
|
48698
48705
|
return e ? e.charAt(0).toUpperCase() + e.slice(1) : "";
|
|
48699
|
-
},
|
|
48706
|
+
}, kpe = {
|
|
48700
48707
|
name: "ConnectivityInfo",
|
|
48701
48708
|
components: {
|
|
48702
48709
|
Button: No,
|
|
@@ -48707,7 +48714,7 @@ const jO = /* @__PURE__ */ oa(mpe, [["render", bpe], ["__scopeId", "data-v-e726c
|
|
|
48707
48714
|
ElIconWarning: sC,
|
|
48708
48715
|
ExternalResourceCard: jO,
|
|
48709
48716
|
CopyToClipboard: h4,
|
|
48710
|
-
ConnectivityGraph:
|
|
48717
|
+
ConnectivityGraph: wde
|
|
48711
48718
|
},
|
|
48712
48719
|
props: {
|
|
48713
48720
|
entry: {
|
|
@@ -48779,7 +48786,7 @@ const jO = /* @__PURE__ */ oa(mpe, [["render", bpe], ["__scopeId", "data-v-e726c
|
|
|
48779
48786
|
},
|
|
48780
48787
|
methods: {
|
|
48781
48788
|
titleCase: function(e) {
|
|
48782
|
-
return
|
|
48789
|
+
return xpe(e);
|
|
48783
48790
|
},
|
|
48784
48791
|
capitalise: function(e) {
|
|
48785
48792
|
return Kd(e);
|
|
@@ -48788,13 +48795,13 @@ const jO = /* @__PURE__ */ oa(mpe, [["render", bpe], ["__scopeId", "data-v-e726c
|
|
|
48788
48795
|
window.open(e, "_blank");
|
|
48789
48796
|
},
|
|
48790
48797
|
openAll: function() {
|
|
48791
|
-
|
|
48798
|
+
Sn.emit("onConnectivityActionClick", {
|
|
48792
48799
|
type: "Facets",
|
|
48793
48800
|
labels: this.entry.componentsWithDatasets.map((e) => e.name.toLowerCase())
|
|
48794
48801
|
});
|
|
48795
48802
|
},
|
|
48796
48803
|
openAxons: function() {
|
|
48797
|
-
|
|
48804
|
+
Sn.emit("onConnectivityActionClick", {
|
|
48798
48805
|
type: "Facets",
|
|
48799
48806
|
labels: this.entry.destinationsWithDatasets.map((e) => e.name.toLowerCase())
|
|
48800
48807
|
});
|
|
@@ -48813,7 +48820,7 @@ const jO = /* @__PURE__ */ oa(mpe, [["render", bpe], ["__scopeId", "data-v-e726c
|
|
|
48813
48820
|
});
|
|
48814
48821
|
},
|
|
48815
48822
|
openDendrites: function() {
|
|
48816
|
-
|
|
48823
|
+
Sn.emit("onConnectivityActionClick", {
|
|
48817
48824
|
type: "Facets",
|
|
48818
48825
|
labels: this.entry.originsWithDatasets.map((e) => e.name.toLowerCase())
|
|
48819
48826
|
});
|
|
@@ -48881,55 +48888,61 @@ const jO = /* @__PURE__ */ oa(mpe, [["render", bpe], ["__scopeId", "data-v-e726c
|
|
|
48881
48888
|
|
|
48882
48889
|
<br>`);
|
|
48883
48890
|
}
|
|
48891
|
+
},
|
|
48892
|
+
mounted: function() {
|
|
48893
|
+
Sn.on("connectivity-graph-error", (e) => {
|
|
48894
|
+
const t = this.$refs.connectivityGraphRef;
|
|
48895
|
+
t && t.showErrorMessage(e);
|
|
48896
|
+
});
|
|
48884
48897
|
}
|
|
48885
|
-
}, As = (e) => (Pl("data-v-
|
|
48898
|
+
}, As = (e) => (Pl("data-v-d8d97d65"), e = e(), Fl(), e), Cpe = {
|
|
48886
48899
|
key: 0,
|
|
48887
48900
|
class: "main"
|
|
48888
|
-
},
|
|
48901
|
+
}, Spe = { class: "connectivity-info-title" }, Epe = {
|
|
48889
48902
|
key: 0,
|
|
48890
48903
|
class: "block"
|
|
48891
|
-
},
|
|
48904
|
+
}, _pe = { class: "title" }, Ope = { style: { "word-break": "keep-all" } }, Tpe = {
|
|
48892
48905
|
key: 0,
|
|
48893
48906
|
class: "subtitle"
|
|
48894
|
-
},
|
|
48907
|
+
}, $pe = {
|
|
48895
48908
|
key: 1,
|
|
48896
48909
|
class: "block"
|
|
48897
|
-
},
|
|
48910
|
+
}, Ape = { class: "title" }, Ppe = {
|
|
48898
48911
|
key: 2,
|
|
48899
48912
|
class: "block"
|
|
48900
|
-
},
|
|
48913
|
+
}, Fpe = { class: "block" }, Ipe = { class: "title-buttons" }, Npe = /* @__PURE__ */ As(() => /* @__PURE__ */ Z("span", null, " Show connectivity on map ", -1)), Lpe = { class: "content-container" }, Rpe = {
|
|
48901
48914
|
key: 0,
|
|
48902
48915
|
class: "block"
|
|
48903
|
-
},
|
|
48916
|
+
}, Bpe = { class: "attribute-title-container" }, Dpe = /* @__PURE__ */ As(() => /* @__PURE__ */ Z("span", { class: "attribute-title" }, "Origin", -1)), Mpe = { style: { "word-break": "keep-all" } }, zpe = /* @__PURE__ */ As(() => /* @__PURE__ */ Z("i", null, "Origin", -1)), Vpe = ["origin-item-label"], jpe = {
|
|
48904
48917
|
key: 0,
|
|
48905
48918
|
class: "seperator"
|
|
48906
|
-
},
|
|
48919
|
+
}, Hpe = {
|
|
48907
48920
|
key: 1,
|
|
48908
48921
|
class: "block"
|
|
48909
|
-
},
|
|
48922
|
+
}, Upe = /* @__PURE__ */ As(() => /* @__PURE__ */ Z("div", { class: "attribute-title-container" }, [
|
|
48910
48923
|
/* @__PURE__ */ Z("div", { class: "attribute-title" }, "Components")
|
|
48911
|
-
], -1)),
|
|
48924
|
+
], -1)), qpe = ["component-item-label"], Kpe = {
|
|
48912
48925
|
key: 0,
|
|
48913
48926
|
class: "seperator"
|
|
48914
|
-
},
|
|
48927
|
+
}, Wpe = {
|
|
48915
48928
|
key: 2,
|
|
48916
48929
|
class: "block"
|
|
48917
|
-
},
|
|
48930
|
+
}, Gpe = { class: "attribute-title-container" }, Xpe = /* @__PURE__ */ As(() => /* @__PURE__ */ Z("span", { class: "attribute-title" }, "Destination", -1)), Ype = /* @__PURE__ */ As(() => /* @__PURE__ */ Z("span", { style: { "word-break": "keep-all" } }, [
|
|
48918
48931
|
/* @__PURE__ */ Z("i", null, "Destination"),
|
|
48919
48932
|
/* @__PURE__ */ pt(" is where the axons terminate ")
|
|
48920
|
-
], -1)),
|
|
48933
|
+
], -1)), Zpe = ["destination-item-label"], Jpe = {
|
|
48921
48934
|
key: 0,
|
|
48922
48935
|
class: "seperator"
|
|
48923
|
-
},
|
|
48936
|
+
}, Qpe = { class: "block" }, efe = { class: "content-container" }, tfe = /* @__PURE__ */ As(() => /* @__PURE__ */ Z("div", { class: "attribute-title-container" }, [
|
|
48924
48937
|
/* @__PURE__ */ Z("span", { class: "attribute-title" }, "Connectivity Graph")
|
|
48925
48938
|
], -1));
|
|
48926
|
-
function
|
|
48939
|
+
function nfe(e, t, n, r, o, a) {
|
|
48927
48940
|
const i = dF, s = un, u = Kg, l = jO, c = No, d = aF, f = Et("CopyToClipboard"), h = sC, p = Et("connectivity-graph"), v = Pf;
|
|
48928
|
-
return n.entry ? ot((F(), j("div",
|
|
48929
|
-
Z("div",
|
|
48941
|
+
return n.entry ? ot((F(), j("div", Cpe, [
|
|
48942
|
+
Z("div", Spe, [
|
|
48930
48943
|
Z("div", null, [
|
|
48931
|
-
n.entry.title ? (F(), j("div",
|
|
48932
|
-
Z("div",
|
|
48944
|
+
n.entry.title ? (F(), j("div", Epe, [
|
|
48945
|
+
Z("div", _pe, [
|
|
48933
48946
|
pt(Ie(a.capitalise(n.entry.title)) + " ", 1),
|
|
48934
48947
|
n.entry.featuresAlert ? (F(), fe(u, {
|
|
48935
48948
|
key: 0,
|
|
@@ -48947,19 +48960,19 @@ function tfe(e, t, n, r, o, a) {
|
|
|
48947
48960
|
})
|
|
48948
48961
|
]),
|
|
48949
48962
|
default: ee(() => [
|
|
48950
|
-
Z("span",
|
|
48963
|
+
Z("span", Ope, Ie(n.entry.featuresAlert), 1)
|
|
48951
48964
|
]),
|
|
48952
48965
|
_: 1
|
|
48953
48966
|
})) : oe("", !0)
|
|
48954
48967
|
]),
|
|
48955
|
-
n.entry.provenanceTaxonomyLabel && n.entry.provenanceTaxonomyLabel.length > 0 ? (F(), j("div",
|
|
48956
|
-
])) : (F(), j("div",
|
|
48957
|
-
Z("div",
|
|
48968
|
+
n.entry.provenanceTaxonomyLabel && n.entry.provenanceTaxonomyLabel.length > 0 ? (F(), j("div", Tpe, Ie(a.provSpeciesDescription), 1)) : oe("", !0)
|
|
48969
|
+
])) : (F(), j("div", $pe, [
|
|
48970
|
+
Z("div", Ape, Ie(n.entry.featureId), 1)
|
|
48958
48971
|
])),
|
|
48959
|
-
a.resources.length ? (F(), j("div",
|
|
48972
|
+
a.resources.length ? (F(), j("div", Ppe, [
|
|
48960
48973
|
Ce(l, { resources: a.resources }, null, 8, ["resources"])
|
|
48961
48974
|
])) : oe("", !0),
|
|
48962
|
-
Z("div",
|
|
48975
|
+
Z("div", Fpe, [
|
|
48963
48976
|
Ce(c, {
|
|
48964
48977
|
class: "button",
|
|
48965
48978
|
onClick: t[0] || (t[0] = (m) => a.goToConnectivityGraph())
|
|
@@ -48971,7 +48984,7 @@ function tfe(e, t, n, r, o, a) {
|
|
|
48971
48984
|
})
|
|
48972
48985
|
])
|
|
48973
48986
|
]),
|
|
48974
|
-
Z("div",
|
|
48987
|
+
Z("div", Ipe, [
|
|
48975
48988
|
Ce(u, {
|
|
48976
48989
|
width: "auto",
|
|
48977
48990
|
trigger: "hover",
|
|
@@ -48996,18 +49009,18 @@ function tfe(e, t, n, r, o, a) {
|
|
|
48996
49009
|
})
|
|
48997
49010
|
]),
|
|
48998
49011
|
default: ee(() => [
|
|
48999
|
-
|
|
49012
|
+
Npe
|
|
49000
49013
|
]),
|
|
49001
49014
|
_: 1
|
|
49002
49015
|
}),
|
|
49003
49016
|
Ce(f, { content: a.updatedCopyContent }, null, 8, ["content"])
|
|
49004
49017
|
])
|
|
49005
49018
|
]),
|
|
49006
|
-
Z("div",
|
|
49019
|
+
Z("div", Lpe, [
|
|
49007
49020
|
pt(Ie(n.entry.paths) + " ", 1),
|
|
49008
|
-
n.entry.origins && n.entry.origins.length > 0 ? (F(), j("div",
|
|
49009
|
-
Z("div",
|
|
49010
|
-
|
|
49021
|
+
n.entry.origins && n.entry.origins.length > 0 ? (F(), j("div", Rpe, [
|
|
49022
|
+
Z("div", Bpe, [
|
|
49023
|
+
Dpe,
|
|
49011
49024
|
Ce(u, {
|
|
49012
49025
|
width: "250",
|
|
49013
49026
|
trigger: "hover",
|
|
@@ -49023,8 +49036,8 @@ function tfe(e, t, n, r, o, a) {
|
|
|
49023
49036
|
})
|
|
49024
49037
|
]),
|
|
49025
49038
|
default: ee(() => [
|
|
49026
|
-
Z("span",
|
|
49027
|
-
|
|
49039
|
+
Z("span", Mpe, [
|
|
49040
|
+
zpe,
|
|
49028
49041
|
pt(" " + Ie(a.originDescription), 1)
|
|
49029
49042
|
])
|
|
49030
49043
|
]),
|
|
@@ -49037,8 +49050,8 @@ function tfe(e, t, n, r, o, a) {
|
|
|
49037
49050
|
key: m
|
|
49038
49051
|
}, [
|
|
49039
49052
|
pt(Ie(a.capitalise(m)) + " ", 1),
|
|
49040
|
-
g != n.entry.origins.length - 1 ? (F(), j("div",
|
|
49041
|
-
], 8,
|
|
49053
|
+
g != n.entry.origins.length - 1 ? (F(), j("div", jpe)) : oe("", !0)
|
|
49054
|
+
], 8, Vpe))), 128)),
|
|
49042
49055
|
ot(Ce(c, {
|
|
49043
49056
|
class: "button",
|
|
49044
49057
|
id: "open-dendrites-button",
|
|
@@ -49055,20 +49068,20 @@ function tfe(e, t, n, r, o, a) {
|
|
|
49055
49068
|
]
|
|
49056
49069
|
])
|
|
49057
49070
|
])) : oe("", !0),
|
|
49058
|
-
n.entry.components && n.entry.components.length > 0 ? (F(), j("div",
|
|
49059
|
-
|
|
49071
|
+
n.entry.components && n.entry.components.length > 0 ? (F(), j("div", Hpe, [
|
|
49072
|
+
Upe,
|
|
49060
49073
|
(F(!0), j(ct, null, Ht(n.entry.components, (m, g) => (F(), j("div", {
|
|
49061
49074
|
class: "attribute-content",
|
|
49062
49075
|
"component-item-label": m,
|
|
49063
49076
|
key: m
|
|
49064
49077
|
}, [
|
|
49065
49078
|
pt(Ie(a.capitalise(m)) + " ", 1),
|
|
49066
|
-
g != n.entry.components.length - 1 ? (F(), j("div",
|
|
49067
|
-
], 8,
|
|
49079
|
+
g != n.entry.components.length - 1 ? (F(), j("div", Kpe)) : oe("", !0)
|
|
49080
|
+
], 8, qpe))), 128))
|
|
49068
49081
|
])) : oe("", !0),
|
|
49069
|
-
n.entry.destinations && n.entry.destinations.length > 0 ? (F(), j("div",
|
|
49070
|
-
Z("div",
|
|
49071
|
-
|
|
49082
|
+
n.entry.destinations && n.entry.destinations.length > 0 ? (F(), j("div", Wpe, [
|
|
49083
|
+
Z("div", Gpe, [
|
|
49084
|
+
Xpe,
|
|
49072
49085
|
Ce(u, {
|
|
49073
49086
|
width: "250",
|
|
49074
49087
|
trigger: "hover",
|
|
@@ -49084,7 +49097,7 @@ function tfe(e, t, n, r, o, a) {
|
|
|
49084
49097
|
})
|
|
49085
49098
|
]),
|
|
49086
49099
|
default: ee(() => [
|
|
49087
|
-
|
|
49100
|
+
Ype
|
|
49088
49101
|
]),
|
|
49089
49102
|
_: 1
|
|
49090
49103
|
})
|
|
@@ -49095,8 +49108,8 @@ function tfe(e, t, n, r, o, a) {
|
|
|
49095
49108
|
key: m
|
|
49096
49109
|
}, [
|
|
49097
49110
|
pt(Ie(a.capitalise(m)) + " ", 1),
|
|
49098
|
-
g != n.entry.destinations.length - 1 ? (F(), j("div",
|
|
49099
|
-
], 8,
|
|
49111
|
+
g != n.entry.destinations.length - 1 ? (F(), j("div", Jpe)) : oe("", !0)
|
|
49112
|
+
], 8, Zpe))), 128)),
|
|
49100
49113
|
ot(Ce(c, {
|
|
49101
49114
|
class: "button",
|
|
49102
49115
|
onClick: a.openAxons
|
|
@@ -49112,7 +49125,7 @@ function tfe(e, t, n, r, o, a) {
|
|
|
49112
49125
|
]
|
|
49113
49126
|
])
|
|
49114
49127
|
])) : oe("", !0),
|
|
49115
|
-
ot(Z("div",
|
|
49128
|
+
ot(Z("div", Qpe, [
|
|
49116
49129
|
Ce(c, {
|
|
49117
49130
|
class: "button",
|
|
49118
49131
|
onClick: a.openAll
|
|
@@ -49129,8 +49142,8 @@ function tfe(e, t, n, r, o, a) {
|
|
|
49129
49142
|
]
|
|
49130
49143
|
])
|
|
49131
49144
|
]),
|
|
49132
|
-
Z("div",
|
|
49133
|
-
|
|
49145
|
+
Z("div", efe, [
|
|
49146
|
+
tfe,
|
|
49134
49147
|
Ce(p, {
|
|
49135
49148
|
entry: n.entry.featureId[0],
|
|
49136
49149
|
mapServer: n.envVars.FLATMAPAPI_LOCATION,
|
|
@@ -49142,7 +49155,7 @@ function tfe(e, t, n, r, o, a) {
|
|
|
49142
49155
|
[v, e.loading]
|
|
49143
49156
|
]) : oe("", !0);
|
|
49144
49157
|
}
|
|
49145
|
-
const HO = /* @__PURE__ */ oa(
|
|
49158
|
+
const HO = /* @__PURE__ */ oa(kpe, [["render", nfe], ["__scopeId", "data-v-d8d97d65"]]), rfe = {
|
|
49146
49159
|
name: "Tabs",
|
|
49147
49160
|
props: {
|
|
49148
49161
|
tabTitles: {
|
|
@@ -49162,10 +49175,10 @@ const HO = /* @__PURE__ */ oa(xpe, [["render", tfe], ["__scopeId", "data-v-b0aea
|
|
|
49162
49175
|
this.$emit("tab-close", e);
|
|
49163
49176
|
}
|
|
49164
49177
|
}
|
|
49165
|
-
},
|
|
49166
|
-
function
|
|
49178
|
+
}, ofe = (e) => (Pl("data-v-ed1ce6dc"), e = e(), Fl(), e), afe = { class: "tab-container" }, ife = ["onClick"], sfe = { class: "title-text" }, lfe = /* @__PURE__ */ ofe(() => /* @__PURE__ */ Z("span", { class: "visually-hidden" }, "Close", -1));
|
|
49179
|
+
function ufe(e, t, n, r, o, a) {
|
|
49167
49180
|
const i = No;
|
|
49168
|
-
return F(), j("div",
|
|
49181
|
+
return F(), j("div", afe, [
|
|
49169
49182
|
(F(!0), j(ct, null, Ht(n.tabTitles, (s) => (F(), j("div", {
|
|
49170
49183
|
class: W(["title", { "active-tab": s.id == n.activeId }]),
|
|
49171
49184
|
key: s.id
|
|
@@ -49174,8 +49187,8 @@ function lfe(e, t, n, r, o, a) {
|
|
|
49174
49187
|
class: W(["title-text-table", { highlightText: s.id == n.activeId }]),
|
|
49175
49188
|
onClick: (u) => a.titleClicked(s.id, s.type)
|
|
49176
49189
|
}, [
|
|
49177
|
-
Z("div",
|
|
49178
|
-
], 10,
|
|
49190
|
+
Z("div", sfe, Ie(s.title), 1)
|
|
49191
|
+
], 10, ife),
|
|
49179
49192
|
s.id > 1 ? (F(), fe(i, {
|
|
49180
49193
|
key: 0,
|
|
49181
49194
|
onClick: (u) => a.tabClose(s.id),
|
|
@@ -49184,14 +49197,14 @@ function lfe(e, t, n, r, o, a) {
|
|
|
49184
49197
|
}, {
|
|
49185
49198
|
default: ee(() => [
|
|
49186
49199
|
pt(" × "),
|
|
49187
|
-
|
|
49200
|
+
lfe
|
|
49188
49201
|
]),
|
|
49189
49202
|
_: 2
|
|
49190
49203
|
}, 1032, ["onClick"])) : oe("", !0)
|
|
49191
49204
|
], 2))), 128))
|
|
49192
49205
|
]);
|
|
49193
49206
|
}
|
|
49194
|
-
const UO = /* @__PURE__ */ oa(
|
|
49207
|
+
const UO = /* @__PURE__ */ oa(rfe, [["render", ufe], ["__scopeId", "data-v-ed1ce6dc"]]), cfe = {
|
|
49195
49208
|
components: {
|
|
49196
49209
|
SidebarContent: VO,
|
|
49197
49210
|
Tabs: UO,
|
|
@@ -49366,32 +49379,39 @@ const UO = /* @__PURE__ */ oa(nfe, [["render", lfe], ["__scopeId", "data-v-ed1ce
|
|
|
49366
49379
|
},
|
|
49367
49380
|
tabClose: function(e) {
|
|
49368
49381
|
this.$emit("connectivity-info-close");
|
|
49382
|
+
},
|
|
49383
|
+
/**
|
|
49384
|
+
* To receive error message for connectivity graph
|
|
49385
|
+
* @param {String} errorMessage
|
|
49386
|
+
*/
|
|
49387
|
+
updateConnectivityGraphError: function(e) {
|
|
49388
|
+
Sn.emit("connectivity-graph-error", e);
|
|
49369
49389
|
}
|
|
49370
49390
|
},
|
|
49371
49391
|
created: function() {
|
|
49372
49392
|
this.drawerOpen = this.openAtStart;
|
|
49373
49393
|
},
|
|
49374
49394
|
mounted: function() {
|
|
49375
|
-
|
|
49395
|
+
Sn.on("PopoverActionClick", (e) => {
|
|
49376
49396
|
this.$emit("actionClick", e);
|
|
49377
|
-
}),
|
|
49397
|
+
}), Sn.on("number-of-datasets-for-anatomies", (e) => {
|
|
49378
49398
|
this.$emit("number-of-datasets-for-anatomies", e);
|
|
49379
|
-
}),
|
|
49399
|
+
}), Sn.on("anatomy-in-datasets", (e) => {
|
|
49380
49400
|
this.$emit("anatomy-in-datasets", e);
|
|
49381
|
-
}),
|
|
49401
|
+
}), Sn.on("contextUpdate", (e) => {
|
|
49382
49402
|
this.$emit("contextUpdate", e);
|
|
49383
|
-
}),
|
|
49403
|
+
}), Sn.on("datalink-clicked", (e) => {
|
|
49384
49404
|
this.$emit("datalink-clicked", e);
|
|
49385
|
-
}),
|
|
49405
|
+
}), Sn.on("onConnectivityActionClick", (e) => {
|
|
49386
49406
|
this.tabClicked({ id: 1, type: "search" }), this.$emit("actionClick", e);
|
|
49387
|
-
}),
|
|
49407
|
+
}), Sn.on("available-facets", (e) => {
|
|
49388
49408
|
this.availableAnatomyFacets = e.find((t) => t.label === "Anatomical Structure").children;
|
|
49389
49409
|
});
|
|
49390
49410
|
}
|
|
49391
|
-
},
|
|
49392
|
-
function
|
|
49411
|
+
}, dfe = { ref: "container" }, pfe = { class: "box-card" }, ffe = { class: "sidebar-container" };
|
|
49412
|
+
function hfe(e, t, n, r, o, a) {
|
|
49393
49413
|
const i = kg, s = un, u = wf, l = UO, c = HO, d = VO, f = Hg;
|
|
49394
|
-
return F(), j("div",
|
|
49414
|
+
return F(), j("div", dfe, [
|
|
49395
49415
|
e.drawerOpen ? oe("", !0) : (F(), j("div", {
|
|
49396
49416
|
key: 0,
|
|
49397
49417
|
onClick: t[0] || (t[0] = (...h) => a.toggleDrawer && a.toggleDrawer(...h)),
|
|
@@ -49419,7 +49439,7 @@ function ffe(e, t, n, r, o, a) {
|
|
|
49419
49439
|
"lock-scroll": !1
|
|
49420
49440
|
}, {
|
|
49421
49441
|
default: ee(() => [
|
|
49422
|
-
Z("div",
|
|
49442
|
+
Z("div", pfe, [
|
|
49423
49443
|
e.drawerOpen ? (F(), j("div", {
|
|
49424
49444
|
key: 0,
|
|
49425
49445
|
onClick: t[1] || (t[1] = (...h) => a.close && a.close(...h)),
|
|
@@ -49432,7 +49452,7 @@ function ffe(e, t, n, r, o, a) {
|
|
|
49432
49452
|
_: 1
|
|
49433
49453
|
})
|
|
49434
49454
|
])) : oe("", !0),
|
|
49435
|
-
Z("div",
|
|
49455
|
+
Z("div", ffe, [
|
|
49436
49456
|
n.tabs.length > 1 && n.connectivityInfo ? (F(), fe(l, {
|
|
49437
49457
|
key: 0,
|
|
49438
49458
|
tabTitles: n.tabs,
|
|
@@ -49472,7 +49492,7 @@ function ffe(e, t, n, r, o, a) {
|
|
|
49472
49492
|
}, 8, ["modelValue"])
|
|
49473
49493
|
], 512);
|
|
49474
49494
|
}
|
|
49475
|
-
const
|
|
49495
|
+
const mfe = /* @__PURE__ */ oa(cfe, [["render", hfe], ["__scopeId", "data-v-d9b833f7"]]);
|
|
49476
49496
|
export {
|
|
49477
|
-
|
|
49497
|
+
mfe as SideBar
|
|
49478
49498
|
};
|