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