@abi-software/flatmapvuer 1.15.0 → 1.16.1-demo.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/flatmapvuer.js +438 -379
- package/dist/flatmapvuer.umd.cjs +18 -10
- package/dist/style.css +1 -1
- package/package.json +11 -5
- package/src/assets/fonts.scss +2 -0
- package/src/assets/styles.scss +0 -2
- package/src/components/FlatmapVuer.vue +4 -3
- package/src/components/MultiFlatmapVuer.vue +3 -1
- package/src/components/index.js +1 -0
- package/src/main.js +1 -0
- package/src/services/somaLocationMarkers.js +125 -0
- package/vite.config.js +12 -4
package/dist/flatmapvuer.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { Comment as e, Fragment as t, Teleport as n, Text as r, Transition as i, cloneVNode as a, computed as o, createApp as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as f, createStaticVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, getCurrentInstance as _, getCurrentScope as v, h as y, inject as b, isRef as x, isVNode as S, markRaw as C, mergeProps as w, nextTick as T, normalizeClass as E, normalizeStyle as D, onActivated as O, onBeforeMount as k, onBeforeUnmount as A, onDeactivated as j, onMounted as M, onScopeDispose as
|
|
1
|
+
import { Comment as e, Fragment as t, Teleport as n, Text as r, Transition as i, cloneVNode as a, computed as o, createApp as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as f, createStaticVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, getCurrentInstance as _, getCurrentScope as v, h as y, inject as b, isRef as x, isVNode as S, markRaw as C, mergeProps as w, nextTick as T, normalizeClass as E, normalizeStyle as D, onActivated as O, onBeforeMount as k, onBeforeUnmount as A, onDeactivated as j, onMounted as M, onScopeDispose as ee, onUnmounted as te, onUpdated as ne, openBlock as N, provide as P, reactive as re, readonly as ie, ref as F, renderList as I, renderSlot as L, resolveComponent as R, resolveDirective as ae, resolveDynamicComponent as z, shallowReadonly as oe, shallowRef as se, toDisplayString as B, toHandlerKey as ce, toRaw as le, toRef as V, toRefs as ue, toValue as de, unref as H, useSlots as fe, vModelCheckbox as pe, vModelRadio as me, vShow as he, warn as ge, watch as U, watchEffect as _e, withCtx as W, withDirectives as G, withModifiers as ve } from "vue";
|
|
2
2
|
import { ArrowDown as ye, ArrowLeft as be, CircleCheck as xe, CircleClose as Se, Close as Ce, DocumentDelete as we, Loading as Te, Warning as Ee, WarningFilled as De } from "@element-plus/icons-vue";
|
|
3
3
|
import { MapSvgIcon as Oe, MapSvgSpriteColor as ke } from "@abi-software/svg-sprite";
|
|
4
|
+
import "@abi-software/svg-sprite/dist/style.css";
|
|
4
5
|
import { DrawToolbar as Ae, Tooltip as je, TreeControls as Me, fetchLabels as Ne, getFlatmapFilterOptions as Pe, querySingleConnectivityList as Fe } from "@abi-software/map-utilities";
|
|
5
6
|
import * as Ie from "https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.4.5/+esm";
|
|
6
7
|
import { AnnotationService as Le } from "@abi-software/sparc-annotation";
|
|
7
8
|
import { defineStore as Re, mapState as ze } from "pinia";
|
|
9
|
+
import "@abi-software/map-utilities/dist/style.css";
|
|
8
10
|
//#region \0rolldown/runtime.js
|
|
9
11
|
var Be = Object.create, Ve = Object.defineProperty, He = Object.getOwnPropertyDescriptor, Ue = Object.getOwnPropertyNames, We = Object.getPrototypeOf, Ge = Object.prototype.hasOwnProperty, Ke = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), qe = (e, t, n, r) => {
|
|
10
12
|
if (t && typeof t == "object" || typeof t == "function") for (var i = Ue(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !Ge.call(e, s) && s !== n && Ve(e, s, {
|
|
@@ -46,10 +48,10 @@ function Qe(e, t) {
|
|
|
46
48
|
}, {
|
|
47
49
|
...t,
|
|
48
50
|
flush: t?.flush ?? "sync"
|
|
49
|
-
}),
|
|
51
|
+
}), ie(n);
|
|
50
52
|
}
|
|
51
53
|
function $e(e, t) {
|
|
52
|
-
return v() ? (
|
|
54
|
+
return v() ? (ee(e, t), !0) : !1;
|
|
53
55
|
}
|
|
54
56
|
var q = typeof window < "u" && typeof document < "u";
|
|
55
57
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
@@ -1686,7 +1688,7 @@ function bl(e, t) {
|
|
|
1686
1688
|
//#endregion
|
|
1687
1689
|
//#region node_modules/element-plus/es/hooks/use-calc-input-width/index.mjs
|
|
1688
1690
|
function xl() {
|
|
1689
|
-
let e = se(), t =
|
|
1691
|
+
let e = se(), t = F(0), n = o(() => ({ minWidth: `${Math.max(t.value, 11)}px` }));
|
|
1690
1692
|
return bt(e, () => {
|
|
1691
1693
|
t.value = e.value?.getBoundingClientRect().width ?? 0;
|
|
1692
1694
|
}), {
|
|
@@ -1736,7 +1738,7 @@ var jl = (e, t, n, r) => {
|
|
|
1736
1738
|
let i = {
|
|
1737
1739
|
offsetX: 0,
|
|
1738
1740
|
offsetY: 0
|
|
1739
|
-
}, a =
|
|
1741
|
+
}, a = F(!1), o = (t, n) => {
|
|
1740
1742
|
if (e.value) {
|
|
1741
1743
|
let { offsetX: a, offsetY: o } = i, s = e.value.getBoundingClientRect(), c = Math.max(s.left, 0), l = Math.max(s.top, 0), u = s.width, d = s.height, f = document.documentElement.clientWidth, p = document.documentElement.clientHeight, m = -c + a, h = -l + o, g = f - c - u + a, _ = p - l - (d < p ? d : 0) + o;
|
|
1742
1744
|
r?.value || (t = Ea(t, m, g), n = Ea(n, h, _)), i.offsetX = t, i.offsetY = n, e.value.style.transform = `translate(${Al(t)}, ${Al(n)})`;
|
|
@@ -1952,16 +1954,16 @@ var jl = (e, t, n, r) => {
|
|
|
1952
1954
|
}
|
|
1953
1955
|
}, Nl = (e) => (t, n) => Pl(t, n, H(e)), Pl = (e, t, n) => ca(n, e, e).replace(/\{(\w+)\}/g, (e, n) => `${t?.[n] ?? `{${n}}`}`), Fl = (e) => ({
|
|
1954
1956
|
lang: o(() => H(e).name),
|
|
1955
|
-
locale: x(e) ? e :
|
|
1957
|
+
locale: x(e) ? e : F(e),
|
|
1956
1958
|
t: Nl(e)
|
|
1957
1959
|
}), Il = Symbol("localeContextKey"), Ll = (e) => {
|
|
1958
|
-
let t = e || b(Il,
|
|
1960
|
+
let t = e || b(Il, F());
|
|
1959
1961
|
return Fl(o(() => t.value || Ml));
|
|
1960
1962
|
}, Rl = "is-", zl = (e, t, n, r, i) => {
|
|
1961
1963
|
let a = `${e}-${t}`;
|
|
1962
1964
|
return n && (a += `-${n}`), r && (a += `__${r}`), i && (a += `--${i}`), a;
|
|
1963
1965
|
}, Bl = Symbol("namespaceContextKey"), Vl = (e) => {
|
|
1964
|
-
let t = e || (_() ? b(Bl,
|
|
1966
|
+
let t = e || (_() ? b(Bl, F("el")) : F("el"));
|
|
1965
1967
|
return o(() => H(t) || "el");
|
|
1966
1968
|
}, $ = (e, t) => {
|
|
1967
1969
|
let n = Vl(t);
|
|
@@ -2031,7 +2033,7 @@ var Gl = (e, t = {}) => {
|
|
|
2031
2033
|
c = !1, a = !El(document.body, r.value), a && (s = document.body.style.width, Dl(document.body, r.value)), i = Ul(n.namespace.value);
|
|
2032
2034
|
let t = document.documentElement.clientHeight < document.body.scrollHeight, o = kl(document.body, "overflowY");
|
|
2033
2035
|
i > 0 && (t || o === "scroll") && a && (document.body.style.width = `calc(100% - ${i}px)`);
|
|
2034
|
-
}),
|
|
2036
|
+
}), ee(() => l());
|
|
2035
2037
|
}, Kl = _l({
|
|
2036
2038
|
type: Z(Boolean),
|
|
2037
2039
|
default: null
|
|
@@ -2602,16 +2604,16 @@ function xd(e) {
|
|
|
2602
2604
|
padding: l
|
|
2603
2605
|
}), M = k ? O ? eu : tu : O ? $l : "top";
|
|
2604
2606
|
b[A] > x[A] && (M = nd(M));
|
|
2605
|
-
var
|
|
2606
|
-
if (a &&
|
|
2607
|
+
var ee = nd(M), te = [];
|
|
2608
|
+
if (a && te.push(j[D] <= 0), s && te.push(j[M] <= 0, j[ee] <= 0), te.every(function(e) {
|
|
2607
2609
|
return e;
|
|
2608
2610
|
})) {
|
|
2609
2611
|
w = E, C = !1;
|
|
2610
2612
|
break;
|
|
2611
2613
|
}
|
|
2612
|
-
S.set(E,
|
|
2614
|
+
S.set(E, te);
|
|
2613
2615
|
}
|
|
2614
|
-
if (C) for (var
|
|
2616
|
+
if (C) for (var ne = m ? 3 : 1, N = function(e) {
|
|
2615
2617
|
var t = y.find(function(t) {
|
|
2616
2618
|
var n = S.get(t);
|
|
2617
2619
|
if (n) return n.slice(0, e).every(function(e) {
|
|
@@ -2619,7 +2621,7 @@ function xd(e) {
|
|
|
2619
2621
|
});
|
|
2620
2622
|
});
|
|
2621
2623
|
if (t) return w = t, "break";
|
|
2622
|
-
},
|
|
2624
|
+
}, P = ne; P > 0 && N(P) !== "break"; P--);
|
|
2623
2625
|
t.placement !== w && (t.modifiersData[r]._skip = !0, t.placement = w, t.reset = !0);
|
|
2624
2626
|
}
|
|
2625
2627
|
}
|
|
@@ -2730,10 +2732,10 @@ function Nd(e) {
|
|
|
2730
2732
|
};
|
|
2731
2733
|
if (S) {
|
|
2732
2734
|
if (a) {
|
|
2733
|
-
var k = b === "y" ? "top" : tu, A = b === "y" ? $l : eu, j = b === "y" ? "height" : "width", M = S[b],
|
|
2735
|
+
var k = b === "y" ? "top" : tu, A = b === "y" ? $l : eu, j = b === "y" ? "height" : "width", M = S[b], ee = M + g[k], te = M - g[A], ne = p ? -w[j] / 2 : 0, N = v === "start" ? C[j] : w[j], P = v === "start" ? -w[j] : -C[j], re = t.elements.arrow, ie = p && re ? Du(re) : {
|
|
2734
2736
|
width: 0,
|
|
2735
2737
|
height: 0
|
|
2736
|
-
},
|
|
2738
|
+
}, F = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : zu(), I = F[k], L = F[A], R = Lu(0, C[j], ie[j]), ae = y ? C[j] / 2 - ne - R - I - E.mainAxis : N - R - I - E.mainAxis, z = y ? -C[j] / 2 + ne + R + L + E.mainAxis : P + R + L + E.mainAxis, oe = t.elements.arrow && Fu(t.elements.arrow), se = oe ? b === "y" ? oe.clientTop || 0 : oe.clientLeft || 0 : 0, B = D?.[b] ?? 0, ce = M + ae - B - se, le = M + z - B, V = Lu(p ? Su(ee, ce) : ee, M, p ? xu(te, le) : te);
|
|
2737
2739
|
S[b] = V, O[b] = V - M;
|
|
2738
2740
|
}
|
|
2739
2741
|
if (s) {
|
|
@@ -2967,7 +2969,7 @@ var Kd = Gd({ defaultModifiers: [
|
|
|
2967
2969
|
}
|
|
2968
2970
|
]
|
|
2969
2971
|
};
|
|
2970
|
-
}), a = se(), s =
|
|
2972
|
+
}), a = se(), s = F({
|
|
2971
2973
|
styles: {
|
|
2972
2974
|
popper: {
|
|
2973
2975
|
position: H(i).strategy,
|
|
@@ -3108,7 +3110,7 @@ var Zd = {
|
|
|
3108
3110
|
}
|
|
3109
3111
|
};
|
|
3110
3112
|
}, df = Symbol("elForwardRef"), ff = (e) => {
|
|
3111
|
-
|
|
3113
|
+
P(df, { setForwardRef: ((t) => {
|
|
3112
3114
|
e.value = t;
|
|
3113
3115
|
}) });
|
|
3114
3116
|
}, pf = (e) => ({
|
|
@@ -3121,7 +3123,7 @@ var Zd = {
|
|
|
3121
3123
|
unmounted() {
|
|
3122
3124
|
e(null);
|
|
3123
3125
|
}
|
|
3124
|
-
}), mf = { current: 0 }, hf =
|
|
3126
|
+
}), mf = { current: 0 }, hf = F(0), gf = 2e3, _f = Symbol("elZIndexContextKey"), vf = Symbol("zIndexContextKey"), yf = (e) => {
|
|
3125
3127
|
let t = _() ? b(_f, mf) : mf, n = e || (_() ? b(vf, void 0) : void 0), r = o(() => {
|
|
3126
3128
|
let e = H(n);
|
|
3127
3129
|
return $c(e) ? e : gf;
|
|
@@ -3147,7 +3149,7 @@ var Zd = {
|
|
|
3147
3149
|
//#endregion
|
|
3148
3150
|
//#region node_modules/element-plus/es/hooks/use-focus-controller/index.mjs
|
|
3149
3151
|
function wf(e, { disabled: t, beforeFocus: n, afterFocus: r, beforeBlur: i, afterBlur: a } = {}) {
|
|
3150
|
-
let { emit: o } = _(), s = se(), c =
|
|
3152
|
+
let { emit: o } = _(), s = se(), c = F(!1), l = (e) => {
|
|
3151
3153
|
let i = Tt(n) ? n(e) : !1;
|
|
3152
3154
|
H(t) || c.value || i || (c.value = !0, o("focus", e), r?.());
|
|
3153
3155
|
}, u = (e) => {
|
|
@@ -3168,7 +3170,7 @@ function wf(e, { disabled: t, beforeFocus: n, afterFocus: r, beforeBlur: i, afte
|
|
|
3168
3170
|
//#endregion
|
|
3169
3171
|
//#region node_modules/element-plus/es/hooks/use-composition/index.mjs
|
|
3170
3172
|
function Tf({ afterComposition: e, emit: t }) {
|
|
3171
|
-
let n =
|
|
3173
|
+
let n = F(!1), r = (e) => {
|
|
3172
3174
|
t?.("compositionstart", e), n.value = !0;
|
|
3173
3175
|
}, i = (e) => {
|
|
3174
3176
|
t?.("compositionupdate", e), n.value = !0;
|
|
@@ -3204,7 +3206,7 @@ var Ef = Symbol("emptyValuesContextKey"), Df = "use-empty-values", Of = [
|
|
|
3204
3206
|
validator: (e) => (e = Tt(e) ? e() : e, J(e) ? e.every((e) => !e) : !e)
|
|
3205
3207
|
}
|
|
3206
3208
|
}), Af = (e, t) => {
|
|
3207
|
-
let n = _() ? b(Ef,
|
|
3209
|
+
let n = _() ? b(Ef, F({})) : F({}), r = o(() => e.emptyValues || n.value.emptyValues || Of), i = o(() => Tt(e.valueOnClear) ? e.valueOnClear() : e.valueOnClear === void 0 ? Tt(n.value.valueOnClear) ? n.value.valueOnClear() : n.value.valueOnClear === void 0 ? t === void 0 ? void 0 : t : n.value.valueOnClear : e.valueOnClear), a = (e) => {
|
|
3208
3210
|
let t = !0;
|
|
3209
3211
|
return t = J(e) ? r.value.some((t) => Lc(e, t)) : r.value.includes(e), t;
|
|
3210
3212
|
};
|
|
@@ -3278,10 +3280,10 @@ var Ef = Symbol("emptyValuesContextKey"), Df = "use-empty-values", Of = [
|
|
|
3278
3280
|
"--color": n
|
|
3279
3281
|
};
|
|
3280
3282
|
});
|
|
3281
|
-
return (e, t) => (
|
|
3283
|
+
return (e, t) => (N(), u("i", w({
|
|
3282
3284
|
class: H(n).b(),
|
|
3283
3285
|
style: r.value
|
|
3284
|
-
}, e.$attrs), [
|
|
3286
|
+
}, e.$attrs), [L(e.$slots, "default")], 16));
|
|
3285
3287
|
}
|
|
3286
3288
|
})), Hf = [
|
|
3287
3289
|
"dialog",
|
|
@@ -3304,7 +3306,7 @@ var Ef = Symbol("emptyValuesContextKey"), Df = "use-empty-values", Of = [
|
|
|
3304
3306
|
let n = $("popper"), { arrowRef: r, arrowStyle: i } = b(Gf, void 0);
|
|
3305
3307
|
return A(() => {
|
|
3306
3308
|
r.value = void 0;
|
|
3307
|
-
}), t({ arrowRef: r }), (e, t) => (
|
|
3309
|
+
}), t({ arrowRef: r }), (e, t) => (N(), u("span", {
|
|
3308
3310
|
ref_key: "arrowRef",
|
|
3309
3311
|
ref: r,
|
|
3310
3312
|
class: E(H(n).e("arrow")),
|
|
@@ -3416,13 +3418,13 @@ var Qf = /* @__PURE__ */ g({
|
|
|
3416
3418
|
r && e.removeEventListener(t.slice(2).toLowerCase(), r, ["onFocus", "onBlur"].includes(t));
|
|
3417
3419
|
}), i.value = void 0;
|
|
3418
3420
|
}
|
|
3419
|
-
}), t({ triggerRef: i }), (t, n) => e.virtualTriggering ? l("v-if", !0) : (
|
|
3421
|
+
}), t({ triggerRef: i }), (t, n) => e.virtualTriggering ? l("v-if", !0) : (N(), c(H(Yf), w({ key: 0 }, t.$attrs, {
|
|
3420
3422
|
"aria-controls": a.value,
|
|
3421
3423
|
"aria-describedby": s.value,
|
|
3422
3424
|
"aria-expanded": d.value,
|
|
3423
3425
|
"aria-haspopup": u.value
|
|
3424
3426
|
}), {
|
|
3425
|
-
default: W(() => [
|
|
3427
|
+
default: W(() => [L(t.$slots, "default")]),
|
|
3426
3428
|
_: 3
|
|
3427
3429
|
}, 16, [
|
|
3428
3430
|
"aria-controls",
|
|
@@ -3551,7 +3553,7 @@ var Qf = /* @__PURE__ */ g({
|
|
|
3551
3553
|
blur: () => !0,
|
|
3552
3554
|
close: () => !0
|
|
3553
3555
|
}, ip = Symbol("formContextKey"), ap = Symbol("formItemContextKey"), op = (e, t = {}) => {
|
|
3554
|
-
let n =
|
|
3556
|
+
let n = F(void 0), r = t.prop ? n : Ql("size"), i = t.global ? n : Cf(), a = t.form ? { size: void 0 } : b(ip, void 0), s = t.formItem ? { size: void 0 } : b(ap, void 0);
|
|
3555
3557
|
return o(() => r.value || H(e) || s?.size || a?.size || i.value || "");
|
|
3556
3558
|
}, sp = (e) => {
|
|
3557
3559
|
let t = Ql("disabled"), n = b(ip, void 0);
|
|
@@ -3560,7 +3562,7 @@ var Qf = /* @__PURE__ */ g({
|
|
|
3560
3562
|
form: b(ip, void 0),
|
|
3561
3563
|
formItem: b(ap, void 0)
|
|
3562
3564
|
}), lp = (e, { formItemContext: t, disableIdGeneration: n, disableIdManagement: r }) => {
|
|
3563
|
-
n ||=
|
|
3565
|
+
n ||= F(!1), r ||= F(!1);
|
|
3564
3566
|
let i = _(), a = () => {
|
|
3565
3567
|
let e = i?.parent;
|
|
3566
3568
|
for (; e;) {
|
|
@@ -3569,13 +3571,13 @@ var Qf = /* @__PURE__ */ g({
|
|
|
3569
3571
|
e = e.parent;
|
|
3570
3572
|
}
|
|
3571
3573
|
return !1;
|
|
3572
|
-
}, s =
|
|
3574
|
+
}, s = F(), c, l = o(() => !!(!(e.label || e.ariaLabel) && t && t.inputIds && t.inputIds?.length <= 1));
|
|
3573
3575
|
return M(() => {
|
|
3574
3576
|
c = U([V(e, "id"), n], ([e, n]) => {
|
|
3575
3577
|
let i = e ?? (n ? void 0 : ef().value);
|
|
3576
3578
|
i !== s.value && (t?.removeInputId && !a() && (s.value && t.removeInputId(s.value), !r?.value && !n && i && t.addInputId(i)), s.value = i);
|
|
3577
3579
|
}, { immediate: !0 });
|
|
3578
|
-
}),
|
|
3580
|
+
}), te(() => {
|
|
3579
3581
|
c && c(), t?.removeInputId && s.value && t.removeInputId(s.value);
|
|
3580
3582
|
}), {
|
|
3581
3583
|
isLabeledByFormItem: l,
|
|
@@ -3587,7 +3589,7 @@ var Qf = /* @__PURE__ */ g({
|
|
|
3587
3589
|
}, hp = {
|
|
3588
3590
|
cancelable: !0,
|
|
3589
3591
|
bubbles: !1
|
|
3590
|
-
}, gp = "focusAfterTrapped", _p = "focusAfterReleased", vp = Symbol("elFocusTrap"), yp =
|
|
3592
|
+
}, gp = "focusAfterTrapped", _p = "focusAfterReleased", vp = Symbol("elFocusTrap"), yp = F(), bp = F(0), xp = F(0), Sp = 0, Cp = (e) => {
|
|
3591
3593
|
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
|
|
3592
3594
|
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
3593
3595
|
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 || e === document.activeElement ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
@@ -3667,7 +3669,7 @@ var Ap = () => {
|
|
|
3667
3669
|
"release-requested"
|
|
3668
3670
|
],
|
|
3669
3671
|
setup(e, { emit: t }) {
|
|
3670
|
-
let n =
|
|
3672
|
+
let n = F(), r, i, { focusReason: a } = Ip();
|
|
3671
3673
|
rf((n) => {
|
|
3672
3674
|
e.trapped && !o.paused && t("release-requested", n);
|
|
3673
3675
|
});
|
|
@@ -3698,7 +3700,7 @@ var Ap = () => {
|
|
|
3698
3700
|
}
|
|
3699
3701
|
}
|
|
3700
3702
|
};
|
|
3701
|
-
|
|
3703
|
+
P(vp, {
|
|
3702
3704
|
focusTrapRef: n,
|
|
3703
3705
|
onKeydown: s
|
|
3704
3706
|
}), U(() => e.focusTrapEl, (e) => {
|
|
@@ -3772,7 +3774,7 @@ var Ap = () => {
|
|
|
3772
3774
|
//#endregion
|
|
3773
3775
|
//#region node_modules/element-plus/es/components/focus-trap/src/focus-trap.mjs
|
|
3774
3776
|
function Bp(e, t, n, r, i, a) {
|
|
3775
|
-
return
|
|
3777
|
+
return L(e.$slots, "default", { handleKeydown: e.onKeydown });
|
|
3776
3778
|
}
|
|
3777
3779
|
//#endregion
|
|
3778
3780
|
//#region node_modules/element-plus/es/components/focus-trap/index.mjs
|
|
@@ -3822,7 +3824,7 @@ function Gp(e, t) {
|
|
|
3822
3824
|
//#endregion
|
|
3823
3825
|
//#region node_modules/element-plus/es/components/popper/src/composables/use-content.mjs
|
|
3824
3826
|
var Kp = 0, qp = (e) => {
|
|
3825
|
-
let { popperInstanceRef: t, contentRef: n, triggerRef: r, role: i } = b(Wf, void 0), a =
|
|
3827
|
+
let { popperInstanceRef: t, contentRef: n, triggerRef: r, role: i } = b(Wf, void 0), a = F(), s = o(() => e.arrowOffset), c = o(() => ({
|
|
3826
3828
|
name: "eventListeners",
|
|
3827
3829
|
enabled: !!e.visible
|
|
3828
3830
|
})), l = o(() => {
|
|
@@ -3863,7 +3865,7 @@ var Kp = 0, qp = (e) => {
|
|
|
3863
3865
|
update: h
|
|
3864
3866
|
};
|
|
3865
3867
|
}, Jp = (e, { attributes: t, styles: n, role: r }) => {
|
|
3866
|
-
let { nextZIndex: i } = yf(), a = $("popper"), s = o(() => H(t).popper), c =
|
|
3868
|
+
let { nextZIndex: i } = yf(), a = $("popper"), s = o(() => H(t).popper), c = F($c(e.zIndex) ? e.zIndex : i()), l = o(() => [
|
|
3867
3869
|
a.b(),
|
|
3868
3870
|
a.is("pure", e.pure),
|
|
3869
3871
|
a.is(e.effect),
|
|
@@ -3885,7 +3887,7 @@ var Kp = 0, qp = (e) => {
|
|
|
3885
3887
|
}
|
|
3886
3888
|
};
|
|
3887
3889
|
}, Yp = (e, t) => {
|
|
3888
|
-
let n =
|
|
3890
|
+
let n = F(!1), r = F();
|
|
3889
3891
|
return A(() => {
|
|
3890
3892
|
r.value = void 0;
|
|
3891
3893
|
}), {
|
|
@@ -3918,18 +3920,18 @@ var Kp = 0, qp = (e) => {
|
|
|
3918
3920
|
attributes: p,
|
|
3919
3921
|
role: y
|
|
3920
3922
|
}), k = b(ap, void 0);
|
|
3921
|
-
|
|
3923
|
+
P(Gf, {
|
|
3922
3924
|
arrowStyle: C,
|
|
3923
3925
|
arrowRef: m
|
|
3924
|
-
}), k &&
|
|
3926
|
+
}), k && P(ap, {
|
|
3925
3927
|
...k,
|
|
3926
3928
|
addInputId: St,
|
|
3927
3929
|
removeInputId: St
|
|
3928
3930
|
});
|
|
3929
|
-
let j,
|
|
3931
|
+
let j, ee = (e = !0) => {
|
|
3930
3932
|
x(), e && O();
|
|
3931
|
-
},
|
|
3932
|
-
|
|
3933
|
+
}, te = () => {
|
|
3934
|
+
ee(!1), i.visible && i.focusOnShow ? o.value = !0 : i.visible === !1 && (o.value = !1);
|
|
3933
3935
|
};
|
|
3934
3936
|
return M(() => {
|
|
3935
3937
|
U(() => i.triggerTargetEl, (e, t) => {
|
|
@@ -3957,15 +3959,15 @@ var Kp = 0, qp = (e) => {
|
|
|
3957
3959
|
].forEach((e) => {
|
|
3958
3960
|
r.removeAttribute(e);
|
|
3959
3961
|
});
|
|
3960
|
-
}, { immediate: !0 }), U(() => i.visible,
|
|
3962
|
+
}, { immediate: !0 }), U(() => i.visible, te, { immediate: !0 });
|
|
3961
3963
|
}), A(() => {
|
|
3962
3964
|
j?.(), j = void 0, g.value = void 0;
|
|
3963
3965
|
}), t({
|
|
3964
3966
|
popperContentRef: g,
|
|
3965
3967
|
popperInstanceRef: v,
|
|
3966
|
-
updatePopper:
|
|
3968
|
+
updatePopper: ee,
|
|
3967
3969
|
contentStyle: D
|
|
3968
|
-
}), (t, n) => (
|
|
3970
|
+
}), (t, n) => (N(), u("div", w({
|
|
3969
3971
|
ref_key: "contentRef",
|
|
3970
3972
|
ref: g
|
|
3971
3973
|
}, H(T), {
|
|
@@ -3986,7 +3988,7 @@ var Kp = 0, qp = (e) => {
|
|
|
3986
3988
|
onFocusoutPrevented: H(d),
|
|
3987
3989
|
onReleaseRequested: H(f)
|
|
3988
3990
|
}, {
|
|
3989
|
-
default: W(() => [
|
|
3991
|
+
default: W(() => [L(t.$slots, "default")]),
|
|
3990
3992
|
_: 3
|
|
3991
3993
|
}, 8, [
|
|
3992
3994
|
"loop",
|
|
@@ -4007,13 +4009,13 @@ var Kp = 0, qp = (e) => {
|
|
|
4007
4009
|
props: Uf,
|
|
4008
4010
|
setup(e, { expose: t }) {
|
|
4009
4011
|
let n = e, r = {
|
|
4010
|
-
triggerRef:
|
|
4011
|
-
popperInstanceRef:
|
|
4012
|
-
contentRef:
|
|
4013
|
-
referenceRef:
|
|
4012
|
+
triggerRef: F(),
|
|
4013
|
+
popperInstanceRef: F(),
|
|
4014
|
+
contentRef: F(),
|
|
4015
|
+
referenceRef: F(),
|
|
4014
4016
|
role: o(() => n.role)
|
|
4015
4017
|
};
|
|
4016
|
-
return t(r),
|
|
4018
|
+
return t(r), P(Wf, r), (e, t) => L(e.$slots, "default");
|
|
4017
4019
|
}
|
|
4018
4020
|
})), Qp = {
|
|
4019
4021
|
...lf,
|
|
@@ -4090,7 +4092,7 @@ var Kp = 0, qp = (e) => {
|
|
|
4090
4092
|
__name: "trigger",
|
|
4091
4093
|
props: tm,
|
|
4092
4094
|
setup(e, { expose: t }) {
|
|
4093
|
-
let n = e, r = $("tooltip"), { controlled: i, id: a, open: o, onOpen: s, onClose: l, onToggle: u } = b(sm, void 0), d =
|
|
4095
|
+
let n = e, r = $("tooltip"), { controlled: i, id: a, open: o, onOpen: s, onClose: l, onToggle: u } = b(sm, void 0), d = F(null), f = () => {
|
|
4094
4096
|
if (H(i) || n.disabled) return !0;
|
|
4095
4097
|
}, p = V(n, "trigger"), m = dl(f, lm(p, "hover", (e) => {
|
|
4096
4098
|
s(e), n.focusOnTarget && e.target && T(() => {
|
|
@@ -4104,7 +4106,7 @@ var Kp = 0, qp = (e) => {
|
|
|
4104
4106
|
let t = fl(e);
|
|
4105
4107
|
n.triggerKeys.includes(t) && (e.preventDefault(), u(e));
|
|
4106
4108
|
});
|
|
4107
|
-
return t({ triggerRef: d }), (t, n) => (
|
|
4109
|
+
return t({ triggerRef: d }), (t, n) => (N(), c(H(Qf), {
|
|
4108
4110
|
id: H(a),
|
|
4109
4111
|
"virtual-ref": e.virtualRef,
|
|
4110
4112
|
open: H(o),
|
|
@@ -4118,7 +4120,7 @@ var Kp = 0, qp = (e) => {
|
|
|
4118
4120
|
onMouseleave: H(h),
|
|
4119
4121
|
onKeydown: H(x)
|
|
4120
4122
|
}, {
|
|
4121
|
-
default: W(() => [
|
|
4123
|
+
default: W(() => [L(t.$slots, "default")]),
|
|
4122
4124
|
_: 3
|
|
4123
4125
|
}, 8, [
|
|
4124
4126
|
"id",
|
|
@@ -4141,48 +4143,48 @@ var Kp = 0, qp = (e) => {
|
|
|
4141
4143
|
__name: "content",
|
|
4142
4144
|
props: $p,
|
|
4143
4145
|
setup(e, { expose: t }) {
|
|
4144
|
-
let r = e, { selector: a } = af(), s = $("tooltip"), u =
|
|
4146
|
+
let r = e, { selector: a } = af(), s = $("tooltip"), u = F(), d = Qe(() => u.value?.popperContentRef), f, { controlled: p, id: m, open: g, trigger: _, onClose: v, onOpen: y, onShow: x, onHide: S, onBeforeShow: C, onBeforeHide: T } = b(sm, void 0), E = o(() => r.transition || `${s.namespace.value}-fade-in-linear`), D = o(() => r.persistent);
|
|
4145
4147
|
A(() => {
|
|
4146
4148
|
f?.();
|
|
4147
4149
|
});
|
|
4148
|
-
let O = o(() => H(D) ? !0 : H(g)), k = o(() => !r.disabled && H(g)), j = o(() => r.appendTo || a.value), M = o(() => r.style ?? {}),
|
|
4149
|
-
S(),
|
|
4150
|
-
},
|
|
4150
|
+
let O = o(() => H(D) ? !0 : H(g)), k = o(() => !r.disabled && H(g)), j = o(() => r.appendTo || a.value), M = o(() => r.style ?? {}), ee = F(!0), te = () => {
|
|
4151
|
+
S(), z() && ul(document.body, { preventScroll: !0 }), ee.value = !0;
|
|
4152
|
+
}, ne = () => {
|
|
4151
4153
|
if (H(p)) return !0;
|
|
4152
|
-
},
|
|
4154
|
+
}, P = dl(ne, () => {
|
|
4153
4155
|
r.enterable && cm(H(_), "hover") && y();
|
|
4154
|
-
}),
|
|
4156
|
+
}), re = dl(ne, () => {
|
|
4155
4157
|
cm(H(_), "hover") && v();
|
|
4156
|
-
}),
|
|
4158
|
+
}), ie = () => {
|
|
4157
4159
|
u.value?.updatePopper?.(), C?.();
|
|
4158
|
-
},
|
|
4160
|
+
}, I = () => {
|
|
4159
4161
|
T?.();
|
|
4160
|
-
},
|
|
4162
|
+
}, R = () => {
|
|
4161
4163
|
x();
|
|
4162
|
-
},
|
|
4164
|
+
}, ae = () => {
|
|
4163
4165
|
r.virtualTriggering || v();
|
|
4164
|
-
},
|
|
4166
|
+
}, z = (e) => {
|
|
4165
4167
|
let t = u.value?.popperContentRef, n = e?.relatedTarget || document.activeElement;
|
|
4166
4168
|
return t?.contains(n);
|
|
4167
4169
|
};
|
|
4168
4170
|
return U(() => H(g), (e) => {
|
|
4169
|
-
e ? (
|
|
4171
|
+
e ? (ee.value = !1, f = gt(d, () => {
|
|
4170
4172
|
H(p) || up(H(_)).every((e) => e !== "hover" && e !== "focus") && v();
|
|
4171
4173
|
}, { detectIframe: !0 })) : f?.();
|
|
4172
4174
|
}, { flush: "post" }), t({
|
|
4173
4175
|
contentRef: u,
|
|
4174
|
-
isFocusInsideContent:
|
|
4175
|
-
}), (t, r) => (
|
|
4176
|
+
isFocusInsideContent: z
|
|
4177
|
+
}), (t, r) => (N(), c(n, {
|
|
4176
4178
|
disabled: !e.teleported,
|
|
4177
4179
|
to: j.value
|
|
4178
|
-
}, [O.value || !
|
|
4180
|
+
}, [O.value || !ee.value ? (N(), c(i, {
|
|
4179
4181
|
key: 0,
|
|
4180
4182
|
name: E.value,
|
|
4181
4183
|
appear: !D.value,
|
|
4182
|
-
onAfterLeave:
|
|
4183
|
-
onBeforeEnter:
|
|
4184
|
-
onAfterEnter:
|
|
4185
|
-
onBeforeLeave:
|
|
4184
|
+
onAfterLeave: te,
|
|
4185
|
+
onBeforeEnter: ie,
|
|
4186
|
+
onAfterEnter: R,
|
|
4187
|
+
onBeforeLeave: I,
|
|
4186
4188
|
persisted: ""
|
|
4187
4189
|
}, {
|
|
4188
4190
|
default: W(() => [G(h(H(Xp), w({
|
|
@@ -4191,7 +4193,7 @@ var Kp = 0, qp = (e) => {
|
|
|
4191
4193
|
ref: u
|
|
4192
4194
|
}, t.$attrs, {
|
|
4193
4195
|
"aria-label": e.ariaLabel,
|
|
4194
|
-
"aria-hidden":
|
|
4196
|
+
"aria-hidden": ee.value,
|
|
4195
4197
|
"boundaries-padding": e.boundariesPadding,
|
|
4196
4198
|
"fallback-placements": e.fallbackPlacements,
|
|
4197
4199
|
"gpu-acceleration": e.gpuAcceleration,
|
|
@@ -4210,12 +4212,12 @@ var Kp = 0, qp = (e) => {
|
|
|
4210
4212
|
visible: k.value,
|
|
4211
4213
|
"z-index": e.zIndex,
|
|
4212
4214
|
loop: e.loop,
|
|
4213
|
-
onMouseenter: H(
|
|
4214
|
-
onMouseleave: H(
|
|
4215
|
-
onBlur:
|
|
4215
|
+
onMouseenter: H(P),
|
|
4216
|
+
onMouseleave: H(re),
|
|
4217
|
+
onBlur: ae,
|
|
4216
4218
|
onClose: H(v)
|
|
4217
4219
|
}), {
|
|
4218
|
-
default: W(() => [
|
|
4220
|
+
default: W(() => [L(t.$slots, "default")]),
|
|
4219
4221
|
_: 3
|
|
4220
4222
|
}, 16, [
|
|
4221
4223
|
"id",
|
|
@@ -4254,10 +4256,10 @@ var Kp = 0, qp = (e) => {
|
|
|
4254
4256
|
setup(e, { expose: t, emit: n }) {
|
|
4255
4257
|
let r = e, i = n;
|
|
4256
4258
|
sf();
|
|
4257
|
-
let a = $("tooltip"), s = ef(), d =
|
|
4259
|
+
let a = $("tooltip"), s = ef(), d = F(), f = F(), p = () => {
|
|
4258
4260
|
let e = H(d);
|
|
4259
4261
|
e && e.popperInstanceRef?.update();
|
|
4260
|
-
}, m =
|
|
4262
|
+
}, m = F(!1), g = F(), { show: _, hide: v, hasUpdateHandler: y } = im({
|
|
4261
4263
|
indicator: m,
|
|
4262
4264
|
toggleReason: g
|
|
4263
4265
|
}), { onOpen: b, onClose: x } = uf({
|
|
@@ -4267,10 +4269,10 @@ var Kp = 0, qp = (e) => {
|
|
|
4267
4269
|
open: _,
|
|
4268
4270
|
close: v
|
|
4269
4271
|
}), S = o(() => Qc(r.visible) && !y.value), C = o(() => [a.b(), r.popperClass]);
|
|
4270
|
-
return
|
|
4272
|
+
return P(sm, {
|
|
4271
4273
|
controlled: S,
|
|
4272
4274
|
id: s,
|
|
4273
|
-
open:
|
|
4275
|
+
open: ie(m),
|
|
4274
4276
|
trigger: V(r, "trigger"),
|
|
4275
4277
|
onOpen: b,
|
|
4276
4278
|
onClose: x,
|
|
@@ -4302,7 +4304,7 @@ var Kp = 0, qp = (e) => {
|
|
|
4302
4304
|
onOpen: b,
|
|
4303
4305
|
onClose: x,
|
|
4304
4306
|
hide: v
|
|
4305
|
-
}), (t, n) => (
|
|
4307
|
+
}), (t, n) => (N(), c(H(Zp), {
|
|
4306
4308
|
ref_key: "popperRef",
|
|
4307
4309
|
ref: d,
|
|
4308
4310
|
role: e.role
|
|
@@ -4315,7 +4317,7 @@ var Kp = 0, qp = (e) => {
|
|
|
4315
4317
|
"virtual-triggering": e.virtualTriggering,
|
|
4316
4318
|
"focus-on-target": e.focusOnTarget
|
|
4317
4319
|
}, {
|
|
4318
|
-
default: W(() => [t.$slots.default ?
|
|
4320
|
+
default: W(() => [t.$slots.default ? L(t.$slots, "default", { key: 0 }) : l("v-if", !0)]),
|
|
4319
4321
|
_: 3
|
|
4320
4322
|
}, 8, [
|
|
4321
4323
|
"disabled",
|
|
@@ -4356,10 +4358,10 @@ var Kp = 0, qp = (e) => {
|
|
|
4356
4358
|
"append-to": e.appendTo,
|
|
4357
4359
|
loop: e.loop
|
|
4358
4360
|
}, {
|
|
4359
|
-
default: W(() => [
|
|
4361
|
+
default: W(() => [L(t.$slots, "content", {}, () => [e.rawContent ? (N(), u("span", {
|
|
4360
4362
|
key: 0,
|
|
4361
4363
|
innerHTML: e.content
|
|
4362
|
-
}, null, 8, fm)) : (
|
|
4364
|
+
}, null, 8, fm)) : (N(), u("span", pm, B(e.content), 1))]), e.showArrow ? (N(), c(H(Kf), { key: 0 })) : l("v-if", !0)]),
|
|
4363
4365
|
_: 3
|
|
4364
4366
|
}, 8, /* @__PURE__ */ "aria-label.boundaries-padding.content.disabled.effect.enterable.fallback-placements.hide-after.gpu-acceleration.offset.persistent.popper-class.popper-style.placement.popper-options.arrow-offset.pure.raw-content.reference-el.trigger-target-el.show-after.strategy.teleported.transition.virtual-triggering.z-index.append-to.loop".split("."))]),
|
|
4365
4367
|
_: 3
|
|
@@ -4496,7 +4498,7 @@ var Cm = Q({
|
|
|
4496
4498
|
setup(e) {
|
|
4497
4499
|
let t = e, n = b(xm), r = $("scrollbar");
|
|
4498
4500
|
n || yl(wm, "can not inject scrollbar context");
|
|
4499
|
-
let a =
|
|
4501
|
+
let a = F(), s = F(), l = F({}), u = F(!1), f = !1, p = !1, m = 0, h = 0, g = q ? document.onselectstart : null, _ = o(() => vm[t.vertical ? "vertical" : "horizontal"]), v = o(() => ym({
|
|
4500
4502
|
size: t.size,
|
|
4501
4503
|
move: t.move,
|
|
4502
4504
|
bar: _.value
|
|
@@ -4530,7 +4532,7 @@ var Cm = Q({
|
|
|
4530
4532
|
let j = () => {
|
|
4531
4533
|
document.onselectstart !== g && (document.onselectstart = g);
|
|
4532
4534
|
};
|
|
4533
|
-
return mt(V(n, "scrollbarElement"), "mousemove", O), mt(V(n, "scrollbarElement"), "mouseleave", k), (t, n) => (
|
|
4535
|
+
return mt(V(n, "scrollbarElement"), "mousemove", O), mt(V(n, "scrollbarElement"), "mouseleave", k), (t, n) => (N(), c(i, {
|
|
4534
4536
|
name: H(r).b("fade"),
|
|
4535
4537
|
persisted: ""
|
|
4536
4538
|
}, {
|
|
@@ -4554,7 +4556,7 @@ var Cm = Q({
|
|
|
4554
4556
|
__name: "bar",
|
|
4555
4557
|
props: Cm,
|
|
4556
4558
|
setup(e, { expose: n }) {
|
|
4557
|
-
let r = e, i = b(xm), a =
|
|
4559
|
+
let r = e, i = b(xm), a = F(0), o = F(0), s = F(""), c = F(""), l = F(1), d = F(1);
|
|
4558
4560
|
return n({
|
|
4559
4561
|
handleScroll: (e) => {
|
|
4560
4562
|
if (e) {
|
|
@@ -4568,7 +4570,7 @@ var Cm = Q({
|
|
|
4568
4570
|
let t = e.offsetHeight - 4, n = e.offsetWidth - 4, a = t ** 2 / e.scrollHeight, o = n ** 2 / e.scrollWidth, u = Math.max(a, r.minSize), f = Math.max(o, r.minSize);
|
|
4569
4571
|
l.value = a / (t - a) / (u / (t - u)), d.value = o / (n - o) / (f / (n - f)), c.value = u + 4 < t ? `${u}px` : "", s.value = f + 4 < n ? `${f}px` : "";
|
|
4570
4572
|
}
|
|
4571
|
-
}), (n, r) => (
|
|
4573
|
+
}), (n, r) => (N(), u(t, null, [h(Tm, {
|
|
4572
4574
|
move: a.value,
|
|
4573
4575
|
ratio: d.value,
|
|
4574
4576
|
size: s.value,
|
|
@@ -4602,7 +4604,7 @@ var Cm = Q({
|
|
|
4602
4604
|
top: !1,
|
|
4603
4605
|
right: !1,
|
|
4604
4606
|
left: !1
|
|
4605
|
-
}, y =
|
|
4607
|
+
}, y = F(), b = F(), x = F(), S = F(), C = o(() => {
|
|
4606
4608
|
let e = {}, t = Al(r.height), n = Al(r.maxHeight);
|
|
4607
4609
|
return t && (e.height = t), n && (e.maxHeight = n), [r.wrapStyle, e];
|
|
4608
4610
|
}), w = o(() => [
|
|
@@ -4614,12 +4616,12 @@ var Cm = Q({
|
|
|
4614
4616
|
bottom: "top",
|
|
4615
4617
|
left: "right",
|
|
4616
4618
|
right: "left"
|
|
4617
|
-
},
|
|
4619
|
+
}, ee = (e) => {
|
|
4618
4620
|
let t = j[_];
|
|
4619
4621
|
if (!t) return;
|
|
4620
4622
|
let n = e[_], r = e[t];
|
|
4621
4623
|
n && !v[_] && (v[_] = !0), !r && v[t] && (v[t] = !1);
|
|
4622
|
-
},
|
|
4624
|
+
}, te = () => {
|
|
4623
4625
|
if (b.value) {
|
|
4624
4626
|
S.value?.handleScroll(b.value);
|
|
4625
4627
|
let e = h, t = g;
|
|
@@ -4635,27 +4637,27 @@ var Cm = Q({
|
|
|
4635
4637
|
scrollLeft: g
|
|
4636
4638
|
}), e !== h && (_ = h > e ? "bottom" : "top"), t !== g && (_ = g > t ? "right" : "left"), r.distance > 0) {
|
|
4637
4639
|
if (A(_)) return;
|
|
4638
|
-
|
|
4640
|
+
ee(n);
|
|
4639
4641
|
}
|
|
4640
4642
|
n[_] && i("end-reached", _);
|
|
4641
4643
|
}
|
|
4642
4644
|
};
|
|
4643
|
-
function
|
|
4645
|
+
function ie(e, t) {
|
|
4644
4646
|
Dt(e) ? b.value.scrollTo(e) : $c(e) && $c(t) && b.value.scrollTo(e, t);
|
|
4645
4647
|
}
|
|
4646
|
-
let
|
|
4648
|
+
let I = (e) => {
|
|
4647
4649
|
if (!$c(e)) {
|
|
4648
4650
|
bl(Om, "value must be a number");
|
|
4649
4651
|
return;
|
|
4650
4652
|
}
|
|
4651
4653
|
b.value.scrollTop = e;
|
|
4652
|
-
},
|
|
4654
|
+
}, R = (e) => {
|
|
4653
4655
|
if (!$c(e)) {
|
|
4654
4656
|
bl(Om, "value must be a number");
|
|
4655
4657
|
return;
|
|
4656
4658
|
}
|
|
4657
4659
|
b.value.scrollLeft = e;
|
|
4658
|
-
},
|
|
4660
|
+
}, ae = () => {
|
|
4659
4661
|
S.value?.update(), v[_] = !1, b.value && S.value?.handleScroll(b.value);
|
|
4660
4662
|
}, oe = () => {
|
|
4661
4663
|
m ||= requestAnimationFrame(() => {
|
|
@@ -4663,28 +4665,28 @@ var Cm = Q({
|
|
|
4663
4665
|
});
|
|
4664
4666
|
};
|
|
4665
4667
|
return U(() => r.noresize, (e) => {
|
|
4666
|
-
e ? (s?.(), f?.(), p?.()) : ({stop: s} = bt(x,
|
|
4668
|
+
e ? (s?.(), f?.(), p?.()) : ({stop: s} = bt(x, ae), {stop: f} = bt(b, ae), p = mt("resize", ae));
|
|
4667
4669
|
}, { immediate: !0 }), U(() => [r.maxHeight, r.height], () => {
|
|
4668
4670
|
r.native || T(() => {
|
|
4669
|
-
|
|
4671
|
+
ae();
|
|
4670
4672
|
});
|
|
4671
|
-
}),
|
|
4673
|
+
}), P(xm, re({
|
|
4672
4674
|
scrollbarElement: y,
|
|
4673
4675
|
wrapElement: b
|
|
4674
4676
|
})), O(() => {
|
|
4675
4677
|
b.value && (b.value.scrollTop = h, b.value.scrollLeft = g);
|
|
4676
4678
|
}), M(() => {
|
|
4677
4679
|
r.native || T(() => {
|
|
4678
|
-
|
|
4680
|
+
ae();
|
|
4679
4681
|
});
|
|
4680
|
-
}),
|
|
4682
|
+
}), ne(() => ae()), t({
|
|
4681
4683
|
wrapRef: b,
|
|
4682
|
-
update:
|
|
4683
|
-
scrollTo:
|
|
4684
|
-
setScrollTop:
|
|
4685
|
-
setScrollLeft:
|
|
4686
|
-
handleScroll:
|
|
4687
|
-
}), (t, n) => (
|
|
4684
|
+
update: ae,
|
|
4685
|
+
scrollTo: ie,
|
|
4686
|
+
setScrollTop: I,
|
|
4687
|
+
setScrollLeft: R,
|
|
4688
|
+
handleScroll: te
|
|
4689
|
+
}), (t, n) => (N(), u("div", {
|
|
4688
4690
|
ref_key: "scrollbarRef",
|
|
4689
4691
|
ref: y,
|
|
4690
4692
|
class: E(H(a).b())
|
|
@@ -4694,10 +4696,10 @@ var Cm = Q({
|
|
|
4694
4696
|
class: E(w.value),
|
|
4695
4697
|
style: D(C.value),
|
|
4696
4698
|
tabindex: e.tabindex,
|
|
4697
|
-
onScroll:
|
|
4699
|
+
onScroll: te,
|
|
4698
4700
|
onTransitionend: oe,
|
|
4699
4701
|
onAnimationend: oe
|
|
4700
|
-
}, [(
|
|
4702
|
+
}, [(N(), c(z(e.tag), {
|
|
4701
4703
|
id: e.id,
|
|
4702
4704
|
ref_key: "resizeRef",
|
|
4703
4705
|
ref: x,
|
|
@@ -4707,7 +4709,7 @@ var Cm = Q({
|
|
|
4707
4709
|
"aria-label": e.ariaLabel,
|
|
4708
4710
|
"aria-orientation": e.ariaOrientation
|
|
4709
4711
|
}, {
|
|
4710
|
-
default: W(() => [
|
|
4712
|
+
default: W(() => [L(t.$slots, "default")]),
|
|
4711
4713
|
_: 3
|
|
4712
4714
|
}, 8, [
|
|
4713
4715
|
"id",
|
|
@@ -4716,7 +4718,7 @@ var Cm = Q({
|
|
|
4716
4718
|
"role",
|
|
4717
4719
|
"aria-label",
|
|
4718
4720
|
"aria-orientation"
|
|
4719
|
-
]))], 46, Dm), e.native ? l("v-if", !0) : (
|
|
4721
|
+
]))], 46, Dm), e.native ? l("v-if", !0) : (N(), c(Em, {
|
|
4720
4722
|
key: 0,
|
|
4721
4723
|
ref_key: "barRef",
|
|
4722
4724
|
ref: S,
|
|
@@ -4789,7 +4791,7 @@ var Cm = Q({
|
|
|
4789
4791
|
type: Z([String, Object]),
|
|
4790
4792
|
default: "button"
|
|
4791
4793
|
}
|
|
4792
|
-
}), jm = { click: (e) => e instanceof MouseEvent }, Mm = Symbol(), Nm =
|
|
4794
|
+
}), jm = { click: (e) => e instanceof MouseEvent }, Mm = Symbol(), Nm = F();
|
|
4793
4795
|
function Pm(e, t = void 0) {
|
|
4794
4796
|
let n = _() ? b(Mm, Nm) : Nm;
|
|
4795
4797
|
return e ? o(() => n.value?.[e] ?? t) : n;
|
|
@@ -4807,7 +4809,7 @@ function Fm(e, t) {
|
|
|
4807
4809
|
};
|
|
4808
4810
|
}
|
|
4809
4811
|
var Im = (e, t, n = !1) => {
|
|
4810
|
-
let r = !!_(), i = r ? Pm() : void 0, a = t?.provide ?? (r ?
|
|
4812
|
+
let r = !!_(), i = r ? Pm() : void 0, a = t?.provide ?? (r ? P : void 0);
|
|
4811
4813
|
if (!a) {
|
|
4812
4814
|
bl("provideGlobalConfig", "provideGlobalConfig() can only be used inside setup().");
|
|
4813
4815
|
return;
|
|
@@ -4832,7 +4834,7 @@ var Im = (e, t, n = !1) => {
|
|
|
4832
4834
|
scope: "props",
|
|
4833
4835
|
ref: "https://element-plus.org/en-US/component/button.html#button-attributes"
|
|
4834
4836
|
}, o(() => e.type === "text"));
|
|
4835
|
-
let n = b(Rm, void 0), i = Pm("button"), { form: a } = cp(), s = op(o(() => n?.size)), c = sp(), l =
|
|
4837
|
+
let n = b(Rm, void 0), i = Pm("button"), { form: a } = cp(), s = op(o(() => n?.size)), c = sp(), l = F(), u = fe(), d = o(() => e.type || n?.type || i.value?.type || ""), f = o(() => e.autoInsertSpace ?? i.value?.autoInsertSpace ?? !1), p = o(() => e.plain ?? i.value?.plain ?? !1), m = o(() => e.round ?? i.value?.round ?? !1), h = o(() => e.text ?? i.value?.text ?? !1), g = o(() => e.dashed ?? i.value?.dashed ?? !1);
|
|
4836
4838
|
return {
|
|
4837
4839
|
_disabled: c,
|
|
4838
4840
|
_size: s,
|
|
@@ -5609,7 +5611,7 @@ var vh = /* @__PURE__ */ g({
|
|
|
5609
5611
|
type: m,
|
|
5610
5612
|
disabled: h,
|
|
5611
5613
|
shouldAddSpace: x
|
|
5612
|
-
}), (n, r) => (
|
|
5614
|
+
}), (n, r) => (N(), c(z(e.tag), w({
|
|
5613
5615
|
ref_key: "_ref",
|
|
5614
5616
|
ref: f
|
|
5615
5617
|
}, H(g), {
|
|
@@ -5617,19 +5619,19 @@ var vh = /* @__PURE__ */ g({
|
|
|
5617
5619
|
style: H(s),
|
|
5618
5620
|
onClick: H(S)
|
|
5619
5621
|
}), {
|
|
5620
|
-
default: W(() => [e.loading ? (
|
|
5622
|
+
default: W(() => [e.loading ? (N(), u(t, { key: 0 }, [n.$slots.loading ? L(n.$slots, "loading", { key: 0 }) : (N(), c(H(Vf), {
|
|
5621
5623
|
key: 1,
|
|
5622
5624
|
class: E(H(d).is("loading"))
|
|
5623
5625
|
}, {
|
|
5624
|
-
default: W(() => [(
|
|
5626
|
+
default: W(() => [(N(), c(z(e.loadingIcon)))]),
|
|
5625
5627
|
_: 1
|
|
5626
|
-
}, 8, ["class"]))], 64)) : e.icon || n.$slots.icon ? (
|
|
5627
|
-
default: W(() => [e.icon ? (
|
|
5628
|
+
}, 8, ["class"]))], 64)) : e.icon || n.$slots.icon ? (N(), c(H(Vf), { key: 1 }, {
|
|
5629
|
+
default: W(() => [e.icon ? (N(), c(z(e.icon), { key: 0 })) : L(n.$slots, "icon", { key: 1 })]),
|
|
5628
5630
|
_: 3
|
|
5629
|
-
})) : l("v-if", !0), n.$slots.default ? (
|
|
5631
|
+
})) : l("v-if", !0), n.$slots.default ? (N(), u("span", {
|
|
5630
5632
|
key: 2,
|
|
5631
5633
|
class: E({ [H(d).em("text", "expand")]: H(x) })
|
|
5632
|
-
}, [
|
|
5634
|
+
}, [L(n.$slots, "default")], 2)) : l("v-if", !0)]),
|
|
5633
5635
|
_: 3
|
|
5634
5636
|
}, 16, [
|
|
5635
5637
|
"class",
|
|
@@ -5651,12 +5653,12 @@ var vh = /* @__PURE__ */ g({
|
|
|
5651
5653
|
props: yh,
|
|
5652
5654
|
setup(e) {
|
|
5653
5655
|
let t = e;
|
|
5654
|
-
|
|
5656
|
+
P(Rm, re({
|
|
5655
5657
|
size: V(t, "size"),
|
|
5656
5658
|
type: V(t, "type")
|
|
5657
5659
|
}));
|
|
5658
5660
|
let n = $("button");
|
|
5659
|
-
return (e, r) => (
|
|
5661
|
+
return (e, r) => (N(), u("div", { class: E([H(n).b("group"), H(n).bm("group", t.direction)]) }, [L(e.$slots, "default")], 2));
|
|
5660
5662
|
}
|
|
5661
5663
|
}), xh = Pf(vh, { ButtonGroup: bh });
|
|
5662
5664
|
If(bh);
|
|
@@ -5719,12 +5721,12 @@ var Sh = Q({
|
|
|
5719
5721
|
}, _ = (e) => {
|
|
5720
5722
|
e?.component?.subTree?.component?.bum && (e.component.subTree.component.bum = null);
|
|
5721
5723
|
};
|
|
5722
|
-
return (t, n) => e.disableTransitions ? (
|
|
5724
|
+
return (t, n) => e.disableTransitions ? (N(), u("span", {
|
|
5723
5725
|
key: 0,
|
|
5724
5726
|
class: E(p.value),
|
|
5725
5727
|
style: D({ backgroundColor: e.color }),
|
|
5726
5728
|
onClick: g
|
|
5727
|
-
}, [d("span", { class: E(H(f).e("content")) }, [
|
|
5729
|
+
}, [d("span", { class: E(H(f).e("content")) }, [L(t.$slots, "default")], 2), e.closable ? (N(), u("button", {
|
|
5728
5730
|
key: 0,
|
|
5729
5731
|
"aria-label": H(s)("el.tag.close"),
|
|
5730
5732
|
class: E(H(f).e("close")),
|
|
@@ -5733,7 +5735,7 @@ var Sh = Q({
|
|
|
5733
5735
|
}, [h(H(Vf), null, {
|
|
5734
5736
|
default: W(() => [h(H(Ce))]),
|
|
5735
5737
|
_: 1
|
|
5736
|
-
})], 10, wh)) : l("v-if", !0)], 6)) : (
|
|
5738
|
+
})], 10, wh)) : l("v-if", !0)], 6)) : (N(), c(i, {
|
|
5737
5739
|
key: 1,
|
|
5738
5740
|
name: `${H(f).namespace.value}-zoom-in-center`,
|
|
5739
5741
|
appear: "",
|
|
@@ -5743,7 +5745,7 @@ var Sh = Q({
|
|
|
5743
5745
|
class: E(p.value),
|
|
5744
5746
|
style: D({ backgroundColor: e.color }),
|
|
5745
5747
|
onClick: g
|
|
5746
|
-
}, [d("span", { class: E(H(f).e("content")) }, [
|
|
5748
|
+
}, [d("span", { class: E(H(f).e("content")) }, [L(t.$slots, "default")], 2), e.closable ? (N(), u("button", {
|
|
5747
5749
|
key: 0,
|
|
5748
5750
|
"aria-label": H(s)("el.tag.close"),
|
|
5749
5751
|
class: E(H(f).e("close")),
|
|
@@ -5763,7 +5765,7 @@ var Sh = Q({
|
|
|
5763
5765
|
options: "options"
|
|
5764
5766
|
};
|
|
5765
5767
|
function Ah(e) {
|
|
5766
|
-
let t =
|
|
5768
|
+
let t = F({
|
|
5767
5769
|
...kh,
|
|
5768
5770
|
...e.props
|
|
5769
5771
|
}), n = { ...e.props };
|
|
@@ -6009,7 +6011,7 @@ var Ih = g({
|
|
|
6009
6011
|
t.is("disabled", H(l)),
|
|
6010
6012
|
t.is("selected", H(c)),
|
|
6011
6013
|
t.is("hovering", H(m))
|
|
6012
|
-
]), i =
|
|
6014
|
+
]), i = re({
|
|
6013
6015
|
index: -1,
|
|
6014
6016
|
groupDisabled: !1,
|
|
6015
6017
|
visible: !0,
|
|
@@ -6056,7 +6058,7 @@ var Ih = g({
|
|
|
6056
6058
|
"aria-selected"
|
|
6057
6059
|
];
|
|
6058
6060
|
function Rh(e, t, n, r, i, a) {
|
|
6059
|
-
return G((
|
|
6061
|
+
return G((N(), u("li", w({
|
|
6060
6062
|
id: e.id,
|
|
6061
6063
|
class: e.containerKls,
|
|
6062
6064
|
role: "option",
|
|
@@ -6065,7 +6067,7 @@ function Rh(e, t, n, r, i, a) {
|
|
|
6065
6067
|
}, { [ce(e.mouseMoveEventName)]: t[0] ||= (...t) => e.hoverItem && e.hoverItem(...t) }, {
|
|
6066
6068
|
onMousedown: t[1] ||= (...t) => e.handleMousedown && e.handleMousedown(...t),
|
|
6067
6069
|
onClick: t[2] ||= ve((...t) => e.selectOptionClick && e.selectOptionClick(...t), ["stop"])
|
|
6068
|
-
}), [
|
|
6070
|
+
}), [L(e.$slots, "default", {}, () => [d("span", null, B(e.currentLabel), 1)])], 16, Lh)), [[he, e.visible]]);
|
|
6069
6071
|
}
|
|
6070
6072
|
var zh = /* @__PURE__ */ zp(Ih, [["render", Rh]]), Bh = g({
|
|
6071
6073
|
name: "ElOptionGroup",
|
|
@@ -6075,8 +6077,8 @@ var zh = /* @__PURE__ */ zp(Ih, [["render", Rh]]), Bh = g({
|
|
|
6075
6077
|
disabled: Boolean
|
|
6076
6078
|
},
|
|
6077
6079
|
setup(e) {
|
|
6078
|
-
let t = $("select"), n =
|
|
6079
|
-
|
|
6080
|
+
let t = $("select"), n = F(), r = _(), i = F([]);
|
|
6081
|
+
P(Dh, re({ ...ue(e) }));
|
|
6080
6082
|
let a = o(() => i.value.some((e) => e.visible === !0)), s = (e) => e.type.name === "ElOption" && !!e.component?.proxy, c = (e) => {
|
|
6081
6083
|
let t = wa(e), n = [];
|
|
6082
6084
|
return t.forEach((e) => {
|
|
@@ -6101,16 +6103,16 @@ var zh = /* @__PURE__ */ zp(Ih, [["render", Rh]]), Bh = g({
|
|
|
6101
6103
|
//#endregion
|
|
6102
6104
|
//#region node_modules/element-plus/es/components/select/src/option-group.mjs
|
|
6103
6105
|
function Vh(e, t, n, r, i, a) {
|
|
6104
|
-
return G((
|
|
6106
|
+
return G((N(), u("ul", {
|
|
6105
6107
|
ref: "groupRef",
|
|
6106
6108
|
class: E(e.ns.be("group", "wrap"))
|
|
6107
|
-
}, [d("li", { class: E(e.ns.be("group", "title")) }, B(e.label), 3), d("li", null, [d("ul", { class: E(e.ns.b("group")) }, [
|
|
6109
|
+
}, [d("li", { class: E(e.ns.be("group", "title")) }, B(e.label), 3), d("li", null, [d("ul", { class: E(e.ns.b("group")) }, [L(e.$slots, "default")], 2)])], 2)), [[he, e.visible]]);
|
|
6108
6110
|
}
|
|
6109
6111
|
var Hh = /* @__PURE__ */ zp(Bh, [["render", Vh]]), Uh = g({
|
|
6110
6112
|
name: "ElSelectDropdown",
|
|
6111
6113
|
componentName: "ElSelectDropdown",
|
|
6112
6114
|
setup() {
|
|
6113
|
-
let e = b(Oh), t = $("select"), n = o(() => e.props.popperClass), r = o(() => e.props.multiple), i = o(() => e.props.fitInputWidth), a =
|
|
6115
|
+
let e = b(Oh), t = $("select"), n = o(() => e.props.popperClass), r = o(() => e.props.multiple), i = o(() => e.props.fitInputWidth), a = F("");
|
|
6114
6116
|
function s() {
|
|
6115
6117
|
let t = e.selectRef?.offsetWidth;
|
|
6116
6118
|
t ? a.value = `${t - 2}px` : a.value = "";
|
|
@@ -6129,7 +6131,7 @@ var Hh = /* @__PURE__ */ zp(Bh, [["render", Vh]]), Uh = g({
|
|
|
6129
6131
|
//#endregion
|
|
6130
6132
|
//#region node_modules/element-plus/es/components/select/src/select-dropdown.mjs
|
|
6131
6133
|
function Wh(e, t, n, r, i, a) {
|
|
6132
|
-
return
|
|
6134
|
+
return N(), u("div", {
|
|
6133
6135
|
class: E([
|
|
6134
6136
|
e.ns.b("dropdown"),
|
|
6135
6137
|
e.ns.is("multiple", e.isMultiple),
|
|
@@ -6137,19 +6139,19 @@ function Wh(e, t, n, r, i, a) {
|
|
|
6137
6139
|
]),
|
|
6138
6140
|
style: D({ [e.isFitInputWidth ? "width" : "minWidth"]: e.minWidth })
|
|
6139
6141
|
}, [
|
|
6140
|
-
e.$slots.header ? (
|
|
6142
|
+
e.$slots.header ? (N(), u("div", {
|
|
6141
6143
|
key: 0,
|
|
6142
6144
|
class: E(e.ns.be("dropdown", "header"))
|
|
6143
|
-
}, [
|
|
6144
|
-
|
|
6145
|
-
e.$slots.footer ? (
|
|
6145
|
+
}, [L(e.$slots, "header")], 2)) : l("v-if", !0),
|
|
6146
|
+
L(e.$slots, "default"),
|
|
6147
|
+
e.$slots.footer ? (N(), u("div", {
|
|
6146
6148
|
key: 1,
|
|
6147
6149
|
class: E(e.ns.be("dropdown", "footer"))
|
|
6148
|
-
}, [
|
|
6150
|
+
}, [L(e.$slots, "footer")], 2)) : l("v-if", !0)
|
|
6149
6151
|
], 6);
|
|
6150
6152
|
}
|
|
6151
6153
|
var Gh = /* @__PURE__ */ zp(Uh, [["render", Wh]]), Kh = (e, t) => {
|
|
6152
|
-
let { t: n } = Ll(), r = fe(), i = ef(), a = $("select"), s = $("input"), c =
|
|
6154
|
+
let { t: n } = Ll(), r = fe(), i = ef(), a = $("select"), s = $("input"), c = re({
|
|
6153
6155
|
inputValue: "",
|
|
6154
6156
|
options: /* @__PURE__ */ new Map(),
|
|
6155
6157
|
cachedOptions: /* @__PURE__ */ new Map(),
|
|
@@ -6163,8 +6165,8 @@ var Gh = /* @__PURE__ */ zp(Uh, [["render", Wh]]), Kh = (e, t) => {
|
|
|
6163
6165
|
inputHovering: !1,
|
|
6164
6166
|
menuVisibleOnFocus: !1,
|
|
6165
6167
|
isBeforeHide: !1
|
|
6166
|
-
}), l =
|
|
6167
|
-
disabled:
|
|
6168
|
+
}), l = F(), u = F(), d = F(), f = F(), p = F(), m = F(), h = F(), g = F(), _ = F(), v = F(), y = F(), b = F(!1), x = F(), S = F(!1), { form: C, formItem: w } = cp(), { inputId: E } = lp(e, { formItemContext: w }), { valueOnClear: D, isEmptyValue: O } = Af(e), { isComposing: k, handleCompositionStart: A, handleCompositionUpdate: j, handleCompositionEnd: ee } = Tf({ afterComposition: (e) => Oe(e) }), te = sp(), { wrapperRef: ne, isFocused: N, handleBlur: P } = wf(p, {
|
|
6169
|
+
disabled: te,
|
|
6168
6170
|
afterFocus() {
|
|
6169
6171
|
e.automaticDropdown && !b.value && (b.value = !0, c.menuVisibleOnFocus = !0);
|
|
6170
6172
|
},
|
|
@@ -6174,7 +6176,7 @@ var Gh = /* @__PURE__ */ zp(Uh, [["render", Wh]]), Kh = (e, t) => {
|
|
|
6174
6176
|
afterBlur() {
|
|
6175
6177
|
b.value = !1, c.menuVisibleOnFocus = !1, e.validateEvent && w?.validate?.("blur").catch(St);
|
|
6176
6178
|
}
|
|
6177
|
-
}),
|
|
6179
|
+
}), ie = o(() => J(e.modelValue) ? e.modelValue.length > 0 : !O(e.modelValue)), I = o(() => C?.statusIcon ?? !1), L = o(() => e.clearable && !te.value && ie.value && (N.value || c.inputHovering)), R = o(() => e.remote && e.filterable && !e.remoteShowSuffix ? "" : e.suffixIcon), ae = o(() => a.is("reverse", !!(R.value && b.value))), z = o(() => w?.validateState || ""), oe = o(() => z.value && zf[z.value]), se = o(() => e.remote ? e.debounce : 0), B = o(() => e.remote && !c.inputValue && c.options.size === 0), ce = o(() => e.loading ? e.loadingText || n("el.select.loading") : e.filterable && c.inputValue && c.options.size > 0 && le.value === 0 ? e.noMatchText || n("el.select.noMatch") : c.options.size === 0 ? e.noDataText || n("el.select.noData") : null), le = o(() => V.value.filter((e) => e.visible).length), V = o(() => {
|
|
6178
6180
|
let e = Array.from(c.options.values()), t = [];
|
|
6179
6181
|
return c.optionValues.forEach((n) => {
|
|
6180
6182
|
let r = e.findIndex((e) => e.value === n);
|
|
@@ -6200,7 +6202,7 @@ var Gh = /* @__PURE__ */ zp(Uh, [["render", Wh]]), Kh = (e, t) => {
|
|
|
6200
6202
|
return e.filterable || Zc(t) ? !c.inputValue : !0;
|
|
6201
6203
|
}), W = o(() => {
|
|
6202
6204
|
let t = e.placeholder ?? n("el.select.placeholder");
|
|
6203
|
-
return e.multiple || !
|
|
6205
|
+
return e.multiple || !ie.value ? t : c.selectedLabel;
|
|
6204
6206
|
}), G = it ? null : "mouseenter";
|
|
6205
6207
|
U(() => e.modelValue, (t, n) => {
|
|
6206
6208
|
e.multiple && e.filterable && !e.reserveKeyword && (c.inputValue = "", ve("")), be(), !Lc(t, n) && e.validateEvent && w?.validate("change").catch(St);
|
|
@@ -6293,7 +6295,7 @@ var Gh = /* @__PURE__ */ zp(Uh, [["render", Wh]]), Kh = (e, t) => {
|
|
|
6293
6295
|
}
|
|
6294
6296
|
}, Ne = (n, r) => {
|
|
6295
6297
|
let i = c.selected.indexOf(r);
|
|
6296
|
-
if (i > -1 && !
|
|
6298
|
+
if (i > -1 && !te.value) {
|
|
6297
6299
|
let n = wa(e.modelValue).slice();
|
|
6298
6300
|
n.splice(i, 1), t(Ye, n), Ae(n), t("remove-tag", r.value);
|
|
6299
6301
|
}
|
|
@@ -6341,14 +6343,14 @@ var Gh = /* @__PURE__ */ zp(Uh, [["render", Wh]]), Kh = (e, t) => {
|
|
|
6341
6343
|
}, We = (e) => {
|
|
6342
6344
|
Pe(e);
|
|
6343
6345
|
}, Ge = (e) => {
|
|
6344
|
-
if (b.value = !1,
|
|
6346
|
+
if (b.value = !1, N.value) {
|
|
6345
6347
|
let t = new FocusEvent("blur", e);
|
|
6346
|
-
T(() =>
|
|
6348
|
+
T(() => P(t));
|
|
6347
6349
|
}
|
|
6348
6350
|
}, Ke = () => {
|
|
6349
6351
|
c.inputValue.length > 0 ? c.inputValue = "" : b.value = !1;
|
|
6350
6352
|
}, qe = (t) => {
|
|
6351
|
-
|
|
6353
|
+
te.value || e.filterable && b.value && t && !h.value?.contains(t.target) || (it && (c.inputHovering = !0), c.menuVisibleOnFocus ? c.menuVisibleOnFocus = !1 : b.value = !b.value);
|
|
6352
6354
|
}, Je = () => {
|
|
6353
6355
|
if (!b.value) qe();
|
|
6354
6356
|
else {
|
|
@@ -6426,7 +6428,7 @@ var Gh = /* @__PURE__ */ zp(Uh, [["render", Wh]]), Kh = (e, t) => {
|
|
|
6426
6428
|
}, dt = (e) => {
|
|
6427
6429
|
t("end-reached", e);
|
|
6428
6430
|
};
|
|
6429
|
-
bt(u, Ce), bt(
|
|
6431
|
+
bt(u, Ce), bt(ne, Te), bt(_, Ee), bt(v, we);
|
|
6430
6432
|
let ft;
|
|
6431
6433
|
return U(() => he.value, (e) => {
|
|
6432
6434
|
e ? ft = bt(g, Te).stop : (ft?.(), ft = void 0), t("visible-change", e);
|
|
@@ -6438,7 +6440,7 @@ var Gh = /* @__PURE__ */ zp(Uh, [["render", Wh]]), Kh = (e, t) => {
|
|
|
6438
6440
|
nsSelect: a,
|
|
6439
6441
|
nsInput: s,
|
|
6440
6442
|
states: c,
|
|
6441
|
-
isFocused:
|
|
6443
|
+
isFocused: N,
|
|
6442
6444
|
expanded: b,
|
|
6443
6445
|
optionsArray: V,
|
|
6444
6446
|
hoverOption: x,
|
|
@@ -6453,25 +6455,25 @@ var Gh = /* @__PURE__ */ zp(Uh, [["render", Wh]]), Kh = (e, t) => {
|
|
|
6453
6455
|
deleteSelected: Pe,
|
|
6454
6456
|
handleOptionSelect: Fe,
|
|
6455
6457
|
scrollToOption: Le,
|
|
6456
|
-
hasModelValue:
|
|
6458
|
+
hasModelValue: ie,
|
|
6457
6459
|
shouldShowPlaceholder: ge,
|
|
6458
6460
|
currentPlaceholder: W,
|
|
6459
6461
|
mouseEnterEventName: G,
|
|
6460
|
-
needStatusIcon:
|
|
6461
|
-
showClearBtn:
|
|
6462
|
-
iconComponent:
|
|
6463
|
-
iconReverse:
|
|
6464
|
-
validateState:
|
|
6462
|
+
needStatusIcon: I,
|
|
6463
|
+
showClearBtn: L,
|
|
6464
|
+
iconComponent: R,
|
|
6465
|
+
iconReverse: ae,
|
|
6466
|
+
validateState: z,
|
|
6465
6467
|
validateIcon: oe,
|
|
6466
6468
|
showNewOption: de,
|
|
6467
6469
|
updateOptions: H,
|
|
6468
6470
|
collapseTagSize: me,
|
|
6469
6471
|
setSelected: be,
|
|
6470
|
-
selectDisabled:
|
|
6472
|
+
selectDisabled: te,
|
|
6471
6473
|
emptyText: ce,
|
|
6472
6474
|
handleCompositionStart: A,
|
|
6473
6475
|
handleCompositionUpdate: j,
|
|
6474
|
-
handleCompositionEnd:
|
|
6476
|
+
handleCompositionEnd: ee,
|
|
6475
6477
|
handleKeydown: at,
|
|
6476
6478
|
onOptionCreate: Re,
|
|
6477
6479
|
onOptionDestroy: ze,
|
|
@@ -6500,7 +6502,7 @@ var Gh = /* @__PURE__ */ zp(Uh, [["render", Wh]]), Kh = (e, t) => {
|
|
|
6500
6502
|
prefixRef: m,
|
|
6501
6503
|
suffixRef: h,
|
|
6502
6504
|
selectRef: l,
|
|
6503
|
-
wrapperRef:
|
|
6505
|
+
wrapperRef: ne,
|
|
6504
6506
|
selectionRef: u,
|
|
6505
6507
|
scrollbarRef: y,
|
|
6506
6508
|
menuRef: g,
|
|
@@ -6560,7 +6562,7 @@ var Gh = /* @__PURE__ */ zp(Uh, [["render", Wh]]), Kh = (e, t) => {
|
|
|
6560
6562
|
let a = o(() => {
|
|
6561
6563
|
let { modelValue: t, multiple: n } = e, r = n ? [] : void 0;
|
|
6562
6564
|
return J(t) ? n ? t : r : n ? r : t;
|
|
6563
|
-
}), s =
|
|
6565
|
+
}), s = re({
|
|
6564
6566
|
...ue(e),
|
|
6565
6567
|
modelValue: a
|
|
6566
6568
|
}), c = Kh(s, t), { calculatorRef: l, inputStyle: u } = xl(), { getLabel: d, getValue: f, getOptions: p, getDisabled: m } = Ah(e), h = (e) => ({
|
|
@@ -6583,7 +6585,7 @@ var Gh = /* @__PURE__ */ zp(Uh, [["render", Wh]]), Kh = (e, t) => {
|
|
|
6583
6585
|
};
|
|
6584
6586
|
U(() => [e.persistent || c.expanded.value || !n.default ? void 0 : n.default?.(), a.value], () => {
|
|
6585
6587
|
e.persistent || c.expanded.value || n.default && (c.states.options.clear(), v(n.default?.()));
|
|
6586
|
-
}, { immediate: !0 }),
|
|
6588
|
+
}, { immediate: !0 }), P(Oh, re({
|
|
6587
6589
|
props: s,
|
|
6588
6590
|
states: c.states,
|
|
6589
6591
|
selectRef: c.selectRef,
|
|
@@ -6624,8 +6626,8 @@ var Gh = /* @__PURE__ */ zp(Uh, [["render", Wh]]), Kh = (e, t) => {
|
|
|
6624
6626
|
"aria-label"
|
|
6625
6627
|
], eg = ["textContent"], tg = { key: 1 };
|
|
6626
6628
|
function ng(e, n, r, i, a, o) {
|
|
6627
|
-
let s =
|
|
6628
|
-
return G((
|
|
6629
|
+
let s = R("el-tag"), f = R("el-tooltip"), p = R("el-icon"), g = R("el-option"), _ = R("el-option-group"), v = R("el-options"), y = R("el-scrollbar"), b = R("el-select-menu"), x = ae("click-outside");
|
|
6630
|
+
return G((N(), u("div", w({
|
|
6629
6631
|
ref: "selectRef",
|
|
6630
6632
|
class: [e.nsSelect.b(), e.nsSelect.m(e.selectSize)]
|
|
6631
6633
|
}, { [ce(e.mouseEnterEventName)]: n[11] ||= (t) => e.states.inputHovering = !0 }, { onMouseleave: n[12] ||= (t) => e.states.inputHovering = !1 }), [h(f, {
|
|
@@ -6661,21 +6663,21 @@ function ng(e, n, r, i, a, o) {
|
|
|
6661
6663
|
]),
|
|
6662
6664
|
onClick: n[7] ||= ve((...t) => e.toggleMenu && e.toggleMenu(...t), ["prevent"])
|
|
6663
6665
|
}, [
|
|
6664
|
-
e.$slots.prefix ? (
|
|
6666
|
+
e.$slots.prefix ? (N(), u("div", {
|
|
6665
6667
|
key: 0,
|
|
6666
6668
|
ref: "prefixRef",
|
|
6667
6669
|
class: E(e.nsSelect.e("prefix"))
|
|
6668
|
-
}, [
|
|
6670
|
+
}, [L(e.$slots, "prefix")], 2)) : l("v-if", !0),
|
|
6669
6671
|
d("div", {
|
|
6670
6672
|
ref: "selectionRef",
|
|
6671
6673
|
class: E([e.nsSelect.e("selection"), e.nsSelect.is("near", e.multiple && !e.$slots.prefix && !!e.states.selected.length)])
|
|
6672
6674
|
}, [
|
|
6673
|
-
e.multiple ?
|
|
6675
|
+
e.multiple ? L(e.$slots, "tag", {
|
|
6674
6676
|
key: 0,
|
|
6675
6677
|
data: e.states.selected,
|
|
6676
6678
|
deleteTag: e.deleteTag,
|
|
6677
6679
|
selectDisabled: e.selectDisabled
|
|
6678
|
-
}, () => [(
|
|
6680
|
+
}, () => [(N(!0), u(t, null, I(e.showTagList, (t) => (N(), u("div", {
|
|
6679
6681
|
key: e.getValueKey(t),
|
|
6680
6682
|
class: E(e.nsSelect.e("selected-item"))
|
|
6681
6683
|
}, [h(s, {
|
|
@@ -6687,7 +6689,7 @@ function ng(e, n, r, i, a, o) {
|
|
|
6687
6689
|
style: D(e.tagStyle),
|
|
6688
6690
|
onClose: (n) => e.deleteTag(n, t)
|
|
6689
6691
|
}, {
|
|
6690
|
-
default: W(() => [d("span", { class: E(e.nsSelect.e("tags-text")) }, [
|
|
6692
|
+
default: W(() => [d("span", { class: E(e.nsSelect.e("tags-text")) }, [L(e.$slots, "label", {
|
|
6691
6693
|
index: t.index,
|
|
6692
6694
|
label: t.currentLabel,
|
|
6693
6695
|
value: t.value
|
|
@@ -6700,7 +6702,7 @@ function ng(e, n, r, i, a, o) {
|
|
|
6700
6702
|
"effect",
|
|
6701
6703
|
"style",
|
|
6702
6704
|
"onClose"
|
|
6703
|
-
])], 2))), 128)), e.collapseTags && e.states.selected.length > e.maxCollapseTags ? (
|
|
6705
|
+
])], 2))), 128)), e.collapseTags && e.states.selected.length > e.maxCollapseTags ? (N(), c(f, {
|
|
6704
6706
|
key: 0,
|
|
6705
6707
|
ref: "tagTooltipRef",
|
|
6706
6708
|
disabled: e.dropdownMenuVisible || !e.collapseTagsTooltip,
|
|
@@ -6745,7 +6747,7 @@ function ng(e, n, r, i, a, o) {
|
|
|
6745
6747
|
content: W(() => [d("div", {
|
|
6746
6748
|
ref: "tagMenuRef",
|
|
6747
6749
|
class: E(e.nsSelect.e("selection"))
|
|
6748
|
-
}, [(
|
|
6750
|
+
}, [(N(!0), u(t, null, I(e.collapseTagList, (t) => (N(), u("div", {
|
|
6749
6751
|
key: e.getValueKey(t),
|
|
6750
6752
|
class: E(e.nsSelect.e("selected-item"))
|
|
6751
6753
|
}, [h(s, {
|
|
@@ -6757,7 +6759,7 @@ function ng(e, n, r, i, a, o) {
|
|
|
6757
6759
|
"disable-transitions": "",
|
|
6758
6760
|
onClose: (n) => e.deleteTag(n, t)
|
|
6759
6761
|
}, {
|
|
6760
|
-
default: W(() => [d("span", { class: E(e.nsSelect.e("tags-text")) }, [
|
|
6762
|
+
default: W(() => [d("span", { class: E(e.nsSelect.e("tags-text")) }, [L(e.$slots, "label", {
|
|
6761
6763
|
index: t.index,
|
|
6762
6764
|
label: t.currentLabel,
|
|
6763
6765
|
value: t.value
|
|
@@ -6818,32 +6820,32 @@ function ng(e, n, r, i, a, o) {
|
|
|
6818
6820
|
onInput: n[4] ||= (...t) => e.onInput && e.onInput(...t),
|
|
6819
6821
|
onChange: n[5] ||= ve(() => {}, ["stop"]),
|
|
6820
6822
|
onClick: n[6] ||= ve((...t) => e.toggleMenu && e.toggleMenu(...t), ["stop"])
|
|
6821
|
-
}, null, 46, $h), e.filterable ? (
|
|
6823
|
+
}, null, 46, $h), e.filterable ? (N(), u("span", {
|
|
6822
6824
|
key: 0,
|
|
6823
6825
|
ref: "calculatorRef",
|
|
6824
6826
|
"aria-hidden": "true",
|
|
6825
6827
|
class: E(e.nsSelect.e("input-calculator")),
|
|
6826
6828
|
textContent: B(e.states.inputValue)
|
|
6827
6829
|
}, null, 10, eg)) : l("v-if", !0)], 2),
|
|
6828
|
-
e.shouldShowPlaceholder ? (
|
|
6830
|
+
e.shouldShowPlaceholder ? (N(), u("div", {
|
|
6829
6831
|
key: 1,
|
|
6830
6832
|
class: E([
|
|
6831
6833
|
e.nsSelect.e("selected-item"),
|
|
6832
6834
|
e.nsSelect.e("placeholder"),
|
|
6833
6835
|
e.nsSelect.is("transparent", !e.hasModelValue || e.expanded && !e.states.inputValue)
|
|
6834
6836
|
])
|
|
6835
|
-
}, [e.hasModelValue ?
|
|
6837
|
+
}, [e.hasModelValue ? L(e.$slots, "label", {
|
|
6836
6838
|
key: 0,
|
|
6837
6839
|
index: e.getOption(e.modelValue).index,
|
|
6838
6840
|
label: e.currentPlaceholder,
|
|
6839
6841
|
value: e.modelValue
|
|
6840
|
-
}, () => [d("span", null, B(e.currentPlaceholder), 1)]) : (
|
|
6842
|
+
}, () => [d("span", null, B(e.currentPlaceholder), 1)]) : (N(), u("span", tg, B(e.currentPlaceholder), 1))], 2)) : l("v-if", !0)
|
|
6841
6843
|
], 2),
|
|
6842
6844
|
d("div", {
|
|
6843
6845
|
ref: "suffixRef",
|
|
6844
6846
|
class: E(e.nsSelect.e("suffix"))
|
|
6845
6847
|
}, [
|
|
6846
|
-
e.iconComponent && !e.showClearBtn ? (
|
|
6848
|
+
e.iconComponent && !e.showClearBtn ? (N(), c(p, {
|
|
6847
6849
|
key: 0,
|
|
6848
6850
|
class: E([
|
|
6849
6851
|
e.nsSelect.e("caret"),
|
|
@@ -6851,10 +6853,10 @@ function ng(e, n, r, i, a, o) {
|
|
|
6851
6853
|
e.iconReverse
|
|
6852
6854
|
])
|
|
6853
6855
|
}, {
|
|
6854
|
-
default: W(() => [(
|
|
6856
|
+
default: W(() => [(N(), c(z(e.iconComponent)))]),
|
|
6855
6857
|
_: 1
|
|
6856
6858
|
}, 8, ["class"])) : l("v-if", !0),
|
|
6857
|
-
e.showClearBtn && e.clearIcon ? (
|
|
6859
|
+
e.showClearBtn && e.clearIcon ? (N(), c(p, {
|
|
6858
6860
|
key: 1,
|
|
6859
6861
|
class: E([
|
|
6860
6862
|
e.nsSelect.e("caret"),
|
|
@@ -6863,10 +6865,10 @@ function ng(e, n, r, i, a, o) {
|
|
|
6863
6865
|
]),
|
|
6864
6866
|
onClick: e.handleClearClick
|
|
6865
6867
|
}, {
|
|
6866
|
-
default: W(() => [(
|
|
6868
|
+
default: W(() => [(N(), c(z(e.clearIcon)))]),
|
|
6867
6869
|
_: 1
|
|
6868
6870
|
}, 8, ["class", "onClick"])) : l("v-if", !0),
|
|
6869
|
-
e.validateState && e.validateIcon && e.needStatusIcon ? (
|
|
6871
|
+
e.validateState && e.validateIcon && e.needStatusIcon ? (N(), c(p, {
|
|
6870
6872
|
key: 2,
|
|
6871
6873
|
class: E([
|
|
6872
6874
|
e.nsInput.e("icon"),
|
|
@@ -6874,18 +6876,18 @@ function ng(e, n, r, i, a, o) {
|
|
|
6874
6876
|
e.nsInput.is("loading", e.validateState === "validating")
|
|
6875
6877
|
])
|
|
6876
6878
|
}, {
|
|
6877
|
-
default: W(() => [(
|
|
6879
|
+
default: W(() => [(N(), c(z(e.validateIcon)))]),
|
|
6878
6880
|
_: 1
|
|
6879
6881
|
}, 8, ["class"])) : l("v-if", !0)
|
|
6880
6882
|
], 2)
|
|
6881
6883
|
], 2)]),
|
|
6882
6884
|
content: W(() => [h(b, { ref: "menuRef" }, {
|
|
6883
6885
|
default: W(() => [
|
|
6884
|
-
e.$slots.header ? (
|
|
6886
|
+
e.$slots.header ? (N(), u("div", {
|
|
6885
6887
|
key: 0,
|
|
6886
6888
|
class: E(e.nsSelect.be("dropdown", "header")),
|
|
6887
6889
|
onClick: n[8] ||= ve(() => {}, ["stop"])
|
|
6888
|
-
}, [
|
|
6890
|
+
}, [L(e.$slots, "header")], 2)) : l("v-if", !0),
|
|
6889
6891
|
G(h(y, {
|
|
6890
6892
|
id: e.contentId,
|
|
6891
6893
|
ref: "scrollbarRef",
|
|
@@ -6899,19 +6901,19 @@ function ng(e, n, r, i, a, o) {
|
|
|
6899
6901
|
onScroll: e.popupScroll,
|
|
6900
6902
|
onEndReached: e.endReached
|
|
6901
6903
|
}, {
|
|
6902
|
-
default: W(() => [e.showNewOption ? (
|
|
6904
|
+
default: W(() => [e.showNewOption ? (N(), c(g, {
|
|
6903
6905
|
key: 0,
|
|
6904
6906
|
value: e.states.inputValue,
|
|
6905
6907
|
created: !0
|
|
6906
6908
|
}, null, 8, ["value"])) : l("v-if", !0), h(v, null, {
|
|
6907
|
-
default: W(() => [
|
|
6909
|
+
default: W(() => [L(e.$slots, "default", {}, () => [(N(!0), u(t, null, I(e.options, (n, r) => (N(), u(t, { key: r }, [e.getOptions(n)?.length ? (N(), c(_, {
|
|
6908
6910
|
key: 0,
|
|
6909
6911
|
label: e.getLabel(n),
|
|
6910
6912
|
disabled: e.getDisabled(n)
|
|
6911
6913
|
}, {
|
|
6912
|
-
default: W(() => [(
|
|
6914
|
+
default: W(() => [(N(!0), u(t, null, I(e.getOptions(n), (t) => (N(), c(g, w({ key: e.getValue(t) }, { ref_for: !0 }, e.getOptionProps(t)), null, 16))), 128))]),
|
|
6913
6915
|
_: 2
|
|
6914
|
-
}, 1032, ["label", "disabled"])) : (
|
|
6916
|
+
}, 1032, ["label", "disabled"])) : (N(), c(g, w({
|
|
6915
6917
|
key: 1,
|
|
6916
6918
|
ref_for: !0
|
|
6917
6919
|
}, e.getOptionProps(n)), null, 16))], 64))), 128))])]),
|
|
@@ -6927,18 +6929,18 @@ function ng(e, n, r, i, a, o) {
|
|
|
6927
6929
|
"onScroll",
|
|
6928
6930
|
"onEndReached"
|
|
6929
6931
|
]), [[he, e.states.options.size > 0 && !e.loading]]),
|
|
6930
|
-
e.$slots.loading && e.loading ? (
|
|
6932
|
+
e.$slots.loading && e.loading ? (N(), u("div", {
|
|
6931
6933
|
key: 1,
|
|
6932
6934
|
class: E(e.nsSelect.be("dropdown", "loading"))
|
|
6933
|
-
}, [
|
|
6935
|
+
}, [L(e.$slots, "loading")], 2)) : e.loading || e.filteredOptionsCount === 0 ? (N(), u("div", {
|
|
6934
6936
|
key: 2,
|
|
6935
6937
|
class: E(e.nsSelect.be("dropdown", "empty"))
|
|
6936
|
-
}, [
|
|
6937
|
-
e.$slots.footer ? (
|
|
6938
|
+
}, [L(e.$slots, "empty", {}, () => [d("span", null, B(e.emptyText), 1)])], 2)) : l("v-if", !0),
|
|
6939
|
+
e.$slots.footer ? (N(), u("div", {
|
|
6938
6940
|
key: 3,
|
|
6939
6941
|
class: E(e.nsSelect.be("dropdown", "footer")),
|
|
6940
6942
|
onClick: n[9] ||= ve(() => {}, ["stop"])
|
|
6941
|
-
}, [
|
|
6943
|
+
}, [L(e.$slots, "footer")], 2)) : l("v-if", !0)
|
|
6942
6944
|
]),
|
|
6943
6945
|
_: 3
|
|
6944
6946
|
}, 512)]),
|
|
@@ -7123,7 +7125,7 @@ var ag = {
|
|
|
7123
7125
|
onClickRoot: p
|
|
7124
7126
|
};
|
|
7125
7127
|
}, pg = (e) => {
|
|
7126
|
-
let t =
|
|
7128
|
+
let t = F(!1), { emit: n, vnode: r } = _(), i = b(sg, void 0), a = o(() => Zc(i) === !1), s = F(!1), c = o(() => {
|
|
7127
7129
|
let e = r.props ?? {};
|
|
7128
7130
|
return "modelValue" in e || "model-value" in e;
|
|
7129
7131
|
}), l = o({
|
|
@@ -7140,7 +7142,7 @@ var ag = {
|
|
|
7140
7142
|
isLimitExceeded: s
|
|
7141
7143
|
};
|
|
7142
7144
|
}, mg = (e, t, { model: n }) => {
|
|
7143
|
-
let r = b(sg, void 0), i =
|
|
7145
|
+
let r = b(sg, void 0), i = F(!1), a = o(() => nl(e.value) ? e.label : e.value), s = o(() => {
|
|
7144
7146
|
let t = n.value;
|
|
7145
7147
|
return Qc(t) ? t : J(t) ? Dt(a.value) ? t.map(le).some((e) => Lc(e, a.value)) : t.map(le).includes(a.value) : t == null ? !!t : t === e.trueValue || t === e.trueLabel;
|
|
7146
7148
|
});
|
|
@@ -7232,7 +7234,7 @@ var ag = {
|
|
|
7232
7234
|
S.is("indeterminate", n.indeterminate),
|
|
7233
7235
|
S.is("focus", f.value)
|
|
7234
7236
|
]);
|
|
7235
|
-
return (n, a) => (
|
|
7237
|
+
return (n, a) => (N(), c(z(!H(h) && H(i) ? "span" : "label"), {
|
|
7236
7238
|
for: !H(h) && H(i) ? null : H(r),
|
|
7237
7239
|
class: E(C.value),
|
|
7238
7240
|
"aria-controls": e.indeterminate ? e.ariaControls : null,
|
|
@@ -7254,10 +7256,10 @@ var ag = {
|
|
|
7254
7256
|
onFocus: a[2] ||= (e) => f.value = !0,
|
|
7255
7257
|
onBlur: a[3] ||= (e) => f.value = !1,
|
|
7256
7258
|
onClick: a[4] ||= ve(() => {}, ["stop"])
|
|
7257
|
-
}), null, 16, gg), [[pe, H(g)]]), d("span", { class: E(H(S).e("inner")) }, null, 2)], 2), H(h) ? (
|
|
7259
|
+
}), null, 16, gg), [[pe, H(g)]]), d("span", { class: E(H(S).e("inner")) }, null, 2)], 2), H(h) ? (N(), u("span", {
|
|
7258
7260
|
key: 0,
|
|
7259
7261
|
class: E(H(S).e("label"))
|
|
7260
|
-
}, [
|
|
7262
|
+
}, [L(n.$slots, "default"), n.$slots.default ? l("v-if", !0) : (N(), u(t, { key: 0 }, [m(B(e.label), 1)], 64))], 2)) : l("v-if", !0)]),
|
|
7261
7263
|
_: 3
|
|
7262
7264
|
}, 8, [
|
|
7263
7265
|
"for",
|
|
@@ -7296,7 +7298,7 @@ var ag = {
|
|
|
7296
7298
|
g.is("checked", r.value),
|
|
7297
7299
|
g.is("focus", n.value)
|
|
7298
7300
|
]);
|
|
7299
|
-
return (t, a) => (
|
|
7301
|
+
return (t, a) => (N(), u("label", { class: E(v.value) }, [G(d("input", w({
|
|
7300
7302
|
"onUpdate:modelValue": a[0] ||= (e) => x(s) ? s.value = e : null,
|
|
7301
7303
|
class: H(g).be("button", "original"),
|
|
7302
7304
|
type: "checkbox",
|
|
@@ -7308,11 +7310,11 @@ var ag = {
|
|
|
7308
7310
|
onFocus: a[2] ||= (e) => n.value = !0,
|
|
7309
7311
|
onBlur: a[3] ||= (e) => n.value = !1,
|
|
7310
7312
|
onClick: a[4] ||= ve(() => {}, ["stop"])
|
|
7311
|
-
}), null, 16, vg), [[pe, H(s)]]), t.$slots.default || e.label ? (
|
|
7313
|
+
}), null, 16, vg), [[pe, H(s)]]), t.$slots.default || e.label ? (N(), u("span", {
|
|
7312
7314
|
key: 0,
|
|
7313
7315
|
class: E(H(g).be("button", "inner")),
|
|
7314
7316
|
style: D(H(r) ? _.value : void 0)
|
|
7315
|
-
}, [
|
|
7317
|
+
}, [L(t.$slots, "default", {}, () => [m(B(e.label), 1)])], 6)) : l("v-if", !0)], 2));
|
|
7316
7318
|
}
|
|
7317
7319
|
}), bg = /* @__PURE__ */ g({
|
|
7318
7320
|
name: "ElCheckboxGroup",
|
|
@@ -7347,7 +7349,7 @@ var ag = {
|
|
|
7347
7349
|
...i
|
|
7348
7350
|
};
|
|
7349
7351
|
}, _ = o(() => r.type === "button" ? yg : _g);
|
|
7350
|
-
return
|
|
7352
|
+
return P(sg, {
|
|
7351
7353
|
...Xc(ue(r), [
|
|
7352
7354
|
"size",
|
|
7353
7355
|
"min",
|
|
@@ -7361,14 +7363,14 @@ var ag = {
|
|
|
7361
7363
|
changeEvent: p
|
|
7362
7364
|
}), U(() => r.modelValue, (e, t) => {
|
|
7363
7365
|
r.validateEvent && !Lc(e, t) && l?.validate("change").catch(St);
|
|
7364
|
-
}), (n, r) => (
|
|
7366
|
+
}), (n, r) => (N(), c(z(e.tag), {
|
|
7365
7367
|
id: H(d),
|
|
7366
7368
|
class: E(H(a).b("group")),
|
|
7367
7369
|
role: "group",
|
|
7368
7370
|
"aria-label": H(f) ? void 0 : e.ariaLabel || "checkbox-group",
|
|
7369
7371
|
"aria-labelledby": H(f) ? H(l)?.labelId : void 0
|
|
7370
7372
|
}, {
|
|
7371
|
-
default: W(() => [
|
|
7373
|
+
default: W(() => [L(n.$slots, "default", {}, () => [(N(!0), u(t, null, I(e.options, (e, t) => (N(), c(z(_.value), w({ key: t }, { ref_for: !0 }, g(e)), null, 16))), 128))])]),
|
|
7372
7374
|
_: 3
|
|
7373
7375
|
}, 8, [
|
|
7374
7376
|
"id",
|
|
@@ -7472,14 +7474,14 @@ var Sg = If(bg), Cg = Q({
|
|
|
7472
7474
|
},
|
|
7473
7475
|
...Mf(["ariaLabel"])
|
|
7474
7476
|
}), Ag = Tg, jg = (e, t) => {
|
|
7475
|
-
let n =
|
|
7477
|
+
let n = F(), r = b(Eg, void 0), i = o(() => !!r), a = o(() => nl(e.value) ? e.label : e.value), s = o({
|
|
7476
7478
|
get() {
|
|
7477
7479
|
return i.value ? r.modelValue : e.modelValue;
|
|
7478
7480
|
},
|
|
7479
7481
|
set(o) {
|
|
7480
7482
|
i.value ? r.changeEvent(o) : t && t("update:modelValue", o), n.value.checked = e.modelValue === a.value;
|
|
7481
7483
|
}
|
|
7482
|
-
}), c = op(o(() => r?.size)), l = sp(o(() => r?.disabled)), u =
|
|
7484
|
+
}), c = op(o(() => r?.size)), l = sp(o(() => r?.disabled)), u = F(!1), d = o(() => l.value || i.value && s.value !== a.value ? -1 : 0);
|
|
7483
7485
|
return Sl({
|
|
7484
7486
|
from: "label act as value",
|
|
7485
7487
|
replacement: "value",
|
|
@@ -7512,7 +7514,7 @@ var Sg = If(bg), Cg = Q({
|
|
|
7512
7514
|
function h() {
|
|
7513
7515
|
T(() => r(Xe, f.value));
|
|
7514
7516
|
}
|
|
7515
|
-
return (t, n) => (
|
|
7517
|
+
return (t, n) => (N(), u("label", { class: E([
|
|
7516
7518
|
H(i).b(),
|
|
7517
7519
|
H(i).is("disabled", H(l)),
|
|
7518
7520
|
H(i).is("focus", H(s)),
|
|
@@ -7540,7 +7542,7 @@ var Sg = If(bg), Cg = Q({
|
|
|
7540
7542
|
}, null, 42, Mg), [[me, H(f)]]), d("span", { class: E(H(i).e("inner")) }, null, 2)], 2), d("span", {
|
|
7541
7543
|
class: E(H(i).e("label")),
|
|
7542
7544
|
onKeydown: n[4] ||= ve(() => {}, ["stop"])
|
|
7543
|
-
}, [
|
|
7545
|
+
}, [L(t.$slots, "default", {}, () => [m(B(e.label), 1)])], 34)], 2));
|
|
7544
7546
|
}
|
|
7545
7547
|
}), Pg = [
|
|
7546
7548
|
"value",
|
|
@@ -7557,7 +7559,7 @@ var Sg = If(bg), Cg = Q({
|
|
|
7557
7559
|
boxShadow: l?.fill ? `-1px 0 0 0 ${l.fill}` : "",
|
|
7558
7560
|
color: l?.textColor || ""
|
|
7559
7561
|
}));
|
|
7560
|
-
return (t, o) => (
|
|
7562
|
+
return (t, o) => (N(), u("label", { class: E([
|
|
7561
7563
|
H(n).b("button"),
|
|
7562
7564
|
H(n).is("active", H(c) === H(f)),
|
|
7563
7565
|
H(n).is("disabled", H(s)),
|
|
@@ -7579,7 +7581,7 @@ var Sg = If(bg), Cg = Q({
|
|
|
7579
7581
|
class: E(H(n).be("button", "inner")),
|
|
7580
7582
|
style: D(H(c) === H(f) ? p.value : {}),
|
|
7581
7583
|
onKeydown: o[4] ||= ve(() => {}, ["stop"])
|
|
7582
|
-
}, [
|
|
7584
|
+
}, [L(t.$slots, "default", {}, () => [m(B(e.label), 1)])], 38)], 2));
|
|
7583
7585
|
}
|
|
7584
7586
|
}), Ig = [
|
|
7585
7587
|
"id",
|
|
@@ -7591,7 +7593,7 @@ var Sg = If(bg), Cg = Q({
|
|
|
7591
7593
|
props: kg,
|
|
7592
7594
|
emits: Ag,
|
|
7593
7595
|
setup(e, { emit: n }) {
|
|
7594
|
-
let r = e, i = n, a = $("radio"), s = ef(), l =
|
|
7596
|
+
let r = e, i = n, a = $("radio"), s = ef(), l = F(), { formItem: d } = cp(), { inputId: f, isLabeledByFormItem: p } = lp(r, { formItemContext: d }), m = (e) => {
|
|
7595
7597
|
i(Ye, e), T(() => i(Xe, e));
|
|
7596
7598
|
};
|
|
7597
7599
|
M(() => {
|
|
@@ -7616,13 +7618,13 @@ var Sg = If(bg), Cg = Q({
|
|
|
7616
7618
|
...i
|
|
7617
7619
|
};
|
|
7618
7620
|
}, v = o(() => r.type === "button" ? Fg : Ng);
|
|
7619
|
-
return
|
|
7621
|
+
return P(Eg, re({
|
|
7620
7622
|
...ue(r),
|
|
7621
7623
|
changeEvent: m,
|
|
7622
7624
|
name: h
|
|
7623
7625
|
})), U(() => r.modelValue, (e, t) => {
|
|
7624
7626
|
r.validateEvent && !Lc(e, t) && d?.validate("change").catch(St);
|
|
7625
|
-
}), (n, r) => (
|
|
7627
|
+
}), (n, r) => (N(), u("div", {
|
|
7626
7628
|
id: H(f),
|
|
7627
7629
|
ref_key: "radioGroupRef",
|
|
7628
7630
|
ref: l,
|
|
@@ -7630,7 +7632,7 @@ var Sg = If(bg), Cg = Q({
|
|
|
7630
7632
|
role: "radiogroup",
|
|
7631
7633
|
"aria-label": H(p) ? void 0 : e.ariaLabel || "radio-group",
|
|
7632
7634
|
"aria-labelledby": H(p) ? H(d).labelId : void 0
|
|
7633
|
-
}, [
|
|
7635
|
+
}, [L(n.$slots, "default", {}, () => [(N(!0), u(t, null, I(e.options, (e, t) => (N(), c(z(v.value), w({ key: t }, { ref_for: !0 }, _(e)), null, 16))), 128))])], 10, Ig));
|
|
7634
7636
|
}
|
|
7635
7637
|
}), Rg = Pf(Ng, {
|
|
7636
7638
|
RadioButton: Fg,
|
|
@@ -7715,7 +7717,7 @@ var Bg = Q({
|
|
|
7715
7717
|
props: Vg,
|
|
7716
7718
|
setup(e) {
|
|
7717
7719
|
let t = e, n = $("row");
|
|
7718
|
-
|
|
7720
|
+
P(Hg, { gutter: o(() => t.gutter) });
|
|
7719
7721
|
let r = o(() => {
|
|
7720
7722
|
let e = {};
|
|
7721
7723
|
return t.gutter && (e.marginRight = e.marginLeft = `-${t.gutter / 2}px`), e;
|
|
@@ -7724,11 +7726,11 @@ var Bg = Q({
|
|
|
7724
7726
|
n.is(`justify-${t.justify}`, t.justify !== "start"),
|
|
7725
7727
|
n.is(`align-${t.align}`, !!t.align)
|
|
7726
7728
|
]);
|
|
7727
|
-
return (t, n) => (
|
|
7729
|
+
return (t, n) => (N(), c(z(e.tag), {
|
|
7728
7730
|
class: E(i.value),
|
|
7729
7731
|
style: D(r.value)
|
|
7730
7732
|
}, {
|
|
7731
|
-
default: W(() => [
|
|
7733
|
+
default: W(() => [L(t.$slots, "default")]),
|
|
7732
7734
|
_: 3
|
|
7733
7735
|
}, 8, ["class", "style"]));
|
|
7734
7736
|
}
|
|
@@ -7762,11 +7764,11 @@ var Bg = Q({
|
|
|
7762
7764
|
});
|
|
7763
7765
|
}), n.value && e.push(r.is("guttered")), [r.b(), e];
|
|
7764
7766
|
});
|
|
7765
|
-
return (t, n) => (
|
|
7767
|
+
return (t, n) => (N(), c(z(e.tag), {
|
|
7766
7768
|
class: E(a.value),
|
|
7767
7769
|
style: D(i.value)
|
|
7768
7770
|
}, {
|
|
7769
|
-
default: W(() => [
|
|
7771
|
+
default: W(() => [L(t.$slots, "default")]),
|
|
7770
7772
|
_: 3
|
|
7771
7773
|
}, 8, ["class", "style"]));
|
|
7772
7774
|
}
|
|
@@ -7933,7 +7935,7 @@ var Xg = Q({
|
|
|
7933
7935
|
onClick: i,
|
|
7934
7936
|
onMousedown: a,
|
|
7935
7937
|
onMouseup: o
|
|
7936
|
-
}, [
|
|
7938
|
+
}, [L(t, "default")], 14, [
|
|
7937
7939
|
"onClick",
|
|
7938
7940
|
"onMouseup",
|
|
7939
7941
|
"onMousedown"
|
|
@@ -7947,10 +7949,10 @@ var Xg = Q({
|
|
|
7947
7949
|
bottom: "0px",
|
|
7948
7950
|
left: "0px"
|
|
7949
7951
|
}
|
|
7950
|
-
}, [
|
|
7952
|
+
}, [L(t, "default")]);
|
|
7951
7953
|
}
|
|
7952
7954
|
}), e_ = Symbol("dialogInjectionKey"), t_ = "dialog-fade", n_ = "ElDialog", r_ = (e, t) => {
|
|
7953
|
-
let n = _().emit, { nextZIndex: r } = yf(), i = "", a = ef(), s = ef(), c =
|
|
7955
|
+
let n = _().emit, { nextZIndex: r } = yf(), i = "", a = ef(), s = ef(), c = F(!1), l = F(!1), u = F(!1), d = F(e.zIndex ?? r()), f = F(!1), p, m, h = Pm(), g = o(() => h.value?.namespace ?? "el"), v = o(() => h.value?.dialog), y = o(() => {
|
|
7954
7956
|
let t = {}, n = `--${g.value}-dialog`;
|
|
7955
7957
|
if (!e.fullscreen) {
|
|
7956
7958
|
e.top && (t[`${n}-margin-top`] = e.top);
|
|
@@ -7985,40 +7987,40 @@ var Xg = Q({
|
|
|
7985
7987
|
f.value = !0, n("close");
|
|
7986
7988
|
}
|
|
7987
7989
|
function A() {
|
|
7988
|
-
m?.(), p?.(), e.openDelay && e.openDelay > 0 ? {stop: p} = ut(() =>
|
|
7990
|
+
m?.(), p?.(), e.openDelay && e.openDelay > 0 ? {stop: p} = ut(() => ne(), e.openDelay) : ne();
|
|
7989
7991
|
}
|
|
7990
7992
|
function j() {
|
|
7991
|
-
p?.(), m?.(), e.closeDelay && e.closeDelay > 0 ? {stop: m} = ut(() =>
|
|
7993
|
+
p?.(), m?.(), e.closeDelay && e.closeDelay > 0 ? {stop: m} = ut(() => N(), e.closeDelay) : N();
|
|
7992
7994
|
}
|
|
7993
|
-
function
|
|
7995
|
+
function ee() {
|
|
7994
7996
|
function t(e) {
|
|
7995
7997
|
e || (l.value = !0, c.value = !1);
|
|
7996
7998
|
}
|
|
7997
7999
|
e.beforeClose ? e.beforeClose(t) : j();
|
|
7998
8000
|
}
|
|
7999
|
-
function ee() {
|
|
8000
|
-
e.closeOnClickModal && N();
|
|
8001
|
-
}
|
|
8002
8001
|
function te() {
|
|
8002
|
+
e.closeOnClickModal && ee();
|
|
8003
|
+
}
|
|
8004
|
+
function ne() {
|
|
8003
8005
|
q && (c.value = !0);
|
|
8004
8006
|
}
|
|
8005
|
-
function
|
|
8007
|
+
function N() {
|
|
8006
8008
|
c.value = !1;
|
|
8007
8009
|
}
|
|
8008
|
-
function
|
|
8010
|
+
function P() {
|
|
8009
8011
|
n("openAutoFocus");
|
|
8010
8012
|
}
|
|
8011
|
-
function
|
|
8013
|
+
function re() {
|
|
8012
8014
|
n("closeAutoFocus");
|
|
8013
8015
|
}
|
|
8014
|
-
function
|
|
8016
|
+
function ie(e) {
|
|
8015
8017
|
e.detail?.focusReason === "pointer" && e.preventDefault();
|
|
8016
8018
|
}
|
|
8017
8019
|
e.lockScroll && Gl(c);
|
|
8018
|
-
function
|
|
8019
|
-
e.closeOnPressEscape &&
|
|
8020
|
+
function I() {
|
|
8021
|
+
e.closeOnPressEscape && ee();
|
|
8020
8022
|
}
|
|
8021
|
-
function
|
|
8023
|
+
function L() {
|
|
8022
8024
|
!c.value || !C.value || e.zIndex !== void 0 || (d.value = r());
|
|
8023
8025
|
}
|
|
8024
8026
|
return U(() => e.zIndex, () => {
|
|
@@ -8035,15 +8037,15 @@ var Xg = Q({
|
|
|
8035
8037
|
afterEnter: D,
|
|
8036
8038
|
afterLeave: O,
|
|
8037
8039
|
beforeLeave: k,
|
|
8038
|
-
handleClose:
|
|
8039
|
-
onModalClick:
|
|
8040
|
+
handleClose: ee,
|
|
8041
|
+
onModalClick: te,
|
|
8040
8042
|
close: j,
|
|
8041
|
-
doClose:
|
|
8042
|
-
onOpenAutoFocus:
|
|
8043
|
-
onCloseAutoFocus:
|
|
8044
|
-
onCloseRequested:
|
|
8045
|
-
onFocusoutPrevented:
|
|
8046
|
-
bringToFront:
|
|
8043
|
+
doClose: N,
|
|
8044
|
+
onOpenAutoFocus: P,
|
|
8045
|
+
onCloseAutoFocus: re,
|
|
8046
|
+
onCloseRequested: I,
|
|
8047
|
+
onFocusoutPrevented: ie,
|
|
8048
|
+
bringToFront: L,
|
|
8047
8049
|
titleId: a,
|
|
8048
8050
|
bodyId: s,
|
|
8049
8051
|
closed: l,
|
|
@@ -8080,7 +8082,7 @@ var Xg = Q({
|
|
|
8080
8082
|
return t({
|
|
8081
8083
|
resetPosition: y,
|
|
8082
8084
|
updatePosition: x
|
|
8083
|
-
}), (t, i) => (
|
|
8085
|
+
}), (t, i) => (N(), u("div", {
|
|
8084
8086
|
ref: H(_),
|
|
8085
8087
|
class: E(C.value),
|
|
8086
8088
|
style: D(H(m)),
|
|
@@ -8094,28 +8096,28 @@ var Xg = Q({
|
|
|
8094
8096
|
e.headerClass,
|
|
8095
8097
|
{ "show-close": e.showClose }
|
|
8096
8098
|
])
|
|
8097
|
-
}, [
|
|
8099
|
+
}, [L(t.$slots, "header", {}, () => [d("span", {
|
|
8098
8100
|
role: "heading",
|
|
8099
8101
|
"aria-level": e.ariaLevel,
|
|
8100
8102
|
class: E(H(p).e("title"))
|
|
8101
|
-
}, B(e.title), 11, a_)]), e.showClose ? (
|
|
8103
|
+
}, B(e.title), 11, a_)]), e.showClose ? (N(), u("button", {
|
|
8102
8104
|
key: 0,
|
|
8103
8105
|
"aria-label": H(n)("el.dialog.close"),
|
|
8104
8106
|
class: E(H(p).e("headerbtn")),
|
|
8105
8107
|
type: "button",
|
|
8106
8108
|
onClick: i[0] ||= (e) => t.$emit("close")
|
|
8107
8109
|
}, [h(H(Vf), { class: E(H(p).e("close")) }, {
|
|
8108
|
-
default: W(() => [(
|
|
8110
|
+
default: W(() => [(N(), c(z(e.closeIcon || H(r))))]),
|
|
8109
8111
|
_: 1
|
|
8110
8112
|
}, 8, ["class"])], 10, o_)) : l("v-if", !0)], 2),
|
|
8111
8113
|
d("div", {
|
|
8112
8114
|
id: H(f),
|
|
8113
8115
|
class: E([H(p).e("body"), e.bodyClass])
|
|
8114
|
-
}, [
|
|
8115
|
-
t.$slots.footer ? (
|
|
8116
|
+
}, [L(t.$slots, "default")], 10, s_),
|
|
8117
|
+
t.$slots.footer ? (N(), u("footer", {
|
|
8116
8118
|
key: 0,
|
|
8117
8119
|
class: E([H(p).e("footer"), e.footerClass])
|
|
8118
|
-
}, [
|
|
8120
|
+
}, [L(t.$slots, "footer")], 2)) : l("v-if", !0)
|
|
8119
8121
|
], 6));
|
|
8120
8122
|
}
|
|
8121
8123
|
}), l_ = [
|
|
@@ -8137,8 +8139,8 @@ var Xg = Q({
|
|
|
8137
8139
|
version: "3.0.0",
|
|
8138
8140
|
ref: "https://element-plus.org/en-US/component/dialog.html#slots"
|
|
8139
8141
|
}, o(() => !!a.title));
|
|
8140
|
-
let s = $("dialog"), u =
|
|
8141
|
-
|
|
8142
|
+
let s = $("dialog"), u = F(), p = F(), m = F(), { visible: g, titleId: _, bodyId: v, style: y, overlayDialogStyle: b, rendered: x, transitionConfig: S, zIndex: C, _draggable: T, _alignCenter: O, _overflow: k, penetrable: A, handleClose: j, onModalClick: M, onOpenAutoFocus: ee, onCloseAutoFocus: te, onCloseRequested: ne, onFocusoutPrevented: re, bringToFront: ie, closing: I } = r_(r, u);
|
|
8143
|
+
P(e_, {
|
|
8142
8144
|
dialogRef: u,
|
|
8143
8145
|
headerRef: p,
|
|
8144
8146
|
bodyId: v,
|
|
@@ -8146,7 +8148,7 @@ var Xg = Q({
|
|
|
8146
8148
|
rendered: x,
|
|
8147
8149
|
style: y
|
|
8148
8150
|
});
|
|
8149
|
-
let
|
|
8151
|
+
let R = Yd(M);
|
|
8150
8152
|
return t({
|
|
8151
8153
|
visible: g,
|
|
8152
8154
|
dialogContentRef: m,
|
|
@@ -8154,7 +8156,7 @@ var Xg = Q({
|
|
|
8154
8156
|
m.value?.resetPosition();
|
|
8155
8157
|
},
|
|
8156
8158
|
handleClose: j
|
|
8157
|
-
}), (t, r) => (
|
|
8159
|
+
}), (t, r) => (N(), c(n, {
|
|
8158
8160
|
to: e.appendTo,
|
|
8159
8161
|
disabled: e.appendTo === "body" && !e.appendToBody
|
|
8160
8162
|
}, [h(i, w(H(S), { persisted: "" }), {
|
|
@@ -8174,21 +8176,21 @@ var Xg = Q({
|
|
|
8174
8176
|
"aria-label": e.title || void 0,
|
|
8175
8177
|
"aria-labelledby": e.title ? void 0 : H(_),
|
|
8176
8178
|
"aria-describedby": H(v),
|
|
8177
|
-
class: E([`${H(s).namespace.value}-overlay-dialog`, H(s).is("closing", H(
|
|
8179
|
+
class: E([`${H(s).namespace.value}-overlay-dialog`, H(s).is("closing", H(I))]),
|
|
8178
8180
|
style: D(H(b)),
|
|
8179
|
-
onClick: r[0] ||= (...e) => H(
|
|
8180
|
-
onMousedown: r[1] ||= (...e) => H(
|
|
8181
|
-
onMouseup: r[2] ||= (...e) => H(
|
|
8181
|
+
onClick: r[0] ||= (...e) => H(R).onClick && H(R).onClick(...e),
|
|
8182
|
+
onMousedown: r[1] ||= (...e) => H(R).onMousedown && H(R).onMousedown(...e),
|
|
8183
|
+
onMouseup: r[2] ||= (...e) => H(R).onMouseup && H(R).onMouseup(...e)
|
|
8182
8184
|
}, [h(H(Vp), {
|
|
8183
8185
|
loop: "",
|
|
8184
8186
|
trapped: H(g),
|
|
8185
8187
|
"focus-start-el": "container",
|
|
8186
|
-
onFocusAfterTrapped: H(
|
|
8187
|
-
onFocusAfterReleased: H(
|
|
8188
|
-
onFocusoutPrevented: H(
|
|
8189
|
-
onReleaseRequested: H(
|
|
8188
|
+
onFocusAfterTrapped: H(ee),
|
|
8189
|
+
onFocusAfterReleased: H(te),
|
|
8190
|
+
onFocusoutPrevented: H(re),
|
|
8191
|
+
onReleaseRequested: H(ne)
|
|
8190
8192
|
}, {
|
|
8191
|
-
default: W(() => [H(x) ? (
|
|
8193
|
+
default: W(() => [H(x) ? (N(), c(c_, w({
|
|
8192
8194
|
key: 0,
|
|
8193
8195
|
ref_key: "dialogContentRef",
|
|
8194
8196
|
ref: m
|
|
@@ -8206,19 +8208,19 @@ var Xg = Q({
|
|
|
8206
8208
|
title: e.title,
|
|
8207
8209
|
"aria-level": e.headerAriaLevel,
|
|
8208
8210
|
onClose: H(j),
|
|
8209
|
-
onMousedown: H(
|
|
8211
|
+
onMousedown: H(ie)
|
|
8210
8212
|
}), f({
|
|
8211
|
-
header: W(() => [t.$slots.title ?
|
|
8213
|
+
header: W(() => [t.$slots.title ? L(t.$slots, "title", { key: 1 }) : L(t.$slots, "header", {
|
|
8212
8214
|
key: 0,
|
|
8213
8215
|
close: H(j),
|
|
8214
8216
|
titleId: H(_),
|
|
8215
8217
|
titleClass: H(s).e("title")
|
|
8216
8218
|
})]),
|
|
8217
|
-
default: W(() => [
|
|
8219
|
+
default: W(() => [L(t.$slots, "default")]),
|
|
8218
8220
|
_: 2
|
|
8219
8221
|
}, [t.$slots.footer ? {
|
|
8220
8222
|
name: "footer",
|
|
8221
|
-
fn: W(() => [
|
|
8223
|
+
fn: W(() => [L(t.$slots, "footer")]),
|
|
8222
8224
|
key: "0"
|
|
8223
8225
|
} : void 0]), 1040, [
|
|
8224
8226
|
"center",
|
|
@@ -8406,7 +8408,7 @@ var g_ = /* @__PURE__ */ g({
|
|
|
8406
8408
|
let r = e, i = n, a = o(() => {
|
|
8407
8409
|
let e = mm.props;
|
|
8408
8410
|
return Xc(r, J(e) ? e : Object.keys(e));
|
|
8409
|
-
}), s = $("popover"), d =
|
|
8411
|
+
}), s = $("popover"), d = F(), f = o(() => H(d)?.popperRef), p = o(() => [{ width: Al(r.width) }, r.popperStyle]), h = o(() => [
|
|
8410
8412
|
s.b(),
|
|
8411
8413
|
r.popperClass,
|
|
8412
8414
|
{ [s.m("plain")]: !!r.content }
|
|
@@ -8424,7 +8426,7 @@ var g_ = /* @__PURE__ */ g({
|
|
|
8424
8426
|
return t({
|
|
8425
8427
|
popperRef: f,
|
|
8426
8428
|
hide: _
|
|
8427
|
-
}), (t, n) => (
|
|
8429
|
+
}), (t, n) => (N(), c(H(mm), w({
|
|
8428
8430
|
ref_key: "tooltipRef",
|
|
8429
8431
|
ref: d
|
|
8430
8432
|
}, a.value, {
|
|
@@ -8437,12 +8439,12 @@ var g_ = /* @__PURE__ */ g({
|
|
|
8437
8439
|
onShow: b,
|
|
8438
8440
|
onHide: x
|
|
8439
8441
|
}), {
|
|
8440
|
-
content: W(() => [e.title ? (
|
|
8442
|
+
content: W(() => [e.title ? (N(), u("div", {
|
|
8441
8443
|
key: 0,
|
|
8442
8444
|
class: E(H(s).e("title")),
|
|
8443
8445
|
role: "title"
|
|
8444
|
-
}, B(e.title), 3)) : l("v-if", !0),
|
|
8445
|
-
default: W(() => [t.$slots.reference ?
|
|
8446
|
+
}, B(e.title), 3)) : l("v-if", !0), L(t.$slots, "default", { hide: _ }, () => [m(B(e.content), 1)])]),
|
|
8447
|
+
default: W(() => [t.$slots.reference ? L(t.$slots, "reference", { key: 0 }) : l("v-if", !0)]),
|
|
8446
8448
|
_: 3
|
|
8447
8449
|
}, 16, [
|
|
8448
8450
|
"aria-label",
|
|
@@ -8465,7 +8467,7 @@ var g_ = /* @__PURE__ */ g({
|
|
|
8465
8467
|
//#endregion
|
|
8466
8468
|
//#region node_modules/element-plus/es/components/loading/src/loading.mjs
|
|
8467
8469
|
function b_(e, t) {
|
|
8468
|
-
let n, r =
|
|
8470
|
+
let n, r = F(!1), a = re({
|
|
8469
8471
|
...e,
|
|
8470
8472
|
originalPosition: "",
|
|
8471
8473
|
originalOverflow: "",
|
|
@@ -8596,7 +8598,7 @@ S_._context = null;
|
|
|
8596
8598
|
//#endregion
|
|
8597
8599
|
//#region node_modules/element-plus/es/components/loading/src/directive.mjs
|
|
8598
8600
|
var E_ = Symbol("ElLoading"), D_ = (e) => `element-loading-${Ft(e)}`, O_ = (e, t) => {
|
|
8599
|
-
let n = t.instance, r = (e) => Dt(t.value) ? t.value[e] : void 0, i = (e) =>
|
|
8601
|
+
let n = t.instance, r = (e) => Dt(t.value) ? t.value[e] : void 0, i = (e) => F(Et(e) && n?.[e] || e), a = (t) => i(r(t) || e.getAttribute(D_(t))), o = r("fullscreen") ?? t.modifiers.fullscreen, s = {
|
|
8600
8602
|
text: a("text"),
|
|
8601
8603
|
svg: a("svg"),
|
|
8602
8604
|
svgViewBox: a("svgViewBox"),
|
|
@@ -8800,9 +8802,9 @@ var j_ = {
|
|
|
8800
8802
|
}, P_ = { class: "selections-container" }, F_ = { class: "checkall-display-text" }, I_ = { style: { "word-break": "keep-all" } }, L_ = { class: "checkbox-group-inner" }, R_ = ["onMouseenter", "onMouseleave"];
|
|
8801
8803
|
function z_(e, n, r, i, a, o) {
|
|
8802
8804
|
let s = Ee, p = Vf, g = y_, _ = Wg, v = xg, y = Ug, b = Sg;
|
|
8803
|
-
return
|
|
8805
|
+
return N(), u("div", P_, [h(y, null, {
|
|
8804
8806
|
default: W(() => [h(_, { span: 12 }, {
|
|
8805
|
-
default: W(() => [d("span", F_, B(r.title), 1), r.helpMessage ? (
|
|
8807
|
+
default: W(() => [d("span", F_, B(r.title), 1), r.helpMessage ? (N(), c(g, {
|
|
8806
8808
|
key: 0,
|
|
8807
8809
|
width: "250",
|
|
8808
8810
|
trigger: "hover",
|
|
@@ -8821,7 +8823,7 @@ function z_(e, n, r, i, a, o) {
|
|
|
8821
8823
|
} : void 0]), 1024)) : l("", !0)]),
|
|
8822
8824
|
_: 1
|
|
8823
8825
|
}), h(_, { span: 12 }, {
|
|
8824
|
-
default: W(() => [r.selections && r.selections.length > 1 && !r.showAsLegend ? (
|
|
8826
|
+
default: W(() => [r.selections && r.selections.length > 1 && !r.showAsLegend ? (N(), c(v, {
|
|
8825
8827
|
key: 0,
|
|
8826
8828
|
class: "all-checkbox",
|
|
8827
8829
|
indeterminate: o.isIndeterminate,
|
|
@@ -8851,7 +8853,7 @@ function z_(e, n, r, i, a, o) {
|
|
|
8851
8853
|
size: "small",
|
|
8852
8854
|
onChange: o.handleCheckedItemsChange
|
|
8853
8855
|
}, {
|
|
8854
|
-
default: W(() => [d("div", L_, [(
|
|
8856
|
+
default: W(() => [d("div", L_, [(N(!0), u(t, null, I(r.selections, (e) => (N(), c(y, {
|
|
8855
8857
|
key: e[r.identifierKey],
|
|
8856
8858
|
label: e[r.identifierKey]
|
|
8857
8859
|
}, {
|
|
@@ -8868,7 +8870,7 @@ function z_(e, n, r, i, a, o) {
|
|
|
8868
8870
|
checked: !("enabled" in e) || e.enabled === !0
|
|
8869
8871
|
}, {
|
|
8870
8872
|
default: W(() => [h(y, { class: "checkbox-row" }, {
|
|
8871
|
-
default: W(() => [o.hasLineStyles(e) ? (
|
|
8873
|
+
default: W(() => [o.hasLineStyles(e) ? (N(), c(_, {
|
|
8872
8874
|
key: 0,
|
|
8873
8875
|
span: 4
|
|
8874
8876
|
}, {
|
|
@@ -8961,14 +8963,14 @@ var B_ = /*#__PURE__*/ M_(N_, [["render", z_], ["__scopeId", "data-v-35fb97d0"]]
|
|
|
8961
8963
|
class: "legend-item"
|
|
8962
8964
|
}, W_ = { class: "label" };
|
|
8963
8965
|
function G_(e, t, n, r, i, a) {
|
|
8964
|
-
return a.legendStyleValue ? (
|
|
8966
|
+
return a.legendStyleValue ? (N(), u("div", U_, [a.clipPathLegends.includes(a.legendStyleValue) ? (N(), u("div", {
|
|
8965
8967
|
key: 0,
|
|
8966
8968
|
class: E(a.legendStyleValue),
|
|
8967
8969
|
style: D(a.customClipPathStyle(!0))
|
|
8968
8970
|
}, [d("div", {
|
|
8969
8971
|
class: E(a.legendStyleValue),
|
|
8970
8972
|
style: D(a.customClipPathStyle(!1))
|
|
8971
|
-
}, null, 6)], 6)) : (
|
|
8973
|
+
}, null, 6)], 6)) : (N(), u("div", {
|
|
8972
8974
|
key: 1,
|
|
8973
8975
|
class: E(a.legendStyleValue),
|
|
8974
8976
|
style: D(a.customStyle)
|
|
@@ -9029,11 +9031,11 @@ var K_ = /*#__PURE__*/ M_(H_, [["render", G_], ["__scopeId", "data-v-b7e5b095"]]
|
|
|
9029
9031
|
}, J_ = { class: "legend-group" }, Y_ = ["label"];
|
|
9030
9032
|
function X_(e, n, r, i, a, o) {
|
|
9031
9033
|
let s = K_, l = y_, d = v_;
|
|
9032
|
-
return
|
|
9034
|
+
return N(), u("div", J_, [(N(!0), u(t, null, I(r.legends, (e) => (N(), u("div", {
|
|
9033
9035
|
class: "legend-container",
|
|
9034
9036
|
key: e[r.identifierKey],
|
|
9035
9037
|
label: e[r.identifierKey]
|
|
9036
|
-
}, [e[r.identifierKey] === "Featured dataset marker" ? (
|
|
9038
|
+
}, [e[r.identifierKey] === "Featured dataset marker" ? (N(), c(l, {
|
|
9037
9039
|
key: 0,
|
|
9038
9040
|
content: "Location of the featured dataset",
|
|
9039
9041
|
placement: "right",
|
|
@@ -9046,7 +9048,7 @@ function X_(e, n, r, i, a, o) {
|
|
|
9046
9048
|
ref_for: !0,
|
|
9047
9049
|
ref: "featuredMarkerPopover"
|
|
9048
9050
|
}, {
|
|
9049
|
-
reference: W(() => [G((
|
|
9051
|
+
reference: W(() => [G((N(), u("div", {
|
|
9050
9052
|
onMouseover: n[0] ||= (...e) => o.onMouseOver && o.onMouseOver(...e),
|
|
9051
9053
|
onMouseout: n[1] ||= (...e) => o.onMouseOut && o.onMouseOut(...e)
|
|
9052
9054
|
}, [h(s, {
|
|
@@ -9065,7 +9067,7 @@ function X_(e, n, r, i, a, o) {
|
|
|
9065
9067
|
"featuredMarkerPopover"
|
|
9066
9068
|
]])]),
|
|
9067
9069
|
_: 2
|
|
9068
|
-
}, 1032, ["visible"])) : (
|
|
9070
|
+
}, 1032, ["visible"])) : (N(), c(s, {
|
|
9069
9071
|
key: 1,
|
|
9070
9072
|
item: e,
|
|
9071
9073
|
identifierKey: r.identifierKey,
|
|
@@ -9090,13 +9092,13 @@ var Z_ = /*#__PURE__*/ M_(q_, [["render", X_], ["__scopeId", "data-v-32c93a1a"]]
|
|
|
9090
9092
|
}, rv = ["innerHTML"], iv = { key: 1 };
|
|
9091
9093
|
function av(e, n, r, i, a, o) {
|
|
9092
9094
|
let s = we, c = Vf, f = xh;
|
|
9093
|
-
return
|
|
9095
|
+
return N(), u("div", $_, [
|
|
9094
9096
|
d("div", ev, [h(c, { size: "24" }, {
|
|
9095
9097
|
default: W(() => [h(s)]),
|
|
9096
9098
|
_: 1
|
|
9097
|
-
}), r.flatmapError.title ? (
|
|
9098
|
-
r.flatmapError.messages ? (
|
|
9099
|
-
r.flatmapError.button ? (
|
|
9099
|
+
}), r.flatmapError.title ? (N(), u("div", tv, B(r.flatmapError.title), 1)) : l("", !0)]),
|
|
9100
|
+
r.flatmapError.messages ? (N(), u("div", nv, [(N(!0), u(t, null, I(r.flatmapError.messages, (e, t) => (N(), u("div", { key: t }, [d("div", { innerHTML: e }, null, 8, rv)]))), 128))])) : l("", !0),
|
|
9101
|
+
r.flatmapError.button ? (N(), u("div", iv, [h(f, {
|
|
9100
9102
|
class: "button",
|
|
9101
9103
|
type: "primary",
|
|
9102
9104
|
onClick: r.flatmapError.button.callback
|
|
@@ -9117,7 +9119,7 @@ var ov = /*#__PURE__*/ M_(Q_, [["render", av], ["__scopeId", "data-v-8961361a"]]
|
|
|
9117
9119
|
"xmlns:bx": "https://boxy-svg.com"
|
|
9118
9120
|
};
|
|
9119
9121
|
function uv(e, t, n, r, i, a) {
|
|
9120
|
-
return
|
|
9122
|
+
return N(), u("div", cv, [(N(), u("svg", lv, [...t[0] ||= [p("<defs data-v-88079d87><bx:grid height=\"30.447\" width=\"32.516\" x=\"0\" y=\"0\" data-v-88079d87></bx:grid></defs><path class=\"st0 st0-translate\" d=\"M61.3,103.8c-15.9,0-28.8-12.3-28.8-27.3c0-15,13-27.3,28.8-27.3s28.8,12.3,28.8,27.3 C90.1,91.5,77.2,103.8,61.3,103.8z\" data-v-88079d87></path><path class=\"st1\" d=\"M40.3,356.1C29.5,345,29.8,328,41.5,317.5c11.7-10.5,29.6-9.9,40.7,1.1c11.1,11,10.5,28.1-1.2,38.5 C69.3,367.4,51.1,366.9,40.3,356.1z\" data-v-88079d87></path><path class=\"st2\" d=\"M61.2,396.9c-5.3,9.3-15.3,15.1-26.1,15.1l-0.4,0.6c5.1,9,5.1,20,0,29l0.4,0.6c10.7,0,20.8,5.8,26.1,15.1 c5.3-9.3,15.3-15.1,26.1-15.1c-5.3-9.3-5.3-20.9,0-30.4C76.6,412.1,66.7,406.3,61.2,396.9z\" data-v-88079d87></path><text transform=\"matrix(0.9908 0 0 1 118.0161 171.7975)\" class=\"st3 st4 st5\" style=\"white-space:pre;\" data-v-88079d87> Tissue region </text><path class=\"st6\" d=\"M40.9,231.1c11.3-10.6,29.5-10.6,40.8,0c11.3,10.6,11.3,27.9,0,38.5c-11.3,10.6-29.5,10.6-40.8,0 C29.7,259,29.7,241.7,40.9,231.1z\" data-v-88079d87></path><text transform=\"matrix(0.9908 0 0 1 118.0161 257.675)\" class=\"st3 st4 st5\" style=\"white-space:pre;\" data-v-88079d87> Brain nuclei </text><text transform=\"matrix(0.9908 0 0 1 118.0903 345.5266)\" class=\"st3 st4 st5\" style=\"white-space:pre;\" data-v-88079d87> Ganglia </text><text transform=\"matrix(0.9908 0 0 1 118.0903 433.1613)\" class=\"st3 st4 st5\" style=\"white-space:pre;\" data-v-88079d87> Ganglionated nerve plexus </text>", 9)]])), t[1] ||= d("svg", {
|
|
9121
9123
|
width: "72px",
|
|
9122
9124
|
height: "72px",
|
|
9123
9125
|
viewBox: "0 0 24 24",
|
|
@@ -9621,7 +9623,63 @@ var Ov = (e) => e && e.charAt(0).toUpperCase() + e.slice(1), kv = (e) => {
|
|
|
9621
9623
|
}
|
|
9622
9624
|
return o;
|
|
9623
9625
|
});
|
|
9624
|
-
})))()), Mv = Ie, Nv =
|
|
9626
|
+
})))()), Mv = Ie, Nv = "#1b7f6b", Pv = "#f4f1de", Fv = "#12312b", Iv = "99+", Lv = function(e) {
|
|
9627
|
+
return (Array.isArray(e) ? e : []).map((e) => ({
|
|
9628
|
+
label: String(e?.label || "").trim(),
|
|
9629
|
+
curie: String(e?.curie || "").trim(),
|
|
9630
|
+
count: Number(e?.count || 0)
|
|
9631
|
+
})).filter((e) => e.curie && e.count > 0);
|
|
9632
|
+
}, Rv = function(e) {
|
|
9633
|
+
return e > 99 ? Iv : String(e);
|
|
9634
|
+
}, zv = function(e) {
|
|
9635
|
+
let t = document.createElement("div");
|
|
9636
|
+
return t.className = "flatmapvuer-soma-location-marker", t.title = e.label || e.curie, t.style.width = "34px", t.style.height = "48px", t.style.display = "flex", t.style.alignItems = "center", t.style.justifyContent = "center", t.style.transform = "translate(-50%, -100%)", t.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="-1 -1 27 42" width="34" height="48" aria-hidden="true">
|
|
9637
|
+
<ellipse style="fill: rgb(0, 0, 0); fill-opacity: 0.18;" cx="12" cy="36" rx="8" ry="4"/>
|
|
9638
|
+
<path d="M12.25.25a12.254 12.254 0 0 0-12 12.494
|
|
9639
|
+
c0 6.444 6.488 12.109 11.059 22.564.549 1.256 1.333 1.256 1.882 0
|
|
9640
|
+
C17.762 24.853 24.25 19.186 24.25 12.744A12.254 12.254 0 0 0 12.25.25Z"
|
|
9641
|
+
style="fill:${Nv};stroke:${Pv};stroke-width:1.1"/>
|
|
9642
|
+
<circle cx="12.5" cy="12.5" r="8" fill="${Pv}"/>
|
|
9643
|
+
<text x="12.5" y="16.1" text-anchor="middle" style="font-size:7.5px;font-weight:700;fill:${Fv};font-family:Arial, sans-serif">${Rv(e.count)}</text>
|
|
9644
|
+
</svg>`, t;
|
|
9645
|
+
}, Bv = function(e, t) {
|
|
9646
|
+
let n = Array.isArray(e?.modelFeatureIds?.(t)) ? e.modelFeatureIds(t) : [], r = [], i = /* @__PURE__ */ new Set();
|
|
9647
|
+
for (let t of n) {
|
|
9648
|
+
let n = e.annotation(t), a = String(n?.uri || "").trim();
|
|
9649
|
+
a && !i.has(a) && (i.add(a), r.push({
|
|
9650
|
+
type: "feature-uri",
|
|
9651
|
+
value: a
|
|
9652
|
+
}));
|
|
9653
|
+
}
|
|
9654
|
+
return !r.length && n.length && r.push({
|
|
9655
|
+
type: "model",
|
|
9656
|
+
value: t
|
|
9657
|
+
}), r;
|
|
9658
|
+
}, Vv = function(e) {
|
|
9659
|
+
if (!e || e.addSomaLocationMarkers) return e;
|
|
9660
|
+
let t = [];
|
|
9661
|
+
return e.clearSomaLocationMarkers = function() {
|
|
9662
|
+
t.forEach((t) => {
|
|
9663
|
+
e.removeMarker(t);
|
|
9664
|
+
}), t = [];
|
|
9665
|
+
}, e.addSomaLocationMarkers = function(n) {
|
|
9666
|
+
let r = Lv(n), i = [];
|
|
9667
|
+
return e.clearSomaLocationMarkers(), r.forEach((n) => {
|
|
9668
|
+
let r = Bv(e, n.curie);
|
|
9669
|
+
if (!r.length) return;
|
|
9670
|
+
let a = !1;
|
|
9671
|
+
r.forEach((r) => {
|
|
9672
|
+
let i = zv(n), o = [];
|
|
9673
|
+
if (r.type === "feature-uri") o = e.addMarkerByFeatureUri(r.value, { element: i });
|
|
9674
|
+
else if (r.type === "model") {
|
|
9675
|
+
let t = e.addMarker(r.value, { element: i });
|
|
9676
|
+
o = t > -1 ? [t] : [];
|
|
9677
|
+
}
|
|
9678
|
+
o.length && (t.push(...o), a = !0);
|
|
9679
|
+
}), a && i.push(n);
|
|
9680
|
+
}), i;
|
|
9681
|
+
}, e;
|
|
9682
|
+
}, Hv = Re("main", {
|
|
9625
9683
|
state: () => ({ userProfile: { token: "" } }),
|
|
9626
9684
|
getters: { userToken(e) {
|
|
9627
9685
|
return e.userProfile.token;
|
|
@@ -9632,7 +9690,7 @@ var Ov = (e) => e && e.charAt(0).toUpperCase() + e.slice(1), kv = (e) => {
|
|
|
9632
9690
|
});
|
|
9633
9691
|
//#endregion
|
|
9634
9692
|
//#region node_modules/mitt/dist/mitt.mjs
|
|
9635
|
-
function
|
|
9693
|
+
function Uv(e) {
|
|
9636
9694
|
return {
|
|
9637
9695
|
all: e ||= /* @__PURE__ */ new Map(),
|
|
9638
9696
|
on: function(t, n) {
|
|
@@ -9655,7 +9713,7 @@ function Pv(e) {
|
|
|
9655
9713
|
}
|
|
9656
9714
|
//#endregion
|
|
9657
9715
|
//#region src/components/EventBus.js
|
|
9658
|
-
var
|
|
9716
|
+
var Wv = new Uv(), Gv = "cannot be found on the map.", Kv = (e) => {
|
|
9659
9717
|
let t = {
|
|
9660
9718
|
lng: 0,
|
|
9661
9719
|
lat: 0
|
|
@@ -9663,17 +9721,17 @@ var Fv = new Pv(), Iv = "cannot be found on the map.", Lv = (e) => {
|
|
|
9663
9721
|
return e.type === "Polygon" ? e.coordinates.length && (n = e.coordinates[0]) : n = e.coordinates, n && (e.type === "Point" ? (t.lng += parseFloat(n[0]), t.lat += parseFloat(n[1])) : (n.map((e) => {
|
|
9664
9722
|
t.lng += parseFloat(e[0]), t.lat += parseFloat(e[1]);
|
|
9665
9723
|
}), t.lng /= n.length, t.lat /= n.length)), t;
|
|
9666
|
-
},
|
|
9724
|
+
}, qv = (e, t) => {
|
|
9667
9725
|
let n = [], r = e.organs ? e.organs : e.ftus, i = r ? r.filter((e, t) => r.findIndex((t) => t.label === e.label) === t) : void 0;
|
|
9668
9726
|
return i && i.forEach((e) => {
|
|
9669
9727
|
let r = {
|
|
9670
9728
|
label: e.label,
|
|
9671
9729
|
models: e.models,
|
|
9672
9730
|
key: `${t}.${e.label}`
|
|
9673
|
-
}, i =
|
|
9731
|
+
}, i = qv(e, r.key);
|
|
9674
9732
|
i.length > 0 && (r.children = i), n.push(r);
|
|
9675
9733
|
}), n;
|
|
9676
|
-
},
|
|
9734
|
+
}, Jv = {
|
|
9677
9735
|
name: "FlatmapVuer",
|
|
9678
9736
|
components: {
|
|
9679
9737
|
Button: xh,
|
|
@@ -9702,7 +9760,7 @@ var Fv = new Pv(), Iv = "cannot be found on the map.", Lv = (e) => {
|
|
|
9702
9760
|
},
|
|
9703
9761
|
setup(e) {
|
|
9704
9762
|
let t = b("$annotator");
|
|
9705
|
-
return t || (t = C(new Le(`${e.flatmapAPI}annotator`)),
|
|
9763
|
+
return t || (t = C(new Le(`${e.flatmapAPI}annotator`)), P("$annotator", t)), { annotator: t };
|
|
9706
9764
|
},
|
|
9707
9765
|
methods: {
|
|
9708
9766
|
enableFeatureResetOnClick: function(e) {
|
|
@@ -9859,7 +9917,7 @@ var Fv = new Pv(), Iv = "cannot be found on the map.", Lv = (e) => {
|
|
|
9859
9917
|
enabled: e.enabled,
|
|
9860
9918
|
label: e.id,
|
|
9861
9919
|
key: e.id
|
|
9862
|
-
}, r =
|
|
9920
|
+
}, r = qv(e, n.key);
|
|
9863
9921
|
r.length > 0 && (n.children = r), t.children.push(n);
|
|
9864
9922
|
}), this.systems.push(t);
|
|
9865
9923
|
}
|
|
@@ -10165,7 +10223,7 @@ var Fv = new Pv(), Iv = "cannot be found on the map.", Lv = (e) => {
|
|
|
10165
10223
|
emitConnectivityError: function(e) {
|
|
10166
10224
|
this.$emit("connectivity-error", { data: {
|
|
10167
10225
|
errorData: e,
|
|
10168
|
-
errorMessage:
|
|
10226
|
+
errorMessage: Gv
|
|
10169
10227
|
} });
|
|
10170
10228
|
},
|
|
10171
10229
|
checkConnectivityTooltipEntry: function(e) {
|
|
@@ -10189,7 +10247,7 @@ var Fv = new Pv(), Iv = "cannot be found on the map.", Lv = (e) => {
|
|
|
10189
10247
|
featureId: e.featureId ? e.featureId : e.feature?.id,
|
|
10190
10248
|
offline: this.offlineAnnotationEnabled
|
|
10191
10249
|
});
|
|
10192
|
-
}), t[0].feature) this.activeDrawTool || this.activeDrawMode || this.isValidDrawnCreated ? (this.featureAnnotationSubmitted = !1, this.activeDrawTool && this.createConnectivityBody(), this.displayTooltip(t[0].feature.id,
|
|
10250
|
+
}), t[0].feature) this.activeDrawTool || this.activeDrawMode || this.isValidDrawnCreated ? (this.featureAnnotationSubmitted = !1, this.activeDrawTool && this.createConnectivityBody(), this.displayTooltip(t[0].feature.id, Kv(t[0].feature.geometry))) : this.rollbackAnnotationEvent();
|
|
10193
10251
|
else {
|
|
10194
10252
|
let e = this.annotationEntry.filter((e) => e.featureId && e.models).map((e) => e.models);
|
|
10195
10253
|
e.length > 0 && this.displayTooltip(e);
|
|
@@ -10424,7 +10482,7 @@ var Fv = new Pv(), Iv = "cannot be found on the map.", Lv = (e) => {
|
|
|
10424
10482
|
container: this.$refs.display,
|
|
10425
10483
|
tooltipDelay: 15
|
|
10426
10484
|
}).then((t) => {
|
|
10427
|
-
this.mapImp = t, this.serverURL = this.mapImp.makeServerUrl("").slice(0, -1);
|
|
10485
|
+
this.mapImp = Vv(t), this.serverURL = this.mapImp.makeServerUrl("").slice(0, -1);
|
|
10428
10486
|
let n = this.mapImp.details.version;
|
|
10429
10487
|
this.setFlightPathInfo(n);
|
|
10430
10488
|
let r = this._stateToBeSet ? this._stateToBeSet : e;
|
|
@@ -10559,7 +10617,7 @@ var Fv = new Pv(), Iv = "cannot be found on the map.", Lv = (e) => {
|
|
|
10559
10617
|
return this.mapImp ? this.mapImp.search(e) : [];
|
|
10560
10618
|
},
|
|
10561
10619
|
onActionClick: function(e) {
|
|
10562
|
-
|
|
10620
|
+
Wv.emit("onActionClick", e);
|
|
10563
10621
|
},
|
|
10564
10622
|
setConnectionType: function(e) {
|
|
10565
10623
|
this.connectionType = e;
|
|
@@ -10918,7 +10976,7 @@ var Fv = new Pv(), Iv = "cannot be found on the map.", Lv = (e) => {
|
|
|
10918
10976
|
};
|
|
10919
10977
|
},
|
|
10920
10978
|
computed: {
|
|
10921
|
-
...ze(
|
|
10979
|
+
...ze(Hv, ["userToken"]),
|
|
10922
10980
|
isValidDrawnCreated: function() {
|
|
10923
10981
|
return Object.keys(this.drawnCreatedEvent).length > 0;
|
|
10924
10982
|
},
|
|
@@ -11005,39 +11063,39 @@ var Fv = new Pv(), Iv = "cannot be found on the map.", Lv = (e) => {
|
|
|
11005
11063
|
beforeUnmount: function() {
|
|
11006
11064
|
this.tooltipObserver &&= (this.tooltipObserver.disconnect(), null);
|
|
11007
11065
|
}
|
|
11008
|
-
},
|
|
11066
|
+
}, Yv = {
|
|
11009
11067
|
class: "flatmap-container",
|
|
11010
11068
|
ref: "flatmapContainer",
|
|
11011
11069
|
"element-loading-text": "Loading...",
|
|
11012
11070
|
"element-loading-background": "rgba(0, 0, 0, 0.3)"
|
|
11013
|
-
},
|
|
11071
|
+
}, Xv = { style: {
|
|
11014
11072
|
height: "100%",
|
|
11015
11073
|
width: "100%",
|
|
11016
11074
|
position: "relative",
|
|
11017
11075
|
"overflow-y": "none"
|
|
11018
|
-
} },
|
|
11076
|
+
} }, Zv = {
|
|
11019
11077
|
style: {
|
|
11020
11078
|
height: "100%",
|
|
11021
11079
|
width: "100%"
|
|
11022
11080
|
},
|
|
11023
11081
|
ref: "display",
|
|
11024
11082
|
class: "flatmap-display"
|
|
11025
|
-
},
|
|
11083
|
+
}, Qv = { class: "beta-popovers" }, $v = {
|
|
11026
11084
|
key: 2,
|
|
11027
11085
|
class: "warning-text"
|
|
11028
|
-
},
|
|
11086
|
+
}, ey = { class: "bottom-right-control" }, ty = ["innerHTML"], ny = { style: { "margin-bottom": "2px" } }, ry = {
|
|
11029
11087
|
key: 0,
|
|
11030
11088
|
class: "viewing-mode-title"
|
|
11031
|
-
},
|
|
11032
|
-
function
|
|
11033
|
-
let s =
|
|
11034
|
-
return G((
|
|
11035
|
-
d("div",
|
|
11036
|
-
e.flatmapError ? (
|
|
11089
|
+
}, iy = ["onClick"], ay = ["onClick"];
|
|
11090
|
+
function oy(e, n, r, i, a, o) {
|
|
11091
|
+
let s = R("map-svg-sprite-color"), f = ov, p = De, g = Vf, _ = y_, v = ye, y = R("DrawToolbar"), b = R("map-svg-icon"), x = Z_, S = R("tree-controls"), C = B_, w = be, T = xh, O = Ug, k = Wg, A = ig, j = rg, M = Rg, ee = zg, te = R("Tooltip"), ne = v_, P = A_;
|
|
11092
|
+
return G((N(), u("div", Yv, [h(s), d("div", Xv, [
|
|
11093
|
+
d("div", Zv, null, 512),
|
|
11094
|
+
e.flatmapError ? (N(), c(f, {
|
|
11037
11095
|
key: 0,
|
|
11038
11096
|
flatmapError: e.flatmapError
|
|
11039
11097
|
}, null, 8, ["flatmapError"])) : l("", !0),
|
|
11040
|
-
G(d("div",
|
|
11098
|
+
G(d("div", Qv, [d("div", null, [r.displayWarning || r.isLegacy ? (N(), c(_, {
|
|
11041
11099
|
key: 0,
|
|
11042
11100
|
placement: "right",
|
|
11043
11101
|
"popper-class": "warning-popper flatmap-popper",
|
|
@@ -11049,18 +11107,18 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11049
11107
|
class: "warning-icon",
|
|
11050
11108
|
onMouseover: n[7] ||= (e) => o.showTooltip(7),
|
|
11051
11109
|
onMouseout: n[8] ||= (e) => o.hideTooltip(7)
|
|
11052
|
-
}, [r.displayWarning || r.isLegacy ? (
|
|
11110
|
+
}, [r.displayWarning || r.isLegacy ? (N(), c(g, { key: 0 }, {
|
|
11053
11111
|
default: W(() => [h(p)]),
|
|
11054
11112
|
_: 1
|
|
11055
|
-
})) : l("", !0), r.isLegacy ? (
|
|
11113
|
+
})) : l("", !0), r.isLegacy ? (N(), u(t, { key: 1 }, [n[31] ||= d("span", { class: "warning-text" }, "Legacy Map", -1), d("div", {
|
|
11056
11114
|
class: "latest-map-text",
|
|
11057
11115
|
onClick: n[6] ||= (...e) => o.viewLatestMap && o.viewLatestMap(...e)
|
|
11058
|
-
}, " Click here for the latest map ")], 64)) : r.displayWarning ? (
|
|
11059
|
-
default: W(() => [r.isLegacy ? (
|
|
11116
|
+
}, " Click here for the latest map ")], 64)) : r.displayWarning ? (N(), u("span", $v, "Beta")) : l("", !0)], 32)]),
|
|
11117
|
+
default: W(() => [r.isLegacy ? (N(), u("p", {
|
|
11060
11118
|
key: 0,
|
|
11061
11119
|
onMouseover: n[0] ||= (e) => o.showTooltip(7),
|
|
11062
11120
|
onMouseout: n[1] ||= (e) => o.hideTooltip(7)
|
|
11063
|
-
}, " This is a legacy map, you may view the latest map instead. ", 32)) : e.isFC ? (
|
|
11121
|
+
}, " This is a legacy map, you may view the latest map instead. ", 32)) : e.isFC ? (N(), u("p", {
|
|
11064
11122
|
key: 1,
|
|
11065
11123
|
onMouseover: n[2] ||= (e) => o.showTooltip(7),
|
|
11066
11124
|
onMouseout: n[3] ||= (e) => o.hideTooltip(7)
|
|
@@ -11076,7 +11134,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11076
11134
|
target: "_blank"
|
|
11077
11135
|
}, " SCKAN ", -1),
|
|
11078
11136
|
m(". ", -1)
|
|
11079
|
-
]], 32)) : (
|
|
11137
|
+
]], 32)) : (N(), u("p", {
|
|
11080
11138
|
key: 2,
|
|
11081
11139
|
onMouseover: n[4] ||= (e) => o.showTooltip(7),
|
|
11082
11140
|
onMouseout: n[5] ||= (e) => o.hideTooltip(7)
|
|
@@ -11094,7 +11152,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11094
11152
|
m(". New connectivity and species specificity will be added as the SPARC program progresses. ", -1)
|
|
11095
11153
|
]], 32))]),
|
|
11096
11154
|
_: 1
|
|
11097
|
-
}, 8, ["visible"])) : l("", !0)]), r.displayLatestChanges ? (
|
|
11155
|
+
}, 8, ["visible"])) : l("", !0)]), r.displayLatestChanges ? (N(), c(_, {
|
|
11098
11156
|
key: 0,
|
|
11099
11157
|
placement: "right",
|
|
11100
11158
|
teleported: !1,
|
|
@@ -11103,7 +11161,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11103
11161
|
visible: e.hoverVisibilities[8].value,
|
|
11104
11162
|
ref: "whatsNewPopover"
|
|
11105
11163
|
}, {
|
|
11106
|
-
reference: W(() => [r.displayLatestChanges ? (
|
|
11164
|
+
reference: W(() => [r.displayLatestChanges ? (N(), u("div", {
|
|
11107
11165
|
key: 0,
|
|
11108
11166
|
class: "latest-changesicon",
|
|
11109
11167
|
onMouseover: n[9] ||= (e) => o.showTooltip(8),
|
|
@@ -11131,7 +11189,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11131
11189
|
default: W(() => [h(v)]),
|
|
11132
11190
|
_: 1
|
|
11133
11191
|
}, 8, ["class", "onClick"]), [[he, e.minimapResizeShow]]),
|
|
11134
|
-
e.viewingMode === "Annotation" && (e.authorisedUser || e.offlineAnnotationEnabled) && !r.disableUI ? (
|
|
11192
|
+
e.viewingMode === "Annotation" && (e.authorisedUser || e.offlineAnnotationEnabled) && !r.disableUI ? (N(), c(y, {
|
|
11135
11193
|
key: 1,
|
|
11136
11194
|
mapCanvas: {
|
|
11137
11195
|
containerHTML: this.$el,
|
|
@@ -11165,7 +11223,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11165
11223
|
"onShowTooltip",
|
|
11166
11224
|
"onHideTooltip"
|
|
11167
11225
|
])) : l("", !0),
|
|
11168
|
-
G(d("div",
|
|
11226
|
+
G(d("div", ey, [
|
|
11169
11227
|
h(_, {
|
|
11170
11228
|
content: "Zoom in",
|
|
11171
11229
|
placement: "left",
|
|
@@ -11248,14 +11306,14 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11248
11306
|
reference: W(() => [G(d("div", { class: E(["pathway-location", {
|
|
11249
11307
|
open: e.drawerOpen,
|
|
11250
11308
|
close: !e.drawerOpen
|
|
11251
|
-
}]) }, [G((
|
|
11309
|
+
}]) }, [G((N(), u("div", {
|
|
11252
11310
|
class: E(["pathway-container", {
|
|
11253
11311
|
open: e.drawerOpen,
|
|
11254
11312
|
close: !e.drawerOpen
|
|
11255
11313
|
}]),
|
|
11256
11314
|
style: D({ "max-height": e.pathwaysMaxHeight + "px" })
|
|
11257
11315
|
}, [
|
|
11258
|
-
o.legendEntry.length ? (
|
|
11316
|
+
o.legendEntry.length ? (N(), c(x, {
|
|
11259
11317
|
key: 0,
|
|
11260
11318
|
identifierKey: "prompt",
|
|
11261
11319
|
colourKey: "colour",
|
|
@@ -11279,14 +11337,14 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11279
11337
|
reference: W(() => [G(d("div", {
|
|
11280
11338
|
class: "flatmap-marker-help",
|
|
11281
11339
|
innerHTML: e.flatmapMarker
|
|
11282
|
-
}, null, 8,
|
|
11283
|
-
|
|
11340
|
+
}, null, 8, ty), [[he, e.hoverVisibilities[0].value], [
|
|
11341
|
+
ne,
|
|
11284
11342
|
void 0,
|
|
11285
11343
|
"markerPopover"
|
|
11286
11344
|
]])]),
|
|
11287
11345
|
_: 1
|
|
11288
11346
|
}, 8, ["visible"]),
|
|
11289
|
-
e.isFC && e.systems && e.systems.length > 0 ? (
|
|
11347
|
+
e.isFC && e.systems && e.systems.length > 0 ? (N(), c(S, {
|
|
11290
11348
|
key: 1,
|
|
11291
11349
|
class: "treeControls",
|
|
11292
11350
|
mapType: "flatmap",
|
|
@@ -11306,7 +11364,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11306
11364
|
"onCheckAll",
|
|
11307
11365
|
"onChangeActive"
|
|
11308
11366
|
])) : l("", !0),
|
|
11309
|
-
e.containsAlert && e.alertOptions && r.showPathwayFilter ? (
|
|
11367
|
+
e.containsAlert && e.alertOptions && r.showPathwayFilter ? (N(), c(C, {
|
|
11310
11368
|
title: "Notes",
|
|
11311
11369
|
labelKey: "label",
|
|
11312
11370
|
identifierKey: "key",
|
|
@@ -11324,7 +11382,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11324
11382
|
"onSelectionsDataChanged",
|
|
11325
11383
|
"onCheckAll"
|
|
11326
11384
|
])) : l("", !0),
|
|
11327
|
-
e.pathways && e.pathways.length > 0 ? (
|
|
11385
|
+
e.pathways && e.pathways.length > 0 ? (N(), c(C, {
|
|
11328
11386
|
title: "Pathways",
|
|
11329
11387
|
labelKey: "label",
|
|
11330
11388
|
identifierKey: "type",
|
|
@@ -11343,7 +11401,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11343
11401
|
"onSelectionsDataChanged",
|
|
11344
11402
|
"onCheckAll"
|
|
11345
11403
|
])) : l("", !0),
|
|
11346
|
-
e.taxonConnectivity && e.taxonConnectivity.length > 0 && r.showPathwayFilter ? (
|
|
11404
|
+
e.taxonConnectivity && e.taxonConnectivity.length > 0 && r.showPathwayFilter ? (N(), c(C, {
|
|
11347
11405
|
title: "Studied in",
|
|
11348
11406
|
labelKey: "label",
|
|
11349
11407
|
identifierKey: "taxon",
|
|
@@ -11363,7 +11421,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11363
11421
|
"onCheckAll"
|
|
11364
11422
|
])) : l("", !0)
|
|
11365
11423
|
], 6)), [[
|
|
11366
|
-
|
|
11424
|
+
ne,
|
|
11367
11425
|
void 0,
|
|
11368
11426
|
"checkBoxPopover"
|
|
11369
11427
|
]]), d("div", {
|
|
@@ -11378,7 +11436,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11378
11436
|
})], 2)], 2), [[he, !r.disableUI && o.requiresDrawer]])]),
|
|
11379
11437
|
_: 1
|
|
11380
11438
|
}, 8, ["visible"]),
|
|
11381
|
-
e.openMapRef ? (
|
|
11439
|
+
e.openMapRef ? (N(), c(_, {
|
|
11382
11440
|
key: 2,
|
|
11383
11441
|
ref: "open-map-popover",
|
|
11384
11442
|
"virtual-ref": e.openMapRef,
|
|
@@ -11389,7 +11447,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11389
11447
|
"popper-class": "open-map-popper non-selectable",
|
|
11390
11448
|
"virtual-triggering": ""
|
|
11391
11449
|
}, {
|
|
11392
|
-
default: W(() => [(
|
|
11450
|
+
default: W(() => [(N(!0), u(t, null, I(r.openMapOptions, (t) => (N(), c(O, { key: t.key }, {
|
|
11393
11451
|
default: W(() => [h(T, {
|
|
11394
11452
|
type: "primary",
|
|
11395
11453
|
plain: "",
|
|
@@ -11419,16 +11477,16 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11419
11477
|
}),
|
|
11420
11478
|
h(O, { class: "backgroundControl" }, {
|
|
11421
11479
|
default: W(() => [
|
|
11422
|
-
d("div",
|
|
11480
|
+
d("div", ny, [(N(!0), u(t, null, I(e.viewingModes, (n, r, i) => (N(), u(t, { key: r }, [r === e.viewingMode ? (N(), u("span", ry, [d("b", null, B(r), 1)])) : (N(), u("span", {
|
|
11423
11481
|
key: 1,
|
|
11424
11482
|
class: "viewing-mode-unselected",
|
|
11425
11483
|
onClick: (e) => o.changeViewingMode(r)
|
|
11426
|
-
}, B(r), 9,
|
|
11484
|
+
}, B(r), 9, iy))], 64))), 128))]),
|
|
11427
11485
|
h(O, { class: "viewing-mode-description" }, {
|
|
11428
11486
|
default: W(() => [m(B(o.modeDescription), 1)]),
|
|
11429
11487
|
_: 1
|
|
11430
11488
|
}),
|
|
11431
|
-
e.viewingMode === "Annotation" && e.offlineAnnotationEnabled ? (
|
|
11489
|
+
e.viewingMode === "Annotation" && e.offlineAnnotationEnabled ? (N(), c(O, {
|
|
11432
11490
|
key: 0,
|
|
11433
11491
|
class: "viewing-mode-description"
|
|
11434
11492
|
}, {
|
|
@@ -11438,7 +11496,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11438
11496
|
]),
|
|
11439
11497
|
_: 1
|
|
11440
11498
|
}),
|
|
11441
|
-
e.viewingMode === "Annotation" && e.authorisedUser ? (
|
|
11499
|
+
e.viewingMode === "Annotation" && e.authorisedUser ? (N(), u(t, { key: 0 }, [h(O, { class: "backgroundText" }, {
|
|
11442
11500
|
default: W(() => [...n[37] ||= [m("Annotations From", -1)]]),
|
|
11443
11501
|
_: 1
|
|
11444
11502
|
}), h(O, { class: "backgroundControl" }, {
|
|
@@ -11451,7 +11509,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11451
11509
|
"popper-class": "flatmap_dropdown",
|
|
11452
11510
|
onChange: o.setAnnotationFrom
|
|
11453
11511
|
}, {
|
|
11454
|
-
default: W(() => [(
|
|
11512
|
+
default: W(() => [(N(!0), u(t, null, I(e.annotatedSource, (e) => (N(), c(A, {
|
|
11455
11513
|
key: e,
|
|
11456
11514
|
label: e,
|
|
11457
11515
|
value: e
|
|
@@ -11469,22 +11527,22 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11469
11527
|
}, 8, ["modelValue", "onChange"])]),
|
|
11470
11528
|
_: 1
|
|
11471
11529
|
})], 64)) : l("", !0),
|
|
11472
|
-
e.displayFlightPathOption ? (
|
|
11530
|
+
e.displayFlightPathOption ? (N(), c(O, {
|
|
11473
11531
|
key: 1,
|
|
11474
11532
|
class: "backgroundSpacer"
|
|
11475
11533
|
})) : l("", !0),
|
|
11476
|
-
e.displayFlightPathOption ? (
|
|
11534
|
+
e.displayFlightPathOption ? (N(), c(O, {
|
|
11477
11535
|
key: 2,
|
|
11478
11536
|
class: "backgroundText"
|
|
11479
11537
|
}, {
|
|
11480
11538
|
default: W(() => [...n[38] ||= [m("Flight path display", -1)]]),
|
|
11481
11539
|
_: 1
|
|
11482
11540
|
})) : l("", !0),
|
|
11483
|
-
e.displayFlightPathOption ? (
|
|
11541
|
+
e.displayFlightPathOption ? (N(), c(O, {
|
|
11484
11542
|
key: 3,
|
|
11485
11543
|
class: "backgroundControl"
|
|
11486
11544
|
}, {
|
|
11487
|
-
default: W(() => [h(
|
|
11545
|
+
default: W(() => [h(ee, {
|
|
11488
11546
|
modelValue: e.flightPath3DRadio,
|
|
11489
11547
|
"onUpdate:modelValue": n[22] ||= (t) => e.flightPath3DRadio = t,
|
|
11490
11548
|
class: "flatmap-radio",
|
|
@@ -11507,7 +11565,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11507
11565
|
_: 1
|
|
11508
11566
|
}),
|
|
11509
11567
|
h(O, { class: "backgroundControl" }, {
|
|
11510
|
-
default: W(() => [h(
|
|
11568
|
+
default: W(() => [h(ee, {
|
|
11511
11569
|
modelValue: e.colourRadio,
|
|
11512
11570
|
"onUpdate:modelValue": n[23] ||= (t) => e.colourRadio = t,
|
|
11513
11571
|
class: "flatmap-radio",
|
|
@@ -11530,7 +11588,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11530
11588
|
_: 1
|
|
11531
11589
|
}),
|
|
11532
11590
|
h(O, { class: "backgroundControl" }, {
|
|
11533
|
-
default: W(() => [h(
|
|
11591
|
+
default: W(() => [h(ee, {
|
|
11534
11592
|
modelValue: e.outlinesRadio,
|
|
11535
11593
|
"onUpdate:modelValue": n[24] ||= (t) => e.outlinesRadio = t,
|
|
11536
11594
|
class: "flatmap-radio",
|
|
@@ -11553,7 +11611,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11553
11611
|
_: 1
|
|
11554
11612
|
}),
|
|
11555
11613
|
h(O, { class: "backgroundControl" }, {
|
|
11556
|
-
default: W(() => [(
|
|
11614
|
+
default: W(() => [(N(!0), u(t, null, I(e.availableBackground, (t) => (N(), u("div", {
|
|
11557
11615
|
key: t,
|
|
11558
11616
|
class: E([
|
|
11559
11617
|
"backgroundChoice",
|
|
@@ -11561,7 +11619,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11561
11619
|
t == e.currentBackground ? "active" : ""
|
|
11562
11620
|
]),
|
|
11563
11621
|
onClick: (e) => o.backgroundChangeCallback(t)
|
|
11564
|
-
}, null, 10,
|
|
11622
|
+
}, null, 10, ay))), 128))]),
|
|
11565
11623
|
_: 1
|
|
11566
11624
|
})
|
|
11567
11625
|
])]),
|
|
@@ -11570,7 +11628,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11570
11628
|
G(d("div", { class: E(["settings-group", {
|
|
11571
11629
|
open: e.drawerOpen,
|
|
11572
11630
|
close: !e.drawerOpen
|
|
11573
|
-
}]) }, [r.showOpenMapButton ? (
|
|
11631
|
+
}]) }, [r.showOpenMapButton ? (N(), c(O, { key: 0 }, {
|
|
11574
11632
|
default: W(() => [h(_, {
|
|
11575
11633
|
visible: e.hoverVisibilities[4].value,
|
|
11576
11634
|
content: "Open new map",
|
|
@@ -11579,7 +11637,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11579
11637
|
"popper-class": "flatmap-popper",
|
|
11580
11638
|
ref: "openMapPopover"
|
|
11581
11639
|
}, {
|
|
11582
|
-
reference: W(() => [r.enableOpenMapUI && r.openMapOptions.length > 0 ? (
|
|
11640
|
+
reference: W(() => [r.enableOpenMapUI && r.openMapOptions.length > 0 ? (N(), u("div", {
|
|
11583
11641
|
key: 0,
|
|
11584
11642
|
ref: "openMapRef",
|
|
11585
11643
|
class: "icon-button-container",
|
|
@@ -11592,7 +11650,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11592
11650
|
_: 1
|
|
11593
11651
|
}, 8, ["visible"])]),
|
|
11594
11652
|
_: 1
|
|
11595
|
-
})) : l("", !0), r.showLocalSettings ? (
|
|
11653
|
+
})) : l("", !0), r.showLocalSettings ? (N(), c(O, { key: 1 }, {
|
|
11596
11654
|
default: W(() => [h(_, {
|
|
11597
11655
|
content: "Change settings",
|
|
11598
11656
|
placement: "right",
|
|
@@ -11615,7 +11673,7 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11615
11673
|
}, 8, ["visible"])]),
|
|
11616
11674
|
_: 1
|
|
11617
11675
|
})) : l("", !0)], 2), [[he, !r.disableUI]]),
|
|
11618
|
-
e.tooltipDisplay ? (
|
|
11676
|
+
e.tooltipDisplay ? (N(), c(te, {
|
|
11619
11677
|
key: 3,
|
|
11620
11678
|
ref: "tooltip",
|
|
11621
11679
|
class: "tooltip",
|
|
@@ -11631,15 +11689,15 @@ function Zv(e, n, r, i, a, o) {
|
|
|
11631
11689
|
"onAnnotation",
|
|
11632
11690
|
"onOnActionClick"
|
|
11633
11691
|
])) : l("", !0)
|
|
11634
|
-
])])), [[
|
|
11692
|
+
])])), [[P, e.loading]]);
|
|
11635
11693
|
}
|
|
11636
|
-
var
|
|
11694
|
+
var sy = /*#__PURE__*/ M_(Jv, [["render", oy], ["__scopeId", "data-v-b0121717"]]), cy = {
|
|
11637
11695
|
"NCBITaxon:10114": "01fedbf9-d783-509c-a10c-827941ab13da",
|
|
11638
11696
|
"NCBITaxon:9823": "a336ac04-24db-561f-a25f-1c994fe17410",
|
|
11639
11697
|
"NCBITaxon:9606": "42ed6323-f645-5fbe-bada-9581819cf689",
|
|
11640
11698
|
"NCBITaxon:10090": "25285fab-48a0-5620-a6a0-f9a0374837d5",
|
|
11641
11699
|
"NCBITaxon:9685": "73060497-46a6-52bf-b975-cac511c127cb"
|
|
11642
|
-
},
|
|
11700
|
+
}, ly = {
|
|
11643
11701
|
name: "MultiFlatmapVuer",
|
|
11644
11702
|
components: {
|
|
11645
11703
|
Col: Wg,
|
|
@@ -11647,15 +11705,15 @@ var Qv = /*#__PURE__*/ M_(zv, [["render", Zv], ["__scopeId", "data-v-ab638c21"]]
|
|
|
11647
11705
|
Option: ig,
|
|
11648
11706
|
Select: rg,
|
|
11649
11707
|
Popover: y_,
|
|
11650
|
-
FlatmapVuer:
|
|
11708
|
+
FlatmapVuer: sy
|
|
11651
11709
|
},
|
|
11652
11710
|
created: function() {
|
|
11653
11711
|
this.loadMapManager();
|
|
11654
11712
|
},
|
|
11655
11713
|
mounted: function() {
|
|
11656
|
-
this.initialise(),
|
|
11714
|
+
this.initialise(), Wv.on("onActionClick", (e) => {
|
|
11657
11715
|
this.resourceSelected(e);
|
|
11658
|
-
}),
|
|
11716
|
+
}), Wv.on("open-pubmed-url", (e) => {
|
|
11659
11717
|
this.$emit("open-pubmed-url", e);
|
|
11660
11718
|
});
|
|
11661
11719
|
},
|
|
@@ -11800,7 +11858,7 @@ var Qv = /*#__PURE__*/ M_(zv, [["render", Zv], ["__scopeId", "data-v-ab638c21"]]
|
|
|
11800
11858
|
let n = e.state;
|
|
11801
11859
|
if (!n.uuid) {
|
|
11802
11860
|
if (n.entry) {
|
|
11803
|
-
let r = n.entry in
|
|
11861
|
+
let r = n.entry in cy ? cy[n.entry] : void 0;
|
|
11804
11862
|
t(this.createLegacyEntry(e, n.entry, r) || e);
|
|
11805
11863
|
}
|
|
11806
11864
|
} else if (n.entry) return new Promise(() => {
|
|
@@ -11844,7 +11902,8 @@ var Qv = /*#__PURE__*/ M_(zv, [["render", Zv], ["__scopeId", "data-v-ab638c21"]]
|
|
|
11844
11902
|
this.$emit("shown-map-tooltip");
|
|
11845
11903
|
},
|
|
11846
11904
|
changeViewingMode: function(e) {
|
|
11847
|
-
this.getCurrentFlatmap()
|
|
11905
|
+
let t = this.getCurrentFlatmap();
|
|
11906
|
+
t && t.changeViewingMode(e);
|
|
11848
11907
|
},
|
|
11849
11908
|
setConnectionType: function(e) {
|
|
11850
11909
|
this.getCurrentFlatmap().setConnectionType(e);
|
|
@@ -12009,20 +12068,20 @@ var Qv = /*#__PURE__*/ M_(zv, [["render", Zv], ["__scopeId", "data-v-ab638c21"]]
|
|
|
12009
12068
|
t && this.$refs[t][0].forceContextLoss();
|
|
12010
12069
|
} }
|
|
12011
12070
|
}
|
|
12012
|
-
},
|
|
12071
|
+
}, uy = {
|
|
12013
12072
|
class: "multi-container",
|
|
12014
12073
|
ref: "multiContainer"
|
|
12015
|
-
},
|
|
12074
|
+
}, dy = {
|
|
12016
12075
|
key: 0,
|
|
12017
12076
|
style: {
|
|
12018
12077
|
position: "absolute",
|
|
12019
12078
|
"z-index": "100"
|
|
12020
12079
|
}
|
|
12021
|
-
},
|
|
12022
|
-
function
|
|
12023
|
-
let s = ig, f = rg, p = y_, g =
|
|
12024
|
-
return
|
|
12025
|
-
r.disableUI ? l("", !0) : (
|
|
12080
|
+
}, fy = { class: "select-box-icon" };
|
|
12081
|
+
function py(e, n, r, i, a, o) {
|
|
12082
|
+
let s = ig, f = rg, p = y_, g = sy, _ = ov;
|
|
12083
|
+
return N(), u("div", uy, [
|
|
12084
|
+
r.disableUI ? l("", !0) : (N(), u("div", dy, [n[2] ||= d("div", { class: "species-display-text" }, "Species", -1), h(p, {
|
|
12026
12085
|
content: "Select a species",
|
|
12027
12086
|
placement: "right",
|
|
12028
12087
|
trigger: "manual",
|
|
@@ -12042,19 +12101,19 @@ function iy(e, n, r, i, a, o) {
|
|
|
12042
12101
|
"popper-class": "flatmap-dropdown",
|
|
12043
12102
|
onChange: o.setSpecies
|
|
12044
12103
|
}, {
|
|
12045
|
-
default: W(() => [(
|
|
12104
|
+
default: W(() => [(N(!0), u(t, null, I(e.speciesList, (e, t) => (N(), c(s, {
|
|
12046
12105
|
key: t,
|
|
12047
12106
|
label: t,
|
|
12048
12107
|
value: t
|
|
12049
12108
|
}, {
|
|
12050
|
-
default: W(() => [d("span",
|
|
12109
|
+
default: W(() => [d("span", fy, [d("i", { class: E(e.iconClass) }, null, 2)]), m(" " + B(t), 1)]),
|
|
12051
12110
|
_: 2
|
|
12052
12111
|
}, 1032, ["label", "value"]))), 128))]),
|
|
12053
12112
|
_: 1
|
|
12054
12113
|
}, 8, ["modelValue", "onChange"])]),
|
|
12055
12114
|
_: 1
|
|
12056
12115
|
}, 8, ["visible"])])),
|
|
12057
|
-
(
|
|
12116
|
+
(N(!0), u(t, null, I(e.speciesList, (t, i) => G((N(), c(g, {
|
|
12058
12117
|
key: i,
|
|
12059
12118
|
entry: t.taxo,
|
|
12060
12119
|
uuid: t.uuid,
|
|
@@ -12105,12 +12164,12 @@ function iy(e, n, r, i, a, o) {
|
|
|
12105
12164
|
externalLegends: r.externalLegends,
|
|
12106
12165
|
tooltipContentProvider: r.tooltipContentProvider
|
|
12107
12166
|
}, null, 8, /* @__PURE__ */ "entry.uuid.biologicalSex.displayWarning.displayLatestChanges.isLegacy.enableOpenMapUI.openMapOptions.disableUI.onContextRestored.onViewLatestMap.onResourceSelected.onReady.onPanZoomCallback.annotationSidebar.onAnnotationOpen.onAnnotationClose.onUpdateOfflineAnnotationEnabled.connectivityInfoSidebar.onConnectivityInfoOpen.onConnectivityInfoClose.onConnectivityError.onNeuronConnectionFeatureClick.onPathwaySelectionChanged.minZoom.helpMode.helpModeActiveItem.helpModeDialog.onHelpModeLastItem.onShownTooltip.onShownMapTooltip.renderAtMounted.render.displayMinimap.showStarInLegend.mapManager.flatmapAPI.sparcAPI.showLocalSettings.showOpenMapButton.showPathwayFilter.externalLegends.tooltipContentProvider".split("."))), [[he, e.activeSpecies == i]])), 128)),
|
|
12108
|
-
e.multiflatmapError ? (
|
|
12167
|
+
e.multiflatmapError ? (N(), c(_, {
|
|
12109
12168
|
key: 1,
|
|
12110
12169
|
flatmapError: e.multiflatmapError
|
|
12111
12170
|
}, null, 8, ["flatmapError"])) : l("", !0)
|
|
12112
12171
|
], 512);
|
|
12113
12172
|
}
|
|
12114
|
-
var
|
|
12173
|
+
var my = /*#__PURE__*/ M_(ly, [["render", py], ["__scopeId", "data-v-1c8f035d"]]);
|
|
12115
12174
|
//#endregion
|
|
12116
|
-
export {
|
|
12175
|
+
export { sy as FlatmapVuer, my as MultiFlatmapVuer };
|